@everymatrix/casino-lobby-mini-games 0.1.0 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (25) hide show
  1. package/components/{CasinoLobbyMiniGames-BoX1JXxL.js → CasinoLobbyMiniGames-BY57Q6t9.js} +11 -9
  2. package/components/{CasinoLobbyMiniGames-DjC5JN_k.js → CasinoLobbyMiniGames-Bh5LeG52.js} +257 -255
  3. package/components/{CasinoLobbyMiniGames-DjFDP_Zi.cjs → CasinoLobbyMiniGames-CajMXLVl.cjs} +5 -5
  4. package/components/{CasinoMysteryChestContainer-ClQeNe-y.js → CasinoMysteryChestContainer-IiI_otYE.js} +134 -115
  5. package/components/{CasinoMysteryChestContainer-BAf3kFaF.cjs → CasinoMysteryChestContainer-Z25Fea_T.cjs} +1 -1
  6. package/components/{CasinoMysteryChestContainer-rrxbOnRa.js → CasinoMysteryChestContainer-wxjkuWy1.js} +136 -117
  7. package/components/{CasinoMysteryChestDetails-CczAWtiC.js → CasinoMysteryChestDetails-Chfd66X8.js} +252 -184
  8. package/components/{CasinoMysteryChestDetails-DMz95Y9m.js → CasinoMysteryChestDetails-Dqlj_CKW.js} +215 -223
  9. package/components/{CasinoMysteryChestDetails-mQQPIFLX.cjs → CasinoMysteryChestDetails-foimB6DB.cjs} +2 -2
  10. package/components/{CasinoMysteryChestModal-CryezSCr.js → CasinoMysteryChestModal-CC3ky83r.js} +1 -1
  11. package/components/{CasinoMysteryChestModal-CJsl-jHt.js → CasinoMysteryChestModal-CePqroCF.js} +1 -1
  12. package/components/{CasinoMysteryChestModal-BdxT7VwI.cjs → CasinoMysteryChestModal-a-4F-9oK.cjs} +1 -1
  13. package/components/CasinoMysteryChestsList-Bub2sm61.cjs +1 -0
  14. package/components/CasinoMysteryChestsList-DK9sWaBi.js +2187 -0
  15. package/components/CasinoMysteryChestsList-IyypXB58.js +2230 -0
  16. package/components/{GeneralAnimationLoading-DAk8IQ7j.js → GeneralAnimationLoading-C5zco7Jv.js} +4 -4
  17. package/components/{GeneralAnimationLoading-BSgvv_xi.cjs → GeneralAnimationLoading-ie71G-dL.cjs} +1 -1
  18. package/components/{GeneralAnimationLoading-CXm6Xm_y.js → GeneralAnimationLoading-kV60Vm7G.js} +6 -6
  19. package/es2015/casino-lobby-mini-games.cjs +1 -1
  20. package/es2015/casino-lobby-mini-games.js +1 -1
  21. package/esnext/casino-lobby-mini-games.js +1 -1
  22. package/package.json +1 -1
  23. package/components/CasinoMysteryChestsList-8D2jV0aH.js +0 -2084
  24. package/components/CasinoMysteryChestsList-B1oNcuUN.js +0 -2041
  25. package/components/CasinoMysteryChestsList-CzgfZYsb.cjs +0 -3
