@everymatrix/casino-slider 1.76.0 → 1.76.3

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,57 +1,57 @@
1
- var kr = Object.defineProperty, $r = Object.defineProperties;
2
- var jr = Object.getOwnPropertyDescriptors;
3
- var pt = Object.getOwnPropertySymbols;
4
- var Vr = Object.prototype.hasOwnProperty, Xr = Object.prototype.propertyIsEnumerable;
5
- var $e = (e, t, r) => t in e ? kr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, gt = (e, t) => {
1
+ var Gr = Object.defineProperty, kr = Object.defineProperties;
2
+ var $r = Object.getOwnPropertyDescriptors;
3
+ var dt = Object.getOwnPropertySymbols;
4
+ var jr = Object.prototype.hasOwnProperty, Vr = Object.prototype.propertyIsEnumerable;
5
+ var Ge = (e, t, r) => t in e ? Gr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, pt = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- Vr.call(t, r) && $e(e, r, t[r]);
8
- if (pt)
9
- for (var r of pt(t))
10
- Xr.call(t, r) && $e(e, r, t[r]);
7
+ jr.call(t, r) && Ge(e, r, t[r]);
8
+ if (dt)
9
+ for (var r of dt(t))
10
+ Vr.call(t, r) && Ge(e, r, t[r]);
11
11
  return e;
12
- }, bt = (e, t) => $r(e, jr(t));
13
- var G = (e, t, r) => ($e(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var yt = (e, t, r) => new Promise((n, i) => {
15
- var o = (u) => {
12
+ }, gt = (e, t) => kr(e, $r(t));
13
+ var G = (e, t, r) => (Ge(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var bt = (e, t, r) => new Promise((n, i) => {
15
+ var s = (u) => {
16
16
  try {
17
17
  a(r.next(u));
18
18
  } catch (l) {
19
19
  i(l);
20
20
  }
21
- }, s = (u) => {
21
+ }, o = (u) => {
22
22
  try {
23
23
  a(r.throw(u));
24
24
  } catch (l) {
25
25
  i(l);
26
26
  }
27
- }, a = (u) => u.done ? n(u.value) : Promise.resolve(u.value).then(o, s);
27
+ }, a = (u) => u.done ? n(u.value) : Promise.resolve(u.value).then(s, o);
28
28
  a((r = r.apply(e, t)).next());
29
29
  });
30
30
  function $() {
31
31
  }
32
- function zt(e) {
32
+ function Wt(e) {
33
33
  return e();
34
34
  }
35
- function vt() {
35
+ function yt() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
- function K(e) {
39
- e.forEach(zt);
38
+ function Y(e) {
39
+ e.forEach(Wt);
40
40
  }
41
- function at(e) {
41
+ function ot(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function Zt(e, t) {
44
+ function zt(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
- let Te;
47
+ let Se;
48
48
  function _t(e, t) {
49
- return e === t ? !0 : (Te || (Te = document.createElement("a")), Te.href = t, e === Te.href);
49
+ return e === t ? !0 : (Se || (Se = document.createElement("a")), Se.href = t, e === Se.href);
50
50
  }
51
- function Wr(e) {
51
+ function Xr(e) {
52
52
  return Object.keys(e).length === 0;
53
53
  }
54
- function zr(e, ...t) {
54
+ function Wr(e, ...t) {
55
55
  if (e == null) {
56
56
  for (const n of t)
57
57
  n(void 0);
@@ -63,14 +63,14 @@ function zr(e, ...t) {
63
63
  function M(e, t) {
64
64
  e.appendChild(t);
65
65
  }
66
- function Zr(e, t, r) {
67
- const n = Qr(e);
66
+ function zr(e, t, r) {
67
+ const n = Zr(e);
68
68
  if (!n.getElementById(t)) {
69
69
  const i = P("style");
70
- i.id = t, i.textContent = r, qr(n, i);
70
+ i.id = t, i.textContent = r, Qr(n, i);
71
71
  }
72
72
  }
73
- function Qr(e) {
73
+ function Zr(e) {
74
74
  if (!e)
75
75
  return document;
76
76
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -80,7 +80,7 @@ function Qr(e) {
80
80
  t
81
81
  ) : e.ownerDocument;
82
82
  }
83
- function qr(e, t) {
83
+ function Qr(e, t) {
84
84
  return M(
85
85
  /** @type {Document} */
86
86
  e.head || e,
@@ -93,7 +93,7 @@ function k(e, t, r) {
93
93
  function U(e) {
94
94
  e.parentNode && e.parentNode.removeChild(e);
95
95
  }
96
- function Jr(e, t) {
96
+ function qr(e, t) {
97
97
  for (let r = 0; r < e.length; r += 1)
98
98
  e[r] && e[r].d(t);
99
99
  }
@@ -103,31 +103,31 @@ function P(e) {
103
103
  function Ce(e) {
104
104
  return document.createTextNode(e);
105
105
  }
106
- function Y() {
106
+ function J() {
107
107
  return Ce(" ");
108
108
  }
109
109
  function _e() {
110
110
  return Ce("");
111
111
  }
112
- function X(e, t, r, n) {
112
+ function V(e, t, r, n) {
113
113
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
114
114
  }
115
- function Yr(e) {
115
+ function Jr(e) {
116
116
  return function(t) {
117
117
  return t.preventDefault(), e.call(this, t);
118
118
  };
119
119
  }
120
- function S(e, t, r) {
120
+ function T(e, t, r) {
121
121
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
122
122
  }
123
- function Kr(e) {
123
+ function Yr(e) {
124
124
  return Array.from(e.childNodes);
125
125
  }
126
- function lt(e, t) {
126
+ function st(e, t) {
127
127
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
128
128
  t);
129
129
  }
130
- function en(e) {
130
+ function Kr(e) {
131
131
  const t = {};
132
132
  return e.childNodes.forEach(
133
133
  /** @param {Element} node */
@@ -136,132 +136,132 @@ function en(e) {
136
136
  }
137
137
  ), t;
138
138
  }
139
- let Ee;
140
- function ye(e) {
141
- Ee = e;
139
+ let ve;
140
+ function be(e) {
141
+ ve = e;
142
142
  }
143
- function tn() {
144
- if (!Ee)
143
+ function en() {
144
+ if (!ve)
145
145
  throw new Error("Function called outside component initialization");
146
- return Ee;
146
+ return ve;
147
147
  }
148
- function rn(e) {
149
- tn().$$.on_mount.push(e);
148
+ function tn(e) {
149
+ en().$$.on_mount.push(e);
150
150
  }
151
- function nn(e, t) {
151
+ function rn(e, t) {
152
152
  const r = e.$$.callbacks[t.type];
153
153
  r && r.slice().forEach((n) => n.call(this, t));
154
154
  }
155
- const oe = [], ve = [];
156
- let se = [];
157
- const Et = [], on = /* @__PURE__ */ Promise.resolve();
158
- let qe = !1;
159
- function sn() {
160
- qe || (qe = !0, on.then(B));
155
+ const ie = [], ye = [];
156
+ let oe = [];
157
+ const vt = [], nn = /* @__PURE__ */ Promise.resolve();
158
+ let Ze = !1;
159
+ function on() {
160
+ Ze || (Ze = !0, nn.then(B));
161
161
  }
162
- function Je(e) {
163
- se.push(e);
162
+ function Qe(e) {
163
+ oe.push(e);
164
164
  }
165
- const je = /* @__PURE__ */ new Set();
166
- let ne = 0;
165
+ const ke = /* @__PURE__ */ new Set();
166
+ let re = 0;
167
167
  function B() {
168
- if (ne !== 0)
168
+ if (re !== 0)
169
169
  return;
170
- const e = Ee;
170
+ const e = ve;
171
171
  do {
172
172
  try {
173
- for (; ne < oe.length; ) {
174
- const t = oe[ne];
175
- ne++, ye(t), an(t.$$);
173
+ for (; re < ie.length; ) {
174
+ const t = ie[re];
175
+ re++, be(t), sn(t.$$);
176
176
  }
177
177
  } catch (t) {
178
- throw oe.length = 0, ne = 0, t;
178
+ throw ie.length = 0, re = 0, t;
179
179
  }
180
- for (ye(null), oe.length = 0, ne = 0; ve.length; )
181
- ve.pop()();
182
- for (let t = 0; t < se.length; t += 1) {
183
- const r = se[t];
184
- je.has(r) || (je.add(r), r());
180
+ for (be(null), ie.length = 0, re = 0; ye.length; )
181
+ ye.pop()();
182
+ for (let t = 0; t < oe.length; t += 1) {
183
+ const r = oe[t];
184
+ ke.has(r) || (ke.add(r), r());
185
185
  }
186
- se.length = 0;
187
- } while (oe.length);
188
- for (; Et.length; )
189
- Et.pop()();
190
- qe = !1, je.clear(), ye(e);
186
+ oe.length = 0;
187
+ } while (ie.length);
188
+ for (; vt.length; )
189
+ vt.pop()();
190
+ Ze = !1, ke.clear(), be(e);
191
191
  }
192
- function an(e) {
192
+ function sn(e) {
193
193
  if (e.fragment !== null) {
194
- e.update(), K(e.before_update);
194
+ e.update(), Y(e.before_update);
195
195
  const t = e.dirty;
196
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Je);
196
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Qe);
197
197
  }
198
198
  }
199
- function ln(e) {
199
+ function an(e) {
200
200
  const t = [], r = [];
201
- se.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), se = t;
201
+ oe.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), oe = t;
202
202
  }
203
- const un = /* @__PURE__ */ new Set();
204
- function Qt(e, t) {
205
- e && e.i && (un.delete(e), e.i(t));
203
+ const ln = /* @__PURE__ */ new Set();
204
+ function Zt(e, t) {
205
+ e && e.i && (ln.delete(e), e.i(t));
206
206
  }
207
- function ae(e) {
207
+ function se(e) {
208
208
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
209
209
  }
210
- function qt(e, t) {
210
+ function Qt(e, t) {
211
211
  e.d(1), t.delete(e.key);
212
212
  }
213
- function Jt(e, t, r, n, i, o, s, a, u, l, c, m) {
214
- let f = e.length, p = o.length, g = f;
213
+ function qt(e, t, r, n, i, s, o, a, u, l, c, m) {
214
+ let f = e.length, p = s.length, g = f;
215
215
  const b = {};
216
216
  for (; g--; )
217
217
  b[e[g].key] = g;
218
- const d = [], C = /* @__PURE__ */ new Map(), E = /* @__PURE__ */ new Map(), w = [];
218
+ const d = [], H = /* @__PURE__ */ new Map(), E = /* @__PURE__ */ new Map(), w = [];
219
219
  for (g = p; g--; ) {
220
- const H = m(i, o, g), R = r(H);
221
- let D = s.get(R);
222
- D ? w.push(() => D.p(H, t)) : (D = l(R, H), D.c()), C.set(R, d[g] = D), R in b && E.set(R, Math.abs(g - b[R]));
220
+ const S = m(i, s, g), R = r(S);
221
+ let D = o.get(R);
222
+ D ? w.push(() => D.p(S, t)) : (D = l(R, S), D.c()), H.set(R, d[g] = D), R in b && E.set(R, Math.abs(g - b[R]));
223
223
  }
224
224
  const O = /* @__PURE__ */ new Set(), L = /* @__PURE__ */ new Set();
225
- function v(H) {
226
- Qt(H, 1), H.m(a, c), s.set(H.key, H), c = H.first, p--;
225
+ function _(S) {
226
+ Zt(S, 1), S.m(a, c), o.set(S.key, S), c = S.first, p--;
227
227
  }
228
228
  for (; f && p; ) {
229
- const H = d[p - 1], R = e[f - 1], D = H.key, te = R.key;
230
- H === R ? (c = H.first, f--, p--) : C.has(te) ? !s.has(D) || O.has(D) ? v(H) : L.has(te) ? f-- : E.get(D) > E.get(te) ? (L.add(D), v(H)) : (O.add(te), f--) : (u(R, s), f--);
229
+ const S = d[p - 1], R = e[f - 1], D = S.key, ee = R.key;
230
+ S === R ? (c = S.first, f--, p--) : H.has(ee) ? !o.has(D) || O.has(D) ? _(S) : L.has(ee) ? f-- : E.get(D) > E.get(ee) ? (L.add(D), _(S)) : (O.add(ee), f--) : (u(R, o), f--);
231
231
  }
232
232
  for (; f--; ) {
233
- const H = e[f];
234
- C.has(H.key) || u(H, s);
233
+ const S = e[f];
234
+ H.has(S.key) || u(S, o);
235
235
  }
236
236
  for (; p; )
237
- v(d[p - 1]);
238
- return K(w), d;
237
+ _(d[p - 1]);
238
+ return Y(w), d;
239
239
  }
240
- function hn(e, t, r) {
240
+ function un(e, t, r) {
241
241
  const { fragment: n, after_update: i } = e.$$;
242
- n && n.m(t, r), Je(() => {
243
- const o = e.$$.on_mount.map(zt).filter(at);
244
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : K(o), e.$$.on_mount = [];
245
- }), i.forEach(Je);
242
+ n && n.m(t, r), Qe(() => {
243
+ const s = e.$$.on_mount.map(Wt).filter(ot);
244
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : Y(s), e.$$.on_mount = [];
245
+ }), i.forEach(Qe);
246
246
  }
247
- function cn(e, t) {
247
+ function hn(e, t) {
248
248
  const r = e.$$;
249
- r.fragment !== null && (ln(r.after_update), K(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
249
+ r.fragment !== null && (an(r.after_update), Y(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
250
250
  }
251
- function fn(e, t) {
252
- e.$$.dirty[0] === -1 && (oe.push(e), sn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
251
+ function cn(e, t) {
252
+ e.$$.dirty[0] === -1 && (ie.push(e), on(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
253
253
  }
254
- function mn(e, t, r, n, i, o, s = null, a = [-1]) {
255
- const u = Ee;
256
- ye(e);
254
+ function fn(e, t, r, n, i, s, o = null, a = [-1]) {
255
+ const u = ve;
256
+ be(e);
257
257
  const l = e.$$ = {
258
258
  fragment: null,
259
259
  ctx: [],
260
260
  // state
261
- props: o,
261
+ props: s,
262
262
  update: $,
263
263
  not_equal: i,
264
- bound: vt(),
264
+ bound: yt(),
265
265
  // lifecycle
266
266
  on_mount: [],
267
267
  on_destroy: [],
@@ -270,28 +270,28 @@ function mn(e, t, r, n, i, o, s = null, a = [-1]) {
270
270
  after_update: [],
271
271
  context: new Map(t.context || (u ? u.$$.context : [])),
272
272
  // everything else
273
- callbacks: vt(),
273
+ callbacks: yt(),
274
274
  dirty: a,
275
275
  skip_bound: !1,
276
276
  root: t.target || u.$$.root
277
277
  };
278
- s && s(l.root);
278
+ o && o(l.root);
279
279
  let c = !1;
280
- if (l.ctx = r ? r(e, t.props || {}, (m, f, ...p) => {
280
+ if (l.ctx = r(e, t.props || {}, (m, f, ...p) => {
281
281
  const g = p.length ? p[0] : f;
282
- return l.ctx && i(l.ctx[m], l.ctx[m] = g) && (!l.skip_bound && l.bound[m] && l.bound[m](g), c && fn(e, m)), f;
283
- }) : [], l.update(), c = !0, K(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
282
+ return l.ctx && i(l.ctx[m], l.ctx[m] = g) && (!l.skip_bound && l.bound[m] && l.bound[m](g), c && cn(e, m)), f;
283
+ }), l.update(), c = !0, Y(l.before_update), l.fragment = n(l.ctx), t.target) {
284
284
  if (t.hydrate) {
285
- const m = Kr(t.target);
285
+ const m = Yr(t.target);
286
286
  l.fragment && l.fragment.l(m), m.forEach(U);
287
287
  } else
288
288
  l.fragment && l.fragment.c();
289
- t.intro && Qt(e.$$.fragment), hn(e, t.target, t.anchor), B();
289
+ t.intro && Zt(e.$$.fragment), un(e, t.target, t.anchor), B();
290
290
  }
291
- ye(u);
291
+ be(u);
292
292
  }
293
- let Yt;
294
- typeof HTMLElement == "function" && (Yt = class extends HTMLElement {
293
+ let Jt;
294
+ typeof HTMLElement == "function" && (Jt = class extends HTMLElement {
295
295
  constructor(t, r, n) {
296
296
  super();
297
297
  /** The Svelte component constructor */
@@ -328,42 +328,42 @@ typeof HTMLElement == "function" && (Yt = class extends HTMLElement {
328
328
  }
329
329
  }
330
330
  connectedCallback() {
331
- return yt(this, null, function* () {
331
+ return bt(this, null, function* () {
332
332
  if (this.$$cn = !0, !this.$$c) {
333
- let t = function(o) {
333
+ let t = function(s) {
334
334
  return () => {
335
- let s;
335
+ let o;
336
336
  return {
337
337
  c: function() {
338
- s = P("slot"), o !== "default" && S(s, "name", o);
338
+ o = P("slot"), s !== "default" && T(o, "name", s);
339
339
  },
340
340
  /**
341
341
  * @param {HTMLElement} target
342
342
  * @param {HTMLElement} [anchor]
343
343
  */
344
344
  m: function(l, c) {
345
- k(l, s, c);
345
+ k(l, o, c);
346
346
  },
347
347
  d: function(l) {
348
- l && U(s);
348
+ l && U(o);
349
349
  }
350
350
  };
351
351
  };
352
352
  };
353
353
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
354
354
  return;
355
- const r = {}, n = en(this);
356
- for (const o of this.$$s)
357
- o in n && (r[o] = [t(o)]);
358
- for (const o of this.attributes) {
359
- const s = this.$$g_p(o.name);
360
- s in this.$$d || (this.$$d[s] = Be(s, o.value, this.$$p_d, "toProp"));
355
+ const r = {}, n = Kr(this);
356
+ for (const s of this.$$s)
357
+ s in n && (r[s] = [t(s)]);
358
+ for (const s of this.attributes) {
359
+ const o = this.$$g_p(s.name);
360
+ o in this.$$d || (this.$$d[o] = Ae(o, s.value, this.$$p_d, "toProp"));
361
361
  }
362
- for (const o in this.$$p_d)
363
- !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
362
+ for (const s in this.$$p_d)
363
+ !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
364
364
  this.$$c = new this.$$ctor({
365
365
  target: this.shadowRoot || this,
366
- props: bt(gt({}, this.$$d), {
366
+ props: gt(pt({}, this.$$d), {
367
367
  $$slots: r,
368
368
  $$scope: {
369
369
  ctx: []
@@ -372,23 +372,23 @@ typeof HTMLElement == "function" && (Yt = class extends HTMLElement {
372
372
  });
373
373
  const i = () => {
374
374
  this.$$r = !0;
375
- for (const o in this.$$p_d)
376
- if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
377
- const s = Be(
378
- o,
379
- this.$$d[o],
375
+ for (const s in this.$$p_d)
376
+ if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
377
+ const o = Ae(
378
+ s,
379
+ this.$$d[s],
380
380
  this.$$p_d,
381
381
  "toAttribute"
382
382
  );
383
- s == null ? this.removeAttribute(this.$$p_d[o].attribute || o) : this.setAttribute(this.$$p_d[o].attribute || o, s);
383
+ o == null ? this.removeAttribute(this.$$p_d[s].attribute || s) : this.setAttribute(this.$$p_d[s].attribute || s, o);
384
384
  }
385
385
  this.$$r = !1;
386
386
  };
387
387
  this.$$c.$$.after_update.push(i), i();
388
- for (const o in this.$$l)
389
- for (const s of this.$$l[o]) {
390
- const a = this.$$c.$on(o, s);
391
- this.$$l_u.set(s, a);
388
+ for (const s in this.$$l)
389
+ for (const o of this.$$l[s]) {
390
+ const a = this.$$c.$on(s, o);
391
+ this.$$l_u.set(o, a);
392
392
  }
393
393
  this.$$l = {};
394
394
  }
@@ -398,7 +398,7 @@ typeof HTMLElement == "function" && (Yt = class extends HTMLElement {
398
398
  // and setting attributes through setAttribute etc, this is helpful
399
399
  attributeChangedCallback(t, r, n) {
400
400
  var i;
401
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = Be(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
401
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = Ae(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
402
402
  }
403
403
  disconnectedCallback() {
404
404
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -411,9 +411,9 @@ typeof HTMLElement == "function" && (Yt = class extends HTMLElement {
411
411
  ) || t;
412
412
  }
413
413
  });
414
- function Be(e, t, r, n) {
415
- var o;
416
- const i = (o = r[e]) == null ? void 0 : o.type;
414
+ function Ae(e, t, r, n) {
415
+ var s;
416
+ const i = (s = r[e]) == null ? void 0 : s.type;
417
417
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
418
418
  return t;
419
419
  if (n === "toAttribute")
@@ -441,8 +441,8 @@ function Be(e, t, r, n) {
441
441
  return t;
442
442
  }
443
443
  }
444
- function dn(e, t, r, n, i, o) {
445
- let s = class extends Yt {
444
+ function mn(e, t, r, n, i, s) {
445
+ let o = class extends Jt {
446
446
  constructor() {
447
447
  super(e, r, i), this.$$p_d = t;
448
448
  }
@@ -453,26 +453,26 @@ function dn(e, t, r, n, i, o) {
453
453
  }
454
454
  };
455
455
  return Object.keys(t).forEach((a) => {
456
- Object.defineProperty(s.prototype, a, {
456
+ Object.defineProperty(o.prototype, a, {
457
457
  get() {
458
458
  return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
459
459
  },
460
460
  set(u) {
461
461
  var l;
462
- u = Be(a, u, t), this.$$d[a] = u, (l = this.$$c) == null || l.$set({ [a]: u });
462
+ u = Ae(a, u, t), this.$$d[a] = u, (l = this.$$c) == null || l.$set({ [a]: u });
463
463
  }
464
464
  });
465
465
  }), n.forEach((a) => {
466
- Object.defineProperty(s.prototype, a, {
466
+ Object.defineProperty(o.prototype, a, {
467
467
  get() {
468
468
  var u;
469
469
  return (u = this.$$c) == null ? void 0 : u[a];
470
470
  }
471
471
  });
472
472
  }), e.element = /** @type {any} */
473
- s, s;
473
+ o, o;
474
474
  }
475
- class pn {
475
+ class dn {
476
476
  constructor() {
477
477
  /**
478
478
  * ### PRIVATE API
@@ -493,7 +493,7 @@ class pn {
493
493
  }
494
494
  /** @returns {void} */
495
495
  $destroy() {
496
- cn(this, 1), this.$destroy = $;
496
+ hn(this, 1), this.$destroy = $;
497
497
  }
498
498
  /**
499
499
  * @template {Extract<keyof Events, string>} K
@@ -502,7 +502,7 @@ class pn {
502
502
  * @returns {() => void}
503
503
  */
504
504
  $on(t, r) {
505
- if (!at(r))
505
+ if (!ot(r))
506
506
  return $;
507
507
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
508
508
  return n.push(r), () => {
@@ -515,18 +515,18 @@ class pn {
515
515
  * @returns {void}
516
516
  */
517
517
  $set(t) {
518
- this.$$set && !Wr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
518
+ this.$$set && !Xr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
519
519
  }
520
520
  }
521
- const gn = "4";
522
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(gn);
523
- function bn(e, t) {
521
+ const pn = "4";
522
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(pn);
523
+ function gn(e, t) {
524
524
  if (e) {
525
525
  const r = document.createElement("style");
526
526
  r.innerHTML = t, e.appendChild(r);
527
527
  }
528
528
  }
529
- function yn(e, t) {
529
+ function bn(e, t) {
530
530
  const r = new URL(t);
531
531
  fetch(r.href).then((n) => n.text()).then((n) => {
532
532
  const i = document.createElement("style");
@@ -535,7 +535,7 @@ function yn(e, t) {
535
535
  console.error("There was an error while trying to load client styling from URL", n);
536
536
  });
537
537
  }
538
- function vn(e, t, r) {
538
+ function yn(e, t, r) {
539
539
  if (window.emMessageBus) {
540
540
  const n = document.createElement("style");
541
541
  window.emMessageBus.subscribe(t, (i) => {
@@ -543,44 +543,44 @@ function vn(e, t, r) {
543
543
  });
544
544
  }
545
545
  }
546
- const ie = [];
546
+ const ne = [];
547
547
  function _n(e, t) {
548
548
  return {
549
- subscribe: Oe(e, t).subscribe
549
+ subscribe: Ne(e, t).subscribe
550
550
  };
551
551
  }
552
- function Oe(e, t = $) {
552
+ function Ne(e, t = $) {
553
553
  let r;
554
554
  const n = /* @__PURE__ */ new Set();
555
555
  function i(a) {
556
- if (Zt(e, a) && (e = a, r)) {
557
- const u = !ie.length;
556
+ if (zt(e, a) && (e = a, r)) {
557
+ const u = !ne.length;
558
558
  for (const l of n)
559
- l[1](), ie.push(l, e);
559
+ l[1](), ne.push(l, e);
560
560
  if (u) {
561
- for (let l = 0; l < ie.length; l += 2)
562
- ie[l][0](ie[l + 1]);
563
- ie.length = 0;
561
+ for (let l = 0; l < ne.length; l += 2)
562
+ ne[l][0](ne[l + 1]);
563
+ ne.length = 0;
564
564
  }
565
565
  }
566
566
  }
567
- function o(a) {
567
+ function s(a) {
568
568
  i(a(e));
569
569
  }
570
- function s(a, u = $) {
570
+ function o(a, u = $) {
571
571
  const l = [a, u];
572
- return n.add(l), n.size === 1 && (r = t(i, o) || $), a(e), () => {
572
+ return n.add(l), n.size === 1 && (r = t(i, s) || $), a(e), () => {
573
573
  n.delete(l), n.size === 0 && r && (r(), r = null);
574
574
  };
575
575
  }
576
- return { set: i, update: o, subscribe: s };
576
+ return { set: i, update: s, subscribe: o };
577
577
  }
578
- function fe(e, t, r) {
578
+ function ce(e, t, r) {
579
579
  const n = !Array.isArray(e), i = n ? [e] : e;
580
580
  if (!i.every(Boolean))
581
581
  throw new Error("derived() expects stores as input, got a falsy value");
582
- const o = t.length < 2;
583
- return _n(r, (s, a) => {
582
+ const s = t.length < 2;
583
+ return _n(r, (o, a) => {
584
584
  let u = !1;
585
585
  const l = [];
586
586
  let c = 0, m = $;
@@ -588,10 +588,10 @@ function fe(e, t, r) {
588
588
  if (c)
589
589
  return;
590
590
  m();
591
- const g = t(n ? l[0] : l, s, a);
592
- o ? s(g) : m = at(g) ? g : $;
591
+ const g = t(n ? l[0] : l, o, a);
592
+ s ? o(g) : m = ot(g) ? g : $;
593
593
  }, p = i.map(
594
- (g, b) => zr(
594
+ (g, b) => Wr(
595
595
  g,
596
596
  (d) => {
597
597
  l[b] = d, c &= ~(1 << b), u && f();
@@ -602,112 +602,126 @@ function fe(e, t, r) {
602
602
  )
603
603
  );
604
604
  return u = !0, f(), function() {
605
- K(p), m(), u = !1;
605
+ Y(p), m(), u = !1;
606
606
  };
607
607
  });
608
608
  }
609
- function En(e) {
610
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
609
+ function vn(e) {
610
+ return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
611
611
  }
612
- var xn = function(t) {
613
- return wn(t) && !Cn(t);
612
+ var En = function(t) {
613
+ return xn(t) && !Cn(t);
614
614
  };
615
- function wn(e) {
615
+ function xn(e) {
616
616
  return !!e && typeof e == "object";
617
617
  }
618
618
  function Cn(e) {
619
619
  var t = Object.prototype.toString.call(e);
620
- return t === "[object RegExp]" || t === "[object Date]" || Tn(e);
620
+ return t === "[object RegExp]" || t === "[object Date]" || Sn(e);
621
621
  }
622
- var Hn = typeof Symbol == "function" && Symbol.for, Sn = Hn ? Symbol.for("react.element") : 60103;
623
- function Tn(e) {
624
- return e.$$typeof === Sn;
622
+ var wn = typeof Symbol == "function" && Symbol.for, Hn = wn ? Symbol.for("react.element") : 60103;
623
+ function Sn(e) {
624
+ return e.$$typeof === Hn;
625
625
  }
626
- function An(e) {
626
+ function Tn(e) {
627
627
  return Array.isArray(e) ? [] : {};
628
628
  }
629
- function xe(e, t) {
630
- return t.clone !== !1 && t.isMergeableObject(e) ? le(An(e), e, t) : e;
629
+ function Ee(e, t) {
630
+ return t.clone !== !1 && t.isMergeableObject(e) ? ae(Tn(e), e, t) : e;
631
631
  }
632
- function Bn(e, t, r) {
632
+ function An(e, t, r) {
633
633
  return e.concat(t).map(function(n) {
634
- return xe(n, r);
634
+ return Ee(n, r);
635
635
  });
636
636
  }
637
- function In(e, t) {
637
+ function Bn(e, t) {
638
638
  if (!t.customMerge)
639
- return le;
639
+ return ae;
640
640
  var r = t.customMerge(e);
641
- return typeof r == "function" ? r : le;
641
+ return typeof r == "function" ? r : ae;
642
642
  }
643
- function Mn(e) {
643
+ function In(e) {
644
644
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
645
645
  return Object.propertyIsEnumerable.call(e, t);
646
646
  }) : [];
647
647
  }
648
- function xt(e) {
649
- return Object.keys(e).concat(Mn(e));
648
+ function Et(e) {
649
+ return Object.keys(e).concat(In(e));
650
650
  }
651
- function Kt(e, t) {
651
+ function Yt(e, t) {
652
652
  try {
653
653
  return t in e;
654
654
  } catch (r) {
655
655
  return !1;
656
656
  }
657
657
  }
658
- function Ln(e, t) {
659
- return Kt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
658
+ function Mn(e, t) {
659
+ return Yt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
660
660
  }
661
- function Nn(e, t, r) {
661
+ function Ln(e, t, r) {
662
662
  var n = {};
663
- return r.isMergeableObject(e) && xt(e).forEach(function(i) {
664
- n[i] = xe(e[i], r);
665
- }), xt(t).forEach(function(i) {
666
- Ln(e, i) || (Kt(e, i) && r.isMergeableObject(t[i]) ? n[i] = In(i, r)(e[i], t[i], r) : n[i] = xe(t[i], r));
663
+ return r.isMergeableObject(e) && Et(e).forEach(function(i) {
664
+ n[i] = Ee(e[i], r);
665
+ }), Et(t).forEach(function(i) {
666
+ Mn(e, i) || (Yt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Bn(i, r)(e[i], t[i], r) : n[i] = Ee(t[i], r));
667
667
  }), n;
668
668
  }
669
- function le(e, t, r) {
670
- r = r || {}, r.arrayMerge = r.arrayMerge || Bn, r.isMergeableObject = r.isMergeableObject || xn, r.cloneUnlessOtherwiseSpecified = xe;
671
- var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
672
- return o ? n ? r.arrayMerge(e, t, r) : Nn(e, t, r) : xe(t, r);
669
+ function ae(e, t, r) {
670
+ r = r || {}, r.arrayMerge = r.arrayMerge || An, r.isMergeableObject = r.isMergeableObject || En, r.cloneUnlessOtherwiseSpecified = Ee;
671
+ var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
672
+ return s ? n ? r.arrayMerge(e, t, r) : Ln(e, t, r) : Ee(t, r);
673
673
  }
674
- le.all = function(t, r) {
674
+ ae.all = function(t, r) {
675
675
  if (!Array.isArray(t))
676
676
  throw new Error("first argument should be an array");
677
677
  return t.reduce(function(n, i) {
678
- return le(n, i, r);
678
+ return ae(n, i, r);
679
679
  }, {});
680
680
  };
681
- var Pn = le, On = Pn;
682
- const Fn = /* @__PURE__ */ En(On);
683
- var Ye = function(e, t) {
684
- return Ye = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
681
+ var Nn = ae, Pn = Nn;
682
+ const On = /* @__PURE__ */ vn(Pn);
683
+ /*! *****************************************************************************
684
+ Copyright (c) Microsoft Corporation.
685
+
686
+ Permission to use, copy, modify, and/or distribute this software for any
687
+ purpose with or without fee is hereby granted.
688
+
689
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
690
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
691
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
692
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
693
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
694
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
695
+ PERFORMANCE OF THIS SOFTWARE.
696
+ ***************************************************************************** */
697
+ var qe = function(e, t) {
698
+ return qe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
685
699
  r.__proto__ = n;
686
700
  } || function(r, n) {
687
701
  for (var i in n)
688
702
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
689
- }, Ye(e, t);
703
+ }, qe(e, t);
690
704
  };
691
- function Fe(e, t) {
705
+ function Pe(e, t) {
692
706
  if (typeof t != "function" && t !== null)
693
707
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
694
- Ye(e, t);
708
+ qe(e, t);
695
709
  function r() {
696
710
  this.constructor = e;
697
711
  }
698
712
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
699
713
  }
700
- var j = function() {
701
- return j = Object.assign || function(t) {
714
+ var C = function() {
715
+ return C = Object.assign || function(t) {
702
716
  for (var r, n = 1, i = arguments.length; n < i; n++) {
703
717
  r = arguments[n];
704
- for (var o in r)
705
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
718
+ for (var s in r)
719
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
706
720
  }
707
721
  return t;
708
- }, j.apply(this, arguments);
722
+ }, C.apply(this, arguments);
709
723
  };
710
- function Rn(e, t) {
724
+ function Fn(e, t) {
711
725
  var r = {};
712
726
  for (var n in e)
713
727
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -716,43 +730,46 @@ function Rn(e, t) {
716
730
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
717
731
  return r;
718
732
  }
719
- function Ve(e, t, r) {
720
- if (r || arguments.length === 2)
721
- for (var n = 0, i = t.length, o; n < i; n++)
722
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
723
- return e.concat(o || Array.prototype.slice.call(t));
733
+ function $e(e, t, r) {
734
+ if (arguments.length === 2)
735
+ for (var n = 0, i = t.length, s; n < i; n++)
736
+ (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
737
+ return e.concat(s || t);
724
738
  }
725
- function Xe(e, t) {
726
- var r = t && t.cache ? t.cache : Vn, n = t && t.serializer ? t.serializer : $n, i = t && t.strategy ? t.strategy : Gn;
739
+ function je(e, t) {
740
+ var r = t && t.cache ? t.cache : jn, n = t && t.serializer ? t.serializer : kn, i = t && t.strategy ? t.strategy : Dn;
727
741
  return i(e, {
728
742
  cache: r,
729
743
  serializer: n
730
744
  });
731
745
  }
732
- function Dn(e) {
746
+ function Rn(e) {
733
747
  return e == null || typeof e == "number" || typeof e == "boolean";
734
748
  }
735
- function Un(e, t, r, n) {
736
- var i = Dn(n) ? n : r(n), o = t.get(i);
737
- return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
749
+ function Kt(e, t, r, n) {
750
+ var i = Rn(n) ? n : r(n), s = t.get(i);
751
+ return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
738
752
  }
739
753
  function er(e, t, r) {
740
- var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
741
- return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
754
+ var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
755
+ return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
742
756
  }
743
- function tr(e, t, r, n, i) {
757
+ function at(e, t, r, n, i) {
744
758
  return r.bind(t, e, n, i);
745
759
  }
746
- function Gn(e, t) {
747
- var r = e.length === 1 ? Un : er;
748
- return tr(e, this, r, t.cache.create(), t.serializer);
760
+ function Dn(e, t) {
761
+ var r = e.length === 1 ? Kt : er;
762
+ return at(e, this, r, t.cache.create(), t.serializer);
749
763
  }
750
- function kn(e, t) {
751
- return tr(e, this, er, t.cache.create(), t.serializer);
764
+ function Un(e, t) {
765
+ return at(e, this, er, t.cache.create(), t.serializer);
752
766
  }
753
- var $n = function() {
767
+ function Gn(e, t) {
768
+ return at(e, this, Kt, t.cache.create(), t.serializer);
769
+ }
770
+ var kn = function() {
754
771
  return JSON.stringify(arguments);
755
- }, jn = (
772
+ }, $n = (
756
773
  /** @class */
757
774
  function() {
758
775
  function e() {
@@ -764,71 +781,62 @@ var $n = function() {
764
781
  this.cache[t] = r;
765
782
  }, e;
766
783
  }()
767
- ), Vn = {
784
+ ), jn = {
768
785
  create: function() {
769
- return new jn();
786
+ return new $n();
770
787
  }
771
- }, We = {
772
- variadic: kn
773
- }, Le = function() {
774
- return Le = Object.assign || function(t) {
775
- for (var r, n = 1, i = arguments.length; n < i; n++) {
776
- r = arguments[n];
777
- for (var o in r)
778
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
779
- }
780
- return t;
781
- }, Le.apply(this, arguments);
782
- };
783
- var y;
788
+ }, Ve = {
789
+ variadic: Un,
790
+ monadic: Gn
791
+ }, y;
784
792
  (function(e) {
785
793
  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";
786
794
  })(y || (y = {}));
787
- var T;
795
+ var A;
788
796
  (function(e) {
789
797
  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";
790
- })(T || (T = {}));
791
- var ue;
798
+ })(A || (A = {}));
799
+ var le;
792
800
  (function(e) {
793
801
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
794
- })(ue || (ue = {}));
795
- function wt(e) {
796
- return e.type === T.literal;
802
+ })(le || (le = {}));
803
+ function xt(e) {
804
+ return e.type === A.literal;
797
805
  }
798
- function Xn(e) {
799
- return e.type === T.argument;
806
+ function Vn(e) {
807
+ return e.type === A.argument;
808
+ }
809
+ function tr(e) {
810
+ return e.type === A.number;
800
811
  }
801
812
  function rr(e) {
802
- return e.type === T.number;
813
+ return e.type === A.date;
803
814
  }
804
815
  function nr(e) {
805
- return e.type === T.date;
816
+ return e.type === A.time;
806
817
  }
807
818
  function ir(e) {
808
- return e.type === T.time;
819
+ return e.type === A.select;
809
820
  }
810
821
  function or(e) {
811
- return e.type === T.select;
822
+ return e.type === A.plural;
812
823
  }
813
- function sr(e) {
814
- return e.type === T.plural;
824
+ function Xn(e) {
825
+ return e.type === A.pound;
815
826
  }
816
- function Wn(e) {
817
- return e.type === T.pound;
827
+ function sr(e) {
828
+ return e.type === A.tag;
818
829
  }
819
830
  function ar(e) {
820
- return e.type === T.tag;
831
+ return !!(e && typeof e == "object" && e.type === le.number);
821
832
  }
822
- function lr(e) {
823
- return !!(e && typeof e == "object" && e.type === ue.number);
824
- }
825
- function Ke(e) {
826
- return !!(e && typeof e == "object" && e.type === ue.dateTime);
833
+ function Je(e) {
834
+ return !!(e && typeof e == "object" && e.type === le.dateTime);
827
835
  }
828
- var ur = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, zn = /(?:[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;
829
- function Zn(e) {
836
+ var lr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Wn = /(?:[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;
837
+ function zn(e) {
830
838
  var t = {};
831
- return e.replace(zn, function(r) {
839
+ return e.replace(Wn, function(r) {
832
840
  var n = r.length;
833
841
  switch (r[0]) {
834
842
  case "G":
@@ -917,27 +925,17 @@ function Zn(e) {
917
925
  return "";
918
926
  }), t;
919
927
  }
920
- var A = function() {
921
- return A = Object.assign || function(t) {
922
- for (var r, n = 1, i = arguments.length; n < i; n++) {
923
- r = arguments[n];
924
- for (var o in r)
925
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
926
- }
927
- return t;
928
- }, A.apply(this, arguments);
929
- };
930
- var Qn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
931
- function qn(e) {
928
+ var Zn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
929
+ function Qn(e) {
932
930
  if (e.length === 0)
933
931
  throw new Error("Number skeleton cannot be empty");
934
- for (var t = e.split(Qn).filter(function(f) {
932
+ for (var t = e.split(Zn).filter(function(f) {
935
933
  return f.length > 0;
936
934
  }), r = [], n = 0, i = t; n < i.length; n++) {
937
- var o = i[n], s = o.split("/");
938
- if (s.length === 0)
935
+ var s = i[n], o = s.split("/");
936
+ if (o.length === 0)
939
937
  throw new Error("Invalid number skeleton");
940
- for (var a = s[0], u = s.slice(1), l = 0, c = u; l < c.length; l++) {
938
+ for (var a = o[0], u = o.slice(1), l = 0, c = u; l < c.length; l++) {
941
939
  var m = c[l];
942
940
  if (m.length === 0)
943
941
  throw new Error("Invalid number skeleton");
@@ -946,17 +944,17 @@ function qn(e) {
946
944
  }
947
945
  return r;
948
946
  }
949
- function Jn(e) {
947
+ function qn(e) {
950
948
  return e.replace(/^(.*?)-/, "");
951
949
  }
952
- var Ct = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, hr = /^(@+)?(\+|#+)?[rs]?$/g, Yn = /(\*)(0+)|(#+)(0+)|(0+)/g, cr = /^(0+)$/;
953
- function Ht(e) {
950
+ var Ct = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, ur = /^(@+)?(\+|#+)?[rs]?$/g, Jn = /(\*)(0+)|(#+)(0+)|(0+)/g, hr = /^(0+)$/;
951
+ function wt(e) {
954
952
  var t = {};
955
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(hr, function(r, n, i) {
953
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(ur, function(r, n, i) {
956
954
  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)), "";
957
955
  }), t;
958
956
  }
959
- function fr(e) {
957
+ function cr(e) {
960
958
  switch (e) {
961
959
  case "sign-auto":
962
960
  return {
@@ -996,7 +994,7 @@ function fr(e) {
996
994
  };
997
995
  }
998
996
  }
999
- function Kn(e) {
997
+ function Yn(e) {
1000
998
  var t;
1001
999
  if (e[0] === "E" && e[1] === "E" ? (t = {
1002
1000
  notation: "engineering"
@@ -1004,17 +1002,17 @@ function Kn(e) {
1004
1002
  notation: "scientific"
1005
1003
  }, e = e.slice(1)), t) {
1006
1004
  var r = e.slice(0, 2);
1007
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !cr.test(e))
1005
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !hr.test(e))
1008
1006
  throw new Error("Malformed concise eng/scientific notation");
1009
1007
  t.minimumIntegerDigits = e.length;
1010
1008
  }
1011
1009
  return t;
1012
1010
  }
1013
- function St(e) {
1014
- var t = {}, r = fr(e);
1011
+ function Ht(e) {
1012
+ var t = {}, r = cr(e);
1015
1013
  return r || t;
1016
1014
  }
1017
- function ei(e) {
1015
+ function Kn(e) {
1018
1016
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1019
1017
  var i = n[r];
1020
1018
  switch (i.stem) {
@@ -1038,7 +1036,7 @@ function ei(e) {
1038
1036
  continue;
1039
1037
  case "measure-unit":
1040
1038
  case "unit":
1041
- t.style = "unit", t.unit = Jn(i.options[0]);
1039
+ t.style = "unit", t.unit = qn(i.options[0]);
1042
1040
  continue;
1043
1041
  case "compact-short":
1044
1042
  case "K":
@@ -1049,13 +1047,13 @@ function ei(e) {
1049
1047
  t.notation = "compact", t.compactDisplay = "long";
1050
1048
  continue;
1051
1049
  case "scientific":
1052
- t = A(A(A({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
1053
- return A(A({}, u), St(l));
1050
+ t = C(C(C({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
1051
+ return C(C({}, u), Ht(l));
1054
1052
  }, {}));
1055
1053
  continue;
1056
1054
  case "engineering":
1057
- t = A(A(A({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1058
- return A(A({}, u), St(l));
1055
+ t = C(C(C({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1056
+ return C(C({}, u), Ht(l));
1059
1057
  }, {}));
1060
1058
  continue;
1061
1059
  case "notation-simple":
@@ -1100,7 +1098,7 @@ function ei(e) {
1100
1098
  case "integer-width":
1101
1099
  if (i.options.length > 1)
1102
1100
  throw new RangeError("integer-width stems only accept a single optional option");
1103
- i.options[0].replace(Yn, function(u, l, c, m, f, p) {
1101
+ i.options[0].replace(Jn, function(u, l, c, m, f, p) {
1104
1102
  if (l)
1105
1103
  t.minimumIntegerDigits = c.length;
1106
1104
  else {
@@ -1113,7 +1111,7 @@ function ei(e) {
1113
1111
  });
1114
1112
  continue;
1115
1113
  }
1116
- if (cr.test(i.stem)) {
1114
+ if (hr.test(i.stem)) {
1117
1115
  t.minimumIntegerDigits = i.stem.length;
1118
1116
  continue;
1119
1117
  }
@@ -1123,22 +1121,22 @@ function ei(e) {
1123
1121
  i.stem.replace(Ct, function(u, l, c, m, f, p) {
1124
1122
  return c === "*" ? t.minimumFractionDigits = l.length : m && m[0] === "#" ? t.maximumFractionDigits = m.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1125
1123
  });
1126
- var o = i.options[0];
1127
- o === "w" ? t = A(A({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = A(A({}, t), Ht(o)));
1124
+ var s = i.options[0];
1125
+ s === "w" ? t = C(C({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = C(C({}, t), wt(s)));
1128
1126
  continue;
1129
1127
  }
1130
- if (hr.test(i.stem)) {
1131
- t = A(A({}, t), Ht(i.stem));
1128
+ if (ur.test(i.stem)) {
1129
+ t = C(C({}, t), wt(i.stem));
1132
1130
  continue;
1133
1131
  }
1134
- var s = fr(i.stem);
1135
- s && (t = A(A({}, t), s));
1136
- var a = Kn(i.stem);
1137
- a && (t = A(A({}, t), a));
1132
+ var o = cr(i.stem);
1133
+ o && (t = C(C({}, t), o));
1134
+ var a = Yn(i.stem);
1135
+ a && (t = C(C({}, t), a));
1138
1136
  }
1139
1137
  return t;
1140
1138
  }
1141
- var Ae = {
1139
+ var Te = {
1142
1140
  "001": [
1143
1141
  "H",
1144
1142
  "h"
@@ -2553,23 +2551,23 @@ var Ae = {
2553
2551
  "h"
2554
2552
  ]
2555
2553
  };
2556
- function ti(e, t) {
2554
+ function ei(e, t) {
2557
2555
  for (var r = "", n = 0; n < e.length; n++) {
2558
2556
  var i = e.charAt(n);
2559
2557
  if (i === "j") {
2560
- for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2561
- o++, n++;
2562
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = ri(t);
2558
+ for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2559
+ s++, n++;
2560
+ var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), u = "a", l = ti(t);
2563
2561
  for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
2564
2562
  r += u;
2565
- for (; s-- > 0; )
2563
+ for (; o-- > 0; )
2566
2564
  r = l + r;
2567
2565
  } else
2568
2566
  i === "J" ? r += "H" : r += i;
2569
2567
  }
2570
2568
  return r;
2571
2569
  }
2572
- function ri(e) {
2570
+ function ti(e) {
2573
2571
  var t = e.hourCycle;
2574
2572
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2575
2573
  e.hourCycles && // @ts-ignore
@@ -2588,23 +2586,23 @@ function ri(e) {
2588
2586
  }
2589
2587
  var r = e.language, n;
2590
2588
  r !== "root" && (n = e.maximize().region);
2591
- var i = Ae[n || ""] || Ae[r || ""] || Ae["".concat(r, "-001")] || Ae["001"];
2589
+ var i = Te[n || ""] || Te[r || ""] || Te["".concat(r, "-001")] || Te["001"];
2592
2590
  return i[0];
2593
2591
  }
2594
- var ze, ni = new RegExp("^".concat(ur.source, "*")), ii = new RegExp("".concat(ur.source, "*$"));
2595
- function _(e, t) {
2592
+ var Xe, ri = new RegExp("^".concat(lr.source, "*")), ni = new RegExp("".concat(lr.source, "*$"));
2593
+ function v(e, t) {
2596
2594
  return { start: e, end: t };
2597
2595
  }
2598
- var oi = !!String.prototype.startsWith && "_a".startsWith("a", 1), si = !!String.fromCodePoint, ai = !!Object.fromEntries, li = !!String.prototype.codePointAt, ui = !!String.prototype.trimStart, hi = !!String.prototype.trimEnd, ci = !!Number.isSafeInteger, fi = ci ? Number.isSafeInteger : function(e) {
2596
+ var ii = !!String.prototype.startsWith && "_a".startsWith("a", 1), oi = !!String.fromCodePoint, si = !!Object.fromEntries, ai = !!String.prototype.codePointAt, li = !!String.prototype.trimStart, ui = !!String.prototype.trimEnd, hi = !!Number.isSafeInteger, ci = hi ? Number.isSafeInteger : function(e) {
2599
2597
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2600
- }, et = !0;
2598
+ }, Ye = !0;
2601
2599
  try {
2602
- var mi = dr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2603
- et = ((ze = mi.exec("a")) === null || ze === void 0 ? void 0 : ze[0]) === "a";
2600
+ var fi = mr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2601
+ Ye = ((Xe = fi.exec("a")) === null || Xe === void 0 ? void 0 : Xe[0]) === "a";
2604
2602
  } catch (e) {
2605
- et = !1;
2603
+ Ye = !1;
2606
2604
  }
2607
- var Tt = oi ? (
2605
+ var St = ii ? (
2608
2606
  // Native
2609
2607
  function(t, r, n) {
2610
2608
  return t.startsWith(r, n);
@@ -2614,31 +2612,31 @@ var Tt = oi ? (
2614
2612
  function(t, r, n) {
2615
2613
  return t.slice(n, n + r.length) === r;
2616
2614
  }
2617
- ), tt = si ? String.fromCodePoint : (
2615
+ ), Ke = oi ? String.fromCodePoint : (
2618
2616
  // IE11
2619
2617
  function() {
2620
2618
  for (var t = [], r = 0; r < arguments.length; r++)
2621
2619
  t[r] = arguments[r];
2622
- for (var n = "", i = t.length, o = 0, s; i > o; ) {
2623
- if (s = t[o++], s > 1114111)
2624
- throw RangeError(s + " is not a valid code point");
2625
- n += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
2620
+ for (var n = "", i = t.length, s = 0, o; i > s; ) {
2621
+ if (o = t[s++], o > 1114111)
2622
+ throw RangeError(o + " is not a valid code point");
2623
+ n += o < 65536 ? String.fromCharCode(o) : String.fromCharCode(((o -= 65536) >> 10) + 55296, o % 1024 + 56320);
2626
2624
  }
2627
2625
  return n;
2628
2626
  }
2629
- ), At = (
2627
+ ), Tt = (
2630
2628
  // native
2631
- ai ? Object.fromEntries : (
2629
+ si ? Object.fromEntries : (
2632
2630
  // Ponyfill
2633
2631
  function(t) {
2634
2632
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
2635
- var o = i[n], s = o[0], a = o[1];
2636
- r[s] = a;
2633
+ var s = i[n], o = s[0], a = s[1];
2634
+ r[o] = a;
2637
2635
  }
2638
2636
  return r;
2639
2637
  }
2640
2638
  )
2641
- ), mr = li ? (
2639
+ ), fr = ai ? (
2642
2640
  // Native
2643
2641
  function(t, r) {
2644
2642
  return t.codePointAt(r);
@@ -2648,11 +2646,11 @@ var Tt = oi ? (
2648
2646
  function(t, r) {
2649
2647
  var n = t.length;
2650
2648
  if (!(r < 0 || r >= n)) {
2651
- var i = t.charCodeAt(r), o;
2652
- return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2649
+ var i = t.charCodeAt(r), s;
2650
+ return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2653
2651
  }
2654
2652
  }
2655
- ), di = ui ? (
2653
+ ), mi = li ? (
2656
2654
  // Native
2657
2655
  function(t) {
2658
2656
  return t.trimStart();
@@ -2660,9 +2658,9 @@ var Tt = oi ? (
2660
2658
  ) : (
2661
2659
  // Ponyfill
2662
2660
  function(t) {
2663
- return t.replace(ni, "");
2661
+ return t.replace(ri, "");
2664
2662
  }
2665
- ), pi = hi ? (
2663
+ ), di = ui ? (
2666
2664
  // Native
2667
2665
  function(t) {
2668
2666
  return t.trimEnd();
@@ -2670,32 +2668,32 @@ var Tt = oi ? (
2670
2668
  ) : (
2671
2669
  // Ponyfill
2672
2670
  function(t) {
2673
- return t.replace(ii, "");
2671
+ return t.replace(ni, "");
2674
2672
  }
2675
2673
  );
2676
- function dr(e, t) {
2674
+ function mr(e, t) {
2677
2675
  return new RegExp(e, t);
2678
2676
  }
2679
- var rt;
2680
- if (et) {
2681
- var Bt = dr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2682
- rt = function(t, r) {
2677
+ var et;
2678
+ if (Ye) {
2679
+ var At = mr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2680
+ et = function(t, r) {
2683
2681
  var n;
2684
- Bt.lastIndex = r;
2685
- var i = Bt.exec(t);
2682
+ At.lastIndex = r;
2683
+ var i = At.exec(t);
2686
2684
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2687
2685
  };
2688
2686
  } else
2689
- rt = function(t, r) {
2687
+ et = function(t, r) {
2690
2688
  for (var n = []; ; ) {
2691
- var i = mr(t, r);
2692
- if (i === void 0 || pr(i) || vi(i))
2689
+ var i = fr(t, r);
2690
+ if (i === void 0 || dr(i) || yi(i))
2693
2691
  break;
2694
2692
  n.push(i), r += i >= 65536 ? 2 : 1;
2695
2693
  }
2696
- return tt.apply(void 0, n);
2694
+ return Ke.apply(void 0, n);
2697
2695
  };
2698
- var gi = (
2696
+ var pi = (
2699
2697
  /** @class */
2700
2698
  function() {
2701
2699
  function e(t, r) {
@@ -2707,35 +2705,35 @@ var gi = (
2707
2705
  return this.parseMessage(0, "", !1);
2708
2706
  }, e.prototype.parseMessage = function(t, r, n) {
2709
2707
  for (var i = []; !this.isEOF(); ) {
2710
- var o = this.char();
2711
- if (o === 123) {
2712
- var s = this.parseArgument(t, n);
2713
- if (s.err)
2714
- return s;
2715
- i.push(s.val);
2708
+ var s = this.char();
2709
+ if (s === 123) {
2710
+ var o = this.parseArgument(t, n);
2711
+ if (o.err)
2712
+ return o;
2713
+ i.push(o.val);
2716
2714
  } else {
2717
- if (o === 125 && t > 0)
2715
+ if (s === 125 && t > 0)
2718
2716
  break;
2719
- if (o === 35 && (r === "plural" || r === "selectordinal")) {
2717
+ if (s === 35 && (r === "plural" || r === "selectordinal")) {
2720
2718
  var a = this.clonePosition();
2721
2719
  this.bump(), i.push({
2722
- type: T.pound,
2723
- location: _(a, this.clonePosition())
2720
+ type: A.pound,
2721
+ location: v(a, this.clonePosition())
2724
2722
  });
2725
- } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
2723
+ } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2726
2724
  if (n)
2727
2725
  break;
2728
- return this.error(y.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
2729
- } else if (o === 60 && !this.ignoreTag && nt(this.peek() || 0)) {
2730
- var s = this.parseTag(t, r);
2731
- if (s.err)
2732
- return s;
2733
- i.push(s.val);
2726
+ return this.error(y.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
2727
+ } else if (s === 60 && !this.ignoreTag && tt(this.peek() || 0)) {
2728
+ var o = this.parseTag(t, r);
2729
+ if (o.err)
2730
+ return o;
2731
+ i.push(o.val);
2734
2732
  } else {
2735
- var s = this.parseLiteral(t, r);
2736
- if (s.err)
2737
- return s;
2738
- i.push(s.val);
2733
+ var o = this.parseLiteral(t, r);
2734
+ if (o.err)
2735
+ return o;
2736
+ i.push(o.val);
2739
2737
  }
2740
2738
  }
2741
2739
  }
@@ -2747,51 +2745,51 @@ var gi = (
2747
2745
  if (this.bumpSpace(), this.bumpIf("/>"))
2748
2746
  return {
2749
2747
  val: {
2750
- type: T.literal,
2748
+ type: A.literal,
2751
2749
  value: "<".concat(i, "/>"),
2752
- location: _(n, this.clonePosition())
2750
+ location: v(n, this.clonePosition())
2753
2751
  },
2754
2752
  err: null
2755
2753
  };
2756
2754
  if (this.bumpIf(">")) {
2757
- var o = this.parseMessage(t + 1, r, !0);
2758
- if (o.err)
2759
- return o;
2760
- var s = o.val, a = this.clonePosition();
2755
+ var s = this.parseMessage(t + 1, r, !0);
2756
+ if (s.err)
2757
+ return s;
2758
+ var o = s.val, a = this.clonePosition();
2761
2759
  if (this.bumpIf("</")) {
2762
- if (this.isEOF() || !nt(this.char()))
2763
- return this.error(y.INVALID_TAG, _(a, this.clonePosition()));
2760
+ if (this.isEOF() || !tt(this.char()))
2761
+ return this.error(y.INVALID_TAG, v(a, this.clonePosition()));
2764
2762
  var u = this.clonePosition(), l = this.parseTagName();
2765
- return i !== l ? this.error(y.UNMATCHED_CLOSING_TAG, _(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2763
+ return i !== l ? this.error(y.UNMATCHED_CLOSING_TAG, v(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2766
2764
  val: {
2767
- type: T.tag,
2765
+ type: A.tag,
2768
2766
  value: i,
2769
- children: s,
2770
- location: _(n, this.clonePosition())
2767
+ children: o,
2768
+ location: v(n, this.clonePosition())
2771
2769
  },
2772
2770
  err: null
2773
- } : this.error(y.INVALID_TAG, _(a, this.clonePosition())));
2771
+ } : this.error(y.INVALID_TAG, v(a, this.clonePosition())));
2774
2772
  } else
2775
- return this.error(y.UNCLOSED_TAG, _(n, this.clonePosition()));
2773
+ return this.error(y.UNCLOSED_TAG, v(n, this.clonePosition()));
2776
2774
  } else
2777
- return this.error(y.INVALID_TAG, _(n, this.clonePosition()));
2775
+ return this.error(y.INVALID_TAG, v(n, this.clonePosition()));
2778
2776
  }, e.prototype.parseTagName = function() {
2779
2777
  var t = this.offset();
2780
- for (this.bump(); !this.isEOF() && yi(this.char()); )
2778
+ for (this.bump(); !this.isEOF() && bi(this.char()); )
2781
2779
  this.bump();
2782
2780
  return this.message.slice(t, this.offset());
2783
2781
  }, e.prototype.parseLiteral = function(t, r) {
2784
2782
  for (var n = this.clonePosition(), i = ""; ; ) {
2785
- var o = this.tryParseQuote(r);
2786
- if (o) {
2787
- i += o;
2788
- continue;
2789
- }
2790
- var s = this.tryParseUnquoted(t, r);
2783
+ var s = this.tryParseQuote(r);
2791
2784
  if (s) {
2792
2785
  i += s;
2793
2786
  continue;
2794
2787
  }
2788
+ var o = this.tryParseUnquoted(t, r);
2789
+ if (o) {
2790
+ i += o;
2791
+ continue;
2792
+ }
2795
2793
  var a = this.tryParseLeftAngleBracket();
2796
2794
  if (a) {
2797
2795
  i += a;
@@ -2799,14 +2797,14 @@ var gi = (
2799
2797
  }
2800
2798
  break;
2801
2799
  }
2802
- var u = _(n, this.clonePosition());
2800
+ var u = v(n, this.clonePosition());
2803
2801
  return {
2804
- val: { type: T.literal, value: i, location: u },
2802
+ val: { type: A.literal, value: i, location: u },
2805
2803
  err: null
2806
2804
  };
2807
2805
  }, e.prototype.tryParseLeftAngleBracket = function() {
2808
2806
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2809
- !bi(this.peek() || 0)) ? (this.bump(), "<") : null;
2807
+ !gi(this.peek() || 0)) ? (this.bump(), "<") : null;
2810
2808
  }, e.prototype.tryParseQuote = function(t) {
2811
2809
  if (this.isEOF() || this.char() !== 39)
2812
2810
  return null;
@@ -2840,49 +2838,49 @@ var gi = (
2840
2838
  r.push(n);
2841
2839
  this.bump();
2842
2840
  }
2843
- return tt.apply(void 0, r);
2841
+ return Ke.apply(void 0, r);
2844
2842
  }, e.prototype.tryParseUnquoted = function(t, r) {
2845
2843
  if (this.isEOF())
2846
2844
  return null;
2847
2845
  var n = this.char();
2848
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), tt(n));
2846
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ke(n));
2849
2847
  }, e.prototype.parseArgument = function(t, r) {
2850
2848
  var n = this.clonePosition();
2851
2849
  if (this.bump(), this.bumpSpace(), this.isEOF())
2852
- return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
2850
+ return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
2853
2851
  if (this.char() === 125)
2854
- return this.bump(), this.error(y.EMPTY_ARGUMENT, _(n, this.clonePosition()));
2852
+ return this.bump(), this.error(y.EMPTY_ARGUMENT, v(n, this.clonePosition()));
2855
2853
  var i = this.parseIdentifierIfPossible().value;
2856
2854
  if (!i)
2857
- return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
2855
+ return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
2858
2856
  if (this.bumpSpace(), this.isEOF())
2859
- return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
2857
+ return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
2860
2858
  switch (this.char()) {
2861
2859
  case 125:
2862
2860
  return this.bump(), {
2863
2861
  val: {
2864
- type: T.argument,
2862
+ type: A.argument,
2865
2863
  // value does not include the opening and closing braces.
2866
2864
  value: i,
2867
- location: _(n, this.clonePosition())
2865
+ location: v(n, this.clonePosition())
2868
2866
  },
2869
2867
  err: null
2870
2868
  };
2871
2869
  case 44:
2872
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2870
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2873
2871
  default:
2874
- return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
2872
+ return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
2875
2873
  }
2876
2874
  }, e.prototype.parseIdentifierIfPossible = function() {
2877
- var t = this.clonePosition(), r = this.offset(), n = rt(this.message, r), i = r + n.length;
2875
+ var t = this.clonePosition(), r = this.offset(), n = et(this.message, r), i = r + n.length;
2878
2876
  this.bumpTo(i);
2879
- var o = this.clonePosition(), s = _(t, o);
2880
- return { value: n, location: s };
2877
+ var s = this.clonePosition(), o = v(t, s);
2878
+ return { value: n, location: o };
2881
2879
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
2882
- var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, u = this.clonePosition();
2880
+ var s, o = this.clonePosition(), a = this.parseIdentifierIfPossible().value, u = this.clonePosition();
2883
2881
  switch (a) {
2884
2882
  case "":
2885
- return this.error(y.EXPECT_ARGUMENT_TYPE, _(s, u));
2883
+ return this.error(y.EXPECT_ARGUMENT_TYPE, v(o, u));
2886
2884
  case "number":
2887
2885
  case "date":
2888
2886
  case "time": {
@@ -2893,35 +2891,35 @@ var gi = (
2893
2891
  var c = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
2894
2892
  if (m.err)
2895
2893
  return m;
2896
- var f = pi(m.val);
2894
+ var f = di(m.val);
2897
2895
  if (f.length === 0)
2898
- return this.error(y.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
2899
- var p = _(c, this.clonePosition());
2896
+ return this.error(y.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
2897
+ var p = v(c, this.clonePosition());
2900
2898
  l = { style: f, styleLocation: p };
2901
2899
  }
2902
2900
  var g = this.tryParseArgumentClose(i);
2903
2901
  if (g.err)
2904
2902
  return g;
2905
- var b = _(i, this.clonePosition());
2906
- if (l && Tt(l == null ? void 0 : l.style, "::", 0)) {
2907
- var d = di(l.style.slice(2));
2903
+ var b = v(i, this.clonePosition());
2904
+ if (l && St(l == null ? void 0 : l.style, "::", 0)) {
2905
+ var d = mi(l.style.slice(2));
2908
2906
  if (a === "number") {
2909
2907
  var m = this.parseNumberSkeletonFromString(d, l.styleLocation);
2910
2908
  return m.err ? m : {
2911
- val: { type: T.number, value: n, location: b, style: m.val },
2909
+ val: { type: A.number, value: n, location: b, style: m.val },
2912
2910
  err: null
2913
2911
  };
2914
2912
  } else {
2915
2913
  if (d.length === 0)
2916
2914
  return this.error(y.EXPECT_DATE_TIME_SKELETON, b);
2917
- var C = d;
2918
- this.locale && (C = ti(d, this.locale));
2915
+ var H = d;
2916
+ this.locale && (H = ei(d, this.locale));
2919
2917
  var f = {
2920
- type: ue.dateTime,
2921
- pattern: C,
2918
+ type: le.dateTime,
2919
+ pattern: H,
2922
2920
  location: l.styleLocation,
2923
- parsedOptions: this.shouldParseSkeletons ? Zn(C) : {}
2924
- }, E = a === "date" ? T.date : T.time;
2921
+ parsedOptions: this.shouldParseSkeletons ? zn(H) : {}
2922
+ }, E = a === "date" ? A.date : A.time;
2925
2923
  return {
2926
2924
  val: { type: E, value: n, location: b, style: f },
2927
2925
  err: null
@@ -2930,10 +2928,10 @@ var gi = (
2930
2928
  }
2931
2929
  return {
2932
2930
  val: {
2933
- type: a === "number" ? T.number : a === "date" ? T.date : T.time,
2931
+ type: a === "number" ? A.number : a === "date" ? A.date : A.time,
2934
2932
  value: n,
2935
2933
  location: b,
2936
- style: (o = l == null ? void 0 : l.style) !== null && o !== void 0 ? o : null
2934
+ style: (s = l == null ? void 0 : l.style) !== null && s !== void 0 ? s : null
2937
2935
  },
2938
2936
  err: null
2939
2937
  };
@@ -2943,50 +2941,50 @@ var gi = (
2943
2941
  case "select": {
2944
2942
  var w = this.clonePosition();
2945
2943
  if (this.bumpSpace(), !this.bumpIf(","))
2946
- return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, _(w, Le({}, w)));
2944
+ return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, v(w, C({}, w)));
2947
2945
  this.bumpSpace();
2948
2946
  var O = this.parseIdentifierIfPossible(), L = 0;
2949
2947
  if (a !== "select" && O.value === "offset") {
2950
2948
  if (!this.bumpIf(":"))
2951
- return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
2949
+ return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
2952
2950
  this.bumpSpace();
2953
2951
  var m = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2954
2952
  if (m.err)
2955
2953
  return m;
2956
2954
  this.bumpSpace(), O = this.parseIdentifierIfPossible(), L = m.val;
2957
2955
  }
2958
- var v = this.tryParsePluralOrSelectOptions(t, a, r, O);
2959
- if (v.err)
2960
- return v;
2956
+ var _ = this.tryParsePluralOrSelectOptions(t, a, r, O);
2957
+ if (_.err)
2958
+ return _;
2961
2959
  var g = this.tryParseArgumentClose(i);
2962
2960
  if (g.err)
2963
2961
  return g;
2964
- var H = _(i, this.clonePosition());
2962
+ var S = v(i, this.clonePosition());
2965
2963
  return a === "select" ? {
2966
2964
  val: {
2967
- type: T.select,
2965
+ type: A.select,
2968
2966
  value: n,
2969
- options: At(v.val),
2970
- location: H
2967
+ options: Tt(_.val),
2968
+ location: S
2971
2969
  },
2972
2970
  err: null
2973
2971
  } : {
2974
2972
  val: {
2975
- type: T.plural,
2973
+ type: A.plural,
2976
2974
  value: n,
2977
- options: At(v.val),
2975
+ options: Tt(_.val),
2978
2976
  offset: L,
2979
2977
  pluralType: a === "plural" ? "cardinal" : "ordinal",
2980
- location: H
2978
+ location: S
2981
2979
  },
2982
2980
  err: null
2983
2981
  };
2984
2982
  }
2985
2983
  default:
2986
- return this.error(y.INVALID_ARGUMENT_TYPE, _(s, u));
2984
+ return this.error(y.INVALID_ARGUMENT_TYPE, v(o, u));
2987
2985
  }
2988
2986
  }, e.prototype.tryParseArgumentClose = function(t) {
2989
- return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2987
+ return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2990
2988
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
2991
2989
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
2992
2990
  var n = this.char();
@@ -2995,7 +2993,7 @@ var gi = (
2995
2993
  this.bump();
2996
2994
  var i = this.clonePosition();
2997
2995
  if (!this.bumpUntil("'"))
2998
- return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, _(i, this.clonePosition()));
2996
+ return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, v(i, this.clonePosition()));
2999
2997
  this.bump();
3000
2998
  break;
3001
2999
  }
@@ -3025,37 +3023,37 @@ var gi = (
3025
3023
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3026
3024
  var n = [];
3027
3025
  try {
3028
- n = qn(t);
3026
+ n = Qn(t);
3029
3027
  } catch (i) {
3030
3028
  return this.error(y.INVALID_NUMBER_SKELETON, r);
3031
3029
  }
3032
3030
  return {
3033
3031
  val: {
3034
- type: ue.number,
3032
+ type: le.number,
3035
3033
  tokens: n,
3036
3034
  location: r,
3037
- parsedOptions: this.shouldParseSkeletons ? ei(n) : {}
3035
+ parsedOptions: this.shouldParseSkeletons ? Kn(n) : {}
3038
3036
  },
3039
3037
  err: null
3040
3038
  };
3041
3039
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3042
- for (var o, s = !1, a = [], u = /* @__PURE__ */ new Set(), l = i.value, c = i.location; ; ) {
3040
+ for (var s, o = !1, a = [], u = /* @__PURE__ */ new Set(), l = i.value, c = i.location; ; ) {
3043
3041
  if (l.length === 0) {
3044
3042
  var m = this.clonePosition();
3045
3043
  if (r !== "select" && this.bumpIf("=")) {
3046
3044
  var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
3047
3045
  if (f.err)
3048
3046
  return f;
3049
- c = _(m, this.clonePosition()), l = this.message.slice(m.offset, this.offset());
3047
+ c = v(m, this.clonePosition()), l = this.message.slice(m.offset, this.offset());
3050
3048
  } else
3051
3049
  break;
3052
3050
  }
3053
3051
  if (u.has(l))
3054
3052
  return this.error(r === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
3055
- l === "other" && (s = !0), this.bumpSpace();
3053
+ l === "other" && (o = !0), this.bumpSpace();
3056
3054
  var p = this.clonePosition();
3057
3055
  if (!this.bumpIf("{"))
3058
- return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
3056
+ return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
3059
3057
  var g = this.parseMessage(t + 1, r, n);
3060
3058
  if (g.err)
3061
3059
  return g;
@@ -3066,23 +3064,23 @@ var gi = (
3066
3064
  l,
3067
3065
  {
3068
3066
  value: g.val,
3069
- location: _(p, this.clonePosition())
3067
+ location: v(p, this.clonePosition())
3070
3068
  }
3071
- ]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, c = o.location;
3069
+ ]), u.add(l), this.bumpSpace(), s = this.parseIdentifierIfPossible(), l = s.value, c = s.location;
3072
3070
  }
3073
- 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 };
3071
+ return a.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, v(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(y.MISSING_OTHER_CLAUSE, v(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3074
3072
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3075
3073
  var n = 1, i = this.clonePosition();
3076
3074
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
3077
- for (var o = !1, s = 0; !this.isEOF(); ) {
3075
+ for (var s = !1, o = 0; !this.isEOF(); ) {
3078
3076
  var a = this.char();
3079
3077
  if (a >= 48 && a <= 57)
3080
- o = !0, s = s * 10 + (a - 48), this.bump();
3078
+ s = !0, o = o * 10 + (a - 48), this.bump();
3081
3079
  else
3082
3080
  break;
3083
3081
  }
3084
- var u = _(i, this.clonePosition());
3085
- return o ? (s *= n, fi(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3082
+ var u = v(i, this.clonePosition());
3083
+ return s ? (o *= n, ci(o) ? { val: o, err: null } : this.error(r, u)) : this.error(t, u);
3086
3084
  }, e.prototype.offset = function() {
3087
3085
  return this.position.offset;
3088
3086
  }, e.prototype.isEOF = function() {
@@ -3097,7 +3095,7 @@ var gi = (
3097
3095
  var t = this.position.offset;
3098
3096
  if (t >= this.message.length)
3099
3097
  throw Error("out of bound");
3100
- var r = mr(this.message, t);
3098
+ var r = fr(this.message, t);
3101
3099
  if (r === void 0)
3102
3100
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3103
3101
  return r;
@@ -3116,7 +3114,7 @@ var gi = (
3116
3114
  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);
3117
3115
  }
3118
3116
  }, e.prototype.bumpIf = function(t) {
3119
- if (Tt(this.message, t, this.offset())) {
3117
+ if (St(this.message, t, this.offset())) {
3120
3118
  for (var r = 0; r < t.length; r++)
3121
3119
  this.bump();
3122
3120
  return !0;
@@ -3138,7 +3136,7 @@ var gi = (
3138
3136
  break;
3139
3137
  }
3140
3138
  }, e.prototype.bumpSpace = function() {
3141
- for (; !this.isEOF() && pr(this.char()); )
3139
+ for (; !this.isEOF() && dr(this.char()); )
3142
3140
  this.bump();
3143
3141
  }, e.prototype.peek = function() {
3144
3142
  if (this.isEOF())
@@ -3148,87 +3146,87 @@ var gi = (
3148
3146
  }, e;
3149
3147
  }()
3150
3148
  );
3151
- function nt(e) {
3149
+ function tt(e) {
3152
3150
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3153
3151
  }
3154
- function bi(e) {
3155
- return nt(e) || e === 47;
3152
+ function gi(e) {
3153
+ return tt(e) || e === 47;
3156
3154
  }
3157
- function yi(e) {
3155
+ function bi(e) {
3158
3156
  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;
3159
3157
  }
3160
- function pr(e) {
3158
+ function dr(e) {
3161
3159
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3162
3160
  }
3163
- function vi(e) {
3161
+ function yi(e) {
3164
3162
  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;
3165
3163
  }
3166
- function it(e) {
3164
+ function rt(e) {
3167
3165
  e.forEach(function(t) {
3168
- if (delete t.location, or(t) || sr(t))
3166
+ if (delete t.location, ir(t) || or(t))
3169
3167
  for (var r in t.options)
3170
- delete t.options[r].location, it(t.options[r].value);
3168
+ delete t.options[r].location, rt(t.options[r].value);
3171
3169
  else
3172
- rr(t) && lr(t.style) || (nr(t) || ir(t)) && Ke(t.style) ? delete t.style.location : ar(t) && it(t.children);
3170
+ tr(t) && ar(t.style) || (rr(t) || nr(t)) && Je(t.style) ? delete t.style.location : sr(t) && rt(t.children);
3173
3171
  });
3174
3172
  }
3175
3173
  function _i(e, t) {
3176
- t === void 0 && (t = {}), t = Le({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3177
- var r = new gi(e, t).parse();
3174
+ t === void 0 && (t = {}), t = C({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3175
+ var r = new pi(e, t).parse();
3178
3176
  if (r.err) {
3179
3177
  var n = SyntaxError(y[r.err.kind]);
3180
3178
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3181
3179
  }
3182
- return t != null && t.captureLocation || it(r.val), r.val;
3180
+ return t != null && t.captureLocation || rt(r.val), r.val;
3183
3181
  }
3184
- var he;
3182
+ var ue;
3185
3183
  (function(e) {
3186
3184
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3187
- })(he || (he = {}));
3188
- var Re = (
3185
+ })(ue || (ue = {}));
3186
+ var Oe = (
3189
3187
  /** @class */
3190
3188
  function(e) {
3191
- Fe(t, e);
3189
+ Pe(t, e);
3192
3190
  function t(r, n, i) {
3193
- var o = e.call(this, r) || this;
3194
- return o.code = n, o.originalMessage = i, o;
3191
+ var s = e.call(this, r) || this;
3192
+ return s.code = n, s.originalMessage = i, s;
3195
3193
  }
3196
3194
  return t.prototype.toString = function() {
3197
3195
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3198
3196
  }, t;
3199
3197
  }(Error)
3200
- ), It = (
3198
+ ), Bt = (
3201
3199
  /** @class */
3202
3200
  function(e) {
3203
- Fe(t, e);
3204
- function t(r, n, i, o) {
3205
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), he.INVALID_VALUE, o) || this;
3201
+ Pe(t, e);
3202
+ function t(r, n, i, s) {
3203
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ue.INVALID_VALUE, s) || this;
3206
3204
  }
3207
3205
  return t;
3208
- }(Re)
3209
- ), Ei = (
3206
+ }(Oe)
3207
+ ), vi = (
3210
3208
  /** @class */
3211
3209
  function(e) {
3212
- Fe(t, e);
3210
+ Pe(t, e);
3213
3211
  function t(r, n, i) {
3214
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), he.INVALID_VALUE, i) || this;
3212
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ue.INVALID_VALUE, i) || this;
3215
3213
  }
3216
3214
  return t;
3217
- }(Re)
3218
- ), xi = (
3215
+ }(Oe)
3216
+ ), Ei = (
3219
3217
  /** @class */
3220
3218
  function(e) {
3221
- Fe(t, e);
3219
+ Pe(t, e);
3222
3220
  function t(r, n) {
3223
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), he.MISSING_VALUE, n) || this;
3221
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ue.MISSING_VALUE, n) || this;
3224
3222
  }
3225
3223
  return t;
3226
- }(Re)
3224
+ }(Oe)
3227
3225
  ), F;
3228
3226
  (function(e) {
3229
3227
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3230
3228
  })(F || (F = {}));
3231
- function wi(e) {
3229
+ function xi(e) {
3232
3230
  return e.length < 2 ? e : e.reduce(function(t, r) {
3233
3231
  var n = t[t.length - 1];
3234
3232
  return !n || n.type !== F.literal || r.type !== F.literal ? t.push(r) : n.value += r.value, t;
@@ -3237,8 +3235,8 @@ function wi(e) {
3237
3235
  function Ci(e) {
3238
3236
  return typeof e == "function";
3239
3237
  }
3240
- function Ie(e, t, r, n, i, o, s) {
3241
- if (e.length === 1 && wt(e[0]))
3238
+ function Be(e, t, r, n, i, s, o) {
3239
+ if (e.length === 1 && xt(e[0]))
3242
3240
  return [
3243
3241
  {
3244
3242
  type: F.literal,
@@ -3247,60 +3245,60 @@ function Ie(e, t, r, n, i, o, s) {
3247
3245
  ];
3248
3246
  for (var a = [], u = 0, l = e; u < l.length; u++) {
3249
3247
  var c = l[u];
3250
- if (wt(c)) {
3248
+ if (xt(c)) {
3251
3249
  a.push({
3252
3250
  type: F.literal,
3253
3251
  value: c.value
3254
3252
  });
3255
3253
  continue;
3256
3254
  }
3257
- if (Wn(c)) {
3258
- typeof o == "number" && a.push({
3255
+ if (Xn(c)) {
3256
+ typeof s == "number" && a.push({
3259
3257
  type: F.literal,
3260
- value: r.getNumberFormat(t).format(o)
3258
+ value: r.getNumberFormat(t).format(s)
3261
3259
  });
3262
3260
  continue;
3263
3261
  }
3264
3262
  var m = c.value;
3265
3263
  if (!(i && m in i))
3266
- throw new xi(m, s);
3264
+ throw new Ei(m, o);
3267
3265
  var f = i[m];
3268
- if (Xn(c)) {
3266
+ if (Vn(c)) {
3269
3267
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3270
3268
  type: typeof f == "string" ? F.literal : F.object,
3271
3269
  value: f
3272
3270
  });
3273
3271
  continue;
3274
3272
  }
3275
- if (nr(c)) {
3276
- var p = typeof c.style == "string" ? n.date[c.style] : Ke(c.style) ? c.style.parsedOptions : void 0;
3273
+ if (rr(c)) {
3274
+ var p = typeof c.style == "string" ? n.date[c.style] : Je(c.style) ? c.style.parsedOptions : void 0;
3277
3275
  a.push({
3278
3276
  type: F.literal,
3279
3277
  value: r.getDateTimeFormat(t, p).format(f)
3280
3278
  });
3281
3279
  continue;
3282
3280
  }
3283
- if (ir(c)) {
3284
- var p = typeof c.style == "string" ? n.time[c.style] : Ke(c.style) ? c.style.parsedOptions : n.time.medium;
3281
+ if (nr(c)) {
3282
+ var p = typeof c.style == "string" ? n.time[c.style] : Je(c.style) ? c.style.parsedOptions : n.time.medium;
3285
3283
  a.push({
3286
3284
  type: F.literal,
3287
3285
  value: r.getDateTimeFormat(t, p).format(f)
3288
3286
  });
3289
3287
  continue;
3290
3288
  }
3291
- if (rr(c)) {
3292
- var p = typeof c.style == "string" ? n.number[c.style] : lr(c.style) ? c.style.parsedOptions : void 0;
3289
+ if (tr(c)) {
3290
+ var p = typeof c.style == "string" ? n.number[c.style] : ar(c.style) ? c.style.parsedOptions : void 0;
3293
3291
  p && p.scale && (f = f * (p.scale || 1)), a.push({
3294
3292
  type: F.literal,
3295
3293
  value: r.getNumberFormat(t, p).format(f)
3296
3294
  });
3297
3295
  continue;
3298
3296
  }
3299
- if (ar(c)) {
3297
+ if (sr(c)) {
3300
3298
  var g = c.children, b = c.value, d = i[b];
3301
3299
  if (!Ci(d))
3302
- throw new Ei(b, "function", s);
3303
- var C = Ie(g, t, r, n, i, o), E = d(C.map(function(L) {
3300
+ throw new vi(b, "function", o);
3301
+ var H = Be(g, t, r, n, i, s), E = d(H.map(function(L) {
3304
3302
  return L.value;
3305
3303
  }));
3306
3304
  Array.isArray(E) || (E = [E]), a.push.apply(a, E.map(function(L) {
@@ -3310,42 +3308,42 @@ function Ie(e, t, r, n, i, o, s) {
3310
3308
  };
3311
3309
  }));
3312
3310
  }
3313
- if (or(c)) {
3311
+ if (ir(c)) {
3314
3312
  var w = c.options[f] || c.options.other;
3315
3313
  if (!w)
3316
- throw new It(c.value, f, Object.keys(c.options), s);
3317
- a.push.apply(a, Ie(w.value, t, r, n, i));
3314
+ throw new Bt(c.value, f, Object.keys(c.options), o);
3315
+ a.push.apply(a, Be(w.value, t, r, n, i));
3318
3316
  continue;
3319
3317
  }
3320
- if (sr(c)) {
3318
+ if (or(c)) {
3321
3319
  var w = c.options["=".concat(f)];
3322
3320
  if (!w) {
3323
3321
  if (!Intl.PluralRules)
3324
- throw new Re(`Intl.PluralRules is not available in this environment.
3322
+ throw new Oe(`Intl.PluralRules is not available in this environment.
3325
3323
  Try polyfilling it using "@formatjs/intl-pluralrules"
3326
- `, he.MISSING_INTL_API, s);
3324
+ `, ue.MISSING_INTL_API, o);
3327
3325
  var O = r.getPluralRules(t, { type: c.pluralType }).select(f - (c.offset || 0));
3328
3326
  w = c.options[O] || c.options.other;
3329
3327
  }
3330
3328
  if (!w)
3331
- throw new It(c.value, f, Object.keys(c.options), s);
3332
- a.push.apply(a, Ie(w.value, t, r, n, i, f - (c.offset || 0)));
3329
+ throw new Bt(c.value, f, Object.keys(c.options), o);
3330
+ a.push.apply(a, Be(w.value, t, r, n, i, f - (c.offset || 0)));
3333
3331
  continue;
3334
3332
  }
3335
3333
  }
3336
- return wi(a);
3334
+ return xi(a);
3337
3335
  }
3338
- function Hi(e, t) {
3339
- return t ? j(j(j({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3340
- return r[n] = j(j({}, e[n]), t[n] || {}), r;
3336
+ function wi(e, t) {
3337
+ return t ? C(C(C({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3338
+ return r[n] = C(C({}, e[n]), t[n] || {}), r;
3341
3339
  }, {})) : e;
3342
3340
  }
3343
- function Si(e, t) {
3341
+ function Hi(e, t) {
3344
3342
  return t ? Object.keys(e).reduce(function(r, n) {
3345
- return r[n] = Hi(e[n], t[n]), r;
3346
- }, j({}, e)) : e;
3343
+ return r[n] = wi(e[n], t[n]), r;
3344
+ }, C({}, e)) : e;
3347
3345
  }
3348
- function Ze(e) {
3346
+ function We(e) {
3349
3347
  return {
3350
3348
  create: function() {
3351
3349
  return {
@@ -3359,50 +3357,50 @@ function Ze(e) {
3359
3357
  }
3360
3358
  };
3361
3359
  }
3362
- function Ti(e) {
3360
+ function Si(e) {
3363
3361
  return e === void 0 && (e = {
3364
3362
  number: {},
3365
3363
  dateTime: {},
3366
3364
  pluralRules: {}
3367
3365
  }), {
3368
- getNumberFormat: Xe(function() {
3366
+ getNumberFormat: je(function() {
3369
3367
  for (var t, r = [], n = 0; n < arguments.length; n++)
3370
3368
  r[n] = arguments[n];
3371
- return new ((t = Intl.NumberFormat).bind.apply(t, Ve([void 0], r, !1)))();
3369
+ return new ((t = Intl.NumberFormat).bind.apply(t, $e([void 0], r, !1)))();
3372
3370
  }, {
3373
- cache: Ze(e.number),
3374
- strategy: We.variadic
3371
+ cache: We(e.number),
3372
+ strategy: Ve.variadic
3375
3373
  }),
3376
- getDateTimeFormat: Xe(function() {
3374
+ getDateTimeFormat: je(function() {
3377
3375
  for (var t, r = [], n = 0; n < arguments.length; n++)
3378
3376
  r[n] = arguments[n];
3379
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Ve([void 0], r, !1)))();
3377
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, $e([void 0], r, !1)))();
3380
3378
  }, {
3381
- cache: Ze(e.dateTime),
3382
- strategy: We.variadic
3379
+ cache: We(e.dateTime),
3380
+ strategy: Ve.variadic
3383
3381
  }),
3384
- getPluralRules: Xe(function() {
3382
+ getPluralRules: je(function() {
3385
3383
  for (var t, r = [], n = 0; n < arguments.length; n++)
3386
3384
  r[n] = arguments[n];
3387
- return new ((t = Intl.PluralRules).bind.apply(t, Ve([void 0], r, !1)))();
3385
+ return new ((t = Intl.PluralRules).bind.apply(t, $e([void 0], r, !1)))();
3388
3386
  }, {
3389
- cache: Ze(e.pluralRules),
3390
- strategy: We.variadic
3387
+ cache: We(e.pluralRules),
3388
+ strategy: Ve.variadic
3391
3389
  })
3392
3390
  };
3393
3391
  }
3394
- var Ai = (
3392
+ var Ti = (
3395
3393
  /** @class */
3396
3394
  function() {
3397
3395
  function e(t, r, n, i) {
3398
3396
  r === void 0 && (r = e.defaultLocale);
3399
- var o = this;
3397
+ var s = this;
3400
3398
  if (this.formatterCache = {
3401
3399
  number: {},
3402
3400
  dateTime: {},
3403
3401
  pluralRules: {}
3404
3402
  }, this.format = function(u) {
3405
- var l = o.formatToParts(u);
3403
+ var l = s.formatToParts(u);
3406
3404
  if (l.length === 1)
3407
3405
  return l[0].value;
3408
3406
  var c = l.reduce(function(m, f) {
@@ -3410,26 +3408,26 @@ var Ai = (
3410
3408
  }, []);
3411
3409
  return c.length <= 1 ? c[0] || "" : c;
3412
3410
  }, this.formatToParts = function(u) {
3413
- return Ie(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
3411
+ return Be(s.ast, s.locales, s.formatters, s.formats, u, void 0, s.message);
3414
3412
  }, this.resolvedOptions = function() {
3415
3413
  var u;
3416
3414
  return {
3417
- locale: ((u = o.resolvedLocale) === null || u === void 0 ? void 0 : u.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
3415
+ locale: ((u = s.resolvedLocale) === null || u === void 0 ? void 0 : u.toString()) || Intl.NumberFormat.supportedLocalesOf(s.locales)[0]
3418
3416
  };
3419
3417
  }, this.getAst = function() {
3420
- return o.ast;
3418
+ return s.ast;
3421
3419
  }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
3422
3420
  if (this.message = t, !e.__parse)
3423
3421
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3424
- var s = i || {};
3425
- s.formatters;
3426
- var a = Rn(s, ["formatters"]);
3427
- this.ast = e.__parse(t, j(j({}, a), { locale: this.resolvedLocale }));
3422
+ var o = i || {};
3423
+ o.formatters;
3424
+ var a = Fn(o, ["formatters"]);
3425
+ this.ast = e.__parse(t, C(C({}, a), { locale: this.resolvedLocale }));
3428
3426
  } else
3429
3427
  this.ast = t;
3430
3428
  if (!Array.isArray(this.ast))
3431
3429
  throw new TypeError("A message must be provided as a String or AST.");
3432
- this.formats = Si(e.formats, n), this.formatters = i && i.formatters || Ti(this.formatterCache);
3430
+ this.formats = Hi(e.formats, n), this.formatters = i && i.formatters || Si(this.formatterCache);
3433
3431
  }
3434
3432
  return Object.defineProperty(e, "defaultLocale", {
3435
3433
  get: function() {
@@ -3503,7 +3501,7 @@ var Ai = (
3503
3501
  }, e;
3504
3502
  }()
3505
3503
  );
3506
- function Bi(e, t) {
3504
+ function Ai(e, t) {
3507
3505
  if (t == null)
3508
3506
  return;
3509
3507
  if (t in e)
@@ -3513,9 +3511,9 @@ function Bi(e, t) {
3513
3511
  for (let i = 0; i < r.length; i++)
3514
3512
  if (typeof n == "object") {
3515
3513
  if (i > 0) {
3516
- const o = r.slice(i, r.length).join(".");
3517
- if (o in n) {
3518
- n = n[o];
3514
+ const s = r.slice(i, r.length).join(".");
3515
+ if (s in n) {
3516
+ n = n[s];
3519
3517
  break;
3520
3518
  }
3521
3519
  }
@@ -3524,92 +3522,92 @@ function Bi(e, t) {
3524
3522
  n = void 0;
3525
3523
  return n;
3526
3524
  }
3527
- const z = {}, Ii = (e, t, r) => r && (t in z || (z[t] = {}), e in z[t] || (z[t][e] = r), r), gr = (e, t) => {
3525
+ const W = {}, Bi = (e, t, r) => r && (t in W || (W[t] = {}), e in W[t] || (W[t][e] = r), r), pr = (e, t) => {
3528
3526
  if (t == null)
3529
3527
  return;
3530
- if (t in z && e in z[t])
3531
- return z[t][e];
3532
- const r = De(t);
3528
+ if (t in W && e in W[t])
3529
+ return W[t][e];
3530
+ const r = Fe(t);
3533
3531
  for (let n = 0; n < r.length; n++) {
3534
- const i = r[n], o = Li(i, e);
3535
- if (o)
3536
- return Ii(e, t, o);
3532
+ const i = r[n], s = Mi(i, e);
3533
+ if (s)
3534
+ return Bi(e, t, s);
3537
3535
  }
3538
3536
  };
3539
- let ut;
3540
- const me = Oe({});
3541
- function Mi(e) {
3542
- return ut[e] || null;
3537
+ let lt;
3538
+ const fe = Ne({});
3539
+ function Ii(e) {
3540
+ return lt[e] || null;
3543
3541
  }
3544
- function br(e) {
3545
- return e in ut;
3542
+ function gr(e) {
3543
+ return e in lt;
3546
3544
  }
3547
- function Li(e, t) {
3548
- if (!br(e))
3545
+ function Mi(e, t) {
3546
+ if (!gr(e))
3549
3547
  return null;
3550
- const r = Mi(e);
3551
- return Bi(r, t);
3548
+ const r = Ii(e);
3549
+ return Ai(r, t);
3552
3550
  }
3553
- function Ni(e) {
3551
+ function Li(e) {
3554
3552
  if (e == null)
3555
3553
  return;
3556
- const t = De(e);
3554
+ const t = Fe(e);
3557
3555
  for (let r = 0; r < t.length; r++) {
3558
3556
  const n = t[r];
3559
- if (br(n))
3557
+ if (gr(n))
3560
3558
  return n;
3561
3559
  }
3562
3560
  }
3563
- function yr(e, ...t) {
3564
- delete z[e], me.update((r) => (r[e] = Fn.all([r[e] || {}, ...t]), r));
3561
+ function br(e, ...t) {
3562
+ delete W[e], fe.update((r) => (r[e] = On.all([r[e] || {}, ...t]), r));
3565
3563
  }
3566
- fe(
3567
- [me],
3564
+ ce(
3565
+ [fe],
3568
3566
  ([e]) => Object.keys(e)
3569
3567
  );
3570
- me.subscribe((e) => ut = e);
3571
- const Me = {};
3572
- function Pi(e, t) {
3573
- Me[e].delete(t), Me[e].size === 0 && delete Me[e];
3568
+ fe.subscribe((e) => lt = e);
3569
+ const Ie = {};
3570
+ function Ni(e, t) {
3571
+ Ie[e].delete(t), Ie[e].size === 0 && delete Ie[e];
3574
3572
  }
3575
- function vr(e) {
3576
- return Me[e];
3573
+ function yr(e) {
3574
+ return Ie[e];
3577
3575
  }
3578
- function Oi(e) {
3579
- return De(e).map((t) => {
3580
- const r = vr(t);
3576
+ function Pi(e) {
3577
+ return Fe(e).map((t) => {
3578
+ const r = yr(t);
3581
3579
  return [t, r ? [...r] : []];
3582
3580
  }).filter(([, t]) => t.length > 0);
3583
3581
  }
3584
- function ot(e) {
3585
- return e == null ? !1 : De(e).some(
3582
+ function nt(e) {
3583
+ return e == null ? !1 : Fe(e).some(
3586
3584
  (t) => {
3587
3585
  var r;
3588
- return (r = vr(t)) == null ? void 0 : r.size;
3586
+ return (r = yr(t)) == null ? void 0 : r.size;
3589
3587
  }
3590
3588
  );
3591
3589
  }
3592
- function Fi(e, t) {
3590
+ function Oi(e, t) {
3593
3591
  return Promise.all(
3594
- t.map((n) => (Pi(e, n), n().then((i) => i.default || i)))
3595
- ).then((n) => yr(e, ...n));
3592
+ t.map((n) => (Ni(e, n), n().then((i) => i.default || i)))
3593
+ ).then((n) => br(e, ...n));
3596
3594
  }
3597
- const be = {};
3595
+ const ge = {};
3598
3596
  function _r(e) {
3599
- if (!ot(e))
3600
- return e in be ? be[e] : Promise.resolve();
3601
- const t = Oi(e);
3602
- return be[e] = Promise.all(
3597
+ if (!nt(e))
3598
+ return e in ge ? ge[e] : Promise.resolve();
3599
+ const t = Pi(e);
3600
+ return ge[e] = Promise.all(
3603
3601
  t.map(
3604
- ([r, n]) => Fi(r, n)
3602
+ ([r, n]) => Oi(r, n)
3605
3603
  )
3606
3604
  ).then(() => {
3607
- if (ot(e))
3605
+ if (nt(e))
3608
3606
  return _r(e);
3609
- delete be[e];
3610
- }), be[e];
3607
+ delete ge[e];
3608
+ }), ge[e];
3611
3609
  }
3612
- const Ri = {
3610
+ const Fi = {
3613
3611
  number: {
3614
3612
  scientific: { notation: "scientific" },
3615
3613
  engineering: { notation: "engineering" },
@@ -3638,150 +3636,150 @@ const Ri = {
3638
3636
  timeZoneName: "short"
3639
3637
  }
3640
3638
  }
3641
- }, Di = {
3639
+ }, Ri = {
3642
3640
  fallbackLocale: null,
3643
3641
  loadingDelay: 200,
3644
- formats: Ri,
3642
+ formats: Fi,
3645
3643
  warnOnMissingMessages: !0,
3646
3644
  handleMissingMessage: void 0,
3647
3645
  ignoreTag: !0
3648
- }, Ui = Di;
3649
- function ce() {
3650
- return Ui;
3651
- }
3652
- const Qe = Oe(!1);
3653
- var Gi = Object.defineProperty, ki = Object.defineProperties, $i = Object.getOwnPropertyDescriptors, Mt = Object.getOwnPropertySymbols, ji = Object.prototype.hasOwnProperty, Vi = Object.prototype.propertyIsEnumerable, Lt = (e, t, r) => t in e ? Gi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Xi = (e, t) => {
3654
- for (var r in t || (t = {}))
3655
- ji.call(t, r) && Lt(e, r, t[r]);
3656
- if (Mt)
3657
- for (var r of Mt(t))
3658
- Vi.call(t, r) && Lt(e, r, t[r]);
3646
+ }, Di = Ri;
3647
+ function he() {
3648
+ return Di;
3649
+ }
3650
+ const ze = Ne(!1);
3651
+ var Ui = Object.defineProperty, Gi = Object.defineProperties, ki = Object.getOwnPropertyDescriptors, It = Object.getOwnPropertySymbols, $i = Object.prototype.hasOwnProperty, ji = Object.prototype.propertyIsEnumerable, Mt = (e, t, r) => t in e ? Ui(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Vi = (e, t) => {
3652
+ for (var r in t)
3653
+ $i.call(t, r) && Mt(e, r, t[r]);
3654
+ if (It)
3655
+ for (var r of It(t))
3656
+ ji.call(t, r) && Mt(e, r, t[r]);
3659
3657
  return e;
3660
- }, Wi = (e, t) => ki(e, $i(t));
3661
- let st;
3662
- const Ne = Oe(null);
3663
- function Nt(e) {
3658
+ }, Xi = (e, t) => Gi(e, ki(t));
3659
+ let it;
3660
+ const Me = Ne(null);
3661
+ function Lt(e) {
3664
3662
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3665
3663
  }
3666
- function De(e, t = ce().fallbackLocale) {
3667
- const r = Nt(e);
3668
- return t ? [.../* @__PURE__ */ new Set([...r, ...Nt(t)])] : r;
3664
+ function Fe(e, t = he().fallbackLocale) {
3665
+ const r = Lt(e);
3666
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Lt(t)])] : r;
3669
3667
  }
3670
- function ee() {
3671
- return st != null ? st : void 0;
3668
+ function K() {
3669
+ return it != null ? it : void 0;
3672
3670
  }
3673
- Ne.subscribe((e) => {
3674
- st = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3671
+ Me.subscribe((e) => {
3672
+ it = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3675
3673
  });
3676
- const zi = (e) => {
3677
- if (e && Ni(e) && ot(e)) {
3678
- const { loadingDelay: t } = ce();
3674
+ const Wi = (e) => {
3675
+ if (e && Li(e) && nt(e)) {
3676
+ const { loadingDelay: t } = he();
3679
3677
  let r;
3680
- return typeof window != "undefined" && ee() != null && t ? r = window.setTimeout(
3681
- () => Qe.set(!0),
3678
+ return typeof window != "undefined" && K() != null && t ? r = window.setTimeout(
3679
+ () => ze.set(!0),
3682
3680
  t
3683
- ) : Qe.set(!0), _r(e).then(() => {
3684
- Ne.set(e);
3681
+ ) : ze.set(!0), _r(e).then(() => {
3682
+ Me.set(e);
3685
3683
  }).finally(() => {
3686
- clearTimeout(r), Qe.set(!1);
3684
+ clearTimeout(r), ze.set(!1);
3687
3685
  });
3688
3686
  }
3689
- return Ne.set(e);
3690
- }, Z = Wi(Xi({}, Ne), {
3691
- set: zi
3692
- }), Ue = (e) => {
3687
+ return Me.set(e);
3688
+ }, z = Xi(Vi({}, Me), {
3689
+ set: Wi
3690
+ }), Re = (e) => {
3693
3691
  const t = /* @__PURE__ */ Object.create(null);
3694
3692
  return (n) => {
3695
3693
  const i = JSON.stringify(n);
3696
3694
  return i in t ? t[i] : t[i] = e(n);
3697
3695
  };
3698
3696
  };
3699
- var Zi = Object.defineProperty, Pe = Object.getOwnPropertySymbols, Er = Object.prototype.hasOwnProperty, xr = Object.prototype.propertyIsEnumerable, Pt = (e, t, r) => t in e ? Zi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ht = (e, t) => {
3697
+ var zi = Object.defineProperty, Le = Object.getOwnPropertySymbols, vr = Object.prototype.hasOwnProperty, Er = Object.prototype.propertyIsEnumerable, Nt = (e, t, r) => t in e ? zi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ut = (e, t) => {
3700
3698
  for (var r in t || (t = {}))
3701
- Er.call(t, r) && Pt(e, r, t[r]);
3702
- if (Pe)
3703
- for (var r of Pe(t))
3704
- xr.call(t, r) && Pt(e, r, t[r]);
3699
+ vr.call(t, r) && Nt(e, r, t[r]);
3700
+ if (Le)
3701
+ for (var r of Le(t))
3702
+ Er.call(t, r) && Nt(e, r, t[r]);
3705
3703
  return e;
3706
- }, de = (e, t) => {
3704
+ }, me = (e, t) => {
3707
3705
  var r = {};
3708
3706
  for (var n in e)
3709
- Er.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3710
- if (e != null && Pe)
3711
- for (var n of Pe(e))
3712
- t.indexOf(n) < 0 && xr.call(e, n) && (r[n] = e[n]);
3707
+ vr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3708
+ if (e != null && Le)
3709
+ for (var n of Le(e))
3710
+ t.indexOf(n) < 0 && Er.call(e, n) && (r[n] = e[n]);
3713
3711
  return r;
3714
3712
  };
3715
- const we = (e, t) => {
3716
- const { formats: r } = ce();
3713
+ const xe = (e, t) => {
3714
+ const { formats: r } = he();
3717
3715
  if (e in r && t in r[e])
3718
3716
  return r[e][t];
3719
3717
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3720
- }, Qi = Ue(
3718
+ }, Zi = Re(
3721
3719
  (e) => {
3722
- var t = e, { locale: r, format: n } = t, i = de(t, ["locale", "format"]);
3720
+ var t = e, { locale: r, format: n } = t, i = me(t, ["locale", "format"]);
3723
3721
  if (r == null)
3724
3722
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3725
- return n && (i = we("number", n)), new Intl.NumberFormat(r, i);
3723
+ return n && (i = xe("number", n)), new Intl.NumberFormat(r, i);
3726
3724
  }
3727
- ), qi = Ue(
3725
+ ), Qi = Re(
3728
3726
  (e) => {
3729
- var t = e, { locale: r, format: n } = t, i = de(t, ["locale", "format"]);
3727
+ var t = e, { locale: r, format: n } = t, i = me(t, ["locale", "format"]);
3730
3728
  if (r == null)
3731
3729
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3732
- return n ? i = we("date", n) : Object.keys(i).length === 0 && (i = we("date", "short")), new Intl.DateTimeFormat(r, i);
3730
+ return n ? i = xe("date", n) : Object.keys(i).length === 0 && (i = xe("date", "short")), new Intl.DateTimeFormat(r, i);
3733
3731
  }
3734
- ), Ji = Ue(
3732
+ ), qi = Re(
3735
3733
  (e) => {
3736
- var t = e, { locale: r, format: n } = t, i = de(t, ["locale", "format"]);
3734
+ var t = e, { locale: r, format: n } = t, i = me(t, ["locale", "format"]);
3737
3735
  if (r == null)
3738
3736
  throw new Error(
3739
3737
  '[svelte-i18n] A "locale" must be set to format time values'
3740
3738
  );
3741
- return n ? i = we("time", n) : Object.keys(i).length === 0 && (i = we("time", "short")), new Intl.DateTimeFormat(r, i);
3739
+ return n ? i = xe("time", n) : Object.keys(i).length === 0 && (i = xe("time", "short")), new Intl.DateTimeFormat(r, i);
3742
3740
  }
3743
- ), Yi = (e = {}) => {
3741
+ ), Ji = (e = {}) => {
3744
3742
  var t = e, {
3745
- locale: r = ee()
3746
- } = t, n = de(t, [
3743
+ locale: r = K()
3744
+ } = t, n = me(t, [
3747
3745
  "locale"
3748
3746
  ]);
3749
- return Qi(ht({ locale: r }, n));
3750
- }, Ki = (e = {}) => {
3747
+ return Zi(ut({ locale: r }, n));
3748
+ }, Yi = (e = {}) => {
3751
3749
  var t = e, {
3752
- locale: r = ee()
3753
- } = t, n = de(t, [
3750
+ locale: r = K()
3751
+ } = t, n = me(t, [
3754
3752
  "locale"
3755
3753
  ]);
3756
- return qi(ht({ locale: r }, n));
3757
- }, eo = (e = {}) => {
3754
+ return Qi(ut({ locale: r }, n));
3755
+ }, Ki = (e = {}) => {
3758
3756
  var t = e, {
3759
- locale: r = ee()
3760
- } = t, n = de(t, [
3757
+ locale: r = K()
3758
+ } = t, n = me(t, [
3761
3759
  "locale"
3762
3760
  ]);
3763
- return Ji(ht({ locale: r }, n));
3764
- }, to = Ue(
3761
+ return qi(ut({ locale: r }, n));
3762
+ }, eo = Re(
3765
3763
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3766
- (e, t = ee()) => new Ai(e, t, ce().formats, {
3767
- ignoreTag: ce().ignoreTag
3764
+ (e, t = K()) => new Ti(e, t, he().formats, {
3765
+ ignoreTag: he().ignoreTag
3768
3766
  })
3769
- ), ro = (e, t = {}) => {
3770
- var r, n, i, o;
3771
- let s = t;
3772
- typeof e == "object" && (s = e, e = s.id);
3767
+ ), to = (e, t = {}) => {
3768
+ var r, n, i, s;
3769
+ let o = t;
3770
+ typeof e == "object" && (o = e, e = o.id);
3773
3771
  const {
3774
3772
  values: a,
3775
- locale: u = ee(),
3773
+ locale: u = K(),
3776
3774
  default: l
3777
- } = s;
3775
+ } = o;
3778
3776
  if (u == null)
3779
3777
  throw new Error(
3780
3778
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3781
3779
  );
3782
- let c = gr(e, u);
3780
+ let c = pr(e, u);
3783
3781
  if (!c)
3784
- 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;
3782
+ c = (s = (i = (n = (r = he()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? s : e;
3785
3783
  else if (typeof c != "string")
3786
3784
  return console.warn(
3787
3785
  `[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.`
@@ -3790,7 +3788,7 @@ const we = (e, t) => {
3790
3788
  return c;
3791
3789
  let m = c;
3792
3790
  try {
3793
- m = to(c, u).format(a);
3791
+ m = eo(c, u).format(a);
3794
3792
  } catch (f) {
3795
3793
  f instanceof Error && console.warn(
3796
3794
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3798,24 +3796,24 @@ const we = (e, t) => {
3798
3796
  );
3799
3797
  }
3800
3798
  return m;
3801
- }, no = (e, t) => eo(t).format(e), io = (e, t) => Ki(t).format(e), oo = (e, t) => Yi(t).format(e), so = (e, t = ee()) => gr(e, t);
3802
- fe([Z, me], () => ro);
3803
- fe([Z], () => no);
3804
- fe([Z], () => io);
3805
- fe([Z], () => oo);
3806
- fe([Z, me], () => so);
3807
- function ao({ withLocale: e, translations: t }) {
3808
- Z.subscribe((r) => {
3809
- r == null && (me.set(t), Z.set(e));
3799
+ }, ro = (e, t) => Ki(t).format(e), no = (e, t) => Yi(t).format(e), io = (e, t) => Ji(t).format(e), oo = (e, t = K()) => pr(e, t);
3800
+ ce([z, fe], () => to);
3801
+ ce([z], () => ro);
3802
+ ce([z], () => no);
3803
+ ce([z], () => io);
3804
+ ce([z, fe], () => oo);
3805
+ function so({ withLocale: e, translations: t }) {
3806
+ z.subscribe((r) => {
3807
+ r == null && (fe.set(t), z.set(e));
3810
3808
  });
3811
3809
  }
3812
- function Ot(e, t) {
3813
- yr(e, t);
3810
+ function Pt(e, t) {
3811
+ br(e, t);
3814
3812
  }
3815
- function lo(e) {
3816
- Z.set(e);
3813
+ function ao(e) {
3814
+ z.set(e);
3817
3815
  }
3818
- const Ft = {
3816
+ const Ot = {
3819
3817
  en: {
3820
3818
  login: "Login",
3821
3819
  register: "Register",
@@ -3872,111 +3870,111 @@ const Ft = {
3872
3870
  deposit: "Deposit"
3873
3871
  }
3874
3872
  };
3875
- function uo(e) {
3876
- Zr(e, "svelte-wvhhix", '*,*::before,*::after{margin:0;padding:0;font-family:inherit;box-sizing:border-box}.scroller{scroll-behavior:smooth}.CarouselWrapper{background:var(--emw--color-primary, #194127)}.CarouselWrapper.CarouselWrapperHeaderMain{background:transparent}.CarouselContainer{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;width:100%;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));margin:0 auto;max-width:1300px}.CarouselContainer.CarouselContainerMobile{padding:0}.CarouselContainer ul{align-items:center}.CarouselContainer ul::-webkit-scrollbar{display:none}.CarouselContainer ul li{height:100%;align-items:center;font-size:15px;font-weight:500;line-height:26px;white-space:nowrap;display:inline-block;text-align:left;word-spacing:normal}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li.SecondaryMenu:hover,.CarouselContainer ul li.SecondaryMenu.active,.CarouselContainer ul li.SecondaryMenu:focus,.CarouselContainer ul li.SecondaryMenu:focus-within{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A));cursor:pointer}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li:hover,.CarouselContainer ul>li>a:hover,.CarouselContainer ul li:focus,.CarouselContainer ul>li>a:focus{z-index:105}.CarouselContainer .CarouselItems li:hover>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear}.CarouselContainer .CarouselItems li:focus-within>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear, top 0.5s}.CarouselContainer .CarouselItems ul ul{transition:opacity 0.4s, left 0s 0.4s, margin 0s 0.4s;z-index:103}.CarouselContainer .CarouselItems li li:hover ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselItems li li:focus-within ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselLeftArrow,.CarouselContainer .CarouselRightArrow{display:flex;align-items:center;justify-content:center;width:50%;max-width:64px;background:var(--emw--categories-arrows-bg, var(--emw--color-gray-transparency-30, rgba(255, 255, 255, 0.3)))}.CarouselContainer .CarouselLeftArrow svg,.CarouselContainer .CarouselRightArrow svg{width:100%;max-width:39px;stroke:var(--emw--categories-arrows, var(--emw--color-white, #FFFFFF))}.CarouselContainer h1{text-align:center}.CarouselContainer ul{margin:0;padding:0;list-style:none}.CarouselContainer .CarouselNavWrap{overflow-y:scroll;white-space:nowrap;list-style-type:none;-ms-overflow-style:none;scrollbar-width:none}.CarouselContainer .CarouselNavWrap::-webkit-scrollbar{display:none}.CarouselContainer .CarouselItems{display:table;width:100%;text-align:center}.CarouselContainer .CarouselItems li{display:inline-block;text-align:left;padding:7px 10px}.CarouselContainer .CarouselItems li>a{position:relative}.CarouselContainer .CarouselItems li li{display:block}.CarouselContainer .CarouselItems button{background:none;border:none;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer .CarouselItems a{display:block;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer .CarouselItems.SecondaryMenu li:hover>a,.CarouselContainer .CarouselItems.SecondaryMenu a:hover,.CarouselContainer .CarouselItems.SecondaryMenu li:focus>a,.CarouselContainer .CarouselItems.SecondaryMenu a:focus{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A))}.CarouselContainer .CarouselItems ul{position:absolute;z-index:104;left:-999em;top:0;opacity:0;transition:opacity 0.1s, left 0s 0.1s, top 0.1s;background:var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839));background:-webkit-linear-gradient(var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #22B04E)));background:linear-gradient(var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #22B04E)))}.CarouselContainer .CarouselItems .TouchOnly{display:none;left:-10px}.CarouselContainer .touch-device .CarouselItems .TouchOnly{display:inline-block}.CarouselContainer .touch-device .CarouselItems .TouchOnly a{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A));color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF))}.CarouselContainer .isScrolling .CarouselItems ul.DropDown{left:-999em;opacity:0}.CarouselContainer .SubDropDown:hover,.CarouselContainer .SubDropDown.active{color:var(--emw--categories-contrast, var(--emw--color-contrast, #07072A));background:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF))}.CarouselContainerHeaderMain .CarouselItems .CarouselItem:hover a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem.active a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus-within a{border-bottom:1px solid var(--emw--header-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--header-color-primary, var(--emw--color-primary, #22B04E))}.CarouselContainerHeaderMain .CarouselItems .CarouselItem span{border-top:1px solid transparent;padding-top:5px;transition-duration:0.3s}.CarouselContainerHeaderMain{background:transparent;margin:0;padding:0}.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{background:transparent;width:unset;display:none}.CarouselContainerHeaderMain .CarouselItem a{color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));text-decoration:none}.CarouselItems li a:first-child:not(:last-child){padding-right:20px}.CarouselItems li a:first-child:not(:last-child):after{content:"";position:absolute;right:3px;top:50%;margin-top:-6px;width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:6px solid var(--emw--color-white, #FFFFFF)}.CarouselItems>li>a:first-child:not(:last-child):after{border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid var(--emw--color-white, #FFFFFF);border-bottom:none;margin-top:-3px}.CarouselItems li:hover a:first-child:not(:last-child):after{border-left-color:var(--emw--color-white, #FFFFFF)}.CarouselItems li:focus-within a:first-child:not(:last-child):after{border-left-color:var(--emw--color-white, #FFFFFF)}.CarouselItems>li:hover>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emw--color-white, #FFFFFF)}.CarouselItems>li:focus-within>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emw--color-white, #FFFFFF)}@media only screen and (max-width: 1024px){.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{display:flex}}.CategoryIconImg{height:20px;margin:0 auto;display:block}.DisplayNone{display:none}');
3873
+ function lo(e) {
3874
+ zr(e, "svelte-wvhhix", '*,*::before,*::after{margin:0;padding:0;font-family:inherit;box-sizing:border-box}.scroller{scroll-behavior:smooth}.CarouselWrapper{background:var(--emw--color-primary, #194127)}.CarouselWrapper.CarouselWrapperHeaderMain{background:transparent}.CarouselContainer{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;width:100%;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));margin:0 auto;max-width:1300px}.CarouselContainer.CarouselContainerMobile{padding:0}.CarouselContainer ul{align-items:center}.CarouselContainer ul::-webkit-scrollbar{display:none}.CarouselContainer ul li{height:100%;align-items:center;font-size:15px;font-weight:500;line-height:26px;white-space:nowrap;display:inline-block;text-align:left;word-spacing:normal}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li.SecondaryMenu:hover,.CarouselContainer ul li.SecondaryMenu.active,.CarouselContainer ul li.SecondaryMenu:focus,.CarouselContainer ul li.SecondaryMenu:focus-within{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A));cursor:pointer}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li:hover,.CarouselContainer ul>li>a:hover,.CarouselContainer ul li:focus,.CarouselContainer ul>li>a:focus{z-index:105}.CarouselContainer .CarouselItems li:hover>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear}.CarouselContainer .CarouselItems li:focus-within>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear, top 0.5s}.CarouselContainer .CarouselItems ul ul{transition:opacity 0.4s, left 0s 0.4s, margin 0s 0.4s;z-index:103}.CarouselContainer .CarouselItems li li:hover ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselItems li li:focus-within ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselLeftArrow,.CarouselContainer .CarouselRightArrow{display:flex;align-items:center;justify-content:center;width:50%;max-width:64px;background:var(--emw--categories-arrows-bg, var(--emw--color-gray-transparency-30, rgba(255, 255, 255, 0.3)))}.CarouselContainer .CarouselLeftArrow svg,.CarouselContainer .CarouselRightArrow svg{width:100%;max-width:39px;stroke:var(--emw--categories-arrows, var(--emw--color-white, #FFFFFF))}.CarouselContainer h1{text-align:center}.CarouselContainer ul{margin:0;padding:0;list-style:none}.CarouselContainer .CarouselNavWrap{overflow-y:scroll;white-space:nowrap;list-style-type:none;-ms-overflow-style:none;scrollbar-width:none}.CarouselContainer .CarouselNavWrap::-webkit-scrollbar{display:none}.CarouselContainer .CarouselItems{display:table;width:100%;text-align:center}.CarouselContainer .CarouselItems li{display:inline-block;text-align:left;padding:7px 10px}.CarouselContainer .CarouselItems li>a{position:relative}.CarouselContainer .CarouselItems li li{display:block}.CarouselContainer .CarouselItems button{background:none;border:none;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer .CarouselItems a{display:block;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer .CarouselItems.SecondaryMenu li:hover>a,.CarouselContainer .CarouselItems.SecondaryMenu a:hover,.CarouselContainer .CarouselItems.SecondaryMenu li:focus>a,.CarouselContainer .CarouselItems.SecondaryMenu a:focus{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A))}.CarouselContainer .CarouselItems ul{position:absolute;z-index:104;left:-999em;top:0;opacity:0;transition:opacity 0.1s, left 0s 0.1s, top 0.1s;background:var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839));background:-webkit-linear-gradient(var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #22B04E)));background:linear-gradient(var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #22B04E)))}.CarouselContainer .CarouselItems .TouchOnly{display:none;left:-10px}.CarouselContainer .touch-device .CarouselItems .TouchOnly{display:inline-block}.CarouselContainer .touch-device .CarouselItems .TouchOnly a{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A));color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF))}.CarouselContainer .isScrolling .CarouselItems ul.DropDown{left:-999em;opacity:0}.CarouselContainer .SubDropDown:hover,.CarouselContainer .SubDropDown.active{color:var(--emw--categories-contrast, var(--emw--color-contrast, #07072A));background:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF))}.CarouselContainerHeaderMain .CarouselItems .CarouselItem:hover a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem.active a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus-within a{border-bottom:1px solid var(--emw--header-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--header-color-primary, var(--emw--color-primary, #22B04E))}.CarouselContainerHeaderMain .CarouselItems .CarouselItem span{border-top:1px solid transparent;padding-top:5px;transition-duration:0.3s}.CarouselContainerHeaderMain{background:transparent;margin:0;padding:0}.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{background:transparent;width:unset;display:none}.CarouselContainerHeaderMain .CarouselItem a{color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));text-decoration:none}.CarouselItems li a:first-child:not(:last-child){padding-right:20px}.CarouselItems li a:first-child:not(:last-child):after{content:"";position:absolute;right:3px;top:50%;margin-top:-6px;width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:6px solid var(--emw--color-white, #FFFFFF)}.CarouselItems>li>a:first-child:not(:last-child):after{border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid var(--emw--color-white, #FFFFFF);border-bottom:none;margin-top:-3px}.CarouselItems li:hover a:first-child:not(:last-child):after{border-left-color:var(--emw--color-white, #FFFFFF)}.CarouselItems li:focus-within a:first-child:not(:last-child):after{border-left-color:var(--emw--color-white, #FFFFFF)}.CarouselItems>li:hover>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emw--color-white, #FFFFFF)}.CarouselItems>li:focus-within>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emw--color-white, #FFFFFF)}@media only screen and (max-width: 1024px){.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{display:flex}}.CategoryIconImg{height:20px;margin:0 auto;display:block}.DisplayNone{display:none}');
3877
3875
  }
3878
- function Rt(e, t, r) {
3876
+ function Ft(e, t, r) {
3879
3877
  const n = e.slice();
3880
3878
  return n[57] = t[r], n[59] = r, n;
3881
3879
  }
3882
- function Dt(e, t, r) {
3880
+ function Rt(e, t, r) {
3883
3881
  const n = e.slice();
3884
3882
  return n[60] = t[r], n;
3885
3883
  }
3886
- function Ut(e, t, r) {
3884
+ function Dt(e, t, r) {
3887
3885
  const n = e.slice();
3888
3886
  return n[63] = t[r], n[65] = r, n;
3889
3887
  }
3890
- function Gt(e) {
3891
- let t = [], r = /* @__PURE__ */ new Map(), n, i = ae(
3888
+ function Ut(e) {
3889
+ let t = [], r = /* @__PURE__ */ new Map(), n, i = se(
3892
3890
  /*sliderdata*/
3893
3891
  e[9]
3894
3892
  );
3895
- const o = (s) => (
3893
+ const s = (o) => (
3896
3894
  /*category*/
3897
- s[57].id
3895
+ o[57].id
3898
3896
  );
3899
- for (let s = 0; s < i.length; s += 1) {
3900
- let a = Rt(e, i, s), u = o(a);
3901
- r.set(u, t[s] = Wt(u, a));
3897
+ for (let o = 0; o < i.length; o += 1) {
3898
+ let a = Ft(e, i, o), u = s(a);
3899
+ r.set(u, t[o] = Xt(u, a));
3902
3900
  }
3903
3901
  return {
3904
3902
  c() {
3905
- for (let s = 0; s < t.length; s += 1)
3906
- t[s].c();
3903
+ for (let o = 0; o < t.length; o += 1)
3904
+ t[o].c();
3907
3905
  n = _e();
3908
3906
  },
3909
- m(s, a) {
3907
+ m(o, a) {
3910
3908
  for (let u = 0; u < t.length; u += 1)
3911
- t[u] && t[u].m(s, a);
3912
- k(s, n, a);
3909
+ t[u] && t[u].m(o, a);
3910
+ k(o, n, a);
3913
3911
  },
3914
- p(s, a) {
3912
+ p(o, a) {
3915
3913
  a[0] & /*activeindex, sliderdata, location, handleClick, subGroupsData, activeIndex, activeSubIndex, prevSubIndex, showsubgroups, itemsActive, categoriesicon, handleSrc*/
3916
- 1183695 && (i = ae(
3914
+ 1183695 && (i = se(
3917
3915
  /*sliderdata*/
3918
- s[9]
3919
- ), t = Jt(t, a, o, 1, s, i, r, n.parentNode, qt, Wt, n, Rt));
3916
+ o[9]
3917
+ ), t = qt(t, a, s, 1, o, i, r, n.parentNode, Qt, Xt, n, Ft));
3920
3918
  },
3921
- d(s) {
3922
- s && U(n);
3919
+ d(o) {
3920
+ o && U(n);
3923
3921
  for (let a = 0; a < t.length; a += 1)
3924
- t[a].d(s);
3922
+ t[a].d(o);
3925
3923
  }
3926
3924
  };
3927
3925
  }
3928
- function ho(e) {
3926
+ function uo(e) {
3929
3927
  let t, r = (
3930
3928
  /*category*/
3931
3929
  e[57].name + ""
3932
3930
  ), n;
3933
3931
  return {
3934
3932
  c() {
3935
- t = P("button"), n = Ce(r), S(t, "class", "CategoryButton");
3933
+ t = P("button"), n = Ce(r), T(t, "class", "CategoryButton");
3936
3934
  },
3937
- m(i, o) {
3938
- k(i, t, o), M(t, n);
3935
+ m(i, s) {
3936
+ k(i, t, s), M(t, n);
3939
3937
  },
3940
- p(i, o) {
3941
- o[0] & /*sliderdata*/
3938
+ p(i, s) {
3939
+ s[0] & /*sliderdata*/
3942
3940
  512 && r !== (r = /*category*/
3943
- i[57].name + "") && lt(n, r);
3941
+ i[57].name + "") && st(n, r);
3944
3942
  },
3945
3943
  d(i) {
3946
3944
  i && U(t);
3947
3945
  }
3948
3946
  };
3949
3947
  }
3950
- function co(e) {
3948
+ function ho(e) {
3951
3949
  let t, r = (
3952
3950
  /*category*/
3953
3951
  e[57].label + ""
3954
3952
  ), n, i;
3955
3953
  return {
3956
3954
  c() {
3957
- t = P("a"), n = Ce(r), S(t, "href", i = /*category*/
3955
+ t = P("a"), n = Ce(r), T(t, "href", i = /*category*/
3958
3956
  e[57].path);
3959
3957
  },
3960
- m(o, s) {
3961
- k(o, t, s), M(t, n);
3958
+ m(s, o) {
3959
+ k(s, t, o), M(t, n);
3962
3960
  },
3963
- p(o, s) {
3964
- s[0] & /*sliderdata*/
3961
+ p(s, o) {
3962
+ o[0] & /*sliderdata*/
3965
3963
  512 && r !== (r = /*category*/
3966
- o[57].label + "") && lt(n, r), s[0] & /*sliderdata*/
3964
+ s[57].label + "") && st(n, r), o[0] & /*sliderdata*/
3967
3965
  512 && i !== (i = /*category*/
3968
- o[57].path) && S(t, "href", i);
3966
+ s[57].path) && T(t, "href", i);
3969
3967
  },
3970
- d(o) {
3971
- o && U(t);
3968
+ d(s) {
3969
+ s && U(t);
3972
3970
  }
3973
3971
  };
3974
3972
  }
3975
- function kt(e) {
3973
+ function Gt(e) {
3976
3974
  let t, r = (
3977
3975
  /*subGroupsData*/
3978
3976
  e[10].length > 0 && /*showsubgroups*/
3979
- e[2] == "true" && $t(e)
3977
+ e[2] == "true" && kt(e)
3980
3978
  );
3981
3979
  return {
3982
3980
  c() {
@@ -3988,60 +3986,60 @@ function kt(e) {
3988
3986
  p(n, i) {
3989
3987
  /*subGroupsData*/
3990
3988
  n[10].length > 0 && /*showsubgroups*/
3991
- n[2] == "true" ? r ? r.p(n, i) : (r = $t(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3989
+ n[2] == "true" ? r ? r.p(n, i) : (r = kt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3992
3990
  },
3993
3991
  d(n) {
3994
3992
  n && U(t), r && r.d(n);
3995
3993
  }
3996
3994
  };
3997
3995
  }
3998
- function $t(e) {
3999
- let t, r = ae(
3996
+ function kt(e) {
3997
+ let t, r = se(
4000
3998
  /*subGroupsData*/
4001
3999
  e[10]
4002
4000
  ), n = [];
4003
4001
  for (let i = 0; i < r.length; i += 1)
4004
- n[i] = Xt(Dt(e, r, i));
4002
+ n[i] = Vt(Rt(e, r, i));
4005
4003
  return {
4006
4004
  c() {
4007
4005
  t = P("ul");
4008
4006
  for (let i = 0; i < n.length; i += 1)
4009
4007
  n[i].c();
4010
- S(t, "class", "DropDown");
4008
+ T(t, "class", "DropDown");
4011
4009
  },
4012
- m(i, o) {
4013
- k(i, t, o);
4014
- for (let s = 0; s < n.length; s += 1)
4015
- n[s] && n[s].m(t, null);
4010
+ m(i, s) {
4011
+ k(i, t, s);
4012
+ for (let o = 0; o < n.length; o += 1)
4013
+ n[o] && n[o].m(t, null);
4016
4014
  },
4017
- p(i, o) {
4018
- if (o[0] & /*subGroupsData, handleClick, sliderdata, activeIndex, activeSubIndex, prevSubIndex*/
4015
+ p(i, s) {
4016
+ if (s[0] & /*subGroupsData, handleClick, sliderdata, activeIndex, activeSubIndex, prevSubIndex*/
4019
4017
  133056) {
4020
- r = ae(
4018
+ r = se(
4021
4019
  /*subGroupsData*/
4022
4020
  i[10]
4023
4021
  );
4024
- let s;
4025
- for (s = 0; s < r.length; s += 1) {
4026
- const a = Dt(i, r, s);
4027
- n[s] ? n[s].p(a, o) : (n[s] = Xt(a), n[s].c(), n[s].m(t, null));
4022
+ let o;
4023
+ for (o = 0; o < r.length; o += 1) {
4024
+ const a = Rt(i, r, o);
4025
+ n[o] ? n[o].p(a, s) : (n[o] = Vt(a), n[o].c(), n[o].m(t, null));
4028
4026
  }
4029
- for (; s < n.length; s += 1)
4030
- n[s].d(1);
4027
+ for (; o < n.length; o += 1)
4028
+ n[o].d(1);
4031
4029
  n.length = r.length;
4032
4030
  }
4033
4031
  },
4034
4032
  d(i) {
4035
- i && U(t), Jr(n, i);
4033
+ i && U(t), qr(n, i);
4036
4034
  }
4037
4035
  };
4038
4036
  }
4039
- function jt(e) {
4037
+ function $t(e) {
4040
4038
  var c;
4041
4039
  let t, r, n = (
4042
4040
  /*subGroupItem*/
4043
4041
  ((c = e[63]) == null ? void 0 : c.name) + ""
4044
- ), i, o, s, a, u;
4042
+ ), i, s, o, a, u;
4045
4043
  function l(...m) {
4046
4044
  return (
4047
4045
  /*click_handler_2*/
@@ -4060,7 +4058,7 @@ function jt(e) {
4060
4058
  }
4061
4059
  return {
4062
4060
  c() {
4063
- t = P("li"), r = P("a"), i = Ce(n), s = Y(), S(r, "class", o = "SubDropDown " + /*index*/
4061
+ t = P("li"), r = P("a"), i = Ce(n), o = J(), T(r, "class", s = "SubDropDown " + /*index*/
4064
4062
  (e[59] == /*activeIndex*/
4065
4063
  e[6] && /*activeSubIndex*/
4066
4064
  (e[7] == /*subindex*/
@@ -4069,31 +4067,31 @@ function jt(e) {
4069
4067
  e[65]) ? "active" : ""));
4070
4068
  },
4071
4069
  m(m, f) {
4072
- k(m, t, f), M(t, r), M(r, i), M(t, s), a || (u = X(t, "click", l), a = !0);
4070
+ k(m, t, f), M(t, r), M(r, i), M(t, o), a || (u = V(t, "click", l), a = !0);
4073
4071
  },
4074
4072
  p(m, f) {
4075
4073
  var p;
4076
4074
  e = m, f[0] & /*subGroupsData*/
4077
4075
  1024 && n !== (n = /*subGroupItem*/
4078
- ((p = e[63]) == null ? void 0 : p.name) + "") && lt(i, n), f[0] & /*sliderdata, activeIndex, activeSubIndex, subGroupsData, prevSubIndex*/
4079
- 1984 && o !== (o = "SubDropDown " + /*index*/
4076
+ ((p = e[63]) == null ? void 0 : p.name) + "") && st(i, n), f[0] & /*sliderdata, activeIndex, activeSubIndex, subGroupsData, prevSubIndex*/
4077
+ 1984 && s !== (s = "SubDropDown " + /*index*/
4080
4078
  (e[59] == /*activeIndex*/
4081
4079
  e[6] && /*activeSubIndex*/
4082
4080
  (e[7] == /*subindex*/
4083
4081
  e[65] || /*prevSubIndex*/
4084
4082
  e[8] == /*subindex*/
4085
- e[65]) ? "active" : "")) && S(r, "class", o);
4083
+ e[65]) ? "active" : "")) && T(r, "class", s);
4086
4084
  },
4087
4085
  d(m) {
4088
4086
  m && U(t), a = !1, u();
4089
4087
  }
4090
4088
  };
4091
4089
  }
4092
- function Vt(e, t) {
4090
+ function jt(e, t) {
4093
4091
  let r, n, i = (
4094
4092
  /*index*/
4095
4093
  t[59] == /*subGroup*/
4096
- t[60].index && jt(t)
4094
+ t[60].index && $t(t)
4097
4095
  );
4098
4096
  return {
4099
4097
  key: e,
@@ -4101,63 +4099,63 @@ function Vt(e, t) {
4101
4099
  c() {
4102
4100
  r = _e(), i && i.c(), n = _e(), this.first = r;
4103
4101
  },
4104
- m(o, s) {
4105
- k(o, r, s), i && i.m(o, s), k(o, n, s);
4102
+ m(s, o) {
4103
+ k(s, r, o), i && i.m(s, o), k(s, n, o);
4106
4104
  },
4107
- p(o, s) {
4108
- t = o, /*index*/
4105
+ p(s, o) {
4106
+ t = s, /*index*/
4109
4107
  t[59] == /*subGroup*/
4110
- t[60].index ? i ? i.p(t, s) : (i = jt(t), i.c(), i.m(n.parentNode, n)) : i && (i.d(1), i = null);
4108
+ t[60].index ? i ? i.p(t, o) : (i = $t(t), i.c(), i.m(n.parentNode, n)) : i && (i.d(1), i = null);
4111
4109
  },
4112
- d(o) {
4113
- o && (U(r), U(n)), i && i.d(o);
4110
+ d(s) {
4111
+ s && (U(r), U(n)), i && i.d(s);
4114
4112
  }
4115
4113
  };
4116
4114
  }
4117
- function Xt(e) {
4118
- let t = [], r = /* @__PURE__ */ new Map(), n, i = ae(
4115
+ function Vt(e) {
4116
+ let t = [], r = /* @__PURE__ */ new Map(), n, i = se(
4119
4117
  /*subGroup*/
4120
4118
  e[60].items
4121
4119
  );
4122
- const o = (s) => (
4120
+ const s = (o) => (
4123
4121
  /*subGroupItem*/
4124
- s[63].id
4122
+ o[63].id
4125
4123
  );
4126
- for (let s = 0; s < i.length; s += 1) {
4127
- let a = Ut(e, i, s), u = o(a);
4128
- r.set(u, t[s] = Vt(u, a));
4124
+ for (let o = 0; o < i.length; o += 1) {
4125
+ let a = Dt(e, i, o), u = s(a);
4126
+ r.set(u, t[o] = jt(u, a));
4129
4127
  }
4130
4128
  return {
4131
4129
  c() {
4132
- for (let s = 0; s < t.length; s += 1)
4133
- t[s].c();
4130
+ for (let o = 0; o < t.length; o += 1)
4131
+ t[o].c();
4134
4132
  n = _e();
4135
4133
  },
4136
- m(s, a) {
4134
+ m(o, a) {
4137
4135
  for (let u = 0; u < t.length; u += 1)
4138
- t[u] && t[u].m(s, a);
4139
- k(s, n, a);
4136
+ t[u] && t[u].m(o, a);
4137
+ k(o, n, a);
4140
4138
  },
4141
- p(s, a) {
4139
+ p(o, a) {
4142
4140
  a[0] & /*handleClick, sliderdata, subGroupsData, activeIndex, activeSubIndex, prevSubIndex*/
4143
- 133056 && (i = ae(
4141
+ 133056 && (i = se(
4144
4142
  /*subGroup*/
4145
- s[60].items
4146
- ), t = Jt(t, a, o, 1, s, i, r, n.parentNode, qt, Vt, n, Ut));
4143
+ o[60].items
4144
+ ), t = qt(t, a, s, 1, o, i, r, n.parentNode, Qt, jt, n, Dt));
4147
4145
  },
4148
- d(s) {
4149
- s && U(n);
4146
+ d(o) {
4147
+ o && U(n);
4150
4148
  for (let a = 0; a < t.length; a += 1)
4151
- t[a].d(s);
4149
+ t[a].d(o);
4152
4150
  }
4153
4151
  };
4154
4152
  }
4155
- function Wt(e, t) {
4156
- let r, n, i, o, s, a, u, l, c, m, f;
4153
+ function Xt(e, t) {
4154
+ let r, n, i, s, o, a, u, l, c, m, f;
4157
4155
  function p(E, w) {
4158
4156
  return (
4159
4157
  /*location*/
4160
- E[0] === "headerMain" ? co : ho
4158
+ E[0] === "headerMain" ? ho : uo
4161
4159
  );
4162
4160
  }
4163
4161
  let g = p(t), b = g(t), d = (
@@ -4165,9 +4163,9 @@ function Wt(e, t) {
4165
4163
  t[11][
4166
4164
  /*index*/
4167
4165
  t[59]
4168
- ] == !0 && kt(t)
4166
+ ] == !0 && Gt(t)
4169
4167
  );
4170
- function C(...E) {
4168
+ function H(...E) {
4171
4169
  return (
4172
4170
  /*click_handler_3*/
4173
4171
  t[39](
@@ -4184,12 +4182,12 @@ function Wt(e, t) {
4184
4182
  first: null,
4185
4183
  c() {
4186
4184
  var E, w;
4187
- r = P("li"), n = P("div"), i = P("img"), a = Y(), b.c(), u = Y(), d && d.c(), l = Y(), S(i, "class", o = "CategoryIconImg " + /*categoriesicon*/
4188
- (t[3] === "true" ? "" : "DisplayNone")), _t(i.src, s = /*handleSrc*/
4185
+ r = P("li"), n = P("div"), i = P("img"), a = J(), b.c(), u = J(), d && d.c(), l = J(), T(i, "class", s = "CategoryIconImg " + /*categoriesicon*/
4186
+ (t[3] === "true" ? "" : "DisplayNone")), _t(i.src, o = /*handleSrc*/
4189
4187
  t[20](
4190
4188
  /*category*/
4191
4189
  t[57]
4192
- )) || S(i, "src", s), S(n, "class", "CategoryIcon"), S(r, "class", c = "CarouselItem " + /*activeindex*/
4190
+ )) || T(i, "src", o), T(n, "class", "CategoryIcon"), T(r, "class", c = "CarouselItem " + /*activeindex*/
4193
4191
  (((E = t[1]) == null ? void 0 : E.toString().indexOf("$")) > -1 ? (
4194
4192
  /*activeindex*/
4195
4193
  ((w = t[1]) == null ? void 0 : w.split("$").pop()) == /*category*/
@@ -4202,22 +4200,22 @@ function Wt(e, t) {
4202
4200
  (t[0] == "headerMain" ? "" : "SecondaryMenu")), this.first = r;
4203
4201
  },
4204
4202
  m(E, w) {
4205
- k(E, r, w), M(r, n), M(n, i), M(r, a), b.m(r, null), M(r, u), d && d.m(r, null), M(r, l), m || (f = X(r, "click", C), m = !0);
4203
+ k(E, r, w), M(r, n), M(n, i), M(r, a), b.m(r, null), M(r, u), d && d.m(r, null), M(r, l), m || (f = V(r, "click", H), m = !0);
4206
4204
  },
4207
4205
  p(E, w) {
4208
4206
  var O, L;
4209
4207
  t = E, w[0] & /*categoriesicon*/
4210
- 8 && o !== (o = "CategoryIconImg " + /*categoriesicon*/
4211
- (t[3] === "true" ? "" : "DisplayNone")) && S(i, "class", o), w[0] & /*sliderdata*/
4212
- 512 && !_t(i.src, s = /*handleSrc*/
4208
+ 8 && s !== (s = "CategoryIconImg " + /*categoriesicon*/
4209
+ (t[3] === "true" ? "" : "DisplayNone")) && T(i, "class", s), w[0] & /*sliderdata*/
4210
+ 512 && !_t(i.src, o = /*handleSrc*/
4213
4211
  t[20](
4214
4212
  /*category*/
4215
4213
  t[57]
4216
- )) && S(i, "src", s), g === (g = p(t)) && b ? b.p(t, w) : (b.d(1), b = g(t), b && (b.c(), b.m(r, u))), /*itemsActive*/
4214
+ )) && T(i, "src", o), g === (g = p(t)) && b ? b.p(t, w) : (b.d(1), b = g(t), b && (b.c(), b.m(r, u))), /*itemsActive*/
4217
4215
  t[11][
4218
4216
  /*index*/
4219
4217
  t[59]
4220
- ] == !0 ? d ? d.p(t, w) : (d = kt(t), d.c(), d.m(r, l)) : d && (d.d(1), d = null), w[0] & /*activeindex, sliderdata, location*/
4218
+ ] == !0 ? d ? d.p(t, w) : (d = Gt(t), d.c(), d.m(r, l)) : d && (d.d(1), d = null), w[0] & /*activeindex, sliderdata, location*/
4221
4219
  515 && c !== (c = "CarouselItem " + /*activeindex*/
4222
4220
  (((O = t[1]) == null ? void 0 : O.toString().indexOf("$")) > -1 ? (
4223
4221
  /*activeindex*/
@@ -4228,62 +4226,62 @@ function Wt(e, t) {
4228
4226
  t[1] == /*category*/
4229
4227
  t[57].id ? "active" : ""
4230
4228
  )) + " " + /*location*/
4231
- (t[0] == "headerMain" ? "" : "SecondaryMenu")) && S(r, "class", c);
4229
+ (t[0] == "headerMain" ? "" : "SecondaryMenu")) && T(r, "class", c);
4232
4230
  },
4233
4231
  d(E) {
4234
4232
  E && U(r), b.d(), d && d.d(), m = !1, f();
4235
4233
  }
4236
4234
  };
4237
4235
  }
4238
- function fo(e) {
4239
- let t, r, n, i, o, s, a, u, l, c, m, f, p, g, b, d = (
4236
+ function co(e) {
4237
+ let t, r, n, i, s, o, a, u, l, c, m, f, p, g, b, d = (
4240
4238
  /*sliderdata*/
4241
- e[9].length > 0 && Gt(e)
4239
+ e[9].length > 0 && Ut(e)
4242
4240
  );
4243
4241
  return {
4244
4242
  c() {
4245
- t = P("div"), r = P("div"), n = P("div"), n.innerHTML = '<svg fill="none" stroke="var(--emw--categories-arrows, var( --emw--color-white, #FFFFFF));" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"></path></svg>', i = Y(), o = P("div"), s = P("ul"), a = P("li"), a.innerHTML = '<a href="#CarouselNav">Close Subs</a>', u = Y(), d && d.c(), l = Y(), c = P("div"), c.innerHTML = '<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path></svg>', S(n, "class", "CarouselLeftArrow"), S(a, "class", "TouchOnly"), S(s, "id", "CarouselNav"), S(s, "class", "CarouselItems"), S(o, "class", "CarouselNavWrap scroller"), S(c, "class", "CarouselRightArrow"), S(r, "class", m = `CarouselContainer CarouselContainerMobile ${/*location*/
4246
- e[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`), S(r, "style", f = /*location*/
4247
- e[0] === "headerMain" ? "max-width: auto" : void 0), S(t, "class", p = "CarouselWrapper " + /*location*/
4243
+ t = P("div"), r = P("div"), n = P("div"), n.innerHTML = '<svg fill="none" stroke="var(--emw--categories-arrows, var( --emw--color-white, #FFFFFF));" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"></path></svg>', i = J(), s = P("div"), o = P("ul"), a = P("li"), a.innerHTML = '<a href="#CarouselNav">Close Subs</a>', u = J(), d && d.c(), l = J(), c = P("div"), c.innerHTML = '<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path></svg>', T(n, "class", "CarouselLeftArrow"), T(a, "class", "TouchOnly"), T(o, "id", "CarouselNav"), T(o, "class", "CarouselItems"), T(s, "class", "CarouselNavWrap scroller"), T(c, "class", "CarouselRightArrow"), T(r, "class", m = `CarouselContainer CarouselContainerMobile ${/*location*/
4244
+ e[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`), T(r, "style", f = /*location*/
4245
+ e[0] === "headerMain" ? "max-width: auto" : void 0), T(t, "class", p = "CarouselWrapper " + /*location*/
4248
4246
  (e[0] === "headerMain" ? "CarouselWrapperHeaderMain" : ""));
4249
4247
  },
4250
- m(C, E) {
4251
- k(C, t, E), M(t, r), M(r, n), M(r, i), M(r, o), M(o, s), M(s, a), M(s, u), d && d.m(s, null), e[40](s), e[41](o), M(r, l), M(r, c), e[43](t), g || (b = [
4252
- X(
4248
+ m(H, E) {
4249
+ k(H, t, E), M(t, r), M(r, n), M(r, i), M(r, s), M(s, o), M(o, a), M(o, u), d && d.m(o, null), e[40](o), e[41](s), M(r, l), M(r, c), e[43](t), g || (b = [
4250
+ V(
4253
4251
  n,
4254
4252
  "click",
4255
4253
  /*click_handler_1*/
4256
4254
  e[37]
4257
4255
  ),
4258
- X(
4259
- s,
4256
+ V(
4257
+ o,
4260
4258
  "mousedown",
4261
4259
  /*handleMouseDown*/
4262
4260
  e[13]
4263
4261
  ),
4264
- X(
4265
- s,
4262
+ V(
4263
+ o,
4266
4264
  "mouseleave",
4267
4265
  /*handleMouseLeave*/
4268
4266
  e[14]
4269
4267
  ),
4270
- X(
4271
- s,
4268
+ V(
4269
+ o,
4272
4270
  "mouseup",
4273
4271
  /*handleMouseUp*/
4274
4272
  e[15]
4275
4273
  ),
4276
- X(
4277
- s,
4274
+ V(
4275
+ o,
4278
4276
  "mousemove",
4279
4277
  /*handleMouseMove*/
4280
4278
  e[16]
4281
4279
  ),
4282
- X(s, "click", Yr(
4280
+ V(o, "click", Jr(
4283
4281
  /*click_handler*/
4284
4282
  e[36]
4285
4283
  )),
4286
- X(
4284
+ V(
4287
4285
  c,
4288
4286
  "click",
4289
4287
  /*click_handler_4*/
@@ -4291,198 +4289,198 @@ function fo(e) {
4291
4289
  )
4292
4290
  ], g = !0);
4293
4291
  },
4294
- p(C, E) {
4292
+ p(H, E) {
4295
4293
  /*sliderdata*/
4296
- C[9].length > 0 ? d ? d.p(C, E) : (d = Gt(C), d.c(), d.m(s, null)) : d && (d.d(1), d = null), E[0] & /*location*/
4294
+ H[9].length > 0 ? d ? d.p(H, E) : (d = Ut(H), d.c(), d.m(o, null)) : d && (d.d(1), d = null), E[0] & /*location*/
4297
4295
  1 && m !== (m = `CarouselContainer CarouselContainerMobile ${/*location*/
4298
- C[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`) && S(r, "class", m), E[0] & /*location*/
4296
+ H[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`) && T(r, "class", m), E[0] & /*location*/
4299
4297
  1 && f !== (f = /*location*/
4300
- C[0] === "headerMain" ? "max-width: auto" : void 0) && S(r, "style", f), E[0] & /*location*/
4298
+ H[0] === "headerMain" ? "max-width: auto" : void 0) && T(r, "style", f), E[0] & /*location*/
4301
4299
  1 && p !== (p = "CarouselWrapper " + /*location*/
4302
- (C[0] === "headerMain" ? "CarouselWrapperHeaderMain" : "")) && S(t, "class", p);
4300
+ (H[0] === "headerMain" ? "CarouselWrapperHeaderMain" : "")) && T(t, "class", p);
4303
4301
  },
4304
4302
  i: $,
4305
4303
  o: $,
4306
- d(C) {
4307
- C && U(t), d && d.d(), e[40](null), e[41](null), e[43](null), g = !1, K(b);
4304
+ d(H) {
4305
+ H && U(t), d && d.d(), e[40](null), e[41](null), e[43](null), g = !1, Y(b);
4308
4306
  }
4309
4307
  };
4310
4308
  }
4311
- function mo(e, t, r) {
4312
- let { endpoint: n = "" } = t, { datasource: i = "" } = t, { onclickeventname: o = "defaultEvent" } = t, { actionevent: s = "defaultEvent" } = t, { favoritesnumber: a = "0" } = t, { location: u = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: c = "" } = t, { identity: m = "" } = t, { translationurl: f = "" } = t, { isprimarymenu: p = !1 } = t, { issecondarymenu: g = !1 } = t, { lang: b = "" } = t, { activeindex: d = "0" } = t, { showsubgroups: C = "false" } = t, { categoriesicon: E = "false" } = t, { lobbyiconimage: w = "" } = t, { mygamesiconimage: O = "" } = t, { mbsource: L = "" } = t, v;
4313
- ao({ withLocale: "en", translations: {} });
4314
- let H = !1, R = 0, D = 0;
4315
- const te = (h) => {
4309
+ function fo(e, t, r) {
4310
+ let { endpoint: n = "" } = t, { datasource: i = "" } = t, { onclickeventname: s = "defaultEvent" } = t, { actionevent: o = "defaultEvent" } = t, { favoritesnumber: a = "0" } = t, { location: u = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: c = "" } = t, { identity: m = "" } = t, { translationurl: f = "" } = t, { isprimarymenu: p = !1 } = t, { issecondarymenu: g = !1 } = t, { lang: b = "" } = t, { activeindex: d = "0" } = t, { showsubgroups: H = "false" } = t, { categoriesicon: E = "false" } = t, { lobbyiconimage: w = "" } = t, { mygamesiconimage: O = "" } = t, { mbsource: L = "" } = t, _;
4311
+ so({ withLocale: "en", translations: {} });
4312
+ let S = !1, R = 0, D = 0;
4313
+ const ee = (h) => {
4316
4314
  var x, I;
4317
- h.preventDefault(), H = !0, v == null || v.classList.add("dragging"), R = h.pageX - ((x = v == null ? void 0 : v.offsetLeft) != null ? x : 0), D = (I = v == null ? void 0 : v.scrollLeft) != null ? I : 0;
4318
- }, wr = (h) => {
4319
- h.preventDefault(), H = !1, v == null || v.classList.remove("dragging");
4315
+ h.preventDefault(), S = !0, _ == null || _.classList.add("dragging"), R = h.pageX - ((x = _ == null ? void 0 : _.offsetLeft) != null ? x : 0), D = (I = _ == null ? void 0 : _.scrollLeft) != null ? I : 0;
4316
+ }, xr = (h) => {
4317
+ h.preventDefault(), S = !1, _ == null || _.classList.remove("dragging");
4320
4318
  }, Cr = (h) => {
4321
- H = !1, v == null || v.classList.remove("dragging");
4322
- }, Hr = (h) => {
4323
- if (!H || !v)
4319
+ S = !1, _ == null || _.classList.remove("dragging");
4320
+ }, wr = (h) => {
4321
+ if (!S || !_)
4324
4322
  return;
4325
4323
  h.preventDefault();
4326
- const I = (h.pageX - v.offsetLeft - R) * 2.5;
4327
- r(5, v.scrollLeft = D - I, v);
4328
- }, Sr = () => {
4324
+ const I = (h.pageX - _.offsetLeft - R) * 2.5;
4325
+ r(5, _.scrollLeft = D - I, _);
4326
+ }, Hr = () => {
4329
4327
  fetch(f).then((x) => x.json()).then((x) => {
4330
4328
  Object.keys(x).forEach((I) => {
4331
- Ot(I, x[I]);
4329
+ Pt(I, x[I]);
4332
4330
  });
4333
4331
  }).catch((x) => {
4334
4332
  console.log(x);
4335
4333
  });
4336
4334
  };
4337
- Object.keys(Ft).forEach((h) => {
4338
- Ot(h, Ft[h]);
4335
+ Object.keys(Ot).forEach((h) => {
4336
+ Pt(h, Ot[h]);
4339
4337
  });
4340
- let Q, pe, Ge, V, ge = [], He = [], re = [], N, ke = (h, x, I, q, W) => {
4341
- var J;
4342
- if (!(h.subGroups && q === null)) {
4343
- if (Se(), r(6, Q = x), r(6, Q), W != "secondary") {
4338
+ let Z, de, De, j, pe = [], we = [], te = [], N, Ue = (h, x, I, Q, X) => {
4339
+ var q;
4340
+ if (!(h.subGroups && Q === null)) {
4341
+ if (He(), r(6, Z = x), r(6, Z), X != "secondary") {
4344
4342
  window.postMessage(
4345
4343
  {
4346
- type: s == "CategoryChange" ? "CategoryChange" : "NavigateTo",
4344
+ type: o == "CategoryChange" ? "CategoryChange" : "NavigateTo",
4347
4345
  buzz: "1",
4348
4346
  itemId: h.id,
4349
4347
  index: x,
4350
4348
  item: h,
4351
4349
  path: h.path,
4352
4350
  externalLink: h.externalLink || !1,
4353
- target: ((J = h.attrs) == null ? void 0 : J.target) || null
4351
+ target: ((q = h.attrs) == null ? void 0 : q.target) || null
4354
4352
  },
4355
4353
  window.location.href
4356
- ), r(7, pe = null), r(8, Ge = null);
4354
+ ), r(7, de = null), r(8, De = null);
4357
4355
  return;
4358
4356
  }
4359
- r(7, pe = q), r(7, pe), r(8, Ge = pe), window.postMessage(
4357
+ r(7, de = Q), r(7, de), r(8, De = de), window.postMessage(
4360
4358
  {
4361
- type: s,
4359
+ type: o,
4362
4360
  itemId: I.id,
4363
- subIndex: q,
4361
+ subIndex: Q,
4364
4362
  subItem: I
4365
4363
  },
4366
4364
  window.location.href
4367
4365
  );
4368
4366
  }
4367
+ }, ht = () => {
4368
+ N && (te.length !== Z ? r(12, N.scrollLeft -= 250, N) : r(12, N.scrollLeft = 0, N));
4369
4369
  }, ct = () => {
4370
- N && (re.length !== Q ? r(12, N.scrollLeft -= 250, N) : r(12, N.scrollLeft = 0, N));
4371
- }, ft = () => {
4372
- N && (re.length !== Q ? r(12, N.scrollLeft += 250, N) : r(12, N.scrollLeft = 0, N));
4370
+ N && (te.length !== Z ? r(12, N.scrollLeft += 250, N) : r(12, N.scrollLeft = 0, N));
4373
4371
  };
4374
- const mt = (h) => {
4375
- h.data.type == "SliderData" && h.data.identity == m && (r(9, ge = h.data.data), r(11, re = new Array(ge.length).fill(!1)), C == "true" && Br()), h.data.type == "GoToHomepage" && ge.forEach((x, I) => {
4376
- x.path.endsWith("/casino") && (r(6, Q = I), r(6, Q));
4372
+ const ft = (h) => {
4373
+ h.data.type == "SliderData" && h.data.identity == m && (r(9, pe = h.data.data), r(11, te = new Array(pe.length).fill(!1)), H == "true" && Ar()), h.data.type == "GoToHomepage" && pe.forEach((x, I) => {
4374
+ x.path.endsWith("/casino") && (r(6, Z = I), r(6, Z));
4377
4375
  });
4378
- }, Tr = () => {
4379
- lo(b);
4380
- }, Ar = (h, x, I) => {
4376
+ }, Sr = () => {
4377
+ ao(b);
4378
+ }, Tr = (h, x, I) => {
4381
4379
  if (u == "secondaryMenu" && n && i && b && h.id) {
4382
- let q = new URL(`${n}/v1/casino/groups/${i}/${h.id}/subGroups?language=${b}`);
4383
- fetch(q.href).then((W) => W.json()).then((W) => {
4384
- W.index = x, r(10, He = He.concat(W)), C == "false" && window.postMessage(
4380
+ let Q = new URL(`${n}/v1/casino/groups/${i}/${h.id}/subGroups?language=${b}`);
4381
+ fetch(Q.href).then((X) => X.json()).then((X) => {
4382
+ X.index = x, r(10, we = we.concat(X)), H == "false" && window.postMessage(
4385
4383
  {
4386
- type: s,
4384
+ type: o,
4387
4385
  itemId: h.id,
4388
4386
  index: x,
4389
4387
  item: h
4390
4388
  },
4391
4389
  window.location.href
4392
4390
  );
4393
- const J = [];
4394
- He.map((Ur) => (Ur.items.forEach((dt) => {
4395
- J.find((Gr) => dt.id == Gr) || J.push(dt.id);
4396
- }), J.flat())), window.postMessage({ type: "SubgroupsIds", subGroupsIds: J }, window.location.href);
4391
+ const q = [];
4392
+ we.map((Dr) => (Dr.items.forEach((mt) => {
4393
+ q.find((Ur) => mt.id == Ur) || q.push(mt.id);
4394
+ }), q.flat())), window.postMessage({ type: "SubgroupsIds", subGroupsIds: q }, window.location.href);
4397
4395
  }).then(() => {
4398
- v.querySelectorAll(".DropDown") && Se();
4396
+ _.querySelectorAll(".DropDown") && He();
4399
4397
  });
4400
4398
  }
4401
- u == "headerMain" && window.postMessage({ type: s, item: h }, window.location.href);
4402
- }, Se = () => {
4403
- const h = v.querySelectorAll(".DropDown");
4399
+ u == "headerMain" && window.postMessage({ type: o, item: h }, window.location.href);
4400
+ }, He = () => {
4401
+ const h = _.querySelectorAll(".DropDown");
4404
4402
  document.activeElement.blur(), N.classList.add("isScrolling");
4405
4403
  for (let x = 0; x < h.length; x++)
4406
4404
  h[x].style.transform = "translateX(-" + N.scrollLeft + "px)";
4407
4405
  N.classList.remove("isScrolling");
4408
- }, Br = () => {
4409
- ge.forEach((h, x) => {
4406
+ }, Ar = () => {
4407
+ pe.forEach((h, x) => {
4410
4408
  var I;
4411
- ((I = h == null ? void 0 : h.subGroups) == null ? void 0 : I.count) > 0 && (r(11, re[x] = !0, re), Ar(h, x));
4409
+ ((I = h == null ? void 0 : h.subGroups) == null ? void 0 : I.count) > 0 && (r(11, te[x] = !0, te), Tr(h, x));
4412
4410
  });
4413
- }, Ir = (h) => {
4411
+ }, Br = (h) => {
4414
4412
  let x = "";
4415
4413
  return h.id === "LOBBY" ? x = w : h.id === "MYGAMES" && (x = O), h.icon || x;
4416
4414
  };
4417
- rn(() => (window.addEventListener("message", mt, !1), "ontouchstart" in document.documentElement && (document.documentElement.className += " touch-device"), setTimeout(
4415
+ tn(() => (window.addEventListener("message", ft, !1), "ontouchstart" in document.documentElement && (document.documentElement.className += " touch-device"), setTimeout(
4418
4416
  () => {
4419
- N.addEventListener("scroll", Se);
4417
+ N.addEventListener("scroll", He);
4420
4418
  },
4421
4419
  500
4422
4420
  ), window.postMessage({ type: "SliderLoaded", identity: m }), () => {
4423
- window.removeEventListener("message", mt), v.removeEventListener("scroll", Se);
4421
+ window.removeEventListener("message", ft), _.removeEventListener("scroll", He);
4424
4422
  }));
4425
- function Mr(h) {
4426
- nn.call(this, e, h);
4423
+ function Ir(h) {
4424
+ rn.call(this, e, h);
4427
4425
  }
4428
- const Lr = () => ct(), Nr = (h, x, I, q, W) => {
4429
- ke(h, x, I, q, "secondary"), W.stopPropagation();
4430
- }, Pr = (h, x, I) => {
4431
- ke(h, x, null, null, "main"), I.preventDefault();
4426
+ const Mr = () => ht(), Lr = (h, x, I, Q, X) => {
4427
+ Ue(h, x, I, Q, "secondary"), X.stopPropagation();
4428
+ }, Nr = (h, x, I) => {
4429
+ Ue(h, x, null, null, "main"), I.preventDefault();
4432
4430
  };
4433
- function Or(h) {
4434
- ve[h ? "unshift" : "push"](() => {
4435
- v = h, r(5, v);
4431
+ function Pr(h) {
4432
+ ye[h ? "unshift" : "push"](() => {
4433
+ _ = h, r(5, _);
4436
4434
  });
4437
4435
  }
4438
- function Fr(h) {
4439
- ve[h ? "unshift" : "push"](() => {
4436
+ function Or(h) {
4437
+ ye[h ? "unshift" : "push"](() => {
4440
4438
  N = h, r(12, N);
4441
4439
  });
4442
4440
  }
4443
- const Rr = () => ft();
4444
- function Dr(h) {
4445
- ve[h ? "unshift" : "push"](() => {
4446
- V = h, r(4, V);
4441
+ const Fr = () => ct();
4442
+ function Rr(h) {
4443
+ ye[h ? "unshift" : "push"](() => {
4444
+ j = h, r(4, j);
4447
4445
  });
4448
4446
  }
4449
4447
  return e.$$set = (h) => {
4450
- "endpoint" in h && r(21, n = h.endpoint), "datasource" in h && r(22, i = h.datasource), "onclickeventname" in h && r(23, o = h.onclickeventname), "actionevent" in h && r(24, s = h.actionevent), "favoritesnumber" in h && r(25, a = h.favoritesnumber), "location" in h && r(0, u = h.location), "clientstyling" in h && r(26, l = h.clientstyling), "clientstylingurl" in h && r(27, c = h.clientstylingurl), "identity" in h && r(28, m = h.identity), "translationurl" in h && r(29, f = h.translationurl), "isprimarymenu" in h && r(30, p = h.isprimarymenu), "issecondarymenu" in h && r(31, g = h.issecondarymenu), "lang" in h && r(32, b = h.lang), "activeindex" in h && r(1, d = h.activeindex), "showsubgroups" in h && r(2, C = h.showsubgroups), "categoriesicon" in h && r(3, E = h.categoriesicon), "lobbyiconimage" in h && r(33, w = h.lobbyiconimage), "mygamesiconimage" in h && r(34, O = h.mygamesiconimage), "mbsource" in h && r(35, L = h.mbsource);
4448
+ "endpoint" in h && r(21, n = h.endpoint), "datasource" in h && r(22, i = h.datasource), "onclickeventname" in h && r(23, s = h.onclickeventname), "actionevent" in h && r(24, o = h.actionevent), "favoritesnumber" in h && r(25, a = h.favoritesnumber), "location" in h && r(0, u = h.location), "clientstyling" in h && r(26, l = h.clientstyling), "clientstylingurl" in h && r(27, c = h.clientstylingurl), "identity" in h && r(28, m = h.identity), "translationurl" in h && r(29, f = h.translationurl), "isprimarymenu" in h && r(30, p = h.isprimarymenu), "issecondarymenu" in h && r(31, g = h.issecondarymenu), "lang" in h && r(32, b = h.lang), "activeindex" in h && r(1, d = h.activeindex), "showsubgroups" in h && r(2, H = h.showsubgroups), "categoriesicon" in h && r(3, E = h.categoriesicon), "lobbyiconimage" in h && r(33, w = h.lobbyiconimage), "mygamesiconimage" in h && r(34, O = h.mygamesiconimage), "mbsource" in h && r(35, L = h.mbsource);
4451
4449
  }, e.$$.update = () => {
4452
4450
  e.$$.dirty[0] & /*activeindex*/
4453
4451
  2, e.$$.dirty[0] & /*translationurl*/
4454
- 536870912 && f && Sr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4455
- 67108880 && l && V && bn(V, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4456
- 134217744 && c && V && yn(V, c), e.$$.dirty[0] & /*customStylingContainer*/
4452
+ 536870912 && f && Hr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4453
+ 67108880 && l && j && gn(j, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4454
+ 134217744 && c && j && bn(j, c), e.$$.dirty[0] & /*customStylingContainer*/
4457
4455
  16 | e.$$.dirty[1] & /*mbsource*/
4458
- 16 && L && V && vn(V, `${L}.Style`), e.$$.dirty[1] & /*lang*/
4459
- 2 && b && Tr();
4456
+ 16 && L && j && yn(j, `${L}.Style`), e.$$.dirty[1] & /*lang*/
4457
+ 2 && b && Sr();
4460
4458
  }, [
4461
4459
  u,
4462
4460
  d,
4463
- C,
4461
+ H,
4464
4462
  E,
4465
- V,
4466
- v,
4467
- Q,
4463
+ j,
4464
+ _,
4465
+ Z,
4466
+ de,
4467
+ De,
4468
4468
  pe,
4469
- Ge,
4470
- ge,
4471
- He,
4472
- re,
4473
- N,
4469
+ we,
4474
4470
  te,
4475
- wr,
4471
+ N,
4472
+ ee,
4473
+ xr,
4476
4474
  Cr,
4477
- Hr,
4478
- ke,
4475
+ wr,
4476
+ Ue,
4477
+ ht,
4479
4478
  ct,
4480
- ft,
4481
- Ir,
4479
+ Br,
4482
4480
  n,
4483
4481
  i,
4484
- o,
4485
4482
  s,
4483
+ o,
4486
4484
  a,
4487
4485
  l,
4488
4486
  c,
@@ -4494,24 +4492,24 @@ function mo(e, t, r) {
4494
4492
  w,
4495
4493
  O,
4496
4494
  L,
4495
+ Ir,
4497
4496
  Mr,
4498
4497
  Lr,
4499
4498
  Nr,
4500
4499
  Pr,
4501
4500
  Or,
4502
4501
  Fr,
4503
- Rr,
4504
- Dr
4502
+ Rr
4505
4503
  ];
4506
4504
  }
4507
- class po extends pn {
4505
+ class mo extends dn {
4508
4506
  constructor(t) {
4509
- super(), mn(
4507
+ super(), fn(
4510
4508
  this,
4511
4509
  t,
4512
- mo,
4513
4510
  fo,
4514
- Zt,
4511
+ co,
4512
+ zt,
4515
4513
  {
4516
4514
  endpoint: 21,
4517
4515
  datasource: 22,
@@ -4533,7 +4531,7 @@ class po extends pn {
4533
4531
  mygamesiconimage: 34,
4534
4532
  mbsource: 35
4535
4533
  },
4536
- uo,
4534
+ lo,
4537
4535
  [-1, -1, -1]
4538
4536
  );
4539
4537
  }
@@ -4652,7 +4650,7 @@ class po extends pn {
4652
4650
  this.$$set({ mbsource: t }), B();
4653
4651
  }
4654
4652
  }
4655
- dn(po, { endpoint: {}, datasource: {}, onclickeventname: {}, actionevent: {}, favoritesnumber: {}, location: {}, clientstyling: {}, clientstylingurl: {}, identity: {}, translationurl: {}, isprimarymenu: { type: "Boolean" }, issecondarymenu: { type: "Boolean" }, lang: {}, activeindex: {}, showsubgroups: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {}, mbsource: {} }, [], [], !0);
4653
+ mn(mo, { endpoint: {}, datasource: {}, onclickeventname: {}, actionevent: {}, favoritesnumber: {}, location: {}, clientstyling: {}, clientstylingurl: {}, identity: {}, translationurl: {}, isprimarymenu: { type: "Boolean" }, issecondarymenu: { type: "Boolean" }, lang: {}, activeindex: {}, showsubgroups: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {}, mbsource: {} }, [], [], !0);
4656
4654
  export {
4657
- po as default
4655
+ mo as default
4658
4656
  };