@everymatrix/casino-winners 1.52.2 → 1.52.4

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 xn = Object.defineProperty, wn = Object.defineProperties;
2
- var Sn = Object.getOwnPropertyDescriptors;
1
+ var xr = Object.defineProperty, wr = Object.defineProperties;
2
+ var Sr = Object.getOwnPropertyDescriptors;
3
3
  var Ut = Object.getOwnPropertySymbols;
4
- var Tn = Object.prototype.hasOwnProperty, Hn = Object.prototype.propertyIsEnumerable;
5
- var qe = (e, t, r) => t in e ? xn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Dt = (e, t) => {
6
- for (var r in t || (t = {}))
7
- Tn.call(t, r) && qe(e, r, t[r]);
4
+ var Tr = Object.prototype.hasOwnProperty, Hr = Object.prototype.propertyIsEnumerable;
5
+ var qe = (e, t, n) => t in e ? xr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Ft = (e, t) => {
6
+ for (var n in t || (t = {}))
7
+ Tr.call(t, n) && qe(e, n, t[n]);
8
8
  if (Ut)
9
- for (var r of Ut(t))
10
- Hn.call(t, r) && qe(e, r, t[r]);
9
+ for (var n of Ut(t))
10
+ Hr.call(t, n) && qe(e, n, t[n]);
11
11
  return e;
12
- }, Ft = (e, t) => wn(e, Sn(t));
13
- var V = (e, t, r) => qe(e, typeof t != "symbol" ? t + "" : t, r);
14
- var Gt = (e, t, r) => new Promise((n, i) => {
12
+ }, Dt = (e, t) => wr(e, Sr(t));
13
+ var z = (e, t, n) => qe(e, typeof t != "symbol" ? t + "" : t, n);
14
+ var Gt = (e, t, n) => new Promise((r, i) => {
15
15
  var o = (u) => {
16
16
  try {
17
- a(r.next(u));
17
+ a(n.next(u));
18
18
  } catch (l) {
19
19
  i(l);
20
20
  }
21
21
  }, s = (u) => {
22
22
  try {
23
- a(r.throw(u));
23
+ a(n.throw(u));
24
24
  } catch (l) {
25
25
  i(l);
26
26
  }
27
- }, a = (u) => u.done ? n(u.value) : Promise.resolve(u.value).then(o, s);
28
- a((r = r.apply(e, t)).next());
27
+ }, a = (u) => u.done ? r(u.value) : Promise.resolve(u.value).then(o, s);
28
+ a((n = n.apply(e, t)).next());
29
29
  });
30
30
  function Q() {
31
31
  }
32
- function vr(e) {
32
+ function En(e) {
33
33
  return e();
34
34
  }
35
- function Wt() {
35
+ function jt() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
38
  function me(e) {
39
- e.forEach(vr);
39
+ e.forEach(En);
40
40
  }
41
41
  function xt(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function _r(e, t) {
44
+ function xn(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
47
  let Oe;
48
- function jt(e, t) {
48
+ function kt(e, t) {
49
49
  return e === t ? !0 : (Oe || (Oe = document.createElement("a")), Oe.href = t, e === Oe.href);
50
50
  }
51
- function Bn(e) {
51
+ function Br(e) {
52
52
  return Object.keys(e).length === 0;
53
53
  }
54
- function Er(e, ...t) {
54
+ function wn(e, ...t) {
55
55
  if (e == null) {
56
- for (const n of t)
57
- n(void 0);
56
+ for (const r of t)
57
+ r(void 0);
58
58
  return Q;
59
59
  }
60
- const r = e.subscribe(...t);
61
- return r.unsubscribe ? () => r.unsubscribe() : r;
60
+ const n = e.subscribe(...t);
61
+ return n.unsubscribe ? () => n.unsubscribe() : n;
62
62
  }
63
- function An(e, t, r) {
64
- e.$$.on_destroy.push(Er(t, r));
63
+ function Ar(e, t, n) {
64
+ e.$$.on_destroy.push(wn(t, n));
65
65
  }
66
- function E(e, t) {
66
+ function _(e, t) {
67
67
  e.appendChild(t);
68
68
  }
69
- function Cn(e, t, r) {
70
- const n = Pn(e);
71
- if (!n.getElementById(t)) {
72
- const i = I("style");
73
- i.id = t, i.textContent = r, On(n, i);
69
+ function Cr(e, t, n) {
70
+ const r = Pr(e);
71
+ if (!r.getElementById(t)) {
72
+ const i = P("style");
73
+ i.id = t, i.textContent = n, Or(r, i);
74
74
  }
75
75
  }
76
- function Pn(e) {
76
+ function Pr(e) {
77
77
  if (!e) return document;
78
78
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
79
79
  return t && /** @type {ShadowRoot} */
@@ -82,61 +82,61 @@ function Pn(e) {
82
82
  t
83
83
  ) : e.ownerDocument;
84
84
  }
85
- function On(e, t) {
86
- return E(
85
+ function Or(e, t) {
86
+ return _(
87
87
  /** @type {Document} */
88
88
  e.head || e,
89
89
  t
90
90
  ), t.sheet;
91
91
  }
92
- function X(e, t, r) {
93
- e.insertBefore(t, r || null);
92
+ function $(e, t, n) {
93
+ e.insertBefore(t, n || null);
94
94
  }
95
- function $(e) {
95
+ function j(e) {
96
96
  e.parentNode && e.parentNode.removeChild(e);
97
97
  }
98
- function xr(e, t) {
99
- for (let r = 0; r < e.length; r += 1)
100
- e[r] && e[r].d(t);
98
+ function Sn(e, t) {
99
+ for (let n = 0; n < e.length; n += 1)
100
+ e[n] && e[n].d(t);
101
101
  }
102
- function I(e) {
102
+ function P(e) {
103
103
  return document.createElement(e);
104
104
  }
105
- function Ie(e) {
105
+ function Me(e) {
106
106
  return document.createElementNS("http://www.w3.org/2000/svg", e);
107
107
  }
108
- function Y(e) {
108
+ function J(e) {
109
109
  return document.createTextNode(e);
110
110
  }
111
111
  function Z() {
112
- return Y(" ");
112
+ return J(" ");
113
113
  }
114
- function wr() {
115
- return Y("");
114
+ function wt() {
115
+ return J("");
116
116
  }
117
- function xe(e, t, r, n) {
118
- return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
117
+ function xe(e, t, n, r) {
118
+ return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);
119
119
  }
120
- function m(e, t, r) {
121
- r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
120
+ function p(e, t, n) {
121
+ n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
122
122
  }
123
- function ee(e, t, r) {
124
- const n = t.toLowerCase();
125
- n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : m(e, t, r);
123
+ function te(e, t, n) {
124
+ const r = t.toLowerCase();
125
+ r in e ? e[r] = typeof e[r] == "boolean" && n === "" ? !0 : n : t in e ? e[t] = typeof e[t] == "boolean" && n === "" ? !0 : n : p(e, t, n);
126
126
  }
127
- function In(e) {
127
+ function Mr(e) {
128
128
  return Array.from(e.childNodes);
129
129
  }
130
- function re(e, t) {
130
+ function ee(e, t) {
131
131
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
132
132
  t);
133
133
  }
134
- function Nn(e) {
134
+ function Ir(e) {
135
135
  const t = {};
136
136
  return e.childNodes.forEach(
137
137
  /** @param {Element} node */
138
- (r) => {
139
- t[r.slot || "default"] = !0;
138
+ (n) => {
139
+ t[n.slot || "default"] = !0;
140
140
  }
141
141
  ), t;
142
142
  }
@@ -144,19 +144,19 @@ let we;
144
144
  function _e(e) {
145
145
  we = e;
146
146
  }
147
- function Mn() {
147
+ function Nr() {
148
148
  if (!we) throw new Error("Function called outside component initialization");
149
149
  return we;
150
150
  }
151
- function Ln(e) {
152
- Mn().$$.on_mount.push(e);
151
+ function Lr(e) {
152
+ Nr().$$.on_mount.push(e);
153
153
  }
154
154
  const ue = [], Ee = [];
155
155
  let le = [];
156
- const $t = [], Rn = /* @__PURE__ */ Promise.resolve();
156
+ const $t = [], Rr = /* @__PURE__ */ Promise.resolve();
157
157
  let at = !1;
158
- function Un() {
159
- at || (at = !0, Rn.then(C));
158
+ function Wr() {
159
+ at || (at = !0, Rr.then(C));
160
160
  }
161
161
  function ut(e) {
162
162
  le.push(e);
@@ -171,15 +171,15 @@ function C() {
171
171
  try {
172
172
  for (; se < ue.length; ) {
173
173
  const t = ue[se];
174
- se++, _e(t), Dn(t.$$);
174
+ se++, _e(t), Ur(t.$$);
175
175
  }
176
176
  } catch (t) {
177
177
  throw ue.length = 0, se = 0, t;
178
178
  }
179
179
  for (_e(null), ue.length = 0, se = 0; Ee.length; ) Ee.pop()();
180
180
  for (let t = 0; t < le.length; t += 1) {
181
- const r = le[t];
182
- Ke.has(r) || (Ke.add(r), r());
181
+ const n = le[t];
182
+ Ke.has(n) || (Ke.add(n), n());
183
183
  }
184
184
  le.length = 0;
185
185
  } while (ue.length);
@@ -187,39 +187,39 @@ function C() {
187
187
  $t.pop()();
188
188
  at = !1, Ke.clear(), _e(e);
189
189
  }
190
- function Dn(e) {
190
+ function Ur(e) {
191
191
  if (e.fragment !== null) {
192
192
  e.update(), me(e.before_update);
193
193
  const t = e.dirty;
194
194
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ut);
195
195
  }
196
196
  }
197
- function Fn(e) {
198
- const t = [], r = [];
199
- le.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), le = t;
197
+ function Fr(e) {
198
+ const t = [], n = [];
199
+ le.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), le = t;
200
200
  }
201
- const Gn = /* @__PURE__ */ new Set();
202
- function Wn(e, t) {
203
- e && e.i && (Gn.delete(e), e.i(t));
201
+ const Dr = /* @__PURE__ */ new Set();
202
+ function Gr(e, t) {
203
+ e && e.i && (Dr.delete(e), e.i(t));
204
204
  }
205
205
  function Fe(e) {
206
206
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
207
207
  }
208
- function jn(e, t, r) {
209
- const { fragment: n, after_update: i } = e.$$;
210
- n && n.m(t, r), ut(() => {
211
- const o = e.$$.on_mount.map(vr).filter(xt);
208
+ function jr(e, t, n) {
209
+ const { fragment: r, after_update: i } = e.$$;
210
+ r && r.m(t, n), ut(() => {
211
+ const o = e.$$.on_mount.map(En).filter(xt);
212
212
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : me(o), e.$$.on_mount = [];
213
213
  }), i.forEach(ut);
214
214
  }
215
- function $n(e, t) {
216
- const r = e.$$;
217
- r.fragment !== null && (Fn(r.after_update), me(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
215
+ function kr(e, t) {
216
+ const n = e.$$;
217
+ n.fragment !== null && (Fr(n.after_update), me(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
218
218
  }
219
- function kn(e, t) {
220
- e.$$.dirty[0] === -1 && (ue.push(e), Un(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
219
+ function $r(e, t) {
220
+ e.$$.dirty[0] === -1 && (ue.push(e), Wr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
221
221
  }
222
- function Vn(e, t, r, n, i, o, s = null, a = [-1]) {
222
+ function Vr(e, t, n, r, i, o, s = null, a = [-1]) {
223
223
  const u = we;
224
224
  _e(e);
225
225
  const l = e.$$ = {
@@ -229,7 +229,7 @@ function Vn(e, t, r, n, i, o, s = null, a = [-1]) {
229
229
  props: o,
230
230
  update: Q,
231
231
  not_equal: i,
232
- bound: Wt(),
232
+ bound: jt(),
233
233
  // lifecycle
234
234
  on_mount: [],
235
235
  on_destroy: [],
@@ -238,61 +238,61 @@ function Vn(e, t, r, n, i, o, s = null, a = [-1]) {
238
238
  after_update: [],
239
239
  context: new Map(t.context || (u ? u.$$.context : [])),
240
240
  // everything else
241
- callbacks: Wt(),
241
+ callbacks: jt(),
242
242
  dirty: a,
243
243
  skip_bound: !1,
244
244
  root: t.target || u.$$.root
245
245
  };
246
246
  s && s(l.root);
247
247
  let c = !1;
248
- if (l.ctx = r ? r(e, t.props || {}, (d, f, ...p) => {
249
- const y = p.length ? p[0] : f;
250
- return l.ctx && i(l.ctx[d], l.ctx[d] = y) && (!l.skip_bound && l.bound[d] && l.bound[d](y), c && kn(e, d)), f;
251
- }) : [], l.update(), c = !0, me(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
248
+ if (l.ctx = n ? n(e, t.props || {}, (d, f, ...m) => {
249
+ const y = m.length ? m[0] : f;
250
+ return l.ctx && i(l.ctx[d], l.ctx[d] = y) && (!l.skip_bound && l.bound[d] && l.bound[d](y), c && $r(e, d)), f;
251
+ }) : [], l.update(), c = !0, me(l.before_update), l.fragment = r ? r(l.ctx) : !1, t.target) {
252
252
  if (t.hydrate) {
253
- const d = In(t.target);
254
- l.fragment && l.fragment.l(d), d.forEach($);
253
+ const d = Mr(t.target);
254
+ l.fragment && l.fragment.l(d), d.forEach(j);
255
255
  } else
256
256
  l.fragment && l.fragment.c();
257
- t.intro && Wn(e.$$.fragment), jn(e, t.target, t.anchor), C();
257
+ t.intro && Gr(e.$$.fragment), jr(e, t.target, t.anchor), C();
258
258
  }
259
259
  _e(u);
260
260
  }
261
- let Sr;
262
- typeof HTMLElement == "function" && (Sr = class extends HTMLElement {
263
- constructor(t, r, n) {
261
+ let Tn;
262
+ typeof HTMLElement == "function" && (Tn = class extends HTMLElement {
263
+ constructor(t, n, r) {
264
264
  super();
265
265
  /** The Svelte component constructor */
266
- V(this, "$$ctor");
266
+ z(this, "$$ctor");
267
267
  /** Slots */
268
- V(this, "$$s");
268
+ z(this, "$$s");
269
269
  /** The Svelte component instance */
270
- V(this, "$$c");
270
+ z(this, "$$c");
271
271
  /** Whether or not the custom element is connected */
272
- V(this, "$$cn", !1);
272
+ z(this, "$$cn", !1);
273
273
  /** Component props data */
274
- V(this, "$$d", {});
274
+ z(this, "$$d", {});
275
275
  /** `true` if currently in the process of reflecting component props back to attributes */
276
- V(this, "$$r", !1);
276
+ z(this, "$$r", !1);
277
277
  /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
278
- V(this, "$$p_d", {});
278
+ z(this, "$$p_d", {});
279
279
  /** @type {Record<string, Function[]>} Event listeners */
280
- V(this, "$$l", {});
280
+ z(this, "$$l", {});
281
281
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
282
- V(this, "$$l_u", /* @__PURE__ */ new Map());
283
- this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
282
+ z(this, "$$l_u", /* @__PURE__ */ new Map());
283
+ this.$$ctor = t, this.$$s = n, r && this.attachShadow({ mode: "open" });
284
284
  }
285
- addEventListener(t, r, n) {
286
- if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(r), this.$$c) {
287
- const i = this.$$c.$on(t, r);
288
- this.$$l_u.set(r, i);
285
+ addEventListener(t, n, r) {
286
+ if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(n), this.$$c) {
287
+ const i = this.$$c.$on(t, n);
288
+ this.$$l_u.set(n, i);
289
289
  }
290
- super.addEventListener(t, r, n);
290
+ super.addEventListener(t, n, r);
291
291
  }
292
- removeEventListener(t, r, n) {
293
- if (super.removeEventListener(t, r, n), this.$$c) {
294
- const i = this.$$l_u.get(r);
295
- i && (i(), this.$$l_u.delete(r));
292
+ removeEventListener(t, n, r) {
293
+ if (super.removeEventListener(t, n, r), this.$$c) {
294
+ const i = this.$$l_u.get(n);
295
+ i && (i(), this.$$l_u.delete(n));
296
296
  }
297
297
  }
298
298
  connectedCallback() {
@@ -303,26 +303,26 @@ typeof HTMLElement == "function" && (Sr = class extends HTMLElement {
303
303
  let s;
304
304
  return {
305
305
  c: function() {
306
- s = I("slot"), o !== "default" && m(s, "name", o);
306
+ s = P("slot"), o !== "default" && p(s, "name", o);
307
307
  },
308
308
  /**
309
309
  * @param {HTMLElement} target
310
310
  * @param {HTMLElement} [anchor]
311
311
  */
312
312
  m: function(l, c) {
313
- X(l, s, c);
313
+ $(l, s, c);
314
314
  },
315
315
  d: function(l) {
316
- l && $(s);
316
+ l && j(s);
317
317
  }
318
318
  };
319
319
  };
320
320
  };
321
321
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
322
322
  return;
323
- const r = {}, n = Nn(this);
323
+ const n = {}, r = Ir(this);
324
324
  for (const o of this.$$s)
325
- o in n && (r[o] = [t(o)]);
325
+ o in r && (n[o] = [t(o)]);
326
326
  for (const o of this.attributes) {
327
327
  const s = this.$$g_p(o.name);
328
328
  s in this.$$d || (this.$$d[s] = Le(s, o.value, this.$$p_d, "toProp"));
@@ -331,8 +331,8 @@ typeof HTMLElement == "function" && (Sr = class extends HTMLElement {
331
331
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
332
332
  this.$$c = new this.$$ctor({
333
333
  target: this.shadowRoot || this,
334
- props: Ft(Dt({}, this.$$d), {
335
- $$slots: r,
334
+ props: Dt(Ft({}, this.$$d), {
335
+ $$slots: n,
336
336
  $$scope: {
337
337
  ctx: []
338
338
  }
@@ -364,9 +364,9 @@ typeof HTMLElement == "function" && (Sr = class extends HTMLElement {
364
364
  }
365
365
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
366
366
  // and setting attributes through setAttribute etc, this is helpful
367
- attributeChangedCallback(t, r, n) {
367
+ attributeChangedCallback(t, n, r) {
368
368
  var i;
369
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = Le(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
369
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = Le(t, r, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
370
370
  }
371
371
  disconnectedCallback() {
372
372
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -375,16 +375,16 @@ typeof HTMLElement == "function" && (Sr = class extends HTMLElement {
375
375
  }
376
376
  $$g_p(t) {
377
377
  return Object.keys(this.$$p_d).find(
378
- (r) => this.$$p_d[r].attribute === t || !this.$$p_d[r].attribute && r.toLowerCase() === t
378
+ (n) => this.$$p_d[n].attribute === t || !this.$$p_d[n].attribute && n.toLowerCase() === t
379
379
  ) || t;
380
380
  }
381
381
  });
382
- function Le(e, t, r, n) {
382
+ function Le(e, t, n, r) {
383
383
  var o;
384
- const i = (o = r[e]) == null ? void 0 : o.type;
385
- if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
384
+ const i = (o = n[e]) == null ? void 0 : o.type;
385
+ if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !r || !n[e])
386
386
  return t;
387
- if (n === "toAttribute")
387
+ if (r === "toAttribute")
388
388
  switch (i) {
389
389
  case "Object":
390
390
  case "Array":
@@ -409,10 +409,10 @@ function Le(e, t, r, n) {
409
409
  return t;
410
410
  }
411
411
  }
412
- function Xn(e, t, r, n, i, o) {
413
- let s = class extends Sr {
412
+ function zr(e, t, n, r, i, o) {
413
+ let s = class extends Tn {
414
414
  constructor() {
415
- super(e, r, i), this.$$p_d = t;
415
+ super(e, n, i), this.$$p_d = t;
416
416
  }
417
417
  static get observedAttributes() {
418
418
  return Object.keys(t).map(
@@ -430,7 +430,7 @@ function Xn(e, t, r, n, i, o) {
430
430
  u = Le(a, u, t), this.$$d[a] = u, (l = this.$$c) == null || l.$set({ [a]: u });
431
431
  }
432
432
  });
433
- }), n.forEach((a) => {
433
+ }), r.forEach((a) => {
434
434
  Object.defineProperty(s.prototype, a, {
435
435
  get() {
436
436
  var u;
@@ -440,7 +440,7 @@ function Xn(e, t, r, n, i, o) {
440
440
  }), e.element = /** @type {any} */
441
441
  s, s;
442
442
  }
443
- class zn {
443
+ class Xr {
444
444
  constructor() {
445
445
  /**
446
446
  * ### PRIVATE API
@@ -449,7 +449,7 @@ class zn {
449
449
  *
450
450
  * @type {any}
451
451
  */
452
- V(this, "$$");
452
+ z(this, "$$");
453
453
  /**
454
454
  * ### PRIVATE API
455
455
  *
@@ -457,11 +457,11 @@ class zn {
457
457
  *
458
458
  * @type {any}
459
459
  */
460
- V(this, "$$set");
460
+ z(this, "$$set");
461
461
  }
462
462
  /** @returns {void} */
463
463
  $destroy() {
464
- $n(this, 1), this.$destroy = Q;
464
+ kr(this, 1), this.$destroy = Q;
465
465
  }
466
466
  /**
467
467
  * @template {Extract<keyof Events, string>} K
@@ -469,13 +469,13 @@ class zn {
469
469
  * @param {((e: Events[K]) => void) | null | undefined} callback
470
470
  * @returns {() => void}
471
471
  */
472
- $on(t, r) {
473
- if (!xt(r))
472
+ $on(t, n) {
473
+ if (!xt(n))
474
474
  return Q;
475
- const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
476
- return n.push(r), () => {
477
- const i = n.indexOf(r);
478
- i !== -1 && n.splice(i, 1);
475
+ const r = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
476
+ return r.push(n), () => {
477
+ const i = r.indexOf(n);
478
+ i !== -1 && r.splice(i, 1);
479
479
  };
480
480
  }
481
481
  /**
@@ -483,24 +483,24 @@ class zn {
483
483
  * @returns {void}
484
484
  */
485
485
  $set(t) {
486
- this.$$set && !Bn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
486
+ this.$$set && !Br(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
487
487
  }
488
488
  }
489
- const Zn = "4";
490
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Zn);
489
+ const Zr = "4";
490
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Zr);
491
491
  const ae = [];
492
- function Qn(e, t) {
492
+ function Qr(e, t) {
493
493
  return {
494
494
  subscribe: je(e, t).subscribe
495
495
  };
496
496
  }
497
497
  function je(e, t = Q) {
498
- let r;
499
- const n = /* @__PURE__ */ new Set();
498
+ let n;
499
+ const r = /* @__PURE__ */ new Set();
500
500
  function i(a) {
501
- if (_r(e, a) && (e = a, r)) {
501
+ if (xn(e, a) && (e = a, n)) {
502
502
  const u = !ae.length;
503
- for (const l of n)
503
+ for (const l of r)
504
504
  l[1](), ae.push(l, e);
505
505
  if (u) {
506
506
  for (let l = 0; l < ae.length; l += 2)
@@ -514,18 +514,18 @@ function je(e, t = Q) {
514
514
  }
515
515
  function s(a, u = Q) {
516
516
  const l = [a, u];
517
- return n.add(l), n.size === 1 && (r = t(i, o) || Q), a(e), () => {
518
- n.delete(l), n.size === 0 && r && (r(), r = null);
517
+ return r.add(l), r.size === 1 && (n = t(i, o) || Q), a(e), () => {
518
+ r.delete(l), r.size === 0 && n && (n(), n = null);
519
519
  };
520
520
  }
521
521
  return { set: i, update: o, subscribe: s };
522
522
  }
523
- function be(e, t, r) {
524
- const n = !Array.isArray(e), i = n ? [e] : e;
523
+ function be(e, t, n) {
524
+ const r = !Array.isArray(e), i = r ? [e] : e;
525
525
  if (!i.every(Boolean))
526
526
  throw new Error("derived() expects stores as input, got a falsy value");
527
527
  const o = t.length < 2;
528
- return Qn(r, (s, a) => {
528
+ return Qr(n, (s, a) => {
529
529
  let u = !1;
530
530
  const l = [];
531
531
  let c = 0, d = Q;
@@ -533,13 +533,13 @@ function be(e, t, r) {
533
533
  if (c)
534
534
  return;
535
535
  d();
536
- const y = t(n ? l[0] : l, s, a);
536
+ const y = t(r ? l[0] : l, s, a);
537
537
  o ? s(y) : d = xt(y) ? y : Q;
538
- }, p = i.map(
539
- (y, b) => Er(
538
+ }, m = i.map(
539
+ (y, b) => wn(
540
540
  y,
541
- (P) => {
542
- l[b] = P, c &= ~(1 << b), u && f();
541
+ (O) => {
542
+ l[b] = O, c &= ~(1 << b), u && f();
543
543
  },
544
544
  () => {
545
545
  c |= 1 << b;
@@ -547,195 +547,195 @@ function be(e, t, r) {
547
547
  )
548
548
  );
549
549
  return u = !0, f(), function() {
550
- me(p), d(), u = !1;
550
+ me(m), d(), u = !1;
551
551
  };
552
552
  });
553
553
  }
554
- function Jn(e) {
554
+ function Jr(e) {
555
555
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
556
556
  }
557
- var Yn = function(t) {
558
- return qn(t) && !Kn(t);
557
+ var Yr = function(t) {
558
+ return qr(t) && !Kr(t);
559
559
  };
560
- function qn(e) {
560
+ function qr(e) {
561
561
  return !!e && typeof e == "object";
562
562
  }
563
- function Kn(e) {
563
+ function Kr(e) {
564
564
  var t = Object.prototype.toString.call(e);
565
- return t === "[object RegExp]" || t === "[object Date]" || ri(e);
565
+ return t === "[object RegExp]" || t === "[object Date]" || ni(e);
566
566
  }
567
567
  var ei = typeof Symbol == "function" && Symbol.for, ti = ei ? Symbol.for("react.element") : 60103;
568
- function ri(e) {
568
+ function ni(e) {
569
569
  return e.$$typeof === ti;
570
570
  }
571
- function ni(e) {
571
+ function ri(e) {
572
572
  return Array.isArray(e) ? [] : {};
573
573
  }
574
574
  function Se(e, t) {
575
- return t.clone !== !1 && t.isMergeableObject(e) ? ce(ni(e), e, t) : e;
575
+ return t.clone !== !1 && t.isMergeableObject(e) ? ce(ri(e), e, t) : e;
576
576
  }
577
- function ii(e, t, r) {
578
- return e.concat(t).map(function(n) {
579
- return Se(n, r);
577
+ function ii(e, t, n) {
578
+ return e.concat(t).map(function(r) {
579
+ return Se(r, n);
580
580
  });
581
581
  }
582
582
  function oi(e, t) {
583
583
  if (!t.customMerge)
584
584
  return ce;
585
- var r = t.customMerge(e);
586
- return typeof r == "function" ? r : ce;
585
+ var n = t.customMerge(e);
586
+ return typeof n == "function" ? n : ce;
587
587
  }
588
588
  function si(e) {
589
589
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
590
590
  return Object.propertyIsEnumerable.call(e, t);
591
591
  }) : [];
592
592
  }
593
- function kt(e) {
593
+ function Vt(e) {
594
594
  return Object.keys(e).concat(si(e));
595
595
  }
596
- function Tr(e, t) {
596
+ function Hn(e, t) {
597
597
  try {
598
598
  return t in e;
599
- } catch (r) {
599
+ } catch (n) {
600
600
  return !1;
601
601
  }
602
602
  }
603
603
  function ai(e, t) {
604
- return Tr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
604
+ return Hn(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
605
605
  }
606
- function ui(e, t, r) {
607
- var n = {};
608
- return r.isMergeableObject(e) && kt(e).forEach(function(i) {
609
- n[i] = Se(e[i], r);
610
- }), kt(t).forEach(function(i) {
611
- ai(e, i) || (Tr(e, i) && r.isMergeableObject(t[i]) ? n[i] = oi(i, r)(e[i], t[i], r) : n[i] = Se(t[i], r));
612
- }), n;
613
- }
614
- function ce(e, t, r) {
615
- r = r || {}, r.arrayMerge = r.arrayMerge || ii, r.isMergeableObject = r.isMergeableObject || Yn, r.cloneUnlessOtherwiseSpecified = Se;
616
- var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
617
- return o ? n ? r.arrayMerge(e, t, r) : ui(e, t, r) : Se(t, r);
618
- }
619
- ce.all = function(t, r) {
606
+ function ui(e, t, n) {
607
+ var r = {};
608
+ return n.isMergeableObject(e) && Vt(e).forEach(function(i) {
609
+ r[i] = Se(e[i], n);
610
+ }), Vt(t).forEach(function(i) {
611
+ ai(e, i) || (Hn(e, i) && n.isMergeableObject(t[i]) ? r[i] = oi(i, n)(e[i], t[i], n) : r[i] = Se(t[i], n));
612
+ }), r;
613
+ }
614
+ function ce(e, t, n) {
615
+ n = n || {}, n.arrayMerge = n.arrayMerge || ii, n.isMergeableObject = n.isMergeableObject || Yr, n.cloneUnlessOtherwiseSpecified = Se;
616
+ var r = Array.isArray(t), i = Array.isArray(e), o = r === i;
617
+ return o ? r ? n.arrayMerge(e, t, n) : ui(e, t, n) : Se(t, n);
618
+ }
619
+ ce.all = function(t, n) {
620
620
  if (!Array.isArray(t))
621
621
  throw new Error("first argument should be an array");
622
- return t.reduce(function(n, i) {
623
- return ce(n, i, r);
622
+ return t.reduce(function(r, i) {
623
+ return ce(r, i, n);
624
624
  }, {});
625
625
  };
626
626
  var li = ce, hi = li;
627
- const ci = /* @__PURE__ */ Jn(hi);
627
+ const ci = /* @__PURE__ */ Jr(hi);
628
628
  var lt = function(e, t) {
629
- return lt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
630
- r.__proto__ = n;
631
- } || function(r, n) {
632
- for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
629
+ return lt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
630
+ n.__proto__ = r;
631
+ } || function(n, r) {
632
+ for (var i in r) Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]);
633
633
  }, lt(e, t);
634
634
  };
635
635
  function K(e, t) {
636
636
  if (typeof t != "function" && t !== null)
637
637
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
638
638
  lt(e, t);
639
- function r() {
639
+ function n() {
640
640
  this.constructor = e;
641
641
  }
642
- e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
642
+ e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
643
643
  }
644
644
  var w = function() {
645
645
  return w = Object.assign || function(t) {
646
- for (var r, n = 1, i = arguments.length; n < i; n++) {
647
- r = arguments[n];
648
- for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
646
+ for (var n, r = 1, i = arguments.length; r < i; r++) {
647
+ n = arguments[r];
648
+ for (var o in n) Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
649
649
  }
650
650
  return t;
651
651
  }, w.apply(this, arguments);
652
652
  };
653
653
  function fi(e, t) {
654
- var r = {};
655
- for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
654
+ var n = {};
655
+ for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
656
656
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
657
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
658
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
659
- return r;
657
+ for (var i = 0, r = Object.getOwnPropertySymbols(e); i < r.length; i++)
658
+ t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
659
+ return n;
660
660
  }
661
661
  function ht(e) {
662
- var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
663
- if (r) return r.call(e);
662
+ var t = typeof Symbol == "function" && Symbol.iterator, n = t && e[t], r = 0;
663
+ if (n) return n.call(e);
664
664
  if (e && typeof e.length == "number") return {
665
665
  next: function() {
666
- return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
666
+ return e && r >= e.length && (e = void 0), { value: e && e[r++], done: !e };
667
667
  }
668
668
  };
669
669
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
670
670
  }
671
671
  function ct(e, t) {
672
- var r = typeof Symbol == "function" && e[Symbol.iterator];
673
- if (!r) return e;
674
- var n = r.call(e), i, o = [], s;
672
+ var n = typeof Symbol == "function" && e[Symbol.iterator];
673
+ if (!n) return e;
674
+ var r = n.call(e), i, o = [], s;
675
675
  try {
676
- for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; ) o.push(i.value);
676
+ for (; (t === void 0 || t-- > 0) && !(i = r.next()).done; ) o.push(i.value);
677
677
  } catch (a) {
678
678
  s = { error: a };
679
679
  } finally {
680
680
  try {
681
- i && !i.done && (r = n.return) && r.call(n);
681
+ i && !i.done && (n = r.return) && n.call(r);
682
682
  } finally {
683
683
  if (s) throw s.error;
684
684
  }
685
685
  }
686
686
  return o;
687
687
  }
688
- function he(e, t, r) {
689
- if (r || arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
690
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
688
+ function he(e, t, n) {
689
+ if (n || arguments.length === 2) for (var r = 0, i = t.length, o; r < i; r++)
690
+ (o || !(r in t)) && (o || (o = Array.prototype.slice.call(t, 0, r)), o[r] = t[r]);
691
691
  return e.concat(o || Array.prototype.slice.call(t));
692
692
  }
693
693
  function et(e, t) {
694
- var r = t && t.cache ? t.cache : yi, n = t && t.serializer ? t.serializer : gi, i = t && t.strategy ? t.strategy : pi;
694
+ var n = t && t.cache ? t.cache : yi, r = t && t.serializer ? t.serializer : gi, i = t && t.strategy ? t.strategy : pi;
695
695
  return i(e, {
696
- cache: r,
697
- serializer: n
696
+ cache: n,
697
+ serializer: r
698
698
  });
699
699
  }
700
700
  function di(e) {
701
701
  return e == null || typeof e == "number" || typeof e == "boolean";
702
702
  }
703
- function Hr(e, t, r, n) {
704
- var i = di(n) ? n : r(n), o = t.get(i);
705
- return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
703
+ function Bn(e, t, n, r) {
704
+ var i = di(r) ? r : n(r), o = t.get(i);
705
+ return typeof o == "undefined" && (o = e.call(this, r), t.set(i, o)), o;
706
706
  }
707
- function Br(e, t, r) {
708
- var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
709
- return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
707
+ function An(e, t, n) {
708
+ var r = Array.prototype.slice.call(arguments, 3), i = n(r), o = t.get(i);
709
+ return typeof o == "undefined" && (o = e.apply(this, r), t.set(i, o)), o;
710
710
  }
711
- function wt(e, t, r, n, i) {
712
- return r.bind(t, e, n, i);
711
+ function St(e, t, n, r, i) {
712
+ return n.bind(t, e, r, i);
713
713
  }
714
714
  function pi(e, t) {
715
- var r = e.length === 1 ? Hr : Br;
716
- return wt(e, this, r, t.cache.create(), t.serializer);
715
+ var n = e.length === 1 ? Bn : An;
716
+ return St(e, this, n, t.cache.create(), t.serializer);
717
717
  }
718
718
  function mi(e, t) {
719
- return wt(e, this, Br, t.cache.create(), t.serializer);
719
+ return St(e, this, An, t.cache.create(), t.serializer);
720
720
  }
721
721
  function bi(e, t) {
722
- return wt(e, this, Hr, t.cache.create(), t.serializer);
722
+ return St(e, this, Bn, t.cache.create(), t.serializer);
723
723
  }
724
724
  var gi = function() {
725
725
  return JSON.stringify(arguments);
726
726
  };
727
- function St() {
727
+ function Tt() {
728
728
  this.cache = /* @__PURE__ */ Object.create(null);
729
729
  }
730
- St.prototype.get = function(e) {
730
+ Tt.prototype.get = function(e) {
731
731
  return this.cache[e];
732
732
  };
733
- St.prototype.set = function(e, t) {
733
+ Tt.prototype.set = function(e, t) {
734
734
  this.cache[e] = t;
735
735
  };
736
736
  var yi = {
737
737
  create: function() {
738
- return new St();
738
+ return new Tt();
739
739
  }
740
740
  }, tt = {
741
741
  variadic: mi,
@@ -752,50 +752,50 @@ var fe;
752
752
  (function(e) {
753
753
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
754
754
  })(fe || (fe = {}));
755
- function Vt(e) {
755
+ function zt(e) {
756
756
  return e.type === H.literal;
757
757
  }
758
758
  function vi(e) {
759
759
  return e.type === H.argument;
760
760
  }
761
- function Ar(e) {
761
+ function Cn(e) {
762
762
  return e.type === H.number;
763
763
  }
764
- function Cr(e) {
764
+ function Pn(e) {
765
765
  return e.type === H.date;
766
766
  }
767
- function Pr(e) {
767
+ function On(e) {
768
768
  return e.type === H.time;
769
769
  }
770
- function Or(e) {
770
+ function Mn(e) {
771
771
  return e.type === H.select;
772
772
  }
773
- function Ir(e) {
773
+ function In(e) {
774
774
  return e.type === H.plural;
775
775
  }
776
776
  function _i(e) {
777
777
  return e.type === H.pound;
778
778
  }
779
- function Nr(e) {
779
+ function Nn(e) {
780
780
  return e.type === H.tag;
781
781
  }
782
- function Mr(e) {
782
+ function Ln(e) {
783
783
  return !!(e && typeof e == "object" && e.type === fe.number);
784
784
  }
785
785
  function ft(e) {
786
786
  return !!(e && typeof e == "object" && e.type === fe.dateTime);
787
787
  }
788
- var Lr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Ei = /(?:[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;
788
+ var Rn = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Ei = /(?:[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;
789
789
  function xi(e) {
790
790
  var t = {};
791
- return e.replace(Ei, function(r) {
792
- var n = r.length;
793
- switch (r[0]) {
791
+ return e.replace(Ei, function(n) {
792
+ var r = n.length;
793
+ switch (n[0]) {
794
794
  case "G":
795
- t.era = n === 4 ? "long" : n === 5 ? "narrow" : "short";
795
+ t.era = r === 4 ? "long" : r === 5 ? "narrow" : "short";
796
796
  break;
797
797
  case "y":
798
- t.year = n === 2 ? "2-digit" : "numeric";
798
+ t.year = r === 2 ? "2-digit" : "numeric";
799
799
  break;
800
800
  case "Y":
801
801
  case "u":
@@ -807,30 +807,30 @@ function xi(e) {
807
807
  throw new RangeError("`q/Q` (quarter) patterns are not supported");
808
808
  case "M":
809
809
  case "L":
810
- t.month = ["numeric", "2-digit", "short", "long", "narrow"][n - 1];
810
+ t.month = ["numeric", "2-digit", "short", "long", "narrow"][r - 1];
811
811
  break;
812
812
  case "w":
813
813
  case "W":
814
814
  throw new RangeError("`w/W` (week) patterns are not supported");
815
815
  case "d":
816
- t.day = ["numeric", "2-digit"][n - 1];
816
+ t.day = ["numeric", "2-digit"][r - 1];
817
817
  break;
818
818
  case "D":
819
819
  case "F":
820
820
  case "g":
821
821
  throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");
822
822
  case "E":
823
- t.weekday = n === 4 ? "long" : n === 5 ? "narrow" : "short";
823
+ t.weekday = r === 4 ? "long" : r === 5 ? "narrow" : "short";
824
824
  break;
825
825
  case "e":
826
- if (n < 4)
826
+ if (r < 4)
827
827
  throw new RangeError("`e..eee` (weekday) patterns are not supported");
828
- t.weekday = ["short", "long", "narrow", "short"][n - 4];
828
+ t.weekday = ["short", "long", "narrow", "short"][r - 4];
829
829
  break;
830
830
  case "c":
831
- if (n < 4)
831
+ if (r < 4)
832
832
  throw new RangeError("`c..ccc` (weekday) patterns are not supported");
833
- t.weekday = ["short", "long", "narrow", "short"][n - 4];
833
+ t.weekday = ["short", "long", "narrow", "short"][r - 4];
834
834
  break;
835
835
  case "a":
836
836
  t.hour12 = !0;
@@ -839,32 +839,32 @@ function xi(e) {
839
839
  case "B":
840
840
  throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");
841
841
  case "h":
842
- t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][n - 1];
842
+ t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][r - 1];
843
843
  break;
844
844
  case "H":
845
- t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][n - 1];
845
+ t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][r - 1];
846
846
  break;
847
847
  case "K":
848
- t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][n - 1];
848
+ t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][r - 1];
849
849
  break;
850
850
  case "k":
851
- t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][n - 1];
851
+ t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][r - 1];
852
852
  break;
853
853
  case "j":
854
854
  case "J":
855
855
  case "C":
856
856
  throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");
857
857
  case "m":
858
- t.minute = ["numeric", "2-digit"][n - 1];
858
+ t.minute = ["numeric", "2-digit"][r - 1];
859
859
  break;
860
860
  case "s":
861
- t.second = ["numeric", "2-digit"][n - 1];
861
+ t.second = ["numeric", "2-digit"][r - 1];
862
862
  break;
863
863
  case "S":
864
864
  case "A":
865
865
  throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");
866
866
  case "z":
867
- t.timeZoneName = n < 4 ? "short" : "long";
867
+ t.timeZoneName = r < 4 ? "short" : "long";
868
868
  break;
869
869
  case "Z":
870
870
  case "O":
@@ -883,8 +883,8 @@ function Si(e) {
883
883
  throw new Error("Number skeleton cannot be empty");
884
884
  for (var t = e.split(wi).filter(function(f) {
885
885
  return f.length > 0;
886
- }), r = [], n = 0, i = t; n < i.length; n++) {
887
- var o = i[n], s = o.split("/");
886
+ }), n = [], r = 0, i = t; r < i.length; r++) {
887
+ var o = i[r], s = o.split("/");
888
888
  if (s.length === 0)
889
889
  throw new Error("Invalid number skeleton");
890
890
  for (var a = s[0], u = s.slice(1), l = 0, c = u; l < c.length; l++) {
@@ -892,21 +892,21 @@ function Si(e) {
892
892
  if (d.length === 0)
893
893
  throw new Error("Invalid number skeleton");
894
894
  }
895
- r.push({ stem: a, options: u });
895
+ n.push({ stem: a, options: u });
896
896
  }
897
- return r;
897
+ return n;
898
898
  }
899
899
  function Ti(e) {
900
900
  return e.replace(/^(.*?)-/, "");
901
901
  }
902
- var Xt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Rr = /^(@+)?(\+|#+)?[rs]?$/g, Hi = /(\*)(0+)|(#+)(0+)|(0+)/g, Ur = /^(0+)$/;
903
- function zt(e) {
902
+ var Xt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Wn = /^(@+)?(\+|#+)?[rs]?$/g, Hi = /(\*)(0+)|(#+)(0+)|(0+)/g, Un = /^(0+)$/;
903
+ function Zt(e) {
904
904
  var t = {};
905
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Rr, function(r, n, i) {
906
- 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)), "";
905
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Wn, function(n, r, i) {
906
+ 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)), "";
907
907
  }), t;
908
908
  }
909
- function Dr(e) {
909
+ function Fn(e) {
910
910
  switch (e) {
911
911
  case "sign-auto":
912
912
  return {
@@ -953,20 +953,20 @@ function Bi(e) {
953
953
  }, e = e.slice(2)) : e[0] === "E" && (t = {
954
954
  notation: "scientific"
955
955
  }, e = e.slice(1)), t) {
956
- var r = e.slice(0, 2);
957
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Ur.test(e))
956
+ var n = e.slice(0, 2);
957
+ if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Un.test(e))
958
958
  throw new Error("Malformed concise eng/scientific notation");
959
959
  t.minimumIntegerDigits = e.length;
960
960
  }
961
961
  return t;
962
962
  }
963
- function Zt(e) {
964
- var t = {}, r = Dr(e);
965
- return r || t;
963
+ function Qt(e) {
964
+ var t = {}, n = Fn(e);
965
+ return n || t;
966
966
  }
967
967
  function Ai(e) {
968
- for (var t = {}, r = 0, n = e; r < n.length; r++) {
969
- var i = n[r];
968
+ for (var t = {}, n = 0, r = e; n < r.length; n++) {
969
+ var i = r[n];
970
970
  switch (i.stem) {
971
971
  case "percent":
972
972
  case "%":
@@ -1000,12 +1000,12 @@ function Ai(e) {
1000
1000
  continue;
1001
1001
  case "scientific":
1002
1002
  t = w(w(w({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
1003
- return w(w({}, u), Zt(l));
1003
+ return w(w({}, u), Qt(l));
1004
1004
  }, {}));
1005
1005
  continue;
1006
1006
  case "engineering":
1007
1007
  t = w(w(w({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1008
- return w(w({}, u), Zt(l));
1008
+ return w(w({}, u), Qt(l));
1009
1009
  }, {}));
1010
1010
  continue;
1011
1011
  case "notation-simple":
@@ -1050,45 +1050,45 @@ function Ai(e) {
1050
1050
  case "integer-width":
1051
1051
  if (i.options.length > 1)
1052
1052
  throw new RangeError("integer-width stems only accept a single optional option");
1053
- i.options[0].replace(Hi, function(u, l, c, d, f, p) {
1053
+ i.options[0].replace(Hi, function(u, l, c, d, f, m) {
1054
1054
  if (l)
1055
1055
  t.minimumIntegerDigits = c.length;
1056
1056
  else {
1057
1057
  if (d && f)
1058
1058
  throw new Error("We currently do not support maximum integer digits");
1059
- if (p)
1059
+ if (m)
1060
1060
  throw new Error("We currently do not support exact integer digits");
1061
1061
  }
1062
1062
  return "";
1063
1063
  });
1064
1064
  continue;
1065
1065
  }
1066
- if (Ur.test(i.stem)) {
1066
+ if (Un.test(i.stem)) {
1067
1067
  t.minimumIntegerDigits = i.stem.length;
1068
1068
  continue;
1069
1069
  }
1070
1070
  if (Xt.test(i.stem)) {
1071
1071
  if (i.options.length > 1)
1072
1072
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1073
- i.stem.replace(Xt, function(u, l, c, d, f, p) {
1074
- return c === "*" ? t.minimumFractionDigits = l.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1073
+ i.stem.replace(Xt, function(u, l, c, d, f, m) {
1074
+ return c === "*" ? t.minimumFractionDigits = l.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : f && m ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + m.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1075
1075
  });
1076
1076
  var o = i.options[0];
1077
- o === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = w(w({}, t), zt(o)));
1077
+ o === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = w(w({}, t), Zt(o)));
1078
1078
  continue;
1079
1079
  }
1080
- if (Rr.test(i.stem)) {
1081
- t = w(w({}, t), zt(i.stem));
1080
+ if (Wn.test(i.stem)) {
1081
+ t = w(w({}, t), Zt(i.stem));
1082
1082
  continue;
1083
1083
  }
1084
- var s = Dr(i.stem);
1084
+ var s = Fn(i.stem);
1085
1085
  s && (t = w(w({}, t), s));
1086
1086
  var a = Bi(i.stem);
1087
1087
  a && (t = w(w({}, t), a));
1088
1088
  }
1089
1089
  return t;
1090
1090
  }
1091
- var Ne = {
1091
+ var Ie = {
1092
1092
  "001": [
1093
1093
  "H",
1094
1094
  "h"
@@ -2504,19 +2504,19 @@ var Ne = {
2504
2504
  ]
2505
2505
  };
2506
2506
  function Ci(e, t) {
2507
- for (var r = "", n = 0; n < e.length; n++) {
2508
- var i = e.charAt(n);
2507
+ for (var n = "", r = 0; r < e.length; r++) {
2508
+ var i = e.charAt(r);
2509
2509
  if (i === "j") {
2510
- for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2511
- o++, n++;
2510
+ for (var o = 0; r + 1 < e.length && e.charAt(r + 1) === i; )
2511
+ o++, r++;
2512
2512
  var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = Pi(t);
2513
2513
  for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
2514
- r += u;
2514
+ n += u;
2515
2515
  for (; s-- > 0; )
2516
- r = l + r;
2517
- } else i === "J" ? r += "H" : r += i;
2516
+ n = l + n;
2517
+ } else i === "J" ? n += "H" : n += i;
2518
2518
  }
2519
- return r;
2519
+ return n;
2520
2520
  }
2521
2521
  function Pi(e) {
2522
2522
  var t = e.hourCycle;
@@ -2535,73 +2535,73 @@ function Pi(e) {
2535
2535
  default:
2536
2536
  throw new Error("Invalid hourCycle");
2537
2537
  }
2538
- var r = e.language, n;
2539
- r !== "root" && (n = e.maximize().region);
2540
- var i = Ne[n || ""] || Ne[r || ""] || Ne["".concat(r, "-001")] || Ne["001"];
2538
+ var n = e.language, r;
2539
+ n !== "root" && (r = e.maximize().region);
2540
+ var i = Ie[r || ""] || Ie[n || ""] || Ie["".concat(n, "-001")] || Ie["001"];
2541
2541
  return i[0];
2542
2542
  }
2543
- var rt, Oi = new RegExp("^".concat(Lr.source, "*")), Ii = new RegExp("".concat(Lr.source, "*$"));
2544
- function _(e, t) {
2543
+ var nt, Oi = new RegExp("^".concat(Rn.source, "*")), Mi = new RegExp("".concat(Rn.source, "*$"));
2544
+ function E(e, t) {
2545
2545
  return { start: e, end: t };
2546
2546
  }
2547
- var Ni = !!String.prototype.startsWith && "_a".startsWith("a", 1), Mi = !!String.fromCodePoint, Li = !!Object.fromEntries, Ri = !!String.prototype.codePointAt, Ui = !!String.prototype.trimStart, Di = !!String.prototype.trimEnd, Fi = !!Number.isSafeInteger, Gi = Fi ? Number.isSafeInteger : function(e) {
2547
+ var Ii = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ni = !!String.fromCodePoint, Li = !!Object.fromEntries, Ri = !!String.prototype.codePointAt, Wi = !!String.prototype.trimStart, Ui = !!String.prototype.trimEnd, Fi = !!Number.isSafeInteger, Di = Fi ? Number.isSafeInteger : function(e) {
2548
2548
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2549
2549
  }, dt = !0;
2550
2550
  try {
2551
- var Wi = Gr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2552
- dt = ((rt = Wi.exec("a")) === null || rt === void 0 ? void 0 : rt[0]) === "a";
2551
+ var Gi = Gn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2552
+ dt = ((nt = Gi.exec("a")) === null || nt === void 0 ? void 0 : nt[0]) === "a";
2553
2553
  } catch (e) {
2554
2554
  dt = !1;
2555
2555
  }
2556
- var Qt = Ni ? (
2556
+ var Jt = Ii ? (
2557
2557
  // Native
2558
- function(t, r, n) {
2559
- return t.startsWith(r, n);
2558
+ function(t, n, r) {
2559
+ return t.startsWith(n, r);
2560
2560
  }
2561
2561
  ) : (
2562
2562
  // For IE11
2563
- function(t, r, n) {
2564
- return t.slice(n, n + r.length) === r;
2563
+ function(t, n, r) {
2564
+ return t.slice(r, r + n.length) === n;
2565
2565
  }
2566
- ), pt = Mi ? String.fromCodePoint : (
2566
+ ), pt = Ni ? String.fromCodePoint : (
2567
2567
  // IE11
2568
2568
  function() {
2569
- for (var t = [], r = 0; r < arguments.length; r++)
2570
- t[r] = arguments[r];
2571
- for (var n = "", i = t.length, o = 0, s; i > o; ) {
2569
+ for (var t = [], n = 0; n < arguments.length; n++)
2570
+ t[n] = arguments[n];
2571
+ for (var r = "", i = t.length, o = 0, s; i > o; ) {
2572
2572
  if (s = t[o++], s > 1114111)
2573
2573
  throw RangeError(s + " is not a valid code point");
2574
- n += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
2574
+ r += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
2575
2575
  }
2576
- return n;
2576
+ return r;
2577
2577
  }
2578
- ), Jt = (
2578
+ ), Yt = (
2579
2579
  // native
2580
2580
  Li ? Object.fromEntries : (
2581
2581
  // Ponyfill
2582
2582
  function(t) {
2583
- for (var r = {}, n = 0, i = t; n < i.length; n++) {
2584
- var o = i[n], s = o[0], a = o[1];
2585
- r[s] = a;
2583
+ for (var n = {}, r = 0, i = t; r < i.length; r++) {
2584
+ var o = i[r], s = o[0], a = o[1];
2585
+ n[s] = a;
2586
2586
  }
2587
- return r;
2587
+ return n;
2588
2588
  }
2589
2589
  )
2590
- ), Fr = Ri ? (
2590
+ ), Dn = Ri ? (
2591
2591
  // Native
2592
- function(t, r) {
2593
- return t.codePointAt(r);
2592
+ function(t, n) {
2593
+ return t.codePointAt(n);
2594
2594
  }
2595
2595
  ) : (
2596
2596
  // IE 11
2597
- function(t, r) {
2598
- var n = t.length;
2599
- if (!(r < 0 || r >= n)) {
2600
- var i = t.charCodeAt(r), o;
2601
- return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2597
+ function(t, n) {
2598
+ var r = t.length;
2599
+ if (!(n < 0 || n >= r)) {
2600
+ var i = t.charCodeAt(n), o;
2601
+ return i < 55296 || i > 56319 || n + 1 === r || (o = t.charCodeAt(n + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2602
2602
  }
2603
2603
  }
2604
- ), ji = Ui ? (
2604
+ ), ji = Wi ? (
2605
2605
  // Native
2606
2606
  function(t) {
2607
2607
  return t.trimStart();
@@ -2611,7 +2611,7 @@ var Qt = Ni ? (
2611
2611
  function(t) {
2612
2612
  return t.replace(Oi, "");
2613
2613
  }
2614
- ), $i = Di ? (
2614
+ ), ki = Ui ? (
2615
2615
  // Native
2616
2616
  function(t) {
2617
2617
  return t.trimEnd();
@@ -2619,69 +2619,69 @@ var Qt = Ni ? (
2619
2619
  ) : (
2620
2620
  // Ponyfill
2621
2621
  function(t) {
2622
- return t.replace(Ii, "");
2622
+ return t.replace(Mi, "");
2623
2623
  }
2624
2624
  );
2625
- function Gr(e, t) {
2625
+ function Gn(e, t) {
2626
2626
  return new RegExp(e, t);
2627
2627
  }
2628
2628
  var mt;
2629
2629
  if (dt) {
2630
- var Yt = Gr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2631
- mt = function(t, r) {
2632
- var n;
2633
- Yt.lastIndex = r;
2634
- var i = Yt.exec(t);
2635
- return (n = i[1]) !== null && n !== void 0 ? n : "";
2630
+ var qt = Gn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2631
+ mt = function(t, n) {
2632
+ var r;
2633
+ qt.lastIndex = n;
2634
+ var i = qt.exec(t);
2635
+ return (r = i[1]) !== null && r !== void 0 ? r : "";
2636
2636
  };
2637
2637
  } else
2638
- mt = function(t, r) {
2639
- for (var n = []; ; ) {
2640
- var i = Fr(t, r);
2641
- if (i === void 0 || Wr(i) || zi(i))
2638
+ mt = function(t, n) {
2639
+ for (var r = []; ; ) {
2640
+ var i = Dn(t, n);
2641
+ if (i === void 0 || jn(i) || Xi(i))
2642
2642
  break;
2643
- n.push(i), r += i >= 65536 ? 2 : 1;
2643
+ r.push(i), n += i >= 65536 ? 2 : 1;
2644
2644
  }
2645
- return pt.apply(void 0, n);
2645
+ return pt.apply(void 0, r);
2646
2646
  };
2647
- var ki = (
2647
+ var $i = (
2648
2648
  /** @class */
2649
2649
  function() {
2650
- function e(t, r) {
2651
- 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;
2650
+ function e(t, n) {
2651
+ 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
2652
  }
2653
2653
  return e.prototype.parse = function() {
2654
2654
  if (this.offset() !== 0)
2655
2655
  throw Error("parser can only be used once");
2656
2656
  return this.parseMessage(0, "", !1);
2657
- }, e.prototype.parseMessage = function(t, r, n) {
2657
+ }, e.prototype.parseMessage = function(t, n, r) {
2658
2658
  for (var i = []; !this.isEOF(); ) {
2659
2659
  var o = this.char();
2660
2660
  if (o === 123) {
2661
- var s = this.parseArgument(t, n);
2661
+ var s = this.parseArgument(t, r);
2662
2662
  if (s.err)
2663
2663
  return s;
2664
2664
  i.push(s.val);
2665
2665
  } else {
2666
2666
  if (o === 125 && t > 0)
2667
2667
  break;
2668
- if (o === 35 && (r === "plural" || r === "selectordinal")) {
2668
+ if (o === 35 && (n === "plural" || n === "selectordinal")) {
2669
2669
  var a = this.clonePosition();
2670
2670
  this.bump(), i.push({
2671
2671
  type: H.pound,
2672
- location: _(a, this.clonePosition())
2672
+ location: E(a, this.clonePosition())
2673
2673
  });
2674
2674
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
2675
- if (n)
2675
+ if (r)
2676
2676
  break;
2677
- return this.error(v.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
2677
+ return this.error(v.UNMATCHED_CLOSING_TAG, E(this.clonePosition(), this.clonePosition()));
2678
2678
  } else if (o === 60 && !this.ignoreTag && bt(this.peek() || 0)) {
2679
- var s = this.parseTag(t, r);
2679
+ var s = this.parseTag(t, n);
2680
2680
  if (s.err)
2681
2681
  return s;
2682
2682
  i.push(s.val);
2683
2683
  } else {
2684
- var s = this.parseLiteral(t, r);
2684
+ var s = this.parseLiteral(t, n);
2685
2685
  if (s.err)
2686
2686
  return s;
2687
2687
  i.push(s.val);
@@ -2689,8 +2689,8 @@ var ki = (
2689
2689
  }
2690
2690
  }
2691
2691
  return { val: i, err: null };
2692
- }, e.prototype.parseTag = function(t, r) {
2693
- var n = this.clonePosition();
2692
+ }, e.prototype.parseTag = function(t, n) {
2693
+ var r = this.clonePosition();
2694
2694
  this.bump();
2695
2695
  var i = this.parseTagName();
2696
2696
  if (this.bumpSpace(), this.bumpIf("/>"))
@@ -2698,45 +2698,45 @@ var ki = (
2698
2698
  val: {
2699
2699
  type: H.literal,
2700
2700
  value: "<".concat(i, "/>"),
2701
- location: _(n, this.clonePosition())
2701
+ location: E(r, this.clonePosition())
2702
2702
  },
2703
2703
  err: null
2704
2704
  };
2705
2705
  if (this.bumpIf(">")) {
2706
- var o = this.parseMessage(t + 1, r, !0);
2706
+ var o = this.parseMessage(t + 1, n, !0);
2707
2707
  if (o.err)
2708
2708
  return o;
2709
2709
  var s = o.val, a = this.clonePosition();
2710
2710
  if (this.bumpIf("</")) {
2711
2711
  if (this.isEOF() || !bt(this.char()))
2712
- return this.error(v.INVALID_TAG, _(a, this.clonePosition()));
2712
+ return this.error(v.INVALID_TAG, E(a, this.clonePosition()));
2713
2713
  var u = this.clonePosition(), l = this.parseTagName();
2714
- return i !== l ? this.error(v.UNMATCHED_CLOSING_TAG, _(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2714
+ return i !== l ? this.error(v.UNMATCHED_CLOSING_TAG, E(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2715
2715
  val: {
2716
2716
  type: H.tag,
2717
2717
  value: i,
2718
2718
  children: s,
2719
- location: _(n, this.clonePosition())
2719
+ location: E(r, this.clonePosition())
2720
2720
  },
2721
2721
  err: null
2722
- } : this.error(v.INVALID_TAG, _(a, this.clonePosition())));
2722
+ } : this.error(v.INVALID_TAG, E(a, this.clonePosition())));
2723
2723
  } else
2724
- return this.error(v.UNCLOSED_TAG, _(n, this.clonePosition()));
2724
+ return this.error(v.UNCLOSED_TAG, E(r, this.clonePosition()));
2725
2725
  } else
2726
- return this.error(v.INVALID_TAG, _(n, this.clonePosition()));
2726
+ return this.error(v.INVALID_TAG, E(r, this.clonePosition()));
2727
2727
  }, e.prototype.parseTagName = function() {
2728
2728
  var t = this.offset();
2729
- for (this.bump(); !this.isEOF() && Xi(this.char()); )
2729
+ for (this.bump(); !this.isEOF() && zi(this.char()); )
2730
2730
  this.bump();
2731
2731
  return this.message.slice(t, this.offset());
2732
- }, e.prototype.parseLiteral = function(t, r) {
2733
- for (var n = this.clonePosition(), i = ""; ; ) {
2734
- var o = this.tryParseQuote(r);
2732
+ }, e.prototype.parseLiteral = function(t, n) {
2733
+ for (var r = this.clonePosition(), i = ""; ; ) {
2734
+ var o = this.tryParseQuote(n);
2735
2735
  if (o) {
2736
2736
  i += o;
2737
2737
  continue;
2738
2738
  }
2739
- var s = this.tryParseUnquoted(t, r);
2739
+ var s = this.tryParseUnquoted(t, n);
2740
2740
  if (s) {
2741
2741
  i += s;
2742
2742
  continue;
@@ -2748,7 +2748,7 @@ var ki = (
2748
2748
  }
2749
2749
  break;
2750
2750
  }
2751
- var u = _(n, this.clonePosition());
2751
+ var u = E(r, this.clonePosition());
2752
2752
  return {
2753
2753
  val: { type: H.literal, value: i, location: u },
2754
2754
  err: null
@@ -2775,37 +2775,37 @@ var ki = (
2775
2775
  return null;
2776
2776
  }
2777
2777
  this.bump();
2778
- var r = [this.char()];
2778
+ var n = [this.char()];
2779
2779
  for (this.bump(); !this.isEOF(); ) {
2780
- var n = this.char();
2781
- if (n === 39)
2780
+ var r = this.char();
2781
+ if (r === 39)
2782
2782
  if (this.peek() === 39)
2783
- r.push(39), this.bump();
2783
+ n.push(39), this.bump();
2784
2784
  else {
2785
2785
  this.bump();
2786
2786
  break;
2787
2787
  }
2788
2788
  else
2789
- r.push(n);
2789
+ n.push(r);
2790
2790
  this.bump();
2791
2791
  }
2792
- return pt.apply(void 0, r);
2793
- }, e.prototype.tryParseUnquoted = function(t, r) {
2792
+ return pt.apply(void 0, n);
2793
+ }, e.prototype.tryParseUnquoted = function(t, n) {
2794
2794
  if (this.isEOF())
2795
2795
  return null;
2796
- var n = this.char();
2797
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), pt(n));
2798
- }, e.prototype.parseArgument = function(t, r) {
2799
- var n = this.clonePosition();
2796
+ var r = this.char();
2797
+ return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), pt(r));
2798
+ }, e.prototype.parseArgument = function(t, n) {
2799
+ var r = this.clonePosition();
2800
2800
  if (this.bump(), this.bumpSpace(), this.isEOF())
2801
- return this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
2801
+ return this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, E(r, this.clonePosition()));
2802
2802
  if (this.char() === 125)
2803
- return this.bump(), this.error(v.EMPTY_ARGUMENT, _(n, this.clonePosition()));
2803
+ return this.bump(), this.error(v.EMPTY_ARGUMENT, E(r, this.clonePosition()));
2804
2804
  var i = this.parseIdentifierIfPossible().value;
2805
2805
  if (!i)
2806
- return this.error(v.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
2806
+ return this.error(v.MALFORMED_ARGUMENT, E(r, this.clonePosition()));
2807
2807
  if (this.bumpSpace(), this.isEOF())
2808
- return this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
2808
+ return this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, E(r, this.clonePosition()));
2809
2809
  switch (this.char()) {
2810
2810
  case 125:
2811
2811
  return this.bump(), {
@@ -2813,25 +2813,25 @@ var ki = (
2813
2813
  type: H.argument,
2814
2814
  // value does not include the opening and closing braces.
2815
2815
  value: i,
2816
- location: _(n, this.clonePosition())
2816
+ location: E(r, this.clonePosition())
2817
2817
  },
2818
2818
  err: null
2819
2819
  };
2820
2820
  case 44:
2821
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2821
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, E(r, this.clonePosition())) : this.parseArgumentOptions(t, n, i, r);
2822
2822
  default:
2823
- return this.error(v.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
2823
+ return this.error(v.MALFORMED_ARGUMENT, E(r, this.clonePosition()));
2824
2824
  }
2825
2825
  }, e.prototype.parseIdentifierIfPossible = function() {
2826
- var t = this.clonePosition(), r = this.offset(), n = mt(this.message, r), i = r + n.length;
2826
+ var t = this.clonePosition(), n = this.offset(), r = mt(this.message, n), i = n + r.length;
2827
2827
  this.bumpTo(i);
2828
- var o = this.clonePosition(), s = _(t, o);
2829
- return { value: n, location: s };
2830
- }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
2828
+ var o = this.clonePosition(), s = E(t, o);
2829
+ return { value: r, location: s };
2830
+ }, e.prototype.parseArgumentOptions = function(t, n, r, i) {
2831
2831
  var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, u = this.clonePosition();
2832
2832
  switch (a) {
2833
2833
  case "":
2834
- return this.error(v.EXPECT_ARGUMENT_TYPE, _(s, u));
2834
+ return this.error(v.EXPECT_ARGUMENT_TYPE, E(s, u));
2835
2835
  case "number":
2836
2836
  case "date":
2837
2837
  case "time": {
@@ -2842,37 +2842,37 @@ var ki = (
2842
2842
  var c = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
2843
2843
  if (d.err)
2844
2844
  return d;
2845
- var f = $i(d.val);
2845
+ var f = ki(d.val);
2846
2846
  if (f.length === 0)
2847
- return this.error(v.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
2848
- var p = _(c, this.clonePosition());
2849
- l = { style: f, styleLocation: p };
2847
+ return this.error(v.EXPECT_ARGUMENT_STYLE, E(this.clonePosition(), this.clonePosition()));
2848
+ var m = E(c, this.clonePosition());
2849
+ l = { style: f, styleLocation: m };
2850
2850
  }
2851
2851
  var y = this.tryParseArgumentClose(i);
2852
2852
  if (y.err)
2853
2853
  return y;
2854
- var b = _(i, this.clonePosition());
2855
- if (l && Qt(l == null ? void 0 : l.style, "::", 0)) {
2856
- var P = ji(l.style.slice(2));
2854
+ var b = E(i, this.clonePosition());
2855
+ if (l && Jt(l == null ? void 0 : l.style, "::", 0)) {
2856
+ var O = ji(l.style.slice(2));
2857
2857
  if (a === "number") {
2858
- var d = this.parseNumberSkeletonFromString(P, l.styleLocation);
2858
+ var d = this.parseNumberSkeletonFromString(O, l.styleLocation);
2859
2859
  return d.err ? d : {
2860
- val: { type: H.number, value: n, location: b, style: d.val },
2860
+ val: { type: H.number, value: r, location: b, style: d.val },
2861
2861
  err: null
2862
2862
  };
2863
2863
  } else {
2864
- if (P.length === 0)
2864
+ if (O.length === 0)
2865
2865
  return this.error(v.EXPECT_DATE_TIME_SKELETON, b);
2866
- var R = P;
2867
- this.locale && (R = Ci(P, this.locale));
2866
+ var R = O;
2867
+ this.locale && (R = Ci(O, this.locale));
2868
2868
  var f = {
2869
2869
  type: fe.dateTime,
2870
2870
  pattern: R,
2871
2871
  location: l.styleLocation,
2872
2872
  parsedOptions: this.shouldParseSkeletons ? xi(R) : {}
2873
- }, M = a === "date" ? H.date : H.time;
2873
+ }, N = a === "date" ? H.date : H.time;
2874
2874
  return {
2875
- val: { type: M, value: n, location: b, style: f },
2875
+ val: { type: N, value: r, location: b, style: f },
2876
2876
  err: null
2877
2877
  };
2878
2878
  }
@@ -2880,7 +2880,7 @@ var ki = (
2880
2880
  return {
2881
2881
  val: {
2882
2882
  type: a === "number" ? H.number : a === "date" ? H.date : H.time,
2883
- value: n,
2883
+ value: r,
2884
2884
  location: b,
2885
2885
  style: (o = l == null ? void 0 : l.style) !== null && o !== void 0 ? o : null
2886
2886
  },
@@ -2892,38 +2892,38 @@ var ki = (
2892
2892
  case "select": {
2893
2893
  var T = this.clonePosition();
2894
2894
  if (this.bumpSpace(), !this.bumpIf(","))
2895
- return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, _(T, w({}, T)));
2895
+ return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, E(T, w({}, T)));
2896
2896
  this.bumpSpace();
2897
2897
  var B = this.parseIdentifierIfPossible(), x = 0;
2898
2898
  if (a !== "select" && B.value === "offset") {
2899
2899
  if (!this.bumpIf(":"))
2900
- return this.error(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
2900
+ return this.error(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, E(this.clonePosition(), this.clonePosition()));
2901
2901
  this.bumpSpace();
2902
2902
  var d = this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2903
2903
  if (d.err)
2904
2904
  return d;
2905
2905
  this.bumpSpace(), B = this.parseIdentifierIfPossible(), x = d.val;
2906
2906
  }
2907
- var G = this.tryParsePluralOrSelectOptions(t, a, r, B);
2908
- if (G.err)
2909
- return G;
2907
+ var D = this.tryParsePluralOrSelectOptions(t, a, n, B);
2908
+ if (D.err)
2909
+ return D;
2910
2910
  var y = this.tryParseArgumentClose(i);
2911
2911
  if (y.err)
2912
2912
  return y;
2913
- var F = _(i, this.clonePosition());
2913
+ var F = E(i, this.clonePosition());
2914
2914
  return a === "select" ? {
2915
2915
  val: {
2916
2916
  type: H.select,
2917
- value: n,
2918
- options: Jt(G.val),
2917
+ value: r,
2918
+ options: Yt(D.val),
2919
2919
  location: F
2920
2920
  },
2921
2921
  err: null
2922
2922
  } : {
2923
2923
  val: {
2924
2924
  type: H.plural,
2925
- value: n,
2926
- options: Jt(G.val),
2925
+ value: r,
2926
+ options: Yt(D.val),
2927
2927
  offset: x,
2928
2928
  pluralType: a === "plural" ? "cardinal" : "ordinal",
2929
2929
  location: F
@@ -2932,19 +2932,19 @@ var ki = (
2932
2932
  };
2933
2933
  }
2934
2934
  default:
2935
- return this.error(v.INVALID_ARGUMENT_TYPE, _(s, u));
2935
+ return this.error(v.INVALID_ARGUMENT_TYPE, E(s, u));
2936
2936
  }
2937
2937
  }, e.prototype.tryParseArgumentClose = function(t) {
2938
- return this.isEOF() || this.char() !== 125 ? this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, _(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2938
+ return this.isEOF() || this.char() !== 125 ? this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, E(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2939
2939
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
2940
- for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
2941
- var n = this.char();
2942
- switch (n) {
2940
+ for (var t = 0, n = this.clonePosition(); !this.isEOF(); ) {
2941
+ var r = this.char();
2942
+ switch (r) {
2943
2943
  case 39: {
2944
2944
  this.bump();
2945
2945
  var i = this.clonePosition();
2946
2946
  if (!this.bumpUntil("'"))
2947
- return this.error(v.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, _(i, this.clonePosition()));
2947
+ return this.error(v.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, E(i, this.clonePosition()));
2948
2948
  this.bump();
2949
2949
  break;
2950
2950
  }
@@ -2957,7 +2957,7 @@ var ki = (
2957
2957
  t -= 1;
2958
2958
  else
2959
2959
  return {
2960
- val: this.message.slice(r.offset, this.offset()),
2960
+ val: this.message.slice(n.offset, this.offset()),
2961
2961
  err: null
2962
2962
  };
2963
2963
  break;
@@ -2968,61 +2968,61 @@ var ki = (
2968
2968
  }
2969
2969
  }
2970
2970
  return {
2971
- val: this.message.slice(r.offset, this.offset()),
2971
+ val: this.message.slice(n.offset, this.offset()),
2972
2972
  err: null
2973
2973
  };
2974
- }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2975
- var n = [];
2974
+ }, e.prototype.parseNumberSkeletonFromString = function(t, n) {
2975
+ var r = [];
2976
2976
  try {
2977
- n = Si(t);
2977
+ r = Si(t);
2978
2978
  } catch (i) {
2979
- return this.error(v.INVALID_NUMBER_SKELETON, r);
2979
+ return this.error(v.INVALID_NUMBER_SKELETON, n);
2980
2980
  }
2981
2981
  return {
2982
2982
  val: {
2983
2983
  type: fe.number,
2984
- tokens: n,
2985
- location: r,
2986
- parsedOptions: this.shouldParseSkeletons ? Ai(n) : {}
2984
+ tokens: r,
2985
+ location: n,
2986
+ parsedOptions: this.shouldParseSkeletons ? Ai(r) : {}
2987
2987
  },
2988
2988
  err: null
2989
2989
  };
2990
- }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
2990
+ }, e.prototype.tryParsePluralOrSelectOptions = function(t, n, r, i) {
2991
2991
  for (var o, s = !1, a = [], u = /* @__PURE__ */ new Set(), l = i.value, c = i.location; ; ) {
2992
2992
  if (l.length === 0) {
2993
2993
  var d = this.clonePosition();
2994
- if (r !== "select" && this.bumpIf("=")) {
2994
+ if (n !== "select" && this.bumpIf("=")) {
2995
2995
  var f = this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_SELECTOR, v.INVALID_PLURAL_ARGUMENT_SELECTOR);
2996
2996
  if (f.err)
2997
2997
  return f;
2998
- c = _(d, this.clonePosition()), l = this.message.slice(d.offset, this.offset());
2998
+ c = E(d, this.clonePosition()), l = this.message.slice(d.offset, this.offset());
2999
2999
  } else
3000
3000
  break;
3001
3001
  }
3002
3002
  if (u.has(l))
3003
- return this.error(r === "select" ? v.DUPLICATE_SELECT_ARGUMENT_SELECTOR : v.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
3003
+ return this.error(n === "select" ? v.DUPLICATE_SELECT_ARGUMENT_SELECTOR : v.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
3004
3004
  l === "other" && (s = !0), this.bumpSpace();
3005
- var p = this.clonePosition();
3005
+ var m = this.clonePosition();
3006
3006
  if (!this.bumpIf("{"))
3007
- return this.error(r === "select" ? v.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : v.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
3008
- var y = this.parseMessage(t + 1, r, n);
3007
+ return this.error(n === "select" ? v.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : v.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, E(this.clonePosition(), this.clonePosition()));
3008
+ var y = this.parseMessage(t + 1, n, r);
3009
3009
  if (y.err)
3010
3010
  return y;
3011
- var b = this.tryParseArgumentClose(p);
3011
+ var b = this.tryParseArgumentClose(m);
3012
3012
  if (b.err)
3013
3013
  return b;
3014
3014
  a.push([
3015
3015
  l,
3016
3016
  {
3017
3017
  value: y.val,
3018
- location: _(p, this.clonePosition())
3018
+ location: E(m, this.clonePosition())
3019
3019
  }
3020
3020
  ]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, c = o.location;
3021
3021
  }
3022
- return a.length === 0 ? this.error(r === "select" ? v.EXPECT_SELECT_ARGUMENT_SELECTOR : v.EXPECT_PLURAL_ARGUMENT_SELECTOR, _(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(v.MISSING_OTHER_CLAUSE, _(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3023
- }, e.prototype.tryParseDecimalInteger = function(t, r) {
3024
- var n = 1, i = this.clonePosition();
3025
- this.bumpIf("+") || this.bumpIf("-") && (n = -1);
3022
+ return a.length === 0 ? this.error(n === "select" ? v.EXPECT_SELECT_ARGUMENT_SELECTOR : v.EXPECT_PLURAL_ARGUMENT_SELECTOR, E(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(v.MISSING_OTHER_CLAUSE, E(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3023
+ }, e.prototype.tryParseDecimalInteger = function(t, n) {
3024
+ var r = 1, i = this.clonePosition();
3025
+ this.bumpIf("+") || this.bumpIf("-") && (r = -1);
3026
3026
  for (var o = !1, s = 0; !this.isEOF(); ) {
3027
3027
  var a = this.char();
3028
3028
  if (a >= 48 && a <= 57)
@@ -3030,8 +3030,8 @@ var ki = (
3030
3030
  else
3031
3031
  break;
3032
3032
  }
3033
- var u = _(i, this.clonePosition());
3034
- return o ? (s *= n, Gi(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3033
+ var u = E(i, this.clonePosition());
3034
+ return o ? (s *= r, Di(s) ? { val: s, err: null } : this.error(n, u)) : this.error(t, u);
3035
3035
  }, e.prototype.offset = function() {
3036
3036
  return this.position.offset;
3037
3037
  }, e.prototype.isEOF = function() {
@@ -3046,17 +3046,17 @@ var ki = (
3046
3046
  var t = this.position.offset;
3047
3047
  if (t >= this.message.length)
3048
3048
  throw Error("out of bound");
3049
- var r = Fr(this.message, t);
3050
- if (r === void 0)
3049
+ var n = Dn(this.message, t);
3050
+ if (n === void 0)
3051
3051
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3052
- return r;
3053
- }, e.prototype.error = function(t, r) {
3052
+ return n;
3053
+ }, e.prototype.error = function(t, n) {
3054
3054
  return {
3055
3055
  val: null,
3056
3056
  err: {
3057
3057
  kind: t,
3058
3058
  message: this.message,
3059
- location: r
3059
+ location: n
3060
3060
  }
3061
3061
  };
3062
3062
  }, e.prototype.bump = function() {
@@ -3065,35 +3065,35 @@ var ki = (
3065
3065
  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);
3066
3066
  }
3067
3067
  }, e.prototype.bumpIf = function(t) {
3068
- if (Qt(this.message, t, this.offset())) {
3069
- for (var r = 0; r < t.length; r++)
3068
+ if (Jt(this.message, t, this.offset())) {
3069
+ for (var n = 0; n < t.length; n++)
3070
3070
  this.bump();
3071
3071
  return !0;
3072
3072
  }
3073
3073
  return !1;
3074
3074
  }, e.prototype.bumpUntil = function(t) {
3075
- var r = this.offset(), n = this.message.indexOf(t, r);
3076
- return n >= 0 ? (this.bumpTo(n), !0) : (this.bumpTo(this.message.length), !1);
3075
+ var n = this.offset(), r = this.message.indexOf(t, n);
3076
+ return r >= 0 ? (this.bumpTo(r), !0) : (this.bumpTo(this.message.length), !1);
3077
3077
  }, e.prototype.bumpTo = function(t) {
3078
3078
  if (this.offset() > t)
3079
3079
  throw Error("targetOffset ".concat(t, " must be greater than or equal to the current offset ").concat(this.offset()));
3080
3080
  for (t = Math.min(t, this.message.length); ; ) {
3081
- var r = this.offset();
3082
- if (r === t)
3081
+ var n = this.offset();
3082
+ if (n === t)
3083
3083
  break;
3084
- if (r > t)
3084
+ if (n > t)
3085
3085
  throw Error("targetOffset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3086
3086
  if (this.bump(), this.isEOF())
3087
3087
  break;
3088
3088
  }
3089
3089
  }, e.prototype.bumpSpace = function() {
3090
- for (; !this.isEOF() && Wr(this.char()); )
3090
+ for (; !this.isEOF() && jn(this.char()); )
3091
3091
  this.bump();
3092
3092
  }, e.prototype.peek = function() {
3093
3093
  if (this.isEOF())
3094
3094
  return null;
3095
- var t = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
3096
- return n != null ? n : null;
3095
+ var t = this.char(), n = this.offset(), r = this.message.charCodeAt(n + (t >= 65536 ? 2 : 1));
3096
+ return r != null ? r : null;
3097
3097
  }, e;
3098
3098
  }()
3099
3099
  );
@@ -3103,109 +3103,109 @@ function bt(e) {
3103
3103
  function Vi(e) {
3104
3104
  return bt(e) || e === 47;
3105
3105
  }
3106
- function Xi(e) {
3106
+ function zi(e) {
3107
3107
  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;
3108
3108
  }
3109
- function Wr(e) {
3109
+ function jn(e) {
3110
3110
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3111
3111
  }
3112
- function zi(e) {
3112
+ function Xi(e) {
3113
3113
  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;
3114
3114
  }
3115
3115
  function gt(e) {
3116
3116
  e.forEach(function(t) {
3117
- if (delete t.location, Or(t) || Ir(t))
3118
- for (var r in t.options)
3119
- delete t.options[r].location, gt(t.options[r].value);
3120
- else Ar(t) && Mr(t.style) || (Cr(t) || Pr(t)) && ft(t.style) ? delete t.style.location : Nr(t) && gt(t.children);
3117
+ if (delete t.location, Mn(t) || In(t))
3118
+ for (var n in t.options)
3119
+ delete t.options[n].location, gt(t.options[n].value);
3120
+ else Cn(t) && Ln(t.style) || (Pn(t) || On(t)) && ft(t.style) ? delete t.style.location : Nn(t) && gt(t.children);
3121
3121
  });
3122
3122
  }
3123
3123
  function Zi(e, t) {
3124
3124
  t === void 0 && (t = {}), t = w({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3125
- var r = new ki(e, t).parse();
3126
- if (r.err) {
3127
- var n = SyntaxError(v[r.err.kind]);
3128
- throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3125
+ var n = new $i(e, t).parse();
3126
+ if (n.err) {
3127
+ var r = SyntaxError(v[n.err.kind]);
3128
+ throw r.location = n.err.location, r.originalMessage = n.err.message, r;
3129
3129
  }
3130
- return t != null && t.captureLocation || gt(r.val), r.val;
3130
+ return t != null && t.captureLocation || gt(n.val), n.val;
3131
3131
  }
3132
3132
  var de;
3133
3133
  (function(e) {
3134
3134
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3135
3135
  })(de || (de = {}));
3136
- var $e = (
3136
+ var ke = (
3137
3137
  /** @class */
3138
3138
  function(e) {
3139
3139
  K(t, e);
3140
- function t(r, n, i) {
3141
- var o = e.call(this, r) || this;
3142
- return o.code = n, o.originalMessage = i, o;
3140
+ function t(n, r, i) {
3141
+ var o = e.call(this, n) || this;
3142
+ return o.code = r, o.originalMessage = i, o;
3143
3143
  }
3144
3144
  return t.prototype.toString = function() {
3145
3145
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3146
3146
  }, t;
3147
3147
  }(Error)
3148
- ), qt = (
3148
+ ), Kt = (
3149
3149
  /** @class */
3150
3150
  function(e) {
3151
3151
  K(t, e);
3152
- function t(r, n, i, o) {
3153
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), de.INVALID_VALUE, o) || this;
3152
+ function t(n, r, i, o) {
3153
+ return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'), de.INVALID_VALUE, o) || this;
3154
3154
  }
3155
3155
  return t;
3156
- }($e)
3156
+ }(ke)
3157
3157
  ), Qi = (
3158
3158
  /** @class */
3159
3159
  function(e) {
3160
3160
  K(t, e);
3161
- function t(r, n, i) {
3162
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), de.INVALID_VALUE, i) || this;
3161
+ function t(n, r, i) {
3162
+ return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), de.INVALID_VALUE, i) || this;
3163
3163
  }
3164
3164
  return t;
3165
- }($e)
3165
+ }(ke)
3166
3166
  ), Ji = (
3167
3167
  /** @class */
3168
3168
  function(e) {
3169
3169
  K(t, e);
3170
- function t(r, n) {
3171
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), de.MISSING_VALUE, n) || this;
3170
+ function t(n, r) {
3171
+ return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), de.MISSING_VALUE, r) || this;
3172
3172
  }
3173
3173
  return t;
3174
- }($e)
3175
- ), W;
3174
+ }(ke)
3175
+ ), G;
3176
3176
  (function(e) {
3177
3177
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3178
- })(W || (W = {}));
3178
+ })(G || (G = {}));
3179
3179
  function Yi(e) {
3180
- return e.length < 2 ? e : e.reduce(function(t, r) {
3181
- var n = t[t.length - 1];
3182
- return !n || n.type !== W.literal || r.type !== W.literal ? t.push(r) : n.value += r.value, t;
3180
+ return e.length < 2 ? e : e.reduce(function(t, n) {
3181
+ var r = t[t.length - 1];
3182
+ return !r || r.type !== G.literal || n.type !== G.literal ? t.push(n) : r.value += n.value, t;
3183
3183
  }, []);
3184
3184
  }
3185
3185
  function qi(e) {
3186
3186
  return typeof e == "function";
3187
3187
  }
3188
- function Re(e, t, r, n, i, o, s) {
3189
- if (e.length === 1 && Vt(e[0]))
3188
+ function Re(e, t, n, r, i, o, s) {
3189
+ if (e.length === 1 && zt(e[0]))
3190
3190
  return [
3191
3191
  {
3192
- type: W.literal,
3192
+ type: G.literal,
3193
3193
  value: e[0].value
3194
3194
  }
3195
3195
  ];
3196
3196
  for (var a = [], u = 0, l = e; u < l.length; u++) {
3197
3197
  var c = l[u];
3198
- if (Vt(c)) {
3198
+ if (zt(c)) {
3199
3199
  a.push({
3200
- type: W.literal,
3200
+ type: G.literal,
3201
3201
  value: c.value
3202
3202
  });
3203
3203
  continue;
3204
3204
  }
3205
3205
  if (_i(c)) {
3206
3206
  typeof o == "number" && a.push({
3207
- type: W.literal,
3208
- value: r.getNumberFormat(t).format(o)
3207
+ type: G.literal,
3208
+ value: n.getNumberFormat(t).format(o)
3209
3209
  });
3210
3210
  continue;
3211
3211
  }
@@ -3215,93 +3215,93 @@ function Re(e, t, r, n, i, o, s) {
3215
3215
  var f = i[d];
3216
3216
  if (vi(c)) {
3217
3217
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3218
- type: typeof f == "string" ? W.literal : W.object,
3218
+ type: typeof f == "string" ? G.literal : G.object,
3219
3219
  value: f
3220
3220
  });
3221
3221
  continue;
3222
3222
  }
3223
- if (Cr(c)) {
3224
- var p = typeof c.style == "string" ? n.date[c.style] : ft(c.style) ? c.style.parsedOptions : void 0;
3223
+ if (Pn(c)) {
3224
+ var m = typeof c.style == "string" ? r.date[c.style] : ft(c.style) ? c.style.parsedOptions : void 0;
3225
3225
  a.push({
3226
- type: W.literal,
3227
- value: r.getDateTimeFormat(t, p).format(f)
3226
+ type: G.literal,
3227
+ value: n.getDateTimeFormat(t, m).format(f)
3228
3228
  });
3229
3229
  continue;
3230
3230
  }
3231
- if (Pr(c)) {
3232
- var p = typeof c.style == "string" ? n.time[c.style] : ft(c.style) ? c.style.parsedOptions : n.time.medium;
3231
+ if (On(c)) {
3232
+ var m = typeof c.style == "string" ? r.time[c.style] : ft(c.style) ? c.style.parsedOptions : r.time.medium;
3233
3233
  a.push({
3234
- type: W.literal,
3235
- value: r.getDateTimeFormat(t, p).format(f)
3234
+ type: G.literal,
3235
+ value: n.getDateTimeFormat(t, m).format(f)
3236
3236
  });
3237
3237
  continue;
3238
3238
  }
3239
- if (Ar(c)) {
3240
- var p = typeof c.style == "string" ? n.number[c.style] : Mr(c.style) ? c.style.parsedOptions : void 0;
3241
- p && p.scale && (f = f * (p.scale || 1)), a.push({
3242
- type: W.literal,
3243
- value: r.getNumberFormat(t, p).format(f)
3239
+ if (Cn(c)) {
3240
+ var m = typeof c.style == "string" ? r.number[c.style] : Ln(c.style) ? c.style.parsedOptions : void 0;
3241
+ m && m.scale && (f = f * (m.scale || 1)), a.push({
3242
+ type: G.literal,
3243
+ value: n.getNumberFormat(t, m).format(f)
3244
3244
  });
3245
3245
  continue;
3246
3246
  }
3247
- if (Nr(c)) {
3248
- var y = c.children, b = c.value, P = i[b];
3249
- if (!qi(P))
3247
+ if (Nn(c)) {
3248
+ var y = c.children, b = c.value, O = i[b];
3249
+ if (!qi(O))
3250
3250
  throw new Qi(b, "function", s);
3251
- var R = Re(y, t, r, n, i, o), M = P(R.map(function(x) {
3251
+ var R = Re(y, t, n, r, i, o), N = O(R.map(function(x) {
3252
3252
  return x.value;
3253
3253
  }));
3254
- Array.isArray(M) || (M = [M]), a.push.apply(a, M.map(function(x) {
3254
+ Array.isArray(N) || (N = [N]), a.push.apply(a, N.map(function(x) {
3255
3255
  return {
3256
- type: typeof x == "string" ? W.literal : W.object,
3256
+ type: typeof x == "string" ? G.literal : G.object,
3257
3257
  value: x
3258
3258
  };
3259
3259
  }));
3260
3260
  }
3261
- if (Or(c)) {
3261
+ if (Mn(c)) {
3262
3262
  var T = c.options[f] || c.options.other;
3263
3263
  if (!T)
3264
- throw new qt(c.value, f, Object.keys(c.options), s);
3265
- a.push.apply(a, Re(T.value, t, r, n, i));
3264
+ throw new Kt(c.value, f, Object.keys(c.options), s);
3265
+ a.push.apply(a, Re(T.value, t, n, r, i));
3266
3266
  continue;
3267
3267
  }
3268
- if (Ir(c)) {
3268
+ if (In(c)) {
3269
3269
  var T = c.options["=".concat(f)];
3270
3270
  if (!T) {
3271
3271
  if (!Intl.PluralRules)
3272
- throw new $e(`Intl.PluralRules is not available in this environment.
3272
+ throw new ke(`Intl.PluralRules is not available in this environment.
3273
3273
  Try polyfilling it using "@formatjs/intl-pluralrules"
3274
3274
  `, de.MISSING_INTL_API, s);
3275
- var B = r.getPluralRules(t, { type: c.pluralType }).select(f - (c.offset || 0));
3275
+ var B = n.getPluralRules(t, { type: c.pluralType }).select(f - (c.offset || 0));
3276
3276
  T = c.options[B] || c.options.other;
3277
3277
  }
3278
3278
  if (!T)
3279
- throw new qt(c.value, f, Object.keys(c.options), s);
3280
- a.push.apply(a, Re(T.value, t, r, n, i, f - (c.offset || 0)));
3279
+ throw new Kt(c.value, f, Object.keys(c.options), s);
3280
+ a.push.apply(a, Re(T.value, t, n, r, i, f - (c.offset || 0)));
3281
3281
  continue;
3282
3282
  }
3283
3283
  }
3284
3284
  return Yi(a);
3285
3285
  }
3286
3286
  function Ki(e, t) {
3287
- return t ? w(w(w({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3288
- return r[n] = w(w({}, e[n]), t[n] || {}), r;
3287
+ return t ? w(w(w({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
3288
+ return n[r] = w(w({}, e[r]), t[r] || {}), n;
3289
3289
  }, {})) : e;
3290
3290
  }
3291
3291
  function eo(e, t) {
3292
- return t ? Object.keys(e).reduce(function(r, n) {
3293
- return r[n] = Ki(e[n], t[n]), r;
3292
+ return t ? Object.keys(e).reduce(function(n, r) {
3293
+ return n[r] = Ki(e[r], t[r]), n;
3294
3294
  }, w({}, e)) : e;
3295
3295
  }
3296
- function nt(e) {
3296
+ function rt(e) {
3297
3297
  return {
3298
3298
  create: function() {
3299
3299
  return {
3300
3300
  get: function(t) {
3301
3301
  return e[t];
3302
3302
  },
3303
- set: function(t, r) {
3304
- e[t] = r;
3303
+ set: function(t, n) {
3304
+ e[t] = n;
3305
3305
  }
3306
3306
  };
3307
3307
  }
@@ -3314,36 +3314,36 @@ function to(e) {
3314
3314
  pluralRules: {}
3315
3315
  }), {
3316
3316
  getNumberFormat: et(function() {
3317
- for (var t, r = [], n = 0; n < arguments.length; n++)
3318
- r[n] = arguments[n];
3319
- return new ((t = Intl.NumberFormat).bind.apply(t, he([void 0], r, !1)))();
3317
+ for (var t, n = [], r = 0; r < arguments.length; r++)
3318
+ n[r] = arguments[r];
3319
+ return new ((t = Intl.NumberFormat).bind.apply(t, he([void 0], n, !1)))();
3320
3320
  }, {
3321
- cache: nt(e.number),
3321
+ cache: rt(e.number),
3322
3322
  strategy: tt.variadic
3323
3323
  }),
3324
3324
  getDateTimeFormat: et(function() {
3325
- for (var t, r = [], n = 0; n < arguments.length; n++)
3326
- r[n] = arguments[n];
3327
- return new ((t = Intl.DateTimeFormat).bind.apply(t, he([void 0], r, !1)))();
3325
+ for (var t, n = [], r = 0; r < arguments.length; r++)
3326
+ n[r] = arguments[r];
3327
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, he([void 0], n, !1)))();
3328
3328
  }, {
3329
- cache: nt(e.dateTime),
3329
+ cache: rt(e.dateTime),
3330
3330
  strategy: tt.variadic
3331
3331
  }),
3332
3332
  getPluralRules: et(function() {
3333
- for (var t, r = [], n = 0; n < arguments.length; n++)
3334
- r[n] = arguments[n];
3335
- return new ((t = Intl.PluralRules).bind.apply(t, he([void 0], r, !1)))();
3333
+ for (var t, n = [], r = 0; r < arguments.length; r++)
3334
+ n[r] = arguments[r];
3335
+ return new ((t = Intl.PluralRules).bind.apply(t, he([void 0], n, !1)))();
3336
3336
  }, {
3337
- cache: nt(e.pluralRules),
3337
+ cache: rt(e.pluralRules),
3338
3338
  strategy: tt.variadic
3339
3339
  })
3340
3340
  };
3341
3341
  }
3342
- var ro = (
3342
+ var no = (
3343
3343
  /** @class */
3344
3344
  function() {
3345
- function e(t, r, n, i) {
3346
- r === void 0 && (r = e.defaultLocale);
3345
+ function e(t, n, r, i) {
3346
+ n === void 0 && (n = e.defaultLocale);
3347
3347
  var o = this;
3348
3348
  if (this.formatterCache = {
3349
3349
  number: {},
@@ -3354,7 +3354,7 @@ var ro = (
3354
3354
  if (l.length === 1)
3355
3355
  return l[0].value;
3356
3356
  var c = l.reduce(function(d, f) {
3357
- return !d.length || f.type !== W.literal || typeof d[d.length - 1] != "string" ? d.push(f.value) : d[d.length - 1] += f.value, d;
3357
+ return !d.length || f.type !== G.literal || typeof d[d.length - 1] != "string" ? d.push(f.value) : d[d.length - 1] += f.value, d;
3358
3358
  }, []);
3359
3359
  return c.length <= 1 ? c[0] || "" : c;
3360
3360
  }, this.formatToParts = function(u) {
@@ -3366,7 +3366,7 @@ var ro = (
3366
3366
  };
3367
3367
  }, this.getAst = function() {
3368
3368
  return o.ast;
3369
- }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
3369
+ }, this.locales = n, this.resolvedLocale = e.resolveLocale(n), typeof t == "string") {
3370
3370
  if (this.message = t, !e.__parse)
3371
3371
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3372
3372
  var s = i || {};
@@ -3377,7 +3377,7 @@ var ro = (
3377
3377
  this.ast = t;
3378
3378
  if (!Array.isArray(this.ast))
3379
3379
  throw new TypeError("A message must be provided as a String or AST.");
3380
- this.formats = eo(e.formats, n), this.formatters = i && i.formatters || to(this.formatterCache);
3380
+ this.formats = eo(e.formats, r), this.formatters = i && i.formatters || to(this.formatterCache);
3381
3381
  }
3382
3382
  return Object.defineProperty(e, "defaultLocale", {
3383
3383
  get: function() {
@@ -3387,8 +3387,8 @@ var ro = (
3387
3387
  configurable: !0
3388
3388
  }), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
3389
3389
  if (typeof Intl.Locale != "undefined") {
3390
- var r = Intl.NumberFormat.supportedLocalesOf(t);
3391
- return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3390
+ var n = Intl.NumberFormat.supportedLocalesOf(t);
3391
+ return n.length > 0 ? new Intl.Locale(n[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3392
3392
  }
3393
3393
  }, e.__parse = Zi, e.formats = {
3394
3394
  number: {
@@ -3451,109 +3451,109 @@ var ro = (
3451
3451
  }, e;
3452
3452
  }()
3453
3453
  );
3454
- function no(e, t) {
3454
+ function ro(e, t) {
3455
3455
  if (t == null)
3456
3456
  return;
3457
3457
  if (t in e)
3458
3458
  return e[t];
3459
- const r = t.split(".");
3460
- let n = e;
3461
- for (let i = 0; i < r.length; i++)
3462
- if (typeof n == "object") {
3459
+ const n = t.split(".");
3460
+ let r = e;
3461
+ for (let i = 0; i < n.length; i++)
3462
+ if (typeof r == "object") {
3463
3463
  if (i > 0) {
3464
- const o = r.slice(i, r.length).join(".");
3465
- if (o in n) {
3466
- n = n[o];
3464
+ const o = n.slice(i, n.length).join(".");
3465
+ if (o in r) {
3466
+ r = r[o];
3467
3467
  break;
3468
3468
  }
3469
3469
  }
3470
- n = n[r[i]];
3470
+ r = r[n[i]];
3471
3471
  } else
3472
- n = void 0;
3473
- return n;
3472
+ r = void 0;
3473
+ return r;
3474
3474
  }
3475
- const te = {}, io = (e, t, r) => r && (t in te || (te[t] = {}), e in te[t] || (te[t][e] = r), r), jr = (e, t) => {
3475
+ const ne = {}, io = (e, t, n) => n && (t in ne || (ne[t] = {}), e in ne[t] || (ne[t][e] = n), n), kn = (e, t) => {
3476
3476
  if (t == null)
3477
3477
  return;
3478
- if (t in te && e in te[t])
3479
- return te[t][e];
3480
- const r = ke(t);
3481
- for (let n = 0; n < r.length; n++) {
3482
- const i = r[n], o = so(i, e);
3478
+ if (t in ne && e in ne[t])
3479
+ return ne[t][e];
3480
+ const n = $e(t);
3481
+ for (let r = 0; r < n.length; r++) {
3482
+ const i = n[r], o = so(i, e);
3483
3483
  if (o)
3484
3484
  return io(e, t, o);
3485
3485
  }
3486
3486
  };
3487
- let Tt;
3487
+ let Ht;
3488
3488
  const He = je({});
3489
3489
  function oo(e) {
3490
- return Tt[e] || null;
3490
+ return Ht[e] || null;
3491
3491
  }
3492
- function $r(e) {
3493
- return e in Tt;
3492
+ function $n(e) {
3493
+ return e in Ht;
3494
3494
  }
3495
3495
  function so(e, t) {
3496
- if (!$r(e))
3496
+ if (!$n(e))
3497
3497
  return null;
3498
- const r = oo(e);
3499
- return no(r, t);
3498
+ const n = oo(e);
3499
+ return ro(n, t);
3500
3500
  }
3501
3501
  function ao(e) {
3502
3502
  if (e == null)
3503
3503
  return;
3504
- const t = ke(e);
3505
- for (let r = 0; r < t.length; r++) {
3506
- const n = t[r];
3507
- if ($r(n))
3508
- return n;
3504
+ const t = $e(e);
3505
+ for (let n = 0; n < t.length; n++) {
3506
+ const r = t[n];
3507
+ if ($n(r))
3508
+ return r;
3509
3509
  }
3510
3510
  }
3511
- function kr(e, ...t) {
3512
- delete te[e], He.update((r) => (r[e] = ci.all([r[e] || {}, ...t]), r));
3511
+ function Vn(e, ...t) {
3512
+ delete ne[e], He.update((n) => (n[e] = ci.all([n[e] || {}, ...t]), n));
3513
3513
  }
3514
3514
  be(
3515
3515
  [He],
3516
3516
  ([e]) => Object.keys(e)
3517
3517
  );
3518
- He.subscribe((e) => Tt = e);
3519
- const Ue = {};
3518
+ He.subscribe((e) => Ht = e);
3519
+ const We = {};
3520
3520
  function uo(e, t) {
3521
- Ue[e].delete(t), Ue[e].size === 0 && delete Ue[e];
3521
+ We[e].delete(t), We[e].size === 0 && delete We[e];
3522
3522
  }
3523
- function Vr(e) {
3524
- return Ue[e];
3523
+ function zn(e) {
3524
+ return We[e];
3525
3525
  }
3526
3526
  function lo(e) {
3527
- return ke(e).map((t) => {
3528
- const r = Vr(t);
3529
- return [t, r ? [...r] : []];
3527
+ return $e(e).map((t) => {
3528
+ const n = zn(t);
3529
+ return [t, n ? [...n] : []];
3530
3530
  }).filter(([, t]) => t.length > 0);
3531
3531
  }
3532
3532
  function yt(e) {
3533
- return e == null ? !1 : ke(e).some(
3533
+ return e == null ? !1 : $e(e).some(
3534
3534
  (t) => {
3535
- var r;
3536
- return (r = Vr(t)) == null ? void 0 : r.size;
3535
+ var n;
3536
+ return (n = zn(t)) == null ? void 0 : n.size;
3537
3537
  }
3538
3538
  );
3539
3539
  }
3540
3540
  function ho(e, t) {
3541
3541
  return Promise.all(
3542
- t.map((n) => (uo(e, n), n().then((i) => i.default || i)))
3543
- ).then((n) => kr(e, ...n));
3542
+ t.map((r) => (uo(e, r), r().then((i) => i.default || i)))
3543
+ ).then((r) => Vn(e, ...r));
3544
3544
  }
3545
3545
  const ve = {};
3546
- function Xr(e) {
3546
+ function Xn(e) {
3547
3547
  if (!yt(e))
3548
3548
  return e in ve ? ve[e] : Promise.resolve();
3549
3549
  const t = lo(e);
3550
3550
  return ve[e] = Promise.all(
3551
3551
  t.map(
3552
- ([r, n]) => ho(r, n)
3552
+ ([n, r]) => ho(n, r)
3553
3553
  )
3554
3554
  ).then(() => {
3555
3555
  if (yt(e))
3556
- return Xr(e);
3556
+ return Xn(e);
3557
3557
  delete ve[e];
3558
3558
  }), ve[e];
3559
3559
  }
@@ -3598,138 +3598,138 @@ function pe() {
3598
3598
  return po;
3599
3599
  }
3600
3600
  const it = je(!1);
3601
- var mo = Object.defineProperty, bo = Object.defineProperties, go = Object.getOwnPropertyDescriptors, Kt = Object.getOwnPropertySymbols, yo = Object.prototype.hasOwnProperty, vo = Object.prototype.propertyIsEnumerable, er = (e, t, r) => t in e ? mo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, _o = (e, t) => {
3602
- for (var r in t || (t = {}))
3603
- yo.call(t, r) && er(e, r, t[r]);
3604
- if (Kt)
3605
- for (var r of Kt(t))
3606
- vo.call(t, r) && er(e, r, t[r]);
3601
+ var mo = Object.defineProperty, bo = Object.defineProperties, go = Object.getOwnPropertyDescriptors, en = Object.getOwnPropertySymbols, yo = Object.prototype.hasOwnProperty, vo = Object.prototype.propertyIsEnumerable, tn = (e, t, n) => t in e ? mo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, _o = (e, t) => {
3602
+ for (var n in t || (t = {}))
3603
+ yo.call(t, n) && tn(e, n, t[n]);
3604
+ if (en)
3605
+ for (var n of en(t))
3606
+ vo.call(t, n) && tn(e, n, t[n]);
3607
3607
  return e;
3608
3608
  }, Eo = (e, t) => bo(e, go(t));
3609
3609
  let vt;
3610
- const Ge = je(null);
3611
- function tr(e) {
3612
- return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3610
+ const De = je(null);
3611
+ function nn(e) {
3612
+ return e.split("-").map((t, n, r) => r.slice(0, n + 1).join("-")).reverse();
3613
3613
  }
3614
- function ke(e, t = pe().fallbackLocale) {
3615
- const r = tr(e);
3616
- return t ? [.../* @__PURE__ */ new Set([...r, ...tr(t)])] : r;
3614
+ function $e(e, t = pe().fallbackLocale) {
3615
+ const n = nn(e);
3616
+ return t ? [.../* @__PURE__ */ new Set([...n, ...nn(t)])] : n;
3617
3617
  }
3618
- function ne() {
3618
+ function re() {
3619
3619
  return vt != null ? vt : void 0;
3620
3620
  }
3621
- Ge.subscribe((e) => {
3621
+ De.subscribe((e) => {
3622
3622
  vt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3623
3623
  });
3624
3624
  const xo = (e) => {
3625
3625
  if (e && ao(e) && yt(e)) {
3626
3626
  const { loadingDelay: t } = pe();
3627
- let r;
3628
- return typeof window != "undefined" && ne() != null && t ? r = window.setTimeout(
3627
+ let n;
3628
+ return typeof window != "undefined" && re() != null && t ? n = window.setTimeout(
3629
3629
  () => it.set(!0),
3630
3630
  t
3631
- ) : it.set(!0), Xr(e).then(() => {
3632
- Ge.set(e);
3631
+ ) : it.set(!0), Xn(e).then(() => {
3632
+ De.set(e);
3633
3633
  }).finally(() => {
3634
- clearTimeout(r), it.set(!1);
3634
+ clearTimeout(n), it.set(!1);
3635
3635
  });
3636
3636
  }
3637
- return Ge.set(e);
3638
- }, ge = Eo(_o({}, Ge), {
3637
+ return De.set(e);
3638
+ }, ge = Eo(_o({}, De), {
3639
3639
  set: xo
3640
3640
  }), Ve = (e) => {
3641
3641
  const t = /* @__PURE__ */ Object.create(null);
3642
- return (n) => {
3643
- const i = JSON.stringify(n);
3644
- return i in t ? t[i] : t[i] = e(n);
3642
+ return (r) => {
3643
+ const i = JSON.stringify(r);
3644
+ return i in t ? t[i] : t[i] = e(r);
3645
3645
  };
3646
3646
  };
3647
- var wo = Object.defineProperty, We = Object.getOwnPropertySymbols, zr = Object.prototype.hasOwnProperty, Zr = Object.prototype.propertyIsEnumerable, rr = (e, t, r) => t in e ? wo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ht = (e, t) => {
3648
- for (var r in t || (t = {}))
3649
- zr.call(t, r) && rr(e, r, t[r]);
3650
- if (We)
3651
- for (var r of We(t))
3652
- Zr.call(t, r) && rr(e, r, t[r]);
3647
+ var wo = Object.defineProperty, Ge = Object.getOwnPropertySymbols, Zn = Object.prototype.hasOwnProperty, Qn = Object.prototype.propertyIsEnumerable, rn = (e, t, n) => t in e ? wo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Bt = (e, t) => {
3648
+ for (var n in t || (t = {}))
3649
+ Zn.call(t, n) && rn(e, n, t[n]);
3650
+ if (Ge)
3651
+ for (var n of Ge(t))
3652
+ Qn.call(t, n) && rn(e, n, t[n]);
3653
3653
  return e;
3654
3654
  }, ye = (e, t) => {
3655
- var r = {};
3656
- for (var n in e)
3657
- zr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3658
- if (e != null && We)
3659
- for (var n of We(e))
3660
- t.indexOf(n) < 0 && Zr.call(e, n) && (r[n] = e[n]);
3661
- return r;
3655
+ var n = {};
3656
+ for (var r in e)
3657
+ Zn.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
3658
+ if (e != null && Ge)
3659
+ for (var r of Ge(e))
3660
+ t.indexOf(r) < 0 && Qn.call(e, r) && (n[r] = e[r]);
3661
+ return n;
3662
3662
  };
3663
3663
  const Te = (e, t) => {
3664
- const { formats: r } = pe();
3665
- if (e in r && t in r[e])
3666
- return r[e][t];
3664
+ const { formats: n } = pe();
3665
+ if (e in n && t in n[e])
3666
+ return n[e][t];
3667
3667
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3668
3668
  }, So = Ve(
3669
3669
  (e) => {
3670
- var t = e, { locale: r, format: n } = t, i = ye(t, ["locale", "format"]);
3671
- if (r == null)
3670
+ var t = e, { locale: n, format: r } = t, i = ye(t, ["locale", "format"]);
3671
+ if (n == null)
3672
3672
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3673
- return n && (i = Te("number", n)), new Intl.NumberFormat(r, i);
3673
+ return r && (i = Te("number", r)), new Intl.NumberFormat(n, i);
3674
3674
  }
3675
3675
  ), To = Ve(
3676
3676
  (e) => {
3677
- var t = e, { locale: r, format: n } = t, i = ye(t, ["locale", "format"]);
3678
- if (r == null)
3677
+ var t = e, { locale: n, format: r } = t, i = ye(t, ["locale", "format"]);
3678
+ if (n == null)
3679
3679
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3680
- return n ? i = Te("date", n) : Object.keys(i).length === 0 && (i = Te("date", "short")), new Intl.DateTimeFormat(r, i);
3680
+ return r ? i = Te("date", r) : Object.keys(i).length === 0 && (i = Te("date", "short")), new Intl.DateTimeFormat(n, i);
3681
3681
  }
3682
3682
  ), Ho = Ve(
3683
3683
  (e) => {
3684
- var t = e, { locale: r, format: n } = t, i = ye(t, ["locale", "format"]);
3685
- if (r == null)
3684
+ var t = e, { locale: n, format: r } = t, i = ye(t, ["locale", "format"]);
3685
+ if (n == null)
3686
3686
  throw new Error(
3687
3687
  '[svelte-i18n] A "locale" must be set to format time values'
3688
3688
  );
3689
- return n ? i = Te("time", n) : Object.keys(i).length === 0 && (i = Te("time", "short")), new Intl.DateTimeFormat(r, i);
3689
+ return r ? i = Te("time", r) : Object.keys(i).length === 0 && (i = Te("time", "short")), new Intl.DateTimeFormat(n, i);
3690
3690
  }
3691
3691
  ), Bo = (e = {}) => {
3692
3692
  var t = e, {
3693
- locale: r = ne()
3694
- } = t, n = ye(t, [
3693
+ locale: n = re()
3694
+ } = t, r = ye(t, [
3695
3695
  "locale"
3696
3696
  ]);
3697
- return So(Ht({ locale: r }, n));
3697
+ return So(Bt({ locale: n }, r));
3698
3698
  }, Ao = (e = {}) => {
3699
3699
  var t = e, {
3700
- locale: r = ne()
3701
- } = t, n = ye(t, [
3700
+ locale: n = re()
3701
+ } = t, r = ye(t, [
3702
3702
  "locale"
3703
3703
  ]);
3704
- return To(Ht({ locale: r }, n));
3704
+ return To(Bt({ locale: n }, r));
3705
3705
  }, Co = (e = {}) => {
3706
3706
  var t = e, {
3707
- locale: r = ne()
3708
- } = t, n = ye(t, [
3707
+ locale: n = re()
3708
+ } = t, r = ye(t, [
3709
3709
  "locale"
3710
3710
  ]);
3711
- return Ho(Ht({ locale: r }, n));
3711
+ return Ho(Bt({ locale: n }, r));
3712
3712
  }, Po = Ve(
3713
3713
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3714
- (e, t = ne()) => new ro(e, t, pe().formats, {
3714
+ (e, t = re()) => new no(e, t, pe().formats, {
3715
3715
  ignoreTag: pe().ignoreTag
3716
3716
  })
3717
3717
  ), Oo = (e, t = {}) => {
3718
- var r, n, i, o;
3718
+ var n, r, i, o;
3719
3719
  let s = t;
3720
3720
  typeof e == "object" && (s = e, e = s.id);
3721
3721
  const {
3722
3722
  values: a,
3723
- locale: u = ne(),
3723
+ locale: u = re(),
3724
3724
  default: l
3725
3725
  } = s;
3726
3726
  if (u == null)
3727
3727
  throw new Error(
3728
3728
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3729
3729
  );
3730
- let c = jr(e, u);
3730
+ let c = kn(e, u);
3731
3731
  if (!c)
3732
- c = (o = (i = (n = (r = pe()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
3732
+ c = (o = (i = (r = (n = pe()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
3733
3733
  else if (typeof c != "string")
3734
3734
  return console.warn(
3735
3735
  `[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.`
@@ -3746,144 +3746,163 @@ const Te = (e, t) => {
3746
3746
  );
3747
3747
  }
3748
3748
  return d;
3749
- }, Io = (e, t) => Co(t).format(e), No = (e, t) => Ao(t).format(e), Mo = (e, t) => Bo(t).format(e), Lo = (e, t = ne()) => jr(e, t), Ro = be([ge, He], () => Oo);
3749
+ }, Mo = (e, t) => Co(t).format(e), Io = (e, t) => Ao(t).format(e), No = (e, t) => Bo(t).format(e), Lo = (e, t = re()) => kn(e, t), Ro = be([ge, He], () => Oo);
3750
+ be([ge], () => Mo);
3750
3751
  be([ge], () => Io);
3751
3752
  be([ge], () => No);
3752
- be([ge], () => Mo);
3753
3753
  be([ge, He], () => Lo);
3754
- function nr(e, t) {
3755
- kr(e, t);
3754
+ function on(e, t) {
3755
+ Vn(e, t);
3756
3756
  }
3757
- function Uo(e) {
3757
+ function Wo(e) {
3758
3758
  ge.set(e);
3759
3759
  }
3760
- const ir = {
3760
+ const sn = {
3761
3761
  en: {
3762
3762
  recentWinners: "Recent Winners",
3763
3763
  topWinners: "Top Winners",
3764
- won: "just won"
3764
+ won: "just won",
3765
+ noWinnersMessage: "Currently there are no winners."
3765
3766
  },
3766
3767
  "zh-hk": {
3767
3768
  recentWinners: "最近的获奖者",
3768
3769
  topWinners: "最佳获奖者",
3769
- won: "刚赢"
3770
+ won: "刚赢",
3771
+ noWinnersMessage: "現在暫時沒有贏家!"
3770
3772
  },
3771
3773
  de: {
3772
3774
  recentWinners: "Kürzliche Gewinner",
3773
3775
  topWinners: "Top Gewinner",
3774
- won: "Eben gewonnen"
3776
+ won: "Eben gewonnen",
3777
+ noWinnersMessage: "Zurzeit gibt es keine Gewinner!"
3775
3778
  },
3776
3779
  it: {
3777
3780
  recentWinners: "Recent Winners",
3778
3781
  topWinners: "Top Winners",
3779
- won: "just won"
3782
+ won: "just won",
3783
+ noWinnersMessage: "Non ci sono vincitori al momento!"
3780
3784
  },
3781
3785
  fr: {
3782
3786
  recentWinners: "Gagnants récents",
3783
3787
  topWinners: "Meilleurs gagnants",
3784
- won: "vient de gagner"
3788
+ won: "vient de gagner",
3789
+ noWinnersMessage: "Il n’y a pas de gagnants pour le moment !"
3785
3790
  },
3786
3791
  es: {
3787
3792
  recentWinners: "Ganadores Recientes",
3788
3793
  topWinners: "Ganadores Top",
3789
- won: "Últimos Ganadores"
3794
+ won: "Últimos Ganadores",
3795
+ noWinnersMessage: "No hay ganadores en este momento."
3790
3796
  },
3791
3797
  el: {
3792
3798
  recentWinners: "Πρόσφατοι νικητές",
3793
3799
  topWinners: "Κορυφαίοι νικητές",
3794
- won: "μόλις κέρδισε"
3800
+ won: "μόλις κέρδισε",
3801
+ noWinnersMessage: "Δεν υπάρχουν νικητές αυτή τη στιγμή!"
3795
3802
  },
3796
3803
  tr: {
3797
3804
  recentWinners: "Son Kazananlar",
3798
3805
  topWinners: "En Çok Kazananlar",
3799
- won: "Sadece kazandı"
3806
+ won: "Sadece kazandı",
3807
+ noWinnersMessage: "Şu anda kazanan yok!"
3800
3808
  },
3801
3809
  ru: {
3802
3810
  recentWinners: "Recent Winners",
3803
3811
  topWinners: "Top Winners",
3804
- won: "just won"
3812
+ won: "just won",
3813
+ noWinnersMessage: "В данный момент нет победителей!"
3805
3814
  },
3806
3815
  ro: {
3807
3816
  recentWinners: "Ultimii câștigători",
3808
3817
  topWinners: "Câștigători de top",
3809
- won: "tocmai a câștigat"
3818
+ won: "tocmai a câștigat",
3819
+ noWinnersMessage: "Nu există câștigători în acest moment!"
3810
3820
  },
3811
3821
  hr: {
3812
3822
  recentWinners: "Nedavni dobitnici",
3813
3823
  topWinners: "Top dobitnici",
3814
- won: "upravo osvojio"
3824
+ won: "upravo osvojio",
3825
+ noWinnersMessage: "Trenutno nema pobjednika!"
3815
3826
  },
3816
3827
  hu: {
3817
3828
  recentWinners: "Legutóbbi nyertesek",
3818
3829
  topWinners: "Top nyertesek",
3819
- won: "Nyert"
3830
+ won: "Nyert",
3831
+ noWinnersMessage: "Jelenleg nincsenek nyertesek!"
3820
3832
  },
3821
3833
  pl: {
3822
3834
  recentWinners: "Recent Winners",
3823
3835
  topWinners: "Top Winners",
3824
- won: "just won"
3836
+ won: "just won",
3837
+ noWinnersMessage: "There are no winners at the moment!"
3825
3838
  },
3826
3839
  pt: {
3827
3840
  recentWinners: "Recent Winners",
3828
3841
  topWinners: "Top Winners",
3829
- won: "just won"
3842
+ won: "just won",
3843
+ noWinnersMessage: "Obecnie nie ma żadnych zwycięzców!"
3830
3844
  },
3831
3845
  sl: {
3832
3846
  recentWinners: "Recent Winners",
3833
3847
  topWinners: "Top Winners",
3834
- won: "just won"
3848
+ won: "just won",
3849
+ noWinnersMessage: "Trenutno nema pobednika!"
3835
3850
  },
3836
3851
  sr: {
3837
3852
  recentWinners: "Recent Winners",
3838
3853
  topWinners: "Top Winners",
3839
- won: "just won"
3854
+ won: "just won",
3855
+ noWinnersMessage: "There are no winners at the moment!"
3840
3856
  },
3841
3857
  "pt-br": {
3842
3858
  recentWinners: "Vencedores recentes",
3843
3859
  topWinners: "Principais vencedores",
3844
- won: "acabei de ganhar"
3860
+ won: "acabei de ganhar",
3861
+ noWinnersMessage: "Não há vencedores no momento!"
3845
3862
  },
3846
3863
  "es-mx": {
3847
3864
  recentWinners: "Ganadores recientes",
3848
3865
  topWinners: "Mejores Ganadores",
3849
- won: "recién gano"
3866
+ won: "recién gano",
3867
+ noWinnersMessage: "No hay ganadores en este momento."
3850
3868
  },
3851
3869
  "en-us": {
3852
3870
  recentWinners: "Recent Winners",
3853
3871
  topWinners: "Top Winners",
3854
- won: "just won"
3872
+ won: "just won",
3873
+ noWinnersMessage: "Currently there are no winners."
3855
3874
  }
3856
3875
  };
3857
3876
  function q(e) {
3858
3877
  return typeof e == "function";
3859
3878
  }
3860
- function Qr(e) {
3861
- var t = function(n) {
3862
- Error.call(n), n.stack = new Error().stack;
3863
- }, r = e(t);
3864
- return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
3865
- }
3866
- var ot = Qr(function(e) {
3867
- return function(r) {
3868
- e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
3869
- ` + r.map(function(n, i) {
3870
- return i + 1 + ") " + n.toString();
3879
+ function Jn(e) {
3880
+ var t = function(r) {
3881
+ Error.call(r), r.stack = new Error().stack;
3882
+ }, n = e(t);
3883
+ return n.prototype = Object.create(Error.prototype), n.prototype.constructor = n, n;
3884
+ }
3885
+ var ot = Jn(function(e) {
3886
+ return function(n) {
3887
+ e(this), this.message = n ? n.length + ` errors occurred during unsubscription:
3888
+ ` + n.map(function(r, i) {
3889
+ return i + 1 + ") " + r.toString();
3871
3890
  }).join(`
3872
- `) : "", this.name = "UnsubscriptionError", this.errors = r;
3891
+ `) : "", this.name = "UnsubscriptionError", this.errors = n;
3873
3892
  };
3874
3893
  });
3875
3894
  function _t(e, t) {
3876
3895
  if (e) {
3877
- var r = e.indexOf(t);
3878
- 0 <= r && e.splice(r, 1);
3896
+ var n = e.indexOf(t);
3897
+ 0 <= n && e.splice(n, 1);
3879
3898
  }
3880
3899
  }
3881
- var Xe = function() {
3900
+ var ze = function() {
3882
3901
  function e(t) {
3883
3902
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
3884
3903
  }
3885
3904
  return e.prototype.unsubscribe = function() {
3886
- var t, r, n, i, o;
3905
+ var t, n, r, i, o;
3887
3906
  if (!this.closed) {
3888
3907
  this.closed = !0;
3889
3908
  var s = this._parentage;
@@ -3898,7 +3917,7 @@ var Xe = function() {
3898
3917
  t = { error: b };
3899
3918
  } finally {
3900
3919
  try {
3901
- u && !u.done && (r = a.return) && r.call(a);
3920
+ u && !u.done && (n = a.return) && n.call(a);
3902
3921
  } finally {
3903
3922
  if (t) throw t.error;
3904
3923
  }
@@ -3916,21 +3935,21 @@ var Xe = function() {
3916
3935
  if (d) {
3917
3936
  this._finalizers = null;
3918
3937
  try {
3919
- for (var f = ht(d), p = f.next(); !p.done; p = f.next()) {
3920
- var y = p.value;
3938
+ for (var f = ht(d), m = f.next(); !m.done; m = f.next()) {
3939
+ var y = m.value;
3921
3940
  try {
3922
- or(y);
3941
+ an(y);
3923
3942
  } catch (b) {
3924
3943
  o = o != null ? o : [], b instanceof ot ? o = he(he([], ct(o)), ct(b.errors)) : o.push(b);
3925
3944
  }
3926
3945
  }
3927
3946
  } catch (b) {
3928
- n = { error: b };
3947
+ r = { error: b };
3929
3948
  } finally {
3930
3949
  try {
3931
- p && !p.done && (i = f.return) && i.call(f);
3950
+ m && !m.done && (i = f.return) && i.call(f);
3932
3951
  } finally {
3933
- if (n) throw n.error;
3952
+ if (r) throw r.error;
3934
3953
  }
3935
3954
  }
3936
3955
  }
@@ -3938,52 +3957,52 @@ var Xe = function() {
3938
3957
  throw new ot(o);
3939
3958
  }
3940
3959
  }, e.prototype.add = function(t) {
3941
- var r;
3960
+ var n;
3942
3961
  if (t && t !== this)
3943
3962
  if (this.closed)
3944
- or(t);
3963
+ an(t);
3945
3964
  else {
3946
3965
  if (t instanceof e) {
3947
3966
  if (t.closed || t._hasParent(this))
3948
3967
  return;
3949
3968
  t._addParent(this);
3950
3969
  }
3951
- (this._finalizers = (r = this._finalizers) !== null && r !== void 0 ? r : []).push(t);
3970
+ (this._finalizers = (n = this._finalizers) !== null && n !== void 0 ? n : []).push(t);
3952
3971
  }
3953
3972
  }, e.prototype._hasParent = function(t) {
3954
- var r = this._parentage;
3955
- return r === t || Array.isArray(r) && r.includes(t);
3973
+ var n = this._parentage;
3974
+ return n === t || Array.isArray(n) && n.includes(t);
3956
3975
  }, e.prototype._addParent = function(t) {
3957
- var r = this._parentage;
3958
- this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
3976
+ var n = this._parentage;
3977
+ this._parentage = Array.isArray(n) ? (n.push(t), n) : n ? [n, t] : t;
3959
3978
  }, e.prototype._removeParent = function(t) {
3960
- var r = this._parentage;
3961
- r === t ? this._parentage = null : Array.isArray(r) && _t(r, t);
3979
+ var n = this._parentage;
3980
+ n === t ? this._parentage = null : Array.isArray(n) && _t(n, t);
3962
3981
  }, e.prototype.remove = function(t) {
3963
- var r = this._finalizers;
3964
- r && _t(r, t), t instanceof e && t._removeParent(this);
3982
+ var n = this._finalizers;
3983
+ n && _t(n, t), t instanceof e && t._removeParent(this);
3965
3984
  }, e.EMPTY = function() {
3966
3985
  var t = new e();
3967
3986
  return t.closed = !0, t;
3968
3987
  }(), e;
3969
- }(), Jr = Xe.EMPTY;
3970
- function Yr(e) {
3971
- return e instanceof Xe || e && "closed" in e && q(e.remove) && q(e.add) && q(e.unsubscribe);
3988
+ }(), Yn = ze.EMPTY;
3989
+ function qn(e) {
3990
+ return e instanceof ze || e && "closed" in e && q(e.remove) && q(e.add) && q(e.unsubscribe);
3972
3991
  }
3973
- function or(e) {
3992
+ function an(e) {
3974
3993
  q(e) ? e() : e.unsubscribe();
3975
3994
  }
3976
- var qr = {
3995
+ var Kn = {
3977
3996
  onUnhandledError: null,
3978
3997
  onStoppedNotification: null,
3979
3998
  Promise: void 0,
3980
3999
  useDeprecatedSynchronousErrorHandling: !1,
3981
4000
  useDeprecatedNextContext: !1
3982
- }, Do = {
4001
+ }, Uo = {
3983
4002
  setTimeout: function(e, t) {
3984
- for (var r = [], n = 2; n < arguments.length; n++)
3985
- r[n - 2] = arguments[n];
3986
- return setTimeout.apply(void 0, he([e, t], ct(r)));
4003
+ for (var n = [], r = 2; r < arguments.length; r++)
4004
+ n[r - 2] = arguments[r];
4005
+ return setTimeout.apply(void 0, he([e, t], ct(n)));
3987
4006
  },
3988
4007
  clearTimeout: function(e) {
3989
4008
  return clearTimeout(e);
@@ -3991,36 +4010,36 @@ var qr = {
3991
4010
  delegate: void 0
3992
4011
  };
3993
4012
  function Fo(e) {
3994
- Do.setTimeout(function() {
4013
+ Uo.setTimeout(function() {
3995
4014
  throw e;
3996
4015
  });
3997
4016
  }
3998
- function sr() {
4017
+ function un() {
3999
4018
  }
4000
- function De(e) {
4019
+ function Ue(e) {
4001
4020
  e();
4002
4021
  }
4003
- var Kr = function(e) {
4022
+ var er = function(e) {
4004
4023
  K(t, e);
4005
- function t(r) {
4006
- var n = e.call(this) || this;
4007
- return n.isStopped = !1, r ? (n.destination = r, Yr(r) && r.add(n)) : n.destination = $o, n;
4024
+ function t(n) {
4025
+ var r = e.call(this) || this;
4026
+ return r.isStopped = !1, n ? (r.destination = n, qn(n) && n.add(r)) : r.destination = ko, r;
4008
4027
  }
4009
- return t.create = function(r, n, i) {
4010
- return new Et(r, n, i);
4011
- }, t.prototype.next = function(r) {
4012
- this.isStopped || this._next(r);
4013
- }, t.prototype.error = function(r) {
4014
- this.isStopped || (this.isStopped = !0, this._error(r));
4028
+ return t.create = function(n, r, i) {
4029
+ return new Et(n, r, i);
4030
+ }, t.prototype.next = function(n) {
4031
+ this.isStopped || this._next(n);
4032
+ }, t.prototype.error = function(n) {
4033
+ this.isStopped || (this.isStopped = !0, this._error(n));
4015
4034
  }, t.prototype.complete = function() {
4016
4035
  this.isStopped || (this.isStopped = !0, this._complete());
4017
4036
  }, t.prototype.unsubscribe = function() {
4018
4037
  this.closed || (this.isStopped = !0, e.prototype.unsubscribe.call(this), this.destination = null);
4019
- }, t.prototype._next = function(r) {
4020
- this.destination.next(r);
4021
- }, t.prototype._error = function(r) {
4038
+ }, t.prototype._next = function(n) {
4039
+ this.destination.next(n);
4040
+ }, t.prototype._error = function(n) {
4022
4041
  try {
4023
- this.destination.error(r);
4042
+ this.destination.error(n);
4024
4043
  } finally {
4025
4044
  this.unsubscribe();
4026
4045
  }
@@ -4031,111 +4050,111 @@ var Kr = function(e) {
4031
4050
  this.unsubscribe();
4032
4051
  }
4033
4052
  }, t;
4034
- }(Xe), Go = Function.prototype.bind;
4053
+ }(ze), Do = Function.prototype.bind;
4035
4054
  function st(e, t) {
4036
- return Go.call(e, t);
4055
+ return Do.call(e, t);
4037
4056
  }
4038
- var Wo = function() {
4057
+ var Go = function() {
4039
4058
  function e(t) {
4040
4059
  this.partialObserver = t;
4041
4060
  }
4042
4061
  return e.prototype.next = function(t) {
4043
- var r = this.partialObserver;
4044
- if (r.next)
4062
+ var n = this.partialObserver;
4063
+ if (n.next)
4045
4064
  try {
4046
- r.next(t);
4047
- } catch (n) {
4048
- Me(n);
4065
+ n.next(t);
4066
+ } catch (r) {
4067
+ Ne(r);
4049
4068
  }
4050
4069
  }, e.prototype.error = function(t) {
4051
- var r = this.partialObserver;
4052
- if (r.error)
4070
+ var n = this.partialObserver;
4071
+ if (n.error)
4053
4072
  try {
4054
- r.error(t);
4055
- } catch (n) {
4056
- Me(n);
4073
+ n.error(t);
4074
+ } catch (r) {
4075
+ Ne(r);
4057
4076
  }
4058
4077
  else
4059
- Me(t);
4078
+ Ne(t);
4060
4079
  }, e.prototype.complete = function() {
4061
4080
  var t = this.partialObserver;
4062
4081
  if (t.complete)
4063
4082
  try {
4064
4083
  t.complete();
4065
- } catch (r) {
4066
- Me(r);
4084
+ } catch (n) {
4085
+ Ne(n);
4067
4086
  }
4068
4087
  }, e;
4069
4088
  }(), Et = function(e) {
4070
4089
  K(t, e);
4071
- function t(r, n, i) {
4090
+ function t(n, r, i) {
4072
4091
  var o = e.call(this) || this, s;
4073
- if (q(r) || !r)
4092
+ if (q(n) || !n)
4074
4093
  s = {
4075
- next: r != null ? r : void 0,
4076
- error: n != null ? n : void 0,
4094
+ next: n != null ? n : void 0,
4095
+ error: r != null ? r : void 0,
4077
4096
  complete: i != null ? i : void 0
4078
4097
  };
4079
4098
  else {
4080
4099
  var a;
4081
- o && qr.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
4100
+ o && Kn.useDeprecatedNextContext ? (a = Object.create(n), a.unsubscribe = function() {
4082
4101
  return o.unsubscribe();
4083
4102
  }, s = {
4084
- next: r.next && st(r.next, a),
4085
- error: r.error && st(r.error, a),
4086
- complete: r.complete && st(r.complete, a)
4087
- }) : s = r;
4103
+ next: n.next && st(n.next, a),
4104
+ error: n.error && st(n.error, a),
4105
+ complete: n.complete && st(n.complete, a)
4106
+ }) : s = n;
4088
4107
  }
4089
- return o.destination = new Wo(s), o;
4108
+ return o.destination = new Go(s), o;
4090
4109
  }
4091
4110
  return t;
4092
- }(Kr);
4093
- function Me(e) {
4111
+ }(er);
4112
+ function Ne(e) {
4094
4113
  Fo(e);
4095
4114
  }
4096
4115
  function jo(e) {
4097
4116
  throw e;
4098
4117
  }
4099
- var $o = {
4118
+ var ko = {
4100
4119
  closed: !0,
4101
- next: sr,
4120
+ next: un,
4102
4121
  error: jo,
4103
- complete: sr
4104
- }, ko = function() {
4122
+ complete: un
4123
+ }, $o = function() {
4105
4124
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
4106
4125
  }();
4107
4126
  function Vo(e) {
4108
4127
  return e;
4109
4128
  }
4110
- function Xo(e) {
4111
- return e.length === 0 ? Vo : e.length === 1 ? e[0] : function(r) {
4112
- return e.reduce(function(n, i) {
4113
- return i(n);
4114
- }, r);
4129
+ function zo(e) {
4130
+ return e.length === 0 ? Vo : e.length === 1 ? e[0] : function(n) {
4131
+ return e.reduce(function(r, i) {
4132
+ return i(r);
4133
+ }, n);
4115
4134
  };
4116
4135
  }
4117
- var ar = function() {
4136
+ var ln = function() {
4118
4137
  function e(t) {
4119
4138
  t && (this._subscribe = t);
4120
4139
  }
4121
4140
  return e.prototype.lift = function(t) {
4122
- var r = new e();
4123
- return r.source = this, r.operator = t, r;
4124
- }, e.prototype.subscribe = function(t, r, n) {
4125
- var i = this, o = Zo(t) ? t : new Et(t, r, n);
4126
- return De(function() {
4141
+ var n = new e();
4142
+ return n.source = this, n.operator = t, n;
4143
+ }, e.prototype.subscribe = function(t, n, r) {
4144
+ var i = this, o = Zo(t) ? t : new Et(t, n, r);
4145
+ return Ue(function() {
4127
4146
  var s = i, a = s.operator, u = s.source;
4128
4147
  o.add(a ? a.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
4129
4148
  }), o;
4130
4149
  }, e.prototype._trySubscribe = function(t) {
4131
4150
  try {
4132
4151
  return this._subscribe(t);
4133
- } catch (r) {
4134
- t.error(r);
4152
+ } catch (n) {
4153
+ t.error(n);
4135
4154
  }
4136
- }, e.prototype.forEach = function(t, r) {
4137
- var n = this;
4138
- return r = ur(r), new r(function(i, o) {
4155
+ }, e.prototype.forEach = function(t, n) {
4156
+ var r = this;
4157
+ return n = hn(n), new n(function(i, o) {
4139
4158
  var s = new Et({
4140
4159
  next: function(a) {
4141
4160
  try {
@@ -4147,69 +4166,69 @@ var ar = function() {
4147
4166
  error: o,
4148
4167
  complete: i
4149
4168
  });
4150
- n.subscribe(s);
4169
+ r.subscribe(s);
4151
4170
  });
4152
4171
  }, e.prototype._subscribe = function(t) {
4153
- var r;
4154
- return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
4155
- }, e.prototype[ko] = function() {
4172
+ var n;
4173
+ return (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(t);
4174
+ }, e.prototype[$o] = function() {
4156
4175
  return this;
4157
4176
  }, e.prototype.pipe = function() {
4158
- for (var t = [], r = 0; r < arguments.length; r++)
4159
- t[r] = arguments[r];
4160
- return Xo(t)(this);
4177
+ for (var t = [], n = 0; n < arguments.length; n++)
4178
+ t[n] = arguments[n];
4179
+ return zo(t)(this);
4161
4180
  }, e.prototype.toPromise = function(t) {
4162
- var r = this;
4163
- return t = ur(t), new t(function(n, i) {
4181
+ var n = this;
4182
+ return t = hn(t), new t(function(r, i) {
4164
4183
  var o;
4165
- r.subscribe(function(s) {
4184
+ n.subscribe(function(s) {
4166
4185
  return o = s;
4167
4186
  }, function(s) {
4168
4187
  return i(s);
4169
4188
  }, function() {
4170
- return n(o);
4189
+ return r(o);
4171
4190
  });
4172
4191
  });
4173
4192
  }, e.create = function(t) {
4174
4193
  return new e(t);
4175
4194
  }, e;
4176
4195
  }();
4177
- function ur(e) {
4196
+ function hn(e) {
4178
4197
  var t;
4179
- return (t = e != null ? e : qr.Promise) !== null && t !== void 0 ? t : Promise;
4198
+ return (t = e != null ? e : Kn.Promise) !== null && t !== void 0 ? t : Promise;
4180
4199
  }
4181
- function zo(e) {
4200
+ function Xo(e) {
4182
4201
  return e && q(e.next) && q(e.error) && q(e.complete);
4183
4202
  }
4184
4203
  function Zo(e) {
4185
- return e && e instanceof Kr || zo(e) && Yr(e);
4204
+ return e && e instanceof er || Xo(e) && qn(e);
4186
4205
  }
4187
- var Qo = Qr(function(e) {
4206
+ var Qo = Jn(function(e) {
4188
4207
  return function() {
4189
4208
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
4190
4209
  };
4191
- }), en = function(e) {
4210
+ }), tr = function(e) {
4192
4211
  K(t, e);
4193
4212
  function t() {
4194
- var r = e.call(this) || this;
4195
- return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
4213
+ var n = e.call(this) || this;
4214
+ return n.closed = !1, n.currentObservers = null, n.observers = [], n.isStopped = !1, n.hasError = !1, n.thrownError = null, n;
4196
4215
  }
4197
- return t.prototype.lift = function(r) {
4198
- var n = new lr(this, this);
4199
- return n.operator = r, n;
4216
+ return t.prototype.lift = function(n) {
4217
+ var r = new cn(this, this);
4218
+ return r.operator = n, r;
4200
4219
  }, t.prototype._throwIfClosed = function() {
4201
4220
  if (this.closed)
4202
4221
  throw new Qo();
4203
- }, t.prototype.next = function(r) {
4204
- var n = this;
4205
- De(function() {
4222
+ }, t.prototype.next = function(n) {
4223
+ var r = this;
4224
+ Ue(function() {
4206
4225
  var i, o;
4207
- if (n._throwIfClosed(), !n.isStopped) {
4208
- n.currentObservers || (n.currentObservers = Array.from(n.observers));
4226
+ if (r._throwIfClosed(), !r.isStopped) {
4227
+ r.currentObservers || (r.currentObservers = Array.from(r.observers));
4209
4228
  try {
4210
- for (var s = ht(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
4229
+ for (var s = ht(r.currentObservers), a = s.next(); !a.done; a = s.next()) {
4211
4230
  var u = a.value;
4212
- u.next(r);
4231
+ u.next(n);
4213
4232
  }
4214
4233
  } catch (l) {
4215
4234
  i = { error: l };
@@ -4222,167 +4241,167 @@ var Qo = Qr(function(e) {
4222
4241
  }
4223
4242
  }
4224
4243
  });
4225
- }, t.prototype.error = function(r) {
4226
- var n = this;
4227
- De(function() {
4228
- if (n._throwIfClosed(), !n.isStopped) {
4229
- n.hasError = n.isStopped = !0, n.thrownError = r;
4230
- for (var i = n.observers; i.length; )
4231
- i.shift().error(r);
4244
+ }, t.prototype.error = function(n) {
4245
+ var r = this;
4246
+ Ue(function() {
4247
+ if (r._throwIfClosed(), !r.isStopped) {
4248
+ r.hasError = r.isStopped = !0, r.thrownError = n;
4249
+ for (var i = r.observers; i.length; )
4250
+ i.shift().error(n);
4232
4251
  }
4233
4252
  });
4234
4253
  }, t.prototype.complete = function() {
4235
- var r = this;
4236
- De(function() {
4237
- if (r._throwIfClosed(), !r.isStopped) {
4238
- r.isStopped = !0;
4239
- for (var n = r.observers; n.length; )
4240
- n.shift().complete();
4254
+ var n = this;
4255
+ Ue(function() {
4256
+ if (n._throwIfClosed(), !n.isStopped) {
4257
+ n.isStopped = !0;
4258
+ for (var r = n.observers; r.length; )
4259
+ r.shift().complete();
4241
4260
  }
4242
4261
  });
4243
4262
  }, t.prototype.unsubscribe = function() {
4244
4263
  this.isStopped = this.closed = !0, this.observers = this.currentObservers = null;
4245
4264
  }, Object.defineProperty(t.prototype, "observed", {
4246
4265
  get: function() {
4247
- var r;
4248
- return ((r = this.observers) === null || r === void 0 ? void 0 : r.length) > 0;
4266
+ var n;
4267
+ return ((n = this.observers) === null || n === void 0 ? void 0 : n.length) > 0;
4249
4268
  },
4250
4269
  enumerable: !1,
4251
4270
  configurable: !0
4252
- }), t.prototype._trySubscribe = function(r) {
4253
- return this._throwIfClosed(), e.prototype._trySubscribe.call(this, r);
4254
- }, t.prototype._subscribe = function(r) {
4255
- return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
4256
- }, t.prototype._innerSubscribe = function(r) {
4257
- var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
4258
- return o || s ? Jr : (this.currentObservers = null, a.push(r), new Xe(function() {
4259
- n.currentObservers = null, _t(a, r);
4271
+ }), t.prototype._trySubscribe = function(n) {
4272
+ return this._throwIfClosed(), e.prototype._trySubscribe.call(this, n);
4273
+ }, t.prototype._subscribe = function(n) {
4274
+ return this._throwIfClosed(), this._checkFinalizedStatuses(n), this._innerSubscribe(n);
4275
+ }, t.prototype._innerSubscribe = function(n) {
4276
+ var r = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
4277
+ return o || s ? Yn : (this.currentObservers = null, a.push(n), new ze(function() {
4278
+ r.currentObservers = null, _t(a, n);
4260
4279
  }));
4261
- }, t.prototype._checkFinalizedStatuses = function(r) {
4262
- var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
4263
- i ? r.error(o) : s && r.complete();
4280
+ }, t.prototype._checkFinalizedStatuses = function(n) {
4281
+ var r = this, i = r.hasError, o = r.thrownError, s = r.isStopped;
4282
+ i ? n.error(o) : s && n.complete();
4264
4283
  }, t.prototype.asObservable = function() {
4265
- var r = new ar();
4266
- return r.source = this, r;
4267
- }, t.create = function(r, n) {
4268
- return new lr(r, n);
4284
+ var n = new ln();
4285
+ return n.source = this, n;
4286
+ }, t.create = function(n, r) {
4287
+ return new cn(n, r);
4269
4288
  }, t;
4270
- }(ar), lr = function(e) {
4289
+ }(ln), cn = function(e) {
4271
4290
  K(t, e);
4272
- function t(r, n) {
4291
+ function t(n, r) {
4273
4292
  var i = e.call(this) || this;
4274
- return i.destination = r, i.source = n, i;
4293
+ return i.destination = n, i.source = r, i;
4275
4294
  }
4276
- return t.prototype.next = function(r) {
4277
- var n, i;
4278
- (i = (n = this.destination) === null || n === void 0 ? void 0 : n.next) === null || i === void 0 || i.call(n, r);
4279
- }, t.prototype.error = function(r) {
4280
- var n, i;
4281
- (i = (n = this.destination) === null || n === void 0 ? void 0 : n.error) === null || i === void 0 || i.call(n, r);
4295
+ return t.prototype.next = function(n) {
4296
+ var r, i;
4297
+ (i = (r = this.destination) === null || r === void 0 ? void 0 : r.next) === null || i === void 0 || i.call(r, n);
4298
+ }, t.prototype.error = function(n) {
4299
+ var r, i;
4300
+ (i = (r = this.destination) === null || r === void 0 ? void 0 : r.error) === null || i === void 0 || i.call(r, n);
4282
4301
  }, t.prototype.complete = function() {
4283
- var r, n;
4284
- (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
4285
- }, t.prototype._subscribe = function(r) {
4286
- var n, i;
4287
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Jr;
4302
+ var n, r;
4303
+ (r = (n = this.destination) === null || n === void 0 ? void 0 : n.complete) === null || r === void 0 || r.call(n);
4304
+ }, t.prototype._subscribe = function(n) {
4305
+ var r, i;
4306
+ return (i = (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(n)) !== null && i !== void 0 ? i : Yn;
4288
4307
  }, t;
4289
- }(en), tn = {
4308
+ }(tr), nr = {
4290
4309
  now: function() {
4291
- return (tn.delegate || Date).now();
4310
+ return (nr.delegate || Date).now();
4292
4311
  },
4293
4312
  delegate: void 0
4294
4313
  }, Jo = function(e) {
4295
4314
  K(t, e);
4296
- function t(r, n, i) {
4297
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = tn);
4315
+ function t(n, r, i) {
4316
+ n === void 0 && (n = 1 / 0), r === void 0 && (r = 1 / 0), i === void 0 && (i = nr);
4298
4317
  var o = e.call(this) || this;
4299
- 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;
4318
+ 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;
4300
4319
  }
4301
- return t.prototype.next = function(r) {
4302
- var n = this, i = n.isStopped, o = n._buffer, s = n._infiniteTimeWindow, a = n._timestampProvider, u = n._windowTime;
4303
- i || (o.push(r), !s && o.push(a.now() + u)), this._trimBuffer(), e.prototype.next.call(this, r);
4304
- }, t.prototype._subscribe = function(r) {
4320
+ return t.prototype.next = function(n) {
4321
+ var r = this, i = r.isStopped, o = r._buffer, s = r._infiniteTimeWindow, a = r._timestampProvider, u = r._windowTime;
4322
+ i || (o.push(n), !s && o.push(a.now() + u)), this._trimBuffer(), e.prototype.next.call(this, n);
4323
+ }, t.prototype._subscribe = function(n) {
4305
4324
  this._throwIfClosed(), this._trimBuffer();
4306
- 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)
4307
- r.next(a[u]);
4308
- return this._checkFinalizedStatuses(r), n;
4325
+ 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)
4326
+ n.next(a[u]);
4327
+ return this._checkFinalizedStatuses(n), r;
4309
4328
  }, t.prototype._trimBuffer = function() {
4310
- var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, s = r._infiniteTimeWindow, a = (s ? 1 : 2) * n;
4311
- if (n < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
4329
+ var n = this, r = n._bufferSize, i = n._timestampProvider, o = n._buffer, s = n._infiniteTimeWindow, a = (s ? 1 : 2) * r;
4330
+ if (r < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
4312
4331
  for (var u = i.now(), l = 0, c = 1; c < o.length && o[c] <= u; c += 2)
4313
4332
  l = c;
4314
4333
  l && o.splice(0, l + 1);
4315
4334
  }
4316
4335
  }, t;
4317
- }(en);
4318
- const hr = [], cr = {}, Yo = (e, t = 0) => {
4319
- if (hr.indexOf(e) == -1) {
4320
- const r = new Jo(t);
4321
- cr[e] = r, hr.push(e);
4336
+ }(tr);
4337
+ const fn = [], dn = {}, Yo = (e, t = 0) => {
4338
+ if (fn.indexOf(e) == -1) {
4339
+ const n = new Jo(t);
4340
+ dn[e] = n, fn.push(e);
4322
4341
  }
4323
- return cr[e];
4342
+ return dn[e];
4324
4343
  };
4325
4344
  window.emWidgets = { topic: Yo };
4326
4345
  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));
4327
4346
  if (typeof window != "undefined") {
4328
4347
  let e = function(t) {
4329
- return function(...r) {
4348
+ return function(...n) {
4330
4349
  try {
4331
- return t.apply(this, r);
4332
- } catch (n) {
4333
- 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"))
4350
+ return t.apply(this, n);
4351
+ } catch (r) {
4352
+ 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"))
4334
4353
  return !1;
4335
- throw n;
4354
+ throw r;
4336
4355
  }
4337
4356
  };
4338
4357
  };
4339
- customElements.define = e(customElements.define), import("./GeneralAnimationLoading-CibGtf83.js").then(({ default: t }) => {
4358
+ customElements.define = e(customElements.define), import("./GeneralAnimationLoading-CGKrRARC.js").then(({ default: t }) => {
4340
4359
  !customElements.get("general-animation-loading") && customElements.define("general-animation-loading", t.element);
4341
4360
  });
4342
4361
  }
4343
4362
  function Ko(e) {
4344
- Cn(e, "svelte-157tecu", "*,*::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, #D0046C));line-height:40px}.WinnersButton:focus{color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));line-height:40px}.WinnersButton.Active{border-bottom:2px solid #D0046C;padding-bottom:10px;color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.WinnersButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));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}.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, #D0046C));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}");
4363
+ Cr(e, "svelte-1x13ubp", "*,*::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, #D0046C));line-height:40px}.WinnersButton:focus{color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));line-height:40px}.WinnersButton.Active{border-bottom:2px solid #D0046C;padding-bottom:10px;color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.WinnersButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));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, #D0046C));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}");
4345
4364
  }
4346
- function fr(e, t, r) {
4347
- const n = e.slice();
4348
- return n[70] = t[r], n;
4365
+ function pn(e, t, n) {
4366
+ const r = e.slice();
4367
+ return r[70] = t[n], r;
4349
4368
  }
4350
- function dr(e, t, r) {
4351
- const n = e.slice();
4352
- return n[73] = t[r], n;
4369
+ function mn(e, t, n) {
4370
+ const r = e.slice();
4371
+ return r[73] = t[n], r;
4353
4372
  }
4354
4373
  function es(e) {
4355
- let t, r, n, i, o, s, a, u, l, c, d, f, p, y, b, P, R, M, T, B = Fe(
4374
+ let t, n, r, i, o, s, a, u, l, c, d, f, m, y, b, O, R, N, T, B = Fe(
4356
4375
  /*tabs*/
4357
4376
  e[17]
4358
4377
  ), x = [];
4359
4378
  for (let g = 0; g < B.length; g += 1)
4360
- x[g] = gr(dr(e, B, g));
4361
- function G(g, N) {
4379
+ x[g] = vn(mn(e, B, g));
4380
+ function D(g, I) {
4362
4381
  return (
4363
4382
  /*isLoadingDelayed*/
4364
- g[18] ? ns : rs
4383
+ g[18] ? rs : ns
4365
4384
  );
4366
4385
  }
4367
- let F = G(e), L = F(e);
4386
+ let F = D(e), L = F(e);
4368
4387
  return {
4369
4388
  c() {
4370
- t = I("div"), r = I("div"), n = I("div");
4389
+ t = P("div"), n = P("div"), r = P("div");
4371
4390
  for (let g = 0; g < x.length; g += 1)
4372
4391
  x[g].c();
4373
- i = Z(), o = I("div"), s = I("button"), a = Ie("svg"), u = Ie("path"), c = Z(), d = I("button"), f = Ie("svg"), p = Ie("path"), P = Z(), L.c(), m(n, "class", "WinnerButtonsContainer"), m(u, "style", l = /*numberOfVisibleSlides*/
4392
+ i = Z(), o = P("div"), s = P("button"), a = Me("svg"), u = Me("path"), c = Z(), d = P("button"), f = Me("svg"), m = Me("path"), O = Z(), L.c(), p(r, "class", "WinnerButtonsContainer"), p(u, "style", l = /*numberOfVisibleSlides*/
4374
4393
  e[12] >= /*winners*/
4375
- e[11].length ? "fill:#F6F6F62E" : ""), m(u, "id", "Path_36"), m(u, "data-name", "Path 36"), m(u, "d", "M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"), m(u, "transform", "translate(14.656 0) rotate(90)"), m(u, "fill", "#fff"), m(a, "id", "Component_46_2"), m(a, "data-name", "Component 46 – 2"), m(a, "xmlns", "http://www.w3.org/2000/svg"), m(a, "width", "15"), m(a, "height", "15"), m(a, "viewBox", "0 0 16 24.656"), m(s, "class", "SliderButton"), m(p, "style", y = /*numberOfVisibleSlides*/
4394
+ e[11].length ? "fill:#F6F6F62E" : ""), p(u, "id", "Path_36"), p(u, "data-name", "Path 36"), p(u, "d", "M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"), p(u, "transform", "translate(14.656 0) rotate(90)"), p(u, "fill", "#fff"), p(a, "id", "Component_46_2"), p(a, "data-name", "Component 46 – 2"), p(a, "xmlns", "http://www.w3.org/2000/svg"), p(a, "width", "15"), p(a, "height", "15"), p(a, "viewBox", "0 0 16 24.656"), p(s, "class", "SliderButton"), p(m, "style", y = /*numberOfVisibleSlides*/
4376
4395
  e[12] >= /*winners*/
4377
- e[11].length ? "fill:#F6F6F62E" : ""), m(p, "id", "Path_36"), m(p, "data-name", "Path 36"), m(p, "d", "M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"), m(p, "transform", "translate(0 24.656) rotate(-90)"), m(p, "fill", "#fff"), m(f, "id", "Component_46_2"), m(f, "data-name", "Component 46 – 2"), m(f, "xmlns", "http://www.w3.org/2000/svg"), m(f, "width", "15"), m(f, "height", "15"), m(f, "viewBox", "0 0 16 24.656"), m(d, "class", "SliderButton"), m(o, "class", b = "ButtonsContainer " + /*enableautoscroll*/
4378
- (e[6] == "true" ? "ButtonsContainerNone" : "")), m(r, "class", "WinnersHeader"), m(t, "class", R = "CasinoWinners " + /*mobile*/
4396
+ e[11].length ? "fill:#F6F6F62E" : ""), p(m, "id", "Path_36"), p(m, "data-name", "Path 36"), p(m, "d", "M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"), p(m, "transform", "translate(0 24.656) rotate(-90)"), p(m, "fill", "#fff"), p(f, "id", "Component_46_2"), p(f, "data-name", "Component 46 – 2"), p(f, "xmlns", "http://www.w3.org/2000/svg"), p(f, "width", "15"), p(f, "height", "15"), p(f, "viewBox", "0 0 16 24.656"), p(d, "class", "SliderButton"), p(o, "class", b = "ButtonsContainer " + /*enableautoscroll*/
4397
+ (e[6] == "true" ? "ButtonsContainerNone" : "")), p(n, "class", "WinnersHeader"), p(t, "class", R = "CasinoWinners " + /*mobile*/
4379
4398
  (e[13] ? "Mobile" : ""));
4380
4399
  },
4381
- m(g, N) {
4382
- X(g, t, N), E(t, r), E(r, n);
4400
+ m(g, I) {
4401
+ $(g, t, I), _(t, n), _(n, r);
4383
4402
  for (let S = 0; S < x.length; S += 1)
4384
- x[S] && x[S].m(n, null);
4385
- E(r, i), E(r, o), E(o, s), E(s, a), E(a, u), E(o, c), E(o, d), E(d, f), E(f, p), E(t, P), L.m(t, null), M || (T = [
4403
+ x[S] && x[S].m(r, null);
4404
+ _(n, i), _(n, o), _(o, s), _(s, a), _(a, u), _(o, c), _(o, d), _(d, f), _(f, m), _(t, O), L.m(t, null), N || (T = [
4386
4405
  xe(
4387
4406
  s,
4388
4407
  "click",
@@ -4395,10 +4414,10 @@ function es(e) {
4395
4414
  /*click_handler_3*/
4396
4415
  e[44]
4397
4416
  )
4398
- ], M = !0);
4417
+ ], N = !0);
4399
4418
  },
4400
- p(g, N) {
4401
- if (N[0] & /*winnersType, istopavailable, toggleTab, $_, tabs, isrecentavailable*/
4419
+ p(g, I) {
4420
+ if (I[0] & /*winnersType, istopavailable, toggleTab, $_, tabs, isrecentavailable*/
4402
4421
  3277827) {
4403
4422
  B = Fe(
4404
4423
  /*tabs*/
@@ -4406,27 +4425,27 @@ function es(e) {
4406
4425
  );
4407
4426
  let S;
4408
4427
  for (S = 0; S < B.length; S += 1) {
4409
- const A = dr(g, B, S);
4410
- x[S] ? x[S].p(A, N) : (x[S] = gr(A), x[S].c(), x[S].m(n, null));
4428
+ const A = mn(g, B, S);
4429
+ x[S] ? x[S].p(A, I) : (x[S] = vn(A), x[S].c(), x[S].m(r, null));
4411
4430
  }
4412
4431
  for (; S < x.length; S += 1)
4413
4432
  x[S].d(1);
4414
4433
  x.length = B.length;
4415
4434
  }
4416
- N[0] & /*numberOfVisibleSlides, winners*/
4435
+ I[0] & /*numberOfVisibleSlides, winners*/
4417
4436
  6144 && l !== (l = /*numberOfVisibleSlides*/
4418
4437
  g[12] >= /*winners*/
4419
- g[11].length ? "fill:#F6F6F62E" : "") && m(u, "style", l), N[0] & /*numberOfVisibleSlides, winners*/
4438
+ g[11].length ? "fill:#F6F6F62E" : "") && p(u, "style", l), I[0] & /*numberOfVisibleSlides, winners*/
4420
4439
  6144 && y !== (y = /*numberOfVisibleSlides*/
4421
4440
  g[12] >= /*winners*/
4422
- g[11].length ? "fill:#F6F6F62E" : "") && m(p, "style", y), N[0] & /*enableautoscroll*/
4441
+ g[11].length ? "fill:#F6F6F62E" : "") && p(m, "style", y), I[0] & /*enableautoscroll*/
4423
4442
  64 && b !== (b = "ButtonsContainer " + /*enableautoscroll*/
4424
- (g[6] == "true" ? "ButtonsContainerNone" : "")) && m(o, "class", b), F === (F = G(g)) && L ? L.p(g, N) : (L.d(1), L = F(g), L && (L.c(), L.m(t, null))), N[0] & /*mobile*/
4443
+ (g[6] == "true" ? "ButtonsContainerNone" : "")) && p(o, "class", b), F === (F = D(g)) && L ? L.p(g, I) : (L.d(1), L = F(g), L && (L.c(), L.m(t, null))), I[0] & /*mobile*/
4425
4444
  8192 && R !== (R = "CasinoWinners " + /*mobile*/
4426
- (g[13] ? "Mobile" : "")) && m(t, "class", R);
4445
+ (g[13] ? "Mobile" : "")) && p(t, "class", R);
4427
4446
  },
4428
4447
  d(g) {
4429
- g && $(t), xr(x, g), L.d(), M = !1, me(T);
4448
+ g && j(t), Sn(x, g), L.d(), N = !1, me(T);
4430
4449
  }
4431
4450
  };
4432
4451
  }
@@ -4434,74 +4453,74 @@ function ts(e) {
4434
4453
  let t;
4435
4454
  return {
4436
4455
  c() {
4437
- t = I("general-animation-loading"), ee(
4456
+ t = P("general-animation-loading"), te(
4438
4457
  t,
4439
4458
  "clientstyling",
4440
4459
  /*clientstyling*/
4441
4460
  e[4]
4442
- ), ee(
4461
+ ), te(
4443
4462
  t,
4444
4463
  "clientstylingurl",
4445
4464
  /*clientstylingurl*/
4446
4465
  e[5]
4447
4466
  );
4448
4467
  },
4449
- m(r, n) {
4450
- X(r, t, n);
4468
+ m(n, r) {
4469
+ $(n, t, r);
4451
4470
  },
4452
- p(r, n) {
4453
- n[0] & /*clientstyling*/
4454
- 16 && ee(
4471
+ p(n, r) {
4472
+ r[0] & /*clientstyling*/
4473
+ 16 && te(
4455
4474
  t,
4456
4475
  "clientstyling",
4457
4476
  /*clientstyling*/
4458
- r[4]
4459
- ), n[0] & /*clientstylingurl*/
4460
- 32 && ee(
4477
+ n[4]
4478
+ ), r[0] & /*clientstylingurl*/
4479
+ 32 && te(
4461
4480
  t,
4462
4481
  "clientstylingurl",
4463
4482
  /*clientstylingurl*/
4464
- r[5]
4483
+ n[5]
4465
4484
  );
4466
4485
  },
4467
- d(r) {
4468
- r && $(t);
4486
+ d(n) {
4487
+ n && j(t);
4469
4488
  }
4470
4489
  };
4471
4490
  }
4472
- function pr(e) {
4473
- let t, r = (
4491
+ function bn(e) {
4492
+ let t, n = (
4474
4493
  /*isrecentavailable*/
4475
- e[0] === "true" && mr(e)
4494
+ e[0] === "true" && gn(e)
4476
4495
  );
4477
4496
  return {
4478
4497
  c() {
4479
- r && r.c(), t = wr();
4498
+ n && n.c(), t = wt();
4480
4499
  },
4481
- m(n, i) {
4482
- r && r.m(n, i), X(n, t, i);
4500
+ m(r, i) {
4501
+ n && n.m(r, i), $(r, t, i);
4483
4502
  },
4484
- p(n, i) {
4503
+ p(r, i) {
4485
4504
  /*isrecentavailable*/
4486
- n[0] === "true" ? r ? r.p(n, i) : (r = mr(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
4505
+ r[0] === "true" ? n ? n.p(r, i) : (n = gn(r), n.c(), n.m(t.parentNode, t)) : n && (n.d(1), n = null);
4487
4506
  },
4488
- d(n) {
4489
- n && $(t), r && r.d(n);
4507
+ d(r) {
4508
+ r && j(t), n && n.d(r);
4490
4509
  }
4491
4510
  };
4492
4511
  }
4493
- function mr(e) {
4494
- let t, r = (
4512
+ function gn(e) {
4513
+ let t, n = (
4495
4514
  /*$_*/
4496
4515
  e[20]("recentWinners") + ""
4497
- ), n, i, o, s;
4516
+ ), r, i, o, s;
4498
4517
  return {
4499
4518
  c() {
4500
- t = I("button"), n = Y(r), m(t, "class", i = "WinnersButton " + /*winnersType*/
4519
+ t = P("button"), r = J(n), p(t, "class", i = "WinnersButton " + /*winnersType*/
4501
4520
  (e[10] == "recent" ? "Active" : ""));
4502
4521
  },
4503
4522
  m(a, u) {
4504
- X(a, t, u), E(t, n), o || (s = xe(
4523
+ $(a, t, u), _(t, r), o || (s = xe(
4505
4524
  t,
4506
4525
  "click",
4507
4526
  /*click_handler*/
@@ -4510,29 +4529,29 @@ function mr(e) {
4510
4529
  },
4511
4530
  p(a, u) {
4512
4531
  u[0] & /*$_*/
4513
- 1048576 && r !== (r = /*$_*/
4514
- a[20]("recentWinners") + "") && re(n, r), u[0] & /*winnersType*/
4532
+ 1048576 && n !== (n = /*$_*/
4533
+ a[20]("recentWinners") + "") && ee(r, n), u[0] & /*winnersType*/
4515
4534
  1024 && i !== (i = "WinnersButton " + /*winnersType*/
4516
- (a[10] == "recent" ? "Active" : "")) && m(t, "class", i);
4535
+ (a[10] == "recent" ? "Active" : "")) && p(t, "class", i);
4517
4536
  },
4518
4537
  d(a) {
4519
- a && $(t), o = !1, s();
4538
+ a && j(t), o = !1, s();
4520
4539
  }
4521
4540
  };
4522
4541
  }
4523
- function br(e) {
4524
- let t, r = (
4542
+ function yn(e) {
4543
+ let t, n = (
4525
4544
  /*$_*/
4526
4545
  e[20]("topWinners") + ""
4527
- ), n, i, o, s, a;
4546
+ ), r, i, o, s, a;
4528
4547
  return {
4529
4548
  c() {
4530
- t = I("button"), n = Y(r), i = Z(), m(t, "class", o = "WinnersButton " + /*winnersType*/
4549
+ t = P("button"), r = J(n), i = Z(), p(t, "class", o = "WinnersButton " + /*winnersType*/
4531
4550
  (e[10] == "top" ? "Active" : "") + " " + /*istopavailable*/
4532
4551
  (e[1] == "false" ? "Off" : ""));
4533
4552
  },
4534
4553
  m(u, l) {
4535
- X(u, t, l), E(t, n), E(t, i), s || (a = xe(
4554
+ $(u, t, l), _(t, r), _(t, i), s || (a = xe(
4536
4555
  t,
4537
4556
  "click",
4538
4557
  /*click_handler_1*/
@@ -4541,125 +4560,169 @@ function br(e) {
4541
4560
  },
4542
4561
  p(u, l) {
4543
4562
  l[0] & /*$_*/
4544
- 1048576 && r !== (r = /*$_*/
4545
- u[20]("topWinners") + "") && re(n, r), l[0] & /*winnersType, istopavailable*/
4563
+ 1048576 && n !== (n = /*$_*/
4564
+ u[20]("topWinners") + "") && ee(r, n), l[0] & /*winnersType, istopavailable*/
4546
4565
  1026 && o !== (o = "WinnersButton " + /*winnersType*/
4547
4566
  (u[10] == "top" ? "Active" : "") + " " + /*istopavailable*/
4548
- (u[1] == "false" ? "Off" : "")) && m(t, "class", o);
4567
+ (u[1] == "false" ? "Off" : "")) && p(t, "class", o);
4549
4568
  },
4550
4569
  d(u) {
4551
- u && $(t), s = !1, a();
4570
+ u && j(t), s = !1, a();
4552
4571
  }
4553
4572
  };
4554
4573
  }
4555
- function gr(e) {
4556
- let t, r, n = (
4574
+ function vn(e) {
4575
+ let t, n, r = (
4557
4576
  /*tab*/
4558
- e[73] == "recent" && pr(e)
4577
+ e[73] == "recent" && bn(e)
4559
4578
  ), i = (
4560
4579
  /*tab*/
4561
- e[73] == "top" && br(e)
4580
+ e[73] == "top" && yn(e)
4562
4581
  );
4563
4582
  return {
4564
4583
  c() {
4565
- n && n.c(), t = Z(), i && i.c(), r = wr();
4584
+ r && r.c(), t = Z(), i && i.c(), n = wt();
4566
4585
  },
4567
4586
  m(o, s) {
4568
- n && n.m(o, s), X(o, t, s), i && i.m(o, s), X(o, r, s);
4587
+ r && r.m(o, s), $(o, t, s), i && i.m(o, s), $(o, n, s);
4569
4588
  },
4570
4589
  p(o, s) {
4571
4590
  /*tab*/
4572
- o[73] == "recent" ? n ? n.p(o, s) : (n = pr(o), n.c(), n.m(t.parentNode, t)) : n && (n.d(1), n = null), /*tab*/
4573
- o[73] == "top" ? i ? i.p(o, s) : (i = br(o), i.c(), i.m(r.parentNode, r)) : i && (i.d(1), i = null);
4591
+ o[73] == "recent" ? r ? r.p(o, s) : (r = bn(o), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null), /*tab*/
4592
+ o[73] == "top" ? i ? i.p(o, s) : (i = yn(o), i.c(), i.m(n.parentNode, n)) : i && (i.d(1), i = null);
4574
4593
  },
4575
4594
  d(o) {
4576
- o && ($(t), $(r)), n && n.d(o), i && i.d(o);
4595
+ o && (j(t), j(n)), r && r.d(o), i && i.d(o);
4577
4596
  }
4578
4597
  };
4579
4598
  }
4580
- function rs(e) {
4581
- let t, r = Fe(
4582
- /*winners*/
4583
- e[11]
4584
- ), n = [];
4585
- for (let i = 0; i < r.length; i += 1)
4586
- n[i] = yr(fr(e, r, i));
4599
+ function ns(e) {
4600
+ let t;
4601
+ function n(o, s) {
4602
+ return (
4603
+ /*winners*/
4604
+ o[11].length !== 0 ? os : is
4605
+ );
4606
+ }
4607
+ let r = n(e), i = r(e);
4587
4608
  return {
4588
4609
  c() {
4589
- t = I("div");
4590
- for (let i = 0; i < n.length; i += 1)
4591
- n[i].c();
4592
- m(t, "class", "WinnersSlider");
4610
+ t = P("div"), i.c(), p(t, "class", "WinnersSlider");
4593
4611
  },
4594
- m(i, o) {
4595
- X(i, t, o);
4596
- for (let s = 0; s < n.length; s += 1)
4597
- n[s] && n[s].m(t, null);
4598
- e[47](t);
4612
+ m(o, s) {
4613
+ $(o, t, s), i.m(t, null), e[47](t);
4599
4614
  },
4600
- p(i, o) {
4601
- if (o[0] & /*addAnimation, winnersGameCard, isLoggedIn, usercurrency, defaultcurrency, winners, $_, maskUsername, openWinnersGame*/
4602
- 14223500) {
4603
- r = Fe(
4604
- /*winners*/
4605
- i[11]
4606
- );
4607
- let s;
4608
- for (s = 0; s < r.length; s += 1) {
4609
- const a = fr(i, r, s);
4610
- n[s] ? n[s].p(a, o) : (n[s] = yr(a), n[s].c(), n[s].m(t, null));
4611
- }
4612
- for (; s < n.length; s += 1)
4613
- n[s].d(1);
4614
- n.length = r.length;
4615
- }
4615
+ p(o, s) {
4616
+ r === (r = n(o)) && i ? i.p(o, s) : (i.d(1), i = r(o), i && (i.c(), i.m(t, null)));
4616
4617
  },
4617
- d(i) {
4618
- i && $(t), xr(n, i), e[47](null);
4618
+ d(o) {
4619
+ o && j(t), i.d(), e[47](null);
4619
4620
  }
4620
4621
  };
4621
4622
  }
4622
- function ns(e) {
4623
+ function rs(e) {
4623
4624
  let t;
4624
4625
  return {
4625
4626
  c() {
4626
- t = I("general-animation-loading"), ee(
4627
+ t = P("general-animation-loading"), te(
4627
4628
  t,
4628
4629
  "clientstyling",
4629
4630
  /*clientstyling*/
4630
4631
  e[4]
4631
- ), ee(
4632
+ ), te(
4632
4633
  t,
4633
4634
  "clientstylingurl",
4634
4635
  /*clientstylingurl*/
4635
4636
  e[5]
4636
4637
  );
4637
4638
  },
4638
- m(r, n) {
4639
- X(r, t, n);
4639
+ m(n, r) {
4640
+ $(n, t, r);
4640
4641
  },
4641
- p(r, n) {
4642
- n[0] & /*clientstyling*/
4643
- 16 && ee(
4642
+ p(n, r) {
4643
+ r[0] & /*clientstyling*/
4644
+ 16 && te(
4644
4645
  t,
4645
4646
  "clientstyling",
4646
4647
  /*clientstyling*/
4647
- r[4]
4648
- ), n[0] & /*clientstylingurl*/
4649
- 32 && ee(
4648
+ n[4]
4649
+ ), r[0] & /*clientstylingurl*/
4650
+ 32 && te(
4650
4651
  t,
4651
4652
  "clientstylingurl",
4652
4653
  /*clientstylingurl*/
4653
- r[5]
4654
+ n[5]
4654
4655
  );
4655
4656
  },
4656
- d(r) {
4657
- r && $(t);
4657
+ d(n) {
4658
+ n && j(t);
4658
4659
  }
4659
4660
  };
4660
4661
  }
4661
- function yr(e) {
4662
- let t, r, n, i, o, s, a, u = (
4662
+ function is(e) {
4663
+ let t, n = (
4664
+ /*$_*/
4665
+ e[20]("noWinnersMessage") + ""
4666
+ ), r;
4667
+ return {
4668
+ c() {
4669
+ t = P("p"), r = J(n), p(t, "class", "NoWinnersMessage");
4670
+ },
4671
+ m(i, o) {
4672
+ $(i, t, o), _(t, r);
4673
+ },
4674
+ p(i, o) {
4675
+ o[0] & /*$_*/
4676
+ 1048576 && n !== (n = /*$_*/
4677
+ i[20]("noWinnersMessage") + "") && ee(r, n);
4678
+ },
4679
+ d(i) {
4680
+ i && j(t);
4681
+ }
4682
+ };
4683
+ }
4684
+ function os(e) {
4685
+ let t, n = Fe(
4686
+ /*winners*/
4687
+ e[11]
4688
+ ), r = [];
4689
+ for (let i = 0; i < n.length; i += 1)
4690
+ r[i] = _n(pn(e, n, i));
4691
+ return {
4692
+ c() {
4693
+ for (let i = 0; i < r.length; i += 1)
4694
+ r[i].c();
4695
+ t = wt();
4696
+ },
4697
+ m(i, o) {
4698
+ for (let s = 0; s < r.length; s += 1)
4699
+ r[s] && r[s].m(i, o);
4700
+ $(i, t, o);
4701
+ },
4702
+ p(i, o) {
4703
+ if (o[0] & /*addAnimation, winnersGameCard, isLoggedIn, usercurrency, defaultcurrency, winners, $_, maskUsername, openWinnersGame*/
4704
+ 14223500) {
4705
+ n = Fe(
4706
+ /*winners*/
4707
+ i[11]
4708
+ );
4709
+ let s;
4710
+ for (s = 0; s < n.length; s += 1) {
4711
+ const a = pn(i, n, s);
4712
+ r[s] ? r[s].p(a, o) : (r[s] = _n(a), r[s].c(), r[s].m(t.parentNode, t));
4713
+ }
4714
+ for (; s < r.length; s += 1)
4715
+ r[s].d(1);
4716
+ r.length = n.length;
4717
+ }
4718
+ },
4719
+ d(i) {
4720
+ i && j(t), Sn(r, i);
4721
+ }
4722
+ };
4723
+ }
4724
+ function _n(e) {
4725
+ let t, n, r, i, o, s, a, u = (
4663
4726
  /*winner*/
4664
4727
  e[70].gameName + ""
4665
4728
  ), l, c, d, f = (
@@ -4668,13 +4731,13 @@ function yr(e) {
4668
4731
  /*winner*/
4669
4732
  e[70].username
4670
4733
  ) + ""
4671
- ), p, y, b, P = (
4734
+ ), m, y, b, O = (
4672
4735
  /*$_*/
4673
4736
  e[20]("won") + ""
4674
- ), R, M, T, B = (
4737
+ ), R, N, T, B = (
4675
4738
  /*winner*/
4676
4739
  e[70].specifiedCurrencyAmount.toFixed(2) + ""
4677
- ), x, G, F, L = (
4740
+ ), x, D, F, L = (
4678
4741
  /*isLoggedIn*/
4679
4742
  (e[7] ? (
4680
4743
  /*usercurrency*/
@@ -4683,8 +4746,8 @@ function yr(e) {
4683
4746
  /*defaultcurrency*/
4684
4747
  e[2]
4685
4748
  )) + ""
4686
- ), g, N, S, A, D;
4687
- function ze() {
4749
+ ), g, I, S, A, U;
4750
+ function Xe() {
4688
4751
  return (
4689
4752
  /*click_handler_4*/
4690
4753
  e[45](
@@ -4695,33 +4758,33 @@ function yr(e) {
4695
4758
  }
4696
4759
  return {
4697
4760
  c() {
4698
- var z, U, J, j;
4699
- t = I("div"), r = I("div"), n = I("img"), s = Z(), a = I("p"), l = Y(u), c = Z(), d = I("p"), p = Y(f), y = Z(), b = I("p"), R = Y(P), M = Z(), T = I("p"), x = Y(B), G = Z(), F = I("span"), g = Y(L), N = Z(), jt(n.src, i = /*winner*/
4700
- (U = (z = e[70]) == null ? void 0 : z.gameModel) == null ? void 0 : U.thumbnail) || m(n, "src", i), m(n, "alt", o = /*winner*/
4701
- (j = (J = e[70]) == null ? void 0 : J.gameModel) == null ? void 0 : j.thumbnail), m(n, "class", "WinnersImage"), m(b, "class", "WinnerUsername"), m(r, "class", "WinnerCard"), m(t, "class", S = "CardWrapper " + /*addAnimation*/
4761
+ var X, W, Y, k;
4762
+ t = P("div"), n = P("div"), r = P("img"), s = Z(), a = P("p"), l = J(u), c = Z(), d = P("p"), m = J(f), y = Z(), b = P("p"), R = J(O), N = Z(), T = P("p"), x = J(B), D = Z(), F = P("span"), g = J(L), I = Z(), kt(r.src, i = /*winner*/
4763
+ (W = (X = e[70]) == null ? void 0 : X.gameModel) == null ? void 0 : W.thumbnail) || p(r, "src", i), p(r, "alt", o = /*winner*/
4764
+ (k = (Y = e[70]) == null ? void 0 : Y.gameModel) == null ? void 0 : k.thumbnail), p(r, "class", "WinnersImage"), p(b, "class", "WinnerUsername"), p(n, "class", "WinnerCard"), p(t, "class", S = "CardWrapper " + /*addAnimation*/
4702
4765
  (e[16] ? "CardWrapperAnimation" : ""));
4703
4766
  },
4704
- m(z, U) {
4705
- X(z, t, U), E(t, r), E(r, n), E(r, s), E(r, a), E(a, l), E(r, c), E(r, d), E(d, p), E(r, y), E(r, b), E(b, R), E(r, M), E(r, T), E(T, x), E(T, G), E(T, F), E(F, g), E(t, N), e[46](t), A || (D = xe(n, "click", ze), A = !0);
4767
+ m(X, W) {
4768
+ $(X, t, W), _(t, n), _(n, r), _(n, s), _(n, a), _(a, l), _(n, c), _(n, d), _(d, m), _(n, y), _(n, b), _(b, R), _(n, N), _(n, T), _(T, x), _(T, D), _(T, F), _(F, g), _(t, I), e[46](t), A || (U = xe(r, "click", Xe), A = !0);
4706
4769
  },
4707
- p(z, U) {
4708
- var J, j, ie, oe;
4709
- e = z, U[0] & /*winners*/
4710
- 2048 && !jt(n.src, i = /*winner*/
4711
- (j = (J = e[70]) == null ? void 0 : J.gameModel) == null ? void 0 : j.thumbnail) && m(n, "src", i), U[0] & /*winners*/
4770
+ p(X, W) {
4771
+ var Y, k, ie, oe;
4772
+ e = X, W[0] & /*winners*/
4773
+ 2048 && !kt(r.src, i = /*winner*/
4774
+ (k = (Y = e[70]) == null ? void 0 : Y.gameModel) == null ? void 0 : k.thumbnail) && p(r, "src", i), W[0] & /*winners*/
4712
4775
  2048 && o !== (o = /*winner*/
4713
- (oe = (ie = e[70]) == null ? void 0 : ie.gameModel) == null ? void 0 : oe.thumbnail) && m(n, "alt", o), U[0] & /*winners*/
4776
+ (oe = (ie = e[70]) == null ? void 0 : ie.gameModel) == null ? void 0 : oe.thumbnail) && p(r, "alt", o), W[0] & /*winners*/
4714
4777
  2048 && u !== (u = /*winner*/
4715
- e[70].gameName + "") && re(l, u), U[0] & /*winners*/
4778
+ e[70].gameName + "") && ee(l, u), W[0] & /*winners*/
4716
4779
  2048 && f !== (f = /*maskUsername*/
4717
4780
  e[22](
4718
4781
  /*winner*/
4719
4782
  e[70].username
4720
- ) + "") && re(p, f), U[0] & /*$_*/
4721
- 1048576 && P !== (P = /*$_*/
4722
- e[20]("won") + "") && re(R, P), U[0] & /*winners*/
4783
+ ) + "") && ee(m, f), W[0] & /*$_*/
4784
+ 1048576 && O !== (O = /*$_*/
4785
+ e[20]("won") + "") && ee(R, O), W[0] & /*winners*/
4723
4786
  2048 && B !== (B = /*winner*/
4724
- e[70].specifiedCurrencyAmount.toFixed(2) + "") && re(x, B), U[0] & /*isLoggedIn, usercurrency, defaultcurrency*/
4787
+ e[70].specifiedCurrencyAmount.toFixed(2) + "") && ee(x, B), W[0] & /*isLoggedIn, usercurrency, defaultcurrency*/
4725
4788
  140 && L !== (L = /*isLoggedIn*/
4726
4789
  (e[7] ? (
4727
4790
  /*usercurrency*/
@@ -4729,72 +4792,72 @@ function yr(e) {
4729
4792
  ) : (
4730
4793
  /*defaultcurrency*/
4731
4794
  e[2]
4732
- )) + "") && re(g, L), U[0] & /*addAnimation*/
4795
+ )) + "") && ee(g, L), W[0] & /*addAnimation*/
4733
4796
  65536 && S !== (S = "CardWrapper " + /*addAnimation*/
4734
- (e[16] ? "CardWrapperAnimation" : "")) && m(t, "class", S);
4797
+ (e[16] ? "CardWrapperAnimation" : "")) && p(t, "class", S);
4735
4798
  },
4736
- d(z) {
4737
- z && $(t), e[46](null), A = !1, D();
4799
+ d(X) {
4800
+ X && j(t), e[46](null), A = !1, U();
4738
4801
  }
4739
4802
  };
4740
4803
  }
4741
- function is(e) {
4804
+ function ss(e) {
4742
4805
  let t;
4743
- function r(o, s) {
4806
+ function n(o, s) {
4744
4807
  return (
4745
4808
  /*isLoading*/
4746
4809
  o[14] || /*isLoadingCustomStyling*/
4747
4810
  o[15] ? ts : es
4748
4811
  );
4749
4812
  }
4750
- let n = r(e), i = n(e);
4813
+ let r = n(e), i = r(e);
4751
4814
  return {
4752
4815
  c() {
4753
- t = I("div"), i.c();
4816
+ t = P("div"), i.c();
4754
4817
  },
4755
4818
  m(o, s) {
4756
- X(o, t, s), i.m(t, null), e[48](t);
4819
+ $(o, t, s), i.m(t, null), e[48](t);
4757
4820
  },
4758
4821
  p(o, s) {
4759
- n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
4822
+ r === (r = n(o)) && i ? i.p(o, s) : (i.d(1), i = r(o), i && (i.c(), i.m(t, null)));
4760
4823
  },
4761
4824
  i: Q,
4762
4825
  o: Q,
4763
4826
  d(o) {
4764
- o && $(t), i.d(), e[48](null);
4827
+ o && j(t), i.d(), e[48](null);
4765
4828
  }
4766
4829
  };
4767
4830
  }
4768
- function os(e, t, r) {
4769
- let n;
4770
- An(e, Ro, (h) => r(20, n = h));
4771
- let { endpoint: i = "" } = t, { session: o = "" } = t, { userid: s = "" } = t, { periodrecent: a = "Today" } = t, { periodtop: u = "Last7Days" } = t, { numberusersrecent: l = "20" } = t, { numberuserstop: c = "20" } = t, { amountlimit: d = "1" } = t, { vendorCategory: f = "All" } = t, { lang: p = "en" } = t, { isrecentavailable: y = "true" } = t, { istopavailable: b = "true" } = t, { defaultcurrency: P = "" } = t, { usercurrency: R = "" } = t, { clientstyling: M = "" } = t, { clientstylingurl: T = "" } = t, { enableautoscroll: B = "" } = t, { tabsorder: x = "" } = t, { translationurl: G = "" } = t, { winnersdatasources: F = "" } = t, { hascustomstyling: L = "false" } = t, g, N, S = [], A = 0, D = 0, ze = window.navigator.userAgent, z, U, J, j, ie = !0, oe = !1, Bt = !1, At, Be, Ze, Ae, Ct = [], Qe = !1, Ce, Pt = 0;
4772
- const nn = () => {
4773
- let h = new URL(G);
4774
- fetch(h.href).then((O) => O.json()).then((O) => {
4775
- Object.keys(O).forEach((k) => {
4776
- nr(k, O[k]);
4831
+ function as(e, t, n) {
4832
+ let r;
4833
+ Ar(e, Ro, (h) => n(20, r = h));
4834
+ let { endpoint: i = "" } = t, { session: o = "" } = t, { userid: s = "" } = t, { periodrecent: a = "Today" } = t, { periodtop: u = "Last7Days" } = t, { numberusersrecent: l = "20" } = t, { numberuserstop: c = "20" } = t, { amountlimit: d = "1" } = t, { vendorCategory: f = "All" } = t, { lang: m = "en" } = t, { isrecentavailable: y = "true" } = t, { istopavailable: b = "true" } = t, { defaultcurrency: O = "" } = t, { usercurrency: R = "" } = t, { clientstyling: N = "" } = t, { clientstylingurl: T = "" } = t, { enableautoscroll: B = "" } = t, { tabsorder: x = "" } = t, { translationurl: D = "" } = t, { winnersdatasources: F = "" } = t, { hascustomstyling: L = "false" } = t, g, I, S = [], A = 0, U = 0, Xe = window.navigator.userAgent, X, W, Y, k, ie = !0, oe = !1, At = !1, Ct, Be, Ze, Ae, Pt = [], Qe = !1, Ce, Ot = 0;
4835
+ const ir = () => {
4836
+ let h = new URL(D);
4837
+ fetch(h.href).then((M) => M.json()).then((M) => {
4838
+ Object.keys(M).forEach((V) => {
4839
+ on(V, M[V]);
4777
4840
  });
4778
- }).catch((O) => {
4779
- console.log(O);
4841
+ }).catch((M) => {
4842
+ console.log(M);
4780
4843
  });
4781
4844
  };
4782
- Object.keys(ir).forEach((h) => {
4783
- nr(h, ir[h]);
4845
+ Object.keys(sn).forEach((h) => {
4846
+ on(h, sn[h]);
4784
4847
  });
4785
- const Ot = () => {
4786
- Ct = F.split(",").map(function(O) {
4787
- return O.trim();
4848
+ const Mt = () => {
4849
+ Pt = F.split(",").map(function(M) {
4850
+ return M.trim();
4788
4851
  });
4789
- const h = new URL(`${i}/v1/casino/${N}-winners`);
4790
- r(18, Qe = !0), h.searchParams.append("limit", N == "recent" ? l : c), h.searchParams.append("specifiedCurrency", Ae), h.searchParams.append("period", N == "recent" ? a : u), h.searchParams.append("language", p), h.searchParams.append("amountLimit", d), h.searchParams.append("vendorCategory", f), Ct.forEach((O) => {
4791
- h.searchParams.append("dataSource", O);
4852
+ const h = new URL(`${i}/v1/casino/${I}-winners`);
4853
+ n(18, Qe = !0), h.searchParams.append("limit", I == "recent" ? l : c), h.searchParams.append("specifiedCurrency", Ae), h.searchParams.append("period", I == "recent" ? a : u), h.searchParams.append("language", m), h.searchParams.append("amountLimit", d), h.searchParams.append("vendorCategory", f), Pt.forEach((M) => {
4854
+ h.searchParams.append("dataSource", M);
4792
4855
  }), setTimeout(
4793
4856
  () => {
4794
- fetch(h.href).then((O) => O.json()).then((O) => {
4795
- r(11, S = []), r(11, S = O.items.map((k) => k)), r(18, Qe = !1), setTimeout(
4857
+ fetch(h.href).then((M) => M.json()).then((M) => {
4858
+ n(11, S = []), n(11, S = M.items.map((V) => V)), n(18, Qe = !1), setTimeout(
4796
4859
  () => {
4797
- an(), Nt(), B == "true" && (clearInterval(Be), sn()), r(14, ie = !1);
4860
+ ar(), Nt(), B == "true" && (clearInterval(Be), sr()), n(14, ie = !1);
4798
4861
  },
4799
4862
  5
4800
4863
  );
@@ -4803,139 +4866,139 @@ function os(e, t, r) {
4803
4866
  1e3
4804
4867
  );
4805
4868
  }, Je = (h) => {
4806
- N !== h && (r(11, S = []), r(10, N = h), Ot());
4807
- }, on = (h) => h.slice(0, 2) + h.slice(2, -2).replace(/./g, "*") + h.slice(-2), It = (h, O, k, Pe) => {
4869
+ I !== h && (n(11, S = []), n(10, I = h), Mt());
4870
+ }, or = (h) => h.slice(0, 2) + h.slice(2, -2).replace(/./g, "*") + h.slice(-2), It = (h, M, V, Pe) => {
4808
4871
  window.postMessage(
4809
4872
  {
4810
4873
  type: "OpenCasinoWinnersGame",
4811
4874
  gameId: h,
4812
- launchUrl: O,
4813
- gameName: k,
4875
+ launchUrl: M,
4876
+ gameName: V,
4814
4877
  subVendor: Pe
4815
4878
  },
4816
4879
  window.location.href
4817
4880
  ), typeof gtag == "function" && gtag("event", "OpenGame", {
4818
4881
  context: "WinnersWidget",
4819
4882
  gameId: `${h}`,
4820
- userId: `${J || "Not logged in"}`
4883
+ userId: `${Y || "Not logged in"}`
4821
4884
  });
4822
4885
  }, Nt = (h) => {
4823
- const O = [...g.children];
4824
- At = O.length, O.forEach((k, Pe) => {
4825
- k.style.transform = `translateX(${100 * (h ? Pe - h : Pe)}%)`;
4886
+ const M = [...g.children];
4887
+ Ct = M.length, M.forEach((V, Pe) => {
4888
+ V.style.transform = `translateX(${100 * (h ? Pe - h : Pe)}%)`;
4826
4889
  }), setTimeout(
4827
4890
  () => {
4828
- r(16, Bt = !0);
4891
+ n(16, At = !0);
4829
4892
  },
4830
4893
  10
4831
4894
  );
4832
- }, sn = () => {
4833
- A = 0, D < At ? Be = setInterval(
4895
+ }, sr = () => {
4896
+ A = 0, U < Ct ? Be = setInterval(
4834
4897
  () => {
4835
4898
  Ye();
4836
4899
  },
4837
4900
  3e3
4838
4901
  ) : clearInterval(Be);
4839
- }, Mt = () => {
4840
- Nt(A);
4841
- }, an = () => {
4842
- Pt = Ce.offsetWidth, r(12, D = Math.round(g.offsetWidth / Pt));
4843
4902
  }, Lt = () => {
4844
- if (D >= S.length) return;
4903
+ Nt(A);
4904
+ }, ar = () => {
4905
+ Ot = Ce.offsetWidth, n(12, U = Math.round(g.offsetWidth / Ot));
4906
+ }, Rt = () => {
4907
+ if (U >= S.length) return;
4845
4908
  const h = S.length;
4846
- A === 0 ? A = h - D : A - D < 0 ? A = 0 : A = A - D, Mt();
4909
+ A === 0 ? A = h - U : A - U < 0 ? A = 0 : A = A - U, Lt();
4847
4910
  }, Ye = () => {
4848
- if (D >= S.length) return;
4911
+ if (U >= S.length) return;
4849
4912
  const h = S.length;
4850
- B == "true" && (A === h - D ? A = 0 : A++), B == "false" && (A === h - D ? A = 0 : h - D < A + D ? A = h - D : A += D), Mt();
4851
- }, un = () => {
4852
- Uo(p);
4853
- }, ln = () => {
4854
- r(7, U = !0), J = s;
4855
- }, Rt = () => {
4856
- r(40, Ae = U ? R : P);
4857
- }, hn = () => {
4913
+ B == "true" && (A === h - U ? A = 0 : A++), B == "false" && (A === h - U ? A = 0 : h - U < A + U ? A = h - U : A += U), Lt();
4914
+ }, ur = () => {
4915
+ Wo(m);
4916
+ }, lr = () => {
4917
+ n(7, W = !0), Y = s;
4918
+ }, Wt = () => {
4919
+ n(40, Ae = W ? R : O);
4920
+ }, hr = () => {
4858
4921
  let h = document.createElement("style");
4859
- h.innerHTML = M, j.appendChild(h);
4860
- }, cn = () => {
4861
- let h = new URL(T), O = document.createElement("style");
4862
- fetch(h.href).then((k) => k.text()).then((k) => {
4863
- O.innerHTML = k, setTimeout(
4922
+ h.innerHTML = N, k.appendChild(h);
4923
+ }, cr = () => {
4924
+ let h = new URL(T), M = document.createElement("style");
4925
+ fetch(h.href).then((V) => V.text()).then((V) => {
4926
+ M.innerHTML = V, setTimeout(
4864
4927
  () => {
4865
- j.appendChild(O);
4928
+ k.appendChild(M);
4866
4929
  },
4867
4930
  1
4868
4931
  ), setTimeout(
4869
4932
  () => {
4870
4933
  },
4871
4934
  500
4872
- ), r(15, oe = !1);
4935
+ ), n(15, oe = !1);
4873
4936
  });
4874
- }, fn = () => {
4875
- L === "true" && (!M && !T && j && console.error("clientstyling or clientstylingurl mandatory if hascustomstyling is true"), !M && T && r(15, oe = !0));
4876
- }, dn = () => {
4877
- r(17, Ze = x.split(",")), r(10, N = Ze[0]), Rt(), r(14, ie = !1);
4937
+ }, fr = () => {
4938
+ L === "true" && (!N && !T && k && console.error("clientstyling or clientstylingurl mandatory if hascustomstyling is true"), !N && T && n(15, oe = !0));
4939
+ }, dr = () => {
4940
+ n(17, Ze = x.split(",")), n(10, I = Ze[0]), Wt(), n(14, ie = !1);
4878
4941
  };
4879
- Ln(() => (r(13, z = qo(ze)), () => {
4942
+ Lr(() => (n(13, X = qo(Xe)), () => {
4880
4943
  clearInterval(Be);
4881
4944
  }));
4882
- const pn = () => Je("recent"), mn = () => Je("top"), bn = () => Lt(), gn = () => Ye(), yn = (h) => It(h.gameId, h.gameModel.launchUrl, h.gameModel.name, h.gameModel.subVendor);
4883
- function vn(h) {
4945
+ const pr = () => Je("recent"), mr = () => Je("top"), br = () => Rt(), gr = () => Ye(), yr = (h) => It(h.gameId, h.gameModel.launchUrl, h.gameModel.name, h.gameModel.subVendor);
4946
+ function vr(h) {
4884
4947
  Ee[h ? "unshift" : "push"](() => {
4885
- Ce = h, r(19, Ce);
4948
+ Ce = h, n(19, Ce);
4886
4949
  });
4887
4950
  }
4888
- function _n(h) {
4951
+ function _r(h) {
4889
4952
  Ee[h ? "unshift" : "push"](() => {
4890
- g = h, r(9, g);
4953
+ g = h, n(9, g);
4891
4954
  });
4892
4955
  }
4893
- function En(h) {
4956
+ function Er(h) {
4894
4957
  Ee[h ? "unshift" : "push"](() => {
4895
- j = h, r(8, j);
4958
+ k = h, n(8, k);
4896
4959
  });
4897
4960
  }
4898
4961
  return e.$$set = (h) => {
4899
- "endpoint" in h && r(26, i = h.endpoint), "session" in h && r(27, o = h.session), "userid" in h && r(28, s = h.userid), "periodrecent" in h && r(29, a = h.periodrecent), "periodtop" in h && r(30, u = h.periodtop), "numberusersrecent" in h && r(31, l = h.numberusersrecent), "numberuserstop" in h && r(32, c = h.numberuserstop), "amountlimit" in h && r(33, d = h.amountlimit), "vendorCategory" in h && r(34, f = h.vendorCategory), "lang" in h && r(35, p = h.lang), "isrecentavailable" in h && r(0, y = h.isrecentavailable), "istopavailable" in h && r(1, b = h.istopavailable), "defaultcurrency" in h && r(2, P = h.defaultcurrency), "usercurrency" in h && r(3, R = h.usercurrency), "clientstyling" in h && r(4, M = h.clientstyling), "clientstylingurl" in h && r(5, T = h.clientstylingurl), "enableautoscroll" in h && r(6, B = h.enableautoscroll), "tabsorder" in h && r(36, x = h.tabsorder), "translationurl" in h && r(37, G = h.translationurl), "winnersdatasources" in h && r(38, F = h.winnersdatasources), "hascustomstyling" in h && r(39, L = h.hascustomstyling);
4962
+ "endpoint" in h && n(26, i = h.endpoint), "session" in h && n(27, o = h.session), "userid" in h && n(28, s = h.userid), "periodrecent" in h && n(29, a = h.periodrecent), "periodtop" in h && n(30, u = h.periodtop), "numberusersrecent" in h && n(31, l = h.numberusersrecent), "numberuserstop" in h && n(32, c = h.numberuserstop), "amountlimit" in h && n(33, d = h.amountlimit), "vendorCategory" in h && n(34, f = h.vendorCategory), "lang" in h && n(35, m = h.lang), "isrecentavailable" in h && n(0, y = h.isrecentavailable), "istopavailable" in h && n(1, b = h.istopavailable), "defaultcurrency" in h && n(2, O = h.defaultcurrency), "usercurrency" in h && n(3, R = h.usercurrency), "clientstyling" in h && n(4, N = h.clientstyling), "clientstylingurl" in h && n(5, T = h.clientstylingurl), "enableautoscroll" in h && n(6, B = h.enableautoscroll), "tabsorder" in h && n(36, x = h.tabsorder), "translationurl" in h && n(37, D = h.translationurl), "winnersdatasources" in h && n(38, F = h.winnersdatasources), "hascustomstyling" in h && n(39, L = h.hascustomstyling);
4900
4963
  }, e.$$.update = () => {
4901
4964
  e.$$.dirty[0] & /*isrecentavailable, istopavailable, periodrecent, periodtop*/
4902
4965
  1610612739 | e.$$.dirty[1] & /*numberusersrecent, numberuserstop, amountlimit, vendorCategory, lang, tabsorder*/
4903
- 63 && y && b && a && u && l && c && d && f && p && x && dn(), e.$$.dirty[0] & /*session*/
4904
- 134217728 && o && ln(), e.$$.dirty[0] & /*isLoggedIn, usercurrency, defaultcurrency*/
4905
- 140 && U && (R || P) && Rt(), e.$$.dirty[0] & /*endpoint*/
4966
+ 63 && y && b && a && u && l && c && d && f && m && x && dr(), e.$$.dirty[0] & /*session*/
4967
+ 134217728 && o && lr(), e.$$.dirty[0] & /*isLoggedIn, usercurrency, defaultcurrency*/
4968
+ 140 && W && (R || O) && Wt(), e.$$.dirty[0] & /*endpoint*/
4906
4969
  67108864 | e.$$.dirty[1] & /*winnersdatasources, currency*/
4907
- 640 && i && F && Ae && Ot(), e.$$.dirty[1] & /*lang*/
4908
- 16 && p && un(), e.$$.dirty[1] & /*translationurl*/
4909
- 64 && G && nn(), e.$$.dirty[1] & /*hascustomstyling*/
4910
- 256 && L && fn(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4911
- 272 && M && j && hn(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4912
- 288 && T && j && cn();
4970
+ 640 && i && F && Ae && Mt(), e.$$.dirty[1] & /*lang*/
4971
+ 16 && m && ur(), e.$$.dirty[1] & /*translationurl*/
4972
+ 64 && D && ir(), e.$$.dirty[1] & /*hascustomstyling*/
4973
+ 256 && L && fr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4974
+ 272 && N && k && hr(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4975
+ 288 && T && k && cr();
4913
4976
  }, [
4914
4977
  y,
4915
4978
  b,
4916
- P,
4979
+ O,
4917
4980
  R,
4918
- M,
4981
+ N,
4919
4982
  T,
4920
4983
  B,
4921
- U,
4922
- j,
4984
+ W,
4985
+ k,
4923
4986
  g,
4924
- N,
4987
+ I,
4925
4988
  S,
4926
- D,
4927
- z,
4989
+ U,
4990
+ X,
4928
4991
  ie,
4929
4992
  oe,
4930
- Bt,
4993
+ At,
4931
4994
  Ze,
4932
4995
  Qe,
4933
4996
  Ce,
4934
- n,
4997
+ r,
4935
4998
  Je,
4936
- on,
4999
+ or,
4937
5000
  It,
4938
- Lt,
5001
+ Rt,
4939
5002
  Ye,
4940
5003
  i,
4941
5004
  o,
@@ -4946,30 +5009,30 @@ function os(e, t, r) {
4946
5009
  c,
4947
5010
  d,
4948
5011
  f,
4949
- p,
5012
+ m,
4950
5013
  x,
4951
- G,
5014
+ D,
4952
5015
  F,
4953
5016
  L,
4954
5017
  Ae,
4955
- pn,
4956
- mn,
4957
- bn,
4958
- gn,
4959
- yn,
4960
- vn,
4961
- _n,
4962
- En
5018
+ pr,
5019
+ mr,
5020
+ br,
5021
+ gr,
5022
+ yr,
5023
+ vr,
5024
+ _r,
5025
+ Er
4963
5026
  ];
4964
5027
  }
4965
- class rn extends zn {
5028
+ class rr extends Xr {
4966
5029
  constructor(t) {
4967
- super(), Vn(
5030
+ super(), Vr(
4968
5031
  this,
4969
5032
  t,
4970
- os,
4971
- is,
4972
- _r,
5033
+ as,
5034
+ ss,
5035
+ xn,
4973
5036
  {
4974
5037
  endpoint: 26,
4975
5038
  session: 27,
@@ -5124,22 +5187,22 @@ class rn extends zn {
5124
5187
  this.$$set({ hascustomstyling: t }), C();
5125
5188
  }
5126
5189
  }
5127
- Xn(rn, { endpoint: {}, session: {}, userid: {}, periodrecent: {}, periodtop: {}, numberusersrecent: {}, numberuserstop: {}, amountlimit: {}, vendorCategory: {}, lang: {}, isrecentavailable: {}, istopavailable: {}, defaultcurrency: {}, usercurrency: {}, clientstyling: {}, clientstylingurl: {}, enableautoscroll: {}, tabsorder: {}, translationurl: {}, winnersdatasources: {}, hascustomstyling: {} }, [], [], !0);
5128
- const as = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5190
+ zr(rr, { endpoint: {}, session: {}, userid: {}, periodrecent: {}, periodtop: {}, numberusersrecent: {}, numberuserstop: {}, amountlimit: {}, vendorCategory: {}, lang: {}, isrecentavailable: {}, istopavailable: {}, defaultcurrency: {}, usercurrency: {}, clientstyling: {}, clientstylingurl: {}, enableautoscroll: {}, tabsorder: {}, translationurl: {}, winnersdatasources: {}, hascustomstyling: {} }, [], [], !0);
5191
+ const ls = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5129
5192
  __proto__: null,
5130
- default: rn
5193
+ default: rr
5131
5194
  }, Symbol.toStringTag, { value: "Module" }));
5132
5195
  export {
5133
- as as C,
5134
- zn as S,
5135
- Cn as a,
5136
- X as b,
5137
- Xn as c,
5138
- $ as d,
5139
- I as e,
5196
+ ls as C,
5197
+ Xr as S,
5198
+ Cr as a,
5199
+ $ as b,
5200
+ zr as c,
5201
+ j as d,
5202
+ P as e,
5140
5203
  C as f,
5141
5204
  Ee as g,
5142
- Vn as i,
5205
+ Vr as i,
5143
5206
  Q as n,
5144
- _r as s
5207
+ xn as s
5145
5208
  };