@everymatrix/casino-random-game 1.55.0 → 1.56.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,56 +1,56 @@
1
- function C() {
1
+ function M() {
2
2
  }
3
- function jr(e, t) {
3
+ function Ur(e, t) {
4
4
  for (const r in t) e[r] = t[r];
5
5
  return (
6
6
  /** @type {T & S} */
7
7
  e
8
8
  );
9
9
  }
10
- function Vt(e) {
10
+ function $t(e) {
11
11
  return e();
12
12
  }
13
- function mt() {
13
+ function ht() {
14
14
  return /* @__PURE__ */ Object.create(null);
15
15
  }
16
16
  function z(e) {
17
- e.forEach(Vt);
17
+ e.forEach($t);
18
18
  }
19
- function ot(e) {
19
+ function it(e) {
20
20
  return typeof e == "function";
21
21
  }
22
- function Wt(e, t) {
22
+ function jt(e, t) {
23
23
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
24
24
  }
25
25
  let ge;
26
- function dt(e, t) {
26
+ function ct(e, t) {
27
27
  return e === t ? !0 : (ge || (ge = document.createElement("a")), ge.href = t, e === ge.href);
28
28
  }
29
- function kr(e) {
29
+ function Dr(e) {
30
30
  return Object.keys(e).length === 0;
31
31
  }
32
- function Xt(e, ...t) {
32
+ function kt(e, ...t) {
33
33
  if (e == null) {
34
34
  for (const n of t)
35
35
  n(void 0);
36
- return C;
36
+ return M;
37
37
  }
38
38
  const r = e.subscribe(...t);
39
39
  return r.unsubscribe ? () => r.unsubscribe() : r;
40
40
  }
41
- function Vr(e, t, r) {
42
- e.$$.on_destroy.push(Xt(t, r));
41
+ function Fr(e, t, r) {
42
+ e.$$.on_destroy.push(kt(t, r));
43
43
  }
44
- function Wr(e, t, r, n) {
44
+ function $r(e, t, r, n) {
45
45
  if (e) {
46
- const i = zt(e, t, r, n);
46
+ const i = Vt(e, t, r, n);
47
47
  return e[0](i);
48
48
  }
49
49
  }
50
- function zt(e, t, r, n) {
51
- return e[1] && n ? jr(r.ctx.slice(), e[1](n(t))) : r.ctx;
50
+ function Vt(e, t, r, n) {
51
+ return e[1] && n ? Ur(r.ctx.slice(), e[1](n(t))) : r.ctx;
52
52
  }
53
- function Xr(e, t, r, n) {
53
+ function jr(e, t, r, n) {
54
54
  if (e[2] && n) {
55
55
  const i = e[2](n(r));
56
56
  if (t.dirty === void 0)
@@ -65,13 +65,13 @@ function Xr(e, t, r, n) {
65
65
  }
66
66
  return t.dirty;
67
67
  }
68
- function zr(e, t, r, n, i, o) {
68
+ function kr(e, t, r, n, i, o) {
69
69
  if (i) {
70
- const a = zt(t, r, n, o);
70
+ const a = Vt(t, r, n, o);
71
71
  e.p(a, i);
72
72
  }
73
73
  }
74
- function Jr(e) {
74
+ function Vr(e) {
75
75
  if (e.ctx.length > 32) {
76
76
  const t = [], r = e.ctx.length / 32;
77
77
  for (let n = 0; n < r; n++)
@@ -83,14 +83,14 @@ function Jr(e) {
83
83
  function x(e, t) {
84
84
  e.appendChild(t);
85
85
  }
86
- function Zr(e, t, r) {
87
- const n = Qr(e);
86
+ function Wr(e, t, r) {
87
+ const n = Xr(e);
88
88
  if (!n.getElementById(t)) {
89
89
  const i = S("style");
90
- i.id = t, i.textContent = r, Yr(n, i);
90
+ i.id = t, i.textContent = r, zr(n, i);
91
91
  }
92
92
  }
93
- function Qr(e) {
93
+ function Xr(e) {
94
94
  if (!e) return document;
95
95
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
96
96
  return t && /** @type {ShadowRoot} */
@@ -99,27 +99,27 @@ function Qr(e) {
99
99
  t
100
100
  ) : e.ownerDocument;
101
101
  }
102
- function Yr(e, t) {
102
+ function zr(e, t) {
103
103
  return x(
104
104
  /** @type {Document} */
105
105
  e.head || e,
106
106
  t
107
107
  ), t.sheet;
108
108
  }
109
- function O(e, t, r) {
109
+ function I(e, t, r) {
110
110
  e.insertBefore(t, r || null);
111
111
  }
112
112
  function R(e) {
113
113
  e.parentNode && e.parentNode.removeChild(e);
114
114
  }
115
- function qr(e, t) {
115
+ function Jr(e, t) {
116
116
  for (let r = 0; r < e.length; r += 1)
117
117
  e[r] && e[r].d(t);
118
118
  }
119
119
  function S(e) {
120
120
  return document.createElement(e);
121
121
  }
122
- function pt(e) {
122
+ function ft(e) {
123
123
  return document.createElementNS("http://www.w3.org/2000/svg", e);
124
124
  }
125
125
  function j(e) {
@@ -134,14 +134,14 @@ function Te(e, t, r, n) {
134
134
  function g(e, t, r) {
135
135
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
136
136
  }
137
- function Kr(e) {
137
+ function Zr(e) {
138
138
  return Array.from(e.childNodes);
139
139
  }
140
140
  function X(e, t) {
141
141
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
142
142
  t);
143
143
  }
144
- function en(e) {
144
+ function Qr(e) {
145
145
  const t = {};
146
146
  return e.childNodes.forEach(
147
147
  /** @param {Element} node */
@@ -154,29 +154,29 @@ let fe;
154
154
  function he(e) {
155
155
  fe = e;
156
156
  }
157
- function tn() {
157
+ function Yr() {
158
158
  if (!fe) throw new Error("Function called outside component initialization");
159
159
  return fe;
160
160
  }
161
- function rn(e) {
162
- tn().$$.on_mount.push(e);
161
+ function qr(e) {
162
+ Yr().$$.on_mount.push(e);
163
163
  }
164
164
  const q = [], He = [];
165
165
  let K = [];
166
- const bt = [], Jt = /* @__PURE__ */ Promise.resolve();
167
- let ke = !1;
168
- function Zt() {
169
- ke || (ke = !0, Jt.then(I));
166
+ const mt = [], Wt = /* @__PURE__ */ Promise.resolve();
167
+ let je = !1;
168
+ function Xt() {
169
+ je || (je = !0, Wt.then(O));
170
170
  }
171
- function nn() {
172
- return Zt(), Jt;
171
+ function Kr() {
172
+ return Xt(), Wt;
173
173
  }
174
- function Ve(e) {
174
+ function ke(e) {
175
175
  K.push(e);
176
176
  }
177
- const Ce = /* @__PURE__ */ new Set();
177
+ const Me = /* @__PURE__ */ new Set();
178
178
  let Q = 0;
179
- function I() {
179
+ function O() {
180
180
  if (Q !== 0)
181
181
  return;
182
182
  const e = fe;
@@ -184,7 +184,7 @@ function I() {
184
184
  try {
185
185
  for (; Q < q.length; ) {
186
186
  const t = q[Q];
187
- Q++, he(t), on(t.$$);
187
+ Q++, he(t), en(t.$$);
188
188
  }
189
189
  } catch (t) {
190
190
  throw q.length = 0, Q = 0, t;
@@ -192,28 +192,28 @@ function I() {
192
192
  for (he(null), q.length = 0, Q = 0; He.length; ) He.pop()();
193
193
  for (let t = 0; t < K.length; t += 1) {
194
194
  const r = K[t];
195
- Ce.has(r) || (Ce.add(r), r());
195
+ Me.has(r) || (Me.add(r), r());
196
196
  }
197
197
  K.length = 0;
198
198
  } while (q.length);
199
- for (; bt.length; )
200
- bt.pop()();
201
- ke = !1, Ce.clear(), he(e);
199
+ for (; mt.length; )
200
+ mt.pop()();
201
+ je = !1, Me.clear(), he(e);
202
202
  }
203
- function on(e) {
203
+ function en(e) {
204
204
  if (e.fragment !== null) {
205
205
  e.update(), z(e.before_update);
206
206
  const t = e.dirty;
207
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ve);
207
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ke);
208
208
  }
209
209
  }
210
- function an(e) {
210
+ function tn(e) {
211
211
  const t = [], r = [];
212
212
  K.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), K = t;
213
213
  }
214
214
  const _e = /* @__PURE__ */ new Set();
215
215
  let W;
216
- function sn() {
216
+ function rn() {
217
217
  W = {
218
218
  r: 0,
219
219
  c: [],
@@ -221,13 +221,13 @@ function sn() {
221
221
  // parent group
222
222
  };
223
223
  }
224
- function un() {
224
+ function nn() {
225
225
  W.r || z(W.c), W = W.p;
226
226
  }
227
227
  function ce(e, t) {
228
228
  e && e.i && (_e.delete(e), e.i(t));
229
229
  }
230
- function We(e, t, r, n) {
230
+ function Ve(e, t, r, n) {
231
231
  if (e && e.o) {
232
232
  if (_e.has(e)) return;
233
233
  _e.add(e), W.c.push(() => {
@@ -235,24 +235,24 @@ function We(e, t, r, n) {
235
235
  }), e.o(t);
236
236
  } else n && n();
237
237
  }
238
- function gt(e) {
238
+ function dt(e) {
239
239
  return e?.length !== void 0 ? e : Array.from(e);
240
240
  }
241
- function ln(e, t, r) {
241
+ function on(e, t, r) {
242
242
  const { fragment: n, after_update: i } = e.$$;
243
- n && n.m(t, r), Ve(() => {
244
- const o = e.$$.on_mount.map(Vt).filter(ot);
243
+ n && n.m(t, r), ke(() => {
244
+ const o = e.$$.on_mount.map($t).filter(it);
245
245
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : z(o), e.$$.on_mount = [];
246
- }), i.forEach(Ve);
246
+ }), i.forEach(ke);
247
247
  }
248
- function hn(e, t) {
248
+ function an(e, t) {
249
249
  const r = e.$$;
250
- r.fragment !== null && (an(r.after_update), z(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
250
+ r.fragment !== null && (tn(r.after_update), z(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
251
251
  }
252
- function cn(e, t) {
253
- e.$$.dirty[0] === -1 && (q.push(e), Zt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
252
+ function sn(e, t) {
253
+ e.$$.dirty[0] === -1 && (q.push(e), Xt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
254
254
  }
255
- function fn(e, t, r, n, i, o, a = null, s = [-1]) {
255
+ function un(e, t, r, n, i, o, a = null, s = [-1]) {
256
256
  const h = fe;
257
257
  he(e);
258
258
  const l = e.$$ = {
@@ -260,9 +260,9 @@ function fn(e, t, r, n, i, o, a = null, s = [-1]) {
260
260
  ctx: [],
261
261
  // state
262
262
  props: o,
263
- update: C,
263
+ update: M,
264
264
  not_equal: i,
265
- bound: mt(),
265
+ bound: ht(),
266
266
  // lifecycle
267
267
  on_mount: [],
268
268
  on_destroy: [],
@@ -271,7 +271,7 @@ function fn(e, t, r, n, i, o, a = null, s = [-1]) {
271
271
  after_update: [],
272
272
  context: new Map(t.context || (h ? h.$$.context : [])),
273
273
  // everything else
274
- callbacks: mt(),
274
+ callbacks: ht(),
275
275
  dirty: s,
276
276
  skip_bound: !1,
277
277
  root: t.target || h.$$.root
@@ -280,19 +280,19 @@ function fn(e, t, r, n, i, o, a = null, s = [-1]) {
280
280
  let u = !1;
281
281
  if (l.ctx = r ? r(e, t.props || {}, (f, c, ...m) => {
282
282
  const d = m.length ? m[0] : c;
283
- return l.ctx && i(l.ctx[f], l.ctx[f] = d) && (!l.skip_bound && l.bound[f] && l.bound[f](d), u && cn(e, f)), c;
283
+ return l.ctx && i(l.ctx[f], l.ctx[f] = d) && (!l.skip_bound && l.bound[f] && l.bound[f](d), u && sn(e, f)), c;
284
284
  }) : [], l.update(), u = !0, z(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
285
285
  if (t.hydrate) {
286
- const f = Kr(t.target);
286
+ const f = Zr(t.target);
287
287
  l.fragment && l.fragment.l(f), f.forEach(R);
288
288
  } else
289
289
  l.fragment && l.fragment.c();
290
- t.intro && ce(e.$$.fragment), ln(e, t.target, t.anchor), I();
290
+ t.intro && ce(e.$$.fragment), on(e, t.target, t.anchor), O();
291
291
  }
292
292
  he(h);
293
293
  }
294
- let Qt;
295
- typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
294
+ let zt;
295
+ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
296
296
  /** The Svelte component constructor */
297
297
  $$ctor;
298
298
  /** Slots */
@@ -341,7 +341,7 @@ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
341
341
  * @param {HTMLElement} [anchor]
342
342
  */
343
343
  m: function(h, l) {
344
- O(h, o, l);
344
+ I(h, o, l);
345
345
  },
346
346
  d: function(h) {
347
347
  h && R(o);
@@ -351,7 +351,7 @@ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
351
351
  };
352
352
  if (await Promise.resolve(), !this.$$cn || this.$$c)
353
353
  return;
354
- const t = {}, r = en(this);
354
+ const t = {}, r = Qr(this);
355
355
  for (const i of this.$$s)
356
356
  i in r && (t[i] = [e(i)]);
357
357
  for (const i of this.attributes) {
@@ -438,8 +438,8 @@ function xe(e, t, r, n) {
438
438
  return t;
439
439
  }
440
440
  }
441
- function mn(e, t, r, n, i, o) {
442
- let a = class extends Qt {
441
+ function ln(e, t, r, n, i, o) {
442
+ let a = class extends zt {
443
443
  constructor() {
444
444
  super(e, r, i), this.$$p_d = t;
445
445
  }
@@ -467,7 +467,7 @@ function mn(e, t, r, n, i, o) {
467
467
  }), e.element = /** @type {any} */
468
468
  a, a;
469
469
  }
470
- class dn {
470
+ class hn {
471
471
  /**
472
472
  * ### PRIVATE API
473
473
  *
@@ -486,7 +486,7 @@ class dn {
486
486
  $$set = void 0;
487
487
  /** @returns {void} */
488
488
  $destroy() {
489
- hn(this, 1), this.$destroy = C;
489
+ an(this, 1), this.$destroy = M;
490
490
  }
491
491
  /**
492
492
  * @template {Extract<keyof Events, string>} K
@@ -495,8 +495,8 @@ class dn {
495
495
  * @returns {() => void}
496
496
  */
497
497
  $on(t, r) {
498
- if (!ot(r))
499
- return C;
498
+ if (!it(r))
499
+ return M;
500
500
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
501
501
  return n.push(r), () => {
502
502
  const i = n.indexOf(r);
@@ -508,22 +508,22 @@ class dn {
508
508
  * @returns {void}
509
509
  */
510
510
  $set(t) {
511
- this.$$set && !kr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
511
+ this.$$set && !Dr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
512
512
  }
513
513
  }
514
- const pn = "4";
515
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(pn);
516
- var Xe = function(e, t) {
517
- return Xe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
514
+ const cn = "4";
515
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(cn);
516
+ var We = function(e, t) {
517
+ return We = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
518
518
  r.__proto__ = n;
519
519
  } || function(r, n) {
520
520
  for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
521
- }, Xe(e, t);
521
+ }, We(e, t);
522
522
  };
523
523
  function F(e, t) {
524
524
  if (typeof t != "function" && t !== null)
525
525
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
526
- Xe(e, t);
526
+ We(e, t);
527
527
  function r() {
528
528
  this.constructor = e;
529
529
  }
@@ -538,7 +538,7 @@ var _ = function() {
538
538
  return t;
539
539
  }, _.apply(this, arguments);
540
540
  };
541
- function bn(e, t) {
541
+ function fn(e, t) {
542
542
  var r = {};
543
543
  for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
544
544
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -546,7 +546,7 @@ function bn(e, t) {
546
546
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
547
547
  return r;
548
548
  }
549
- function ze(e) {
549
+ function Xe(e) {
550
550
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
551
551
  if (r) return r.call(e);
552
552
  if (e && typeof e.length == "number") return {
@@ -556,7 +556,7 @@ function ze(e) {
556
556
  };
557
557
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
558
558
  }
559
- function Je(e, t) {
559
+ function ze(e, t) {
560
560
  var r = typeof Symbol == "function" && e[Symbol.iterator];
561
561
  if (!r) return e;
562
562
  var n = r.call(e), i, o = [], a;
@@ -581,13 +581,13 @@ function ee(e, t, r) {
581
581
  function D(e) {
582
582
  return typeof e == "function";
583
583
  }
584
- function Yt(e) {
584
+ function Jt(e) {
585
585
  var t = function(n) {
586
586
  Error.call(n), n.stack = new Error().stack;
587
587
  }, r = e(t);
588
588
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
589
589
  }
590
- var Ne = Yt(function(e) {
590
+ var Ce = Jt(function(e) {
591
591
  return function(r) {
592
592
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
593
593
  ` + r.map(function(n, i) {
@@ -596,7 +596,7 @@ var Ne = Yt(function(e) {
596
596
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
597
597
  };
598
598
  });
599
- function Ze(e, t) {
599
+ function Je(e, t) {
600
600
  if (e) {
601
601
  var r = e.indexOf(t);
602
602
  0 <= r && e.splice(r, 1);
@@ -614,7 +614,7 @@ var Pe = function() {
614
614
  if (a)
615
615
  if (this._parentage = null, Array.isArray(a))
616
616
  try {
617
- for (var s = ze(a), h = s.next(); !h.done; h = s.next()) {
617
+ for (var s = Xe(a), h = s.next(); !h.done; h = s.next()) {
618
618
  var l = h.value;
619
619
  l.remove(this);
620
620
  }
@@ -634,18 +634,18 @@ var Pe = function() {
634
634
  try {
635
635
  u();
636
636
  } catch (p) {
637
- o = p instanceof Ne ? p.errors : [p];
637
+ o = p instanceof Ce ? p.errors : [p];
638
638
  }
639
639
  var f = this._finalizers;
640
640
  if (f) {
641
641
  this._finalizers = null;
642
642
  try {
643
- for (var c = ze(f), m = c.next(); !m.done; m = c.next()) {
643
+ for (var c = Xe(f), m = c.next(); !m.done; m = c.next()) {
644
644
  var d = m.value;
645
645
  try {
646
- yt(d);
646
+ pt(d);
647
647
  } catch (p) {
648
- o = o ?? [], p instanceof Ne ? o = ee(ee([], Je(o)), Je(p.errors)) : o.push(p);
648
+ o = o ?? [], p instanceof Ce ? o = ee(ee([], ze(o)), ze(p.errors)) : o.push(p);
649
649
  }
650
650
  }
651
651
  } catch (p) {
@@ -659,13 +659,13 @@ var Pe = function() {
659
659
  }
660
660
  }
661
661
  if (o)
662
- throw new Ne(o);
662
+ throw new Ce(o);
663
663
  }
664
664
  }, e.prototype.add = function(t) {
665
665
  var r;
666
666
  if (t && t !== this)
667
667
  if (this.closed)
668
- yt(t);
668
+ pt(t);
669
669
  else {
670
670
  if (t instanceof e) {
671
671
  if (t.closed || t._hasParent(this))
@@ -682,56 +682,52 @@ var Pe = function() {
682
682
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
683
683
  }, e.prototype._removeParent = function(t) {
684
684
  var r = this._parentage;
685
- r === t ? this._parentage = null : Array.isArray(r) && Ze(r, t);
685
+ r === t ? this._parentage = null : Array.isArray(r) && Je(r, t);
686
686
  }, e.prototype.remove = function(t) {
687
687
  var r = this._finalizers;
688
- r && Ze(r, t), t instanceof e && t._removeParent(this);
688
+ r && Je(r, t), t instanceof e && t._removeParent(this);
689
689
  }, e.EMPTY = function() {
690
690
  var t = new e();
691
691
  return t.closed = !0, t;
692
692
  }(), e;
693
- }(), qt = Pe.EMPTY;
694
- function Kt(e) {
693
+ }(), Zt = Pe.EMPTY;
694
+ function Qt(e) {
695
695
  return e instanceof Pe || e && "closed" in e && D(e.remove) && D(e.add) && D(e.unsubscribe);
696
696
  }
697
- function yt(e) {
697
+ function pt(e) {
698
698
  D(e) ? e() : e.unsubscribe();
699
699
  }
700
- var er = {
701
- onUnhandledError: null,
702
- onStoppedNotification: null,
703
- Promise: void 0,
704
- useDeprecatedSynchronousErrorHandling: !1,
705
- useDeprecatedNextContext: !1
706
- }, gn = {
700
+ var mn = {
701
+ Promise: void 0
702
+ }, dn = {
707
703
  setTimeout: function(e, t) {
708
704
  for (var r = [], n = 2; n < arguments.length; n++)
709
705
  r[n - 2] = arguments[n];
710
- return setTimeout.apply(void 0, ee([e, t], Je(r)));
706
+ return setTimeout.apply(void 0, ee([e, t], ze(r)));
711
707
  },
712
708
  clearTimeout: function(e) {
713
709
  return clearTimeout(e);
714
710
  },
715
711
  delegate: void 0
716
712
  };
717
- function yn(e) {
718
- gn.setTimeout(function() {
713
+ function pn(e) {
714
+ dn.setTimeout(function() {
719
715
  throw e;
720
716
  });
721
717
  }
722
- function vt() {
718
+ function bt() {
723
719
  }
724
720
  function Ee(e) {
725
721
  e();
726
722
  }
727
- var tr = function(e) {
723
+ var Yt = function(e) {
728
724
  F(t, e);
729
725
  function t(r) {
730
726
  var n = e.call(this) || this;
731
- return n.isStopped = !1, r ? (n.destination = r, Kt(r) && r.add(n)) : n.destination = En, n;
727
+ return n.isStopped = !1, r ? (n.destination = r, Qt(r) && r.add(n)) : n.destination = yn, n;
732
728
  }
733
729
  return t.create = function(r, n, i) {
734
- return new Qe(r, n, i);
730
+ return new Ze(r, n, i);
735
731
  }, t.prototype.next = function(r) {
736
732
  this.isStopped || this._next(r);
737
733
  }, t.prototype.error = function(r) {
@@ -755,11 +751,7 @@ var tr = function(e) {
755
751
  this.unsubscribe();
756
752
  }
757
753
  }, t;
758
- }(Pe), vn = Function.prototype.bind;
759
- function Ge(e, t) {
760
- return vn.call(e, t);
761
- }
762
- var _n = function() {
754
+ }(Pe), bn = function() {
763
755
  function e(t) {
764
756
  this.partialObserver = t;
765
757
  }
@@ -790,55 +782,43 @@ var _n = function() {
790
782
  ye(r);
791
783
  }
792
784
  }, e;
793
- }(), Qe = function(e) {
785
+ }(), Ze = function(e) {
794
786
  F(t, e);
795
787
  function t(r, n, i) {
796
788
  var o = e.call(this) || this, a;
797
- if (D(r) || !r)
798
- a = {
799
- next: r ?? void 0,
800
- error: n ?? void 0,
801
- complete: i ?? void 0
802
- };
803
- else {
804
- var s;
805
- o && er.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
806
- return o.unsubscribe();
807
- }, a = {
808
- next: r.next && Ge(r.next, s),
809
- error: r.error && Ge(r.error, s),
810
- complete: r.complete && Ge(r.complete, s)
811
- }) : a = r;
812
- }
813
- return o.destination = new _n(a), o;
789
+ return D(r) || !r ? a = {
790
+ next: r ?? void 0,
791
+ error: n ?? void 0,
792
+ complete: i ?? void 0
793
+ } : a = r, o.destination = new bn(a), o;
814
794
  }
815
795
  return t;
816
- }(tr);
796
+ }(Yt);
817
797
  function ye(e) {
818
- yn(e);
798
+ pn(e);
819
799
  }
820
- function xn(e) {
800
+ function gn(e) {
821
801
  throw e;
822
802
  }
823
- var En = {
803
+ var yn = {
824
804
  closed: !0,
825
- next: vt,
826
- error: xn,
827
- complete: vt
828
- }, wn = function() {
805
+ next: bt,
806
+ error: gn,
807
+ complete: bt
808
+ }, vn = function() {
829
809
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
830
810
  }();
831
- function Sn(e) {
811
+ function _n(e) {
832
812
  return e;
833
813
  }
834
- function Tn(e) {
835
- return e.length === 0 ? Sn : e.length === 1 ? e[0] : function(r) {
814
+ function xn(e) {
815
+ return e.length === 0 ? _n : e.length === 1 ? e[0] : function(r) {
836
816
  return e.reduce(function(n, i) {
837
817
  return i(n);
838
818
  }, r);
839
819
  };
840
820
  }
841
- var _t = function() {
821
+ var gt = function() {
842
822
  function e(t) {
843
823
  t && (this._subscribe = t);
844
824
  }
@@ -846,7 +826,7 @@ var _t = function() {
846
826
  var r = new e();
847
827
  return r.source = this, r.operator = t, r;
848
828
  }, e.prototype.subscribe = function(t, r, n) {
849
- var i = this, o = Bn(t) ? t : new Qe(t, r, n);
829
+ var i = this, o = wn(t) ? t : new Ze(t, r, n);
850
830
  return Ee(function() {
851
831
  var a = i, s = a.operator, h = a.source;
852
832
  o.add(s ? s.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
@@ -859,8 +839,8 @@ var _t = function() {
859
839
  }
860
840
  }, e.prototype.forEach = function(t, r) {
861
841
  var n = this;
862
- return r = xt(r), new r(function(i, o) {
863
- var a = new Qe({
842
+ return r = yt(r), new r(function(i, o) {
843
+ var a = new Ze({
864
844
  next: function(s) {
865
845
  try {
866
846
  t(s);
@@ -876,15 +856,15 @@ var _t = function() {
876
856
  }, e.prototype._subscribe = function(t) {
877
857
  var r;
878
858
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
879
- }, e.prototype[wn] = function() {
859
+ }, e.prototype[vn] = function() {
880
860
  return this;
881
861
  }, e.prototype.pipe = function() {
882
862
  for (var t = [], r = 0; r < arguments.length; r++)
883
863
  t[r] = arguments[r];
884
- return Tn(t)(this);
864
+ return xn(t)(this);
885
865
  }, e.prototype.toPromise = function(t) {
886
866
  var r = this;
887
- return t = xt(t), new t(function(n, i) {
867
+ return t = yt(t), new t(function(n, i) {
888
868
  var o;
889
869
  r.subscribe(function(a) {
890
870
  return o = a;
@@ -898,32 +878,32 @@ var _t = function() {
898
878
  return new e(t);
899
879
  }, e;
900
880
  }();
901
- function xt(e) {
881
+ function yt(e) {
902
882
  var t;
903
- return (t = e ?? er.Promise) !== null && t !== void 0 ? t : Promise;
883
+ return (t = e ?? mn.Promise) !== null && t !== void 0 ? t : Promise;
904
884
  }
905
- function Hn(e) {
885
+ function En(e) {
906
886
  return e && D(e.next) && D(e.error) && D(e.complete);
907
887
  }
908
- function Bn(e) {
909
- return e && e instanceof tr || Hn(e) && Kt(e);
888
+ function wn(e) {
889
+ return e && e instanceof Yt || En(e) && Qt(e);
910
890
  }
911
- var An = Yt(function(e) {
891
+ var Sn = Jt(function(e) {
912
892
  return function() {
913
893
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
914
894
  };
915
- }), rr = function(e) {
895
+ }), qt = function(e) {
916
896
  F(t, e);
917
897
  function t() {
918
898
  var r = e.call(this) || this;
919
899
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
920
900
  }
921
901
  return t.prototype.lift = function(r) {
922
- var n = new Et(this, this);
902
+ var n = new vt(this, this);
923
903
  return n.operator = r, n;
924
904
  }, t.prototype._throwIfClosed = function() {
925
905
  if (this.closed)
926
- throw new An();
906
+ throw new Sn();
927
907
  }, t.prototype.next = function(r) {
928
908
  var n = this;
929
909
  Ee(function() {
@@ -931,7 +911,7 @@ var An = Yt(function(e) {
931
911
  if (n._throwIfClosed(), !n.isStopped) {
932
912
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
933
913
  try {
934
- for (var a = ze(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
914
+ for (var a = Xe(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
935
915
  var h = s.value;
936
916
  h.next(r);
937
917
  }
@@ -979,19 +959,19 @@ var An = Yt(function(e) {
979
959
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
980
960
  }, t.prototype._innerSubscribe = function(r) {
981
961
  var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
982
- return o || a ? qt : (this.currentObservers = null, s.push(r), new Pe(function() {
983
- n.currentObservers = null, Ze(s, r);
962
+ return o || a ? Zt : (this.currentObservers = null, s.push(r), new Pe(function() {
963
+ n.currentObservers = null, Je(s, r);
984
964
  }));
985
965
  }, t.prototype._checkFinalizedStatuses = function(r) {
986
966
  var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
987
967
  i ? r.error(o) : a && r.complete();
988
968
  }, t.prototype.asObservable = function() {
989
- var r = new _t();
969
+ var r = new gt();
990
970
  return r.source = this, r;
991
971
  }, t.create = function(r, n) {
992
- return new Et(r, n);
972
+ return new vt(r, n);
993
973
  }, t;
994
- }(_t), Et = function(e) {
974
+ }(gt), vt = function(e) {
995
975
  F(t, e);
996
976
  function t(r, n) {
997
977
  var i = e.call(this) || this;
@@ -1008,17 +988,17 @@ var An = Yt(function(e) {
1008
988
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1009
989
  }, t.prototype._subscribe = function(r) {
1010
990
  var n, i;
1011
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : qt;
991
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Zt;
1012
992
  }, t;
1013
- }(rr), nr = {
993
+ }(qt), Kt = {
1014
994
  now: function() {
1015
- return (nr.delegate || Date).now();
995
+ return (Kt.delegate || Date).now();
1016
996
  },
1017
997
  delegate: void 0
1018
- }, Pn = function(e) {
998
+ }, Tn = function(e) {
1019
999
  F(t, e);
1020
1000
  function t(r, n, i) {
1021
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = nr);
1001
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Kt);
1022
1002
  var o = e.call(this) || this;
1023
1003
  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;
1024
1004
  }
@@ -1038,24 +1018,24 @@ var An = Yt(function(e) {
1038
1018
  l && o.splice(0, l + 1);
1039
1019
  }
1040
1020
  }, t;
1041
- }(rr);
1042
- const wt = [], St = {}, Rn = (e, t = 0) => {
1043
- if (wt.indexOf(e) == -1) {
1044
- const r = new Pn(t);
1045
- St[e] = r, wt.push(e);
1021
+ }(qt);
1022
+ const _t = [], xt = {}, Hn = (e, t = 0) => {
1023
+ if (_t.indexOf(e) == -1) {
1024
+ const r = new Tn(t);
1025
+ xt[e] = r, _t.push(e);
1046
1026
  }
1047
- return St[e];
1027
+ return xt[e];
1048
1028
  }, Y = [];
1049
- function In(e, t) {
1029
+ function Bn(e, t) {
1050
1030
  return {
1051
1031
  subscribe: Re(e, t).subscribe
1052
1032
  };
1053
1033
  }
1054
- function Re(e, t = C) {
1034
+ function Re(e, t = M) {
1055
1035
  let r;
1056
1036
  const n = /* @__PURE__ */ new Set();
1057
1037
  function i(s) {
1058
- if (Wt(e, s) && (e = s, r)) {
1038
+ if (jt(e, s) && (e = s, r)) {
1059
1039
  const h = !Y.length;
1060
1040
  for (const l of n)
1061
1041
  l[1](), Y.push(l, e);
@@ -1069,9 +1049,9 @@ function Re(e, t = C) {
1069
1049
  function o(s) {
1070
1050
  i(s(e));
1071
1051
  }
1072
- function a(s, h = C) {
1052
+ function a(s, h = M) {
1073
1053
  const l = [s, h];
1074
- return n.add(l), n.size === 1 && (r = t(i, o) || C), s(e), () => {
1054
+ return n.add(l), n.size === 1 && (r = t(i, o) || M), s(e), () => {
1075
1055
  n.delete(l), n.size === 0 && r && (r(), r = null);
1076
1056
  };
1077
1057
  }
@@ -1082,18 +1062,18 @@ function oe(e, t, r) {
1082
1062
  if (!i.every(Boolean))
1083
1063
  throw new Error("derived() expects stores as input, got a falsy value");
1084
1064
  const o = t.length < 2;
1085
- return In(r, (a, s) => {
1065
+ return Bn(r, (a, s) => {
1086
1066
  let h = !1;
1087
1067
  const l = [];
1088
- let u = 0, f = C;
1068
+ let u = 0, f = M;
1089
1069
  const c = () => {
1090
1070
  if (u)
1091
1071
  return;
1092
1072
  f();
1093
1073
  const d = t(n ? l[0] : l, a, s);
1094
- o ? a(d) : f = ot(d) ? d : C;
1074
+ o ? a(d) : f = it(d) ? d : M;
1095
1075
  }, m = i.map(
1096
- (d, p) => Xt(
1076
+ (d, p) => kt(
1097
1077
  d,
1098
1078
  (A) => {
1099
1079
  l[p] = A, u &= ~(1 << p), h && c();
@@ -1108,70 +1088,70 @@ function oe(e, t, r) {
1108
1088
  };
1109
1089
  });
1110
1090
  }
1111
- function On(e) {
1091
+ function An(e) {
1112
1092
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1113
1093
  }
1114
- var Mn = function(t) {
1115
- return Ln(t) && !Cn(t);
1094
+ var Pn = function(t) {
1095
+ return Rn(t) && !On(t);
1116
1096
  };
1117
- function Ln(e) {
1097
+ function Rn(e) {
1118
1098
  return !!e && typeof e == "object";
1119
1099
  }
1120
- function Cn(e) {
1100
+ function On(e) {
1121
1101
  var t = Object.prototype.toString.call(e);
1122
- return t === "[object RegExp]" || t === "[object Date]" || Un(e);
1102
+ return t === "[object RegExp]" || t === "[object Date]" || Ln(e);
1123
1103
  }
1124
- var Nn = typeof Symbol == "function" && Symbol.for, Gn = Nn ? Symbol.for("react.element") : 60103;
1125
- function Un(e) {
1126
- return e.$$typeof === Gn;
1104
+ var In = typeof Symbol == "function" && Symbol.for, Nn = In ? Symbol.for("react.element") : 60103;
1105
+ function Ln(e) {
1106
+ return e.$$typeof === Nn;
1127
1107
  }
1128
- function Dn(e) {
1108
+ function Mn(e) {
1129
1109
  return Array.isArray(e) ? [] : {};
1130
1110
  }
1131
1111
  function me(e, t) {
1132
- return t.clone !== !1 && t.isMergeableObject(e) ? te(Dn(e), e, t) : e;
1112
+ return t.clone !== !1 && t.isMergeableObject(e) ? te(Mn(e), e, t) : e;
1133
1113
  }
1134
- function Fn(e, t, r) {
1114
+ function Cn(e, t, r) {
1135
1115
  return e.concat(t).map(function(n) {
1136
1116
  return me(n, r);
1137
1117
  });
1138
1118
  }
1139
- function $n(e, t) {
1119
+ function Gn(e, t) {
1140
1120
  if (!t.customMerge)
1141
1121
  return te;
1142
1122
  var r = t.customMerge(e);
1143
1123
  return typeof r == "function" ? r : te;
1144
1124
  }
1145
- function jn(e) {
1125
+ function Un(e) {
1146
1126
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1147
1127
  return Object.propertyIsEnumerable.call(e, t);
1148
1128
  }) : [];
1149
1129
  }
1150
- function Tt(e) {
1151
- return Object.keys(e).concat(jn(e));
1130
+ function Et(e) {
1131
+ return Object.keys(e).concat(Un(e));
1152
1132
  }
1153
- function ir(e, t) {
1133
+ function er(e, t) {
1154
1134
  try {
1155
1135
  return t in e;
1156
1136
  } catch {
1157
1137
  return !1;
1158
1138
  }
1159
1139
  }
1160
- function kn(e, t) {
1161
- return ir(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1140
+ function Dn(e, t) {
1141
+ return er(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1162
1142
  }
1163
- function Vn(e, t, r) {
1143
+ function Fn(e, t, r) {
1164
1144
  var n = {};
1165
- return r.isMergeableObject(e) && Tt(e).forEach(function(i) {
1145
+ return r.isMergeableObject(e) && Et(e).forEach(function(i) {
1166
1146
  n[i] = me(e[i], r);
1167
- }), Tt(t).forEach(function(i) {
1168
- kn(e, i) || (ir(e, i) && r.isMergeableObject(t[i]) ? n[i] = $n(i, r)(e[i], t[i], r) : n[i] = me(t[i], r));
1147
+ }), Et(t).forEach(function(i) {
1148
+ Dn(e, i) || (er(e, i) && r.isMergeableObject(t[i]) ? n[i] = Gn(i, r)(e[i], t[i], r) : n[i] = me(t[i], r));
1169
1149
  }), n;
1170
1150
  }
1171
1151
  function te(e, t, r) {
1172
- r = r || {}, r.arrayMerge = r.arrayMerge || Fn, r.isMergeableObject = r.isMergeableObject || Mn, r.cloneUnlessOtherwiseSpecified = me;
1152
+ r = r || {}, r.arrayMerge = r.arrayMerge || Cn, r.isMergeableObject = r.isMergeableObject || Pn, r.cloneUnlessOtherwiseSpecified = me;
1173
1153
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1174
- return o ? n ? r.arrayMerge(e, t, r) : Vn(e, t, r) : me(t, r);
1154
+ return o ? n ? r.arrayMerge(e, t, r) : Fn(e, t, r) : me(t, r);
1175
1155
  }
1176
1156
  te.all = function(t, r) {
1177
1157
  if (!Array.isArray(t))
@@ -1180,58 +1160,56 @@ te.all = function(t, r) {
1180
1160
  return te(n, i, r);
1181
1161
  }, {});
1182
1162
  };
1183
- var Wn = te, Xn = Wn;
1184
- const zn = /* @__PURE__ */ On(Xn);
1185
- function Ue(e, t) {
1186
- var r = t && t.cache ? t.cache : Kn, n = t && t.serializer ? t.serializer : qn, i = t && t.strategy ? t.strategy : Zn;
1163
+ var $n = te, jn = $n;
1164
+ const kn = /* @__PURE__ */ An(jn);
1165
+ function Ge(e, t) {
1166
+ var r = t && t.cache ? t.cache : Qn, n = t && t.serializer ? t.serializer : Jn, i = t && t.strategy ? t.strategy : Xn;
1187
1167
  return i(e, {
1188
1168
  cache: r,
1189
1169
  serializer: n
1190
1170
  });
1191
1171
  }
1192
- function Jn(e) {
1172
+ function Vn(e) {
1193
1173
  return e == null || typeof e == "number" || typeof e == "boolean";
1194
1174
  }
1195
- function or(e, t, r, n) {
1196
- var i = Jn(n) ? n : r(n), o = t.get(i);
1175
+ function Wn(e, t, r, n) {
1176
+ var i = Vn(n) ? n : r(n), o = t.get(i);
1197
1177
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1198
1178
  }
1199
- function ar(e, t, r) {
1179
+ function tr(e, t, r) {
1200
1180
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1201
1181
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1202
1182
  }
1203
- function at(e, t, r, n, i) {
1183
+ function rr(e, t, r, n, i) {
1204
1184
  return r.bind(t, e, n, i);
1205
1185
  }
1206
- function Zn(e, t) {
1207
- var r = e.length === 1 ? or : ar;
1208
- return at(e, this, r, t.cache.create(), t.serializer);
1186
+ function Xn(e, t) {
1187
+ var r = e.length === 1 ? Wn : tr;
1188
+ return rr(e, this, r, t.cache.create(), t.serializer);
1209
1189
  }
1210
- function Qn(e, t) {
1211
- return at(e, this, ar, t.cache.create(), t.serializer);
1190
+ function zn(e, t) {
1191
+ return rr(e, this, tr, t.cache.create(), t.serializer);
1212
1192
  }
1213
- function Yn(e, t) {
1214
- return at(e, this, or, t.cache.create(), t.serializer);
1215
- }
1216
- var qn = function() {
1193
+ var Jn = function() {
1217
1194
  return JSON.stringify(arguments);
1218
- };
1219
- function st() {
1220
- this.cache = /* @__PURE__ */ Object.create(null);
1221
- }
1222
- st.prototype.get = function(e) {
1223
- return this.cache[e];
1224
- };
1225
- st.prototype.set = function(e, t) {
1226
- this.cache[e] = t;
1227
- };
1228
- var Kn = {
1195
+ }, Zn = (
1196
+ /** @class */
1197
+ function() {
1198
+ function e() {
1199
+ this.cache = /* @__PURE__ */ Object.create(null);
1200
+ }
1201
+ return e.prototype.get = function(t) {
1202
+ return this.cache[t];
1203
+ }, e.prototype.set = function(t, r) {
1204
+ this.cache[t] = r;
1205
+ }, e;
1206
+ }()
1207
+ ), Qn = {
1229
1208
  create: function() {
1230
- return new st();
1209
+ return new Zn();
1231
1210
  }
1232
- }, De = {
1233
- variadic: Qn,
1234
- monadic: Yn
1211
+ }, Ue = {
1212
+ variadic: zn
1235
1213
  }, y;
1236
1214
  (function(e) {
1237
1215
  e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
@@ -1244,43 +1222,43 @@ var re;
1244
1222
  (function(e) {
1245
1223
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1246
1224
  })(re || (re = {}));
1247
- function Ht(e) {
1225
+ function wt(e) {
1248
1226
  return e.type === w.literal;
1249
1227
  }
1250
- function ei(e) {
1228
+ function Yn(e) {
1251
1229
  return e.type === w.argument;
1252
1230
  }
1253
- function sr(e) {
1231
+ function nr(e) {
1254
1232
  return e.type === w.number;
1255
1233
  }
1256
- function ur(e) {
1234
+ function ir(e) {
1257
1235
  return e.type === w.date;
1258
1236
  }
1259
- function lr(e) {
1237
+ function or(e) {
1260
1238
  return e.type === w.time;
1261
1239
  }
1262
- function hr(e) {
1240
+ function ar(e) {
1263
1241
  return e.type === w.select;
1264
1242
  }
1265
- function cr(e) {
1243
+ function sr(e) {
1266
1244
  return e.type === w.plural;
1267
1245
  }
1268
- function ti(e) {
1246
+ function qn(e) {
1269
1247
  return e.type === w.pound;
1270
1248
  }
1271
- function fr(e) {
1249
+ function ur(e) {
1272
1250
  return e.type === w.tag;
1273
1251
  }
1274
- function mr(e) {
1252
+ function lr(e) {
1275
1253
  return !!(e && typeof e == "object" && e.type === re.number);
1276
1254
  }
1277
- function Ye(e) {
1255
+ function Qe(e) {
1278
1256
  return !!(e && typeof e == "object" && e.type === re.dateTime);
1279
1257
  }
1280
- var dr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ri = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1281
- function ni(e) {
1258
+ var hr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Kn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1259
+ function ei(e) {
1282
1260
  var t = {};
1283
- return e.replace(ri, function(r) {
1261
+ return e.replace(Kn, function(r) {
1284
1262
  var n = r.length;
1285
1263
  switch (r[0]) {
1286
1264
  case "G":
@@ -1369,11 +1347,11 @@ function ni(e) {
1369
1347
  return "";
1370
1348
  }), t;
1371
1349
  }
1372
- var ii = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1373
- function oi(e) {
1350
+ var ti = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1351
+ function ri(e) {
1374
1352
  if (e.length === 0)
1375
1353
  throw new Error("Number skeleton cannot be empty");
1376
- for (var t = e.split(ii).filter(function(c) {
1354
+ for (var t = e.split(ti).filter(function(c) {
1377
1355
  return c.length > 0;
1378
1356
  }), r = [], n = 0, i = t; n < i.length; n++) {
1379
1357
  var o = i[n], a = o.split("/");
@@ -1388,17 +1366,17 @@ function oi(e) {
1388
1366
  }
1389
1367
  return r;
1390
1368
  }
1391
- function ai(e) {
1369
+ function ni(e) {
1392
1370
  return e.replace(/^(.*?)-/, "");
1393
1371
  }
1394
- var Bt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, pr = /^(@+)?(\+|#+)?[rs]?$/g, si = /(\*)(0+)|(#+)(0+)|(0+)/g, br = /^(0+)$/;
1395
- function At(e) {
1372
+ var St = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, cr = /^(@+)?(\+|#+)?[rs]?$/g, ii = /(\*)(0+)|(#+)(0+)|(0+)/g, fr = /^(0+)$/;
1373
+ function Tt(e) {
1396
1374
  var t = {};
1397
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(pr, function(r, n, i) {
1375
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(cr, function(r, n, i) {
1398
1376
  return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
1399
1377
  }), t;
1400
1378
  }
1401
- function gr(e) {
1379
+ function mr(e) {
1402
1380
  switch (e) {
1403
1381
  case "sign-auto":
1404
1382
  return {
@@ -1438,7 +1416,7 @@ function gr(e) {
1438
1416
  };
1439
1417
  }
1440
1418
  }
1441
- function ui(e) {
1419
+ function oi(e) {
1442
1420
  var t;
1443
1421
  if (e[0] === "E" && e[1] === "E" ? (t = {
1444
1422
  notation: "engineering"
@@ -1446,17 +1424,17 @@ function ui(e) {
1446
1424
  notation: "scientific"
1447
1425
  }, e = e.slice(1)), t) {
1448
1426
  var r = e.slice(0, 2);
1449
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !br.test(e))
1427
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !fr.test(e))
1450
1428
  throw new Error("Malformed concise eng/scientific notation");
1451
1429
  t.minimumIntegerDigits = e.length;
1452
1430
  }
1453
1431
  return t;
1454
1432
  }
1455
- function Pt(e) {
1456
- var t = {}, r = gr(e);
1433
+ function Ht(e) {
1434
+ var t = {}, r = mr(e);
1457
1435
  return r || t;
1458
1436
  }
1459
- function li(e) {
1437
+ function ai(e) {
1460
1438
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1461
1439
  var i = n[r];
1462
1440
  switch (i.stem) {
@@ -1480,7 +1458,7 @@ function li(e) {
1480
1458
  continue;
1481
1459
  case "measure-unit":
1482
1460
  case "unit":
1483
- t.style = "unit", t.unit = ai(i.options[0]);
1461
+ t.style = "unit", t.unit = ni(i.options[0]);
1484
1462
  continue;
1485
1463
  case "compact-short":
1486
1464
  case "K":
@@ -1492,12 +1470,12 @@ function li(e) {
1492
1470
  continue;
1493
1471
  case "scientific":
1494
1472
  t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(h, l) {
1495
- return _(_({}, h), Pt(l));
1473
+ return _(_({}, h), Ht(l));
1496
1474
  }, {}));
1497
1475
  continue;
1498
1476
  case "engineering":
1499
1477
  t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(h, l) {
1500
- return _(_({}, h), Pt(l));
1478
+ return _(_({}, h), Ht(l));
1501
1479
  }, {}));
1502
1480
  continue;
1503
1481
  case "notation-simple":
@@ -1542,7 +1520,7 @@ function li(e) {
1542
1520
  case "integer-width":
1543
1521
  if (i.options.length > 1)
1544
1522
  throw new RangeError("integer-width stems only accept a single optional option");
1545
- i.options[0].replace(si, function(h, l, u, f, c, m) {
1523
+ i.options[0].replace(ii, function(h, l, u, f, c, m) {
1546
1524
  if (l)
1547
1525
  t.minimumIntegerDigits = u.length;
1548
1526
  else {
@@ -1555,27 +1533,27 @@ function li(e) {
1555
1533
  });
1556
1534
  continue;
1557
1535
  }
1558
- if (br.test(i.stem)) {
1536
+ if (fr.test(i.stem)) {
1559
1537
  t.minimumIntegerDigits = i.stem.length;
1560
1538
  continue;
1561
1539
  }
1562
- if (Bt.test(i.stem)) {
1540
+ if (St.test(i.stem)) {
1563
1541
  if (i.options.length > 1)
1564
1542
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1565
- i.stem.replace(Bt, function(h, l, u, f, c, m) {
1543
+ i.stem.replace(St, function(h, l, u, f, c, m) {
1566
1544
  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), "";
1567
1545
  });
1568
1546
  var o = i.options[0];
1569
- o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), At(o)));
1547
+ o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), Tt(o)));
1570
1548
  continue;
1571
1549
  }
1572
- if (pr.test(i.stem)) {
1573
- t = _(_({}, t), At(i.stem));
1550
+ if (cr.test(i.stem)) {
1551
+ t = _(_({}, t), Tt(i.stem));
1574
1552
  continue;
1575
1553
  }
1576
- var a = gr(i.stem);
1554
+ var a = mr(i.stem);
1577
1555
  a && (t = _(_({}, t), a));
1578
- var s = ui(i.stem);
1556
+ var s = oi(i.stem);
1579
1557
  s && (t = _(_({}, t), s));
1580
1558
  }
1581
1559
  return t;
@@ -2995,13 +2973,13 @@ var ve = {
2995
2973
  "h"
2996
2974
  ]
2997
2975
  };
2998
- function hi(e, t) {
2976
+ function si(e, t) {
2999
2977
  for (var r = "", n = 0; n < e.length; n++) {
3000
2978
  var i = e.charAt(n);
3001
2979
  if (i === "j") {
3002
2980
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3003
2981
  o++, n++;
3004
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", l = ci(t);
2982
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", l = ui(t);
3005
2983
  for ((l == "H" || l == "k") && (s = 0); s-- > 0; )
3006
2984
  r += h;
3007
2985
  for (; a-- > 0; )
@@ -3010,7 +2988,7 @@ function hi(e, t) {
3010
2988
  }
3011
2989
  return r;
3012
2990
  }
3013
- function ci(e) {
2991
+ function ui(e) {
3014
2992
  var t = e.hourCycle;
3015
2993
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3016
2994
  e.hourCycles && // @ts-ignore
@@ -3032,20 +3010,20 @@ function ci(e) {
3032
3010
  var i = ve[n || ""] || ve[r || ""] || ve["".concat(r, "-001")] || ve["001"];
3033
3011
  return i[0];
3034
3012
  }
3035
- var Fe, fi = new RegExp("^".concat(dr.source, "*")), mi = new RegExp("".concat(dr.source, "*$"));
3013
+ var De, li = new RegExp("^".concat(hr.source, "*")), hi = new RegExp("".concat(hr.source, "*$"));
3036
3014
  function v(e, t) {
3037
3015
  return { start: e, end: t };
3038
3016
  }
3039
- var di = !!String.prototype.startsWith && "_a".startsWith("a", 1), pi = !!String.fromCodePoint, bi = !!Object.fromEntries, gi = !!String.prototype.codePointAt, yi = !!String.prototype.trimStart, vi = !!String.prototype.trimEnd, _i = !!Number.isSafeInteger, xi = _i ? Number.isSafeInteger : function(e) {
3017
+ var ci = !!String.prototype.startsWith && "_a".startsWith("a", 1), fi = !!String.fromCodePoint, mi = !!Object.fromEntries, di = !!String.prototype.codePointAt, pi = !!String.prototype.trimStart, bi = !!String.prototype.trimEnd, gi = !!Number.isSafeInteger, yi = gi ? Number.isSafeInteger : function(e) {
3040
3018
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3041
- }, qe = !0;
3019
+ }, Ye = !0;
3042
3020
  try {
3043
- var Ei = vr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3044
- qe = ((Fe = Ei.exec("a")) === null || Fe === void 0 ? void 0 : Fe[0]) === "a";
3021
+ var vi = pr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3022
+ Ye = ((De = vi.exec("a")) === null || De === void 0 ? void 0 : De[0]) === "a";
3045
3023
  } catch {
3046
- qe = !1;
3024
+ Ye = !1;
3047
3025
  }
3048
- var Rt = di ? (
3026
+ var Bt = ci ? (
3049
3027
  // Native
3050
3028
  function(t, r, n) {
3051
3029
  return t.startsWith(r, n);
@@ -3055,7 +3033,7 @@ var Rt = di ? (
3055
3033
  function(t, r, n) {
3056
3034
  return t.slice(n, n + r.length) === r;
3057
3035
  }
3058
- ), Ke = pi ? String.fromCodePoint : (
3036
+ ), qe = fi ? String.fromCodePoint : (
3059
3037
  // IE11
3060
3038
  function() {
3061
3039
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3067,9 +3045,9 @@ var Rt = di ? (
3067
3045
  }
3068
3046
  return n;
3069
3047
  }
3070
- ), It = (
3048
+ ), At = (
3071
3049
  // native
3072
- bi ? Object.fromEntries : (
3050
+ mi ? Object.fromEntries : (
3073
3051
  // Ponyfill
3074
3052
  function(t) {
3075
3053
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3079,7 +3057,7 @@ var Rt = di ? (
3079
3057
  return r;
3080
3058
  }
3081
3059
  )
3082
- ), yr = gi ? (
3060
+ ), dr = di ? (
3083
3061
  // Native
3084
3062
  function(t, r) {
3085
3063
  return t.codePointAt(r);
@@ -3093,7 +3071,7 @@ var Rt = di ? (
3093
3071
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3094
3072
  }
3095
3073
  }
3096
- ), wi = yi ? (
3074
+ ), _i = pi ? (
3097
3075
  // Native
3098
3076
  function(t) {
3099
3077
  return t.trimStart();
@@ -3101,9 +3079,9 @@ var Rt = di ? (
3101
3079
  ) : (
3102
3080
  // Ponyfill
3103
3081
  function(t) {
3104
- return t.replace(fi, "");
3082
+ return t.replace(li, "");
3105
3083
  }
3106
- ), Si = vi ? (
3084
+ ), xi = bi ? (
3107
3085
  // Native
3108
3086
  function(t) {
3109
3087
  return t.trimEnd();
@@ -3111,32 +3089,32 @@ var Rt = di ? (
3111
3089
  ) : (
3112
3090
  // Ponyfill
3113
3091
  function(t) {
3114
- return t.replace(mi, "");
3092
+ return t.replace(hi, "");
3115
3093
  }
3116
3094
  );
3117
- function vr(e, t) {
3095
+ function pr(e, t) {
3118
3096
  return new RegExp(e, t);
3119
3097
  }
3120
- var et;
3121
- if (qe) {
3122
- var Ot = vr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3123
- et = function(t, r) {
3098
+ var Ke;
3099
+ if (Ye) {
3100
+ var Pt = pr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3101
+ Ke = function(t, r) {
3124
3102
  var n;
3125
- Ot.lastIndex = r;
3126
- var i = Ot.exec(t);
3103
+ Pt.lastIndex = r;
3104
+ var i = Pt.exec(t);
3127
3105
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3128
3106
  };
3129
3107
  } else
3130
- et = function(t, r) {
3108
+ Ke = function(t, r) {
3131
3109
  for (var n = []; ; ) {
3132
- var i = yr(t, r);
3133
- if (i === void 0 || _r(i) || Ai(i))
3110
+ var i = dr(t, r);
3111
+ if (i === void 0 || br(i) || Ti(i))
3134
3112
  break;
3135
3113
  n.push(i), r += i >= 65536 ? 2 : 1;
3136
3114
  }
3137
- return Ke.apply(void 0, n);
3115
+ return qe.apply(void 0, n);
3138
3116
  };
3139
- var Ti = (
3117
+ var Ei = (
3140
3118
  /** @class */
3141
3119
  function() {
3142
3120
  function e(t, r) {
@@ -3167,7 +3145,7 @@ var Ti = (
3167
3145
  if (n)
3168
3146
  break;
3169
3147
  return this.error(y.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
3170
- } else if (o === 60 && !this.ignoreTag && tt(this.peek() || 0)) {
3148
+ } else if (o === 60 && !this.ignoreTag && et(this.peek() || 0)) {
3171
3149
  var a = this.parseTag(t, r);
3172
3150
  if (a.err)
3173
3151
  return a;
@@ -3200,7 +3178,7 @@ var Ti = (
3200
3178
  return o;
3201
3179
  var a = o.val, s = this.clonePosition();
3202
3180
  if (this.bumpIf("</")) {
3203
- if (this.isEOF() || !tt(this.char()))
3181
+ if (this.isEOF() || !et(this.char()))
3204
3182
  return this.error(y.INVALID_TAG, v(s, this.clonePosition()));
3205
3183
  var h = this.clonePosition(), l = this.parseTagName();
3206
3184
  return i !== l ? this.error(y.UNMATCHED_CLOSING_TAG, v(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
@@ -3218,7 +3196,7 @@ var Ti = (
3218
3196
  return this.error(y.INVALID_TAG, v(n, this.clonePosition()));
3219
3197
  }, e.prototype.parseTagName = function() {
3220
3198
  var t = this.offset();
3221
- for (this.bump(); !this.isEOF() && Bi(this.char()); )
3199
+ for (this.bump(); !this.isEOF() && Si(this.char()); )
3222
3200
  this.bump();
3223
3201
  return this.message.slice(t, this.offset());
3224
3202
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3247,7 +3225,7 @@ var Ti = (
3247
3225
  };
3248
3226
  }, e.prototype.tryParseLeftAngleBracket = function() {
3249
3227
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3250
- !Hi(this.peek() || 0)) ? (this.bump(), "<") : null;
3228
+ !wi(this.peek() || 0)) ? (this.bump(), "<") : null;
3251
3229
  }, e.prototype.tryParseQuote = function(t) {
3252
3230
  if (this.isEOF() || this.char() !== 39)
3253
3231
  return null;
@@ -3281,12 +3259,12 @@ var Ti = (
3281
3259
  r.push(n);
3282
3260
  this.bump();
3283
3261
  }
3284
- return Ke.apply(void 0, r);
3262
+ return qe.apply(void 0, r);
3285
3263
  }, e.prototype.tryParseUnquoted = function(t, r) {
3286
3264
  if (this.isEOF())
3287
3265
  return null;
3288
3266
  var n = this.char();
3289
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ke(n));
3267
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), qe(n));
3290
3268
  }, e.prototype.parseArgument = function(t, r) {
3291
3269
  var n = this.clonePosition();
3292
3270
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3315,7 +3293,7 @@ var Ti = (
3315
3293
  return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3316
3294
  }
3317
3295
  }, e.prototype.parseIdentifierIfPossible = function() {
3318
- var t = this.clonePosition(), r = this.offset(), n = et(this.message, r), i = r + n.length;
3296
+ var t = this.clonePosition(), r = this.offset(), n = Ke(this.message, r), i = r + n.length;
3319
3297
  this.bumpTo(i);
3320
3298
  var o = this.clonePosition(), a = v(t, o);
3321
3299
  return { value: n, location: a };
@@ -3334,7 +3312,7 @@ var Ti = (
3334
3312
  var u = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3335
3313
  if (f.err)
3336
3314
  return f;
3337
- var c = Si(f.val);
3315
+ var c = xi(f.val);
3338
3316
  if (c.length === 0)
3339
3317
  return this.error(y.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
3340
3318
  var m = v(u, this.clonePosition());
@@ -3344,8 +3322,8 @@ var Ti = (
3344
3322
  if (d.err)
3345
3323
  return d;
3346
3324
  var p = v(i, this.clonePosition());
3347
- if (l && Rt(l?.style, "::", 0)) {
3348
- var A = wi(l.style.slice(2));
3325
+ if (l && Bt(l?.style, "::", 0)) {
3326
+ var A = _i(l.style.slice(2));
3349
3327
  if (s === "number") {
3350
3328
  var f = this.parseNumberSkeletonFromString(A, l.styleLocation);
3351
3329
  return f.err ? f : {
@@ -3356,12 +3334,12 @@ var Ti = (
3356
3334
  if (A.length === 0)
3357
3335
  return this.error(y.EXPECT_DATE_TIME_SKELETON, p);
3358
3336
  var H = A;
3359
- this.locale && (H = hi(A, this.locale));
3337
+ this.locale && (H = si(A, this.locale));
3360
3338
  var c = {
3361
3339
  type: re.dateTime,
3362
3340
  pattern: H,
3363
3341
  location: l.styleLocation,
3364
- parsedOptions: this.shouldParseSkeletons ? ni(H) : {}
3342
+ parsedOptions: this.shouldParseSkeletons ? ei(H) : {}
3365
3343
  }, T = s === "date" ? w.date : w.time;
3366
3344
  return {
3367
3345
  val: { type: T, value: n, location: p, style: c },
@@ -3386,19 +3364,19 @@ var Ti = (
3386
3364
  if (this.bumpSpace(), !this.bumpIf(","))
3387
3365
  return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, v(B, _({}, B)));
3388
3366
  this.bumpSpace();
3389
- var M = this.parseIdentifierIfPossible(), L = 0;
3390
- if (s !== "select" && M.value === "offset") {
3367
+ var N = this.parseIdentifierIfPossible(), L = 0;
3368
+ if (s !== "select" && N.value === "offset") {
3391
3369
  if (!this.bumpIf(":"))
3392
3370
  return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
3393
3371
  this.bumpSpace();
3394
3372
  var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3395
3373
  if (f.err)
3396
3374
  return f;
3397
- this.bumpSpace(), M = this.parseIdentifierIfPossible(), L = f.val;
3375
+ this.bumpSpace(), N = this.parseIdentifierIfPossible(), L = f.val;
3398
3376
  }
3399
- var N = this.tryParsePluralOrSelectOptions(t, s, r, M);
3400
- if (N.err)
3401
- return N;
3377
+ var C = this.tryParsePluralOrSelectOptions(t, s, r, N);
3378
+ if (C.err)
3379
+ return C;
3402
3380
  var d = this.tryParseArgumentClose(i);
3403
3381
  if (d.err)
3404
3382
  return d;
@@ -3407,7 +3385,7 @@ var Ti = (
3407
3385
  val: {
3408
3386
  type: w.select,
3409
3387
  value: n,
3410
- options: It(N.val),
3388
+ options: At(C.val),
3411
3389
  location: pe
3412
3390
  },
3413
3391
  err: null
@@ -3415,7 +3393,7 @@ var Ti = (
3415
3393
  val: {
3416
3394
  type: w.plural,
3417
3395
  value: n,
3418
- options: It(N.val),
3396
+ options: At(C.val),
3419
3397
  offset: L,
3420
3398
  pluralType: s === "plural" ? "cardinal" : "ordinal",
3421
3399
  location: pe
@@ -3466,7 +3444,7 @@ var Ti = (
3466
3444
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3467
3445
  var n = [];
3468
3446
  try {
3469
- n = oi(t);
3447
+ n = ri(t);
3470
3448
  } catch {
3471
3449
  return this.error(y.INVALID_NUMBER_SKELETON, r);
3472
3450
  }
@@ -3475,7 +3453,7 @@ var Ti = (
3475
3453
  type: re.number,
3476
3454
  tokens: n,
3477
3455
  location: r,
3478
- parsedOptions: this.shouldParseSkeletons ? li(n) : {}
3456
+ parsedOptions: this.shouldParseSkeletons ? ai(n) : {}
3479
3457
  },
3480
3458
  err: null
3481
3459
  };
@@ -3523,7 +3501,7 @@ var Ti = (
3523
3501
  break;
3524
3502
  }
3525
3503
  var h = v(i, this.clonePosition());
3526
- return o ? (a *= n, xi(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
3504
+ return o ? (a *= n, yi(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
3527
3505
  }, e.prototype.offset = function() {
3528
3506
  return this.position.offset;
3529
3507
  }, e.prototype.isEOF = function() {
@@ -3538,7 +3516,7 @@ var Ti = (
3538
3516
  var t = this.position.offset;
3539
3517
  if (t >= this.message.length)
3540
3518
  throw Error("out of bound");
3541
- var r = yr(this.message, t);
3519
+ var r = dr(this.message, t);
3542
3520
  if (r === void 0)
3543
3521
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3544
3522
  return r;
@@ -3557,7 +3535,7 @@ var Ti = (
3557
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);
3558
3536
  }
3559
3537
  }, e.prototype.bumpIf = function(t) {
3560
- if (Rt(this.message, t, this.offset())) {
3538
+ if (Bt(this.message, t, this.offset())) {
3561
3539
  for (var r = 0; r < t.length; r++)
3562
3540
  this.bump();
3563
3541
  return !0;
@@ -3579,7 +3557,7 @@ var Ti = (
3579
3557
  break;
3580
3558
  }
3581
3559
  }, e.prototype.bumpSpace = function() {
3582
- for (; !this.isEOF() && _r(this.char()); )
3560
+ for (; !this.isEOF() && br(this.char()); )
3583
3561
  this.bump();
3584
3562
  }, e.prototype.peek = function() {
3585
3563
  if (this.isEOF())
@@ -3589,43 +3567,43 @@ var Ti = (
3589
3567
  }, e;
3590
3568
  }()
3591
3569
  );
3592
- function tt(e) {
3570
+ function et(e) {
3593
3571
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3594
3572
  }
3595
- function Hi(e) {
3596
- return tt(e) || e === 47;
3573
+ function wi(e) {
3574
+ return et(e) || e === 47;
3597
3575
  }
3598
- function Bi(e) {
3576
+ function Si(e) {
3599
3577
  return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
3600
3578
  }
3601
- function _r(e) {
3579
+ function br(e) {
3602
3580
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3603
3581
  }
3604
- function Ai(e) {
3582
+ function Ti(e) {
3605
3583
  return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
3606
3584
  }
3607
- function rt(e) {
3585
+ function tt(e) {
3608
3586
  e.forEach(function(t) {
3609
- if (delete t.location, hr(t) || cr(t))
3587
+ if (delete t.location, ar(t) || sr(t))
3610
3588
  for (var r in t.options)
3611
- delete t.options[r].location, rt(t.options[r].value);
3612
- else sr(t) && mr(t.style) || (ur(t) || lr(t)) && Ye(t.style) ? delete t.style.location : fr(t) && rt(t.children);
3589
+ delete t.options[r].location, tt(t.options[r].value);
3590
+ else nr(t) && lr(t.style) || (ir(t) || or(t)) && Qe(t.style) ? delete t.style.location : ur(t) && tt(t.children);
3613
3591
  });
3614
3592
  }
3615
- function Pi(e, t) {
3593
+ function Hi(e, t) {
3616
3594
  t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3617
- var r = new Ti(e, t).parse();
3595
+ var r = new Ei(e, t).parse();
3618
3596
  if (r.err) {
3619
3597
  var n = SyntaxError(y[r.err.kind]);
3620
3598
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3621
3599
  }
3622
- return t?.captureLocation || rt(r.val), r.val;
3600
+ return t?.captureLocation || tt(r.val), r.val;
3623
3601
  }
3624
3602
  var ne;
3625
3603
  (function(e) {
3626
3604
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3627
3605
  })(ne || (ne = {}));
3628
- var Ie = (
3606
+ var Oe = (
3629
3607
  /** @class */
3630
3608
  function(e) {
3631
3609
  F(t, e);
@@ -3637,7 +3615,7 @@ var Ie = (
3637
3615
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3638
3616
  }, t;
3639
3617
  }(Error)
3640
- ), Mt = (
3618
+ ), Rt = (
3641
3619
  /** @class */
3642
3620
  function(e) {
3643
3621
  F(t, e);
@@ -3645,8 +3623,8 @@ var Ie = (
3645
3623
  return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ne.INVALID_VALUE, o) || this;
3646
3624
  }
3647
3625
  return t;
3648
- }(Ie)
3649
- ), Ri = (
3626
+ }(Oe)
3627
+ ), Bi = (
3650
3628
  /** @class */
3651
3629
  function(e) {
3652
3630
  F(t, e);
@@ -3654,8 +3632,8 @@ var Ie = (
3654
3632
  return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ne.INVALID_VALUE, i) || this;
3655
3633
  }
3656
3634
  return t;
3657
- }(Ie)
3658
- ), Ii = (
3635
+ }(Oe)
3636
+ ), Ai = (
3659
3637
  /** @class */
3660
3638
  function(e) {
3661
3639
  F(t, e);
@@ -3663,22 +3641,22 @@ var Ie = (
3663
3641
  return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ne.MISSING_VALUE, n) || this;
3664
3642
  }
3665
3643
  return t;
3666
- }(Ie)
3644
+ }(Oe)
3667
3645
  ), P;
3668
3646
  (function(e) {
3669
3647
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3670
3648
  })(P || (P = {}));
3671
- function Oi(e) {
3649
+ function Pi(e) {
3672
3650
  return e.length < 2 ? e : e.reduce(function(t, r) {
3673
3651
  var n = t[t.length - 1];
3674
3652
  return !n || n.type !== P.literal || r.type !== P.literal ? t.push(r) : n.value += r.value, t;
3675
3653
  }, []);
3676
3654
  }
3677
- function Mi(e) {
3655
+ function Ri(e) {
3678
3656
  return typeof e == "function";
3679
3657
  }
3680
3658
  function we(e, t, r, n, i, o, a) {
3681
- if (e.length === 1 && Ht(e[0]))
3659
+ if (e.length === 1 && wt(e[0]))
3682
3660
  return [
3683
3661
  {
3684
3662
  type: P.literal,
@@ -3687,14 +3665,14 @@ function we(e, t, r, n, i, o, a) {
3687
3665
  ];
3688
3666
  for (var s = [], h = 0, l = e; h < l.length; h++) {
3689
3667
  var u = l[h];
3690
- if (Ht(u)) {
3668
+ if (wt(u)) {
3691
3669
  s.push({
3692
3670
  type: P.literal,
3693
3671
  value: u.value
3694
3672
  });
3695
3673
  continue;
3696
3674
  }
3697
- if (ti(u)) {
3675
+ if (qn(u)) {
3698
3676
  typeof o == "number" && s.push({
3699
3677
  type: P.literal,
3700
3678
  value: r.getNumberFormat(t).format(o)
@@ -3703,43 +3681,43 @@ function we(e, t, r, n, i, o, a) {
3703
3681
  }
3704
3682
  var f = u.value;
3705
3683
  if (!(i && f in i))
3706
- throw new Ii(f, a);
3684
+ throw new Ai(f, a);
3707
3685
  var c = i[f];
3708
- if (ei(u)) {
3686
+ if (Yn(u)) {
3709
3687
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), s.push({
3710
3688
  type: typeof c == "string" ? P.literal : P.object,
3711
3689
  value: c
3712
3690
  });
3713
3691
  continue;
3714
3692
  }
3715
- if (ur(u)) {
3716
- var m = typeof u.style == "string" ? n.date[u.style] : Ye(u.style) ? u.style.parsedOptions : void 0;
3693
+ if (ir(u)) {
3694
+ var m = typeof u.style == "string" ? n.date[u.style] : Qe(u.style) ? u.style.parsedOptions : void 0;
3717
3695
  s.push({
3718
3696
  type: P.literal,
3719
3697
  value: r.getDateTimeFormat(t, m).format(c)
3720
3698
  });
3721
3699
  continue;
3722
3700
  }
3723
- if (lr(u)) {
3724
- var m = typeof u.style == "string" ? n.time[u.style] : Ye(u.style) ? u.style.parsedOptions : n.time.medium;
3701
+ if (or(u)) {
3702
+ var m = typeof u.style == "string" ? n.time[u.style] : Qe(u.style) ? u.style.parsedOptions : n.time.medium;
3725
3703
  s.push({
3726
3704
  type: P.literal,
3727
3705
  value: r.getDateTimeFormat(t, m).format(c)
3728
3706
  });
3729
3707
  continue;
3730
3708
  }
3731
- if (sr(u)) {
3732
- var m = typeof u.style == "string" ? n.number[u.style] : mr(u.style) ? u.style.parsedOptions : void 0;
3709
+ if (nr(u)) {
3710
+ var m = typeof u.style == "string" ? n.number[u.style] : lr(u.style) ? u.style.parsedOptions : void 0;
3733
3711
  m && m.scale && (c = c * (m.scale || 1)), s.push({
3734
3712
  type: P.literal,
3735
3713
  value: r.getNumberFormat(t, m).format(c)
3736
3714
  });
3737
3715
  continue;
3738
3716
  }
3739
- if (fr(u)) {
3717
+ if (ur(u)) {
3740
3718
  var d = u.children, p = u.value, A = i[p];
3741
- if (!Mi(A))
3742
- throw new Ri(p, "function", a);
3719
+ if (!Ri(A))
3720
+ throw new Bi(p, "function", a);
3743
3721
  var H = we(d, t, r, n, i, o), T = A(H.map(function(L) {
3744
3722
  return L.value;
3745
3723
  }));
@@ -3750,42 +3728,42 @@ function we(e, t, r, n, i, o, a) {
3750
3728
  };
3751
3729
  }));
3752
3730
  }
3753
- if (hr(u)) {
3731
+ if (ar(u)) {
3754
3732
  var B = u.options[c] || u.options.other;
3755
3733
  if (!B)
3756
- throw new Mt(u.value, c, Object.keys(u.options), a);
3734
+ throw new Rt(u.value, c, Object.keys(u.options), a);
3757
3735
  s.push.apply(s, we(B.value, t, r, n, i));
3758
3736
  continue;
3759
3737
  }
3760
- if (cr(u)) {
3738
+ if (sr(u)) {
3761
3739
  var B = u.options["=".concat(c)];
3762
3740
  if (!B) {
3763
3741
  if (!Intl.PluralRules)
3764
- throw new Ie(`Intl.PluralRules is not available in this environment.
3742
+ throw new Oe(`Intl.PluralRules is not available in this environment.
3765
3743
  Try polyfilling it using "@formatjs/intl-pluralrules"
3766
3744
  `, ne.MISSING_INTL_API, a);
3767
- var M = r.getPluralRules(t, { type: u.pluralType }).select(c - (u.offset || 0));
3768
- B = u.options[M] || u.options.other;
3745
+ var N = r.getPluralRules(t, { type: u.pluralType }).select(c - (u.offset || 0));
3746
+ B = u.options[N] || u.options.other;
3769
3747
  }
3770
3748
  if (!B)
3771
- throw new Mt(u.value, c, Object.keys(u.options), a);
3749
+ throw new Rt(u.value, c, Object.keys(u.options), a);
3772
3750
  s.push.apply(s, we(B.value, t, r, n, i, c - (u.offset || 0)));
3773
3751
  continue;
3774
3752
  }
3775
3753
  }
3776
- return Oi(s);
3754
+ return Pi(s);
3777
3755
  }
3778
- function Li(e, t) {
3756
+ function Oi(e, t) {
3779
3757
  return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3780
3758
  return r[n] = _(_({}, e[n]), t[n] || {}), r;
3781
3759
  }, {})) : e;
3782
3760
  }
3783
- function Ci(e, t) {
3761
+ function Ii(e, t) {
3784
3762
  return t ? Object.keys(e).reduce(function(r, n) {
3785
- return r[n] = Li(e[n], t[n]), r;
3763
+ return r[n] = Oi(e[n], t[n]), r;
3786
3764
  }, _({}, e)) : e;
3787
3765
  }
3788
- function $e(e) {
3766
+ function Fe(e) {
3789
3767
  return {
3790
3768
  create: function() {
3791
3769
  return {
@@ -3805,33 +3783,33 @@ function Ni(e) {
3805
3783
  dateTime: {},
3806
3784
  pluralRules: {}
3807
3785
  }), {
3808
- getNumberFormat: Ue(function() {
3786
+ getNumberFormat: Ge(function() {
3809
3787
  for (var t, r = [], n = 0; n < arguments.length; n++)
3810
3788
  r[n] = arguments[n];
3811
3789
  return new ((t = Intl.NumberFormat).bind.apply(t, ee([void 0], r, !1)))();
3812
3790
  }, {
3813
- cache: $e(e.number),
3814
- strategy: De.variadic
3791
+ cache: Fe(e.number),
3792
+ strategy: Ue.variadic
3815
3793
  }),
3816
- getDateTimeFormat: Ue(function() {
3794
+ getDateTimeFormat: Ge(function() {
3817
3795
  for (var t, r = [], n = 0; n < arguments.length; n++)
3818
3796
  r[n] = arguments[n];
3819
3797
  return new ((t = Intl.DateTimeFormat).bind.apply(t, ee([void 0], r, !1)))();
3820
3798
  }, {
3821
- cache: $e(e.dateTime),
3822
- strategy: De.variadic
3799
+ cache: Fe(e.dateTime),
3800
+ strategy: Ue.variadic
3823
3801
  }),
3824
- getPluralRules: Ue(function() {
3802
+ getPluralRules: Ge(function() {
3825
3803
  for (var t, r = [], n = 0; n < arguments.length; n++)
3826
3804
  r[n] = arguments[n];
3827
3805
  return new ((t = Intl.PluralRules).bind.apply(t, ee([void 0], r, !1)))();
3828
3806
  }, {
3829
- cache: $e(e.pluralRules),
3830
- strategy: De.variadic
3807
+ cache: Fe(e.pluralRules),
3808
+ strategy: Ue.variadic
3831
3809
  })
3832
3810
  };
3833
3811
  }
3834
- var Gi = (
3812
+ var Li = (
3835
3813
  /** @class */
3836
3814
  function() {
3837
3815
  function e(t, r, n, i) {
@@ -3863,13 +3841,13 @@ var Gi = (
3863
3841
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3864
3842
  var a = i || {};
3865
3843
  a.formatters;
3866
- var s = bn(a, ["formatters"]);
3844
+ var s = fn(a, ["formatters"]);
3867
3845
  this.ast = e.__parse(t, _(_({}, s), { locale: this.resolvedLocale }));
3868
3846
  } else
3869
3847
  this.ast = t;
3870
3848
  if (!Array.isArray(this.ast))
3871
3849
  throw new TypeError("A message must be provided as a String or AST.");
3872
- this.formats = Ci(e.formats, n), this.formatters = i && i.formatters || Ni(this.formatterCache);
3850
+ this.formats = Ii(e.formats, n), this.formatters = i && i.formatters || Ni(this.formatterCache);
3873
3851
  }
3874
3852
  return Object.defineProperty(e, "defaultLocale", {
3875
3853
  get: function() {
@@ -3882,7 +3860,7 @@ var Gi = (
3882
3860
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3883
3861
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3884
3862
  }
3885
- }, e.__parse = Pi, e.formats = {
3863
+ }, e.__parse = Hi, e.formats = {
3886
3864
  number: {
3887
3865
  integer: {
3888
3866
  maximumFractionDigits: 0
@@ -3943,7 +3921,7 @@ var Gi = (
3943
3921
  }, e;
3944
3922
  }()
3945
3923
  );
3946
- function Ui(e, t) {
3924
+ function Mi(e, t) {
3947
3925
  if (t == null)
3948
3926
  return;
3949
3927
  if (t in e)
@@ -3964,92 +3942,92 @@ function Ui(e, t) {
3964
3942
  n = void 0;
3965
3943
  return n;
3966
3944
  }
3967
- const $ = {}, Di = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), xr = (e, t) => {
3945
+ const $ = {}, Ci = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), gr = (e, t) => {
3968
3946
  if (t == null)
3969
3947
  return;
3970
3948
  if (t in $ && e in $[t])
3971
3949
  return $[t][e];
3972
- const r = Oe(t);
3950
+ const r = Ie(t);
3973
3951
  for (let n = 0; n < r.length; n++) {
3974
- const i = r[n], o = $i(i, e);
3952
+ const i = r[n], o = Ui(i, e);
3975
3953
  if (o)
3976
- return Di(e, t, o);
3954
+ return Ci(e, t, o);
3977
3955
  }
3978
3956
  };
3979
- let ut;
3957
+ let ot;
3980
3958
  const ae = Re({});
3981
- function Fi(e) {
3982
- return ut[e] || null;
3959
+ function Gi(e) {
3960
+ return ot[e] || null;
3983
3961
  }
3984
- function Er(e) {
3985
- return e in ut;
3962
+ function yr(e) {
3963
+ return e in ot;
3986
3964
  }
3987
- function $i(e, t) {
3988
- if (!Er(e))
3965
+ function Ui(e, t) {
3966
+ if (!yr(e))
3989
3967
  return null;
3990
- const r = Fi(e);
3991
- return Ui(r, t);
3968
+ const r = Gi(e);
3969
+ return Mi(r, t);
3992
3970
  }
3993
- function ji(e) {
3971
+ function Di(e) {
3994
3972
  if (e == null)
3995
3973
  return;
3996
- const t = Oe(e);
3974
+ const t = Ie(e);
3997
3975
  for (let r = 0; r < t.length; r++) {
3998
3976
  const n = t[r];
3999
- if (Er(n))
3977
+ if (yr(n))
4000
3978
  return n;
4001
3979
  }
4002
3980
  }
4003
- function wr(e, ...t) {
4004
- delete $[e], ae.update((r) => (r[e] = zn.all([r[e] || {}, ...t]), r));
3981
+ function vr(e, ...t) {
3982
+ delete $[e], ae.update((r) => (r[e] = kn.all([r[e] || {}, ...t]), r));
4005
3983
  }
4006
3984
  oe(
4007
3985
  [ae],
4008
3986
  ([e]) => Object.keys(e)
4009
3987
  );
4010
- ae.subscribe((e) => ut = e);
3988
+ ae.subscribe((e) => ot = e);
4011
3989
  const Se = {};
4012
- function ki(e, t) {
3990
+ function Fi(e, t) {
4013
3991
  Se[e].delete(t), Se[e].size === 0 && delete Se[e];
4014
3992
  }
4015
- function Sr(e) {
3993
+ function _r(e) {
4016
3994
  return Se[e];
4017
3995
  }
4018
- function Vi(e) {
4019
- return Oe(e).map((t) => {
4020
- const r = Sr(t);
3996
+ function $i(e) {
3997
+ return Ie(e).map((t) => {
3998
+ const r = _r(t);
4021
3999
  return [t, r ? [...r] : []];
4022
4000
  }).filter(([, t]) => t.length > 0);
4023
4001
  }
4024
- function nt(e) {
4025
- return e == null ? !1 : Oe(e).some(
4002
+ function rt(e) {
4003
+ return e == null ? !1 : Ie(e).some(
4026
4004
  (t) => {
4027
4005
  var r;
4028
- return (r = Sr(t)) == null ? void 0 : r.size;
4006
+ return (r = _r(t)) == null ? void 0 : r.size;
4029
4007
  }
4030
4008
  );
4031
4009
  }
4032
- function Wi(e, t) {
4010
+ function ji(e, t) {
4033
4011
  return Promise.all(
4034
- t.map((n) => (ki(e, n), n().then((i) => i.default || i)))
4035
- ).then((n) => wr(e, ...n));
4012
+ t.map((n) => (Fi(e, n), n().then((i) => i.default || i)))
4013
+ ).then((n) => vr(e, ...n));
4036
4014
  }
4037
4015
  const le = {};
4038
- function Tr(e) {
4039
- if (!nt(e))
4016
+ function xr(e) {
4017
+ if (!rt(e))
4040
4018
  return e in le ? le[e] : Promise.resolve();
4041
- const t = Vi(e);
4019
+ const t = $i(e);
4042
4020
  return le[e] = Promise.all(
4043
4021
  t.map(
4044
- ([r, n]) => Wi(r, n)
4022
+ ([r, n]) => ji(r, n)
4045
4023
  )
4046
4024
  ).then(() => {
4047
- if (nt(e))
4048
- return Tr(e);
4025
+ if (rt(e))
4026
+ return xr(e);
4049
4027
  delete le[e];
4050
4028
  }), le[e];
4051
4029
  }
4052
- const Xi = {
4030
+ const ki = {
4053
4031
  number: {
4054
4032
  scientific: { notation: "scientific" },
4055
4033
  engineering: { notation: "engineering" },
@@ -4078,78 +4056,78 @@ const Xi = {
4078
4056
  timeZoneName: "short"
4079
4057
  }
4080
4058
  }
4081
- }, zi = {
4059
+ }, Vi = {
4082
4060
  fallbackLocale: null,
4083
4061
  loadingDelay: 200,
4084
- formats: Xi,
4062
+ formats: ki,
4085
4063
  warnOnMissingMessages: !0,
4086
4064
  handleMissingMessage: void 0,
4087
4065
  ignoreTag: !0
4088
- }, Ji = zi;
4066
+ }, Wi = Vi;
4089
4067
  function ie() {
4090
- return Ji;
4068
+ return Wi;
4091
4069
  }
4092
- const je = Re(!1);
4093
- var Zi = Object.defineProperty, Qi = Object.defineProperties, Yi = Object.getOwnPropertyDescriptors, Lt = Object.getOwnPropertySymbols, qi = Object.prototype.hasOwnProperty, Ki = Object.prototype.propertyIsEnumerable, Ct = (e, t, r) => t in e ? Zi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, eo = (e, t) => {
4070
+ const $e = Re(!1);
4071
+ var Xi = Object.defineProperty, zi = Object.defineProperties, Ji = Object.getOwnPropertyDescriptors, Ot = Object.getOwnPropertySymbols, Zi = Object.prototype.hasOwnProperty, Qi = Object.prototype.propertyIsEnumerable, It = (e, t, r) => t in e ? Xi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Yi = (e, t) => {
4094
4072
  for (var r in t || (t = {}))
4095
- qi.call(t, r) && Ct(e, r, t[r]);
4096
- if (Lt)
4097
- for (var r of Lt(t))
4098
- Ki.call(t, r) && Ct(e, r, t[r]);
4073
+ Zi.call(t, r) && It(e, r, t[r]);
4074
+ if (Ot)
4075
+ for (var r of Ot(t))
4076
+ Qi.call(t, r) && It(e, r, t[r]);
4099
4077
  return e;
4100
- }, to = (e, t) => Qi(e, Yi(t));
4101
- let it;
4078
+ }, qi = (e, t) => zi(e, Ji(t));
4079
+ let nt;
4102
4080
  const Be = Re(null);
4103
4081
  function Nt(e) {
4104
4082
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4105
4083
  }
4106
- function Oe(e, t = ie().fallbackLocale) {
4084
+ function Ie(e, t = ie().fallbackLocale) {
4107
4085
  const r = Nt(e);
4108
4086
  return t ? [.../* @__PURE__ */ new Set([...r, ...Nt(t)])] : r;
4109
4087
  }
4110
4088
  function J() {
4111
- return it ?? void 0;
4089
+ return nt ?? void 0;
4112
4090
  }
4113
4091
  Be.subscribe((e) => {
4114
- it = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4092
+ nt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4115
4093
  });
4116
- const ro = (e) => {
4117
- if (e && ji(e) && nt(e)) {
4094
+ const Ki = (e) => {
4095
+ if (e && Di(e) && rt(e)) {
4118
4096
  const { loadingDelay: t } = ie();
4119
4097
  let r;
4120
4098
  return typeof window < "u" && J() != null && t ? r = window.setTimeout(
4121
- () => je.set(!0),
4099
+ () => $e.set(!0),
4122
4100
  t
4123
- ) : je.set(!0), Tr(e).then(() => {
4101
+ ) : $e.set(!0), xr(e).then(() => {
4124
4102
  Be.set(e);
4125
4103
  }).finally(() => {
4126
- clearTimeout(r), je.set(!1);
4104
+ clearTimeout(r), $e.set(!1);
4127
4105
  });
4128
4106
  }
4129
4107
  return Be.set(e);
4130
- }, V = to(eo({}, Be), {
4131
- set: ro
4132
- }), Me = (e) => {
4108
+ }, V = qi(Yi({}, Be), {
4109
+ set: Ki
4110
+ }), Ne = (e) => {
4133
4111
  const t = /* @__PURE__ */ Object.create(null);
4134
4112
  return (n) => {
4135
4113
  const i = JSON.stringify(n);
4136
4114
  return i in t ? t[i] : t[i] = e(n);
4137
4115
  };
4138
4116
  };
4139
- var no = Object.defineProperty, Ae = Object.getOwnPropertySymbols, Hr = Object.prototype.hasOwnProperty, Br = Object.prototype.propertyIsEnumerable, Gt = (e, t, r) => t in e ? no(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, lt = (e, t) => {
4117
+ var eo = Object.defineProperty, Ae = Object.getOwnPropertySymbols, Er = Object.prototype.hasOwnProperty, wr = Object.prototype.propertyIsEnumerable, Lt = (e, t, r) => t in e ? eo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, at = (e, t) => {
4140
4118
  for (var r in t || (t = {}))
4141
- Hr.call(t, r) && Gt(e, r, t[r]);
4119
+ Er.call(t, r) && Lt(e, r, t[r]);
4142
4120
  if (Ae)
4143
4121
  for (var r of Ae(t))
4144
- Br.call(t, r) && Gt(e, r, t[r]);
4122
+ wr.call(t, r) && Lt(e, r, t[r]);
4145
4123
  return e;
4146
4124
  }, se = (e, t) => {
4147
4125
  var r = {};
4148
4126
  for (var n in e)
4149
- Hr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4127
+ Er.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4150
4128
  if (e != null && Ae)
4151
4129
  for (var n of Ae(e))
4152
- t.indexOf(n) < 0 && Br.call(e, n) && (r[n] = e[n]);
4130
+ t.indexOf(n) < 0 && wr.call(e, n) && (r[n] = e[n]);
4153
4131
  return r;
4154
4132
  };
4155
4133
  const de = (e, t) => {
@@ -4157,21 +4135,21 @@ const de = (e, t) => {
4157
4135
  if (e in r && t in r[e])
4158
4136
  return r[e][t];
4159
4137
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4160
- }, io = Me(
4138
+ }, to = Ne(
4161
4139
  (e) => {
4162
4140
  var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
4163
4141
  if (r == null)
4164
4142
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4165
4143
  return n && (i = de("number", n)), new Intl.NumberFormat(r, i);
4166
4144
  }
4167
- ), oo = Me(
4145
+ ), ro = Ne(
4168
4146
  (e) => {
4169
4147
  var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
4170
4148
  if (r == null)
4171
4149
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4172
4150
  return n ? i = de("date", n) : Object.keys(i).length === 0 && (i = de("date", "short")), new Intl.DateTimeFormat(r, i);
4173
4151
  }
4174
- ), ao = Me(
4152
+ ), no = Ne(
4175
4153
  (e) => {
4176
4154
  var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
4177
4155
  if (r == null)
@@ -4180,33 +4158,33 @@ const de = (e, t) => {
4180
4158
  );
4181
4159
  return n ? i = de("time", n) : Object.keys(i).length === 0 && (i = de("time", "short")), new Intl.DateTimeFormat(r, i);
4182
4160
  }
4183
- ), so = (e = {}) => {
4161
+ ), io = (e = {}) => {
4184
4162
  var t = e, {
4185
4163
  locale: r = J()
4186
4164
  } = t, n = se(t, [
4187
4165
  "locale"
4188
4166
  ]);
4189
- return io(lt({ locale: r }, n));
4190
- }, uo = (e = {}) => {
4167
+ return to(at({ locale: r }, n));
4168
+ }, oo = (e = {}) => {
4191
4169
  var t = e, {
4192
4170
  locale: r = J()
4193
4171
  } = t, n = se(t, [
4194
4172
  "locale"
4195
4173
  ]);
4196
- return oo(lt({ locale: r }, n));
4197
- }, lo = (e = {}) => {
4174
+ return ro(at({ locale: r }, n));
4175
+ }, ao = (e = {}) => {
4198
4176
  var t = e, {
4199
4177
  locale: r = J()
4200
4178
  } = t, n = se(t, [
4201
4179
  "locale"
4202
4180
  ]);
4203
- return ao(lt({ locale: r }, n));
4204
- }, ho = Me(
4181
+ return no(at({ locale: r }, n));
4182
+ }, so = Ne(
4205
4183
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4206
- (e, t = J()) => new Gi(e, t, ie().formats, {
4184
+ (e, t = J()) => new Li(e, t, ie().formats, {
4207
4185
  ignoreTag: ie().ignoreTag
4208
4186
  })
4209
- ), co = (e, t = {}) => {
4187
+ ), uo = (e, t = {}) => {
4210
4188
  var r, n, i, o;
4211
4189
  let a = t;
4212
4190
  typeof e == "object" && (a = e, e = a.id);
@@ -4219,7 +4197,7 @@ const de = (e, t) => {
4219
4197
  throw new Error(
4220
4198
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4221
4199
  );
4222
- let u = xr(e, h);
4200
+ let u = gr(e, h);
4223
4201
  if (!u)
4224
4202
  u = (o = (i = (n = (r = ie()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4225
4203
  else if (typeof u != "string")
@@ -4230,7 +4208,7 @@ const de = (e, t) => {
4230
4208
  return u;
4231
4209
  let f = u;
4232
4210
  try {
4233
- f = ho(u, h).format(s);
4211
+ f = so(u, h).format(s);
4234
4212
  } catch (c) {
4235
4213
  c instanceof Error && console.warn(
4236
4214
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4238,20 +4216,20 @@ const de = (e, t) => {
4238
4216
  );
4239
4217
  }
4240
4218
  return f;
4241
- }, fo = (e, t) => lo(t).format(e), mo = (e, t) => uo(t).format(e), po = (e, t) => so(t).format(e), bo = (e, t = J()) => xr(e, t), go = oe([V, ae], () => co);
4242
- oe([V], () => fo);
4243
- oe([V], () => mo);
4244
- oe([V], () => po);
4245
- oe([V, ae], () => bo);
4246
- window.emWidgets = { topic: Rn };
4247
- const yo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4248
- function vo(e, t) {
4219
+ }, lo = (e, t) => ao(t).format(e), ho = (e, t) => oo(t).format(e), co = (e, t) => io(t).format(e), fo = (e, t = J()) => gr(e, t), mo = oe([V, ae], () => uo);
4220
+ oe([V], () => lo);
4221
+ oe([V], () => ho);
4222
+ oe([V], () => co);
4223
+ oe([V, ae], () => fo);
4224
+ window.emWidgets = { topic: Hn };
4225
+ const po = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4226
+ function bo(e, t) {
4249
4227
  if (e) {
4250
4228
  const r = document.createElement("style");
4251
4229
  r.innerHTML = t, e.appendChild(r);
4252
4230
  }
4253
4231
  }
4254
- function _o(e, t) {
4232
+ function go(e, t) {
4255
4233
  const r = new URL(t);
4256
4234
  fetch(r.href).then((n) => n.text()).then((n) => {
4257
4235
  const i = document.createElement("style");
@@ -4260,7 +4238,7 @@ function _o(e, t) {
4260
4238
  console.error("There was an error while trying to load client styling from URL", n);
4261
4239
  });
4262
4240
  }
4263
- function xo(e, t, r) {
4241
+ function yo(e, t, r) {
4264
4242
  if (window.emMessageBus) {
4265
4243
  const n = document.createElement("style");
4266
4244
  window.emMessageBus.subscribe(t, (i) => {
@@ -4268,18 +4246,18 @@ function xo(e, t, r) {
4268
4246
  });
4269
4247
  }
4270
4248
  }
4271
- function Eo({ withLocale: e, translations: t }) {
4249
+ function vo({ withLocale: e, translations: t }) {
4272
4250
  V.subscribe((r) => {
4273
4251
  r == null && (ae.set(t), V.set(e));
4274
4252
  });
4275
4253
  }
4276
- function Ut(e, t) {
4277
- wr(e, t);
4254
+ function Mt(e, t) {
4255
+ vr(e, t);
4278
4256
  }
4279
- function wo(e) {
4257
+ function _o(e) {
4280
4258
  V.set(e);
4281
4259
  }
4282
- const Dt = {
4260
+ const Ct = {
4283
4261
  en: {
4284
4262
  playRandomGame: "Play a random game",
4285
4263
  randomGameLoading: "Selecting ...",
@@ -4353,30 +4331,30 @@ const Dt = {
4353
4331
  noGames: "There are no random games to play"
4354
4332
  }
4355
4333
  };
4356
- function So(e) {
4357
- Zr(e, "svelte-fd0a5p", "*,*::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:flex-start;gap:10px;width:90vw;min-height:380px;max-width:500px;padding:50px;border-top:3px solid var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));border-radius:5px;background:var(--emw--color-white, #FFFFFF)}.ModalWindow .ModalCloseBtn{position:absolute;top:10px;right:10px;border-radius:50%;color:var(--emw--color-secondary, var(--emw--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:flex-start;gap:10px;position:relative;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}.RandomGameWrapper .RandomGamesSliderWrapper{overflow:hidden;height:170px}.RandomGameWrapper .GamesContainer{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;height:100%}.RandomGameWrapper .RandomGameLoading{padding:30px 0}.RandomGameWrapper .RandomGameImage{width:256px;height:170px;border-radius:5px;-webkit-transform-style:preserve-3d;-webkit-backface-visibility:hidden}.RandomTryAgain{position:absolute;bottom:85px;right:-10px;background:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--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;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}.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(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--button-typography, var(--emw--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(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));border:none;border-radius:5px;padding:0 30px;height:50px;font-size:16px;cursor:pointer}");
4334
+ function xo(e) {
4335
+ Wr(e, "svelte-fd0a5p", "*,*::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:flex-start;gap:10px;width:90vw;min-height:380px;max-width:500px;padding:50px;border-top:3px solid var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));border-radius:5px;background:var(--emw--color-white, #FFFFFF)}.ModalWindow .ModalCloseBtn{position:absolute;top:10px;right:10px;border-radius:50%;color:var(--emw--color-secondary, var(--emw--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:flex-start;gap:10px;position:relative;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}.RandomGameWrapper .RandomGamesSliderWrapper{overflow:hidden;height:170px}.RandomGameWrapper .GamesContainer{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;height:100%}.RandomGameWrapper .RandomGameLoading{padding:30px 0}.RandomGameWrapper .RandomGameImage{width:256px;height:170px;border-radius:5px;-webkit-transform-style:preserve-3d;-webkit-backface-visibility:hidden}.RandomTryAgain{position:absolute;bottom:85px;right:-10px;background:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--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;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}.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(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--button-typography, var(--emw--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(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));border:none;border-radius:5px;padding:0 30px;height:50px;font-size:16px;cursor:pointer}");
4358
4336
  }
4359
- function Ft(e, t, r) {
4337
+ function Gt(e, t, r) {
4360
4338
  const n = e.slice();
4361
4339
  return n[41] = t[r], n;
4362
4340
  }
4363
- const To = (e) => ({}), $t = (e) => ({});
4364
- function jt(e) {
4341
+ const Eo = (e) => ({}), Ut = (e) => ({});
4342
+ function Dt(e) {
4365
4343
  let t, r, n, i, o, a, s;
4366
4344
  const h = (
4367
4345
  /*#slots*/
4368
4346
  e[23].close
4369
- ), l = Wr(
4347
+ ), l = $r(
4370
4348
  h,
4371
4349
  e,
4372
4350
  /*$$scope*/
4373
4351
  e[22],
4374
- $t
4375
- ), u = l || Ho();
4352
+ Ut
4353
+ ), u = l || wo();
4376
4354
  function f(d, p) {
4377
4355
  return (
4378
4356
  /*hasRandomGames*/
4379
- d[7] ? Ao : Bo
4357
+ d[7] ? To : So
4380
4358
  );
4381
4359
  }
4382
4360
  let c = f(e), m = c(e);
@@ -4385,7 +4363,7 @@ function jt(e) {
4385
4363
  t = S("div"), r = S("div"), n = S("span"), u && u.c(), i = k(), m.c(), g(n, "class", "ModalCloseBtn"), g(n, "role", "button"), g(r, "class", "ModalContainer"), g(t, "class", "ModalWindow");
4386
4364
  },
4387
4365
  m(d, p) {
4388
- O(d, t, p), x(t, r), x(r, n), u && u.m(n, null), x(r, i), m.m(r, null), o = !0, a || (s = Te(
4366
+ I(d, t, p), x(t, r), x(r, n), u && u.m(n, null), x(r, i), m.m(r, null), o = !0, a || (s = Te(
4389
4367
  n,
4390
4368
  "click",
4391
4369
  /*closeModal*/
@@ -4394,52 +4372,52 @@ function jt(e) {
4394
4372
  },
4395
4373
  p(d, p) {
4396
4374
  l && l.p && (!o || p[0] & /*$$scope*/
4397
- 4194304) && zr(
4375
+ 4194304) && kr(
4398
4376
  l,
4399
4377
  h,
4400
4378
  d,
4401
4379
  /*$$scope*/
4402
4380
  d[22],
4403
- o ? Xr(
4381
+ o ? jr(
4404
4382
  h,
4405
4383
  /*$$scope*/
4406
4384
  d[22],
4407
4385
  p,
4408
- To
4409
- ) : Jr(
4386
+ Eo
4387
+ ) : Vr(
4410
4388
  /*$$scope*/
4411
4389
  d[22]
4412
4390
  ),
4413
- $t
4391
+ Ut
4414
4392
  ), c === (c = f(d)) && m ? m.p(d, p) : (m.d(1), m = c(d), m && (m.c(), m.m(r, null)));
4415
4393
  },
4416
4394
  i(d) {
4417
4395
  o || (ce(u, d), o = !0);
4418
4396
  },
4419
4397
  o(d) {
4420
- We(u, d), o = !1;
4398
+ Ve(u, d), o = !1;
4421
4399
  },
4422
4400
  d(d) {
4423
4401
  d && R(t), u && u.d(d), m.d(), a = !1, s();
4424
4402
  }
4425
4403
  };
4426
4404
  }
4427
- function Ho(e) {
4405
+ function wo(e) {
4428
4406
  let t, r;
4429
4407
  return {
4430
4408
  c() {
4431
- t = pt("svg"), r = pt("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");
4409
+ t = ft("svg"), r = ft("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");
4432
4410
  },
4433
4411
  m(n, i) {
4434
- O(n, t, i), x(t, r);
4412
+ I(n, t, i), x(t, r);
4435
4413
  },
4436
- p: C,
4414
+ p: M,
4437
4415
  d(n) {
4438
4416
  n && R(t);
4439
4417
  }
4440
4418
  };
4441
4419
  }
4442
- function Bo(e) {
4420
+ function So(e) {
4443
4421
  let t, r = (
4444
4422
  /*$_*/
4445
4423
  e[9]("noGames") + ""
@@ -4449,7 +4427,7 @@ function Bo(e) {
4449
4427
  t = S("p"), n = j(r), g(t, "class", "RandomGameLoading");
4450
4428
  },
4451
4429
  m(i, o) {
4452
- O(i, t, o), x(t, n);
4430
+ I(i, t, o), x(t, n);
4453
4431
  },
4454
4432
  p(i, o) {
4455
4433
  o[0] & /*$_*/
@@ -4461,17 +4439,17 @@ function Bo(e) {
4461
4439
  }
4462
4440
  };
4463
4441
  }
4464
- function Ao(e) {
4465
- let t, r, n, i, o = gt(
4442
+ function To(e) {
4443
+ let t, r, n, i, o = dt(
4466
4444
  /*gamesToShow*/
4467
4445
  e[4]
4468
4446
  ), a = [];
4469
4447
  for (let u = 0; u < o.length; u += 1)
4470
- a[u] = kt(Ft(e, o, u));
4448
+ a[u] = Ft(Gt(e, o, u));
4471
4449
  function s(u, f) {
4472
4450
  return (
4473
4451
  /*animationDone*/
4474
- u[6] ? Ro : Po
4452
+ u[6] ? Bo : Ho
4475
4453
  );
4476
4454
  }
4477
4455
  let h = s(e), l = h(e);
@@ -4483,7 +4461,7 @@ function Ao(e) {
4483
4461
  i = k(), l.c(), g(n, "class", "GamesContainer"), g(r, "class", "RandomGamesSliderWrapper"), g(t, "class", "RandomGameWrapper");
4484
4462
  },
4485
4463
  m(u, f) {
4486
- O(u, t, f), x(t, r), x(r, n);
4464
+ I(u, t, f), x(t, r), x(r, n);
4487
4465
  for (let c = 0; c < a.length; c += 1)
4488
4466
  a[c] && a[c].m(n, null);
4489
4467
  e[24](n), x(t, i), l.m(t, null);
@@ -4491,14 +4469,14 @@ function Ao(e) {
4491
4469
  p(u, f) {
4492
4470
  if (f[0] & /*gamesToShow*/
4493
4471
  16) {
4494
- o = gt(
4472
+ o = dt(
4495
4473
  /*gamesToShow*/
4496
4474
  u[4]
4497
4475
  );
4498
4476
  let c;
4499
4477
  for (c = 0; c < o.length; c += 1) {
4500
- const m = Ft(u, o, c);
4501
- a[c] ? a[c].p(m, f) : (a[c] = kt(m), a[c].c(), a[c].m(n, null));
4478
+ const m = Gt(u, o, c);
4479
+ a[c] ? a[c].p(m, f) : (a[c] = Ft(m), a[c].c(), a[c].m(n, null));
4502
4480
  }
4503
4481
  for (; c < a.length; c += 1)
4504
4482
  a[c].d(1);
@@ -4507,25 +4485,25 @@ function Ao(e) {
4507
4485
  h === (h = s(u)) && l ? l.p(u, f) : (l.d(1), l = h(u), l && (l.c(), l.m(t, null)));
4508
4486
  },
4509
4487
  d(u) {
4510
- u && R(t), qr(a, u), e[24](null), l.d();
4488
+ u && R(t), Jr(a, u), e[24](null), l.d();
4511
4489
  }
4512
4490
  };
4513
4491
  }
4514
- function kt(e) {
4492
+ function Ft(e) {
4515
4493
  let t, r, n, i, o, a;
4516
4494
  return {
4517
4495
  c() {
4518
- t = S("div"), r = S("img"), a = k(), g(r, "class", "RandomGameImage"), dt(r.src, n = /*game*/
4496
+ t = S("div"), r = S("img"), a = k(), g(r, "class", "RandomGameImage"), ct(r.src, n = /*game*/
4519
4497
  e[41].thumbnail) || g(r, "src", n), g(r, "alt", i = /*game*/
4520
4498
  e[41].name), g(r, "title", o = /*game*/
4521
4499
  e[41].name), g(t, "class", "item");
4522
4500
  },
4523
4501
  m(s, h) {
4524
- O(s, t, h), x(t, r), x(t, a);
4502
+ I(s, t, h), x(t, r), x(t, a);
4525
4503
  },
4526
4504
  p(s, h) {
4527
4505
  h[0] & /*gamesToShow*/
4528
- 16 && !dt(r.src, n = /*game*/
4506
+ 16 && !ct(r.src, n = /*game*/
4529
4507
  s[41].thumbnail) && g(r, "src", n), h[0] & /*gamesToShow*/
4530
4508
  16 && i !== (i = /*game*/
4531
4509
  s[41].name) && g(r, "alt", i), h[0] & /*gamesToShow*/
@@ -4537,7 +4515,7 @@ function kt(e) {
4537
4515
  }
4538
4516
  };
4539
4517
  }
4540
- function Po(e) {
4518
+ function Ho(e) {
4541
4519
  let t, r = (
4542
4520
  /*$_*/
4543
4521
  e[9]("randomGameLoading") + ""
@@ -4547,7 +4525,7 @@ function Po(e) {
4547
4525
  t = S("p"), n = j(r), g(t, "class", "RandomGameLoading");
4548
4526
  },
4549
4527
  m(i, o) {
4550
- O(i, t, o), x(t, n);
4528
+ I(i, t, o), x(t, n);
4551
4529
  },
4552
4530
  p(i, o) {
4553
4531
  o[0] & /*$_*/
@@ -4559,7 +4537,7 @@ function Po(e) {
4559
4537
  }
4560
4538
  };
4561
4539
  }
4562
- function Ro(e) {
4540
+ function Bo(e) {
4563
4541
  let t, r, n, i, o = (
4564
4542
  /*randomGame*/
4565
4543
  e[3].name + ""
@@ -4576,7 +4554,7 @@ function Ro(e) {
4576
4554
  </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>`, r = k(), n = S("div"), i = S("p"), a = j(o), s = k(), h = S("p"), u = j(l), f = k(), c = S("button"), d = j(m), g(t, "class", "RandomTryAgain"), g(i, "class", "RandomGameTitle"), g(h, "class", "RandomGameVendor"), g(c, "class", "RandomGamePlay"), g(n, "class", "RandomGameDetails");
4577
4555
  },
4578
4556
  m(H, T) {
4579
- O(H, t, T), O(H, r, T), O(H, n, T), x(n, i), x(i, a), x(n, s), x(n, h), x(h, u), x(n, f), x(n, c), x(c, d), p || (A = [
4557
+ I(H, t, T), I(H, r, T), I(H, n, T), x(n, i), x(i, a), x(n, s), x(n, h), x(h, u), x(n, f), x(n, c), x(c, d), p || (A = [
4580
4558
  Te(
4581
4559
  t,
4582
4560
  "click",
@@ -4605,7 +4583,7 @@ function Ro(e) {
4605
4583
  }
4606
4584
  };
4607
4585
  }
4608
- function Io(e) {
4586
+ function Ao(e) {
4609
4587
  let t, r = (
4610
4588
  /*$_*/
4611
4589
  e[9]("playRandomGame") + ""
@@ -4615,7 +4593,7 @@ function Io(e) {
4615
4593
  t = S("span"), n = j(r), g(t, "class", "RandomButtonText");
4616
4594
  },
4617
4595
  m(i, o) {
4618
- O(i, t, o), x(t, n);
4596
+ I(i, t, o), x(t, n);
4619
4597
  },
4620
4598
  p(i, o) {
4621
4599
  o[0] & /*$_*/
@@ -4627,7 +4605,7 @@ function Io(e) {
4627
4605
  }
4628
4606
  };
4629
4607
  }
4630
- function Oo(e) {
4608
+ function Po(e) {
4631
4609
  let t, r;
4632
4610
  return {
4633
4611
  c() {
@@ -4637,7 +4615,7 @@ function Oo(e) {
4637
4615
  ), g(t, "class", "RandomButtonText");
4638
4616
  },
4639
4617
  m(n, i) {
4640
- O(n, t, i), x(t, r);
4618
+ I(n, t, i), x(t, r);
4641
4619
  },
4642
4620
  p(n, i) {
4643
4621
  i[0] & /*buttontext*/
@@ -4652,26 +4630,26 @@ function Oo(e) {
4652
4630
  }
4653
4631
  };
4654
4632
  }
4655
- function Mo(e) {
4633
+ function Ro(e) {
4656
4634
  let t, r, n, i, o, a, s, h, l, u = (
4657
4635
  /*show*/
4658
- e[5] && jt(e)
4636
+ e[5] && Dt(e)
4659
4637
  );
4660
4638
  function f(d, p) {
4661
4639
  if (
4662
4640
  /*buttontext*/
4663
4641
  d[1]
4664
- ) return Oo;
4642
+ ) return Po;
4665
4643
  if (!/*buttontext*/
4666
- d[1]) return Io;
4644
+ d[1]) return Ao;
4667
4645
  }
4668
4646
  let c = f(e), m = c && c(e);
4669
4647
  return {
4670
4648
  c() {
4671
- t = S("div"), u && u.c(), r = k(), n = S("div"), i = S("button"), m && m.c(), o = k(), a = S("span"), g(a, "class", "RandomButtonIcon"), g(i, "class", "RandomButton"), g(n, "class", "RandomButtonWrapper"), g(t, "part", "CustomStylingContainer");
4649
+ t = S("div"), u && u.c(), r = k(), n = S("div"), i = S("button"), m && m.c(), o = k(), a = S("span"), g(a, "class", "RandomButtonIcon"), g(i, "class", "RandomButton"), g(n, "class", "RandomButtonWrapper");
4672
4650
  },
4673
4651
  m(d, p) {
4674
- O(d, t, p), u && u.m(t, null), x(t, r), x(t, n), x(n, i), m && m.m(i, null), x(i, o), x(i, a), a.innerHTML = /*randombuttonicon*/
4652
+ I(d, t, p), u && u.m(t, null), x(t, r), x(t, n), x(n, i), m && m.m(i, null), x(i, o), x(i, a), a.innerHTML = /*randombuttonicon*/
4675
4653
  e[0], e[28](t), s = !0, h || (l = Te(
4676
4654
  i,
4677
4655
  "click",
@@ -4682,9 +4660,9 @@ function Mo(e) {
4682
4660
  p(d, p) {
4683
4661
  /*show*/
4684
4662
  d[5] ? u ? (u.p(d, p), p[0] & /*show*/
4685
- 32 && ce(u, 1)) : (u = jt(d), u.c(), ce(u, 1), u.m(t, r)) : u && (sn(), We(u, 1, 1, () => {
4663
+ 32 && ce(u, 1)) : (u = Dt(d), u.c(), ce(u, 1), u.m(t, r)) : u && (rn(), Ve(u, 1, 1, () => {
4686
4664
  u = null;
4687
- }), un()), c === (c = f(d)) && m ? m.p(d, p) : (m && m.d(1), m = c && c(d), m && (m.c(), m.m(i, o))), (!s || p[0] & /*randombuttonicon*/
4665
+ }), nn()), c === (c = f(d)) && m ? m.p(d, p) : (m && m.d(1), m = c && c(d), m && (m.c(), m.m(i, o))), (!s || p[0] & /*randombuttonicon*/
4688
4666
  1) && (a.innerHTML = /*randombuttonicon*/
4689
4667
  d[0]);
4690
4668
  },
@@ -4692,89 +4670,89 @@ function Mo(e) {
4692
4670
  s || (ce(u), s = !0);
4693
4671
  },
4694
4672
  o(d) {
4695
- We(u), s = !1;
4673
+ Ve(u), s = !1;
4696
4674
  },
4697
4675
  d(d) {
4698
4676
  d && R(t), u && u.d(), m && m.d(), e[28](null), h = !1, l();
4699
4677
  }
4700
4678
  };
4701
4679
  }
4702
- function Lo(e, t, r) {
4680
+ function Oo(e, t, r) {
4703
4681
  let n;
4704
- Vr(e, go, (b) => r(9, n = b));
4705
- 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: p = "" } = t, { mbsource: A } = t, H = [], T = "", B, M = !1, L = !1, N = !1, pe = window.navigator.userAgent, G, Z, ht, be, ct = null;
4706
- Eo({ withLocale: "en", translations: {} });
4707
- const Ar = () => {
4682
+ Fr(e, mo, (b) => r(9, n = b));
4683
+ 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: p = "" } = t, { mbsource: A } = t, H = [], T = "", B, N = !1, L = !1, C = !1, pe = window.navigator.userAgent, G, Z, st, be, ut = null;
4684
+ vo({ withLocale: "en", translations: {} });
4685
+ const Sr = () => {
4708
4686
  fetch(c).then((E) => E.json()).then((E) => {
4709
4687
  Object.keys(E).forEach((U) => {
4710
- Ut(U, E[U]);
4688
+ Mt(U, E[U]);
4711
4689
  });
4712
4690
  }).catch((E) => {
4713
4691
  console.log(E);
4714
4692
  });
4715
4693
  };
4716
- Object.keys(Dt).forEach((b) => {
4717
- Ut(b, Dt[b]);
4694
+ Object.keys(Ct).forEach((b) => {
4695
+ Mt(b, Ct[b]);
4718
4696
  });
4719
- const Pr = () => {
4697
+ const Tr = () => {
4720
4698
  let b = new URL(`${a}/v1/casino/games`);
4721
- b.searchParams.append("platform", yo(pe)), b.searchParams.append("datasource", s), b.searchParams.append("fields", "gId,id,href,thumbnail,name,vendor,categories"), p && b.searchParams.append("filter", `groups=${p}`), b.searchParams.append("expand", "categories,vendor"), b.searchParams.append("pagination", "offset=0,limit=1000"), fetch(b.href).then((E) => E.json()).then((E) => {
4722
- H = E.items, H.length ? (r(4, B = Rr(H.slice(0, 19))), r(7, N = !0)) : (r(4, B = []), r(7, N = !1));
4699
+ b.searchParams.append("platform", po(pe)), b.searchParams.append("datasource", s), b.searchParams.append("fields", "gId,id,href,thumbnail,name,vendor,categories"), p && b.searchParams.append("filter", `groups=${p}`), b.searchParams.append("expand", "categories,vendor"), b.searchParams.append("pagination", "offset=0,limit=1000"), fetch(b.href).then((E) => E.json()).then((E) => {
4700
+ H = E.items, H.length ? (r(4, B = Hr(H.slice(0, 19))), r(7, C = !0)) : (r(4, B = []), r(7, C = !1));
4723
4701
  }).catch((E) => {
4724
- console.log(E), r(7, N = !1);
4702
+ console.log(E), r(7, C = !1);
4725
4703
  });
4726
- }, Rr = (b) => {
4727
- const E = Or(b);
4704
+ }, Hr = (b) => {
4705
+ const E = Ar(b);
4728
4706
  return E.concat(E);
4729
- }, Ir = async () => {
4730
- await nn(), be = Math.floor(Math.random() * (B.length / 2)) + B.length / 2, r(3, T = B[be]), ht = Z.children[be];
4707
+ }, Br = async () => {
4708
+ await Kr(), be = Math.floor(Math.random() * (B.length / 2)) + B.length / 2, r(3, T = B[be]), st = Z.children[be];
4731
4709
  }, Le = async () => {
4732
- r(6, L = !1), r(5, M = !0), window.postMessage({ type: "RandomWidgetState", state: !0 }, window.location.href), await Ir();
4733
- const b = window.getComputedStyle(Z).getPropertyValue("gap"), E = parseInt(b, 10) || 0, ue = (ht.offsetHeight + E) * be, Fr = [
4710
+ r(6, L = !1), r(5, N = !0), window.postMessage({ type: "RandomWidgetState", state: !0 }, window.location.href), await Br();
4711
+ const b = window.getComputedStyle(Z).getPropertyValue("gap"), E = parseInt(b, 10) || 0, ue = (st.offsetHeight + E) * be, Cr = [
4734
4712
  { transform: "translateX(0px)" },
4735
4713
  { filter: "blur(5px)" },
4736
4714
  {
4737
4715
  transform: `translateY(-${ue}px)`
4738
4716
  }
4739
- ], $r = {
4717
+ ], Gr = {
4740
4718
  duration: 2e3,
4741
4719
  easing: "cubic-bezier(0.5, 0, 0.5, 1.2)",
4742
4720
  fill: "forwards"
4743
4721
  };
4744
- ct = Z.animate(Fr, $r), ct.onfinish = () => {
4722
+ ut = Z.animate(Cr, Gr), ut.onfinish = () => {
4745
4723
  r(6, L = !0);
4746
4724
  };
4747
- }, Or = (b) => {
4725
+ }, Ar = (b) => {
4748
4726
  const E = structuredClone(b);
4749
4727
  let U = E.length, ue;
4750
4728
  for (; U != 0; )
4751
4729
  ue = Math.floor(Math.random() * U), U--, [E[U], E[ue]] = [E[ue], E[U]];
4752
4730
  return E;
4753
- }, ft = () => {
4731
+ }, lt = () => {
4754
4732
  window.postMessage(
4755
4733
  {
4756
4734
  type: h,
4757
4735
  gameId: T.gId || T.id
4758
4736
  },
4759
4737
  window.location.href
4760
- ), r(5, M = !1), window.postMessage({ type: "RandomWidgetState", state: !1 }, window.location.href), typeof gtag == "function" && gtag("event", "OpenGame", {
4738
+ ), r(5, N = !1), window.postMessage({ type: "RandomWidgetState", state: !1 }, window.location.href), typeof gtag == "function" && gtag("event", "OpenGame", {
4761
4739
  context: "RandomGameWidget",
4762
4740
  gameId: `${T.gId || T.id}`
4763
4741
  });
4764
- }, Mr = () => {
4765
- r(5, M = !1), window.postMessage({ type: "RandomWidgetState", state: M }, window.location.href);
4766
- }, Lr = () => {
4767
- wo(l);
4742
+ }, Pr = () => {
4743
+ r(5, N = !1), window.postMessage({ type: "RandomWidgetState", state: N }, window.location.href);
4744
+ }, Rr = () => {
4745
+ _o(l);
4768
4746
  };
4769
- rn(() => () => {
4747
+ qr(() => () => {
4770
4748
  });
4771
- function Cr(b) {
4749
+ function Or(b) {
4772
4750
  He[b ? "unshift" : "push"](() => {
4773
4751
  Z = b, r(8, Z);
4774
4752
  });
4775
4753
  }
4776
- const Nr = () => Le(), Gr = () => ft(), Ur = () => Le();
4777
- function Dr(b) {
4754
+ const Ir = () => Le(), Nr = () => lt(), Lr = () => Le();
4755
+ function Mr(b) {
4778
4756
  He[b ? "unshift" : "push"](() => {
4779
4757
  G = b, r(2, G);
4780
4758
  });
@@ -4783,26 +4761,26 @@ function Lo(e, t, r) {
4783
4761
  "endpoint" in b && r(13, a = b.endpoint), "datasource" in b && r(14, s = b.datasource), "gameevent" in b && r(15, h = b.gameevent), "lang" in b && r(16, l = b.lang), "randombuttonicon" in b && r(0, u = b.randombuttonicon), "buttontext" in b && r(1, f = b.buttontext), "translationurl" in b && r(17, c = b.translationurl), "clientstyling" in b && r(18, m = b.clientstyling), "clientstylingurl" in b && r(19, d = b.clientstylingurl), "filteredrandomgamecategories" in b && r(20, p = b.filteredrandomgamecategories), "mbsource" in b && r(21, A = b.mbsource), "$$scope" in b && r(22, o = b.$$scope);
4784
4762
  }, e.$$.update = () => {
4785
4763
  e.$$.dirty[0] & /*lang*/
4786
- 65536 && l && Lr(), e.$$.dirty[0] & /*translationurl*/
4787
- 131072 && c && Ar(), e.$$.dirty[0] & /*endpoint, datasource*/
4788
- 24576 && a && s && Pr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4789
- 262148 && m && G && vo(G, m), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4790
- 524292 && d && G && _o(G, d), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
4791
- 2097156 && G && xo(G, `${A}.Style`);
4764
+ 65536 && l && Rr(), e.$$.dirty[0] & /*translationurl*/
4765
+ 131072 && c && Sr(), e.$$.dirty[0] & /*endpoint, datasource*/
4766
+ 24576 && a && s && Tr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4767
+ 262148 && m && G && bo(G, m), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4768
+ 524292 && d && G && go(G, d), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
4769
+ 2097156 && G && yo(G, `${A}.Style`);
4792
4770
  }, [
4793
4771
  u,
4794
4772
  f,
4795
4773
  G,
4796
4774
  T,
4797
4775
  B,
4798
- M,
4799
- L,
4800
4776
  N,
4777
+ L,
4778
+ C,
4801
4779
  Z,
4802
4780
  n,
4803
4781
  Le,
4804
- ft,
4805
- Mr,
4782
+ lt,
4783
+ Pr,
4806
4784
  a,
4807
4785
  s,
4808
4786
  h,
@@ -4814,21 +4792,21 @@ function Lo(e, t, r) {
4814
4792
  A,
4815
4793
  o,
4816
4794
  i,
4817
- Cr,
4795
+ Or,
4796
+ Ir,
4818
4797
  Nr,
4819
- Gr,
4820
- Ur,
4821
- Dr
4798
+ Lr,
4799
+ Mr
4822
4800
  ];
4823
4801
  }
4824
- class Co extends dn {
4802
+ class Io extends hn {
4825
4803
  constructor(t) {
4826
- super(), fn(
4804
+ super(), un(
4827
4805
  this,
4828
4806
  t,
4829
- Lo,
4830
- Mo,
4831
- Wt,
4807
+ Oo,
4808
+ Ro,
4809
+ jt,
4832
4810
  {
4833
4811
  endpoint: 13,
4834
4812
  datasource: 14,
@@ -4842,7 +4820,7 @@ class Co extends dn {
4842
4820
  filteredrandomgamecategories: 20,
4843
4821
  mbsource: 21
4844
4822
  },
4845
- So,
4823
+ xo,
4846
4824
  [-1, -1]
4847
4825
  );
4848
4826
  }
@@ -4850,70 +4828,70 @@ class Co extends dn {
4850
4828
  return this.$$.ctx[13];
4851
4829
  }
4852
4830
  set endpoint(t) {
4853
- this.$$set({ endpoint: t }), I();
4831
+ this.$$set({ endpoint: t }), O();
4854
4832
  }
4855
4833
  get datasource() {
4856
4834
  return this.$$.ctx[14];
4857
4835
  }
4858
4836
  set datasource(t) {
4859
- this.$$set({ datasource: t }), I();
4837
+ this.$$set({ datasource: t }), O();
4860
4838
  }
4861
4839
  get gameevent() {
4862
4840
  return this.$$.ctx[15];
4863
4841
  }
4864
4842
  set gameevent(t) {
4865
- this.$$set({ gameevent: t }), I();
4843
+ this.$$set({ gameevent: t }), O();
4866
4844
  }
4867
4845
  get lang() {
4868
4846
  return this.$$.ctx[16];
4869
4847
  }
4870
4848
  set lang(t) {
4871
- this.$$set({ lang: t }), I();
4849
+ this.$$set({ lang: t }), O();
4872
4850
  }
4873
4851
  get randombuttonicon() {
4874
4852
  return this.$$.ctx[0];
4875
4853
  }
4876
4854
  set randombuttonicon(t) {
4877
- this.$$set({ randombuttonicon: t }), I();
4855
+ this.$$set({ randombuttonicon: t }), O();
4878
4856
  }
4879
4857
  get buttontext() {
4880
4858
  return this.$$.ctx[1];
4881
4859
  }
4882
4860
  set buttontext(t) {
4883
- this.$$set({ buttontext: t }), I();
4861
+ this.$$set({ buttontext: t }), O();
4884
4862
  }
4885
4863
  get translationurl() {
4886
4864
  return this.$$.ctx[17];
4887
4865
  }
4888
4866
  set translationurl(t) {
4889
- this.$$set({ translationurl: t }), I();
4867
+ this.$$set({ translationurl: t }), O();
4890
4868
  }
4891
4869
  get clientstyling() {
4892
4870
  return this.$$.ctx[18];
4893
4871
  }
4894
4872
  set clientstyling(t) {
4895
- this.$$set({ clientstyling: t }), I();
4873
+ this.$$set({ clientstyling: t }), O();
4896
4874
  }
4897
4875
  get clientstylingurl() {
4898
4876
  return this.$$.ctx[19];
4899
4877
  }
4900
4878
  set clientstylingurl(t) {
4901
- this.$$set({ clientstylingurl: t }), I();
4879
+ this.$$set({ clientstylingurl: t }), O();
4902
4880
  }
4903
4881
  get filteredrandomgamecategories() {
4904
4882
  return this.$$.ctx[20];
4905
4883
  }
4906
4884
  set filteredrandomgamecategories(t) {
4907
- this.$$set({ filteredrandomgamecategories: t }), I();
4885
+ this.$$set({ filteredrandomgamecategories: t }), O();
4908
4886
  }
4909
4887
  get mbsource() {
4910
4888
  return this.$$.ctx[21];
4911
4889
  }
4912
4890
  set mbsource(t) {
4913
- this.$$set({ mbsource: t }), I();
4891
+ this.$$set({ mbsource: t }), O();
4914
4892
  }
4915
4893
  }
4916
- mn(Co, { endpoint: {}, datasource: {}, gameevent: {}, lang: {}, randombuttonicon: {}, buttontext: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, filteredrandomgamecategories: {}, mbsource: {} }, ["close"], [], !0);
4894
+ ln(Io, { endpoint: {}, datasource: {}, gameevent: {}, lang: {}, randombuttonicon: {}, buttontext: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, filteredrandomgamecategories: {}, mbsource: {} }, ["close"], [], !0);
4917
4895
  export {
4918
- Co as C
4896
+ Io as C
4919
4897
  };