@everymatrix/casino-winners 1.87.25 → 1.87.27

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,28 +1,28 @@
1
1
  function $() {
2
2
  }
3
- function gr(e) {
3
+ function yr(e) {
4
4
  return e();
5
5
  }
6
- function Gt() {
6
+ function Dt() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
- function ce(e) {
10
- e.forEach(gr);
9
+ function fe(e) {
10
+ e.forEach(yr);
11
11
  }
12
- function Tt(e) {
12
+ function Bt(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function yr(e, t) {
15
+ function vr(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
- let Ae;
19
- function Dt(e, t) {
20
- return e === t ? !0 : (Ae || (Ae = document.createElement("a")), Ae.href = t, e === Ae.href);
18
+ let Ce;
19
+ function jt(e, t) {
20
+ return e === t ? !0 : (Ce || (Ce = document.createElement("a")), Ce.href = t, e === Ce.href);
21
21
  }
22
- function En(e) {
22
+ function wn(e) {
23
23
  return Object.keys(e).length === 0;
24
24
  }
25
- function vr(e, ...t) {
25
+ function _r(e, ...t) {
26
26
  if (e == null) {
27
27
  for (const n of t)
28
28
  n(void 0);
@@ -31,20 +31,20 @@ function vr(e, ...t) {
31
31
  const r = e.subscribe(...t);
32
32
  return r.unsubscribe ? () => r.unsubscribe() : r;
33
33
  }
34
- function xn(e, t, r) {
35
- e.$$.on_destroy.push(vr(t, r));
34
+ function Sn(e, t, r) {
35
+ e.$$.on_destroy.push(_r(t, r));
36
36
  }
37
37
  function w(e, t) {
38
38
  e.appendChild(t);
39
39
  }
40
- function wn(e, t, r) {
41
- const n = Sn(e);
40
+ function Tn(e, t, r) {
41
+ const n = Bn(e);
42
42
  if (!n.getElementById(t)) {
43
43
  const i = M("style");
44
- i.id = t, i.textContent = r, Tn(n, i);
44
+ i.id = t, i.textContent = r, Hn(n, i);
45
45
  }
46
46
  }
47
- function Sn(e) {
47
+ function Bn(e) {
48
48
  if (!e)
49
49
  return document;
50
50
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -54,7 +54,7 @@ function Sn(e) {
54
54
  t
55
55
  ) : e.ownerDocument;
56
56
  }
57
- function Tn(e, t) {
57
+ function Hn(e, t) {
58
58
  return w(
59
59
  /** @type {Document} */
60
60
  e.head || e,
@@ -67,43 +67,43 @@ function j(e, t, r) {
67
67
  function D(e) {
68
68
  e.parentNode && e.parentNode.removeChild(e);
69
69
  }
70
- function _r(e, t) {
70
+ function Er(e, t) {
71
71
  for (let r = 0; r < e.length; r += 1)
72
72
  e[r] && e[r].d(t);
73
73
  }
74
74
  function M(e) {
75
75
  return document.createElement(e);
76
76
  }
77
- function Pe(e) {
77
+ function Oe(e) {
78
78
  return document.createElementNS("http://www.w3.org/2000/svg", e);
79
79
  }
80
- function Y(e) {
80
+ function q(e) {
81
81
  return document.createTextNode(e);
82
82
  }
83
83
  function X() {
84
- return Y(" ");
84
+ return q(" ");
85
85
  }
86
- function Bt() {
87
- return Y("");
86
+ function Ht() {
87
+ return q("");
88
88
  }
89
- function Ee(e, t, r, n) {
89
+ function xe(e, t, r, n) {
90
90
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
91
91
  }
92
- function p(e, t, r) {
92
+ function m(e, t, r) {
93
93
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
94
94
  }
95
95
  function V(e, t, r) {
96
96
  const n = t.toLowerCase();
97
- n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : p(e, t, r);
97
+ n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : m(e, t, r);
98
98
  }
99
- function Bn(e) {
99
+ function An(e) {
100
100
  return Array.from(e.childNodes);
101
101
  }
102
- function oe(e, t) {
102
+ function se(e, t) {
103
103
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
104
104
  t);
105
105
  }
106
- function Hn(e) {
106
+ function Cn(e) {
107
107
  const t = {};
108
108
  return e.childNodes.forEach(
109
109
  /** @param {Element} node */
@@ -112,93 +112,93 @@ function Hn(e) {
112
112
  }
113
113
  ), t;
114
114
  }
115
- let xe;
116
- function ve(e) {
117
- xe = e;
115
+ let we;
116
+ function _e(e) {
117
+ we = e;
118
118
  }
119
- function An() {
120
- if (!xe)
119
+ function On() {
120
+ if (!we)
121
121
  throw new Error("Function called outside component initialization");
122
- return xe;
122
+ return we;
123
123
  }
124
124
  function Pn(e) {
125
- An().$$.on_mount.push(e);
125
+ On().$$.on_mount.push(e);
126
126
  }
127
- const ie = [], _e = [];
128
- let se = [];
129
- const jt = [], Er = /* @__PURE__ */ Promise.resolve();
130
- let ut = !1;
131
- function xr() {
132
- ut || (ut = !0, Er.then(T));
127
+ const ie = [], Ee = [];
128
+ let ae = [];
129
+ const kt = [], xr = /* @__PURE__ */ Promise.resolve();
130
+ let lt = !1;
131
+ function wr() {
132
+ lt || (lt = !0, xr.then(T));
133
133
  }
134
- function kt() {
135
- return xr(), Er;
134
+ function $t() {
135
+ return wr(), xr;
136
136
  }
137
- function lt(e) {
138
- se.push(e);
137
+ function ht(e) {
138
+ ae.push(e);
139
139
  }
140
- const et = /* @__PURE__ */ new Set();
140
+ const tt = /* @__PURE__ */ new Set();
141
141
  let re = 0;
142
142
  function T() {
143
143
  if (re !== 0)
144
144
  return;
145
- const e = xe;
145
+ const e = we;
146
146
  do {
147
147
  try {
148
148
  for (; re < ie.length; ) {
149
149
  const t = ie[re];
150
- re++, ve(t), On(t.$$);
150
+ re++, _e(t), Mn(t.$$);
151
151
  }
152
152
  } catch (t) {
153
153
  throw ie.length = 0, re = 0, t;
154
154
  }
155
- for (ve(null), ie.length = 0, re = 0; _e.length; )
156
- _e.pop()();
157
- for (let t = 0; t < se.length; t += 1) {
158
- const r = se[t];
159
- et.has(r) || (et.add(r), r());
155
+ for (_e(null), ie.length = 0, re = 0; Ee.length; )
156
+ Ee.pop()();
157
+ for (let t = 0; t < ae.length; t += 1) {
158
+ const r = ae[t];
159
+ tt.has(r) || (tt.add(r), r());
160
160
  }
161
- se.length = 0;
161
+ ae.length = 0;
162
162
  } while (ie.length);
163
- for (; jt.length; )
164
- jt.pop()();
165
- ut = !1, et.clear(), ve(e);
163
+ for (; kt.length; )
164
+ kt.pop()();
165
+ lt = !1, tt.clear(), _e(e);
166
166
  }
167
- function On(e) {
167
+ function Mn(e) {
168
168
  if (e.fragment !== null) {
169
- e.update(), ce(e.before_update);
169
+ e.update(), fe(e.before_update);
170
170
  const t = e.dirty;
171
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(lt);
171
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ht);
172
172
  }
173
173
  }
174
- function Cn(e) {
174
+ function Nn(e) {
175
175
  const t = [], r = [];
176
- se.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), se = t;
176
+ ae.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ae = t;
177
177
  }
178
- const Mn = /* @__PURE__ */ new Set();
179
- function Nn(e, t) {
180
- e && e.i && (Mn.delete(e), e.i(t));
178
+ const In = /* @__PURE__ */ new Set();
179
+ function Ln(e, t) {
180
+ e && e.i && (In.delete(e), e.i(t));
181
181
  }
182
- function Re(e) {
182
+ function We(e) {
183
183
  return e?.length !== void 0 ? e : Array.from(e);
184
184
  }
185
- function In(e, t, r) {
185
+ function Rn(e, t, r) {
186
186
  const { fragment: n, after_update: i } = e.$$;
187
- n && n.m(t, r), lt(() => {
188
- const o = e.$$.on_mount.map(gr).filter(Tt);
189
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ce(o), e.$$.on_mount = [];
190
- }), i.forEach(lt);
187
+ n && n.m(t, r), ht(() => {
188
+ const o = e.$$.on_mount.map(yr).filter(Bt);
189
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : fe(o), e.$$.on_mount = [];
190
+ }), i.forEach(ht);
191
191
  }
192
- function Ln(e, t) {
192
+ function Wn(e, t) {
193
193
  const r = e.$$;
194
- r.fragment !== null && (Cn(r.after_update), ce(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
194
+ r.fragment !== null && (Nn(r.after_update), fe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
195
195
  }
196
- function Rn(e, t) {
197
- e.$$.dirty[0] === -1 && (ie.push(e), xr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
196
+ function Un(e, t) {
197
+ e.$$.dirty[0] === -1 && (ie.push(e), wr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
198
198
  }
199
- function Wn(e, t, r, n, i, o, s = null, a = [-1]) {
200
- const u = xe;
201
- ve(e);
199
+ function Fn(e, t, r, n, i, o, s = null, a = [-1]) {
200
+ const u = we;
201
+ _e(e);
202
202
  const l = e.$$ = {
203
203
  fragment: null,
204
204
  ctx: [],
@@ -206,7 +206,7 @@ function Wn(e, t, r, n, i, o, s = null, a = [-1]) {
206
206
  props: o,
207
207
  update: $,
208
208
  not_equal: i,
209
- bound: Gt(),
209
+ bound: Dt(),
210
210
  // lifecycle
211
211
  on_mount: [],
212
212
  on_destroy: [],
@@ -215,28 +215,28 @@ function Wn(e, t, r, n, i, o, s = null, a = [-1]) {
215
215
  after_update: [],
216
216
  context: new Map(t.context || (u ? u.$$.context : [])),
217
217
  // everything else
218
- callbacks: Gt(),
218
+ callbacks: Dt(),
219
219
  dirty: a,
220
220
  skip_bound: !1,
221
221
  root: t.target || u.$$.root
222
222
  };
223
223
  s && s(l.root);
224
224
  let c = !1;
225
- if (l.ctx = r ? r(e, t.props || {}, (m, f, ...d) => {
226
- const g = d.length ? d[0] : f;
227
- return l.ctx && i(l.ctx[m], l.ctx[m] = g) && (!l.skip_bound && l.bound[m] && l.bound[m](g), c && Rn(e, m)), f;
228
- }) : [], l.update(), c = !0, ce(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
225
+ if (l.ctx = r ? r(e, t.props || {}, (d, f, ...p) => {
226
+ const g = p.length ? p[0] : f;
227
+ return l.ctx && i(l.ctx[d], l.ctx[d] = g) && (!l.skip_bound && l.bound[d] && l.bound[d](g), c && Un(e, d)), f;
228
+ }) : [], l.update(), c = !0, fe(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
229
229
  if (t.hydrate) {
230
- const m = Bn(t.target);
231
- l.fragment && l.fragment.l(m), m.forEach(D);
230
+ const d = An(t.target);
231
+ l.fragment && l.fragment.l(d), d.forEach(D);
232
232
  } else
233
233
  l.fragment && l.fragment.c();
234
- t.intro && Nn(e.$$.fragment), In(e, t.target, t.anchor), T();
234
+ t.intro && Ln(e.$$.fragment), Rn(e, t.target, t.anchor), T();
235
235
  }
236
- ve(u);
236
+ _e(u);
237
237
  }
238
- let wr;
239
- typeof HTMLElement == "function" && (wr = class extends HTMLElement {
238
+ let Sr;
239
+ typeof HTMLElement == "function" && (Sr = class extends HTMLElement {
240
240
  /** The Svelte component constructor */
241
241
  $$ctor;
242
242
  /** Slots */
@@ -278,7 +278,7 @@ typeof HTMLElement == "function" && (wr = class extends HTMLElement {
278
278
  let o;
279
279
  return {
280
280
  c: function() {
281
- o = M("slot"), i !== "default" && p(o, "name", i);
281
+ o = M("slot"), i !== "default" && m(o, "name", i);
282
282
  },
283
283
  /**
284
284
  * @param {HTMLElement} target
@@ -295,12 +295,12 @@ typeof HTMLElement == "function" && (wr = class extends HTMLElement {
295
295
  };
296
296
  if (await Promise.resolve(), !this.$$cn || this.$$c)
297
297
  return;
298
- const t = {}, r = Hn(this);
298
+ const t = {}, r = Cn(this);
299
299
  for (const i of this.$$s)
300
300
  i in r && (t[i] = [e(i)]);
301
301
  for (const i of this.attributes) {
302
302
  const o = this.$$g_p(i.name);
303
- o in this.$$d || (this.$$d[o] = Me(o, i.value, this.$$p_d, "toProp"));
303
+ o in this.$$d || (this.$$d[o] = Ne(o, i.value, this.$$p_d, "toProp"));
304
304
  }
305
305
  for (const i in this.$$p_d)
306
306
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -318,7 +318,7 @@ typeof HTMLElement == "function" && (wr = class extends HTMLElement {
318
318
  this.$$r = !0;
319
319
  for (const i in this.$$p_d)
320
320
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
321
- const o = Me(
321
+ const o = Ne(
322
322
  i,
323
323
  this.$$d[i],
324
324
  this.$$p_d,
@@ -340,7 +340,7 @@ typeof HTMLElement == "function" && (wr = class extends HTMLElement {
340
340
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
341
341
  // and setting attributes through setAttribute etc, this is helpful
342
342
  attributeChangedCallback(e, t, r) {
343
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = Me(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
343
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = Ne(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
344
344
  }
345
345
  disconnectedCallback() {
346
346
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -353,7 +353,7 @@ typeof HTMLElement == "function" && (wr = class extends HTMLElement {
353
353
  ) || e;
354
354
  }
355
355
  });
356
- function Me(e, t, r, n) {
356
+ function Ne(e, t, r, n) {
357
357
  const i = r[e]?.type;
358
358
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
359
359
  return t;
@@ -382,8 +382,8 @@ function Me(e, t, r, n) {
382
382
  return t;
383
383
  }
384
384
  }
385
- function Fn(e, t, r, n, i, o) {
386
- let s = class extends wr {
385
+ function Gn(e, t, r, n, i, o) {
386
+ let s = class extends Sr {
387
387
  constructor() {
388
388
  super(e, r, i), this.$$p_d = t;
389
389
  }
@@ -399,7 +399,7 @@ function Fn(e, t, r, n, i, o) {
399
399
  return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
400
400
  },
401
401
  set(u) {
402
- u = Me(a, u, t), this.$$d[a] = u, this.$$c?.$set({ [a]: u });
402
+ u = Ne(a, u, t), this.$$d[a] = u, this.$$c?.$set({ [a]: u });
403
403
  }
404
404
  });
405
405
  }), n.forEach((a) => {
@@ -411,7 +411,7 @@ function Fn(e, t, r, n, i, o) {
411
411
  }), e.element = /** @type {any} */
412
412
  s, s;
413
413
  }
414
- class Un {
414
+ class Dn {
415
415
  /**
416
416
  * ### PRIVATE API
417
417
  *
@@ -430,7 +430,7 @@ class Un {
430
430
  $$set = void 0;
431
431
  /** @returns {void} */
432
432
  $destroy() {
433
- Ln(this, 1), this.$destroy = $;
433
+ Wn(this, 1), this.$destroy = $;
434
434
  }
435
435
  /**
436
436
  * @template {Extract<keyof Events, string>} K
@@ -439,7 +439,7 @@ class Un {
439
439
  * @returns {() => void}
440
440
  */
441
441
  $on(t, r) {
442
- if (!Tt(r))
442
+ if (!Bt(r))
443
443
  return $;
444
444
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
445
445
  return n.push(r), () => {
@@ -452,22 +452,22 @@ class Un {
452
452
  * @returns {void}
453
453
  */
454
454
  $set(t) {
455
- this.$$set && !En(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
455
+ this.$$set && !wn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
456
456
  }
457
457
  }
458
- const Gn = "4";
459
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Gn);
458
+ const jn = "4";
459
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(jn);
460
460
  const ne = [];
461
- function Dn(e, t) {
461
+ function kn(e, t) {
462
462
  return {
463
- subscribe: Ge(e, t).subscribe
463
+ subscribe: De(e, t).subscribe
464
464
  };
465
465
  }
466
- function Ge(e, t = $) {
466
+ function De(e, t = $) {
467
467
  let r;
468
468
  const n = /* @__PURE__ */ new Set();
469
469
  function i(a) {
470
- if (yr(e, a) && (e = a, r)) {
470
+ if (vr(e, a) && (e = a, r)) {
471
471
  const u = !ne.length;
472
472
  for (const l of n)
473
473
  l[1](), ne.push(l, e);
@@ -489,23 +489,23 @@ function Ge(e, t = $) {
489
489
  }
490
490
  return { set: i, update: o, subscribe: s };
491
491
  }
492
- function fe(e, t, r) {
492
+ function de(e, t, r) {
493
493
  const n = !Array.isArray(e), i = n ? [e] : e;
494
494
  if (!i.every(Boolean))
495
495
  throw new Error("derived() expects stores as input, got a falsy value");
496
496
  const o = t.length < 2;
497
- return Dn(r, (s, a) => {
497
+ return kn(r, (s, a) => {
498
498
  let u = !1;
499
499
  const l = [];
500
- let c = 0, m = $;
500
+ let c = 0, d = $;
501
501
  const f = () => {
502
502
  if (c)
503
503
  return;
504
- m();
504
+ d();
505
505
  const g = t(n ? l[0] : l, s, a);
506
- o ? s(g) : m = Tt(g) ? g : $;
507
- }, d = i.map(
508
- (g, b) => vr(
506
+ o ? s(g) : d = Bt(g) ? g : $;
507
+ }, p = i.map(
508
+ (g, b) => _r(
509
509
  g,
510
510
  (A) => {
511
511
  l[b] = A, c &= ~(1 << b), u && f();
@@ -516,96 +516,96 @@ function fe(e, t, r) {
516
516
  )
517
517
  );
518
518
  return u = !0, f(), function() {
519
- ce(d), m(), u = !1;
519
+ fe(p), d(), u = !1;
520
520
  };
521
521
  });
522
522
  }
523
- function jn(e) {
523
+ function $n(e) {
524
524
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
525
525
  }
526
- var kn = function(t) {
527
- return $n(t) && !Vn(t);
526
+ var Vn = function(t) {
527
+ return Xn(t) && !zn(t);
528
528
  };
529
- function $n(e) {
529
+ function Xn(e) {
530
530
  return !!e && typeof e == "object";
531
531
  }
532
- function Vn(e) {
532
+ function zn(e) {
533
533
  var t = Object.prototype.toString.call(e);
534
- return t === "[object RegExp]" || t === "[object Date]" || Zn(e);
534
+ return t === "[object RegExp]" || t === "[object Date]" || Jn(e);
535
535
  }
536
- var Xn = typeof Symbol == "function" && Symbol.for, zn = Xn ? Symbol.for("react.element") : 60103;
537
- function Zn(e) {
538
- return e.$$typeof === zn;
536
+ var Zn = typeof Symbol == "function" && Symbol.for, Qn = Zn ? Symbol.for("react.element") : 60103;
537
+ function Jn(e) {
538
+ return e.$$typeof === Qn;
539
539
  }
540
- function Qn(e) {
540
+ function Yn(e) {
541
541
  return Array.isArray(e) ? [] : {};
542
542
  }
543
- function we(e, t) {
544
- return t.clone !== !1 && t.isMergeableObject(e) ? ae(Qn(e), e, t) : e;
543
+ function Se(e, t) {
544
+ return t.clone !== !1 && t.isMergeableObject(e) ? ue(Yn(e), e, t) : e;
545
545
  }
546
- function Jn(e, t, r) {
546
+ function qn(e, t, r) {
547
547
  return e.concat(t).map(function(n) {
548
- return we(n, r);
548
+ return Se(n, r);
549
549
  });
550
550
  }
551
- function qn(e, t) {
551
+ function Kn(e, t) {
552
552
  if (!t.customMerge)
553
- return ae;
553
+ return ue;
554
554
  var r = t.customMerge(e);
555
- return typeof r == "function" ? r : ae;
555
+ return typeof r == "function" ? r : ue;
556
556
  }
557
- function Yn(e) {
557
+ function ei(e) {
558
558
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
559
559
  return Object.propertyIsEnumerable.call(e, t);
560
560
  }) : [];
561
561
  }
562
- function $t(e) {
563
- return Object.keys(e).concat(Yn(e));
562
+ function Vt(e) {
563
+ return Object.keys(e).concat(ei(e));
564
564
  }
565
- function Sr(e, t) {
565
+ function Tr(e, t) {
566
566
  try {
567
567
  return t in e;
568
568
  } catch {
569
569
  return !1;
570
570
  }
571
571
  }
572
- function Kn(e, t) {
573
- return Sr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
572
+ function ti(e, t) {
573
+ return Tr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
574
574
  }
575
- function ei(e, t, r) {
575
+ function ri(e, t, r) {
576
576
  var n = {};
577
- return r.isMergeableObject(e) && $t(e).forEach(function(i) {
578
- n[i] = we(e[i], r);
579
- }), $t(t).forEach(function(i) {
580
- Kn(e, i) || (Sr(e, i) && r.isMergeableObject(t[i]) ? n[i] = qn(i, r)(e[i], t[i], r) : n[i] = we(t[i], r));
577
+ return r.isMergeableObject(e) && Vt(e).forEach(function(i) {
578
+ n[i] = Se(e[i], r);
579
+ }), Vt(t).forEach(function(i) {
580
+ ti(e, i) || (Tr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Kn(i, r)(e[i], t[i], r) : n[i] = Se(t[i], r));
581
581
  }), n;
582
582
  }
583
- function ae(e, t, r) {
584
- r = r || {}, r.arrayMerge = r.arrayMerge || Jn, r.isMergeableObject = r.isMergeableObject || kn, r.cloneUnlessOtherwiseSpecified = we;
583
+ function ue(e, t, r) {
584
+ r = r || {}, r.arrayMerge = r.arrayMerge || qn, r.isMergeableObject = r.isMergeableObject || Vn, r.cloneUnlessOtherwiseSpecified = Se;
585
585
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
586
- return o ? n ? r.arrayMerge(e, t, r) : ei(e, t, r) : we(t, r);
586
+ return o ? n ? r.arrayMerge(e, t, r) : ri(e, t, r) : Se(t, r);
587
587
  }
588
- ae.all = function(t, r) {
588
+ ue.all = function(t, r) {
589
589
  if (!Array.isArray(t))
590
590
  throw new Error("first argument should be an array");
591
591
  return t.reduce(function(n, i) {
592
- return ae(n, i, r);
592
+ return ue(n, i, r);
593
593
  }, {});
594
594
  };
595
- var ti = ae, ri = ti;
596
- const ni = /* @__PURE__ */ jn(ri);
597
- var ht = function(e, t) {
598
- return ht = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
595
+ var ni = ue, ii = ni;
596
+ const oi = /* @__PURE__ */ $n(ii);
597
+ var ct = function(e, t) {
598
+ return ct = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
599
599
  r.__proto__ = n;
600
600
  } || function(r, n) {
601
601
  for (var i in n)
602
602
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
603
- }, ht(e, t);
603
+ }, ct(e, t);
604
604
  };
605
- function De(e, t) {
605
+ function je(e, t) {
606
606
  if (typeof t != "function" && t !== null)
607
607
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
608
- ht(e, t);
608
+ ct(e, t);
609
609
  function r() {
610
610
  this.constructor = e;
611
611
  }
@@ -621,7 +621,7 @@ var z = function() {
621
621
  return t;
622
622
  }, z.apply(this, arguments);
623
623
  };
624
- function ii(e, t) {
624
+ function si(e, t) {
625
625
  var r = {};
626
626
  for (var n in e)
627
627
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -630,43 +630,43 @@ function ii(e, t) {
630
630
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
631
631
  return r;
632
632
  }
633
- function tt(e, t, r) {
633
+ function rt(e, t, r) {
634
634
  if (r || arguments.length === 2)
635
635
  for (var n = 0, i = t.length, o; n < i; n++)
636
636
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
637
637
  return e.concat(o || Array.prototype.slice.call(t));
638
638
  }
639
- function rt(e, t) {
640
- var r = t && t.cache ? t.cache : ci, n = t && t.serializer ? t.serializer : li, i = t && t.strategy ? t.strategy : ai;
639
+ function nt(e, t) {
640
+ var r = t && t.cache ? t.cache : di, n = t && t.serializer ? t.serializer : ci, i = t && t.strategy ? t.strategy : li;
641
641
  return i(e, {
642
642
  cache: r,
643
643
  serializer: n
644
644
  });
645
645
  }
646
- function oi(e) {
646
+ function ai(e) {
647
647
  return e == null || typeof e == "number" || typeof e == "boolean";
648
648
  }
649
- function si(e, t, r, n) {
650
- var i = oi(n) ? n : r(n), o = t.get(i);
649
+ function ui(e, t, r, n) {
650
+ var i = ai(n) ? n : r(n), o = t.get(i);
651
651
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
652
652
  }
653
- function Tr(e, t, r) {
653
+ function Br(e, t, r) {
654
654
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
655
655
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
656
656
  }
657
- function Br(e, t, r, n, i) {
657
+ function Hr(e, t, r, n, i) {
658
658
  return r.bind(t, e, n, i);
659
659
  }
660
- function ai(e, t) {
661
- var r = e.length === 1 ? si : Tr;
662
- return Br(e, this, r, t.cache.create(), t.serializer);
660
+ function li(e, t) {
661
+ var r = e.length === 1 ? ui : Br;
662
+ return Hr(e, this, r, t.cache.create(), t.serializer);
663
663
  }
664
- function ui(e, t) {
665
- return Br(e, this, Tr, t.cache.create(), t.serializer);
664
+ function hi(e, t) {
665
+ return Hr(e, this, Br, t.cache.create(), t.serializer);
666
666
  }
667
- var li = function() {
667
+ var ci = function() {
668
668
  return JSON.stringify(arguments);
669
- }, hi = (
669
+ }, fi = (
670
670
  /** @class */
671
671
  function() {
672
672
  function e() {
@@ -678,21 +678,21 @@ var li = function() {
678
678
  this.cache[t] = r;
679
679
  }, e;
680
680
  }()
681
- ), ci = {
681
+ ), di = {
682
682
  create: function() {
683
- return new hi();
683
+ return new fi();
684
684
  }
685
- }, nt = {
686
- variadic: ui
687
- }, We = function() {
688
- return We = Object.assign || function(t) {
685
+ }, it = {
686
+ variadic: hi
687
+ }, Ue = function() {
688
+ return Ue = Object.assign || function(t) {
689
689
  for (var r, n = 1, i = arguments.length; n < i; n++) {
690
690
  r = arguments[n];
691
691
  for (var o in r)
692
692
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
693
693
  }
694
694
  return t;
695
- }, We.apply(this, arguments);
695
+ }, Ue.apply(this, arguments);
696
696
  };
697
697
  var y;
698
698
  (function(e) {
@@ -702,47 +702,47 @@ var H;
702
702
  (function(e) {
703
703
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
704
704
  })(H || (H = {}));
705
- var ue;
705
+ var le;
706
706
  (function(e) {
707
707
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
708
- })(ue || (ue = {}));
709
- function Vt(e) {
708
+ })(le || (le = {}));
709
+ function Xt(e) {
710
710
  return e.type === H.literal;
711
711
  }
712
- function fi(e) {
712
+ function mi(e) {
713
713
  return e.type === H.argument;
714
714
  }
715
- function Hr(e) {
715
+ function Ar(e) {
716
716
  return e.type === H.number;
717
717
  }
718
- function Ar(e) {
718
+ function Cr(e) {
719
719
  return e.type === H.date;
720
720
  }
721
- function Pr(e) {
721
+ function Or(e) {
722
722
  return e.type === H.time;
723
723
  }
724
- function Or(e) {
724
+ function Pr(e) {
725
725
  return e.type === H.select;
726
726
  }
727
- function Cr(e) {
727
+ function Mr(e) {
728
728
  return e.type === H.plural;
729
729
  }
730
- function mi(e) {
730
+ function pi(e) {
731
731
  return e.type === H.pound;
732
732
  }
733
- function Mr(e) {
733
+ function Nr(e) {
734
734
  return e.type === H.tag;
735
735
  }
736
- function Nr(e) {
737
- return !!(e && typeof e == "object" && e.type === ue.number);
736
+ function Ir(e) {
737
+ return !!(e && typeof e == "object" && e.type === le.number);
738
738
  }
739
- function ct(e) {
740
- return !!(e && typeof e == "object" && e.type === ue.dateTime);
739
+ function ft(e) {
740
+ return !!(e && typeof e == "object" && e.type === le.dateTime);
741
741
  }
742
- var Ir = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, pi = /(?:[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;
743
- function di(e) {
742
+ var Lr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, bi = /(?:[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;
743
+ function gi(e) {
744
744
  var t = {};
745
- return e.replace(pi, function(r) {
745
+ return e.replace(bi, function(r) {
746
746
  var n = r.length;
747
747
  switch (r[0]) {
748
748
  case "G":
@@ -831,46 +831,46 @@ function di(e) {
831
831
  return "";
832
832
  }), t;
833
833
  }
834
- var C = function() {
835
- return C = Object.assign || function(t) {
834
+ var P = function() {
835
+ return P = Object.assign || function(t) {
836
836
  for (var r, n = 1, i = arguments.length; n < i; n++) {
837
837
  r = arguments[n];
838
838
  for (var o in r)
839
839
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
840
840
  }
841
841
  return t;
842
- }, C.apply(this, arguments);
842
+ }, P.apply(this, arguments);
843
843
  };
844
- var bi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
845
- function gi(e) {
844
+ var yi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
845
+ function vi(e) {
846
846
  if (e.length === 0)
847
847
  throw new Error("Number skeleton cannot be empty");
848
- for (var t = e.split(bi).filter(function(f) {
848
+ for (var t = e.split(yi).filter(function(f) {
849
849
  return f.length > 0;
850
850
  }), r = [], n = 0, i = t; n < i.length; n++) {
851
851
  var o = i[n], s = o.split("/");
852
852
  if (s.length === 0)
853
853
  throw new Error("Invalid number skeleton");
854
854
  for (var a = s[0], u = s.slice(1), l = 0, c = u; l < c.length; l++) {
855
- var m = c[l];
856
- if (m.length === 0)
855
+ var d = c[l];
856
+ if (d.length === 0)
857
857
  throw new Error("Invalid number skeleton");
858
858
  }
859
859
  r.push({ stem: a, options: u });
860
860
  }
861
861
  return r;
862
862
  }
863
- function yi(e) {
863
+ function _i(e) {
864
864
  return e.replace(/^(.*?)-/, "");
865
865
  }
866
- var Xt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Lr = /^(@+)?(\+|#+)?[rs]?$/g, vi = /(\*)(0+)|(#+)(0+)|(0+)/g, Rr = /^(0+)$/;
867
- function zt(e) {
866
+ var zt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Rr = /^(@+)?(\+|#+)?[rs]?$/g, Ei = /(\*)(0+)|(#+)(0+)|(0+)/g, Wr = /^(0+)$/;
867
+ function Zt(e) {
868
868
  var t = {};
869
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Lr, function(r, n, i) {
869
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Rr, function(r, n, i) {
870
870
  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)), "";
871
871
  }), t;
872
872
  }
873
- function Wr(e) {
873
+ function Ur(e) {
874
874
  switch (e) {
875
875
  case "sign-auto":
876
876
  return {
@@ -910,7 +910,7 @@ function Wr(e) {
910
910
  };
911
911
  }
912
912
  }
913
- function _i(e) {
913
+ function xi(e) {
914
914
  var t;
915
915
  if (e[0] === "E" && e[1] === "E" ? (t = {
916
916
  notation: "engineering"
@@ -918,17 +918,17 @@ function _i(e) {
918
918
  notation: "scientific"
919
919
  }, e = e.slice(1)), t) {
920
920
  var r = e.slice(0, 2);
921
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Rr.test(e))
921
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Wr.test(e))
922
922
  throw new Error("Malformed concise eng/scientific notation");
923
923
  t.minimumIntegerDigits = e.length;
924
924
  }
925
925
  return t;
926
926
  }
927
- function Zt(e) {
928
- var t = {}, r = Wr(e);
927
+ function Qt(e) {
928
+ var t = {}, r = Ur(e);
929
929
  return r || t;
930
930
  }
931
- function Ei(e) {
931
+ function wi(e) {
932
932
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
933
933
  var i = n[r];
934
934
  switch (i.stem) {
@@ -952,7 +952,7 @@ function Ei(e) {
952
952
  continue;
953
953
  case "measure-unit":
954
954
  case "unit":
955
- t.style = "unit", t.unit = yi(i.options[0]);
955
+ t.style = "unit", t.unit = _i(i.options[0]);
956
956
  continue;
957
957
  case "compact-short":
958
958
  case "K":
@@ -963,13 +963,13 @@ function Ei(e) {
963
963
  t.notation = "compact", t.compactDisplay = "long";
964
964
  continue;
965
965
  case "scientific":
966
- t = C(C(C({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
967
- return C(C({}, u), Zt(l));
966
+ t = P(P(P({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
967
+ return P(P({}, u), Qt(l));
968
968
  }, {}));
969
969
  continue;
970
970
  case "engineering":
971
- t = C(C(C({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
972
- return C(C({}, u), Zt(l));
971
+ t = P(P(P({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
972
+ return P(P({}, u), Qt(l));
973
973
  }, {}));
974
974
  continue;
975
975
  case "notation-simple":
@@ -1014,45 +1014,45 @@ function Ei(e) {
1014
1014
  case "integer-width":
1015
1015
  if (i.options.length > 1)
1016
1016
  throw new RangeError("integer-width stems only accept a single optional option");
1017
- i.options[0].replace(vi, function(u, l, c, m, f, d) {
1017
+ i.options[0].replace(Ei, function(u, l, c, d, f, p) {
1018
1018
  if (l)
1019
1019
  t.minimumIntegerDigits = c.length;
1020
1020
  else {
1021
- if (m && f)
1021
+ if (d && f)
1022
1022
  throw new Error("We currently do not support maximum integer digits");
1023
- if (d)
1023
+ if (p)
1024
1024
  throw new Error("We currently do not support exact integer digits");
1025
1025
  }
1026
1026
  return "";
1027
1027
  });
1028
1028
  continue;
1029
1029
  }
1030
- if (Rr.test(i.stem)) {
1030
+ if (Wr.test(i.stem)) {
1031
1031
  t.minimumIntegerDigits = i.stem.length;
1032
1032
  continue;
1033
1033
  }
1034
- if (Xt.test(i.stem)) {
1034
+ if (zt.test(i.stem)) {
1035
1035
  if (i.options.length > 1)
1036
1036
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1037
- i.stem.replace(Xt, function(u, l, c, m, f, d) {
1038
- return c === "*" ? t.minimumFractionDigits = l.length : m && m[0] === "#" ? t.maximumFractionDigits = m.length : f && d ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + d.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1037
+ i.stem.replace(zt, function(u, l, c, d, f, p) {
1038
+ return c === "*" ? t.minimumFractionDigits = l.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1039
1039
  });
1040
1040
  var o = i.options[0];
1041
- o === "w" ? t = C(C({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = C(C({}, t), zt(o)));
1041
+ o === "w" ? t = P(P({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = P(P({}, t), Zt(o)));
1042
1042
  continue;
1043
1043
  }
1044
- if (Lr.test(i.stem)) {
1045
- t = C(C({}, t), zt(i.stem));
1044
+ if (Rr.test(i.stem)) {
1045
+ t = P(P({}, t), Zt(i.stem));
1046
1046
  continue;
1047
1047
  }
1048
- var s = Wr(i.stem);
1049
- s && (t = C(C({}, t), s));
1050
- var a = _i(i.stem);
1051
- a && (t = C(C({}, t), a));
1048
+ var s = Ur(i.stem);
1049
+ s && (t = P(P({}, t), s));
1050
+ var a = xi(i.stem);
1051
+ a && (t = P(P({}, t), a));
1052
1052
  }
1053
1053
  return t;
1054
1054
  }
1055
- var Oe = {
1055
+ var Pe = {
1056
1056
  "001": [
1057
1057
  "H",
1058
1058
  "h"
@@ -2467,13 +2467,13 @@ var Oe = {
2467
2467
  "h"
2468
2468
  ]
2469
2469
  };
2470
- function xi(e, t) {
2470
+ function Si(e, t) {
2471
2471
  for (var r = "", n = 0; n < e.length; n++) {
2472
2472
  var i = e.charAt(n);
2473
2473
  if (i === "j") {
2474
2474
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2475
2475
  o++, n++;
2476
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = wi(t);
2476
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = Ti(t);
2477
2477
  for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
2478
2478
  r += u;
2479
2479
  for (; s-- > 0; )
@@ -2483,7 +2483,7 @@ function xi(e, t) {
2483
2483
  }
2484
2484
  return r;
2485
2485
  }
2486
- function wi(e) {
2486
+ function Ti(e) {
2487
2487
  var t = e.hourCycle;
2488
2488
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2489
2489
  e.hourCycles && // @ts-ignore
@@ -2502,23 +2502,23 @@ function wi(e) {
2502
2502
  }
2503
2503
  var r = e.language, n;
2504
2504
  r !== "root" && (n = e.maximize().region);
2505
- var i = Oe[n || ""] || Oe[r || ""] || Oe["".concat(r, "-001")] || Oe["001"];
2505
+ var i = Pe[n || ""] || Pe[r || ""] || Pe["".concat(r, "-001")] || Pe["001"];
2506
2506
  return i[0];
2507
2507
  }
2508
- var it, Si = new RegExp("^".concat(Ir.source, "*")), Ti = new RegExp("".concat(Ir.source, "*$"));
2508
+ var ot, Bi = new RegExp("^".concat(Lr.source, "*")), Hi = new RegExp("".concat(Lr.source, "*$"));
2509
2509
  function _(e, t) {
2510
2510
  return { start: e, end: t };
2511
2511
  }
2512
- var Bi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Hi = !!String.fromCodePoint, Ai = !!Object.fromEntries, Pi = !!String.prototype.codePointAt, Oi = !!String.prototype.trimStart, Ci = !!String.prototype.trimEnd, Mi = !!Number.isSafeInteger, Ni = Mi ? Number.isSafeInteger : function(e) {
2512
+ var Ai = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ci = !!String.fromCodePoint, Oi = !!Object.fromEntries, Pi = !!String.prototype.codePointAt, Mi = !!String.prototype.trimStart, Ni = !!String.prototype.trimEnd, Ii = !!Number.isSafeInteger, Li = Ii ? Number.isSafeInteger : function(e) {
2513
2513
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2514
- }, ft = !0;
2514
+ }, dt = !0;
2515
2515
  try {
2516
- var Ii = Ur("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2517
- ft = ((it = Ii.exec("a")) === null || it === void 0 ? void 0 : it[0]) === "a";
2516
+ var Ri = Gr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2517
+ dt = ((ot = Ri.exec("a")) === null || ot === void 0 ? void 0 : ot[0]) === "a";
2518
2518
  } catch {
2519
- ft = !1;
2519
+ dt = !1;
2520
2520
  }
2521
- var Qt = Bi ? (
2521
+ var Jt = Ai ? (
2522
2522
  // Native
2523
2523
  function(t, r, n) {
2524
2524
  return t.startsWith(r, n);
@@ -2528,7 +2528,7 @@ var Qt = Bi ? (
2528
2528
  function(t, r, n) {
2529
2529
  return t.slice(n, n + r.length) === r;
2530
2530
  }
2531
- ), mt = Hi ? String.fromCodePoint : (
2531
+ ), mt = Ci ? String.fromCodePoint : (
2532
2532
  // IE11
2533
2533
  function() {
2534
2534
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2540,9 +2540,9 @@ var Qt = Bi ? (
2540
2540
  }
2541
2541
  return n;
2542
2542
  }
2543
- ), Jt = (
2543
+ ), Yt = (
2544
2544
  // native
2545
- Ai ? Object.fromEntries : (
2545
+ Oi ? Object.fromEntries : (
2546
2546
  // Ponyfill
2547
2547
  function(t) {
2548
2548
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2566,7 +2566,7 @@ var Qt = Bi ? (
2566
2566
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2567
2567
  }
2568
2568
  }
2569
- ), Li = Oi ? (
2569
+ ), Wi = Mi ? (
2570
2570
  // Native
2571
2571
  function(t) {
2572
2572
  return t.trimStart();
@@ -2574,9 +2574,9 @@ var Qt = Bi ? (
2574
2574
  ) : (
2575
2575
  // Ponyfill
2576
2576
  function(t) {
2577
- return t.replace(Si, "");
2577
+ return t.replace(Bi, "");
2578
2578
  }
2579
- ), Ri = Ci ? (
2579
+ ), Ui = Ni ? (
2580
2580
  // Native
2581
2581
  function(t) {
2582
2582
  return t.trimEnd();
@@ -2584,15 +2584,15 @@ var Qt = Bi ? (
2584
2584
  ) : (
2585
2585
  // Ponyfill
2586
2586
  function(t) {
2587
- return t.replace(Ti, "");
2587
+ return t.replace(Hi, "");
2588
2588
  }
2589
2589
  );
2590
- function Ur(e, t) {
2590
+ function Gr(e, t) {
2591
2591
  return new RegExp(e, t);
2592
2592
  }
2593
2593
  var pt;
2594
- if (ft) {
2595
- var qt = Ur("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2594
+ if (dt) {
2595
+ var qt = Gr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2596
2596
  pt = function(t, r) {
2597
2597
  var n;
2598
2598
  qt.lastIndex = r;
@@ -2603,13 +2603,13 @@ if (ft) {
2603
2603
  pt = function(t, r) {
2604
2604
  for (var n = []; ; ) {
2605
2605
  var i = Fr(t, r);
2606
- if (i === void 0 || Gr(i) || Gi(i))
2606
+ if (i === void 0 || Dr(i) || ji(i))
2607
2607
  break;
2608
2608
  n.push(i), r += i >= 65536 ? 2 : 1;
2609
2609
  }
2610
2610
  return mt.apply(void 0, n);
2611
2611
  };
2612
- var Wi = (
2612
+ var Fi = (
2613
2613
  /** @class */
2614
2614
  function() {
2615
2615
  function e(t, r) {
@@ -2640,7 +2640,7 @@ var Wi = (
2640
2640
  if (n)
2641
2641
  break;
2642
2642
  return this.error(y.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
2643
- } else if (o === 60 && !this.ignoreTag && dt(this.peek() || 0)) {
2643
+ } else if (o === 60 && !this.ignoreTag && bt(this.peek() || 0)) {
2644
2644
  var s = this.parseTag(t, r);
2645
2645
  if (s.err)
2646
2646
  return s;
@@ -2673,7 +2673,7 @@ var Wi = (
2673
2673
  return o;
2674
2674
  var s = o.val, a = this.clonePosition();
2675
2675
  if (this.bumpIf("</")) {
2676
- if (this.isEOF() || !dt(this.char()))
2676
+ if (this.isEOF() || !bt(this.char()))
2677
2677
  return this.error(y.INVALID_TAG, _(a, this.clonePosition()));
2678
2678
  var u = this.clonePosition(), l = this.parseTagName();
2679
2679
  return i !== l ? this.error(y.UNMATCHED_CLOSING_TAG, _(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
@@ -2691,7 +2691,7 @@ var Wi = (
2691
2691
  return this.error(y.INVALID_TAG, _(n, this.clonePosition()));
2692
2692
  }, e.prototype.parseTagName = function() {
2693
2693
  var t = this.offset();
2694
- for (this.bump(); !this.isEOF() && Ui(this.char()); )
2694
+ for (this.bump(); !this.isEOF() && Di(this.char()); )
2695
2695
  this.bump();
2696
2696
  return this.message.slice(t, this.offset());
2697
2697
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2720,7 +2720,7 @@ var Wi = (
2720
2720
  };
2721
2721
  }, e.prototype.tryParseLeftAngleBracket = function() {
2722
2722
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2723
- !Fi(this.peek() || 0)) ? (this.bump(), "<") : null;
2723
+ !Gi(this.peek() || 0)) ? (this.bump(), "<") : null;
2724
2724
  }, e.prototype.tryParseQuote = function(t) {
2725
2725
  if (this.isEOF() || this.char() !== 39)
2726
2726
  return null;
@@ -2804,37 +2804,37 @@ var Wi = (
2804
2804
  var l = null;
2805
2805
  if (this.bumpIf(",")) {
2806
2806
  this.bumpSpace();
2807
- var c = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
2808
- if (m.err)
2809
- return m;
2810
- var f = Ri(m.val);
2807
+ var c = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
2808
+ if (d.err)
2809
+ return d;
2810
+ var f = Ui(d.val);
2811
2811
  if (f.length === 0)
2812
2812
  return this.error(y.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
2813
- var d = _(c, this.clonePosition());
2814
- l = { style: f, styleLocation: d };
2813
+ var p = _(c, this.clonePosition());
2814
+ l = { style: f, styleLocation: p };
2815
2815
  }
2816
2816
  var g = this.tryParseArgumentClose(i);
2817
2817
  if (g.err)
2818
2818
  return g;
2819
2819
  var b = _(i, this.clonePosition());
2820
- if (l && Qt(l?.style, "::", 0)) {
2821
- var A = Li(l.style.slice(2));
2820
+ if (l && Jt(l?.style, "::", 0)) {
2821
+ var A = Wi(l.style.slice(2));
2822
2822
  if (a === "number") {
2823
- var m = this.parseNumberSkeletonFromString(A, l.styleLocation);
2824
- return m.err ? m : {
2825
- val: { type: H.number, value: n, location: b, style: m.val },
2823
+ var d = this.parseNumberSkeletonFromString(A, l.styleLocation);
2824
+ return d.err ? d : {
2825
+ val: { type: H.number, value: n, location: b, style: d.val },
2826
2826
  err: null
2827
2827
  };
2828
2828
  } else {
2829
2829
  if (A.length === 0)
2830
2830
  return this.error(y.EXPECT_DATE_TIME_SKELETON, b);
2831
2831
  var N = A;
2832
- this.locale && (N = xi(A, this.locale));
2832
+ this.locale && (N = Si(A, this.locale));
2833
2833
  var f = {
2834
- type: ue.dateTime,
2834
+ type: le.dateTime,
2835
2835
  pattern: N,
2836
2836
  location: l.styleLocation,
2837
- parsedOptions: this.shouldParseSkeletons ? di(N) : {}
2837
+ parsedOptions: this.shouldParseSkeletons ? gi(N) : {}
2838
2838
  }, L = a === "date" ? H.date : H.time;
2839
2839
  return {
2840
2840
  val: { type: L, value: n, location: b, style: f },
@@ -2857,17 +2857,17 @@ var Wi = (
2857
2857
  case "select": {
2858
2858
  var S = this.clonePosition();
2859
2859
  if (this.bumpSpace(), !this.bumpIf(","))
2860
- return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, _(S, We({}, S)));
2860
+ return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, _(S, Ue({}, S)));
2861
2861
  this.bumpSpace();
2862
2862
  var B = this.parseIdentifierIfPossible(), E = 0;
2863
2863
  if (a !== "select" && B.value === "offset") {
2864
2864
  if (!this.bumpIf(":"))
2865
2865
  return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
2866
2866
  this.bumpSpace();
2867
- var m = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2868
- if (m.err)
2869
- return m;
2870
- this.bumpSpace(), B = this.parseIdentifierIfPossible(), E = m.val;
2867
+ var d = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2868
+ if (d.err)
2869
+ return d;
2870
+ this.bumpSpace(), B = this.parseIdentifierIfPossible(), E = d.val;
2871
2871
  }
2872
2872
  var R = this.tryParsePluralOrSelectOptions(t, a, r, B);
2873
2873
  if (R.err)
@@ -2880,7 +2880,7 @@ var Wi = (
2880
2880
  val: {
2881
2881
  type: H.select,
2882
2882
  value: n,
2883
- options: Jt(R.val),
2883
+ options: Yt(R.val),
2884
2884
  location: W
2885
2885
  },
2886
2886
  err: null
@@ -2888,7 +2888,7 @@ var Wi = (
2888
2888
  val: {
2889
2889
  type: H.plural,
2890
2890
  value: n,
2891
- options: Jt(R.val),
2891
+ options: Yt(R.val),
2892
2892
  offset: E,
2893
2893
  pluralType: a === "plural" ? "cardinal" : "ordinal",
2894
2894
  location: W
@@ -2939,48 +2939,48 @@ var Wi = (
2939
2939
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2940
2940
  var n = [];
2941
2941
  try {
2942
- n = gi(t);
2942
+ n = vi(t);
2943
2943
  } catch {
2944
2944
  return this.error(y.INVALID_NUMBER_SKELETON, r);
2945
2945
  }
2946
2946
  return {
2947
2947
  val: {
2948
- type: ue.number,
2948
+ type: le.number,
2949
2949
  tokens: n,
2950
2950
  location: r,
2951
- parsedOptions: this.shouldParseSkeletons ? Ei(n) : {}
2951
+ parsedOptions: this.shouldParseSkeletons ? wi(n) : {}
2952
2952
  },
2953
2953
  err: null
2954
2954
  };
2955
2955
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
2956
2956
  for (var o, s = !1, a = [], u = /* @__PURE__ */ new Set(), l = i.value, c = i.location; ; ) {
2957
2957
  if (l.length === 0) {
2958
- var m = this.clonePosition();
2958
+ var d = this.clonePosition();
2959
2959
  if (r !== "select" && this.bumpIf("=")) {
2960
2960
  var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
2961
2961
  if (f.err)
2962
2962
  return f;
2963
- c = _(m, this.clonePosition()), l = this.message.slice(m.offset, this.offset());
2963
+ c = _(d, this.clonePosition()), l = this.message.slice(d.offset, this.offset());
2964
2964
  } else
2965
2965
  break;
2966
2966
  }
2967
2967
  if (u.has(l))
2968
2968
  return this.error(r === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
2969
2969
  l === "other" && (s = !0), this.bumpSpace();
2970
- var d = this.clonePosition();
2970
+ var p = this.clonePosition();
2971
2971
  if (!this.bumpIf("{"))
2972
2972
  return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
2973
2973
  var g = this.parseMessage(t + 1, r, n);
2974
2974
  if (g.err)
2975
2975
  return g;
2976
- var b = this.tryParseArgumentClose(d);
2976
+ var b = this.tryParseArgumentClose(p);
2977
2977
  if (b.err)
2978
2978
  return b;
2979
2979
  a.push([
2980
2980
  l,
2981
2981
  {
2982
2982
  value: g.val,
2983
- location: _(d, this.clonePosition())
2983
+ location: _(p, this.clonePosition())
2984
2984
  }
2985
2985
  ]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, c = o.location;
2986
2986
  }
@@ -2996,7 +2996,7 @@ var Wi = (
2996
2996
  break;
2997
2997
  }
2998
2998
  var u = _(i, this.clonePosition());
2999
- return o ? (s *= n, Ni(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
2999
+ return o ? (s *= n, Li(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3000
3000
  }, e.prototype.offset = function() {
3001
3001
  return this.position.offset;
3002
3002
  }, e.prototype.isEOF = function() {
@@ -3030,7 +3030,7 @@ var Wi = (
3030
3030
  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);
3031
3031
  }
3032
3032
  }, e.prototype.bumpIf = function(t) {
3033
- if (Qt(this.message, t, this.offset())) {
3033
+ if (Jt(this.message, t, this.offset())) {
3034
3034
  for (var r = 0; r < t.length; r++)
3035
3035
  this.bump();
3036
3036
  return !0;
@@ -3052,7 +3052,7 @@ var Wi = (
3052
3052
  break;
3053
3053
  }
3054
3054
  }, e.prototype.bumpSpace = function() {
3055
- for (; !this.isEOF() && Gr(this.char()); )
3055
+ for (; !this.isEOF() && Dr(this.char()); )
3056
3056
  this.bump();
3057
3057
  }, e.prototype.peek = function() {
3058
3058
  if (this.isEOF())
@@ -3062,47 +3062,47 @@ var Wi = (
3062
3062
  }, e;
3063
3063
  }()
3064
3064
  );
3065
- function dt(e) {
3065
+ function bt(e) {
3066
3066
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3067
3067
  }
3068
- function Fi(e) {
3069
- return dt(e) || e === 47;
3068
+ function Gi(e) {
3069
+ return bt(e) || e === 47;
3070
3070
  }
3071
- function Ui(e) {
3071
+ function Di(e) {
3072
3072
  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;
3073
3073
  }
3074
- function Gr(e) {
3074
+ function Dr(e) {
3075
3075
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3076
3076
  }
3077
- function Gi(e) {
3077
+ function ji(e) {
3078
3078
  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;
3079
3079
  }
3080
- function bt(e) {
3080
+ function gt(e) {
3081
3081
  e.forEach(function(t) {
3082
- if (delete t.location, Or(t) || Cr(t))
3082
+ if (delete t.location, Pr(t) || Mr(t))
3083
3083
  for (var r in t.options)
3084
- delete t.options[r].location, bt(t.options[r].value);
3084
+ delete t.options[r].location, gt(t.options[r].value);
3085
3085
  else
3086
- Hr(t) && Nr(t.style) || (Ar(t) || Pr(t)) && ct(t.style) ? delete t.style.location : Mr(t) && bt(t.children);
3086
+ Ar(t) && Ir(t.style) || (Cr(t) || Or(t)) && ft(t.style) ? delete t.style.location : Nr(t) && gt(t.children);
3087
3087
  });
3088
3088
  }
3089
- function Di(e, t) {
3090
- t === void 0 && (t = {}), t = We({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3091
- var r = new Wi(e, t).parse();
3089
+ function ki(e, t) {
3090
+ t === void 0 && (t = {}), t = Ue({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3091
+ var r = new Fi(e, t).parse();
3092
3092
  if (r.err) {
3093
3093
  var n = SyntaxError(y[r.err.kind]);
3094
3094
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3095
3095
  }
3096
- return t?.captureLocation || bt(r.val), r.val;
3096
+ return t?.captureLocation || gt(r.val), r.val;
3097
3097
  }
3098
- var le;
3098
+ var he;
3099
3099
  (function(e) {
3100
3100
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3101
- })(le || (le = {}));
3102
- var je = (
3101
+ })(he || (he = {}));
3102
+ var ke = (
3103
3103
  /** @class */
3104
3104
  function(e) {
3105
- De(t, e);
3105
+ je(t, e);
3106
3106
  function t(r, n, i) {
3107
3107
  var o = e.call(this, r) || this;
3108
3108
  return o.code = n, o.originalMessage = i, o;
@@ -3111,48 +3111,48 @@ var je = (
3111
3111
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3112
3112
  }, t;
3113
3113
  }(Error)
3114
- ), Yt = (
3114
+ ), Kt = (
3115
3115
  /** @class */
3116
3116
  function(e) {
3117
- De(t, e);
3117
+ je(t, e);
3118
3118
  function t(r, n, i, o) {
3119
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), le.INVALID_VALUE, o) || this;
3119
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), he.INVALID_VALUE, o) || this;
3120
3120
  }
3121
3121
  return t;
3122
- }(je)
3123
- ), ji = (
3122
+ }(ke)
3123
+ ), $i = (
3124
3124
  /** @class */
3125
3125
  function(e) {
3126
- De(t, e);
3126
+ je(t, e);
3127
3127
  function t(r, n, i) {
3128
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), le.INVALID_VALUE, i) || this;
3128
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), he.INVALID_VALUE, i) || this;
3129
3129
  }
3130
3130
  return t;
3131
- }(je)
3132
- ), ki = (
3131
+ }(ke)
3132
+ ), Vi = (
3133
3133
  /** @class */
3134
3134
  function(e) {
3135
- De(t, e);
3135
+ je(t, e);
3136
3136
  function t(r, n) {
3137
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), le.MISSING_VALUE, n) || this;
3137
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), he.MISSING_VALUE, n) || this;
3138
3138
  }
3139
3139
  return t;
3140
- }(je)
3140
+ }(ke)
3141
3141
  ), G;
3142
3142
  (function(e) {
3143
3143
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3144
3144
  })(G || (G = {}));
3145
- function $i(e) {
3145
+ function Xi(e) {
3146
3146
  return e.length < 2 ? e : e.reduce(function(t, r) {
3147
3147
  var n = t[t.length - 1];
3148
3148
  return !n || n.type !== G.literal || r.type !== G.literal ? t.push(r) : n.value += r.value, t;
3149
3149
  }, []);
3150
3150
  }
3151
- function Vi(e) {
3151
+ function zi(e) {
3152
3152
  return typeof e == "function";
3153
3153
  }
3154
- function Ne(e, t, r, n, i, o, s) {
3155
- if (e.length === 1 && Vt(e[0]))
3154
+ function Ie(e, t, r, n, i, o, s) {
3155
+ if (e.length === 1 && Xt(e[0]))
3156
3156
  return [
3157
3157
  {
3158
3158
  type: G.literal,
@@ -3161,60 +3161,60 @@ function Ne(e, t, r, n, i, o, s) {
3161
3161
  ];
3162
3162
  for (var a = [], u = 0, l = e; u < l.length; u++) {
3163
3163
  var c = l[u];
3164
- if (Vt(c)) {
3164
+ if (Xt(c)) {
3165
3165
  a.push({
3166
3166
  type: G.literal,
3167
3167
  value: c.value
3168
3168
  });
3169
3169
  continue;
3170
3170
  }
3171
- if (mi(c)) {
3171
+ if (pi(c)) {
3172
3172
  typeof o == "number" && a.push({
3173
3173
  type: G.literal,
3174
3174
  value: r.getNumberFormat(t).format(o)
3175
3175
  });
3176
3176
  continue;
3177
3177
  }
3178
- var m = c.value;
3179
- if (!(i && m in i))
3180
- throw new ki(m, s);
3181
- var f = i[m];
3182
- if (fi(c)) {
3178
+ var d = c.value;
3179
+ if (!(i && d in i))
3180
+ throw new Vi(d, s);
3181
+ var f = i[d];
3182
+ if (mi(c)) {
3183
3183
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3184
3184
  type: typeof f == "string" ? G.literal : G.object,
3185
3185
  value: f
3186
3186
  });
3187
3187
  continue;
3188
3188
  }
3189
- if (Ar(c)) {
3190
- var d = typeof c.style == "string" ? n.date[c.style] : ct(c.style) ? c.style.parsedOptions : void 0;
3189
+ if (Cr(c)) {
3190
+ var p = typeof c.style == "string" ? n.date[c.style] : ft(c.style) ? c.style.parsedOptions : void 0;
3191
3191
  a.push({
3192
3192
  type: G.literal,
3193
- value: r.getDateTimeFormat(t, d).format(f)
3193
+ value: r.getDateTimeFormat(t, p).format(f)
3194
3194
  });
3195
3195
  continue;
3196
3196
  }
3197
- if (Pr(c)) {
3198
- var d = typeof c.style == "string" ? n.time[c.style] : ct(c.style) ? c.style.parsedOptions : n.time.medium;
3197
+ if (Or(c)) {
3198
+ var p = typeof c.style == "string" ? n.time[c.style] : ft(c.style) ? c.style.parsedOptions : n.time.medium;
3199
3199
  a.push({
3200
3200
  type: G.literal,
3201
- value: r.getDateTimeFormat(t, d).format(f)
3201
+ value: r.getDateTimeFormat(t, p).format(f)
3202
3202
  });
3203
3203
  continue;
3204
3204
  }
3205
- if (Hr(c)) {
3206
- var d = typeof c.style == "string" ? n.number[c.style] : Nr(c.style) ? c.style.parsedOptions : void 0;
3207
- d && d.scale && (f = f * (d.scale || 1)), a.push({
3205
+ if (Ar(c)) {
3206
+ var p = typeof c.style == "string" ? n.number[c.style] : Ir(c.style) ? c.style.parsedOptions : void 0;
3207
+ p && p.scale && (f = f * (p.scale || 1)), a.push({
3208
3208
  type: G.literal,
3209
- value: r.getNumberFormat(t, d).format(f)
3209
+ value: r.getNumberFormat(t, p).format(f)
3210
3210
  });
3211
3211
  continue;
3212
3212
  }
3213
- if (Mr(c)) {
3213
+ if (Nr(c)) {
3214
3214
  var g = c.children, b = c.value, A = i[b];
3215
- if (!Vi(A))
3216
- throw new ji(b, "function", s);
3217
- var N = Ne(g, t, r, n, i, o), L = A(N.map(function(E) {
3215
+ if (!zi(A))
3216
+ throw new $i(b, "function", s);
3217
+ var N = Ie(g, t, r, n, i, o), L = A(N.map(function(E) {
3218
3218
  return E.value;
3219
3219
  }));
3220
3220
  Array.isArray(L) || (L = [L]), a.push.apply(a, L.map(function(E) {
@@ -3224,42 +3224,42 @@ function Ne(e, t, r, n, i, o, s) {
3224
3224
  };
3225
3225
  }));
3226
3226
  }
3227
- if (Or(c)) {
3227
+ if (Pr(c)) {
3228
3228
  var S = c.options[f] || c.options.other;
3229
3229
  if (!S)
3230
- throw new Yt(c.value, f, Object.keys(c.options), s);
3231
- a.push.apply(a, Ne(S.value, t, r, n, i));
3230
+ throw new Kt(c.value, f, Object.keys(c.options), s);
3231
+ a.push.apply(a, Ie(S.value, t, r, n, i));
3232
3232
  continue;
3233
3233
  }
3234
- if (Cr(c)) {
3234
+ if (Mr(c)) {
3235
3235
  var S = c.options["=".concat(f)];
3236
3236
  if (!S) {
3237
3237
  if (!Intl.PluralRules)
3238
- throw new je(`Intl.PluralRules is not available in this environment.
3238
+ throw new ke(`Intl.PluralRules is not available in this environment.
3239
3239
  Try polyfilling it using "@formatjs/intl-pluralrules"
3240
- `, le.MISSING_INTL_API, s);
3240
+ `, he.MISSING_INTL_API, s);
3241
3241
  var B = r.getPluralRules(t, { type: c.pluralType }).select(f - (c.offset || 0));
3242
3242
  S = c.options[B] || c.options.other;
3243
3243
  }
3244
3244
  if (!S)
3245
- throw new Yt(c.value, f, Object.keys(c.options), s);
3246
- a.push.apply(a, Ne(S.value, t, r, n, i, f - (c.offset || 0)));
3245
+ throw new Kt(c.value, f, Object.keys(c.options), s);
3246
+ a.push.apply(a, Ie(S.value, t, r, n, i, f - (c.offset || 0)));
3247
3247
  continue;
3248
3248
  }
3249
3249
  }
3250
- return $i(a);
3250
+ return Xi(a);
3251
3251
  }
3252
- function Xi(e, t) {
3252
+ function Zi(e, t) {
3253
3253
  return t ? z(z(z({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3254
3254
  return r[n] = z(z({}, e[n]), t[n] || {}), r;
3255
3255
  }, {})) : e;
3256
3256
  }
3257
- function zi(e, t) {
3257
+ function Qi(e, t) {
3258
3258
  return t ? Object.keys(e).reduce(function(r, n) {
3259
- return r[n] = Xi(e[n], t[n]), r;
3259
+ return r[n] = Zi(e[n], t[n]), r;
3260
3260
  }, z({}, e)) : e;
3261
3261
  }
3262
- function ot(e) {
3262
+ function st(e) {
3263
3263
  return {
3264
3264
  create: function() {
3265
3265
  return {
@@ -3273,39 +3273,39 @@ function ot(e) {
3273
3273
  }
3274
3274
  };
3275
3275
  }
3276
- function Zi(e) {
3276
+ function Ji(e) {
3277
3277
  return e === void 0 && (e = {
3278
3278
  number: {},
3279
3279
  dateTime: {},
3280
3280
  pluralRules: {}
3281
3281
  }), {
3282
- getNumberFormat: rt(function() {
3282
+ getNumberFormat: nt(function() {
3283
3283
  for (var t, r = [], n = 0; n < arguments.length; n++)
3284
3284
  r[n] = arguments[n];
3285
- return new ((t = Intl.NumberFormat).bind.apply(t, tt([void 0], r, !1)))();
3285
+ return new ((t = Intl.NumberFormat).bind.apply(t, rt([void 0], r, !1)))();
3286
3286
  }, {
3287
- cache: ot(e.number),
3288
- strategy: nt.variadic
3287
+ cache: st(e.number),
3288
+ strategy: it.variadic
3289
3289
  }),
3290
- getDateTimeFormat: rt(function() {
3290
+ getDateTimeFormat: nt(function() {
3291
3291
  for (var t, r = [], n = 0; n < arguments.length; n++)
3292
3292
  r[n] = arguments[n];
3293
- return new ((t = Intl.DateTimeFormat).bind.apply(t, tt([void 0], r, !1)))();
3293
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, rt([void 0], r, !1)))();
3294
3294
  }, {
3295
- cache: ot(e.dateTime),
3296
- strategy: nt.variadic
3295
+ cache: st(e.dateTime),
3296
+ strategy: it.variadic
3297
3297
  }),
3298
- getPluralRules: rt(function() {
3298
+ getPluralRules: nt(function() {
3299
3299
  for (var t, r = [], n = 0; n < arguments.length; n++)
3300
3300
  r[n] = arguments[n];
3301
- return new ((t = Intl.PluralRules).bind.apply(t, tt([void 0], r, !1)))();
3301
+ return new ((t = Intl.PluralRules).bind.apply(t, rt([void 0], r, !1)))();
3302
3302
  }, {
3303
- cache: ot(e.pluralRules),
3304
- strategy: nt.variadic
3303
+ cache: st(e.pluralRules),
3304
+ strategy: it.variadic
3305
3305
  })
3306
3306
  };
3307
3307
  }
3308
- var Qi = (
3308
+ var Yi = (
3309
3309
  /** @class */
3310
3310
  function() {
3311
3311
  function e(t, r, n, i) {
@@ -3319,12 +3319,12 @@ var Qi = (
3319
3319
  var l = o.formatToParts(u);
3320
3320
  if (l.length === 1)
3321
3321
  return l[0].value;
3322
- var c = l.reduce(function(m, f) {
3323
- return !m.length || f.type !== G.literal || typeof m[m.length - 1] != "string" ? m.push(f.value) : m[m.length - 1] += f.value, m;
3322
+ var c = l.reduce(function(d, f) {
3323
+ return !d.length || f.type !== G.literal || typeof d[d.length - 1] != "string" ? d.push(f.value) : d[d.length - 1] += f.value, d;
3324
3324
  }, []);
3325
3325
  return c.length <= 1 ? c[0] || "" : c;
3326
3326
  }, this.formatToParts = function(u) {
3327
- return Ne(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
3327
+ return Ie(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
3328
3328
  }, this.resolvedOptions = function() {
3329
3329
  var u;
3330
3330
  return {
@@ -3337,13 +3337,13 @@ var Qi = (
3337
3337
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3338
3338
  var s = i || {};
3339
3339
  s.formatters;
3340
- var a = ii(s, ["formatters"]);
3340
+ var a = si(s, ["formatters"]);
3341
3341
  this.ast = e.__parse(t, z(z({}, a), { locale: this.resolvedLocale }));
3342
3342
  } else
3343
3343
  this.ast = t;
3344
3344
  if (!Array.isArray(this.ast))
3345
3345
  throw new TypeError("A message must be provided as a String or AST.");
3346
- this.formats = zi(e.formats, n), this.formatters = i && i.formatters || Zi(this.formatterCache);
3346
+ this.formats = Qi(e.formats, n), this.formatters = i && i.formatters || Ji(this.formatterCache);
3347
3347
  }
3348
3348
  return Object.defineProperty(e, "defaultLocale", {
3349
3349
  get: function() {
@@ -3356,7 +3356,7 @@ var Qi = (
3356
3356
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3357
3357
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3358
3358
  }
3359
- }, e.__parse = Di, e.formats = {
3359
+ }, e.__parse = ki, e.formats = {
3360
3360
  number: {
3361
3361
  integer: {
3362
3362
  maximumFractionDigits: 0
@@ -3417,7 +3417,7 @@ var Qi = (
3417
3417
  }, e;
3418
3418
  }()
3419
3419
  );
3420
- function Ji(e, t) {
3420
+ function qi(e, t) {
3421
3421
  if (t == null)
3422
3422
  return;
3423
3423
  if (t in e)
@@ -3438,92 +3438,92 @@ function Ji(e, t) {
3438
3438
  n = void 0;
3439
3439
  return n;
3440
3440
  }
3441
- const q = {}, qi = (e, t, r) => r && (t in q || (q[t] = {}), e in q[t] || (q[t][e] = r), r), Dr = (e, t) => {
3441
+ const Y = {}, Ki = (e, t, r) => r && (t in Y || (Y[t] = {}), e in Y[t] || (Y[t][e] = r), r), jr = (e, t) => {
3442
3442
  if (t == null)
3443
3443
  return;
3444
- if (t in q && e in q[t])
3445
- return q[t][e];
3446
- const r = ke(t);
3444
+ if (t in Y && e in Y[t])
3445
+ return Y[t][e];
3446
+ const r = $e(t);
3447
3447
  for (let n = 0; n < r.length; n++) {
3448
- const i = r[n], o = Ki(i, e);
3448
+ const i = r[n], o = to(i, e);
3449
3449
  if (o)
3450
- return qi(e, t, o);
3450
+ return Ki(e, t, o);
3451
3451
  }
3452
3452
  };
3453
- let Ht;
3454
- const Te = Ge({});
3455
- function Yi(e) {
3456
- return Ht[e] || null;
3453
+ let At;
3454
+ const Be = De({});
3455
+ function eo(e) {
3456
+ return At[e] || null;
3457
3457
  }
3458
- function jr(e) {
3459
- return e in Ht;
3458
+ function kr(e) {
3459
+ return e in At;
3460
3460
  }
3461
- function Ki(e, t) {
3462
- if (!jr(e))
3461
+ function to(e, t) {
3462
+ if (!kr(e))
3463
3463
  return null;
3464
- const r = Yi(e);
3465
- return Ji(r, t);
3464
+ const r = eo(e);
3465
+ return qi(r, t);
3466
3466
  }
3467
- function eo(e) {
3467
+ function ro(e) {
3468
3468
  if (e == null)
3469
3469
  return;
3470
- const t = ke(e);
3470
+ const t = $e(e);
3471
3471
  for (let r = 0; r < t.length; r++) {
3472
3472
  const n = t[r];
3473
- if (jr(n))
3473
+ if (kr(n))
3474
3474
  return n;
3475
3475
  }
3476
3476
  }
3477
- function kr(e, ...t) {
3478
- delete q[e], Te.update((r) => (r[e] = ni.all([r[e] || {}, ...t]), r));
3477
+ function $r(e, ...t) {
3478
+ delete Y[e], Be.update((r) => (r[e] = oi.all([r[e] || {}, ...t]), r));
3479
3479
  }
3480
- fe(
3481
- [Te],
3480
+ de(
3481
+ [Be],
3482
3482
  ([e]) => Object.keys(e)
3483
3483
  );
3484
- Te.subscribe((e) => Ht = e);
3485
- const Ie = {};
3486
- function to(e, t) {
3487
- Ie[e].delete(t), Ie[e].size === 0 && delete Ie[e];
3484
+ Be.subscribe((e) => At = e);
3485
+ const Le = {};
3486
+ function no(e, t) {
3487
+ Le[e].delete(t), Le[e].size === 0 && delete Le[e];
3488
3488
  }
3489
- function $r(e) {
3490
- return Ie[e];
3489
+ function Vr(e) {
3490
+ return Le[e];
3491
3491
  }
3492
- function ro(e) {
3493
- return ke(e).map((t) => {
3494
- const r = $r(t);
3492
+ function io(e) {
3493
+ return $e(e).map((t) => {
3494
+ const r = Vr(t);
3495
3495
  return [t, r ? [...r] : []];
3496
3496
  }).filter(([, t]) => t.length > 0);
3497
3497
  }
3498
- function gt(e) {
3499
- return e == null ? !1 : ke(e).some(
3498
+ function yt(e) {
3499
+ return e == null ? !1 : $e(e).some(
3500
3500
  (t) => {
3501
3501
  var r;
3502
- return (r = $r(t)) == null ? void 0 : r.size;
3502
+ return (r = Vr(t)) == null ? void 0 : r.size;
3503
3503
  }
3504
3504
  );
3505
3505
  }
3506
- function no(e, t) {
3506
+ function oo(e, t) {
3507
3507
  return Promise.all(
3508
- t.map((n) => (to(e, n), n().then((i) => i.default || i)))
3509
- ).then((n) => kr(e, ...n));
3510
- }
3511
- const ye = {};
3512
- function Vr(e) {
3513
- if (!gt(e))
3514
- return e in ye ? ye[e] : Promise.resolve();
3515
- const t = ro(e);
3516
- return ye[e] = Promise.all(
3508
+ t.map((n) => (no(e, n), n().then((i) => i.default || i)))
3509
+ ).then((n) => $r(e, ...n));
3510
+ }
3511
+ const ve = {};
3512
+ function Xr(e) {
3513
+ if (!yt(e))
3514
+ return e in ve ? ve[e] : Promise.resolve();
3515
+ const t = io(e);
3516
+ return ve[e] = Promise.all(
3517
3517
  t.map(
3518
- ([r, n]) => no(r, n)
3518
+ ([r, n]) => oo(r, n)
3519
3519
  )
3520
3520
  ).then(() => {
3521
- if (gt(e))
3522
- return Vr(e);
3523
- delete ye[e];
3524
- }), ye[e];
3521
+ if (yt(e))
3522
+ return Xr(e);
3523
+ delete ve[e];
3524
+ }), ve[e];
3525
3525
  }
3526
- const io = {
3526
+ const so = {
3527
3527
  number: {
3528
3528
  scientific: { notation: "scientific" },
3529
3529
  engineering: { notation: "engineering" },
@@ -3552,135 +3552,135 @@ const io = {
3552
3552
  timeZoneName: "short"
3553
3553
  }
3554
3554
  }
3555
- }, oo = {
3555
+ }, ao = {
3556
3556
  fallbackLocale: null,
3557
3557
  loadingDelay: 200,
3558
- formats: io,
3558
+ formats: so,
3559
3559
  warnOnMissingMessages: !0,
3560
3560
  handleMissingMessage: void 0,
3561
3561
  ignoreTag: !0
3562
- }, so = oo;
3563
- function he() {
3564
- return so;
3562
+ }, uo = ao;
3563
+ function ce() {
3564
+ return uo;
3565
3565
  }
3566
- const st = Ge(!1);
3567
- var ao = Object.defineProperty, uo = Object.defineProperties, lo = Object.getOwnPropertyDescriptors, Kt = Object.getOwnPropertySymbols, ho = Object.prototype.hasOwnProperty, co = Object.prototype.propertyIsEnumerable, er = (e, t, r) => t in e ? ao(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, fo = (e, t) => {
3566
+ const at = De(!1);
3567
+ var lo = Object.defineProperty, ho = Object.defineProperties, co = Object.getOwnPropertyDescriptors, er = Object.getOwnPropertySymbols, fo = Object.prototype.hasOwnProperty, mo = Object.prototype.propertyIsEnumerable, tr = (e, t, r) => t in e ? lo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, po = (e, t) => {
3568
3568
  for (var r in t || (t = {}))
3569
- ho.call(t, r) && er(e, r, t[r]);
3570
- if (Kt)
3571
- for (var r of Kt(t))
3572
- co.call(t, r) && er(e, r, t[r]);
3569
+ fo.call(t, r) && tr(e, r, t[r]);
3570
+ if (er)
3571
+ for (var r of er(t))
3572
+ mo.call(t, r) && tr(e, r, t[r]);
3573
3573
  return e;
3574
- }, mo = (e, t) => uo(e, lo(t));
3575
- let yt;
3576
- const Fe = Ge(null);
3577
- function tr(e) {
3574
+ }, bo = (e, t) => ho(e, co(t));
3575
+ let vt;
3576
+ const Fe = De(null);
3577
+ function rr(e) {
3578
3578
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3579
3579
  }
3580
- function ke(e, t = he().fallbackLocale) {
3581
- const r = tr(e);
3582
- return t ? [.../* @__PURE__ */ new Set([...r, ...tr(t)])] : r;
3580
+ function $e(e, t = ce().fallbackLocale) {
3581
+ const r = rr(e);
3582
+ return t ? [.../* @__PURE__ */ new Set([...r, ...rr(t)])] : r;
3583
3583
  }
3584
3584
  function ee() {
3585
- return yt ?? void 0;
3585
+ return vt ?? void 0;
3586
3586
  }
3587
3587
  Fe.subscribe((e) => {
3588
- yt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3588
+ vt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3589
3589
  });
3590
- const po = (e) => {
3591
- if (e && eo(e) && gt(e)) {
3592
- const { loadingDelay: t } = he();
3590
+ const go = (e) => {
3591
+ if (e && ro(e) && yt(e)) {
3592
+ const { loadingDelay: t } = ce();
3593
3593
  let r;
3594
3594
  return typeof window < "u" && ee() != null && t ? r = window.setTimeout(
3595
- () => st.set(!0),
3595
+ () => at.set(!0),
3596
3596
  t
3597
- ) : st.set(!0), Vr(e).then(() => {
3597
+ ) : at.set(!0), Xr(e).then(() => {
3598
3598
  Fe.set(e);
3599
3599
  }).finally(() => {
3600
- clearTimeout(r), st.set(!1);
3600
+ clearTimeout(r), at.set(!1);
3601
3601
  });
3602
3602
  }
3603
3603
  return Fe.set(e);
3604
- }, me = mo(fo({}, Fe), {
3605
- set: po
3606
- }), $e = (e) => {
3604
+ }, me = bo(po({}, Fe), {
3605
+ set: go
3606
+ }), Ve = (e) => {
3607
3607
  const t = /* @__PURE__ */ Object.create(null);
3608
3608
  return (n) => {
3609
3609
  const i = JSON.stringify(n);
3610
3610
  return i in t ? t[i] : t[i] = e(n);
3611
3611
  };
3612
3612
  };
3613
- var bo = Object.defineProperty, Ue = Object.getOwnPropertySymbols, Xr = Object.prototype.hasOwnProperty, zr = Object.prototype.propertyIsEnumerable, rr = (e, t, r) => t in e ? bo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, At = (e, t) => {
3613
+ var yo = Object.defineProperty, Ge = Object.getOwnPropertySymbols, zr = Object.prototype.hasOwnProperty, Zr = Object.prototype.propertyIsEnumerable, nr = (e, t, r) => t in e ? yo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ct = (e, t) => {
3614
3614
  for (var r in t || (t = {}))
3615
- Xr.call(t, r) && rr(e, r, t[r]);
3616
- if (Ue)
3617
- for (var r of Ue(t))
3618
- zr.call(t, r) && rr(e, r, t[r]);
3615
+ zr.call(t, r) && nr(e, r, t[r]);
3616
+ if (Ge)
3617
+ for (var r of Ge(t))
3618
+ Zr.call(t, r) && nr(e, r, t[r]);
3619
3619
  return e;
3620
3620
  }, pe = (e, t) => {
3621
3621
  var r = {};
3622
3622
  for (var n in e)
3623
- Xr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3624
- if (e != null && Ue)
3625
- for (var n of Ue(e))
3626
- t.indexOf(n) < 0 && zr.call(e, n) && (r[n] = e[n]);
3623
+ zr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3624
+ if (e != null && Ge)
3625
+ for (var n of Ge(e))
3626
+ t.indexOf(n) < 0 && Zr.call(e, n) && (r[n] = e[n]);
3627
3627
  return r;
3628
3628
  };
3629
- const Se = (e, t) => {
3630
- const { formats: r } = he();
3629
+ const Te = (e, t) => {
3630
+ const { formats: r } = ce();
3631
3631
  if (e in r && t in r[e])
3632
3632
  return r[e][t];
3633
3633
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3634
- }, go = $e(
3634
+ }, vo = Ve(
3635
3635
  (e) => {
3636
3636
  var t = e, { locale: r, format: n } = t, i = pe(t, ["locale", "format"]);
3637
3637
  if (r == null)
3638
3638
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3639
- return n && (i = Se("number", n)), new Intl.NumberFormat(r, i);
3639
+ return n && (i = Te("number", n)), new Intl.NumberFormat(r, i);
3640
3640
  }
3641
- ), yo = $e(
3641
+ ), _o = Ve(
3642
3642
  (e) => {
3643
3643
  var t = e, { locale: r, format: n } = t, i = pe(t, ["locale", "format"]);
3644
3644
  if (r == null)
3645
3645
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3646
- return n ? i = Se("date", n) : Object.keys(i).length === 0 && (i = Se("date", "short")), new Intl.DateTimeFormat(r, i);
3646
+ return n ? i = Te("date", n) : Object.keys(i).length === 0 && (i = Te("date", "short")), new Intl.DateTimeFormat(r, i);
3647
3647
  }
3648
- ), vo = $e(
3648
+ ), Eo = Ve(
3649
3649
  (e) => {
3650
3650
  var t = e, { locale: r, format: n } = t, i = pe(t, ["locale", "format"]);
3651
3651
  if (r == null)
3652
3652
  throw new Error(
3653
3653
  '[svelte-i18n] A "locale" must be set to format time values'
3654
3654
  );
3655
- return n ? i = Se("time", n) : Object.keys(i).length === 0 && (i = Se("time", "short")), new Intl.DateTimeFormat(r, i);
3655
+ return n ? i = Te("time", n) : Object.keys(i).length === 0 && (i = Te("time", "short")), new Intl.DateTimeFormat(r, i);
3656
3656
  }
3657
- ), _o = (e = {}) => {
3657
+ ), xo = (e = {}) => {
3658
3658
  var t = e, {
3659
3659
  locale: r = ee()
3660
3660
  } = t, n = pe(t, [
3661
3661
  "locale"
3662
3662
  ]);
3663
- return go(At({ locale: r }, n));
3664
- }, Eo = (e = {}) => {
3663
+ return vo(Ct({ locale: r }, n));
3664
+ }, wo = (e = {}) => {
3665
3665
  var t = e, {
3666
3666
  locale: r = ee()
3667
3667
  } = t, n = pe(t, [
3668
3668
  "locale"
3669
3669
  ]);
3670
- return yo(At({ locale: r }, n));
3671
- }, xo = (e = {}) => {
3670
+ return _o(Ct({ locale: r }, n));
3671
+ }, So = (e = {}) => {
3672
3672
  var t = e, {
3673
3673
  locale: r = ee()
3674
3674
  } = t, n = pe(t, [
3675
3675
  "locale"
3676
3676
  ]);
3677
- return vo(At({ locale: r }, n));
3678
- }, wo = $e(
3677
+ return Eo(Ct({ locale: r }, n));
3678
+ }, To = Ve(
3679
3679
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3680
- (e, t = ee()) => new Qi(e, t, he().formats, {
3681
- ignoreTag: he().ignoreTag
3680
+ (e, t = ee()) => new Yi(e, t, ce().formats, {
3681
+ ignoreTag: ce().ignoreTag
3682
3682
  })
3683
- ), So = (e, t = {}) => {
3683
+ ), Bo = (e, t = {}) => {
3684
3684
  var r, n, i, o;
3685
3685
  let s = t;
3686
3686
  typeof e == "object" && (s = e, e = s.id);
@@ -3693,37 +3693,37 @@ const Se = (e, t) => {
3693
3693
  throw new Error(
3694
3694
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3695
3695
  );
3696
- let c = Dr(e, u);
3696
+ let c = jr(e, u);
3697
3697
  if (!c)
3698
- c = (o = (i = (n = (r = he()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
3698
+ c = (o = (i = (n = (r = ce()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
3699
3699
  else if (typeof c != "string")
3700
3700
  return console.warn(
3701
3701
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
3702
3702
  ), c;
3703
3703
  if (!a)
3704
3704
  return c;
3705
- let m = c;
3705
+ let d = c;
3706
3706
  try {
3707
- m = wo(c, u).format(a);
3707
+ d = To(c, u).format(a);
3708
3708
  } catch (f) {
3709
3709
  f instanceof Error && console.warn(
3710
3710
  `[svelte-i18n] Message "${e}" has syntax error:`,
3711
3711
  f.message
3712
3712
  );
3713
3713
  }
3714
- return m;
3715
- }, To = (e, t) => xo(t).format(e), Bo = (e, t) => Eo(t).format(e), Ho = (e, t) => _o(t).format(e), Ao = (e, t = ee()) => Dr(e, t), Po = fe([me, Te], () => So);
3716
- fe([me], () => To);
3717
- fe([me], () => Bo);
3718
- fe([me], () => Ho);
3719
- fe([me, Te], () => Ao);
3720
- function Oo(e, t) {
3721
- kr(e, t);
3722
- }
3723
- function Co(e) {
3714
+ return d;
3715
+ }, Ho = (e, t) => So(t).format(e), Ao = (e, t) => wo(t).format(e), Co = (e, t) => xo(t).format(e), Oo = (e, t = ee()) => jr(e, t), Po = de([me, Be], () => Bo);
3716
+ de([me], () => Ho);
3717
+ de([me], () => Ao);
3718
+ de([me], () => Co);
3719
+ de([me, Be], () => Oo);
3720
+ function Mo(e, t) {
3721
+ $r(e, t);
3722
+ }
3723
+ function No(e) {
3724
3724
  me.set(e);
3725
3725
  }
3726
- const Mo = {
3726
+ const Io = {
3727
3727
  en: {
3728
3728
  recentWinners: "Recent Winners",
3729
3729
  topWinners: "Top Winners",
@@ -3853,24 +3853,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
3853
3853
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
3854
3854
  PERFORMANCE OF THIS SOFTWARE.
3855
3855
  ***************************************************************************** */
3856
- var vt = function(e, t) {
3857
- return vt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
3856
+ var _t = function(e, t) {
3857
+ return _t = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
3858
3858
  r.__proto__ = n;
3859
3859
  } || function(r, n) {
3860
3860
  for (var i in n)
3861
3861
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
3862
- }, vt(e, t);
3862
+ }, _t(e, t);
3863
3863
  };
3864
- function Be(e, t) {
3864
+ function He(e, t) {
3865
3865
  if (typeof t != "function" && t !== null)
3866
3866
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
3867
- vt(e, t);
3867
+ _t(e, t);
3868
3868
  function r() {
3869
3869
  this.constructor = e;
3870
3870
  }
3871
3871
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
3872
3872
  }
3873
- function _t(e) {
3873
+ function Et(e) {
3874
3874
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
3875
3875
  if (r)
3876
3876
  return r.call(e);
@@ -3882,7 +3882,7 @@ function _t(e) {
3882
3882
  };
3883
3883
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
3884
3884
  }
3885
- function Et(e, t) {
3885
+ function xt(e, t) {
3886
3886
  var r = typeof Symbol == "function" && e[Symbol.iterator];
3887
3887
  if (!r)
3888
3888
  return e;
@@ -3902,7 +3902,7 @@ function Et(e, t) {
3902
3902
  }
3903
3903
  return o;
3904
3904
  }
3905
- function xt(e, t, r) {
3905
+ function wt(e, t, r) {
3906
3906
  if (arguments.length === 2)
3907
3907
  for (var n = 0, i = t.length, o; n < i; n++)
3908
3908
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
@@ -3911,13 +3911,13 @@ function xt(e, t, r) {
3911
3911
  function Q(e) {
3912
3912
  return typeof e == "function";
3913
3913
  }
3914
- function Zr(e) {
3914
+ function Qr(e) {
3915
3915
  var t = function(n) {
3916
3916
  Error.call(n), n.stack = new Error().stack;
3917
3917
  }, r = e(t);
3918
3918
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
3919
3919
  }
3920
- var at = Zr(function(e) {
3920
+ var ut = Qr(function(e) {
3921
3921
  return function(r) {
3922
3922
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
3923
3923
  ` + r.map(function(n, i) {
@@ -3926,13 +3926,13 @@ var at = Zr(function(e) {
3926
3926
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
3927
3927
  };
3928
3928
  });
3929
- function wt(e, t) {
3929
+ function St(e, t) {
3930
3930
  if (e) {
3931
3931
  var r = e.indexOf(t);
3932
3932
  0 <= r && e.splice(r, 1);
3933
3933
  }
3934
3934
  }
3935
- var Ve = function() {
3935
+ var Xe = function() {
3936
3936
  function e(t) {
3937
3937
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
3938
3938
  }
@@ -3944,7 +3944,7 @@ var Ve = function() {
3944
3944
  if (s)
3945
3945
  if (this._parentage = null, Array.isArray(s))
3946
3946
  try {
3947
- for (var a = _t(s), u = a.next(); !u.done; u = a.next()) {
3947
+ for (var a = Et(s), u = a.next(); !u.done; u = a.next()) {
3948
3948
  var l = u.value;
3949
3949
  l.remove(this);
3950
3950
  }
@@ -3965,25 +3965,25 @@ var Ve = function() {
3965
3965
  try {
3966
3966
  c();
3967
3967
  } catch (b) {
3968
- o = b instanceof at ? b.errors : [b];
3968
+ o = b instanceof ut ? b.errors : [b];
3969
3969
  }
3970
- var m = this._finalizers;
3971
- if (m) {
3970
+ var d = this._finalizers;
3971
+ if (d) {
3972
3972
  this._finalizers = null;
3973
3973
  try {
3974
- for (var f = _t(m), d = f.next(); !d.done; d = f.next()) {
3975
- var g = d.value;
3974
+ for (var f = Et(d), p = f.next(); !p.done; p = f.next()) {
3975
+ var g = p.value;
3976
3976
  try {
3977
- nr(g);
3977
+ ir(g);
3978
3978
  } catch (b) {
3979
- o = o ?? [], b instanceof at ? o = xt(xt([], Et(o)), Et(b.errors)) : o.push(b);
3979
+ o = o ?? [], b instanceof ut ? o = wt(wt([], xt(o)), xt(b.errors)) : o.push(b);
3980
3980
  }
3981
3981
  }
3982
3982
  } catch (b) {
3983
3983
  n = { error: b };
3984
3984
  } finally {
3985
3985
  try {
3986
- d && !d.done && (i = f.return) && i.call(f);
3986
+ p && !p.done && (i = f.return) && i.call(f);
3987
3987
  } finally {
3988
3988
  if (n)
3989
3989
  throw n.error;
@@ -3991,13 +3991,13 @@ var Ve = function() {
3991
3991
  }
3992
3992
  }
3993
3993
  if (o)
3994
- throw new at(o);
3994
+ throw new ut(o);
3995
3995
  }
3996
3996
  }, e.prototype.add = function(t) {
3997
3997
  var r;
3998
3998
  if (t && t !== this)
3999
3999
  if (this.closed)
4000
- nr(t);
4000
+ ir(t);
4001
4001
  else {
4002
4002
  if (t instanceof e) {
4003
4003
  if (t.closed || t._hasParent(this))
@@ -4014,52 +4014,52 @@ var Ve = function() {
4014
4014
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
4015
4015
  }, e.prototype._removeParent = function(t) {
4016
4016
  var r = this._parentage;
4017
- r === t ? this._parentage = null : Array.isArray(r) && wt(r, t);
4017
+ r === t ? this._parentage = null : Array.isArray(r) && St(r, t);
4018
4018
  }, e.prototype.remove = function(t) {
4019
4019
  var r = this._finalizers;
4020
- r && wt(r, t), t instanceof e && t._removeParent(this);
4020
+ r && St(r, t), t instanceof e && t._removeParent(this);
4021
4021
  }, e.EMPTY = function() {
4022
4022
  var t = new e();
4023
4023
  return t.closed = !0, t;
4024
4024
  }(), e;
4025
- }(), Qr = Ve.EMPTY;
4026
- function Jr(e) {
4027
- return e instanceof Ve || e && "closed" in e && Q(e.remove) && Q(e.add) && Q(e.unsubscribe);
4025
+ }(), Jr = Xe.EMPTY;
4026
+ function Yr(e) {
4027
+ return e instanceof Xe || e && "closed" in e && Q(e.remove) && Q(e.add) && Q(e.unsubscribe);
4028
4028
  }
4029
- function nr(e) {
4029
+ function ir(e) {
4030
4030
  Q(e) ? e() : e.unsubscribe();
4031
4031
  }
4032
- var No = {
4032
+ var Lo = {
4033
4033
  Promise: void 0
4034
- }, Io = {
4034
+ }, Ro = {
4035
4035
  setTimeout: function(e, t) {
4036
4036
  for (var r = [], n = 2; n < arguments.length; n++)
4037
4037
  r[n - 2] = arguments[n];
4038
- return setTimeout.apply(void 0, xt([e, t], Et(r)));
4038
+ return setTimeout.apply(void 0, wt([e, t], xt(r)));
4039
4039
  },
4040
4040
  clearTimeout: function(e) {
4041
4041
  return clearTimeout(e);
4042
4042
  },
4043
4043
  delegate: void 0
4044
4044
  };
4045
- function Lo(e) {
4046
- Io.setTimeout(function() {
4045
+ function Wo(e) {
4046
+ Ro.setTimeout(function() {
4047
4047
  throw e;
4048
4048
  });
4049
4049
  }
4050
- function ir() {
4050
+ function or() {
4051
4051
  }
4052
- function Le(e) {
4052
+ function Re(e) {
4053
4053
  e();
4054
4054
  }
4055
4055
  var qr = function(e) {
4056
- Be(t, e);
4056
+ He(t, e);
4057
4057
  function t(r) {
4058
4058
  var n = e.call(this) || this;
4059
- return n.isStopped = !1, r ? (n.destination = r, Jr(r) && r.add(n)) : n.destination = Fo, n;
4059
+ return n.isStopped = !1, r ? (n.destination = r, Yr(r) && r.add(n)) : n.destination = Go, n;
4060
4060
  }
4061
4061
  return t.create = function(r, n, i) {
4062
- return new St(r, n, i);
4062
+ return new Tt(r, n, i);
4063
4063
  }, t.prototype.next = function(r) {
4064
4064
  this.isStopped || this._next(r);
4065
4065
  }, t.prototype.error = function(r) {
@@ -4083,7 +4083,7 @@ var qr = function(e) {
4083
4083
  this.unsubscribe();
4084
4084
  }
4085
4085
  }, t;
4086
- }(Ve), Ro = function() {
4086
+ }(Xe), Uo = function() {
4087
4087
  function e(t) {
4088
4088
  this.partialObserver = t;
4089
4089
  }
@@ -4093,7 +4093,7 @@ var qr = function(e) {
4093
4093
  try {
4094
4094
  r.next(t);
4095
4095
  } catch (n) {
4096
- Ce(n);
4096
+ Me(n);
4097
4097
  }
4098
4098
  }, e.prototype.error = function(t) {
4099
4099
  var r = this.partialObserver;
@@ -4101,56 +4101,56 @@ var qr = function(e) {
4101
4101
  try {
4102
4102
  r.error(t);
4103
4103
  } catch (n) {
4104
- Ce(n);
4104
+ Me(n);
4105
4105
  }
4106
4106
  else
4107
- Ce(t);
4107
+ Me(t);
4108
4108
  }, e.prototype.complete = function() {
4109
4109
  var t = this.partialObserver;
4110
4110
  if (t.complete)
4111
4111
  try {
4112
4112
  t.complete();
4113
4113
  } catch (r) {
4114
- Ce(r);
4114
+ Me(r);
4115
4115
  }
4116
4116
  }, e;
4117
- }(), St = function(e) {
4118
- Be(t, e);
4117
+ }(), Tt = function(e) {
4118
+ He(t, e);
4119
4119
  function t(r, n, i) {
4120
4120
  var o = e.call(this) || this, s;
4121
4121
  return Q(r) || !r ? s = {
4122
4122
  next: r ?? void 0,
4123
4123
  error: n ?? void 0,
4124
4124
  complete: i ?? void 0
4125
- } : s = r, o.destination = new Ro(s), o;
4125
+ } : s = r, o.destination = new Uo(s), o;
4126
4126
  }
4127
4127
  return t;
4128
4128
  }(qr);
4129
- function Ce(e) {
4130
- Lo(e);
4129
+ function Me(e) {
4130
+ Wo(e);
4131
4131
  }
4132
- function Wo(e) {
4132
+ function Fo(e) {
4133
4133
  throw e;
4134
4134
  }
4135
- var Fo = {
4135
+ var Go = {
4136
4136
  closed: !0,
4137
- next: ir,
4138
- error: Wo,
4139
- complete: ir
4140
- }, Uo = function() {
4137
+ next: or,
4138
+ error: Fo,
4139
+ complete: or
4140
+ }, Do = function() {
4141
4141
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
4142
4142
  }();
4143
- function Go(e) {
4143
+ function jo(e) {
4144
4144
  return e;
4145
4145
  }
4146
- function Do(e) {
4147
- return e.length === 0 ? Go : e.length === 1 ? e[0] : function(r) {
4146
+ function ko(e) {
4147
+ return e.length === 0 ? jo : e.length === 1 ? e[0] : function(r) {
4148
4148
  return e.reduce(function(n, i) {
4149
4149
  return i(n);
4150
4150
  }, r);
4151
4151
  };
4152
4152
  }
4153
- var or = function() {
4153
+ var sr = function() {
4154
4154
  function e(t) {
4155
4155
  t && (this._subscribe = t);
4156
4156
  }
@@ -4158,8 +4158,8 @@ var or = function() {
4158
4158
  var r = new e();
4159
4159
  return r.source = this, r.operator = t, r;
4160
4160
  }, e.prototype.subscribe = function(t, r, n) {
4161
- var i = this, o = ko(t) ? t : new St(t, r, n);
4162
- return Le(function() {
4161
+ var i = this, o = Vo(t) ? t : new Tt(t, r, n);
4162
+ return Re(function() {
4163
4163
  var s = i, a = s.operator, u = s.source;
4164
4164
  o.add(a ? a.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
4165
4165
  }), o;
@@ -4171,8 +4171,8 @@ var or = function() {
4171
4171
  }
4172
4172
  }, e.prototype.forEach = function(t, r) {
4173
4173
  var n = this;
4174
- return r = sr(r), new r(function(i, o) {
4175
- var s = new St({
4174
+ return r = ar(r), new r(function(i, o) {
4175
+ var s = new Tt({
4176
4176
  next: function(a) {
4177
4177
  try {
4178
4178
  t(a);
@@ -4188,15 +4188,15 @@ var or = function() {
4188
4188
  }, e.prototype._subscribe = function(t) {
4189
4189
  var r;
4190
4190
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
4191
- }, e.prototype[Uo] = function() {
4191
+ }, e.prototype[Do] = function() {
4192
4192
  return this;
4193
4193
  }, e.prototype.pipe = function() {
4194
4194
  for (var t = [], r = 0; r < arguments.length; r++)
4195
4195
  t[r] = arguments[r];
4196
- return Do(t)(this);
4196
+ return ko(t)(this);
4197
4197
  }, e.prototype.toPromise = function(t) {
4198
4198
  var r = this;
4199
- return t = sr(t), new t(function(n, i) {
4199
+ return t = ar(t), new t(function(n, i) {
4200
4200
  var o;
4201
4201
  r.subscribe(function(s) {
4202
4202
  return o = s;
@@ -4210,40 +4210,40 @@ var or = function() {
4210
4210
  return new e(t);
4211
4211
  }, e;
4212
4212
  }();
4213
- function sr(e) {
4213
+ function ar(e) {
4214
4214
  var t;
4215
- return (t = e ?? No.Promise) !== null && t !== void 0 ? t : Promise;
4215
+ return (t = e ?? Lo.Promise) !== null && t !== void 0 ? t : Promise;
4216
4216
  }
4217
- function jo(e) {
4217
+ function $o(e) {
4218
4218
  return e && Q(e.next) && Q(e.error) && Q(e.complete);
4219
4219
  }
4220
- function ko(e) {
4221
- return e && e instanceof qr || jo(e) && Jr(e);
4220
+ function Vo(e) {
4221
+ return e && e instanceof qr || $o(e) && Yr(e);
4222
4222
  }
4223
- var $o = Zr(function(e) {
4223
+ var Xo = Qr(function(e) {
4224
4224
  return function() {
4225
4225
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
4226
4226
  };
4227
- }), Yr = function(e) {
4228
- Be(t, e);
4227
+ }), Kr = function(e) {
4228
+ He(t, e);
4229
4229
  function t() {
4230
4230
  var r = e.call(this) || this;
4231
4231
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
4232
4232
  }
4233
4233
  return t.prototype.lift = function(r) {
4234
- var n = new ar(this, this);
4234
+ var n = new ur(this, this);
4235
4235
  return n.operator = r, n;
4236
4236
  }, t.prototype._throwIfClosed = function() {
4237
4237
  if (this.closed)
4238
- throw new $o();
4238
+ throw new Xo();
4239
4239
  }, t.prototype.next = function(r) {
4240
4240
  var n = this;
4241
- Le(function() {
4241
+ Re(function() {
4242
4242
  var i, o;
4243
4243
  if (n._throwIfClosed(), !n.isStopped) {
4244
4244
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
4245
4245
  try {
4246
- for (var s = _t(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
4246
+ for (var s = Et(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
4247
4247
  var u = a.value;
4248
4248
  u.next(r);
4249
4249
  }
@@ -4261,7 +4261,7 @@ var $o = Zr(function(e) {
4261
4261
  });
4262
4262
  }, t.prototype.error = function(r) {
4263
4263
  var n = this;
4264
- Le(function() {
4264
+ Re(function() {
4265
4265
  if (n._throwIfClosed(), !n.isStopped) {
4266
4266
  n.hasError = n.isStopped = !0, n.thrownError = r;
4267
4267
  for (var i = n.observers; i.length; )
@@ -4270,7 +4270,7 @@ var $o = Zr(function(e) {
4270
4270
  });
4271
4271
  }, t.prototype.complete = function() {
4272
4272
  var r = this;
4273
- Le(function() {
4273
+ Re(function() {
4274
4274
  if (r._throwIfClosed(), !r.isStopped) {
4275
4275
  r.isStopped = !0;
4276
4276
  for (var n = r.observers; n.length; )
@@ -4292,20 +4292,20 @@ var $o = Zr(function(e) {
4292
4292
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
4293
4293
  }, t.prototype._innerSubscribe = function(r) {
4294
4294
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
4295
- return o || s ? Qr : (this.currentObservers = null, a.push(r), new Ve(function() {
4296
- n.currentObservers = null, wt(a, r);
4295
+ return o || s ? Jr : (this.currentObservers = null, a.push(r), new Xe(function() {
4296
+ n.currentObservers = null, St(a, r);
4297
4297
  }));
4298
4298
  }, t.prototype._checkFinalizedStatuses = function(r) {
4299
4299
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
4300
4300
  i ? r.error(o) : s && r.complete();
4301
4301
  }, t.prototype.asObservable = function() {
4302
- var r = new or();
4302
+ var r = new sr();
4303
4303
  return r.source = this, r;
4304
4304
  }, t.create = function(r, n) {
4305
- return new ar(r, n);
4305
+ return new ur(r, n);
4306
4306
  }, t;
4307
- }(or), ar = function(e) {
4308
- Be(t, e);
4307
+ }(sr), ur = function(e) {
4308
+ He(t, e);
4309
4309
  function t(r, n) {
4310
4310
  var i = e.call(this) || this;
4311
4311
  return i.destination = r, i.source = n, i;
@@ -4321,17 +4321,17 @@ var $o = Zr(function(e) {
4321
4321
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
4322
4322
  }, t.prototype._subscribe = function(r) {
4323
4323
  var n, i;
4324
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Qr;
4324
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Jr;
4325
4325
  }, t;
4326
- }(Yr), Kr = {
4326
+ }(Kr), en = {
4327
4327
  now: function() {
4328
- return (Kr.delegate || Date).now();
4328
+ return (en.delegate || Date).now();
4329
4329
  },
4330
4330
  delegate: void 0
4331
- }, Vo = function(e) {
4332
- Be(t, e);
4331
+ }, zo = function(e) {
4332
+ He(t, e);
4333
4333
  function t(r, n, i) {
4334
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Kr);
4334
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = en);
4335
4335
  var o = e.call(this) || this;
4336
4336
  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;
4337
4337
  }
@@ -4351,24 +4351,25 @@ var $o = Zr(function(e) {
4351
4351
  l && o.splice(0, l + 1);
4352
4352
  }
4353
4353
  }, t;
4354
- }(Yr);
4355
- const ur = [], lr = {}, Xo = (e, t = 0) => {
4356
- if (ur.indexOf(e) == -1) {
4357
- const r = new Vo(t);
4358
- lr[e] = r, ur.push(e);
4354
+ }(Kr);
4355
+ const lr = [], hr = {}, Zo = (e, t = 0) => {
4356
+ if (lr.indexOf(e) == -1) {
4357
+ const r = new zo(t);
4358
+ hr[e] = r, lr.push(e);
4359
4359
  }
4360
- return lr[e];
4360
+ return hr[e];
4361
4361
  };
4362
- window.emWidgets = { topic: Xo };
4363
- const zo = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4362
+ window.emWidgets = { topic: Zo };
4363
+ const Qo = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4364
4364
  String(Number.MAX_SAFE_INTEGER).length;
4365
- function Zo(e, t) {
4365
+ const oe = "__WIDGET_GLOBAL_STYLE_CACHE__";
4366
+ function Jo(e, t) {
4366
4367
  if (e) {
4367
4368
  const r = document.createElement("style");
4368
4369
  r.innerHTML = t, e.appendChild(r);
4369
4370
  }
4370
4371
  }
4371
- function Qo(e, t) {
4372
+ function Yo(e, t) {
4372
4373
  if (!e || !t)
4373
4374
  return;
4374
4375
  const r = new URL(t);
@@ -4379,15 +4380,42 @@ function Qo(e, t) {
4379
4380
  console.error("There was an error while trying to load client styling from URL", n);
4380
4381
  });
4381
4382
  }
4382
- function Jo(e, t, r) {
4383
- if (window.emMessageBus) {
4384
- const n = document.createElement("style");
4385
- window.emMessageBus.subscribe(t, (i) => {
4386
- n.innerHTML = i, e && e.appendChild(n);
4383
+ function qo(e, t, r, n = !1) {
4384
+ if (!window.emMessageBus)
4385
+ return;
4386
+ if (!("adoptedStyleSheets" in Document.prototype) || !n)
4387
+ return r = Ko(e, t), r;
4388
+ window[oe] || (window[oe] = {}), r = es(e, t);
4389
+ const o = r.unsubscribe.bind(r), s = () => {
4390
+ if (window[oe][t]) {
4391
+ const a = window[oe][t];
4392
+ a.refCount > 1 ? a.refCount = a.refCount - 1 : delete window[oe][t];
4393
+ }
4394
+ o();
4395
+ };
4396
+ return r.unsubscribe = s, r;
4397
+ }
4398
+ function Ko(e, t) {
4399
+ const r = document.createElement("style");
4400
+ return window.emMessageBus.subscribe(t, (n) => {
4401
+ e && (r.innerHTML = n, e.appendChild(r));
4402
+ });
4403
+ }
4404
+ function es(e, t) {
4405
+ return window.emMessageBus.subscribe(t, (r) => {
4406
+ if (!e)
4407
+ return;
4408
+ const n = e.getRootNode(), i = window[oe];
4409
+ let o = i[t]?.sheet;
4410
+ o ? i[t].refCount = i[t].refCount + 1 : (o = new CSSStyleSheet(), o.replaceSync(r), i[t] = {
4411
+ sheet: o,
4412
+ refCount: 1
4387
4413
  });
4388
- }
4414
+ const s = n.adoptedStyleSheets || [];
4415
+ s.includes(o) || (n.adoptedStyleSheets = [...s, o]);
4416
+ });
4389
4417
  }
4390
- function qo(e, t, r) {
4418
+ function ts(e, t, r) {
4391
4419
  return window.emMessageBus && (t = window.emMessageBus.subscribe(e, r)), t;
4392
4420
  }
4393
4421
  if (typeof window < "u") {
@@ -4402,32 +4430,32 @@ if (typeof window < "u") {
4402
4430
  }
4403
4431
  };
4404
4432
  };
4405
- customElements.define = e(customElements.define), import("./GeneralAnimationLoading-DTQqC0GE.js").then(({ default: t }) => {
4433
+ customElements.define = e(customElements.define), import("./GeneralAnimationLoading-CpNEJFuE.js").then(({ default: t }) => {
4406
4434
  !customElements.get("general-animation-loading") && customElements.define("general-animation-loading", t.element);
4407
4435
  });
4408
4436
  }
4409
- function Yo(e) {
4410
- wn(e, "svelte-d1flp7", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.Off{display:none}.CasinoWinners{background-color:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;height:320px;margin:0 auto}.CasinoWinners.Mobile{padding:25px 10px;height:250px}.WinnersHeader{display:flex;justify-content:space-between}.SliderButton{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px}.SliderButton.SliderButton:active{transform:translateY(1px)}.WinnerButtonsContainer{display:flex;margin-bottom:42px}.WinnersButton{border:none;background:none;color:var(--emw--casino-typography, var(--emw--color-contrast, #FFFFFF));font-size:22px;font-weight:500;margin-right:60px;cursor:pointer}.WinnersButton:hover{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:40px}.WinnersButton:focus{color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:40px}.WinnersButton.Active{border-bottom:2px solid #22B04E;padding-bottom:10px;color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))}.WinnersButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:40px}.ButtonsContainerNone{display:none}.WinnersSlider{display:flex;justify-content:flex-start;position:relative;height:180px;overflow:hidden;-ms-overflow-style:none;scrollbar-width:none}.WinnersSlider::-webkit-scrollbar{display:none}.WinnersSlider .NoWinnersMessage{color:var(--emw--casino-typography, var(--emw--color-typography, #FFFFFF));font-size:var(--emw--font-size-medium, 16px)}.CardWrapper{position:absolute;top:0;left:0}.CardWrapperAnimation{transition:transform 2s}.WinnerCard{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);display:flex;align-items:center;flex-direction:column;justify-content:center;gap:4px;height:180px;min-width:191px;margin-bottom:30px;margin-right:30px}.WinnerCard p:first-of-type{color:var(--emw--color-gray-150, #828282);font-size:14px;inline-size:189px;overflow-wrap:break-word;text-align:center}.WinnerCard p:nth-child(3){text-align:center;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:14px;width:100px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.WinnerCard p:nth-child(4){color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:14px;text-align:center}.WinnerCard p:last-of-type{color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));font-size:16px}.WinnerCard:hover{border:1px solid rgba(255, 255, 255, 0.4)}.WinnersImage{border-radius:5px;height:54px;margin-bottom:10px;width:80px;cursor:pointer}.Mobile .CasinoWinners{width:320px;max-width:320px}.Mobile .WinnersHeader{justify-content:flex-start}.Mobile .WinnersButton{font-size:18px;white-space:nowrap;margin-right:40px}.Mobile .WinnersButton:last-child{margin-right:0}.Mobile .WinnersButton.Active{padding-bottom:4px}.Mobile .WinnersSlider{overflow:scroll;overflow-y:hidden;-ms-overflow-style:none;scrollbar-width:none}.Mobile .SliderButton{display:none}.Mobile .WinnerCard{width:140px;height:150px;min-width:140px;margin-right:12px}.Mobile .WinnerCard p:first-of-type{font-size:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-align:center;width:100px}.Mobile .WinnerCard p:nth-child(3){font-size:10px}.Mobile .WinnerCard p:nth-child(4){font-size:8px;font-weight:300;text-align:center}.Mobile .WinnerCard p:last-of-type{font-size:11px}.Mobile .WinnerButtonsContainer{margin-bottom:20px}");
4437
+ function rs(e) {
4438
+ Tn(e, "svelte-d1flp7", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.Off{display:none}.CasinoWinners{background-color:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;height:320px;margin:0 auto}.CasinoWinners.Mobile{padding:25px 10px;height:250px}.WinnersHeader{display:flex;justify-content:space-between}.SliderButton{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px}.SliderButton.SliderButton:active{transform:translateY(1px)}.WinnerButtonsContainer{display:flex;margin-bottom:42px}.WinnersButton{border:none;background:none;color:var(--emw--casino-typography, var(--emw--color-contrast, #FFFFFF));font-size:22px;font-weight:500;margin-right:60px;cursor:pointer}.WinnersButton:hover{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:40px}.WinnersButton:focus{color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:40px}.WinnersButton.Active{border-bottom:2px solid #22B04E;padding-bottom:10px;color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))}.WinnersButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:40px}.ButtonsContainerNone{display:none}.WinnersSlider{display:flex;justify-content:flex-start;position:relative;height:180px;overflow:hidden;-ms-overflow-style:none;scrollbar-width:none}.WinnersSlider::-webkit-scrollbar{display:none}.WinnersSlider .NoWinnersMessage{color:var(--emw--casino-typography, var(--emw--color-typography, #FFFFFF));font-size:var(--emw--font-size-medium, 16px)}.CardWrapper{position:absolute;top:0;left:0}.CardWrapperAnimation{transition:transform 2s}.WinnerCard{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);display:flex;align-items:center;flex-direction:column;justify-content:center;gap:4px;height:180px;min-width:191px;margin-bottom:30px;margin-right:30px}.WinnerCard p:first-of-type{color:var(--emw--color-gray-150, #828282);font-size:14px;inline-size:189px;overflow-wrap:break-word;text-align:center}.WinnerCard p:nth-child(3){text-align:center;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:14px;width:100px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.WinnerCard p:nth-child(4){color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:14px;text-align:center}.WinnerCard p:last-of-type{color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));font-size:16px}.WinnerCard:hover{border:1px solid rgba(255, 255, 255, 0.4)}.WinnersImage{border-radius:5px;height:54px;margin-bottom:10px;width:80px;cursor:pointer}.Mobile .CasinoWinners{width:320px;max-width:320px}.Mobile .WinnersHeader{justify-content:flex-start}.Mobile .WinnersButton{font-size:18px;white-space:nowrap;margin-right:40px}.Mobile .WinnersButton:last-child{margin-right:0}.Mobile .WinnersButton.Active{padding-bottom:4px}.Mobile .WinnersSlider{overflow:scroll;overflow-y:hidden;-ms-overflow-style:none;scrollbar-width:none}.Mobile .SliderButton{display:none}.Mobile .WinnerCard{width:140px;height:150px;min-width:140px;margin-right:12px}.Mobile .WinnerCard p:first-of-type{font-size:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-align:center;width:100px}.Mobile .WinnerCard p:nth-child(3){font-size:10px}.Mobile .WinnerCard p:nth-child(4){font-size:8px;font-weight:300;text-align:center}.Mobile .WinnerCard p:last-of-type{font-size:11px}.Mobile .WinnerButtonsContainer{margin-bottom:20px}");
4411
4439
  }
4412
- function hr(e, t, r) {
4440
+ function cr(e, t, r) {
4413
4441
  const n = e.slice();
4414
4442
  return n[74] = t[r], n;
4415
4443
  }
4416
- function cr(e, t, r) {
4444
+ function fr(e, t, r) {
4417
4445
  const n = e.slice();
4418
4446
  return n[77] = t[r], n;
4419
4447
  }
4420
- function Ko(e) {
4421
- let t, r, n, i, o, s, a, u, l, c, m, f, d, g, b, A, N, L, S, B = Re(
4448
+ function ns(e) {
4449
+ let t, r, n, i, o, s, a, u, l, c, d, f, p, g, b, A, N, L, S, B = We(
4422
4450
  /*tabs*/
4423
4451
  e[16]
4424
4452
  ), E = [];
4425
4453
  for (let v = 0; v < B.length; v += 1)
4426
- E[v] = dr(cr(e, B, v));
4454
+ E[v] = br(fr(e, B, v));
4427
4455
  function R(v, O) {
4428
4456
  return (
4429
4457
  /*isLoadingDelayed*/
4430
- v[17] ? rs : ts
4458
+ v[17] ? ss : os
4431
4459
  );
4432
4460
  }
4433
4461
  let W = R(e), I = W(e);
@@ -4436,27 +4464,27 @@ function Ko(e) {
4436
4464
  t = M("div"), r = M("div"), n = M("div");
4437
4465
  for (let v = 0; v < E.length; v += 1)
4438
4466
  E[v].c();
4439
- i = X(), o = M("div"), s = M("button"), a = Pe("svg"), u = Pe("path"), c = X(), m = M("button"), f = Pe("svg"), d = Pe("path"), A = X(), I.c(), p(n, "class", "WinnerButtonsContainer"), p(u, "style", l = /*numberOfVisibleSlides*/
4467
+ i = X(), o = M("div"), s = M("button"), a = Oe("svg"), u = Oe("path"), c = X(), d = M("button"), f = Oe("svg"), p = Oe("path"), A = X(), I.c(), m(n, "class", "WinnerButtonsContainer"), m(u, "style", l = /*numberOfVisibleSlides*/
4440
4468
  e[11] >= /*winners*/
4441
- e[10].length ? "fill:#F6F6F62E" : ""), p(u, "id", "Path_36"), p(u, "data-name", "Path 36"), p(u, "d", "M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"), p(u, "transform", "translate(14.656 0) rotate(90)"), p(u, "fill", "#fff"), p(a, "id", "Component_46_2"), p(a, "data-name", "Component 46 – 2"), p(a, "xmlns", "http://www.w3.org/2000/svg"), p(a, "width", "15"), p(a, "height", "15"), p(a, "viewBox", "0 0 16 24.656"), p(s, "class", "SliderButton"), p(d, "style", g = /*numberOfVisibleSlides*/
4469
+ e[10].length ? "fill:#F6F6F62E" : ""), m(u, "id", "Path_36"), m(u, "data-name", "Path 36"), m(u, "d", "M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"), m(u, "transform", "translate(14.656 0) rotate(90)"), m(u, "fill", "#fff"), m(a, "id", "Component_46_2"), m(a, "data-name", "Component 46 – 2"), m(a, "xmlns", "http://www.w3.org/2000/svg"), m(a, "width", "15"), m(a, "height", "15"), m(a, "viewBox", "0 0 16 24.656"), m(s, "class", "SliderButton"), m(p, "style", g = /*numberOfVisibleSlides*/
4442
4470
  e[11] >= /*winners*/
4443
- e[10].length ? "fill:#F6F6F62E" : ""), p(d, "id", "Path_36"), p(d, "data-name", "Path 36"), p(d, "d", "M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"), p(d, "transform", "translate(0 24.656) rotate(-90)"), p(d, "fill", "#fff"), p(f, "id", "Component_46_2"), p(f, "data-name", "Component 46 – 2"), p(f, "xmlns", "http://www.w3.org/2000/svg"), p(f, "width", "15"), p(f, "height", "15"), p(f, "viewBox", "0 0 16 24.656"), p(m, "class", "SliderButton"), p(o, "class", b = "ButtonsContainer " + /*enableautoscroll*/
4444
- (e[4] == "true" ? "ButtonsContainerNone" : "")), p(r, "class", "WinnersHeader"), p(t, "class", N = "CasinoWinners " + /*mobile*/
4471
+ e[10].length ? "fill:#F6F6F62E" : ""), m(p, "id", "Path_36"), m(p, "data-name", "Path 36"), m(p, "d", "M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"), m(p, "transform", "translate(0 24.656) rotate(-90)"), m(p, "fill", "#fff"), m(f, "id", "Component_46_2"), m(f, "data-name", "Component 46 – 2"), m(f, "xmlns", "http://www.w3.org/2000/svg"), m(f, "width", "15"), m(f, "height", "15"), m(f, "viewBox", "0 0 16 24.656"), m(d, "class", "SliderButton"), m(o, "class", b = "ButtonsContainer " + /*enableautoscroll*/
4472
+ (e[4] == "true" ? "ButtonsContainerNone" : "")), m(r, "class", "WinnersHeader"), m(t, "class", N = "CasinoWinners " + /*mobile*/
4445
4473
  (e[12] ? "Mobile" : ""));
4446
4474
  },
4447
4475
  m(v, O) {
4448
4476
  j(v, t, O), w(t, r), w(r, n);
4449
4477
  for (let x = 0; x < E.length; x += 1)
4450
4478
  E[x] && E[x].m(n, null);
4451
- w(r, i), w(r, o), w(o, s), w(s, a), w(a, u), w(o, c), w(o, m), w(m, f), w(f, d), w(t, A), I.m(t, null), L || (S = [
4452
- Ee(
4479
+ w(r, i), w(r, o), w(o, s), w(s, a), w(a, u), w(o, c), w(o, d), w(d, f), w(f, p), w(t, A), I.m(t, null), L || (S = [
4480
+ xe(
4453
4481
  s,
4454
4482
  "click",
4455
4483
  /*click_handler_2*/
4456
4484
  e[47]
4457
4485
  ),
4458
- Ee(
4459
- m,
4486
+ xe(
4487
+ d,
4460
4488
  "click",
4461
4489
  /*click_handler_3*/
4462
4490
  e[48]
@@ -4466,14 +4494,14 @@ function Ko(e) {
4466
4494
  p(v, O) {
4467
4495
  if (O[0] & /*winnersType, istopavailable, toggleTab, $_, tabs, isrecentavailable*/
4468
4496
  852483) {
4469
- B = Re(
4497
+ B = We(
4470
4498
  /*tabs*/
4471
4499
  v[16]
4472
4500
  );
4473
4501
  let x;
4474
4502
  for (x = 0; x < B.length; x += 1) {
4475
- const Z = cr(v, B, x);
4476
- E[x] ? E[x].p(Z, O) : (E[x] = dr(Z), E[x].c(), E[x].m(n, null));
4503
+ const Z = fr(v, B, x);
4504
+ E[x] ? E[x].p(Z, O) : (E[x] = br(Z), E[x].c(), E[x].m(n, null));
4477
4505
  }
4478
4506
  for (; x < E.length; x += 1)
4479
4507
  E[x].d(1);
@@ -4482,21 +4510,21 @@ function Ko(e) {
4482
4510
  O[0] & /*numberOfVisibleSlides, winners*/
4483
4511
  3072 && l !== (l = /*numberOfVisibleSlides*/
4484
4512
  v[11] >= /*winners*/
4485
- v[10].length ? "fill:#F6F6F62E" : "") && p(u, "style", l), O[0] & /*numberOfVisibleSlides, winners*/
4513
+ v[10].length ? "fill:#F6F6F62E" : "") && m(u, "style", l), O[0] & /*numberOfVisibleSlides, winners*/
4486
4514
  3072 && g !== (g = /*numberOfVisibleSlides*/
4487
4515
  v[11] >= /*winners*/
4488
- v[10].length ? "fill:#F6F6F62E" : "") && p(d, "style", g), O[0] & /*enableautoscroll*/
4516
+ v[10].length ? "fill:#F6F6F62E" : "") && m(p, "style", g), O[0] & /*enableautoscroll*/
4489
4517
  16 && b !== (b = "ButtonsContainer " + /*enableautoscroll*/
4490
- (v[4] == "true" ? "ButtonsContainerNone" : "")) && p(o, "class", b), W === (W = R(v)) && I ? I.p(v, O) : (I.d(1), I = W(v), I && (I.c(), I.m(t, null))), O[0] & /*mobile*/
4518
+ (v[4] == "true" ? "ButtonsContainerNone" : "")) && m(o, "class", b), W === (W = R(v)) && I ? I.p(v, O) : (I.d(1), I = W(v), I && (I.c(), I.m(t, null))), O[0] & /*mobile*/
4491
4519
  4096 && N !== (N = "CasinoWinners " + /*mobile*/
4492
- (v[12] ? "Mobile" : "")) && p(t, "class", N);
4520
+ (v[12] ? "Mobile" : "")) && m(t, "class", N);
4493
4521
  },
4494
4522
  d(v) {
4495
- v && D(t), _r(E, v), I.d(), L = !1, ce(S);
4523
+ v && D(t), Er(E, v), I.d(), L = !1, fe(S);
4496
4524
  }
4497
4525
  };
4498
4526
  }
4499
- function es(e) {
4527
+ function is(e) {
4500
4528
  let t;
4501
4529
  return {
4502
4530
  c() {
@@ -4535,14 +4563,14 @@ function es(e) {
4535
4563
  }
4536
4564
  };
4537
4565
  }
4538
- function fr(e) {
4566
+ function dr(e) {
4539
4567
  let t, r = (
4540
4568
  /*isrecentavailable*/
4541
4569
  e[0] === "true" && mr(e)
4542
4570
  );
4543
4571
  return {
4544
4572
  c() {
4545
- r && r.c(), t = Bt();
4573
+ r && r.c(), t = Ht();
4546
4574
  },
4547
4575
  m(n, i) {
4548
4576
  r && r.m(n, i), j(n, t, i);
@@ -4563,11 +4591,11 @@ function mr(e) {
4563
4591
  ), n, i, o, s;
4564
4592
  return {
4565
4593
  c() {
4566
- t = M("button"), n = Y(r), p(t, "class", i = "WinnersButton " + /*winnersType*/
4594
+ t = M("button"), n = q(r), m(t, "class", i = "WinnersButton " + /*winnersType*/
4567
4595
  (e[9] == "recent" ? "Active" : ""));
4568
4596
  },
4569
4597
  m(a, u) {
4570
- j(a, t, u), w(t, n), o || (s = Ee(
4598
+ j(a, t, u), w(t, n), o || (s = xe(
4571
4599
  t,
4572
4600
  "click",
4573
4601
  /*click_handler*/
@@ -4577,9 +4605,9 @@ function mr(e) {
4577
4605
  p(a, u) {
4578
4606
  u[0] & /*$_*/
4579
4607
  262144 && r !== (r = /*$_*/
4580
- a[18]("recentWinners") + "") && oe(n, r), u[0] & /*winnersType*/
4608
+ a[18]("recentWinners") + "") && se(n, r), u[0] & /*winnersType*/
4581
4609
  512 && i !== (i = "WinnersButton " + /*winnersType*/
4582
- (a[9] == "recent" ? "Active" : "")) && p(t, "class", i);
4610
+ (a[9] == "recent" ? "Active" : "")) && m(t, "class", i);
4583
4611
  },
4584
4612
  d(a) {
4585
4613
  a && D(t), o = !1, s();
@@ -4593,12 +4621,12 @@ function pr(e) {
4593
4621
  ), n, i, o, s, a;
4594
4622
  return {
4595
4623
  c() {
4596
- t = M("button"), n = Y(r), i = X(), p(t, "class", o = "WinnersButton " + /*winnersType*/
4624
+ t = M("button"), n = q(r), i = X(), m(t, "class", o = "WinnersButton " + /*winnersType*/
4597
4625
  (e[9] == "top" ? "Active" : "") + " " + /*istopavailable*/
4598
4626
  (e[1] == "false" ? "Off" : ""));
4599
4627
  },
4600
4628
  m(u, l) {
4601
- j(u, t, l), w(t, n), w(t, i), s || (a = Ee(
4629
+ j(u, t, l), w(t, n), w(t, i), s || (a = xe(
4602
4630
  t,
4603
4631
  "click",
4604
4632
  /*click_handler_1*/
@@ -4608,34 +4636,34 @@ function pr(e) {
4608
4636
  p(u, l) {
4609
4637
  l[0] & /*$_*/
4610
4638
  262144 && r !== (r = /*$_*/
4611
- u[18]("topWinners") + "") && oe(n, r), l[0] & /*winnersType, istopavailable*/
4639
+ u[18]("topWinners") + "") && se(n, r), l[0] & /*winnersType, istopavailable*/
4612
4640
  514 && o !== (o = "WinnersButton " + /*winnersType*/
4613
4641
  (u[9] == "top" ? "Active" : "") + " " + /*istopavailable*/
4614
- (u[1] == "false" ? "Off" : "")) && p(t, "class", o);
4642
+ (u[1] == "false" ? "Off" : "")) && m(t, "class", o);
4615
4643
  },
4616
4644
  d(u) {
4617
4645
  u && D(t), s = !1, a();
4618
4646
  }
4619
4647
  };
4620
4648
  }
4621
- function dr(e) {
4649
+ function br(e) {
4622
4650
  let t, r, n = (
4623
4651
  /*tab*/
4624
- e[77] == "recent" && fr(e)
4652
+ e[77] == "recent" && dr(e)
4625
4653
  ), i = (
4626
4654
  /*tab*/
4627
4655
  e[77] == "top" && pr(e)
4628
4656
  );
4629
4657
  return {
4630
4658
  c() {
4631
- n && n.c(), t = X(), i && i.c(), r = Bt();
4659
+ n && n.c(), t = X(), i && i.c(), r = Ht();
4632
4660
  },
4633
4661
  m(o, s) {
4634
4662
  n && n.m(o, s), j(o, t, s), i && i.m(o, s), j(o, r, s);
4635
4663
  },
4636
4664
  p(o, s) {
4637
4665
  /*tab*/
4638
- o[77] == "recent" ? n ? n.p(o, s) : (n = fr(o), n.c(), n.m(t.parentNode, t)) : n && (n.d(1), n = null), /*tab*/
4666
+ o[77] == "recent" ? n ? n.p(o, s) : (n = dr(o), n.c(), n.m(t.parentNode, t)) : n && (n.d(1), n = null), /*tab*/
4639
4667
  o[77] == "top" ? i ? i.p(o, s) : (i = pr(o), i.c(), i.m(r.parentNode, r)) : i && (i.d(1), i = null);
4640
4668
  },
4641
4669
  d(o) {
@@ -4643,18 +4671,18 @@ function dr(e) {
4643
4671
  }
4644
4672
  };
4645
4673
  }
4646
- function ts(e) {
4674
+ function os(e) {
4647
4675
  let t;
4648
4676
  function r(o, s) {
4649
4677
  return (
4650
4678
  /*winners*/
4651
- o[10].length !== 0 ? is : ns
4679
+ o[10].length !== 0 ? us : as
4652
4680
  );
4653
4681
  }
4654
4682
  let n = r(e), i = n(e);
4655
4683
  return {
4656
4684
  c() {
4657
- t = M("div"), i.c(), p(t, "class", "WinnersSlider");
4685
+ t = M("div"), i.c(), m(t, "class", "WinnersSlider");
4658
4686
  },
4659
4687
  m(o, s) {
4660
4688
  j(o, t, s), i.m(t, null), e[51](t);
@@ -4667,7 +4695,7 @@ function ts(e) {
4667
4695
  }
4668
4696
  };
4669
4697
  }
4670
- function rs(e) {
4698
+ function ss(e) {
4671
4699
  let t;
4672
4700
  return {
4673
4701
  c() {
@@ -4717,14 +4745,14 @@ function rs(e) {
4717
4745
  }
4718
4746
  };
4719
4747
  }
4720
- function ns(e) {
4748
+ function as(e) {
4721
4749
  let t, r = (
4722
4750
  /*$_*/
4723
4751
  e[18]("noWinnersMessage") + ""
4724
4752
  ), n;
4725
4753
  return {
4726
4754
  c() {
4727
- t = M("p"), n = Y(r), p(t, "class", "NoWinnersMessage");
4755
+ t = M("p"), n = q(r), m(t, "class", "NoWinnersMessage");
4728
4756
  },
4729
4757
  m(i, o) {
4730
4758
  j(i, t, o), w(t, n);
@@ -4732,25 +4760,25 @@ function ns(e) {
4732
4760
  p(i, o) {
4733
4761
  o[0] & /*$_*/
4734
4762
  262144 && r !== (r = /*$_*/
4735
- i[18]("noWinnersMessage") + "") && oe(n, r);
4763
+ i[18]("noWinnersMessage") + "") && se(n, r);
4736
4764
  },
4737
4765
  d(i) {
4738
4766
  i && D(t);
4739
4767
  }
4740
4768
  };
4741
4769
  }
4742
- function is(e) {
4743
- let t, r = Re(
4770
+ function us(e) {
4771
+ let t, r = We(
4744
4772
  /*winners*/
4745
4773
  e[10]
4746
4774
  ), n = [];
4747
4775
  for (let i = 0; i < r.length; i += 1)
4748
- n[i] = br(hr(e, r, i));
4776
+ n[i] = gr(cr(e, r, i));
4749
4777
  return {
4750
4778
  c() {
4751
4779
  for (let i = 0; i < n.length; i += 1)
4752
4780
  n[i].c();
4753
- t = Bt();
4781
+ t = Ht();
4754
4782
  },
4755
4783
  m(i, o) {
4756
4784
  for (let s = 0; s < n.length; s += 1)
@@ -4760,14 +4788,14 @@ function is(e) {
4760
4788
  p(i, o) {
4761
4789
  if (o[0] & /*addAnimation, winnerCardElem, getAmount, winners, $_, maskUsername, openWinnersGame*/
4762
4790
  20219136) {
4763
- r = Re(
4791
+ r = We(
4764
4792
  /*winners*/
4765
4793
  i[10]
4766
4794
  );
4767
4795
  let s;
4768
4796
  for (s = 0; s < r.length; s += 1) {
4769
- const a = hr(i, r, s);
4770
- n[s] ? n[s].p(a, o) : (n[s] = br(a), n[s].c(), n[s].m(t.parentNode, t));
4797
+ const a = cr(i, r, s);
4798
+ n[s] ? n[s].p(a, o) : (n[s] = gr(a), n[s].c(), n[s].m(t.parentNode, t));
4771
4799
  }
4772
4800
  for (; s < n.length; s += 1)
4773
4801
  n[s].d(1);
@@ -4775,21 +4803,21 @@ function is(e) {
4775
4803
  }
4776
4804
  },
4777
4805
  d(i) {
4778
- i && D(t), _r(n, i);
4806
+ i && D(t), Er(n, i);
4779
4807
  }
4780
4808
  };
4781
4809
  }
4782
- function br(e) {
4810
+ function gr(e) {
4783
4811
  let t, r, n, i, o, s, a, u = (
4784
4812
  /*winner*/
4785
4813
  e[74].gameName + ""
4786
- ), l, c, m, f = (
4814
+ ), l, c, d, f = (
4787
4815
  /*maskUsername*/
4788
4816
  e[20](
4789
4817
  /*winner*/
4790
4818
  e[74].username
4791
4819
  ) + ""
4792
- ), d, g, b, A = (
4820
+ ), p, g, b, A = (
4793
4821
  /*$_*/
4794
4822
  e[18]("won") + ""
4795
4823
  ), N, L, S, B = (
@@ -4810,49 +4838,49 @@ function br(e) {
4810
4838
  }
4811
4839
  return {
4812
4840
  c() {
4813
- t = M("div"), r = M("div"), n = M("img"), s = X(), a = M("p"), l = Y(u), c = X(), m = M("p"), d = Y(f), g = X(), b = M("p"), N = Y(A), L = X(), S = M("p"), E = X(), Dt(n.src, i = /*winner*/
4814
- e[74]?.gameModel?.thumbnail) || p(n, "src", i), p(n, "alt", o = /*winner*/
4815
- e[74]?.gameModel?.thumbnail), p(n, "class", "WinnersImage"), p(b, "class", "WinnerUsername"), p(S, "class", "WinnerAmount"), p(r, "class", "WinnerCard"), p(t, "class", R = "CardWrapper " + /*addAnimation*/
4841
+ t = M("div"), r = M("div"), n = M("img"), s = X(), a = M("p"), l = q(u), c = X(), d = M("p"), p = q(f), g = X(), b = M("p"), N = q(A), L = X(), S = M("p"), E = X(), jt(n.src, i = /*winner*/
4842
+ e[74]?.gameModel?.thumbnail) || m(n, "src", i), m(n, "alt", o = /*winner*/
4843
+ e[74]?.gameModel?.thumbnail), m(n, "class", "WinnersImage"), m(b, "class", "WinnerUsername"), m(S, "class", "WinnerAmount"), m(r, "class", "WinnerCard"), m(t, "class", R = "CardWrapper " + /*addAnimation*/
4816
4844
  (e[15] ? "CardWrapperAnimation" : ""));
4817
4845
  },
4818
4846
  m(O, x) {
4819
- j(O, t, x), w(t, r), w(r, n), w(r, s), w(r, a), w(a, l), w(r, c), w(r, m), w(m, d), w(r, g), w(r, b), w(b, N), w(r, L), w(r, S), S.innerHTML = B, e[50](r), w(t, E), W || (I = Ee(n, "click", v), W = !0);
4847
+ j(O, t, x), w(t, r), w(r, n), w(r, s), w(r, a), w(a, l), w(r, c), w(r, d), w(d, p), w(r, g), w(r, b), w(b, N), w(r, L), w(r, S), S.innerHTML = B, e[50](r), w(t, E), W || (I = xe(n, "click", v), W = !0);
4820
4848
  },
4821
4849
  p(O, x) {
4822
4850
  e = O, x[0] & /*winners*/
4823
- 1024 && !Dt(n.src, i = /*winner*/
4824
- e[74]?.gameModel?.thumbnail) && p(n, "src", i), x[0] & /*winners*/
4851
+ 1024 && !jt(n.src, i = /*winner*/
4852
+ e[74]?.gameModel?.thumbnail) && m(n, "src", i), x[0] & /*winners*/
4825
4853
  1024 && o !== (o = /*winner*/
4826
- e[74]?.gameModel?.thumbnail) && p(n, "alt", o), x[0] & /*winners*/
4854
+ e[74]?.gameModel?.thumbnail) && m(n, "alt", o), x[0] & /*winners*/
4827
4855
  1024 && u !== (u = /*winner*/
4828
- e[74].gameName + "") && oe(l, u), x[0] & /*winners*/
4856
+ e[74].gameName + "") && se(l, u), x[0] & /*winners*/
4829
4857
  1024 && f !== (f = /*maskUsername*/
4830
4858
  e[20](
4831
4859
  /*winner*/
4832
4860
  e[74].username
4833
- ) + "") && oe(d, f), x[0] & /*$_*/
4861
+ ) + "") && se(p, f), x[0] & /*$_*/
4834
4862
  262144 && A !== (A = /*$_*/
4835
- e[18]("won") + "") && oe(N, A), x[0] & /*winners*/
4863
+ e[18]("won") + "") && se(N, A), x[0] & /*winners*/
4836
4864
  1024 && B !== (B = /*getAmount*/
4837
4865
  e[24](
4838
4866
  /*winner*/
4839
4867
  e[74].specifiedCurrencyAmount
4840
4868
  ) + "") && (S.innerHTML = B), x[0] & /*addAnimation*/
4841
4869
  32768 && R !== (R = "CardWrapper " + /*addAnimation*/
4842
- (e[15] ? "CardWrapperAnimation" : "")) && p(t, "class", R);
4870
+ (e[15] ? "CardWrapperAnimation" : "")) && m(t, "class", R);
4843
4871
  },
4844
4872
  d(O) {
4845
4873
  O && D(t), e[50](null), W = !1, I();
4846
4874
  }
4847
4875
  };
4848
4876
  }
4849
- function os(e) {
4877
+ function ls(e) {
4850
4878
  let t;
4851
4879
  function r(o, s) {
4852
4880
  return (
4853
4881
  /*isLoading*/
4854
4882
  o[13] || /*isLoadingCustomStyling*/
4855
- o[14] ? es : Ko
4883
+ o[14] ? is : ns
4856
4884
  );
4857
4885
  }
4858
4886
  let n = r(e), i = n(e);
@@ -4873,148 +4901,148 @@ function os(e) {
4873
4901
  }
4874
4902
  };
4875
4903
  }
4876
- function ss(e, t, r) {
4904
+ function hs(e, t, r) {
4877
4905
  let n;
4878
- xn(e, Po, (h) => r(18, n = h));
4879
- let { endpoint: i = "" } = t, { session: o = "" } = t, { userid: s = "" } = t, { periodrecent: a = "Today" } = t, { periodtop: u = "Last7Days" } = t, { numberusersrecent: l = "20" } = t, { numberuserstop: c = "20" } = t, { amountlimit: m = "1" } = t, { vendorCategory: f = "All" } = t, { lang: d = "en" } = t, { isrecentavailable: g = "true" } = t, { istopavailable: b = "true" } = t, { defaultcurrency: A = "" } = t, { usercurrency: N = "" } = t, { customcurrencysymbol: L } = t, { clientstyling: S = "" } = t, { clientstylingurl: B = "" } = t, { enableautoscroll: E = "" } = t, { tabsorder: R = "" } = t, { translationurl: W = "" } = t, { winnersdatasources: I = "" } = t, { hascustomstyling: v = "false" } = t, { mbsource: O } = t, { currencylocale: x = "" } = t, Z, de, K, J = [], F = 0, U = 0, en = window.navigator.userAgent, Pt, be, Xe, k, ze = !0, Ot = !1, Ct = !1, Mt, He, Ze, ge, Nt = [], Qe = !1, tn;
4880
- const Je = (h) => {
4881
- Object.keys(h).forEach((P) => {
4882
- Oo(P, h[P]);
4906
+ Sn(e, Po, (h) => r(18, n = h));
4907
+ let { endpoint: i = "" } = t, { session: o = "" } = t, { userid: s = "" } = t, { periodrecent: a = "Today" } = t, { periodtop: u = "Last7Days" } = t, { numberusersrecent: l = "20" } = t, { numberuserstop: c = "20" } = t, { amountlimit: d = "1" } = t, { vendorCategory: f = "All" } = t, { lang: p = "en" } = t, { isrecentavailable: g = "true" } = t, { istopavailable: b = "true" } = t, { defaultcurrency: A = "" } = t, { usercurrency: N = "" } = t, { customcurrencysymbol: L } = t, { clientstyling: S = "" } = t, { clientstylingurl: B = "" } = t, { enableautoscroll: E = "" } = t, { tabsorder: R = "" } = t, { translationurl: W = "" } = t, { winnersdatasources: I = "" } = t, { hascustomstyling: v = "false" } = t, { mbsource: O } = t, { currencylocale: x = "" } = t, Z, be, K, J = [], U = 0, F = 0, tn = window.navigator.userAgent, Ot, ge, ze, k, Ze = !0, Pt = !1, Mt = !1, Nt, Ae, Qe, ye, It = [], Je = !1, rn, nn;
4908
+ const Ye = (h) => {
4909
+ Object.keys(h).forEach((C) => {
4910
+ Mo(C, h[C]);
4883
4911
  });
4884
- }, rn = () => {
4912
+ }, on = () => {
4885
4913
  let h = new URL(W);
4886
- fetch(h.href).then((P) => P.json()).then((P) => {
4887
- Je(P);
4888
- }).catch((P) => {
4889
- console.log(P);
4914
+ fetch(h.href).then((C) => C.json()).then((C) => {
4915
+ Ye(C);
4916
+ }).catch((C) => {
4917
+ console.log(C);
4890
4918
  });
4891
4919
  };
4892
- Je(Mo);
4893
- const It = () => {
4894
- Nt = I.split(",").map(function(P) {
4895
- return P.trim();
4920
+ Ye(Io);
4921
+ const Lt = () => {
4922
+ It = I.split(",").map(function(C) {
4923
+ return C.trim();
4896
4924
  });
4897
4925
  const h = new URL(`${i}/v1/casino/${K}-winners`);
4898
- r(17, Qe = !0), h.searchParams.append("limit", K == "recent" ? l : c), h.searchParams.append("specifiedCurrency", ge), h.searchParams.append("period", K == "recent" ? a : u), h.searchParams.append("language", d), h.searchParams.append("amountLimit", m), h.searchParams.append("vendorCategory", f), Nt.forEach((P) => {
4899
- h.searchParams.append("dataSource", P);
4926
+ r(17, Je = !0), h.searchParams.append("limit", K == "recent" ? l : c), h.searchParams.append("specifiedCurrency", ye), h.searchParams.append("period", K == "recent" ? a : u), h.searchParams.append("language", p), h.searchParams.append("amountLimit", d), h.searchParams.append("vendorCategory", f), It.forEach((C) => {
4927
+ h.searchParams.append("dataSource", C);
4900
4928
  }), setTimeout(
4901
4929
  () => {
4902
- fetch(h.href).then((P) => P.json()).then(async (P) => {
4903
- r(10, J = []), r(10, J = P.items.map((te) => te)), r(17, Qe = !1), await kt(), an(), Rt(), E == "true" && (clearInterval(He), sn()), r(13, ze = !1), nn();
4930
+ fetch(h.href).then((C) => C.json()).then(async (C) => {
4931
+ r(10, J = []), r(10, J = C.items.map((te) => te)), r(17, Je = !1), await $t(), ln(), Wt(), E == "true" && (clearInterval(Ae), un()), r(13, Ze = !1), sn();
4904
4932
  });
4905
4933
  },
4906
4934
  1e3
4907
4935
  );
4908
- }, nn = () => {
4936
+ }, sn = () => {
4909
4937
  const h = k.getRootNode().host;
4910
4938
  h.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: h } }));
4911
4939
  }, qe = (h) => {
4912
- K !== h && (r(10, J = []), r(9, K = h), It());
4913
- }, on = (h) => h.slice(0, 2) + h.slice(2, -2).replace(/./g, "*") + h.slice(-2), Lt = (h, P, te, Ke) => {
4940
+ K !== h && (r(10, J = []), r(9, K = h), Lt());
4941
+ }, an = (h) => h.slice(0, 2) + h.slice(2, -2).replace(/./g, "*") + h.slice(-2), Rt = (h, C, te, et) => {
4914
4942
  window.postMessage(
4915
4943
  {
4916
4944
  type: "OpenCasinoWinnersGame",
4917
4945
  gameId: h,
4918
- launchUrl: P,
4946
+ launchUrl: C,
4919
4947
  gameName: te,
4920
- subVendor: Ke
4948
+ subVendor: et
4921
4949
  },
4922
4950
  window.location.href
4923
4951
  ), typeof gtag == "function" && gtag("event", "OpenGame", {
4924
4952
  context: "WinnersWidget",
4925
4953
  gameId: `${h}`,
4926
- userId: `${Xe || "Not logged in"}`
4954
+ userId: `${ze || "Not logged in"}`
4927
4955
  });
4928
- }, Rt = (h = 0) => {
4929
- const P = [...Z.children];
4930
- Mt = P.length, P.forEach((te, Ke) => {
4931
- te.style.transform = `translateX(${100 * (Ke - h)}%)`;
4956
+ }, Wt = (h = 0) => {
4957
+ const C = [...Z.children];
4958
+ Nt = C.length, C.forEach((te, et) => {
4959
+ te.style.transform = `translateX(${100 * (et - h)}%)`;
4932
4960
  }), setTimeout(
4933
4961
  () => {
4934
- r(15, Ct = !0);
4962
+ r(15, Mt = !0);
4935
4963
  },
4936
4964
  10
4937
4965
  );
4938
- }, sn = () => {
4939
- F = 0, U < Mt ? He = setInterval(
4966
+ }, un = () => {
4967
+ U = 0, F < Nt ? Ae = setInterval(
4940
4968
  () => {
4941
- Ye();
4969
+ Ke();
4942
4970
  },
4943
4971
  3e3
4944
- ) : clearInterval(He);
4945
- }, Wt = () => {
4946
- Rt(F);
4947
- }, an = async () => {
4948
- await kt(), requestAnimationFrame(() => {
4949
- const h = de ? de.offsetWidth : 0;
4950
- Z.offsetWidth && h ? r(11, U = Math.round(Z.offsetWidth / h)) : r(11, U = 0);
4972
+ ) : clearInterval(Ae);
4973
+ }, Ut = () => {
4974
+ Wt(U);
4975
+ }, ln = async () => {
4976
+ await $t(), requestAnimationFrame(() => {
4977
+ const h = be ? be.offsetWidth : 0;
4978
+ Z.offsetWidth && h ? r(11, F = Math.round(Z.offsetWidth / h)) : r(11, F = 0);
4951
4979
  });
4952
4980
  }, Ft = () => {
4953
- if (U >= J.length)
4981
+ if (F >= J.length)
4954
4982
  return;
4955
4983
  const h = J.length;
4956
- F === 0 ? F = h - U : F - U < 0 ? F = 0 : F = F - U, Wt();
4957
- }, Ye = () => {
4958
- if (U >= J.length)
4984
+ U === 0 ? U = h - F : U - F < 0 ? U = 0 : U = U - F, Ut();
4985
+ }, Ke = () => {
4986
+ if (F >= J.length)
4959
4987
  return;
4960
4988
  const h = J.length;
4961
- E == "true" && (F === h - U ? F = 0 : F++), E == "false" && (F === h - U ? F = 0 : h - U < F + U ? F = h - U : F += U), Wt();
4962
- }, un = () => {
4963
- Co(d);
4964
- }, ln = () => {
4965
- r(43, be = !0), Xe = s;
4966
- }, Ut = () => {
4967
- r(44, ge = be ? N : A);
4968
- }, hn = (h) => {
4969
- const P = L ?? (be ? N : A);
4989
+ E == "true" && (U === h - F ? U = 0 : U++), E == "false" && (U === h - F ? U = 0 : h - F < U + F ? U = h - F : U += F), Ut();
4990
+ }, hn = () => {
4991
+ No(p);
4992
+ }, cn = () => {
4993
+ r(43, ge = !0), ze = s;
4994
+ }, Gt = () => {
4995
+ r(44, ye = ge ? N : A);
4996
+ }, fn = (h) => {
4997
+ const C = L ?? (ge ? N : A);
4970
4998
  return `${x ? Intl.NumberFormat(x, {
4971
4999
  minimumFractionDigits: 2,
4972
5000
  maximumFractionDigits: 2,
4973
5001
  style: "currency",
4974
- currency: ge
4975
- }).format(h).replace(/\s/g, "") : h.toFixed(2)}<span class="CurrencySymbol">${P}</span>`;
4976
- }, cn = () => {
4977
- v === "true" && (!S && !B && k && console.error("clientstyling or clientstylingurl mandatory if hascustomstyling is true"), !S && B && r(14, Ot = !0));
4978
- }, fn = () => {
4979
- r(16, Ze = R.split(",")), r(9, K = Ze[0]), Ut(), r(13, ze = !1);
5002
+ currency: ye
5003
+ }).format(h).replace(/\s/g, "") : h.toFixed(2)}<span class="CurrencySymbol">${C}</span>`;
5004
+ }, dn = () => {
5005
+ v === "true" && (!S && !B && k && console.error("clientstyling or clientstylingurl mandatory if hascustomstyling is true"), !S && B && r(14, Pt = !0));
5006
+ }, mn = () => {
5007
+ r(16, Qe = R.split(",")), r(9, K = Qe[0]), Gt(), r(13, Ze = !1);
4980
5008
  };
4981
- Pn(() => (r(12, Pt = zo(en)), () => {
4982
- clearInterval(He);
5009
+ Pn(() => (r(12, Ot = Qo(tn)), () => {
5010
+ clearInterval(Ae);
4983
5011
  }));
4984
- const mn = () => qe("recent"), pn = () => qe("top"), dn = () => Ft(), bn = () => Ye(), gn = (h) => Lt(h.gameId, h.gameModel.launchUrl, h.gameModel.name, h.gameModel.subVendor);
4985
- function yn(h) {
4986
- _e[h ? "unshift" : "push"](() => {
4987
- de = h, r(8, de);
5012
+ const pn = () => qe("recent"), bn = () => qe("top"), gn = () => Ft(), yn = () => Ke(), vn = (h) => Rt(h.gameId, h.gameModel.launchUrl, h.gameModel.name, h.gameModel.subVendor);
5013
+ function _n(h) {
5014
+ Ee[h ? "unshift" : "push"](() => {
5015
+ be = h, r(8, be);
4988
5016
  });
4989
5017
  }
4990
- function vn(h) {
4991
- _e[h ? "unshift" : "push"](() => {
5018
+ function En(h) {
5019
+ Ee[h ? "unshift" : "push"](() => {
4992
5020
  Z = h, r(7, Z);
4993
5021
  });
4994
5022
  }
4995
- function _n(h) {
4996
- _e[h ? "unshift" : "push"](() => {
5023
+ function xn(h) {
5024
+ Ee[h ? "unshift" : "push"](() => {
4997
5025
  k = h, r(6, k);
4998
5026
  });
4999
5027
  }
5000
5028
  return e.$$set = (h) => {
5001
- "endpoint" in h && r(25, i = h.endpoint), "session" in h && r(26, o = h.session), "userid" in h && r(27, s = h.userid), "periodrecent" in h && r(28, a = h.periodrecent), "periodtop" in h && r(29, u = h.periodtop), "numberusersrecent" in h && r(30, l = h.numberusersrecent), "numberuserstop" in h && r(31, c = h.numberuserstop), "amountlimit" in h && r(32, m = h.amountlimit), "vendorCategory" in h && r(33, f = h.vendorCategory), "lang" in h && r(34, d = h.lang), "isrecentavailable" in h && r(0, g = h.isrecentavailable), "istopavailable" in h && r(1, b = h.istopavailable), "defaultcurrency" in h && r(35, A = h.defaultcurrency), "usercurrency" in h && r(36, N = h.usercurrency), "customcurrencysymbol" in h && r(37, L = h.customcurrencysymbol), "clientstyling" in h && r(2, S = h.clientstyling), "clientstylingurl" in h && r(3, B = h.clientstylingurl), "enableautoscroll" in h && r(4, E = h.enableautoscroll), "tabsorder" in h && r(38, R = h.tabsorder), "translationurl" in h && r(39, W = h.translationurl), "winnersdatasources" in h && r(40, I = h.winnersdatasources), "hascustomstyling" in h && r(41, v = h.hascustomstyling), "mbsource" in h && r(5, O = h.mbsource), "currencylocale" in h && r(42, x = h.currencylocale);
5029
+ "endpoint" in h && r(25, i = h.endpoint), "session" in h && r(26, o = h.session), "userid" in h && r(27, s = h.userid), "periodrecent" in h && r(28, a = h.periodrecent), "periodtop" in h && r(29, u = h.periodtop), "numberusersrecent" in h && r(30, l = h.numberusersrecent), "numberuserstop" in h && r(31, c = h.numberuserstop), "amountlimit" in h && r(32, d = h.amountlimit), "vendorCategory" in h && r(33, f = h.vendorCategory), "lang" in h && r(34, p = h.lang), "isrecentavailable" in h && r(0, g = h.isrecentavailable), "istopavailable" in h && r(1, b = h.istopavailable), "defaultcurrency" in h && r(35, A = h.defaultcurrency), "usercurrency" in h && r(36, N = h.usercurrency), "customcurrencysymbol" in h && r(37, L = h.customcurrencysymbol), "clientstyling" in h && r(2, S = h.clientstyling), "clientstylingurl" in h && r(3, B = h.clientstylingurl), "enableautoscroll" in h && r(4, E = h.enableautoscroll), "tabsorder" in h && r(38, R = h.tabsorder), "translationurl" in h && r(39, W = h.translationurl), "winnersdatasources" in h && r(40, I = h.winnersdatasources), "hascustomstyling" in h && r(41, v = h.hascustomstyling), "mbsource" in h && r(5, O = h.mbsource), "currencylocale" in h && r(42, x = h.currencylocale);
5002
5030
  }, e.$$.update = () => {
5003
5031
  e.$$.dirty[0] & /*isrecentavailable, istopavailable, periodrecent, periodtop, numberusersrecent*/
5004
5032
  1879048195 | e.$$.dirty[1] & /*numberuserstop, amountlimit, vendorCategory, lang, tabsorder*/
5005
- 143 && g && b && a && u && l && c && m && f && d && R && fn(), e.$$.dirty[0] & /*session*/
5006
- 67108864 && o && ln(), e.$$.dirty[1] & /*isLoggedIn, usercurrency, defaultcurrency*/
5007
- 4144 && be && (N || A) && Ut(), e.$$.dirty[0] & /*endpoint*/
5033
+ 143 && g && b && a && u && l && c && d && f && p && R && mn(), e.$$.dirty[0] & /*session*/
5034
+ 67108864 && o && cn(), e.$$.dirty[1] & /*isLoggedIn, usercurrency, defaultcurrency*/
5035
+ 4144 && ge && (N || A) && Gt(), e.$$.dirty[0] & /*endpoint*/
5008
5036
  33554432 | e.$$.dirty[1] & /*winnersdatasources, currency*/
5009
- 8704 && i && I && ge && It(), e.$$.dirty[1] & /*lang*/
5010
- 8 && d && un(), e.$$.dirty[1] & /*translationurl*/
5011
- 256 && W && rn(), e.$$.dirty[0] & /*mbsource*/
5037
+ 8704 && i && I && ye && Lt(), e.$$.dirty[1] & /*lang*/
5038
+ 8 && p && hn(), e.$$.dirty[1] & /*translationurl*/
5039
+ 256 && W && on(), e.$$.dirty[0] & /*mbsource*/
5012
5040
  32 | e.$$.dirty[1] & /*translationurl*/
5013
- 256 && O && !W && qo(`${O}.Translation`, tn, Je), e.$$.dirty[1] & /*hascustomstyling*/
5014
- 1024 && v && cn(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5015
- 68 && S && k && Zo(k, S), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5016
- 72 && B && k && Qo(k, B), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
5017
- 96 && k && Jo(k, `${O}.Style`);
5041
+ 256 && O && !W && ts(`${O}.Translation`, nn, Ye), e.$$.dirty[1] & /*hascustomstyling*/
5042
+ 1024 && v && dn(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5043
+ 68 && S && k && Jo(k, S), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5044
+ 72 && B && k && Yo(k, B), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
5045
+ 96 && k && qo(k, `${O}.Style`, rn);
5018
5046
  }, [
5019
5047
  g,
5020
5048
  b,
@@ -5024,23 +5052,23 @@ function ss(e, t, r) {
5024
5052
  O,
5025
5053
  k,
5026
5054
  Z,
5027
- de,
5055
+ be,
5028
5056
  K,
5029
5057
  J,
5030
- U,
5031
- Pt,
5032
- ze,
5058
+ F,
5033
5059
  Ot,
5034
- Ct,
5035
5060
  Ze,
5061
+ Pt,
5062
+ Mt,
5036
5063
  Qe,
5064
+ Je,
5037
5065
  n,
5038
5066
  qe,
5039
- on,
5040
- Lt,
5067
+ an,
5068
+ Rt,
5041
5069
  Ft,
5042
- Ye,
5043
- hn,
5070
+ Ke,
5071
+ fn,
5044
5072
  i,
5045
5073
  o,
5046
5074
  s,
@@ -5048,9 +5076,9 @@ function ss(e, t, r) {
5048
5076
  u,
5049
5077
  l,
5050
5078
  c,
5051
- m,
5052
- f,
5053
5079
  d,
5080
+ f,
5081
+ p,
5054
5082
  A,
5055
5083
  N,
5056
5084
  L,
@@ -5059,26 +5087,26 @@ function ss(e, t, r) {
5059
5087
  I,
5060
5088
  v,
5061
5089
  x,
5062
- be,
5063
5090
  ge,
5064
- mn,
5091
+ ye,
5065
5092
  pn,
5066
- dn,
5067
5093
  bn,
5068
5094
  gn,
5069
5095
  yn,
5070
5096
  vn,
5071
- _n
5097
+ _n,
5098
+ En,
5099
+ xn
5072
5100
  ];
5073
5101
  }
5074
- class as extends Un {
5102
+ class cs extends Dn {
5075
5103
  constructor(t) {
5076
- super(), Wn(
5104
+ super(), Fn(
5077
5105
  this,
5078
5106
  t,
5079
- ss,
5080
- os,
5081
- yr,
5107
+ hs,
5108
+ ls,
5109
+ vr,
5082
5110
  {
5083
5111
  endpoint: 25,
5084
5112
  session: 26,
@@ -5105,7 +5133,7 @@ class as extends Un {
5105
5133
  mbsource: 5,
5106
5134
  currencylocale: 42
5107
5135
  },
5108
- Yo,
5136
+ rs,
5109
5137
  [-1, -1, -1]
5110
5138
  );
5111
5139
  }
@@ -5254,22 +5282,22 @@ class as extends Un {
5254
5282
  this.$$set({ currencylocale: t }), T();
5255
5283
  }
5256
5284
  }
5257
- Fn(as, { endpoint: {}, session: {}, userid: {}, periodrecent: {}, periodtop: {}, numberusersrecent: {}, numberuserstop: {}, amountlimit: {}, vendorCategory: {}, lang: {}, isrecentavailable: {}, istopavailable: {}, defaultcurrency: {}, usercurrency: {}, customcurrencysymbol: {}, clientstyling: {}, clientstylingurl: {}, enableautoscroll: {}, tabsorder: {}, translationurl: {}, winnersdatasources: {}, hascustomstyling: {}, mbsource: {}, currencylocale: {} }, [], [], !0);
5285
+ Gn(cs, { endpoint: {}, session: {}, userid: {}, periodrecent: {}, periodtop: {}, numberusersrecent: {}, numberuserstop: {}, amountlimit: {}, vendorCategory: {}, lang: {}, isrecentavailable: {}, istopavailable: {}, defaultcurrency: {}, usercurrency: {}, customcurrencysymbol: {}, clientstyling: {}, clientstylingurl: {}, enableautoscroll: {}, tabsorder: {}, translationurl: {}, winnersdatasources: {}, hascustomstyling: {}, mbsource: {}, currencylocale: {} }, [], [], !0);
5258
5286
  export {
5259
- as as C,
5260
- Un as S,
5261
- wn as a,
5287
+ cs as C,
5288
+ Dn as S,
5289
+ Tn as a,
5262
5290
  j as b,
5263
- Fn as c,
5291
+ Gn as c,
5264
5292
  D as d,
5265
5293
  M as e,
5266
5294
  T as f,
5267
- _e as g,
5268
- Zo as h,
5269
- Wn as i,
5270
- Qo as j,
5271
- Jo as k,
5295
+ Ee as g,
5296
+ Jo as h,
5297
+ Fn as i,
5298
+ Yo as j,
5299
+ qo as k,
5272
5300
  $ as n,
5273
5301
  Pn as o,
5274
- yr as s
5302
+ vr as s
5275
5303
  };