@@ -9,14 +9,14 @@ function ht() {
9
9
  function te(e) {
10
10
  e.forEach(Mt);
11
11
  }
12
- function ot(e) {
12
+ function st(e) {
13
13
  return typeof e == "function";
14
14
  }
15
15
  function Nt(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
18
  let me;
19
- function no(e, t) {
19
+ function ns(e, t) {
20
20
  return e === t ? !0 : (me || (me = document.createElement("a")), me.href = t, e === me.href);
21
21
  }
22
22
  function br(e) {
@@ -67,7 +67,7 @@ function re(e, t, r) {
67
67
  function k(e) {
68
68
  e.parentNode && e.parentNode.removeChild(e);
69
69
  }
70
- function io(e, t) {
70
+ function is(e, t) {
71
71
  for (let r = 0; r < e.length; r += 1)
72
72
  e[r] && e[r].d(t);
73
73
  }
@@ -80,7 +80,7 @@ function Q(e) {
80
80
  function be() {
81
81
  return Q(" ");
82
82
  }
83
- function oo() {
83
+ function ss() {
84
84
  return Q("");
85
85
  }
86
86
  function ye(e, t, r, n) {
@@ -176,14 +176,14 @@ const Br = /* @__PURE__ */ new Set();
176
176
  function Pr(e, t) {
177
177
  e && e.i && (Br.delete(e), e.i(t));
178
178
  }
179
- function so(e) {
179
+ function os(e) {
180
180
  return e?.length !== void 0 ? e : Array.from(e);
181
181
  }
182
182
  function Cr(e, t, r) {
183
183
  const { fragment: n, after_update: i } = e.$$;
184
184
  n && n.m(t, r), Ve(() => {
185
- const o = e.$$.on_mount.map(Mt).filter(ot);
186
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : te(o), e.$$.on_mount = [];
185
+ const s = e.$$.on_mount.map(Mt).filter(st);
186
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : te(s), e.$$.on_mount = [];
187
187
  }), i.forEach(Ve);
188
188
  }
189
189
  function Ir(e, t) {
@@ -193,14 +193,14 @@ function Ir(e, t) {
193
193
  function Lr(e, t) {
194
194
  e.$$.dirty[0] === -1 && (Z.push(e), Hr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
195
195
  }
196
- function Mr(e, t, r, n, i, o, s = null, a = [-1]) {
196
+ function Mr(e, t, r, n, i, s, o = null, a = [-1]) {
197
197
  const h = he;
198
198
  ue(e);
199
199
  const u = e.$$ = {
200
200
  fragment: null,
201
201
  ctx: [],
202
202
  // state
203
- props: o,
203
+ props: s,
204
204
  update: I,
205
205
  not_equal: i,
206
206
  bound: ht(),
@@ -217,7 +217,7 @@ function Mr(e, t, r, n, i, o, s = null, a = [-1]) {
217
217
  skip_bound: !1,
218
218
  root: t.target || h.$$.root
219
219
  };
220
- s && s(u.root);
220
+ o && o(u.root);
221
221
  let l = !1;
222
222
  if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
223
223
  const y = p.length ? p[0] : f;
@@ -272,20 +272,20 @@ typeof HTMLElement == "function" && (Rt = class extends HTMLElement {
272
272
  if (this.$$cn = !0, !this.$$c) {
273
273
  let e = function(i) {
274
274
  return () => {
275
- let o;
275
+ let s;
276
276
  return {
277
277
  c: function() {
278
- o = C("slot"), i !== "default" && O(o, "name", i);
278
+ s = C("slot"), i !== "default" && O(s, "name", i);
279
279
  },
280
280
  /**
281
281
  * @param {HTMLElement} target
282
282
  * @param {HTMLElement} [anchor]
283
283
  */
284
284
  m: function(h, u) {
285
- re(h, o, u);
285
+ re(h, s, u);
286
286
  },
287
287
  d: function(h) {
288
- h && k(o);
288
+ h && k(s);
289
289
  }
290
290
  };
291
291
  };
@@ -296,8 +296,8 @@ typeof HTMLElement == "function" && (Rt = class extends HTMLElement {
296
296
  for (const i of this.$$s)
297
297
  i in r && (t[i] = [e(i)]);
298
298
  for (const i of this.attributes) {
299
- const o = this.$$g_p(i.name);
300
- o in this.$$d || (this.$$d[o] = Ee(o, i.value, this.$$p_d, "toProp"));
299
+ const s = this.$$g_p(i.name);
300
+ s in this.$$d || (this.$$d[s] = Ee(s, i.value, this.$$p_d, "toProp"));
301
301
  }
302
302
  for (const i in this.$$p_d)
303
303
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -315,21 +315,21 @@ typeof HTMLElement == "function" && (Rt = class extends HTMLElement {
315
315
  this.$$r = !0;
316
316
  for (const i in this.$$p_d)
317
317
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
318
- const o = Ee(
318
+ const s = Ee(
319
319
  i,
320
320
  this.$$d[i],
321
321
  this.$$p_d,
322
322
  "toAttribute"
323
323
  );
324
- o == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, o);
324
+ s == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, s);
325
325
  }
326
326
  this.$$r = !1;
327
327
  };
328
328
  this.$$c.$$.after_update.push(n), n();
329
329
  for (const i in this.$$l)
330
- for (const o of this.$$l[i]) {
331
- const s = this.$$c.$on(i, o);
332
- this.$$l_u.set(o, s);
330
+ for (const s of this.$$l[i]) {
331
+ const o = this.$$c.$on(i, s);
332
+ this.$$l_u.set(s, o);
333
333
  }
334
334
  this.$$l = {};
335
335
  }
@@ -379,8 +379,8 @@ function Ee(e, t, r, n) {
379
379
  return t;
380
380
  }
381
381
  }
382
- function Nr(e, t, r, n, i, o) {
383
- let s = class extends Rt {
382
+ function Nr(e, t, r, n, i, s) {
383
+ let o = class extends Rt {
384
384
  constructor() {
385
385
  super(e, r, i), this.$$p_d = t;
386
386
  }
@@ -391,7 +391,7 @@ function Nr(e, t, r, n, i, o) {
391
391
  }
392
392
  };
393
393
  return Object.keys(t).forEach((a) => {
394
- Object.defineProperty(s.prototype, a, {
394
+ Object.defineProperty(o.prototype, a, {
395
395
  get() {
396
396
  return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
397
397
  },
@@ -400,13 +400,13 @@ function Nr(e, t, r, n, i, o) {
400
400
  }
401
401
  });
402
402
  }), n.forEach((a) => {
403
- Object.defineProperty(s.prototype, a, {
403
+ Object.defineProperty(o.prototype, a, {
404
404
  get() {
405
405
  return this.$$c?.[a];
406
406
  }
407
407
  });
408
408
  }), e.element = /** @type {any} */
409
- s, s;
409
+ o, o;
410
410
  }
411
411
  class $r {
412
412
  /**
@@ -436,7 +436,7 @@ class $r {
436
436
  * @returns {() => void}
437
437
  */
438
438
  $on(t, r) {
439
- if (!ot(r))
439
+ if (!st(r))
440
440
  return I;
441
441
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
442
442
  return n.push(r), () => {
@@ -466,7 +466,7 @@ if (typeof window < "u") {
466
466
  }
467
467
  };
468
468
  };
469
- customElements.define = e(customElements.define), import("./CasinoMysteryChestContainer-ClQeNe-y.js").then(({ default: t }) => {
469
+ customElements.define = e(customElements.define), import("./CasinoMysteryChestContainer-IiI_otYE.js").then(({ default: t }) => {
470
470
  !customElements.get("casino-mystery-chest-container") && customElements.define("casino-mystery-chest-container", t.element);
471
471
  });
472
472
  }
@@ -517,27 +517,27 @@ function ze(e, t) {
517
517
  var r = typeof Symbol == "function" && e[Symbol.iterator];
518
518
  if (!r)
519
519
  return e;
520
- var n = r.call(e), i, o = [], s;
520
+ var n = r.call(e), i, s = [], o;
521
521
  try {
522
522
  for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
523
- o.push(i.value);
523
+ s.push(i.value);
524
524
  } catch (a) {
525
- s = { error: a };
525
+ o = { error: a };
526
526
  } finally {
527
527
  try {
528
528
  i && !i.done && (r = n.return) && r.call(n);
529
529
  } finally {
530
- if (s)
531
- throw s.error;
530
+ if (o)
531
+ throw o.error;
532
532
  }
533
533
  }
534
- return o;
534
+ return s;
535
535
  }
536
536
  function Ze(e, t, r) {
537
537
  if (arguments.length === 2)
538
- for (var n = 0, i = t.length, o; n < i; n++)
539
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
540
- return e.concat(o || t);
538
+ for (var n = 0, i = t.length, s; n < i; n++)
539
+ (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
540
+ return e.concat(s || t);
541
541
  }
542
542
  function D(e) {
543
543
  return typeof e == "function";
@@ -568,14 +568,14 @@ var Be = function() {
568
568
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
569
569
  }
570
570
  return e.prototype.unsubscribe = function() {
571
- var t, r, n, i, o;
571
+ var t, r, n, i, s;
572
572
  if (!this.closed) {
573
573
  this.closed = !0;
574
- var s = this._parentage;
575
- if (s)
576
- if (this._parentage = null, Array.isArray(s))
574
+ var o = this._parentage;
575
+ if (o)
576
+ if (this._parentage = null, Array.isArray(o))
577
577
  try {
578
- for (var a = We(s), h = a.next(); !h.done; h = a.next()) {
578
+ for (var a = We(o), h = a.next(); !h.done; h = a.next()) {
579
579
  var u = h.value;
580
580
  u.remove(this);
581
581
  }
@@ -590,13 +590,13 @@ var Be = function() {
590
590
  }
591
591
  }
592
592
  else
593
- s.remove(this);
593
+ o.remove(this);
594
594
  var l = this.initialTeardown;
595
595
  if (D(l))
596
596
  try {
597
597
  l();
598
598
  } catch (g) {
599
- o = g instanceof Ne ? g.errors : [g];
599
+ s = g instanceof Ne ? g.errors : [g];
600
600
  }
601
601
  var c = this._finalizers;
602
602
  if (c) {
@@ -607,7 +607,7 @@ var Be = function() {
607
607
  try {
608
608
  ct(y);
609
609
  } catch (g) {
610
- o = o ?? [], g instanceof Ne ? o = Ze(Ze([], ze(o)), ze(g.errors)) : o.push(g);
610
+ s = s ?? [], g instanceof Ne ? s = Ze(Ze([], ze(s)), ze(g.errors)) : s.push(g);
611
611
  }
612
612
  }
613
613
  } catch (g) {
@@ -621,8 +621,8 @@ var Be = function() {
621
621
  }
622
622
  }
623
623
  }
624
- if (o)
625
- throw new Ne(o);
624
+ if (s)
625
+ throw new Ne(s);
626
626
  }
627
627
  }, e.prototype.add = function(t) {
628
628
  var r;
@@ -748,12 +748,12 @@ var Ft = function(e) {
748
748
  }(), qe = function(e) {
749
749
  fe(t, e);
750
750
  function t(r, n, i) {
751
- var o = e.call(this) || this, s;
752
- return D(r) || !r ? s = {
751
+ var s = e.call(this) || this, o;
752
+ return D(r) || !r ? o = {
753
753
  next: r ?? void 0,
754
754
  error: n ?? void 0,
755
755
  complete: i ?? void 0
756
- } : s = r, o.destination = new Fr(s), o;
756
+ } : o = r, s.destination = new Fr(o), s;
757
757
  }
758
758
  return t;
759
759
  }(Ft);
@@ -789,11 +789,11 @@ var pt = function() {
789
789
  var r = new e();
790
790
  return r.source = this, r.operator = t, r;
791
791
  }, e.prototype.subscribe = function(t, r, n) {
792
- var i = this, o = Zr(t) ? t : new qe(t, r, n);
792
+ var i = this, s = Zr(t) ? t : new qe(t, r, n);
793
793
  return xe(function() {
794
- var s = i, a = s.operator, h = s.source;
795
- o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
796
- }), o;
794
+ var o = i, a = o.operator, h = o.source;
795
+ s.add(a ? a.call(s, h) : h ? i._subscribe(s) : i._trySubscribe(s));
796
+ }), s;
797
797
  }, e.prototype._trySubscribe = function(t) {
798
798
  try {
799
799
  return this._subscribe(t);
@@ -802,19 +802,19 @@ var pt = function() {
802
802
  }
803
803
  }, e.prototype.forEach = function(t, r) {
804
804
  var n = this;
805
- return r = dt(r), new r(function(i, o) {
806
- var s = new qe({
805
+ return r = dt(r), new r(function(i, s) {
806
+ var o = new qe({
807
807
  next: function(a) {
808
808
  try {
809
809
  t(a);
810
810
  } catch (h) {
811
- o(h), s.unsubscribe();
811
+ s(h), o.unsubscribe();
812
812
  }
813
813
  },
814
- error: o,
814
+ error: s,
815
815
  complete: i
816
816
  });
817
- n.subscribe(s);
817
+ n.subscribe(o);
818
818
  });
819
819
  }, e.prototype._subscribe = function(t) {
820
820
  var r;
@@ -828,13 +828,13 @@ var pt = function() {
828
828
  }, e.prototype.toPromise = function(t) {
829
829
  var r = this;
830
830
  return t = dt(t), new t(function(n, i) {
831
- var o;
832
- r.subscribe(function(s) {
833
- return o = s;
834
- }, function(s) {
835
- return i(s);
831
+ var s;
832
+ r.subscribe(function(o) {
833
+ return s = o;
834
+ }, function(o) {
835
+ return i(o);
836
836
  }, function() {
837
- return n(o);
837
+ return n(s);
838
838
  });
839
839
  });
840
840
  }, e.create = function(t) {
@@ -870,11 +870,11 @@ var Qr = Ut(function(e) {
870
870
  }, t.prototype.next = function(r) {
871
871
  var n = this;
872
872
  xe(function() {
873
- var i, o;
873
+ var i, s;
874
874
  if (n._throwIfClosed(), !n.isStopped) {
875
875
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
876
876
  try {
877
- for (var s = We(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
877
+ for (var o = We(n.currentObservers), a = o.next(); !a.done; a = o.next()) {
878
878
  var h = a.value;
879
879
  h.next(r);
880
880
  }
@@ -882,7 +882,7 @@ var Qr = Ut(function(e) {
882
882
  i = { error: u };
883
883
  } finally {
884
884
  try {
885
- a && !a.done && (o = s.return) && o.call(s);
885
+ a && !a.done && (s = o.return) && s.call(o);
886
886
  } finally {
887
887
  if (i)
888
888
  throw i.error;
@@ -922,13 +922,13 @@ var Qr = Ut(function(e) {
922
922
  }, t.prototype._subscribe = function(r) {
923
923
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
924
924
  }, t.prototype._innerSubscribe = function(r) {
925
- var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
926
- return o || s ? Dt : (this.currentObservers = null, a.push(r), new Be(function() {
925
+ var n = this, i = this, s = i.hasError, o = i.isStopped, a = i.observers;
926
+ return s || o ? Dt : (this.currentObservers = null, a.push(r), new Be(function() {
927
927
  n.currentObservers = null, Qe(a, r);
928
928
  }));
929
929
  }, t.prototype._checkFinalizedStatuses = function(r) {
930
- var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
931
- i ? r.error(o) : s && r.complete();
930
+ var n = this, i = n.hasError, s = n.thrownError, o = n.isStopped;
931
+ i ? r.error(s) : o && r.complete();
932
932
  }, t.prototype.asObservable = function() {
933
933
  var r = new pt();
934
934
  return r.source = this, r;
@@ -963,23 +963,23 @@ var Qr = Ut(function(e) {
963
963
  fe(t, e);
964
964
  function t(r, n, i) {
965
965
  r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = kt);
966
- var o = e.call(this) || this;
967
- return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
966
+ var s = e.call(this) || this;
967
+ return s._bufferSize = r, s._windowTime = n, s._timestampProvider = i, s._buffer = [], s._infiniteTimeWindow = !0, s._infiniteTimeWindow = n === 1 / 0, s._bufferSize = Math.max(1, r), s._windowTime = Math.max(1, n), s;
968
968
  }
969
969
  return t.prototype.next = function(r) {
970
- var n = this, i = n.isStopped, o = n._buffer, s = n._infiniteTimeWindow, a = n._timestampProvider, h = n._windowTime;
971
- i || (o.push(r), !s && o.push(a.now() + h)), this._trimBuffer(), e.prototype.next.call(this, r);
970
+ var n = this, i = n.isStopped, s = n._buffer, o = n._infiniteTimeWindow, a = n._timestampProvider, h = n._windowTime;
971
+ i || (s.push(r), !o && s.push(a.now() + h)), this._trimBuffer(), e.prototype.next.call(this, r);
972
972
  }, t.prototype._subscribe = function(r) {
973
973
  this._throwIfClosed(), this._trimBuffer();
974
- for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, s = i._buffer, a = s.slice(), h = 0; h < a.length && !r.closed; h += o ? 1 : 2)
974
+ for (var n = this._innerSubscribe(r), i = this, s = i._infiniteTimeWindow, o = i._buffer, a = o.slice(), h = 0; h < a.length && !r.closed; h += s ? 1 : 2)
975
975
  r.next(a[h]);
976
976
  return this._checkFinalizedStatuses(r), n;
977
977
  }, t.prototype._trimBuffer = function() {
978
- var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, s = r._infiniteTimeWindow, a = (s ? 1 : 2) * n;
979
- if (n < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
980
- for (var h = i.now(), u = 0, l = 1; l < o.length && o[l] <= h; l += 2)
978
+ var r = this, n = r._bufferSize, i = r._timestampProvider, s = r._buffer, o = r._infiniteTimeWindow, a = (o ? 1 : 2) * n;
979
+ if (n < 1 / 0 && a < s.length && s.splice(0, s.length - a), !o) {
980
+ for (var h = i.now(), u = 0, l = 1; l < s.length && s[l] <= h; l += 2)
981
981
  u = l;
982
- u && o.splice(0, u + 1);
982
+ u && s.splice(0, u + 1);
983
983
  }
984
984
  }, t;
985
985
  }(jt);
@@ -1010,23 +1010,23 @@ function Pe(e, t = I) {
1010
1010
  }
1011
1011
  }
1012
1012
  }
1013
- function o(a) {
1013
+ function s(a) {
1014
1014
  i(a(e));
1015
1015
  }
1016
- function s(a, h = I) {
1016
+ function o(a, h = I) {
1017
1017
  const u = [a, h];
1018
- return n.add(u), n.size === 1 && (r = t(i, o) || I), a(e), () => {
1018
+ return n.add(u), n.size === 1 && (r = t(i, s) || I), a(e), () => {
1019
1019
  n.delete(u), n.size === 0 && r && (r(), r = null);
1020
1020
  };
1021
1021
  }
1022
- return { set: i, update: o, subscribe: s };
1022
+ return { set: i, update: s, subscribe: o };
1023
1023
  }
1024
1024
  function ne(e, t, r) {
1025
1025
  const n = !Array.isArray(e), i = n ? [e] : e;
1026
1026
  if (!i.every(Boolean))
1027
1027
  throw new Error("derived() expects stores as input, got a falsy value");
1028
- const o = t.length < 2;
1029
- return Yr(r, (s, a) => {
1028
+ const s = t.length < 2;
1029
+ return Yr(r, (o, a) => {
1030
1030
  let h = !1;
1031
1031
  const u = [];
1032
1032
  let l = 0, c = I;
@@ -1034,8 +1034,8 @@ function ne(e, t, r) {
1034
1034
  if (l)
1035
1035
  return;
1036
1036
  c();
1037
- const y = t(n ? u[0] : u, s, a);
1038
- o ? s(y) : c = ot(y) ? y : I;
1037
+ const y = t(n ? u[0] : u, o, a);
1038
+ s ? o(y) : c = st(y) ? y : I;
1039
1039
  }, p = i.map(
1040
1040
  (y, g) => $t(
1041
1041
  y,
@@ -1063,11 +1063,11 @@ function tn(e) {
1063
1063
  }
1064
1064
  function rn(e) {
1065
1065
  var t = Object.prototype.toString.call(e);
1066
- return t === "[object RegExp]" || t === "[object Date]" || sn(e);
1066
+ return t === "[object RegExp]" || t === "[object Date]" || on(e);
1067
1067
  }
1068
- var nn = typeof Symbol == "function" && Symbol.for, on = nn ? Symbol.for("react.element") : 60103;
1069
- function sn(e) {
1070
- return e.$$typeof === on;
1068
+ var nn = typeof Symbol == "function" && Symbol.for, sn = nn ? Symbol.for("react.element") : 60103;
1069
+ function on(e) {
1070
+ return e.$$typeof === sn;
1071
1071
  }
1072
1072
  function an(e) {
1073
1073
  return Array.isArray(e) ? [] : {};
@@ -1114,8 +1114,8 @@ function fn(e, t, r) {
1114
1114
  }
1115
1115
  function J(e, t, r) {
1116
1116
  r = r || {}, r.arrayMerge = r.arrayMerge || un, r.isMergeableObject = r.isMergeableObject || en, r.cloneUnlessOtherwiseSpecified = le;
1117
- var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1118
- return o ? n ? r.arrayMerge(e, t, r) : fn(e, t, r) : le(t, r);
1117
+ var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
1118
+ return s ? n ? r.arrayMerge(e, t, r) : fn(e, t, r) : le(t, r);
1119
1119
  }
1120
1120
  J.all = function(t, r) {
1121
1121
  if (!Array.isArray(t))
@@ -1147,8 +1147,8 @@ var R = function() {
1147
1147
  return R = Object.assign || function(t) {
1148
1148
  for (var r, n = 1, i = arguments.length; n < i; n++) {
1149
1149
  r = arguments[n];
1150
- for (var o in r)
1151
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1150
+ for (var s in r)
1151
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
1152
1152
  }
1153
1153
  return t;
1154
1154
  }, R.apply(this, arguments);
@@ -1164,9 +1164,9 @@ function bn(e, t) {
1164
1164
  }
1165
1165
  function $e(e, t, r) {
1166
1166
  if (r || arguments.length === 2)
1167
- for (var n = 0, i = t.length, o; n < i; n++)
1168
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1169
- return e.concat(o || Array.prototype.slice.call(t));
1167
+ for (var n = 0, i = t.length, s; n < i; n++)
1168
+ (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
1169
+ return e.concat(s || Array.prototype.slice.call(t));
1170
1170
  }
1171
1171
  function Re(e, t) {
1172
1172
  var r = t && t.cache ? t.cache : Sn, n = t && t.serializer ? t.serializer : En, i = t && t.strategy ? t.strategy : vn;
@@ -1179,12 +1179,12 @@ function yn(e) {
1179
1179
  return e == null || typeof e == "number" || typeof e == "boolean";
1180
1180
  }
1181
1181
  function gn(e, t, r, n) {
1182
- var i = yn(n) ? n : r(n), o = t.get(i);
1183
- return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1182
+ var i = yn(n) ? n : r(n), s = t.get(i);
1183
+ return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
1184
1184
  }
1185
1185
  function Xt(e, t, r) {
1186
- var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1187
- return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1186
+ var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
1187
+ return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
1188
1188
  }
1189
1189
  function Wt(e, t, r, n, i) {
1190
1190
  return r.bind(t, e, n, i);
@@ -1220,8 +1220,8 @@ var En = function() {
1220
1220
  return Te = Object.assign || function(t) {
1221
1221
  for (var r, n = 1, i = arguments.length; n < i; n++) {
1222
1222
  r = arguments[n];
1223
- for (var o in r)
1224
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1223
+ for (var s in r)
1224
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
1225
1225
  }
1226
1226
  return t;
1227
1227
  }, Te.apply(this, arguments);
@@ -1367,8 +1367,8 @@ var _ = function() {
1367
1367
  return _ = Object.assign || function(t) {
1368
1368
  for (var r, n = 1, i = arguments.length; n < i; n++) {
1369
1369
  r = arguments[n];
1370
- for (var o in r)
1371
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1370
+ for (var s in r)
1371
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
1372
1372
  }
1373
1373
  return t;
1374
1374
  }, _.apply(this, arguments);
@@ -1380,10 +1380,10 @@ function Bn(e) {
1380
1380
  for (var t = e.split(An).filter(function(f) {
1381
1381
  return f.length > 0;
1382
1382
  }), r = [], n = 0, i = t; n < i.length; n++) {
1383
- var o = i[n], s = o.split("/");
1384
- if (s.length === 0)
1383
+ var s = i[n], o = s.split("/");
1384
+ if (o.length === 0)
1385
1385
  throw new Error("Invalid number skeleton");
1386
- for (var a = s[0], h = s.slice(1), u = 0, l = h; u < l.length; u++) {
1386
+ for (var a = o[0], h = o.slice(1), u = 0, l = h; u < l.length; u++) {
1387
1387
  var c = l[u];
1388
1388
  if (c.length === 0)
1389
1389
  throw new Error("Invalid number skeleton");
@@ -1569,16 +1569,16 @@ function Ln(e) {
1569
1569
  i.stem.replace(_t, function(h, u, l, c, f, p) {
1570
1570
  return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1571
1571
  });
1572
- var o = i.options[0];
1573
- o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), Et(o)));
1572
+ var s = i.options[0];
1573
+ s === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = _(_({}, t), Et(s)));
1574
1574
  continue;
1575
1575
  }
1576
1576
  if (tr.test(i.stem)) {
1577
1577
  t = _(_({}, t), Et(i.stem));
1578
1578
  continue;
1579
1579
  }
1580
- var s = nr(i.stem);
1581
- s && (t = _(_({}, t), s));
1580
+ var o = nr(i.stem);
1581
+ o && (t = _(_({}, t), o));
1582
1582
  var a = In(i.stem);
1583
1583
  a && (t = _(_({}, t), a));
1584
1584
  }
@@ -3003,12 +3003,12 @@ function Mn(e, t) {
3003
3003
  for (var r = "", n = 0; n < e.length; n++) {
3004
3004
  var i = e.charAt(n);
3005
3005
  if (i === "j") {
3006
- for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3007
- o++, n++;
3008
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Nn(t);
3006
+ for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3007
+ s++, n++;
3008
+ var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", u = Nn(t);
3009
3009
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
3010
3010
  r += h;
3011
- for (; s-- > 0; )
3011
+ for (; o-- > 0; )
3012
3012
  r = u + r;
3013
3013
  } else
3014
3014
  i === "J" ? r += "H" : r += i;
@@ -3045,7 +3045,7 @@ var Un = !!String.prototype.startsWith && "_a".startsWith("a", 1), Dn = !!String
3045
3045
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3046
3046
  }, Ke = !0;
3047
3047
  try {
3048
- var Wn = or("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3048
+ var Wn = sr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3049
3049
  Ke = ((De = Wn.exec("a")) === null || De === void 0 ? void 0 : De[0]) === "a";
3050
3050
  } catch {
3051
3051
  Ke = !1;
@@ -3065,10 +3065,10 @@ var St = Un ? (
3065
3065
  function() {
3066
3066
  for (var t = [], r = 0; r < arguments.length; r++)
3067
3067
  t[r] = arguments[r];
3068
- for (var n = "", i = t.length, o = 0, s; i > o; ) {
3069
- if (s = t[o++], s > 1114111)
3070
- throw RangeError(s + " is not a valid code point");
3071
- n += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
3068
+ for (var n = "", i = t.length, s = 0, o; i > s; ) {
3069
+ if (o = t[s++], o > 1114111)
3070
+ throw RangeError(o + " is not a valid code point");
3071
+ n += o < 65536 ? String.fromCharCode(o) : String.fromCharCode(((o -= 65536) >> 10) + 55296, o % 1024 + 56320);
3072
3072
  }
3073
3073
  return n;
3074
3074
  }
@@ -3078,8 +3078,8 @@ var St = Un ? (
3078
3078
  // Ponyfill
3079
3079
  function(t) {
3080
3080
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
3081
- var o = i[n], s = o[0], a = o[1];
3082
- r[s] = a;
3081
+ var s = i[n], o = s[0], a = s[1];
3082
+ r[o] = a;
3083
3083
  }
3084
3084
  return r;
3085
3085
  }
@@ -3094,8 +3094,8 @@ var St = Un ? (
3094
3094
  function(t, r) {
3095
3095
  var n = t.length;
3096
3096
  if (!(r < 0 || r >= n)) {
3097
- var i = t.charCodeAt(r), o;
3098
- return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3097
+ var i = t.charCodeAt(r), s;
3098
+ return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
3099
3099
  }
3100
3100
  }
3101
3101
  ), zn = jn ? (
@@ -3119,12 +3119,12 @@ var St = Un ? (
3119
3119
  return t.replace(Rn, "");
3120
3120
  }
3121
3121
  );
3122
- function or(e, t) {
3122
+ function sr(e, t) {
3123
3123
  return new RegExp(e, t);
3124
3124
  }
3125
3125
  var tt;
3126
3126
  if (Ke) {
3127
- var Tt = or("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3127
+ var Tt = sr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3128
3128
  tt = function(t, r) {
3129
3129
  var n;
3130
3130
  Tt.lastIndex = r;
@@ -3135,7 +3135,7 @@ if (Ke) {
3135
3135
  tt = function(t, r) {
3136
3136
  for (var n = []; ; ) {
3137
3137
  var i = ir(t, r);
3138
- if (i === void 0 || sr(i) || Yn(i))
3138
+ if (i === void 0 || or(i) || Yn(i))
3139
3139
  break;
3140
3140
  n.push(i), r += i >= 65536 ? 2 : 1;
3141
3141
  }
@@ -3153,35 +3153,35 @@ var Qn = (
3153
3153
  return this.parseMessage(0, "", !1);
3154
3154
  }, e.prototype.parseMessage = function(t, r, n) {
3155
3155
  for (var i = []; !this.isEOF(); ) {
3156
- var o = this.char();
3157
- if (o === 123) {
3158
- var s = this.parseArgument(t, n);
3159
- if (s.err)
3160
- return s;
3161
- i.push(s.val);
3156
+ var s = this.char();
3157
+ if (s === 123) {
3158
+ var o = this.parseArgument(t, n);
3159
+ if (o.err)
3160
+ return o;
3161
+ i.push(o.val);
3162
3162
  } else {
3163
- if (o === 125 && t > 0)
3163
+ if (s === 125 && t > 0)
3164
3164
  break;
3165
- if (o === 35 && (r === "plural" || r === "selectordinal")) {
3165
+ if (s === 35 && (r === "plural" || r === "selectordinal")) {
3166
3166
  var a = this.clonePosition();
3167
3167
  this.bump(), i.push({
3168
3168
  type: v.pound,
3169
3169
  location: b(a, this.clonePosition())
3170
3170
  });
3171
- } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3171
+ } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
3172
3172
  if (n)
3173
3173
  break;
3174
3174
  return this.error(d.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
3175
- } else if (o === 60 && !this.ignoreTag && rt(this.peek() || 0)) {
3176
- var s = this.parseTag(t, r);
3177
- if (s.err)
3178
- return s;
3179
- i.push(s.val);
3175
+ } else if (s === 60 && !this.ignoreTag && rt(this.peek() || 0)) {
3176
+ var o = this.parseTag(t, r);
3177
+ if (o.err)
3178
+ return o;
3179
+ i.push(o.val);
3180
3180
  } else {
3181
- var s = this.parseLiteral(t, r);
3182
- if (s.err)
3183
- return s;
3184
- i.push(s.val);
3181
+ var o = this.parseLiteral(t, r);
3182
+ if (o.err)
3183
+ return o;
3184
+ i.push(o.val);
3185
3185
  }
3186
3186
  }
3187
3187
  }
@@ -3200,10 +3200,10 @@ var Qn = (
3200
3200
  err: null
3201
3201
  };
3202
3202
  if (this.bumpIf(">")) {
3203
- var o = this.parseMessage(t + 1, r, !0);
3204
- if (o.err)
3205
- return o;
3206
- var s = o.val, a = this.clonePosition();
3203
+ var s = this.parseMessage(t + 1, r, !0);
3204
+ if (s.err)
3205
+ return s;
3206
+ var o = s.val, a = this.clonePosition();
3207
3207
  if (this.bumpIf("</")) {
3208
3208
  if (this.isEOF() || !rt(this.char()))
3209
3209
  return this.error(d.INVALID_TAG, b(a, this.clonePosition()));
@@ -3212,7 +3212,7 @@ var Qn = (
3212
3212
  val: {
3213
3213
  type: v.tag,
3214
3214
  value: i,
3215
- children: s,
3215
+ children: o,
3216
3216
  location: b(n, this.clonePosition())
3217
3217
  },
3218
3218
  err: null
@@ -3228,16 +3228,16 @@ var Qn = (
3228
3228
  return this.message.slice(t, this.offset());
3229
3229
  }, e.prototype.parseLiteral = function(t, r) {
3230
3230
  for (var n = this.clonePosition(), i = ""; ; ) {
3231
- var o = this.tryParseQuote(r);
3232
- if (o) {
3233
- i += o;
3234
- continue;
3235
- }
3236
- var s = this.tryParseUnquoted(t, r);
3231
+ var s = this.tryParseQuote(r);
3237
3232
  if (s) {
3238
3233
  i += s;
3239
3234
  continue;
3240
3235
  }
3236
+ var o = this.tryParseUnquoted(t, r);
3237
+ if (o) {
3238
+ i += o;
3239
+ continue;
3240
+ }
3241
3241
  var a = this.tryParseLeftAngleBracket();
3242
3242
  if (a) {
3243
3243
  i += a;
@@ -3322,13 +3322,13 @@ var Qn = (
3322
3322
  }, e.prototype.parseIdentifierIfPossible = function() {
3323
3323
  var t = this.clonePosition(), r = this.offset(), n = tt(this.message, r), i = r + n.length;
3324
3324
  this.bumpTo(i);
3325
- var o = this.clonePosition(), s = b(t, o);
3326
- return { value: n, location: s };
3325
+ var s = this.clonePosition(), o = b(t, s);
3326
+ return { value: n, location: o };
3327
3327
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3328
- var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
3328
+ var s, o = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
3329
3329
  switch (a) {
3330
3330
  case "":
3331
- return this.error(d.EXPECT_ARGUMENT_TYPE, b(s, h));
3331
+ return this.error(d.EXPECT_ARGUMENT_TYPE, b(o, h));
3332
3332
  case "number":
3333
3333
  case "date":
3334
3334
  case "time": {
@@ -3379,7 +3379,7 @@ var Qn = (
3379
3379
  type: a === "number" ? v.number : a === "date" ? v.date : v.time,
3380
3380
  value: n,
3381
3381
  location: g,
3382
- style: (o = u?.style) !== null && o !== void 0 ? o : null
3382
+ style: (s = u?.style) !== null && s !== void 0 ? s : null
3383
3383
  },
3384
3384
  err: null
3385
3385
  };
@@ -3407,13 +3407,13 @@ var Qn = (
3407
3407
  var y = this.tryParseArgumentClose(i);
3408
3408
  if (y.err)
3409
3409
  return y;
3410
- var oe = b(i, this.clonePosition());
3410
+ var se = b(i, this.clonePosition());
3411
3411
  return a === "select" ? {
3412
3412
  val: {
3413
3413
  type: v.select,
3414
3414
  value: n,
3415
3415
  options: wt(N.val),
3416
- location: oe
3416
+ location: se
3417
3417
  },
3418
3418
  err: null
3419
3419
  } : {
@@ -3423,13 +3423,13 @@ var Qn = (
3423
3423
  options: wt(N.val),
3424
3424
  offset: S,
3425
3425
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3426
- location: oe
3426
+ location: se
3427
3427
  },
3428
3428
  err: null
3429
3429
  };
3430
3430
  }
3431
3431
  default:
3432
- return this.error(d.INVALID_ARGUMENT_TYPE, b(s, h));
3432
+ return this.error(d.INVALID_ARGUMENT_TYPE, b(o, h));
3433
3433
  }
3434
3434
  }, e.prototype.tryParseArgumentClose = function(t) {
3435
3435
  return this.isEOF() || this.char() !== 125 ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, b(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
@@ -3485,7 +3485,7 @@ var Qn = (
3485
3485
  err: null
3486
3486
  };
3487
3487
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3488
- for (var o, s = !1, a = [], h = /* @__PURE__ */ new Set(), u = i.value, l = i.location; ; ) {
3488
+ for (var s, o = !1, a = [], h = /* @__PURE__ */ new Set(), u = i.value, l = i.location; ; ) {
3489
3489
  if (u.length === 0) {
3490
3490
  var c = this.clonePosition();
3491
3491
  if (r !== "select" && this.bumpIf("=")) {
@@ -3498,7 +3498,7 @@ var Qn = (
3498
3498
  }
3499
3499
  if (h.has(u))
3500
3500
  return this.error(r === "select" ? d.DUPLICATE_SELECT_ARGUMENT_SELECTOR : d.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3501
- u === "other" && (s = !0), this.bumpSpace();
3501
+ u === "other" && (o = !0), this.bumpSpace();
3502
3502
  var p = this.clonePosition();
3503
3503
  if (!this.bumpIf("{"))
3504
3504
  return this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : d.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, b(this.clonePosition(), this.clonePosition()));
@@ -3514,21 +3514,21 @@ var Qn = (
3514
3514
  value: y.val,
3515
3515
  location: b(p, this.clonePosition())
3516
3516
  }
3517
- ]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
3517
+ ]), h.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, l = s.location;
3518
3518
  }
3519
- return a.length === 0 ? this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR : d.EXPECT_PLURAL_ARGUMENT_SELECTOR, b(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(d.MISSING_OTHER_CLAUSE, b(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3519
+ return a.length === 0 ? this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR : d.EXPECT_PLURAL_ARGUMENT_SELECTOR, b(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(d.MISSING_OTHER_CLAUSE, b(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3520
3520
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3521
3521
  var n = 1, i = this.clonePosition();
3522
3522
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
3523
- for (var o = !1, s = 0; !this.isEOF(); ) {
3523
+ for (var s = !1, o = 0; !this.isEOF(); ) {
3524
3524
  var a = this.char();
3525
3525
  if (a >= 48 && a <= 57)
3526
- o = !0, s = s * 10 + (a - 48), this.bump();
3526
+ s = !0, o = o * 10 + (a - 48), this.bump();
3527
3527
  else
3528
3528
  break;
3529
3529
  }
3530
3530
  var h = b(i, this.clonePosition());
3531
- return o ? (s *= n, Xn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3531
+ return s ? (o *= n, Xn(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
3532
3532
  }, e.prototype.offset = function() {
3533
3533
  return this.position.offset;
3534
3534
  }, e.prototype.isEOF = function() {
@@ -3584,7 +3584,7 @@ var Qn = (
3584
3584
  break;
3585
3585
  }
3586
3586
  }, e.prototype.bumpSpace = function() {
3587
- for (; !this.isEOF() && sr(this.char()); )
3587
+ for (; !this.isEOF() && or(this.char()); )
3588
3588
  this.bump();
3589
3589
  }, e.prototype.peek = function() {
3590
3590
  if (this.isEOF())
@@ -3603,7 +3603,7 @@ function qn(e) {
3603
3603
  function Jn(e) {
3604
3604
  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;
3605
3605
  }
3606
- function sr(e) {
3606
+ function or(e) {
3607
3607
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3608
3608
  }
3609
3609
  function Yn(e) {
@@ -3636,8 +3636,8 @@ var Ie = (
3636
3636
  function(e) {
3637
3637
  Ce(t, e);
3638
3638
  function t(r, n, i) {
3639
- var o = e.call(this, r) || this;
3640
- return o.code = n, o.originalMessage = i, o;
3639
+ var s = e.call(this, r) || this;
3640
+ return s.code = n, s.originalMessage = i, s;
3641
3641
  }
3642
3642
  return t.prototype.toString = function() {
3643
3643
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
@@ -3647,8 +3647,8 @@ var Ie = (
3647
3647
  /** @class */
3648
3648
  function(e) {
3649
3649
  Ce(t, e);
3650
- function t(r, n, i, o) {
3651
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), K.INVALID_VALUE, o) || this;
3650
+ function t(r, n, i, s) {
3651
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), K.INVALID_VALUE, s) || this;
3652
3652
  }
3653
3653
  return t;
3654
3654
  }(Ie)
@@ -3683,7 +3683,7 @@ function ri(e) {
3683
3683
  function ni(e) {
3684
3684
  return typeof e == "function";
3685
3685
  }
3686
- function Se(e, t, r, n, i, o, s) {
3686
+ function Se(e, t, r, n, i, s, o) {
3687
3687
  if (e.length === 1 && vt(e[0]))
3688
3688
  return [
3689
3689
  {
@@ -3701,15 +3701,15 @@ function Se(e, t, r, n, i, o, s) {
3701
3701
  continue;
3702
3702
  }
3703
3703
  if (Tn(l)) {
3704
- typeof o == "number" && a.push({
3704
+ typeof s == "number" && a.push({
3705
3705
  type: A.literal,
3706
- value: r.getNumberFormat(t).format(o)
3706
+ value: r.getNumberFormat(t).format(s)
3707
3707
  });
3708
3708
  continue;
3709
3709
  }
3710
3710
  var c = l.value;
3711
3711
  if (!(i && c in i))
3712
- throw new ti(c, s);
3712
+ throw new ti(c, o);
3713
3713
  var f = i[c];
3714
3714
  if (wn(l)) {
3715
3715
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
@@ -3745,8 +3745,8 @@ function Se(e, t, r, n, i, o, s) {
3745
3745
  if (Yt(l)) {
3746
3746
  var y = l.children, g = l.value, B = i[g];
3747
3747
  if (!ni(B))
3748
- throw new ei(g, "function", s);
3749
- var w = Se(y, t, r, n, i, o), L = B(w.map(function(S) {
3748
+ throw new ei(g, "function", o);
3749
+ var w = Se(y, t, r, n, i, s), L = B(w.map(function(S) {
3750
3750
  return S.value;
3751
3751
  }));
3752
3752
  Array.isArray(L) || (L = [L]), a.push.apply(a, L.map(function(S) {
@@ -3759,7 +3759,7 @@ function Se(e, t, r, n, i, o, s) {
3759
3759
  if (qt(l)) {
3760
3760
  var T = l.options[f] || l.options.other;
3761
3761
  if (!T)
3762
- throw new Ht(l.value, f, Object.keys(l.options), s);
3762
+ throw new Ht(l.value, f, Object.keys(l.options), o);
3763
3763
  a.push.apply(a, Se(T.value, t, r, n, i));
3764
3764
  continue;
3765
3765
  }
@@ -3769,12 +3769,12 @@ function Se(e, t, r, n, i, o, s) {
3769
3769
  if (!Intl.PluralRules)
3770
3770
  throw new Ie(`Intl.PluralRules is not available in this environment.
3771
3771
  Try polyfilling it using "@formatjs/intl-pluralrules"
3772
- `, K.MISSING_INTL_API, s);
3772
+ `, K.MISSING_INTL_API, o);
3773
3773
  var m = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
3774
3774
  T = l.options[m] || l.options.other;
3775
3775
  }
3776
3776
  if (!T)
3777
- throw new Ht(l.value, f, Object.keys(l.options), s);
3777
+ throw new Ht(l.value, f, Object.keys(l.options), o);
3778
3778
  a.push.apply(a, Se(T.value, t, r, n, i, f - (l.offset || 0)));
3779
3779
  continue;
3780
3780
  }
@@ -3786,7 +3786,7 @@ function ii(e, t) {
3786
3786
  return r[n] = R(R({}, e[n]), t[n] || {}), r;
3787
3787
  }, {})) : e;
3788
3788
  }
3789
- function oi(e, t) {
3789
+ function si(e, t) {
3790
3790
  return t ? Object.keys(e).reduce(function(r, n) {
3791
3791
  return r[n] = ii(e[n], t[n]), r;
3792
3792
  }, R({}, e)) : e;
@@ -3805,7 +3805,7 @@ function Ge(e) {
3805
3805
  }
3806
3806
  };
3807
3807
  }
3808
- function si(e) {
3808
+ function oi(e) {
3809
3809
  return e === void 0 && (e = {
3810
3810
  number: {},
3811
3811
  dateTime: {},
@@ -3842,13 +3842,13 @@ var ar = (
3842
3842
  function() {
3843
3843
  function e(t, r, n, i) {
3844
3844
  r === void 0 && (r = e.defaultLocale);
3845
- var o = this;
3845
+ var s = this;
3846
3846
  if (this.formatterCache = {
3847
3847
  number: {},
3848
3848
  dateTime: {},
3849
3849
  pluralRules: {}
3850
3850
  }, this.format = function(h) {
3851
- var u = o.formatToParts(h);
3851
+ var u = s.formatToParts(h);
3852
3852
  if (u.length === 1)
3853
3853
  return u[0].value;
3854
3854
  var l = u.reduce(function(c, f) {
@@ -3856,26 +3856,26 @@ var ar = (
3856
3856
  }, []);
3857
3857
  return l.length <= 1 ? l[0] || "" : l;
3858
3858
  }, this.formatToParts = function(h) {
3859
- return Se(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3859
+ return Se(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
3860
3860
  }, this.resolvedOptions = function() {
3861
3861
  var h;
3862
3862
  return {
3863
- locale: ((h = o.resolvedLocale) === null || h === void 0 ? void 0 : h.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
3863
+ locale: ((h = s.resolvedLocale) === null || h === void 0 ? void 0 : h.toString()) || Intl.NumberFormat.supportedLocalesOf(s.locales)[0]
3864
3864
  };
3865
3865
  }, this.getAst = function() {
3866
- return o.ast;
3866
+ return s.ast;
3867
3867
  }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
3868
3868
  if (this.message = t, !e.__parse)
3869
3869
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3870
- var s = i || {};
3871
- s.formatters;
3872
- var a = bn(s, ["formatters"]);
3870
+ var o = i || {};
3871
+ o.formatters;
3872
+ var a = bn(o, ["formatters"]);
3873
3873
  this.ast = e.__parse(t, R(R({}, a), { locale: this.resolvedLocale }));
3874
3874
  } else
3875
3875
  this.ast = t;
3876
3876
  if (!Array.isArray(this.ast))
3877
3877
  throw new TypeError("A message must be provided as a String or AST.");
3878
- this.formats = oi(e.formats, n), this.formatters = i && i.formatters || si(this.formatterCache);
3878
+ this.formats = si(e.formats, n), this.formatters = i && i.formatters || oi(this.formatterCache);
3879
3879
  }
3880
3880
  return Object.defineProperty(e, "defaultLocale", {
3881
3881
  get: function() {
@@ -3959,9 +3959,9 @@ function ai(e, t) {
3959
3959
  for (let i = 0; i < r.length; i++)
3960
3960
  if (typeof n == "object") {
3961
3961
  if (i > 0) {
3962
- const o = r.slice(i, r.length).join(".");
3963
- if (o in n) {
3964
- n = n[o];
3962
+ const s = r.slice(i, r.length).join(".");
3963
+ if (s in n) {
3964
+ n = n[s];
3965
3965
  break;
3966
3966
  }
3967
3967
  }
@@ -3977,18 +3977,18 @@ const F = {}, ui = (e, t, r) => r && (t in F || (F[t] = {}), e in F[t] || (F[t][
3977
3977
  return F[t][e];
3978
3978
  const r = de(t);
3979
3979
  for (let n = 0; n < r.length; n++) {
3980
- const i = r[n], o = li(i, e);
3981
- if (o)
3982
- return ui(e, t, o);
3980
+ const i = r[n], s = li(i, e);
3981
+ if (s)
3982
+ return ui(e, t, s);
3983
3983
  }
3984
3984
  };
3985
- let st;
3985
+ let ot;
3986
3986
  const pe = Pe({});
3987
3987
  function hi(e) {
3988
- return st[e] || null;
3988
+ return ot[e] || null;
3989
3989
  }
3990
3990
  function hr(e) {
3991
- return e in st;
3991
+ return e in ot;
3992
3992
  }
3993
3993
  function li(e, t) {
3994
3994
  if (!hr(e))
@@ -4013,7 +4013,7 @@ ne(
4013
4013
  [pe],
4014
4014
  ([e]) => Object.keys(e)
4015
4015
  );
4016
- pe.subscribe((e) => st = e);
4016
+ pe.subscribe((e) => ot = e);
4017
4017
  const we = {};
4018
4018
  function fi(e, t) {
4019
4019
  we[e].delete(t), we[e].size === 0 && delete we[e];
@@ -4040,20 +4040,20 @@ function di(e, t) {
4040
4040
  t.map((n) => (fi(e, n), n().then((i) => i.default || i)))
4041
4041
  ).then((n) => lr(e, ...n));
4042
4042
  }
4043
- const se = {};
4043
+ const oe = {};
4044
4044
  function fr(e) {
4045
4045
  if (!He(e))
4046
- return e in se ? se[e] : Promise.resolve();
4046
+ return e in oe ? oe[e] : Promise.resolve();
4047
4047
  const t = pi(e);
4048
- return se[e] = Promise.all(
4048
+ return oe[e] = Promise.all(
4049
4049
  t.map(
4050
4050
  ([r, n]) => di(r, n)
4051
4051
  )
4052
4052
  ).then(() => {
4053
4053
  if (He(e))
4054
4054
  return fr(e);
4055
- delete se[e];
4056
- }), se[e];
4055
+ delete oe[e];
4056
+ }), oe[e];
4057
4057
  }
4058
4058
  var Ot = Object.getOwnPropertySymbols, mi = Object.prototype.hasOwnProperty, bi = Object.prototype.propertyIsEnumerable, yi = (e, t) => {
4059
4059
  var r = {};
@@ -4247,21 +4247,21 @@ const ce = (e, t) => {
4247
4247
  ignoreTag: ee().ignoreTag
4248
4248
  })
4249
4249
  ), Ui = (e, t = {}) => {
4250
- var r, n, i, o;
4251
- let s = t;
4252
- typeof e == "object" && (s = e, e = s.id);
4250
+ var r, n, i, s;
4251
+ let o = t;
4252
+ typeof e == "object" && (o = e, e = o.id);
4253
4253
  const {
4254
4254
  values: a,
4255
4255
  locale: h = j(),
4256
4256
  default: u
4257
- } = s;
4257
+ } = o;
4258
4258
  if (h == null)
4259
4259
  throw new Error(
4260
4260
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4261
4261
  );
4262
4262
  let l = ur(e, h);
4263
4263
  if (!l)
4264
- l = (o = (i = (n = (r = ee()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4264
+ l = (s = (i = (n = (r = ee()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
4265
4265
  else if (typeof l != "string")
4266
4266
  return console.warn(
4267
4267
  `[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.`
@@ -4439,8 +4439,8 @@ function Ki(e) {
4439
4439
  }
4440
4440
  };
4441
4441
  }
4442
- function eo(e) {
4443
- let t, r, n, i, o, s = (
4442
+ function es(e) {
4443
+ let t, r, n, i, s, o = (
4444
4444
  /*$_*/
4445
4445
  e[7]("mysteryChest") + ""
4446
4446
  ), a, h, u, l = (
@@ -4452,7 +4452,7 @@ function eo(e) {
4452
4452
  ), g, B, w, L = (
4453
4453
  /*$_*/
4454
4454
  e[7]("dices") + ""
4455
- ), T, m, S, N, oe;
4455
+ ), T, m, S, N, se;
4456
4456
  function ut(E, M) {
4457
4457
  if (
4458
4458
  /*activeTab*/
@@ -4478,8 +4478,8 @@ function eo(e) {
4478
4478
  let X = ut(e), P = X && X(e);
4479
4479
  return {
4480
4480
  c() {
4481
- t = C("div"), r = C("div"), n = C("div"), i = C("div"), o = C("button"), a = Q(s), h = be(), u = C("button"), c = Q(l), f = be(), p = C("button"), g = Q(y), B = be(), w = C("button"), T = Q(L), m = be(), P && P.c(), O(o, "data-index", x.MysteryChests), O(o, "class", "slider__tab"), G(
4482
- o,
4481
+ t = C("div"), r = C("div"), n = C("div"), i = C("div"), s = C("button"), a = Q(o), h = be(), u = C("button"), c = Q(l), f = be(), p = C("button"), g = Q(y), B = be(), w = C("button"), T = Q(L), m = be(), P && P.c(), O(s, "data-index", x.MysteryChests), O(s, "class", "slider__tab"), G(
4482
+ s,
4483
4483
  "active",
4484
4484
  /*activeTab*/
4485
4485
  e[6] === x.MysteryChests
@@ -4502,9 +4502,9 @@ function eo(e) {
4502
4502
  (e[5] ? "mobile" : ""));
4503
4503
  },
4504
4504
  m(E, M) {
4505
- re(E, t, M), H(t, r), H(r, n), H(n, i), H(i, o), H(o, a), H(i, h), H(i, u), H(u, c), H(i, f), H(i, p), H(p, g), H(i, B), H(i, w), H(w, T), H(t, m), P && P.m(t, null), e[13](t), N || (oe = [
4505
+ re(E, t, M), H(t, r), H(r, n), H(n, i), H(i, s), H(s, a), H(i, h), H(i, u), H(u, c), H(i, f), H(i, p), H(p, g), H(i, B), H(i, w), H(w, T), H(t, m), P && P.m(t, null), e[13](t), N || (se = [
4506
4506
  ye(
4507
- o,
4507
+ s,
4508
4508
  "click",
4509
4509
  /*handleTabChange*/
4510
4510
  e[9]
@@ -4531,10 +4531,10 @@ function eo(e) {
4531
4531
  },
4532
4532
  p(E, [M]) {
4533
4533
  M & /*$_*/
4534
- 128 && s !== (s = /*$_*/
4535
- E[7]("mysteryChest") + "") && ge(a, s), M & /*activeTab*/
4534
+ 128 && o !== (o = /*$_*/
4535
+ E[7]("mysteryChest") + "") && ge(a, o), M & /*activeTab*/
4536
4536
  64 && G(
4537
- o,
4537
+ s,
4538
4538
  "active",
4539
4539
  /*activeTab*/
4540
4540
  E[6] === x.MysteryChests
@@ -4569,20 +4569,20 @@ function eo(e) {
4569
4569
  i: I,
4570
4570
  o: I,
4571
4571
  d(E) {
4572
- E && k(t), P && P.d(), e[13](null), N = !1, te(oe);
4572
+ E && k(t), P && P.d(), e[13](null), N = !1, te(se);
4573
4573
  }
4574
4574
  };
4575
4575
  }
4576
- function to(e, t, r) {
4576
+ function ts(e, t, r) {
4577
4577
  let n;
4578
4578
  yr(e, ki, (m) => r(7, n = m));
4579
- let { clientstyling: i = "" } = t, { clientstylingurl: o = "" } = t, { translationurl: s = "" } = t, { mbsource: a } = t, { endpoint: h = "" } = t, { session: u = "" } = t, { lang: l = "en" } = t, c = !0, f = window.navigator.userAgent, p, y = x.MysteryChests;
4579
+ let { clientstyling: i = "" } = t, { clientstylingurl: s = "" } = t, { translationurl: o = "" } = t, { mbsource: a } = t, { endpoint: h = "" } = t, { session: u = "" } = t, { lang: l = "en" } = t, c = !0, f = window.navigator.userAgent, p, y = x.MysteryChests;
4580
4580
  const g = ".overlay { display: none; } .drawer { position: unset; transform: none; background: transparent; width: initial; height: initial; padding: 0; border-radius: 0; } .chests-header,.close,.chest-header__title { display: none } .mobile.drawer { padding: 0 } .back { height: 40px; width: 40px;} .chest-header {padding: 20px 0 0}", B = async (m) => {
4581
4581
  r(6, y = m.target.getAttribute("data-index")), y === x.MysteryChests && window.postMessage({ type: "OpenMysteryChestDrawer" });
4582
4582
  }, w = () => {
4583
4583
  Zi(l);
4584
4584
  }, L = () => {
4585
- fetch(s).then((S) => S.json()).then((S) => {
4585
+ fetch(o).then((S) => S.json()).then((S) => {
4586
4586
  Object.keys(S).forEach((N) => {
4587
4587
  Lt(N, S[N]);
4588
4588
  });
@@ -4598,16 +4598,16 @@ function to(e, t, r) {
4598
4598
  });
4599
4599
  }
4600
4600
  return e.$$set = (m) => {
4601
- "clientstyling" in m && r(10, i = m.clientstyling), "clientstylingurl" in m && r(0, o = m.clientstylingurl), "translationurl" in m && r(11, s = m.translationurl), "mbsource" in m && r(12, a = m.mbsource), "endpoint" in m && r(1, h = m.endpoint), "session" in m && r(2, u = m.session), "lang" in m && r(3, l = m.lang);
4601
+ "clientstyling" in m && r(10, i = m.clientstyling), "clientstylingurl" in m && r(0, s = m.clientstylingurl), "translationurl" in m && r(11, o = m.translationurl), "mbsource" in m && r(12, a = m.mbsource), "endpoint" in m && r(1, h = m.endpoint), "session" in m && r(2, u = m.session), "lang" in m && r(3, l = m.lang);
4602
4602
  }, e.$$.update = () => {
4603
4603
  e.$$.dirty & /*lang*/
4604
4604
  8 && l && w(), e.$$.dirty & /*translationurl*/
4605
- 2048 && s && L(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4605
+ 2048 && o && L(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4606
4606
  1040 && i && p && Xi(p, i), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4607
- 17 && o && p && Wi(p, o), e.$$.dirty & /*mbsource, customStylingContainer*/
4607
+ 17 && s && p && Wi(p, s), e.$$.dirty & /*mbsource, customStylingContainer*/
4608
4608
  4112 && a && p && zi(p, `${a}.Style`);
4609
4609
  }, [
4610
- o,
4610
+ s,
4611
4611
  h,
4612
4612
  u,
4613
4613
  l,
@@ -4618,18 +4618,18 @@ function to(e, t, r) {
4618
4618
  g,
4619
4619
  B,
4620
4620
  i,
4621
- s,
4621
+ o,
4622
4622
  a,
4623
4623
  T
4624
4624
  ];
4625
4625
  }
4626
- class ro extends $r {
4626
+ class rs extends $r {
4627
4627
  constructor(t) {
4628
4628
  super(), Mr(
4629
4629
  this,
4630
4630
  t,
4631
- to,
4632
- eo,
4631
+ ts,
4632
+ es,
4633
4633
  Nt,
4634
4634
  {
4635
4635
  clientstyling: 10,
@@ -4686,13 +4686,15 @@ class ro extends $r {
4686
4686
  this.$$set({ lang: t }), U();
4687
4687
  }
4688
4688
  }
4689
- Nr(ro, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {}, endpoint: {}, session: {}, lang: {} }, [], [], !0);
4689
+ Nr(rs, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {}, endpoint: {}, session: {}, lang: {} }, [], [], !0);
4690
4690
  export {
4691
4691
  V as $,
4692
- Xi as A,
4693
- Wi as B,
4694
- zi as C,
4695
- ro as D,
4692
+ os as A,
4693
+ is as B,
4694
+ Xi as C,
4695
+ Wi as D,
4696
+ zi as E,
4697
+ rs as F,
4696
4698
  $r as S,
4697
4699
  gr as a,
4698
4700
  re as b,
@@ -4700,7 +4702,7 @@ export {
4700
4702
  k as d,
4701
4703
  be as e,
4702
4704
  U as f,
4703
- oo as g,
4705
+ ss as g,
4704
4706
  Vi as h,
4705
4707
  Mr as i,
4706
4708
  $ as j,
@@ -4710,14 +4712,14 @@ export {
4710
4712
  I as n,
4711
4713
  wr as o,
4712
4714
  ye as p,
4713
- no as q,
4715
+ ns as q,
4714
4716
  lr as r,
4715
4717
  Nt as s,
4716
4718
  te as t,
4717
4719
  ge as u,
4718
4720
  Q as v,
4719
- je as w,
4720
- G as x,
4721
- so as y,
4722
- io as z
4721
+ yr as w,
4722
+ je as x,
4723
+ ki as y,
4724
+ G as z
4723
4725
  };