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