@everymatrix/casino-last-played-section 1.87.26 → 1.87.27

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 (30) hide show
  1. package/components/CasinoFilter-Bq27fkl0.cjs +1 -0
  2. package/components/CasinoFilter-RGuOjNV-.js +644 -0
  3. package/components/CasinoFilter-ur0N0e_q.js +645 -0
  4. package/components/CasinoGameThumbnail-CWi08UB2.js +1831 -0
  5. package/components/CasinoGameThumbnail-Ck10-v-p.js +1847 -0
  6. package/components/CasinoGameThumbnail-D8eKiOCc.cjs +38 -0
  7. package/components/CasinoGamesCategorySection-BIc39Efl.js +5745 -0
  8. package/components/CasinoGamesCategorySection-BxPHrlVj.js +5713 -0
  9. package/components/CasinoGamesCategorySection-Y8eLR0W5.cjs +10 -0
  10. package/components/CasinoLastPlayedSection-DrrWbeZS.cjs +18 -0
  11. package/components/{CasinoFilter-BTVMoy_t.js → CasinoLastPlayedSection-jaTKdLsf.js} +1631 -1644
  12. package/components/{CasinoFilter-aZNjaj7s.js → CasinoLastPlayedSection-tw4aeVIv.js} +1553 -1570
  13. package/components/{CasinoSort-BllIwG-L.js → CasinoSort-CliCKl9a.js} +110 -109
  14. package/components/CasinoSort-CwwPvIGU.cjs +1 -0
  15. package/components/{CasinoSort-tQyhZT1U.js → CasinoSort-OyxicsAe.js} +96 -97
  16. package/es2015/casino-last-played-section.cjs +1 -1
  17. package/es2015/casino-last-played-section.js +7 -7
  18. package/esnext/casino-last-played-section.js +1 -1
  19. package/package.json +1 -1
  20. package/components/CasinoFilter-ChNOJ2MK.cjs +0 -18
  21. package/components/CasinoGameThumbnail-BRddAcBN.js +0 -4359
  22. package/components/CasinoGameThumbnail-D5aY7MyL.cjs +0 -47
  23. package/components/CasinoGameThumbnail-rFXSnS2v.js +0 -4375
  24. package/components/CasinoGamesCategorySection-6xzUZp3K.js +0 -3185
  25. package/components/CasinoGamesCategorySection-BHDp-KJ4.js +0 -3217
  26. package/components/CasinoGamesCategorySection-k99QzULe.cjs +0 -1
  27. package/components/CasinoLastPlayedSection-CKRaykV6.js +0 -601
  28. package/components/CasinoLastPlayedSection-CjV0ylzn.js +0 -601
  29. package/components/CasinoLastPlayedSection-ds7jt5iT.cjs +0 -1
  30. package/components/CasinoSort-Bjtm0zBv.cjs +0 -1
