@everymatrix/casino-categories-slider 1.64.7 → 1.65.0

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