@everymatrix/casino-winners 1.76.1 → 1.76.4

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