@everymatrix/casino-random-game 1.45.0 → 1.45.3

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,31 +1,31 @@
1
1
  var Wr = Object.defineProperty, Xr = Object.defineProperties;
2
2
  var zr = Object.getOwnPropertyDescriptors;
3
- var dt = Object.getOwnPropertySymbols;
3
+ var mt = Object.getOwnPropertySymbols;
4
4
  var Jr = Object.prototype.hasOwnProperty, Zr = Object.prototype.propertyIsEnumerable;
5
- var Le = (e, t, r) => t in e ? Wr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, mt = (e, t) => {
5
+ var Ce = (e, t, r) => t in e ? Wr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, dt = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- Jr.call(t, r) && Le(e, r, t[r]);
8
- if (dt)
9
- for (var r of dt(t))
10
- Zr.call(t, r) && Le(e, r, t[r]);
7
+ Jr.call(t, r) && Ce(e, r, t[r]);
8
+ if (mt)
9
+ for (var r of mt(t))
10
+ Zr.call(t, r) && Ce(e, r, t[r]);
11
11
  return e;
12
12
  }, pt = (e, t) => Xr(e, zr(t));
13
- var L = (e, t, r) => Le(e, typeof t != "symbol" ? t + "" : t, r);
13
+ var C = (e, t, r) => Ce(e, typeof t != "symbol" ? t + "" : t, r);
14
14
  var bt = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (h) => {
16
16
  try {
17
- a(r.next(h));
17
+ s(r.next(h));
18
18
  } catch (l) {
19
19
  i(l);
20
20
  }
21
- }, s = (h) => {
21
+ }, a = (h) => {
22
22
  try {
23
- a(r.throw(h));
23
+ s(r.throw(h));
24
24
  } catch (l) {
25
25
  i(l);
26
26
  }
27
- }, a = (h) => h.done ? n(h.value) : Promise.resolve(h.value).then(o, s);
28
- a((r = r.apply(e, t)).next());
27
+ }, s = (h) => h.done ? n(h.value) : Promise.resolve(h.value).then(o, a);
28
+ s((r = r.apply(e, t)).next());
29
29
  });
30
30
  function j() {
31
31
  }
