@everymatrix/casino-winners 1.77.20 → 1.77.22

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,79 +1,79 @@
1
- var xr = Object.defineProperty, wr = Object.defineProperties;
2
- var Sr = Object.getOwnPropertyDescriptors;
3
- var Rt = Object.getOwnPropertySymbols;
4
- var Tr = Object.prototype.hasOwnProperty, Br = Object.prototype.propertyIsEnumerable;
5
- var Ye = (e, t, n) => t in e ? xr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Wt = (e, t) => {
6
- for (var n in t || (t = {}))
7
- Tr.call(t, n) && Ye(e, n, t[n]);
8
- if (Rt)
9
- for (var n of Rt(t))
10
- Br.call(t, n) && Ye(e, n, t[n]);
1
+ var Hn = Object.defineProperty, An = Object.defineProperties;
2
+ var On = Object.getOwnPropertyDescriptors;
3
+ var Dt = Object.getOwnPropertySymbols;
4
+ var Pn = Object.prototype.hasOwnProperty, Cn = Object.prototype.propertyIsEnumerable;
5
+ var et = (e, t, r) => t in e ? Hn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, jt = (e, t) => {
6
+ for (var r in t || (t = {}))
7
+ Pn.call(t, r) && et(e, r, t[r]);
8
+ if (Dt)
9
+ for (var r of Dt(t))
10
+ Cn.call(t, r) && et(e, r, t[r]);
11
11
  return e;
12
- }, Ut = (e, t) => wr(e, Sr(t));
13
- var X = (e, t, n) => (Ye(e, typeof t != "symbol" ? t + "" : t, n), n);
14
- var Ae = (e, t, n) => new Promise((r, i) => {
12
+ }, kt = (e, t) => An(e, On(t));
13
+ var X = (e, t, r) => (et(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var Ae = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (u) => {
16
16
  try {
17
- a(n.next(u));
17
+ a(r.next(u));
18
18
  } catch (l) {
19
19
  i(l);
20
20
  }
21
21
  }, s = (u) => {
22
22
  try {
23
- a(n.throw(u));
23
+ a(r.throw(u));
24
24
  } catch (l) {
25
25
  i(l);
26
26
  }
27
- }, a = (u) => u.done ? r(u.value) : Promise.resolve(u.value).then(o, s);
28
- a((n = n.apply(e, t)).next());
27
+ }, a = (u) => u.done ? n(u.value) : Promise.resolve(u.value).then(o, s);
28
+ a((r = r.apply(e, t)).next());
29
29
  });
30
30
  function Z() {
31
31
  }
32
- function vn(e) {
32
+ function wr(e) {
33
33
  return e();
34
34
  }
35
- function Ft() {
35
+ function $t() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
- function me(e) {
39
- e.forEach(vn);
38
+ function fe(e) {
39
+ e.forEach(wr);
40
40
  }
41
- function Et(e) {
41
+ function Bt(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function _n(e, t) {
44
+ function Sr(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
- let Pe;
48
- function Gt(e, t) {
49
- return e === t ? !0 : (Pe || (Pe = document.createElement("a")), Pe.href = t, e === Pe.href);
47
+ let Oe;
48
+ function Vt(e, t) {
49
+ return e === t ? !0 : (Oe || (Oe = document.createElement("a")), Oe.href = t, e === Oe.href);
50
50
  }
51
- function Hr(e) {
51
+ function Mn(e) {
52
52
  return Object.keys(e).length === 0;
53
53
  }
54
- function En(e, ...t) {
54
+ function Tr(e, ...t) {
55
55
  if (e == null) {
56
- for (const r of t)
57
- r(void 0);
56
+ for (const n of t)
57
+ n(void 0);
58
58
  return Z;
59
59
  }
60
- const n = e.subscribe(...t);
61
- return n.unsubscribe ? () => n.unsubscribe() : n;
60
+ const r = e.subscribe(...t);
61
+ return r.unsubscribe ? () => r.unsubscribe() : r;
62
62
  }
63
- function Ar(e, t, n) {
64
- e.$$.on_destroy.push(En(t, n));
63
+ function Nn(e, t, r) {
64
+ e.$$.on_destroy.push(Tr(t, r));
65
65
  }
66
- function S(e, t) {
66
+ function w(e, t) {
67
67
  e.appendChild(t);
68
68
  }
69
- function Pr(e, t, n) {
70
- const r = Cr(e);
71
- if (!r.getElementById(t)) {
72
- const i = C("style");
73
- i.id = t, i.textContent = n, Or(r, i);
69
+ function In(e, t, r) {
70
+ const n = Ln(e);
71
+ if (!n.getElementById(t)) {
72
+ const i = P("style");
73
+ i.id = t, i.textContent = r, Rn(n, i);
74
74
  }
75
75
  }
76
- function Cr(e) {
76
+ function Ln(e) {
77
77
  if (!e)
78
78
  return document;
79
79
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -83,151 +83,151 @@ function Cr(e) {
83
83
  t
84
84
  ) : e.ownerDocument;
85
85
  }
86
- function Or(e, t) {
87
- return S(
86
+ function Rn(e, t) {
87
+ return w(
88
88
  /** @type {Document} */
89
89
  e.head || e,
90
90
  t
91
91
  ), t.sheet;
92
92
  }
93
- function $(e, t, n) {
94
- e.insertBefore(t, n || null);
93
+ function $(e, t, r) {
94
+ e.insertBefore(t, r || null);
95
95
  }
96
96
  function j(e) {
97
97
  e.parentNode && e.parentNode.removeChild(e);
98
98
  }
99
- function xn(e, t) {
100
- for (let n = 0; n < e.length; n += 1)
101
- e[n] && e[n].d(t);
99
+ function Br(e, t) {
100
+ for (let r = 0; r < e.length; r += 1)
101
+ e[r] && e[r].d(t);
102
102
  }
103
- function C(e) {
103
+ function P(e) {
104
104
  return document.createElement(e);
105
105
  }
106
- function Ce(e) {
106
+ function Pe(e) {
107
107
  return document.createElementNS("http://www.w3.org/2000/svg", e);
108
108
  }
109
- function q(e) {
109
+ function Y(e) {
110
110
  return document.createTextNode(e);
111
111
  }
112
112
  function J() {
113
- return q(" ");
113
+ return Y(" ");
114
114
  }
115
- function xt() {
116
- return q("");
115
+ function Ht() {
116
+ return Y("");
117
117
  }
118
- function xe(e, t, n, r) {
119
- return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);
118
+ function Ee(e, t, r, n) {
119
+ return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
120
120
  }
121
- function d(e, t, n) {
122
- n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
121
+ function d(e, t, r) {
122
+ r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
123
123
  }
124
- function Q(e, t, n) {
125
- const r = t.toLowerCase();
126
- r in e ? e[r] = typeof e[r] == "boolean" && n === "" ? !0 : n : t in e ? e[t] = typeof e[t] == "boolean" && n === "" ? !0 : n : d(e, t, n);
124
+ function Q(e, t, r) {
125
+ const n = t.toLowerCase();
126
+ n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : d(e, t, r);
127
127
  }
128
- function Mr(e) {
128
+ function Wn(e) {
129
129
  return Array.from(e.childNodes);
130
130
  }
131
- function ne(e, t) {
131
+ function re(e, t) {
132
132
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
133
133
  t);
134
134
  }
135
- function Nr(e) {
135
+ function Un(e) {
136
136
  const t = {};
137
137
  return e.childNodes.forEach(
138
138
  /** @param {Element} node */
139
- (n) => {
140
- t[n.slot || "default"] = !0;
139
+ (r) => {
140
+ t[r.slot || "default"] = !0;
141
141
  }
142
142
  ), t;
143
143
  }
144
- let we;
145
- function _e(e) {
146
- we = e;
144
+ let xe;
145
+ function ve(e) {
146
+ xe = e;
147
147
  }
148
- function Ir() {
149
- if (!we)
148
+ function Fn() {
149
+ if (!xe)
150
150
  throw new Error("Function called outside component initialization");
151
- return we;
151
+ return xe;
152
152
  }
153
- function Lr(e) {
154
- Ir().$$.on_mount.push(e);
153
+ function Gn(e) {
154
+ Fn().$$.on_mount.push(e);
155
155
  }
156
- const se = [], Ee = [];
156
+ const se = [], _e = [];
157
157
  let ae = [];
158
- const Dt = [], wn = /* @__PURE__ */ Promise.resolve();
159
- let st = !1;
160
- function Sn() {
161
- st || (st = !0, wn.then(T));
158
+ const Xt = [], Hr = /* @__PURE__ */ Promise.resolve();
159
+ let lt = !1;
160
+ function Ar() {
161
+ lt || (lt = !0, Hr.then(S));
162
162
  }
163
- function jt() {
164
- return Sn(), wn;
163
+ function zt() {
164
+ return Ar(), Hr;
165
165
  }
166
- function at(e) {
166
+ function ht(e) {
167
167
  ae.push(e);
168
168
  }
169
- const Ke = /* @__PURE__ */ new Set();
169
+ const tt = /* @__PURE__ */ new Set();
170
170
  let ie = 0;
171
- function T() {
171
+ function S() {
172
172
  if (ie !== 0)
173
173
  return;
174
- const e = we;
174
+ const e = xe;
175
175
  do {
176
176
  try {
177
177
  for (; ie < se.length; ) {
178
178
  const t = se[ie];
179
- ie++, _e(t), Rr(t.$$);
179
+ ie++, ve(t), Dn(t.$$);
180
180
  }
181
181
  } catch (t) {
182
182
  throw se.length = 0, ie = 0, t;
183
183
  }
184
- for (_e(null), se.length = 0, ie = 0; Ee.length; )
185
- Ee.pop()();
184
+ for (ve(null), se.length = 0, ie = 0; _e.length; )
185
+ _e.pop()();
186
186
  for (let t = 0; t < ae.length; t += 1) {
187
- const n = ae[t];
188
- Ke.has(n) || (Ke.add(n), n());
187
+ const r = ae[t];
188
+ tt.has(r) || (tt.add(r), r());
189
189
  }
190
190
  ae.length = 0;
191
191
  } while (se.length);
192
- for (; Dt.length; )
193
- Dt.pop()();
194
- st = !1, Ke.clear(), _e(e);
192
+ for (; Xt.length; )
193
+ Xt.pop()();
194
+ lt = !1, tt.clear(), ve(e);
195
195
  }
196
- function Rr(e) {
196
+ function Dn(e) {
197
197
  if (e.fragment !== null) {
198
- e.update(), me(e.before_update);
198
+ e.update(), fe(e.before_update);
199
199
  const t = e.dirty;
200
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(at);
200
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ht);
201
201
  }
202
202
  }
203
- function Wr(e) {
204
- const t = [], n = [];
205
- ae.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), ae = t;
203
+ function jn(e) {
204
+ const t = [], r = [];
205
+ ae.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ae = t;
206
206
  }
207
- const Ur = /* @__PURE__ */ new Set();
208
- function Fr(e, t) {
209
- e && e.i && (Ur.delete(e), e.i(t));
207
+ const kn = /* @__PURE__ */ new Set();
208
+ function $n(e, t) {
209
+ e && e.i && (kn.delete(e), e.i(t));
210
210
  }
211
211
  function We(e) {
212
212
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
213
213
  }
214
- function Gr(e, t, n) {
215
- const { fragment: r, after_update: i } = e.$$;
216
- r && r.m(t, n), at(() => {
217
- const o = e.$$.on_mount.map(vn).filter(Et);
218
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : me(o), e.$$.on_mount = [];
219
- }), i.forEach(at);
214
+ function Vn(e, t, r) {
215
+ const { fragment: n, after_update: i } = e.$$;
216
+ n && n.m(t, r), ht(() => {
217
+ const o = e.$$.on_mount.map(wr).filter(Bt);
218
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : fe(o), e.$$.on_mount = [];
219
+ }), i.forEach(ht);
220
220
  }
221
- function Dr(e, t) {
222
- const n = e.$$;
223
- n.fragment !== null && (Wr(n.after_update), me(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
221
+ function Xn(e, t) {
222
+ const r = e.$$;
223
+ r.fragment !== null && (jn(r.after_update), fe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
224
224
  }
225
- function jr(e, t) {
226
- e.$$.dirty[0] === -1 && (se.push(e), Sn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
225
+ function zn(e, t) {
226
+ e.$$.dirty[0] === -1 && (se.push(e), Ar(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
227
227
  }
228
- function kr(e, t, n, r, i, o, s = null, a = [-1]) {
229
- const u = we;
230
- _e(e);
228
+ function Zn(e, t, r, n, i, o, s = null, a = [-1]) {
229
+ const u = xe;
230
+ ve(e);
231
231
  const l = e.$$ = {
232
232
  fragment: null,
233
233
  ctx: [],
@@ -235,7 +235,7 @@ function kr(e, t, n, r, i, o, s = null, a = [-1]) {
235
235
  props: o,
236
236
  update: Z,
237
237
  not_equal: i,
238
- bound: Ft(),
238
+ bound: $t(),
239
239
  // lifecycle
240
240
  on_mount: [],
241
241
  on_destroy: [],
@@ -244,29 +244,29 @@ function kr(e, t, n, r, i, o, s = null, a = [-1]) {
244
244
  after_update: [],
245
245
  context: new Map(t.context || (u ? u.$$.context : [])),
246
246
  // everything else
247
- callbacks: Ft(),
247
+ callbacks: $t(),
248
248
  dirty: a,
249
249
  skip_bound: !1,
250
250
  root: t.target || u.$$.root
251
251
  };
252
252
  s && s(l.root);
253
253
  let c = !1;
254
- if (l.ctx = n ? n(e, t.props || {}, (m, f, ...p) => {
255
- const g = p.length ? p[0] : f;
256
- return l.ctx && i(l.ctx[m], l.ctx[m] = g) && (!l.skip_bound && l.bound[m] && l.bound[m](g), c && jr(e, m)), f;
257
- }) : [], l.update(), c = !0, me(l.before_update), l.fragment = r ? r(l.ctx) : !1, t.target) {
254
+ if (l.ctx = r ? r(e, t.props || {}, (p, f, ...m) => {
255
+ const g = m.length ? m[0] : f;
256
+ return l.ctx && i(l.ctx[p], l.ctx[p] = g) && (!l.skip_bound && l.bound[p] && l.bound[p](g), c && zn(e, p)), f;
257
+ }) : [], l.update(), c = !0, fe(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
258
258
  if (t.hydrate) {
259
- const m = Mr(t.target);
260
- l.fragment && l.fragment.l(m), m.forEach(j);
259
+ const p = Wn(t.target);
260
+ l.fragment && l.fragment.l(p), p.forEach(j);
261
261
  } else
262
262
  l.fragment && l.fragment.c();
263
- t.intro && Fr(e.$$.fragment), Gr(e, t.target, t.anchor), T();
263
+ t.intro && $n(e.$$.fragment), Vn(e, t.target, t.anchor), S();
264
264
  }
265
- _e(u);
265
+ ve(u);
266
266
  }
267
- let Tn;
268
- typeof HTMLElement == "function" && (Tn = class extends HTMLElement {
269
- constructor(t, n, r) {
267
+ let Or;
268
+ typeof HTMLElement == "function" && (Or = class extends HTMLElement {
269
+ constructor(t, r, n) {
270
270
  super();
271
271
  /** The Svelte component constructor */
272
272
  X(this, "$$ctor");
@@ -286,19 +286,19 @@ typeof HTMLElement == "function" && (Tn = class extends HTMLElement {
286
286
  X(this, "$$l", {});
287
287
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
288
288
  X(this, "$$l_u", /* @__PURE__ */ new Map());
289
- this.$$ctor = t, this.$$s = n, r && this.attachShadow({ mode: "open" });
289
+ this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
290
290
  }
291
- addEventListener(t, n, r) {
292
- if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(n), this.$$c) {
293
- const i = this.$$c.$on(t, n);
294
- this.$$l_u.set(n, i);
291
+ addEventListener(t, r, n) {
292
+ if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(r), this.$$c) {
293
+ const i = this.$$c.$on(t, r);
294
+ this.$$l_u.set(r, i);
295
295
  }
296
- super.addEventListener(t, n, r);
296
+ super.addEventListener(t, r, n);
297
297
  }
298
- removeEventListener(t, n, r) {
299
- if (super.removeEventListener(t, n, r), this.$$c) {
300
- const i = this.$$l_u.get(n);
301
- i && (i(), this.$$l_u.delete(n));
298
+ removeEventListener(t, r, n) {
299
+ if (super.removeEventListener(t, r, n), this.$$c) {
300
+ const i = this.$$l_u.get(r);
301
+ i && (i(), this.$$l_u.delete(r));
302
302
  }
303
303
  }
304
304
  connectedCallback() {
@@ -309,7 +309,7 @@ typeof HTMLElement == "function" && (Tn = class extends HTMLElement {
309
309
  let s;
310
310
  return {
311
311
  c: function() {
312
- s = C("slot"), o !== "default" && d(s, "name", o);
312
+ s = P("slot"), o !== "default" && d(s, "name", o);
313
313
  },
314
314
  /**
315
315
  * @param {HTMLElement} target
@@ -326,9 +326,9 @@ typeof HTMLElement == "function" && (Tn = class extends HTMLElement {
326
326
  };
327
327
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
328
328
  return;
329
- const n = {}, r = Nr(this);
329
+ const r = {}, n = Un(this);
330
330
  for (const o of this.$$s)
331
- o in r && (n[o] = [t(o)]);
331
+ o in n && (r[o] = [t(o)]);
332
332
  for (const o of this.attributes) {
333
333
  const s = this.$$g_p(o.name);
334
334
  s in this.$$d || (this.$$d[s] = Ne(s, o.value, this.$$p_d, "toProp"));
@@ -337,8 +337,8 @@ typeof HTMLElement == "function" && (Tn = class extends HTMLElement {
337
337
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
338
338
  this.$$c = new this.$$ctor({
339
339
  target: this.shadowRoot || this,
340
- props: Ut(Wt({}, this.$$d), {
341
- $$slots: n,
340
+ props: kt(jt({}, this.$$d), {
341
+ $$slots: r,
342
342
  $$scope: {
343
343
  ctx: []
344
344
  }
@@ -370,9 +370,9 @@ typeof HTMLElement == "function" && (Tn = class extends HTMLElement {
370
370
  }
371
371
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
372
372
  // and setting attributes through setAttribute etc, this is helpful
373
- attributeChangedCallback(t, n, r) {
373
+ attributeChangedCallback(t, r, n) {
374
374
  var i;
375
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = Ne(t, r, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
375
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = Ne(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
376
376
  }
377
377
  disconnectedCallback() {
378
378
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -381,16 +381,16 @@ typeof HTMLElement == "function" && (Tn = class extends HTMLElement {
381
381
  }
382
382
  $$g_p(t) {
383
383
  return Object.keys(this.$$p_d).find(
384
- (n) => this.$$p_d[n].attribute === t || !this.$$p_d[n].attribute && n.toLowerCase() === t
384
+ (r) => this.$$p_d[r].attribute === t || !this.$$p_d[r].attribute && r.toLowerCase() === t
385
385
  ) || t;
386
386
  }
387
387
  });
388
- function Ne(e, t, n, r) {
388
+ function Ne(e, t, r, n) {
389
389
  var o;
390
- const i = (o = n[e]) == null ? void 0 : o.type;
391
- if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !r || !n[e])
390
+ const i = (o = r[e]) == null ? void 0 : o.type;
391
+ if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
392
392
  return t;
393
- if (r === "toAttribute")
393
+ if (n === "toAttribute")
394
394
  switch (i) {
395
395
  case "Object":
396
396
  case "Array":
@@ -415,10 +415,10 @@ function Ne(e, t, n, r) {
415
415
  return t;
416
416
  }
417
417
  }
418
- function $r(e, t, n, r, i, o) {
419
- let s = class extends Tn {
418
+ function Qn(e, t, r, n, i, o) {
419
+ let s = class extends Or {
420
420
  constructor() {
421
- super(e, n, i), this.$$p_d = t;
421
+ super(e, r, i), this.$$p_d = t;
422
422
  }
423
423
  static get observedAttributes() {
424
424
  return Object.keys(t).map(
@@ -436,7 +436,7 @@ function $r(e, t, n, r, i, o) {
436
436
  u = Ne(a, u, t), this.$$d[a] = u, (l = this.$$c) == null || l.$set({ [a]: u });
437
437
  }
438
438
  });
439
- }), r.forEach((a) => {
439
+ }), n.forEach((a) => {
440
440
  Object.defineProperty(s.prototype, a, {
441
441
  get() {
442
442
  var u;
@@ -446,7 +446,7 @@ function $r(e, t, n, r, i, o) {
446
446
  }), e.element = /** @type {any} */
447
447
  s, s;
448
448
  }
449
- class Vr {
449
+ class Jn {
450
450
  constructor() {
451
451
  /**
452
452
  * ### PRIVATE API
@@ -467,7 +467,7 @@ class Vr {
467
467
  }
468
468
  /** @returns {void} */
469
469
  $destroy() {
470
- Dr(this, 1), this.$destroy = Z;
470
+ Xn(this, 1), this.$destroy = Z;
471
471
  }
472
472
  /**
473
473
  * @template {Extract<keyof Events, string>} K
@@ -475,13 +475,13 @@ class Vr {
475
475
  * @param {((e: Events[K]) => void) | null | undefined} callback
476
476
  * @returns {() => void}
477
477
  */
478
- $on(t, n) {
479
- if (!Et(n))
478
+ $on(t, r) {
479
+ if (!Bt(r))
480
480
  return Z;
481
- const r = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
482
- return r.push(n), () => {
483
- const i = r.indexOf(n);
484
- i !== -1 && r.splice(i, 1);
481
+ const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
482
+ return n.push(r), () => {
483
+ const i = n.indexOf(r);
484
+ i !== -1 && n.splice(i, 1);
485
485
  };
486
486
  }
487
487
  /**
@@ -489,24 +489,24 @@ class Vr {
489
489
  * @returns {void}
490
490
  */
491
491
  $set(t) {
492
- this.$$set && !Hr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
492
+ this.$$set && !Mn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
493
493
  }
494
494
  }
495
- const Xr = "4";
496
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Xr);
495
+ const qn = "4";
496
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(qn);
497
497
  const oe = [];
498
- function zr(e, t) {
498
+ function Yn(e, t) {
499
499
  return {
500
- subscribe: Ge(e, t).subscribe
500
+ subscribe: De(e, t).subscribe
501
501
  };
502
502
  }
503
- function Ge(e, t = Z) {
504
- let n;
505
- const r = /* @__PURE__ */ new Set();
503
+ function De(e, t = Z) {
504
+ let r;
505
+ const n = /* @__PURE__ */ new Set();
506
506
  function i(a) {
507
- if (_n(e, a) && (e = a, n)) {
507
+ if (Sr(e, a) && (e = a, r)) {
508
508
  const u = !oe.length;
509
- for (const l of r)
509
+ for (const l of n)
510
510
  l[1](), oe.push(l, e);
511
511
  if (u) {
512
512
  for (let l = 0; l < oe.length; l += 2)
@@ -520,32 +520,32 @@ function Ge(e, t = Z) {
520
520
  }
521
521
  function s(a, u = Z) {
522
522
  const l = [a, u];
523
- return r.add(l), r.size === 1 && (n = t(i, o) || Z), a(e), () => {
524
- r.delete(l), r.size === 0 && n && (n(), n = null);
523
+ return n.add(l), n.size === 1 && (r = t(i, o) || Z), a(e), () => {
524
+ n.delete(l), n.size === 0 && r && (r(), r = null);
525
525
  };
526
526
  }
527
527
  return { set: i, update: o, subscribe: s };
528
528
  }
529
- function de(e, t, n) {
530
- const r = !Array.isArray(e), i = r ? [e] : e;
529
+ function pe(e, t, r) {
530
+ const n = !Array.isArray(e), i = n ? [e] : e;
531
531
  if (!i.every(Boolean))
532
532
  throw new Error("derived() expects stores as input, got a falsy value");
533
533
  const o = t.length < 2;
534
- return zr(n, (s, a) => {
534
+ return Yn(r, (s, a) => {
535
535
  let u = !1;
536
536
  const l = [];
537
- let c = 0, m = Z;
537
+ let c = 0, p = Z;
538
538
  const f = () => {
539
539
  if (c)
540
540
  return;
541
- m();
542
- const g = t(r ? l[0] : l, s, a);
543
- o ? s(g) : m = Et(g) ? g : Z;
544
- }, p = i.map(
545
- (g, b) => En(
541
+ p();
542
+ const g = t(n ? l[0] : l, s, a);
543
+ o ? s(g) : p = Bt(g) ? g : Z;
544
+ }, m = i.map(
545
+ (g, b) => Tr(
546
546
  g,
547
- (A) => {
548
- l[b] = A, c &= ~(1 << b), u && f();
547
+ (H) => {
548
+ l[b] = H, c &= ~(1 << b), u && f();
549
549
  },
550
550
  () => {
551
551
  c |= 1 << b;
@@ -553,203 +553,157 @@ function de(e, t, n) {
553
553
  )
554
554
  );
555
555
  return u = !0, f(), function() {
556
- me(p), m(), u = !1;
556
+ fe(m), p(), u = !1;
557
557
  };
558
558
  });
559
559
  }
560
- function Zr(e) {
560
+ function Kn(e) {
561
561
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
562
562
  }
563
- var Qr = function(t) {
564
- return Jr(t) && !qr(t);
563
+ var ei = function(t) {
564
+ return ti(t) && !ri(t);
565
565
  };
566
- function Jr(e) {
566
+ function ti(e) {
567
567
  return !!e && typeof e == "object";
568
568
  }
569
- function qr(e) {
569
+ function ri(e) {
570
570
  var t = Object.prototype.toString.call(e);
571
- return t === "[object RegExp]" || t === "[object Date]" || ei(e);
571
+ return t === "[object RegExp]" || t === "[object Date]" || oi(e);
572
572
  }
573
- var Yr = typeof Symbol == "function" && Symbol.for, Kr = Yr ? Symbol.for("react.element") : 60103;
574
- function ei(e) {
575
- return e.$$typeof === Kr;
573
+ var ni = typeof Symbol == "function" && Symbol.for, ii = ni ? Symbol.for("react.element") : 60103;
574
+ function oi(e) {
575
+ return e.$$typeof === ii;
576
576
  }
577
- function ti(e) {
577
+ function si(e) {
578
578
  return Array.isArray(e) ? [] : {};
579
579
  }
580
- function Se(e, t) {
581
- return t.clone !== !1 && t.isMergeableObject(e) ? le(ti(e), e, t) : e;
580
+ function we(e, t) {
581
+ return t.clone !== !1 && t.isMergeableObject(e) ? ue(si(e), e, t) : e;
582
582
  }
583
- function ni(e, t, n) {
584
- return e.concat(t).map(function(r) {
585
- return Se(r, n);
583
+ function ai(e, t, r) {
584
+ return e.concat(t).map(function(n) {
585
+ return we(n, r);
586
586
  });
587
587
  }
588
- function ri(e, t) {
588
+ function ui(e, t) {
589
589
  if (!t.customMerge)
590
- return le;
591
- var n = t.customMerge(e);
592
- return typeof n == "function" ? n : le;
590
+ return ue;
591
+ var r = t.customMerge(e);
592
+ return typeof r == "function" ? r : ue;
593
593
  }
594
- function ii(e) {
594
+ function li(e) {
595
595
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
596
596
  return Object.propertyIsEnumerable.call(e, t);
597
597
  }) : [];
598
598
  }
599
- function kt(e) {
600
- return Object.keys(e).concat(ii(e));
599
+ function Zt(e) {
600
+ return Object.keys(e).concat(li(e));
601
601
  }
602
- function Bn(e, t) {
602
+ function Pr(e, t) {
603
603
  try {
604
604
  return t in e;
605
- } catch (n) {
605
+ } catch (r) {
606
606
  return !1;
607
607
  }
608
608
  }
609
- function oi(e, t) {
610
- return Bn(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
609
+ function hi(e, t) {
610
+ return Pr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
611
611
  }
612
- function si(e, t, n) {
613
- var r = {};
614
- return n.isMergeableObject(e) && kt(e).forEach(function(i) {
615
- r[i] = Se(e[i], n);
616
- }), kt(t).forEach(function(i) {
617
- oi(e, i) || (Bn(e, i) && n.isMergeableObject(t[i]) ? r[i] = ri(i, n)(e[i], t[i], n) : r[i] = Se(t[i], n));
618
- }), r;
619
- }
620
- function le(e, t, n) {
621
- n = n || {}, n.arrayMerge = n.arrayMerge || ni, n.isMergeableObject = n.isMergeableObject || Qr, n.cloneUnlessOtherwiseSpecified = Se;
622
- var r = Array.isArray(t), i = Array.isArray(e), o = r === i;
623
- return o ? r ? n.arrayMerge(e, t, n) : si(e, t, n) : Se(t, n);
624
- }
625
- le.all = function(t, n) {
612
+ function ci(e, t, r) {
613
+ var n = {};
614
+ return r.isMergeableObject(e) && Zt(e).forEach(function(i) {
615
+ n[i] = we(e[i], r);
616
+ }), Zt(t).forEach(function(i) {
617
+ hi(e, i) || (Pr(e, i) && r.isMergeableObject(t[i]) ? n[i] = ui(i, r)(e[i], t[i], r) : n[i] = we(t[i], r));
618
+ }), n;
619
+ }
620
+ function ue(e, t, r) {
621
+ r = r || {}, r.arrayMerge = r.arrayMerge || ai, r.isMergeableObject = r.isMergeableObject || ei, r.cloneUnlessOtherwiseSpecified = we;
622
+ var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
623
+ return o ? n ? r.arrayMerge(e, t, r) : ci(e, t, r) : we(t, r);
624
+ }
625
+ ue.all = function(t, r) {
626
626
  if (!Array.isArray(t))
627
627
  throw new Error("first argument should be an array");
628
- return t.reduce(function(r, i) {
629
- return le(r, i, n);
628
+ return t.reduce(function(n, i) {
629
+ return ue(n, i, r);
630
630
  }, {});
631
631
  };
632
- var ai = le, ui = ai;
633
- const li = /* @__PURE__ */ Zr(ui);
634
- /*! *****************************************************************************
635
- Copyright (c) Microsoft Corporation.
636
-
637
- Permission to use, copy, modify, and/or distribute this software for any
638
- purpose with or without fee is hereby granted.
639
-
640
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
641
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
642
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
643
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
644
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
645
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
646
- PERFORMANCE OF THIS SOFTWARE.
647
- ***************************************************************************** */
648
- var ut = function(e, t) {
649
- return ut = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
650
- n.__proto__ = r;
651
- } || function(n, r) {
652
- for (var i in r)
653
- Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]);
654
- }, ut(e, t);
632
+ var fi = ue, pi = fi;
633
+ const di = /* @__PURE__ */ Kn(pi);
634
+ var ct = function(e, t) {
635
+ return ct = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
636
+ r.__proto__ = n;
637
+ } || function(r, n) {
638
+ for (var i in n)
639
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
640
+ }, ct(e, t);
655
641
  };
656
- function K(e, t) {
642
+ function je(e, t) {
657
643
  if (typeof t != "function" && t !== null)
658
644
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
659
- ut(e, t);
660
- function n() {
645
+ ct(e, t);
646
+ function r() {
661
647
  this.constructor = e;
662
648
  }
663
- e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
664
- }
665
- var w = function() {
666
- return w = Object.assign || function(t) {
667
- for (var n, r = 1, i = arguments.length; r < i; r++) {
668
- n = arguments[r];
669
- for (var o in n)
670
- Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
649
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
650
+ }
651
+ var q = function() {
652
+ return q = Object.assign || function(t) {
653
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
654
+ r = arguments[n];
655
+ for (var o in r)
656
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
671
657
  }
672
658
  return t;
673
- }, w.apply(this, arguments);
659
+ }, q.apply(this, arguments);
674
660
  };
675
- function hi(e, t) {
676
- var n = {};
677
- for (var r in e)
678
- Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
661
+ function mi(e, t) {
662
+ var r = {};
663
+ for (var n in e)
664
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
679
665
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
680
- for (var i = 0, r = Object.getOwnPropertySymbols(e); i < r.length; i++)
681
- t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
682
- return n;
683
- }
684
- function lt(e) {
685
- var t = typeof Symbol == "function" && Symbol.iterator, n = t && e[t], r = 0;
686
- if (n)
687
- return n.call(e);
688
- if (e && typeof e.length == "number")
689
- return {
690
- next: function() {
691
- return e && r >= e.length && (e = void 0), { value: e && e[r++], done: !e };
692
- }
693
- };
694
- throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
695
- }
696
- function ht(e, t) {
697
- var n = typeof Symbol == "function" && e[Symbol.iterator];
698
- if (!n)
699
- return e;
700
- var r = n.call(e), i, o = [], s;
701
- try {
702
- for (; (t === void 0 || t-- > 0) && !(i = r.next()).done; )
703
- o.push(i.value);
704
- } catch (a) {
705
- s = { error: a };
706
- } finally {
707
- try {
708
- i && !i.done && (n = r.return) && n.call(r);
709
- } finally {
710
- if (s)
711
- throw s.error;
712
- }
713
- }
714
- return o;
666
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
667
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
668
+ return r;
715
669
  }
716
- function ue(e, t, n) {
717
- if (n || arguments.length === 2)
718
- for (var r = 0, i = t.length, o; r < i; r++)
719
- (o || !(r in t)) && (o || (o = Array.prototype.slice.call(t, 0, r)), o[r] = t[r]);
720
- return e.concat(o || t);
670
+ function rt(e, t, r) {
671
+ if (r || arguments.length === 2)
672
+ for (var n = 0, i = t.length, o; n < i; n++)
673
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
674
+ return e.concat(o || Array.prototype.slice.call(t));
721
675
  }
722
- function et(e, t) {
723
- var n = t && t.cache ? t.cache : gi, r = t && t.serializer ? t.serializer : pi, i = t && t.strategy ? t.strategy : mi;
676
+ function nt(e, t) {
677
+ var r = t && t.cache ? t.cache : xi, n = t && t.serializer ? t.serializer : _i, i = t && t.strategy ? t.strategy : yi;
724
678
  return i(e, {
725
- cache: n,
726
- serializer: r
679
+ cache: r,
680
+ serializer: n
727
681
  });
728
682
  }
729
- function ci(e) {
683
+ function bi(e) {
730
684
  return e == null || typeof e == "number" || typeof e == "boolean";
731
685
  }
732
- function fi(e, t, n, r) {
733
- var i = ci(r) ? r : n(r), o = t.get(i);
734
- return typeof o == "undefined" && (o = e.call(this, r), t.set(i, o)), o;
686
+ function gi(e, t, r, n) {
687
+ var i = bi(n) ? n : r(n), o = t.get(i);
688
+ return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
735
689
  }
736
- function Hn(e, t, n) {
737
- var r = Array.prototype.slice.call(arguments, 3), i = n(r), o = t.get(i);
738
- return typeof o == "undefined" && (o = e.apply(this, r), t.set(i, o)), o;
690
+ function Cr(e, t, r) {
691
+ var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
692
+ return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
739
693
  }
740
- function An(e, t, n, r, i) {
741
- return n.bind(t, e, r, i);
694
+ function Mr(e, t, r, n, i) {
695
+ return r.bind(t, e, n, i);
742
696
  }
743
- function mi(e, t) {
744
- var n = e.length === 1 ? fi : Hn;
745
- return An(e, this, n, t.cache.create(), t.serializer);
697
+ function yi(e, t) {
698
+ var r = e.length === 1 ? gi : Cr;
699
+ return Mr(e, this, r, t.cache.create(), t.serializer);
746
700
  }
747
- function di(e, t) {
748
- return An(e, this, Hn, t.cache.create(), t.serializer);
701
+ function vi(e, t) {
702
+ return Mr(e, this, Cr, t.cache.create(), t.serializer);
749
703
  }
750
- var pi = function() {
704
+ var _i = function() {
751
705
  return JSON.stringify(arguments);
752
- }, bi = (
706
+ }, Ei = (
753
707
  /** @class */
754
708
  function() {
755
709
  function e() {
@@ -757,72 +711,82 @@ var pi = function() {
757
711
  }
758
712
  return e.prototype.get = function(t) {
759
713
  return this.cache[t];
760
- }, e.prototype.set = function(t, n) {
761
- this.cache[t] = n;
714
+ }, e.prototype.set = function(t, r) {
715
+ this.cache[t] = r;
762
716
  }, e;
763
717
  }()
764
- ), gi = {
718
+ ), xi = {
765
719
  create: function() {
766
- return new bi();
720
+ return new Ei();
767
721
  }
768
- }, tt = {
769
- variadic: di
770
- }, y;
722
+ }, it = {
723
+ variadic: vi
724
+ }, Ue = function() {
725
+ return Ue = Object.assign || function(t) {
726
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
727
+ r = arguments[n];
728
+ for (var o in r)
729
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
730
+ }
731
+ return t;
732
+ }, Ue.apply(this, arguments);
733
+ };
734
+ var y;
771
735
  (function(e) {
772
736
  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";
773
737
  })(y || (y = {}));
774
- var H;
738
+ var B;
775
739
  (function(e) {
776
740
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
777
- })(H || (H = {}));
778
- var he;
741
+ })(B || (B = {}));
742
+ var le;
779
743
  (function(e) {
780
744
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
781
- })(he || (he = {}));
782
- function $t(e) {
783
- return e.type === H.literal;
745
+ })(le || (le = {}));
746
+ function Qt(e) {
747
+ return e.type === B.literal;
784
748
  }
785
- function yi(e) {
786
- return e.type === H.argument;
749
+ function wi(e) {
750
+ return e.type === B.argument;
787
751
  }
788
- function Pn(e) {
789
- return e.type === H.number;
752
+ function Nr(e) {
753
+ return e.type === B.number;
790
754
  }
791
- function Cn(e) {
792
- return e.type === H.date;
755
+ function Ir(e) {
756
+ return e.type === B.date;
793
757
  }
794
- function On(e) {
795
- return e.type === H.time;
758
+ function Lr(e) {
759
+ return e.type === B.time;
796
760
  }
797
- function Mn(e) {
798
- return e.type === H.select;
761
+ function Rr(e) {
762
+ return e.type === B.select;
799
763
  }
800
- function Nn(e) {
801
- return e.type === H.plural;
764
+ function Wr(e) {
765
+ return e.type === B.plural;
802
766
  }
803
- function vi(e) {
804
- return e.type === H.pound;
767
+ function Si(e) {
768
+ return e.type === B.pound;
805
769
  }
806
- function In(e) {
807
- return e.type === H.tag;
770
+ function Ur(e) {
771
+ return e.type === B.tag;
808
772
  }
809
- function Ln(e) {
810
- return !!(e && typeof e == "object" && e.type === he.number);
773
+ function Fr(e) {
774
+ return !!(e && typeof e == "object" && e.type === le.number);
811
775
  }
812
- function ct(e) {
813
- return !!(e && typeof e == "object" && e.type === he.dateTime);
776
+ function ft(e) {
777
+ return !!(e && typeof e == "object" && e.type === le.dateTime);
814
778
  }
815
- var Rn = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, _i = /(?:[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;
816
- function Ei(e) {
779
+ var Gr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Ti = /(?:[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;
780
+ function Bi(e) {
817
781
  var t = {};
818
- return e.replace(_i, function(n) {
819
- var r = n.length;
820
- switch (n[0]) {
782
+ return e.replace(Ti, function(r) {
783
+ var n = r.length;
784
+ switch (r[0]) {
821
785
  case "G":
822
- t.era = r === 4 ? "long" : r === 5 ? "narrow" : "short";
786
+ t.era = n === 4 ? "long" : n === 5 ? "narrow" : "short";
823
787
  break;
824
788
  case "y":
825
- t.year = r === 2 ? "2-digit" : "numeric";
789
+ t.year = n === 2 ? "2-digit" : "numeric";
826
790
  break;
827
791
  case "Y":
828
792
  case "u":
@@ -834,30 +798,30 @@ function Ei(e) {
834
798
  throw new RangeError("`q/Q` (quarter) patterns are not supported");
835
799
  case "M":
836
800
  case "L":
837
- t.month = ["numeric", "2-digit", "short", "long", "narrow"][r - 1];
801
+ t.month = ["numeric", "2-digit", "short", "long", "narrow"][n - 1];
838
802
  break;
839
803
  case "w":
840
804
  case "W":
841
805
  throw new RangeError("`w/W` (week) patterns are not supported");
842
806
  case "d":
843
- t.day = ["numeric", "2-digit"][r - 1];
807
+ t.day = ["numeric", "2-digit"][n - 1];
844
808
  break;
845
809
  case "D":
846
810
  case "F":
847
811
  case "g":
848
812
  throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");
849
813
  case "E":
850
- t.weekday = r === 4 ? "long" : r === 5 ? "narrow" : "short";
814
+ t.weekday = n === 4 ? "long" : n === 5 ? "narrow" : "short";
851
815
  break;
852
816
  case "e":
853
- if (r < 4)
817
+ if (n < 4)
854
818
  throw new RangeError("`e..eee` (weekday) patterns are not supported");
855
- t.weekday = ["short", "long", "narrow", "short"][r - 4];
819
+ t.weekday = ["short", "long", "narrow", "short"][n - 4];
856
820
  break;
857
821
  case "c":
858
- if (r < 4)
822
+ if (n < 4)
859
823
  throw new RangeError("`c..ccc` (weekday) patterns are not supported");
860
- t.weekday = ["short", "long", "narrow", "short"][r - 4];
824
+ t.weekday = ["short", "long", "narrow", "short"][n - 4];
861
825
  break;
862
826
  case "a":
863
827
  t.hour12 = !0;
@@ -866,32 +830,32 @@ function Ei(e) {
866
830
  case "B":
867
831
  throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");
868
832
  case "h":
869
- t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][r - 1];
833
+ t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][n - 1];
870
834
  break;
871
835
  case "H":
872
- t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][r - 1];
836
+ t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][n - 1];
873
837
  break;
874
838
  case "K":
875
- t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][r - 1];
839
+ t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][n - 1];
876
840
  break;
877
841
  case "k":
878
- t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][r - 1];
842
+ t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][n - 1];
879
843
  break;
880
844
  case "j":
881
845
  case "J":
882
846
  case "C":
883
847
  throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");
884
848
  case "m":
885
- t.minute = ["numeric", "2-digit"][r - 1];
849
+ t.minute = ["numeric", "2-digit"][n - 1];
886
850
  break;
887
851
  case "s":
888
- t.second = ["numeric", "2-digit"][r - 1];
852
+ t.second = ["numeric", "2-digit"][n - 1];
889
853
  break;
890
854
  case "S":
891
855
  case "A":
892
856
  throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");
893
857
  case "z":
894
- t.timeZoneName = r < 4 ? "short" : "long";
858
+ t.timeZoneName = n < 4 ? "short" : "long";
895
859
  break;
896
860
  case "Z":
897
861
  case "O":
@@ -904,36 +868,46 @@ function Ei(e) {
904
868
  return "";
905
869
  }), t;
906
870
  }
907
- var xi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
908
- function wi(e) {
871
+ var O = function() {
872
+ return O = Object.assign || function(t) {
873
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
874
+ r = arguments[n];
875
+ for (var o in r)
876
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
877
+ }
878
+ return t;
879
+ }, O.apply(this, arguments);
880
+ };
881
+ var Hi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
882
+ function Ai(e) {
909
883
  if (e.length === 0)
910
884
  throw new Error("Number skeleton cannot be empty");
911
- for (var t = e.split(xi).filter(function(f) {
885
+ for (var t = e.split(Hi).filter(function(f) {
912
886
  return f.length > 0;
913
- }), n = [], r = 0, i = t; r < i.length; r++) {
914
- var o = i[r], s = o.split("/");
887
+ }), r = [], n = 0, i = t; n < i.length; n++) {
888
+ var o = i[n], s = o.split("/");
915
889
  if (s.length === 0)
916
890
  throw new Error("Invalid number skeleton");
917
891
  for (var a = s[0], u = s.slice(1), l = 0, c = u; l < c.length; l++) {
918
- var m = c[l];
919
- if (m.length === 0)
892
+ var p = c[l];
893
+ if (p.length === 0)
920
894
  throw new Error("Invalid number skeleton");
921
895
  }
922
- n.push({ stem: a, options: u });
896
+ r.push({ stem: a, options: u });
923
897
  }
924
- return n;
898
+ return r;
925
899
  }
926
- function Si(e) {
900
+ function Oi(e) {
927
901
  return e.replace(/^(.*?)-/, "");
928
902
  }
929
- var Vt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Wn = /^(@+)?(\+|#+)?[rs]?$/g, Ti = /(\*)(0+)|(#+)(0+)|(0+)/g, Un = /^(0+)$/;
930
- function Xt(e) {
903
+ var Jt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Dr = /^(@+)?(\+|#+)?[rs]?$/g, Pi = /(\*)(0+)|(#+)(0+)|(0+)/g, jr = /^(0+)$/;
904
+ function qt(e) {
931
905
  var t = {};
932
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Wn, function(n, r, i) {
933
- 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)), "";
906
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Dr, function(r, n, i) {
907
+ 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)), "";
934
908
  }), t;
935
909
  }
936
- function Fn(e) {
910
+ function kr(e) {
937
911
  switch (e) {
938
912
  case "sign-auto":
939
913
  return {
@@ -973,27 +947,27 @@ function Fn(e) {
973
947
  };
974
948
  }
975
949
  }
976
- function Bi(e) {
950
+ function Ci(e) {
977
951
  var t;
978
952
  if (e[0] === "E" && e[1] === "E" ? (t = {
979
953
  notation: "engineering"
980
954
  }, e = e.slice(2)) : e[0] === "E" && (t = {
981
955
  notation: "scientific"
982
956
  }, e = e.slice(1)), t) {
983
- var n = e.slice(0, 2);
984
- if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Un.test(e))
957
+ var r = e.slice(0, 2);
958
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !jr.test(e))
985
959
  throw new Error("Malformed concise eng/scientific notation");
986
960
  t.minimumIntegerDigits = e.length;
987
961
  }
988
962
  return t;
989
963
  }
990
- function zt(e) {
991
- var t = {}, n = Fn(e);
992
- return n || t;
964
+ function Yt(e) {
965
+ var t = {}, r = kr(e);
966
+ return r || t;
993
967
  }
994
- function Hi(e) {
995
- for (var t = {}, n = 0, r = e; n < r.length; n++) {
996
- var i = r[n];
968
+ function Mi(e) {
969
+ for (var t = {}, r = 0, n = e; r < n.length; r++) {
970
+ var i = n[r];
997
971
  switch (i.stem) {
998
972
  case "percent":
999
973
  case "%":
@@ -1015,7 +989,7 @@ function Hi(e) {
1015
989
  continue;
1016
990
  case "measure-unit":
1017
991
  case "unit":
1018
- t.style = "unit", t.unit = Si(i.options[0]);
992
+ t.style = "unit", t.unit = Oi(i.options[0]);
1019
993
  continue;
1020
994
  case "compact-short":
1021
995
  case "K":
@@ -1026,13 +1000,13 @@ function Hi(e) {
1026
1000
  t.notation = "compact", t.compactDisplay = "long";
1027
1001
  continue;
1028
1002
  case "scientific":
1029
- t = w(w(w({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
1030
- return w(w({}, u), zt(l));
1003
+ t = O(O(O({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
1004
+ return O(O({}, u), Yt(l));
1031
1005
  }, {}));
1032
1006
  continue;
1033
1007
  case "engineering":
1034
- t = w(w(w({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1035
- return w(w({}, u), zt(l));
1008
+ t = O(O(O({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1009
+ return O(O({}, u), Yt(l));
1036
1010
  }, {}));
1037
1011
  continue;
1038
1012
  case "notation-simple":
@@ -1077,45 +1051,45 @@ function Hi(e) {
1077
1051
  case "integer-width":
1078
1052
  if (i.options.length > 1)
1079
1053
  throw new RangeError("integer-width stems only accept a single optional option");
1080
- i.options[0].replace(Ti, function(u, l, c, m, f, p) {
1054
+ i.options[0].replace(Pi, function(u, l, c, p, f, m) {
1081
1055
  if (l)
1082
1056
  t.minimumIntegerDigits = c.length;
1083
1057
  else {
1084
- if (m && f)
1058
+ if (p && f)
1085
1059
  throw new Error("We currently do not support maximum integer digits");
1086
- if (p)
1060
+ if (m)
1087
1061
  throw new Error("We currently do not support exact integer digits");
1088
1062
  }
1089
1063
  return "";
1090
1064
  });
1091
1065
  continue;
1092
1066
  }
1093
- if (Un.test(i.stem)) {
1067
+ if (jr.test(i.stem)) {
1094
1068
  t.minimumIntegerDigits = i.stem.length;
1095
1069
  continue;
1096
1070
  }
1097
- if (Vt.test(i.stem)) {
1071
+ if (Jt.test(i.stem)) {
1098
1072
  if (i.options.length > 1)
1099
1073
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1100
- i.stem.replace(Vt, function(u, l, c, m, f, p) {
1101
- return c === "*" ? t.minimumFractionDigits = l.length : m && m[0] === "#" ? t.maximumFractionDigits = m.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1074
+ i.stem.replace(Jt, function(u, l, c, p, f, m) {
1075
+ return c === "*" ? t.minimumFractionDigits = l.length : p && p[0] === "#" ? t.maximumFractionDigits = p.length : f && m ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + m.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1102
1076
  });
1103
1077
  var o = i.options[0];
1104
- o === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = w(w({}, t), Xt(o)));
1078
+ o === "w" ? t = O(O({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = O(O({}, t), qt(o)));
1105
1079
  continue;
1106
1080
  }
1107
- if (Wn.test(i.stem)) {
1108
- t = w(w({}, t), Xt(i.stem));
1081
+ if (Dr.test(i.stem)) {
1082
+ t = O(O({}, t), qt(i.stem));
1109
1083
  continue;
1110
1084
  }
1111
- var s = Fn(i.stem);
1112
- s && (t = w(w({}, t), s));
1113
- var a = Bi(i.stem);
1114
- a && (t = w(w({}, t), a));
1085
+ var s = kr(i.stem);
1086
+ s && (t = O(O({}, t), s));
1087
+ var a = Ci(i.stem);
1088
+ a && (t = O(O({}, t), a));
1115
1089
  }
1116
1090
  return t;
1117
1091
  }
1118
- var Oe = {
1092
+ var Ce = {
1119
1093
  "001": [
1120
1094
  "H",
1121
1095
  "h"
@@ -2530,23 +2504,23 @@ var Oe = {
2530
2504
  "h"
2531
2505
  ]
2532
2506
  };
2533
- function Ai(e, t) {
2534
- for (var n = "", r = 0; r < e.length; r++) {
2535
- var i = e.charAt(r);
2507
+ function Ni(e, t) {
2508
+ for (var r = "", n = 0; n < e.length; n++) {
2509
+ var i = e.charAt(n);
2536
2510
  if (i === "j") {
2537
- for (var o = 0; r + 1 < e.length && e.charAt(r + 1) === i; )
2538
- o++, r++;
2539
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = Pi(t);
2511
+ for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2512
+ o++, n++;
2513
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = Ii(t);
2540
2514
  for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
2541
- n += u;
2515
+ r += u;
2542
2516
  for (; s-- > 0; )
2543
- n = l + n;
2517
+ r = l + r;
2544
2518
  } else
2545
- i === "J" ? n += "H" : n += i;
2519
+ i === "J" ? r += "H" : r += i;
2546
2520
  }
2547
- return n;
2521
+ return r;
2548
2522
  }
2549
- function Pi(e) {
2523
+ function Ii(e) {
2550
2524
  var t = e.hourCycle;
2551
2525
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2552
2526
  e.hourCycles && // @ts-ignore
@@ -2563,73 +2537,73 @@ function Pi(e) {
2563
2537
  default:
2564
2538
  throw new Error("Invalid hourCycle");
2565
2539
  }
2566
- var n = e.language, r;
2567
- n !== "root" && (r = e.maximize().region);
2568
- var i = Oe[r || ""] || Oe[n || ""] || Oe["".concat(n, "-001")] || Oe["001"];
2540
+ var r = e.language, n;
2541
+ r !== "root" && (n = e.maximize().region);
2542
+ var i = Ce[n || ""] || Ce[r || ""] || Ce["".concat(r, "-001")] || Ce["001"];
2569
2543
  return i[0];
2570
2544
  }
2571
- var nt, Ci = new RegExp("^".concat(Rn.source, "*")), Oi = new RegExp("".concat(Rn.source, "*$"));
2545
+ var ot, Li = new RegExp("^".concat(Gr.source, "*")), Ri = new RegExp("".concat(Gr.source, "*$"));
2572
2546
  function _(e, t) {
2573
2547
  return { start: e, end: t };
2574
2548
  }
2575
- var Mi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ni = !!String.fromCodePoint, Ii = !!Object.fromEntries, Li = !!String.prototype.codePointAt, Ri = !!String.prototype.trimStart, Wi = !!String.prototype.trimEnd, Ui = !!Number.isSafeInteger, Fi = Ui ? Number.isSafeInteger : function(e) {
2549
+ var Wi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ui = !!String.fromCodePoint, Fi = !!Object.fromEntries, Gi = !!String.prototype.codePointAt, Di = !!String.prototype.trimStart, ji = !!String.prototype.trimEnd, ki = !!Number.isSafeInteger, $i = ki ? Number.isSafeInteger : function(e) {
2576
2550
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2577
- }, ft = !0;
2551
+ }, pt = !0;
2578
2552
  try {
2579
- var Gi = Dn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2580
- ft = ((nt = Gi.exec("a")) === null || nt === void 0 ? void 0 : nt[0]) === "a";
2553
+ var Vi = Vr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2554
+ pt = ((ot = Vi.exec("a")) === null || ot === void 0 ? void 0 : ot[0]) === "a";
2581
2555
  } catch (e) {
2582
- ft = !1;
2556
+ pt = !1;
2583
2557
  }
2584
- var Zt = Mi ? (
2558
+ var Kt = Wi ? (
2585
2559
  // Native
2586
- function(t, n, r) {
2587
- return t.startsWith(n, r);
2560
+ function(t, r, n) {
2561
+ return t.startsWith(r, n);
2588
2562
  }
2589
2563
  ) : (
2590
2564
  // For IE11
2591
- function(t, n, r) {
2592
- return t.slice(r, r + n.length) === n;
2565
+ function(t, r, n) {
2566
+ return t.slice(n, n + r.length) === r;
2593
2567
  }
2594
- ), mt = Ni ? String.fromCodePoint : (
2568
+ ), dt = Ui ? String.fromCodePoint : (
2595
2569
  // IE11
2596
2570
  function() {
2597
- for (var t = [], n = 0; n < arguments.length; n++)
2598
- t[n] = arguments[n];
2599
- for (var r = "", i = t.length, o = 0, s; i > o; ) {
2571
+ for (var t = [], r = 0; r < arguments.length; r++)
2572
+ t[r] = arguments[r];
2573
+ for (var n = "", i = t.length, o = 0, s; i > o; ) {
2600
2574
  if (s = t[o++], s > 1114111)
2601
2575
  throw RangeError(s + " is not a valid code point");
2602
- r += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
2576
+ n += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
2603
2577
  }
2604
- return r;
2578
+ return n;
2605
2579
  }
2606
- ), Qt = (
2580
+ ), er = (
2607
2581
  // native
2608
- Ii ? Object.fromEntries : (
2582
+ Fi ? Object.fromEntries : (
2609
2583
  // Ponyfill
2610
2584
  function(t) {
2611
- for (var n = {}, r = 0, i = t; r < i.length; r++) {
2612
- var o = i[r], s = o[0], a = o[1];
2613
- n[s] = a;
2585
+ for (var r = {}, n = 0, i = t; n < i.length; n++) {
2586
+ var o = i[n], s = o[0], a = o[1];
2587
+ r[s] = a;
2614
2588
  }
2615
- return n;
2589
+ return r;
2616
2590
  }
2617
2591
  )
2618
- ), Gn = Li ? (
2592
+ ), $r = Gi ? (
2619
2593
  // Native
2620
- function(t, n) {
2621
- return t.codePointAt(n);
2594
+ function(t, r) {
2595
+ return t.codePointAt(r);
2622
2596
  }
2623
2597
  ) : (
2624
2598
  // IE 11
2625
- function(t, n) {
2626
- var r = t.length;
2627
- if (!(n < 0 || n >= r)) {
2628
- var i = t.charCodeAt(n), o;
2629
- return i < 55296 || i > 56319 || n + 1 === r || (o = t.charCodeAt(n + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2599
+ function(t, r) {
2600
+ var n = t.length;
2601
+ if (!(r < 0 || r >= n)) {
2602
+ var i = t.charCodeAt(r), o;
2603
+ return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2630
2604
  }
2631
2605
  }
2632
- ), Di = Ri ? (
2606
+ ), Xi = Di ? (
2633
2607
  // Native
2634
2608
  function(t) {
2635
2609
  return t.trimStart();
@@ -2637,9 +2611,9 @@ var Zt = Mi ? (
2637
2611
  ) : (
2638
2612
  // Ponyfill
2639
2613
  function(t) {
2640
- return t.replace(Ci, "");
2614
+ return t.replace(Li, "");
2641
2615
  }
2642
- ), ji = Wi ? (
2616
+ ), zi = ji ? (
2643
2617
  // Native
2644
2618
  function(t) {
2645
2619
  return t.trimEnd();
@@ -2647,69 +2621,69 @@ var Zt = Mi ? (
2647
2621
  ) : (
2648
2622
  // Ponyfill
2649
2623
  function(t) {
2650
- return t.replace(Oi, "");
2624
+ return t.replace(Ri, "");
2651
2625
  }
2652
2626
  );
2653
- function Dn(e, t) {
2627
+ function Vr(e, t) {
2654
2628
  return new RegExp(e, t);
2655
2629
  }
2656
- var dt;
2657
- if (ft) {
2658
- var Jt = Dn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2659
- dt = function(t, n) {
2660
- var r;
2661
- Jt.lastIndex = n;
2662
- var i = Jt.exec(t);
2663
- return (r = i[1]) !== null && r !== void 0 ? r : "";
2630
+ var mt;
2631
+ if (pt) {
2632
+ var tr = Vr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2633
+ mt = function(t, r) {
2634
+ var n;
2635
+ tr.lastIndex = r;
2636
+ var i = tr.exec(t);
2637
+ return (n = i[1]) !== null && n !== void 0 ? n : "";
2664
2638
  };
2665
2639
  } else
2666
- dt = function(t, n) {
2667
- for (var r = []; ; ) {
2668
- var i = Gn(t, n);
2669
- if (i === void 0 || jn(i) || Xi(i))
2640
+ mt = function(t, r) {
2641
+ for (var n = []; ; ) {
2642
+ var i = $r(t, r);
2643
+ if (i === void 0 || Xr(i) || qi(i))
2670
2644
  break;
2671
- r.push(i), n += i >= 65536 ? 2 : 1;
2645
+ n.push(i), r += i >= 65536 ? 2 : 1;
2672
2646
  }
2673
- return mt.apply(void 0, r);
2647
+ return dt.apply(void 0, n);
2674
2648
  };
2675
- var ki = (
2649
+ var Zi = (
2676
2650
  /** @class */
2677
2651
  function() {
2678
- function e(t, n) {
2679
- 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;
2652
+ function e(t, r) {
2653
+ 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;
2680
2654
  }
2681
2655
  return e.prototype.parse = function() {
2682
2656
  if (this.offset() !== 0)
2683
2657
  throw Error("parser can only be used once");
2684
2658
  return this.parseMessage(0, "", !1);
2685
- }, e.prototype.parseMessage = function(t, n, r) {
2659
+ }, e.prototype.parseMessage = function(t, r, n) {
2686
2660
  for (var i = []; !this.isEOF(); ) {
2687
2661
  var o = this.char();
2688
2662
  if (o === 123) {
2689
- var s = this.parseArgument(t, r);
2663
+ var s = this.parseArgument(t, n);
2690
2664
  if (s.err)
2691
2665
  return s;
2692
2666
  i.push(s.val);
2693
2667
  } else {
2694
2668
  if (o === 125 && t > 0)
2695
2669
  break;
2696
- if (o === 35 && (n === "plural" || n === "selectordinal")) {
2670
+ if (o === 35 && (r === "plural" || r === "selectordinal")) {
2697
2671
  var a = this.clonePosition();
2698
2672
  this.bump(), i.push({
2699
- type: H.pound,
2673
+ type: B.pound,
2700
2674
  location: _(a, this.clonePosition())
2701
2675
  });
2702
2676
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
2703
- if (r)
2677
+ if (n)
2704
2678
  break;
2705
2679
  return this.error(y.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
2706
- } else if (o === 60 && !this.ignoreTag && pt(this.peek() || 0)) {
2707
- var s = this.parseTag(t, n);
2680
+ } else if (o === 60 && !this.ignoreTag && bt(this.peek() || 0)) {
2681
+ var s = this.parseTag(t, r);
2708
2682
  if (s.err)
2709
2683
  return s;
2710
2684
  i.push(s.val);
2711
2685
  } else {
2712
- var s = this.parseLiteral(t, n);
2686
+ var s = this.parseLiteral(t, r);
2713
2687
  if (s.err)
2714
2688
  return s;
2715
2689
  i.push(s.val);
@@ -2717,54 +2691,54 @@ var ki = (
2717
2691
  }
2718
2692
  }
2719
2693
  return { val: i, err: null };
2720
- }, e.prototype.parseTag = function(t, n) {
2721
- var r = this.clonePosition();
2694
+ }, e.prototype.parseTag = function(t, r) {
2695
+ var n = this.clonePosition();
2722
2696
  this.bump();
2723
2697
  var i = this.parseTagName();
2724
2698
  if (this.bumpSpace(), this.bumpIf("/>"))
2725
2699
  return {
2726
2700
  val: {
2727
- type: H.literal,
2701
+ type: B.literal,
2728
2702
  value: "<".concat(i, "/>"),
2729
- location: _(r, this.clonePosition())
2703
+ location: _(n, this.clonePosition())
2730
2704
  },
2731
2705
  err: null
2732
2706
  };
2733
2707
  if (this.bumpIf(">")) {
2734
- var o = this.parseMessage(t + 1, n, !0);
2708
+ var o = this.parseMessage(t + 1, r, !0);
2735
2709
  if (o.err)
2736
2710
  return o;
2737
2711
  var s = o.val, a = this.clonePosition();
2738
2712
  if (this.bumpIf("</")) {
2739
- if (this.isEOF() || !pt(this.char()))
2713
+ if (this.isEOF() || !bt(this.char()))
2740
2714
  return this.error(y.INVALID_TAG, _(a, this.clonePosition()));
2741
2715
  var u = this.clonePosition(), l = this.parseTagName();
2742
2716
  return i !== l ? this.error(y.UNMATCHED_CLOSING_TAG, _(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2743
2717
  val: {
2744
- type: H.tag,
2718
+ type: B.tag,
2745
2719
  value: i,
2746
2720
  children: s,
2747
- location: _(r, this.clonePosition())
2721
+ location: _(n, this.clonePosition())
2748
2722
  },
2749
2723
  err: null
2750
2724
  } : this.error(y.INVALID_TAG, _(a, this.clonePosition())));
2751
2725
  } else
2752
- return this.error(y.UNCLOSED_TAG, _(r, this.clonePosition()));
2726
+ return this.error(y.UNCLOSED_TAG, _(n, this.clonePosition()));
2753
2727
  } else
2754
- return this.error(y.INVALID_TAG, _(r, this.clonePosition()));
2728
+ return this.error(y.INVALID_TAG, _(n, this.clonePosition()));
2755
2729
  }, e.prototype.parseTagName = function() {
2756
2730
  var t = this.offset();
2757
- for (this.bump(); !this.isEOF() && Vi(this.char()); )
2731
+ for (this.bump(); !this.isEOF() && Ji(this.char()); )
2758
2732
  this.bump();
2759
2733
  return this.message.slice(t, this.offset());
2760
- }, e.prototype.parseLiteral = function(t, n) {
2761
- for (var r = this.clonePosition(), i = ""; ; ) {
2762
- var o = this.tryParseQuote(n);
2734
+ }, e.prototype.parseLiteral = function(t, r) {
2735
+ for (var n = this.clonePosition(), i = ""; ; ) {
2736
+ var o = this.tryParseQuote(r);
2763
2737
  if (o) {
2764
2738
  i += o;
2765
2739
  continue;
2766
2740
  }
2767
- var s = this.tryParseUnquoted(t, n);
2741
+ var s = this.tryParseUnquoted(t, r);
2768
2742
  if (s) {
2769
2743
  i += s;
2770
2744
  continue;
@@ -2776,14 +2750,14 @@ var ki = (
2776
2750
  }
2777
2751
  break;
2778
2752
  }
2779
- var u = _(r, this.clonePosition());
2753
+ var u = _(n, this.clonePosition());
2780
2754
  return {
2781
- val: { type: H.literal, value: i, location: u },
2755
+ val: { type: B.literal, value: i, location: u },
2782
2756
  err: null
2783
2757
  };
2784
2758
  }, e.prototype.tryParseLeftAngleBracket = function() {
2785
2759
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2786
- !$i(this.peek() || 0)) ? (this.bump(), "<") : null;
2760
+ !Qi(this.peek() || 0)) ? (this.bump(), "<") : null;
2787
2761
  }, e.prototype.tryParseQuote = function(t) {
2788
2762
  if (this.isEOF() || this.char() !== 39)
2789
2763
  return null;
@@ -2803,59 +2777,59 @@ var ki = (
2803
2777
  return null;
2804
2778
  }
2805
2779
  this.bump();
2806
- var n = [this.char()];
2780
+ var r = [this.char()];
2807
2781
  for (this.bump(); !this.isEOF(); ) {
2808
- var r = this.char();
2809
- if (r === 39)
2782
+ var n = this.char();
2783
+ if (n === 39)
2810
2784
  if (this.peek() === 39)
2811
- n.push(39), this.bump();
2785
+ r.push(39), this.bump();
2812
2786
  else {
2813
2787
  this.bump();
2814
2788
  break;
2815
2789
  }
2816
2790
  else
2817
- n.push(r);
2791
+ r.push(n);
2818
2792
  this.bump();
2819
2793
  }
2820
- return mt.apply(void 0, n);
2821
- }, e.prototype.tryParseUnquoted = function(t, n) {
2794
+ return dt.apply(void 0, r);
2795
+ }, e.prototype.tryParseUnquoted = function(t, r) {
2822
2796
  if (this.isEOF())
2823
2797
  return null;
2824
- var r = this.char();
2825
- return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), mt(r));
2826
- }, e.prototype.parseArgument = function(t, n) {
2827
- var r = this.clonePosition();
2798
+ var n = this.char();
2799
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), dt(n));
2800
+ }, e.prototype.parseArgument = function(t, r) {
2801
+ var n = this.clonePosition();
2828
2802
  if (this.bump(), this.bumpSpace(), this.isEOF())
2829
- return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(r, this.clonePosition()));
2803
+ return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
2830
2804
  if (this.char() === 125)
2831
- return this.bump(), this.error(y.EMPTY_ARGUMENT, _(r, this.clonePosition()));
2805
+ return this.bump(), this.error(y.EMPTY_ARGUMENT, _(n, this.clonePosition()));
2832
2806
  var i = this.parseIdentifierIfPossible().value;
2833
2807
  if (!i)
2834
- return this.error(y.MALFORMED_ARGUMENT, _(r, this.clonePosition()));
2808
+ return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
2835
2809
  if (this.bumpSpace(), this.isEOF())
2836
- return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(r, this.clonePosition()));
2810
+ return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
2837
2811
  switch (this.char()) {
2838
2812
  case 125:
2839
2813
  return this.bump(), {
2840
2814
  val: {
2841
- type: H.argument,
2815
+ type: B.argument,
2842
2816
  // value does not include the opening and closing braces.
2843
2817
  value: i,
2844
- location: _(r, this.clonePosition())
2818
+ location: _(n, this.clonePosition())
2845
2819
  },
2846
2820
  err: null
2847
2821
  };
2848
2822
  case 44:
2849
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(r, this.clonePosition())) : this.parseArgumentOptions(t, n, i, r);
2823
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2850
2824
  default:
2851
- return this.error(y.MALFORMED_ARGUMENT, _(r, this.clonePosition()));
2825
+ return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
2852
2826
  }
2853
2827
  }, e.prototype.parseIdentifierIfPossible = function() {
2854
- var t = this.clonePosition(), n = this.offset(), r = dt(this.message, n), i = n + r.length;
2828
+ var t = this.clonePosition(), r = this.offset(), n = mt(this.message, r), i = r + n.length;
2855
2829
  this.bumpTo(i);
2856
2830
  var o = this.clonePosition(), s = _(t, o);
2857
- return { value: r, location: s };
2858
- }, e.prototype.parseArgumentOptions = function(t, n, r, i) {
2831
+ return { value: n, location: s };
2832
+ }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
2859
2833
  var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, u = this.clonePosition();
2860
2834
  switch (a) {
2861
2835
  case "":
@@ -2867,48 +2841,48 @@ var ki = (
2867
2841
  var l = null;
2868
2842
  if (this.bumpIf(",")) {
2869
2843
  this.bumpSpace();
2870
- var c = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
2871
- if (m.err)
2872
- return m;
2873
- var f = ji(m.val);
2844
+ var c = this.clonePosition(), p = this.parseSimpleArgStyleIfPossible();
2845
+ if (p.err)
2846
+ return p;
2847
+ var f = zi(p.val);
2874
2848
  if (f.length === 0)
2875
2849
  return this.error(y.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
2876
- var p = _(c, this.clonePosition());
2877
- l = { style: f, styleLocation: p };
2850
+ var m = _(c, this.clonePosition());
2851
+ l = { style: f, styleLocation: m };
2878
2852
  }
2879
2853
  var g = this.tryParseArgumentClose(i);
2880
2854
  if (g.err)
2881
2855
  return g;
2882
2856
  var b = _(i, this.clonePosition());
2883
- if (l && Zt(l == null ? void 0 : l.style, "::", 0)) {
2884
- var A = Di(l.style.slice(2));
2857
+ if (l && Kt(l == null ? void 0 : l.style, "::", 0)) {
2858
+ var H = Xi(l.style.slice(2));
2885
2859
  if (a === "number") {
2886
- var m = this.parseNumberSkeletonFromString(A, l.styleLocation);
2887
- return m.err ? m : {
2888
- val: { type: H.number, value: r, location: b, style: m.val },
2860
+ var p = this.parseNumberSkeletonFromString(H, l.styleLocation);
2861
+ return p.err ? p : {
2862
+ val: { type: B.number, value: n, location: b, style: p.val },
2889
2863
  err: null
2890
2864
  };
2891
2865
  } else {
2892
- if (A.length === 0)
2866
+ if (H.length === 0)
2893
2867
  return this.error(y.EXPECT_DATE_TIME_SKELETON, b);
2894
- var M = A;
2895
- this.locale && (M = Ai(A, this.locale));
2868
+ var M = H;
2869
+ this.locale && (M = Ni(H, this.locale));
2896
2870
  var f = {
2897
- type: he.dateTime,
2871
+ type: le.dateTime,
2898
2872
  pattern: M,
2899
2873
  location: l.styleLocation,
2900
- parsedOptions: this.shouldParseSkeletons ? Ei(M) : {}
2901
- }, N = a === "date" ? H.date : H.time;
2874
+ parsedOptions: this.shouldParseSkeletons ? Bi(M) : {}
2875
+ }, N = a === "date" ? B.date : B.time;
2902
2876
  return {
2903
- val: { type: N, value: r, location: b, style: f },
2877
+ val: { type: N, value: n, location: b, style: f },
2904
2878
  err: null
2905
2879
  };
2906
2880
  }
2907
2881
  }
2908
2882
  return {
2909
2883
  val: {
2910
- type: a === "number" ? H.number : a === "date" ? H.date : H.time,
2911
- value: r,
2884
+ type: a === "number" ? B.number : a === "date" ? B.date : B.time,
2885
+ value: n,
2912
2886
  location: b,
2913
2887
  style: (o = l == null ? void 0 : l.style) !== null && o !== void 0 ? o : null
2914
2888
  },
@@ -2918,21 +2892,21 @@ var ki = (
2918
2892
  case "plural":
2919
2893
  case "selectordinal":
2920
2894
  case "select": {
2921
- var B = this.clonePosition();
2895
+ var T = this.clonePosition();
2922
2896
  if (this.bumpSpace(), !this.bumpIf(","))
2923
- return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, _(B, w({}, B)));
2897
+ return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, _(T, Ue({}, T)));
2924
2898
  this.bumpSpace();
2925
- var P = this.parseIdentifierIfPossible(), x = 0;
2926
- if (a !== "select" && P.value === "offset") {
2899
+ var A = this.parseIdentifierIfPossible(), x = 0;
2900
+ if (a !== "select" && A.value === "offset") {
2927
2901
  if (!this.bumpIf(":"))
2928
2902
  return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
2929
2903
  this.bumpSpace();
2930
- var m = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2931
- if (m.err)
2932
- return m;
2933
- this.bumpSpace(), P = this.parseIdentifierIfPossible(), x = m.val;
2904
+ var p = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2905
+ if (p.err)
2906
+ return p;
2907
+ this.bumpSpace(), A = this.parseIdentifierIfPossible(), x = p.val;
2934
2908
  }
2935
- var G = this.tryParsePluralOrSelectOptions(t, a, n, P);
2909
+ var G = this.tryParsePluralOrSelectOptions(t, a, r, A);
2936
2910
  if (G.err)
2937
2911
  return G;
2938
2912
  var g = this.tryParseArgumentClose(i);
@@ -2941,17 +2915,17 @@ var ki = (
2941
2915
  var U = _(i, this.clonePosition());
2942
2916
  return a === "select" ? {
2943
2917
  val: {
2944
- type: H.select,
2945
- value: r,
2946
- options: Qt(G.val),
2918
+ type: B.select,
2919
+ value: n,
2920
+ options: er(G.val),
2947
2921
  location: U
2948
2922
  },
2949
2923
  err: null
2950
2924
  } : {
2951
2925
  val: {
2952
- type: H.plural,
2953
- value: r,
2954
- options: Qt(G.val),
2926
+ type: B.plural,
2927
+ value: n,
2928
+ options: er(G.val),
2955
2929
  offset: x,
2956
2930
  pluralType: a === "plural" ? "cardinal" : "ordinal",
2957
2931
  location: U
@@ -2965,9 +2939,9 @@ var ki = (
2965
2939
  }, e.prototype.tryParseArgumentClose = function(t) {
2966
2940
  return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2967
2941
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
2968
- for (var t = 0, n = this.clonePosition(); !this.isEOF(); ) {
2969
- var r = this.char();
2970
- switch (r) {
2942
+ for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
2943
+ var n = this.char();
2944
+ switch (n) {
2971
2945
  case 39: {
2972
2946
  this.bump();
2973
2947
  var i = this.clonePosition();
@@ -2985,7 +2959,7 @@ var ki = (
2985
2959
  t -= 1;
2986
2960
  else
2987
2961
  return {
2988
- val: this.message.slice(n.offset, this.offset()),
2962
+ val: this.message.slice(r.offset, this.offset()),
2989
2963
  err: null
2990
2964
  };
2991
2965
  break;
@@ -2996,61 +2970,61 @@ var ki = (
2996
2970
  }
2997
2971
  }
2998
2972
  return {
2999
- val: this.message.slice(n.offset, this.offset()),
2973
+ val: this.message.slice(r.offset, this.offset()),
3000
2974
  err: null
3001
2975
  };
3002
- }, e.prototype.parseNumberSkeletonFromString = function(t, n) {
3003
- var r = [];
2976
+ }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2977
+ var n = [];
3004
2978
  try {
3005
- r = wi(t);
2979
+ n = Ai(t);
3006
2980
  } catch (i) {
3007
- return this.error(y.INVALID_NUMBER_SKELETON, n);
2981
+ return this.error(y.INVALID_NUMBER_SKELETON, r);
3008
2982
  }
3009
2983
  return {
3010
2984
  val: {
3011
- type: he.number,
3012
- tokens: r,
3013
- location: n,
3014
- parsedOptions: this.shouldParseSkeletons ? Hi(r) : {}
2985
+ type: le.number,
2986
+ tokens: n,
2987
+ location: r,
2988
+ parsedOptions: this.shouldParseSkeletons ? Mi(n) : {}
3015
2989
  },
3016
2990
  err: null
3017
2991
  };
3018
- }, e.prototype.tryParsePluralOrSelectOptions = function(t, n, r, i) {
2992
+ }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3019
2993
  for (var o, s = !1, a = [], u = /* @__PURE__ */ new Set(), l = i.value, c = i.location; ; ) {
3020
2994
  if (l.length === 0) {
3021
- var m = this.clonePosition();
3022
- if (n !== "select" && this.bumpIf("=")) {
2995
+ var p = this.clonePosition();
2996
+ if (r !== "select" && this.bumpIf("=")) {
3023
2997
  var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
3024
2998
  if (f.err)
3025
2999
  return f;
3026
- c = _(m, this.clonePosition()), l = this.message.slice(m.offset, this.offset());
3000
+ c = _(p, this.clonePosition()), l = this.message.slice(p.offset, this.offset());
3027
3001
  } else
3028
3002
  break;
3029
3003
  }
3030
3004
  if (u.has(l))
3031
- return this.error(n === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
3005
+ return this.error(r === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
3032
3006
  l === "other" && (s = !0), this.bumpSpace();
3033
- var p = this.clonePosition();
3007
+ var m = this.clonePosition();
3034
3008
  if (!this.bumpIf("{"))
3035
- return this.error(n === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
3036
- var g = this.parseMessage(t + 1, n, r);
3009
+ return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
3010
+ var g = this.parseMessage(t + 1, r, n);
3037
3011
  if (g.err)
3038
3012
  return g;
3039
- var b = this.tryParseArgumentClose(p);
3013
+ var b = this.tryParseArgumentClose(m);
3040
3014
  if (b.err)
3041
3015
  return b;
3042
3016
  a.push([
3043
3017
  l,
3044
3018
  {
3045
3019
  value: g.val,
3046
- location: _(p, this.clonePosition())
3020
+ location: _(m, this.clonePosition())
3047
3021
  }
3048
3022
  ]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, c = o.location;
3049
3023
  }
3050
- return a.length === 0 ? this.error(n === "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 };
3051
- }, e.prototype.tryParseDecimalInteger = function(t, n) {
3052
- var r = 1, i = this.clonePosition();
3053
- this.bumpIf("+") || this.bumpIf("-") && (r = -1);
3024
+ 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 };
3025
+ }, e.prototype.tryParseDecimalInteger = function(t, r) {
3026
+ var n = 1, i = this.clonePosition();
3027
+ this.bumpIf("+") || this.bumpIf("-") && (n = -1);
3054
3028
  for (var o = !1, s = 0; !this.isEOF(); ) {
3055
3029
  var a = this.char();
3056
3030
  if (a >= 48 && a <= 57)
@@ -3059,7 +3033,7 @@ var ki = (
3059
3033
  break;
3060
3034
  }
3061
3035
  var u = _(i, this.clonePosition());
3062
- return o ? (s *= r, Fi(s) ? { val: s, err: null } : this.error(n, u)) : this.error(t, u);
3036
+ return o ? (s *= n, $i(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3063
3037
  }, e.prototype.offset = function() {
3064
3038
  return this.position.offset;
3065
3039
  }, e.prototype.isEOF = function() {
@@ -3074,17 +3048,17 @@ var ki = (
3074
3048
  var t = this.position.offset;
3075
3049
  if (t >= this.message.length)
3076
3050
  throw Error("out of bound");
3077
- var n = Gn(this.message, t);
3078
- if (n === void 0)
3051
+ var r = $r(this.message, t);
3052
+ if (r === void 0)
3079
3053
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3080
- return n;
3081
- }, e.prototype.error = function(t, n) {
3054
+ return r;
3055
+ }, e.prototype.error = function(t, r) {
3082
3056
  return {
3083
3057
  val: null,
3084
3058
  err: {
3085
3059
  kind: t,
3086
3060
  message: this.message,
3087
- location: n
3061
+ location: r
3088
3062
  }
3089
3063
  };
3090
3064
  }, e.prototype.bump = function() {
@@ -3093,129 +3067,129 @@ var ki = (
3093
3067
  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);
3094
3068
  }
3095
3069
  }, e.prototype.bumpIf = function(t) {
3096
- if (Zt(this.message, t, this.offset())) {
3097
- for (var n = 0; n < t.length; n++)
3070
+ if (Kt(this.message, t, this.offset())) {
3071
+ for (var r = 0; r < t.length; r++)
3098
3072
  this.bump();
3099
3073
  return !0;
3100
3074
  }
3101
3075
  return !1;
3102
3076
  }, e.prototype.bumpUntil = function(t) {
3103
- var n = this.offset(), r = this.message.indexOf(t, n);
3104
- return r >= 0 ? (this.bumpTo(r), !0) : (this.bumpTo(this.message.length), !1);
3077
+ var r = this.offset(), n = this.message.indexOf(t, r);
3078
+ return n >= 0 ? (this.bumpTo(n), !0) : (this.bumpTo(this.message.length), !1);
3105
3079
  }, e.prototype.bumpTo = function(t) {
3106
3080
  if (this.offset() > t)
3107
3081
  throw Error("targetOffset ".concat(t, " must be greater than or equal to the current offset ").concat(this.offset()));
3108
3082
  for (t = Math.min(t, this.message.length); ; ) {
3109
- var n = this.offset();
3110
- if (n === t)
3083
+ var r = this.offset();
3084
+ if (r === t)
3111
3085
  break;
3112
- if (n > t)
3086
+ if (r > t)
3113
3087
  throw Error("targetOffset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3114
3088
  if (this.bump(), this.isEOF())
3115
3089
  break;
3116
3090
  }
3117
3091
  }, e.prototype.bumpSpace = function() {
3118
- for (; !this.isEOF() && jn(this.char()); )
3092
+ for (; !this.isEOF() && Xr(this.char()); )
3119
3093
  this.bump();
3120
3094
  }, e.prototype.peek = function() {
3121
3095
  if (this.isEOF())
3122
3096
  return null;
3123
- var t = this.char(), n = this.offset(), r = this.message.charCodeAt(n + (t >= 65536 ? 2 : 1));
3124
- return r != null ? r : null;
3097
+ var t = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
3098
+ return n != null ? n : null;
3125
3099
  }, e;
3126
3100
  }()
3127
3101
  );
3128
- function pt(e) {
3102
+ function bt(e) {
3129
3103
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3130
3104
  }
3131
- function $i(e) {
3132
- return pt(e) || e === 47;
3105
+ function Qi(e) {
3106
+ return bt(e) || e === 47;
3133
3107
  }
3134
- function Vi(e) {
3108
+ function Ji(e) {
3135
3109
  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;
3136
3110
  }
3137
- function jn(e) {
3111
+ function Xr(e) {
3138
3112
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3139
3113
  }
3140
- function Xi(e) {
3114
+ function qi(e) {
3141
3115
  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;
3142
3116
  }
3143
- function bt(e) {
3117
+ function gt(e) {
3144
3118
  e.forEach(function(t) {
3145
- if (delete t.location, Mn(t) || Nn(t))
3146
- for (var n in t.options)
3147
- delete t.options[n].location, bt(t.options[n].value);
3119
+ if (delete t.location, Rr(t) || Wr(t))
3120
+ for (var r in t.options)
3121
+ delete t.options[r].location, gt(t.options[r].value);
3148
3122
  else
3149
- Pn(t) && Ln(t.style) || (Cn(t) || On(t)) && ct(t.style) ? delete t.style.location : In(t) && bt(t.children);
3123
+ Nr(t) && Fr(t.style) || (Ir(t) || Lr(t)) && ft(t.style) ? delete t.style.location : Ur(t) && gt(t.children);
3150
3124
  });
3151
3125
  }
3152
- function zi(e, t) {
3153
- t === void 0 && (t = {}), t = w({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3154
- var n = new ki(e, t).parse();
3155
- if (n.err) {
3156
- var r = SyntaxError(y[n.err.kind]);
3157
- throw r.location = n.err.location, r.originalMessage = n.err.message, r;
3126
+ function Yi(e, t) {
3127
+ t === void 0 && (t = {}), t = Ue({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3128
+ var r = new Zi(e, t).parse();
3129
+ if (r.err) {
3130
+ var n = SyntaxError(y[r.err.kind]);
3131
+ throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3158
3132
  }
3159
- return t != null && t.captureLocation || bt(n.val), n.val;
3133
+ return t != null && t.captureLocation || gt(r.val), r.val;
3160
3134
  }
3161
- var ce;
3135
+ var he;
3162
3136
  (function(e) {
3163
3137
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3164
- })(ce || (ce = {}));
3165
- var De = (
3138
+ })(he || (he = {}));
3139
+ var ke = (
3166
3140
  /** @class */
3167
3141
  function(e) {
3168
- K(t, e);
3169
- function t(n, r, i) {
3170
- var o = e.call(this, n) || this;
3171
- return o.code = r, o.originalMessage = i, o;
3142
+ je(t, e);
3143
+ function t(r, n, i) {
3144
+ var o = e.call(this, r) || this;
3145
+ return o.code = n, o.originalMessage = i, o;
3172
3146
  }
3173
3147
  return t.prototype.toString = function() {
3174
3148
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3175
3149
  }, t;
3176
3150
  }(Error)
3177
- ), qt = (
3151
+ ), rr = (
3178
3152
  /** @class */
3179
3153
  function(e) {
3180
- K(t, e);
3181
- function t(n, r, i, o) {
3182
- return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ce.INVALID_VALUE, o) || this;
3154
+ je(t, e);
3155
+ function t(r, n, i, o) {
3156
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), he.INVALID_VALUE, o) || this;
3183
3157
  }
3184
3158
  return t;
3185
- }(De)
3186
- ), Zi = (
3159
+ }(ke)
3160
+ ), Ki = (
3187
3161
  /** @class */
3188
3162
  function(e) {
3189
- K(t, e);
3190
- function t(n, r, i) {
3191
- return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), ce.INVALID_VALUE, i) || this;
3163
+ je(t, e);
3164
+ function t(r, n, i) {
3165
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), he.INVALID_VALUE, i) || this;
3192
3166
  }
3193
3167
  return t;
3194
- }(De)
3195
- ), Qi = (
3168
+ }(ke)
3169
+ ), eo = (
3196
3170
  /** @class */
3197
3171
  function(e) {
3198
- K(t, e);
3199
- function t(n, r) {
3200
- return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), ce.MISSING_VALUE, r) || this;
3172
+ je(t, e);
3173
+ function t(r, n) {
3174
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), he.MISSING_VALUE, n) || this;
3201
3175
  }
3202
3176
  return t;
3203
- }(De)
3177
+ }(ke)
3204
3178
  ), D;
3205
3179
  (function(e) {
3206
3180
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3207
3181
  })(D || (D = {}));
3208
- function Ji(e) {
3209
- return e.length < 2 ? e : e.reduce(function(t, n) {
3210
- var r = t[t.length - 1];
3211
- return !r || r.type !== D.literal || n.type !== D.literal ? t.push(n) : r.value += n.value, t;
3182
+ function to(e) {
3183
+ return e.length < 2 ? e : e.reduce(function(t, r) {
3184
+ var n = t[t.length - 1];
3185
+ return !n || n.type !== D.literal || r.type !== D.literal ? t.push(r) : n.value += r.value, t;
3212
3186
  }, []);
3213
3187
  }
3214
- function qi(e) {
3188
+ function ro(e) {
3215
3189
  return typeof e == "function";
3216
3190
  }
3217
- function Ie(e, t, n, r, i, o, s) {
3218
- if (e.length === 1 && $t(e[0]))
3191
+ function Ie(e, t, r, n, i, o, s) {
3192
+ if (e.length === 1 && Qt(e[0]))
3219
3193
  return [
3220
3194
  {
3221
3195
  type: D.literal,
@@ -3224,60 +3198,60 @@ function Ie(e, t, n, r, i, o, s) {
3224
3198
  ];
3225
3199
  for (var a = [], u = 0, l = e; u < l.length; u++) {
3226
3200
  var c = l[u];
3227
- if ($t(c)) {
3201
+ if (Qt(c)) {
3228
3202
  a.push({
3229
3203
  type: D.literal,
3230
3204
  value: c.value
3231
3205
  });
3232
3206
  continue;
3233
3207
  }
3234
- if (vi(c)) {
3208
+ if (Si(c)) {
3235
3209
  typeof o == "number" && a.push({
3236
3210
  type: D.literal,
3237
- value: n.getNumberFormat(t).format(o)
3211
+ value: r.getNumberFormat(t).format(o)
3238
3212
  });
3239
3213
  continue;
3240
3214
  }
3241
- var m = c.value;
3242
- if (!(i && m in i))
3243
- throw new Qi(m, s);
3244
- var f = i[m];
3245
- if (yi(c)) {
3215
+ var p = c.value;
3216
+ if (!(i && p in i))
3217
+ throw new eo(p, s);
3218
+ var f = i[p];
3219
+ if (wi(c)) {
3246
3220
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3247
3221
  type: typeof f == "string" ? D.literal : D.object,
3248
3222
  value: f
3249
3223
  });
3250
3224
  continue;
3251
3225
  }
3252
- if (Cn(c)) {
3253
- var p = typeof c.style == "string" ? r.date[c.style] : ct(c.style) ? c.style.parsedOptions : void 0;
3226
+ if (Ir(c)) {
3227
+ var m = typeof c.style == "string" ? n.date[c.style] : ft(c.style) ? c.style.parsedOptions : void 0;
3254
3228
  a.push({
3255
3229
  type: D.literal,
3256
- value: n.getDateTimeFormat(t, p).format(f)
3230
+ value: r.getDateTimeFormat(t, m).format(f)
3257
3231
  });
3258
3232
  continue;
3259
3233
  }
3260
- if (On(c)) {
3261
- var p = typeof c.style == "string" ? r.time[c.style] : ct(c.style) ? c.style.parsedOptions : r.time.medium;
3234
+ if (Lr(c)) {
3235
+ var m = typeof c.style == "string" ? n.time[c.style] : ft(c.style) ? c.style.parsedOptions : n.time.medium;
3262
3236
  a.push({
3263
3237
  type: D.literal,
3264
- value: n.getDateTimeFormat(t, p).format(f)
3238
+ value: r.getDateTimeFormat(t, m).format(f)
3265
3239
  });
3266
3240
  continue;
3267
3241
  }
3268
- if (Pn(c)) {
3269
- var p = typeof c.style == "string" ? r.number[c.style] : Ln(c.style) ? c.style.parsedOptions : void 0;
3270
- p && p.scale && (f = f * (p.scale || 1)), a.push({
3242
+ if (Nr(c)) {
3243
+ var m = typeof c.style == "string" ? n.number[c.style] : Fr(c.style) ? c.style.parsedOptions : void 0;
3244
+ m && m.scale && (f = f * (m.scale || 1)), a.push({
3271
3245
  type: D.literal,
3272
- value: n.getNumberFormat(t, p).format(f)
3246
+ value: r.getNumberFormat(t, m).format(f)
3273
3247
  });
3274
3248
  continue;
3275
3249
  }
3276
- if (In(c)) {
3277
- var g = c.children, b = c.value, A = i[b];
3278
- if (!qi(A))
3279
- throw new Zi(b, "function", s);
3280
- var M = Ie(g, t, n, r, i, o), N = A(M.map(function(x) {
3250
+ if (Ur(c)) {
3251
+ var g = c.children, b = c.value, H = i[b];
3252
+ if (!ro(H))
3253
+ throw new Ki(b, "function", s);
3254
+ var M = Ie(g, t, r, n, i, o), N = H(M.map(function(x) {
3281
3255
  return x.value;
3282
3256
  }));
3283
3257
  Array.isArray(N) || (N = [N]), a.push.apply(a, N.map(function(x) {
@@ -3287,92 +3261,92 @@ function Ie(e, t, n, r, i, o, s) {
3287
3261
  };
3288
3262
  }));
3289
3263
  }
3290
- if (Mn(c)) {
3291
- var B = c.options[f] || c.options.other;
3292
- if (!B)
3293
- throw new qt(c.value, f, Object.keys(c.options), s);
3294
- a.push.apply(a, Ie(B.value, t, n, r, i));
3264
+ if (Rr(c)) {
3265
+ var T = c.options[f] || c.options.other;
3266
+ if (!T)
3267
+ throw new rr(c.value, f, Object.keys(c.options), s);
3268
+ a.push.apply(a, Ie(T.value, t, r, n, i));
3295
3269
  continue;
3296
3270
  }
3297
- if (Nn(c)) {
3298
- var B = c.options["=".concat(f)];
3299
- if (!B) {
3271
+ if (Wr(c)) {
3272
+ var T = c.options["=".concat(f)];
3273
+ if (!T) {
3300
3274
  if (!Intl.PluralRules)
3301
- throw new De(`Intl.PluralRules is not available in this environment.
3275
+ throw new ke(`Intl.PluralRules is not available in this environment.
3302
3276
  Try polyfilling it using "@formatjs/intl-pluralrules"
3303
- `, ce.MISSING_INTL_API, s);
3304
- var P = n.getPluralRules(t, { type: c.pluralType }).select(f - (c.offset || 0));
3305
- B = c.options[P] || c.options.other;
3277
+ `, he.MISSING_INTL_API, s);
3278
+ var A = r.getPluralRules(t, { type: c.pluralType }).select(f - (c.offset || 0));
3279
+ T = c.options[A] || c.options.other;
3306
3280
  }
3307
- if (!B)
3308
- throw new qt(c.value, f, Object.keys(c.options), s);
3309
- a.push.apply(a, Ie(B.value, t, n, r, i, f - (c.offset || 0)));
3281
+ if (!T)
3282
+ throw new rr(c.value, f, Object.keys(c.options), s);
3283
+ a.push.apply(a, Ie(T.value, t, r, n, i, f - (c.offset || 0)));
3310
3284
  continue;
3311
3285
  }
3312
3286
  }
3313
- return Ji(a);
3287
+ return to(a);
3314
3288
  }
3315
- function Yi(e, t) {
3316
- return t ? w(w(w({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
3317
- return n[r] = w(w({}, e[r]), t[r] || {}), n;
3289
+ function no(e, t) {
3290
+ return t ? q(q(q({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3291
+ return r[n] = q(q({}, e[n]), t[n] || {}), r;
3318
3292
  }, {})) : e;
3319
3293
  }
3320
- function Ki(e, t) {
3321
- return t ? Object.keys(e).reduce(function(n, r) {
3322
- return n[r] = Yi(e[r], t[r]), n;
3323
- }, w({}, e)) : e;
3294
+ function io(e, t) {
3295
+ return t ? Object.keys(e).reduce(function(r, n) {
3296
+ return r[n] = no(e[n], t[n]), r;
3297
+ }, q({}, e)) : e;
3324
3298
  }
3325
- function rt(e) {
3299
+ function st(e) {
3326
3300
  return {
3327
3301
  create: function() {
3328
3302
  return {
3329
3303
  get: function(t) {
3330
3304
  return e[t];
3331
3305
  },
3332
- set: function(t, n) {
3333
- e[t] = n;
3306
+ set: function(t, r) {
3307
+ e[t] = r;
3334
3308
  }
3335
3309
  };
3336
3310
  }
3337
3311
  };
3338
3312
  }
3339
- function eo(e) {
3313
+ function oo(e) {
3340
3314
  return e === void 0 && (e = {
3341
3315
  number: {},
3342
3316
  dateTime: {},
3343
3317
  pluralRules: {}
3344
3318
  }), {
3345
- getNumberFormat: et(function() {
3346
- for (var t, n = [], r = 0; r < arguments.length; r++)
3347
- n[r] = arguments[r];
3348
- return new ((t = Intl.NumberFormat).bind.apply(t, ue([void 0], n, !1)))();
3319
+ getNumberFormat: nt(function() {
3320
+ for (var t, r = [], n = 0; n < arguments.length; n++)
3321
+ r[n] = arguments[n];
3322
+ return new ((t = Intl.NumberFormat).bind.apply(t, rt([void 0], r, !1)))();
3349
3323
  }, {
3350
- cache: rt(e.number),
3351
- strategy: tt.variadic
3324
+ cache: st(e.number),
3325
+ strategy: it.variadic
3352
3326
  }),
3353
- getDateTimeFormat: et(function() {
3354
- for (var t, n = [], r = 0; r < arguments.length; r++)
3355
- n[r] = arguments[r];
3356
- return new ((t = Intl.DateTimeFormat).bind.apply(t, ue([void 0], n, !1)))();
3327
+ getDateTimeFormat: nt(function() {
3328
+ for (var t, r = [], n = 0; n < arguments.length; n++)
3329
+ r[n] = arguments[n];
3330
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, rt([void 0], r, !1)))();
3357
3331
  }, {
3358
- cache: rt(e.dateTime),
3359
- strategy: tt.variadic
3332
+ cache: st(e.dateTime),
3333
+ strategy: it.variadic
3360
3334
  }),
3361
- getPluralRules: et(function() {
3362
- for (var t, n = [], r = 0; r < arguments.length; r++)
3363
- n[r] = arguments[r];
3364
- return new ((t = Intl.PluralRules).bind.apply(t, ue([void 0], n, !1)))();
3335
+ getPluralRules: nt(function() {
3336
+ for (var t, r = [], n = 0; n < arguments.length; n++)
3337
+ r[n] = arguments[n];
3338
+ return new ((t = Intl.PluralRules).bind.apply(t, rt([void 0], r, !1)))();
3365
3339
  }, {
3366
- cache: rt(e.pluralRules),
3367
- strategy: tt.variadic
3340
+ cache: st(e.pluralRules),
3341
+ strategy: it.variadic
3368
3342
  })
3369
3343
  };
3370
3344
  }
3371
- var to = (
3345
+ var so = (
3372
3346
  /** @class */
3373
3347
  function() {
3374
- function e(t, n, r, i) {
3375
- n === void 0 && (n = e.defaultLocale);
3348
+ function e(t, r, n, i) {
3349
+ r === void 0 && (r = e.defaultLocale);
3376
3350
  var o = this;
3377
3351
  if (this.formatterCache = {
3378
3352
  number: {},
@@ -3382,8 +3356,8 @@ var to = (
3382
3356
  var l = o.formatToParts(u);
3383
3357
  if (l.length === 1)
3384
3358
  return l[0].value;
3385
- var c = l.reduce(function(m, f) {
3386
- return !m.length || f.type !== D.literal || typeof m[m.length - 1] != "string" ? m.push(f.value) : m[m.length - 1] += f.value, m;
3359
+ var c = l.reduce(function(p, f) {
3360
+ return !p.length || f.type !== D.literal || typeof p[p.length - 1] != "string" ? p.push(f.value) : p[p.length - 1] += f.value, p;
3387
3361
  }, []);
3388
3362
  return c.length <= 1 ? c[0] || "" : c;
3389
3363
  }, this.formatToParts = function(u) {
@@ -3395,18 +3369,18 @@ var to = (
3395
3369
  };
3396
3370
  }, this.getAst = function() {
3397
3371
  return o.ast;
3398
- }, this.locales = n, this.resolvedLocale = e.resolveLocale(n), typeof t == "string") {
3372
+ }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
3399
3373
  if (this.message = t, !e.__parse)
3400
3374
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3401
3375
  var s = i || {};
3402
3376
  s.formatters;
3403
- var a = hi(s, ["formatters"]);
3404
- this.ast = e.__parse(t, w(w({}, a), { locale: this.resolvedLocale }));
3377
+ var a = mi(s, ["formatters"]);
3378
+ this.ast = e.__parse(t, q(q({}, a), { locale: this.resolvedLocale }));
3405
3379
  } else
3406
3380
  this.ast = t;
3407
3381
  if (!Array.isArray(this.ast))
3408
3382
  throw new TypeError("A message must be provided as a String or AST.");
3409
- this.formats = Ki(e.formats, r), this.formatters = i && i.formatters || eo(this.formatterCache);
3383
+ this.formats = io(e.formats, n), this.formatters = i && i.formatters || oo(this.formatterCache);
3410
3384
  }
3411
3385
  return Object.defineProperty(e, "defaultLocale", {
3412
3386
  get: function() {
@@ -3416,10 +3390,10 @@ var to = (
3416
3390
  configurable: !0
3417
3391
  }), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
3418
3392
  if (typeof Intl.Locale != "undefined") {
3419
- var n = Intl.NumberFormat.supportedLocalesOf(t);
3420
- return n.length > 0 ? new Intl.Locale(n[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3393
+ var r = Intl.NumberFormat.supportedLocalesOf(t);
3394
+ return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3421
3395
  }
3422
- }, e.__parse = zi, e.formats = {
3396
+ }, e.__parse = Yi, e.formats = {
3423
3397
  number: {
3424
3398
  integer: {
3425
3399
  maximumFractionDigits: 0
@@ -3480,113 +3454,113 @@ var to = (
3480
3454
  }, e;
3481
3455
  }()
3482
3456
  );
3483
- function no(e, t) {
3457
+ function ao(e, t) {
3484
3458
  if (t == null)
3485
3459
  return;
3486
3460
  if (t in e)
3487
3461
  return e[t];
3488
- const n = t.split(".");
3489
- let r = e;
3490
- for (let i = 0; i < n.length; i++)
3491
- if (typeof r == "object") {
3462
+ const r = t.split(".");
3463
+ let n = e;
3464
+ for (let i = 0; i < r.length; i++)
3465
+ if (typeof n == "object") {
3492
3466
  if (i > 0) {
3493
- const o = n.slice(i, n.length).join(".");
3494
- if (o in r) {
3495
- r = r[o];
3467
+ const o = r.slice(i, r.length).join(".");
3468
+ if (o in n) {
3469
+ n = n[o];
3496
3470
  break;
3497
3471
  }
3498
3472
  }
3499
- r = r[n[i]];
3473
+ n = n[r[i]];
3500
3474
  } else
3501
- r = void 0;
3502
- return r;
3475
+ n = void 0;
3476
+ return n;
3503
3477
  }
3504
- const te = {}, ro = (e, t, n) => n && (t in te || (te[t] = {}), e in te[t] || (te[t][e] = n), n), kn = (e, t) => {
3478
+ const te = {}, uo = (e, t, r) => r && (t in te || (te[t] = {}), e in te[t] || (te[t][e] = r), r), zr = (e, t) => {
3505
3479
  if (t == null)
3506
3480
  return;
3507
3481
  if (t in te && e in te[t])
3508
3482
  return te[t][e];
3509
- const n = je(t);
3510
- for (let r = 0; r < n.length; r++) {
3511
- const i = n[r], o = oo(i, e);
3483
+ const r = $e(t);
3484
+ for (let n = 0; n < r.length; n++) {
3485
+ const i = r[n], o = ho(i, e);
3512
3486
  if (o)
3513
- return ro(e, t, o);
3487
+ return uo(e, t, o);
3514
3488
  }
3515
3489
  };
3516
- let wt;
3517
- const Be = Ge({});
3518
- function io(e) {
3519
- return wt[e] || null;
3490
+ let At;
3491
+ const Te = De({});
3492
+ function lo(e) {
3493
+ return At[e] || null;
3520
3494
  }
3521
- function $n(e) {
3522
- return e in wt;
3495
+ function Zr(e) {
3496
+ return e in At;
3523
3497
  }
3524
- function oo(e, t) {
3525
- if (!$n(e))
3498
+ function ho(e, t) {
3499
+ if (!Zr(e))
3526
3500
  return null;
3527
- const n = io(e);
3528
- return no(n, t);
3501
+ const r = lo(e);
3502
+ return ao(r, t);
3529
3503
  }
3530
- function so(e) {
3504
+ function co(e) {
3531
3505
  if (e == null)
3532
3506
  return;
3533
- const t = je(e);
3534
- for (let n = 0; n < t.length; n++) {
3535
- const r = t[n];
3536
- if ($n(r))
3537
- return r;
3507
+ const t = $e(e);
3508
+ for (let r = 0; r < t.length; r++) {
3509
+ const n = t[r];
3510
+ if (Zr(n))
3511
+ return n;
3538
3512
  }
3539
3513
  }
3540
- function Vn(e, ...t) {
3541
- delete te[e], Be.update((n) => (n[e] = li.all([n[e] || {}, ...t]), n));
3514
+ function Qr(e, ...t) {
3515
+ delete te[e], Te.update((r) => (r[e] = di.all([r[e] || {}, ...t]), r));
3542
3516
  }
3543
- de(
3544
- [Be],
3517
+ pe(
3518
+ [Te],
3545
3519
  ([e]) => Object.keys(e)
3546
3520
  );
3547
- Be.subscribe((e) => wt = e);
3521
+ Te.subscribe((e) => At = e);
3548
3522
  const Le = {};
3549
- function ao(e, t) {
3523
+ function fo(e, t) {
3550
3524
  Le[e].delete(t), Le[e].size === 0 && delete Le[e];
3551
3525
  }
3552
- function Xn(e) {
3526
+ function Jr(e) {
3553
3527
  return Le[e];
3554
3528
  }
3555
- function uo(e) {
3556
- return je(e).map((t) => {
3557
- const n = Xn(t);
3558
- return [t, n ? [...n] : []];
3529
+ function po(e) {
3530
+ return $e(e).map((t) => {
3531
+ const r = Jr(t);
3532
+ return [t, r ? [...r] : []];
3559
3533
  }).filter(([, t]) => t.length > 0);
3560
3534
  }
3561
- function gt(e) {
3562
- return e == null ? !1 : je(e).some(
3535
+ function yt(e) {
3536
+ return e == null ? !1 : $e(e).some(
3563
3537
  (t) => {
3564
- var n;
3565
- return (n = Xn(t)) == null ? void 0 : n.size;
3538
+ var r;
3539
+ return (r = Jr(t)) == null ? void 0 : r.size;
3566
3540
  }
3567
3541
  );
3568
3542
  }
3569
- function lo(e, t) {
3543
+ function mo(e, t) {
3570
3544
  return Promise.all(
3571
- t.map((r) => (ao(e, r), r().then((i) => i.default || i)))
3572
- ).then((r) => Vn(e, ...r));
3573
- }
3574
- const ve = {};
3575
- function zn(e) {
3576
- if (!gt(e))
3577
- return e in ve ? ve[e] : Promise.resolve();
3578
- const t = uo(e);
3579
- return ve[e] = Promise.all(
3545
+ t.map((n) => (fo(e, n), n().then((i) => i.default || i)))
3546
+ ).then((n) => Qr(e, ...n));
3547
+ }
3548
+ const ye = {};
3549
+ function qr(e) {
3550
+ if (!yt(e))
3551
+ return e in ye ? ye[e] : Promise.resolve();
3552
+ const t = po(e);
3553
+ return ye[e] = Promise.all(
3580
3554
  t.map(
3581
- ([n, r]) => lo(n, r)
3555
+ ([r, n]) => mo(r, n)
3582
3556
  )
3583
3557
  ).then(() => {
3584
- if (gt(e))
3585
- return zn(e);
3586
- delete ve[e];
3587
- }), ve[e];
3558
+ if (yt(e))
3559
+ return qr(e);
3560
+ delete ye[e];
3561
+ }), ye[e];
3588
3562
  }
3589
- const ho = {
3563
+ const bo = {
3590
3564
  number: {
3591
3565
  scientific: { notation: "scientific" },
3592
3566
  engineering: { notation: "engineering" },
@@ -3615,178 +3589,178 @@ const ho = {
3615
3589
  timeZoneName: "short"
3616
3590
  }
3617
3591
  }
3618
- }, co = {
3592
+ }, go = {
3619
3593
  fallbackLocale: null,
3620
3594
  loadingDelay: 200,
3621
- formats: ho,
3595
+ formats: bo,
3622
3596
  warnOnMissingMessages: !0,
3623
3597
  handleMissingMessage: void 0,
3624
3598
  ignoreTag: !0
3625
- }, fo = co;
3626
- function fe() {
3627
- return fo;
3628
- }
3629
- const it = Ge(!1);
3630
- var mo = Object.defineProperty, po = Object.defineProperties, bo = Object.getOwnPropertyDescriptors, Yt = Object.getOwnPropertySymbols, go = Object.prototype.hasOwnProperty, yo = Object.prototype.propertyIsEnumerable, Kt = (e, t, n) => t in e ? mo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, vo = (e, t) => {
3631
- for (var n in t || (t = {}))
3632
- go.call(t, n) && Kt(e, n, t[n]);
3633
- if (Yt)
3634
- for (var n of Yt(t))
3635
- yo.call(t, n) && Kt(e, n, t[n]);
3599
+ }, yo = go;
3600
+ function ce() {
3601
+ return yo;
3602
+ }
3603
+ const at = De(!1);
3604
+ var vo = Object.defineProperty, _o = Object.defineProperties, Eo = Object.getOwnPropertyDescriptors, nr = Object.getOwnPropertySymbols, xo = Object.prototype.hasOwnProperty, wo = Object.prototype.propertyIsEnumerable, ir = (e, t, r) => t in e ? vo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, So = (e, t) => {
3605
+ for (var r in t || (t = {}))
3606
+ xo.call(t, r) && ir(e, r, t[r]);
3607
+ if (nr)
3608
+ for (var r of nr(t))
3609
+ wo.call(t, r) && ir(e, r, t[r]);
3636
3610
  return e;
3637
- }, _o = (e, t) => po(e, bo(t));
3638
- let yt;
3639
- const Ue = Ge(null);
3640
- function en(e) {
3641
- return e.split("-").map((t, n, r) => r.slice(0, n + 1).join("-")).reverse();
3611
+ }, To = (e, t) => _o(e, Eo(t));
3612
+ let vt;
3613
+ const Fe = De(null);
3614
+ function or(e) {
3615
+ return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3642
3616
  }
3643
- function je(e, t = fe().fallbackLocale) {
3644
- const n = en(e);
3645
- return t ? [.../* @__PURE__ */ new Set([...n, ...en(t)])] : n;
3617
+ function $e(e, t = ce().fallbackLocale) {
3618
+ const r = or(e);
3619
+ return t ? [.../* @__PURE__ */ new Set([...r, ...or(t)])] : r;
3646
3620
  }
3647
- function re() {
3648
- return yt != null ? yt : void 0;
3621
+ function ne() {
3622
+ return vt != null ? vt : void 0;
3649
3623
  }
3650
- Ue.subscribe((e) => {
3651
- yt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3624
+ Fe.subscribe((e) => {
3625
+ vt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3652
3626
  });
3653
- const Eo = (e) => {
3654
- if (e && so(e) && gt(e)) {
3655
- const { loadingDelay: t } = fe();
3656
- let n;
3657
- return typeof window != "undefined" && re() != null && t ? n = window.setTimeout(
3658
- () => it.set(!0),
3627
+ const Bo = (e) => {
3628
+ if (e && co(e) && yt(e)) {
3629
+ const { loadingDelay: t } = ce();
3630
+ let r;
3631
+ return typeof window != "undefined" && ne() != null && t ? r = window.setTimeout(
3632
+ () => at.set(!0),
3659
3633
  t
3660
- ) : it.set(!0), zn(e).then(() => {
3661
- Ue.set(e);
3634
+ ) : at.set(!0), qr(e).then(() => {
3635
+ Fe.set(e);
3662
3636
  }).finally(() => {
3663
- clearTimeout(n), it.set(!1);
3637
+ clearTimeout(r), at.set(!1);
3664
3638
  });
3665
3639
  }
3666
- return Ue.set(e);
3667
- }, pe = _o(vo({}, Ue), {
3668
- set: Eo
3669
- }), ke = (e) => {
3640
+ return Fe.set(e);
3641
+ }, de = To(So({}, Fe), {
3642
+ set: Bo
3643
+ }), Ve = (e) => {
3670
3644
  const t = /* @__PURE__ */ Object.create(null);
3671
- return (r) => {
3672
- const i = JSON.stringify(r);
3673
- return i in t ? t[i] : t[i] = e(r);
3645
+ return (n) => {
3646
+ const i = JSON.stringify(n);
3647
+ return i in t ? t[i] : t[i] = e(n);
3674
3648
  };
3675
3649
  };
3676
- var xo = Object.defineProperty, Fe = Object.getOwnPropertySymbols, Zn = Object.prototype.hasOwnProperty, Qn = Object.prototype.propertyIsEnumerable, tn = (e, t, n) => t in e ? xo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, St = (e, t) => {
3677
- for (var n in t || (t = {}))
3678
- Zn.call(t, n) && tn(e, n, t[n]);
3679
- if (Fe)
3680
- for (var n of Fe(t))
3681
- Qn.call(t, n) && tn(e, n, t[n]);
3650
+ var Ho = Object.defineProperty, Ge = Object.getOwnPropertySymbols, Yr = Object.prototype.hasOwnProperty, Kr = Object.prototype.propertyIsEnumerable, sr = (e, t, r) => t in e ? Ho(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ot = (e, t) => {
3651
+ for (var r in t || (t = {}))
3652
+ Yr.call(t, r) && sr(e, r, t[r]);
3653
+ if (Ge)
3654
+ for (var r of Ge(t))
3655
+ Kr.call(t, r) && sr(e, r, t[r]);
3682
3656
  return e;
3683
- }, be = (e, t) => {
3684
- var n = {};
3685
- for (var r in e)
3686
- Zn.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
3687
- if (e != null && Fe)
3688
- for (var r of Fe(e))
3689
- t.indexOf(r) < 0 && Qn.call(e, r) && (n[r] = e[r]);
3690
- return n;
3657
+ }, me = (e, t) => {
3658
+ var r = {};
3659
+ for (var n in e)
3660
+ Yr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3661
+ if (e != null && Ge)
3662
+ for (var n of Ge(e))
3663
+ t.indexOf(n) < 0 && Kr.call(e, n) && (r[n] = e[n]);
3664
+ return r;
3691
3665
  };
3692
- const Te = (e, t) => {
3693
- const { formats: n } = fe();
3694
- if (e in n && t in n[e])
3695
- return n[e][t];
3666
+ const Se = (e, t) => {
3667
+ const { formats: r } = ce();
3668
+ if (e in r && t in r[e])
3669
+ return r[e][t];
3696
3670
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3697
- }, wo = ke(
3671
+ }, Ao = Ve(
3698
3672
  (e) => {
3699
- var t = e, { locale: n, format: r } = t, i = be(t, ["locale", "format"]);
3700
- if (n == null)
3673
+ var t = e, { locale: r, format: n } = t, i = me(t, ["locale", "format"]);
3674
+ if (r == null)
3701
3675
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3702
- return r && (i = Te("number", r)), new Intl.NumberFormat(n, i);
3676
+ return n && (i = Se("number", n)), new Intl.NumberFormat(r, i);
3703
3677
  }
3704
- ), So = ke(
3678
+ ), Oo = Ve(
3705
3679
  (e) => {
3706
- var t = e, { locale: n, format: r } = t, i = be(t, ["locale", "format"]);
3707
- if (n == null)
3680
+ var t = e, { locale: r, format: n } = t, i = me(t, ["locale", "format"]);
3681
+ if (r == null)
3708
3682
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3709
- return r ? i = Te("date", r) : Object.keys(i).length === 0 && (i = Te("date", "short")), new Intl.DateTimeFormat(n, i);
3683
+ return n ? i = Se("date", n) : Object.keys(i).length === 0 && (i = Se("date", "short")), new Intl.DateTimeFormat(r, i);
3710
3684
  }
3711
- ), To = ke(
3685
+ ), Po = Ve(
3712
3686
  (e) => {
3713
- var t = e, { locale: n, format: r } = t, i = be(t, ["locale", "format"]);
3714
- if (n == null)
3687
+ var t = e, { locale: r, format: n } = t, i = me(t, ["locale", "format"]);
3688
+ if (r == null)
3715
3689
  throw new Error(
3716
3690
  '[svelte-i18n] A "locale" must be set to format time values'
3717
3691
  );
3718
- return r ? i = Te("time", r) : Object.keys(i).length === 0 && (i = Te("time", "short")), new Intl.DateTimeFormat(n, i);
3692
+ return n ? i = Se("time", n) : Object.keys(i).length === 0 && (i = Se("time", "short")), new Intl.DateTimeFormat(r, i);
3719
3693
  }
3720
- ), Bo = (e = {}) => {
3694
+ ), Co = (e = {}) => {
3721
3695
  var t = e, {
3722
- locale: n = re()
3723
- } = t, r = be(t, [
3696
+ locale: r = ne()
3697
+ } = t, n = me(t, [
3724
3698
  "locale"
3725
3699
  ]);
3726
- return wo(St({ locale: n }, r));
3727
- }, Ho = (e = {}) => {
3700
+ return Ao(Ot({ locale: r }, n));
3701
+ }, Mo = (e = {}) => {
3728
3702
  var t = e, {
3729
- locale: n = re()
3730
- } = t, r = be(t, [
3703
+ locale: r = ne()
3704
+ } = t, n = me(t, [
3731
3705
  "locale"
3732
3706
  ]);
3733
- return So(St({ locale: n }, r));
3734
- }, Ao = (e = {}) => {
3707
+ return Oo(Ot({ locale: r }, n));
3708
+ }, No = (e = {}) => {
3735
3709
  var t = e, {
3736
- locale: n = re()
3737
- } = t, r = be(t, [
3710
+ locale: r = ne()
3711
+ } = t, n = me(t, [
3738
3712
  "locale"
3739
3713
  ]);
3740
- return To(St({ locale: n }, r));
3741
- }, Po = ke(
3714
+ return Po(Ot({ locale: r }, n));
3715
+ }, Io = Ve(
3742
3716
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3743
- (e, t = re()) => new to(e, t, fe().formats, {
3744
- ignoreTag: fe().ignoreTag
3717
+ (e, t = ne()) => new so(e, t, ce().formats, {
3718
+ ignoreTag: ce().ignoreTag
3745
3719
  })
3746
- ), Co = (e, t = {}) => {
3747
- var n, r, i, o;
3720
+ ), Lo = (e, t = {}) => {
3721
+ var r, n, i, o;
3748
3722
  let s = t;
3749
3723
  typeof e == "object" && (s = e, e = s.id);
3750
3724
  const {
3751
3725
  values: a,
3752
- locale: u = re(),
3726
+ locale: u = ne(),
3753
3727
  default: l
3754
3728
  } = s;
3755
3729
  if (u == null)
3756
3730
  throw new Error(
3757
3731
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3758
3732
  );
3759
- let c = kn(e, u);
3733
+ let c = zr(e, u);
3760
3734
  if (!c)
3761
- c = (o = (i = (r = (n = fe()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
3735
+ 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;
3762
3736
  else if (typeof c != "string")
3763
3737
  return console.warn(
3764
3738
  `[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.`
3765
3739
  ), c;
3766
3740
  if (!a)
3767
3741
  return c;
3768
- let m = c;
3742
+ let p = c;
3769
3743
  try {
3770
- m = Po(c, u).format(a);
3744
+ p = Io(c, u).format(a);
3771
3745
  } catch (f) {
3772
3746
  f instanceof Error && console.warn(
3773
3747
  `[svelte-i18n] Message "${e}" has syntax error:`,
3774
3748
  f.message
3775
3749
  );
3776
3750
  }
3777
- return m;
3778
- }, Oo = (e, t) => Ao(t).format(e), Mo = (e, t) => Ho(t).format(e), No = (e, t) => Bo(t).format(e), Io = (e, t = re()) => kn(e, t), Lo = de([pe, Be], () => Co);
3779
- de([pe], () => Oo);
3780
- de([pe], () => Mo);
3781
- de([pe], () => No);
3782
- de([pe, Be], () => Io);
3783
- function nn(e, t) {
3784
- Vn(e, t);
3785
- }
3786
- function Ro(e) {
3787
- pe.set(e);
3788
- }
3789
- const rn = {
3751
+ return p;
3752
+ }, Ro = (e, t) => No(t).format(e), Wo = (e, t) => Mo(t).format(e), Uo = (e, t) => Co(t).format(e), Fo = (e, t = ne()) => zr(e, t), Go = pe([de, Te], () => Lo);
3753
+ pe([de], () => Ro);
3754
+ pe([de], () => Wo);
3755
+ pe([de], () => Uo);
3756
+ pe([de, Te], () => Fo);
3757
+ function ar(e, t) {
3758
+ Qr(e, t);
3759
+ }
3760
+ function Do(e) {
3761
+ de.set(e);
3762
+ }
3763
+ const ur = {
3790
3764
  en: {
3791
3765
  recentWinners: "Recent Winners",
3792
3766
  topWinners: "Top Winners",
@@ -3902,43 +3876,112 @@ const rn = {
3902
3876
  noWinnersMessage: "Currently there are no winners."
3903
3877
  }
3904
3878
  };
3905
- function Y(e) {
3879
+ /*! *****************************************************************************
3880
+ Copyright (c) Microsoft Corporation.
3881
+
3882
+ Permission to use, copy, modify, and/or distribute this software for any
3883
+ purpose with or without fee is hereby granted.
3884
+
3885
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
3886
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
3887
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
3888
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
3889
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
3890
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
3891
+ PERFORMANCE OF THIS SOFTWARE.
3892
+ ***************************************************************************** */
3893
+ var _t = function(e, t) {
3894
+ return _t = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
3895
+ r.__proto__ = n;
3896
+ } || function(r, n) {
3897
+ for (var i in n)
3898
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
3899
+ }, _t(e, t);
3900
+ };
3901
+ function Be(e, t) {
3902
+ if (typeof t != "function" && t !== null)
3903
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
3904
+ _t(e, t);
3905
+ function r() {
3906
+ this.constructor = e;
3907
+ }
3908
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
3909
+ }
3910
+ function Et(e) {
3911
+ var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
3912
+ if (r)
3913
+ return r.call(e);
3914
+ if (e && typeof e.length == "number")
3915
+ return {
3916
+ next: function() {
3917
+ return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
3918
+ }
3919
+ };
3920
+ throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
3921
+ }
3922
+ function xt(e, t) {
3923
+ var r = typeof Symbol == "function" && e[Symbol.iterator];
3924
+ if (!r)
3925
+ return e;
3926
+ var n = r.call(e), i, o = [], s;
3927
+ try {
3928
+ for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
3929
+ o.push(i.value);
3930
+ } catch (a) {
3931
+ s = { error: a };
3932
+ } finally {
3933
+ try {
3934
+ i && !i.done && (r = n.return) && r.call(n);
3935
+ } finally {
3936
+ if (s)
3937
+ throw s.error;
3938
+ }
3939
+ }
3940
+ return o;
3941
+ }
3942
+ function wt(e, t, r) {
3943
+ if (arguments.length === 2)
3944
+ for (var n = 0, i = t.length, o; n < i; n++)
3945
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
3946
+ return e.concat(o || t);
3947
+ }
3948
+ function K(e) {
3906
3949
  return typeof e == "function";
3907
3950
  }
3908
- function Jn(e) {
3909
- var t = function(r) {
3910
- Error.call(r), r.stack = new Error().stack;
3911
- }, n = e(t);
3912
- return n.prototype = Object.create(Error.prototype), n.prototype.constructor = n, n;
3913
- }
3914
- var ot = Jn(function(e) {
3915
- return function(n) {
3916
- e(this), this.message = n ? n.length + ` errors occurred during unsubscription:
3917
- ` + n.map(function(r, i) {
3918
- return i + 1 + ") " + r.toString();
3951
+ function en(e) {
3952
+ var t = function(n) {
3953
+ Error.call(n), n.stack = new Error().stack;
3954
+ }, r = e(t);
3955
+ return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
3956
+ }
3957
+ var ut = en(function(e) {
3958
+ return function(r) {
3959
+ e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
3960
+ ` + r.map(function(n, i) {
3961
+ return i + 1 + ") " + n.toString();
3919
3962
  }).join(`
3920
- `) : "", this.name = "UnsubscriptionError", this.errors = n;
3963
+ `) : "", this.name = "UnsubscriptionError", this.errors = r;
3921
3964
  };
3922
3965
  });
3923
- function vt(e, t) {
3966
+ function St(e, t) {
3924
3967
  if (e) {
3925
- var n = e.indexOf(t);
3926
- 0 <= n && e.splice(n, 1);
3968
+ var r = e.indexOf(t);
3969
+ 0 <= r && e.splice(r, 1);
3927
3970
  }
3928
3971
  }
3929
- var $e = function() {
3972
+ var Xe = function() {
3930
3973
  function e(t) {
3931
3974
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
3932
3975
  }
3933
3976
  return e.prototype.unsubscribe = function() {
3934
- var t, n, r, i, o;
3977
+ var t, r, n, i, o;
3935
3978
  if (!this.closed) {
3936
3979
  this.closed = !0;
3937
3980
  var s = this._parentage;
3938
3981
  if (s)
3939
3982
  if (this._parentage = null, Array.isArray(s))
3940
3983
  try {
3941
- for (var a = lt(s), u = a.next(); !u.done; u = a.next()) {
3984
+ for (var a = Et(s), u = a.next(); !u.done; u = a.next()) {
3942
3985
  var l = u.value;
3943
3986
  l.remove(this);
3944
3987
  }
@@ -3946,7 +3989,7 @@ var $e = function() {
3946
3989
  t = { error: b };
3947
3990
  } finally {
3948
3991
  try {
3949
- u && !u.done && (n = a.return) && n.call(a);
3992
+ u && !u.done && (r = a.return) && r.call(a);
3950
3993
  } finally {
3951
3994
  if (t)
3952
3995
  throw t.error;
@@ -3955,118 +3998,118 @@ var $e = function() {
3955
3998
  else
3956
3999
  s.remove(this);
3957
4000
  var c = this.initialTeardown;
3958
- if (Y(c))
4001
+ if (K(c))
3959
4002
  try {
3960
4003
  c();
3961
4004
  } catch (b) {
3962
- o = b instanceof ot ? b.errors : [b];
4005
+ o = b instanceof ut ? b.errors : [b];
3963
4006
  }
3964
- var m = this._finalizers;
3965
- if (m) {
4007
+ var p = this._finalizers;
4008
+ if (p) {
3966
4009
  this._finalizers = null;
3967
4010
  try {
3968
- for (var f = lt(m), p = f.next(); !p.done; p = f.next()) {
3969
- var g = p.value;
4011
+ for (var f = Et(p), m = f.next(); !m.done; m = f.next()) {
4012
+ var g = m.value;
3970
4013
  try {
3971
- on(g);
4014
+ lr(g);
3972
4015
  } catch (b) {
3973
- o = o != null ? o : [], b instanceof ot ? o = ue(ue([], ht(o)), ht(b.errors)) : o.push(b);
4016
+ o = o != null ? o : [], b instanceof ut ? o = wt(wt([], xt(o)), xt(b.errors)) : o.push(b);
3974
4017
  }
3975
4018
  }
3976
4019
  } catch (b) {
3977
- r = { error: b };
4020
+ n = { error: b };
3978
4021
  } finally {
3979
4022
  try {
3980
- p && !p.done && (i = f.return) && i.call(f);
4023
+ m && !m.done && (i = f.return) && i.call(f);
3981
4024
  } finally {
3982
- if (r)
3983
- throw r.error;
4025
+ if (n)
4026
+ throw n.error;
3984
4027
  }
3985
4028
  }
3986
4029
  }
3987
4030
  if (o)
3988
- throw new ot(o);
4031
+ throw new ut(o);
3989
4032
  }
3990
4033
  }, e.prototype.add = function(t) {
3991
- var n;
4034
+ var r;
3992
4035
  if (t && t !== this)
3993
4036
  if (this.closed)
3994
- on(t);
4037
+ lr(t);
3995
4038
  else {
3996
4039
  if (t instanceof e) {
3997
4040
  if (t.closed || t._hasParent(this))
3998
4041
  return;
3999
4042
  t._addParent(this);
4000
4043
  }
4001
- (this._finalizers = (n = this._finalizers) !== null && n !== void 0 ? n : []).push(t);
4044
+ (this._finalizers = (r = this._finalizers) !== null && r !== void 0 ? r : []).push(t);
4002
4045
  }
4003
4046
  }, e.prototype._hasParent = function(t) {
4004
- var n = this._parentage;
4005
- return n === t || Array.isArray(n) && n.includes(t);
4047
+ var r = this._parentage;
4048
+ return r === t || Array.isArray(r) && r.includes(t);
4006
4049
  }, e.prototype._addParent = function(t) {
4007
- var n = this._parentage;
4008
- this._parentage = Array.isArray(n) ? (n.push(t), n) : n ? [n, t] : t;
4050
+ var r = this._parentage;
4051
+ this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
4009
4052
  }, e.prototype._removeParent = function(t) {
4010
- var n = this._parentage;
4011
- n === t ? this._parentage = null : Array.isArray(n) && vt(n, t);
4053
+ var r = this._parentage;
4054
+ r === t ? this._parentage = null : Array.isArray(r) && St(r, t);
4012
4055
  }, e.prototype.remove = function(t) {
4013
- var n = this._finalizers;
4014
- n && vt(n, t), t instanceof e && t._removeParent(this);
4056
+ var r = this._finalizers;
4057
+ r && St(r, t), t instanceof e && t._removeParent(this);
4015
4058
  }, e.EMPTY = function() {
4016
4059
  var t = new e();
4017
4060
  return t.closed = !0, t;
4018
4061
  }(), e;
4019
- }(), qn = $e.EMPTY;
4020
- function Yn(e) {
4021
- return e instanceof $e || e && "closed" in e && Y(e.remove) && Y(e.add) && Y(e.unsubscribe);
4062
+ }(), tn = Xe.EMPTY;
4063
+ function rn(e) {
4064
+ return e instanceof Xe || e && "closed" in e && K(e.remove) && K(e.add) && K(e.unsubscribe);
4022
4065
  }
4023
- function on(e) {
4024
- Y(e) ? e() : e.unsubscribe();
4066
+ function lr(e) {
4067
+ K(e) ? e() : e.unsubscribe();
4025
4068
  }
4026
- var Wo = {
4069
+ var jo = {
4027
4070
  Promise: void 0
4028
- }, Uo = {
4071
+ }, ko = {
4029
4072
  setTimeout: function(e, t) {
4030
- for (var n = [], r = 2; r < arguments.length; r++)
4031
- n[r - 2] = arguments[r];
4032
- return setTimeout.apply(void 0, ue([e, t], ht(n)));
4073
+ for (var r = [], n = 2; n < arguments.length; n++)
4074
+ r[n - 2] = arguments[n];
4075
+ return setTimeout.apply(void 0, wt([e, t], xt(r)));
4033
4076
  },
4034
4077
  clearTimeout: function(e) {
4035
4078
  return clearTimeout(e);
4036
4079
  },
4037
4080
  delegate: void 0
4038
4081
  };
4039
- function Fo(e) {
4040
- Uo.setTimeout(function() {
4082
+ function $o(e) {
4083
+ ko.setTimeout(function() {
4041
4084
  throw e;
4042
4085
  });
4043
4086
  }
4044
- function sn() {
4087
+ function hr() {
4045
4088
  }
4046
4089
  function Re(e) {
4047
4090
  e();
4048
4091
  }
4049
- var Kn = function(e) {
4050
- K(t, e);
4051
- function t(n) {
4052
- var r = e.call(this) || this;
4053
- return r.isStopped = !1, n ? (r.destination = n, Yn(n) && n.add(r)) : r.destination = jo, r;
4092
+ var nn = function(e) {
4093
+ Be(t, e);
4094
+ function t(r) {
4095
+ var n = e.call(this) || this;
4096
+ return n.isStopped = !1, r ? (n.destination = r, rn(r) && r.add(n)) : n.destination = zo, n;
4054
4097
  }
4055
- return t.create = function(n, r, i) {
4056
- return new _t(n, r, i);
4057
- }, t.prototype.next = function(n) {
4058
- this.isStopped || this._next(n);
4059
- }, t.prototype.error = function(n) {
4060
- this.isStopped || (this.isStopped = !0, this._error(n));
4098
+ return t.create = function(r, n, i) {
4099
+ return new Tt(r, n, i);
4100
+ }, t.prototype.next = function(r) {
4101
+ this.isStopped || this._next(r);
4102
+ }, t.prototype.error = function(r) {
4103
+ this.isStopped || (this.isStopped = !0, this._error(r));
4061
4104
  }, t.prototype.complete = function() {
4062
4105
  this.isStopped || (this.isStopped = !0, this._complete());
4063
4106
  }, t.prototype.unsubscribe = function() {
4064
4107
  this.closed || (this.isStopped = !0, e.prototype.unsubscribe.call(this), this.destination = null);
4065
- }, t.prototype._next = function(n) {
4066
- this.destination.next(n);
4067
- }, t.prototype._error = function(n) {
4108
+ }, t.prototype._next = function(r) {
4109
+ this.destination.next(r);
4110
+ }, t.prototype._error = function(r) {
4068
4111
  try {
4069
- this.destination.error(n);
4112
+ this.destination.error(r);
4070
4113
  } finally {
4071
4114
  this.unsubscribe();
4072
4115
  }
@@ -4077,25 +4120,25 @@ var Kn = function(e) {
4077
4120
  this.unsubscribe();
4078
4121
  }
4079
4122
  }, t;
4080
- }($e), Go = function() {
4123
+ }(Xe), Vo = function() {
4081
4124
  function e(t) {
4082
4125
  this.partialObserver = t;
4083
4126
  }
4084
4127
  return e.prototype.next = function(t) {
4085
- var n = this.partialObserver;
4086
- if (n.next)
4128
+ var r = this.partialObserver;
4129
+ if (r.next)
4087
4130
  try {
4088
- n.next(t);
4089
- } catch (r) {
4090
- Me(r);
4131
+ r.next(t);
4132
+ } catch (n) {
4133
+ Me(n);
4091
4134
  }
4092
4135
  }, e.prototype.error = function(t) {
4093
- var n = this.partialObserver;
4094
- if (n.error)
4136
+ var r = this.partialObserver;
4137
+ if (r.error)
4095
4138
  try {
4096
- n.error(t);
4097
- } catch (r) {
4098
- Me(r);
4139
+ r.error(t);
4140
+ } catch (n) {
4141
+ Me(n);
4099
4142
  }
4100
4143
  else
4101
4144
  Me(t);
@@ -4104,55 +4147,55 @@ var Kn = function(e) {
4104
4147
  if (t.complete)
4105
4148
  try {
4106
4149
  t.complete();
4107
- } catch (n) {
4108
- Me(n);
4150
+ } catch (r) {
4151
+ Me(r);
4109
4152
  }
4110
4153
  }, e;
4111
- }(), _t = function(e) {
4112
- K(t, e);
4113
- function t(n, r, i) {
4154
+ }(), Tt = function(e) {
4155
+ Be(t, e);
4156
+ function t(r, n, i) {
4114
4157
  var o = e.call(this) || this, s;
4115
- return Y(n) || !n ? s = {
4116
- next: n != null ? n : void 0,
4117
- error: r != null ? r : void 0,
4158
+ return K(r) || !r ? s = {
4159
+ next: r != null ? r : void 0,
4160
+ error: n != null ? n : void 0,
4118
4161
  complete: i != null ? i : void 0
4119
- } : s = n, o.destination = new Go(s), o;
4162
+ } : s = r, o.destination = new Vo(s), o;
4120
4163
  }
4121
4164
  return t;
4122
- }(Kn);
4165
+ }(nn);
4123
4166
  function Me(e) {
4124
- Fo(e);
4167
+ $o(e);
4125
4168
  }
4126
- function Do(e) {
4169
+ function Xo(e) {
4127
4170
  throw e;
4128
4171
  }
4129
- var jo = {
4172
+ var zo = {
4130
4173
  closed: !0,
4131
- next: sn,
4132
- error: Do,
4133
- complete: sn
4134
- }, ko = function() {
4174
+ next: hr,
4175
+ error: Xo,
4176
+ complete: hr
4177
+ }, Zo = function() {
4135
4178
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
4136
4179
  }();
4137
- function $o(e) {
4180
+ function Qo(e) {
4138
4181
  return e;
4139
4182
  }
4140
- function Vo(e) {
4141
- return e.length === 0 ? $o : e.length === 1 ? e[0] : function(n) {
4142
- return e.reduce(function(r, i) {
4143
- return i(r);
4144
- }, n);
4183
+ function Jo(e) {
4184
+ return e.length === 0 ? Qo : e.length === 1 ? e[0] : function(r) {
4185
+ return e.reduce(function(n, i) {
4186
+ return i(n);
4187
+ }, r);
4145
4188
  };
4146
4189
  }
4147
- var an = function() {
4190
+ var cr = function() {
4148
4191
  function e(t) {
4149
4192
  t && (this._subscribe = t);
4150
4193
  }
4151
4194
  return e.prototype.lift = function(t) {
4152
- var n = new e();
4153
- return n.source = this, n.operator = t, n;
4154
- }, e.prototype.subscribe = function(t, n, r) {
4155
- var i = this, o = zo(t) ? t : new _t(t, n, r);
4195
+ var r = new e();
4196
+ return r.source = this, r.operator = t, r;
4197
+ }, e.prototype.subscribe = function(t, r, n) {
4198
+ var i = this, o = Yo(t) ? t : new Tt(t, r, n);
4156
4199
  return Re(function() {
4157
4200
  var s = i, a = s.operator, u = s.source;
4158
4201
  o.add(a ? a.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
@@ -4160,13 +4203,13 @@ var an = function() {
4160
4203
  }, e.prototype._trySubscribe = function(t) {
4161
4204
  try {
4162
4205
  return this._subscribe(t);
4163
- } catch (n) {
4164
- t.error(n);
4206
+ } catch (r) {
4207
+ t.error(r);
4165
4208
  }
4166
- }, e.prototype.forEach = function(t, n) {
4167
- var r = this;
4168
- return n = un(n), new n(function(i, o) {
4169
- var s = new _t({
4209
+ }, e.prototype.forEach = function(t, r) {
4210
+ var n = this;
4211
+ return r = fr(r), new r(function(i, o) {
4212
+ var s = new Tt({
4170
4213
  next: function(a) {
4171
4214
  try {
4172
4215
  t(a);
@@ -4177,69 +4220,69 @@ var an = function() {
4177
4220
  error: o,
4178
4221
  complete: i
4179
4222
  });
4180
- r.subscribe(s);
4223
+ n.subscribe(s);
4181
4224
  });
4182
4225
  }, e.prototype._subscribe = function(t) {
4183
- var n;
4184
- return (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(t);
4185
- }, e.prototype[ko] = function() {
4226
+ var r;
4227
+ return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
4228
+ }, e.prototype[Zo] = function() {
4186
4229
  return this;
4187
4230
  }, e.prototype.pipe = function() {
4188
- for (var t = [], n = 0; n < arguments.length; n++)
4189
- t[n] = arguments[n];
4190
- return Vo(t)(this);
4231
+ for (var t = [], r = 0; r < arguments.length; r++)
4232
+ t[r] = arguments[r];
4233
+ return Jo(t)(this);
4191
4234
  }, e.prototype.toPromise = function(t) {
4192
- var n = this;
4193
- return t = un(t), new t(function(r, i) {
4235
+ var r = this;
4236
+ return t = fr(t), new t(function(n, i) {
4194
4237
  var o;
4195
- n.subscribe(function(s) {
4238
+ r.subscribe(function(s) {
4196
4239
  return o = s;
4197
4240
  }, function(s) {
4198
4241
  return i(s);
4199
4242
  }, function() {
4200
- return r(o);
4243
+ return n(o);
4201
4244
  });
4202
4245
  });
4203
4246
  }, e.create = function(t) {
4204
4247
  return new e(t);
4205
4248
  }, e;
4206
4249
  }();
4207
- function un(e) {
4250
+ function fr(e) {
4208
4251
  var t;
4209
- return (t = e != null ? e : Wo.Promise) !== null && t !== void 0 ? t : Promise;
4252
+ return (t = e != null ? e : jo.Promise) !== null && t !== void 0 ? t : Promise;
4210
4253
  }
4211
- function Xo(e) {
4212
- return e && Y(e.next) && Y(e.error) && Y(e.complete);
4254
+ function qo(e) {
4255
+ return e && K(e.next) && K(e.error) && K(e.complete);
4213
4256
  }
4214
- function zo(e) {
4215
- return e && e instanceof Kn || Xo(e) && Yn(e);
4257
+ function Yo(e) {
4258
+ return e && e instanceof nn || qo(e) && rn(e);
4216
4259
  }
4217
- var Zo = Jn(function(e) {
4260
+ var Ko = en(function(e) {
4218
4261
  return function() {
4219
4262
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
4220
4263
  };
4221
- }), er = function(e) {
4222
- K(t, e);
4264
+ }), on = function(e) {
4265
+ Be(t, e);
4223
4266
  function t() {
4224
- var n = e.call(this) || this;
4225
- return n.closed = !1, n.currentObservers = null, n.observers = [], n.isStopped = !1, n.hasError = !1, n.thrownError = null, n;
4267
+ var r = e.call(this) || this;
4268
+ return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
4226
4269
  }
4227
- return t.prototype.lift = function(n) {
4228
- var r = new ln(this, this);
4229
- return r.operator = n, r;
4270
+ return t.prototype.lift = function(r) {
4271
+ var n = new pr(this, this);
4272
+ return n.operator = r, n;
4230
4273
  }, t.prototype._throwIfClosed = function() {
4231
4274
  if (this.closed)
4232
- throw new Zo();
4233
- }, t.prototype.next = function(n) {
4234
- var r = this;
4275
+ throw new Ko();
4276
+ }, t.prototype.next = function(r) {
4277
+ var n = this;
4235
4278
  Re(function() {
4236
4279
  var i, o;
4237
- if (r._throwIfClosed(), !r.isStopped) {
4238
- r.currentObservers || (r.currentObservers = Array.from(r.observers));
4280
+ if (n._throwIfClosed(), !n.isStopped) {
4281
+ n.currentObservers || (n.currentObservers = Array.from(n.observers));
4239
4282
  try {
4240
- for (var s = lt(r.currentObservers), a = s.next(); !a.done; a = s.next()) {
4283
+ for (var s = Et(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
4241
4284
  var u = a.value;
4242
- u.next(n);
4285
+ u.next(r);
4243
4286
  }
4244
4287
  } catch (l) {
4245
4288
  i = { error: l };
@@ -4253,198 +4296,198 @@ var Zo = Jn(function(e) {
4253
4296
  }
4254
4297
  }
4255
4298
  });
4256
- }, t.prototype.error = function(n) {
4257
- var r = this;
4299
+ }, t.prototype.error = function(r) {
4300
+ var n = this;
4258
4301
  Re(function() {
4259
- if (r._throwIfClosed(), !r.isStopped) {
4260
- r.hasError = r.isStopped = !0, r.thrownError = n;
4261
- for (var i = r.observers; i.length; )
4262
- i.shift().error(n);
4302
+ if (n._throwIfClosed(), !n.isStopped) {
4303
+ n.hasError = n.isStopped = !0, n.thrownError = r;
4304
+ for (var i = n.observers; i.length; )
4305
+ i.shift().error(r);
4263
4306
  }
4264
4307
  });
4265
4308
  }, t.prototype.complete = function() {
4266
- var n = this;
4309
+ var r = this;
4267
4310
  Re(function() {
4268
- if (n._throwIfClosed(), !n.isStopped) {
4269
- n.isStopped = !0;
4270
- for (var r = n.observers; r.length; )
4271
- r.shift().complete();
4311
+ if (r._throwIfClosed(), !r.isStopped) {
4312
+ r.isStopped = !0;
4313
+ for (var n = r.observers; n.length; )
4314
+ n.shift().complete();
4272
4315
  }
4273
4316
  });
4274
4317
  }, t.prototype.unsubscribe = function() {
4275
4318
  this.isStopped = this.closed = !0, this.observers = this.currentObservers = null;
4276
4319
  }, Object.defineProperty(t.prototype, "observed", {
4277
4320
  get: function() {
4278
- var n;
4279
- return ((n = this.observers) === null || n === void 0 ? void 0 : n.length) > 0;
4321
+ var r;
4322
+ return ((r = this.observers) === null || r === void 0 ? void 0 : r.length) > 0;
4280
4323
  },
4281
4324
  enumerable: !1,
4282
4325
  configurable: !0
4283
- }), t.prototype._trySubscribe = function(n) {
4284
- return this._throwIfClosed(), e.prototype._trySubscribe.call(this, n);
4285
- }, t.prototype._subscribe = function(n) {
4286
- return this._throwIfClosed(), this._checkFinalizedStatuses(n), this._innerSubscribe(n);
4287
- }, t.prototype._innerSubscribe = function(n) {
4288
- var r = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
4289
- return o || s ? qn : (this.currentObservers = null, a.push(n), new $e(function() {
4290
- r.currentObservers = null, vt(a, n);
4326
+ }), t.prototype._trySubscribe = function(r) {
4327
+ return this._throwIfClosed(), e.prototype._trySubscribe.call(this, r);
4328
+ }, t.prototype._subscribe = function(r) {
4329
+ return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
4330
+ }, t.prototype._innerSubscribe = function(r) {
4331
+ var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
4332
+ return o || s ? tn : (this.currentObservers = null, a.push(r), new Xe(function() {
4333
+ n.currentObservers = null, St(a, r);
4291
4334
  }));
4292
- }, t.prototype._checkFinalizedStatuses = function(n) {
4293
- var r = this, i = r.hasError, o = r.thrownError, s = r.isStopped;
4294
- i ? n.error(o) : s && n.complete();
4335
+ }, t.prototype._checkFinalizedStatuses = function(r) {
4336
+ var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
4337
+ i ? r.error(o) : s && r.complete();
4295
4338
  }, t.prototype.asObservable = function() {
4296
- var n = new an();
4297
- return n.source = this, n;
4298
- }, t.create = function(n, r) {
4299
- return new ln(n, r);
4339
+ var r = new cr();
4340
+ return r.source = this, r;
4341
+ }, t.create = function(r, n) {
4342
+ return new pr(r, n);
4300
4343
  }, t;
4301
- }(an), ln = function(e) {
4302
- K(t, e);
4303
- function t(n, r) {
4344
+ }(cr), pr = function(e) {
4345
+ Be(t, e);
4346
+ function t(r, n) {
4304
4347
  var i = e.call(this) || this;
4305
- return i.destination = n, i.source = r, i;
4348
+ return i.destination = r, i.source = n, i;
4306
4349
  }
4307
- return t.prototype.next = function(n) {
4308
- var r, i;
4309
- (i = (r = this.destination) === null || r === void 0 ? void 0 : r.next) === null || i === void 0 || i.call(r, n);
4310
- }, t.prototype.error = function(n) {
4311
- var r, i;
4312
- (i = (r = this.destination) === null || r === void 0 ? void 0 : r.error) === null || i === void 0 || i.call(r, n);
4350
+ return t.prototype.next = function(r) {
4351
+ var n, i;
4352
+ (i = (n = this.destination) === null || n === void 0 ? void 0 : n.next) === null || i === void 0 || i.call(n, r);
4353
+ }, t.prototype.error = function(r) {
4354
+ var n, i;
4355
+ (i = (n = this.destination) === null || n === void 0 ? void 0 : n.error) === null || i === void 0 || i.call(n, r);
4313
4356
  }, t.prototype.complete = function() {
4314
- var n, r;
4315
- (r = (n = this.destination) === null || n === void 0 ? void 0 : n.complete) === null || r === void 0 || r.call(n);
4316
- }, t.prototype._subscribe = function(n) {
4317
- var r, i;
4318
- return (i = (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(n)) !== null && i !== void 0 ? i : qn;
4357
+ var r, n;
4358
+ (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
4359
+ }, t.prototype._subscribe = function(r) {
4360
+ var n, i;
4361
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : tn;
4319
4362
  }, t;
4320
- }(er), tr = {
4363
+ }(on), sn = {
4321
4364
  now: function() {
4322
- return (tr.delegate || Date).now();
4365
+ return (sn.delegate || Date).now();
4323
4366
  },
4324
4367
  delegate: void 0
4325
- }, Qo = function(e) {
4326
- K(t, e);
4327
- function t(n, r, i) {
4328
- n === void 0 && (n = 1 / 0), r === void 0 && (r = 1 / 0), i === void 0 && (i = tr);
4368
+ }, es = function(e) {
4369
+ Be(t, e);
4370
+ function t(r, n, i) {
4371
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = sn);
4329
4372
  var o = e.call(this) || this;
4330
- return o._bufferSize = n, o._windowTime = r, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = r === 1 / 0, o._bufferSize = Math.max(1, n), o._windowTime = Math.max(1, r), o;
4373
+ 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;
4331
4374
  }
4332
- return t.prototype.next = function(n) {
4333
- var r = this, i = r.isStopped, o = r._buffer, s = r._infiniteTimeWindow, a = r._timestampProvider, u = r._windowTime;
4334
- i || (o.push(n), !s && o.push(a.now() + u)), this._trimBuffer(), e.prototype.next.call(this, n);
4335
- }, t.prototype._subscribe = function(n) {
4375
+ return t.prototype.next = function(r) {
4376
+ var n = this, i = n.isStopped, o = n._buffer, s = n._infiniteTimeWindow, a = n._timestampProvider, u = n._windowTime;
4377
+ i || (o.push(r), !s && o.push(a.now() + u)), this._trimBuffer(), e.prototype.next.call(this, r);
4378
+ }, t.prototype._subscribe = function(r) {
4336
4379
  this._throwIfClosed(), this._trimBuffer();
4337
- for (var r = this._innerSubscribe(n), i = this, o = i._infiniteTimeWindow, s = i._buffer, a = s.slice(), u = 0; u < a.length && !n.closed; u += o ? 1 : 2)
4338
- n.next(a[u]);
4339
- return this._checkFinalizedStatuses(n), r;
4380
+ 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)
4381
+ r.next(a[u]);
4382
+ return this._checkFinalizedStatuses(r), n;
4340
4383
  }, t.prototype._trimBuffer = function() {
4341
- var n = this, r = n._bufferSize, i = n._timestampProvider, o = n._buffer, s = n._infiniteTimeWindow, a = (s ? 1 : 2) * r;
4342
- if (r < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
4384
+ var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, s = r._infiniteTimeWindow, a = (s ? 1 : 2) * n;
4385
+ if (n < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
4343
4386
  for (var u = i.now(), l = 0, c = 1; c < o.length && o[c] <= u; c += 2)
4344
4387
  l = c;
4345
4388
  l && o.splice(0, l + 1);
4346
4389
  }
4347
4390
  }, t;
4348
- }(er);
4349
- const hn = [], cn = {}, Jo = (e, t = 0) => {
4350
- if (hn.indexOf(e) == -1) {
4351
- const n = new Qo(t);
4352
- cn[e] = n, hn.push(e);
4391
+ }(on);
4392
+ const dr = [], mr = {}, ts = (e, t = 0) => {
4393
+ if (dr.indexOf(e) == -1) {
4394
+ const r = new es(t);
4395
+ mr[e] = r, dr.push(e);
4353
4396
  }
4354
- return cn[e];
4397
+ return mr[e];
4355
4398
  };
4356
- window.emWidgets = { topic: Jo };
4357
- const qo = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4358
- function Yo(e, t) {
4399
+ window.emWidgets = { topic: ts };
4400
+ const rs = (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));
4401
+ function ns(e, t) {
4359
4402
  if (e) {
4360
- const n = document.createElement("style");
4361
- n.innerHTML = t, e.appendChild(n);
4403
+ const r = document.createElement("style");
4404
+ r.innerHTML = t, e.appendChild(r);
4362
4405
  }
4363
4406
  }
4364
- function Ko(e, t) {
4365
- const n = new URL(t);
4366
- fetch(n.href).then((r) => r.text()).then((r) => {
4407
+ function is(e, t) {
4408
+ const r = new URL(t);
4409
+ fetch(r.href).then((n) => n.text()).then((n) => {
4367
4410
  const i = document.createElement("style");
4368
- i.innerHTML = r, e && e.appendChild(i);
4369
- }).catch((r) => {
4370
- console.error("There was an error while trying to load client styling from URL", r);
4411
+ i.innerHTML = n, e && e.appendChild(i);
4412
+ }).catch((n) => {
4413
+ console.error("There was an error while trying to load client styling from URL", n);
4371
4414
  });
4372
4415
  }
4373
- function es(e, t, n) {
4416
+ function os(e, t, r) {
4374
4417
  if (window.emMessageBus) {
4375
- const r = document.createElement("style");
4418
+ const n = document.createElement("style");
4376
4419
  window.emMessageBus.subscribe(t, (i) => {
4377
- r.innerHTML = i, e && e.appendChild(r);
4420
+ n.innerHTML = i, e && e.appendChild(n);
4378
4421
  });
4379
4422
  }
4380
4423
  }
4381
4424
  if (typeof window != "undefined") {
4382
4425
  let e = function(t) {
4383
- return function(...n) {
4426
+ return function(...r) {
4384
4427
  try {
4385
- return t.apply(this, n);
4386
- } catch (r) {
4387
- 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"))
4428
+ return t.apply(this, r);
4429
+ } catch (n) {
4430
+ 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"))
4388
4431
  return !1;
4389
- throw r;
4432
+ throw n;
4390
4433
  }
4391
4434
  };
4392
4435
  };
4393
- customElements.define = e(customElements.define), import("./GeneralAnimationLoading-S6QWym_y.js").then(({ default: t }) => {
4436
+ customElements.define = e(customElements.define), import("./GeneralAnimationLoading-6ALl73TR.js").then(({ default: t }) => {
4394
4437
  !customElements.get("general-animation-loading") && customElements.define("general-animation-loading", t.element);
4395
4438
  });
4396
4439
  }
4397
- function ts(e) {
4398
- Pr(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}");
4440
+ function ss(e) {
4441
+ In(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}");
4399
4442
  }
4400
- function fn(e, t, n) {
4401
- const r = e.slice();
4402
- return r[71] = t[n], r;
4443
+ function br(e, t, r) {
4444
+ const n = e.slice();
4445
+ return n[71] = t[r], n;
4403
4446
  }
4404
- function mn(e, t, n) {
4405
- const r = e.slice();
4406
- return r[74] = t[n], r;
4447
+ function gr(e, t, r) {
4448
+ const n = e.slice();
4449
+ return n[74] = t[r], n;
4407
4450
  }
4408
- function ns(e) {
4409
- let t, n, r, i, o, s, a, u, l, c, m, f, p, g, b, A, M, N, B, P = We(
4451
+ function as(e) {
4452
+ let t, r, n, i, o, s, a, u, l, c, p, f, m, g, b, H, M, N, T, A = We(
4410
4453
  /*tabs*/
4411
4454
  e[16]
4412
4455
  ), x = [];
4413
- for (let v = 0; v < P.length; v += 1)
4414
- x[v] = gn(mn(e, P, v));
4456
+ for (let v = 0; v < A.length; v += 1)
4457
+ x[v] = Er(gr(e, A, v));
4415
4458
  function G(v, F) {
4416
4459
  return (
4417
4460
  /*isLoadingDelayed*/
4418
- v[17] ? os : is
4461
+ v[17] ? hs : ls
4419
4462
  );
4420
4463
  }
4421
4464
  let U = G(e), I = U(e);
4422
4465
  return {
4423
4466
  c() {
4424
- t = C("div"), n = C("div"), r = C("div");
4467
+ t = P("div"), r = P("div"), n = P("div");
4425
4468
  for (let v = 0; v < x.length; v += 1)
4426
4469
  x[v].c();
4427
- i = J(), o = C("div"), s = C("button"), a = Ce("svg"), u = Ce("path"), c = J(), m = C("button"), f = Ce("svg"), p = Ce("path"), A = J(), I.c(), d(r, "class", "WinnerButtonsContainer"), d(u, "style", l = /*numberOfVisibleSlides*/
4470
+ i = J(), o = P("div"), s = P("button"), a = Pe("svg"), u = Pe("path"), c = J(), p = P("button"), f = Pe("svg"), m = Pe("path"), H = J(), I.c(), d(n, "class", "WinnerButtonsContainer"), d(u, "style", l = /*numberOfVisibleSlides*/
4428
4471
  e[11] >= /*winners*/
4429
- e[10].length ? "fill:#F6F6F62E" : ""), d(u, "id", "Path_36"), d(u, "data-name", "Path 36"), d(u, "d", "M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"), d(u, "transform", "translate(14.656 0) rotate(90)"), d(u, "fill", "#fff"), d(a, "id", "Component_46_2"), d(a, "data-name", "Component 46 – 2"), d(a, "xmlns", "http://www.w3.org/2000/svg"), d(a, "width", "15"), d(a, "height", "15"), d(a, "viewBox", "0 0 16 24.656"), d(s, "class", "SliderButton"), d(p, "style", g = /*numberOfVisibleSlides*/
4472
+ e[10].length ? "fill:#F6F6F62E" : ""), d(u, "id", "Path_36"), d(u, "data-name", "Path 36"), d(u, "d", "M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"), d(u, "transform", "translate(14.656 0) rotate(90)"), d(u, "fill", "#fff"), d(a, "id", "Component_46_2"), d(a, "data-name", "Component 46 – 2"), d(a, "xmlns", "http://www.w3.org/2000/svg"), d(a, "width", "15"), d(a, "height", "15"), d(a, "viewBox", "0 0 16 24.656"), d(s, "class", "SliderButton"), d(m, "style", g = /*numberOfVisibleSlides*/
4430
4473
  e[11] >= /*winners*/
4431
- e[10].length ? "fill:#F6F6F62E" : ""), d(p, "id", "Path_36"), d(p, "data-name", "Path 36"), d(p, "d", "M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"), d(p, "transform", "translate(0 24.656) rotate(-90)"), d(p, "fill", "#fff"), d(f, "id", "Component_46_2"), d(f, "data-name", "Component 46 – 2"), d(f, "xmlns", "http://www.w3.org/2000/svg"), d(f, "width", "15"), d(f, "height", "15"), d(f, "viewBox", "0 0 16 24.656"), d(m, "class", "SliderButton"), d(o, "class", b = "ButtonsContainer " + /*enableautoscroll*/
4432
- (e[4] == "true" ? "ButtonsContainerNone" : "")), d(n, "class", "WinnersHeader"), d(t, "class", M = "CasinoWinners " + /*mobile*/
4474
+ e[10].length ? "fill:#F6F6F62E" : ""), d(m, "id", "Path_36"), d(m, "data-name", "Path 36"), d(m, "d", "M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"), d(m, "transform", "translate(0 24.656) rotate(-90)"), d(m, "fill", "#fff"), d(f, "id", "Component_46_2"), d(f, "data-name", "Component 46 – 2"), d(f, "xmlns", "http://www.w3.org/2000/svg"), d(f, "width", "15"), d(f, "height", "15"), d(f, "viewBox", "0 0 16 24.656"), d(p, "class", "SliderButton"), d(o, "class", b = "ButtonsContainer " + /*enableautoscroll*/
4475
+ (e[4] == "true" ? "ButtonsContainerNone" : "")), d(r, "class", "WinnersHeader"), d(t, "class", M = "CasinoWinners " + /*mobile*/
4433
4476
  (e[12] ? "Mobile" : ""));
4434
4477
  },
4435
4478
  m(v, F) {
4436
- $(v, t, F), S(t, n), S(n, r);
4479
+ $(v, t, F), w(t, r), w(r, n);
4437
4480
  for (let E = 0; E < x.length; E += 1)
4438
- x[E] && x[E].m(r, null);
4439
- S(n, i), S(n, o), S(o, s), S(s, a), S(a, u), S(o, c), S(o, m), S(m, f), S(f, p), S(t, A), I.m(t, null), N || (B = [
4440
- xe(
4481
+ x[E] && x[E].m(n, null);
4482
+ w(r, i), w(r, o), w(o, s), w(s, a), w(a, u), w(o, c), w(o, p), w(p, f), w(f, m), w(t, H), I.m(t, null), N || (T = [
4483
+ Ee(
4441
4484
  s,
4442
4485
  "click",
4443
4486
  /*click_handler_2*/
4444
4487
  e[46]
4445
4488
  ),
4446
- xe(
4447
- m,
4489
+ Ee(
4490
+ p,
4448
4491
  "click",
4449
4492
  /*click_handler_3*/
4450
4493
  e[47]
@@ -4454,18 +4497,18 @@ function ns(e) {
4454
4497
  p(v, F) {
4455
4498
  if (F[0] & /*winnersType, istopavailable, toggleTab, $_, tabs, isrecentavailable*/
4456
4499
  852483) {
4457
- P = We(
4500
+ A = We(
4458
4501
  /*tabs*/
4459
4502
  v[16]
4460
4503
  );
4461
4504
  let E;
4462
- for (E = 0; E < P.length; E += 1) {
4463
- const O = mn(v, P, E);
4464
- x[E] ? x[E].p(O, F) : (x[E] = gn(O), x[E].c(), x[E].m(r, null));
4505
+ for (E = 0; E < A.length; E += 1) {
4506
+ const C = gr(v, A, E);
4507
+ x[E] ? x[E].p(C, F) : (x[E] = Er(C), x[E].c(), x[E].m(n, null));
4465
4508
  }
4466
4509
  for (; E < x.length; E += 1)
4467
4510
  x[E].d(1);
4468
- x.length = P.length;
4511
+ x.length = A.length;
4469
4512
  }
4470
4513
  F[0] & /*numberOfVisibleSlides, winners*/
4471
4514
  3072 && l !== (l = /*numberOfVisibleSlides*/
@@ -4473,22 +4516,22 @@ function ns(e) {
4473
4516
  v[10].length ? "fill:#F6F6F62E" : "") && d(u, "style", l), F[0] & /*numberOfVisibleSlides, winners*/
4474
4517
  3072 && g !== (g = /*numberOfVisibleSlides*/
4475
4518
  v[11] >= /*winners*/
4476
- v[10].length ? "fill:#F6F6F62E" : "") && d(p, "style", g), F[0] & /*enableautoscroll*/
4519
+ v[10].length ? "fill:#F6F6F62E" : "") && d(m, "style", g), F[0] & /*enableautoscroll*/
4477
4520
  16 && b !== (b = "ButtonsContainer " + /*enableautoscroll*/
4478
4521
  (v[4] == "true" ? "ButtonsContainerNone" : "")) && d(o, "class", b), U === (U = G(v)) && I ? I.p(v, F) : (I.d(1), I = U(v), I && (I.c(), I.m(t, null))), F[0] & /*mobile*/
4479
4522
  4096 && M !== (M = "CasinoWinners " + /*mobile*/
4480
4523
  (v[12] ? "Mobile" : "")) && d(t, "class", M);
4481
4524
  },
4482
4525
  d(v) {
4483
- v && j(t), xn(x, v), I.d(), N = !1, me(B);
4526
+ v && j(t), Br(x, v), I.d(), N = !1, fe(T);
4484
4527
  }
4485
4528
  };
4486
4529
  }
4487
- function rs(e) {
4530
+ function us(e) {
4488
4531
  let t;
4489
4532
  return {
4490
4533
  c() {
4491
- t = C("general-animation-loading"), Q(
4534
+ t = P("general-animation-loading"), Q(
4492
4535
  t,
4493
4536
  "clientstyling",
4494
4537
  /*clientstyling*/
@@ -4500,62 +4543,62 @@ function rs(e) {
4500
4543
  e[3]
4501
4544
  );
4502
4545
  },
4503
- m(n, r) {
4504
- $(n, t, r);
4546
+ m(r, n) {
4547
+ $(r, t, n);
4505
4548
  },
4506
- p(n, r) {
4507
- r[0] & /*clientstyling*/
4549
+ p(r, n) {
4550
+ n[0] & /*clientstyling*/
4508
4551
  4 && Q(
4509
4552
  t,
4510
4553
  "clientstyling",
4511
4554
  /*clientstyling*/
4512
- n[2]
4513
- ), r[0] & /*clientstylingurl*/
4555
+ r[2]
4556
+ ), n[0] & /*clientstylingurl*/
4514
4557
  8 && Q(
4515
4558
  t,
4516
4559
  "clientstylingurl",
4517
4560
  /*clientstylingurl*/
4518
- n[3]
4561
+ r[3]
4519
4562
  );
4520
4563
  },
4521
- d(n) {
4522
- n && j(t);
4564
+ d(r) {
4565
+ r && j(t);
4523
4566
  }
4524
4567
  };
4525
4568
  }
4526
- function dn(e) {
4527
- let t, n = (
4569
+ function yr(e) {
4570
+ let t, r = (
4528
4571
  /*isrecentavailable*/
4529
- e[0] === "true" && pn(e)
4572
+ e[0] === "true" && vr(e)
4530
4573
  );
4531
4574
  return {
4532
4575
  c() {
4533
- n && n.c(), t = xt();
4576
+ r && r.c(), t = Ht();
4534
4577
  },
4535
- m(r, i) {
4536
- n && n.m(r, i), $(r, t, i);
4578
+ m(n, i) {
4579
+ r && r.m(n, i), $(n, t, i);
4537
4580
  },
4538
- p(r, i) {
4581
+ p(n, i) {
4539
4582
  /*isrecentavailable*/
4540
- r[0] === "true" ? n ? n.p(r, i) : (n = pn(r), n.c(), n.m(t.parentNode, t)) : n && (n.d(1), n = null);
4583
+ n[0] === "true" ? r ? r.p(n, i) : (r = vr(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
4541
4584
  },
4542
- d(r) {
4543
- r && j(t), n && n.d(r);
4585
+ d(n) {
4586
+ n && j(t), r && r.d(n);
4544
4587
  }
4545
4588
  };
4546
4589
  }
4547
- function pn(e) {
4548
- let t, n = (
4590
+ function vr(e) {
4591
+ let t, r = (
4549
4592
  /*$_*/
4550
4593
  e[18]("recentWinners") + ""
4551
- ), r, i, o, s;
4594
+ ), n, i, o, s;
4552
4595
  return {
4553
4596
  c() {
4554
- t = C("button"), r = q(n), d(t, "class", i = "WinnersButton " + /*winnersType*/
4597
+ t = P("button"), n = Y(r), d(t, "class", i = "WinnersButton " + /*winnersType*/
4555
4598
  (e[9] == "recent" ? "Active" : ""));
4556
4599
  },
4557
4600
  m(a, u) {
4558
- $(a, t, u), S(t, r), o || (s = xe(
4601
+ $(a, t, u), w(t, n), o || (s = Ee(
4559
4602
  t,
4560
4603
  "click",
4561
4604
  /*click_handler*/
@@ -4564,8 +4607,8 @@ function pn(e) {
4564
4607
  },
4565
4608
  p(a, u) {
4566
4609
  u[0] & /*$_*/
4567
- 262144 && n !== (n = /*$_*/
4568
- a[18]("recentWinners") + "") && ne(r, n), u[0] & /*winnersType*/
4610
+ 262144 && r !== (r = /*$_*/
4611
+ a[18]("recentWinners") + "") && re(n, r), u[0] & /*winnersType*/
4569
4612
  512 && i !== (i = "WinnersButton " + /*winnersType*/
4570
4613
  (a[9] == "recent" ? "Active" : "")) && d(t, "class", i);
4571
4614
  },
@@ -4574,19 +4617,19 @@ function pn(e) {
4574
4617
  }
4575
4618
  };
4576
4619
  }
4577
- function bn(e) {
4578
- let t, n = (
4620
+ function _r(e) {
4621
+ let t, r = (
4579
4622
  /*$_*/
4580
4623
  e[18]("topWinners") + ""
4581
- ), r, i, o, s, a;
4624
+ ), n, i, o, s, a;
4582
4625
  return {
4583
4626
  c() {
4584
- t = C("button"), r = q(n), i = J(), d(t, "class", o = "WinnersButton " + /*winnersType*/
4627
+ t = P("button"), n = Y(r), i = J(), d(t, "class", o = "WinnersButton " + /*winnersType*/
4585
4628
  (e[9] == "top" ? "Active" : "") + " " + /*istopavailable*/
4586
4629
  (e[1] == "false" ? "Off" : ""));
4587
4630
  },
4588
4631
  m(u, l) {
4589
- $(u, t, l), S(t, r), S(t, i), s || (a = xe(
4632
+ $(u, t, l), w(t, n), w(t, i), s || (a = Ee(
4590
4633
  t,
4591
4634
  "click",
4592
4635
  /*click_handler_1*/
@@ -4595,8 +4638,8 @@ function bn(e) {
4595
4638
  },
4596
4639
  p(u, l) {
4597
4640
  l[0] & /*$_*/
4598
- 262144 && n !== (n = /*$_*/
4599
- u[18]("topWinners") + "") && ne(r, n), l[0] & /*winnersType, istopavailable*/
4641
+ 262144 && r !== (r = /*$_*/
4642
+ u[18]("topWinners") + "") && re(n, r), l[0] & /*winnersType, istopavailable*/
4600
4643
  514 && o !== (o = "WinnersButton " + /*winnersType*/
4601
4644
  (u[9] == "top" ? "Active" : "") + " " + /*istopavailable*/
4602
4645
  (u[1] == "false" ? "Off" : "")) && d(t, "class", o);
@@ -4606,60 +4649,60 @@ function bn(e) {
4606
4649
  }
4607
4650
  };
4608
4651
  }
4609
- function gn(e) {
4610
- let t, n, r = (
4652
+ function Er(e) {
4653
+ let t, r, n = (
4611
4654
  /*tab*/
4612
- e[74] == "recent" && dn(e)
4655
+ e[74] == "recent" && yr(e)
4613
4656
  ), i = (
4614
4657
  /*tab*/
4615
- e[74] == "top" && bn(e)
4658
+ e[74] == "top" && _r(e)
4616
4659
  );
4617
4660
  return {
4618
4661
  c() {
4619
- r && r.c(), t = J(), i && i.c(), n = xt();
4662
+ n && n.c(), t = J(), i && i.c(), r = Ht();
4620
4663
  },
4621
4664
  m(o, s) {
4622
- r && r.m(o, s), $(o, t, s), i && i.m(o, s), $(o, n, s);
4665
+ n && n.m(o, s), $(o, t, s), i && i.m(o, s), $(o, r, s);
4623
4666
  },
4624
4667
  p(o, s) {
4625
4668
  /*tab*/
4626
- o[74] == "recent" ? r ? r.p(o, s) : (r = dn(o), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null), /*tab*/
4627
- o[74] == "top" ? i ? i.p(o, s) : (i = bn(o), i.c(), i.m(n.parentNode, n)) : i && (i.d(1), i = null);
4669
+ o[74] == "recent" ? n ? n.p(o, s) : (n = yr(o), n.c(), n.m(t.parentNode, t)) : n && (n.d(1), n = null), /*tab*/
4670
+ o[74] == "top" ? i ? i.p(o, s) : (i = _r(o), i.c(), i.m(r.parentNode, r)) : i && (i.d(1), i = null);
4628
4671
  },
4629
4672
  d(o) {
4630
- o && (j(t), j(n)), r && r.d(o), i && i.d(o);
4673
+ o && (j(t), j(r)), n && n.d(o), i && i.d(o);
4631
4674
  }
4632
4675
  };
4633
4676
  }
4634
- function is(e) {
4677
+ function ls(e) {
4635
4678
  let t;
4636
- function n(o, s) {
4679
+ function r(o, s) {
4637
4680
  return (
4638
4681
  /*winners*/
4639
- o[10].length !== 0 ? as : ss
4682
+ o[10].length !== 0 ? fs : cs
4640
4683
  );
4641
4684
  }
4642
- let r = n(e), i = r(e);
4685
+ let n = r(e), i = n(e);
4643
4686
  return {
4644
4687
  c() {
4645
- t = C("div"), i.c(), d(t, "class", "WinnersSlider");
4688
+ t = P("div"), i.c(), d(t, "class", "WinnersSlider");
4646
4689
  },
4647
4690
  m(o, s) {
4648
4691
  $(o, t, s), i.m(t, null), e[50](t);
4649
4692
  },
4650
4693
  p(o, s) {
4651
- r === (r = n(o)) && i ? i.p(o, s) : (i.d(1), i = r(o), i && (i.c(), i.m(t, null)));
4694
+ n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
4652
4695
  },
4653
4696
  d(o) {
4654
4697
  o && j(t), i.d(), e[50](null);
4655
4698
  }
4656
4699
  };
4657
4700
  }
4658
- function os(e) {
4701
+ function hs(e) {
4659
4702
  let t;
4660
4703
  return {
4661
4704
  c() {
4662
- t = C("general-animation-loading"), Q(
4705
+ t = P("general-animation-loading"), Q(
4663
4706
  t,
4664
4707
  "clientstyling",
4665
4708
  /*clientstyling*/
@@ -4676,111 +4719,111 @@ function os(e) {
4676
4719
  e[5]
4677
4720
  );
4678
4721
  },
4679
- m(n, r) {
4680
- $(n, t, r);
4722
+ m(r, n) {
4723
+ $(r, t, n);
4681
4724
  },
4682
- p(n, r) {
4683
- r[0] & /*clientstyling*/
4725
+ p(r, n) {
4726
+ n[0] & /*clientstyling*/
4684
4727
  4 && Q(
4685
4728
  t,
4686
4729
  "clientstyling",
4687
4730
  /*clientstyling*/
4688
- n[2]
4689
- ), r[0] & /*clientstylingurl*/
4731
+ r[2]
4732
+ ), n[0] & /*clientstylingurl*/
4690
4733
  8 && Q(
4691
4734
  t,
4692
4735
  "clientstylingurl",
4693
4736
  /*clientstylingurl*/
4694
- n[3]
4695
- ), r[0] & /*mbsource*/
4737
+ r[3]
4738
+ ), n[0] & /*mbsource*/
4696
4739
  32 && Q(
4697
4740
  t,
4698
4741
  "mbsource",
4699
4742
  /*mbsource*/
4700
- n[5]
4743
+ r[5]
4701
4744
  );
4702
4745
  },
4703
- d(n) {
4704
- n && j(t);
4746
+ d(r) {
4747
+ r && j(t);
4705
4748
  }
4706
4749
  };
4707
4750
  }
4708
- function ss(e) {
4709
- let t, n = (
4751
+ function cs(e) {
4752
+ let t, r = (
4710
4753
  /*$_*/
4711
4754
  e[18]("noWinnersMessage") + ""
4712
- ), r;
4755
+ ), n;
4713
4756
  return {
4714
4757
  c() {
4715
- t = C("p"), r = q(n), d(t, "class", "NoWinnersMessage");
4758
+ t = P("p"), n = Y(r), d(t, "class", "NoWinnersMessage");
4716
4759
  },
4717
4760
  m(i, o) {
4718
- $(i, t, o), S(t, r);
4761
+ $(i, t, o), w(t, n);
4719
4762
  },
4720
4763
  p(i, o) {
4721
4764
  o[0] & /*$_*/
4722
- 262144 && n !== (n = /*$_*/
4723
- i[18]("noWinnersMessage") + "") && ne(r, n);
4765
+ 262144 && r !== (r = /*$_*/
4766
+ i[18]("noWinnersMessage") + "") && re(n, r);
4724
4767
  },
4725
4768
  d(i) {
4726
4769
  i && j(t);
4727
4770
  }
4728
4771
  };
4729
4772
  }
4730
- function as(e) {
4731
- let t, n = We(
4773
+ function fs(e) {
4774
+ let t, r = We(
4732
4775
  /*winners*/
4733
4776
  e[10]
4734
- ), r = [];
4735
- for (let i = 0; i < n.length; i += 1)
4736
- r[i] = yn(fn(e, n, i));
4777
+ ), n = [];
4778
+ for (let i = 0; i < r.length; i += 1)
4779
+ n[i] = xr(br(e, r, i));
4737
4780
  return {
4738
4781
  c() {
4739
- for (let i = 0; i < r.length; i += 1)
4740
- r[i].c();
4741
- t = xt();
4782
+ for (let i = 0; i < n.length; i += 1)
4783
+ n[i].c();
4784
+ t = Ht();
4742
4785
  },
4743
4786
  m(i, o) {
4744
- for (let s = 0; s < r.length; s += 1)
4745
- r[s] && r[s].m(i, o);
4787
+ for (let s = 0; s < n.length; s += 1)
4788
+ n[s] && n[s].m(i, o);
4746
4789
  $(i, t, o);
4747
4790
  },
4748
4791
  p(i, o) {
4749
4792
  if (o[0] & /*addAnimation, winnerCardElem, getAmount, winners, $_, maskUsername, openWinnersGame*/
4750
4793
  20219136) {
4751
- n = We(
4794
+ r = We(
4752
4795
  /*winners*/
4753
4796
  i[10]
4754
4797
  );
4755
4798
  let s;
4756
- for (s = 0; s < n.length; s += 1) {
4757
- const a = fn(i, n, s);
4758
- r[s] ? r[s].p(a, o) : (r[s] = yn(a), r[s].c(), r[s].m(t.parentNode, t));
4799
+ for (s = 0; s < r.length; s += 1) {
4800
+ const a = br(i, r, s);
4801
+ n[s] ? n[s].p(a, o) : (n[s] = xr(a), n[s].c(), n[s].m(t.parentNode, t));
4759
4802
  }
4760
- for (; s < r.length; s += 1)
4761
- r[s].d(1);
4762
- r.length = n.length;
4803
+ for (; s < n.length; s += 1)
4804
+ n[s].d(1);
4805
+ n.length = r.length;
4763
4806
  }
4764
4807
  },
4765
4808
  d(i) {
4766
- i && j(t), xn(r, i);
4809
+ i && j(t), Br(n, i);
4767
4810
  }
4768
4811
  };
4769
4812
  }
4770
- function yn(e) {
4771
- let t, n, r, i, o, s, a, u = (
4813
+ function xr(e) {
4814
+ let t, r, n, i, o, s, a, u = (
4772
4815
  /*winner*/
4773
4816
  e[71].gameName + ""
4774
- ), l, c, m, f = (
4817
+ ), l, c, p, f = (
4775
4818
  /*maskUsername*/
4776
4819
  e[20](
4777
4820
  /*winner*/
4778
4821
  e[71].username
4779
4822
  ) + ""
4780
- ), p, g, b, A = (
4823
+ ), m, g, b, H = (
4781
4824
  /*$_*/
4782
4825
  e[18]("won") + ""
4783
- ), M, N, B, P = (
4826
+ ), M, N, T, A = (
4784
4827
  /*getAmount*/
4785
4828
  e[24](
4786
4829
  /*winner*/
@@ -4798,36 +4841,36 @@ function yn(e) {
4798
4841
  }
4799
4842
  return {
4800
4843
  c() {
4801
- var E, O, V, k;
4802
- t = C("div"), n = C("div"), r = C("img"), s = J(), a = C("p"), l = q(u), c = J(), m = C("p"), p = q(f), g = J(), b = C("p"), M = q(A), N = J(), B = C("p"), x = q(P), G = J(), Gt(r.src, i = /*winner*/
4803
- (O = (E = e[71]) == null ? void 0 : E.gameModel) == null ? void 0 : O.thumbnail) || d(r, "src", i), d(r, "alt", o = /*winner*/
4804
- (k = (V = e[71]) == null ? void 0 : V.gameModel) == null ? void 0 : k.thumbnail), d(r, "class", "WinnersImage"), d(b, "class", "WinnerUsername"), d(n, "class", "WinnerCard"), d(t, "class", U = "CardWrapper " + /*addAnimation*/
4844
+ var E, C, V, k;
4845
+ t = P("div"), r = P("div"), n = P("img"), s = J(), a = P("p"), l = Y(u), c = J(), p = P("p"), m = Y(f), g = J(), b = P("p"), M = Y(H), N = J(), T = P("p"), x = Y(A), G = J(), Vt(n.src, i = /*winner*/
4846
+ (C = (E = e[71]) == null ? void 0 : E.gameModel) == null ? void 0 : C.thumbnail) || d(n, "src", i), d(n, "alt", o = /*winner*/
4847
+ (k = (V = e[71]) == null ? void 0 : V.gameModel) == null ? void 0 : k.thumbnail), d(n, "class", "WinnersImage"), d(b, "class", "WinnerUsername"), d(r, "class", "WinnerCard"), d(t, "class", U = "CardWrapper " + /*addAnimation*/
4805
4848
  (e[15] ? "CardWrapperAnimation" : ""));
4806
4849
  },
4807
- m(E, O) {
4808
- $(E, t, O), S(t, n), S(n, r), S(n, s), S(n, a), S(a, l), S(n, c), S(n, m), S(m, p), S(n, g), S(n, b), S(b, M), S(n, N), S(n, B), S(B, x), e[49](n), S(t, G), I || (v = xe(r, "click", F), I = !0);
4850
+ m(E, C) {
4851
+ $(E, t, C), w(t, r), w(r, n), w(r, s), w(r, a), w(a, l), w(r, c), w(r, p), w(p, m), w(r, g), w(r, b), w(b, M), w(r, N), w(r, T), w(T, x), e[49](r), w(t, G), I || (v = Ee(n, "click", F), I = !0);
4809
4852
  },
4810
- p(E, O) {
4853
+ p(E, C) {
4811
4854
  var V, k, L, W;
4812
- e = E, O[0] & /*winners*/
4813
- 1024 && !Gt(r.src, i = /*winner*/
4814
- (k = (V = e[71]) == null ? void 0 : V.gameModel) == null ? void 0 : k.thumbnail) && d(r, "src", i), O[0] & /*winners*/
4855
+ e = E, C[0] & /*winners*/
4856
+ 1024 && !Vt(n.src, i = /*winner*/
4857
+ (k = (V = e[71]) == null ? void 0 : V.gameModel) == null ? void 0 : k.thumbnail) && d(n, "src", i), C[0] & /*winners*/
4815
4858
  1024 && o !== (o = /*winner*/
4816
- (W = (L = e[71]) == null ? void 0 : L.gameModel) == null ? void 0 : W.thumbnail) && d(r, "alt", o), O[0] & /*winners*/
4859
+ (W = (L = e[71]) == null ? void 0 : L.gameModel) == null ? void 0 : W.thumbnail) && d(n, "alt", o), C[0] & /*winners*/
4817
4860
  1024 && u !== (u = /*winner*/
4818
- e[71].gameName + "") && ne(l, u), O[0] & /*winners*/
4861
+ e[71].gameName + "") && re(l, u), C[0] & /*winners*/
4819
4862
  1024 && f !== (f = /*maskUsername*/
4820
4863
  e[20](
4821
4864
  /*winner*/
4822
4865
  e[71].username
4823
- ) + "") && ne(p, f), O[0] & /*$_*/
4824
- 262144 && A !== (A = /*$_*/
4825
- e[18]("won") + "") && ne(M, A), O[0] & /*winners*/
4826
- 1024 && P !== (P = /*getAmount*/
4866
+ ) + "") && re(m, f), C[0] & /*$_*/
4867
+ 262144 && H !== (H = /*$_*/
4868
+ e[18]("won") + "") && re(M, H), C[0] & /*winners*/
4869
+ 1024 && A !== (A = /*getAmount*/
4827
4870
  e[24](
4828
4871
  /*winner*/
4829
4872
  e[71].specifiedCurrencyAmount
4830
- ) + "") && ne(x, P), O[0] & /*addAnimation*/
4873
+ ) + "") && re(x, A), C[0] & /*addAnimation*/
4831
4874
  32768 && U !== (U = "CardWrapper " + /*addAnimation*/
4832
4875
  (e[15] ? "CardWrapperAnimation" : "")) && d(t, "class", U);
4833
4876
  },
@@ -4836,25 +4879,25 @@ function yn(e) {
4836
4879
  }
4837
4880
  };
4838
4881
  }
4839
- function us(e) {
4882
+ function ps(e) {
4840
4883
  let t;
4841
- function n(o, s) {
4884
+ function r(o, s) {
4842
4885
  return (
4843
4886
  /*isLoading*/
4844
4887
  o[13] || /*isLoadingCustomStyling*/
4845
- o[14] ? rs : ns
4888
+ o[14] ? us : as
4846
4889
  );
4847
4890
  }
4848
- let r = n(e), i = r(e);
4891
+ let n = r(e), i = n(e);
4849
4892
  return {
4850
4893
  c() {
4851
- t = C("div"), i.c();
4894
+ t = P("div"), i.c();
4852
4895
  },
4853
4896
  m(o, s) {
4854
4897
  $(o, t, s), i.m(t, null), e[51](t);
4855
4898
  },
4856
4899
  p(o, s) {
4857
- r === (r = n(o)) && i ? i.p(o, s) : (i.d(1), i = r(o), i && (i.c(), i.m(t, null)));
4900
+ n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
4858
4901
  },
4859
4902
  i: Z,
4860
4903
  o: Z,
@@ -4863,169 +4906,169 @@ function us(e) {
4863
4906
  }
4864
4907
  };
4865
4908
  }
4866
- function ls(e, t, n) {
4867
- let r;
4868
- Ar(e, Lo, (h) => n(18, r = h));
4869
- let { endpoint: i = "" } = t, { session: o = "" } = t, { userid: s = "" } = t, { periodrecent: a = "Today" } = t, { periodtop: u = "Last7Days" } = t, { numberusersrecent: l = "20" } = t, { numberuserstop: c = "20" } = t, { amountlimit: m = "1" } = t, { vendorCategory: f = "All" } = t, { lang: p = "en" } = t, { isrecentavailable: g = "true" } = t, { istopavailable: b = "true" } = t, { defaultcurrency: A = "" } = t, { usercurrency: M = "" } = t, { clientstyling: N = "" } = t, { clientstylingurl: B = "" } = t, { enableautoscroll: P = "" } = t, { tabsorder: x = "" } = t, { translationurl: G = "" } = t, { winnersdatasources: U = "" } = t, { hascustomstyling: I = "false" } = t, { mbsource: v } = t, { currencylocale: F = "" } = t, E, O, V, k = [], L = 0, W = 0, rr = window.navigator.userAgent, Tt, ge, Ve, z, Xe = !0, Bt = !1, Ht = !1, At, He, ze, ye, Pt = [], Ze = !1;
4870
- const ir = () => {
4909
+ function ds(e, t, r) {
4910
+ let n;
4911
+ Nn(e, Go, (h) => r(18, n = h));
4912
+ 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: p = "1" } = t, { vendorCategory: f = "All" } = t, { lang: m = "en" } = t, { isrecentavailable: g = "true" } = t, { istopavailable: b = "true" } = t, { defaultcurrency: H = "" } = t, { usercurrency: M = "" } = t, { clientstyling: N = "" } = t, { clientstylingurl: T = "" } = t, { enableautoscroll: A = "" } = t, { tabsorder: x = "" } = t, { translationurl: G = "" } = t, { winnersdatasources: U = "" } = t, { hascustomstyling: I = "false" } = t, { mbsource: v } = t, { currencylocale: F = "" } = t, E, C, V, k = [], L = 0, W = 0, un = window.navigator.userAgent, Pt, be, ze, z, Ze = !0, Ct = !1, Mt = !1, Nt, He, Qe, ge, It = [], Je = !1;
4913
+ const ln = () => {
4871
4914
  let h = new URL(G);
4872
4915
  fetch(h.href).then((R) => R.json()).then((R) => {
4873
4916
  Object.keys(R).forEach((ee) => {
4874
- nn(ee, R[ee]);
4917
+ ar(ee, R[ee]);
4875
4918
  });
4876
4919
  }).catch((R) => {
4877
4920
  console.log(R);
4878
4921
  });
4879
4922
  };
4880
- Object.keys(rn).forEach((h) => {
4881
- nn(h, rn[h]);
4923
+ Object.keys(ur).forEach((h) => {
4924
+ ar(h, ur[h]);
4882
4925
  });
4883
- const Ct = () => {
4884
- Pt = U.split(",").map(function(R) {
4926
+ const Lt = () => {
4927
+ It = U.split(",").map(function(R) {
4885
4928
  return R.trim();
4886
4929
  });
4887
4930
  const h = new URL(`${i}/v1/casino/${V}-winners`);
4888
- n(17, Ze = !0), h.searchParams.append("limit", V == "recent" ? l : c), h.searchParams.append("specifiedCurrency", ye), h.searchParams.append("period", V == "recent" ? a : u), h.searchParams.append("language", p), h.searchParams.append("amountLimit", m), h.searchParams.append("vendorCategory", f), Pt.forEach((R) => {
4931
+ r(17, Je = !0), h.searchParams.append("limit", V == "recent" ? l : c), h.searchParams.append("specifiedCurrency", ge), h.searchParams.append("period", V == "recent" ? a : u), h.searchParams.append("language", m), h.searchParams.append("amountLimit", p), h.searchParams.append("vendorCategory", f), It.forEach((R) => {
4889
4932
  h.searchParams.append("dataSource", R);
4890
4933
  }), setTimeout(
4891
4934
  () => {
4892
4935
  fetch(h.href).then((R) => R.json()).then((R) => Ae(this, null, function* () {
4893
- n(10, k = []), n(10, k = R.items.map((ee) => ee)), n(17, Ze = !1), yield jt(), ur(), Mt(), P == "true" && (clearInterval(He), ar()), n(13, Xe = !1), or();
4936
+ r(10, k = []), r(10, k = R.items.map((ee) => ee)), r(17, Je = !1), yield zt(), pn(), Wt(), A == "true" && (clearInterval(He), fn()), r(13, Ze = !1), hn();
4894
4937
  }));
4895
4938
  },
4896
4939
  1e3
4897
4940
  );
4898
- }, or = () => {
4941
+ }, hn = () => {
4899
4942
  const h = z.getRootNode().host;
4900
4943
  h.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: h } }));
4901
- }, Qe = (h) => {
4902
- V !== h && (n(10, k = []), n(9, V = h), Ct());
4903
- }, sr = (h) => h.slice(0, 2) + h.slice(2, -2).replace(/./g, "*") + h.slice(-2), Ot = (h, R, ee, qe) => {
4944
+ }, qe = (h) => {
4945
+ V !== h && (r(10, k = []), r(9, V = h), Lt());
4946
+ }, cn = (h) => h.slice(0, 2) + h.slice(2, -2).replace(/./g, "*") + h.slice(-2), Rt = (h, R, ee, Ke) => {
4904
4947
  window.postMessage(
4905
4948
  {
4906
4949
  type: "OpenCasinoWinnersGame",
4907
4950
  gameId: h,
4908
4951
  launchUrl: R,
4909
4952
  gameName: ee,
4910
- subVendor: qe
4953
+ subVendor: Ke
4911
4954
  },
4912
4955
  window.location.href
4913
4956
  ), typeof gtag == "function" && gtag("event", "OpenGame", {
4914
4957
  context: "WinnersWidget",
4915
4958
  gameId: `${h}`,
4916
- userId: `${Ve || "Not logged in"}`
4959
+ userId: `${ze || "Not logged in"}`
4917
4960
  });
4918
- }, Mt = (h = 0) => {
4961
+ }, Wt = (h = 0) => {
4919
4962
  const R = [...E.children];
4920
- At = R.length, R.forEach((ee, qe) => {
4921
- ee.style.transform = `translateX(${100 * (qe - h)}%)`;
4963
+ Nt = R.length, R.forEach((ee, Ke) => {
4964
+ ee.style.transform = `translateX(${100 * (Ke - h)}%)`;
4922
4965
  }), setTimeout(
4923
4966
  () => {
4924
- n(15, Ht = !0);
4967
+ r(15, Mt = !0);
4925
4968
  },
4926
4969
  10
4927
4970
  );
4928
- }, ar = () => {
4929
- L = 0, W < At ? He = setInterval(
4971
+ }, fn = () => {
4972
+ L = 0, W < Nt ? He = setInterval(
4930
4973
  () => {
4931
- Je();
4974
+ Ye();
4932
4975
  },
4933
4976
  3e3
4934
4977
  ) : clearInterval(He);
4935
- }, Nt = () => {
4936
- Mt(L);
4937
- }, ur = () => Ae(this, null, function* () {
4938
- yield jt(), requestAnimationFrame(() => {
4939
- const h = O ? O.offsetWidth : 0;
4940
- E.offsetWidth && h ? n(11, W = Math.round(E.offsetWidth / h)) : n(11, W = 0);
4978
+ }, Ut = () => {
4979
+ Wt(L);
4980
+ }, pn = () => Ae(this, null, function* () {
4981
+ yield zt(), requestAnimationFrame(() => {
4982
+ const h = C ? C.offsetWidth : 0;
4983
+ E.offsetWidth && h ? r(11, W = Math.round(E.offsetWidth / h)) : r(11, W = 0);
4941
4984
  });
4942
- }), It = () => {
4985
+ }), Ft = () => {
4943
4986
  if (W >= k.length)
4944
4987
  return;
4945
4988
  const h = k.length;
4946
- L === 0 ? L = h - W : L - W < 0 ? L = 0 : L = L - W, Nt();
4947
- }, Je = () => {
4989
+ L === 0 ? L = h - W : L - W < 0 ? L = 0 : L = L - W, Ut();
4990
+ }, Ye = () => {
4948
4991
  if (W >= k.length)
4949
4992
  return;
4950
4993
  const h = k.length;
4951
- P == "true" && (L === h - W ? L = 0 : L++), P == "false" && (L === h - W ? L = 0 : h - W < L + W ? L = h - W : L += W), Nt();
4952
- }, lr = () => {
4953
- Ro(p);
4954
- }, hr = () => {
4955
- n(42, ge = !0), Ve = s;
4956
- }, Lt = () => {
4957
- n(43, ye = ge ? M : A);
4958
- }, cr = (h) => F ? Intl.NumberFormat(F, {
4994
+ A == "true" && (L === h - W ? L = 0 : L++), A == "false" && (L === h - W ? L = 0 : h - W < L + W ? L = h - W : L += W), Ut();
4995
+ }, dn = () => {
4996
+ Do(m);
4997
+ }, mn = () => {
4998
+ r(42, be = !0), ze = s;
4999
+ }, Gt = () => {
5000
+ r(43, ge = be ? M : H);
5001
+ }, bn = (h) => F ? Intl.NumberFormat(F, {
4959
5002
  minimumFractionDigits: 2,
4960
5003
  maximumFractionDigits: 2,
4961
5004
  style: "currency",
4962
- currency: ye
4963
- }).format(h).replace(/\s/g, "") : `${h.toFixed(2)} ${ge ? M : A}`, fr = () => {
4964
- I === "true" && (!N && !B && z && console.error("clientstyling or clientstylingurl mandatory if hascustomstyling is true"), !N && B && n(14, Bt = !0));
4965
- }, mr = () => {
4966
- n(16, ze = x.split(",")), n(9, V = ze[0]), Lt(), n(13, Xe = !1);
5005
+ currency: ge
5006
+ }).format(h).replace(/\s/g, "") : `${h.toFixed(2)} ${be ? M : H}`, gn = () => {
5007
+ I === "true" && (!N && !T && z && console.error("clientstyling or clientstylingurl mandatory if hascustomstyling is true"), !N && T && r(14, Ct = !0));
5008
+ }, yn = () => {
5009
+ r(16, Qe = x.split(",")), r(9, V = Qe[0]), Gt(), r(13, Ze = !1);
4967
5010
  };
4968
- Lr(() => (n(12, Tt = qo(rr)), () => {
5011
+ Gn(() => (r(12, Pt = rs(un)), () => {
4969
5012
  clearInterval(He);
4970
5013
  }));
4971
- const dr = () => Qe("recent"), pr = () => Qe("top"), br = () => It(), gr = () => Je(), yr = (h) => Ot(h.gameId, h.gameModel.launchUrl, h.gameModel.name, h.gameModel.subVendor);
4972
- function vr(h) {
4973
- Ee[h ? "unshift" : "push"](() => {
4974
- O = h, n(8, O);
5014
+ const vn = () => qe("recent"), _n = () => qe("top"), En = () => Ft(), xn = () => Ye(), wn = (h) => Rt(h.gameId, h.gameModel.launchUrl, h.gameModel.name, h.gameModel.subVendor);
5015
+ function Sn(h) {
5016
+ _e[h ? "unshift" : "push"](() => {
5017
+ C = h, r(8, C);
4975
5018
  });
4976
5019
  }
4977
- function _r(h) {
4978
- Ee[h ? "unshift" : "push"](() => {
4979
- E = h, n(7, E);
5020
+ function Tn(h) {
5021
+ _e[h ? "unshift" : "push"](() => {
5022
+ E = h, r(7, E);
4980
5023
  });
4981
5024
  }
4982
- function Er(h) {
4983
- Ee[h ? "unshift" : "push"](() => {
4984
- z = h, n(6, z);
5025
+ function Bn(h) {
5026
+ _e[h ? "unshift" : "push"](() => {
5027
+ z = h, r(6, z);
4985
5028
  });
4986
5029
  }
4987
5030
  return e.$$set = (h) => {
4988
- "endpoint" in h && n(25, i = h.endpoint), "session" in h && n(26, o = h.session), "userid" in h && n(27, s = 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, m = 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, M = h.usercurrency), "clientstyling" in h && n(2, N = h.clientstyling), "clientstylingurl" in h && n(3, B = h.clientstylingurl), "enableautoscroll" in h && n(4, P = h.enableautoscroll), "tabsorder" in h && n(37, x = h.tabsorder), "translationurl" in h && n(38, G = h.translationurl), "winnersdatasources" in h && n(39, U = h.winnersdatasources), "hascustomstyling" in h && n(40, I = h.hascustomstyling), "mbsource" in h && n(5, v = h.mbsource), "currencylocale" in h && n(41, F = h.currencylocale);
5031
+ "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, p = h.amountlimit), "vendorCategory" in h && r(33, f = h.vendorCategory), "lang" in h && r(34, m = h.lang), "isrecentavailable" in h && r(0, g = h.isrecentavailable), "istopavailable" in h && r(1, b = h.istopavailable), "defaultcurrency" in h && r(35, H = h.defaultcurrency), "usercurrency" in h && r(36, M = h.usercurrency), "clientstyling" in h && r(2, N = h.clientstyling), "clientstylingurl" in h && r(3, T = h.clientstylingurl), "enableautoscroll" in h && r(4, A = h.enableautoscroll), "tabsorder" in h && r(37, x = h.tabsorder), "translationurl" in h && r(38, G = h.translationurl), "winnersdatasources" in h && r(39, U = h.winnersdatasources), "hascustomstyling" in h && r(40, I = h.hascustomstyling), "mbsource" in h && r(5, v = h.mbsource), "currencylocale" in h && r(41, F = h.currencylocale);
4989
5032
  }, e.$$.update = () => {
4990
5033
  e.$$.dirty[0] & /*isrecentavailable, istopavailable, periodrecent, periodtop, numberusersrecent*/
4991
5034
  1879048195 | e.$$.dirty[1] & /*numberuserstop, amountlimit, vendorCategory, lang, tabsorder*/
4992
- 79 && g && b && a && u && l && c && m && f && p && x && mr(), e.$$.dirty[0] & /*session*/
4993
- 67108864 && o && hr(), e.$$.dirty[1] & /*isLoggedIn, usercurrency, defaultcurrency*/
4994
- 2096 && ge && (M || A) && Lt(), e.$$.dirty[0] & /*endpoint*/
5035
+ 79 && g && b && a && u && l && c && p && f && m && x && yn(), e.$$.dirty[0] & /*session*/
5036
+ 67108864 && o && mn(), e.$$.dirty[1] & /*isLoggedIn, usercurrency, defaultcurrency*/
5037
+ 2096 && be && (M || H) && Gt(), e.$$.dirty[0] & /*endpoint*/
4995
5038
  33554432 | e.$$.dirty[1] & /*winnersdatasources, currency*/
4996
- 4352 && i && U && ye && Ct(), e.$$.dirty[1] & /*lang*/
4997
- 8 && p && lr(), e.$$.dirty[1] & /*translationurl*/
4998
- 128 && G && ir(), e.$$.dirty[1] & /*hascustomstyling*/
4999
- 512 && I && fr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5000
- 68 && N && z && Yo(z, N), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5001
- 72 && B && z && Ko(z, B), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
5002
- 96 && z && es(z, `${v}.Style`);
5039
+ 4352 && i && U && ge && Lt(), e.$$.dirty[1] & /*lang*/
5040
+ 8 && m && dn(), e.$$.dirty[1] & /*translationurl*/
5041
+ 128 && G && ln(), e.$$.dirty[1] & /*hascustomstyling*/
5042
+ 512 && I && gn(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5043
+ 68 && N && z && ns(z, N), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5044
+ 72 && T && z && is(z, T), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
5045
+ 96 && z && os(z, `${v}.Style`);
5003
5046
  }, [
5004
5047
  g,
5005
5048
  b,
5006
5049
  N,
5007
- B,
5008
- P,
5050
+ T,
5051
+ A,
5009
5052
  v,
5010
5053
  z,
5011
5054
  E,
5012
- O,
5055
+ C,
5013
5056
  V,
5014
5057
  k,
5015
5058
  W,
5016
- Tt,
5017
- Xe,
5018
- Bt,
5019
- Ht,
5020
- ze,
5059
+ Pt,
5021
5060
  Ze,
5022
- r,
5061
+ Ct,
5062
+ Mt,
5023
5063
  Qe,
5024
- sr,
5025
- Ot,
5026
- It,
5027
5064
  Je,
5028
- cr,
5065
+ n,
5066
+ qe,
5067
+ cn,
5068
+ Rt,
5069
+ Ft,
5070
+ Ye,
5071
+ bn,
5029
5072
  i,
5030
5073
  o,
5031
5074
  s,
@@ -5033,36 +5076,36 @@ function ls(e, t, n) {
5033
5076
  u,
5034
5077
  l,
5035
5078
  c,
5036
- m,
5037
- f,
5038
5079
  p,
5039
- A,
5080
+ f,
5081
+ m,
5082
+ H,
5040
5083
  M,
5041
5084
  x,
5042
5085
  G,
5043
5086
  U,
5044
5087
  I,
5045
5088
  F,
5089
+ be,
5046
5090
  ge,
5047
- ye,
5048
- dr,
5049
- pr,
5050
- br,
5051
- gr,
5052
- yr,
5053
- vr,
5054
- _r,
5055
- Er
5091
+ vn,
5092
+ _n,
5093
+ En,
5094
+ xn,
5095
+ wn,
5096
+ Sn,
5097
+ Tn,
5098
+ Bn
5056
5099
  ];
5057
5100
  }
5058
- class nr extends Vr {
5101
+ class an extends Jn {
5059
5102
  constructor(t) {
5060
- super(), kr(
5103
+ super(), Zn(
5061
5104
  this,
5062
5105
  t,
5063
- ls,
5064
- us,
5065
- _n,
5106
+ ds,
5107
+ ps,
5108
+ Sr,
5066
5109
  {
5067
5110
  endpoint: 25,
5068
5111
  session: 26,
@@ -5088,7 +5131,7 @@ class nr extends Vr {
5088
5131
  mbsource: 5,
5089
5132
  currencylocale: 41
5090
5133
  },
5091
- ts,
5134
+ ss,
5092
5135
  [-1, -1, -1]
5093
5136
  );
5094
5137
  }
@@ -5096,161 +5139,161 @@ class nr extends Vr {
5096
5139
  return this.$$.ctx[25];
5097
5140
  }
5098
5141
  set endpoint(t) {
5099
- this.$$set({ endpoint: t }), T();
5142
+ this.$$set({ endpoint: t }), S();
5100
5143
  }
5101
5144
  get session() {
5102
5145
  return this.$$.ctx[26];
5103
5146
  }
5104
5147
  set session(t) {
5105
- this.$$set({ session: t }), T();
5148
+ this.$$set({ session: t }), S();
5106
5149
  }
5107
5150
  get userid() {
5108
5151
  return this.$$.ctx[27];
5109
5152
  }
5110
5153
  set userid(t) {
5111
- this.$$set({ userid: t }), T();
5154
+ this.$$set({ userid: t }), S();
5112
5155
  }
5113
5156
  get periodrecent() {
5114
5157
  return this.$$.ctx[28];
5115
5158
  }
5116
5159
  set periodrecent(t) {
5117
- this.$$set({ periodrecent: t }), T();
5160
+ this.$$set({ periodrecent: t }), S();
5118
5161
  }
5119
5162
  get periodtop() {
5120
5163
  return this.$$.ctx[29];
5121
5164
  }
5122
5165
  set periodtop(t) {
5123
- this.$$set({ periodtop: t }), T();
5166
+ this.$$set({ periodtop: t }), S();
5124
5167
  }
5125
5168
  get numberusersrecent() {
5126
5169
  return this.$$.ctx[30];
5127
5170
  }
5128
5171
  set numberusersrecent(t) {
5129
- this.$$set({ numberusersrecent: t }), T();
5172
+ this.$$set({ numberusersrecent: t }), S();
5130
5173
  }
5131
5174
  get numberuserstop() {
5132
5175
  return this.$$.ctx[31];
5133
5176
  }
5134
5177
  set numberuserstop(t) {
5135
- this.$$set({ numberuserstop: t }), T();
5178
+ this.$$set({ numberuserstop: t }), S();
5136
5179
  }
5137
5180
  get amountlimit() {
5138
5181
  return this.$$.ctx[32];
5139
5182
  }
5140
5183
  set amountlimit(t) {
5141
- this.$$set({ amountlimit: t }), T();
5184
+ this.$$set({ amountlimit: t }), S();
5142
5185
  }
5143
5186
  get vendorCategory() {
5144
5187
  return this.$$.ctx[33];
5145
5188
  }
5146
5189
  set vendorCategory(t) {
5147
- this.$$set({ vendorCategory: t }), T();
5190
+ this.$$set({ vendorCategory: t }), S();
5148
5191
  }
5149
5192
  get lang() {
5150
5193
  return this.$$.ctx[34];
5151
5194
  }
5152
5195
  set lang(t) {
5153
- this.$$set({ lang: t }), T();
5196
+ this.$$set({ lang: t }), S();
5154
5197
  }
5155
5198
  get isrecentavailable() {
5156
5199
  return this.$$.ctx[0];
5157
5200
  }
5158
5201
  set isrecentavailable(t) {
5159
- this.$$set({ isrecentavailable: t }), T();
5202
+ this.$$set({ isrecentavailable: t }), S();
5160
5203
  }
5161
5204
  get istopavailable() {
5162
5205
  return this.$$.ctx[1];
5163
5206
  }
5164
5207
  set istopavailable(t) {
5165
- this.$$set({ istopavailable: t }), T();
5208
+ this.$$set({ istopavailable: t }), S();
5166
5209
  }
5167
5210
  get defaultcurrency() {
5168
5211
  return this.$$.ctx[35];
5169
5212
  }
5170
5213
  set defaultcurrency(t) {
5171
- this.$$set({ defaultcurrency: t }), T();
5214
+ this.$$set({ defaultcurrency: t }), S();
5172
5215
  }
5173
5216
  get usercurrency() {
5174
5217
  return this.$$.ctx[36];
5175
5218
  }
5176
5219
  set usercurrency(t) {
5177
- this.$$set({ usercurrency: t }), T();
5220
+ this.$$set({ usercurrency: t }), S();
5178
5221
  }
5179
5222
  get clientstyling() {
5180
5223
  return this.$$.ctx[2];
5181
5224
  }
5182
5225
  set clientstyling(t) {
5183
- this.$$set({ clientstyling: t }), T();
5226
+ this.$$set({ clientstyling: t }), S();
5184
5227
  }
5185
5228
  get clientstylingurl() {
5186
5229
  return this.$$.ctx[3];
5187
5230
  }
5188
5231
  set clientstylingurl(t) {
5189
- this.$$set({ clientstylingurl: t }), T();
5232
+ this.$$set({ clientstylingurl: t }), S();
5190
5233
  }
5191
5234
  get enableautoscroll() {
5192
5235
  return this.$$.ctx[4];
5193
5236
  }
5194
5237
  set enableautoscroll(t) {
5195
- this.$$set({ enableautoscroll: t }), T();
5238
+ this.$$set({ enableautoscroll: t }), S();
5196
5239
  }
5197
5240
  get tabsorder() {
5198
5241
  return this.$$.ctx[37];
5199
5242
  }
5200
5243
  set tabsorder(t) {
5201
- this.$$set({ tabsorder: t }), T();
5244
+ this.$$set({ tabsorder: t }), S();
5202
5245
  }
5203
5246
  get translationurl() {
5204
5247
  return this.$$.ctx[38];
5205
5248
  }
5206
5249
  set translationurl(t) {
5207
- this.$$set({ translationurl: t }), T();
5250
+ this.$$set({ translationurl: t }), S();
5208
5251
  }
5209
5252
  get winnersdatasources() {
5210
5253
  return this.$$.ctx[39];
5211
5254
  }
5212
5255
  set winnersdatasources(t) {
5213
- this.$$set({ winnersdatasources: t }), T();
5256
+ this.$$set({ winnersdatasources: t }), S();
5214
5257
  }
5215
5258
  get hascustomstyling() {
5216
5259
  return this.$$.ctx[40];
5217
5260
  }
5218
5261
  set hascustomstyling(t) {
5219
- this.$$set({ hascustomstyling: t }), T();
5262
+ this.$$set({ hascustomstyling: t }), S();
5220
5263
  }
5221
5264
  get mbsource() {
5222
5265
  return this.$$.ctx[5];
5223
5266
  }
5224
5267
  set mbsource(t) {
5225
- this.$$set({ mbsource: t }), T();
5268
+ this.$$set({ mbsource: t }), S();
5226
5269
  }
5227
5270
  get currencylocale() {
5228
5271
  return this.$$.ctx[41];
5229
5272
  }
5230
5273
  set currencylocale(t) {
5231
- this.$$set({ currencylocale: t }), T();
5274
+ this.$$set({ currencylocale: t }), S();
5232
5275
  }
5233
5276
  }
5234
- $r(nr, { endpoint: {}, session: {}, userid: {}, periodrecent: {}, periodtop: {}, numberusersrecent: {}, numberuserstop: {}, amountlimit: {}, vendorCategory: {}, lang: {}, isrecentavailable: {}, istopavailable: {}, defaultcurrency: {}, usercurrency: {}, clientstyling: {}, clientstylingurl: {}, enableautoscroll: {}, tabsorder: {}, translationurl: {}, winnersdatasources: {}, hascustomstyling: {}, mbsource: {}, currencylocale: {} }, [], [], !0);
5235
- const cs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5277
+ Qn(an, { endpoint: {}, session: {}, userid: {}, periodrecent: {}, periodtop: {}, numberusersrecent: {}, numberuserstop: {}, amountlimit: {}, vendorCategory: {}, lang: {}, isrecentavailable: {}, istopavailable: {}, defaultcurrency: {}, usercurrency: {}, clientstyling: {}, clientstylingurl: {}, enableautoscroll: {}, tabsorder: {}, translationurl: {}, winnersdatasources: {}, hascustomstyling: {}, mbsource: {}, currencylocale: {} }, [], [], !0);
5278
+ const bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5236
5279
  __proto__: null,
5237
- default: nr
5280
+ default: an
5238
5281
  }, Symbol.toStringTag, { value: "Module" }));
5239
5282
  export {
5240
- cs as C,
5241
- Vr as S,
5242
- Pr as a,
5283
+ bs as C,
5284
+ Jn as S,
5285
+ In as a,
5243
5286
  $ as b,
5244
- Ee as c,
5287
+ _e as c,
5245
5288
  j as d,
5246
- C as e,
5247
- T as f,
5248
- Yo as g,
5249
- Ko as h,
5250
- kr as i,
5251
- es as j,
5252
- $r as k,
5289
+ P as e,
5290
+ S as f,
5291
+ ns as g,
5292
+ is as h,
5293
+ Zn as i,
5294
+ os as j,
5295
+ Qn as k,
5253
5296
  Z as n,
5254
- Lr as o,
5255
- _n as s
5297
+ Gn as o,
5298
+ Sr as s
5256
5299
  };