@@ -1,50 +1,50 @@
1
- function G() {
1
+ function U() {
2
2
  }
3
- function qt(e) {
3
+ function Rt(e) {
4
4
  return e();
5
5
  }
6
- function Et() {
6
+ function ft() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
- function q(e) {
10
- e.forEach(qt);
9
+ function te(e) {
10
+ e.forEach(Rt);
11
11
  }
12
- function vt(e) {
12
+ function it(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function Yt(e, t) {
15
+ function Ut(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
- let Fe;
19
- function wt(e, t) {
20
- return e === t ? !0 : (Fe || (Fe = document.createElement("a")), Fe.href = t, e === Fe.href);
18
+ let be;
19
+ function cs(e, t) {
20
+ return e === t ? !0 : (be || (be = document.createElement("a")), be.href = t, e === be.href);
21
21
  }
22
- function Rr(e) {
22
+ function Pr(e) {
23
23
  return Object.keys(e).length === 0;
24
24
  }
25
- function Kt(e, ...t) {
25
+ function Gt(e, ...t) {
26
26
  if (e == null) {
27
27
  for (const n of t)
28
28
  n(void 0);
29
- return G;
29
+ return U;
30
30
  }
31
31
  const r = e.subscribe(...t);
32
32
  return r.unsubscribe ? () => r.unsubscribe() : r;
33
33
  }
34
- function $r(e, t, r) {
35
- e.$$.on_destroy.push(Kt(t, r));
34
+ function Br(e, t, r) {
35
+ e.$$.on_destroy.push(Gt(t, r));
36
36
  }
37
- function _(e, t) {
37
+ function st(e, t) {
38
38
  e.appendChild(t);
39
39
  }
40
- function Ur(e, t, r) {
41
- const n = Dr(e);
40
+ function Or(e, t, r) {
41
+ const n = Lr(e);
42
42
  if (!n.getElementById(t)) {
43
- const i = B("style");
44
- i.id = t, i.textContent = r, Gr(n, i);
43
+ const i = V("style");
44
+ i.id = t, i.textContent = r, Cr(n, i);
45
45
  }
46
46
  }
47
- function Dr(e) {
47
+ function Lr(e) {
48
48
  if (!e)
49
49
  return document;
50
50
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -54,62 +54,62 @@ function Dr(e) {
54
54
  t
55
55
  ) : e.ownerDocument;
56
56
  }
57
- function Gr(e, t) {
58
- return _(
57
+ function Cr(e, t) {
58
+ return st(
59
59
  /** @type {Document} */
60
60
  e.head || e,
61
61
  t
62
62
  ), t.sheet;
63
63
  }
64
- function W(e, t, r) {
64
+ function fe(e, t, r) {
65
65
  e.insertBefore(t, r || null);
66
66
  }
67
- function k(e) {
67
+ function re(e) {
68
68
  e.parentNode && e.parentNode.removeChild(e);
69
69
  }
70
- function kr(e, t) {
70
+ function fs(e, t) {
71
71
  for (let r = 0; r < e.length; r += 1)
72
72
  e[r] && e[r].d(t);
73
73
  }
74
- function B(e) {
74
+ function V(e) {
75
75
  return document.createElement(e);
76
76
  }
77
- function xe(e) {
77
+ function Nr(e) {
78
78
  return document.createElementNS("http://www.w3.org/2000/svg", e);
79
79
  }
80
- function D(e) {
80
+ function ot(e) {
81
81
  return document.createTextNode(e);
82
82
  }
83
- function V() {
84
- return D(" ");
83
+ function ms() {
84
+ return ot(" ");
85
85
  }
86
- function xo() {
87
- return D("");
86
+ function ds() {
87
+ return ot("");
88
88
  }
89
- function Re(e, t, r, n) {
89
+ function ps(e, t, r, n) {
90
90
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
91
91
  }
92
- function g(e, t, r) {
92
+ function ue(e, t, r) {
93
93
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
94
94
  }
95
- function Eo(e, t, r) {
95
+ function p(e, t, r) {
96
96
  const n = t.toLowerCase();
97
- n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : g(e, t, r);
97
+ n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : ue(e, t, r);
98
98
  }
99
- function jr(e) {
99
+ function Ir(e) {
100
100
  return Array.from(e.childNodes);
101
101
  }
102
- function te(e, t) {
102
+ function Mr(e, t) {
103
103
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
104
104
  t);
105
105
  }
106
- function St(e, t) {
106
+ function bs(e, t) {
107
107
  e.value = t ?? "";
108
108
  }
109
- function wo(e, t, r) {
109
+ function gs(e, t, r) {
110
110
  e.classList.toggle(t, !!r);
111
111
  }
112
- class So {
112
+ class ys {
113
113
  /**
114
114
  * @private
115
115
  * @default false
@@ -140,10 +140,10 @@ class So {
140
140
  * @returns {void}
141
141
  */
142
142
  m(t, r, n = null) {
143
- this.e || (this.is_svg ? this.e = xe(
143
+ this.e || (this.is_svg ? this.e = Nr(
144
144
  /** @type {keyof SVGElementTagNameMap} */
145
145
  r.nodeName
146
- ) : this.e = B(
146
+ ) : this.e = V(
147
147
  /** @type {keyof HTMLElementTagNameMap} */
148
148
  r.nodeType === 11 ? "TEMPLATE" : r.nodeName
149
149
  ), this.t = r.tagName !== "TEMPLATE" ? r : (
@@ -164,7 +164,7 @@ class So {
164
164
  * @returns {void} */
165
165
  i(t) {
166
166
  for (let r = 0; r < this.n.length; r += 1)
167
- W(this.t, this.n[r], t);
167
+ fe(this.t, this.n[r], t);
168
168
  }
169
169
  /**
170
170
  * @param {string} html
@@ -176,10 +176,10 @@ class So {
176
176
  /**
177
177
  * @returns {void} */
178
178
  d() {
179
- this.n.forEach(k);
179
+ this.n.forEach(re);
180
180
  }
181
181
  }
182
- function Vr(e) {
182
+ function Rr(e) {
183
183
  const t = {};
184
184
  return e.childNodes.forEach(
185
185
  /** @param {Element} node */
@@ -188,134 +188,134 @@ function Vr(e) {
188
188
  }
189
189
  ), t;
190
190
  }
191
- let we;
192
- function Ee(e) {
193
- we = e;
191
+ let he;
192
+ function ae(e) {
193
+ he = e;
194
194
  }
195
- function er() {
196
- if (!we)
195
+ function Dt() {
196
+ if (!he)
197
197
  throw new Error("Function called outside component initialization");
198
- return we;
198
+ return he;
199
199
  }
200
- function Xr(e) {
201
- er().$$.on_mount.push(e);
200
+ function Ur(e) {
201
+ Dt().$$.on_mount.push(e);
202
202
  }
203
- function To(e) {
204
- er().$$.on_destroy.push(e);
203
+ function vs(e) {
204
+ Dt().$$.on_destroy.push(e);
205
205
  }
206
- const ce = [], tt = [];
207
- let fe = [];
208
- const Tt = [], tr = /* @__PURE__ */ Promise.resolve();
209
- let rt = !1;
210
- function rr() {
211
- rt || (rt = !0, tr.then($));
206
+ const Z = [], $e = [];
207
+ let Y = [];
208
+ const mt = [], $t = /* @__PURE__ */ Promise.resolve();
209
+ let Fe = !1;
210
+ function Ft() {
211
+ Fe || (Fe = !0, $t.then(E));
212
212
  }
213
- function Ho() {
214
- return rr(), tr;
213
+ function _s() {
214
+ return Ft(), $t;
215
215
  }
216
- function nt(e) {
217
- fe.push(e);
216
+ function je(e) {
217
+ Y.push(e);
218
218
  }
219
- const ze = /* @__PURE__ */ new Set();
220
- let ue = 0;
221
- function $() {
222
- if (ue !== 0)
219
+ const Ce = /* @__PURE__ */ new Set();
220
+ let W = 0;
221
+ function E() {
222
+ if (W !== 0)
223
223
  return;
224
- const e = we;
224
+ const e = he;
225
225
  do {
226
226
  try {
227
- for (; ue < ce.length; ) {
228
- const t = ce[ue];
229
- ue++, Ee(t), Wr(t.$$);
227
+ for (; W < Z.length; ) {
228
+ const t = Z[W];
229
+ W++, ae(t), Gr(t.$$);
230
230
  }
231
231
  } catch (t) {
232
- throw ce.length = 0, ue = 0, t;
232
+ throw Z.length = 0, W = 0, t;
233
233
  }
234
- for (Ee(null), ce.length = 0, ue = 0; tt.length; )
235
- tt.pop()();
236
- for (let t = 0; t < fe.length; t += 1) {
237
- const r = fe[t];
238
- ze.has(r) || (ze.add(r), r());
234
+ for (ae(null), Z.length = 0, W = 0; $e.length; )
235
+ $e.pop()();
236
+ for (let t = 0; t < Y.length; t += 1) {
237
+ const r = Y[t];
238
+ Ce.has(r) || (Ce.add(r), r());
239
239
  }
240
- fe.length = 0;
241
- } while (ce.length);
242
- for (; Tt.length; )
243
- Tt.pop()();
244
- rt = !1, ze.clear(), Ee(e);
240
+ Y.length = 0;
241
+ } while (Z.length);
242
+ for (; mt.length; )
243
+ mt.pop()();
244
+ Fe = !1, Ce.clear(), ae(e);
245
245
  }
246
- function Wr(e) {
246
+ function Gr(e) {
247
247
  if (e.fragment !== null) {
248
- e.update(), q(e.before_update);
248
+ e.update(), te(e.before_update);
249
249
  const t = e.dirty;
250
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(nt);
250
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(je);
251
251
  }
252
252
  }
253
- function zr(e) {
253
+ function Dr(e) {
254
254
  const t = [], r = [];
255
- fe.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), fe = t;
255
+ Y.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Y = t;
256
256
  }
257
- const Zr = /* @__PURE__ */ new Set();
258
- function nr(e, t) {
259
- e && e.i && (Zr.delete(e), e.i(t));
257
+ const $r = /* @__PURE__ */ new Set();
258
+ function jt(e, t) {
259
+ e && e.i && ($r.delete(e), e.i(t));
260
260
  }
261
- function Ht(e) {
261
+ function Es(e) {
262
262
  return e?.length !== void 0 ? e : Array.from(e);
263
263
  }
264
- function Ao(e, t) {
264
+ function xs(e, t) {
265
265
  e.d(1), t.delete(e.key);
266
266
  }
267
- function Po(e, t, r, n, i, o, s, a, h, l, u, p) {
268
- let c = e.length, m = o.length, v = c;
269
- const y = {};
270
- for (; v--; )
271
- y[e[v].key] = v;
272
- const T = [], H = /* @__PURE__ */ new Map(), S = /* @__PURE__ */ new Map(), b = [];
273
- for (v = m; v--; ) {
274
- const A = p(i, o, v), P = r(A);
275
- let N = s.get(P);
276
- N ? b.push(() => N.p(A, t)) : (N = l(P, A), N.c()), H.set(P, T[v] = N), P in y && S.set(P, Math.abs(v - y[P]));
267
+ function Ss(e, t, r, n, i, s, o, a, h, u, l, f) {
268
+ let c = e.length, d = s.length, b = c;
269
+ const v = {};
270
+ for (; b--; )
271
+ v[e[b].key] = b;
272
+ const w = [], N = /* @__PURE__ */ new Map(), P = /* @__PURE__ */ new Map(), T = [];
273
+ for (b = d; b--; ) {
274
+ const _ = f(i, s, b), O = r(_);
275
+ let C = o.get(O);
276
+ C ? T.push(() => C.p(_, t)) : (C = u(O, _), C.c()), N.set(O, w[b] = C), O in v && P.set(O, Math.abs(b - v[O]));
277
277
  }
278
- const I = /* @__PURE__ */ new Set(), L = /* @__PURE__ */ new Set();
279
- function M(A) {
280
- nr(A, 1), A.m(a, u), s.set(A.key, A), u = A.first, m--;
278
+ const I = /* @__PURE__ */ new Set(), B = /* @__PURE__ */ new Set();
279
+ function M(_) {
280
+ jt(_, 1), _.m(a, l), o.set(_.key, _), l = _.first, d--;
281
281
  }
282
- for (; c && m; ) {
283
- const A = T[m - 1], P = e[c - 1], N = A.key, z = P.key;
284
- A === P ? (u = A.first, c--, m--) : H.has(z) ? !s.has(N) || I.has(N) ? M(A) : L.has(z) ? c-- : S.get(N) > S.get(z) ? (L.add(N), M(A)) : (I.add(z), c--) : (h(P, s), c--);
282
+ for (; c && d; ) {
283
+ const _ = w[d - 1], O = e[c - 1], C = _.key, F = O.key;
284
+ _ === O ? (l = _.first, c--, d--) : N.has(F) ? !o.has(C) || I.has(C) ? M(_) : B.has(F) ? c-- : P.get(C) > P.get(F) ? (B.add(C), M(_)) : (I.add(F), c--) : (h(O, o), c--);
285
285
  }
286
286
  for (; c--; ) {
287
- const A = e[c];
288
- H.has(A.key) || h(A, s);
287
+ const _ = e[c];
288
+ N.has(_.key) || h(_, o);
289
289
  }
290
- for (; m; )
291
- M(T[m - 1]);
292
- return q(b), T;
290
+ for (; d; )
291
+ M(w[d - 1]);
292
+ return te(T), w;
293
293
  }
294
- function Jr(e, t, r) {
294
+ function Fr(e, t, r) {
295
295
  const { fragment: n, after_update: i } = e.$$;
296
- n && n.m(t, r), nt(() => {
297
- const o = e.$$.on_mount.map(qt).filter(vt);
298
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : q(o), e.$$.on_mount = [];
299
- }), i.forEach(nt);
296
+ n && n.m(t, r), je(() => {
297
+ const s = e.$$.on_mount.map(Rt).filter(it);
298
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : te(s), e.$$.on_mount = [];
299
+ }), i.forEach(je);
300
300
  }
301
- function Qr(e, t) {
301
+ function jr(e, t) {
302
302
  const r = e.$$;
303
- r.fragment !== null && (zr(r.after_update), q(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
303
+ r.fragment !== null && (Dr(r.after_update), te(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
304
304
  }
305
- function qr(e, t) {
306
- e.$$.dirty[0] === -1 && (ce.push(e), rr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
305
+ function kr(e, t) {
306
+ e.$$.dirty[0] === -1 && (Z.push(e), Ft(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
307
307
  }
308
- function Yr(e, t, r, n, i, o, s = null, a = [-1]) {
309
- const h = we;
310
- Ee(e);
311
- const l = e.$$ = {
308
+ function Vr(e, t, r, n, i, s, o = null, a = [-1]) {
309
+ const h = he;
310
+ ae(e);
311
+ const u = e.$$ = {
312
312
  fragment: null,
313
313
  ctx: [],
314
314
  // state
315
- props: o,
316
- update: G,
315
+ props: s,
316
+ update: U,
317
317
  not_equal: i,
318
- bound: Et(),
318
+ bound: ft(),
319
319
  // lifecycle
320
320
  on_mount: [],
321
321
  on_destroy: [],
@@ -324,28 +324,28 @@ function Yr(e, t, r, n, i, o, s = null, a = [-1]) {
324
324
  after_update: [],
325
325
  context: new Map(t.context || (h ? h.$$.context : [])),
326
326
  // everything else
327
- callbacks: Et(),
327
+ callbacks: ft(),
328
328
  dirty: a,
329
329
  skip_bound: !1,
330
330
  root: t.target || h.$$.root
331
331
  };
332
- s && s(l.root);
333
- let u = !1;
334
- if (l.ctx = r ? r(e, t.props || {}, (p, c, ...m) => {
335
- const v = m.length ? m[0] : c;
336
- return l.ctx && i(l.ctx[p], l.ctx[p] = v) && (!l.skip_bound && l.bound[p] && l.bound[p](v), u && qr(e, p)), c;
337
- }) : [], l.update(), u = !0, q(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
332
+ o && o(u.root);
333
+ let l = !1;
334
+ if (u.ctx = r ? r(e, t.props || {}, (f, c, ...d) => {
335
+ const b = d.length ? d[0] : c;
336
+ return u.ctx && i(u.ctx[f], u.ctx[f] = b) && (!u.skip_bound && u.bound[f] && u.bound[f](b), l && kr(e, f)), c;
337
+ }) : [], u.update(), l = !0, te(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
338
338
  if (t.hydrate) {
339
- const p = jr(t.target);
340
- l.fragment && l.fragment.l(p), p.forEach(k);
339
+ const f = Ir(t.target);
340
+ u.fragment && u.fragment.l(f), f.forEach(re);
341
341
  } else
342
- l.fragment && l.fragment.c();
343
- t.intro && nr(e.$$.fragment), Jr(e, t.target, t.anchor), $();
342
+ u.fragment && u.fragment.c();
343
+ t.intro && jt(e.$$.fragment), Fr(e, t.target, t.anchor), E();
344
344
  }
345
- Ee(h);
345
+ ae(h);
346
346
  }
347
- let ir;
348
- typeof HTMLElement == "function" && (ir = class extends HTMLElement {
347
+ let kt;
348
+ typeof HTMLElement == "function" && (kt = class extends HTMLElement {
349
349
  /** The Svelte component constructor */
350
350
  $$ctor;
351
351
  /** Slots */
@@ -384,32 +384,32 @@ typeof HTMLElement == "function" && (ir = class extends HTMLElement {
384
384
  if (this.$$cn = !0, !this.$$c) {
385
385
  let e = function(i) {
386
386
  return () => {
387
- let o;
387
+ let s;
388
388
  return {
389
389
  c: function() {
390
- o = B("slot"), i !== "default" && g(o, "name", i);
390
+ s = V("slot"), i !== "default" && ue(s, "name", i);
391
391
  },
392
392
  /**
393
393
  * @param {HTMLElement} target
394
394
  * @param {HTMLElement} [anchor]
395
395
  */
396
- m: function(h, l) {
397
- W(h, o, l);
396
+ m: function(h, u) {
397
+ fe(h, s, u);
398
398
  },
399
399
  d: function(h) {
400
- h && k(o);
400
+ h && re(s);
401
401
  }
402
402
  };
403
403
  };
404
404
  };
405
405
  if (await Promise.resolve(), !this.$$cn || this.$$c)
406
406
  return;
407
- const t = {}, r = Vr(this);
407
+ const t = {}, r = Rr(this);
408
408
  for (const i of this.$$s)
409
409
  i in r && (t[i] = [e(i)]);
410
410
  for (const i of this.attributes) {
411
- const o = this.$$g_p(i.name);
412
- o in this.$$d || (this.$$d[o] = Ie(o, i.value, this.$$p_d, "toProp"));
411
+ const s = this.$$g_p(i.name);
412
+ s in this.$$d || (this.$$d[s] = ve(s, i.value, this.$$p_d, "toProp"));
413
413
  }
414
414
  for (const i in this.$$p_d)
415
415
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -427,21 +427,21 @@ typeof HTMLElement == "function" && (ir = class extends HTMLElement {
427
427
  this.$$r = !0;
428
428
  for (const i in this.$$p_d)
429
429
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
430
- const o = Ie(
430
+ const s = ve(
431
431
  i,
432
432
  this.$$d[i],
433
433
  this.$$p_d,
434
434
  "toAttribute"
435
435
  );
436
- o == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, o);
436
+ s == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, s);
437
437
  }
438
438
  this.$$r = !1;
439
439
  };
440
440
  this.$$c.$$.after_update.push(n), n();
441
441
  for (const i in this.$$l)
442
- for (const o of this.$$l[i]) {
443
- const s = this.$$c.$on(i, o);
444
- this.$$l_u.set(o, s);
442
+ for (const s of this.$$l[i]) {
443
+ const o = this.$$c.$on(i, s);
444
+ this.$$l_u.set(s, o);
445
445
  }
446
446
  this.$$l = {};
447
447
  }
@@ -449,7 +449,7 @@ typeof HTMLElement == "function" && (ir = class extends HTMLElement {
449
449
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
450
450
  // and setting attributes through setAttribute etc, this is helpful
451
451
  attributeChangedCallback(e, t, r) {
452
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = Ie(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
452
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = ve(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
453
453
  }
454
454
  disconnectedCallback() {
455
455
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -462,7 +462,7 @@ typeof HTMLElement == "function" && (ir = class extends HTMLElement {
462
462
  ) || e;
463
463
  }
464
464
  });
465
- function Ie(e, t, r, n) {
465
+ function ve(e, t, r, n) {
466
466
  const i = r[e]?.type;
467
467
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
468
468
  return t;
@@ -491,8 +491,8 @@ function Ie(e, t, r, n) {
491
491
  return t;
492
492
  }
493
493
  }
494
- function Kr(e, t, r, n, i, o) {
495
- let s = class extends ir {
494
+ function Xr(e, t, r, n, i, s) {
495
+ let o = class extends kt {
496
496
  constructor() {
497
497
  super(e, r, i), this.$$p_d = t;
498
498
  }
@@ -503,24 +503,24 @@ function Kr(e, t, r, n, i, o) {
503
503
  }
504
504
  };
505
505
  return Object.keys(t).forEach((a) => {
506
- Object.defineProperty(s.prototype, a, {
506
+ Object.defineProperty(o.prototype, a, {
507
507
  get() {
508
508
  return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
509
509
  },
510
510
  set(h) {
511
- h = Ie(a, h, t), this.$$d[a] = h, this.$$c?.$set({ [a]: h });
511
+ h = ve(a, h, t), this.$$d[a] = h, this.$$c?.$set({ [a]: h });
512
512
  }
513
513
  });
514
514
  }), n.forEach((a) => {
515
- Object.defineProperty(s.prototype, a, {
515
+ Object.defineProperty(o.prototype, a, {
516
516
  get() {
517
517
  return this.$$c?.[a];
518
518
  }
519
519
  });
520
520
  }), e.element = /** @type {any} */
521
- s, s;
521
+ o, o;
522
522
  }
523
- class en {
523
+ class Wr {
524
524
  /**
525
525
  * ### PRIVATE API
526
526
  *
@@ -539,7 +539,7 @@ class en {
539
539
  $$set = void 0;
540
540
  /** @returns {void} */
541
541
  $destroy() {
542
- Qr(this, 1), this.$destroy = G;
542
+ jr(this, 1), this.$destroy = U;
543
543
  }
544
544
  /**
545
545
  * @template {Extract<keyof Events, string>} K
@@ -548,8 +548,8 @@ class en {
548
548
  * @returns {() => void}
549
549
  */
550
550
  $on(t, r) {
551
- if (!vt(r))
552
- return G;
551
+ if (!it(r))
552
+ return U;
553
553
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
554
554
  return n.push(r), () => {
555
555
  const i = n.indexOf(r);
@@ -561,11 +561,11 @@ class en {
561
561
  * @returns {void}
562
562
  */
563
563
  $set(t) {
564
- this.$$set && !Rr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
564
+ this.$$set && !Pr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
565
565
  }
566
566
  }
567
- const tn = "4";
568
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(tn);
567
+ const zr = "4";
568
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(zr);
569
569
  /*! *****************************************************************************
570
570
  Copyright (c) Microsoft Corporation.
571
571
 
@@ -580,24 +580,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
580
580
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
581
581
  PERFORMANCE OF THIS SOFTWARE.
582
582
  ***************************************************************************** */
583
- var it = function(e, t) {
584
- return it = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
583
+ var ke = function(e, t) {
584
+ return ke = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
585
585
  r.__proto__ = n;
586
586
  } || function(r, n) {
587
587
  for (var i in n)
588
588
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
589
- }, it(e, t);
589
+ }, ke(e, t);
590
590
  };
591
- function He(e, t) {
591
+ function me(e, t) {
592
592
  if (typeof t != "function" && t !== null)
593
593
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
594
- it(e, t);
594
+ ke(e, t);
595
595
  function r() {
596
596
  this.constructor = e;
597
597
  }
598
598
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
599
599
  }
600
- function ot(e) {
600
+ function Ve(e) {
601
601
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
602
602
  if (r)
603
603
  return r.call(e);
@@ -609,42 +609,42 @@ function ot(e) {
609
609
  };
610
610
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
611
611
  }
612
- function st(e, t) {
612
+ function Xe(e, t) {
613
613
  var r = typeof Symbol == "function" && e[Symbol.iterator];
614
614
  if (!r)
615
615
  return e;
616
- var n = r.call(e), i, o = [], s;
616
+ var n = r.call(e), i, s = [], o;
617
617
  try {
618
618
  for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
619
- o.push(i.value);
619
+ s.push(i.value);
620
620
  } catch (a) {
621
- s = { error: a };
621
+ o = { error: a };
622
622
  } finally {
623
623
  try {
624
624
  i && !i.done && (r = n.return) && r.call(n);
625
625
  } finally {
626
- if (s)
627
- throw s.error;
626
+ if (o)
627
+ throw o.error;
628
628
  }
629
629
  }
630
- return o;
630
+ return s;
631
631
  }
632
- function at(e, t, r) {
632
+ function We(e, t, r) {
633
633
  if (arguments.length === 2)
634
- for (var n = 0, i = t.length, o; n < i; n++)
635
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
636
- return e.concat(o || t);
634
+ for (var n = 0, i = t.length, s; n < i; n++)
635
+ (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
636
+ return e.concat(s || t);
637
637
  }
638
- function Z(e) {
638
+ function $(e) {
639
639
  return typeof e == "function";
640
640
  }
641
- function or(e) {
641
+ function Vt(e) {
642
642
  var t = function(n) {
643
643
  Error.call(n), n.stack = new Error().stack;
644
644
  }, r = e(t);
645
645
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
646
646
  }
647
- var Ze = or(function(e) {
647
+ var Ne = Vt(function(e) {
648
648
  return function(r) {
649
649
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
650
650
  ` + r.map(function(n, i) {
@@ -653,30 +653,30 @@ var Ze = or(function(e) {
653
653
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
654
654
  };
655
655
  });
656
- function lt(e, t) {
656
+ function ze(e, t) {
657
657
  if (e) {
658
658
  var r = e.indexOf(t);
659
659
  0 <= r && e.splice(r, 1);
660
660
  }
661
661
  }
662
- var Ge = function() {
662
+ var He = function() {
663
663
  function e(t) {
664
664
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
665
665
  }
666
666
  return e.prototype.unsubscribe = function() {
667
- var t, r, n, i, o;
667
+ var t, r, n, i, s;
668
668
  if (!this.closed) {
669
669
  this.closed = !0;
670
- var s = this._parentage;
671
- if (s)
672
- if (this._parentage = null, Array.isArray(s))
670
+ var o = this._parentage;
671
+ if (o)
672
+ if (this._parentage = null, Array.isArray(o))
673
673
  try {
674
- for (var a = ot(s), h = a.next(); !h.done; h = a.next()) {
675
- var l = h.value;
676
- l.remove(this);
674
+ for (var a = Ve(o), h = a.next(); !h.done; h = a.next()) {
675
+ var u = h.value;
676
+ u.remove(this);
677
677
  }
678
- } catch (y) {
679
- t = { error: y };
678
+ } catch (v) {
679
+ t = { error: v };
680
680
  } finally {
681
681
  try {
682
682
  h && !h.done && (r = a.return) && r.call(a);
@@ -686,45 +686,45 @@ var Ge = function() {
686
686
  }
687
687
  }
688
688
  else
689
- s.remove(this);
690
- var u = this.initialTeardown;
691
- if (Z(u))
689
+ o.remove(this);
690
+ var l = this.initialTeardown;
691
+ if ($(l))
692
692
  try {
693
- u();
694
- } catch (y) {
695
- o = y instanceof Ze ? y.errors : [y];
693
+ l();
694
+ } catch (v) {
695
+ s = v instanceof Ne ? v.errors : [v];
696
696
  }
697
- var p = this._finalizers;
698
- if (p) {
697
+ var f = this._finalizers;
698
+ if (f) {
699
699
  this._finalizers = null;
700
700
  try {
701
- for (var c = ot(p), m = c.next(); !m.done; m = c.next()) {
702
- var v = m.value;
701
+ for (var c = Ve(f), d = c.next(); !d.done; d = c.next()) {
702
+ var b = d.value;
703
703
  try {
704
- At(v);
705
- } catch (y) {
706
- o = o ?? [], y instanceof Ze ? o = at(at([], st(o)), st(y.errors)) : o.push(y);
704
+ dt(b);
705
+ } catch (v) {
706
+ s = s ?? [], v instanceof Ne ? s = We(We([], Xe(s)), Xe(v.errors)) : s.push(v);
707
707
  }
708
708
  }
709
- } catch (y) {
710
- n = { error: y };
709
+ } catch (v) {
710
+ n = { error: v };
711
711
  } finally {
712
712
  try {
713
- m && !m.done && (i = c.return) && i.call(c);
713
+ d && !d.done && (i = c.return) && i.call(c);
714
714
  } finally {
715
715
  if (n)
716
716
  throw n.error;
717
717
  }
718
718
  }
719
719
  }
720
- if (o)
721
- throw new Ze(o);
720
+ if (s)
721
+ throw new Ne(s);
722
722
  }
723
723
  }, e.prototype.add = function(t) {
724
724
  var r;
725
725
  if (t && t !== this)
726
726
  if (this.closed)
727
- At(t);
727
+ dt(t);
728
728
  else {
729
729
  if (t instanceof e) {
730
730
  if (t.closed || t._hasParent(this))
@@ -741,52 +741,52 @@ var Ge = function() {
741
741
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
742
742
  }, e.prototype._removeParent = function(t) {
743
743
  var r = this._parentage;
744
- r === t ? this._parentage = null : Array.isArray(r) && lt(r, t);
744
+ r === t ? this._parentage = null : Array.isArray(r) && ze(r, t);
745
745
  }, e.prototype.remove = function(t) {
746
746
  var r = this._finalizers;
747
- r && lt(r, t), t instanceof e && t._removeParent(this);
747
+ r && ze(r, t), t instanceof e && t._removeParent(this);
748
748
  }, e.EMPTY = function() {
749
749
  var t = new e();
750
750
  return t.closed = !0, t;
751
751
  }(), e;
752
- }(), sr = Ge.EMPTY;
753
- function ar(e) {
754
- return e instanceof Ge || e && "closed" in e && Z(e.remove) && Z(e.add) && Z(e.unsubscribe);
752
+ }(), Xt = He.EMPTY;
753
+ function Wt(e) {
754
+ return e instanceof He || e && "closed" in e && $(e.remove) && $(e.add) && $(e.unsubscribe);
755
755
  }
756
- function At(e) {
757
- Z(e) ? e() : e.unsubscribe();
756
+ function dt(e) {
757
+ $(e) ? e() : e.unsubscribe();
758
758
  }
759
- var rn = {
759
+ var Zr = {
760
760
  Promise: void 0
761
- }, nn = {
761
+ }, qr = {
762
762
  setTimeout: function(e, t) {
763
763
  for (var r = [], n = 2; n < arguments.length; n++)
764
764
  r[n - 2] = arguments[n];
765
- return setTimeout.apply(void 0, at([e, t], st(r)));
765
+ return setTimeout.apply(void 0, We([e, t], Xe(r)));
766
766
  },
767
767
  clearTimeout: function(e) {
768
768
  return clearTimeout(e);
769
769
  },
770
770
  delegate: void 0
771
771
  };
772
- function on(e) {
773
- nn.setTimeout(function() {
772
+ function Yr(e) {
773
+ qr.setTimeout(function() {
774
774
  throw e;
775
775
  });
776
776
  }
777
- function Pt() {
777
+ function pt() {
778
778
  }
779
- function Le(e) {
779
+ function _e(e) {
780
780
  e();
781
781
  }
782
- var lr = function(e) {
783
- He(t, e);
782
+ var zt = function(e) {
783
+ me(t, e);
784
784
  function t(r) {
785
785
  var n = e.call(this) || this;
786
- return n.isStopped = !1, r ? (n.destination = r, ar(r) && r.add(n)) : n.destination = ln, n;
786
+ return n.isStopped = !1, r ? (n.destination = r, Wt(r) && r.add(n)) : n.destination = Kr, n;
787
787
  }
788
788
  return t.create = function(r, n, i) {
789
- return new ut(r, n, i);
789
+ return new Ze(r, n, i);
790
790
  }, t.prototype.next = function(r) {
791
791
  this.isStopped || this._next(r);
792
792
  }, t.prototype.error = function(r) {
@@ -810,7 +810,7 @@ var lr = function(e) {
810
810
  this.unsubscribe();
811
811
  }
812
812
  }, t;
813
- }(Ge), sn = function() {
813
+ }(He), Jr = function() {
814
814
  function e(t) {
815
815
  this.partialObserver = t;
816
816
  }
@@ -820,7 +820,7 @@ var lr = function(e) {
820
820
  try {
821
821
  r.next(t);
822
822
  } catch (n) {
823
- Ce(n);
823
+ ge(n);
824
824
  }
825
825
  }, e.prototype.error = function(t) {
826
826
  var r = this.partialObserver;
@@ -828,56 +828,56 @@ var lr = function(e) {
828
828
  try {
829
829
  r.error(t);
830
830
  } catch (n) {
831
- Ce(n);
831
+ ge(n);
832
832
  }
833
833
  else
834
- Ce(t);
834
+ ge(t);
835
835
  }, e.prototype.complete = function() {
836
836
  var t = this.partialObserver;
837
837
  if (t.complete)
838
838
  try {
839
839
  t.complete();
840
840
  } catch (r) {
841
- Ce(r);
841
+ ge(r);
842
842
  }
843
843
  }, e;
844
- }(), ut = function(e) {
845
- He(t, e);
844
+ }(), Ze = function(e) {
845
+ me(t, e);
846
846
  function t(r, n, i) {
847
- var o = e.call(this) || this, s;
848
- return Z(r) || !r ? s = {
847
+ var s = e.call(this) || this, o;
848
+ return $(r) || !r ? o = {
849
849
  next: r ?? void 0,
850
850
  error: n ?? void 0,
851
851
  complete: i ?? void 0
852
- } : s = r, o.destination = new sn(s), o;
852
+ } : o = r, s.destination = new Jr(o), s;
853
853
  }
854
854
  return t;
855
- }(lr);
856
- function Ce(e) {
857
- on(e);
855
+ }(zt);
856
+ function ge(e) {
857
+ Yr(e);
858
858
  }
859
- function an(e) {
859
+ function Qr(e) {
860
860
  throw e;
861
861
  }
862
- var ln = {
862
+ var Kr = {
863
863
  closed: !0,
864
- next: Pt,
865
- error: an,
866
- complete: Pt
867
- }, un = function() {
864
+ next: pt,
865
+ error: Qr,
866
+ complete: pt
867
+ }, en = function() {
868
868
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
869
869
  }();
870
- function hn(e) {
870
+ function tn(e) {
871
871
  return e;
872
872
  }
873
- function cn(e) {
874
- return e.length === 0 ? hn : e.length === 1 ? e[0] : function(r) {
873
+ function rn(e) {
874
+ return e.length === 0 ? tn : e.length === 1 ? e[0] : function(r) {
875
875
  return e.reduce(function(n, i) {
876
876
  return i(n);
877
877
  }, r);
878
878
  };
879
879
  }
880
- var Bt = function() {
880
+ var bt = function() {
881
881
  function e(t) {
882
882
  t && (this._subscribe = t);
883
883
  }
@@ -885,11 +885,11 @@ var Bt = function() {
885
885
  var r = new e();
886
886
  return r.source = this, r.operator = t, r;
887
887
  }, e.prototype.subscribe = function(t, r, n) {
888
- var i = this, o = pn(t) ? t : new ut(t, r, n);
889
- return Le(function() {
890
- var s = i, a = s.operator, h = s.source;
891
- o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
892
- }), o;
888
+ var i = this, s = sn(t) ? t : new Ze(t, r, n);
889
+ return _e(function() {
890
+ var o = i, a = o.operator, h = o.source;
891
+ s.add(a ? a.call(s, h) : h ? i._subscribe(s) : i._trySubscribe(s));
892
+ }), s;
893
893
  }, e.prototype._trySubscribe = function(t) {
894
894
  try {
895
895
  return this._subscribe(t);
@@ -898,87 +898,87 @@ var Bt = function() {
898
898
  }
899
899
  }, e.prototype.forEach = function(t, r) {
900
900
  var n = this;
901
- return r = Ft(r), new r(function(i, o) {
902
- var s = new ut({
901
+ return r = gt(r), new r(function(i, s) {
902
+ var o = new Ze({
903
903
  next: function(a) {
904
904
  try {
905
905
  t(a);
906
906
  } catch (h) {
907
- o(h), s.unsubscribe();
907
+ s(h), o.unsubscribe();
908
908
  }
909
909
  },
910
- error: o,
910
+ error: s,
911
911
  complete: i
912
912
  });
913
- n.subscribe(s);
913
+ n.subscribe(o);
914
914
  });
915
915
  }, e.prototype._subscribe = function(t) {
916
916
  var r;
917
917
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
918
- }, e.prototype[un] = function() {
918
+ }, e.prototype[en] = function() {
919
919
  return this;
920
920
  }, e.prototype.pipe = function() {
921
921
  for (var t = [], r = 0; r < arguments.length; r++)
922
922
  t[r] = arguments[r];
923
- return cn(t)(this);
923
+ return rn(t)(this);
924
924
  }, e.prototype.toPromise = function(t) {
925
925
  var r = this;
926
- return t = Ft(t), new t(function(n, i) {
927
- var o;
928
- r.subscribe(function(s) {
929
- return o = s;
930
- }, function(s) {
931
- return i(s);
926
+ return t = gt(t), new t(function(n, i) {
927
+ var s;
928
+ r.subscribe(function(o) {
929
+ return s = o;
930
+ }, function(o) {
931
+ return i(o);
932
932
  }, function() {
933
- return n(o);
933
+ return n(s);
934
934
  });
935
935
  });
936
936
  }, e.create = function(t) {
937
937
  return new e(t);
938
938
  }, e;
939
939
  }();
940
- function Ft(e) {
940
+ function gt(e) {
941
941
  var t;
942
- return (t = e ?? rn.Promise) !== null && t !== void 0 ? t : Promise;
942
+ return (t = e ?? Zr.Promise) !== null && t !== void 0 ? t : Promise;
943
943
  }
944
- function fn(e) {
945
- return e && Z(e.next) && Z(e.error) && Z(e.complete);
944
+ function nn(e) {
945
+ return e && $(e.next) && $(e.error) && $(e.complete);
946
946
  }
947
- function pn(e) {
948
- return e && e instanceof lr || fn(e) && ar(e);
947
+ function sn(e) {
948
+ return e && e instanceof zt || nn(e) && Wt(e);
949
949
  }
950
- var dn = or(function(e) {
950
+ var on = Vt(function(e) {
951
951
  return function() {
952
952
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
953
953
  };
954
- }), ur = function(e) {
955
- He(t, e);
954
+ }), Zt = function(e) {
955
+ me(t, e);
956
956
  function t() {
957
957
  var r = e.call(this) || this;
958
958
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
959
959
  }
960
960
  return t.prototype.lift = function(r) {
961
- var n = new Ct(this, this);
961
+ var n = new yt(this, this);
962
962
  return n.operator = r, n;
963
963
  }, t.prototype._throwIfClosed = function() {
964
964
  if (this.closed)
965
- throw new dn();
965
+ throw new on();
966
966
  }, t.prototype.next = function(r) {
967
967
  var n = this;
968
- Le(function() {
969
- var i, o;
968
+ _e(function() {
969
+ var i, s;
970
970
  if (n._throwIfClosed(), !n.isStopped) {
971
971
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
972
972
  try {
973
- for (var s = ot(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
973
+ for (var o = Ve(n.currentObservers), a = o.next(); !a.done; a = o.next()) {
974
974
  var h = a.value;
975
975
  h.next(r);
976
976
  }
977
- } catch (l) {
978
- i = { error: l };
977
+ } catch (u) {
978
+ i = { error: u };
979
979
  } finally {
980
980
  try {
981
- a && !a.done && (o = s.return) && o.call(s);
981
+ a && !a.done && (s = o.return) && s.call(o);
982
982
  } finally {
983
983
  if (i)
984
984
  throw i.error;
@@ -988,7 +988,7 @@ var dn = or(function(e) {
988
988
  });
989
989
  }, t.prototype.error = function(r) {
990
990
  var n = this;
991
- Le(function() {
991
+ _e(function() {
992
992
  if (n._throwIfClosed(), !n.isStopped) {
993
993
  n.hasError = n.isStopped = !0, n.thrownError = r;
994
994
  for (var i = n.observers; i.length; )
@@ -997,7 +997,7 @@ var dn = or(function(e) {
997
997
  });
998
998
  }, t.prototype.complete = function() {
999
999
  var r = this;
1000
- Le(function() {
1000
+ _e(function() {
1001
1001
  if (r._throwIfClosed(), !r.isStopped) {
1002
1002
  r.isStopped = !0;
1003
1003
  for (var n = r.observers; n.length; )
@@ -1018,21 +1018,21 @@ var dn = or(function(e) {
1018
1018
  }, t.prototype._subscribe = function(r) {
1019
1019
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1020
1020
  }, t.prototype._innerSubscribe = function(r) {
1021
- var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
1022
- return o || s ? sr : (this.currentObservers = null, a.push(r), new Ge(function() {
1023
- n.currentObservers = null, lt(a, r);
1021
+ var n = this, i = this, s = i.hasError, o = i.isStopped, a = i.observers;
1022
+ return s || o ? Xt : (this.currentObservers = null, a.push(r), new He(function() {
1023
+ n.currentObservers = null, ze(a, r);
1024
1024
  }));
1025
1025
  }, t.prototype._checkFinalizedStatuses = function(r) {
1026
- var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
1027
- i ? r.error(o) : s && r.complete();
1026
+ var n = this, i = n.hasError, s = n.thrownError, o = n.isStopped;
1027
+ i ? r.error(s) : o && r.complete();
1028
1028
  }, t.prototype.asObservable = function() {
1029
- var r = new Bt();
1029
+ var r = new bt();
1030
1030
  return r.source = this, r;
1031
1031
  }, t.create = function(r, n) {
1032
- return new Ct(r, n);
1032
+ return new yt(r, n);
1033
1033
  }, t;
1034
- }(Bt), Ct = function(e) {
1035
- He(t, e);
1034
+ }(bt), yt = function(e) {
1035
+ me(t, e);
1036
1036
  function t(r, n) {
1037
1037
  var i = e.call(this) || this;
1038
1038
  return i.destination = r, i.source = n, i;
@@ -1048,208 +1048,208 @@ var dn = or(function(e) {
1048
1048
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1049
1049
  }, t.prototype._subscribe = function(r) {
1050
1050
  var n, i;
1051
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : sr;
1051
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Xt;
1052
1052
  }, t;
1053
- }(ur), hr = {
1053
+ }(Zt), qt = {
1054
1054
  now: function() {
1055
- return (hr.delegate || Date).now();
1055
+ return (qt.delegate || Date).now();
1056
1056
  },
1057
1057
  delegate: void 0
1058
- }, mn = function(e) {
1059
- He(t, e);
1058
+ }, an = function(e) {
1059
+ me(t, e);
1060
1060
  function t(r, n, i) {
1061
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = hr);
1062
- var o = e.call(this) || this;
1063
- 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;
1061
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = qt);
1062
+ var s = e.call(this) || this;
1063
+ 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;
1064
1064
  }
1065
1065
  return t.prototype.next = function(r) {
1066
- var n = this, i = n.isStopped, o = n._buffer, s = n._infiniteTimeWindow, a = n._timestampProvider, h = n._windowTime;
1067
- i || (o.push(r), !s && o.push(a.now() + h)), this._trimBuffer(), e.prototype.next.call(this, r);
1066
+ var n = this, i = n.isStopped, s = n._buffer, o = n._infiniteTimeWindow, a = n._timestampProvider, h = n._windowTime;
1067
+ i || (s.push(r), !o && s.push(a.now() + h)), this._trimBuffer(), e.prototype.next.call(this, r);
1068
1068
  }, t.prototype._subscribe = function(r) {
1069
1069
  this._throwIfClosed(), this._trimBuffer();
1070
- 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)
1070
+ 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)
1071
1071
  r.next(a[h]);
1072
1072
  return this._checkFinalizedStatuses(r), n;
1073
1073
  }, t.prototype._trimBuffer = function() {
1074
- var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, s = r._infiniteTimeWindow, a = (s ? 1 : 2) * n;
1075
- if (n < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
1076
- for (var h = i.now(), l = 0, u = 1; u < o.length && o[u] <= h; u += 2)
1077
- l = u;
1078
- l && o.splice(0, l + 1);
1074
+ var r = this, n = r._bufferSize, i = r._timestampProvider, s = r._buffer, o = r._infiniteTimeWindow, a = (o ? 1 : 2) * n;
1075
+ if (n < 1 / 0 && a < s.length && s.splice(0, s.length - a), !o) {
1076
+ for (var h = i.now(), u = 0, l = 1; l < s.length && s[l] <= h; l += 2)
1077
+ u = l;
1078
+ u && s.splice(0, u + 1);
1079
1079
  }
1080
1080
  }, t;
1081
- }(ur);
1082
- const Ot = [], It = {}, bn = (e, t = 0) => {
1083
- if (Ot.indexOf(e) == -1) {
1084
- const r = new mn(t);
1085
- It[e] = r, Ot.push(e);
1081
+ }(Zt);
1082
+ const vt = [], _t = {}, un = (e, t = 0) => {
1083
+ if (vt.indexOf(e) == -1) {
1084
+ const r = new an(t);
1085
+ _t[e] = r, vt.push(e);
1086
1086
  }
1087
- return It[e];
1088
- }, he = [];
1089
- function gn(e, t) {
1087
+ return _t[e];
1088
+ }, z = [];
1089
+ function hn(e, t) {
1090
1090
  return {
1091
- subscribe: ke(e, t).subscribe
1091
+ subscribe: Ae(e, t).subscribe
1092
1092
  };
1093
1093
  }
1094
- function ke(e, t = G) {
1094
+ function Ae(e, t = U) {
1095
1095
  let r;
1096
1096
  const n = /* @__PURE__ */ new Set();
1097
1097
  function i(a) {
1098
- if (Yt(e, a) && (e = a, r)) {
1099
- const h = !he.length;
1100
- for (const l of n)
1101
- l[1](), he.push(l, e);
1098
+ if (Ut(e, a) && (e = a, r)) {
1099
+ const h = !z.length;
1100
+ for (const u of n)
1101
+ u[1](), z.push(u, e);
1102
1102
  if (h) {
1103
- for (let l = 0; l < he.length; l += 2)
1104
- he[l][0](he[l + 1]);
1105
- he.length = 0;
1103
+ for (let u = 0; u < z.length; u += 2)
1104
+ z[u][0](z[u + 1]);
1105
+ z.length = 0;
1106
1106
  }
1107
1107
  }
1108
1108
  }
1109
- function o(a) {
1109
+ function s(a) {
1110
1110
  i(a(e));
1111
1111
  }
1112
- function s(a, h = G) {
1113
- const l = [a, h];
1114
- return n.add(l), n.size === 1 && (r = t(i, o) || G), a(e), () => {
1115
- n.delete(l), n.size === 0 && r && (r(), r = null);
1112
+ function o(a, h = U) {
1113
+ const u = [a, h];
1114
+ return n.add(u), n.size === 1 && (r = t(i, s) || U), a(e), () => {
1115
+ n.delete(u), n.size === 0 && r && (r(), r = null);
1116
1116
  };
1117
1117
  }
1118
- return { set: i, update: o, subscribe: s };
1118
+ return { set: i, update: s, subscribe: o };
1119
1119
  }
1120
- function ge(e, t, r) {
1120
+ function ne(e, t, r) {
1121
1121
  const n = !Array.isArray(e), i = n ? [e] : e;
1122
1122
  if (!i.every(Boolean))
1123
1123
  throw new Error("derived() expects stores as input, got a falsy value");
1124
- const o = t.length < 2;
1125
- return gn(r, (s, a) => {
1124
+ const s = t.length < 2;
1125
+ return hn(r, (o, a) => {
1126
1126
  let h = !1;
1127
- const l = [];
1128
- let u = 0, p = G;
1127
+ const u = [];
1128
+ let l = 0, f = U;
1129
1129
  const c = () => {
1130
- if (u)
1130
+ if (l)
1131
1131
  return;
1132
- p();
1133
- const v = t(n ? l[0] : l, s, a);
1134
- o ? s(v) : p = vt(v) ? v : G;
1135
- }, m = i.map(
1136
- (v, y) => Kt(
1137
- v,
1138
- (T) => {
1139
- l[y] = T, u &= ~(1 << y), h && c();
1132
+ f();
1133
+ const b = t(n ? u[0] : u, o, a);
1134
+ s ? o(b) : f = it(b) ? b : U;
1135
+ }, d = i.map(
1136
+ (b, v) => Gt(
1137
+ b,
1138
+ (w) => {
1139
+ u[v] = w, l &= ~(1 << v), h && c();
1140
1140
  },
1141
1141
  () => {
1142
- u |= 1 << y;
1142
+ l |= 1 << v;
1143
1143
  }
1144
1144
  )
1145
1145
  );
1146
1146
  return h = !0, c(), function() {
1147
- q(m), p(), h = !1;
1147
+ te(d), f(), h = !1;
1148
1148
  };
1149
1149
  });
1150
1150
  }
1151
- function yn(e) {
1151
+ function ln(e) {
1152
1152
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1153
1153
  }
1154
- var vn = function(t) {
1155
- return _n(t) && !xn(t);
1154
+ var cn = function(t) {
1155
+ return fn(t) && !mn(t);
1156
1156
  };
1157
- function _n(e) {
1157
+ function fn(e) {
1158
1158
  return !!e && typeof e == "object";
1159
1159
  }
1160
- function xn(e) {
1160
+ function mn(e) {
1161
1161
  var t = Object.prototype.toString.call(e);
1162
- return t === "[object RegExp]" || t === "[object Date]" || Sn(e);
1162
+ return t === "[object RegExp]" || t === "[object Date]" || bn(e);
1163
1163
  }
1164
- var En = typeof Symbol == "function" && Symbol.for, wn = En ? Symbol.for("react.element") : 60103;
1165
- function Sn(e) {
1166
- return e.$$typeof === wn;
1164
+ var dn = typeof Symbol == "function" && Symbol.for, pn = dn ? Symbol.for("react.element") : 60103;
1165
+ function bn(e) {
1166
+ return e.$$typeof === pn;
1167
1167
  }
1168
- function Tn(e) {
1168
+ function gn(e) {
1169
1169
  return Array.isArray(e) ? [] : {};
1170
1170
  }
1171
- function Se(e, t) {
1172
- return t.clone !== !1 && t.isMergeableObject(e) ? pe(Tn(e), e, t) : e;
1171
+ function le(e, t) {
1172
+ return t.clone !== !1 && t.isMergeableObject(e) ? J(gn(e), e, t) : e;
1173
1173
  }
1174
- function Hn(e, t, r) {
1174
+ function yn(e, t, r) {
1175
1175
  return e.concat(t).map(function(n) {
1176
- return Se(n, r);
1176
+ return le(n, r);
1177
1177
  });
1178
1178
  }
1179
- function An(e, t) {
1179
+ function vn(e, t) {
1180
1180
  if (!t.customMerge)
1181
- return pe;
1181
+ return J;
1182
1182
  var r = t.customMerge(e);
1183
- return typeof r == "function" ? r : pe;
1183
+ return typeof r == "function" ? r : J;
1184
1184
  }
1185
- function Pn(e) {
1185
+ function _n(e) {
1186
1186
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1187
1187
  return Object.propertyIsEnumerable.call(e, t);
1188
1188
  }) : [];
1189
1189
  }
1190
- function Lt(e) {
1191
- return Object.keys(e).concat(Pn(e));
1190
+ function Et(e) {
1191
+ return Object.keys(e).concat(_n(e));
1192
1192
  }
1193
- function cr(e, t) {
1193
+ function Yt(e, t) {
1194
1194
  try {
1195
1195
  return t in e;
1196
1196
  } catch {
1197
1197
  return !1;
1198
1198
  }
1199
1199
  }
1200
- function Bn(e, t) {
1201
- return cr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1200
+ function En(e, t) {
1201
+ return Yt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1202
1202
  }
1203
- function Fn(e, t, r) {
1203
+ function xn(e, t, r) {
1204
1204
  var n = {};
1205
- return r.isMergeableObject(e) && Lt(e).forEach(function(i) {
1206
- n[i] = Se(e[i], r);
1207
- }), Lt(t).forEach(function(i) {
1208
- Bn(e, i) || (cr(e, i) && r.isMergeableObject(t[i]) ? n[i] = An(i, r)(e[i], t[i], r) : n[i] = Se(t[i], r));
1205
+ return r.isMergeableObject(e) && Et(e).forEach(function(i) {
1206
+ n[i] = le(e[i], r);
1207
+ }), Et(t).forEach(function(i) {
1208
+ En(e, i) || (Yt(e, i) && r.isMergeableObject(t[i]) ? n[i] = vn(i, r)(e[i], t[i], r) : n[i] = le(t[i], r));
1209
1209
  }), n;
1210
1210
  }
1211
- function pe(e, t, r) {
1212
- r = r || {}, r.arrayMerge = r.arrayMerge || Hn, r.isMergeableObject = r.isMergeableObject || vn, r.cloneUnlessOtherwiseSpecified = Se;
1213
- var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1214
- return o ? n ? r.arrayMerge(e, t, r) : Fn(e, t, r) : Se(t, r);
1211
+ function J(e, t, r) {
1212
+ r = r || {}, r.arrayMerge = r.arrayMerge || yn, r.isMergeableObject = r.isMergeableObject || cn, r.cloneUnlessOtherwiseSpecified = le;
1213
+ var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
1214
+ return s ? n ? r.arrayMerge(e, t, r) : xn(e, t, r) : le(t, r);
1215
1215
  }
1216
- pe.all = function(t, r) {
1216
+ J.all = function(t, r) {
1217
1217
  if (!Array.isArray(t))
1218
1218
  throw new Error("first argument should be an array");
1219
1219
  return t.reduce(function(n, i) {
1220
- return pe(n, i, r);
1220
+ return J(n, i, r);
1221
1221
  }, {});
1222
1222
  };
1223
- var Cn = pe, On = Cn;
1224
- const In = /* @__PURE__ */ yn(On);
1225
- var ht = function(e, t) {
1226
- return ht = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1223
+ var Sn = J, wn = Sn;
1224
+ const Tn = /* @__PURE__ */ ln(wn);
1225
+ var qe = function(e, t) {
1226
+ return qe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1227
1227
  r.__proto__ = n;
1228
1228
  } || function(r, n) {
1229
1229
  for (var i in n)
1230
1230
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1231
- }, ht(e, t);
1231
+ }, qe(e, t);
1232
1232
  };
1233
- function je(e, t) {
1233
+ function Pe(e, t) {
1234
1234
  if (typeof t != "function" && t !== null)
1235
1235
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1236
- ht(e, t);
1236
+ qe(e, t);
1237
1237
  function r() {
1238
1238
  this.constructor = e;
1239
1239
  }
1240
1240
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1241
1241
  }
1242
- var X = function() {
1243
- return X = Object.assign || function(t) {
1242
+ var G = function() {
1243
+ return G = Object.assign || function(t) {
1244
1244
  for (var r, n = 1, i = arguments.length; n < i; n++) {
1245
1245
  r = arguments[n];
1246
- for (var o in r)
1247
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1246
+ for (var s in r)
1247
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
1248
1248
  }
1249
1249
  return t;
1250
- }, X.apply(this, arguments);
1250
+ }, G.apply(this, arguments);
1251
1251
  };
1252
- function Ln(e, t) {
1252
+ function Hn(e, t) {
1253
1253
  var r = {};
1254
1254
  for (var n in e)
1255
1255
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -1258,43 +1258,43 @@ function Ln(e, t) {
1258
1258
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1259
1259
  return r;
1260
1260
  }
1261
- function Je(e, t, r) {
1261
+ function Ie(e, t, r) {
1262
1262
  if (r || arguments.length === 2)
1263
- for (var n = 0, i = t.length, o; n < i; n++)
1264
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1265
- return e.concat(o || Array.prototype.slice.call(t));
1263
+ for (var n = 0, i = t.length, s; n < i; n++)
1264
+ (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
1265
+ return e.concat(s || Array.prototype.slice.call(t));
1266
1266
  }
1267
- function Qe(e, t) {
1268
- var r = t && t.cache ? t.cache : Gn, n = t && t.serializer ? t.serializer : Un, i = t && t.strategy ? t.strategy : Rn;
1267
+ function Me(e, t) {
1268
+ var r = t && t.cache ? t.cache : Nn, n = t && t.serializer ? t.serializer : Ln, i = t && t.strategy ? t.strategy : Bn;
1269
1269
  return i(e, {
1270
1270
  cache: r,
1271
1271
  serializer: n
1272
1272
  });
1273
1273
  }
1274
- function Nn(e) {
1274
+ function An(e) {
1275
1275
  return e == null || typeof e == "number" || typeof e == "boolean";
1276
1276
  }
1277
- function Mn(e, t, r, n) {
1278
- var i = Nn(n) ? n : r(n), o = t.get(i);
1279
- return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1277
+ function Pn(e, t, r, n) {
1278
+ var i = An(n) ? n : r(n), s = t.get(i);
1279
+ return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
1280
1280
  }
1281
- function fr(e, t, r) {
1282
- var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1283
- return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1281
+ function Jt(e, t, r) {
1282
+ var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
1283
+ return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
1284
1284
  }
1285
- function pr(e, t, r, n, i) {
1285
+ function Qt(e, t, r, n, i) {
1286
1286
  return r.bind(t, e, n, i);
1287
1287
  }
1288
- function Rn(e, t) {
1289
- var r = e.length === 1 ? Mn : fr;
1290
- return pr(e, this, r, t.cache.create(), t.serializer);
1288
+ function Bn(e, t) {
1289
+ var r = e.length === 1 ? Pn : Jt;
1290
+ return Qt(e, this, r, t.cache.create(), t.serializer);
1291
1291
  }
1292
- function $n(e, t) {
1293
- return pr(e, this, fr, t.cache.create(), t.serializer);
1292
+ function On(e, t) {
1293
+ return Qt(e, this, Jt, t.cache.create(), t.serializer);
1294
1294
  }
1295
- var Un = function() {
1295
+ var Ln = function() {
1296
1296
  return JSON.stringify(arguments);
1297
- }, Dn = (
1297
+ }, Cn = (
1298
1298
  /** @class */
1299
1299
  function() {
1300
1300
  function e() {
@@ -1306,71 +1306,71 @@ var Un = function() {
1306
1306
  this.cache[t] = r;
1307
1307
  }, e;
1308
1308
  }()
1309
- ), Gn = {
1309
+ ), Nn = {
1310
1310
  create: function() {
1311
- return new Dn();
1311
+ return new Cn();
1312
1312
  }
1313
- }, qe = {
1314
- variadic: $n
1315
- }, $e = function() {
1316
- return $e = Object.assign || function(t) {
1313
+ }, Re = {
1314
+ variadic: On
1315
+ }, Se = function() {
1316
+ return Se = Object.assign || function(t) {
1317
1317
  for (var r, n = 1, i = arguments.length; n < i; n++) {
1318
1318
  r = arguments[n];
1319
- for (var o in r)
1320
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1319
+ for (var s in r)
1320
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
1321
1321
  }
1322
1322
  return t;
1323
- }, $e.apply(this, arguments);
1323
+ }, Se.apply(this, arguments);
1324
1324
  };
1325
- var E;
1325
+ var g;
1326
1326
  (function(e) {
1327
1327
  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";
1328
- })(E || (E = {}));
1329
- var F;
1328
+ })(g || (g = {}));
1329
+ var x;
1330
1330
  (function(e) {
1331
1331
  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";
1332
- })(F || (F = {}));
1333
- var de;
1332
+ })(x || (x = {}));
1333
+ var Q;
1334
1334
  (function(e) {
1335
1335
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1336
- })(de || (de = {}));
1337
- function Nt(e) {
1338
- return e.type === F.literal;
1336
+ })(Q || (Q = {}));
1337
+ function xt(e) {
1338
+ return e.type === x.literal;
1339
1339
  }
1340
- function kn(e) {
1341
- return e.type === F.argument;
1340
+ function In(e) {
1341
+ return e.type === x.argument;
1342
1342
  }
1343
- function dr(e) {
1344
- return e.type === F.number;
1343
+ function Kt(e) {
1344
+ return e.type === x.number;
1345
1345
  }
1346
- function mr(e) {
1347
- return e.type === F.date;
1346
+ function er(e) {
1347
+ return e.type === x.date;
1348
1348
  }
1349
- function br(e) {
1350
- return e.type === F.time;
1349
+ function tr(e) {
1350
+ return e.type === x.time;
1351
1351
  }
1352
- function gr(e) {
1353
- return e.type === F.select;
1352
+ function rr(e) {
1353
+ return e.type === x.select;
1354
1354
  }
1355
- function yr(e) {
1356
- return e.type === F.plural;
1355
+ function nr(e) {
1356
+ return e.type === x.plural;
1357
1357
  }
1358
- function jn(e) {
1359
- return e.type === F.pound;
1358
+ function Mn(e) {
1359
+ return e.type === x.pound;
1360
1360
  }
1361
- function vr(e) {
1362
- return e.type === F.tag;
1361
+ function ir(e) {
1362
+ return e.type === x.tag;
1363
1363
  }
1364
- function _r(e) {
1365
- return !!(e && typeof e == "object" && e.type === de.number);
1364
+ function sr(e) {
1365
+ return !!(e && typeof e == "object" && e.type === Q.number);
1366
1366
  }
1367
- function ct(e) {
1368
- return !!(e && typeof e == "object" && e.type === de.dateTime);
1367
+ function Ye(e) {
1368
+ return !!(e && typeof e == "object" && e.type === Q.dateTime);
1369
1369
  }
1370
- var xr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Vn = /(?:[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;
1371
- function Xn(e) {
1370
+ var or = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Rn = /(?:[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;
1371
+ function Un(e) {
1372
1372
  var t = {};
1373
- return e.replace(Vn, function(r) {
1373
+ return e.replace(Rn, function(r) {
1374
1374
  var n = r.length;
1375
1375
  switch (r[0]) {
1376
1376
  case "G":
@@ -1459,46 +1459,46 @@ function Xn(e) {
1459
1459
  return "";
1460
1460
  }), t;
1461
1461
  }
1462
- var O = function() {
1463
- return O = Object.assign || function(t) {
1462
+ var S = function() {
1463
+ return S = Object.assign || function(t) {
1464
1464
  for (var r, n = 1, i = arguments.length; n < i; n++) {
1465
1465
  r = arguments[n];
1466
- for (var o in r)
1467
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1466
+ for (var s in r)
1467
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
1468
1468
  }
1469
1469
  return t;
1470
- }, O.apply(this, arguments);
1470
+ }, S.apply(this, arguments);
1471
1471
  };
1472
- var Wn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1473
- function zn(e) {
1472
+ var Gn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1473
+ function Dn(e) {
1474
1474
  if (e.length === 0)
1475
1475
  throw new Error("Number skeleton cannot be empty");
1476
- for (var t = e.split(Wn).filter(function(c) {
1476
+ for (var t = e.split(Gn).filter(function(c) {
1477
1477
  return c.length > 0;
1478
1478
  }), r = [], n = 0, i = t; n < i.length; n++) {
1479
- var o = i[n], s = o.split("/");
1480
- if (s.length === 0)
1479
+ var s = i[n], o = s.split("/");
1480
+ if (o.length === 0)
1481
1481
  throw new Error("Invalid number skeleton");
1482
- for (var a = s[0], h = s.slice(1), l = 0, u = h; l < u.length; l++) {
1483
- var p = u[l];
1484
- if (p.length === 0)
1482
+ for (var a = o[0], h = o.slice(1), u = 0, l = h; u < l.length; u++) {
1483
+ var f = l[u];
1484
+ if (f.length === 0)
1485
1485
  throw new Error("Invalid number skeleton");
1486
1486
  }
1487
1487
  r.push({ stem: a, options: h });
1488
1488
  }
1489
1489
  return r;
1490
1490
  }
1491
- function Zn(e) {
1491
+ function $n(e) {
1492
1492
  return e.replace(/^(.*?)-/, "");
1493
1493
  }
1494
- var Mt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Er = /^(@+)?(\+|#+)?[rs]?$/g, Jn = /(\*)(0+)|(#+)(0+)|(0+)/g, wr = /^(0+)$/;
1495
- function Rt(e) {
1494
+ var St = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, ar = /^(@+)?(\+|#+)?[rs]?$/g, Fn = /(\*)(0+)|(#+)(0+)|(0+)/g, ur = /^(0+)$/;
1495
+ function wt(e) {
1496
1496
  var t = {};
1497
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Er, function(r, n, i) {
1497
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(ar, function(r, n, i) {
1498
1498
  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)), "";
1499
1499
  }), t;
1500
1500
  }
1501
- function Sr(e) {
1501
+ function hr(e) {
1502
1502
  switch (e) {
1503
1503
  case "sign-auto":
1504
1504
  return {
@@ -1538,7 +1538,7 @@ function Sr(e) {
1538
1538
  };
1539
1539
  }
1540
1540
  }
1541
- function Qn(e) {
1541
+ function jn(e) {
1542
1542
  var t;
1543
1543
  if (e[0] === "E" && e[1] === "E" ? (t = {
1544
1544
  notation: "engineering"
@@ -1546,17 +1546,17 @@ function Qn(e) {
1546
1546
  notation: "scientific"
1547
1547
  }, e = e.slice(1)), t) {
1548
1548
  var r = e.slice(0, 2);
1549
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !wr.test(e))
1549
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !ur.test(e))
1550
1550
  throw new Error("Malformed concise eng/scientific notation");
1551
1551
  t.minimumIntegerDigits = e.length;
1552
1552
  }
1553
1553
  return t;
1554
1554
  }
1555
- function $t(e) {
1556
- var t = {}, r = Sr(e);
1555
+ function Tt(e) {
1556
+ var t = {}, r = hr(e);
1557
1557
  return r || t;
1558
1558
  }
1559
- function qn(e) {
1559
+ function kn(e) {
1560
1560
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1561
1561
  var i = n[r];
1562
1562
  switch (i.stem) {
@@ -1580,7 +1580,7 @@ function qn(e) {
1580
1580
  continue;
1581
1581
  case "measure-unit":
1582
1582
  case "unit":
1583
- t.style = "unit", t.unit = Zn(i.options[0]);
1583
+ t.style = "unit", t.unit = $n(i.options[0]);
1584
1584
  continue;
1585
1585
  case "compact-short":
1586
1586
  case "K":
@@ -1591,13 +1591,13 @@ function qn(e) {
1591
1591
  t.notation = "compact", t.compactDisplay = "long";
1592
1592
  continue;
1593
1593
  case "scientific":
1594
- t = O(O(O({}, t), { notation: "scientific" }), i.options.reduce(function(h, l) {
1595
- return O(O({}, h), $t(l));
1594
+ t = S(S(S({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1595
+ return S(S({}, h), Tt(u));
1596
1596
  }, {}));
1597
1597
  continue;
1598
1598
  case "engineering":
1599
- t = O(O(O({}, t), { notation: "engineering" }), i.options.reduce(function(h, l) {
1600
- return O(O({}, h), $t(l));
1599
+ t = S(S(S({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1600
+ return S(S({}, h), Tt(u));
1601
1601
  }, {}));
1602
1602
  continue;
1603
1603
  case "notation-simple":
@@ -1642,45 +1642,45 @@ function qn(e) {
1642
1642
  case "integer-width":
1643
1643
  if (i.options.length > 1)
1644
1644
  throw new RangeError("integer-width stems only accept a single optional option");
1645
- i.options[0].replace(Jn, function(h, l, u, p, c, m) {
1646
- if (l)
1647
- t.minimumIntegerDigits = u.length;
1645
+ i.options[0].replace(Fn, function(h, u, l, f, c, d) {
1646
+ if (u)
1647
+ t.minimumIntegerDigits = l.length;
1648
1648
  else {
1649
- if (p && c)
1649
+ if (f && c)
1650
1650
  throw new Error("We currently do not support maximum integer digits");
1651
- if (m)
1651
+ if (d)
1652
1652
  throw new Error("We currently do not support exact integer digits");
1653
1653
  }
1654
1654
  return "";
1655
1655
  });
1656
1656
  continue;
1657
1657
  }
1658
- if (wr.test(i.stem)) {
1658
+ if (ur.test(i.stem)) {
1659
1659
  t.minimumIntegerDigits = i.stem.length;
1660
1660
  continue;
1661
1661
  }
1662
- if (Mt.test(i.stem)) {
1662
+ if (St.test(i.stem)) {
1663
1663
  if (i.options.length > 1)
1664
1664
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1665
- i.stem.replace(Mt, function(h, l, u, p, c, m) {
1666
- return u === "*" ? t.minimumFractionDigits = l.length : p && p[0] === "#" ? t.maximumFractionDigits = p.length : c && m ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + m.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1665
+ i.stem.replace(St, function(h, u, l, f, c, d) {
1666
+ return l === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1667
1667
  });
1668
- var o = i.options[0];
1669
- o === "w" ? t = O(O({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = O(O({}, t), Rt(o)));
1668
+ var s = i.options[0];
1669
+ s === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = S(S({}, t), wt(s)));
1670
1670
  continue;
1671
1671
  }
1672
- if (Er.test(i.stem)) {
1673
- t = O(O({}, t), Rt(i.stem));
1672
+ if (ar.test(i.stem)) {
1673
+ t = S(S({}, t), wt(i.stem));
1674
1674
  continue;
1675
1675
  }
1676
- var s = Sr(i.stem);
1677
- s && (t = O(O({}, t), s));
1678
- var a = Qn(i.stem);
1679
- a && (t = O(O({}, t), a));
1676
+ var o = hr(i.stem);
1677
+ o && (t = S(S({}, t), o));
1678
+ var a = jn(i.stem);
1679
+ a && (t = S(S({}, t), a));
1680
1680
  }
1681
1681
  return t;
1682
1682
  }
1683
- var Oe = {
1683
+ var ye = {
1684
1684
  "001": [
1685
1685
  "H",
1686
1686
  "h"
@@ -3095,23 +3095,23 @@ var Oe = {
3095
3095
  "h"
3096
3096
  ]
3097
3097
  };
3098
- function Yn(e, t) {
3098
+ function Vn(e, t) {
3099
3099
  for (var r = "", n = 0; n < e.length; n++) {
3100
3100
  var i = e.charAt(n);
3101
3101
  if (i === "j") {
3102
- for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3103
- o++, n++;
3104
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", l = Kn(t);
3105
- for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
3102
+ for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3103
+ s++, n++;
3104
+ var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", u = Xn(t);
3105
+ for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
3106
3106
  r += h;
3107
- for (; s-- > 0; )
3108
- r = l + r;
3107
+ for (; o-- > 0; )
3108
+ r = u + r;
3109
3109
  } else
3110
3110
  i === "J" ? r += "H" : r += i;
3111
3111
  }
3112
3112
  return r;
3113
3113
  }
3114
- function Kn(e) {
3114
+ function Xn(e) {
3115
3115
  var t = e.hourCycle;
3116
3116
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3117
3117
  e.hourCycles && // @ts-ignore
@@ -3130,23 +3130,23 @@ function Kn(e) {
3130
3130
  }
3131
3131
  var r = e.language, n;
3132
3132
  r !== "root" && (n = e.maximize().region);
3133
- var i = Oe[n || ""] || Oe[r || ""] || Oe["".concat(r, "-001")] || Oe["001"];
3133
+ var i = ye[n || ""] || ye[r || ""] || ye["".concat(r, "-001")] || ye["001"];
3134
3134
  return i[0];
3135
3135
  }
3136
- var Ye, ei = new RegExp("^".concat(xr.source, "*")), ti = new RegExp("".concat(xr.source, "*$"));
3137
- function w(e, t) {
3136
+ var Ue, Wn = new RegExp("^".concat(or.source, "*")), zn = new RegExp("".concat(or.source, "*$"));
3137
+ function y(e, t) {
3138
3138
  return { start: e, end: t };
3139
3139
  }
3140
- var ri = !!String.prototype.startsWith && "_a".startsWith("a", 1), ni = !!String.fromCodePoint, ii = !!Object.fromEntries, oi = !!String.prototype.codePointAt, si = !!String.prototype.trimStart, ai = !!String.prototype.trimEnd, li = !!Number.isSafeInteger, ui = li ? Number.isSafeInteger : function(e) {
3140
+ var Zn = !!String.prototype.startsWith && "_a".startsWith("a", 1), qn = !!String.fromCodePoint, Yn = !!Object.fromEntries, Jn = !!String.prototype.codePointAt, Qn = !!String.prototype.trimStart, Kn = !!String.prototype.trimEnd, ei = !!Number.isSafeInteger, ti = ei ? Number.isSafeInteger : function(e) {
3141
3141
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3142
- }, ft = !0;
3142
+ }, Je = !0;
3143
3143
  try {
3144
- var hi = Hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3145
- ft = ((Ye = hi.exec("a")) === null || Ye === void 0 ? void 0 : Ye[0]) === "a";
3144
+ var ri = cr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3145
+ Je = ((Ue = ri.exec("a")) === null || Ue === void 0 ? void 0 : Ue[0]) === "a";
3146
3146
  } catch {
3147
- ft = !1;
3147
+ Je = !1;
3148
3148
  }
3149
- var Ut = ri ? (
3149
+ var Ht = Zn ? (
3150
3150
  // Native
3151
3151
  function(t, r, n) {
3152
3152
  return t.startsWith(r, n);
@@ -3156,31 +3156,31 @@ var Ut = ri ? (
3156
3156
  function(t, r, n) {
3157
3157
  return t.slice(n, n + r.length) === r;
3158
3158
  }
3159
- ), pt = ni ? String.fromCodePoint : (
3159
+ ), Qe = qn ? String.fromCodePoint : (
3160
3160
  // IE11
3161
3161
  function() {
3162
3162
  for (var t = [], r = 0; r < arguments.length; r++)
3163
3163
  t[r] = arguments[r];
3164
- for (var n = "", i = t.length, o = 0, s; i > o; ) {
3165
- if (s = t[o++], s > 1114111)
3166
- throw RangeError(s + " is not a valid code point");
3167
- n += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
3164
+ for (var n = "", i = t.length, s = 0, o; i > s; ) {
3165
+ if (o = t[s++], o > 1114111)
3166
+ throw RangeError(o + " is not a valid code point");
3167
+ n += o < 65536 ? String.fromCharCode(o) : String.fromCharCode(((o -= 65536) >> 10) + 55296, o % 1024 + 56320);
3168
3168
  }
3169
3169
  return n;
3170
3170
  }
3171
- ), Dt = (
3171
+ ), At = (
3172
3172
  // native
3173
- ii ? Object.fromEntries : (
3173
+ Yn ? Object.fromEntries : (
3174
3174
  // Ponyfill
3175
3175
  function(t) {
3176
3176
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
3177
- var o = i[n], s = o[0], a = o[1];
3178
- r[s] = a;
3177
+ var s = i[n], o = s[0], a = s[1];
3178
+ r[o] = a;
3179
3179
  }
3180
3180
  return r;
3181
3181
  }
3182
3182
  )
3183
- ), Tr = oi ? (
3183
+ ), lr = Jn ? (
3184
3184
  // Native
3185
3185
  function(t, r) {
3186
3186
  return t.codePointAt(r);
@@ -3190,11 +3190,11 @@ var Ut = ri ? (
3190
3190
  function(t, r) {
3191
3191
  var n = t.length;
3192
3192
  if (!(r < 0 || r >= n)) {
3193
- var i = t.charCodeAt(r), o;
3194
- return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3193
+ var i = t.charCodeAt(r), s;
3194
+ return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
3195
3195
  }
3196
3196
  }
3197
- ), ci = si ? (
3197
+ ), ni = Qn ? (
3198
3198
  // Native
3199
3199
  function(t) {
3200
3200
  return t.trimStart();
@@ -3202,9 +3202,9 @@ var Ut = ri ? (
3202
3202
  ) : (
3203
3203
  // Ponyfill
3204
3204
  function(t) {
3205
- return t.replace(ei, "");
3205
+ return t.replace(Wn, "");
3206
3206
  }
3207
- ), fi = ai ? (
3207
+ ), ii = Kn ? (
3208
3208
  // Native
3209
3209
  function(t) {
3210
3210
  return t.trimEnd();
@@ -3212,32 +3212,32 @@ var Ut = ri ? (
3212
3212
  ) : (
3213
3213
  // Ponyfill
3214
3214
  function(t) {
3215
- return t.replace(ti, "");
3215
+ return t.replace(zn, "");
3216
3216
  }
3217
3217
  );
3218
- function Hr(e, t) {
3218
+ function cr(e, t) {
3219
3219
  return new RegExp(e, t);
3220
3220
  }
3221
- var dt;
3222
- if (ft) {
3223
- var Gt = Hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3224
- dt = function(t, r) {
3221
+ var Ke;
3222
+ if (Je) {
3223
+ var Pt = cr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3224
+ Ke = function(t, r) {
3225
3225
  var n;
3226
- Gt.lastIndex = r;
3227
- var i = Gt.exec(t);
3226
+ Pt.lastIndex = r;
3227
+ var i = Pt.exec(t);
3228
3228
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3229
3229
  };
3230
3230
  } else
3231
- dt = function(t, r) {
3231
+ Ke = function(t, r) {
3232
3232
  for (var n = []; ; ) {
3233
- var i = Tr(t, r);
3234
- if (i === void 0 || Ar(i) || bi(i))
3233
+ var i = lr(t, r);
3234
+ if (i === void 0 || fr(i) || ui(i))
3235
3235
  break;
3236
3236
  n.push(i), r += i >= 65536 ? 2 : 1;
3237
3237
  }
3238
- return pt.apply(void 0, n);
3238
+ return Qe.apply(void 0, n);
3239
3239
  };
3240
- var pi = (
3240
+ var si = (
3241
3241
  /** @class */
3242
3242
  function() {
3243
3243
  function e(t, r) {
@@ -3249,35 +3249,35 @@ var pi = (
3249
3249
  return this.parseMessage(0, "", !1);
3250
3250
  }, e.prototype.parseMessage = function(t, r, n) {
3251
3251
  for (var i = []; !this.isEOF(); ) {
3252
- var o = this.char();
3253
- if (o === 123) {
3254
- var s = this.parseArgument(t, n);
3255
- if (s.err)
3256
- return s;
3257
- i.push(s.val);
3252
+ var s = this.char();
3253
+ if (s === 123) {
3254
+ var o = this.parseArgument(t, n);
3255
+ if (o.err)
3256
+ return o;
3257
+ i.push(o.val);
3258
3258
  } else {
3259
- if (o === 125 && t > 0)
3259
+ if (s === 125 && t > 0)
3260
3260
  break;
3261
- if (o === 35 && (r === "plural" || r === "selectordinal")) {
3261
+ if (s === 35 && (r === "plural" || r === "selectordinal")) {
3262
3262
  var a = this.clonePosition();
3263
3263
  this.bump(), i.push({
3264
- type: F.pound,
3265
- location: w(a, this.clonePosition())
3264
+ type: x.pound,
3265
+ location: y(a, this.clonePosition())
3266
3266
  });
3267
- } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3267
+ } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
3268
3268
  if (n)
3269
3269
  break;
3270
- return this.error(E.UNMATCHED_CLOSING_TAG, w(this.clonePosition(), this.clonePosition()));
3271
- } else if (o === 60 && !this.ignoreTag && mt(this.peek() || 0)) {
3272
- var s = this.parseTag(t, r);
3273
- if (s.err)
3274
- return s;
3275
- i.push(s.val);
3270
+ return this.error(g.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
3271
+ } else if (s === 60 && !this.ignoreTag && et(this.peek() || 0)) {
3272
+ var o = this.parseTag(t, r);
3273
+ if (o.err)
3274
+ return o;
3275
+ i.push(o.val);
3276
3276
  } else {
3277
- var s = this.parseLiteral(t, r);
3278
- if (s.err)
3279
- return s;
3280
- i.push(s.val);
3277
+ var o = this.parseLiteral(t, r);
3278
+ if (o.err)
3279
+ return o;
3280
+ i.push(o.val);
3281
3281
  }
3282
3282
  }
3283
3283
  }
@@ -3289,51 +3289,51 @@ var pi = (
3289
3289
  if (this.bumpSpace(), this.bumpIf("/>"))
3290
3290
  return {
3291
3291
  val: {
3292
- type: F.literal,
3292
+ type: x.literal,
3293
3293
  value: "<".concat(i, "/>"),
3294
- location: w(n, this.clonePosition())
3294
+ location: y(n, this.clonePosition())
3295
3295
  },
3296
3296
  err: null
3297
3297
  };
3298
3298
  if (this.bumpIf(">")) {
3299
- var o = this.parseMessage(t + 1, r, !0);
3300
- if (o.err)
3301
- return o;
3302
- var s = o.val, a = this.clonePosition();
3299
+ var s = this.parseMessage(t + 1, r, !0);
3300
+ if (s.err)
3301
+ return s;
3302
+ var o = s.val, a = this.clonePosition();
3303
3303
  if (this.bumpIf("</")) {
3304
- if (this.isEOF() || !mt(this.char()))
3305
- return this.error(E.INVALID_TAG, w(a, this.clonePosition()));
3306
- var h = this.clonePosition(), l = this.parseTagName();
3307
- return i !== l ? this.error(E.UNMATCHED_CLOSING_TAG, w(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3304
+ if (this.isEOF() || !et(this.char()))
3305
+ return this.error(g.INVALID_TAG, y(a, this.clonePosition()));
3306
+ var h = this.clonePosition(), u = this.parseTagName();
3307
+ return i !== u ? this.error(g.UNMATCHED_CLOSING_TAG, y(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3308
3308
  val: {
3309
- type: F.tag,
3309
+ type: x.tag,
3310
3310
  value: i,
3311
- children: s,
3312
- location: w(n, this.clonePosition())
3311
+ children: o,
3312
+ location: y(n, this.clonePosition())
3313
3313
  },
3314
3314
  err: null
3315
- } : this.error(E.INVALID_TAG, w(a, this.clonePosition())));
3315
+ } : this.error(g.INVALID_TAG, y(a, this.clonePosition())));
3316
3316
  } else
3317
- return this.error(E.UNCLOSED_TAG, w(n, this.clonePosition()));
3317
+ return this.error(g.UNCLOSED_TAG, y(n, this.clonePosition()));
3318
3318
  } else
3319
- return this.error(E.INVALID_TAG, w(n, this.clonePosition()));
3319
+ return this.error(g.INVALID_TAG, y(n, this.clonePosition()));
3320
3320
  }, e.prototype.parseTagName = function() {
3321
3321
  var t = this.offset();
3322
- for (this.bump(); !this.isEOF() && mi(this.char()); )
3322
+ for (this.bump(); !this.isEOF() && ai(this.char()); )
3323
3323
  this.bump();
3324
3324
  return this.message.slice(t, this.offset());
3325
3325
  }, e.prototype.parseLiteral = function(t, r) {
3326
3326
  for (var n = this.clonePosition(), i = ""; ; ) {
3327
- var o = this.tryParseQuote(r);
3328
- if (o) {
3329
- i += o;
3330
- continue;
3331
- }
3332
- var s = this.tryParseUnquoted(t, r);
3327
+ var s = this.tryParseQuote(r);
3333
3328
  if (s) {
3334
3329
  i += s;
3335
3330
  continue;
3336
3331
  }
3332
+ var o = this.tryParseUnquoted(t, r);
3333
+ if (o) {
3334
+ i += o;
3335
+ continue;
3336
+ }
3337
3337
  var a = this.tryParseLeftAngleBracket();
3338
3338
  if (a) {
3339
3339
  i += a;
@@ -3341,14 +3341,14 @@ var pi = (
3341
3341
  }
3342
3342
  break;
3343
3343
  }
3344
- var h = w(n, this.clonePosition());
3344
+ var h = y(n, this.clonePosition());
3345
3345
  return {
3346
- val: { type: F.literal, value: i, location: h },
3346
+ val: { type: x.literal, value: i, location: h },
3347
3347
  err: null
3348
3348
  };
3349
3349
  }, e.prototype.tryParseLeftAngleBracket = function() {
3350
3350
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3351
- !di(this.peek() || 0)) ? (this.bump(), "<") : null;
3351
+ !oi(this.peek() || 0)) ? (this.bump(), "<") : null;
3352
3352
  }, e.prototype.tryParseQuote = function(t) {
3353
3353
  if (this.isEOF() || this.char() !== 39)
3354
3354
  return null;
@@ -3382,100 +3382,100 @@ var pi = (
3382
3382
  r.push(n);
3383
3383
  this.bump();
3384
3384
  }
3385
- return pt.apply(void 0, r);
3385
+ return Qe.apply(void 0, r);
3386
3386
  }, e.prototype.tryParseUnquoted = function(t, r) {
3387
3387
  if (this.isEOF())
3388
3388
  return null;
3389
3389
  var n = this.char();
3390
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), pt(n));
3390
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Qe(n));
3391
3391
  }, e.prototype.parseArgument = function(t, r) {
3392
3392
  var n = this.clonePosition();
3393
3393
  if (this.bump(), this.bumpSpace(), this.isEOF())
3394
- return this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE, w(n, this.clonePosition()));
3394
+ return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
3395
3395
  if (this.char() === 125)
3396
- return this.bump(), this.error(E.EMPTY_ARGUMENT, w(n, this.clonePosition()));
3396
+ return this.bump(), this.error(g.EMPTY_ARGUMENT, y(n, this.clonePosition()));
3397
3397
  var i = this.parseIdentifierIfPossible().value;
3398
3398
  if (!i)
3399
- return this.error(E.MALFORMED_ARGUMENT, w(n, this.clonePosition()));
3399
+ return this.error(g.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
3400
3400
  if (this.bumpSpace(), this.isEOF())
3401
- return this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE, w(n, this.clonePosition()));
3401
+ return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
3402
3402
  switch (this.char()) {
3403
3403
  case 125:
3404
3404
  return this.bump(), {
3405
3405
  val: {
3406
- type: F.argument,
3406
+ type: x.argument,
3407
3407
  // value does not include the opening and closing braces.
3408
3408
  value: i,
3409
- location: w(n, this.clonePosition())
3409
+ location: y(n, this.clonePosition())
3410
3410
  },
3411
3411
  err: null
3412
3412
  };
3413
3413
  case 44:
3414
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE, w(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3414
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3415
3415
  default:
3416
- return this.error(E.MALFORMED_ARGUMENT, w(n, this.clonePosition()));
3416
+ return this.error(g.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
3417
3417
  }
3418
3418
  }, e.prototype.parseIdentifierIfPossible = function() {
3419
- var t = this.clonePosition(), r = this.offset(), n = dt(this.message, r), i = r + n.length;
3419
+ var t = this.clonePosition(), r = this.offset(), n = Ke(this.message, r), i = r + n.length;
3420
3420
  this.bumpTo(i);
3421
- var o = this.clonePosition(), s = w(t, o);
3422
- return { value: n, location: s };
3421
+ var s = this.clonePosition(), o = y(t, s);
3422
+ return { value: n, location: o };
3423
3423
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3424
- var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
3424
+ var s, o = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
3425
3425
  switch (a) {
3426
3426
  case "":
3427
- return this.error(E.EXPECT_ARGUMENT_TYPE, w(s, h));
3427
+ return this.error(g.EXPECT_ARGUMENT_TYPE, y(o, h));
3428
3428
  case "number":
3429
3429
  case "date":
3430
3430
  case "time": {
3431
3431
  this.bumpSpace();
3432
- var l = null;
3432
+ var u = null;
3433
3433
  if (this.bumpIf(",")) {
3434
3434
  this.bumpSpace();
3435
- var u = this.clonePosition(), p = this.parseSimpleArgStyleIfPossible();
3436
- if (p.err)
3437
- return p;
3438
- var c = fi(p.val);
3435
+ var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3436
+ if (f.err)
3437
+ return f;
3438
+ var c = ii(f.val);
3439
3439
  if (c.length === 0)
3440
- return this.error(E.EXPECT_ARGUMENT_STYLE, w(this.clonePosition(), this.clonePosition()));
3441
- var m = w(u, this.clonePosition());
3442
- l = { style: c, styleLocation: m };
3440
+ return this.error(g.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
3441
+ var d = y(l, this.clonePosition());
3442
+ u = { style: c, styleLocation: d };
3443
3443
  }
3444
- var v = this.tryParseArgumentClose(i);
3445
- if (v.err)
3446
- return v;
3447
- var y = w(i, this.clonePosition());
3448
- if (l && Ut(l?.style, "::", 0)) {
3449
- var T = ci(l.style.slice(2));
3444
+ var b = this.tryParseArgumentClose(i);
3445
+ if (b.err)
3446
+ return b;
3447
+ var v = y(i, this.clonePosition());
3448
+ if (u && Ht(u?.style, "::", 0)) {
3449
+ var w = ni(u.style.slice(2));
3450
3450
  if (a === "number") {
3451
- var p = this.parseNumberSkeletonFromString(T, l.styleLocation);
3452
- return p.err ? p : {
3453
- val: { type: F.number, value: n, location: y, style: p.val },
3451
+ var f = this.parseNumberSkeletonFromString(w, u.styleLocation);
3452
+ return f.err ? f : {
3453
+ val: { type: x.number, value: n, location: v, style: f.val },
3454
3454
  err: null
3455
3455
  };
3456
3456
  } else {
3457
- if (T.length === 0)
3458
- return this.error(E.EXPECT_DATE_TIME_SKELETON, y);
3459
- var H = T;
3460
- this.locale && (H = Yn(T, this.locale));
3457
+ if (w.length === 0)
3458
+ return this.error(g.EXPECT_DATE_TIME_SKELETON, v);
3459
+ var N = w;
3460
+ this.locale && (N = Vn(w, this.locale));
3461
3461
  var c = {
3462
- type: de.dateTime,
3463
- pattern: H,
3464
- location: l.styleLocation,
3465
- parsedOptions: this.shouldParseSkeletons ? Xn(H) : {}
3466
- }, S = a === "date" ? F.date : F.time;
3462
+ type: Q.dateTime,
3463
+ pattern: N,
3464
+ location: u.styleLocation,
3465
+ parsedOptions: this.shouldParseSkeletons ? Un(N) : {}
3466
+ }, P = a === "date" ? x.date : x.time;
3467
3467
  return {
3468
- val: { type: S, value: n, location: y, style: c },
3468
+ val: { type: P, value: n, location: v, style: c },
3469
3469
  err: null
3470
3470
  };
3471
3471
  }
3472
3472
  }
3473
3473
  return {
3474
3474
  val: {
3475
- type: a === "number" ? F.number : a === "date" ? F.date : F.time,
3475
+ type: a === "number" ? x.number : a === "date" ? x.date : x.time,
3476
3476
  value: n,
3477
- location: y,
3478
- style: (o = l?.style) !== null && o !== void 0 ? o : null
3477
+ location: v,
3478
+ style: (s = u?.style) !== null && s !== void 0 ? s : null
3479
3479
  },
3480
3480
  err: null
3481
3481
  };
@@ -3483,52 +3483,52 @@ var pi = (
3483
3483
  case "plural":
3484
3484
  case "selectordinal":
3485
3485
  case "select": {
3486
- var b = this.clonePosition();
3486
+ var T = this.clonePosition();
3487
3487
  if (this.bumpSpace(), !this.bumpIf(","))
3488
- return this.error(E.EXPECT_SELECT_ARGUMENT_OPTIONS, w(b, $e({}, b)));
3488
+ return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS, y(T, Se({}, T)));
3489
3489
  this.bumpSpace();
3490
- var I = this.parseIdentifierIfPossible(), L = 0;
3490
+ var I = this.parseIdentifierIfPossible(), B = 0;
3491
3491
  if (a !== "select" && I.value === "offset") {
3492
3492
  if (!this.bumpIf(":"))
3493
- return this.error(E.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, w(this.clonePosition(), this.clonePosition()));
3493
+ return this.error(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
3494
3494
  this.bumpSpace();
3495
- var p = this.tryParseDecimalInteger(E.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, E.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3496
- if (p.err)
3497
- return p;
3498
- this.bumpSpace(), I = this.parseIdentifierIfPossible(), L = p.val;
3495
+ var f = this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3496
+ if (f.err)
3497
+ return f;
3498
+ this.bumpSpace(), I = this.parseIdentifierIfPossible(), B = f.val;
3499
3499
  }
3500
3500
  var M = this.tryParsePluralOrSelectOptions(t, a, r, I);
3501
3501
  if (M.err)
3502
3502
  return M;
3503
- var v = this.tryParseArgumentClose(i);
3504
- if (v.err)
3505
- return v;
3506
- var A = w(i, this.clonePosition());
3503
+ var b = this.tryParseArgumentClose(i);
3504
+ if (b.err)
3505
+ return b;
3506
+ var _ = y(i, this.clonePosition());
3507
3507
  return a === "select" ? {
3508
3508
  val: {
3509
- type: F.select,
3509
+ type: x.select,
3510
3510
  value: n,
3511
- options: Dt(M.val),
3512
- location: A
3511
+ options: At(M.val),
3512
+ location: _
3513
3513
  },
3514
3514
  err: null
3515
3515
  } : {
3516
3516
  val: {
3517
- type: F.plural,
3517
+ type: x.plural,
3518
3518
  value: n,
3519
- options: Dt(M.val),
3520
- offset: L,
3519
+ options: At(M.val),
3520
+ offset: B,
3521
3521
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3522
- location: A
3522
+ location: _
3523
3523
  },
3524
3524
  err: null
3525
3525
  };
3526
3526
  }
3527
3527
  default:
3528
- return this.error(E.INVALID_ARGUMENT_TYPE, w(s, h));
3528
+ return this.error(g.INVALID_ARGUMENT_TYPE, y(o, h));
3529
3529
  }
3530
3530
  }, e.prototype.tryParseArgumentClose = function(t) {
3531
- return this.isEOF() || this.char() !== 125 ? this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE, w(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3531
+ return this.isEOF() || this.char() !== 125 ? this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, y(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3532
3532
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3533
3533
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3534
3534
  var n = this.char();
@@ -3537,7 +3537,7 @@ var pi = (
3537
3537
  this.bump();
3538
3538
  var i = this.clonePosition();
3539
3539
  if (!this.bumpUntil("'"))
3540
- return this.error(E.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, w(i, this.clonePosition()));
3540
+ return this.error(g.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, y(i, this.clonePosition()));
3541
3541
  this.bump();
3542
3542
  break;
3543
3543
  }
@@ -3567,64 +3567,64 @@ var pi = (
3567
3567
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3568
3568
  var n = [];
3569
3569
  try {
3570
- n = zn(t);
3570
+ n = Dn(t);
3571
3571
  } catch {
3572
- return this.error(E.INVALID_NUMBER_SKELETON, r);
3572
+ return this.error(g.INVALID_NUMBER_SKELETON, r);
3573
3573
  }
3574
3574
  return {
3575
3575
  val: {
3576
- type: de.number,
3576
+ type: Q.number,
3577
3577
  tokens: n,
3578
3578
  location: r,
3579
- parsedOptions: this.shouldParseSkeletons ? qn(n) : {}
3579
+ parsedOptions: this.shouldParseSkeletons ? kn(n) : {}
3580
3580
  },
3581
3581
  err: null
3582
3582
  };
3583
3583
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3584
- for (var o, s = !1, a = [], h = /* @__PURE__ */ new Set(), l = i.value, u = i.location; ; ) {
3585
- if (l.length === 0) {
3586
- var p = this.clonePosition();
3584
+ for (var s, o = !1, a = [], h = /* @__PURE__ */ new Set(), u = i.value, l = i.location; ; ) {
3585
+ if (u.length === 0) {
3586
+ var f = this.clonePosition();
3587
3587
  if (r !== "select" && this.bumpIf("=")) {
3588
- var c = this.tryParseDecimalInteger(E.EXPECT_PLURAL_ARGUMENT_SELECTOR, E.INVALID_PLURAL_ARGUMENT_SELECTOR);
3588
+ var c = this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_SELECTOR, g.INVALID_PLURAL_ARGUMENT_SELECTOR);
3589
3589
  if (c.err)
3590
3590
  return c;
3591
- u = w(p, this.clonePosition()), l = this.message.slice(p.offset, this.offset());
3591
+ l = y(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3592
3592
  } else
3593
3593
  break;
3594
3594
  }
3595
- if (h.has(l))
3596
- return this.error(r === "select" ? E.DUPLICATE_SELECT_ARGUMENT_SELECTOR : E.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, u);
3597
- l === "other" && (s = !0), this.bumpSpace();
3598
- var m = this.clonePosition();
3595
+ if (h.has(u))
3596
+ return this.error(r === "select" ? g.DUPLICATE_SELECT_ARGUMENT_SELECTOR : g.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3597
+ u === "other" && (o = !0), this.bumpSpace();
3598
+ var d = this.clonePosition();
3599
3599
  if (!this.bumpIf("{"))
3600
- return this.error(r === "select" ? E.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : E.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, w(this.clonePosition(), this.clonePosition()));
3601
- var v = this.parseMessage(t + 1, r, n);
3600
+ return this.error(r === "select" ? g.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : g.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, y(this.clonePosition(), this.clonePosition()));
3601
+ var b = this.parseMessage(t + 1, r, n);
3602
+ if (b.err)
3603
+ return b;
3604
+ var v = this.tryParseArgumentClose(d);
3602
3605
  if (v.err)
3603
3606
  return v;
3604
- var y = this.tryParseArgumentClose(m);
3605
- if (y.err)
3606
- return y;
3607
3607
  a.push([
3608
- l,
3608
+ u,
3609
3609
  {
3610
- value: v.val,
3611
- location: w(m, this.clonePosition())
3610
+ value: b.val,
3611
+ location: y(d, this.clonePosition())
3612
3612
  }
3613
- ]), h.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, u = o.location;
3613
+ ]), h.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, l = s.location;
3614
3614
  }
3615
- return a.length === 0 ? this.error(r === "select" ? E.EXPECT_SELECT_ARGUMENT_SELECTOR : E.EXPECT_PLURAL_ARGUMENT_SELECTOR, w(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(E.MISSING_OTHER_CLAUSE, w(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3615
+ return a.length === 0 ? this.error(r === "select" ? g.EXPECT_SELECT_ARGUMENT_SELECTOR : g.EXPECT_PLURAL_ARGUMENT_SELECTOR, y(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(g.MISSING_OTHER_CLAUSE, y(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3616
3616
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3617
3617
  var n = 1, i = this.clonePosition();
3618
3618
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
3619
- for (var o = !1, s = 0; !this.isEOF(); ) {
3619
+ for (var s = !1, o = 0; !this.isEOF(); ) {
3620
3620
  var a = this.char();
3621
3621
  if (a >= 48 && a <= 57)
3622
- o = !0, s = s * 10 + (a - 48), this.bump();
3622
+ s = !0, o = o * 10 + (a - 48), this.bump();
3623
3623
  else
3624
3624
  break;
3625
3625
  }
3626
- var h = w(i, this.clonePosition());
3627
- return o ? (s *= n, ui(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3626
+ var h = y(i, this.clonePosition());
3627
+ return s ? (o *= n, ti(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
3628
3628
  }, e.prototype.offset = function() {
3629
3629
  return this.position.offset;
3630
3630
  }, e.prototype.isEOF = function() {
@@ -3639,7 +3639,7 @@ var pi = (
3639
3639
  var t = this.position.offset;
3640
3640
  if (t >= this.message.length)
3641
3641
  throw Error("out of bound");
3642
- var r = Tr(this.message, t);
3642
+ var r = lr(this.message, t);
3643
3643
  if (r === void 0)
3644
3644
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3645
3645
  return r;
@@ -3658,7 +3658,7 @@ var pi = (
3658
3658
  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);
3659
3659
  }
3660
3660
  }, e.prototype.bumpIf = function(t) {
3661
- if (Ut(this.message, t, this.offset())) {
3661
+ if (Ht(this.message, t, this.offset())) {
3662
3662
  for (var r = 0; r < t.length; r++)
3663
3663
  this.bump();
3664
3664
  return !0;
@@ -3680,7 +3680,7 @@ var pi = (
3680
3680
  break;
3681
3681
  }
3682
3682
  }, e.prototype.bumpSpace = function() {
3683
- for (; !this.isEOF() && Ar(this.char()); )
3683
+ for (; !this.isEOF() && fr(this.char()); )
3684
3684
  this.bump();
3685
3685
  }, e.prototype.peek = function() {
3686
3686
  if (this.isEOF())
@@ -3690,204 +3690,204 @@ var pi = (
3690
3690
  }, e;
3691
3691
  }()
3692
3692
  );
3693
- function mt(e) {
3693
+ function et(e) {
3694
3694
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3695
3695
  }
3696
- function di(e) {
3697
- return mt(e) || e === 47;
3696
+ function oi(e) {
3697
+ return et(e) || e === 47;
3698
3698
  }
3699
- function mi(e) {
3699
+ function ai(e) {
3700
3700
  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;
3701
3701
  }
3702
- function Ar(e) {
3702
+ function fr(e) {
3703
3703
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3704
3704
  }
3705
- function bi(e) {
3705
+ function ui(e) {
3706
3706
  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;
3707
3707
  }
3708
- function bt(e) {
3708
+ function tt(e) {
3709
3709
  e.forEach(function(t) {
3710
- if (delete t.location, gr(t) || yr(t))
3710
+ if (delete t.location, rr(t) || nr(t))
3711
3711
  for (var r in t.options)
3712
- delete t.options[r].location, bt(t.options[r].value);
3712
+ delete t.options[r].location, tt(t.options[r].value);
3713
3713
  else
3714
- dr(t) && _r(t.style) || (mr(t) || br(t)) && ct(t.style) ? delete t.style.location : vr(t) && bt(t.children);
3714
+ Kt(t) && sr(t.style) || (er(t) || tr(t)) && Ye(t.style) ? delete t.style.location : ir(t) && tt(t.children);
3715
3715
  });
3716
3716
  }
3717
- function gi(e, t) {
3718
- t === void 0 && (t = {}), t = $e({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3719
- var r = new pi(e, t).parse();
3717
+ function hi(e, t) {
3718
+ t === void 0 && (t = {}), t = Se({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3719
+ var r = new si(e, t).parse();
3720
3720
  if (r.err) {
3721
- var n = SyntaxError(E[r.err.kind]);
3721
+ var n = SyntaxError(g[r.err.kind]);
3722
3722
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3723
3723
  }
3724
- return t?.captureLocation || bt(r.val), r.val;
3724
+ return t?.captureLocation || tt(r.val), r.val;
3725
3725
  }
3726
- var me;
3726
+ var K;
3727
3727
  (function(e) {
3728
3728
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3729
- })(me || (me = {}));
3730
- var Ve = (
3729
+ })(K || (K = {}));
3730
+ var Be = (
3731
3731
  /** @class */
3732
3732
  function(e) {
3733
- je(t, e);
3733
+ Pe(t, e);
3734
3734
  function t(r, n, i) {
3735
- var o = e.call(this, r) || this;
3736
- return o.code = n, o.originalMessage = i, o;
3735
+ var s = e.call(this, r) || this;
3736
+ return s.code = n, s.originalMessage = i, s;
3737
3737
  }
3738
3738
  return t.prototype.toString = function() {
3739
3739
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3740
3740
  }, t;
3741
3741
  }(Error)
3742
- ), kt = (
3742
+ ), Bt = (
3743
3743
  /** @class */
3744
3744
  function(e) {
3745
- je(t, e);
3746
- function t(r, n, i, o) {
3747
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), me.INVALID_VALUE, o) || this;
3745
+ Pe(t, e);
3746
+ function t(r, n, i, s) {
3747
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), K.INVALID_VALUE, s) || this;
3748
3748
  }
3749
3749
  return t;
3750
- }(Ve)
3751
- ), yi = (
3750
+ }(Be)
3751
+ ), li = (
3752
3752
  /** @class */
3753
3753
  function(e) {
3754
- je(t, e);
3754
+ Pe(t, e);
3755
3755
  function t(r, n, i) {
3756
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), me.INVALID_VALUE, i) || this;
3756
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), K.INVALID_VALUE, i) || this;
3757
3757
  }
3758
3758
  return t;
3759
- }(Ve)
3760
- ), vi = (
3759
+ }(Be)
3760
+ ), ci = (
3761
3761
  /** @class */
3762
3762
  function(e) {
3763
- je(t, e);
3763
+ Pe(t, e);
3764
3764
  function t(r, n) {
3765
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), me.MISSING_VALUE, n) || this;
3765
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), K.MISSING_VALUE, n) || this;
3766
3766
  }
3767
3767
  return t;
3768
- }(Ve)
3769
- ), R;
3768
+ }(Be)
3769
+ ), A;
3770
3770
  (function(e) {
3771
3771
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3772
- })(R || (R = {}));
3773
- function _i(e) {
3772
+ })(A || (A = {}));
3773
+ function fi(e) {
3774
3774
  return e.length < 2 ? e : e.reduce(function(t, r) {
3775
3775
  var n = t[t.length - 1];
3776
- return !n || n.type !== R.literal || r.type !== R.literal ? t.push(r) : n.value += r.value, t;
3776
+ return !n || n.type !== A.literal || r.type !== A.literal ? t.push(r) : n.value += r.value, t;
3777
3777
  }, []);
3778
3778
  }
3779
- function xi(e) {
3779
+ function mi(e) {
3780
3780
  return typeof e == "function";
3781
3781
  }
3782
- function Ne(e, t, r, n, i, o, s) {
3783
- if (e.length === 1 && Nt(e[0]))
3782
+ function Ee(e, t, r, n, i, s, o) {
3783
+ if (e.length === 1 && xt(e[0]))
3784
3784
  return [
3785
3785
  {
3786
- type: R.literal,
3786
+ type: A.literal,
3787
3787
  value: e[0].value
3788
3788
  }
3789
3789
  ];
3790
- for (var a = [], h = 0, l = e; h < l.length; h++) {
3791
- var u = l[h];
3792
- if (Nt(u)) {
3790
+ for (var a = [], h = 0, u = e; h < u.length; h++) {
3791
+ var l = u[h];
3792
+ if (xt(l)) {
3793
3793
  a.push({
3794
- type: R.literal,
3795
- value: u.value
3794
+ type: A.literal,
3795
+ value: l.value
3796
3796
  });
3797
3797
  continue;
3798
3798
  }
3799
- if (jn(u)) {
3800
- typeof o == "number" && a.push({
3801
- type: R.literal,
3802
- value: r.getNumberFormat(t).format(o)
3799
+ if (Mn(l)) {
3800
+ typeof s == "number" && a.push({
3801
+ type: A.literal,
3802
+ value: r.getNumberFormat(t).format(s)
3803
3803
  });
3804
3804
  continue;
3805
3805
  }
3806
- var p = u.value;
3807
- if (!(i && p in i))
3808
- throw new vi(p, s);
3809
- var c = i[p];
3810
- if (kn(u)) {
3806
+ var f = l.value;
3807
+ if (!(i && f in i))
3808
+ throw new ci(f, o);
3809
+ var c = i[f];
3810
+ if (In(l)) {
3811
3811
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3812
- type: typeof c == "string" ? R.literal : R.object,
3812
+ type: typeof c == "string" ? A.literal : A.object,
3813
3813
  value: c
3814
3814
  });
3815
3815
  continue;
3816
3816
  }
3817
- if (mr(u)) {
3818
- var m = typeof u.style == "string" ? n.date[u.style] : ct(u.style) ? u.style.parsedOptions : void 0;
3817
+ if (er(l)) {
3818
+ var d = typeof l.style == "string" ? n.date[l.style] : Ye(l.style) ? l.style.parsedOptions : void 0;
3819
3819
  a.push({
3820
- type: R.literal,
3821
- value: r.getDateTimeFormat(t, m).format(c)
3820
+ type: A.literal,
3821
+ value: r.getDateTimeFormat(t, d).format(c)
3822
3822
  });
3823
3823
  continue;
3824
3824
  }
3825
- if (br(u)) {
3826
- var m = typeof u.style == "string" ? n.time[u.style] : ct(u.style) ? u.style.parsedOptions : n.time.medium;
3825
+ if (tr(l)) {
3826
+ var d = typeof l.style == "string" ? n.time[l.style] : Ye(l.style) ? l.style.parsedOptions : n.time.medium;
3827
3827
  a.push({
3828
- type: R.literal,
3829
- value: r.getDateTimeFormat(t, m).format(c)
3828
+ type: A.literal,
3829
+ value: r.getDateTimeFormat(t, d).format(c)
3830
3830
  });
3831
3831
  continue;
3832
3832
  }
3833
- if (dr(u)) {
3834
- var m = typeof u.style == "string" ? n.number[u.style] : _r(u.style) ? u.style.parsedOptions : void 0;
3835
- m && m.scale && (c = c * (m.scale || 1)), a.push({
3836
- type: R.literal,
3837
- value: r.getNumberFormat(t, m).format(c)
3833
+ if (Kt(l)) {
3834
+ var d = typeof l.style == "string" ? n.number[l.style] : sr(l.style) ? l.style.parsedOptions : void 0;
3835
+ d && d.scale && (c = c * (d.scale || 1)), a.push({
3836
+ type: A.literal,
3837
+ value: r.getNumberFormat(t, d).format(c)
3838
3838
  });
3839
3839
  continue;
3840
3840
  }
3841
- if (vr(u)) {
3842
- var v = u.children, y = u.value, T = i[y];
3843
- if (!xi(T))
3844
- throw new yi(y, "function", s);
3845
- var H = Ne(v, t, r, n, i, o), S = T(H.map(function(L) {
3846
- return L.value;
3841
+ if (ir(l)) {
3842
+ var b = l.children, v = l.value, w = i[v];
3843
+ if (!mi(w))
3844
+ throw new li(v, "function", o);
3845
+ var N = Ee(b, t, r, n, i, s), P = w(N.map(function(B) {
3846
+ return B.value;
3847
3847
  }));
3848
- Array.isArray(S) || (S = [S]), a.push.apply(a, S.map(function(L) {
3848
+ Array.isArray(P) || (P = [P]), a.push.apply(a, P.map(function(B) {
3849
3849
  return {
3850
- type: typeof L == "string" ? R.literal : R.object,
3851
- value: L
3850
+ type: typeof B == "string" ? A.literal : A.object,
3851
+ value: B
3852
3852
  };
3853
3853
  }));
3854
3854
  }
3855
- if (gr(u)) {
3856
- var b = u.options[c] || u.options.other;
3857
- if (!b)
3858
- throw new kt(u.value, c, Object.keys(u.options), s);
3859
- a.push.apply(a, Ne(b.value, t, r, n, i));
3855
+ if (rr(l)) {
3856
+ var T = l.options[c] || l.options.other;
3857
+ if (!T)
3858
+ throw new Bt(l.value, c, Object.keys(l.options), o);
3859
+ a.push.apply(a, Ee(T.value, t, r, n, i));
3860
3860
  continue;
3861
3861
  }
3862
- if (yr(u)) {
3863
- var b = u.options["=".concat(c)];
3864
- if (!b) {
3862
+ if (nr(l)) {
3863
+ var T = l.options["=".concat(c)];
3864
+ if (!T) {
3865
3865
  if (!Intl.PluralRules)
3866
- throw new Ve(`Intl.PluralRules is not available in this environment.
3866
+ throw new Be(`Intl.PluralRules is not available in this environment.
3867
3867
  Try polyfilling it using "@formatjs/intl-pluralrules"
3868
- `, me.MISSING_INTL_API, s);
3869
- var I = r.getPluralRules(t, { type: u.pluralType }).select(c - (u.offset || 0));
3870
- b = u.options[I] || u.options.other;
3868
+ `, K.MISSING_INTL_API, o);
3869
+ var I = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3870
+ T = l.options[I] || l.options.other;
3871
3871
  }
3872
- if (!b)
3873
- throw new kt(u.value, c, Object.keys(u.options), s);
3874
- a.push.apply(a, Ne(b.value, t, r, n, i, c - (u.offset || 0)));
3872
+ if (!T)
3873
+ throw new Bt(l.value, c, Object.keys(l.options), o);
3874
+ a.push.apply(a, Ee(T.value, t, r, n, i, c - (l.offset || 0)));
3875
3875
  continue;
3876
3876
  }
3877
3877
  }
3878
- return _i(a);
3878
+ return fi(a);
3879
3879
  }
3880
- function Ei(e, t) {
3881
- return t ? X(X(X({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3882
- return r[n] = X(X({}, e[n]), t[n] || {}), r;
3880
+ function di(e, t) {
3881
+ return t ? G(G(G({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3882
+ return r[n] = G(G({}, e[n]), t[n] || {}), r;
3883
3883
  }, {})) : e;
3884
3884
  }
3885
- function wi(e, t) {
3885
+ function pi(e, t) {
3886
3886
  return t ? Object.keys(e).reduce(function(r, n) {
3887
- return r[n] = Ei(e[n], t[n]), r;
3888
- }, X({}, e)) : e;
3887
+ return r[n] = di(e[n], t[n]), r;
3888
+ }, G({}, e)) : e;
3889
3889
  }
3890
- function Ke(e) {
3890
+ function Ge(e) {
3891
3891
  return {
3892
3892
  create: function() {
3893
3893
  return {
@@ -3901,77 +3901,77 @@ function Ke(e) {
3901
3901
  }
3902
3902
  };
3903
3903
  }
3904
- function Si(e) {
3904
+ function bi(e) {
3905
3905
  return e === void 0 && (e = {
3906
3906
  number: {},
3907
3907
  dateTime: {},
3908
3908
  pluralRules: {}
3909
3909
  }), {
3910
- getNumberFormat: Qe(function() {
3910
+ getNumberFormat: Me(function() {
3911
3911
  for (var t, r = [], n = 0; n < arguments.length; n++)
3912
3912
  r[n] = arguments[n];
3913
- return new ((t = Intl.NumberFormat).bind.apply(t, Je([void 0], r, !1)))();
3913
+ return new ((t = Intl.NumberFormat).bind.apply(t, Ie([void 0], r, !1)))();
3914
3914
  }, {
3915
- cache: Ke(e.number),
3916
- strategy: qe.variadic
3915
+ cache: Ge(e.number),
3916
+ strategy: Re.variadic
3917
3917
  }),
3918
- getDateTimeFormat: Qe(function() {
3918
+ getDateTimeFormat: Me(function() {
3919
3919
  for (var t, r = [], n = 0; n < arguments.length; n++)
3920
3920
  r[n] = arguments[n];
3921
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Je([void 0], r, !1)))();
3921
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Ie([void 0], r, !1)))();
3922
3922
  }, {
3923
- cache: Ke(e.dateTime),
3924
- strategy: qe.variadic
3923
+ cache: Ge(e.dateTime),
3924
+ strategy: Re.variadic
3925
3925
  }),
3926
- getPluralRules: Qe(function() {
3926
+ getPluralRules: Me(function() {
3927
3927
  for (var t, r = [], n = 0; n < arguments.length; n++)
3928
3928
  r[n] = arguments[n];
3929
- return new ((t = Intl.PluralRules).bind.apply(t, Je([void 0], r, !1)))();
3929
+ return new ((t = Intl.PluralRules).bind.apply(t, Ie([void 0], r, !1)))();
3930
3930
  }, {
3931
- cache: Ke(e.pluralRules),
3932
- strategy: qe.variadic
3931
+ cache: Ge(e.pluralRules),
3932
+ strategy: Re.variadic
3933
3933
  })
3934
3934
  };
3935
3935
  }
3936
- var Ti = (
3936
+ var gi = (
3937
3937
  /** @class */
3938
3938
  function() {
3939
3939
  function e(t, r, n, i) {
3940
3940
  r === void 0 && (r = e.defaultLocale);
3941
- var o = this;
3941
+ var s = this;
3942
3942
  if (this.formatterCache = {
3943
3943
  number: {},
3944
3944
  dateTime: {},
3945
3945
  pluralRules: {}
3946
3946
  }, this.format = function(h) {
3947
- var l = o.formatToParts(h);
3948
- if (l.length === 1)
3949
- return l[0].value;
3950
- var u = l.reduce(function(p, c) {
3951
- return !p.length || c.type !== R.literal || typeof p[p.length - 1] != "string" ? p.push(c.value) : p[p.length - 1] += c.value, p;
3947
+ var u = s.formatToParts(h);
3948
+ if (u.length === 1)
3949
+ return u[0].value;
3950
+ var l = u.reduce(function(f, c) {
3951
+ return !f.length || c.type !== A.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3952
3952
  }, []);
3953
- return u.length <= 1 ? u[0] || "" : u;
3953
+ return l.length <= 1 ? l[0] || "" : l;
3954
3954
  }, this.formatToParts = function(h) {
3955
- return Ne(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3955
+ return Ee(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
3956
3956
  }, this.resolvedOptions = function() {
3957
3957
  var h;
3958
3958
  return {
3959
- locale: ((h = o.resolvedLocale) === null || h === void 0 ? void 0 : h.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
3959
+ locale: ((h = s.resolvedLocale) === null || h === void 0 ? void 0 : h.toString()) || Intl.NumberFormat.supportedLocalesOf(s.locales)[0]
3960
3960
  };
3961
3961
  }, this.getAst = function() {
3962
- return o.ast;
3962
+ return s.ast;
3963
3963
  }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
3964
3964
  if (this.message = t, !e.__parse)
3965
3965
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3966
- var s = i || {};
3967
- s.formatters;
3968
- var a = Ln(s, ["formatters"]);
3969
- this.ast = e.__parse(t, X(X({}, a), { locale: this.resolvedLocale }));
3966
+ var o = i || {};
3967
+ o.formatters;
3968
+ var a = Hn(o, ["formatters"]);
3969
+ this.ast = e.__parse(t, G(G({}, a), { locale: this.resolvedLocale }));
3970
3970
  } else
3971
3971
  this.ast = t;
3972
3972
  if (!Array.isArray(this.ast))
3973
3973
  throw new TypeError("A message must be provided as a String or AST.");
3974
- this.formats = wi(e.formats, n), this.formatters = i && i.formatters || Si(this.formatterCache);
3974
+ this.formats = pi(e.formats, n), this.formatters = i && i.formatters || bi(this.formatterCache);
3975
3975
  }
3976
3976
  return Object.defineProperty(e, "defaultLocale", {
3977
3977
  get: function() {
@@ -3984,7 +3984,7 @@ var Ti = (
3984
3984
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3985
3985
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3986
3986
  }
3987
- }, e.__parse = gi, e.formats = {
3987
+ }, e.__parse = hi, e.formats = {
3988
3988
  number: {
3989
3989
  integer: {
3990
3990
  maximumFractionDigits: 0
@@ -4045,7 +4045,7 @@ var Ti = (
4045
4045
  }, e;
4046
4046
  }()
4047
4047
  );
4048
- function Hi(e, t) {
4048
+ function yi(e, t) {
4049
4049
  if (t == null)
4050
4050
  return;
4051
4051
  if (t in e)
@@ -4055,9 +4055,9 @@ function Hi(e, t) {
4055
4055
  for (let i = 0; i < r.length; i++)
4056
4056
  if (typeof n == "object") {
4057
4057
  if (i > 0) {
4058
- const o = r.slice(i, r.length).join(".");
4059
- if (o in n) {
4060
- n = n[o];
4058
+ const s = r.slice(i, r.length).join(".");
4059
+ if (s in n) {
4060
+ n = n[s];
4061
4061
  break;
4062
4062
  }
4063
4063
  }
@@ -4066,92 +4066,92 @@ function Hi(e, t) {
4066
4066
  n = void 0;
4067
4067
  return n;
4068
4068
  }
4069
- const Q = {}, Ai = (e, t, r) => r && (t in Q || (Q[t] = {}), e in Q[t] || (Q[t][e] = r), r), Pr = (e, t) => {
4069
+ const k = {}, vi = (e, t, r) => r && (t in k || (k[t] = {}), e in k[t] || (k[t][e] = r), r), mr = (e, t) => {
4070
4070
  if (t == null)
4071
4071
  return;
4072
- if (t in Q && e in Q[t])
4073
- return Q[t][e];
4074
- const r = Xe(t);
4072
+ if (t in k && e in k[t])
4073
+ return k[t][e];
4074
+ const r = Oe(t);
4075
4075
  for (let n = 0; n < r.length; n++) {
4076
- const i = r[n], o = Bi(i, e);
4077
- if (o)
4078
- return Ai(e, t, o);
4076
+ const i = r[n], s = Ei(i, e);
4077
+ if (s)
4078
+ return vi(e, t, s);
4079
4079
  }
4080
4080
  };
4081
- let _t;
4082
- const ye = ke({});
4083
- function Pi(e) {
4084
- return _t[e] || null;
4081
+ let at;
4082
+ const de = Ae({});
4083
+ function _i(e) {
4084
+ return at[e] || null;
4085
4085
  }
4086
- function Br(e) {
4087
- return e in _t;
4086
+ function dr(e) {
4087
+ return e in at;
4088
4088
  }
4089
- function Bi(e, t) {
4090
- if (!Br(e))
4089
+ function Ei(e, t) {
4090
+ if (!dr(e))
4091
4091
  return null;
4092
- const r = Pi(e);
4093
- return Hi(r, t);
4092
+ const r = _i(e);
4093
+ return yi(r, t);
4094
4094
  }
4095
- function Fi(e) {
4095
+ function xi(e) {
4096
4096
  if (e == null)
4097
4097
  return;
4098
- const t = Xe(e);
4098
+ const t = Oe(e);
4099
4099
  for (let r = 0; r < t.length; r++) {
4100
4100
  const n = t[r];
4101
- if (Br(n))
4101
+ if (dr(n))
4102
4102
  return n;
4103
4103
  }
4104
4104
  }
4105
- function Fr(e, ...t) {
4106
- delete Q[e], ye.update((r) => (r[e] = In.all([r[e] || {}, ...t]), r));
4105
+ function pr(e, ...t) {
4106
+ delete k[e], de.update((r) => (r[e] = Tn.all([r[e] || {}, ...t]), r));
4107
4107
  }
4108
- ge(
4109
- [ye],
4108
+ ne(
4109
+ [de],
4110
4110
  ([e]) => Object.keys(e)
4111
4111
  );
4112
- ye.subscribe((e) => _t = e);
4113
- const Me = {};
4114
- function Ci(e, t) {
4115
- Me[e].delete(t), Me[e].size === 0 && delete Me[e];
4112
+ de.subscribe((e) => at = e);
4113
+ const xe = {};
4114
+ function Si(e, t) {
4115
+ xe[e].delete(t), xe[e].size === 0 && delete xe[e];
4116
4116
  }
4117
- function Cr(e) {
4118
- return Me[e];
4117
+ function br(e) {
4118
+ return xe[e];
4119
4119
  }
4120
- function Oi(e) {
4121
- return Xe(e).map((t) => {
4122
- const r = Cr(t);
4120
+ function wi(e) {
4121
+ return Oe(e).map((t) => {
4122
+ const r = br(t);
4123
4123
  return [t, r ? [...r] : []];
4124
4124
  }).filter(([, t]) => t.length > 0);
4125
4125
  }
4126
- function gt(e) {
4127
- return e == null ? !1 : Xe(e).some(
4126
+ function rt(e) {
4127
+ return e == null ? !1 : Oe(e).some(
4128
4128
  (t) => {
4129
4129
  var r;
4130
- return (r = Cr(t)) == null ? void 0 : r.size;
4130
+ return (r = br(t)) == null ? void 0 : r.size;
4131
4131
  }
4132
4132
  );
4133
4133
  }
4134
- function Ii(e, t) {
4134
+ function Ti(e, t) {
4135
4135
  return Promise.all(
4136
- t.map((n) => (Ci(e, n), n().then((i) => i.default || i)))
4137
- ).then((n) => Fr(e, ...n));
4138
- }
4139
- const _e = {};
4140
- function Or(e) {
4141
- if (!gt(e))
4142
- return e in _e ? _e[e] : Promise.resolve();
4143
- const t = Oi(e);
4144
- return _e[e] = Promise.all(
4136
+ t.map((n) => (Si(e, n), n().then((i) => i.default || i)))
4137
+ ).then((n) => pr(e, ...n));
4138
+ }
4139
+ const oe = {};
4140
+ function gr(e) {
4141
+ if (!rt(e))
4142
+ return e in oe ? oe[e] : Promise.resolve();
4143
+ const t = wi(e);
4144
+ return oe[e] = Promise.all(
4145
4145
  t.map(
4146
- ([r, n]) => Ii(r, n)
4146
+ ([r, n]) => Ti(r, n)
4147
4147
  )
4148
4148
  ).then(() => {
4149
- if (gt(e))
4150
- return Or(e);
4151
- delete _e[e];
4152
- }), _e[e];
4149
+ if (rt(e))
4150
+ return gr(e);
4151
+ delete oe[e];
4152
+ }), oe[e];
4153
4153
  }
4154
- const Li = {
4154
+ const Hi = {
4155
4155
  number: {
4156
4156
  scientific: { notation: "scientific" },
4157
4157
  engineering: { notation: "engineering" },
@@ -4180,176 +4180,176 @@ const Li = {
4180
4180
  timeZoneName: "short"
4181
4181
  }
4182
4182
  }
4183
- }, Ni = {
4183
+ }, Ai = {
4184
4184
  fallbackLocale: null,
4185
4185
  loadingDelay: 200,
4186
- formats: Li,
4186
+ formats: Hi,
4187
4187
  warnOnMissingMessages: !0,
4188
4188
  handleMissingMessage: void 0,
4189
4189
  ignoreTag: !0
4190
- }, Mi = Ni;
4191
- function be() {
4192
- return Mi;
4190
+ }, Pi = Ai;
4191
+ function ee() {
4192
+ return Pi;
4193
4193
  }
4194
- const et = ke(!1);
4195
- var Ri = Object.defineProperty, $i = Object.defineProperties, Ui = Object.getOwnPropertyDescriptors, jt = Object.getOwnPropertySymbols, Di = Object.prototype.hasOwnProperty, Gi = Object.prototype.propertyIsEnumerable, Vt = (e, t, r) => t in e ? Ri(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ki = (e, t) => {
4194
+ const De = Ae(!1);
4195
+ var Bi = Object.defineProperty, Oi = Object.defineProperties, Li = Object.getOwnPropertyDescriptors, Ot = Object.getOwnPropertySymbols, Ci = Object.prototype.hasOwnProperty, Ni = Object.prototype.propertyIsEnumerable, Lt = (e, t, r) => t in e ? Bi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ii = (e, t) => {
4196
4196
  for (var r in t || (t = {}))
4197
- Di.call(t, r) && Vt(e, r, t[r]);
4198
- if (jt)
4199
- for (var r of jt(t))
4200
- Gi.call(t, r) && Vt(e, r, t[r]);
4197
+ Ci.call(t, r) && Lt(e, r, t[r]);
4198
+ if (Ot)
4199
+ for (var r of Ot(t))
4200
+ Ni.call(t, r) && Lt(e, r, t[r]);
4201
4201
  return e;
4202
- }, ji = (e, t) => $i(e, Ui(t));
4203
- let yt;
4204
- const Ue = ke(null);
4205
- function Xt(e) {
4202
+ }, Mi = (e, t) => Oi(e, Li(t));
4203
+ let nt;
4204
+ const we = Ae(null);
4205
+ function Ct(e) {
4206
4206
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4207
4207
  }
4208
- function Xe(e, t = be().fallbackLocale) {
4209
- const r = Xt(e);
4210
- return t ? [.../* @__PURE__ */ new Set([...r, ...Xt(t)])] : r;
4208
+ function Oe(e, t = ee().fallbackLocale) {
4209
+ const r = Ct(e);
4210
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Ct(t)])] : r;
4211
4211
  }
4212
- function ne() {
4213
- return yt ?? void 0;
4212
+ function X() {
4213
+ return nt ?? void 0;
4214
4214
  }
4215
- Ue.subscribe((e) => {
4216
- yt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4215
+ we.subscribe((e) => {
4216
+ nt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4217
4217
  });
4218
- const Vi = (e) => {
4219
- if (e && Fi(e) && gt(e)) {
4220
- const { loadingDelay: t } = be();
4218
+ const Ri = (e) => {
4219
+ if (e && xi(e) && rt(e)) {
4220
+ const { loadingDelay: t } = ee();
4221
4221
  let r;
4222
- return typeof window < "u" && ne() != null && t ? r = window.setTimeout(
4223
- () => et.set(!0),
4222
+ return typeof window < "u" && X() != null && t ? r = window.setTimeout(
4223
+ () => De.set(!0),
4224
4224
  t
4225
- ) : et.set(!0), Or(e).then(() => {
4226
- Ue.set(e);
4225
+ ) : De.set(!0), gr(e).then(() => {
4226
+ we.set(e);
4227
4227
  }).finally(() => {
4228
- clearTimeout(r), et.set(!1);
4228
+ clearTimeout(r), De.set(!1);
4229
4229
  });
4230
4230
  }
4231
- return Ue.set(e);
4232
- }, re = ji(ki({}, Ue), {
4233
- set: Vi
4234
- }), We = (e) => {
4231
+ return we.set(e);
4232
+ }, ie = Mi(Ii({}, we), {
4233
+ set: Ri
4234
+ }), Le = (e) => {
4235
4235
  const t = /* @__PURE__ */ Object.create(null);
4236
4236
  return (n) => {
4237
4237
  const i = JSON.stringify(n);
4238
4238
  return i in t ? t[i] : t[i] = e(n);
4239
4239
  };
4240
4240
  };
4241
- var Xi = Object.defineProperty, De = Object.getOwnPropertySymbols, Ir = Object.prototype.hasOwnProperty, Lr = Object.prototype.propertyIsEnumerable, Wt = (e, t, r) => t in e ? Xi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, xt = (e, t) => {
4241
+ var Ui = Object.defineProperty, Te = Object.getOwnPropertySymbols, yr = Object.prototype.hasOwnProperty, vr = Object.prototype.propertyIsEnumerable, Nt = (e, t, r) => t in e ? Ui(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ut = (e, t) => {
4242
4242
  for (var r in t || (t = {}))
4243
- Ir.call(t, r) && Wt(e, r, t[r]);
4244
- if (De)
4245
- for (var r of De(t))
4246
- Lr.call(t, r) && Wt(e, r, t[r]);
4243
+ yr.call(t, r) && Nt(e, r, t[r]);
4244
+ if (Te)
4245
+ for (var r of Te(t))
4246
+ vr.call(t, r) && Nt(e, r, t[r]);
4247
4247
  return e;
4248
- }, ve = (e, t) => {
4248
+ }, se = (e, t) => {
4249
4249
  var r = {};
4250
4250
  for (var n in e)
4251
- Ir.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4252
- if (e != null && De)
4253
- for (var n of De(e))
4254
- t.indexOf(n) < 0 && Lr.call(e, n) && (r[n] = e[n]);
4251
+ yr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4252
+ if (e != null && Te)
4253
+ for (var n of Te(e))
4254
+ t.indexOf(n) < 0 && vr.call(e, n) && (r[n] = e[n]);
4255
4255
  return r;
4256
4256
  };
4257
- const Te = (e, t) => {
4258
- const { formats: r } = be();
4257
+ const ce = (e, t) => {
4258
+ const { formats: r } = ee();
4259
4259
  if (e in r && t in r[e])
4260
4260
  return r[e][t];
4261
4261
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4262
- }, Wi = We(
4262
+ }, Gi = Le(
4263
4263
  (e) => {
4264
- var t = e, { locale: r, format: n } = t, i = ve(t, ["locale", "format"]);
4264
+ var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
4265
4265
  if (r == null)
4266
4266
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4267
- return n && (i = Te("number", n)), new Intl.NumberFormat(r, i);
4267
+ return n && (i = ce("number", n)), new Intl.NumberFormat(r, i);
4268
4268
  }
4269
- ), zi = We(
4269
+ ), Di = Le(
4270
4270
  (e) => {
4271
- var t = e, { locale: r, format: n } = t, i = ve(t, ["locale", "format"]);
4271
+ var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
4272
4272
  if (r == null)
4273
4273
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4274
- return n ? i = Te("date", n) : Object.keys(i).length === 0 && (i = Te("date", "short")), new Intl.DateTimeFormat(r, i);
4274
+ return n ? i = ce("date", n) : Object.keys(i).length === 0 && (i = ce("date", "short")), new Intl.DateTimeFormat(r, i);
4275
4275
  }
4276
- ), Zi = We(
4276
+ ), $i = Le(
4277
4277
  (e) => {
4278
- var t = e, { locale: r, format: n } = t, i = ve(t, ["locale", "format"]);
4278
+ var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
4279
4279
  if (r == null)
4280
4280
  throw new Error(
4281
4281
  '[svelte-i18n] A "locale" must be set to format time values'
4282
4282
  );
4283
- return n ? i = Te("time", n) : Object.keys(i).length === 0 && (i = Te("time", "short")), new Intl.DateTimeFormat(r, i);
4283
+ return n ? i = ce("time", n) : Object.keys(i).length === 0 && (i = ce("time", "short")), new Intl.DateTimeFormat(r, i);
4284
4284
  }
4285
- ), Ji = (e = {}) => {
4285
+ ), Fi = (e = {}) => {
4286
4286
  var t = e, {
4287
- locale: r = ne()
4288
- } = t, n = ve(t, [
4287
+ locale: r = X()
4288
+ } = t, n = se(t, [
4289
4289
  "locale"
4290
4290
  ]);
4291
- return Wi(xt({ locale: r }, n));
4292
- }, Qi = (e = {}) => {
4291
+ return Gi(ut({ locale: r }, n));
4292
+ }, ji = (e = {}) => {
4293
4293
  var t = e, {
4294
- locale: r = ne()
4295
- } = t, n = ve(t, [
4294
+ locale: r = X()
4295
+ } = t, n = se(t, [
4296
4296
  "locale"
4297
4297
  ]);
4298
- return zi(xt({ locale: r }, n));
4299
- }, qi = (e = {}) => {
4298
+ return Di(ut({ locale: r }, n));
4299
+ }, ki = (e = {}) => {
4300
4300
  var t = e, {
4301
- locale: r = ne()
4302
- } = t, n = ve(t, [
4301
+ locale: r = X()
4302
+ } = t, n = se(t, [
4303
4303
  "locale"
4304
4304
  ]);
4305
- return Zi(xt({ locale: r }, n));
4306
- }, Yi = We(
4305
+ return $i(ut({ locale: r }, n));
4306
+ }, Vi = Le(
4307
4307
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4308
- (e, t = ne()) => new Ti(e, t, be().formats, {
4309
- ignoreTag: be().ignoreTag
4308
+ (e, t = X()) => new gi(e, t, ee().formats, {
4309
+ ignoreTag: ee().ignoreTag
4310
4310
  })
4311
- ), Ki = (e, t = {}) => {
4312
- var r, n, i, o;
4313
- let s = t;
4314
- typeof e == "object" && (s = e, e = s.id);
4311
+ ), Xi = (e, t = {}) => {
4312
+ var r, n, i, s;
4313
+ let o = t;
4314
+ typeof e == "object" && (o = e, e = o.id);
4315
4315
  const {
4316
4316
  values: a,
4317
- locale: h = ne(),
4318
- default: l
4319
- } = s;
4317
+ locale: h = X(),
4318
+ default: u
4319
+ } = o;
4320
4320
  if (h == null)
4321
4321
  throw new Error(
4322
4322
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4323
4323
  );
4324
- let u = Pr(e, h);
4325
- if (!u)
4326
- u = (o = (i = (n = (r = be()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4327
- else if (typeof u != "string")
4324
+ let l = mr(e, h);
4325
+ if (!l)
4326
+ l = (s = (i = (n = (r = ee()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
4327
+ else if (typeof l != "string")
4328
4328
  return console.warn(
4329
- `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
4330
- ), u;
4329
+ `[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.`
4330
+ ), l;
4331
4331
  if (!a)
4332
- return u;
4333
- let p = u;
4332
+ return l;
4333
+ let f = l;
4334
4334
  try {
4335
- p = Yi(u, h).format(a);
4335
+ f = Vi(l, h).format(a);
4336
4336
  } catch (c) {
4337
4337
  c instanceof Error && console.warn(
4338
4338
  `[svelte-i18n] Message "${e}" has syntax error:`,
4339
4339
  c.message
4340
4340
  );
4341
4341
  }
4342
- return p;
4343
- }, eo = (e, t) => qi(t).format(e), to = (e, t) => Qi(t).format(e), ro = (e, t) => Ji(t).format(e), no = (e, t = ne()) => Pr(e, t), io = ge([re, ye], () => Ki);
4344
- ge([re], () => eo);
4345
- ge([re], () => to);
4346
- ge([re], () => ro);
4347
- ge([re, ye], () => no);
4348
- window.emWidgets = { topic: bn };
4349
- const oo = (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)), so = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4350
- function Bo(e, t) {
4342
+ return f;
4343
+ }, Wi = (e, t) => ki(t).format(e), zi = (e, t) => ji(t).format(e), Zi = (e, t) => Fi(t).format(e), qi = (e, t = X()) => mr(e, t), Yi = ne([ie, de], () => Xi);
4344
+ ne([ie], () => Wi);
4345
+ ne([ie], () => zi);
4346
+ ne([ie], () => Zi);
4347
+ ne([ie, de], () => qi);
4348
+ window.emWidgets = { topic: un };
4349
+ const Ji = (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)), Qi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4350
+ function ws(e, t) {
4351
4351
  const r = window.navigator.userAgent;
4352
- return oo(r) ? t = e.filter((n) => {
4352
+ return Ji(r) ? t = e.filter((n) => {
4353
4353
  if (n.gameModel && (n.gameModel.platform.includes("iPad") || n.gameModel.platform.includes("iPhone") || n.gameModel.platform.includes("Android")))
4354
4354
  return n;
4355
4355
  }) : t = e.filter((n) => {
@@ -4358,13 +4358,14 @@ function Bo(e, t) {
4358
4358
  }), t;
4359
4359
  }
4360
4360
  String(Number.MAX_SAFE_INTEGER).length;
4361
- function ao(e, t) {
4361
+ const q = "__WIDGET_GLOBAL_STYLE_CACHE__";
4362
+ function Ki(e, t) {
4362
4363
  if (e) {
4363
4364
  const r = document.createElement("style");
4364
4365
  r.innerHTML = t, e.appendChild(r);
4365
4366
  }
4366
4367
  }
4367
- function lo(e, t) {
4368
+ function es(e, t) {
4368
4369
  if (!e || !t)
4369
4370
  return;
4370
4371
  const r = new URL(t);
@@ -4375,699 +4376,681 @@ function lo(e, t) {
4375
4376
  console.error("There was an error while trying to load client styling from URL", n);
4376
4377
  });
4377
4378
  }
4378
- function uo(e, t, r) {
4379
- if (window.emMessageBus) {
4380
- const n = document.createElement("style");
4381
- window.emMessageBus.subscribe(t, (i) => {
4382
- n.innerHTML = i, e && e.appendChild(n);
4383
- });
4384
- }
4379
+ function ts(e, t, r, n = !1) {
4380
+ if (!window.emMessageBus)
4381
+ return;
4382
+ if (!("adoptedStyleSheets" in Document.prototype) || !n)
4383
+ return r = rs(e, t), r;
4384
+ window[q] || (window[q] = {}), r = ns(e, t);
4385
+ const s = r.unsubscribe.bind(r), o = () => {
4386
+ if (window[q][t]) {
4387
+ const a = window[q][t];
4388
+ a.refCount > 1 ? a.refCount = a.refCount - 1 : delete window[q][t];
4389
+ }
4390
+ s();
4391
+ };
4392
+ return r.unsubscribe = o, r;
4385
4393
  }
4386
- function ho({ withLocale: e, translations: t }) {
4387
- re.subscribe((r) => {
4388
- r == null && (ye.set(t), re.set(e));
4394
+ function rs(e, t) {
4395
+ const r = document.createElement("style");
4396
+ return window.emMessageBus.subscribe(t, (n) => {
4397
+ e && (r.innerHTML = n, e.appendChild(r));
4398
+ });
4399
+ }
4400
+ function ns(e, t) {
4401
+ return window.emMessageBus.subscribe(t, (r) => {
4402
+ if (!e)
4403
+ return;
4404
+ const n = e.getRootNode(), i = window[q];
4405
+ let s = i[t]?.sheet;
4406
+ s ? i[t].refCount = i[t].refCount + 1 : (s = new CSSStyleSheet(), s.replaceSync(r), i[t] = {
4407
+ sheet: s,
4408
+ refCount: 1
4409
+ });
4410
+ const o = n.adoptedStyleSheets || [];
4411
+ o.includes(s) || (n.adoptedStyleSheets = [...o, s]);
4389
4412
  });
4390
4413
  }
4391
- function zt(e, t) {
4392
- Fr(e, t);
4414
+ function It(e, t) {
4415
+ pr(e, t);
4416
+ }
4417
+ function is(e) {
4418
+ ie.set(e);
4393
4419
  }
4394
- const Zt = {
4420
+ const Mt = {
4395
4421
  en: {
4396
- providers: "Providers:",
4397
- filterby: "Filter by:",
4398
- all: "All",
4399
- clear: "Clear all"
4400
- },
4401
- zh: {
4402
- providers: "Providers:",
4403
- filterby: "Filter by",
4404
- all: "all",
4405
- clear: "Clear all"
4422
+ noRecentGames: "You haven't played yet but here you will find in the future a list of your games."
4406
4423
  },
4407
4424
  de: {
4408
- providers: "Providers:",
4409
- filterby: "Filter by:",
4410
- all: "all",
4411
- clear: "Clear all"
4412
- },
4413
- it: {
4414
- providers: "Providers:",
4415
- filterby: "Filter by:",
4416
- all: "all",
4417
- clear: "Clear all"
4418
- },
4419
- fr: {
4420
- providers: "Providers:",
4421
- filterby: "Filter by:",
4422
- all: "all",
4423
- clear: "Clear all"
4425
+ noRecentGames: "Du hast bisher noch nicht gespielt, aber hier findest du in Zukunft eine Liste deiner Spiele."
4424
4426
  },
4425
4427
  es: {
4426
- providers: "Proveedores:",
4427
- filterby: "Filtrar Por:",
4428
- all: "Todos",
4429
- clear: "Limpiar todos"
4430
- },
4431
- tr: {
4432
- providers: "Sağlayıcılar:",
4433
- filterby: "Filtrele:",
4434
- all: "Hepsi",
4435
- clear: "Tümünü Temizle"
4436
- },
4437
- ru: {
4438
- providers: "Providers:",
4439
- filterby: "Filter by:",
4440
- all: "all",
4441
- clear: "Clear all"
4442
- },
4443
- ro: {
4444
- providers: "Providers:",
4445
- filterby: "Filter by:",
4446
- all: "all",
4447
- clear: "Clear all"
4428
+ noRecentGames: "No has jugado aún pero aquí encontrarás en el futuro una lista de tus juegos."
4448
4429
  },
4449
4430
  hr: {
4450
- providers: "Brendovi igara",
4451
- filterby: "Filtrirati po:",
4452
- all: "Sve",
4453
- clear: "Očisti sve"
4454
- },
4455
- hu: {
4456
- providers: "Providers:",
4457
- filterby: "Filter by:",
4458
- all: "all",
4459
- clear: "Clear all"
4460
- },
4461
- pl: {
4462
- providers: "Providers:",
4463
- filterby: "Filter by:",
4464
- all: "all",
4465
- clear: "Clear all"
4466
- },
4467
- pt: {
4468
- providers: "Providers:",
4469
- filterby: "Filter by:",
4470
- all: "all",
4471
- clear: "Clear all"
4472
- },
4473
- sl: {
4474
- providers: "Providers:",
4475
- filterby: "Filter by:",
4476
- all: "all",
4477
- clear: "Clear all"
4478
- },
4479
- sr: {
4480
- providers: "Providers:",
4481
- filterby: "Filter by:",
4482
- all: "all",
4483
- clear: "Clear all"
4431
+ noRecentGames: "Još niste igrali, ali ovdje ćete u budućnosti pronaći popis svojih igara."
4484
4432
  },
4485
4433
  "pt-br": {
4486
- providers: "Provedores:",
4487
- filterby: "Filtrar por",
4488
- all: "Tudo",
4489
- clear: "Apagar tudo"
4434
+ noRecentGames: "Você ainda não jogou, mas aqui você encontrará a lista futura de jogos jogados."
4490
4435
  },
4491
4436
  "es-mx": {
4492
- providers: "Proveedores:",
4493
- filterby: "Filtrar por",
4494
- all: "Todo",
4495
- clear: "Borrar todo"
4437
+ noRecentGames: "Aún no has jugado pero aquí encontrarás la futura lista de juegos jugados."
4438
+ },
4439
+ tr: {
4440
+ noRecentGames: "Henüz oynamadınız ama burada gelecekte oyun listenizi bulacaksınız."
4496
4441
  },
4497
4442
  "en-us": {
4498
- providers: "Providers:",
4499
- filterby: "Filter by:",
4500
- all: "All",
4501
- clear: "Clear all"
4443
+ noRecentGames: "You haven't played yet but here you will find in the future a list of your games."
4502
4444
  }
4503
4445
  };
4504
- function co(e) {
4505
- Ur(e, "svelte-14m0j7n", ':root{--min-height:50px}.SearchLoading{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.FilterContainer{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));position:relative;z-index:17}.FilterSelector{background-color:var(--emw--color-gray-300, #58586B);display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;max-width:fit-content;cursor:pointer}.FilterSelector.FilterSelectorOpen{border-radius:5px 5px 0 0}.FilterMainArea{display:flex;align-items:center}.FilterMainArea svg{margin-right:16px}.FilterName{font-size:11px;line-height:12px;color:var(--emw--color-gray-100, #E6E6E6);text-transform:uppercase}.FilterTextContainer{display:flex;flex-direction:column}.FilterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.FilterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:48px;margin-bottom:40px;overflow:hidden;margin:0}.FilterDropdownContainer.FilterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:20px}.FilterDropdown{width:100%;max-height:300px;display:flex;flex-direction:column;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none}.FilterDropdown::-webkit-scrollbar{display:none}.FilterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;padding:0 15px;-webkit-user-select:none;-ms-user-select:none;user-select:none}.FilterItem input{cursor:pointer;margin-right:10px}.FilterItem:hover input~.FiltersCheckmark{background-color:transparent;border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))}.FilterItem input:checked~.FiltersCheckmark{background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))}.FilterItem .FiltersCheckmark{transition:all 0.05s ease-in;margin-right:15px}.FilterItem .FiltersCheckmark:after{content:"";position:absolute;left:9px;display:none}.FilterItem input:checked~.FiltersCheckmark:after{display:block}.FilterItem .FiltersCheckmark:after{left:8px;top:4px;width:5px;height:10px;border:1px solid var(--emw--color-white, #FFFFFF);border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0}.FilterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.FilterLabel .FiltersCheckmark{border-radius:8px;position:relative;height:22px;width:22px;min-width:22px;background-color:transparent;border:1px solid var(--emw--color-white, #FFFFFF)}.FilterLabel .FilterItemLabel{width:100%;display:flex;justify-content:space-between;overflow:hidden}.FilterLabel .FilterItemLabel span.VendorName{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.FilterItemWithLogos label{height:70px;display:flex;justify-content:space-evenly;align-items:center}.FilterItemWithLogos label img{width:70px}.FilterLabel input:checked+span{font-weight:600}.FilterCounter{display:inline-flex;margin-left:10px;min-width:17px}.ClearFilters{margin:20px auto;border:0;color:#fff;background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));font-size:18px;padding:10px 50px;border-radius:5px;cursor:pointer;transition:all 0.1s ease-in;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ClearFilters:disabled{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);pointer-events:none;cursor:not-allowed}@media only screen and (max-width: 768px){.FilterSelector{max-width:initial}.FilterDropdownContainer{width:100%;margin-bottom:20px}.FilterDropdown{margin-block-start:0;gap:14px}.FilterItemWithLogos label{justify-content:center}.FilerContainerSplit .FilterSelector{padding:7px}.FilerContainerSplit .FilterSelector .FilterCounter{margin-left:0}.FilerContainerSplit .FilterMainArea svg{margin:0 10px}.FilerContainerSplit .FilterDropdown{padding:0 5px;box-sizing:border-box}.FilerContainerSplit .FilterDropdownContainer{top:42px}.FilerContainerSplit .ClearFilters{padding:8px 20px;font-size:15px}.FilterLabel .FiltersCheckmark{margin-right:15px}.FilterItem.FilterItemWithLogos{display:flex;align-items:center;justify-content:center}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0 20px 0 0}.FilerContainerSplit .FilterItem label{padding:0;width:calc(100% - 10px);font-size:12px}.FilterItem label>*{pointer-events:none}}@media(max-width: 480px){.FilerContainerSplit .FilterSelector{min-height:var(--min-height)}.FilerContainerSplit .FilterDropdownContainer{top:var(--min-height)}.FilterName,.FilterValueContainer{overflow:hidden;max-width:100%;font-size:12px;text-overflow:ellipsis;width:fit-content}.FilterLabel .FiltersCheckmark{margin-right:5px}.FilterItem label{padding:0;font-size:11px;overflow:hidden;text-overflow:ellipsis;width:unset}.FilterItemLabel span:first-child{display:inline-block;overflow:hidden;text-overflow:ellipsis;max-width:60%}}');
4506
- }
4507
- function Jt(e, t, r) {
4508
- const n = e.slice();
4509
- return n[37] = t[r], n[38] = t, n[39] = r, n;
4510
- }
4511
- function fo(e) {
4512
- let t, r, n, i, o, s, a, h, l = (
4513
- /*$_*/
4514
- e[11]("filterby") + ""
4515
- ), u, p, c, m, v = (
4516
- /*$_*/
4517
- e[11]("providers") + ""
4518
- ), y, T, H, S, b, I, L, M, A, P, N, z, j, Y = (
4519
- /*$_*/
4520
- e[11]("clear") + ""
4521
- ), ie, K, oe, ee, se, Ae;
4522
- function Pe(d, C) {
4523
- return (
4524
- /*fullSelection*/
4525
- d[7] ? bo : mo
4526
- );
4527
- }
4528
- let ae = Pe(e), U = ae(e), J = Ht(
4529
- /*vendorArray*/
4530
- e[5]
4531
- ), f = [];
4532
- for (let d = 0; d < J.length; d += 1)
4533
- f[d] = Qt(Jt(e, J, d));
4534
- return {
4535
- c() {
4536
- t = B("div"), r = B("div"), n = B("div"), i = xe("svg"), o = xe("path"), s = V(), a = B("div"), h = B("span"), u = D(l), p = V(), c = B("div"), m = B("span"), y = D(v), T = V(), U.c(), H = V(), S = B("span"), b = xe("svg"), I = xe("path"), A = V(), P = B("div"), N = B("ul");
4537
- for (let d = 0; d < f.length; d += 1)
4538
- f[d].c();
4539
- z = V(), j = B("button"), ie = D(Y), g(o, "id", "noun_filter_736223"), g(o, "d", "M12.2,22.2a1.018,1.018,0,0,1-.391-.091.939.939,0,0,1-.533-.857v-6.2L5.267,8.9A.95.95,0,0,1,5,8.225V7.149A.93.93,0,0,1,5.924,6.2H20.076A.93.93,0,0,1,21,7.149V8.225a.95.95,0,0,1-.267.675l-6.009,6.148V19.81a.981.981,0,0,1-.32.712l-1.6,1.423A.9.9,0,0,1,12.2,22.2ZM6,8.189,12,14.355a.95.95,0,0,1,.267.675v6.039l1.44-1.277v-4.78a.95.95,0,0,1,.267-.675L19.987,8.17V7.2H6Z"), g(o, "transform", "translate(-5 -6.2)"), g(o, "fill", "#fff"), g(i, "xmlns", "http://www.w3.org/2000/svg"), g(i, "width", "16"), g(i, "height", "16"), g(i, "viewBox", "0 0 16 16"), g(h, "class", "FilterName"), g(c, "class", "FilterValueContainer"), g(a, "class", "FilterTextContainer"), g(n, "class", "FilterMainArea"), g(I, "id", "arrow"), g(I, "d", "M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"), g(I, "transform", "translate(-274.511 -441.088)"), g(I, "fill", "#d1d1d1"), g(b, "xmlns", "http://www.w3.org/2000/svg"), g(b, "width", "14"), g(b, "height", "6.835"), g(b, "viewBox", "0 0 14 6.835"), g(S, "class", L = "TriangleInactive " + /*isFilterActive*/
4540
- (e[4] ? "TriangleActive" : "")), g(r, "class", M = "FilterSelector " + /*isFilterActive*/
4541
- (e[4] ? "FilterSelectorOpen" : "")), g(N, "class", "FilterDropdown"), g(j, "class", "ClearFilters"), j.disabled = K = /*fullSelection*/
4542
- e[7] && /*selectedVendorArray*/
4543
- e[6].length != /*vendorArray*/
4544
- e[5].length, g(P, "class", oe = "FilterDropdownContainer " + /*isFilterActive*/
4545
- (e[4] ? "FilterOpen" : "")), g(t, "class", ee = "FilterContainer " + /*addfilterselector*/
4546
- (e[0] == "true" && /*addsortingselector*/
4547
- e[1] == "true" ? "FilerContainerSplit" : ""));
4548
- },
4549
- m(d, C) {
4550
- W(d, t, C), _(t, r), _(r, n), _(n, i), _(i, o), _(n, s), _(n, a), _(a, h), _(h, u), _(a, p), _(a, c), _(c, m), _(m, y), _(c, T), U.m(c, null), _(r, H), _(r, S), _(S, b), _(b, I), _(t, A), _(t, P), _(P, N);
4551
- for (let x = 0; x < f.length; x += 1)
4552
- f[x] && f[x].m(N, null);
4553
- _(P, z), _(P, j), _(j, ie), se || (Ae = [
4554
- Re(
4555
- r,
4556
- "click",
4557
- /*click_handler*/
4558
- e[24]
4559
- ),
4560
- Re(
4561
- j,
4562
- "click",
4563
- /*click_handler_2*/
4564
- e[27]
4565
- )
4566
- ], se = !0);
4567
- },
4568
- p(d, C) {
4569
- if (C[0] & /*$_*/
4570
- 2048 && l !== (l = /*$_*/
4571
- d[11]("filterby") + "") && te(u, l), C[0] & /*$_*/
4572
- 2048 && v !== (v = /*$_*/
4573
- d[11]("providers") + "") && te(y, v), ae === (ae = Pe(d)) && U ? U.p(d, C) : (U.d(1), U = ae(d), U && (U.c(), U.m(c, null))), C[0] & /*isFilterActive*/
4574
- 16 && L !== (L = "TriangleInactive " + /*isFilterActive*/
4575
- (d[4] ? "TriangleActive" : "")) && g(S, "class", L), C[0] & /*isFilterActive*/
4576
- 16 && M !== (M = "FilterSelector " + /*isFilterActive*/
4577
- (d[4] ? "FilterSelectorOpen" : "")) && g(r, "class", M), C[0] & /*filterbylogo, vendorArray, filterByVendors*/
4578
- 8228) {
4579
- J = Ht(
4580
- /*vendorArray*/
4581
- d[5]
4582
- );
4583
- let x;
4584
- for (x = 0; x < J.length; x += 1) {
4585
- const le = Jt(d, J, x);
4586
- f[x] ? f[x].p(le, C) : (f[x] = Qt(le), f[x].c(), f[x].m(N, null));
4587
- }
4588
- for (; x < f.length; x += 1)
4589
- f[x].d(1);
4590
- f.length = J.length;
4446
+ if (typeof window < "u") {
4447
+ let e = function(t) {
4448
+ return function(...r) {
4449
+ try {
4450
+ return t.apply(this, r);
4451
+ } catch (n) {
4452
+ if (n instanceof DOMException && n.message.includes("has already been used with this registry") || n.message.includes("Cannot define multiple custom elements with the same tag name"))
4453
+ return !1;
4454
+ throw n;
4591
4455
  }
4592
- C[0] & /*$_*/
4593
- 2048 && Y !== (Y = /*$_*/
4594
- d[11]("clear") + "") && te(ie, Y), C[0] & /*fullSelection, selectedVendorArray, vendorArray*/
4595
- 224 && K !== (K = /*fullSelection*/
4596
- d[7] && /*selectedVendorArray*/
4597
- d[6].length != /*vendorArray*/
4598
- d[5].length) && (j.disabled = K), C[0] & /*isFilterActive*/
4599
- 16 && oe !== (oe = "FilterDropdownContainer " + /*isFilterActive*/
4600
- (d[4] ? "FilterOpen" : "")) && g(P, "class", oe), C[0] & /*addfilterselector, addsortingselector*/
4601
- 3 && ee !== (ee = "FilterContainer " + /*addfilterselector*/
4602
- (d[0] == "true" && /*addsortingselector*/
4603
- d[1] == "true" ? "FilerContainerSplit" : "")) && g(t, "class", ee);
4604
- },
4605
- d(d) {
4606
- d && k(t), U.d(), kr(f, d), se = !1, q(Ae);
4607
- }
4456
+ };
4608
4457
  };
4458
+ customElements.define = e(customElements.define), import("./CasinoGamesCategorySection-BxPHrlVj.js").then((t) => t.C).then(({ default: t }) => {
4459
+ !customElements.get("casino-games-category-section") && customElements.define("casino-games-category-section", t.element);
4460
+ });
4609
4461
  }
4610
- function po(e) {
4611
- let t, r = (
4612
- /*$_*/
4613
- e[11]("500") + ""
4614
- );
4615
- return {
4616
- c() {
4617
- t = B("p"), g(t, "class", "SearchLoading");
4618
- },
4619
- m(n, i) {
4620
- W(n, t, i), t.innerHTML = r;
4621
- },
4622
- p(n, i) {
4623
- i[0] & /*$_*/
4624
- 2048 && r !== (r = /*$_*/
4625
- n[11]("500") + "") && (t.innerHTML = r);
4626
- },
4627
- d(n) {
4628
- n && k(t);
4629
- }
4630
- };
4462
+ function ss(e) {
4463
+ Or(e, "svelte-9pcrt1", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CasinoLastPlayedSection{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}");
4631
4464
  }
4632
- function mo(e) {
4633
- let t, r;
4465
+ function os(e) {
4466
+ let t;
4634
4467
  return {
4635
4468
  c() {
4636
- t = B("span"), r = D(
4637
- /*selectionNumber*/
4469
+ t = V("casino-games-category-section"), p(
4470
+ t,
4471
+ "session",
4472
+ /*session*/
4473
+ e[4]
4474
+ ), p(
4475
+ t,
4476
+ "userid",
4477
+ /*userid*/
4478
+ e[5]
4479
+ ), p(
4480
+ t,
4481
+ "endpoint",
4482
+ /*endpoint*/
4483
+ e[0]
4484
+ ), p(
4485
+ t,
4486
+ "datasource",
4487
+ /*datasource*/
4488
+ e[1]
4489
+ ), p(
4490
+ t,
4491
+ "lang",
4492
+ /*lang*/
4493
+ e[3]
4494
+ ), p(
4495
+ t,
4496
+ "currency",
4497
+ /*currency*/
4498
+ e[2]
4499
+ ), p(
4500
+ t,
4501
+ "favorites",
4502
+ /*favorites*/
4503
+ e[15]
4504
+ ), p(
4505
+ t,
4506
+ "fetchviaevent",
4507
+ /*fetchviaevent*/
4508
+ e[17]
4509
+ ), p(t, "categoryid", "LASTPLAYED"), p(t, "categoryindex", "1"), p(t, "categorygames", "9"), p(t, "class", "CategoryContainer"), p(
4510
+ t,
4511
+ "mbsource",
4512
+ /*mbsource*/
4513
+ e[18]
4514
+ ), p(
4515
+ t,
4516
+ "showgamename",
4517
+ /*showgamename*/
4518
+ e[13]
4519
+ ), p(
4520
+ t,
4521
+ "clientstyling",
4522
+ /*clientstyling*/
4523
+ e[6]
4524
+ ), p(
4525
+ t,
4526
+ "clientstylingurl",
4527
+ /*clientstylingurl*/
4528
+ e[7]
4529
+ ), p(
4530
+ t,
4531
+ "translationurl",
4532
+ /*translationurl*/
4638
4533
  e[8]
4639
- ), g(t, "class", "FilterCounter");
4534
+ ), p(
4535
+ t,
4536
+ "livecasino",
4537
+ /*livecasino*/
4538
+ e[9]
4539
+ ), p(
4540
+ t,
4541
+ "visiblegames",
4542
+ /*visiblegames*/
4543
+ e[14]
4544
+ ), p(
4545
+ t,
4546
+ "gamepagemodalurl",
4547
+ /*gamepagemodalurl*/
4548
+ e[12]
4549
+ ), p(
4550
+ t,
4551
+ "integratedgameframedesktop",
4552
+ /*integratedgameframedesktop*/
4553
+ e[11]
4554
+ ), p(
4555
+ t,
4556
+ "integratedgameframemobile",
4557
+ /*integratedgameframemobile*/
4558
+ e[10]
4559
+ ), p(
4560
+ t,
4561
+ "casinomygames",
4562
+ /*casinomygames*/
4563
+ e[16]
4564
+ );
4640
4565
  },
4641
- m(n, i) {
4642
- W(n, t, i), _(t, r);
4566
+ m(r, n) {
4567
+ fe(r, t, n);
4643
4568
  },
4644
- p(n, i) {
4645
- i[0] & /*selectionNumber*/
4646
- 256 && te(
4647
- r,
4648
- /*selectionNumber*/
4649
- n[8]
4569
+ p(r, n) {
4570
+ n[0] & /*session*/
4571
+ 16 && p(
4572
+ t,
4573
+ "session",
4574
+ /*session*/
4575
+ r[4]
4576
+ ), n[0] & /*userid*/
4577
+ 32 && p(
4578
+ t,
4579
+ "userid",
4580
+ /*userid*/
4581
+ r[5]
4582
+ ), n[0] & /*endpoint*/
4583
+ 1 && p(
4584
+ t,
4585
+ "endpoint",
4586
+ /*endpoint*/
4587
+ r[0]
4588
+ ), n[0] & /*datasource*/
4589
+ 2 && p(
4590
+ t,
4591
+ "datasource",
4592
+ /*datasource*/
4593
+ r[1]
4594
+ ), n[0] & /*lang*/
4595
+ 8 && p(
4596
+ t,
4597
+ "lang",
4598
+ /*lang*/
4599
+ r[3]
4600
+ ), n[0] & /*currency*/
4601
+ 4 && p(
4602
+ t,
4603
+ "currency",
4604
+ /*currency*/
4605
+ r[2]
4606
+ ), n[0] & /*favorites*/
4607
+ 32768 && p(
4608
+ t,
4609
+ "favorites",
4610
+ /*favorites*/
4611
+ r[15]
4612
+ ), n[0] & /*fetchviaevent*/
4613
+ 131072 && p(
4614
+ t,
4615
+ "fetchviaevent",
4616
+ /*fetchviaevent*/
4617
+ r[17]
4618
+ ), n[0] & /*mbsource*/
4619
+ 262144 && p(
4620
+ t,
4621
+ "mbsource",
4622
+ /*mbsource*/
4623
+ r[18]
4624
+ ), n[0] & /*showgamename*/
4625
+ 8192 && p(
4626
+ t,
4627
+ "showgamename",
4628
+ /*showgamename*/
4629
+ r[13]
4630
+ ), n[0] & /*clientstyling*/
4631
+ 64 && p(
4632
+ t,
4633
+ "clientstyling",
4634
+ /*clientstyling*/
4635
+ r[6]
4636
+ ), n[0] & /*clientstylingurl*/
4637
+ 128 && p(
4638
+ t,
4639
+ "clientstylingurl",
4640
+ /*clientstylingurl*/
4641
+ r[7]
4642
+ ), n[0] & /*translationurl*/
4643
+ 256 && p(
4644
+ t,
4645
+ "translationurl",
4646
+ /*translationurl*/
4647
+ r[8]
4648
+ ), n[0] & /*livecasino*/
4649
+ 512 && p(
4650
+ t,
4651
+ "livecasino",
4652
+ /*livecasino*/
4653
+ r[9]
4654
+ ), n[0] & /*visiblegames*/
4655
+ 16384 && p(
4656
+ t,
4657
+ "visiblegames",
4658
+ /*visiblegames*/
4659
+ r[14]
4660
+ ), n[0] & /*gamepagemodalurl*/
4661
+ 4096 && p(
4662
+ t,
4663
+ "gamepagemodalurl",
4664
+ /*gamepagemodalurl*/
4665
+ r[12]
4666
+ ), n[0] & /*integratedgameframedesktop*/
4667
+ 2048 && p(
4668
+ t,
4669
+ "integratedgameframedesktop",
4670
+ /*integratedgameframedesktop*/
4671
+ r[11]
4672
+ ), n[0] & /*integratedgameframemobile*/
4673
+ 1024 && p(
4674
+ t,
4675
+ "integratedgameframemobile",
4676
+ /*integratedgameframemobile*/
4677
+ r[10]
4678
+ ), n[0] & /*casinomygames*/
4679
+ 65536 && p(
4680
+ t,
4681
+ "casinomygames",
4682
+ /*casinomygames*/
4683
+ r[16]
4650
4684
  );
4651
4685
  },
4652
- d(n) {
4653
- n && k(t);
4686
+ d(r) {
4687
+ r && re(t);
4654
4688
  }
4655
4689
  };
4656
4690
  }
4657
- function bo(e) {
4691
+ function as(e) {
4658
4692
  let t, r = (
4659
4693
  /*$_*/
4660
- e[11]("all") + ""
4694
+ e[21]("noRecentGames") + ""
4661
4695
  ), n;
4662
4696
  return {
4663
4697
  c() {
4664
- t = B("span"), n = D(r), g(t, "class", "FilterCounter");
4698
+ t = V("p"), n = ot(r), ue(t, "class", "SearchLoading");
4665
4699
  },
4666
- m(i, o) {
4667
- W(i, t, o), _(t, n);
4700
+ m(i, s) {
4701
+ fe(i, t, s), st(t, n);
4668
4702
  },
4669
- p(i, o) {
4670
- o[0] & /*$_*/
4671
- 2048 && r !== (r = /*$_*/
4672
- i[11]("all") + "") && te(n, r);
4703
+ p(i, s) {
4704
+ s[0] & /*$_*/
4705
+ 2097152 && r !== (r = /*$_*/
4706
+ i[21]("noRecentGames") + "") && Mr(n, r);
4673
4707
  },
4674
4708
  d(i) {
4675
- i && k(t);
4709
+ i && re(t);
4676
4710
  }
4677
4711
  };
4678
4712
  }
4679
- function go(e) {
4713
+ function us(e) {
4680
4714
  let t, r;
4681
- return {
4682
- c() {
4683
- t = B("img"), wt(t.src, r = /*vendor*/
4684
- e[37].logo) || g(t, "src", r), g(t, "alt", "vendor logo");
4685
- },
4686
- m(n, i) {
4687
- W(n, t, i);
4688
- },
4689
- p(n, i) {
4690
- i[0] & /*vendorArray*/
4691
- 32 && !wt(t.src, r = /*vendor*/
4692
- n[37].logo) && g(t, "src", r);
4693
- },
4694
- d(n) {
4695
- n && k(t);
4696
- }
4697
- };
4698
- }
4699
- function yo(e) {
4700
- let t, r, n = (
4701
- /*vendor*/
4702
- e[37].name + ""
4703
- ), i, o, s, a, h = (
4704
- /*vendor*/
4705
- e[37].games.total + ""
4706
- ), l, u;
4707
- return {
4708
- c() {
4709
- t = B("div"), r = B("span"), i = D(n), o = V(), s = B("span"), a = D("("), l = D(h), u = D(")"), g(r, "class", "VendorName"), g(t, "class", "FilterItemLabel");
4710
- },
4711
- m(p, c) {
4712
- W(p, t, c), _(t, r), _(r, i), _(t, o), _(t, s), _(s, a), _(s, l), _(s, u);
4713
- },
4714
- p(p, c) {
4715
- c[0] & /*vendorArray*/
4716
- 32 && n !== (n = /*vendor*/
4717
- p[37].name + "") && te(i, n), c[0] & /*vendorArray*/
4718
- 32 && h !== (h = /*vendor*/
4719
- p[37].games.total + "") && te(l, h);
4720
- },
4721
- d(p) {
4722
- p && k(t);
4723
- }
4724
- };
4725
- }
4726
- function Qt(e) {
4727
- let t, r, n, i, o, s, a, h, l, u, p, c;
4728
- function m() {
4729
- e[25].call(
4730
- n,
4731
- /*each_value*/
4732
- e[38],
4733
- /*vendor_index*/
4734
- e[39]
4735
- );
4736
- }
4737
- function v() {
4715
+ function n(o, a) {
4738
4716
  return (
4739
- /*click_handler_1*/
4740
- e[26](
4741
- /*vendor*/
4742
- e[37]
4743
- )
4717
+ /*lastPlayedEmpty*/
4718
+ o[20] ? as : os
4744
4719
  );
4745
4720
  }
4746
- function y(S, b) {
4747
- if (
4748
- /*filterbylogo*/
4749
- S[2] === "false"
4750
- )
4751
- return yo;
4752
- if (
4753
- /*filterbylogo*/
4754
- S[2] === "true"
4755
- )
4756
- return go;
4757
- }
4758
- let T = y(e), H = T && T(e);
4759
- return {
4760
- c() {
4761
- t = B("li"), r = B("label"), n = B("input"), o = V(), s = B("span"), a = V(), H && H.c(), h = V(), g(n, "type", "checkbox"), g(n, "name", "checkbox"), n.__value = i = /*vendor*/
4762
- e[37].name, St(n, n.__value), g(s, "class", "FiltersCheckmark"), g(r, "class", "FilterLabel"), g(t, "class", l = "FilterItem " + /*filterbylogo*/
4763
- (e[2] === "true" ? "FilterItemWithLogos" : "")), t.value = u = /*vendor*/
4764
- e[37].name;
4765
- },
4766
- m(S, b) {
4767
- W(S, t, b), _(t, r), _(r, n), n.checked = /*vendor*/
4768
- e[37].isFilterSelected, _(r, o), _(r, s), _(r, a), H && H.m(r, null), _(t, h), p || (c = [
4769
- Re(n, "change", m),
4770
- Re(n, "click", v)
4771
- ], p = !0);
4772
- },
4773
- p(S, b) {
4774
- e = S, b[0] & /*vendorArray*/
4775
- 32 && i !== (i = /*vendor*/
4776
- e[37].name) && (n.__value = i, St(n, n.__value)), b[0] & /*vendorArray*/
4777
- 32 && (n.checked = /*vendor*/
4778
- e[37].isFilterSelected), T === (T = y(e)) && H ? H.p(e, b) : (H && H.d(1), H = T && T(e), H && (H.c(), H.m(r, null))), b[0] & /*filterbylogo*/
4779
- 4 && l !== (l = "FilterItem " + /*filterbylogo*/
4780
- (e[2] === "true" ? "FilterItemWithLogos" : "")) && g(t, "class", l), b[0] & /*vendorArray*/
4781
- 32 && u !== (u = /*vendor*/
4782
- e[37].name) && (t.value = u);
4783
- },
4784
- d(S) {
4785
- S && k(t), H && H.d(), p = !1, q(c);
4786
- }
4787
- };
4788
- }
4789
- function vo(e) {
4790
- let t;
4791
- function r(o, s) {
4792
- if (
4793
- /*hasErrors*/
4794
- o[10]
4795
- )
4796
- return po;
4797
- if (!/*isLoading*/
4798
- o[9])
4799
- return fo;
4800
- }
4801
- let n = r(e), i = n && n(e);
4721
+ let i = n(e), s = i(e);
4802
4722
  return {
4803
4723
  c() {
4804
- t = B("div"), i && i.c();
4724
+ t = V("div"), r = V("div"), s.c(), ue(r, "class", "CasinoLastPlayedSection"), ue(t, "class", "CasinoGamesCategorySectionContainer");
4805
4725
  },
4806
- m(o, s) {
4807
- W(o, t, s), i && i.m(t, null), e[28](t);
4726
+ m(o, a) {
4727
+ fe(o, t, a), st(t, r), s.m(r, null), e[26](t);
4808
4728
  },
4809
- p(o, s) {
4810
- n === (n = r(o)) && i ? i.p(o, s) : (i && i.d(1), i = n && n(o), i && (i.c(), i.m(t, null)));
4729
+ p(o, a) {
4730
+ i === (i = n(o)) && s ? s.p(o, a) : (s.d(1), s = i(o), s && (s.c(), s.m(r, null)));
4811
4731
  },
4812
- i: G,
4813
- o: G,
4732
+ i: U,
4733
+ o: U,
4814
4734
  d(o) {
4815
- o && k(t), i && i.d(), e[28](null);
4735
+ o && re(t), s.d(), e[26](null);
4816
4736
  }
4817
4737
  };
4818
4738
  }
4819
- function _o(e, t, r) {
4739
+ function hs(e, t, r) {
4820
4740
  let n;
4821
- $r(e, io, (f) => r(11, n = f));
4822
- let { endpoint: i = "" } = t, { datasource: o = "" } = t, { lang: s = "" } = t, { translationurl: a = "" } = t, { clientstyling: h = "" } = t, { clientstylingurl: l = "" } = t, { categoryid: u = "" } = t, { addfilterselector: p = "false" } = t, { addsortingselector: c = "false" } = t, { filterbylogo: m = "false" } = t, { mbsource: v } = t, { usesinglevendorfilter: y = "false" } = t, T = !1, H = window.navigator.userAgent, S = [], b = [], I = {}, L = !1, M = 0, A = !0, P, N = !1;
4823
- ho({ withLocale: "en", translations: {} });
4824
- const z = () => {
4825
- fetch(a).then((d) => d.json()).then((d) => {
4826
- Object.keys(d).forEach((C) => {
4827
- zt(C, d[C]);
4741
+ Br(e, Yi, (m) => r(21, n = m));
4742
+ let { endpoint: i = "" } = t, { datasource: s = "" } = t, { currency: o = "" } = t, { lang: a = "" } = t, { session: h = "" } = t, { userid: u = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: f = "" } = t, { translationurl: c = "" } = t, { livecasino: d = "false" } = t, { integratedgameframemobile: b = "false" } = t, { integratedgameframedesktop: v = "false" } = t, { gamepagemodalurl: w = "false" } = t, { showgamename: N = "" } = t, { visiblegames: P = "" } = t, { favorites: T = "" } = t, { lastplayedperiod: I = "Last30Days" } = t, { lastplayedorder: B = "" } = t, { lastplayedlimit: M = "" } = t, { casinomygames: _ = "false" } = t, { lastplayedunique: O = "true" } = t, { fetchviaevent: C = "true" } = t, { mbsource: F } = t, _r = window.navigator.userAgent, Er, ht = !1, pe = [], lt, D;
4743
+ const xr = () => {
4744
+ fetch(c).then((R) => R.json()).then((R) => {
4745
+ Object.keys(R).forEach((H) => {
4746
+ It(H, R[H]);
4828
4747
  });
4829
- }).catch((d) => {
4830
- console.log(d);
4748
+ }).catch((R) => {
4749
+ console.log(R);
4831
4750
  });
4832
4751
  };
4833
- Object.keys(Zt).forEach((f) => {
4834
- zt(f, Zt[f]);
4835
- }), I[u] && (I = { [u]: [] });
4836
- const j = () => {
4837
- r(4, T = !T), window.postMessage({ type: "FilterOpened" }, window.location.href);
4838
- }, Y = (f) => (r(9, A = !0), new Promise((d, C) => {
4839
- fetch(f).then((x) => x.json()).then((x) => {
4840
- x = x.items, d(x.items), r(6, b = []);
4841
- let le = JSON.parse(localStorage.getItem("vendorFiltersByCategory"));
4842
- const Mr = y === "true" ? "*" : u;
4843
- x.forEach((Be) => {
4844
- le || (le = { currentCategoryId: [] }), le[Mr]?.indexOf(Be.id) >= 0 ? (Be.isFilterSelected = !0, b.push(Be)) : Be.isFilterSelected = !1;
4845
- }), r(5, S = x), K();
4846
- }).catch((x) => {
4847
- console.error(x), r(10, N = !0), C(x);
4848
- }).finally(() => {
4849
- r(9, A = !1);
4752
+ Object.keys(Mt).forEach((m) => {
4753
+ It(m, Mt[m]);
4754
+ });
4755
+ const Sr = () => new Promise((m, R) => {
4756
+ let H = new URL(`${i}/v1/player/${u}/games/last-played`);
4757
+ H.searchParams.append("unique", O), H.searchParams.append("limit", M), H.searchParams.append("order", B), H.searchParams.append("period", I), Qi(_r) === "PC" ? H.searchParams.append("device", "Desktop") : H.searchParams.append("device", "Mobile"), lt = d ? H : H.href, fetch(lt).then((L) => L.json()).then((L) => {
4758
+ L.items = L.items.filter((Ar) => {
4759
+ let ct = !0;
4760
+ return Ar.gameCode == "OddsMatrix2" && (L.count--, ct = !1), ct;
4761
+ }), m(L), window.postMessage(
4762
+ {
4763
+ type: "AddNewCategory",
4764
+ category: { name: "Last Played", id: "LASTPLAYED" }
4765
+ },
4766
+ window.location.href
4767
+ ), window.postMessage({ type: "LastPlayedGames", data: L }, window.location.href);
4768
+ }).catch((L) => {
4769
+ console.error(L), R(L);
4850
4770
  });
4851
- })), ie = (f) => {
4852
- let d = localStorage.getItem("vendorFiltersByCategory");
4853
- f.isFilterSelected = !f.isFilterSelected, !b.length || b.filter((x) => x.name === f.name).length == 0 ? b.push(f) : r(6, b = b.filter((x) => x.name !== f.name));
4854
- const C = y === "true" ? "*" : u;
4855
- d == null ? localStorage.setItem("vendorFiltersByCategory", JSON.stringify(I = {
4856
- [C]: b.map((x) => x.id)
4857
- })) : (d = JSON.parse(d), d[C] = b.map((x) => x.id), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(d))), window.postMessage({ type: "ApplyFilters", origin: "filters" }, window.location.href), K();
4858
- }, K = () => {
4859
- r(7, L = b.length === S.length || b.length == 0), r(8, M = b.length);
4860
- }, oe = () => {
4861
- if (S.length && y === "true")
4862
- return;
4863
- const f = new URL(`${i}/v1/casino/vendors`);
4864
- r(4, T = !1), f.searchParams.append("fields", "id,name,logo,subVendors,games"), f.searchParams.append("language", s), f.searchParams.append("datasource", o), f.searchParams.append("platform", so(H)), y === "true" || ((u.match(/\$/g) || []).length > 1 ? (f.searchParams.append("filter", `games(subGroups=${u})`), f.searchParams.append("subVendors", `games(subGroups=${u})`)) : f.searchParams.append("filter", `games(groups=${u})`)), Y(f);
4865
- }, ee = () => {
4866
- r(6, b = []), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(I = {
4867
- [y === "true" ? "*" : u]: b.map((f) => f.id)
4868
- })), S.forEach((f) => f.isFilterSelected = !1), r(5, S), window.postMessage({ type: "ApplyFilters" }, window.location.href), r(7, L = !0), r(4, T = !1);
4869
- }, se = (f) => {
4870
- f.data.type == "SortingOpened" && r(4, T = !1);
4771
+ }), wr = () => {
4772
+ Sr().then((m) => {
4773
+ if (m.count > 0) {
4774
+ let R = [];
4775
+ m.items.forEach((H) => {
4776
+ let j = new URL(`${i}/v1/casino/games/${H.gameId}`);
4777
+ j.searchParams.append("datasource", s), d ? R.push(fetch(j.href).then((L) => L.json())) : R.push(fetch(j.href).then((L) => L.json()));
4778
+ }), Promise.all(R).then((H) => {
4779
+ pe = H.filter((j) => !("error" in j)).map((j) => j[0]), _ === "true" && (pe = pe.slice(0, JSON.parse(P))), window.postMessage({ type: "LastPlayedData", lastPlayedGames: pe }, window.location.href);
4780
+ });
4781
+ } else
4782
+ r(20, ht = !0);
4783
+ });
4784
+ }, Tr = () => {
4785
+ is(a);
4871
4786
  };
4872
- Xr(() => (window.addEventListener("message", se, !1), () => {
4873
- window.removeEventListener("message", se);
4874
- }));
4875
- const Ae = () => j();
4876
- function Pe(f, d) {
4877
- f[d].isFilterSelected = this.checked, r(5, S);
4878
- }
4879
- const ae = (f) => ie(f), U = () => ee();
4880
- function J(f) {
4881
- tt[f ? "unshift" : "push"](() => {
4882
- P = f, r(3, P);
4787
+ Ur(() => () => {
4788
+ });
4789
+ function Hr(m) {
4790
+ $e[m ? "unshift" : "push"](() => {
4791
+ D = m, r(19, D);
4883
4792
  });
4884
4793
  }
4885
- return e.$$set = (f) => {
4886
- "endpoint" in f && r(15, i = f.endpoint), "datasource" in f && r(16, o = f.datasource), "lang" in f && r(17, s = f.lang), "translationurl" in f && r(18, a = f.translationurl), "clientstyling" in f && r(19, h = f.clientstyling), "clientstylingurl" in f && r(20, l = f.clientstylingurl), "categoryid" in f && r(21, u = f.categoryid), "addfilterselector" in f && r(0, p = f.addfilterselector), "addsortingselector" in f && r(1, c = f.addsortingselector), "filterbylogo" in f && r(2, m = f.filterbylogo), "mbsource" in f && r(22, v = f.mbsource), "usesinglevendorfilter" in f && r(23, y = f.usesinglevendorfilter);
4794
+ return e.$$set = (m) => {
4795
+ "endpoint" in m && r(0, i = m.endpoint), "datasource" in m && r(1, s = m.datasource), "currency" in m && r(2, o = m.currency), "lang" in m && r(3, a = m.lang), "session" in m && r(4, h = m.session), "userid" in m && r(5, u = m.userid), "clientstyling" in m && r(6, l = m.clientstyling), "clientstylingurl" in m && r(7, f = m.clientstylingurl), "translationurl" in m && r(8, c = m.translationurl), "livecasino" in m && r(9, d = m.livecasino), "integratedgameframemobile" in m && r(10, b = m.integratedgameframemobile), "integratedgameframedesktop" in m && r(11, v = m.integratedgameframedesktop), "gamepagemodalurl" in m && r(12, w = m.gamepagemodalurl), "showgamename" in m && r(13, N = m.showgamename), "visiblegames" in m && r(14, P = m.visiblegames), "favorites" in m && r(15, T = m.favorites), "lastplayedperiod" in m && r(22, I = m.lastplayedperiod), "lastplayedorder" in m && r(23, B = m.lastplayedorder), "lastplayedlimit" in m && r(24, M = m.lastplayedlimit), "casinomygames" in m && r(16, _ = m.casinomygames), "lastplayedunique" in m && r(25, O = m.lastplayedunique), "fetchviaevent" in m && r(17, C = m.fetchviaevent), "mbsource" in m && r(18, F = m.mbsource);
4887
4796
  }, e.$$.update = () => {
4888
- e.$$.dirty[0] & /*endpoint, datasource, categoryid, filterbylogo*/
4889
- 2195460 && i && o && u && m && oe(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4890
- 524296 && h && P && ao(P, h), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4891
- 1048584 && l && P && lo(P, l), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
4892
- 4194312 && P && uo(P, `${v}.Style`), e.$$.dirty[0] & /*translationurl*/
4893
- 262144 && a && z();
4797
+ e.$$.dirty[0] & /*endpoint, userid, lang*/
4798
+ 41 && i && u && a && wr(), e.$$.dirty[0] & /*translationurl*/
4799
+ 256 && c && xr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4800
+ 524352 && l && D && Ki(D, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4801
+ 524416 && f && D && es(D, f), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
4802
+ 786432 && D && ts(D, `${F}.Style`, Er), e.$$.dirty[0] & /*lang*/
4803
+ 8 && a && Tr();
4894
4804
  }, [
4895
- p,
4896
- c,
4897
- m,
4898
- P,
4899
- T,
4900
- S,
4901
- b,
4902
- L,
4903
- M,
4904
- A,
4905
- N,
4906
- n,
4907
- j,
4908
- ie,
4909
- ee,
4910
4805
  i,
4911
- o,
4912
4806
  s,
4807
+ o,
4913
4808
  a,
4914
4809
  h,
4915
- l,
4916
4810
  u,
4811
+ l,
4812
+ f,
4813
+ c,
4814
+ d,
4815
+ b,
4917
4816
  v,
4918
- y,
4919
- Ae,
4920
- Pe,
4921
- ae,
4922
- U,
4923
- J
4817
+ w,
4818
+ N,
4819
+ P,
4820
+ T,
4821
+ _,
4822
+ C,
4823
+ F,
4824
+ D,
4825
+ ht,
4826
+ n,
4827
+ I,
4828
+ B,
4829
+ M,
4830
+ O,
4831
+ Hr
4924
4832
  ];
4925
4833
  }
4926
- class Nr extends en {
4834
+ class ls extends Wr {
4927
4835
  constructor(t) {
4928
- super(), Yr(
4836
+ super(), Vr(
4929
4837
  this,
4930
4838
  t,
4931
- _o,
4932
- vo,
4933
- Yt,
4839
+ hs,
4840
+ us,
4841
+ Ut,
4934
4842
  {
4935
- endpoint: 15,
4936
- datasource: 16,
4937
- lang: 17,
4938
- translationurl: 18,
4939
- clientstyling: 19,
4940
- clientstylingurl: 20,
4941
- categoryid: 21,
4942
- addfilterselector: 0,
4943
- addsortingselector: 1,
4944
- filterbylogo: 2,
4945
- mbsource: 22,
4946
- usesinglevendorfilter: 23
4843
+ endpoint: 0,
4844
+ datasource: 1,
4845
+ currency: 2,
4846
+ lang: 3,
4847
+ session: 4,
4848
+ userid: 5,
4849
+ clientstyling: 6,
4850
+ clientstylingurl: 7,
4851
+ translationurl: 8,
4852
+ livecasino: 9,
4853
+ integratedgameframemobile: 10,
4854
+ integratedgameframedesktop: 11,
4855
+ gamepagemodalurl: 12,
4856
+ showgamename: 13,
4857
+ visiblegames: 14,
4858
+ favorites: 15,
4859
+ lastplayedperiod: 22,
4860
+ lastplayedorder: 23,
4861
+ lastplayedlimit: 24,
4862
+ casinomygames: 16,
4863
+ lastplayedunique: 25,
4864
+ fetchviaevent: 17,
4865
+ mbsource: 18
4947
4866
  },
4948
- co,
4867
+ ss,
4949
4868
  [-1, -1]
4950
4869
  );
4951
4870
  }
4952
4871
  get endpoint() {
4953
- return this.$$.ctx[15];
4872
+ return this.$$.ctx[0];
4954
4873
  }
4955
4874
  set endpoint(t) {
4956
- this.$$set({ endpoint: t }), $();
4875
+ this.$$set({ endpoint: t }), E();
4957
4876
  }
4958
4877
  get datasource() {
4959
- return this.$$.ctx[16];
4878
+ return this.$$.ctx[1];
4960
4879
  }
4961
4880
  set datasource(t) {
4962
- this.$$set({ datasource: t }), $();
4881
+ this.$$set({ datasource: t }), E();
4882
+ }
4883
+ get currency() {
4884
+ return this.$$.ctx[2];
4885
+ }
4886
+ set currency(t) {
4887
+ this.$$set({ currency: t }), E();
4963
4888
  }
4964
4889
  get lang() {
4965
- return this.$$.ctx[17];
4890
+ return this.$$.ctx[3];
4966
4891
  }
4967
4892
  set lang(t) {
4968
- this.$$set({ lang: t }), $();
4893
+ this.$$set({ lang: t }), E();
4969
4894
  }
4970
- get translationurl() {
4971
- return this.$$.ctx[18];
4895
+ get session() {
4896
+ return this.$$.ctx[4];
4972
4897
  }
4973
- set translationurl(t) {
4974
- this.$$set({ translationurl: t }), $();
4898
+ set session(t) {
4899
+ this.$$set({ session: t }), E();
4900
+ }
4901
+ get userid() {
4902
+ return this.$$.ctx[5];
4903
+ }
4904
+ set userid(t) {
4905
+ this.$$set({ userid: t }), E();
4975
4906
  }
4976
4907
  get clientstyling() {
4977
- return this.$$.ctx[19];
4908
+ return this.$$.ctx[6];
4978
4909
  }
4979
4910
  set clientstyling(t) {
4980
- this.$$set({ clientstyling: t }), $();
4911
+ this.$$set({ clientstyling: t }), E();
4981
4912
  }
4982
4913
  get clientstylingurl() {
4983
- return this.$$.ctx[20];
4914
+ return this.$$.ctx[7];
4984
4915
  }
4985
4916
  set clientstylingurl(t) {
4986
- this.$$set({ clientstylingurl: t }), $();
4917
+ this.$$set({ clientstylingurl: t }), E();
4987
4918
  }
4988
- get categoryid() {
4989
- return this.$$.ctx[21];
4919
+ get translationurl() {
4920
+ return this.$$.ctx[8];
4990
4921
  }
4991
- set categoryid(t) {
4992
- this.$$set({ categoryid: t }), $();
4922
+ set translationurl(t) {
4923
+ this.$$set({ translationurl: t }), E();
4993
4924
  }
4994
- get addfilterselector() {
4995
- return this.$$.ctx[0];
4925
+ get livecasino() {
4926
+ return this.$$.ctx[9];
4996
4927
  }
4997
- set addfilterselector(t) {
4998
- this.$$set({ addfilterselector: t }), $();
4928
+ set livecasino(t) {
4929
+ this.$$set({ livecasino: t }), E();
4999
4930
  }
5000
- get addsortingselector() {
5001
- return this.$$.ctx[1];
4931
+ get integratedgameframemobile() {
4932
+ return this.$$.ctx[10];
5002
4933
  }
5003
- set addsortingselector(t) {
5004
- this.$$set({ addsortingselector: t }), $();
4934
+ set integratedgameframemobile(t) {
4935
+ this.$$set({ integratedgameframemobile: t }), E();
5005
4936
  }
5006
- get filterbylogo() {
5007
- return this.$$.ctx[2];
4937
+ get integratedgameframedesktop() {
4938
+ return this.$$.ctx[11];
5008
4939
  }
5009
- set filterbylogo(t) {
5010
- this.$$set({ filterbylogo: t }), $();
4940
+ set integratedgameframedesktop(t) {
4941
+ this.$$set({ integratedgameframedesktop: t }), E();
5011
4942
  }
5012
- get mbsource() {
4943
+ get gamepagemodalurl() {
4944
+ return this.$$.ctx[12];
4945
+ }
4946
+ set gamepagemodalurl(t) {
4947
+ this.$$set({ gamepagemodalurl: t }), E();
4948
+ }
4949
+ get showgamename() {
4950
+ return this.$$.ctx[13];
4951
+ }
4952
+ set showgamename(t) {
4953
+ this.$$set({ showgamename: t }), E();
4954
+ }
4955
+ get visiblegames() {
4956
+ return this.$$.ctx[14];
4957
+ }
4958
+ set visiblegames(t) {
4959
+ this.$$set({ visiblegames: t }), E();
4960
+ }
4961
+ get favorites() {
4962
+ return this.$$.ctx[15];
4963
+ }
4964
+ set favorites(t) {
4965
+ this.$$set({ favorites: t }), E();
4966
+ }
4967
+ get lastplayedperiod() {
5013
4968
  return this.$$.ctx[22];
5014
4969
  }
5015
- set mbsource(t) {
5016
- this.$$set({ mbsource: t }), $();
4970
+ set lastplayedperiod(t) {
4971
+ this.$$set({ lastplayedperiod: t }), E();
5017
4972
  }
5018
- get usesinglevendorfilter() {
4973
+ get lastplayedorder() {
5019
4974
  return this.$$.ctx[23];
5020
4975
  }
5021
- set usesinglevendorfilter(t) {
5022
- this.$$set({ usesinglevendorfilter: t }), $();
4976
+ set lastplayedorder(t) {
4977
+ this.$$set({ lastplayedorder: t }), E();
4978
+ }
4979
+ get lastplayedlimit() {
4980
+ return this.$$.ctx[24];
4981
+ }
4982
+ set lastplayedlimit(t) {
4983
+ this.$$set({ lastplayedlimit: t }), E();
4984
+ }
4985
+ get casinomygames() {
4986
+ return this.$$.ctx[16];
4987
+ }
4988
+ set casinomygames(t) {
4989
+ this.$$set({ casinomygames: t }), E();
4990
+ }
4991
+ get lastplayedunique() {
4992
+ return this.$$.ctx[25];
4993
+ }
4994
+ set lastplayedunique(t) {
4995
+ this.$$set({ lastplayedunique: t }), E();
4996
+ }
4997
+ get fetchviaevent() {
4998
+ return this.$$.ctx[17];
4999
+ }
5000
+ set fetchviaevent(t) {
5001
+ this.$$set({ fetchviaevent: t }), E();
5002
+ }
5003
+ get mbsource() {
5004
+ return this.$$.ctx[18];
5005
+ }
5006
+ set mbsource(t) {
5007
+ this.$$set({ mbsource: t }), E();
5023
5008
  }
5024
5009
  }
5025
- Kr(Nr, { endpoint: {}, datasource: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, categoryid: {}, addfilterselector: {}, addsortingselector: {}, filterbylogo: {}, mbsource: {}, usesinglevendorfilter: {} }, [], [], !0);
5026
- const Fo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5027
- __proto__: null,
5028
- default: Nr
5029
- }, Symbol.toStringTag, { value: "Module" }));
5010
+ Xr(ls, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, gamepagemodalurl: {}, showgamename: {}, visiblegames: {}, favorites: {}, lastplayedperiod: {}, lastplayedorder: {}, lastplayedlimit: {}, casinomygames: {}, lastplayedunique: {}, fetchviaevent: {}, mbsource: {} }, [], [], !0);
5030
5011
  export {
5031
- re as $,
5032
- Ho as A,
5033
- xe as B,
5034
- ao as C,
5035
- lo as D,
5036
- uo as E,
5037
- Kr as F,
5038
- io as G,
5039
- So as H,
5040
- To as I,
5041
- Bo as J,
5042
- Po as K,
5043
- Ao as L,
5044
- ye as M,
5045
- Fo as N,
5046
- en as S,
5047
- Fr as a,
5048
- Ur as b,
5049
- wt as c,
5050
- k as d,
5051
- Eo as e,
5052
- $ as f,
5053
- te as g,
5054
- g as h,
5055
- Yr as i,
5056
- W as j,
5057
- _ as k,
5058
- B as l,
5059
- V as m,
5060
- G as n,
5061
- D as o,
5062
- $r as p,
5063
- Xr as q,
5064
- Re as r,
5065
- Yt as s,
5066
- wo as t,
5067
- xo as u,
5068
- oo as v,
5069
- so as w,
5070
- tt as x,
5071
- Ht as y,
5072
- kr as z
5012
+ ie as $,
5013
+ xs as A,
5014
+ fs as B,
5015
+ ps as C,
5016
+ Nr as D,
5017
+ Yi as E,
5018
+ Ki as F,
5019
+ es as G,
5020
+ ts as H,
5021
+ cs as I,
5022
+ gs as J,
5023
+ ys as K,
5024
+ _s as L,
5025
+ de as M,
5026
+ te as N,
5027
+ bs as O,
5028
+ ls as P,
5029
+ Wr as S,
5030
+ pr as a,
5031
+ Or as b,
5032
+ Xr as c,
5033
+ re as d,
5034
+ fe as e,
5035
+ E as f,
5036
+ V as g,
5037
+ ue as h,
5038
+ Vr as i,
5039
+ Br as j,
5040
+ Ur as k,
5041
+ $e as l,
5042
+ ds as m,
5043
+ U as n,
5044
+ vs as o,
5045
+ ws as p,
5046
+ st as q,
5047
+ ms as r,
5048
+ Ut as s,
5049
+ Ji as t,
5050
+ Qi as u,
5051
+ Mr as v,
5052
+ ot as w,
5053
+ Es as x,
5054
+ Ss as y,
5055
+ p as z
5073
5056
  };