@everymatrix/casino-categories-slider 1.75.0 → 1.75.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,17 +1,17 @@
1
- var Fr = Object.defineProperty, $r = Object.defineProperties;
1
+ var $r = Object.defineProperty, Fr = Object.defineProperties;
2
2
  var jr = Object.getOwnPropertyDescriptors;
3
- var pt = Object.getOwnPropertySymbols;
3
+ var gt = Object.getOwnPropertySymbols;
4
4
  var kr = Object.prototype.hasOwnProperty, Vr = Object.prototype.propertyIsEnumerable;
5
- var Ie = (e, t, r) => t in e ? Fr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, gt = (e, t) => {
5
+ var Me = (e, t, r) => t in e ? $r(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, yt = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- kr.call(t, r) && Ie(e, r, t[r]);
8
- if (pt)
9
- for (var r of pt(t))
10
- Vr.call(t, r) && Ie(e, r, t[r]);
7
+ kr.call(t, r) && Me(e, r, t[r]);
8
+ if (gt)
9
+ for (var r of gt(t))
10
+ Vr.call(t, r) && Me(e, r, t[r]);
11
11
  return e;
12
- }, yt = (e, t) => $r(e, jr(t));
13
- var M = (e, t, r) => (Ie(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var vt = (e, t, r) => new Promise((n, i) => {
12
+ }, vt = (e, t) => Fr(e, jr(t));
13
+ var M = (e, t, r) => (Me(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var _t = (e, t, r) => new Promise((n, i) => {
15
15
  var s = (h) => {
16
16
  try {
17
17
  a(r.next(h));
@@ -29,29 +29,29 @@ var vt = (e, t, r) => new Promise((n, i) => {
29
29
  });
30
30
  function I() {
31
31
  }
32
- function Vt(e) {
32
+ function Xt(e) {
33
33
  return e();
34
34
  }
35
35
  function Et() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
- function ne(e) {
39
- e.forEach(Vt);
38
+ function re(e) {
39
+ e.forEach(Xt);
40
40
  }
41
- function st(e) {
41
+ function ht(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function Xt(e, t) {
44
+ function Wt(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
47
  let ge;
48
- function Hs(e, t) {
48
+ function As(e, t) {
49
49
  return e === t ? !0 : (ge || (ge = document.createElement("a")), ge.href = t, e === ge.href);
50
50
  }
51
51
  function Xr(e) {
52
52
  return Object.keys(e).length === 0;
53
53
  }
54
- function Wt(e, ...t) {
54
+ function zt(e, ...t) {
55
55
  if (e == null) {
56
56
  for (const n of t)
57
57
  n(void 0);
@@ -61,9 +61,9 @@ function Wt(e, ...t) {
61
61
  return r.unsubscribe ? () => r.unsubscribe() : r;
62
62
  }
63
63
  function Wr(e, t, r) {
64
- e.$$.on_destroy.push(Wt(t, r));
64
+ e.$$.on_destroy.push(zt(t, r));
65
65
  }
66
- function zt(e, t) {
66
+ function Zt(e, t) {
67
67
  e.appendChild(t);
68
68
  }
69
69
  function zr(e, t, r) {
@@ -84,16 +84,16 @@ function Zr(e) {
84
84
  ) : e.ownerDocument;
85
85
  }
86
86
  function Qr(e, t) {
87
- return zt(
87
+ return Zt(
88
88
  /** @type {Document} */
89
89
  e.head || e,
90
90
  t
91
91
  ), t.sheet;
92
92
  }
93
- function fe(e, t, r) {
93
+ function ce(e, t, r) {
94
94
  e.insertBefore(t, r || null);
95
95
  }
96
- function ie(e) {
96
+ function ne(e) {
97
97
  e.parentNode && e.parentNode.removeChild(e);
98
98
  }
99
99
  function Bs(e, t) {
@@ -103,34 +103,34 @@ function Bs(e, t) {
103
103
  function V(e) {
104
104
  return document.createElement(e);
105
105
  }
106
- function Zt(e) {
106
+ function Qt(e) {
107
107
  return document.createTextNode(e);
108
108
  }
109
- function As() {
110
- return Zt(" ");
111
- }
112
109
  function Ps() {
113
- return Zt("");
110
+ return Qt(" ");
111
+ }
112
+ function Os() {
113
+ return Qt("");
114
114
  }
115
115
  function Ns(e, t, r, n) {
116
116
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
117
117
  }
118
- function Os(e) {
118
+ function Ls(e) {
119
119
  return function(t) {
120
120
  return t.preventDefault(), e.call(this, t);
121
121
  };
122
122
  }
123
- function me(e, t, r) {
123
+ function fe(e, t, r) {
124
124
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
125
125
  }
126
- function E(e, t, r) {
126
+ function v(e, t, r) {
127
127
  const n = t.toLowerCase();
128
- n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : me(e, t, r);
128
+ n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : fe(e, t, r);
129
129
  }
130
130
  function Yr(e) {
131
131
  return Array.from(e.childNodes);
132
132
  }
133
- function Ls(e, t) {
133
+ function Is(e, t) {
134
134
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
135
135
  t);
136
136
  }
@@ -143,67 +143,67 @@ function qr(e) {
143
143
  }
144
144
  ), t;
145
145
  }
146
- let he;
147
- function ue(e) {
148
- he = e;
146
+ let ue;
147
+ function ae(e) {
148
+ ue = e;
149
149
  }
150
150
  function Jr() {
151
- if (!he)
151
+ if (!ue)
152
152
  throw new Error("Function called outside component initialization");
153
- return he;
153
+ return ue;
154
154
  }
155
155
  function Kr(e) {
156
156
  Jr().$$.on_mount.push(e);
157
157
  }
158
- function Is(e, t) {
158
+ function Cs(e, t) {
159
159
  const r = e.$$.callbacks[t.type];
160
160
  r && r.slice().forEach((n) => n.call(this, t));
161
161
  }
162
- const Y = [], je = [];
162
+ const Y = [], Ve = [];
163
163
  let q = [];
164
- const _t = [], Qt = /* @__PURE__ */ Promise.resolve();
165
- let ke = !1;
166
- function Yt() {
167
- ke || (ke = !0, Qt.then(S));
164
+ const xt = [], Yt = /* @__PURE__ */ Promise.resolve();
165
+ let Xe = !1;
166
+ function qt() {
167
+ Xe || (Xe = !0, Yt.then(x));
168
168
  }
169
169
  function en() {
170
- return Yt(), Qt;
170
+ return qt(), Yt;
171
171
  }
172
- function Ve(e) {
172
+ function We(e) {
173
173
  q.push(e);
174
174
  }
175
- const Ce = /* @__PURE__ */ new Set();
175
+ const Re = /* @__PURE__ */ new Set();
176
176
  let Z = 0;
177
- function S() {
177
+ function x() {
178
178
  if (Z !== 0)
179
179
  return;
180
- const e = he;
180
+ const e = ue;
181
181
  do {
182
182
  try {
183
183
  for (; Z < Y.length; ) {
184
184
  const t = Y[Z];
185
- Z++, ue(t), tn(t.$$);
185
+ Z++, ae(t), tn(t.$$);
186
186
  }
187
187
  } catch (t) {
188
188
  throw Y.length = 0, Z = 0, t;
189
189
  }
190
- for (ue(null), Y.length = 0, Z = 0; je.length; )
191
- je.pop()();
190
+ for (ae(null), Y.length = 0, Z = 0; Ve.length; )
191
+ Ve.pop()();
192
192
  for (let t = 0; t < q.length; t += 1) {
193
193
  const r = q[t];
194
- Ce.has(r) || (Ce.add(r), r());
194
+ Re.has(r) || (Re.add(r), r());
195
195
  }
196
196
  q.length = 0;
197
197
  } while (Y.length);
198
- for (; _t.length; )
199
- _t.pop()();
200
- ke = !1, Ce.clear(), ue(e);
198
+ for (; xt.length; )
199
+ xt.pop()();
200
+ Xe = !1, Re.clear(), ae(e);
201
201
  }
202
202
  function tn(e) {
203
203
  if (e.fragment !== null) {
204
- e.update(), ne(e.before_update);
204
+ e.update(), re(e.before_update);
205
205
  const t = e.dirty;
206
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ve);
206
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(We);
207
207
  }
208
208
  }
209
209
  function rn(e) {
@@ -211,33 +211,33 @@ function rn(e) {
211
211
  q.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), q = t;
212
212
  }
213
213
  const nn = /* @__PURE__ */ new Set();
214
- function qt(e, t) {
214
+ function Jt(e, t) {
215
215
  e && e.i && (nn.delete(e), e.i(t));
216
216
  }
217
- function Cs(e) {
217
+ function Ms(e) {
218
218
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
219
219
  }
220
- function Ms(e, t) {
220
+ function Rs(e, t) {
221
221
  e.d(1), t.delete(e.key);
222
222
  }
223
- function Rs(e, t, r, n, i, s, o, a, h, u, l, m) {
223
+ function Gs(e, t, r, n, i, s, o, a, h, u, l, m) {
224
224
  let c = e.length, d = s.length, b = c;
225
225
  const y = {};
226
226
  for (; b--; )
227
227
  y[e[b].key] = b;
228
228
  const T = [], C = /* @__PURE__ */ new Map(), P = /* @__PURE__ */ new Map(), w = [];
229
229
  for (b = d; b--; ) {
230
- const _ = m(i, s, b), B = r(_);
231
- let L = o.get(B);
232
- L ? w.push(() => L.p(_, t)) : (L = u(B, _), L.c()), C.set(B, T[b] = L), B in y && P.set(B, Math.abs(b - y[B]));
230
+ const _ = m(i, s, b), A = r(_);
231
+ let L = o.get(A);
232
+ L ? w.push(() => L.p(_, t)) : (L = u(A, _), L.c()), C.set(A, T[b] = L), A in y && P.set(A, Math.abs(b - y[A]));
233
233
  }
234
- const N = /* @__PURE__ */ new Set(), O = /* @__PURE__ */ new Set();
234
+ const O = /* @__PURE__ */ new Set(), N = /* @__PURE__ */ new Set();
235
235
  function R(_) {
236
- qt(_, 1), _.m(a, l), o.set(_.key, _), l = _.first, d--;
236
+ Jt(_, 1), _.m(a, l), o.set(_.key, _), l = _.first, d--;
237
237
  }
238
238
  for (; c && d; ) {
239
- const _ = T[d - 1], B = e[c - 1], L = _.key, $ = B.key;
240
- _ === B ? (l = _.first, c--, d--) : C.has($) ? !o.has(L) || N.has(L) ? R(_) : O.has($) ? c-- : P.get(L) > P.get($) ? (O.add(L), R(_)) : (N.add($), c--) : (h(B, o), c--);
239
+ const _ = T[d - 1], A = e[c - 1], L = _.key, F = A.key;
240
+ _ === A ? (l = _.first, c--, d--) : C.has(F) ? !o.has(L) || O.has(L) ? R(_) : N.has(F) ? c-- : P.get(L) > P.get(F) ? (N.add(L), R(_)) : (O.add(F), c--) : (h(A, o), c--);
241
241
  }
242
242
  for (; c--; ) {
243
243
  const _ = e[c];
@@ -245,25 +245,25 @@ function Rs(e, t, r, n, i, s, o, a, h, u, l, m) {
245
245
  }
246
246
  for (; d; )
247
247
  R(T[d - 1]);
248
- return ne(w), T;
248
+ return re(w), T;
249
249
  }
250
250
  function sn(e, t, r) {
251
251
  const { fragment: n, after_update: i } = e.$$;
252
- n && n.m(t, r), Ve(() => {
253
- const s = e.$$.on_mount.map(Vt).filter(st);
254
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ne(s), e.$$.on_mount = [];
255
- }), i.forEach(Ve);
252
+ n && n.m(t, r), We(() => {
253
+ const s = e.$$.on_mount.map(Xt).filter(ht);
254
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : re(s), e.$$.on_mount = [];
255
+ }), i.forEach(We);
256
256
  }
257
257
  function on(e, t) {
258
258
  const r = e.$$;
259
- r.fragment !== null && (rn(r.after_update), ne(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
259
+ r.fragment !== null && (rn(r.after_update), re(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
260
260
  }
261
261
  function an(e, t) {
262
- e.$$.dirty[0] === -1 && (Y.push(e), Yt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
262
+ e.$$.dirty[0] === -1 && (Y.push(e), qt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
263
263
  }
264
264
  function un(e, t, r, n, i, s, o = null, a = [-1]) {
265
- const h = he;
266
- ue(e);
265
+ const h = ue;
266
+ ae(e);
267
267
  const u = e.$$ = {
268
268
  fragment: null,
269
269
  ctx: [],
@@ -290,18 +290,18 @@ function un(e, t, r, n, i, s, o = null, a = [-1]) {
290
290
  if (u.ctx = r ? r(e, t.props || {}, (m, c, ...d) => {
291
291
  const b = d.length ? d[0] : c;
292
292
  return u.ctx && i(u.ctx[m], u.ctx[m] = b) && (!u.skip_bound && u.bound[m] && u.bound[m](b), l && an(e, m)), c;
293
- }) : [], u.update(), l = !0, ne(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
293
+ }) : [], u.update(), l = !0, re(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
294
294
  if (t.hydrate) {
295
295
  const m = Yr(t.target);
296
- u.fragment && u.fragment.l(m), m.forEach(ie);
296
+ u.fragment && u.fragment.l(m), m.forEach(ne);
297
297
  } else
298
298
  u.fragment && u.fragment.c();
299
- t.intro && qt(e.$$.fragment), sn(e, t.target, t.anchor), S();
299
+ t.intro && Jt(e.$$.fragment), sn(e, t.target, t.anchor), x();
300
300
  }
301
- ue(h);
301
+ ae(h);
302
302
  }
303
- let Jt;
304
- typeof HTMLElement == "function" && (Jt = class extends HTMLElement {
303
+ let Kt;
304
+ typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
305
305
  constructor(t, r, n) {
306
306
  super();
307
307
  /** The Svelte component constructor */
@@ -338,24 +338,24 @@ typeof HTMLElement == "function" && (Jt = class extends HTMLElement {
338
338
  }
339
339
  }
340
340
  connectedCallback() {
341
- return vt(this, null, function* () {
341
+ return _t(this, null, function* () {
342
342
  if (this.$$cn = !0, !this.$$c) {
343
343
  let t = function(s) {
344
344
  return () => {
345
345
  let o;
346
346
  return {
347
347
  c: function() {
348
- o = V("slot"), s !== "default" && me(o, "name", s);
348
+ o = V("slot"), s !== "default" && fe(o, "name", s);
349
349
  },
350
350
  /**
351
351
  * @param {HTMLElement} target
352
352
  * @param {HTMLElement} [anchor]
353
353
  */
354
354
  m: function(u, l) {
355
- fe(u, o, l);
355
+ ce(u, o, l);
356
356
  },
357
357
  d: function(u) {
358
- u && ie(o);
358
+ u && ne(o);
359
359
  }
360
360
  };
361
361
  };
@@ -367,13 +367,13 @@ typeof HTMLElement == "function" && (Jt = class extends HTMLElement {
367
367
  s in n && (r[s] = [t(s)]);
368
368
  for (const s of this.attributes) {
369
369
  const o = this.$$g_p(s.name);
370
- o in this.$$d || (this.$$d[o] = Ee(o, s.value, this.$$p_d, "toProp"));
370
+ o in this.$$d || (this.$$d[o] = _e(o, s.value, this.$$p_d, "toProp"));
371
371
  }
372
372
  for (const s in this.$$p_d)
373
373
  !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
374
374
  this.$$c = new this.$$ctor({
375
375
  target: this.shadowRoot || this,
376
- props: yt(gt({}, this.$$d), {
376
+ props: vt(yt({}, this.$$d), {
377
377
  $$slots: r,
378
378
  $$scope: {
379
379
  ctx: []
@@ -384,7 +384,7 @@ typeof HTMLElement == "function" && (Jt = class extends HTMLElement {
384
384
  this.$$r = !0;
385
385
  for (const s in this.$$p_d)
386
386
  if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
387
- const o = Ee(
387
+ const o = _e(
388
388
  s,
389
389
  this.$$d[s],
390
390
  this.$$p_d,
@@ -408,7 +408,7 @@ typeof HTMLElement == "function" && (Jt = class extends HTMLElement {
408
408
  // and setting attributes through setAttribute etc, this is helpful
409
409
  attributeChangedCallback(t, r, n) {
410
410
  var i;
411
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = Ee(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
411
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = _e(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
412
412
  }
413
413
  disconnectedCallback() {
414
414
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -421,7 +421,7 @@ typeof HTMLElement == "function" && (Jt = class extends HTMLElement {
421
421
  ) || t;
422
422
  }
423
423
  });
424
- function Ee(e, t, r, n) {
424
+ function _e(e, t, r, n) {
425
425
  var s;
426
426
  const i = (s = r[e]) == null ? void 0 : s.type;
427
427
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
@@ -452,7 +452,7 @@ function Ee(e, t, r, n) {
452
452
  }
453
453
  }
454
454
  function hn(e, t, r, n, i, s) {
455
- let o = class extends Jt {
455
+ let o = class extends Kt {
456
456
  constructor() {
457
457
  super(e, r, i), this.$$p_d = t;
458
458
  }
@@ -469,7 +469,7 @@ function hn(e, t, r, n, i, s) {
469
469
  },
470
470
  set(h) {
471
471
  var u;
472
- h = Ee(a, h, t), this.$$d[a] = h, (u = this.$$c) == null || u.$set({ [a]: h });
472
+ h = _e(a, h, t), this.$$d[a] = h, (u = this.$$c) == null || u.$set({ [a]: h });
473
473
  }
474
474
  });
475
475
  }), n.forEach((a) => {
@@ -512,7 +512,7 @@ class ln {
512
512
  * @returns {() => void}
513
513
  */
514
514
  $on(t, r) {
515
- if (!st(r))
515
+ if (!ht(r))
516
516
  return I;
517
517
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
518
518
  return n.push(r), () => {
@@ -544,43 +544,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
544
544
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
545
545
  PERFORMANCE OF THIS SOFTWARE.
546
546
  ***************************************************************************** */
547
- var Xe = function(e, t) {
548
- return Xe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
547
+ var ze = function(e, t) {
548
+ return ze = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
549
549
  r.__proto__ = n;
550
550
  } || function(r, n) {
551
551
  for (var i in n)
552
552
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
553
- }, Xe(e, t);
553
+ }, ze(e, t);
554
554
  };
555
- function D(e, t) {
555
+ function me(e, t) {
556
556
  if (typeof t != "function" && t !== null)
557
557
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
558
- Xe(e, t);
558
+ ze(e, t);
559
559
  function r() {
560
560
  this.constructor = e;
561
561
  }
562
562
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
563
563
  }
564
- var v = function() {
565
- return v = Object.assign || function(t) {
566
- for (var r, n = 1, i = arguments.length; n < i; n++) {
567
- r = arguments[n];
568
- for (var s in r)
569
- Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
570
- }
571
- return t;
572
- }, v.apply(this, arguments);
573
- };
574
- function fn(e, t) {
575
- var r = {};
576
- for (var n in e)
577
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
578
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
579
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
580
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
581
- return r;
582
- }
583
- function We(e) {
564
+ function Ze(e) {
584
565
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
585
566
  if (r)
586
567
  return r.call(e);
@@ -592,7 +573,7 @@ function We(e) {
592
573
  };
593
574
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
594
575
  }
595
- function ze(e, t) {
576
+ function Qe(e, t) {
596
577
  var r = typeof Symbol == "function" && e[Symbol.iterator];
597
578
  if (!r)
598
579
  return e;
@@ -612,22 +593,22 @@ function ze(e, t) {
612
593
  }
613
594
  return s;
614
595
  }
615
- function J(e, t, r) {
616
- if (r || arguments.length === 2)
596
+ function Ye(e, t, r) {
597
+ if (arguments.length === 2)
617
598
  for (var n = 0, i = t.length, s; n < i; n++)
618
599
  (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
619
600
  return e.concat(s || t);
620
601
  }
621
- function U(e) {
602
+ function D(e) {
622
603
  return typeof e == "function";
623
604
  }
624
- function Kt(e) {
605
+ function er(e) {
625
606
  var t = function(n) {
626
607
  Error.call(n), n.stack = new Error().stack;
627
608
  }, r = e(t);
628
609
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
629
610
  }
630
- var Me = Kt(function(e) {
611
+ var Ge = er(function(e) {
631
612
  return function(r) {
632
613
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
633
614
  ` + r.map(function(n, i) {
@@ -636,13 +617,13 @@ var Me = Kt(function(e) {
636
617
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
637
618
  };
638
619
  });
639
- function Ze(e, t) {
620
+ function qe(e, t) {
640
621
  if (e) {
641
622
  var r = e.indexOf(t);
642
623
  0 <= r && e.splice(r, 1);
643
624
  }
644
625
  }
645
- var He = function() {
626
+ var Ae = function() {
646
627
  function e(t) {
647
628
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
648
629
  }
@@ -654,7 +635,7 @@ var He = function() {
654
635
  if (o)
655
636
  if (this._parentage = null, Array.isArray(o))
656
637
  try {
657
- for (var a = We(o), h = a.next(); !h.done; h = a.next()) {
638
+ for (var a = Ze(o), h = a.next(); !h.done; h = a.next()) {
658
639
  var u = h.value;
659
640
  u.remove(this);
660
641
  }
@@ -671,22 +652,22 @@ var He = function() {
671
652
  else
672
653
  o.remove(this);
673
654
  var l = this.initialTeardown;
674
- if (U(l))
655
+ if (D(l))
675
656
  try {
676
657
  l();
677
658
  } catch (y) {
678
- s = y instanceof Me ? y.errors : [y];
659
+ s = y instanceof Ge ? y.errors : [y];
679
660
  }
680
661
  var m = this._finalizers;
681
662
  if (m) {
682
663
  this._finalizers = null;
683
664
  try {
684
- for (var c = We(m), d = c.next(); !d.done; d = c.next()) {
665
+ for (var c = Ze(m), d = c.next(); !d.done; d = c.next()) {
685
666
  var b = d.value;
686
667
  try {
687
- xt(b);
668
+ St(b);
688
669
  } catch (y) {
689
- s = s != null ? s : [], y instanceof Me ? s = J(J([], ze(s)), ze(y.errors)) : s.push(y);
670
+ s = s != null ? s : [], y instanceof Ge ? s = Ye(Ye([], Qe(s)), Qe(y.errors)) : s.push(y);
690
671
  }
691
672
  }
692
673
  } catch (y) {
@@ -701,13 +682,13 @@ var He = function() {
701
682
  }
702
683
  }
703
684
  if (s)
704
- throw new Me(s);
685
+ throw new Ge(s);
705
686
  }
706
687
  }, e.prototype.add = function(t) {
707
688
  var r;
708
689
  if (t && t !== this)
709
690
  if (this.closed)
710
- xt(t);
691
+ St(t);
711
692
  else {
712
693
  if (t instanceof e) {
713
694
  if (t.closed || t._hasParent(this))
@@ -724,32 +705,28 @@ var He = function() {
724
705
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
725
706
  }, e.prototype._removeParent = function(t) {
726
707
  var r = this._parentage;
727
- r === t ? this._parentage = null : Array.isArray(r) && Ze(r, t);
708
+ r === t ? this._parentage = null : Array.isArray(r) && qe(r, t);
728
709
  }, e.prototype.remove = function(t) {
729
710
  var r = this._finalizers;
730
- r && Ze(r, t), t instanceof e && t._removeParent(this);
711
+ r && qe(r, t), t instanceof e && t._removeParent(this);
731
712
  }, e.EMPTY = function() {
732
713
  var t = new e();
733
714
  return t.closed = !0, t;
734
715
  }(), e;
735
- }(), er = He.EMPTY;
736
- function tr(e) {
737
- return e instanceof He || e && "closed" in e && U(e.remove) && U(e.add) && U(e.unsubscribe);
738
- }
739
- function xt(e) {
740
- U(e) ? e() : e.unsubscribe();
741
- }
742
- var rr = {
743
- onUnhandledError: null,
744
- onStoppedNotification: null,
745
- Promise: void 0,
746
- useDeprecatedSynchronousErrorHandling: !1,
747
- useDeprecatedNextContext: !1
716
+ }(), tr = Ae.EMPTY;
717
+ function rr(e) {
718
+ return e instanceof Ae || e && "closed" in e && D(e.remove) && D(e.add) && D(e.unsubscribe);
719
+ }
720
+ function St(e) {
721
+ D(e) ? e() : e.unsubscribe();
722
+ }
723
+ var fn = {
724
+ Promise: void 0
748
725
  }, mn = {
749
726
  setTimeout: function(e, t) {
750
727
  for (var r = [], n = 2; n < arguments.length; n++)
751
728
  r[n - 2] = arguments[n];
752
- return setTimeout.apply(void 0, J([e, t], ze(r)));
729
+ return setTimeout.apply(void 0, Ye([e, t], Qe(r)));
753
730
  },
754
731
  clearTimeout: function(e) {
755
732
  return clearTimeout(e);
@@ -761,19 +738,19 @@ function dn(e) {
761
738
  throw e;
762
739
  });
763
740
  }
764
- function St() {
741
+ function wt() {
765
742
  }
766
- function _e(e) {
743
+ function Ee(e) {
767
744
  e();
768
745
  }
769
746
  var nr = function(e) {
770
- D(t, e);
747
+ me(t, e);
771
748
  function t(r) {
772
749
  var n = e.call(this) || this;
773
- return n.isStopped = !1, r ? (n.destination = r, tr(r) && r.add(n)) : n.destination = yn, n;
750
+ return n.isStopped = !1, r ? (n.destination = r, rr(r) && r.add(n)) : n.destination = gn, n;
774
751
  }
775
752
  return t.create = function(r, n, i) {
776
- return new Qe(r, n, i);
753
+ return new Je(r, n, i);
777
754
  }, t.prototype.next = function(r) {
778
755
  this.isStopped || this._next(r);
779
756
  }, t.prototype.error = function(r) {
@@ -797,11 +774,7 @@ var nr = function(e) {
797
774
  this.unsubscribe();
798
775
  }
799
776
  }, t;
800
- }(He), bn = Function.prototype.bind;
801
- function Re(e, t) {
802
- return bn.call(e, t);
803
- }
804
- var pn = function() {
777
+ }(Ae), bn = function() {
805
778
  function e(t) {
806
779
  this.partialObserver = t;
807
780
  }
@@ -832,55 +805,43 @@ var pn = function() {
832
805
  ye(r);
833
806
  }
834
807
  }, e;
835
- }(), Qe = function(e) {
836
- D(t, e);
808
+ }(), Je = function(e) {
809
+ me(t, e);
837
810
  function t(r, n, i) {
838
811
  var s = e.call(this) || this, o;
839
- if (U(r) || !r)
840
- o = {
841
- next: r != null ? r : void 0,
842
- error: n != null ? n : void 0,
843
- complete: i != null ? i : void 0
844
- };
845
- else {
846
- var a;
847
- s && rr.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
848
- return s.unsubscribe();
849
- }, o = {
850
- next: r.next && Re(r.next, a),
851
- error: r.error && Re(r.error, a),
852
- complete: r.complete && Re(r.complete, a)
853
- }) : o = r;
854
- }
855
- return s.destination = new pn(o), s;
812
+ return D(r) || !r ? o = {
813
+ next: r != null ? r : void 0,
814
+ error: n != null ? n : void 0,
815
+ complete: i != null ? i : void 0
816
+ } : o = r, s.destination = new bn(o), s;
856
817
  }
857
818
  return t;
858
819
  }(nr);
859
820
  function ye(e) {
860
821
  dn(e);
861
822
  }
862
- function gn(e) {
823
+ function pn(e) {
863
824
  throw e;
864
825
  }
865
- var yn = {
826
+ var gn = {
866
827
  closed: !0,
867
- next: St,
868
- error: gn,
869
- complete: St
870
- }, vn = function() {
828
+ next: wt,
829
+ error: pn,
830
+ complete: wt
831
+ }, yn = function() {
871
832
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
872
833
  }();
873
- function En(e) {
834
+ function vn(e) {
874
835
  return e;
875
836
  }
876
837
  function _n(e) {
877
- return e.length === 0 ? En : e.length === 1 ? e[0] : function(r) {
838
+ return e.length === 0 ? vn : e.length === 1 ? e[0] : function(r) {
878
839
  return e.reduce(function(n, i) {
879
840
  return i(n);
880
841
  }, r);
881
842
  };
882
843
  }
883
- var wt = function() {
844
+ var Tt = function() {
884
845
  function e(t) {
885
846
  t && (this._subscribe = t);
886
847
  }
@@ -888,8 +849,8 @@ var wt = function() {
888
849
  var r = new e();
889
850
  return r.source = this, r.operator = t, r;
890
851
  }, e.prototype.subscribe = function(t, r, n) {
891
- var i = this, s = Sn(t) ? t : new Qe(t, r, n);
892
- return _e(function() {
852
+ var i = this, s = xn(t) ? t : new Je(t, r, n);
853
+ return Ee(function() {
893
854
  var o = i, a = o.operator, h = o.source;
894
855
  s.add(a ? a.call(s, h) : h ? i._subscribe(s) : i._trySubscribe(s));
895
856
  }), s;
@@ -901,8 +862,8 @@ var wt = function() {
901
862
  }
902
863
  }, e.prototype.forEach = function(t, r) {
903
864
  var n = this;
904
- return r = Tt(r), new r(function(i, s) {
905
- var o = new Qe({
865
+ return r = Ht(r), new r(function(i, s) {
866
+ var o = new Je({
906
867
  next: function(a) {
907
868
  try {
908
869
  t(a);
@@ -918,7 +879,7 @@ var wt = function() {
918
879
  }, e.prototype._subscribe = function(t) {
919
880
  var r;
920
881
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
921
- }, e.prototype[vn] = function() {
882
+ }, e.prototype[yn] = function() {
922
883
  return this;
923
884
  }, e.prototype.pipe = function() {
924
885
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -926,7 +887,7 @@ var wt = function() {
926
887
  return _n(t)(this);
927
888
  }, e.prototype.toPromise = function(t) {
928
889
  var r = this;
929
- return t = Tt(t), new t(function(n, i) {
890
+ return t = Ht(t), new t(function(n, i) {
930
891
  var s;
931
892
  r.subscribe(function(o) {
932
893
  return s = o;
@@ -940,40 +901,40 @@ var wt = function() {
940
901
  return new e(t);
941
902
  }, e;
942
903
  }();
943
- function Tt(e) {
904
+ function Ht(e) {
944
905
  var t;
945
- return (t = e != null ? e : rr.Promise) !== null && t !== void 0 ? t : Promise;
906
+ return (t = e != null ? e : fn.Promise) !== null && t !== void 0 ? t : Promise;
946
907
  }
947
- function xn(e) {
948
- return e && U(e.next) && U(e.error) && U(e.complete);
908
+ function En(e) {
909
+ return e && D(e.next) && D(e.error) && D(e.complete);
949
910
  }
950
- function Sn(e) {
951
- return e && e instanceof nr || xn(e) && tr(e);
911
+ function xn(e) {
912
+ return e && e instanceof nr || En(e) && rr(e);
952
913
  }
953
- var wn = Kt(function(e) {
914
+ var Sn = er(function(e) {
954
915
  return function() {
955
916
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
956
917
  };
957
918
  }), ir = function(e) {
958
- D(t, e);
919
+ me(t, e);
959
920
  function t() {
960
921
  var r = e.call(this) || this;
961
922
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
962
923
  }
963
924
  return t.prototype.lift = function(r) {
964
- var n = new Ht(this, this);
925
+ var n = new At(this, this);
965
926
  return n.operator = r, n;
966
927
  }, t.prototype._throwIfClosed = function() {
967
928
  if (this.closed)
968
- throw new wn();
929
+ throw new Sn();
969
930
  }, t.prototype.next = function(r) {
970
931
  var n = this;
971
- _e(function() {
932
+ Ee(function() {
972
933
  var i, s;
973
934
  if (n._throwIfClosed(), !n.isStopped) {
974
935
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
975
936
  try {
976
- for (var o = We(n.currentObservers), a = o.next(); !a.done; a = o.next()) {
937
+ for (var o = Ze(n.currentObservers), a = o.next(); !a.done; a = o.next()) {
977
938
  var h = a.value;
978
939
  h.next(r);
979
940
  }
@@ -991,7 +952,7 @@ var wn = Kt(function(e) {
991
952
  });
992
953
  }, t.prototype.error = function(r) {
993
954
  var n = this;
994
- _e(function() {
955
+ Ee(function() {
995
956
  if (n._throwIfClosed(), !n.isStopped) {
996
957
  n.hasError = n.isStopped = !0, n.thrownError = r;
997
958
  for (var i = n.observers; i.length; )
@@ -1000,7 +961,7 @@ var wn = Kt(function(e) {
1000
961
  });
1001
962
  }, t.prototype.complete = function() {
1002
963
  var r = this;
1003
- _e(function() {
964
+ Ee(function() {
1004
965
  if (r._throwIfClosed(), !r.isStopped) {
1005
966
  r.isStopped = !0;
1006
967
  for (var n = r.observers; n.length; )
@@ -1022,20 +983,20 @@ var wn = Kt(function(e) {
1022
983
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1023
984
  }, t.prototype._innerSubscribe = function(r) {
1024
985
  var n = this, i = this, s = i.hasError, o = i.isStopped, a = i.observers;
1025
- return s || o ? er : (this.currentObservers = null, a.push(r), new He(function() {
1026
- n.currentObservers = null, Ze(a, r);
986
+ return s || o ? tr : (this.currentObservers = null, a.push(r), new Ae(function() {
987
+ n.currentObservers = null, qe(a, r);
1027
988
  }));
1028
989
  }, t.prototype._checkFinalizedStatuses = function(r) {
1029
990
  var n = this, i = n.hasError, s = n.thrownError, o = n.isStopped;
1030
991
  i ? r.error(s) : o && r.complete();
1031
992
  }, t.prototype.asObservable = function() {
1032
- var r = new wt();
993
+ var r = new Tt();
1033
994
  return r.source = this, r;
1034
995
  }, t.create = function(r, n) {
1035
- return new Ht(r, n);
996
+ return new At(r, n);
1036
997
  }, t;
1037
- }(wt), Ht = function(e) {
1038
- D(t, e);
998
+ }(Tt), At = function(e) {
999
+ me(t, e);
1039
1000
  function t(r, n) {
1040
1001
  var i = e.call(this) || this;
1041
1002
  return i.destination = r, i.source = n, i;
@@ -1051,15 +1012,15 @@ var wn = Kt(function(e) {
1051
1012
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1052
1013
  }, t.prototype._subscribe = function(r) {
1053
1014
  var n, i;
1054
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : er;
1015
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : tr;
1055
1016
  }, t;
1056
1017
  }(ir), sr = {
1057
1018
  now: function() {
1058
1019
  return (sr.delegate || Date).now();
1059
1020
  },
1060
1021
  delegate: void 0
1061
- }, Tn = function(e) {
1062
- D(t, e);
1022
+ }, wn = function(e) {
1023
+ me(t, e);
1063
1024
  function t(r, n, i) {
1064
1025
  r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = sr);
1065
1026
  var s = e.call(this) || this;
@@ -1082,14 +1043,14 @@ var wn = Kt(function(e) {
1082
1043
  }
1083
1044
  }, t;
1084
1045
  }(ir);
1085
- const Bt = [], At = {}, Hn = (e, t = 0) => {
1046
+ const Bt = [], Pt = {}, Tn = (e, t = 0) => {
1086
1047
  if (Bt.indexOf(e) == -1) {
1087
- const r = new Tn(t);
1088
- At[e] = r, Bt.push(e);
1048
+ const r = new wn(t);
1049
+ Pt[e] = r, Bt.push(e);
1089
1050
  }
1090
- return At[e];
1051
+ return Pt[e];
1091
1052
  }, Q = [];
1092
- function Bn(e, t) {
1053
+ function Hn(e, t) {
1093
1054
  return {
1094
1055
  subscribe: Be(e, t).subscribe
1095
1056
  };
@@ -1098,7 +1059,7 @@ function Be(e, t = I) {
1098
1059
  let r;
1099
1060
  const n = /* @__PURE__ */ new Set();
1100
1061
  function i(a) {
1101
- if (Xt(e, a) && (e = a, r)) {
1062
+ if (Wt(e, a) && (e = a, r)) {
1102
1063
  const h = !Q.length;
1103
1064
  for (const u of n)
1104
1065
  u[1](), Q.push(u, e);
@@ -1120,12 +1081,12 @@ function Be(e, t = I) {
1120
1081
  }
1121
1082
  return { set: i, update: s, subscribe: o };
1122
1083
  }
1123
- function se(e, t, r) {
1084
+ function ie(e, t, r) {
1124
1085
  const n = !Array.isArray(e), i = n ? [e] : e;
1125
1086
  if (!i.every(Boolean))
1126
1087
  throw new Error("derived() expects stores as input, got a falsy value");
1127
1088
  const s = t.length < 2;
1128
- return Bn(r, (o, a) => {
1089
+ return Hn(r, (o, a) => {
1129
1090
  let h = !1;
1130
1091
  const u = [];
1131
1092
  let l = 0, m = I;
@@ -1134,9 +1095,9 @@ function se(e, t, r) {
1134
1095
  return;
1135
1096
  m();
1136
1097
  const b = t(n ? u[0] : u, o, a);
1137
- s ? o(b) : m = st(b) ? b : I;
1098
+ s ? o(b) : m = ht(b) ? b : I;
1138
1099
  }, d = i.map(
1139
- (b, y) => Wt(
1100
+ (b, y) => zt(
1140
1101
  b,
1141
1102
  (T) => {
1142
1103
  u[y] = T, l &= ~(1 << y), h && c();
@@ -1147,51 +1108,51 @@ function se(e, t, r) {
1147
1108
  )
1148
1109
  );
1149
1110
  return h = !0, c(), function() {
1150
- ne(d), m(), h = !1;
1111
+ re(d), m(), h = !1;
1151
1112
  };
1152
1113
  });
1153
1114
  }
1154
1115
  function An(e) {
1155
1116
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1156
1117
  }
1157
- var Pn = function(t) {
1158
- return Nn(t) && !On(t);
1118
+ var Bn = function(t) {
1119
+ return Pn(t) && !On(t);
1159
1120
  };
1160
- function Nn(e) {
1121
+ function Pn(e) {
1161
1122
  return !!e && typeof e == "object";
1162
1123
  }
1163
1124
  function On(e) {
1164
1125
  var t = Object.prototype.toString.call(e);
1165
- return t === "[object RegExp]" || t === "[object Date]" || Cn(e);
1126
+ return t === "[object RegExp]" || t === "[object Date]" || In(e);
1166
1127
  }
1167
- var Ln = typeof Symbol == "function" && Symbol.for, In = Ln ? Symbol.for("react.element") : 60103;
1168
- function Cn(e) {
1169
- return e.$$typeof === In;
1128
+ var Nn = typeof Symbol == "function" && Symbol.for, Ln = Nn ? Symbol.for("react.element") : 60103;
1129
+ function In(e) {
1130
+ return e.$$typeof === Ln;
1170
1131
  }
1171
- function Mn(e) {
1132
+ function Cn(e) {
1172
1133
  return Array.isArray(e) ? [] : {};
1173
1134
  }
1174
- function le(e, t) {
1175
- return t.clone !== !1 && t.isMergeableObject(e) ? K(Mn(e), e, t) : e;
1135
+ function he(e, t) {
1136
+ return t.clone !== !1 && t.isMergeableObject(e) ? J(Cn(e), e, t) : e;
1176
1137
  }
1177
- function Rn(e, t, r) {
1138
+ function Mn(e, t, r) {
1178
1139
  return e.concat(t).map(function(n) {
1179
- return le(n, r);
1140
+ return he(n, r);
1180
1141
  });
1181
1142
  }
1182
- function Gn(e, t) {
1143
+ function Rn(e, t) {
1183
1144
  if (!t.customMerge)
1184
- return K;
1145
+ return J;
1185
1146
  var r = t.customMerge(e);
1186
- return typeof r == "function" ? r : K;
1147
+ return typeof r == "function" ? r : J;
1187
1148
  }
1188
- function Un(e) {
1149
+ function Gn(e) {
1189
1150
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1190
1151
  return Object.propertyIsEnumerable.call(e, t);
1191
1152
  }) : [];
1192
1153
  }
1193
- function Pt(e) {
1194
- return Object.keys(e).concat(Un(e));
1154
+ function Ot(e) {
1155
+ return Object.keys(e).concat(Gn(e));
1195
1156
  }
1196
1157
  function or(e, t) {
1197
1158
  try {
@@ -1200,33 +1161,75 @@ function or(e, t) {
1200
1161
  return !1;
1201
1162
  }
1202
1163
  }
1203
- function Dn(e, t) {
1164
+ function Un(e, t) {
1204
1165
  return or(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1205
1166
  }
1206
- function Fn(e, t, r) {
1167
+ function Dn(e, t, r) {
1207
1168
  var n = {};
1208
- return r.isMergeableObject(e) && Pt(e).forEach(function(i) {
1209
- n[i] = le(e[i], r);
1210
- }), Pt(t).forEach(function(i) {
1211
- Dn(e, i) || (or(e, i) && r.isMergeableObject(t[i]) ? n[i] = Gn(i, r)(e[i], t[i], r) : n[i] = le(t[i], r));
1169
+ return r.isMergeableObject(e) && Ot(e).forEach(function(i) {
1170
+ n[i] = he(e[i], r);
1171
+ }), Ot(t).forEach(function(i) {
1172
+ Un(e, i) || (or(e, i) && r.isMergeableObject(t[i]) ? n[i] = Rn(i, r)(e[i], t[i], r) : n[i] = he(t[i], r));
1212
1173
  }), n;
1213
1174
  }
1214
- function K(e, t, r) {
1215
- r = r || {}, r.arrayMerge = r.arrayMerge || Rn, r.isMergeableObject = r.isMergeableObject || Pn, r.cloneUnlessOtherwiseSpecified = le;
1175
+ function J(e, t, r) {
1176
+ r = r || {}, r.arrayMerge = r.arrayMerge || Mn, r.isMergeableObject = r.isMergeableObject || Bn, r.cloneUnlessOtherwiseSpecified = he;
1216
1177
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
1217
- return s ? n ? r.arrayMerge(e, t, r) : Fn(e, t, r) : le(t, r);
1178
+ return s ? n ? r.arrayMerge(e, t, r) : Dn(e, t, r) : he(t, r);
1218
1179
  }
1219
- K.all = function(t, r) {
1180
+ J.all = function(t, r) {
1220
1181
  if (!Array.isArray(t))
1221
1182
  throw new Error("first argument should be an array");
1222
1183
  return t.reduce(function(n, i) {
1223
- return K(n, i, r);
1184
+ return J(n, i, r);
1224
1185
  }, {});
1225
1186
  };
1226
- var $n = K, jn = $n;
1227
- const kn = /* @__PURE__ */ An(jn);
1228
- function Ge(e, t) {
1229
- var r = t && t.cache ? t.cache : Qn, n = t && t.serializer ? t.serializer : Zn, i = t && t.strategy ? t.strategy : Xn;
1187
+ var $n = J, Fn = $n;
1188
+ const jn = /* @__PURE__ */ An(Fn);
1189
+ var Ke = function(e, t) {
1190
+ return Ke = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1191
+ r.__proto__ = n;
1192
+ } || function(r, n) {
1193
+ for (var i in n)
1194
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1195
+ }, Ke(e, t);
1196
+ };
1197
+ function Pe(e, t) {
1198
+ if (typeof t != "function" && t !== null)
1199
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1200
+ Ke(e, t);
1201
+ function r() {
1202
+ this.constructor = e;
1203
+ }
1204
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1205
+ }
1206
+ var G = function() {
1207
+ return G = Object.assign || function(t) {
1208
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1209
+ r = arguments[n];
1210
+ for (var s in r)
1211
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
1212
+ }
1213
+ return t;
1214
+ }, G.apply(this, arguments);
1215
+ };
1216
+ function kn(e, t) {
1217
+ var r = {};
1218
+ for (var n in e)
1219
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1220
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
1221
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1222
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1223
+ return r;
1224
+ }
1225
+ function Ue(e, t, r) {
1226
+ if (r || arguments.length === 2)
1227
+ for (var n = 0, i = t.length, s; n < i; n++)
1228
+ (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
1229
+ return e.concat(s || Array.prototype.slice.call(t));
1230
+ }
1231
+ function De(e, t) {
1232
+ var r = t && t.cache ? t.cache : Yn, n = t && t.serializer ? t.serializer : Zn, i = t && t.strategy ? t.strategy : Wn;
1230
1233
  return i(e, {
1231
1234
  cache: r,
1232
1235
  serializer: n
@@ -1235,95 +1238,103 @@ function Ge(e, t) {
1235
1238
  function Vn(e) {
1236
1239
  return e == null || typeof e == "number" || typeof e == "boolean";
1237
1240
  }
1238
- function ar(e, t, r, n) {
1241
+ function Xn(e, t, r, n) {
1239
1242
  var i = Vn(n) ? n : r(n), s = t.get(i);
1240
1243
  return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
1241
1244
  }
1242
- function ur(e, t, r) {
1245
+ function ar(e, t, r) {
1243
1246
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
1244
1247
  return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
1245
1248
  }
1246
- function ot(e, t, r, n, i) {
1249
+ function ur(e, t, r, n, i) {
1247
1250
  return r.bind(t, e, n, i);
1248
1251
  }
1249
- function Xn(e, t) {
1250
- var r = e.length === 1 ? ar : ur;
1251
- return ot(e, this, r, t.cache.create(), t.serializer);
1252
- }
1253
1252
  function Wn(e, t) {
1254
- return ot(e, this, ur, t.cache.create(), t.serializer);
1253
+ var r = e.length === 1 ? Xn : ar;
1254
+ return ur(e, this, r, t.cache.create(), t.serializer);
1255
1255
  }
1256
1256
  function zn(e, t) {
1257
- return ot(e, this, ar, t.cache.create(), t.serializer);
1257
+ return ur(e, this, ar, t.cache.create(), t.serializer);
1258
1258
  }
1259
1259
  var Zn = function() {
1260
1260
  return JSON.stringify(arguments);
1261
- };
1262
- function at() {
1263
- this.cache = /* @__PURE__ */ Object.create(null);
1264
- }
1265
- at.prototype.get = function(e) {
1266
- return this.cache[e];
1267
- };
1268
- at.prototype.set = function(e, t) {
1269
- this.cache[e] = t;
1270
- };
1271
- var Qn = {
1261
+ }, Qn = (
1262
+ /** @class */
1263
+ function() {
1264
+ function e() {
1265
+ this.cache = /* @__PURE__ */ Object.create(null);
1266
+ }
1267
+ return e.prototype.get = function(t) {
1268
+ return this.cache[t];
1269
+ }, e.prototype.set = function(t, r) {
1270
+ this.cache[t] = r;
1271
+ }, e;
1272
+ }()
1273
+ ), Yn = {
1272
1274
  create: function() {
1273
- return new at();
1275
+ return new Qn();
1274
1276
  }
1275
- }, Ue = {
1276
- variadic: Wn,
1277
- monadic: zn
1278
- }, p;
1277
+ }, $e = {
1278
+ variadic: zn
1279
+ }, we = function() {
1280
+ return we = Object.assign || function(t) {
1281
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1282
+ r = arguments[n];
1283
+ for (var s in r)
1284
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
1285
+ }
1286
+ return t;
1287
+ }, we.apply(this, arguments);
1288
+ };
1289
+ var p;
1279
1290
  (function(e) {
1280
1291
  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";
1281
1292
  })(p || (p = {}));
1282
- var x;
1293
+ var E;
1283
1294
  (function(e) {
1284
1295
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
1285
- })(x || (x = {}));
1286
- var ee;
1296
+ })(E || (E = {}));
1297
+ var K;
1287
1298
  (function(e) {
1288
1299
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1289
- })(ee || (ee = {}));
1300
+ })(K || (K = {}));
1290
1301
  function Nt(e) {
1291
- return e.type === x.literal;
1302
+ return e.type === E.literal;
1292
1303
  }
1293
- function Yn(e) {
1294
- return e.type === x.argument;
1304
+ function qn(e) {
1305
+ return e.type === E.argument;
1295
1306
  }
1296
1307
  function hr(e) {
1297
- return e.type === x.number;
1308
+ return e.type === E.number;
1298
1309
  }
1299
1310
  function lr(e) {
1300
- return e.type === x.date;
1311
+ return e.type === E.date;
1301
1312
  }
1302
1313
  function cr(e) {
1303
- return e.type === x.time;
1314
+ return e.type === E.time;
1304
1315
  }
1305
1316
  function fr(e) {
1306
- return e.type === x.select;
1317
+ return e.type === E.select;
1307
1318
  }
1308
1319
  function mr(e) {
1309
- return e.type === x.plural;
1320
+ return e.type === E.plural;
1310
1321
  }
1311
- function qn(e) {
1312
- return e.type === x.pound;
1322
+ function Jn(e) {
1323
+ return e.type === E.pound;
1313
1324
  }
1314
1325
  function dr(e) {
1315
- return e.type === x.tag;
1326
+ return e.type === E.tag;
1316
1327
  }
1317
1328
  function br(e) {
1318
- return !!(e && typeof e == "object" && e.type === ee.number);
1329
+ return !!(e && typeof e == "object" && e.type === K.number);
1319
1330
  }
1320
- function Ye(e) {
1321
- return !!(e && typeof e == "object" && e.type === ee.dateTime);
1331
+ function et(e) {
1332
+ return !!(e && typeof e == "object" && e.type === K.dateTime);
1322
1333
  }
1323
- var pr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Jn = /(?:[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;
1324
- function Kn(e) {
1334
+ var pr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Kn = /(?:[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;
1335
+ function ei(e) {
1325
1336
  var t = {};
1326
- return e.replace(Jn, function(r) {
1337
+ return e.replace(Kn, function(r) {
1327
1338
  var n = r.length;
1328
1339
  switch (r[0]) {
1329
1340
  case "G":
@@ -1412,11 +1423,21 @@ function Kn(e) {
1412
1423
  return "";
1413
1424
  }), t;
1414
1425
  }
1415
- var ei = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1416
- function ti(e) {
1426
+ var S = function() {
1427
+ return S = Object.assign || function(t) {
1428
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1429
+ r = arguments[n];
1430
+ for (var s in r)
1431
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
1432
+ }
1433
+ return t;
1434
+ }, S.apply(this, arguments);
1435
+ };
1436
+ var ti = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1437
+ function ri(e) {
1417
1438
  if (e.length === 0)
1418
1439
  throw new Error("Number skeleton cannot be empty");
1419
- for (var t = e.split(ei).filter(function(c) {
1440
+ for (var t = e.split(ti).filter(function(c) {
1420
1441
  return c.length > 0;
1421
1442
  }), r = [], n = 0, i = t; n < i.length; n++) {
1422
1443
  var s = i[n], o = s.split("/");
@@ -1431,11 +1452,11 @@ function ti(e) {
1431
1452
  }
1432
1453
  return r;
1433
1454
  }
1434
- function ri(e) {
1455
+ function ni(e) {
1435
1456
  return e.replace(/^(.*?)-/, "");
1436
1457
  }
1437
- var Ot = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, gr = /^(@+)?(\+|#+)?[rs]?$/g, ni = /(\*)(0+)|(#+)(0+)|(0+)/g, yr = /^(0+)$/;
1438
- function Lt(e) {
1458
+ var Lt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, gr = /^(@+)?(\+|#+)?[rs]?$/g, ii = /(\*)(0+)|(#+)(0+)|(0+)/g, yr = /^(0+)$/;
1459
+ function It(e) {
1439
1460
  var t = {};
1440
1461
  return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(gr, function(r, n, i) {
1441
1462
  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)), "";
@@ -1481,7 +1502,7 @@ function vr(e) {
1481
1502
  };
1482
1503
  }
1483
1504
  }
1484
- function ii(e) {
1505
+ function si(e) {
1485
1506
  var t;
1486
1507
  if (e[0] === "E" && e[1] === "E" ? (t = {
1487
1508
  notation: "engineering"
@@ -1495,11 +1516,11 @@ function ii(e) {
1495
1516
  }
1496
1517
  return t;
1497
1518
  }
1498
- function It(e) {
1519
+ function Ct(e) {
1499
1520
  var t = {}, r = vr(e);
1500
1521
  return r || t;
1501
1522
  }
1502
- function si(e) {
1523
+ function oi(e) {
1503
1524
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1504
1525
  var i = n[r];
1505
1526
  switch (i.stem) {
@@ -1523,7 +1544,7 @@ function si(e) {
1523
1544
  continue;
1524
1545
  case "measure-unit":
1525
1546
  case "unit":
1526
- t.style = "unit", t.unit = ri(i.options[0]);
1547
+ t.style = "unit", t.unit = ni(i.options[0]);
1527
1548
  continue;
1528
1549
  case "compact-short":
1529
1550
  case "K":
@@ -1534,13 +1555,13 @@ function si(e) {
1534
1555
  t.notation = "compact", t.compactDisplay = "long";
1535
1556
  continue;
1536
1557
  case "scientific":
1537
- t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1538
- return v(v({}, h), It(u));
1558
+ t = S(S(S({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1559
+ return S(S({}, h), Ct(u));
1539
1560
  }, {}));
1540
1561
  continue;
1541
1562
  case "engineering":
1542
- t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1543
- return v(v({}, h), It(u));
1563
+ t = S(S(S({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1564
+ return S(S({}, h), Ct(u));
1544
1565
  }, {}));
1545
1566
  continue;
1546
1567
  case "notation-simple":
@@ -1585,7 +1606,7 @@ function si(e) {
1585
1606
  case "integer-width":
1586
1607
  if (i.options.length > 1)
1587
1608
  throw new RangeError("integer-width stems only accept a single optional option");
1588
- i.options[0].replace(ni, function(h, u, l, m, c, d) {
1609
+ i.options[0].replace(ii, function(h, u, l, m, c, d) {
1589
1610
  if (u)
1590
1611
  t.minimumIntegerDigits = l.length;
1591
1612
  else {
@@ -1602,24 +1623,24 @@ function si(e) {
1602
1623
  t.minimumIntegerDigits = i.stem.length;
1603
1624
  continue;
1604
1625
  }
1605
- if (Ot.test(i.stem)) {
1626
+ if (Lt.test(i.stem)) {
1606
1627
  if (i.options.length > 1)
1607
1628
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1608
- i.stem.replace(Ot, function(h, u, l, m, c, d) {
1629
+ i.stem.replace(Lt, function(h, u, l, m, c, d) {
1609
1630
  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), "";
1610
1631
  });
1611
1632
  var s = i.options[0];
1612
- s === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = v(v({}, t), Lt(s)));
1633
+ s === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = S(S({}, t), It(s)));
1613
1634
  continue;
1614
1635
  }
1615
1636
  if (gr.test(i.stem)) {
1616
- t = v(v({}, t), Lt(i.stem));
1637
+ t = S(S({}, t), It(i.stem));
1617
1638
  continue;
1618
1639
  }
1619
1640
  var o = vr(i.stem);
1620
- o && (t = v(v({}, t), o));
1621
- var a = ii(i.stem);
1622
- a && (t = v(v({}, t), a));
1641
+ o && (t = S(S({}, t), o));
1642
+ var a = si(i.stem);
1643
+ a && (t = S(S({}, t), a));
1623
1644
  }
1624
1645
  return t;
1625
1646
  }
@@ -3038,13 +3059,13 @@ var ve = {
3038
3059
  "h"
3039
3060
  ]
3040
3061
  };
3041
- function oi(e, t) {
3062
+ function ai(e, t) {
3042
3063
  for (var r = "", n = 0; n < e.length; n++) {
3043
3064
  var i = e.charAt(n);
3044
3065
  if (i === "j") {
3045
3066
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3046
3067
  s++, n++;
3047
- var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", u = ai(t);
3068
+ var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", u = ui(t);
3048
3069
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
3049
3070
  r += h;
3050
3071
  for (; o-- > 0; )
@@ -3054,7 +3075,7 @@ function oi(e, t) {
3054
3075
  }
3055
3076
  return r;
3056
3077
  }
3057
- function ai(e) {
3078
+ function ui(e) {
3058
3079
  var t = e.hourCycle;
3059
3080
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3060
3081
  e.hourCycles && // @ts-ignore
@@ -3076,20 +3097,20 @@ function ai(e) {
3076
3097
  var i = ve[n || ""] || ve[r || ""] || ve["".concat(r, "-001")] || ve["001"];
3077
3098
  return i[0];
3078
3099
  }
3079
- var De, ui = new RegExp("^".concat(pr.source, "*")), hi = new RegExp("".concat(pr.source, "*$"));
3100
+ var Fe, hi = new RegExp("^".concat(pr.source, "*")), li = new RegExp("".concat(pr.source, "*$"));
3080
3101
  function g(e, t) {
3081
3102
  return { start: e, end: t };
3082
3103
  }
3083
- var li = !!String.prototype.startsWith && "_a".startsWith("a", 1), ci = !!String.fromCodePoint, fi = !!Object.fromEntries, mi = !!String.prototype.codePointAt, di = !!String.prototype.trimStart, bi = !!String.prototype.trimEnd, pi = !!Number.isSafeInteger, gi = pi ? Number.isSafeInteger : function(e) {
3104
+ var ci = !!String.prototype.startsWith && "_a".startsWith("a", 1), fi = !!String.fromCodePoint, mi = !!Object.fromEntries, di = !!String.prototype.codePointAt, bi = !!String.prototype.trimStart, pi = !!String.prototype.trimEnd, gi = !!Number.isSafeInteger, yi = gi ? Number.isSafeInteger : function(e) {
3084
3105
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3085
- }, qe = !0;
3106
+ }, tt = !0;
3086
3107
  try {
3087
- var yi = _r("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3088
- qe = ((De = yi.exec("a")) === null || De === void 0 ? void 0 : De[0]) === "a";
3108
+ var vi = Er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3109
+ tt = ((Fe = vi.exec("a")) === null || Fe === void 0 ? void 0 : Fe[0]) === "a";
3089
3110
  } catch (e) {
3090
- qe = !1;
3111
+ tt = !1;
3091
3112
  }
3092
- var Ct = li ? (
3113
+ var Mt = ci ? (
3093
3114
  // Native
3094
3115
  function(t, r, n) {
3095
3116
  return t.startsWith(r, n);
@@ -3099,7 +3120,7 @@ var Ct = li ? (
3099
3120
  function(t, r, n) {
3100
3121
  return t.slice(n, n + r.length) === r;
3101
3122
  }
3102
- ), Je = ci ? String.fromCodePoint : (
3123
+ ), rt = fi ? String.fromCodePoint : (
3103
3124
  // IE11
3104
3125
  function() {
3105
3126
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3111,9 +3132,9 @@ var Ct = li ? (
3111
3132
  }
3112
3133
  return n;
3113
3134
  }
3114
- ), Mt = (
3135
+ ), Rt = (
3115
3136
  // native
3116
- fi ? Object.fromEntries : (
3137
+ mi ? Object.fromEntries : (
3117
3138
  // Ponyfill
3118
3139
  function(t) {
3119
3140
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3123,7 +3144,7 @@ var Ct = li ? (
3123
3144
  return r;
3124
3145
  }
3125
3146
  )
3126
- ), Er = mi ? (
3147
+ ), _r = di ? (
3127
3148
  // Native
3128
3149
  function(t, r) {
3129
3150
  return t.codePointAt(r);
@@ -3137,7 +3158,7 @@ var Ct = li ? (
3137
3158
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
3138
3159
  }
3139
3160
  }
3140
- ), vi = di ? (
3161
+ ), _i = bi ? (
3141
3162
  // Native
3142
3163
  function(t) {
3143
3164
  return t.trimStart();
@@ -3145,9 +3166,9 @@ var Ct = li ? (
3145
3166
  ) : (
3146
3167
  // Ponyfill
3147
3168
  function(t) {
3148
- return t.replace(ui, "");
3169
+ return t.replace(hi, "");
3149
3170
  }
3150
- ), Ei = bi ? (
3171
+ ), Ei = pi ? (
3151
3172
  // Native
3152
3173
  function(t) {
3153
3174
  return t.trimEnd();
@@ -3155,32 +3176,32 @@ var Ct = li ? (
3155
3176
  ) : (
3156
3177
  // Ponyfill
3157
3178
  function(t) {
3158
- return t.replace(hi, "");
3179
+ return t.replace(li, "");
3159
3180
  }
3160
3181
  );
3161
- function _r(e, t) {
3182
+ function Er(e, t) {
3162
3183
  return new RegExp(e, t);
3163
3184
  }
3164
- var Ke;
3165
- if (qe) {
3166
- var Rt = _r("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3167
- Ke = function(t, r) {
3185
+ var nt;
3186
+ if (tt) {
3187
+ var Gt = Er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3188
+ nt = function(t, r) {
3168
3189
  var n;
3169
- Rt.lastIndex = r;
3170
- var i = Rt.exec(t);
3190
+ Gt.lastIndex = r;
3191
+ var i = Gt.exec(t);
3171
3192
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3172
3193
  };
3173
3194
  } else
3174
- Ke = function(t, r) {
3195
+ nt = function(t, r) {
3175
3196
  for (var n = []; ; ) {
3176
- var i = Er(t, r);
3177
- if (i === void 0 || xr(i) || wi(i))
3197
+ var i = _r(t, r);
3198
+ if (i === void 0 || xr(i) || Ti(i))
3178
3199
  break;
3179
3200
  n.push(i), r += i >= 65536 ? 2 : 1;
3180
3201
  }
3181
- return Je.apply(void 0, n);
3202
+ return rt.apply(void 0, n);
3182
3203
  };
3183
- var _i = (
3204
+ var xi = (
3184
3205
  /** @class */
3185
3206
  function() {
3186
3207
  function e(t, r) {
@@ -3204,14 +3225,14 @@ var _i = (
3204
3225
  if (s === 35 && (r === "plural" || r === "selectordinal")) {
3205
3226
  var a = this.clonePosition();
3206
3227
  this.bump(), i.push({
3207
- type: x.pound,
3228
+ type: E.pound,
3208
3229
  location: g(a, this.clonePosition())
3209
3230
  });
3210
3231
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
3211
3232
  if (n)
3212
3233
  break;
3213
3234
  return this.error(p.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
3214
- } else if (s === 60 && !this.ignoreTag && et(this.peek() || 0)) {
3235
+ } else if (s === 60 && !this.ignoreTag && it(this.peek() || 0)) {
3215
3236
  var o = this.parseTag(t, r);
3216
3237
  if (o.err)
3217
3238
  return o;
@@ -3232,7 +3253,7 @@ var _i = (
3232
3253
  if (this.bumpSpace(), this.bumpIf("/>"))
3233
3254
  return {
3234
3255
  val: {
3235
- type: x.literal,
3256
+ type: E.literal,
3236
3257
  value: "<".concat(i, "/>"),
3237
3258
  location: g(n, this.clonePosition())
3238
3259
  },
@@ -3244,12 +3265,12 @@ var _i = (
3244
3265
  return s;
3245
3266
  var o = s.val, a = this.clonePosition();
3246
3267
  if (this.bumpIf("</")) {
3247
- if (this.isEOF() || !et(this.char()))
3268
+ if (this.isEOF() || !it(this.char()))
3248
3269
  return this.error(p.INVALID_TAG, g(a, this.clonePosition()));
3249
3270
  var h = this.clonePosition(), u = this.parseTagName();
3250
3271
  return i !== u ? this.error(p.UNMATCHED_CLOSING_TAG, g(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3251
3272
  val: {
3252
- type: x.tag,
3273
+ type: E.tag,
3253
3274
  value: i,
3254
3275
  children: o,
3255
3276
  location: g(n, this.clonePosition())
@@ -3262,7 +3283,7 @@ var _i = (
3262
3283
  return this.error(p.INVALID_TAG, g(n, this.clonePosition()));
3263
3284
  }, e.prototype.parseTagName = function() {
3264
3285
  var t = this.offset();
3265
- for (this.bump(); !this.isEOF() && Si(this.char()); )
3286
+ for (this.bump(); !this.isEOF() && wi(this.char()); )
3266
3287
  this.bump();
3267
3288
  return this.message.slice(t, this.offset());
3268
3289
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3286,12 +3307,12 @@ var _i = (
3286
3307
  }
3287
3308
  var h = g(n, this.clonePosition());
3288
3309
  return {
3289
- val: { type: x.literal, value: i, location: h },
3310
+ val: { type: E.literal, value: i, location: h },
3290
3311
  err: null
3291
3312
  };
3292
3313
  }, e.prototype.tryParseLeftAngleBracket = function() {
3293
3314
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3294
- !xi(this.peek() || 0)) ? (this.bump(), "<") : null;
3315
+ !Si(this.peek() || 0)) ? (this.bump(), "<") : null;
3295
3316
  }, e.prototype.tryParseQuote = function(t) {
3296
3317
  if (this.isEOF() || this.char() !== 39)
3297
3318
  return null;
@@ -3325,12 +3346,12 @@ var _i = (
3325
3346
  r.push(n);
3326
3347
  this.bump();
3327
3348
  }
3328
- return Je.apply(void 0, r);
3349
+ return rt.apply(void 0, r);
3329
3350
  }, e.prototype.tryParseUnquoted = function(t, r) {
3330
3351
  if (this.isEOF())
3331
3352
  return null;
3332
3353
  var n = this.char();
3333
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Je(n));
3354
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), rt(n));
3334
3355
  }, e.prototype.parseArgument = function(t, r) {
3335
3356
  var n = this.clonePosition();
3336
3357
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3346,7 +3367,7 @@ var _i = (
3346
3367
  case 125:
3347
3368
  return this.bump(), {
3348
3369
  val: {
3349
- type: x.argument,
3370
+ type: E.argument,
3350
3371
  // value does not include the opening and closing braces.
3351
3372
  value: i,
3352
3373
  location: g(n, this.clonePosition())
@@ -3359,7 +3380,7 @@ var _i = (
3359
3380
  return this.error(p.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3360
3381
  }
3361
3382
  }, e.prototype.parseIdentifierIfPossible = function() {
3362
- var t = this.clonePosition(), r = this.offset(), n = Ke(this.message, r), i = r + n.length;
3383
+ var t = this.clonePosition(), r = this.offset(), n = nt(this.message, r), i = r + n.length;
3363
3384
  this.bumpTo(i);
3364
3385
  var s = this.clonePosition(), o = g(t, s);
3365
3386
  return { value: n, location: o };
@@ -3388,25 +3409,25 @@ var _i = (
3388
3409
  if (b.err)
3389
3410
  return b;
3390
3411
  var y = g(i, this.clonePosition());
3391
- if (u && Ct(u == null ? void 0 : u.style, "::", 0)) {
3392
- var T = vi(u.style.slice(2));
3412
+ if (u && Mt(u == null ? void 0 : u.style, "::", 0)) {
3413
+ var T = _i(u.style.slice(2));
3393
3414
  if (a === "number") {
3394
3415
  var m = this.parseNumberSkeletonFromString(T, u.styleLocation);
3395
3416
  return m.err ? m : {
3396
- val: { type: x.number, value: n, location: y, style: m.val },
3417
+ val: { type: E.number, value: n, location: y, style: m.val },
3397
3418
  err: null
3398
3419
  };
3399
3420
  } else {
3400
3421
  if (T.length === 0)
3401
3422
  return this.error(p.EXPECT_DATE_TIME_SKELETON, y);
3402
3423
  var C = T;
3403
- this.locale && (C = oi(T, this.locale));
3424
+ this.locale && (C = ai(T, this.locale));
3404
3425
  var c = {
3405
- type: ee.dateTime,
3426
+ type: K.dateTime,
3406
3427
  pattern: C,
3407
3428
  location: u.styleLocation,
3408
- parsedOptions: this.shouldParseSkeletons ? Kn(C) : {}
3409
- }, P = a === "date" ? x.date : x.time;
3429
+ parsedOptions: this.shouldParseSkeletons ? ei(C) : {}
3430
+ }, P = a === "date" ? E.date : E.time;
3410
3431
  return {
3411
3432
  val: { type: P, value: n, location: y, style: c },
3412
3433
  err: null
@@ -3415,7 +3436,7 @@ var _i = (
3415
3436
  }
3416
3437
  return {
3417
3438
  val: {
3418
- type: a === "number" ? x.number : a === "date" ? x.date : x.time,
3439
+ type: a === "number" ? E.number : a === "date" ? E.date : E.time,
3419
3440
  value: n,
3420
3441
  location: y,
3421
3442
  style: (s = u == null ? void 0 : u.style) !== null && s !== void 0 ? s : null
@@ -3428,19 +3449,19 @@ var _i = (
3428
3449
  case "select": {
3429
3450
  var w = this.clonePosition();
3430
3451
  if (this.bumpSpace(), !this.bumpIf(","))
3431
- return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, g(w, v({}, w)));
3452
+ return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, g(w, we({}, w)));
3432
3453
  this.bumpSpace();
3433
- var N = this.parseIdentifierIfPossible(), O = 0;
3434
- if (a !== "select" && N.value === "offset") {
3454
+ var O = this.parseIdentifierIfPossible(), N = 0;
3455
+ if (a !== "select" && O.value === "offset") {
3435
3456
  if (!this.bumpIf(":"))
3436
3457
  return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
3437
3458
  this.bumpSpace();
3438
3459
  var m = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3439
3460
  if (m.err)
3440
3461
  return m;
3441
- this.bumpSpace(), N = this.parseIdentifierIfPossible(), O = m.val;
3462
+ this.bumpSpace(), O = this.parseIdentifierIfPossible(), N = m.val;
3442
3463
  }
3443
- var R = this.tryParsePluralOrSelectOptions(t, a, r, N);
3464
+ var R = this.tryParsePluralOrSelectOptions(t, a, r, O);
3444
3465
  if (R.err)
3445
3466
  return R;
3446
3467
  var b = this.tryParseArgumentClose(i);
@@ -3449,18 +3470,18 @@ var _i = (
3449
3470
  var _ = g(i, this.clonePosition());
3450
3471
  return a === "select" ? {
3451
3472
  val: {
3452
- type: x.select,
3473
+ type: E.select,
3453
3474
  value: n,
3454
- options: Mt(R.val),
3475
+ options: Rt(R.val),
3455
3476
  location: _
3456
3477
  },
3457
3478
  err: null
3458
3479
  } : {
3459
3480
  val: {
3460
- type: x.plural,
3481
+ type: E.plural,
3461
3482
  value: n,
3462
- options: Mt(R.val),
3463
- offset: O,
3483
+ options: Rt(R.val),
3484
+ offset: N,
3464
3485
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3465
3486
  location: _
3466
3487
  },
@@ -3510,16 +3531,16 @@ var _i = (
3510
3531
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3511
3532
  var n = [];
3512
3533
  try {
3513
- n = ti(t);
3534
+ n = ri(t);
3514
3535
  } catch (i) {
3515
3536
  return this.error(p.INVALID_NUMBER_SKELETON, r);
3516
3537
  }
3517
3538
  return {
3518
3539
  val: {
3519
- type: ee.number,
3540
+ type: K.number,
3520
3541
  tokens: n,
3521
3542
  location: r,
3522
- parsedOptions: this.shouldParseSkeletons ? si(n) : {}
3543
+ parsedOptions: this.shouldParseSkeletons ? oi(n) : {}
3523
3544
  },
3524
3545
  err: null
3525
3546
  };
@@ -3567,7 +3588,7 @@ var _i = (
3567
3588
  break;
3568
3589
  }
3569
3590
  var h = g(i, this.clonePosition());
3570
- return s ? (o *= n, gi(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
3591
+ return s ? (o *= n, yi(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
3571
3592
  }, e.prototype.offset = function() {
3572
3593
  return this.position.offset;
3573
3594
  }, e.prototype.isEOF = function() {
@@ -3582,7 +3603,7 @@ var _i = (
3582
3603
  var t = this.position.offset;
3583
3604
  if (t >= this.message.length)
3584
3605
  throw Error("out of bound");
3585
- var r = Er(this.message, t);
3606
+ var r = _r(this.message, t);
3586
3607
  if (r === void 0)
3587
3608
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3588
3609
  return r;
@@ -3601,7 +3622,7 @@ var _i = (
3601
3622
  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);
3602
3623
  }
3603
3624
  }, e.prototype.bumpIf = function(t) {
3604
- if (Ct(this.message, t, this.offset())) {
3625
+ if (Mt(this.message, t, this.offset())) {
3605
3626
  for (var r = 0; r < t.length; r++)
3606
3627
  this.bump();
3607
3628
  return !0;
@@ -3633,47 +3654,47 @@ var _i = (
3633
3654
  }, e;
3634
3655
  }()
3635
3656
  );
3636
- function et(e) {
3657
+ function it(e) {
3637
3658
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3638
3659
  }
3639
- function xi(e) {
3640
- return et(e) || e === 47;
3641
- }
3642
3660
  function Si(e) {
3661
+ return it(e) || e === 47;
3662
+ }
3663
+ function wi(e) {
3643
3664
  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;
3644
3665
  }
3645
3666
  function xr(e) {
3646
3667
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3647
3668
  }
3648
- function wi(e) {
3669
+ function Ti(e) {
3649
3670
  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;
3650
3671
  }
3651
- function tt(e) {
3672
+ function st(e) {
3652
3673
  e.forEach(function(t) {
3653
3674
  if (delete t.location, fr(t) || mr(t))
3654
3675
  for (var r in t.options)
3655
- delete t.options[r].location, tt(t.options[r].value);
3676
+ delete t.options[r].location, st(t.options[r].value);
3656
3677
  else
3657
- hr(t) && br(t.style) || (lr(t) || cr(t)) && Ye(t.style) ? delete t.style.location : dr(t) && tt(t.children);
3678
+ hr(t) && br(t.style) || (lr(t) || cr(t)) && et(t.style) ? delete t.style.location : dr(t) && st(t.children);
3658
3679
  });
3659
3680
  }
3660
- function Ti(e, t) {
3661
- t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3662
- var r = new _i(e, t).parse();
3681
+ function Hi(e, t) {
3682
+ t === void 0 && (t = {}), t = we({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3683
+ var r = new xi(e, t).parse();
3663
3684
  if (r.err) {
3664
3685
  var n = SyntaxError(p[r.err.kind]);
3665
3686
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3666
3687
  }
3667
- return t != null && t.captureLocation || tt(r.val), r.val;
3688
+ return t != null && t.captureLocation || st(r.val), r.val;
3668
3689
  }
3669
- var te;
3690
+ var ee;
3670
3691
  (function(e) {
3671
3692
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3672
- })(te || (te = {}));
3673
- var Ae = (
3693
+ })(ee || (ee = {}));
3694
+ var Oe = (
3674
3695
  /** @class */
3675
3696
  function(e) {
3676
- D(t, e);
3697
+ Pe(t, e);
3677
3698
  function t(r, n, i) {
3678
3699
  var s = e.call(this, r) || this;
3679
3700
  return s.code = n, s.originalMessage = i, s;
@@ -3682,44 +3703,44 @@ var Ae = (
3682
3703
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3683
3704
  }, t;
3684
3705
  }(Error)
3685
- ), Gt = (
3706
+ ), Ut = (
3686
3707
  /** @class */
3687
3708
  function(e) {
3688
- D(t, e);
3709
+ Pe(t, e);
3689
3710
  function t(r, n, i, s) {
3690
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), te.INVALID_VALUE, s) || this;
3711
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ee.INVALID_VALUE, s) || this;
3691
3712
  }
3692
3713
  return t;
3693
- }(Ae)
3694
- ), Hi = (
3714
+ }(Oe)
3715
+ ), Ai = (
3695
3716
  /** @class */
3696
3717
  function(e) {
3697
- D(t, e);
3718
+ Pe(t, e);
3698
3719
  function t(r, n, i) {
3699
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), te.INVALID_VALUE, i) || this;
3720
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ee.INVALID_VALUE, i) || this;
3700
3721
  }
3701
3722
  return t;
3702
- }(Ae)
3723
+ }(Oe)
3703
3724
  ), Bi = (
3704
3725
  /** @class */
3705
3726
  function(e) {
3706
- D(t, e);
3727
+ Pe(t, e);
3707
3728
  function t(r, n) {
3708
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), te.MISSING_VALUE, n) || this;
3729
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ee.MISSING_VALUE, n) || this;
3709
3730
  }
3710
3731
  return t;
3711
- }(Ae)
3732
+ }(Oe)
3712
3733
  ), H;
3713
3734
  (function(e) {
3714
3735
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3715
3736
  })(H || (H = {}));
3716
- function Ai(e) {
3737
+ function Pi(e) {
3717
3738
  return e.length < 2 ? e : e.reduce(function(t, r) {
3718
3739
  var n = t[t.length - 1];
3719
3740
  return !n || n.type !== H.literal || r.type !== H.literal ? t.push(r) : n.value += r.value, t;
3720
3741
  }, []);
3721
3742
  }
3722
- function Pi(e) {
3743
+ function Oi(e) {
3723
3744
  return typeof e == "function";
3724
3745
  }
3725
3746
  function xe(e, t, r, n, i, s, o) {
@@ -3739,7 +3760,7 @@ function xe(e, t, r, n, i, s, o) {
3739
3760
  });
3740
3761
  continue;
3741
3762
  }
3742
- if (qn(l)) {
3763
+ if (Jn(l)) {
3743
3764
  typeof s == "number" && a.push({
3744
3765
  type: H.literal,
3745
3766
  value: r.getNumberFormat(t).format(s)
@@ -3750,7 +3771,7 @@ function xe(e, t, r, n, i, s, o) {
3750
3771
  if (!(i && m in i))
3751
3772
  throw new Bi(m, o);
3752
3773
  var c = i[m];
3753
- if (Yn(l)) {
3774
+ if (qn(l)) {
3754
3775
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3755
3776
  type: typeof c == "string" ? H.literal : H.object,
3756
3777
  value: c
@@ -3758,7 +3779,7 @@ function xe(e, t, r, n, i, s, o) {
3758
3779
  continue;
3759
3780
  }
3760
3781
  if (lr(l)) {
3761
- var d = typeof l.style == "string" ? n.date[l.style] : Ye(l.style) ? l.style.parsedOptions : void 0;
3782
+ var d = typeof l.style == "string" ? n.date[l.style] : et(l.style) ? l.style.parsedOptions : void 0;
3762
3783
  a.push({
3763
3784
  type: H.literal,
3764
3785
  value: r.getDateTimeFormat(t, d).format(c)
@@ -3766,7 +3787,7 @@ function xe(e, t, r, n, i, s, o) {
3766
3787
  continue;
3767
3788
  }
3768
3789
  if (cr(l)) {
3769
- var d = typeof l.style == "string" ? n.time[l.style] : Ye(l.style) ? l.style.parsedOptions : n.time.medium;
3790
+ var d = typeof l.style == "string" ? n.time[l.style] : et(l.style) ? l.style.parsedOptions : n.time.medium;
3770
3791
  a.push({
3771
3792
  type: H.literal,
3772
3793
  value: r.getDateTimeFormat(t, d).format(c)
@@ -3783,22 +3804,22 @@ function xe(e, t, r, n, i, s, o) {
3783
3804
  }
3784
3805
  if (dr(l)) {
3785
3806
  var b = l.children, y = l.value, T = i[y];
3786
- if (!Pi(T))
3787
- throw new Hi(y, "function", o);
3788
- var C = xe(b, t, r, n, i, s), P = T(C.map(function(O) {
3789
- return O.value;
3807
+ if (!Oi(T))
3808
+ throw new Ai(y, "function", o);
3809
+ var C = xe(b, t, r, n, i, s), P = T(C.map(function(N) {
3810
+ return N.value;
3790
3811
  }));
3791
- Array.isArray(P) || (P = [P]), a.push.apply(a, P.map(function(O) {
3812
+ Array.isArray(P) || (P = [P]), a.push.apply(a, P.map(function(N) {
3792
3813
  return {
3793
- type: typeof O == "string" ? H.literal : H.object,
3794
- value: O
3814
+ type: typeof N == "string" ? H.literal : H.object,
3815
+ value: N
3795
3816
  };
3796
3817
  }));
3797
3818
  }
3798
3819
  if (fr(l)) {
3799
3820
  var w = l.options[c] || l.options.other;
3800
3821
  if (!w)
3801
- throw new Gt(l.value, c, Object.keys(l.options), o);
3822
+ throw new Ut(l.value, c, Object.keys(l.options), o);
3802
3823
  a.push.apply(a, xe(w.value, t, r, n, i));
3803
3824
  continue;
3804
3825
  }
@@ -3806,31 +3827,31 @@ function xe(e, t, r, n, i, s, o) {
3806
3827
  var w = l.options["=".concat(c)];
3807
3828
  if (!w) {
3808
3829
  if (!Intl.PluralRules)
3809
- throw new Ae(`Intl.PluralRules is not available in this environment.
3830
+ throw new Oe(`Intl.PluralRules is not available in this environment.
3810
3831
  Try polyfilling it using "@formatjs/intl-pluralrules"
3811
- `, te.MISSING_INTL_API, o);
3812
- var N = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3813
- w = l.options[N] || l.options.other;
3832
+ `, ee.MISSING_INTL_API, o);
3833
+ var O = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3834
+ w = l.options[O] || l.options.other;
3814
3835
  }
3815
3836
  if (!w)
3816
- throw new Gt(l.value, c, Object.keys(l.options), o);
3837
+ throw new Ut(l.value, c, Object.keys(l.options), o);
3817
3838
  a.push.apply(a, xe(w.value, t, r, n, i, c - (l.offset || 0)));
3818
3839
  continue;
3819
3840
  }
3820
3841
  }
3821
- return Ai(a);
3842
+ return Pi(a);
3822
3843
  }
3823
3844
  function Ni(e, t) {
3824
- return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3825
- return r[n] = v(v({}, e[n]), t[n] || {}), r;
3845
+ return t ? G(G(G({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3846
+ return r[n] = G(G({}, e[n]), t[n] || {}), r;
3826
3847
  }, {})) : e;
3827
3848
  }
3828
- function Oi(e, t) {
3849
+ function Li(e, t) {
3829
3850
  return t ? Object.keys(e).reduce(function(r, n) {
3830
3851
  return r[n] = Ni(e[n], t[n]), r;
3831
- }, v({}, e)) : e;
3852
+ }, G({}, e)) : e;
3832
3853
  }
3833
- function Fe(e) {
3854
+ function je(e) {
3834
3855
  return {
3835
3856
  create: function() {
3836
3857
  return {
@@ -3844,39 +3865,39 @@ function Fe(e) {
3844
3865
  }
3845
3866
  };
3846
3867
  }
3847
- function Li(e) {
3868
+ function Ii(e) {
3848
3869
  return e === void 0 && (e = {
3849
3870
  number: {},
3850
3871
  dateTime: {},
3851
3872
  pluralRules: {}
3852
3873
  }), {
3853
- getNumberFormat: Ge(function() {
3874
+ getNumberFormat: De(function() {
3854
3875
  for (var t, r = [], n = 0; n < arguments.length; n++)
3855
3876
  r[n] = arguments[n];
3856
- return new ((t = Intl.NumberFormat).bind.apply(t, J([void 0], r, !1)))();
3877
+ return new ((t = Intl.NumberFormat).bind.apply(t, Ue([void 0], r, !1)))();
3857
3878
  }, {
3858
- cache: Fe(e.number),
3859
- strategy: Ue.variadic
3879
+ cache: je(e.number),
3880
+ strategy: $e.variadic
3860
3881
  }),
3861
- getDateTimeFormat: Ge(function() {
3882
+ getDateTimeFormat: De(function() {
3862
3883
  for (var t, r = [], n = 0; n < arguments.length; n++)
3863
3884
  r[n] = arguments[n];
3864
- return new ((t = Intl.DateTimeFormat).bind.apply(t, J([void 0], r, !1)))();
3885
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Ue([void 0], r, !1)))();
3865
3886
  }, {
3866
- cache: Fe(e.dateTime),
3867
- strategy: Ue.variadic
3887
+ cache: je(e.dateTime),
3888
+ strategy: $e.variadic
3868
3889
  }),
3869
- getPluralRules: Ge(function() {
3890
+ getPluralRules: De(function() {
3870
3891
  for (var t, r = [], n = 0; n < arguments.length; n++)
3871
3892
  r[n] = arguments[n];
3872
- return new ((t = Intl.PluralRules).bind.apply(t, J([void 0], r, !1)))();
3893
+ return new ((t = Intl.PluralRules).bind.apply(t, Ue([void 0], r, !1)))();
3873
3894
  }, {
3874
- cache: Fe(e.pluralRules),
3875
- strategy: Ue.variadic
3895
+ cache: je(e.pluralRules),
3896
+ strategy: $e.variadic
3876
3897
  })
3877
3898
  };
3878
3899
  }
3879
- var Ii = (
3900
+ var Ci = (
3880
3901
  /** @class */
3881
3902
  function() {
3882
3903
  function e(t, r, n, i) {
@@ -3908,13 +3929,13 @@ var Ii = (
3908
3929
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3909
3930
  var o = i || {};
3910
3931
  o.formatters;
3911
- var a = fn(o, ["formatters"]);
3912
- this.ast = e.__parse(t, v(v({}, a), { locale: this.resolvedLocale }));
3932
+ var a = kn(o, ["formatters"]);
3933
+ this.ast = e.__parse(t, G(G({}, a), { locale: this.resolvedLocale }));
3913
3934
  } else
3914
3935
  this.ast = t;
3915
3936
  if (!Array.isArray(this.ast))
3916
3937
  throw new TypeError("A message must be provided as a String or AST.");
3917
- this.formats = Oi(e.formats, n), this.formatters = i && i.formatters || Li(this.formatterCache);
3938
+ this.formats = Li(e.formats, n), this.formatters = i && i.formatters || Ii(this.formatterCache);
3918
3939
  }
3919
3940
  return Object.defineProperty(e, "defaultLocale", {
3920
3941
  get: function() {
@@ -3927,7 +3948,7 @@ var Ii = (
3927
3948
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3928
3949
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3929
3950
  }
3930
- }, e.__parse = Ti, e.formats = {
3951
+ }, e.__parse = Hi, e.formats = {
3931
3952
  number: {
3932
3953
  integer: {
3933
3954
  maximumFractionDigits: 0
@@ -3988,7 +4009,7 @@ var Ii = (
3988
4009
  }, e;
3989
4010
  }()
3990
4011
  );
3991
- function Ci(e, t) {
4012
+ function Mi(e, t) {
3992
4013
  if (t == null)
3993
4014
  return;
3994
4015
  if (t in e)
@@ -4009,36 +4030,36 @@ function Ci(e, t) {
4009
4030
  n = void 0;
4010
4031
  return n;
4011
4032
  }
4012
- const F = {}, Mi = (e, t, r) => r && (t in F || (F[t] = {}), e in F[t] || (F[t][e] = r), r), Sr = (e, t) => {
4033
+ const $ = {}, Ri = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), Sr = (e, t) => {
4013
4034
  if (t == null)
4014
4035
  return;
4015
- if (t in F && e in F[t])
4016
- return F[t][e];
4017
- const r = Pe(t);
4036
+ if (t in $ && e in $[t])
4037
+ return $[t][e];
4038
+ const r = Ne(t);
4018
4039
  for (let n = 0; n < r.length; n++) {
4019
- const i = r[n], s = Gi(i, e);
4040
+ const i = r[n], s = Ui(i, e);
4020
4041
  if (s)
4021
- return Mi(e, t, s);
4042
+ return Ri(e, t, s);
4022
4043
  }
4023
4044
  };
4024
- let ut;
4045
+ let lt;
4025
4046
  const de = Be({});
4026
- function Ri(e) {
4027
- return ut[e] || null;
4047
+ function Gi(e) {
4048
+ return lt[e] || null;
4028
4049
  }
4029
4050
  function wr(e) {
4030
- return e in ut;
4051
+ return e in lt;
4031
4052
  }
4032
- function Gi(e, t) {
4053
+ function Ui(e, t) {
4033
4054
  if (!wr(e))
4034
4055
  return null;
4035
- const r = Ri(e);
4036
- return Ci(r, t);
4056
+ const r = Gi(e);
4057
+ return Mi(r, t);
4037
4058
  }
4038
- function Ui(e) {
4059
+ function Di(e) {
4039
4060
  if (e == null)
4040
4061
  return;
4041
- const t = Pe(e);
4062
+ const t = Ne(e);
4042
4063
  for (let r = 0; r < t.length; r++) {
4043
4064
  const n = t[r];
4044
4065
  if (wr(n))
@@ -4046,55 +4067,55 @@ function Ui(e) {
4046
4067
  }
4047
4068
  }
4048
4069
  function Tr(e, ...t) {
4049
- delete F[e], de.update((r) => (r[e] = kn.all([r[e] || {}, ...t]), r));
4070
+ delete $[e], de.update((r) => (r[e] = jn.all([r[e] || {}, ...t]), r));
4050
4071
  }
4051
- se(
4072
+ ie(
4052
4073
  [de],
4053
4074
  ([e]) => Object.keys(e)
4054
4075
  );
4055
- de.subscribe((e) => ut = e);
4076
+ de.subscribe((e) => lt = e);
4056
4077
  const Se = {};
4057
- function Di(e, t) {
4078
+ function $i(e, t) {
4058
4079
  Se[e].delete(t), Se[e].size === 0 && delete Se[e];
4059
4080
  }
4060
4081
  function Hr(e) {
4061
4082
  return Se[e];
4062
4083
  }
4063
4084
  function Fi(e) {
4064
- return Pe(e).map((t) => {
4085
+ return Ne(e).map((t) => {
4065
4086
  const r = Hr(t);
4066
4087
  return [t, r ? [...r] : []];
4067
4088
  }).filter(([, t]) => t.length > 0);
4068
4089
  }
4069
- function rt(e) {
4070
- return e == null ? !1 : Pe(e).some(
4090
+ function ot(e) {
4091
+ return e == null ? !1 : Ne(e).some(
4071
4092
  (t) => {
4072
4093
  var r;
4073
4094
  return (r = Hr(t)) == null ? void 0 : r.size;
4074
4095
  }
4075
4096
  );
4076
4097
  }
4077
- function $i(e, t) {
4098
+ function ji(e, t) {
4078
4099
  return Promise.all(
4079
- t.map((n) => (Di(e, n), n().then((i) => i.default || i)))
4100
+ t.map((n) => ($i(e, n), n().then((i) => i.default || i)))
4080
4101
  ).then((n) => Tr(e, ...n));
4081
4102
  }
4082
- const ae = {};
4083
- function Br(e) {
4084
- if (!rt(e))
4085
- return e in ae ? ae[e] : Promise.resolve();
4103
+ const oe = {};
4104
+ function Ar(e) {
4105
+ if (!ot(e))
4106
+ return e in oe ? oe[e] : Promise.resolve();
4086
4107
  const t = Fi(e);
4087
- return ae[e] = Promise.all(
4108
+ return oe[e] = Promise.all(
4088
4109
  t.map(
4089
- ([r, n]) => $i(r, n)
4110
+ ([r, n]) => ji(r, n)
4090
4111
  )
4091
4112
  ).then(() => {
4092
- if (rt(e))
4093
- return Br(e);
4094
- delete ae[e];
4095
- }), ae[e];
4113
+ if (ot(e))
4114
+ return Ar(e);
4115
+ delete oe[e];
4116
+ }), oe[e];
4096
4117
  }
4097
- const ji = {
4118
+ const ki = {
4098
4119
  number: {
4099
4120
  scientific: { notation: "scientific" },
4100
4121
  engineering: { notation: "engineering" },
@@ -4123,135 +4144,135 @@ const ji = {
4123
4144
  timeZoneName: "short"
4124
4145
  }
4125
4146
  }
4126
- }, ki = {
4147
+ }, Vi = {
4127
4148
  fallbackLocale: null,
4128
4149
  loadingDelay: 200,
4129
- formats: ji,
4150
+ formats: ki,
4130
4151
  warnOnMissingMessages: !0,
4131
4152
  handleMissingMessage: void 0,
4132
4153
  ignoreTag: !0
4133
- }, Vi = ki;
4134
- function re() {
4135
- return Vi;
4154
+ }, Xi = Vi;
4155
+ function te() {
4156
+ return Xi;
4136
4157
  }
4137
- const $e = Be(!1);
4138
- var Xi = Object.defineProperty, Wi = Object.defineProperties, zi = Object.getOwnPropertyDescriptors, Ut = Object.getOwnPropertySymbols, Zi = Object.prototype.hasOwnProperty, Qi = Object.prototype.propertyIsEnumerable, Dt = (e, t, r) => t in e ? Xi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Yi = (e, t) => {
4158
+ const ke = Be(!1);
4159
+ var Wi = Object.defineProperty, zi = Object.defineProperties, Zi = Object.getOwnPropertyDescriptors, Dt = Object.getOwnPropertySymbols, Qi = Object.prototype.hasOwnProperty, Yi = Object.prototype.propertyIsEnumerable, $t = (e, t, r) => t in e ? Wi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, qi = (e, t) => {
4139
4160
  for (var r in t || (t = {}))
4140
- Zi.call(t, r) && Dt(e, r, t[r]);
4141
- if (Ut)
4142
- for (var r of Ut(t))
4143
- Qi.call(t, r) && Dt(e, r, t[r]);
4161
+ Qi.call(t, r) && $t(e, r, t[r]);
4162
+ if (Dt)
4163
+ for (var r of Dt(t))
4164
+ Yi.call(t, r) && $t(e, r, t[r]);
4144
4165
  return e;
4145
- }, qi = (e, t) => Wi(e, zi(t));
4146
- let nt;
4147
- const we = Be(null);
4166
+ }, Ji = (e, t) => zi(e, Zi(t));
4167
+ let at;
4168
+ const Te = Be(null);
4148
4169
  function Ft(e) {
4149
4170
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4150
4171
  }
4151
- function Pe(e, t = re().fallbackLocale) {
4172
+ function Ne(e, t = te().fallbackLocale) {
4152
4173
  const r = Ft(e);
4153
4174
  return t ? [.../* @__PURE__ */ new Set([...r, ...Ft(t)])] : r;
4154
4175
  }
4155
4176
  function X() {
4156
- return nt != null ? nt : void 0;
4177
+ return at != null ? at : void 0;
4157
4178
  }
4158
- we.subscribe((e) => {
4159
- nt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4179
+ Te.subscribe((e) => {
4180
+ at = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4160
4181
  });
4161
- const Ji = (e) => {
4162
- if (e && Ui(e) && rt(e)) {
4163
- const { loadingDelay: t } = re();
4182
+ const Ki = (e) => {
4183
+ if (e && Di(e) && ot(e)) {
4184
+ const { loadingDelay: t } = te();
4164
4185
  let r;
4165
4186
  return typeof window != "undefined" && X() != null && t ? r = window.setTimeout(
4166
- () => $e.set(!0),
4187
+ () => ke.set(!0),
4167
4188
  t
4168
- ) : $e.set(!0), Br(e).then(() => {
4169
- we.set(e);
4189
+ ) : ke.set(!0), Ar(e).then(() => {
4190
+ Te.set(e);
4170
4191
  }).finally(() => {
4171
- clearTimeout(r), $e.set(!1);
4192
+ clearTimeout(r), ke.set(!1);
4172
4193
  });
4173
4194
  }
4174
- return we.set(e);
4175
- }, be = qi(Yi({}, we), {
4176
- set: Ji
4177
- }), Ne = (e) => {
4195
+ return Te.set(e);
4196
+ }, be = Ji(qi({}, Te), {
4197
+ set: Ki
4198
+ }), Le = (e) => {
4178
4199
  const t = /* @__PURE__ */ Object.create(null);
4179
4200
  return (n) => {
4180
4201
  const i = JSON.stringify(n);
4181
4202
  return i in t ? t[i] : t[i] = e(n);
4182
4203
  };
4183
4204
  };
4184
- var Ki = Object.defineProperty, Te = Object.getOwnPropertySymbols, Ar = Object.prototype.hasOwnProperty, Pr = Object.prototype.propertyIsEnumerable, $t = (e, t, r) => t in e ? Ki(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ht = (e, t) => {
4205
+ var es = Object.defineProperty, He = Object.getOwnPropertySymbols, Br = Object.prototype.hasOwnProperty, Pr = Object.prototype.propertyIsEnumerable, jt = (e, t, r) => t in e ? es(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ct = (e, t) => {
4185
4206
  for (var r in t || (t = {}))
4186
- Ar.call(t, r) && $t(e, r, t[r]);
4187
- if (Te)
4188
- for (var r of Te(t))
4189
- Pr.call(t, r) && $t(e, r, t[r]);
4207
+ Br.call(t, r) && jt(e, r, t[r]);
4208
+ if (He)
4209
+ for (var r of He(t))
4210
+ Pr.call(t, r) && jt(e, r, t[r]);
4190
4211
  return e;
4191
- }, oe = (e, t) => {
4212
+ }, se = (e, t) => {
4192
4213
  var r = {};
4193
4214
  for (var n in e)
4194
- Ar.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4195
- if (e != null && Te)
4196
- for (var n of Te(e))
4215
+ Br.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4216
+ if (e != null && He)
4217
+ for (var n of He(e))
4197
4218
  t.indexOf(n) < 0 && Pr.call(e, n) && (r[n] = e[n]);
4198
4219
  return r;
4199
4220
  };
4200
- const ce = (e, t) => {
4201
- const { formats: r } = re();
4221
+ const le = (e, t) => {
4222
+ const { formats: r } = te();
4202
4223
  if (e in r && t in r[e])
4203
4224
  return r[e][t];
4204
4225
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4205
- }, es = Ne(
4226
+ }, ts = Le(
4206
4227
  (e) => {
4207
- var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
4228
+ var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
4208
4229
  if (r == null)
4209
4230
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4210
- return n && (i = ce("number", n)), new Intl.NumberFormat(r, i);
4231
+ return n && (i = le("number", n)), new Intl.NumberFormat(r, i);
4211
4232
  }
4212
- ), ts = Ne(
4233
+ ), rs = Le(
4213
4234
  (e) => {
4214
- var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
4235
+ var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
4215
4236
  if (r == null)
4216
4237
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4217
- return n ? i = ce("date", n) : Object.keys(i).length === 0 && (i = ce("date", "short")), new Intl.DateTimeFormat(r, i);
4238
+ return n ? i = le("date", n) : Object.keys(i).length === 0 && (i = le("date", "short")), new Intl.DateTimeFormat(r, i);
4218
4239
  }
4219
- ), rs = Ne(
4240
+ ), ns = Le(
4220
4241
  (e) => {
4221
- var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
4242
+ var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
4222
4243
  if (r == null)
4223
4244
  throw new Error(
4224
4245
  '[svelte-i18n] A "locale" must be set to format time values'
4225
4246
  );
4226
- return n ? i = ce("time", n) : Object.keys(i).length === 0 && (i = ce("time", "short")), new Intl.DateTimeFormat(r, i);
4247
+ return n ? i = le("time", n) : Object.keys(i).length === 0 && (i = le("time", "short")), new Intl.DateTimeFormat(r, i);
4227
4248
  }
4228
- ), ns = (e = {}) => {
4249
+ ), is = (e = {}) => {
4229
4250
  var t = e, {
4230
4251
  locale: r = X()
4231
- } = t, n = oe(t, [
4252
+ } = t, n = se(t, [
4232
4253
  "locale"
4233
4254
  ]);
4234
- return es(ht({ locale: r }, n));
4235
- }, is = (e = {}) => {
4255
+ return ts(ct({ locale: r }, n));
4256
+ }, ss = (e = {}) => {
4236
4257
  var t = e, {
4237
4258
  locale: r = X()
4238
- } = t, n = oe(t, [
4259
+ } = t, n = se(t, [
4239
4260
  "locale"
4240
4261
  ]);
4241
- return ts(ht({ locale: r }, n));
4242
- }, ss = (e = {}) => {
4262
+ return rs(ct({ locale: r }, n));
4263
+ }, os = (e = {}) => {
4243
4264
  var t = e, {
4244
4265
  locale: r = X()
4245
- } = t, n = oe(t, [
4266
+ } = t, n = se(t, [
4246
4267
  "locale"
4247
4268
  ]);
4248
- return rs(ht({ locale: r }, n));
4249
- }, os = Ne(
4269
+ return ns(ct({ locale: r }, n));
4270
+ }, as = Le(
4250
4271
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4251
- (e, t = X()) => new Ii(e, t, re().formats, {
4252
- ignoreTag: re().ignoreTag
4272
+ (e, t = X()) => new Ci(e, t, te().formats, {
4273
+ ignoreTag: te().ignoreTag
4253
4274
  })
4254
- ), as = (e, t = {}) => {
4275
+ ), us = (e, t = {}) => {
4255
4276
  var r, n, i, s;
4256
4277
  let o = t;
4257
4278
  typeof e == "object" && (o = e, e = o.id);
@@ -4266,7 +4287,7 @@ const ce = (e, t) => {
4266
4287
  );
4267
4288
  let l = Sr(e, h);
4268
4289
  if (!l)
4269
- 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;
4290
+ l = (s = (i = (n = (r = te()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
4270
4291
  else if (typeof l != "string")
4271
4292
  return console.warn(
4272
4293
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -4275,7 +4296,7 @@ const ce = (e, t) => {
4275
4296
  return l;
4276
4297
  let m = l;
4277
4298
  try {
4278
- m = os(l, h).format(a);
4299
+ m = as(l, h).format(a);
4279
4300
  } catch (c) {
4280
4301
  c instanceof Error && console.warn(
4281
4302
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4283,20 +4304,20 @@ const ce = (e, t) => {
4283
4304
  );
4284
4305
  }
4285
4306
  return m;
4286
- }, us = (e, t) => ss(t).format(e), hs = (e, t) => is(t).format(e), ls = (e, t) => ns(t).format(e), cs = (e, t = X()) => Sr(e, t), fs = se([be, de], () => as);
4287
- se([be], () => us);
4288
- se([be], () => hs);
4289
- se([be], () => ls);
4290
- se([be, de], () => cs);
4291
- window.emWidgets = { topic: Hn };
4292
- const ms = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4293
- function ds(e, t) {
4307
+ }, hs = (e, t) => os(t).format(e), ls = (e, t) => ss(t).format(e), cs = (e, t) => is(t).format(e), fs = (e, t = X()) => Sr(e, t), ms = ie([be, de], () => us);
4308
+ ie([be], () => hs);
4309
+ ie([be], () => ls);
4310
+ ie([be], () => cs);
4311
+ ie([be, de], () => fs);
4312
+ window.emWidgets = { topic: Tn };
4313
+ const ds = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4314
+ function bs(e, t) {
4294
4315
  if (e) {
4295
4316
  const r = document.createElement("style");
4296
4317
  r.innerHTML = t, e.appendChild(r);
4297
4318
  }
4298
4319
  }
4299
- function bs(e, t) {
4320
+ function ps(e, t) {
4300
4321
  const r = new URL(t);
4301
4322
  fetch(r.href).then((n) => n.text()).then((n) => {
4302
4323
  const i = document.createElement("style");
@@ -4305,7 +4326,7 @@ function bs(e, t) {
4305
4326
  console.error("There was an error while trying to load client styling from URL", n);
4306
4327
  });
4307
4328
  }
4308
- function ps(e, t, r) {
4329
+ function gs(e, t, r) {
4309
4330
  if (window.emMessageBus) {
4310
4331
  const n = document.createElement("style");
4311
4332
  window.emMessageBus.subscribe(t, (i) => {
@@ -4313,10 +4334,10 @@ function ps(e, t, r) {
4313
4334
  });
4314
4335
  }
4315
4336
  }
4316
- function jt(e, t) {
4337
+ function kt(e, t) {
4317
4338
  Tr(e, t);
4318
4339
  }
4319
- const kt = {
4340
+ const Vt = {
4320
4341
  en: {
4321
4342
  lobbyName: "Lobby",
4322
4343
  myGamesName: "My games"
@@ -4402,173 +4423,173 @@ if (typeof window != "undefined") {
4402
4423
  }
4403
4424
  };
4404
4425
  };
4405
- customElements.define = e(customElements.define), import("./CasinoSlider-C-cgIoQZ.js").then(({ default: t }) => {
4426
+ customElements.define = e(customElements.define), import("./CasinoSlider-By7gNNvl.js").then(({ default: t }) => {
4406
4427
  !customElements.get("casino-slider") && customElements.define("casino-slider", t.element);
4407
4428
  });
4408
4429
  }
4409
- function gs(e) {
4430
+ function ys(e) {
4410
4431
  zr(e, "svelte-1my2wow", ".CasinoCategoriesLoading.svelte-1my2wow{height:52px}p.svelte-1my2wow{color:var( --emw--categories-typography, var(--emw--color-white) #FFFFFF);text-align:center}.CasinoCategoriesContainer.svelte-1my2wow{padding-top:20px;background:var( --emw--categories-color-primary, var(--emw--color-primary, #22B04E))}");
4411
4432
  }
4412
- function ys(e) {
4433
+ function vs(e) {
4413
4434
  let t, r;
4414
4435
  return {
4415
4436
  c() {
4416
- t = V("div"), r = V("casino-slider"), E(
4437
+ t = V("div"), r = V("casino-slider"), v(
4417
4438
  r,
4418
4439
  "lang",
4419
4440
  /*lang*/
4420
4441
  e[3]
4421
- ), E(
4442
+ ), v(
4422
4443
  r,
4423
4444
  "datasource",
4424
4445
  /*datasource*/
4425
4446
  e[2]
4426
- ), E(
4447
+ ), v(
4427
4448
  r,
4428
4449
  "endpoint",
4429
4450
  /*endpoint*/
4430
4451
  e[1]
4431
- ), E(r, "identity", it), E(
4452
+ ), v(r, "identity", ut), v(
4432
4453
  r,
4433
4454
  "favoritesnumber",
4434
4455
  /*numberOfFavoredGames*/
4435
4456
  e[16]
4436
- ), E(
4457
+ ), v(
4437
4458
  r,
4438
4459
  "showsubgroups",
4439
4460
  /*showsubgroups*/
4440
4461
  e[8]
4441
- ), E(
4462
+ ), v(
4442
4463
  r,
4443
4464
  "clientstyling",
4444
4465
  /*clientstyling*/
4445
4466
  e[4]
4446
- ), E(
4467
+ ), v(
4447
4468
  r,
4448
4469
  "clientstylingurl",
4449
4470
  /*clientstylingurl*/
4450
4471
  e[5]
4451
- ), E(
4472
+ ), v(
4452
4473
  r,
4453
4474
  "mbsource",
4454
4475
  /*mbsource*/
4455
4476
  e[12]
4456
- ), E(
4477
+ ), v(
4457
4478
  r,
4458
4479
  "activeindex",
4459
4480
  /*activecategory*/
4460
4481
  e[0]
4461
- ), E(
4482
+ ), v(
4462
4483
  r,
4463
4484
  "actionevent",
4464
4485
  /*actionevent*/
4465
4486
  e[6]
4466
- ), E(
4487
+ ), v(
4467
4488
  r,
4468
4489
  "location",
4469
4490
  /*location*/
4470
4491
  e[7]
4471
- ), E(
4492
+ ), v(
4472
4493
  r,
4473
4494
  "categoriesicon",
4474
4495
  /*categoriesicon*/
4475
4496
  e[9]
4476
- ), E(
4497
+ ), v(
4477
4498
  r,
4478
4499
  "lobbyiconimage",
4479
4500
  /*lobbyiconimage*/
4480
4501
  e[10]
4481
- ), E(
4502
+ ), v(
4482
4503
  r,
4483
4504
  "mygamesiconimage",
4484
4505
  /*mygamesiconimage*/
4485
4506
  e[11]
4486
- ), me(t, "class", "CasinoCategoriesContainer svelte-1my2wow");
4507
+ ), fe(t, "class", "CasinoCategoriesContainer svelte-1my2wow");
4487
4508
  },
4488
4509
  m(n, i) {
4489
- fe(n, t, i), zt(t, r);
4510
+ ce(n, t, i), Zt(t, r);
4490
4511
  },
4491
4512
  p(n, i) {
4492
4513
  i[0] & /*lang*/
4493
- 8 && E(
4514
+ 8 && v(
4494
4515
  r,
4495
4516
  "lang",
4496
4517
  /*lang*/
4497
4518
  n[3]
4498
4519
  ), i[0] & /*datasource*/
4499
- 4 && E(
4520
+ 4 && v(
4500
4521
  r,
4501
4522
  "datasource",
4502
4523
  /*datasource*/
4503
4524
  n[2]
4504
4525
  ), i[0] & /*endpoint*/
4505
- 2 && E(
4526
+ 2 && v(
4506
4527
  r,
4507
4528
  "endpoint",
4508
4529
  /*endpoint*/
4509
4530
  n[1]
4510
4531
  ), i[0] & /*numberOfFavoredGames*/
4511
- 65536 && E(
4532
+ 65536 && v(
4512
4533
  r,
4513
4534
  "favoritesnumber",
4514
4535
  /*numberOfFavoredGames*/
4515
4536
  n[16]
4516
4537
  ), i[0] & /*showsubgroups*/
4517
- 256 && E(
4538
+ 256 && v(
4518
4539
  r,
4519
4540
  "showsubgroups",
4520
4541
  /*showsubgroups*/
4521
4542
  n[8]
4522
4543
  ), i[0] & /*clientstyling*/
4523
- 16 && E(
4544
+ 16 && v(
4524
4545
  r,
4525
4546
  "clientstyling",
4526
4547
  /*clientstyling*/
4527
4548
  n[4]
4528
4549
  ), i[0] & /*clientstylingurl*/
4529
- 32 && E(
4550
+ 32 && v(
4530
4551
  r,
4531
4552
  "clientstylingurl",
4532
4553
  /*clientstylingurl*/
4533
4554
  n[5]
4534
4555
  ), i[0] & /*mbsource*/
4535
- 4096 && E(
4556
+ 4096 && v(
4536
4557
  r,
4537
4558
  "mbsource",
4538
4559
  /*mbsource*/
4539
4560
  n[12]
4540
4561
  ), i[0] & /*activecategory*/
4541
- 1 && E(
4562
+ 1 && v(
4542
4563
  r,
4543
4564
  "activeindex",
4544
4565
  /*activecategory*/
4545
4566
  n[0]
4546
4567
  ), i[0] & /*actionevent*/
4547
- 64 && E(
4568
+ 64 && v(
4548
4569
  r,
4549
4570
  "actionevent",
4550
4571
  /*actionevent*/
4551
4572
  n[6]
4552
4573
  ), i[0] & /*location*/
4553
- 128 && E(
4574
+ 128 && v(
4554
4575
  r,
4555
4576
  "location",
4556
4577
  /*location*/
4557
4578
  n[7]
4558
4579
  ), i[0] & /*categoriesicon*/
4559
- 512 && E(
4580
+ 512 && v(
4560
4581
  r,
4561
4582
  "categoriesicon",
4562
4583
  /*categoriesicon*/
4563
4584
  n[9]
4564
4585
  ), i[0] & /*lobbyiconimage*/
4565
- 1024 && E(
4586
+ 1024 && v(
4566
4587
  r,
4567
4588
  "lobbyiconimage",
4568
4589
  /*lobbyiconimage*/
4569
4590
  n[10]
4570
4591
  ), i[0] & /*mygamesiconimage*/
4571
- 2048 && E(
4592
+ 2048 && v(
4572
4593
  r,
4573
4594
  "mygamesiconimage",
4574
4595
  /*mygamesiconimage*/
@@ -4576,22 +4597,22 @@ function ys(e) {
4576
4597
  );
4577
4598
  },
4578
4599
  d(n) {
4579
- n && ie(t);
4600
+ n && ne(t);
4580
4601
  }
4581
4602
  };
4582
4603
  }
4583
- function vs(e) {
4604
+ function _s(e) {
4584
4605
  let t;
4585
4606
  return {
4586
4607
  c() {
4587
- t = V("p"), t.textContent = "500 Error - Internal Server Error.", me(t, "class", "SearchLoading svelte-1my2wow");
4608
+ t = V("p"), t.textContent = "500 Error - Internal Server Error.", fe(t, "class", "SearchLoading svelte-1my2wow");
4588
4609
  },
4589
4610
  m(r, n) {
4590
- fe(r, t, n);
4611
+ ce(r, t, n);
4591
4612
  },
4592
4613
  p: I,
4593
4614
  d(r) {
4594
- r && ie(t);
4615
+ r && ne(t);
4595
4616
  }
4596
4617
  };
4597
4618
  }
@@ -4599,25 +4620,25 @@ function Es(e) {
4599
4620
  let t;
4600
4621
  return {
4601
4622
  c() {
4602
- t = V("div"), me(t, "class", "CasinoCategoriesLoading svelte-1my2wow");
4623
+ t = V("div"), fe(t, "class", "CasinoCategoriesLoading svelte-1my2wow");
4603
4624
  },
4604
4625
  m(r, n) {
4605
- fe(r, t, n);
4626
+ ce(r, t, n);
4606
4627
  },
4607
4628
  p: I,
4608
4629
  d(r) {
4609
- r && ie(t);
4630
+ r && ne(t);
4610
4631
  }
4611
4632
  };
4612
4633
  }
4613
- function _s(e) {
4634
+ function xs(e) {
4614
4635
  let t;
4615
4636
  function r(s, o) {
4616
4637
  return (
4617
4638
  /*isLoading*/
4618
- s[13] || xs || Ss ? Es : (
4639
+ s[13] || Ss || ws ? Es : (
4619
4640
  /*hasErrors*/
4620
- s[15] ? vs : ys
4641
+ s[15] ? _s : vs
4621
4642
  )
4622
4643
  );
4623
4644
  }
@@ -4627,7 +4648,7 @@ function _s(e) {
4627
4648
  t = V("div"), i.c();
4628
4649
  },
4629
4650
  m(s, o) {
4630
- fe(s, t, o), i.m(t, null), e[26](t);
4651
+ ce(s, t, o), i.m(t, null), e[26](t);
4631
4652
  },
4632
4653
  p(s, o) {
4633
4654
  n === (n = r(s)) && i ? i.p(s, o) : (i.d(1), i = n(s), i && (i.c(), i.m(t, null)));
@@ -4635,97 +4656,97 @@ function _s(e) {
4635
4656
  i: I,
4636
4657
  o: I,
4637
4658
  d(s) {
4638
- s && ie(t), i.d(), e[26](null);
4659
+ s && ne(t), i.d(), e[26](null);
4639
4660
  }
4640
4661
  };
4641
4662
  }
4642
- let it = "CasinoSliderData", xs = !1, Ss = !1;
4643
- function ws(e, t, r) {
4663
+ let ut = "CasinoSliderData", Ss = !1, ws = !1;
4664
+ function Ts(e, t, r) {
4644
4665
  let n;
4645
- Wr(e, fs, (f) => r(32, n = f));
4646
- 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: P = "false" } = t, { filteredcategories: w = "" } = t, { translationurl: N = "" } = t, { categoriesicon: O = "" } = t, { lobbyiconimage: R = "" } = t, { mygamesiconimage: _ = "" } = t, { mbsource: B } = t, L, $, lt, j = !0, W, z = [], k = !1, Or = window.navigator.userAgent, G, ct, ft = !1, Oe = !1;
4666
+ Wr(e, ms, (f) => r(32, n = f));
4667
+ 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: P = "false" } = t, { filteredcategories: w = "" } = t, { translationurl: O = "" } = t, { categoriesicon: N = "" } = t, { lobbyiconimage: R = "" } = t, { mygamesiconimage: _ = "" } = t, { mbsource: A } = t, L, F, j = !0, W, z = [], k = !1, Nr = window.navigator.userAgent, U, ft, mt = !1, Ie = !1;
4647
4668
  const Lr = () => {
4648
- fetch(N).then((A) => A.json()).then((A) => {
4649
- Object.keys(A).forEach((pe) => {
4650
- jt(pe, A[pe]);
4669
+ fetch(O).then((B) => B.json()).then((B) => {
4670
+ Object.keys(B).forEach((pe) => {
4671
+ kt(pe, B[pe]);
4651
4672
  });
4652
- }).catch((A) => {
4653
- console.log(A);
4673
+ }).catch((B) => {
4674
+ console.log(B);
4654
4675
  });
4655
4676
  };
4656
- Object.keys(kt).forEach((f) => {
4657
- jt(f, kt[f]);
4677
+ Object.keys(Vt).forEach((f) => {
4678
+ kt(f, Vt[f]);
4658
4679
  });
4659
4680
  const Ir = () => {
4660
- ft == !1 && (m == "true" || u == "true" || l == "true") && z.splice(1, 0, {
4681
+ mt == !1 && (m == "true" || u == "true" || l == "true") && z.splice(1, 0, {
4661
4682
  // @ts-ignore
4662
4683
  id: "MYGAMES",
4663
- name: $,
4684
+ name: L,
4664
4685
  href: "",
4665
4686
  games: []
4666
- }), en(), ft = !0, r(25, Oe = !0), mt();
4687
+ }), en(), mt = !0, r(25, Ie = !0), dt();
4667
4688
  }, Cr = () => (i || (W = "Endpoint is missing! Please provide a valid endpointURL.", r(15, k = !0), r(13, j = !1), console.error(W)), s || (W = "Datasource is missing! Please provide a valid datasource.", r(15, k = !0), r(13, j = !1), console.error(W)), (!o || o.length < 2) && (W = "Language is missing! Please provide a valid language (alpha2code)", r(15, k = !0), r(13, j = !1), console.error(W)), k), Mr = () => {
4668
- if ($ = n("myGamesName"), lt = n("lobbyName"), !Cr()) {
4689
+ if (L = n("myGamesName"), F = n("lobbyName"), !Cr()) {
4669
4690
  let f = new URL(`${i}/v2/casino/groups/${s}`);
4670
- f.searchParams.append("language", o), f.searchParams.append("platform", ms(Or)), f.searchParams.append("fields", "id,name,games(href)"), fetch(f).then((A) => A.json()).then(
4671
- (A) => {
4672
- let pe = w.split(","), Ur = A.items.filter((bt) => {
4673
- let Le = !1;
4674
- if (bt.games.total > 0 && (Le = !0, w))
4691
+ f.searchParams.append("language", o), f.searchParams.append("platform", ds(Nr)), f.searchParams.append("fields", "id,name,games(href)"), fetch(f).then((B) => B.json()).then(
4692
+ (B) => {
4693
+ let pe = w.split(","), Ur = B.items.filter((pt) => {
4694
+ let Ce = !1;
4695
+ if (pt.games.total > 0 && (Ce = !0, w))
4675
4696
  for (let Dr of pe)
4676
- bt.flags == Dr && (Le = !1);
4677
- return Le;
4697
+ pt.flags == Dr && (Ce = !1);
4698
+ return Ce;
4678
4699
  });
4679
4700
  z = [], z = z.concat(Ur), z.unshift({
4680
4701
  // @ts-ignore
4681
4702
  id: "LOBBY",
4682
- name: lt,
4703
+ name: F,
4683
4704
  href: "",
4684
4705
  games: []
4685
4706
  }), r(13, j = !1);
4686
4707
  },
4687
- (A) => {
4688
- r(15, k = !0), console.error("There was an error while fetching the categories", A);
4708
+ (B) => {
4709
+ r(15, k = !0), console.error("There was an error while fetching the categories", B);
4689
4710
  }
4690
- ).catch((A) => {
4691
- r(15, k = !0), console.error("There was an error while fetching the categories", A);
4711
+ ).catch((B) => {
4712
+ r(15, k = !0), console.error("There was an error while fetching the categories", B);
4692
4713
  });
4693
4714
  }
4694
4715
  }, Rr = () => {
4695
4716
  let f = b.split("$");
4696
4717
  r(0, b = f.length > 2 ? b.split("$").slice(0, 2).join("$") : b);
4697
- }, mt = () => {
4718
+ }, dt = () => {
4698
4719
  window.postMessage(
4699
4720
  {
4700
4721
  type: "SliderData",
4701
- identity: it,
4722
+ identity: ut,
4702
4723
  data: z
4703
4724
  },
4704
4725
  window.location.href
4705
4726
  );
4706
- }, dt = (f) => {
4707
- f.data && f.data.type == "SliderLoaded" && it == f.data.identity && mt();
4727
+ }, bt = (f) => {
4728
+ f.data && f.data.type == "SliderLoaded" && ut == f.data.identity && dt();
4708
4729
  };
4709
- Kr(() => (window.addEventListener("message", dt, !1), () => {
4710
- window.emMessageBus && L && L.unsubscribe(), window.removeEventListener("message", dt);
4730
+ Kr(() => (window.addEventListener("message", bt, !1), () => {
4731
+ window.removeEventListener("message", bt);
4711
4732
  }));
4712
4733
  function Gr(f) {
4713
- je[f ? "unshift" : "push"](() => {
4714
- G = f, r(14, G);
4734
+ Ve[f ? "unshift" : "push"](() => {
4735
+ U = f, r(14, U);
4715
4736
  });
4716
4737
  }
4717
4738
  return e.$$set = (f) => {
4718
- "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, T = f.sessioncheck), "location" in f && r(7, C = f.location), "showsubgroups" in f && r(8, P = f.showsubgroups), "filteredcategories" in f && r(23, w = 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, _ = f.mygamesiconimage), "mbsource" in f && r(12, B = f.mbsource);
4739
+ "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, T = f.sessioncheck), "location" in f && r(7, C = f.location), "showsubgroups" in f && r(8, P = f.showsubgroups), "filteredcategories" in f && r(23, w = f.filteredcategories), "translationurl" in f && r(24, O = f.translationurl), "categoriesicon" in f && r(9, N = f.categoriesicon), "lobbyiconimage" in f && r(10, R = f.lobbyiconimage), "mygamesiconimage" in f && r(11, _ = f.mygamesiconimage), "mbsource" in f && r(12, A = f.mbsource);
4719
4740
  }, e.$$.update = () => {
4720
4741
  e.$$.dirty[0] & /*endpoint, datasource, lang*/
4721
4742
  14 && i && s && o && Mr(), e.$$.dirty[0] & /*endpoint, session, mostplayed, lastplayed, favorites, isLoading*/
4722
4743
  3940354 && i && h && (u || l || m) && !j && Ir(), e.$$.dirty[0] & /*isLoading, activecategory, session, confirmCategoryParse*/
4723
- 33824769 && !j && b && (!h || Oe) && Rr(), e.$$.dirty[0] & /*translationurl*/
4724
- 16777216 && N && Lr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4725
- 16400 && c && G && ds(G, c), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4726
- 16416 && d && G && bs(G, d), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
4727
- 20480 && G && ps(G, `${B}.Style`);
4728
- }, r(16, ct = 0), [
4744
+ 33824769 && !j && b && (!h || Ie) && Rr(), e.$$.dirty[0] & /*translationurl*/
4745
+ 16777216 && O && Lr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4746
+ 16400 && c && U && bs(U, c), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4747
+ 16416 && d && U && ps(U, d), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
4748
+ 20480 && U && gs(U, `${A}.Style`);
4749
+ }, r(16, ft = 0), [
4729
4750
  b,
4730
4751
  i,
4731
4752
  s,
@@ -4735,14 +4756,14 @@ function ws(e, t, r) {
4735
4756
  y,
4736
4757
  C,
4737
4758
  P,
4738
- O,
4759
+ N,
4739
4760
  R,
4740
4761
  _,
4741
- B,
4762
+ A,
4742
4763
  j,
4743
- G,
4764
+ U,
4744
4765
  k,
4745
- ct,
4766
+ ft,
4746
4767
  a,
4747
4768
  h,
4748
4769
  u,
@@ -4750,19 +4771,19 @@ function ws(e, t, r) {
4750
4771
  m,
4751
4772
  T,
4752
4773
  w,
4753
- N,
4754
- Oe,
4774
+ O,
4775
+ Ie,
4755
4776
  Gr
4756
4777
  ];
4757
4778
  }
4758
- class Nr extends ln {
4779
+ class Or extends ln {
4759
4780
  constructor(t) {
4760
4781
  super(), un(
4761
4782
  this,
4762
4783
  t,
4763
- ws,
4764
- _s,
4765
- Xt,
4784
+ Ts,
4785
+ xs,
4786
+ Wt,
4766
4787
  {
4767
4788
  endpoint: 1,
4768
4789
  datasource: 2,
@@ -4786,7 +4807,7 @@ class Nr extends ln {
4786
4807
  mygamesiconimage: 11,
4787
4808
  mbsource: 12
4788
4809
  },
4789
- gs,
4810
+ ys,
4790
4811
  [-1, -1]
4791
4812
  );
4792
4813
  }
@@ -4794,167 +4815,167 @@ class Nr extends ln {
4794
4815
  return this.$$.ctx[1];
4795
4816
  }
4796
4817
  set endpoint(t) {
4797
- this.$$set({ endpoint: t }), S();
4818
+ this.$$set({ endpoint: t }), x();
4798
4819
  }
4799
4820
  get datasource() {
4800
4821
  return this.$$.ctx[2];
4801
4822
  }
4802
4823
  set datasource(t) {
4803
- this.$$set({ datasource: t }), S();
4824
+ this.$$set({ datasource: t }), x();
4804
4825
  }
4805
4826
  get lang() {
4806
4827
  return this.$$.ctx[3];
4807
4828
  }
4808
4829
  set lang(t) {
4809
- this.$$set({ lang: t }), S();
4830
+ this.$$set({ lang: t }), x();
4810
4831
  }
4811
4832
  get userid() {
4812
4833
  return this.$$.ctx[17];
4813
4834
  }
4814
4835
  set userid(t) {
4815
- this.$$set({ userid: t }), S();
4836
+ this.$$set({ userid: t }), x();
4816
4837
  }
4817
4838
  get session() {
4818
4839
  return this.$$.ctx[18];
4819
4840
  }
4820
4841
  set session(t) {
4821
- this.$$set({ session: t }), S();
4842
+ this.$$set({ session: t }), x();
4822
4843
  }
4823
4844
  get mostplayed() {
4824
4845
  return this.$$.ctx[19];
4825
4846
  }
4826
4847
  set mostplayed(t) {
4827
- this.$$set({ mostplayed: t }), S();
4848
+ this.$$set({ mostplayed: t }), x();
4828
4849
  }
4829
4850
  get lastplayed() {
4830
4851
  return this.$$.ctx[20];
4831
4852
  }
4832
4853
  set lastplayed(t) {
4833
- this.$$set({ lastplayed: t }), S();
4854
+ this.$$set({ lastplayed: t }), x();
4834
4855
  }
4835
4856
  get favorites() {
4836
4857
  return this.$$.ctx[21];
4837
4858
  }
4838
4859
  set favorites(t) {
4839
- this.$$set({ favorites: t }), S();
4860
+ this.$$set({ favorites: t }), x();
4840
4861
  }
4841
4862
  get clientstyling() {
4842
4863
  return this.$$.ctx[4];
4843
4864
  }
4844
4865
  set clientstyling(t) {
4845
- this.$$set({ clientstyling: t }), S();
4866
+ this.$$set({ clientstyling: t }), x();
4846
4867
  }
4847
4868
  get clientstylingurl() {
4848
4869
  return this.$$.ctx[5];
4849
4870
  }
4850
4871
  set clientstylingurl(t) {
4851
- this.$$set({ clientstylingurl: t }), S();
4872
+ this.$$set({ clientstylingurl: t }), x();
4852
4873
  }
4853
4874
  get activecategory() {
4854
4875
  return this.$$.ctx[0];
4855
4876
  }
4856
4877
  set activecategory(t) {
4857
- this.$$set({ activecategory: t }), S();
4878
+ this.$$set({ activecategory: t }), x();
4858
4879
  }
4859
4880
  get actionevent() {
4860
4881
  return this.$$.ctx[6];
4861
4882
  }
4862
4883
  set actionevent(t) {
4863
- this.$$set({ actionevent: t }), S();
4884
+ this.$$set({ actionevent: t }), x();
4864
4885
  }
4865
4886
  get sessioncheck() {
4866
4887
  return this.$$.ctx[22];
4867
4888
  }
4868
4889
  set sessioncheck(t) {
4869
- this.$$set({ sessioncheck: t }), S();
4890
+ this.$$set({ sessioncheck: t }), x();
4870
4891
  }
4871
4892
  get location() {
4872
4893
  return this.$$.ctx[7];
4873
4894
  }
4874
4895
  set location(t) {
4875
- this.$$set({ location: t }), S();
4896
+ this.$$set({ location: t }), x();
4876
4897
  }
4877
4898
  get showsubgroups() {
4878
4899
  return this.$$.ctx[8];
4879
4900
  }
4880
4901
  set showsubgroups(t) {
4881
- this.$$set({ showsubgroups: t }), S();
4902
+ this.$$set({ showsubgroups: t }), x();
4882
4903
  }
4883
4904
  get filteredcategories() {
4884
4905
  return this.$$.ctx[23];
4885
4906
  }
4886
4907
  set filteredcategories(t) {
4887
- this.$$set({ filteredcategories: t }), S();
4908
+ this.$$set({ filteredcategories: t }), x();
4888
4909
  }
4889
4910
  get translationurl() {
4890
4911
  return this.$$.ctx[24];
4891
4912
  }
4892
4913
  set translationurl(t) {
4893
- this.$$set({ translationurl: t }), S();
4914
+ this.$$set({ translationurl: t }), x();
4894
4915
  }
4895
4916
  get categoriesicon() {
4896
4917
  return this.$$.ctx[9];
4897
4918
  }
4898
4919
  set categoriesicon(t) {
4899
- this.$$set({ categoriesicon: t }), S();
4920
+ this.$$set({ categoriesicon: t }), x();
4900
4921
  }
4901
4922
  get lobbyiconimage() {
4902
4923
  return this.$$.ctx[10];
4903
4924
  }
4904
4925
  set lobbyiconimage(t) {
4905
- this.$$set({ lobbyiconimage: t }), S();
4926
+ this.$$set({ lobbyiconimage: t }), x();
4906
4927
  }
4907
4928
  get mygamesiconimage() {
4908
4929
  return this.$$.ctx[11];
4909
4930
  }
4910
4931
  set mygamesiconimage(t) {
4911
- this.$$set({ mygamesiconimage: t }), S();
4932
+ this.$$set({ mygamesiconimage: t }), x();
4912
4933
  }
4913
4934
  get mbsource() {
4914
4935
  return this.$$.ctx[12];
4915
4936
  }
4916
4937
  set mbsource(t) {
4917
- this.$$set({ mbsource: t }), S();
4938
+ this.$$set({ mbsource: t }), x();
4918
4939
  }
4919
4940
  }
4920
- hn(Nr, { endpoint: {}, datasource: {}, lang: {}, userid: {}, session: {}, mostplayed: {}, lastplayed: {}, favorites: {}, clientstyling: {}, clientstylingurl: {}, activecategory: {}, actionevent: {}, sessioncheck: {}, location: {}, showsubgroups: {}, filteredcategories: {}, translationurl: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {}, mbsource: {} }, [], [], !0);
4921
- const Gs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4941
+ hn(Or, { endpoint: {}, datasource: {}, lang: {}, userid: {}, session: {}, mostplayed: {}, lastplayed: {}, favorites: {}, clientstyling: {}, clientstylingurl: {}, activecategory: {}, actionevent: {}, sessioncheck: {}, location: {}, showsubgroups: {}, filteredcategories: {}, translationurl: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {}, mbsource: {} }, [], [], !0);
4942
+ const Us = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4922
4943
  __proto__: null,
4923
- default: Nr
4944
+ default: Or
4924
4945
  }, Symbol.toStringTag, { value: "Module" }));
4925
4946
  export {
4926
4947
  be as $,
4927
- ds as A,
4928
- Ms as B,
4929
- Bs as C,
4930
- Zt as D,
4931
- Ls as E,
4932
- Gs as F,
4948
+ Rs as A,
4949
+ bs as B,
4950
+ ps as C,
4951
+ gs as D,
4952
+ hn as E,
4953
+ Us as F,
4933
4954
  ln as S,
4934
4955
  de as a,
4935
4956
  Tr as b,
4936
- hn as c,
4937
- zr as d,
4938
- V as e,
4939
- S as f,
4940
- As as g,
4941
- me as h,
4957
+ zr as c,
4958
+ ne as d,
4959
+ fe as e,
4960
+ x as f,
4961
+ ce as g,
4962
+ Zt as h,
4942
4963
  un as i,
4943
- fe as j,
4944
- zt as k,
4964
+ V as j,
4965
+ Ps as k,
4945
4966
  Ns as l,
4946
- ie as m,
4967
+ Ms as m,
4947
4968
  I as n,
4948
4969
  Kr as o,
4949
- Os as p,
4950
- bs as q,
4951
- ne as r,
4952
- Xt as s,
4953
- ps as t,
4954
- Cs as u,
4955
- Ps as v,
4956
- Rs as w,
4957
- Hs as x,
4958
- Is as y,
4959
- je as z
4970
+ Ls as p,
4971
+ Os as q,
4972
+ re as r,
4973
+ Wt as s,
4974
+ Cs as t,
4975
+ Gs as u,
4976
+ Ve as v,
4977
+ As as w,
4978
+ Is as x,
4979
+ Qt as y,
4980
+ Bs as z
4960
4981
  };