@everymatrix/casino-categories-slider 1.54.12 → 1.55.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,53 +1,53 @@
1
- function B() {
1
+ function P() {
2
2
  }
3
- function It(e) {
3
+ function Ut(e) {
4
4
  return e();
5
5
  }
6
- function ht() {
6
+ function dt() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
9
  function ne(e) {
10
- e.forEach(It);
10
+ e.forEach(Ut);
11
11
  }
12
12
  function Te(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function Ct(e, t) {
15
+ function Dt(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
- let be;
19
- function hs(e, t) {
20
- return e === t ? !0 : (be || (be = document.createElement("a")), be.href = t, e === be.href);
18
+ let pe;
19
+ function bs(e, t) {
20
+ return e === t ? !0 : (pe || (pe = document.createElement("a")), pe.href = t, e === pe.href);
21
21
  }
22
- function Pr(e) {
22
+ function Ir(e) {
23
23
  return Object.keys(e).length === 0;
24
24
  }
25
- function Mt(e, ...t) {
25
+ function Ft(e, ...t) {
26
26
  if (e == null) {
27
27
  for (const n of t)
28
28
  n(void 0);
29
- return B;
29
+ return P;
30
30
  }
31
31
  const r = e.subscribe(...t);
32
32
  return r.unsubscribe ? () => r.unsubscribe() : r;
33
33
  }
34
- function Nr(e, t, r) {
35
- e.$$.on_destroy.push(Mt(t, r));
34
+ function Cr(e, t, r) {
35
+ e.$$.on_destroy.push(Ft(t, r));
36
36
  }
37
- function Or(e) {
38
- return e && Te(e.destroy) ? e.destroy : B;
37
+ function Mr(e) {
38
+ return e && Te(e.destroy) ? e.destroy : P;
39
39
  }
40
- function Rt(e, t) {
40
+ function $t(e, t) {
41
41
  e.appendChild(t);
42
42
  }
43
- function Lr(e, t, r) {
44
- const n = Ir(e);
43
+ function Rr(e, t, r) {
44
+ const n = Gr(e);
45
45
  if (!n.getElementById(t)) {
46
46
  const i = k("style");
47
- i.id = t, i.textContent = r, Cr(n, i);
47
+ i.id = t, i.textContent = r, Ur(n, i);
48
48
  }
49
49
  }
50
- function Ir(e) {
50
+ function Gr(e) {
51
51
  if (!e) return document;
52
52
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
53
53
  return t && /** @type {ShadowRoot} */
@@ -56,8 +56,8 @@ function Ir(e) {
56
56
  t
57
57
  ) : e.ownerDocument;
58
58
  }
59
- function Cr(e, t) {
60
- return Rt(
59
+ function Ur(e, t) {
60
+ return $t(
61
61
  /** @type {Document} */
62
62
  e.head || e,
63
63
  t
@@ -69,23 +69,23 @@ function fe(e, t, r) {
69
69
  function ie(e) {
70
70
  e.parentNode && e.parentNode.removeChild(e);
71
71
  }
72
- function ls(e, t) {
72
+ function ps(e, t) {
73
73
  for (let r = 0; r < e.length; r += 1)
74
74
  e[r] && e[r].d(t);
75
75
  }
76
76
  function k(e) {
77
77
  return document.createElement(e);
78
78
  }
79
- function Gt(e) {
79
+ function jt(e) {
80
80
  return document.createTextNode(e);
81
81
  }
82
- function cs() {
83
- return Gt(" ");
82
+ function gs() {
83
+ return jt(" ");
84
84
  }
85
- function fs() {
86
- return Gt("");
85
+ function ys() {
86
+ return jt("");
87
87
  }
88
- function ms(e, t, r, n) {
88
+ function vs(e, t, r, n) {
89
89
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
90
90
  }
91
91
  function J(e, t, r) {
@@ -95,14 +95,14 @@ function _(e, t, r) {
95
95
  const n = t.toLowerCase();
96
96
  n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : J(e, t, r);
97
97
  }
98
- function Mr(e) {
98
+ function Dr(e) {
99
99
  return Array.from(e.childNodes);
100
100
  }
101
- function ds(e, t) {
101
+ function _s(e, t) {
102
102
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
103
103
  t);
104
104
  }
105
- function Rr(e) {
105
+ function Fr(e) {
106
106
  const t = {};
107
107
  return e.childNodes.forEach(
108
108
  /** @param {Element} node */
@@ -115,27 +115,27 @@ let he;
115
115
  function ue(e) {
116
116
  he = e;
117
117
  }
118
- function Gr() {
118
+ function $r() {
119
119
  if (!he) throw new Error("Function called outside component initialization");
120
120
  return he;
121
121
  }
122
- function Ur(e) {
123
- Gr().$$.on_mount.push(e);
122
+ function jr(e) {
123
+ $r().$$.on_mount.push(e);
124
124
  }
125
- const Q = [], Fe = [];
125
+ const Q = [], je = [];
126
126
  let Y = [];
127
- const lt = [], Ut = /* @__PURE__ */ Promise.resolve();
128
- let $e = !1;
129
- function Dt() {
130
- $e || ($e = !0, Ut.then(S));
127
+ const bt = [], kt = /* @__PURE__ */ Promise.resolve();
128
+ let ke = !1;
129
+ function Vt() {
130
+ ke || (ke = !0, kt.then(S));
131
131
  }
132
- function Dr() {
133
- return Dt(), Ut;
132
+ function kr() {
133
+ return Vt(), kt;
134
134
  }
135
- function je(e) {
135
+ function Ve(e) {
136
136
  Y.push(e);
137
137
  }
138
- const Ie = /* @__PURE__ */ new Set();
138
+ const Ce = /* @__PURE__ */ new Set();
139
139
  let z = 0;
140
140
  function S() {
141
141
  if (z !== 0)
@@ -145,83 +145,83 @@ function S() {
145
145
  try {
146
146
  for (; z < Q.length; ) {
147
147
  const t = Q[z];
148
- z++, ue(t), Fr(t.$$);
148
+ z++, ue(t), Vr(t.$$);
149
149
  }
150
150
  } catch (t) {
151
151
  throw Q.length = 0, z = 0, t;
152
152
  }
153
- for (ue(null), Q.length = 0, z = 0; Fe.length; ) Fe.pop()();
153
+ for (ue(null), Q.length = 0, z = 0; je.length; ) je.pop()();
154
154
  for (let t = 0; t < Y.length; t += 1) {
155
155
  const r = Y[t];
156
- Ie.has(r) || (Ie.add(r), r());
156
+ Ce.has(r) || (Ce.add(r), r());
157
157
  }
158
158
  Y.length = 0;
159
159
  } while (Q.length);
160
- for (; lt.length; )
161
- lt.pop()();
162
- $e = !1, Ie.clear(), ue(e);
160
+ for (; bt.length; )
161
+ bt.pop()();
162
+ ke = !1, Ce.clear(), ue(e);
163
163
  }
164
- function Fr(e) {
164
+ function Vr(e) {
165
165
  if (e.fragment !== null) {
166
166
  e.update(), ne(e.before_update);
167
167
  const t = e.dirty;
168
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(je);
168
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ve);
169
169
  }
170
170
  }
171
- function $r(e) {
171
+ function Xr(e) {
172
172
  const t = [], r = [];
173
173
  Y.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Y = t;
174
174
  }
175
- const jr = /* @__PURE__ */ new Set();
176
- function Ft(e, t) {
177
- e && e.i && (jr.delete(e), e.i(t));
175
+ const Wr = /* @__PURE__ */ new Set();
176
+ function Xt(e, t) {
177
+ e && e.i && (Wr.delete(e), e.i(t));
178
178
  }
179
- function bs(e) {
179
+ function Es(e) {
180
180
  return e?.length !== void 0 ? e : Array.from(e);
181
181
  }
182
- function ps(e, t) {
182
+ function xs(e, t) {
183
183
  e.d(1), t.delete(e.key);
184
184
  }
185
- function gs(e, t, r, n, i, s, o, a, h, u, l, m) {
185
+ function Ss(e, t, r, n, i, s, o, a, h, u, l, m) {
186
186
  let c = e.length, d = s.length, b = c;
187
187
  const y = {};
188
188
  for (; b--; ) y[e[b].key] = b;
189
- const w = [], C = /* @__PURE__ */ new Map(), P = /* @__PURE__ */ new Map(), T = [];
189
+ const T = [], C = /* @__PURE__ */ new Map(), N = /* @__PURE__ */ new Map(), w = [];
190
190
  for (b = d; b--; ) {
191
- const E = m(i, s, b), L = r(E);
192
- let I = o.get(L);
193
- I ? T.push(() => I.p(E, t)) : (I = u(L, E), I.c()), C.set(L, w[b] = I), L in y && P.set(L, Math.abs(b - y[L]));
191
+ const E = m(i, s, b), A = r(E);
192
+ let I = o.get(A);
193
+ I ? w.push(() => I.p(E, t)) : (I = u(A, E), I.c()), C.set(A, T[b] = I), A in y && N.set(A, Math.abs(b - y[A]));
194
194
  }
195
- const N = /* @__PURE__ */ new Set(), O = /* @__PURE__ */ new Set();
196
- function R(E) {
197
- Ft(E, 1), E.m(a, l), o.set(E.key, E), l = E.first, d--;
195
+ const O = /* @__PURE__ */ new Set(), L = /* @__PURE__ */ new Set();
196
+ function M(E) {
197
+ Xt(E, 1), E.m(a, l), o.set(E.key, E), l = E.first, d--;
198
198
  }
199
199
  for (; c && d; ) {
200
- const E = w[d - 1], L = e[c - 1], I = E.key, M = L.key;
201
- E === L ? (l = E.first, c--, d--) : C.has(M) ? !o.has(I) || N.has(I) ? R(E) : O.has(M) ? c-- : P.get(I) > P.get(M) ? (O.add(I), R(E)) : (N.add(M), c--) : (h(L, o), c--);
200
+ const E = T[d - 1], A = e[c - 1], I = E.key, F = A.key;
201
+ E === A ? (l = E.first, c--, d--) : C.has(F) ? !o.has(I) || O.has(I) ? M(E) : L.has(F) ? c-- : N.get(I) > N.get(F) ? (L.add(I), M(E)) : (O.add(F), c--) : (h(A, o), c--);
202
202
  }
203
203
  for (; c--; ) {
204
204
  const E = e[c];
205
205
  C.has(E.key) || h(E, o);
206
206
  }
207
- for (; d; ) R(w[d - 1]);
208
- return ne(T), w;
207
+ for (; d; ) M(T[d - 1]);
208
+ return ne(w), T;
209
209
  }
210
- function kr(e, t, r) {
210
+ function zr(e, t, r) {
211
211
  const { fragment: n, after_update: i } = e.$$;
212
- n && n.m(t, r), je(() => {
213
- const s = e.$$.on_mount.map(It).filter(Te);
212
+ n && n.m(t, r), Ve(() => {
213
+ const s = e.$$.on_mount.map(Ut).filter(Te);
214
214
  e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ne(s), e.$$.on_mount = [];
215
- }), i.forEach(je);
215
+ }), i.forEach(Ve);
216
216
  }
217
- function Vr(e, t) {
217
+ function Zr(e, t) {
218
218
  const r = e.$$;
219
- r.fragment !== null && ($r(r.after_update), ne(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
219
+ r.fragment !== null && (Xr(r.after_update), ne(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
220
220
  }
221
- function Xr(e, t) {
222
- e.$$.dirty[0] === -1 && (Q.push(e), Dt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
221
+ function Qr(e, t) {
222
+ e.$$.dirty[0] === -1 && (Q.push(e), Vt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
223
223
  }
224
- function Wr(e, t, r, n, i, s, o = null, a = [-1]) {
224
+ function Yr(e, t, r, n, i, s, o = null, a = [-1]) {
225
225
  const h = he;
226
226
  ue(e);
227
227
  const u = e.$$ = {
@@ -229,9 +229,9 @@ function Wr(e, t, r, n, i, s, o = null, a = [-1]) {
229
229
  ctx: [],
230
230
  // state
231
231
  props: s,
232
- update: B,
232
+ update: P,
233
233
  not_equal: i,
234
- bound: ht(),
234
+ bound: dt(),
235
235
  // lifecycle
236
236
  on_mount: [],
237
237
  on_destroy: [],
@@ -240,7 +240,7 @@ function Wr(e, t, r, n, i, s, o = null, a = [-1]) {
240
240
  after_update: [],
241
241
  context: new Map(t.context || (h ? h.$$.context : [])),
242
242
  // everything else
243
- callbacks: ht(),
243
+ callbacks: dt(),
244
244
  dirty: a,
245
245
  skip_bound: !1,
246
246
  root: t.target || h.$$.root
@@ -249,19 +249,19 @@ function Wr(e, t, r, n, i, s, o = null, a = [-1]) {
249
249
  let l = !1;
250
250
  if (u.ctx = r ? r(e, t.props || {}, (m, c, ...d) => {
251
251
  const b = d.length ? d[0] : c;
252
- return u.ctx && i(u.ctx[m], u.ctx[m] = b) && (!u.skip_bound && u.bound[m] && u.bound[m](b), l && Xr(e, m)), c;
252
+ return u.ctx && i(u.ctx[m], u.ctx[m] = b) && (!u.skip_bound && u.bound[m] && u.bound[m](b), l && Qr(e, m)), c;
253
253
  }) : [], u.update(), l = !0, ne(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
254
254
  if (t.hydrate) {
255
- const m = Mr(t.target);
255
+ const m = Dr(t.target);
256
256
  u.fragment && u.fragment.l(m), m.forEach(ie);
257
257
  } else
258
258
  u.fragment && u.fragment.c();
259
- t.intro && Ft(e.$$.fragment), kr(e, t.target, t.anchor), S();
259
+ t.intro && Xt(e.$$.fragment), zr(e, t.target, t.anchor), S();
260
260
  }
261
261
  ue(h);
262
262
  }
263
- let $t;
264
- typeof HTMLElement == "function" && ($t = class extends HTMLElement {
263
+ let Wt;
264
+ typeof HTMLElement == "function" && (Wt = class extends HTMLElement {
265
265
  /** The Svelte component constructor */
266
266
  $$ctor;
267
267
  /** Slots */
@@ -320,12 +320,12 @@ typeof HTMLElement == "function" && ($t = class extends HTMLElement {
320
320
  };
321
321
  if (await Promise.resolve(), !this.$$cn || this.$$c)
322
322
  return;
323
- const t = {}, r = Rr(this);
323
+ const t = {}, r = Fr(this);
324
324
  for (const i of this.$$s)
325
325
  i in r && (t[i] = [e(i)]);
326
326
  for (const i of this.attributes) {
327
327
  const s = this.$$g_p(i.name);
328
- s in this.$$d || (this.$$d[s] = ye(s, i.value, this.$$p_d, "toProp"));
328
+ s in this.$$d || (this.$$d[s] = ve(s, i.value, this.$$p_d, "toProp"));
329
329
  }
330
330
  for (const i in this.$$p_d)
331
331
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -343,7 +343,7 @@ typeof HTMLElement == "function" && ($t = class extends HTMLElement {
343
343
  this.$$r = !0;
344
344
  for (const i in this.$$p_d)
345
345
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
346
- const s = ye(
346
+ const s = ve(
347
347
  i,
348
348
  this.$$d[i],
349
349
  this.$$p_d,
@@ -365,7 +365,7 @@ typeof HTMLElement == "function" && ($t = class extends HTMLElement {
365
365
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
366
366
  // and setting attributes through setAttribute etc, this is helpful
367
367
  attributeChangedCallback(e, t, r) {
368
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = ye(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
368
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = ve(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
369
369
  }
370
370
  disconnectedCallback() {
371
371
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -378,7 +378,7 @@ typeof HTMLElement == "function" && ($t = class extends HTMLElement {
378
378
  ) || e;
379
379
  }
380
380
  });
381
- function ye(e, t, r, n) {
381
+ function ve(e, t, r, n) {
382
382
  const i = r[e]?.type;
383
383
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
384
384
  return t;
@@ -407,8 +407,8 @@ function ye(e, t, r, n) {
407
407
  return t;
408
408
  }
409
409
  }
410
- function zr(e, t, r, n, i, s) {
411
- let o = class extends $t {
410
+ function qr(e, t, r, n, i, s) {
411
+ let o = class extends Wt {
412
412
  constructor() {
413
413
  super(e, r, i), this.$$p_d = t;
414
414
  }
@@ -424,7 +424,7 @@ function zr(e, t, r, n, i, s) {
424
424
  return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
425
425
  },
426
426
  set(h) {
427
- h = ye(a, h, t), this.$$d[a] = h, this.$$c?.$set({ [a]: h });
427
+ h = ve(a, h, t), this.$$d[a] = h, this.$$c?.$set({ [a]: h });
428
428
  }
429
429
  });
430
430
  }), n.forEach((a) => {
@@ -436,7 +436,7 @@ function zr(e, t, r, n, i, s) {
436
436
  }), e.element = /** @type {any} */
437
437
  o, o;
438
438
  }
439
- class Zr {
439
+ class Jr {
440
440
  /**
441
441
  * ### PRIVATE API
442
442
  *
@@ -455,7 +455,7 @@ class Zr {
455
455
  $$set = void 0;
456
456
  /** @returns {void} */
457
457
  $destroy() {
458
- Vr(this, 1), this.$destroy = B;
458
+ Zr(this, 1), this.$destroy = P;
459
459
  }
460
460
  /**
461
461
  * @template {Extract<keyof Events, string>} K
@@ -465,7 +465,7 @@ class Zr {
465
465
  */
466
466
  $on(t, r) {
467
467
  if (!Te(r))
468
- return B;
468
+ return P;
469
469
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
470
470
  return n.push(r), () => {
471
471
  const i = n.indexOf(r);
@@ -477,22 +477,22 @@ class Zr {
477
477
  * @returns {void}
478
478
  */
479
479
  $set(t) {
480
- this.$$set && !Pr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
480
+ this.$$set && !Ir(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
481
481
  }
482
482
  }
483
- const Qr = "4";
484
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Qr);
485
- var ke = function(e, t) {
486
- return ke = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
483
+ const Kr = "4";
484
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Kr);
485
+ var Xe = function(e, t) {
486
+ return Xe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
487
487
  r.__proto__ = n;
488
488
  } || function(r, n) {
489
489
  for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
490
- }, ke(e, t);
490
+ }, Xe(e, t);
491
491
  };
492
492
  function U(e, t) {
493
493
  if (typeof t != "function" && t !== null)
494
494
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
495
- ke(e, t);
495
+ Xe(e, t);
496
496
  function r() {
497
497
  this.constructor = e;
498
498
  }
@@ -507,7 +507,7 @@ var v = function() {
507
507
  return t;
508
508
  }, v.apply(this, arguments);
509
509
  };
510
- function Yr(e, t) {
510
+ function en(e, t) {
511
511
  var r = {};
512
512
  for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
513
513
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -515,7 +515,7 @@ function Yr(e, t) {
515
515
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
516
516
  return r;
517
517
  }
518
- function Ve(e) {
518
+ function We(e) {
519
519
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
520
520
  if (r) return r.call(e);
521
521
  if (e && typeof e.length == "number") return {
@@ -525,7 +525,7 @@ function Ve(e) {
525
525
  };
526
526
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
527
527
  }
528
- function Xe(e, t) {
528
+ function ze(e, t) {
529
529
  var r = typeof Symbol == "function" && e[Symbol.iterator];
530
530
  if (!r) return e;
531
531
  var n = r.call(e), i, s = [], o;
@@ -550,13 +550,13 @@ function q(e, t, r) {
550
550
  function G(e) {
551
551
  return typeof e == "function";
552
552
  }
553
- function jt(e) {
553
+ function zt(e) {
554
554
  var t = function(n) {
555
555
  Error.call(n), n.stack = new Error().stack;
556
556
  }, r = e(t);
557
557
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
558
558
  }
559
- var Ce = jt(function(e) {
559
+ var Me = zt(function(e) {
560
560
  return function(r) {
561
561
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
562
562
  ` + r.map(function(n, i) {
@@ -565,13 +565,13 @@ var Ce = jt(function(e) {
565
565
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
566
566
  };
567
567
  });
568
- function We(e, t) {
568
+ function Ze(e, t) {
569
569
  if (e) {
570
570
  var r = e.indexOf(t);
571
571
  0 <= r && e.splice(r, 1);
572
572
  }
573
573
  }
574
- var we = function() {
574
+ var He = function() {
575
575
  function e(t) {
576
576
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
577
577
  }
@@ -583,7 +583,7 @@ var we = function() {
583
583
  if (o)
584
584
  if (this._parentage = null, Array.isArray(o))
585
585
  try {
586
- for (var a = Ve(o), h = a.next(); !h.done; h = a.next()) {
586
+ for (var a = We(o), h = a.next(); !h.done; h = a.next()) {
587
587
  var u = h.value;
588
588
  u.remove(this);
589
589
  }
@@ -603,18 +603,18 @@ var we = function() {
603
603
  try {
604
604
  l();
605
605
  } catch (y) {
606
- s = y instanceof Ce ? y.errors : [y];
606
+ s = y instanceof Me ? y.errors : [y];
607
607
  }
608
608
  var m = this._finalizers;
609
609
  if (m) {
610
610
  this._finalizers = null;
611
611
  try {
612
- for (var c = Ve(m), d = c.next(); !d.done; d = c.next()) {
612
+ for (var c = We(m), d = c.next(); !d.done; d = c.next()) {
613
613
  var b = d.value;
614
614
  try {
615
- ct(b);
615
+ pt(b);
616
616
  } catch (y) {
617
- s = s ?? [], y instanceof Ce ? s = q(q([], Xe(s)), Xe(y.errors)) : s.push(y);
617
+ s = s ?? [], y instanceof Me ? s = q(q([], ze(s)), ze(y.errors)) : s.push(y);
618
618
  }
619
619
  }
620
620
  } catch (y) {
@@ -628,13 +628,13 @@ var we = function() {
628
628
  }
629
629
  }
630
630
  if (s)
631
- throw new Ce(s);
631
+ throw new Me(s);
632
632
  }
633
633
  }, e.prototype.add = function(t) {
634
634
  var r;
635
635
  if (t && t !== this)
636
636
  if (this.closed)
637
- ct(t);
637
+ pt(t);
638
638
  else {
639
639
  if (t instanceof e) {
640
640
  if (t.closed || t._hasParent(this))
@@ -651,52 +651,56 @@ var we = function() {
651
651
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
652
652
  }, e.prototype._removeParent = function(t) {
653
653
  var r = this._parentage;
654
- r === t ? this._parentage = null : Array.isArray(r) && We(r, t);
654
+ r === t ? this._parentage = null : Array.isArray(r) && Ze(r, t);
655
655
  }, e.prototype.remove = function(t) {
656
656
  var r = this._finalizers;
657
- r && We(r, t), t instanceof e && t._removeParent(this);
657
+ r && Ze(r, t), t instanceof e && t._removeParent(this);
658
658
  }, e.EMPTY = function() {
659
659
  var t = new e();
660
660
  return t.closed = !0, t;
661
661
  }(), e;
662
- }(), kt = we.EMPTY;
663
- function Vt(e) {
664
- return e instanceof we || e && "closed" in e && G(e.remove) && G(e.add) && G(e.unsubscribe);
662
+ }(), Zt = He.EMPTY;
663
+ function Qt(e) {
664
+ return e instanceof He || e && "closed" in e && G(e.remove) && G(e.add) && G(e.unsubscribe);
665
665
  }
666
- function ct(e) {
666
+ function pt(e) {
667
667
  G(e) ? e() : e.unsubscribe();
668
668
  }
669
- var qr = {
670
- Promise: void 0
671
- }, Jr = {
669
+ var Yt = {
670
+ onUnhandledError: null,
671
+ onStoppedNotification: null,
672
+ Promise: void 0,
673
+ useDeprecatedSynchronousErrorHandling: !1,
674
+ useDeprecatedNextContext: !1
675
+ }, tn = {
672
676
  setTimeout: function(e, t) {
673
677
  for (var r = [], n = 2; n < arguments.length; n++)
674
678
  r[n - 2] = arguments[n];
675
- return setTimeout.apply(void 0, q([e, t], Xe(r)));
679
+ return setTimeout.apply(void 0, q([e, t], ze(r)));
676
680
  },
677
681
  clearTimeout: function(e) {
678
682
  return clearTimeout(e);
679
683
  },
680
684
  delegate: void 0
681
685
  };
682
- function Kr(e) {
683
- Jr.setTimeout(function() {
686
+ function rn(e) {
687
+ tn.setTimeout(function() {
684
688
  throw e;
685
689
  });
686
690
  }
687
- function ft() {
691
+ function gt() {
688
692
  }
689
- function ve(e) {
693
+ function _e(e) {
690
694
  e();
691
695
  }
692
- var Xt = function(e) {
696
+ var qt = function(e) {
693
697
  U(t, e);
694
698
  function t(r) {
695
699
  var n = e.call(this) || this;
696
- return n.isStopped = !1, r ? (n.destination = r, Vt(r) && r.add(n)) : n.destination = rn, n;
700
+ return n.isStopped = !1, r ? (n.destination = r, Qt(r) && r.add(n)) : n.destination = an, n;
697
701
  }
698
702
  return t.create = function(r, n, i) {
699
- return new ze(r, n, i);
703
+ return new Qe(r, n, i);
700
704
  }, t.prototype.next = function(r) {
701
705
  this.isStopped || this._next(r);
702
706
  }, t.prototype.error = function(r) {
@@ -720,7 +724,11 @@ var Xt = function(e) {
720
724
  this.unsubscribe();
721
725
  }
722
726
  }, t;
723
- }(we), en = function() {
727
+ }(He), nn = Function.prototype.bind;
728
+ function Re(e, t) {
729
+ return nn.call(e, t);
730
+ }
731
+ var sn = function() {
724
732
  function e(t) {
725
733
  this.partialObserver = t;
726
734
  }
@@ -730,7 +738,7 @@ var Xt = function(e) {
730
738
  try {
731
739
  r.next(t);
732
740
  } catch (n) {
733
- pe(n);
741
+ ge(n);
734
742
  }
735
743
  }, e.prototype.error = function(t) {
736
744
  var r = this.partialObserver;
@@ -738,56 +746,68 @@ var Xt = function(e) {
738
746
  try {
739
747
  r.error(t);
740
748
  } catch (n) {
741
- pe(n);
749
+ ge(n);
742
750
  }
743
751
  else
744
- pe(t);
752
+ ge(t);
745
753
  }, e.prototype.complete = function() {
746
754
  var t = this.partialObserver;
747
755
  if (t.complete)
748
756
  try {
749
757
  t.complete();
750
758
  } catch (r) {
751
- pe(r);
759
+ ge(r);
752
760
  }
753
761
  }, e;
754
- }(), ze = function(e) {
762
+ }(), Qe = function(e) {
755
763
  U(t, e);
756
764
  function t(r, n, i) {
757
765
  var s = e.call(this) || this, o;
758
- return G(r) || !r ? o = {
759
- next: r ?? void 0,
760
- error: n ?? void 0,
761
- complete: i ?? void 0
762
- } : o = r, s.destination = new en(o), s;
766
+ if (G(r) || !r)
767
+ o = {
768
+ next: r ?? void 0,
769
+ error: n ?? void 0,
770
+ complete: i ?? void 0
771
+ };
772
+ else {
773
+ var a;
774
+ s && Yt.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
775
+ return s.unsubscribe();
776
+ }, o = {
777
+ next: r.next && Re(r.next, a),
778
+ error: r.error && Re(r.error, a),
779
+ complete: r.complete && Re(r.complete, a)
780
+ }) : o = r;
781
+ }
782
+ return s.destination = new sn(o), s;
763
783
  }
764
784
  return t;
765
- }(Xt);
766
- function pe(e) {
767
- Kr(e);
785
+ }(qt);
786
+ function ge(e) {
787
+ rn(e);
768
788
  }
769
- function tn(e) {
789
+ function on(e) {
770
790
  throw e;
771
791
  }
772
- var rn = {
792
+ var an = {
773
793
  closed: !0,
774
- next: ft,
775
- error: tn,
776
- complete: ft
777
- }, nn = function() {
794
+ next: gt,
795
+ error: on,
796
+ complete: gt
797
+ }, un = function() {
778
798
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
779
799
  }();
780
- function sn(e) {
800
+ function hn(e) {
781
801
  return e;
782
802
  }
783
- function on(e) {
784
- return e.length === 0 ? sn : e.length === 1 ? e[0] : function(r) {
803
+ function ln(e) {
804
+ return e.length === 0 ? hn : e.length === 1 ? e[0] : function(r) {
785
805
  return e.reduce(function(n, i) {
786
806
  return i(n);
787
807
  }, r);
788
808
  };
789
809
  }
790
- var mt = function() {
810
+ var yt = function() {
791
811
  function e(t) {
792
812
  t && (this._subscribe = t);
793
813
  }
@@ -795,8 +815,8 @@ var mt = function() {
795
815
  var r = new e();
796
816
  return r.source = this, r.operator = t, r;
797
817
  }, e.prototype.subscribe = function(t, r, n) {
798
- var i = this, s = un(t) ? t : new ze(t, r, n);
799
- return ve(function() {
818
+ var i = this, s = fn(t) ? t : new Qe(t, r, n);
819
+ return _e(function() {
800
820
  var o = i, a = o.operator, h = o.source;
801
821
  s.add(a ? a.call(s, h) : h ? i._subscribe(s) : i._trySubscribe(s));
802
822
  }), s;
@@ -808,8 +828,8 @@ var mt = function() {
808
828
  }
809
829
  }, e.prototype.forEach = function(t, r) {
810
830
  var n = this;
811
- return r = dt(r), new r(function(i, s) {
812
- var o = new ze({
831
+ return r = vt(r), new r(function(i, s) {
832
+ var o = new Qe({
813
833
  next: function(a) {
814
834
  try {
815
835
  t(a);
@@ -825,15 +845,15 @@ var mt = function() {
825
845
  }, e.prototype._subscribe = function(t) {
826
846
  var r;
827
847
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
828
- }, e.prototype[nn] = function() {
848
+ }, e.prototype[un] = function() {
829
849
  return this;
830
850
  }, e.prototype.pipe = function() {
831
851
  for (var t = [], r = 0; r < arguments.length; r++)
832
852
  t[r] = arguments[r];
833
- return on(t)(this);
853
+ return ln(t)(this);
834
854
  }, e.prototype.toPromise = function(t) {
835
855
  var r = this;
836
- return t = dt(t), new t(function(n, i) {
856
+ return t = vt(t), new t(function(n, i) {
837
857
  var s;
838
858
  r.subscribe(function(o) {
839
859
  return s = o;
@@ -847,40 +867,40 @@ var mt = function() {
847
867
  return new e(t);
848
868
  }, e;
849
869
  }();
850
- function dt(e) {
870
+ function vt(e) {
851
871
  var t;
852
- return (t = e ?? qr.Promise) !== null && t !== void 0 ? t : Promise;
872
+ return (t = e ?? Yt.Promise) !== null && t !== void 0 ? t : Promise;
853
873
  }
854
- function an(e) {
874
+ function cn(e) {
855
875
  return e && G(e.next) && G(e.error) && G(e.complete);
856
876
  }
857
- function un(e) {
858
- return e && e instanceof Xt || an(e) && Vt(e);
877
+ function fn(e) {
878
+ return e && e instanceof qt || cn(e) && Qt(e);
859
879
  }
860
- var hn = jt(function(e) {
880
+ var mn = zt(function(e) {
861
881
  return function() {
862
882
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
863
883
  };
864
- }), Wt = function(e) {
884
+ }), Jt = function(e) {
865
885
  U(t, e);
866
886
  function t() {
867
887
  var r = e.call(this) || this;
868
888
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
869
889
  }
870
890
  return t.prototype.lift = function(r) {
871
- var n = new bt(this, this);
891
+ var n = new _t(this, this);
872
892
  return n.operator = r, n;
873
893
  }, t.prototype._throwIfClosed = function() {
874
894
  if (this.closed)
875
- throw new hn();
895
+ throw new mn();
876
896
  }, t.prototype.next = function(r) {
877
897
  var n = this;
878
- ve(function() {
898
+ _e(function() {
879
899
  var i, s;
880
900
  if (n._throwIfClosed(), !n.isStopped) {
881
901
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
882
902
  try {
883
- for (var o = Ve(n.currentObservers), a = o.next(); !a.done; a = o.next()) {
903
+ for (var o = We(n.currentObservers), a = o.next(); !a.done; a = o.next()) {
884
904
  var h = a.value;
885
905
  h.next(r);
886
906
  }
@@ -897,7 +917,7 @@ var hn = jt(function(e) {
897
917
  });
898
918
  }, t.prototype.error = function(r) {
899
919
  var n = this;
900
- ve(function() {
920
+ _e(function() {
901
921
  if (n._throwIfClosed(), !n.isStopped) {
902
922
  n.hasError = n.isStopped = !0, n.thrownError = r;
903
923
  for (var i = n.observers; i.length; )
@@ -906,7 +926,7 @@ var hn = jt(function(e) {
906
926
  });
907
927
  }, t.prototype.complete = function() {
908
928
  var r = this;
909
- ve(function() {
929
+ _e(function() {
910
930
  if (r._throwIfClosed(), !r.isStopped) {
911
931
  r.isStopped = !0;
912
932
  for (var n = r.observers; n.length; )
@@ -928,19 +948,19 @@ var hn = jt(function(e) {
928
948
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
929
949
  }, t.prototype._innerSubscribe = function(r) {
930
950
  var n = this, i = this, s = i.hasError, o = i.isStopped, a = i.observers;
931
- return s || o ? kt : (this.currentObservers = null, a.push(r), new we(function() {
932
- n.currentObservers = null, We(a, r);
951
+ return s || o ? Zt : (this.currentObservers = null, a.push(r), new He(function() {
952
+ n.currentObservers = null, Ze(a, r);
933
953
  }));
934
954
  }, t.prototype._checkFinalizedStatuses = function(r) {
935
955
  var n = this, i = n.hasError, s = n.thrownError, o = n.isStopped;
936
956
  i ? r.error(s) : o && r.complete();
937
957
  }, t.prototype.asObservable = function() {
938
- var r = new mt();
958
+ var r = new yt();
939
959
  return r.source = this, r;
940
960
  }, t.create = function(r, n) {
941
- return new bt(r, n);
961
+ return new _t(r, n);
942
962
  }, t;
943
- }(mt), bt = function(e) {
963
+ }(yt), _t = function(e) {
944
964
  U(t, e);
945
965
  function t(r, n) {
946
966
  var i = e.call(this) || this;
@@ -957,17 +977,17 @@ var hn = jt(function(e) {
957
977
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
958
978
  }, t.prototype._subscribe = function(r) {
959
979
  var n, i;
960
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : kt;
980
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Zt;
961
981
  }, t;
962
- }(Wt), zt = {
982
+ }(Jt), Kt = {
963
983
  now: function() {
964
- return (zt.delegate || Date).now();
984
+ return (Kt.delegate || Date).now();
965
985
  },
966
986
  delegate: void 0
967
- }, ln = function(e) {
987
+ }, dn = function(e) {
968
988
  U(t, e);
969
989
  function t(r, n, i) {
970
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = zt);
990
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Kt);
971
991
  var s = e.call(this) || this;
972
992
  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;
973
993
  }
@@ -987,24 +1007,24 @@ var hn = jt(function(e) {
987
1007
  u && s.splice(0, u + 1);
988
1008
  }
989
1009
  }, t;
990
- }(Wt);
991
- const pt = [], gt = {}, cn = (e, t = 0) => {
992
- if (pt.indexOf(e) == -1) {
993
- const r = new ln(t);
994
- gt[e] = r, pt.push(e);
1010
+ }(Jt);
1011
+ const Et = [], xt = {}, bn = (e, t = 0) => {
1012
+ if (Et.indexOf(e) == -1) {
1013
+ const r = new dn(t);
1014
+ xt[e] = r, Et.push(e);
995
1015
  }
996
- return gt[e];
1016
+ return xt[e];
997
1017
  }, Z = [];
998
- function fn(e, t) {
1018
+ function pn(e, t) {
999
1019
  return {
1000
- subscribe: He(e, t).subscribe
1020
+ subscribe: Ae(e, t).subscribe
1001
1021
  };
1002
1022
  }
1003
- function He(e, t = B) {
1023
+ function Ae(e, t = P) {
1004
1024
  let r;
1005
1025
  const n = /* @__PURE__ */ new Set();
1006
1026
  function i(a) {
1007
- if (Ct(e, a) && (e = a, r)) {
1027
+ if (Dt(e, a) && (e = a, r)) {
1008
1028
  const h = !Z.length;
1009
1029
  for (const u of n)
1010
1030
  u[1](), Z.push(u, e);
@@ -1018,9 +1038,9 @@ function He(e, t = B) {
1018
1038
  function s(a) {
1019
1039
  i(a(e));
1020
1040
  }
1021
- function o(a, h = B) {
1041
+ function o(a, h = P) {
1022
1042
  const u = [a, h];
1023
- return n.add(u), n.size === 1 && (r = t(i, s) || B), a(e), () => {
1043
+ return n.add(u), n.size === 1 && (r = t(i, s) || P), a(e), () => {
1024
1044
  n.delete(u), n.size === 0 && r && (r(), r = null);
1025
1045
  };
1026
1046
  }
@@ -1031,21 +1051,21 @@ function se(e, t, r) {
1031
1051
  if (!i.every(Boolean))
1032
1052
  throw new Error("derived() expects stores as input, got a falsy value");
1033
1053
  const s = t.length < 2;
1034
- return fn(r, (o, a) => {
1054
+ return pn(r, (o, a) => {
1035
1055
  let h = !1;
1036
1056
  const u = [];
1037
- let l = 0, m = B;
1057
+ let l = 0, m = P;
1038
1058
  const c = () => {
1039
1059
  if (l)
1040
1060
  return;
1041
1061
  m();
1042
1062
  const b = t(n ? u[0] : u, o, a);
1043
- s ? o(b) : m = Te(b) ? b : B;
1063
+ s ? o(b) : m = Te(b) ? b : P;
1044
1064
  }, d = i.map(
1045
- (b, y) => Mt(
1065
+ (b, y) => Ft(
1046
1066
  b,
1047
- (w) => {
1048
- u[y] = w, l &= ~(1 << y), h && c();
1067
+ (T) => {
1068
+ u[y] = T, l &= ~(1 << y), h && c();
1049
1069
  },
1050
1070
  () => {
1051
1071
  l |= 1 << y;
@@ -1057,70 +1077,70 @@ function se(e, t, r) {
1057
1077
  };
1058
1078
  });
1059
1079
  }
1060
- function mn(e) {
1080
+ function gn(e) {
1061
1081
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1062
1082
  }
1063
- var dn = function(t) {
1064
- return bn(t) && !pn(t);
1083
+ var yn = function(t) {
1084
+ return vn(t) && !_n(t);
1065
1085
  };
1066
- function bn(e) {
1086
+ function vn(e) {
1067
1087
  return !!e && typeof e == "object";
1068
1088
  }
1069
- function pn(e) {
1089
+ function _n(e) {
1070
1090
  var t = Object.prototype.toString.call(e);
1071
- return t === "[object RegExp]" || t === "[object Date]" || vn(e);
1091
+ return t === "[object RegExp]" || t === "[object Date]" || Sn(e);
1072
1092
  }
1073
- var gn = typeof Symbol == "function" && Symbol.for, yn = gn ? Symbol.for("react.element") : 60103;
1074
- function vn(e) {
1075
- return e.$$typeof === yn;
1093
+ var En = typeof Symbol == "function" && Symbol.for, xn = En ? Symbol.for("react.element") : 60103;
1094
+ function Sn(e) {
1095
+ return e.$$typeof === xn;
1076
1096
  }
1077
- function _n(e) {
1097
+ function wn(e) {
1078
1098
  return Array.isArray(e) ? [] : {};
1079
1099
  }
1080
1100
  function le(e, t) {
1081
- return t.clone !== !1 && t.isMergeableObject(e) ? K(_n(e), e, t) : e;
1101
+ return t.clone !== !1 && t.isMergeableObject(e) ? K(wn(e), e, t) : e;
1082
1102
  }
1083
- function En(e, t, r) {
1103
+ function Tn(e, t, r) {
1084
1104
  return e.concat(t).map(function(n) {
1085
1105
  return le(n, r);
1086
1106
  });
1087
1107
  }
1088
- function xn(e, t) {
1108
+ function Hn(e, t) {
1089
1109
  if (!t.customMerge)
1090
1110
  return K;
1091
1111
  var r = t.customMerge(e);
1092
1112
  return typeof r == "function" ? r : K;
1093
1113
  }
1094
- function Sn(e) {
1114
+ function An(e) {
1095
1115
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1096
1116
  return Object.propertyIsEnumerable.call(e, t);
1097
1117
  }) : [];
1098
1118
  }
1099
- function yt(e) {
1100
- return Object.keys(e).concat(Sn(e));
1119
+ function St(e) {
1120
+ return Object.keys(e).concat(An(e));
1101
1121
  }
1102
- function Zt(e, t) {
1122
+ function er(e, t) {
1103
1123
  try {
1104
1124
  return t in e;
1105
1125
  } catch {
1106
1126
  return !1;
1107
1127
  }
1108
1128
  }
1109
- function Tn(e, t) {
1110
- return Zt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1129
+ function Bn(e, t) {
1130
+ return er(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1111
1131
  }
1112
- function wn(e, t, r) {
1132
+ function Pn(e, t, r) {
1113
1133
  var n = {};
1114
- return r.isMergeableObject(e) && yt(e).forEach(function(i) {
1134
+ return r.isMergeableObject(e) && St(e).forEach(function(i) {
1115
1135
  n[i] = le(e[i], r);
1116
- }), yt(t).forEach(function(i) {
1117
- Tn(e, i) || (Zt(e, i) && r.isMergeableObject(t[i]) ? n[i] = xn(i, r)(e[i], t[i], r) : n[i] = le(t[i], r));
1136
+ }), St(t).forEach(function(i) {
1137
+ Bn(e, i) || (er(e, i) && r.isMergeableObject(t[i]) ? n[i] = Hn(i, r)(e[i], t[i], r) : n[i] = le(t[i], r));
1118
1138
  }), n;
1119
1139
  }
1120
1140
  function K(e, t, r) {
1121
- r = r || {}, r.arrayMerge = r.arrayMerge || En, r.isMergeableObject = r.isMergeableObject || dn, r.cloneUnlessOtherwiseSpecified = le;
1141
+ r = r || {}, r.arrayMerge = r.arrayMerge || Tn, r.isMergeableObject = r.isMergeableObject || yn, r.cloneUnlessOtherwiseSpecified = le;
1122
1142
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
1123
- return s ? n ? r.arrayMerge(e, t, r) : wn(e, t, r) : le(t, r);
1143
+ return s ? n ? r.arrayMerge(e, t, r) : Pn(e, t, r) : le(t, r);
1124
1144
  }
1125
1145
  K.all = function(t, r) {
1126
1146
  if (!Array.isArray(t))
@@ -1129,56 +1149,58 @@ K.all = function(t, r) {
1129
1149
  return K(n, i, r);
1130
1150
  }, {});
1131
1151
  };
1132
- var Hn = K, An = Hn;
1133
- const Bn = /* @__PURE__ */ mn(An);
1134
- function Me(e, t) {
1135
- var r = t && t.cache ? t.cache : Mn, n = t && t.serializer ? t.serializer : In, i = t && t.strategy ? t.strategy : On;
1152
+ var Nn = K, On = Nn;
1153
+ const Ln = /* @__PURE__ */ gn(On);
1154
+ function Ge(e, t) {
1155
+ var r = t && t.cache ? t.cache : Un, n = t && t.serializer ? t.serializer : Gn, i = t && t.strategy ? t.strategy : Cn;
1136
1156
  return i(e, {
1137
1157
  cache: r,
1138
1158
  serializer: n
1139
1159
  });
1140
1160
  }
1141
- function Pn(e) {
1161
+ function In(e) {
1142
1162
  return e == null || typeof e == "number" || typeof e == "boolean";
1143
1163
  }
1144
- function Nn(e, t, r, n) {
1145
- var i = Pn(n) ? n : r(n), s = t.get(i);
1164
+ function tr(e, t, r, n) {
1165
+ var i = In(n) ? n : r(n), s = t.get(i);
1146
1166
  return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
1147
1167
  }
1148
- function Qt(e, t, r) {
1168
+ function rr(e, t, r) {
1149
1169
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
1150
1170
  return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
1151
1171
  }
1152
- function Yt(e, t, r, n, i) {
1172
+ function st(e, t, r, n, i) {
1153
1173
  return r.bind(t, e, n, i);
1154
1174
  }
1155
- function On(e, t) {
1156
- var r = e.length === 1 ? Nn : Qt;
1157
- return Yt(e, this, r, t.cache.create(), t.serializer);
1175
+ function Cn(e, t) {
1176
+ var r = e.length === 1 ? tr : rr;
1177
+ return st(e, this, r, t.cache.create(), t.serializer);
1158
1178
  }
1159
- function Ln(e, t) {
1160
- return Yt(e, this, Qt, t.cache.create(), t.serializer);
1179
+ function Mn(e, t) {
1180
+ return st(e, this, rr, t.cache.create(), t.serializer);
1161
1181
  }
1162
- var In = function() {
1182
+ function Rn(e, t) {
1183
+ return st(e, this, tr, t.cache.create(), t.serializer);
1184
+ }
1185
+ var Gn = function() {
1163
1186
  return JSON.stringify(arguments);
1164
- }, Cn = (
1165
- /** @class */
1166
- function() {
1167
- function e() {
1168
- this.cache = /* @__PURE__ */ Object.create(null);
1169
- }
1170
- return e.prototype.get = function(t) {
1171
- return this.cache[t];
1172
- }, e.prototype.set = function(t, r) {
1173
- this.cache[t] = r;
1174
- }, e;
1175
- }()
1176
- ), Mn = {
1187
+ };
1188
+ function ot() {
1189
+ this.cache = /* @__PURE__ */ Object.create(null);
1190
+ }
1191
+ ot.prototype.get = function(e) {
1192
+ return this.cache[e];
1193
+ };
1194
+ ot.prototype.set = function(e, t) {
1195
+ this.cache[e] = t;
1196
+ };
1197
+ var Un = {
1177
1198
  create: function() {
1178
- return new Cn();
1199
+ return new ot();
1179
1200
  }
1180
- }, Re = {
1181
- variadic: Ln
1201
+ }, Ue = {
1202
+ variadic: Mn,
1203
+ monadic: Rn
1182
1204
  }, p;
1183
1205
  (function(e) {
1184
1206
  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";
@@ -1191,43 +1213,43 @@ var ee;
1191
1213
  (function(e) {
1192
1214
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1193
1215
  })(ee || (ee = {}));
1194
- function vt(e) {
1216
+ function wt(e) {
1195
1217
  return e.type === x.literal;
1196
1218
  }
1197
- function Rn(e) {
1219
+ function Dn(e) {
1198
1220
  return e.type === x.argument;
1199
1221
  }
1200
- function qt(e) {
1222
+ function nr(e) {
1201
1223
  return e.type === x.number;
1202
1224
  }
1203
- function Jt(e) {
1225
+ function ir(e) {
1204
1226
  return e.type === x.date;
1205
1227
  }
1206
- function Kt(e) {
1228
+ function sr(e) {
1207
1229
  return e.type === x.time;
1208
1230
  }
1209
- function er(e) {
1231
+ function or(e) {
1210
1232
  return e.type === x.select;
1211
1233
  }
1212
- function tr(e) {
1234
+ function ar(e) {
1213
1235
  return e.type === x.plural;
1214
1236
  }
1215
- function Gn(e) {
1237
+ function Fn(e) {
1216
1238
  return e.type === x.pound;
1217
1239
  }
1218
- function rr(e) {
1240
+ function ur(e) {
1219
1241
  return e.type === x.tag;
1220
1242
  }
1221
- function nr(e) {
1243
+ function hr(e) {
1222
1244
  return !!(e && typeof e == "object" && e.type === ee.number);
1223
1245
  }
1224
- function Ze(e) {
1246
+ function Ye(e) {
1225
1247
  return !!(e && typeof e == "object" && e.type === ee.dateTime);
1226
1248
  }
1227
- var ir = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Un = /(?:[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;
1228
- function Dn(e) {
1249
+ var lr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, $n = /(?:[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;
1250
+ function jn(e) {
1229
1251
  var t = {};
1230
- return e.replace(Un, function(r) {
1252
+ return e.replace($n, function(r) {
1231
1253
  var n = r.length;
1232
1254
  switch (r[0]) {
1233
1255
  case "G":
@@ -1316,11 +1338,11 @@ function Dn(e) {
1316
1338
  return "";
1317
1339
  }), t;
1318
1340
  }
1319
- var Fn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1320
- function $n(e) {
1341
+ var kn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1342
+ function Vn(e) {
1321
1343
  if (e.length === 0)
1322
1344
  throw new Error("Number skeleton cannot be empty");
1323
- for (var t = e.split(Fn).filter(function(c) {
1345
+ for (var t = e.split(kn).filter(function(c) {
1324
1346
  return c.length > 0;
1325
1347
  }), r = [], n = 0, i = t; n < i.length; n++) {
1326
1348
  var s = i[n], o = s.split("/");
@@ -1335,17 +1357,17 @@ function $n(e) {
1335
1357
  }
1336
1358
  return r;
1337
1359
  }
1338
- function jn(e) {
1360
+ function Xn(e) {
1339
1361
  return e.replace(/^(.*?)-/, "");
1340
1362
  }
1341
- var _t = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, sr = /^(@+)?(\+|#+)?[rs]?$/g, kn = /(\*)(0+)|(#+)(0+)|(0+)/g, or = /^(0+)$/;
1342
- function Et(e) {
1363
+ var Tt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, cr = /^(@+)?(\+|#+)?[rs]?$/g, Wn = /(\*)(0+)|(#+)(0+)|(0+)/g, fr = /^(0+)$/;
1364
+ function Ht(e) {
1343
1365
  var t = {};
1344
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(sr, function(r, n, i) {
1366
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(cr, function(r, n, i) {
1345
1367
  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)), "";
1346
1368
  }), t;
1347
1369
  }
1348
- function ar(e) {
1370
+ function mr(e) {
1349
1371
  switch (e) {
1350
1372
  case "sign-auto":
1351
1373
  return {
@@ -1385,7 +1407,7 @@ function ar(e) {
1385
1407
  };
1386
1408
  }
1387
1409
  }
1388
- function Vn(e) {
1410
+ function zn(e) {
1389
1411
  var t;
1390
1412
  if (e[0] === "E" && e[1] === "E" ? (t = {
1391
1413
  notation: "engineering"
@@ -1393,17 +1415,17 @@ function Vn(e) {
1393
1415
  notation: "scientific"
1394
1416
  }, e = e.slice(1)), t) {
1395
1417
  var r = e.slice(0, 2);
1396
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !or.test(e))
1418
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !fr.test(e))
1397
1419
  throw new Error("Malformed concise eng/scientific notation");
1398
1420
  t.minimumIntegerDigits = e.length;
1399
1421
  }
1400
1422
  return t;
1401
1423
  }
1402
- function xt(e) {
1403
- var t = {}, r = ar(e);
1424
+ function At(e) {
1425
+ var t = {}, r = mr(e);
1404
1426
  return r || t;
1405
1427
  }
1406
- function Xn(e) {
1428
+ function Zn(e) {
1407
1429
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1408
1430
  var i = n[r];
1409
1431
  switch (i.stem) {
@@ -1427,7 +1449,7 @@ function Xn(e) {
1427
1449
  continue;
1428
1450
  case "measure-unit":
1429
1451
  case "unit":
1430
- t.style = "unit", t.unit = jn(i.options[0]);
1452
+ t.style = "unit", t.unit = Xn(i.options[0]);
1431
1453
  continue;
1432
1454
  case "compact-short":
1433
1455
  case "K":
@@ -1439,12 +1461,12 @@ function Xn(e) {
1439
1461
  continue;
1440
1462
  case "scientific":
1441
1463
  t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1442
- return v(v({}, h), xt(u));
1464
+ return v(v({}, h), At(u));
1443
1465
  }, {}));
1444
1466
  continue;
1445
1467
  case "engineering":
1446
1468
  t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1447
- return v(v({}, h), xt(u));
1469
+ return v(v({}, h), At(u));
1448
1470
  }, {}));
1449
1471
  continue;
1450
1472
  case "notation-simple":
@@ -1489,7 +1511,7 @@ function Xn(e) {
1489
1511
  case "integer-width":
1490
1512
  if (i.options.length > 1)
1491
1513
  throw new RangeError("integer-width stems only accept a single optional option");
1492
- i.options[0].replace(kn, function(h, u, l, m, c, d) {
1514
+ i.options[0].replace(Wn, function(h, u, l, m, c, d) {
1493
1515
  if (u)
1494
1516
  t.minimumIntegerDigits = l.length;
1495
1517
  else {
@@ -1502,32 +1524,32 @@ function Xn(e) {
1502
1524
  });
1503
1525
  continue;
1504
1526
  }
1505
- if (or.test(i.stem)) {
1527
+ if (fr.test(i.stem)) {
1506
1528
  t.minimumIntegerDigits = i.stem.length;
1507
1529
  continue;
1508
1530
  }
1509
- if (_t.test(i.stem)) {
1531
+ if (Tt.test(i.stem)) {
1510
1532
  if (i.options.length > 1)
1511
1533
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1512
- i.stem.replace(_t, function(h, u, l, m, c, d) {
1534
+ i.stem.replace(Tt, function(h, u, l, m, c, d) {
1513
1535
  return l === "*" ? t.minimumFractionDigits = u.length : m && m[0] === "#" ? t.maximumFractionDigits = m.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1514
1536
  });
1515
1537
  var s = i.options[0];
1516
- s === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = v(v({}, t), Et(s)));
1538
+ s === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = v(v({}, t), Ht(s)));
1517
1539
  continue;
1518
1540
  }
1519
- if (sr.test(i.stem)) {
1520
- t = v(v({}, t), Et(i.stem));
1541
+ if (cr.test(i.stem)) {
1542
+ t = v(v({}, t), Ht(i.stem));
1521
1543
  continue;
1522
1544
  }
1523
- var o = ar(i.stem);
1545
+ var o = mr(i.stem);
1524
1546
  o && (t = v(v({}, t), o));
1525
- var a = Vn(i.stem);
1547
+ var a = zn(i.stem);
1526
1548
  a && (t = v(v({}, t), a));
1527
1549
  }
1528
1550
  return t;
1529
1551
  }
1530
- var ge = {
1552
+ var ye = {
1531
1553
  "001": [
1532
1554
  "H",
1533
1555
  "h"
@@ -2942,13 +2964,13 @@ var ge = {
2942
2964
  "h"
2943
2965
  ]
2944
2966
  };
2945
- function Wn(e, t) {
2967
+ function Qn(e, t) {
2946
2968
  for (var r = "", n = 0; n < e.length; n++) {
2947
2969
  var i = e.charAt(n);
2948
2970
  if (i === "j") {
2949
2971
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2950
2972
  s++, n++;
2951
- var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", u = zn(t);
2973
+ var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", u = Yn(t);
2952
2974
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2953
2975
  r += h;
2954
2976
  for (; o-- > 0; )
@@ -2957,7 +2979,7 @@ function Wn(e, t) {
2957
2979
  }
2958
2980
  return r;
2959
2981
  }
2960
- function zn(e) {
2982
+ function Yn(e) {
2961
2983
  var t = e.hourCycle;
2962
2984
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2963
2985
  e.hourCycles && // @ts-ignore
@@ -2976,23 +2998,23 @@ function zn(e) {
2976
2998
  }
2977
2999
  var r = e.language, n;
2978
3000
  r !== "root" && (n = e.maximize().region);
2979
- var i = ge[n || ""] || ge[r || ""] || ge["".concat(r, "-001")] || ge["001"];
3001
+ var i = ye[n || ""] || ye[r || ""] || ye["".concat(r, "-001")] || ye["001"];
2980
3002
  return i[0];
2981
3003
  }
2982
- var Ge, Zn = new RegExp("^".concat(ir.source, "*")), Qn = new RegExp("".concat(ir.source, "*$"));
3004
+ var De, qn = new RegExp("^".concat(lr.source, "*")), Jn = new RegExp("".concat(lr.source, "*$"));
2983
3005
  function g(e, t) {
2984
3006
  return { start: e, end: t };
2985
3007
  }
2986
- var Yn = !!String.prototype.startsWith && "_a".startsWith("a", 1), qn = !!String.fromCodePoint, Jn = !!Object.fromEntries, Kn = !!String.prototype.codePointAt, ei = !!String.prototype.trimStart, ti = !!String.prototype.trimEnd, ri = !!Number.isSafeInteger, ni = ri ? Number.isSafeInteger : function(e) {
3008
+ var Kn = !!String.prototype.startsWith && "_a".startsWith("a", 1), ei = !!String.fromCodePoint, ti = !!Object.fromEntries, ri = !!String.prototype.codePointAt, ni = !!String.prototype.trimStart, ii = !!String.prototype.trimEnd, si = !!Number.isSafeInteger, oi = si ? Number.isSafeInteger : function(e) {
2987
3009
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2988
- }, Qe = !0;
3010
+ }, qe = !0;
2989
3011
  try {
2990
- var ii = hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2991
- Qe = ((Ge = ii.exec("a")) === null || Ge === void 0 ? void 0 : Ge[0]) === "a";
3012
+ var ai = br("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3013
+ qe = ((De = ai.exec("a")) === null || De === void 0 ? void 0 : De[0]) === "a";
2992
3014
  } catch {
2993
- Qe = !1;
3015
+ qe = !1;
2994
3016
  }
2995
- var St = Yn ? (
3017
+ var Bt = Kn ? (
2996
3018
  // Native
2997
3019
  function(t, r, n) {
2998
3020
  return t.startsWith(r, n);
@@ -3002,7 +3024,7 @@ var St = Yn ? (
3002
3024
  function(t, r, n) {
3003
3025
  return t.slice(n, n + r.length) === r;
3004
3026
  }
3005
- ), Ye = qn ? String.fromCodePoint : (
3027
+ ), Je = ei ? String.fromCodePoint : (
3006
3028
  // IE11
3007
3029
  function() {
3008
3030
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3014,9 +3036,9 @@ var St = Yn ? (
3014
3036
  }
3015
3037
  return n;
3016
3038
  }
3017
- ), Tt = (
3039
+ ), Pt = (
3018
3040
  // native
3019
- Jn ? Object.fromEntries : (
3041
+ ti ? Object.fromEntries : (
3020
3042
  // Ponyfill
3021
3043
  function(t) {
3022
3044
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3026,7 +3048,7 @@ var St = Yn ? (
3026
3048
  return r;
3027
3049
  }
3028
3050
  )
3029
- ), ur = Kn ? (
3051
+ ), dr = ri ? (
3030
3052
  // Native
3031
3053
  function(t, r) {
3032
3054
  return t.codePointAt(r);
@@ -3040,7 +3062,7 @@ var St = Yn ? (
3040
3062
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
3041
3063
  }
3042
3064
  }
3043
- ), si = ei ? (
3065
+ ), ui = ni ? (
3044
3066
  // Native
3045
3067
  function(t) {
3046
3068
  return t.trimStart();
@@ -3048,9 +3070,9 @@ var St = Yn ? (
3048
3070
  ) : (
3049
3071
  // Ponyfill
3050
3072
  function(t) {
3051
- return t.replace(Zn, "");
3073
+ return t.replace(qn, "");
3052
3074
  }
3053
- ), oi = ti ? (
3075
+ ), hi = ii ? (
3054
3076
  // Native
3055
3077
  function(t) {
3056
3078
  return t.trimEnd();
@@ -3058,32 +3080,32 @@ var St = Yn ? (
3058
3080
  ) : (
3059
3081
  // Ponyfill
3060
3082
  function(t) {
3061
- return t.replace(Qn, "");
3083
+ return t.replace(Jn, "");
3062
3084
  }
3063
3085
  );
3064
- function hr(e, t) {
3086
+ function br(e, t) {
3065
3087
  return new RegExp(e, t);
3066
3088
  }
3067
- var qe;
3068
- if (Qe) {
3069
- var wt = hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3070
- qe = function(t, r) {
3089
+ var Ke;
3090
+ if (qe) {
3091
+ var Nt = br("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3092
+ Ke = function(t, r) {
3071
3093
  var n;
3072
- wt.lastIndex = r;
3073
- var i = wt.exec(t);
3094
+ Nt.lastIndex = r;
3095
+ var i = Nt.exec(t);
3074
3096
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3075
3097
  };
3076
3098
  } else
3077
- qe = function(t, r) {
3099
+ Ke = function(t, r) {
3078
3100
  for (var n = []; ; ) {
3079
- var i = ur(t, r);
3080
- if (i === void 0 || lr(i) || li(i))
3101
+ var i = dr(t, r);
3102
+ if (i === void 0 || pr(i) || mi(i))
3081
3103
  break;
3082
3104
  n.push(i), r += i >= 65536 ? 2 : 1;
3083
3105
  }
3084
- return Ye.apply(void 0, n);
3106
+ return Je.apply(void 0, n);
3085
3107
  };
3086
- var ai = (
3108
+ var li = (
3087
3109
  /** @class */
3088
3110
  function() {
3089
3111
  function e(t, r) {
@@ -3114,7 +3136,7 @@ var ai = (
3114
3136
  if (n)
3115
3137
  break;
3116
3138
  return this.error(p.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
3117
- } else if (s === 60 && !this.ignoreTag && Je(this.peek() || 0)) {
3139
+ } else if (s === 60 && !this.ignoreTag && et(this.peek() || 0)) {
3118
3140
  var o = this.parseTag(t, r);
3119
3141
  if (o.err)
3120
3142
  return o;
@@ -3147,7 +3169,7 @@ var ai = (
3147
3169
  return s;
3148
3170
  var o = s.val, a = this.clonePosition();
3149
3171
  if (this.bumpIf("</")) {
3150
- if (this.isEOF() || !Je(this.char()))
3172
+ if (this.isEOF() || !et(this.char()))
3151
3173
  return this.error(p.INVALID_TAG, g(a, this.clonePosition()));
3152
3174
  var h = this.clonePosition(), u = this.parseTagName();
3153
3175
  return i !== u ? this.error(p.UNMATCHED_CLOSING_TAG, g(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
@@ -3165,7 +3187,7 @@ var ai = (
3165
3187
  return this.error(p.INVALID_TAG, g(n, this.clonePosition()));
3166
3188
  }, e.prototype.parseTagName = function() {
3167
3189
  var t = this.offset();
3168
- for (this.bump(); !this.isEOF() && hi(this.char()); )
3190
+ for (this.bump(); !this.isEOF() && fi(this.char()); )
3169
3191
  this.bump();
3170
3192
  return this.message.slice(t, this.offset());
3171
3193
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3194,7 +3216,7 @@ var ai = (
3194
3216
  };
3195
3217
  }, e.prototype.tryParseLeftAngleBracket = function() {
3196
3218
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3197
- !ui(this.peek() || 0)) ? (this.bump(), "<") : null;
3219
+ !ci(this.peek() || 0)) ? (this.bump(), "<") : null;
3198
3220
  }, e.prototype.tryParseQuote = function(t) {
3199
3221
  if (this.isEOF() || this.char() !== 39)
3200
3222
  return null;
@@ -3228,12 +3250,12 @@ var ai = (
3228
3250
  r.push(n);
3229
3251
  this.bump();
3230
3252
  }
3231
- return Ye.apply(void 0, r);
3253
+ return Je.apply(void 0, r);
3232
3254
  }, e.prototype.tryParseUnquoted = function(t, r) {
3233
3255
  if (this.isEOF())
3234
3256
  return null;
3235
3257
  var n = this.char();
3236
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ye(n));
3258
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Je(n));
3237
3259
  }, e.prototype.parseArgument = function(t, r) {
3238
3260
  var n = this.clonePosition();
3239
3261
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3262,7 +3284,7 @@ var ai = (
3262
3284
  return this.error(p.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3263
3285
  }
3264
3286
  }, e.prototype.parseIdentifierIfPossible = function() {
3265
- var t = this.clonePosition(), r = this.offset(), n = qe(this.message, r), i = r + n.length;
3287
+ var t = this.clonePosition(), r = this.offset(), n = Ke(this.message, r), i = r + n.length;
3266
3288
  this.bumpTo(i);
3267
3289
  var s = this.clonePosition(), o = g(t, s);
3268
3290
  return { value: n, location: o };
@@ -3281,7 +3303,7 @@ var ai = (
3281
3303
  var l = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
3282
3304
  if (m.err)
3283
3305
  return m;
3284
- var c = oi(m.val);
3306
+ var c = hi(m.val);
3285
3307
  if (c.length === 0)
3286
3308
  return this.error(p.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
3287
3309
  var d = g(l, this.clonePosition());
@@ -3291,27 +3313,27 @@ var ai = (
3291
3313
  if (b.err)
3292
3314
  return b;
3293
3315
  var y = g(i, this.clonePosition());
3294
- if (u && St(u?.style, "::", 0)) {
3295
- var w = si(u.style.slice(2));
3316
+ if (u && Bt(u?.style, "::", 0)) {
3317
+ var T = ui(u.style.slice(2));
3296
3318
  if (a === "number") {
3297
- var m = this.parseNumberSkeletonFromString(w, u.styleLocation);
3319
+ var m = this.parseNumberSkeletonFromString(T, u.styleLocation);
3298
3320
  return m.err ? m : {
3299
3321
  val: { type: x.number, value: n, location: y, style: m.val },
3300
3322
  err: null
3301
3323
  };
3302
3324
  } else {
3303
- if (w.length === 0)
3325
+ if (T.length === 0)
3304
3326
  return this.error(p.EXPECT_DATE_TIME_SKELETON, y);
3305
- var C = w;
3306
- this.locale && (C = Wn(w, this.locale));
3327
+ var C = T;
3328
+ this.locale && (C = Qn(T, this.locale));
3307
3329
  var c = {
3308
3330
  type: ee.dateTime,
3309
3331
  pattern: C,
3310
3332
  location: u.styleLocation,
3311
- parsedOptions: this.shouldParseSkeletons ? Dn(C) : {}
3312
- }, P = a === "date" ? x.date : x.time;
3333
+ parsedOptions: this.shouldParseSkeletons ? jn(C) : {}
3334
+ }, N = a === "date" ? x.date : x.time;
3313
3335
  return {
3314
- val: { type: P, value: n, location: y, style: c },
3336
+ val: { type: N, value: n, location: y, style: c },
3315
3337
  err: null
3316
3338
  };
3317
3339
  }
@@ -3329,23 +3351,23 @@ var ai = (
3329
3351
  case "plural":
3330
3352
  case "selectordinal":
3331
3353
  case "select": {
3332
- var T = this.clonePosition();
3354
+ var w = this.clonePosition();
3333
3355
  if (this.bumpSpace(), !this.bumpIf(","))
3334
- return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, g(T, v({}, T)));
3356
+ return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, g(w, v({}, w)));
3335
3357
  this.bumpSpace();
3336
- var N = this.parseIdentifierIfPossible(), O = 0;
3337
- if (a !== "select" && N.value === "offset") {
3358
+ var O = this.parseIdentifierIfPossible(), L = 0;
3359
+ if (a !== "select" && O.value === "offset") {
3338
3360
  if (!this.bumpIf(":"))
3339
3361
  return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
3340
3362
  this.bumpSpace();
3341
3363
  var m = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3342
3364
  if (m.err)
3343
3365
  return m;
3344
- this.bumpSpace(), N = this.parseIdentifierIfPossible(), O = m.val;
3366
+ this.bumpSpace(), O = this.parseIdentifierIfPossible(), L = m.val;
3345
3367
  }
3346
- var R = this.tryParsePluralOrSelectOptions(t, a, r, N);
3347
- if (R.err)
3348
- return R;
3368
+ var M = this.tryParsePluralOrSelectOptions(t, a, r, O);
3369
+ if (M.err)
3370
+ return M;
3349
3371
  var b = this.tryParseArgumentClose(i);
3350
3372
  if (b.err)
3351
3373
  return b;
@@ -3354,7 +3376,7 @@ var ai = (
3354
3376
  val: {
3355
3377
  type: x.select,
3356
3378
  value: n,
3357
- options: Tt(R.val),
3379
+ options: Pt(M.val),
3358
3380
  location: E
3359
3381
  },
3360
3382
  err: null
@@ -3362,8 +3384,8 @@ var ai = (
3362
3384
  val: {
3363
3385
  type: x.plural,
3364
3386
  value: n,
3365
- options: Tt(R.val),
3366
- offset: O,
3387
+ options: Pt(M.val),
3388
+ offset: L,
3367
3389
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3368
3390
  location: E
3369
3391
  },
@@ -3413,7 +3435,7 @@ var ai = (
3413
3435
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3414
3436
  var n = [];
3415
3437
  try {
3416
- n = $n(t);
3438
+ n = Vn(t);
3417
3439
  } catch {
3418
3440
  return this.error(p.INVALID_NUMBER_SKELETON, r);
3419
3441
  }
@@ -3422,7 +3444,7 @@ var ai = (
3422
3444
  type: ee.number,
3423
3445
  tokens: n,
3424
3446
  location: r,
3425
- parsedOptions: this.shouldParseSkeletons ? Xn(n) : {}
3447
+ parsedOptions: this.shouldParseSkeletons ? Zn(n) : {}
3426
3448
  },
3427
3449
  err: null
3428
3450
  };
@@ -3470,7 +3492,7 @@ var ai = (
3470
3492
  break;
3471
3493
  }
3472
3494
  var h = g(i, this.clonePosition());
3473
- return s ? (o *= n, ni(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
3495
+ return s ? (o *= n, oi(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
3474
3496
  }, e.prototype.offset = function() {
3475
3497
  return this.position.offset;
3476
3498
  }, e.prototype.isEOF = function() {
@@ -3485,7 +3507,7 @@ var ai = (
3485
3507
  var t = this.position.offset;
3486
3508
  if (t >= this.message.length)
3487
3509
  throw Error("out of bound");
3488
- var r = ur(this.message, t);
3510
+ var r = dr(this.message, t);
3489
3511
  if (r === void 0)
3490
3512
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3491
3513
  return r;
@@ -3504,7 +3526,7 @@ var ai = (
3504
3526
  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);
3505
3527
  }
3506
3528
  }, e.prototype.bumpIf = function(t) {
3507
- if (St(this.message, t, this.offset())) {
3529
+ if (Bt(this.message, t, this.offset())) {
3508
3530
  for (var r = 0; r < t.length; r++)
3509
3531
  this.bump();
3510
3532
  return !0;
@@ -3526,7 +3548,7 @@ var ai = (
3526
3548
  break;
3527
3549
  }
3528
3550
  }, e.prototype.bumpSpace = function() {
3529
- for (; !this.isEOF() && lr(this.char()); )
3551
+ for (; !this.isEOF() && pr(this.char()); )
3530
3552
  this.bump();
3531
3553
  }, e.prototype.peek = function() {
3532
3554
  if (this.isEOF())
@@ -3536,43 +3558,43 @@ var ai = (
3536
3558
  }, e;
3537
3559
  }()
3538
3560
  );
3539
- function Je(e) {
3561
+ function et(e) {
3540
3562
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3541
3563
  }
3542
- function ui(e) {
3543
- return Je(e) || e === 47;
3564
+ function ci(e) {
3565
+ return et(e) || e === 47;
3544
3566
  }
3545
- function hi(e) {
3567
+ function fi(e) {
3546
3568
  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;
3547
3569
  }
3548
- function lr(e) {
3570
+ function pr(e) {
3549
3571
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3550
3572
  }
3551
- function li(e) {
3573
+ function mi(e) {
3552
3574
  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;
3553
3575
  }
3554
- function Ke(e) {
3576
+ function tt(e) {
3555
3577
  e.forEach(function(t) {
3556
- if (delete t.location, er(t) || tr(t))
3578
+ if (delete t.location, or(t) || ar(t))
3557
3579
  for (var r in t.options)
3558
- delete t.options[r].location, Ke(t.options[r].value);
3559
- else qt(t) && nr(t.style) || (Jt(t) || Kt(t)) && Ze(t.style) ? delete t.style.location : rr(t) && Ke(t.children);
3580
+ delete t.options[r].location, tt(t.options[r].value);
3581
+ else nr(t) && hr(t.style) || (ir(t) || sr(t)) && Ye(t.style) ? delete t.style.location : ur(t) && tt(t.children);
3560
3582
  });
3561
3583
  }
3562
- function ci(e, t) {
3584
+ function di(e, t) {
3563
3585
  t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3564
- var r = new ai(e, t).parse();
3586
+ var r = new li(e, t).parse();
3565
3587
  if (r.err) {
3566
3588
  var n = SyntaxError(p[r.err.kind]);
3567
3589
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3568
3590
  }
3569
- return t?.captureLocation || Ke(r.val), r.val;
3591
+ return t?.captureLocation || tt(r.val), r.val;
3570
3592
  }
3571
3593
  var te;
3572
3594
  (function(e) {
3573
3595
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3574
3596
  })(te || (te = {}));
3575
- var Ae = (
3597
+ var Be = (
3576
3598
  /** @class */
3577
3599
  function(e) {
3578
3600
  U(t, e);
@@ -3584,7 +3606,7 @@ var Ae = (
3584
3606
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3585
3607
  }, t;
3586
3608
  }(Error)
3587
- ), Ht = (
3609
+ ), Ot = (
3588
3610
  /** @class */
3589
3611
  function(e) {
3590
3612
  U(t, e);
@@ -3592,8 +3614,8 @@ var Ae = (
3592
3614
  return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), te.INVALID_VALUE, s) || this;
3593
3615
  }
3594
3616
  return t;
3595
- }(Ae)
3596
- ), fi = (
3617
+ }(Be)
3618
+ ), bi = (
3597
3619
  /** @class */
3598
3620
  function(e) {
3599
3621
  U(t, e);
@@ -3601,8 +3623,8 @@ var Ae = (
3601
3623
  return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), te.INVALID_VALUE, i) || this;
3602
3624
  }
3603
3625
  return t;
3604
- }(Ae)
3605
- ), mi = (
3626
+ }(Be)
3627
+ ), pi = (
3606
3628
  /** @class */
3607
3629
  function(e) {
3608
3630
  U(t, e);
@@ -3610,129 +3632,129 @@ var Ae = (
3610
3632
  return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), te.MISSING_VALUE, n) || this;
3611
3633
  }
3612
3634
  return t;
3613
- }(Ae)
3614
- ), A;
3635
+ }(Be)
3636
+ ), H;
3615
3637
  (function(e) {
3616
3638
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3617
- })(A || (A = {}));
3618
- function di(e) {
3639
+ })(H || (H = {}));
3640
+ function gi(e) {
3619
3641
  return e.length < 2 ? e : e.reduce(function(t, r) {
3620
3642
  var n = t[t.length - 1];
3621
- return !n || n.type !== A.literal || r.type !== A.literal ? t.push(r) : n.value += r.value, t;
3643
+ return !n || n.type !== H.literal || r.type !== H.literal ? t.push(r) : n.value += r.value, t;
3622
3644
  }, []);
3623
3645
  }
3624
- function bi(e) {
3646
+ function yi(e) {
3625
3647
  return typeof e == "function";
3626
3648
  }
3627
- function _e(e, t, r, n, i, s, o) {
3628
- if (e.length === 1 && vt(e[0]))
3649
+ function Ee(e, t, r, n, i, s, o) {
3650
+ if (e.length === 1 && wt(e[0]))
3629
3651
  return [
3630
3652
  {
3631
- type: A.literal,
3653
+ type: H.literal,
3632
3654
  value: e[0].value
3633
3655
  }
3634
3656
  ];
3635
3657
  for (var a = [], h = 0, u = e; h < u.length; h++) {
3636
3658
  var l = u[h];
3637
- if (vt(l)) {
3659
+ if (wt(l)) {
3638
3660
  a.push({
3639
- type: A.literal,
3661
+ type: H.literal,
3640
3662
  value: l.value
3641
3663
  });
3642
3664
  continue;
3643
3665
  }
3644
- if (Gn(l)) {
3666
+ if (Fn(l)) {
3645
3667
  typeof s == "number" && a.push({
3646
- type: A.literal,
3668
+ type: H.literal,
3647
3669
  value: r.getNumberFormat(t).format(s)
3648
3670
  });
3649
3671
  continue;
3650
3672
  }
3651
3673
  var m = l.value;
3652
3674
  if (!(i && m in i))
3653
- throw new mi(m, o);
3675
+ throw new pi(m, o);
3654
3676
  var c = i[m];
3655
- if (Rn(l)) {
3677
+ if (Dn(l)) {
3656
3678
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3657
- type: typeof c == "string" ? A.literal : A.object,
3679
+ type: typeof c == "string" ? H.literal : H.object,
3658
3680
  value: c
3659
3681
  });
3660
3682
  continue;
3661
3683
  }
3662
- if (Jt(l)) {
3663
- var d = typeof l.style == "string" ? n.date[l.style] : Ze(l.style) ? l.style.parsedOptions : void 0;
3684
+ if (ir(l)) {
3685
+ var d = typeof l.style == "string" ? n.date[l.style] : Ye(l.style) ? l.style.parsedOptions : void 0;
3664
3686
  a.push({
3665
- type: A.literal,
3687
+ type: H.literal,
3666
3688
  value: r.getDateTimeFormat(t, d).format(c)
3667
3689
  });
3668
3690
  continue;
3669
3691
  }
3670
- if (Kt(l)) {
3671
- var d = typeof l.style == "string" ? n.time[l.style] : Ze(l.style) ? l.style.parsedOptions : n.time.medium;
3692
+ if (sr(l)) {
3693
+ var d = typeof l.style == "string" ? n.time[l.style] : Ye(l.style) ? l.style.parsedOptions : n.time.medium;
3672
3694
  a.push({
3673
- type: A.literal,
3695
+ type: H.literal,
3674
3696
  value: r.getDateTimeFormat(t, d).format(c)
3675
3697
  });
3676
3698
  continue;
3677
3699
  }
3678
- if (qt(l)) {
3679
- var d = typeof l.style == "string" ? n.number[l.style] : nr(l.style) ? l.style.parsedOptions : void 0;
3700
+ if (nr(l)) {
3701
+ var d = typeof l.style == "string" ? n.number[l.style] : hr(l.style) ? l.style.parsedOptions : void 0;
3680
3702
  d && d.scale && (c = c * (d.scale || 1)), a.push({
3681
- type: A.literal,
3703
+ type: H.literal,
3682
3704
  value: r.getNumberFormat(t, d).format(c)
3683
3705
  });
3684
3706
  continue;
3685
3707
  }
3686
- if (rr(l)) {
3687
- var b = l.children, y = l.value, w = i[y];
3688
- if (!bi(w))
3689
- throw new fi(y, "function", o);
3690
- var C = _e(b, t, r, n, i, s), P = w(C.map(function(O) {
3691
- return O.value;
3708
+ if (ur(l)) {
3709
+ var b = l.children, y = l.value, T = i[y];
3710
+ if (!yi(T))
3711
+ throw new bi(y, "function", o);
3712
+ var C = Ee(b, t, r, n, i, s), N = T(C.map(function(L) {
3713
+ return L.value;
3692
3714
  }));
3693
- Array.isArray(P) || (P = [P]), a.push.apply(a, P.map(function(O) {
3715
+ Array.isArray(N) || (N = [N]), a.push.apply(a, N.map(function(L) {
3694
3716
  return {
3695
- type: typeof O == "string" ? A.literal : A.object,
3696
- value: O
3717
+ type: typeof L == "string" ? H.literal : H.object,
3718
+ value: L
3697
3719
  };
3698
3720
  }));
3699
3721
  }
3700
- if (er(l)) {
3701
- var T = l.options[c] || l.options.other;
3702
- if (!T)
3703
- throw new Ht(l.value, c, Object.keys(l.options), o);
3704
- a.push.apply(a, _e(T.value, t, r, n, i));
3722
+ if (or(l)) {
3723
+ var w = l.options[c] || l.options.other;
3724
+ if (!w)
3725
+ throw new Ot(l.value, c, Object.keys(l.options), o);
3726
+ a.push.apply(a, Ee(w.value, t, r, n, i));
3705
3727
  continue;
3706
3728
  }
3707
- if (tr(l)) {
3708
- var T = l.options["=".concat(c)];
3709
- if (!T) {
3729
+ if (ar(l)) {
3730
+ var w = l.options["=".concat(c)];
3731
+ if (!w) {
3710
3732
  if (!Intl.PluralRules)
3711
- throw new Ae(`Intl.PluralRules is not available in this environment.
3733
+ throw new Be(`Intl.PluralRules is not available in this environment.
3712
3734
  Try polyfilling it using "@formatjs/intl-pluralrules"
3713
3735
  `, te.MISSING_INTL_API, o);
3714
- var N = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3715
- T = l.options[N] || l.options.other;
3736
+ var O = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3737
+ w = l.options[O] || l.options.other;
3716
3738
  }
3717
- if (!T)
3718
- throw new Ht(l.value, c, Object.keys(l.options), o);
3719
- a.push.apply(a, _e(T.value, t, r, n, i, c - (l.offset || 0)));
3739
+ if (!w)
3740
+ throw new Ot(l.value, c, Object.keys(l.options), o);
3741
+ a.push.apply(a, Ee(w.value, t, r, n, i, c - (l.offset || 0)));
3720
3742
  continue;
3721
3743
  }
3722
3744
  }
3723
- return di(a);
3745
+ return gi(a);
3724
3746
  }
3725
- function pi(e, t) {
3747
+ function vi(e, t) {
3726
3748
  return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3727
3749
  return r[n] = v(v({}, e[n]), t[n] || {}), r;
3728
3750
  }, {})) : e;
3729
3751
  }
3730
- function gi(e, t) {
3752
+ function _i(e, t) {
3731
3753
  return t ? Object.keys(e).reduce(function(r, n) {
3732
- return r[n] = pi(e[n], t[n]), r;
3754
+ return r[n] = vi(e[n], t[n]), r;
3733
3755
  }, v({}, e)) : e;
3734
3756
  }
3735
- function Ue(e) {
3757
+ function Fe(e) {
3736
3758
  return {
3737
3759
  create: function() {
3738
3760
  return {
@@ -3746,39 +3768,39 @@ function Ue(e) {
3746
3768
  }
3747
3769
  };
3748
3770
  }
3749
- function yi(e) {
3771
+ function Ei(e) {
3750
3772
  return e === void 0 && (e = {
3751
3773
  number: {},
3752
3774
  dateTime: {},
3753
3775
  pluralRules: {}
3754
3776
  }), {
3755
- getNumberFormat: Me(function() {
3777
+ getNumberFormat: Ge(function() {
3756
3778
  for (var t, r = [], n = 0; n < arguments.length; n++)
3757
3779
  r[n] = arguments[n];
3758
3780
  return new ((t = Intl.NumberFormat).bind.apply(t, q([void 0], r, !1)))();
3759
3781
  }, {
3760
- cache: Ue(e.number),
3761
- strategy: Re.variadic
3782
+ cache: Fe(e.number),
3783
+ strategy: Ue.variadic
3762
3784
  }),
3763
- getDateTimeFormat: Me(function() {
3785
+ getDateTimeFormat: Ge(function() {
3764
3786
  for (var t, r = [], n = 0; n < arguments.length; n++)
3765
3787
  r[n] = arguments[n];
3766
3788
  return new ((t = Intl.DateTimeFormat).bind.apply(t, q([void 0], r, !1)))();
3767
3789
  }, {
3768
- cache: Ue(e.dateTime),
3769
- strategy: Re.variadic
3790
+ cache: Fe(e.dateTime),
3791
+ strategy: Ue.variadic
3770
3792
  }),
3771
- getPluralRules: Me(function() {
3793
+ getPluralRules: Ge(function() {
3772
3794
  for (var t, r = [], n = 0; n < arguments.length; n++)
3773
3795
  r[n] = arguments[n];
3774
3796
  return new ((t = Intl.PluralRules).bind.apply(t, q([void 0], r, !1)))();
3775
3797
  }, {
3776
- cache: Ue(e.pluralRules),
3777
- strategy: Re.variadic
3798
+ cache: Fe(e.pluralRules),
3799
+ strategy: Ue.variadic
3778
3800
  })
3779
3801
  };
3780
3802
  }
3781
- var vi = (
3803
+ var xi = (
3782
3804
  /** @class */
3783
3805
  function() {
3784
3806
  function e(t, r, n, i) {
@@ -3793,11 +3815,11 @@ var vi = (
3793
3815
  if (u.length === 1)
3794
3816
  return u[0].value;
3795
3817
  var l = u.reduce(function(m, c) {
3796
- return !m.length || c.type !== A.literal || typeof m[m.length - 1] != "string" ? m.push(c.value) : m[m.length - 1] += c.value, m;
3818
+ return !m.length || c.type !== H.literal || typeof m[m.length - 1] != "string" ? m.push(c.value) : m[m.length - 1] += c.value, m;
3797
3819
  }, []);
3798
3820
  return l.length <= 1 ? l[0] || "" : l;
3799
3821
  }, this.formatToParts = function(h) {
3800
- return _e(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
3822
+ return Ee(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
3801
3823
  }, this.resolvedOptions = function() {
3802
3824
  var h;
3803
3825
  return {
@@ -3810,13 +3832,13 @@ var vi = (
3810
3832
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3811
3833
  var o = i || {};
3812
3834
  o.formatters;
3813
- var a = Yr(o, ["formatters"]);
3835
+ var a = en(o, ["formatters"]);
3814
3836
  this.ast = e.__parse(t, v(v({}, a), { locale: this.resolvedLocale }));
3815
3837
  } else
3816
3838
  this.ast = t;
3817
3839
  if (!Array.isArray(this.ast))
3818
3840
  throw new TypeError("A message must be provided as a String or AST.");
3819
- this.formats = gi(e.formats, n), this.formatters = i && i.formatters || yi(this.formatterCache);
3841
+ this.formats = _i(e.formats, n), this.formatters = i && i.formatters || Ei(this.formatterCache);
3820
3842
  }
3821
3843
  return Object.defineProperty(e, "defaultLocale", {
3822
3844
  get: function() {
@@ -3829,7 +3851,7 @@ var vi = (
3829
3851
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3830
3852
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3831
3853
  }
3832
- }, e.__parse = ci, e.formats = {
3854
+ }, e.__parse = di, e.formats = {
3833
3855
  number: {
3834
3856
  integer: {
3835
3857
  maximumFractionDigits: 0
@@ -3890,7 +3912,7 @@ var vi = (
3890
3912
  }, e;
3891
3913
  }()
3892
3914
  );
3893
- function _i(e, t) {
3915
+ function Si(e, t) {
3894
3916
  if (t == null)
3895
3917
  return;
3896
3918
  if (t in e)
@@ -3911,92 +3933,92 @@ function _i(e, t) {
3911
3933
  n = void 0;
3912
3934
  return n;
3913
3935
  }
3914
- const F = {}, Ei = (e, t, r) => r && (t in F || (F[t] = {}), e in F[t] || (F[t][e] = r), r), cr = (e, t) => {
3936
+ const D = {}, wi = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = r), r), gr = (e, t) => {
3915
3937
  if (t == null)
3916
3938
  return;
3917
- if (t in F && e in F[t])
3918
- return F[t][e];
3919
- const r = Be(t);
3939
+ if (t in D && e in D[t])
3940
+ return D[t][e];
3941
+ const r = Pe(t);
3920
3942
  for (let n = 0; n < r.length; n++) {
3921
- const i = r[n], s = Si(i, e);
3943
+ const i = r[n], s = Hi(i, e);
3922
3944
  if (s)
3923
- return Ei(e, t, s);
3945
+ return wi(e, t, s);
3924
3946
  }
3925
3947
  };
3926
- let nt;
3927
- const me = He({});
3928
- function xi(e) {
3929
- return nt[e] || null;
3948
+ let at;
3949
+ const me = Ae({});
3950
+ function Ti(e) {
3951
+ return at[e] || null;
3930
3952
  }
3931
- function fr(e) {
3932
- return e in nt;
3953
+ function yr(e) {
3954
+ return e in at;
3933
3955
  }
3934
- function Si(e, t) {
3935
- if (!fr(e))
3956
+ function Hi(e, t) {
3957
+ if (!yr(e))
3936
3958
  return null;
3937
- const r = xi(e);
3938
- return _i(r, t);
3959
+ const r = Ti(e);
3960
+ return Si(r, t);
3939
3961
  }
3940
- function Ti(e) {
3962
+ function Ai(e) {
3941
3963
  if (e == null)
3942
3964
  return;
3943
- const t = Be(e);
3965
+ const t = Pe(e);
3944
3966
  for (let r = 0; r < t.length; r++) {
3945
3967
  const n = t[r];
3946
- if (fr(n))
3968
+ if (yr(n))
3947
3969
  return n;
3948
3970
  }
3949
3971
  }
3950
- function mr(e, ...t) {
3951
- delete F[e], me.update((r) => (r[e] = Bn.all([r[e] || {}, ...t]), r));
3972
+ function vr(e, ...t) {
3973
+ delete D[e], me.update((r) => (r[e] = Ln.all([r[e] || {}, ...t]), r));
3952
3974
  }
3953
3975
  se(
3954
3976
  [me],
3955
3977
  ([e]) => Object.keys(e)
3956
3978
  );
3957
- me.subscribe((e) => nt = e);
3958
- const Ee = {};
3959
- function wi(e, t) {
3960
- Ee[e].delete(t), Ee[e].size === 0 && delete Ee[e];
3979
+ me.subscribe((e) => at = e);
3980
+ const xe = {};
3981
+ function Bi(e, t) {
3982
+ xe[e].delete(t), xe[e].size === 0 && delete xe[e];
3961
3983
  }
3962
- function dr(e) {
3963
- return Ee[e];
3984
+ function _r(e) {
3985
+ return xe[e];
3964
3986
  }
3965
- function Hi(e) {
3966
- return Be(e).map((t) => {
3967
- const r = dr(t);
3987
+ function Pi(e) {
3988
+ return Pe(e).map((t) => {
3989
+ const r = _r(t);
3968
3990
  return [t, r ? [...r] : []];
3969
3991
  }).filter(([, t]) => t.length > 0);
3970
3992
  }
3971
- function et(e) {
3972
- return e == null ? !1 : Be(e).some(
3993
+ function rt(e) {
3994
+ return e == null ? !1 : Pe(e).some(
3973
3995
  (t) => {
3974
3996
  var r;
3975
- return (r = dr(t)) == null ? void 0 : r.size;
3997
+ return (r = _r(t)) == null ? void 0 : r.size;
3976
3998
  }
3977
3999
  );
3978
4000
  }
3979
- function Ai(e, t) {
4001
+ function Ni(e, t) {
3980
4002
  return Promise.all(
3981
- t.map((n) => (wi(e, n), n().then((i) => i.default || i)))
3982
- ).then((n) => mr(e, ...n));
4003
+ t.map((n) => (Bi(e, n), n().then((i) => i.default || i)))
4004
+ ).then((n) => vr(e, ...n));
3983
4005
  }
3984
4006
  const ae = {};
3985
- function br(e) {
3986
- if (!et(e))
4007
+ function Er(e) {
4008
+ if (!rt(e))
3987
4009
  return e in ae ? ae[e] : Promise.resolve();
3988
- const t = Hi(e);
4010
+ const t = Pi(e);
3989
4011
  return ae[e] = Promise.all(
3990
4012
  t.map(
3991
- ([r, n]) => Ai(r, n)
4013
+ ([r, n]) => Ni(r, n)
3992
4014
  )
3993
4015
  ).then(() => {
3994
- if (et(e))
3995
- return br(e);
4016
+ if (rt(e))
4017
+ return Er(e);
3996
4018
  delete ae[e];
3997
4019
  }), ae[e];
3998
4020
  }
3999
- const Bi = {
4021
+ const Oi = {
4000
4022
  number: {
4001
4023
  scientific: { notation: "scientific" },
4002
4024
  engineering: { notation: "engineering" },
@@ -4025,78 +4047,78 @@ const Bi = {
4025
4047
  timeZoneName: "short"
4026
4048
  }
4027
4049
  }
4028
- }, Pi = {
4050
+ }, Li = {
4029
4051
  fallbackLocale: null,
4030
4052
  loadingDelay: 200,
4031
- formats: Bi,
4053
+ formats: Oi,
4032
4054
  warnOnMissingMessages: !0,
4033
4055
  handleMissingMessage: void 0,
4034
4056
  ignoreTag: !0
4035
- }, Ni = Pi;
4057
+ }, Ii = Li;
4036
4058
  function re() {
4037
- return Ni;
4059
+ return Ii;
4038
4060
  }
4039
- const De = He(!1);
4040
- var Oi = Object.defineProperty, Li = Object.defineProperties, Ii = Object.getOwnPropertyDescriptors, At = Object.getOwnPropertySymbols, Ci = Object.prototype.hasOwnProperty, Mi = Object.prototype.propertyIsEnumerable, Bt = (e, t, r) => t in e ? Oi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ri = (e, t) => {
4061
+ const $e = Ae(!1);
4062
+ var Ci = Object.defineProperty, Mi = Object.defineProperties, Ri = Object.getOwnPropertyDescriptors, Lt = Object.getOwnPropertySymbols, Gi = Object.prototype.hasOwnProperty, Ui = Object.prototype.propertyIsEnumerable, It = (e, t, r) => t in e ? Ci(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Di = (e, t) => {
4041
4063
  for (var r in t || (t = {}))
4042
- Ci.call(t, r) && Bt(e, r, t[r]);
4043
- if (At)
4044
- for (var r of At(t))
4045
- Mi.call(t, r) && Bt(e, r, t[r]);
4064
+ Gi.call(t, r) && It(e, r, t[r]);
4065
+ if (Lt)
4066
+ for (var r of Lt(t))
4067
+ Ui.call(t, r) && It(e, r, t[r]);
4046
4068
  return e;
4047
- }, Gi = (e, t) => Li(e, Ii(t));
4048
- let tt;
4049
- const xe = He(null);
4050
- function Pt(e) {
4069
+ }, Fi = (e, t) => Mi(e, Ri(t));
4070
+ let nt;
4071
+ const Se = Ae(null);
4072
+ function Ct(e) {
4051
4073
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4052
4074
  }
4053
- function Be(e, t = re().fallbackLocale) {
4054
- const r = Pt(e);
4055
- return t ? [.../* @__PURE__ */ new Set([...r, ...Pt(t)])] : r;
4075
+ function Pe(e, t = re().fallbackLocale) {
4076
+ const r = Ct(e);
4077
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Ct(t)])] : r;
4056
4078
  }
4057
4079
  function V() {
4058
- return tt ?? void 0;
4080
+ return nt ?? void 0;
4059
4081
  }
4060
- xe.subscribe((e) => {
4061
- tt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4082
+ Se.subscribe((e) => {
4083
+ nt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4062
4084
  });
4063
- const Ui = (e) => {
4064
- if (e && Ti(e) && et(e)) {
4085
+ const $i = (e) => {
4086
+ if (e && Ai(e) && rt(e)) {
4065
4087
  const { loadingDelay: t } = re();
4066
4088
  let r;
4067
4089
  return typeof window < "u" && V() != null && t ? r = window.setTimeout(
4068
- () => De.set(!0),
4090
+ () => $e.set(!0),
4069
4091
  t
4070
- ) : De.set(!0), br(e).then(() => {
4071
- xe.set(e);
4092
+ ) : $e.set(!0), Er(e).then(() => {
4093
+ Se.set(e);
4072
4094
  }).finally(() => {
4073
- clearTimeout(r), De.set(!1);
4095
+ clearTimeout(r), $e.set(!1);
4074
4096
  });
4075
4097
  }
4076
- return xe.set(e);
4077
- }, de = Gi(Ri({}, xe), {
4078
- set: Ui
4079
- }), Pe = (e) => {
4098
+ return Se.set(e);
4099
+ }, de = Fi(Di({}, Se), {
4100
+ set: $i
4101
+ }), Ne = (e) => {
4080
4102
  const t = /* @__PURE__ */ Object.create(null);
4081
4103
  return (n) => {
4082
4104
  const i = JSON.stringify(n);
4083
4105
  return i in t ? t[i] : t[i] = e(n);
4084
4106
  };
4085
4107
  };
4086
- var Di = Object.defineProperty, Se = Object.getOwnPropertySymbols, pr = Object.prototype.hasOwnProperty, gr = Object.prototype.propertyIsEnumerable, Nt = (e, t, r) => t in e ? Di(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, it = (e, t) => {
4108
+ var ji = Object.defineProperty, we = Object.getOwnPropertySymbols, xr = Object.prototype.hasOwnProperty, Sr = Object.prototype.propertyIsEnumerable, Mt = (e, t, r) => t in e ? ji(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ut = (e, t) => {
4087
4109
  for (var r in t || (t = {}))
4088
- pr.call(t, r) && Nt(e, r, t[r]);
4089
- if (Se)
4090
- for (var r of Se(t))
4091
- gr.call(t, r) && Nt(e, r, t[r]);
4110
+ xr.call(t, r) && Mt(e, r, t[r]);
4111
+ if (we)
4112
+ for (var r of we(t))
4113
+ Sr.call(t, r) && Mt(e, r, t[r]);
4092
4114
  return e;
4093
4115
  }, oe = (e, t) => {
4094
4116
  var r = {};
4095
4117
  for (var n in e)
4096
- pr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4097
- if (e != null && Se)
4098
- for (var n of Se(e))
4099
- t.indexOf(n) < 0 && gr.call(e, n) && (r[n] = e[n]);
4118
+ xr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4119
+ if (e != null && we)
4120
+ for (var n of we(e))
4121
+ t.indexOf(n) < 0 && Sr.call(e, n) && (r[n] = e[n]);
4100
4122
  return r;
4101
4123
  };
4102
4124
  const ce = (e, t) => {
@@ -4104,21 +4126,21 @@ const ce = (e, t) => {
4104
4126
  if (e in r && t in r[e])
4105
4127
  return r[e][t];
4106
4128
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4107
- }, Fi = Pe(
4129
+ }, ki = Ne(
4108
4130
  (e) => {
4109
4131
  var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
4110
4132
  if (r == null)
4111
4133
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4112
4134
  return n && (i = ce("number", n)), new Intl.NumberFormat(r, i);
4113
4135
  }
4114
- ), $i = Pe(
4136
+ ), Vi = Ne(
4115
4137
  (e) => {
4116
4138
  var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
4117
4139
  if (r == null)
4118
4140
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4119
4141
  return n ? i = ce("date", n) : Object.keys(i).length === 0 && (i = ce("date", "short")), new Intl.DateTimeFormat(r, i);
4120
4142
  }
4121
- ), ji = Pe(
4143
+ ), Xi = Ne(
4122
4144
  (e) => {
4123
4145
  var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
4124
4146
  if (r == null)
@@ -4127,33 +4149,33 @@ const ce = (e, t) => {
4127
4149
  );
4128
4150
  return n ? i = ce("time", n) : Object.keys(i).length === 0 && (i = ce("time", "short")), new Intl.DateTimeFormat(r, i);
4129
4151
  }
4130
- ), ki = (e = {}) => {
4152
+ ), Wi = (e = {}) => {
4131
4153
  var t = e, {
4132
4154
  locale: r = V()
4133
4155
  } = t, n = oe(t, [
4134
4156
  "locale"
4135
4157
  ]);
4136
- return Fi(it({ locale: r }, n));
4137
- }, Vi = (e = {}) => {
4158
+ return ki(ut({ locale: r }, n));
4159
+ }, zi = (e = {}) => {
4138
4160
  var t = e, {
4139
4161
  locale: r = V()
4140
4162
  } = t, n = oe(t, [
4141
4163
  "locale"
4142
4164
  ]);
4143
- return $i(it({ locale: r }, n));
4144
- }, Xi = (e = {}) => {
4165
+ return Vi(ut({ locale: r }, n));
4166
+ }, Zi = (e = {}) => {
4145
4167
  var t = e, {
4146
4168
  locale: r = V()
4147
4169
  } = t, n = oe(t, [
4148
4170
  "locale"
4149
4171
  ]);
4150
- return ji(it({ locale: r }, n));
4151
- }, Wi = Pe(
4172
+ return Xi(ut({ locale: r }, n));
4173
+ }, Qi = Ne(
4152
4174
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4153
- (e, t = V()) => new vi(e, t, re().formats, {
4175
+ (e, t = V()) => new xi(e, t, re().formats, {
4154
4176
  ignoreTag: re().ignoreTag
4155
4177
  })
4156
- ), zi = (e, t = {}) => {
4178
+ ), Yi = (e, t = {}) => {
4157
4179
  var r, n, i, s;
4158
4180
  let o = t;
4159
4181
  typeof e == "object" && (o = e, e = o.id);
@@ -4166,7 +4188,7 @@ const ce = (e, t) => {
4166
4188
  throw new Error(
4167
4189
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4168
4190
  );
4169
- let l = cr(e, h);
4191
+ let l = gr(e, h);
4170
4192
  if (!l)
4171
4193
  l = (s = (i = (n = (r = re()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
4172
4194
  else if (typeof l != "string")
@@ -4177,7 +4199,7 @@ const ce = (e, t) => {
4177
4199
  return l;
4178
4200
  let m = l;
4179
4201
  try {
4180
- m = Wi(l, h).format(a);
4202
+ m = Qi(l, h).format(a);
4181
4203
  } catch (c) {
4182
4204
  c instanceof Error && console.warn(
4183
4205
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4185,17 +4207,40 @@ const ce = (e, t) => {
4185
4207
  );
4186
4208
  }
4187
4209
  return m;
4188
- }, Zi = (e, t) => Xi(t).format(e), Qi = (e, t) => Vi(t).format(e), Yi = (e, t) => ki(t).format(e), qi = (e, t = V()) => cr(e, t), Ji = se([de, me], () => zi);
4189
- se([de], () => Zi);
4190
- se([de], () => Qi);
4191
- se([de], () => Yi);
4192
- se([de, me], () => qi);
4193
- window.emWidgets = { topic: cn };
4194
- const Ki = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4195
- function Ot(e, t) {
4196
- mr(e, t);
4197
- }
4198
- const Lt = {
4210
+ }, qi = (e, t) => Zi(t).format(e), Ji = (e, t) => zi(t).format(e), Ki = (e, t) => Wi(t).format(e), es = (e, t = V()) => gr(e, t), ts = se([de, me], () => Yi);
4211
+ se([de], () => qi);
4212
+ se([de], () => Ji);
4213
+ se([de], () => Ki);
4214
+ se([de, me], () => es);
4215
+ window.emWidgets = { topic: bn };
4216
+ const rs = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4217
+ function ns(e, t) {
4218
+ if (e) {
4219
+ const r = document.createElement("style");
4220
+ r.innerHTML = t, e.appendChild(r);
4221
+ }
4222
+ }
4223
+ function is(e, t) {
4224
+ const r = new URL(t);
4225
+ fetch(r.href).then((n) => n.text()).then((n) => {
4226
+ const i = document.createElement("style");
4227
+ i.innerHTML = n, e && e.appendChild(i);
4228
+ }).catch((n) => {
4229
+ console.error("There was an error while trying to load client styling from URL", n);
4230
+ });
4231
+ }
4232
+ function ss(e, t, r) {
4233
+ if (window.emMessageBus) {
4234
+ const n = document.createElement("style");
4235
+ window.emMessageBus.subscribe(t, (i) => {
4236
+ n.innerHTML = i, e && e.appendChild(n);
4237
+ });
4238
+ }
4239
+ }
4240
+ function Rt(e, t) {
4241
+ vr(e, t);
4242
+ }
4243
+ const Gt = {
4199
4244
  en: {
4200
4245
  lobbyName: "Lobby",
4201
4246
  myGamesName: "My games"
@@ -4281,14 +4326,14 @@ if (typeof window < "u") {
4281
4326
  }
4282
4327
  };
4283
4328
  };
4284
- customElements.define = e(customElements.define), import("./CasinoSlider-DjsPeF2Z.js").then(({ default: t }) => {
4329
+ customElements.define = e(customElements.define), import("./CasinoSlider-D5vmgtQ0.js").then(({ default: t }) => {
4285
4330
  !customElements.get("casino-slider") && customElements.define("casino-slider", t.element);
4286
4331
  });
4287
4332
  }
4288
- function es(e) {
4289
- Lr(e, "svelte-2g6deg", ".CasinoCategoriesLoading.svelte-2g6deg{height:52px}p.svelte-2g6deg{color:var( --emw--categories-typography, var(--emw--color-white) #FFFFFF);text-align:center}.CasinoCategoriesContainer.svelte-2g6deg{background:var( --emw--categories-color-primary, var(--emw--color-primary, #D0046C))}");
4333
+ function os(e) {
4334
+ Rr(e, "svelte-2g6deg", ".CasinoCategoriesLoading.svelte-2g6deg{height:52px}p.svelte-2g6deg{color:var( --emw--categories-typography, var(--emw--color-white) #FFFFFF);text-align:center}.CasinoCategoriesContainer.svelte-2g6deg{background:var( --emw--categories-color-primary, var(--emw--color-primary, #D0046C))}");
4290
4335
  }
4291
- function ts(e) {
4336
+ function as(e) {
4292
4337
  let t, r, n, i;
4293
4338
  return {
4294
4339
  c() {
@@ -4307,11 +4352,11 @@ function ts(e) {
4307
4352
  "endpoint",
4308
4353
  /*endpoint*/
4309
4354
  e[1]
4310
- ), _(r, "identity", rt), _(
4355
+ ), _(r, "identity", it), _(
4311
4356
  r,
4312
4357
  "favoritesnumber",
4313
4358
  /*numberOfFavoredGames*/
4314
- e[15]
4359
+ e[16]
4315
4360
  ), _(
4316
4361
  r,
4317
4362
  "showsubgroups",
@@ -4327,6 +4372,11 @@ function ts(e) {
4327
4372
  "clientstylingurl",
4328
4373
  /*clientstylingurl*/
4329
4374
  e[5]
4375
+ ), _(
4376
+ r,
4377
+ "mbsource",
4378
+ /*mbsource*/
4379
+ e[12]
4330
4380
  ), _(
4331
4381
  r,
4332
4382
  "activeindex",
@@ -4360,9 +4410,9 @@ function ts(e) {
4360
4410
  ), J(t, "class", "CasinoCategoriesContainer svelte-2g6deg"), J(t, "part", "CasinoCategoriesContainer");
4361
4411
  },
4362
4412
  m(s, o) {
4363
- fe(s, t, o), Rt(t, r), n || (i = Or(
4413
+ fe(s, t, o), $t(t, r), n || (i = Mr(
4364
4414
  /*sendSliderData*/
4365
- e[16].call(null, r)
4415
+ e[17].call(null, r)
4366
4416
  ), n = !0);
4367
4417
  },
4368
4418
  p(s, o) {
@@ -4385,11 +4435,11 @@ function ts(e) {
4385
4435
  /*endpoint*/
4386
4436
  s[1]
4387
4437
  ), o[0] & /*numberOfFavoredGames*/
4388
- 32768 && _(
4438
+ 65536 && _(
4389
4439
  r,
4390
4440
  "favoritesnumber",
4391
4441
  /*numberOfFavoredGames*/
4392
- s[15]
4442
+ s[16]
4393
4443
  ), o[0] & /*showsubgroups*/
4394
4444
  256 && _(
4395
4445
  r,
@@ -4408,6 +4458,12 @@ function ts(e) {
4408
4458
  "clientstylingurl",
4409
4459
  /*clientstylingurl*/
4410
4460
  s[5]
4461
+ ), o[0] & /*mbsource*/
4462
+ 4096 && _(
4463
+ r,
4464
+ "mbsource",
4465
+ /*mbsource*/
4466
+ s[12]
4411
4467
  ), o[0] & /*activecategory*/
4412
4468
  1 && _(
4413
4469
  r,
@@ -4451,7 +4507,7 @@ function ts(e) {
4451
4507
  }
4452
4508
  };
4453
4509
  }
4454
- function rs(e) {
4510
+ function us(e) {
4455
4511
  let t;
4456
4512
  return {
4457
4513
  c() {
@@ -4460,13 +4516,13 @@ function rs(e) {
4460
4516
  m(r, n) {
4461
4517
  fe(r, t, n);
4462
4518
  },
4463
- p: B,
4519
+ p: P,
4464
4520
  d(r) {
4465
4521
  r && ie(t);
4466
4522
  }
4467
4523
  };
4468
4524
  }
4469
- function ns(e) {
4525
+ function hs(e) {
4470
4526
  let t;
4471
4527
  return {
4472
4528
  c() {
@@ -4475,20 +4531,20 @@ function ns(e) {
4475
4531
  m(r, n) {
4476
4532
  fe(r, t, n);
4477
4533
  },
4478
- p: B,
4534
+ p: P,
4479
4535
  d(r) {
4480
4536
  r && ie(t);
4481
4537
  }
4482
4538
  };
4483
4539
  }
4484
- function is(e) {
4540
+ function ls(e) {
4485
4541
  let t;
4486
4542
  function r(s, o) {
4487
4543
  return (
4488
4544
  /*isLoading*/
4489
- s[12] || ss || os ? ns : (
4545
+ s[13] || cs || fs ? hs : (
4490
4546
  /*hasErrors*/
4491
- s[14] ? rs : ts
4547
+ s[15] ? us : as
4492
4548
  )
4493
4549
  );
4494
4550
  }
@@ -4498,117 +4554,105 @@ function is(e) {
4498
4554
  t = k("div"), i.c();
4499
4555
  },
4500
4556
  m(s, o) {
4501
- fe(s, t, o), i.m(t, null), e[26](t);
4557
+ fe(s, t, o), i.m(t, null), e[27](t);
4502
4558
  },
4503
4559
  p(s, o) {
4504
4560
  n === (n = r(s)) && i ? i.p(s, o) : (i.d(1), i = n(s), i && (i.c(), i.m(t, null)));
4505
4561
  },
4506
- i: B,
4507
- o: B,
4562
+ i: P,
4563
+ o: P,
4508
4564
  d(s) {
4509
- s && ie(t), i.d(), e[26](null);
4565
+ s && ie(t), i.d(), e[27](null);
4510
4566
  }
4511
4567
  };
4512
4568
  }
4513
- let rt = "CasinoSliderData", ss = !1, os = !1;
4514
- function as(e, t, r) {
4569
+ let it = "CasinoSliderData", cs = !1, fs = !1;
4570
+ function ms(e, t, r) {
4515
4571
  let n;
4516
- Nr(e, Ji, (f) => r(32, n = f));
4517
- let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "" } = t, { userid: a = "" } = t, { session: h = "" } = t, { mostplayed: u = "" } = t, { lastplayed: l = "false" } = t, { favorites: m = "" } = t, { clientstyling: c = "" } = t, { clientstylingurl: d = "" } = t, { activecategory: b = "" } = t, { actionevent: y = "" } = t, { sessioncheck: w = "" } = t, { location: C = "secondaryMenu" } = t, { showsubgroups: P = "false" } = t, { filteredcategories: T = "" } = t, { translationurl: N = "" } = t, { categoriesicon: O = "" } = t, { lobbyiconimage: R = "" } = t, { mygamesiconimage: E = "" } = t, L, I, M = !0, X, W = [], $ = !1, yr = window.navigator.userAgent, j, st, ot = !1, Ne = !1;
4518
- const vr = () => {
4519
- fetch(N).then((H) => H.json()).then((H) => {
4520
- Object.keys(H).forEach((D) => {
4521
- Ot(D, H[D]);
4572
+ Cr(e, ts, (f) => r(33, n = f));
4573
+ let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "" } = t, { userid: a = "" } = t, { session: h = "" } = t, { mostplayed: u = "" } = t, { lastplayed: l = "false" } = t, { favorites: m = "" } = t, { clientstyling: c = "" } = t, { clientstylingurl: d = "" } = t, { activecategory: b = "" } = t, { actionevent: y = "" } = t, { sessioncheck: T = "" } = t, { location: C = "secondaryMenu" } = t, { showsubgroups: N = "false" } = t, { filteredcategories: w = "" } = t, { translationurl: O = "" } = t, { categoriesicon: L = "" } = t, { lobbyiconimage: M = "" } = t, { mygamesiconimage: E = "" } = t, { mbsource: A } = t, I, F, ht, $ = !0, X, W = [], j = !1, wr = window.navigator.userAgent, R, lt, ct = !1, Oe = !1;
4574
+ const Tr = () => {
4575
+ fetch(O).then((B) => B.json()).then((B) => {
4576
+ Object.keys(B).forEach((be) => {
4577
+ Rt(be, B[be]);
4522
4578
  });
4523
- }).catch((H) => {
4524
- console.log(H);
4579
+ }).catch((B) => {
4580
+ console.log(B);
4525
4581
  });
4526
4582
  };
4527
- Object.keys(Lt).forEach((f) => {
4528
- Ot(f, Lt[f]);
4583
+ Object.keys(Gt).forEach((f) => {
4584
+ Rt(f, Gt[f]);
4529
4585
  });
4530
- const _r = () => {
4531
- ot == !1 && (m == "true" || u == "true" || l == "true") && W.splice(1, 0, {
4586
+ const Hr = () => {
4587
+ ct == !1 && (m == "true" || u == "true" || l == "true") && W.splice(1, 0, {
4532
4588
  // @ts-ignore
4533
4589
  id: "MYGAMES",
4534
- name: L,
4590
+ name: F,
4535
4591
  href: "",
4536
4592
  games: []
4537
- }), Dr(), ot = !0, r(25, Ne = !0), Oe();
4538
- }, Er = () => (i || (X = "Endpoint is missing! Please provide a valid endpointURL.", r(14, $ = !0), r(12, M = !1), console.error(X)), s || (X = "Datasource is missing! Please provide a valid datasource.", r(14, $ = !0), r(12, M = !1), console.error(X)), (!o || o.length < 2) && (X = "Language is missing! Please provide a valid language (alpha2code)", r(14, $ = !0), r(12, M = !1), console.error(X)), $), xr = () => {
4539
- if (L = n("myGamesName"), I = n("lobbyName"), !Er()) {
4593
+ }), kr(), ct = !0, r(26, Oe = !0), Le();
4594
+ }, Ar = () => (i || (X = "Endpoint is missing! Please provide a valid endpointURL.", r(15, j = !0), r(13, $ = !1), console.error(X)), s || (X = "Datasource is missing! Please provide a valid datasource.", r(15, j = !0), r(13, $ = !1), console.error(X)), (!o || o.length < 2) && (X = "Language is missing! Please provide a valid language (alpha2code)", r(15, j = !0), r(13, $ = !1), console.error(X)), j), Br = () => {
4595
+ if (F = n("myGamesName"), ht = n("lobbyName"), !Ar()) {
4540
4596
  let f = new URL(`${i}/v1/casino/groups/${s}`);
4541
- f.searchParams.append("datasource", s), f.searchParams.append("language", o), f.searchParams.append("platform", Ki(yr)), fetch(f).then((H) => H.json()).then(
4542
- (H) => {
4543
- let D = T.split(","), Ar = H.items.filter((ut) => {
4544
- let Le = !1;
4545
- if (ut.games.total > 0 && (Le = !0, T))
4546
- for (let Br of D)
4547
- ut.flags == Br && (Le = !1);
4548
- return Le;
4597
+ f.searchParams.append("datasource", s), f.searchParams.append("language", o), f.searchParams.append("platform", rs(wr)), fetch(f).then((B) => B.json()).then(
4598
+ (B) => {
4599
+ let be = w.split(","), Or = B.items.filter((mt) => {
4600
+ let Ie = !1;
4601
+ if (mt.games.total > 0 && (Ie = !0, w))
4602
+ for (let Lr of be)
4603
+ mt.flags == Lr && (Ie = !1);
4604
+ return Ie;
4549
4605
  });
4550
- W = [], W = W.concat(Ar), W.unshift({
4606
+ W = [], W = W.concat(Or), W.unshift({
4551
4607
  // @ts-ignore
4552
4608
  id: "LOBBY",
4553
- name: I,
4609
+ name: ht,
4554
4610
  href: "",
4555
4611
  games: []
4556
- }), r(12, M = !1), window.postMessage({ type: "CategoriesLoadedForSlider" }, window.location.href);
4612
+ }), r(13, $ = !1), window.postMessage({ type: "CategoriesLoadedForSlider" }, window.location.href);
4557
4613
  },
4558
- (H) => {
4559
- r(14, $ = !0), console.error("There was an error while fetching the categories", H);
4614
+ (B) => {
4615
+ r(15, j = !0), console.error("There was an error while fetching the categories", B);
4560
4616
  }
4561
- ).catch((H) => {
4562
- r(14, $ = !0), console.error("There was an error while fetching the categories", H);
4617
+ ).catch((B) => {
4618
+ r(15, j = !0), console.error("There was an error while fetching the categories", B);
4563
4619
  });
4564
4620
  }
4565
- }, Sr = () => {
4621
+ }, Pr = () => {
4566
4622
  let f = b.split("$");
4567
4623
  r(0, b = f.length > 2 ? b.split("$").slice(0, 2).join("$") : b);
4568
- }, Tr = () => {
4569
- let f = document.createElement("style");
4570
- f.innerHTML = c, j.appendChild(f);
4571
- }, wr = () => {
4572
- let f = document.createElement("style"), H = new URL(d);
4573
- fetch(H.href).then((D) => D.text()).then((D) => {
4574
- f.innerHTML = D, setTimeout(
4575
- () => {
4576
- j.appendChild(f);
4577
- },
4578
- 1
4579
- );
4580
- });
4581
- }, Oe = () => {
4624
+ }, Le = () => {
4582
4625
  window.postMessage(
4583
4626
  {
4584
4627
  type: "SliderData",
4585
- identity: rt,
4628
+ identity: it,
4586
4629
  data: W
4587
4630
  },
4588
4631
  window.location.href
4589
4632
  );
4590
- }, at = (f) => {
4591
- f.data && f.data.type == "SliderLoaded" && rt == f.data.identity && Oe();
4633
+ }, ft = (f) => {
4634
+ f.data && f.data.type == "SliderLoaded" && it == f.data.identity && Le();
4592
4635
  };
4593
- Ur(() => (window.addEventListener("message", at, !1), () => {
4594
- window.removeEventListener("message", at);
4636
+ jr(() => (window.addEventListener("message", ft, !1), () => {
4637
+ window.emMessageBus && I && I.unsubscribe(), window.removeEventListener("message", ft);
4595
4638
  }));
4596
- function Hr(f) {
4597
- Fe[f ? "unshift" : "push"](() => {
4598
- j = f, r(13, j);
4639
+ function Nr(f) {
4640
+ je[f ? "unshift" : "push"](() => {
4641
+ R = f, r(14, R);
4599
4642
  });
4600
4643
  }
4601
4644
  return e.$$set = (f) => {
4602
- "endpoint" in f && r(1, i = f.endpoint), "datasource" in f && r(2, s = f.datasource), "lang" in f && r(3, o = f.lang), "userid" in f && r(17, a = f.userid), "session" in f && r(18, h = f.session), "mostplayed" in f && r(19, u = f.mostplayed), "lastplayed" in f && r(20, l = f.lastplayed), "favorites" in f && r(21, m = f.favorites), "clientstyling" in f && r(4, c = f.clientstyling), "clientstylingurl" in f && r(5, d = f.clientstylingurl), "activecategory" in f && r(0, b = f.activecategory), "actionevent" in f && r(6, y = f.actionevent), "sessioncheck" in f && r(22, w = f.sessioncheck), "location" in f && r(7, C = f.location), "showsubgroups" in f && r(8, P = f.showsubgroups), "filteredcategories" in f && r(23, T = f.filteredcategories), "translationurl" in f && r(24, N = f.translationurl), "categoriesicon" in f && r(9, O = f.categoriesicon), "lobbyiconimage" in f && r(10, R = f.lobbyiconimage), "mygamesiconimage" in f && r(11, E = f.mygamesiconimage);
4645
+ "endpoint" in f && r(1, i = f.endpoint), "datasource" in f && r(2, s = f.datasource), "lang" in f && r(3, o = f.lang), "userid" in f && r(18, a = f.userid), "session" in f && r(19, h = f.session), "mostplayed" in f && r(20, u = f.mostplayed), "lastplayed" in f && r(21, l = f.lastplayed), "favorites" in f && r(22, m = f.favorites), "clientstyling" in f && r(4, c = f.clientstyling), "clientstylingurl" in f && r(5, d = f.clientstylingurl), "activecategory" in f && r(0, b = f.activecategory), "actionevent" in f && r(6, y = f.actionevent), "sessioncheck" in f && r(23, T = f.sessioncheck), "location" in f && r(7, C = f.location), "showsubgroups" in f && r(8, N = f.showsubgroups), "filteredcategories" in f && r(24, w = f.filteredcategories), "translationurl" in f && r(25, O = f.translationurl), "categoriesicon" in f && r(9, L = f.categoriesicon), "lobbyiconimage" in f && r(10, M = f.lobbyiconimage), "mygamesiconimage" in f && r(11, E = f.mygamesiconimage), "mbsource" in f && r(12, A = f.mbsource);
4603
4646
  }, e.$$.update = () => {
4604
4647
  e.$$.dirty[0] & /*endpoint, datasource, lang*/
4605
- 14 && i && s && o && xr(), e.$$.dirty[0] & /*endpoint, session, mostplayed, lastplayed, favorites, isLoading*/
4606
- 3936258 && i && h && (u || l || m) && !M && _r(), e.$$.dirty[0] & /*isLoading, activecategory, session, confirmCategoryParse*/
4607
- 33820673 && !M && b && (!h || Ne) && Sr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4608
- 8208 && c && j && Tr(), e.$$.dirty[0] & /*translationurl*/
4609
- 16777216 && N && vr(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4610
- 8224 && d && j && wr();
4611
- }, r(15, st = 0), [
4648
+ 14 && i && s && o && Br(), e.$$.dirty[0] & /*endpoint, session, mostplayed, lastplayed, favorites, isLoading*/
4649
+ 7872514 && i && h && (u || l || m) && !$ && Hr(), e.$$.dirty[0] & /*isLoading, activecategory, session, confirmCategoryParse*/
4650
+ 67641345 && !$ && b && (!h || Oe) && Pr(), e.$$.dirty[0] & /*translationurl*/
4651
+ 33554432 && O && Tr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4652
+ 16400 && c && R && ns(R, c), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4653
+ 16416 && d && R && is(R, d), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
4654
+ 20480 && R && ss(R, `${A}.Style`);
4655
+ }, r(16, lt = 0), [
4612
4656
  b,
4613
4657
  i,
4614
4658
  s,
@@ -4617,58 +4661,60 @@ function as(e, t, r) {
4617
4661
  d,
4618
4662
  y,
4619
4663
  C,
4620
- P,
4621
- O,
4622
- R,
4623
- E,
4664
+ N,
4665
+ L,
4624
4666
  M,
4625
- j,
4667
+ E,
4668
+ A,
4626
4669
  $,
4627
- st,
4628
- Oe,
4670
+ R,
4671
+ j,
4672
+ lt,
4673
+ Le,
4629
4674
  a,
4630
4675
  h,
4631
4676
  u,
4632
4677
  l,
4633
4678
  m,
4634
- w,
4635
4679
  T,
4636
- N,
4637
- Ne,
4638
- Hr
4680
+ w,
4681
+ O,
4682
+ Oe,
4683
+ Nr
4639
4684
  ];
4640
4685
  }
4641
- class us extends Zr {
4686
+ class ds extends Jr {
4642
4687
  constructor(t) {
4643
- super(), Wr(
4688
+ super(), Yr(
4644
4689
  this,
4645
4690
  t,
4646
- as,
4647
- is,
4648
- Ct,
4691
+ ms,
4692
+ ls,
4693
+ Dt,
4649
4694
  {
4650
4695
  endpoint: 1,
4651
4696
  datasource: 2,
4652
4697
  lang: 3,
4653
- userid: 17,
4654
- session: 18,
4655
- mostplayed: 19,
4656
- lastplayed: 20,
4657
- favorites: 21,
4698
+ userid: 18,
4699
+ session: 19,
4700
+ mostplayed: 20,
4701
+ lastplayed: 21,
4702
+ favorites: 22,
4658
4703
  clientstyling: 4,
4659
4704
  clientstylingurl: 5,
4660
4705
  activecategory: 0,
4661
4706
  actionevent: 6,
4662
- sessioncheck: 22,
4707
+ sessioncheck: 23,
4663
4708
  location: 7,
4664
4709
  showsubgroups: 8,
4665
- filteredcategories: 23,
4666
- translationurl: 24,
4710
+ filteredcategories: 24,
4711
+ translationurl: 25,
4667
4712
  categoriesicon: 9,
4668
4713
  lobbyiconimage: 10,
4669
- mygamesiconimage: 11
4714
+ mygamesiconimage: 11,
4715
+ mbsource: 12
4670
4716
  },
4671
- es,
4717
+ os,
4672
4718
  [-1, -1]
4673
4719
  );
4674
4720
  }
@@ -4691,31 +4737,31 @@ class us extends Zr {
4691
4737
  this.$$set({ lang: t }), S();
4692
4738
  }
4693
4739
  get userid() {
4694
- return this.$$.ctx[17];
4740
+ return this.$$.ctx[18];
4695
4741
  }
4696
4742
  set userid(t) {
4697
4743
  this.$$set({ userid: t }), S();
4698
4744
  }
4699
4745
  get session() {
4700
- return this.$$.ctx[18];
4746
+ return this.$$.ctx[19];
4701
4747
  }
4702
4748
  set session(t) {
4703
4749
  this.$$set({ session: t }), S();
4704
4750
  }
4705
4751
  get mostplayed() {
4706
- return this.$$.ctx[19];
4752
+ return this.$$.ctx[20];
4707
4753
  }
4708
4754
  set mostplayed(t) {
4709
4755
  this.$$set({ mostplayed: t }), S();
4710
4756
  }
4711
4757
  get lastplayed() {
4712
- return this.$$.ctx[20];
4758
+ return this.$$.ctx[21];
4713
4759
  }
4714
4760
  set lastplayed(t) {
4715
4761
  this.$$set({ lastplayed: t }), S();
4716
4762
  }
4717
4763
  get favorites() {
4718
- return this.$$.ctx[21];
4764
+ return this.$$.ctx[22];
4719
4765
  }
4720
4766
  set favorites(t) {
4721
4767
  this.$$set({ favorites: t }), S();
@@ -4745,7 +4791,7 @@ class us extends Zr {
4745
4791
  this.$$set({ actionevent: t }), S();
4746
4792
  }
4747
4793
  get sessioncheck() {
4748
- return this.$$.ctx[22];
4794
+ return this.$$.ctx[23];
4749
4795
  }
4750
4796
  set sessioncheck(t) {
4751
4797
  this.$$set({ sessioncheck: t }), S();
@@ -4763,13 +4809,13 @@ class us extends Zr {
4763
4809
  this.$$set({ showsubgroups: t }), S();
4764
4810
  }
4765
4811
  get filteredcategories() {
4766
- return this.$$.ctx[23];
4812
+ return this.$$.ctx[24];
4767
4813
  }
4768
4814
  set filteredcategories(t) {
4769
4815
  this.$$set({ filteredcategories: t }), S();
4770
4816
  }
4771
4817
  get translationurl() {
4772
- return this.$$.ctx[24];
4818
+ return this.$$.ctx[25];
4773
4819
  }
4774
4820
  set translationurl(t) {
4775
4821
  this.$$set({ translationurl: t }), S();
@@ -4792,36 +4838,45 @@ class us extends Zr {
4792
4838
  set mygamesiconimage(t) {
4793
4839
  this.$$set({ mygamesiconimage: t }), S();
4794
4840
  }
4841
+ get mbsource() {
4842
+ return this.$$.ctx[12];
4843
+ }
4844
+ set mbsource(t) {
4845
+ this.$$set({ mbsource: t }), S();
4846
+ }
4795
4847
  }
4796
- zr(us, { endpoint: {}, datasource: {}, lang: {}, userid: {}, session: {}, mostplayed: {}, lastplayed: {}, favorites: {}, clientstyling: {}, clientstylingurl: {}, activecategory: {}, actionevent: {}, sessioncheck: {}, location: {}, showsubgroups: {}, filteredcategories: {}, translationurl: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {} }, [], [], !0);
4848
+ qr(ds, { endpoint: {}, datasource: {}, lang: {}, userid: {}, session: {}, mostplayed: {}, lastplayed: {}, favorites: {}, clientstyling: {}, clientstylingurl: {}, activecategory: {}, actionevent: {}, sessioncheck: {}, location: {}, showsubgroups: {}, filteredcategories: {}, translationurl: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {}, mbsource: {} }, [], [], !0);
4797
4849
  export {
4798
4850
  de as $,
4799
- us as C,
4800
- Zr as S,
4851
+ ps as A,
4852
+ jt as B,
4853
+ _s as C,
4854
+ ds as D,
4855
+ Jr as S,
4801
4856
  me as a,
4802
- mr as b,
4803
- zr as c,
4804
- Lr as d,
4805
- ie as e,
4857
+ vr as b,
4858
+ qr as c,
4859
+ Rr as d,
4860
+ k as e,
4806
4861
  S as f,
4807
- J as g,
4808
- fe as h,
4809
- Wr as i,
4810
- Rt as j,
4811
- k,
4812
- ms as l,
4813
- cs as m,
4814
- B as n,
4815
- Ur as o,
4816
- bs as p,
4817
- fs as q,
4862
+ gs as g,
4863
+ J as h,
4864
+ Yr as i,
4865
+ fe as j,
4866
+ $t as k,
4867
+ vs as l,
4868
+ ie as m,
4869
+ P as n,
4870
+ jr as o,
4871
+ is as p,
4872
+ ss as q,
4818
4873
  ne as r,
4819
- Ct as s,
4820
- Fe as t,
4821
- gs as u,
4822
- hs as v,
4823
- ds as w,
4824
- Gt as x,
4825
- ls as y,
4826
- ps as z
4874
+ Dt as s,
4875
+ Es as t,
4876
+ ys as u,
4877
+ Ss as v,
4878
+ bs as w,
4879
+ je as x,
4880
+ ns as y,
4881
+ xs as z
4827
4882
  };