@everymatrix/casino-tournaments-thumbnail-games 0.2.3 → 0.2.5

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/{CasinoTournamentsThumbnailGames-8W0kvBYU.js → CasinoTournamentsThumbnailGames-6Z4opXQ_.js} +1051 -1016
  2. package/components/{CasinoTournamentsThumbnailGames-CNcMjJ13.js → CasinoTournamentsThumbnailGames-AWAhNdqG.js} +1086 -1051
  3. package/components/CasinoTournamentsThumbnailGames-ChN1OI2H.cjs +18 -0
  4. package/es2015/casino-tournaments-thumbnail-games.cjs +1 -1
  5. package/es2015/casino-tournaments-thumbnail-games.js +1 -1
  6. package/esnext/casino-tournaments-thumbnail-games.js +1 -1
  7. package/package.json +1 -1
  8. package/stencil/{index-97d17652-C7V2DWFg.js → index-97d17652--F7PvMq9.js} +176 -176
  9. package/stencil/index-97d17652-BhLhk_xz.cjs +1 -0
  10. package/stencil/{index-97d17652-DIpvPU9H.js → index-97d17652-CCFHkzJw.js} +187 -187
  11. package/stencil/{ui-image-DJWD4G-S.cjs → ui-image-BaHsVAxH.cjs} +1 -1
  12. package/stencil/{ui-image-D3_FGUyo.js → ui-image-C7s6Uvn5.js} +1 -1
  13. package/stencil/{ui-image-CYuYAlOX.js → ui-image-CHeV8e9p.js} +1 -1
  14. package/stencil/{ui-image-b7b48fe5-B-k0kWgx.js → ui-image-b7b48fe5-ByRuJtdE.js} +1 -1
  15. package/stencil/{ui-image-b7b48fe5-D8-wEkoZ.js → ui-image-b7b48fe5-D6iig_uN.js} +1 -1
  16. package/stencil/{ui-image-b7b48fe5-yceZ9WkN.cjs → ui-image-b7b48fe5-DG83WzAo.cjs} +1 -1
  17. package/stencil/{ui-image_2-CzFe50WB.js → ui-image_2-Bm97-wkj.js} +2 -2
  18. package/stencil/{ui-image_2-Ha_4GYwN.cjs → ui-image_2-DdFjzzNO.cjs} +1 -1
  19. package/stencil/{ui-image_2-z5LhXZY2.js → ui-image_2-qO3reSlr.js} +2 -2
  20. package/components/CasinoTournamentsThumbnailGames-5Jl-nLtO.cjs +0 -18
  21. package/stencil/index-97d17652-BgKdDb-e.cjs +0 -1
@@ -1,29 +1,29 @@
1
- import "../stencil/ui-image-CYuYAlOX.js";
1
+ import "../stencil/ui-image-CHeV8e9p.js";
2
2
  function I() {
3
3
  }
