@everymatrix/casino-winners 1.54.8 → 1.54.9

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 yr = Object.defineProperty, _r = Object.defineProperties;
2
- var vr = Object.getOwnPropertyDescriptors;
1
+ var yn = Object.defineProperty, vn = Object.defineProperties;
2
+ var _n = Object.getOwnPropertyDescriptors;
3
3
  var Lt = Object.getOwnPropertySymbols;
4
- var Er = Object.prototype.hasOwnProperty, xr = Object.prototype.propertyIsEnumerable;
5
- var qe = (e, t, n) => t in e ? yr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Rt = (e, t) => {
6
- for (var n in t || (t = {}))
7
- Er.call(t, n) && qe(e, n, t[n]);
4
+ var En = Object.prototype.hasOwnProperty, xn = Object.prototype.propertyIsEnumerable;
5
+ var qe = (e, t, r) => t in e ? yn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Rt = (e, t) => {
6
+ for (var r in t || (t = {}))
7
+ En.call(t, r) && qe(e, r, t[r]);
8
8
  if (Lt)
9
- for (var n of Lt(t))
10
- xr.call(t, n) && qe(e, n, t[n]);
9
+ for (var r of Lt(t))
10
+ xn.call(t, r) && qe(e, r, t[r]);
11
11
  return e;
12
- }, Wt = (e, t) => _r(e, vr(t));
13
- var X = (e, t, n) => qe(e, typeof t != "symbol" ? t + "" : t, n);
14
- var Ut = (e, t, n) => new Promise((r, i) => {
15
- var s = (u) => {
12
+ }, Wt = (e, t) => vn(e, _n(t));
13
+ var X = (e, t, r) => qe(e, typeof t != "symbol" ? t + "" : t, r);
14
+ var Ut = (e, t, r) => new Promise((n, i) => {
15
+ var o = (u) => {
16
16
  try {
17
- a(n.next(u));
17
+ a(r.next(u));
18
18
  } catch (l) {
19
19
  i(l);
20
20
  }
21
- }, o = (u) => {
21
+ }, s = (u) => {
22
22
  try {
23
- a(n.throw(u));
23
+ a(r.throw(u));
24
24
  } catch (l) {
25
25
  i(l);
26
26
  }
27
- }, a = (u) => u.done ? r(u.value) : Promise.resolve(u.value).then(s, o);
28
- a((n = n.apply(e, t)).next());
27
+ }, a = (u) => u.done ? n(u.value) : Promise.resolve(u.value).then(o, s);
28
+ a((r = r.apply(e, t)).next());
29
29
  });
30
30
  function Q() {
31
31
  }
32
- function yn(e) {
32
+ function gr(e) {
33
33
  return e();
34
34
  }
35
35
  function Ft() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
38
  function me(e) {
39
- e.forEach(yn);
39
+ e.forEach(gr);
40
40
  }
41
41
  function Et(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function _n(e, t) {
44
+ function yr(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
48
  function Dt(e, t) {
49
49
  return e === t ? !0 : (Oe || (Oe = document.createElement("a")), Oe.href = t, e === Oe.href);
50
50
  }
51
- function wr(e) {
51
+ function wn(e) {
52
52
  return Object.keys(e).length === 0;
53
53
  }
54
- function vn(e, ...t) {
54
+ function vr(e, ...t) {
55
55
  if (e == null) {
56
- for (const r of t)
57
- r(void 0);
56
+ for (const n of t)
57
+ n(void 0);
58
58
  return Q;
59
59
  }
60
- const n = e.subscribe(...t);
61
- return n.unsubscribe ? () => n.unsubscribe() : n;
60
+ const r = e.subscribe(...t);
61
+ return r.unsubscribe ? () => r.unsubscribe() : r;
62
62
  }
63
- function Sr(e, t, n) {
64
- e.$$.on_destroy.push(vn(t, n));
63
+ function Sn(e, t, r) {
64
+ e.$$.on_destroy.push(vr(t, r));
65
65
  }
66
- function v(e, t) {
66
+ function _(e, t) {
67
67
  e.appendChild(t);
68
68
  }
69
- function Tr(e, t, n) {
70
- const r = Hr(e);
71
- if (!r.getElementById(t)) {
69
+ function Tn(e, t, r) {
70
+ const n = Hn(e);
71
+ if (!n.getElementById(t)) {
72
72
  const i = P("style");
73
- i.id = t, i.textContent = n, Br(r, i);
73
+ i.id = t, i.textContent = r, Bn(n, i);
74
74
  }
75
75
  }
76
- function Hr(e) {
76
+ function Hn(e) {
77
77
  if (!e) return document;
78
78
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
79
79
  return t && /** @type {ShadowRoot} */
@@ -82,22 +82,22 @@ function Hr(e) {
82
82
  t
83
83
  ) : e.ownerDocument;
84
84
  }
85
- function Br(e, t) {
86
- return v(
85
+ function Bn(e, t) {
86
+ return _(
87
87
  /** @type {Document} */
88
88
  e.head || e,
89
89
  t
90
90
  ), t.sheet;
91
91
  }
92
- function $(e, t, n) {
93
- e.insertBefore(t, n || null);
92
+ function $(e, t, r) {
93
+ e.insertBefore(t, r || null);
94
94
  }
95
95
  function j(e) {
96
96
  e.parentNode && e.parentNode.removeChild(e);
97
97
  }
98
- function En(e, t) {
99
- for (let n = 0; n < e.length; n += 1)
100
- e[n] && e[n].d(t);
98
+ function _r(e, t) {
99
+ for (let r = 0; r < e.length; r += 1)
100
+ e[r] && e[r].d(t);
101
101
  }
102
102
  function P(e) {
103
103
  return document.createElement(e);
@@ -114,119 +114,119 @@ function Z() {
114
114
  function xt() {
115
115
  return J("");
116
116
  }
117
- function xe(e, t, n, r) {
118
- return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);
117
+ function xe(e, t, r, n) {
118
+ return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
119
119
  }
120
- function p(e, t, n) {
121
- n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
120
+ function d(e, t, r) {
121
+ r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
122
122
  }
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);
123
+ function te(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 : d(e, t, r);
126
126
  }
127
- function Ar(e) {
127
+ function An(e) {
128
128
  return Array.from(e.childNodes);
129
129
  }
130
130
  function ee(e, t) {
131
131
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
132
132
  t);
133
133
  }
134
- function Cr(e) {
134
+ function Cn(e) {
135
135
  const t = {};
136
136
  return e.childNodes.forEach(
137
137
  /** @param {Element} node */
138
- (n) => {
139
- t[n.slot || "default"] = !0;
138
+ (r) => {
139
+ t[r.slot || "default"] = !0;
140
140
  }
141
141
  ), t;
142
142
  }
143
143
  let we;
144
- function ve(e) {
144
+ function _e(e) {
145
145
  we = e;
146
146
  }
147
- function Pr() {
147
+ function Pn() {
148
148
  if (!we) throw new Error("Function called outside component initialization");
149
149
  return we;
150
150
  }
151
- function Or(e) {
152
- Pr().$$.on_mount.push(e);
151
+ function On(e) {
152
+ Pn().$$.on_mount.push(e);
153
153
  }
154
154
  const ue = [], Ee = [];
155
155
  let le = [];
156
- const Gt = [], Mr = /* @__PURE__ */ Promise.resolve();
157
- let ot = !1;
158
- function Nr() {
159
- ot || (ot = !0, Mr.then(C));
156
+ const Gt = [], Mn = /* @__PURE__ */ Promise.resolve();
157
+ let st = !1;
158
+ function Nn() {
159
+ st || (st = !0, Mn.then(C));
160
160
  }
161
161
  function at(e) {
162
162
  le.push(e);
163
163
  }
164
164
  const Ke = /* @__PURE__ */ new Set();
165
- let oe = 0;
165
+ let se = 0;
166
166
  function C() {
167
- if (oe !== 0)
167
+ if (se !== 0)
168
168
  return;
169
169
  const e = we;
170
170
  do {
171
171
  try {
172
- for (; oe < ue.length; ) {
173
- const t = ue[oe];
174
- oe++, ve(t), Ir(t.$$);
172
+ for (; se < ue.length; ) {
173
+ const t = ue[se];
174
+ se++, _e(t), In(t.$$);
175
175
  }
176
176
  } catch (t) {
177
- throw ue.length = 0, oe = 0, t;
177
+ throw ue.length = 0, se = 0, t;
178
178
  }
179
- for (ve(null), ue.length = 0, oe = 0; Ee.length; ) Ee.pop()();
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 n = le[t];
182
- Ke.has(n) || (Ke.add(n), n());
181
+ const r = le[t];
182
+ Ke.has(r) || (Ke.add(r), r());
183
183
  }
184
184
  le.length = 0;
185
185
  } while (ue.length);
186
186
  for (; Gt.length; )
187
187
  Gt.pop()();
188
- ot = !1, Ke.clear(), ve(e);
188
+ st = !1, Ke.clear(), _e(e);
189
189
  }
190
- function Ir(e) {
190
+ function In(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(at);
195
195
  }
196
196
  }
197
- function Lr(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;
197
+ function Ln(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;
200
200
  }
201
- const Rr = /* @__PURE__ */ new Set();
202
- function Wr(e, t) {
203
- e && e.i && (Rr.delete(e), e.i(t));
201
+ const Rn = /* @__PURE__ */ new Set();
202
+ function Wn(e, t) {
203
+ e && e.i && (Rn.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 Ur(e, t, n) {
209
- const { fragment: r, after_update: i } = e.$$;
210
- r && r.m(t, n), at(() => {
211
- const s = e.$$.on_mount.map(yn).filter(Et);
212
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : me(s), e.$$.on_mount = [];
208
+ function Un(e, t, r) {
209
+ const { fragment: n, after_update: i } = e.$$;
210
+ n && n.m(t, r), at(() => {
211
+ const o = e.$$.on_mount.map(gr).filter(Et);
212
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : me(o), e.$$.on_mount = [];
213
213
  }), i.forEach(at);
214
214
  }
215
- function Fr(e, t) {
216
- const n = e.$$;
217
- n.fragment !== null && (Lr(n.after_update), me(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
215
+ function Fn(e, t) {
216
+ const r = e.$$;
217
+ r.fragment !== null && (Ln(r.after_update), me(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
218
218
  }
219
- function Dr(e, t) {
220
- e.$$.dirty[0] === -1 && (ue.push(e), Nr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
219
+ function Dn(e, t) {
220
+ e.$$.dirty[0] === -1 && (ue.push(e), Nn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
221
221
  }
222
- function Gr(e, t, n, r, i, s, o = null, a = [-1]) {
222
+ function Gn(e, t, r, n, i, o, s = null, a = [-1]) {
223
223
  const u = we;
224
- ve(e);
224
+ _e(e);
225
225
  const l = e.$$ = {
226
226
  fragment: null,
227
227
  ctx: [],
228
228
  // state
229
- props: s,
229
+ props: o,
230
230
  update: Q,
231
231
  not_equal: i,
232
232
  bound: Ft(),
@@ -243,24 +243,24 @@ function Gr(e, t, n, r, i, s, o = null, a = [-1]) {
243
243
  skip_bound: !1,
244
244
  root: t.target || u.$$.root
245
245
  };
246
- o && o(l.root);
246
+ s && s(l.root);
247
247
  let c = !1;
248
- if (l.ctx = n ? n(e, t.props || {}, (d, f, ...m) => {
248
+ if (l.ctx = r ? r(e, t.props || {}, (p, f, ...m) => {
249
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 && Dr(e, d)), f;
251
- }) : [], l.update(), c = !0, me(l.before_update), l.fragment = r ? r(l.ctx) : !1, t.target) {
250
+ return l.ctx && i(l.ctx[p], l.ctx[p] = y) && (!l.skip_bound && l.bound[p] && l.bound[p](y), c && Dn(e, p)), f;
251
+ }) : [], l.update(), c = !0, me(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
252
252
  if (t.hydrate) {
253
- const d = Ar(t.target);
254
- l.fragment && l.fragment.l(d), d.forEach(j);
253
+ const p = An(t.target);
254
+ l.fragment && l.fragment.l(p), p.forEach(j);
255
255
  } else
256
256
  l.fragment && l.fragment.c();
257
- t.intro && Wr(e.$$.fragment), Ur(e, t.target, t.anchor), C();
257
+ t.intro && Wn(e.$$.fragment), Un(e, t.target, t.anchor), C();
258
258
  }
259
- ve(u);
259
+ _e(u);
260
260
  }
261
- let xn;
262
- typeof HTMLElement == "function" && (xn = class extends HTMLElement {
263
- constructor(t, n, r) {
261
+ let Er;
262
+ typeof HTMLElement == "function" && (Er = class extends HTMLElement {
263
+ constructor(t, r, n) {
264
264
  super();
265
265
  /** The Svelte component constructor */
266
266
  X(this, "$$ctor");
@@ -280,59 +280,59 @@ typeof HTMLElement == "function" && (xn = class extends HTMLElement {
280
280
  X(this, "$$l", {});
281
281
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
282
282
  X(this, "$$l_u", /* @__PURE__ */ new Map());
283
- this.$$ctor = t, this.$$s = n, r && this.attachShadow({ mode: "open" });
283
+ this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
284
284
  }
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);
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);
289
289
  }
290
- super.addEventListener(t, n, r);
290
+ super.addEventListener(t, r, n);
291
291
  }
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));
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));
296
296
  }
297
297
  }
298
298
  connectedCallback() {
299
299
  return Ut(this, null, function* () {
300
300
  if (this.$$cn = !0, !this.$$c) {
301
- let t = function(s) {
301
+ let t = function(o) {
302
302
  return () => {
303
- let o;
303
+ let s;
304
304
  return {
305
305
  c: function() {
306
- o = P("slot"), s !== "default" && p(o, "name", s);
306
+ s = P("slot"), o !== "default" && d(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
- $(l, o, c);
313
+ $(l, s, c);
314
314
  },
315
315
  d: function(l) {
316
- l && j(o);
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 n = {}, r = Cr(this);
324
- for (const s of this.$$s)
325
- s in r && (n[s] = [t(s)]);
326
- for (const s of this.attributes) {
327
- const o = this.$$g_p(s.name);
328
- o in this.$$d || (this.$$d[o] = Le(o, s.value, this.$$p_d, "toProp"));
323
+ const r = {}, n = Cn(this);
324
+ for (const o of this.$$s)
325
+ o in n && (r[o] = [t(o)]);
326
+ for (const o of this.attributes) {
327
+ const s = this.$$g_p(o.name);
328
+ s in this.$$d || (this.$$d[s] = Le(s, o.value, this.$$p_d, "toProp"));
329
329
  }
330
- for (const s in this.$$p_d)
331
- !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
330
+ for (const o in this.$$p_d)
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
334
  props: Wt(Rt({}, this.$$d), {
335
- $$slots: n,
335
+ $$slots: r,
336
336
  $$scope: {
337
337
  ctx: []
338
338
  }
@@ -340,23 +340,23 @@ typeof HTMLElement == "function" && (xn = class extends HTMLElement {
340
340
  });
341
341
  const i = () => {
342
342
  this.$$r = !0;
343
- for (const s in this.$$p_d)
344
- if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
345
- const o = Le(
346
- s,
347
- this.$$d[s],
343
+ for (const o in this.$$p_d)
344
+ if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
345
+ const s = Le(
346
+ o,
347
+ this.$$d[o],
348
348
  this.$$p_d,
349
349
  "toAttribute"
350
350
  );
351
- o == null ? this.removeAttribute(this.$$p_d[s].attribute || s) : this.setAttribute(this.$$p_d[s].attribute || s, o);
351
+ s == null ? this.removeAttribute(this.$$p_d[o].attribute || o) : this.setAttribute(this.$$p_d[o].attribute || o, s);
352
352
  }
353
353
  this.$$r = !1;
354
354
  };
355
355
  this.$$c.$$.after_update.push(i), i();
356
- for (const s in this.$$l)
357
- for (const o of this.$$l[s]) {
358
- const a = this.$$c.$on(s, o);
359
- this.$$l_u.set(o, a);
356
+ for (const o in this.$$l)
357
+ for (const s of this.$$l[o]) {
358
+ const a = this.$$c.$on(o, s);
359
+ this.$$l_u.set(s, a);
360
360
  }
361
361
  this.$$l = {};
362
362
  }
@@ -364,9 +364,9 @@ typeof HTMLElement == "function" && (xn = 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, n, r) {
367
+ attributeChangedCallback(t, r, n) {
368
368
  var i;
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] }));
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] }));
370
370
  }
371
371
  disconnectedCallback() {
372
372
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -375,16 +375,16 @@ typeof HTMLElement == "function" && (xn = class extends HTMLElement {
375
375
  }
376
376
  $$g_p(t) {
377
377
  return Object.keys(this.$$p_d).find(
378
- (n) => this.$$p_d[n].attribute === t || !this.$$p_d[n].attribute && n.toLowerCase() === t
378
+ (r) => this.$$p_d[r].attribute === t || !this.$$p_d[r].attribute && r.toLowerCase() === t
379
379
  ) || t;
380
380
  }
381
381
  });
382
- function Le(e, t, n, r) {
383
- var s;
384
- const i = (s = n[e]) == null ? void 0 : s.type;
385
- if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !r || !n[e])
382
+ function Le(e, t, r, n) {
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])
386
386
  return t;
387
- if (r === "toAttribute")
387
+ if (n === "toAttribute")
388
388
  switch (i) {
389
389
  case "Object":
390
390
  case "Array":
@@ -409,10 +409,10 @@ function Le(e, t, n, r) {
409
409
  return t;
410
410
  }
411
411
  }
412
- function jr(e, t, n, r, i, s) {
413
- let o = class extends xn {
412
+ function jn(e, t, r, n, i, o) {
413
+ let s = class extends Er {
414
414
  constructor() {
415
- super(e, n, i), this.$$p_d = t;
415
+ super(e, r, i), this.$$p_d = t;
416
416
  }
417
417
  static get observedAttributes() {
418
418
  return Object.keys(t).map(
@@ -421,7 +421,7 @@ function jr(e, t, n, r, i, s) {
421
421
  }
422
422
  };
423
423
  return Object.keys(t).forEach((a) => {
424
- Object.defineProperty(o.prototype, a, {
424
+ Object.defineProperty(s.prototype, a, {
425
425
  get() {
426
426
  return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
427
427
  },
@@ -430,17 +430,17 @@ function jr(e, t, n, r, i, s) {
430
430
  u = Le(a, u, t), this.$$d[a] = u, (l = this.$$c) == null || l.$set({ [a]: u });
431
431
  }
432
432
  });
433
- }), r.forEach((a) => {
434
- Object.defineProperty(o.prototype, a, {
433
+ }), n.forEach((a) => {
434
+ Object.defineProperty(s.prototype, a, {
435
435
  get() {
436
436
  var u;
437
437
  return (u = this.$$c) == null ? void 0 : u[a];
438
438
  }
439
439
  });
440
440
  }), e.element = /** @type {any} */
441
- o, o;
441
+ s, s;
442
442
  }
443
- class kr {
443
+ class kn {
444
444
  constructor() {
445
445
  /**
446
446
  * ### PRIVATE API
@@ -461,7 +461,7 @@ class kr {
461
461
  }
462
462
  /** @returns {void} */
463
463
  $destroy() {
464
- Fr(this, 1), this.$destroy = Q;
464
+ Fn(this, 1), this.$destroy = Q;
465
465
  }
466
466
  /**
467
467
  * @template {Extract<keyof Events, string>} K
@@ -469,13 +469,13 @@ class kr {
469
469
  * @param {((e: Events[K]) => void) | null | undefined} callback
470
470
  * @returns {() => void}
471
471
  */
472
- $on(t, n) {
473
- if (!Et(n))
472
+ $on(t, r) {
473
+ if (!Et(r))
474
474
  return Q;
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);
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);
479
479
  };
480
480
  }
481
481
  /**
@@ -483,24 +483,24 @@ class kr {
483
483
  * @returns {void}
484
484
  */
485
485
  $set(t) {
486
- this.$$set && !wr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
486
+ this.$$set && !wn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
487
487
  }
488
488
  }
489
- const $r = "4";
490
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add($r);
489
+ const $n = "4";
490
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add($n);
491
491
  const ae = [];
492
- function Vr(e, t) {
492
+ function Vn(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 n;
499
- const r = /* @__PURE__ */ new Set();
498
+ let r;
499
+ const n = /* @__PURE__ */ new Set();
500
500
  function i(a) {
501
- if (_n(e, a) && (e = a, n)) {
501
+ if (yr(e, a) && (e = a, r)) {
502
502
  const u = !ae.length;
503
- for (const l of r)
503
+ for (const l of n)
504
504
  l[1](), ae.push(l, e);
505
505
  if (u) {
506
506
  for (let l = 0; l < ae.length; l += 2)
@@ -509,34 +509,34 @@ function je(e, t = Q) {
509
509
  }
510
510
  }
511
511
  }
512
- function s(a) {
512
+ function o(a) {
513
513
  i(a(e));
514
514
  }
515
- function o(a, u = Q) {
515
+ function s(a, u = Q) {
516
516
  const l = [a, u];
517
- return r.add(l), r.size === 1 && (n = t(i, s) || Q), a(e), () => {
518
- r.delete(l), r.size === 0 && n && (n(), n = null);
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);
519
519
  };
520
520
  }
521
- return { set: i, update: s, subscribe: o };
521
+ return { set: i, update: o, subscribe: s };
522
522
  }
523
- function be(e, t, n) {
524
- const r = !Array.isArray(e), i = r ? [e] : e;
523
+ function be(e, t, r) {
524
+ const n = !Array.isArray(e), i = n ? [e] : e;
525
525
  if (!i.every(Boolean))
526
526
  throw new Error("derived() expects stores as input, got a falsy value");
527
- const s = t.length < 2;
528
- return Vr(n, (o, a) => {
527
+ const o = t.length < 2;
528
+ return Vn(r, (s, a) => {
529
529
  let u = !1;
530
530
  const l = [];
531
- let c = 0, d = Q;
531
+ let c = 0, p = Q;
532
532
  const f = () => {
533
533
  if (c)
534
534
  return;
535
- d();
536
- const y = t(r ? l[0] : l, o, a);
537
- s ? o(y) : d = Et(y) ? y : Q;
535
+ p();
536
+ const y = t(n ? l[0] : l, s, a);
537
+ o ? s(y) : p = Et(y) ? y : Q;
538
538
  }, m = i.map(
539
- (y, b) => vn(
539
+ (y, b) => vr(
540
540
  y,
541
541
  (O) => {
542
542
  l[b] = O, c &= ~(1 << b), u && f();
@@ -547,180 +547,180 @@ function be(e, t, n) {
547
547
  )
548
548
  );
549
549
  return u = !0, f(), function() {
550
- me(m), d(), u = !1;
550
+ me(m), p(), u = !1;
551
551
  };
552
552
  });
553
553
  }
554
- function Xr(e) {
554
+ function Xn(e) {
555
555
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
556
556
  }
557
- var zr = function(t) {
558
- return Zr(t) && !Qr(t);
557
+ var zn = function(t) {
558
+ return Zn(t) && !Qn(t);
559
559
  };
560
- function Zr(e) {
560
+ function Zn(e) {
561
561
  return !!e && typeof e == "object";
562
562
  }
563
- function Qr(e) {
563
+ function Qn(e) {
564
564
  var t = Object.prototype.toString.call(e);
565
- return t === "[object RegExp]" || t === "[object Date]" || qr(e);
565
+ return t === "[object RegExp]" || t === "[object Date]" || qn(e);
566
566
  }
567
- var Jr = typeof Symbol == "function" && Symbol.for, Yr = Jr ? Symbol.for("react.element") : 60103;
568
- function qr(e) {
569
- return e.$$typeof === Yr;
567
+ var Jn = typeof Symbol == "function" && Symbol.for, Yn = Jn ? Symbol.for("react.element") : 60103;
568
+ function qn(e) {
569
+ return e.$$typeof === Yn;
570
570
  }
571
- function Kr(e) {
571
+ function Kn(e) {
572
572
  return Array.isArray(e) ? [] : {};
573
573
  }
574
574
  function Se(e, t) {
575
- return t.clone !== !1 && t.isMergeableObject(e) ? ce(Kr(e), e, t) : e;
575
+ return t.clone !== !1 && t.isMergeableObject(e) ? ce(Kn(e), e, t) : e;
576
576
  }
577
- function ei(e, t, n) {
578
- return e.concat(t).map(function(r) {
579
- return Se(r, n);
577
+ function ei(e, t, r) {
578
+ return e.concat(t).map(function(n) {
579
+ return Se(n, r);
580
580
  });
581
581
  }
582
582
  function ti(e, t) {
583
583
  if (!t.customMerge)
584
584
  return ce;
585
- var n = t.customMerge(e);
586
- return typeof n == "function" ? n : ce;
585
+ var r = t.customMerge(e);
586
+ return typeof r == "function" ? r : ce;
587
587
  }
588
- function ni(e) {
588
+ function ri(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
593
  function jt(e) {
594
- return Object.keys(e).concat(ni(e));
594
+ return Object.keys(e).concat(ri(e));
595
595
  }
596
- function wn(e, t) {
596
+ function xr(e, t) {
597
597
  try {
598
598
  return t in e;
599
- } catch (n) {
599
+ } catch (r) {
600
600
  return !1;
601
601
  }
602
602
  }
603
- function ri(e, t) {
604
- return wn(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
603
+ function ni(e, t) {
604
+ return xr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
605
605
  }
606
- function ii(e, t, n) {
607
- var r = {};
608
- return n.isMergeableObject(e) && jt(e).forEach(function(i) {
609
- r[i] = Se(e[i], n);
606
+ function ii(e, t, r) {
607
+ var n = {};
608
+ return r.isMergeableObject(e) && jt(e).forEach(function(i) {
609
+ n[i] = Se(e[i], r);
610
610
  }), jt(t).forEach(function(i) {
611
- ri(e, i) || (wn(e, i) && n.isMergeableObject(t[i]) ? r[i] = ti(i, n)(e[i], t[i], n) : r[i] = Se(t[i], n));
612
- }), r;
611
+ ni(e, i) || (xr(e, i) && r.isMergeableObject(t[i]) ? n[i] = ti(i, r)(e[i], t[i], r) : n[i] = Se(t[i], r));
612
+ }), n;
613
613
  }
614
- function ce(e, t, n) {
615
- n = n || {}, n.arrayMerge = n.arrayMerge || ei, n.isMergeableObject = n.isMergeableObject || zr, n.cloneUnlessOtherwiseSpecified = Se;
616
- var r = Array.isArray(t), i = Array.isArray(e), s = r === i;
617
- return s ? r ? n.arrayMerge(e, t, n) : ii(e, t, n) : Se(t, n);
614
+ function ce(e, t, r) {
615
+ r = r || {}, r.arrayMerge = r.arrayMerge || ei, r.isMergeableObject = r.isMergeableObject || zn, 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) : ii(e, t, r) : Se(t, r);
618
618
  }
619
- ce.all = function(t, n) {
619
+ ce.all = function(t, r) {
620
620
  if (!Array.isArray(t))
621
621
  throw new Error("first argument should be an array");
622
- return t.reduce(function(r, i) {
623
- return ce(r, i, n);
622
+ return t.reduce(function(n, i) {
623
+ return ce(n, i, r);
624
624
  }, {});
625
625
  };
626
- var si = ce, oi = si;
627
- const ai = /* @__PURE__ */ Xr(oi);
626
+ var oi = ce, si = oi;
627
+ const ai = /* @__PURE__ */ Xn(si);
628
628
  var ut = function(e, t) {
629
- return ut = 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]);
629
+ return ut = 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]);
633
633
  }, ut(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
  ut(e, t);
639
- function n() {
639
+ function r() {
640
640
  this.constructor = e;
641
641
  }
642
- e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
642
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
643
643
  }
644
644
  var w = function() {
645
645
  return w = Object.assign || function(t) {
646
- for (var n, r = 1, i = arguments.length; r < i; r++) {
647
- n = arguments[r];
648
- for (var s in n) Object.prototype.hasOwnProperty.call(n, s) && (t[s] = n[s]);
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]);
649
649
  }
650
650
  return t;
651
651
  }, w.apply(this, arguments);
652
652
  };
653
653
  function ui(e, t) {
654
- var n = {};
655
- for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
654
+ var r = {};
655
+ for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
656
656
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
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;
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;
660
660
  }
661
661
  function lt(e) {
662
- var t = typeof Symbol == "function" && Symbol.iterator, n = t && e[t], r = 0;
663
- if (n) return n.call(e);
662
+ var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
663
+ if (r) return r.call(e);
664
664
  if (e && typeof e.length == "number") return {
665
665
  next: function() {
666
- return e && r >= e.length && (e = void 0), { value: e && e[r++], done: !e };
666
+ return e && n >= e.length && (e = void 0), { value: e && e[n++], 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 ht(e, t) {
672
- var n = typeof Symbol == "function" && e[Symbol.iterator];
673
- if (!n) return e;
674
- var r = n.call(e), i, s = [], o;
672
+ var r = typeof Symbol == "function" && e[Symbol.iterator];
673
+ if (!r) return e;
674
+ var n = r.call(e), i, o = [], s;
675
675
  try {
676
- for (; (t === void 0 || t-- > 0) && !(i = r.next()).done; ) s.push(i.value);
676
+ for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; ) o.push(i.value);
677
677
  } catch (a) {
678
- o = { error: a };
678
+ s = { error: a };
679
679
  } finally {
680
680
  try {
681
- i && !i.done && (n = r.return) && n.call(r);
681
+ i && !i.done && (r = n.return) && r.call(n);
682
682
  } finally {
683
- if (o) throw o.error;
683
+ if (s) throw s.error;
684
684
  }
685
685
  }
686
- return s;
686
+ return o;
687
687
  }
688
- function he(e, t, n) {
689
- if (n || arguments.length === 2) for (var r = 0, i = t.length, s; r < i; r++)
690
- (s || !(r in t)) && (s || (s = Array.prototype.slice.call(t, 0, r)), s[r] = t[r]);
691
- return e.concat(s || Array.prototype.slice.call(t));
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]);
691
+ return e.concat(o || Array.prototype.slice.call(t));
692
692
  }
693
693
  function et(e, t) {
694
- var n = t && t.cache ? t.cache : mi, r = t && t.serializer ? t.serializer : di, i = t && t.strategy ? t.strategy : ci;
694
+ var r = t && t.cache ? t.cache : mi, n = t && t.serializer ? t.serializer : pi, i = t && t.strategy ? t.strategy : ci;
695
695
  return i(e, {
696
- cache: n,
697
- serializer: r
696
+ cache: r,
697
+ serializer: n
698
698
  });
699
699
  }
700
700
  function li(e) {
701
701
  return e == null || typeof e == "number" || typeof e == "boolean";
702
702
  }
703
- function hi(e, t, n, r) {
704
- var i = li(r) ? r : n(r), s = t.get(i);
705
- return typeof s == "undefined" && (s = e.call(this, r), t.set(i, s)), s;
703
+ function hi(e, t, r, n) {
704
+ var i = li(n) ? n : r(n), o = t.get(i);
705
+ return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
706
706
  }
707
- function Sn(e, t, n) {
708
- var r = Array.prototype.slice.call(arguments, 3), i = n(r), s = t.get(i);
709
- return typeof s == "undefined" && (s = e.apply(this, r), t.set(i, s)), s;
707
+ function wr(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;
710
710
  }
711
- function Tn(e, t, n, r, i) {
712
- return n.bind(t, e, r, i);
711
+ function Sr(e, t, r, n, i) {
712
+ return r.bind(t, e, n, i);
713
713
  }
714
714
  function ci(e, t) {
715
- var n = e.length === 1 ? hi : Sn;
716
- return Tn(e, this, n, t.cache.create(), t.serializer);
715
+ var r = e.length === 1 ? hi : wr;
716
+ return Sr(e, this, r, t.cache.create(), t.serializer);
717
717
  }
718
718
  function fi(e, t) {
719
- return Tn(e, this, Sn, t.cache.create(), t.serializer);
719
+ return Sr(e, this, wr, t.cache.create(), t.serializer);
720
720
  }
721
- var di = function() {
721
+ var pi = function() {
722
722
  return JSON.stringify(arguments);
723
- }, pi = (
723
+ }, di = (
724
724
  /** @class */
725
725
  function() {
726
726
  function e() {
@@ -728,20 +728,20 @@ var di = function() {
728
728
  }
729
729
  return e.prototype.get = function(t) {
730
730
  return this.cache[t];
731
- }, e.prototype.set = function(t, n) {
732
- this.cache[t] = n;
731
+ }, e.prototype.set = function(t, r) {
732
+ this.cache[t] = r;
733
733
  }, e;
734
734
  }()
735
735
  ), mi = {
736
736
  create: function() {
737
- return new pi();
737
+ return new di();
738
738
  }
739
739
  }, tt = {
740
740
  variadic: fi
741
- }, _;
741
+ }, v;
742
742
  (function(e) {
743
743
  e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
744
- })(_ || (_ = {}));
744
+ })(v || (v = {}));
745
745
  var H;
746
746
  (function(e) {
747
747
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
@@ -756,44 +756,44 @@ function kt(e) {
756
756
  function bi(e) {
757
757
  return e.type === H.argument;
758
758
  }
759
- function Hn(e) {
759
+ function Tr(e) {
760
760
  return e.type === H.number;
761
761
  }
762
- function Bn(e) {
762
+ function Hr(e) {
763
763
  return e.type === H.date;
764
764
  }
765
- function An(e) {
765
+ function Br(e) {
766
766
  return e.type === H.time;
767
767
  }
768
- function Cn(e) {
768
+ function Ar(e) {
769
769
  return e.type === H.select;
770
770
  }
771
- function Pn(e) {
771
+ function Cr(e) {
772
772
  return e.type === H.plural;
773
773
  }
774
774
  function gi(e) {
775
775
  return e.type === H.pound;
776
776
  }
777
- function On(e) {
777
+ function Pr(e) {
778
778
  return e.type === H.tag;
779
779
  }
780
- function Mn(e) {
780
+ function Or(e) {
781
781
  return !!(e && typeof e == "object" && e.type === fe.number);
782
782
  }
783
783
  function ct(e) {
784
784
  return !!(e && typeof e == "object" && e.type === fe.dateTime);
785
785
  }
786
- var Nn = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, yi = /(?:[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;
787
- function _i(e) {
786
+ var Mr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, yi = /(?:[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;
787
+ function vi(e) {
788
788
  var t = {};
789
- return e.replace(yi, function(n) {
790
- var r = n.length;
791
- switch (n[0]) {
789
+ return e.replace(yi, function(r) {
790
+ var n = r.length;
791
+ switch (r[0]) {
792
792
  case "G":
793
- t.era = r === 4 ? "long" : r === 5 ? "narrow" : "short";
793
+ t.era = n === 4 ? "long" : n === 5 ? "narrow" : "short";
794
794
  break;
795
795
  case "y":
796
- t.year = r === 2 ? "2-digit" : "numeric";
796
+ t.year = n === 2 ? "2-digit" : "numeric";
797
797
  break;
798
798
  case "Y":
799
799
  case "u":
@@ -805,30 +805,30 @@ function _i(e) {
805
805
  throw new RangeError("`q/Q` (quarter) patterns are not supported");
806
806
  case "M":
807
807
  case "L":
808
- t.month = ["numeric", "2-digit", "short", "long", "narrow"][r - 1];
808
+ t.month = ["numeric", "2-digit", "short", "long", "narrow"][n - 1];
809
809
  break;
810
810
  case "w":
811
811
  case "W":
812
812
  throw new RangeError("`w/W` (week) patterns are not supported");
813
813
  case "d":
814
- t.day = ["numeric", "2-digit"][r - 1];
814
+ t.day = ["numeric", "2-digit"][n - 1];
815
815
  break;
816
816
  case "D":
817
817
  case "F":
818
818
  case "g":
819
819
  throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");
820
820
  case "E":
821
- t.weekday = r === 4 ? "long" : r === 5 ? "narrow" : "short";
821
+ t.weekday = n === 4 ? "long" : n === 5 ? "narrow" : "short";
822
822
  break;
823
823
  case "e":
824
- if (r < 4)
824
+ if (n < 4)
825
825
  throw new RangeError("`e..eee` (weekday) patterns are not supported");
826
- t.weekday = ["short", "long", "narrow", "short"][r - 4];
826
+ t.weekday = ["short", "long", "narrow", "short"][n - 4];
827
827
  break;
828
828
  case "c":
829
- if (r < 4)
829
+ if (n < 4)
830
830
  throw new RangeError("`c..ccc` (weekday) patterns are not supported");
831
- t.weekday = ["short", "long", "narrow", "short"][r - 4];
831
+ t.weekday = ["short", "long", "narrow", "short"][n - 4];
832
832
  break;
833
833
  case "a":
834
834
  t.hour12 = !0;
@@ -837,32 +837,32 @@ function _i(e) {
837
837
  case "B":
838
838
  throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");
839
839
  case "h":
840
- t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][r - 1];
840
+ t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][n - 1];
841
841
  break;
842
842
  case "H":
843
- t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][r - 1];
843
+ t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][n - 1];
844
844
  break;
845
845
  case "K":
846
- t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][r - 1];
846
+ t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][n - 1];
847
847
  break;
848
848
  case "k":
849
- t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][r - 1];
849
+ t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][n - 1];
850
850
  break;
851
851
  case "j":
852
852
  case "J":
853
853
  case "C":
854
854
  throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");
855
855
  case "m":
856
- t.minute = ["numeric", "2-digit"][r - 1];
856
+ t.minute = ["numeric", "2-digit"][n - 1];
857
857
  break;
858
858
  case "s":
859
- t.second = ["numeric", "2-digit"][r - 1];
859
+ t.second = ["numeric", "2-digit"][n - 1];
860
860
  break;
861
861
  case "S":
862
862
  case "A":
863
863
  throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");
864
864
  case "z":
865
- t.timeZoneName = r < 4 ? "short" : "long";
865
+ t.timeZoneName = n < 4 ? "short" : "long";
866
866
  break;
867
867
  case "Z":
868
868
  case "O":
@@ -875,36 +875,36 @@ function _i(e) {
875
875
  return "";
876
876
  }), t;
877
877
  }
878
- var vi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
878
+ var _i = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
879
879
  function Ei(e) {
880
880
  if (e.length === 0)
881
881
  throw new Error("Number skeleton cannot be empty");
882
- for (var t = e.split(vi).filter(function(f) {
882
+ for (var t = e.split(_i).filter(function(f) {
883
883
  return f.length > 0;
884
- }), n = [], r = 0, i = t; r < i.length; r++) {
885
- var s = i[r], o = s.split("/");
886
- if (o.length === 0)
884
+ }), r = [], n = 0, i = t; n < i.length; n++) {
885
+ var o = i[n], s = o.split("/");
886
+ if (s.length === 0)
887
887
  throw new Error("Invalid number skeleton");
888
- for (var a = o[0], u = o.slice(1), l = 0, c = u; l < c.length; l++) {
889
- var d = c[l];
890
- if (d.length === 0)
888
+ for (var a = s[0], u = s.slice(1), l = 0, c = u; l < c.length; l++) {
889
+ var p = c[l];
890
+ if (p.length === 0)
891
891
  throw new Error("Invalid number skeleton");
892
892
  }
893
- n.push({ stem: a, options: u });
893
+ r.push({ stem: a, options: u });
894
894
  }
895
- return n;
895
+ return r;
896
896
  }
897
897
  function xi(e) {
898
898
  return e.replace(/^(.*?)-/, "");
899
899
  }
900
- var $t = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, In = /^(@+)?(\+|#+)?[rs]?$/g, wi = /(\*)(0+)|(#+)(0+)|(0+)/g, Ln = /^(0+)$/;
900
+ var $t = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Nr = /^(@+)?(\+|#+)?[rs]?$/g, wi = /(\*)(0+)|(#+)(0+)|(0+)/g, Ir = /^(0+)$/;
901
901
  function Vt(e) {
902
902
  var t = {};
903
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(In, function(n, r, i) {
904
- 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)), "";
903
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Nr, function(r, n, i) {
904
+ 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
905
  }), t;
906
906
  }
907
- function Rn(e) {
907
+ function Lr(e) {
908
908
  switch (e) {
909
909
  case "sign-auto":
910
910
  return {
@@ -951,20 +951,20 @@ function Si(e) {
951
951
  }, e = e.slice(2)) : e[0] === "E" && (t = {
952
952
  notation: "scientific"
953
953
  }, e = e.slice(1)), t) {
954
- var n = e.slice(0, 2);
955
- if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Ln.test(e))
954
+ var r = e.slice(0, 2);
955
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Ir.test(e))
956
956
  throw new Error("Malformed concise eng/scientific notation");
957
957
  t.minimumIntegerDigits = e.length;
958
958
  }
959
959
  return t;
960
960
  }
961
961
  function Xt(e) {
962
- var t = {}, n = Rn(e);
963
- return n || t;
962
+ var t = {}, r = Lr(e);
963
+ return r || t;
964
964
  }
965
965
  function Ti(e) {
966
- for (var t = {}, n = 0, r = e; n < r.length; n++) {
967
- var i = r[n];
966
+ for (var t = {}, r = 0, n = e; r < n.length; r++) {
967
+ var i = n[r];
968
968
  switch (i.stem) {
969
969
  case "percent":
970
970
  case "%":
@@ -1048,11 +1048,11 @@ function Ti(e) {
1048
1048
  case "integer-width":
1049
1049
  if (i.options.length > 1)
1050
1050
  throw new RangeError("integer-width stems only accept a single optional option");
1051
- i.options[0].replace(wi, function(u, l, c, d, f, m) {
1051
+ i.options[0].replace(wi, function(u, l, c, p, f, m) {
1052
1052
  if (l)
1053
1053
  t.minimumIntegerDigits = c.length;
1054
1054
  else {
1055
- if (d && f)
1055
+ if (p && f)
1056
1056
  throw new Error("We currently do not support maximum integer digits");
1057
1057
  if (m)
1058
1058
  throw new Error("We currently do not support exact integer digits");
@@ -1061,26 +1061,26 @@ function Ti(e) {
1061
1061
  });
1062
1062
  continue;
1063
1063
  }
1064
- if (Ln.test(i.stem)) {
1064
+ if (Ir.test(i.stem)) {
1065
1065
  t.minimumIntegerDigits = i.stem.length;
1066
1066
  continue;
1067
1067
  }
1068
1068
  if ($t.test(i.stem)) {
1069
1069
  if (i.options.length > 1)
1070
1070
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1071
- i.stem.replace($t, function(u, l, c, d, f, m) {
1072
- 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), "";
1071
+ i.stem.replace($t, function(u, l, c, p, f, m) {
1072
+ return c === "*" ? t.minimumFractionDigits = l.length : p && p[0] === "#" ? t.maximumFractionDigits = p.length : f && m ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + m.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1073
1073
  });
1074
- var s = i.options[0];
1075
- s === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = w(w({}, t), Vt(s)));
1074
+ var o = i.options[0];
1075
+ o === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = w(w({}, t), Vt(o)));
1076
1076
  continue;
1077
1077
  }
1078
- if (In.test(i.stem)) {
1078
+ if (Nr.test(i.stem)) {
1079
1079
  t = w(w({}, t), Vt(i.stem));
1080
1080
  continue;
1081
1081
  }
1082
- var o = Rn(i.stem);
1083
- o && (t = w(w({}, t), o));
1082
+ var s = Lr(i.stem);
1083
+ s && (t = w(w({}, t), s));
1084
1084
  var a = Si(i.stem);
1085
1085
  a && (t = w(w({}, t), a));
1086
1086
  }
@@ -2502,19 +2502,19 @@ var Ne = {
2502
2502
  ]
2503
2503
  };
2504
2504
  function Hi(e, t) {
2505
- for (var n = "", r = 0; r < e.length; r++) {
2506
- var i = e.charAt(r);
2505
+ for (var r = "", n = 0; n < e.length; n++) {
2506
+ var i = e.charAt(n);
2507
2507
  if (i === "j") {
2508
- for (var s = 0; r + 1 < e.length && e.charAt(r + 1) === i; )
2509
- s++, r++;
2510
- var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), u = "a", l = Bi(t);
2508
+ for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2509
+ o++, n++;
2510
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = Bi(t);
2511
2511
  for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
2512
- n += u;
2513
- for (; o-- > 0; )
2514
- n = l + n;
2515
- } else i === "J" ? n += "H" : n += i;
2512
+ r += u;
2513
+ for (; s-- > 0; )
2514
+ r = l + r;
2515
+ } else i === "J" ? r += "H" : r += i;
2516
2516
  }
2517
- return n;
2517
+ return r;
2518
2518
  }
2519
2519
  function Bi(e) {
2520
2520
  var t = e.hourCycle;
@@ -2533,12 +2533,12 @@ function Bi(e) {
2533
2533
  default:
2534
2534
  throw new Error("Invalid hourCycle");
2535
2535
  }
2536
- var n = e.language, r;
2537
- n !== "root" && (r = e.maximize().region);
2538
- var i = Ne[r || ""] || Ne[n || ""] || Ne["".concat(n, "-001")] || Ne["001"];
2536
+ var r = e.language, n;
2537
+ r !== "root" && (n = e.maximize().region);
2538
+ var i = Ne[n || ""] || Ne[r || ""] || Ne["".concat(r, "-001")] || Ne["001"];
2539
2539
  return i[0];
2540
2540
  }
2541
- var nt, Ai = new RegExp("^".concat(Nn.source, "*")), Ci = new RegExp("".concat(Nn.source, "*$"));
2541
+ var rt, Ai = new RegExp("^".concat(Mr.source, "*")), Ci = new RegExp("".concat(Mr.source, "*$"));
2542
2542
  function E(e, t) {
2543
2543
  return { start: e, end: t };
2544
2544
  }
@@ -2546,57 +2546,57 @@ var Pi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Oi = !!String
2546
2546
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2547
2547
  }, ft = !0;
2548
2548
  try {
2549
- var Ui = Un("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2550
- ft = ((nt = Ui.exec("a")) === null || nt === void 0 ? void 0 : nt[0]) === "a";
2549
+ var Ui = Wr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2550
+ ft = ((rt = Ui.exec("a")) === null || rt === void 0 ? void 0 : rt[0]) === "a";
2551
2551
  } catch (e) {
2552
2552
  ft = !1;
2553
2553
  }
2554
2554
  var zt = Pi ? (
2555
2555
  // Native
2556
- function(t, n, r) {
2557
- return t.startsWith(n, r);
2556
+ function(t, r, n) {
2557
+ return t.startsWith(r, n);
2558
2558
  }
2559
2559
  ) : (
2560
2560
  // For IE11
2561
- function(t, n, r) {
2562
- return t.slice(r, r + n.length) === n;
2561
+ function(t, r, n) {
2562
+ return t.slice(n, n + r.length) === r;
2563
2563
  }
2564
- ), dt = Oi ? String.fromCodePoint : (
2564
+ ), pt = Oi ? String.fromCodePoint : (
2565
2565
  // IE11
2566
2566
  function() {
2567
- for (var t = [], n = 0; n < arguments.length; n++)
2568
- t[n] = arguments[n];
2569
- for (var r = "", i = t.length, s = 0, o; i > s; ) {
2570
- if (o = t[s++], o > 1114111)
2571
- throw RangeError(o + " is not a valid code point");
2572
- r += o < 65536 ? String.fromCharCode(o) : String.fromCharCode(((o -= 65536) >> 10) + 55296, o % 1024 + 56320);
2567
+ for (var t = [], r = 0; r < arguments.length; r++)
2568
+ t[r] = arguments[r];
2569
+ for (var n = "", i = t.length, o = 0, s; i > o; ) {
2570
+ if (s = t[o++], s > 1114111)
2571
+ throw RangeError(s + " is not a valid code point");
2572
+ n += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
2573
2573
  }
2574
- return r;
2574
+ return n;
2575
2575
  }
2576
2576
  ), Zt = (
2577
2577
  // native
2578
2578
  Mi ? Object.fromEntries : (
2579
2579
  // Ponyfill
2580
2580
  function(t) {
2581
- for (var n = {}, r = 0, i = t; r < i.length; r++) {
2582
- var s = i[r], o = s[0], a = s[1];
2583
- n[o] = a;
2581
+ for (var r = {}, n = 0, i = t; n < i.length; n++) {
2582
+ var o = i[n], s = o[0], a = o[1];
2583
+ r[s] = a;
2584
2584
  }
2585
- return n;
2585
+ return r;
2586
2586
  }
2587
2587
  )
2588
- ), Wn = Ni ? (
2588
+ ), Rr = Ni ? (
2589
2589
  // Native
2590
- function(t, n) {
2591
- return t.codePointAt(n);
2590
+ function(t, r) {
2591
+ return t.codePointAt(r);
2592
2592
  }
2593
2593
  ) : (
2594
2594
  // IE 11
2595
- function(t, n) {
2596
- var r = t.length;
2597
- if (!(n < 0 || n >= r)) {
2598
- var i = t.charCodeAt(n), s;
2599
- return i < 55296 || i > 56319 || n + 1 === r || (s = t.charCodeAt(n + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2595
+ function(t, r) {
2596
+ var n = t.length;
2597
+ if (!(r < 0 || r >= n)) {
2598
+ var i = t.charCodeAt(r), o;
2599
+ return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2600
2600
  }
2601
2601
  }
2602
2602
  ), Fi = Ii ? (
@@ -2620,75 +2620,75 @@ var zt = Pi ? (
2620
2620
  return t.replace(Ci, "");
2621
2621
  }
2622
2622
  );
2623
- function Un(e, t) {
2623
+ function Wr(e, t) {
2624
2624
  return new RegExp(e, t);
2625
2625
  }
2626
- var pt;
2626
+ var dt;
2627
2627
  if (ft) {
2628
- var Qt = Un("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2629
- pt = function(t, n) {
2630
- var r;
2631
- Qt.lastIndex = n;
2628
+ var Qt = Wr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2629
+ dt = function(t, r) {
2630
+ var n;
2631
+ Qt.lastIndex = r;
2632
2632
  var i = Qt.exec(t);
2633
- return (r = i[1]) !== null && r !== void 0 ? r : "";
2633
+ return (n = i[1]) !== null && n !== void 0 ? n : "";
2634
2634
  };
2635
2635
  } else
2636
- pt = function(t, n) {
2637
- for (var r = []; ; ) {
2638
- var i = Wn(t, n);
2639
- if (i === void 0 || Fn(i) || $i(i))
2636
+ dt = function(t, r) {
2637
+ for (var n = []; ; ) {
2638
+ var i = Rr(t, r);
2639
+ if (i === void 0 || Ur(i) || $i(i))
2640
2640
  break;
2641
- r.push(i), n += i >= 65536 ? 2 : 1;
2641
+ n.push(i), r += i >= 65536 ? 2 : 1;
2642
2642
  }
2643
- return dt.apply(void 0, r);
2643
+ return pt.apply(void 0, n);
2644
2644
  };
2645
2645
  var Gi = (
2646
2646
  /** @class */
2647
2647
  function() {
2648
- function e(t, n) {
2649
- 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;
2648
+ function e(t, r) {
2649
+ 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
2650
  }
2651
2651
  return e.prototype.parse = function() {
2652
2652
  if (this.offset() !== 0)
2653
2653
  throw Error("parser can only be used once");
2654
2654
  return this.parseMessage(0, "", !1);
2655
- }, e.prototype.parseMessage = function(t, n, r) {
2655
+ }, e.prototype.parseMessage = function(t, r, n) {
2656
2656
  for (var i = []; !this.isEOF(); ) {
2657
- var s = this.char();
2658
- if (s === 123) {
2659
- var o = this.parseArgument(t, r);
2660
- if (o.err)
2661
- return o;
2662
- i.push(o.val);
2657
+ var o = this.char();
2658
+ if (o === 123) {
2659
+ var s = this.parseArgument(t, n);
2660
+ if (s.err)
2661
+ return s;
2662
+ i.push(s.val);
2663
2663
  } else {
2664
- if (s === 125 && t > 0)
2664
+ if (o === 125 && t > 0)
2665
2665
  break;
2666
- if (s === 35 && (n === "plural" || n === "selectordinal")) {
2666
+ if (o === 35 && (r === "plural" || r === "selectordinal")) {
2667
2667
  var a = this.clonePosition();
2668
2668
  this.bump(), i.push({
2669
2669
  type: H.pound,
2670
2670
  location: E(a, this.clonePosition())
2671
2671
  });
2672
- } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2673
- if (r)
2672
+ } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
2673
+ if (n)
2674
2674
  break;
2675
- return this.error(_.UNMATCHED_CLOSING_TAG, E(this.clonePosition(), this.clonePosition()));
2676
- } else if (s === 60 && !this.ignoreTag && mt(this.peek() || 0)) {
2677
- var o = this.parseTag(t, n);
2678
- if (o.err)
2679
- return o;
2680
- i.push(o.val);
2675
+ return this.error(v.UNMATCHED_CLOSING_TAG, E(this.clonePosition(), this.clonePosition()));
2676
+ } else if (o === 60 && !this.ignoreTag && mt(this.peek() || 0)) {
2677
+ var s = this.parseTag(t, r);
2678
+ if (s.err)
2679
+ return s;
2680
+ i.push(s.val);
2681
2681
  } else {
2682
- var o = this.parseLiteral(t, n);
2683
- if (o.err)
2684
- return o;
2685
- i.push(o.val);
2682
+ var s = this.parseLiteral(t, r);
2683
+ if (s.err)
2684
+ return s;
2685
+ i.push(s.val);
2686
2686
  }
2687
2687
  }
2688
2688
  }
2689
2689
  return { val: i, err: null };
2690
- }, e.prototype.parseTag = function(t, n) {
2691
- var r = this.clonePosition();
2690
+ }, e.prototype.parseTag = function(t, r) {
2691
+ var n = this.clonePosition();
2692
2692
  this.bump();
2693
2693
  var i = this.parseTagName();
2694
2694
  if (this.bumpSpace(), this.bumpIf("/>"))
@@ -2696,49 +2696,49 @@ var Gi = (
2696
2696
  val: {
2697
2697
  type: H.literal,
2698
2698
  value: "<".concat(i, "/>"),
2699
- location: E(r, this.clonePosition())
2699
+ location: E(n, this.clonePosition())
2700
2700
  },
2701
2701
  err: null
2702
2702
  };
2703
2703
  if (this.bumpIf(">")) {
2704
- var s = this.parseMessage(t + 1, n, !0);
2705
- if (s.err)
2706
- return s;
2707
- var o = s.val, a = this.clonePosition();
2704
+ var o = this.parseMessage(t + 1, r, !0);
2705
+ if (o.err)
2706
+ return o;
2707
+ var s = o.val, a = this.clonePosition();
2708
2708
  if (this.bumpIf("</")) {
2709
2709
  if (this.isEOF() || !mt(this.char()))
2710
- return this.error(_.INVALID_TAG, E(a, this.clonePosition()));
2710
+ return this.error(v.INVALID_TAG, E(a, this.clonePosition()));
2711
2711
  var u = this.clonePosition(), l = this.parseTagName();
2712
- return i !== l ? this.error(_.UNMATCHED_CLOSING_TAG, E(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2712
+ return i !== l ? this.error(v.UNMATCHED_CLOSING_TAG, E(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2713
2713
  val: {
2714
2714
  type: H.tag,
2715
2715
  value: i,
2716
- children: o,
2717
- location: E(r, this.clonePosition())
2716
+ children: s,
2717
+ location: E(n, this.clonePosition())
2718
2718
  },
2719
2719
  err: null
2720
- } : this.error(_.INVALID_TAG, E(a, this.clonePosition())));
2720
+ } : this.error(v.INVALID_TAG, E(a, this.clonePosition())));
2721
2721
  } else
2722
- return this.error(_.UNCLOSED_TAG, E(r, this.clonePosition()));
2722
+ return this.error(v.UNCLOSED_TAG, E(n, this.clonePosition()));
2723
2723
  } else
2724
- return this.error(_.INVALID_TAG, E(r, this.clonePosition()));
2724
+ return this.error(v.INVALID_TAG, E(n, this.clonePosition()));
2725
2725
  }, e.prototype.parseTagName = function() {
2726
2726
  var t = this.offset();
2727
2727
  for (this.bump(); !this.isEOF() && ki(this.char()); )
2728
2728
  this.bump();
2729
2729
  return this.message.slice(t, this.offset());
2730
- }, e.prototype.parseLiteral = function(t, n) {
2731
- for (var r = this.clonePosition(), i = ""; ; ) {
2732
- var s = this.tryParseQuote(n);
2733
- if (s) {
2734
- i += s;
2735
- continue;
2736
- }
2737
- var o = this.tryParseUnquoted(t, n);
2730
+ }, e.prototype.parseLiteral = function(t, r) {
2731
+ for (var n = this.clonePosition(), i = ""; ; ) {
2732
+ var o = this.tryParseQuote(r);
2738
2733
  if (o) {
2739
2734
  i += o;
2740
2735
  continue;
2741
2736
  }
2737
+ var s = this.tryParseUnquoted(t, r);
2738
+ if (s) {
2739
+ i += s;
2740
+ continue;
2741
+ }
2742
2742
  var a = this.tryParseLeftAngleBracket();
2743
2743
  if (a) {
2744
2744
  i += a;
@@ -2746,7 +2746,7 @@ var Gi = (
2746
2746
  }
2747
2747
  break;
2748
2748
  }
2749
- var u = E(r, this.clonePosition());
2749
+ var u = E(n, this.clonePosition());
2750
2750
  return {
2751
2751
  val: { type: H.literal, value: i, location: u },
2752
2752
  err: null
@@ -2773,37 +2773,37 @@ var Gi = (
2773
2773
  return null;
2774
2774
  }
2775
2775
  this.bump();
2776
- var n = [this.char()];
2776
+ var r = [this.char()];
2777
2777
  for (this.bump(); !this.isEOF(); ) {
2778
- var r = this.char();
2779
- if (r === 39)
2778
+ var n = this.char();
2779
+ if (n === 39)
2780
2780
  if (this.peek() === 39)
2781
- n.push(39), this.bump();
2781
+ r.push(39), this.bump();
2782
2782
  else {
2783
2783
  this.bump();
2784
2784
  break;
2785
2785
  }
2786
2786
  else
2787
- n.push(r);
2787
+ r.push(n);
2788
2788
  this.bump();
2789
2789
  }
2790
- return dt.apply(void 0, n);
2791
- }, e.prototype.tryParseUnquoted = function(t, n) {
2790
+ return pt.apply(void 0, r);
2791
+ }, e.prototype.tryParseUnquoted = function(t, r) {
2792
2792
  if (this.isEOF())
2793
2793
  return null;
2794
- var r = this.char();
2795
- return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), dt(r));
2796
- }, e.prototype.parseArgument = function(t, n) {
2797
- var r = this.clonePosition();
2794
+ var n = this.char();
2795
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), pt(n));
2796
+ }, e.prototype.parseArgument = function(t, r) {
2797
+ var n = this.clonePosition();
2798
2798
  if (this.bump(), this.bumpSpace(), this.isEOF())
2799
- return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, E(r, this.clonePosition()));
2799
+ return this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, E(n, this.clonePosition()));
2800
2800
  if (this.char() === 125)
2801
- return this.bump(), this.error(_.EMPTY_ARGUMENT, E(r, this.clonePosition()));
2801
+ return this.bump(), this.error(v.EMPTY_ARGUMENT, E(n, this.clonePosition()));
2802
2802
  var i = this.parseIdentifierIfPossible().value;
2803
2803
  if (!i)
2804
- return this.error(_.MALFORMED_ARGUMENT, E(r, this.clonePosition()));
2804
+ return this.error(v.MALFORMED_ARGUMENT, E(n, this.clonePosition()));
2805
2805
  if (this.bumpSpace(), this.isEOF())
2806
- return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, E(r, this.clonePosition()));
2806
+ return this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, E(n, this.clonePosition()));
2807
2807
  switch (this.char()) {
2808
2808
  case 125:
2809
2809
  return this.bump(), {
@@ -2811,25 +2811,25 @@ var Gi = (
2811
2811
  type: H.argument,
2812
2812
  // value does not include the opening and closing braces.
2813
2813
  value: i,
2814
- location: E(r, this.clonePosition())
2814
+ location: E(n, this.clonePosition())
2815
2815
  },
2816
2816
  err: null
2817
2817
  };
2818
2818
  case 44:
2819
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, E(r, this.clonePosition())) : this.parseArgumentOptions(t, n, i, r);
2819
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, E(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2820
2820
  default:
2821
- return this.error(_.MALFORMED_ARGUMENT, E(r, this.clonePosition()));
2821
+ return this.error(v.MALFORMED_ARGUMENT, E(n, this.clonePosition()));
2822
2822
  }
2823
2823
  }, e.prototype.parseIdentifierIfPossible = function() {
2824
- var t = this.clonePosition(), n = this.offset(), r = pt(this.message, n), i = n + r.length;
2824
+ var t = this.clonePosition(), r = this.offset(), n = dt(this.message, r), i = r + n.length;
2825
2825
  this.bumpTo(i);
2826
- var s = this.clonePosition(), o = E(t, s);
2827
- return { value: r, location: o };
2828
- }, e.prototype.parseArgumentOptions = function(t, n, r, i) {
2829
- var s, o = this.clonePosition(), a = this.parseIdentifierIfPossible().value, u = this.clonePosition();
2826
+ var o = this.clonePosition(), s = E(t, o);
2827
+ return { value: n, location: s };
2828
+ }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
2829
+ var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, u = this.clonePosition();
2830
2830
  switch (a) {
2831
2831
  case "":
2832
- return this.error(_.EXPECT_ARGUMENT_TYPE, E(o, u));
2832
+ return this.error(v.EXPECT_ARGUMENT_TYPE, E(s, u));
2833
2833
  case "number":
2834
2834
  case "date":
2835
2835
  case "time": {
@@ -2837,12 +2837,12 @@ var Gi = (
2837
2837
  var l = null;
2838
2838
  if (this.bumpIf(",")) {
2839
2839
  this.bumpSpace();
2840
- var c = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
2841
- if (d.err)
2842
- return d;
2843
- var f = Di(d.val);
2840
+ var c = this.clonePosition(), p = this.parseSimpleArgStyleIfPossible();
2841
+ if (p.err)
2842
+ return p;
2843
+ var f = Di(p.val);
2844
2844
  if (f.length === 0)
2845
- return this.error(_.EXPECT_ARGUMENT_STYLE, E(this.clonePosition(), this.clonePosition()));
2845
+ return this.error(v.EXPECT_ARGUMENT_STYLE, E(this.clonePosition(), this.clonePosition()));
2846
2846
  var m = E(c, this.clonePosition());
2847
2847
  l = { style: f, styleLocation: m };
2848
2848
  }
@@ -2853,24 +2853,24 @@ var Gi = (
2853
2853
  if (l && zt(l == null ? void 0 : l.style, "::", 0)) {
2854
2854
  var O = Fi(l.style.slice(2));
2855
2855
  if (a === "number") {
2856
- var d = this.parseNumberSkeletonFromString(O, l.styleLocation);
2857
- return d.err ? d : {
2858
- val: { type: H.number, value: r, location: b, style: d.val },
2856
+ var p = this.parseNumberSkeletonFromString(O, l.styleLocation);
2857
+ return p.err ? p : {
2858
+ val: { type: H.number, value: n, location: b, style: p.val },
2859
2859
  err: null
2860
2860
  };
2861
2861
  } else {
2862
2862
  if (O.length === 0)
2863
- return this.error(_.EXPECT_DATE_TIME_SKELETON, b);
2863
+ return this.error(v.EXPECT_DATE_TIME_SKELETON, b);
2864
2864
  var R = O;
2865
2865
  this.locale && (R = Hi(O, this.locale));
2866
2866
  var f = {
2867
2867
  type: fe.dateTime,
2868
2868
  pattern: R,
2869
2869
  location: l.styleLocation,
2870
- parsedOptions: this.shouldParseSkeletons ? _i(R) : {}
2870
+ parsedOptions: this.shouldParseSkeletons ? vi(R) : {}
2871
2871
  }, I = a === "date" ? H.date : H.time;
2872
2872
  return {
2873
- val: { type: I, value: r, location: b, style: f },
2873
+ val: { type: I, value: n, location: b, style: f },
2874
2874
  err: null
2875
2875
  };
2876
2876
  }
@@ -2878,9 +2878,9 @@ var Gi = (
2878
2878
  return {
2879
2879
  val: {
2880
2880
  type: a === "number" ? H.number : a === "date" ? H.date : H.time,
2881
- value: r,
2881
+ value: n,
2882
2882
  location: b,
2883
- style: (s = l == null ? void 0 : l.style) !== null && s !== void 0 ? s : null
2883
+ style: (o = l == null ? void 0 : l.style) !== null && o !== void 0 ? o : null
2884
2884
  },
2885
2885
  err: null
2886
2886
  };
@@ -2890,19 +2890,19 @@ var Gi = (
2890
2890
  case "select": {
2891
2891
  var T = this.clonePosition();
2892
2892
  if (this.bumpSpace(), !this.bumpIf(","))
2893
- return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, E(T, w({}, T)));
2893
+ return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, E(T, w({}, T)));
2894
2894
  this.bumpSpace();
2895
2895
  var B = this.parseIdentifierIfPossible(), x = 0;
2896
2896
  if (a !== "select" && B.value === "offset") {
2897
2897
  if (!this.bumpIf(":"))
2898
- return this.error(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, E(this.clonePosition(), this.clonePosition()));
2898
+ return this.error(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, E(this.clonePosition(), this.clonePosition()));
2899
2899
  this.bumpSpace();
2900
- var d = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2901
- if (d.err)
2902
- return d;
2903
- this.bumpSpace(), B = this.parseIdentifierIfPossible(), x = d.val;
2900
+ var p = this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2901
+ if (p.err)
2902
+ return p;
2903
+ this.bumpSpace(), B = this.parseIdentifierIfPossible(), x = p.val;
2904
2904
  }
2905
- var D = this.tryParsePluralOrSelectOptions(t, a, n, B);
2905
+ var D = this.tryParsePluralOrSelectOptions(t, a, r, B);
2906
2906
  if (D.err)
2907
2907
  return D;
2908
2908
  var y = this.tryParseArgumentClose(i);
@@ -2912,7 +2912,7 @@ var Gi = (
2912
2912
  return a === "select" ? {
2913
2913
  val: {
2914
2914
  type: H.select,
2915
- value: r,
2915
+ value: n,
2916
2916
  options: Zt(D.val),
2917
2917
  location: F
2918
2918
  },
@@ -2920,7 +2920,7 @@ var Gi = (
2920
2920
  } : {
2921
2921
  val: {
2922
2922
  type: H.plural,
2923
- value: r,
2923
+ value: n,
2924
2924
  options: Zt(D.val),
2925
2925
  offset: x,
2926
2926
  pluralType: a === "plural" ? "cardinal" : "ordinal",
@@ -2930,19 +2930,19 @@ var Gi = (
2930
2930
  };
2931
2931
  }
2932
2932
  default:
2933
- return this.error(_.INVALID_ARGUMENT_TYPE, E(o, u));
2933
+ return this.error(v.INVALID_ARGUMENT_TYPE, E(s, u));
2934
2934
  }
2935
2935
  }, e.prototype.tryParseArgumentClose = function(t) {
2936
- return this.isEOF() || this.char() !== 125 ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, E(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2936
+ return this.isEOF() || this.char() !== 125 ? this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, E(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2937
2937
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
2938
- for (var t = 0, n = this.clonePosition(); !this.isEOF(); ) {
2939
- var r = this.char();
2940
- switch (r) {
2938
+ for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
2939
+ var n = this.char();
2940
+ switch (n) {
2941
2941
  case 39: {
2942
2942
  this.bump();
2943
2943
  var i = this.clonePosition();
2944
2944
  if (!this.bumpUntil("'"))
2945
- return this.error(_.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, E(i, this.clonePosition()));
2945
+ return this.error(v.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, E(i, this.clonePosition()));
2946
2946
  this.bump();
2947
2947
  break;
2948
2948
  }
@@ -2955,7 +2955,7 @@ var Gi = (
2955
2955
  t -= 1;
2956
2956
  else
2957
2957
  return {
2958
- val: this.message.slice(n.offset, this.offset()),
2958
+ val: this.message.slice(r.offset, this.offset()),
2959
2959
  err: null
2960
2960
  };
2961
2961
  break;
@@ -2966,44 +2966,44 @@ var Gi = (
2966
2966
  }
2967
2967
  }
2968
2968
  return {
2969
- val: this.message.slice(n.offset, this.offset()),
2969
+ val: this.message.slice(r.offset, this.offset()),
2970
2970
  err: null
2971
2971
  };
2972
- }, e.prototype.parseNumberSkeletonFromString = function(t, n) {
2973
- var r = [];
2972
+ }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2973
+ var n = [];
2974
2974
  try {
2975
- r = Ei(t);
2975
+ n = Ei(t);
2976
2976
  } catch (i) {
2977
- return this.error(_.INVALID_NUMBER_SKELETON, n);
2977
+ return this.error(v.INVALID_NUMBER_SKELETON, r);
2978
2978
  }
2979
2979
  return {
2980
2980
  val: {
2981
2981
  type: fe.number,
2982
- tokens: r,
2983
- location: n,
2984
- parsedOptions: this.shouldParseSkeletons ? Ti(r) : {}
2982
+ tokens: n,
2983
+ location: r,
2984
+ parsedOptions: this.shouldParseSkeletons ? Ti(n) : {}
2985
2985
  },
2986
2986
  err: null
2987
2987
  };
2988
- }, e.prototype.tryParsePluralOrSelectOptions = function(t, n, r, i) {
2989
- for (var s, o = !1, a = [], u = /* @__PURE__ */ new Set(), l = i.value, c = i.location; ; ) {
2988
+ }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
2989
+ for (var o, s = !1, a = [], u = /* @__PURE__ */ new Set(), l = i.value, c = i.location; ; ) {
2990
2990
  if (l.length === 0) {
2991
- var d = this.clonePosition();
2992
- if (n !== "select" && this.bumpIf("=")) {
2993
- var f = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_SELECTOR, _.INVALID_PLURAL_ARGUMENT_SELECTOR);
2991
+ var p = this.clonePosition();
2992
+ if (r !== "select" && this.bumpIf("=")) {
2993
+ var f = this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_SELECTOR, v.INVALID_PLURAL_ARGUMENT_SELECTOR);
2994
2994
  if (f.err)
2995
2995
  return f;
2996
- c = E(d, this.clonePosition()), l = this.message.slice(d.offset, this.offset());
2996
+ c = E(p, this.clonePosition()), l = this.message.slice(p.offset, this.offset());
2997
2997
  } else
2998
2998
  break;
2999
2999
  }
3000
3000
  if (u.has(l))
3001
- return this.error(n === "select" ? _.DUPLICATE_SELECT_ARGUMENT_SELECTOR : _.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
3002
- l === "other" && (o = !0), this.bumpSpace();
3001
+ return this.error(r === "select" ? v.DUPLICATE_SELECT_ARGUMENT_SELECTOR : v.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
3002
+ l === "other" && (s = !0), this.bumpSpace();
3003
3003
  var m = this.clonePosition();
3004
3004
  if (!this.bumpIf("{"))
3005
- return this.error(n === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : _.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, E(this.clonePosition(), this.clonePosition()));
3006
- var y = this.parseMessage(t + 1, n, r);
3005
+ return this.error(r === "select" ? v.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : v.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, E(this.clonePosition(), this.clonePosition()));
3006
+ var y = this.parseMessage(t + 1, r, n);
3007
3007
  if (y.err)
3008
3008
  return y;
3009
3009
  var b = this.tryParseArgumentClose(m);
@@ -3015,21 +3015,21 @@ var Gi = (
3015
3015
  value: y.val,
3016
3016
  location: E(m, this.clonePosition())
3017
3017
  }
3018
- ]), u.add(l), this.bumpSpace(), s = this.parseIdentifierIfPossible(), l = s.value, c = s.location;
3018
+ ]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, c = o.location;
3019
3019
  }
3020
- return a.length === 0 ? this.error(n === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR : _.EXPECT_PLURAL_ARGUMENT_SELECTOR, E(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(_.MISSING_OTHER_CLAUSE, E(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3021
- }, e.prototype.tryParseDecimalInteger = function(t, n) {
3022
- var r = 1, i = this.clonePosition();
3023
- this.bumpIf("+") || this.bumpIf("-") && (r = -1);
3024
- for (var s = !1, o = 0; !this.isEOF(); ) {
3020
+ return a.length === 0 ? this.error(r === "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 };
3021
+ }, e.prototype.tryParseDecimalInteger = function(t, r) {
3022
+ var n = 1, i = this.clonePosition();
3023
+ this.bumpIf("+") || this.bumpIf("-") && (n = -1);
3024
+ for (var o = !1, s = 0; !this.isEOF(); ) {
3025
3025
  var a = this.char();
3026
3026
  if (a >= 48 && a <= 57)
3027
- s = !0, o = o * 10 + (a - 48), this.bump();
3027
+ o = !0, s = s * 10 + (a - 48), this.bump();
3028
3028
  else
3029
3029
  break;
3030
3030
  }
3031
3031
  var u = E(i, this.clonePosition());
3032
- return s ? (o *= r, Wi(o) ? { val: o, err: null } : this.error(n, u)) : this.error(t, u);
3032
+ return o ? (s *= n, Wi(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3033
3033
  }, e.prototype.offset = function() {
3034
3034
  return this.position.offset;
3035
3035
  }, e.prototype.isEOF = function() {
@@ -3044,17 +3044,17 @@ var Gi = (
3044
3044
  var t = this.position.offset;
3045
3045
  if (t >= this.message.length)
3046
3046
  throw Error("out of bound");
3047
- var n = Wn(this.message, t);
3048
- if (n === void 0)
3047
+ var r = Rr(this.message, t);
3048
+ if (r === void 0)
3049
3049
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3050
- return n;
3051
- }, e.prototype.error = function(t, n) {
3050
+ return r;
3051
+ }, e.prototype.error = function(t, r) {
3052
3052
  return {
3053
3053
  val: null,
3054
3054
  err: {
3055
3055
  kind: t,
3056
3056
  message: this.message,
3057
- location: n
3057
+ location: r
3058
3058
  }
3059
3059
  };
3060
3060
  }, e.prototype.bump = function() {
@@ -3064,34 +3064,34 @@ var Gi = (
3064
3064
  }
3065
3065
  }, e.prototype.bumpIf = function(t) {
3066
3066
  if (zt(this.message, t, this.offset())) {
3067
- for (var n = 0; n < t.length; n++)
3067
+ for (var r = 0; r < t.length; r++)
3068
3068
  this.bump();
3069
3069
  return !0;
3070
3070
  }
3071
3071
  return !1;
3072
3072
  }, e.prototype.bumpUntil = function(t) {
3073
- var n = this.offset(), r = this.message.indexOf(t, n);
3074
- return r >= 0 ? (this.bumpTo(r), !0) : (this.bumpTo(this.message.length), !1);
3073
+ var r = this.offset(), n = this.message.indexOf(t, r);
3074
+ return n >= 0 ? (this.bumpTo(n), !0) : (this.bumpTo(this.message.length), !1);
3075
3075
  }, e.prototype.bumpTo = function(t) {
3076
3076
  if (this.offset() > t)
3077
3077
  throw Error("targetOffset ".concat(t, " must be greater than or equal to the current offset ").concat(this.offset()));
3078
3078
  for (t = Math.min(t, this.message.length); ; ) {
3079
- var n = this.offset();
3080
- if (n === t)
3079
+ var r = this.offset();
3080
+ if (r === t)
3081
3081
  break;
3082
- if (n > t)
3082
+ if (r > t)
3083
3083
  throw Error("targetOffset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3084
3084
  if (this.bump(), this.isEOF())
3085
3085
  break;
3086
3086
  }
3087
3087
  }, e.prototype.bumpSpace = function() {
3088
- for (; !this.isEOF() && Fn(this.char()); )
3088
+ for (; !this.isEOF() && Ur(this.char()); )
3089
3089
  this.bump();
3090
3090
  }, e.prototype.peek = function() {
3091
3091
  if (this.isEOF())
3092
3092
  return null;
3093
- var t = this.char(), n = this.offset(), r = this.message.charCodeAt(n + (t >= 65536 ? 2 : 1));
3094
- return r != null ? r : null;
3093
+ var t = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
3094
+ return n != null ? n : null;
3095
3095
  }, e;
3096
3096
  }()
3097
3097
  );
@@ -3104,7 +3104,7 @@ function ji(e) {
3104
3104
  function ki(e) {
3105
3105
  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;
3106
3106
  }
3107
- function Fn(e) {
3107
+ function Ur(e) {
3108
3108
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3109
3109
  }
3110
3110
  function $i(e) {
@@ -3112,32 +3112,32 @@ function $i(e) {
3112
3112
  }
3113
3113
  function bt(e) {
3114
3114
  e.forEach(function(t) {
3115
- if (delete t.location, Cn(t) || Pn(t))
3116
- for (var n in t.options)
3117
- delete t.options[n].location, bt(t.options[n].value);
3118
- else Hn(t) && Mn(t.style) || (Bn(t) || An(t)) && ct(t.style) ? delete t.style.location : On(t) && bt(t.children);
3115
+ if (delete t.location, Ar(t) || Cr(t))
3116
+ for (var r in t.options)
3117
+ delete t.options[r].location, bt(t.options[r].value);
3118
+ else Tr(t) && Or(t.style) || (Hr(t) || Br(t)) && ct(t.style) ? delete t.style.location : Pr(t) && bt(t.children);
3119
3119
  });
3120
3120
  }
3121
3121
  function Vi(e, t) {
3122
3122
  t === void 0 && (t = {}), t = w({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3123
- var n = new Gi(e, t).parse();
3124
- if (n.err) {
3125
- var r = SyntaxError(_[n.err.kind]);
3126
- throw r.location = n.err.location, r.originalMessage = n.err.message, r;
3123
+ var r = new Gi(e, t).parse();
3124
+ if (r.err) {
3125
+ var n = SyntaxError(v[r.err.kind]);
3126
+ throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3127
3127
  }
3128
- return t != null && t.captureLocation || bt(n.val), n.val;
3128
+ return t != null && t.captureLocation || bt(r.val), r.val;
3129
3129
  }
3130
- var de;
3130
+ var pe;
3131
3131
  (function(e) {
3132
3132
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3133
- })(de || (de = {}));
3133
+ })(pe || (pe = {}));
3134
3134
  var ke = (
3135
3135
  /** @class */
3136
3136
  function(e) {
3137
3137
  K(t, e);
3138
- function t(n, r, i) {
3139
- var s = e.call(this, n) || this;
3140
- return s.code = r, s.originalMessage = i, s;
3138
+ function t(r, n, i) {
3139
+ var o = e.call(this, r) || this;
3140
+ return o.code = n, o.originalMessage = i, o;
3141
3141
  }
3142
3142
  return t.prototype.toString = function() {
3143
3143
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
@@ -3147,8 +3147,8 @@ var ke = (
3147
3147
  /** @class */
3148
3148
  function(e) {
3149
3149
  K(t, e);
3150
- function t(n, r, i, s) {
3151
- return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'), de.INVALID_VALUE, s) || this;
3150
+ function t(r, n, i, o) {
3151
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), pe.INVALID_VALUE, o) || this;
3152
3152
  }
3153
3153
  return t;
3154
3154
  }(ke)
@@ -3156,8 +3156,8 @@ var ke = (
3156
3156
  /** @class */
3157
3157
  function(e) {
3158
3158
  K(t, e);
3159
- function t(n, r, i) {
3160
- return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), de.INVALID_VALUE, i) || this;
3159
+ function t(r, n, i) {
3160
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), pe.INVALID_VALUE, i) || this;
3161
3161
  }
3162
3162
  return t;
3163
3163
  }(ke)
@@ -3165,8 +3165,8 @@ var ke = (
3165
3165
  /** @class */
3166
3166
  function(e) {
3167
3167
  K(t, e);
3168
- function t(n, r) {
3169
- return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), de.MISSING_VALUE, r) || this;
3168
+ function t(r, n) {
3169
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), pe.MISSING_VALUE, n) || this;
3170
3170
  }
3171
3171
  return t;
3172
3172
  }(ke)
@@ -3175,15 +3175,15 @@ var ke = (
3175
3175
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3176
3176
  })(G || (G = {}));
3177
3177
  function Zi(e) {
3178
- return e.length < 2 ? e : e.reduce(function(t, n) {
3179
- var r = t[t.length - 1];
3180
- return !r || r.type !== G.literal || n.type !== G.literal ? t.push(n) : r.value += n.value, t;
3178
+ return e.length < 2 ? e : e.reduce(function(t, r) {
3179
+ var n = t[t.length - 1];
3180
+ return !n || n.type !== G.literal || r.type !== G.literal ? t.push(r) : n.value += r.value, t;
3181
3181
  }, []);
3182
3182
  }
3183
3183
  function Qi(e) {
3184
3184
  return typeof e == "function";
3185
3185
  }
3186
- function Re(e, t, n, r, i, s, o) {
3186
+ function Re(e, t, r, n, i, o, s) {
3187
3187
  if (e.length === 1 && kt(e[0]))
3188
3188
  return [
3189
3189
  {
@@ -3201,16 +3201,16 @@ function Re(e, t, n, r, i, s, o) {
3201
3201
  continue;
3202
3202
  }
3203
3203
  if (gi(c)) {
3204
- typeof s == "number" && a.push({
3204
+ typeof o == "number" && a.push({
3205
3205
  type: G.literal,
3206
- value: n.getNumberFormat(t).format(s)
3206
+ value: r.getNumberFormat(t).format(o)
3207
3207
  });
3208
3208
  continue;
3209
3209
  }
3210
- var d = c.value;
3211
- if (!(i && d in i))
3212
- throw new zi(d, o);
3213
- var f = i[d];
3210
+ var p = c.value;
3211
+ if (!(i && p in i))
3212
+ throw new zi(p, s);
3213
+ var f = i[p];
3214
3214
  if (bi(c)) {
3215
3215
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3216
3216
  type: typeof f == "string" ? G.literal : G.object,
@@ -3218,35 +3218,35 @@ function Re(e, t, n, r, i, s, o) {
3218
3218
  });
3219
3219
  continue;
3220
3220
  }
3221
- if (Bn(c)) {
3222
- var m = typeof c.style == "string" ? r.date[c.style] : ct(c.style) ? c.style.parsedOptions : void 0;
3221
+ if (Hr(c)) {
3222
+ var m = typeof c.style == "string" ? n.date[c.style] : ct(c.style) ? c.style.parsedOptions : void 0;
3223
3223
  a.push({
3224
3224
  type: G.literal,
3225
- value: n.getDateTimeFormat(t, m).format(f)
3225
+ value: r.getDateTimeFormat(t, m).format(f)
3226
3226
  });
3227
3227
  continue;
3228
3228
  }
3229
- if (An(c)) {
3230
- var m = typeof c.style == "string" ? r.time[c.style] : ct(c.style) ? c.style.parsedOptions : r.time.medium;
3229
+ if (Br(c)) {
3230
+ var m = typeof c.style == "string" ? n.time[c.style] : ct(c.style) ? c.style.parsedOptions : n.time.medium;
3231
3231
  a.push({
3232
3232
  type: G.literal,
3233
- value: n.getDateTimeFormat(t, m).format(f)
3233
+ value: r.getDateTimeFormat(t, m).format(f)
3234
3234
  });
3235
3235
  continue;
3236
3236
  }
3237
- if (Hn(c)) {
3238
- var m = typeof c.style == "string" ? r.number[c.style] : Mn(c.style) ? c.style.parsedOptions : void 0;
3237
+ if (Tr(c)) {
3238
+ var m = typeof c.style == "string" ? n.number[c.style] : Or(c.style) ? c.style.parsedOptions : void 0;
3239
3239
  m && m.scale && (f = f * (m.scale || 1)), a.push({
3240
3240
  type: G.literal,
3241
- value: n.getNumberFormat(t, m).format(f)
3241
+ value: r.getNumberFormat(t, m).format(f)
3242
3242
  });
3243
3243
  continue;
3244
3244
  }
3245
- if (On(c)) {
3245
+ if (Pr(c)) {
3246
3246
  var y = c.children, b = c.value, O = i[b];
3247
3247
  if (!Qi(O))
3248
- throw new Xi(b, "function", o);
3249
- var R = Re(y, t, n, r, i, s), I = O(R.map(function(x) {
3248
+ throw new Xi(b, "function", s);
3249
+ var R = Re(y, t, r, n, i, o), I = O(R.map(function(x) {
3250
3250
  return x.value;
3251
3251
  }));
3252
3252
  Array.isArray(I) || (I = [I]), a.push.apply(a, I.map(function(x) {
@@ -3256,50 +3256,50 @@ function Re(e, t, n, r, i, s, o) {
3256
3256
  };
3257
3257
  }));
3258
3258
  }
3259
- if (Cn(c)) {
3259
+ if (Ar(c)) {
3260
3260
  var T = c.options[f] || c.options.other;
3261
3261
  if (!T)
3262
- throw new Jt(c.value, f, Object.keys(c.options), o);
3263
- a.push.apply(a, Re(T.value, t, n, r, i));
3262
+ throw new Jt(c.value, f, Object.keys(c.options), s);
3263
+ a.push.apply(a, Re(T.value, t, r, n, i));
3264
3264
  continue;
3265
3265
  }
3266
- if (Pn(c)) {
3266
+ if (Cr(c)) {
3267
3267
  var T = c.options["=".concat(f)];
3268
3268
  if (!T) {
3269
3269
  if (!Intl.PluralRules)
3270
3270
  throw new ke(`Intl.PluralRules is not available in this environment.
3271
3271
  Try polyfilling it using "@formatjs/intl-pluralrules"
3272
- `, de.MISSING_INTL_API, o);
3273
- var B = n.getPluralRules(t, { type: c.pluralType }).select(f - (c.offset || 0));
3272
+ `, pe.MISSING_INTL_API, s);
3273
+ var B = r.getPluralRules(t, { type: c.pluralType }).select(f - (c.offset || 0));
3274
3274
  T = c.options[B] || c.options.other;
3275
3275
  }
3276
3276
  if (!T)
3277
- throw new Jt(c.value, f, Object.keys(c.options), o);
3278
- a.push.apply(a, Re(T.value, t, n, r, i, f - (c.offset || 0)));
3277
+ throw new Jt(c.value, f, Object.keys(c.options), s);
3278
+ a.push.apply(a, Re(T.value, t, r, n, i, f - (c.offset || 0)));
3279
3279
  continue;
3280
3280
  }
3281
3281
  }
3282
3282
  return Zi(a);
3283
3283
  }
3284
3284
  function Ji(e, t) {
3285
- return t ? w(w(w({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
3286
- return n[r] = w(w({}, e[r]), t[r] || {}), n;
3285
+ return t ? w(w(w({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3286
+ return r[n] = w(w({}, e[n]), t[n] || {}), r;
3287
3287
  }, {})) : e;
3288
3288
  }
3289
3289
  function Yi(e, t) {
3290
- return t ? Object.keys(e).reduce(function(n, r) {
3291
- return n[r] = Ji(e[r], t[r]), n;
3290
+ return t ? Object.keys(e).reduce(function(r, n) {
3291
+ return r[n] = Ji(e[n], t[n]), r;
3292
3292
  }, w({}, e)) : e;
3293
3293
  }
3294
- function rt(e) {
3294
+ function nt(e) {
3295
3295
  return {
3296
3296
  create: function() {
3297
3297
  return {
3298
3298
  get: function(t) {
3299
3299
  return e[t];
3300
3300
  },
3301
- set: function(t, n) {
3302
- e[t] = n;
3301
+ set: function(t, r) {
3302
+ e[t] = r;
3303
3303
  }
3304
3304
  };
3305
3305
  }
@@ -3312,27 +3312,27 @@ function qi(e) {
3312
3312
  pluralRules: {}
3313
3313
  }), {
3314
3314
  getNumberFormat: et(function() {
3315
- for (var t, n = [], r = 0; r < arguments.length; r++)
3316
- n[r] = arguments[r];
3317
- return new ((t = Intl.NumberFormat).bind.apply(t, he([void 0], n, !1)))();
3315
+ for (var t, r = [], n = 0; n < arguments.length; n++)
3316
+ r[n] = arguments[n];
3317
+ return new ((t = Intl.NumberFormat).bind.apply(t, he([void 0], r, !1)))();
3318
3318
  }, {
3319
- cache: rt(e.number),
3319
+ cache: nt(e.number),
3320
3320
  strategy: tt.variadic
3321
3321
  }),
3322
3322
  getDateTimeFormat: et(function() {
3323
- for (var t, n = [], r = 0; r < arguments.length; r++)
3324
- n[r] = arguments[r];
3325
- return new ((t = Intl.DateTimeFormat).bind.apply(t, he([void 0], n, !1)))();
3323
+ for (var t, r = [], n = 0; n < arguments.length; n++)
3324
+ r[n] = arguments[n];
3325
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, he([void 0], r, !1)))();
3326
3326
  }, {
3327
- cache: rt(e.dateTime),
3327
+ cache: nt(e.dateTime),
3328
3328
  strategy: tt.variadic
3329
3329
  }),
3330
3330
  getPluralRules: et(function() {
3331
- for (var t, n = [], r = 0; r < arguments.length; r++)
3332
- n[r] = arguments[r];
3333
- return new ((t = Intl.PluralRules).bind.apply(t, he([void 0], n, !1)))();
3331
+ for (var t, r = [], n = 0; n < arguments.length; n++)
3332
+ r[n] = arguments[n];
3333
+ return new ((t = Intl.PluralRules).bind.apply(t, he([void 0], r, !1)))();
3334
3334
  }, {
3335
- cache: rt(e.pluralRules),
3335
+ cache: nt(e.pluralRules),
3336
3336
  strategy: tt.variadic
3337
3337
  })
3338
3338
  };
@@ -3340,42 +3340,42 @@ function qi(e) {
3340
3340
  var Ki = (
3341
3341
  /** @class */
3342
3342
  function() {
3343
- function e(t, n, r, i) {
3344
- n === void 0 && (n = e.defaultLocale);
3345
- var s = this;
3343
+ function e(t, r, n, i) {
3344
+ r === void 0 && (r = e.defaultLocale);
3345
+ var o = this;
3346
3346
  if (this.formatterCache = {
3347
3347
  number: {},
3348
3348
  dateTime: {},
3349
3349
  pluralRules: {}
3350
3350
  }, this.format = function(u) {
3351
- var l = s.formatToParts(u);
3351
+ var l = o.formatToParts(u);
3352
3352
  if (l.length === 1)
3353
3353
  return l[0].value;
3354
- var c = l.reduce(function(d, f) {
3355
- return !d.length || f.type !== G.literal || typeof d[d.length - 1] != "string" ? d.push(f.value) : d[d.length - 1] += f.value, d;
3354
+ var c = l.reduce(function(p, f) {
3355
+ return !p.length || f.type !== G.literal || typeof p[p.length - 1] != "string" ? p.push(f.value) : p[p.length - 1] += f.value, p;
3356
3356
  }, []);
3357
3357
  return c.length <= 1 ? c[0] || "" : c;
3358
3358
  }, this.formatToParts = function(u) {
3359
- return Re(s.ast, s.locales, s.formatters, s.formats, u, void 0, s.message);
3359
+ return Re(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
3360
3360
  }, this.resolvedOptions = function() {
3361
3361
  var u;
3362
3362
  return {
3363
- locale: ((u = s.resolvedLocale) === null || u === void 0 ? void 0 : u.toString()) || Intl.NumberFormat.supportedLocalesOf(s.locales)[0]
3363
+ locale: ((u = o.resolvedLocale) === null || u === void 0 ? void 0 : u.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
3364
3364
  };
3365
3365
  }, this.getAst = function() {
3366
- return s.ast;
3367
- }, this.locales = n, this.resolvedLocale = e.resolveLocale(n), typeof t == "string") {
3366
+ return o.ast;
3367
+ }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
3368
3368
  if (this.message = t, !e.__parse)
3369
3369
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3370
- var o = i || {};
3371
- o.formatters;
3372
- var a = ui(o, ["formatters"]);
3370
+ var s = i || {};
3371
+ s.formatters;
3372
+ var a = ui(s, ["formatters"]);
3373
3373
  this.ast = e.__parse(t, w(w({}, a), { locale: this.resolvedLocale }));
3374
3374
  } else
3375
3375
  this.ast = t;
3376
3376
  if (!Array.isArray(this.ast))
3377
3377
  throw new TypeError("A message must be provided as a String or AST.");
3378
- this.formats = Yi(e.formats, r), this.formatters = i && i.formatters || qi(this.formatterCache);
3378
+ this.formats = Yi(e.formats, n), this.formatters = i && i.formatters || qi(this.formatterCache);
3379
3379
  }
3380
3380
  return Object.defineProperty(e, "defaultLocale", {
3381
3381
  get: function() {
@@ -3385,8 +3385,8 @@ var Ki = (
3385
3385
  configurable: !0
3386
3386
  }), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
3387
3387
  if (typeof Intl.Locale != "undefined") {
3388
- var n = Intl.NumberFormat.supportedLocalesOf(t);
3389
- return n.length > 0 ? new Intl.Locale(n[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3388
+ var r = Intl.NumberFormat.supportedLocalesOf(t);
3389
+ return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3390
3390
  }
3391
3391
  }, e.__parse = Vi, e.formats = {
3392
3392
  number: {
@@ -3449,65 +3449,65 @@ var Ki = (
3449
3449
  }, e;
3450
3450
  }()
3451
3451
  );
3452
- function es(e, t) {
3452
+ function eo(e, t) {
3453
3453
  if (t == null)
3454
3454
  return;
3455
3455
  if (t in e)
3456
3456
  return e[t];
3457
- const n = t.split(".");
3458
- let r = e;
3459
- for (let i = 0; i < n.length; i++)
3460
- if (typeof r == "object") {
3457
+ const r = t.split(".");
3458
+ let n = e;
3459
+ for (let i = 0; i < r.length; i++)
3460
+ if (typeof n == "object") {
3461
3461
  if (i > 0) {
3462
- const s = n.slice(i, n.length).join(".");
3463
- if (s in r) {
3464
- r = r[s];
3462
+ const o = r.slice(i, r.length).join(".");
3463
+ if (o in n) {
3464
+ n = n[o];
3465
3465
  break;
3466
3466
  }
3467
3467
  }
3468
- r = r[n[i]];
3468
+ n = n[r[i]];
3469
3469
  } else
3470
- r = void 0;
3471
- return r;
3470
+ n = void 0;
3471
+ return n;
3472
3472
  }
3473
- const ne = {}, ts = (e, t, n) => n && (t in ne || (ne[t] = {}), e in ne[t] || (ne[t][e] = n), n), Dn = (e, t) => {
3473
+ const re = {}, to = (e, t, r) => r && (t in re || (re[t] = {}), e in re[t] || (re[t][e] = r), r), Fr = (e, t) => {
3474
3474
  if (t == null)
3475
3475
  return;
3476
- if (t in ne && e in ne[t])
3477
- return ne[t][e];
3478
- const n = $e(t);
3479
- for (let r = 0; r < n.length; r++) {
3480
- const i = n[r], s = rs(i, e);
3481
- if (s)
3482
- return ts(e, t, s);
3476
+ if (t in re && e in re[t])
3477
+ return re[t][e];
3478
+ const r = $e(t);
3479
+ for (let n = 0; n < r.length; n++) {
3480
+ const i = r[n], o = no(i, e);
3481
+ if (o)
3482
+ return to(e, t, o);
3483
3483
  }
3484
3484
  };
3485
3485
  let wt;
3486
3486
  const He = je({});
3487
- function ns(e) {
3487
+ function ro(e) {
3488
3488
  return wt[e] || null;
3489
3489
  }
3490
- function Gn(e) {
3490
+ function Dr(e) {
3491
3491
  return e in wt;
3492
3492
  }
3493
- function rs(e, t) {
3494
- if (!Gn(e))
3493
+ function no(e, t) {
3494
+ if (!Dr(e))
3495
3495
  return null;
3496
- const n = ns(e);
3497
- return es(n, t);
3496
+ const r = ro(e);
3497
+ return eo(r, t);
3498
3498
  }
3499
- function is(e) {
3499
+ function io(e) {
3500
3500
  if (e == null)
3501
3501
  return;
3502
3502
  const t = $e(e);
3503
- for (let n = 0; n < t.length; n++) {
3504
- const r = t[n];
3505
- if (Gn(r))
3506
- return r;
3503
+ for (let r = 0; r < t.length; r++) {
3504
+ const n = t[r];
3505
+ if (Dr(n))
3506
+ return n;
3507
3507
  }
3508
3508
  }
3509
- function jn(e, ...t) {
3510
- delete ne[e], He.update((n) => (n[e] = ai.all([n[e] || {}, ...t]), n));
3509
+ function Gr(e, ...t) {
3510
+ delete re[e], He.update((r) => (r[e] = ai.all([r[e] || {}, ...t]), r));
3511
3511
  }
3512
3512
  be(
3513
3513
  [He],
@@ -3515,47 +3515,47 @@ be(
3515
3515
  );
3516
3516
  He.subscribe((e) => wt = e);
3517
3517
  const We = {};
3518
- function ss(e, t) {
3518
+ function oo(e, t) {
3519
3519
  We[e].delete(t), We[e].size === 0 && delete We[e];
3520
3520
  }
3521
- function kn(e) {
3521
+ function jr(e) {
3522
3522
  return We[e];
3523
3523
  }
3524
- function os(e) {
3524
+ function so(e) {
3525
3525
  return $e(e).map((t) => {
3526
- const n = kn(t);
3527
- return [t, n ? [...n] : []];
3526
+ const r = jr(t);
3527
+ return [t, r ? [...r] : []];
3528
3528
  }).filter(([, t]) => t.length > 0);
3529
3529
  }
3530
3530
  function gt(e) {
3531
3531
  return e == null ? !1 : $e(e).some(
3532
3532
  (t) => {
3533
- var n;
3534
- return (n = kn(t)) == null ? void 0 : n.size;
3533
+ var r;
3534
+ return (r = jr(t)) == null ? void 0 : r.size;
3535
3535
  }
3536
3536
  );
3537
3537
  }
3538
- function as(e, t) {
3538
+ function ao(e, t) {
3539
3539
  return Promise.all(
3540
- t.map((r) => (ss(e, r), r().then((i) => i.default || i)))
3541
- ).then((r) => jn(e, ...r));
3540
+ t.map((n) => (oo(e, n), n().then((i) => i.default || i)))
3541
+ ).then((n) => Gr(e, ...n));
3542
3542
  }
3543
- const _e = {};
3544
- function $n(e) {
3543
+ const ve = {};
3544
+ function kr(e) {
3545
3545
  if (!gt(e))
3546
- return e in _e ? _e[e] : Promise.resolve();
3547
- const t = os(e);
3548
- return _e[e] = Promise.all(
3546
+ return e in ve ? ve[e] : Promise.resolve();
3547
+ const t = so(e);
3548
+ return ve[e] = Promise.all(
3549
3549
  t.map(
3550
- ([n, r]) => as(n, r)
3550
+ ([r, n]) => ao(r, n)
3551
3551
  )
3552
3552
  ).then(() => {
3553
3553
  if (gt(e))
3554
- return $n(e);
3555
- delete _e[e];
3556
- }), _e[e];
3554
+ return kr(e);
3555
+ delete ve[e];
3556
+ }), ve[e];
3557
3557
  }
3558
- const us = {
3558
+ const uo = {
3559
3559
  number: {
3560
3560
  scientific: { notation: "scientific" },
3561
3561
  engineering: { notation: "engineering" },
@@ -3584,178 +3584,178 @@ const us = {
3584
3584
  timeZoneName: "short"
3585
3585
  }
3586
3586
  }
3587
- }, ls = {
3587
+ }, lo = {
3588
3588
  fallbackLocale: null,
3589
3589
  loadingDelay: 200,
3590
- formats: us,
3590
+ formats: uo,
3591
3591
  warnOnMissingMessages: !0,
3592
3592
  handleMissingMessage: void 0,
3593
3593
  ignoreTag: !0
3594
- }, hs = ls;
3595
- function pe() {
3596
- return hs;
3594
+ }, ho = lo;
3595
+ function de() {
3596
+ return ho;
3597
3597
  }
3598
3598
  const it = je(!1);
3599
- var cs = Object.defineProperty, fs = Object.defineProperties, ds = Object.getOwnPropertyDescriptors, Yt = Object.getOwnPropertySymbols, ps = Object.prototype.hasOwnProperty, ms = Object.prototype.propertyIsEnumerable, qt = (e, t, n) => t in e ? cs(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, bs = (e, t) => {
3600
- for (var n in t || (t = {}))
3601
- ps.call(t, n) && qt(e, n, t[n]);
3599
+ var co = Object.defineProperty, fo = Object.defineProperties, po = Object.getOwnPropertyDescriptors, Yt = Object.getOwnPropertySymbols, mo = Object.prototype.hasOwnProperty, bo = Object.prototype.propertyIsEnumerable, qt = (e, t, r) => t in e ? co(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, go = (e, t) => {
3600
+ for (var r in t || (t = {}))
3601
+ mo.call(t, r) && qt(e, r, t[r]);
3602
3602
  if (Yt)
3603
- for (var n of Yt(t))
3604
- ms.call(t, n) && qt(e, n, t[n]);
3603
+ for (var r of Yt(t))
3604
+ bo.call(t, r) && qt(e, r, t[r]);
3605
3605
  return e;
3606
- }, gs = (e, t) => fs(e, ds(t));
3606
+ }, yo = (e, t) => fo(e, po(t));
3607
3607
  let yt;
3608
3608
  const De = je(null);
3609
3609
  function Kt(e) {
3610
- return e.split("-").map((t, n, r) => r.slice(0, n + 1).join("-")).reverse();
3610
+ return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3611
3611
  }
3612
- function $e(e, t = pe().fallbackLocale) {
3613
- const n = Kt(e);
3614
- return t ? [.../* @__PURE__ */ new Set([...n, ...Kt(t)])] : n;
3612
+ function $e(e, t = de().fallbackLocale) {
3613
+ const r = Kt(e);
3614
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Kt(t)])] : r;
3615
3615
  }
3616
- function re() {
3616
+ function ne() {
3617
3617
  return yt != null ? yt : void 0;
3618
3618
  }
3619
3619
  De.subscribe((e) => {
3620
3620
  yt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3621
3621
  });
3622
- const ys = (e) => {
3623
- if (e && is(e) && gt(e)) {
3624
- const { loadingDelay: t } = pe();
3625
- let n;
3626
- return typeof window != "undefined" && re() != null && t ? n = window.setTimeout(
3622
+ const vo = (e) => {
3623
+ if (e && io(e) && gt(e)) {
3624
+ const { loadingDelay: t } = de();
3625
+ let r;
3626
+ return typeof window != "undefined" && ne() != null && t ? r = window.setTimeout(
3627
3627
  () => it.set(!0),
3628
3628
  t
3629
- ) : it.set(!0), $n(e).then(() => {
3629
+ ) : it.set(!0), kr(e).then(() => {
3630
3630
  De.set(e);
3631
3631
  }).finally(() => {
3632
- clearTimeout(n), it.set(!1);
3632
+ clearTimeout(r), it.set(!1);
3633
3633
  });
3634
3634
  }
3635
3635
  return De.set(e);
3636
- }, ge = gs(bs({}, De), {
3637
- set: ys
3636
+ }, ge = yo(go({}, De), {
3637
+ set: vo
3638
3638
  }), Ve = (e) => {
3639
3639
  const t = /* @__PURE__ */ Object.create(null);
3640
- return (r) => {
3641
- const i = JSON.stringify(r);
3642
- return i in t ? t[i] : t[i] = e(r);
3640
+ return (n) => {
3641
+ const i = JSON.stringify(n);
3642
+ return i in t ? t[i] : t[i] = e(n);
3643
3643
  };
3644
3644
  };
3645
- var _s = Object.defineProperty, Ge = Object.getOwnPropertySymbols, Vn = Object.prototype.hasOwnProperty, Xn = Object.prototype.propertyIsEnumerable, en = (e, t, n) => t in e ? _s(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, St = (e, t) => {
3646
- for (var n in t || (t = {}))
3647
- Vn.call(t, n) && en(e, n, t[n]);
3645
+ var _o = Object.defineProperty, Ge = Object.getOwnPropertySymbols, $r = Object.prototype.hasOwnProperty, Vr = Object.prototype.propertyIsEnumerable, er = (e, t, r) => t in e ? _o(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, St = (e, t) => {
3646
+ for (var r in t || (t = {}))
3647
+ $r.call(t, r) && er(e, r, t[r]);
3648
3648
  if (Ge)
3649
- for (var n of Ge(t))
3650
- Xn.call(t, n) && en(e, n, t[n]);
3649
+ for (var r of Ge(t))
3650
+ Vr.call(t, r) && er(e, r, t[r]);
3651
3651
  return e;
3652
3652
  }, ye = (e, t) => {
3653
- var n = {};
3654
- for (var r in e)
3655
- Vn.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
3653
+ var r = {};
3654
+ for (var n in e)
3655
+ $r.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3656
3656
  if (e != null && Ge)
3657
- for (var r of Ge(e))
3658
- t.indexOf(r) < 0 && Xn.call(e, r) && (n[r] = e[r]);
3659
- return n;
3657
+ for (var n of Ge(e))
3658
+ t.indexOf(n) < 0 && Vr.call(e, n) && (r[n] = e[n]);
3659
+ return r;
3660
3660
  };
3661
3661
  const Te = (e, t) => {
3662
- const { formats: n } = pe();
3663
- if (e in n && t in n[e])
3664
- return n[e][t];
3662
+ const { formats: r } = de();
3663
+ if (e in r && t in r[e])
3664
+ return r[e][t];
3665
3665
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3666
- }, vs = Ve(
3666
+ }, Eo = Ve(
3667
3667
  (e) => {
3668
- var t = e, { locale: n, format: r } = t, i = ye(t, ["locale", "format"]);
3669
- if (n == null)
3668
+ var t = e, { locale: r, format: n } = t, i = ye(t, ["locale", "format"]);
3669
+ if (r == null)
3670
3670
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3671
- return r && (i = Te("number", r)), new Intl.NumberFormat(n, i);
3671
+ return n && (i = Te("number", n)), new Intl.NumberFormat(r, i);
3672
3672
  }
3673
- ), Es = Ve(
3673
+ ), xo = Ve(
3674
3674
  (e) => {
3675
- var t = e, { locale: n, format: r } = t, i = ye(t, ["locale", "format"]);
3676
- if (n == null)
3675
+ var t = e, { locale: r, format: n } = t, i = ye(t, ["locale", "format"]);
3676
+ if (r == null)
3677
3677
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3678
- return r ? i = Te("date", r) : Object.keys(i).length === 0 && (i = Te("date", "short")), new Intl.DateTimeFormat(n, i);
3678
+ return n ? i = Te("date", n) : Object.keys(i).length === 0 && (i = Te("date", "short")), new Intl.DateTimeFormat(r, i);
3679
3679
  }
3680
- ), xs = Ve(
3680
+ ), wo = Ve(
3681
3681
  (e) => {
3682
- var t = e, { locale: n, format: r } = t, i = ye(t, ["locale", "format"]);
3683
- if (n == null)
3682
+ var t = e, { locale: r, format: n } = t, i = ye(t, ["locale", "format"]);
3683
+ if (r == null)
3684
3684
  throw new Error(
3685
3685
  '[svelte-i18n] A "locale" must be set to format time values'
3686
3686
  );
3687
- return r ? i = Te("time", r) : Object.keys(i).length === 0 && (i = Te("time", "short")), new Intl.DateTimeFormat(n, i);
3687
+ return n ? i = Te("time", n) : Object.keys(i).length === 0 && (i = Te("time", "short")), new Intl.DateTimeFormat(r, i);
3688
3688
  }
3689
- ), ws = (e = {}) => {
3689
+ ), So = (e = {}) => {
3690
3690
  var t = e, {
3691
- locale: n = re()
3692
- } = t, r = ye(t, [
3691
+ locale: r = ne()
3692
+ } = t, n = ye(t, [
3693
3693
  "locale"
3694
3694
  ]);
3695
- return vs(St({ locale: n }, r));
3696
- }, Ss = (e = {}) => {
3695
+ return Eo(St({ locale: r }, n));
3696
+ }, To = (e = {}) => {
3697
3697
  var t = e, {
3698
- locale: n = re()
3699
- } = t, r = ye(t, [
3698
+ locale: r = ne()
3699
+ } = t, n = ye(t, [
3700
3700
  "locale"
3701
3701
  ]);
3702
- return Es(St({ locale: n }, r));
3703
- }, Ts = (e = {}) => {
3702
+ return xo(St({ locale: r }, n));
3703
+ }, Ho = (e = {}) => {
3704
3704
  var t = e, {
3705
- locale: n = re()
3706
- } = t, r = ye(t, [
3705
+ locale: r = ne()
3706
+ } = t, n = ye(t, [
3707
3707
  "locale"
3708
3708
  ]);
3709
- return xs(St({ locale: n }, r));
3710
- }, Hs = Ve(
3709
+ return wo(St({ locale: r }, n));
3710
+ }, Bo = Ve(
3711
3711
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3712
- (e, t = re()) => new Ki(e, t, pe().formats, {
3713
- ignoreTag: pe().ignoreTag
3712
+ (e, t = ne()) => new Ki(e, t, de().formats, {
3713
+ ignoreTag: de().ignoreTag
3714
3714
  })
3715
- ), Bs = (e, t = {}) => {
3716
- var n, r, i, s;
3717
- let o = t;
3718
- typeof e == "object" && (o = e, e = o.id);
3715
+ ), Ao = (e, t = {}) => {
3716
+ var r, n, i, o;
3717
+ let s = t;
3718
+ typeof e == "object" && (s = e, e = s.id);
3719
3719
  const {
3720
3720
  values: a,
3721
- locale: u = re(),
3721
+ locale: u = ne(),
3722
3722
  default: l
3723
- } = o;
3723
+ } = s;
3724
3724
  if (u == null)
3725
3725
  throw new Error(
3726
3726
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3727
3727
  );
3728
- let c = Dn(e, u);
3728
+ let c = Fr(e, u);
3729
3729
  if (!c)
3730
- c = (s = (i = (r = (n = pe()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? s : e;
3730
+ c = (o = (i = (n = (r = de()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
3731
3731
  else if (typeof c != "string")
3732
3732
  return console.warn(
3733
3733
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
3734
3734
  ), c;
3735
3735
  if (!a)
3736
3736
  return c;
3737
- let d = c;
3737
+ let p = c;
3738
3738
  try {
3739
- d = Hs(c, u).format(a);
3739
+ p = Bo(c, u).format(a);
3740
3740
  } catch (f) {
3741
3741
  f instanceof Error && console.warn(
3742
3742
  `[svelte-i18n] Message "${e}" has syntax error:`,
3743
3743
  f.message
3744
3744
  );
3745
3745
  }
3746
- return d;
3747
- }, As = (e, t) => Ts(t).format(e), Cs = (e, t) => Ss(t).format(e), Ps = (e, t) => ws(t).format(e), Os = (e, t = re()) => Dn(e, t), Ms = be([ge, He], () => Bs);
3748
- be([ge], () => As);
3749
- be([ge], () => Cs);
3750
- be([ge], () => Ps);
3751
- be([ge, He], () => Os);
3752
- function tn(e, t) {
3753
- jn(e, t);
3754
- }
3755
- function Ns(e) {
3746
+ return p;
3747
+ }, Co = (e, t) => Ho(t).format(e), Po = (e, t) => To(t).format(e), Oo = (e, t) => So(t).format(e), Mo = (e, t = ne()) => Fr(e, t), No = be([ge, He], () => Ao);
3748
+ be([ge], () => Co);
3749
+ be([ge], () => Po);
3750
+ be([ge], () => Oo);
3751
+ be([ge, He], () => Mo);
3752
+ function tr(e, t) {
3753
+ Gr(e, t);
3754
+ }
3755
+ function Io(e) {
3756
3756
  ge.set(e);
3757
3757
  }
3758
- const nn = {
3758
+ const rr = {
3759
3759
  en: {
3760
3760
  recentWinners: "Recent Winners",
3761
3761
  topWinners: "Top Winners",
@@ -3874,25 +3874,25 @@ const nn = {
3874
3874
  function q(e) {
3875
3875
  return typeof e == "function";
3876
3876
  }
3877
- function zn(e) {
3878
- var t = function(r) {
3879
- Error.call(r), r.stack = new Error().stack;
3880
- }, n = e(t);
3881
- return n.prototype = Object.create(Error.prototype), n.prototype.constructor = n, n;
3882
- }
3883
- var st = zn(function(e) {
3884
- return function(n) {
3885
- e(this), this.message = n ? n.length + ` errors occurred during unsubscription:
3886
- ` + n.map(function(r, i) {
3887
- return i + 1 + ") " + r.toString();
3877
+ function Xr(e) {
3878
+ var t = function(n) {
3879
+ Error.call(n), n.stack = new Error().stack;
3880
+ }, r = e(t);
3881
+ return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
3882
+ }
3883
+ var ot = Xr(function(e) {
3884
+ return function(r) {
3885
+ e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
3886
+ ` + r.map(function(n, i) {
3887
+ return i + 1 + ") " + n.toString();
3888
3888
  }).join(`
3889
- `) : "", this.name = "UnsubscriptionError", this.errors = n;
3889
+ `) : "", this.name = "UnsubscriptionError", this.errors = r;
3890
3890
  };
3891
3891
  });
3892
- function _t(e, t) {
3892
+ function vt(e, t) {
3893
3893
  if (e) {
3894
- var n = e.indexOf(t);
3895
- 0 <= n && e.splice(n, 1);
3894
+ var r = e.indexOf(t);
3895
+ 0 <= r && e.splice(r, 1);
3896
3896
  }
3897
3897
  }
3898
3898
  var Xe = function() {
@@ -3900,14 +3900,14 @@ var Xe = function() {
3900
3900
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
3901
3901
  }
3902
3902
  return e.prototype.unsubscribe = function() {
3903
- var t, n, r, i, s;
3903
+ var t, r, n, i, o;
3904
3904
  if (!this.closed) {
3905
3905
  this.closed = !0;
3906
- var o = this._parentage;
3907
- if (o)
3908
- if (this._parentage = null, Array.isArray(o))
3906
+ var s = this._parentage;
3907
+ if (s)
3908
+ if (this._parentage = null, Array.isArray(s))
3909
3909
  try {
3910
- for (var a = lt(o), u = a.next(); !u.done; u = a.next()) {
3910
+ for (var a = lt(s), u = a.next(); !u.done; u = a.next()) {
3911
3911
  var l = u.value;
3912
3912
  l.remove(this);
3913
3913
  }
@@ -3915,125 +3915,125 @@ var Xe = function() {
3915
3915
  t = { error: b };
3916
3916
  } finally {
3917
3917
  try {
3918
- u && !u.done && (n = a.return) && n.call(a);
3918
+ u && !u.done && (r = a.return) && r.call(a);
3919
3919
  } finally {
3920
3920
  if (t) throw t.error;
3921
3921
  }
3922
3922
  }
3923
3923
  else
3924
- o.remove(this);
3924
+ s.remove(this);
3925
3925
  var c = this.initialTeardown;
3926
3926
  if (q(c))
3927
3927
  try {
3928
3928
  c();
3929
3929
  } catch (b) {
3930
- s = b instanceof st ? b.errors : [b];
3930
+ o = b instanceof ot ? b.errors : [b];
3931
3931
  }
3932
- var d = this._finalizers;
3933
- if (d) {
3932
+ var p = this._finalizers;
3933
+ if (p) {
3934
3934
  this._finalizers = null;
3935
3935
  try {
3936
- for (var f = lt(d), m = f.next(); !m.done; m = f.next()) {
3936
+ for (var f = lt(p), m = f.next(); !m.done; m = f.next()) {
3937
3937
  var y = m.value;
3938
3938
  try {
3939
- rn(y);
3939
+ nr(y);
3940
3940
  } catch (b) {
3941
- s = s != null ? s : [], b instanceof st ? s = he(he([], ht(s)), ht(b.errors)) : s.push(b);
3941
+ o = o != null ? o : [], b instanceof ot ? o = he(he([], ht(o)), ht(b.errors)) : o.push(b);
3942
3942
  }
3943
3943
  }
3944
3944
  } catch (b) {
3945
- r = { error: b };
3945
+ n = { error: b };
3946
3946
  } finally {
3947
3947
  try {
3948
3948
  m && !m.done && (i = f.return) && i.call(f);
3949
3949
  } finally {
3950
- if (r) throw r.error;
3950
+ if (n) throw n.error;
3951
3951
  }
3952
3952
  }
3953
3953
  }
3954
- if (s)
3955
- throw new st(s);
3954
+ if (o)
3955
+ throw new ot(o);
3956
3956
  }
3957
3957
  }, e.prototype.add = function(t) {
3958
- var n;
3958
+ var r;
3959
3959
  if (t && t !== this)
3960
3960
  if (this.closed)
3961
- rn(t);
3961
+ nr(t);
3962
3962
  else {
3963
3963
  if (t instanceof e) {
3964
3964
  if (t.closed || t._hasParent(this))
3965
3965
  return;
3966
3966
  t._addParent(this);
3967
3967
  }
3968
- (this._finalizers = (n = this._finalizers) !== null && n !== void 0 ? n : []).push(t);
3968
+ (this._finalizers = (r = this._finalizers) !== null && r !== void 0 ? r : []).push(t);
3969
3969
  }
3970
3970
  }, e.prototype._hasParent = function(t) {
3971
- var n = this._parentage;
3972
- return n === t || Array.isArray(n) && n.includes(t);
3971
+ var r = this._parentage;
3972
+ return r === t || Array.isArray(r) && r.includes(t);
3973
3973
  }, e.prototype._addParent = function(t) {
3974
- var n = this._parentage;
3975
- this._parentage = Array.isArray(n) ? (n.push(t), n) : n ? [n, t] : t;
3974
+ var r = this._parentage;
3975
+ this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
3976
3976
  }, e.prototype._removeParent = function(t) {
3977
- var n = this._parentage;
3978
- n === t ? this._parentage = null : Array.isArray(n) && _t(n, t);
3977
+ var r = this._parentage;
3978
+ r === t ? this._parentage = null : Array.isArray(r) && vt(r, t);
3979
3979
  }, e.prototype.remove = function(t) {
3980
- var n = this._finalizers;
3981
- n && _t(n, t), t instanceof e && t._removeParent(this);
3980
+ var r = this._finalizers;
3981
+ r && vt(r, t), t instanceof e && t._removeParent(this);
3982
3982
  }, e.EMPTY = function() {
3983
3983
  var t = new e();
3984
3984
  return t.closed = !0, t;
3985
3985
  }(), e;
3986
- }(), Zn = Xe.EMPTY;
3987
- function Qn(e) {
3986
+ }(), zr = Xe.EMPTY;
3987
+ function Zr(e) {
3988
3988
  return e instanceof Xe || e && "closed" in e && q(e.remove) && q(e.add) && q(e.unsubscribe);
3989
3989
  }
3990
- function rn(e) {
3990
+ function nr(e) {
3991
3991
  q(e) ? e() : e.unsubscribe();
3992
3992
  }
3993
- var Is = {
3993
+ var Lo = {
3994
3994
  Promise: void 0
3995
- }, Ls = {
3995
+ }, Ro = {
3996
3996
  setTimeout: function(e, t) {
3997
- for (var n = [], r = 2; r < arguments.length; r++)
3998
- n[r - 2] = arguments[r];
3999
- return setTimeout.apply(void 0, he([e, t], ht(n)));
3997
+ for (var r = [], n = 2; n < arguments.length; n++)
3998
+ r[n - 2] = arguments[n];
3999
+ return setTimeout.apply(void 0, he([e, t], ht(r)));
4000
4000
  },
4001
4001
  clearTimeout: function(e) {
4002
4002
  return clearTimeout(e);
4003
4003
  },
4004
4004
  delegate: void 0
4005
4005
  };
4006
- function Rs(e) {
4007
- Ls.setTimeout(function() {
4006
+ function Wo(e) {
4007
+ Ro.setTimeout(function() {
4008
4008
  throw e;
4009
4009
  });
4010
4010
  }
4011
- function sn() {
4011
+ function ir() {
4012
4012
  }
4013
4013
  function Ue(e) {
4014
4014
  e();
4015
4015
  }
4016
- var Jn = function(e) {
4016
+ var Qr = function(e) {
4017
4017
  K(t, e);
4018
- function t(n) {
4019
- var r = e.call(this) || this;
4020
- return r.isStopped = !1, n ? (r.destination = n, Qn(n) && n.add(r)) : r.destination = Fs, r;
4018
+ function t(r) {
4019
+ var n = e.call(this) || this;
4020
+ return n.isStopped = !1, r ? (n.destination = r, Zr(r) && r.add(n)) : n.destination = Do, n;
4021
4021
  }
4022
- return t.create = function(n, r, i) {
4023
- return new vt(n, r, i);
4024
- }, t.prototype.next = function(n) {
4025
- this.isStopped || this._next(n);
4026
- }, t.prototype.error = function(n) {
4027
- this.isStopped || (this.isStopped = !0, this._error(n));
4022
+ return t.create = function(r, n, i) {
4023
+ return new _t(r, n, i);
4024
+ }, t.prototype.next = function(r) {
4025
+ this.isStopped || this._next(r);
4026
+ }, t.prototype.error = function(r) {
4027
+ this.isStopped || (this.isStopped = !0, this._error(r));
4028
4028
  }, t.prototype.complete = function() {
4029
4029
  this.isStopped || (this.isStopped = !0, this._complete());
4030
4030
  }, t.prototype.unsubscribe = function() {
4031
4031
  this.closed || (this.isStopped = !0, e.prototype.unsubscribe.call(this), this.destination = null);
4032
- }, t.prototype._next = function(n) {
4033
- this.destination.next(n);
4034
- }, t.prototype._error = function(n) {
4032
+ }, t.prototype._next = function(r) {
4033
+ this.destination.next(r);
4034
+ }, t.prototype._error = function(r) {
4035
4035
  try {
4036
- this.destination.error(n);
4036
+ this.destination.error(r);
4037
4037
  } finally {
4038
4038
  this.unsubscribe();
4039
4039
  }
@@ -4044,25 +4044,25 @@ var Jn = function(e) {
4044
4044
  this.unsubscribe();
4045
4045
  }
4046
4046
  }, t;
4047
- }(Xe), Ws = function() {
4047
+ }(Xe), Uo = function() {
4048
4048
  function e(t) {
4049
4049
  this.partialObserver = t;
4050
4050
  }
4051
4051
  return e.prototype.next = function(t) {
4052
- var n = this.partialObserver;
4053
- if (n.next)
4052
+ var r = this.partialObserver;
4053
+ if (r.next)
4054
4054
  try {
4055
- n.next(t);
4056
- } catch (r) {
4057
- Ie(r);
4055
+ r.next(t);
4056
+ } catch (n) {
4057
+ Ie(n);
4058
4058
  }
4059
4059
  }, e.prototype.error = function(t) {
4060
- var n = this.partialObserver;
4061
- if (n.error)
4060
+ var r = this.partialObserver;
4061
+ if (r.error)
4062
4062
  try {
4063
- n.error(t);
4064
- } catch (r) {
4065
- Ie(r);
4063
+ r.error(t);
4064
+ } catch (n) {
4065
+ Ie(n);
4066
4066
  }
4067
4067
  else
4068
4068
  Ie(t);
@@ -4071,323 +4071,323 @@ var Jn = function(e) {
4071
4071
  if (t.complete)
4072
4072
  try {
4073
4073
  t.complete();
4074
- } catch (n) {
4075
- Ie(n);
4074
+ } catch (r) {
4075
+ Ie(r);
4076
4076
  }
4077
4077
  }, e;
4078
- }(), vt = function(e) {
4078
+ }(), _t = function(e) {
4079
4079
  K(t, e);
4080
- function t(n, r, i) {
4081
- var s = e.call(this) || this, o;
4082
- return q(n) || !n ? o = {
4083
- next: n != null ? n : void 0,
4084
- error: r != null ? r : void 0,
4080
+ function t(r, n, i) {
4081
+ var o = e.call(this) || this, s;
4082
+ return q(r) || !r ? s = {
4083
+ next: r != null ? r : void 0,
4084
+ error: n != null ? n : void 0,
4085
4085
  complete: i != null ? i : void 0
4086
- } : o = n, s.destination = new Ws(o), s;
4086
+ } : s = r, o.destination = new Uo(s), o;
4087
4087
  }
4088
4088
  return t;
4089
- }(Jn);
4089
+ }(Qr);
4090
4090
  function Ie(e) {
4091
- Rs(e);
4091
+ Wo(e);
4092
4092
  }
4093
- function Us(e) {
4093
+ function Fo(e) {
4094
4094
  throw e;
4095
4095
  }
4096
- var Fs = {
4096
+ var Do = {
4097
4097
  closed: !0,
4098
- next: sn,
4099
- error: Us,
4100
- complete: sn
4101
- }, Ds = function() {
4098
+ next: ir,
4099
+ error: Fo,
4100
+ complete: ir
4101
+ }, Go = function() {
4102
4102
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
4103
4103
  }();
4104
- function Gs(e) {
4104
+ function jo(e) {
4105
4105
  return e;
4106
4106
  }
4107
- function js(e) {
4108
- return e.length === 0 ? Gs : e.length === 1 ? e[0] : function(n) {
4109
- return e.reduce(function(r, i) {
4110
- return i(r);
4111
- }, n);
4107
+ function ko(e) {
4108
+ return e.length === 0 ? jo : e.length === 1 ? e[0] : function(r) {
4109
+ return e.reduce(function(n, i) {
4110
+ return i(n);
4111
+ }, r);
4112
4112
  };
4113
4113
  }
4114
- var on = function() {
4114
+ var or = function() {
4115
4115
  function e(t) {
4116
4116
  t && (this._subscribe = t);
4117
4117
  }
4118
4118
  return e.prototype.lift = function(t) {
4119
- var n = new e();
4120
- return n.source = this, n.operator = t, n;
4121
- }, e.prototype.subscribe = function(t, n, r) {
4122
- var i = this, s = $s(t) ? t : new vt(t, n, r);
4119
+ var r = new e();
4120
+ return r.source = this, r.operator = t, r;
4121
+ }, e.prototype.subscribe = function(t, r, n) {
4122
+ var i = this, o = Vo(t) ? t : new _t(t, r, n);
4123
4123
  return Ue(function() {
4124
- var o = i, a = o.operator, u = o.source;
4125
- s.add(a ? a.call(s, u) : u ? i._subscribe(s) : i._trySubscribe(s));
4126
- }), s;
4124
+ var s = i, a = s.operator, u = s.source;
4125
+ o.add(a ? a.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
4126
+ }), o;
4127
4127
  }, e.prototype._trySubscribe = function(t) {
4128
4128
  try {
4129
4129
  return this._subscribe(t);
4130
- } catch (n) {
4131
- t.error(n);
4130
+ } catch (r) {
4131
+ t.error(r);
4132
4132
  }
4133
- }, e.prototype.forEach = function(t, n) {
4134
- var r = this;
4135
- return n = an(n), new n(function(i, s) {
4136
- var o = new vt({
4133
+ }, e.prototype.forEach = function(t, r) {
4134
+ var n = this;
4135
+ return r = sr(r), new r(function(i, o) {
4136
+ var s = new _t({
4137
4137
  next: function(a) {
4138
4138
  try {
4139
4139
  t(a);
4140
4140
  } catch (u) {
4141
- s(u), o.unsubscribe();
4141
+ o(u), s.unsubscribe();
4142
4142
  }
4143
4143
  },
4144
- error: s,
4144
+ error: o,
4145
4145
  complete: i
4146
4146
  });
4147
- r.subscribe(o);
4147
+ n.subscribe(s);
4148
4148
  });
4149
4149
  }, e.prototype._subscribe = function(t) {
4150
- var n;
4151
- return (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(t);
4152
- }, e.prototype[Ds] = function() {
4150
+ var r;
4151
+ return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
4152
+ }, e.prototype[Go] = function() {
4153
4153
  return this;
4154
4154
  }, e.prototype.pipe = function() {
4155
- for (var t = [], n = 0; n < arguments.length; n++)
4156
- t[n] = arguments[n];
4157
- return js(t)(this);
4155
+ for (var t = [], r = 0; r < arguments.length; r++)
4156
+ t[r] = arguments[r];
4157
+ return ko(t)(this);
4158
4158
  }, e.prototype.toPromise = function(t) {
4159
- var n = this;
4160
- return t = an(t), new t(function(r, i) {
4161
- var s;
4162
- n.subscribe(function(o) {
4163
- return s = o;
4164
- }, function(o) {
4165
- return i(o);
4159
+ var r = this;
4160
+ return t = sr(t), new t(function(n, i) {
4161
+ var o;
4162
+ r.subscribe(function(s) {
4163
+ return o = s;
4164
+ }, function(s) {
4165
+ return i(s);
4166
4166
  }, function() {
4167
- return r(s);
4167
+ return n(o);
4168
4168
  });
4169
4169
  });
4170
4170
  }, e.create = function(t) {
4171
4171
  return new e(t);
4172
4172
  }, e;
4173
4173
  }();
4174
- function an(e) {
4174
+ function sr(e) {
4175
4175
  var t;
4176
- return (t = e != null ? e : Is.Promise) !== null && t !== void 0 ? t : Promise;
4176
+ return (t = e != null ? e : Lo.Promise) !== null && t !== void 0 ? t : Promise;
4177
4177
  }
4178
- function ks(e) {
4178
+ function $o(e) {
4179
4179
  return e && q(e.next) && q(e.error) && q(e.complete);
4180
4180
  }
4181
- function $s(e) {
4182
- return e && e instanceof Jn || ks(e) && Qn(e);
4181
+ function Vo(e) {
4182
+ return e && e instanceof Qr || $o(e) && Zr(e);
4183
4183
  }
4184
- var Vs = zn(function(e) {
4184
+ var Xo = Xr(function(e) {
4185
4185
  return function() {
4186
4186
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
4187
4187
  };
4188
- }), Yn = function(e) {
4188
+ }), Jr = function(e) {
4189
4189
  K(t, e);
4190
4190
  function t() {
4191
- var n = e.call(this) || this;
4192
- return n.closed = !1, n.currentObservers = null, n.observers = [], n.isStopped = !1, n.hasError = !1, n.thrownError = null, n;
4191
+ var r = e.call(this) || this;
4192
+ return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
4193
4193
  }
4194
- return t.prototype.lift = function(n) {
4195
- var r = new un(this, this);
4196
- return r.operator = n, r;
4194
+ return t.prototype.lift = function(r) {
4195
+ var n = new ar(this, this);
4196
+ return n.operator = r, n;
4197
4197
  }, t.prototype._throwIfClosed = function() {
4198
4198
  if (this.closed)
4199
- throw new Vs();
4200
- }, t.prototype.next = function(n) {
4201
- var r = this;
4199
+ throw new Xo();
4200
+ }, t.prototype.next = function(r) {
4201
+ var n = this;
4202
4202
  Ue(function() {
4203
- var i, s;
4204
- if (r._throwIfClosed(), !r.isStopped) {
4205
- r.currentObservers || (r.currentObservers = Array.from(r.observers));
4203
+ var i, o;
4204
+ if (n._throwIfClosed(), !n.isStopped) {
4205
+ n.currentObservers || (n.currentObservers = Array.from(n.observers));
4206
4206
  try {
4207
- for (var o = lt(r.currentObservers), a = o.next(); !a.done; a = o.next()) {
4207
+ for (var s = lt(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
4208
4208
  var u = a.value;
4209
- u.next(n);
4209
+ u.next(r);
4210
4210
  }
4211
4211
  } catch (l) {
4212
4212
  i = { error: l };
4213
4213
  } finally {
4214
4214
  try {
4215
- a && !a.done && (s = o.return) && s.call(o);
4215
+ a && !a.done && (o = s.return) && o.call(s);
4216
4216
  } finally {
4217
4217
  if (i) throw i.error;
4218
4218
  }
4219
4219
  }
4220
4220
  }
4221
4221
  });
4222
- }, t.prototype.error = function(n) {
4223
- var r = this;
4222
+ }, t.prototype.error = function(r) {
4223
+ var n = this;
4224
4224
  Ue(function() {
4225
- if (r._throwIfClosed(), !r.isStopped) {
4226
- r.hasError = r.isStopped = !0, r.thrownError = n;
4227
- for (var i = r.observers; i.length; )
4228
- i.shift().error(n);
4225
+ if (n._throwIfClosed(), !n.isStopped) {
4226
+ n.hasError = n.isStopped = !0, n.thrownError = r;
4227
+ for (var i = n.observers; i.length; )
4228
+ i.shift().error(r);
4229
4229
  }
4230
4230
  });
4231
4231
  }, t.prototype.complete = function() {
4232
- var n = this;
4232
+ var r = this;
4233
4233
  Ue(function() {
4234
- if (n._throwIfClosed(), !n.isStopped) {
4235
- n.isStopped = !0;
4236
- for (var r = n.observers; r.length; )
4237
- r.shift().complete();
4234
+ if (r._throwIfClosed(), !r.isStopped) {
4235
+ r.isStopped = !0;
4236
+ for (var n = r.observers; n.length; )
4237
+ n.shift().complete();
4238
4238
  }
4239
4239
  });
4240
4240
  }, t.prototype.unsubscribe = function() {
4241
4241
  this.isStopped = this.closed = !0, this.observers = this.currentObservers = null;
4242
4242
  }, Object.defineProperty(t.prototype, "observed", {
4243
4243
  get: function() {
4244
- var n;
4245
- return ((n = this.observers) === null || n === void 0 ? void 0 : n.length) > 0;
4244
+ var r;
4245
+ return ((r = this.observers) === null || r === void 0 ? void 0 : r.length) > 0;
4246
4246
  },
4247
4247
  enumerable: !1,
4248
4248
  configurable: !0
4249
- }), t.prototype._trySubscribe = function(n) {
4250
- return this._throwIfClosed(), e.prototype._trySubscribe.call(this, n);
4251
- }, t.prototype._subscribe = function(n) {
4252
- return this._throwIfClosed(), this._checkFinalizedStatuses(n), this._innerSubscribe(n);
4253
- }, t.prototype._innerSubscribe = function(n) {
4254
- var r = this, i = this, s = i.hasError, o = i.isStopped, a = i.observers;
4255
- return s || o ? Zn : (this.currentObservers = null, a.push(n), new Xe(function() {
4256
- r.currentObservers = null, _t(a, n);
4249
+ }), t.prototype._trySubscribe = function(r) {
4250
+ return this._throwIfClosed(), e.prototype._trySubscribe.call(this, r);
4251
+ }, t.prototype._subscribe = function(r) {
4252
+ return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
4253
+ }, t.prototype._innerSubscribe = function(r) {
4254
+ var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
4255
+ return o || s ? zr : (this.currentObservers = null, a.push(r), new Xe(function() {
4256
+ n.currentObservers = null, vt(a, r);
4257
4257
  }));
4258
- }, t.prototype._checkFinalizedStatuses = function(n) {
4259
- var r = this, i = r.hasError, s = r.thrownError, o = r.isStopped;
4260
- i ? n.error(s) : o && n.complete();
4258
+ }, t.prototype._checkFinalizedStatuses = function(r) {
4259
+ var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
4260
+ i ? r.error(o) : s && r.complete();
4261
4261
  }, t.prototype.asObservable = function() {
4262
- var n = new on();
4263
- return n.source = this, n;
4264
- }, t.create = function(n, r) {
4265
- return new un(n, r);
4262
+ var r = new or();
4263
+ return r.source = this, r;
4264
+ }, t.create = function(r, n) {
4265
+ return new ar(r, n);
4266
4266
  }, t;
4267
- }(on), un = function(e) {
4267
+ }(or), ar = function(e) {
4268
4268
  K(t, e);
4269
- function t(n, r) {
4269
+ function t(r, n) {
4270
4270
  var i = e.call(this) || this;
4271
- return i.destination = n, i.source = r, i;
4271
+ return i.destination = r, i.source = n, i;
4272
4272
  }
4273
- return t.prototype.next = function(n) {
4274
- var r, i;
4275
- (i = (r = this.destination) === null || r === void 0 ? void 0 : r.next) === null || i === void 0 || i.call(r, n);
4276
- }, t.prototype.error = function(n) {
4277
- var r, i;
4278
- (i = (r = this.destination) === null || r === void 0 ? void 0 : r.error) === null || i === void 0 || i.call(r, n);
4273
+ return t.prototype.next = function(r) {
4274
+ var n, i;
4275
+ (i = (n = this.destination) === null || n === void 0 ? void 0 : n.next) === null || i === void 0 || i.call(n, r);
4276
+ }, t.prototype.error = function(r) {
4277
+ var n, i;
4278
+ (i = (n = this.destination) === null || n === void 0 ? void 0 : n.error) === null || i === void 0 || i.call(n, r);
4279
4279
  }, t.prototype.complete = function() {
4280
- var n, r;
4281
- (r = (n = this.destination) === null || n === void 0 ? void 0 : n.complete) === null || r === void 0 || r.call(n);
4282
- }, t.prototype._subscribe = function(n) {
4283
- var r, i;
4284
- return (i = (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(n)) !== null && i !== void 0 ? i : Zn;
4280
+ var r, n;
4281
+ (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
4282
+ }, t.prototype._subscribe = function(r) {
4283
+ var n, i;
4284
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : zr;
4285
4285
  }, t;
4286
- }(Yn), qn = {
4286
+ }(Jr), Yr = {
4287
4287
  now: function() {
4288
- return (qn.delegate || Date).now();
4288
+ return (Yr.delegate || Date).now();
4289
4289
  },
4290
4290
  delegate: void 0
4291
- }, Xs = function(e) {
4291
+ }, zo = function(e) {
4292
4292
  K(t, e);
4293
- function t(n, r, i) {
4294
- n === void 0 && (n = 1 / 0), r === void 0 && (r = 1 / 0), i === void 0 && (i = qn);
4295
- var s = e.call(this) || this;
4296
- return s._bufferSize = n, s._windowTime = r, s._timestampProvider = i, s._buffer = [], s._infiniteTimeWindow = !0, s._infiniteTimeWindow = r === 1 / 0, s._bufferSize = Math.max(1, n), s._windowTime = Math.max(1, r), s;
4293
+ function t(r, n, i) {
4294
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Yr);
4295
+ var o = e.call(this) || this;
4296
+ 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;
4297
4297
  }
4298
- return t.prototype.next = function(n) {
4299
- var r = this, i = r.isStopped, s = r._buffer, o = r._infiniteTimeWindow, a = r._timestampProvider, u = r._windowTime;
4300
- i || (s.push(n), !o && s.push(a.now() + u)), this._trimBuffer(), e.prototype.next.call(this, n);
4301
- }, t.prototype._subscribe = function(n) {
4298
+ return t.prototype.next = function(r) {
4299
+ var n = this, i = n.isStopped, o = n._buffer, s = n._infiniteTimeWindow, a = n._timestampProvider, u = n._windowTime;
4300
+ i || (o.push(r), !s && o.push(a.now() + u)), this._trimBuffer(), e.prototype.next.call(this, r);
4301
+ }, t.prototype._subscribe = function(r) {
4302
4302
  this._throwIfClosed(), this._trimBuffer();
4303
- for (var r = this._innerSubscribe(n), i = this, s = i._infiniteTimeWindow, o = i._buffer, a = o.slice(), u = 0; u < a.length && !n.closed; u += s ? 1 : 2)
4304
- n.next(a[u]);
4305
- return this._checkFinalizedStatuses(n), r;
4303
+ 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)
4304
+ r.next(a[u]);
4305
+ return this._checkFinalizedStatuses(r), n;
4306
4306
  }, t.prototype._trimBuffer = function() {
4307
- var n = this, r = n._bufferSize, i = n._timestampProvider, s = n._buffer, o = n._infiniteTimeWindow, a = (o ? 1 : 2) * r;
4308
- if (r < 1 / 0 && a < s.length && s.splice(0, s.length - a), !o) {
4309
- for (var u = i.now(), l = 0, c = 1; c < s.length && s[c] <= u; c += 2)
4307
+ var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, s = r._infiniteTimeWindow, a = (s ? 1 : 2) * n;
4308
+ if (n < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
4309
+ for (var u = i.now(), l = 0, c = 1; c < o.length && o[c] <= u; c += 2)
4310
4310
  l = c;
4311
- l && s.splice(0, l + 1);
4311
+ l && o.splice(0, l + 1);
4312
4312
  }
4313
4313
  }, t;
4314
- }(Yn);
4315
- const ln = [], hn = {}, zs = (e, t = 0) => {
4316
- if (ln.indexOf(e) == -1) {
4317
- const n = new Xs(t);
4318
- hn[e] = n, ln.push(e);
4314
+ }(Jr);
4315
+ const ur = [], lr = {}, Zo = (e, t = 0) => {
4316
+ if (ur.indexOf(e) == -1) {
4317
+ const r = new zo(t);
4318
+ lr[e] = r, ur.push(e);
4319
4319
  }
4320
- return hn[e];
4320
+ return lr[e];
4321
4321
  };
4322
- window.emWidgets = { topic: zs };
4323
- const Zs = (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));
4322
+ window.emWidgets = { topic: Zo };
4323
+ 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));
4324
4324
  if (typeof window != "undefined") {
4325
4325
  let e = function(t) {
4326
- return function(...n) {
4326
+ return function(...r) {
4327
4327
  try {
4328
- return t.apply(this, n);
4329
- } catch (r) {
4330
- 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"))
4328
+ return t.apply(this, r);
4329
+ } catch (n) {
4330
+ 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"))
4331
4331
  return !1;
4332
- throw r;
4332
+ throw n;
4333
4333
  }
4334
4334
  };
4335
4335
  };
4336
- customElements.define = e(customElements.define), import("./GeneralAnimationLoading-DmEo1FZ6.js").then(({ default: t }) => {
4336
+ customElements.define = e(customElements.define), import("./GeneralAnimationLoading-CBEWvImq.js").then(({ default: t }) => {
4337
4337
  !customElements.get("general-animation-loading") && customElements.define("general-animation-loading", t.element);
4338
4338
  });
4339
4339
  }
4340
- function Qs(e) {
4341
- Tr(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}");
4340
+ function Jo(e) {
4341
+ Tn(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}");
4342
4342
  }
4343
- function cn(e, t, n) {
4344
- const r = e.slice();
4345
- return r[70] = t[n], r;
4343
+ function hr(e, t, r) {
4344
+ const n = e.slice();
4345
+ return n[70] = t[r], n;
4346
4346
  }
4347
- function fn(e, t, n) {
4348
- const r = e.slice();
4349
- return r[73] = t[n], r;
4347
+ function cr(e, t, r) {
4348
+ const n = e.slice();
4349
+ return n[73] = t[r], n;
4350
4350
  }
4351
- function Js(e) {
4352
- let t, n, r, i, s, o, a, u, l, c, d, f, m, y, b, O, R, I, T, B = Fe(
4351
+ function Yo(e) {
4352
+ let t, r, n, i, o, s, a, u, l, c, p, f, m, y, b, O, R, I, T, B = Fe(
4353
4353
  /*tabs*/
4354
4354
  e[17]
4355
4355
  ), x = [];
4356
4356
  for (let g = 0; g < B.length; g += 1)
4357
- x[g] = bn(fn(e, B, g));
4357
+ x[g] = mr(cr(e, B, g));
4358
4358
  function D(g, N) {
4359
4359
  return (
4360
4360
  /*isLoadingDelayed*/
4361
- g[18] ? Ks : qs
4361
+ g[18] ? es : Ko
4362
4362
  );
4363
4363
  }
4364
4364
  let F = D(e), L = F(e);
4365
4365
  return {
4366
4366
  c() {
4367
- t = P("div"), n = P("div"), r = P("div");
4367
+ t = P("div"), r = P("div"), n = P("div");
4368
4368
  for (let g = 0; g < x.length; g += 1)
4369
4369
  x[g].c();
4370
- i = Z(), s = P("div"), o = 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*/
4370
+ i = Z(), o = P("div"), s = P("button"), a = Me("svg"), u = Me("path"), c = Z(), p = P("button"), f = Me("svg"), m = Me("path"), O = Z(), L.c(), d(n, "class", "WinnerButtonsContainer"), d(u, "style", l = /*numberOfVisibleSlides*/
4371
4371
  e[12] >= /*winners*/
4372
- 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(o, "class", "SliderButton"), p(m, "style", y = /*numberOfVisibleSlides*/
4372
+ e[11].length ? "fill:#F6F6F62E" : ""), d(u, "id", "Path_36"), d(u, "data-name", "Path 36"), d(u, "d", "M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"), d(u, "transform", "translate(14.656 0) rotate(90)"), d(u, "fill", "#fff"), d(a, "id", "Component_46_2"), d(a, "data-name", "Component 46 – 2"), d(a, "xmlns", "http://www.w3.org/2000/svg"), d(a, "width", "15"), d(a, "height", "15"), d(a, "viewBox", "0 0 16 24.656"), d(s, "class", "SliderButton"), d(m, "style", y = /*numberOfVisibleSlides*/
4373
4373
  e[12] >= /*winners*/
4374
- 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(s, "class", b = "ButtonsContainer " + /*enableautoscroll*/
4375
- (e[6] == "true" ? "ButtonsContainerNone" : "")), p(n, "class", "WinnersHeader"), p(t, "class", R = "CasinoWinners " + /*mobile*/
4374
+ e[11].length ? "fill:#F6F6F62E" : ""), d(m, "id", "Path_36"), d(m, "data-name", "Path 36"), d(m, "d", "M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"), d(m, "transform", "translate(0 24.656) rotate(-90)"), d(m, "fill", "#fff"), d(f, "id", "Component_46_2"), d(f, "data-name", "Component 46 – 2"), d(f, "xmlns", "http://www.w3.org/2000/svg"), d(f, "width", "15"), d(f, "height", "15"), d(f, "viewBox", "0 0 16 24.656"), d(p, "class", "SliderButton"), d(o, "class", b = "ButtonsContainer " + /*enableautoscroll*/
4375
+ (e[6] == "true" ? "ButtonsContainerNone" : "")), d(r, "class", "WinnersHeader"), d(t, "class", R = "CasinoWinners " + /*mobile*/
4376
4376
  (e[13] ? "Mobile" : ""));
4377
4377
  },
4378
4378
  m(g, N) {
4379
- $(g, t, N), v(t, n), v(n, r);
4379
+ $(g, t, N), _(t, r), _(r, n);
4380
4380
  for (let S = 0; S < x.length; S += 1)
4381
- x[S] && x[S].m(r, null);
4382
- v(n, i), v(n, s), v(s, o), v(o, a), v(a, u), v(s, c), v(s, d), v(d, f), v(f, m), v(t, O), L.m(t, null), I || (T = [
4381
+ x[S] && x[S].m(n, null);
4382
+ _(r, i), _(r, o), _(o, s), _(s, a), _(a, u), _(o, c), _(o, p), _(p, f), _(f, m), _(t, O), L.m(t, null), I || (T = [
4383
4383
  xe(
4384
- o,
4384
+ s,
4385
4385
  "click",
4386
4386
  /*click_handler_2*/
4387
4387
  e[43]
4388
4388
  ),
4389
4389
  xe(
4390
- d,
4390
+ p,
4391
4391
  "click",
4392
4392
  /*click_handler_3*/
4393
4393
  e[44]
@@ -4403,8 +4403,8 @@ function Js(e) {
4403
4403
  );
4404
4404
  let S;
4405
4405
  for (S = 0; S < B.length; S += 1) {
4406
- const A = fn(g, B, S);
4407
- x[S] ? x[S].p(A, N) : (x[S] = bn(A), x[S].c(), x[S].m(r, null));
4406
+ const A = cr(g, B, S);
4407
+ x[S] ? x[S].p(A, N) : (x[S] = mr(A), x[S].c(), x[S].m(n, null));
4408
4408
  }
4409
4409
  for (; S < x.length; S += 1)
4410
4410
  x[S].d(1);
@@ -4413,21 +4413,21 @@ function Js(e) {
4413
4413
  N[0] & /*numberOfVisibleSlides, winners*/
4414
4414
  6144 && l !== (l = /*numberOfVisibleSlides*/
4415
4415
  g[12] >= /*winners*/
4416
- g[11].length ? "fill:#F6F6F62E" : "") && p(u, "style", l), N[0] & /*numberOfVisibleSlides, winners*/
4416
+ g[11].length ? "fill:#F6F6F62E" : "") && d(u, "style", l), N[0] & /*numberOfVisibleSlides, winners*/
4417
4417
  6144 && y !== (y = /*numberOfVisibleSlides*/
4418
4418
  g[12] >= /*winners*/
4419
- g[11].length ? "fill:#F6F6F62E" : "") && p(m, "style", y), N[0] & /*enableautoscroll*/
4419
+ g[11].length ? "fill:#F6F6F62E" : "") && d(m, "style", y), N[0] & /*enableautoscroll*/
4420
4420
  64 && b !== (b = "ButtonsContainer " + /*enableautoscroll*/
4421
- (g[6] == "true" ? "ButtonsContainerNone" : "")) && p(s, "class", b), F === (F = D(g)) && L ? L.p(g, N) : (L.d(1), L = F(g), L && (L.c(), L.m(t, null))), N[0] & /*mobile*/
4421
+ (g[6] == "true" ? "ButtonsContainerNone" : "")) && d(o, "class", b), F === (F = D(g)) && L ? L.p(g, N) : (L.d(1), L = F(g), L && (L.c(), L.m(t, null))), N[0] & /*mobile*/
4422
4422
  8192 && R !== (R = "CasinoWinners " + /*mobile*/
4423
- (g[13] ? "Mobile" : "")) && p(t, "class", R);
4423
+ (g[13] ? "Mobile" : "")) && d(t, "class", R);
4424
4424
  },
4425
4425
  d(g) {
4426
- g && j(t), En(x, g), L.d(), I = !1, me(T);
4426
+ g && j(t), _r(x, g), L.d(), I = !1, me(T);
4427
4427
  }
4428
4428
  };
4429
4429
  }
4430
- function Ys(e) {
4430
+ function qo(e) {
4431
4431
  let t;
4432
4432
  return {
4433
4433
  c() {
@@ -4443,162 +4443,162 @@ function Ys(e) {
4443
4443
  e[5]
4444
4444
  );
4445
4445
  },
4446
- m(n, r) {
4447
- $(n, t, r);
4446
+ m(r, n) {
4447
+ $(r, t, n);
4448
4448
  },
4449
- p(n, r) {
4450
- r[0] & /*clientstyling*/
4449
+ p(r, n) {
4450
+ n[0] & /*clientstyling*/
4451
4451
  16 && te(
4452
4452
  t,
4453
4453
  "clientstyling",
4454
4454
  /*clientstyling*/
4455
- n[4]
4456
- ), r[0] & /*clientstylingurl*/
4455
+ r[4]
4456
+ ), n[0] & /*clientstylingurl*/
4457
4457
  32 && te(
4458
4458
  t,
4459
4459
  "clientstylingurl",
4460
4460
  /*clientstylingurl*/
4461
- n[5]
4461
+ r[5]
4462
4462
  );
4463
4463
  },
4464
- d(n) {
4465
- n && j(t);
4464
+ d(r) {
4465
+ r && j(t);
4466
4466
  }
4467
4467
  };
4468
4468
  }
4469
- function dn(e) {
4470
- let t, n = (
4469
+ function fr(e) {
4470
+ let t, r = (
4471
4471
  /*isrecentavailable*/
4472
- e[0] === "true" && pn(e)
4472
+ e[0] === "true" && pr(e)
4473
4473
  );
4474
4474
  return {
4475
4475
  c() {
4476
- n && n.c(), t = xt();
4476
+ r && r.c(), t = xt();
4477
4477
  },
4478
- m(r, i) {
4479
- n && n.m(r, i), $(r, t, i);
4478
+ m(n, i) {
4479
+ r && r.m(n, i), $(n, t, i);
4480
4480
  },
4481
- p(r, i) {
4481
+ p(n, i) {
4482
4482
  /*isrecentavailable*/
4483
- r[0] === "true" ? n ? n.p(r, i) : (n = pn(r), n.c(), n.m(t.parentNode, t)) : n && (n.d(1), n = null);
4483
+ n[0] === "true" ? r ? r.p(n, i) : (r = pr(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
4484
4484
  },
4485
- d(r) {
4486
- r && j(t), n && n.d(r);
4485
+ d(n) {
4486
+ n && j(t), r && r.d(n);
4487
4487
  }
4488
4488
  };
4489
4489
  }
4490
- function pn(e) {
4491
- let t, n = (
4490
+ function pr(e) {
4491
+ let t, r = (
4492
4492
  /*$_*/
4493
4493
  e[20]("recentWinners") + ""
4494
- ), r, i, s, o;
4494
+ ), n, i, o, s;
4495
4495
  return {
4496
4496
  c() {
4497
- t = P("button"), r = J(n), p(t, "class", i = "WinnersButton " + /*winnersType*/
4497
+ t = P("button"), n = J(r), d(t, "class", i = "WinnersButton " + /*winnersType*/
4498
4498
  (e[10] == "recent" ? "Active" : ""));
4499
4499
  },
4500
4500
  m(a, u) {
4501
- $(a, t, u), v(t, r), s || (o = xe(
4501
+ $(a, t, u), _(t, n), o || (s = xe(
4502
4502
  t,
4503
4503
  "click",
4504
4504
  /*click_handler*/
4505
4505
  e[41]
4506
- ), s = !0);
4506
+ ), o = !0);
4507
4507
  },
4508
4508
  p(a, u) {
4509
4509
  u[0] & /*$_*/
4510
- 1048576 && n !== (n = /*$_*/
4511
- a[20]("recentWinners") + "") && ee(r, n), u[0] & /*winnersType*/
4510
+ 1048576 && r !== (r = /*$_*/
4511
+ a[20]("recentWinners") + "") && ee(n, r), u[0] & /*winnersType*/
4512
4512
  1024 && i !== (i = "WinnersButton " + /*winnersType*/
4513
- (a[10] == "recent" ? "Active" : "")) && p(t, "class", i);
4513
+ (a[10] == "recent" ? "Active" : "")) && d(t, "class", i);
4514
4514
  },
4515
4515
  d(a) {
4516
- a && j(t), s = !1, o();
4516
+ a && j(t), o = !1, s();
4517
4517
  }
4518
4518
  };
4519
4519
  }
4520
- function mn(e) {
4521
- let t, n = (
4520
+ function dr(e) {
4521
+ let t, r = (
4522
4522
  /*$_*/
4523
4523
  e[20]("topWinners") + ""
4524
- ), r, i, s, o, a;
4524
+ ), n, i, o, s, a;
4525
4525
  return {
4526
4526
  c() {
4527
- t = P("button"), r = J(n), i = Z(), p(t, "class", s = "WinnersButton " + /*winnersType*/
4527
+ t = P("button"), n = J(r), i = Z(), d(t, "class", o = "WinnersButton " + /*winnersType*/
4528
4528
  (e[10] == "top" ? "Active" : "") + " " + /*istopavailable*/
4529
4529
  (e[1] == "false" ? "Off" : ""));
4530
4530
  },
4531
4531
  m(u, l) {
4532
- $(u, t, l), v(t, r), v(t, i), o || (a = xe(
4532
+ $(u, t, l), _(t, n), _(t, i), s || (a = xe(
4533
4533
  t,
4534
4534
  "click",
4535
4535
  /*click_handler_1*/
4536
4536
  e[42]
4537
- ), o = !0);
4537
+ ), s = !0);
4538
4538
  },
4539
4539
  p(u, l) {
4540
4540
  l[0] & /*$_*/
4541
- 1048576 && n !== (n = /*$_*/
4542
- u[20]("topWinners") + "") && ee(r, n), l[0] & /*winnersType, istopavailable*/
4543
- 1026 && s !== (s = "WinnersButton " + /*winnersType*/
4541
+ 1048576 && r !== (r = /*$_*/
4542
+ u[20]("topWinners") + "") && ee(n, r), l[0] & /*winnersType, istopavailable*/
4543
+ 1026 && o !== (o = "WinnersButton " + /*winnersType*/
4544
4544
  (u[10] == "top" ? "Active" : "") + " " + /*istopavailable*/
4545
- (u[1] == "false" ? "Off" : "")) && p(t, "class", s);
4545
+ (u[1] == "false" ? "Off" : "")) && d(t, "class", o);
4546
4546
  },
4547
4547
  d(u) {
4548
- u && j(t), o = !1, a();
4548
+ u && j(t), s = !1, a();
4549
4549
  }
4550
4550
  };
4551
4551
  }
4552
- function bn(e) {
4553
- let t, n, r = (
4552
+ function mr(e) {
4553
+ let t, r, n = (
4554
4554
  /*tab*/
4555
- e[73] == "recent" && dn(e)
4555
+ e[73] == "recent" && fr(e)
4556
4556
  ), i = (
4557
4557
  /*tab*/
4558
- e[73] == "top" && mn(e)
4558
+ e[73] == "top" && dr(e)
4559
4559
  );
4560
4560
  return {
4561
4561
  c() {
4562
- r && r.c(), t = Z(), i && i.c(), n = xt();
4562
+ n && n.c(), t = Z(), i && i.c(), r = xt();
4563
4563
  },
4564
- m(s, o) {
4565
- r && r.m(s, o), $(s, t, o), i && i.m(s, o), $(s, n, o);
4564
+ m(o, s) {
4565
+ n && n.m(o, s), $(o, t, s), i && i.m(o, s), $(o, r, s);
4566
4566
  },
4567
- p(s, o) {
4567
+ p(o, s) {
4568
4568
  /*tab*/
4569
- s[73] == "recent" ? r ? r.p(s, o) : (r = dn(s), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null), /*tab*/
4570
- s[73] == "top" ? i ? i.p(s, o) : (i = mn(s), i.c(), i.m(n.parentNode, n)) : i && (i.d(1), i = null);
4569
+ o[73] == "recent" ? n ? n.p(o, s) : (n = fr(o), n.c(), n.m(t.parentNode, t)) : n && (n.d(1), n = null), /*tab*/
4570
+ o[73] == "top" ? i ? i.p(o, s) : (i = dr(o), i.c(), i.m(r.parentNode, r)) : i && (i.d(1), i = null);
4571
4571
  },
4572
- d(s) {
4573
- s && (j(t), j(n)), r && r.d(s), i && i.d(s);
4572
+ d(o) {
4573
+ o && (j(t), j(r)), n && n.d(o), i && i.d(o);
4574
4574
  }
4575
4575
  };
4576
4576
  }
4577
- function qs(e) {
4577
+ function Ko(e) {
4578
4578
  let t;
4579
- function n(s, o) {
4579
+ function r(o, s) {
4580
4580
  return (
4581
4581
  /*winners*/
4582
- s[11].length !== 0 ? to : eo
4582
+ o[11].length !== 0 ? rs : ts
4583
4583
  );
4584
4584
  }
4585
- let r = n(e), i = r(e);
4585
+ let n = r(e), i = n(e);
4586
4586
  return {
4587
4587
  c() {
4588
- t = P("div"), i.c(), p(t, "class", "WinnersSlider");
4588
+ t = P("div"), i.c(), d(t, "class", "WinnersSlider");
4589
4589
  },
4590
- m(s, o) {
4591
- $(s, t, o), i.m(t, null), e[47](t);
4590
+ m(o, s) {
4591
+ $(o, t, s), i.m(t, null), e[47](t);
4592
4592
  },
4593
- p(s, o) {
4594
- r === (r = n(s)) && i ? i.p(s, o) : (i.d(1), i = r(s), i && (i.c(), i.m(t, null)));
4593
+ p(o, s) {
4594
+ n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
4595
4595
  },
4596
- d(s) {
4597
- s && j(t), i.d(), e[47](null);
4596
+ d(o) {
4597
+ o && j(t), i.d(), e[47](null);
4598
4598
  }
4599
4599
  };
4600
4600
  }
4601
- function Ks(e) {
4601
+ function es(e) {
4602
4602
  let t;
4603
4603
  return {
4604
4604
  c() {
@@ -4614,96 +4614,96 @@ function Ks(e) {
4614
4614
  e[5]
4615
4615
  );
4616
4616
  },
4617
- m(n, r) {
4618
- $(n, t, r);
4617
+ m(r, n) {
4618
+ $(r, t, n);
4619
4619
  },
4620
- p(n, r) {
4621
- r[0] & /*clientstyling*/
4620
+ p(r, n) {
4621
+ n[0] & /*clientstyling*/
4622
4622
  16 && te(
4623
4623
  t,
4624
4624
  "clientstyling",
4625
4625
  /*clientstyling*/
4626
- n[4]
4627
- ), r[0] & /*clientstylingurl*/
4626
+ r[4]
4627
+ ), n[0] & /*clientstylingurl*/
4628
4628
  32 && te(
4629
4629
  t,
4630
4630
  "clientstylingurl",
4631
4631
  /*clientstylingurl*/
4632
- n[5]
4632
+ r[5]
4633
4633
  );
4634
4634
  },
4635
- d(n) {
4636
- n && j(t);
4635
+ d(r) {
4636
+ r && j(t);
4637
4637
  }
4638
4638
  };
4639
4639
  }
4640
- function eo(e) {
4641
- let t, n = (
4640
+ function ts(e) {
4641
+ let t, r = (
4642
4642
  /*$_*/
4643
4643
  e[20]("noWinnersMessage") + ""
4644
- ), r;
4644
+ ), n;
4645
4645
  return {
4646
4646
  c() {
4647
- t = P("p"), r = J(n), p(t, "class", "NoWinnersMessage");
4647
+ t = P("p"), n = J(r), d(t, "class", "NoWinnersMessage");
4648
4648
  },
4649
- m(i, s) {
4650
- $(i, t, s), v(t, r);
4649
+ m(i, o) {
4650
+ $(i, t, o), _(t, n);
4651
4651
  },
4652
- p(i, s) {
4653
- s[0] & /*$_*/
4654
- 1048576 && n !== (n = /*$_*/
4655
- i[20]("noWinnersMessage") + "") && ee(r, n);
4652
+ p(i, o) {
4653
+ o[0] & /*$_*/
4654
+ 1048576 && r !== (r = /*$_*/
4655
+ i[20]("noWinnersMessage") + "") && ee(n, r);
4656
4656
  },
4657
4657
  d(i) {
4658
4658
  i && j(t);
4659
4659
  }
4660
4660
  };
4661
4661
  }
4662
- function to(e) {
4663
- let t, n = Fe(
4662
+ function rs(e) {
4663
+ let t, r = Fe(
4664
4664
  /*winners*/
4665
4665
  e[11]
4666
- ), r = [];
4667
- for (let i = 0; i < n.length; i += 1)
4668
- r[i] = gn(cn(e, n, i));
4666
+ ), n = [];
4667
+ for (let i = 0; i < r.length; i += 1)
4668
+ n[i] = br(hr(e, r, i));
4669
4669
  return {
4670
4670
  c() {
4671
- for (let i = 0; i < r.length; i += 1)
4672
- r[i].c();
4671
+ for (let i = 0; i < n.length; i += 1)
4672
+ n[i].c();
4673
4673
  t = xt();
4674
4674
  },
4675
- m(i, s) {
4676
- for (let o = 0; o < r.length; o += 1)
4677
- r[o] && r[o].m(i, s);
4678
- $(i, t, s);
4675
+ m(i, o) {
4676
+ for (let s = 0; s < n.length; s += 1)
4677
+ n[s] && n[s].m(i, o);
4678
+ $(i, t, o);
4679
4679
  },
4680
- p(i, s) {
4681
- if (s[0] & /*addAnimation, winnersGameCard, isLoggedIn, usercurrency, defaultcurrency, winners, $_, maskUsername, openWinnersGame*/
4680
+ p(i, o) {
4681
+ if (o[0] & /*addAnimation, winnersGameCard, isLoggedIn, usercurrency, defaultcurrency, winners, $_, maskUsername, openWinnersGame*/
4682
4682
  14223500) {
4683
- n = Fe(
4683
+ r = Fe(
4684
4684
  /*winners*/
4685
4685
  i[11]
4686
4686
  );
4687
- let o;
4688
- for (o = 0; o < n.length; o += 1) {
4689
- const a = cn(i, n, o);
4690
- r[o] ? r[o].p(a, s) : (r[o] = gn(a), r[o].c(), r[o].m(t.parentNode, t));
4687
+ let s;
4688
+ for (s = 0; s < r.length; s += 1) {
4689
+ const a = hr(i, r, s);
4690
+ n[s] ? n[s].p(a, o) : (n[s] = br(a), n[s].c(), n[s].m(t.parentNode, t));
4691
4691
  }
4692
- for (; o < r.length; o += 1)
4693
- r[o].d(1);
4694
- r.length = n.length;
4692
+ for (; s < n.length; s += 1)
4693
+ n[s].d(1);
4694
+ n.length = r.length;
4695
4695
  }
4696
4696
  },
4697
4697
  d(i) {
4698
- i && j(t), En(r, i);
4698
+ i && j(t), _r(n, i);
4699
4699
  }
4700
4700
  };
4701
4701
  }
4702
- function gn(e) {
4703
- let t, n, r, i, s, o, a, u = (
4702
+ function br(e) {
4703
+ let t, r, n, i, o, s, a, u = (
4704
4704
  /*winner*/
4705
4705
  e[70].gameName + ""
4706
- ), l, c, d, f = (
4706
+ ), l, c, p, f = (
4707
4707
  /*maskUsername*/
4708
4708
  e[22](
4709
4709
  /*winner*/
@@ -4737,21 +4737,21 @@ function gn(e) {
4737
4737
  return {
4738
4738
  c() {
4739
4739
  var z, W, Y, k;
4740
- t = P("div"), n = P("div"), r = P("img"), o = Z(), a = P("p"), l = J(u), c = Z(), d = P("p"), m = J(f), y = Z(), b = P("p"), R = J(O), I = Z(), T = P("p"), x = J(B), D = Z(), F = P("span"), g = J(L), N = Z(), Dt(r.src, i = /*winner*/
4741
- (W = (z = e[70]) == null ? void 0 : z.gameModel) == null ? void 0 : W.thumbnail) || p(r, "src", i), p(r, "alt", s = /*winner*/
4742
- (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*/
4740
+ t = P("div"), r = P("div"), n = P("img"), s = Z(), a = P("p"), l = J(u), c = Z(), p = P("p"), m = J(f), y = Z(), b = P("p"), R = J(O), I = Z(), T = P("p"), x = J(B), D = Z(), F = P("span"), g = J(L), N = Z(), Dt(n.src, i = /*winner*/
4741
+ (W = (z = e[70]) == null ? void 0 : z.gameModel) == null ? void 0 : W.thumbnail) || d(n, "src", i), d(n, "alt", o = /*winner*/
4742
+ (k = (Y = e[70]) == null ? void 0 : Y.gameModel) == null ? void 0 : k.thumbnail), d(n, "class", "WinnersImage"), d(b, "class", "WinnerUsername"), d(r, "class", "WinnerCard"), d(t, "class", S = "CardWrapper " + /*addAnimation*/
4743
4743
  (e[16] ? "CardWrapperAnimation" : ""));
4744
4744
  },
4745
4745
  m(z, W) {
4746
- $(z, t, W), v(t, n), v(n, r), v(n, o), v(n, a), v(a, l), v(n, c), v(n, d), v(d, m), v(n, y), v(n, b), v(b, R), v(n, I), v(n, T), v(T, x), v(T, D), v(T, F), v(F, g), v(t, N), e[46](t), A || (U = xe(r, "click", ze), A = !0);
4746
+ $(z, t, W), _(t, r), _(r, n), _(r, s), _(r, a), _(a, l), _(r, c), _(r, p), _(p, m), _(r, y), _(r, b), _(b, R), _(r, I), _(r, T), _(T, x), _(T, D), _(T, F), _(F, g), _(t, N), e[46](t), A || (U = xe(n, "click", ze), A = !0);
4747
4747
  },
4748
4748
  p(z, W) {
4749
- var Y, k, ie, se;
4749
+ var Y, k, ie, oe;
4750
4750
  e = z, W[0] & /*winners*/
4751
- 2048 && !Dt(r.src, i = /*winner*/
4752
- (k = (Y = e[70]) == null ? void 0 : Y.gameModel) == null ? void 0 : k.thumbnail) && p(r, "src", i), W[0] & /*winners*/
4753
- 2048 && s !== (s = /*winner*/
4754
- (se = (ie = e[70]) == null ? void 0 : ie.gameModel) == null ? void 0 : se.thumbnail) && p(r, "alt", s), W[0] & /*winners*/
4751
+ 2048 && !Dt(n.src, i = /*winner*/
4752
+ (k = (Y = e[70]) == null ? void 0 : Y.gameModel) == null ? void 0 : k.thumbnail) && d(n, "src", i), W[0] & /*winners*/
4753
+ 2048 && o !== (o = /*winner*/
4754
+ (oe = (ie = e[70]) == null ? void 0 : ie.gameModel) == null ? void 0 : oe.thumbnail) && d(n, "alt", o), W[0] & /*winners*/
4755
4755
  2048 && u !== (u = /*winner*/
4756
4756
  e[70].gameName + "") && ee(l, u), W[0] & /*winners*/
4757
4757
  2048 && f !== (f = /*maskUsername*/
@@ -4772,70 +4772,70 @@ function gn(e) {
4772
4772
  e[2]
4773
4773
  )) + "") && ee(g, L), W[0] & /*addAnimation*/
4774
4774
  65536 && S !== (S = "CardWrapper " + /*addAnimation*/
4775
- (e[16] ? "CardWrapperAnimation" : "")) && p(t, "class", S);
4775
+ (e[16] ? "CardWrapperAnimation" : "")) && d(t, "class", S);
4776
4776
  },
4777
4777
  d(z) {
4778
4778
  z && j(t), e[46](null), A = !1, U();
4779
4779
  }
4780
4780
  };
4781
4781
  }
4782
- function no(e) {
4782
+ function ns(e) {
4783
4783
  let t;
4784
- function n(s, o) {
4784
+ function r(o, s) {
4785
4785
  return (
4786
4786
  /*isLoading*/
4787
- s[14] || /*isLoadingCustomStyling*/
4788
- s[15] ? Ys : Js
4787
+ o[14] || /*isLoadingCustomStyling*/
4788
+ o[15] ? qo : Yo
4789
4789
  );
4790
4790
  }
4791
- let r = n(e), i = r(e);
4791
+ let n = r(e), i = n(e);
4792
4792
  return {
4793
4793
  c() {
4794
4794
  t = P("div"), i.c();
4795
4795
  },
4796
- m(s, o) {
4797
- $(s, t, o), i.m(t, null), e[48](t);
4796
+ m(o, s) {
4797
+ $(o, t, s), i.m(t, null), e[48](t);
4798
4798
  },
4799
- p(s, o) {
4800
- r === (r = n(s)) && i ? i.p(s, o) : (i.d(1), i = r(s), i && (i.c(), i.m(t, null)));
4799
+ p(o, s) {
4800
+ n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
4801
4801
  },
4802
4802
  i: Q,
4803
4803
  o: Q,
4804
- d(s) {
4805
- s && j(t), i.d(), e[48](null);
4804
+ d(o) {
4805
+ o && j(t), i.d(), e[48](null);
4806
4806
  }
4807
4807
  };
4808
4808
  }
4809
- function ro(e, t, n) {
4810
- let r;
4811
- Sr(e, Ms, (h) => n(20, r = h));
4812
- let { endpoint: i = "" } = t, { session: s = "" } = t, { userid: o = "" } = t, { periodrecent: a = "Today" } = t, { periodtop: u = "Last7Days" } = t, { numberusersrecent: l = "20" } = t, { numberuserstop: c = "20" } = t, { amountlimit: d = "1" } = t, { vendorCategory: f = "All" } = t, { lang: m = "en" } = t, { isrecentavailable: y = "true" } = t, { istopavailable: b = "true" } = t, { defaultcurrency: O = "" } = t, { usercurrency: R = "" } = t, { clientstyling: I = "" } = t, { clientstylingurl: T = "" } = t, { enableautoscroll: B = "" } = t, { tabsorder: x = "" } = t, { translationurl: D = "" } = t, { winnersdatasources: F = "" } = t, { hascustomstyling: L = "false" } = t, g, N, S = [], A = 0, U = 0, ze = window.navigator.userAgent, z, W, Y, k, ie = !0, se = !1, Tt = !1, Ht, Be, Ze, Ae, Bt = [], Qe = !1, Ce, At = 0;
4813
- const er = () => {
4809
+ function is(e, t, r) {
4810
+ let n;
4811
+ Sn(e, No, (h) => r(20, n = h));
4812
+ let { endpoint: i = "" } = t, { session: o = "" } = t, { userid: s = "" } = t, { periodrecent: a = "Today" } = t, { periodtop: u = "Last7Days" } = t, { numberusersrecent: l = "20" } = t, { numberuserstop: c = "20" } = t, { amountlimit: p = "1" } = t, { vendorCategory: f = "All" } = t, { lang: m = "en" } = t, { isrecentavailable: y = "true" } = t, { istopavailable: b = "true" } = t, { defaultcurrency: O = "" } = t, { usercurrency: R = "" } = t, { clientstyling: I = "" } = t, { clientstylingurl: T = "" } = t, { enableautoscroll: B = "" } = t, { tabsorder: x = "" } = t, { translationurl: D = "" } = t, { winnersdatasources: F = "" } = t, { hascustomstyling: L = "false" } = t, g, N, S = [], A = 0, U = 0, ze = window.navigator.userAgent, z, W, Y, k, ie = !0, oe = !1, Tt = !1, Ht, Be, Ze, Ae, Bt = [], Qe = !1, Ce, At = 0;
4813
+ const Kr = () => {
4814
4814
  let h = new URL(D);
4815
4815
  fetch(h.href).then((M) => M.json()).then((M) => {
4816
4816
  Object.keys(M).forEach((V) => {
4817
- tn(V, M[V]);
4817
+ tr(V, M[V]);
4818
4818
  });
4819
4819
  }).catch((M) => {
4820
4820
  console.log(M);
4821
4821
  });
4822
4822
  };
4823
- Object.keys(nn).forEach((h) => {
4824
- tn(h, nn[h]);
4823
+ Object.keys(rr).forEach((h) => {
4824
+ tr(h, rr[h]);
4825
4825
  });
4826
4826
  const Ct = () => {
4827
4827
  Bt = F.split(",").map(function(M) {
4828
4828
  return M.trim();
4829
4829
  });
4830
4830
  const h = new URL(`${i}/v1/casino/${N}-winners`);
4831
- n(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", m), h.searchParams.append("amountLimit", d), h.searchParams.append("vendorCategory", f), Bt.forEach((M) => {
4831
+ 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", m), h.searchParams.append("amountLimit", p), h.searchParams.append("vendorCategory", f), Bt.forEach((M) => {
4832
4832
  h.searchParams.append("dataSource", M);
4833
4833
  }), setTimeout(
4834
4834
  () => {
4835
4835
  fetch(h.href).then((M) => M.json()).then((M) => {
4836
- n(11, S = []), n(11, S = M.items.map((V) => V)), n(18, Qe = !1), setTimeout(
4836
+ r(11, S = []), r(11, S = M.items.map((V) => V)), r(18, Qe = !1), setTimeout(
4837
4837
  () => {
4838
- rr(), Ot(), B == "true" && (clearInterval(Be), nr()), n(14, ie = !1);
4838
+ rn(), Ot(), B == "true" && (clearInterval(Be), tn()), r(14, ie = !1);
4839
4839
  },
4840
4840
  5
4841
4841
  );
@@ -4844,8 +4844,8 @@ function ro(e, t, n) {
4844
4844
  1e3
4845
4845
  );
4846
4846
  }, Je = (h) => {
4847
- N !== h && (n(11, S = []), n(10, N = h), Ct());
4848
- }, tr = (h) => h.slice(0, 2) + h.slice(2, -2).replace(/./g, "*") + h.slice(-2), Pt = (h, M, V, Pe) => {
4847
+ N !== h && (r(11, S = []), r(10, N = h), Ct());
4848
+ }, en = (h) => h.slice(0, 2) + h.slice(2, -2).replace(/./g, "*") + h.slice(-2), Pt = (h, M, V, Pe) => {
4849
4849
  window.postMessage(
4850
4850
  {
4851
4851
  type: "OpenCasinoWinnersGame",
@@ -4866,11 +4866,11 @@ function ro(e, t, n) {
4866
4866
  V.style.transform = `translateX(${100 * (h ? Pe - h : Pe)}%)`;
4867
4867
  }), setTimeout(
4868
4868
  () => {
4869
- n(16, Tt = !0);
4869
+ r(16, Tt = !0);
4870
4870
  },
4871
4871
  10
4872
4872
  );
4873
- }, nr = () => {
4873
+ }, tn = () => {
4874
4874
  A = 0, U < Ht ? Be = setInterval(
4875
4875
  () => {
4876
4876
  Ye();
@@ -4879,8 +4879,8 @@ function ro(e, t, n) {
4879
4879
  ) : clearInterval(Be);
4880
4880
  }, Mt = () => {
4881
4881
  Ot(A);
4882
- }, rr = () => {
4883
- At = Ce.offsetWidth, n(12, U = Math.round(g.offsetWidth / At));
4882
+ }, rn = () => {
4883
+ At = Ce.offsetWidth, r(12, U = Math.round(g.offsetWidth / At));
4884
4884
  }, Nt = () => {
4885
4885
  if (U >= S.length) return;
4886
4886
  const h = S.length;
@@ -4889,16 +4889,16 @@ function ro(e, t, n) {
4889
4889
  if (U >= S.length) return;
4890
4890
  const h = S.length;
4891
4891
  B == "true" && (A === h - U ? A = 0 : A++), B == "false" && (A === h - U ? A = 0 : h - U < A + U ? A = h - U : A += U), Mt();
4892
- }, ir = () => {
4893
- Ns(m);
4894
- }, sr = () => {
4895
- n(7, W = !0), Y = o;
4892
+ }, nn = () => {
4893
+ Io(m);
4894
+ }, on = () => {
4895
+ r(7, W = !0), Y = s;
4896
4896
  }, It = () => {
4897
- n(40, Ae = W ? R : O);
4898
- }, or = () => {
4897
+ r(40, Ae = W ? R : O);
4898
+ }, sn = () => {
4899
4899
  let h = document.createElement("style");
4900
4900
  h.innerHTML = I, k.appendChild(h);
4901
- }, ar = () => {
4901
+ }, an = () => {
4902
4902
  let h = new URL(T), M = document.createElement("style");
4903
4903
  fetch(h.href).then((V) => V.text()).then((V) => {
4904
4904
  M.innerHTML = V, setTimeout(
@@ -4910,47 +4910,47 @@ function ro(e, t, n) {
4910
4910
  () => {
4911
4911
  },
4912
4912
  500
4913
- ), n(15, se = !1);
4913
+ ), r(15, oe = !1);
4914
4914
  });
4915
- }, ur = () => {
4916
- L === "true" && (!I && !T && k && console.error("clientstyling or clientstylingurl mandatory if hascustomstyling is true"), !I && T && n(15, se = !0));
4917
- }, lr = () => {
4918
- n(17, Ze = x.split(",")), n(10, N = Ze[0]), It(), n(14, ie = !1);
4915
+ }, un = () => {
4916
+ L === "true" && (!I && !T && k && console.error("clientstyling or clientstylingurl mandatory if hascustomstyling is true"), !I && T && r(15, oe = !0));
4917
+ }, ln = () => {
4918
+ r(17, Ze = x.split(",")), r(10, N = Ze[0]), It(), r(14, ie = !1);
4919
4919
  };
4920
- Or(() => (n(13, z = Zs(ze)), () => {
4920
+ On(() => (r(13, z = Qo(ze)), () => {
4921
4921
  clearInterval(Be);
4922
4922
  }));
4923
- const hr = () => Je("recent"), cr = () => Je("top"), fr = () => Nt(), dr = () => Ye(), pr = (h) => Pt(h.gameId, h.gameModel.launchUrl, h.gameModel.name, h.gameModel.subVendor);
4924
- function mr(h) {
4923
+ const hn = () => Je("recent"), cn = () => Je("top"), fn = () => Nt(), pn = () => Ye(), dn = (h) => Pt(h.gameId, h.gameModel.launchUrl, h.gameModel.name, h.gameModel.subVendor);
4924
+ function mn(h) {
4925
4925
  Ee[h ? "unshift" : "push"](() => {
4926
- Ce = h, n(19, Ce);
4926
+ Ce = h, r(19, Ce);
4927
4927
  });
4928
4928
  }
4929
- function br(h) {
4929
+ function bn(h) {
4930
4930
  Ee[h ? "unshift" : "push"](() => {
4931
- g = h, n(9, g);
4931
+ g = h, r(9, g);
4932
4932
  });
4933
4933
  }
4934
- function gr(h) {
4934
+ function gn(h) {
4935
4935
  Ee[h ? "unshift" : "push"](() => {
4936
- k = h, n(8, k);
4936
+ k = h, r(8, k);
4937
4937
  });
4938
4938
  }
4939
4939
  return e.$$set = (h) => {
4940
- "endpoint" in h && n(26, i = h.endpoint), "session" in h && n(27, s = h.session), "userid" in h && n(28, o = 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, I = 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);
4940
+ "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, p = h.amountlimit), "vendorCategory" in h && r(34, f = h.vendorCategory), "lang" in h && r(35, m = h.lang), "isrecentavailable" in h && r(0, y = h.isrecentavailable), "istopavailable" in h && r(1, b = h.istopavailable), "defaultcurrency" in h && r(2, O = h.defaultcurrency), "usercurrency" in h && r(3, R = h.usercurrency), "clientstyling" in h && r(4, I = 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, D = h.translationurl), "winnersdatasources" in h && r(38, F = h.winnersdatasources), "hascustomstyling" in h && r(39, L = h.hascustomstyling);
4941
4941
  }, e.$$.update = () => {
4942
4942
  e.$$.dirty[0] & /*isrecentavailable, istopavailable, periodrecent, periodtop*/
4943
4943
  1610612739 | e.$$.dirty[1] & /*numberusersrecent, numberuserstop, amountlimit, vendorCategory, lang, tabsorder*/
4944
- 63 && y && b && a && u && l && c && d && f && m && x && lr(), e.$$.dirty[0] & /*session*/
4945
- 134217728 && s && sr(), e.$$.dirty[0] & /*isLoggedIn, usercurrency, defaultcurrency*/
4944
+ 63 && y && b && a && u && l && c && p && f && m && x && ln(), e.$$.dirty[0] & /*session*/
4945
+ 134217728 && o && on(), e.$$.dirty[0] & /*isLoggedIn, usercurrency, defaultcurrency*/
4946
4946
  140 && W && (R || O) && It(), e.$$.dirty[0] & /*endpoint*/
4947
4947
  67108864 | e.$$.dirty[1] & /*winnersdatasources, currency*/
4948
4948
  640 && i && F && Ae && Ct(), e.$$.dirty[1] & /*lang*/
4949
- 16 && m && ir(), e.$$.dirty[1] & /*translationurl*/
4950
- 64 && D && er(), e.$$.dirty[1] & /*hascustomstyling*/
4951
- 256 && L && ur(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4952
- 272 && I && k && or(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4953
- 288 && T && k && ar();
4949
+ 16 && m && nn(), e.$$.dirty[1] & /*translationurl*/
4950
+ 64 && D && Kr(), e.$$.dirty[1] & /*hascustomstyling*/
4951
+ 256 && L && un(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4952
+ 272 && I && k && sn(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4953
+ 288 && T && k && an();
4954
4954
  }, [
4955
4955
  y,
4956
4956
  b,
@@ -4967,25 +4967,25 @@ function ro(e, t, n) {
4967
4967
  U,
4968
4968
  z,
4969
4969
  ie,
4970
- se,
4970
+ oe,
4971
4971
  Tt,
4972
4972
  Ze,
4973
4973
  Qe,
4974
4974
  Ce,
4975
- r,
4975
+ n,
4976
4976
  Je,
4977
- tr,
4977
+ en,
4978
4978
  Pt,
4979
4979
  Nt,
4980
4980
  Ye,
4981
4981
  i,
4982
- s,
4983
4982
  o,
4983
+ s,
4984
4984
  a,
4985
4985
  u,
4986
4986
  l,
4987
4987
  c,
4988
- d,
4988
+ p,
4989
4989
  f,
4990
4990
  m,
4991
4991
  x,
@@ -4993,24 +4993,24 @@ function ro(e, t, n) {
4993
4993
  F,
4994
4994
  L,
4995
4995
  Ae,
4996
- hr,
4997
- cr,
4998
- fr,
4999
- dr,
5000
- pr,
5001
- mr,
5002
- br,
5003
- gr
4996
+ hn,
4997
+ cn,
4998
+ fn,
4999
+ pn,
5000
+ dn,
5001
+ mn,
5002
+ bn,
5003
+ gn
5004
5004
  ];
5005
5005
  }
5006
- class Kn extends kr {
5006
+ class qr extends kn {
5007
5007
  constructor(t) {
5008
- super(), Gr(
5008
+ super(), Gn(
5009
5009
  this,
5010
5010
  t,
5011
- ro,
5012
- no,
5013
- _n,
5011
+ is,
5012
+ ns,
5013
+ yr,
5014
5014
  {
5015
5015
  endpoint: 26,
5016
5016
  session: 27,
@@ -5034,7 +5034,7 @@ class Kn extends kr {
5034
5034
  winnersdatasources: 38,
5035
5035
  hascustomstyling: 39
5036
5036
  },
5037
- Qs,
5037
+ Jo,
5038
5038
  [-1, -1, -1]
5039
5039
  );
5040
5040
  }
@@ -5165,22 +5165,22 @@ class Kn extends kr {
5165
5165
  this.$$set({ hascustomstyling: t }), C();
5166
5166
  }
5167
5167
  }
5168
- jr(Kn, { endpoint: {}, session: {}, userid: {}, periodrecent: {}, periodtop: {}, numberusersrecent: {}, numberuserstop: {}, amountlimit: {}, vendorCategory: {}, lang: {}, isrecentavailable: {}, istopavailable: {}, defaultcurrency: {}, usercurrency: {}, clientstyling: {}, clientstylingurl: {}, enableautoscroll: {}, tabsorder: {}, translationurl: {}, winnersdatasources: {}, hascustomstyling: {} }, [], [], !0);
5169
- const so = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5168
+ jn(qr, { endpoint: {}, session: {}, userid: {}, periodrecent: {}, periodtop: {}, numberusersrecent: {}, numberuserstop: {}, amountlimit: {}, vendorCategory: {}, lang: {}, isrecentavailable: {}, istopavailable: {}, defaultcurrency: {}, usercurrency: {}, clientstyling: {}, clientstylingurl: {}, enableautoscroll: {}, tabsorder: {}, translationurl: {}, winnersdatasources: {}, hascustomstyling: {} }, [], [], !0);
5169
+ const ss = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5170
5170
  __proto__: null,
5171
- default: Kn
5171
+ default: qr
5172
5172
  }, Symbol.toStringTag, { value: "Module" }));
5173
5173
  export {
5174
- so as C,
5175
- kr as S,
5176
- Tr as a,
5174
+ ss as C,
5175
+ kn as S,
5176
+ Tn as a,
5177
5177
  $ as b,
5178
5178
  Ee as c,
5179
5179
  j as d,
5180
5180
  P as e,
5181
5181
  C as f,
5182
- jr as g,
5183
- Gr as i,
5182
+ jn as g,
5183
+ Gn as i,
5184
5184
  Q as n,
5185
- _n as s
5185
+ yr as s
5186
5186
  };