@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,28 +1,28 @@
1
1
  function k() {
2
2
  }
3
- function kt(e) {
3
+ function Gt(e) {
4
4
  return e();
5
5
  }
6
- function mt() {
6
+ function ft() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
- function J(e) {
10
- e.forEach(kt);
9
+ function q(e) {
10
+ e.forEach(Gt);
11
11
  }
12
- function ot(e) {
12
+ function nt(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function $t(e, t) {
15
+ function kt(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
- let Se;
19
- function dt(e, t) {
20
- return e === t ? !0 : (Se || (Se = document.createElement("a")), Se.href = t, e === Se.href);
18
+ let He;
19
+ function mt(e, t) {
20
+ return e === t ? !0 : (He || (He = document.createElement("a")), He.href = t, e === He.href);
21
21
  }
22
- function Or(e) {
22
+ function Pr(e) {
23
23
  return Object.keys(e).length === 0;
24
24
  }
25
- function Fr(e, ...t) {
25
+ function Or(e, ...t) {
26
26
  if (e == null) {
27
27
  for (const n of t)
28
28
  n(void 0);
@@ -34,14 +34,14 @@ function Fr(e, ...t) {
34
34
  function I(e, t) {
35
35
  e.appendChild(t);
36
36
  }
37
- function Rr(e, t, r) {
38
- const n = Dr(e);
37
+ function Fr(e, t, r) {
38
+ const n = Rr(e);
39
39
  if (!n.getElementById(t)) {
40
40
  const i = L("style");
41
- i.id = t, i.textContent = r, Ur(n, i);
41
+ i.id = t, i.textContent = r, Dr(n, i);
42
42
  }
43
43
  }
44
- function Dr(e) {
44
+ function Rr(e) {
45
45
  if (!e)
46
46
  return document;
47
47
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -51,7 +51,7 @@ function Dr(e) {
51
51
  t
52
52
  ) : e.ownerDocument;
53
53
  }
54
- function Ur(e, t) {
54
+ function Dr(e, t) {
55
55
  return I(
56
56
  /** @type {Document} */
57
57
  e.head || e,
@@ -64,41 +64,41 @@ function G(e, t, r) {
64
64
  function D(e) {
65
65
  e.parentNode && e.parentNode.removeChild(e);
66
66
  }
67
- function Gr(e, t) {
67
+ function Ur(e, t) {
68
68
  for (let r = 0; r < e.length; r += 1)
69
69
  e[r] && e[r].d(t);
70
70
  }
71
71
  function L(e) {
72
72
  return document.createElement(e);
73
73
  }
74
- function xe(e) {
74
+ function Ee(e) {
75
75
  return document.createTextNode(e);
76
76
  }
77
- function q() {
78
- return xe(" ");
77
+ function Q() {
78
+ return Ee(" ");
79
79
  }
80
- function ye() {
81
- return xe("");
80
+ function be() {
81
+ return Ee("");
82
82
  }
83
- function V(e, t, r, n) {
83
+ function j(e, t, r, n) {
84
84
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
85
85
  }
86
- function kr(e) {
86
+ function Gr(e) {
87
87
  return function(t) {
88
88
  return t.preventDefault(), e.call(this, t);
89
89
  };
90
90
  }
91
- function H(e, t, r) {
91
+ function S(e, t, r) {
92
92
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
93
93
  }
94
- function $r(e) {
94
+ function kr(e) {
95
95
  return Array.from(e.childNodes);
96
96
  }
97
- function st(e, t) {
97
+ function it(e, t) {
98
98
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
99
99
  t);
100
100
  }
101
- function jr(e) {
101
+ function $r(e) {
102
102
  const t = {};
103
103
  return e.childNodes.forEach(
104
104
  /** @param {Element} node */
@@ -107,132 +107,132 @@ function jr(e) {
107
107
  }
108
108
  ), t;
109
109
  }
110
- let ve;
111
- function ge(e) {
112
- ve = e;
110
+ let ye;
111
+ function pe(e) {
112
+ ye = e;
113
113
  }
114
- function Vr() {
115
- if (!ve)
114
+ function jr() {
115
+ if (!ye)
116
116
  throw new Error("Function called outside component initialization");
117
- return ve;
117
+ return ye;
118
118
  }
119
- function Xr(e) {
120
- Vr().$$.on_mount.push(e);
119
+ function Vr(e) {
120
+ jr().$$.on_mount.push(e);
121
121
  }
122
- function Wr(e, t) {
122
+ function Xr(e, t) {
123
123
  const r = e.$$.callbacks[t.type];
124
124
  r && r.slice().forEach((n) => n.call(this, t));
125
125
  }
126
- const ne = [], be = [];
127
- let ie = [];
128
- const pt = [], zr = /* @__PURE__ */ Promise.resolve();
129
- let Ze = !1;
130
- function Zr() {
131
- Ze || (Ze = !0, zr.then(B));
126
+ const re = [], ge = [];
127
+ let ne = [];
128
+ const dt = [], Wr = /* @__PURE__ */ Promise.resolve();
129
+ let We = !1;
130
+ function zr() {
131
+ We || (We = !0, Wr.then(B));
132
132
  }
133
- function Qe(e) {
134
- ie.push(e);
133
+ function ze(e) {
134
+ ne.push(e);
135
135
  }
136
- const ke = /* @__PURE__ */ new Set();
137
- let te = 0;
136
+ const Ue = /* @__PURE__ */ new Set();
137
+ let ee = 0;
138
138
  function B() {
139
- if (te !== 0)
139
+ if (ee !== 0)
140
140
  return;
141
- const e = ve;
141
+ const e = ye;
142
142
  do {
143
143
  try {
144
- for (; te < ne.length; ) {
145
- const t = ne[te];
146
- te++, ge(t), Qr(t.$$);
144
+ for (; ee < re.length; ) {
145
+ const t = re[ee];
146
+ ee++, pe(t), Zr(t.$$);
147
147
  }
148
148
  } catch (t) {
149
- throw ne.length = 0, te = 0, t;
149
+ throw re.length = 0, ee = 0, t;
150
150
  }
151
- for (ge(null), ne.length = 0, te = 0; be.length; )
152
- be.pop()();
153
- for (let t = 0; t < ie.length; t += 1) {
154
- const r = ie[t];
155
- ke.has(r) || (ke.add(r), r());
151
+ for (pe(null), re.length = 0, ee = 0; ge.length; )
152
+ ge.pop()();
153
+ for (let t = 0; t < ne.length; t += 1) {
154
+ const r = ne[t];
155
+ Ue.has(r) || (Ue.add(r), r());
156
156
  }
157
- ie.length = 0;
158
- } while (ne.length);
159
- for (; pt.length; )
160
- pt.pop()();
161
- Ze = !1, ke.clear(), ge(e);
157
+ ne.length = 0;
158
+ } while (re.length);
159
+ for (; dt.length; )
160
+ dt.pop()();
161
+ We = !1, Ue.clear(), pe(e);
162
162
  }
163
- function Qr(e) {
163
+ function Zr(e) {
164
164
  if (e.fragment !== null) {
165
- e.update(), J(e.before_update);
165
+ e.update(), q(e.before_update);
166
166
  const t = e.dirty;
167
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Qe);
167
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ze);
168
168
  }
169
169
  }
170
- function qr(e) {
170
+ function Qr(e) {
171
171
  const t = [], r = [];
172
- ie.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ie = t;
172
+ ne.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ne = t;
173
173
  }
174
- const Jr = /* @__PURE__ */ new Set();
175
- function jt(e, t) {
176
- e && e.i && (Jr.delete(e), e.i(t));
174
+ const qr = /* @__PURE__ */ new Set();
175
+ function $t(e, t) {
176
+ e && e.i && (qr.delete(e), e.i(t));
177
177
  }
178
- function oe(e) {
178
+ function ie(e) {
179
179
  return e?.length !== void 0 ? e : Array.from(e);
180
180
  }
181
- function Vt(e, t) {
181
+ function jt(e, t) {
182
182
  e.d(1), t.delete(e.key);
183
183
  }
184
- function Xt(e, t, r, n, i, o, s, a, h, l, u, m) {
185
- let f = e.length, p = o.length, g = f;
184
+ function Vt(e, t, r, n, i, s, o, a, h, l, u, m) {
185
+ let f = e.length, p = s.length, g = f;
186
186
  const b = {};
187
187
  for (; g--; )
188
188
  b[e[g].key] = g;
189
- const d = [], x = /* @__PURE__ */ new Map(), _ = /* @__PURE__ */ new Map(), w = [];
189
+ const d = [], C = /* @__PURE__ */ new Map(), E = /* @__PURE__ */ new Map(), w = [];
190
190
  for (g = p; g--; ) {
191
- const C = m(i, o, g), F = r(C);
192
- let R = s.get(F);
193
- R ? w.push(() => R.p(C, t)) : (R = l(F, C), R.c()), x.set(F, d[g] = R), F in b && _.set(F, Math.abs(g - b[F]));
191
+ const H = m(i, s, g), F = r(H);
192
+ let R = o.get(F);
193
+ R ? w.push(() => R.p(H, t)) : (R = l(F, H), R.c()), C.set(F, d[g] = R), F in b && E.set(F, Math.abs(g - b[F]));
194
194
  }
195
195
  const U = /* @__PURE__ */ new Set(), N = /* @__PURE__ */ new Set();
196
- function S(C) {
197
- jt(C, 1), C.m(a, u), s.set(C.key, C), u = C.first, p--;
196
+ function T(H) {
197
+ $t(H, 1), H.m(a, u), o.set(H.key, H), u = H.first, p--;
198
198
  }
199
199
  for (; f && p; ) {
200
- const C = d[p - 1], F = e[f - 1], R = C.key, K = F.key;
201
- C === F ? (u = C.first, f--, p--) : x.has(K) ? !s.has(R) || U.has(R) ? S(C) : N.has(K) ? f-- : _.get(R) > _.get(K) ? (N.add(R), S(C)) : (U.add(K), f--) : (h(F, s), f--);
200
+ const H = d[p - 1], F = e[f - 1], R = H.key, Y = F.key;
201
+ H === F ? (u = H.first, f--, p--) : C.has(Y) ? !o.has(R) || U.has(R) ? T(H) : N.has(Y) ? f-- : E.get(R) > E.get(Y) ? (N.add(R), T(H)) : (U.add(Y), f--) : (h(F, o), f--);
202
202
  }
203
203
  for (; f--; ) {
204
- const C = e[f];
205
- x.has(C.key) || h(C, s);
204
+ const H = e[f];
205
+ C.has(H.key) || h(H, o);
206
206
  }
207
207
  for (; p; )
208
- S(d[p - 1]);
209
- return J(w), d;
208
+ T(d[p - 1]);
209
+ return q(w), d;
210
210
  }
211
- function Yr(e, t, r) {
211
+ function Jr(e, t, r) {
212
212
  const { fragment: n, after_update: i } = e.$$;
213
- n && n.m(t, r), Qe(() => {
214
- const o = e.$$.on_mount.map(kt).filter(ot);
215
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : J(o), e.$$.on_mount = [];
216
- }), i.forEach(Qe);
213
+ n && n.m(t, r), ze(() => {
214
+ const s = e.$$.on_mount.map(Gt).filter(nt);
215
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : q(s), e.$$.on_mount = [];
216
+ }), i.forEach(ze);
217
217
  }
218
- function Kr(e, t) {
218
+ function Yr(e, t) {
219
219
  const r = e.$$;
220
- r.fragment !== null && (qr(r.after_update), J(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
220
+ r.fragment !== null && (Qr(r.after_update), q(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
221
221
  }
222
- function en(e, t) {
223
- e.$$.dirty[0] === -1 && (ne.push(e), Zr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
222
+ function Kr(e, t) {
223
+ e.$$.dirty[0] === -1 && (re.push(e), zr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
224
224
  }
225
- function tn(e, t, r, n, i, o, s = null, a = [-1]) {
226
- const h = ve;
227
- ge(e);
225
+ function en(e, t, r, n, i, s, o = null, a = [-1]) {
226
+ const h = ye;
227
+ pe(e);
228
228
  const l = e.$$ = {
229
229
  fragment: null,
230
230
  ctx: [],
231
231
  // state
232
- props: o,
232
+ props: s,
233
233
  update: k,
234
234
  not_equal: i,
235
- bound: mt(),
235
+ bound: ft(),
236
236
  // lifecycle
237
237
  on_mount: [],
238
238
  on_destroy: [],
@@ -241,28 +241,28 @@ function tn(e, t, r, n, i, o, s = null, a = [-1]) {
241
241
  after_update: [],
242
242
  context: new Map(t.context || (h ? h.$$.context : [])),
243
243
  // everything else
244
- callbacks: mt(),
244
+ callbacks: ft(),
245
245
  dirty: a,
246
246
  skip_bound: !1,
247
247
  root: t.target || h.$$.root
248
248
  };
249
- s && s(l.root);
249
+ o && o(l.root);
250
250
  let u = !1;
251
- if (l.ctx = r ? r(e, t.props || {}, (m, f, ...p) => {
251
+ if (l.ctx = r(e, t.props || {}, (m, f, ...p) => {
252
252
  const g = p.length ? p[0] : f;
253
- return l.ctx && i(l.ctx[m], l.ctx[m] = g) && (!l.skip_bound && l.bound[m] && l.bound[m](g), u && en(e, m)), f;
254
- }) : [], l.update(), u = !0, J(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
253
+ return l.ctx && i(l.ctx[m], l.ctx[m] = g) && (!l.skip_bound && l.bound[m] && l.bound[m](g), u && Kr(e, m)), f;
254
+ }), l.update(), u = !0, q(l.before_update), l.fragment = n(l.ctx), t.target) {
255
255
  if (t.hydrate) {
256
- const m = $r(t.target);
256
+ const m = kr(t.target);
257
257
  l.fragment && l.fragment.l(m), m.forEach(D);
258
258
  } else
259
259
  l.fragment && l.fragment.c();
260
- t.intro && jt(e.$$.fragment), Yr(e, t.target, t.anchor), B();
260
+ t.intro && $t(e.$$.fragment), Jr(e, t.target, t.anchor), B();
261
261
  }
262
- ge(h);
262
+ pe(h);
263
263
  }
264
- let Wt;
265
- typeof HTMLElement == "function" && (Wt = class extends HTMLElement {
264
+ let Xt;
265
+ typeof HTMLElement == "function" && (Xt = class extends HTMLElement {
266
266
  /** The Svelte component constructor */
267
267
  $$ctor;
268
268
  /** Slots */
@@ -301,32 +301,32 @@ typeof HTMLElement == "function" && (Wt = class extends HTMLElement {
301
301
  if (this.$$cn = !0, !this.$$c) {
302
302
  let e = function(i) {
303
303
  return () => {
304
- let o;
304
+ let s;
305
305
  return {
306
306
  c: function() {
307
- o = L("slot"), i !== "default" && H(o, "name", i);
307
+ s = L("slot"), i !== "default" && S(s, "name", i);
308
308
  },
309
309
  /**
310
310
  * @param {HTMLElement} target
311
311
  * @param {HTMLElement} [anchor]
312
312
  */
313
313
  m: function(h, l) {
314
- G(h, o, l);
314
+ G(h, s, l);
315
315
  },
316
316
  d: function(h) {
317
- h && D(o);
317
+ h && D(s);
318
318
  }
319
319
  };
320
320
  };
321
321
  };
322
322
  if (await Promise.resolve(), !this.$$cn || this.$$c)
323
323
  return;
324
- const t = {}, r = jr(this);
324
+ const t = {}, r = $r(this);
325
325
  for (const i of this.$$s)
326
326
  i in r && (t[i] = [e(i)]);
327
327
  for (const i of this.attributes) {
328
- const o = this.$$g_p(i.name);
329
- o in this.$$d || (this.$$d[o] = Ae(o, i.value, this.$$p_d, "toProp"));
328
+ const s = this.$$g_p(i.name);
329
+ s in this.$$d || (this.$$d[s] = Te(s, i.value, this.$$p_d, "toProp"));
330
330
  }
331
331
  for (const i in this.$$p_d)
332
332
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -344,21 +344,21 @@ typeof HTMLElement == "function" && (Wt = class extends HTMLElement {
344
344
  this.$$r = !0;
345
345
  for (const i in this.$$p_d)
346
346
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
347
- const o = Ae(
347
+ const s = Te(
348
348
  i,
349
349
  this.$$d[i],
350
350
  this.$$p_d,
351
351
  "toAttribute"
352
352
  );
353
- o == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, o);
353
+ s == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, s);
354
354
  }
355
355
  this.$$r = !1;
356
356
  };
357
357
  this.$$c.$$.after_update.push(n), n();
358
358
  for (const i in this.$$l)
359
- for (const o of this.$$l[i]) {
360
- const s = this.$$c.$on(i, o);
361
- this.$$l_u.set(o, s);
359
+ for (const s of this.$$l[i]) {
360
+ const o = this.$$c.$on(i, s);
361
+ this.$$l_u.set(s, o);
362
362
  }
363
363
  this.$$l = {};
364
364
  }
@@ -366,7 +366,7 @@ typeof HTMLElement == "function" && (Wt = class extends HTMLElement {
366
366
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
367
367
  // and setting attributes through setAttribute etc, this is helpful
368
368
  attributeChangedCallback(e, t, r) {
369
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = Ae(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
369
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = Te(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
370
370
  }
371
371
  disconnectedCallback() {
372
372
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -379,7 +379,7 @@ typeof HTMLElement == "function" && (Wt = class extends HTMLElement {
379
379
  ) || e;
380
380
  }
381
381
  });
382
- function Ae(e, t, r, n) {
382
+ function Te(e, t, r, n) {
383
383
  const i = r[e]?.type;
384
384
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
385
385
  return t;
@@ -408,8 +408,8 @@ function Ae(e, t, r, n) {
408
408
  return t;
409
409
  }
410
410
  }
411
- function rn(e, t, r, n, i, o) {
412
- let s = class extends Wt {
411
+ function tn(e, t, r, n, i, s) {
412
+ let o = class extends Xt {
413
413
  constructor() {
414
414
  super(e, r, i), this.$$p_d = t;
415
415
  }
@@ -420,24 +420,24 @@ function rn(e, t, r, n, i, o) {
420
420
  }
421
421
  };
422
422
  return Object.keys(t).forEach((a) => {
423
- Object.defineProperty(s.prototype, a, {
423
+ Object.defineProperty(o.prototype, a, {
424
424
  get() {
425
425
  return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
426
426
  },
427
427
  set(h) {
428
- h = Ae(a, h, t), this.$$d[a] = h, this.$$c?.$set({ [a]: h });
428
+ h = Te(a, h, t), this.$$d[a] = h, this.$$c?.$set({ [a]: h });
429
429
  }
430
430
  });
431
431
  }), n.forEach((a) => {
432
- Object.defineProperty(s.prototype, a, {
432
+ Object.defineProperty(o.prototype, a, {
433
433
  get() {
434
434
  return this.$$c?.[a];
435
435
  }
436
436
  });
437
437
  }), e.element = /** @type {any} */
438
- s, s;
438
+ o, o;
439
439
  }
440
- class nn {
440
+ class rn {
441
441
  /**
442
442
  * ### PRIVATE API
443
443
  *
@@ -456,7 +456,7 @@ class nn {
456
456
  $$set = void 0;
457
457
  /** @returns {void} */
458
458
  $destroy() {
459
- Kr(this, 1), this.$destroy = k;
459
+ Yr(this, 1), this.$destroy = k;
460
460
  }
461
461
  /**
462
462
  * @template {Extract<keyof Events, string>} K
@@ -465,7 +465,7 @@ class nn {
465
465
  * @returns {() => void}
466
466
  */
467
467
  $on(t, r) {
468
- if (!ot(r))
468
+ if (!nt(r))
469
469
  return k;
470
470
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
471
471
  return n.push(r), () => {
@@ -478,18 +478,18 @@ class nn {
478
478
  * @returns {void}
479
479
  */
480
480
  $set(t) {
481
- this.$$set && !Or(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
481
+ this.$$set && !Pr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
482
482
  }
483
483
  }
484
- const on = "4";
485
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(on);
486
- function sn(e, t) {
484
+ const nn = "4";
485
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(nn);
486
+ function on(e, t) {
487
487
  if (e) {
488
488
  const r = document.createElement("style");
489
489
  r.innerHTML = t, e.appendChild(r);
490
490
  }
491
491
  }
492
- function an(e, t) {
492
+ function sn(e, t) {
493
493
  const r = new URL(t);
494
494
  fetch(r.href).then((n) => n.text()).then((n) => {
495
495
  const i = document.createElement("style");
@@ -498,7 +498,7 @@ function an(e, t) {
498
498
  console.error("There was an error while trying to load client styling from URL", n);
499
499
  });
500
500
  }
501
- function ln(e, t, r) {
501
+ function an(e, t, r) {
502
502
  if (window.emMessageBus) {
503
503
  const n = document.createElement("style");
504
504
  window.emMessageBus.subscribe(t, (i) => {
@@ -506,44 +506,44 @@ function ln(e, t, r) {
506
506
  });
507
507
  }
508
508
  }
509
- const re = [];
510
- function un(e, t) {
509
+ const te = [];
510
+ function ln(e, t) {
511
511
  return {
512
- subscribe: Pe(e, t).subscribe
512
+ subscribe: Le(e, t).subscribe
513
513
  };
514
514
  }
515
- function Pe(e, t = k) {
515
+ function Le(e, t = k) {
516
516
  let r;
517
517
  const n = /* @__PURE__ */ new Set();
518
518
  function i(a) {
519
- if ($t(e, a) && (e = a, r)) {
520
- const h = !re.length;
519
+ if (kt(e, a) && (e = a, r)) {
520
+ const h = !te.length;
521
521
  for (const l of n)
522
- l[1](), re.push(l, e);
522
+ l[1](), te.push(l, e);
523
523
  if (h) {
524
- for (let l = 0; l < re.length; l += 2)
525
- re[l][0](re[l + 1]);
526
- re.length = 0;
524
+ for (let l = 0; l < te.length; l += 2)
525
+ te[l][0](te[l + 1]);
526
+ te.length = 0;
527
527
  }
528
528
  }
529
529
  }
530
- function o(a) {
530
+ function s(a) {
531
531
  i(a(e));
532
532
  }
533
- function s(a, h = k) {
533
+ function o(a, h = k) {
534
534
  const l = [a, h];
535
- return n.add(l), n.size === 1 && (r = t(i, o) || k), a(e), () => {
535
+ return n.add(l), n.size === 1 && (r = t(i, s) || k), a(e), () => {
536
536
  n.delete(l), n.size === 0 && r && (r(), r = null);
537
537
  };
538
538
  }
539
- return { set: i, update: o, subscribe: s };
539
+ return { set: i, update: s, subscribe: o };
540
540
  }
541
- function he(e, t, r) {
541
+ function ue(e, t, r) {
542
542
  const n = !Array.isArray(e), i = n ? [e] : e;
543
543
  if (!i.every(Boolean))
544
544
  throw new Error("derived() expects stores as input, got a falsy value");
545
- const o = t.length < 2;
546
- return un(r, (s, a) => {
545
+ const s = t.length < 2;
546
+ return ln(r, (o, a) => {
547
547
  let h = !1;
548
548
  const l = [];
549
549
  let u = 0, m = k;
@@ -551,10 +551,10 @@ function he(e, t, r) {
551
551
  if (u)
552
552
  return;
553
553
  m();
554
- const g = t(n ? l[0] : l, s, a);
555
- o ? s(g) : m = ot(g) ? g : k;
554
+ const g = t(n ? l[0] : l, o, a);
555
+ s ? o(g) : m = nt(g) ? g : k;
556
556
  }, p = i.map(
557
- (g, b) => Fr(
557
+ (g, b) => Or(
558
558
  g,
559
559
  (d) => {
560
560
  l[b] = d, u &= ~(1 << b), h && f();
@@ -565,112 +565,126 @@ function he(e, t, r) {
565
565
  )
566
566
  );
567
567
  return h = !0, f(), function() {
568
- J(p), m(), h = !1;
568
+ q(p), m(), h = !1;
569
569
  };
570
570
  });
571
571
  }
572
- function hn(e) {
573
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
572
+ function un(e) {
573
+ return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
574
574
  }
575
- var cn = function(t) {
576
- return fn(t) && !mn(t);
575
+ var hn = function(t) {
576
+ return cn(t) && !fn(t);
577
577
  };
578
- function fn(e) {
578
+ function cn(e) {
579
579
  return !!e && typeof e == "object";
580
580
  }
581
- function mn(e) {
581
+ function fn(e) {
582
582
  var t = Object.prototype.toString.call(e);
583
- return t === "[object RegExp]" || t === "[object Date]" || gn(e);
583
+ return t === "[object RegExp]" || t === "[object Date]" || pn(e);
584
584
  }
585
- var dn = typeof Symbol == "function" && Symbol.for, pn = dn ? Symbol.for("react.element") : 60103;
586
- function gn(e) {
587
- return e.$$typeof === pn;
585
+ var mn = typeof Symbol == "function" && Symbol.for, dn = mn ? Symbol.for("react.element") : 60103;
586
+ function pn(e) {
587
+ return e.$$typeof === dn;
588
588
  }
589
- function bn(e) {
589
+ function gn(e) {
590
590
  return Array.isArray(e) ? [] : {};
591
591
  }
592
592
  function _e(e, t) {
593
- return t.clone !== !1 && t.isMergeableObject(e) ? se(bn(e), e, t) : e;
593
+ return t.clone !== !1 && t.isMergeableObject(e) ? oe(gn(e), e, t) : e;
594
594
  }
595
- function yn(e, t, r) {
595
+ function bn(e, t, r) {
596
596
  return e.concat(t).map(function(n) {
597
597
  return _e(n, r);
598
598
  });
599
599
  }
600
- function vn(e, t) {
600
+ function yn(e, t) {
601
601
  if (!t.customMerge)
602
- return se;
602
+ return oe;
603
603
  var r = t.customMerge(e);
604
- return typeof r == "function" ? r : se;
604
+ return typeof r == "function" ? r : oe;
605
605
  }
606
606
  function _n(e) {
607
607
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
608
608
  return Object.propertyIsEnumerable.call(e, t);
609
609
  }) : [];
610
610
  }
611
- function gt(e) {
611
+ function pt(e) {
612
612
  return Object.keys(e).concat(_n(e));
613
613
  }
614
- function zt(e, t) {
614
+ function Wt(e, t) {
615
615
  try {
616
616
  return t in e;
617
617
  } catch {
618
618
  return !1;
619
619
  }
620
620
  }
621
- function En(e, t) {
622
- return zt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
621
+ function vn(e, t) {
622
+ return Wt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
623
623
  }
624
- function xn(e, t, r) {
624
+ function En(e, t, r) {
625
625
  var n = {};
626
- return r.isMergeableObject(e) && gt(e).forEach(function(i) {
626
+ return r.isMergeableObject(e) && pt(e).forEach(function(i) {
627
627
  n[i] = _e(e[i], r);
628
- }), gt(t).forEach(function(i) {
629
- En(e, i) || (zt(e, i) && r.isMergeableObject(t[i]) ? n[i] = vn(i, r)(e[i], t[i], r) : n[i] = _e(t[i], r));
628
+ }), pt(t).forEach(function(i) {
629
+ vn(e, i) || (Wt(e, i) && r.isMergeableObject(t[i]) ? n[i] = yn(i, r)(e[i], t[i], r) : n[i] = _e(t[i], r));
630
630
  }), n;
631
631
  }
632
- function se(e, t, r) {
633
- r = r || {}, r.arrayMerge = r.arrayMerge || yn, r.isMergeableObject = r.isMergeableObject || cn, r.cloneUnlessOtherwiseSpecified = _e;
634
- var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
635
- return o ? n ? r.arrayMerge(e, t, r) : xn(e, t, r) : _e(t, r);
632
+ function oe(e, t, r) {
633
+ r = r || {}, r.arrayMerge = r.arrayMerge || bn, r.isMergeableObject = r.isMergeableObject || hn, r.cloneUnlessOtherwiseSpecified = _e;
634
+ var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
635
+ return s ? n ? r.arrayMerge(e, t, r) : En(e, t, r) : _e(t, r);
636
636
  }
637
- se.all = function(t, r) {
637
+ oe.all = function(t, r) {
638
638
  if (!Array.isArray(t))
639
639
  throw new Error("first argument should be an array");
640
640
  return t.reduce(function(n, i) {
641
- return se(n, i, r);
641
+ return oe(n, i, r);
642
642
  }, {});
643
643
  };
644
- var wn = se, Cn = wn;
645
- const Hn = /* @__PURE__ */ hn(Cn);
646
- var qe = function(e, t) {
647
- return qe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
644
+ var xn = oe, Cn = xn;
645
+ const wn = /* @__PURE__ */ un(Cn);
646
+ /*! *****************************************************************************
647
+ Copyright (c) Microsoft Corporation.
648
+
649
+ Permission to use, copy, modify, and/or distribute this software for any
650
+ purpose with or without fee is hereby granted.
651
+
652
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
653
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
654
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
655
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
656
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
657
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
658
+ PERFORMANCE OF THIS SOFTWARE.
659
+ ***************************************************************************** */
660
+ var Ze = function(e, t) {
661
+ return Ze = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
648
662
  r.__proto__ = n;
649
663
  } || function(r, n) {
650
664
  for (var i in n)
651
665
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
652
- }, qe(e, t);
666
+ }, Ze(e, t);
653
667
  };
654
- function Oe(e, t) {
668
+ function Ne(e, t) {
655
669
  if (typeof t != "function" && t !== null)
656
670
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
657
- qe(e, t);
671
+ Ze(e, t);
658
672
  function r() {
659
673
  this.constructor = e;
660
674
  }
661
675
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
662
676
  }
663
- var $ = function() {
664
- return $ = Object.assign || function(t) {
677
+ var v = function() {
678
+ return v = Object.assign || function(t) {
665
679
  for (var r, n = 1, i = arguments.length; n < i; n++) {
666
680
  r = arguments[n];
667
- for (var o in r)
668
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
681
+ for (var s in r)
682
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
669
683
  }
670
684
  return t;
671
- }, $.apply(this, arguments);
685
+ }, v.apply(this, arguments);
672
686
  };
673
- function Sn(e, t) {
687
+ function Hn(e, t) {
674
688
  var r = {};
675
689
  for (var n in e)
676
690
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -679,43 +693,46 @@ function Sn(e, t) {
679
693
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
680
694
  return r;
681
695
  }
682
- function $e(e, t, r) {
683
- if (r || arguments.length === 2)
684
- for (var n = 0, i = t.length, o; n < i; n++)
685
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
686
- return e.concat(o || Array.prototype.slice.call(t));
696
+ function Ge(e, t, r) {
697
+ if (arguments.length === 2)
698
+ for (var n = 0, i = t.length, s; n < i; n++)
699
+ (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
700
+ return e.concat(s || t);
687
701
  }
688
- function je(e, t) {
689
- var r = t && t.cache ? t.cache : Nn, n = t && t.serializer ? t.serializer : Mn, i = t && t.strategy ? t.strategy : Bn;
702
+ function ke(e, t) {
703
+ var r = t && t.cache ? t.cache : Ln, n = t && t.serializer ? t.serializer : In, i = t && t.strategy ? t.strategy : Tn;
690
704
  return i(e, {
691
705
  cache: r,
692
706
  serializer: n
693
707
  });
694
708
  }
695
- function Tn(e) {
709
+ function Sn(e) {
696
710
  return e == null || typeof e == "number" || typeof e == "boolean";
697
711
  }
698
- function An(e, t, r, n) {
699
- var i = Tn(n) ? n : r(n), o = t.get(i);
700
- return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
712
+ function zt(e, t, r, n) {
713
+ var i = Sn(n) ? n : r(n), s = t.get(i);
714
+ return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
701
715
  }
702
716
  function Zt(e, t, r) {
703
- var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
704
- return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
717
+ var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
718
+ return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
705
719
  }
706
- function Qt(e, t, r, n, i) {
720
+ function ot(e, t, r, n, i) {
707
721
  return r.bind(t, e, n, i);
708
722
  }
709
- function Bn(e, t) {
710
- var r = e.length === 1 ? An : Zt;
711
- return Qt(e, this, r, t.cache.create(), t.serializer);
723
+ function Tn(e, t) {
724
+ var r = e.length === 1 ? zt : Zt;
725
+ return ot(e, this, r, t.cache.create(), t.serializer);
712
726
  }
713
- function In(e, t) {
714
- return Qt(e, this, Zt, t.cache.create(), t.serializer);
727
+ function An(e, t) {
728
+ return ot(e, this, Zt, t.cache.create(), t.serializer);
715
729
  }
716
- var Mn = function() {
730
+ function Bn(e, t) {
731
+ return ot(e, this, zt, t.cache.create(), t.serializer);
732
+ }
733
+ var In = function() {
717
734
  return JSON.stringify(arguments);
718
- }, Ln = (
735
+ }, Mn = (
719
736
  /** @class */
720
737
  function() {
721
738
  function e() {
@@ -727,71 +744,62 @@ var Mn = function() {
727
744
  this.cache[t] = r;
728
745
  }, e;
729
746
  }()
730
- ), Nn = {
747
+ ), Ln = {
731
748
  create: function() {
732
- return new Ln();
749
+ return new Mn();
733
750
  }
734
- }, Ve = {
735
- variadic: In
736
- }, Me = function() {
737
- return Me = Object.assign || function(t) {
738
- for (var r, n = 1, i = arguments.length; n < i; n++) {
739
- r = arguments[n];
740
- for (var o in r)
741
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
742
- }
743
- return t;
744
- }, Me.apply(this, arguments);
745
- };
746
- var y;
751
+ }, $e = {
752
+ variadic: An,
753
+ monadic: Bn
754
+ }, y;
747
755
  (function(e) {
748
756
  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";
749
757
  })(y || (y = {}));
750
- var T;
758
+ var A;
751
759
  (function(e) {
752
760
  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";
753
- })(T || (T = {}));
754
- var ae;
761
+ })(A || (A = {}));
762
+ var se;
755
763
  (function(e) {
756
764
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
757
- })(ae || (ae = {}));
758
- function bt(e) {
759
- return e.type === T.literal;
765
+ })(se || (se = {}));
766
+ function gt(e) {
767
+ return e.type === A.literal;
760
768
  }
761
- function Pn(e) {
762
- return e.type === T.argument;
769
+ function Nn(e) {
770
+ return e.type === A.argument;
771
+ }
772
+ function Qt(e) {
773
+ return e.type === A.number;
763
774
  }
764
775
  function qt(e) {
765
- return e.type === T.number;
776
+ return e.type === A.date;
766
777
  }
767
778
  function Jt(e) {
768
- return e.type === T.date;
779
+ return e.type === A.time;
769
780
  }
770
781
  function Yt(e) {
771
- return e.type === T.time;
782
+ return e.type === A.select;
772
783
  }
773
784
  function Kt(e) {
774
- return e.type === T.select;
785
+ return e.type === A.plural;
775
786
  }
776
- function er(e) {
777
- return e.type === T.plural;
787
+ function Pn(e) {
788
+ return e.type === A.pound;
778
789
  }
779
- function On(e) {
780
- return e.type === T.pound;
790
+ function er(e) {
791
+ return e.type === A.tag;
781
792
  }
782
793
  function tr(e) {
783
- return e.type === T.tag;
784
- }
785
- function rr(e) {
786
- return !!(e && typeof e == "object" && e.type === ae.number);
794
+ return !!(e && typeof e == "object" && e.type === se.number);
787
795
  }
788
- function Je(e) {
789
- return !!(e && typeof e == "object" && e.type === ae.dateTime);
796
+ function Qe(e) {
797
+ return !!(e && typeof e == "object" && e.type === se.dateTime);
790
798
  }
791
- var nr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Fn = /(?:[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;
792
- function Rn(e) {
799
+ var rr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, On = /(?:[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;
800
+ function Fn(e) {
793
801
  var t = {};
794
- return e.replace(Fn, function(r) {
802
+ return e.replace(On, function(r) {
795
803
  var n = r.length;
796
804
  switch (r[0]) {
797
805
  case "G":
@@ -880,27 +888,17 @@ function Rn(e) {
880
888
  return "";
881
889
  }), t;
882
890
  }
883
- var A = function() {
884
- return A = Object.assign || function(t) {
885
- for (var r, n = 1, i = arguments.length; n < i; n++) {
886
- r = arguments[n];
887
- for (var o in r)
888
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
889
- }
890
- return t;
891
- }, A.apply(this, arguments);
892
- };
893
- var Dn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
894
- function Un(e) {
891
+ var Rn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
892
+ function Dn(e) {
895
893
  if (e.length === 0)
896
894
  throw new Error("Number skeleton cannot be empty");
897
- for (var t = e.split(Dn).filter(function(f) {
895
+ for (var t = e.split(Rn).filter(function(f) {
898
896
  return f.length > 0;
899
897
  }), r = [], n = 0, i = t; n < i.length; n++) {
900
- var o = i[n], s = o.split("/");
901
- if (s.length === 0)
898
+ var s = i[n], o = s.split("/");
899
+ if (o.length === 0)
902
900
  throw new Error("Invalid number skeleton");
903
- for (var a = s[0], h = s.slice(1), l = 0, u = h; l < u.length; l++) {
901
+ for (var a = o[0], h = o.slice(1), l = 0, u = h; l < u.length; l++) {
904
902
  var m = u[l];
905
903
  if (m.length === 0)
906
904
  throw new Error("Invalid number skeleton");
@@ -909,17 +907,17 @@ function Un(e) {
909
907
  }
910
908
  return r;
911
909
  }
912
- function Gn(e) {
910
+ function Un(e) {
913
911
  return e.replace(/^(.*?)-/, "");
914
912
  }
915
- var yt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, ir = /^(@+)?(\+|#+)?[rs]?$/g, kn = /(\*)(0+)|(#+)(0+)|(0+)/g, or = /^(0+)$/;
916
- function vt(e) {
913
+ var bt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, nr = /^(@+)?(\+|#+)?[rs]?$/g, Gn = /(\*)(0+)|(#+)(0+)|(0+)/g, ir = /^(0+)$/;
914
+ function yt(e) {
917
915
  var t = {};
918
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(ir, function(r, n, i) {
916
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(nr, function(r, n, i) {
919
917
  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)), "";
920
918
  }), t;
921
919
  }
922
- function sr(e) {
920
+ function or(e) {
923
921
  switch (e) {
924
922
  case "sign-auto":
925
923
  return {
@@ -959,7 +957,7 @@ function sr(e) {
959
957
  };
960
958
  }
961
959
  }
962
- function $n(e) {
960
+ function kn(e) {
963
961
  var t;
964
962
  if (e[0] === "E" && e[1] === "E" ? (t = {
965
963
  notation: "engineering"
@@ -967,17 +965,17 @@ function $n(e) {
967
965
  notation: "scientific"
968
966
  }, e = e.slice(1)), t) {
969
967
  var r = e.slice(0, 2);
970
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !or.test(e))
968
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !ir.test(e))
971
969
  throw new Error("Malformed concise eng/scientific notation");
972
970
  t.minimumIntegerDigits = e.length;
973
971
  }
974
972
  return t;
975
973
  }
976
974
  function _t(e) {
977
- var t = {}, r = sr(e);
975
+ var t = {}, r = or(e);
978
976
  return r || t;
979
977
  }
980
- function jn(e) {
978
+ function $n(e) {
981
979
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
982
980
  var i = n[r];
983
981
  switch (i.stem) {
@@ -1001,7 +999,7 @@ function jn(e) {
1001
999
  continue;
1002
1000
  case "measure-unit":
1003
1001
  case "unit":
1004
- t.style = "unit", t.unit = Gn(i.options[0]);
1002
+ t.style = "unit", t.unit = Un(i.options[0]);
1005
1003
  continue;
1006
1004
  case "compact-short":
1007
1005
  case "K":
@@ -1012,13 +1010,13 @@ function jn(e) {
1012
1010
  t.notation = "compact", t.compactDisplay = "long";
1013
1011
  continue;
1014
1012
  case "scientific":
1015
- t = A(A(A({}, t), { notation: "scientific" }), i.options.reduce(function(h, l) {
1016
- return A(A({}, h), _t(l));
1013
+ t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(h, l) {
1014
+ return v(v({}, h), _t(l));
1017
1015
  }, {}));
1018
1016
  continue;
1019
1017
  case "engineering":
1020
- t = A(A(A({}, t), { notation: "engineering" }), i.options.reduce(function(h, l) {
1021
- return A(A({}, h), _t(l));
1018
+ t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(h, l) {
1019
+ return v(v({}, h), _t(l));
1022
1020
  }, {}));
1023
1021
  continue;
1024
1022
  case "notation-simple":
@@ -1063,7 +1061,7 @@ function jn(e) {
1063
1061
  case "integer-width":
1064
1062
  if (i.options.length > 1)
1065
1063
  throw new RangeError("integer-width stems only accept a single optional option");
1066
- i.options[0].replace(kn, function(h, l, u, m, f, p) {
1064
+ i.options[0].replace(Gn, function(h, l, u, m, f, p) {
1067
1065
  if (l)
1068
1066
  t.minimumIntegerDigits = u.length;
1069
1067
  else {
@@ -1076,32 +1074,32 @@ function jn(e) {
1076
1074
  });
1077
1075
  continue;
1078
1076
  }
1079
- if (or.test(i.stem)) {
1077
+ if (ir.test(i.stem)) {
1080
1078
  t.minimumIntegerDigits = i.stem.length;
1081
1079
  continue;
1082
1080
  }
1083
- if (yt.test(i.stem)) {
1081
+ if (bt.test(i.stem)) {
1084
1082
  if (i.options.length > 1)
1085
1083
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1086
- i.stem.replace(yt, function(h, l, u, m, f, p) {
1084
+ i.stem.replace(bt, function(h, l, u, m, f, p) {
1087
1085
  return u === "*" ? 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), "";
1088
1086
  });
1089
- var o = i.options[0];
1090
- o === "w" ? t = A(A({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = A(A({}, t), vt(o)));
1087
+ var s = i.options[0];
1088
+ s === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = v(v({}, t), yt(s)));
1091
1089
  continue;
1092
1090
  }
1093
- if (ir.test(i.stem)) {
1094
- t = A(A({}, t), vt(i.stem));
1091
+ if (nr.test(i.stem)) {
1092
+ t = v(v({}, t), yt(i.stem));
1095
1093
  continue;
1096
1094
  }
1097
- var s = sr(i.stem);
1098
- s && (t = A(A({}, t), s));
1099
- var a = $n(i.stem);
1100
- a && (t = A(A({}, t), a));
1095
+ var o = or(i.stem);
1096
+ o && (t = v(v({}, t), o));
1097
+ var a = kn(i.stem);
1098
+ a && (t = v(v({}, t), a));
1101
1099
  }
1102
1100
  return t;
1103
1101
  }
1104
- var Te = {
1102
+ var Se = {
1105
1103
  "001": [
1106
1104
  "H",
1107
1105
  "h"
@@ -2516,23 +2514,23 @@ var Te = {
2516
2514
  "h"
2517
2515
  ]
2518
2516
  };
2519
- function Vn(e, t) {
2517
+ function jn(e, t) {
2520
2518
  for (var r = "", n = 0; n < e.length; n++) {
2521
2519
  var i = e.charAt(n);
2522
2520
  if (i === "j") {
2523
- for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2524
- o++, n++;
2525
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", l = Xn(t);
2521
+ for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2522
+ s++, n++;
2523
+ var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", l = Vn(t);
2526
2524
  for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
2527
2525
  r += h;
2528
- for (; s-- > 0; )
2526
+ for (; o-- > 0; )
2529
2527
  r = l + r;
2530
2528
  } else
2531
2529
  i === "J" ? r += "H" : r += i;
2532
2530
  }
2533
2531
  return r;
2534
2532
  }
2535
- function Xn(e) {
2533
+ function Vn(e) {
2536
2534
  var t = e.hourCycle;
2537
2535
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2538
2536
  e.hourCycles && // @ts-ignore
@@ -2551,23 +2549,23 @@ function Xn(e) {
2551
2549
  }
2552
2550
  var r = e.language, n;
2553
2551
  r !== "root" && (n = e.maximize().region);
2554
- var i = Te[n || ""] || Te[r || ""] || Te["".concat(r, "-001")] || Te["001"];
2552
+ var i = Se[n || ""] || Se[r || ""] || Se["".concat(r, "-001")] || Se["001"];
2555
2553
  return i[0];
2556
2554
  }
2557
- var Xe, Wn = new RegExp("^".concat(nr.source, "*")), zn = new RegExp("".concat(nr.source, "*$"));
2558
- function v(e, t) {
2555
+ var je, Xn = new RegExp("^".concat(rr.source, "*")), Wn = new RegExp("".concat(rr.source, "*$"));
2556
+ function _(e, t) {
2559
2557
  return { start: e, end: t };
2560
2558
  }
2561
- var Zn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Qn = !!String.fromCodePoint, qn = !!Object.fromEntries, Jn = !!String.prototype.codePointAt, Yn = !!String.prototype.trimStart, Kn = !!String.prototype.trimEnd, ei = !!Number.isSafeInteger, ti = ei ? Number.isSafeInteger : function(e) {
2559
+ var zn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Zn = !!String.fromCodePoint, Qn = !!Object.fromEntries, qn = !!String.prototype.codePointAt, Jn = !!String.prototype.trimStart, Yn = !!String.prototype.trimEnd, Kn = !!Number.isSafeInteger, ei = Kn ? Number.isSafeInteger : function(e) {
2562
2560
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2563
- }, Ye = !0;
2561
+ }, qe = !0;
2564
2562
  try {
2565
- var ri = lr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2566
- Ye = ((Xe = ri.exec("a")) === null || Xe === void 0 ? void 0 : Xe[0]) === "a";
2563
+ var ti = ar("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2564
+ qe = ((je = ti.exec("a")) === null || je === void 0 ? void 0 : je[0]) === "a";
2567
2565
  } catch {
2568
- Ye = !1;
2566
+ qe = !1;
2569
2567
  }
2570
- var Et = Zn ? (
2568
+ var vt = zn ? (
2571
2569
  // Native
2572
2570
  function(t, r, n) {
2573
2571
  return t.startsWith(r, n);
@@ -2577,31 +2575,31 @@ var Et = Zn ? (
2577
2575
  function(t, r, n) {
2578
2576
  return t.slice(n, n + r.length) === r;
2579
2577
  }
2580
- ), Ke = Qn ? String.fromCodePoint : (
2578
+ ), Je = Zn ? String.fromCodePoint : (
2581
2579
  // IE11
2582
2580
  function() {
2583
2581
  for (var t = [], r = 0; r < arguments.length; r++)
2584
2582
  t[r] = arguments[r];
2585
- for (var n = "", i = t.length, o = 0, s; i > o; ) {
2586
- if (s = t[o++], s > 1114111)
2587
- throw RangeError(s + " is not a valid code point");
2588
- n += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
2583
+ for (var n = "", i = t.length, s = 0, o; i > s; ) {
2584
+ if (o = t[s++], o > 1114111)
2585
+ throw RangeError(o + " is not a valid code point");
2586
+ n += o < 65536 ? String.fromCharCode(o) : String.fromCharCode(((o -= 65536) >> 10) + 55296, o % 1024 + 56320);
2589
2587
  }
2590
2588
  return n;
2591
2589
  }
2592
- ), xt = (
2590
+ ), Et = (
2593
2591
  // native
2594
- qn ? Object.fromEntries : (
2592
+ Qn ? Object.fromEntries : (
2595
2593
  // Ponyfill
2596
2594
  function(t) {
2597
2595
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
2598
- var o = i[n], s = o[0], a = o[1];
2599
- r[s] = a;
2596
+ var s = i[n], o = s[0], a = s[1];
2597
+ r[o] = a;
2600
2598
  }
2601
2599
  return r;
2602
2600
  }
2603
2601
  )
2604
- ), ar = Jn ? (
2602
+ ), sr = qn ? (
2605
2603
  // Native
2606
2604
  function(t, r) {
2607
2605
  return t.codePointAt(r);
@@ -2611,11 +2609,11 @@ var Et = Zn ? (
2611
2609
  function(t, r) {
2612
2610
  var n = t.length;
2613
2611
  if (!(r < 0 || r >= n)) {
2614
- var i = t.charCodeAt(r), o;
2615
- return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2612
+ var i = t.charCodeAt(r), s;
2613
+ return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2616
2614
  }
2617
2615
  }
2618
- ), ni = Yn ? (
2616
+ ), ri = Jn ? (
2619
2617
  // Native
2620
2618
  function(t) {
2621
2619
  return t.trimStart();
@@ -2623,9 +2621,9 @@ var Et = Zn ? (
2623
2621
  ) : (
2624
2622
  // Ponyfill
2625
2623
  function(t) {
2626
- return t.replace(Wn, "");
2624
+ return t.replace(Xn, "");
2627
2625
  }
2628
- ), ii = Kn ? (
2626
+ ), ni = Yn ? (
2629
2627
  // Native
2630
2628
  function(t) {
2631
2629
  return t.trimEnd();
@@ -2633,32 +2631,32 @@ var Et = Zn ? (
2633
2631
  ) : (
2634
2632
  // Ponyfill
2635
2633
  function(t) {
2636
- return t.replace(zn, "");
2634
+ return t.replace(Wn, "");
2637
2635
  }
2638
2636
  );
2639
- function lr(e, t) {
2637
+ function ar(e, t) {
2640
2638
  return new RegExp(e, t);
2641
2639
  }
2642
- var et;
2643
- if (Ye) {
2644
- var wt = lr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2645
- et = function(t, r) {
2640
+ var Ye;
2641
+ if (qe) {
2642
+ var xt = ar("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2643
+ Ye = function(t, r) {
2646
2644
  var n;
2647
- wt.lastIndex = r;
2648
- var i = wt.exec(t);
2645
+ xt.lastIndex = r;
2646
+ var i = xt.exec(t);
2649
2647
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2650
2648
  };
2651
2649
  } else
2652
- et = function(t, r) {
2650
+ Ye = function(t, r) {
2653
2651
  for (var n = []; ; ) {
2654
- var i = ar(t, r);
2655
- if (i === void 0 || ur(i) || li(i))
2652
+ var i = sr(t, r);
2653
+ if (i === void 0 || lr(i) || ai(i))
2656
2654
  break;
2657
2655
  n.push(i), r += i >= 65536 ? 2 : 1;
2658
2656
  }
2659
- return Ke.apply(void 0, n);
2657
+ return Je.apply(void 0, n);
2660
2658
  };
2661
- var oi = (
2659
+ var ii = (
2662
2660
  /** @class */
2663
2661
  function() {
2664
2662
  function e(t, r) {
@@ -2670,35 +2668,35 @@ var oi = (
2670
2668
  return this.parseMessage(0, "", !1);
2671
2669
  }, e.prototype.parseMessage = function(t, r, n) {
2672
2670
  for (var i = []; !this.isEOF(); ) {
2673
- var o = this.char();
2674
- if (o === 123) {
2675
- var s = this.parseArgument(t, n);
2676
- if (s.err)
2677
- return s;
2678
- i.push(s.val);
2671
+ var s = this.char();
2672
+ if (s === 123) {
2673
+ var o = this.parseArgument(t, n);
2674
+ if (o.err)
2675
+ return o;
2676
+ i.push(o.val);
2679
2677
  } else {
2680
- if (o === 125 && t > 0)
2678
+ if (s === 125 && t > 0)
2681
2679
  break;
2682
- if (o === 35 && (r === "plural" || r === "selectordinal")) {
2680
+ if (s === 35 && (r === "plural" || r === "selectordinal")) {
2683
2681
  var a = this.clonePosition();
2684
2682
  this.bump(), i.push({
2685
- type: T.pound,
2686
- location: v(a, this.clonePosition())
2683
+ type: A.pound,
2684
+ location: _(a, this.clonePosition())
2687
2685
  });
2688
- } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
2686
+ } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2689
2687
  if (n)
2690
2688
  break;
2691
- return this.error(y.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
2692
- } else if (o === 60 && !this.ignoreTag && tt(this.peek() || 0)) {
2693
- var s = this.parseTag(t, r);
2694
- if (s.err)
2695
- return s;
2696
- i.push(s.val);
2689
+ return this.error(y.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
2690
+ } else if (s === 60 && !this.ignoreTag && Ke(this.peek() || 0)) {
2691
+ var o = this.parseTag(t, r);
2692
+ if (o.err)
2693
+ return o;
2694
+ i.push(o.val);
2697
2695
  } else {
2698
- var s = this.parseLiteral(t, r);
2699
- if (s.err)
2700
- return s;
2701
- i.push(s.val);
2696
+ var o = this.parseLiteral(t, r);
2697
+ if (o.err)
2698
+ return o;
2699
+ i.push(o.val);
2702
2700
  }
2703
2701
  }
2704
2702
  }
@@ -2710,51 +2708,51 @@ var oi = (
2710
2708
  if (this.bumpSpace(), this.bumpIf("/>"))
2711
2709
  return {
2712
2710
  val: {
2713
- type: T.literal,
2711
+ type: A.literal,
2714
2712
  value: "<".concat(i, "/>"),
2715
- location: v(n, this.clonePosition())
2713
+ location: _(n, this.clonePosition())
2716
2714
  },
2717
2715
  err: null
2718
2716
  };
2719
2717
  if (this.bumpIf(">")) {
2720
- var o = this.parseMessage(t + 1, r, !0);
2721
- if (o.err)
2722
- return o;
2723
- var s = o.val, a = this.clonePosition();
2718
+ var s = this.parseMessage(t + 1, r, !0);
2719
+ if (s.err)
2720
+ return s;
2721
+ var o = s.val, a = this.clonePosition();
2724
2722
  if (this.bumpIf("</")) {
2725
- if (this.isEOF() || !tt(this.char()))
2726
- return this.error(y.INVALID_TAG, v(a, this.clonePosition()));
2723
+ if (this.isEOF() || !Ke(this.char()))
2724
+ return this.error(y.INVALID_TAG, _(a, this.clonePosition()));
2727
2725
  var h = this.clonePosition(), l = this.parseTagName();
2728
- return i !== l ? this.error(y.UNMATCHED_CLOSING_TAG, v(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2726
+ return i !== l ? this.error(y.UNMATCHED_CLOSING_TAG, _(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2729
2727
  val: {
2730
- type: T.tag,
2728
+ type: A.tag,
2731
2729
  value: i,
2732
- children: s,
2733
- location: v(n, this.clonePosition())
2730
+ children: o,
2731
+ location: _(n, this.clonePosition())
2734
2732
  },
2735
2733
  err: null
2736
- } : this.error(y.INVALID_TAG, v(a, this.clonePosition())));
2734
+ } : this.error(y.INVALID_TAG, _(a, this.clonePosition())));
2737
2735
  } else
2738
- return this.error(y.UNCLOSED_TAG, v(n, this.clonePosition()));
2736
+ return this.error(y.UNCLOSED_TAG, _(n, this.clonePosition()));
2739
2737
  } else
2740
- return this.error(y.INVALID_TAG, v(n, this.clonePosition()));
2738
+ return this.error(y.INVALID_TAG, _(n, this.clonePosition()));
2741
2739
  }, e.prototype.parseTagName = function() {
2742
2740
  var t = this.offset();
2743
- for (this.bump(); !this.isEOF() && ai(this.char()); )
2741
+ for (this.bump(); !this.isEOF() && si(this.char()); )
2744
2742
  this.bump();
2745
2743
  return this.message.slice(t, this.offset());
2746
2744
  }, e.prototype.parseLiteral = function(t, r) {
2747
2745
  for (var n = this.clonePosition(), i = ""; ; ) {
2748
- var o = this.tryParseQuote(r);
2749
- if (o) {
2750
- i += o;
2751
- continue;
2752
- }
2753
- var s = this.tryParseUnquoted(t, r);
2746
+ var s = this.tryParseQuote(r);
2754
2747
  if (s) {
2755
2748
  i += s;
2756
2749
  continue;
2757
2750
  }
2751
+ var o = this.tryParseUnquoted(t, r);
2752
+ if (o) {
2753
+ i += o;
2754
+ continue;
2755
+ }
2758
2756
  var a = this.tryParseLeftAngleBracket();
2759
2757
  if (a) {
2760
2758
  i += a;
@@ -2762,14 +2760,14 @@ var oi = (
2762
2760
  }
2763
2761
  break;
2764
2762
  }
2765
- var h = v(n, this.clonePosition());
2763
+ var h = _(n, this.clonePosition());
2766
2764
  return {
2767
- val: { type: T.literal, value: i, location: h },
2765
+ val: { type: A.literal, value: i, location: h },
2768
2766
  err: null
2769
2767
  };
2770
2768
  }, e.prototype.tryParseLeftAngleBracket = function() {
2771
2769
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2772
- !si(this.peek() || 0)) ? (this.bump(), "<") : null;
2770
+ !oi(this.peek() || 0)) ? (this.bump(), "<") : null;
2773
2771
  }, e.prototype.tryParseQuote = function(t) {
2774
2772
  if (this.isEOF() || this.char() !== 39)
2775
2773
  return null;
@@ -2803,49 +2801,49 @@ var oi = (
2803
2801
  r.push(n);
2804
2802
  this.bump();
2805
2803
  }
2806
- return Ke.apply(void 0, r);
2804
+ return Je.apply(void 0, r);
2807
2805
  }, e.prototype.tryParseUnquoted = function(t, r) {
2808
2806
  if (this.isEOF())
2809
2807
  return null;
2810
2808
  var n = this.char();
2811
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ke(n));
2809
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Je(n));
2812
2810
  }, e.prototype.parseArgument = function(t, r) {
2813
2811
  var n = this.clonePosition();
2814
2812
  if (this.bump(), this.bumpSpace(), this.isEOF())
2815
- return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
2813
+ return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
2816
2814
  if (this.char() === 125)
2817
- return this.bump(), this.error(y.EMPTY_ARGUMENT, v(n, this.clonePosition()));
2815
+ return this.bump(), this.error(y.EMPTY_ARGUMENT, _(n, this.clonePosition()));
2818
2816
  var i = this.parseIdentifierIfPossible().value;
2819
2817
  if (!i)
2820
- return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
2818
+ return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
2821
2819
  if (this.bumpSpace(), this.isEOF())
2822
- return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
2820
+ return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
2823
2821
  switch (this.char()) {
2824
2822
  case 125:
2825
2823
  return this.bump(), {
2826
2824
  val: {
2827
- type: T.argument,
2825
+ type: A.argument,
2828
2826
  // value does not include the opening and closing braces.
2829
2827
  value: i,
2830
- location: v(n, this.clonePosition())
2828
+ location: _(n, this.clonePosition())
2831
2829
  },
2832
2830
  err: null
2833
2831
  };
2834
2832
  case 44:
2835
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2833
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2836
2834
  default:
2837
- return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
2835
+ return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
2838
2836
  }
2839
2837
  }, e.prototype.parseIdentifierIfPossible = function() {
2840
- var t = this.clonePosition(), r = this.offset(), n = et(this.message, r), i = r + n.length;
2838
+ var t = this.clonePosition(), r = this.offset(), n = Ye(this.message, r), i = r + n.length;
2841
2839
  this.bumpTo(i);
2842
- var o = this.clonePosition(), s = v(t, o);
2843
- return { value: n, location: s };
2840
+ var s = this.clonePosition(), o = _(t, s);
2841
+ return { value: n, location: o };
2844
2842
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
2845
- var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
2843
+ var s, o = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
2846
2844
  switch (a) {
2847
2845
  case "":
2848
- return this.error(y.EXPECT_ARGUMENT_TYPE, v(s, h));
2846
+ return this.error(y.EXPECT_ARGUMENT_TYPE, _(o, h));
2849
2847
  case "number":
2850
2848
  case "date":
2851
2849
  case "time": {
@@ -2856,47 +2854,47 @@ var oi = (
2856
2854
  var u = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
2857
2855
  if (m.err)
2858
2856
  return m;
2859
- var f = ii(m.val);
2857
+ var f = ni(m.val);
2860
2858
  if (f.length === 0)
2861
- return this.error(y.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
2862
- var p = v(u, this.clonePosition());
2859
+ return this.error(y.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
2860
+ var p = _(u, this.clonePosition());
2863
2861
  l = { style: f, styleLocation: p };
2864
2862
  }
2865
2863
  var g = this.tryParseArgumentClose(i);
2866
2864
  if (g.err)
2867
2865
  return g;
2868
- var b = v(i, this.clonePosition());
2869
- if (l && Et(l?.style, "::", 0)) {
2870
- var d = ni(l.style.slice(2));
2866
+ var b = _(i, this.clonePosition());
2867
+ if (l && vt(l?.style, "::", 0)) {
2868
+ var d = ri(l.style.slice(2));
2871
2869
  if (a === "number") {
2872
2870
  var m = this.parseNumberSkeletonFromString(d, l.styleLocation);
2873
2871
  return m.err ? m : {
2874
- val: { type: T.number, value: n, location: b, style: m.val },
2872
+ val: { type: A.number, value: n, location: b, style: m.val },
2875
2873
  err: null
2876
2874
  };
2877
2875
  } else {
2878
2876
  if (d.length === 0)
2879
2877
  return this.error(y.EXPECT_DATE_TIME_SKELETON, b);
2880
- var x = d;
2881
- this.locale && (x = Vn(d, this.locale));
2878
+ var C = d;
2879
+ this.locale && (C = jn(d, this.locale));
2882
2880
  var f = {
2883
- type: ae.dateTime,
2884
- pattern: x,
2881
+ type: se.dateTime,
2882
+ pattern: C,
2885
2883
  location: l.styleLocation,
2886
- parsedOptions: this.shouldParseSkeletons ? Rn(x) : {}
2887
- }, _ = a === "date" ? T.date : T.time;
2884
+ parsedOptions: this.shouldParseSkeletons ? Fn(C) : {}
2885
+ }, E = a === "date" ? A.date : A.time;
2888
2886
  return {
2889
- val: { type: _, value: n, location: b, style: f },
2887
+ val: { type: E, value: n, location: b, style: f },
2890
2888
  err: null
2891
2889
  };
2892
2890
  }
2893
2891
  }
2894
2892
  return {
2895
2893
  val: {
2896
- type: a === "number" ? T.number : a === "date" ? T.date : T.time,
2894
+ type: a === "number" ? A.number : a === "date" ? A.date : A.time,
2897
2895
  value: n,
2898
2896
  location: b,
2899
- style: (o = l?.style) !== null && o !== void 0 ? o : null
2897
+ style: (s = l?.style) !== null && s !== void 0 ? s : null
2900
2898
  },
2901
2899
  err: null
2902
2900
  };
@@ -2906,50 +2904,50 @@ var oi = (
2906
2904
  case "select": {
2907
2905
  var w = this.clonePosition();
2908
2906
  if (this.bumpSpace(), !this.bumpIf(","))
2909
- return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, v(w, Me({}, w)));
2907
+ return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, _(w, v({}, w)));
2910
2908
  this.bumpSpace();
2911
2909
  var U = this.parseIdentifierIfPossible(), N = 0;
2912
2910
  if (a !== "select" && U.value === "offset") {
2913
2911
  if (!this.bumpIf(":"))
2914
- return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
2912
+ return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
2915
2913
  this.bumpSpace();
2916
2914
  var m = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2917
2915
  if (m.err)
2918
2916
  return m;
2919
2917
  this.bumpSpace(), U = this.parseIdentifierIfPossible(), N = m.val;
2920
2918
  }
2921
- var S = this.tryParsePluralOrSelectOptions(t, a, r, U);
2922
- if (S.err)
2923
- return S;
2919
+ var T = this.tryParsePluralOrSelectOptions(t, a, r, U);
2920
+ if (T.err)
2921
+ return T;
2924
2922
  var g = this.tryParseArgumentClose(i);
2925
2923
  if (g.err)
2926
2924
  return g;
2927
- var C = v(i, this.clonePosition());
2925
+ var H = _(i, this.clonePosition());
2928
2926
  return a === "select" ? {
2929
2927
  val: {
2930
- type: T.select,
2928
+ type: A.select,
2931
2929
  value: n,
2932
- options: xt(S.val),
2933
- location: C
2930
+ options: Et(T.val),
2931
+ location: H
2934
2932
  },
2935
2933
  err: null
2936
2934
  } : {
2937
2935
  val: {
2938
- type: T.plural,
2936
+ type: A.plural,
2939
2937
  value: n,
2940
- options: xt(S.val),
2938
+ options: Et(T.val),
2941
2939
  offset: N,
2942
2940
  pluralType: a === "plural" ? "cardinal" : "ordinal",
2943
- location: C
2941
+ location: H
2944
2942
  },
2945
2943
  err: null
2946
2944
  };
2947
2945
  }
2948
2946
  default:
2949
- return this.error(y.INVALID_ARGUMENT_TYPE, v(s, h));
2947
+ return this.error(y.INVALID_ARGUMENT_TYPE, _(o, h));
2950
2948
  }
2951
2949
  }, e.prototype.tryParseArgumentClose = function(t) {
2952
- return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2950
+ return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2953
2951
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
2954
2952
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
2955
2953
  var n = this.char();
@@ -2958,7 +2956,7 @@ var oi = (
2958
2956
  this.bump();
2959
2957
  var i = this.clonePosition();
2960
2958
  if (!this.bumpUntil("'"))
2961
- return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, v(i, this.clonePosition()));
2959
+ return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, _(i, this.clonePosition()));
2962
2960
  this.bump();
2963
2961
  break;
2964
2962
  }
@@ -2988,37 +2986,37 @@ var oi = (
2988
2986
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2989
2987
  var n = [];
2990
2988
  try {
2991
- n = Un(t);
2989
+ n = Dn(t);
2992
2990
  } catch {
2993
2991
  return this.error(y.INVALID_NUMBER_SKELETON, r);
2994
2992
  }
2995
2993
  return {
2996
2994
  val: {
2997
- type: ae.number,
2995
+ type: se.number,
2998
2996
  tokens: n,
2999
2997
  location: r,
3000
- parsedOptions: this.shouldParseSkeletons ? jn(n) : {}
2998
+ parsedOptions: this.shouldParseSkeletons ? $n(n) : {}
3001
2999
  },
3002
3000
  err: null
3003
3001
  };
3004
3002
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3005
- for (var o, s = !1, a = [], h = /* @__PURE__ */ new Set(), l = i.value, u = i.location; ; ) {
3003
+ for (var s, o = !1, a = [], h = /* @__PURE__ */ new Set(), l = i.value, u = i.location; ; ) {
3006
3004
  if (l.length === 0) {
3007
3005
  var m = this.clonePosition();
3008
3006
  if (r !== "select" && this.bumpIf("=")) {
3009
3007
  var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
3010
3008
  if (f.err)
3011
3009
  return f;
3012
- u = v(m, this.clonePosition()), l = this.message.slice(m.offset, this.offset());
3010
+ u = _(m, this.clonePosition()), l = this.message.slice(m.offset, this.offset());
3013
3011
  } else
3014
3012
  break;
3015
3013
  }
3016
3014
  if (h.has(l))
3017
3015
  return this.error(r === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, u);
3018
- l === "other" && (s = !0), this.bumpSpace();
3016
+ l === "other" && (o = !0), this.bumpSpace();
3019
3017
  var p = this.clonePosition();
3020
3018
  if (!this.bumpIf("{"))
3021
- return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
3019
+ return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
3022
3020
  var g = this.parseMessage(t + 1, r, n);
3023
3021
  if (g.err)
3024
3022
  return g;
@@ -3029,23 +3027,23 @@ var oi = (
3029
3027
  l,
3030
3028
  {
3031
3029
  value: g.val,
3032
- location: v(p, this.clonePosition())
3030
+ location: _(p, this.clonePosition())
3033
3031
  }
3034
- ]), h.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, u = o.location;
3032
+ ]), h.add(l), this.bumpSpace(), s = this.parseIdentifierIfPossible(), l = s.value, u = s.location;
3035
3033
  }
3036
- 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 && !s ? this.error(y.MISSING_OTHER_CLAUSE, v(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3034
+ return a.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, _(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(y.MISSING_OTHER_CLAUSE, _(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3037
3035
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3038
3036
  var n = 1, i = this.clonePosition();
3039
3037
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
3040
- for (var o = !1, s = 0; !this.isEOF(); ) {
3038
+ for (var s = !1, o = 0; !this.isEOF(); ) {
3041
3039
  var a = this.char();
3042
3040
  if (a >= 48 && a <= 57)
3043
- o = !0, s = s * 10 + (a - 48), this.bump();
3041
+ s = !0, o = o * 10 + (a - 48), this.bump();
3044
3042
  else
3045
3043
  break;
3046
3044
  }
3047
- var h = v(i, this.clonePosition());
3048
- return o ? (s *= n, ti(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3045
+ var h = _(i, this.clonePosition());
3046
+ return s ? (o *= n, ei(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
3049
3047
  }, e.prototype.offset = function() {
3050
3048
  return this.position.offset;
3051
3049
  }, e.prototype.isEOF = function() {
@@ -3060,7 +3058,7 @@ var oi = (
3060
3058
  var t = this.position.offset;
3061
3059
  if (t >= this.message.length)
3062
3060
  throw Error("out of bound");
3063
- var r = ar(this.message, t);
3061
+ var r = sr(this.message, t);
3064
3062
  if (r === void 0)
3065
3063
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3066
3064
  return r;
@@ -3079,7 +3077,7 @@ var oi = (
3079
3077
  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);
3080
3078
  }
3081
3079
  }, e.prototype.bumpIf = function(t) {
3082
- if (Et(this.message, t, this.offset())) {
3080
+ if (vt(this.message, t, this.offset())) {
3083
3081
  for (var r = 0; r < t.length; r++)
3084
3082
  this.bump();
3085
3083
  return !0;
@@ -3101,7 +3099,7 @@ var oi = (
3101
3099
  break;
3102
3100
  }
3103
3101
  }, e.prototype.bumpSpace = function() {
3104
- for (; !this.isEOF() && ur(this.char()); )
3102
+ for (; !this.isEOF() && lr(this.char()); )
3105
3103
  this.bump();
3106
3104
  }, e.prototype.peek = function() {
3107
3105
  if (this.isEOF())
@@ -3111,50 +3109,50 @@ var oi = (
3111
3109
  }, e;
3112
3110
  }()
3113
3111
  );
3114
- function tt(e) {
3112
+ function Ke(e) {
3115
3113
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3116
3114
  }
3117
- function si(e) {
3118
- return tt(e) || e === 47;
3115
+ function oi(e) {
3116
+ return Ke(e) || e === 47;
3119
3117
  }
3120
- function ai(e) {
3118
+ function si(e) {
3121
3119
  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;
3122
3120
  }
3123
- function ur(e) {
3121
+ function lr(e) {
3124
3122
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3125
3123
  }
3126
- function li(e) {
3124
+ function ai(e) {
3127
3125
  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;
3128
3126
  }
3129
- function rt(e) {
3127
+ function et(e) {
3130
3128
  e.forEach(function(t) {
3131
- if (delete t.location, Kt(t) || er(t))
3129
+ if (delete t.location, Yt(t) || Kt(t))
3132
3130
  for (var r in t.options)
3133
- delete t.options[r].location, rt(t.options[r].value);
3131
+ delete t.options[r].location, et(t.options[r].value);
3134
3132
  else
3135
- qt(t) && rr(t.style) || (Jt(t) || Yt(t)) && Je(t.style) ? delete t.style.location : tr(t) && rt(t.children);
3133
+ Qt(t) && tr(t.style) || (qt(t) || Jt(t)) && Qe(t.style) ? delete t.style.location : er(t) && et(t.children);
3136
3134
  });
3137
3135
  }
3138
- function ui(e, t) {
3139
- t === void 0 && (t = {}), t = Me({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3140
- var r = new oi(e, t).parse();
3136
+ function li(e, t) {
3137
+ t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3138
+ var r = new ii(e, t).parse();
3141
3139
  if (r.err) {
3142
3140
  var n = SyntaxError(y[r.err.kind]);
3143
3141
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3144
3142
  }
3145
- return t?.captureLocation || rt(r.val), r.val;
3143
+ return t?.captureLocation || et(r.val), r.val;
3146
3144
  }
3147
- var le;
3145
+ var ae;
3148
3146
  (function(e) {
3149
3147
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3150
- })(le || (le = {}));
3151
- var Fe = (
3148
+ })(ae || (ae = {}));
3149
+ var Pe = (
3152
3150
  /** @class */
3153
3151
  function(e) {
3154
- Oe(t, e);
3152
+ Ne(t, e);
3155
3153
  function t(r, n, i) {
3156
- var o = e.call(this, r) || this;
3157
- return o.code = n, o.originalMessage = i, o;
3154
+ var s = e.call(this, r) || this;
3155
+ return s.code = n, s.originalMessage = i, s;
3158
3156
  }
3159
3157
  return t.prototype.toString = function() {
3160
3158
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
@@ -3163,45 +3161,45 @@ var Fe = (
3163
3161
  ), Ct = (
3164
3162
  /** @class */
3165
3163
  function(e) {
3166
- Oe(t, e);
3167
- function t(r, n, i, o) {
3168
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), le.INVALID_VALUE, o) || this;
3164
+ Ne(t, e);
3165
+ function t(r, n, i, s) {
3166
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ae.INVALID_VALUE, s) || this;
3169
3167
  }
3170
3168
  return t;
3171
- }(Fe)
3172
- ), hi = (
3169
+ }(Pe)
3170
+ ), ui = (
3173
3171
  /** @class */
3174
3172
  function(e) {
3175
- Oe(t, e);
3173
+ Ne(t, e);
3176
3174
  function t(r, n, i) {
3177
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), le.INVALID_VALUE, i) || this;
3175
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ae.INVALID_VALUE, i) || this;
3178
3176
  }
3179
3177
  return t;
3180
- }(Fe)
3181
- ), ci = (
3178
+ }(Pe)
3179
+ ), hi = (
3182
3180
  /** @class */
3183
3181
  function(e) {
3184
- Oe(t, e);
3182
+ Ne(t, e);
3185
3183
  function t(r, n) {
3186
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), le.MISSING_VALUE, n) || this;
3184
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ae.MISSING_VALUE, n) || this;
3187
3185
  }
3188
3186
  return t;
3189
- }(Fe)
3187
+ }(Pe)
3190
3188
  ), P;
3191
3189
  (function(e) {
3192
3190
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3193
3191
  })(P || (P = {}));
3194
- function fi(e) {
3192
+ function ci(e) {
3195
3193
  return e.length < 2 ? e : e.reduce(function(t, r) {
3196
3194
  var n = t[t.length - 1];
3197
3195
  return !n || n.type !== P.literal || r.type !== P.literal ? t.push(r) : n.value += r.value, t;
3198
3196
  }, []);
3199
3197
  }
3200
- function mi(e) {
3198
+ function fi(e) {
3201
3199
  return typeof e == "function";
3202
3200
  }
3203
- function Be(e, t, r, n, i, o, s) {
3204
- if (e.length === 1 && bt(e[0]))
3201
+ function Ae(e, t, r, n, i, s, o) {
3202
+ if (e.length === 1 && gt(e[0]))
3205
3203
  return [
3206
3204
  {
3207
3205
  type: P.literal,
@@ -3210,105 +3208,105 @@ function Be(e, t, r, n, i, o, s) {
3210
3208
  ];
3211
3209
  for (var a = [], h = 0, l = e; h < l.length; h++) {
3212
3210
  var u = l[h];
3213
- if (bt(u)) {
3211
+ if (gt(u)) {
3214
3212
  a.push({
3215
3213
  type: P.literal,
3216
3214
  value: u.value
3217
3215
  });
3218
3216
  continue;
3219
3217
  }
3220
- if (On(u)) {
3221
- typeof o == "number" && a.push({
3218
+ if (Pn(u)) {
3219
+ typeof s == "number" && a.push({
3222
3220
  type: P.literal,
3223
- value: r.getNumberFormat(t).format(o)
3221
+ value: r.getNumberFormat(t).format(s)
3224
3222
  });
3225
3223
  continue;
3226
3224
  }
3227
3225
  var m = u.value;
3228
3226
  if (!(i && m in i))
3229
- throw new ci(m, s);
3227
+ throw new hi(m, o);
3230
3228
  var f = i[m];
3231
- if (Pn(u)) {
3229
+ if (Nn(u)) {
3232
3230
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3233
3231
  type: typeof f == "string" ? P.literal : P.object,
3234
3232
  value: f
3235
3233
  });
3236
3234
  continue;
3237
3235
  }
3238
- if (Jt(u)) {
3239
- var p = typeof u.style == "string" ? n.date[u.style] : Je(u.style) ? u.style.parsedOptions : void 0;
3236
+ if (qt(u)) {
3237
+ var p = typeof u.style == "string" ? n.date[u.style] : Qe(u.style) ? u.style.parsedOptions : void 0;
3240
3238
  a.push({
3241
3239
  type: P.literal,
3242
3240
  value: r.getDateTimeFormat(t, p).format(f)
3243
3241
  });
3244
3242
  continue;
3245
3243
  }
3246
- if (Yt(u)) {
3247
- var p = typeof u.style == "string" ? n.time[u.style] : Je(u.style) ? u.style.parsedOptions : n.time.medium;
3244
+ if (Jt(u)) {
3245
+ var p = typeof u.style == "string" ? n.time[u.style] : Qe(u.style) ? u.style.parsedOptions : n.time.medium;
3248
3246
  a.push({
3249
3247
  type: P.literal,
3250
3248
  value: r.getDateTimeFormat(t, p).format(f)
3251
3249
  });
3252
3250
  continue;
3253
3251
  }
3254
- if (qt(u)) {
3255
- var p = typeof u.style == "string" ? n.number[u.style] : rr(u.style) ? u.style.parsedOptions : void 0;
3252
+ if (Qt(u)) {
3253
+ var p = typeof u.style == "string" ? n.number[u.style] : tr(u.style) ? u.style.parsedOptions : void 0;
3256
3254
  p && p.scale && (f = f * (p.scale || 1)), a.push({
3257
3255
  type: P.literal,
3258
3256
  value: r.getNumberFormat(t, p).format(f)
3259
3257
  });
3260
3258
  continue;
3261
3259
  }
3262
- if (tr(u)) {
3260
+ if (er(u)) {
3263
3261
  var g = u.children, b = u.value, d = i[b];
3264
- if (!mi(d))
3265
- throw new hi(b, "function", s);
3266
- var x = Be(g, t, r, n, i, o), _ = d(x.map(function(N) {
3262
+ if (!fi(d))
3263
+ throw new ui(b, "function", o);
3264
+ var C = Ae(g, t, r, n, i, s), E = d(C.map(function(N) {
3267
3265
  return N.value;
3268
3266
  }));
3269
- Array.isArray(_) || (_ = [_]), a.push.apply(a, _.map(function(N) {
3267
+ Array.isArray(E) || (E = [E]), a.push.apply(a, E.map(function(N) {
3270
3268
  return {
3271
3269
  type: typeof N == "string" ? P.literal : P.object,
3272
3270
  value: N
3273
3271
  };
3274
3272
  }));
3275
3273
  }
3276
- if (Kt(u)) {
3274
+ if (Yt(u)) {
3277
3275
  var w = u.options[f] || u.options.other;
3278
3276
  if (!w)
3279
- throw new Ct(u.value, f, Object.keys(u.options), s);
3280
- a.push.apply(a, Be(w.value, t, r, n, i));
3277
+ throw new Ct(u.value, f, Object.keys(u.options), o);
3278
+ a.push.apply(a, Ae(w.value, t, r, n, i));
3281
3279
  continue;
3282
3280
  }
3283
- if (er(u)) {
3281
+ if (Kt(u)) {
3284
3282
  var w = u.options["=".concat(f)];
3285
3283
  if (!w) {
3286
3284
  if (!Intl.PluralRules)
3287
- throw new Fe(`Intl.PluralRules is not available in this environment.
3285
+ throw new Pe(`Intl.PluralRules is not available in this environment.
3288
3286
  Try polyfilling it using "@formatjs/intl-pluralrules"
3289
- `, le.MISSING_INTL_API, s);
3287
+ `, ae.MISSING_INTL_API, o);
3290
3288
  var U = r.getPluralRules(t, { type: u.pluralType }).select(f - (u.offset || 0));
3291
3289
  w = u.options[U] || u.options.other;
3292
3290
  }
3293
3291
  if (!w)
3294
- throw new Ct(u.value, f, Object.keys(u.options), s);
3295
- a.push.apply(a, Be(w.value, t, r, n, i, f - (u.offset || 0)));
3292
+ throw new Ct(u.value, f, Object.keys(u.options), o);
3293
+ a.push.apply(a, Ae(w.value, t, r, n, i, f - (u.offset || 0)));
3296
3294
  continue;
3297
3295
  }
3298
3296
  }
3299
- return fi(a);
3297
+ return ci(a);
3300
3298
  }
3301
- function di(e, t) {
3302
- return t ? $($($({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3303
- return r[n] = $($({}, e[n]), t[n] || {}), r;
3299
+ function mi(e, t) {
3300
+ return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3301
+ return r[n] = v(v({}, e[n]), t[n] || {}), r;
3304
3302
  }, {})) : e;
3305
3303
  }
3306
- function pi(e, t) {
3304
+ function di(e, t) {
3307
3305
  return t ? Object.keys(e).reduce(function(r, n) {
3308
- return r[n] = di(e[n], t[n]), r;
3309
- }, $({}, e)) : e;
3306
+ return r[n] = mi(e[n], t[n]), r;
3307
+ }, v({}, e)) : e;
3310
3308
  }
3311
- function We(e) {
3309
+ function Ve(e) {
3312
3310
  return {
3313
3311
  create: function() {
3314
3312
  return {
@@ -3322,50 +3320,50 @@ function We(e) {
3322
3320
  }
3323
3321
  };
3324
3322
  }
3325
- function gi(e) {
3323
+ function pi(e) {
3326
3324
  return e === void 0 && (e = {
3327
3325
  number: {},
3328
3326
  dateTime: {},
3329
3327
  pluralRules: {}
3330
3328
  }), {
3331
- getNumberFormat: je(function() {
3329
+ getNumberFormat: ke(function() {
3332
3330
  for (var t, r = [], n = 0; n < arguments.length; n++)
3333
3331
  r[n] = arguments[n];
3334
- return new ((t = Intl.NumberFormat).bind.apply(t, $e([void 0], r, !1)))();
3332
+ return new ((t = Intl.NumberFormat).bind.apply(t, Ge([void 0], r, !1)))();
3335
3333
  }, {
3336
- cache: We(e.number),
3337
- strategy: Ve.variadic
3334
+ cache: Ve(e.number),
3335
+ strategy: $e.variadic
3338
3336
  }),
3339
- getDateTimeFormat: je(function() {
3337
+ getDateTimeFormat: ke(function() {
3340
3338
  for (var t, r = [], n = 0; n < arguments.length; n++)
3341
3339
  r[n] = arguments[n];
3342
- return new ((t = Intl.DateTimeFormat).bind.apply(t, $e([void 0], r, !1)))();
3340
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Ge([void 0], r, !1)))();
3343
3341
  }, {
3344
- cache: We(e.dateTime),
3345
- strategy: Ve.variadic
3342
+ cache: Ve(e.dateTime),
3343
+ strategy: $e.variadic
3346
3344
  }),
3347
- getPluralRules: je(function() {
3345
+ getPluralRules: ke(function() {
3348
3346
  for (var t, r = [], n = 0; n < arguments.length; n++)
3349
3347
  r[n] = arguments[n];
3350
- return new ((t = Intl.PluralRules).bind.apply(t, $e([void 0], r, !1)))();
3348
+ return new ((t = Intl.PluralRules).bind.apply(t, Ge([void 0], r, !1)))();
3351
3349
  }, {
3352
- cache: We(e.pluralRules),
3353
- strategy: Ve.variadic
3350
+ cache: Ve(e.pluralRules),
3351
+ strategy: $e.variadic
3354
3352
  })
3355
3353
  };
3356
3354
  }
3357
- var bi = (
3355
+ var gi = (
3358
3356
  /** @class */
3359
3357
  function() {
3360
3358
  function e(t, r, n, i) {
3361
3359
  r === void 0 && (r = e.defaultLocale);
3362
- var o = this;
3360
+ var s = this;
3363
3361
  if (this.formatterCache = {
3364
3362
  number: {},
3365
3363
  dateTime: {},
3366
3364
  pluralRules: {}
3367
3365
  }, this.format = function(h) {
3368
- var l = o.formatToParts(h);
3366
+ var l = s.formatToParts(h);
3369
3367
  if (l.length === 1)
3370
3368
  return l[0].value;
3371
3369
  var u = l.reduce(function(m, f) {
@@ -3373,26 +3371,26 @@ var bi = (
3373
3371
  }, []);
3374
3372
  return u.length <= 1 ? u[0] || "" : u;
3375
3373
  }, this.formatToParts = function(h) {
3376
- return Be(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3374
+ return Ae(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
3377
3375
  }, this.resolvedOptions = function() {
3378
3376
  var h;
3379
3377
  return {
3380
- locale: ((h = o.resolvedLocale) === null || h === void 0 ? void 0 : h.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
3378
+ locale: ((h = s.resolvedLocale) === null || h === void 0 ? void 0 : h.toString()) || Intl.NumberFormat.supportedLocalesOf(s.locales)[0]
3381
3379
  };
3382
3380
  }, this.getAst = function() {
3383
- return o.ast;
3381
+ return s.ast;
3384
3382
  }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
3385
3383
  if (this.message = t, !e.__parse)
3386
3384
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3387
- var s = i || {};
3388
- s.formatters;
3389
- var a = Sn(s, ["formatters"]);
3390
- this.ast = e.__parse(t, $($({}, a), { locale: this.resolvedLocale }));
3385
+ var o = i || {};
3386
+ o.formatters;
3387
+ var a = Hn(o, ["formatters"]);
3388
+ this.ast = e.__parse(t, v(v({}, a), { locale: this.resolvedLocale }));
3391
3389
  } else
3392
3390
  this.ast = t;
3393
3391
  if (!Array.isArray(this.ast))
3394
3392
  throw new TypeError("A message must be provided as a String or AST.");
3395
- this.formats = pi(e.formats, n), this.formatters = i && i.formatters || gi(this.formatterCache);
3393
+ this.formats = di(e.formats, n), this.formatters = i && i.formatters || pi(this.formatterCache);
3396
3394
  }
3397
3395
  return Object.defineProperty(e, "defaultLocale", {
3398
3396
  get: function() {
@@ -3405,7 +3403,7 @@ var bi = (
3405
3403
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3406
3404
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3407
3405
  }
3408
- }, e.__parse = ui, e.formats = {
3406
+ }, e.__parse = li, e.formats = {
3409
3407
  number: {
3410
3408
  integer: {
3411
3409
  maximumFractionDigits: 0
@@ -3466,7 +3464,7 @@ var bi = (
3466
3464
  }, e;
3467
3465
  }()
3468
3466
  );
3469
- function yi(e, t) {
3467
+ function bi(e, t) {
3470
3468
  if (t == null)
3471
3469
  return;
3472
3470
  if (t in e)
@@ -3476,9 +3474,9 @@ function yi(e, t) {
3476
3474
  for (let i = 0; i < r.length; i++)
3477
3475
  if (typeof n == "object") {
3478
3476
  if (i > 0) {
3479
- const o = r.slice(i, r.length).join(".");
3480
- if (o in n) {
3481
- n = n[o];
3477
+ const s = r.slice(i, r.length).join(".");
3478
+ if (s in n) {
3479
+ n = n[s];
3482
3480
  break;
3483
3481
  }
3484
3482
  }
@@ -3487,92 +3485,92 @@ function yi(e, t) {
3487
3485
  n = void 0;
3488
3486
  return n;
3489
3487
  }
3490
- const W = {}, vi = (e, t, r) => r && (t in W || (W[t] = {}), e in W[t] || (W[t][e] = r), r), hr = (e, t) => {
3488
+ const X = {}, yi = (e, t, r) => r && (t in X || (X[t] = {}), e in X[t] || (X[t][e] = r), r), ur = (e, t) => {
3491
3489
  if (t == null)
3492
3490
  return;
3493
- if (t in W && e in W[t])
3494
- return W[t][e];
3495
- const r = Re(t);
3491
+ if (t in X && e in X[t])
3492
+ return X[t][e];
3493
+ const r = Oe(t);
3496
3494
  for (let n = 0; n < r.length; n++) {
3497
- const i = r[n], o = Ei(i, e);
3498
- if (o)
3499
- return vi(e, t, o);
3495
+ const i = r[n], s = vi(i, e);
3496
+ if (s)
3497
+ return yi(e, t, s);
3500
3498
  }
3501
3499
  };
3502
- let at;
3503
- const ce = Pe({});
3500
+ let st;
3501
+ const he = Le({});
3504
3502
  function _i(e) {
3505
- return at[e] || null;
3503
+ return st[e] || null;
3506
3504
  }
3507
- function cr(e) {
3508
- return e in at;
3505
+ function hr(e) {
3506
+ return e in st;
3509
3507
  }
3510
- function Ei(e, t) {
3511
- if (!cr(e))
3508
+ function vi(e, t) {
3509
+ if (!hr(e))
3512
3510
  return null;
3513
3511
  const r = _i(e);
3514
- return yi(r, t);
3512
+ return bi(r, t);
3515
3513
  }
3516
- function xi(e) {
3514
+ function Ei(e) {
3517
3515
  if (e == null)
3518
3516
  return;
3519
- const t = Re(e);
3517
+ const t = Oe(e);
3520
3518
  for (let r = 0; r < t.length; r++) {
3521
3519
  const n = t[r];
3522
- if (cr(n))
3520
+ if (hr(n))
3523
3521
  return n;
3524
3522
  }
3525
3523
  }
3526
- function fr(e, ...t) {
3527
- delete W[e], ce.update((r) => (r[e] = Hn.all([r[e] || {}, ...t]), r));
3524
+ function cr(e, ...t) {
3525
+ delete X[e], he.update((r) => (r[e] = wn.all([r[e] || {}, ...t]), r));
3528
3526
  }
3529
- he(
3530
- [ce],
3527
+ ue(
3528
+ [he],
3531
3529
  ([e]) => Object.keys(e)
3532
3530
  );
3533
- ce.subscribe((e) => at = e);
3534
- const Ie = {};
3535
- function wi(e, t) {
3536
- Ie[e].delete(t), Ie[e].size === 0 && delete Ie[e];
3531
+ he.subscribe((e) => st = e);
3532
+ const Be = {};
3533
+ function xi(e, t) {
3534
+ Be[e].delete(t), Be[e].size === 0 && delete Be[e];
3537
3535
  }
3538
- function mr(e) {
3539
- return Ie[e];
3536
+ function fr(e) {
3537
+ return Be[e];
3540
3538
  }
3541
3539
  function Ci(e) {
3542
- return Re(e).map((t) => {
3543
- const r = mr(t);
3540
+ return Oe(e).map((t) => {
3541
+ const r = fr(t);
3544
3542
  return [t, r ? [...r] : []];
3545
3543
  }).filter(([, t]) => t.length > 0);
3546
3544
  }
3547
- function nt(e) {
3548
- return e == null ? !1 : Re(e).some(
3545
+ function tt(e) {
3546
+ return e == null ? !1 : Oe(e).some(
3549
3547
  (t) => {
3550
3548
  var r;
3551
- return (r = mr(t)) == null ? void 0 : r.size;
3549
+ return (r = fr(t)) == null ? void 0 : r.size;
3552
3550
  }
3553
3551
  );
3554
3552
  }
3555
- function Hi(e, t) {
3553
+ function wi(e, t) {
3556
3554
  return Promise.all(
3557
- t.map((n) => (wi(e, n), n().then((i) => i.default || i)))
3558
- ).then((n) => fr(e, ...n));
3555
+ t.map((n) => (xi(e, n), n().then((i) => i.default || i)))
3556
+ ).then((n) => cr(e, ...n));
3559
3557
  }
3560
- const pe = {};
3561
- function dr(e) {
3562
- if (!nt(e))
3563
- return e in pe ? pe[e] : Promise.resolve();
3558
+ const de = {};
3559
+ function mr(e) {
3560
+ if (!tt(e))
3561
+ return e in de ? de[e] : Promise.resolve();
3564
3562
  const t = Ci(e);
3565
- return pe[e] = Promise.all(
3563
+ return de[e] = Promise.all(
3566
3564
  t.map(
3567
- ([r, n]) => Hi(r, n)
3565
+ ([r, n]) => wi(r, n)
3568
3566
  )
3569
3567
  ).then(() => {
3570
- if (nt(e))
3571
- return dr(e);
3572
- delete pe[e];
3573
- }), pe[e];
3568
+ if (tt(e))
3569
+ return mr(e);
3570
+ delete de[e];
3571
+ }), de[e];
3574
3572
  }
3575
- const Si = {
3573
+ const Hi = {
3576
3574
  number: {
3577
3575
  scientific: { notation: "scientific" },
3578
3576
  engineering: { notation: "engineering" },
@@ -3601,150 +3599,150 @@ const Si = {
3601
3599
  timeZoneName: "short"
3602
3600
  }
3603
3601
  }
3604
- }, Ti = {
3602
+ }, Si = {
3605
3603
  fallbackLocale: null,
3606
3604
  loadingDelay: 200,
3607
- formats: Si,
3605
+ formats: Hi,
3608
3606
  warnOnMissingMessages: !0,
3609
3607
  handleMissingMessage: void 0,
3610
3608
  ignoreTag: !0
3611
- }, Ai = Ti;
3612
- function ue() {
3613
- return Ai;
3614
- }
3615
- const ze = Pe(!1);
3616
- var Bi = Object.defineProperty, Ii = Object.defineProperties, Mi = Object.getOwnPropertyDescriptors, Ht = Object.getOwnPropertySymbols, Li = Object.prototype.hasOwnProperty, Ni = Object.prototype.propertyIsEnumerable, St = (e, t, r) => t in e ? Bi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Pi = (e, t) => {
3617
- for (var r in t || (t = {}))
3618
- Li.call(t, r) && St(e, r, t[r]);
3619
- if (Ht)
3620
- for (var r of Ht(t))
3621
- Ni.call(t, r) && St(e, r, t[r]);
3609
+ }, Ti = Si;
3610
+ function le() {
3611
+ return Ti;
3612
+ }
3613
+ const Xe = Le(!1);
3614
+ var Ai = Object.defineProperty, Bi = Object.defineProperties, Ii = Object.getOwnPropertyDescriptors, wt = Object.getOwnPropertySymbols, Mi = Object.prototype.hasOwnProperty, Li = Object.prototype.propertyIsEnumerable, Ht = (e, t, r) => t in e ? Ai(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ni = (e, t) => {
3615
+ for (var r in t)
3616
+ Mi.call(t, r) && Ht(e, r, t[r]);
3617
+ if (wt)
3618
+ for (var r of wt(t))
3619
+ Li.call(t, r) && Ht(e, r, t[r]);
3622
3620
  return e;
3623
- }, Oi = (e, t) => Ii(e, Mi(t));
3624
- let it;
3625
- const Le = Pe(null);
3626
- function Tt(e) {
3621
+ }, Pi = (e, t) => Bi(e, Ii(t));
3622
+ let rt;
3623
+ const Ie = Le(null);
3624
+ function St(e) {
3627
3625
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3628
3626
  }
3629
- function Re(e, t = ue().fallbackLocale) {
3630
- const r = Tt(e);
3631
- return t ? [.../* @__PURE__ */ new Set([...r, ...Tt(t)])] : r;
3627
+ function Oe(e, t = le().fallbackLocale) {
3628
+ const r = St(e);
3629
+ return t ? [.../* @__PURE__ */ new Set([...r, ...St(t)])] : r;
3632
3630
  }
3633
- function Y() {
3634
- return it ?? void 0;
3631
+ function J() {
3632
+ return rt ?? void 0;
3635
3633
  }
3636
- Le.subscribe((e) => {
3637
- it = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3634
+ Ie.subscribe((e) => {
3635
+ rt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3638
3636
  });
3639
- const Fi = (e) => {
3640
- if (e && xi(e) && nt(e)) {
3641
- const { loadingDelay: t } = ue();
3637
+ const Oi = (e) => {
3638
+ if (e && Ei(e) && tt(e)) {
3639
+ const { loadingDelay: t } = le();
3642
3640
  let r;
3643
- return typeof window < "u" && Y() != null && t ? r = window.setTimeout(
3644
- () => ze.set(!0),
3641
+ return typeof window < "u" && J() != null && t ? r = window.setTimeout(
3642
+ () => Xe.set(!0),
3645
3643
  t
3646
- ) : ze.set(!0), dr(e).then(() => {
3647
- Le.set(e);
3644
+ ) : Xe.set(!0), mr(e).then(() => {
3645
+ Ie.set(e);
3648
3646
  }).finally(() => {
3649
- clearTimeout(r), ze.set(!1);
3647
+ clearTimeout(r), Xe.set(!1);
3650
3648
  });
3651
3649
  }
3652
- return Le.set(e);
3653
- }, z = Oi(Pi({}, Le), {
3654
- set: Fi
3655
- }), De = (e) => {
3650
+ return Ie.set(e);
3651
+ }, W = Pi(Ni({}, Ie), {
3652
+ set: Oi
3653
+ }), Fe = (e) => {
3656
3654
  const t = /* @__PURE__ */ Object.create(null);
3657
3655
  return (n) => {
3658
3656
  const i = JSON.stringify(n);
3659
3657
  return i in t ? t[i] : t[i] = e(n);
3660
3658
  };
3661
3659
  };
3662
- var Ri = Object.defineProperty, Ne = Object.getOwnPropertySymbols, pr = Object.prototype.hasOwnProperty, gr = Object.prototype.propertyIsEnumerable, At = (e, t, r) => t in e ? Ri(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, lt = (e, t) => {
3660
+ var Fi = Object.defineProperty, Me = Object.getOwnPropertySymbols, dr = Object.prototype.hasOwnProperty, pr = Object.prototype.propertyIsEnumerable, Tt = (e, t, r) => t in e ? Fi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, at = (e, t) => {
3663
3661
  for (var r in t || (t = {}))
3664
- pr.call(t, r) && At(e, r, t[r]);
3665
- if (Ne)
3666
- for (var r of Ne(t))
3667
- gr.call(t, r) && At(e, r, t[r]);
3662
+ dr.call(t, r) && Tt(e, r, t[r]);
3663
+ if (Me)
3664
+ for (var r of Me(t))
3665
+ pr.call(t, r) && Tt(e, r, t[r]);
3668
3666
  return e;
3669
- }, fe = (e, t) => {
3667
+ }, ce = (e, t) => {
3670
3668
  var r = {};
3671
3669
  for (var n in e)
3672
- pr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3673
- if (e != null && Ne)
3674
- for (var n of Ne(e))
3675
- t.indexOf(n) < 0 && gr.call(e, n) && (r[n] = e[n]);
3670
+ dr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3671
+ if (e != null && Me)
3672
+ for (var n of Me(e))
3673
+ t.indexOf(n) < 0 && pr.call(e, n) && (r[n] = e[n]);
3676
3674
  return r;
3677
3675
  };
3678
- const Ee = (e, t) => {
3679
- const { formats: r } = ue();
3676
+ const ve = (e, t) => {
3677
+ const { formats: r } = le();
3680
3678
  if (e in r && t in r[e])
3681
3679
  return r[e][t];
3682
3680
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3683
- }, Di = De(
3681
+ }, Ri = Fe(
3684
3682
  (e) => {
3685
- var t = e, { locale: r, format: n } = t, i = fe(t, ["locale", "format"]);
3683
+ var t = e, { locale: r, format: n } = t, i = ce(t, ["locale", "format"]);
3686
3684
  if (r == null)
3687
3685
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3688
- return n && (i = Ee("number", n)), new Intl.NumberFormat(r, i);
3686
+ return n && (i = ve("number", n)), new Intl.NumberFormat(r, i);
3689
3687
  }
3690
- ), Ui = De(
3688
+ ), Di = Fe(
3691
3689
  (e) => {
3692
- var t = e, { locale: r, format: n } = t, i = fe(t, ["locale", "format"]);
3690
+ var t = e, { locale: r, format: n } = t, i = ce(t, ["locale", "format"]);
3693
3691
  if (r == null)
3694
3692
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3695
- return n ? i = Ee("date", n) : Object.keys(i).length === 0 && (i = Ee("date", "short")), new Intl.DateTimeFormat(r, i);
3693
+ return n ? i = ve("date", n) : Object.keys(i).length === 0 && (i = ve("date", "short")), new Intl.DateTimeFormat(r, i);
3696
3694
  }
3697
- ), Gi = De(
3695
+ ), Ui = Fe(
3698
3696
  (e) => {
3699
- var t = e, { locale: r, format: n } = t, i = fe(t, ["locale", "format"]);
3697
+ var t = e, { locale: r, format: n } = t, i = ce(t, ["locale", "format"]);
3700
3698
  if (r == null)
3701
3699
  throw new Error(
3702
3700
  '[svelte-i18n] A "locale" must be set to format time values'
3703
3701
  );
3704
- return n ? i = Ee("time", n) : Object.keys(i).length === 0 && (i = Ee("time", "short")), new Intl.DateTimeFormat(r, i);
3702
+ return n ? i = ve("time", n) : Object.keys(i).length === 0 && (i = ve("time", "short")), new Intl.DateTimeFormat(r, i);
3705
3703
  }
3706
- ), ki = (e = {}) => {
3704
+ ), Gi = (e = {}) => {
3707
3705
  var t = e, {
3708
- locale: r = Y()
3709
- } = t, n = fe(t, [
3706
+ locale: r = J()
3707
+ } = t, n = ce(t, [
3710
3708
  "locale"
3711
3709
  ]);
3712
- return Di(lt({ locale: r }, n));
3713
- }, $i = (e = {}) => {
3710
+ return Ri(at({ locale: r }, n));
3711
+ }, ki = (e = {}) => {
3714
3712
  var t = e, {
3715
- locale: r = Y()
3716
- } = t, n = fe(t, [
3713
+ locale: r = J()
3714
+ } = t, n = ce(t, [
3717
3715
  "locale"
3718
3716
  ]);
3719
- return Ui(lt({ locale: r }, n));
3720
- }, ji = (e = {}) => {
3717
+ return Di(at({ locale: r }, n));
3718
+ }, $i = (e = {}) => {
3721
3719
  var t = e, {
3722
- locale: r = Y()
3723
- } = t, n = fe(t, [
3720
+ locale: r = J()
3721
+ } = t, n = ce(t, [
3724
3722
  "locale"
3725
3723
  ]);
3726
- return Gi(lt({ locale: r }, n));
3727
- }, Vi = De(
3724
+ return Ui(at({ locale: r }, n));
3725
+ }, ji = Fe(
3728
3726
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3729
- (e, t = Y()) => new bi(e, t, ue().formats, {
3730
- ignoreTag: ue().ignoreTag
3727
+ (e, t = J()) => new gi(e, t, le().formats, {
3728
+ ignoreTag: le().ignoreTag
3731
3729
  })
3732
- ), Xi = (e, t = {}) => {
3733
- var r, n, i, o;
3734
- let s = t;
3735
- typeof e == "object" && (s = e, e = s.id);
3730
+ ), Vi = (e, t = {}) => {
3731
+ var r, n, i, s;
3732
+ let o = t;
3733
+ typeof e == "object" && (o = e, e = o.id);
3736
3734
  const {
3737
3735
  values: a,
3738
- locale: h = Y(),
3736
+ locale: h = J(),
3739
3737
  default: l
3740
- } = s;
3738
+ } = o;
3741
3739
  if (h == null)
3742
3740
  throw new Error(
3743
3741
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3744
3742
  );
3745
- let u = hr(e, h);
3743
+ let u = ur(e, h);
3746
3744
  if (!u)
3747
- u = (o = (i = (n = (r = ue()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
3745
+ u = (s = (i = (n = (r = le()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: l })) != null ? i : l) != null ? s : e;
3748
3746
  else if (typeof u != "string")
3749
3747
  return console.warn(
3750
3748
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -3753,7 +3751,7 @@ const Ee = (e, t) => {
3753
3751
  return u;
3754
3752
  let m = u;
3755
3753
  try {
3756
- m = Vi(u, h).format(a);
3754
+ m = ji(u, h).format(a);
3757
3755
  } catch (f) {
3758
3756
  f instanceof Error && console.warn(
3759
3757
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3761,24 +3759,24 @@ const Ee = (e, t) => {
3761
3759
  );
3762
3760
  }
3763
3761
  return m;
3764
- }, Wi = (e, t) => ji(t).format(e), zi = (e, t) => $i(t).format(e), Zi = (e, t) => ki(t).format(e), Qi = (e, t = Y()) => hr(e, t);
3765
- he([z, ce], () => Xi);
3766
- he([z], () => Wi);
3767
- he([z], () => zi);
3768
- he([z], () => Zi);
3769
- he([z, ce], () => Qi);
3770
- function qi({ withLocale: e, translations: t }) {
3771
- z.subscribe((r) => {
3772
- r == null && (ce.set(t), z.set(e));
3762
+ }, Xi = (e, t) => $i(t).format(e), Wi = (e, t) => ki(t).format(e), zi = (e, t) => Gi(t).format(e), Zi = (e, t = J()) => ur(e, t);
3763
+ ue([W, he], () => Vi);
3764
+ ue([W], () => Xi);
3765
+ ue([W], () => Wi);
3766
+ ue([W], () => zi);
3767
+ ue([W, he], () => Zi);
3768
+ function Qi({ withLocale: e, translations: t }) {
3769
+ W.subscribe((r) => {
3770
+ r == null && (he.set(t), W.set(e));
3773
3771
  });
3774
3772
  }
3775
- function Bt(e, t) {
3776
- fr(e, t);
3773
+ function At(e, t) {
3774
+ cr(e, t);
3777
3775
  }
3778
- function Ji(e) {
3779
- z.set(e);
3776
+ function qi(e) {
3777
+ W.set(e);
3780
3778
  }
3781
- const It = {
3779
+ const Bt = {
3782
3780
  en: {
3783
3781
  login: "Login",
3784
3782
  register: "Register",
@@ -3835,115 +3833,115 @@ const It = {
3835
3833
  deposit: "Deposit"
3836
3834
  }
3837
3835
  };
3838
- function Yi(e) {
3839
- Rr(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}');
3836
+ function Ji(e) {
3837
+ Fr(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}');
3840
3838
  }
3841
- function Mt(e, t, r) {
3839
+ function It(e, t, r) {
3842
3840
  const n = e.slice();
3843
3841
  return n[57] = t[r], n[59] = r, n;
3844
3842
  }
3845
- function Lt(e, t, r) {
3843
+ function Mt(e, t, r) {
3846
3844
  const n = e.slice();
3847
3845
  return n[60] = t[r], n;
3848
3846
  }
3849
- function Nt(e, t, r) {
3847
+ function Lt(e, t, r) {
3850
3848
  const n = e.slice();
3851
3849
  return n[63] = t[r], n[65] = r, n;
3852
3850
  }
3853
- function Pt(e) {
3854
- let t = [], r = /* @__PURE__ */ new Map(), n, i = oe(
3851
+ function Nt(e) {
3852
+ let t = [], r = /* @__PURE__ */ new Map(), n, i = ie(
3855
3853
  /*sliderdata*/
3856
3854
  e[9]
3857
3855
  );
3858
- const o = (s) => (
3856
+ const s = (o) => (
3859
3857
  /*category*/
3860
- s[57].id
3858
+ o[57].id
3861
3859
  );
3862
- for (let s = 0; s < i.length; s += 1) {
3863
- let a = Mt(e, i, s), h = o(a);
3864
- r.set(h, t[s] = Gt(h, a));
3860
+ for (let o = 0; o < i.length; o += 1) {
3861
+ let a = It(e, i, o), h = s(a);
3862
+ r.set(h, t[o] = Ut(h, a));
3865
3863
  }
3866
3864
  return {
3867
3865
  c() {
3868
- for (let s = 0; s < t.length; s += 1)
3869
- t[s].c();
3870
- n = ye();
3866
+ for (let o = 0; o < t.length; o += 1)
3867
+ t[o].c();
3868
+ n = be();
3871
3869
  },
3872
- m(s, a) {
3870
+ m(o, a) {
3873
3871
  for (let h = 0; h < t.length; h += 1)
3874
- t[h] && t[h].m(s, a);
3875
- G(s, n, a);
3872
+ t[h] && t[h].m(o, a);
3873
+ G(o, n, a);
3876
3874
  },
3877
- p(s, a) {
3875
+ p(o, a) {
3878
3876
  a[0] & /*activeindex, sliderdata, location, handleClick, subGroupsData, activeIndex, activeSubIndex, prevSubIndex, showsubgroups, itemsActive, categoriesicon, handleSrc*/
3879
- 1183695 && (i = oe(
3877
+ 1183695 && (i = ie(
3880
3878
  /*sliderdata*/
3881
- s[9]
3882
- ), t = Xt(t, a, o, 1, s, i, r, n.parentNode, Vt, Gt, n, Mt));
3879
+ o[9]
3880
+ ), t = Vt(t, a, s, 1, o, i, r, n.parentNode, jt, Ut, n, It));
3883
3881
  },
3884
- d(s) {
3885
- s && D(n);
3882
+ d(o) {
3883
+ o && D(n);
3886
3884
  for (let a = 0; a < t.length; a += 1)
3887
- t[a].d(s);
3885
+ t[a].d(o);
3888
3886
  }
3889
3887
  };
3890
3888
  }
3891
- function Ki(e) {
3889
+ function Yi(e) {
3892
3890
  let t, r = (
3893
3891
  /*category*/
3894
3892
  e[57].name + ""
3895
3893
  ), n;
3896
3894
  return {
3897
3895
  c() {
3898
- t = L("button"), n = xe(r), H(t, "class", "CategoryButton");
3896
+ t = L("button"), n = Ee(r), S(t, "class", "CategoryButton");
3899
3897
  },
3900
- m(i, o) {
3901
- G(i, t, o), I(t, n);
3898
+ m(i, s) {
3899
+ G(i, t, s), I(t, n);
3902
3900
  },
3903
- p(i, o) {
3904
- o[0] & /*sliderdata*/
3901
+ p(i, s) {
3902
+ s[0] & /*sliderdata*/
3905
3903
  512 && r !== (r = /*category*/
3906
- i[57].name + "") && st(n, r);
3904
+ i[57].name + "") && it(n, r);
3907
3905
  },
3908
3906
  d(i) {
3909
3907
  i && D(t);
3910
3908
  }
3911
3909
  };
3912
3910
  }
3913
- function eo(e) {
3911
+ function Ki(e) {
3914
3912
  let t, r = (
3915
3913
  /*category*/
3916
3914
  e[57].label + ""
3917
3915
  ), n, i;
3918
3916
  return {
3919
3917
  c() {
3920
- t = L("a"), n = xe(r), H(t, "href", i = /*category*/
3918
+ t = L("a"), n = Ee(r), S(t, "href", i = /*category*/
3921
3919
  e[57].path);
3922
3920
  },
3923
- m(o, s) {
3924
- G(o, t, s), I(t, n);
3921
+ m(s, o) {
3922
+ G(s, t, o), I(t, n);
3925
3923
  },
3926
- p(o, s) {
3927
- s[0] & /*sliderdata*/
3924
+ p(s, o) {
3925
+ o[0] & /*sliderdata*/
3928
3926
  512 && r !== (r = /*category*/
3929
- o[57].label + "") && st(n, r), s[0] & /*sliderdata*/
3927
+ s[57].label + "") && it(n, r), o[0] & /*sliderdata*/
3930
3928
  512 && i !== (i = /*category*/
3931
- o[57].path) && H(t, "href", i);
3929
+ s[57].path) && S(t, "href", i);
3932
3930
  },
3933
- d(o) {
3934
- o && D(t);
3931
+ d(s) {
3932
+ s && D(t);
3935
3933
  }
3936
3934
  };
3937
3935
  }
3938
- function Ot(e) {
3936
+ function Pt(e) {
3939
3937
  let t, r = (
3940
3938
  /*subGroupsData*/
3941
3939
  e[10].length > 0 && /*showsubgroups*/
3942
- e[2] == "true" && Ft(e)
3940
+ e[2] == "true" && Ot(e)
3943
3941
  );
3944
3942
  return {
3945
3943
  c() {
3946
- r && r.c(), t = ye();
3944
+ r && r.c(), t = be();
3947
3945
  },
3948
3946
  m(n, i) {
3949
3947
  r && r.m(n, i), G(n, t, i);
@@ -3951,59 +3949,59 @@ function Ot(e) {
3951
3949
  p(n, i) {
3952
3950
  /*subGroupsData*/
3953
3951
  n[10].length > 0 && /*showsubgroups*/
3954
- n[2] == "true" ? r ? r.p(n, i) : (r = Ft(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3952
+ n[2] == "true" ? r ? r.p(n, i) : (r = Ot(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3955
3953
  },
3956
3954
  d(n) {
3957
3955
  n && D(t), r && r.d(n);
3958
3956
  }
3959
3957
  };
3960
3958
  }
3961
- function Ft(e) {
3962
- let t, r = oe(
3959
+ function Ot(e) {
3960
+ let t, r = ie(
3963
3961
  /*subGroupsData*/
3964
3962
  e[10]
3965
3963
  ), n = [];
3966
3964
  for (let i = 0; i < r.length; i += 1)
3967
- n[i] = Ut(Lt(e, r, i));
3965
+ n[i] = Dt(Mt(e, r, i));
3968
3966
  return {
3969
3967
  c() {
3970
3968
  t = L("ul");
3971
3969
  for (let i = 0; i < n.length; i += 1)
3972
3970
  n[i].c();
3973
- H(t, "class", "DropDown");
3971
+ S(t, "class", "DropDown");
3974
3972
  },
3975
- m(i, o) {
3976
- G(i, t, o);
3977
- for (let s = 0; s < n.length; s += 1)
3978
- n[s] && n[s].m(t, null);
3973
+ m(i, s) {
3974
+ G(i, t, s);
3975
+ for (let o = 0; o < n.length; o += 1)
3976
+ n[o] && n[o].m(t, null);
3979
3977
  },
3980
- p(i, o) {
3981
- if (o[0] & /*subGroupsData, handleClick, sliderdata, activeIndex, activeSubIndex, prevSubIndex*/
3978
+ p(i, s) {
3979
+ if (s[0] & /*subGroupsData, handleClick, sliderdata, activeIndex, activeSubIndex, prevSubIndex*/
3982
3980
  133056) {
3983
- r = oe(
3981
+ r = ie(
3984
3982
  /*subGroupsData*/
3985
3983
  i[10]
3986
3984
  );
3987
- let s;
3988
- for (s = 0; s < r.length; s += 1) {
3989
- const a = Lt(i, r, s);
3990
- n[s] ? n[s].p(a, o) : (n[s] = Ut(a), n[s].c(), n[s].m(t, null));
3985
+ let o;
3986
+ for (o = 0; o < r.length; o += 1) {
3987
+ const a = Mt(i, r, o);
3988
+ n[o] ? n[o].p(a, s) : (n[o] = Dt(a), n[o].c(), n[o].m(t, null));
3991
3989
  }
3992
- for (; s < n.length; s += 1)
3993
- n[s].d(1);
3990
+ for (; o < n.length; o += 1)
3991
+ n[o].d(1);
3994
3992
  n.length = r.length;
3995
3993
  }
3996
3994
  },
3997
3995
  d(i) {
3998
- i && D(t), Gr(n, i);
3996
+ i && D(t), Ur(n, i);
3999
3997
  }
4000
3998
  };
4001
3999
  }
4002
- function Rt(e) {
4000
+ function Ft(e) {
4003
4001
  let t, r, n = (
4004
4002
  /*subGroupItem*/
4005
4003
  e[63]?.name + ""
4006
- ), i, o, s, a, h;
4004
+ ), i, s, o, a, h;
4007
4005
  function l(...u) {
4008
4006
  return (
4009
4007
  /*click_handler_2*/
@@ -4022,7 +4020,7 @@ function Rt(e) {
4022
4020
  }
4023
4021
  return {
4024
4022
  c() {
4025
- t = L("li"), r = L("a"), i = xe(n), s = q(), H(r, "class", o = "SubDropDown " + /*index*/
4023
+ t = L("li"), r = L("a"), i = Ee(n), o = Q(), S(r, "class", s = "SubDropDown " + /*index*/
4026
4024
  (e[59] == /*activeIndex*/
4027
4025
  e[6] && /*activeSubIndex*/
4028
4026
  (e[7] == /*subindex*/
@@ -4031,94 +4029,94 @@ function Rt(e) {
4031
4029
  e[65]) ? "active" : ""));
4032
4030
  },
4033
4031
  m(u, m) {
4034
- G(u, t, m), I(t, r), I(r, i), I(t, s), a || (h = V(t, "click", l), a = !0);
4032
+ G(u, t, m), I(t, r), I(r, i), I(t, o), a || (h = j(t, "click", l), a = !0);
4035
4033
  },
4036
4034
  p(u, m) {
4037
4035
  e = u, m[0] & /*subGroupsData*/
4038
4036
  1024 && n !== (n = /*subGroupItem*/
4039
- e[63]?.name + "") && st(i, n), m[0] & /*sliderdata, activeIndex, activeSubIndex, subGroupsData, prevSubIndex*/
4040
- 1984 && o !== (o = "SubDropDown " + /*index*/
4037
+ e[63]?.name + "") && it(i, n), m[0] & /*sliderdata, activeIndex, activeSubIndex, subGroupsData, prevSubIndex*/
4038
+ 1984 && s !== (s = "SubDropDown " + /*index*/
4041
4039
  (e[59] == /*activeIndex*/
4042
4040
  e[6] && /*activeSubIndex*/
4043
4041
  (e[7] == /*subindex*/
4044
4042
  e[65] || /*prevSubIndex*/
4045
4043
  e[8] == /*subindex*/
4046
- e[65]) ? "active" : "")) && H(r, "class", o);
4044
+ e[65]) ? "active" : "")) && S(r, "class", s);
4047
4045
  },
4048
4046
  d(u) {
4049
4047
  u && D(t), a = !1, h();
4050
4048
  }
4051
4049
  };
4052
4050
  }
4053
- function Dt(e, t) {
4051
+ function Rt(e, t) {
4054
4052
  let r, n, i = (
4055
4053
  /*index*/
4056
4054
  t[59] == /*subGroup*/
4057
- t[60].index && Rt(t)
4055
+ t[60].index && Ft(t)
4058
4056
  );
4059
4057
  return {
4060
4058
  key: e,
4061
4059
  first: null,
4062
4060
  c() {
4063
- r = ye(), i && i.c(), n = ye(), this.first = r;
4061
+ r = be(), i && i.c(), n = be(), this.first = r;
4064
4062
  },
4065
- m(o, s) {
4066
- G(o, r, s), i && i.m(o, s), G(o, n, s);
4063
+ m(s, o) {
4064
+ G(s, r, o), i && i.m(s, o), G(s, n, o);
4067
4065
  },
4068
- p(o, s) {
4069
- t = o, /*index*/
4066
+ p(s, o) {
4067
+ t = s, /*index*/
4070
4068
  t[59] == /*subGroup*/
4071
- t[60].index ? i ? i.p(t, s) : (i = Rt(t), i.c(), i.m(n.parentNode, n)) : i && (i.d(1), i = null);
4069
+ t[60].index ? i ? i.p(t, o) : (i = Ft(t), i.c(), i.m(n.parentNode, n)) : i && (i.d(1), i = null);
4072
4070
  },
4073
- d(o) {
4074
- o && (D(r), D(n)), i && i.d(o);
4071
+ d(s) {
4072
+ s && (D(r), D(n)), i && i.d(s);
4075
4073
  }
4076
4074
  };
4077
4075
  }
4078
- function Ut(e) {
4079
- let t = [], r = /* @__PURE__ */ new Map(), n, i = oe(
4076
+ function Dt(e) {
4077
+ let t = [], r = /* @__PURE__ */ new Map(), n, i = ie(
4080
4078
  /*subGroup*/
4081
4079
  e[60].items
4082
4080
  );
4083
- const o = (s) => (
4081
+ const s = (o) => (
4084
4082
  /*subGroupItem*/
4085
- s[63].id
4083
+ o[63].id
4086
4084
  );
4087
- for (let s = 0; s < i.length; s += 1) {
4088
- let a = Nt(e, i, s), h = o(a);
4089
- r.set(h, t[s] = Dt(h, a));
4085
+ for (let o = 0; o < i.length; o += 1) {
4086
+ let a = Lt(e, i, o), h = s(a);
4087
+ r.set(h, t[o] = Rt(h, a));
4090
4088
  }
4091
4089
  return {
4092
4090
  c() {
4093
- for (let s = 0; s < t.length; s += 1)
4094
- t[s].c();
4095
- n = ye();
4091
+ for (let o = 0; o < t.length; o += 1)
4092
+ t[o].c();
4093
+ n = be();
4096
4094
  },
4097
- m(s, a) {
4095
+ m(o, a) {
4098
4096
  for (let h = 0; h < t.length; h += 1)
4099
- t[h] && t[h].m(s, a);
4100
- G(s, n, a);
4097
+ t[h] && t[h].m(o, a);
4098
+ G(o, n, a);
4101
4099
  },
4102
- p(s, a) {
4100
+ p(o, a) {
4103
4101
  a[0] & /*handleClick, sliderdata, subGroupsData, activeIndex, activeSubIndex, prevSubIndex*/
4104
- 133056 && (i = oe(
4102
+ 133056 && (i = ie(
4105
4103
  /*subGroup*/
4106
- s[60].items
4107
- ), t = Xt(t, a, o, 1, s, i, r, n.parentNode, Vt, Dt, n, Nt));
4104
+ o[60].items
4105
+ ), t = Vt(t, a, s, 1, o, i, r, n.parentNode, jt, Rt, n, Lt));
4108
4106
  },
4109
- d(s) {
4110
- s && D(n);
4107
+ d(o) {
4108
+ o && D(n);
4111
4109
  for (let a = 0; a < t.length; a += 1)
4112
- t[a].d(s);
4110
+ t[a].d(o);
4113
4111
  }
4114
4112
  };
4115
4113
  }
4116
- function Gt(e, t) {
4117
- let r, n, i, o, s, a, h, l, u, m, f;
4118
- function p(_, w) {
4114
+ function Ut(e, t) {
4115
+ let r, n, i, s, o, a, h, l, u, m, f;
4116
+ function p(E, w) {
4119
4117
  return (
4120
4118
  /*location*/
4121
- _[0] === "headerMain" ? eo : Ki
4119
+ E[0] === "headerMain" ? Ki : Yi
4122
4120
  );
4123
4121
  }
4124
4122
  let g = p(t), b = g(t), d = (
@@ -4126,9 +4124,9 @@ function Gt(e, t) {
4126
4124
  t[11][
4127
4125
  /*index*/
4128
4126
  t[59]
4129
- ] == !0 && Ot(t)
4127
+ ] == !0 && Pt(t)
4130
4128
  );
4131
- function x(..._) {
4129
+ function C(...E) {
4132
4130
  return (
4133
4131
  /*click_handler_3*/
4134
4132
  t[39](
@@ -4136,7 +4134,7 @@ function Gt(e, t) {
4136
4134
  t[57],
4137
4135
  /*index*/
4138
4136
  t[59],
4139
- ..._
4137
+ ...E
4140
4138
  )
4141
4139
  );
4142
4140
  }
@@ -4144,12 +4142,12 @@ function Gt(e, t) {
4144
4142
  key: e,
4145
4143
  first: null,
4146
4144
  c() {
4147
- r = L("li"), n = L("div"), i = L("img"), a = q(), b.c(), h = q(), d && d.c(), l = q(), H(i, "class", o = "CategoryIconImg " + /*categoriesicon*/
4148
- (t[3] === "true" ? "" : "DisplayNone")), dt(i.src, s = /*handleSrc*/
4145
+ r = L("li"), n = L("div"), i = L("img"), a = Q(), b.c(), h = Q(), d && d.c(), l = Q(), S(i, "class", s = "CategoryIconImg " + /*categoriesicon*/
4146
+ (t[3] === "true" ? "" : "DisplayNone")), mt(i.src, o = /*handleSrc*/
4149
4147
  t[20](
4150
4148
  /*category*/
4151
4149
  t[57]
4152
- )) || H(i, "src", s), H(n, "class", "CategoryIcon"), H(r, "class", u = "CarouselItem " + /*activeindex*/
4150
+ )) || S(i, "src", o), S(n, "class", "CategoryIcon"), S(r, "class", u = "CarouselItem " + /*activeindex*/
4153
4151
  (t[1]?.toString().indexOf("$") > -1 ? (
4154
4152
  /*activeindex*/
4155
4153
  t[1]?.split("$").pop() == /*category*/
@@ -4161,22 +4159,22 @@ function Gt(e, t) {
4161
4159
  )) + " " + /*location*/
4162
4160
  (t[0] == "headerMain" ? "" : "SecondaryMenu")), this.first = r;
4163
4161
  },
4164
- m(_, w) {
4165
- G(_, r, w), I(r, n), I(n, i), I(r, a), b.m(r, null), I(r, h), d && d.m(r, null), I(r, l), m || (f = V(r, "click", x), m = !0);
4162
+ m(E, w) {
4163
+ G(E, r, w), I(r, n), I(n, i), I(r, a), b.m(r, null), I(r, h), d && d.m(r, null), I(r, l), m || (f = j(r, "click", C), m = !0);
4166
4164
  },
4167
- p(_, w) {
4168
- t = _, w[0] & /*categoriesicon*/
4169
- 8 && o !== (o = "CategoryIconImg " + /*categoriesicon*/
4170
- (t[3] === "true" ? "" : "DisplayNone")) && H(i, "class", o), w[0] & /*sliderdata*/
4171
- 512 && !dt(i.src, s = /*handleSrc*/
4165
+ p(E, w) {
4166
+ t = E, w[0] & /*categoriesicon*/
4167
+ 8 && s !== (s = "CategoryIconImg " + /*categoriesicon*/
4168
+ (t[3] === "true" ? "" : "DisplayNone")) && S(i, "class", s), w[0] & /*sliderdata*/
4169
+ 512 && !mt(i.src, o = /*handleSrc*/
4172
4170
  t[20](
4173
4171
  /*category*/
4174
4172
  t[57]
4175
- )) && H(i, "src", s), g === (g = p(t)) && b ? b.p(t, w) : (b.d(1), b = g(t), b && (b.c(), b.m(r, h))), /*itemsActive*/
4173
+ )) && S(i, "src", o), g === (g = p(t)) && b ? b.p(t, w) : (b.d(1), b = g(t), b && (b.c(), b.m(r, h))), /*itemsActive*/
4176
4174
  t[11][
4177
4175
  /*index*/
4178
4176
  t[59]
4179
- ] == !0 ? d ? d.p(t, w) : (d = Ot(t), d.c(), d.m(r, l)) : d && (d.d(1), d = null), w[0] & /*activeindex, sliderdata, location*/
4177
+ ] == !0 ? d ? d.p(t, w) : (d = Pt(t), d.c(), d.m(r, l)) : d && (d.d(1), d = null), w[0] & /*activeindex, sliderdata, location*/
4180
4178
  515 && u !== (u = "CarouselItem " + /*activeindex*/
4181
4179
  (t[1]?.toString().indexOf("$") > -1 ? (
4182
4180
  /*activeindex*/
@@ -4187,62 +4185,62 @@ function Gt(e, t) {
4187
4185
  t[1] == /*category*/
4188
4186
  t[57].id ? "active" : ""
4189
4187
  )) + " " + /*location*/
4190
- (t[0] == "headerMain" ? "" : "SecondaryMenu")) && H(r, "class", u);
4188
+ (t[0] == "headerMain" ? "" : "SecondaryMenu")) && S(r, "class", u);
4191
4189
  },
4192
- d(_) {
4193
- _ && D(r), b.d(), d && d.d(), m = !1, f();
4190
+ d(E) {
4191
+ E && D(r), b.d(), d && d.d(), m = !1, f();
4194
4192
  }
4195
4193
  };
4196
4194
  }
4197
- function to(e) {
4198
- let t, r, n, i, o, s, a, h, l, u, m, f, p, g, b, d = (
4195
+ function eo(e) {
4196
+ let t, r, n, i, s, o, a, h, l, u, m, f, p, g, b, d = (
4199
4197
  /*sliderdata*/
4200
- e[9].length > 0 && Pt(e)
4198
+ e[9].length > 0 && Nt(e)
4201
4199
  );
4202
4200
  return {
4203
4201
  c() {
4204
- t = L("div"), r = L("div"), n = L("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 = q(), o = L("div"), s = L("ul"), a = L("li"), a.innerHTML = '<a href="#CarouselNav">Close Subs</a>', h = q(), d && d.c(), l = q(), u = L("div"), u.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>', H(n, "class", "CarouselLeftArrow"), H(a, "class", "TouchOnly"), H(s, "id", "CarouselNav"), H(s, "class", "CarouselItems"), H(o, "class", "CarouselNavWrap scroller"), H(u, "class", "CarouselRightArrow"), H(r, "class", m = `CarouselContainer CarouselContainerMobile ${/*location*/
4205
- e[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`), H(r, "style", f = /*location*/
4206
- e[0] === "headerMain" ? "max-width: auto" : void 0), H(t, "class", p = "CarouselWrapper " + /*location*/
4202
+ t = L("div"), r = L("div"), n = L("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 = Q(), s = L("div"), o = L("ul"), a = L("li"), a.innerHTML = '<a href="#CarouselNav">Close Subs</a>', h = Q(), d && d.c(), l = Q(), u = L("div"), u.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(o, "id", "CarouselNav"), S(o, "class", "CarouselItems"), S(s, "class", "CarouselNavWrap scroller"), S(u, "class", "CarouselRightArrow"), S(r, "class", m = `CarouselContainer CarouselContainerMobile ${/*location*/
4203
+ e[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`), S(r, "style", f = /*location*/
4204
+ e[0] === "headerMain" ? "max-width: auto" : void 0), S(t, "class", p = "CarouselWrapper " + /*location*/
4207
4205
  (e[0] === "headerMain" ? "CarouselWrapperHeaderMain" : ""));
4208
4206
  },
4209
- m(x, _) {
4210
- G(x, t, _), I(t, r), I(r, n), I(r, i), I(r, o), I(o, s), I(s, a), I(s, h), d && d.m(s, null), e[40](s), e[41](o), I(r, l), I(r, u), e[43](t), g || (b = [
4211
- V(
4207
+ m(C, E) {
4208
+ G(C, t, E), I(t, r), I(r, n), I(r, i), I(r, s), I(s, o), I(o, a), I(o, h), d && d.m(o, null), e[40](o), e[41](s), I(r, l), I(r, u), e[43](t), g || (b = [
4209
+ j(
4212
4210
  n,
4213
4211
  "click",
4214
4212
  /*click_handler_1*/
4215
4213
  e[37]
4216
4214
  ),
4217
- V(
4218
- s,
4215
+ j(
4216
+ o,
4219
4217
  "mousedown",
4220
4218
  /*handleMouseDown*/
4221
4219
  e[13]
4222
4220
  ),
4223
- V(
4224
- s,
4221
+ j(
4222
+ o,
4225
4223
  "mouseleave",
4226
4224
  /*handleMouseLeave*/
4227
4225
  e[14]
4228
4226
  ),
4229
- V(
4230
- s,
4227
+ j(
4228
+ o,
4231
4229
  "mouseup",
4232
4230
  /*handleMouseUp*/
4233
4231
  e[15]
4234
4232
  ),
4235
- V(
4236
- s,
4233
+ j(
4234
+ o,
4237
4235
  "mousemove",
4238
4236
  /*handleMouseMove*/
4239
4237
  e[16]
4240
4238
  ),
4241
- V(s, "click", kr(
4239
+ j(o, "click", Gr(
4242
4240
  /*click_handler*/
4243
4241
  e[36]
4244
4242
  )),
4245
- V(
4243
+ j(
4246
4244
  u,
4247
4245
  "click",
4248
4246
  /*click_handler_4*/
@@ -4250,195 +4248,195 @@ function to(e) {
4250
4248
  )
4251
4249
  ], g = !0);
4252
4250
  },
4253
- p(x, _) {
4251
+ p(C, E) {
4254
4252
  /*sliderdata*/
4255
- x[9].length > 0 ? d ? d.p(x, _) : (d = Pt(x), d.c(), d.m(s, null)) : d && (d.d(1), d = null), _[0] & /*location*/
4253
+ C[9].length > 0 ? d ? d.p(C, E) : (d = Nt(C), d.c(), d.m(o, null)) : d && (d.d(1), d = null), E[0] & /*location*/
4256
4254
  1 && m !== (m = `CarouselContainer CarouselContainerMobile ${/*location*/
4257
- x[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`) && H(r, "class", m), _[0] & /*location*/
4255
+ C[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`) && S(r, "class", m), E[0] & /*location*/
4258
4256
  1 && f !== (f = /*location*/
4259
- x[0] === "headerMain" ? "max-width: auto" : void 0) && H(r, "style", f), _[0] & /*location*/
4257
+ C[0] === "headerMain" ? "max-width: auto" : void 0) && S(r, "style", f), E[0] & /*location*/
4260
4258
  1 && p !== (p = "CarouselWrapper " + /*location*/
4261
- (x[0] === "headerMain" ? "CarouselWrapperHeaderMain" : "")) && H(t, "class", p);
4259
+ (C[0] === "headerMain" ? "CarouselWrapperHeaderMain" : "")) && S(t, "class", p);
4262
4260
  },
4263
4261
  i: k,
4264
4262
  o: k,
4265
- d(x) {
4266
- x && D(t), d && d.d(), e[40](null), e[41](null), e[43](null), g = !1, J(b);
4263
+ d(C) {
4264
+ C && D(t), d && d.d(), e[40](null), e[41](null), e[43](null), g = !1, q(b);
4267
4265
  }
4268
4266
  };
4269
4267
  }
4270
- function ro(e, t, r) {
4271
- let { endpoint: n = "" } = t, { datasource: i = "" } = t, { onclickeventname: o = "defaultEvent" } = t, { actionevent: s = "defaultEvent" } = t, { favoritesnumber: a = "0" } = t, { location: h = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { identity: m = "" } = t, { translationurl: f = "" } = t, { isprimarymenu: p = !1 } = t, { issecondarymenu: g = !1 } = t, { lang: b = "" } = t, { activeindex: d = "0" } = t, { showsubgroups: x = "false" } = t, { categoriesicon: _ = "false" } = t, { lobbyiconimage: w = "" } = t, { mygamesiconimage: U = "" } = t, { mbsource: N = "" } = t, S;
4272
- qi({ withLocale: "en", translations: {} });
4273
- let C = !1, F = 0, R = 0;
4274
- const K = (c) => {
4275
- c.preventDefault(), C = !0, S?.classList.add("dragging"), F = c.pageX - (S?.offsetLeft ?? 0), R = S?.scrollLeft ?? 0;
4268
+ function to(e, t, r) {
4269
+ let { endpoint: n = "" } = t, { datasource: i = "" } = t, { onclickeventname: s = "defaultEvent" } = t, { actionevent: o = "defaultEvent" } = t, { favoritesnumber: a = "0" } = t, { location: h = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = 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: U = "" } = t, { mbsource: N = "" } = t, T;
4270
+ Qi({ withLocale: "en", translations: {} });
4271
+ let H = !1, F = 0, R = 0;
4272
+ const Y = (c) => {
4273
+ c.preventDefault(), H = !0, T?.classList.add("dragging"), F = c.pageX - (T?.offsetLeft ?? 0), R = T?.scrollLeft ?? 0;
4274
+ }, gr = (c) => {
4275
+ c.preventDefault(), H = !1, T?.classList.remove("dragging");
4276
4276
  }, br = (c) => {
4277
- c.preventDefault(), C = !1, S?.classList.remove("dragging");
4277
+ H = !1, T?.classList.remove("dragging");
4278
4278
  }, yr = (c) => {
4279
- C = !1, S?.classList.remove("dragging");
4280
- }, vr = (c) => {
4281
- if (!C || !S)
4279
+ if (!H || !T)
4282
4280
  return;
4283
4281
  c.preventDefault();
4284
- const O = (c.pageX - S.offsetLeft - F) * 2.5;
4285
- r(5, S.scrollLeft = R - O, S);
4282
+ const O = (c.pageX - T.offsetLeft - F) * 2.5;
4283
+ r(5, T.scrollLeft = R - O, T);
4286
4284
  }, _r = () => {
4287
- fetch(f).then((E) => E.json()).then((E) => {
4288
- Object.keys(E).forEach((O) => {
4289
- Bt(O, E[O]);
4285
+ fetch(f).then((x) => x.json()).then((x) => {
4286
+ Object.keys(x).forEach((O) => {
4287
+ At(O, x[O]);
4290
4288
  });
4291
- }).catch((E) => {
4292
- console.log(E);
4289
+ }).catch((x) => {
4290
+ console.log(x);
4293
4291
  });
4294
4292
  };
4295
- Object.keys(It).forEach((c) => {
4296
- Bt(c, It[c]);
4293
+ Object.keys(Bt).forEach((c) => {
4294
+ At(c, Bt[c]);
4297
4295
  });
4298
- let Z, me, Ue, j, de = [], we = [], ee = [], M, Ge = (c, E, O, Q, X) => {
4299
- if (!(c.subGroups && Q === null)) {
4300
- if (Ce(), r(6, Z = E), r(6, Z), X != "secondary") {
4296
+ let z, fe, Re, $, me = [], xe = [], K = [], M, De = (c, x, O, Z, V) => {
4297
+ if (!(c.subGroups && Z === null)) {
4298
+ if (Ce(), r(6, z = x), r(6, z), V != "secondary") {
4301
4299
  window.postMessage(
4302
4300
  {
4303
- type: s == "CategoryChange" ? "CategoryChange" : "NavigateTo",
4301
+ type: o == "CategoryChange" ? "CategoryChange" : "NavigateTo",
4304
4302
  buzz: "1",
4305
4303
  itemId: c.id,
4306
- index: E,
4304
+ index: x,
4307
4305
  item: c,
4308
4306
  path: c.path,
4309
4307
  externalLink: c.externalLink || !1,
4310
4308
  target: c.attrs?.target || null
4311
4309
  },
4312
4310
  window.location.href
4313
- ), r(7, me = null), r(8, Ue = null);
4311
+ ), r(7, fe = null), r(8, Re = null);
4314
4312
  return;
4315
4313
  }
4316
- r(7, me = Q), r(7, me), r(8, Ue = me), window.postMessage(
4314
+ r(7, fe = Z), r(7, fe), r(8, Re = fe), window.postMessage(
4317
4315
  {
4318
- type: s,
4316
+ type: o,
4319
4317
  itemId: O.id,
4320
- subIndex: Q,
4318
+ subIndex: Z,
4321
4319
  subItem: O
4322
4320
  },
4323
4321
  window.location.href
4324
4322
  );
4325
4323
  }
4324
+ }, lt = () => {
4325
+ M && (K.length !== z ? r(12, M.scrollLeft -= 250, M) : r(12, M.scrollLeft = 0, M));
4326
4326
  }, ut = () => {
4327
- M && (ee.length !== Z ? r(12, M.scrollLeft -= 250, M) : r(12, M.scrollLeft = 0, M));
4328
- }, ht = () => {
4329
- M && (ee.length !== Z ? r(12, M.scrollLeft += 250, M) : r(12, M.scrollLeft = 0, M));
4327
+ M && (K.length !== z ? r(12, M.scrollLeft += 250, M) : r(12, M.scrollLeft = 0, M));
4330
4328
  };
4331
- const ct = (c) => {
4332
- c.data.type == "SliderData" && c.data.identity == m && (r(9, de = c.data.data), r(11, ee = new Array(de.length).fill(!1)), x == "true" && wr()), c.data.type == "GoToHomepage" && de.forEach((E, O) => {
4333
- E.path.endsWith("/casino") && (r(6, Z = O), r(6, Z));
4329
+ const ht = (c) => {
4330
+ c.data.type == "SliderData" && c.data.identity == m && (r(9, me = c.data.data), r(11, K = new Array(me.length).fill(!1)), C == "true" && xr()), c.data.type == "GoToHomepage" && me.forEach((x, O) => {
4331
+ x.path.endsWith("/casino") && (r(6, z = O), r(6, z));
4334
4332
  });
4335
- }, Er = () => {
4336
- Ji(b);
4337
- }, xr = (c, E, O) => {
4333
+ }, vr = () => {
4334
+ qi(b);
4335
+ }, Er = (c, x, O) => {
4338
4336
  if (h == "secondaryMenu" && n && i && b && c.id) {
4339
- let Q = new URL(`${n}/v1/casino/groups/${i}/${c.id}/subGroups?language=${b}`);
4340
- fetch(Q.href).then((X) => X.json()).then((X) => {
4341
- X.index = E, r(10, we = we.concat(X)), x == "false" && window.postMessage(
4337
+ let Z = new URL(`${n}/v1/casino/groups/${i}/${c.id}/subGroups?language=${b}`);
4338
+ fetch(Z.href).then((V) => V.json()).then((V) => {
4339
+ V.index = x, r(10, xe = xe.concat(V)), C == "false" && window.postMessage(
4342
4340
  {
4343
- type: s,
4341
+ type: o,
4344
4342
  itemId: c.id,
4345
- index: E,
4343
+ index: x,
4346
4344
  item: c
4347
4345
  },
4348
4346
  window.location.href
4349
4347
  );
4350
- const He = [];
4351
- we.map((Nr) => (Nr.items.forEach((ft) => {
4352
- He.find((Pr) => ft.id == Pr) || He.push(ft.id);
4353
- }), He.flat())), window.postMessage({ type: "SubgroupsIds", subGroupsIds: He }, window.location.href);
4348
+ const we = [];
4349
+ xe.map((Lr) => (Lr.items.forEach((ct) => {
4350
+ we.find((Nr) => ct.id == Nr) || we.push(ct.id);
4351
+ }), we.flat())), window.postMessage({ type: "SubgroupsIds", subGroupsIds: we }, window.location.href);
4354
4352
  }).then(() => {
4355
- S.querySelectorAll(".DropDown") && Ce();
4353
+ T.querySelectorAll(".DropDown") && Ce();
4356
4354
  });
4357
4355
  }
4358
- h == "headerMain" && window.postMessage({ type: s, item: c }, window.location.href);
4356
+ h == "headerMain" && window.postMessage({ type: o, item: c }, window.location.href);
4359
4357
  }, Ce = () => {
4360
- const c = S.querySelectorAll(".DropDown");
4358
+ const c = T.querySelectorAll(".DropDown");
4361
4359
  document.activeElement.blur(), M.classList.add("isScrolling");
4362
- for (let E = 0; E < c.length; E++)
4363
- c[E].style.transform = "translateX(-" + M.scrollLeft + "px)";
4360
+ for (let x = 0; x < c.length; x++)
4361
+ c[x].style.transform = "translateX(-" + M.scrollLeft + "px)";
4364
4362
  M.classList.remove("isScrolling");
4365
- }, wr = () => {
4366
- de.forEach((c, E) => {
4367
- c?.subGroups?.count > 0 && (r(11, ee[E] = !0, ee), xr(c, E));
4363
+ }, xr = () => {
4364
+ me.forEach((c, x) => {
4365
+ c?.subGroups?.count > 0 && (r(11, K[x] = !0, K), Er(c, x));
4368
4366
  });
4369
4367
  }, Cr = (c) => {
4370
- let E = "";
4371
- return c.id === "LOBBY" ? E = w : c.id === "MYGAMES" && (E = U), c.icon || E;
4368
+ let x = "";
4369
+ return c.id === "LOBBY" ? x = w : c.id === "MYGAMES" && (x = U), c.icon || x;
4372
4370
  };
4373
- Xr(() => (window.addEventListener("message", ct, !1), "ontouchstart" in document.documentElement && (document.documentElement.className += " touch-device"), setTimeout(
4371
+ Vr(() => (window.addEventListener("message", ht, !1), "ontouchstart" in document.documentElement && (document.documentElement.className += " touch-device"), setTimeout(
4374
4372
  () => {
4375
4373
  M.addEventListener("scroll", Ce);
4376
4374
  },
4377
4375
  500
4378
4376
  ), window.postMessage({ type: "SliderLoaded", identity: m }), () => {
4379
- window.removeEventListener("message", ct), S.removeEventListener("scroll", Ce);
4377
+ window.removeEventListener("message", ht), T.removeEventListener("scroll", Ce);
4380
4378
  }));
4381
- function Hr(c) {
4382
- Wr.call(this, e, c);
4379
+ function wr(c) {
4380
+ Xr.call(this, e, c);
4383
4381
  }
4384
- const Sr = () => ut(), Tr = (c, E, O, Q, X) => {
4385
- Ge(c, E, O, Q, "secondary"), X.stopPropagation();
4386
- }, Ar = (c, E, O) => {
4387
- Ge(c, E, null, null, "main"), O.preventDefault();
4382
+ const Hr = () => lt(), Sr = (c, x, O, Z, V) => {
4383
+ De(c, x, O, Z, "secondary"), V.stopPropagation();
4384
+ }, Tr = (c, x, O) => {
4385
+ De(c, x, null, null, "main"), O.preventDefault();
4388
4386
  };
4389
- function Br(c) {
4390
- be[c ? "unshift" : "push"](() => {
4391
- S = c, r(5, S);
4387
+ function Ar(c) {
4388
+ ge[c ? "unshift" : "push"](() => {
4389
+ T = c, r(5, T);
4392
4390
  });
4393
4391
  }
4394
- function Ir(c) {
4395
- be[c ? "unshift" : "push"](() => {
4392
+ function Br(c) {
4393
+ ge[c ? "unshift" : "push"](() => {
4396
4394
  M = c, r(12, M);
4397
4395
  });
4398
4396
  }
4399
- const Mr = () => ht();
4400
- function Lr(c) {
4401
- be[c ? "unshift" : "push"](() => {
4402
- j = c, r(4, j);
4397
+ const Ir = () => ut();
4398
+ function Mr(c) {
4399
+ ge[c ? "unshift" : "push"](() => {
4400
+ $ = c, r(4, $);
4403
4401
  });
4404
4402
  }
4405
4403
  return e.$$set = (c) => {
4406
- "endpoint" in c && r(21, n = c.endpoint), "datasource" in c && r(22, i = c.datasource), "onclickeventname" in c && r(23, o = c.onclickeventname), "actionevent" in c && r(24, s = c.actionevent), "favoritesnumber" in c && r(25, a = c.favoritesnumber), "location" in c && r(0, h = c.location), "clientstyling" in c && r(26, l = c.clientstyling), "clientstylingurl" in c && r(27, u = c.clientstylingurl), "identity" in c && r(28, m = c.identity), "translationurl" in c && r(29, f = c.translationurl), "isprimarymenu" in c && r(30, p = c.isprimarymenu), "issecondarymenu" in c && r(31, g = c.issecondarymenu), "lang" in c && r(32, b = c.lang), "activeindex" in c && r(1, d = c.activeindex), "showsubgroups" in c && r(2, x = c.showsubgroups), "categoriesicon" in c && r(3, _ = c.categoriesicon), "lobbyiconimage" in c && r(33, w = c.lobbyiconimage), "mygamesiconimage" in c && r(34, U = c.mygamesiconimage), "mbsource" in c && r(35, N = c.mbsource);
4404
+ "endpoint" in c && r(21, n = c.endpoint), "datasource" in c && r(22, i = c.datasource), "onclickeventname" in c && r(23, s = c.onclickeventname), "actionevent" in c && r(24, o = c.actionevent), "favoritesnumber" in c && r(25, a = c.favoritesnumber), "location" in c && r(0, h = c.location), "clientstyling" in c && r(26, l = c.clientstyling), "clientstylingurl" in c && r(27, u = c.clientstylingurl), "identity" in c && r(28, m = c.identity), "translationurl" in c && r(29, f = c.translationurl), "isprimarymenu" in c && r(30, p = c.isprimarymenu), "issecondarymenu" in c && r(31, g = c.issecondarymenu), "lang" in c && r(32, b = c.lang), "activeindex" in c && r(1, d = c.activeindex), "showsubgroups" in c && r(2, C = c.showsubgroups), "categoriesicon" in c && r(3, E = c.categoriesicon), "lobbyiconimage" in c && r(33, w = c.lobbyiconimage), "mygamesiconimage" in c && r(34, U = c.mygamesiconimage), "mbsource" in c && r(35, N = c.mbsource);
4407
4405
  }, e.$$.update = () => {
4408
4406
  e.$$.dirty[0] & /*activeindex*/
4409
4407
  2, e.$$.dirty[0] & /*translationurl*/
4410
4408
  536870912 && f && _r(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4411
- 67108880 && l && j && sn(j, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4412
- 134217744 && u && j && an(j, u), e.$$.dirty[0] & /*customStylingContainer*/
4409
+ 67108880 && l && $ && on($, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4410
+ 134217744 && u && $ && sn($, u), e.$$.dirty[0] & /*customStylingContainer*/
4413
4411
  16 | e.$$.dirty[1] & /*mbsource*/
4414
- 16 && N && j && ln(j, `${N}.Style`), e.$$.dirty[1] & /*lang*/
4415
- 2 && b && Er();
4412
+ 16 && N && $ && an($, `${N}.Style`), e.$$.dirty[1] & /*lang*/
4413
+ 2 && b && vr();
4416
4414
  }, [
4417
4415
  h,
4418
4416
  d,
4419
- x,
4420
- _,
4421
- j,
4422
- S,
4423
- Z,
4417
+ C,
4418
+ E,
4419
+ $,
4420
+ T,
4421
+ z,
4422
+ fe,
4423
+ Re,
4424
4424
  me,
4425
- Ue,
4426
- de,
4427
- we,
4428
- ee,
4429
- M,
4425
+ xe,
4430
4426
  K,
4427
+ M,
4428
+ Y,
4429
+ gr,
4431
4430
  br,
4432
4431
  yr,
4433
- vr,
4434
- Ge,
4432
+ De,
4433
+ lt,
4435
4434
  ut,
4436
- ht,
4437
4435
  Cr,
4438
4436
  n,
4439
4437
  i,
4440
- o,
4441
4438
  s,
4439
+ o,
4442
4440
  a,
4443
4441
  l,
4444
4442
  u,
@@ -4450,24 +4448,24 @@ function ro(e, t, r) {
4450
4448
  w,
4451
4449
  U,
4452
4450
  N,
4451
+ wr,
4453
4452
  Hr,
4454
4453
  Sr,
4455
4454
  Tr,
4456
4455
  Ar,
4457
4456
  Br,
4458
4457
  Ir,
4459
- Mr,
4460
- Lr
4458
+ Mr
4461
4459
  ];
4462
4460
  }
4463
- class no extends nn {
4461
+ class ro extends rn {
4464
4462
  constructor(t) {
4465
- super(), tn(
4463
+ super(), en(
4466
4464
  this,
4467
4465
  t,
4468
- ro,
4469
4466
  to,
4470
- $t,
4467
+ eo,
4468
+ kt,
4471
4469
  {
4472
4470
  endpoint: 21,
4473
4471
  datasource: 22,
@@ -4489,7 +4487,7 @@ class no extends nn {
4489
4487
  mygamesiconimage: 34,
4490
4488
  mbsource: 35
4491
4489
  },
4492
- Yi,
4490
+ Ji,
4493
4491
  [-1, -1, -1]
4494
4492
  );
4495
4493
  }
@@ -4608,7 +4606,7 @@ class no extends nn {
4608
4606
  this.$$set({ mbsource: t }), B();
4609
4607
  }
4610
4608
  }
4611
- rn(no, { endpoint: {}, datasource: {}, onclickeventname: {}, actionevent: {}, favoritesnumber: {}, location: {}, clientstyling: {}, clientstylingurl: {}, identity: {}, translationurl: {}, isprimarymenu: { type: "Boolean" }, issecondarymenu: { type: "Boolean" }, lang: {}, activeindex: {}, showsubgroups: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {}, mbsource: {} }, [], [], !0);
4609
+ tn(ro, { endpoint: {}, datasource: {}, onclickeventname: {}, actionevent: {}, favoritesnumber: {}, location: {}, clientstyling: {}, clientstylingurl: {}, identity: {}, translationurl: {}, isprimarymenu: { type: "Boolean" }, issecondarymenu: { type: "Boolean" }, lang: {}, activeindex: {}, showsubgroups: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {}, mbsource: {} }, [], [], !0);
4612
4610
  export {
4613
- no as C
4611
+ ro as C
4614
4612
  };