@everymatrix/casino-coinroyale-list 1.86.3 → 1.86.5

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,58 +1,58 @@
1
1
  var Tn = Object.defineProperty, Sn = Object.defineProperties;
2
2
  var Cn = Object.getOwnPropertyDescriptors;
3
- var qt = Object.getOwnPropertySymbols;
3
+ var Qt = Object.getOwnPropertySymbols;
4
4
  var Pn = Object.prototype.hasOwnProperty, On = Object.prototype.propertyIsEnumerable;
5
- var pt = (e, t, r) => t in e ? Tn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, qe = (e, t) => {
5
+ var bt = (e, t, r) => t in e ? Tn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Qe = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- Pn.call(t, r) && pt(e, r, t[r]);
8
- if (qt)
9
- for (var r of qt(t))
10
- On.call(t, r) && pt(e, r, t[r]);
7
+ Pn.call(t, r) && bt(e, r, t[r]);
8
+ if (Qt)
9
+ for (var r of Qt(t))
10
+ On.call(t, r) && bt(e, r, t[r]);
11
11
  return e;
12
- }, bt = (e, t) => Sn(e, Cn(t));
13
- var ee = (e, t, r) => (pt(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var re = (e, t, r) => new Promise((n, i) => {
15
- var o = (u) => {
12
+ }, vt = (e, t) => Sn(e, Cn(t));
13
+ var K = (e, t, r) => (bt(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var te = (e, t, r) => new Promise((n, i) => {
15
+ var o = (l) => {
16
16
  try {
17
- s(r.next(u));
18
- } catch (l) {
19
- i(l);
17
+ s(r.next(l));
18
+ } catch (u) {
19
+ i(u);
20
20
  }
21
- }, a = (u) => {
21
+ }, a = (l) => {
22
22
  try {
23
- s(r.throw(u));
24
- } catch (l) {
25
- i(l);
23
+ s(r.throw(l));
24
+ } catch (u) {
25
+ i(u);
26
26
  }
27
- }, s = (u) => u.done ? n(u.value) : Promise.resolve(u.value).then(o, a);
27
+ }, s = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(o, a);
28
28
  s((r = r.apply(e, t)).next());
29
29
  });
30
- import "../stencil/ui-skeleton-YNoAIoec.js";
30
+ import "../stencil/ui-skeleton-xXZA3rYO.js";
31
31
  function V() {
32
32
  }
33
- function Ur(e) {
33
+ function $r(e) {
34
34
  return e();
35
35
  }
36
- function Qt() {
36
+ function Zt() {
37
37
  return /* @__PURE__ */ Object.create(null);
38
38
  }
39
- function Le(e) {
40
- e.forEach(Ur);
39
+ function ke(e) {
40
+ e.forEach($r);
41
41
  }
42
- function Gt(e) {
42
+ function Yt(e) {
43
43
  return typeof e == "function";
44
44
  }
45
- function $r(e, t) {
45
+ function Fr(e, t) {
46
46
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
47
47
  }
48
- let Qe;
49
- function He(e, t) {
50
- return e === t ? !0 : (Qe || (Qe = document.createElement("a")), Qe.href = t, e === Qe.href);
48
+ let Ze;
49
+ function Oe(e, t) {
50
+ return e === t ? !0 : (Ze || (Ze = document.createElement("a")), Ze.href = t, e === Ze.href);
51
51
  }
52
52
  function Hn(e) {
53
53
  return Object.keys(e).length === 0;
54
54
  }
55
- function Fr(e, ...t) {
55
+ function Gr(e, ...t) {
56
56
  if (e == null) {
57
57
  for (const n of t)
58
58
  n(void 0);
@@ -62,7 +62,7 @@ function Fr(e, ...t) {
62
62
  return r.unsubscribe ? () => r.unsubscribe() : r;
63
63
  }
64
64
  function Mn(e, t, r) {
65
- e.$$.on_destroy.push(Fr(t, r));
65
+ e.$$.on_destroy.push(Gr(t, r));
66
66
  }
67
67
  function d(e, t) {
68
68
  e.appendChild(t);
@@ -91,42 +91,42 @@ function kn(e, t) {
91
91
  t
92
92
  ), t.sheet;
93
93
  }
94
- function U(e, t, r) {
94
+ function D(e, t, r) {
95
95
  e.insertBefore(t, r || null);
96
96
  }
97
- function D(e) {
97
+ function N(e) {
98
98
  e.parentNode && e.parentNode.removeChild(e);
99
99
  }
100
- function Ne(e, t) {
100
+ function Le(e, t) {
101
101
  for (let r = 0; r < e.length; r += 1)
102
102
  e[r] && e[r].d(t);
103
103
  }
104
104
  function y(e) {
105
105
  return document.createElement(e);
106
106
  }
107
- function B(e) {
107
+ function M(e) {
108
108
  return document.createTextNode(e);
109
109
  }
110
- function P() {
111
- return B(" ");
110
+ function O() {
111
+ return M(" ");
112
112
  }
113
- function Ve() {
114
- return B("");
113
+ function Ye() {
114
+ return M("");
115
115
  }
116
- function ue(e, t, r, n) {
116
+ function le(e, t, r, n) {
117
117
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
118
118
  }
119
- function g(e, t, r) {
119
+ function v(e, t, r) {
120
120
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
121
121
  }
122
- function Zt(e, t, r) {
122
+ function Jt(e, t, r) {
123
123
  const n = t.toLowerCase();
124
- n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : g(e, t, r);
124
+ n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : v(e, t, r);
125
125
  }
126
126
  function Ln(e) {
127
127
  return Array.from(e.childNodes);
128
128
  }
129
- function N(e, t) {
129
+ function L(e, t) {
130
130
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
131
131
  t);
132
132
  }
@@ -142,60 +142,60 @@ function Nn(e) {
142
142
  }
143
143
  ), t;
144
144
  }
145
- let je;
146
- function Ge(e) {
147
- je = e;
145
+ let Ge;
146
+ function Fe(e) {
147
+ Ge = e;
148
148
  }
149
149
  function In() {
150
- if (!je)
150
+ if (!Ge)
151
151
  throw new Error("Function called outside component initialization");
152
- return je;
152
+ return Ge;
153
153
  }
154
154
  function Dn(e) {
155
155
  In().$$.on_mount.push(e);
156
156
  }
157
- const Ce = [], Ct = [];
157
+ const Ce = [], Ot = [];
158
158
  let Pe = [];
159
- const Jt = [], Rn = /* @__PURE__ */ Promise.resolve();
160
- let Pt = !1;
159
+ const Kt = [], Rn = /* @__PURE__ */ Promise.resolve();
160
+ let Ht = !1;
161
161
  function Un() {
162
- Pt || (Pt = !0, Rn.then(ne));
162
+ Ht || (Ht = !0, Rn.then(re));
163
163
  }
164
- function Ot(e) {
164
+ function Mt(e) {
165
165
  Pe.push(e);
166
166
  }
167
- const gt = /* @__PURE__ */ new Set();
167
+ const yt = /* @__PURE__ */ new Set();
168
168
  let Ee = 0;
169
- function ne() {
169
+ function re() {
170
170
  if (Ee !== 0)
171
171
  return;
172
- const e = je;
172
+ const e = Ge;
173
173
  do {
174
174
  try {
175
175
  for (; Ee < Ce.length; ) {
176
176
  const t = Ce[Ee];
177
- Ee++, Ge(t), $n(t.$$);
177
+ Ee++, Fe(t), $n(t.$$);
178
178
  }
179
179
  } catch (t) {
180
180
  throw Ce.length = 0, Ee = 0, t;
181
181
  }
182
- for (Ge(null), Ce.length = 0, Ee = 0; Ct.length; )
183
- Ct.pop()();
182
+ for (Fe(null), Ce.length = 0, Ee = 0; Ot.length; )
183
+ Ot.pop()();
184
184
  for (let t = 0; t < Pe.length; t += 1) {
185
185
  const r = Pe[t];
186
- gt.has(r) || (gt.add(r), r());
186
+ yt.has(r) || (yt.add(r), r());
187
187
  }
188
188
  Pe.length = 0;
189
189
  } while (Ce.length);
190
- for (; Jt.length; )
191
- Jt.pop()();
192
- Pt = !1, gt.clear(), Ge(e);
190
+ for (; Kt.length; )
191
+ Kt.pop()();
192
+ Ht = !1, yt.clear(), Fe(e);
193
193
  }
194
194
  function $n(e) {
195
195
  if (e.fragment !== null) {
196
- e.update(), Le(e.before_update);
196
+ e.update(), ke(e.before_update);
197
197
  const t = e.dirty;
198
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ot);
198
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Mt);
199
199
  }
200
200
  }
201
201
  function Fn(e) {
@@ -211,79 +211,79 @@ function he(e) {
211
211
  }
212
212
  function Wn(e, t, r) {
213
213
  const { fragment: n, after_update: i } = e.$$;
214
- n && n.m(t, r), Ot(() => {
215
- const o = e.$$.on_mount.map(Ur).filter(Gt);
216
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Le(o), e.$$.on_mount = [];
217
- }), i.forEach(Ot);
214
+ n && n.m(t, r), Mt(() => {
215
+ const o = e.$$.on_mount.map($r).filter(Yt);
216
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ke(o), e.$$.on_mount = [];
217
+ }), i.forEach(Mt);
218
218
  }
219
219
  function zn(e, t) {
220
220
  const r = e.$$;
221
- r.fragment !== null && (Fn(r.after_update), Le(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
221
+ r.fragment !== null && (Fn(r.after_update), ke(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
222
222
  }
223
223
  function Yn(e, t) {
224
224
  e.$$.dirty[0] === -1 && (Ce.push(e), Un(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
225
225
  }
226
226
  function Vn(e, t, r, n, i, o, a = null, s = [-1]) {
227
- const u = je;
228
- Ge(e);
229
- const l = e.$$ = {
227
+ const l = Ge;
228
+ Fe(e);
229
+ const u = e.$$ = {
230
230
  fragment: null,
231
231
  ctx: [],
232
232
  // state
233
233
  props: o,
234
234
  update: V,
235
235
  not_equal: i,
236
- bound: Qt(),
236
+ bound: Zt(),
237
237
  // lifecycle
238
238
  on_mount: [],
239
239
  on_destroy: [],
240
240
  on_disconnect: [],
241
241
  before_update: [],
242
242
  after_update: [],
243
- context: new Map(t.context || (u ? u.$$.context : [])),
243
+ context: new Map(t.context || (l ? l.$$.context : [])),
244
244
  // everything else
245
- callbacks: Qt(),
245
+ callbacks: Zt(),
246
246
  dirty: s,
247
247
  skip_bound: !1,
248
- root: t.target || u.$$.root
248
+ root: t.target || l.$$.root
249
249
  };
250
- a && a(l.root);
250
+ a && a(u.root);
251
251
  let c = !1;
252
- if (l.ctx = r ? r(e, t.props || {}, (h, f, ...m) => {
253
- const p = m.length ? m[0] : f;
254
- return l.ctx && i(l.ctx[h], l.ctx[h] = p) && (!l.skip_bound && l.bound[h] && l.bound[h](p), c && Yn(e, h)), f;
255
- }) : [], l.update(), c = !0, Le(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
252
+ if (u.ctx = r ? r(e, t.props || {}, (h, f, ...m) => {
253
+ const g = m.length ? m[0] : f;
254
+ return u.ctx && i(u.ctx[h], u.ctx[h] = g) && (!u.skip_bound && u.bound[h] && u.bound[h](g), c && Yn(e, h)), f;
255
+ }) : [], u.update(), c = !0, ke(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
256
256
  if (t.hydrate) {
257
257
  const h = Ln(t.target);
258
- l.fragment && l.fragment.l(h), h.forEach(D);
258
+ u.fragment && u.fragment.l(h), h.forEach(N);
259
259
  } else
260
- l.fragment && l.fragment.c();
261
- t.intro && jn(e.$$.fragment), Wn(e, t.target, t.anchor), ne();
260
+ u.fragment && u.fragment.c();
261
+ t.intro && jn(e.$$.fragment), Wn(e, t.target, t.anchor), re();
262
262
  }
263
- Ge(u);
263
+ Fe(l);
264
264
  }
265
- let Gr;
266
- typeof HTMLElement == "function" && (Gr = class extends HTMLElement {
265
+ let jr;
266
+ typeof HTMLElement == "function" && (jr = class extends HTMLElement {
267
267
  constructor(t, r, n) {
268
268
  super();
269
269
  /** The Svelte component constructor */
270
- ee(this, "$$ctor");
270
+ K(this, "$$ctor");
271
271
  /** Slots */
272
- ee(this, "$$s");
272
+ K(this, "$$s");
273
273
  /** The Svelte component instance */
274
- ee(this, "$$c");
274
+ K(this, "$$c");
275
275
  /** Whether or not the custom element is connected */
276
- ee(this, "$$cn", !1);
276
+ K(this, "$$cn", !1);
277
277
  /** Component props data */
278
- ee(this, "$$d", {});
278
+ K(this, "$$d", {});
279
279
  /** `true` if currently in the process of reflecting component props back to attributes */
280
- ee(this, "$$r", !1);
280
+ K(this, "$$r", !1);
281
281
  /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
282
- ee(this, "$$p_d", {});
282
+ K(this, "$$p_d", {});
283
283
  /** @type {Record<string, Function[]>} Event listeners */
284
- ee(this, "$$l", {});
284
+ K(this, "$$l", {});
285
285
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
286
- ee(this, "$$l_u", /* @__PURE__ */ new Map());
286
+ K(this, "$$l_u", /* @__PURE__ */ new Map());
287
287
  this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
288
288
  }
289
289
  addEventListener(t, r, n) {
@@ -300,24 +300,24 @@ typeof HTMLElement == "function" && (Gr = class extends HTMLElement {
300
300
  }
301
301
  }
302
302
  connectedCallback() {
303
- return re(this, null, function* () {
303
+ return te(this, null, function* () {
304
304
  if (this.$$cn = !0, !this.$$c) {
305
305
  let t = function(o) {
306
306
  return () => {
307
307
  let a;
308
308
  return {
309
309
  c: function() {
310
- a = y("slot"), o !== "default" && g(a, "name", o);
310
+ a = y("slot"), o !== "default" && v(a, "name", o);
311
311
  },
312
312
  /**
313
313
  * @param {HTMLElement} target
314
314
  * @param {HTMLElement} [anchor]
315
315
  */
316
- m: function(l, c) {
317
- U(l, a, c);
316
+ m: function(u, c) {
317
+ D(u, a, c);
318
318
  },
319
- d: function(l) {
320
- l && D(a);
319
+ d: function(u) {
320
+ u && N(a);
321
321
  }
322
322
  };
323
323
  };
@@ -329,13 +329,13 @@ typeof HTMLElement == "function" && (Gr = class extends HTMLElement {
329
329
  o in n && (r[o] = [t(o)]);
330
330
  for (const o of this.attributes) {
331
331
  const a = this.$$g_p(o.name);
332
- a in this.$$d || (this.$$d[a] = Ke(a, o.value, this.$$p_d, "toProp"));
332
+ a in this.$$d || (this.$$d[a] = et(a, o.value, this.$$p_d, "toProp"));
333
333
  }
334
334
  for (const o in this.$$p_d)
335
335
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
336
336
  this.$$c = new this.$$ctor({
337
337
  target: this.shadowRoot || this,
338
- props: bt(qe({}, this.$$d), {
338
+ props: vt(Qe({}, this.$$d), {
339
339
  $$slots: r,
340
340
  $$scope: {
341
341
  ctx: []
@@ -346,7 +346,7 @@ typeof HTMLElement == "function" && (Gr = class extends HTMLElement {
346
346
  this.$$r = !0;
347
347
  for (const o in this.$$p_d)
348
348
  if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
349
- const a = Ke(
349
+ const a = et(
350
350
  o,
351
351
  this.$$d[o],
352
352
  this.$$p_d,
@@ -370,7 +370,7 @@ typeof HTMLElement == "function" && (Gr = class extends HTMLElement {
370
370
  // and setting attributes through setAttribute etc, this is helpful
371
371
  attributeChangedCallback(t, r, n) {
372
372
  var i;
373
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = Ke(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
373
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = et(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
374
374
  }
375
375
  disconnectedCallback() {
376
376
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -383,7 +383,7 @@ typeof HTMLElement == "function" && (Gr = class extends HTMLElement {
383
383
  ) || t;
384
384
  }
385
385
  });
386
- function Ke(e, t, r, n) {
386
+ function et(e, t, r, n) {
387
387
  var o;
388
388
  const i = (o = r[e]) == null ? void 0 : o.type;
389
389
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
@@ -414,7 +414,7 @@ function Ke(e, t, r, n) {
414
414
  }
415
415
  }
416
416
  function Xn(e, t, r, n, i, o) {
417
- let a = class extends Gr {
417
+ let a = class extends jr {
418
418
  constructor() {
419
419
  super(e, r, i), this.$$p_d = t;
420
420
  }
@@ -429,16 +429,16 @@ function Xn(e, t, r, n, i, o) {
429
429
  get() {
430
430
  return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
431
431
  },
432
- set(u) {
433
- var l;
434
- u = Ke(s, u, t), this.$$d[s] = u, (l = this.$$c) == null || l.$set({ [s]: u });
432
+ set(l) {
433
+ var u;
434
+ l = et(s, l, t), this.$$d[s] = l, (u = this.$$c) == null || u.$set({ [s]: l });
435
435
  }
436
436
  });
437
437
  }), n.forEach((s) => {
438
438
  Object.defineProperty(a.prototype, s, {
439
439
  get() {
440
- var u;
441
- return (u = this.$$c) == null ? void 0 : u[s];
440
+ var l;
441
+ return (l = this.$$c) == null ? void 0 : l[s];
442
442
  }
443
443
  });
444
444
  }), e.element = /** @type {any} */
@@ -453,7 +453,7 @@ class qn {
453
453
  *
454
454
  * @type {any}
455
455
  */
456
- ee(this, "$$");
456
+ K(this, "$$");
457
457
  /**
458
458
  * ### PRIVATE API
459
459
  *
@@ -461,7 +461,7 @@ class qn {
461
461
  *
462
462
  * @type {any}
463
463
  */
464
- ee(this, "$$set");
464
+ K(this, "$$set");
465
465
  }
466
466
  /** @returns {void} */
467
467
  $destroy() {
@@ -474,7 +474,7 @@ class qn {
474
474
  * @returns {() => void}
475
475
  */
476
476
  $on(t, r) {
477
- if (!Gt(r))
477
+ if (!Yt(r))
478
478
  return V;
479
479
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
480
480
  return n.push(r), () => {
@@ -492,14 +492,14 @@ class qn {
492
492
  }
493
493
  const Qn = "4";
494
494
  typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Qn);
495
- const Kt = (e) => window.postMessage(e, window.location.href), Zn = "data:image/svg+xml,%3csvg%20width='18'%20height='18'%20viewBox='0%200%2018%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M16.5384%203.18261L14.3222%200.9673C13.3202%20-0.0332963%2011.7009%20-0.26734%209.75715%200.310586C7.83938%200.880634%205.79092%202.18711%203.98901%203.98902C2.18711%205.79092%200.88063%207.83939%200.310582%209.75716C-0.26688%2011.7%20-0.0337635%2013.3211%200.965442%2014.3194C0.980736%2014.3361%200.99742%2014.3491%201.01967%2014.362L3.1826%2016.5384C3.83422%2017.1891%204.73749%2017.4996%205.78675%2017.4996C8.0382%2017.4996%2010.9621%2016.0703%2013.5167%2013.5167C17.2605%209.77199%2018.5878%205.23292%2016.5384%203.18261ZM13.2979%205.31681C12.764%206.90692%2011.6378%208.61521%2010.127%2010.1261C8.6152%2011.6369%206.90738%2012.764%205.31681%2013.2979C3.8991%2013.7744%202.71173%2013.7188%202.14169%2013.1469C1.57118%2012.5768%201.5151%2011.3904%201.99153%209.9722C2.52589%208.38209%203.65254%206.67426%205.1634%205.16341C6.67426%203.65209%208.38255%202.52589%209.97312%201.99153C10.6118%201.77649%2011.2031%201.67036%2011.7129%201.67036C12.3349%201.67036%2012.8345%201.8284%2013.1478%202.14169C13.7178%202.7122%2013.7744%203.89911%2013.2979%205.31681ZM12.3423%2012.3414C9.09859%2015.5846%205.53231%2016.5375%204.35699%2015.3622L4.23696%2015.2426C6.4481%2014.9914%209.06753%2013.5343%2011.3014%2011.3014C13.5343%209.06754%2014.9914%206.4481%2015.2426%204.23696L15.3622%204.357C16.5365%205.53093%2015.5846%209.09859%2012.3423%2012.3414Z'%20fill='url(%23paint0_linear_875_137)'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_875_137'%20x1='0'%20y1='8.7498'%20x2='17.5'%20y2='8.7498'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%2375FFE9'/%3e%3cstop%20offset='1'%20stop-color='%23B2FF6D'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", er = "data:image/svg+xml,%3csvg%20width='18'%20height='18'%20viewBox='0%200%2018%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3.96967%203.96967C4.26256%203.67678%204.73744%203.67678%205.03033%203.96967L9%207.93934L12.9697%203.96967C13.2626%203.67678%2013.7374%203.67678%2014.0303%203.96967C14.3232%204.26256%2014.3232%204.73744%2014.0303%205.03033L10.0607%209L14.0303%2012.9697C14.3232%2013.2626%2014.3232%2013.7374%2014.0303%2014.0303C13.7374%2014.3232%2013.2626%2014.3232%2012.9697%2014.0303L9%2010.0607L5.03033%2014.0303C4.73744%2014.3232%204.26256%2014.3232%203.96967%2014.0303C3.67678%2013.7374%203.67678%2013.2626%203.96967%2012.9697L7.93934%209L3.96967%205.03033C3.67678%204.73744%203.67678%204.26256%203.96967%203.96967Z'%20fill='%23FF9B59'/%3e%3c/svg%3e", tr = "data:image/svg+xml,%3csvg%20width='18'%20height='18'%20viewBox='0%200%2018%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M15.1724%204.72381C15.4708%205.02223%2015.4708%205.50607%2015.1724%205.80449L7.70071%2013.2762C7.40229%2013.5746%206.91846%2013.5746%206.62004%2013.2762L3.22381%209.87996C2.9254%209.58154%202.9254%209.09771%203.22381%208.79929C3.52223%208.50087%204.00607%208.50087%204.30449%208.79929L7.16038%2011.6552L14.0917%204.72381C14.3902%204.4254%2014.874%204.4254%2015.1724%204.72381Z'%20fill='%2358DB4A'/%3e%3c/svg%3e", Jn = "data:image/svg+xml,%3csvg%20width='14'%20height='14'%20viewBox='0%200%2014%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M10.9124%204.83736C11.1402%205.06516%2011.1402%205.43451%2010.9124%205.66232L7.41243%209.16232C7.18462%209.39012%206.81528%209.39012%206.58747%209.16232L3.08747%205.66232C2.85966%205.43451%202.85966%205.06516%203.08747%204.83736C3.31528%204.60955%203.68462%204.60955%203.91243%204.83736L6.99995%207.92488L10.0875%204.83736C10.3153%204.60955%2010.6846%204.60955%2010.9124%204.83736Z'%20fill='url(%23paint0_linear_738_1669)'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_738_1669'%20x1='6.99995'%20y1='4.6665'%20x2='6.99995'%20y2='9.33317'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%2375FFE9'/%3e%3cstop%20offset='1'%20stop-color='%23B2FF6D'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e";
496
- function nt(e) {
495
+ const er = (e) => window.postMessage(e, window.location.href), Zn = "data:image/svg+xml,%3csvg%20width='18'%20height='18'%20viewBox='0%200%2018%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M16.5384%203.18261L14.3222%200.9673C13.3202%20-0.0332963%2011.7009%20-0.26734%209.75715%200.310586C7.83938%200.880634%205.79092%202.18711%203.98901%203.98902C2.18711%205.79092%200.88063%207.83939%200.310582%209.75716C-0.26688%2011.7%20-0.0337635%2013.3211%200.965442%2014.3194C0.980736%2014.3361%200.99742%2014.3491%201.01967%2014.362L3.1826%2016.5384C3.83422%2017.1891%204.73749%2017.4996%205.78675%2017.4996C8.0382%2017.4996%2010.9621%2016.0703%2013.5167%2013.5167C17.2605%209.77199%2018.5878%205.23292%2016.5384%203.18261ZM13.2979%205.31681C12.764%206.90692%2011.6378%208.61521%2010.127%2010.1261C8.6152%2011.6369%206.90738%2012.764%205.31681%2013.2979C3.8991%2013.7744%202.71173%2013.7188%202.14169%2013.1469C1.57118%2012.5768%201.5151%2011.3904%201.99153%209.9722C2.52589%208.38209%203.65254%206.67426%205.1634%205.16341C6.67426%203.65209%208.38255%202.52589%209.97312%201.99153C10.6118%201.77649%2011.2031%201.67036%2011.7129%201.67036C12.3349%201.67036%2012.8345%201.8284%2013.1478%202.14169C13.7178%202.7122%2013.7744%203.89911%2013.2979%205.31681ZM12.3423%2012.3414C9.09859%2015.5846%205.53231%2016.5375%204.35699%2015.3622L4.23696%2015.2426C6.4481%2014.9914%209.06753%2013.5343%2011.3014%2011.3014C13.5343%209.06754%2014.9914%206.4481%2015.2426%204.23696L15.3622%204.357C16.5365%205.53093%2015.5846%209.09859%2012.3423%2012.3414Z'%20fill='url(%23paint0_linear_875_137)'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_875_137'%20x1='0'%20y1='8.7498'%20x2='17.5'%20y2='8.7498'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%2375FFE9'/%3e%3cstop%20offset='1'%20stop-color='%23B2FF6D'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", tr = "data:image/svg+xml,%3csvg%20width='18'%20height='18'%20viewBox='0%200%2018%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3.96967%203.96967C4.26256%203.67678%204.73744%203.67678%205.03033%203.96967L9%207.93934L12.9697%203.96967C13.2626%203.67678%2013.7374%203.67678%2014.0303%203.96967C14.3232%204.26256%2014.3232%204.73744%2014.0303%205.03033L10.0607%209L14.0303%2012.9697C14.3232%2013.2626%2014.3232%2013.7374%2014.0303%2014.0303C13.7374%2014.3232%2013.2626%2014.3232%2012.9697%2014.0303L9%2010.0607L5.03033%2014.0303C4.73744%2014.3232%204.26256%2014.3232%203.96967%2014.0303C3.67678%2013.7374%203.67678%2013.2626%203.96967%2012.9697L7.93934%209L3.96967%205.03033C3.67678%204.73744%203.67678%204.26256%203.96967%203.96967Z'%20fill='%23FF9B59'/%3e%3c/svg%3e", rr = "data:image/svg+xml,%3csvg%20width='18'%20height='18'%20viewBox='0%200%2018%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M15.1724%204.72381C15.4708%205.02223%2015.4708%205.50607%2015.1724%205.80449L7.70071%2013.2762C7.40229%2013.5746%206.91846%2013.5746%206.62004%2013.2762L3.22381%209.87996C2.9254%209.58154%202.9254%209.09771%203.22381%208.79929C3.52223%208.50087%204.00607%208.50087%204.30449%208.79929L7.16038%2011.6552L14.0917%204.72381C14.3902%204.4254%2014.874%204.4254%2015.1724%204.72381Z'%20fill='%2358DB4A'/%3e%3c/svg%3e", Jn = "data:image/svg+xml,%3csvg%20width='14'%20height='14'%20viewBox='0%200%2014%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M10.9124%204.83736C11.1402%205.06516%2011.1402%205.43451%2010.9124%205.66232L7.41243%209.16232C7.18462%209.39012%206.81528%209.39012%206.58747%209.16232L3.08747%205.66232C2.85966%205.43451%202.85966%205.06516%203.08747%204.83736C3.31528%204.60955%203.68462%204.60955%203.91243%204.83736L6.99995%207.92488L10.0875%204.83736C10.3153%204.60955%2010.6846%204.60955%2010.9124%204.83736Z'%20fill='url(%23paint0_linear_738_1669)'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_738_1669'%20x1='6.99995'%20y1='4.6665'%20x2='6.99995'%20y2='9.33317'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%2375FFE9'/%3e%3cstop%20offset='1'%20stop-color='%23B2FF6D'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e";
496
+ function it(e) {
497
497
  "@babel/helpers - typeof";
498
- return nt = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
498
+ return it = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
499
499
  return typeof t;
500
500
  } : function(t) {
501
501
  return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
502
- }, nt(e);
502
+ }, it(e);
503
503
  }
504
504
  function ye(e) {
505
505
  if (e === null || e === !0 || e === !1)
@@ -507,22 +507,22 @@ function ye(e) {
507
507
  var t = Number(e);
508
508
  return isNaN(t) ? t : t < 0 ? Math.ceil(t) : Math.floor(t);
509
509
  }
510
- function Z(e, t) {
510
+ function Q(e, t) {
511
511
  if (t.length < e)
512
512
  throw new TypeError(e + " argument" + (e > 1 ? "s" : "") + " required, but only " + t.length + " present");
513
513
  }
514
514
  function ie(e) {
515
- Z(1, arguments);
515
+ Q(1, arguments);
516
516
  var t = Object.prototype.toString.call(e);
517
- return e instanceof Date || nt(e) === "object" && t === "[object Date]" ? new Date(e.getTime()) : typeof e == "number" || t === "[object Number]" ? new Date(e) : ((typeof e == "string" || t === "[object String]") && typeof console != "undefined" && (console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"), console.warn(new Error().stack)), /* @__PURE__ */ new Date(NaN));
517
+ return e instanceof Date || it(e) === "object" && t === "[object Date]" ? new Date(e.getTime()) : typeof e == "number" || t === "[object Number]" ? new Date(e) : ((typeof e == "string" || t === "[object String]") && typeof console != "undefined" && (console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"), console.warn(new Error().stack)), /* @__PURE__ */ new Date(NaN));
518
518
  }
519
519
  function Kn(e, t) {
520
- Z(2, arguments);
520
+ Q(2, arguments);
521
521
  var r = ie(e).getTime(), n = ye(t);
522
522
  return new Date(r + n);
523
523
  }
524
524
  var ei = {};
525
- function lt() {
525
+ function ct() {
526
526
  return ei;
527
527
  }
528
528
  function ti(e) {
@@ -530,88 +530,88 @@ function ti(e) {
530
530
  return t.setUTCFullYear(e.getFullYear()), e.getTime() - t.getTime();
531
531
  }
532
532
  function ri(e) {
533
- return Z(1, arguments), e instanceof Date || nt(e) === "object" && Object.prototype.toString.call(e) === "[object Date]";
533
+ return Q(1, arguments), e instanceof Date || it(e) === "object" && Object.prototype.toString.call(e) === "[object Date]";
534
534
  }
535
535
  function ni(e) {
536
- if (Z(1, arguments), !ri(e) && typeof e != "number")
536
+ if (Q(1, arguments), !ri(e) && typeof e != "number")
537
537
  return !1;
538
538
  var t = ie(e);
539
539
  return !isNaN(Number(t));
540
540
  }
541
541
  function ii(e, t) {
542
- Z(2, arguments);
542
+ Q(2, arguments);
543
543
  var r = ye(t);
544
544
  return Kn(e, -r);
545
545
  }
546
546
  var oi = 864e5;
547
547
  function ai(e) {
548
- Z(1, arguments);
548
+ Q(1, arguments);
549
549
  var t = ie(e), r = t.getTime();
550
550
  t.setUTCMonth(0, 1), t.setUTCHours(0, 0, 0, 0);
551
551
  var n = t.getTime(), i = r - n;
552
552
  return Math.floor(i / oi) + 1;
553
553
  }
554
- function it(e) {
555
- Z(1, arguments);
554
+ function ot(e) {
555
+ Q(1, arguments);
556
556
  var t = 1, r = ie(e), n = r.getUTCDay(), i = (n < t ? 7 : 0) + n - t;
557
557
  return r.setUTCDate(r.getUTCDate() - i), r.setUTCHours(0, 0, 0, 0), r;
558
558
  }
559
- function jr(e) {
560
- Z(1, arguments);
559
+ function Wr(e) {
560
+ Q(1, arguments);
561
561
  var t = ie(e), r = t.getUTCFullYear(), n = /* @__PURE__ */ new Date(0);
562
562
  n.setUTCFullYear(r + 1, 0, 4), n.setUTCHours(0, 0, 0, 0);
563
- var i = it(n), o = /* @__PURE__ */ new Date(0);
563
+ var i = ot(n), o = /* @__PURE__ */ new Date(0);
564
564
  o.setUTCFullYear(r, 0, 4), o.setUTCHours(0, 0, 0, 0);
565
- var a = it(o);
565
+ var a = ot(o);
566
566
  return t.getTime() >= i.getTime() ? r + 1 : t.getTime() >= a.getTime() ? r : r - 1;
567
567
  }
568
568
  function si(e) {
569
- Z(1, arguments);
570
- var t = jr(e), r = /* @__PURE__ */ new Date(0);
569
+ Q(1, arguments);
570
+ var t = Wr(e), r = /* @__PURE__ */ new Date(0);
571
571
  r.setUTCFullYear(t, 0, 4), r.setUTCHours(0, 0, 0, 0);
572
- var n = it(r);
572
+ var n = ot(r);
573
573
  return n;
574
574
  }
575
- var li = 6048e5;
576
- function ui(e) {
577
- Z(1, arguments);
578
- var t = ie(e), r = it(t).getTime() - si(t).getTime();
579
- return Math.round(r / li) + 1;
575
+ var ui = 6048e5;
576
+ function li(e) {
577
+ Q(1, arguments);
578
+ var t = ie(e), r = ot(t).getTime() - si(t).getTime();
579
+ return Math.round(r / ui) + 1;
580
580
  }
581
- function ot(e, t) {
582
- var r, n, i, o, a, s, u, l;
583
- Z(1, arguments);
584
- var c = lt(), h = ye((r = (n = (i = (o = t == null ? void 0 : t.weekStartsOn) !== null && o !== void 0 ? o : t == null || (a = t.locale) === null || a === void 0 || (s = a.options) === null || s === void 0 ? void 0 : s.weekStartsOn) !== null && i !== void 0 ? i : c.weekStartsOn) !== null && n !== void 0 ? n : (u = c.locale) === null || u === void 0 || (l = u.options) === null || l === void 0 ? void 0 : l.weekStartsOn) !== null && r !== void 0 ? r : 0);
581
+ function at(e, t) {
582
+ var r, n, i, o, a, s, l, u;
583
+ Q(1, arguments);
584
+ var c = ct(), h = ye((r = (n = (i = (o = t == null ? void 0 : t.weekStartsOn) !== null && o !== void 0 ? o : t == null || (a = t.locale) === null || a === void 0 || (s = a.options) === null || s === void 0 ? void 0 : s.weekStartsOn) !== null && i !== void 0 ? i : c.weekStartsOn) !== null && n !== void 0 ? n : (l = c.locale) === null || l === void 0 || (u = l.options) === null || u === void 0 ? void 0 : u.weekStartsOn) !== null && r !== void 0 ? r : 0);
585
585
  if (!(h >= 0 && h <= 6))
586
586
  throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
587
- var f = ie(e), m = f.getUTCDay(), p = (m < h ? 7 : 0) + m - h;
588
- return f.setUTCDate(f.getUTCDate() - p), f.setUTCHours(0, 0, 0, 0), f;
587
+ var f = ie(e), m = f.getUTCDay(), g = (m < h ? 7 : 0) + m - h;
588
+ return f.setUTCDate(f.getUTCDate() - g), f.setUTCHours(0, 0, 0, 0), f;
589
589
  }
590
- function Wr(e, t) {
591
- var r, n, i, o, a, s, u, l;
592
- Z(1, arguments);
593
- var c = ie(e), h = c.getUTCFullYear(), f = lt(), m = ye((r = (n = (i = (o = t == null ? void 0 : t.firstWeekContainsDate) !== null && o !== void 0 ? o : t == null || (a = t.locale) === null || a === void 0 || (s = a.options) === null || s === void 0 ? void 0 : s.firstWeekContainsDate) !== null && i !== void 0 ? i : f.firstWeekContainsDate) !== null && n !== void 0 ? n : (u = f.locale) === null || u === void 0 || (l = u.options) === null || l === void 0 ? void 0 : l.firstWeekContainsDate) !== null && r !== void 0 ? r : 1);
590
+ function zr(e, t) {
591
+ var r, n, i, o, a, s, l, u;
592
+ Q(1, arguments);
593
+ var c = ie(e), h = c.getUTCFullYear(), f = ct(), m = ye((r = (n = (i = (o = t == null ? void 0 : t.firstWeekContainsDate) !== null && o !== void 0 ? o : t == null || (a = t.locale) === null || a === void 0 || (s = a.options) === null || s === void 0 ? void 0 : s.firstWeekContainsDate) !== null && i !== void 0 ? i : f.firstWeekContainsDate) !== null && n !== void 0 ? n : (l = f.locale) === null || l === void 0 || (u = l.options) === null || u === void 0 ? void 0 : u.firstWeekContainsDate) !== null && r !== void 0 ? r : 1);
594
594
  if (!(m >= 1 && m <= 7))
595
595
  throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
596
- var p = /* @__PURE__ */ new Date(0);
597
- p.setUTCFullYear(h + 1, 0, m), p.setUTCHours(0, 0, 0, 0);
598
- var b = ot(p, t), _ = /* @__PURE__ */ new Date(0);
596
+ var g = /* @__PURE__ */ new Date(0);
597
+ g.setUTCFullYear(h + 1, 0, m), g.setUTCHours(0, 0, 0, 0);
598
+ var b = at(g, t), _ = /* @__PURE__ */ new Date(0);
599
599
  _.setUTCFullYear(h, 0, m), _.setUTCHours(0, 0, 0, 0);
600
- var w = ot(_, t);
600
+ var w = at(_, t);
601
601
  return c.getTime() >= b.getTime() ? h + 1 : c.getTime() >= w.getTime() ? h : h - 1;
602
602
  }
603
603
  function ci(e, t) {
604
- var r, n, i, o, a, s, u, l;
605
- Z(1, arguments);
606
- var c = lt(), h = ye((r = (n = (i = (o = t == null ? void 0 : t.firstWeekContainsDate) !== null && o !== void 0 ? o : t == null || (a = t.locale) === null || a === void 0 || (s = a.options) === null || s === void 0 ? void 0 : s.firstWeekContainsDate) !== null && i !== void 0 ? i : c.firstWeekContainsDate) !== null && n !== void 0 ? n : (u = c.locale) === null || u === void 0 || (l = u.options) === null || l === void 0 ? void 0 : l.firstWeekContainsDate) !== null && r !== void 0 ? r : 1), f = Wr(e, t), m = /* @__PURE__ */ new Date(0);
604
+ var r, n, i, o, a, s, l, u;
605
+ Q(1, arguments);
606
+ var c = ct(), h = ye((r = (n = (i = (o = t == null ? void 0 : t.firstWeekContainsDate) !== null && o !== void 0 ? o : t == null || (a = t.locale) === null || a === void 0 || (s = a.options) === null || s === void 0 ? void 0 : s.firstWeekContainsDate) !== null && i !== void 0 ? i : c.firstWeekContainsDate) !== null && n !== void 0 ? n : (l = c.locale) === null || l === void 0 || (u = l.options) === null || u === void 0 ? void 0 : u.firstWeekContainsDate) !== null && r !== void 0 ? r : 1), f = zr(e, t), m = /* @__PURE__ */ new Date(0);
607
607
  m.setUTCFullYear(f, 0, h), m.setUTCHours(0, 0, 0, 0);
608
- var p = ot(m, t);
609
- return p;
608
+ var g = at(m, t);
609
+ return g;
610
610
  }
611
611
  var hi = 6048e5;
612
612
  function fi(e, t) {
613
- Z(1, arguments);
614
- var r = ie(e), n = ot(r, t).getTime() - ci(r, t).getTime();
613
+ Q(1, arguments);
614
+ var r = ie(e), n = at(r, t).getTime() - ci(r, t).getTime();
615
615
  return Math.round(n / hi) + 1;
616
616
  }
617
617
  function H(e, t) {
@@ -619,7 +619,7 @@ function H(e, t) {
619
619
  n = "0" + n;
620
620
  return r + n;
621
621
  }
622
- var pe = {
622
+ var fe = {
623
623
  // Year
624
624
  y: function(t, r) {
625
625
  var n = t.getUTCFullYear(), i = n > 0 ? n : 1 - n;
@@ -672,8 +672,6 @@ var pe = {
672
672
  return H(o, r.length);
673
673
  }
674
674
  }, Te = {
675
- am: "am",
676
- pm: "pm",
677
675
  midnight: "midnight",
678
676
  noon: "noon",
679
677
  morning: "morning",
@@ -710,11 +708,11 @@ var pe = {
710
708
  unit: "year"
711
709
  });
712
710
  }
713
- return pe.y(t, r);
711
+ return fe.y(t, r);
714
712
  },
715
713
  // Local week-numbering year
716
714
  Y: function(t, r, n, i) {
717
- var o = Wr(t, i), a = o > 0 ? o : 1 - o;
715
+ var o = zr(t, i), a = o > 0 ? o : 1 - o;
718
716
  if (r === "YY") {
719
717
  var s = a % 100;
720
718
  return H(s, 2);
@@ -725,7 +723,7 @@ var pe = {
725
723
  },
726
724
  // ISO week-numbering year
727
725
  R: function(t, r) {
728
- var n = jr(t);
726
+ var n = Wr(t);
729
727
  return H(n, r.length);
730
728
  },
731
729
  // Extended year. This is a single number designating the year of this calendar system.
@@ -807,7 +805,7 @@ var pe = {
807
805
  switch (r) {
808
806
  case "M":
809
807
  case "MM":
810
- return pe.M(t, r);
808
+ return fe.M(t, r);
811
809
  case "Mo":
812
810
  return n.ordinalNumber(i + 1, {
813
811
  unit: "month"
@@ -869,7 +867,7 @@ var pe = {
869
867
  },
870
868
  // ISO week of year
871
869
  I: function(t, r, n) {
872
- var i = ui(t);
870
+ var i = li(t);
873
871
  return r === "Io" ? n.ordinalNumber(i, {
874
872
  unit: "week"
875
873
  }) : H(i, r.length);
@@ -878,7 +876,7 @@ var pe = {
878
876
  d: function(t, r, n) {
879
877
  return r === "do" ? n.ordinalNumber(t.getUTCDate(), {
880
878
  unit: "date"
881
- }) : pe.d(t, r);
879
+ }) : fe.d(t, r);
882
880
  },
883
881
  // Day of year
884
882
  D: function(t, r, n) {
@@ -1109,13 +1107,13 @@ var pe = {
1109
1107
  unit: "hour"
1110
1108
  });
1111
1109
  }
1112
- return pe.h(t, r);
1110
+ return fe.h(t, r);
1113
1111
  },
1114
1112
  // Hour [0-23]
1115
1113
  H: function(t, r, n) {
1116
1114
  return r === "Ho" ? n.ordinalNumber(t.getUTCHours(), {
1117
1115
  unit: "hour"
1118
- }) : pe.H(t, r);
1116
+ }) : fe.H(t, r);
1119
1117
  },
1120
1118
  // Hour [0-11]
1121
1119
  K: function(t, r, n) {
@@ -1135,17 +1133,17 @@ var pe = {
1135
1133
  m: function(t, r, n) {
1136
1134
  return r === "mo" ? n.ordinalNumber(t.getUTCMinutes(), {
1137
1135
  unit: "minute"
1138
- }) : pe.m(t, r);
1136
+ }) : fe.m(t, r);
1139
1137
  },
1140
1138
  // Second
1141
1139
  s: function(t, r, n) {
1142
1140
  return r === "so" ? n.ordinalNumber(t.getUTCSeconds(), {
1143
1141
  unit: "second"
1144
- }) : pe.s(t, r);
1142
+ }) : fe.s(t, r);
1145
1143
  },
1146
1144
  // Fraction of second
1147
1145
  S: function(t, r) {
1148
- return pe.S(t, r);
1146
+ return fe.S(t, r);
1149
1147
  },
1150
1148
  // Timezone (ISO-8601. If offset is 0, output is always `'Z'`)
1151
1149
  X: function(t, r, n, i) {
@@ -1154,14 +1152,14 @@ var pe = {
1154
1152
  return "Z";
1155
1153
  switch (r) {
1156
1154
  case "X":
1157
- return nr(a);
1155
+ return ir(a);
1158
1156
  case "XXXX":
1159
1157
  case "XX":
1160
- return ge(a);
1158
+ return be(a);
1161
1159
  case "XXXXX":
1162
1160
  case "XXX":
1163
1161
  default:
1164
- return ge(a, ":");
1162
+ return be(a, ":");
1165
1163
  }
1166
1164
  },
1167
1165
  // Timezone (ISO-8601. If offset is 0, output is `'+00:00'` or equivalent)
@@ -1169,14 +1167,14 @@ var pe = {
1169
1167
  var o = i._originalDate || t, a = o.getTimezoneOffset();
1170
1168
  switch (r) {
1171
1169
  case "x":
1172
- return nr(a);
1170
+ return ir(a);
1173
1171
  case "xxxx":
1174
1172
  case "xx":
1175
- return ge(a);
1173
+ return be(a);
1176
1174
  case "xxxxx":
1177
1175
  case "xxx":
1178
1176
  default:
1179
- return ge(a, ":");
1177
+ return be(a, ":");
1180
1178
  }
1181
1179
  },
1182
1180
  // Timezone (GMT)
@@ -1186,10 +1184,10 @@ var pe = {
1186
1184
  case "O":
1187
1185
  case "OO":
1188
1186
  case "OOO":
1189
- return "GMT" + rr(a, ":");
1187
+ return "GMT" + nr(a, ":");
1190
1188
  case "OOOO":
1191
1189
  default:
1192
- return "GMT" + ge(a, ":");
1190
+ return "GMT" + be(a, ":");
1193
1191
  }
1194
1192
  },
1195
1193
  // Timezone (specific non-location)
@@ -1199,10 +1197,10 @@ var pe = {
1199
1197
  case "z":
1200
1198
  case "zz":
1201
1199
  case "zzz":
1202
- return "GMT" + rr(a, ":");
1200
+ return "GMT" + nr(a, ":");
1203
1201
  case "zzzz":
1204
1202
  default:
1205
- return "GMT" + ge(a, ":");
1203
+ return "GMT" + be(a, ":");
1206
1204
  }
1207
1205
  },
1208
1206
  // Seconds timestamp
@@ -1216,25 +1214,25 @@ var pe = {
1216
1214
  return H(a, r.length);
1217
1215
  }
1218
1216
  };
1219
- function rr(e, t) {
1217
+ function nr(e, t) {
1220
1218
  var r = e > 0 ? "-" : "+", n = Math.abs(e), i = Math.floor(n / 60), o = n % 60;
1221
1219
  if (o === 0)
1222
1220
  return r + String(i);
1223
1221
  var a = t;
1224
1222
  return r + String(i) + a + H(o, 2);
1225
1223
  }
1226
- function nr(e, t) {
1224
+ function ir(e, t) {
1227
1225
  if (e % 60 === 0) {
1228
1226
  var r = e > 0 ? "-" : "+";
1229
1227
  return r + H(Math.abs(e) / 60, 2);
1230
1228
  }
1231
- return ge(e, t);
1229
+ return be(e, t);
1232
1230
  }
1233
- function ge(e, t) {
1231
+ function be(e, t) {
1234
1232
  var r = t || "", n = e > 0 ? "-" : "+", i = Math.abs(e), o = H(Math.floor(i / 60), 2), a = H(i % 60, 2);
1235
1233
  return n + o + r + a;
1236
1234
  }
1237
- var ir = function(t, r) {
1235
+ var or = function(t, r) {
1238
1236
  switch (t) {
1239
1237
  case "P":
1240
1238
  return r.date({
@@ -1254,7 +1252,7 @@ var ir = function(t, r) {
1254
1252
  width: "full"
1255
1253
  });
1256
1254
  }
1257
- }, zr = function(t, r) {
1255
+ }, Yr = function(t, r) {
1258
1256
  switch (t) {
1259
1257
  case "p":
1260
1258
  return r.time({
@@ -1277,7 +1275,7 @@ var ir = function(t, r) {
1277
1275
  }, mi = function(t, r) {
1278
1276
  var n = t.match(/(P+)(p+)?/) || [], i = n[1], o = n[2];
1279
1277
  if (!o)
1280
- return ir(t, r);
1278
+ return or(t, r);
1281
1279
  var a;
1282
1280
  switch (i) {
1283
1281
  case "P":
@@ -1302,18 +1300,18 @@ var ir = function(t, r) {
1302
1300
  });
1303
1301
  break;
1304
1302
  }
1305
- return a.replace("{{date}}", ir(i, r)).replace("{{time}}", zr(o, r));
1303
+ return a.replace("{{date}}", or(i, r)).replace("{{time}}", Yr(o, r));
1306
1304
  }, pi = {
1307
- p: zr,
1305
+ p: Yr,
1308
1306
  P: mi
1309
- }, bi = ["D", "DD"], gi = ["YY", "YYYY"];
1307
+ }, gi = ["D", "DD"], bi = ["YY", "YYYY"];
1310
1308
  function vi(e) {
1311
- return bi.indexOf(e) !== -1;
1309
+ return gi.indexOf(e) !== -1;
1312
1310
  }
1313
1311
  function yi(e) {
1314
- return gi.indexOf(e) !== -1;
1312
+ return bi.indexOf(e) !== -1;
1315
1313
  }
1316
- function or(e, t, r) {
1314
+ function ar(e, t, r) {
1317
1315
  if (e === "YYYY")
1318
1316
  throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t, "`) for formatting years to the input `").concat(r, "`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));
1319
1317
  if (e === "YY")
@@ -1389,7 +1387,7 @@ var _i = {
1389
1387
  var i, o = _i[t];
1390
1388
  return typeof o == "string" ? i = o : r === 1 ? i = o.one : i = o.other.replace("{{count}}", r.toString()), n != null && n.addSuffix ? n.comparison && n.comparison > 0 ? "in " + i : i + " ago" : i;
1391
1389
  };
1392
- function vt(e) {
1390
+ function _t(e) {
1393
1391
  return function() {
1394
1392
  var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, r = t.width ? String(t.width) : e.defaultWidth, n = e.formats[r] || e.formats[e.defaultWidth];
1395
1393
  return n;
@@ -1411,15 +1409,15 @@ var xi = {
1411
1409
  medium: "{{date}}, {{time}}",
1412
1410
  short: "{{date}}, {{time}}"
1413
1411
  }, Si = {
1414
- date: vt({
1412
+ date: _t({
1415
1413
  formats: xi,
1416
1414
  defaultWidth: "full"
1417
1415
  }),
1418
- time: vt({
1416
+ time: _t({
1419
1417
  formats: Ei,
1420
1418
  defaultWidth: "full"
1421
1419
  }),
1422
- dateTime: vt({
1420
+ dateTime: _t({
1423
1421
  formats: Ti,
1424
1422
  defaultWidth: "full"
1425
1423
  })
@@ -1433,18 +1431,18 @@ var xi = {
1433
1431
  }, Pi = function(t, r, n, i) {
1434
1432
  return Ci[t];
1435
1433
  };
1436
- function Ue(e) {
1434
+ function Re(e) {
1437
1435
  return function(t, r) {
1438
1436
  var n = r != null && r.context ? String(r.context) : "standalone", i;
1439
1437
  if (n === "formatting" && e.formattingValues) {
1440
1438
  var o = e.defaultFormattingWidth || e.defaultWidth, a = r != null && r.width ? String(r.width) : o;
1441
1439
  i = e.formattingValues[a] || e.formattingValues[o];
1442
1440
  } else {
1443
- var s = e.defaultWidth, u = r != null && r.width ? String(r.width) : e.defaultWidth;
1444
- i = e.values[u] || e.values[s];
1441
+ var s = e.defaultWidth, l = r != null && r.width ? String(r.width) : e.defaultWidth;
1442
+ i = e.values[l] || e.values[s];
1445
1443
  }
1446
- var l = e.argumentCallback ? e.argumentCallback(t) : t;
1447
- return i[l];
1444
+ var u = e.argumentCallback ? e.argumentCallback(t) : t;
1445
+ return i[u];
1448
1446
  };
1449
1447
  }
1450
1448
  var Oi = {
@@ -1540,46 +1538,46 @@ var Oi = {
1540
1538
  return n + "th";
1541
1539
  }, Ni = {
1542
1540
  ordinalNumber: Li,
1543
- era: Ue({
1541
+ era: Re({
1544
1542
  values: Oi,
1545
1543
  defaultWidth: "wide"
1546
1544
  }),
1547
- quarter: Ue({
1545
+ quarter: Re({
1548
1546
  values: Hi,
1549
1547
  defaultWidth: "wide",
1550
1548
  argumentCallback: function(t) {
1551
1549
  return t - 1;
1552
1550
  }
1553
1551
  }),
1554
- month: Ue({
1552
+ month: Re({
1555
1553
  values: Mi,
1556
1554
  defaultWidth: "wide"
1557
1555
  }),
1558
- day: Ue({
1556
+ day: Re({
1559
1557
  values: Bi,
1560
1558
  defaultWidth: "wide"
1561
1559
  }),
1562
- dayPeriod: Ue({
1560
+ dayPeriod: Re({
1563
1561
  values: Ai,
1564
1562
  defaultWidth: "wide",
1565
1563
  formattingValues: ki,
1566
1564
  defaultFormattingWidth: "wide"
1567
1565
  })
1568
1566
  };
1569
- function $e(e) {
1567
+ function Ue(e) {
1570
1568
  return function(t) {
1571
1569
  var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = r.width, i = n && e.matchPatterns[n] || e.matchPatterns[e.defaultMatchWidth], o = t.match(i);
1572
1570
  if (!o)
1573
1571
  return null;
1574
- var a = o[0], s = n && e.parsePatterns[n] || e.parsePatterns[e.defaultParseWidth], u = Array.isArray(s) ? Di(s, function(h) {
1572
+ var a = o[0], s = n && e.parsePatterns[n] || e.parsePatterns[e.defaultParseWidth], l = Array.isArray(s) ? Di(s, function(h) {
1575
1573
  return h.test(a);
1576
1574
  }) : Ii(s, function(h) {
1577
1575
  return h.test(a);
1578
- }), l;
1579
- l = e.valueCallback ? e.valueCallback(u) : u, l = r.valueCallback ? r.valueCallback(l) : l;
1576
+ }), u;
1577
+ u = e.valueCallback ? e.valueCallback(l) : l, u = r.valueCallback ? r.valueCallback(u) : u;
1580
1578
  var c = t.slice(a.length);
1581
1579
  return {
1582
- value: l,
1580
+ value: u,
1583
1581
  rest: c
1584
1582
  };
1585
1583
  };
@@ -1660,13 +1658,13 @@ var Ui = /^(\d+)(th|st|nd|rd)?/i, $i = /\d+/i, Fi = {
1660
1658
  return parseInt(t, 10);
1661
1659
  }
1662
1660
  }),
1663
- era: $e({
1661
+ era: Ue({
1664
1662
  matchPatterns: Fi,
1665
1663
  defaultMatchWidth: "wide",
1666
1664
  parsePatterns: Gi,
1667
1665
  defaultParseWidth: "any"
1668
1666
  }),
1669
- quarter: $e({
1667
+ quarter: Ue({
1670
1668
  matchPatterns: ji,
1671
1669
  defaultMatchWidth: "wide",
1672
1670
  parsePatterns: Wi,
@@ -1675,19 +1673,19 @@ var Ui = /^(\d+)(th|st|nd|rd)?/i, $i = /\d+/i, Fi = {
1675
1673
  return t + 1;
1676
1674
  }
1677
1675
  }),
1678
- month: $e({
1676
+ month: Ue({
1679
1677
  matchPatterns: zi,
1680
1678
  defaultMatchWidth: "wide",
1681
1679
  parsePatterns: Yi,
1682
1680
  defaultParseWidth: "any"
1683
1681
  }),
1684
- day: $e({
1682
+ day: Ue({
1685
1683
  matchPatterns: Vi,
1686
1684
  defaultMatchWidth: "wide",
1687
1685
  parsePatterns: Xi,
1688
1686
  defaultParseWidth: "any"
1689
1687
  }),
1690
- dayPeriod: $e({
1688
+ dayPeriod: Ue({
1691
1689
  matchPatterns: qi,
1692
1690
  defaultMatchWidth: "any",
1693
1691
  parsePatterns: Qi,
@@ -1706,12 +1704,12 @@ var Ui = /^(\d+)(th|st|nd|rd)?/i, $i = /\d+/i, Fi = {
1706
1704
  }
1707
1705
  }, Ki = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, eo = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, to = /^'([^]*?)'?$/, ro = /''/g, no = /[a-zA-Z]/;
1708
1706
  function io(e, t, r) {
1709
- var n, i, o, a, s, u, l, c, h, f, m, p, b, _;
1710
- Z(2, arguments);
1711
- var w = String(t), x = lt(), E = (n = (i = void 0) !== null && i !== void 0 ? i : x.locale) !== null && n !== void 0 ? n : Ji, A = ye((o = (a = (s = (u = void 0) !== null && u !== void 0 ? u : void 0) !== null && s !== void 0 ? s : x.firstWeekContainsDate) !== null && a !== void 0 ? a : (l = x.locale) === null || l === void 0 || (c = l.options) === null || c === void 0 ? void 0 : c.firstWeekContainsDate) !== null && o !== void 0 ? o : 1);
1712
- if (!(A >= 1 && A <= 7))
1707
+ var n, i, o, a, s, l, u, c, h, f, m, g, b, _;
1708
+ Q(2, arguments);
1709
+ var w = String(t), x = ct(), E = (n = (i = void 0) !== null && i !== void 0 ? i : x.locale) !== null && n !== void 0 ? n : Ji, B = ye((o = (a = (s = (l = void 0) !== null && l !== void 0 ? l : void 0) !== null && s !== void 0 ? s : x.firstWeekContainsDate) !== null && a !== void 0 ? a : (u = x.locale) === null || u === void 0 || (c = u.options) === null || c === void 0 ? void 0 : c.firstWeekContainsDate) !== null && o !== void 0 ? o : 1);
1710
+ if (!(B >= 1 && B <= 7))
1713
1711
  throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
1714
- var T = ye((h = (f = (m = (p = void 0) !== null && p !== void 0 ? p : void 0) !== null && m !== void 0 ? m : x.weekStartsOn) !== null && f !== void 0 ? f : (b = x.locale) === null || b === void 0 || (_ = b.options) === null || _ === void 0 ? void 0 : _.weekStartsOn) !== null && h !== void 0 ? h : 0);
1712
+ var T = ye((h = (f = (m = (g = void 0) !== null && g !== void 0 ? g : void 0) !== null && m !== void 0 ? m : x.weekStartsOn) !== null && f !== void 0 ? f : (b = x.locale) === null || b === void 0 || (_ = b.options) === null || _ === void 0 ? void 0 : _.weekStartsOn) !== null && h !== void 0 ? h : 0);
1715
1713
  if (!(T >= 0 && T <= 6))
1716
1714
  throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
1717
1715
  if (!E.localize)
@@ -1721,44 +1719,44 @@ function io(e, t, r) {
1721
1719
  var R = ie(e);
1722
1720
  if (!ni(R))
1723
1721
  throw new RangeError("Invalid time value");
1724
- var J = ti(R), oe = ii(R, J), G = {
1725
- firstWeekContainsDate: A,
1722
+ var Z = ti(R), oe = ii(R, Z), F = {
1723
+ firstWeekContainsDate: B,
1726
1724
  weekStartsOn: T,
1727
1725
  locale: E,
1728
1726
  _originalDate: R
1729
- }, K = w.match(eo).map(function(I) {
1730
- var j = I[0];
1731
- if (j === "p" || j === "P") {
1732
- var X = pi[j];
1733
- return X(I, E.formatLong);
1727
+ }, J = w.match(eo).map(function(A) {
1728
+ var W = A[0];
1729
+ if (W === "p" || W === "P") {
1730
+ var X = pi[W];
1731
+ return X(A, E.formatLong);
1734
1732
  }
1735
- return I;
1736
- }).join("").match(Ki).map(function(I) {
1737
- if (I === "''")
1733
+ return A;
1734
+ }).join("").match(Ki).map(function(A) {
1735
+ if (A === "''")
1738
1736
  return "'";
1739
- var j = I[0];
1740
- if (j === "'")
1741
- return oo(I);
1742
- var X = di[j];
1737
+ var W = A[0];
1738
+ if (W === "'")
1739
+ return oo(A);
1740
+ var X = di[W];
1743
1741
  if (X)
1744
- return yi(I) && or(I, t, String(e)), vi(I) && or(I, t, String(e)), X(oe, I, E.localize, G);
1745
- if (j.match(no))
1746
- throw new RangeError("Format string contains an unescaped latin alphabet character `" + j + "`");
1747
- return I;
1742
+ return yi(A) && ar(A, t, String(e)), vi(A) && ar(A, t, String(e)), X(oe, A, E.localize, F);
1743
+ if (W.match(no))
1744
+ throw new RangeError("Format string contains an unescaped latin alphabet character `" + W + "`");
1745
+ return A;
1748
1746
  }).join("");
1749
- return K;
1747
+ return J;
1750
1748
  }
1751
1749
  function oo(e) {
1752
1750
  var t = e.match(to);
1753
1751
  return t ? t[1].replace(ro, "'") : e;
1754
1752
  }
1755
- var We = /* @__PURE__ */ ((e) => (e.lotteries = "lotteries", e.outcome = "outcome", e.draw = "draw", e))(We || {}), ve = /* @__PURE__ */ ((e) => (e.en = "en", e.default = "*", e))(ve || {});
1756
- const ao = (e) => re(void 0, null, function* () {
1753
+ var je = /* @__PURE__ */ ((e) => (e.lotteries = "lotteries", e.outcome = "outcome", e.draw = "draw", e))(je || {}), ve = /* @__PURE__ */ ((e) => (e.en = "en", e.default = "*", e))(ve || {});
1754
+ const ao = (e) => te(void 0, null, function* () {
1757
1755
  const { path: t, params: r = {}, options: n = {} } = e, i = new URL(t);
1758
1756
  return Object.keys(r).map((o) => {
1759
1757
  i.searchParams.append(o, r[o]);
1760
1758
  }), yield so(i, n);
1761
- }), so = (r, ...n) => re(void 0, [r, ...n], function* (e, t = {}) {
1759
+ }), so = (r, ...n) => te(void 0, [r, ...n], function* (e, t = {}) {
1762
1760
  let i;
1763
1761
  try {
1764
1762
  i = yield fetch(e, t), i = yield i.text(), i = JSON.parse(i);
@@ -1766,21 +1764,21 @@ const ao = (e) => re(void 0, null, function* () {
1766
1764
  throw new Error(o.message);
1767
1765
  }
1768
1766
  return i;
1769
- }), ar = (e, t, r) => re(void 0, null, function* () {
1767
+ }), sr = (e, t, r) => te(void 0, null, function* () {
1770
1768
  const { session: n } = r, i = {
1771
- headers: qe({
1769
+ headers: Qe({
1772
1770
  "Content-Type": "application/json",
1773
1771
  accept: "text/plain"
1774
1772
  }, n ? { "x-SessionId": n } : {})
1775
1773
  }, a = {
1776
- [We.lotteries]: () => ({
1774
+ [je.lotteries]: () => ({
1777
1775
  path: "/wof/lotteries",
1778
1776
  params: {
1779
1777
  filter: "Types[]=flipCoin"
1780
1778
  },
1781
1779
  options: i
1782
1780
  }),
1783
- [We.outcome]: () => {
1781
+ [je.outcome]: () => {
1784
1782
  const { id: s } = r;
1785
1783
  return {
1786
1784
  path: `/wof/outcome/${s}`,
@@ -1792,34 +1790,34 @@ const ao = (e) => re(void 0, null, function* () {
1792
1790
  }
1793
1791
  }[e]();
1794
1792
  return a.path = t + "/v1" + a.path, yield ao(a);
1795
- }), sr = {
1796
- lotteries: (e, t) => re(void 0, null, function* () {
1797
- const r = yield ar(We.lotteries, e, { session: t });
1793
+ }), ur = {
1794
+ lotteries: (e, t) => te(void 0, null, function* () {
1795
+ const r = yield sr(je.lotteries, e, { session: t });
1798
1796
  return (r == null ? void 0 : r.items) || [];
1799
1797
  }),
1800
- outcome: (e, t, r) => re(void 0, null, function* () {
1801
- return yield ar(We.outcome, e, { session: t, id: r });
1798
+ outcome: (e, t, r) => te(void 0, null, function* () {
1799
+ return yield sr(je.outcome, e, { session: t, id: r });
1802
1800
  })
1803
- }, lo = (e) => {
1801
+ }, uo = (e) => {
1804
1802
  var t;
1805
1803
  return +((t = e == null ? void 0 : e.current) == null ? void 0 : t.remainingTimes) > 0;
1806
1804
  }, Se = [];
1807
- function uo(e, t) {
1805
+ function lo(e, t) {
1808
1806
  return {
1809
- subscribe: ut(e, t).subscribe
1807
+ subscribe: ht(e, t).subscribe
1810
1808
  };
1811
1809
  }
1812
- function ut(e, t = V) {
1810
+ function ht(e, t = V) {
1813
1811
  let r;
1814
1812
  const n = /* @__PURE__ */ new Set();
1815
1813
  function i(s) {
1816
- if ($r(e, s) && (e = s, r)) {
1817
- const u = !Se.length;
1818
- for (const l of n)
1819
- l[1](), Se.push(l, e);
1820
- if (u) {
1821
- for (let l = 0; l < Se.length; l += 2)
1822
- Se[l][0](Se[l + 1]);
1814
+ if (Fr(e, s) && (e = s, r)) {
1815
+ const l = !Se.length;
1816
+ for (const u of n)
1817
+ u[1](), Se.push(u, e);
1818
+ if (l) {
1819
+ for (let u = 0; u < Se.length; u += 2)
1820
+ Se[u][0](Se[u + 1]);
1823
1821
  Se.length = 0;
1824
1822
  }
1825
1823
  }
@@ -1827,42 +1825,42 @@ function ut(e, t = V) {
1827
1825
  function o(s) {
1828
1826
  i(s(e));
1829
1827
  }
1830
- function a(s, u = V) {
1831
- const l = [s, u];
1832
- return n.add(l), n.size === 1 && (r = t(i, o) || V), s(e), () => {
1833
- n.delete(l), n.size === 0 && r && (r(), r = null);
1828
+ function a(s, l = V) {
1829
+ const u = [s, l];
1830
+ return n.add(u), n.size === 1 && (r = t(i, o) || V), s(e), () => {
1831
+ n.delete(u), n.size === 0 && r && (r(), r = null);
1834
1832
  };
1835
1833
  }
1836
1834
  return { set: i, update: o, subscribe: a };
1837
1835
  }
1838
- function Ie(e, t, r) {
1836
+ function Ne(e, t, r) {
1839
1837
  const n = !Array.isArray(e), i = n ? [e] : e;
1840
1838
  if (!i.every(Boolean))
1841
1839
  throw new Error("derived() expects stores as input, got a falsy value");
1842
1840
  const o = t.length < 2;
1843
- return uo(r, (a, s) => {
1844
- let u = !1;
1845
- const l = [];
1841
+ return lo(r, (a, s) => {
1842
+ let l = !1;
1843
+ const u = [];
1846
1844
  let c = 0, h = V;
1847
1845
  const f = () => {
1848
1846
  if (c)
1849
1847
  return;
1850
1848
  h();
1851
- const p = t(n ? l[0] : l, a, s);
1852
- o ? a(p) : h = Gt(p) ? p : V;
1849
+ const g = t(n ? u[0] : u, a, s);
1850
+ o ? a(g) : h = Yt(g) ? g : V;
1853
1851
  }, m = i.map(
1854
- (p, b) => Fr(
1855
- p,
1852
+ (g, b) => Gr(
1853
+ g,
1856
1854
  (_) => {
1857
- l[b] = _, c &= ~(1 << b), u && f();
1855
+ u[b] = _, c &= ~(1 << b), l && f();
1858
1856
  },
1859
1857
  () => {
1860
1858
  c |= 1 << b;
1861
1859
  }
1862
1860
  )
1863
1861
  );
1864
- return u = !0, f(), function() {
1865
- Le(m), h(), u = !1;
1862
+ return l = !0, f(), function() {
1863
+ ke(m), h(), l = !1;
1866
1864
  };
1867
1865
  });
1868
1866
  }
@@ -1877,28 +1875,28 @@ function fo(e) {
1877
1875
  }
1878
1876
  function mo(e) {
1879
1877
  var t = Object.prototype.toString.call(e);
1880
- return t === "[object RegExp]" || t === "[object Date]" || go(e);
1878
+ return t === "[object RegExp]" || t === "[object Date]" || bo(e);
1881
1879
  }
1882
- var po = typeof Symbol == "function" && Symbol.for, bo = po ? Symbol.for("react.element") : 60103;
1883
- function go(e) {
1884
- return e.$$typeof === bo;
1880
+ var po = typeof Symbol == "function" && Symbol.for, go = po ? Symbol.for("react.element") : 60103;
1881
+ function bo(e) {
1882
+ return e.$$typeof === go;
1885
1883
  }
1886
1884
  function vo(e) {
1887
1885
  return Array.isArray(e) ? [] : {};
1888
1886
  }
1889
- function ze(e, t) {
1890
- return t.clone !== !1 && t.isMergeableObject(e) ? Me(vo(e), e, t) : e;
1887
+ function We(e, t) {
1888
+ return t.clone !== !1 && t.isMergeableObject(e) ? He(vo(e), e, t) : e;
1891
1889
  }
1892
1890
  function yo(e, t, r) {
1893
1891
  return e.concat(t).map(function(n) {
1894
- return ze(n, r);
1892
+ return We(n, r);
1895
1893
  });
1896
1894
  }
1897
1895
  function _o(e, t) {
1898
1896
  if (!t.customMerge)
1899
- return Me;
1897
+ return He;
1900
1898
  var r = t.customMerge(e);
1901
- return typeof r == "function" ? r : Me;
1899
+ return typeof r == "function" ? r : He;
1902
1900
  }
1903
1901
  function wo(e) {
1904
1902
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
@@ -1908,7 +1906,7 @@ function wo(e) {
1908
1906
  function lr(e) {
1909
1907
  return Object.keys(e).concat(wo(e));
1910
1908
  }
1911
- function Yr(e, t) {
1909
+ function Vr(e, t) {
1912
1910
  try {
1913
1911
  return t in e;
1914
1912
  } catch (r) {
@@ -1916,70 +1914,56 @@ function Yr(e, t) {
1916
1914
  }
1917
1915
  }
1918
1916
  function xo(e, t) {
1919
- return Yr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1917
+ return Vr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1920
1918
  }
1921
1919
  function Eo(e, t, r) {
1922
1920
  var n = {};
1923
1921
  return r.isMergeableObject(e) && lr(e).forEach(function(i) {
1924
- n[i] = ze(e[i], r);
1922
+ n[i] = We(e[i], r);
1925
1923
  }), lr(t).forEach(function(i) {
1926
- xo(e, i) || (Yr(e, i) && r.isMergeableObject(t[i]) ? n[i] = _o(i, r)(e[i], t[i], r) : n[i] = ze(t[i], r));
1924
+ xo(e, i) || (Vr(e, i) && r.isMergeableObject(t[i]) ? n[i] = _o(i, r)(e[i], t[i], r) : n[i] = We(t[i], r));
1927
1925
  }), n;
1928
1926
  }
1929
- function Me(e, t, r) {
1930
- r = r || {}, r.arrayMerge = r.arrayMerge || yo, r.isMergeableObject = r.isMergeableObject || ho, r.cloneUnlessOtherwiseSpecified = ze;
1927
+ function He(e, t, r) {
1928
+ r = r || {}, r.arrayMerge = r.arrayMerge || yo, r.isMergeableObject = r.isMergeableObject || ho, r.cloneUnlessOtherwiseSpecified = We;
1931
1929
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1932
- return o ? n ? r.arrayMerge(e, t, r) : Eo(e, t, r) : ze(t, r);
1930
+ return o ? n ? r.arrayMerge(e, t, r) : Eo(e, t, r) : We(t, r);
1933
1931
  }
1934
- Me.all = function(t, r) {
1932
+ He.all = function(t, r) {
1935
1933
  if (!Array.isArray(t))
1936
1934
  throw new Error("first argument should be an array");
1937
1935
  return t.reduce(function(n, i) {
1938
- return Me(n, i, r);
1936
+ return He(n, i, r);
1939
1937
  }, {});
1940
1938
  };
1941
- var To = Me, So = To;
1939
+ var To = He, So = To;
1942
1940
  const Co = /* @__PURE__ */ co(So);
1943
- /*! *****************************************************************************
1944
- Copyright (c) Microsoft Corporation.
1945
-
1946
- Permission to use, copy, modify, and/or distribute this software for any
1947
- purpose with or without fee is hereby granted.
1948
-
1949
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
1950
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
1951
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
1952
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
1953
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
1954
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
1955
- PERFORMANCE OF THIS SOFTWARE.
1956
- ***************************************************************************** */
1957
- var Ht = function(e, t) {
1958
- return Ht = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1941
+ var Bt = function(e, t) {
1942
+ return Bt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1959
1943
  r.__proto__ = n;
1960
1944
  } || function(r, n) {
1961
1945
  for (var i in n)
1962
1946
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1963
- }, Ht(e, t);
1947
+ }, Bt(e, t);
1964
1948
  };
1965
- function fe(e, t) {
1949
+ function ft(e, t) {
1966
1950
  if (typeof t != "function" && t !== null)
1967
1951
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1968
- Ht(e, t);
1952
+ Bt(e, t);
1969
1953
  function r() {
1970
1954
  this.constructor = e;
1971
1955
  }
1972
1956
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1973
1957
  }
1974
- var O = function() {
1975
- return O = Object.assign || function(t) {
1958
+ var ne = function() {
1959
+ return ne = Object.assign || function(t) {
1976
1960
  for (var r, n = 1, i = arguments.length; n < i; n++) {
1977
1961
  r = arguments[n];
1978
1962
  for (var o in r)
1979
1963
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1980
1964
  }
1981
1965
  return t;
1982
- }, O.apply(this, arguments);
1966
+ }, ne.apply(this, arguments);
1983
1967
  };
1984
1968
  function Po(e, t) {
1985
1969
  var r = {};
@@ -1990,46 +1974,14 @@ function Po(e, t) {
1990
1974
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1991
1975
  return r;
1992
1976
  }
1993
- function Mt(e) {
1994
- var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
1995
- if (r)
1996
- return r.call(e);
1997
- if (e && typeof e.length == "number")
1998
- return {
1999
- next: function() {
2000
- return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
2001
- }
2002
- };
2003
- throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
2004
- }
2005
- function Bt(e, t) {
2006
- var r = typeof Symbol == "function" && e[Symbol.iterator];
2007
- if (!r)
2008
- return e;
2009
- var n = r.call(e), i, o = [], a;
2010
- try {
2011
- for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
2012
- o.push(i.value);
2013
- } catch (s) {
2014
- a = { error: s };
2015
- } finally {
2016
- try {
2017
- i && !i.done && (r = n.return) && r.call(n);
2018
- } finally {
2019
- if (a)
2020
- throw a.error;
2021
- }
2022
- }
2023
- return o;
2024
- }
2025
- function Oe(e, t, r) {
1977
+ function wt(e, t, r) {
2026
1978
  if (r || arguments.length === 2)
2027
1979
  for (var n = 0, i = t.length, o; n < i; n++)
2028
1980
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
2029
- return e.concat(o || t);
1981
+ return e.concat(o || Array.prototype.slice.call(t));
2030
1982
  }
2031
- function yt(e, t) {
2032
- var r = t && t.cache ? t.cache : ko, n = t && t.serializer ? t.serializer : Ao, i = t && t.strategy ? t.strategy : Ho;
1983
+ function xt(e, t) {
1984
+ var r = t && t.cache ? t.cache : Lo, n = t && t.serializer ? t.serializer : Ao, i = t && t.strategy ? t.strategy : Mo;
2033
1985
  return i(e, {
2034
1986
  cache: r,
2035
1987
  serializer: n
@@ -2038,7 +1990,7 @@ function yt(e, t) {
2038
1990
  function Oo(e) {
2039
1991
  return e == null || typeof e == "number" || typeof e == "boolean";
2040
1992
  }
2041
- function Vr(e, t, r, n) {
1993
+ function Ho(e, t, r, n) {
2042
1994
  var i = Oo(n) ? n : r(n), o = t.get(i);
2043
1995
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
2044
1996
  }
@@ -2046,87 +1998,95 @@ function Xr(e, t, r) {
2046
1998
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
2047
1999
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
2048
2000
  }
2049
- function jt(e, t, r, n, i) {
2001
+ function qr(e, t, r, n, i) {
2050
2002
  return r.bind(t, e, n, i);
2051
2003
  }
2052
- function Ho(e, t) {
2053
- var r = e.length === 1 ? Vr : Xr;
2054
- return jt(e, this, r, t.cache.create(), t.serializer);
2055
- }
2056
2004
  function Mo(e, t) {
2057
- return jt(e, this, Xr, t.cache.create(), t.serializer);
2005
+ var r = e.length === 1 ? Ho : Xr;
2006
+ return qr(e, this, r, t.cache.create(), t.serializer);
2058
2007
  }
2059
2008
  function Bo(e, t) {
2060
- return jt(e, this, Vr, t.cache.create(), t.serializer);
2009
+ return qr(e, this, Xr, t.cache.create(), t.serializer);
2061
2010
  }
2062
2011
  var Ao = function() {
2063
2012
  return JSON.stringify(arguments);
2064
- };
2065
- function Wt() {
2066
- this.cache = /* @__PURE__ */ Object.create(null);
2067
- }
2068
- Wt.prototype.get = function(e) {
2069
- return this.cache[e];
2070
- };
2071
- Wt.prototype.set = function(e, t) {
2072
- this.cache[e] = t;
2073
- };
2074
- var ko = {
2013
+ }, ko = (
2014
+ /** @class */
2015
+ function() {
2016
+ function e() {
2017
+ this.cache = /* @__PURE__ */ Object.create(null);
2018
+ }
2019
+ return e.prototype.get = function(t) {
2020
+ return this.cache[t];
2021
+ }, e.prototype.set = function(t, r) {
2022
+ this.cache[t] = r;
2023
+ }, e;
2024
+ }()
2025
+ ), Lo = {
2075
2026
  create: function() {
2076
- return new Wt();
2027
+ return new ko();
2077
2028
  }
2078
- }, _t = {
2079
- variadic: Mo,
2080
- monadic: Bo
2081
- }, S;
2029
+ }, Et = {
2030
+ variadic: Bo
2031
+ }, st = function() {
2032
+ return st = Object.assign || function(t) {
2033
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
2034
+ r = arguments[n];
2035
+ for (var o in r)
2036
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
2037
+ }
2038
+ return t;
2039
+ }, st.apply(this, arguments);
2040
+ };
2041
+ var C;
2082
2042
  (function(e) {
2083
2043
  e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
2084
- })(S || (S = {}));
2085
- var L;
2044
+ })(C || (C = {}));
2045
+ var k;
2086
2046
  (function(e) {
2087
2047
  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";
2088
- })(L || (L = {}));
2089
- var Be;
2048
+ })(k || (k = {}));
2049
+ var Me;
2090
2050
  (function(e) {
2091
2051
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
2092
- })(Be || (Be = {}));
2093
- function ur(e) {
2094
- return e.type === L.literal;
2052
+ })(Me || (Me = {}));
2053
+ function cr(e) {
2054
+ return e.type === k.literal;
2095
2055
  }
2096
- function Lo(e) {
2097
- return e.type === L.argument;
2098
- }
2099
- function qr(e) {
2100
- return e.type === L.number;
2056
+ function No(e) {
2057
+ return e.type === k.argument;
2101
2058
  }
2102
2059
  function Qr(e) {
2103
- return e.type === L.date;
2060
+ return e.type === k.number;
2104
2061
  }
2105
2062
  function Zr(e) {
2106
- return e.type === L.time;
2063
+ return e.type === k.date;
2107
2064
  }
2108
2065
  function Jr(e) {
2109
- return e.type === L.select;
2066
+ return e.type === k.time;
2110
2067
  }
2111
2068
  function Kr(e) {
2112
- return e.type === L.plural;
2113
- }
2114
- function No(e) {
2115
- return e.type === L.pound;
2069
+ return e.type === k.select;
2116
2070
  }
2117
2071
  function en(e) {
2118
- return e.type === L.tag;
2072
+ return e.type === k.plural;
2073
+ }
2074
+ function Io(e) {
2075
+ return e.type === k.pound;
2119
2076
  }
2120
2077
  function tn(e) {
2121
- return !!(e && typeof e == "object" && e.type === Be.number);
2078
+ return e.type === k.tag;
2079
+ }
2080
+ function rn(e) {
2081
+ return !!(e && typeof e == "object" && e.type === Me.number);
2122
2082
  }
2123
2083
  function At(e) {
2124
- return !!(e && typeof e == "object" && e.type === Be.dateTime);
2084
+ return !!(e && typeof e == "object" && e.type === Me.dateTime);
2125
2085
  }
2126
- var rn = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Io = /(?:[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;
2127
- function Do(e) {
2086
+ var nn = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Do = /(?:[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;
2087
+ function Ro(e) {
2128
2088
  var t = {};
2129
- return e.replace(Io, function(r) {
2089
+ return e.replace(Do, function(r) {
2130
2090
  var n = r.length;
2131
2091
  switch (r[0]) {
2132
2092
  case "G":
@@ -2215,36 +2175,46 @@ function Do(e) {
2215
2175
  return "";
2216
2176
  }), t;
2217
2177
  }
2218
- var Ro = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
2219
- function Uo(e) {
2178
+ var I = function() {
2179
+ return I = Object.assign || function(t) {
2180
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
2181
+ r = arguments[n];
2182
+ for (var o in r)
2183
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
2184
+ }
2185
+ return t;
2186
+ }, I.apply(this, arguments);
2187
+ };
2188
+ var Uo = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
2189
+ function $o(e) {
2220
2190
  if (e.length === 0)
2221
2191
  throw new Error("Number skeleton cannot be empty");
2222
- for (var t = e.split(Ro).filter(function(f) {
2192
+ for (var t = e.split(Uo).filter(function(f) {
2223
2193
  return f.length > 0;
2224
2194
  }), r = [], n = 0, i = t; n < i.length; n++) {
2225
2195
  var o = i[n], a = o.split("/");
2226
2196
  if (a.length === 0)
2227
2197
  throw new Error("Invalid number skeleton");
2228
- for (var s = a[0], u = a.slice(1), l = 0, c = u; l < c.length; l++) {
2229
- var h = c[l];
2198
+ for (var s = a[0], l = a.slice(1), u = 0, c = l; u < c.length; u++) {
2199
+ var h = c[u];
2230
2200
  if (h.length === 0)
2231
2201
  throw new Error("Invalid number skeleton");
2232
2202
  }
2233
- r.push({ stem: s, options: u });
2203
+ r.push({ stem: s, options: l });
2234
2204
  }
2235
2205
  return r;
2236
2206
  }
2237
- function $o(e) {
2207
+ function Fo(e) {
2238
2208
  return e.replace(/^(.*?)-/, "");
2239
2209
  }
2240
- var cr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, nn = /^(@+)?(\+|#+)?[rs]?$/g, Fo = /(\*)(0+)|(#+)(0+)|(0+)/g, on = /^(0+)$/;
2241
- function hr(e) {
2210
+ var hr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, on = /^(@+)?(\+|#+)?[rs]?$/g, Go = /(\*)(0+)|(#+)(0+)|(0+)/g, an = /^(0+)$/;
2211
+ function fr(e) {
2242
2212
  var t = {};
2243
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(nn, function(r, n, i) {
2213
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(on, function(r, n, i) {
2244
2214
  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)), "";
2245
2215
  }), t;
2246
2216
  }
2247
- function an(e) {
2217
+ function sn(e) {
2248
2218
  switch (e) {
2249
2219
  case "sign-auto":
2250
2220
  return {
@@ -2284,7 +2254,7 @@ function an(e) {
2284
2254
  };
2285
2255
  }
2286
2256
  }
2287
- function Go(e) {
2257
+ function jo(e) {
2288
2258
  var t;
2289
2259
  if (e[0] === "E" && e[1] === "E" ? (t = {
2290
2260
  notation: "engineering"
@@ -2292,17 +2262,17 @@ function Go(e) {
2292
2262
  notation: "scientific"
2293
2263
  }, e = e.slice(1)), t) {
2294
2264
  var r = e.slice(0, 2);
2295
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !on.test(e))
2265
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !an.test(e))
2296
2266
  throw new Error("Malformed concise eng/scientific notation");
2297
2267
  t.minimumIntegerDigits = e.length;
2298
2268
  }
2299
2269
  return t;
2300
2270
  }
2301
- function fr(e) {
2302
- var t = {}, r = an(e);
2271
+ function dr(e) {
2272
+ var t = {}, r = sn(e);
2303
2273
  return r || t;
2304
2274
  }
2305
- function jo(e) {
2275
+ function Wo(e) {
2306
2276
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
2307
2277
  var i = n[r];
2308
2278
  switch (i.stem) {
@@ -2326,7 +2296,7 @@ function jo(e) {
2326
2296
  continue;
2327
2297
  case "measure-unit":
2328
2298
  case "unit":
2329
- t.style = "unit", t.unit = $o(i.options[0]);
2299
+ t.style = "unit", t.unit = Fo(i.options[0]);
2330
2300
  continue;
2331
2301
  case "compact-short":
2332
2302
  case "K":
@@ -2337,13 +2307,13 @@ function jo(e) {
2337
2307
  t.notation = "compact", t.compactDisplay = "long";
2338
2308
  continue;
2339
2309
  case "scientific":
2340
- t = O(O(O({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
2341
- return O(O({}, u), fr(l));
2310
+ t = I(I(I({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
2311
+ return I(I({}, l), dr(u));
2342
2312
  }, {}));
2343
2313
  continue;
2344
2314
  case "engineering":
2345
- t = O(O(O({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
2346
- return O(O({}, u), fr(l));
2315
+ t = I(I(I({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
2316
+ return I(I({}, l), dr(u));
2347
2317
  }, {}));
2348
2318
  continue;
2349
2319
  case "notation-simple":
@@ -2388,8 +2358,8 @@ function jo(e) {
2388
2358
  case "integer-width":
2389
2359
  if (i.options.length > 1)
2390
2360
  throw new RangeError("integer-width stems only accept a single optional option");
2391
- i.options[0].replace(Fo, function(u, l, c, h, f, m) {
2392
- if (l)
2361
+ i.options[0].replace(Go, function(l, u, c, h, f, m) {
2362
+ if (u)
2393
2363
  t.minimumIntegerDigits = c.length;
2394
2364
  else {
2395
2365
  if (h && f)
@@ -2401,32 +2371,32 @@ function jo(e) {
2401
2371
  });
2402
2372
  continue;
2403
2373
  }
2404
- if (on.test(i.stem)) {
2374
+ if (an.test(i.stem)) {
2405
2375
  t.minimumIntegerDigits = i.stem.length;
2406
2376
  continue;
2407
2377
  }
2408
- if (cr.test(i.stem)) {
2378
+ if (hr.test(i.stem)) {
2409
2379
  if (i.options.length > 1)
2410
2380
  throw new RangeError("Fraction-precision stems only accept a single optional option");
2411
- i.stem.replace(cr, function(u, l, c, h, f, m) {
2412
- return c === "*" ? t.minimumFractionDigits = l.length : h && h[0] === "#" ? t.maximumFractionDigits = h.length : f && m ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + m.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
2381
+ i.stem.replace(hr, function(l, u, c, h, f, m) {
2382
+ return c === "*" ? t.minimumFractionDigits = u.length : h && h[0] === "#" ? t.maximumFractionDigits = h.length : f && m ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + m.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
2413
2383
  });
2414
2384
  var o = i.options[0];
2415
- o === "w" ? t = O(O({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = O(O({}, t), hr(o)));
2385
+ o === "w" ? t = I(I({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = I(I({}, t), fr(o)));
2416
2386
  continue;
2417
2387
  }
2418
- if (nn.test(i.stem)) {
2419
- t = O(O({}, t), hr(i.stem));
2388
+ if (on.test(i.stem)) {
2389
+ t = I(I({}, t), fr(i.stem));
2420
2390
  continue;
2421
2391
  }
2422
- var a = an(i.stem);
2423
- a && (t = O(O({}, t), a));
2424
- var s = Go(i.stem);
2425
- s && (t = O(O({}, t), s));
2392
+ var a = sn(i.stem);
2393
+ a && (t = I(I({}, t), a));
2394
+ var s = jo(i.stem);
2395
+ s && (t = I(I({}, t), s));
2426
2396
  }
2427
2397
  return t;
2428
2398
  }
2429
- var Ze = {
2399
+ var Je = {
2430
2400
  "001": [
2431
2401
  "H",
2432
2402
  "h"
@@ -3841,23 +3811,23 @@ var Ze = {
3841
3811
  "h"
3842
3812
  ]
3843
3813
  };
3844
- function Wo(e, t) {
3814
+ function zo(e, t) {
3845
3815
  for (var r = "", n = 0; n < e.length; n++) {
3846
3816
  var i = e.charAt(n);
3847
3817
  if (i === "j") {
3848
3818
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3849
3819
  o++, n++;
3850
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = zo(t);
3851
- for ((l == "H" || l == "k") && (s = 0); s-- > 0; )
3852
- r += u;
3820
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Yo(t);
3821
+ for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
3822
+ r += l;
3853
3823
  for (; a-- > 0; )
3854
- r = l + r;
3824
+ r = u + r;
3855
3825
  } else
3856
3826
  i === "J" ? r += "H" : r += i;
3857
3827
  }
3858
3828
  return r;
3859
3829
  }
3860
- function zo(e) {
3830
+ function Yo(e) {
3861
3831
  var t = e.hourCycle;
3862
3832
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3863
3833
  e.hourCycles && // @ts-ignore
@@ -3876,23 +3846,23 @@ function zo(e) {
3876
3846
  }
3877
3847
  var r = e.language, n;
3878
3848
  r !== "root" && (n = e.maximize().region);
3879
- var i = Ze[n || ""] || Ze[r || ""] || Ze["".concat(r, "-001")] || Ze["001"];
3849
+ var i = Je[n || ""] || Je[r || ""] || Je["".concat(r, "-001")] || Je["001"];
3880
3850
  return i[0];
3881
3851
  }
3882
- var wt, Yo = new RegExp("^".concat(rn.source, "*")), Vo = new RegExp("".concat(rn.source, "*$"));
3883
- function C(e, t) {
3852
+ var Tt, Vo = new RegExp("^".concat(nn.source, "*")), Xo = new RegExp("".concat(nn.source, "*$"));
3853
+ function P(e, t) {
3884
3854
  return { start: e, end: t };
3885
3855
  }
3886
- var Xo = !!String.prototype.startsWith && "_a".startsWith("a", 1), qo = !!String.fromCodePoint, Qo = !!Object.fromEntries, Zo = !!String.prototype.codePointAt, Jo = !!String.prototype.trimStart, Ko = !!String.prototype.trimEnd, ea = !!Number.isSafeInteger, ta = ea ? Number.isSafeInteger : function(e) {
3856
+ var qo = !!String.prototype.startsWith && "_a".startsWith("a", 1), Qo = !!String.fromCodePoint, Zo = !!Object.fromEntries, Jo = !!String.prototype.codePointAt, Ko = !!String.prototype.trimStart, ea = !!String.prototype.trimEnd, ta = !!Number.isSafeInteger, ra = ta ? Number.isSafeInteger : function(e) {
3887
3857
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3888
3858
  }, kt = !0;
3889
3859
  try {
3890
- var ra = ln("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3891
- kt = ((wt = ra.exec("a")) === null || wt === void 0 ? void 0 : wt[0]) === "a";
3860
+ var na = ln("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3861
+ kt = ((Tt = na.exec("a")) === null || Tt === void 0 ? void 0 : Tt[0]) === "a";
3892
3862
  } catch (e) {
3893
3863
  kt = !1;
3894
3864
  }
3895
- var dr = Xo ? (
3865
+ var mr = qo ? (
3896
3866
  // Native
3897
3867
  function(t, r, n) {
3898
3868
  return t.startsWith(r, n);
@@ -3902,7 +3872,7 @@ var dr = Xo ? (
3902
3872
  function(t, r, n) {
3903
3873
  return t.slice(n, n + r.length) === r;
3904
3874
  }
3905
- ), Lt = qo ? String.fromCodePoint : (
3875
+ ), Lt = Qo ? String.fromCodePoint : (
3906
3876
  // IE11
3907
3877
  function() {
3908
3878
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3914,9 +3884,9 @@ var dr = Xo ? (
3914
3884
  }
3915
3885
  return n;
3916
3886
  }
3917
- ), mr = (
3887
+ ), pr = (
3918
3888
  // native
3919
- Qo ? Object.fromEntries : (
3889
+ Zo ? Object.fromEntries : (
3920
3890
  // Ponyfill
3921
3891
  function(t) {
3922
3892
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3926,7 +3896,7 @@ var dr = Xo ? (
3926
3896
  return r;
3927
3897
  }
3928
3898
  )
3929
- ), sn = Zo ? (
3899
+ ), un = Jo ? (
3930
3900
  // Native
3931
3901
  function(t, r) {
3932
3902
  return t.codePointAt(r);
@@ -3940,7 +3910,7 @@ var dr = Xo ? (
3940
3910
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3941
3911
  }
3942
3912
  }
3943
- ), na = Jo ? (
3913
+ ), ia = Ko ? (
3944
3914
  // Native
3945
3915
  function(t) {
3946
3916
  return t.trimStart();
@@ -3948,9 +3918,9 @@ var dr = Xo ? (
3948
3918
  ) : (
3949
3919
  // Ponyfill
3950
3920
  function(t) {
3951
- return t.replace(Yo, "");
3921
+ return t.replace(Vo, "");
3952
3922
  }
3953
- ), ia = Ko ? (
3923
+ ), oa = ea ? (
3954
3924
  // Native
3955
3925
  function(t) {
3956
3926
  return t.trimEnd();
@@ -3958,7 +3928,7 @@ var dr = Xo ? (
3958
3928
  ) : (
3959
3929
  // Ponyfill
3960
3930
  function(t) {
3961
- return t.replace(Vo, "");
3931
+ return t.replace(Xo, "");
3962
3932
  }
3963
3933
  );
3964
3934
  function ln(e, t) {
@@ -3966,24 +3936,24 @@ function ln(e, t) {
3966
3936
  }
3967
3937
  var Nt;
3968
3938
  if (kt) {
3969
- var pr = ln("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3939
+ var gr = ln("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3970
3940
  Nt = function(t, r) {
3971
3941
  var n;
3972
- pr.lastIndex = r;
3973
- var i = pr.exec(t);
3942
+ gr.lastIndex = r;
3943
+ var i = gr.exec(t);
3974
3944
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3975
3945
  };
3976
3946
  } else
3977
3947
  Nt = function(t, r) {
3978
3948
  for (var n = []; ; ) {
3979
- var i = sn(t, r);
3980
- if (i === void 0 || un(i) || la(i))
3949
+ var i = un(t, r);
3950
+ if (i === void 0 || cn(i) || la(i))
3981
3951
  break;
3982
3952
  n.push(i), r += i >= 65536 ? 2 : 1;
3983
3953
  }
3984
3954
  return Lt.apply(void 0, n);
3985
3955
  };
3986
- var oa = (
3956
+ var aa = (
3987
3957
  /** @class */
3988
3958
  function() {
3989
3959
  function e(t, r) {
@@ -4007,13 +3977,13 @@ var oa = (
4007
3977
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
4008
3978
  var s = this.clonePosition();
4009
3979
  this.bump(), i.push({
4010
- type: L.pound,
4011
- location: C(s, this.clonePosition())
3980
+ type: k.pound,
3981
+ location: P(s, this.clonePosition())
4012
3982
  });
4013
3983
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
4014
3984
  if (n)
4015
3985
  break;
4016
- return this.error(S.UNMATCHED_CLOSING_TAG, C(this.clonePosition(), this.clonePosition()));
3986
+ return this.error(C.UNMATCHED_CLOSING_TAG, P(this.clonePosition(), this.clonePosition()));
4017
3987
  } else if (o === 60 && !this.ignoreTag && It(this.peek() || 0)) {
4018
3988
  var a = this.parseTag(t, r);
4019
3989
  if (a.err)
@@ -4035,9 +4005,9 @@ var oa = (
4035
4005
  if (this.bumpSpace(), this.bumpIf("/>"))
4036
4006
  return {
4037
4007
  val: {
4038
- type: L.literal,
4008
+ type: k.literal,
4039
4009
  value: "<".concat(i, "/>"),
4040
- location: C(n, this.clonePosition())
4010
+ location: P(n, this.clonePosition())
4041
4011
  },
4042
4012
  err: null
4043
4013
  };
@@ -4048,24 +4018,24 @@ var oa = (
4048
4018
  var a = o.val, s = this.clonePosition();
4049
4019
  if (this.bumpIf("</")) {
4050
4020
  if (this.isEOF() || !It(this.char()))
4051
- return this.error(S.INVALID_TAG, C(s, this.clonePosition()));
4052
- var u = this.clonePosition(), l = this.parseTagName();
4053
- return i !== l ? this.error(S.UNMATCHED_CLOSING_TAG, C(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
4021
+ return this.error(C.INVALID_TAG, P(s, this.clonePosition()));
4022
+ var l = this.clonePosition(), u = this.parseTagName();
4023
+ return i !== u ? this.error(C.UNMATCHED_CLOSING_TAG, P(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
4054
4024
  val: {
4055
- type: L.tag,
4025
+ type: k.tag,
4056
4026
  value: i,
4057
4027
  children: a,
4058
- location: C(n, this.clonePosition())
4028
+ location: P(n, this.clonePosition())
4059
4029
  },
4060
4030
  err: null
4061
- } : this.error(S.INVALID_TAG, C(s, this.clonePosition())));
4031
+ } : this.error(C.INVALID_TAG, P(s, this.clonePosition())));
4062
4032
  } else
4063
- return this.error(S.UNCLOSED_TAG, C(n, this.clonePosition()));
4033
+ return this.error(C.UNCLOSED_TAG, P(n, this.clonePosition()));
4064
4034
  } else
4065
- return this.error(S.INVALID_TAG, C(n, this.clonePosition()));
4035
+ return this.error(C.INVALID_TAG, P(n, this.clonePosition()));
4066
4036
  }, e.prototype.parseTagName = function() {
4067
4037
  var t = this.offset();
4068
- for (this.bump(); !this.isEOF() && sa(this.char()); )
4038
+ for (this.bump(); !this.isEOF() && ua(this.char()); )
4069
4039
  this.bump();
4070
4040
  return this.message.slice(t, this.offset());
4071
4041
  }, e.prototype.parseLiteral = function(t, r) {
@@ -4087,14 +4057,14 @@ var oa = (
4087
4057
  }
4088
4058
  break;
4089
4059
  }
4090
- var u = C(n, this.clonePosition());
4060
+ var l = P(n, this.clonePosition());
4091
4061
  return {
4092
- val: { type: L.literal, value: i, location: u },
4062
+ val: { type: k.literal, value: i, location: l },
4093
4063
  err: null
4094
4064
  };
4095
4065
  }, e.prototype.tryParseLeftAngleBracket = function() {
4096
4066
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
4097
- !aa(this.peek() || 0)) ? (this.bump(), "<") : null;
4067
+ !sa(this.peek() || 0)) ? (this.bump(), "<") : null;
4098
4068
  }, e.prototype.tryParseQuote = function(t) {
4099
4069
  if (this.isEOF() || this.char() !== 39)
4100
4070
  return null;
@@ -4137,79 +4107,79 @@ var oa = (
4137
4107
  }, e.prototype.parseArgument = function(t, r) {
4138
4108
  var n = this.clonePosition();
4139
4109
  if (this.bump(), this.bumpSpace(), this.isEOF())
4140
- return this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE, C(n, this.clonePosition()));
4110
+ return this.error(C.EXPECT_ARGUMENT_CLOSING_BRACE, P(n, this.clonePosition()));
4141
4111
  if (this.char() === 125)
4142
- return this.bump(), this.error(S.EMPTY_ARGUMENT, C(n, this.clonePosition()));
4112
+ return this.bump(), this.error(C.EMPTY_ARGUMENT, P(n, this.clonePosition()));
4143
4113
  var i = this.parseIdentifierIfPossible().value;
4144
4114
  if (!i)
4145
- return this.error(S.MALFORMED_ARGUMENT, C(n, this.clonePosition()));
4115
+ return this.error(C.MALFORMED_ARGUMENT, P(n, this.clonePosition()));
4146
4116
  if (this.bumpSpace(), this.isEOF())
4147
- return this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE, C(n, this.clonePosition()));
4117
+ return this.error(C.EXPECT_ARGUMENT_CLOSING_BRACE, P(n, this.clonePosition()));
4148
4118
  switch (this.char()) {
4149
4119
  case 125:
4150
4120
  return this.bump(), {
4151
4121
  val: {
4152
- type: L.argument,
4122
+ type: k.argument,
4153
4123
  // value does not include the opening and closing braces.
4154
4124
  value: i,
4155
- location: C(n, this.clonePosition())
4125
+ location: P(n, this.clonePosition())
4156
4126
  },
4157
4127
  err: null
4158
4128
  };
4159
4129
  case 44:
4160
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE, C(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
4130
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(C.EXPECT_ARGUMENT_CLOSING_BRACE, P(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
4161
4131
  default:
4162
- return this.error(S.MALFORMED_ARGUMENT, C(n, this.clonePosition()));
4132
+ return this.error(C.MALFORMED_ARGUMENT, P(n, this.clonePosition()));
4163
4133
  }
4164
4134
  }, e.prototype.parseIdentifierIfPossible = function() {
4165
4135
  var t = this.clonePosition(), r = this.offset(), n = Nt(this.message, r), i = r + n.length;
4166
4136
  this.bumpTo(i);
4167
- var o = this.clonePosition(), a = C(t, o);
4137
+ var o = this.clonePosition(), a = P(t, o);
4168
4138
  return { value: n, location: a };
4169
4139
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
4170
- var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, u = this.clonePosition();
4140
+ var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, l = this.clonePosition();
4171
4141
  switch (s) {
4172
4142
  case "":
4173
- return this.error(S.EXPECT_ARGUMENT_TYPE, C(a, u));
4143
+ return this.error(C.EXPECT_ARGUMENT_TYPE, P(a, l));
4174
4144
  case "number":
4175
4145
  case "date":
4176
4146
  case "time": {
4177
4147
  this.bumpSpace();
4178
- var l = null;
4148
+ var u = null;
4179
4149
  if (this.bumpIf(",")) {
4180
4150
  this.bumpSpace();
4181
4151
  var c = this.clonePosition(), h = this.parseSimpleArgStyleIfPossible();
4182
4152
  if (h.err)
4183
4153
  return h;
4184
- var f = ia(h.val);
4154
+ var f = oa(h.val);
4185
4155
  if (f.length === 0)
4186
- return this.error(S.EXPECT_ARGUMENT_STYLE, C(this.clonePosition(), this.clonePosition()));
4187
- var m = C(c, this.clonePosition());
4188
- l = { style: f, styleLocation: m };
4156
+ return this.error(C.EXPECT_ARGUMENT_STYLE, P(this.clonePosition(), this.clonePosition()));
4157
+ var m = P(c, this.clonePosition());
4158
+ u = { style: f, styleLocation: m };
4189
4159
  }
4190
- var p = this.tryParseArgumentClose(i);
4191
- if (p.err)
4192
- return p;
4193
- var b = C(i, this.clonePosition());
4194
- if (l && dr(l == null ? void 0 : l.style, "::", 0)) {
4195
- var _ = na(l.style.slice(2));
4160
+ var g = this.tryParseArgumentClose(i);
4161
+ if (g.err)
4162
+ return g;
4163
+ var b = P(i, this.clonePosition());
4164
+ if (u && mr(u == null ? void 0 : u.style, "::", 0)) {
4165
+ var _ = ia(u.style.slice(2));
4196
4166
  if (s === "number") {
4197
- var h = this.parseNumberSkeletonFromString(_, l.styleLocation);
4167
+ var h = this.parseNumberSkeletonFromString(_, u.styleLocation);
4198
4168
  return h.err ? h : {
4199
- val: { type: L.number, value: n, location: b, style: h.val },
4169
+ val: { type: k.number, value: n, location: b, style: h.val },
4200
4170
  err: null
4201
4171
  };
4202
4172
  } else {
4203
4173
  if (_.length === 0)
4204
- return this.error(S.EXPECT_DATE_TIME_SKELETON, b);
4174
+ return this.error(C.EXPECT_DATE_TIME_SKELETON, b);
4205
4175
  var w = _;
4206
- this.locale && (w = Wo(_, this.locale));
4176
+ this.locale && (w = zo(_, this.locale));
4207
4177
  var f = {
4208
- type: Be.dateTime,
4178
+ type: Me.dateTime,
4209
4179
  pattern: w,
4210
- location: l.styleLocation,
4211
- parsedOptions: this.shouldParseSkeletons ? Do(w) : {}
4212
- }, x = s === "date" ? L.date : L.time;
4180
+ location: u.styleLocation,
4181
+ parsedOptions: this.shouldParseSkeletons ? Ro(w) : {}
4182
+ }, x = s === "date" ? k.date : k.time;
4213
4183
  return {
4214
4184
  val: { type: x, value: n, location: b, style: f },
4215
4185
  err: null
@@ -4218,10 +4188,10 @@ var oa = (
4218
4188
  }
4219
4189
  return {
4220
4190
  val: {
4221
- type: s === "number" ? L.number : s === "date" ? L.date : L.time,
4191
+ type: s === "number" ? k.number : s === "date" ? k.date : k.time,
4222
4192
  value: n,
4223
4193
  location: b,
4224
- style: (o = l == null ? void 0 : l.style) !== null && o !== void 0 ? o : null
4194
+ style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
4225
4195
  },
4226
4196
  err: null
4227
4197
  };
@@ -4231,50 +4201,50 @@ var oa = (
4231
4201
  case "select": {
4232
4202
  var E = this.clonePosition();
4233
4203
  if (this.bumpSpace(), !this.bumpIf(","))
4234
- return this.error(S.EXPECT_SELECT_ARGUMENT_OPTIONS, C(E, O({}, E)));
4204
+ return this.error(C.EXPECT_SELECT_ARGUMENT_OPTIONS, P(E, st({}, E)));
4235
4205
  this.bumpSpace();
4236
- var A = this.parseIdentifierIfPossible(), T = 0;
4237
- if (s !== "select" && A.value === "offset") {
4206
+ var B = this.parseIdentifierIfPossible(), T = 0;
4207
+ if (s !== "select" && B.value === "offset") {
4238
4208
  if (!this.bumpIf(":"))
4239
- return this.error(S.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, C(this.clonePosition(), this.clonePosition()));
4209
+ return this.error(C.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, P(this.clonePosition(), this.clonePosition()));
4240
4210
  this.bumpSpace();
4241
- var h = this.tryParseDecimalInteger(S.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, S.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
4211
+ var h = this.tryParseDecimalInteger(C.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, C.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
4242
4212
  if (h.err)
4243
4213
  return h;
4244
- this.bumpSpace(), A = this.parseIdentifierIfPossible(), T = h.val;
4214
+ this.bumpSpace(), B = this.parseIdentifierIfPossible(), T = h.val;
4245
4215
  }
4246
- var R = this.tryParsePluralOrSelectOptions(t, s, r, A);
4216
+ var R = this.tryParsePluralOrSelectOptions(t, s, r, B);
4247
4217
  if (R.err)
4248
4218
  return R;
4249
- var p = this.tryParseArgumentClose(i);
4250
- if (p.err)
4251
- return p;
4252
- var J = C(i, this.clonePosition());
4219
+ var g = this.tryParseArgumentClose(i);
4220
+ if (g.err)
4221
+ return g;
4222
+ var Z = P(i, this.clonePosition());
4253
4223
  return s === "select" ? {
4254
4224
  val: {
4255
- type: L.select,
4225
+ type: k.select,
4256
4226
  value: n,
4257
- options: mr(R.val),
4258
- location: J
4227
+ options: pr(R.val),
4228
+ location: Z
4259
4229
  },
4260
4230
  err: null
4261
4231
  } : {
4262
4232
  val: {
4263
- type: L.plural,
4233
+ type: k.plural,
4264
4234
  value: n,
4265
- options: mr(R.val),
4235
+ options: pr(R.val),
4266
4236
  offset: T,
4267
4237
  pluralType: s === "plural" ? "cardinal" : "ordinal",
4268
- location: J
4238
+ location: Z
4269
4239
  },
4270
4240
  err: null
4271
4241
  };
4272
4242
  }
4273
4243
  default:
4274
- return this.error(S.INVALID_ARGUMENT_TYPE, C(a, u));
4244
+ return this.error(C.INVALID_ARGUMENT_TYPE, P(a, l));
4275
4245
  }
4276
4246
  }, e.prototype.tryParseArgumentClose = function(t) {
4277
- return this.isEOF() || this.char() !== 125 ? this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE, C(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
4247
+ return this.isEOF() || this.char() !== 125 ? this.error(C.EXPECT_ARGUMENT_CLOSING_BRACE, P(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
4278
4248
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
4279
4249
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
4280
4250
  var n = this.char();
@@ -4283,7 +4253,7 @@ var oa = (
4283
4253
  this.bump();
4284
4254
  var i = this.clonePosition();
4285
4255
  if (!this.bumpUntil("'"))
4286
- return this.error(S.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, C(i, this.clonePosition()));
4256
+ return this.error(C.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, P(i, this.clonePosition()));
4287
4257
  this.bump();
4288
4258
  break;
4289
4259
  }
@@ -4313,52 +4283,52 @@ var oa = (
4313
4283
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
4314
4284
  var n = [];
4315
4285
  try {
4316
- n = Uo(t);
4286
+ n = $o(t);
4317
4287
  } catch (i) {
4318
- return this.error(S.INVALID_NUMBER_SKELETON, r);
4288
+ return this.error(C.INVALID_NUMBER_SKELETON, r);
4319
4289
  }
4320
4290
  return {
4321
4291
  val: {
4322
- type: Be.number,
4292
+ type: Me.number,
4323
4293
  tokens: n,
4324
4294
  location: r,
4325
- parsedOptions: this.shouldParseSkeletons ? jo(n) : {}
4295
+ parsedOptions: this.shouldParseSkeletons ? Wo(n) : {}
4326
4296
  },
4327
4297
  err: null
4328
4298
  };
4329
4299
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
4330
- for (var o, a = !1, s = [], u = /* @__PURE__ */ new Set(), l = i.value, c = i.location; ; ) {
4331
- if (l.length === 0) {
4300
+ for (var o, a = !1, s = [], l = /* @__PURE__ */ new Set(), u = i.value, c = i.location; ; ) {
4301
+ if (u.length === 0) {
4332
4302
  var h = this.clonePosition();
4333
4303
  if (r !== "select" && this.bumpIf("=")) {
4334
- var f = this.tryParseDecimalInteger(S.EXPECT_PLURAL_ARGUMENT_SELECTOR, S.INVALID_PLURAL_ARGUMENT_SELECTOR);
4304
+ var f = this.tryParseDecimalInteger(C.EXPECT_PLURAL_ARGUMENT_SELECTOR, C.INVALID_PLURAL_ARGUMENT_SELECTOR);
4335
4305
  if (f.err)
4336
4306
  return f;
4337
- c = C(h, this.clonePosition()), l = this.message.slice(h.offset, this.offset());
4307
+ c = P(h, this.clonePosition()), u = this.message.slice(h.offset, this.offset());
4338
4308
  } else
4339
4309
  break;
4340
4310
  }
4341
- if (u.has(l))
4342
- return this.error(r === "select" ? S.DUPLICATE_SELECT_ARGUMENT_SELECTOR : S.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
4343
- l === "other" && (a = !0), this.bumpSpace();
4311
+ if (l.has(u))
4312
+ return this.error(r === "select" ? C.DUPLICATE_SELECT_ARGUMENT_SELECTOR : C.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
4313
+ u === "other" && (a = !0), this.bumpSpace();
4344
4314
  var m = this.clonePosition();
4345
4315
  if (!this.bumpIf("{"))
4346
- return this.error(r === "select" ? S.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : S.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, C(this.clonePosition(), this.clonePosition()));
4347
- var p = this.parseMessage(t + 1, r, n);
4348
- if (p.err)
4349
- return p;
4316
+ return this.error(r === "select" ? C.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : C.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, P(this.clonePosition(), this.clonePosition()));
4317
+ var g = this.parseMessage(t + 1, r, n);
4318
+ if (g.err)
4319
+ return g;
4350
4320
  var b = this.tryParseArgumentClose(m);
4351
4321
  if (b.err)
4352
4322
  return b;
4353
4323
  s.push([
4354
- l,
4324
+ u,
4355
4325
  {
4356
- value: p.val,
4357
- location: C(m, this.clonePosition())
4326
+ value: g.val,
4327
+ location: P(m, this.clonePosition())
4358
4328
  }
4359
- ]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, c = o.location;
4329
+ ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, c = o.location;
4360
4330
  }
4361
- return s.length === 0 ? this.error(r === "select" ? S.EXPECT_SELECT_ARGUMENT_SELECTOR : S.EXPECT_PLURAL_ARGUMENT_SELECTOR, C(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(S.MISSING_OTHER_CLAUSE, C(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
4331
+ return s.length === 0 ? this.error(r === "select" ? C.EXPECT_SELECT_ARGUMENT_SELECTOR : C.EXPECT_PLURAL_ARGUMENT_SELECTOR, P(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(C.MISSING_OTHER_CLAUSE, P(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
4362
4332
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
4363
4333
  var n = 1, i = this.clonePosition();
4364
4334
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -4369,8 +4339,8 @@ var oa = (
4369
4339
  else
4370
4340
  break;
4371
4341
  }
4372
- var u = C(i, this.clonePosition());
4373
- return o ? (a *= n, ta(a) ? { val: a, err: null } : this.error(r, u)) : this.error(t, u);
4342
+ var l = P(i, this.clonePosition());
4343
+ return o ? (a *= n, ra(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
4374
4344
  }, e.prototype.offset = function() {
4375
4345
  return this.position.offset;
4376
4346
  }, e.prototype.isEOF = function() {
@@ -4385,7 +4355,7 @@ var oa = (
4385
4355
  var t = this.position.offset;
4386
4356
  if (t >= this.message.length)
4387
4357
  throw Error("out of bound");
4388
- var r = sn(this.message, t);
4358
+ var r = un(this.message, t);
4389
4359
  if (r === void 0)
4390
4360
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
4391
4361
  return r;
@@ -4404,7 +4374,7 @@ var oa = (
4404
4374
  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);
4405
4375
  }
4406
4376
  }, e.prototype.bumpIf = function(t) {
4407
- if (dr(this.message, t, this.offset())) {
4377
+ if (mr(this.message, t, this.offset())) {
4408
4378
  for (var r = 0; r < t.length; r++)
4409
4379
  this.bump();
4410
4380
  return !0;
@@ -4426,7 +4396,7 @@ var oa = (
4426
4396
  break;
4427
4397
  }
4428
4398
  }, e.prototype.bumpSpace = function() {
4429
- for (; !this.isEOF() && un(this.char()); )
4399
+ for (; !this.isEOF() && cn(this.char()); )
4430
4400
  this.bump();
4431
4401
  }, e.prototype.peek = function() {
4432
4402
  if (this.isEOF())
@@ -4439,13 +4409,13 @@ var oa = (
4439
4409
  function It(e) {
4440
4410
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
4441
4411
  }
4442
- function aa(e) {
4412
+ function sa(e) {
4443
4413
  return It(e) || e === 47;
4444
4414
  }
4445
- function sa(e) {
4415
+ function ua(e) {
4446
4416
  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;
4447
4417
  }
4448
- function un(e) {
4418
+ function cn(e) {
4449
4419
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
4450
4420
  }
4451
4421
  function la(e) {
@@ -4453,30 +4423,30 @@ function la(e) {
4453
4423
  }
4454
4424
  function Dt(e) {
4455
4425
  e.forEach(function(t) {
4456
- if (delete t.location, Jr(t) || Kr(t))
4426
+ if (delete t.location, Kr(t) || en(t))
4457
4427
  for (var r in t.options)
4458
4428
  delete t.options[r].location, Dt(t.options[r].value);
4459
4429
  else
4460
- qr(t) && tn(t.style) || (Qr(t) || Zr(t)) && At(t.style) ? delete t.style.location : en(t) && Dt(t.children);
4430
+ Qr(t) && rn(t.style) || (Zr(t) || Jr(t)) && At(t.style) ? delete t.style.location : tn(t) && Dt(t.children);
4461
4431
  });
4462
4432
  }
4463
- function ua(e, t) {
4464
- t === void 0 && (t = {}), t = O({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
4465
- var r = new oa(e, t).parse();
4433
+ function ca(e, t) {
4434
+ t === void 0 && (t = {}), t = st({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
4435
+ var r = new aa(e, t).parse();
4466
4436
  if (r.err) {
4467
- var n = SyntaxError(S[r.err.kind]);
4437
+ var n = SyntaxError(C[r.err.kind]);
4468
4438
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
4469
4439
  }
4470
4440
  return t != null && t.captureLocation || Dt(r.val), r.val;
4471
4441
  }
4472
- var Ae;
4442
+ var Be;
4473
4443
  (function(e) {
4474
4444
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
4475
- })(Ae || (Ae = {}));
4476
- var ct = (
4445
+ })(Be || (Be = {}));
4446
+ var dt = (
4477
4447
  /** @class */
4478
4448
  function(e) {
4479
- fe(t, e);
4449
+ ft(t, e);
4480
4450
  function t(r, n, i) {
4481
4451
  var o = e.call(this, r) || this;
4482
4452
  return o.code = n, o.originalMessage = i, o;
@@ -4488,152 +4458,152 @@ var ct = (
4488
4458
  ), br = (
4489
4459
  /** @class */
4490
4460
  function(e) {
4491
- fe(t, e);
4461
+ ft(t, e);
4492
4462
  function t(r, n, i, o) {
4493
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Ae.INVALID_VALUE, o) || this;
4463
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Be.INVALID_VALUE, o) || this;
4494
4464
  }
4495
4465
  return t;
4496
- }(ct)
4497
- ), ca = (
4466
+ }(dt)
4467
+ ), ha = (
4498
4468
  /** @class */
4499
4469
  function(e) {
4500
- fe(t, e);
4470
+ ft(t, e);
4501
4471
  function t(r, n, i) {
4502
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Ae.INVALID_VALUE, i) || this;
4472
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Be.INVALID_VALUE, i) || this;
4503
4473
  }
4504
4474
  return t;
4505
- }(ct)
4506
- ), ha = (
4475
+ }(dt)
4476
+ ), fa = (
4507
4477
  /** @class */
4508
4478
  function(e) {
4509
- fe(t, e);
4479
+ ft(t, e);
4510
4480
  function t(r, n) {
4511
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Ae.MISSING_VALUE, n) || this;
4481
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Be.MISSING_VALUE, n) || this;
4512
4482
  }
4513
4483
  return t;
4514
- }(ct)
4515
- ), Q;
4484
+ }(dt)
4485
+ ), q;
4516
4486
  (function(e) {
4517
4487
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
4518
- })(Q || (Q = {}));
4519
- function fa(e) {
4488
+ })(q || (q = {}));
4489
+ function da(e) {
4520
4490
  return e.length < 2 ? e : e.reduce(function(t, r) {
4521
4491
  var n = t[t.length - 1];
4522
- return !n || n.type !== Q.literal || r.type !== Q.literal ? t.push(r) : n.value += r.value, t;
4492
+ return !n || n.type !== q.literal || r.type !== q.literal ? t.push(r) : n.value += r.value, t;
4523
4493
  }, []);
4524
4494
  }
4525
- function da(e) {
4495
+ function ma(e) {
4526
4496
  return typeof e == "function";
4527
4497
  }
4528
- function et(e, t, r, n, i, o, a) {
4529
- if (e.length === 1 && ur(e[0]))
4498
+ function tt(e, t, r, n, i, o, a) {
4499
+ if (e.length === 1 && cr(e[0]))
4530
4500
  return [
4531
4501
  {
4532
- type: Q.literal,
4502
+ type: q.literal,
4533
4503
  value: e[0].value
4534
4504
  }
4535
4505
  ];
4536
- for (var s = [], u = 0, l = e; u < l.length; u++) {
4537
- var c = l[u];
4538
- if (ur(c)) {
4506
+ for (var s = [], l = 0, u = e; l < u.length; l++) {
4507
+ var c = u[l];
4508
+ if (cr(c)) {
4539
4509
  s.push({
4540
- type: Q.literal,
4510
+ type: q.literal,
4541
4511
  value: c.value
4542
4512
  });
4543
4513
  continue;
4544
4514
  }
4545
- if (No(c)) {
4515
+ if (Io(c)) {
4546
4516
  typeof o == "number" && s.push({
4547
- type: Q.literal,
4517
+ type: q.literal,
4548
4518
  value: r.getNumberFormat(t).format(o)
4549
4519
  });
4550
4520
  continue;
4551
4521
  }
4552
4522
  var h = c.value;
4553
4523
  if (!(i && h in i))
4554
- throw new ha(h, a);
4524
+ throw new fa(h, a);
4555
4525
  var f = i[h];
4556
- if (Lo(c)) {
4526
+ if (No(c)) {
4557
4527
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
4558
- type: typeof f == "string" ? Q.literal : Q.object,
4528
+ type: typeof f == "string" ? q.literal : q.object,
4559
4529
  value: f
4560
4530
  });
4561
4531
  continue;
4562
4532
  }
4563
- if (Qr(c)) {
4533
+ if (Zr(c)) {
4564
4534
  var m = typeof c.style == "string" ? n.date[c.style] : At(c.style) ? c.style.parsedOptions : void 0;
4565
4535
  s.push({
4566
- type: Q.literal,
4536
+ type: q.literal,
4567
4537
  value: r.getDateTimeFormat(t, m).format(f)
4568
4538
  });
4569
4539
  continue;
4570
4540
  }
4571
- if (Zr(c)) {
4541
+ if (Jr(c)) {
4572
4542
  var m = typeof c.style == "string" ? n.time[c.style] : At(c.style) ? c.style.parsedOptions : n.time.medium;
4573
4543
  s.push({
4574
- type: Q.literal,
4544
+ type: q.literal,
4575
4545
  value: r.getDateTimeFormat(t, m).format(f)
4576
4546
  });
4577
4547
  continue;
4578
4548
  }
4579
- if (qr(c)) {
4580
- var m = typeof c.style == "string" ? n.number[c.style] : tn(c.style) ? c.style.parsedOptions : void 0;
4549
+ if (Qr(c)) {
4550
+ var m = typeof c.style == "string" ? n.number[c.style] : rn(c.style) ? c.style.parsedOptions : void 0;
4581
4551
  m && m.scale && (f = f * (m.scale || 1)), s.push({
4582
- type: Q.literal,
4552
+ type: q.literal,
4583
4553
  value: r.getNumberFormat(t, m).format(f)
4584
4554
  });
4585
4555
  continue;
4586
4556
  }
4587
- if (en(c)) {
4588
- var p = c.children, b = c.value, _ = i[b];
4589
- if (!da(_))
4590
- throw new ca(b, "function", a);
4591
- var w = et(p, t, r, n, i, o), x = _(w.map(function(T) {
4557
+ if (tn(c)) {
4558
+ var g = c.children, b = c.value, _ = i[b];
4559
+ if (!ma(_))
4560
+ throw new ha(b, "function", a);
4561
+ var w = tt(g, t, r, n, i, o), x = _(w.map(function(T) {
4592
4562
  return T.value;
4593
4563
  }));
4594
4564
  Array.isArray(x) || (x = [x]), s.push.apply(s, x.map(function(T) {
4595
4565
  return {
4596
- type: typeof T == "string" ? Q.literal : Q.object,
4566
+ type: typeof T == "string" ? q.literal : q.object,
4597
4567
  value: T
4598
4568
  };
4599
4569
  }));
4600
4570
  }
4601
- if (Jr(c)) {
4571
+ if (Kr(c)) {
4602
4572
  var E = c.options[f] || c.options.other;
4603
4573
  if (!E)
4604
4574
  throw new br(c.value, f, Object.keys(c.options), a);
4605
- s.push.apply(s, et(E.value, t, r, n, i));
4575
+ s.push.apply(s, tt(E.value, t, r, n, i));
4606
4576
  continue;
4607
4577
  }
4608
- if (Kr(c)) {
4578
+ if (en(c)) {
4609
4579
  var E = c.options["=".concat(f)];
4610
4580
  if (!E) {
4611
4581
  if (!Intl.PluralRules)
4612
- throw new ct(`Intl.PluralRules is not available in this environment.
4582
+ throw new dt(`Intl.PluralRules is not available in this environment.
4613
4583
  Try polyfilling it using "@formatjs/intl-pluralrules"
4614
- `, Ae.MISSING_INTL_API, a);
4615
- var A = r.getPluralRules(t, { type: c.pluralType }).select(f - (c.offset || 0));
4616
- E = c.options[A] || c.options.other;
4584
+ `, Be.MISSING_INTL_API, a);
4585
+ var B = r.getPluralRules(t, { type: c.pluralType }).select(f - (c.offset || 0));
4586
+ E = c.options[B] || c.options.other;
4617
4587
  }
4618
4588
  if (!E)
4619
4589
  throw new br(c.value, f, Object.keys(c.options), a);
4620
- s.push.apply(s, et(E.value, t, r, n, i, f - (c.offset || 0)));
4590
+ s.push.apply(s, tt(E.value, t, r, n, i, f - (c.offset || 0)));
4621
4591
  continue;
4622
4592
  }
4623
4593
  }
4624
- return fa(s);
4594
+ return da(s);
4625
4595
  }
4626
- function ma(e, t) {
4627
- return t ? O(O(O({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
4628
- return r[n] = O(O({}, e[n]), t[n] || {}), r;
4596
+ function pa(e, t) {
4597
+ return t ? ne(ne(ne({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
4598
+ return r[n] = ne(ne({}, e[n]), t[n] || {}), r;
4629
4599
  }, {})) : e;
4630
4600
  }
4631
- function pa(e, t) {
4601
+ function ga(e, t) {
4632
4602
  return t ? Object.keys(e).reduce(function(r, n) {
4633
- return r[n] = ma(e[n], t[n]), r;
4634
- }, O({}, e)) : e;
4603
+ return r[n] = pa(e[n], t[n]), r;
4604
+ }, ne({}, e)) : e;
4635
4605
  }
4636
- function xt(e) {
4606
+ function St(e) {
4637
4607
  return {
4638
4608
  create: function() {
4639
4609
  return {
@@ -4653,33 +4623,33 @@ function ba(e) {
4653
4623
  dateTime: {},
4654
4624
  pluralRules: {}
4655
4625
  }), {
4656
- getNumberFormat: yt(function() {
4626
+ getNumberFormat: xt(function() {
4657
4627
  for (var t, r = [], n = 0; n < arguments.length; n++)
4658
4628
  r[n] = arguments[n];
4659
- return new ((t = Intl.NumberFormat).bind.apply(t, Oe([void 0], r, !1)))();
4629
+ return new ((t = Intl.NumberFormat).bind.apply(t, wt([void 0], r, !1)))();
4660
4630
  }, {
4661
- cache: xt(e.number),
4662
- strategy: _t.variadic
4631
+ cache: St(e.number),
4632
+ strategy: Et.variadic
4663
4633
  }),
4664
- getDateTimeFormat: yt(function() {
4634
+ getDateTimeFormat: xt(function() {
4665
4635
  for (var t, r = [], n = 0; n < arguments.length; n++)
4666
4636
  r[n] = arguments[n];
4667
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Oe([void 0], r, !1)))();
4637
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, wt([void 0], r, !1)))();
4668
4638
  }, {
4669
- cache: xt(e.dateTime),
4670
- strategy: _t.variadic
4639
+ cache: St(e.dateTime),
4640
+ strategy: Et.variadic
4671
4641
  }),
4672
- getPluralRules: yt(function() {
4642
+ getPluralRules: xt(function() {
4673
4643
  for (var t, r = [], n = 0; n < arguments.length; n++)
4674
4644
  r[n] = arguments[n];
4675
- return new ((t = Intl.PluralRules).bind.apply(t, Oe([void 0], r, !1)))();
4645
+ return new ((t = Intl.PluralRules).bind.apply(t, wt([void 0], r, !1)))();
4676
4646
  }, {
4677
- cache: xt(e.pluralRules),
4678
- strategy: _t.variadic
4647
+ cache: St(e.pluralRules),
4648
+ strategy: Et.variadic
4679
4649
  })
4680
4650
  };
4681
4651
  }
4682
- var ga = (
4652
+ var va = (
4683
4653
  /** @class */
4684
4654
  function() {
4685
4655
  function e(t, r, n, i) {
@@ -4689,20 +4659,20 @@ var ga = (
4689
4659
  number: {},
4690
4660
  dateTime: {},
4691
4661
  pluralRules: {}
4692
- }, this.format = function(u) {
4693
- var l = o.formatToParts(u);
4694
- if (l.length === 1)
4695
- return l[0].value;
4696
- var c = l.reduce(function(h, f) {
4697
- return !h.length || f.type !== Q.literal || typeof h[h.length - 1] != "string" ? h.push(f.value) : h[h.length - 1] += f.value, h;
4662
+ }, this.format = function(l) {
4663
+ var u = o.formatToParts(l);
4664
+ if (u.length === 1)
4665
+ return u[0].value;
4666
+ var c = u.reduce(function(h, f) {
4667
+ return !h.length || f.type !== q.literal || typeof h[h.length - 1] != "string" ? h.push(f.value) : h[h.length - 1] += f.value, h;
4698
4668
  }, []);
4699
4669
  return c.length <= 1 ? c[0] || "" : c;
4700
- }, this.formatToParts = function(u) {
4701
- return et(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
4670
+ }, this.formatToParts = function(l) {
4671
+ return tt(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
4702
4672
  }, this.resolvedOptions = function() {
4703
- var u;
4673
+ var l;
4704
4674
  return {
4705
- locale: ((u = o.resolvedLocale) === null || u === void 0 ? void 0 : u.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
4675
+ locale: ((l = o.resolvedLocale) === null || l === void 0 ? void 0 : l.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
4706
4676
  };
4707
4677
  }, this.getAst = function() {
4708
4678
  return o.ast;
@@ -4712,12 +4682,12 @@ var ga = (
4712
4682
  var a = i || {};
4713
4683
  a.formatters;
4714
4684
  var s = Po(a, ["formatters"]);
4715
- this.ast = e.__parse(t, O(O({}, s), { locale: this.resolvedLocale }));
4685
+ this.ast = e.__parse(t, ne(ne({}, s), { locale: this.resolvedLocale }));
4716
4686
  } else
4717
4687
  this.ast = t;
4718
4688
  if (!Array.isArray(this.ast))
4719
4689
  throw new TypeError("A message must be provided as a String or AST.");
4720
- this.formats = pa(e.formats, n), this.formatters = i && i.formatters || ba(this.formatterCache);
4690
+ this.formats = ga(e.formats, n), this.formatters = i && i.formatters || ba(this.formatterCache);
4721
4691
  }
4722
4692
  return Object.defineProperty(e, "defaultLocale", {
4723
4693
  get: function() {
@@ -4730,7 +4700,7 @@ var ga = (
4730
4700
  var r = Intl.NumberFormat.supportedLocalesOf(t);
4731
4701
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
4732
4702
  }
4733
- }, e.__parse = ua, e.formats = {
4703
+ }, e.__parse = ca, e.formats = {
4734
4704
  number: {
4735
4705
  integer: {
4736
4706
  maximumFractionDigits: 0
@@ -4791,7 +4761,7 @@ var ga = (
4791
4761
  }, e;
4792
4762
  }()
4793
4763
  );
4794
- function va(e, t) {
4764
+ function ya(e, t) {
4795
4765
  if (t == null)
4796
4766
  return;
4797
4767
  if (t in e)
@@ -4812,92 +4782,92 @@ function va(e, t) {
4812
4782
  n = void 0;
4813
4783
  return n;
4814
4784
  }
4815
- const be = {}, ya = (e, t, r) => r && (t in be || (be[t] = {}), e in be[t] || (be[t][e] = r), r), cn = (e, t) => {
4785
+ const de = {}, _a = (e, t, r) => r && (t in de || (de[t] = {}), e in de[t] || (de[t][e] = r), r), hn = (e, t) => {
4816
4786
  if (t == null)
4817
4787
  return;
4818
- if (t in be && e in be[t])
4819
- return be[t][e];
4820
- const r = ht(t);
4788
+ if (t in de && e in de[t])
4789
+ return de[t][e];
4790
+ const r = mt(t);
4821
4791
  for (let n = 0; n < r.length; n++) {
4822
- const i = r[n], o = wa(i, e);
4792
+ const i = r[n], o = xa(i, e);
4823
4793
  if (o)
4824
- return ya(e, t, o);
4794
+ return _a(e, t, o);
4825
4795
  }
4826
4796
  };
4827
- let zt;
4828
- const Xe = ut({});
4829
- function _a(e) {
4830
- return zt[e] || null;
4797
+ let Vt;
4798
+ const Ve = ht({});
4799
+ function wa(e) {
4800
+ return Vt[e] || null;
4831
4801
  }
4832
- function hn(e) {
4833
- return e in zt;
4802
+ function fn(e) {
4803
+ return e in Vt;
4834
4804
  }
4835
- function wa(e, t) {
4836
- if (!hn(e))
4805
+ function xa(e, t) {
4806
+ if (!fn(e))
4837
4807
  return null;
4838
- const r = _a(e);
4839
- return va(r, t);
4808
+ const r = wa(e);
4809
+ return ya(r, t);
4840
4810
  }
4841
- function xa(e) {
4811
+ function Ea(e) {
4842
4812
  if (e == null)
4843
4813
  return;
4844
- const t = ht(e);
4814
+ const t = mt(e);
4845
4815
  for (let r = 0; r < t.length; r++) {
4846
4816
  const n = t[r];
4847
- if (hn(n))
4817
+ if (fn(n))
4848
4818
  return n;
4849
4819
  }
4850
4820
  }
4851
- function fn(e, ...t) {
4852
- delete be[e], Xe.update((r) => (r[e] = Co.all([r[e] || {}, ...t]), r));
4821
+ function dn(e, ...t) {
4822
+ delete de[e], Ve.update((r) => (r[e] = Co.all([r[e] || {}, ...t]), r));
4853
4823
  }
4854
- Ie(
4855
- [Xe],
4824
+ Ne(
4825
+ [Ve],
4856
4826
  ([e]) => Object.keys(e)
4857
4827
  );
4858
- Xe.subscribe((e) => zt = e);
4859
- const tt = {};
4860
- function Ea(e, t) {
4861
- tt[e].delete(t), tt[e].size === 0 && delete tt[e];
4828
+ Ve.subscribe((e) => Vt = e);
4829
+ const rt = {};
4830
+ function Ta(e, t) {
4831
+ rt[e].delete(t), rt[e].size === 0 && delete rt[e];
4862
4832
  }
4863
- function dn(e) {
4864
- return tt[e];
4833
+ function mn(e) {
4834
+ return rt[e];
4865
4835
  }
4866
- function Ta(e) {
4867
- return ht(e).map((t) => {
4868
- const r = dn(t);
4836
+ function Sa(e) {
4837
+ return mt(e).map((t) => {
4838
+ const r = mn(t);
4869
4839
  return [t, r ? [...r] : []];
4870
4840
  }).filter(([, t]) => t.length > 0);
4871
4841
  }
4872
4842
  function Rt(e) {
4873
- return e == null ? !1 : ht(e).some(
4843
+ return e == null ? !1 : mt(e).some(
4874
4844
  (t) => {
4875
4845
  var r;
4876
- return (r = dn(t)) == null ? void 0 : r.size;
4846
+ return (r = mn(t)) == null ? void 0 : r.size;
4877
4847
  }
4878
4848
  );
4879
4849
  }
4880
- function Sa(e, t) {
4850
+ function Ca(e, t) {
4881
4851
  return Promise.all(
4882
- t.map((n) => (Ea(e, n), n().then((i) => i.default || i)))
4883
- ).then((n) => fn(e, ...n));
4852
+ t.map((n) => (Ta(e, n), n().then((i) => i.default || i)))
4853
+ ).then((n) => dn(e, ...n));
4884
4854
  }
4885
- const Fe = {};
4886
- function mn(e) {
4855
+ const $e = {};
4856
+ function pn(e) {
4887
4857
  if (!Rt(e))
4888
- return e in Fe ? Fe[e] : Promise.resolve();
4889
- const t = Ta(e);
4890
- return Fe[e] = Promise.all(
4858
+ return e in $e ? $e[e] : Promise.resolve();
4859
+ const t = Sa(e);
4860
+ return $e[e] = Promise.all(
4891
4861
  t.map(
4892
- ([r, n]) => Sa(r, n)
4862
+ ([r, n]) => Ca(r, n)
4893
4863
  )
4894
4864
  ).then(() => {
4895
4865
  if (Rt(e))
4896
- return mn(e);
4897
- delete Fe[e];
4898
- }), Fe[e];
4866
+ return pn(e);
4867
+ delete $e[e];
4868
+ }), $e[e];
4899
4869
  }
4900
- const Ca = {
4870
+ const Pa = {
4901
4871
  number: {
4902
4872
  scientific: { notation: "scientific" },
4903
4873
  engineering: { notation: "engineering" },
@@ -4926,150 +4896,150 @@ const Ca = {
4926
4896
  timeZoneName: "short"
4927
4897
  }
4928
4898
  }
4929
- }, Pa = {
4899
+ }, Oa = {
4930
4900
  fallbackLocale: null,
4931
4901
  loadingDelay: 200,
4932
- formats: Ca,
4902
+ formats: Pa,
4933
4903
  warnOnMissingMessages: !0,
4934
4904
  handleMissingMessage: void 0,
4935
4905
  ignoreTag: !0
4936
- }, Oa = Pa;
4937
- function ke() {
4938
- return Oa;
4906
+ }, Ha = Oa;
4907
+ function Ae() {
4908
+ return Ha;
4939
4909
  }
4940
- const Et = ut(!1);
4941
- var Ha = Object.defineProperty, Ma = Object.defineProperties, Ba = Object.getOwnPropertyDescriptors, gr = Object.getOwnPropertySymbols, Aa = Object.prototype.hasOwnProperty, ka = Object.prototype.propertyIsEnumerable, vr = (e, t, r) => t in e ? Ha(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, La = (e, t) => {
4910
+ const Ct = ht(!1);
4911
+ var Ma = Object.defineProperty, Ba = Object.defineProperties, Aa = Object.getOwnPropertyDescriptors, vr = Object.getOwnPropertySymbols, ka = Object.prototype.hasOwnProperty, La = Object.prototype.propertyIsEnumerable, yr = (e, t, r) => t in e ? Ma(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Na = (e, t) => {
4942
4912
  for (var r in t || (t = {}))
4943
- Aa.call(t, r) && vr(e, r, t[r]);
4944
- if (gr)
4945
- for (var r of gr(t))
4946
- ka.call(t, r) && vr(e, r, t[r]);
4913
+ ka.call(t, r) && yr(e, r, t[r]);
4914
+ if (vr)
4915
+ for (var r of vr(t))
4916
+ La.call(t, r) && yr(e, r, t[r]);
4947
4917
  return e;
4948
- }, Na = (e, t) => Ma(e, Ba(t));
4918
+ }, Ia = (e, t) => Ba(e, Aa(t));
4949
4919
  let Ut;
4950
- const at = ut(null);
4951
- function yr(e) {
4920
+ const ut = ht(null);
4921
+ function _r(e) {
4952
4922
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4953
4923
  }
4954
- function ht(e, t = ke().fallbackLocale) {
4955
- const r = yr(e);
4956
- return t ? [.../* @__PURE__ */ new Set([...r, ...yr(t)])] : r;
4924
+ function mt(e, t = Ae().fallbackLocale) {
4925
+ const r = _r(e);
4926
+ return t ? [.../* @__PURE__ */ new Set([...r, ..._r(t)])] : r;
4957
4927
  }
4958
4928
  function _e() {
4959
4929
  return Ut != null ? Ut : void 0;
4960
4930
  }
4961
- at.subscribe((e) => {
4931
+ ut.subscribe((e) => {
4962
4932
  Ut = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4963
4933
  });
4964
- const Ia = (e) => {
4965
- if (e && xa(e) && Rt(e)) {
4966
- const { loadingDelay: t } = ke();
4934
+ const Da = (e) => {
4935
+ if (e && Ea(e) && Rt(e)) {
4936
+ const { loadingDelay: t } = Ae();
4967
4937
  let r;
4968
4938
  return typeof window != "undefined" && _e() != null && t ? r = window.setTimeout(
4969
- () => Et.set(!0),
4939
+ () => Ct.set(!0),
4970
4940
  t
4971
- ) : Et.set(!0), mn(e).then(() => {
4972
- at.set(e);
4941
+ ) : Ct.set(!0), pn(e).then(() => {
4942
+ ut.set(e);
4973
4943
  }).finally(() => {
4974
- clearTimeout(r), Et.set(!1);
4944
+ clearTimeout(r), Ct.set(!1);
4975
4945
  });
4976
4946
  }
4977
- return at.set(e);
4978
- }, De = Na(La({}, at), {
4979
- set: Ia
4980
- }), ft = (e) => {
4947
+ return ut.set(e);
4948
+ }, Ie = Ia(Na({}, ut), {
4949
+ set: Da
4950
+ }), pt = (e) => {
4981
4951
  const t = /* @__PURE__ */ Object.create(null);
4982
4952
  return (n) => {
4983
4953
  const i = JSON.stringify(n);
4984
4954
  return i in t ? t[i] : t[i] = e(n);
4985
4955
  };
4986
4956
  };
4987
- var Da = Object.defineProperty, st = Object.getOwnPropertySymbols, pn = Object.prototype.hasOwnProperty, bn = Object.prototype.propertyIsEnumerable, _r = (e, t, r) => t in e ? Da(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Yt = (e, t) => {
4957
+ var Ra = Object.defineProperty, lt = Object.getOwnPropertySymbols, gn = Object.prototype.hasOwnProperty, bn = Object.prototype.propertyIsEnumerable, wr = (e, t, r) => t in e ? Ra(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Xt = (e, t) => {
4988
4958
  for (var r in t || (t = {}))
4989
- pn.call(t, r) && _r(e, r, t[r]);
4990
- if (st)
4991
- for (var r of st(t))
4992
- bn.call(t, r) && _r(e, r, t[r]);
4959
+ gn.call(t, r) && wr(e, r, t[r]);
4960
+ if (lt)
4961
+ for (var r of lt(t))
4962
+ bn.call(t, r) && wr(e, r, t[r]);
4993
4963
  return e;
4994
- }, Re = (e, t) => {
4964
+ }, De = (e, t) => {
4995
4965
  var r = {};
4996
4966
  for (var n in e)
4997
- pn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4998
- if (e != null && st)
4999
- for (var n of st(e))
4967
+ gn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4968
+ if (e != null && lt)
4969
+ for (var n of lt(e))
5000
4970
  t.indexOf(n) < 0 && bn.call(e, n) && (r[n] = e[n]);
5001
4971
  return r;
5002
4972
  };
5003
- const Ye = (e, t) => {
5004
- const { formats: r } = ke();
4973
+ const ze = (e, t) => {
4974
+ const { formats: r } = Ae();
5005
4975
  if (e in r && t in r[e])
5006
4976
  return r[e][t];
5007
4977
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
5008
- }, Ra = ft(
4978
+ }, Ua = pt(
5009
4979
  (e) => {
5010
- var t = e, { locale: r, format: n } = t, i = Re(t, ["locale", "format"]);
4980
+ var t = e, { locale: r, format: n } = t, i = De(t, ["locale", "format"]);
5011
4981
  if (r == null)
5012
4982
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
5013
- return n && (i = Ye("number", n)), new Intl.NumberFormat(r, i);
4983
+ return n && (i = ze("number", n)), new Intl.NumberFormat(r, i);
5014
4984
  }
5015
- ), Ua = ft(
4985
+ ), $a = pt(
5016
4986
  (e) => {
5017
- var t = e, { locale: r, format: n } = t, i = Re(t, ["locale", "format"]);
4987
+ var t = e, { locale: r, format: n } = t, i = De(t, ["locale", "format"]);
5018
4988
  if (r == null)
5019
4989
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
5020
- return n ? i = Ye("date", n) : Object.keys(i).length === 0 && (i = Ye("date", "short")), new Intl.DateTimeFormat(r, i);
4990
+ return n ? i = ze("date", n) : Object.keys(i).length === 0 && (i = ze("date", "short")), new Intl.DateTimeFormat(r, i);
5021
4991
  }
5022
- ), $a = ft(
4992
+ ), Fa = pt(
5023
4993
  (e) => {
5024
- var t = e, { locale: r, format: n } = t, i = Re(t, ["locale", "format"]);
4994
+ var t = e, { locale: r, format: n } = t, i = De(t, ["locale", "format"]);
5025
4995
  if (r == null)
5026
4996
  throw new Error(
5027
4997
  '[svelte-i18n] A "locale" must be set to format time values'
5028
4998
  );
5029
- return n ? i = Ye("time", n) : Object.keys(i).length === 0 && (i = Ye("time", "short")), new Intl.DateTimeFormat(r, i);
4999
+ return n ? i = ze("time", n) : Object.keys(i).length === 0 && (i = ze("time", "short")), new Intl.DateTimeFormat(r, i);
5030
5000
  }
5031
- ), Fa = (e = {}) => {
5001
+ ), Ga = (e = {}) => {
5032
5002
  var t = e, {
5033
5003
  locale: r = _e()
5034
- } = t, n = Re(t, [
5004
+ } = t, n = De(t, [
5035
5005
  "locale"
5036
5006
  ]);
5037
- return Ra(Yt({ locale: r }, n));
5038
- }, Ga = (e = {}) => {
5007
+ return Ua(Xt({ locale: r }, n));
5008
+ }, ja = (e = {}) => {
5039
5009
  var t = e, {
5040
5010
  locale: r = _e()
5041
- } = t, n = Re(t, [
5011
+ } = t, n = De(t, [
5042
5012
  "locale"
5043
5013
  ]);
5044
- return Ua(Yt({ locale: r }, n));
5045
- }, ja = (e = {}) => {
5014
+ return $a(Xt({ locale: r }, n));
5015
+ }, Wa = (e = {}) => {
5046
5016
  var t = e, {
5047
5017
  locale: r = _e()
5048
- } = t, n = Re(t, [
5018
+ } = t, n = De(t, [
5049
5019
  "locale"
5050
5020
  ]);
5051
- return $a(Yt({ locale: r }, n));
5052
- }, Wa = ft(
5021
+ return Fa(Xt({ locale: r }, n));
5022
+ }, za = pt(
5053
5023
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
5054
- (e, t = _e()) => new ga(e, t, ke().formats, {
5055
- ignoreTag: ke().ignoreTag
5024
+ (e, t = _e()) => new va(e, t, Ae().formats, {
5025
+ ignoreTag: Ae().ignoreTag
5056
5026
  })
5057
- ), za = (e, t = {}) => {
5027
+ ), Ya = (e, t = {}) => {
5058
5028
  var r, n, i, o;
5059
5029
  let a = t;
5060
5030
  typeof e == "object" && (a = e, e = a.id);
5061
5031
  const {
5062
5032
  values: s,
5063
- locale: u = _e(),
5064
- default: l
5033
+ locale: l = _e(),
5034
+ default: u
5065
5035
  } = a;
5066
- if (u == null)
5036
+ if (l == null)
5067
5037
  throw new Error(
5068
5038
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
5069
5039
  );
5070
- let c = cn(e, u);
5040
+ let c = hn(e, l);
5071
5041
  if (!c)
5072
- c = (o = (i = (n = (r = ke()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
5042
+ c = (o = (i = (n = (r = Ae()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
5073
5043
  else if (typeof c != "string")
5074
5044
  return console.warn(
5075
5045
  `[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.`
@@ -5078,7 +5048,7 @@ const Ye = (e, t) => {
5078
5048
  return c;
5079
5049
  let h = c;
5080
5050
  try {
5081
- h = Wa(c, u).format(s);
5051
+ h = za(c, l).format(s);
5082
5052
  } catch (f) {
5083
5053
  f instanceof Error && console.warn(
5084
5054
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -5086,18 +5056,18 @@ const Ye = (e, t) => {
5086
5056
  );
5087
5057
  }
5088
5058
  return h;
5089
- }, Ya = (e, t) => ja(t).format(e), Va = (e, t) => Ga(t).format(e), Xa = (e, t) => Fa(t).format(e), qa = (e, t = _e()) => cn(e, t), Qa = Ie([De, Xe], () => za);
5090
- Ie([De], () => Ya);
5091
- Ie([De], () => Va);
5092
- Ie([De], () => Xa);
5093
- Ie([De, Xe], () => qa);
5094
- function wr(e, t) {
5095
- fn(e, t);
5096
- }
5097
- function Za(e) {
5098
- De.set(e);
5099
- }
5100
- const xr = {
5059
+ }, Va = (e, t) => Wa(t).format(e), Xa = (e, t) => ja(t).format(e), qa = (e, t) => Ga(t).format(e), Qa = (e, t = _e()) => hn(e, t), Za = Ne([Ie, Ve], () => Ya);
5060
+ Ne([Ie], () => Va);
5061
+ Ne([Ie], () => Xa);
5062
+ Ne([Ie], () => qa);
5063
+ Ne([Ie, Ve], () => Qa);
5064
+ function xr(e, t) {
5065
+ dn(e, t);
5066
+ }
5067
+ function Ja(e) {
5068
+ Ie.set(e);
5069
+ }
5070
+ const Er = {
5101
5071
  en: {
5102
5072
  headerTitle: "Coin Royales",
5103
5073
  infoTooltip: "Flip a virtual coin and take a chance to win!",
@@ -5120,16 +5090,85 @@ const xr = {
5120
5090
  customRewards: "Custom Rewards"
5121
5091
  }
5122
5092
  };
5093
+ /*! *****************************************************************************
5094
+ Copyright (c) Microsoft Corporation.
5095
+
5096
+ Permission to use, copy, modify, and/or distribute this software for any
5097
+ purpose with or without fee is hereby granted.
5098
+
5099
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
5100
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
5101
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
5102
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
5103
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
5104
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
5105
+ PERFORMANCE OF THIS SOFTWARE.
5106
+ ***************************************************************************** */
5107
+ var $t = function(e, t) {
5108
+ return $t = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
5109
+ r.__proto__ = n;
5110
+ } || function(r, n) {
5111
+ for (var i in n)
5112
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
5113
+ }, $t(e, t);
5114
+ };
5115
+ function Xe(e, t) {
5116
+ if (typeof t != "function" && t !== null)
5117
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
5118
+ $t(e, t);
5119
+ function r() {
5120
+ this.constructor = e;
5121
+ }
5122
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
5123
+ }
5124
+ function Ft(e) {
5125
+ var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
5126
+ if (r)
5127
+ return r.call(e);
5128
+ if (e && typeof e.length == "number")
5129
+ return {
5130
+ next: function() {
5131
+ return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
5132
+ }
5133
+ };
5134
+ throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
5135
+ }
5136
+ function Gt(e, t) {
5137
+ var r = typeof Symbol == "function" && e[Symbol.iterator];
5138
+ if (!r)
5139
+ return e;
5140
+ var n = r.call(e), i, o = [], a;
5141
+ try {
5142
+ for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
5143
+ o.push(i.value);
5144
+ } catch (s) {
5145
+ a = { error: s };
5146
+ } finally {
5147
+ try {
5148
+ i && !i.done && (r = n.return) && r.call(n);
5149
+ } finally {
5150
+ if (a)
5151
+ throw a.error;
5152
+ }
5153
+ }
5154
+ return o;
5155
+ }
5156
+ function jt(e, t, r) {
5157
+ if (arguments.length === 2)
5158
+ for (var n = 0, i = t.length, o; n < i; n++)
5159
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
5160
+ return e.concat(o || t);
5161
+ }
5123
5162
  function ce(e) {
5124
5163
  return typeof e == "function";
5125
5164
  }
5126
- function gn(e) {
5165
+ function vn(e) {
5127
5166
  var t = function(n) {
5128
5167
  Error.call(n), n.stack = new Error().stack;
5129
5168
  }, r = e(t);
5130
5169
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
5131
5170
  }
5132
- var Tt = gn(function(e) {
5171
+ var Pt = vn(function(e) {
5133
5172
  return function(r) {
5134
5173
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
5135
5174
  ` + r.map(function(n, i) {
@@ -5138,13 +5177,13 @@ var Tt = gn(function(e) {
5138
5177
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
5139
5178
  };
5140
5179
  });
5141
- function $t(e, t) {
5180
+ function Wt(e, t) {
5142
5181
  if (e) {
5143
5182
  var r = e.indexOf(t);
5144
5183
  0 <= r && e.splice(r, 1);
5145
5184
  }
5146
5185
  }
5147
- var dt = function() {
5186
+ var gt = function() {
5148
5187
  function e(t) {
5149
5188
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
5150
5189
  }
@@ -5156,15 +5195,15 @@ var dt = function() {
5156
5195
  if (a)
5157
5196
  if (this._parentage = null, Array.isArray(a))
5158
5197
  try {
5159
- for (var s = Mt(a), u = s.next(); !u.done; u = s.next()) {
5160
- var l = u.value;
5161
- l.remove(this);
5198
+ for (var s = Ft(a), l = s.next(); !l.done; l = s.next()) {
5199
+ var u = l.value;
5200
+ u.remove(this);
5162
5201
  }
5163
5202
  } catch (b) {
5164
5203
  t = { error: b };
5165
5204
  } finally {
5166
5205
  try {
5167
- u && !u.done && (r = s.return) && r.call(s);
5206
+ l && !l.done && (r = s.return) && r.call(s);
5168
5207
  } finally {
5169
5208
  if (t)
5170
5209
  throw t.error;
@@ -5177,18 +5216,18 @@ var dt = function() {
5177
5216
  try {
5178
5217
  c();
5179
5218
  } catch (b) {
5180
- o = b instanceof Tt ? b.errors : [b];
5219
+ o = b instanceof Pt ? b.errors : [b];
5181
5220
  }
5182
5221
  var h = this._finalizers;
5183
5222
  if (h) {
5184
5223
  this._finalizers = null;
5185
5224
  try {
5186
- for (var f = Mt(h), m = f.next(); !m.done; m = f.next()) {
5187
- var p = m.value;
5225
+ for (var f = Ft(h), m = f.next(); !m.done; m = f.next()) {
5226
+ var g = m.value;
5188
5227
  try {
5189
- Er(p);
5228
+ Tr(g);
5190
5229
  } catch (b) {
5191
- o = o != null ? o : [], b instanceof Tt ? o = Oe(Oe([], Bt(o)), Bt(b.errors)) : o.push(b);
5230
+ o = o != null ? o : [], b instanceof Pt ? o = jt(jt([], Gt(o)), Gt(b.errors)) : o.push(b);
5192
5231
  }
5193
5232
  }
5194
5233
  } catch (b) {
@@ -5203,13 +5242,13 @@ var dt = function() {
5203
5242
  }
5204
5243
  }
5205
5244
  if (o)
5206
- throw new Tt(o);
5245
+ throw new Pt(o);
5207
5246
  }
5208
5247
  }, e.prototype.add = function(t) {
5209
5248
  var r;
5210
5249
  if (t && t !== this)
5211
5250
  if (this.closed)
5212
- Er(t);
5251
+ Tr(t);
5213
5252
  else {
5214
5253
  if (t instanceof e) {
5215
5254
  if (t.closed || t._hasParent(this))
@@ -5226,56 +5265,52 @@ var dt = function() {
5226
5265
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
5227
5266
  }, e.prototype._removeParent = function(t) {
5228
5267
  var r = this._parentage;
5229
- r === t ? this._parentage = null : Array.isArray(r) && $t(r, t);
5268
+ r === t ? this._parentage = null : Array.isArray(r) && Wt(r, t);
5230
5269
  }, e.prototype.remove = function(t) {
5231
5270
  var r = this._finalizers;
5232
- r && $t(r, t), t instanceof e && t._removeParent(this);
5271
+ r && Wt(r, t), t instanceof e && t._removeParent(this);
5233
5272
  }, e.EMPTY = function() {
5234
5273
  var t = new e();
5235
5274
  return t.closed = !0, t;
5236
5275
  }(), e;
5237
- }(), vn = dt.EMPTY;
5238
- function yn(e) {
5239
- return e instanceof dt || e && "closed" in e && ce(e.remove) && ce(e.add) && ce(e.unsubscribe);
5276
+ }(), yn = gt.EMPTY;
5277
+ function _n(e) {
5278
+ return e instanceof gt || e && "closed" in e && ce(e.remove) && ce(e.add) && ce(e.unsubscribe);
5240
5279
  }
5241
- function Er(e) {
5280
+ function Tr(e) {
5242
5281
  ce(e) ? e() : e.unsubscribe();
5243
5282
  }
5244
- var _n = {
5245
- onUnhandledError: null,
5246
- onStoppedNotification: null,
5247
- Promise: void 0,
5248
- useDeprecatedSynchronousErrorHandling: !1,
5249
- useDeprecatedNextContext: !1
5250
- }, Ja = {
5283
+ var Ka = {
5284
+ Promise: void 0
5285
+ }, es = {
5251
5286
  setTimeout: function(e, t) {
5252
5287
  for (var r = [], n = 2; n < arguments.length; n++)
5253
5288
  r[n - 2] = arguments[n];
5254
- return setTimeout.apply(void 0, Oe([e, t], Bt(r)));
5289
+ return setTimeout.apply(void 0, jt([e, t], Gt(r)));
5255
5290
  },
5256
5291
  clearTimeout: function(e) {
5257
5292
  return clearTimeout(e);
5258
5293
  },
5259
5294
  delegate: void 0
5260
5295
  };
5261
- function Ka(e) {
5262
- Ja.setTimeout(function() {
5296
+ function ts(e) {
5297
+ es.setTimeout(function() {
5263
5298
  throw e;
5264
5299
  });
5265
5300
  }
5266
- function Tr() {
5301
+ function Sr() {
5267
5302
  }
5268
- function rt(e) {
5303
+ function nt(e) {
5269
5304
  e();
5270
5305
  }
5271
5306
  var wn = function(e) {
5272
- fe(t, e);
5307
+ Xe(t, e);
5273
5308
  function t(r) {
5274
5309
  var n = e.call(this) || this;
5275
- return n.isStopped = !1, r ? (n.destination = r, yn(r) && r.add(n)) : n.destination = ns, n;
5310
+ return n.isStopped = !1, r ? (n.destination = r, _n(r) && r.add(n)) : n.destination = is, n;
5276
5311
  }
5277
5312
  return t.create = function(r, n, i) {
5278
- return new Ft(r, n, i);
5313
+ return new zt(r, n, i);
5279
5314
  }, t.prototype.next = function(r) {
5280
5315
  this.isStopped || this._next(r);
5281
5316
  }, t.prototype.error = function(r) {
@@ -5299,11 +5334,7 @@ var wn = function(e) {
5299
5334
  this.unsubscribe();
5300
5335
  }
5301
5336
  }, t;
5302
- }(dt), es = Function.prototype.bind;
5303
- function St(e, t) {
5304
- return es.call(e, t);
5305
- }
5306
- var ts = function() {
5337
+ }(gt), rs = function() {
5307
5338
  function e(t) {
5308
5339
  this.partialObserver = t;
5309
5340
  }
@@ -5313,7 +5344,7 @@ var ts = function() {
5313
5344
  try {
5314
5345
  r.next(t);
5315
5346
  } catch (n) {
5316
- Je(n);
5347
+ Ke(n);
5317
5348
  }
5318
5349
  }, e.prototype.error = function(t) {
5319
5350
  var r = this.partialObserver;
@@ -5321,68 +5352,56 @@ var ts = function() {
5321
5352
  try {
5322
5353
  r.error(t);
5323
5354
  } catch (n) {
5324
- Je(n);
5355
+ Ke(n);
5325
5356
  }
5326
5357
  else
5327
- Je(t);
5358
+ Ke(t);
5328
5359
  }, e.prototype.complete = function() {
5329
5360
  var t = this.partialObserver;
5330
5361
  if (t.complete)
5331
5362
  try {
5332
5363
  t.complete();
5333
5364
  } catch (r) {
5334
- Je(r);
5365
+ Ke(r);
5335
5366
  }
5336
5367
  }, e;
5337
- }(), Ft = function(e) {
5338
- fe(t, e);
5368
+ }(), zt = function(e) {
5369
+ Xe(t, e);
5339
5370
  function t(r, n, i) {
5340
5371
  var o = e.call(this) || this, a;
5341
- if (ce(r) || !r)
5342
- a = {
5343
- next: r != null ? r : void 0,
5344
- error: n != null ? n : void 0,
5345
- complete: i != null ? i : void 0
5346
- };
5347
- else {
5348
- var s;
5349
- o && _n.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
5350
- return o.unsubscribe();
5351
- }, a = {
5352
- next: r.next && St(r.next, s),
5353
- error: r.error && St(r.error, s),
5354
- complete: r.complete && St(r.complete, s)
5355
- }) : a = r;
5356
- }
5357
- return o.destination = new ts(a), o;
5372
+ return ce(r) || !r ? a = {
5373
+ next: r != null ? r : void 0,
5374
+ error: n != null ? n : void 0,
5375
+ complete: i != null ? i : void 0
5376
+ } : a = r, o.destination = new rs(a), o;
5358
5377
  }
5359
5378
  return t;
5360
5379
  }(wn);
5361
- function Je(e) {
5362
- Ka(e);
5380
+ function Ke(e) {
5381
+ ts(e);
5363
5382
  }
5364
- function rs(e) {
5383
+ function ns(e) {
5365
5384
  throw e;
5366
5385
  }
5367
- var ns = {
5386
+ var is = {
5368
5387
  closed: !0,
5369
- next: Tr,
5370
- error: rs,
5371
- complete: Tr
5372
- }, is = function() {
5388
+ next: Sr,
5389
+ error: ns,
5390
+ complete: Sr
5391
+ }, os = function() {
5373
5392
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
5374
5393
  }();
5375
- function os(e) {
5394
+ function as(e) {
5376
5395
  return e;
5377
5396
  }
5378
- function as(e) {
5379
- return e.length === 0 ? os : e.length === 1 ? e[0] : function(r) {
5397
+ function ss(e) {
5398
+ return e.length === 0 ? as : e.length === 1 ? e[0] : function(r) {
5380
5399
  return e.reduce(function(n, i) {
5381
5400
  return i(n);
5382
5401
  }, r);
5383
5402
  };
5384
5403
  }
5385
- var Sr = function() {
5404
+ var Cr = function() {
5386
5405
  function e(t) {
5387
5406
  t && (this._subscribe = t);
5388
5407
  }
@@ -5390,10 +5409,10 @@ var Sr = function() {
5390
5409
  var r = new e();
5391
5410
  return r.source = this, r.operator = t, r;
5392
5411
  }, e.prototype.subscribe = function(t, r, n) {
5393
- var i = this, o = ls(t) ? t : new Ft(t, r, n);
5394
- return rt(function() {
5395
- var a = i, s = a.operator, u = a.source;
5396
- o.add(s ? s.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
5412
+ var i = this, o = ls(t) ? t : new zt(t, r, n);
5413
+ return nt(function() {
5414
+ var a = i, s = a.operator, l = a.source;
5415
+ o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
5397
5416
  }), o;
5398
5417
  }, e.prototype._trySubscribe = function(t) {
5399
5418
  try {
@@ -5403,13 +5422,13 @@ var Sr = function() {
5403
5422
  }
5404
5423
  }, e.prototype.forEach = function(t, r) {
5405
5424
  var n = this;
5406
- return r = Cr(r), new r(function(i, o) {
5407
- var a = new Ft({
5425
+ return r = Pr(r), new r(function(i, o) {
5426
+ var a = new zt({
5408
5427
  next: function(s) {
5409
5428
  try {
5410
5429
  t(s);
5411
- } catch (u) {
5412
- o(u), a.unsubscribe();
5430
+ } catch (l) {
5431
+ o(l), a.unsubscribe();
5413
5432
  }
5414
5433
  },
5415
5434
  error: o,
@@ -5420,15 +5439,15 @@ var Sr = function() {
5420
5439
  }, e.prototype._subscribe = function(t) {
5421
5440
  var r;
5422
5441
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
5423
- }, e.prototype[is] = function() {
5442
+ }, e.prototype[os] = function() {
5424
5443
  return this;
5425
5444
  }, e.prototype.pipe = function() {
5426
5445
  for (var t = [], r = 0; r < arguments.length; r++)
5427
5446
  t[r] = arguments[r];
5428
- return as(t)(this);
5447
+ return ss(t)(this);
5429
5448
  }, e.prototype.toPromise = function(t) {
5430
5449
  var r = this;
5431
- return t = Cr(t), new t(function(n, i) {
5450
+ return t = Pr(t), new t(function(n, i) {
5432
5451
  var o;
5433
5452
  r.subscribe(function(a) {
5434
5453
  return o = a;
@@ -5442,45 +5461,45 @@ var Sr = function() {
5442
5461
  return new e(t);
5443
5462
  }, e;
5444
5463
  }();
5445
- function Cr(e) {
5464
+ function Pr(e) {
5446
5465
  var t;
5447
- return (t = e != null ? e : _n.Promise) !== null && t !== void 0 ? t : Promise;
5466
+ return (t = e != null ? e : Ka.Promise) !== null && t !== void 0 ? t : Promise;
5448
5467
  }
5449
- function ss(e) {
5468
+ function us(e) {
5450
5469
  return e && ce(e.next) && ce(e.error) && ce(e.complete);
5451
5470
  }
5452
5471
  function ls(e) {
5453
- return e && e instanceof wn || ss(e) && yn(e);
5472
+ return e && e instanceof wn || us(e) && _n(e);
5454
5473
  }
5455
- var us = gn(function(e) {
5474
+ var cs = vn(function(e) {
5456
5475
  return function() {
5457
5476
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
5458
5477
  };
5459
5478
  }), xn = function(e) {
5460
- fe(t, e);
5479
+ Xe(t, e);
5461
5480
  function t() {
5462
5481
  var r = e.call(this) || this;
5463
5482
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
5464
5483
  }
5465
5484
  return t.prototype.lift = function(r) {
5466
- var n = new Pr(this, this);
5485
+ var n = new Or(this, this);
5467
5486
  return n.operator = r, n;
5468
5487
  }, t.prototype._throwIfClosed = function() {
5469
5488
  if (this.closed)
5470
- throw new us();
5489
+ throw new cs();
5471
5490
  }, t.prototype.next = function(r) {
5472
5491
  var n = this;
5473
- rt(function() {
5492
+ nt(function() {
5474
5493
  var i, o;
5475
5494
  if (n._throwIfClosed(), !n.isStopped) {
5476
5495
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
5477
5496
  try {
5478
- for (var a = Mt(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
5479
- var u = s.value;
5480
- u.next(r);
5497
+ for (var a = Ft(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
5498
+ var l = s.value;
5499
+ l.next(r);
5481
5500
  }
5482
- } catch (l) {
5483
- i = { error: l };
5501
+ } catch (u) {
5502
+ i = { error: u };
5484
5503
  } finally {
5485
5504
  try {
5486
5505
  s && !s.done && (o = a.return) && o.call(a);
@@ -5493,7 +5512,7 @@ var us = gn(function(e) {
5493
5512
  });
5494
5513
  }, t.prototype.error = function(r) {
5495
5514
  var n = this;
5496
- rt(function() {
5515
+ nt(function() {
5497
5516
  if (n._throwIfClosed(), !n.isStopped) {
5498
5517
  n.hasError = n.isStopped = !0, n.thrownError = r;
5499
5518
  for (var i = n.observers; i.length; )
@@ -5502,7 +5521,7 @@ var us = gn(function(e) {
5502
5521
  });
5503
5522
  }, t.prototype.complete = function() {
5504
5523
  var r = this;
5505
- rt(function() {
5524
+ nt(function() {
5506
5525
  if (r._throwIfClosed(), !r.isStopped) {
5507
5526
  r.isStopped = !0;
5508
5527
  for (var n = r.observers; n.length; )
@@ -5524,20 +5543,20 @@ var us = gn(function(e) {
5524
5543
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
5525
5544
  }, t.prototype._innerSubscribe = function(r) {
5526
5545
  var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
5527
- return o || a ? vn : (this.currentObservers = null, s.push(r), new dt(function() {
5528
- n.currentObservers = null, $t(s, r);
5546
+ return o || a ? yn : (this.currentObservers = null, s.push(r), new gt(function() {
5547
+ n.currentObservers = null, Wt(s, r);
5529
5548
  }));
5530
5549
  }, t.prototype._checkFinalizedStatuses = function(r) {
5531
5550
  var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
5532
5551
  i ? r.error(o) : a && r.complete();
5533
5552
  }, t.prototype.asObservable = function() {
5534
- var r = new Sr();
5553
+ var r = new Cr();
5535
5554
  return r.source = this, r;
5536
5555
  }, t.create = function(r, n) {
5537
- return new Pr(r, n);
5556
+ return new Or(r, n);
5538
5557
  }, t;
5539
- }(Sr), Pr = function(e) {
5540
- fe(t, e);
5558
+ }(Cr), Or = function(e) {
5559
+ Xe(t, e);
5541
5560
  function t(r, n) {
5542
5561
  var i = e.call(this) || this;
5543
5562
  return i.destination = r, i.source = n, i;
@@ -5553,54 +5572,54 @@ var us = gn(function(e) {
5553
5572
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
5554
5573
  }, t.prototype._subscribe = function(r) {
5555
5574
  var n, i;
5556
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : vn;
5575
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : yn;
5557
5576
  }, t;
5558
5577
  }(xn), En = {
5559
5578
  now: function() {
5560
5579
  return (En.delegate || Date).now();
5561
5580
  },
5562
5581
  delegate: void 0
5563
- }, cs = function(e) {
5564
- fe(t, e);
5582
+ }, hs = function(e) {
5583
+ Xe(t, e);
5565
5584
  function t(r, n, i) {
5566
5585
  r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = En);
5567
5586
  var o = e.call(this) || this;
5568
5587
  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;
5569
5588
  }
5570
5589
  return t.prototype.next = function(r) {
5571
- var n = this, i = n.isStopped, o = n._buffer, a = n._infiniteTimeWindow, s = n._timestampProvider, u = n._windowTime;
5572
- i || (o.push(r), !a && o.push(s.now() + u)), this._trimBuffer(), e.prototype.next.call(this, r);
5590
+ var n = this, i = n.isStopped, o = n._buffer, a = n._infiniteTimeWindow, s = n._timestampProvider, l = n._windowTime;
5591
+ i || (o.push(r), !a && o.push(s.now() + l)), this._trimBuffer(), e.prototype.next.call(this, r);
5573
5592
  }, t.prototype._subscribe = function(r) {
5574
5593
  this._throwIfClosed(), this._trimBuffer();
5575
- for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, a = i._buffer, s = a.slice(), u = 0; u < s.length && !r.closed; u += o ? 1 : 2)
5576
- r.next(s[u]);
5594
+ for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, a = i._buffer, s = a.slice(), l = 0; l < s.length && !r.closed; l += o ? 1 : 2)
5595
+ r.next(s[l]);
5577
5596
  return this._checkFinalizedStatuses(r), n;
5578
5597
  }, t.prototype._trimBuffer = function() {
5579
5598
  var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, a = r._infiniteTimeWindow, s = (a ? 1 : 2) * n;
5580
5599
  if (n < 1 / 0 && s < o.length && o.splice(0, o.length - s), !a) {
5581
- for (var u = i.now(), l = 0, c = 1; c < o.length && o[c] <= u; c += 2)
5582
- l = c;
5583
- l && o.splice(0, l + 1);
5600
+ for (var l = i.now(), u = 0, c = 1; c < o.length && o[c] <= l; c += 2)
5601
+ u = c;
5602
+ u && o.splice(0, u + 1);
5584
5603
  }
5585
5604
  }, t;
5586
5605
  }(xn);
5587
- const Or = [], Hr = {}, hs = (e, t = 0) => {
5588
- if (Or.indexOf(e) == -1) {
5589
- const r = new cs(t);
5590
- Hr[e] = r, Or.push(e);
5606
+ const Hr = [], Mr = {}, fs = (e, t = 0) => {
5607
+ if (Hr.indexOf(e) == -1) {
5608
+ const r = new hs(t);
5609
+ Mr[e] = r, Hr.push(e);
5591
5610
  }
5592
- return Hr[e];
5611
+ return Mr[e];
5593
5612
  };
5594
- window.emWidgets = { topic: hs };
5595
- const fs = (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));
5613
+ window.emWidgets = { topic: fs };
5614
+ const ds = (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));
5596
5615
  String(Number.MAX_SAFE_INTEGER).length;
5597
- function ds(e, t) {
5616
+ function ms(e, t) {
5598
5617
  if (e) {
5599
5618
  const r = document.createElement("style");
5600
5619
  r.innerHTML = t, e.appendChild(r);
5601
5620
  }
5602
5621
  }
5603
- function ms(e, t) {
5622
+ function ps(e, t) {
5604
5623
  if (!e || !t)
5605
5624
  return;
5606
5625
  const r = new URL(t);
@@ -5611,7 +5630,7 @@ function ms(e, t) {
5611
5630
  console.error("There was an error while trying to load client styling from URL", n);
5612
5631
  });
5613
5632
  }
5614
- function ps(e, t, r) {
5633
+ function gs(e, t, r) {
5615
5634
  if (window.emMessageBus) {
5616
5635
  const n = document.createElement("style");
5617
5636
  window.emMessageBus.subscribe(t, (i) => {
@@ -5622,240 +5641,240 @@ function ps(e, t, r) {
5622
5641
  function bs(e) {
5623
5642
  Bn(e, "svelte-nqi96j", `.main::-webkit-scrollbar{width:0.25rem}.main::-webkit-scrollbar-track{background:#1e1e24}.main::-webkit-scrollbar-thumb{color:#93CAED}.mobile.drawer{width:100%;height:100%;border-top-left-radius:28px;border-top-right-radius:28px;padding:20px 28px}.mobile.drawer .Skeleton.Text{width:var(--emw-skeleton-text-width-100, 135px)}.mobile .tooltip-backdrop{padding:60px 20px 0;border-top-left-radius:28px;border-top-right-radius:28px}.mobile .tooltip-backdrop .tooltip{padding:20px;font-size:var(--emw--font-size-x-small, 12px)}.mobile .icon-button{width:24px;height:24px}.mobile .coins-header__title{font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-medium, 500);line-height:14px}.mobile .coins-tabs{margin:20px 0}.mobile .coins-tabs__container{border-bottom:1px solid var(--emw--color-secondary, #729787)}.mobile .coins-tabs__tab{font-size:var(--emw--font-size-x-small, 12px);line-height:15px}.mobile .coins-tabs__tab.active{border-bottom:1px solid}.mobile .coins-list{gap:16px}.mobile .coins-list__item{font-weight:var(--emw--font-weight-normal, 400);padding:20px;font-size:var(--emw--font-size-x-small, 12px);line-height:15px;border-radius:var(--emw--border-radius-large, 16px);height:56px}.mobile .coins-list__item__keys{gap:5px;font-size:var(--emw--font-size-medium, 16px)}.mobile .coins-loader{border-radius:var(--emw--border-radius-large, 16px);padding:20px;line-height:15px}.mobile .coins-rules{gap:24px}.mobile .coins-rules__description{font-size:var(--emw--font-size-x-small, 12px);line-height:24px}.mobile .coins-rules__terms{font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-x-small, 12px)}.mobile .coins-rules__prize-title{font-size:var(--emw--font-size-x-small, 12px);line-height:24px}.mobile .coins-rules__list{padding-inline-start:15px;margin:5px 0 0}.mobile .coins-rules__list__item{margin-bottom:5px;font-size:var(--emw--font-size-x-small, 12px);line-height:24px}.mobile .coins-empty{margin-top:50px;font-size:var(--emw--font-size-x-small, 12px)}.mobile .coins-history__title{font-size:var(--emw--font-size-x-small, 12px);line-height:14px;margin-bottom:12px}.mobile .coins-history__list{margin-bottom:32px}.mobile .coins-history__list__item{font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-x-small, 12px);line-height:14px;margin-bottom:12px}.mobile .coins-history__list__item .name img{width:14px;height:14px}.drawer{position:fixed;left:50%;transform:translateX(-50%);background:linear-gradient(180deg, var(--emw--color-background, #213841) 0%, var(--emw--color-background-secondary, #0c1a1c) 100%);box-sizing:border-box;z-index:100;bottom:0;width:60%;height:90%;border-top-left-radius:72px;border-top-right-radius:72px;padding:40px 80px}@container (max-width: 1300px){.drawer{padding:20px 40px}}@container (max-width: 992px){.drawer{width:70%}}@container (max-width: 768px){.drawer{width:80%}}@container (max-width: 576px){.drawer{width:90%}}.drawer .Skeleton{border-radius:var(--emw--border-radius-small, 12px);--emw-skeleton-primary-color:var(--emw--color-primary, #d9d9d9);--emw-skeleton-secondary-color:var(--emw--color-secondary, #999999)}.drawer .Skeleton.Text{width:var(--emw-skeleton-text-width-100, 155px)}.overlay{border:none;position:fixed;top:0;left:0;width:100%;height:100%;background-color:var(--emw--color-gray-transparency-20, rgba(21, 43, 48, 0.5019607843));z-index:0;bottom:0;opacity:1;transition:opacity 0.5s ease-in-out}.icon-button{width:30px;height:30px;border:0px;cursor:pointer}.icon-button.help{background:center/100% no-repeat;background-image:url('data:image/svg+xml,<svg width="24" height="24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M11.708 4.583a7.125 7.125 0 1 0 0 14.25 7.125 7.125 0 0 0 0-14.25ZM3 11.708a8.708 8.708 0 1 1 17.417 0 8.708 8.708 0 0 1-17.417 0Zm8.913-3.147a1.583 1.583 0 0 0-1.762 1.035.792.792 0 0 1-1.493-.525 3.167 3.167 0 0 1 6.154 1.055c0 1.211-.899 2.011-1.54 2.439a6.37 6.37 0 0 1-1.335.672l-.028.01-.008.002-.003.001h-.002l-.251-.75.25.751a.792.792 0 0 1-.5-1.502l.011-.004.06-.022a4.778 4.778 0 0 0 .928-.476c.545-.363.834-.75.834-1.122v-.001a1.583 1.583 0 0 0-1.315-1.563Zm-.996 7.106c0-.438.354-.792.791-.792h.008a.792.792 0 1 1 0 1.583h-.008a.792.792 0 0 1-.791-.791Z" fill="%23729787"/></svg>')}.icon-button.close{background:center/100% no-repeat;background-image:url('data:image/svg+xml,<svg width="24" height="24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M18 6 6 18M6 6l12 12" stroke="%23729787" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>')}.tooltip-backdrop{box-sizing:border-box;z-index:200;position:absolute;width:100%;height:100%;inset:0;background-color:rgba(0, 0, 0, 0.5);padding:90px 30px 0;border-top-left-radius:72px;border-top-right-radius:72px}.tooltip-backdrop .tooltip{border:1px solid var(--emw--button-border-color, #75ffe9);background:var(--emw--color-background, #213841);border-radius:var(--emw--border-radius-large, 8px);line-height:24px;color:var(--emw--color-secondary, #bbb9c3);position:relative;padding:32px;font-size:var(--emw--font-size-medium, 16px)}.tooltip-backdrop .tooltip .icon-button{top:12px;right:12px;position:absolute}.coins-header{display:flex;justify-content:space-between;align-items:center;padding:12px 8px 8px}.coins-header__title{color:var(--emw--color-primary, #d3ffed);font-size:var(--emw--font-size-large, 22px);font-weight:var(--emw--font-weight-bold, 700);line-height:25px}.coins-loader{border-radius:var(--emw--border-radius-large, 28px);display:flex;padding:45px 48px;background:var(--emw--color-background-secondary, #233e42);border:1px solid var(--emw--button-border-color-secondary, #244346);justify-content:space-between;line-height:35px;overflow:hidden;margin-bottom:24px}.coins-history-loader{display:flex;flex-direction:column;gap:16px;margin-bottom:32px}.coins-history-loader-body{display:flex;justify-content:space-between}.coins-history-loader-left{display:flex}.coins-history-dot .Skeleton{border-radius:var(--emw--border-radius-large, 50%);margin-right:10px}.coins-history-text .Skeleton{margin-right:20px}.coins-tabs{margin:28px 0}.coins-tabs__container{display:flex;position:relative;border-bottom:2px solid var(--emw--color-secondary, #729787)}.coins-tabs__tab{padding:8px 10px;font-weight:var(--emw--font-weight-bold, 700);color:var(--emw--color-gray-300, #729787);cursor:pointer;flex-grow:1;text-align:center;background:transparent;border:none;font-size:var(--emw--font-size-medium, 16px);line-height:18px}.coins-tabs__tab.active{color:var(--emw--color-typography, #fff);border-image-source:linear-gradient(90deg, var(--emw--button-border-color, #75ffe9) 0%, var(--emw--button-border-color-secondary, #b2ff6d) 100%);border-image-slice:1;margin-bottom:-1px;border-bottom:2px solid}.coins-list{max-height:85%;overflow:auto;gap:24px;display:flex;flex-wrap:wrap}.coins-list__item{font-weight:var(--emw--font-weight-bold, 700);font-size:var(--emw--font-size-large, 22px);line-height:25px;padding:35px 48px;border-radius:var(--emw--border-radius-large, 28px);height:110px;color:var(--emw--color-primary, #d3ffed);width:100%;display:flex;justify-content:space-between;align-items:center;box-sizing:border-box;background:var(--emw--color-background-secondary, #233e42);border:1px solid var(--emw--button-border-color-secondary, #244346);cursor:pointer}.coins-list__item__keys{display:flex;align-items:center;font-weight:var(--emw--font-weight-bold, 700);background:linear-gradient(90deg, var(--emw--button-border-color, #75ffe9) 0%, var(--emw--button-border-color-secondary, #b2ff6d) 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;font-size:var(--emw--font-size-large, 22px);gap:7px}.coins-rules{display:flex;flex-flow:column;gap:40px;color:var(--emw--color-primary-variant, #a9ccbe)}.coins-rules__description{font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-medium, 16px);line-height:32px}.coins-rules__terms{display:flex;gap:5px;font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-medium, 16px);border:none;padding:0;cursor:pointer;background:linear-gradient(90deg, var(--emw--button-border-color, #75ffe9) 0%, var(--emw--button-border-color-secondary, #b2ff6d) 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}.coins-rules__terms .arrow-icon{width:14px;height:14px;background:center/100% no-repeat;background-image:url('data:image/svg+xml,<svg width="20" height="20" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M4.41 7.744a.833.833 0 0 0 0 1.179l5 5a.833.833 0 0 0 1.18 0l5-5a.833.833 0 1 0-1.18-1.179L10 12.154l-4.41-4.41a.833.833 0 0 0-1.18 0Z" fill="url(%23a)"/><defs><linearGradient id="a" x1="10" y1="7.5" x2="10" y2="14.167" gradientUnits="userSpaceOnUse"><stop stop-color="%2375FFE9"/><stop offset="1" stop-color="%23B2FF6D"/></linearGradient></defs></svg>') no-repeat}.coins-rules__prize-title{color:#ffffff;font-weight:var(--emw--font-weight-bold, 700);font-size:var(--emw--font-size-medium, 16px);line-height:18px}.coins-rules__list{padding-inline-start:25px;margin:15px 0 0}.coins-rules__list__item{font-weight:var(--emw--font-weight-normal, 400);margin-bottom:12px;font-size:var(--emw--font-size-medium, 16px);line-height:32px}.coins-empty{text-align:center;color:var(--emw--color-primary-variant, #a9ccbe);font-weight:var(--emw--font-weight-normal, 400);line-height:24px;margin-top:75px;font-size:var(--emw--font-size-medium, 16px)}.coins-history__title{font-weight:var(--emw--font-weight-bold, 700);color:#ffffff;font-size:var(--emw--font-size-medium, 16px);line-height:18px;margin-bottom:16px}.coins-history__more{border:none;display:flex;gap:4px;padding:0;background:linear-gradient(90deg, var(--emw--button-border-color, #75ffe9) 0%, var(--emw--button-border-color-secondary, #b2ff6d) 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;cursor:pointer;font-weight:var(--emw--font-weight-medium, 500);font-size:var(--emw--font-size-medium, 16px);line-height:18px}.coins-history__list{margin-bottom:40px}.coins-history__list__body{overflow:auto;max-height:200px;padding-right:10px}.coins-history__list__item{display:flex;color:var(--emw--color-primary-variant, #a9ccbe);font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-medium, 16px);line-height:16px;margin-bottom:16px}.coins-history__list__item .index{margin-right:20px}.coins-history__list__item .name{flex-grow:1;margin:0;display:flex;gap:6px}.coins-history__list__item .name img{width:18px;height:18px}::-webkit-scrollbar{width:4px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:var(--emw--color-gray-105, #1b2e31)}::-webkit-scrollbar-thumb:hover{background:var(--emw--color-gray-290, #284044)}`);
5624
5643
  }
5625
- function Mr(e, t, r) {
5644
+ function Br(e, t, r) {
5626
5645
  const n = e.slice();
5627
5646
  return n[43] = t[r], n;
5628
5647
  }
5629
- function Br(e, t, r) {
5648
+ function Ar(e, t, r) {
5630
5649
  const n = e.slice();
5631
5650
  return n[46] = t[r], n[48] = r, n;
5632
5651
  }
5633
- function Ar(e, t, r) {
5652
+ function kr(e, t, r) {
5634
5653
  const n = e.slice();
5635
5654
  return n[40] = t[r], n[42] = r, n;
5636
5655
  }
5637
- function gs(e, t, r) {
5656
+ function vs(e, t, r) {
5638
5657
  const n = e.slice();
5639
5658
  return n[33] = t[r], n;
5640
5659
  }
5641
- function vs(e, t, r) {
5660
+ function ys(e, t, r) {
5642
5661
  const n = e.slice();
5643
5662
  return n[33] = t[r], n;
5644
5663
  }
5645
- function ys(e, t, r) {
5664
+ function _s(e, t, r) {
5646
5665
  const n = e.slice();
5647
5666
  return n[33] = t[r], n;
5648
5667
  }
5649
- function kr(e) {
5668
+ function Lr(e) {
5650
5669
  let t, r, n, i, o, a = (
5651
5670
  /*$_*/
5652
5671
  e[10]("infoTooltip") + ""
5653
- ), s, u, l;
5672
+ ), s, l, u;
5654
5673
  return {
5655
5674
  c() {
5656
- t = y("div"), r = y("div"), n = y("button"), i = P(), o = y("span"), s = B(a), g(n, "class", "icon-button close"), g(r, "class", "tooltip"), g(t, "class", "tooltip-backdrop");
5675
+ t = y("div"), r = y("div"), n = y("button"), i = O(), o = y("span"), s = M(a), v(n, "class", "icon-button close"), v(r, "class", "tooltip"), v(t, "class", "tooltip-backdrop");
5657
5676
  },
5658
5677
  m(c, h) {
5659
- U(c, t, h), d(t, r), d(r, n), d(r, i), d(r, o), d(o, s), u || (l = ue(
5678
+ D(c, t, h), d(t, r), d(r, n), d(r, i), d(r, o), d(o, s), l || (u = le(
5660
5679
  n,
5661
5680
  "click",
5662
5681
  /*showHideToolip*/
5663
5682
  e[13]
5664
- ), u = !0);
5683
+ ), l = !0);
5665
5684
  },
5666
5685
  p(c, h) {
5667
5686
  h[0] & /*$_*/
5668
5687
  1024 && a !== (a = /*$_*/
5669
- c[10]("infoTooltip") + "") && N(s, a);
5688
+ c[10]("infoTooltip") + "") && L(s, a);
5670
5689
  },
5671
5690
  d(c) {
5672
- c && D(t), u = !1, l();
5691
+ c && N(t), l = !1, u();
5673
5692
  }
5674
5693
  };
5675
5694
  }
5676
- function _s(e) {
5695
+ function ws(e) {
5677
5696
  let t, r, n = (
5678
5697
  /*$_*/
5679
5698
  e[10]("rulesDescription") + ""
5680
- ), i, o, a, s, u, l = (
5699
+ ), i, o, a, s, l, u = (
5681
5700
  /*$_*/
5682
5701
  e[10]("prizeAgenda") + ""
5683
- ), c, h, f, m, p = (
5702
+ ), c, h, f, m, g = (
5684
5703
  /*$_*/
5685
5704
  e[10]("tournamentTicket") + ""
5686
5705
  ), b, _, w, x = (
5687
5706
  /*$_*/
5688
5707
  e[10]("freeSpins") + ""
5689
- ), E, A, T, R = (
5708
+ ), E, B, T, R = (
5690
5709
  /*$_*/
5691
5710
  e[10]("bonusMoney") + ""
5692
- ), J, oe, G, K = (
5711
+ ), Z, oe, F, J = (
5693
5712
  /*$_*/
5694
5713
  e[10]("loyaltyPoints") + ""
5695
- ), I, j, X, ae = (
5714
+ ), A, W, X, ae = (
5696
5715
  /*$_*/
5697
5716
  e[10]("luckyWheel") + ""
5698
- ), $, de, te, W = (
5717
+ ), U, me, ee, G = (
5699
5718
  /*$_*/
5700
5719
  e[10]("mysteryChest") + ""
5701
- ), M, v, k, z = (
5720
+ ), p, S, j, se = (
5702
5721
  /*$_*/
5703
5722
  e[10]("coinRoyale") + ""
5704
- ), me, mt, se, le = (
5723
+ ), qe, pe, ue, ge = (
5705
5724
  /*$_*/
5706
5725
  e[10]("customRewards") + ""
5707
- ), we, Y = (
5726
+ ), we, z = (
5708
5727
  /*hasUrl*/
5709
- e[8] && Lr(e)
5728
+ e[8] && Nr(e)
5710
5729
  );
5711
5730
  return {
5712
5731
  c() {
5713
- t = y("div"), r = y("span"), i = B(n), o = P(), Y && Y.c(), a = P(), s = y("section"), u = y("span"), c = B(l), h = P(), f = y("ul"), m = y("li"), b = B(p), _ = P(), w = y("li"), E = B(x), A = P(), T = y("li"), J = B(R), oe = P(), G = y("li"), I = B(K), j = P(), X = y("li"), $ = B(ae), de = P(), te = y("li"), M = B(W), v = P(), k = y("li"), me = B(z), mt = P(), se = y("li"), we = B(le), g(r, "class", "coins-rules__description"), g(u, "class", "coins-rules__prize-title"), g(m, "class", "coins-rules__list__item"), g(w, "class", "coins-rules__list__item"), g(T, "class", "coins-rules__list__item"), g(G, "class", "coins-rules__list__item"), g(X, "class", "coins-rules__list__item"), g(te, "class", "coins-rules__list__item"), g(k, "class", "coins-rules__list__item"), g(se, "class", "coins-rules__list__item"), g(f, "class", "coins-rules__list"), g(t, "class", "coins-rules");
5732
+ t = y("div"), r = y("span"), i = M(n), o = O(), z && z.c(), a = O(), s = y("section"), l = y("span"), c = M(u), h = O(), f = y("ul"), m = y("li"), b = M(g), _ = O(), w = y("li"), E = M(x), B = O(), T = y("li"), Z = M(R), oe = O(), F = y("li"), A = M(J), W = O(), X = y("li"), U = M(ae), me = O(), ee = y("li"), p = M(G), S = O(), j = y("li"), qe = M(se), pe = O(), ue = y("li"), we = M(ge), v(r, "class", "coins-rules__description"), v(l, "class", "coins-rules__prize-title"), v(m, "class", "coins-rules__list__item"), v(w, "class", "coins-rules__list__item"), v(T, "class", "coins-rules__list__item"), v(F, "class", "coins-rules__list__item"), v(X, "class", "coins-rules__list__item"), v(ee, "class", "coins-rules__list__item"), v(j, "class", "coins-rules__list__item"), v(ue, "class", "coins-rules__list__item"), v(f, "class", "coins-rules__list"), v(t, "class", "coins-rules");
5714
5733
  },
5715
- m(F, q) {
5716
- U(F, t, q), d(t, r), d(r, i), d(t, o), Y && Y.m(t, null), d(t, a), d(t, s), d(s, u), d(u, c), d(s, h), d(s, f), d(f, m), d(m, b), d(f, _), d(f, w), d(w, E), d(f, A), d(f, T), d(T, J), d(f, oe), d(f, G), d(G, I), d(f, j), d(f, X), d(X, $), d(f, de), d(f, te), d(te, M), d(f, v), d(f, k), d(k, me), d(f, mt), d(f, se), d(se, we);
5734
+ m($, Y) {
5735
+ D($, t, Y), d(t, r), d(r, i), d(t, o), z && z.m(t, null), d(t, a), d(t, s), d(s, l), d(l, c), d(s, h), d(s, f), d(f, m), d(m, b), d(f, _), d(f, w), d(w, E), d(f, B), d(f, T), d(T, Z), d(f, oe), d(f, F), d(F, A), d(f, W), d(f, X), d(X, U), d(f, me), d(f, ee), d(ee, p), d(f, S), d(f, j), d(j, qe), d(f, pe), d(f, ue), d(ue, we);
5717
5736
  },
5718
- p(F, q) {
5719
- q[0] & /*$_*/
5737
+ p($, Y) {
5738
+ Y[0] & /*$_*/
5720
5739
  1024 && n !== (n = /*$_*/
5721
- F[10]("rulesDescription") + "") && N(i, n), /*hasUrl*/
5722
- F[8] ? Y ? Y.p(F, q) : (Y = Lr(F), Y.c(), Y.m(t, a)) : Y && (Y.d(1), Y = null), q[0] & /*$_*/
5723
- 1024 && l !== (l = /*$_*/
5724
- F[10]("prizeAgenda") + "") && N(c, l), q[0] & /*$_*/
5725
- 1024 && p !== (p = /*$_*/
5726
- F[10]("tournamentTicket") + "") && N(b, p), q[0] & /*$_*/
5740
+ $[10]("rulesDescription") + "") && L(i, n), /*hasUrl*/
5741
+ $[8] ? z ? z.p($, Y) : (z = Nr($), z.c(), z.m(t, a)) : z && (z.d(1), z = null), Y[0] & /*$_*/
5742
+ 1024 && u !== (u = /*$_*/
5743
+ $[10]("prizeAgenda") + "") && L(c, u), Y[0] & /*$_*/
5744
+ 1024 && g !== (g = /*$_*/
5745
+ $[10]("tournamentTicket") + "") && L(b, g), Y[0] & /*$_*/
5727
5746
  1024 && x !== (x = /*$_*/
5728
- F[10]("freeSpins") + "") && N(E, x), q[0] & /*$_*/
5747
+ $[10]("freeSpins") + "") && L(E, x), Y[0] & /*$_*/
5729
5748
  1024 && R !== (R = /*$_*/
5730
- F[10]("bonusMoney") + "") && N(J, R), q[0] & /*$_*/
5731
- 1024 && K !== (K = /*$_*/
5732
- F[10]("loyaltyPoints") + "") && N(I, K), q[0] & /*$_*/
5749
+ $[10]("bonusMoney") + "") && L(Z, R), Y[0] & /*$_*/
5750
+ 1024 && J !== (J = /*$_*/
5751
+ $[10]("loyaltyPoints") + "") && L(A, J), Y[0] & /*$_*/
5733
5752
  1024 && ae !== (ae = /*$_*/
5734
- F[10]("luckyWheel") + "") && N($, ae), q[0] & /*$_*/
5735
- 1024 && W !== (W = /*$_*/
5736
- F[10]("mysteryChest") + "") && N(M, W), q[0] & /*$_*/
5737
- 1024 && z !== (z = /*$_*/
5738
- F[10]("coinRoyale") + "") && N(me, z), q[0] & /*$_*/
5739
- 1024 && le !== (le = /*$_*/
5740
- F[10]("customRewards") + "") && N(we, le);
5753
+ $[10]("luckyWheel") + "") && L(U, ae), Y[0] & /*$_*/
5754
+ 1024 && G !== (G = /*$_*/
5755
+ $[10]("mysteryChest") + "") && L(p, G), Y[0] & /*$_*/
5756
+ 1024 && se !== (se = /*$_*/
5757
+ $[10]("coinRoyale") + "") && L(qe, se), Y[0] & /*$_*/
5758
+ 1024 && ge !== (ge = /*$_*/
5759
+ $[10]("customRewards") + "") && L(we, ge);
5741
5760
  },
5742
- d(F) {
5743
- F && D(t), Y && Y.d();
5761
+ d($) {
5762
+ $ && N(t), z && z.d();
5744
5763
  }
5745
5764
  };
5746
5765
  }
5747
- function ws(e) {
5766
+ function xs(e) {
5748
5767
  let t;
5749
5768
  function r(o, a) {
5750
5769
  return (
5751
5770
  /*coinRoyalesHistory*/
5752
- o[9].length > 0 ? Cs : Ss
5771
+ o[9].length > 0 ? Ps : Cs
5753
5772
  );
5754
5773
  }
5755
5774
  let n = r(e), i = n(e);
5756
5775
  return {
5757
5776
  c() {
5758
- i.c(), t = Ve();
5777
+ i.c(), t = Ye();
5759
5778
  },
5760
5779
  m(o, a) {
5761
- i.m(o, a), U(o, t, a);
5780
+ i.m(o, a), D(o, t, a);
5762
5781
  },
5763
5782
  p(o, a) {
5764
5783
  n === (n = r(o)) && i ? i.p(o, a) : (i.d(1), i = n(o), i && (i.c(), i.m(t.parentNode, t)));
5765
5784
  },
5766
5785
  d(o) {
5767
- o && D(t), i.d(o);
5786
+ o && N(t), i.d(o);
5768
5787
  }
5769
5788
  };
5770
5789
  }
5771
- function xs(e) {
5790
+ function Es(e) {
5772
5791
  let t;
5773
5792
  function r(o, a) {
5774
5793
  return (
5775
5794
  /*coinRoyales*/
5776
- o[6].length > 0 ? Ms : Hs
5795
+ o[6].length > 0 ? Bs : Ms
5777
5796
  );
5778
5797
  }
5779
5798
  let n = r(e), i = n(e);
5780
5799
  return {
5781
5800
  c() {
5782
- i.c(), t = Ve();
5801
+ i.c(), t = Ye();
5783
5802
  },
5784
5803
  m(o, a) {
5785
- i.m(o, a), U(o, t, a);
5804
+ i.m(o, a), D(o, t, a);
5786
5805
  },
5787
5806
  p(o, a) {
5788
5807
  n === (n = r(o)) && i ? i.p(o, a) : (i.d(1), i = n(o), i && (i.c(), i.m(t.parentNode, t)));
5789
5808
  },
5790
5809
  d(o) {
5791
- o && D(t), i.d(o);
5810
+ o && N(t), i.d(o);
5792
5811
  }
5793
5812
  };
5794
5813
  }
5795
- function Es(e) {
5814
+ function Ts(e) {
5796
5815
  let t, r = he([1, 2, 3]), n = [];
5797
5816
  for (let i = 0; i < 3; i += 1)
5798
- n[i] = As(gs(e, r, i));
5817
+ n[i] = ks(vs(e, r, i));
5799
5818
  return {
5800
5819
  c() {
5801
5820
  for (let i = 0; i < 3; i += 1)
5802
5821
  n[i].c();
5803
- t = Ve();
5822
+ t = Ye();
5804
5823
  },
5805
5824
  m(i, o) {
5806
5825
  for (let a = 0; a < 3; a += 1)
5807
5826
  n[a] && n[a].m(i, o);
5808
- U(i, t, o);
5827
+ D(i, t, o);
5809
5828
  },
5810
5829
  p: V,
5811
5830
  d(i) {
5812
- i && D(t), Ne(n, i);
5831
+ i && N(t), Le(n, i);
5813
5832
  }
5814
5833
  };
5815
5834
  }
5816
- function Ts(e) {
5835
+ function Ss(e) {
5817
5836
  let t, r = he([1, 2, 3, 4, 5, 6, 7]), n = [];
5818
5837
  for (let i = 0; i < 7; i += 1)
5819
- n[i] = ks(ys(e, r, i));
5838
+ n[i] = Ls(_s(e, r, i));
5820
5839
  return {
5821
5840
  c() {
5822
5841
  for (let i = 0; i < 7; i += 1)
5823
5842
  n[i].c();
5824
- t = Ve();
5843
+ t = Ye();
5825
5844
  },
5826
5845
  m(i, o) {
5827
5846
  for (let a = 0; a < 7; a += 1)
5828
5847
  n[a] && n[a].m(i, o);
5829
- U(i, t, o);
5848
+ D(i, t, o);
5830
5849
  },
5831
5850
  p: V,
5832
5851
  d(i) {
5833
- i && D(t), Ne(n, i);
5852
+ i && N(t), Le(n, i);
5834
5853
  }
5835
5854
  };
5836
5855
  }
5837
- function Lr(e) {
5856
+ function Nr(e) {
5838
5857
  let t, r, n = (
5839
5858
  /*$_*/
5840
5859
  e[10]("terms") + ""
5841
5860
  ), i, o, a;
5842
5861
  return {
5843
5862
  c() {
5844
- t = y("a"), r = y("span"), i = B(n), o = P(), a = y("span"), g(a, "class", "arrow-icon"), g(t, "class", "coins-rules__terms"), g(
5863
+ t = y("a"), r = y("span"), i = M(n), o = O(), a = y("span"), v(a, "class", "arrow-icon"), v(t, "class", "coins-rules__terms"), v(
5845
5864
  t,
5846
5865
  "href",
5847
5866
  /*terms*/
5848
5867
  e[0]
5849
- ), g(t, "target", "_blank");
5868
+ ), v(t, "target", "_blank");
5850
5869
  },
5851
- m(s, u) {
5852
- U(s, t, u), d(t, r), d(r, i), d(t, o), d(t, a);
5870
+ m(s, l) {
5871
+ D(s, t, l), d(t, r), d(r, i), d(t, o), d(t, a);
5853
5872
  },
5854
- p(s, u) {
5855
- u[0] & /*$_*/
5873
+ p(s, l) {
5874
+ l[0] & /*$_*/
5856
5875
  1024 && n !== (n = /*$_*/
5857
- s[10]("terms") + "") && N(i, n), u[0] & /*terms*/
5858
- 1 && g(
5876
+ s[10]("terms") + "") && L(i, n), l[0] & /*terms*/
5877
+ 1 && v(
5859
5878
  t,
5860
5879
  "href",
5861
5880
  /*terms*/
@@ -5863,49 +5882,49 @@ function Lr(e) {
5863
5882
  );
5864
5883
  },
5865
5884
  d(s) {
5866
- s && D(t);
5885
+ s && N(t);
5867
5886
  }
5868
5887
  };
5869
5888
  }
5870
- function Ss(e) {
5889
+ function Cs(e) {
5871
5890
  let t, r = (
5872
5891
  /*$_*/
5873
5892
  e[10]("noHistoryYet") + ""
5874
5893
  ), n;
5875
5894
  return {
5876
5895
  c() {
5877
- t = y("div"), n = B(r), g(t, "class", "coins-empty");
5896
+ t = y("div"), n = M(r), v(t, "class", "coins-empty");
5878
5897
  },
5879
5898
  m(i, o) {
5880
- U(i, t, o), d(t, n);
5899
+ D(i, t, o), d(t, n);
5881
5900
  },
5882
5901
  p(i, o) {
5883
5902
  o[0] & /*$_*/
5884
5903
  1024 && r !== (r = /*$_*/
5885
- i[10]("noHistoryYet") + "") && N(n, r);
5904
+ i[10]("noHistoryYet") + "") && L(n, r);
5886
5905
  },
5887
5906
  d(i) {
5888
- i && D(t);
5907
+ i && N(t);
5889
5908
  }
5890
5909
  };
5891
5910
  }
5892
- function Cs(e) {
5911
+ function Ps(e) {
5893
5912
  let t, r = he(
5894
5913
  /*coinRoyalesHistory*/
5895
5914
  e[9]
5896
5915
  ), n = [];
5897
5916
  for (let i = 0; i < r.length; i += 1)
5898
- n[i] = Dr(Mr(e, r, i));
5917
+ n[i] = Rr(Br(e, r, i));
5899
5918
  return {
5900
5919
  c() {
5901
5920
  for (let i = 0; i < n.length; i += 1)
5902
5921
  n[i].c();
5903
- t = Ve();
5922
+ t = Ye();
5904
5923
  },
5905
5924
  m(i, o) {
5906
5925
  for (let a = 0; a < n.length; a += 1)
5907
5926
  n[a] && n[a].m(i, o);
5908
- U(i, t, o);
5927
+ D(i, t, o);
5909
5928
  },
5910
5929
  p(i, o) {
5911
5930
  if (o[0] & /*showMore, coinRoyalesHistory, $_*/
@@ -5916,8 +5935,8 @@ function Cs(e) {
5916
5935
  );
5917
5936
  let a;
5918
5937
  for (a = 0; a < r.length; a += 1) {
5919
- const s = Mr(i, r, a);
5920
- n[a] ? n[a].p(s, o) : (n[a] = Dr(s), n[a].c(), n[a].m(t.parentNode, t));
5938
+ const s = Br(i, r, a);
5939
+ n[a] ? n[a].p(s, o) : (n[a] = Rr(s), n[a].c(), n[a].m(t.parentNode, t));
5921
5940
  }
5922
5941
  for (; a < n.length; a += 1)
5923
5942
  n[a].d(1);
@@ -5925,55 +5944,55 @@ function Cs(e) {
5925
5944
  }
5926
5945
  },
5927
5946
  d(i) {
5928
- i && D(t), Ne(n, i);
5947
+ i && N(t), Le(n, i);
5929
5948
  }
5930
5949
  };
5931
5950
  }
5932
- function Ps(e) {
5951
+ function Os(e) {
5933
5952
  let t, r;
5934
5953
  return {
5935
5954
  c() {
5936
- t = y("img"), He(t.src, r = /*outcome*/
5937
- e[46].assets) || g(t, "src", r), g(t, "alt", "");
5955
+ t = y("img"), Oe(t.src, r = /*outcome*/
5956
+ e[46].assets) || v(t, "src", r), v(t, "alt", "");
5938
5957
  },
5939
5958
  m(n, i) {
5940
- U(n, t, i);
5959
+ D(n, t, i);
5941
5960
  },
5942
5961
  p(n, i) {
5943
5962
  i[0] & /*coinRoyalesHistory*/
5944
- 512 && !He(t.src, r = /*outcome*/
5945
- n[46].assets) && g(t, "src", r);
5963
+ 512 && !Oe(t.src, r = /*outcome*/
5964
+ n[46].assets) && v(t, "src", r);
5946
5965
  },
5947
5966
  d(n) {
5948
- n && D(t);
5967
+ n && N(t);
5949
5968
  }
5950
5969
  };
5951
5970
  }
5952
- function Os(e) {
5971
+ function Hs(e) {
5953
5972
  let t = (
5954
5973
  /*outcome*/
5955
5974
  e[46].name + ""
5956
5975
  ), r;
5957
5976
  return {
5958
5977
  c() {
5959
- r = B(t);
5978
+ r = M(t);
5960
5979
  },
5961
5980
  m(n, i) {
5962
- U(n, r, i);
5981
+ D(n, r, i);
5963
5982
  },
5964
5983
  p(n, i) {
5965
5984
  i[0] & /*coinRoyalesHistory*/
5966
5985
  512 && t !== (t = /*outcome*/
5967
- n[46].name + "") && N(r, t);
5986
+ n[46].name + "") && L(r, t);
5968
5987
  },
5969
5988
  d(n) {
5970
- n && D(r);
5989
+ n && N(r);
5971
5990
  }
5972
5991
  };
5973
5992
  }
5974
- function Nr(e) {
5993
+ function Ir(e) {
5975
5994
  var _;
5976
- let t, r, n, i, o, a, s, u, l, c = (
5995
+ let t, r, n, i, o, a, s, l, u, c = (
5977
5996
  /*outcome*/
5978
5997
  ((_ = e[46]) == null ? void 0 : _.date) + ""
5979
5998
  ), h, f;
@@ -5981,39 +6000,39 @@ function Nr(e) {
5981
6000
  var E;
5982
6001
  return (
5983
6002
  /*outcome*/
5984
- (E = w[46]) != null && E.name ? Os : Ps
6003
+ (E = w[46]) != null && E.name ? Hs : Os
5985
6004
  );
5986
6005
  }
5987
- let p = m(e), b = p(e);
6006
+ let g = m(e), b = g(e);
5988
6007
  return {
5989
6008
  c() {
5990
6009
  var w;
5991
6010
  t = y("div"), r = y("span"), r.textContent = `${/*index*/
5992
- e[48] + 1}`, n = P(), i = y("p"), b.c(), o = P(), a = y("img"), u = P(), l = y("span"), h = B(c), f = P(), g(r, "class", "index"), He(a.src, s = /*outcome*/
5993
- (w = e[46]) != null && w.state ? tr : er) || g(a, "src", s), g(a, "alt", ""), g(i, "class", "name"), g(l, "class", "time"), g(t, "class", "coins-history__list__item");
6011
+ e[48] + 1}`, n = O(), i = y("p"), b.c(), o = O(), a = y("img"), l = O(), u = y("span"), h = M(c), f = O(), v(r, "class", "index"), Oe(a.src, s = /*outcome*/
6012
+ (w = e[46]) != null && w.state ? rr : tr) || v(a, "src", s), v(a, "alt", ""), v(i, "class", "name"), v(u, "class", "time"), v(t, "class", "coins-history__list__item");
5994
6013
  },
5995
6014
  m(w, x) {
5996
- U(w, t, x), d(t, r), d(t, n), d(t, i), b.m(i, null), d(i, o), d(i, a), d(t, u), d(t, l), d(l, h), d(t, f);
6015
+ D(w, t, x), d(t, r), d(t, n), d(t, i), b.m(i, null), d(i, o), d(i, a), d(t, l), d(t, u), d(u, h), d(t, f);
5997
6016
  },
5998
6017
  p(w, x) {
5999
- var E, A;
6000
- p === (p = m(w)) && b ? b.p(w, x) : (b.d(1), b = p(w), b && (b.c(), b.m(i, o))), x[0] & /*coinRoyalesHistory*/
6001
- 512 && !He(a.src, s = /*outcome*/
6002
- (E = w[46]) != null && E.state ? tr : er) && g(a, "src", s), x[0] & /*coinRoyalesHistory*/
6018
+ var E, B;
6019
+ g === (g = m(w)) && b ? b.p(w, x) : (b.d(1), b = g(w), b && (b.c(), b.m(i, o))), x[0] & /*coinRoyalesHistory*/
6020
+ 512 && !Oe(a.src, s = /*outcome*/
6021
+ (E = w[46]) != null && E.state ? rr : tr) && v(a, "src", s), x[0] & /*coinRoyalesHistory*/
6003
6022
  512 && c !== (c = /*outcome*/
6004
- ((A = w[46]) == null ? void 0 : A.date) + "") && N(h, c);
6023
+ ((B = w[46]) == null ? void 0 : B.date) + "") && L(h, c);
6005
6024
  },
6006
6025
  d(w) {
6007
- w && D(t), b.d();
6026
+ w && N(t), b.d();
6008
6027
  }
6009
6028
  };
6010
6029
  }
6011
- function Ir(e) {
6030
+ function Dr(e) {
6012
6031
  let t, r = (
6013
6032
  /*$_*/
6014
6033
  e[10]("more") + ""
6015
- ), n, i, o, a, s, u;
6016
- function l() {
6034
+ ), n, i, o, a, s, l;
6035
+ function u() {
6017
6036
  return (
6018
6037
  /*click_handler_1*/
6019
6038
  e[24](
@@ -6024,27 +6043,27 @@ function Ir(e) {
6024
6043
  }
6025
6044
  return {
6026
6045
  c() {
6027
- t = y("button"), n = B(r), i = P(), o = y("img"), He(o.src, a = Jn) || g(o, "src", a), g(o, "alt", "More"), g(t, "class", "coins-history__more");
6046
+ t = y("button"), n = M(r), i = O(), o = y("img"), Oe(o.src, a = Jn) || v(o, "src", a), v(o, "alt", "More"), v(t, "class", "coins-history__more");
6028
6047
  },
6029
6048
  m(c, h) {
6030
- U(c, t, h), d(t, n), d(t, i), d(t, o), s || (u = ue(t, "click", l), s = !0);
6049
+ D(c, t, h), d(t, n), d(t, i), d(t, o), s || (l = le(t, "click", u), s = !0);
6031
6050
  },
6032
6051
  p(c, h) {
6033
6052
  e = c, h[0] & /*$_*/
6034
6053
  1024 && r !== (r = /*$_*/
6035
- e[10]("more") + "") && N(n, r);
6054
+ e[10]("more") + "") && L(n, r);
6036
6055
  },
6037
6056
  d(c) {
6038
- c && D(t), s = !1, u();
6057
+ c && N(t), s = !1, l();
6039
6058
  }
6040
6059
  };
6041
6060
  }
6042
- function Dr(e) {
6061
+ function Rr(e) {
6043
6062
  var f;
6044
6063
  let t, r, n = (
6045
6064
  /*history*/
6046
6065
  e[43].name + ""
6047
- ), i, o, a, s, u, l = he(
6066
+ ), i, o, a, s, l, u = he(
6048
6067
  /*history*/
6049
6068
  e[43].outcomes.slice(
6050
6069
  0,
@@ -6052,33 +6071,33 @@ function Dr(e) {
6052
6071
  e[43].endPos
6053
6072
  )
6054
6073
  ), c = [];
6055
- for (let m = 0; m < l.length; m += 1)
6056
- c[m] = Nr(Br(e, l, m));
6074
+ for (let m = 0; m < u.length; m += 1)
6075
+ c[m] = Ir(Ar(e, u, m));
6057
6076
  let h = (
6058
6077
  /*history*/
6059
6078
  ((f = e[43].outcomes) == null ? void 0 : f.length) > 3 && /*history*/
6060
- e[43].endPos === 3 && Ir(e)
6079
+ e[43].endPos === 3 && Dr(e)
6061
6080
  );
6062
6081
  return {
6063
6082
  c() {
6064
- t = y("div"), r = y("div"), i = B(n), o = P(), a = y("div");
6083
+ t = y("div"), r = y("div"), i = M(n), o = O(), a = y("div");
6065
6084
  for (let m = 0; m < c.length; m += 1)
6066
6085
  c[m].c();
6067
- s = P(), h && h.c(), u = P(), g(r, "class", "coins-history__title"), g(a, "class", "coins-history__list__body"), g(t, "class", "coins-history__list");
6086
+ s = O(), h && h.c(), l = O(), v(r, "class", "coins-history__title"), v(a, "class", "coins-history__list__body"), v(t, "class", "coins-history__list");
6068
6087
  },
6069
- m(m, p) {
6070
- U(m, t, p), d(t, r), d(r, i), d(t, o), d(t, a);
6088
+ m(m, g) {
6089
+ D(m, t, g), d(t, r), d(r, i), d(t, o), d(t, a);
6071
6090
  for (let b = 0; b < c.length; b += 1)
6072
6091
  c[b] && c[b].m(a, null);
6073
- d(t, s), h && h.m(t, null), d(t, u);
6092
+ d(t, s), h && h.m(t, null), d(t, l);
6074
6093
  },
6075
- p(m, p) {
6094
+ p(m, g) {
6076
6095
  var b;
6077
- if (p[0] & /*coinRoyalesHistory*/
6096
+ if (g[0] & /*coinRoyalesHistory*/
6078
6097
  512 && n !== (n = /*history*/
6079
- m[43].name + "") && N(i, n), p[0] & /*coinRoyalesHistory*/
6098
+ m[43].name + "") && L(i, n), g[0] & /*coinRoyalesHistory*/
6080
6099
  512) {
6081
- l = he(
6100
+ u = he(
6082
6101
  /*history*/
6083
6102
  m[43].outcomes.slice(
6084
6103
  0,
@@ -6087,61 +6106,61 @@ function Dr(e) {
6087
6106
  )
6088
6107
  );
6089
6108
  let _;
6090
- for (_ = 0; _ < l.length; _ += 1) {
6091
- const w = Br(m, l, _);
6092
- c[_] ? c[_].p(w, p) : (c[_] = Nr(w), c[_].c(), c[_].m(a, null));
6109
+ for (_ = 0; _ < u.length; _ += 1) {
6110
+ const w = Ar(m, u, _);
6111
+ c[_] ? c[_].p(w, g) : (c[_] = Ir(w), c[_].c(), c[_].m(a, null));
6093
6112
  }
6094
6113
  for (; _ < c.length; _ += 1)
6095
6114
  c[_].d(1);
6096
- c.length = l.length;
6115
+ c.length = u.length;
6097
6116
  }
6098
6117
  /*history*/
6099
6118
  ((b = m[43].outcomes) == null ? void 0 : b.length) > 3 && /*history*/
6100
- m[43].endPos === 3 ? h ? h.p(m, p) : (h = Ir(m), h.c(), h.m(t, u)) : h && (h.d(1), h = null);
6119
+ m[43].endPos === 3 ? h ? h.p(m, g) : (h = Dr(m), h.c(), h.m(t, l)) : h && (h.d(1), h = null);
6101
6120
  },
6102
6121
  d(m) {
6103
- m && D(t), Ne(c, m), h && h.d();
6122
+ m && N(t), Le(c, m), h && h.d();
6104
6123
  }
6105
6124
  };
6106
6125
  }
6107
- function Hs(e) {
6126
+ function Ms(e) {
6108
6127
  let t, r = (
6109
6128
  /*$_*/
6110
6129
  e[10]("noCoinYet") + ""
6111
6130
  ), n;
6112
6131
  return {
6113
6132
  c() {
6114
- t = y("div"), n = B(r), g(t, "class", "coins-empty");
6133
+ t = y("div"), n = M(r), v(t, "class", "coins-empty");
6115
6134
  },
6116
6135
  m(i, o) {
6117
- U(i, t, o), d(t, n);
6136
+ D(i, t, o), d(t, n);
6118
6137
  },
6119
6138
  p(i, o) {
6120
6139
  o[0] & /*$_*/
6121
6140
  1024 && r !== (r = /*$_*/
6122
- i[10]("noCoinYet") + "") && N(n, r);
6141
+ i[10]("noCoinYet") + "") && L(n, r);
6123
6142
  },
6124
6143
  d(i) {
6125
- i && D(t);
6144
+ i && N(t);
6126
6145
  }
6127
6146
  };
6128
6147
  }
6129
- function Ms(e) {
6148
+ function Bs(e) {
6130
6149
  let t, r = he(
6131
6150
  /*coinRoyales*/
6132
6151
  e[6]
6133
6152
  ), n = [];
6134
6153
  for (let i = 0; i < r.length; i += 1)
6135
- n[i] = Rr(Ar(e, r, i));
6154
+ n[i] = Ur(kr(e, r, i));
6136
6155
  return {
6137
6156
  c() {
6138
6157
  t = y("div");
6139
6158
  for (let i = 0; i < n.length; i += 1)
6140
6159
  n[i].c();
6141
- g(t, "class", "coins-list");
6160
+ v(t, "class", "coins-list");
6142
6161
  },
6143
6162
  m(i, o) {
6144
- U(i, t, o);
6163
+ D(i, t, o);
6145
6164
  for (let a = 0; a < n.length; a += 1)
6146
6165
  n[a] && n[a].m(t, null);
6147
6166
  },
@@ -6154,8 +6173,8 @@ function Ms(e) {
6154
6173
  );
6155
6174
  let a;
6156
6175
  for (a = 0; a < r.length; a += 1) {
6157
- const s = Ar(i, r, a);
6158
- n[a] ? n[a].p(s, o) : (n[a] = Rr(s), n[a].c(), n[a].m(t, null));
6176
+ const s = kr(i, r, a);
6177
+ n[a] ? n[a].p(s, o) : (n[a] = Ur(s), n[a].c(), n[a].m(t, null));
6159
6178
  }
6160
6179
  for (; a < n.length; a += 1)
6161
6180
  n[a].d(1);
@@ -6163,11 +6182,11 @@ function Ms(e) {
6163
6182
  }
6164
6183
  },
6165
6184
  d(i) {
6166
- i && D(t), Ne(n, i);
6185
+ i && N(t), Le(n, i);
6167
6186
  }
6168
6187
  };
6169
6188
  }
6170
- function Rr(e) {
6189
+ function Ur(e) {
6171
6190
  var _, w;
6172
6191
  let t, r = (
6173
6192
  /*coin*/
@@ -6176,10 +6195,10 @@ function Rr(e) {
6176
6195
  e[1]
6177
6196
  ] || /*coin*/
6178
6197
  e[40].program.name[ve.default]) + ""
6179
- ), n, i, o, a, s, u, l, c = (
6198
+ ), n, i, o, a, s, l, u, c = (
6180
6199
  /*coin*/
6181
6200
  ((w = (_ = e[40]) == null ? void 0 : _.current) == null ? void 0 : w.remainingTimes) + ""
6182
- ), h, f, m, p;
6201
+ ), h, f, m, g;
6183
6202
  function b() {
6184
6203
  return (
6185
6204
  /*click_handler*/
@@ -6191,337 +6210,337 @@ function Rr(e) {
6191
6210
  }
6192
6211
  return {
6193
6212
  c() {
6194
- t = y("button"), n = B(r), i = P(), o = y("div"), a = y("img"), u = P(), l = y("span"), h = B(c), f = P(), He(a.src, s = Zn) || g(a, "src", s), g(a, "alt", "Key"), g(o, "class", "coins-list__item__keys"), g(t, "class", "coins-list__item");
6213
+ t = y("button"), n = M(r), i = O(), o = y("div"), a = y("img"), l = O(), u = y("span"), h = M(c), f = O(), Oe(a.src, s = Zn) || v(a, "src", s), v(a, "alt", "Key"), v(o, "class", "coins-list__item__keys"), v(t, "class", "coins-list__item");
6195
6214
  },
6196
6215
  m(x, E) {
6197
- U(x, t, E), d(t, n), d(t, i), d(t, o), d(o, a), d(o, u), d(o, l), d(l, h), d(t, f), m || (p = ue(t, "click", b), m = !0);
6216
+ D(x, t, E), d(t, n), d(t, i), d(t, o), d(o, a), d(o, l), d(o, u), d(u, h), d(t, f), m || (g = le(t, "click", b), m = !0);
6198
6217
  },
6199
6218
  p(x, E) {
6200
- var A, T;
6219
+ var B, T;
6201
6220
  e = x, E[0] & /*coinRoyales, lang*/
6202
6221
  66 && r !== (r = /*coin*/
6203
6222
  (e[40].program.name[
6204
6223
  /*lang*/
6205
6224
  e[1]
6206
6225
  ] || /*coin*/
6207
- e[40].program.name[ve.default]) + "") && N(n, r), E[0] & /*coinRoyales*/
6226
+ e[40].program.name[ve.default]) + "") && L(n, r), E[0] & /*coinRoyales*/
6208
6227
  64 && c !== (c = /*coin*/
6209
- ((T = (A = e[40]) == null ? void 0 : A.current) == null ? void 0 : T.remainingTimes) + "") && N(h, c);
6228
+ ((T = (B = e[40]) == null ? void 0 : B.current) == null ? void 0 : T.remainingTimes) + "") && L(h, c);
6210
6229
  },
6211
6230
  d(x) {
6212
- x && D(t), m = !1, p();
6231
+ x && N(t), m = !1, g();
6213
6232
  }
6214
6233
  };
6215
6234
  }
6216
- function Bs(e) {
6235
+ function As(e) {
6217
6236
  let t;
6218
6237
  return {
6219
6238
  c() {
6220
- t = y("div"), t.innerHTML = '<div class="coins-history-loader-left"><ui-skeleton class="coins-history-dot" structure="rectangle" width="16px" height="16px"></ui-skeleton> <ui-skeleton class="coins-history-text" structure="text" height="16px"></ui-skeleton></div> <ui-skeleton structure="text" width="50px" height="16px"></ui-skeleton>', g(t, "class", "coins-history-loader-body");
6239
+ t = y("div"), t.innerHTML = '<div class="coins-history-loader-left"><ui-skeleton class="coins-history-dot" structure="rectangle" width="16px" height="16px"></ui-skeleton> <ui-skeleton class="coins-history-text" structure="text" height="16px"></ui-skeleton></div> <ui-skeleton structure="text" width="50px" height="16px"></ui-skeleton>', v(t, "class", "coins-history-loader-body");
6221
6240
  },
6222
6241
  m(r, n) {
6223
- U(r, t, n);
6242
+ D(r, t, n);
6224
6243
  },
6225
6244
  p: V,
6226
6245
  d(r) {
6227
- r && D(t);
6246
+ r && N(t);
6228
6247
  }
6229
6248
  };
6230
6249
  }
6231
- function As(e) {
6250
+ function ks(e) {
6232
6251
  let t, r, n, i, o = he([1, 2, 3]), a = [];
6233
6252
  for (let s = 0; s < 3; s += 1)
6234
- a[s] = Bs(vs(e, o, s));
6253
+ a[s] = As(ys(e, o, s));
6235
6254
  return {
6236
6255
  c() {
6237
- t = y("div"), r = y("ui-skeleton"), n = P();
6256
+ t = y("div"), r = y("ui-skeleton"), n = O();
6238
6257
  for (let s = 0; s < 3; s += 1)
6239
6258
  a[s].c();
6240
- i = P(), Zt(r, "structure", "text"), Zt(r, "height", "16px"), g(t, "class", "coins-history-loader");
6259
+ i = O(), Jt(r, "structure", "text"), Jt(r, "height", "16px"), v(t, "class", "coins-history-loader");
6241
6260
  },
6242
- m(s, u) {
6243
- U(s, t, u), d(t, r), d(t, n);
6244
- for (let l = 0; l < 3; l += 1)
6245
- a[l] && a[l].m(t, null);
6261
+ m(s, l) {
6262
+ D(s, t, l), d(t, r), d(t, n);
6263
+ for (let u = 0; u < 3; u += 1)
6264
+ a[u] && a[u].m(t, null);
6246
6265
  d(t, i);
6247
6266
  },
6248
6267
  p: V,
6249
6268
  d(s) {
6250
- s && D(t), Ne(a, s);
6269
+ s && N(t), Le(a, s);
6251
6270
  }
6252
6271
  };
6253
6272
  }
6254
- function ks(e) {
6273
+ function Ls(e) {
6255
6274
  let t;
6256
6275
  return {
6257
6276
  c() {
6258
- t = y("div"), t.innerHTML = '<ui-skeleton structure="text" height="16px"></ui-skeleton> <ui-skeleton structure="rectangle" width="50px" height="16px"></ui-skeleton> ', g(t, "class", "coins-loader");
6277
+ t = y("div"), t.innerHTML = '<ui-skeleton structure="text" height="16px"></ui-skeleton> <ui-skeleton structure="rectangle" width="50px" height="16px"></ui-skeleton> ', v(t, "class", "coins-loader");
6259
6278
  },
6260
6279
  m(r, n) {
6261
- U(r, t, n);
6280
+ D(r, t, n);
6262
6281
  },
6263
6282
  p: V,
6264
6283
  d(r) {
6265
- r && D(t);
6284
+ r && N(t);
6266
6285
  }
6267
6286
  };
6268
6287
  }
6269
- function Ls(e) {
6270
- let t, r, n, i, o, a, s, u, l, c = (
6288
+ function Ns(e) {
6289
+ let t, r, n, i, o, a, s, l, u, c = (
6271
6290
  /*$_*/
6272
6291
  e[10]("headerTitle") + ""
6273
- ), h, f, m, p, b, _, w, x = (
6292
+ ), h, f, m, g, b, _, w, x = (
6274
6293
  /*$_*/
6275
6294
  e[10]("play") + ""
6276
- ), E, A, T, R = (
6295
+ ), E, B, T, R = (
6277
6296
  /*$_*/
6278
6297
  e[10]("history") + ""
6279
- ), J, oe, G, K = (
6298
+ ), Z, oe, F, J = (
6280
6299
  /*$_*/
6281
6300
  e[10]("rules") + ""
6282
- ), I, j, X, ae, $ = (
6301
+ ), A, W, X, ae, U = (
6283
6302
  /*tooltip*/
6284
- e[7] && kr(e)
6303
+ e[7] && Lr(e)
6285
6304
  );
6286
- function de(M, v) {
6305
+ function me(p, S) {
6287
6306
  return (
6288
6307
  /*coinsLoading*/
6289
- M[5] ? Ts : (
6308
+ p[5] ? Ss : (
6290
6309
  /*historyLoading*/
6291
- M[4] ? Es : (
6310
+ p[4] ? Ts : (
6292
6311
  /*activeTab*/
6293
- M[3] === 1 ? xs : (
6312
+ p[3] === 1 ? Es : (
6294
6313
  /*activeTab*/
6295
- M[3] === 2 ? ws : _s
6314
+ p[3] === 2 ? xs : ws
6296
6315
  )
6297
6316
  )
6298
6317
  )
6299
6318
  );
6300
6319
  }
6301
- let te = de(e), W = te(e);
6320
+ let ee = me(e), G = ee(e);
6302
6321
  return {
6303
6322
  c() {
6304
- t = y("div"), r = y("button"), n = P(), i = y("div"), $ && $.c(), o = P(), a = y("div"), s = y("button"), u = P(), l = y("div"), h = B(c), f = P(), m = y("button"), p = P(), b = y("div"), _ = y("div"), w = y("button"), E = B(x), A = P(), T = y("button"), J = B(R), oe = P(), G = y("button"), I = B(K), j = P(), W.c(), g(r, "class", "overlay"), g(s, "class", "icon-button help"), g(l, "class", "coins-header__title"), g(m, "class", "icon-button close"), g(a, "class", "coins-header"), g(w, "data-index", "1"), g(w, "class", "coins-tabs__tab"), xe(
6323
+ t = y("div"), r = y("button"), n = O(), i = y("div"), U && U.c(), o = O(), a = y("div"), s = y("button"), l = O(), u = y("div"), h = M(c), f = O(), m = y("button"), g = O(), b = y("div"), _ = y("div"), w = y("button"), E = M(x), B = O(), T = y("button"), Z = M(R), oe = O(), F = y("button"), A = M(J), W = O(), G.c(), v(r, "class", "overlay"), v(s, "class", "icon-button help"), v(u, "class", "coins-header__title"), v(m, "class", "icon-button close"), v(a, "class", "coins-header"), v(w, "data-index", "1"), v(w, "class", "coins-tabs__tab"), xe(
6305
6324
  w,
6306
6325
  "active",
6307
6326
  /*activeTab*/
6308
6327
  e[3] === 1
6309
- ), g(T, "data-index", "2"), g(T, "class", "coins-tabs__tab"), xe(
6328
+ ), v(T, "data-index", "2"), v(T, "class", "coins-tabs__tab"), xe(
6310
6329
  T,
6311
6330
  "active",
6312
6331
  /*activeTab*/
6313
6332
  e[3] === 2
6314
- ), g(G, "data-index", "3"), g(G, "class", "coins-tabs__tab"), xe(
6315
- G,
6333
+ ), v(F, "data-index", "3"), v(F, "class", "coins-tabs__tab"), xe(
6334
+ F,
6316
6335
  "active",
6317
6336
  /*activeTab*/
6318
6337
  e[3] === 3
6319
- ), g(_, "class", "coins-tabs__container"), g(b, "class", "coins-tabs"), g(i, "class", "drawer " + /*mobileView*/
6320
- (e[11] ? "mobile" : "")), g(t, "part", "CustomStylingContainer");
6338
+ ), v(_, "class", "coins-tabs__container"), v(b, "class", "coins-tabs"), v(i, "class", "drawer " + /*mobileView*/
6339
+ (e[11] ? "mobile" : "")), v(t, "part", "CustomStylingContainer");
6321
6340
  },
6322
- m(M, v) {
6323
- U(M, t, v), d(t, r), d(t, n), d(t, i), $ && $.m(i, null), d(i, o), d(i, a), d(a, s), d(a, u), d(a, l), d(l, h), d(a, f), d(a, m), d(i, p), d(i, b), d(b, _), d(_, w), d(w, E), d(_, A), d(_, T), d(T, J), d(_, oe), d(_, G), d(G, I), d(i, j), W.m(i, null), e[25](t), X || (ae = [
6324
- ue(
6341
+ m(p, S) {
6342
+ D(p, t, S), d(t, r), d(t, n), d(t, i), U && U.m(i, null), d(i, o), d(i, a), d(a, s), d(a, l), d(a, u), d(u, h), d(a, f), d(a, m), d(i, g), d(i, b), d(b, _), d(_, w), d(w, E), d(_, B), d(_, T), d(T, Z), d(_, oe), d(_, F), d(F, A), d(i, W), G.m(i, null), e[25](t), X || (ae = [
6343
+ le(
6325
6344
  r,
6326
6345
  "click",
6327
6346
  /*onClose*/
6328
6347
  e[12]
6329
6348
  ),
6330
- ue(
6349
+ le(
6331
6350
  s,
6332
6351
  "click",
6333
6352
  /*showHideToolip*/
6334
6353
  e[13]
6335
6354
  ),
6336
- ue(
6355
+ le(
6337
6356
  m,
6338
6357
  "click",
6339
6358
  /*onClose*/
6340
6359
  e[12]
6341
6360
  ),
6342
- ue(
6361
+ le(
6343
6362
  w,
6344
6363
  "click",
6345
6364
  /*handleTabChange*/
6346
6365
  e[15]
6347
6366
  ),
6348
- ue(
6367
+ le(
6349
6368
  T,
6350
6369
  "click",
6351
6370
  /*handleTabChange*/
6352
6371
  e[15]
6353
6372
  ),
6354
- ue(
6355
- G,
6373
+ le(
6374
+ F,
6356
6375
  "click",
6357
6376
  /*handleTabChange*/
6358
6377
  e[15]
6359
6378
  )
6360
6379
  ], X = !0);
6361
6380
  },
6362
- p(M, v) {
6381
+ p(p, S) {
6363
6382
  /*tooltip*/
6364
- M[7] ? $ ? $.p(M, v) : ($ = kr(M), $.c(), $.m(i, o)) : $ && ($.d(1), $ = null), v[0] & /*$_*/
6383
+ p[7] ? U ? U.p(p, S) : (U = Lr(p), U.c(), U.m(i, o)) : U && (U.d(1), U = null), S[0] & /*$_*/
6365
6384
  1024 && c !== (c = /*$_*/
6366
- M[10]("headerTitle") + "") && N(h, c), v[0] & /*$_*/
6385
+ p[10]("headerTitle") + "") && L(h, c), S[0] & /*$_*/
6367
6386
  1024 && x !== (x = /*$_*/
6368
- M[10]("play") + "") && N(E, x), v[0] & /*activeTab*/
6387
+ p[10]("play") + "") && L(E, x), S[0] & /*activeTab*/
6369
6388
  8 && xe(
6370
6389
  w,
6371
6390
  "active",
6372
6391
  /*activeTab*/
6373
- M[3] === 1
6374
- ), v[0] & /*$_*/
6392
+ p[3] === 1
6393
+ ), S[0] & /*$_*/
6375
6394
  1024 && R !== (R = /*$_*/
6376
- M[10]("history") + "") && N(J, R), v[0] & /*activeTab*/
6395
+ p[10]("history") + "") && L(Z, R), S[0] & /*activeTab*/
6377
6396
  8 && xe(
6378
6397
  T,
6379
6398
  "active",
6380
6399
  /*activeTab*/
6381
- M[3] === 2
6382
- ), v[0] & /*$_*/
6383
- 1024 && K !== (K = /*$_*/
6384
- M[10]("rules") + "") && N(I, K), v[0] & /*activeTab*/
6400
+ p[3] === 2
6401
+ ), S[0] & /*$_*/
6402
+ 1024 && J !== (J = /*$_*/
6403
+ p[10]("rules") + "") && L(A, J), S[0] & /*activeTab*/
6385
6404
  8 && xe(
6386
- G,
6405
+ F,
6387
6406
  "active",
6388
6407
  /*activeTab*/
6389
- M[3] === 3
6390
- ), te === (te = de(M)) && W ? W.p(M, v) : (W.d(1), W = te(M), W && (W.c(), W.m(i, null)));
6408
+ p[3] === 3
6409
+ ), ee === (ee = me(p)) && G ? G.p(p, S) : (G.d(1), G = ee(p), G && (G.c(), G.m(i, null)));
6391
6410
  },
6392
6411
  i: V,
6393
6412
  o: V,
6394
- d(M) {
6395
- M && D(t), $ && $.d(), W.d(), e[25](null), X = !1, Le(ae);
6413
+ d(p) {
6414
+ p && N(t), U && U.d(), G.d(), e[25](null), X = !1, ke(ae);
6396
6415
  }
6397
6416
  };
6398
6417
  }
6399
- function Ns(e, t, r) {
6418
+ function Is(e, t, r) {
6400
6419
  let n;
6401
- Mn(e, Qa, (v) => r(10, n = v));
6402
- let { terms: i = "" } = t, { lang: o = ve.en } = t, { endpoint: a = "" } = t, { session: s = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: c = "" } = t, { mbsource: h } = t, f = window.navigator.userAgent, m = fs(f), p, b = 1, _ = !1, w = !1, x = [], E = !1, A = !1, T, R;
6403
- const J = (v) => /(https?:\/\/[^\s]+)/g.test(v), oe = () => {
6404
- Kt({ type: "CloseCoinRoyaleDrawer" });
6405
- }, G = () => {
6420
+ Mn(e, Za, (p) => r(10, n = p));
6421
+ let { terms: i = "" } = t, { lang: o = ve.en } = t, { endpoint: a = "" } = t, { session: s = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: c = "" } = t, { mbsource: h } = t, f = window.navigator.userAgent, m = ds(f), g, b = 1, _ = !1, w = !1, x = [], E = !1, B = !1, T;
6422
+ const R = (p) => /(https?:\/\/[^\s]+)/g.test(p), Z = () => {
6423
+ er({ type: "CloseCoinRoyaleDrawer" });
6424
+ }, oe = () => {
6406
6425
  r(7, E = !E);
6407
- }, K = () => re(this, null, function* () {
6426
+ }, F = () => te(this, null, function* () {
6408
6427
  r(4, _ = !0);
6409
- let v = x.map((k) => ({
6410
- id: k.program.id,
6411
- name: k.program.name[o] || k.program.name[ve.default],
6412
- partitions: k.program.wheelOfFortune.partitions,
6428
+ let p = x.map((S) => ({
6429
+ id: S.program.id,
6430
+ name: S.program.name[o] || S.program.name[ve.default],
6431
+ partitions: S.program.wheelOfFortune.partitions,
6413
6432
  endPos: 0,
6414
6433
  outcomes: []
6415
6434
  }));
6416
- if (v.length > 0) {
6417
- const k = v.map((z, me) => re(this, null, function* () {
6418
- const se = (yield sr.outcome(a, s, z == null ? void 0 : z.id)).items || [];
6419
- if (se.length === 0) {
6420
- v[me] = null;
6435
+ if (p.length > 0) {
6436
+ const S = p.map((j, se) => te(this, null, function* () {
6437
+ const pe = (yield ur.outcome(a, s, j == null ? void 0 : j.id)).items || [];
6438
+ if (pe.length === 0) {
6439
+ p[se] = null;
6421
6440
  return;
6422
6441
  }
6423
- v[me] = bt(qe({}, z), {
6424
- endPos: se.length > 3 ? 3 : se.length,
6425
- outcomes: se.map((le) => {
6426
- var Vt, Xt;
6427
- const we = ((Vt = z.partitions[le.draw.result.wheelOfFortunePartitionIndex]) == null ? void 0 : Vt.name) || {}, Y = ((Xt = z.partitions[le.draw.result.wheelOfFortunePartitionIndex]) == null ? void 0 : Xt.image1) || {}, F = le.draw.state === "fulfilled", q = io(new Date(le.draw.time), "LLL d, yyyy HH:mm:ss");
6442
+ p[se] = vt(Qe({}, j), {
6443
+ endPos: pe.length > 3 ? 3 : pe.length,
6444
+ outcomes: pe.map((ue) => {
6445
+ var Y, qt;
6446
+ const ge = ((Y = j.partitions[ue.draw.result.wheelOfFortunePartitionIndex]) == null ? void 0 : Y.name) || {}, we = ((qt = j.partitions[ue.draw.result.wheelOfFortunePartitionIndex]) == null ? void 0 : qt.image1) || {}, z = ue.draw.state === "fulfilled", $ = io(new Date(ue.draw.time), "LLL d, yyyy HH:mm:ss");
6428
6447
  return {
6429
- name: we[o] || we[ve.default],
6430
- state: F,
6431
- date: q,
6432
- assets: Y[o] || Y[ve.default]
6448
+ name: ge[o] || ge[ve.default],
6449
+ state: z,
6450
+ date: $,
6451
+ assets: we[o] || we[ve.default]
6433
6452
  };
6434
6453
  })
6435
6454
  });
6436
6455
  }));
6437
- yield Promise.all(k);
6456
+ yield Promise.all(S);
6438
6457
  }
6439
- r(9, T = v.filter((k) => !!k)), r(4, _ = !1);
6440
- }), I = () => re(this, null, function* () {
6458
+ r(9, T = p.filter((S) => !!S)), r(4, _ = !1);
6459
+ }), J = () => te(this, null, function* () {
6441
6460
  r(5, w = !0);
6442
- const v = yield sr.lotteries(a, s);
6443
- r(6, x = v.filter((k) => lo(k))), r(5, w = !1);
6444
- }), j = (v) => {
6445
- var z;
6446
- const k = T.findIndex((me) => me.id === v);
6447
- r(9, T[k].endPos = (z = T[k].outcomes) == null ? void 0 : z.length, T);
6448
- }, X = (v) => re(this, null, function* () {
6449
- r(3, b = +v.target.getAttribute("data-index")), b === 2 && (yield K());
6450
- }), ae = () => {
6451
- fetch(c).then((k) => k.json()).then((k) => {
6452
- Object.keys(k).forEach((z) => {
6453
- wr(z, k[z]);
6461
+ const p = yield ur.lotteries(a, s);
6462
+ r(6, x = p.filter((S) => uo(S))), r(5, w = !1);
6463
+ }), A = (p) => {
6464
+ var j;
6465
+ const S = T.findIndex((se) => se.id === p);
6466
+ r(9, T[S].endPos = (j = T[S].outcomes) == null ? void 0 : j.length, T);
6467
+ }, W = (p) => te(this, null, function* () {
6468
+ r(3, b = +p.target.getAttribute("data-index")), b === 2 && (yield F());
6469
+ }), X = () => {
6470
+ fetch(c).then((S) => S.json()).then((S) => {
6471
+ Object.keys(S).forEach((j) => {
6472
+ xr(j, S[j]);
6454
6473
  });
6455
6474
  });
6456
6475
  };
6457
- Object.keys(xr).forEach((v) => {
6458
- wr(v, xr[v]);
6476
+ Object.keys(Er).forEach((p) => {
6477
+ xr(p, Er[p]);
6459
6478
  });
6460
- const $ = () => {
6461
- Za(o);
6462
- }, de = (v) => {
6463
- Kt({
6479
+ const ae = () => {
6480
+ Ja(o);
6481
+ }, U = (p) => {
6482
+ er({
6464
6483
  type: "OpenCoinRoyaleDetails",
6465
- data: v
6484
+ data: p
6466
6485
  });
6467
6486
  };
6468
6487
  Dn(() => {
6469
- r(8, A = J(i)), I(), window.emMessageBus && R && R.unsubscribe();
6488
+ r(8, B = R(i)), J();
6470
6489
  });
6471
- const te = (v) => {
6472
- de(v);
6473
- }, W = (v) => j(v.id);
6474
- function M(v) {
6475
- Ct[v ? "unshift" : "push"](() => {
6476
- p = v, r(2, p);
6490
+ const me = (p) => {
6491
+ U(p);
6492
+ }, ee = (p) => A(p.id);
6493
+ function G(p) {
6494
+ Ot[p ? "unshift" : "push"](() => {
6495
+ g = p, r(2, g);
6477
6496
  });
6478
6497
  }
6479
- return e.$$set = (v) => {
6480
- "terms" in v && r(0, i = v.terms), "lang" in v && r(1, o = v.lang), "endpoint" in v && r(17, a = v.endpoint), "session" in v && r(18, s = v.session), "clientstyling" in v && r(19, u = v.clientstyling), "clientstylingurl" in v && r(20, l = v.clientstylingurl), "translationurl" in v && r(21, c = v.translationurl), "mbsource" in v && r(22, h = v.mbsource);
6498
+ return e.$$set = (p) => {
6499
+ "terms" in p && r(0, i = p.terms), "lang" in p && r(1, o = p.lang), "endpoint" in p && r(17, a = p.endpoint), "session" in p && r(18, s = p.session), "clientstyling" in p && r(19, l = p.clientstyling), "clientstylingurl" in p && r(20, u = p.clientstylingurl), "translationurl" in p && r(21, c = p.translationurl), "mbsource" in p && r(22, h = p.mbsource);
6481
6500
  }, e.$$.update = () => {
6482
6501
  e.$$.dirty[0] & /*lang*/
6483
- 2 && o && $(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
6484
- 524292 && u && p && ds(p, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
6485
- 1048580 && l && p && ms(p, l), e.$$.dirty[0] & /*translationurl*/
6486
- 2097152 && c && ae(), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
6487
- 4194308 && h && p && ps(p, `${h}.Style`);
6502
+ 2 && o && ae(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
6503
+ 524292 && l && g && ms(g, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
6504
+ 1048580 && u && g && ps(g, u), e.$$.dirty[0] & /*translationurl*/
6505
+ 2097152 && c && X(), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
6506
+ 4194308 && h && g && gs(g, `${h}.Style`);
6488
6507
  }, [
6489
6508
  i,
6490
6509
  o,
6491
- p,
6510
+ g,
6492
6511
  b,
6493
6512
  _,
6494
6513
  w,
6495
6514
  x,
6496
6515
  E,
6497
- A,
6516
+ B,
6498
6517
  T,
6499
6518
  n,
6500
6519
  m,
6520
+ Z,
6501
6521
  oe,
6502
- G,
6503
- j,
6504
- X,
6505
- de,
6522
+ A,
6523
+ W,
6524
+ U,
6506
6525
  a,
6507
6526
  s,
6508
- u,
6509
6527
  l,
6528
+ u,
6510
6529
  c,
6511
6530
  h,
6512
- te,
6513
- W,
6514
- M
6531
+ me,
6532
+ ee,
6533
+ G
6515
6534
  ];
6516
6535
  }
6517
- class Is extends qn {
6536
+ class Ds extends qn {
6518
6537
  constructor(t) {
6519
6538
  super(), Vn(
6520
6539
  this,
6521
6540
  t,
6541
+ Is,
6522
6542
  Ns,
6523
- Ls,
6524
- $r,
6543
+ Fr,
6525
6544
  {
6526
6545
  terms: 0,
6527
6546
  lang: 1,
@@ -6540,52 +6559,52 @@ class Is extends qn {
6540
6559
  return this.$$.ctx[0];
6541
6560
  }
6542
6561
  set terms(t) {
6543
- this.$$set({ terms: t }), ne();
6562
+ this.$$set({ terms: t }), re();
6544
6563
  }
6545
6564
  get lang() {
6546
6565
  return this.$$.ctx[1];
6547
6566
  }
6548
6567
  set lang(t) {
6549
- this.$$set({ lang: t }), ne();
6568
+ this.$$set({ lang: t }), re();
6550
6569
  }
6551
6570
  get endpoint() {
6552
6571
  return this.$$.ctx[17];
6553
6572
  }
6554
6573
  set endpoint(t) {
6555
- this.$$set({ endpoint: t }), ne();
6574
+ this.$$set({ endpoint: t }), re();
6556
6575
  }
6557
6576
  get session() {
6558
6577
  return this.$$.ctx[18];
6559
6578
  }
6560
6579
  set session(t) {
6561
- this.$$set({ session: t }), ne();
6580
+ this.$$set({ session: t }), re();
6562
6581
  }
6563
6582
  get clientstyling() {
6564
6583
  return this.$$.ctx[19];
6565
6584
  }
6566
6585
  set clientstyling(t) {
6567
- this.$$set({ clientstyling: t }), ne();
6586
+ this.$$set({ clientstyling: t }), re();
6568
6587
  }
6569
6588
  get clientstylingurl() {
6570
6589
  return this.$$.ctx[20];
6571
6590
  }
6572
6591
  set clientstylingurl(t) {
6573
- this.$$set({ clientstylingurl: t }), ne();
6592
+ this.$$set({ clientstylingurl: t }), re();
6574
6593
  }
6575
6594
  get translationurl() {
6576
6595
  return this.$$.ctx[21];
6577
6596
  }
6578
6597
  set translationurl(t) {
6579
- this.$$set({ translationurl: t }), ne();
6598
+ this.$$set({ translationurl: t }), re();
6580
6599
  }
6581
6600
  get mbsource() {
6582
6601
  return this.$$.ctx[22];
6583
6602
  }
6584
6603
  set mbsource(t) {
6585
- this.$$set({ mbsource: t }), ne();
6604
+ this.$$set({ mbsource: t }), re();
6586
6605
  }
6587
6606
  }
6588
- Xn(Is, { terms: {}, lang: {}, endpoint: {}, session: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
6607
+ Xn(Ds, { terms: {}, lang: {}, endpoint: {}, session: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
6589
6608
  export {
6590
- Is as default
6609
+ Ds as default
6591
6610
  };