4
- function At(e) {
4
+ function It(e) {
5
5
  return e();
6
6
  }
7
- function Ye() {
7
+ function rt() {
8
8
  return /* @__PURE__ */ Object.create(null);
9
9
  }
10
- function ae(e) {
11
- e.forEach(At);
10
+ function se(e) {
11
+ e.forEach(It);
12
12
  }
13
13
  function _e(e) {
14
14
  return typeof e == "function";
15
15
  }
16
- function Pt(e, t) {
16
+ function Lt(e, t) {
17
17
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
18
18
  }
19
19
  let ue;
20
- function Ke(e, t) {
20
+ function nt(e, t) {
21
21
  return e === t ? !0 : (ue || (ue = document.createElement("a")), ue.href = t, e === ue.href);
22
22
  }
23
- function hr(e) {
23
+ function pr(e) {
24
24
  return Object.keys(e).length === 0;
25
25
  }
26
- function Ot(e, ...t) {
26
+ function Ct(e, ...t) {
27
27
  if (e == null) {
28
28
  for (const n of t)
29
29
  n(void 0);
@@ -32,20 +32,20 @@ function Ot(e, ...t) {
32
32
  const r = e.subscribe(...t);
33
33
  return r.unsubscribe ? () => r.unsubscribe() : r;
34
34
  }
35
- function lr(e, t, r) {
36
- e.$$.on_destroy.push(Ot(t, r));
35
+ function mr(e, t, r) {
36
+ e.$$.on_destroy.push(Ct(t, r));
37
37
  }
38
- function B(e, t) {
38
+ function A(e, t) {
39
39
  e.appendChild(t);
40
40
  }
41
- function fr(e, t, r) {
42
- const n = cr(e);
41
+ function dr(e, t, r) {
42
+ const n = br(e);
43
43
  if (!n.getElementById(t)) {
44
44
  const i = P("style");
45
- i.id = t, i.textContent = r, pr(n, i);
45
+ i.id = t, i.textContent = r, gr(n, i);
46
46
  }
47
47
  }
48
- function cr(e) {
48
+ function br(e) {
49
49
  if (!e)
50
50
  return document;
51
51
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -55,8 +55,8 @@ function cr(e) {
55
55
  t
56
56
  ) : e.ownerDocument;
57
57
  }
58
- function pr(e, t) {
59
- return B(
58
+ function gr(e, t) {
59
+ return A(
60
60
  /** @type {Document} */
61
61
  e.head || e,
62
62
  t
@@ -68,23 +68,23 @@ function D(e, t, r) {
68
68
  function G(e) {
69
69
  e.parentNode && e.parentNode.removeChild(e);
70
70
  }
71
- function Nt(e, t) {
71
+ function Mt(e, t) {
72
72
  for (let r = 0; r < e.length; r += 1)
73
73
  e[r] && e[r].d(t);
74
74
  }
75
75
  function P(e) {
76
76
  return document.createElement(e);
77
77
  }
78
- function z(e) {
78
+ function W(e) {
79
79
  return document.createTextNode(e);
80
80
  }
81
- function ne() {
82
- return z(" ");
81
+ function re() {
82
+ return W(" ");
83
83
  }
84
- function dr() {
85
- return z("");
84
+ function yr() {
85
+ return W("");
86
86
  }
87
- function mr(e, t, r, n) {
87
+ function vr(e, t, r, n) {
88
88
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
89
89
  }
90
90
  function H(e, t, r) {
@@ -94,14 +94,14 @@ function w(e, t, r) {
94
94
  const n = t.toLowerCase();
95
95
  n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : H(e, t, r);
96
96
  }
97
- function br(e) {
97
+ function _r(e) {
98
98
  return Array.from(e.childNodes);
99
99
  }
100
- function me(e, t) {
100
+ function de(e, t) {
101
101
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
102
102
  t);
103
103
  }
104
- function gr(e) {
104
+ function Er(e) {
105
105
  const t = {};
106
106
  return e.childNodes.forEach(
107
107
  /** @param {Element} node */
@@ -110,98 +110,98 @@ function gr(e) {
110
110
  }
111
111
  ), t;
112
112
  }
113
- let ie;
114
- function re(e) {
115
- ie = e;
113
+ let ne;
114
+ function te(e) {
115
+ ne = e;
116
116
  }
117
- function yr() {
118
- if (!ie)
117
+ function xr() {
118
+ if (!ne)
119
119
  throw new Error("Function called outside component initialization");
120
- return ie;
120
+ return ne;
121
121
  }
122
- function _r(e) {
123
- yr().$$.on_mount.push(e);
122
+ function Sr(e) {
123
+ xr().$$.on_mount.push(e);
124
124
  }
125
- const V = [], Ie = [];
125
+ const V = [], Me = [];
126
126
  let X = [];
127
- const et = [], vr = /* @__PURE__ */ Promise.resolve();
128
- let Le = !1;
129
- function Er() {
130
- Le || (Le = !0, vr.then(U));
127
+ const it = [], Tr = /* @__PURE__ */ Promise.resolve();
128
+ let $e = !1;
129
+ function wr() {
130
+ $e || ($e = !0, Tr.then(U));
131
131
  }
132
- function Ce(e) {
132
+ function Re(e) {
133
133
  X.push(e);
134
134
  }
135
- const we = /* @__PURE__ */ new Set();
135
+ const Ae = /* @__PURE__ */ new Set();
136
136
  let j = 0;
137
137
  function U() {
138
138
  if (j !== 0)
139
139
  return;
140
- const e = ie;
140
+ const e = ne;
141
141
  do {
142
142
  try {
143
143
  for (; j < V.length; ) {
144
144
  const t = V[j];
145
- j++, re(t), xr(t.$$);
145
+ j++, te(t), Hr(t.$$);
146
146
  }
147
147
  } catch (t) {
148
148
  throw V.length = 0, j = 0, t;
149
149
  }
150
- for (re(null), V.length = 0, j = 0; Ie.length; )
151
- Ie.pop()();
150
+ for (te(null), V.length = 0, j = 0; Me.length; )
151
+ Me.pop()();
152
152
  for (let t = 0; t < X.length; t += 1) {
153
153
  const r = X[t];
154
- we.has(r) || (we.add(r), r());
154
+ Ae.has(r) || (Ae.add(r), r());
155
155
  }
156
156
  X.length = 0;
157
157
  } while (V.length);
158
- for (; et.length; )
159
- et.pop()();
160
- Le = !1, we.clear(), re(e);
158
+ for (; it.length; )
159
+ it.pop()();
160
+ $e = !1, Ae.clear(), te(e);
161
161
  }
162
- function xr(e) {
162
+ function Hr(e) {
163
163
  if (e.fragment !== null) {
164
- e.update(), ae(e.before_update);
164
+ e.update(), se(e.before_update);
165
165
  const t = e.dirty;
166
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ce);
166
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Re);
167
167
  }
168
168
  }
169
- function Tr(e) {
169
+ function Ar(e) {
170
170
  const t = [], r = [];
171
171
  X.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), X = t;
172
172
  }
173
- const Sr = /* @__PURE__ */ new Set();
174
- function wr(e, t) {
175
- e && e.i && (Sr.delete(e), e.i(t));
173
+ const Br = /* @__PURE__ */ new Set();
174
+ function Pr(e, t) {
175
+ e && e.i && (Br.delete(e), e.i(t));
176
176
  }
177
177
  function be(e) {
178
178
  return e?.length !== void 0 ? e : Array.from(e);
179
179
  }
180
- function Hr(e, t, r) {
180
+ function Or(e, t, r) {
181
181
  const { fragment: n, after_update: i } = e.$$;
182
- n && n.m(t, r), Ce(() => {
183
- const s = e.$$.on_mount.map(At).filter(_e);
184
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ae(s), e.$$.on_mount = [];
185
- }), i.forEach(Ce);
182
+ n && n.m(t, r), Re(() => {
183
+ const o = e.$$.on_mount.map(It).filter(_e);
184
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : se(o), e.$$.on_mount = [];
185
+ }), i.forEach(Re);
186
186
  }
187
- function Br(e, t) {
187
+ function Nr(e, t) {
188
188
  const r = e.$$;
189
- r.fragment !== null && (Tr(r.after_update), ae(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
189
+ r.fragment !== null && (Ar(r.after_update), se(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
190
190
  }
191
- function Ar(e, t) {
192
- e.$$.dirty[0] === -1 && (V.push(e), Er(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
191
+ function Ir(e, t) {
192
+ e.$$.dirty[0] === -1 && (V.push(e), wr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
193
193
  }
194
- function Pr(e, t, r, n, i, s, o = null, a = [-1]) {
195
- const h = ie;
196
- re(e);
194
+ function Lr(e, t, r, n, i, o, s = null, a = [-1]) {
195
+ const h = ne;
196
+ te(e);
197
197
  const u = e.$$ = {
198
198
  fragment: null,
199
199
  ctx: [],
200
200
  // state
201
- props: s,
201
+ props: o,
202
202
  update: I,
203
203
  not_equal: i,
204
- bound: Ye(),
204
+ bound: rt(),
205
205
  // lifecycle
206
206
  on_mount: [],
207
207
  on_destroy: [],
@@ -210,28 +210,28 @@ function Pr(e, t, r, n, i, s, o = null, a = [-1]) {
210
210
  after_update: [],
211
211
  context: new Map(t.context || (h ? h.$$.context : [])),
212
212
  // everything else
213
- callbacks: Ye(),
213
+ callbacks: rt(),
214
214
  dirty: a,
215
215
  skip_bound: !1,
216
216
  root: t.target || h.$$.root
217
217
  };
218
- o && o(u.root);
218
+ s && s(u.root);
219
219
  let l = !1;
220
- if (u.ctx = r(e, t.props || {}, (f, c, ...m) => {
221
- const p = m.length ? m[0] : c;
222
- return u.ctx && i(u.ctx[f], u.ctx[f] = p) && (!u.skip_bound && u.bound[f] && u.bound[f](p), l && Ar(e, f)), c;
223
- }), u.update(), l = !0, ae(u.before_update), u.fragment = n(u.ctx), t.target) {
220
+ if (u.ctx = r ? r(e, t.props || {}, (c, f, ...d) => {
221
+ const p = d.length ? d[0] : f;
222
+ return u.ctx && i(u.ctx[c], u.ctx[c] = p) && (!u.skip_bound && u.bound[c] && u.bound[c](p), l && Ir(e, c)), f;
223
+ }) : [], u.update(), l = !0, se(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
224
224
  if (t.hydrate) {
225
- const f = br(t.target);
226
- u.fragment && u.fragment.l(f), f.forEach(G);
225
+ const c = _r(t.target);
226
+ u.fragment && u.fragment.l(c), c.forEach(G);
227
227
  } else
228
228
  u.fragment && u.fragment.c();
229
- t.intro && wr(e.$$.fragment), Hr(e, t.target, t.anchor), U();
229
+ t.intro && Pr(e.$$.fragment), Or(e, t.target, t.anchor), U();
230
230
  }
231
- re(h);
231
+ te(h);
232
232
  }
233
- let It;
234
- typeof HTMLElement == "function" && (It = class extends HTMLElement {
233
+ let $t;
234
+ typeof HTMLElement == "function" && ($t = class extends HTMLElement {
235
235
  /** The Svelte component constructor */
236
236
  $$ctor;
237
237
  /** Slots */
@@ -270,32 +270,32 @@ typeof HTMLElement == "function" && (It = class extends HTMLElement {
270
270
  if (this.$$cn = !0, !this.$$c) {
271
271
  let e = function(i) {
272
272
  return () => {
273
- let s;
273
+ let o;
274
274
  return {
275
275
  c: function() {
276
- s = P("slot"), i !== "default" && H(s, "name", i);
276
+ o = P("slot"), i !== "default" && H(o, "name", i);
277
277
  },
278
278
  /**
279
279
  * @param {HTMLElement} target
280
280
  * @param {HTMLElement} [anchor]
281
281
  */
282
282
  m: function(h, u) {
283
- D(h, s, u);
283
+ D(h, o, u);
284
284
  },
285
285
  d: function(h) {
286
- h && G(s);
286
+ h && G(o);
287
287
  }
288
288
  };
289
289
  };
290
290
  };
291
291
  if (await Promise.resolve(), !this.$$cn || this.$$c)
292
292
  return;
293
- const t = {}, r = gr(this);
293
+ const t = {}, r = Er(this);
294
294
  for (const i of this.$$s)
295
295
  i in r && (t[i] = [e(i)]);
296
296
  for (const i of this.attributes) {
297
- const s = this.$$g_p(i.name);
298
- s in this.$$d || (this.$$d[s] = fe(s, i.value, this.$$p_d, "toProp"));
297
+ const o = this.$$g_p(i.name);
298
+ o in this.$$d || (this.$$d[o] = ce(o, i.value, this.$$p_d, "toProp"));
299
299
  }
300
300
  for (const i in this.$$p_d)
301
301
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -313,21 +313,21 @@ typeof HTMLElement == "function" && (It = class extends HTMLElement {
313
313
  this.$$r = !0;
314
314
  for (const i in this.$$p_d)
315
315
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
316
- const s = fe(
316
+ const o = ce(
317
317
  i,
318
318
  this.$$d[i],
319
319
  this.$$p_d,
320
320
  "toAttribute"
321
321
  );
322
- s == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, s);
322
+ o == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, o);
323
323
  }
324
324
  this.$$r = !1;
325
325
  };
326
326
  this.$$c.$$.after_update.push(n), n();
327
327
  for (const i in this.$$l)
328
- for (const s of this.$$l[i]) {
329
- const o = this.$$c.$on(i, s);
330
- this.$$l_u.set(s, o);
328
+ for (const o of this.$$l[i]) {
329
+ const s = this.$$c.$on(i, o);
330
+ this.$$l_u.set(o, s);
331
331
  }
332
332
  this.$$l = {};
333
333
  }
@@ -335,7 +335,7 @@ typeof HTMLElement == "function" && (It = class extends HTMLElement {
335
335
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
336
336
  // and setting attributes through setAttribute etc, this is helpful
337
337
  attributeChangedCallback(e, t, r) {
338
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = fe(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
338
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = ce(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
339
339
  }
340
340
  disconnectedCallback() {
341
341
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -348,7 +348,7 @@ typeof HTMLElement == "function" && (It = class extends HTMLElement {
348
348
  ) || e;
349
349
  }
350
350
  });
351
- function fe(e, t, r, n) {
351
+ function ce(e, t, r, n) {
352
352
  const i = r[e]?.type;
353
353
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
354
354
  return t;
@@ -377,8 +377,8 @@ function fe(e, t, r, n) {
377
377
  return t;
378
378
  }
379
379
  }
380
- function Or(e, t, r, n, i, s) {
381
- let o = class extends It {
380
+ function Cr(e, t, r, n, i, o) {
381
+ let s = class extends $t {
382
382
  constructor() {
383
383
  super(e, r, i), this.$$p_d = t;
384
384
  }
@@ -389,24 +389,24 @@ function Or(e, t, r, n, i, s) {
389
389
  }
390
390
  };
391
391
  return Object.keys(t).forEach((a) => {
392
- Object.defineProperty(o.prototype, a, {
392
+ Object.defineProperty(s.prototype, a, {
393
393
  get() {
394
394
  return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
395
395
  },
396
396
  set(h) {
397
- h = fe(a, h, t), this.$$d[a] = h, this.$$c?.$set({ [a]: h });
397
+ h = ce(a, h, t), this.$$d[a] = h, this.$$c?.$set({ [a]: h });
398
398
  }
399
399
  });
400
400
  }), n.forEach((a) => {
401
- Object.defineProperty(o.prototype, a, {
401
+ Object.defineProperty(s.prototype, a, {
402
402
  get() {
403
403
  return this.$$c?.[a];
404
404
  }
405
405
  });
406
406
  }), e.element = /** @type {any} */
407
- o, o;
407
+ s, s;
408
408
  }
409
- class Nr {
409
+ class Mr {
410
410
  /**
411
411
  * ### PRIVATE API
412
412
  *
@@ -425,7 +425,7 @@ class Nr {
425
425
  $$set = void 0;
426
426
  /** @returns {void} */
427
427
  $destroy() {
428
- Br(this, 1), this.$destroy = I;
428
+ Nr(this, 1), this.$destroy = I;
429
429
  }
430
430
  /**
431
431
  * @template {Extract<keyof Events, string>} K
@@ -447,18 +447,18 @@ class Nr {
447
447
  * @returns {void}
448
448
  */
449
449
  $set(t) {
450
- this.$$set && !hr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
450
+ this.$$set && !pr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
451
451
  }
452
452
  }
453
- const Ir = "4";
454
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Ir);
455
- function Lr(e, t) {
453
+ const $r = "4";
454
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add($r);
455
+ function Rr(e, t) {
456
456
  if (e) {
457
457
  const r = document.createElement("style");
458
458
  r.innerHTML = t, e.appendChild(r);
459
459
  }
460
460
  }
461
- function Cr(e, t) {
461
+ function Gr(e, t) {
462
462
  const r = new URL(t);
463
463
  fetch(r.href).then((n) => n.text()).then((n) => {
464
464
  const i = document.createElement("style");
@@ -467,7 +467,7 @@ function Cr(e, t) {
467
467
  console.error("There was an error while trying to load client styling from URL", n);
468
468
  });
469
469
  }
470
- function Mr(e, t, r) {
470
+ function Ur(e, t, r) {
471
471
  if (window.emMessageBus) {
472
472
  const n = document.createElement("style");
473
473
  window.emMessageBus.subscribe(t, (i) => {
@@ -489,43 +489,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
489
489
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
490
490
  PERFORMANCE OF THIS SOFTWARE.
491
491
  ***************************************************************************** */
492
- var Me = function(e, t) {
493
- return Me = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
492
+ var Ge = function(e, t) {
493
+ return Ge = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
494
494
  r.__proto__ = n;
495
495
  } || function(r, n) {
496
496
  for (var i in n)
497
497
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
498
- }, Me(e, t);
498
+ }, Ge(e, t);
499
499
  };
500
- function M(e, t) {
500
+ function ae(e, t) {
501
501
  if (typeof t != "function" && t !== null)
502
502
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
503
- Me(e, t);
503
+ Ge(e, t);
504
504
  function r() {
505
505
  this.constructor = e;
506
506
  }
507
507
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
508
508
  }
509
- var v = function() {
510
- return v = Object.assign || function(t) {
511
- for (var r, n = 1, i = arguments.length; n < i; n++) {
512
- r = arguments[n];
513
- for (var s in r)
514
- Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
515
- }
516
- return t;
517
- }, v.apply(this, arguments);
518
- };
519
- function $r(e, t) {
520
- var r = {};
521
- for (var n in e)
522
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
523
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
524
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
525
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
526
- return r;
527
- }
528
- function $e(e) {
509
+ function Ue(e) {
529
510
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
530
511
  if (r)
531
512
  return r.call(e);
@@ -537,42 +518,42 @@ function $e(e) {
537
518
  };
538
519
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
539
520
  }
540
- function Re(e, t) {
521
+ function De(e, t) {
541
522
  var r = typeof Symbol == "function" && e[Symbol.iterator];
542
523
  if (!r)
543
524
  return e;
544
- var n = r.call(e), i, s = [], o;
525
+ var n = r.call(e), i, o = [], s;
545
526
  try {
546
527
  for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
547
- s.push(i.value);
528
+ o.push(i.value);
548
529
  } catch (a) {
549
- o = { error: a };
530
+ s = { error: a };
550
531
  } finally {
551
532
  try {
552
533
  i && !i.done && (r = n.return) && r.call(n);
553
534
  } finally {
554
- if (o)
555
- throw o.error;
535
+ if (s)
536
+ throw s.error;
556
537
  }
557
538
  }
558
- return s;
539
+ return o;
559
540
  }
560
- function W(e, t, r) {
561
- if (r || arguments.length === 2)
562
- for (var n = 0, i = t.length, s; n < i; n++)
563
- (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
564
- return e.concat(s || t);
541
+ function Fe(e, t, r) {
542
+ if (arguments.length === 2)
543
+ for (var n = 0, i = t.length, o; n < i; n++)
544
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
545
+ return e.concat(o || t);
565
546
  }
566
- function C(e) {
547
+ function M(e) {
567
548
  return typeof e == "function";
568
549
  }
569
- function Lt(e) {
550
+ function Rt(e) {
570
551
  var t = function(n) {
571
552
  Error.call(n), n.stack = new Error().stack;
572
553
  }, r = e(t);
573
554
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
574
555
  }
575
- var He = Lt(function(e) {
556
+ var Be = Rt(function(e) {
576
557
  return function(r) {
577
558
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
578
559
  ` + r.map(function(n, i) {
@@ -581,25 +562,25 @@ var He = Lt(function(e) {
581
562
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
582
563
  };
583
564
  });
584
- function Ge(e, t) {
565
+ function je(e, t) {
585
566
  if (e) {
586
567
  var r = e.indexOf(t);
587
568
  0 <= r && e.splice(r, 1);
588
569
  }
589
570
  }
590
- var ve = function() {
571
+ var Ee = function() {
591
572
  function e(t) {
592
573
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
593
574
  }
594
575
  return e.prototype.unsubscribe = function() {
595
- var t, r, n, i, s;
576
+ var t, r, n, i, o;
596
577
  if (!this.closed) {
597
578
  this.closed = !0;
598
- var o = this._parentage;
599
- if (o)
600
- if (this._parentage = null, Array.isArray(o))
579
+ var s = this._parentage;
580
+ if (s)
581
+ if (this._parentage = null, Array.isArray(s))
601
582
  try {
602
- for (var a = $e(o), h = a.next(); !h.done; h = a.next()) {
583
+ for (var a = Ue(s), h = a.next(); !h.done; h = a.next()) {
603
584
  var u = h.value;
604
585
  u.remove(this);
605
586
  }
@@ -614,45 +595,45 @@ var ve = function() {
614
595
  }
615
596
  }
616
597
  else
617
- o.remove(this);
598
+ s.remove(this);
618
599
  var l = this.initialTeardown;
619
- if (C(l))
600
+ if (M(l))
620
601
  try {
621
602
  l();
622
603
  } catch (g) {
623
- s = g instanceof He ? g.errors : [g];
604
+ o = g instanceof Be ? g.errors : [g];
624
605
  }
625
- var f = this._finalizers;
626
- if (f) {
606
+ var c = this._finalizers;
607
+ if (c) {
627
608
  this._finalizers = null;
628
609
  try {
629
- for (var c = $e(f), m = c.next(); !m.done; m = c.next()) {
630
- var p = m.value;
610
+ for (var f = Ue(c), d = f.next(); !d.done; d = f.next()) {
611
+ var p = d.value;
631
612
  try {
632
- tt(p);
613
+ ot(p);
633
614
  } catch (g) {
634
- s = s ?? [], g instanceof He ? s = W(W([], Re(s)), Re(g.errors)) : s.push(g);
615
+ o = o ?? [], g instanceof Be ? o = Fe(Fe([], De(o)), De(g.errors)) : o.push(g);
635
616
  }
636
617
  }
637
618
  } catch (g) {
638
619
  n = { error: g };
639
620
  } finally {
640
621
  try {
641
- m && !m.done && (i = c.return) && i.call(c);
622
+ d && !d.done && (i = f.return) && i.call(f);
642
623
  } finally {
643
624
  if (n)
644
625
  throw n.error;
645
626
  }
646
627
  }
647
628
  }
648
- if (s)
649
- throw new He(s);
629
+ if (o)
630
+ throw new Be(o);
650
631
  }
651
632
  }, e.prototype.add = function(t) {
652
633
  var r;
653
634
  if (t && t !== this)
654
635
  if (this.closed)
655
- tt(t);
636
+ ot(t);
656
637
  else {
657
638
  if (t instanceof e) {
658
639
  if (t.closed || t._hasParent(this))
@@ -669,56 +650,52 @@ var ve = function() {
669
650
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
670
651
  }, e.prototype._removeParent = function(t) {
671
652
  var r = this._parentage;
672
- r === t ? this._parentage = null : Array.isArray(r) && Ge(r, t);
653
+ r === t ? this._parentage = null : Array.isArray(r) && je(r, t);
673
654
  }, e.prototype.remove = function(t) {
674
655
  var r = this._finalizers;
675
- r && Ge(r, t), t instanceof e && t._removeParent(this);
656
+ r && je(r, t), t instanceof e && t._removeParent(this);
676
657
  }, e.EMPTY = function() {
677
658
  var t = new e();
678
659
  return t.closed = !0, t;
679
660
  }(), e;
680
- }(), Ct = ve.EMPTY;
681
- function Mt(e) {
682
- return e instanceof ve || e && "closed" in e && C(e.remove) && C(e.add) && C(e.unsubscribe);
683
- }
684
- function tt(e) {
685
- C(e) ? e() : e.unsubscribe();
686
- }
687
- var Rr = {
688
- onUnhandledError: null,
689
- onStoppedNotification: null,
690
- Promise: void 0,
691
- useDeprecatedSynchronousErrorHandling: !1,
692
- useDeprecatedNextContext: !1
693
- }, Gr = {
661
+ }(), Gt = Ee.EMPTY;
662
+ function Ut(e) {
663
+ return e instanceof Ee || e && "closed" in e && M(e.remove) && M(e.add) && M(e.unsubscribe);
664
+ }
665
+ function ot(e) {
666
+ M(e) ? e() : e.unsubscribe();
667
+ }
668
+ var Dr = {
669
+ Promise: void 0
670
+ }, Fr = {
694
671
  setTimeout: function(e, t) {
695
672
  for (var r = [], n = 2; n < arguments.length; n++)
696
673
  r[n - 2] = arguments[n];
697
- return setTimeout.apply(void 0, W([e, t], Re(r)));
674
+ return setTimeout.apply(void 0, Fe([e, t], De(r)));
698
675
  },
699
676
  clearTimeout: function(e) {
700
677
  return clearTimeout(e);
701
678
  },
702
679
  delegate: void 0
703
680
  };
704
- function Ur(e) {
705
- Gr.setTimeout(function() {
681
+ function jr(e) {
682
+ Fr.setTimeout(function() {
706
683
  throw e;
707
684
  });
708
685
  }
709
- function rt() {
686
+ function st() {
710
687
  }
711
- function ce(e) {
688
+ function fe(e) {
712
689
  e();
713
690
  }
714
- var $t = function(e) {
715
- M(t, e);
691
+ var Dt = function(e) {
692
+ ae(t, e);
716
693
  function t(r) {
717
694
  var n = e.call(this) || this;
718
- return n.isStopped = !1, r ? (n.destination = r, Mt(r) && r.add(n)) : n.destination = jr, n;
695
+ return n.isStopped = !1, r ? (n.destination = r, Ut(r) && r.add(n)) : n.destination = Xr, n;
719
696
  }
720
697
  return t.create = function(r, n, i) {
721
- return new Ue(r, n, i);
698
+ return new ke(r, n, i);
722
699
  }, t.prototype.next = function(r) {
723
700
  this.isStopped || this._next(r);
724
701
  }, t.prototype.error = function(r) {
@@ -742,7 +719,7 @@ var $t = function(e) {
742
719
  this.unsubscribe();
743
720
  }
744
721
  }, t;
745
- }(ve), Dr = function() {
722
+ }(Ee), kr = function() {
746
723
  function e(t) {
747
724
  this.partialObserver = t;
748
725
  }
@@ -773,43 +750,43 @@ var $t = function(e) {
773
750
  he(r);
774
751
  }
775
752
  }, e;
776
- }(), Ue = function(e) {
777
- M(t, e);
753
+ }(), ke = function(e) {
754
+ ae(t, e);
778
755
  function t(r, n, i) {
779
- var s = e.call(this) || this, o;
780
- return C(r) || !r ? o = {
756
+ var o = e.call(this) || this, s;
757
+ return M(r) || !r ? s = {
781
758
  next: r ?? void 0,
782
759
  error: n ?? void 0,
783
760
  complete: i ?? void 0
784
- } : o = r, s.destination = new Dr(o), s;
761
+ } : s = r, o.destination = new kr(s), o;
785
762
  }
786
763
  return t;
787
- }($t);
764
+ }(Dt);
788
765
  function he(e) {
789
- Ur(e);
766
+ jr(e);
790
767
  }
791
- function Fr(e) {
768
+ function Vr(e) {
792
769
  throw e;
793
770
  }
794
- var jr = {
771
+ var Xr = {
795
772
  closed: !0,
796
- next: rt,
797
- error: Fr,
798
- complete: rt
799
- }, kr = function() {
773
+ next: st,
774
+ error: Vr,
775
+ complete: st
776
+ }, Wr = function() {
800
777
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
801
778
  }();
802
- function Vr(e) {
779
+ function zr(e) {
803
780
  return e;
804
781
  }
805
- function Xr(e) {
806
- return e.length === 0 ? Vr : e.length === 1 ? e[0] : function(r) {
782
+ function Zr(e) {
783
+ return e.length === 0 ? zr : e.length === 1 ? e[0] : function(r) {
807
784
  return e.reduce(function(n, i) {
808
785
  return i(n);
809
786
  }, r);
810
787
  };
811
788
  }
812
- var nt = function() {
789
+ var at = function() {
813
790
  function e(t) {
814
791
  t && (this._subscribe = t);
815
792
  }
@@ -817,11 +794,11 @@ var nt = function() {
817
794
  var r = new e();
818
795
  return r.source = this, r.operator = t, r;
819
796
  }, e.prototype.subscribe = function(t, r, n) {
820
- var i = this, s = zr(t) ? t : new Ue(t, r, n);
821
- return ce(function() {
822
- var o = i, a = o.operator, h = o.source;
823
- s.add(a ? a.call(s, h) : h ? i._subscribe(s) : i._trySubscribe(s));
824
- }), s;
797
+ var i = this, o = Jr(t) ? t : new ke(t, r, n);
798
+ return fe(function() {
799
+ var s = i, a = s.operator, h = s.source;
800
+ o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
801
+ }), o;
825
802
  }, e.prototype._trySubscribe = function(t) {
826
803
  try {
827
804
  return this._subscribe(t);
@@ -830,79 +807,79 @@ var nt = function() {
830
807
  }
831
808
  }, e.prototype.forEach = function(t, r) {
832
809
  var n = this;
833
- return r = it(r), new r(function(i, s) {
834
- var o = new Ue({
810
+ return r = ut(r), new r(function(i, o) {
811
+ var s = new ke({
835
812
  next: function(a) {
836
813
  try {
837
814
  t(a);
838
815
  } catch (h) {
839
- s(h), o.unsubscribe();
816
+ o(h), s.unsubscribe();
840
817
  }
841
818
  },
842
- error: s,
819
+ error: o,
843
820
  complete: i
844
821
  });
845
- n.subscribe(o);
822
+ n.subscribe(s);
846
823
  });
847
824
  }, e.prototype._subscribe = function(t) {
848
825
  var r;
849
826
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
850
- }, e.prototype[kr] = function() {
827
+ }, e.prototype[Wr] = function() {
851
828
  return this;
852
829
  }, e.prototype.pipe = function() {
853
830
  for (var t = [], r = 0; r < arguments.length; r++)
854
831
  t[r] = arguments[r];
855
- return Xr(t)(this);
832
+ return Zr(t)(this);
856
833
  }, e.prototype.toPromise = function(t) {
857
834
  var r = this;
858
- return t = it(t), new t(function(n, i) {
859
- var s;
860
- r.subscribe(function(o) {
861
- return s = o;
862
- }, function(o) {
863
- return i(o);
835
+ return t = ut(t), new t(function(n, i) {
836
+ var o;
837
+ r.subscribe(function(s) {
838
+ return o = s;
839
+ }, function(s) {
840
+ return i(s);
864
841
  }, function() {
865
- return n(s);
842
+ return n(o);
866
843
  });
867
844
  });
868
845
  }, e.create = function(t) {
869
846
  return new e(t);
870
847
  }, e;
871
848
  }();
872
- function it(e) {
849
+ function ut(e) {
873
850
  var t;
874
- return (t = e ?? Rr.Promise) !== null && t !== void 0 ? t : Promise;
851
+ return (t = e ?? Dr.Promise) !== null && t !== void 0 ? t : Promise;
875
852
  }
876
- function Wr(e) {
877
- return e && C(e.next) && C(e.error) && C(e.complete);
853
+ function Qr(e) {
854
+ return e && M(e.next) && M(e.error) && M(e.complete);
878
855
  }
879
- function zr(e) {
880
- return e && e instanceof $t || Wr(e) && Mt(e);
856
+ function Jr(e) {
857
+ return e && e instanceof Dt || Qr(e) && Ut(e);
881
858
  }
882
- var Zr = Lt(function(e) {
859
+ var qr = Rt(function(e) {
883
860
  return function() {
884
861
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
885
862
  };
886
- }), Rt = function(e) {
887
- M(t, e);
863
+ }), Ft = function(e) {
864
+ ae(t, e);
888
865
  function t() {
889
866
  var r = e.call(this) || this;
890
867
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
891
868
  }
892
869
  return t.prototype.lift = function(r) {
893
- var n = new st(this, this);
870
+ var n = new ht(this, this);
894
871
  return n.operator = r, n;
895
872
  }, t.prototype._throwIfClosed = function() {
896
873
  if (this.closed)
897
- throw new Zr();
874
+ throw new qr();
898
875
  }, t.prototype.next = function(r) {
899
876
  var n = this;
900
- ce(function() {
901
- var i, s;
877
+ fe(function() {
878
+ var i, o;
902
879
  if (n._throwIfClosed(), !n.isStopped) {
903
880
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
904
881
  try {
905
- for (var o = $e(n.currentObservers), a = o.next(); !a.done; a = o.next()) {
882
+ for (var s = Ue(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
906
883
  var h = a.value;
907
884
  h.next(r);
908
885
  }
@@ -910,7 +887,7 @@ var Zr = Lt(function(e) {
910
887
  i = { error: u };
911
888
  } finally {
912
889
  try {
913
- a && !a.done && (s = o.return) && s.call(o);
890
+ a && !a.done && (o = s.return) && o.call(s);
914
891
  } finally {
915
892
  if (i)
916
893
  throw i.error;
@@ -920,7 +897,7 @@ var Zr = Lt(function(e) {
920
897
  });
921
898
  }, t.prototype.error = function(r) {
922
899
  var n = this;
923
- ce(function() {
900
+ fe(function() {
924
901
  if (n._throwIfClosed(), !n.isStopped) {
925
902
  n.hasError = n.isStopped = !0, n.thrownError = r;
926
903
  for (var i = n.observers; i.length; )
@@ -929,7 +906,7 @@ var Zr = Lt(function(e) {
929
906
  });
930
907
  }, t.prototype.complete = function() {
931
908
  var r = this;
932
- ce(function() {
909
+ fe(function() {
933
910
  if (r._throwIfClosed(), !r.isStopped) {
934
911
  r.isStopped = !0;
935
912
  for (var n = r.observers; n.length; )
@@ -950,21 +927,21 @@ var Zr = Lt(function(e) {
950
927
  }, t.prototype._subscribe = function(r) {
951
928
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
952
929
  }, t.prototype._innerSubscribe = function(r) {
953
- var n = this, i = this, s = i.hasError, o = i.isStopped, a = i.observers;
954
- return s || o ? Ct : (this.currentObservers = null, a.push(r), new ve(function() {
955
- n.currentObservers = null, Ge(a, r);
930
+ var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
931
+ return o || s ? Gt : (this.currentObservers = null, a.push(r), new Ee(function() {
932
+ n.currentObservers = null, je(a, r);
956
933
  }));
957
934
  }, t.prototype._checkFinalizedStatuses = function(r) {
958
- var n = this, i = n.hasError, s = n.thrownError, o = n.isStopped;
959
- i ? r.error(s) : o && r.complete();
935
+ var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
936
+ i ? r.error(o) : s && r.complete();
960
937
  }, t.prototype.asObservable = function() {
961
- var r = new nt();
938
+ var r = new at();
962
939
  return r.source = this, r;
963
940
  }, t.create = function(r, n) {
964
- return new st(r, n);
941
+ return new ht(r, n);
965
942
  }, t;
966
- }(nt), st = function(e) {
967
- M(t, e);
943
+ }(at), ht = function(e) {
944
+ ae(t, e);
968
945
  function t(r, n) {
969
946
  var i = e.call(this) || this;
970
947
  return i.destination = r, i.source = n, i;
@@ -980,54 +957,54 @@ var Zr = Lt(function(e) {
980
957
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
981
958
  }, t.prototype._subscribe = function(r) {
982
959
  var n, i;
983
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Ct;
960
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Gt;
984
961
  }, t;
985
- }(Rt), Gt = {
962
+ }(Ft), jt = {
986
963
  now: function() {
987
- return (Gt.delegate || Date).now();
964
+ return (jt.delegate || Date).now();
988
965
  },
989
966
  delegate: void 0
990
- }, Qr = function(e) {
991
- M(t, e);
967
+ }, Yr = function(e) {
968
+ ae(t, e);
992
969
  function t(r, n, i) {
993
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Gt);
994
- var s = e.call(this) || this;
995
- return s._bufferSize = r, s._windowTime = n, s._timestampProvider = i, s._buffer = [], s._infiniteTimeWindow = !0, s._infiniteTimeWindow = n === 1 / 0, s._bufferSize = Math.max(1, r), s._windowTime = Math.max(1, n), s;
970
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = jt);
971
+ var o = e.call(this) || this;
972
+ return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
996
973
  }
997
974
  return t.prototype.next = function(r) {
998
- var n = this, i = n.isStopped, s = n._buffer, o = n._infiniteTimeWindow, a = n._timestampProvider, h = n._windowTime;
999
- i || (s.push(r), !o && s.push(a.now() + h)), this._trimBuffer(), e.prototype.next.call(this, r);
975
+ var n = this, i = n.isStopped, o = n._buffer, s = n._infiniteTimeWindow, a = n._timestampProvider, h = n._windowTime;
976
+ i || (o.push(r), !s && o.push(a.now() + h)), this._trimBuffer(), e.prototype.next.call(this, r);
1000
977
  }, t.prototype._subscribe = function(r) {
1001
978
  this._throwIfClosed(), this._trimBuffer();
1002
- for (var n = this._innerSubscribe(r), i = this, s = i._infiniteTimeWindow, o = i._buffer, a = o.slice(), h = 0; h < a.length && !r.closed; h += s ? 1 : 2)
979
+ for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, s = i._buffer, a = s.slice(), h = 0; h < a.length && !r.closed; h += o ? 1 : 2)
1003
980
  r.next(a[h]);
1004
981
  return this._checkFinalizedStatuses(r), n;
1005
982
  }, t.prototype._trimBuffer = function() {
1006
- var r = this, n = r._bufferSize, i = r._timestampProvider, s = r._buffer, o = r._infiniteTimeWindow, a = (o ? 1 : 2) * n;
1007
- if (n < 1 / 0 && a < s.length && s.splice(0, s.length - a), !o) {
1008
- for (var h = i.now(), u = 0, l = 1; l < s.length && s[l] <= h; l += 2)
983
+ var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, s = r._infiniteTimeWindow, a = (s ? 1 : 2) * n;
984
+ if (n < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
985
+ for (var h = i.now(), u = 0, l = 1; l < o.length && o[l] <= h; l += 2)
1009
986
  u = l;
1010
- u && s.splice(0, u + 1);
987
+ u && o.splice(0, u + 1);
1011
988
  }
1012
989
  }, t;
1013
- }(Rt);
1014
- const ot = [], at = {}, Jr = (e, t = 0) => {
1015
- if (ot.indexOf(e) == -1) {
1016
- const r = new Qr(t);
1017
- at[e] = r, ot.push(e);
990
+ }(Ft);
991
+ const lt = [], ct = {}, Kr = (e, t = 0) => {
992
+ if (lt.indexOf(e) == -1) {
993
+ const r = new Yr(t);
994
+ ct[e] = r, lt.push(e);
1018
995
  }
1019
- return at[e];
996
+ return ct[e];
1020
997
  }, k = [];
1021
- function qr(e, t) {
998
+ function en(e, t) {
1022
999
  return {
1023
- subscribe: Ee(e, t).subscribe
1000
+ subscribe: xe(e, t).subscribe
1024
1001
  };
1025
1002
  }
1026
- function Ee(e, t = I) {
1003
+ function xe(e, t = I) {
1027
1004
  let r;
1028
1005
  const n = /* @__PURE__ */ new Set();
1029
1006
  function i(a) {
1030
- if (Pt(e, a) && (e = a, r)) {
1007
+ if (Lt(e, a) && (e = a, r)) {
1031
1008
  const h = !k.length;
1032
1009
  for (const u of n)
1033
1010
  u[1](), k.push(u, e);
@@ -1038,156 +1015,195 @@ function Ee(e, t = I) {
1038
1015
  }
1039
1016
  }
1040
1017
  }
1041
- function s(a) {
1018
+ function o(a) {
1042
1019
  i(a(e));
1043
1020
  }
1044
- function o(a, h = I) {
1021
+ function s(a, h = I) {
1045
1022
  const u = [a, h];
1046
- return n.add(u), n.size === 1 && (r = t(i, s) || I), a(e), () => {
1023
+ return n.add(u), n.size === 1 && (r = t(i, o) || I), a(e), () => {
1047
1024
  n.delete(u), n.size === 0 && r && (r(), r = null);
1048
1025
  };
1049
1026
  }
1050
- return { set: i, update: s, subscribe: o };
1027
+ return { set: i, update: o, subscribe: s };
1051
1028
  }
1052
- function Y(e, t, r) {
1029
+ function q(e, t, r) {
1053
1030
  const n = !Array.isArray(e), i = n ? [e] : e;
1054
1031
  if (!i.every(Boolean))
1055
1032
  throw new Error("derived() expects stores as input, got a falsy value");
1056
- const s = t.length < 2;
1057
- return qr(r, (o, a) => {
1033
+ const o = t.length < 2;
1034
+ return en(r, (s, a) => {
1058
1035
  let h = !1;
1059
1036
  const u = [];
1060
- let l = 0, f = I;
1061
- const c = () => {
1037
+ let l = 0, c = I;
1038
+ const f = () => {
1062
1039
  if (l)
1063
1040
  return;
1064
- f();
1065
- const p = t(n ? u[0] : u, o, a);
1066
- s ? o(p) : f = _e(p) ? p : I;
1067
- }, m = i.map(
1068
- (p, g) => Ot(
1041
+ c();
1042
+ const p = t(n ? u[0] : u, s, a);
1043
+ o ? s(p) : c = _e(p) ? p : I;
1044
+ }, d = i.map(
1045
+ (p, g) => Ct(
1069
1046
  p,
1070
- (x) => {
1071
- u[g] = x, l &= ~(1 << g), h && c();
1047
+ (E) => {
1048
+ u[g] = E, l &= ~(1 << g), h && f();
1072
1049
  },
1073
1050
  () => {
1074
1051
  l |= 1 << g;
1075
1052
  }
1076
1053
  )
1077
1054
  );
1078
- return h = !0, c(), function() {
1079
- ae(m), f(), h = !1;
1055
+ return h = !0, f(), function() {
1056
+ se(d), c(), h = !1;
1080
1057
  };
1081
1058
  });
1082
1059
  }
1083
- function Yr(e) {
1084
- return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1060
+ function tn(e) {
1061
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1085
1062
  }
1086
- var Kr = function(t) {
1087
- return en(t) && !tn(t);
1063
+ var rn = function(t) {
1064
+ return nn(t) && !on(t);
1088
1065
  };
1089
- function en(e) {
1066
+ function nn(e) {
1090
1067
  return !!e && typeof e == "object";
1091
1068
  }
1092
- function tn(e) {
1069
+ function on(e) {
1093
1070
  var t = Object.prototype.toString.call(e);
1094
- return t === "[object RegExp]" || t === "[object Date]" || sn(e);
1071
+ return t === "[object RegExp]" || t === "[object Date]" || un(e);
1095
1072
  }
1096
- var rn = typeof Symbol == "function" && Symbol.for, nn = rn ? Symbol.for("react.element") : 60103;
1097
- function sn(e) {
1098
- return e.$$typeof === nn;
1073
+ var sn = typeof Symbol == "function" && Symbol.for, an = sn ? Symbol.for("react.element") : 60103;
1074
+ function un(e) {
1075
+ return e.$$typeof === an;
1099
1076
  }
1100
- function on(e) {
1077
+ function hn(e) {
1101
1078
  return Array.isArray(e) ? [] : {};
1102
1079
  }
1103
- function se(e, t) {
1104
- return t.clone !== !1 && t.isMergeableObject(e) ? Z(on(e), e, t) : e;
1080
+ function ie(e, t) {
1081
+ return t.clone !== !1 && t.isMergeableObject(e) ? z(hn(e), e, t) : e;
1105
1082
  }
1106
- function an(e, t, r) {
1083
+ function ln(e, t, r) {
1107
1084
  return e.concat(t).map(function(n) {
1108
- return se(n, r);
1085
+ return ie(n, r);
1109
1086
  });
1110
1087
  }
1111
- function un(e, t) {
1088
+ function cn(e, t) {
1112
1089
  if (!t.customMerge)
1113
- return Z;
1090
+ return z;
1114
1091
  var r = t.customMerge(e);
1115
- return typeof r == "function" ? r : Z;
1092
+ return typeof r == "function" ? r : z;
1116
1093
  }
1117
- function hn(e) {
1094
+ function fn(e) {
1118
1095
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1119
1096
  return Object.propertyIsEnumerable.call(e, t);
1120
1097
  }) : [];
1121
1098
  }
1122
- function ut(e) {
1123
- return Object.keys(e).concat(hn(e));
1099
+ function ft(e) {
1100
+ return Object.keys(e).concat(fn(e));
1124
1101
  }
1125
- function Ut(e, t) {
1102
+ function kt(e, t) {
1126
1103
  try {
1127
1104
  return t in e;
1128
1105
  } catch {
1129
1106
  return !1;
1130
1107
  }
1131
1108
  }
1132
- function ln(e, t) {
1133
- return Ut(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1109
+ function pn(e, t) {
1110
+ return kt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1134
1111
  }
1135
- function fn(e, t, r) {
1112
+ function mn(e, t, r) {
1136
1113
  var n = {};
1137
- return r.isMergeableObject(e) && ut(e).forEach(function(i) {
1138
- n[i] = se(e[i], r);
1139
- }), ut(t).forEach(function(i) {
1140
- ln(e, i) || (Ut(e, i) && r.isMergeableObject(t[i]) ? n[i] = un(i, r)(e[i], t[i], r) : n[i] = se(t[i], r));
1114
+ return r.isMergeableObject(e) && ft(e).forEach(function(i) {
1115
+ n[i] = ie(e[i], r);
1116
+ }), ft(t).forEach(function(i) {
1117
+ pn(e, i) || (kt(e, i) && r.isMergeableObject(t[i]) ? n[i] = cn(i, r)(e[i], t[i], r) : n[i] = ie(t[i], r));
1141
1118
  }), n;
1142
1119
  }
1143
- function Z(e, t, r) {
1144
- r = r || {}, r.arrayMerge = r.arrayMerge || an, r.isMergeableObject = r.isMergeableObject || Kr, r.cloneUnlessOtherwiseSpecified = se;
1145
- var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
1146
- return s ? n ? r.arrayMerge(e, t, r) : fn(e, t, r) : se(t, r);
1120
+ function z(e, t, r) {
1121
+ r = r || {}, r.arrayMerge = r.arrayMerge || ln, r.isMergeableObject = r.isMergeableObject || rn, r.cloneUnlessOtherwiseSpecified = ie;
1122
+ var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1123
+ return o ? n ? r.arrayMerge(e, t, r) : mn(e, t, r) : ie(t, r);
1147
1124
  }
1148
- Z.all = function(t, r) {
1125
+ z.all = function(t, r) {
1149
1126
  if (!Array.isArray(t))
1150
1127
  throw new Error("first argument should be an array");
1151
1128
  return t.reduce(function(n, i) {
1152
- return Z(n, i, r);
1129
+ return z(n, i, r);
1153
1130
  }, {});
1154
1131
  };
1155
- var cn = Z, pn = cn;
1156
- const dn = /* @__PURE__ */ Yr(pn);
1157
- function Be(e, t) {
1158
- var r = t && t.cache ? t.cache : En, n = t && t.serializer ? t.serializer : _n, i = t && t.strategy ? t.strategy : bn;
1132
+ var dn = z, bn = dn;
1133
+ const gn = /* @__PURE__ */ tn(bn);
1134
+ var Ve = function(e, t) {
1135
+ return Ve = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1136
+ r.__proto__ = n;
1137
+ } || function(r, n) {
1138
+ for (var i in n)
1139
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1140
+ }, Ve(e, t);
1141
+ };
1142
+ function Se(e, t) {
1143
+ if (typeof t != "function" && t !== null)
1144
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1145
+ Ve(e, t);
1146
+ function r() {
1147
+ this.constructor = e;
1148
+ }
1149
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1150
+ }
1151
+ var L = function() {
1152
+ return L = Object.assign || function(t) {
1153
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1154
+ r = arguments[n];
1155
+ for (var o in r)
1156
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1157
+ }
1158
+ return t;
1159
+ }, L.apply(this, arguments);
1160
+ };
1161
+ function yn(e, t) {
1162
+ var r = {};
1163
+ for (var n in e)
1164
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1165
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
1166
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1167
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1168
+ return r;
1169
+ }
1170
+ function Pe(e, t, r) {
1171
+ if (r || arguments.length === 2)
1172
+ for (var n = 0, i = t.length, o; n < i; n++)
1173
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1174
+ return e.concat(o || Array.prototype.slice.call(t));
1175
+ }
1176
+ function Oe(e, t) {
1177
+ var r = t && t.cache ? t.cache : wn, n = t && t.serializer ? t.serializer : Sn, i = t && t.strategy ? t.strategy : En;
1159
1178
  return i(e, {
1160
1179
  cache: r,
1161
1180
  serializer: n
1162
1181
  });
1163
1182
  }
1164
- function mn(e) {
1183
+ function vn(e) {
1165
1184
  return e == null || typeof e == "number" || typeof e == "boolean";
1166
1185
  }
1167
- function Dt(e, t, r, n) {
1168
- var i = mn(n) ? n : r(n), s = t.get(i);
1169
- return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
1186
+ function _n(e, t, r, n) {
1187
+ var i = vn(n) ? n : r(n), o = t.get(i);
1188
+ return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1170
1189
  }
1171
- function Ft(e, t, r) {
1172
- var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
1173
- return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
1190
+ function Vt(e, t, r) {
1191
+ var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1192
+ return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1174
1193
  }
1175
- function Qe(e, t, r, n, i) {
1194
+ function Xt(e, t, r, n, i) {
1176
1195
  return r.bind(t, e, n, i);
1177
1196
  }
1178
- function bn(e, t) {
1179
- var r = e.length === 1 ? Dt : Ft;
1180
- return Qe(e, this, r, t.cache.create(), t.serializer);
1181
- }
1182
- function gn(e, t) {
1183
- return Qe(e, this, Ft, t.cache.create(), t.serializer);
1197
+ function En(e, t) {
1198
+ var r = e.length === 1 ? _n : Vt;
1199
+ return Xt(e, this, r, t.cache.create(), t.serializer);
1184
1200
  }
1185
- function yn(e, t) {
1186
- return Qe(e, this, Dt, t.cache.create(), t.serializer);
1201
+ function xn(e, t) {
1202
+ return Xt(e, this, Vt, t.cache.create(), t.serializer);
1187
1203
  }
1188
- var _n = function() {
1204
+ var Sn = function() {
1189
1205
  return JSON.stringify(arguments);
1190
- }, vn = (
1206
+ }, Tn = (
1191
1207
  /** @class */
1192
1208
  function() {
1193
1209
  function e() {
@@ -1199,62 +1215,71 @@ var _n = function() {
1199
1215
  this.cache[t] = r;
1200
1216
  }, e;
1201
1217
  }()
1202
- ), En = {
1218
+ ), wn = {
1203
1219
  create: function() {
1204
- return new vn();
1220
+ return new Tn();
1205
1221
  }
1206
- }, Ae = {
1207
- variadic: gn,
1208
- monadic: yn
1209
- }, y;
1222
+ }, Ne = {
1223
+ variadic: xn
1224
+ }, ge = function() {
1225
+ return ge = Object.assign || function(t) {
1226
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1227
+ r = arguments[n];
1228
+ for (var o in r)
1229
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1230
+ }
1231
+ return t;
1232
+ }, ge.apply(this, arguments);
1233
+ };
1234
+ var y;
1210
1235
  (function(e) {
1211
1236
  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";
1212
1237
  })(y || (y = {}));
1213
- var T;
1238
+ var x;
1214
1239
  (function(e) {
1215
1240
  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";
1216
- })(T || (T = {}));
1217
- var Q;
1241
+ })(x || (x = {}));
1242
+ var Z;
1218
1243
  (function(e) {
1219
1244
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1220
- })(Q || (Q = {}));
1221
- function ht(e) {
1222
- return e.type === T.literal;
1245
+ })(Z || (Z = {}));
1246
+ function pt(e) {
1247
+ return e.type === x.literal;
1223
1248
  }
1224
- function xn(e) {
1225
- return e.type === T.argument;
1249
+ function Hn(e) {
1250
+ return e.type === x.argument;
1226
1251
  }
1227
- function jt(e) {
1228
- return e.type === T.number;
1252
+ function Wt(e) {
1253
+ return e.type === x.number;
1229
1254
  }
1230
- function kt(e) {
1231
- return e.type === T.date;
1255
+ function zt(e) {
1256
+ return e.type === x.date;
1232
1257
  }
1233
- function Vt(e) {
1234
- return e.type === T.time;
1258
+ function Zt(e) {
1259
+ return e.type === x.time;
1235
1260
  }
1236
- function Xt(e) {
1237
- return e.type === T.select;
1261
+ function Qt(e) {
1262
+ return e.type === x.select;
1238
1263
  }
1239
- function Wt(e) {
1240
- return e.type === T.plural;
1264
+ function Jt(e) {
1265
+ return e.type === x.plural;
1241
1266
  }
1242
- function Tn(e) {
1243
- return e.type === T.pound;
1267
+ function An(e) {
1268
+ return e.type === x.pound;
1244
1269
  }
1245
- function zt(e) {
1246
- return e.type === T.tag;
1270
+ function qt(e) {
1271
+ return e.type === x.tag;
1247
1272
  }
1248
- function Zt(e) {
1249
- return !!(e && typeof e == "object" && e.type === Q.number);
1273
+ function Yt(e) {
1274
+ return !!(e && typeof e == "object" && e.type === Z.number);
1250
1275
  }
1251
- function De(e) {
1252
- return !!(e && typeof e == "object" && e.type === Q.dateTime);
1276
+ function Xe(e) {
1277
+ return !!(e && typeof e == "object" && e.type === Z.dateTime);
1253
1278
  }
1254
- var Qt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Sn = /(?:[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;
1255
- function wn(e) {
1279
+ var Kt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Bn = /(?:[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;
1280
+ function Pn(e) {
1256
1281
  var t = {};
1257
- return e.replace(Sn, function(r) {
1282
+ return e.replace(Bn, function(r) {
1258
1283
  var n = r.length;
1259
1284
  switch (r[0]) {
1260
1285
  case "G":
@@ -1343,36 +1368,46 @@ function wn(e) {
1343
1368
  return "";
1344
1369
  }), t;
1345
1370
  }
1346
- var Hn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1347
- function Bn(e) {
1371
+ var S = function() {
1372
+ return S = Object.assign || function(t) {
1373
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1374
+ r = arguments[n];
1375
+ for (var o in r)
1376
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1377
+ }
1378
+ return t;
1379
+ }, S.apply(this, arguments);
1380
+ };
1381
+ var On = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1382
+ function Nn(e) {
1348
1383
  if (e.length === 0)
1349
1384
  throw new Error("Number skeleton cannot be empty");
1350
- for (var t = e.split(Hn).filter(function(c) {
1351
- return c.length > 0;
1385
+ for (var t = e.split(On).filter(function(f) {
1386
+ return f.length > 0;
1352
1387
  }), r = [], n = 0, i = t; n < i.length; n++) {
1353
- var s = i[n], o = s.split("/");
1354
- if (o.length === 0)
1388
+ var o = i[n], s = o.split("/");
1389
+ if (s.length === 0)
1355
1390
  throw new Error("Invalid number skeleton");
1356
- for (var a = o[0], h = o.slice(1), u = 0, l = h; u < l.length; u++) {
1357
- var f = l[u];
1358
- if (f.length === 0)
1391
+ for (var a = s[0], h = s.slice(1), u = 0, l = h; u < l.length; u++) {
1392
+ var c = l[u];
1393
+ if (c.length === 0)
1359
1394
  throw new Error("Invalid number skeleton");
1360
1395
  }
1361
1396
  r.push({ stem: a, options: h });
1362
1397
  }
1363
1398
  return r;
1364
1399
  }
1365
- function An(e) {
1400
+ function In(e) {
1366
1401
  return e.replace(/^(.*?)-/, "");
1367
1402
  }
1368
- var lt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Jt = /^(@+)?(\+|#+)?[rs]?$/g, Pn = /(\*)(0+)|(#+)(0+)|(0+)/g, qt = /^(0+)$/;
1369
- function ft(e) {
1403
+ var mt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, er = /^(@+)?(\+|#+)?[rs]?$/g, Ln = /(\*)(0+)|(#+)(0+)|(0+)/g, tr = /^(0+)$/;
1404
+ function dt(e) {
1370
1405
  var t = {};
1371
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Jt, function(r, n, i) {
1406
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(er, function(r, n, i) {
1372
1407
  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)), "";
1373
1408
  }), t;
1374
1409
  }
1375
- function Yt(e) {
1410
+ function rr(e) {
1376
1411
  switch (e) {
1377
1412
  case "sign-auto":
1378
1413
  return {
@@ -1412,7 +1447,7 @@ function Yt(e) {
1412
1447
  };
1413
1448
  }
1414
1449
  }
1415
- function On(e) {
1450
+ function Cn(e) {
1416
1451
  var t;
1417
1452
  if (e[0] === "E" && e[1] === "E" ? (t = {
1418
1453
  notation: "engineering"
@@ -1420,17 +1455,17 @@ function On(e) {
1420
1455
  notation: "scientific"
1421
1456
  }, e = e.slice(1)), t) {
1422
1457
  var r = e.slice(0, 2);
1423
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !qt.test(e))
1458
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !tr.test(e))
1424
1459
  throw new Error("Malformed concise eng/scientific notation");
1425
1460
  t.minimumIntegerDigits = e.length;
1426
1461
  }
1427
1462
  return t;
1428
1463
  }
1429
- function ct(e) {
1430
- var t = {}, r = Yt(e);
1464
+ function bt(e) {
1465
+ var t = {}, r = rr(e);
1431
1466
  return r || t;
1432
1467
  }
1433
- function Nn(e) {
1468
+ function Mn(e) {
1434
1469
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1435
1470
  var i = n[r];
1436
1471
  switch (i.stem) {
@@ -1454,7 +1489,7 @@ function Nn(e) {
1454
1489
  continue;
1455
1490
  case "measure-unit":
1456
1491
  case "unit":
1457
- t.style = "unit", t.unit = An(i.options[0]);
1492
+ t.style = "unit", t.unit = In(i.options[0]);
1458
1493
  continue;
1459
1494
  case "compact-short":
1460
1495
  case "K":
@@ -1465,13 +1500,13 @@ function Nn(e) {
1465
1500
  t.notation = "compact", t.compactDisplay = "long";
1466
1501
  continue;
1467
1502
  case "scientific":
1468
- t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1469
- return v(v({}, h), ct(u));
1503
+ t = S(S(S({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1504
+ return S(S({}, h), bt(u));
1470
1505
  }, {}));
1471
1506
  continue;
1472
1507
  case "engineering":
1473
- t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1474
- return v(v({}, h), ct(u));
1508
+ t = S(S(S({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1509
+ return S(S({}, h), bt(u));
1475
1510
  }, {}));
1476
1511
  continue;
1477
1512
  case "notation-simple":
@@ -1516,41 +1551,41 @@ function Nn(e) {
1516
1551
  case "integer-width":
1517
1552
  if (i.options.length > 1)
1518
1553
  throw new RangeError("integer-width stems only accept a single optional option");
1519
- i.options[0].replace(Pn, function(h, u, l, f, c, m) {
1554
+ i.options[0].replace(Ln, function(h, u, l, c, f, d) {
1520
1555
  if (u)
1521
1556
  t.minimumIntegerDigits = l.length;
1522
1557
  else {
1523
- if (f && c)
1558
+ if (c && f)
1524
1559
  throw new Error("We currently do not support maximum integer digits");
1525
- if (m)
1560
+ if (d)
1526
1561
  throw new Error("We currently do not support exact integer digits");
1527
1562
  }
1528
1563
  return "";
1529
1564
  });
1530
1565
  continue;
1531
1566
  }
1532
- if (qt.test(i.stem)) {
1567
+ if (tr.test(i.stem)) {
1533
1568
  t.minimumIntegerDigits = i.stem.length;
1534
1569
  continue;
1535
1570
  }
1536
- if (lt.test(i.stem)) {
1571
+ if (mt.test(i.stem)) {
1537
1572
  if (i.options.length > 1)
1538
1573
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1539
- i.stem.replace(lt, function(h, u, l, f, c, m) {
1540
- return l === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && m ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + m.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1574
+ i.stem.replace(mt, function(h, u, l, c, f, d) {
1575
+ return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && d ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1541
1576
  });
1542
- var s = i.options[0];
1543
- s === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = v(v({}, t), ft(s)));
1577
+ var o = i.options[0];
1578
+ o === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = S(S({}, t), dt(o)));
1544
1579
  continue;
1545
1580
  }
1546
- if (Jt.test(i.stem)) {
1547
- t = v(v({}, t), ft(i.stem));
1581
+ if (er.test(i.stem)) {
1582
+ t = S(S({}, t), dt(i.stem));
1548
1583
  continue;
1549
1584
  }
1550
- var o = Yt(i.stem);
1551
- o && (t = v(v({}, t), o));
1552
- var a = On(i.stem);
1553
- a && (t = v(v({}, t), a));
1585
+ var s = rr(i.stem);
1586
+ s && (t = S(S({}, t), s));
1587
+ var a = Cn(i.stem);
1588
+ a && (t = S(S({}, t), a));
1554
1589
  }
1555
1590
  return t;
1556
1591
  }
@@ -2969,23 +3004,23 @@ var le = {
2969
3004
  "h"
2970
3005
  ]
2971
3006
  };
2972
- function In(e, t) {
3007
+ function $n(e, t) {
2973
3008
  for (var r = "", n = 0; n < e.length; n++) {
2974
3009
  var i = e.charAt(n);
2975
3010
  if (i === "j") {
2976
- for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2977
- s++, n++;
2978
- var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", u = Ln(t);
3011
+ for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3012
+ o++, n++;
3013
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Rn(t);
2979
3014
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2980
3015
  r += h;
2981
- for (; o-- > 0; )
3016
+ for (; s-- > 0; )
2982
3017
  r = u + r;
2983
3018
  } else
2984
3019
  i === "J" ? r += "H" : r += i;
2985
3020
  }
2986
3021
  return r;
2987
3022
  }
2988
- function Ln(e) {
3023
+ function Rn(e) {
2989
3024
  var t = e.hourCycle;
2990
3025
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2991
3026
  e.hourCycles && // @ts-ignore
@@ -3007,20 +3042,20 @@ function Ln(e) {
3007
3042
  var i = le[n || ""] || le[r || ""] || le["".concat(r, "-001")] || le["001"];
3008
3043
  return i[0];
3009
3044
  }
3010
- var Pe, Cn = new RegExp("^".concat(Qt.source, "*")), Mn = new RegExp("".concat(Qt.source, "*$"));
3011
- function _(e, t) {
3045
+ var Ie, Gn = new RegExp("^".concat(Kt.source, "*")), Un = new RegExp("".concat(Kt.source, "*$"));
3046
+ function v(e, t) {
3012
3047
  return { start: e, end: t };
3013
3048
  }
3014
- var $n = !!String.prototype.startsWith && "_a".startsWith("a", 1), Rn = !!String.fromCodePoint, Gn = !!Object.fromEntries, Un = !!String.prototype.codePointAt, Dn = !!String.prototype.trimStart, Fn = !!String.prototype.trimEnd, jn = !!Number.isSafeInteger, kn = jn ? Number.isSafeInteger : function(e) {
3049
+ var Dn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Fn = !!String.fromCodePoint, jn = !!Object.fromEntries, kn = !!String.prototype.codePointAt, Vn = !!String.prototype.trimStart, Xn = !!String.prototype.trimEnd, Wn = !!Number.isSafeInteger, zn = Wn ? Number.isSafeInteger : function(e) {
3015
3050
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3016
- }, Fe = !0;
3051
+ }, We = !0;
3017
3052
  try {
3018
- var Vn = er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3019
- Fe = ((Pe = Vn.exec("a")) === null || Pe === void 0 ? void 0 : Pe[0]) === "a";
3053
+ var Zn = ir("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3054
+ We = ((Ie = Zn.exec("a")) === null || Ie === void 0 ? void 0 : Ie[0]) === "a";
3020
3055
  } catch {
3021
- Fe = !1;
3056
+ We = !1;
3022
3057
  }
3023
- var pt = $n ? (
3058
+ var gt = Dn ? (
3024
3059
  // Native
3025
3060
  function(t, r, n) {
3026
3061
  return t.startsWith(r, n);
@@ -3030,31 +3065,31 @@ var pt = $n ? (
3030
3065
  function(t, r, n) {
3031
3066
  return t.slice(n, n + r.length) === r;
3032
3067
  }
3033
- ), je = Rn ? String.fromCodePoint : (
3068
+ ), ze = Fn ? String.fromCodePoint : (
3034
3069
  // IE11
3035
3070
  function() {
3036
3071
  for (var t = [], r = 0; r < arguments.length; r++)
3037
3072
  t[r] = arguments[r];
3038
- for (var n = "", i = t.length, s = 0, o; i > s; ) {
3039
- if (o = t[s++], o > 1114111)
3040
- throw RangeError(o + " is not a valid code point");
3041
- n += o < 65536 ? String.fromCharCode(o) : String.fromCharCode(((o -= 65536) >> 10) + 55296, o % 1024 + 56320);
3073
+ for (var n = "", i = t.length, o = 0, s; i > o; ) {
3074
+ if (s = t[o++], s > 1114111)
3075
+ throw RangeError(s + " is not a valid code point");
3076
+ n += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
3042
3077
  }
3043
3078
  return n;
3044
3079
  }
3045
- ), dt = (
3080
+ ), yt = (
3046
3081
  // native
3047
- Gn ? Object.fromEntries : (
3082
+ jn ? Object.fromEntries : (
3048
3083
  // Ponyfill
3049
3084
  function(t) {
3050
3085
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
3051
- var s = i[n], o = s[0], a = s[1];
3052
- r[o] = a;
3086
+ var o = i[n], s = o[0], a = o[1];
3087
+ r[s] = a;
3053
3088
  }
3054
3089
  return r;
3055
3090
  }
3056
3091
  )
3057
- ), Kt = Un ? (
3092
+ ), nr = kn ? (
3058
3093
  // Native
3059
3094
  function(t, r) {
3060
3095
  return t.codePointAt(r);
@@ -3064,11 +3099,11 @@ var pt = $n ? (
3064
3099
  function(t, r) {
3065
3100
  var n = t.length;
3066
3101
  if (!(r < 0 || r >= n)) {
3067
- var i = t.charCodeAt(r), s;
3068
- return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
3102
+ var i = t.charCodeAt(r), o;
3103
+ return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3069
3104
  }
3070
3105
  }
3071
- ), Xn = Dn ? (
3106
+ ), Qn = Vn ? (
3072
3107
  // Native
3073
3108
  function(t) {
3074
3109
  return t.trimStart();
@@ -3076,9 +3111,9 @@ var pt = $n ? (
3076
3111
  ) : (
3077
3112
  // Ponyfill
3078
3113
  function(t) {
3079
- return t.replace(Cn, "");
3114
+ return t.replace(Gn, "");
3080
3115
  }
3081
- ), Wn = Fn ? (
3116
+ ), Jn = Xn ? (
3082
3117
  // Native
3083
3118
  function(t) {
3084
3119
  return t.trimEnd();
@@ -3086,32 +3121,32 @@ var pt = $n ? (
3086
3121
  ) : (
3087
3122
  // Ponyfill
3088
3123
  function(t) {
3089
- return t.replace(Mn, "");
3124
+ return t.replace(Un, "");
3090
3125
  }
3091
3126
  );
3092
- function er(e, t) {
3127
+ function ir(e, t) {
3093
3128
  return new RegExp(e, t);
3094
3129
  }
3095
- var ke;
3096
- if (Fe) {
3097
- var mt = er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3098
- ke = function(t, r) {
3130
+ var Ze;
3131
+ if (We) {
3132
+ var vt = ir("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3133
+ Ze = function(t, r) {
3099
3134
  var n;
3100
- mt.lastIndex = r;
3101
- var i = mt.exec(t);
3135
+ vt.lastIndex = r;
3136
+ var i = vt.exec(t);
3102
3137
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3103
3138
  };
3104
3139
  } else
3105
- ke = function(t, r) {
3140
+ Ze = function(t, r) {
3106
3141
  for (var n = []; ; ) {
3107
- var i = Kt(t, r);
3108
- if (i === void 0 || tr(i) || Jn(i))
3142
+ var i = nr(t, r);
3143
+ if (i === void 0 || or(i) || ei(i))
3109
3144
  break;
3110
3145
  n.push(i), r += i >= 65536 ? 2 : 1;
3111
3146
  }
3112
- return je.apply(void 0, n);
3147
+ return ze.apply(void 0, n);
3113
3148
  };
3114
- var zn = (
3149
+ var qn = (
3115
3150
  /** @class */
3116
3151
  function() {
3117
3152
  function e(t, r) {
@@ -3123,35 +3158,35 @@ var zn = (
3123
3158
  return this.parseMessage(0, "", !1);
3124
3159
  }, e.prototype.parseMessage = function(t, r, n) {
3125
3160
  for (var i = []; !this.isEOF(); ) {
3126
- var s = this.char();
3127
- if (s === 123) {
3128
- var o = this.parseArgument(t, n);
3129
- if (o.err)
3130
- return o;
3131
- i.push(o.val);
3161
+ var o = this.char();
3162
+ if (o === 123) {
3163
+ var s = this.parseArgument(t, n);
3164
+ if (s.err)
3165
+ return s;
3166
+ i.push(s.val);
3132
3167
  } else {
3133
- if (s === 125 && t > 0)
3168
+ if (o === 125 && t > 0)
3134
3169
  break;
3135
- if (s === 35 && (r === "plural" || r === "selectordinal")) {
3170
+ if (o === 35 && (r === "plural" || r === "selectordinal")) {
3136
3171
  var a = this.clonePosition();
3137
3172
  this.bump(), i.push({
3138
- type: T.pound,
3139
- location: _(a, this.clonePosition())
3173
+ type: x.pound,
3174
+ location: v(a, this.clonePosition())
3140
3175
  });
3141
- } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
3176
+ } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3142
3177
  if (n)
3143
3178
  break;
3144
- return this.error(y.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
3145
- } else if (s === 60 && !this.ignoreTag && Ve(this.peek() || 0)) {
3146
- var o = this.parseTag(t, r);
3147
- if (o.err)
3148
- return o;
3149
- i.push(o.val);
3179
+ return this.error(y.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
3180
+ } else if (o === 60 && !this.ignoreTag && Qe(this.peek() || 0)) {
3181
+ var s = this.parseTag(t, r);
3182
+ if (s.err)
3183
+ return s;
3184
+ i.push(s.val);
3150
3185
  } else {
3151
- var o = this.parseLiteral(t, r);
3152
- if (o.err)
3153
- return o;
3154
- i.push(o.val);
3186
+ var s = this.parseLiteral(t, r);
3187
+ if (s.err)
3188
+ return s;
3189
+ i.push(s.val);
3155
3190
  }
3156
3191
  }
3157
3192
  }
@@ -3163,51 +3198,51 @@ var zn = (
3163
3198
  if (this.bumpSpace(), this.bumpIf("/>"))
3164
3199
  return {
3165
3200
  val: {
3166
- type: T.literal,
3201
+ type: x.literal,
3167
3202
  value: "<".concat(i, "/>"),
3168
- location: _(n, this.clonePosition())
3203
+ location: v(n, this.clonePosition())
3169
3204
  },
3170
3205
  err: null
3171
3206
  };
3172
3207
  if (this.bumpIf(">")) {
3173
- var s = this.parseMessage(t + 1, r, !0);
3174
- if (s.err)
3175
- return s;
3176
- var o = s.val, a = this.clonePosition();
3208
+ var o = this.parseMessage(t + 1, r, !0);
3209
+ if (o.err)
3210
+ return o;
3211
+ var s = o.val, a = this.clonePosition();
3177
3212
  if (this.bumpIf("</")) {
3178
- if (this.isEOF() || !Ve(this.char()))
3179
- return this.error(y.INVALID_TAG, _(a, this.clonePosition()));
3213
+ if (this.isEOF() || !Qe(this.char()))
3214
+ return this.error(y.INVALID_TAG, v(a, this.clonePosition()));
3180
3215
  var h = this.clonePosition(), u = this.parseTagName();
3181
- return i !== u ? this.error(y.UNMATCHED_CLOSING_TAG, _(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3216
+ return i !== u ? this.error(y.UNMATCHED_CLOSING_TAG, v(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3182
3217
  val: {
3183
- type: T.tag,
3218
+ type: x.tag,
3184
3219
  value: i,
3185
- children: o,
3186
- location: _(n, this.clonePosition())
3220
+ children: s,
3221
+ location: v(n, this.clonePosition())
3187
3222
  },
3188
3223
  err: null
3189
- } : this.error(y.INVALID_TAG, _(a, this.clonePosition())));
3224
+ } : this.error(y.INVALID_TAG, v(a, this.clonePosition())));
3190
3225
  } else
3191
- return this.error(y.UNCLOSED_TAG, _(n, this.clonePosition()));
3226
+ return this.error(y.UNCLOSED_TAG, v(n, this.clonePosition()));
3192
3227
  } else
3193
- return this.error(y.INVALID_TAG, _(n, this.clonePosition()));
3228
+ return this.error(y.INVALID_TAG, v(n, this.clonePosition()));
3194
3229
  }, e.prototype.parseTagName = function() {
3195
3230
  var t = this.offset();
3196
- for (this.bump(); !this.isEOF() && Qn(this.char()); )
3231
+ for (this.bump(); !this.isEOF() && Kn(this.char()); )
3197
3232
  this.bump();
3198
3233
  return this.message.slice(t, this.offset());
3199
3234
  }, e.prototype.parseLiteral = function(t, r) {
3200
3235
  for (var n = this.clonePosition(), i = ""; ; ) {
3201
- var s = this.tryParseQuote(r);
3202
- if (s) {
3203
- i += s;
3204
- continue;
3205
- }
3206
- var o = this.tryParseUnquoted(t, r);
3236
+ var o = this.tryParseQuote(r);
3207
3237
  if (o) {
3208
3238
  i += o;
3209
3239
  continue;
3210
3240
  }
3241
+ var s = this.tryParseUnquoted(t, r);
3242
+ if (s) {
3243
+ i += s;
3244
+ continue;
3245
+ }
3211
3246
  var a = this.tryParseLeftAngleBracket();
3212
3247
  if (a) {
3213
3248
  i += a;
@@ -3215,14 +3250,14 @@ var zn = (
3215
3250
  }
3216
3251
  break;
3217
3252
  }
3218
- var h = _(n, this.clonePosition());
3253
+ var h = v(n, this.clonePosition());
3219
3254
  return {
3220
- val: { type: T.literal, value: i, location: h },
3255
+ val: { type: x.literal, value: i, location: h },
3221
3256
  err: null
3222
3257
  };
3223
3258
  }, e.prototype.tryParseLeftAngleBracket = function() {
3224
3259
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3225
- !Zn(this.peek() || 0)) ? (this.bump(), "<") : null;
3260
+ !Yn(this.peek() || 0)) ? (this.bump(), "<") : null;
3226
3261
  }, e.prototype.tryParseQuote = function(t) {
3227
3262
  if (this.isEOF() || this.char() !== 39)
3228
3263
  return null;
@@ -3256,49 +3291,49 @@ var zn = (
3256
3291
  r.push(n);
3257
3292
  this.bump();
3258
3293
  }
3259
- return je.apply(void 0, r);
3294
+ return ze.apply(void 0, r);
3260
3295
  }, e.prototype.tryParseUnquoted = function(t, r) {
3261
3296
  if (this.isEOF())
3262
3297
  return null;
3263
3298
  var n = this.char();
3264
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), je(n));
3299
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ze(n));
3265
3300
  }, e.prototype.parseArgument = function(t, r) {
3266
3301
  var n = this.clonePosition();
3267
3302
  if (this.bump(), this.bumpSpace(), this.isEOF())
3268
- return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
3303
+ return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
3269
3304
  if (this.char() === 125)
3270
- return this.bump(), this.error(y.EMPTY_ARGUMENT, _(n, this.clonePosition()));
3305
+ return this.bump(), this.error(y.EMPTY_ARGUMENT, v(n, this.clonePosition()));
3271
3306
  var i = this.parseIdentifierIfPossible().value;
3272
3307
  if (!i)
3273
- return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
3308
+ return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3274
3309
  if (this.bumpSpace(), this.isEOF())
3275
- return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
3310
+ return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
3276
3311
  switch (this.char()) {
3277
3312
  case 125:
3278
3313
  return this.bump(), {
3279
3314
  val: {
3280
- type: T.argument,
3315
+ type: x.argument,
3281
3316
  // value does not include the opening and closing braces.
3282
3317
  value: i,
3283
- location: _(n, this.clonePosition())
3318
+ location: v(n, this.clonePosition())
3284
3319
  },
3285
3320
  err: null
3286
3321
  };
3287
3322
  case 44:
3288
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3323
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3289
3324
  default:
3290
- return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
3325
+ return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3291
3326
  }
3292
3327
  }, e.prototype.parseIdentifierIfPossible = function() {
3293
- var t = this.clonePosition(), r = this.offset(), n = ke(this.message, r), i = r + n.length;
3328
+ var t = this.clonePosition(), r = this.offset(), n = Ze(this.message, r), i = r + n.length;
3294
3329
  this.bumpTo(i);
3295
- var s = this.clonePosition(), o = _(t, s);
3296
- return { value: n, location: o };
3330
+ var o = this.clonePosition(), s = v(t, o);
3331
+ return { value: n, location: s };
3297
3332
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3298
- var s, o = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
3333
+ var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
3299
3334
  switch (a) {
3300
3335
  case "":
3301
- return this.error(y.EXPECT_ARGUMENT_TYPE, _(o, h));
3336
+ return this.error(y.EXPECT_ARGUMENT_TYPE, v(s, h));
3302
3337
  case "number":
3303
3338
  case "date":
3304
3339
  case "time": {
@@ -3306,50 +3341,50 @@ var zn = (
3306
3341
  var u = null;
3307
3342
  if (this.bumpIf(",")) {
3308
3343
  this.bumpSpace();
3309
- var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3310
- if (f.err)
3311
- return f;
3312
- var c = Wn(f.val);
3313
- if (c.length === 0)
3314
- return this.error(y.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
3315
- var m = _(l, this.clonePosition());
3316
- u = { style: c, styleLocation: m };
3344
+ var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3345
+ if (c.err)
3346
+ return c;
3347
+ var f = Jn(c.val);
3348
+ if (f.length === 0)
3349
+ return this.error(y.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
3350
+ var d = v(l, this.clonePosition());
3351
+ u = { style: f, styleLocation: d };
3317
3352
  }
3318
3353
  var p = this.tryParseArgumentClose(i);
3319
3354
  if (p.err)
3320
3355
  return p;
3321
- var g = _(i, this.clonePosition());
3322
- if (u && pt(u?.style, "::", 0)) {
3323
- var x = Xn(u.style.slice(2));
3356
+ var g = v(i, this.clonePosition());
3357
+ if (u && gt(u?.style, "::", 0)) {
3358
+ var E = Qn(u.style.slice(2));
3324
3359
  if (a === "number") {
3325
- var f = this.parseNumberSkeletonFromString(x, u.styleLocation);
3326
- return f.err ? f : {
3327
- val: { type: T.number, value: n, location: g, style: f.val },
3360
+ var c = this.parseNumberSkeletonFromString(E, u.styleLocation);
3361
+ return c.err ? c : {
3362
+ val: { type: x.number, value: n, location: g, style: c.val },
3328
3363
  err: null
3329
3364
  };
3330
3365
  } else {
3331
- if (x.length === 0)
3366
+ if (E.length === 0)
3332
3367
  return this.error(y.EXPECT_DATE_TIME_SKELETON, g);
3333
- var b = x;
3334
- this.locale && (b = In(x, this.locale));
3335
- var c = {
3336
- type: Q.dateTime,
3368
+ var b = E;
3369
+ this.locale && (b = $n(E, this.locale));
3370
+ var f = {
3371
+ type: Z.dateTime,
3337
3372
  pattern: b,
3338
3373
  location: u.styleLocation,
3339
- parsedOptions: this.shouldParseSkeletons ? wn(b) : {}
3340
- }, S = a === "date" ? T.date : T.time;
3374
+ parsedOptions: this.shouldParseSkeletons ? Pn(b) : {}
3375
+ }, T = a === "date" ? x.date : x.time;
3341
3376
  return {
3342
- val: { type: S, value: n, location: g, style: c },
3377
+ val: { type: T, value: n, location: g, style: f },
3343
3378
  err: null
3344
3379
  };
3345
3380
  }
3346
3381
  }
3347
3382
  return {
3348
3383
  val: {
3349
- type: a === "number" ? T.number : a === "date" ? T.date : T.time,
3384
+ type: a === "number" ? x.number : a === "date" ? x.date : x.time,
3350
3385
  value: n,
3351
3386
  location: g,
3352
- style: (s = u?.style) !== null && s !== void 0 ? s : null
3387
+ style: (o = u?.style) !== null && o !== void 0 ? o : null
3353
3388
  },
3354
3389
  err: null
3355
3390
  };
@@ -3357,41 +3392,41 @@ var zn = (
3357
3392
  case "plural":
3358
3393
  case "selectordinal":
3359
3394
  case "select": {
3360
- var E = this.clonePosition();
3395
+ var _ = this.clonePosition();
3361
3396
  if (this.bumpSpace(), !this.bumpIf(","))
3362
- return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, _(E, v({}, E)));
3397
+ return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, v(_, ge({}, _)));
3363
3398
  this.bumpSpace();
3364
- var N = this.parseIdentifierIfPossible(), L = 0;
3399
+ var N = this.parseIdentifierIfPossible(), C = 0;
3365
3400
  if (a !== "select" && N.value === "offset") {
3366
3401
  if (!this.bumpIf(":"))
3367
- return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
3402
+ return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
3368
3403
  this.bumpSpace();
3369
- var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3370
- if (f.err)
3371
- return f;
3372
- this.bumpSpace(), N = this.parseIdentifierIfPossible(), L = f.val;
3404
+ var c = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3405
+ if (c.err)
3406
+ return c;
3407
+ this.bumpSpace(), N = this.parseIdentifierIfPossible(), C = c.val;
3373
3408
  }
3374
- var d = this.tryParsePluralOrSelectOptions(t, a, r, N);
3375
- if (d.err)
3376
- return d;
3409
+ var m = this.tryParsePluralOrSelectOptions(t, a, r, N);
3410
+ if (m.err)
3411
+ return m;
3377
3412
  var p = this.tryParseArgumentClose(i);
3378
3413
  if (p.err)
3379
3414
  return p;
3380
- var O = _(i, this.clonePosition());
3415
+ var O = v(i, this.clonePosition());
3381
3416
  return a === "select" ? {
3382
3417
  val: {
3383
- type: T.select,
3418
+ type: x.select,
3384
3419
  value: n,
3385
- options: dt(d.val),
3420
+ options: yt(m.val),
3386
3421
  location: O
3387
3422
  },
3388
3423
  err: null
3389
3424
  } : {
3390
3425
  val: {
3391
- type: T.plural,
3426
+ type: x.plural,
3392
3427
  value: n,
3393
- options: dt(d.val),
3394
- offset: L,
3428
+ options: yt(m.val),
3429
+ offset: C,
3395
3430
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3396
3431
  location: O
3397
3432
  },
@@ -3399,10 +3434,10 @@ var zn = (
3399
3434
  };
3400
3435
  }
3401
3436
  default:
3402
- return this.error(y.INVALID_ARGUMENT_TYPE, _(o, h));
3437
+ return this.error(y.INVALID_ARGUMENT_TYPE, v(s, h));
3403
3438
  }
3404
3439
  }, e.prototype.tryParseArgumentClose = function(t) {
3405
- return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3440
+ return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3406
3441
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3407
3442
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3408
3443
  var n = this.char();
@@ -3411,7 +3446,7 @@ var zn = (
3411
3446
  this.bump();
3412
3447
  var i = this.clonePosition();
3413
3448
  if (!this.bumpUntil("'"))
3414
- return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, _(i, this.clonePosition()));
3449
+ return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, v(i, this.clonePosition()));
3415
3450
  this.bump();
3416
3451
  break;
3417
3452
  }
@@ -3441,64 +3476,64 @@ var zn = (
3441
3476
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3442
3477
  var n = [];
3443
3478
  try {
3444
- n = Bn(t);
3479
+ n = Nn(t);
3445
3480
  } catch {
3446
3481
  return this.error(y.INVALID_NUMBER_SKELETON, r);
3447
3482
  }
3448
3483
  return {
3449
3484
  val: {
3450
- type: Q.number,
3485
+ type: Z.number,
3451
3486
  tokens: n,
3452
3487
  location: r,
3453
- parsedOptions: this.shouldParseSkeletons ? Nn(n) : {}
3488
+ parsedOptions: this.shouldParseSkeletons ? Mn(n) : {}
3454
3489
  },
3455
3490
  err: null
3456
3491
  };
3457
3492
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3458
- for (var s, o = !1, a = [], h = /* @__PURE__ */ new Set(), u = i.value, l = i.location; ; ) {
3493
+ for (var o, s = !1, a = [], h = /* @__PURE__ */ new Set(), u = i.value, l = i.location; ; ) {
3459
3494
  if (u.length === 0) {
3460
- var f = this.clonePosition();
3495
+ var c = this.clonePosition();
3461
3496
  if (r !== "select" && this.bumpIf("=")) {
3462
- var c = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
3463
- if (c.err)
3464
- return c;
3465
- l = _(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3497
+ var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
3498
+ if (f.err)
3499
+ return f;
3500
+ l = v(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3466
3501
  } else
3467
3502
  break;
3468
3503
  }
3469
3504
  if (h.has(u))
3470
3505
  return this.error(r === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3471
- u === "other" && (o = !0), this.bumpSpace();
3472
- var m = this.clonePosition();
3506
+ u === "other" && (s = !0), this.bumpSpace();
3507
+ var d = this.clonePosition();
3473
3508
  if (!this.bumpIf("{"))
3474
- return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
3509
+ return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
3475
3510
  var p = this.parseMessage(t + 1, r, n);
3476
3511
  if (p.err)
3477
3512
  return p;
3478
- var g = this.tryParseArgumentClose(m);
3513
+ var g = this.tryParseArgumentClose(d);
3479
3514
  if (g.err)
3480
3515
  return g;
3481
3516
  a.push([
3482
3517
  u,
3483
3518
  {
3484
3519
  value: p.val,
3485
- location: _(m, this.clonePosition())
3520
+ location: v(d, this.clonePosition())
3486
3521
  }
3487
- ]), h.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, l = s.location;
3522
+ ]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
3488
3523
  }
3489
- return a.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, _(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(y.MISSING_OTHER_CLAUSE, _(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3524
+ return a.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, v(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(y.MISSING_OTHER_CLAUSE, v(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3490
3525
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3491
3526
  var n = 1, i = this.clonePosition();
3492
3527
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
3493
- for (var s = !1, o = 0; !this.isEOF(); ) {
3528
+ for (var o = !1, s = 0; !this.isEOF(); ) {
3494
3529
  var a = this.char();
3495
3530
  if (a >= 48 && a <= 57)
3496
- s = !0, o = o * 10 + (a - 48), this.bump();
3531
+ o = !0, s = s * 10 + (a - 48), this.bump();
3497
3532
  else
3498
3533
  break;
3499
3534
  }
3500
- var h = _(i, this.clonePosition());
3501
- return s ? (o *= n, kn(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
3535
+ var h = v(i, this.clonePosition());
3536
+ return o ? (s *= n, zn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3502
3537
  }, e.prototype.offset = function() {
3503
3538
  return this.position.offset;
3504
3539
  }, e.prototype.isEOF = function() {
@@ -3513,7 +3548,7 @@ var zn = (
3513
3548
  var t = this.position.offset;
3514
3549
  if (t >= this.message.length)
3515
3550
  throw Error("out of bound");
3516
- var r = Kt(this.message, t);
3551
+ var r = nr(this.message, t);
3517
3552
  if (r === void 0)
3518
3553
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3519
3554
  return r;
@@ -3532,7 +3567,7 @@ var zn = (
3532
3567
  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);
3533
3568
  }
3534
3569
  }, e.prototype.bumpIf = function(t) {
3535
- if (pt(this.message, t, this.offset())) {
3570
+ if (gt(this.message, t, this.offset())) {
3536
3571
  for (var r = 0; r < t.length; r++)
3537
3572
  this.bump();
3538
3573
  return !0;
@@ -3554,7 +3589,7 @@ var zn = (
3554
3589
  break;
3555
3590
  }
3556
3591
  }, e.prototype.bumpSpace = function() {
3557
- for (; !this.isEOF() && tr(this.char()); )
3592
+ for (; !this.isEOF() && or(this.char()); )
3558
3593
  this.bump();
3559
3594
  }, e.prototype.peek = function() {
3560
3595
  if (this.isEOF())
@@ -3564,204 +3599,204 @@ var zn = (
3564
3599
  }, e;
3565
3600
  }()
3566
3601
  );
3567
- function Ve(e) {
3602
+ function Qe(e) {
3568
3603
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3569
3604
  }
3570
- function Zn(e) {
3571
- return Ve(e) || e === 47;
3605
+ function Yn(e) {
3606
+ return Qe(e) || e === 47;
3572
3607
  }
3573
- function Qn(e) {
3608
+ function Kn(e) {
3574
3609
  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;
3575
3610
  }
3576
- function tr(e) {
3611
+ function or(e) {
3577
3612
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3578
3613
  }
3579
- function Jn(e) {
3614
+ function ei(e) {
3580
3615
  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;
3581
3616
  }
3582
- function Xe(e) {
3617
+ function Je(e) {
3583
3618
  e.forEach(function(t) {
3584
- if (delete t.location, Xt(t) || Wt(t))
3619
+ if (delete t.location, Qt(t) || Jt(t))
3585
3620
  for (var r in t.options)
3586
- delete t.options[r].location, Xe(t.options[r].value);
3621
+ delete t.options[r].location, Je(t.options[r].value);
3587
3622
  else
3588
- jt(t) && Zt(t.style) || (kt(t) || Vt(t)) && De(t.style) ? delete t.style.location : zt(t) && Xe(t.children);
3623
+ Wt(t) && Yt(t.style) || (zt(t) || Zt(t)) && Xe(t.style) ? delete t.style.location : qt(t) && Je(t.children);
3589
3624
  });
3590
3625
  }
3591
- function qn(e, t) {
3592
- t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3593
- var r = new zn(e, t).parse();
3626
+ function ti(e, t) {
3627
+ t === void 0 && (t = {}), t = ge({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3628
+ var r = new qn(e, t).parse();
3594
3629
  if (r.err) {
3595
3630
  var n = SyntaxError(y[r.err.kind]);
3596
3631
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3597
3632
  }
3598
- return t?.captureLocation || Xe(r.val), r.val;
3633
+ return t?.captureLocation || Je(r.val), r.val;
3599
3634
  }
3600
- var J;
3635
+ var Q;
3601
3636
  (function(e) {
3602
3637
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3603
- })(J || (J = {}));
3604
- var xe = (
3638
+ })(Q || (Q = {}));
3639
+ var Te = (
3605
3640
  /** @class */
3606
3641
  function(e) {
3607
- M(t, e);
3642
+ Se(t, e);
3608
3643
  function t(r, n, i) {
3609
- var s = e.call(this, r) || this;
3610
- return s.code = n, s.originalMessage = i, s;
3644
+ var o = e.call(this, r) || this;
3645
+ return o.code = n, o.originalMessage = i, o;
3611
3646
  }
3612
3647
  return t.prototype.toString = function() {
3613
3648
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3614
3649
  }, t;
3615
3650
  }(Error)
3616
- ), bt = (
3651
+ ), _t = (
3617
3652
  /** @class */
3618
3653
  function(e) {
3619
- M(t, e);
3620
- function t(r, n, i, s) {
3621
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), J.INVALID_VALUE, s) || this;
3654
+ Se(t, e);
3655
+ function t(r, n, i, o) {
3656
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Q.INVALID_VALUE, o) || this;
3622
3657
  }
3623
3658
  return t;
3624
- }(xe)
3625
- ), Yn = (
3659
+ }(Te)
3660
+ ), ri = (
3626
3661
  /** @class */
3627
3662
  function(e) {
3628
- M(t, e);
3663
+ Se(t, e);
3629
3664
  function t(r, n, i) {
3630
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), J.INVALID_VALUE, i) || this;
3665
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Q.INVALID_VALUE, i) || this;
3631
3666
  }
3632
3667
  return t;
3633
- }(xe)
3634
- ), Kn = (
3668
+ }(Te)
3669
+ ), ni = (
3635
3670
  /** @class */
3636
3671
  function(e) {
3637
- M(t, e);
3672
+ Se(t, e);
3638
3673
  function t(r, n) {
3639
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), J.MISSING_VALUE, n) || this;
3674
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Q.MISSING_VALUE, n) || this;
3640
3675
  }
3641
3676
  return t;
3642
- }(xe)
3643
- ), A;
3677
+ }(Te)
3678
+ ), B;
3644
3679
  (function(e) {
3645
3680
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3646
- })(A || (A = {}));
3647
- function ei(e) {
3681
+ })(B || (B = {}));
3682
+ function ii(e) {
3648
3683
  return e.length < 2 ? e : e.reduce(function(t, r) {
3649
3684
  var n = t[t.length - 1];
3650
- return !n || n.type !== A.literal || r.type !== A.literal ? t.push(r) : n.value += r.value, t;
3685
+ return !n || n.type !== B.literal || r.type !== B.literal ? t.push(r) : n.value += r.value, t;
3651
3686
  }, []);
3652
3687
  }
3653
- function ti(e) {
3688
+ function oi(e) {
3654
3689
  return typeof e == "function";
3655
3690
  }
3656
- function pe(e, t, r, n, i, s, o) {
3657
- if (e.length === 1 && ht(e[0]))
3691
+ function pe(e, t, r, n, i, o, s) {
3692
+ if (e.length === 1 && pt(e[0]))
3658
3693
  return [
3659
3694
  {
3660
- type: A.literal,
3695
+ type: B.literal,
3661
3696
  value: e[0].value
3662
3697
  }
3663
3698
  ];
3664
3699
  for (var a = [], h = 0, u = e; h < u.length; h++) {
3665
3700
  var l = u[h];
3666
- if (ht(l)) {
3701
+ if (pt(l)) {
3667
3702
  a.push({
3668
- type: A.literal,
3703
+ type: B.literal,
3669
3704
  value: l.value
3670
3705
  });
3671
3706
  continue;
3672
3707
  }
3673
- if (Tn(l)) {
3674
- typeof s == "number" && a.push({
3675
- type: A.literal,
3676
- value: r.getNumberFormat(t).format(s)
3708
+ if (An(l)) {
3709
+ typeof o == "number" && a.push({
3710
+ type: B.literal,
3711
+ value: r.getNumberFormat(t).format(o)
3677
3712
  });
3678
3713
  continue;
3679
3714
  }
3680
- var f = l.value;
3681
- if (!(i && f in i))
3682
- throw new Kn(f, o);
3683
- var c = i[f];
3684
- if (xn(l)) {
3685
- (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3686
- type: typeof c == "string" ? A.literal : A.object,
3687
- value: c
3715
+ var c = l.value;
3716
+ if (!(i && c in i))
3717
+ throw new ni(c, s);
3718
+ var f = i[c];
3719
+ if (Hn(l)) {
3720
+ (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3721
+ type: typeof f == "string" ? B.literal : B.object,
3722
+ value: f
3688
3723
  });
3689
3724
  continue;
3690
3725
  }
3691
- if (kt(l)) {
3692
- var m = typeof l.style == "string" ? n.date[l.style] : De(l.style) ? l.style.parsedOptions : void 0;
3726
+ if (zt(l)) {
3727
+ var d = typeof l.style == "string" ? n.date[l.style] : Xe(l.style) ? l.style.parsedOptions : void 0;
3693
3728
  a.push({
3694
- type: A.literal,
3695
- value: r.getDateTimeFormat(t, m).format(c)
3729
+ type: B.literal,
3730
+ value: r.getDateTimeFormat(t, d).format(f)
3696
3731
  });
3697
3732
  continue;
3698
3733
  }
3699
- if (Vt(l)) {
3700
- var m = typeof l.style == "string" ? n.time[l.style] : De(l.style) ? l.style.parsedOptions : n.time.medium;
3734
+ if (Zt(l)) {
3735
+ var d = typeof l.style == "string" ? n.time[l.style] : Xe(l.style) ? l.style.parsedOptions : n.time.medium;
3701
3736
  a.push({
3702
- type: A.literal,
3703
- value: r.getDateTimeFormat(t, m).format(c)
3737
+ type: B.literal,
3738
+ value: r.getDateTimeFormat(t, d).format(f)
3704
3739
  });
3705
3740
  continue;
3706
3741
  }
3707
- if (jt(l)) {
3708
- var m = typeof l.style == "string" ? n.number[l.style] : Zt(l.style) ? l.style.parsedOptions : void 0;
3709
- m && m.scale && (c = c * (m.scale || 1)), a.push({
3710
- type: A.literal,
3711
- value: r.getNumberFormat(t, m).format(c)
3742
+ if (Wt(l)) {
3743
+ var d = typeof l.style == "string" ? n.number[l.style] : Yt(l.style) ? l.style.parsedOptions : void 0;
3744
+ d && d.scale && (f = f * (d.scale || 1)), a.push({
3745
+ type: B.literal,
3746
+ value: r.getNumberFormat(t, d).format(f)
3712
3747
  });
3713
3748
  continue;
3714
3749
  }
3715
- if (zt(l)) {
3716
- var p = l.children, g = l.value, x = i[g];
3717
- if (!ti(x))
3718
- throw new Yn(g, "function", o);
3719
- var b = pe(p, t, r, n, i, s), S = x(b.map(function(L) {
3720
- return L.value;
3750
+ if (qt(l)) {
3751
+ var p = l.children, g = l.value, E = i[g];
3752
+ if (!oi(E))
3753
+ throw new ri(g, "function", s);
3754
+ var b = pe(p, t, r, n, i, o), T = E(b.map(function(C) {
3755
+ return C.value;
3721
3756
  }));
3722
- Array.isArray(S) || (S = [S]), a.push.apply(a, S.map(function(L) {
3757
+ Array.isArray(T) || (T = [T]), a.push.apply(a, T.map(function(C) {
3723
3758
  return {
3724
- type: typeof L == "string" ? A.literal : A.object,
3725
- value: L
3759
+ type: typeof C == "string" ? B.literal : B.object,
3760
+ value: C
3726
3761
  };
3727
3762
  }));
3728
3763
  }
3729
- if (Xt(l)) {
3730
- var E = l.options[c] || l.options.other;
3731
- if (!E)
3732
- throw new bt(l.value, c, Object.keys(l.options), o);
3733
- a.push.apply(a, pe(E.value, t, r, n, i));
3764
+ if (Qt(l)) {
3765
+ var _ = l.options[f] || l.options.other;
3766
+ if (!_)
3767
+ throw new _t(l.value, f, Object.keys(l.options), s);
3768
+ a.push.apply(a, pe(_.value, t, r, n, i));
3734
3769
  continue;
3735
3770
  }
3736
- if (Wt(l)) {
3737
- var E = l.options["=".concat(c)];
3738
- if (!E) {
3771
+ if (Jt(l)) {
3772
+ var _ = l.options["=".concat(f)];
3773
+ if (!_) {
3739
3774
  if (!Intl.PluralRules)
3740
- throw new xe(`Intl.PluralRules is not available in this environment.
3775
+ throw new Te(`Intl.PluralRules is not available in this environment.
3741
3776
  Try polyfilling it using "@formatjs/intl-pluralrules"
3742
- `, J.MISSING_INTL_API, o);
3743
- var N = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3744
- E = l.options[N] || l.options.other;
3777
+ `, Q.MISSING_INTL_API, s);
3778
+ var N = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
3779
+ _ = l.options[N] || l.options.other;
3745
3780
  }
3746
- if (!E)
3747
- throw new bt(l.value, c, Object.keys(l.options), o);
3748
- a.push.apply(a, pe(E.value, t, r, n, i, c - (l.offset || 0)));
3781
+ if (!_)
3782
+ throw new _t(l.value, f, Object.keys(l.options), s);
3783
+ a.push.apply(a, pe(_.value, t, r, n, i, f - (l.offset || 0)));
3749
3784
  continue;
3750
3785
  }
3751
3786
  }
3752
- return ei(a);
3787
+ return ii(a);
3753
3788
  }
3754
- function ri(e, t) {
3755
- return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3756
- return r[n] = v(v({}, e[n]), t[n] || {}), r;
3789
+ function si(e, t) {
3790
+ return t ? L(L(L({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3791
+ return r[n] = L(L({}, e[n]), t[n] || {}), r;
3757
3792
  }, {})) : e;
3758
3793
  }
3759
- function ni(e, t) {
3794
+ function ai(e, t) {
3760
3795
  return t ? Object.keys(e).reduce(function(r, n) {
3761
- return r[n] = ri(e[n], t[n]), r;
3762
- }, v({}, e)) : e;
3796
+ return r[n] = si(e[n], t[n]), r;
3797
+ }, L({}, e)) : e;
3763
3798
  }
3764
- function Oe(e) {
3799
+ function Le(e) {
3765
3800
  return {
3766
3801
  create: function() {
3767
3802
  return {
@@ -3775,77 +3810,77 @@ function Oe(e) {
3775
3810
  }
3776
3811
  };
3777
3812
  }
3778
- function ii(e) {
3813
+ function ui(e) {
3779
3814
  return e === void 0 && (e = {
3780
3815
  number: {},
3781
3816
  dateTime: {},
3782
3817
  pluralRules: {}
3783
3818
  }), {
3784
- getNumberFormat: Be(function() {
3819
+ getNumberFormat: Oe(function() {
3785
3820
  for (var t, r = [], n = 0; n < arguments.length; n++)
3786
3821
  r[n] = arguments[n];
3787
- return new ((t = Intl.NumberFormat).bind.apply(t, W([void 0], r, !1)))();
3822
+ return new ((t = Intl.NumberFormat).bind.apply(t, Pe([void 0], r, !1)))();
3788
3823
  }, {
3789
- cache: Oe(e.number),
3790
- strategy: Ae.variadic
3824
+ cache: Le(e.number),
3825
+ strategy: Ne.variadic
3791
3826
  }),
3792
- getDateTimeFormat: Be(function() {
3827
+ getDateTimeFormat: Oe(function() {
3793
3828
  for (var t, r = [], n = 0; n < arguments.length; n++)
3794
3829
  r[n] = arguments[n];
3795
- return new ((t = Intl.DateTimeFormat).bind.apply(t, W([void 0], r, !1)))();
3830
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Pe([void 0], r, !1)))();
3796
3831
  }, {
3797
- cache: Oe(e.dateTime),
3798
- strategy: Ae.variadic
3832
+ cache: Le(e.dateTime),
3833
+ strategy: Ne.variadic
3799
3834
  }),
3800
- getPluralRules: Be(function() {
3835
+ getPluralRules: Oe(function() {
3801
3836
  for (var t, r = [], n = 0; n < arguments.length; n++)
3802
3837
  r[n] = arguments[n];
3803
- return new ((t = Intl.PluralRules).bind.apply(t, W([void 0], r, !1)))();
3838
+ return new ((t = Intl.PluralRules).bind.apply(t, Pe([void 0], r, !1)))();
3804
3839
  }, {
3805
- cache: Oe(e.pluralRules),
3806
- strategy: Ae.variadic
3840
+ cache: Le(e.pluralRules),
3841
+ strategy: Ne.variadic
3807
3842
  })
3808
3843
  };
3809
3844
  }
3810
- var si = (
3845
+ var hi = (
3811
3846
  /** @class */
3812
3847
  function() {
3813
3848
  function e(t, r, n, i) {
3814
3849
  r === void 0 && (r = e.defaultLocale);
3815
- var s = this;
3850
+ var o = this;
3816
3851
  if (this.formatterCache = {
3817
3852
  number: {},
3818
3853
  dateTime: {},
3819
3854
  pluralRules: {}
3820
3855
  }, this.format = function(h) {
3821
- var u = s.formatToParts(h);
3856
+ var u = o.formatToParts(h);
3822
3857
  if (u.length === 1)
3823
3858
  return u[0].value;
3824
- var l = u.reduce(function(f, c) {
3825
- return !f.length || c.type !== A.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3859
+ var l = u.reduce(function(c, f) {
3860
+ return !c.length || f.type !== B.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3826
3861
  }, []);
3827
3862
  return l.length <= 1 ? l[0] || "" : l;
3828
3863
  }, this.formatToParts = function(h) {
3829
- return pe(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
3864
+ return pe(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3830
3865
  }, this.resolvedOptions = function() {
3831
3866
  var h;
3832
3867
  return {
3833
- locale: ((h = s.resolvedLocale) === null || h === void 0 ? void 0 : h.toString()) || Intl.NumberFormat.supportedLocalesOf(s.locales)[0]
3868
+ locale: ((h = o.resolvedLocale) === null || h === void 0 ? void 0 : h.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
3834
3869
  };
3835
3870
  }, this.getAst = function() {
3836
- return s.ast;
3871
+ return o.ast;
3837
3872
  }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
3838
3873
  if (this.message = t, !e.__parse)
3839
3874
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3840
- var o = i || {};
3841
- o.formatters;
3842
- var a = $r(o, ["formatters"]);
3843
- this.ast = e.__parse(t, v(v({}, a), { locale: this.resolvedLocale }));
3875
+ var s = i || {};
3876
+ s.formatters;
3877
+ var a = yn(s, ["formatters"]);
3878
+ this.ast = e.__parse(t, L(L({}, a), { locale: this.resolvedLocale }));
3844
3879
  } else
3845
3880
  this.ast = t;
3846
3881
  if (!Array.isArray(this.ast))
3847
3882
  throw new TypeError("A message must be provided as a String or AST.");
3848
- this.formats = ni(e.formats, n), this.formatters = i && i.formatters || ii(this.formatterCache);
3883
+ this.formats = ai(e.formats, n), this.formatters = i && i.formatters || ui(this.formatterCache);
3849
3884
  }
3850
3885
  return Object.defineProperty(e, "defaultLocale", {
3851
3886
  get: function() {
@@ -3858,7 +3893,7 @@ var si = (
3858
3893
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3859
3894
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3860
3895
  }
3861
- }, e.__parse = qn, e.formats = {
3896
+ }, e.__parse = ti, e.formats = {
3862
3897
  number: {
3863
3898
  integer: {
3864
3899
  maximumFractionDigits: 0
@@ -3919,7 +3954,7 @@ var si = (
3919
3954
  }, e;
3920
3955
  }()
3921
3956
  );
3922
- function oi(e, t) {
3957
+ function li(e, t) {
3923
3958
  if (t == null)
3924
3959
  return;
3925
3960
  if (t in e)
@@ -3929,9 +3964,9 @@ function oi(e, t) {
3929
3964
  for (let i = 0; i < r.length; i++)
3930
3965
  if (typeof n == "object") {
3931
3966
  if (i > 0) {
3932
- const s = r.slice(i, r.length).join(".");
3933
- if (s in n) {
3934
- n = n[s];
3967
+ const o = r.slice(i, r.length).join(".");
3968
+ if (o in n) {
3969
+ n = n[o];
3935
3970
  break;
3936
3971
  }
3937
3972
  }
@@ -3940,92 +3975,92 @@ function oi(e, t) {
3940
3975
  n = void 0;
3941
3976
  return n;
3942
3977
  }
3943
- const $ = {}, ai = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), rr = (e, t) => {
3978
+ const $ = {}, ci = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), sr = (e, t) => {
3944
3979
  if (t == null)
3945
3980
  return;
3946
3981
  if (t in $ && e in $[t])
3947
3982
  return $[t][e];
3948
- const r = Te(t);
3983
+ const r = we(t);
3949
3984
  for (let n = 0; n < r.length; n++) {
3950
- const i = r[n], s = hi(i, e);
3951
- if (s)
3952
- return ai(e, t, s);
3985
+ const i = r[n], o = pi(i, e);
3986
+ if (o)
3987
+ return ci(e, t, o);
3953
3988
  }
3954
3989
  };
3955
- let Je;
3956
- const K = Ee({});
3957
- function ui(e) {
3958
- return Je[e] || null;
3990
+ let et;
3991
+ const Y = xe({});
3992
+ function fi(e) {
3993
+ return et[e] || null;
3959
3994
  }
3960
- function nr(e) {
3961
- return e in Je;
3995
+ function ar(e) {
3996
+ return e in et;
3962
3997
  }
3963
- function hi(e, t) {
3964
- if (!nr(e))
3998
+ function pi(e, t) {
3999
+ if (!ar(e))
3965
4000
  return null;
3966
- const r = ui(e);
3967
- return oi(r, t);
4001
+ const r = fi(e);
4002
+ return li(r, t);
3968
4003
  }
3969
- function li(e) {
4004
+ function mi(e) {
3970
4005
  if (e == null)
3971
4006
  return;
3972
- const t = Te(e);
4007
+ const t = we(e);
3973
4008
  for (let r = 0; r < t.length; r++) {
3974
4009
  const n = t[r];
3975
- if (nr(n))
4010
+ if (ar(n))
3976
4011
  return n;
3977
4012
  }
3978
4013
  }
3979
- function ir(e, ...t) {
3980
- delete $[e], K.update((r) => (r[e] = dn.all([r[e] || {}, ...t]), r));
4014
+ function ur(e, ...t) {
4015
+ delete $[e], Y.update((r) => (r[e] = gn.all([r[e] || {}, ...t]), r));
3981
4016
  }
3982
- Y(
3983
- [K],
4017
+ q(
4018
+ [Y],
3984
4019
  ([e]) => Object.keys(e)
3985
4020
  );
3986
- K.subscribe((e) => Je = e);
3987
- const de = {};
3988
- function fi(e, t) {
3989
- de[e].delete(t), de[e].size === 0 && delete de[e];
4021
+ Y.subscribe((e) => et = e);
4022
+ const me = {};
4023
+ function di(e, t) {
4024
+ me[e].delete(t), me[e].size === 0 && delete me[e];
3990
4025
  }
3991
- function sr(e) {
3992
- return de[e];
4026
+ function hr(e) {
4027
+ return me[e];
3993
4028
  }
3994
- function ci(e) {
3995
- return Te(e).map((t) => {
3996
- const r = sr(t);
4029
+ function bi(e) {
4030
+ return we(e).map((t) => {
4031
+ const r = hr(t);
3997
4032
  return [t, r ? [...r] : []];
3998
4033
  }).filter(([, t]) => t.length > 0);
3999
4034
  }
4000
- function We(e) {
4001
- return e == null ? !1 : Te(e).some(
4035
+ function qe(e) {
4036
+ return e == null ? !1 : we(e).some(
4002
4037
  (t) => {
4003
4038
  var r;
4004
- return (r = sr(t)) == null ? void 0 : r.size;
4039
+ return (r = hr(t)) == null ? void 0 : r.size;
4005
4040
  }
4006
4041
  );
4007
4042
  }
4008
- function pi(e, t) {
4043
+ function gi(e, t) {
4009
4044
  return Promise.all(
4010
- t.map((n) => (fi(e, n), n().then((i) => i.default || i)))
4011
- ).then((n) => ir(e, ...n));
4012
- }
4013
- const te = {};
4014
- function or(e) {
4015
- if (!We(e))
4016
- return e in te ? te[e] : Promise.resolve();
4017
- const t = ci(e);
4018
- return te[e] = Promise.all(
4045
+ t.map((n) => (di(e, n), n().then((i) => i.default || i)))
4046
+ ).then((n) => ur(e, ...n));
4047
+ }
4048
+ const ee = {};
4049
+ function lr(e) {
4050
+ if (!qe(e))
4051
+ return e in ee ? ee[e] : Promise.resolve();
4052
+ const t = bi(e);
4053
+ return ee[e] = Promise.all(
4019
4054
  t.map(
4020
- ([r, n]) => pi(r, n)
4055
+ ([r, n]) => gi(r, n)
4021
4056
  )
4022
4057
  ).then(() => {
4023
- if (We(e))
4024
- return or(e);
4025
- delete te[e];
4026
- }), te[e];
4058
+ if (qe(e))
4059
+ return lr(e);
4060
+ delete ee[e];
4061
+ }), ee[e];
4027
4062
  }
4028
- const di = {
4063
+ const yi = {
4029
4064
  number: {
4030
4065
  scientific: { notation: "scientific" },
4031
4066
  engineering: { notation: "engineering" },
@@ -4054,185 +4089,185 @@ const di = {
4054
4089
  timeZoneName: "short"
4055
4090
  }
4056
4091
  }
4057
- }, mi = {
4092
+ }, vi = {
4058
4093
  fallbackLocale: null,
4059
4094
  loadingDelay: 200,
4060
- formats: di,
4095
+ formats: yi,
4061
4096
  warnOnMissingMessages: !0,
4062
4097
  handleMissingMessage: void 0,
4063
4098
  ignoreTag: !0
4064
- }, bi = mi;
4065
- function q() {
4066
- return bi;
4067
- }
4068
- const Ne = Ee(!1);
4069
- var gi = Object.defineProperty, yi = Object.defineProperties, _i = Object.getOwnPropertyDescriptors, gt = Object.getOwnPropertySymbols, vi = Object.prototype.hasOwnProperty, Ei = Object.prototype.propertyIsEnumerable, yt = (e, t, r) => t in e ? gi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, xi = (e, t) => {
4070
- for (var r in t)
4071
- vi.call(t, r) && yt(e, r, t[r]);
4072
- if (gt)
4073
- for (var r of gt(t))
4074
- Ei.call(t, r) && yt(e, r, t[r]);
4099
+ }, _i = vi;
4100
+ function J() {
4101
+ return _i;
4102
+ }
4103
+ const Ce = xe(!1);
4104
+ var Ei = Object.defineProperty, xi = Object.defineProperties, Si = Object.getOwnPropertyDescriptors, Et = Object.getOwnPropertySymbols, Ti = Object.prototype.hasOwnProperty, wi = Object.prototype.propertyIsEnumerable, xt = (e, t, r) => t in e ? Ei(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Hi = (e, t) => {
4105
+ for (var r in t || (t = {}))
4106
+ Ti.call(t, r) && xt(e, r, t[r]);
4107
+ if (Et)
4108
+ for (var r of Et(t))
4109
+ wi.call(t, r) && xt(e, r, t[r]);
4075
4110
  return e;
4076
- }, Ti = (e, t) => yi(e, _i(t));
4077
- let ze;
4078
- const ge = Ee(null);
4079
- function _t(e) {
4111
+ }, Ai = (e, t) => xi(e, Si(t));
4112
+ let Ye;
4113
+ const ye = xe(null);
4114
+ function St(e) {
4080
4115
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4081
4116
  }
4082
- function Te(e, t = q().fallbackLocale) {
4083
- const r = _t(e);
4084
- return t ? [.../* @__PURE__ */ new Set([...r, ..._t(t)])] : r;
4117
+ function we(e, t = J().fallbackLocale) {
4118
+ const r = St(e);
4119
+ return t ? [.../* @__PURE__ */ new Set([...r, ...St(t)])] : r;
4085
4120
  }
4086
4121
  function F() {
4087
- return ze ?? void 0;
4122
+ return Ye ?? void 0;
4088
4123
  }
4089
- ge.subscribe((e) => {
4090
- ze = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4124
+ ye.subscribe((e) => {
4125
+ Ye = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4091
4126
  });
4092
- const Si = (e) => {
4093
- if (e && li(e) && We(e)) {
4094
- const { loadingDelay: t } = q();
4127
+ const Bi = (e) => {
4128
+ if (e && mi(e) && qe(e)) {
4129
+ const { loadingDelay: t } = J();
4095
4130
  let r;
4096
4131
  return typeof window < "u" && F() != null && t ? r = window.setTimeout(
4097
- () => Ne.set(!0),
4132
+ () => Ce.set(!0),
4098
4133
  t
4099
- ) : Ne.set(!0), or(e).then(() => {
4100
- ge.set(e);
4134
+ ) : Ce.set(!0), lr(e).then(() => {
4135
+ ye.set(e);
4101
4136
  }).finally(() => {
4102
- clearTimeout(r), Ne.set(!1);
4137
+ clearTimeout(r), Ce.set(!1);
4103
4138
  });
4104
4139
  }
4105
- return ge.set(e);
4106
- }, R = Ti(xi({}, ge), {
4107
- set: Si
4108
- }), Se = (e) => {
4140
+ return ye.set(e);
4141
+ }, R = Ai(Hi({}, ye), {
4142
+ set: Bi
4143
+ }), He = (e) => {
4109
4144
  const t = /* @__PURE__ */ Object.create(null);
4110
4145
  return (n) => {
4111
4146
  const i = JSON.stringify(n);
4112
4147
  return i in t ? t[i] : t[i] = e(n);
4113
4148
  };
4114
4149
  };
4115
- var wi = Object.defineProperty, ye = Object.getOwnPropertySymbols, ar = Object.prototype.hasOwnProperty, ur = Object.prototype.propertyIsEnumerable, vt = (e, t, r) => t in e ? wi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, qe = (e, t) => {
4150
+ var Pi = Object.defineProperty, ve = Object.getOwnPropertySymbols, cr = Object.prototype.hasOwnProperty, fr = Object.prototype.propertyIsEnumerable, Tt = (e, t, r) => t in e ? Pi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, tt = (e, t) => {
4116
4151
  for (var r in t || (t = {}))
4117
- ar.call(t, r) && vt(e, r, t[r]);
4118
- if (ye)
4119
- for (var r of ye(t))
4120
- ur.call(t, r) && vt(e, r, t[r]);
4152
+ cr.call(t, r) && Tt(e, r, t[r]);
4153
+ if (ve)
4154
+ for (var r of ve(t))
4155
+ fr.call(t, r) && Tt(e, r, t[r]);
4121
4156
  return e;
4122
- }, ee = (e, t) => {
4157
+ }, K = (e, t) => {
4123
4158
  var r = {};
4124
4159
  for (var n in e)
4125
- ar.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4126
- if (e != null && ye)
4127
- for (var n of ye(e))
4128
- t.indexOf(n) < 0 && ur.call(e, n) && (r[n] = e[n]);
4160
+ cr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4161
+ if (e != null && ve)
4162
+ for (var n of ve(e))
4163
+ t.indexOf(n) < 0 && fr.call(e, n) && (r[n] = e[n]);
4129
4164
  return r;
4130
4165
  };
4131
4166
  const oe = (e, t) => {
4132
- const { formats: r } = q();
4167
+ const { formats: r } = J();
4133
4168
  if (e in r && t in r[e])
4134
4169
  return r[e][t];
4135
4170
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4136
- }, Hi = Se(
4171
+ }, Oi = He(
4137
4172
  (e) => {
4138
- var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4173
+ var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
4139
4174
  if (r == null)
4140
4175
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4141
4176
  return n && (i = oe("number", n)), new Intl.NumberFormat(r, i);
4142
4177
  }
4143
- ), Bi = Se(
4178
+ ), Ni = He(
4144
4179
  (e) => {
4145
- var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4180
+ var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
4146
4181
  if (r == null)
4147
4182
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4148
4183
  return n ? i = oe("date", n) : Object.keys(i).length === 0 && (i = oe("date", "short")), new Intl.DateTimeFormat(r, i);
4149
4184
  }
4150
- ), Ai = Se(
4185
+ ), Ii = He(
4151
4186
  (e) => {
4152
- var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4187
+ var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
4153
4188
  if (r == null)
4154
4189
  throw new Error(
4155
4190
  '[svelte-i18n] A "locale" must be set to format time values'
4156
4191
  );
4157
4192
  return n ? i = oe("time", n) : Object.keys(i).length === 0 && (i = oe("time", "short")), new Intl.DateTimeFormat(r, i);
4158
4193
  }
4159
- ), Pi = (e = {}) => {
4194
+ ), Li = (e = {}) => {
4160
4195
  var t = e, {
4161
4196
  locale: r = F()
4162
- } = t, n = ee(t, [
4197
+ } = t, n = K(t, [
4163
4198
  "locale"
4164
4199
  ]);
4165
- return Hi(qe({ locale: r }, n));
4166
- }, Oi = (e = {}) => {
4200
+ return Oi(tt({ locale: r }, n));
4201
+ }, Ci = (e = {}) => {
4167
4202
  var t = e, {
4168
4203
  locale: r = F()
4169
- } = t, n = ee(t, [
4204
+ } = t, n = K(t, [
4170
4205
  "locale"
4171
4206
  ]);
4172
- return Bi(qe({ locale: r }, n));
4173
- }, Ni = (e = {}) => {
4207
+ return Ni(tt({ locale: r }, n));
4208
+ }, Mi = (e = {}) => {
4174
4209
  var t = e, {
4175
4210
  locale: r = F()
4176
- } = t, n = ee(t, [
4211
+ } = t, n = K(t, [
4177
4212
  "locale"
4178
4213
  ]);
4179
- return Ai(qe({ locale: r }, n));
4180
- }, Ii = Se(
4214
+ return Ii(tt({ locale: r }, n));
4215
+ }, $i = He(
4181
4216
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4182
- (e, t = F()) => new si(e, t, q().formats, {
4183
- ignoreTag: q().ignoreTag
4217
+ (e, t = F()) => new hi(e, t, J().formats, {
4218
+ ignoreTag: J().ignoreTag
4184
4219
  })
4185
- ), Li = (e, t = {}) => {
4186
- var r, n, i, s;
4187
- let o = t;
4188
- typeof e == "object" && (o = e, e = o.id);
4220
+ ), Ri = (e, t = {}) => {
4221
+ var r, n, i, o;
4222
+ let s = t;
4223
+ typeof e == "object" && (s = e, e = s.id);
4189
4224
  const {
4190
4225
  values: a,
4191
4226
  locale: h = F(),
4192
4227
  default: u
4193
- } = o;
4228
+ } = s;
4194
4229
  if (h == null)
4195
4230
  throw new Error(
4196
4231
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4197
4232
  );
4198
- let l = rr(e, h);
4233
+ let l = sr(e, h);
4199
4234
  if (!l)
4200
- l = (s = (i = (n = (r = q()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
4235
+ l = (o = (i = (n = (r = J()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4201
4236
  else if (typeof l != "string")
4202
4237
  return console.warn(
4203
4238
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
4204
4239
  ), l;
4205
4240
  if (!a)
4206
4241
  return l;
4207
- let f = l;
4242
+ let c = l;
4208
4243
  try {
4209
- f = Ii(l, h).format(a);
4210
- } catch (c) {
4211
- c instanceof Error && console.warn(
4244
+ c = $i(l, h).format(a);
4245
+ } catch (f) {
4246
+ f instanceof Error && console.warn(
4212
4247
  `[svelte-i18n] Message "${e}" has syntax error:`,
4213
- c.message
4248
+ f.message
4214
4249
  );
4215
4250
  }
4216
- return f;
4217
- }, Ci = (e, t) => Ni(t).format(e), Mi = (e, t) => Oi(t).format(e), $i = (e, t) => Pi(t).format(e), Ri = (e, t = F()) => rr(e, t), Gi = Y([R, K], () => Li);
4218
- Y([R], () => Ci);
4219
- Y([R], () => Mi);
4220
- Y([R], () => $i);
4221
- Y([R, K], () => Ri);
4222
- window.emWidgets = { topic: Jr };
4223
- const Ui = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4224
- function Di({ withLocale: e, translations: t }) {
4251
+ return c;
4252
+ }, Gi = (e, t) => Mi(t).format(e), Ui = (e, t) => Ci(t).format(e), Di = (e, t) => Li(t).format(e), Fi = (e, t = F()) => sr(e, t), ji = q([R, Y], () => Ri);
4253
+ q([R], () => Gi);
4254
+ q([R], () => Ui);
4255
+ q([R], () => Di);
4256
+ q([R, Y], () => Fi);
4257
+ window.emWidgets = { topic: Kr };
4258
+ const ki = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4259
+ function Vi({ withLocale: e, translations: t }) {
4225
4260
  R.subscribe((r) => {
4226
- r == null && (K.set(t), R.set(e));
4261
+ r == null && (Y.set(t), R.set(e));
4227
4262
  });
4228
4263
  }
4229
- function Et(e, t) {
4230
- ir(e, t);
4264
+ function wt(e, t) {
4265
+ ur(e, t);
4231
4266
  }
4232
- function Fi(e) {
4267
+ function Xi(e) {
4233
4268
  R.set(e);
4234
4269
  }
4235
- const xt = {
4270
+ const Ht = {
4236
4271
  en: {
4237
4272
  loading: "Loading, please wait ...",
4238
4273
  playNow: "Play Now",
@@ -4242,22 +4277,22 @@ const xt = {
4242
4277
  noGamesAvailable: "No games have been configured yet!"
4243
4278
  }
4244
4279
  };
4245
- function ji(e) {
4246
- fr(e, "svelte-grpqez", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.hidden{display:none}.GamesWrapper .items{display:flex;transition:transform 0.4s ease-in-out;transform:translateX(0px);flex-wrap:wrap;gap:var(--emw--spacing-small, 12px)}.GamesWrapper .item{height:100px;margin:0 4px;display:flex;justify-content:center;align-items:center}.GamesWrapper .item ui-image img{width:135px}.GamesWrapper .PlayNowButton{position:absolute;background:var(--emw--color-green, #48952a);display:block;box-sizing:border-box;padding:0.8rem 0.5rem;color:var(--emw--color-white, #FFFFFF);text-transform:uppercase;text-align:center;font-weight:600;font-size:var(--emw--font-size-medium, 0.7rem);cursor:pointer;transition:opacity 0.4s linear;opacity:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.GamesWrapper .PlayNowButton:hover{opacity:0.8}.GamesWrapper .NoGames,.GamesWrapper .SportsPage{color:var(--emw--color-gray-100, #B5B5B5);font-size:var(--emw--font-size-small, 12px);padding:30px 30px}.GamesWrapper .NoGames{margin-top:var(--emw--spacing-medium, 20px)}.GamesWrapper .SportsPage .Market{margin-top:var(--emw--spacing-medium, 20px);font-size:var(--emw--font-size-small, 12px)}.GamesTabNav{max-width:500px;min-width:300px;width:30%}.MobileClass .GamesTabNav{width:100%}");
4280
+ function Wi(e) {
4281
+ dr(e, "svelte-grpqez", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.hidden{display:none}.GamesWrapper .items{display:flex;transition:transform 0.4s ease-in-out;transform:translateX(0px);flex-wrap:wrap;gap:var(--emw--spacing-small, 12px)}.GamesWrapper .item{height:100px;margin:0 4px;display:flex;justify-content:center;align-items:center}.GamesWrapper .item ui-image img{width:135px}.GamesWrapper .PlayNowButton{position:absolute;background:var(--emw--color-green, #48952a);display:block;box-sizing:border-box;padding:0.8rem 0.5rem;color:var(--emw--color-white, #FFFFFF);text-transform:uppercase;text-align:center;font-weight:600;font-size:var(--emw--font-size-medium, 0.7rem);cursor:pointer;transition:opacity 0.4s linear;opacity:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.GamesWrapper .PlayNowButton:hover{opacity:0.8}.GamesWrapper .NoGames,.GamesWrapper .SportsPage{color:var(--emw--color-gray-100, #B5B5B5);font-size:var(--emw--font-size-small, 12px);padding:30px 30px}.GamesWrapper .NoGames{margin-top:var(--emw--spacing-medium, 20px)}.GamesWrapper .SportsPage .Market{margin-top:var(--emw--spacing-medium, 20px);font-size:var(--emw--font-size-small, 12px)}.GamesTabNav{max-width:500px;min-width:300px;width:30%}.MobileClass .GamesTabNav{width:100%}");
4247
4282
  }
4248
- function Tt(e, t, r) {
4283
+ function At(e, t, r) {
4249
4284
  const n = e.slice();
4250
4285
  return n[20] = t[r], n;
4251
4286
  }
4252
- function St(e, t, r) {
4287
+ function Bt(e, t, r) {
4253
4288
  const n = e.slice();
4254
4289
  return n[20] = t[r], n;
4255
4290
  }
4256
- function wt(e) {
4291
+ function Pt(e) {
4257
4292
  let t, r;
4258
4293
  return {
4259
4294
  c() {
4260
- t = P("div"), r = P("casino-tournaments-tab"), w(r, "part", "TournamentGames"), w(r, "tabs", "casino,sports"), w(r, "tab", "casino"), w(r, "tid", Ze), w(
4295
+ t = P("div"), r = P("casino-tournaments-tab"), w(r, "part", "TournamentGames"), w(r, "tabs", "casino,sports"), w(r, "tab", "casino"), w(r, "tid", Ke), w(
4261
4296
  r,
4262
4297
  "clientstyling",
4263
4298
  /*clientstyling*/
@@ -4275,7 +4310,7 @@ function wt(e) {
4275
4310
  ), H(t, "class", "GamesTabNav");
4276
4311
  },
4277
4312
  m(n, i) {
4278
- D(n, t, i), B(t, r);
4313
+ D(n, t, i), A(t, r);
4279
4314
  },
4280
4315
  p(n, i) {
4281
4316
  i & /*clientstyling*/
@@ -4303,82 +4338,82 @@ function wt(e) {
4303
4338
  }
4304
4339
  };
4305
4340
  }
4306
- function ki(e) {
4341
+ function zi(e) {
4307
4342
  let t, r = (
4308
4343
  /*$_*/
4309
4344
  e[8]("noGamesAvailable") + ""
4310
4345
  ), n;
4311
4346
  return {
4312
4347
  c() {
4313
- t = P("div"), n = z(r), H(t, "class", "NoGames");
4348
+ t = P("div"), n = W(r), H(t, "class", "NoGames");
4314
4349
  },
4315
- m(i, s) {
4316
- D(i, t, s), B(t, n);
4350
+ m(i, o) {
4351
+ D(i, t, o), A(t, n);
4317
4352
  },
4318
- p(i, s) {
4319
- s & /*$_*/
4353
+ p(i, o) {
4354
+ o & /*$_*/
4320
4355
  256 && r !== (r = /*$_*/
4321
- i[8]("noGamesAvailable") + "") && me(n, r);
4356
+ i[8]("noGamesAvailable") + "") && de(n, r);
4322
4357
  },
4323
4358
  d(i) {
4324
4359
  i && G(t);
4325
4360
  }
4326
4361
  };
4327
4362
  }
4328
- function Vi(e) {
4363
+ function Zi(e) {
4329
4364
  let t, r = be(
4330
4365
  /*casinoGames*/
4331
4366
  e[7]
4332
4367
  ), n = [];
4333
4368
  for (let i = 0; i < r.length; i += 1)
4334
- n[i] = Ht(St(e, r, i));
4369
+ n[i] = Ot(Bt(e, r, i));
4335
4370
  return {
4336
4371
  c() {
4337
4372
  for (let i = 0; i < n.length; i += 1)
4338
4373
  n[i].c();
4339
- t = dr();
4374
+ t = yr();
4340
4375
  },
4341
- m(i, s) {
4342
- for (let o = 0; o < n.length; o += 1)
4343
- n[o] && n[o].m(i, s);
4344
- D(i, t, s);
4376
+ m(i, o) {
4377
+ for (let s = 0; s < n.length; s += 1)
4378
+ n[s] && n[s].m(i, o);
4379
+ D(i, t, o);
4345
4380
  },
4346
- p(i, s) {
4347
- if (s & /*gameClicked, casinoGames, $_*/
4381
+ p(i, o) {
4382
+ if (o & /*gameClicked, casinoGames, $_*/
4348
4383
  1408) {
4349
4384
  r = be(
4350
4385
  /*casinoGames*/
4351
4386
  i[7]
4352
4387
  );
4353
- let o;
4354
- for (o = 0; o < r.length; o += 1) {
4355
- const a = St(i, r, o);
4356
- n[o] ? n[o].p(a, s) : (n[o] = Ht(a), n[o].c(), n[o].m(t.parentNode, t));
4388
+ let s;
4389
+ for (s = 0; s < r.length; s += 1) {
4390
+ const a = Bt(i, r, s);
4391
+ n[s] ? n[s].p(a, o) : (n[s] = Ot(a), n[s].c(), n[s].m(t.parentNode, t));
4357
4392
  }
4358
- for (; o < n.length; o += 1)
4359
- n[o].d(1);
4393
+ for (; s < n.length; s += 1)
4394
+ n[s].d(1);
4360
4395
  n.length = r.length;
4361
4396
  }
4362
4397
  },
4363
4398
  d(i) {
4364
- i && G(t), Nt(n, i);
4399
+ i && G(t), Mt(n, i);
4365
4400
  }
4366
4401
  };
4367
4402
  }
4368
- function Ht(e) {
4403
+ function Ot(e) {
4369
4404
  let t, r, n = (
4370
4405
  /*$_*/
4371
4406
  e[8]("playNow") + ""
4372
- ), i, s, o, a, h, u, l, f, c;
4407
+ ), i, o, s, a, h, u, l, c, f;
4373
4408
  return {
4374
4409
  c() {
4375
- t = P("div"), r = P("span"), i = z(n), s = ne(), o = P("ui-image"), l = ne(), H(r, "class", "PlayNowButton"), Ke(o.src, a = /*item*/
4376
- e[20].thumbnail) || w(o, "src", a), w(o, "width", "132px"), w(o, "height", "100px"), w(o, "alt", h = /*item*/
4377
- e[20].name), w(o, "title", u = /*item*/
4410
+ t = P("div"), r = P("span"), i = W(n), o = re(), s = P("ui-image"), l = re(), H(r, "class", "PlayNowButton"), nt(s.src, a = /*item*/
4411
+ e[20].thumbnail) || w(s, "src", a), w(s, "width", "132px"), w(s, "height", "100px"), w(s, "alt", h = /*item*/
4412
+ e[20].name), w(s, "title", u = /*item*/
4378
4413
  e[20].name), H(t, "class", "item"), H(t, "role", "button"), H(t, "tabindex", "0");
4379
4414
  },
4380
- m(m, p) {
4381
- D(m, t, p), B(t, r), B(r, i), B(t, s), B(t, o), B(t, l), f || (c = mr(t, "click", function() {
4415
+ m(d, p) {
4416
+ D(d, t, p), A(t, r), A(r, i), A(t, o), A(t, s), A(t, l), c || (f = vr(t, "click", function() {
4382
4417
  _e(
4383
4418
  /*gameClicked*/
4384
4419
  e[10](
@@ -4389,140 +4424,140 @@ function Ht(e) {
4389
4424
  /*item*/
4390
4425
  e[20]
4391
4426
  ).apply(this, arguments);
4392
- }), f = !0);
4427
+ }), c = !0);
4393
4428
  },
4394
- p(m, p) {
4395
- e = m, p & /*$_*/
4429
+ p(d, p) {
4430
+ e = d, p & /*$_*/
4396
4431
  256 && n !== (n = /*$_*/
4397
- e[8]("playNow") + "") && me(i, n), p & /*casinoGames*/
4398
- 128 && !Ke(o.src, a = /*item*/
4399
- e[20].thumbnail) && w(o, "src", a), p & /*casinoGames*/
4432
+ e[8]("playNow") + "") && de(i, n), p & /*casinoGames*/
4433
+ 128 && !nt(s.src, a = /*item*/
4434
+ e[20].thumbnail) && w(s, "src", a), p & /*casinoGames*/
4400
4435
  128 && h !== (h = /*item*/
4401
- e[20].name) && w(o, "alt", h), p & /*casinoGames*/
4436
+ e[20].name) && w(s, "alt", h), p & /*casinoGames*/
4402
4437
  128 && u !== (u = /*item*/
4403
- e[20].name) && w(o, "title", u);
4438
+ e[20].name) && w(s, "title", u);
4404
4439
  },
4405
- d(m) {
4406
- m && G(t), f = !1, c();
4440
+ d(d) {
4441
+ d && G(t), c = !1, f();
4407
4442
  }
4408
4443
  };
4409
4444
  }
4410
- function Bt(e) {
4445
+ function Nt(e) {
4411
4446
  let t, r = (
4412
4447
  /*item*/
4413
4448
  e[20].rule + ""
4414
- ), n, i, s = (
4449
+ ), n, i, o = (
4415
4450
  /*$_*/
4416
4451
  e[8]("contribution") + ""
4417
- ), o;
4452
+ ), s;
4418
4453
  return {
4419
4454
  c() {
4420
- t = P("li"), n = z(r), i = ne(), o = z(s), H(t, "part", "li"), H(t, "class", "Market");
4455
+ t = P("li"), n = W(r), i = re(), s = W(o), H(t, "part", "li"), H(t, "class", "Market");
4421
4456
  },
4422
4457
  m(a, h) {
4423
- D(a, t, h), B(t, n), B(t, i), B(t, o);
4458
+ D(a, t, h), A(t, n), A(t, i), A(t, s);
4424
4459
  },
4425
4460
  p(a, h) {
4426
4461
  h & /*sportsRules*/
4427
4462
  64 && r !== (r = /*item*/
4428
- a[20].rule + "") && me(n, r), h & /*$_*/
4429
- 256 && s !== (s = /*$_*/
4430
- a[8]("contribution") + "") && me(o, s);
4463
+ a[20].rule + "") && de(n, r), h & /*$_*/
4464
+ 256 && o !== (o = /*$_*/
4465
+ a[8]("contribution") + "") && de(s, o);
4431
4466
  },
4432
4467
  d(a) {
4433
4468
  a && G(t);
4434
4469
  }
4435
4470
  };
4436
4471
  }
4437
- function Xi(e) {
4438
- let t, r, n, i, s, o, a, h, u, l, f = (
4472
+ function Qi(e) {
4473
+ let t, r, n, i, o, s, a, h, u, l, c = (
4439
4474
  /*tournamentdetails*/
4440
4475
  e[3] && /*tournamentdetails*/
4441
4476
  e[3].wallet?.sports && /*tournamentdetails*/
4442
- e[3].wallet?.casino && wt(e)
4477
+ e[3].wallet?.casino && Pt(e)
4443
4478
  );
4444
- function c(b, S) {
4479
+ function f(b, T) {
4445
4480
  return (
4446
4481
  /*casinoGames*/
4447
- b[7]?.length ? Vi : ki
4482
+ b[7]?.length ? Zi : zi
4448
4483
  );
4449
4484
  }
4450
- let m = c(e), p = m(e), g = be(
4485
+ let d = f(e), p = d(e), g = be(
4451
4486
  /*sportsRules*/
4452
4487
  e[6]
4453
- ), x = [];
4488
+ ), E = [];
4454
4489
  for (let b = 0; b < g.length; b += 1)
4455
- x[b] = Bt(Tt(e, g, b));
4490
+ E[b] = Nt(At(e, g, b));
4456
4491
  return {
4457
4492
  c() {
4458
- t = P("div"), f && f.c(), r = ne(), n = P("div"), i = P("div"), s = P("div"), p.c(), a = ne(), h = P("div"), u = P("ul");
4459
- for (let b = 0; b < x.length; b += 1)
4460
- x[b].c();
4461
- H(s, "class", "GameList items"), H(i, "class", o = "TabContent GamesContent " + /*activeTab*/
4493
+ t = P("div"), c && c.c(), r = re(), n = P("div"), i = P("div"), o = P("div"), p.c(), a = re(), h = P("div"), u = P("ul");
4494
+ for (let b = 0; b < E.length; b += 1)
4495
+ E[b].c();
4496
+ H(o, "class", "GameList items"), H(i, "class", s = "TabContent GamesContent " + /*activeTab*/
4462
4497
  (e[5] != "casino" ? "hidden" : "")), H(u, "class", "SportsPage"), H(h, "class", l = "TabContent GamesContent " + /*activeTab*/
4463
- (e[5] != "sports" ? "hidden" : "")), H(n, "class", "GamesWrapper"), H(t, "class", Ui(
4498
+ (e[5] != "sports" ? "hidden" : "")), H(n, "class", "GamesWrapper"), H(t, "class", ki(
4464
4499
  /*userAgent*/
4465
4500
  e[9]
4466
4501
  ) ? "MobileClass" : "");
4467
4502
  },
4468
- m(b, S) {
4469
- D(b, t, S), f && f.m(t, null), B(t, r), B(t, n), B(n, i), B(i, s), p.m(s, null), B(n, a), B(n, h), B(h, u);
4470
- for (let E = 0; E < x.length; E += 1)
4471
- x[E] && x[E].m(u, null);
4503
+ m(b, T) {
4504
+ D(b, t, T), c && c.m(t, null), A(t, r), A(t, n), A(n, i), A(i, o), p.m(o, null), A(n, a), A(n, h), A(h, u);
4505
+ for (let _ = 0; _ < E.length; _ += 1)
4506
+ E[_] && E[_].m(u, null);
4472
4507
  e[13](t);
4473
4508
  },
4474
- p(b, [S]) {
4509
+ p(b, [T]) {
4475
4510
  if (/*tournamentdetails*/
4476
4511
  b[3] && /*tournamentdetails*/
4477
4512
  b[3].wallet?.sports && /*tournamentdetails*/
4478
- b[3].wallet?.casino ? f ? f.p(b, S) : (f = wt(b), f.c(), f.m(t, r)) : f && (f.d(1), f = null), m === (m = c(b)) && p ? p.p(b, S) : (p.d(1), p = m(b), p && (p.c(), p.m(s, null))), S & /*activeTab*/
4479
- 32 && o !== (o = "TabContent GamesContent " + /*activeTab*/
4480
- (b[5] != "casino" ? "hidden" : "")) && H(i, "class", o), S & /*$_, sportsRules*/
4513
+ b[3].wallet?.casino ? c ? c.p(b, T) : (c = Pt(b), c.c(), c.m(t, r)) : c && (c.d(1), c = null), d === (d = f(b)) && p ? p.p(b, T) : (p.d(1), p = d(b), p && (p.c(), p.m(o, null))), T & /*activeTab*/
4514
+ 32 && s !== (s = "TabContent GamesContent " + /*activeTab*/
4515
+ (b[5] != "casino" ? "hidden" : "")) && H(i, "class", s), T & /*$_, sportsRules*/
4481
4516
  320) {
4482
4517
  g = be(
4483
4518
  /*sportsRules*/
4484
4519
  b[6]
4485
4520
  );
4486
- let E;
4487
- for (E = 0; E < g.length; E += 1) {
4488
- const N = Tt(b, g, E);
4489
- x[E] ? x[E].p(N, S) : (x[E] = Bt(N), x[E].c(), x[E].m(u, null));
4521
+ let _;
4522
+ for (_ = 0; _ < g.length; _ += 1) {
4523
+ const N = At(b, g, _);
4524
+ E[_] ? E[_].p(N, T) : (E[_] = Nt(N), E[_].c(), E[_].m(u, null));
4490
4525
  }
4491
- for (; E < x.length; E += 1)
4492
- x[E].d(1);
4493
- x.length = g.length;
4526
+ for (; _ < E.length; _ += 1)
4527
+ E[_].d(1);
4528
+ E.length = g.length;
4494
4529
  }
4495
- S & /*activeTab*/
4530
+ T & /*activeTab*/
4496
4531
  32 && l !== (l = "TabContent GamesContent " + /*activeTab*/
4497
4532
  (b[5] != "sports" ? "hidden" : "")) && H(h, "class", l);
4498
4533
  },
4499
4534
  i: I,
4500
4535
  o: I,
4501
4536
  d(b) {
4502
- b && G(t), f && f.d(), p.d(), Nt(x, b), e[13](null);
4537
+ b && G(t), c && c.d(), p.d(), Mt(E, b), e[13](null);
4503
4538
  }
4504
4539
  };
4505
4540
  }
4506
- let Ze = "gameTab";
4507
- function Wi(e, t, r) {
4541
+ let Ke = "gameTab";
4542
+ function Ji(e, t, r) {
4508
4543
  let n;
4509
- lr(e, Gi, (d) => r(8, n = d));
4510
- let { clientstyling: i = "" } = t, { clientstylingurl: s = "" } = t, { mbsource: o } = t, { translationurl: a } = t, { lang: h = "en" } = t, u = "casino", l = [], f = [], c, m = window.navigator.userAgent, p;
4511
- Di({ withLocale: "en", translations: {} });
4544
+ mr(e, ji, (m) => r(8, n = m));
4545
+ let { clientstyling: i = "" } = t, { clientstylingurl: o = "" } = t, { mbsource: s } = t, { translationurl: a } = t, { lang: h = "en" } = t, u = "casino", l = [], c = [], f, d = window.navigator.userAgent, p;
4546
+ Vi({ withLocale: "en", translations: {} });
4512
4547
  const g = () => {
4513
- fetch(a).then((d) => d.json()).then((d) => {
4514
- Object.keys(d).forEach((O) => {
4515
- Et(O, d[O]);
4548
+ fetch(a).then((m) => m.json()).then((m) => {
4549
+ Object.keys(m).forEach((O) => {
4550
+ wt(O, m[O]);
4516
4551
  });
4517
- }).catch((d) => {
4518
- console.log(d);
4552
+ }).catch((m) => {
4553
+ console.log(m);
4519
4554
  });
4520
4555
  };
4521
- Object.keys(xt).forEach((d) => {
4522
- Et(d, xt[d]);
4556
+ Object.keys(Ht).forEach((m) => {
4557
+ wt(m, Ht[m]);
4523
4558
  });
4524
- const x = () => {
4525
- Fi(h), setTimeout(
4559
+ const E = () => {
4560
+ Xi(h), setTimeout(
4526
4561
  () => {
4527
4562
  b();
4528
4563
  },
@@ -4539,96 +4574,96 @@ function Wi(e, t, r) {
4539
4574
  },
4540
4575
  window.location.href
4541
4576
  );
4542
- }, S = (d) => {
4577
+ }, T = (m) => {
4543
4578
  window.postMessage(
4544
4579
  {
4545
4580
  type: "TournamentGameAction",
4546
- gameId: d.id,
4547
- name: d.name,
4548
- launchUrl: d.launchUrl
4581
+ gameId: m.id,
4582
+ name: m.name,
4583
+ launchUrl: m.launchUrl
4549
4584
  },
4550
4585
  window.location.href
4551
4586
  );
4552
- }, E = () => {
4553
- r(7, f = c.games?.items || []);
4554
- const d = c.metadata?.sports?.rules;
4555
- if (d) {
4556
- r(5, u = c.wallet.casino ? "casino" : "sports");
4587
+ }, _ = () => {
4588
+ r(7, c = f.games?.items || []);
4589
+ const m = f.metadata?.sports?.rules;
4590
+ if (m) {
4591
+ r(5, u = f.wallet.casino ? "casino" : "sports");
4557
4592
  try {
4558
- const O = JSON.parse(d);
4593
+ const O = JSON.parse(m);
4559
4594
  r(6, l = O[h] || O["*"]);
4560
4595
  } catch (O) {
4561
4596
  console.error("Error parsing tournament rules", O);
4562
4597
  }
4563
4598
  }
4564
- }, N = (d) => {
4565
- if (!d.data || !d.data.type)
4599
+ }, N = (m) => {
4600
+ if (!m.data || !m.data.type)
4566
4601
  return;
4567
- const O = d.data.tid || "";
4568
- switch (d.data.type) {
4602
+ const O = m.data.tid || "";
4603
+ switch (m.data.type) {
4569
4604
  case "TournamentsTabSwitch":
4570
- O === Ze && r(5, u = d.data.tab);
4605
+ O === Ke && r(5, u = m.data.tab);
4571
4606
  break;
4572
4607
  case "TournamentsTabListenerLoaded":
4573
4608
  b();
4574
4609
  break;
4575
4610
  case "TournamentsGamesUpdate":
4576
- r(3, c = d.data.details), E();
4611
+ r(3, f = m.data.details), _();
4577
4612
  break;
4578
4613
  default:
4579
- console.warn(`Unhandled message type: ${d.data.type}`);
4614
+ console.warn(`Unhandled message type: ${m.data.type}`);
4580
4615
  break;
4581
4616
  }
4582
4617
  };
4583
- _r(() => (window.postMessage(
4618
+ Sr(() => (window.postMessage(
4584
4619
  {
4585
4620
  type: "TournamentsGamesListenerLoaded",
4586
- gamesTabTid: Ze
4621
+ gamesTabTid: Ke
4587
4622
  },
4588
4623
  window.location.href
4589
4624
  ), window.addEventListener("message", N, !1), () => {
4590
4625
  window.removeEventListener("message", N);
4591
4626
  }));
4592
- function L(d) {
4593
- Ie[d ? "unshift" : "push"](() => {
4594
- p = d, r(4, p);
4627
+ function C(m) {
4628
+ Me[m ? "unshift" : "push"](() => {
4629
+ p = m, r(4, p);
4595
4630
  });
4596
4631
  }
4597
- return e.$$set = (d) => {
4598
- "clientstyling" in d && r(0, i = d.clientstyling), "clientstylingurl" in d && r(1, s = d.clientstylingurl), "mbsource" in d && r(2, o = d.mbsource), "translationurl" in d && r(11, a = d.translationurl), "lang" in d && r(12, h = d.lang);
4632
+ return e.$$set = (m) => {
4633
+ "clientstyling" in m && r(0, i = m.clientstyling), "clientstylingurl" in m && r(1, o = m.clientstylingurl), "mbsource" in m && r(2, s = m.mbsource), "translationurl" in m && r(11, a = m.translationurl), "lang" in m && r(12, h = m.lang);
4599
4634
  }, e.$$.update = () => {
4600
4635
  e.$$.dirty & /*tournamentdetails*/
4601
- 8 && c && E(), e.$$.dirty & /*lang*/
4602
- 4096 && h && x(), e.$$.dirty & /*translationurl*/
4636
+ 8 && f && _(), e.$$.dirty & /*lang*/
4637
+ 4096 && h && E(), e.$$.dirty & /*translationurl*/
4603
4638
  2048 && a && g(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4604
- 17 && i && p && Lr(p, i), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4605
- 18 && s && p && Cr(p, s), e.$$.dirty & /*mbsource, customStylingContainer*/
4606
- 20 && o && p && Mr(p, `${o}.Style`);
4639
+ 17 && i && p && Rr(p, i), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4640
+ 18 && o && p && Gr(p, o), e.$$.dirty & /*mbsource, customStylingContainer*/
4641
+ 20 && s && p && Ur(p, `${s}.Style`);
4607
4642
  }, [
4608
4643
  i,
4609
- s,
4610
4644
  o,
4611
- c,
4645
+ s,
4646
+ f,
4612
4647
  p,
4613
4648
  u,
4614
4649
  l,
4615
- f,
4650
+ c,
4616
4651
  n,
4617
- m,
4618
- S,
4652
+ d,
4653
+ T,
4619
4654
  a,
4620
4655
  h,
4621
- L
4656
+ C
4622
4657
  ];
4623
4658
  }
4624
- class zi extends Nr {
4659
+ class qi extends Mr {
4625
4660
  constructor(t) {
4626
- super(), Pr(
4661
+ super(), Lr(
4627
4662
  this,
4628
4663
  t,
4629
- Wi,
4630
- Xi,
4631
- Pt,
4664
+ Ji,
4665
+ Qi,
4666
+ Lt,
4632
4667
  {
4633
4668
  clientstyling: 0,
4634
4669
  clientstylingurl: 1,
@@ -4636,7 +4671,7 @@ class zi extends Nr {
4636
4671
  translationurl: 11,
4637
4672
  lang: 12
4638
4673
  },
4639
- ji
4674
+ Wi
4640
4675
  );
4641
4676
  }
4642
4677
  get clientstyling() {
@@ -4670,7 +4705,7 @@ class zi extends Nr {
4670
4705
  this.$$set({ lang: t }), U();
4671
4706
  }
4672
4707
  }
4673
- Or(zi, { clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, lang: {} }, [], [], !0);
4708
+ Cr(qi, { clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, lang: {} }, [], [], !0);
4674
4709
  export {
4675
- zi as C
4710
+ qi as C
4676
4711
  };