@everymatrix/casino-winners 1.74.10 → 1.75.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,50 +1,50 @@
1
1
  function V() {
2
2
  }
3
- function mn(e) {
3
+ function br(e) {
4
4
  return e();
5
5
  }
6
- function It() {
6
+ function Wt() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
9
  function fe(e) {
10
- e.forEach(mn);
10
+ e.forEach(br);
11
11
  }
12
- function yt(e) {
12
+ function vt(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function pn(e, t) {
15
+ function gr(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
18
  let He;
19
- function Lt(e, t) {
19
+ function Ut(e, t) {
20
20
  return e === t ? !0 : (He || (He = document.createElement("a")), He.href = t, e === He.href);
21
21
  }
22
- function br(e) {
22
+ function _n(e) {
23
23
  return Object.keys(e).length === 0;
24
24
  }
25
- function bn(e, ...t) {
25
+ function yr(e, ...t) {
26
26
  if (e == null) {
27
- for (const r of t)
28
- r(void 0);
27
+ for (const n of t)
28
+ n(void 0);
29
29
  return V;
30
30
  }
31
- const n = e.subscribe(...t);
32
- return n.unsubscribe ? () => n.unsubscribe() : n;
31
+ const r = e.subscribe(...t);
32
+ return r.unsubscribe ? () => r.unsubscribe() : r;
33
33
  }
34
- function gr(e, t, n) {
35
- e.$$.on_destroy.push(bn(t, n));
34
+ function En(e, t, r) {
35
+ e.$$.on_destroy.push(yr(t, r));
36
36
  }
37
37
  function w(e, t) {
38
38
  e.appendChild(t);
39
39
  }
40
- function yr(e, t, n) {
41
- const r = _r(e);
42
- if (!r.getElementById(t)) {
40
+ function xn(e, t, r) {
41
+ const n = wn(e);
42
+ if (!n.getElementById(t)) {
43
43
  const i = C("style");
44
- i.id = t, i.textContent = n, vr(r, i);
44
+ i.id = t, i.textContent = r, Sn(n, i);
45
45
  }
46
46
  }
47
- function _r(e) {
47
+ function wn(e) {
48
48
  if (!e)
49
49
  return document;
50
50
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -54,22 +54,22 @@ function _r(e) {
54
54
  t
55
55
  ) : e.ownerDocument;
56
56
  }
57
- function vr(e, t) {
57
+ function Sn(e, t) {
58
58
  return w(
59
59
  /** @type {Document} */
60
60
  e.head || e,
61
61
  t
62
62
  ), t.sheet;
63
63
  }
64
- function j(e, t, n) {
65
- e.insertBefore(t, n || null);
64
+ function j(e, t, r) {
65
+ e.insertBefore(t, r || null);
66
66
  }
67
67
  function k(e) {
68
68
  e.parentNode && e.parentNode.removeChild(e);
69
69
  }
70
- function gn(e, t) {
71
- for (let n = 0; n < e.length; n += 1)
72
- e[n] && e[n].d(t);
70
+ function vr(e, t) {
71
+ for (let r = 0; r < e.length; r += 1)
72
+ e[r] && e[r].d(t);
73
73
  }
74
74
  function C(e) {
75
75
  return document.createElement(e);
@@ -86,127 +86,127 @@ function z() {
86
86
  function _t() {
87
87
  return Z("");
88
88
  }
89
- function Ee(e, t, n, r) {
90
- return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);
89
+ function Ee(e, t, r, n) {
90
+ return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
91
91
  }
92
- function m(e, t, n) {
93
- n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
92
+ function m(e, t, r) {
93
+ r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
94
94
  }
95
- function X(e, t, n) {
96
- const r = t.toLowerCase();
97
- r in e ? e[r] = typeof e[r] == "boolean" && n === "" ? !0 : n : t in e ? e[t] = typeof e[t] == "boolean" && n === "" ? !0 : n : m(e, t, n);
95
+ function X(e, t, r) {
96
+ const n = t.toLowerCase();
97
+ n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : m(e, t, r);
98
98
  }
99
- function Er(e) {
99
+ function Tn(e) {
100
100
  return Array.from(e.childNodes);
101
101
  }
102
102
  function te(e, t) {
103
103
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
104
104
  t);
105
105
  }
106
- function xr(e) {
106
+ function Bn(e) {
107
107
  const t = {};
108
108
  return e.childNodes.forEach(
109
109
  /** @param {Element} node */
110
- (n) => {
111
- t[n.slot || "default"] = !0;
110
+ (r) => {
111
+ t[r.slot || "default"] = !0;
112
112
  }
113
113
  ), t;
114
114
  }
115
115
  let xe;
116
- function _e(e) {
116
+ function ve(e) {
117
117
  xe = e;
118
118
  }
119
- function wr() {
119
+ function Hn() {
120
120
  if (!xe)
121
121
  throw new Error("Function called outside component initialization");
122
122
  return xe;
123
123
  }
124
- function Sr(e) {
125
- wr().$$.on_mount.push(e);
124
+ function An(e) {
125
+ Hn().$$.on_mount.push(e);
126
126
  }
127
- const se = [], ve = [];
128
- let oe = [];
129
- const Rt = [], yn = /* @__PURE__ */ Promise.resolve();
130
- let rt = !1;
131
- function _n() {
132
- rt || (rt = !0, yn.then(T));
127
+ const oe = [], _e = [];
128
+ let se = [];
129
+ const Ft = [], _r = /* @__PURE__ */ Promise.resolve();
130
+ let it = !1;
131
+ function Er() {
132
+ it || (it = !0, _r.then(T));
133
133
  }
134
- function Wt() {
135
- return _n(), yn;
134
+ function Gt() {
135
+ return Er(), _r;
136
136
  }
137
- function it(e) {
138
- oe.push(e);
137
+ function ot(e) {
138
+ se.push(e);
139
139
  }
140
140
  const Je = /* @__PURE__ */ new Set();
141
- let re = 0;
141
+ let ne = 0;
142
142
  function T() {
143
- if (re !== 0)
143
+ if (ne !== 0)
144
144
  return;
145
145
  const e = xe;
146
146
  do {
147
147
  try {
148
- for (; re < se.length; ) {
149
- const t = se[re];
150
- re++, _e(t), Tr(t.$$);
148
+ for (; ne < oe.length; ) {
149
+ const t = oe[ne];
150
+ ne++, ve(t), Pn(t.$$);
151
151
  }
152
152
  } catch (t) {
153
- throw se.length = 0, re = 0, t;
153
+ throw oe.length = 0, ne = 0, t;
154
154
  }
155
- for (_e(null), se.length = 0, re = 0; ve.length; )
156
- ve.pop()();
157
- for (let t = 0; t < oe.length; t += 1) {
158
- const n = oe[t];
159
- Je.has(n) || (Je.add(n), n());
155
+ for (ve(null), oe.length = 0, ne = 0; _e.length; )
156
+ _e.pop()();
157
+ for (let t = 0; t < se.length; t += 1) {
158
+ const r = se[t];
159
+ Je.has(r) || (Je.add(r), r());
160
160
  }
161
- oe.length = 0;
162
- } while (se.length);
163
- for (; Rt.length; )
164
- Rt.pop()();
165
- rt = !1, Je.clear(), _e(e);
161
+ se.length = 0;
162
+ } while (oe.length);
163
+ for (; Ft.length; )
164
+ Ft.pop()();
165
+ it = !1, Je.clear(), ve(e);
166
166
  }
167
- function Tr(e) {
167
+ function Pn(e) {
168
168
  if (e.fragment !== null) {
169
169
  e.update(), fe(e.before_update);
170
170
  const t = e.dirty;
171
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(it);
171
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ot);
172
172
  }
173
173
  }
174
- function Br(e) {
175
- const t = [], n = [];
176
- oe.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), oe = t;
174
+ function Cn(e) {
175
+ const t = [], r = [];
176
+ se.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), se = t;
177
177
  }
178
- const Hr = /* @__PURE__ */ new Set();
179
- function Ar(e, t) {
180
- e && e.i && (Hr.delete(e), e.i(t));
178
+ const On = /* @__PURE__ */ new Set();
179
+ function Mn(e, t) {
180
+ e && e.i && (On.delete(e), e.i(t));
181
181
  }
182
182
  function Le(e) {
183
183
  return e?.length !== void 0 ? e : Array.from(e);
184
184
  }
185
- function Pr(e, t, n) {
186
- const { fragment: r, after_update: i } = e.$$;
187
- r && r.m(t, n), it(() => {
188
- const s = e.$$.on_mount.map(mn).filter(yt);
189
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : fe(s), e.$$.on_mount = [];
190
- }), i.forEach(it);
185
+ function In(e, t, r) {
186
+ const { fragment: n, after_update: i } = e.$$;
187
+ n && n.m(t, r), ot(() => {
188
+ const o = e.$$.on_mount.map(br).filter(vt);
189
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : fe(o), e.$$.on_mount = [];
190
+ }), i.forEach(ot);
191
191
  }
192
- function Cr(e, t) {
193
- const n = e.$$;
194
- n.fragment !== null && (Br(n.after_update), fe(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
192
+ function Nn(e, t) {
193
+ const r = e.$$;
194
+ r.fragment !== null && (Cn(r.after_update), fe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
195
195
  }
196
- function Or(e, t) {
197
- e.$$.dirty[0] === -1 && (se.push(e), _n(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
196
+ function Ln(e, t) {
197
+ e.$$.dirty[0] === -1 && (oe.push(e), Er(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
198
198
  }
199
- function Mr(e, t, n, r, i, s, o = null, a = [-1]) {
199
+ function Rn(e, t, r, n, i, o, s = null, a = [-1]) {
200
200
  const u = xe;
201
- _e(e);
201
+ ve(e);
202
202
  const l = e.$$ = {
203
203
  fragment: null,
204
204
  ctx: [],
205
205
  // state
206
- props: s,
206
+ props: o,
207
207
  update: V,
208
208
  not_equal: i,
209
- bound: It(),
209
+ bound: Wt(),
210
210
  // lifecycle
211
211
  on_mount: [],
212
212
  on_destroy: [],
@@ -215,28 +215,28 @@ function Mr(e, t, n, r, i, s, o = null, a = [-1]) {
215
215
  after_update: [],
216
216
  context: new Map(t.context || (u ? u.$$.context : [])),
217
217
  // everything else
218
- callbacks: It(),
218
+ callbacks: Wt(),
219
219
  dirty: a,
220
220
  skip_bound: !1,
221
221
  root: t.target || u.$$.root
222
222
  };
223
- o && o(l.root);
223
+ s && s(l.root);
224
224
  let c = !1;
225
- if (l.ctx = n ? n(e, t.props || {}, (d, f, ...p) => {
225
+ if (l.ctx = r ? r(e, t.props || {}, (d, f, ...p) => {
226
226
  const g = p.length ? p[0] : f;
227
- return l.ctx && i(l.ctx[d], l.ctx[d] = g) && (!l.skip_bound && l.bound[d] && l.bound[d](g), c && Or(e, d)), f;
228
- }) : [], l.update(), c = !0, fe(l.before_update), l.fragment = r ? r(l.ctx) : !1, t.target) {
227
+ return l.ctx && i(l.ctx[d], l.ctx[d] = g) && (!l.skip_bound && l.bound[d] && l.bound[d](g), c && Ln(e, d)), f;
228
+ }) : [], l.update(), c = !0, fe(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
229
229
  if (t.hydrate) {
230
- const d = Er(t.target);
230
+ const d = Tn(t.target);
231
231
  l.fragment && l.fragment.l(d), d.forEach(k);
232
232
  } else
233
233
  l.fragment && l.fragment.c();
234
- t.intro && Ar(e.$$.fragment), Pr(e, t.target, t.anchor), T();
234
+ t.intro && Mn(e.$$.fragment), In(e, t.target, t.anchor), T();
235
235
  }
236
- _e(u);
236
+ ve(u);
237
237
  }
238
- let vn;
239
- typeof HTMLElement == "function" && (vn = class extends HTMLElement {
238
+ let xr;
239
+ typeof HTMLElement == "function" && (xr = class extends HTMLElement {
240
240
  /** The Svelte component constructor */
241
241
  $$ctor;
242
242
  /** Slots */
@@ -255,52 +255,52 @@ typeof HTMLElement == "function" && (vn = class extends HTMLElement {
255
255
  $$l = {};
256
256
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
257
257
  $$l_u = /* @__PURE__ */ new Map();
258
- constructor(e, t, n) {
259
- super(), this.$$ctor = e, this.$$s = t, n && this.attachShadow({ mode: "open" });
258
+ constructor(e, t, r) {
259
+ super(), this.$$ctor = e, this.$$s = t, r && this.attachShadow({ mode: "open" });
260
260
  }
261
- addEventListener(e, t, n) {
261
+ addEventListener(e, t, r) {
262
262
  if (this.$$l[e] = this.$$l[e] || [], this.$$l[e].push(t), this.$$c) {
263
- const r = this.$$c.$on(e, t);
264
- this.$$l_u.set(t, r);
263
+ const n = this.$$c.$on(e, t);
264
+ this.$$l_u.set(t, n);
265
265
  }
266
- super.addEventListener(e, t, n);
266
+ super.addEventListener(e, t, r);
267
267
  }
268
- removeEventListener(e, t, n) {
269
- if (super.removeEventListener(e, t, n), this.$$c) {
270
- const r = this.$$l_u.get(t);
271
- r && (r(), this.$$l_u.delete(t));
268
+ removeEventListener(e, t, r) {
269
+ if (super.removeEventListener(e, t, r), this.$$c) {
270
+ const n = this.$$l_u.get(t);
271
+ n && (n(), this.$$l_u.delete(t));
272
272
  }
273
273
  }
274
274
  async connectedCallback() {
275
275
  if (this.$$cn = !0, !this.$$c) {
276
276
  let e = function(i) {
277
277
  return () => {
278
- let s;
278
+ let o;
279
279
  return {
280
280
  c: function() {
281
- s = C("slot"), i !== "default" && m(s, "name", i);
281
+ o = C("slot"), i !== "default" && m(o, "name", i);
282
282
  },
283
283
  /**
284
284
  * @param {HTMLElement} target
285
285
  * @param {HTMLElement} [anchor]
286
286
  */
287
287
  m: function(u, l) {
288
- j(u, s, l);
288
+ j(u, o, l);
289
289
  },
290
290
  d: function(u) {
291
- u && k(s);
291
+ u && k(o);
292
292
  }
293
293
  };
294
294
  };
295
295
  };
296
296
  if (await Promise.resolve(), !this.$$cn || this.$$c)
297
297
  return;
298
- const t = {}, n = xr(this);
298
+ const t = {}, r = Bn(this);
299
299
  for (const i of this.$$s)
300
- i in n && (t[i] = [e(i)]);
300
+ i in r && (t[i] = [e(i)]);
301
301
  for (const i of this.attributes) {
302
- const s = this.$$g_p(i.name);
303
- s in this.$$d || (this.$$d[s] = Oe(s, i.value, this.$$p_d, "toProp"));
302
+ const o = this.$$g_p(i.name);
303
+ o in this.$$d || (this.$$d[o] = Oe(o, i.value, this.$$p_d, "toProp"));
304
304
  }
305
305
  for (const i in this.$$p_d)
306
306
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -314,33 +314,33 @@ typeof HTMLElement == "function" && (vn = class extends HTMLElement {
314
314
  }
315
315
  }
316
316
  });
317
- const r = () => {
317
+ const n = () => {
318
318
  this.$$r = !0;
319
319
  for (const i in this.$$p_d)
320
320
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
321
- const s = Oe(
321
+ const o = Oe(
322
322
  i,
323
323
  this.$$d[i],
324
324
  this.$$p_d,
325
325
  "toAttribute"
326
326
  );
327
- s == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, s);
327
+ o == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, o);
328
328
  }
329
329
  this.$$r = !1;
330
330
  };
331
- this.$$c.$$.after_update.push(r), r();
331
+ this.$$c.$$.after_update.push(n), n();
332
332
  for (const i in this.$$l)
333
- for (const s of this.$$l[i]) {
334
- const o = this.$$c.$on(i, s);
335
- this.$$l_u.set(s, o);
333
+ for (const o of this.$$l[i]) {
334
+ const s = this.$$c.$on(i, o);
335
+ this.$$l_u.set(o, s);
336
336
  }
337
337
  this.$$l = {};
338
338
  }
339
339
  }
340
340
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
341
341
  // and setting attributes through setAttribute etc, this is helpful
342
- attributeChangedCallback(e, t, n) {
343
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = Oe(e, n, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
342
+ attributeChangedCallback(e, t, r) {
343
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = Oe(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
344
344
  }
345
345
  disconnectedCallback() {
346
346
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -353,11 +353,11 @@ typeof HTMLElement == "function" && (vn = class extends HTMLElement {
353
353
  ) || e;
354
354
  }
355
355
  });
356
- function Oe(e, t, n, r) {
357
- const i = n[e]?.type;
358
- if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !r || !n[e])
356
+ function Oe(e, t, r, n) {
357
+ const i = r[e]?.type;
358
+ if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
359
359
  return t;
360
- if (r === "toAttribute")
360
+ if (n === "toAttribute")
361
361
  switch (i) {
362
362
  case "Object":
363
363
  case "Array":
@@ -382,10 +382,10 @@ function Oe(e, t, n, r) {
382
382
  return t;
383
383
  }
384
384
  }
385
- function Nr(e, t, n, r, i, s) {
386
- let o = class extends vn {
385
+ function Wn(e, t, r, n, i, o) {
386
+ let s = class extends xr {
387
387
  constructor() {
388
- super(e, n, i), this.$$p_d = t;
388
+ super(e, r, i), this.$$p_d = t;
389
389
  }
390
390
  static get observedAttributes() {
391
391
  return Object.keys(t).map(
@@ -394,7 +394,7 @@ function Nr(e, t, n, r, i, s) {
394
394
  }
395
395
  };
396
396
  return Object.keys(t).forEach((a) => {
397
- Object.defineProperty(o.prototype, a, {
397
+ Object.defineProperty(s.prototype, a, {
398
398
  get() {
399
399
  return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
400
400
  },
@@ -402,16 +402,16 @@ function Nr(e, t, n, r, i, s) {
402
402
  u = Oe(a, u, t), this.$$d[a] = u, this.$$c?.$set({ [a]: u });
403
403
  }
404
404
  });
405
- }), r.forEach((a) => {
406
- Object.defineProperty(o.prototype, a, {
405
+ }), n.forEach((a) => {
406
+ Object.defineProperty(s.prototype, a, {
407
407
  get() {
408
408
  return this.$$c?.[a];
409
409
  }
410
410
  });
411
411
  }), e.element = /** @type {any} */
412
- o, o;
412
+ s, s;
413
413
  }
414
- class Ir {
414
+ class Un {
415
415
  /**
416
416
  * ### PRIVATE API
417
417
  *
@@ -430,7 +430,7 @@ class Ir {
430
430
  $$set = void 0;
431
431
  /** @returns {void} */
432
432
  $destroy() {
433
- Cr(this, 1), this.$destroy = V;
433
+ Nn(this, 1), this.$destroy = V;
434
434
  }
435
435
  /**
436
436
  * @template {Extract<keyof Events, string>} K
@@ -438,13 +438,13 @@ class Ir {
438
438
  * @param {((e: Events[K]) => void) | null | undefined} callback
439
439
  * @returns {() => void}
440
440
  */
441
- $on(t, n) {
442
- if (!yt(n))
441
+ $on(t, r) {
442
+ if (!vt(r))
443
443
  return V;
444
- const r = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
445
- return r.push(n), () => {
446
- const i = r.indexOf(n);
447
- i !== -1 && r.splice(i, 1);
444
+ const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
445
+ return n.push(r), () => {
446
+ const i = n.indexOf(r);
447
+ i !== -1 && n.splice(i, 1);
448
448
  };
449
449
  }
450
450
  /**
@@ -452,24 +452,24 @@ class Ir {
452
452
  * @returns {void}
453
453
  */
454
454
  $set(t) {
455
- this.$$set && !br(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
455
+ this.$$set && !_n(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
456
456
  }
457
457
  }
458
- const Lr = "4";
459
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Lr);
458
+ const Fn = "4";
459
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Fn);
460
460
  const ie = [];
461
- function Rr(e, t) {
461
+ function Gn(e, t) {
462
462
  return {
463
463
  subscribe: Ue(e, t).subscribe
464
464
  };
465
465
  }
466
466
  function Ue(e, t = V) {
467
- let n;
468
- const r = /* @__PURE__ */ new Set();
467
+ let r;
468
+ const n = /* @__PURE__ */ new Set();
469
469
  function i(a) {
470
- if (pn(e, a) && (e = a, n)) {
470
+ if (gr(e, a) && (e = a, r)) {
471
471
  const u = !ie.length;
472
- for (const l of r)
472
+ for (const l of n)
473
473
  l[1](), ie.push(l, e);
474
474
  if (u) {
475
475
  for (let l = 0; l < ie.length; l += 2)
@@ -478,23 +478,23 @@ function Ue(e, t = V) {
478
478
  }
479
479
  }
480
480
  }
481
- function s(a) {
481
+ function o(a) {
482
482
  i(a(e));
483
483
  }
484
- function o(a, u = V) {
484
+ function s(a, u = V) {
485
485
  const l = [a, u];
486
- return r.add(l), r.size === 1 && (n = t(i, s) || V), a(e), () => {
487
- r.delete(l), r.size === 0 && n && (n(), n = null);
486
+ return n.add(l), n.size === 1 && (r = t(i, o) || V), a(e), () => {
487
+ n.delete(l), n.size === 0 && r && (r(), r = null);
488
488
  };
489
489
  }
490
- return { set: i, update: s, subscribe: o };
490
+ return { set: i, update: o, subscribe: s };
491
491
  }
492
- function de(e, t, n) {
493
- const r = !Array.isArray(e), i = r ? [e] : e;
492
+ function de(e, t, r) {
493
+ const n = !Array.isArray(e), i = n ? [e] : e;
494
494
  if (!i.every(Boolean))
495
495
  throw new Error("derived() expects stores as input, got a falsy value");
496
- const s = t.length < 2;
497
- return Rr(n, (o, a) => {
496
+ const o = t.length < 2;
497
+ return Gn(r, (s, a) => {
498
498
  let u = !1;
499
499
  const l = [];
500
500
  let c = 0, d = V;
@@ -502,10 +502,10 @@ function de(e, t, n) {
502
502
  if (c)
503
503
  return;
504
504
  d();
505
- const g = t(r ? l[0] : l, o, a);
506
- s ? o(g) : d = yt(g) ? g : V;
505
+ const g = t(n ? l[0] : l, s, a);
506
+ o ? s(g) : d = vt(g) ? g : V;
507
507
  }, p = i.map(
508
- (g, b) => bn(
508
+ (g, b) => yr(
509
509
  g,
510
510
  (A) => {
511
511
  l[b] = A, c &= ~(1 << b), u && f();
@@ -520,80 +520,80 @@ function de(e, t, n) {
520
520
  };
521
521
  });
522
522
  }
523
- function Wr(e) {
524
- return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
523
+ function Dn(e) {
524
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
525
525
  }
526
- var Ur = function(t) {
527
- return Fr(t) && !Gr(t);
526
+ var kn = function(t) {
527
+ return jn(t) && !$n(t);
528
528
  };
529
- function Fr(e) {
529
+ function jn(e) {
530
530
  return !!e && typeof e == "object";
531
531
  }
532
- function Gr(e) {
532
+ function $n(e) {
533
533
  var t = Object.prototype.toString.call(e);
534
- return t === "[object RegExp]" || t === "[object Date]" || jr(e);
534
+ return t === "[object RegExp]" || t === "[object Date]" || zn(e);
535
535
  }
536
- var Dr = typeof Symbol == "function" && Symbol.for, kr = Dr ? Symbol.for("react.element") : 60103;
537
- function jr(e) {
538
- return e.$$typeof === kr;
536
+ var Vn = typeof Symbol == "function" && Symbol.for, Xn = Vn ? Symbol.for("react.element") : 60103;
537
+ function zn(e) {
538
+ return e.$$typeof === Xn;
539
539
  }
540
- function $r(e) {
540
+ function Zn(e) {
541
541
  return Array.isArray(e) ? [] : {};
542
542
  }
543
543
  function we(e, t) {
544
- return t.clone !== !1 && t.isMergeableObject(e) ? ue($r(e), e, t) : e;
544
+ return t.clone !== !1 && t.isMergeableObject(e) ? ue(Zn(e), e, t) : e;
545
545
  }
546
- function Vr(e, t, n) {
547
- return e.concat(t).map(function(r) {
548
- return we(r, n);
546
+ function Qn(e, t, r) {
547
+ return e.concat(t).map(function(n) {
548
+ return we(n, r);
549
549
  });
550
550
  }
551
- function Xr(e, t) {
551
+ function Jn(e, t) {
552
552
  if (!t.customMerge)
553
553
  return ue;
554
- var n = t.customMerge(e);
555
- return typeof n == "function" ? n : ue;
554
+ var r = t.customMerge(e);
555
+ return typeof r == "function" ? r : ue;
556
556
  }
557
- function zr(e) {
557
+ function qn(e) {
558
558
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
559
559
  return Object.propertyIsEnumerable.call(e, t);
560
560
  }) : [];
561
561
  }
562
- function Ut(e) {
563
- return Object.keys(e).concat(zr(e));
562
+ function Dt(e) {
563
+ return Object.keys(e).concat(qn(e));
564
564
  }
565
- function En(e, t) {
565
+ function wr(e, t) {
566
566
  try {
567
567
  return t in e;
568
568
  } catch {
569
569
  return !1;
570
570
  }
571
571
  }
572
- function Zr(e, t) {
573
- return En(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
572
+ function Yn(e, t) {
573
+ return wr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
574
574
  }
575
- function Qr(e, t, n) {
576
- var r = {};
577
- return n.isMergeableObject(e) && Ut(e).forEach(function(i) {
578
- r[i] = we(e[i], n);
579
- }), Ut(t).forEach(function(i) {
580
- Zr(e, i) || (En(e, i) && n.isMergeableObject(t[i]) ? r[i] = Xr(i, n)(e[i], t[i], n) : r[i] = we(t[i], n));
581
- }), r;
582
- }
583
- function ue(e, t, n) {
584
- n = n || {}, n.arrayMerge = n.arrayMerge || Vr, n.isMergeableObject = n.isMergeableObject || Ur, n.cloneUnlessOtherwiseSpecified = we;
585
- var r = Array.isArray(t), i = Array.isArray(e), s = r === i;
586
- return s ? r ? n.arrayMerge(e, t, n) : Qr(e, t, n) : we(t, n);
587
- }
588
- ue.all = function(t, n) {
575
+ function Kn(e, t, r) {
576
+ var n = {};
577
+ return r.isMergeableObject(e) && Dt(e).forEach(function(i) {
578
+ n[i] = we(e[i], r);
579
+ }), Dt(t).forEach(function(i) {
580
+ Yn(e, i) || (wr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Jn(i, r)(e[i], t[i], r) : n[i] = we(t[i], r));
581
+ }), n;
582
+ }
583
+ function ue(e, t, r) {
584
+ r = r || {}, r.arrayMerge = r.arrayMerge || Qn, r.isMergeableObject = r.isMergeableObject || kn, r.cloneUnlessOtherwiseSpecified = we;
585
+ var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
586
+ return o ? n ? r.arrayMerge(e, t, r) : Kn(e, t, r) : we(t, r);
587
+ }
588
+ ue.all = function(t, r) {
589
589
  if (!Array.isArray(t))
590
590
  throw new Error("first argument should be an array");
591
- return t.reduce(function(r, i) {
592
- return ue(r, i, n);
591
+ return t.reduce(function(n, i) {
592
+ return ue(n, i, r);
593
593
  }, {});
594
594
  };
595
- var Jr = ue, qr = Jr;
596
- const Yr = /* @__PURE__ */ Wr(qr);
595
+ var ei = ue, ti = ei;
596
+ const ri = /* @__PURE__ */ Dn(ti);
597
597
  /*! *****************************************************************************
598
598
  Copyright (c) Microsoft Corporation.
599
599
 
@@ -609,131 +609,129 @@ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
609
609
  PERFORMANCE OF THIS SOFTWARE.
610
610
  ***************************************************************************** */
611
611
  var st = function(e, t) {
612
- return st = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
613
- n.__proto__ = r;
614
- } || function(n, r) {
615
- for (var i in r)
616
- Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]);
612
+ return st = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
613
+ r.__proto__ = n;
614
+ } || function(r, n) {
615
+ for (var i in n)
616
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
617
617
  }, st(e, t);
618
618
  };
619
619
  function J(e, t) {
620
620
  if (typeof t != "function" && t !== null)
621
621
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
622
622
  st(e, t);
623
- function n() {
623
+ function r() {
624
624
  this.constructor = e;
625
625
  }
626
- e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
626
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
627
627
  }
628
628
  var x = function() {
629
629
  return x = Object.assign || function(t) {
630
- for (var n, r = 1, i = arguments.length; r < i; r++) {
631
- n = arguments[r];
632
- for (var s in n)
633
- Object.prototype.hasOwnProperty.call(n, s) && (t[s] = n[s]);
630
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
631
+ r = arguments[n];
632
+ for (var o in r)
633
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
634
634
  }
635
635
  return t;
636
636
  }, x.apply(this, arguments);
637
637
  };
638
- function Kr(e, t) {
639
- var n = {};
640
- for (var r in e)
641
- Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
638
+ function ni(e, t) {
639
+ var r = {};
640
+ for (var n in e)
641
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
642
642
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
643
- for (var i = 0, r = Object.getOwnPropertySymbols(e); i < r.length; i++)
644
- t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
645
- return n;
643
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
644
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
645
+ return r;
646
646
  }
647
- function ot(e) {
648
- var t = typeof Symbol == "function" && Symbol.iterator, n = t && e[t], r = 0;
649
- if (n)
650
- return n.call(e);
647
+ function at(e) {
648
+ var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
649
+ if (r)
650
+ return r.call(e);
651
651
  if (e && typeof e.length == "number")
652
652
  return {
653
653
  next: function() {
654
- return e && r >= e.length && (e = void 0), { value: e && e[r++], done: !e };
654
+ return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
655
655
  }
656
656
  };
657
657
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
658
658
  }
659
- function at(e, t) {
660
- var n = typeof Symbol == "function" && e[Symbol.iterator];
661
- if (!n)
659
+ function ut(e, t) {
660
+ var r = typeof Symbol == "function" && e[Symbol.iterator];
661
+ if (!r)
662
662
  return e;
663
- var r = n.call(e), i, s = [], o;
663
+ var n = r.call(e), i, o = [], s;
664
664
  try {
665
- for (; (t === void 0 || t-- > 0) && !(i = r.next()).done; )
666
- s.push(i.value);
665
+ for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
666
+ o.push(i.value);
667
667
  } catch (a) {
668
- o = { error: a };
668
+ s = { error: a };
669
669
  } finally {
670
670
  try {
671
- i && !i.done && (n = r.return) && n.call(r);
671
+ i && !i.done && (r = n.return) && r.call(n);
672
672
  } finally {
673
- if (o)
674
- throw o.error;
673
+ if (s)
674
+ throw s.error;
675
675
  }
676
676
  }
677
- return s;
677
+ return o;
678
678
  }
679
- function ae(e, t, n) {
680
- if (n || arguments.length === 2)
681
- for (var r = 0, i = t.length, s; r < i; r++)
682
- (s || !(r in t)) && (s || (s = Array.prototype.slice.call(t, 0, r)), s[r] = t[r]);
683
- return e.concat(s || t);
679
+ function ae(e, t, r) {
680
+ if (r || arguments.length === 2)
681
+ for (var n = 0, i = t.length, o; n < i; n++)
682
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
683
+ return e.concat(o || t);
684
684
  }
685
685
  function qe(e, t) {
686
- var n = t && t.cache ? t.cache : oi, r = t && t.serializer ? t.serializer : ii, i = t && t.strategy ? t.strategy : ti;
686
+ var r = t && t.cache ? t.cache : li, n = t && t.serializer ? t.serializer : ui, i = t && t.strategy ? t.strategy : oi;
687
687
  return i(e, {
688
- cache: n,
689
- serializer: r
688
+ cache: r,
689
+ serializer: n
690
690
  });
691
691
  }
692
- function ei(e) {
692
+ function ii(e) {
693
693
  return e == null || typeof e == "number" || typeof e == "boolean";
694
694
  }
695
- function xn(e, t, n, r) {
696
- var i = ei(r) ? r : n(r), s = t.get(i);
697
- return typeof s > "u" && (s = e.call(this, r), t.set(i, s)), s;
695
+ function Sr(e, t, r, n) {
696
+ var i = ii(n) ? n : r(n), o = t.get(i);
697
+ return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
698
698
  }
699
- function wn(e, t, n) {
700
- var r = Array.prototype.slice.call(arguments, 3), i = n(r), s = t.get(i);
701
- return typeof s > "u" && (s = e.apply(this, r), t.set(i, s)), s;
699
+ function Tr(e, t, r) {
700
+ var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
701
+ return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
702
702
  }
703
- function vt(e, t, n, r, i) {
704
- return n.bind(t, e, r, i);
703
+ function Et(e, t, r, n, i) {
704
+ return r.bind(t, e, n, i);
705
705
  }
706
- function ti(e, t) {
707
- var n = e.length === 1 ? xn : wn;
708
- return vt(e, this, n, t.cache.create(), t.serializer);
706
+ function oi(e, t) {
707
+ var r = e.length === 1 ? Sr : Tr;
708
+ return Et(e, this, r, t.cache.create(), t.serializer);
709
709
  }
710
- function ni(e, t) {
711
- return vt(e, this, wn, t.cache.create(), t.serializer);
710
+ function si(e, t) {
711
+ return Et(e, this, Tr, t.cache.create(), t.serializer);
712
712
  }
713
- function ri(e, t) {
714
- return vt(e, this, xn, t.cache.create(), t.serializer);
713
+ function ai(e, t) {
714
+ return Et(e, this, Sr, t.cache.create(), t.serializer);
715
715
  }
716
- var ii = function() {
716
+ var ui = function() {
717
717
  return JSON.stringify(arguments);
718
- }, si = (
719
- /** @class */
720
- function() {
721
- function e() {
722
- this.cache = /* @__PURE__ */ Object.create(null);
723
- }
724
- return e.prototype.get = function(t) {
725
- return this.cache[t];
726
- }, e.prototype.set = function(t, n) {
727
- this.cache[t] = n;
728
- }, e;
729
- }()
730
- ), oi = {
718
+ };
719
+ function xt() {
720
+ this.cache = /* @__PURE__ */ Object.create(null);
721
+ }
722
+ xt.prototype.get = function(e) {
723
+ return this.cache[e];
724
+ };
725
+ xt.prototype.set = function(e, t) {
726
+ this.cache[e] = t;
727
+ };
728
+ var li = {
731
729
  create: function() {
732
- return new si();
730
+ return new xt();
733
731
  }
734
732
  }, Ye = {
735
- variadic: ni,
736
- monadic: ri
733
+ variadic: si,
734
+ monadic: ai
737
735
  }, y;
738
736
  (function(e) {
739
737
  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";
@@ -746,50 +744,50 @@ var le;
746
744
  (function(e) {
747
745
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
748
746
  })(le || (le = {}));
749
- function Ft(e) {
747
+ function kt(e) {
750
748
  return e.type === H.literal;
751
749
  }
752
- function ai(e) {
750
+ function hi(e) {
753
751
  return e.type === H.argument;
754
752
  }
755
- function Sn(e) {
753
+ function Br(e) {
756
754
  return e.type === H.number;
757
755
  }
758
- function Tn(e) {
756
+ function Hr(e) {
759
757
  return e.type === H.date;
760
758
  }
761
- function Bn(e) {
759
+ function Ar(e) {
762
760
  return e.type === H.time;
763
761
  }
764
- function Hn(e) {
762
+ function Pr(e) {
765
763
  return e.type === H.select;
766
764
  }
767
- function An(e) {
765
+ function Cr(e) {
768
766
  return e.type === H.plural;
769
767
  }
770
- function ui(e) {
768
+ function ci(e) {
771
769
  return e.type === H.pound;
772
770
  }
773
- function Pn(e) {
771
+ function Or(e) {
774
772
  return e.type === H.tag;
775
773
  }
776
- function Cn(e) {
774
+ function Mr(e) {
777
775
  return !!(e && typeof e == "object" && e.type === le.number);
778
776
  }
779
- function ut(e) {
777
+ function lt(e) {
780
778
  return !!(e && typeof e == "object" && e.type === le.dateTime);
781
779
  }
782
- var On = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, li = /(?:[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;
783
- function hi(e) {
780
+ var Ir = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, fi = /(?:[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;
781
+ function di(e) {
784
782
  var t = {};
785
- return e.replace(li, function(n) {
786
- var r = n.length;
787
- switch (n[0]) {
783
+ return e.replace(fi, function(r) {
784
+ var n = r.length;
785
+ switch (r[0]) {
788
786
  case "G":
789
- t.era = r === 4 ? "long" : r === 5 ? "narrow" : "short";
787
+ t.era = n === 4 ? "long" : n === 5 ? "narrow" : "short";
790
788
  break;
791
789
  case "y":
792
- t.year = r === 2 ? "2-digit" : "numeric";
790
+ t.year = n === 2 ? "2-digit" : "numeric";
793
791
  break;
794
792
  case "Y":
795
793
  case "u":
@@ -801,30 +799,30 @@ function hi(e) {
801
799
  throw new RangeError("`q/Q` (quarter) patterns are not supported");
802
800
  case "M":
803
801
  case "L":
804
- t.month = ["numeric", "2-digit", "short", "long", "narrow"][r - 1];
802
+ t.month = ["numeric", "2-digit", "short", "long", "narrow"][n - 1];
805
803
  break;
806
804
  case "w":
807
805
  case "W":
808
806
  throw new RangeError("`w/W` (week) patterns are not supported");
809
807
  case "d":
810
- t.day = ["numeric", "2-digit"][r - 1];
808
+ t.day = ["numeric", "2-digit"][n - 1];
811
809
  break;
812
810
  case "D":
813
811
  case "F":
814
812
  case "g":
815
813
  throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");
816
814
  case "E":
817
- t.weekday = r === 4 ? "long" : r === 5 ? "narrow" : "short";
815
+ t.weekday = n === 4 ? "long" : n === 5 ? "narrow" : "short";
818
816
  break;
819
817
  case "e":
820
- if (r < 4)
818
+ if (n < 4)
821
819
  throw new RangeError("`e..eee` (weekday) patterns are not supported");
822
- t.weekday = ["short", "long", "narrow", "short"][r - 4];
820
+ t.weekday = ["short", "long", "narrow", "short"][n - 4];
823
821
  break;
824
822
  case "c":
825
- if (r < 4)
823
+ if (n < 4)
826
824
  throw new RangeError("`c..ccc` (weekday) patterns are not supported");
827
- t.weekday = ["short", "long", "narrow", "short"][r - 4];
825
+ t.weekday = ["short", "long", "narrow", "short"][n - 4];
828
826
  break;
829
827
  case "a":
830
828
  t.hour12 = !0;
@@ -833,32 +831,32 @@ function hi(e) {
833
831
  case "B":
834
832
  throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");
835
833
  case "h":
836
- t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][r - 1];
834
+ t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][n - 1];
837
835
  break;
838
836
  case "H":
839
- t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][r - 1];
837
+ t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][n - 1];
840
838
  break;
841
839
  case "K":
842
- t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][r - 1];
840
+ t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][n - 1];
843
841
  break;
844
842
  case "k":
845
- t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][r - 1];
843
+ t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][n - 1];
846
844
  break;
847
845
  case "j":
848
846
  case "J":
849
847
  case "C":
850
848
  throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");
851
849
  case "m":
852
- t.minute = ["numeric", "2-digit"][r - 1];
850
+ t.minute = ["numeric", "2-digit"][n - 1];
853
851
  break;
854
852
  case "s":
855
- t.second = ["numeric", "2-digit"][r - 1];
853
+ t.second = ["numeric", "2-digit"][n - 1];
856
854
  break;
857
855
  case "S":
858
856
  case "A":
859
857
  throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");
860
858
  case "z":
861
- t.timeZoneName = r < 4 ? "short" : "long";
859
+ t.timeZoneName = n < 4 ? "short" : "long";
862
860
  break;
863
861
  case "Z":
864
862
  case "O":
@@ -871,36 +869,36 @@ function hi(e) {
871
869
  return "";
872
870
  }), t;
873
871
  }
874
- var ci = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
875
- function fi(e) {
872
+ var mi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
873
+ function pi(e) {
876
874
  if (e.length === 0)
877
875
  throw new Error("Number skeleton cannot be empty");
878
- for (var t = e.split(ci).filter(function(f) {
876
+ for (var t = e.split(mi).filter(function(f) {
879
877
  return f.length > 0;
880
- }), n = [], r = 0, i = t; r < i.length; r++) {
881
- var s = i[r], o = s.split("/");
882
- if (o.length === 0)
878
+ }), r = [], n = 0, i = t; n < i.length; n++) {
879
+ var o = i[n], s = o.split("/");
880
+ if (s.length === 0)
883
881
  throw new Error("Invalid number skeleton");
884
- for (var a = o[0], u = o.slice(1), l = 0, c = u; l < c.length; l++) {
882
+ for (var a = s[0], u = s.slice(1), l = 0, c = u; l < c.length; l++) {
885
883
  var d = c[l];
886
884
  if (d.length === 0)
887
885
  throw new Error("Invalid number skeleton");
888
886
  }
889
- n.push({ stem: a, options: u });
887
+ r.push({ stem: a, options: u });
890
888
  }
891
- return n;
889
+ return r;
892
890
  }
893
- function di(e) {
891
+ function bi(e) {
894
892
  return e.replace(/^(.*?)-/, "");
895
893
  }
896
- var Gt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Mn = /^(@+)?(\+|#+)?[rs]?$/g, mi = /(\*)(0+)|(#+)(0+)|(0+)/g, Nn = /^(0+)$/;
897
- function Dt(e) {
894
+ var jt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Nr = /^(@+)?(\+|#+)?[rs]?$/g, gi = /(\*)(0+)|(#+)(0+)|(0+)/g, Lr = /^(0+)$/;
895
+ function $t(e) {
898
896
  var t = {};
899
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Mn, function(n, r, i) {
900
- return typeof i != "string" ? (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length) : i === "+" ? t.minimumSignificantDigits = r.length : r[0] === "#" ? t.maximumSignificantDigits = r.length : (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length + (typeof i == "string" ? i.length : 0)), "";
897
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Nr, function(r, n, i) {
898
+ 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)), "";
901
899
  }), t;
902
900
  }
903
- function In(e) {
901
+ function Rr(e) {
904
902
  switch (e) {
905
903
  case "sign-auto":
906
904
  return {
@@ -940,27 +938,27 @@ function In(e) {
940
938
  };
941
939
  }
942
940
  }
943
- function pi(e) {
941
+ function yi(e) {
944
942
  var t;
945
943
  if (e[0] === "E" && e[1] === "E" ? (t = {
946
944
  notation: "engineering"
947
945
  }, e = e.slice(2)) : e[0] === "E" && (t = {
948
946
  notation: "scientific"
949
947
  }, e = e.slice(1)), t) {
950
- var n = e.slice(0, 2);
951
- if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Nn.test(e))
948
+ var r = e.slice(0, 2);
949
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Lr.test(e))
952
950
  throw new Error("Malformed concise eng/scientific notation");
953
951
  t.minimumIntegerDigits = e.length;
954
952
  }
955
953
  return t;
956
954
  }
957
- function kt(e) {
958
- var t = {}, n = In(e);
959
- return n || t;
955
+ function Vt(e) {
956
+ var t = {}, r = Rr(e);
957
+ return r || t;
960
958
  }
961
- function bi(e) {
962
- for (var t = {}, n = 0, r = e; n < r.length; n++) {
963
- var i = r[n];
959
+ function vi(e) {
960
+ for (var t = {}, r = 0, n = e; r < n.length; r++) {
961
+ var i = n[r];
964
962
  switch (i.stem) {
965
963
  case "percent":
966
964
  case "%":
@@ -982,7 +980,7 @@ function bi(e) {
982
980
  continue;
983
981
  case "measure-unit":
984
982
  case "unit":
985
- t.style = "unit", t.unit = di(i.options[0]);
983
+ t.style = "unit", t.unit = bi(i.options[0]);
986
984
  continue;
987
985
  case "compact-short":
988
986
  case "K":
@@ -994,12 +992,12 @@ function bi(e) {
994
992
  continue;
995
993
  case "scientific":
996
994
  t = x(x(x({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
997
- return x(x({}, u), kt(l));
995
+ return x(x({}, u), Vt(l));
998
996
  }, {}));
999
997
  continue;
1000
998
  case "engineering":
1001
999
  t = x(x(x({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1002
- return x(x({}, u), kt(l));
1000
+ return x(x({}, u), Vt(l));
1003
1001
  }, {}));
1004
1002
  continue;
1005
1003
  case "notation-simple":
@@ -1044,7 +1042,7 @@ function bi(e) {
1044
1042
  case "integer-width":
1045
1043
  if (i.options.length > 1)
1046
1044
  throw new RangeError("integer-width stems only accept a single optional option");
1047
- i.options[0].replace(mi, function(u, l, c, d, f, p) {
1045
+ i.options[0].replace(gi, function(u, l, c, d, f, p) {
1048
1046
  if (l)
1049
1047
  t.minimumIntegerDigits = c.length;
1050
1048
  else {
@@ -1057,27 +1055,27 @@ function bi(e) {
1057
1055
  });
1058
1056
  continue;
1059
1057
  }
1060
- if (Nn.test(i.stem)) {
1058
+ if (Lr.test(i.stem)) {
1061
1059
  t.minimumIntegerDigits = i.stem.length;
1062
1060
  continue;
1063
1061
  }
1064
- if (Gt.test(i.stem)) {
1062
+ if (jt.test(i.stem)) {
1065
1063
  if (i.options.length > 1)
1066
1064
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1067
- i.stem.replace(Gt, function(u, l, c, d, f, p) {
1065
+ i.stem.replace(jt, function(u, l, c, d, f, p) {
1068
1066
  return c === "*" ? t.minimumFractionDigits = l.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1069
1067
  });
1070
- var s = i.options[0];
1071
- s === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = x(x({}, t), Dt(s)));
1068
+ var o = i.options[0];
1069
+ o === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = x(x({}, t), $t(o)));
1072
1070
  continue;
1073
1071
  }
1074
- if (Mn.test(i.stem)) {
1075
- t = x(x({}, t), Dt(i.stem));
1072
+ if (Nr.test(i.stem)) {
1073
+ t = x(x({}, t), $t(i.stem));
1076
1074
  continue;
1077
1075
  }
1078
- var o = In(i.stem);
1079
- o && (t = x(x({}, t), o));
1080
- var a = pi(i.stem);
1076
+ var s = Rr(i.stem);
1077
+ s && (t = x(x({}, t), s));
1078
+ var a = yi(i.stem);
1081
1079
  a && (t = x(x({}, t), a));
1082
1080
  }
1083
1081
  return t;
@@ -2497,23 +2495,23 @@ var Pe = {
2497
2495
  "h"
2498
2496
  ]
2499
2497
  };
2500
- function gi(e, t) {
2501
- for (var n = "", r = 0; r < e.length; r++) {
2502
- var i = e.charAt(r);
2498
+ function _i(e, t) {
2499
+ for (var r = "", n = 0; n < e.length; n++) {
2500
+ var i = e.charAt(n);
2503
2501
  if (i === "j") {
2504
- for (var s = 0; r + 1 < e.length && e.charAt(r + 1) === i; )
2505
- s++, r++;
2506
- var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), u = "a", l = yi(t);
2502
+ for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2503
+ o++, n++;
2504
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = Ei(t);
2507
2505
  for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
2508
- n += u;
2509
- for (; o-- > 0; )
2510
- n = l + n;
2506
+ r += u;
2507
+ for (; s-- > 0; )
2508
+ r = l + r;
2511
2509
  } else
2512
- i === "J" ? n += "H" : n += i;
2510
+ i === "J" ? r += "H" : r += i;
2513
2511
  }
2514
- return n;
2512
+ return r;
2515
2513
  }
2516
- function yi(e) {
2514
+ function Ei(e) {
2517
2515
  var t = e.hourCycle;
2518
2516
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2519
2517
  e.hourCycles && // @ts-ignore
@@ -2530,73 +2528,73 @@ function yi(e) {
2530
2528
  default:
2531
2529
  throw new Error("Invalid hourCycle");
2532
2530
  }
2533
- var n = e.language, r;
2534
- n !== "root" && (r = e.maximize().region);
2535
- var i = Pe[r || ""] || Pe[n || ""] || Pe["".concat(n, "-001")] || Pe["001"];
2531
+ var r = e.language, n;
2532
+ r !== "root" && (n = e.maximize().region);
2533
+ var i = Pe[n || ""] || Pe[r || ""] || Pe["".concat(r, "-001")] || Pe["001"];
2536
2534
  return i[0];
2537
2535
  }
2538
- var Ke, _i = new RegExp("^".concat(On.source, "*")), vi = new RegExp("".concat(On.source, "*$"));
2539
- function v(e, t) {
2536
+ var Ke, xi = new RegExp("^".concat(Ir.source, "*")), wi = new RegExp("".concat(Ir.source, "*$"));
2537
+ function _(e, t) {
2540
2538
  return { start: e, end: t };
2541
2539
  }
2542
- var Ei = !!String.prototype.startsWith && "_a".startsWith("a", 1), xi = !!String.fromCodePoint, wi = !!Object.fromEntries, Si = !!String.prototype.codePointAt, Ti = !!String.prototype.trimStart, Bi = !!String.prototype.trimEnd, Hi = !!Number.isSafeInteger, Ai = Hi ? Number.isSafeInteger : function(e) {
2540
+ var Si = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ti = !!String.fromCodePoint, Bi = !!Object.fromEntries, Hi = !!String.prototype.codePointAt, Ai = !!String.prototype.trimStart, Pi = !!String.prototype.trimEnd, Ci = !!Number.isSafeInteger, Oi = Ci ? Number.isSafeInteger : function(e) {
2543
2541
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2544
- }, lt = !0;
2542
+ }, ht = !0;
2545
2543
  try {
2546
- var Pi = Rn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2547
- lt = ((Ke = Pi.exec("a")) === null || Ke === void 0 ? void 0 : Ke[0]) === "a";
2544
+ var Mi = Ur("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2545
+ ht = ((Ke = Mi.exec("a")) === null || Ke === void 0 ? void 0 : Ke[0]) === "a";
2548
2546
  } catch {
2549
- lt = !1;
2547
+ ht = !1;
2550
2548
  }
2551
- var jt = Ei ? (
2549
+ var Xt = Si ? (
2552
2550
  // Native
2553
- function(t, n, r) {
2554
- return t.startsWith(n, r);
2551
+ function(t, r, n) {
2552
+ return t.startsWith(r, n);
2555
2553
  }
2556
2554
  ) : (
2557
2555
  // For IE11
2558
- function(t, n, r) {
2559
- return t.slice(r, r + n.length) === n;
2556
+ function(t, r, n) {
2557
+ return t.slice(n, n + r.length) === r;
2560
2558
  }
2561
- ), ht = xi ? String.fromCodePoint : (
2559
+ ), ct = Ti ? String.fromCodePoint : (
2562
2560
  // IE11
2563
2561
  function() {
2564
- for (var t = [], n = 0; n < arguments.length; n++)
2565
- t[n] = arguments[n];
2566
- for (var r = "", i = t.length, s = 0, o; i > s; ) {
2567
- if (o = t[s++], o > 1114111)
2568
- throw RangeError(o + " is not a valid code point");
2569
- r += o < 65536 ? String.fromCharCode(o) : String.fromCharCode(((o -= 65536) >> 10) + 55296, o % 1024 + 56320);
2562
+ for (var t = [], r = 0; r < arguments.length; r++)
2563
+ t[r] = arguments[r];
2564
+ for (var n = "", i = t.length, o = 0, s; i > o; ) {
2565
+ if (s = t[o++], s > 1114111)
2566
+ throw RangeError(s + " is not a valid code point");
2567
+ n += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
2570
2568
  }
2571
- return r;
2569
+ return n;
2572
2570
  }
2573
- ), $t = (
2571
+ ), zt = (
2574
2572
  // native
2575
- wi ? Object.fromEntries : (
2573
+ Bi ? Object.fromEntries : (
2576
2574
  // Ponyfill
2577
2575
  function(t) {
2578
- for (var n = {}, r = 0, i = t; r < i.length; r++) {
2579
- var s = i[r], o = s[0], a = s[1];
2580
- n[o] = a;
2576
+ for (var r = {}, n = 0, i = t; n < i.length; n++) {
2577
+ var o = i[n], s = o[0], a = o[1];
2578
+ r[s] = a;
2581
2579
  }
2582
- return n;
2580
+ return r;
2583
2581
  }
2584
2582
  )
2585
- ), Ln = Si ? (
2583
+ ), Wr = Hi ? (
2586
2584
  // Native
2587
- function(t, n) {
2588
- return t.codePointAt(n);
2585
+ function(t, r) {
2586
+ return t.codePointAt(r);
2589
2587
  }
2590
2588
  ) : (
2591
2589
  // IE 11
2592
- function(t, n) {
2593
- var r = t.length;
2594
- if (!(n < 0 || n >= r)) {
2595
- var i = t.charCodeAt(n), s;
2596
- return i < 55296 || i > 56319 || n + 1 === r || (s = t.charCodeAt(n + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2590
+ function(t, r) {
2591
+ var n = t.length;
2592
+ if (!(r < 0 || r >= n)) {
2593
+ var i = t.charCodeAt(r), o;
2594
+ return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2597
2595
  }
2598
2596
  }
2599
- ), Ci = Ti ? (
2597
+ ), Ii = Ai ? (
2600
2598
  // Native
2601
2599
  function(t) {
2602
2600
  return t.trimStart();
@@ -2604,9 +2602,9 @@ var jt = Ei ? (
2604
2602
  ) : (
2605
2603
  // Ponyfill
2606
2604
  function(t) {
2607
- return t.replace(_i, "");
2605
+ return t.replace(xi, "");
2608
2606
  }
2609
- ), Oi = Bi ? (
2607
+ ), Ni = Pi ? (
2610
2608
  // Native
2611
2609
  function(t) {
2612
2610
  return t.trimEnd();
@@ -2614,78 +2612,78 @@ var jt = Ei ? (
2614
2612
  ) : (
2615
2613
  // Ponyfill
2616
2614
  function(t) {
2617
- return t.replace(vi, "");
2615
+ return t.replace(wi, "");
2618
2616
  }
2619
2617
  );
2620
- function Rn(e, t) {
2618
+ function Ur(e, t) {
2621
2619
  return new RegExp(e, t);
2622
2620
  }
2623
- var ct;
2624
- if (lt) {
2625
- var Vt = Rn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2626
- ct = function(t, n) {
2627
- var r;
2628
- Vt.lastIndex = n;
2629
- var i = Vt.exec(t);
2630
- return (r = i[1]) !== null && r !== void 0 ? r : "";
2621
+ var ft;
2622
+ if (ht) {
2623
+ var Zt = Ur("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2624
+ ft = function(t, r) {
2625
+ var n;
2626
+ Zt.lastIndex = r;
2627
+ var i = Zt.exec(t);
2628
+ return (n = i[1]) !== null && n !== void 0 ? n : "";
2631
2629
  };
2632
2630
  } else
2633
- ct = function(t, n) {
2634
- for (var r = []; ; ) {
2635
- var i = Ln(t, n);
2636
- if (i === void 0 || Wn(i) || Li(i))
2631
+ ft = function(t, r) {
2632
+ for (var n = []; ; ) {
2633
+ var i = Wr(t, r);
2634
+ if (i === void 0 || Fr(i) || Ui(i))
2637
2635
  break;
2638
- r.push(i), n += i >= 65536 ? 2 : 1;
2636
+ n.push(i), r += i >= 65536 ? 2 : 1;
2639
2637
  }
2640
- return ht.apply(void 0, r);
2638
+ return ct.apply(void 0, n);
2641
2639
  };
2642
- var Mi = (
2640
+ var Li = (
2643
2641
  /** @class */
2644
2642
  function() {
2645
- function e(t, n) {
2646
- n === void 0 && (n = {}), this.message = t, this.position = { offset: 0, line: 1, column: 1 }, this.ignoreTag = !!n.ignoreTag, this.locale = n.locale, this.requiresOtherClause = !!n.requiresOtherClause, this.shouldParseSkeletons = !!n.shouldParseSkeletons;
2643
+ function e(t, r) {
2644
+ r === void 0 && (r = {}), this.message = t, this.position = { offset: 0, line: 1, column: 1 }, this.ignoreTag = !!r.ignoreTag, this.locale = r.locale, this.requiresOtherClause = !!r.requiresOtherClause, this.shouldParseSkeletons = !!r.shouldParseSkeletons;
2647
2645
  }
2648
2646
  return e.prototype.parse = function() {
2649
2647
  if (this.offset() !== 0)
2650
2648
  throw Error("parser can only be used once");
2651
2649
  return this.parseMessage(0, "", !1);
2652
- }, e.prototype.parseMessage = function(t, n, r) {
2650
+ }, e.prototype.parseMessage = function(t, r, n) {
2653
2651
  for (var i = []; !this.isEOF(); ) {
2654
- var s = this.char();
2655
- if (s === 123) {
2656
- var o = this.parseArgument(t, r);
2657
- if (o.err)
2658
- return o;
2659
- i.push(o.val);
2652
+ var o = this.char();
2653
+ if (o === 123) {
2654
+ var s = this.parseArgument(t, n);
2655
+ if (s.err)
2656
+ return s;
2657
+ i.push(s.val);
2660
2658
  } else {
2661
- if (s === 125 && t > 0)
2659
+ if (o === 125 && t > 0)
2662
2660
  break;
2663
- if (s === 35 && (n === "plural" || n === "selectordinal")) {
2661
+ if (o === 35 && (r === "plural" || r === "selectordinal")) {
2664
2662
  var a = this.clonePosition();
2665
2663
  this.bump(), i.push({
2666
2664
  type: H.pound,
2667
- location: v(a, this.clonePosition())
2665
+ location: _(a, this.clonePosition())
2668
2666
  });
2669
- } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2670
- if (r)
2667
+ } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
2668
+ if (n)
2671
2669
  break;
2672
- return this.error(y.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
2673
- } else if (s === 60 && !this.ignoreTag && ft(this.peek() || 0)) {
2674
- var o = this.parseTag(t, n);
2675
- if (o.err)
2676
- return o;
2677
- i.push(o.val);
2670
+ return this.error(y.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
2671
+ } else if (o === 60 && !this.ignoreTag && dt(this.peek() || 0)) {
2672
+ var s = this.parseTag(t, r);
2673
+ if (s.err)
2674
+ return s;
2675
+ i.push(s.val);
2678
2676
  } else {
2679
- var o = this.parseLiteral(t, n);
2680
- if (o.err)
2681
- return o;
2682
- i.push(o.val);
2677
+ var s = this.parseLiteral(t, r);
2678
+ if (s.err)
2679
+ return s;
2680
+ i.push(s.val);
2683
2681
  }
2684
2682
  }
2685
2683
  }
2686
2684
  return { val: i, err: null };
2687
- }, e.prototype.parseTag = function(t, n) {
2688
- var r = this.clonePosition();
2685
+ }, e.prototype.parseTag = function(t, r) {
2686
+ var n = this.clonePosition();
2689
2687
  this.bump();
2690
2688
  var i = this.parseTagName();
2691
2689
  if (this.bumpSpace(), this.bumpIf("/>"))
@@ -2693,49 +2691,49 @@ var Mi = (
2693
2691
  val: {
2694
2692
  type: H.literal,
2695
2693
  value: "<".concat(i, "/>"),
2696
- location: v(r, this.clonePosition())
2694
+ location: _(n, this.clonePosition())
2697
2695
  },
2698
2696
  err: null
2699
2697
  };
2700
2698
  if (this.bumpIf(">")) {
2701
- var s = this.parseMessage(t + 1, n, !0);
2702
- if (s.err)
2703
- return s;
2704
- var o = s.val, a = this.clonePosition();
2699
+ var o = this.parseMessage(t + 1, r, !0);
2700
+ if (o.err)
2701
+ return o;
2702
+ var s = o.val, a = this.clonePosition();
2705
2703
  if (this.bumpIf("</")) {
2706
- if (this.isEOF() || !ft(this.char()))
2707
- return this.error(y.INVALID_TAG, v(a, this.clonePosition()));
2704
+ if (this.isEOF() || !dt(this.char()))
2705
+ return this.error(y.INVALID_TAG, _(a, this.clonePosition()));
2708
2706
  var u = this.clonePosition(), l = this.parseTagName();
2709
- return i !== l ? this.error(y.UNMATCHED_CLOSING_TAG, v(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2707
+ return i !== l ? this.error(y.UNMATCHED_CLOSING_TAG, _(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2710
2708
  val: {
2711
2709
  type: H.tag,
2712
2710
  value: i,
2713
- children: o,
2714
- location: v(r, this.clonePosition())
2711
+ children: s,
2712
+ location: _(n, this.clonePosition())
2715
2713
  },
2716
2714
  err: null
2717
- } : this.error(y.INVALID_TAG, v(a, this.clonePosition())));
2715
+ } : this.error(y.INVALID_TAG, _(a, this.clonePosition())));
2718
2716
  } else
2719
- return this.error(y.UNCLOSED_TAG, v(r, this.clonePosition()));
2717
+ return this.error(y.UNCLOSED_TAG, _(n, this.clonePosition()));
2720
2718
  } else
2721
- return this.error(y.INVALID_TAG, v(r, this.clonePosition()));
2719
+ return this.error(y.INVALID_TAG, _(n, this.clonePosition()));
2722
2720
  }, e.prototype.parseTagName = function() {
2723
2721
  var t = this.offset();
2724
- for (this.bump(); !this.isEOF() && Ii(this.char()); )
2722
+ for (this.bump(); !this.isEOF() && Wi(this.char()); )
2725
2723
  this.bump();
2726
2724
  return this.message.slice(t, this.offset());
2727
- }, e.prototype.parseLiteral = function(t, n) {
2728
- for (var r = this.clonePosition(), i = ""; ; ) {
2729
- var s = this.tryParseQuote(n);
2730
- if (s) {
2731
- i += s;
2732
- continue;
2733
- }
2734
- var o = this.tryParseUnquoted(t, n);
2725
+ }, e.prototype.parseLiteral = function(t, r) {
2726
+ for (var n = this.clonePosition(), i = ""; ; ) {
2727
+ var o = this.tryParseQuote(r);
2735
2728
  if (o) {
2736
2729
  i += o;
2737
2730
  continue;
2738
2731
  }
2732
+ var s = this.tryParseUnquoted(t, r);
2733
+ if (s) {
2734
+ i += s;
2735
+ continue;
2736
+ }
2739
2737
  var a = this.tryParseLeftAngleBracket();
2740
2738
  if (a) {
2741
2739
  i += a;
@@ -2743,14 +2741,14 @@ var Mi = (
2743
2741
  }
2744
2742
  break;
2745
2743
  }
2746
- var u = v(r, this.clonePosition());
2744
+ var u = _(n, this.clonePosition());
2747
2745
  return {
2748
2746
  val: { type: H.literal, value: i, location: u },
2749
2747
  err: null
2750
2748
  };
2751
2749
  }, e.prototype.tryParseLeftAngleBracket = function() {
2752
2750
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2753
- !Ni(this.peek() || 0)) ? (this.bump(), "<") : null;
2751
+ !Ri(this.peek() || 0)) ? (this.bump(), "<") : null;
2754
2752
  }, e.prototype.tryParseQuote = function(t) {
2755
2753
  if (this.isEOF() || this.char() !== 39)
2756
2754
  return null;
@@ -2770,37 +2768,37 @@ var Mi = (
2770
2768
  return null;
2771
2769
  }
2772
2770
  this.bump();
2773
- var n = [this.char()];
2771
+ var r = [this.char()];
2774
2772
  for (this.bump(); !this.isEOF(); ) {
2775
- var r = this.char();
2776
- if (r === 39)
2773
+ var n = this.char();
2774
+ if (n === 39)
2777
2775
  if (this.peek() === 39)
2778
- n.push(39), this.bump();
2776
+ r.push(39), this.bump();
2779
2777
  else {
2780
2778
  this.bump();
2781
2779
  break;
2782
2780
  }
2783
2781
  else
2784
- n.push(r);
2782
+ r.push(n);
2785
2783
  this.bump();
2786
2784
  }
2787
- return ht.apply(void 0, n);
2788
- }, e.prototype.tryParseUnquoted = function(t, n) {
2785
+ return ct.apply(void 0, r);
2786
+ }, e.prototype.tryParseUnquoted = function(t, r) {
2789
2787
  if (this.isEOF())
2790
2788
  return null;
2791
- var r = this.char();
2792
- return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), ht(r));
2793
- }, e.prototype.parseArgument = function(t, n) {
2794
- var r = this.clonePosition();
2789
+ var n = this.char();
2790
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ct(n));
2791
+ }, e.prototype.parseArgument = function(t, r) {
2792
+ var n = this.clonePosition();
2795
2793
  if (this.bump(), this.bumpSpace(), this.isEOF())
2796
- return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(r, this.clonePosition()));
2794
+ return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
2797
2795
  if (this.char() === 125)
2798
- return this.bump(), this.error(y.EMPTY_ARGUMENT, v(r, this.clonePosition()));
2796
+ return this.bump(), this.error(y.EMPTY_ARGUMENT, _(n, this.clonePosition()));
2799
2797
  var i = this.parseIdentifierIfPossible().value;
2800
2798
  if (!i)
2801
- return this.error(y.MALFORMED_ARGUMENT, v(r, this.clonePosition()));
2799
+ return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
2802
2800
  if (this.bumpSpace(), this.isEOF())
2803
- return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(r, this.clonePosition()));
2801
+ return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
2804
2802
  switch (this.char()) {
2805
2803
  case 125:
2806
2804
  return this.bump(), {
@@ -2808,25 +2806,25 @@ var Mi = (
2808
2806
  type: H.argument,
2809
2807
  // value does not include the opening and closing braces.
2810
2808
  value: i,
2811
- location: v(r, this.clonePosition())
2809
+ location: _(n, this.clonePosition())
2812
2810
  },
2813
2811
  err: null
2814
2812
  };
2815
2813
  case 44:
2816
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(r, this.clonePosition())) : this.parseArgumentOptions(t, n, i, r);
2814
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2817
2815
  default:
2818
- return this.error(y.MALFORMED_ARGUMENT, v(r, this.clonePosition()));
2816
+ return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
2819
2817
  }
2820
2818
  }, e.prototype.parseIdentifierIfPossible = function() {
2821
- var t = this.clonePosition(), n = this.offset(), r = ct(this.message, n), i = n + r.length;
2819
+ var t = this.clonePosition(), r = this.offset(), n = ft(this.message, r), i = r + n.length;
2822
2820
  this.bumpTo(i);
2823
- var s = this.clonePosition(), o = v(t, s);
2824
- return { value: r, location: o };
2825
- }, e.prototype.parseArgumentOptions = function(t, n, r, i) {
2826
- var s, o = this.clonePosition(), a = this.parseIdentifierIfPossible().value, u = this.clonePosition();
2821
+ var o = this.clonePosition(), s = _(t, o);
2822
+ return { value: n, location: s };
2823
+ }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
2824
+ var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, u = this.clonePosition();
2827
2825
  switch (a) {
2828
2826
  case "":
2829
- return this.error(y.EXPECT_ARGUMENT_TYPE, v(o, u));
2827
+ return this.error(y.EXPECT_ARGUMENT_TYPE, _(s, u));
2830
2828
  case "number":
2831
2829
  case "date":
2832
2830
  case "time": {
@@ -2837,37 +2835,37 @@ var Mi = (
2837
2835
  var c = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
2838
2836
  if (d.err)
2839
2837
  return d;
2840
- var f = Oi(d.val);
2838
+ var f = Ni(d.val);
2841
2839
  if (f.length === 0)
2842
- return this.error(y.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
2843
- var p = v(c, this.clonePosition());
2840
+ return this.error(y.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
2841
+ var p = _(c, this.clonePosition());
2844
2842
  l = { style: f, styleLocation: p };
2845
2843
  }
2846
2844
  var g = this.tryParseArgumentClose(i);
2847
2845
  if (g.err)
2848
2846
  return g;
2849
- var b = v(i, this.clonePosition());
2850
- if (l && jt(l?.style, "::", 0)) {
2851
- var A = Ci(l.style.slice(2));
2847
+ var b = _(i, this.clonePosition());
2848
+ if (l && Xt(l?.style, "::", 0)) {
2849
+ var A = Ii(l.style.slice(2));
2852
2850
  if (a === "number") {
2853
2851
  var d = this.parseNumberSkeletonFromString(A, l.styleLocation);
2854
2852
  return d.err ? d : {
2855
- val: { type: H.number, value: r, location: b, style: d.val },
2853
+ val: { type: H.number, value: n, location: b, style: d.val },
2856
2854
  err: null
2857
2855
  };
2858
2856
  } else {
2859
2857
  if (A.length === 0)
2860
2858
  return this.error(y.EXPECT_DATE_TIME_SKELETON, b);
2861
2859
  var O = A;
2862
- this.locale && (O = gi(A, this.locale));
2860
+ this.locale && (O = _i(A, this.locale));
2863
2861
  var f = {
2864
2862
  type: le.dateTime,
2865
2863
  pattern: O,
2866
2864
  location: l.styleLocation,
2867
- parsedOptions: this.shouldParseSkeletons ? hi(O) : {}
2865
+ parsedOptions: this.shouldParseSkeletons ? di(O) : {}
2868
2866
  }, M = a === "date" ? H.date : H.time;
2869
2867
  return {
2870
- val: { type: M, value: r, location: b, style: f },
2868
+ val: { type: M, value: n, location: b, style: f },
2871
2869
  err: null
2872
2870
  };
2873
2871
  }
@@ -2875,9 +2873,9 @@ var Mi = (
2875
2873
  return {
2876
2874
  val: {
2877
2875
  type: a === "number" ? H.number : a === "date" ? H.date : H.time,
2878
- value: r,
2876
+ value: n,
2879
2877
  location: b,
2880
- style: (s = l?.style) !== null && s !== void 0 ? s : null
2878
+ style: (o = l?.style) !== null && o !== void 0 ? o : null
2881
2879
  },
2882
2880
  err: null
2883
2881
  };
@@ -2887,38 +2885,38 @@ var Mi = (
2887
2885
  case "select": {
2888
2886
  var B = this.clonePosition();
2889
2887
  if (this.bumpSpace(), !this.bumpIf(","))
2890
- return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, v(B, x({}, B)));
2888
+ return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, _(B, x({}, B)));
2891
2889
  this.bumpSpace();
2892
2890
  var P = this.parseIdentifierIfPossible(), E = 0;
2893
2891
  if (a !== "select" && P.value === "offset") {
2894
2892
  if (!this.bumpIf(":"))
2895
- return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
2893
+ return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
2896
2894
  this.bumpSpace();
2897
2895
  var d = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2898
2896
  if (d.err)
2899
2897
  return d;
2900
2898
  this.bumpSpace(), P = this.parseIdentifierIfPossible(), E = d.val;
2901
2899
  }
2902
- var F = this.tryParsePluralOrSelectOptions(t, a, n, P);
2900
+ var F = this.tryParsePluralOrSelectOptions(t, a, r, P);
2903
2901
  if (F.err)
2904
2902
  return F;
2905
2903
  var g = this.tryParseArgumentClose(i);
2906
2904
  if (g.err)
2907
2905
  return g;
2908
- var R = v(i, this.clonePosition());
2906
+ var R = _(i, this.clonePosition());
2909
2907
  return a === "select" ? {
2910
2908
  val: {
2911
2909
  type: H.select,
2912
- value: r,
2913
- options: $t(F.val),
2910
+ value: n,
2911
+ options: zt(F.val),
2914
2912
  location: R
2915
2913
  },
2916
2914
  err: null
2917
2915
  } : {
2918
2916
  val: {
2919
2917
  type: H.plural,
2920
- value: r,
2921
- options: $t(F.val),
2918
+ value: n,
2919
+ options: zt(F.val),
2922
2920
  offset: E,
2923
2921
  pluralType: a === "plural" ? "cardinal" : "ordinal",
2924
2922
  location: R
@@ -2927,19 +2925,19 @@ var Mi = (
2927
2925
  };
2928
2926
  }
2929
2927
  default:
2930
- return this.error(y.INVALID_ARGUMENT_TYPE, v(o, u));
2928
+ return this.error(y.INVALID_ARGUMENT_TYPE, _(s, u));
2931
2929
  }
2932
2930
  }, e.prototype.tryParseArgumentClose = function(t) {
2933
- return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2931
+ return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2934
2932
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
2935
- for (var t = 0, n = this.clonePosition(); !this.isEOF(); ) {
2936
- var r = this.char();
2937
- switch (r) {
2933
+ for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
2934
+ var n = this.char();
2935
+ switch (n) {
2938
2936
  case 39: {
2939
2937
  this.bump();
2940
2938
  var i = this.clonePosition();
2941
2939
  if (!this.bumpUntil("'"))
2942
- return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, v(i, this.clonePosition()));
2940
+ return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, _(i, this.clonePosition()));
2943
2941
  this.bump();
2944
2942
  break;
2945
2943
  }
@@ -2952,7 +2950,7 @@ var Mi = (
2952
2950
  t -= 1;
2953
2951
  else
2954
2952
  return {
2955
- val: this.message.slice(n.offset, this.offset()),
2953
+ val: this.message.slice(r.offset, this.offset()),
2956
2954
  err: null
2957
2955
  };
2958
2956
  break;
@@ -2963,44 +2961,44 @@ var Mi = (
2963
2961
  }
2964
2962
  }
2965
2963
  return {
2966
- val: this.message.slice(n.offset, this.offset()),
2964
+ val: this.message.slice(r.offset, this.offset()),
2967
2965
  err: null
2968
2966
  };
2969
- }, e.prototype.parseNumberSkeletonFromString = function(t, n) {
2970
- var r = [];
2967
+ }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2968
+ var n = [];
2971
2969
  try {
2972
- r = fi(t);
2970
+ n = pi(t);
2973
2971
  } catch {
2974
- return this.error(y.INVALID_NUMBER_SKELETON, n);
2972
+ return this.error(y.INVALID_NUMBER_SKELETON, r);
2975
2973
  }
2976
2974
  return {
2977
2975
  val: {
2978
2976
  type: le.number,
2979
- tokens: r,
2980
- location: n,
2981
- parsedOptions: this.shouldParseSkeletons ? bi(r) : {}
2977
+ tokens: n,
2978
+ location: r,
2979
+ parsedOptions: this.shouldParseSkeletons ? vi(n) : {}
2982
2980
  },
2983
2981
  err: null
2984
2982
  };
2985
- }, e.prototype.tryParsePluralOrSelectOptions = function(t, n, r, i) {
2986
- for (var s, o = !1, a = [], u = /* @__PURE__ */ new Set(), l = i.value, c = i.location; ; ) {
2983
+ }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
2984
+ for (var o, s = !1, a = [], u = /* @__PURE__ */ new Set(), l = i.value, c = i.location; ; ) {
2987
2985
  if (l.length === 0) {
2988
2986
  var d = this.clonePosition();
2989
- if (n !== "select" && this.bumpIf("=")) {
2987
+ if (r !== "select" && this.bumpIf("=")) {
2990
2988
  var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
2991
2989
  if (f.err)
2992
2990
  return f;
2993
- c = v(d, this.clonePosition()), l = this.message.slice(d.offset, this.offset());
2991
+ c = _(d, this.clonePosition()), l = this.message.slice(d.offset, this.offset());
2994
2992
  } else
2995
2993
  break;
2996
2994
  }
2997
2995
  if (u.has(l))
2998
- return this.error(n === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
2999
- l === "other" && (o = !0), this.bumpSpace();
2996
+ return this.error(r === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
2997
+ l === "other" && (s = !0), this.bumpSpace();
3000
2998
  var p = this.clonePosition();
3001
2999
  if (!this.bumpIf("{"))
3002
- return this.error(n === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
3003
- var g = this.parseMessage(t + 1, n, r);
3000
+ return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
3001
+ var g = this.parseMessage(t + 1, r, n);
3004
3002
  if (g.err)
3005
3003
  return g;
3006
3004
  var b = this.tryParseArgumentClose(p);
@@ -3010,23 +3008,23 @@ var Mi = (
3010
3008
  l,
3011
3009
  {
3012
3010
  value: g.val,
3013
- location: v(p, this.clonePosition())
3011
+ location: _(p, this.clonePosition())
3014
3012
  }
3015
- ]), u.add(l), this.bumpSpace(), s = this.parseIdentifierIfPossible(), l = s.value, c = s.location;
3013
+ ]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, c = o.location;
3016
3014
  }
3017
- return a.length === 0 ? this.error(n === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, v(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(y.MISSING_OTHER_CLAUSE, v(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3018
- }, e.prototype.tryParseDecimalInteger = function(t, n) {
3019
- var r = 1, i = this.clonePosition();
3020
- this.bumpIf("+") || this.bumpIf("-") && (r = -1);
3021
- for (var s = !1, o = 0; !this.isEOF(); ) {
3015
+ return a.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, _(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(y.MISSING_OTHER_CLAUSE, _(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3016
+ }, e.prototype.tryParseDecimalInteger = function(t, r) {
3017
+ var n = 1, i = this.clonePosition();
3018
+ this.bumpIf("+") || this.bumpIf("-") && (n = -1);
3019
+ for (var o = !1, s = 0; !this.isEOF(); ) {
3022
3020
  var a = this.char();
3023
3021
  if (a >= 48 && a <= 57)
3024
- s = !0, o = o * 10 + (a - 48), this.bump();
3022
+ o = !0, s = s * 10 + (a - 48), this.bump();
3025
3023
  else
3026
3024
  break;
3027
3025
  }
3028
- var u = v(i, this.clonePosition());
3029
- return s ? (o *= r, Ai(o) ? { val: o, err: null } : this.error(n, u)) : this.error(t, u);
3026
+ var u = _(i, this.clonePosition());
3027
+ return o ? (s *= n, Oi(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3030
3028
  }, e.prototype.offset = function() {
3031
3029
  return this.position.offset;
3032
3030
  }, e.prototype.isEOF = function() {
@@ -3041,17 +3039,17 @@ var Mi = (
3041
3039
  var t = this.position.offset;
3042
3040
  if (t >= this.message.length)
3043
3041
  throw Error("out of bound");
3044
- var n = Ln(this.message, t);
3045
- if (n === void 0)
3042
+ var r = Wr(this.message, t);
3043
+ if (r === void 0)
3046
3044
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3047
- return n;
3048
- }, e.prototype.error = function(t, n) {
3045
+ return r;
3046
+ }, e.prototype.error = function(t, r) {
3049
3047
  return {
3050
3048
  val: null,
3051
3049
  err: {
3052
3050
  kind: t,
3053
3051
  message: this.message,
3054
- location: n
3052
+ location: r
3055
3053
  }
3056
3054
  };
3057
3055
  }, e.prototype.bump = function() {
@@ -3060,70 +3058,70 @@ var Mi = (
3060
3058
  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);
3061
3059
  }
3062
3060
  }, e.prototype.bumpIf = function(t) {
3063
- if (jt(this.message, t, this.offset())) {
3064
- for (var n = 0; n < t.length; n++)
3061
+ if (Xt(this.message, t, this.offset())) {
3062
+ for (var r = 0; r < t.length; r++)
3065
3063
  this.bump();
3066
3064
  return !0;
3067
3065
  }
3068
3066
  return !1;
3069
3067
  }, e.prototype.bumpUntil = function(t) {
3070
- var n = this.offset(), r = this.message.indexOf(t, n);
3071
- return r >= 0 ? (this.bumpTo(r), !0) : (this.bumpTo(this.message.length), !1);
3068
+ var r = this.offset(), n = this.message.indexOf(t, r);
3069
+ return n >= 0 ? (this.bumpTo(n), !0) : (this.bumpTo(this.message.length), !1);
3072
3070
  }, e.prototype.bumpTo = function(t) {
3073
3071
  if (this.offset() > t)
3074
3072
  throw Error("targetOffset ".concat(t, " must be greater than or equal to the current offset ").concat(this.offset()));
3075
3073
  for (t = Math.min(t, this.message.length); ; ) {
3076
- var n = this.offset();
3077
- if (n === t)
3074
+ var r = this.offset();
3075
+ if (r === t)
3078
3076
  break;
3079
- if (n > t)
3077
+ if (r > t)
3080
3078
  throw Error("targetOffset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3081
3079
  if (this.bump(), this.isEOF())
3082
3080
  break;
3083
3081
  }
3084
3082
  }, e.prototype.bumpSpace = function() {
3085
- for (; !this.isEOF() && Wn(this.char()); )
3083
+ for (; !this.isEOF() && Fr(this.char()); )
3086
3084
  this.bump();
3087
3085
  }, e.prototype.peek = function() {
3088
3086
  if (this.isEOF())
3089
3087
  return null;
3090
- var t = this.char(), n = this.offset(), r = this.message.charCodeAt(n + (t >= 65536 ? 2 : 1));
3091
- return r ?? null;
3088
+ var t = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
3089
+ return n ?? null;
3092
3090
  }, e;
3093
3091
  }()
3094
3092
  );
3095
- function ft(e) {
3093
+ function dt(e) {
3096
3094
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3097
3095
  }
3098
- function Ni(e) {
3099
- return ft(e) || e === 47;
3096
+ function Ri(e) {
3097
+ return dt(e) || e === 47;
3100
3098
  }
3101
- function Ii(e) {
3099
+ function Wi(e) {
3102
3100
  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;
3103
3101
  }
3104
- function Wn(e) {
3102
+ function Fr(e) {
3105
3103
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3106
3104
  }
3107
- function Li(e) {
3105
+ function Ui(e) {
3108
3106
  return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
3109
3107
  }
3110
- function dt(e) {
3108
+ function mt(e) {
3111
3109
  e.forEach(function(t) {
3112
- if (delete t.location, Hn(t) || An(t))
3113
- for (var n in t.options)
3114
- delete t.options[n].location, dt(t.options[n].value);
3110
+ if (delete t.location, Pr(t) || Cr(t))
3111
+ for (var r in t.options)
3112
+ delete t.options[r].location, mt(t.options[r].value);
3115
3113
  else
3116
- Sn(t) && Cn(t.style) || (Tn(t) || Bn(t)) && ut(t.style) ? delete t.style.location : Pn(t) && dt(t.children);
3114
+ Br(t) && Mr(t.style) || (Hr(t) || Ar(t)) && lt(t.style) ? delete t.style.location : Or(t) && mt(t.children);
3117
3115
  });
3118
3116
  }
3119
- function Ri(e, t) {
3117
+ function Fi(e, t) {
3120
3118
  t === void 0 && (t = {}), t = x({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3121
- var n = new Mi(e, t).parse();
3122
- if (n.err) {
3123
- var r = SyntaxError(y[n.err.kind]);
3124
- throw r.location = n.err.location, r.originalMessage = n.err.message, r;
3119
+ var r = new Li(e, t).parse();
3120
+ if (r.err) {
3121
+ var n = SyntaxError(y[r.err.kind]);
3122
+ throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3125
3123
  }
3126
- return t?.captureLocation || dt(n.val), n.val;
3124
+ return t?.captureLocation || mt(r.val), r.val;
3127
3125
  }
3128
3126
  var he;
3129
3127
  (function(e) {
@@ -3133,38 +3131,38 @@ var Fe = (
3133
3131
  /** @class */
3134
3132
  function(e) {
3135
3133
  J(t, e);
3136
- function t(n, r, i) {
3137
- var s = e.call(this, n) || this;
3138
- return s.code = r, s.originalMessage = i, s;
3134
+ function t(r, n, i) {
3135
+ var o = e.call(this, r) || this;
3136
+ return o.code = n, o.originalMessage = i, o;
3139
3137
  }
3140
3138
  return t.prototype.toString = function() {
3141
3139
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3142
3140
  }, t;
3143
3141
  }(Error)
3144
- ), Xt = (
3142
+ ), Qt = (
3145
3143
  /** @class */
3146
3144
  function(e) {
3147
3145
  J(t, e);
3148
- function t(n, r, i, s) {
3149
- return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'), he.INVALID_VALUE, s) || this;
3146
+ function t(r, n, i, o) {
3147
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), he.INVALID_VALUE, o) || this;
3150
3148
  }
3151
3149
  return t;
3152
3150
  }(Fe)
3153
- ), Wi = (
3151
+ ), Gi = (
3154
3152
  /** @class */
3155
3153
  function(e) {
3156
3154
  J(t, e);
3157
- function t(n, r, i) {
3158
- return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), he.INVALID_VALUE, i) || this;
3155
+ function t(r, n, i) {
3156
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), he.INVALID_VALUE, i) || this;
3159
3157
  }
3160
3158
  return t;
3161
3159
  }(Fe)
3162
- ), Ui = (
3160
+ ), Di = (
3163
3161
  /** @class */
3164
3162
  function(e) {
3165
3163
  J(t, e);
3166
- function t(n, r) {
3167
- return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), he.MISSING_VALUE, r) || this;
3164
+ function t(r, n) {
3165
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), he.MISSING_VALUE, n) || this;
3168
3166
  }
3169
3167
  return t;
3170
3168
  }(Fe)
@@ -3172,17 +3170,17 @@ var Fe = (
3172
3170
  (function(e) {
3173
3171
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3174
3172
  })(D || (D = {}));
3175
- function Fi(e) {
3176
- return e.length < 2 ? e : e.reduce(function(t, n) {
3177
- var r = t[t.length - 1];
3178
- return !r || r.type !== D.literal || n.type !== D.literal ? t.push(n) : r.value += n.value, t;
3173
+ function ki(e) {
3174
+ return e.length < 2 ? e : e.reduce(function(t, r) {
3175
+ var n = t[t.length - 1];
3176
+ return !n || n.type !== D.literal || r.type !== D.literal ? t.push(r) : n.value += r.value, t;
3179
3177
  }, []);
3180
3178
  }
3181
- function Gi(e) {
3179
+ function ji(e) {
3182
3180
  return typeof e == "function";
3183
3181
  }
3184
- function Me(e, t, n, r, i, s, o) {
3185
- if (e.length === 1 && Ft(e[0]))
3182
+ function Me(e, t, r, n, i, o, s) {
3183
+ if (e.length === 1 && kt(e[0]))
3186
3184
  return [
3187
3185
  {
3188
3186
  type: D.literal,
@@ -3191,60 +3189,60 @@ function Me(e, t, n, r, i, s, o) {
3191
3189
  ];
3192
3190
  for (var a = [], u = 0, l = e; u < l.length; u++) {
3193
3191
  var c = l[u];
3194
- if (Ft(c)) {
3192
+ if (kt(c)) {
3195
3193
  a.push({
3196
3194
  type: D.literal,
3197
3195
  value: c.value
3198
3196
  });
3199
3197
  continue;
3200
3198
  }
3201
- if (ui(c)) {
3202
- typeof s == "number" && a.push({
3199
+ if (ci(c)) {
3200
+ typeof o == "number" && a.push({
3203
3201
  type: D.literal,
3204
- value: n.getNumberFormat(t).format(s)
3202
+ value: r.getNumberFormat(t).format(o)
3205
3203
  });
3206
3204
  continue;
3207
3205
  }
3208
3206
  var d = c.value;
3209
3207
  if (!(i && d in i))
3210
- throw new Ui(d, o);
3208
+ throw new Di(d, s);
3211
3209
  var f = i[d];
3212
- if (ai(c)) {
3210
+ if (hi(c)) {
3213
3211
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3214
3212
  type: typeof f == "string" ? D.literal : D.object,
3215
3213
  value: f
3216
3214
  });
3217
3215
  continue;
3218
3216
  }
3219
- if (Tn(c)) {
3220
- var p = typeof c.style == "string" ? r.date[c.style] : ut(c.style) ? c.style.parsedOptions : void 0;
3217
+ if (Hr(c)) {
3218
+ var p = typeof c.style == "string" ? n.date[c.style] : lt(c.style) ? c.style.parsedOptions : void 0;
3221
3219
  a.push({
3222
3220
  type: D.literal,
3223
- value: n.getDateTimeFormat(t, p).format(f)
3221
+ value: r.getDateTimeFormat(t, p).format(f)
3224
3222
  });
3225
3223
  continue;
3226
3224
  }
3227
- if (Bn(c)) {
3228
- var p = typeof c.style == "string" ? r.time[c.style] : ut(c.style) ? c.style.parsedOptions : r.time.medium;
3225
+ if (Ar(c)) {
3226
+ var p = typeof c.style == "string" ? n.time[c.style] : lt(c.style) ? c.style.parsedOptions : n.time.medium;
3229
3227
  a.push({
3230
3228
  type: D.literal,
3231
- value: n.getDateTimeFormat(t, p).format(f)
3229
+ value: r.getDateTimeFormat(t, p).format(f)
3232
3230
  });
3233
3231
  continue;
3234
3232
  }
3235
- if (Sn(c)) {
3236
- var p = typeof c.style == "string" ? r.number[c.style] : Cn(c.style) ? c.style.parsedOptions : void 0;
3233
+ if (Br(c)) {
3234
+ var p = typeof c.style == "string" ? n.number[c.style] : Mr(c.style) ? c.style.parsedOptions : void 0;
3237
3235
  p && p.scale && (f = f * (p.scale || 1)), a.push({
3238
3236
  type: D.literal,
3239
- value: n.getNumberFormat(t, p).format(f)
3237
+ value: r.getNumberFormat(t, p).format(f)
3240
3238
  });
3241
3239
  continue;
3242
3240
  }
3243
- if (Pn(c)) {
3241
+ if (Or(c)) {
3244
3242
  var g = c.children, b = c.value, A = i[b];
3245
- if (!Gi(A))
3246
- throw new Wi(b, "function", o);
3247
- var O = Me(g, t, n, r, i, s), M = A(O.map(function(E) {
3243
+ if (!ji(A))
3244
+ throw new Gi(b, "function", s);
3245
+ var O = Me(g, t, r, n, i, o), M = A(O.map(function(E) {
3248
3246
  return E.value;
3249
3247
  }));
3250
3248
  Array.isArray(M) || (M = [M]), a.push.apply(a, M.map(function(E) {
@@ -3254,39 +3252,39 @@ function Me(e, t, n, r, i, s, o) {
3254
3252
  };
3255
3253
  }));
3256
3254
  }
3257
- if (Hn(c)) {
3255
+ if (Pr(c)) {
3258
3256
  var B = c.options[f] || c.options.other;
3259
3257
  if (!B)
3260
- throw new Xt(c.value, f, Object.keys(c.options), o);
3261
- a.push.apply(a, Me(B.value, t, n, r, i));
3258
+ throw new Qt(c.value, f, Object.keys(c.options), s);
3259
+ a.push.apply(a, Me(B.value, t, r, n, i));
3262
3260
  continue;
3263
3261
  }
3264
- if (An(c)) {
3262
+ if (Cr(c)) {
3265
3263
  var B = c.options["=".concat(f)];
3266
3264
  if (!B) {
3267
3265
  if (!Intl.PluralRules)
3268
3266
  throw new Fe(`Intl.PluralRules is not available in this environment.
3269
3267
  Try polyfilling it using "@formatjs/intl-pluralrules"
3270
- `, he.MISSING_INTL_API, o);
3271
- var P = n.getPluralRules(t, { type: c.pluralType }).select(f - (c.offset || 0));
3268
+ `, he.MISSING_INTL_API, s);
3269
+ var P = r.getPluralRules(t, { type: c.pluralType }).select(f - (c.offset || 0));
3272
3270
  B = c.options[P] || c.options.other;
3273
3271
  }
3274
3272
  if (!B)
3275
- throw new Xt(c.value, f, Object.keys(c.options), o);
3276
- a.push.apply(a, Me(B.value, t, n, r, i, f - (c.offset || 0)));
3273
+ throw new Qt(c.value, f, Object.keys(c.options), s);
3274
+ a.push.apply(a, Me(B.value, t, r, n, i, f - (c.offset || 0)));
3277
3275
  continue;
3278
3276
  }
3279
3277
  }
3280
- return Fi(a);
3278
+ return ki(a);
3281
3279
  }
3282
- function Di(e, t) {
3283
- return t ? x(x(x({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
3284
- return n[r] = x(x({}, e[r]), t[r] || {}), n;
3280
+ function $i(e, t) {
3281
+ return t ? x(x(x({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3282
+ return r[n] = x(x({}, e[n]), t[n] || {}), r;
3285
3283
  }, {})) : e;
3286
3284
  }
3287
- function ki(e, t) {
3288
- return t ? Object.keys(e).reduce(function(n, r) {
3289
- return n[r] = Di(e[r], t[r]), n;
3285
+ function Vi(e, t) {
3286
+ return t ? Object.keys(e).reduce(function(r, n) {
3287
+ return r[n] = $i(e[n], t[n]), r;
3290
3288
  }, x({}, e)) : e;
3291
3289
  }
3292
3290
  function et(e) {
@@ -3296,57 +3294,57 @@ function et(e) {
3296
3294
  get: function(t) {
3297
3295
  return e[t];
3298
3296
  },
3299
- set: function(t, n) {
3300
- e[t] = n;
3297
+ set: function(t, r) {
3298
+ e[t] = r;
3301
3299
  }
3302
3300
  };
3303
3301
  }
3304
3302
  };
3305
3303
  }
3306
- function ji(e) {
3304
+ function Xi(e) {
3307
3305
  return e === void 0 && (e = {
3308
3306
  number: {},
3309
3307
  dateTime: {},
3310
3308
  pluralRules: {}
3311
3309
  }), {
3312
3310
  getNumberFormat: qe(function() {
3313
- for (var t, n = [], r = 0; r < arguments.length; r++)
3314
- n[r] = arguments[r];
3315
- return new ((t = Intl.NumberFormat).bind.apply(t, ae([void 0], n, !1)))();
3311
+ for (var t, r = [], n = 0; n < arguments.length; n++)
3312
+ r[n] = arguments[n];
3313
+ return new ((t = Intl.NumberFormat).bind.apply(t, ae([void 0], r, !1)))();
3316
3314
  }, {
3317
3315
  cache: et(e.number),
3318
3316
  strategy: Ye.variadic
3319
3317
  }),
3320
3318
  getDateTimeFormat: qe(function() {
3321
- for (var t, n = [], r = 0; r < arguments.length; r++)
3322
- n[r] = arguments[r];
3323
- return new ((t = Intl.DateTimeFormat).bind.apply(t, ae([void 0], n, !1)))();
3319
+ for (var t, r = [], n = 0; n < arguments.length; n++)
3320
+ r[n] = arguments[n];
3321
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, ae([void 0], r, !1)))();
3324
3322
  }, {
3325
3323
  cache: et(e.dateTime),
3326
3324
  strategy: Ye.variadic
3327
3325
  }),
3328
3326
  getPluralRules: qe(function() {
3329
- for (var t, n = [], r = 0; r < arguments.length; r++)
3330
- n[r] = arguments[r];
3331
- return new ((t = Intl.PluralRules).bind.apply(t, ae([void 0], n, !1)))();
3327
+ for (var t, r = [], n = 0; n < arguments.length; n++)
3328
+ r[n] = arguments[n];
3329
+ return new ((t = Intl.PluralRules).bind.apply(t, ae([void 0], r, !1)))();
3332
3330
  }, {
3333
3331
  cache: et(e.pluralRules),
3334
3332
  strategy: Ye.variadic
3335
3333
  })
3336
3334
  };
3337
3335
  }
3338
- var $i = (
3336
+ var zi = (
3339
3337
  /** @class */
3340
3338
  function() {
3341
- function e(t, n, r, i) {
3342
- n === void 0 && (n = e.defaultLocale);
3343
- var s = this;
3339
+ function e(t, r, n, i) {
3340
+ r === void 0 && (r = e.defaultLocale);
3341
+ var o = this;
3344
3342
  if (this.formatterCache = {
3345
3343
  number: {},
3346
3344
  dateTime: {},
3347
3345
  pluralRules: {}
3348
3346
  }, this.format = function(u) {
3349
- var l = s.formatToParts(u);
3347
+ var l = o.formatToParts(u);
3350
3348
  if (l.length === 1)
3351
3349
  return l[0].value;
3352
3350
  var c = l.reduce(function(d, f) {
@@ -3354,26 +3352,26 @@ var $i = (
3354
3352
  }, []);
3355
3353
  return c.length <= 1 ? c[0] || "" : c;
3356
3354
  }, this.formatToParts = function(u) {
3357
- return Me(s.ast, s.locales, s.formatters, s.formats, u, void 0, s.message);
3355
+ return Me(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
3358
3356
  }, this.resolvedOptions = function() {
3359
3357
  var u;
3360
3358
  return {
3361
- locale: ((u = s.resolvedLocale) === null || u === void 0 ? void 0 : u.toString()) || Intl.NumberFormat.supportedLocalesOf(s.locales)[0]
3359
+ locale: ((u = o.resolvedLocale) === null || u === void 0 ? void 0 : u.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
3362
3360
  };
3363
3361
  }, this.getAst = function() {
3364
- return s.ast;
3365
- }, this.locales = n, this.resolvedLocale = e.resolveLocale(n), typeof t == "string") {
3362
+ return o.ast;
3363
+ }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
3366
3364
  if (this.message = t, !e.__parse)
3367
3365
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3368
- var o = i || {};
3369
- o.formatters;
3370
- var a = Kr(o, ["formatters"]);
3366
+ var s = i || {};
3367
+ s.formatters;
3368
+ var a = ni(s, ["formatters"]);
3371
3369
  this.ast = e.__parse(t, x(x({}, a), { locale: this.resolvedLocale }));
3372
3370
  } else
3373
3371
  this.ast = t;
3374
3372
  if (!Array.isArray(this.ast))
3375
3373
  throw new TypeError("A message must be provided as a String or AST.");
3376
- this.formats = ki(e.formats, r), this.formatters = i && i.formatters || ji(this.formatterCache);
3374
+ this.formats = Vi(e.formats, n), this.formatters = i && i.formatters || Xi(this.formatterCache);
3377
3375
  }
3378
3376
  return Object.defineProperty(e, "defaultLocale", {
3379
3377
  get: function() {
@@ -3383,10 +3381,10 @@ var $i = (
3383
3381
  configurable: !0
3384
3382
  }), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
3385
3383
  if (!(typeof Intl.Locale > "u")) {
3386
- var n = Intl.NumberFormat.supportedLocalesOf(t);
3387
- return n.length > 0 ? new Intl.Locale(n[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3384
+ var r = Intl.NumberFormat.supportedLocalesOf(t);
3385
+ return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3388
3386
  }
3389
- }, e.__parse = Ri, e.formats = {
3387
+ }, e.__parse = Fi, e.formats = {
3390
3388
  number: {
3391
3389
  integer: {
3392
3390
  maximumFractionDigits: 0
@@ -3447,113 +3445,113 @@ var $i = (
3447
3445
  }, e;
3448
3446
  }()
3449
3447
  );
3450
- function Vi(e, t) {
3448
+ function Zi(e, t) {
3451
3449
  if (t == null)
3452
3450
  return;
3453
3451
  if (t in e)
3454
3452
  return e[t];
3455
- const n = t.split(".");
3456
- let r = e;
3457
- for (let i = 0; i < n.length; i++)
3458
- if (typeof r == "object") {
3453
+ const r = t.split(".");
3454
+ let n = e;
3455
+ for (let i = 0; i < r.length; i++)
3456
+ if (typeof n == "object") {
3459
3457
  if (i > 0) {
3460
- const s = n.slice(i, n.length).join(".");
3461
- if (s in r) {
3462
- r = r[s];
3458
+ const o = r.slice(i, r.length).join(".");
3459
+ if (o in n) {
3460
+ n = n[o];
3463
3461
  break;
3464
3462
  }
3465
3463
  }
3466
- r = r[n[i]];
3464
+ n = n[r[i]];
3467
3465
  } else
3468
- r = void 0;
3469
- return r;
3466
+ n = void 0;
3467
+ return n;
3470
3468
  }
3471
- const K = {}, Xi = (e, t, n) => n && (t in K || (K[t] = {}), e in K[t] || (K[t][e] = n), n), Un = (e, t) => {
3469
+ const K = {}, Qi = (e, t, r) => r && (t in K || (K[t] = {}), e in K[t] || (K[t][e] = r), r), Gr = (e, t) => {
3472
3470
  if (t == null)
3473
3471
  return;
3474
3472
  if (t in K && e in K[t])
3475
3473
  return K[t][e];
3476
- const n = Ge(t);
3477
- for (let r = 0; r < n.length; r++) {
3478
- const i = n[r], s = Zi(i, e);
3479
- if (s)
3480
- return Xi(e, t, s);
3474
+ const r = Ge(t);
3475
+ for (let n = 0; n < r.length; n++) {
3476
+ const i = r[n], o = qi(i, e);
3477
+ if (o)
3478
+ return Qi(e, t, o);
3481
3479
  }
3482
3480
  };
3483
- let Et;
3481
+ let wt;
3484
3482
  const Te = Ue({});
3485
- function zi(e) {
3486
- return Et[e] || null;
3483
+ function Ji(e) {
3484
+ return wt[e] || null;
3487
3485
  }
3488
- function Fn(e) {
3489
- return e in Et;
3486
+ function Dr(e) {
3487
+ return e in wt;
3490
3488
  }
3491
- function Zi(e, t) {
3492
- if (!Fn(e))
3489
+ function qi(e, t) {
3490
+ if (!Dr(e))
3493
3491
  return null;
3494
- const n = zi(e);
3495
- return Vi(n, t);
3492
+ const r = Ji(e);
3493
+ return Zi(r, t);
3496
3494
  }
3497
- function Qi(e) {
3495
+ function Yi(e) {
3498
3496
  if (e == null)
3499
3497
  return;
3500
3498
  const t = Ge(e);
3501
- for (let n = 0; n < t.length; n++) {
3502
- const r = t[n];
3503
- if (Fn(r))
3504
- return r;
3499
+ for (let r = 0; r < t.length; r++) {
3500
+ const n = t[r];
3501
+ if (Dr(n))
3502
+ return n;
3505
3503
  }
3506
3504
  }
3507
- function Gn(e, ...t) {
3508
- delete K[e], Te.update((n) => (n[e] = Yr.all([n[e] || {}, ...t]), n));
3505
+ function kr(e, ...t) {
3506
+ delete K[e], Te.update((r) => (r[e] = ri.all([r[e] || {}, ...t]), r));
3509
3507
  }
3510
3508
  de(
3511
3509
  [Te],
3512
3510
  ([e]) => Object.keys(e)
3513
3511
  );
3514
- Te.subscribe((e) => Et = e);
3515
- const Ne = {};
3516
- function Ji(e, t) {
3517
- Ne[e].delete(t), Ne[e].size === 0 && delete Ne[e];
3512
+ Te.subscribe((e) => wt = e);
3513
+ const Ie = {};
3514
+ function Ki(e, t) {
3515
+ Ie[e].delete(t), Ie[e].size === 0 && delete Ie[e];
3518
3516
  }
3519
- function Dn(e) {
3520
- return Ne[e];
3517
+ function jr(e) {
3518
+ return Ie[e];
3521
3519
  }
3522
- function qi(e) {
3520
+ function eo(e) {
3523
3521
  return Ge(e).map((t) => {
3524
- const n = Dn(t);
3525
- return [t, n ? [...n] : []];
3522
+ const r = jr(t);
3523
+ return [t, r ? [...r] : []];
3526
3524
  }).filter(([, t]) => t.length > 0);
3527
3525
  }
3528
- function mt(e) {
3526
+ function pt(e) {
3529
3527
  return e == null ? !1 : Ge(e).some(
3530
3528
  (t) => {
3531
- var n;
3532
- return (n = Dn(t)) == null ? void 0 : n.size;
3529
+ var r;
3530
+ return (r = jr(t)) == null ? void 0 : r.size;
3533
3531
  }
3534
3532
  );
3535
3533
  }
3536
- function Yi(e, t) {
3534
+ function to(e, t) {
3537
3535
  return Promise.all(
3538
- t.map((r) => (Ji(e, r), r().then((i) => i.default || i)))
3539
- ).then((r) => Gn(e, ...r));
3536
+ t.map((n) => (Ki(e, n), n().then((i) => i.default || i)))
3537
+ ).then((n) => kr(e, ...n));
3540
3538
  }
3541
3539
  const ye = {};
3542
- function kn(e) {
3543
- if (!mt(e))
3540
+ function $r(e) {
3541
+ if (!pt(e))
3544
3542
  return e in ye ? ye[e] : Promise.resolve();
3545
- const t = qi(e);
3543
+ const t = eo(e);
3546
3544
  return ye[e] = Promise.all(
3547
3545
  t.map(
3548
- ([n, r]) => Yi(n, r)
3546
+ ([r, n]) => to(r, n)
3549
3547
  )
3550
3548
  ).then(() => {
3551
- if (mt(e))
3552
- return kn(e);
3549
+ if (pt(e))
3550
+ return $r(e);
3553
3551
  delete ye[e];
3554
3552
  }), ye[e];
3555
3553
  }
3556
- const Ki = {
3554
+ const ro = {
3557
3555
  number: {
3558
3556
  scientific: { notation: "scientific" },
3559
3557
  engineering: { notation: "engineering" },
@@ -3582,150 +3580,150 @@ const Ki = {
3582
3580
  timeZoneName: "short"
3583
3581
  }
3584
3582
  }
3585
- }, es = {
3583
+ }, no = {
3586
3584
  fallbackLocale: null,
3587
3585
  loadingDelay: 200,
3588
- formats: Ki,
3586
+ formats: ro,
3589
3587
  warnOnMissingMessages: !0,
3590
3588
  handleMissingMessage: void 0,
3591
3589
  ignoreTag: !0
3592
- }, ts = es;
3590
+ }, io = no;
3593
3591
  function ce() {
3594
- return ts;
3592
+ return io;
3595
3593
  }
3596
3594
  const tt = Ue(!1);
3597
- var ns = Object.defineProperty, rs = Object.defineProperties, is = Object.getOwnPropertyDescriptors, zt = Object.getOwnPropertySymbols, ss = Object.prototype.hasOwnProperty, os = Object.prototype.propertyIsEnumerable, Zt = (e, t, n) => t in e ? ns(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, as = (e, t) => {
3598
- for (var n in t)
3599
- ss.call(t, n) && Zt(e, n, t[n]);
3600
- if (zt)
3601
- for (var n of zt(t))
3602
- os.call(t, n) && Zt(e, n, t[n]);
3595
+ var oo = Object.defineProperty, so = Object.defineProperties, ao = Object.getOwnPropertyDescriptors, Jt = Object.getOwnPropertySymbols, uo = Object.prototype.hasOwnProperty, lo = Object.prototype.propertyIsEnumerable, qt = (e, t, r) => t in e ? oo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ho = (e, t) => {
3596
+ for (var r in t || (t = {}))
3597
+ uo.call(t, r) && qt(e, r, t[r]);
3598
+ if (Jt)
3599
+ for (var r of Jt(t))
3600
+ lo.call(t, r) && qt(e, r, t[r]);
3603
3601
  return e;
3604
- }, us = (e, t) => rs(e, is(t));
3605
- let pt;
3602
+ }, co = (e, t) => so(e, ao(t));
3603
+ let bt;
3606
3604
  const Re = Ue(null);
3607
- function Qt(e) {
3608
- return e.split("-").map((t, n, r) => r.slice(0, n + 1).join("-")).reverse();
3605
+ function Yt(e) {
3606
+ return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3609
3607
  }
3610
3608
  function Ge(e, t = ce().fallbackLocale) {
3611
- const n = Qt(e);
3612
- return t ? [.../* @__PURE__ */ new Set([...n, ...Qt(t)])] : n;
3609
+ const r = Yt(e);
3610
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Yt(t)])] : r;
3613
3611
  }
3614
- function ne() {
3615
- return pt ?? void 0;
3612
+ function re() {
3613
+ return bt ?? void 0;
3616
3614
  }
3617
3615
  Re.subscribe((e) => {
3618
- pt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3616
+ bt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3619
3617
  });
3620
- const ls = (e) => {
3621
- if (e && Qi(e) && mt(e)) {
3618
+ const fo = (e) => {
3619
+ if (e && Yi(e) && pt(e)) {
3622
3620
  const { loadingDelay: t } = ce();
3623
- let n;
3624
- return typeof window < "u" && ne() != null && t ? n = window.setTimeout(
3621
+ let r;
3622
+ return typeof window < "u" && re() != null && t ? r = window.setTimeout(
3625
3623
  () => tt.set(!0),
3626
3624
  t
3627
- ) : tt.set(!0), kn(e).then(() => {
3625
+ ) : tt.set(!0), $r(e).then(() => {
3628
3626
  Re.set(e);
3629
3627
  }).finally(() => {
3630
- clearTimeout(n), tt.set(!1);
3628
+ clearTimeout(r), tt.set(!1);
3631
3629
  });
3632
3630
  }
3633
3631
  return Re.set(e);
3634
- }, me = us(as({}, Re), {
3635
- set: ls
3632
+ }, me = co(ho({}, Re), {
3633
+ set: fo
3636
3634
  }), De = (e) => {
3637
3635
  const t = /* @__PURE__ */ Object.create(null);
3638
- return (r) => {
3639
- const i = JSON.stringify(r);
3640
- return i in t ? t[i] : t[i] = e(r);
3636
+ return (n) => {
3637
+ const i = JSON.stringify(n);
3638
+ return i in t ? t[i] : t[i] = e(n);
3641
3639
  };
3642
3640
  };
3643
- var hs = Object.defineProperty, We = Object.getOwnPropertySymbols, jn = Object.prototype.hasOwnProperty, $n = Object.prototype.propertyIsEnumerable, Jt = (e, t, n) => t in e ? hs(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, xt = (e, t) => {
3644
- for (var n in t || (t = {}))
3645
- jn.call(t, n) && Jt(e, n, t[n]);
3641
+ var mo = Object.defineProperty, We = Object.getOwnPropertySymbols, Vr = Object.prototype.hasOwnProperty, Xr = Object.prototype.propertyIsEnumerable, Kt = (e, t, r) => t in e ? mo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, St = (e, t) => {
3642
+ for (var r in t || (t = {}))
3643
+ Vr.call(t, r) && Kt(e, r, t[r]);
3646
3644
  if (We)
3647
- for (var n of We(t))
3648
- $n.call(t, n) && Jt(e, n, t[n]);
3645
+ for (var r of We(t))
3646
+ Xr.call(t, r) && Kt(e, r, t[r]);
3649
3647
  return e;
3650
3648
  }, pe = (e, t) => {
3651
- var n = {};
3652
- for (var r in e)
3653
- jn.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
3649
+ var r = {};
3650
+ for (var n in e)
3651
+ Vr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3654
3652
  if (e != null && We)
3655
- for (var r of We(e))
3656
- t.indexOf(r) < 0 && $n.call(e, r) && (n[r] = e[r]);
3657
- return n;
3653
+ for (var n of We(e))
3654
+ t.indexOf(n) < 0 && Xr.call(e, n) && (r[n] = e[n]);
3655
+ return r;
3658
3656
  };
3659
3657
  const Se = (e, t) => {
3660
- const { formats: n } = ce();
3661
- if (e in n && t in n[e])
3662
- return n[e][t];
3658
+ const { formats: r } = ce();
3659
+ if (e in r && t in r[e])
3660
+ return r[e][t];
3663
3661
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3664
- }, cs = De(
3662
+ }, po = De(
3665
3663
  (e) => {
3666
- var t = e, { locale: n, format: r } = t, i = pe(t, ["locale", "format"]);
3667
- if (n == null)
3664
+ var t = e, { locale: r, format: n } = t, i = pe(t, ["locale", "format"]);
3665
+ if (r == null)
3668
3666
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3669
- return r && (i = Se("number", r)), new Intl.NumberFormat(n, i);
3667
+ return n && (i = Se("number", n)), new Intl.NumberFormat(r, i);
3670
3668
  }
3671
- ), fs = De(
3669
+ ), bo = De(
3672
3670
  (e) => {
3673
- var t = e, { locale: n, format: r } = t, i = pe(t, ["locale", "format"]);
3674
- if (n == null)
3671
+ var t = e, { locale: r, format: n } = t, i = pe(t, ["locale", "format"]);
3672
+ if (r == null)
3675
3673
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3676
- return r ? i = Se("date", r) : Object.keys(i).length === 0 && (i = Se("date", "short")), new Intl.DateTimeFormat(n, i);
3674
+ return n ? i = Se("date", n) : Object.keys(i).length === 0 && (i = Se("date", "short")), new Intl.DateTimeFormat(r, i);
3677
3675
  }
3678
- ), ds = De(
3676
+ ), go = De(
3679
3677
  (e) => {
3680
- var t = e, { locale: n, format: r } = t, i = pe(t, ["locale", "format"]);
3681
- if (n == null)
3678
+ var t = e, { locale: r, format: n } = t, i = pe(t, ["locale", "format"]);
3679
+ if (r == null)
3682
3680
  throw new Error(
3683
3681
  '[svelte-i18n] A "locale" must be set to format time values'
3684
3682
  );
3685
- return r ? i = Se("time", r) : Object.keys(i).length === 0 && (i = Se("time", "short")), new Intl.DateTimeFormat(n, i);
3683
+ return n ? i = Se("time", n) : Object.keys(i).length === 0 && (i = Se("time", "short")), new Intl.DateTimeFormat(r, i);
3686
3684
  }
3687
- ), ms = (e = {}) => {
3685
+ ), yo = (e = {}) => {
3688
3686
  var t = e, {
3689
- locale: n = ne()
3690
- } = t, r = pe(t, [
3687
+ locale: r = re()
3688
+ } = t, n = pe(t, [
3691
3689
  "locale"
3692
3690
  ]);
3693
- return cs(xt({ locale: n }, r));
3694
- }, ps = (e = {}) => {
3691
+ return po(St({ locale: r }, n));
3692
+ }, vo = (e = {}) => {
3695
3693
  var t = e, {
3696
- locale: n = ne()
3697
- } = t, r = pe(t, [
3694
+ locale: r = re()
3695
+ } = t, n = pe(t, [
3698
3696
  "locale"
3699
3697
  ]);
3700
- return fs(xt({ locale: n }, r));
3701
- }, bs = (e = {}) => {
3698
+ return bo(St({ locale: r }, n));
3699
+ }, _o = (e = {}) => {
3702
3700
  var t = e, {
3703
- locale: n = ne()
3704
- } = t, r = pe(t, [
3701
+ locale: r = re()
3702
+ } = t, n = pe(t, [
3705
3703
  "locale"
3706
3704
  ]);
3707
- return ds(xt({ locale: n }, r));
3708
- }, gs = De(
3705
+ return go(St({ locale: r }, n));
3706
+ }, Eo = De(
3709
3707
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3710
- (e, t = ne()) => new $i(e, t, ce().formats, {
3708
+ (e, t = re()) => new zi(e, t, ce().formats, {
3711
3709
  ignoreTag: ce().ignoreTag
3712
3710
  })
3713
- ), ys = (e, t = {}) => {
3714
- var n, r, i, s;
3715
- let o = t;
3716
- typeof e == "object" && (o = e, e = o.id);
3711
+ ), xo = (e, t = {}) => {
3712
+ var r, n, i, o;
3713
+ let s = t;
3714
+ typeof e == "object" && (s = e, e = s.id);
3717
3715
  const {
3718
3716
  values: a,
3719
- locale: u = ne(),
3717
+ locale: u = re(),
3720
3718
  default: l
3721
- } = o;
3719
+ } = s;
3722
3720
  if (u == null)
3723
3721
  throw new Error(
3724
3722
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3725
3723
  );
3726
- let c = Un(e, u);
3724
+ let c = Gr(e, u);
3727
3725
  if (!c)
3728
- c = (s = (i = (r = (n = ce()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? s : e;
3726
+ c = (o = (i = (n = (r = ce()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
3729
3727
  else if (typeof c != "string")
3730
3728
  return console.warn(
3731
3729
  `[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.`
@@ -3734,7 +3732,7 @@ const Se = (e, t) => {
3734
3732
  return c;
3735
3733
  let d = c;
3736
3734
  try {
3737
- d = gs(c, u).format(a);
3735
+ d = Eo(c, u).format(a);
3738
3736
  } catch (f) {
3739
3737
  f instanceof Error && console.warn(
3740
3738
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3742,18 +3740,18 @@ const Se = (e, t) => {
3742
3740
  );
3743
3741
  }
3744
3742
  return d;
3745
- }, _s = (e, t) => bs(t).format(e), vs = (e, t) => ps(t).format(e), Es = (e, t) => ms(t).format(e), xs = (e, t = ne()) => Un(e, t), ws = de([me, Te], () => ys);
3746
- de([me], () => _s);
3747
- de([me], () => vs);
3748
- de([me], () => Es);
3749
- de([me, Te], () => xs);
3750
- function qt(e, t) {
3751
- Gn(e, t);
3752
- }
3753
- function Ss(e) {
3743
+ }, wo = (e, t) => _o(t).format(e), So = (e, t) => vo(t).format(e), To = (e, t) => yo(t).format(e), Bo = (e, t = re()) => Gr(e, t), Ho = de([me, Te], () => xo);
3744
+ de([me], () => wo);
3745
+ de([me], () => So);
3746
+ de([me], () => To);
3747
+ de([me, Te], () => Bo);
3748
+ function er(e, t) {
3749
+ kr(e, t);
3750
+ }
3751
+ function Ao(e) {
3754
3752
  me.set(e);
3755
3753
  }
3756
- const Yt = {
3754
+ const tr = {
3757
3755
  en: {
3758
3756
  recentWinners: "Recent Winners",
3759
3757
  topWinners: "Top Winners",
@@ -3872,25 +3870,25 @@ const Yt = {
3872
3870
  function Q(e) {
3873
3871
  return typeof e == "function";
3874
3872
  }
3875
- function Vn(e) {
3876
- var t = function(r) {
3877
- Error.call(r), r.stack = new Error().stack;
3878
- }, n = e(t);
3879
- return n.prototype = Object.create(Error.prototype), n.prototype.constructor = n, n;
3880
- }
3881
- var nt = Vn(function(e) {
3882
- return function(n) {
3883
- e(this), this.message = n ? n.length + ` errors occurred during unsubscription:
3884
- ` + n.map(function(r, i) {
3885
- return i + 1 + ") " + r.toString();
3873
+ function zr(e) {
3874
+ var t = function(n) {
3875
+ Error.call(n), n.stack = new Error().stack;
3876
+ }, r = e(t);
3877
+ return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
3878
+ }
3879
+ var rt = zr(function(e) {
3880
+ return function(r) {
3881
+ e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
3882
+ ` + r.map(function(n, i) {
3883
+ return i + 1 + ") " + n.toString();
3886
3884
  }).join(`
3887
- `) : "", this.name = "UnsubscriptionError", this.errors = n;
3885
+ `) : "", this.name = "UnsubscriptionError", this.errors = r;
3888
3886
  };
3889
3887
  });
3890
- function bt(e, t) {
3888
+ function gt(e, t) {
3891
3889
  if (e) {
3892
- var n = e.indexOf(t);
3893
- 0 <= n && e.splice(n, 1);
3890
+ var r = e.indexOf(t);
3891
+ 0 <= r && e.splice(r, 1);
3894
3892
  }
3895
3893
  }
3896
3894
  var ke = function() {
@@ -3898,14 +3896,14 @@ var ke = function() {
3898
3896
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
3899
3897
  }
3900
3898
  return e.prototype.unsubscribe = function() {
3901
- var t, n, r, i, s;
3899
+ var t, r, n, i, o;
3902
3900
  if (!this.closed) {
3903
3901
  this.closed = !0;
3904
- var o = this._parentage;
3905
- if (o)
3906
- if (this._parentage = null, Array.isArray(o))
3902
+ var s = this._parentage;
3903
+ if (s)
3904
+ if (this._parentage = null, Array.isArray(s))
3907
3905
  try {
3908
- for (var a = ot(o), u = a.next(); !u.done; u = a.next()) {
3906
+ for (var a = at(s), u = a.next(); !u.done; u = a.next()) {
3909
3907
  var l = u.value;
3910
3908
  l.remove(this);
3911
3909
  }
@@ -3913,131 +3911,131 @@ var ke = function() {
3913
3911
  t = { error: b };
3914
3912
  } finally {
3915
3913
  try {
3916
- u && !u.done && (n = a.return) && n.call(a);
3914
+ u && !u.done && (r = a.return) && r.call(a);
3917
3915
  } finally {
3918
3916
  if (t)
3919
3917
  throw t.error;
3920
3918
  }
3921
3919
  }
3922
3920
  else
3923
- o.remove(this);
3921
+ s.remove(this);
3924
3922
  var c = this.initialTeardown;
3925
3923
  if (Q(c))
3926
3924
  try {
3927
3925
  c();
3928
3926
  } catch (b) {
3929
- s = b instanceof nt ? b.errors : [b];
3927
+ o = b instanceof rt ? b.errors : [b];
3930
3928
  }
3931
3929
  var d = this._finalizers;
3932
3930
  if (d) {
3933
3931
  this._finalizers = null;
3934
3932
  try {
3935
- for (var f = ot(d), p = f.next(); !p.done; p = f.next()) {
3933
+ for (var f = at(d), p = f.next(); !p.done; p = f.next()) {
3936
3934
  var g = p.value;
3937
3935
  try {
3938
- Kt(g);
3936
+ rr(g);
3939
3937
  } catch (b) {
3940
- s = s ?? [], b instanceof nt ? s = ae(ae([], at(s)), at(b.errors)) : s.push(b);
3938
+ o = o ?? [], b instanceof rt ? o = ae(ae([], ut(o)), ut(b.errors)) : o.push(b);
3941
3939
  }
3942
3940
  }
3943
3941
  } catch (b) {
3944
- r = { error: b };
3942
+ n = { error: b };
3945
3943
  } finally {
3946
3944
  try {
3947
3945
  p && !p.done && (i = f.return) && i.call(f);
3948
3946
  } finally {
3949
- if (r)
3950
- throw r.error;
3947
+ if (n)
3948
+ throw n.error;
3951
3949
  }
3952
3950
  }
3953
3951
  }
3954
- if (s)
3955
- throw new nt(s);
3952
+ if (o)
3953
+ throw new rt(o);
3956
3954
  }
3957
3955
  }, e.prototype.add = function(t) {
3958
- var n;
3956
+ var r;
3959
3957
  if (t && t !== this)
3960
3958
  if (this.closed)
3961
- Kt(t);
3959
+ rr(t);
3962
3960
  else {
3963
3961
  if (t instanceof e) {
3964
3962
  if (t.closed || t._hasParent(this))
3965
3963
  return;
3966
3964
  t._addParent(this);
3967
3965
  }
3968
- (this._finalizers = (n = this._finalizers) !== null && n !== void 0 ? n : []).push(t);
3966
+ (this._finalizers = (r = this._finalizers) !== null && r !== void 0 ? r : []).push(t);
3969
3967
  }
3970
3968
  }, e.prototype._hasParent = function(t) {
3971
- var n = this._parentage;
3972
- return n === t || Array.isArray(n) && n.includes(t);
3969
+ var r = this._parentage;
3970
+ return r === t || Array.isArray(r) && r.includes(t);
3973
3971
  }, e.prototype._addParent = function(t) {
3974
- var n = this._parentage;
3975
- this._parentage = Array.isArray(n) ? (n.push(t), n) : n ? [n, t] : t;
3972
+ var r = this._parentage;
3973
+ this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
3976
3974
  }, e.prototype._removeParent = function(t) {
3977
- var n = this._parentage;
3978
- n === t ? this._parentage = null : Array.isArray(n) && bt(n, t);
3975
+ var r = this._parentage;
3976
+ r === t ? this._parentage = null : Array.isArray(r) && gt(r, t);
3979
3977
  }, e.prototype.remove = function(t) {
3980
- var n = this._finalizers;
3981
- n && bt(n, t), t instanceof e && t._removeParent(this);
3978
+ var r = this._finalizers;
3979
+ r && gt(r, t), t instanceof e && t._removeParent(this);
3982
3980
  }, e.EMPTY = function() {
3983
3981
  var t = new e();
3984
3982
  return t.closed = !0, t;
3985
3983
  }(), e;
3986
- }(), Xn = ke.EMPTY;
3987
- function zn(e) {
3984
+ }(), Zr = ke.EMPTY;
3985
+ function Qr(e) {
3988
3986
  return e instanceof ke || e && "closed" in e && Q(e.remove) && Q(e.add) && Q(e.unsubscribe);
3989
3987
  }
3990
- function Kt(e) {
3988
+ function rr(e) {
3991
3989
  Q(e) ? e() : e.unsubscribe();
3992
3990
  }
3993
- var Ts = {
3991
+ var Jr = {
3994
3992
  onUnhandledError: null,
3995
3993
  onStoppedNotification: null,
3996
3994
  Promise: void 0,
3997
3995
  useDeprecatedSynchronousErrorHandling: !1,
3998
3996
  useDeprecatedNextContext: !1
3999
- }, Bs = {
3997
+ }, Po = {
4000
3998
  setTimeout: function(e, t) {
4001
- for (var n = [], r = 2; r < arguments.length; r++)
4002
- n[r - 2] = arguments[r];
4003
- return setTimeout.apply(void 0, ae([e, t], at(n)));
3999
+ for (var r = [], n = 2; n < arguments.length; n++)
4000
+ r[n - 2] = arguments[n];
4001
+ return setTimeout.apply(void 0, ae([e, t], ut(r)));
4004
4002
  },
4005
4003
  clearTimeout: function(e) {
4006
4004
  return clearTimeout(e);
4007
4005
  },
4008
4006
  delegate: void 0
4009
4007
  };
4010
- function Hs(e) {
4011
- Bs.setTimeout(function() {
4008
+ function Co(e) {
4009
+ Po.setTimeout(function() {
4012
4010
  throw e;
4013
4011
  });
4014
4012
  }
4015
- function en() {
4013
+ function nr() {
4016
4014
  }
4017
- function Ie(e) {
4015
+ function Ne(e) {
4018
4016
  e();
4019
4017
  }
4020
- var Zn = function(e) {
4018
+ var qr = function(e) {
4021
4019
  J(t, e);
4022
- function t(n) {
4023
- var r = e.call(this) || this;
4024
- return r.isStopped = !1, n ? (r.destination = n, zn(n) && n.add(r)) : r.destination = Cs, r;
4020
+ function t(r) {
4021
+ var n = e.call(this) || this;
4022
+ return n.isStopped = !1, r ? (n.destination = r, Qr(r) && r.add(n)) : n.destination = No, n;
4025
4023
  }
4026
- return t.create = function(n, r, i) {
4027
- return new gt(n, r, i);
4028
- }, t.prototype.next = function(n) {
4029
- this.isStopped || this._next(n);
4030
- }, t.prototype.error = function(n) {
4031
- this.isStopped || (this.isStopped = !0, this._error(n));
4024
+ return t.create = function(r, n, i) {
4025
+ return new yt(r, n, i);
4026
+ }, t.prototype.next = function(r) {
4027
+ this.isStopped || this._next(r);
4028
+ }, t.prototype.error = function(r) {
4029
+ this.isStopped || (this.isStopped = !0, this._error(r));
4032
4030
  }, t.prototype.complete = function() {
4033
4031
  this.isStopped || (this.isStopped = !0, this._complete());
4034
4032
  }, t.prototype.unsubscribe = function() {
4035
4033
  this.closed || (this.isStopped = !0, e.prototype.unsubscribe.call(this), this.destination = null);
4036
- }, t.prototype._next = function(n) {
4037
- this.destination.next(n);
4038
- }, t.prototype._error = function(n) {
4034
+ }, t.prototype._next = function(r) {
4035
+ this.destination.next(r);
4036
+ }, t.prototype._error = function(r) {
4039
4037
  try {
4040
- this.destination.error(n);
4038
+ this.destination.error(r);
4041
4039
  } finally {
4042
4040
  this.unsubscribe();
4043
4041
  }
@@ -4048,25 +4046,29 @@ var Zn = function(e) {
4048
4046
  this.unsubscribe();
4049
4047
  }
4050
4048
  }, t;
4051
- }(ke), As = function() {
4049
+ }(ke), Oo = Function.prototype.bind;
4050
+ function nt(e, t) {
4051
+ return Oo.call(e, t);
4052
+ }
4053
+ var Mo = function() {
4052
4054
  function e(t) {
4053
4055
  this.partialObserver = t;
4054
4056
  }
4055
4057
  return e.prototype.next = function(t) {
4056
- var n = this.partialObserver;
4057
- if (n.next)
4058
+ var r = this.partialObserver;
4059
+ if (r.next)
4058
4060
  try {
4059
- n.next(t);
4060
- } catch (r) {
4061
- Ce(r);
4061
+ r.next(t);
4062
+ } catch (n) {
4063
+ Ce(n);
4062
4064
  }
4063
4065
  }, e.prototype.error = function(t) {
4064
- var n = this.partialObserver;
4065
- if (n.error)
4066
+ var r = this.partialObserver;
4067
+ if (r.error)
4066
4068
  try {
4067
- n.error(t);
4068
- } catch (r) {
4069
- Ce(r);
4069
+ r.error(t);
4070
+ } catch (n) {
4071
+ Ce(n);
4070
4072
  }
4071
4073
  else
4072
4074
  Ce(t);
@@ -4075,148 +4077,160 @@ var Zn = function(e) {
4075
4077
  if (t.complete)
4076
4078
  try {
4077
4079
  t.complete();
4078
- } catch (n) {
4079
- Ce(n);
4080
+ } catch (r) {
4081
+ Ce(r);
4080
4082
  }
4081
4083
  }, e;
4082
- }(), gt = function(e) {
4084
+ }(), yt = function(e) {
4083
4085
  J(t, e);
4084
- function t(n, r, i) {
4085
- var s = e.call(this) || this, o;
4086
- return Q(n) || !n ? o = {
4087
- next: n ?? void 0,
4088
- error: r ?? void 0,
4089
- complete: i ?? void 0
4090
- } : o = n, s.destination = new As(o), s;
4086
+ function t(r, n, i) {
4087
+ var o = e.call(this) || this, s;
4088
+ if (Q(r) || !r)
4089
+ s = {
4090
+ next: r ?? void 0,
4091
+ error: n ?? void 0,
4092
+ complete: i ?? void 0
4093
+ };
4094
+ else {
4095
+ var a;
4096
+ o && Jr.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
4097
+ return o.unsubscribe();
4098
+ }, s = {
4099
+ next: r.next && nt(r.next, a),
4100
+ error: r.error && nt(r.error, a),
4101
+ complete: r.complete && nt(r.complete, a)
4102
+ }) : s = r;
4103
+ }
4104
+ return o.destination = new Mo(s), o;
4091
4105
  }
4092
4106
  return t;
4093
- }(Zn);
4107
+ }(qr);
4094
4108
  function Ce(e) {
4095
- Hs(e);
4109
+ Co(e);
4096
4110
  }
4097
- function Ps(e) {
4111
+ function Io(e) {
4098
4112
  throw e;
4099
4113
  }
4100
- var Cs = {
4114
+ var No = {
4101
4115
  closed: !0,
4102
- next: en,
4103
- error: Ps,
4104
- complete: en
4105
- }, Os = function() {
4116
+ next: nr,
4117
+ error: Io,
4118
+ complete: nr
4119
+ }, Lo = function() {
4106
4120
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
4107
4121
  }();
4108
- function Ms(e) {
4122
+ function Ro(e) {
4109
4123
  return e;
4110
4124
  }
4111
- function Ns(e) {
4112
- return e.length === 0 ? Ms : e.length === 1 ? e[0] : function(n) {
4113
- return e.reduce(function(r, i) {
4114
- return i(r);
4115
- }, n);
4125
+ function Wo(e) {
4126
+ return e.length === 0 ? Ro : e.length === 1 ? e[0] : function(r) {
4127
+ return e.reduce(function(n, i) {
4128
+ return i(n);
4129
+ }, r);
4116
4130
  };
4117
4131
  }
4118
- var tn = function() {
4132
+ var ir = function() {
4119
4133
  function e(t) {
4120
4134
  t && (this._subscribe = t);
4121
4135
  }
4122
4136
  return e.prototype.lift = function(t) {
4123
- var n = new e();
4124
- return n.source = this, n.operator = t, n;
4125
- }, e.prototype.subscribe = function(t, n, r) {
4126
- var i = this, s = Ls(t) ? t : new gt(t, n, r);
4127
- return Ie(function() {
4128
- var o = i, a = o.operator, u = o.source;
4129
- s.add(a ? a.call(s, u) : u ? i._subscribe(s) : i._trySubscribe(s));
4130
- }), s;
4137
+ var r = new e();
4138
+ return r.source = this, r.operator = t, r;
4139
+ }, e.prototype.subscribe = function(t, r, n) {
4140
+ var i = this, o = Fo(t) ? t : new yt(t, r, n);
4141
+ return Ne(function() {
4142
+ var s = i, a = s.operator, u = s.source;
4143
+ o.add(a ? a.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
4144
+ }), o;
4131
4145
  }, e.prototype._trySubscribe = function(t) {
4132
4146
  try {
4133
4147
  return this._subscribe(t);
4134
- } catch (n) {
4135
- t.error(n);
4148
+ } catch (r) {
4149
+ t.error(r);
4136
4150
  }
4137
- }, e.prototype.forEach = function(t, n) {
4138
- var r = this;
4139
- return n = nn(n), new n(function(i, s) {
4140
- var o = new gt({
4151
+ }, e.prototype.forEach = function(t, r) {
4152
+ var n = this;
4153
+ return r = or(r), new r(function(i, o) {
4154
+ var s = new yt({
4141
4155
  next: function(a) {
4142
4156
  try {
4143
4157
  t(a);
4144
4158
  } catch (u) {
4145
- s(u), o.unsubscribe();
4159
+ o(u), s.unsubscribe();
4146
4160
  }
4147
4161
  },
4148
- error: s,
4162
+ error: o,
4149
4163
  complete: i
4150
4164
  });
4151
- r.subscribe(o);
4165
+ n.subscribe(s);
4152
4166
  });
4153
4167
  }, e.prototype._subscribe = function(t) {
4154
- var n;
4155
- return (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(t);
4156
- }, e.prototype[Os] = function() {
4168
+ var r;
4169
+ return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
4170
+ }, e.prototype[Lo] = function() {
4157
4171
  return this;
4158
4172
  }, e.prototype.pipe = function() {
4159
- for (var t = [], n = 0; n < arguments.length; n++)
4160
- t[n] = arguments[n];
4161
- return Ns(t)(this);
4173
+ for (var t = [], r = 0; r < arguments.length; r++)
4174
+ t[r] = arguments[r];
4175
+ return Wo(t)(this);
4162
4176
  }, e.prototype.toPromise = function(t) {
4163
- var n = this;
4164
- return t = nn(t), new t(function(r, i) {
4165
- var s;
4166
- n.subscribe(function(o) {
4167
- return s = o;
4168
- }, function(o) {
4169
- return i(o);
4177
+ var r = this;
4178
+ return t = or(t), new t(function(n, i) {
4179
+ var o;
4180
+ r.subscribe(function(s) {
4181
+ return o = s;
4182
+ }, function(s) {
4183
+ return i(s);
4170
4184
  }, function() {
4171
- return r(s);
4185
+ return n(o);
4172
4186
  });
4173
4187
  });
4174
4188
  }, e.create = function(t) {
4175
4189
  return new e(t);
4176
4190
  }, e;
4177
4191
  }();
4178
- function nn(e) {
4192
+ function or(e) {
4179
4193
  var t;
4180
- return (t = e ?? Ts.Promise) !== null && t !== void 0 ? t : Promise;
4194
+ return (t = e ?? Jr.Promise) !== null && t !== void 0 ? t : Promise;
4181
4195
  }
4182
- function Is(e) {
4196
+ function Uo(e) {
4183
4197
  return e && Q(e.next) && Q(e.error) && Q(e.complete);
4184
4198
  }
4185
- function Ls(e) {
4186
- return e && e instanceof Zn || Is(e) && zn(e);
4199
+ function Fo(e) {
4200
+ return e && e instanceof qr || Uo(e) && Qr(e);
4187
4201
  }
4188
- var Rs = Vn(function(e) {
4202
+ var Go = zr(function(e) {
4189
4203
  return function() {
4190
4204
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
4191
4205
  };
4192
- }), Qn = function(e) {
4206
+ }), Yr = function(e) {
4193
4207
  J(t, e);
4194
4208
  function t() {
4195
- var n = e.call(this) || this;
4196
- return n.closed = !1, n.currentObservers = null, n.observers = [], n.isStopped = !1, n.hasError = !1, n.thrownError = null, n;
4209
+ var r = e.call(this) || this;
4210
+ return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
4197
4211
  }
4198
- return t.prototype.lift = function(n) {
4199
- var r = new rn(this, this);
4200
- return r.operator = n, r;
4212
+ return t.prototype.lift = function(r) {
4213
+ var n = new sr(this, this);
4214
+ return n.operator = r, n;
4201
4215
  }, t.prototype._throwIfClosed = function() {
4202
4216
  if (this.closed)
4203
- throw new Rs();
4204
- }, t.prototype.next = function(n) {
4205
- var r = this;
4206
- Ie(function() {
4207
- var i, s;
4208
- if (r._throwIfClosed(), !r.isStopped) {
4209
- r.currentObservers || (r.currentObservers = Array.from(r.observers));
4217
+ throw new Go();
4218
+ }, t.prototype.next = function(r) {
4219
+ var n = this;
4220
+ Ne(function() {
4221
+ var i, o;
4222
+ if (n._throwIfClosed(), !n.isStopped) {
4223
+ n.currentObservers || (n.currentObservers = Array.from(n.observers));
4210
4224
  try {
4211
- for (var o = ot(r.currentObservers), a = o.next(); !a.done; a = o.next()) {
4225
+ for (var s = at(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
4212
4226
  var u = a.value;
4213
- u.next(n);
4227
+ u.next(r);
4214
4228
  }
4215
4229
  } catch (l) {
4216
4230
  i = { error: l };
4217
4231
  } finally {
4218
4232
  try {
4219
- a && !a.done && (s = o.return) && s.call(o);
4233
+ a && !a.done && (o = s.return) && o.call(s);
4220
4234
  } finally {
4221
4235
  if (i)
4222
4236
  throw i.error;
@@ -4224,192 +4238,192 @@ var Rs = Vn(function(e) {
4224
4238
  }
4225
4239
  }
4226
4240
  });
4227
- }, t.prototype.error = function(n) {
4228
- var r = this;
4229
- Ie(function() {
4230
- if (r._throwIfClosed(), !r.isStopped) {
4231
- r.hasError = r.isStopped = !0, r.thrownError = n;
4232
- for (var i = r.observers; i.length; )
4233
- i.shift().error(n);
4241
+ }, t.prototype.error = function(r) {
4242
+ var n = this;
4243
+ Ne(function() {
4244
+ if (n._throwIfClosed(), !n.isStopped) {
4245
+ n.hasError = n.isStopped = !0, n.thrownError = r;
4246
+ for (var i = n.observers; i.length; )
4247
+ i.shift().error(r);
4234
4248
  }
4235
4249
  });
4236
4250
  }, t.prototype.complete = function() {
4237
- var n = this;
4238
- Ie(function() {
4239
- if (n._throwIfClosed(), !n.isStopped) {
4240
- n.isStopped = !0;
4241
- for (var r = n.observers; r.length; )
4242
- r.shift().complete();
4251
+ var r = this;
4252
+ Ne(function() {
4253
+ if (r._throwIfClosed(), !r.isStopped) {
4254
+ r.isStopped = !0;
4255
+ for (var n = r.observers; n.length; )
4256
+ n.shift().complete();
4243
4257
  }
4244
4258
  });
4245
4259
  }, t.prototype.unsubscribe = function() {
4246
4260
  this.isStopped = this.closed = !0, this.observers = this.currentObservers = null;
4247
4261
  }, Object.defineProperty(t.prototype, "observed", {
4248
4262
  get: function() {
4249
- var n;
4250
- return ((n = this.observers) === null || n === void 0 ? void 0 : n.length) > 0;
4263
+ var r;
4264
+ return ((r = this.observers) === null || r === void 0 ? void 0 : r.length) > 0;
4251
4265
  },
4252
4266
  enumerable: !1,
4253
4267
  configurable: !0
4254
- }), t.prototype._trySubscribe = function(n) {
4255
- return this._throwIfClosed(), e.prototype._trySubscribe.call(this, n);
4256
- }, t.prototype._subscribe = function(n) {
4257
- return this._throwIfClosed(), this._checkFinalizedStatuses(n), this._innerSubscribe(n);
4258
- }, t.prototype._innerSubscribe = function(n) {
4259
- var r = this, i = this, s = i.hasError, o = i.isStopped, a = i.observers;
4260
- return s || o ? Xn : (this.currentObservers = null, a.push(n), new ke(function() {
4261
- r.currentObservers = null, bt(a, n);
4268
+ }), t.prototype._trySubscribe = function(r) {
4269
+ return this._throwIfClosed(), e.prototype._trySubscribe.call(this, r);
4270
+ }, t.prototype._subscribe = function(r) {
4271
+ return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
4272
+ }, t.prototype._innerSubscribe = function(r) {
4273
+ var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
4274
+ return o || s ? Zr : (this.currentObservers = null, a.push(r), new ke(function() {
4275
+ n.currentObservers = null, gt(a, r);
4262
4276
  }));
4263
- }, t.prototype._checkFinalizedStatuses = function(n) {
4264
- var r = this, i = r.hasError, s = r.thrownError, o = r.isStopped;
4265
- i ? n.error(s) : o && n.complete();
4277
+ }, t.prototype._checkFinalizedStatuses = function(r) {
4278
+ var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
4279
+ i ? r.error(o) : s && r.complete();
4266
4280
  }, t.prototype.asObservable = function() {
4267
- var n = new tn();
4268
- return n.source = this, n;
4269
- }, t.create = function(n, r) {
4270
- return new rn(n, r);
4281
+ var r = new ir();
4282
+ return r.source = this, r;
4283
+ }, t.create = function(r, n) {
4284
+ return new sr(r, n);
4271
4285
  }, t;
4272
- }(tn), rn = function(e) {
4286
+ }(ir), sr = function(e) {
4273
4287
  J(t, e);
4274
- function t(n, r) {
4288
+ function t(r, n) {
4275
4289
  var i = e.call(this) || this;
4276
- return i.destination = n, i.source = r, i;
4290
+ return i.destination = r, i.source = n, i;
4277
4291
  }
4278
- return t.prototype.next = function(n) {
4279
- var r, i;
4280
- (i = (r = this.destination) === null || r === void 0 ? void 0 : r.next) === null || i === void 0 || i.call(r, n);
4281
- }, t.prototype.error = function(n) {
4282
- var r, i;
4283
- (i = (r = this.destination) === null || r === void 0 ? void 0 : r.error) === null || i === void 0 || i.call(r, n);
4292
+ return t.prototype.next = function(r) {
4293
+ var n, i;
4294
+ (i = (n = this.destination) === null || n === void 0 ? void 0 : n.next) === null || i === void 0 || i.call(n, r);
4295
+ }, t.prototype.error = function(r) {
4296
+ var n, i;
4297
+ (i = (n = this.destination) === null || n === void 0 ? void 0 : n.error) === null || i === void 0 || i.call(n, r);
4284
4298
  }, t.prototype.complete = function() {
4285
- var n, r;
4286
- (r = (n = this.destination) === null || n === void 0 ? void 0 : n.complete) === null || r === void 0 || r.call(n);
4287
- }, t.prototype._subscribe = function(n) {
4288
- var r, i;
4289
- return (i = (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(n)) !== null && i !== void 0 ? i : Xn;
4299
+ var r, n;
4300
+ (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
4301
+ }, t.prototype._subscribe = function(r) {
4302
+ var n, i;
4303
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Zr;
4290
4304
  }, t;
4291
- }(Qn), Jn = {
4305
+ }(Yr), Kr = {
4292
4306
  now: function() {
4293
- return (Jn.delegate || Date).now();
4307
+ return (Kr.delegate || Date).now();
4294
4308
  },
4295
4309
  delegate: void 0
4296
- }, Ws = function(e) {
4310
+ }, Do = function(e) {
4297
4311
  J(t, e);
4298
- function t(n, r, i) {
4299
- n === void 0 && (n = 1 / 0), r === void 0 && (r = 1 / 0), i === void 0 && (i = Jn);
4300
- var s = e.call(this) || this;
4301
- return s._bufferSize = n, s._windowTime = r, s._timestampProvider = i, s._buffer = [], s._infiniteTimeWindow = !0, s._infiniteTimeWindow = r === 1 / 0, s._bufferSize = Math.max(1, n), s._windowTime = Math.max(1, r), s;
4312
+ function t(r, n, i) {
4313
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Kr);
4314
+ var o = e.call(this) || this;
4315
+ 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;
4302
4316
  }
4303
- return t.prototype.next = function(n) {
4304
- var r = this, i = r.isStopped, s = r._buffer, o = r._infiniteTimeWindow, a = r._timestampProvider, u = r._windowTime;
4305
- i || (s.push(n), !o && s.push(a.now() + u)), this._trimBuffer(), e.prototype.next.call(this, n);
4306
- }, t.prototype._subscribe = function(n) {
4317
+ return t.prototype.next = function(r) {
4318
+ var n = this, i = n.isStopped, o = n._buffer, s = n._infiniteTimeWindow, a = n._timestampProvider, u = n._windowTime;
4319
+ i || (o.push(r), !s && o.push(a.now() + u)), this._trimBuffer(), e.prototype.next.call(this, r);
4320
+ }, t.prototype._subscribe = function(r) {
4307
4321
  this._throwIfClosed(), this._trimBuffer();
4308
- for (var r = this._innerSubscribe(n), i = this, s = i._infiniteTimeWindow, o = i._buffer, a = o.slice(), u = 0; u < a.length && !n.closed; u += s ? 1 : 2)
4309
- n.next(a[u]);
4310
- return this._checkFinalizedStatuses(n), r;
4322
+ for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, s = i._buffer, a = s.slice(), u = 0; u < a.length && !r.closed; u += o ? 1 : 2)
4323
+ r.next(a[u]);
4324
+ return this._checkFinalizedStatuses(r), n;
4311
4325
  }, t.prototype._trimBuffer = function() {
4312
- var n = this, r = n._bufferSize, i = n._timestampProvider, s = n._buffer, o = n._infiniteTimeWindow, a = (o ? 1 : 2) * r;
4313
- if (r < 1 / 0 && a < s.length && s.splice(0, s.length - a), !o) {
4314
- for (var u = i.now(), l = 0, c = 1; c < s.length && s[c] <= u; c += 2)
4326
+ var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, s = r._infiniteTimeWindow, a = (s ? 1 : 2) * n;
4327
+ if (n < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
4328
+ for (var u = i.now(), l = 0, c = 1; c < o.length && o[c] <= u; c += 2)
4315
4329
  l = c;
4316
- l && s.splice(0, l + 1);
4330
+ l && o.splice(0, l + 1);
4317
4331
  }
4318
4332
  }, t;
4319
- }(Qn);
4320
- const sn = [], on = {}, Us = (e, t = 0) => {
4321
- if (sn.indexOf(e) == -1) {
4322
- const n = new Ws(t);
4323
- on[e] = n, sn.push(e);
4333
+ }(Yr);
4334
+ const ar = [], ur = {}, ko = (e, t = 0) => {
4335
+ if (ar.indexOf(e) == -1) {
4336
+ const r = new Do(t);
4337
+ ur[e] = r, ar.push(e);
4324
4338
  }
4325
- return on[e];
4339
+ return ur[e];
4326
4340
  };
4327
- window.emWidgets = { topic: Us };
4328
- 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));
4329
- function Gs(e, t) {
4341
+ window.emWidgets = { topic: ko };
4342
+ const jo = (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));
4343
+ function $o(e, t) {
4330
4344
  if (e) {
4331
- const n = document.createElement("style");
4332
- n.innerHTML = t, e.appendChild(n);
4345
+ const r = document.createElement("style");
4346
+ r.innerHTML = t, e.appendChild(r);
4333
4347
  }
4334
4348
  }
4335
- function Ds(e, t) {
4336
- const n = new URL(t);
4337
- fetch(n.href).then((r) => r.text()).then((r) => {
4349
+ function Vo(e, t) {
4350
+ const r = new URL(t);
4351
+ fetch(r.href).then((n) => n.text()).then((n) => {
4338
4352
  const i = document.createElement("style");
4339
- i.innerHTML = r, e && e.appendChild(i);
4340
- }).catch((r) => {
4341
- console.error("There was an error while trying to load client styling from URL", r);
4353
+ i.innerHTML = n, e && e.appendChild(i);
4354
+ }).catch((n) => {
4355
+ console.error("There was an error while trying to load client styling from URL", n);
4342
4356
  });
4343
4357
  }
4344
- function ks(e, t, n) {
4358
+ function Xo(e, t, r) {
4345
4359
  if (window.emMessageBus) {
4346
- const r = document.createElement("style");
4360
+ const n = document.createElement("style");
4347
4361
  window.emMessageBus.subscribe(t, (i) => {
4348
- r.innerHTML = i, e && e.appendChild(r);
4362
+ n.innerHTML = i, e && e.appendChild(n);
4349
4363
  });
4350
4364
  }
4351
4365
  }
4352
4366
  if (typeof window < "u") {
4353
4367
  let e = function(t) {
4354
- return function(...n) {
4368
+ return function(...r) {
4355
4369
  try {
4356
- return t.apply(this, n);
4357
- } catch (r) {
4358
- if (r instanceof DOMException && r.message.includes("has already been used with this registry") || r.message.includes("Cannot define multiple custom elements with the same tag name"))
4370
+ return t.apply(this, r);
4371
+ } catch (n) {
4372
+ if (n instanceof DOMException && n.message.includes("has already been used with this registry") || n.message.includes("Cannot define multiple custom elements with the same tag name"))
4359
4373
  return !1;
4360
- throw r;
4374
+ throw n;
4361
4375
  }
4362
4376
  };
4363
4377
  };
4364
- customElements.define = e(customElements.define), import("./GeneralAnimationLoading-mOKt3i9A.js").then(({ default: t }) => {
4378
+ customElements.define = e(customElements.define), import("./GeneralAnimationLoading-BcDP-WUu.js").then(({ default: t }) => {
4365
4379
  !customElements.get("general-animation-loading") && customElements.define("general-animation-loading", t.element);
4366
4380
  });
4367
4381
  }
4368
- function js(e) {
4369
- yr(e, "svelte-d1flp7", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.Off{display:none}.CasinoWinners{background-color:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;height:320px;margin:0 auto}.CasinoWinners.Mobile{padding:25px 10px;height:250px}.WinnersHeader{display:flex;justify-content:space-between}.SliderButton{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px}.SliderButton.SliderButton:active{transform:translateY(1px)}.WinnerButtonsContainer{display:flex;margin-bottom:42px}.WinnersButton{border:none;background:none;color:var(--emw--casino-typography, var(--emw--color-contrast, #FFFFFF));font-size:22px;font-weight:500;margin-right:60px;cursor:pointer}.WinnersButton:hover{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:40px}.WinnersButton:focus{color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:40px}.WinnersButton.Active{border-bottom:2px solid #22B04E;padding-bottom:10px;color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))}.WinnersButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:40px}.ButtonsContainerNone{display:none}.WinnersSlider{display:flex;justify-content:flex-start;position:relative;height:180px;overflow:hidden;-ms-overflow-style:none;scrollbar-width:none}.WinnersSlider::-webkit-scrollbar{display:none}.WinnersSlider .NoWinnersMessage{color:var(--emw--casino-typography, var(--emw--color-typography, #FFFFFF));font-size:var(--emw--font-size-medium, 16px)}.CardWrapper{position:absolute;top:0;left:0}.CardWrapperAnimation{transition:transform 2s}.WinnerCard{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);display:flex;align-items:center;flex-direction:column;justify-content:center;gap:4px;height:180px;min-width:191px;margin-bottom:30px;margin-right:30px}.WinnerCard p:first-of-type{color:var(--emw--color-gray-150, #828282);font-size:14px;inline-size:189px;overflow-wrap:break-word;text-align:center}.WinnerCard p:nth-child(3){text-align:center;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:14px;width:100px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.WinnerCard p:nth-child(4){color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:14px;text-align:center}.WinnerCard p:last-of-type{color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));font-size:16px}.WinnerCard:hover{border:1px solid rgba(255, 255, 255, 0.4)}.WinnersImage{border-radius:5px;height:54px;margin-bottom:10px;width:80px;cursor:pointer}.Mobile .CasinoWinners{width:320px;max-width:320px}.Mobile .WinnersHeader{justify-content:flex-start}.Mobile .WinnersButton{font-size:18px;white-space:nowrap;margin-right:40px}.Mobile .WinnersButton:last-child{margin-right:0}.Mobile .WinnersButton.Active{padding-bottom:4px}.Mobile .WinnersSlider{overflow:scroll;overflow-y:hidden;-ms-overflow-style:none;scrollbar-width:none}.Mobile .SliderButton{display:none}.Mobile .WinnerCard{width:140px;height:150px;min-width:140px;margin-right:12px}.Mobile .WinnerCard p:first-of-type{font-size:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-align:center;width:100px}.Mobile .WinnerCard p:nth-child(3){font-size:10px}.Mobile .WinnerCard p:nth-child(4){font-size:8px;font-weight:300;text-align:center}.Mobile .WinnerCard p:last-of-type{font-size:11px}.Mobile .WinnerButtonsContainer{margin-bottom:20px}");
4382
+ function zo(e) {
4383
+ xn(e, "svelte-d1flp7", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.Off{display:none}.CasinoWinners{background-color:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;height:320px;margin:0 auto}.CasinoWinners.Mobile{padding:25px 10px;height:250px}.WinnersHeader{display:flex;justify-content:space-between}.SliderButton{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px}.SliderButton.SliderButton:active{transform:translateY(1px)}.WinnerButtonsContainer{display:flex;margin-bottom:42px}.WinnersButton{border:none;background:none;color:var(--emw--casino-typography, var(--emw--color-contrast, #FFFFFF));font-size:22px;font-weight:500;margin-right:60px;cursor:pointer}.WinnersButton:hover{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:40px}.WinnersButton:focus{color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:40px}.WinnersButton.Active{border-bottom:2px solid #22B04E;padding-bottom:10px;color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))}.WinnersButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:40px}.ButtonsContainerNone{display:none}.WinnersSlider{display:flex;justify-content:flex-start;position:relative;height:180px;overflow:hidden;-ms-overflow-style:none;scrollbar-width:none}.WinnersSlider::-webkit-scrollbar{display:none}.WinnersSlider .NoWinnersMessage{color:var(--emw--casino-typography, var(--emw--color-typography, #FFFFFF));font-size:var(--emw--font-size-medium, 16px)}.CardWrapper{position:absolute;top:0;left:0}.CardWrapperAnimation{transition:transform 2s}.WinnerCard{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);display:flex;align-items:center;flex-direction:column;justify-content:center;gap:4px;height:180px;min-width:191px;margin-bottom:30px;margin-right:30px}.WinnerCard p:first-of-type{color:var(--emw--color-gray-150, #828282);font-size:14px;inline-size:189px;overflow-wrap:break-word;text-align:center}.WinnerCard p:nth-child(3){text-align:center;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:14px;width:100px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.WinnerCard p:nth-child(4){color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:14px;text-align:center}.WinnerCard p:last-of-type{color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));font-size:16px}.WinnerCard:hover{border:1px solid rgba(255, 255, 255, 0.4)}.WinnersImage{border-radius:5px;height:54px;margin-bottom:10px;width:80px;cursor:pointer}.Mobile .CasinoWinners{width:320px;max-width:320px}.Mobile .WinnersHeader{justify-content:flex-start}.Mobile .WinnersButton{font-size:18px;white-space:nowrap;margin-right:40px}.Mobile .WinnersButton:last-child{margin-right:0}.Mobile .WinnersButton.Active{padding-bottom:4px}.Mobile .WinnersSlider{overflow:scroll;overflow-y:hidden;-ms-overflow-style:none;scrollbar-width:none}.Mobile .SliderButton{display:none}.Mobile .WinnerCard{width:140px;height:150px;min-width:140px;margin-right:12px}.Mobile .WinnerCard p:first-of-type{font-size:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-align:center;width:100px}.Mobile .WinnerCard p:nth-child(3){font-size:10px}.Mobile .WinnerCard p:nth-child(4){font-size:8px;font-weight:300;text-align:center}.Mobile .WinnerCard p:last-of-type{font-size:11px}.Mobile .WinnerButtonsContainer{margin-bottom:20px}");
4370
4384
  }
4371
- function an(e, t, n) {
4372
- const r = e.slice();
4373
- return r[71] = t[n], r;
4385
+ function lr(e, t, r) {
4386
+ const n = e.slice();
4387
+ return n[71] = t[r], n;
4374
4388
  }
4375
- function un(e, t, n) {
4376
- const r = e.slice();
4377
- return r[74] = t[n], r;
4389
+ function hr(e, t, r) {
4390
+ const n = e.slice();
4391
+ return n[74] = t[r], n;
4378
4392
  }
4379
- function $s(e) {
4380
- let t, n, r, i, s, o, a, u, l, c, d, f, p, g, b, A, O, M, B, P = Le(
4393
+ function Zo(e) {
4394
+ let t, r, n, i, o, s, a, u, l, c, d, f, p, g, b, A, O, M, B, P = Le(
4381
4395
  /*tabs*/
4382
4396
  e[16]
4383
4397
  ), E = [];
4384
- for (let _ = 0; _ < P.length; _ += 1)
4385
- E[_] = fn(un(e, P, _));
4386
- function F(_, W) {
4398
+ for (let v = 0; v < P.length; v += 1)
4399
+ E[v] = mr(hr(e, P, v));
4400
+ function F(v, W) {
4387
4401
  return (
4388
4402
  /*isLoadingDelayed*/
4389
- _[17] ? zs : Xs
4403
+ v[17] ? qo : Jo
4390
4404
  );
4391
4405
  }
4392
- let R = F(e), N = R(e);
4406
+ let R = F(e), I = R(e);
4393
4407
  return {
4394
4408
  c() {
4395
- t = C("div"), n = C("div"), r = C("div");
4396
- for (let _ = 0; _ < E.length; _ += 1)
4397
- E[_].c();
4398
- i = z(), s = C("div"), o = C("button"), a = Ae("svg"), u = Ae("path"), c = z(), d = C("button"), f = Ae("svg"), p = Ae("path"), A = z(), N.c(), m(r, "class", "WinnerButtonsContainer"), m(u, "style", l = /*numberOfVisibleSlides*/
4409
+ t = C("div"), r = C("div"), n = C("div");
4410
+ for (let v = 0; v < E.length; v += 1)
4411
+ E[v].c();
4412
+ i = z(), o = C("div"), s = C("button"), a = Ae("svg"), u = Ae("path"), c = z(), d = C("button"), f = Ae("svg"), p = Ae("path"), A = z(), I.c(), m(n, "class", "WinnerButtonsContainer"), m(u, "style", l = /*numberOfVisibleSlides*/
4399
4413
  e[11] >= /*winners*/
4400
- e[10].length ? "fill:#F6F6F62E" : ""), m(u, "id", "Path_36"), m(u, "data-name", "Path 36"), m(u, "d", "M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"), m(u, "transform", "translate(14.656 0) rotate(90)"), m(u, "fill", "#fff"), m(a, "id", "Component_46_2"), m(a, "data-name", "Component 46 – 2"), m(a, "xmlns", "http://www.w3.org/2000/svg"), m(a, "width", "15"), m(a, "height", "15"), m(a, "viewBox", "0 0 16 24.656"), m(o, "class", "SliderButton"), m(p, "style", g = /*numberOfVisibleSlides*/
4414
+ e[10].length ? "fill:#F6F6F62E" : ""), m(u, "id", "Path_36"), m(u, "data-name", "Path 36"), m(u, "d", "M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"), m(u, "transform", "translate(14.656 0) rotate(90)"), m(u, "fill", "#fff"), m(a, "id", "Component_46_2"), m(a, "data-name", "Component 46 – 2"), m(a, "xmlns", "http://www.w3.org/2000/svg"), m(a, "width", "15"), m(a, "height", "15"), m(a, "viewBox", "0 0 16 24.656"), m(s, "class", "SliderButton"), m(p, "style", g = /*numberOfVisibleSlides*/
4401
4415
  e[11] >= /*winners*/
4402
- e[10].length ? "fill:#F6F6F62E" : ""), m(p, "id", "Path_36"), m(p, "data-name", "Path 36"), m(p, "d", "M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"), m(p, "transform", "translate(0 24.656) rotate(-90)"), m(p, "fill", "#fff"), m(f, "id", "Component_46_2"), m(f, "data-name", "Component 46 – 2"), m(f, "xmlns", "http://www.w3.org/2000/svg"), m(f, "width", "15"), m(f, "height", "15"), m(f, "viewBox", "0 0 16 24.656"), m(d, "class", "SliderButton"), m(s, "class", b = "ButtonsContainer " + /*enableautoscroll*/
4403
- (e[4] == "true" ? "ButtonsContainerNone" : "")), m(n, "class", "WinnersHeader"), m(t, "class", O = "CasinoWinners " + /*mobile*/
4416
+ e[10].length ? "fill:#F6F6F62E" : ""), m(p, "id", "Path_36"), m(p, "data-name", "Path 36"), m(p, "d", "M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"), m(p, "transform", "translate(0 24.656) rotate(-90)"), m(p, "fill", "#fff"), m(f, "id", "Component_46_2"), m(f, "data-name", "Component 46 – 2"), m(f, "xmlns", "http://www.w3.org/2000/svg"), m(f, "width", "15"), m(f, "height", "15"), m(f, "viewBox", "0 0 16 24.656"), m(d, "class", "SliderButton"), m(o, "class", b = "ButtonsContainer " + /*enableautoscroll*/
4417
+ (e[4] == "true" ? "ButtonsContainerNone" : "")), m(r, "class", "WinnersHeader"), m(t, "class", O = "CasinoWinners " + /*mobile*/
4404
4418
  (e[12] ? "Mobile" : ""));
4405
4419
  },
4406
- m(_, W) {
4407
- j(_, t, W), w(t, n), w(n, r);
4420
+ m(v, W) {
4421
+ j(v, t, W), w(t, r), w(r, n);
4408
4422
  for (let S = 0; S < E.length; S += 1)
4409
- E[S] && E[S].m(r, null);
4410
- w(n, i), w(n, s), w(s, o), w(o, a), w(a, u), w(s, c), w(s, d), w(d, f), w(f, p), w(t, A), N.m(t, null), M || (B = [
4423
+ E[S] && E[S].m(n, null);
4424
+ w(r, i), w(r, o), w(o, s), w(s, a), w(a, u), w(o, c), w(o, d), w(d, f), w(f, p), w(t, A), I.m(t, null), M || (B = [
4411
4425
  Ee(
4412
- o,
4426
+ s,
4413
4427
  "click",
4414
4428
  /*click_handler_2*/
4415
4429
  e[46]
@@ -4422,17 +4436,17 @@ function $s(e) {
4422
4436
  )
4423
4437
  ], M = !0);
4424
4438
  },
4425
- p(_, W) {
4439
+ p(v, W) {
4426
4440
  if (W[0] & /*winnersType, istopavailable, toggleTab, $_, tabs, isrecentavailable*/
4427
4441
  852483) {
4428
4442
  P = Le(
4429
4443
  /*tabs*/
4430
- _[16]
4444
+ v[16]
4431
4445
  );
4432
4446
  let S;
4433
4447
  for (S = 0; S < P.length; S += 1) {
4434
- const L = un(_, P, S);
4435
- E[S] ? E[S].p(L, W) : (E[S] = fn(L), E[S].c(), E[S].m(r, null));
4448
+ const L = hr(v, P, S);
4449
+ E[S] ? E[S].p(L, W) : (E[S] = mr(L), E[S].c(), E[S].m(n, null));
4436
4450
  }
4437
4451
  for (; S < E.length; S += 1)
4438
4452
  E[S].d(1);
@@ -4440,22 +4454,22 @@ function $s(e) {
4440
4454
  }
4441
4455
  W[0] & /*numberOfVisibleSlides, winners*/
4442
4456
  3072 && l !== (l = /*numberOfVisibleSlides*/
4443
- _[11] >= /*winners*/
4444
- _[10].length ? "fill:#F6F6F62E" : "") && m(u, "style", l), W[0] & /*numberOfVisibleSlides, winners*/
4457
+ v[11] >= /*winners*/
4458
+ v[10].length ? "fill:#F6F6F62E" : "") && m(u, "style", l), W[0] & /*numberOfVisibleSlides, winners*/
4445
4459
  3072 && g !== (g = /*numberOfVisibleSlides*/
4446
- _[11] >= /*winners*/
4447
- _[10].length ? "fill:#F6F6F62E" : "") && m(p, "style", g), W[0] & /*enableautoscroll*/
4460
+ v[11] >= /*winners*/
4461
+ v[10].length ? "fill:#F6F6F62E" : "") && m(p, "style", g), W[0] & /*enableautoscroll*/
4448
4462
  16 && b !== (b = "ButtonsContainer " + /*enableautoscroll*/
4449
- (_[4] == "true" ? "ButtonsContainerNone" : "")) && m(s, "class", b), R === (R = F(_)) && N ? N.p(_, W) : (N.d(1), N = R(_), N && (N.c(), N.m(t, null))), W[0] & /*mobile*/
4463
+ (v[4] == "true" ? "ButtonsContainerNone" : "")) && m(o, "class", b), R === (R = F(v)) && I ? I.p(v, W) : (I.d(1), I = R(v), I && (I.c(), I.m(t, null))), W[0] & /*mobile*/
4450
4464
  4096 && O !== (O = "CasinoWinners " + /*mobile*/
4451
- (_[12] ? "Mobile" : "")) && m(t, "class", O);
4465
+ (v[12] ? "Mobile" : "")) && m(t, "class", O);
4452
4466
  },
4453
- d(_) {
4454
- _ && k(t), gn(E, _), N.d(), M = !1, fe(B);
4467
+ d(v) {
4468
+ v && k(t), vr(E, v), I.d(), M = !1, fe(B);
4455
4469
  }
4456
4470
  };
4457
4471
  }
4458
- function Vs(e) {
4472
+ function Qo(e) {
4459
4473
  let t;
4460
4474
  return {
4461
4475
  c() {
@@ -4471,162 +4485,162 @@ function Vs(e) {
4471
4485
  e[3]
4472
4486
  );
4473
4487
  },
4474
- m(n, r) {
4475
- j(n, t, r);
4488
+ m(r, n) {
4489
+ j(r, t, n);
4476
4490
  },
4477
- p(n, r) {
4478
- r[0] & /*clientstyling*/
4491
+ p(r, n) {
4492
+ n[0] & /*clientstyling*/
4479
4493
  4 && X(
4480
4494
  t,
4481
4495
  "clientstyling",
4482
4496
  /*clientstyling*/
4483
- n[2]
4484
- ), r[0] & /*clientstylingurl*/
4497
+ r[2]
4498
+ ), n[0] & /*clientstylingurl*/
4485
4499
  8 && X(
4486
4500
  t,
4487
4501
  "clientstylingurl",
4488
4502
  /*clientstylingurl*/
4489
- n[3]
4503
+ r[3]
4490
4504
  );
4491
4505
  },
4492
- d(n) {
4493
- n && k(t);
4506
+ d(r) {
4507
+ r && k(t);
4494
4508
  }
4495
4509
  };
4496
4510
  }
4497
- function ln(e) {
4498
- let t, n = (
4511
+ function cr(e) {
4512
+ let t, r = (
4499
4513
  /*isrecentavailable*/
4500
- e[0] === "true" && hn(e)
4514
+ e[0] === "true" && fr(e)
4501
4515
  );
4502
4516
  return {
4503
4517
  c() {
4504
- n && n.c(), t = _t();
4518
+ r && r.c(), t = _t();
4505
4519
  },
4506
- m(r, i) {
4507
- n && n.m(r, i), j(r, t, i);
4520
+ m(n, i) {
4521
+ r && r.m(n, i), j(n, t, i);
4508
4522
  },
4509
- p(r, i) {
4523
+ p(n, i) {
4510
4524
  /*isrecentavailable*/
4511
- r[0] === "true" ? n ? n.p(r, i) : (n = hn(r), n.c(), n.m(t.parentNode, t)) : n && (n.d(1), n = null);
4525
+ n[0] === "true" ? r ? r.p(n, i) : (r = fr(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
4512
4526
  },
4513
- d(r) {
4514
- r && k(t), n && n.d(r);
4527
+ d(n) {
4528
+ n && k(t), r && r.d(n);
4515
4529
  }
4516
4530
  };
4517
4531
  }
4518
- function hn(e) {
4519
- let t, n = (
4532
+ function fr(e) {
4533
+ let t, r = (
4520
4534
  /*$_*/
4521
4535
  e[18]("recentWinners") + ""
4522
- ), r, i, s, o;
4536
+ ), n, i, o, s;
4523
4537
  return {
4524
4538
  c() {
4525
- t = C("button"), r = Z(n), m(t, "class", i = "WinnersButton " + /*winnersType*/
4539
+ t = C("button"), n = Z(r), m(t, "class", i = "WinnersButton " + /*winnersType*/
4526
4540
  (e[9] == "recent" ? "Active" : ""));
4527
4541
  },
4528
4542
  m(a, u) {
4529
- j(a, t, u), w(t, r), s || (o = Ee(
4543
+ j(a, t, u), w(t, n), o || (s = Ee(
4530
4544
  t,
4531
4545
  "click",
4532
4546
  /*click_handler*/
4533
4547
  e[44]
4534
- ), s = !0);
4548
+ ), o = !0);
4535
4549
  },
4536
4550
  p(a, u) {
4537
4551
  u[0] & /*$_*/
4538
- 262144 && n !== (n = /*$_*/
4539
- a[18]("recentWinners") + "") && te(r, n), u[0] & /*winnersType*/
4552
+ 262144 && r !== (r = /*$_*/
4553
+ a[18]("recentWinners") + "") && te(n, r), u[0] & /*winnersType*/
4540
4554
  512 && i !== (i = "WinnersButton " + /*winnersType*/
4541
4555
  (a[9] == "recent" ? "Active" : "")) && m(t, "class", i);
4542
4556
  },
4543
4557
  d(a) {
4544
- a && k(t), s = !1, o();
4558
+ a && k(t), o = !1, s();
4545
4559
  }
4546
4560
  };
4547
4561
  }
4548
- function cn(e) {
4549
- let t, n = (
4562
+ function dr(e) {
4563
+ let t, r = (
4550
4564
  /*$_*/
4551
4565
  e[18]("topWinners") + ""
4552
- ), r, i, s, o, a;
4566
+ ), n, i, o, s, a;
4553
4567
  return {
4554
4568
  c() {
4555
- t = C("button"), r = Z(n), i = z(), m(t, "class", s = "WinnersButton " + /*winnersType*/
4569
+ t = C("button"), n = Z(r), i = z(), m(t, "class", o = "WinnersButton " + /*winnersType*/
4556
4570
  (e[9] == "top" ? "Active" : "") + " " + /*istopavailable*/
4557
4571
  (e[1] == "false" ? "Off" : ""));
4558
4572
  },
4559
4573
  m(u, l) {
4560
- j(u, t, l), w(t, r), w(t, i), o || (a = Ee(
4574
+ j(u, t, l), w(t, n), w(t, i), s || (a = Ee(
4561
4575
  t,
4562
4576
  "click",
4563
4577
  /*click_handler_1*/
4564
4578
  e[45]
4565
- ), o = !0);
4579
+ ), s = !0);
4566
4580
  },
4567
4581
  p(u, l) {
4568
4582
  l[0] & /*$_*/
4569
- 262144 && n !== (n = /*$_*/
4570
- u[18]("topWinners") + "") && te(r, n), l[0] & /*winnersType, istopavailable*/
4571
- 514 && s !== (s = "WinnersButton " + /*winnersType*/
4583
+ 262144 && r !== (r = /*$_*/
4584
+ u[18]("topWinners") + "") && te(n, r), l[0] & /*winnersType, istopavailable*/
4585
+ 514 && o !== (o = "WinnersButton " + /*winnersType*/
4572
4586
  (u[9] == "top" ? "Active" : "") + " " + /*istopavailable*/
4573
- (u[1] == "false" ? "Off" : "")) && m(t, "class", s);
4587
+ (u[1] == "false" ? "Off" : "")) && m(t, "class", o);
4574
4588
  },
4575
4589
  d(u) {
4576
- u && k(t), o = !1, a();
4590
+ u && k(t), s = !1, a();
4577
4591
  }
4578
4592
  };
4579
4593
  }
4580
- function fn(e) {
4581
- let t, n, r = (
4594
+ function mr(e) {
4595
+ let t, r, n = (
4582
4596
  /*tab*/
4583
- e[74] == "recent" && ln(e)
4597
+ e[74] == "recent" && cr(e)
4584
4598
  ), i = (
4585
4599
  /*tab*/
4586
- e[74] == "top" && cn(e)
4600
+ e[74] == "top" && dr(e)
4587
4601
  );
4588
4602
  return {
4589
4603
  c() {
4590
- r && r.c(), t = z(), i && i.c(), n = _t();
4604
+ n && n.c(), t = z(), i && i.c(), r = _t();
4591
4605
  },
4592
- m(s, o) {
4593
- r && r.m(s, o), j(s, t, o), i && i.m(s, o), j(s, n, o);
4606
+ m(o, s) {
4607
+ n && n.m(o, s), j(o, t, s), i && i.m(o, s), j(o, r, s);
4594
4608
  },
4595
- p(s, o) {
4609
+ p(o, s) {
4596
4610
  /*tab*/
4597
- s[74] == "recent" ? r ? r.p(s, o) : (r = ln(s), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null), /*tab*/
4598
- s[74] == "top" ? i ? i.p(s, o) : (i = cn(s), i.c(), i.m(n.parentNode, n)) : i && (i.d(1), i = null);
4611
+ o[74] == "recent" ? n ? n.p(o, s) : (n = cr(o), n.c(), n.m(t.parentNode, t)) : n && (n.d(1), n = null), /*tab*/
4612
+ o[74] == "top" ? i ? i.p(o, s) : (i = dr(o), i.c(), i.m(r.parentNode, r)) : i && (i.d(1), i = null);
4599
4613
  },
4600
- d(s) {
4601
- s && (k(t), k(n)), r && r.d(s), i && i.d(s);
4614
+ d(o) {
4615
+ o && (k(t), k(r)), n && n.d(o), i && i.d(o);
4602
4616
  }
4603
4617
  };
4604
4618
  }
4605
- function Xs(e) {
4619
+ function Jo(e) {
4606
4620
  let t;
4607
- function n(s, o) {
4621
+ function r(o, s) {
4608
4622
  return (
4609
4623
  /*winners*/
4610
- s[10].length !== 0 ? Qs : Zs
4624
+ o[10].length !== 0 ? Ko : Yo
4611
4625
  );
4612
4626
  }
4613
- let r = n(e), i = r(e);
4627
+ let n = r(e), i = n(e);
4614
4628
  return {
4615
4629
  c() {
4616
4630
  t = C("div"), i.c(), m(t, "class", "WinnersSlider");
4617
4631
  },
4618
- m(s, o) {
4619
- j(s, t, o), i.m(t, null), e[50](t);
4632
+ m(o, s) {
4633
+ j(o, t, s), i.m(t, null), e[50](t);
4620
4634
  },
4621
- p(s, o) {
4622
- r === (r = n(s)) && i ? i.p(s, o) : (i.d(1), i = r(s), i && (i.c(), i.m(t, null)));
4635
+ p(o, s) {
4636
+ n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
4623
4637
  },
4624
- d(s) {
4625
- s && k(t), i.d(), e[50](null);
4638
+ d(o) {
4639
+ o && k(t), i.d(), e[50](null);
4626
4640
  }
4627
4641
  };
4628
4642
  }
4629
- function zs(e) {
4643
+ function qo(e) {
4630
4644
  let t;
4631
4645
  return {
4632
4646
  c() {
@@ -4647,99 +4661,99 @@ function zs(e) {
4647
4661
  e[5]
4648
4662
  );
4649
4663
  },
4650
- m(n, r) {
4651
- j(n, t, r);
4664
+ m(r, n) {
4665
+ j(r, t, n);
4652
4666
  },
4653
- p(n, r) {
4654
- r[0] & /*clientstyling*/
4667
+ p(r, n) {
4668
+ n[0] & /*clientstyling*/
4655
4669
  4 && X(
4656
4670
  t,
4657
4671
  "clientstyling",
4658
4672
  /*clientstyling*/
4659
- n[2]
4660
- ), r[0] & /*clientstylingurl*/
4673
+ r[2]
4674
+ ), n[0] & /*clientstylingurl*/
4661
4675
  8 && X(
4662
4676
  t,
4663
4677
  "clientstylingurl",
4664
4678
  /*clientstylingurl*/
4665
- n[3]
4666
- ), r[0] & /*mbsource*/
4679
+ r[3]
4680
+ ), n[0] & /*mbsource*/
4667
4681
  32 && X(
4668
4682
  t,
4669
4683
  "mbsource",
4670
4684
  /*mbsource*/
4671
- n[5]
4685
+ r[5]
4672
4686
  );
4673
4687
  },
4674
- d(n) {
4675
- n && k(t);
4688
+ d(r) {
4689
+ r && k(t);
4676
4690
  }
4677
4691
  };
4678
4692
  }
4679
- function Zs(e) {
4680
- let t, n = (
4693
+ function Yo(e) {
4694
+ let t, r = (
4681
4695
  /*$_*/
4682
4696
  e[18]("noWinnersMessage") + ""
4683
- ), r;
4697
+ ), n;
4684
4698
  return {
4685
4699
  c() {
4686
- t = C("p"), r = Z(n), m(t, "class", "NoWinnersMessage");
4700
+ t = C("p"), n = Z(r), m(t, "class", "NoWinnersMessage");
4687
4701
  },
4688
- m(i, s) {
4689
- j(i, t, s), w(t, r);
4702
+ m(i, o) {
4703
+ j(i, t, o), w(t, n);
4690
4704
  },
4691
- p(i, s) {
4692
- s[0] & /*$_*/
4693
- 262144 && n !== (n = /*$_*/
4694
- i[18]("noWinnersMessage") + "") && te(r, n);
4705
+ p(i, o) {
4706
+ o[0] & /*$_*/
4707
+ 262144 && r !== (r = /*$_*/
4708
+ i[18]("noWinnersMessage") + "") && te(n, r);
4695
4709
  },
4696
4710
  d(i) {
4697
4711
  i && k(t);
4698
4712
  }
4699
4713
  };
4700
4714
  }
4701
- function Qs(e) {
4702
- let t, n = Le(
4715
+ function Ko(e) {
4716
+ let t, r = Le(
4703
4717
  /*winners*/
4704
4718
  e[10]
4705
- ), r = [];
4706
- for (let i = 0; i < n.length; i += 1)
4707
- r[i] = dn(an(e, n, i));
4719
+ ), n = [];
4720
+ for (let i = 0; i < r.length; i += 1)
4721
+ n[i] = pr(lr(e, r, i));
4708
4722
  return {
4709
4723
  c() {
4710
- for (let i = 0; i < r.length; i += 1)
4711
- r[i].c();
4724
+ for (let i = 0; i < n.length; i += 1)
4725
+ n[i].c();
4712
4726
  t = _t();
4713
4727
  },
4714
- m(i, s) {
4715
- for (let o = 0; o < r.length; o += 1)
4716
- r[o] && r[o].m(i, s);
4717
- j(i, t, s);
4728
+ m(i, o) {
4729
+ for (let s = 0; s < n.length; s += 1)
4730
+ n[s] && n[s].m(i, o);
4731
+ j(i, t, o);
4718
4732
  },
4719
- p(i, s) {
4720
- if (s[0] & /*addAnimation, winnerCardElem, getAmount, winners, $_, maskUsername, openWinnersGame*/
4733
+ p(i, o) {
4734
+ if (o[0] & /*addAnimation, winnerCardElem, getAmount, winners, $_, maskUsername, openWinnersGame*/
4721
4735
  20219136) {
4722
- n = Le(
4736
+ r = Le(
4723
4737
  /*winners*/
4724
4738
  i[10]
4725
4739
  );
4726
- let o;
4727
- for (o = 0; o < n.length; o += 1) {
4728
- const a = an(i, n, o);
4729
- r[o] ? r[o].p(a, s) : (r[o] = dn(a), r[o].c(), r[o].m(t.parentNode, t));
4740
+ let s;
4741
+ for (s = 0; s < r.length; s += 1) {
4742
+ const a = lr(i, r, s);
4743
+ n[s] ? n[s].p(a, o) : (n[s] = pr(a), n[s].c(), n[s].m(t.parentNode, t));
4730
4744
  }
4731
- for (; o < r.length; o += 1)
4732
- r[o].d(1);
4733
- r.length = n.length;
4745
+ for (; s < n.length; s += 1)
4746
+ n[s].d(1);
4747
+ n.length = r.length;
4734
4748
  }
4735
4749
  },
4736
4750
  d(i) {
4737
- i && k(t), gn(r, i);
4751
+ i && k(t), vr(n, i);
4738
4752
  }
4739
4753
  };
4740
4754
  }
4741
- function dn(e) {
4742
- let t, n, r, i, s, o, a, u = (
4755
+ function pr(e) {
4756
+ let t, r, n, i, o, s, a, u = (
4743
4757
  /*winner*/
4744
4758
  e[71].gameName + ""
4745
4759
  ), l, c, d, f = (
@@ -4757,7 +4771,7 @@ function dn(e) {
4757
4771
  /*winner*/
4758
4772
  e[71].specifiedCurrencyAmount
4759
4773
  ) + ""
4760
- ), E, F, R, N, _;
4774
+ ), E, F, R, I, v;
4761
4775
  function W() {
4762
4776
  return (
4763
4777
  /*click_handler_4*/
@@ -4769,20 +4783,20 @@ function dn(e) {
4769
4783
  }
4770
4784
  return {
4771
4785
  c() {
4772
- t = C("div"), n = C("div"), r = C("img"), o = z(), a = C("p"), l = Z(u), c = z(), d = C("p"), p = Z(f), g = z(), b = C("p"), O = Z(A), M = z(), B = C("p"), E = Z(P), F = z(), Lt(r.src, i = /*winner*/
4773
- e[71]?.gameModel?.thumbnail) || m(r, "src", i), m(r, "alt", s = /*winner*/
4774
- e[71]?.gameModel?.thumbnail), m(r, "class", "WinnersImage"), m(b, "class", "WinnerUsername"), m(n, "class", "WinnerCard"), m(t, "class", R = "CardWrapper " + /*addAnimation*/
4786
+ t = C("div"), r = C("div"), n = C("img"), s = z(), a = C("p"), l = Z(u), c = z(), d = C("p"), p = Z(f), g = z(), b = C("p"), O = Z(A), M = z(), B = C("p"), E = Z(P), F = z(), Ut(n.src, i = /*winner*/
4787
+ e[71]?.gameModel?.thumbnail) || m(n, "src", i), m(n, "alt", o = /*winner*/
4788
+ e[71]?.gameModel?.thumbnail), m(n, "class", "WinnersImage"), m(b, "class", "WinnerUsername"), m(r, "class", "WinnerCard"), m(t, "class", R = "CardWrapper " + /*addAnimation*/
4775
4789
  (e[15] ? "CardWrapperAnimation" : ""));
4776
4790
  },
4777
4791
  m(S, L) {
4778
- j(S, t, L), w(t, n), w(n, r), w(n, o), w(n, a), w(a, l), w(n, c), w(n, d), w(d, p), w(n, g), w(n, b), w(b, O), w(n, M), w(n, B), w(B, E), e[49](n), w(t, F), N || (_ = Ee(r, "click", W), N = !0);
4792
+ j(S, t, L), w(t, r), w(r, n), w(r, s), w(r, a), w(a, l), w(r, c), w(r, d), w(d, p), w(r, g), w(r, b), w(b, O), w(r, M), w(r, B), w(B, E), e[49](r), w(t, F), I || (v = Ee(n, "click", W), I = !0);
4779
4793
  },
4780
4794
  p(S, L) {
4781
4795
  e = S, L[0] & /*winners*/
4782
- 1024 && !Lt(r.src, i = /*winner*/
4783
- e[71]?.gameModel?.thumbnail) && m(r, "src", i), L[0] & /*winners*/
4784
- 1024 && s !== (s = /*winner*/
4785
- e[71]?.gameModel?.thumbnail) && m(r, "alt", s), L[0] & /*winners*/
4796
+ 1024 && !Ut(n.src, i = /*winner*/
4797
+ e[71]?.gameModel?.thumbnail) && m(n, "src", i), L[0] & /*winners*/
4798
+ 1024 && o !== (o = /*winner*/
4799
+ e[71]?.gameModel?.thumbnail) && m(n, "alt", o), L[0] & /*winners*/
4786
4800
  1024 && u !== (u = /*winner*/
4787
4801
  e[71].gameName + "") && te(l, u), L[0] & /*winners*/
4788
4802
  1024 && f !== (f = /*maskUsername*/
@@ -4801,80 +4815,80 @@ function dn(e) {
4801
4815
  (e[15] ? "CardWrapperAnimation" : "")) && m(t, "class", R);
4802
4816
  },
4803
4817
  d(S) {
4804
- S && k(t), e[49](null), N = !1, _();
4818
+ S && k(t), e[49](null), I = !1, v();
4805
4819
  }
4806
4820
  };
4807
4821
  }
4808
- function Js(e) {
4822
+ function es(e) {
4809
4823
  let t;
4810
- function n(s, o) {
4824
+ function r(o, s) {
4811
4825
  return (
4812
4826
  /*isLoading*/
4813
- s[13] || /*isLoadingCustomStyling*/
4814
- s[14] ? Vs : $s
4827
+ o[13] || /*isLoadingCustomStyling*/
4828
+ o[14] ? Qo : Zo
4815
4829
  );
4816
4830
  }
4817
- let r = n(e), i = r(e);
4831
+ let n = r(e), i = n(e);
4818
4832
  return {
4819
4833
  c() {
4820
4834
  t = C("div"), i.c();
4821
4835
  },
4822
- m(s, o) {
4823
- j(s, t, o), i.m(t, null), e[51](t);
4836
+ m(o, s) {
4837
+ j(o, t, s), i.m(t, null), e[51](t);
4824
4838
  },
4825
- p(s, o) {
4826
- r === (r = n(s)) && i ? i.p(s, o) : (i.d(1), i = r(s), i && (i.c(), i.m(t, null)));
4839
+ p(o, s) {
4840
+ n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
4827
4841
  },
4828
4842
  i: V,
4829
4843
  o: V,
4830
- d(s) {
4831
- s && k(t), i.d(), e[51](null);
4844
+ d(o) {
4845
+ o && k(t), i.d(), e[51](null);
4832
4846
  }
4833
4847
  };
4834
4848
  }
4835
- function qs(e, t, n) {
4836
- let r;
4837
- gr(e, ws, (h) => n(18, r = h));
4838
- let { endpoint: i = "" } = t, { session: s = "" } = t, { userid: o = "" } = t, { periodrecent: a = "Today" } = t, { periodtop: u = "Last7Days" } = t, { numberusersrecent: l = "20" } = t, { numberuserstop: c = "20" } = t, { amountlimit: d = "1" } = t, { vendorCategory: f = "All" } = t, { lang: p = "en" } = t, { isrecentavailable: g = "true" } = t, { istopavailable: b = "true" } = t, { defaultcurrency: A = "" } = t, { usercurrency: O = "" } = t, { clientstyling: M = "" } = t, { clientstylingurl: B = "" } = t, { enableautoscroll: P = "" } = t, { tabsorder: E = "" } = t, { translationurl: F = "" } = t, { winnersdatasources: R = "" } = t, { hascustomstyling: N = "false" } = t, { mbsource: _ } = t, { currencylocale: W = "" } = t, S, L, ee, q = [], U = 0, G = 0, qn = window.navigator.userAgent, wt, be, je, $, $e = !0, St = !1, Tt = !1, Bt, Be, Ve, ge, Ht = [], Xe = !1;
4839
- const Yn = () => {
4849
+ function ts(e, t, r) {
4850
+ let n;
4851
+ En(e, Ho, (h) => r(18, n = h));
4852
+ let { endpoint: i = "" } = t, { session: o = "" } = t, { userid: s = "" } = t, { periodrecent: a = "Today" } = t, { periodtop: u = "Last7Days" } = t, { numberusersrecent: l = "20" } = t, { numberuserstop: c = "20" } = t, { amountlimit: d = "1" } = t, { vendorCategory: f = "All" } = t, { lang: p = "en" } = t, { isrecentavailable: g = "true" } = t, { istopavailable: b = "true" } = t, { defaultcurrency: A = "" } = t, { usercurrency: O = "" } = t, { clientstyling: M = "" } = t, { clientstylingurl: B = "" } = t, { enableautoscroll: P = "" } = t, { tabsorder: E = "" } = t, { translationurl: F = "" } = t, { winnersdatasources: R = "" } = t, { hascustomstyling: I = "false" } = t, { mbsource: v } = t, { currencylocale: W = "" } = t, S, L, ee, q = [], U = 0, G = 0, en = window.navigator.userAgent, Tt, be, je, $, $e = !0, Bt = !1, Ht = !1, At, Be, Ve, ge, Pt = [], Xe = !1, Ct;
4853
+ const tn = () => {
4840
4854
  let h = new URL(F);
4841
- fetch(h.href).then((I) => I.json()).then((I) => {
4842
- Object.keys(I).forEach((Y) => {
4843
- qt(Y, I[Y]);
4855
+ fetch(h.href).then((N) => N.json()).then((N) => {
4856
+ Object.keys(N).forEach((Y) => {
4857
+ er(Y, N[Y]);
4844
4858
  });
4845
- }).catch((I) => {
4846
- console.log(I);
4859
+ }).catch((N) => {
4860
+ console.log(N);
4847
4861
  });
4848
4862
  };
4849
- Object.keys(Yt).forEach((h) => {
4850
- qt(h, Yt[h]);
4863
+ Object.keys(tr).forEach((h) => {
4864
+ er(h, tr[h]);
4851
4865
  });
4852
- const At = () => {
4853
- Ht = R.split(",").map(function(I) {
4854
- return I.trim();
4866
+ const Ot = () => {
4867
+ Pt = R.split(",").map(function(N) {
4868
+ return N.trim();
4855
4869
  });
4856
4870
  const h = new URL(`${i}/v1/casino/${ee}-winners`);
4857
- n(17, Xe = !0), h.searchParams.append("limit", ee == "recent" ? l : c), h.searchParams.append("specifiedCurrency", ge), h.searchParams.append("period", ee == "recent" ? a : u), h.searchParams.append("language", p), h.searchParams.append("amountLimit", d), h.searchParams.append("vendorCategory", f), Ht.forEach((I) => {
4858
- h.searchParams.append("dataSource", I);
4871
+ r(17, Xe = !0), h.searchParams.append("limit", ee == "recent" ? l : c), h.searchParams.append("specifiedCurrency", ge), h.searchParams.append("period", ee == "recent" ? a : u), h.searchParams.append("language", p), h.searchParams.append("amountLimit", d), h.searchParams.append("vendorCategory", f), Pt.forEach((N) => {
4872
+ h.searchParams.append("dataSource", N);
4859
4873
  }), setTimeout(
4860
4874
  () => {
4861
- fetch(h.href).then((I) => I.json()).then(async (I) => {
4862
- n(10, q = []), n(10, q = I.items.map((Y) => Y)), n(17, Xe = !1), await Wt(), nr(), Ct(), P == "true" && (clearInterval(Be), tr()), n(13, $e = !1), Kn();
4875
+ fetch(h.href).then((N) => N.json()).then(async (N) => {
4876
+ r(10, q = []), r(10, q = N.items.map((Y) => Y)), r(17, Xe = !1), await Gt(), sn(), It(), P == "true" && (clearInterval(Be), on()), r(13, $e = !1), rn();
4863
4877
  });
4864
4878
  },
4865
4879
  1e3
4866
4880
  );
4867
- }, Kn = () => {
4881
+ }, rn = () => {
4868
4882
  const h = $.getRootNode().host;
4869
4883
  h.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: h } }));
4870
4884
  }, ze = (h) => {
4871
- ee !== h && (n(10, q = []), n(9, ee = h), At());
4872
- }, er = (h) => h.slice(0, 2) + h.slice(2, -2).replace(/./g, "*") + h.slice(-2), Pt = (h, I, Y, Qe) => {
4885
+ ee !== h && (r(10, q = []), r(9, ee = h), Ot());
4886
+ }, nn = (h) => h.slice(0, 2) + h.slice(2, -2).replace(/./g, "*") + h.slice(-2), Mt = (h, N, Y, Qe) => {
4873
4887
  window.postMessage(
4874
4888
  {
4875
4889
  type: "OpenCasinoWinnersGame",
4876
4890
  gameId: h,
4877
- launchUrl: I,
4891
+ launchUrl: N,
4878
4892
  gameName: Y,
4879
4893
  subVendor: Qe
4880
4894
  },
@@ -4884,120 +4898,120 @@ function qs(e, t, n) {
4884
4898
  gameId: `${h}`,
4885
4899
  userId: `${je || "Not logged in"}`
4886
4900
  });
4887
- }, Ct = (h = 0) => {
4888
- const I = [...S.children];
4889
- Bt = I.length, I.forEach((Y, Qe) => {
4901
+ }, It = (h = 0) => {
4902
+ const N = [...S.children];
4903
+ At = N.length, N.forEach((Y, Qe) => {
4890
4904
  Y.style.transform = `translateX(${100 * (Qe - h)}%)`;
4891
4905
  }), setTimeout(
4892
4906
  () => {
4893
- n(15, Tt = !0);
4907
+ r(15, Ht = !0);
4894
4908
  },
4895
4909
  10
4896
4910
  );
4897
- }, tr = () => {
4898
- U = 0, G < Bt ? Be = setInterval(
4911
+ }, on = () => {
4912
+ U = 0, G < At ? Be = setInterval(
4899
4913
  () => {
4900
4914
  Ze();
4901
4915
  },
4902
4916
  3e3
4903
4917
  ) : clearInterval(Be);
4904
- }, Ot = () => {
4905
- Ct(U);
4906
- }, nr = async () => {
4907
- await Wt(), requestAnimationFrame(() => {
4918
+ }, Nt = () => {
4919
+ It(U);
4920
+ }, sn = async () => {
4921
+ await Gt(), requestAnimationFrame(() => {
4908
4922
  const h = L ? L.offsetWidth : 0;
4909
- S.offsetWidth && h ? n(11, G = Math.round(S.offsetWidth / h)) : n(11, G = 0);
4923
+ S.offsetWidth && h ? r(11, G = Math.round(S.offsetWidth / h)) : r(11, G = 0);
4910
4924
  });
4911
- }, Mt = () => {
4925
+ }, Lt = () => {
4912
4926
  if (G >= q.length)
4913
4927
  return;
4914
4928
  const h = q.length;
4915
- U === 0 ? U = h - G : U - G < 0 ? U = 0 : U = U - G, Ot();
4929
+ U === 0 ? U = h - G : U - G < 0 ? U = 0 : U = U - G, Nt();
4916
4930
  }, Ze = () => {
4917
4931
  if (G >= q.length)
4918
4932
  return;
4919
4933
  const h = q.length;
4920
- P == "true" && (U === h - G ? U = 0 : U++), P == "false" && (U === h - G ? U = 0 : h - G < U + G ? U = h - G : U += G), Ot();
4921
- }, rr = () => {
4922
- Ss(p);
4923
- }, ir = () => {
4924
- n(42, be = !0), je = o;
4925
- }, Nt = () => {
4926
- n(43, ge = be ? O : A);
4927
- }, sr = (h) => W ? Intl.NumberFormat(W, {
4934
+ P == "true" && (U === h - G ? U = 0 : U++), P == "false" && (U === h - G ? U = 0 : h - G < U + G ? U = h - G : U += G), Nt();
4935
+ }, an = () => {
4936
+ Ao(p);
4937
+ }, un = () => {
4938
+ r(42, be = !0), je = s;
4939
+ }, Rt = () => {
4940
+ r(43, ge = be ? O : A);
4941
+ }, ln = (h) => W ? Intl.NumberFormat(W, {
4928
4942
  minimumFractionDigits: 2,
4929
4943
  maximumFractionDigits: 2,
4930
4944
  style: "currency",
4931
4945
  currency: ge
4932
- }).format(h).replace(/\s/g, "") : `${h.toFixed(2)} ${be ? O : A}`, or = () => {
4933
- N === "true" && (!M && !B && $ && console.error("clientstyling or clientstylingurl mandatory if hascustomstyling is true"), !M && B && n(14, St = !0));
4934
- }, ar = () => {
4935
- n(16, Ve = E.split(",")), n(9, ee = Ve[0]), Nt(), n(13, $e = !1);
4946
+ }).format(h).replace(/\s/g, "") : `${h.toFixed(2)} ${be ? O : A}`, hn = () => {
4947
+ I === "true" && (!M && !B && $ && console.error("clientstyling or clientstylingurl mandatory if hascustomstyling is true"), !M && B && r(14, Bt = !0));
4948
+ }, cn = () => {
4949
+ r(16, Ve = E.split(",")), r(9, ee = Ve[0]), Rt(), r(13, $e = !1);
4936
4950
  };
4937
- Sr(() => (n(12, wt = Fs(qn)), () => {
4938
- clearInterval(Be);
4951
+ An(() => (r(12, Tt = jo(en)), () => {
4952
+ window.emMessageBus && Ct && Ct.unsubscribe(), clearInterval(Be);
4939
4953
  }));
4940
- const ur = () => ze("recent"), lr = () => ze("top"), hr = () => Mt(), cr = () => Ze(), fr = (h) => Pt(h.gameId, h.gameModel.launchUrl, h.gameModel.name, h.gameModel.subVendor);
4941
- function dr(h) {
4942
- ve[h ? "unshift" : "push"](() => {
4943
- L = h, n(8, L);
4954
+ const fn = () => ze("recent"), dn = () => ze("top"), mn = () => Lt(), pn = () => Ze(), bn = (h) => Mt(h.gameId, h.gameModel.launchUrl, h.gameModel.name, h.gameModel.subVendor);
4955
+ function gn(h) {
4956
+ _e[h ? "unshift" : "push"](() => {
4957
+ L = h, r(8, L);
4944
4958
  });
4945
4959
  }
4946
- function mr(h) {
4947
- ve[h ? "unshift" : "push"](() => {
4948
- S = h, n(7, S);
4960
+ function yn(h) {
4961
+ _e[h ? "unshift" : "push"](() => {
4962
+ S = h, r(7, S);
4949
4963
  });
4950
4964
  }
4951
- function pr(h) {
4952
- ve[h ? "unshift" : "push"](() => {
4953
- $ = h, n(6, $);
4965
+ function vn(h) {
4966
+ _e[h ? "unshift" : "push"](() => {
4967
+ $ = h, r(6, $);
4954
4968
  });
4955
4969
  }
4956
4970
  return e.$$set = (h) => {
4957
- "endpoint" in h && n(25, i = h.endpoint), "session" in h && n(26, s = h.session), "userid" in h && n(27, o = h.userid), "periodrecent" in h && n(28, a = h.periodrecent), "periodtop" in h && n(29, u = h.periodtop), "numberusersrecent" in h && n(30, l = h.numberusersrecent), "numberuserstop" in h && n(31, c = h.numberuserstop), "amountlimit" in h && n(32, d = h.amountlimit), "vendorCategory" in h && n(33, f = h.vendorCategory), "lang" in h && n(34, p = h.lang), "isrecentavailable" in h && n(0, g = h.isrecentavailable), "istopavailable" in h && n(1, b = h.istopavailable), "defaultcurrency" in h && n(35, A = h.defaultcurrency), "usercurrency" in h && n(36, O = h.usercurrency), "clientstyling" in h && n(2, M = h.clientstyling), "clientstylingurl" in h && n(3, B = h.clientstylingurl), "enableautoscroll" in h && n(4, P = h.enableautoscroll), "tabsorder" in h && n(37, E = h.tabsorder), "translationurl" in h && n(38, F = h.translationurl), "winnersdatasources" in h && n(39, R = h.winnersdatasources), "hascustomstyling" in h && n(40, N = h.hascustomstyling), "mbsource" in h && n(5, _ = h.mbsource), "currencylocale" in h && n(41, W = h.currencylocale);
4971
+ "endpoint" in h && r(25, i = h.endpoint), "session" in h && r(26, o = h.session), "userid" in h && r(27, s = h.userid), "periodrecent" in h && r(28, a = h.periodrecent), "periodtop" in h && r(29, u = h.periodtop), "numberusersrecent" in h && r(30, l = h.numberusersrecent), "numberuserstop" in h && r(31, c = h.numberuserstop), "amountlimit" in h && r(32, d = h.amountlimit), "vendorCategory" in h && r(33, f = h.vendorCategory), "lang" in h && r(34, p = h.lang), "isrecentavailable" in h && r(0, g = h.isrecentavailable), "istopavailable" in h && r(1, b = h.istopavailable), "defaultcurrency" in h && r(35, A = h.defaultcurrency), "usercurrency" in h && r(36, O = h.usercurrency), "clientstyling" in h && r(2, M = h.clientstyling), "clientstylingurl" in h && r(3, B = h.clientstylingurl), "enableautoscroll" in h && r(4, P = h.enableautoscroll), "tabsorder" in h && r(37, E = h.tabsorder), "translationurl" in h && r(38, F = h.translationurl), "winnersdatasources" in h && r(39, R = h.winnersdatasources), "hascustomstyling" in h && r(40, I = h.hascustomstyling), "mbsource" in h && r(5, v = h.mbsource), "currencylocale" in h && r(41, W = h.currencylocale);
4958
4972
  }, e.$$.update = () => {
4959
4973
  e.$$.dirty[0] & /*isrecentavailable, istopavailable, periodrecent, periodtop, numberusersrecent*/
4960
4974
  1879048195 | e.$$.dirty[1] & /*numberuserstop, amountlimit, vendorCategory, lang, tabsorder*/
4961
- 79 && g && b && a && u && l && c && d && f && p && E && ar(), e.$$.dirty[0] & /*session*/
4962
- 67108864 && s && ir(), e.$$.dirty[1] & /*isLoggedIn, usercurrency, defaultcurrency*/
4963
- 2096 && be && (O || A) && Nt(), e.$$.dirty[0] & /*endpoint*/
4975
+ 79 && g && b && a && u && l && c && d && f && p && E && cn(), e.$$.dirty[0] & /*session*/
4976
+ 67108864 && o && un(), e.$$.dirty[1] & /*isLoggedIn, usercurrency, defaultcurrency*/
4977
+ 2096 && be && (O || A) && Rt(), e.$$.dirty[0] & /*endpoint*/
4964
4978
  33554432 | e.$$.dirty[1] & /*winnersdatasources, currency*/
4965
- 4352 && i && R && ge && At(), e.$$.dirty[1] & /*lang*/
4966
- 8 && p && rr(), e.$$.dirty[1] & /*translationurl*/
4967
- 128 && F && Yn(), e.$$.dirty[1] & /*hascustomstyling*/
4968
- 512 && N && or(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4969
- 68 && M && $ && Gs($, M), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4970
- 72 && B && $ && Ds($, B), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
4971
- 96 && $ && ks($, `${_}.Style`);
4979
+ 4352 && i && R && ge && Ot(), e.$$.dirty[1] & /*lang*/
4980
+ 8 && p && an(), e.$$.dirty[1] & /*translationurl*/
4981
+ 128 && F && tn(), e.$$.dirty[1] & /*hascustomstyling*/
4982
+ 512 && I && hn(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4983
+ 68 && M && $ && $o($, M), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4984
+ 72 && B && $ && Vo($, B), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
4985
+ 96 && $ && Xo($, `${v}.Style`);
4972
4986
  }, [
4973
4987
  g,
4974
4988
  b,
4975
4989
  M,
4976
4990
  B,
4977
4991
  P,
4978
- _,
4992
+ v,
4979
4993
  $,
4980
4994
  S,
4981
4995
  L,
4982
4996
  ee,
4983
4997
  q,
4984
4998
  G,
4985
- wt,
4986
- $e,
4987
- St,
4988
4999
  Tt,
5000
+ $e,
5001
+ Bt,
5002
+ Ht,
4989
5003
  Ve,
4990
5004
  Xe,
4991
- r,
5005
+ n,
4992
5006
  ze,
4993
- er,
4994
- Pt,
5007
+ nn,
4995
5008
  Mt,
5009
+ Lt,
4996
5010
  Ze,
4997
- sr,
5011
+ ln,
4998
5012
  i,
4999
- s,
5000
5013
  o,
5014
+ s,
5001
5015
  a,
5002
5016
  u,
5003
5017
  l,
@@ -5010,28 +5024,28 @@ function qs(e, t, n) {
5010
5024
  E,
5011
5025
  F,
5012
5026
  R,
5013
- N,
5027
+ I,
5014
5028
  W,
5015
5029
  be,
5016
5030
  ge,
5017
- ur,
5018
- lr,
5019
- hr,
5020
- cr,
5021
- fr,
5022
- dr,
5023
- mr,
5024
- pr
5031
+ fn,
5032
+ dn,
5033
+ mn,
5034
+ pn,
5035
+ bn,
5036
+ gn,
5037
+ yn,
5038
+ vn
5025
5039
  ];
5026
5040
  }
5027
- class Ys extends Ir {
5041
+ class rs extends Un {
5028
5042
  constructor(t) {
5029
- super(), Mr(
5043
+ super(), Rn(
5030
5044
  this,
5031
5045
  t,
5032
- qs,
5033
- Js,
5034
- pn,
5046
+ ts,
5047
+ es,
5048
+ gr,
5035
5049
  {
5036
5050
  endpoint: 25,
5037
5051
  session: 26,
@@ -5057,7 +5071,7 @@ class Ys extends Ir {
5057
5071
  mbsource: 5,
5058
5072
  currencylocale: 41
5059
5073
  },
5060
- js,
5074
+ zo,
5061
5075
  [-1, -1, -1]
5062
5076
  );
5063
5077
  }
@@ -5200,22 +5214,22 @@ class Ys extends Ir {
5200
5214
  this.$$set({ currencylocale: t }), T();
5201
5215
  }
5202
5216
  }
5203
- Nr(Ys, { endpoint: {}, session: {}, userid: {}, periodrecent: {}, periodtop: {}, numberusersrecent: {}, numberuserstop: {}, amountlimit: {}, vendorCategory: {}, lang: {}, isrecentavailable: {}, istopavailable: {}, defaultcurrency: {}, usercurrency: {}, clientstyling: {}, clientstylingurl: {}, enableautoscroll: {}, tabsorder: {}, translationurl: {}, winnersdatasources: {}, hascustomstyling: {}, mbsource: {}, currencylocale: {} }, [], [], !0);
5217
+ Wn(rs, { endpoint: {}, session: {}, userid: {}, periodrecent: {}, periodtop: {}, numberusersrecent: {}, numberuserstop: {}, amountlimit: {}, vendorCategory: {}, lang: {}, isrecentavailable: {}, istopavailable: {}, defaultcurrency: {}, usercurrency: {}, clientstyling: {}, clientstylingurl: {}, enableautoscroll: {}, tabsorder: {}, translationurl: {}, winnersdatasources: {}, hascustomstyling: {}, mbsource: {}, currencylocale: {} }, [], [], !0);
5204
5218
  export {
5205
- Ys as C,
5206
- Ir as S,
5207
- yr as a,
5219
+ rs as C,
5220
+ Un as S,
5221
+ xn as a,
5208
5222
  j as b,
5209
- Nr as c,
5223
+ Wn as c,
5210
5224
  k as d,
5211
5225
  C as e,
5212
5226
  T as f,
5213
- ve as g,
5214
- Gs as h,
5215
- Mr as i,
5216
- Ds as j,
5217
- ks as k,
5227
+ Vo as g,
5228
+ Xo as h,
5229
+ Rn as i,
5230
+ _e as j,
5231
+ $o as k,
5218
5232
  V as n,
5219
- Sr as o,
5220
- pn as s
5233
+ An as o,
5234
+ gr as s
5221
5235
  };