@@ -45,7 +45,7 @@ function gt() {
45
45
  function Q(e) {
46
46
  e.forEach(Yt);
47
47
  }
48
- function st(e) {
48
+ function at(e) {
49
49
  return typeof e == "function";
50
50
  }
51
51
  function Qt(e, t) {
@@ -85,9 +85,9 @@ function en(e, t, r, n) {
85
85
  if (t.dirty === void 0)
86
86
  return i;
87
87
  if (typeof i == "object") {
88
- const o = [], s = Math.max(t.dirty.length, i.length);
89
- for (let a = 0; a < s; a += 1)
90
- o[a] = t.dirty[a] | i[a];
88
+ const o = [], a = Math.max(t.dirty.length, i.length);
89
+ for (let s = 0; s < a; s += 1)
90
+ o[s] = t.dirty[s] | i[s];
91
91
  return o;
92
92
  }
93
93
  return t.dirty | i;
@@ -96,8 +96,8 @@ function en(e, t, r, n) {
96
96
  }
97
97
  function tn(e, t, r, n, i, o) {
98
98
  if (i) {
99
- const s = Kt(t, r, n, o);
100
- e.p(s, i);
99
+ const a = Kt(t, r, n, o);
100
+ e.p(a, i);
101
101
  }
102
102
  }
103
103
  function rn(e) {
@@ -116,7 +116,7 @@ function nn(e, t, r) {
116
116
  const n = on(e);
117
117
  if (!n.getElementById(t)) {
118
118
  const i = E("style");
119
- i.id = t, i.textContent = r, sn(n, i);
119
+ i.id = t, i.textContent = r, an(n, i);
120
120
  }
121
121
  }
122
122
  function on(e) {
@@ -128,7 +128,7 @@ function on(e) {
128
128
  t
129
129
  ) : e.ownerDocument;
130
130
  }
131
- function sn(e, t) {
131
+ function an(e, t) {
132
132
  return v(
133
133
  /** @type {Document} */
134
134
  e.head || e,
@@ -141,7 +141,7 @@ function U(e, t, r) {
141
141
  function M(e) {
142
142
  e.parentNode && e.parentNode.removeChild(e);
143
143
  }
144
- function an(e, t) {
144
+ function sn(e, t) {
145
145
  for (let r = 0; r < e.length; r += 1)
146
146
  e[r] && e[r].d(t);
147
147
  }
@@ -185,54 +185,54 @@ function hn(e) {
185
185
  }
186
186
  ), t;
187
187
  }
188
- let at;
189
- function ce(e) {
190
- at = e;
188
+ let st;
189
+ function fe(e) {
190
+ st = e;
191
191
  }
192
192
  const te = [], ke = [];
193
193
  let re = [];
194
- const _t = [], fn = /* @__PURE__ */ Promise.resolve();
194
+ const _t = [], cn = /* @__PURE__ */ Promise.resolve();
195
195
  let Ve = !1;
196
- function cn() {
197
- Ve || (Ve = !0, fn.then(C));
196
+ function fn() {
197
+ Ve || (Ve = !0, cn.then(L));
198
198
  }
199
199
  function We(e) {
200
200
  re.push(e);
201
201
  }
202
- const Ce = /* @__PURE__ */ new Set();
202
+ const Le = /* @__PURE__ */ new Set();
203
203
  let K = 0;
204
- function C() {
204
+ function L() {
205
205
  if (K !== 0)
206
206
  return;
207
- const e = at;
207
+ const e = st;
208
208
  do {
209
209
  try {
210
210
  for (; K < te.length; ) {
211
211
  const t = te[K];
212
- K++, ce(t), dn(t.$$);
212
+ K++, fe(t), mn(t.$$);
213
213
  }
214
214
  } catch (t) {
215
215
  throw te.length = 0, K = 0, t;
216
216
  }
217
- for (ce(null), te.length = 0, K = 0; ke.length; ) ke.pop()();
217
+ for (fe(null), te.length = 0, K = 0; ke.length; ) ke.pop()();
218
218
  for (let t = 0; t < re.length; t += 1) {
219
219
  const r = re[t];
220
- Ce.has(r) || (Ce.add(r), r());
220
+ Le.has(r) || (Le.add(r), r());
221
221
  }
222
222
  re.length = 0;
223
223
  } while (te.length);
224
224
  for (; _t.length; )
225
225
  _t.pop()();
226
- Ve = !1, Ce.clear(), ce(e);
226
+ Ve = !1, Le.clear(), fe(e);
227
227
  }
228
- function dn(e) {
228
+ function mn(e) {
229
229
  if (e.fragment !== null) {
230
230
  e.update(), Q(e.before_update);
231
231
  const t = e.dirty;
232
232
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(We);
233
233
  }
234
234
  }
235
- function mn(e) {
235
+ function dn(e) {
236
236
  const t = [], r = [];
237
237
  re.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), re = t;
238
238
  }
@@ -249,7 +249,7 @@ function pn() {
249
249
  function bn() {
250
250
  Z.r || Q(Z.c), Z = Z.p;
251
251
  }
252
- function de(e, t) {
252
+ function me(e, t) {
253
253
  e && e.i && (ve.delete(e), e.i(t));
254
254
  }
255
255
  function Xe(e, t, r, n) {
@@ -266,20 +266,20 @@ function xt(e) {
266
266
  function gn(e, t, r) {
267
267
  const { fragment: n, after_update: i } = e.$$;
268
268
  n && n.m(t, r), We(() => {
269
- const o = e.$$.on_mount.map(Yt).filter(st);
269
+ const o = e.$$.on_mount.map(Yt).filter(at);
270
270
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Q(o), e.$$.on_mount = [];
271
271
  }), i.forEach(We);
272
272
  }
273
273
  function yn(e, t) {
274
274
  const r = e.$$;
275
- r.fragment !== null && (mn(r.after_update), Q(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
275
+ r.fragment !== null && (dn(r.after_update), Q(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
276
276
  }
277
277
  function vn(e, t) {
278
- e.$$.dirty[0] === -1 && (te.push(e), cn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
278
+ e.$$.dirty[0] === -1 && (te.push(e), fn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
279
279
  }
280
- function _n(e, t, r, n, i, o, s = null, a = [-1]) {
281
- const h = at;
282
- ce(e);
280
+ function _n(e, t, r, n, i, o, a = null, s = [-1]) {
281
+ const h = st;
282
+ fe(e);
283
283
  const l = e.$$ = {
284
284
  fragment: null,
285
285
  ctx: [],
@@ -297,47 +297,47 @@ function _n(e, t, r, n, i, o, s = null, a = [-1]) {
297
297
  context: new Map(t.context || (h ? h.$$.context : [])),
298
298
  // everything else
299
299
  callbacks: gt(),
300
- dirty: a,
300
+ dirty: s,
301
301
  skip_bound: !1,
302
302
  root: t.target || h.$$.root
303
303
  };
304
- s && s(l.root);
304
+ a && a(l.root);
305
305
  let u = !1;
306
- if (l.ctx = r ? r(e, t.props || {}, (c, f, ...d) => {
307
- const m = d.length ? d[0] : f;
308
- return l.ctx && i(l.ctx[c], l.ctx[c] = m) && (!l.skip_bound && l.bound[c] && l.bound[c](m), u && vn(e, c)), f;
306
+ if (l.ctx = r ? r(e, t.props || {}, (f, c, ...m) => {
307
+ const d = m.length ? m[0] : c;
308
+ return l.ctx && i(l.ctx[f], l.ctx[f] = d) && (!l.skip_bound && l.bound[f] && l.bound[f](d), u && vn(e, f)), c;
309
309
  }) : [], l.update(), u = !0, Q(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
310
310
  if (t.hydrate) {
311
- const c = ln(t.target);
312
- l.fragment && l.fragment.l(c), c.forEach(M);
311
+ const f = ln(t.target);
312
+ l.fragment && l.fragment.l(f), f.forEach(M);
313
313
  } else
314
314
  l.fragment && l.fragment.c();
315
- t.intro && de(e.$$.fragment), gn(e, t.target, t.anchor), C();
315
+ t.intro && me(e.$$.fragment), gn(e, t.target, t.anchor), L();
316
316
  }
317
- ce(h);
317
+ fe(h);
318
318
  }
319
319
  let er;
320
320
  typeof HTMLElement == "function" && (er = class extends HTMLElement {
321
321
  constructor(t, r, n) {
322
322
  super();
323
323
  /** The Svelte component constructor */
324
- L(this, "$$ctor");
324
+ C(this, "$$ctor");
325
325
  /** Slots */
326
- L(this, "$$s");
326
+ C(this, "$$s");
327
327
  /** The Svelte component instance */
328
- L(this, "$$c");
328
+ C(this, "$$c");
329
329
  /** Whether or not the custom element is connected */
330
- L(this, "$$cn", !1);
330
+ C(this, "$$cn", !1);
331
331
  /** Component props data */
332
- L(this, "$$d", {});
332
+ C(this, "$$d", {});
333
333
  /** `true` if currently in the process of reflecting component props back to attributes */
334
- L(this, "$$r", !1);
334
+ C(this, "$$r", !1);
335
335
  /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
336
- L(this, "$$p_d", {});
336
+ C(this, "$$p_d", {});
337
337
  /** @type {Record<string, Function[]>} Event listeners */
338
- L(this, "$$l", {});
338
+ C(this, "$$l", {});
339
339
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
340
- L(this, "$$l_u", /* @__PURE__ */ new Map());
340
+ C(this, "$$l_u", /* @__PURE__ */ new Map());
341
341
  this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
342
342
  }
343
343
  addEventListener(t, r, n) {
@@ -358,20 +358,20 @@ typeof HTMLElement == "function" && (er = class extends HTMLElement {
358
358
  if (this.$$cn = !0, !this.$$c) {
359
359
  let t = function(o) {
360
360
  return () => {
361
- let s;
361
+ let a;
362
362
  return {
363
363
  c: function() {
364
- s = E("slot"), o !== "default" && g(s, "name", o);
364
+ a = E("slot"), o !== "default" && g(a, "name", o);
365
365
  },
366
366
  /**
367
367
  * @param {HTMLElement} target
368
368
  * @param {HTMLElement} [anchor]
369
369
  */
370
370
  m: function(l, u) {
371
- U(l, s, u);
371
+ U(l, a, u);
372
372
  },
373
373
  d: function(l) {
374
- l && M(s);
374
+ l && M(a);
375
375
  }
376
376
  };
377
377
  };
@@ -382,14 +382,14 @@ typeof HTMLElement == "function" && (er = class extends HTMLElement {
382
382
  for (const o of this.$$s)
383
383
  o in n && (r[o] = [t(o)]);
384
384
  for (const o of this.attributes) {
385
- const s = this.$$g_p(o.name);
386
- s in this.$$d || (this.$$d[s] = _e(s, o.value, this.$$p_d, "toProp"));
385
+ const a = this.$$g_p(o.name);
386
+ a in this.$$d || (this.$$d[a] = _e(a, o.value, this.$$p_d, "toProp"));
387
387
  }
388
388
  for (const o in this.$$p_d)
389
389
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
390
390
  this.$$c = new this.$$ctor({
391
391
  target: this.shadowRoot || this,
392
- props: pt(mt({}, this.$$d), {
392
+ props: pt(dt({}, this.$$d), {
393
393
  $$slots: r,
394
394
  $$scope: {
395
395
  ctx: []
@@ -400,21 +400,21 @@ typeof HTMLElement == "function" && (er = class extends HTMLElement {
400
400
  this.$$r = !0;
401
401
  for (const o in this.$$p_d)
402
402
  if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
403
- const s = _e(
403
+ const a = _e(
404
404
  o,
405
405
  this.$$d[o],
406
406
  this.$$p_d,
407
407
  "toAttribute"
408
408
  );
409
- s == null ? this.removeAttribute(this.$$p_d[o].attribute || o) : this.setAttribute(this.$$p_d[o].attribute || o, s);
409
+ a == null ? this.removeAttribute(this.$$p_d[o].attribute || o) : this.setAttribute(this.$$p_d[o].attribute || o, a);
410
410
  }
411
411
  this.$$r = !1;
412
412
  };
413
413
  this.$$c.$$.after_update.push(i), i();
414
414
  for (const o in this.$$l)
415
- for (const s of this.$$l[o]) {
416
- const a = this.$$c.$on(o, s);
417
- this.$$l_u.set(s, a);
415
+ for (const a of this.$$l[o]) {
416
+ const s = this.$$c.$on(o, a);
417
+ this.$$l_u.set(a, s);
418
418
  }
419
419
  this.$$l = {};
420
420
  }
@@ -468,35 +468,35 @@ function _e(e, t, r, n) {
468
468
  }
469
469
  }
470
470
  function xn(e, t, r, n, i, o) {
471
- let s = class extends er {
471
+ let a = class extends er {
472
472
  constructor() {
473
473
  super(e, r, i), this.$$p_d = t;
474
474
  }
475
475
  static get observedAttributes() {
476
476
  return Object.keys(t).map(
477
- (a) => (t[a].attribute || a).toLowerCase()
477
+ (s) => (t[s].attribute || s).toLowerCase()
478
478
  );
479
479
  }
480
480
  };
481
- return Object.keys(t).forEach((a) => {
482
- Object.defineProperty(s.prototype, a, {
481
+ return Object.keys(t).forEach((s) => {
482
+ Object.defineProperty(a.prototype, s, {
483
483
  get() {
484
- return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
484
+ return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
485
485
  },
486
486
  set(h) {
487
487
  var l;
488
- h = _e(a, h, t), this.$$d[a] = h, (l = this.$$c) == null || l.$set({ [a]: h });
488
+ h = _e(s, h, t), this.$$d[s] = h, (l = this.$$c) == null || l.$set({ [s]: h });
489
489
  }
490
490
  });
491
- }), n.forEach((a) => {
492
- Object.defineProperty(s.prototype, a, {
491
+ }), n.forEach((s) => {
492
+ Object.defineProperty(a.prototype, s, {
493
493
  get() {
494
494
  var h;
495
- return (h = this.$$c) == null ? void 0 : h[a];
495
+ return (h = this.$$c) == null ? void 0 : h[s];
496
496
  }
497
497
  });
498
498
  }), e.element = /** @type {any} */
499
- s, s;
499
+ a, a;
500
500
  }
501
501
  class En {
502
502
  constructor() {
@@ -507,7 +507,7 @@ class En {
507
507
  *
508
508
  * @type {any}
509
509
  */
510
- L(this, "$$");
510
+ C(this, "$$");
511
511
  /**
512
512
  * ### PRIVATE API
513
513
  *
@@ -515,7 +515,7 @@ class En {
515
515
  *
516
516
  * @type {any}
517
517
  */
518
- L(this, "$$set");
518
+ C(this, "$$set");
519
519
  }
520
520
  /** @returns {void} */
521
521
  $destroy() {
@@ -528,7 +528,7 @@ class En {
528
528
  * @returns {() => void}
529
529
  */
530
530
  $on(t, r) {
531
- if (!st(r))
531
+ if (!at(r))
532
532
  return j;
533
533
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
534
534
  return n.push(r), () => {
@@ -592,16 +592,16 @@ function Je(e) {
592
592
  function Ze(e, t) {
593
593
  var r = typeof Symbol == "function" && e[Symbol.iterator];
594
594
  if (!r) return e;
595
- var n = r.call(e), i, o = [], s;
595
+ var n = r.call(e), i, o = [], a;
596
596
  try {
597
597
  for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; ) o.push(i.value);
598
- } catch (a) {
599
- s = { error: a };
598
+ } catch (s) {
599
+ a = { error: s };
600
600
  } finally {
601
601
  try {
602
602
  i && !i.done && (r = n.return) && r.call(n);
603
603
  } finally {
604
- if (s) throw s.error;
604
+ if (a) throw a.error;
605
605
  }
606
606
  }
607
607
  return o;
@@ -643,11 +643,11 @@ var Ae = function() {
643
643
  var t, r, n, i, o;
644
644
  if (!this.closed) {
645
645
  this.closed = !0;
646
- var s = this._parentage;
647
- if (s)
648
- if (this._parentage = null, Array.isArray(s))
646
+ var a = this._parentage;
647
+ if (a)
648
+ if (this._parentage = null, Array.isArray(a))
649
649
  try {
650
- for (var a = Je(s), h = a.next(); !h.done; h = a.next()) {
650
+ for (var s = Je(a), h = s.next(); !h.done; h = s.next()) {
651
651
  var l = h.value;
652
652
  l.remove(this);
653
653
  }
@@ -655,13 +655,13 @@ var Ae = function() {
655
655
  t = { error: b };
656
656
  } finally {
657
657
  try {
658
- h && !h.done && (r = a.return) && r.call(a);
658
+ h && !h.done && (r = s.return) && r.call(s);
659
659
  } finally {
660
660
  if (t) throw t.error;
661
661
  }
662
662
  }
663
663
  else
664
- s.remove(this);
664
+ a.remove(this);
665
665
  var u = this.initialTeardown;
666
666
  if (V(u))
667
667
  try {
@@ -669,14 +669,14 @@ var Ae = function() {
669
669
  } catch (b) {
670
670
  o = b instanceof Me ? b.errors : [b];
671
671
  }
672
- var c = this._finalizers;
673
- if (c) {
672
+ var f = this._finalizers;
673
+ if (f) {
674
674
  this._finalizers = null;
675
675
  try {
676
- for (var f = Je(c), d = f.next(); !d.done; d = f.next()) {
677
- var m = d.value;
676
+ for (var c = Je(f), m = c.next(); !m.done; m = c.next()) {
677
+ var d = m.value;
678
678
  try {
679
- Et(m);
679
+ Et(d);
680
680
  } catch (b) {
681
681
  o = o != null ? o : [], b instanceof Me ? o = ne(ne([], Ze(o)), Ze(b.errors)) : o.push(b);
682
682
  }
@@ -685,7 +685,7 @@ var Ae = function() {
685
685
  n = { error: b };
686
686
  } finally {
687
687
  try {
688
- d && !d.done && (i = f.return) && i.call(f);
688
+ m && !m.done && (i = c.return) && i.call(c);
689
689
  } finally {
690
690
  if (n) throw n.error;
691
691
  }
@@ -758,7 +758,7 @@ function wt() {
758
758
  function xe(e) {
759
759
  e();
760
760
  }
761
- var sr = function(e) {
761
+ var ar = function(e) {
762
762
  W(t, e);
763
763
  function t(r) {
764
764
  var n = e.call(this) || this;
@@ -827,27 +827,27 @@ var Bn = function() {
827
827
  }(), Qe = function(e) {
828
828
  W(t, e);
829
829
  function t(r, n, i) {
830
- var o = e.call(this) || this, s;
830
+ var o = e.call(this) || this, a;
831
831
  if (V(r) || !r)
832
- s = {
832
+ a = {
833
833
  next: r != null ? r : void 0,
834
834
  error: n != null ? n : void 0,
835
835
  complete: i != null ? i : void 0
836
836
  };
837
837
  else {
838
- var a;
839
- o && ir.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
838
+ var s;
839
+ o && ir.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
840
840
  return o.unsubscribe();
841
- }, s = {
842
- next: r.next && Ge(r.next, a),
843
- error: r.error && Ge(r.error, a),
844
- complete: r.complete && Ge(r.complete, a)
845
- }) : s = r;
841
+ }, a = {
842
+ next: r.next && Ge(r.next, s),
843
+ error: r.error && Ge(r.error, s),
844
+ complete: r.complete && Ge(r.complete, s)
845
+ }) : a = r;
846
846
  }
847
- return o.destination = new Bn(s), o;
847
+ return o.destination = new Bn(a), o;
848
848
  }
849
849
  return t;
850
- }(sr);
850
+ }(ar);
851
851
  function ge(e) {
852
852
  Tn(e);
853
853
  }
@@ -880,10 +880,10 @@ var St = function() {
880
880
  var r = new e();
881
881
  return r.source = this, r.operator = t, r;
882
882
  }, e.prototype.subscribe = function(t, r, n) {
883
- var i = this, o = Ln(t) ? t : new Qe(t, r, n);
883
+ var i = this, o = Cn(t) ? t : new Qe(t, r, n);
884
884
  return xe(function() {
885
- var s = i, a = s.operator, h = s.source;
886
- o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
885
+ var a = i, s = a.operator, h = a.source;
886
+ o.add(s ? s.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
887
887
  }), o;
888
888
  }, e.prototype._trySubscribe = function(t) {
889
889
  try {
@@ -894,18 +894,18 @@ var St = function() {
894
894
  }, e.prototype.forEach = function(t, r) {
895
895
  var n = this;
896
896
  return r = Tt(r), new r(function(i, o) {
897
- var s = new Qe({
898
- next: function(a) {
897
+ var a = new Qe({
898
+ next: function(s) {
899
899
  try {
900
- t(a);
900
+ t(s);
901
901
  } catch (h) {
902
- o(h), s.unsubscribe();
902
+ o(h), a.unsubscribe();
903
903
  }
904
904
  },
905
905
  error: o,
906
906
  complete: i
907
907
  });
908
- n.subscribe(s);
908
+ n.subscribe(a);
909
909
  });
910
910
  }, e.prototype._subscribe = function(t) {
911
911
  var r;
@@ -920,10 +920,10 @@ var St = function() {
920
920
  var r = this;
921
921
  return t = Tt(t), new t(function(n, i) {
922
922
  var o;
923
- r.subscribe(function(s) {
924
- return o = s;
925
- }, function(s) {
926
- return i(s);
923
+ r.subscribe(function(a) {
924
+ return o = a;
925
+ }, function(a) {
926
+ return i(a);
927
927
  }, function() {
928
928
  return n(o);
929
929
  });
@@ -939,14 +939,14 @@ function Tt(e) {
939
939
  function Nn(e) {
940
940
  return e && V(e.next) && V(e.error) && V(e.complete);
941
941
  }
942
- function Ln(e) {
943
- return e && e instanceof sr || Nn(e) && nr(e);
942
+ function Cn(e) {
943
+ return e && e instanceof ar || Nn(e) && nr(e);
944
944
  }
945
- var Cn = tr(function(e) {
945
+ var Ln = tr(function(e) {
946
946
  return function() {
947
947
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
948
948
  };
949
- }), ar = function(e) {
949
+ }), sr = function(e) {
950
950
  W(t, e);
951
951
  function t() {
952
952
  var r = e.call(this) || this;
@@ -957,7 +957,7 @@ var Cn = tr(function(e) {
957
957
  return n.operator = r, n;
958
958
  }, t.prototype._throwIfClosed = function() {
959
959
  if (this.closed)
960
- throw new Cn();
960
+ throw new Ln();
961
961
  }, t.prototype.next = function(r) {
962
962
  var n = this;
963
963
  xe(function() {
@@ -965,15 +965,15 @@ var Cn = tr(function(e) {
965
965
  if (n._throwIfClosed(), !n.isStopped) {
966
966
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
967
967
  try {
968
- for (var s = Je(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
969
- var h = a.value;
968
+ for (var a = Je(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
969
+ var h = s.value;
970
970
  h.next(r);
971
971
  }
972
972
  } catch (l) {
973
973
  i = { error: l };
974
974
  } finally {
975
975
  try {
976
- a && !a.done && (o = s.return) && o.call(s);
976
+ s && !s.done && (o = a.return) && o.call(a);
977
977
  } finally {
978
978
  if (i) throw i.error;
979
979
  }
@@ -1012,13 +1012,13 @@ var Cn = tr(function(e) {
1012
1012
  }, t.prototype._subscribe = function(r) {
1013
1013
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1014
1014
  }, t.prototype._innerSubscribe = function(r) {
1015
- var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
1016
- return o || s ? rr : (this.currentObservers = null, a.push(r), new Ae(function() {
1017
- n.currentObservers = null, Ye(a, r);
1015
+ var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
1016
+ return o || a ? rr : (this.currentObservers = null, s.push(r), new Ae(function() {
1017
+ n.currentObservers = null, Ye(s, r);
1018
1018
  }));
1019
1019
  }, t.prototype._checkFinalizedStatuses = function(r) {
1020
- var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
1021
- i ? r.error(o) : s && r.complete();
1020
+ var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
1021
+ i ? r.error(o) : a && r.complete();
1022
1022
  }, t.prototype.asObservable = function() {
1023
1023
  var r = new St();
1024
1024
  return r.source = this, r;
@@ -1044,7 +1044,7 @@ var Cn = tr(function(e) {
1044
1044
  var n, i;
1045
1045
  return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : rr;
1046
1046
  }, t;
1047
- }(ar), ur = {
1047
+ }(sr), ur = {
1048
1048
  now: function() {
1049
1049
  return (ur.delegate || Date).now();
1050
1050
  },
@@ -1057,22 +1057,22 @@ var Cn = tr(function(e) {
1057
1057
  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;
1058
1058
  }
1059
1059
  return t.prototype.next = function(r) {
1060
- var n = this, i = n.isStopped, o = n._buffer, s = n._infiniteTimeWindow, a = n._timestampProvider, h = n._windowTime;
1061
- i || (o.push(r), !s && o.push(a.now() + h)), this._trimBuffer(), e.prototype.next.call(this, r);
1060
+ var n = this, i = n.isStopped, o = n._buffer, a = n._infiniteTimeWindow, s = n._timestampProvider, h = n._windowTime;
1061
+ i || (o.push(r), !a && o.push(s.now() + h)), this._trimBuffer(), e.prototype.next.call(this, r);
1062
1062
  }, t.prototype._subscribe = function(r) {
1063
1063
  this._throwIfClosed(), this._trimBuffer();
1064
- 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)
1065
- r.next(a[h]);
1064
+ for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, a = i._buffer, s = a.slice(), h = 0; h < s.length && !r.closed; h += o ? 1 : 2)
1065
+ r.next(s[h]);
1066
1066
  return this._checkFinalizedStatuses(r), n;
1067
1067
  }, t.prototype._trimBuffer = function() {
1068
- var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, s = r._infiniteTimeWindow, a = (s ? 1 : 2) * n;
1069
- if (n < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
1068
+ var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, a = r._infiniteTimeWindow, s = (a ? 1 : 2) * n;
1069
+ if (n < 1 / 0 && s < o.length && o.splice(0, o.length - s), !a) {
1070
1070
  for (var h = i.now(), l = 0, u = 1; u < o.length && o[u] <= h; u += 2)
1071
1071
  l = u;
1072
1072
  l && o.splice(0, l + 1);
1073
1073
  }
1074
1074
  }, t;
1075
- }(ar);
1075
+ }(sr);
1076
1076
  const Bt = [], At = {}, Gn = (e, t = 0) => {
1077
1077
  if (Bt.indexOf(e) == -1) {
1078
1078
  const r = new Mn(t);
@@ -1088,8 +1088,8 @@ function Un(e, t) {
1088
1088
  function Pe(e, t = j) {
1089
1089
  let r;
1090
1090
  const n = /* @__PURE__ */ new Set();
1091
- function i(a) {
1092
- if (Qt(e, a) && (e = a, r)) {
1091
+ function i(s) {
1092
+ if (Qt(e, s) && (e = s, r)) {
1093
1093
  const h = !ee.length;
1094
1094
  for (const l of n)
1095
1095
  l[1](), ee.push(l, e);
@@ -1100,45 +1100,45 @@ function Pe(e, t = j) {
1100
1100
  }
1101
1101
  }
1102
1102
  }
1103
- function o(a) {
1104
- i(a(e));
1103
+ function o(s) {
1104
+ i(s(e));
1105
1105
  }
1106
- function s(a, h = j) {
1107
- const l = [a, h];
1108
- return n.add(l), n.size === 1 && (r = t(i, o) || j), a(e), () => {
1106
+ function a(s, h = j) {
1107
+ const l = [s, h];
1108
+ return n.add(l), n.size === 1 && (r = t(i, o) || j), s(e), () => {
1109
1109
  n.delete(l), n.size === 0 && r && (r(), r = null);
1110
1110
  };
1111
1111
  }
1112
- return { set: i, update: o, subscribe: s };
1112
+ return { set: i, update: o, subscribe: a };
1113
1113
  }
1114
1114
  function ue(e, t, r) {
1115
1115
  const n = !Array.isArray(e), i = n ? [e] : e;
1116
1116
  if (!i.every(Boolean))
1117
1117
  throw new Error("derived() expects stores as input, got a falsy value");
1118
1118
  const o = t.length < 2;
1119
- return Un(r, (s, a) => {
1119
+ return Un(r, (a, s) => {
1120
1120
  let h = !1;
1121
1121
  const l = [];
1122
- let u = 0, c = j;
1123
- const f = () => {
1122
+ let u = 0, f = j;
1123
+ const c = () => {
1124
1124
  if (u)
1125
1125
  return;
1126
- c();
1127
- const m = t(n ? l[0] : l, s, a);
1128
- o ? s(m) : c = st(m) ? m : j;
1129
- }, d = i.map(
1130
- (m, b) => qt(
1131
- m,
1126
+ f();
1127
+ const d = t(n ? l[0] : l, a, s);
1128
+ o ? a(d) : f = at(d) ? d : j;
1129
+ }, m = i.map(
1130
+ (d, b) => qt(
1131
+ d,
1132
1132
  (H) => {
1133
- l[b] = H, u &= ~(1 << b), h && f();
1133
+ l[b] = H, u &= ~(1 << b), h && c();
1134
1134
  },
1135
1135
  () => {
1136
1136
  u |= 1 << b;
1137
1137
  }
1138
1138
  )
1139
1139
  );
1140
- return h = !0, f(), function() {
1141
- Q(d), c(), h = !1;
1140
+ return h = !0, c(), function() {
1141
+ Q(m), f(), h = !1;
1142
1142
  };
1143
1143
  });
1144
1144
  }
@@ -1162,12 +1162,12 @@ function Wn(e) {
1162
1162
  function Xn(e) {
1163
1163
  return Array.isArray(e) ? [] : {};
1164
1164
  }
1165
- function me(e, t) {
1165
+ function de(e, t) {
1166
1166
  return t.clone !== !1 && t.isMergeableObject(e) ? ie(Xn(e), e, t) : e;
1167
1167
  }
1168
1168
  function zn(e, t, r) {
1169
1169
  return e.concat(t).map(function(n) {
1170
- return me(n, r);
1170
+ return de(n, r);
1171
1171
  });
1172
1172
  }
1173
1173
  function Jn(e, t) {
@@ -1197,15 +1197,15 @@ function Yn(e, t) {
1197
1197
  function Qn(e, t, r) {
1198
1198
  var n = {};
1199
1199
  return r.isMergeableObject(e) && Pt(e).forEach(function(i) {
1200
- n[i] = me(e[i], r);
1200
+ n[i] = de(e[i], r);
1201
1201
  }), Pt(t).forEach(function(i) {
1202
- Yn(e, i) || (lr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Jn(i, r)(e[i], t[i], r) : n[i] = me(t[i], r));
1202
+ Yn(e, i) || (lr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Jn(i, r)(e[i], t[i], r) : n[i] = de(t[i], r));
1203
1203
  }), n;
1204
1204
  }
1205
1205
  function ie(e, t, r) {
1206
- r = r || {}, r.arrayMerge = r.arrayMerge || zn, r.isMergeableObject = r.isMergeableObject || Fn, r.cloneUnlessOtherwiseSpecified = me;
1206
+ r = r || {}, r.arrayMerge = r.arrayMerge || zn, r.isMergeableObject = r.isMergeableObject || Fn, r.cloneUnlessOtherwiseSpecified = de;
1207
1207
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1208
- return o ? n ? r.arrayMerge(e, t, r) : Qn(e, t, r) : me(t, r);
1208
+ return o ? n ? r.arrayMerge(e, t, r) : Qn(e, t, r) : de(t, r);
1209
1209
  }
1210
1210
  ie.all = function(t, r) {
1211
1211
  if (!Array.isArray(t))
@@ -1237,16 +1237,16 @@ function ti(e) {
1237
1237
  function hr(e) {
1238
1238
  return e.type === w.number;
1239
1239
  }
1240
- function fr(e) {
1240
+ function cr(e) {
1241
1241
  return e.type === w.date;
1242
1242
  }
1243
- function cr(e) {
1243
+ function fr(e) {
1244
1244
  return e.type === w.time;
1245
1245
  }
1246
- function dr(e) {
1246
+ function mr(e) {
1247
1247
  return e.type === w.select;
1248
1248
  }
1249
- function mr(e) {
1249
+ function dr(e) {
1250
1250
  return e.type === w.plural;
1251
1251
  }
1252
1252
  function ri(e) {
@@ -1354,25 +1354,25 @@ function ii(e) {
1354
1354
  }), t;
1355
1355
  }
1356
1356
  var oi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1357
- function si(e) {
1357
+ function ai(e) {
1358
1358
  if (e.length === 0)
1359
1359
  throw new Error("Number skeleton cannot be empty");
1360
- for (var t = e.split(oi).filter(function(f) {
1361
- return f.length > 0;
1360
+ for (var t = e.split(oi).filter(function(c) {
1361
+ return c.length > 0;
1362
1362
  }), r = [], n = 0, i = t; n < i.length; n++) {
1363
- var o = i[n], s = o.split("/");
1364
- if (s.length === 0)
1363
+ var o = i[n], a = o.split("/");
1364
+ if (a.length === 0)
1365
1365
  throw new Error("Invalid number skeleton");
1366
- for (var a = s[0], h = s.slice(1), l = 0, u = h; l < u.length; l++) {
1367
- var c = u[l];
1368
- if (c.length === 0)
1366
+ for (var s = a[0], h = a.slice(1), l = 0, u = h; l < u.length; l++) {
1367
+ var f = u[l];
1368
+ if (f.length === 0)
1369
1369
  throw new Error("Invalid number skeleton");
1370
1370
  }
1371
- r.push({ stem: a, options: h });
1371
+ r.push({ stem: s, options: h });
1372
1372
  }
1373
1373
  return r;
1374
1374
  }
1375
- function ai(e) {
1375
+ function si(e) {
1376
1376
  return e.replace(/^(.*?)-/, "");
1377
1377
  }
1378
1378
  var It = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, yr = /^(@+)?(\+|#+)?[rs]?$/g, ui = /(\*)(0+)|(#+)(0+)|(0+)/g, vr = /^(0+)$/;
@@ -1464,7 +1464,7 @@ function hi(e) {
1464
1464
  continue;
1465
1465
  case "measure-unit":
1466
1466
  case "unit":
1467
- t.style = "unit", t.unit = ai(i.options[0]);
1467
+ t.style = "unit", t.unit = si(i.options[0]);
1468
1468
  continue;
1469
1469
  case "compact-short":
1470
1470
  case "K":
@@ -1526,13 +1526,13 @@ function hi(e) {
1526
1526
  case "integer-width":
1527
1527
  if (i.options.length > 1)
1528
1528
  throw new RangeError("integer-width stems only accept a single optional option");
1529
- i.options[0].replace(ui, function(h, l, u, c, f, d) {
1529
+ i.options[0].replace(ui, function(h, l, u, f, c, m) {
1530
1530
  if (l)
1531
1531
  t.minimumIntegerDigits = u.length;
1532
1532
  else {
1533
- if (c && f)
1533
+ if (f && c)
1534
1534
  throw new Error("We currently do not support maximum integer digits");
1535
- if (d)
1535
+ if (m)
1536
1536
  throw new Error("We currently do not support exact integer digits");
1537
1537
  }
1538
1538
  return "";
@@ -1546,8 +1546,8 @@ function hi(e) {
1546
1546
  if (It.test(i.stem)) {
1547
1547
  if (i.options.length > 1)
1548
1548
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1549
- i.stem.replace(It, function(h, l, u, c, f, d) {
1550
- return u === "*" ? t.minimumFractionDigits = l.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && d ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + d.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1549
+ i.stem.replace(It, function(h, l, u, f, c, m) {
1550
+ return u === "*" ? t.minimumFractionDigits = l.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && m ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + m.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1551
1551
  });
1552
1552
  var o = i.options[0];
1553
1553
  o === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = x(x({}, t), Ot(o)));
@@ -1557,10 +1557,10 @@ function hi(e) {
1557
1557
  t = x(x({}, t), Ot(i.stem));
1558
1558
  continue;
1559
1559
  }
1560
- var s = _r(i.stem);
1561
- s && (t = x(x({}, t), s));
1562
- var a = li(i.stem);
1560
+ var a = _r(i.stem);
1563
1561
  a && (t = x(x({}, t), a));
1562
+ var s = li(i.stem);
1563
+ s && (t = x(x({}, t), s));
1564
1564
  }
1565
1565
  return t;
1566
1566
  }
@@ -2973,22 +2973,22 @@ var ye = {
2973
2973
  "h"
2974
2974
  ]
2975
2975
  };
2976
- function fi(e, t) {
2976
+ function ci(e, t) {
2977
2977
  for (var r = "", n = 0; n < e.length; n++) {
2978
2978
  var i = e.charAt(n);
2979
2979
  if (i === "j") {
2980
2980
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2981
2981
  o++, n++;
2982
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", l = ci(t);
2983
- for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
2982
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", l = fi(t);
2983
+ for ((l == "H" || l == "k") && (s = 0); s-- > 0; )
2984
2984
  r += h;
2985
- for (; s-- > 0; )
2985
+ for (; a-- > 0; )
2986
2986
  r = l + r;
2987
2987
  } else i === "J" ? r += "H" : r += i;
2988
2988
  }
2989
2989
  return r;
2990
2990
  }
2991
- function ci(e) {
2991
+ function fi(e) {
2992
2992
  var t = e.hourCycle;
2993
2993
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2994
2994
  e.hourCycles && // @ts-ignore
@@ -3010,7 +3010,7 @@ function ci(e) {
3010
3010
  var i = ye[n || ""] || ye[r || ""] || ye["".concat(r, "-001")] || ye["001"];
3011
3011
  return i[0];
3012
3012
  }
3013
- var Ue, di = new RegExp("^".concat(gr.source, "*")), mi = new RegExp("".concat(gr.source, "*$"));
3013
+ var Ue, mi = new RegExp("^".concat(gr.source, "*")), di = new RegExp("".concat(gr.source, "*$"));
3014
3014
  function _(e, t) {
3015
3015
  return { start: e, end: t };
3016
3016
  }
@@ -3023,7 +3023,7 @@ try {
3023
3023
  } catch (e) {
3024
3024
  Ke = !1;
3025
3025
  }
3026
- var Lt = pi ? (
3026
+ var Ct = pi ? (
3027
3027
  // Native
3028
3028
  function(t, r, n) {
3029
3029
  return t.startsWith(r, n);
@@ -3038,21 +3038,21 @@ var Lt = pi ? (
3038
3038
  function() {
3039
3039
  for (var t = [], r = 0; r < arguments.length; r++)
3040
3040
  t[r] = arguments[r];
3041
- for (var n = "", i = t.length, o = 0, s; i > o; ) {
3042
- if (s = t[o++], s > 1114111)
3043
- throw RangeError(s + " is not a valid code point");
3044
- n += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
3041
+ for (var n = "", i = t.length, o = 0, a; i > o; ) {
3042
+ if (a = t[o++], a > 1114111)
3043
+ throw RangeError(a + " is not a valid code point");
3044
+ n += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
3045
3045
  }
3046
3046
  return n;
3047
3047
  }
3048
- ), Ct = (
3048
+ ), Lt = (
3049
3049
  // native
3050
3050
  gi ? Object.fromEntries : (
3051
3051
  // Ponyfill
3052
3052
  function(t) {
3053
3053
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
3054
- var o = i[n], s = o[0], a = o[1];
3055
- r[s] = a;
3054
+ var o = i[n], a = o[0], s = o[1];
3055
+ r[a] = s;
3056
3056
  }
3057
3057
  return r;
3058
3058
  }
@@ -3079,7 +3079,7 @@ var Lt = pi ? (
3079
3079
  ) : (
3080
3080
  // Ponyfill
3081
3081
  function(t) {
3082
- return t.replace(di, "");
3082
+ return t.replace(mi, "");
3083
3083
  }
3084
3084
  ), Ti = _i ? (
3085
3085
  // Native
@@ -3089,7 +3089,7 @@ var Lt = pi ? (
3089
3089
  ) : (
3090
3090
  // Ponyfill
3091
3091
  function(t) {
3092
- return t.replace(mi, "");
3092
+ return t.replace(di, "");
3093
3093
  }
3094
3094
  );
3095
3095
  function Er(e, t) {
@@ -3128,33 +3128,33 @@ var Hi = (
3128
3128
  for (var i = []; !this.isEOF(); ) {
3129
3129
  var o = this.char();
3130
3130
  if (o === 123) {
3131
- var s = this.parseArgument(t, n);
3132
- if (s.err)
3133
- return s;
3134
- i.push(s.val);
3131
+ var a = this.parseArgument(t, n);
3132
+ if (a.err)
3133
+ return a;
3134
+ i.push(a.val);
3135
3135
  } else {
3136
3136
  if (o === 125 && t > 0)
3137
3137
  break;
3138
3138
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3139
- var a = this.clonePosition();
3139
+ var s = this.clonePosition();
3140
3140
  this.bump(), i.push({
3141
3141
  type: w.pound,
3142
- location: _(a, this.clonePosition())
3142
+ location: _(s, this.clonePosition())
3143
3143
  });
3144
3144
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3145
3145
  if (n)
3146
3146
  break;
3147
3147
  return this.error(y.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
3148
3148
  } else if (o === 60 && !this.ignoreTag && rt(this.peek() || 0)) {
3149
- var s = this.parseTag(t, r);
3150
- if (s.err)
3151
- return s;
3152
- i.push(s.val);
3149
+ var a = this.parseTag(t, r);
3150
+ if (a.err)
3151
+ return a;
3152
+ i.push(a.val);
3153
3153
  } else {
3154
- var s = this.parseLiteral(t, r);
3155
- if (s.err)
3156
- return s;
3157
- i.push(s.val);
3154
+ var a = this.parseLiteral(t, r);
3155
+ if (a.err)
3156
+ return a;
3157
+ i.push(a.val);
3158
3158
  }
3159
3159
  }
3160
3160
  }
@@ -3176,20 +3176,20 @@ var Hi = (
3176
3176
  var o = this.parseMessage(t + 1, r, !0);
3177
3177
  if (o.err)
3178
3178
  return o;
3179
- var s = o.val, a = this.clonePosition();
3179
+ var a = o.val, s = this.clonePosition();
3180
3180
  if (this.bumpIf("</")) {
3181
3181
  if (this.isEOF() || !rt(this.char()))
3182
- return this.error(y.INVALID_TAG, _(a, this.clonePosition()));
3182
+ return this.error(y.INVALID_TAG, _(s, this.clonePosition()));
3183
3183
  var h = this.clonePosition(), l = this.parseTagName();
3184
3184
  return i !== l ? this.error(y.UNMATCHED_CLOSING_TAG, _(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3185
3185
  val: {
3186
3186
  type: w.tag,
3187
3187
  value: i,
3188
- children: s,
3188
+ children: a,
3189
3189
  location: _(n, this.clonePosition())
3190
3190
  },
3191
3191
  err: null
3192
- } : this.error(y.INVALID_TAG, _(a, this.clonePosition())));
3192
+ } : this.error(y.INVALID_TAG, _(s, this.clonePosition())));
3193
3193
  } else
3194
3194
  return this.error(y.UNCLOSED_TAG, _(n, this.clonePosition()));
3195
3195
  } else
@@ -3206,16 +3206,16 @@ var Hi = (
3206
3206
  i += o;
3207
3207
  continue;
3208
3208
  }
3209
- var s = this.tryParseUnquoted(t, r);
3210
- if (s) {
3211
- i += s;
3212
- continue;
3213
- }
3214
- var a = this.tryParseLeftAngleBracket();
3209
+ var a = this.tryParseUnquoted(t, r);
3215
3210
  if (a) {
3216
3211
  i += a;
3217
3212
  continue;
3218
3213
  }
3214
+ var s = this.tryParseLeftAngleBracket();
3215
+ if (s) {
3216
+ i += s;
3217
+ continue;
3218
+ }
3219
3219
  break;
3220
3220
  }
3221
3221
  var h = _(n, this.clonePosition());
@@ -3295,13 +3295,13 @@ var Hi = (
3295
3295
  }, e.prototype.parseIdentifierIfPossible = function() {
3296
3296
  var t = this.clonePosition(), r = this.offset(), n = tt(this.message, r), i = r + n.length;
3297
3297
  this.bumpTo(i);
3298
- var o = this.clonePosition(), s = _(t, o);
3299
- return { value: n, location: s };
3298
+ var o = this.clonePosition(), a = _(t, o);
3299
+ return { value: n, location: a };
3300
3300
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3301
- var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
3302
- switch (a) {
3301
+ var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, h = this.clonePosition();
3302
+ switch (s) {
3303
3303
  case "":
3304
- return this.error(y.EXPECT_ARGUMENT_TYPE, _(s, h));
3304
+ return this.error(y.EXPECT_ARGUMENT_TYPE, _(a, h));
3305
3305
  case "number":
3306
3306
  case "date":
3307
3307
  case "time": {
@@ -3309,47 +3309,47 @@ var Hi = (
3309
3309
  var l = null;
3310
3310
  if (this.bumpIf(",")) {
3311
3311
  this.bumpSpace();
3312
- var u = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3313
- if (c.err)
3314
- return c;
3315
- var f = Ti(c.val);
3316
- if (f.length === 0)
3312
+ var u = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3313
+ if (f.err)
3314
+ return f;
3315
+ var c = Ti(f.val);
3316
+ if (c.length === 0)
3317
3317
  return this.error(y.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
3318
- var d = _(u, this.clonePosition());
3319
- l = { style: f, styleLocation: d };
3318
+ var m = _(u, this.clonePosition());
3319
+ l = { style: c, styleLocation: m };
3320
3320
  }
3321
- var m = this.tryParseArgumentClose(i);
3322
- if (m.err)
3323
- return m;
3321
+ var d = this.tryParseArgumentClose(i);
3322
+ if (d.err)
3323
+ return d;
3324
3324
  var b = _(i, this.clonePosition());
3325
- if (l && Lt(l == null ? void 0 : l.style, "::", 0)) {
3325
+ if (l && Ct(l == null ? void 0 : l.style, "::", 0)) {
3326
3326
  var H = Si(l.style.slice(2));
3327
- if (a === "number") {
3328
- var c = this.parseNumberSkeletonFromString(H, l.styleLocation);
3329
- return c.err ? c : {
3330
- val: { type: w.number, value: n, location: b, style: c.val },
3327
+ if (s === "number") {
3328
+ var f = this.parseNumberSkeletonFromString(H, l.styleLocation);
3329
+ return f.err ? f : {
3330
+ val: { type: w.number, value: n, location: b, style: f.val },
3331
3331
  err: null
3332
3332
  };
3333
3333
  } else {
3334
3334
  if (H.length === 0)
3335
3335
  return this.error(y.EXPECT_DATE_TIME_SKELETON, b);
3336
3336
  var B = H;
3337
- this.locale && (B = fi(H, this.locale));
3338
- var f = {
3337
+ this.locale && (B = ci(H, this.locale));
3338
+ var c = {
3339
3339
  type: oe.dateTime,
3340
3340
  pattern: B,
3341
3341
  location: l.styleLocation,
3342
3342
  parsedOptions: this.shouldParseSkeletons ? ii(B) : {}
3343
- }, A = a === "date" ? w.date : w.time;
3343
+ }, A = s === "date" ? w.date : w.time;
3344
3344
  return {
3345
- val: { type: A, value: n, location: b, style: f },
3345
+ val: { type: A, value: n, location: b, style: c },
3346
3346
  err: null
3347
3347
  };
3348
3348
  }
3349
3349
  }
3350
3350
  return {
3351
3351
  val: {
3352
- type: a === "number" ? w.number : a === "date" ? w.date : w.time,
3352
+ type: s === "number" ? w.number : s === "date" ? w.date : w.time,
3353
3353
  value: n,
3354
3354
  location: b,
3355
3355
  style: (o = l == null ? void 0 : l.style) !== null && o !== void 0 ? o : null
@@ -3365,27 +3365,27 @@ var Hi = (
3365
3365
  return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, _(S, x({}, S)));
3366
3366
  this.bumpSpace();
3367
3367
  var I = this.parseIdentifierIfPossible(), P = 0;
3368
- if (a !== "select" && I.value === "offset") {
3368
+ if (s !== "select" && I.value === "offset") {
3369
3369
  if (!this.bumpIf(":"))
3370
3370
  return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
3371
3371
  this.bumpSpace();
3372
- var c = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3373
- if (c.err)
3374
- return c;
3375
- this.bumpSpace(), I = this.parseIdentifierIfPossible(), P = c.val;
3372
+ var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3373
+ if (f.err)
3374
+ return f;
3375
+ this.bumpSpace(), I = this.parseIdentifierIfPossible(), P = f.val;
3376
3376
  }
3377
- var N = this.tryParsePluralOrSelectOptions(t, a, r, I);
3377
+ var N = this.tryParsePluralOrSelectOptions(t, s, r, I);
3378
3378
  if (N.err)
3379
3379
  return N;
3380
- var m = this.tryParseArgumentClose(i);
3381
- if (m.err)
3382
- return m;
3380
+ var d = this.tryParseArgumentClose(i);
3381
+ if (d.err)
3382
+ return d;
3383
3383
  var G = _(i, this.clonePosition());
3384
- return a === "select" ? {
3384
+ return s === "select" ? {
3385
3385
  val: {
3386
3386
  type: w.select,
3387
3387
  value: n,
3388
- options: Ct(N.val),
3388
+ options: Lt(N.val),
3389
3389
  location: G
3390
3390
  },
3391
3391
  err: null
@@ -3393,16 +3393,16 @@ var Hi = (
3393
3393
  val: {
3394
3394
  type: w.plural,
3395
3395
  value: n,
3396
- options: Ct(N.val),
3396
+ options: Lt(N.val),
3397
3397
  offset: P,
3398
- pluralType: a === "plural" ? "cardinal" : "ordinal",
3398
+ pluralType: s === "plural" ? "cardinal" : "ordinal",
3399
3399
  location: G
3400
3400
  },
3401
3401
  err: null
3402
3402
  };
3403
3403
  }
3404
3404
  default:
3405
- return this.error(y.INVALID_ARGUMENT_TYPE, _(s, h));
3405
+ return this.error(y.INVALID_ARGUMENT_TYPE, _(a, h));
3406
3406
  }
3407
3407
  }, e.prototype.tryParseArgumentClose = function(t) {
3408
3408
  return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
@@ -3444,7 +3444,7 @@ var Hi = (
3444
3444
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3445
3445
  var n = [];
3446
3446
  try {
3447
- n = si(t);
3447
+ n = ai(t);
3448
3448
  } catch (i) {
3449
3449
  return this.error(y.INVALID_NUMBER_SKELETON, r);
3450
3450
  }
@@ -3458,50 +3458,50 @@ var Hi = (
3458
3458
  err: null
3459
3459
  };
3460
3460
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3461
- for (var o, s = !1, a = [], h = /* @__PURE__ */ new Set(), l = i.value, u = i.location; ; ) {
3461
+ for (var o, a = !1, s = [], h = /* @__PURE__ */ new Set(), l = i.value, u = i.location; ; ) {
3462
3462
  if (l.length === 0) {
3463
- var c = this.clonePosition();
3463
+ var f = this.clonePosition();
3464
3464
  if (r !== "select" && this.bumpIf("=")) {
3465
- var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
3466
- if (f.err)
3467
- return f;
3468
- u = _(c, this.clonePosition()), l = this.message.slice(c.offset, this.offset());
3465
+ var c = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
3466
+ if (c.err)
3467
+ return c;
3468
+ u = _(f, this.clonePosition()), l = this.message.slice(f.offset, this.offset());
3469
3469
  } else
3470
3470
  break;
3471
3471
  }
3472
3472
  if (h.has(l))
3473
3473
  return this.error(r === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, u);
3474
- l === "other" && (s = !0), this.bumpSpace();
3475
- var d = this.clonePosition();
3474
+ l === "other" && (a = !0), this.bumpSpace();
3475
+ var m = this.clonePosition();
3476
3476
  if (!this.bumpIf("{"))
3477
3477
  return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
3478
- var m = this.parseMessage(t + 1, r, n);
3479
- if (m.err)
3480
- return m;
3481
- var b = this.tryParseArgumentClose(d);
3478
+ var d = this.parseMessage(t + 1, r, n);
3479
+ if (d.err)
3480
+ return d;
3481
+ var b = this.tryParseArgumentClose(m);
3482
3482
  if (b.err)
3483
3483
  return b;
3484
- a.push([
3484
+ s.push([
3485
3485
  l,
3486
3486
  {
3487
- value: m.val,
3488
- location: _(d, this.clonePosition())
3487
+ value: d.val,
3488
+ location: _(m, this.clonePosition())
3489
3489
  }
3490
3490
  ]), h.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, u = o.location;
3491
3491
  }
3492
- return a.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, _(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(y.MISSING_OTHER_CLAUSE, _(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3492
+ return s.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, _(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(y.MISSING_OTHER_CLAUSE, _(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3493
3493
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3494
3494
  var n = 1, i = this.clonePosition();
3495
3495
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
3496
- for (var o = !1, s = 0; !this.isEOF(); ) {
3497
- var a = this.char();
3498
- if (a >= 48 && a <= 57)
3499
- o = !0, s = s * 10 + (a - 48), this.bump();
3496
+ for (var o = !1, a = 0; !this.isEOF(); ) {
3497
+ var s = this.char();
3498
+ if (s >= 48 && s <= 57)
3499
+ o = !0, a = a * 10 + (s - 48), this.bump();
3500
3500
  else
3501
3501
  break;
3502
3502
  }
3503
3503
  var h = _(i, this.clonePosition());
3504
- return o ? (s *= n, Ei(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3504
+ return o ? (a *= n, Ei(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
3505
3505
  }, e.prototype.offset = function() {
3506
3506
  return this.position.offset;
3507
3507
  }, e.prototype.isEOF = function() {
@@ -3535,7 +3535,7 @@ var Hi = (
3535
3535
  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);
3536
3536
  }
3537
3537
  }, e.prototype.bumpIf = function(t) {
3538
- if (Lt(this.message, t, this.offset())) {
3538
+ if (Ct(this.message, t, this.offset())) {
3539
3539
  for (var r = 0; r < t.length; r++)
3540
3540
  this.bump();
3541
3541
  return !0;
@@ -3584,10 +3584,10 @@ function Pi(e) {
3584
3584
  }
3585
3585
  function nt(e) {
3586
3586
  e.forEach(function(t) {
3587
- if (delete t.location, dr(t) || mr(t))
3587
+ if (delete t.location, mr(t) || dr(t))
3588
3588
  for (var r in t.options)
3589
3589
  delete t.options[r].location, nt(t.options[r].value);
3590
- else hr(t) && br(t.style) || (fr(t) || cr(t)) && qe(t.style) ? delete t.style.location : pr(t) && nt(t.children);
3590
+ else hr(t) && br(t.style) || (cr(t) || fr(t)) && qe(t.style) ? delete t.style.location : pr(t) && nt(t.children);
3591
3591
  });
3592
3592
  }
3593
3593
  function Ri(e, t) {
@@ -3600,7 +3600,7 @@ function Ri(e, t) {
3600
3600
  return t != null && t.captureLocation || nt(r.val), r.val;
3601
3601
  }
3602
3602
  function De(e, t) {
3603
- var r = t && t.cache ? t.cache : Mi, n = t && t.serializer ? t.serializer : Ci, i = t && t.strategy ? t.strategy : Oi;
3603
+ var r = t && t.cache ? t.cache : Mi, n = t && t.serializer ? t.serializer : Li, i = t && t.strategy ? t.strategy : Oi;
3604
3604
  return i(e, {
3605
3605
  cache: r,
3606
3606
  serializer: n
@@ -3627,10 +3627,10 @@ function Oi(e, t) {
3627
3627
  function Ni(e, t) {
3628
3628
  return ut(e, this, Tr, t.cache.create(), t.serializer);
3629
3629
  }
3630
- function Li(e, t) {
3630
+ function Ci(e, t) {
3631
3631
  return ut(e, this, Sr, t.cache.create(), t.serializer);
3632
3632
  }
3633
- var Ci = function() {
3633
+ var Li = function() {
3634
3634
  return JSON.stringify(arguments);
3635
3635
  };
3636
3636
  function lt() {
@@ -3648,11 +3648,11 @@ var Mi = {
3648
3648
  }
3649
3649
  }, Fe = {
3650
3650
  variadic: Ni,
3651
- monadic: Li
3652
- }, se;
3651
+ monadic: Ci
3652
+ }, ae;
3653
3653
  (function(e) {
3654
3654
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3655
- })(se || (se = {}));
3655
+ })(ae || (ae = {}));
3656
3656
  var Re = (
3657
3657
  /** @class */
3658
3658
  function(e) {
@@ -3670,7 +3670,7 @@ var Re = (
3670
3670
  function(e) {
3671
3671
  W(t, e);
3672
3672
  function t(r, n, i, o) {
3673
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), se.INVALID_VALUE, o) || this;
3673
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ae.INVALID_VALUE, o) || this;
3674
3674
  }
3675
3675
  return t;
3676
3676
  }(Re)
@@ -3679,7 +3679,7 @@ var Re = (
3679
3679
  function(e) {
3680
3680
  W(t, e);
3681
3681
  function t(r, n, i) {
3682
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), se.INVALID_VALUE, i) || this;
3682
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ae.INVALID_VALUE, i) || this;
3683
3683
  }
3684
3684
  return t;
3685
3685
  }(Re)
@@ -3688,7 +3688,7 @@ var Re = (
3688
3688
  function(e) {
3689
3689
  W(t, e);
3690
3690
  function t(r, n) {
3691
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), se.MISSING_VALUE, n) || this;
3691
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ae.MISSING_VALUE, n) || this;
3692
3692
  }
3693
3693
  return t;
3694
3694
  }(Re)
@@ -3705,7 +3705,7 @@ function Di(e) {
3705
3705
  function Fi(e) {
3706
3706
  return typeof e == "function";
3707
3707
  }
3708
- function Ee(e, t, r, n, i, o, s) {
3708
+ function Ee(e, t, r, n, i, o, a) {
3709
3709
  if (e.length === 1 && Rt(e[0]))
3710
3710
  return [
3711
3711
  {
@@ -3713,95 +3713,95 @@ function Ee(e, t, r, n, i, o, s) {
3713
3713
  value: e[0].value
3714
3714
  }
3715
3715
  ];
3716
- for (var a = [], h = 0, l = e; h < l.length; h++) {
3716
+ for (var s = [], h = 0, l = e; h < l.length; h++) {
3717
3717
  var u = l[h];
3718
3718
  if (Rt(u)) {
3719
- a.push({
3719
+ s.push({
3720
3720
  type: R.literal,
3721
3721
  value: u.value
3722
3722
  });
3723
3723
  continue;
3724
3724
  }
3725
3725
  if (ri(u)) {
3726
- typeof o == "number" && a.push({
3726
+ typeof o == "number" && s.push({
3727
3727
  type: R.literal,
3728
3728
  value: r.getNumberFormat(t).format(o)
3729
3729
  });
3730
3730
  continue;
3731
3731
  }
3732
- var c = u.value;
3733
- if (!(i && c in i))
3734
- throw new Ui(c, s);
3735
- var f = i[c];
3732
+ var f = u.value;
3733
+ if (!(i && f in i))
3734
+ throw new Ui(f, a);
3735
+ var c = i[f];
3736
3736
  if (ti(u)) {
3737
- (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3738
- type: typeof f == "string" ? R.literal : R.object,
3739
- value: f
3737
+ (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), s.push({
3738
+ type: typeof c == "string" ? R.literal : R.object,
3739
+ value: c
3740
3740
  });
3741
3741
  continue;
3742
3742
  }
3743
- if (fr(u)) {
3744
- var d = typeof u.style == "string" ? n.date[u.style] : qe(u.style) ? u.style.parsedOptions : void 0;
3745
- a.push({
3743
+ if (cr(u)) {
3744
+ var m = typeof u.style == "string" ? n.date[u.style] : qe(u.style) ? u.style.parsedOptions : void 0;
3745
+ s.push({
3746
3746
  type: R.literal,
3747
- value: r.getDateTimeFormat(t, d).format(f)
3747
+ value: r.getDateTimeFormat(t, m).format(c)
3748
3748
  });
3749
3749
  continue;
3750
3750
  }
3751
- if (cr(u)) {
3752
- var d = typeof u.style == "string" ? n.time[u.style] : qe(u.style) ? u.style.parsedOptions : n.time.medium;
3753
- a.push({
3751
+ if (fr(u)) {
3752
+ var m = typeof u.style == "string" ? n.time[u.style] : qe(u.style) ? u.style.parsedOptions : n.time.medium;
3753
+ s.push({
3754
3754
  type: R.literal,
3755
- value: r.getDateTimeFormat(t, d).format(f)
3755
+ value: r.getDateTimeFormat(t, m).format(c)
3756
3756
  });
3757
3757
  continue;
3758
3758
  }
3759
3759
  if (hr(u)) {
3760
- var d = typeof u.style == "string" ? n.number[u.style] : br(u.style) ? u.style.parsedOptions : void 0;
3761
- d && d.scale && (f = f * (d.scale || 1)), a.push({
3760
+ var m = typeof u.style == "string" ? n.number[u.style] : br(u.style) ? u.style.parsedOptions : void 0;
3761
+ m && m.scale && (c = c * (m.scale || 1)), s.push({
3762
3762
  type: R.literal,
3763
- value: r.getNumberFormat(t, d).format(f)
3763
+ value: r.getNumberFormat(t, m).format(c)
3764
3764
  });
3765
3765
  continue;
3766
3766
  }
3767
3767
  if (pr(u)) {
3768
- var m = u.children, b = u.value, H = i[b];
3768
+ var d = u.children, b = u.value, H = i[b];
3769
3769
  if (!Fi(H))
3770
- throw new Gi(b, "function", s);
3771
- var B = Ee(m, t, r, n, i, o), A = H(B.map(function(P) {
3770
+ throw new Gi(b, "function", a);
3771
+ var B = Ee(d, t, r, n, i, o), A = H(B.map(function(P) {
3772
3772
  return P.value;
3773
3773
  }));
3774
- Array.isArray(A) || (A = [A]), a.push.apply(a, A.map(function(P) {
3774
+ Array.isArray(A) || (A = [A]), s.push.apply(s, A.map(function(P) {
3775
3775
  return {
3776
3776
  type: typeof P == "string" ? R.literal : R.object,
3777
3777
  value: P
3778
3778
  };
3779
3779
  }));
3780
3780
  }
3781
- if (dr(u)) {
3782
- var S = u.options[f] || u.options.other;
3781
+ if (mr(u)) {
3782
+ var S = u.options[c] || u.options.other;
3783
3783
  if (!S)
3784
- throw new Gt(u.value, f, Object.keys(u.options), s);
3785
- a.push.apply(a, Ee(S.value, t, r, n, i));
3784
+ throw new Gt(u.value, c, Object.keys(u.options), a);
3785
+ s.push.apply(s, Ee(S.value, t, r, n, i));
3786
3786
  continue;
3787
3787
  }
3788
- if (mr(u)) {
3789
- var S = u.options["=".concat(f)];
3788
+ if (dr(u)) {
3789
+ var S = u.options["=".concat(c)];
3790
3790
  if (!S) {
3791
3791
  if (!Intl.PluralRules)
3792
3792
  throw new Re(`Intl.PluralRules is not available in this environment.
3793
3793
  Try polyfilling it using "@formatjs/intl-pluralrules"
3794
- `, se.MISSING_INTL_API, s);
3795
- var I = r.getPluralRules(t, { type: u.pluralType }).select(f - (u.offset || 0));
3794
+ `, ae.MISSING_INTL_API, a);
3795
+ var I = r.getPluralRules(t, { type: u.pluralType }).select(c - (u.offset || 0));
3796
3796
  S = u.options[I] || u.options.other;
3797
3797
  }
3798
3798
  if (!S)
3799
- throw new Gt(u.value, f, Object.keys(u.options), s);
3800
- a.push.apply(a, Ee(S.value, t, r, n, i, f - (u.offset || 0)));
3799
+ throw new Gt(u.value, c, Object.keys(u.options), a);
3800
+ s.push.apply(s, Ee(S.value, t, r, n, i, c - (u.offset || 0)));
3801
3801
  continue;
3802
3802
  }
3803
3803
  }
3804
- return Di(a);
3804
+ return Di(s);
3805
3805
  }
3806
3806
  function $i(e, t) {
3807
3807
  return t ? x(x(x({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
@@ -3872,8 +3872,8 @@ var Vi = (
3872
3872
  var l = o.formatToParts(h);
3873
3873
  if (l.length === 1)
3874
3874
  return l[0].value;
3875
- var u = l.reduce(function(c, f) {
3876
- return !c.length || f.type !== R.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3875
+ var u = l.reduce(function(f, c) {
3876
+ return !f.length || c.type !== R.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3877
3877
  }, []);
3878
3878
  return u.length <= 1 ? u[0] || "" : u;
3879
3879
  }, this.formatToParts = function(h) {
@@ -3888,10 +3888,10 @@ var Vi = (
3888
3888
  }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
3889
3889
  if (this.message = t, !e.__parse)
3890
3890
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3891
- var s = i || {};
3892
- s.formatters;
3893
- var a = Sn(s, ["formatters"]);
3894
- this.ast = e.__parse(t, x(x({}, a), { locale: this.resolvedLocale }));
3891
+ var a = i || {};
3892
+ a.formatters;
3893
+ var s = Sn(a, ["formatters"]);
3894
+ this.ast = e.__parse(t, x(x({}, s), { locale: this.resolvedLocale }));
3895
3895
  } else
3896
3896
  this.ast = t;
3897
3897
  if (!Array.isArray(this.ast))
@@ -4061,20 +4061,20 @@ function qi(e, t) {
4061
4061
  t.map((n) => (Yi(e, n), n().then((i) => i.default || i)))
4062
4062
  ).then((n) => Ar(e, ...n));
4063
4063
  }
4064
- const fe = {};
4064
+ const ce = {};
4065
4065
  function Rr(e) {
4066
4066
  if (!it(e))
4067
- return e in fe ? fe[e] : Promise.resolve();
4067
+ return e in ce ? ce[e] : Promise.resolve();
4068
4068
  const t = Qi(e);
4069
- return fe[e] = Promise.all(
4069
+ return ce[e] = Promise.all(
4070
4070
  t.map(
4071
4071
  ([r, n]) => qi(r, n)
4072
4072
  )
4073
4073
  ).then(() => {
4074
4074
  if (it(e))
4075
4075
  return Rr(e);
4076
- delete fe[e];
4077
- }), fe[e];
4076
+ delete ce[e];
4077
+ }), ce[e];
4078
4078
  }
4079
4079
  const Ki = {
4080
4080
  number: {
@@ -4113,16 +4113,16 @@ const Ki = {
4113
4113
  handleMissingMessage: void 0,
4114
4114
  ignoreTag: !0
4115
4115
  }, to = eo;
4116
- function ae() {
4116
+ function se() {
4117
4117
  return to;
4118
4118
  }
4119
4119
  const je = Pe(!1);
4120
- var ro = Object.defineProperty, no = Object.defineProperties, io = Object.getOwnPropertyDescriptors, Ut = Object.getOwnPropertySymbols, oo = Object.prototype.hasOwnProperty, so = Object.prototype.propertyIsEnumerable, Dt = (e, t, r) => t in e ? ro(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ao = (e, t) => {
4120
+ var ro = Object.defineProperty, no = Object.defineProperties, io = Object.getOwnPropertyDescriptors, Ut = Object.getOwnPropertySymbols, oo = Object.prototype.hasOwnProperty, ao = Object.prototype.propertyIsEnumerable, Dt = (e, t, r) => t in e ? ro(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, so = (e, t) => {
4121
4121
  for (var r in t || (t = {}))
4122
4122
  oo.call(t, r) && Dt(e, r, t[r]);
4123
4123
  if (Ut)
4124
4124
  for (var r of Ut(t))
4125
- so.call(t, r) && Dt(e, r, t[r]);
4125
+ ao.call(t, r) && Dt(e, r, t[r]);
4126
4126
  return e;
4127
4127
  }, uo = (e, t) => no(e, io(t));
4128
4128
  let ot;
@@ -4130,7 +4130,7 @@ const He = Pe(null);
4130
4130
  function Ft(e) {
4131
4131
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4132
4132
  }
4133
- function Ie(e, t = ae().fallbackLocale) {
4133
+ function Ie(e, t = se().fallbackLocale) {
4134
4134
  const r = Ft(e);
4135
4135
  return t ? [.../* @__PURE__ */ new Set([...r, ...Ft(t)])] : r;
4136
4136
  }
@@ -4142,7 +4142,7 @@ He.subscribe((e) => {
4142
4142
  });
4143
4143
  const lo = (e) => {
4144
4144
  if (e && Zi(e) && it(e)) {
4145
- const { loadingDelay: t } = ae();
4145
+ const { loadingDelay: t } = se();
4146
4146
  let r;
4147
4147
  return typeof window != "undefined" && q() != null && t ? r = window.setTimeout(
4148
4148
  () => je.set(!0),
@@ -4154,7 +4154,7 @@ const lo = (e) => {
4154
4154
  });
4155
4155
  }
4156
4156
  return He.set(e);
4157
- }, z = uo(ao({}, He), {
4157
+ }, z = uo(so({}, He), {
4158
4158
  set: lo
4159
4159
  }), Oe = (e) => {
4160
4160
  const t = /* @__PURE__ */ Object.create(null);
@@ -4163,7 +4163,7 @@ const lo = (e) => {
4163
4163
  return i in t ? t[i] : t[i] = e(n);
4164
4164
  };
4165
4165
  };
4166
- var ho = Object.defineProperty, Be = Object.getOwnPropertySymbols, Ir = Object.prototype.hasOwnProperty, Or = Object.prototype.propertyIsEnumerable, $t = (e, t, r) => t in e ? ho(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ft = (e, t) => {
4166
+ var ho = Object.defineProperty, Be = Object.getOwnPropertySymbols, Ir = Object.prototype.hasOwnProperty, Or = Object.prototype.propertyIsEnumerable, $t = (e, t, r) => t in e ? ho(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ct = (e, t) => {
4167
4167
  for (var r in t || (t = {}))
4168
4168
  Ir.call(t, r) && $t(e, r, t[r]);
4169
4169
  if (Be)
@@ -4180,18 +4180,18 @@ var ho = Object.defineProperty, Be = Object.getOwnPropertySymbols, Ir = Object.p
4180
4180
  return r;
4181
4181
  };
4182
4182
  const pe = (e, t) => {
4183
- const { formats: r } = ae();
4183
+ const { formats: r } = se();
4184
4184
  if (e in r && t in r[e])
4185
4185
  return r[e][t];
4186
4186
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4187
- }, fo = Oe(
4187
+ }, co = Oe(
4188
4188
  (e) => {
4189
4189
  var t = e, { locale: r, format: n } = t, i = he(t, ["locale", "format"]);
4190
4190
  if (r == null)
4191
4191
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4192
4192
  return n && (i = pe("number", n)), new Intl.NumberFormat(r, i);
4193
4193
  }
4194
- ), co = Oe(
4194
+ ), fo = Oe(
4195
4195
  (e) => {
4196
4196
  var t = e, { locale: r, format: n } = t, i = he(t, ["locale", "format"]);
4197
4197
  if (r == null)
@@ -4213,58 +4213,58 @@ const pe = (e, t) => {
4213
4213
  } = t, n = he(t, [
4214
4214
  "locale"
4215
4215
  ]);
4216
- return fo(ft({ locale: r }, n));
4216
+ return co(ct({ locale: r }, n));
4217
4217
  }, bo = (e = {}) => {
4218
4218
  var t = e, {
4219
4219
  locale: r = q()
4220
4220
  } = t, n = he(t, [
4221
4221
  "locale"
4222
4222
  ]);
4223
- return co(ft({ locale: r }, n));
4223
+ return fo(ct({ locale: r }, n));
4224
4224
  }, go = (e = {}) => {
4225
4225
  var t = e, {
4226
4226
  locale: r = q()
4227
4227
  } = t, n = he(t, [
4228
4228
  "locale"
4229
4229
  ]);
4230
- return mo(ft({ locale: r }, n));
4230
+ return mo(ct({ locale: r }, n));
4231
4231
  }, yo = Oe(
4232
4232
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4233
- (e, t = q()) => new Vi(e, t, ae().formats, {
4234
- ignoreTag: ae().ignoreTag
4233
+ (e, t = q()) => new Vi(e, t, se().formats, {
4234
+ ignoreTag: se().ignoreTag
4235
4235
  })
4236
4236
  ), vo = (e, t = {}) => {
4237
4237
  var r, n, i, o;
4238
- let s = t;
4239
- typeof e == "object" && (s = e, e = s.id);
4238
+ let a = t;
4239
+ typeof e == "object" && (a = e, e = a.id);
4240
4240
  const {
4241
- values: a,
4241
+ values: s,
4242
4242
  locale: h = q(),
4243
4243
  default: l
4244
- } = s;
4244
+ } = a;
4245
4245
  if (h == null)
4246
4246
  throw new Error(
4247
4247
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4248
4248
  );
4249
4249
  let u = Hr(e, h);
4250
4250
  if (!u)
4251
- u = (o = (i = (n = (r = ae()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4251
+ u = (o = (i = (n = (r = se()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4252
4252
  else if (typeof u != "string")
4253
4253
  return console.warn(
4254
4254
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
4255
4255
  ), u;
4256
- if (!a)
4256
+ if (!s)
4257
4257
  return u;
4258
- let c = u;
4258
+ let f = u;
4259
4259
  try {
4260
- c = yo(u, h).format(a);
4261
- } catch (f) {
4262
- f instanceof Error && console.warn(
4260
+ f = yo(u, h).format(s);
4261
+ } catch (c) {
4262
+ c instanceof Error && console.warn(
4263
4263
  `[svelte-i18n] Message "${e}" has syntax error:`,
4264
- f.message
4264
+ c.message
4265
4265
  );
4266
4266
  }
4267
- return c;
4267
+ return f;
4268
4268
  }, _o = (e, t) => go(t).format(e), xo = (e, t) => bo(t).format(e), Eo = (e, t) => po(t).format(e), wo = (e, t = q()) => Hr(e, t), So = ue([z, le], () => vo);
4269
4269
  ue([z], () => _o);
4270
4270
  ue([z], () => xo);
@@ -4352,7 +4352,7 @@ const kt = {
4352
4352
  }
4353
4353
  };
4354
4354
  function Ao(e) {
4355
- nn(e, "svelte-1uy6d6f", ".svelte-1uy6d6f.svelte-1uy6d6f,.svelte-1uy6d6f.svelte-1uy6d6f::before,.svelte-1uy6d6f.svelte-1uy6d6f::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.ModalWindow.svelte-1uy6d6f.svelte-1uy6d6f{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow.svelte-1uy6d6f .ModalContainer.svelte-1uy6d6f{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;width:90vw;min-height:380px;max-width:500px;padding:40px 40px 16px 40px;border-top:3px solid var(--emfe-w-color-secondary, var(--emfe-w-color-secondary, #FD2839));border-radius:5px;position:relative;background:var(--emfe-w-color-white, #FFFFFF)}.ModalWindow.svelte-1uy6d6f .ModalCloseBtn.svelte-1uy6d6f{position:absolute;top:10px;right:10px;border-radius:50%;color:var(--emfe-w-color-secondary, var(--emfe-w-color-secondary, #FD2839));background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out;width:28px;height:28px}.ModalWindow.svelte-1uy6d6f .ModalCloseBtn svg.svelte-1uy6d6f{width:28px;height:28px}.ModalWindow.svelte-1uy6d6f .ModalCloseBtn.svelte-1uy6d6f:hover{background:rgba(255, 255, 255, 0.2)}.ModalWindow.svelte-1uy6d6f .ModalMobileContainer .ModalCloseBtn.svelte-1uy6d6f{margin:10px}.ModalWindow.svelte-1uy6d6f .ModalMobileContainer .ModalCloseBtn svg.svelte-1uy6d6f{width:24px;height:24px}.RandomGameWrapper.svelte-1uy6d6f.svelte-1uy6d6f{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px}.RandomGamesSliderWrapper.svelte-1uy6d6f.svelte-1uy6d6f{height:170px;overflow:hidden;transition:transform 400ms ease-in-out}.items.svelte-1uy6d6f.svelte-1uy6d6f{gap:5px;transition:transform 0.3s ease-in-out;transform:translateY(0px);-webkit-transform-style:preserve-3d;-webkit-backface-visibility:hidden}.RandomGameLoading.svelte-1uy6d6f.svelte-1uy6d6f{padding:30px 0}.RandomGameImage.svelte-1uy6d6f.svelte-1uy6d6f{width:256px;height:170px;border-radius:5px;-webkit-transform-style:preserve-3d;-webkit-backface-visibility:hidden}.RandomTryAgain.svelte-1uy6d6f.svelte-1uy6d6f{position:absolute;bottom:-10px;right:-10px;background:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-color-white, #FFFFFF);display:flex;align-items:center;padding:6px;border:none;border-radius:50%;cursor:pointer}.RandomTryAgain.svelte-1uy6d6f svg.svelte-1uy6d6f{width:22px;height:22px}.item.svelte-1uy6d6f.svelte-1uy6d6f{position:relative;-webkit-backface-visibility:hidden}.RandomGameDetails.svelte-1uy6d6f.svelte-1uy6d6f{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px}.RandomGameDetails.svelte-1uy6d6f .RandomGameTitle.svelte-1uy6d6f{font-size:16px;line-height:18px;text-align:center}.RandomGameDetails.svelte-1uy6d6f .RandomGameVendor.svelte-1uy6d6f{font-size:10px;margin-bottom:10px}.RandomGameDetails.svelte-1uy6d6f .RandomGamePlay.svelte-1uy6d6f{background:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));border:none;border-radius:5px;width:200px;height:40px;font-size:14px;cursor:pointer}.RandomButtonWrapper.svelte-1uy6d6f.svelte-1uy6d6f{display:flex;justify-content:center;margin-top:30px;width:100%}.RandomButtonWrapper.svelte-1uy6d6f .RandomButton.svelte-1uy6d6f{display:flex;align-items:center;gap:5px;background:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));border:none;border-radius:5px;padding:0 30px;height:50px;font-size:16px;cursor:pointer}");
4355
+ nn(e, "svelte-15ssipt", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow .ModalContainer{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;width:90vw;min-height:380px;max-width:500px;padding:40px 40px 16px 40px;border-top:3px solid var(--emfe-w-color-secondary, var(--emfe-w-color-secondary, #FD2839));border-radius:5px;position:relative;background:var(--emfe-w-color-white, #FFFFFF)}.ModalWindow .ModalCloseBtn{position:absolute;top:10px;right:10px;border-radius:50%;color:var(--emfe-w-color-secondary, var(--emfe-w-color-secondary, #FD2839));background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out;width:28px;height:28px}.ModalWindow .ModalCloseBtn svg{width:28px;height:28px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.ModalWindow .ModalMobileContainer{padding:10px;border-top:none}.ModalWindow .ModalMobileContainer .ModalCloseBtn{margin:10px}.ModalWindow .ModalMobileContainer .ModalCloseBtn svg{width:24px;height:24px}.RandomGameWrapper{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px}.RandomGamesSliderWrapper{height:170px;overflow:hidden;transition:transform 400ms ease-in-out}.items{gap:5px;transition:transform 0.3s ease-in-out;transform:translateY(0px);-webkit-transform-style:preserve-3d;-webkit-backface-visibility:hidden}.RandomGameLoading{padding:30px 0}.RandomGameImage{width:256px;height:170px;border-radius:5px;-webkit-transform-style:preserve-3d;-webkit-backface-visibility:hidden}.RandomTryAgain{position:absolute;bottom:-10px;right:-10px;background:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-color-white, #FFFFFF);display:flex;align-items:center;padding:6px;border:none;border-radius:50%;cursor:pointer}.RandomTryAgain svg{width:22px;height:22px}.item{position:relative;-webkit-backface-visibility:hidden}.RandomGameDetails{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px}.RandomGameDetails .RandomGameTitle{font-size:16px;line-height:18px;text-align:center}.RandomGameDetails .RandomGameVendor{font-size:10px;margin-bottom:10px}.RandomGameDetails .RandomGamePlay{background:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));border:none;border-radius:5px;width:200px;height:40px;font-size:14px;cursor:pointer}.RandomButtonWrapper{display:flex;justify-content:center;margin-top:30px;width:100%}.RandomButtonWrapper .RandomButton{display:flex;align-items:center;gap:5px;background:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));border:none;border-radius:5px;padding:0 30px;height:50px;font-size:16px;cursor:pointer}");
4356
4356
  }
4357
4357
  function Vt(e, t, r) {
4358
4358
  const n = e.slice();
@@ -4360,7 +4360,7 @@ function Vt(e, t, r) {
4360
4360
  }
4361
4361
  const Po = (e) => ({}), Wt = (e) => ({});
4362
4362
  function Xt(e) {
4363
- let t, r, n, i, o, s, a, h;
4363
+ let t, r, n, i, o, a, s, h;
4364
4364
  const l = (
4365
4365
  /*#slots*/
4366
4366
  e[22].close
@@ -4370,55 +4370,55 @@ function Xt(e) {
4370
4370
  /*$$scope*/
4371
4371
  e[21],
4372
4372
  Wt
4373
- ), c = u || Ro();
4374
- let f = !/*slotDone*/
4375
- e[7] && zt(e), d = (
4373
+ ), f = u || Ro();
4374
+ let c = !/*slotDone*/
4375
+ e[7] && zt(e), m = (
4376
4376
  /*slotDone*/
4377
4377
  e[7] && Zt(e)
4378
4378
  );
4379
4379
  return {
4380
4380
  c() {
4381
- t = E("div"), r = E("div"), n = E("span"), c && c.c(), i = $(), f && f.c(), o = $(), d && d.c(), g(n, "class", "ModalCloseBtn svelte-1uy6d6f"), g(n, "role", "button"), g(r, "class", "ModalContainer svelte-1uy6d6f"), g(t, "class", "ModalWindow svelte-1uy6d6f");
4381
+ t = E("div"), r = E("div"), n = E("span"), f && f.c(), i = $(), c && c.c(), o = $(), m && m.c(), g(n, "class", "ModalCloseBtn"), g(n, "role", "button"), g(r, "class", "ModalContainer"), g(t, "class", "ModalWindow");
4382
4382
  },
4383
- m(m, b) {
4384
- U(m, t, b), v(t, r), v(r, n), c && c.m(n, null), v(r, i), f && f.m(r, null), v(r, o), d && d.m(r, null), s = !0, a || (h = Te(
4383
+ m(d, b) {
4384
+ U(d, t, b), v(t, r), v(r, n), f && f.m(n, null), v(r, i), c && c.m(r, null), v(r, o), m && m.m(r, null), a = !0, s || (h = Te(
4385
4385
  n,
4386
4386
  "click",
4387
4387
  /*closeModal*/
4388
4388
  e[12]
4389
- ), a = !0);
4389
+ ), s = !0);
4390
4390
  },
4391
- p(m, b) {
4392
- u && u.p && (!s || b[0] & /*$$scope*/
4391
+ p(d, b) {
4392
+ u && u.p && (!a || b[0] & /*$$scope*/
4393
4393
  2097152) && tn(
4394
4394
  u,
4395
4395
  l,
4396
- m,
4396
+ d,
4397
4397
  /*$$scope*/
4398
- m[21],
4399
- s ? en(
4398
+ d[21],
4399
+ a ? en(
4400
4400
  l,
4401
4401
  /*$$scope*/
4402
- m[21],
4402
+ d[21],
4403
4403
  b,
4404
4404
  Po
4405
4405
  ) : rn(
4406
4406
  /*$$scope*/
4407
- m[21]
4407
+ d[21]
4408
4408
  ),
4409
4409
  Wt
4410
4410
  ), /*slotDone*/
4411
- m[7] ? f && (f.d(1), f = null) : f ? f.p(m, b) : (f = zt(m), f.c(), f.m(r, o)), /*slotDone*/
4412
- m[7] ? d ? d.p(m, b) : (d = Zt(m), d.c(), d.m(r, null)) : d && (d.d(1), d = null);
4411
+ d[7] ? c && (c.d(1), c = null) : c ? c.p(d, b) : (c = zt(d), c.c(), c.m(r, o)), /*slotDone*/
4412
+ d[7] ? m ? m.p(d, b) : (m = Zt(d), m.c(), m.m(r, null)) : m && (m.d(1), m = null);
4413
4413
  },
4414
- i(m) {
4415
- s || (de(c, m), s = !0);
4414
+ i(d) {
4415
+ a || (me(f, d), a = !0);
4416
4416
  },
4417
- o(m) {
4418
- Xe(c, m), s = !1;
4417
+ o(d) {
4418
+ Xe(f, d), a = !1;
4419
4419
  },
4420
- d(m) {
4421
- m && M(t), c && c.d(m), f && f.d(), d && d.d(), a = !1, h();
4420
+ d(d) {
4421
+ d && M(t), f && f.d(d), c && c.d(), m && m.d(), s = !1, h();
4422
4422
  }
4423
4423
  };
4424
4424
  }
@@ -4426,7 +4426,7 @@ function Ro(e) {
4426
4426
  let t, r;
4427
4427
  return {
4428
4428
  c() {
4429
- t = yt("svg"), r = yt("path"), g(r, "stroke-linecap", "round"), g(r, "stroke-linejoin", "round"), g(r, "stroke-width", "2"), g(r, "d", "M6 18L18 6M6 6l12 12"), g(r, "class", "svelte-1uy6d6f"), g(t, "class", "w-6 h-6 svelte-1uy6d6f"), g(t, "fill", "none"), g(t, "stroke", "currentColor"), g(t, "viewBox", "0 0 24 24"), g(t, "xmlns", "http://www.w3.org/2000/svg");
4429
+ t = yt("svg"), r = yt("path"), g(r, "stroke-linecap", "round"), g(r, "stroke-linejoin", "round"), g(r, "stroke-width", "2"), g(r, "d", "M6 18L18 6M6 6l12 12"), g(t, "class", "w-6 h-6"), g(t, "fill", "none"), g(t, "stroke", "currentColor"), g(t, "viewBox", "0 0 24 24"), g(t, "xmlns", "http://www.w3.org/2000/svg");
4430
4430
  },
4431
4431
  m(n, i) {
4432
4432
  U(n, t, i), v(t, r);
@@ -4438,10 +4438,10 @@ function Ro(e) {
4438
4438
  };
4439
4439
  }
4440
4440
  function zt(e) {
4441
- let t, r, n, i, o, s = (
4441
+ let t, r, n, i, o, a = (
4442
4442
  /*$_*/
4443
4443
  e[9]("randomGameLoading") + ""
4444
- ), a, h = xt(
4444
+ ), s, h = xt(
4445
4445
  /*gamesToShow*/
4446
4446
  e[4]
4447
4447
  ), l = [];
@@ -4452,71 +4452,71 @@ function zt(e) {
4452
4452
  t = E("div"), r = E("main"), n = E("div");
4453
4453
  for (let u = 0; u < l.length; u += 1)
4454
4454
  l[u].c();
4455
- i = $(), o = E("p"), a = k(s), g(n, "class", "items svelte-1uy6d6f"), vt(n, "transform", "translateY(" + /*offset*/
4456
- e[6] + "px)"), g(r, "class", "RandomGamesSliderWrapper svelte-1uy6d6f"), g(o, "class", "RandomGameLoading svelte-1uy6d6f"), g(t, "class", "RandomGameWrapper svelte-1uy6d6f");
4455
+ i = $(), o = E("p"), s = k(a), g(n, "class", "items"), vt(n, "transform", "translateY(" + /*offset*/
4456
+ e[6] + "px)"), g(r, "class", "RandomGamesSliderWrapper"), g(o, "class", "RandomGameLoading"), g(t, "class", "RandomGameWrapper");
4457
4457
  },
4458
- m(u, c) {
4459
- U(u, t, c), v(t, r), v(r, n);
4460
- for (let f = 0; f < l.length; f += 1)
4461
- l[f] && l[f].m(n, null);
4462
- v(t, i), v(t, o), v(o, a);
4458
+ m(u, f) {
4459
+ U(u, t, f), v(t, r), v(r, n);
4460
+ for (let c = 0; c < l.length; c += 1)
4461
+ l[c] && l[c].m(n, null);
4462
+ v(t, i), v(t, o), v(o, s);
4463
4463
  },
4464
- p(u, c) {
4465
- if (c[0] & /*gamesToShow*/
4464
+ p(u, f) {
4465
+ if (f[0] & /*gamesToShow*/
4466
4466
  16) {
4467
4467
  h = xt(
4468
4468
  /*gamesToShow*/
4469
4469
  u[4]
4470
4470
  );
4471
- let f;
4472
- for (f = 0; f < h.length; f += 1) {
4473
- const d = Vt(u, h, f);
4474
- l[f] ? l[f].p(d, c) : (l[f] = Jt(d), l[f].c(), l[f].m(n, null));
4471
+ let c;
4472
+ for (c = 0; c < h.length; c += 1) {
4473
+ const m = Vt(u, h, c);
4474
+ l[c] ? l[c].p(m, f) : (l[c] = Jt(m), l[c].c(), l[c].m(n, null));
4475
4475
  }
4476
- for (; f < l.length; f += 1)
4477
- l[f].d(1);
4476
+ for (; c < l.length; c += 1)
4477
+ l[c].d(1);
4478
4478
  l.length = h.length;
4479
4479
  }
4480
- c[0] & /*offset*/
4480
+ f[0] & /*offset*/
4481
4481
  64 && vt(n, "transform", "translateY(" + /*offset*/
4482
- u[6] + "px)"), c[0] & /*$_*/
4483
- 512 && s !== (s = /*$_*/
4484
- u[9]("randomGameLoading") + "") && Y(a, s);
4482
+ u[6] + "px)"), f[0] & /*$_*/
4483
+ 512 && a !== (a = /*$_*/
4484
+ u[9]("randomGameLoading") + "") && Y(s, a);
4485
4485
  },
4486
4486
  d(u) {
4487
- u && M(t), an(l, u);
4487
+ u && M(t), sn(l, u);
4488
4488
  }
4489
4489
  };
4490
4490
  }
4491
4491
  function Jt(e) {
4492
- let t, r, n, i, o, s;
4492
+ let t, r, n, i, o, a;
4493
4493
  return {
4494
4494
  c() {
4495
- t = E("div"), r = E("img"), s = $(), g(r, "class", "RandomGameImage svelte-1uy6d6f"), Se(r.src, n = /*game*/
4495
+ t = E("div"), r = E("img"), a = $(), g(r, "class", "RandomGameImage"), Se(r.src, n = /*game*/
4496
4496
  e[38].thumbnail) || g(r, "src", n), g(r, "alt", i = /*game*/
4497
4497
  e[38].name), g(r, "title", o = /*game*/
4498
- e[38].name), g(t, "class", "item svelte-1uy6d6f");
4498
+ e[38].name), g(t, "class", "item");
4499
4499
  },
4500
- m(a, h) {
4501
- U(a, t, h), v(t, r), v(t, s);
4500
+ m(s, h) {
4501
+ U(s, t, h), v(t, r), v(t, a);
4502
4502
  },
4503
- p(a, h) {
4503
+ p(s, h) {
4504
4504
  h[0] & /*gamesToShow*/
4505
4505
  16 && !Se(r.src, n = /*game*/
4506
- a[38].thumbnail) && g(r, "src", n), h[0] & /*gamesToShow*/
4506
+ s[38].thumbnail) && g(r, "src", n), h[0] & /*gamesToShow*/
4507
4507
  16 && i !== (i = /*game*/
4508
- a[38].name) && g(r, "alt", i), h[0] & /*gamesToShow*/
4508
+ s[38].name) && g(r, "alt", i), h[0] & /*gamesToShow*/
4509
4509
  16 && o !== (o = /*game*/
4510
- a[38].name) && g(r, "title", o);
4510
+ s[38].name) && g(r, "title", o);
4511
4511
  },
4512
- d(a) {
4513
- a && M(t);
4512
+ d(s) {
4513
+ s && M(t);
4514
4514
  }
4515
4515
  };
4516
4516
  }
4517
4517
  function Zt(e) {
4518
4518
  let t;
4519
- function r(o, s) {
4519
+ function r(o, a) {
4520
4520
  return (
4521
4521
  /*hasRandomGames*/
4522
4522
  o[8] ? Oo : Io
@@ -4527,11 +4527,11 @@ function Zt(e) {
4527
4527
  c() {
4528
4528
  i.c(), t = un();
4529
4529
  },
4530
- m(o, s) {
4531
- i.m(o, s), U(o, t, s);
4530
+ m(o, a) {
4531
+ i.m(o, a), U(o, t, a);
4532
4532
  },
4533
- p(o, s) {
4534
- n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t.parentNode, t)));
4533
+ p(o, a) {
4534
+ n === (n = r(o)) && i ? i.p(o, a) : (i.d(1), i = n(o), i && (i.c(), i.m(t.parentNode, t)));
4535
4535
  },
4536
4536
  d(o) {
4537
4537
  o && M(t), i.d(o);
@@ -4545,7 +4545,7 @@ function Io(e) {
4545
4545
  ), n;
4546
4546
  return {
4547
4547
  c() {
4548
- t = E("p"), n = k(r), g(t, "class", "RandomGameLoading svelte-1uy6d6f");
4548
+ t = E("p"), n = k(r), g(t, "class", "RandomGameLoading");
4549
4549
  },
4550
4550
  m(i, o) {
4551
4551
  U(i, t, o), v(t, n);
@@ -4561,10 +4561,10 @@ function Io(e) {
4561
4561
  };
4562
4562
  }
4563
4563
  function Oo(e) {
4564
- let t, r, n, i, o, s, a, h, l, u, c, f = (
4564
+ let t, r, n, i, o, a, s, h, l, u, f, c = (
4565
4565
  /*randomGame*/
4566
4566
  e[3].name + ""
4567
- ), d, m, b, H = (
4567
+ ), m, d, b, H = (
4568
4568
  /*randomGame*/
4569
4569
  e[3].vendor.name + ""
4570
4570
  ), B, A, S, I = (
@@ -4573,14 +4573,14 @@ function Oo(e) {
4573
4573
  ), P, N, G;
4574
4574
  return {
4575
4575
  c() {
4576
- t = E("div"), r = E("div"), n = E("img"), a = $(), h = E("button"), h.innerHTML = `<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1" x="0px" y="0px" viewBox="0 0 200 200" style="enable-background:new 0 0 200 200;" xml:space="preserve" class="svelte-1uy6d6f"><style type="text/css" class="svelte-1uy6d6f">.st0{fill:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));}
4577
- </style><path class="st0 svelte-1uy6d6f" d="M162.4,161.2C145.3,178.5,122.7,187,100,187c-19.1,0-38.2-6.2-54-18.4l2.2,24c0.4,3.6-2.4,6.9-6,7.3h-0.7 c-3.3,0-6.2-2.7-6.7-6l-3.8-41.1c-0.4-3.6,2.4-6.9,6-7.3l40.9-3.8c3.6-0.4,6.9,2.4,7.3,6c0.4,3.6-2.4,6.9-6,7.3l-26,2.4 c29.3,23.3,72.4,21.6,99.5-5.6c19.8-19.8,26.9-48.7,18.4-75.3c-1.1-3.6,0.9-7.3,4.4-8.4c3.6-1.1,7.3,0.9,8.4,4.4 C194,103.9,185.8,137.9,162.4,161.2L162.4,161.2z M47.1,47.9c27.1-27.1,70.2-29.1,99.5-5.6l-26,2.4c-3.6,0.4-6.4,3.6-6,7.3 c0.2,3.6,3.3,6,6.7,6h0.7l40.9-3.8c3.6-0.4,6.4-3.6,6-7.3l-4-41.1c-0.4-3.6-3.6-6.4-7.3-6c-3.6,0.4-6.4,3.6-6,7.3l2.2,24 C119.3,4.4,69.3,6.8,37.6,38.6C14.2,61.9,6,95.9,15.8,127.2c0.9,2.9,3.6,4.7,6.4,4.7c0.7,0,1.3,0,2-0.2c3.6-1.1,5.6-4.9,4.4-8.4 C20.2,96.6,27.4,67.7,47.1,47.9L47.1,47.9z"></path></svg>`, l = $(), u = E("div"), c = E("p"), d = k(f), m = $(), b = E("p"), B = k(H), A = $(), S = E("button"), P = k(I), g(n, "class", "RandomGameImage svelte-1uy6d6f"), Se(n.src, i = /*randomGame*/
4576
+ t = E("div"), r = E("div"), n = E("img"), s = $(), h = E("button"), h.innerHTML = `<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1" x="0px" y="0px" viewBox="0 0 200 200" style="enable-background:new 0 0 200 200;" xml:space="preserve"><style type="text/css">.st0{fill:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));}
4577
+ </style><path class="st0" d="M162.4,161.2C145.3,178.5,122.7,187,100,187c-19.1,0-38.2-6.2-54-18.4l2.2,24c0.4,3.6-2.4,6.9-6,7.3h-0.7 c-3.3,0-6.2-2.7-6.7-6l-3.8-41.1c-0.4-3.6,2.4-6.9,6-7.3l40.9-3.8c3.6-0.4,6.9,2.4,7.3,6c0.4,3.6-2.4,6.9-6,7.3l-26,2.4 c29.3,23.3,72.4,21.6,99.5-5.6c19.8-19.8,26.9-48.7,18.4-75.3c-1.1-3.6,0.9-7.3,4.4-8.4c3.6-1.1,7.3,0.9,8.4,4.4 C194,103.9,185.8,137.9,162.4,161.2L162.4,161.2z M47.1,47.9c27.1-27.1,70.2-29.1,99.5-5.6l-26,2.4c-3.6,0.4-6.4,3.6-6,7.3 c0.2,3.6,3.3,6,6.7,6h0.7l40.9-3.8c3.6-0.4,6.4-3.6,6-7.3l-4-41.1c-0.4-3.6-3.6-6.4-7.3-6c-3.6,0.4-6.4,3.6-6,7.3l2.2,24 C119.3,4.4,69.3,6.8,37.6,38.6C14.2,61.9,6,95.9,15.8,127.2c0.9,2.9,3.6,4.7,6.4,4.7c0.7,0,1.3,0,2-0.2c3.6-1.1,5.6-4.9,4.4-8.4 C20.2,96.6,27.4,67.7,47.1,47.9L47.1,47.9z"></path></svg>`, l = $(), u = E("div"), f = E("p"), m = k(c), d = $(), b = E("p"), B = k(H), A = $(), S = E("button"), P = k(I), g(n, "class", "RandomGameImage"), Se(n.src, i = /*randomGame*/
4578
4578
  e[3].thumbnail) || g(n, "src", i), g(n, "alt", o = /*randomGame*/
4579
- e[3].name), g(n, "title", s = /*randomGame*/
4580
- e[3].name), g(h, "class", "RandomTryAgain svelte-1uy6d6f"), g(r, "class", "item svelte-1uy6d6f"), g(c, "class", "RandomGameTitle svelte-1uy6d6f"), g(b, "class", "RandomGameVendor svelte-1uy6d6f"), g(S, "class", "RandomGamePlay svelte-1uy6d6f"), g(u, "class", "RandomGameDetails svelte-1uy6d6f"), g(t, "class", "RandomGameWrapper svelte-1uy6d6f");
4579
+ e[3].name), g(n, "title", a = /*randomGame*/
4580
+ e[3].name), g(h, "class", "RandomTryAgain"), g(r, "class", "item"), g(f, "class", "RandomGameTitle"), g(b, "class", "RandomGameVendor"), g(S, "class", "RandomGamePlay"), g(u, "class", "RandomGameDetails"), g(t, "class", "RandomGameWrapper");
4581
4581
  },
4582
4582
  m(O, D) {
4583
- U(O, t, D), v(t, r), v(r, n), v(r, a), v(r, h), v(t, l), v(t, u), v(u, c), v(c, d), v(u, m), v(u, b), v(b, B), v(u, A), v(u, S), v(S, P), N || (G = [
4583
+ U(O, t, D), v(t, r), v(r, n), v(r, s), v(r, h), v(t, l), v(t, u), v(u, f), v(f, m), v(u, d), v(u, b), v(b, B), v(u, A), v(u, S), v(S, P), N || (G = [
4584
4584
  Te(
4585
4585
  h,
4586
4586
  "click",
@@ -4601,10 +4601,10 @@ function Oo(e) {
4601
4601
  O[3].thumbnail) && g(n, "src", i), D[0] & /*randomGame*/
4602
4602
  8 && o !== (o = /*randomGame*/
4603
4603
  O[3].name) && g(n, "alt", o), D[0] & /*randomGame*/
4604
- 8 && s !== (s = /*randomGame*/
4605
- O[3].name) && g(n, "title", s), D[0] & /*randomGame*/
4606
- 8 && f !== (f = /*randomGame*/
4607
- O[3].name + "") && Y(d, f), D[0] & /*randomGame*/
4604
+ 8 && a !== (a = /*randomGame*/
4605
+ O[3].name) && g(n, "title", a), D[0] & /*randomGame*/
4606
+ 8 && c !== (c = /*randomGame*/
4607
+ O[3].name + "") && Y(m, c), D[0] & /*randomGame*/
4608
4608
  8 && H !== (H = /*randomGame*/
4609
4609
  O[3].vendor.name + "") && Y(B, H), D[0] & /*$_*/
4610
4610
  512 && I !== (I = /*$_*/
@@ -4622,7 +4622,7 @@ function No(e) {
4622
4622
  ), n;
4623
4623
  return {
4624
4624
  c() {
4625
- t = E("span"), n = k(r), g(t, "class", "RandomButtonText svelte-1uy6d6f");
4625
+ t = E("span"), n = k(r), g(t, "class", "RandomButtonText");
4626
4626
  },
4627
4627
  m(i, o) {
4628
4628
  U(i, t, o), v(t, n);
@@ -4637,14 +4637,14 @@ function No(e) {
4637
4637
  }
4638
4638
  };
4639
4639
  }
4640
- function Lo(e) {
4640
+ function Co(e) {
4641
4641
  let t, r;
4642
4642
  return {
4643
4643
  c() {
4644
4644
  t = E("span"), r = k(
4645
4645
  /*buttontext*/
4646
4646
  e[1]
4647
- ), g(t, "class", "RandomButtonText svelte-1uy6d6f");
4647
+ ), g(t, "class", "RandomButtonText");
4648
4648
  },
4649
4649
  m(n, i) {
4650
4650
  U(n, t, i), v(t, r);
@@ -4662,60 +4662,60 @@ function Lo(e) {
4662
4662
  }
4663
4663
  };
4664
4664
  }
4665
- function Co(e) {
4666
- let t, r, n, i, o, s, a, h, l, u = (
4665
+ function Lo(e) {
4666
+ let t, r, n, i, o, a, s, h, l, u = (
4667
4667
  /*show*/
4668
4668
  e[5] && Xt(e)
4669
4669
  );
4670
- function c(m, b) {
4670
+ function f(d, b) {
4671
4671
  if (
4672
4672
  /*buttontext*/
4673
- m[1]
4674
- ) return Lo;
4673
+ d[1]
4674
+ ) return Co;
4675
4675
  if (!/*buttontext*/
4676
- m[1]) return No;
4676
+ d[1]) return No;
4677
4677
  }
4678
- let f = c(e), d = f && f(e);
4678
+ let c = f(e), m = c && c(e);
4679
4679
  return {
4680
4680
  c() {
4681
- t = E("div"), u && u.c(), r = $(), n = E("div"), i = E("button"), d && d.c(), o = $(), s = E("span"), g(s, "class", "RandomButtonIcon svelte-1uy6d6f"), g(i, "class", "RandomButton svelte-1uy6d6f"), g(n, "class", "RandomButtonWrapper svelte-1uy6d6f"), g(t, "part", "CustomStylingContainer"), g(t, "class", "svelte-1uy6d6f");
4681
+ t = E("div"), u && u.c(), r = $(), n = E("div"), i = E("button"), m && m.c(), o = $(), a = E("span"), g(a, "class", "RandomButtonIcon"), g(i, "class", "RandomButton"), g(n, "class", "RandomButtonWrapper"), g(t, "part", "CustomStylingContainer");
4682
4682
  },
4683
- m(m, b) {
4684
- U(m, t, b), u && u.m(t, null), v(t, r), v(t, n), v(n, i), d && d.m(i, null), v(i, o), v(i, s), s.innerHTML = /*randombuttonicon*/
4685
- e[0], e[26](t), a = !0, h || (l = Te(
4683
+ m(d, b) {
4684
+ U(d, t, b), u && u.m(t, null), v(t, r), v(t, n), v(n, i), m && m.m(i, null), v(i, o), v(i, a), a.innerHTML = /*randombuttonicon*/
4685
+ e[0], e[26](t), s = !0, h || (l = Te(
4686
4686
  i,
4687
4687
  "click",
4688
4688
  /*click_handler_2*/
4689
4689
  e[25]
4690
4690
  ), h = !0);
4691
4691
  },
4692
- p(m, b) {
4692
+ p(d, b) {
4693
4693
  /*show*/
4694
- m[5] ? u ? (u.p(m, b), b[0] & /*show*/
4695
- 32 && de(u, 1)) : (u = Xt(m), u.c(), de(u, 1), u.m(t, r)) : u && (pn(), Xe(u, 1, 1, () => {
4694
+ d[5] ? u ? (u.p(d, b), b[0] & /*show*/
4695
+ 32 && me(u, 1)) : (u = Xt(d), u.c(), me(u, 1), u.m(t, r)) : u && (pn(), Xe(u, 1, 1, () => {
4696
4696
  u = null;
4697
- }), bn()), f === (f = c(m)) && d ? d.p(m, b) : (d && d.d(1), d = f && f(m), d && (d.c(), d.m(i, o))), (!a || b[0] & /*randombuttonicon*/
4698
- 1) && (s.innerHTML = /*randombuttonicon*/
4699
- m[0]);
4697
+ }), bn()), c === (c = f(d)) && m ? m.p(d, b) : (m && m.d(1), m = c && c(d), m && (m.c(), m.m(i, o))), (!s || b[0] & /*randombuttonicon*/
4698
+ 1) && (a.innerHTML = /*randombuttonicon*/
4699
+ d[0]);
4700
4700
  },
4701
- i(m) {
4702
- a || (de(u), a = !0);
4701
+ i(d) {
4702
+ s || (me(u), s = !0);
4703
4703
  },
4704
- o(m) {
4705
- Xe(u), a = !1;
4704
+ o(d) {
4705
+ Xe(u), s = !1;
4706
4706
  },
4707
- d(m) {
4708
- m && M(t), u && u.d(), d && d.d(), e[26](null), h = !1, l();
4707
+ d(d) {
4708
+ d && M(t), u && u.d(), m && m.d(), e[26](null), h = !1, l();
4709
4709
  }
4710
4710
  };
4711
4711
  }
4712
4712
  function Mo(e, t, r) {
4713
4713
  let n;
4714
4714
  qr(e, So, (p) => r(9, n = p));
4715
- let { $$slots: i = {}, $$scope: o } = t, { endpoint: s = "" } = t, { datasource: a = "" } = t, { gameevent: h = "" } = t, { lang: l = "" } = t, { randombuttonicon: u = "" } = t, { buttontext: c = "" } = t, { translationurl: f = "" } = t, { clientstyling: d = "" } = t, { clientstylingurl: m = "" } = t, { filteredrandomgamecategories: b = "" } = t, H = [], B = "", A, S = !1, I = 0, P = 0, N = !1, G = !1, O, D = window.navigator.userAgent, J;
4715
+ let { $$slots: i = {}, $$scope: o } = t, { endpoint: a = "" } = t, { datasource: s = "" } = t, { gameevent: h = "" } = t, { lang: l = "" } = t, { randombuttonicon: u = "" } = t, { buttontext: f = "" } = t, { translationurl: c = "" } = t, { clientstyling: m = "" } = t, { clientstylingurl: d = "" } = t, { filteredrandomgamecategories: b = "" } = t, H = [], B = "", A, S = !1, I = 0, P = 0, N = !1, G = !1, O, D = window.navigator.userAgent, J;
4716
4716
  Ho({ withLocale: "en", translations: {} });
4717
4717
  const Nr = () => {
4718
- fetch(f).then((T) => T.json()).then((T) => {
4718
+ fetch(c).then((T) => T.json()).then((T) => {
4719
4719
  Object.keys(T).forEach((F) => {
4720
4720
  jt(F, T[F]);
4721
4721
  });
@@ -4726,10 +4726,10 @@ function Mo(e, t, r) {
4726
4726
  Object.keys(kt).forEach((p) => {
4727
4727
  jt(p, kt[p]);
4728
4728
  });
4729
- const Lr = () => {
4730
- r(4, A = Cr(A)), r(6, I = 0), P = 0, r(7, N = !1), r(3, B = H[Math.floor(Math.random() * H.length)]), r(5, S = !0);
4729
+ const Cr = () => {
4730
+ r(4, A = Lr(A)), r(6, I = 0), P = 0, r(7, N = !1), r(3, B = H[Math.floor(Math.random() * H.length)]), r(5, S = !0);
4731
4731
  }, Ne = (p) => {
4732
- G ? (Lr(), clearInterval(O), O = setInterval(
4732
+ G ? (Cr(), clearInterval(O), O = setInterval(
4733
4733
  () => {
4734
4734
  r(6, I -= 75), P++, P == 20 && (r(7, N = !0), clearInterval(O));
4735
4735
  },
@@ -4738,12 +4738,12 @@ function Mo(e, t, r) {
4738
4738
  context: "RandomGameWidget",
4739
4739
  gameId: `${B.gId || B.id}`
4740
4740
  }), window.postMessage({ type: "RandomWidgetState", state: !0 }, window.location.href);
4741
- }, Cr = (p) => {
4741
+ }, Lr = (p) => {
4742
4742
  let T = p.length, F;
4743
4743
  for (; T != 0; )
4744
4744
  F = Math.floor(Math.random() * T), T--, [p[T], p[F]] = [p[F], p[T]];
4745
4745
  return p;
4746
- }, ct = () => {
4746
+ }, ft = () => {
4747
4747
  window.postMessage(
4748
4748
  {
4749
4749
  type: h,
@@ -4757,8 +4757,8 @@ function Mo(e, t, r) {
4757
4757
  }, Mr = () => {
4758
4758
  r(5, S = !1), window.postMessage({ type: "RandomWidgetState", state: S }, window.location.href);
4759
4759
  }, Gr = () => {
4760
- let p = new URL(`${s}/v1/casino/games`);
4761
- p.searchParams.append("platform", To(D)), p.searchParams.append("datasource", a), p.searchParams.append("fields", "gId,id,href,thumbnail,name,vendor,categories"), b && p.searchParams.append("filter", `groups=${b}`), p.searchParams.append("expand", "categories,vendor"), p.searchParams.append("pagination", "offset=0,limit=1000"), fetch(p.href).then((T) => T.json()).then((T) => {
4760
+ let p = new URL(`${a}/v1/casino/games`);
4761
+ p.searchParams.append("platform", To(D)), p.searchParams.append("datasource", s), p.searchParams.append("fields", "gId,id,href,thumbnail,name,vendor,categories"), b && p.searchParams.append("filter", `groups=${b}`), p.searchParams.append("expand", "categories,vendor"), p.searchParams.append("pagination", "offset=0,limit=1000"), fetch(p.href).then((T) => T.json()).then((T) => {
4762
4762
  H = T.items, H.length ? (r(4, A = H.slice(0, 19)), r(8, G = !0)) : (r(4, A = []), r(8, G = !1));
4763
4763
  }).catch((T) => {
4764
4764
  console.log(T), r(8, G = !1);
@@ -4767,9 +4767,9 @@ function Mo(e, t, r) {
4767
4767
  Bo(l);
4768
4768
  }, Dr = () => {
4769
4769
  let p = document.createElement("style");
4770
- p.innerHTML = d, J.appendChild(p);
4770
+ p.innerHTML = m, J.appendChild(p);
4771
4771
  }, Fr = () => {
4772
- let p = new URL(m), T = document.createElement("style");
4772
+ let p = new URL(d), T = document.createElement("style");
4773
4773
  fetch(p.href).then((F) => F.text()).then((F) => {
4774
4774
  T.innerHTML = F, setTimeout(
4775
4775
  () => {
@@ -4778,24 +4778,24 @@ function Mo(e, t, r) {
4778
4778
  1
4779
4779
  );
4780
4780
  });
4781
- }, $r = () => Ne(!0), jr = () => ct(), kr = () => Ne();
4781
+ }, $r = () => Ne(!0), jr = () => ft(), kr = () => Ne();
4782
4782
  function Vr(p) {
4783
4783
  ke[p ? "unshift" : "push"](() => {
4784
4784
  J = p, r(2, J);
4785
4785
  });
4786
4786
  }
4787
4787
  return e.$$set = (p) => {
4788
- "endpoint" in p && r(13, s = p.endpoint), "datasource" in p && r(14, a = p.datasource), "gameevent" in p && r(15, h = p.gameevent), "lang" in p && r(16, l = p.lang), "randombuttonicon" in p && r(0, u = p.randombuttonicon), "buttontext" in p && r(1, c = p.buttontext), "translationurl" in p && r(17, f = p.translationurl), "clientstyling" in p && r(18, d = p.clientstyling), "clientstylingurl" in p && r(19, m = p.clientstylingurl), "filteredrandomgamecategories" in p && r(20, b = p.filteredrandomgamecategories), "$$scope" in p && r(21, o = p.$$scope);
4788
+ "endpoint" in p && r(13, a = p.endpoint), "datasource" in p && r(14, s = p.datasource), "gameevent" in p && r(15, h = p.gameevent), "lang" in p && r(16, l = p.lang), "randombuttonicon" in p && r(0, u = p.randombuttonicon), "buttontext" in p && r(1, f = p.buttontext), "translationurl" in p && r(17, c = p.translationurl), "clientstyling" in p && r(18, m = p.clientstyling), "clientstylingurl" in p && r(19, d = p.clientstylingurl), "filteredrandomgamecategories" in p && r(20, b = p.filteredrandomgamecategories), "$$scope" in p && r(21, o = p.$$scope);
4789
4789
  }, e.$$.update = () => {
4790
4790
  e.$$.dirty[0] & /*lang*/
4791
4791
  65536 && l && Ur(), e.$$.dirty[0] & /*translationurl*/
4792
- 131072 && f && Nr(), e.$$.dirty[0] & /*endpoint, datasource*/
4793
- 24576 && s && a && Gr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4794
- 262148 && d && J && Dr(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4795
- 524292 && m && J && Fr();
4792
+ 131072 && c && Nr(), e.$$.dirty[0] & /*endpoint, datasource*/
4793
+ 24576 && a && s && Gr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4794
+ 262148 && m && J && Dr(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4795
+ 524292 && d && J && Fr();
4796
4796
  }, [
4797
4797
  u,
4798
- c,
4798
+ f,
4799
4799
  J,
4800
4800
  B,
4801
4801
  A,
@@ -4805,15 +4805,15 @@ function Mo(e, t, r) {
4805
4805
  G,
4806
4806
  n,
4807
4807
  Ne,
4808
- ct,
4808
+ ft,
4809
4809
  Mr,
4810
- s,
4811
4810
  a,
4811
+ s,
4812
4812
  h,
4813
4813
  l,
4814
- f,
4815
- d,
4814
+ c,
4816
4815
  m,
4816
+ d,
4817
4817
  b,
4818
4818
  o,
4819
4819
  i,
@@ -4829,7 +4829,7 @@ class Go extends En {
4829
4829
  this,
4830
4830
  t,
4831
4831
  Mo,
4832
- Co,
4832
+ Lo,
4833
4833
  Qt,
4834
4834
  {
4835
4835
  endpoint: 13,
@@ -4851,61 +4851,61 @@ class Go extends En {
4851
4851
  return this.$$.ctx[13];
4852
4852
  }
4853
4853
  set endpoint(t) {
4854
- this.$$set({ endpoint: t }), C();
4854
+ this.$$set({ endpoint: t }), L();
4855
4855
  }
4856
4856
  get datasource() {
4857
4857
  return this.$$.ctx[14];
4858
4858
  }
4859
4859
  set datasource(t) {
4860
- this.$$set({ datasource: t }), C();
4860
+ this.$$set({ datasource: t }), L();
4861
4861
  }
4862
4862
  get gameevent() {
4863
4863
  return this.$$.ctx[15];
4864
4864
  }
4865
4865
  set gameevent(t) {
4866
- this.$$set({ gameevent: t }), C();
4866
+ this.$$set({ gameevent: t }), L();
4867
4867
  }
4868
4868
  get lang() {
4869
4869
  return this.$$.ctx[16];
4870
4870
  }
4871
4871
  set lang(t) {
4872
- this.$$set({ lang: t }), C();
4872
+ this.$$set({ lang: t }), L();
4873
4873
  }
4874
4874
  get randombuttonicon() {
4875
4875
  return this.$$.ctx[0];
4876
4876
  }
4877
4877
  set randombuttonicon(t) {
4878
- this.$$set({ randombuttonicon: t }), C();
4878
+ this.$$set({ randombuttonicon: t }), L();
4879
4879
  }
4880
4880
  get buttontext() {
4881
4881
  return this.$$.ctx[1];
4882
4882
  }
4883
4883
  set buttontext(t) {
4884
- this.$$set({ buttontext: t }), C();
4884
+ this.$$set({ buttontext: t }), L();
4885
4885
  }
4886
4886
  get translationurl() {
4887
4887
  return this.$$.ctx[17];
4888
4888
  }
4889
4889
  set translationurl(t) {
4890
- this.$$set({ translationurl: t }), C();
4890
+ this.$$set({ translationurl: t }), L();
4891
4891
  }
4892
4892
  get clientstyling() {
4893
4893
  return this.$$.ctx[18];
4894
4894
  }
4895
4895
  set clientstyling(t) {
4896
- this.$$set({ clientstyling: t }), C();
4896
+ this.$$set({ clientstyling: t }), L();
4897
4897
  }
4898
4898
  get clientstylingurl() {
4899
4899
  return this.$$.ctx[19];
4900
4900
  }
4901
4901
  set clientstylingurl(t) {
4902
- this.$$set({ clientstylingurl: t }), C();
4902
+ this.$$set({ clientstylingurl: t }), L();
4903
4903
  }
4904
4904
  get filteredrandomgamecategories() {
4905
4905
  return this.$$.ctx[20];
4906
4906
  }
4907
4907
  set filteredrandomgamecategories(t) {
4908
- this.$$set({ filteredrandomgamecategories: t }), C();
4908
+ this.$$set({ filteredrandomgamecategories: t }), L();
4909
4909
  }
4910
4910
  }
4911
4911
  xn(Go, { endpoint: {}, datasource: {}, gameevent: {}, lang: {}, randombuttonicon: {}, buttontext: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, filteredrandomgamecategories: {} }, ["close"], [], !0);