@everymatrix/casino-slider 1.54.11 → 1.55.0

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,17 +1,17 @@
1
- var Nr = Object.defineProperty, Pr = Object.defineProperties;
1
+ var Pr = Object.defineProperty, Lr = Object.defineProperties;
2
2
  var Or = Object.getOwnPropertyDescriptors;
3
- var ut = Object.getOwnPropertySymbols;
4
- var Lr = Object.prototype.hasOwnProperty, Fr = Object.prototype.propertyIsEnumerable;
5
- var Fe = (e, t, r) => t in e ? Nr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ht = (e, t) => {
3
+ var ft = Object.getOwnPropertySymbols;
4
+ var Fr = Object.prototype.hasOwnProperty, Rr = Object.prototype.propertyIsEnumerable;
5
+ var Re = (e, t, r) => t in e ? Pr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, mt = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- Lr.call(t, r) && Fe(e, r, t[r]);
8
- if (ut)
9
- for (var r of ut(t))
10
- Fr.call(t, r) && Fe(e, r, t[r]);
7
+ Fr.call(t, r) && Re(e, r, t[r]);
8
+ if (ft)
9
+ for (var r of ft(t))
10
+ Rr.call(t, r) && Re(e, r, t[r]);
11
11
  return e;
12
- }, ct = (e, t) => Pr(e, Or(t));
13
- var U = (e, t, r) => Fe(e, typeof t != "symbol" ? t + "" : t, r);
14
- var ft = (e, t, r) => new Promise((n, i) => {
12
+ }, dt = (e, t) => Lr(e, Or(t));
13
+ var D = (e, t, r) => Re(e, typeof t != "symbol" ? t + "" : t, r);
14
+ var pt = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (u) => {
16
16
  try {
17
17
  a(r.next(u));
@@ -27,50 +27,50 @@ var ft = (e, t, r) => new Promise((n, i) => {
27
27
  }, a = (u) => u.done ? n(u.value) : Promise.resolve(u.value).then(o, s);
28
28
  a((r = r.apply(e, t)).next());
29
29
  });
30
- function $() {
30
+ function G() {
31
31
  }
32
- function kt(e) {
32
+ function Vt(e) {
33
33
  return e();
34
34
  }
35
- function mt() {
35
+ function gt() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
- function q(e) {
39
- e.forEach(kt);
38
+ function J(e) {
39
+ e.forEach(Vt);
40
40
  }
41
- function tt(e) {
41
+ function rt(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function $t(e, t) {
44
+ function Xt(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
- let xe;
48
- function dt(e, t) {
49
- return e === t ? !0 : (xe || (xe = document.createElement("a")), xe.href = t, e === xe.href);
47
+ let Ce;
48
+ function bt(e, t) {
49
+ return e === t ? !0 : (Ce || (Ce = document.createElement("a")), Ce.href = t, e === Ce.href);
50
50
  }
51
- function Rr(e) {
51
+ function Dr(e) {
52
52
  return Object.keys(e).length === 0;
53
53
  }
54
- function Dr(e, ...t) {
54
+ function Ur(e, ...t) {
55
55
  if (e == null) {
56
56
  for (const n of t)
57
57
  n(void 0);
58
- return $;
58
+ return G;
59
59
  }
60
60
  const r = e.subscribe(...t);
61
61
  return r.unsubscribe ? () => r.unsubscribe() : r;
62
62
  }
63
- function I(e, t) {
63
+ function B(e, t) {
64
64
  e.appendChild(t);
65
65
  }
66
66
  function Gr(e, t, r) {
67
- const n = Ur(e);
67
+ const n = kr(e);
68
68
  if (!n.getElementById(t)) {
69
69
  const i = M("style");
70
- i.id = t, i.textContent = r, kr(n, i);
70
+ i.id = t, i.textContent = r, $r(n, i);
71
71
  }
72
72
  }
73
- function Ur(e) {
73
+ function kr(e) {
74
74
  if (!e) return document;
75
75
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
76
76
  return t && /** @type {ShadowRoot} */
@@ -79,49 +79,49 @@ function Ur(e) {
79
79
  t
80
80
  ) : e.ownerDocument;
81
81
  }
82
- function kr(e, t) {
83
- return I(
82
+ function $r(e, t) {
83
+ return B(
84
84
  /** @type {Document} */
85
85
  e.head || e,
86
86
  t
87
87
  ), t.sheet;
88
88
  }
89
- function k(e, t, r) {
89
+ function U(e, t, r) {
90
90
  e.insertBefore(t, r || null);
91
91
  }
92
- function D(e) {
92
+ function R(e) {
93
93
  e.parentNode && e.parentNode.removeChild(e);
94
94
  }
95
- function $r(e, t) {
95
+ function jr(e, t) {
96
96
  for (let r = 0; r < e.length; r += 1)
97
97
  e[r] && e[r].d(t);
98
98
  }
99
99
  function M(e) {
100
100
  return document.createElement(e);
101
101
  }
102
- function ye(e) {
102
+ function ve(e) {
103
103
  return document.createTextNode(e);
104
104
  }
105
- function Q() {
106
- return ye(" ");
105
+ function q() {
106
+ return ve(" ");
107
107
  }
108
- function de() {
109
- return ye("");
108
+ function pe() {
109
+ return ve("");
110
110
  }
111
- function Te(e, t, r, n) {
111
+ function Ae(e, t, r, n) {
112
112
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
113
113
  }
114
114
  function S(e, t, r) {
115
115
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
116
116
  }
117
- function jr(e) {
117
+ function Vr(e) {
118
118
  return Array.from(e.childNodes);
119
119
  }
120
- function rt(e, t) {
120
+ function nt(e, t) {
121
121
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
122
122
  t);
123
123
  }
124
- function Vr(e) {
124
+ function Xr(e) {
125
125
  const t = {};
126
126
  return e.childNodes.forEach(
127
127
  /** @param {Element} node */
@@ -130,124 +130,124 @@ function Vr(e) {
130
130
  }
131
131
  ), t;
132
132
  }
133
- let pe;
134
- function fe(e) {
135
- pe = e;
133
+ let ge;
134
+ function me(e) {
135
+ ge = e;
136
136
  }
137
- function Xr() {
138
- if (!pe) throw new Error("Function called outside component initialization");
139
- return pe;
137
+ function Wr() {
138
+ if (!ge) throw new Error("Function called outside component initialization");
139
+ return ge;
140
140
  }
141
- function Wr(e) {
142
- Xr().$$.on_mount.push(e);
141
+ function zr(e) {
142
+ Wr().$$.on_mount.push(e);
143
143
  }
144
- const ee = [], me = [];
145
- let te = [];
146
- const pt = [], zr = /* @__PURE__ */ Promise.resolve();
147
- let Ve = !1;
148
- function Zr() {
149
- Ve || (Ve = !0, zr.then(A));
144
+ const te = [], de = [];
145
+ let re = [];
146
+ const yt = [], Zr = /* @__PURE__ */ Promise.resolve();
147
+ let Xe = !1;
148
+ function Qr() {
149
+ Xe || (Xe = !0, Zr.then(A));
150
150
  }
151
- function Xe(e) {
152
- te.push(e);
151
+ function We(e) {
152
+ re.push(e);
153
153
  }
154
- const Re = /* @__PURE__ */ new Set();
155
- let Y = 0;
154
+ const De = /* @__PURE__ */ new Set();
155
+ let K = 0;
156
156
  function A() {
157
- if (Y !== 0)
157
+ if (K !== 0)
158
158
  return;
159
- const e = pe;
159
+ const e = ge;
160
160
  do {
161
161
  try {
162
- for (; Y < ee.length; ) {
163
- const t = ee[Y];
164
- Y++, fe(t), Qr(t.$$);
162
+ for (; K < te.length; ) {
163
+ const t = te[K];
164
+ K++, me(t), qr(t.$$);
165
165
  }
166
166
  } catch (t) {
167
- throw ee.length = 0, Y = 0, t;
167
+ throw te.length = 0, K = 0, t;
168
168
  }
169
- for (fe(null), ee.length = 0, Y = 0; me.length; ) me.pop()();
170
- for (let t = 0; t < te.length; t += 1) {
171
- const r = te[t];
172
- Re.has(r) || (Re.add(r), r());
169
+ for (me(null), te.length = 0, K = 0; de.length; ) de.pop()();
170
+ for (let t = 0; t < re.length; t += 1) {
171
+ const r = re[t];
172
+ De.has(r) || (De.add(r), r());
173
173
  }
174
- te.length = 0;
175
- } while (ee.length);
176
- for (; pt.length; )
177
- pt.pop()();
178
- Ve = !1, Re.clear(), fe(e);
174
+ re.length = 0;
175
+ } while (te.length);
176
+ for (; yt.length; )
177
+ yt.pop()();
178
+ Xe = !1, De.clear(), me(e);
179
179
  }
180
- function Qr(e) {
180
+ function qr(e) {
181
181
  if (e.fragment !== null) {
182
- e.update(), q(e.before_update);
182
+ e.update(), J(e.before_update);
183
183
  const t = e.dirty;
184
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Xe);
184
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(We);
185
185
  }
186
186
  }
187
- function qr(e) {
187
+ function Jr(e) {
188
188
  const t = [], r = [];
189
- te.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), te = t;
189
+ re.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), re = t;
190
190
  }
191
- const Jr = /* @__PURE__ */ new Set();
192
- function jt(e, t) {
193
- e && e.i && (Jr.delete(e), e.i(t));
191
+ const Yr = /* @__PURE__ */ new Set();
192
+ function Wt(e, t) {
193
+ e && e.i && (Yr.delete(e), e.i(t));
194
194
  }
195
- function re(e) {
195
+ function ne(e) {
196
196
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
197
197
  }
198
- function Vt(e, t) {
198
+ function zt(e, t) {
199
199
  e.d(1), t.delete(e.key);
200
200
  }
201
- function Xt(e, t, r, n, i, o, s, a, u, l, h, m) {
201
+ function Zt(e, t, r, n, i, o, s, a, u, l, h, m) {
202
202
  let f = e.length, p = o.length, g = f;
203
203
  const b = {};
204
204
  for (; g--; ) b[e[g].key] = g;
205
- const d = [], w = /* @__PURE__ */ new Map(), _ = /* @__PURE__ */ new Map(), C = [];
205
+ const d = [], H = /* @__PURE__ */ new Map(), _ = /* @__PURE__ */ new Map(), x = [];
206
206
  for (g = p; g--; ) {
207
- const H = m(i, o, g), N = r(H);
208
- let R = s.get(N);
209
- R ? C.push(() => R.p(H, t)) : (R = l(N, H), R.c()), w.set(N, d[g] = R), N in b && _.set(N, Math.abs(g - b[N]));
207
+ const w = m(i, o, g), N = r(w);
208
+ let P = s.get(N);
209
+ P ? x.push(() => P.p(w, t)) : (P = l(N, w), P.c()), H.set(N, d[g] = P), N in b && _.set(N, Math.abs(g - b[N]));
210
210
  }
211
- const P = /* @__PURE__ */ new Set(), O = /* @__PURE__ */ new Set();
212
- function L(H) {
213
- jt(H, 1), H.m(a, h), s.set(H.key, H), h = H.first, p--;
211
+ const L = /* @__PURE__ */ new Set(), I = /* @__PURE__ */ new Set();
212
+ function k(w) {
213
+ Wt(w, 1), w.m(a, h), s.set(w.key, w), h = w.first, p--;
214
214
  }
215
215
  for (; f && p; ) {
216
- const H = d[p - 1], N = e[f - 1], R = H.key, G = N.key;
217
- H === N ? (h = H.first, f--, p--) : w.has(G) ? !s.has(R) || P.has(R) ? L(H) : O.has(G) ? f-- : _.get(R) > _.get(G) ? (O.add(R), L(H)) : (P.add(G), f--) : (u(N, s), f--);
216
+ const w = d[p - 1], N = e[f - 1], P = w.key, V = N.key;
217
+ w === N ? (h = w.first, f--, p--) : H.has(V) ? !s.has(P) || L.has(P) ? k(w) : I.has(V) ? f-- : _.get(P) > _.get(V) ? (I.add(P), k(w)) : (L.add(V), f--) : (u(N, s), f--);
218
218
  }
219
219
  for (; f--; ) {
220
- const H = e[f];
221
- w.has(H.key) || u(H, s);
220
+ const w = e[f];
221
+ H.has(w.key) || u(w, s);
222
222
  }
223
- for (; p; ) L(d[p - 1]);
224
- return q(C), d;
223
+ for (; p; ) k(d[p - 1]);
224
+ return J(x), d;
225
225
  }
226
- function Yr(e, t, r) {
226
+ function Kr(e, t, r) {
227
227
  const { fragment: n, after_update: i } = e.$$;
228
- n && n.m(t, r), Xe(() => {
229
- const o = e.$$.on_mount.map(kt).filter(tt);
230
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : q(o), e.$$.on_mount = [];
231
- }), i.forEach(Xe);
228
+ n && n.m(t, r), We(() => {
229
+ const o = e.$$.on_mount.map(Vt).filter(rt);
230
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : J(o), e.$$.on_mount = [];
231
+ }), i.forEach(We);
232
232
  }
233
- function Kr(e, t) {
233
+ function en(e, t) {
234
234
  const r = e.$$;
235
- 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 = []);
235
+ r.fragment !== null && (Jr(r.after_update), J(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
236
236
  }
237
- function en(e, t) {
238
- e.$$.dirty[0] === -1 && (ee.push(e), Zr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
237
+ function tn(e, t) {
238
+ e.$$.dirty[0] === -1 && (te.push(e), Qr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
239
239
  }
240
- function tn(e, t, r, n, i, o, s = null, a = [-1]) {
241
- const u = pe;
242
- fe(e);
240
+ function rn(e, t, r, n, i, o, s = null, a = [-1]) {
241
+ const u = ge;
242
+ me(e);
243
243
  const l = e.$$ = {
244
244
  fragment: null,
245
245
  ctx: [],
246
246
  // state
247
247
  props: o,
248
- update: $,
248
+ update: G,
249
249
  not_equal: i,
250
- bound: mt(),
250
+ bound: gt(),
251
251
  // lifecycle
252
252
  on_mount: [],
253
253
  on_destroy: [],
@@ -256,7 +256,7 @@ function tn(e, t, r, n, i, o, s = null, a = [-1]) {
256
256
  after_update: [],
257
257
  context: new Map(t.context || (u ? u.$$.context : [])),
258
258
  // everything else
259
- callbacks: mt(),
259
+ callbacks: gt(),
260
260
  dirty: a,
261
261
  skip_bound: !1,
262
262
  root: t.target || u.$$.root
@@ -265,39 +265,39 @@ function tn(e, t, r, n, i, o, s = null, a = [-1]) {
265
265
  let h = !1;
266
266
  if (l.ctx = r ? r(e, t.props || {}, (m, f, ...p) => {
267
267
  const g = p.length ? p[0] : f;
268
- return l.ctx && i(l.ctx[m], l.ctx[m] = g) && (!l.skip_bound && l.bound[m] && l.bound[m](g), h && en(e, m)), f;
269
- }) : [], l.update(), h = !0, q(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
268
+ return l.ctx && i(l.ctx[m], l.ctx[m] = g) && (!l.skip_bound && l.bound[m] && l.bound[m](g), h && tn(e, m)), f;
269
+ }) : [], l.update(), h = !0, J(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
270
270
  if (t.hydrate) {
271
- const m = jr(t.target);
272
- l.fragment && l.fragment.l(m), m.forEach(D);
271
+ const m = Vr(t.target);
272
+ l.fragment && l.fragment.l(m), m.forEach(R);
273
273
  } else
274
274
  l.fragment && l.fragment.c();
275
- t.intro && jt(e.$$.fragment), Yr(e, t.target, t.anchor), A();
275
+ t.intro && Wt(e.$$.fragment), Kr(e, t.target, t.anchor), A();
276
276
  }
277
- fe(u);
277
+ me(u);
278
278
  }
279
- let Wt;
280
- typeof HTMLElement == "function" && (Wt = class extends HTMLElement {
279
+ let Qt;
280
+ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
281
281
  constructor(t, r, n) {
282
282
  super();
283
283
  /** The Svelte component constructor */
284
- U(this, "$$ctor");
284
+ D(this, "$$ctor");
285
285
  /** Slots */
286
- U(this, "$$s");
286
+ D(this, "$$s");
287
287
  /** The Svelte component instance */
288
- U(this, "$$c");
288
+ D(this, "$$c");
289
289
  /** Whether or not the custom element is connected */
290
- U(this, "$$cn", !1);
290
+ D(this, "$$cn", !1);
291
291
  /** Component props data */
292
- U(this, "$$d", {});
292
+ D(this, "$$d", {});
293
293
  /** `true` if currently in the process of reflecting component props back to attributes */
294
- U(this, "$$r", !1);
294
+ D(this, "$$r", !1);
295
295
  /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
296
- U(this, "$$p_d", {});
296
+ D(this, "$$p_d", {});
297
297
  /** @type {Record<string, Function[]>} Event listeners */
298
- U(this, "$$l", {});
298
+ D(this, "$$l", {});
299
299
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
300
- U(this, "$$l_u", /* @__PURE__ */ new Map());
300
+ D(this, "$$l_u", /* @__PURE__ */ new Map());
301
301
  this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
302
302
  }
303
303
  addEventListener(t, r, n) {
@@ -314,7 +314,7 @@ typeof HTMLElement == "function" && (Wt = class extends HTMLElement {
314
314
  }
315
315
  }
316
316
  connectedCallback() {
317
- return ft(this, null, function* () {
317
+ return pt(this, null, function* () {
318
318
  if (this.$$cn = !0, !this.$$c) {
319
319
  let t = function(o) {
320
320
  return () => {
@@ -328,28 +328,28 @@ typeof HTMLElement == "function" && (Wt = class extends HTMLElement {
328
328
  * @param {HTMLElement} [anchor]
329
329
  */
330
330
  m: function(l, h) {
331
- k(l, s, h);
331
+ U(l, s, h);
332
332
  },
333
333
  d: function(l) {
334
- l && D(s);
334
+ l && R(s);
335
335
  }
336
336
  };
337
337
  };
338
338
  };
339
339
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
340
340
  return;
341
- const r = {}, n = Vr(this);
341
+ const r = {}, n = Xr(this);
342
342
  for (const o of this.$$s)
343
343
  o in n && (r[o] = [t(o)]);
344
344
  for (const o of this.attributes) {
345
345
  const s = this.$$g_p(o.name);
346
- s in this.$$d || (this.$$d[s] = we(s, o.value, this.$$p_d, "toProp"));
346
+ s in this.$$d || (this.$$d[s] = He(s, o.value, this.$$p_d, "toProp"));
347
347
  }
348
348
  for (const o in this.$$p_d)
349
349
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
350
350
  this.$$c = new this.$$ctor({
351
351
  target: this.shadowRoot || this,
352
- props: ct(ht({}, this.$$d), {
352
+ props: dt(mt({}, this.$$d), {
353
353
  $$slots: r,
354
354
  $$scope: {
355
355
  ctx: []
@@ -360,7 +360,7 @@ typeof HTMLElement == "function" && (Wt = class extends HTMLElement {
360
360
  this.$$r = !0;
361
361
  for (const o in this.$$p_d)
362
362
  if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
363
- const s = we(
363
+ const s = He(
364
364
  o,
365
365
  this.$$d[o],
366
366
  this.$$p_d,
@@ -384,7 +384,7 @@ typeof HTMLElement == "function" && (Wt = class extends HTMLElement {
384
384
  // and setting attributes through setAttribute etc, this is helpful
385
385
  attributeChangedCallback(t, r, n) {
386
386
  var i;
387
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = we(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
387
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = He(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
388
388
  }
389
389
  disconnectedCallback() {
390
390
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -397,7 +397,7 @@ typeof HTMLElement == "function" && (Wt = class extends HTMLElement {
397
397
  ) || t;
398
398
  }
399
399
  });
400
- function we(e, t, r, n) {
400
+ function He(e, t, r, n) {
401
401
  var o;
402
402
  const i = (o = r[e]) == null ? void 0 : o.type;
403
403
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
@@ -427,8 +427,8 @@ function we(e, t, r, n) {
427
427
  return t;
428
428
  }
429
429
  }
430
- function rn(e, t, r, n, i, o) {
431
- let s = class extends Wt {
430
+ function nn(e, t, r, n, i, o) {
431
+ let s = class extends Qt {
432
432
  constructor() {
433
433
  super(e, r, i), this.$$p_d = t;
434
434
  }
@@ -445,7 +445,7 @@ function rn(e, t, r, n, i, o) {
445
445
  },
446
446
  set(u) {
447
447
  var l;
448
- u = we(a, u, t), this.$$d[a] = u, (l = this.$$c) == null || l.$set({ [a]: u });
448
+ u = He(a, u, t), this.$$d[a] = u, (l = this.$$c) == null || l.$set({ [a]: u });
449
449
  }
450
450
  });
451
451
  }), n.forEach((a) => {
@@ -458,7 +458,7 @@ function rn(e, t, r, n, i, o) {
458
458
  }), e.element = /** @type {any} */
459
459
  s, s;
460
460
  }
461
- class nn {
461
+ class on {
462
462
  constructor() {
463
463
  /**
464
464
  * ### PRIVATE API
@@ -467,7 +467,7 @@ class nn {
467
467
  *
468
468
  * @type {any}
469
469
  */
470
- U(this, "$$");
470
+ D(this, "$$");
471
471
  /**
472
472
  * ### PRIVATE API
473
473
  *
@@ -475,11 +475,11 @@ class nn {
475
475
  *
476
476
  * @type {any}
477
477
  */
478
- U(this, "$$set");
478
+ D(this, "$$set");
479
479
  }
480
480
  /** @returns {void} */
481
481
  $destroy() {
482
- Kr(this, 1), this.$destroy = $;
482
+ en(this, 1), this.$destroy = G;
483
483
  }
484
484
  /**
485
485
  * @template {Extract<keyof Events, string>} K
@@ -488,8 +488,8 @@ class nn {
488
488
  * @returns {() => void}
489
489
  */
490
490
  $on(t, r) {
491
- if (!tt(r))
492
- return $;
491
+ if (!rt(r))
492
+ return G;
493
493
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
494
494
  return n.push(r), () => {
495
495
  const i = n.indexOf(r);
@@ -501,60 +501,83 @@ class nn {
501
501
  * @returns {void}
502
502
  */
503
503
  $set(t) {
504
- this.$$set && !Rr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
504
+ this.$$set && !Dr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
505
+ }
506
+ }
507
+ const sn = "4";
508
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(sn);
509
+ function an(e, t) {
510
+ if (e) {
511
+ const r = document.createElement("style");
512
+ r.innerHTML = t, e.appendChild(r);
505
513
  }
506
514
  }
507
- const on = "4";
508
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(on);
509
- const K = [];
510
- function sn(e, t) {
515
+ function ln(e, t) {
516
+ const r = new URL(t);
517
+ fetch(r.href).then((n) => n.text()).then((n) => {
518
+ const i = document.createElement("style");
519
+ i.innerHTML = n, e && e.appendChild(i);
520
+ }).catch((n) => {
521
+ console.error("There was an error while trying to load client styling from URL", n);
522
+ });
523
+ }
524
+ function un(e, t, r) {
525
+ if (window.emMessageBus) {
526
+ const n = document.createElement("style");
527
+ window.emMessageBus.subscribe(t, (i) => {
528
+ n.innerHTML = i, e && e.appendChild(n);
529
+ });
530
+ }
531
+ }
532
+ const ee = [];
533
+ function hn(e, t) {
511
534
  return {
512
- subscribe: Be(e, t).subscribe
535
+ subscribe: Me(e, t).subscribe
513
536
  };
514
537
  }
515
- function Be(e, t = $) {
538
+ function Me(e, t = G) {
516
539
  let r;
517
540
  const n = /* @__PURE__ */ new Set();
518
541
  function i(a) {
519
- if ($t(e, a) && (e = a, r)) {
520
- const u = !K.length;
542
+ if (Xt(e, a) && (e = a, r)) {
543
+ const u = !ee.length;
521
544
  for (const l of n)
522
- l[1](), K.push(l, e);
545
+ l[1](), ee.push(l, e);
523
546
  if (u) {
524
- for (let l = 0; l < K.length; l += 2)
525
- K[l][0](K[l + 1]);
526
- K.length = 0;
547
+ for (let l = 0; l < ee.length; l += 2)
548
+ ee[l][0](ee[l + 1]);
549
+ ee.length = 0;
527
550
  }
528
551
  }
529
552
  }
530
553
  function o(a) {
531
554
  i(a(e));
532
555
  }
533
- function s(a, u = $) {
556
+ function s(a, u = G) {
534
557
  const l = [a, u];
535
- return n.add(l), n.size === 1 && (r = t(i, o) || $), a(e), () => {
558
+ return n.add(l), n.size === 1 && (r = t(i, o) || G), a(e), () => {
536
559
  n.delete(l), n.size === 0 && r && (r(), r = null);
537
560
  };
538
561
  }
539
562
  return { set: i, update: o, subscribe: s };
540
563
  }
541
- function ae(e, t, r) {
564
+ function le(e, t, r) {
542
565
  const n = !Array.isArray(e), i = n ? [e] : e;
543
566
  if (!i.every(Boolean))
544
567
  throw new Error("derived() expects stores as input, got a falsy value");
545
568
  const o = t.length < 2;
546
- return sn(r, (s, a) => {
569
+ return hn(r, (s, a) => {
547
570
  let u = !1;
548
571
  const l = [];
549
- let h = 0, m = $;
572
+ let h = 0, m = G;
550
573
  const f = () => {
551
574
  if (h)
552
575
  return;
553
576
  m();
554
577
  const g = t(n ? l[0] : l, s, a);
555
- o ? s(g) : m = tt(g) ? g : $;
578
+ o ? s(g) : m = rt(g) ? g : G;
556
579
  }, p = i.map(
557
- (g, b) => Dr(
580
+ (g, b) => Ur(
558
581
  g,
559
582
  (d) => {
560
583
  l[b] = d, h &= ~(1 << b), u && f();
@@ -565,95 +588,95 @@ function ae(e, t, r) {
565
588
  )
566
589
  );
567
590
  return u = !0, f(), function() {
568
- q(p), m(), u = !1;
591
+ J(p), m(), u = !1;
569
592
  };
570
593
  });
571
594
  }
572
- function an(e) {
595
+ function cn(e) {
573
596
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
574
597
  }
575
- var ln = function(t) {
576
- return un(t) && !hn(t);
598
+ var fn = function(t) {
599
+ return mn(t) && !dn(t);
577
600
  };
578
- function un(e) {
601
+ function mn(e) {
579
602
  return !!e && typeof e == "object";
580
603
  }
581
- function hn(e) {
604
+ function dn(e) {
582
605
  var t = Object.prototype.toString.call(e);
583
- return t === "[object RegExp]" || t === "[object Date]" || mn(e);
606
+ return t === "[object RegExp]" || t === "[object Date]" || bn(e);
584
607
  }
585
- var cn = typeof Symbol == "function" && Symbol.for, fn = cn ? Symbol.for("react.element") : 60103;
586
- function mn(e) {
587
- return e.$$typeof === fn;
608
+ var pn = typeof Symbol == "function" && Symbol.for, gn = pn ? Symbol.for("react.element") : 60103;
609
+ function bn(e) {
610
+ return e.$$typeof === gn;
588
611
  }
589
- function dn(e) {
612
+ function yn(e) {
590
613
  return Array.isArray(e) ? [] : {};
591
614
  }
592
- function ge(e, t) {
593
- return t.clone !== !1 && t.isMergeableObject(e) ? ne(dn(e), e, t) : e;
615
+ function be(e, t) {
616
+ return t.clone !== !1 && t.isMergeableObject(e) ? ie(yn(e), e, t) : e;
594
617
  }
595
- function pn(e, t, r) {
618
+ function vn(e, t, r) {
596
619
  return e.concat(t).map(function(n) {
597
- return ge(n, r);
620
+ return be(n, r);
598
621
  });
599
622
  }
600
- function gn(e, t) {
623
+ function _n(e, t) {
601
624
  if (!t.customMerge)
602
- return ne;
625
+ return ie;
603
626
  var r = t.customMerge(e);
604
- return typeof r == "function" ? r : ne;
627
+ return typeof r == "function" ? r : ie;
605
628
  }
606
- function bn(e) {
629
+ function En(e) {
607
630
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
608
631
  return Object.propertyIsEnumerable.call(e, t);
609
632
  }) : [];
610
633
  }
611
- function gt(e) {
612
- return Object.keys(e).concat(bn(e));
634
+ function vt(e) {
635
+ return Object.keys(e).concat(En(e));
613
636
  }
614
- function zt(e, t) {
637
+ function qt(e, t) {
615
638
  try {
616
639
  return t in e;
617
640
  } catch (r) {
618
641
  return !1;
619
642
  }
620
643
  }
621
- function yn(e, t) {
622
- return zt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
644
+ function xn(e, t) {
645
+ return qt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
623
646
  }
624
- function vn(e, t, r) {
647
+ function Cn(e, t, r) {
625
648
  var n = {};
626
- return r.isMergeableObject(e) && gt(e).forEach(function(i) {
627
- n[i] = ge(e[i], r);
628
- }), gt(t).forEach(function(i) {
629
- yn(e, i) || (zt(e, i) && r.isMergeableObject(t[i]) ? n[i] = gn(i, r)(e[i], t[i], r) : n[i] = ge(t[i], r));
649
+ return r.isMergeableObject(e) && vt(e).forEach(function(i) {
650
+ n[i] = be(e[i], r);
651
+ }), vt(t).forEach(function(i) {
652
+ xn(e, i) || (qt(e, i) && r.isMergeableObject(t[i]) ? n[i] = _n(i, r)(e[i], t[i], r) : n[i] = be(t[i], r));
630
653
  }), n;
631
654
  }
632
- function ne(e, t, r) {
633
- r = r || {}, r.arrayMerge = r.arrayMerge || pn, r.isMergeableObject = r.isMergeableObject || ln, r.cloneUnlessOtherwiseSpecified = ge;
655
+ function ie(e, t, r) {
656
+ r = r || {}, r.arrayMerge = r.arrayMerge || vn, r.isMergeableObject = r.isMergeableObject || fn, r.cloneUnlessOtherwiseSpecified = be;
634
657
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
635
- return o ? n ? r.arrayMerge(e, t, r) : vn(e, t, r) : ge(t, r);
658
+ return o ? n ? r.arrayMerge(e, t, r) : Cn(e, t, r) : be(t, r);
636
659
  }
637
- ne.all = function(t, r) {
660
+ ie.all = function(t, r) {
638
661
  if (!Array.isArray(t))
639
662
  throw new Error("first argument should be an array");
640
663
  return t.reduce(function(n, i) {
641
- return ne(n, i, r);
664
+ return ie(n, i, r);
642
665
  }, {});
643
666
  };
644
- var _n = ne, En = _n;
645
- const xn = /* @__PURE__ */ an(En);
646
- var We = function(e, t) {
647
- return We = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
667
+ var wn = ie, Hn = wn;
668
+ const Sn = /* @__PURE__ */ cn(Hn);
669
+ var ze = function(e, t) {
670
+ return ze = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
648
671
  r.__proto__ = n;
649
672
  } || function(r, n) {
650
673
  for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
651
- }, We(e, t);
674
+ }, ze(e, t);
652
675
  };
653
- function Me(e, t) {
676
+ function Ne(e, t) {
654
677
  if (typeof t != "function" && t !== null)
655
678
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
656
- We(e, t);
679
+ ze(e, t);
657
680
  function r() {
658
681
  this.constructor = e;
659
682
  }
@@ -668,7 +691,7 @@ var E = function() {
668
691
  return t;
669
692
  }, E.apply(this, arguments);
670
693
  };
671
- function Cn(e, t) {
694
+ function Tn(e, t) {
672
695
  var r = {};
673
696
  for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
674
697
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -676,59 +699,61 @@ function Cn(e, t) {
676
699
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
677
700
  return r;
678
701
  }
679
- function De(e, t, r) {
702
+ function Ue(e, t, r) {
680
703
  if (r || arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
681
704
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
682
705
  return e.concat(o || Array.prototype.slice.call(t));
683
706
  }
684
707
  function Ge(e, t) {
685
- var r = t && t.cache ? t.cache : Bn, n = t && t.serializer ? t.serializer : An, i = t && t.strategy ? t.strategy : Sn;
708
+ var r = t && t.cache ? t.cache : Pn, n = t && t.serializer ? t.serializer : Nn, i = t && t.strategy ? t.strategy : Bn;
686
709
  return i(e, {
687
710
  cache: r,
688
711
  serializer: n
689
712
  });
690
713
  }
691
- function wn(e) {
714
+ function An(e) {
692
715
  return e == null || typeof e == "number" || typeof e == "boolean";
693
716
  }
694
- function Hn(e, t, r, n) {
695
- var i = wn(n) ? n : r(n), o = t.get(i);
717
+ function Jt(e, t, r, n) {
718
+ var i = An(n) ? n : r(n), o = t.get(i);
696
719
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
697
720
  }
698
- function Zt(e, t, r) {
721
+ function Yt(e, t, r) {
699
722
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
700
723
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
701
724
  }
702
- function Qt(e, t, r, n, i) {
725
+ function it(e, t, r, n, i) {
703
726
  return r.bind(t, e, n, i);
704
727
  }
705
- function Sn(e, t) {
706
- var r = e.length === 1 ? Hn : Zt;
707
- return Qt(e, this, r, t.cache.create(), t.serializer);
728
+ function Bn(e, t) {
729
+ var r = e.length === 1 ? Jt : Yt;
730
+ return it(e, this, r, t.cache.create(), t.serializer);
708
731
  }
709
- function Tn(e, t) {
710
- return Qt(e, this, Zt, t.cache.create(), t.serializer);
732
+ function In(e, t) {
733
+ return it(e, this, Yt, t.cache.create(), t.serializer);
711
734
  }
712
- var An = function() {
735
+ function Mn(e, t) {
736
+ return it(e, this, Jt, t.cache.create(), t.serializer);
737
+ }
738
+ var Nn = function() {
713
739
  return JSON.stringify(arguments);
714
- }, In = (
715
- /** @class */
716
- function() {
717
- function e() {
718
- this.cache = /* @__PURE__ */ Object.create(null);
719
- }
720
- return e.prototype.get = function(t) {
721
- return this.cache[t];
722
- }, e.prototype.set = function(t, r) {
723
- this.cache[t] = r;
724
- }, e;
725
- }()
726
- ), Bn = {
740
+ };
741
+ function ot() {
742
+ this.cache = /* @__PURE__ */ Object.create(null);
743
+ }
744
+ ot.prototype.get = function(e) {
745
+ return this.cache[e];
746
+ };
747
+ ot.prototype.set = function(e, t) {
748
+ this.cache[e] = t;
749
+ };
750
+ var Pn = {
727
751
  create: function() {
728
- return new In();
752
+ return new ot();
729
753
  }
730
- }, Ue = {
731
- variadic: Tn
754
+ }, ke = {
755
+ variadic: In,
756
+ monadic: Mn
732
757
  }, y;
733
758
  (function(e) {
734
759
  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";
@@ -737,47 +762,47 @@ var T;
737
762
  (function(e) {
738
763
  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";
739
764
  })(T || (T = {}));
740
- var ie;
765
+ var oe;
741
766
  (function(e) {
742
767
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
743
- })(ie || (ie = {}));
744
- function bt(e) {
768
+ })(oe || (oe = {}));
769
+ function _t(e) {
745
770
  return e.type === T.literal;
746
771
  }
747
- function Mn(e) {
772
+ function Ln(e) {
748
773
  return e.type === T.argument;
749
774
  }
750
- function qt(e) {
775
+ function Kt(e) {
751
776
  return e.type === T.number;
752
777
  }
753
- function Jt(e) {
778
+ function er(e) {
754
779
  return e.type === T.date;
755
780
  }
756
- function Yt(e) {
781
+ function tr(e) {
757
782
  return e.type === T.time;
758
783
  }
759
- function Kt(e) {
784
+ function rr(e) {
760
785
  return e.type === T.select;
761
786
  }
762
- function er(e) {
787
+ function nr(e) {
763
788
  return e.type === T.plural;
764
789
  }
765
- function Nn(e) {
790
+ function On(e) {
766
791
  return e.type === T.pound;
767
792
  }
768
- function tr(e) {
793
+ function ir(e) {
769
794
  return e.type === T.tag;
770
795
  }
771
- function rr(e) {
772
- return !!(e && typeof e == "object" && e.type === ie.number);
796
+ function or(e) {
797
+ return !!(e && typeof e == "object" && e.type === oe.number);
773
798
  }
774
- function ze(e) {
775
- return !!(e && typeof e == "object" && e.type === ie.dateTime);
799
+ function Ze(e) {
800
+ return !!(e && typeof e == "object" && e.type === oe.dateTime);
776
801
  }
777
- var nr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Pn = /(?:[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;
778
- function On(e) {
802
+ var sr = /[ \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;
803
+ function Rn(e) {
779
804
  var t = {};
780
- return e.replace(Pn, function(r) {
805
+ return e.replace(Fn, function(r) {
781
806
  var n = r.length;
782
807
  switch (r[0]) {
783
808
  case "G":
@@ -866,11 +891,11 @@ function On(e) {
866
891
  return "";
867
892
  }), t;
868
893
  }
869
- var Ln = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
870
- function Fn(e) {
894
+ var Dn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
895
+ function Un(e) {
871
896
  if (e.length === 0)
872
897
  throw new Error("Number skeleton cannot be empty");
873
- for (var t = e.split(Ln).filter(function(f) {
898
+ for (var t = e.split(Dn).filter(function(f) {
874
899
  return f.length > 0;
875
900
  }), r = [], n = 0, i = t; n < i.length; n++) {
876
901
  var o = i[n], s = o.split("/");
@@ -885,17 +910,17 @@ function Fn(e) {
885
910
  }
886
911
  return r;
887
912
  }
888
- function Rn(e) {
913
+ function Gn(e) {
889
914
  return e.replace(/^(.*?)-/, "");
890
915
  }
891
- var yt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, ir = /^(@+)?(\+|#+)?[rs]?$/g, Dn = /(\*)(0+)|(#+)(0+)|(0+)/g, or = /^(0+)$/;
892
- function vt(e) {
916
+ var Et = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, ar = /^(@+)?(\+|#+)?[rs]?$/g, kn = /(\*)(0+)|(#+)(0+)|(0+)/g, lr = /^(0+)$/;
917
+ function xt(e) {
893
918
  var t = {};
894
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(ir, function(r, n, i) {
919
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(ar, function(r, n, i) {
895
920
  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)), "";
896
921
  }), t;
897
922
  }
898
- function sr(e) {
923
+ function ur(e) {
899
924
  switch (e) {
900
925
  case "sign-auto":
901
926
  return {
@@ -935,7 +960,7 @@ function sr(e) {
935
960
  };
936
961
  }
937
962
  }
938
- function Gn(e) {
963
+ function $n(e) {
939
964
  var t;
940
965
  if (e[0] === "E" && e[1] === "E" ? (t = {
941
966
  notation: "engineering"
@@ -943,17 +968,17 @@ function Gn(e) {
943
968
  notation: "scientific"
944
969
  }, e = e.slice(1)), t) {
945
970
  var r = e.slice(0, 2);
946
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !or.test(e))
971
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !lr.test(e))
947
972
  throw new Error("Malformed concise eng/scientific notation");
948
973
  t.minimumIntegerDigits = e.length;
949
974
  }
950
975
  return t;
951
976
  }
952
- function _t(e) {
953
- var t = {}, r = sr(e);
977
+ function Ct(e) {
978
+ var t = {}, r = ur(e);
954
979
  return r || t;
955
980
  }
956
- function Un(e) {
981
+ function jn(e) {
957
982
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
958
983
  var i = n[r];
959
984
  switch (i.stem) {
@@ -977,7 +1002,7 @@ function Un(e) {
977
1002
  continue;
978
1003
  case "measure-unit":
979
1004
  case "unit":
980
- t.style = "unit", t.unit = Rn(i.options[0]);
1005
+ t.style = "unit", t.unit = Gn(i.options[0]);
981
1006
  continue;
982
1007
  case "compact-short":
983
1008
  case "K":
@@ -989,12 +1014,12 @@ function Un(e) {
989
1014
  continue;
990
1015
  case "scientific":
991
1016
  t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
992
- return E(E({}, u), _t(l));
1017
+ return E(E({}, u), Ct(l));
993
1018
  }, {}));
994
1019
  continue;
995
1020
  case "engineering":
996
1021
  t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
997
- return E(E({}, u), _t(l));
1022
+ return E(E({}, u), Ct(l));
998
1023
  }, {}));
999
1024
  continue;
1000
1025
  case "notation-simple":
@@ -1039,7 +1064,7 @@ function Un(e) {
1039
1064
  case "integer-width":
1040
1065
  if (i.options.length > 1)
1041
1066
  throw new RangeError("integer-width stems only accept a single optional option");
1042
- i.options[0].replace(Dn, function(u, l, h, m, f, p) {
1067
+ i.options[0].replace(kn, function(u, l, h, m, f, p) {
1043
1068
  if (l)
1044
1069
  t.minimumIntegerDigits = h.length;
1045
1070
  else {
@@ -1052,32 +1077,32 @@ function Un(e) {
1052
1077
  });
1053
1078
  continue;
1054
1079
  }
1055
- if (or.test(i.stem)) {
1080
+ if (lr.test(i.stem)) {
1056
1081
  t.minimumIntegerDigits = i.stem.length;
1057
1082
  continue;
1058
1083
  }
1059
- if (yt.test(i.stem)) {
1084
+ if (Et.test(i.stem)) {
1060
1085
  if (i.options.length > 1)
1061
1086
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1062
- i.stem.replace(yt, function(u, l, h, m, f, p) {
1087
+ i.stem.replace(Et, function(u, l, h, m, f, p) {
1063
1088
  return h === "*" ? 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), "";
1064
1089
  });
1065
1090
  var o = i.options[0];
1066
- o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t), vt(o)));
1091
+ o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t), xt(o)));
1067
1092
  continue;
1068
1093
  }
1069
- if (ir.test(i.stem)) {
1070
- t = E(E({}, t), vt(i.stem));
1094
+ if (ar.test(i.stem)) {
1095
+ t = E(E({}, t), xt(i.stem));
1071
1096
  continue;
1072
1097
  }
1073
- var s = sr(i.stem);
1098
+ var s = ur(i.stem);
1074
1099
  s && (t = E(E({}, t), s));
1075
- var a = Gn(i.stem);
1100
+ var a = $n(i.stem);
1076
1101
  a && (t = E(E({}, t), a));
1077
1102
  }
1078
1103
  return t;
1079
1104
  }
1080
- var Ce = {
1105
+ var we = {
1081
1106
  "001": [
1082
1107
  "H",
1083
1108
  "h"
@@ -2492,13 +2517,13 @@ var Ce = {
2492
2517
  "h"
2493
2518
  ]
2494
2519
  };
2495
- function kn(e, t) {
2520
+ function Vn(e, t) {
2496
2521
  for (var r = "", n = 0; n < e.length; n++) {
2497
2522
  var i = e.charAt(n);
2498
2523
  if (i === "j") {
2499
2524
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2500
2525
  o++, n++;
2501
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = $n(t);
2526
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = Xn(t);
2502
2527
  for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
2503
2528
  r += u;
2504
2529
  for (; s-- > 0; )
@@ -2507,7 +2532,7 @@ function kn(e, t) {
2507
2532
  }
2508
2533
  return r;
2509
2534
  }
2510
- function $n(e) {
2535
+ function Xn(e) {
2511
2536
  var t = e.hourCycle;
2512
2537
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2513
2538
  e.hourCycles && // @ts-ignore
@@ -2526,23 +2551,23 @@ function $n(e) {
2526
2551
  }
2527
2552
  var r = e.language, n;
2528
2553
  r !== "root" && (n = e.maximize().region);
2529
- var i = Ce[n || ""] || Ce[r || ""] || Ce["".concat(r, "-001")] || Ce["001"];
2554
+ var i = we[n || ""] || we[r || ""] || we["".concat(r, "-001")] || we["001"];
2530
2555
  return i[0];
2531
2556
  }
2532
- var ke, jn = new RegExp("^".concat(nr.source, "*")), Vn = new RegExp("".concat(nr.source, "*$"));
2557
+ var $e, Wn = new RegExp("^".concat(sr.source, "*")), zn = new RegExp("".concat(sr.source, "*$"));
2533
2558
  function v(e, t) {
2534
2559
  return { start: e, end: t };
2535
2560
  }
2536
- var Xn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Wn = !!String.fromCodePoint, zn = !!Object.fromEntries, Zn = !!String.prototype.codePointAt, Qn = !!String.prototype.trimStart, qn = !!String.prototype.trimEnd, Jn = !!Number.isSafeInteger, Yn = Jn ? Number.isSafeInteger : function(e) {
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) {
2537
2562
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2538
- }, Ze = !0;
2563
+ }, Qe = !0;
2539
2564
  try {
2540
- var Kn = lr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2541
- Ze = ((ke = Kn.exec("a")) === null || ke === void 0 ? void 0 : ke[0]) === "a";
2565
+ var ri = cr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2566
+ Qe = (($e = ri.exec("a")) === null || $e === void 0 ? void 0 : $e[0]) === "a";
2542
2567
  } catch (e) {
2543
- Ze = !1;
2568
+ Qe = !1;
2544
2569
  }
2545
- var Et = Xn ? (
2570
+ var wt = Zn ? (
2546
2571
  // Native
2547
2572
  function(t, r, n) {
2548
2573
  return t.startsWith(r, n);
@@ -2552,7 +2577,7 @@ var Et = Xn ? (
2552
2577
  function(t, r, n) {
2553
2578
  return t.slice(n, n + r.length) === r;
2554
2579
  }
2555
- ), Qe = Wn ? String.fromCodePoint : (
2580
+ ), qe = Qn ? String.fromCodePoint : (
2556
2581
  // IE11
2557
2582
  function() {
2558
2583
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2564,9 +2589,9 @@ var Et = Xn ? (
2564
2589
  }
2565
2590
  return n;
2566
2591
  }
2567
- ), xt = (
2592
+ ), Ht = (
2568
2593
  // native
2569
- zn ? Object.fromEntries : (
2594
+ qn ? Object.fromEntries : (
2570
2595
  // Ponyfill
2571
2596
  function(t) {
2572
2597
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2576,7 +2601,7 @@ var Et = Xn ? (
2576
2601
  return r;
2577
2602
  }
2578
2603
  )
2579
- ), ar = Zn ? (
2604
+ ), hr = Jn ? (
2580
2605
  // Native
2581
2606
  function(t, r) {
2582
2607
  return t.codePointAt(r);
@@ -2590,7 +2615,7 @@ var Et = Xn ? (
2590
2615
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2591
2616
  }
2592
2617
  }
2593
- ), ei = Qn ? (
2618
+ ), ni = Yn ? (
2594
2619
  // Native
2595
2620
  function(t) {
2596
2621
  return t.trimStart();
@@ -2598,9 +2623,9 @@ var Et = Xn ? (
2598
2623
  ) : (
2599
2624
  // Ponyfill
2600
2625
  function(t) {
2601
- return t.replace(jn, "");
2626
+ return t.replace(Wn, "");
2602
2627
  }
2603
- ), ti = qn ? (
2628
+ ), ii = Kn ? (
2604
2629
  // Native
2605
2630
  function(t) {
2606
2631
  return t.trimEnd();
@@ -2608,32 +2633,32 @@ var Et = Xn ? (
2608
2633
  ) : (
2609
2634
  // Ponyfill
2610
2635
  function(t) {
2611
- return t.replace(Vn, "");
2636
+ return t.replace(zn, "");
2612
2637
  }
2613
2638
  );
2614
- function lr(e, t) {
2639
+ function cr(e, t) {
2615
2640
  return new RegExp(e, t);
2616
2641
  }
2617
- var qe;
2618
- if (Ze) {
2619
- var Ct = lr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2620
- qe = function(t, r) {
2642
+ var Je;
2643
+ if (Qe) {
2644
+ var St = cr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2645
+ Je = function(t, r) {
2621
2646
  var n;
2622
- Ct.lastIndex = r;
2623
- var i = Ct.exec(t);
2647
+ St.lastIndex = r;
2648
+ var i = St.exec(t);
2624
2649
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2625
2650
  };
2626
2651
  } else
2627
- qe = function(t, r) {
2652
+ Je = function(t, r) {
2628
2653
  for (var n = []; ; ) {
2629
- var i = ar(t, r);
2630
- if (i === void 0 || ur(i) || oi(i))
2654
+ var i = hr(t, r);
2655
+ if (i === void 0 || fr(i) || li(i))
2631
2656
  break;
2632
2657
  n.push(i), r += i >= 65536 ? 2 : 1;
2633
2658
  }
2634
- return Qe.apply(void 0, n);
2659
+ return qe.apply(void 0, n);
2635
2660
  };
2636
- var ri = (
2661
+ var oi = (
2637
2662
  /** @class */
2638
2663
  function() {
2639
2664
  function e(t, r) {
@@ -2664,7 +2689,7 @@ var ri = (
2664
2689
  if (n)
2665
2690
  break;
2666
2691
  return this.error(y.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
2667
- } else if (o === 60 && !this.ignoreTag && Je(this.peek() || 0)) {
2692
+ } else if (o === 60 && !this.ignoreTag && Ye(this.peek() || 0)) {
2668
2693
  var s = this.parseTag(t, r);
2669
2694
  if (s.err)
2670
2695
  return s;
@@ -2697,7 +2722,7 @@ var ri = (
2697
2722
  return o;
2698
2723
  var s = o.val, a = this.clonePosition();
2699
2724
  if (this.bumpIf("</")) {
2700
- if (this.isEOF() || !Je(this.char()))
2725
+ if (this.isEOF() || !Ye(this.char()))
2701
2726
  return this.error(y.INVALID_TAG, v(a, this.clonePosition()));
2702
2727
  var u = this.clonePosition(), l = this.parseTagName();
2703
2728
  return i !== l ? this.error(y.UNMATCHED_CLOSING_TAG, v(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
@@ -2715,7 +2740,7 @@ var ri = (
2715
2740
  return this.error(y.INVALID_TAG, v(n, this.clonePosition()));
2716
2741
  }, e.prototype.parseTagName = function() {
2717
2742
  var t = this.offset();
2718
- for (this.bump(); !this.isEOF() && ii(this.char()); )
2743
+ for (this.bump(); !this.isEOF() && ai(this.char()); )
2719
2744
  this.bump();
2720
2745
  return this.message.slice(t, this.offset());
2721
2746
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2744,7 +2769,7 @@ var ri = (
2744
2769
  };
2745
2770
  }, e.prototype.tryParseLeftAngleBracket = function() {
2746
2771
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2747
- !ni(this.peek() || 0)) ? (this.bump(), "<") : null;
2772
+ !si(this.peek() || 0)) ? (this.bump(), "<") : null;
2748
2773
  }, e.prototype.tryParseQuote = function(t) {
2749
2774
  if (this.isEOF() || this.char() !== 39)
2750
2775
  return null;
@@ -2778,12 +2803,12 @@ var ri = (
2778
2803
  r.push(n);
2779
2804
  this.bump();
2780
2805
  }
2781
- return Qe.apply(void 0, r);
2806
+ return qe.apply(void 0, r);
2782
2807
  }, e.prototype.tryParseUnquoted = function(t, r) {
2783
2808
  if (this.isEOF())
2784
2809
  return null;
2785
2810
  var n = this.char();
2786
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Qe(n));
2811
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), qe(n));
2787
2812
  }, e.prototype.parseArgument = function(t, r) {
2788
2813
  var n = this.clonePosition();
2789
2814
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -2812,7 +2837,7 @@ var ri = (
2812
2837
  return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
2813
2838
  }
2814
2839
  }, e.prototype.parseIdentifierIfPossible = function() {
2815
- var t = this.clonePosition(), r = this.offset(), n = qe(this.message, r), i = r + n.length;
2840
+ var t = this.clonePosition(), r = this.offset(), n = Je(this.message, r), i = r + n.length;
2816
2841
  this.bumpTo(i);
2817
2842
  var o = this.clonePosition(), s = v(t, o);
2818
2843
  return { value: n, location: s };
@@ -2831,7 +2856,7 @@ var ri = (
2831
2856
  var h = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
2832
2857
  if (m.err)
2833
2858
  return m;
2834
- var f = ti(m.val);
2859
+ var f = ii(m.val);
2835
2860
  if (f.length === 0)
2836
2861
  return this.error(y.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
2837
2862
  var p = v(h, this.clonePosition());
@@ -2841,8 +2866,8 @@ var ri = (
2841
2866
  if (g.err)
2842
2867
  return g;
2843
2868
  var b = v(i, this.clonePosition());
2844
- if (l && Et(l == null ? void 0 : l.style, "::", 0)) {
2845
- var d = ei(l.style.slice(2));
2869
+ if (l && wt(l == null ? void 0 : l.style, "::", 0)) {
2870
+ var d = ni(l.style.slice(2));
2846
2871
  if (a === "number") {
2847
2872
  var m = this.parseNumberSkeletonFromString(d, l.styleLocation);
2848
2873
  return m.err ? m : {
@@ -2852,13 +2877,13 @@ var ri = (
2852
2877
  } else {
2853
2878
  if (d.length === 0)
2854
2879
  return this.error(y.EXPECT_DATE_TIME_SKELETON, b);
2855
- var w = d;
2856
- this.locale && (w = kn(d, this.locale));
2880
+ var H = d;
2881
+ this.locale && (H = Vn(d, this.locale));
2857
2882
  var f = {
2858
- type: ie.dateTime,
2859
- pattern: w,
2883
+ type: oe.dateTime,
2884
+ pattern: H,
2860
2885
  location: l.styleLocation,
2861
- parsedOptions: this.shouldParseSkeletons ? On(w) : {}
2886
+ parsedOptions: this.shouldParseSkeletons ? Rn(H) : {}
2862
2887
  }, _ = a === "date" ? T.date : T.time;
2863
2888
  return {
2864
2889
  val: { type: _, value: n, location: b, style: f },
@@ -2879,43 +2904,43 @@ var ri = (
2879
2904
  case "plural":
2880
2905
  case "selectordinal":
2881
2906
  case "select": {
2882
- var C = this.clonePosition();
2907
+ var x = this.clonePosition();
2883
2908
  if (this.bumpSpace(), !this.bumpIf(","))
2884
- return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, v(C, E({}, C)));
2909
+ return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, v(x, E({}, x)));
2885
2910
  this.bumpSpace();
2886
- var P = this.parseIdentifierIfPossible(), O = 0;
2887
- if (a !== "select" && P.value === "offset") {
2911
+ var L = this.parseIdentifierIfPossible(), I = 0;
2912
+ if (a !== "select" && L.value === "offset") {
2888
2913
  if (!this.bumpIf(":"))
2889
2914
  return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
2890
2915
  this.bumpSpace();
2891
2916
  var m = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2892
2917
  if (m.err)
2893
2918
  return m;
2894
- this.bumpSpace(), P = this.parseIdentifierIfPossible(), O = m.val;
2919
+ this.bumpSpace(), L = this.parseIdentifierIfPossible(), I = m.val;
2895
2920
  }
2896
- var L = this.tryParsePluralOrSelectOptions(t, a, r, P);
2897
- if (L.err)
2898
- return L;
2921
+ var k = this.tryParsePluralOrSelectOptions(t, a, r, L);
2922
+ if (k.err)
2923
+ return k;
2899
2924
  var g = this.tryParseArgumentClose(i);
2900
2925
  if (g.err)
2901
2926
  return g;
2902
- var H = v(i, this.clonePosition());
2927
+ var w = v(i, this.clonePosition());
2903
2928
  return a === "select" ? {
2904
2929
  val: {
2905
2930
  type: T.select,
2906
2931
  value: n,
2907
- options: xt(L.val),
2908
- location: H
2932
+ options: Ht(k.val),
2933
+ location: w
2909
2934
  },
2910
2935
  err: null
2911
2936
  } : {
2912
2937
  val: {
2913
2938
  type: T.plural,
2914
2939
  value: n,
2915
- options: xt(L.val),
2916
- offset: O,
2940
+ options: Ht(k.val),
2941
+ offset: I,
2917
2942
  pluralType: a === "plural" ? "cardinal" : "ordinal",
2918
- location: H
2943
+ location: w
2919
2944
  },
2920
2945
  err: null
2921
2946
  };
@@ -2963,16 +2988,16 @@ var ri = (
2963
2988
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2964
2989
  var n = [];
2965
2990
  try {
2966
- n = Fn(t);
2991
+ n = Un(t);
2967
2992
  } catch (i) {
2968
2993
  return this.error(y.INVALID_NUMBER_SKELETON, r);
2969
2994
  }
2970
2995
  return {
2971
2996
  val: {
2972
- type: ie.number,
2997
+ type: oe.number,
2973
2998
  tokens: n,
2974
2999
  location: r,
2975
- parsedOptions: this.shouldParseSkeletons ? Un(n) : {}
3000
+ parsedOptions: this.shouldParseSkeletons ? jn(n) : {}
2976
3001
  },
2977
3002
  err: null
2978
3003
  };
@@ -3020,7 +3045,7 @@ var ri = (
3020
3045
  break;
3021
3046
  }
3022
3047
  var u = v(i, this.clonePosition());
3023
- return o ? (s *= n, Yn(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3048
+ return o ? (s *= n, ti(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3024
3049
  }, e.prototype.offset = function() {
3025
3050
  return this.position.offset;
3026
3051
  }, e.prototype.isEOF = function() {
@@ -3035,7 +3060,7 @@ var ri = (
3035
3060
  var t = this.position.offset;
3036
3061
  if (t >= this.message.length)
3037
3062
  throw Error("out of bound");
3038
- var r = ar(this.message, t);
3063
+ var r = hr(this.message, t);
3039
3064
  if (r === void 0)
3040
3065
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3041
3066
  return r;
@@ -3054,7 +3079,7 @@ var ri = (
3054
3079
  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);
3055
3080
  }
3056
3081
  }, e.prototype.bumpIf = function(t) {
3057
- if (Et(this.message, t, this.offset())) {
3082
+ if (wt(this.message, t, this.offset())) {
3058
3083
  for (var r = 0; r < t.length; r++)
3059
3084
  this.bump();
3060
3085
  return !0;
@@ -3076,7 +3101,7 @@ var ri = (
3076
3101
  break;
3077
3102
  }
3078
3103
  }, e.prototype.bumpSpace = function() {
3079
- for (; !this.isEOF() && ur(this.char()); )
3104
+ for (; !this.isEOF() && fr(this.char()); )
3080
3105
  this.bump();
3081
3106
  }, e.prototype.peek = function() {
3082
3107
  if (this.isEOF())
@@ -3086,46 +3111,46 @@ var ri = (
3086
3111
  }, e;
3087
3112
  }()
3088
3113
  );
3089
- function Je(e) {
3114
+ function Ye(e) {
3090
3115
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3091
3116
  }
3092
- function ni(e) {
3093
- return Je(e) || e === 47;
3117
+ function si(e) {
3118
+ return Ye(e) || e === 47;
3094
3119
  }
3095
- function ii(e) {
3120
+ function ai(e) {
3096
3121
  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;
3097
3122
  }
3098
- function ur(e) {
3123
+ function fr(e) {
3099
3124
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3100
3125
  }
3101
- function oi(e) {
3126
+ function li(e) {
3102
3127
  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;
3103
3128
  }
3104
- function Ye(e) {
3129
+ function Ke(e) {
3105
3130
  e.forEach(function(t) {
3106
- if (delete t.location, Kt(t) || er(t))
3131
+ if (delete t.location, rr(t) || nr(t))
3107
3132
  for (var r in t.options)
3108
- delete t.options[r].location, Ye(t.options[r].value);
3109
- else qt(t) && rr(t.style) || (Jt(t) || Yt(t)) && ze(t.style) ? delete t.style.location : tr(t) && Ye(t.children);
3133
+ delete t.options[r].location, Ke(t.options[r].value);
3134
+ else Kt(t) && or(t.style) || (er(t) || tr(t)) && Ze(t.style) ? delete t.style.location : ir(t) && Ke(t.children);
3110
3135
  });
3111
3136
  }
3112
- function si(e, t) {
3137
+ function ui(e, t) {
3113
3138
  t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3114
- var r = new ri(e, t).parse();
3139
+ var r = new oi(e, t).parse();
3115
3140
  if (r.err) {
3116
3141
  var n = SyntaxError(y[r.err.kind]);
3117
3142
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3118
3143
  }
3119
- return t != null && t.captureLocation || Ye(r.val), r.val;
3144
+ return t != null && t.captureLocation || Ke(r.val), r.val;
3120
3145
  }
3121
- var oe;
3146
+ var se;
3122
3147
  (function(e) {
3123
3148
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3124
- })(oe || (oe = {}));
3125
- var Ne = (
3149
+ })(se || (se = {}));
3150
+ var Pe = (
3126
3151
  /** @class */
3127
3152
  function(e) {
3128
- Me(t, e);
3153
+ Ne(t, e);
3129
3154
  function t(r, n, i) {
3130
3155
  var o = e.call(this, r) || this;
3131
3156
  return o.code = n, o.originalMessage = i, o;
@@ -3134,48 +3159,48 @@ var Ne = (
3134
3159
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3135
3160
  }, t;
3136
3161
  }(Error)
3137
- ), wt = (
3162
+ ), Tt = (
3138
3163
  /** @class */
3139
3164
  function(e) {
3140
- Me(t, e);
3165
+ Ne(t, e);
3141
3166
  function t(r, n, i, o) {
3142
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), oe.INVALID_VALUE, o) || this;
3167
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), se.INVALID_VALUE, o) || this;
3143
3168
  }
3144
3169
  return t;
3145
- }(Ne)
3146
- ), ai = (
3170
+ }(Pe)
3171
+ ), hi = (
3147
3172
  /** @class */
3148
3173
  function(e) {
3149
- Me(t, e);
3174
+ Ne(t, e);
3150
3175
  function t(r, n, i) {
3151
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), oe.INVALID_VALUE, i) || this;
3176
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), se.INVALID_VALUE, i) || this;
3152
3177
  }
3153
3178
  return t;
3154
- }(Ne)
3155
- ), li = (
3179
+ }(Pe)
3180
+ ), ci = (
3156
3181
  /** @class */
3157
3182
  function(e) {
3158
- Me(t, e);
3183
+ Ne(t, e);
3159
3184
  function t(r, n) {
3160
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), oe.MISSING_VALUE, n) || this;
3185
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), se.MISSING_VALUE, n) || this;
3161
3186
  }
3162
3187
  return t;
3163
- }(Ne)
3188
+ }(Pe)
3164
3189
  ), F;
3165
3190
  (function(e) {
3166
3191
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3167
3192
  })(F || (F = {}));
3168
- function ui(e) {
3193
+ function fi(e) {
3169
3194
  return e.length < 2 ? e : e.reduce(function(t, r) {
3170
3195
  var n = t[t.length - 1];
3171
3196
  return !n || n.type !== F.literal || r.type !== F.literal ? t.push(r) : n.value += r.value, t;
3172
3197
  }, []);
3173
3198
  }
3174
- function hi(e) {
3199
+ function mi(e) {
3175
3200
  return typeof e == "function";
3176
3201
  }
3177
- function He(e, t, r, n, i, o, s) {
3178
- if (e.length === 1 && bt(e[0]))
3202
+ function Se(e, t, r, n, i, o, s) {
3203
+ if (e.length === 1 && _t(e[0]))
3179
3204
  return [
3180
3205
  {
3181
3206
  type: F.literal,
@@ -3184,14 +3209,14 @@ function He(e, t, r, n, i, o, s) {
3184
3209
  ];
3185
3210
  for (var a = [], u = 0, l = e; u < l.length; u++) {
3186
3211
  var h = l[u];
3187
- if (bt(h)) {
3212
+ if (_t(h)) {
3188
3213
  a.push({
3189
3214
  type: F.literal,
3190
3215
  value: h.value
3191
3216
  });
3192
3217
  continue;
3193
3218
  }
3194
- if (Nn(h)) {
3219
+ if (On(h)) {
3195
3220
  typeof o == "number" && a.push({
3196
3221
  type: F.literal,
3197
3222
  value: r.getNumberFormat(t).format(o)
@@ -3200,89 +3225,89 @@ function He(e, t, r, n, i, o, s) {
3200
3225
  }
3201
3226
  var m = h.value;
3202
3227
  if (!(i && m in i))
3203
- throw new li(m, s);
3228
+ throw new ci(m, s);
3204
3229
  var f = i[m];
3205
- if (Mn(h)) {
3230
+ if (Ln(h)) {
3206
3231
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3207
3232
  type: typeof f == "string" ? F.literal : F.object,
3208
3233
  value: f
3209
3234
  });
3210
3235
  continue;
3211
3236
  }
3212
- if (Jt(h)) {
3213
- var p = typeof h.style == "string" ? n.date[h.style] : ze(h.style) ? h.style.parsedOptions : void 0;
3237
+ if (er(h)) {
3238
+ var p = typeof h.style == "string" ? n.date[h.style] : Ze(h.style) ? h.style.parsedOptions : void 0;
3214
3239
  a.push({
3215
3240
  type: F.literal,
3216
3241
  value: r.getDateTimeFormat(t, p).format(f)
3217
3242
  });
3218
3243
  continue;
3219
3244
  }
3220
- if (Yt(h)) {
3221
- var p = typeof h.style == "string" ? n.time[h.style] : ze(h.style) ? h.style.parsedOptions : n.time.medium;
3245
+ if (tr(h)) {
3246
+ var p = typeof h.style == "string" ? n.time[h.style] : Ze(h.style) ? h.style.parsedOptions : n.time.medium;
3222
3247
  a.push({
3223
3248
  type: F.literal,
3224
3249
  value: r.getDateTimeFormat(t, p).format(f)
3225
3250
  });
3226
3251
  continue;
3227
3252
  }
3228
- if (qt(h)) {
3229
- var p = typeof h.style == "string" ? n.number[h.style] : rr(h.style) ? h.style.parsedOptions : void 0;
3253
+ if (Kt(h)) {
3254
+ var p = typeof h.style == "string" ? n.number[h.style] : or(h.style) ? h.style.parsedOptions : void 0;
3230
3255
  p && p.scale && (f = f * (p.scale || 1)), a.push({
3231
3256
  type: F.literal,
3232
3257
  value: r.getNumberFormat(t, p).format(f)
3233
3258
  });
3234
3259
  continue;
3235
3260
  }
3236
- if (tr(h)) {
3261
+ if (ir(h)) {
3237
3262
  var g = h.children, b = h.value, d = i[b];
3238
- if (!hi(d))
3239
- throw new ai(b, "function", s);
3240
- var w = He(g, t, r, n, i, o), _ = d(w.map(function(O) {
3241
- return O.value;
3263
+ if (!mi(d))
3264
+ throw new hi(b, "function", s);
3265
+ var H = Se(g, t, r, n, i, o), _ = d(H.map(function(I) {
3266
+ return I.value;
3242
3267
  }));
3243
- Array.isArray(_) || (_ = [_]), a.push.apply(a, _.map(function(O) {
3268
+ Array.isArray(_) || (_ = [_]), a.push.apply(a, _.map(function(I) {
3244
3269
  return {
3245
- type: typeof O == "string" ? F.literal : F.object,
3246
- value: O
3270
+ type: typeof I == "string" ? F.literal : F.object,
3271
+ value: I
3247
3272
  };
3248
3273
  }));
3249
3274
  }
3250
- if (Kt(h)) {
3251
- var C = h.options[f] || h.options.other;
3252
- if (!C)
3253
- throw new wt(h.value, f, Object.keys(h.options), s);
3254
- a.push.apply(a, He(C.value, t, r, n, i));
3275
+ if (rr(h)) {
3276
+ var x = h.options[f] || h.options.other;
3277
+ if (!x)
3278
+ throw new Tt(h.value, f, Object.keys(h.options), s);
3279
+ a.push.apply(a, Se(x.value, t, r, n, i));
3255
3280
  continue;
3256
3281
  }
3257
- if (er(h)) {
3258
- var C = h.options["=".concat(f)];
3259
- if (!C) {
3282
+ if (nr(h)) {
3283
+ var x = h.options["=".concat(f)];
3284
+ if (!x) {
3260
3285
  if (!Intl.PluralRules)
3261
- throw new Ne(`Intl.PluralRules is not available in this environment.
3286
+ throw new Pe(`Intl.PluralRules is not available in this environment.
3262
3287
  Try polyfilling it using "@formatjs/intl-pluralrules"
3263
- `, oe.MISSING_INTL_API, s);
3264
- var P = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3265
- C = h.options[P] || h.options.other;
3288
+ `, se.MISSING_INTL_API, s);
3289
+ var L = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3290
+ x = h.options[L] || h.options.other;
3266
3291
  }
3267
- if (!C)
3268
- throw new wt(h.value, f, Object.keys(h.options), s);
3269
- a.push.apply(a, He(C.value, t, r, n, i, f - (h.offset || 0)));
3292
+ if (!x)
3293
+ throw new Tt(h.value, f, Object.keys(h.options), s);
3294
+ a.push.apply(a, Se(x.value, t, r, n, i, f - (h.offset || 0)));
3270
3295
  continue;
3271
3296
  }
3272
3297
  }
3273
- return ui(a);
3298
+ return fi(a);
3274
3299
  }
3275
- function ci(e, t) {
3300
+ function di(e, t) {
3276
3301
  return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3277
3302
  return r[n] = E(E({}, e[n]), t[n] || {}), r;
3278
3303
  }, {})) : e;
3279
3304
  }
3280
- function fi(e, t) {
3305
+ function pi(e, t) {
3281
3306
  return t ? Object.keys(e).reduce(function(r, n) {
3282
- return r[n] = ci(e[n], t[n]), r;
3307
+ return r[n] = di(e[n], t[n]), r;
3283
3308
  }, E({}, e)) : e;
3284
3309
  }
3285
- function $e(e) {
3310
+ function je(e) {
3286
3311
  return {
3287
3312
  create: function() {
3288
3313
  return {
@@ -3296,7 +3321,7 @@ function $e(e) {
3296
3321
  }
3297
3322
  };
3298
3323
  }
3299
- function mi(e) {
3324
+ function gi(e) {
3300
3325
  return e === void 0 && (e = {
3301
3326
  number: {},
3302
3327
  dateTime: {},
@@ -3305,30 +3330,30 @@ function mi(e) {
3305
3330
  getNumberFormat: Ge(function() {
3306
3331
  for (var t, r = [], n = 0; n < arguments.length; n++)
3307
3332
  r[n] = arguments[n];
3308
- return new ((t = Intl.NumberFormat).bind.apply(t, De([void 0], r, !1)))();
3333
+ return new ((t = Intl.NumberFormat).bind.apply(t, Ue([void 0], r, !1)))();
3309
3334
  }, {
3310
- cache: $e(e.number),
3311
- strategy: Ue.variadic
3335
+ cache: je(e.number),
3336
+ strategy: ke.variadic
3312
3337
  }),
3313
3338
  getDateTimeFormat: Ge(function() {
3314
3339
  for (var t, r = [], n = 0; n < arguments.length; n++)
3315
3340
  r[n] = arguments[n];
3316
- return new ((t = Intl.DateTimeFormat).bind.apply(t, De([void 0], r, !1)))();
3341
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Ue([void 0], r, !1)))();
3317
3342
  }, {
3318
- cache: $e(e.dateTime),
3319
- strategy: Ue.variadic
3343
+ cache: je(e.dateTime),
3344
+ strategy: ke.variadic
3320
3345
  }),
3321
3346
  getPluralRules: Ge(function() {
3322
3347
  for (var t, r = [], n = 0; n < arguments.length; n++)
3323
3348
  r[n] = arguments[n];
3324
- return new ((t = Intl.PluralRules).bind.apply(t, De([void 0], r, !1)))();
3349
+ return new ((t = Intl.PluralRules).bind.apply(t, Ue([void 0], r, !1)))();
3325
3350
  }, {
3326
- cache: $e(e.pluralRules),
3327
- strategy: Ue.variadic
3351
+ cache: je(e.pluralRules),
3352
+ strategy: ke.variadic
3328
3353
  })
3329
3354
  };
3330
3355
  }
3331
- var di = (
3356
+ var bi = (
3332
3357
  /** @class */
3333
3358
  function() {
3334
3359
  function e(t, r, n, i) {
@@ -3347,7 +3372,7 @@ var di = (
3347
3372
  }, []);
3348
3373
  return h.length <= 1 ? h[0] || "" : h;
3349
3374
  }, this.formatToParts = function(u) {
3350
- return He(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
3375
+ return Se(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
3351
3376
  }, this.resolvedOptions = function() {
3352
3377
  var u;
3353
3378
  return {
@@ -3360,13 +3385,13 @@ var di = (
3360
3385
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3361
3386
  var s = i || {};
3362
3387
  s.formatters;
3363
- var a = Cn(s, ["formatters"]);
3388
+ var a = Tn(s, ["formatters"]);
3364
3389
  this.ast = e.__parse(t, E(E({}, a), { locale: this.resolvedLocale }));
3365
3390
  } else
3366
3391
  this.ast = t;
3367
3392
  if (!Array.isArray(this.ast))
3368
3393
  throw new TypeError("A message must be provided as a String or AST.");
3369
- this.formats = fi(e.formats, n), this.formatters = i && i.formatters || mi(this.formatterCache);
3394
+ this.formats = pi(e.formats, n), this.formatters = i && i.formatters || gi(this.formatterCache);
3370
3395
  }
3371
3396
  return Object.defineProperty(e, "defaultLocale", {
3372
3397
  get: function() {
@@ -3379,7 +3404,7 @@ var di = (
3379
3404
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3380
3405
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3381
3406
  }
3382
- }, e.__parse = si, e.formats = {
3407
+ }, e.__parse = ui, e.formats = {
3383
3408
  number: {
3384
3409
  integer: {
3385
3410
  maximumFractionDigits: 0
@@ -3440,7 +3465,7 @@ var di = (
3440
3465
  }, e;
3441
3466
  }()
3442
3467
  );
3443
- function pi(e, t) {
3468
+ function yi(e, t) {
3444
3469
  if (t == null)
3445
3470
  return;
3446
3471
  if (t in e)
@@ -3461,92 +3486,92 @@ function pi(e, t) {
3461
3486
  n = void 0;
3462
3487
  return n;
3463
3488
  }
3464
- const X = {}, gi = (e, t, r) => r && (t in X || (X[t] = {}), e in X[t] || (X[t][e] = r), r), hr = (e, t) => {
3489
+ const W = {}, vi = (e, t, r) => r && (t in W || (W[t] = {}), e in W[t] || (W[t][e] = r), r), mr = (e, t) => {
3465
3490
  if (t == null)
3466
3491
  return;
3467
- if (t in X && e in X[t])
3468
- return X[t][e];
3469
- const r = Pe(t);
3492
+ if (t in W && e in W[t])
3493
+ return W[t][e];
3494
+ const r = Le(t);
3470
3495
  for (let n = 0; n < r.length; n++) {
3471
- const i = r[n], o = yi(i, e);
3496
+ const i = r[n], o = Ei(i, e);
3472
3497
  if (o)
3473
- return gi(e, t, o);
3498
+ return vi(e, t, o);
3474
3499
  }
3475
3500
  };
3476
- let nt;
3477
- const le = Be({});
3478
- function bi(e) {
3479
- return nt[e] || null;
3501
+ let st;
3502
+ const ue = Me({});
3503
+ function _i(e) {
3504
+ return st[e] || null;
3480
3505
  }
3481
- function cr(e) {
3482
- return e in nt;
3506
+ function dr(e) {
3507
+ return e in st;
3483
3508
  }
3484
- function yi(e, t) {
3485
- if (!cr(e))
3509
+ function Ei(e, t) {
3510
+ if (!dr(e))
3486
3511
  return null;
3487
- const r = bi(e);
3488
- return pi(r, t);
3512
+ const r = _i(e);
3513
+ return yi(r, t);
3489
3514
  }
3490
- function vi(e) {
3515
+ function xi(e) {
3491
3516
  if (e == null)
3492
3517
  return;
3493
- const t = Pe(e);
3518
+ const t = Le(e);
3494
3519
  for (let r = 0; r < t.length; r++) {
3495
3520
  const n = t[r];
3496
- if (cr(n))
3521
+ if (dr(n))
3497
3522
  return n;
3498
3523
  }
3499
3524
  }
3500
- function fr(e, ...t) {
3501
- delete X[e], le.update((r) => (r[e] = xn.all([r[e] || {}, ...t]), r));
3525
+ function pr(e, ...t) {
3526
+ delete W[e], ue.update((r) => (r[e] = Sn.all([r[e] || {}, ...t]), r));
3502
3527
  }
3503
- ae(
3504
- [le],
3528
+ le(
3529
+ [ue],
3505
3530
  ([e]) => Object.keys(e)
3506
3531
  );
3507
- le.subscribe((e) => nt = e);
3508
- const Se = {};
3509
- function _i(e, t) {
3510
- Se[e].delete(t), Se[e].size === 0 && delete Se[e];
3532
+ ue.subscribe((e) => st = e);
3533
+ const Te = {};
3534
+ function Ci(e, t) {
3535
+ Te[e].delete(t), Te[e].size === 0 && delete Te[e];
3511
3536
  }
3512
- function mr(e) {
3513
- return Se[e];
3537
+ function gr(e) {
3538
+ return Te[e];
3514
3539
  }
3515
- function Ei(e) {
3516
- return Pe(e).map((t) => {
3517
- const r = mr(t);
3540
+ function wi(e) {
3541
+ return Le(e).map((t) => {
3542
+ const r = gr(t);
3518
3543
  return [t, r ? [...r] : []];
3519
3544
  }).filter(([, t]) => t.length > 0);
3520
3545
  }
3521
- function Ke(e) {
3522
- return e == null ? !1 : Pe(e).some(
3546
+ function et(e) {
3547
+ return e == null ? !1 : Le(e).some(
3523
3548
  (t) => {
3524
3549
  var r;
3525
- return (r = mr(t)) == null ? void 0 : r.size;
3550
+ return (r = gr(t)) == null ? void 0 : r.size;
3526
3551
  }
3527
3552
  );
3528
3553
  }
3529
- function xi(e, t) {
3554
+ function Hi(e, t) {
3530
3555
  return Promise.all(
3531
- t.map((n) => (_i(e, n), n().then((i) => i.default || i)))
3532
- ).then((n) => fr(e, ...n));
3533
- }
3534
- const ce = {};
3535
- function dr(e) {
3536
- if (!Ke(e))
3537
- return e in ce ? ce[e] : Promise.resolve();
3538
- const t = Ei(e);
3539
- return ce[e] = Promise.all(
3556
+ t.map((n) => (Ci(e, n), n().then((i) => i.default || i)))
3557
+ ).then((n) => pr(e, ...n));
3558
+ }
3559
+ const fe = {};
3560
+ function br(e) {
3561
+ if (!et(e))
3562
+ return e in fe ? fe[e] : Promise.resolve();
3563
+ const t = wi(e);
3564
+ return fe[e] = Promise.all(
3540
3565
  t.map(
3541
- ([r, n]) => xi(r, n)
3566
+ ([r, n]) => Hi(r, n)
3542
3567
  )
3543
3568
  ).then(() => {
3544
- if (Ke(e))
3545
- return dr(e);
3546
- delete ce[e];
3547
- }), ce[e];
3569
+ if (et(e))
3570
+ return br(e);
3571
+ delete fe[e];
3572
+ }), fe[e];
3548
3573
  }
3549
- const Ci = {
3574
+ const Si = {
3550
3575
  number: {
3551
3576
  scientific: { notation: "scientific" },
3552
3577
  engineering: { notation: "engineering" },
@@ -3575,57 +3600,57 @@ const Ci = {
3575
3600
  timeZoneName: "short"
3576
3601
  }
3577
3602
  }
3578
- }, wi = {
3603
+ }, Ti = {
3579
3604
  fallbackLocale: null,
3580
3605
  loadingDelay: 200,
3581
- formats: Ci,
3606
+ formats: Si,
3582
3607
  warnOnMissingMessages: !0,
3583
3608
  handleMissingMessage: void 0,
3584
3609
  ignoreTag: !0
3585
- }, Hi = wi;
3586
- function se() {
3587
- return Hi;
3610
+ }, Ai = Ti;
3611
+ function ae() {
3612
+ return Ai;
3588
3613
  }
3589
- const je = Be(!1);
3590
- var Si = Object.defineProperty, Ti = Object.defineProperties, Ai = Object.getOwnPropertyDescriptors, Ht = Object.getOwnPropertySymbols, Ii = Object.prototype.hasOwnProperty, Bi = Object.prototype.propertyIsEnumerable, St = (e, t, r) => t in e ? Si(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Mi = (e, t) => {
3614
+ const Ve = Me(!1);
3615
+ var Bi = Object.defineProperty, Ii = Object.defineProperties, Mi = Object.getOwnPropertyDescriptors, At = Object.getOwnPropertySymbols, Ni = Object.prototype.hasOwnProperty, Pi = Object.prototype.propertyIsEnumerable, Bt = (e, t, r) => t in e ? Bi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Li = (e, t) => {
3591
3616
  for (var r in t || (t = {}))
3592
- Ii.call(t, r) && St(e, r, t[r]);
3593
- if (Ht)
3594
- for (var r of Ht(t))
3595
- Bi.call(t, r) && St(e, r, t[r]);
3617
+ Ni.call(t, r) && Bt(e, r, t[r]);
3618
+ if (At)
3619
+ for (var r of At(t))
3620
+ Pi.call(t, r) && Bt(e, r, t[r]);
3596
3621
  return e;
3597
- }, Ni = (e, t) => Ti(e, Ai(t));
3598
- let et;
3599
- const Ae = Be(null);
3600
- function Tt(e) {
3622
+ }, Oi = (e, t) => Ii(e, Mi(t));
3623
+ let tt;
3624
+ const Be = Me(null);
3625
+ function It(e) {
3601
3626
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3602
3627
  }
3603
- function Pe(e, t = se().fallbackLocale) {
3604
- const r = Tt(e);
3605
- return t ? [.../* @__PURE__ */ new Set([...r, ...Tt(t)])] : r;
3628
+ function Le(e, t = ae().fallbackLocale) {
3629
+ const r = It(e);
3630
+ return t ? [.../* @__PURE__ */ new Set([...r, ...It(t)])] : r;
3606
3631
  }
3607
- function J() {
3608
- return et != null ? et : void 0;
3632
+ function Y() {
3633
+ return tt != null ? tt : void 0;
3609
3634
  }
3610
- Ae.subscribe((e) => {
3611
- et = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3635
+ Be.subscribe((e) => {
3636
+ tt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3612
3637
  });
3613
- const Pi = (e) => {
3614
- if (e && vi(e) && Ke(e)) {
3615
- const { loadingDelay: t } = se();
3638
+ const Fi = (e) => {
3639
+ if (e && xi(e) && et(e)) {
3640
+ const { loadingDelay: t } = ae();
3616
3641
  let r;
3617
- return typeof window != "undefined" && J() != null && t ? r = window.setTimeout(
3618
- () => je.set(!0),
3642
+ return typeof window != "undefined" && Y() != null && t ? r = window.setTimeout(
3643
+ () => Ve.set(!0),
3619
3644
  t
3620
- ) : je.set(!0), dr(e).then(() => {
3621
- Ae.set(e);
3645
+ ) : Ve.set(!0), br(e).then(() => {
3646
+ Be.set(e);
3622
3647
  }).finally(() => {
3623
- clearTimeout(r), je.set(!1);
3648
+ clearTimeout(r), Ve.set(!1);
3624
3649
  });
3625
3650
  }
3626
- return Ae.set(e);
3627
- }, W = Ni(Mi({}, Ae), {
3628
- set: Pi
3651
+ return Be.set(e);
3652
+ }, z = Oi(Li({}, Be), {
3653
+ set: Fi
3629
3654
  }), Oe = (e) => {
3630
3655
  const t = /* @__PURE__ */ Object.create(null);
3631
3656
  return (n) => {
@@ -3633,92 +3658,92 @@ const Pi = (e) => {
3633
3658
  return i in t ? t[i] : t[i] = e(n);
3634
3659
  };
3635
3660
  };
3636
- var Oi = Object.defineProperty, Ie = Object.getOwnPropertySymbols, pr = Object.prototype.hasOwnProperty, gr = Object.prototype.propertyIsEnumerable, At = (e, t, r) => t in e ? Oi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, it = (e, t) => {
3661
+ var Ri = Object.defineProperty, Ie = Object.getOwnPropertySymbols, yr = Object.prototype.hasOwnProperty, vr = Object.prototype.propertyIsEnumerable, Mt = (e, t, r) => t in e ? Ri(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, at = (e, t) => {
3637
3662
  for (var r in t || (t = {}))
3638
- pr.call(t, r) && At(e, r, t[r]);
3663
+ yr.call(t, r) && Mt(e, r, t[r]);
3639
3664
  if (Ie)
3640
3665
  for (var r of Ie(t))
3641
- gr.call(t, r) && At(e, r, t[r]);
3666
+ vr.call(t, r) && Mt(e, r, t[r]);
3642
3667
  return e;
3643
- }, ue = (e, t) => {
3668
+ }, he = (e, t) => {
3644
3669
  var r = {};
3645
3670
  for (var n in e)
3646
- pr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3671
+ yr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3647
3672
  if (e != null && Ie)
3648
3673
  for (var n of Ie(e))
3649
- t.indexOf(n) < 0 && gr.call(e, n) && (r[n] = e[n]);
3674
+ t.indexOf(n) < 0 && vr.call(e, n) && (r[n] = e[n]);
3650
3675
  return r;
3651
3676
  };
3652
- const be = (e, t) => {
3653
- const { formats: r } = se();
3677
+ const ye = (e, t) => {
3678
+ const { formats: r } = ae();
3654
3679
  if (e in r && t in r[e])
3655
3680
  return r[e][t];
3656
3681
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3657
- }, Li = Oe(
3682
+ }, Di = Oe(
3658
3683
  (e) => {
3659
- var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
3684
+ var t = e, { locale: r, format: n } = t, i = he(t, ["locale", "format"]);
3660
3685
  if (r == null)
3661
3686
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3662
- return n && (i = be("number", n)), new Intl.NumberFormat(r, i);
3687
+ return n && (i = ye("number", n)), new Intl.NumberFormat(r, i);
3663
3688
  }
3664
- ), Fi = Oe(
3689
+ ), Ui = Oe(
3665
3690
  (e) => {
3666
- var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
3691
+ var t = e, { locale: r, format: n } = t, i = he(t, ["locale", "format"]);
3667
3692
  if (r == null)
3668
3693
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3669
- return n ? i = be("date", n) : Object.keys(i).length === 0 && (i = be("date", "short")), new Intl.DateTimeFormat(r, i);
3694
+ return n ? i = ye("date", n) : Object.keys(i).length === 0 && (i = ye("date", "short")), new Intl.DateTimeFormat(r, i);
3670
3695
  }
3671
- ), Ri = Oe(
3696
+ ), Gi = Oe(
3672
3697
  (e) => {
3673
- var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
3698
+ var t = e, { locale: r, format: n } = t, i = he(t, ["locale", "format"]);
3674
3699
  if (r == null)
3675
3700
  throw new Error(
3676
3701
  '[svelte-i18n] A "locale" must be set to format time values'
3677
3702
  );
3678
- return n ? i = be("time", n) : Object.keys(i).length === 0 && (i = be("time", "short")), new Intl.DateTimeFormat(r, i);
3703
+ return n ? i = ye("time", n) : Object.keys(i).length === 0 && (i = ye("time", "short")), new Intl.DateTimeFormat(r, i);
3679
3704
  }
3680
- ), Di = (e = {}) => {
3705
+ ), ki = (e = {}) => {
3681
3706
  var t = e, {
3682
- locale: r = J()
3683
- } = t, n = ue(t, [
3707
+ locale: r = Y()
3708
+ } = t, n = he(t, [
3684
3709
  "locale"
3685
3710
  ]);
3686
- return Li(it({ locale: r }, n));
3687
- }, Gi = (e = {}) => {
3711
+ return Di(at({ locale: r }, n));
3712
+ }, $i = (e = {}) => {
3688
3713
  var t = e, {
3689
- locale: r = J()
3690
- } = t, n = ue(t, [
3714
+ locale: r = Y()
3715
+ } = t, n = he(t, [
3691
3716
  "locale"
3692
3717
  ]);
3693
- return Fi(it({ locale: r }, n));
3694
- }, Ui = (e = {}) => {
3718
+ return Ui(at({ locale: r }, n));
3719
+ }, ji = (e = {}) => {
3695
3720
  var t = e, {
3696
- locale: r = J()
3697
- } = t, n = ue(t, [
3721
+ locale: r = Y()
3722
+ } = t, n = he(t, [
3698
3723
  "locale"
3699
3724
  ]);
3700
- return Ri(it({ locale: r }, n));
3701
- }, ki = Oe(
3725
+ return Gi(at({ locale: r }, n));
3726
+ }, Vi = Oe(
3702
3727
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3703
- (e, t = J()) => new di(e, t, se().formats, {
3704
- ignoreTag: se().ignoreTag
3728
+ (e, t = Y()) => new bi(e, t, ae().formats, {
3729
+ ignoreTag: ae().ignoreTag
3705
3730
  })
3706
- ), $i = (e, t = {}) => {
3731
+ ), Xi = (e, t = {}) => {
3707
3732
  var r, n, i, o;
3708
3733
  let s = t;
3709
3734
  typeof e == "object" && (s = e, e = s.id);
3710
3735
  const {
3711
3736
  values: a,
3712
- locale: u = J(),
3737
+ locale: u = Y(),
3713
3738
  default: l
3714
3739
  } = s;
3715
3740
  if (u == null)
3716
3741
  throw new Error(
3717
3742
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3718
3743
  );
3719
- let h = hr(e, u);
3744
+ let h = mr(e, u);
3720
3745
  if (!h)
3721
- h = (o = (i = (n = (r = se()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
3746
+ h = (o = (i = (n = (r = ae()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
3722
3747
  else if (typeof h != "string")
3723
3748
  return console.warn(
3724
3749
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -3727,7 +3752,7 @@ const be = (e, t) => {
3727
3752
  return h;
3728
3753
  let m = h;
3729
3754
  try {
3730
- m = ki(h, u).format(a);
3755
+ m = Vi(h, u).format(a);
3731
3756
  } catch (f) {
3732
3757
  f instanceof Error && console.warn(
3733
3758
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3735,24 +3760,24 @@ const be = (e, t) => {
3735
3760
  );
3736
3761
  }
3737
3762
  return m;
3738
- }, ji = (e, t) => Ui(t).format(e), Vi = (e, t) => Gi(t).format(e), Xi = (e, t) => Di(t).format(e), Wi = (e, t = J()) => hr(e, t);
3739
- ae([W, le], () => $i);
3740
- ae([W], () => ji);
3741
- ae([W], () => Vi);
3742
- ae([W], () => Xi);
3743
- ae([W, le], () => Wi);
3744
- function zi({ withLocale: e, translations: t }) {
3745
- W.subscribe((r) => {
3746
- r == null && (le.set(t), W.set(e));
3763
+ }, 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()) => mr(e, t);
3764
+ le([z, ue], () => Xi);
3765
+ le([z], () => Wi);
3766
+ le([z], () => zi);
3767
+ le([z], () => Zi);
3768
+ le([z, ue], () => Qi);
3769
+ function qi({ withLocale: e, translations: t }) {
3770
+ z.subscribe((r) => {
3771
+ r == null && (ue.set(t), z.set(e));
3747
3772
  });
3748
3773
  }
3749
- function It(e, t) {
3750
- fr(e, t);
3774
+ function Nt(e, t) {
3775
+ pr(e, t);
3751
3776
  }
3752
- function Zi(e) {
3753
- W.set(e);
3777
+ function Ji(e) {
3778
+ z.set(e);
3754
3779
  }
3755
- const Bt = {
3780
+ const Pt = {
3756
3781
  en: {
3757
3782
  login: "Login",
3758
3783
  register: "Register",
@@ -3809,23 +3834,23 @@ const Bt = {
3809
3834
  deposit: "Deposit"
3810
3835
  }
3811
3836
  };
3812
- function Qi(e) {
3837
+ function Yi(e) {
3813
3838
  Gr(e, "svelte-1lgwoo3", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CarouselWrapper{background:-webkit-linear-gradient(to left, var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #D0046C)));background:linear-gradient(to left, var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #D0046C)))}.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, #D0046C)));background:linear-gradient(var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #D0046C)))}.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, #D0046C));color:var(--emw--header-color-primary, var(--emw--color-primary, #D0046C))}.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}');
3814
3839
  }
3815
- function Mt(e, t, r) {
3840
+ function Lt(e, t, r) {
3816
3841
  const n = e.slice();
3817
3842
  return n[49] = t[r], n[51] = r, n;
3818
3843
  }
3819
- function Nt(e, t, r) {
3844
+ function Ot(e, t, r) {
3820
3845
  const n = e.slice();
3821
3846
  return n[52] = t[r], n;
3822
3847
  }
3823
- function Pt(e, t, r) {
3848
+ function Ft(e, t, r) {
3824
3849
  const n = e.slice();
3825
3850
  return n[55] = t[r], n[57] = r, n;
3826
3851
  }
3827
- function Ot(e) {
3828
- let t = [], r = /* @__PURE__ */ new Map(), n, i = re(
3852
+ function Rt(e) {
3853
+ let t = [], r = /* @__PURE__ */ new Map(), n, i = ne(
3829
3854
  /*sliderdata*/
3830
3855
  e[9]
3831
3856
  );
@@ -3834,111 +3859,111 @@ function Ot(e) {
3834
3859
  s[49].id
3835
3860
  );
3836
3861
  for (let s = 0; s < i.length; s += 1) {
3837
- let a = Mt(e, i, s), u = o(a);
3838
- r.set(u, t[s] = Ut(u, a));
3862
+ let a = Lt(e, i, s), u = o(a);
3863
+ r.set(u, t[s] = jt(u, a));
3839
3864
  }
3840
3865
  return {
3841
3866
  c() {
3842
3867
  for (let s = 0; s < t.length; s += 1)
3843
3868
  t[s].c();
3844
- n = de();
3869
+ n = pe();
3845
3870
  },
3846
3871
  m(s, a) {
3847
3872
  for (let u = 0; u < t.length; u += 1)
3848
3873
  t[u] && t[u].m(s, a);
3849
- k(s, n, a);
3874
+ U(s, n, a);
3850
3875
  },
3851
3876
  p(s, a) {
3852
3877
  a[0] & /*activeindex, sliderdata, location, handleClick, subGroupsData, activeIndex, activeSubIndex, prevSubIndex, showsubgroups, itemsActive, categoriesicon, handleSrc*/
3853
- 77775 && (i = re(
3878
+ 77775 && (i = ne(
3854
3879
  /*sliderdata*/
3855
3880
  s[9]
3856
- ), t = Xt(t, a, o, 1, s, i, r, n.parentNode, Vt, Ut, n, Mt));
3881
+ ), t = Zt(t, a, o, 1, s, i, r, n.parentNode, zt, jt, n, Lt));
3857
3882
  },
3858
3883
  d(s) {
3859
- s && D(n);
3884
+ s && R(n);
3860
3885
  for (let a = 0; a < t.length; a += 1)
3861
3886
  t[a].d(s);
3862
3887
  }
3863
3888
  };
3864
3889
  }
3865
- function qi(e) {
3890
+ function Ki(e) {
3866
3891
  let t, r = (
3867
3892
  /*category*/
3868
3893
  e[49].name + ""
3869
3894
  ), n;
3870
3895
  return {
3871
3896
  c() {
3872
- t = M("button"), n = ye(r), S(t, "class", "CategoryButton");
3897
+ t = M("button"), n = ve(r), S(t, "class", "CategoryButton");
3873
3898
  },
3874
3899
  m(i, o) {
3875
- k(i, t, o), I(t, n);
3900
+ U(i, t, o), B(t, n);
3876
3901
  },
3877
3902
  p(i, o) {
3878
3903
  o[0] & /*sliderdata*/
3879
3904
  512 && r !== (r = /*category*/
3880
- i[49].name + "") && rt(n, r);
3905
+ i[49].name + "") && nt(n, r);
3881
3906
  },
3882
3907
  d(i) {
3883
- i && D(t);
3908
+ i && R(t);
3884
3909
  }
3885
3910
  };
3886
3911
  }
3887
- function Ji(e) {
3912
+ function eo(e) {
3888
3913
  let t, r = (
3889
3914
  /*category*/
3890
3915
  e[49].label + ""
3891
3916
  ), n, i;
3892
3917
  return {
3893
3918
  c() {
3894
- t = M("a"), n = ye(r), S(t, "href", i = /*category*/
3919
+ t = M("a"), n = ve(r), S(t, "href", i = /*category*/
3895
3920
  e[49].path);
3896
3921
  },
3897
3922
  m(o, s) {
3898
- k(o, t, s), I(t, n);
3923
+ U(o, t, s), B(t, n);
3899
3924
  },
3900
3925
  p(o, s) {
3901
3926
  s[0] & /*sliderdata*/
3902
3927
  512 && r !== (r = /*category*/
3903
- o[49].label + "") && rt(n, r), s[0] & /*sliderdata*/
3928
+ o[49].label + "") && nt(n, r), s[0] & /*sliderdata*/
3904
3929
  512 && i !== (i = /*category*/
3905
3930
  o[49].path) && S(t, "href", i);
3906
3931
  },
3907
3932
  d(o) {
3908
- o && D(t);
3933
+ o && R(t);
3909
3934
  }
3910
3935
  };
3911
3936
  }
3912
- function Lt(e) {
3937
+ function Dt(e) {
3913
3938
  let t, r = (
3914
3939
  /*subGroupsData*/
3915
3940
  e[10].length > 0 && /*showsubgroups*/
3916
- e[2] == "true" && Ft(e)
3941
+ e[2] == "true" && Ut(e)
3917
3942
  );
3918
3943
  return {
3919
3944
  c() {
3920
- r && r.c(), t = de();
3945
+ r && r.c(), t = pe();
3921
3946
  },
3922
3947
  m(n, i) {
3923
- r && r.m(n, i), k(n, t, i);
3948
+ r && r.m(n, i), U(n, t, i);
3924
3949
  },
3925
3950
  p(n, i) {
3926
3951
  /*subGroupsData*/
3927
3952
  n[10].length > 0 && /*showsubgroups*/
3928
- n[2] == "true" ? r ? r.p(n, i) : (r = Ft(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3953
+ n[2] == "true" ? r ? r.p(n, i) : (r = Ut(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3929
3954
  },
3930
3955
  d(n) {
3931
- n && D(t), r && r.d(n);
3956
+ n && R(t), r && r.d(n);
3932
3957
  }
3933
3958
  };
3934
3959
  }
3935
- function Ft(e) {
3936
- let t, r = re(
3960
+ function Ut(e) {
3961
+ let t, r = ne(
3937
3962
  /*subGroupsData*/
3938
3963
  e[10]
3939
3964
  ), n = [];
3940
3965
  for (let i = 0; i < r.length; i += 1)
3941
- n[i] = Gt(Nt(e, r, i));
3966
+ n[i] = $t(Ot(e, r, i));
3942
3967
  return {
3943
3968
  c() {
3944
3969
  t = M("ul");
@@ -3947,21 +3972,21 @@ function Ft(e) {
3947
3972
  S(t, "class", "DropDown");
3948
3973
  },
3949
3974
  m(i, o) {
3950
- k(i, t, o);
3975
+ U(i, t, o);
3951
3976
  for (let s = 0; s < n.length; s += 1)
3952
3977
  n[s] && n[s].m(t, null);
3953
3978
  },
3954
3979
  p(i, o) {
3955
3980
  if (o[0] & /*subGroupsData, handleClick, sliderdata, activeIndex, activeSubIndex, prevSubIndex*/
3956
3981
  10176) {
3957
- r = re(
3982
+ r = ne(
3958
3983
  /*subGroupsData*/
3959
3984
  i[10]
3960
3985
  );
3961
3986
  let s;
3962
3987
  for (s = 0; s < r.length; s += 1) {
3963
- const a = Nt(i, r, s);
3964
- n[s] ? n[s].p(a, o) : (n[s] = Gt(a), n[s].c(), n[s].m(t, null));
3988
+ const a = Ot(i, r, s);
3989
+ n[s] ? n[s].p(a, o) : (n[s] = $t(a), n[s].c(), n[s].m(t, null));
3965
3990
  }
3966
3991
  for (; s < n.length; s += 1)
3967
3992
  n[s].d(1);
@@ -3969,11 +3994,11 @@ function Ft(e) {
3969
3994
  }
3970
3995
  },
3971
3996
  d(i) {
3972
- i && D(t), $r(n, i);
3997
+ i && R(t), jr(n, i);
3973
3998
  }
3974
3999
  };
3975
4000
  }
3976
- function Rt(e) {
4001
+ function Gt(e) {
3977
4002
  var h;
3978
4003
  let t, r, n = (
3979
4004
  /*subGroupItem*/
@@ -3982,7 +4007,7 @@ function Rt(e) {
3982
4007
  function l(...m) {
3983
4008
  return (
3984
4009
  /*click_handler_1*/
3985
- e[32](
4010
+ e[33](
3986
4011
  /*category*/
3987
4012
  e[49],
3988
4013
  /*index*/
@@ -3997,7 +4022,7 @@ function Rt(e) {
3997
4022
  }
3998
4023
  return {
3999
4024
  c() {
4000
- t = M("li"), r = M("a"), i = ye(n), s = Q(), S(r, "class", o = "SubDropDown " + /*index*/
4025
+ t = M("li"), r = M("a"), i = ve(n), s = q(), S(r, "class", o = "SubDropDown " + /*index*/
4001
4026
  (e[51] == /*activeIndex*/
4002
4027
  e[6] && /*activeSubIndex*/
4003
4028
  (e[7] == /*subindex*/
@@ -4006,13 +4031,13 @@ function Rt(e) {
4006
4031
  e[57]) ? "active" : ""));
4007
4032
  },
4008
4033
  m(m, f) {
4009
- k(m, t, f), I(t, r), I(r, i), I(t, s), a || (u = Te(t, "click", l), a = !0);
4034
+ U(m, t, f), B(t, r), B(r, i), B(t, s), a || (u = Ae(t, "click", l), a = !0);
4010
4035
  },
4011
4036
  p(m, f) {
4012
4037
  var p;
4013
4038
  e = m, f[0] & /*subGroupsData*/
4014
4039
  1024 && n !== (n = /*subGroupItem*/
4015
- ((p = e[55]) == null ? void 0 : p.name) + "") && rt(i, n), f[0] & /*sliderdata, activeIndex, activeSubIndex, subGroupsData, prevSubIndex*/
4040
+ ((p = e[55]) == null ? void 0 : p.name) + "") && nt(i, n), f[0] & /*sliderdata, activeIndex, activeSubIndex, subGroupsData, prevSubIndex*/
4016
4041
  1984 && o !== (o = "SubDropDown " + /*index*/
4017
4042
  (e[51] == /*activeIndex*/
4018
4043
  e[6] && /*activeSubIndex*/
@@ -4022,37 +4047,37 @@ function Rt(e) {
4022
4047
  e[57]) ? "active" : "")) && S(r, "class", o);
4023
4048
  },
4024
4049
  d(m) {
4025
- m && D(t), a = !1, u();
4050
+ m && R(t), a = !1, u();
4026
4051
  }
4027
4052
  };
4028
4053
  }
4029
- function Dt(e, t) {
4054
+ function kt(e, t) {
4030
4055
  let r, n, i = (
4031
4056
  /*index*/
4032
4057
  t[51] == /*subGroup*/
4033
- t[52].index && Rt(t)
4058
+ t[52].index && Gt(t)
4034
4059
  );
4035
4060
  return {
4036
4061
  key: e,
4037
4062
  first: null,
4038
4063
  c() {
4039
- r = de(), i && i.c(), n = de(), this.first = r;
4064
+ r = pe(), i && i.c(), n = pe(), this.first = r;
4040
4065
  },
4041
4066
  m(o, s) {
4042
- k(o, r, s), i && i.m(o, s), k(o, n, s);
4067
+ U(o, r, s), i && i.m(o, s), U(o, n, s);
4043
4068
  },
4044
4069
  p(o, s) {
4045
4070
  t = o, /*index*/
4046
4071
  t[51] == /*subGroup*/
4047
- t[52].index ? i ? i.p(t, s) : (i = Rt(t), i.c(), i.m(n.parentNode, n)) : i && (i.d(1), i = null);
4072
+ t[52].index ? i ? i.p(t, s) : (i = Gt(t), i.c(), i.m(n.parentNode, n)) : i && (i.d(1), i = null);
4048
4073
  },
4049
4074
  d(o) {
4050
- o && (D(r), D(n)), i && i.d(o);
4075
+ o && (R(r), R(n)), i && i.d(o);
4051
4076
  }
4052
4077
  };
4053
4078
  }
4054
- function Gt(e) {
4055
- let t = [], r = /* @__PURE__ */ new Map(), n, i = re(
4079
+ function $t(e) {
4080
+ let t = [], r = /* @__PURE__ */ new Map(), n, i = ne(
4056
4081
  /*subGroup*/
4057
4082
  e[52].items
4058
4083
  );
@@ -4061,40 +4086,40 @@ function Gt(e) {
4061
4086
  s[55].id
4062
4087
  );
4063
4088
  for (let s = 0; s < i.length; s += 1) {
4064
- let a = Pt(e, i, s), u = o(a);
4065
- r.set(u, t[s] = Dt(u, a));
4089
+ let a = Ft(e, i, s), u = o(a);
4090
+ r.set(u, t[s] = kt(u, a));
4066
4091
  }
4067
4092
  return {
4068
4093
  c() {
4069
4094
  for (let s = 0; s < t.length; s += 1)
4070
4095
  t[s].c();
4071
- n = de();
4096
+ n = pe();
4072
4097
  },
4073
4098
  m(s, a) {
4074
4099
  for (let u = 0; u < t.length; u += 1)
4075
4100
  t[u] && t[u].m(s, a);
4076
- k(s, n, a);
4101
+ U(s, n, a);
4077
4102
  },
4078
4103
  p(s, a) {
4079
4104
  a[0] & /*handleClick, sliderdata, subGroupsData, activeIndex, activeSubIndex, prevSubIndex*/
4080
- 10176 && (i = re(
4105
+ 10176 && (i = ne(
4081
4106
  /*subGroup*/
4082
4107
  s[52].items
4083
- ), t = Xt(t, a, o, 1, s, i, r, n.parentNode, Vt, Dt, n, Pt));
4108
+ ), t = Zt(t, a, o, 1, s, i, r, n.parentNode, zt, kt, n, Ft));
4084
4109
  },
4085
4110
  d(s) {
4086
- s && D(n);
4111
+ s && R(n);
4087
4112
  for (let a = 0; a < t.length; a += 1)
4088
4113
  t[a].d(s);
4089
4114
  }
4090
4115
  };
4091
4116
  }
4092
- function Ut(e, t) {
4117
+ function jt(e, t) {
4093
4118
  let r, n, i, o, s, a, u, l, h, m, f;
4094
- function p(_, C) {
4119
+ function p(_, x) {
4095
4120
  return (
4096
4121
  /*location*/
4097
- _[0] === "headerMain" ? Ji : qi
4122
+ _[0] === "headerMain" ? eo : Ki
4098
4123
  );
4099
4124
  }
4100
4125
  let g = p(t), b = g(t), d = (
@@ -4102,12 +4127,12 @@ function Ut(e, t) {
4102
4127
  t[11][
4103
4128
  /*index*/
4104
4129
  t[51]
4105
- ] == !0 && Lt(t)
4130
+ ] == !0 && Dt(t)
4106
4131
  );
4107
- function w(..._) {
4132
+ function H(..._) {
4108
4133
  return (
4109
4134
  /*click_handler_2*/
4110
- t[33](
4135
+ t[34](
4111
4136
  /*category*/
4112
4137
  t[49],
4113
4138
  /*index*/
@@ -4120,16 +4145,16 @@ function Ut(e, t) {
4120
4145
  key: e,
4121
4146
  first: null,
4122
4147
  c() {
4123
- var _, C;
4124
- r = M("li"), n = M("div"), i = M("img"), a = Q(), b.c(), u = Q(), d && d.c(), l = Q(), S(i, "class", o = "CategoryIconImg " + /*categoriesicon*/
4125
- (t[3] === "true" ? "" : "DisplayNone")), dt(i.src, s = /*handleSrc*/
4148
+ var _, x;
4149
+ r = M("li"), n = M("div"), i = M("img"), a = q(), b.c(), u = q(), d && d.c(), l = q(), S(i, "class", o = "CategoryIconImg " + /*categoriesicon*/
4150
+ (t[3] === "true" ? "" : "DisplayNone")), bt(i.src, s = /*handleSrc*/
4126
4151
  t[16](
4127
4152
  /*category*/
4128
4153
  t[49]
4129
4154
  )) || S(i, "src", s), S(n, "class", "CategoryIcon"), S(r, "class", h = "CarouselItem " + /*activeindex*/
4130
4155
  (((_ = t[1]) == null ? void 0 : _.toString().indexOf("$")) > -1 ? (
4131
4156
  /*activeindex*/
4132
- ((C = t[1]) == null ? void 0 : C.split("$").pop()) == /*category*/
4157
+ ((x = t[1]) == null ? void 0 : x.split("$").pop()) == /*category*/
4133
4158
  t[49].id.split("$").pop() ? "active" : ""
4134
4159
  ) : (
4135
4160
  /*activeindex*/
@@ -4138,27 +4163,27 @@ function Ut(e, t) {
4138
4163
  )) + " " + /*location*/
4139
4164
  (t[0] == "headerMain" ? "" : "SecondaryMenu")), S(r, "part", "CarouselItem"), this.first = r;
4140
4165
  },
4141
- m(_, C) {
4142
- k(_, r, C), I(r, n), I(n, i), I(r, a), b.m(r, null), I(r, u), d && d.m(r, null), I(r, l), m || (f = Te(r, "click", w), m = !0);
4166
+ m(_, x) {
4167
+ U(_, r, x), B(r, n), B(n, i), B(r, a), b.m(r, null), B(r, u), d && d.m(r, null), B(r, l), m || (f = Ae(r, "click", H), m = !0);
4143
4168
  },
4144
- p(_, C) {
4145
- var P, O;
4146
- t = _, C[0] & /*categoriesicon*/
4169
+ p(_, x) {
4170
+ var L, I;
4171
+ t = _, x[0] & /*categoriesicon*/
4147
4172
  8 && o !== (o = "CategoryIconImg " + /*categoriesicon*/
4148
- (t[3] === "true" ? "" : "DisplayNone")) && S(i, "class", o), C[0] & /*sliderdata*/
4149
- 512 && !dt(i.src, s = /*handleSrc*/
4173
+ (t[3] === "true" ? "" : "DisplayNone")) && S(i, "class", o), x[0] & /*sliderdata*/
4174
+ 512 && !bt(i.src, s = /*handleSrc*/
4150
4175
  t[16](
4151
4176
  /*category*/
4152
4177
  t[49]
4153
- )) && S(i, "src", s), g === (g = p(t)) && b ? b.p(t, C) : (b.d(1), b = g(t), b && (b.c(), b.m(r, u))), /*itemsActive*/
4178
+ )) && S(i, "src", s), g === (g = p(t)) && b ? b.p(t, x) : (b.d(1), b = g(t), b && (b.c(), b.m(r, u))), /*itemsActive*/
4154
4179
  t[11][
4155
4180
  /*index*/
4156
4181
  t[51]
4157
- ] == !0 ? d ? d.p(t, C) : (d = Lt(t), d.c(), d.m(r, l)) : d && (d.d(1), d = null), C[0] & /*activeindex, sliderdata, location*/
4182
+ ] == !0 ? d ? d.p(t, x) : (d = Dt(t), d.c(), d.m(r, l)) : d && (d.d(1), d = null), x[0] & /*activeindex, sliderdata, location*/
4158
4183
  515 && h !== (h = "CarouselItem " + /*activeindex*/
4159
- (((P = t[1]) == null ? void 0 : P.toString().indexOf("$")) > -1 ? (
4184
+ (((L = t[1]) == null ? void 0 : L.toString().indexOf("$")) > -1 ? (
4160
4185
  /*activeindex*/
4161
- ((O = t[1]) == null ? void 0 : O.split("$").pop()) == /*category*/
4186
+ ((I = t[1]) == null ? void 0 : I.split("$").pop()) == /*category*/
4162
4187
  t[49].id.split("$").pop() ? "active" : ""
4163
4188
  ) : (
4164
4189
  /*activeindex*/
@@ -4168,216 +4193,205 @@ function Ut(e, t) {
4168
4193
  (t[0] == "headerMain" ? "" : "SecondaryMenu")) && S(r, "class", h);
4169
4194
  },
4170
4195
  d(_) {
4171
- _ && D(r), b.d(), d && d.d(), m = !1, f();
4196
+ _ && R(r), b.d(), d && d.d(), m = !1, f();
4172
4197
  }
4173
4198
  };
4174
4199
  }
4175
- function Yi(e) {
4200
+ function to(e) {
4176
4201
  let t, r, n, i, o, s, a, u, l, h, m, f, p, g, b, d = (
4177
4202
  /*sliderdata*/
4178
- e[9].length > 0 && Ot(e)
4203
+ e[9].length > 0 && Rt(e)
4179
4204
  );
4180
4205
  return {
4181
4206
  c() {
4182
- t = M("div"), r = M("div"), n = M("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 = M("div"), s = M("ul"), a = M("li"), a.innerHTML = '<a href="#CarouselNav">Close Subs</a>', u = Q(), d && d.c(), l = Q(), h = M("div"), h.innerHTML = '<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path></svg>', S(n, "class", "CarouselLeftArrow"), S(a, "class", "TouchOnly"), S(s, "id", "CarouselNav"), S(s, "class", "CarouselItems"), S(o, "class", "CarouselNavWrap"), S(h, "class", "CarouselRightArrow"), S(r, "class", m = `CarouselContainer CarouselContainerMobile ${/*location*/
4207
+ t = M("div"), r = M("div"), n = M("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 = M("div"), s = M("ul"), a = M("li"), a.innerHTML = '<a href="#CarouselNav">Close Subs</a>', u = q(), d && d.c(), l = q(), h = M("div"), h.innerHTML = '<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path></svg>', S(n, "class", "CarouselLeftArrow"), S(a, "class", "TouchOnly"), S(s, "id", "CarouselNav"), S(s, "class", "CarouselItems"), S(o, "class", "CarouselNavWrap"), S(h, "class", "CarouselRightArrow"), S(r, "class", m = `CarouselContainer CarouselContainerMobile ${/*location*/
4183
4208
  e[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`), S(r, "style", f = /*location*/
4184
4209
  e[0] === "headerMain" ? "max-width: auto" : void 0), S(t, "class", p = "CarouselWrapper " + /*location*/
4185
4210
  (e[0] === "headerMain" ? "CarouselWrapperHeaderMain" : ""));
4186
4211
  },
4187
- m(w, _) {
4188
- k(w, t, _), I(t, r), I(r, n), I(r, i), I(r, o), I(o, s), I(s, a), I(s, u), d && d.m(s, null), e[34](s), e[35](o), I(r, l), I(r, h), e[37](t), g || (b = [
4189
- Te(
4212
+ m(H, _) {
4213
+ U(H, t, _), B(t, r), B(r, n), B(r, i), B(r, o), B(o, s), B(s, a), B(s, u), d && d.m(s, null), e[35](s), e[36](o), B(r, l), B(r, h), e[38](t), g || (b = [
4214
+ Ae(
4190
4215
  n,
4191
4216
  "click",
4192
4217
  /*click_handler*/
4193
- e[31]
4218
+ e[32]
4194
4219
  ),
4195
- Te(
4220
+ Ae(
4196
4221
  h,
4197
4222
  "click",
4198
4223
  /*click_handler_3*/
4199
- e[36]
4224
+ e[37]
4200
4225
  )
4201
4226
  ], g = !0);
4202
4227
  },
4203
- p(w, _) {
4228
+ p(H, _) {
4204
4229
  /*sliderdata*/
4205
- w[9].length > 0 ? d ? d.p(w, _) : (d = Ot(w), d.c(), d.m(s, null)) : d && (d.d(1), d = null), _[0] & /*location*/
4230
+ H[9].length > 0 ? d ? d.p(H, _) : (d = Rt(H), d.c(), d.m(s, null)) : d && (d.d(1), d = null), _[0] & /*location*/
4206
4231
  1 && m !== (m = `CarouselContainer CarouselContainerMobile ${/*location*/
4207
- w[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`) && S(r, "class", m), _[0] & /*location*/
4232
+ H[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`) && S(r, "class", m), _[0] & /*location*/
4208
4233
  1 && f !== (f = /*location*/
4209
- w[0] === "headerMain" ? "max-width: auto" : void 0) && S(r, "style", f), _[0] & /*location*/
4234
+ H[0] === "headerMain" ? "max-width: auto" : void 0) && S(r, "style", f), _[0] & /*location*/
4210
4235
  1 && p !== (p = "CarouselWrapper " + /*location*/
4211
- (w[0] === "headerMain" ? "CarouselWrapperHeaderMain" : "")) && S(t, "class", p);
4236
+ (H[0] === "headerMain" ? "CarouselWrapperHeaderMain" : "")) && S(t, "class", p);
4212
4237
  },
4213
- i: $,
4214
- o: $,
4215
- d(w) {
4216
- w && D(t), d && d.d(), e[34](null), e[35](null), e[37](null), g = !1, q(b);
4238
+ i: G,
4239
+ o: G,
4240
+ d(H) {
4241
+ H && R(t), d && d.d(), e[35](null), e[36](null), e[38](null), g = !1, J(b);
4217
4242
  }
4218
4243
  };
4219
4244
  }
4220
- function Ki(e, t, r) {
4221
- let { endpoint: n = "" } = t, { datasource: i = "" } = t, { onclickeventname: o = "defaultEvent" } = t, { actionevent: s = "defaultEvent" } = t, { favoritesnumber: a = "0" } = t, { location: u = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: h = "" } = t, { identity: m = "" } = t, { translationurl: f = "" } = t, { isprimarymenu: p = !1 } = t, { issecondarymenu: g = !1 } = t, { lang: b = "" } = t, { activeindex: d = "0" } = t, { showsubgroups: w = "false" } = t, { categoriesicon: _ = "false" } = t, { lobbyiconimage: C = "" } = t, { mygamesiconimage: P = "" } = t;
4222
- zi({ withLocale: "en", translations: {} });
4223
- const O = () => {
4224
- fetch(f).then((x) => x.json()).then((x) => {
4225
- Object.keys(x).forEach((B) => {
4226
- It(B, x[B]);
4245
+ function ro(e, t, r) {
4246
+ let { endpoint: n = "" } = t, { datasource: i = "" } = t, { onclickeventname: o = "defaultEvent" } = t, { actionevent: s = "defaultEvent" } = t, { favoritesnumber: a = "0" } = t, { location: u = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: h = "" } = t, { identity: m = "" } = t, { translationurl: f = "" } = t, { isprimarymenu: p = !1 } = t, { issecondarymenu: g = !1 } = t, { lang: b = "" } = t, { activeindex: d = "0" } = t, { showsubgroups: H = "false" } = t, { categoriesicon: _ = "false" } = t, { lobbyiconimage: x = "" } = t, { mygamesiconimage: L = "" } = t, { mbsource: I = "App" } = t;
4247
+ qi({ withLocale: "en", translations: {} });
4248
+ const k = () => {
4249
+ fetch(f).then((C) => C.json()).then((C) => {
4250
+ Object.keys(C).forEach((O) => {
4251
+ Nt(O, C[O]);
4227
4252
  });
4228
- }).catch((x) => {
4229
- console.log(x);
4253
+ }).catch((C) => {
4254
+ console.log(C);
4230
4255
  });
4231
4256
  };
4232
- Object.keys(Bt).forEach((c) => {
4233
- It(c, Bt[c]);
4257
+ Object.keys(Pt).forEach((c) => {
4258
+ Nt(c, Pt[c]);
4234
4259
  });
4235
- let L, H, N, R, G, he = [], ve = [], _e = [], j, Le = (c, x, B, z, V) => {
4236
- var Z;
4237
- if (!(c.subGroups && z === null)) {
4238
- if (Ee(), r(6, H = x), r(6, H), V != "secondary") {
4260
+ let w, N, P, V, $, ce = [], _e = [], Ee = [], j, Fe = (c, C, O, Z, X) => {
4261
+ var Q;
4262
+ if (!(c.subGroups && Z === null)) {
4263
+ if (xe(), r(6, N = C), r(6, N), X != "secondary") {
4239
4264
  window.postMessage(
4240
4265
  {
4241
4266
  type: s == "CategoryChange" ? "CategoryChange" : "NavigateTo",
4242
4267
  buzz: "1",
4243
4268
  itemId: c.id,
4244
- index: x,
4269
+ index: C,
4245
4270
  item: c,
4246
4271
  path: c.path,
4247
4272
  externalLink: c.externalLink || !1,
4248
- target: ((Z = c.attrs) == null ? void 0 : Z.target) || null
4273
+ target: ((Q = c.attrs) == null ? void 0 : Q.target) || null
4249
4274
  },
4250
4275
  window.location.href
4251
- ), r(7, N = null), r(8, R = null);
4276
+ ), r(7, P = null), r(8, V = null);
4252
4277
  return;
4253
4278
  }
4254
- r(7, N = z), r(7, N), r(8, R = N), window.postMessage(
4279
+ r(7, P = Z), r(7, P), r(8, V = P), window.postMessage(
4255
4280
  {
4256
4281
  type: s,
4257
- itemId: B.id,
4258
- subIndex: z,
4259
- subItem: B
4282
+ itemId: O.id,
4283
+ subIndex: Z,
4284
+ subItem: O
4260
4285
  },
4261
4286
  window.location.href
4262
4287
  );
4263
4288
  }
4264
- }, ot = () => {
4289
+ }, lt = () => {
4265
4290
  j.scrollBy({ left: -250, behavior: "smooth" });
4266
- }, st = () => {
4291
+ }, ut = () => {
4267
4292
  j.scrollBy({ left: 250, behavior: "smooth" });
4268
4293
  };
4269
- const at = (c) => {
4270
- c.data.type == "SliderData" && c.data.identity == m && (r(9, he = c.data.data), r(11, _e = new Array(he.length).fill(!1)), w == "true" && vr()), c.data.type == "GoToHomepage" && he.forEach((x, B) => {
4271
- x.path.endsWith("/casino") && (r(6, H = B), r(6, H));
4294
+ const ht = (c) => {
4295
+ c.data.type == "SliderData" && c.data.identity == m && (r(9, ce = c.data.data), r(11, Ee = new Array(ce.length).fill(!1)), H == "true" && xr()), c.data.type == "GoToHomepage" && ce.forEach((C, O) => {
4296
+ C.path.endsWith("/casino") && (r(6, N = O), r(6, N));
4272
4297
  });
4273
- }, br = () => {
4274
- Zi(b);
4275
- }, yr = (c, x, B) => {
4298
+ }, _r = () => {
4299
+ Ji(b);
4300
+ }, Er = (c, C, O) => {
4276
4301
  if (u == "secondaryMenu" && n && i && b && c.id) {
4277
- let z = new URL(`${n}/v1/casino/groups/${i}/${c.id}/subGroups?language=${b}`);
4278
- fetch(z.href).then((V) => V.json()).then((V) => {
4279
- V.index = x, r(10, ve = ve.concat(V)), w == "false" && window.postMessage(
4302
+ let Z = new URL(`${n}/v1/casino/groups/${i}/${c.id}/subGroups?language=${b}`);
4303
+ fetch(Z.href).then((X) => X.json()).then((X) => {
4304
+ X.index = C, r(10, _e = _e.concat(X)), H == "false" && window.postMessage(
4280
4305
  {
4281
4306
  type: s,
4282
4307
  itemId: c.id,
4283
- index: x,
4308
+ index: C,
4284
4309
  item: c
4285
4310
  },
4286
4311
  window.location.href
4287
4312
  );
4288
- const Z = [];
4289
- ve.map((Br) => (Br.items.forEach((lt) => {
4290
- Z.find((Mr) => lt.id == Mr) || Z.push(lt.id);
4291
- }), Z.flat())), window.postMessage({ type: "SubgroupsIds", subGroupsIds: Z }, window.location.href);
4313
+ const Q = [];
4314
+ _e.map((Mr) => (Mr.items.forEach((ct) => {
4315
+ Q.find((Nr) => ct.id == Nr) || Q.push(ct.id);
4316
+ }), Q.flat())), window.postMessage({ type: "SubgroupsIds", subGroupsIds: Q }, window.location.href);
4292
4317
  }).then(() => {
4293
- L.querySelectorAll(".DropDown") && Ee();
4318
+ w.querySelectorAll(".DropDown") && xe();
4294
4319
  });
4295
4320
  }
4296
4321
  u == "headerMain" && window.postMessage({ type: s, item: c }, window.location.href);
4297
- }, Ee = () => {
4298
- const c = L.querySelectorAll(".DropDown");
4322
+ }, xe = () => {
4323
+ const c = w.querySelectorAll(".DropDown");
4299
4324
  document.activeElement.blur(), j.classList.add("isScrolling");
4300
- for (let x = 0; x < c.length; x++)
4301
- c[x].style.transform = "translateX(-" + j.scrollLeft + "px)";
4325
+ for (let C = 0; C < c.length; C++)
4326
+ c[C].style.transform = "translateX(-" + j.scrollLeft + "px)";
4302
4327
  j.classList.remove("isScrolling");
4303
- }, vr = () => {
4304
- he.forEach((c, x) => {
4305
- var B;
4306
- ((B = c == null ? void 0 : c.subGroups) == null ? void 0 : B.count) > 0 && (r(11, _e[x] = !0, _e), yr(c, x));
4328
+ }, xr = () => {
4329
+ ce.forEach((c, C) => {
4330
+ var O;
4331
+ ((O = c == null ? void 0 : c.subGroups) == null ? void 0 : O.count) > 0 && (r(11, Ee[C] = !0, Ee), Er(c, C));
4307
4332
  });
4308
- }, _r = () => {
4309
- let c = document.createElement("style");
4310
- c.innerHTML = l, G.appendChild(c);
4311
- }, Er = () => {
4312
- let c = document.createElement("style"), x = new URL(h);
4313
- fetch(x.href).then((B) => B.text()).then((B) => {
4314
- c.innerHTML = B, setTimeout(
4315
- () => {
4316
- G.appendChild(c);
4317
- },
4318
- 1
4319
- );
4320
- });
4321
- }, xr = (c) => {
4322
- let x = "";
4323
- return c.id === "LOBBY" ? x = C : c.id === "MYGAMES" && (x = P), c.icon || x;
4333
+ }, Cr = (c) => {
4334
+ let C = "";
4335
+ return c.id === "LOBBY" ? C = x : c.id === "MYGAMES" && (C = L), c.icon || C;
4324
4336
  };
4325
- Wr(() => (window.addEventListener("message", at, !1), "ontouchstart" in document.documentElement && (document.documentElement.className += " touch-device"), setTimeout(
4337
+ zr(() => (window.addEventListener("message", ht, !1), "ontouchstart" in document.documentElement && (document.documentElement.className += " touch-device"), setTimeout(
4326
4338
  () => {
4327
- j.addEventListener("scroll", Ee);
4339
+ j.addEventListener("scroll", xe);
4328
4340
  },
4329
4341
  500
4330
4342
  ), window.postMessage({ type: "SliderLoaded", identity: m }), () => {
4331
- window.removeEventListener("message", at), L.removeEventListener("scroll", Ee);
4343
+ window.removeEventListener("message", ht), w.removeEventListener("scroll", xe);
4332
4344
  }));
4333
- const Cr = () => ot(), wr = (c, x, B, z, V) => {
4334
- Le(c, x, B, z, "secondary"), V.stopPropagation();
4335
- }, Hr = (c, x, B) => {
4336
- Le(c, x, null, null, "main"), B.preventDefault();
4345
+ const wr = () => lt(), Hr = (c, C, O, Z, X) => {
4346
+ Fe(c, C, O, Z, "secondary"), X.stopPropagation();
4347
+ }, Sr = (c, C, O) => {
4348
+ Fe(c, C, null, null, "main"), O.preventDefault();
4337
4349
  };
4338
- function Sr(c) {
4339
- me[c ? "unshift" : "push"](() => {
4340
- L = c, r(5, L);
4350
+ function Tr(c) {
4351
+ de[c ? "unshift" : "push"](() => {
4352
+ w = c, r(5, w);
4341
4353
  });
4342
4354
  }
4343
- function Tr(c) {
4344
- me[c ? "unshift" : "push"](() => {
4355
+ function Ar(c) {
4356
+ de[c ? "unshift" : "push"](() => {
4345
4357
  j = c, r(12, j);
4346
4358
  });
4347
4359
  }
4348
- const Ar = () => st();
4360
+ const Br = () => ut();
4349
4361
  function Ir(c) {
4350
- me[c ? "unshift" : "push"](() => {
4351
- G = c, r(4, G);
4362
+ de[c ? "unshift" : "push"](() => {
4363
+ $ = c, r(4, $);
4352
4364
  });
4353
4365
  }
4354
4366
  return e.$$set = (c) => {
4355
- "endpoint" in c && r(17, n = c.endpoint), "datasource" in c && r(18, i = c.datasource), "onclickeventname" in c && r(19, o = c.onclickeventname), "actionevent" in c && r(20, s = c.actionevent), "favoritesnumber" in c && r(21, a = c.favoritesnumber), "location" in c && r(0, u = c.location), "clientstyling" in c && r(22, l = c.clientstyling), "clientstylingurl" in c && r(23, h = c.clientstylingurl), "identity" in c && r(24, m = c.identity), "translationurl" in c && r(25, f = c.translationurl), "isprimarymenu" in c && r(26, p = c.isprimarymenu), "issecondarymenu" in c && r(27, g = c.issecondarymenu), "lang" in c && r(28, b = c.lang), "activeindex" in c && r(1, d = c.activeindex), "showsubgroups" in c && r(2, w = c.showsubgroups), "categoriesicon" in c && r(3, _ = c.categoriesicon), "lobbyiconimage" in c && r(29, C = c.lobbyiconimage), "mygamesiconimage" in c && r(30, P = c.mygamesiconimage);
4367
+ "endpoint" in c && r(17, n = c.endpoint), "datasource" in c && r(18, i = c.datasource), "onclickeventname" in c && r(19, o = c.onclickeventname), "actionevent" in c && r(20, s = c.actionevent), "favoritesnumber" in c && r(21, a = c.favoritesnumber), "location" in c && r(0, u = c.location), "clientstyling" in c && r(22, l = c.clientstyling), "clientstylingurl" in c && r(23, h = c.clientstylingurl), "identity" in c && r(24, m = c.identity), "translationurl" in c && r(25, f = c.translationurl), "isprimarymenu" in c && r(26, p = c.isprimarymenu), "issecondarymenu" in c && r(27, g = c.issecondarymenu), "lang" in c && r(28, b = c.lang), "activeindex" in c && r(1, d = c.activeindex), "showsubgroups" in c && r(2, H = c.showsubgroups), "categoriesicon" in c && r(3, _ = c.categoriesicon), "lobbyiconimage" in c && r(29, x = c.lobbyiconimage), "mygamesiconimage" in c && r(30, L = c.mygamesiconimage), "mbsource" in c && r(31, I = c.mbsource);
4356
4368
  }, e.$$.update = () => {
4357
4369
  e.$$.dirty[0] & /*activeindex*/
4358
4370
  2, e.$$.dirty[0] & /*translationurl*/
4359
- 33554432 && f && O(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4360
- 4194320 && l && G && _r(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4361
- 8388624 && h && G && Er(), e.$$.dirty[0] & /*lang*/
4362
- 268435456 && b && br();
4371
+ 33554432 && f && k(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4372
+ 4194320 && l && $ && an($, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4373
+ 8388624 && h && $ && ln($, h), e.$$.dirty[0] & /*customStylingContainer*/
4374
+ 16 | e.$$.dirty[1] & /*mbsource*/
4375
+ 1 && I && $ && un($, `${I}.Style`), e.$$.dirty[0] & /*lang*/
4376
+ 268435456 && b && _r();
4363
4377
  }, [
4364
4378
  u,
4365
4379
  d,
4366
- w,
4367
- _,
4368
- G,
4369
- L,
4370
4380
  H,
4381
+ _,
4382
+ $,
4383
+ w,
4371
4384
  N,
4372
- R,
4373
- he,
4374
- ve,
4385
+ P,
4386
+ V,
4387
+ ce,
4375
4388
  _e,
4389
+ Ee,
4376
4390
  j,
4377
- Le,
4378
- ot,
4379
- st,
4380
- xr,
4391
+ Fe,
4392
+ lt,
4393
+ ut,
4394
+ Cr,
4381
4395
  n,
4382
4396
  i,
4383
4397
  o,
@@ -4390,25 +4404,26 @@ function Ki(e, t, r) {
4390
4404
  p,
4391
4405
  g,
4392
4406
  b,
4393
- C,
4394
- P,
4395
- Cr,
4407
+ x,
4408
+ L,
4409
+ I,
4396
4410
  wr,
4397
4411
  Hr,
4398
4412
  Sr,
4399
4413
  Tr,
4400
4414
  Ar,
4415
+ Br,
4401
4416
  Ir
4402
4417
  ];
4403
4418
  }
4404
- class eo extends nn {
4419
+ class no extends on {
4405
4420
  constructor(t) {
4406
- super(), tn(
4421
+ super(), rn(
4407
4422
  this,
4408
4423
  t,
4409
- Ki,
4410
- Yi,
4411
- $t,
4424
+ ro,
4425
+ to,
4426
+ Xt,
4412
4427
  {
4413
4428
  endpoint: 17,
4414
4429
  datasource: 18,
@@ -4427,9 +4442,10 @@ class eo extends nn {
4427
4442
  showsubgroups: 2,
4428
4443
  categoriesicon: 3,
4429
4444
  lobbyiconimage: 29,
4430
- mygamesiconimage: 30
4445
+ mygamesiconimage: 30,
4446
+ mbsource: 31
4431
4447
  },
4432
- Qi,
4448
+ Yi,
4433
4449
  [-1, -1]
4434
4450
  );
4435
4451
  }
@@ -4541,8 +4557,14 @@ class eo extends nn {
4541
4557
  set mygamesiconimage(t) {
4542
4558
  this.$$set({ mygamesiconimage: t }), A();
4543
4559
  }
4560
+ get mbsource() {
4561
+ return this.$$.ctx[31];
4562
+ }
4563
+ set mbsource(t) {
4564
+ this.$$set({ mbsource: t }), A();
4565
+ }
4544
4566
  }
4545
- rn(eo, { endpoint: {}, datasource: {}, onclickeventname: {}, actionevent: {}, favoritesnumber: {}, location: {}, clientstyling: {}, clientstylingurl: {}, identity: {}, translationurl: {}, isprimarymenu: { type: "Boolean" }, issecondarymenu: { type: "Boolean" }, lang: {}, activeindex: {}, showsubgroups: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {} }, [], [], !0);
4567
+ nn(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);
4546
4568
  export {
4547
- eo as default
4569
+ no as default
4548
4570
  };