@everymatrix/casino-categories-vendor-bar 1.77.20 → 1.77.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,57 +1,57 @@
1
- var $r = Object.defineProperty, Gr = Object.defineProperties;
2
- var kr = Object.getOwnPropertyDescriptors;
3
- var ht = Object.getOwnPropertySymbols;
4
- var Fr = Object.prototype.hasOwnProperty, jr = Object.prototype.propertyIsEnumerable;
5
- var Ne = (e, t, r) => t in e ? $r(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ct = (e, t) => {
1
+ var Vr = Object.defineProperty, Wr = Object.defineProperties;
2
+ var Xr = Object.getOwnPropertyDescriptors;
3
+ var mt = Object.getOwnPropertySymbols;
4
+ var zr = Object.prototype.hasOwnProperty, Zr = Object.prototype.propertyIsEnumerable;
5
+ var Ue = (e, t, r) => t in e ? Vr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, bt = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- Fr.call(t, r) && Ne(e, r, t[r]);
8
- if (ht)
9
- for (var r of ht(t))
10
- jr.call(t, r) && Ne(e, r, t[r]);
7
+ zr.call(t, r) && Ue(e, r, t[r]);
8
+ if (mt)
9
+ for (var r of mt(t))
10
+ Zr.call(t, r) && Ue(e, r, t[r]);
11
11
  return e;
12
- }, ft = (e, t) => Gr(e, kr(t));
13
- var k = (e, t, r) => (Ne(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var dt = (e, t, r) => new Promise((n, i) => {
15
- var o = (l) => {
12
+ }, gt = (e, t) => Wr(e, Xr(t));
13
+ var k = (e, t, r) => (Ue(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var vt = (e, t, r) => new Promise((n, i) => {
15
+ var o = (u) => {
16
16
  try {
17
- a(r.next(l));
18
- } catch (u) {
19
- i(u);
17
+ a(r.next(u));
18
+ } catch (l) {
19
+ i(l);
20
20
  }
21
- }, s = (l) => {
21
+ }, s = (u) => {
22
22
  try {
23
- a(r.throw(l));
24
- } catch (u) {
25
- i(u);
23
+ a(r.throw(u));
24
+ } catch (l) {
25
+ i(l);
26
26
  }
27
- }, a = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(o, s);
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
30
  function D() {
31
31
  }
32
- function zt(e) {
32
+ function Jt(e) {
33
33
  return e();
34
34
  }
35
- function pt() {
35
+ function yt() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
38
  function z(e) {
39
- e.forEach(zt);
39
+ e.forEach(Jt);
40
40
  }
41
- function Te(e) {
41
+ function He(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function Zt(e, t) {
44
+ function Kt(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
47
  let be;
48
- function Ce(e, t) {
48
+ function we(e, t) {
49
49
  return e === t ? !0 : (be || (be = document.createElement("a")), be.href = t, e === be.href);
50
50
  }
51
- function Vr(e) {
51
+ function Qr(e) {
52
52
  return Object.keys(e).length === 0;
53
53
  }
54
- function Wr(e, ...t) {
54
+ function Yr(e, ...t) {
55
55
  if (e == null) {
56
56
  for (const n of t)
57
57
  n(void 0);
@@ -63,14 +63,14 @@ function Wr(e, ...t) {
63
63
  function H(e, t) {
64
64
  e.appendChild(t);
65
65
  }
66
- function Xr(e, t, r) {
67
- const n = zr(e);
66
+ function qr(e, t, r) {
67
+ const n = Jr(e);
68
68
  if (!n.getElementById(t)) {
69
69
  const i = T("style");
70
- i.id = t, i.textContent = r, Zr(n, i);
70
+ i.id = t, i.textContent = r, Kr(n, i);
71
71
  }
72
72
  }
73
- function zr(e) {
73
+ function Jr(e) {
74
74
  if (!e)
75
75
  return document;
76
76
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -80,7 +80,7 @@ function zr(e) {
80
80
  t
81
81
  ) : e.ownerDocument;
82
82
  }
83
- function Zr(e, t) {
83
+ function Kr(e, t) {
84
84
  return H(
85
85
  /** @type {Document} */
86
86
  e.head || e,
@@ -96,29 +96,29 @@ function B(e) {
96
96
  function T(e) {
97
97
  return document.createElement(e);
98
98
  }
99
- function me(e) {
99
+ function de(e) {
100
100
  return document.createTextNode(e);
101
101
  }
102
- function F() {
103
- return me(" ");
102
+ function j() {
103
+ return de(" ");
104
104
  }
105
- function it() {
106
- return me("");
105
+ function lt() {
106
+ return de("");
107
107
  }
108
108
  function K(e, t, r, n) {
109
109
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
110
110
  }
111
- function E(e, t, r) {
111
+ function x(e, t, r) {
112
112
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
113
113
  }
114
- function Qr(e) {
114
+ function en(e) {
115
115
  return Array.from(e.childNodes);
116
116
  }
117
- function ot(e, t) {
117
+ function ht(e, t) {
118
118
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
119
119
  t);
120
120
  }
121
- function Yr(e) {
121
+ function tn(e) {
122
122
  const t = {};
123
123
  return e.childNodes.forEach(
124
124
  /** @param {Element} node */
@@ -127,158 +127,158 @@ function Yr(e) {
127
127
  }
128
128
  ), t;
129
129
  }
130
- let fe;
131
- function ce(e) {
132
- fe = e;
130
+ let ce;
131
+ function he(e) {
132
+ ce = e;
133
133
  }
134
- function qr() {
135
- if (!fe)
134
+ function rn() {
135
+ if (!ce)
136
136
  throw new Error("Function called outside component initialization");
137
- return fe;
137
+ return ce;
138
138
  }
139
- function Jr(e) {
140
- qr().$$.on_mount.push(e);
139
+ function nn(e) {
140
+ rn().$$.on_mount.push(e);
141
141
  }
142
142
  const J = [], ee = [];
143
143
  let te = [];
144
- const mt = [], Kr = /* @__PURE__ */ Promise.resolve();
145
- let je = !1;
146
- function en() {
147
- je || (je = !0, Kr.then(U));
144
+ const _t = [], on = /* @__PURE__ */ Promise.resolve();
145
+ let Xe = !1;
146
+ function sn() {
147
+ Xe || (Xe = !0, on.then(U));
148
148
  }
149
- function Ve(e) {
149
+ function ze(e) {
150
150
  te.push(e);
151
151
  }
152
- const Re = /* @__PURE__ */ new Set();
152
+ const De = /* @__PURE__ */ new Set();
153
153
  let Y = 0;
154
154
  function U() {
155
155
  if (Y !== 0)
156
156
  return;
157
- const e = fe;
157
+ const e = ce;
158
158
  do {
159
159
  try {
160
160
  for (; Y < J.length; ) {
161
161
  const t = J[Y];
162
- Y++, ce(t), tn(t.$$);
162
+ Y++, he(t), an(t.$$);
163
163
  }
164
164
  } catch (t) {
165
165
  throw J.length = 0, Y = 0, t;
166
166
  }
167
- for (ce(null), J.length = 0, Y = 0; ee.length; )
167
+ for (he(null), J.length = 0, Y = 0; ee.length; )
168
168
  ee.pop()();
169
169
  for (let t = 0; t < te.length; t += 1) {
170
170
  const r = te[t];
171
- Re.has(r) || (Re.add(r), r());
171
+ De.has(r) || (De.add(r), r());
172
172
  }
173
173
  te.length = 0;
174
174
  } while (J.length);
175
- for (; mt.length; )
176
- mt.pop()();
177
- je = !1, Re.clear(), ce(e);
175
+ for (; _t.length; )
176
+ _t.pop()();
177
+ Xe = !1, De.clear(), he(e);
178
178
  }
179
- function tn(e) {
179
+ function an(e) {
180
180
  if (e.fragment !== null) {
181
181
  e.update(), z(e.before_update);
182
182
  const t = e.dirty;
183
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ve);
183
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ze);
184
184
  }
185
185
  }
186
- function rn(e) {
186
+ function un(e) {
187
187
  const t = [], r = [];
188
188
  te.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), te = t;
189
189
  }
190
- const nn = /* @__PURE__ */ new Set();
191
- function Qt(e, t) {
192
- e && e.i && (nn.delete(e), e.i(t));
190
+ const ln = /* @__PURE__ */ new Set();
191
+ function er(e, t) {
192
+ e && e.i && (ln.delete(e), e.i(t));
193
193
  }
194
- function bt(e) {
194
+ function xt(e) {
195
195
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
196
196
  }
197
- function on(e, t) {
197
+ function hn(e, t) {
198
198
  e.d(1), t.delete(e.key);
199
199
  }
200
- function sn(e, t, r, n, i, o, s, a, l, u, h, c) {
201
- let f = e.length, b = o.length, p = f;
200
+ function cn(e, t, r, n, i, o, s, a, u, l, h, c) {
201
+ let f = e.length, b = o.length, d = f;
202
202
  const m = {};
203
- for (; p--; )
204
- m[e[p].key] = p;
205
- const C = [], P = /* @__PURE__ */ new Map(), A = /* @__PURE__ */ new Map(), I = [];
206
- for (p = b; p--; ) {
207
- const g = c(i, o, p), $ = r(g);
203
+ for (; d--; )
204
+ m[e[d].key] = d;
205
+ const E = [], P = /* @__PURE__ */ new Map(), A = /* @__PURE__ */ new Map(), I = [];
206
+ for (d = b; d--; ) {
207
+ const g = c(i, o, d), $ = r(g);
208
208
  let G = s.get($);
209
- G ? I.push(() => G.p(g, t)) : (G = u($, g), G.c()), P.set($, C[p] = G), $ in m && A.set($, Math.abs(p - m[$]));
209
+ G ? I.push(() => G.p(g, t)) : (G = l($, g), G.c()), P.set($, E[d] = G), $ in m && A.set($, Math.abs(d - m[$]));
210
210
  }
211
- const L = /* @__PURE__ */ new Set(), S = /* @__PURE__ */ new Set();
211
+ const L = /* @__PURE__ */ new Set(), C = /* @__PURE__ */ new Set();
212
212
  function R(g) {
213
- Qt(g, 1), g.m(a, h), s.set(g.key, g), h = g.first, b--;
213
+ er(g, 1), g.m(a, h), s.set(g.key, g), h = g.first, b--;
214
214
  }
215
215
  for (; f && b; ) {
216
- const g = C[b - 1], $ = e[f - 1], G = g.key, Q = $.key;
217
- g === $ ? (h = g.first, f--, b--) : P.has(Q) ? !s.has(G) || L.has(G) ? R(g) : S.has(Q) ? f-- : A.get(G) > A.get(Q) ? (S.add(G), R(g)) : (L.add(Q), f--) : (l($, s), f--);
216
+ const g = E[b - 1], $ = e[f - 1], G = g.key, Q = $.key;
217
+ g === $ ? (h = g.first, f--, b--) : P.has(Q) ? !s.has(G) || L.has(G) ? R(g) : C.has(Q) ? f-- : A.get(G) > A.get(Q) ? (C.add(G), R(g)) : (L.add(Q), f--) : (u($, s), f--);
218
218
  }
219
219
  for (; f--; ) {
220
220
  const g = e[f];
221
- P.has(g.key) || l(g, s);
221
+ P.has(g.key) || u(g, s);
222
222
  }
223
223
  for (; b; )
224
- R(C[b - 1]);
225
- return z(I), C;
224
+ R(E[b - 1]);
225
+ return z(I), E;
226
226
  }
227
- function an(e, t, r) {
227
+ function fn(e, t, r) {
228
228
  const { fragment: n, after_update: i } = e.$$;
229
- n && n.m(t, r), Ve(() => {
230
- const o = e.$$.on_mount.map(zt).filter(Te);
229
+ n && n.m(t, r), ze(() => {
230
+ const o = e.$$.on_mount.map(Jt).filter(He);
231
231
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : z(o), e.$$.on_mount = [];
232
- }), i.forEach(Ve);
232
+ }), i.forEach(ze);
233
233
  }
234
- function ln(e, t) {
234
+ function pn(e, t) {
235
235
  const r = e.$$;
236
- r.fragment !== null && (rn(r.after_update), z(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
236
+ r.fragment !== null && (un(r.after_update), z(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
237
237
  }
238
- function un(e, t) {
239
- e.$$.dirty[0] === -1 && (J.push(e), en(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
238
+ function dn(e, t) {
239
+ e.$$.dirty[0] === -1 && (J.push(e), sn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
240
240
  }
241
- function hn(e, t, r, n, i, o, s = null, a = [-1]) {
242
- const l = fe;
243
- ce(e);
244
- const u = e.$$ = {
241
+ function mn(e, t, r, n, i, o, s = null, a = [-1]) {
242
+ const u = ce;
243
+ he(e);
244
+ const l = e.$$ = {
245
245
  fragment: null,
246
246
  ctx: [],
247
247
  // state
248
248
  props: o,
249
249
  update: D,
250
250
  not_equal: i,
251
- bound: pt(),
251
+ bound: yt(),
252
252
  // lifecycle
253
253
  on_mount: [],
254
254
  on_destroy: [],
255
255
  on_disconnect: [],
256
256
  before_update: [],
257
257
  after_update: [],
258
- context: new Map(t.context || (l ? l.$$.context : [])),
258
+ context: new Map(t.context || (u ? u.$$.context : [])),
259
259
  // everything else
260
- callbacks: pt(),
260
+ callbacks: yt(),
261
261
  dirty: a,
262
262
  skip_bound: !1,
263
- root: t.target || l.$$.root
263
+ root: t.target || u.$$.root
264
264
  };
265
- s && s(u.root);
265
+ s && s(l.root);
266
266
  let h = !1;
267
- if (u.ctx = r ? r(e, t.props || {}, (c, f, ...b) => {
268
- const p = b.length ? b[0] : f;
269
- return u.ctx && i(u.ctx[c], u.ctx[c] = p) && (!u.skip_bound && u.bound[c] && u.bound[c](p), h && un(e, c)), f;
270
- }) : [], u.update(), h = !0, z(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
267
+ if (l.ctx = r ? r(e, t.props || {}, (c, f, ...b) => {
268
+ const d = b.length ? b[0] : f;
269
+ return l.ctx && i(l.ctx[c], l.ctx[c] = d) && (!l.skip_bound && l.bound[c] && l.bound[c](d), h && dn(e, c)), f;
270
+ }) : [], l.update(), h = !0, z(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
271
271
  if (t.hydrate) {
272
- const c = Qr(t.target);
273
- u.fragment && u.fragment.l(c), c.forEach(B);
272
+ const c = en(t.target);
273
+ l.fragment && l.fragment.l(c), c.forEach(B);
274
274
  } else
275
- u.fragment && u.fragment.c();
276
- t.intro && Qt(e.$$.fragment), an(e, t.target, t.anchor), U();
275
+ l.fragment && l.fragment.c();
276
+ t.intro && er(e.$$.fragment), fn(e, t.target, t.anchor), U();
277
277
  }
278
- ce(l);
278
+ he(u);
279
279
  }
280
- let Yt;
281
- typeof HTMLElement == "function" && (Yt = class extends HTMLElement {
280
+ let tr;
281
+ typeof HTMLElement == "function" && (tr = class extends HTMLElement {
282
282
  constructor(t, r, n) {
283
283
  super();
284
284
  /** The Svelte component constructor */
@@ -315,31 +315,31 @@ typeof HTMLElement == "function" && (Yt = class extends HTMLElement {
315
315
  }
316
316
  }
317
317
  connectedCallback() {
318
- return dt(this, null, function* () {
318
+ return vt(this, null, function* () {
319
319
  if (this.$$cn = !0, !this.$$c) {
320
320
  let t = function(o) {
321
321
  return () => {
322
322
  let s;
323
323
  return {
324
324
  c: function() {
325
- s = T("slot"), o !== "default" && E(s, "name", o);
325
+ s = T("slot"), o !== "default" && x(s, "name", o);
326
326
  },
327
327
  /**
328
328
  * @param {HTMLElement} target
329
329
  * @param {HTMLElement} [anchor]
330
330
  */
331
- m: function(u, h) {
332
- O(u, s, h);
331
+ m: function(l, h) {
332
+ O(l, s, h);
333
333
  },
334
- d: function(u) {
335
- u && B(s);
334
+ d: function(l) {
335
+ l && B(s);
336
336
  }
337
337
  };
338
338
  };
339
339
  };
340
340
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
341
341
  return;
342
- const r = {}, n = Yr(this);
342
+ const r = {}, n = tn(this);
343
343
  for (const o of this.$$s)
344
344
  o in n && (r[o] = [t(o)]);
345
345
  for (const o of this.attributes) {
@@ -350,7 +350,7 @@ typeof HTMLElement == "function" && (Yt = class extends HTMLElement {
350
350
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
351
351
  this.$$c = new this.$$ctor({
352
352
  target: this.shadowRoot || this,
353
- props: ft(ct({}, this.$$d), {
353
+ props: gt(bt({}, this.$$d), {
354
354
  $$slots: r,
355
355
  $$scope: {
356
356
  ctx: []
@@ -428,8 +428,8 @@ function ye(e, t, r, n) {
428
428
  return t;
429
429
  }
430
430
  }
431
- function cn(e, t, r, n, i, o) {
432
- let s = class extends Yt {
431
+ function bn(e, t, r, n, i, o) {
432
+ let s = class extends tr {
433
433
  constructor() {
434
434
  super(e, r, i), this.$$p_d = t;
435
435
  }
@@ -444,22 +444,22 @@ function cn(e, t, r, n, i, o) {
444
444
  get() {
445
445
  return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
446
446
  },
447
- set(l) {
448
- var u;
449
- l = ye(a, l, t), this.$$d[a] = l, (u = this.$$c) == null || u.$set({ [a]: l });
447
+ set(u) {
448
+ var l;
449
+ u = ye(a, u, t), this.$$d[a] = u, (l = this.$$c) == null || l.$set({ [a]: u });
450
450
  }
451
451
  });
452
452
  }), n.forEach((a) => {
453
453
  Object.defineProperty(s.prototype, a, {
454
454
  get() {
455
- var l;
456
- return (l = this.$$c) == null ? void 0 : l[a];
455
+ var u;
456
+ return (u = this.$$c) == null ? void 0 : u[a];
457
457
  }
458
458
  });
459
459
  }), e.element = /** @type {any} */
460
460
  s, s;
461
461
  }
462
- class fn {
462
+ class gn {
463
463
  constructor() {
464
464
  /**
465
465
  * ### PRIVATE API
@@ -480,7 +480,7 @@ class fn {
480
480
  }
481
481
  /** @returns {void} */
482
482
  $destroy() {
483
- ln(this, 1), this.$destroy = D;
483
+ pn(this, 1), this.$destroy = D;
484
484
  }
485
485
  /**
486
486
  * @template {Extract<keyof Events, string>} K
@@ -489,7 +489,7 @@ class fn {
489
489
  * @returns {() => void}
490
490
  */
491
491
  $on(t, r) {
492
- if (!Te(r))
492
+ if (!He(r))
493
493
  return D;
494
494
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
495
495
  return n.push(r), () => {
@@ -502,11 +502,11 @@ class fn {
502
502
  * @returns {void}
503
503
  */
504
504
  $set(t) {
505
- this.$$set && !Vr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
505
+ this.$$set && !Qr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
506
506
  }
507
507
  }
508
- const dn = "4";
509
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(dn);
508
+ const vn = "4";
509
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(vn);
510
510
  /*! *****************************************************************************
511
511
  Copyright (c) Microsoft Corporation.
512
512
 
@@ -521,43 +521,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
521
521
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
522
522
  PERFORMANCE OF THIS SOFTWARE.
523
523
  ***************************************************************************** */
524
- var We = function(e, t) {
525
- return We = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
524
+ var Ze = function(e, t) {
525
+ return Ze = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
526
526
  r.__proto__ = n;
527
527
  } || function(r, n) {
528
528
  for (var i in n)
529
529
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
530
- }, We(e, t);
530
+ }, Ze(e, t);
531
531
  };
532
- function V(e, t) {
532
+ function me(e, t) {
533
533
  if (typeof t != "function" && t !== null)
534
534
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
535
- We(e, t);
535
+ Ze(e, t);
536
536
  function r() {
537
537
  this.constructor = e;
538
538
  }
539
539
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
540
540
  }
541
- var _ = function() {
542
- return _ = Object.assign || function(t) {
543
- for (var r, n = 1, i = arguments.length; n < i; n++) {
544
- r = arguments[n];
545
- for (var o in r)
546
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
547
- }
548
- return t;
549
- }, _.apply(this, arguments);
550
- };
551
- function pn(e, t) {
552
- var r = {};
553
- for (var n in e)
554
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
555
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
556
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
557
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
558
- return r;
559
- }
560
- function Xe(e) {
541
+ function Qe(e) {
561
542
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
562
543
  if (r)
563
544
  return r.call(e);
@@ -569,7 +550,7 @@ function Xe(e) {
569
550
  };
570
551
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
571
552
  }
572
- function ze(e, t) {
553
+ function Ye(e, t) {
573
554
  var r = typeof Symbol == "function" && e[Symbol.iterator];
574
555
  if (!r)
575
556
  return e;
@@ -589,22 +570,22 @@ function ze(e, t) {
589
570
  }
590
571
  return o;
591
572
  }
592
- function re(e, t, r) {
593
- if (r || arguments.length === 2)
573
+ function qe(e, t, r) {
574
+ if (arguments.length === 2)
594
575
  for (var n = 0, i = t.length, o; n < i; n++)
595
576
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
596
577
  return e.concat(o || t);
597
578
  }
598
- function j(e) {
579
+ function V(e) {
599
580
  return typeof e == "function";
600
581
  }
601
- function qt(e) {
582
+ function rr(e) {
602
583
  var t = function(n) {
603
584
  Error.call(n), n.stack = new Error().stack;
604
585
  }, r = e(t);
605
586
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
606
587
  }
607
- var Ue = qt(function(e) {
588
+ var $e = rr(function(e) {
608
589
  return function(r) {
609
590
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
610
591
  ` + r.map(function(n, i) {
@@ -613,13 +594,13 @@ var Ue = qt(function(e) {
613
594
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
614
595
  };
615
596
  });
616
- function Ze(e, t) {
597
+ function Je(e, t) {
617
598
  if (e) {
618
599
  var r = e.indexOf(t);
619
600
  0 <= r && e.splice(r, 1);
620
601
  }
621
602
  }
622
- var He = function() {
603
+ var Ae = function() {
623
604
  function e(t) {
624
605
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
625
606
  }
@@ -631,15 +612,15 @@ var He = function() {
631
612
  if (s)
632
613
  if (this._parentage = null, Array.isArray(s))
633
614
  try {
634
- for (var a = Xe(s), l = a.next(); !l.done; l = a.next()) {
635
- var u = l.value;
636
- u.remove(this);
615
+ for (var a = Qe(s), u = a.next(); !u.done; u = a.next()) {
616
+ var l = u.value;
617
+ l.remove(this);
637
618
  }
638
619
  } catch (m) {
639
620
  t = { error: m };
640
621
  } finally {
641
622
  try {
642
- l && !l.done && (r = a.return) && r.call(a);
623
+ u && !u.done && (r = a.return) && r.call(a);
643
624
  } finally {
644
625
  if (t)
645
626
  throw t.error;
@@ -648,22 +629,22 @@ var He = function() {
648
629
  else
649
630
  s.remove(this);
650
631
  var h = this.initialTeardown;
651
- if (j(h))
632
+ if (V(h))
652
633
  try {
653
634
  h();
654
635
  } catch (m) {
655
- o = m instanceof Ue ? m.errors : [m];
636
+ o = m instanceof $e ? m.errors : [m];
656
637
  }
657
638
  var c = this._finalizers;
658
639
  if (c) {
659
640
  this._finalizers = null;
660
641
  try {
661
- for (var f = Xe(c), b = f.next(); !b.done; b = f.next()) {
662
- var p = b.value;
642
+ for (var f = Qe(c), b = f.next(); !b.done; b = f.next()) {
643
+ var d = b.value;
663
644
  try {
664
- gt(p);
645
+ Et(d);
665
646
  } catch (m) {
666
- o = o != null ? o : [], m instanceof Ue ? o = re(re([], ze(o)), ze(m.errors)) : o.push(m);
647
+ o = o != null ? o : [], m instanceof $e ? o = qe(qe([], Ye(o)), Ye(m.errors)) : o.push(m);
667
648
  }
668
649
  }
669
650
  } catch (m) {
@@ -678,13 +659,13 @@ var He = function() {
678
659
  }
679
660
  }
680
661
  if (o)
681
- throw new Ue(o);
662
+ throw new $e(o);
682
663
  }
683
664
  }, e.prototype.add = function(t) {
684
665
  var r;
685
666
  if (t && t !== this)
686
667
  if (this.closed)
687
- gt(t);
668
+ Et(t);
688
669
  else {
689
670
  if (t instanceof e) {
690
671
  if (t.closed || t._hasParent(this))
@@ -701,52 +682,52 @@ var He = function() {
701
682
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
702
683
  }, e.prototype._removeParent = function(t) {
703
684
  var r = this._parentage;
704
- r === t ? this._parentage = null : Array.isArray(r) && Ze(r, t);
685
+ r === t ? this._parentage = null : Array.isArray(r) && Je(r, t);
705
686
  }, e.prototype.remove = function(t) {
706
687
  var r = this._finalizers;
707
- r && Ze(r, t), t instanceof e && t._removeParent(this);
688
+ r && Je(r, t), t instanceof e && t._removeParent(this);
708
689
  }, e.EMPTY = function() {
709
690
  var t = new e();
710
691
  return t.closed = !0, t;
711
692
  }(), e;
712
- }(), Jt = He.EMPTY;
713
- function Kt(e) {
714
- return e instanceof He || e && "closed" in e && j(e.remove) && j(e.add) && j(e.unsubscribe);
693
+ }(), nr = Ae.EMPTY;
694
+ function ir(e) {
695
+ return e instanceof Ae || e && "closed" in e && V(e.remove) && V(e.add) && V(e.unsubscribe);
715
696
  }
716
- function gt(e) {
717
- j(e) ? e() : e.unsubscribe();
697
+ function Et(e) {
698
+ V(e) ? e() : e.unsubscribe();
718
699
  }
719
- var mn = {
700
+ var yn = {
720
701
  Promise: void 0
721
- }, bn = {
702
+ }, _n = {
722
703
  setTimeout: function(e, t) {
723
704
  for (var r = [], n = 2; n < arguments.length; n++)
724
705
  r[n - 2] = arguments[n];
725
- return setTimeout.apply(void 0, re([e, t], ze(r)));
706
+ return setTimeout.apply(void 0, qe([e, t], Ye(r)));
726
707
  },
727
708
  clearTimeout: function(e) {
728
709
  return clearTimeout(e);
729
710
  },
730
711
  delegate: void 0
731
712
  };
732
- function gn(e) {
733
- bn.setTimeout(function() {
713
+ function xn(e) {
714
+ _n.setTimeout(function() {
734
715
  throw e;
735
716
  });
736
717
  }
737
- function vt() {
718
+ function wt() {
738
719
  }
739
720
  function _e(e) {
740
721
  e();
741
722
  }
742
- var er = function(e) {
743
- V(t, e);
723
+ var or = function(e) {
724
+ me(t, e);
744
725
  function t(r) {
745
726
  var n = e.call(this) || this;
746
- return n.isStopped = !1, r ? (n.destination = r, Kt(r) && r.add(n)) : n.destination = _n, n;
727
+ return n.isStopped = !1, r ? (n.destination = r, ir(r) && r.add(n)) : n.destination = Cn, n;
747
728
  }
748
729
  return t.create = function(r, n, i) {
749
- return new Qe(r, n, i);
730
+ return new Ke(r, n, i);
750
731
  }, t.prototype.next = function(r) {
751
732
  this.isStopped || this._next(r);
752
733
  }, t.prototype.error = function(r) {
@@ -770,7 +751,7 @@ var er = function(e) {
770
751
  this.unsubscribe();
771
752
  }
772
753
  }, t;
773
- }(He), vn = function() {
754
+ }(Ae), En = function() {
774
755
  function e(t) {
775
756
  this.partialObserver = t;
776
757
  }
@@ -801,43 +782,43 @@ var er = function(e) {
801
782
  ge(r);
802
783
  }
803
784
  }, e;
804
- }(), Qe = function(e) {
805
- V(t, e);
785
+ }(), Ke = function(e) {
786
+ me(t, e);
806
787
  function t(r, n, i) {
807
788
  var o = e.call(this) || this, s;
808
- return j(r) || !r ? s = {
789
+ return V(r) || !r ? s = {
809
790
  next: r != null ? r : void 0,
810
791
  error: n != null ? n : void 0,
811
792
  complete: i != null ? i : void 0
812
- } : s = r, o.destination = new vn(s), o;
793
+ } : s = r, o.destination = new En(s), o;
813
794
  }
814
795
  return t;
815
- }(er);
796
+ }(or);
816
797
  function ge(e) {
817
- gn(e);
798
+ xn(e);
818
799
  }
819
- function yn(e) {
800
+ function wn(e) {
820
801
  throw e;
821
802
  }
822
- var _n = {
803
+ var Cn = {
823
804
  closed: !0,
824
- next: vt,
825
- error: yn,
826
- complete: vt
827
- }, xn = function() {
805
+ next: wt,
806
+ error: wn,
807
+ complete: wt
808
+ }, Sn = function() {
828
809
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
829
810
  }();
830
- function En(e) {
811
+ function Tn(e) {
831
812
  return e;
832
813
  }
833
- function Cn(e) {
834
- return e.length === 0 ? En : e.length === 1 ? e[0] : function(r) {
814
+ function Hn(e) {
815
+ return e.length === 0 ? Tn : e.length === 1 ? e[0] : function(r) {
835
816
  return e.reduce(function(n, i) {
836
817
  return i(n);
837
818
  }, r);
838
819
  };
839
820
  }
840
- var yt = function() {
821
+ var Ct = function() {
841
822
  function e(t) {
842
823
  t && (this._subscribe = t);
843
824
  }
@@ -845,10 +826,10 @@ var yt = function() {
845
826
  var r = new e();
846
827
  return r.source = this, r.operator = t, r;
847
828
  }, e.prototype.subscribe = function(t, r, n) {
848
- var i = this, o = Sn(t) ? t : new Qe(t, r, n);
829
+ var i = this, o = In(t) ? t : new Ke(t, r, n);
849
830
  return _e(function() {
850
- var s = i, a = s.operator, l = s.source;
851
- o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
831
+ var s = i, a = s.operator, u = s.source;
832
+ o.add(a ? a.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
852
833
  }), o;
853
834
  }, e.prototype._trySubscribe = function(t) {
854
835
  try {
@@ -858,13 +839,13 @@ var yt = function() {
858
839
  }
859
840
  }, e.prototype.forEach = function(t, r) {
860
841
  var n = this;
861
- return r = _t(r), new r(function(i, o) {
862
- var s = new Qe({
842
+ return r = St(r), new r(function(i, o) {
843
+ var s = new Ke({
863
844
  next: function(a) {
864
845
  try {
865
846
  t(a);
866
- } catch (l) {
867
- o(l), s.unsubscribe();
847
+ } catch (u) {
848
+ o(u), s.unsubscribe();
868
849
  }
869
850
  },
870
851
  error: o,
@@ -875,15 +856,15 @@ var yt = function() {
875
856
  }, e.prototype._subscribe = function(t) {
876
857
  var r;
877
858
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
878
- }, e.prototype[xn] = function() {
859
+ }, e.prototype[Sn] = function() {
879
860
  return this;
880
861
  }, e.prototype.pipe = function() {
881
862
  for (var t = [], r = 0; r < arguments.length; r++)
882
863
  t[r] = arguments[r];
883
- return Cn(t)(this);
864
+ return Hn(t)(this);
884
865
  }, e.prototype.toPromise = function(t) {
885
866
  var r = this;
886
- return t = _t(t), new t(function(n, i) {
867
+ return t = St(t), new t(function(n, i) {
887
868
  var o;
888
869
  r.subscribe(function(s) {
889
870
  return o = s;
@@ -897,32 +878,32 @@ var yt = function() {
897
878
  return new e(t);
898
879
  }, e;
899
880
  }();
900
- function _t(e) {
881
+ function St(e) {
901
882
  var t;
902
- return (t = e != null ? e : mn.Promise) !== null && t !== void 0 ? t : Promise;
883
+ return (t = e != null ? e : yn.Promise) !== null && t !== void 0 ? t : Promise;
903
884
  }
904
- function wn(e) {
905
- return e && j(e.next) && j(e.error) && j(e.complete);
885
+ function An(e) {
886
+ return e && V(e.next) && V(e.error) && V(e.complete);
906
887
  }
907
- function Sn(e) {
908
- return e && e instanceof er || wn(e) && Kt(e);
888
+ function In(e) {
889
+ return e && e instanceof or || An(e) && ir(e);
909
890
  }
910
- var Tn = qt(function(e) {
891
+ var Bn = rr(function(e) {
911
892
  return function() {
912
893
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
913
894
  };
914
- }), tr = function(e) {
915
- V(t, e);
895
+ }), sr = function(e) {
896
+ me(t, e);
916
897
  function t() {
917
898
  var r = e.call(this) || this;
918
899
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
919
900
  }
920
901
  return t.prototype.lift = function(r) {
921
- var n = new xt(this, this);
902
+ var n = new Tt(this, this);
922
903
  return n.operator = r, n;
923
904
  }, t.prototype._throwIfClosed = function() {
924
905
  if (this.closed)
925
- throw new Tn();
906
+ throw new Bn();
926
907
  }, t.prototype.next = function(r) {
927
908
  var n = this;
928
909
  _e(function() {
@@ -930,12 +911,12 @@ var Tn = qt(function(e) {
930
911
  if (n._throwIfClosed(), !n.isStopped) {
931
912
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
932
913
  try {
933
- for (var s = Xe(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
934
- var l = a.value;
935
- l.next(r);
914
+ for (var s = Qe(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
915
+ var u = a.value;
916
+ u.next(r);
936
917
  }
937
- } catch (u) {
938
- i = { error: u };
918
+ } catch (l) {
919
+ i = { error: l };
939
920
  } finally {
940
921
  try {
941
922
  a && !a.done && (o = s.return) && o.call(s);
@@ -979,20 +960,20 @@ var Tn = qt(function(e) {
979
960
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
980
961
  }, t.prototype._innerSubscribe = function(r) {
981
962
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
982
- return o || s ? Jt : (this.currentObservers = null, a.push(r), new He(function() {
983
- n.currentObservers = null, Ze(a, r);
963
+ return o || s ? nr : (this.currentObservers = null, a.push(r), new Ae(function() {
964
+ n.currentObservers = null, Je(a, r);
984
965
  }));
985
966
  }, t.prototype._checkFinalizedStatuses = function(r) {
986
967
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
987
968
  i ? r.error(o) : s && r.complete();
988
969
  }, t.prototype.asObservable = function() {
989
- var r = new yt();
970
+ var r = new Ct();
990
971
  return r.source = this, r;
991
972
  }, t.create = function(r, n) {
992
- return new xt(r, n);
973
+ return new Tt(r, n);
993
974
  }, t;
994
- }(yt), xt = function(e) {
995
- V(t, e);
975
+ }(Ct), Tt = function(e) {
976
+ me(t, e);
996
977
  function t(r, n) {
997
978
  var i = e.call(this) || this;
998
979
  return i.destination = r, i.source = n, i;
@@ -1008,60 +989,60 @@ var Tn = qt(function(e) {
1008
989
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1009
990
  }, t.prototype._subscribe = function(r) {
1010
991
  var n, i;
1011
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Jt;
992
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : nr;
1012
993
  }, t;
1013
- }(tr), rr = {
994
+ }(sr), ar = {
1014
995
  now: function() {
1015
- return (rr.delegate || Date).now();
996
+ return (ar.delegate || Date).now();
1016
997
  },
1017
998
  delegate: void 0
1018
- }, Hn = function(e) {
1019
- V(t, e);
999
+ }, Pn = function(e) {
1000
+ me(t, e);
1020
1001
  function t(r, n, i) {
1021
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = rr);
1002
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = ar);
1022
1003
  var o = e.call(this) || this;
1023
1004
  return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
1024
1005
  }
1025
1006
  return t.prototype.next = function(r) {
1026
- var n = this, i = n.isStopped, o = n._buffer, s = n._infiniteTimeWindow, a = n._timestampProvider, l = n._windowTime;
1027
- i || (o.push(r), !s && o.push(a.now() + l)), this._trimBuffer(), e.prototype.next.call(this, r);
1007
+ var n = this, i = n.isStopped, o = n._buffer, s = n._infiniteTimeWindow, a = n._timestampProvider, u = n._windowTime;
1008
+ i || (o.push(r), !s && o.push(a.now() + u)), this._trimBuffer(), e.prototype.next.call(this, r);
1028
1009
  }, t.prototype._subscribe = function(r) {
1029
1010
  this._throwIfClosed(), this._trimBuffer();
1030
- for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, s = i._buffer, a = s.slice(), l = 0; l < a.length && !r.closed; l += o ? 1 : 2)
1031
- r.next(a[l]);
1011
+ for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, s = i._buffer, a = s.slice(), u = 0; u < a.length && !r.closed; u += o ? 1 : 2)
1012
+ r.next(a[u]);
1032
1013
  return this._checkFinalizedStatuses(r), n;
1033
1014
  }, t.prototype._trimBuffer = function() {
1034
1015
  var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, s = r._infiniteTimeWindow, a = (s ? 1 : 2) * n;
1035
1016
  if (n < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
1036
- for (var l = i.now(), u = 0, h = 1; h < o.length && o[h] <= l; h += 2)
1037
- u = h;
1038
- u && o.splice(0, u + 1);
1017
+ for (var u = i.now(), l = 0, h = 1; h < o.length && o[h] <= u; h += 2)
1018
+ l = h;
1019
+ l && o.splice(0, l + 1);
1039
1020
  }
1040
1021
  }, t;
1041
- }(tr);
1042
- const Et = [], Ct = {}, An = (e, t = 0) => {
1043
- if (Et.indexOf(e) == -1) {
1044
- const r = new Hn(t);
1045
- Ct[e] = r, Et.push(e);
1022
+ }(sr);
1023
+ const Ht = [], At = {}, On = (e, t = 0) => {
1024
+ if (Ht.indexOf(e) == -1) {
1025
+ const r = new Pn(t);
1026
+ At[e] = r, Ht.push(e);
1046
1027
  }
1047
- return Ct[e];
1028
+ return At[e];
1048
1029
  }, q = [];
1049
- function In(e, t) {
1030
+ function Mn(e, t) {
1050
1031
  return {
1051
- subscribe: Ae(e, t).subscribe
1032
+ subscribe: Ie(e, t).subscribe
1052
1033
  };
1053
1034
  }
1054
- function Ae(e, t = D) {
1035
+ function Ie(e, t = D) {
1055
1036
  let r;
1056
1037
  const n = /* @__PURE__ */ new Set();
1057
1038
  function i(a) {
1058
- if (Zt(e, a) && (e = a, r)) {
1059
- const l = !q.length;
1060
- for (const u of n)
1061
- u[1](), q.push(u, e);
1062
- if (l) {
1063
- for (let u = 0; u < q.length; u += 2)
1064
- q[u][0](q[u + 1]);
1039
+ if (Kt(e, a) && (e = a, r)) {
1040
+ const u = !q.length;
1041
+ for (const l of n)
1042
+ l[1](), q.push(l, e);
1043
+ if (u) {
1044
+ for (let l = 0; l < q.length; l += 2)
1045
+ q[l][0](q[l + 1]);
1065
1046
  q.length = 0;
1066
1047
  }
1067
1048
  }
@@ -1069,150 +1050,192 @@ function Ae(e, t = D) {
1069
1050
  function o(a) {
1070
1051
  i(a(e));
1071
1052
  }
1072
- function s(a, l = D) {
1073
- const u = [a, l];
1074
- return n.add(u), n.size === 1 && (r = t(i, o) || D), a(e), () => {
1075
- n.delete(u), n.size === 0 && r && (r(), r = null);
1053
+ function s(a, u = D) {
1054
+ const l = [a, u];
1055
+ return n.add(l), n.size === 1 && (r = t(i, o) || D), a(e), () => {
1056
+ n.delete(l), n.size === 0 && r && (r(), r = null);
1076
1057
  };
1077
1058
  }
1078
1059
  return { set: i, update: o, subscribe: s };
1079
1060
  }
1080
- function ae(e, t, r) {
1061
+ function se(e, t, r) {
1081
1062
  const n = !Array.isArray(e), i = n ? [e] : e;
1082
1063
  if (!i.every(Boolean))
1083
1064
  throw new Error("derived() expects stores as input, got a falsy value");
1084
1065
  const o = t.length < 2;
1085
- return In(r, (s, a) => {
1086
- let l = !1;
1087
- const u = [];
1066
+ return Mn(r, (s, a) => {
1067
+ let u = !1;
1068
+ const l = [];
1088
1069
  let h = 0, c = D;
1089
1070
  const f = () => {
1090
1071
  if (h)
1091
1072
  return;
1092
1073
  c();
1093
- const p = t(n ? u[0] : u, s, a);
1094
- o ? s(p) : c = Te(p) ? p : D;
1074
+ const d = t(n ? l[0] : l, s, a);
1075
+ o ? s(d) : c = He(d) ? d : D;
1095
1076
  }, b = i.map(
1096
- (p, m) => Wr(
1097
- p,
1098
- (C) => {
1099
- u[m] = C, h &= ~(1 << m), l && f();
1077
+ (d, m) => Yr(
1078
+ d,
1079
+ (E) => {
1080
+ l[m] = E, h &= ~(1 << m), u && f();
1100
1081
  },
1101
1082
  () => {
1102
1083
  h |= 1 << m;
1103
1084
  }
1104
1085
  )
1105
1086
  );
1106
- return l = !0, f(), function() {
1107
- z(b), c(), l = !1;
1087
+ return u = !0, f(), function() {
1088
+ z(b), c(), u = !1;
1108
1089
  };
1109
1090
  });
1110
1091
  }
1111
- function Bn(e) {
1092
+ function Ln(e) {
1112
1093
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1113
1094
  }
1114
- var Pn = function(t) {
1115
- return On(t) && !Mn(t);
1095
+ var Nn = function(t) {
1096
+ return Rn(t) && !Un(t);
1116
1097
  };
1117
- function On(e) {
1098
+ function Rn(e) {
1118
1099
  return !!e && typeof e == "object";
1119
1100
  }
1120
- function Mn(e) {
1101
+ function Un(e) {
1121
1102
  var t = Object.prototype.toString.call(e);
1122
- return t === "[object RegExp]" || t === "[object Date]" || Rn(e);
1103
+ return t === "[object RegExp]" || t === "[object Date]" || Gn(e);
1123
1104
  }
1124
- var Ln = typeof Symbol == "function" && Symbol.for, Nn = Ln ? Symbol.for("react.element") : 60103;
1125
- function Rn(e) {
1126
- return e.$$typeof === Nn;
1105
+ var Dn = typeof Symbol == "function" && Symbol.for, $n = Dn ? Symbol.for("react.element") : 60103;
1106
+ function Gn(e) {
1107
+ return e.$$typeof === $n;
1127
1108
  }
1128
- function Un(e) {
1109
+ function kn(e) {
1129
1110
  return Array.isArray(e) ? [] : {};
1130
1111
  }
1131
- function de(e, t) {
1132
- return t.clone !== !1 && t.isMergeableObject(e) ? ne(Un(e), e, t) : e;
1112
+ function fe(e, t) {
1113
+ return t.clone !== !1 && t.isMergeableObject(e) ? re(kn(e), e, t) : e;
1133
1114
  }
1134
- function Dn(e, t, r) {
1115
+ function Fn(e, t, r) {
1135
1116
  return e.concat(t).map(function(n) {
1136
- return de(n, r);
1117
+ return fe(n, r);
1137
1118
  });
1138
1119
  }
1139
- function $n(e, t) {
1120
+ function jn(e, t) {
1140
1121
  if (!t.customMerge)
1141
- return ne;
1122
+ return re;
1142
1123
  var r = t.customMerge(e);
1143
- return typeof r == "function" ? r : ne;
1124
+ return typeof r == "function" ? r : re;
1144
1125
  }
1145
- function Gn(e) {
1126
+ function Vn(e) {
1146
1127
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1147
1128
  return Object.propertyIsEnumerable.call(e, t);
1148
1129
  }) : [];
1149
1130
  }
1150
- function wt(e) {
1151
- return Object.keys(e).concat(Gn(e));
1131
+ function It(e) {
1132
+ return Object.keys(e).concat(Vn(e));
1152
1133
  }
1153
- function nr(e, t) {
1134
+ function ur(e, t) {
1154
1135
  try {
1155
1136
  return t in e;
1156
1137
  } catch (r) {
1157
1138
  return !1;
1158
1139
  }
1159
1140
  }
1160
- function kn(e, t) {
1161
- return nr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1141
+ function Wn(e, t) {
1142
+ return ur(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1162
1143
  }
1163
- function Fn(e, t, r) {
1144
+ function Xn(e, t, r) {
1164
1145
  var n = {};
1165
- return r.isMergeableObject(e) && wt(e).forEach(function(i) {
1166
- n[i] = de(e[i], r);
1167
- }), wt(t).forEach(function(i) {
1168
- kn(e, i) || (nr(e, i) && r.isMergeableObject(t[i]) ? n[i] = $n(i, r)(e[i], t[i], r) : n[i] = de(t[i], r));
1146
+ return r.isMergeableObject(e) && It(e).forEach(function(i) {
1147
+ n[i] = fe(e[i], r);
1148
+ }), It(t).forEach(function(i) {
1149
+ Wn(e, i) || (ur(e, i) && r.isMergeableObject(t[i]) ? n[i] = jn(i, r)(e[i], t[i], r) : n[i] = fe(t[i], r));
1169
1150
  }), n;
1170
1151
  }
1171
- function ne(e, t, r) {
1172
- r = r || {}, r.arrayMerge = r.arrayMerge || Dn, r.isMergeableObject = r.isMergeableObject || Pn, r.cloneUnlessOtherwiseSpecified = de;
1152
+ function re(e, t, r) {
1153
+ r = r || {}, r.arrayMerge = r.arrayMerge || Fn, r.isMergeableObject = r.isMergeableObject || Nn, r.cloneUnlessOtherwiseSpecified = fe;
1173
1154
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1174
- return o ? n ? r.arrayMerge(e, t, r) : Fn(e, t, r) : de(t, r);
1155
+ return o ? n ? r.arrayMerge(e, t, r) : Xn(e, t, r) : fe(t, r);
1175
1156
  }
1176
- ne.all = function(t, r) {
1157
+ re.all = function(t, r) {
1177
1158
  if (!Array.isArray(t))
1178
1159
  throw new Error("first argument should be an array");
1179
1160
  return t.reduce(function(n, i) {
1180
- return ne(n, i, r);
1161
+ return re(n, i, r);
1181
1162
  }, {});
1182
1163
  };
1183
- var jn = ne, Vn = jn;
1184
- const Wn = /* @__PURE__ */ Bn(Vn);
1185
- function De(e, t) {
1186
- var r = t && t.cache ? t.cache : Jn, n = t && t.serializer ? t.serializer : Yn, i = t && t.strategy ? t.strategy : Zn;
1164
+ var zn = re, Zn = zn;
1165
+ const Qn = /* @__PURE__ */ Ln(Zn);
1166
+ var et = function(e, t) {
1167
+ return et = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1168
+ r.__proto__ = n;
1169
+ } || function(r, n) {
1170
+ for (var i in n)
1171
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1172
+ }, et(e, t);
1173
+ };
1174
+ function Be(e, t) {
1175
+ if (typeof t != "function" && t !== null)
1176
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1177
+ et(e, t);
1178
+ function r() {
1179
+ this.constructor = e;
1180
+ }
1181
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1182
+ }
1183
+ var F = function() {
1184
+ return F = Object.assign || function(t) {
1185
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1186
+ r = arguments[n];
1187
+ for (var o in r)
1188
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1189
+ }
1190
+ return t;
1191
+ }, F.apply(this, arguments);
1192
+ };
1193
+ function Yn(e, t) {
1194
+ var r = {};
1195
+ for (var n in e)
1196
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1197
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
1198
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1199
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1200
+ return r;
1201
+ }
1202
+ function Ge(e, t, r) {
1203
+ if (r || arguments.length === 2)
1204
+ for (var n = 0, i = t.length, o; n < i; n++)
1205
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1206
+ return e.concat(o || Array.prototype.slice.call(t));
1207
+ }
1208
+ function ke(e, t) {
1209
+ var r = t && t.cache ? t.cache : ni, n = t && t.serializer ? t.serializer : ti, i = t && t.strategy ? t.strategy : Kn;
1187
1210
  return i(e, {
1188
1211
  cache: r,
1189
1212
  serializer: n
1190
1213
  });
1191
1214
  }
1192
- function Xn(e) {
1215
+ function qn(e) {
1193
1216
  return e == null || typeof e == "number" || typeof e == "boolean";
1194
1217
  }
1195
- function zn(e, t, r, n) {
1196
- var i = Xn(n) ? n : r(n), o = t.get(i);
1218
+ function Jn(e, t, r, n) {
1219
+ var i = qn(n) ? n : r(n), o = t.get(i);
1197
1220
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1198
1221
  }
1199
- function ir(e, t, r) {
1222
+ function lr(e, t, r) {
1200
1223
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1201
1224
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1202
1225
  }
1203
- function or(e, t, r, n, i) {
1226
+ function hr(e, t, r, n, i) {
1204
1227
  return r.bind(t, e, n, i);
1205
1228
  }
1206
- function Zn(e, t) {
1207
- var r = e.length === 1 ? zn : ir;
1208
- return or(e, this, r, t.cache.create(), t.serializer);
1229
+ function Kn(e, t) {
1230
+ var r = e.length === 1 ? Jn : lr;
1231
+ return hr(e, this, r, t.cache.create(), t.serializer);
1209
1232
  }
1210
- function Qn(e, t) {
1211
- return or(e, this, ir, t.cache.create(), t.serializer);
1233
+ function ei(e, t) {
1234
+ return hr(e, this, lr, t.cache.create(), t.serializer);
1212
1235
  }
1213
- var Yn = function() {
1236
+ var ti = function() {
1214
1237
  return JSON.stringify(arguments);
1215
- }, qn = (
1238
+ }, ri = (
1216
1239
  /** @class */
1217
1240
  function() {
1218
1241
  function e() {
@@ -1224,13 +1247,23 @@ var Yn = function() {
1224
1247
  this.cache[t] = r;
1225
1248
  }, e;
1226
1249
  }()
1227
- ), Jn = {
1250
+ ), ni = {
1228
1251
  create: function() {
1229
- return new qn();
1252
+ return new ri();
1230
1253
  }
1231
- }, $e = {
1232
- variadic: Qn
1233
- }, v;
1254
+ }, Fe = {
1255
+ variadic: ei
1256
+ }, Ce = function() {
1257
+ return Ce = Object.assign || function(t) {
1258
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1259
+ r = arguments[n];
1260
+ for (var o in r)
1261
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1262
+ }
1263
+ return t;
1264
+ }, Ce.apply(this, arguments);
1265
+ };
1266
+ var v;
1234
1267
  (function(e) {
1235
1268
  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";
1236
1269
  })(v || (v = {}));
@@ -1238,47 +1271,47 @@ var w;
1238
1271
  (function(e) {
1239
1272
  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";
1240
1273
  })(w || (w = {}));
1241
- var ie;
1274
+ var ne;
1242
1275
  (function(e) {
1243
1276
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1244
- })(ie || (ie = {}));
1245
- function St(e) {
1277
+ })(ne || (ne = {}));
1278
+ function Bt(e) {
1246
1279
  return e.type === w.literal;
1247
1280
  }
1248
- function Kn(e) {
1281
+ function ii(e) {
1249
1282
  return e.type === w.argument;
1250
1283
  }
1251
- function sr(e) {
1284
+ function cr(e) {
1252
1285
  return e.type === w.number;
1253
1286
  }
1254
- function ar(e) {
1287
+ function fr(e) {
1255
1288
  return e.type === w.date;
1256
1289
  }
1257
- function lr(e) {
1290
+ function pr(e) {
1258
1291
  return e.type === w.time;
1259
1292
  }
1260
- function ur(e) {
1293
+ function dr(e) {
1261
1294
  return e.type === w.select;
1262
1295
  }
1263
- function hr(e) {
1296
+ function mr(e) {
1264
1297
  return e.type === w.plural;
1265
1298
  }
1266
- function ei(e) {
1299
+ function oi(e) {
1267
1300
  return e.type === w.pound;
1268
1301
  }
1269
- function cr(e) {
1302
+ function br(e) {
1270
1303
  return e.type === w.tag;
1271
1304
  }
1272
- function fr(e) {
1273
- return !!(e && typeof e == "object" && e.type === ie.number);
1305
+ function gr(e) {
1306
+ return !!(e && typeof e == "object" && e.type === ne.number);
1274
1307
  }
1275
- function Ye(e) {
1276
- return !!(e && typeof e == "object" && e.type === ie.dateTime);
1308
+ function tt(e) {
1309
+ return !!(e && typeof e == "object" && e.type === ne.dateTime);
1277
1310
  }
1278
- var dr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ti = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1279
- function ri(e) {
1311
+ var vr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, si = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1312
+ function ai(e) {
1280
1313
  var t = {};
1281
- return e.replace(ti, function(r) {
1314
+ return e.replace(si, function(r) {
1282
1315
  var n = r.length;
1283
1316
  switch (r[0]) {
1284
1317
  case "G":
@@ -1367,36 +1400,46 @@ function ri(e) {
1367
1400
  return "";
1368
1401
  }), t;
1369
1402
  }
1370
- var ni = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1371
- function ii(e) {
1403
+ var S = function() {
1404
+ return S = Object.assign || function(t) {
1405
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1406
+ r = arguments[n];
1407
+ for (var o in r)
1408
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1409
+ }
1410
+ return t;
1411
+ }, S.apply(this, arguments);
1412
+ };
1413
+ var ui = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1414
+ function li(e) {
1372
1415
  if (e.length === 0)
1373
1416
  throw new Error("Number skeleton cannot be empty");
1374
- for (var t = e.split(ni).filter(function(f) {
1417
+ for (var t = e.split(ui).filter(function(f) {
1375
1418
  return f.length > 0;
1376
1419
  }), r = [], n = 0, i = t; n < i.length; n++) {
1377
1420
  var o = i[n], s = o.split("/");
1378
1421
  if (s.length === 0)
1379
1422
  throw new Error("Invalid number skeleton");
1380
- for (var a = s[0], l = s.slice(1), u = 0, h = l; u < h.length; u++) {
1381
- var c = h[u];
1423
+ for (var a = s[0], u = s.slice(1), l = 0, h = u; l < h.length; l++) {
1424
+ var c = h[l];
1382
1425
  if (c.length === 0)
1383
1426
  throw new Error("Invalid number skeleton");
1384
1427
  }
1385
- r.push({ stem: a, options: l });
1428
+ r.push({ stem: a, options: u });
1386
1429
  }
1387
1430
  return r;
1388
1431
  }
1389
- function oi(e) {
1432
+ function hi(e) {
1390
1433
  return e.replace(/^(.*?)-/, "");
1391
1434
  }
1392
- var Tt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, pr = /^(@+)?(\+|#+)?[rs]?$/g, si = /(\*)(0+)|(#+)(0+)|(0+)/g, mr = /^(0+)$/;
1393
- function Ht(e) {
1435
+ var Pt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, yr = /^(@+)?(\+|#+)?[rs]?$/g, ci = /(\*)(0+)|(#+)(0+)|(0+)/g, _r = /^(0+)$/;
1436
+ function Ot(e) {
1394
1437
  var t = {};
1395
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(pr, function(r, n, i) {
1438
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(yr, function(r, n, i) {
1396
1439
  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)), "";
1397
1440
  }), t;
1398
1441
  }
1399
- function br(e) {
1442
+ function xr(e) {
1400
1443
  switch (e) {
1401
1444
  case "sign-auto":
1402
1445
  return {
@@ -1436,7 +1479,7 @@ function br(e) {
1436
1479
  };
1437
1480
  }
1438
1481
  }
1439
- function ai(e) {
1482
+ function fi(e) {
1440
1483
  var t;
1441
1484
  if (e[0] === "E" && e[1] === "E" ? (t = {
1442
1485
  notation: "engineering"
@@ -1444,17 +1487,17 @@ function ai(e) {
1444
1487
  notation: "scientific"
1445
1488
  }, e = e.slice(1)), t) {
1446
1489
  var r = e.slice(0, 2);
1447
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !mr.test(e))
1490
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !_r.test(e))
1448
1491
  throw new Error("Malformed concise eng/scientific notation");
1449
1492
  t.minimumIntegerDigits = e.length;
1450
1493
  }
1451
1494
  return t;
1452
1495
  }
1453
- function At(e) {
1454
- var t = {}, r = br(e);
1496
+ function Mt(e) {
1497
+ var t = {}, r = xr(e);
1455
1498
  return r || t;
1456
1499
  }
1457
- function li(e) {
1500
+ function pi(e) {
1458
1501
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1459
1502
  var i = n[r];
1460
1503
  switch (i.stem) {
@@ -1478,7 +1521,7 @@ function li(e) {
1478
1521
  continue;
1479
1522
  case "measure-unit":
1480
1523
  case "unit":
1481
- t.style = "unit", t.unit = oi(i.options[0]);
1524
+ t.style = "unit", t.unit = hi(i.options[0]);
1482
1525
  continue;
1483
1526
  case "compact-short":
1484
1527
  case "K":
@@ -1489,13 +1532,13 @@ function li(e) {
1489
1532
  t.notation = "compact", t.compactDisplay = "long";
1490
1533
  continue;
1491
1534
  case "scientific":
1492
- t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1493
- return _(_({}, l), At(u));
1535
+ t = S(S(S({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
1536
+ return S(S({}, u), Mt(l));
1494
1537
  }, {}));
1495
1538
  continue;
1496
1539
  case "engineering":
1497
- t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1498
- return _(_({}, l), At(u));
1540
+ t = S(S(S({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1541
+ return S(S({}, u), Mt(l));
1499
1542
  }, {}));
1500
1543
  continue;
1501
1544
  case "notation-simple":
@@ -1540,8 +1583,8 @@ function li(e) {
1540
1583
  case "integer-width":
1541
1584
  if (i.options.length > 1)
1542
1585
  throw new RangeError("integer-width stems only accept a single optional option");
1543
- i.options[0].replace(si, function(l, u, h, c, f, b) {
1544
- if (u)
1586
+ i.options[0].replace(ci, function(u, l, h, c, f, b) {
1587
+ if (l)
1545
1588
  t.minimumIntegerDigits = h.length;
1546
1589
  else {
1547
1590
  if (c && f)
@@ -1553,28 +1596,28 @@ function li(e) {
1553
1596
  });
1554
1597
  continue;
1555
1598
  }
1556
- if (mr.test(i.stem)) {
1599
+ if (_r.test(i.stem)) {
1557
1600
  t.minimumIntegerDigits = i.stem.length;
1558
1601
  continue;
1559
1602
  }
1560
- if (Tt.test(i.stem)) {
1603
+ if (Pt.test(i.stem)) {
1561
1604
  if (i.options.length > 1)
1562
1605
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1563
- i.stem.replace(Tt, function(l, u, h, c, f, b) {
1564
- return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && b ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + b.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1606
+ i.stem.replace(Pt, function(u, l, h, c, f, b) {
1607
+ return h === "*" ? t.minimumFractionDigits = l.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && b ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + b.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1565
1608
  });
1566
1609
  var o = i.options[0];
1567
- o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), Ht(o)));
1610
+ o === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = S(S({}, t), Ot(o)));
1568
1611
  continue;
1569
1612
  }
1570
- if (pr.test(i.stem)) {
1571
- t = _(_({}, t), Ht(i.stem));
1613
+ if (yr.test(i.stem)) {
1614
+ t = S(S({}, t), Ot(i.stem));
1572
1615
  continue;
1573
1616
  }
1574
- var s = br(i.stem);
1575
- s && (t = _(_({}, t), s));
1576
- var a = ai(i.stem);
1577
- a && (t = _(_({}, t), a));
1617
+ var s = xr(i.stem);
1618
+ s && (t = S(S({}, t), s));
1619
+ var a = fi(i.stem);
1620
+ a && (t = S(S({}, t), a));
1578
1621
  }
1579
1622
  return t;
1580
1623
  }
@@ -2993,23 +3036,23 @@ var ve = {
2993
3036
  "h"
2994
3037
  ]
2995
3038
  };
2996
- function ui(e, t) {
3039
+ function di(e, t) {
2997
3040
  for (var r = "", n = 0; n < e.length; n++) {
2998
3041
  var i = e.charAt(n);
2999
3042
  if (i === "j") {
3000
3043
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3001
3044
  o++, n++;
3002
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = hi(t);
3003
- for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
3004
- r += l;
3045
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = mi(t);
3046
+ for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
3047
+ r += u;
3005
3048
  for (; s-- > 0; )
3006
- r = u + r;
3049
+ r = l + r;
3007
3050
  } else
3008
3051
  i === "J" ? r += "H" : r += i;
3009
3052
  }
3010
3053
  return r;
3011
3054
  }
3012
- function hi(e) {
3055
+ function mi(e) {
3013
3056
  var t = e.hourCycle;
3014
3057
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3015
3058
  e.hourCycles && // @ts-ignore
@@ -3031,20 +3074,20 @@ function hi(e) {
3031
3074
  var i = ve[n || ""] || ve[r || ""] || ve["".concat(r, "-001")] || ve["001"];
3032
3075
  return i[0];
3033
3076
  }
3034
- var Ge, ci = new RegExp("^".concat(dr.source, "*")), fi = new RegExp("".concat(dr.source, "*$"));
3077
+ var je, bi = new RegExp("^".concat(vr.source, "*")), gi = new RegExp("".concat(vr.source, "*$"));
3035
3078
  function y(e, t) {
3036
3079
  return { start: e, end: t };
3037
3080
  }
3038
- var di = !!String.prototype.startsWith && "_a".startsWith("a", 1), pi = !!String.fromCodePoint, mi = !!Object.fromEntries, bi = !!String.prototype.codePointAt, gi = !!String.prototype.trimStart, vi = !!String.prototype.trimEnd, yi = !!Number.isSafeInteger, _i = yi ? Number.isSafeInteger : function(e) {
3081
+ var vi = !!String.prototype.startsWith && "_a".startsWith("a", 1), yi = !!String.fromCodePoint, _i = !!Object.fromEntries, xi = !!String.prototype.codePointAt, Ei = !!String.prototype.trimStart, wi = !!String.prototype.trimEnd, Ci = !!Number.isSafeInteger, Si = Ci ? Number.isSafeInteger : function(e) {
3039
3082
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3040
- }, qe = !0;
3083
+ }, rt = !0;
3041
3084
  try {
3042
- var xi = vr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3043
- qe = ((Ge = xi.exec("a")) === null || Ge === void 0 ? void 0 : Ge[0]) === "a";
3085
+ var Ti = wr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3086
+ rt = ((je = Ti.exec("a")) === null || je === void 0 ? void 0 : je[0]) === "a";
3044
3087
  } catch (e) {
3045
- qe = !1;
3088
+ rt = !1;
3046
3089
  }
3047
- var It = di ? (
3090
+ var Lt = vi ? (
3048
3091
  // Native
3049
3092
  function(t, r, n) {
3050
3093
  return t.startsWith(r, n);
@@ -3054,7 +3097,7 @@ var It = di ? (
3054
3097
  function(t, r, n) {
3055
3098
  return t.slice(n, n + r.length) === r;
3056
3099
  }
3057
- ), Je = pi ? String.fromCodePoint : (
3100
+ ), nt = yi ? String.fromCodePoint : (
3058
3101
  // IE11
3059
3102
  function() {
3060
3103
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3066,9 +3109,9 @@ var It = di ? (
3066
3109
  }
3067
3110
  return n;
3068
3111
  }
3069
- ), Bt = (
3112
+ ), Nt = (
3070
3113
  // native
3071
- mi ? Object.fromEntries : (
3114
+ _i ? Object.fromEntries : (
3072
3115
  // Ponyfill
3073
3116
  function(t) {
3074
3117
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3078,7 +3121,7 @@ var It = di ? (
3078
3121
  return r;
3079
3122
  }
3080
3123
  )
3081
- ), gr = bi ? (
3124
+ ), Er = xi ? (
3082
3125
  // Native
3083
3126
  function(t, r) {
3084
3127
  return t.codePointAt(r);
@@ -3092,7 +3135,7 @@ var It = di ? (
3092
3135
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3093
3136
  }
3094
3137
  }
3095
- ), Ei = gi ? (
3138
+ ), Hi = Ei ? (
3096
3139
  // Native
3097
3140
  function(t) {
3098
3141
  return t.trimStart();
@@ -3100,9 +3143,9 @@ var It = di ? (
3100
3143
  ) : (
3101
3144
  // Ponyfill
3102
3145
  function(t) {
3103
- return t.replace(ci, "");
3146
+ return t.replace(bi, "");
3104
3147
  }
3105
- ), Ci = vi ? (
3148
+ ), Ai = wi ? (
3106
3149
  // Native
3107
3150
  function(t) {
3108
3151
  return t.trimEnd();
@@ -3110,32 +3153,32 @@ var It = di ? (
3110
3153
  ) : (
3111
3154
  // Ponyfill
3112
3155
  function(t) {
3113
- return t.replace(fi, "");
3156
+ return t.replace(gi, "");
3114
3157
  }
3115
3158
  );
3116
- function vr(e, t) {
3159
+ function wr(e, t) {
3117
3160
  return new RegExp(e, t);
3118
3161
  }
3119
- var Ke;
3120
- if (qe) {
3121
- var Pt = vr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3122
- Ke = function(t, r) {
3162
+ var it;
3163
+ if (rt) {
3164
+ var Rt = wr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3165
+ it = function(t, r) {
3123
3166
  var n;
3124
- Pt.lastIndex = r;
3125
- var i = Pt.exec(t);
3167
+ Rt.lastIndex = r;
3168
+ var i = Rt.exec(t);
3126
3169
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3127
3170
  };
3128
3171
  } else
3129
- Ke = function(t, r) {
3172
+ it = function(t, r) {
3130
3173
  for (var n = []; ; ) {
3131
- var i = gr(t, r);
3132
- if (i === void 0 || yr(i) || Hi(i))
3174
+ var i = Er(t, r);
3175
+ if (i === void 0 || Cr(i) || Oi(i))
3133
3176
  break;
3134
3177
  n.push(i), r += i >= 65536 ? 2 : 1;
3135
3178
  }
3136
- return Je.apply(void 0, n);
3179
+ return nt.apply(void 0, n);
3137
3180
  };
3138
- var wi = (
3181
+ var Ii = (
3139
3182
  /** @class */
3140
3183
  function() {
3141
3184
  function e(t, r) {
@@ -3166,7 +3209,7 @@ var wi = (
3166
3209
  if (n)
3167
3210
  break;
3168
3211
  return this.error(v.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
3169
- } else if (o === 60 && !this.ignoreTag && et(this.peek() || 0)) {
3212
+ } else if (o === 60 && !this.ignoreTag && ot(this.peek() || 0)) {
3170
3213
  var s = this.parseTag(t, r);
3171
3214
  if (s.err)
3172
3215
  return s;
@@ -3199,10 +3242,10 @@ var wi = (
3199
3242
  return o;
3200
3243
  var s = o.val, a = this.clonePosition();
3201
3244
  if (this.bumpIf("</")) {
3202
- if (this.isEOF() || !et(this.char()))
3245
+ if (this.isEOF() || !ot(this.char()))
3203
3246
  return this.error(v.INVALID_TAG, y(a, this.clonePosition()));
3204
- var l = this.clonePosition(), u = this.parseTagName();
3205
- return i !== u ? this.error(v.UNMATCHED_CLOSING_TAG, y(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3247
+ var u = this.clonePosition(), l = this.parseTagName();
3248
+ return i !== l ? this.error(v.UNMATCHED_CLOSING_TAG, y(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3206
3249
  val: {
3207
3250
  type: w.tag,
3208
3251
  value: i,
@@ -3217,7 +3260,7 @@ var wi = (
3217
3260
  return this.error(v.INVALID_TAG, y(n, this.clonePosition()));
3218
3261
  }, e.prototype.parseTagName = function() {
3219
3262
  var t = this.offset();
3220
- for (this.bump(); !this.isEOF() && Ti(this.char()); )
3263
+ for (this.bump(); !this.isEOF() && Pi(this.char()); )
3221
3264
  this.bump();
3222
3265
  return this.message.slice(t, this.offset());
3223
3266
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3239,14 +3282,14 @@ var wi = (
3239
3282
  }
3240
3283
  break;
3241
3284
  }
3242
- var l = y(n, this.clonePosition());
3285
+ var u = y(n, this.clonePosition());
3243
3286
  return {
3244
- val: { type: w.literal, value: i, location: l },
3287
+ val: { type: w.literal, value: i, location: u },
3245
3288
  err: null
3246
3289
  };
3247
3290
  }, e.prototype.tryParseLeftAngleBracket = function() {
3248
3291
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3249
- !Si(this.peek() || 0)) ? (this.bump(), "<") : null;
3292
+ !Bi(this.peek() || 0)) ? (this.bump(), "<") : null;
3250
3293
  }, e.prototype.tryParseQuote = function(t) {
3251
3294
  if (this.isEOF() || this.char() !== 39)
3252
3295
  return null;
@@ -3280,12 +3323,12 @@ var wi = (
3280
3323
  r.push(n);
3281
3324
  this.bump();
3282
3325
  }
3283
- return Je.apply(void 0, r);
3326
+ return nt.apply(void 0, r);
3284
3327
  }, e.prototype.tryParseUnquoted = function(t, r) {
3285
3328
  if (this.isEOF())
3286
3329
  return null;
3287
3330
  var n = this.char();
3288
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Je(n));
3331
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), nt(n));
3289
3332
  }, e.prototype.parseArgument = function(t, r) {
3290
3333
  var n = this.clonePosition();
3291
3334
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3314,53 +3357,53 @@ var wi = (
3314
3357
  return this.error(v.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
3315
3358
  }
3316
3359
  }, e.prototype.parseIdentifierIfPossible = function() {
3317
- var t = this.clonePosition(), r = this.offset(), n = Ke(this.message, r), i = r + n.length;
3360
+ var t = this.clonePosition(), r = this.offset(), n = it(this.message, r), i = r + n.length;
3318
3361
  this.bumpTo(i);
3319
3362
  var o = this.clonePosition(), s = y(t, o);
3320
3363
  return { value: n, location: s };
3321
3364
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3322
- var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3365
+ var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, u = this.clonePosition();
3323
3366
  switch (a) {
3324
3367
  case "":
3325
- return this.error(v.EXPECT_ARGUMENT_TYPE, y(s, l));
3368
+ return this.error(v.EXPECT_ARGUMENT_TYPE, y(s, u));
3326
3369
  case "number":
3327
3370
  case "date":
3328
3371
  case "time": {
3329
3372
  this.bumpSpace();
3330
- var u = null;
3373
+ var l = null;
3331
3374
  if (this.bumpIf(",")) {
3332
3375
  this.bumpSpace();
3333
3376
  var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3334
3377
  if (c.err)
3335
3378
  return c;
3336
- var f = Ci(c.val);
3379
+ var f = Ai(c.val);
3337
3380
  if (f.length === 0)
3338
3381
  return this.error(v.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
3339
3382
  var b = y(h, this.clonePosition());
3340
- u = { style: f, styleLocation: b };
3383
+ l = { style: f, styleLocation: b };
3341
3384
  }
3342
- var p = this.tryParseArgumentClose(i);
3343
- if (p.err)
3344
- return p;
3385
+ var d = this.tryParseArgumentClose(i);
3386
+ if (d.err)
3387
+ return d;
3345
3388
  var m = y(i, this.clonePosition());
3346
- if (u && It(u == null ? void 0 : u.style, "::", 0)) {
3347
- var C = Ei(u.style.slice(2));
3389
+ if (l && Lt(l == null ? void 0 : l.style, "::", 0)) {
3390
+ var E = Hi(l.style.slice(2));
3348
3391
  if (a === "number") {
3349
- var c = this.parseNumberSkeletonFromString(C, u.styleLocation);
3392
+ var c = this.parseNumberSkeletonFromString(E, l.styleLocation);
3350
3393
  return c.err ? c : {
3351
3394
  val: { type: w.number, value: n, location: m, style: c.val },
3352
3395
  err: null
3353
3396
  };
3354
3397
  } else {
3355
- if (C.length === 0)
3398
+ if (E.length === 0)
3356
3399
  return this.error(v.EXPECT_DATE_TIME_SKELETON, m);
3357
- var P = C;
3358
- this.locale && (P = ui(C, this.locale));
3400
+ var P = E;
3401
+ this.locale && (P = di(E, this.locale));
3359
3402
  var f = {
3360
- type: ie.dateTime,
3403
+ type: ne.dateTime,
3361
3404
  pattern: P,
3362
- location: u.styleLocation,
3363
- parsedOptions: this.shouldParseSkeletons ? ri(P) : {}
3405
+ location: l.styleLocation,
3406
+ parsedOptions: this.shouldParseSkeletons ? ai(P) : {}
3364
3407
  }, A = a === "date" ? w.date : w.time;
3365
3408
  return {
3366
3409
  val: { type: A, value: n, location: m, style: f },
@@ -3373,7 +3416,7 @@ var wi = (
3373
3416
  type: a === "number" ? w.number : a === "date" ? w.date : w.time,
3374
3417
  value: n,
3375
3418
  location: m,
3376
- style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
3419
+ style: (o = l == null ? void 0 : l.style) !== null && o !== void 0 ? o : null
3377
3420
  },
3378
3421
  err: null
3379
3422
  };
@@ -3383,9 +3426,9 @@ var wi = (
3383
3426
  case "select": {
3384
3427
  var I = this.clonePosition();
3385
3428
  if (this.bumpSpace(), !this.bumpIf(","))
3386
- return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, y(I, _({}, I)));
3429
+ return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, y(I, Ce({}, I)));
3387
3430
  this.bumpSpace();
3388
- var L = this.parseIdentifierIfPossible(), S = 0;
3431
+ var L = this.parseIdentifierIfPossible(), C = 0;
3389
3432
  if (a !== "select" && L.value === "offset") {
3390
3433
  if (!this.bumpIf(":"))
3391
3434
  return this.error(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
@@ -3393,20 +3436,20 @@ var wi = (
3393
3436
  var c = this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3394
3437
  if (c.err)
3395
3438
  return c;
3396
- this.bumpSpace(), L = this.parseIdentifierIfPossible(), S = c.val;
3439
+ this.bumpSpace(), L = this.parseIdentifierIfPossible(), C = c.val;
3397
3440
  }
3398
3441
  var R = this.tryParsePluralOrSelectOptions(t, a, r, L);
3399
3442
  if (R.err)
3400
3443
  return R;
3401
- var p = this.tryParseArgumentClose(i);
3402
- if (p.err)
3403
- return p;
3444
+ var d = this.tryParseArgumentClose(i);
3445
+ if (d.err)
3446
+ return d;
3404
3447
  var g = y(i, this.clonePosition());
3405
3448
  return a === "select" ? {
3406
3449
  val: {
3407
3450
  type: w.select,
3408
3451
  value: n,
3409
- options: Bt(R.val),
3452
+ options: Nt(R.val),
3410
3453
  location: g
3411
3454
  },
3412
3455
  err: null
@@ -3414,8 +3457,8 @@ var wi = (
3414
3457
  val: {
3415
3458
  type: w.plural,
3416
3459
  value: n,
3417
- options: Bt(R.val),
3418
- offset: S,
3460
+ options: Nt(R.val),
3461
+ offset: C,
3419
3462
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3420
3463
  location: g
3421
3464
  },
@@ -3423,7 +3466,7 @@ var wi = (
3423
3466
  };
3424
3467
  }
3425
3468
  default:
3426
- return this.error(v.INVALID_ARGUMENT_TYPE, y(s, l));
3469
+ return this.error(v.INVALID_ARGUMENT_TYPE, y(s, u));
3427
3470
  }
3428
3471
  }, e.prototype.tryParseArgumentClose = function(t) {
3429
3472
  return this.isEOF() || this.char() !== 125 ? this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, y(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
@@ -3465,50 +3508,50 @@ var wi = (
3465
3508
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3466
3509
  var n = [];
3467
3510
  try {
3468
- n = ii(t);
3511
+ n = li(t);
3469
3512
  } catch (i) {
3470
3513
  return this.error(v.INVALID_NUMBER_SKELETON, r);
3471
3514
  }
3472
3515
  return {
3473
3516
  val: {
3474
- type: ie.number,
3517
+ type: ne.number,
3475
3518
  tokens: n,
3476
3519
  location: r,
3477
- parsedOptions: this.shouldParseSkeletons ? li(n) : {}
3520
+ parsedOptions: this.shouldParseSkeletons ? pi(n) : {}
3478
3521
  },
3479
3522
  err: null
3480
3523
  };
3481
3524
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3482
- for (var o, s = !1, a = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
3483
- if (u.length === 0) {
3525
+ for (var o, s = !1, a = [], u = /* @__PURE__ */ new Set(), l = i.value, h = i.location; ; ) {
3526
+ if (l.length === 0) {
3484
3527
  var c = this.clonePosition();
3485
3528
  if (r !== "select" && this.bumpIf("=")) {
3486
3529
  var f = this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_SELECTOR, v.INVALID_PLURAL_ARGUMENT_SELECTOR);
3487
3530
  if (f.err)
3488
3531
  return f;
3489
- h = y(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3532
+ h = y(c, this.clonePosition()), l = this.message.slice(c.offset, this.offset());
3490
3533
  } else
3491
3534
  break;
3492
3535
  }
3493
- if (l.has(u))
3536
+ if (u.has(l))
3494
3537
  return this.error(r === "select" ? v.DUPLICATE_SELECT_ARGUMENT_SELECTOR : v.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3495
- u === "other" && (s = !0), this.bumpSpace();
3538
+ l === "other" && (s = !0), this.bumpSpace();
3496
3539
  var b = this.clonePosition();
3497
3540
  if (!this.bumpIf("{"))
3498
3541
  return this.error(r === "select" ? v.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : v.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, y(this.clonePosition(), this.clonePosition()));
3499
- var p = this.parseMessage(t + 1, r, n);
3500
- if (p.err)
3501
- return p;
3542
+ var d = this.parseMessage(t + 1, r, n);
3543
+ if (d.err)
3544
+ return d;
3502
3545
  var m = this.tryParseArgumentClose(b);
3503
3546
  if (m.err)
3504
3547
  return m;
3505
3548
  a.push([
3506
- u,
3549
+ l,
3507
3550
  {
3508
- value: p.val,
3551
+ value: d.val,
3509
3552
  location: y(b, this.clonePosition())
3510
3553
  }
3511
- ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
3554
+ ]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, h = o.location;
3512
3555
  }
3513
3556
  return a.length === 0 ? this.error(r === "select" ? v.EXPECT_SELECT_ARGUMENT_SELECTOR : v.EXPECT_PLURAL_ARGUMENT_SELECTOR, y(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(v.MISSING_OTHER_CLAUSE, y(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3514
3557
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
@@ -3521,8 +3564,8 @@ var wi = (
3521
3564
  else
3522
3565
  break;
3523
3566
  }
3524
- var l = y(i, this.clonePosition());
3525
- return o ? (s *= n, _i(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3567
+ var u = y(i, this.clonePosition());
3568
+ return o ? (s *= n, Si(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3526
3569
  }, e.prototype.offset = function() {
3527
3570
  return this.position.offset;
3528
3571
  }, e.prototype.isEOF = function() {
@@ -3537,7 +3580,7 @@ var wi = (
3537
3580
  var t = this.position.offset;
3538
3581
  if (t >= this.message.length)
3539
3582
  throw Error("out of bound");
3540
- var r = gr(this.message, t);
3583
+ var r = Er(this.message, t);
3541
3584
  if (r === void 0)
3542
3585
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3543
3586
  return r;
@@ -3556,7 +3599,7 @@ var wi = (
3556
3599
  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);
3557
3600
  }
3558
3601
  }, e.prototype.bumpIf = function(t) {
3559
- if (It(this.message, t, this.offset())) {
3602
+ if (Lt(this.message, t, this.offset())) {
3560
3603
  for (var r = 0; r < t.length; r++)
3561
3604
  this.bump();
3562
3605
  return !0;
@@ -3578,7 +3621,7 @@ var wi = (
3578
3621
  break;
3579
3622
  }
3580
3623
  }, e.prototype.bumpSpace = function() {
3581
- for (; !this.isEOF() && yr(this.char()); )
3624
+ for (; !this.isEOF() && Cr(this.char()); )
3582
3625
  this.bump();
3583
3626
  }, e.prototype.peek = function() {
3584
3627
  if (this.isEOF())
@@ -3588,47 +3631,47 @@ var wi = (
3588
3631
  }, e;
3589
3632
  }()
3590
3633
  );
3591
- function et(e) {
3634
+ function ot(e) {
3592
3635
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3593
3636
  }
3594
- function Si(e) {
3595
- return et(e) || e === 47;
3637
+ function Bi(e) {
3638
+ return ot(e) || e === 47;
3596
3639
  }
3597
- function Ti(e) {
3640
+ function Pi(e) {
3598
3641
  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;
3599
3642
  }
3600
- function yr(e) {
3643
+ function Cr(e) {
3601
3644
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3602
3645
  }
3603
- function Hi(e) {
3646
+ function Oi(e) {
3604
3647
  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;
3605
3648
  }
3606
- function tt(e) {
3649
+ function st(e) {
3607
3650
  e.forEach(function(t) {
3608
- if (delete t.location, ur(t) || hr(t))
3651
+ if (delete t.location, dr(t) || mr(t))
3609
3652
  for (var r in t.options)
3610
- delete t.options[r].location, tt(t.options[r].value);
3653
+ delete t.options[r].location, st(t.options[r].value);
3611
3654
  else
3612
- sr(t) && fr(t.style) || (ar(t) || lr(t)) && Ye(t.style) ? delete t.style.location : cr(t) && tt(t.children);
3655
+ cr(t) && gr(t.style) || (fr(t) || pr(t)) && tt(t.style) ? delete t.style.location : br(t) && st(t.children);
3613
3656
  });
3614
3657
  }
3615
- function Ai(e, t) {
3616
- t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3617
- var r = new wi(e, t).parse();
3658
+ function Mi(e, t) {
3659
+ t === void 0 && (t = {}), t = Ce({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3660
+ var r = new Ii(e, t).parse();
3618
3661
  if (r.err) {
3619
3662
  var n = SyntaxError(v[r.err.kind]);
3620
3663
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3621
3664
  }
3622
- return t != null && t.captureLocation || tt(r.val), r.val;
3665
+ return t != null && t.captureLocation || st(r.val), r.val;
3623
3666
  }
3624
- var oe;
3667
+ var ie;
3625
3668
  (function(e) {
3626
3669
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3627
- })(oe || (oe = {}));
3628
- var Ie = (
3670
+ })(ie || (ie = {}));
3671
+ var Pe = (
3629
3672
  /** @class */
3630
3673
  function(e) {
3631
- V(t, e);
3674
+ Be(t, e);
3632
3675
  function t(r, n, i) {
3633
3676
  var o = e.call(this, r) || this;
3634
3677
  return o.code = n, o.originalMessage = i, o;
@@ -3637,64 +3680,64 @@ var Ie = (
3637
3680
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3638
3681
  }, t;
3639
3682
  }(Error)
3640
- ), Ot = (
3683
+ ), Ut = (
3641
3684
  /** @class */
3642
3685
  function(e) {
3643
- V(t, e);
3686
+ Be(t, e);
3644
3687
  function t(r, n, i, o) {
3645
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), oe.INVALID_VALUE, o) || this;
3688
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ie.INVALID_VALUE, o) || this;
3646
3689
  }
3647
3690
  return t;
3648
- }(Ie)
3649
- ), Ii = (
3691
+ }(Pe)
3692
+ ), Li = (
3650
3693
  /** @class */
3651
3694
  function(e) {
3652
- V(t, e);
3695
+ Be(t, e);
3653
3696
  function t(r, n, i) {
3654
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), oe.INVALID_VALUE, i) || this;
3697
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ie.INVALID_VALUE, i) || this;
3655
3698
  }
3656
3699
  return t;
3657
- }(Ie)
3658
- ), Bi = (
3700
+ }(Pe)
3701
+ ), Ni = (
3659
3702
  /** @class */
3660
3703
  function(e) {
3661
- V(t, e);
3704
+ Be(t, e);
3662
3705
  function t(r, n) {
3663
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), oe.MISSING_VALUE, n) || this;
3706
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ie.MISSING_VALUE, n) || this;
3664
3707
  }
3665
3708
  return t;
3666
- }(Ie)
3709
+ }(Pe)
3667
3710
  ), N;
3668
3711
  (function(e) {
3669
3712
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3670
3713
  })(N || (N = {}));
3671
- function Pi(e) {
3714
+ function Ri(e) {
3672
3715
  return e.length < 2 ? e : e.reduce(function(t, r) {
3673
3716
  var n = t[t.length - 1];
3674
3717
  return !n || n.type !== N.literal || r.type !== N.literal ? t.push(r) : n.value += r.value, t;
3675
3718
  }, []);
3676
3719
  }
3677
- function Oi(e) {
3720
+ function Ui(e) {
3678
3721
  return typeof e == "function";
3679
3722
  }
3680
3723
  function xe(e, t, r, n, i, o, s) {
3681
- if (e.length === 1 && St(e[0]))
3724
+ if (e.length === 1 && Bt(e[0]))
3682
3725
  return [
3683
3726
  {
3684
3727
  type: N.literal,
3685
3728
  value: e[0].value
3686
3729
  }
3687
3730
  ];
3688
- for (var a = [], l = 0, u = e; l < u.length; l++) {
3689
- var h = u[l];
3690
- if (St(h)) {
3731
+ for (var a = [], u = 0, l = e; u < l.length; u++) {
3732
+ var h = l[u];
3733
+ if (Bt(h)) {
3691
3734
  a.push({
3692
3735
  type: N.literal,
3693
3736
  value: h.value
3694
3737
  });
3695
3738
  continue;
3696
3739
  }
3697
- if (ei(h)) {
3740
+ if (oi(h)) {
3698
3741
  typeof o == "number" && a.push({
3699
3742
  type: N.literal,
3700
3743
  value: r.getNumberFormat(t).format(o)
@@ -3703,89 +3746,89 @@ function xe(e, t, r, n, i, o, s) {
3703
3746
  }
3704
3747
  var c = h.value;
3705
3748
  if (!(i && c in i))
3706
- throw new Bi(c, s);
3749
+ throw new Ni(c, s);
3707
3750
  var f = i[c];
3708
- if (Kn(h)) {
3751
+ if (ii(h)) {
3709
3752
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3710
3753
  type: typeof f == "string" ? N.literal : N.object,
3711
3754
  value: f
3712
3755
  });
3713
3756
  continue;
3714
3757
  }
3715
- if (ar(h)) {
3716
- var b = typeof h.style == "string" ? n.date[h.style] : Ye(h.style) ? h.style.parsedOptions : void 0;
3758
+ if (fr(h)) {
3759
+ var b = typeof h.style == "string" ? n.date[h.style] : tt(h.style) ? h.style.parsedOptions : void 0;
3717
3760
  a.push({
3718
3761
  type: N.literal,
3719
3762
  value: r.getDateTimeFormat(t, b).format(f)
3720
3763
  });
3721
3764
  continue;
3722
3765
  }
3723
- if (lr(h)) {
3724
- var b = typeof h.style == "string" ? n.time[h.style] : Ye(h.style) ? h.style.parsedOptions : n.time.medium;
3766
+ if (pr(h)) {
3767
+ var b = typeof h.style == "string" ? n.time[h.style] : tt(h.style) ? h.style.parsedOptions : n.time.medium;
3725
3768
  a.push({
3726
3769
  type: N.literal,
3727
3770
  value: r.getDateTimeFormat(t, b).format(f)
3728
3771
  });
3729
3772
  continue;
3730
3773
  }
3731
- if (sr(h)) {
3732
- var b = typeof h.style == "string" ? n.number[h.style] : fr(h.style) ? h.style.parsedOptions : void 0;
3774
+ if (cr(h)) {
3775
+ var b = typeof h.style == "string" ? n.number[h.style] : gr(h.style) ? h.style.parsedOptions : void 0;
3733
3776
  b && b.scale && (f = f * (b.scale || 1)), a.push({
3734
3777
  type: N.literal,
3735
3778
  value: r.getNumberFormat(t, b).format(f)
3736
3779
  });
3737
3780
  continue;
3738
3781
  }
3739
- if (cr(h)) {
3740
- var p = h.children, m = h.value, C = i[m];
3741
- if (!Oi(C))
3742
- throw new Ii(m, "function", s);
3743
- var P = xe(p, t, r, n, i, o), A = C(P.map(function(S) {
3744
- return S.value;
3782
+ if (br(h)) {
3783
+ var d = h.children, m = h.value, E = i[m];
3784
+ if (!Ui(E))
3785
+ throw new Li(m, "function", s);
3786
+ var P = xe(d, t, r, n, i, o), A = E(P.map(function(C) {
3787
+ return C.value;
3745
3788
  }));
3746
- Array.isArray(A) || (A = [A]), a.push.apply(a, A.map(function(S) {
3789
+ Array.isArray(A) || (A = [A]), a.push.apply(a, A.map(function(C) {
3747
3790
  return {
3748
- type: typeof S == "string" ? N.literal : N.object,
3749
- value: S
3791
+ type: typeof C == "string" ? N.literal : N.object,
3792
+ value: C
3750
3793
  };
3751
3794
  }));
3752
3795
  }
3753
- if (ur(h)) {
3796
+ if (dr(h)) {
3754
3797
  var I = h.options[f] || h.options.other;
3755
3798
  if (!I)
3756
- throw new Ot(h.value, f, Object.keys(h.options), s);
3799
+ throw new Ut(h.value, f, Object.keys(h.options), s);
3757
3800
  a.push.apply(a, xe(I.value, t, r, n, i));
3758
3801
  continue;
3759
3802
  }
3760
- if (hr(h)) {
3803
+ if (mr(h)) {
3761
3804
  var I = h.options["=".concat(f)];
3762
3805
  if (!I) {
3763
3806
  if (!Intl.PluralRules)
3764
- throw new Ie(`Intl.PluralRules is not available in this environment.
3807
+ throw new Pe(`Intl.PluralRules is not available in this environment.
3765
3808
  Try polyfilling it using "@formatjs/intl-pluralrules"
3766
- `, oe.MISSING_INTL_API, s);
3809
+ `, ie.MISSING_INTL_API, s);
3767
3810
  var L = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3768
3811
  I = h.options[L] || h.options.other;
3769
3812
  }
3770
3813
  if (!I)
3771
- throw new Ot(h.value, f, Object.keys(h.options), s);
3814
+ throw new Ut(h.value, f, Object.keys(h.options), s);
3772
3815
  a.push.apply(a, xe(I.value, t, r, n, i, f - (h.offset || 0)));
3773
3816
  continue;
3774
3817
  }
3775
3818
  }
3776
- return Pi(a);
3819
+ return Ri(a);
3777
3820
  }
3778
- function Mi(e, t) {
3779
- return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3780
- return r[n] = _(_({}, e[n]), t[n] || {}), r;
3821
+ function Di(e, t) {
3822
+ return t ? F(F(F({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3823
+ return r[n] = F(F({}, e[n]), t[n] || {}), r;
3781
3824
  }, {})) : e;
3782
3825
  }
3783
- function Li(e, t) {
3826
+ function $i(e, t) {
3784
3827
  return t ? Object.keys(e).reduce(function(r, n) {
3785
- return r[n] = Mi(e[n], t[n]), r;
3786
- }, _({}, e)) : e;
3828
+ return r[n] = Di(e[n], t[n]), r;
3829
+ }, F({}, e)) : e;
3787
3830
  }
3788
- function ke(e) {
3831
+ function Ve(e) {
3789
3832
  return {
3790
3833
  create: function() {
3791
3834
  return {
@@ -3799,39 +3842,39 @@ function ke(e) {
3799
3842
  }
3800
3843
  };
3801
3844
  }
3802
- function Ni(e) {
3845
+ function Gi(e) {
3803
3846
  return e === void 0 && (e = {
3804
3847
  number: {},
3805
3848
  dateTime: {},
3806
3849
  pluralRules: {}
3807
3850
  }), {
3808
- getNumberFormat: De(function() {
3851
+ getNumberFormat: ke(function() {
3809
3852
  for (var t, r = [], n = 0; n < arguments.length; n++)
3810
3853
  r[n] = arguments[n];
3811
- return new ((t = Intl.NumberFormat).bind.apply(t, re([void 0], r, !1)))();
3854
+ return new ((t = Intl.NumberFormat).bind.apply(t, Ge([void 0], r, !1)))();
3812
3855
  }, {
3813
- cache: ke(e.number),
3814
- strategy: $e.variadic
3856
+ cache: Ve(e.number),
3857
+ strategy: Fe.variadic
3815
3858
  }),
3816
- getDateTimeFormat: De(function() {
3859
+ getDateTimeFormat: ke(function() {
3817
3860
  for (var t, r = [], n = 0; n < arguments.length; n++)
3818
3861
  r[n] = arguments[n];
3819
- return new ((t = Intl.DateTimeFormat).bind.apply(t, re([void 0], r, !1)))();
3862
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Ge([void 0], r, !1)))();
3820
3863
  }, {
3821
- cache: ke(e.dateTime),
3822
- strategy: $e.variadic
3864
+ cache: Ve(e.dateTime),
3865
+ strategy: Fe.variadic
3823
3866
  }),
3824
- getPluralRules: De(function() {
3867
+ getPluralRules: ke(function() {
3825
3868
  for (var t, r = [], n = 0; n < arguments.length; n++)
3826
3869
  r[n] = arguments[n];
3827
- return new ((t = Intl.PluralRules).bind.apply(t, re([void 0], r, !1)))();
3870
+ return new ((t = Intl.PluralRules).bind.apply(t, Ge([void 0], r, !1)))();
3828
3871
  }, {
3829
- cache: ke(e.pluralRules),
3830
- strategy: $e.variadic
3872
+ cache: Ve(e.pluralRules),
3873
+ strategy: Fe.variadic
3831
3874
  })
3832
3875
  };
3833
3876
  }
3834
- var Ri = (
3877
+ var ki = (
3835
3878
  /** @class */
3836
3879
  function() {
3837
3880
  function e(t, r, n, i) {
@@ -3841,20 +3884,20 @@ var Ri = (
3841
3884
  number: {},
3842
3885
  dateTime: {},
3843
3886
  pluralRules: {}
3844
- }, this.format = function(l) {
3845
- var u = o.formatToParts(l);
3846
- if (u.length === 1)
3847
- return u[0].value;
3848
- var h = u.reduce(function(c, f) {
3887
+ }, this.format = function(u) {
3888
+ var l = o.formatToParts(u);
3889
+ if (l.length === 1)
3890
+ return l[0].value;
3891
+ var h = l.reduce(function(c, f) {
3849
3892
  return !c.length || f.type !== N.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3850
3893
  }, []);
3851
3894
  return h.length <= 1 ? h[0] || "" : h;
3852
- }, this.formatToParts = function(l) {
3853
- return xe(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3895
+ }, this.formatToParts = function(u) {
3896
+ return xe(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
3854
3897
  }, this.resolvedOptions = function() {
3855
- var l;
3898
+ var u;
3856
3899
  return {
3857
- locale: ((l = o.resolvedLocale) === null || l === void 0 ? void 0 : l.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
3900
+ locale: ((u = o.resolvedLocale) === null || u === void 0 ? void 0 : u.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
3858
3901
  };
3859
3902
  }, this.getAst = function() {
3860
3903
  return o.ast;
@@ -3863,13 +3906,13 @@ var Ri = (
3863
3906
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3864
3907
  var s = i || {};
3865
3908
  s.formatters;
3866
- var a = pn(s, ["formatters"]);
3867
- this.ast = e.__parse(t, _(_({}, a), { locale: this.resolvedLocale }));
3909
+ var a = Yn(s, ["formatters"]);
3910
+ this.ast = e.__parse(t, F(F({}, a), { locale: this.resolvedLocale }));
3868
3911
  } else
3869
3912
  this.ast = t;
3870
3913
  if (!Array.isArray(this.ast))
3871
3914
  throw new TypeError("A message must be provided as a String or AST.");
3872
- this.formats = Li(e.formats, n), this.formatters = i && i.formatters || Ni(this.formatterCache);
3915
+ this.formats = $i(e.formats, n), this.formatters = i && i.formatters || Gi(this.formatterCache);
3873
3916
  }
3874
3917
  return Object.defineProperty(e, "defaultLocale", {
3875
3918
  get: function() {
@@ -3882,7 +3925,7 @@ var Ri = (
3882
3925
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3883
3926
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3884
3927
  }
3885
- }, e.__parse = Ai, e.formats = {
3928
+ }, e.__parse = Mi, e.formats = {
3886
3929
  number: {
3887
3930
  integer: {
3888
3931
  maximumFractionDigits: 0
@@ -3943,7 +3986,7 @@ var Ri = (
3943
3986
  }, e;
3944
3987
  }()
3945
3988
  );
3946
- function Ui(e, t) {
3989
+ function Fi(e, t) {
3947
3990
  if (t == null)
3948
3991
  return;
3949
3992
  if (t in e)
@@ -3964,92 +4007,92 @@ function Ui(e, t) {
3964
4007
  n = void 0;
3965
4008
  return n;
3966
4009
  }
3967
- const W = {}, Di = (e, t, r) => r && (t in W || (W[t] = {}), e in W[t] || (W[t][e] = r), r), _r = (e, t) => {
4010
+ const W = {}, ji = (e, t, r) => r && (t in W || (W[t] = {}), e in W[t] || (W[t][e] = r), r), Sr = (e, t) => {
3968
4011
  if (t == null)
3969
4012
  return;
3970
4013
  if (t in W && e in W[t])
3971
4014
  return W[t][e];
3972
- const r = Be(t);
4015
+ const r = Oe(t);
3973
4016
  for (let n = 0; n < r.length; n++) {
3974
- const i = r[n], o = Gi(i, e);
4017
+ const i = r[n], o = Wi(i, e);
3975
4018
  if (o)
3976
- return Di(e, t, o);
4019
+ return ji(e, t, o);
3977
4020
  }
3978
4021
  };
3979
- let st;
3980
- const le = Ae({});
3981
- function $i(e) {
3982
- return st[e] || null;
4022
+ let ct;
4023
+ const ae = Ie({});
4024
+ function Vi(e) {
4025
+ return ct[e] || null;
3983
4026
  }
3984
- function xr(e) {
3985
- return e in st;
4027
+ function Tr(e) {
4028
+ return e in ct;
3986
4029
  }
3987
- function Gi(e, t) {
3988
- if (!xr(e))
4030
+ function Wi(e, t) {
4031
+ if (!Tr(e))
3989
4032
  return null;
3990
- const r = $i(e);
3991
- return Ui(r, t);
4033
+ const r = Vi(e);
4034
+ return Fi(r, t);
3992
4035
  }
3993
- function ki(e) {
4036
+ function Xi(e) {
3994
4037
  if (e == null)
3995
4038
  return;
3996
- const t = Be(e);
4039
+ const t = Oe(e);
3997
4040
  for (let r = 0; r < t.length; r++) {
3998
4041
  const n = t[r];
3999
- if (xr(n))
4042
+ if (Tr(n))
4000
4043
  return n;
4001
4044
  }
4002
4045
  }
4003
- function Er(e, ...t) {
4004
- delete W[e], le.update((r) => (r[e] = Wn.all([r[e] || {}, ...t]), r));
4046
+ function Hr(e, ...t) {
4047
+ delete W[e], ae.update((r) => (r[e] = Qn.all([r[e] || {}, ...t]), r));
4005
4048
  }
4006
- ae(
4007
- [le],
4049
+ se(
4050
+ [ae],
4008
4051
  ([e]) => Object.keys(e)
4009
4052
  );
4010
- le.subscribe((e) => st = e);
4053
+ ae.subscribe((e) => ct = e);
4011
4054
  const Ee = {};
4012
- function Fi(e, t) {
4055
+ function zi(e, t) {
4013
4056
  Ee[e].delete(t), Ee[e].size === 0 && delete Ee[e];
4014
4057
  }
4015
- function Cr(e) {
4058
+ function Ar(e) {
4016
4059
  return Ee[e];
4017
4060
  }
4018
- function ji(e) {
4019
- return Be(e).map((t) => {
4020
- const r = Cr(t);
4061
+ function Zi(e) {
4062
+ return Oe(e).map((t) => {
4063
+ const r = Ar(t);
4021
4064
  return [t, r ? [...r] : []];
4022
4065
  }).filter(([, t]) => t.length > 0);
4023
4066
  }
4024
- function rt(e) {
4025
- return e == null ? !1 : Be(e).some(
4067
+ function at(e) {
4068
+ return e == null ? !1 : Oe(e).some(
4026
4069
  (t) => {
4027
4070
  var r;
4028
- return (r = Cr(t)) == null ? void 0 : r.size;
4071
+ return (r = Ar(t)) == null ? void 0 : r.size;
4029
4072
  }
4030
4073
  );
4031
4074
  }
4032
- function Vi(e, t) {
4075
+ function Qi(e, t) {
4033
4076
  return Promise.all(
4034
- t.map((n) => (Fi(e, n), n().then((i) => i.default || i)))
4035
- ).then((n) => Er(e, ...n));
4036
- }
4037
- const he = {};
4038
- function wr(e) {
4039
- if (!rt(e))
4040
- return e in he ? he[e] : Promise.resolve();
4041
- const t = ji(e);
4042
- return he[e] = Promise.all(
4077
+ t.map((n) => (zi(e, n), n().then((i) => i.default || i)))
4078
+ ).then((n) => Hr(e, ...n));
4079
+ }
4080
+ const le = {};
4081
+ function Ir(e) {
4082
+ if (!at(e))
4083
+ return e in le ? le[e] : Promise.resolve();
4084
+ const t = Zi(e);
4085
+ return le[e] = Promise.all(
4043
4086
  t.map(
4044
- ([r, n]) => Vi(r, n)
4087
+ ([r, n]) => Qi(r, n)
4045
4088
  )
4046
4089
  ).then(() => {
4047
- if (rt(e))
4048
- return wr(e);
4049
- delete he[e];
4050
- }), he[e];
4090
+ if (at(e))
4091
+ return Ir(e);
4092
+ delete le[e];
4093
+ }), le[e];
4051
4094
  }
4052
- const Wi = {
4095
+ const Yi = {
4053
4096
  number: {
4054
4097
  scientific: { notation: "scientific" },
4055
4098
  engineering: { notation: "engineering" },
@@ -4078,100 +4121,100 @@ const Wi = {
4078
4121
  timeZoneName: "short"
4079
4122
  }
4080
4123
  }
4081
- }, Xi = {
4124
+ }, qi = {
4082
4125
  fallbackLocale: null,
4083
4126
  loadingDelay: 200,
4084
- formats: Wi,
4127
+ formats: Yi,
4085
4128
  warnOnMissingMessages: !0,
4086
4129
  handleMissingMessage: void 0,
4087
4130
  ignoreTag: !0
4088
- }, zi = Xi;
4089
- function se() {
4090
- return zi;
4131
+ }, Ji = qi;
4132
+ function oe() {
4133
+ return Ji;
4091
4134
  }
4092
- const Fe = Ae(!1);
4093
- var Zi = Object.defineProperty, Qi = Object.defineProperties, Yi = Object.getOwnPropertyDescriptors, Mt = Object.getOwnPropertySymbols, qi = Object.prototype.hasOwnProperty, Ji = Object.prototype.propertyIsEnumerable, Lt = (e, t, r) => t in e ? Zi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ki = (e, t) => {
4135
+ const We = Ie(!1);
4136
+ var Ki = Object.defineProperty, eo = Object.defineProperties, to = Object.getOwnPropertyDescriptors, Dt = Object.getOwnPropertySymbols, ro = Object.prototype.hasOwnProperty, no = Object.prototype.propertyIsEnumerable, $t = (e, t, r) => t in e ? Ki(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, io = (e, t) => {
4094
4137
  for (var r in t || (t = {}))
4095
- qi.call(t, r) && Lt(e, r, t[r]);
4096
- if (Mt)
4097
- for (var r of Mt(t))
4098
- Ji.call(t, r) && Lt(e, r, t[r]);
4138
+ ro.call(t, r) && $t(e, r, t[r]);
4139
+ if (Dt)
4140
+ for (var r of Dt(t))
4141
+ no.call(t, r) && $t(e, r, t[r]);
4099
4142
  return e;
4100
- }, eo = (e, t) => Qi(e, Yi(t));
4101
- let nt;
4102
- const we = Ae(null);
4103
- function Nt(e) {
4143
+ }, oo = (e, t) => eo(e, to(t));
4144
+ let ut;
4145
+ const Se = Ie(null);
4146
+ function Gt(e) {
4104
4147
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4105
4148
  }
4106
- function Be(e, t = se().fallbackLocale) {
4107
- const r = Nt(e);
4108
- return t ? [.../* @__PURE__ */ new Set([...r, ...Nt(t)])] : r;
4149
+ function Oe(e, t = oe().fallbackLocale) {
4150
+ const r = Gt(e);
4151
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Gt(t)])] : r;
4109
4152
  }
4110
4153
  function Z() {
4111
- return nt != null ? nt : void 0;
4154
+ return ut != null ? ut : void 0;
4112
4155
  }
4113
- we.subscribe((e) => {
4114
- nt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4156
+ Se.subscribe((e) => {
4157
+ ut = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4115
4158
  });
4116
- const to = (e) => {
4117
- if (e && ki(e) && rt(e)) {
4118
- const { loadingDelay: t } = se();
4159
+ const so = (e) => {
4160
+ if (e && Xi(e) && at(e)) {
4161
+ const { loadingDelay: t } = oe();
4119
4162
  let r;
4120
4163
  return typeof window != "undefined" && Z() != null && t ? r = window.setTimeout(
4121
- () => Fe.set(!0),
4164
+ () => We.set(!0),
4122
4165
  t
4123
- ) : Fe.set(!0), wr(e).then(() => {
4124
- we.set(e);
4166
+ ) : We.set(!0), Ir(e).then(() => {
4167
+ Se.set(e);
4125
4168
  }).finally(() => {
4126
- clearTimeout(r), Fe.set(!1);
4169
+ clearTimeout(r), We.set(!1);
4127
4170
  });
4128
4171
  }
4129
- return we.set(e);
4130
- }, X = eo(Ki({}, we), {
4131
- set: to
4132
- }), Pe = (e) => {
4172
+ return Se.set(e);
4173
+ }, X = oo(io({}, Se), {
4174
+ set: so
4175
+ }), Me = (e) => {
4133
4176
  const t = /* @__PURE__ */ Object.create(null);
4134
4177
  return (n) => {
4135
4178
  const i = JSON.stringify(n);
4136
4179
  return i in t ? t[i] : t[i] = e(n);
4137
4180
  };
4138
4181
  };
4139
- var ro = Object.defineProperty, Se = Object.getOwnPropertySymbols, Sr = Object.prototype.hasOwnProperty, Tr = Object.prototype.propertyIsEnumerable, Rt = (e, t, r) => t in e ? ro(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, at = (e, t) => {
4182
+ var ao = Object.defineProperty, Te = Object.getOwnPropertySymbols, Br = Object.prototype.hasOwnProperty, Pr = Object.prototype.propertyIsEnumerable, kt = (e, t, r) => t in e ? ao(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ft = (e, t) => {
4140
4183
  for (var r in t || (t = {}))
4141
- Sr.call(t, r) && Rt(e, r, t[r]);
4142
- if (Se)
4143
- for (var r of Se(t))
4144
- Tr.call(t, r) && Rt(e, r, t[r]);
4184
+ Br.call(t, r) && kt(e, r, t[r]);
4185
+ if (Te)
4186
+ for (var r of Te(t))
4187
+ Pr.call(t, r) && kt(e, r, t[r]);
4145
4188
  return e;
4146
4189
  }, ue = (e, t) => {
4147
4190
  var r = {};
4148
4191
  for (var n in e)
4149
- Sr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4150
- if (e != null && Se)
4151
- for (var n of Se(e))
4152
- t.indexOf(n) < 0 && Tr.call(e, n) && (r[n] = e[n]);
4192
+ Br.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4193
+ if (e != null && Te)
4194
+ for (var n of Te(e))
4195
+ t.indexOf(n) < 0 && Pr.call(e, n) && (r[n] = e[n]);
4153
4196
  return r;
4154
4197
  };
4155
4198
  const pe = (e, t) => {
4156
- const { formats: r } = se();
4199
+ const { formats: r } = oe();
4157
4200
  if (e in r && t in r[e])
4158
4201
  return r[e][t];
4159
4202
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4160
- }, no = Pe(
4203
+ }, uo = Me(
4161
4204
  (e) => {
4162
4205
  var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
4163
4206
  if (r == null)
4164
4207
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4165
4208
  return n && (i = pe("number", n)), new Intl.NumberFormat(r, i);
4166
4209
  }
4167
- ), io = Pe(
4210
+ ), lo = Me(
4168
4211
  (e) => {
4169
4212
  var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
4170
4213
  if (r == null)
4171
4214
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4172
4215
  return n ? i = pe("date", n) : Object.keys(i).length === 0 && (i = pe("date", "short")), new Intl.DateTimeFormat(r, i);
4173
4216
  }
4174
- ), oo = Pe(
4217
+ ), ho = Me(
4175
4218
  (e) => {
4176
4219
  var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
4177
4220
  if (r == null)
@@ -4180,48 +4223,48 @@ const pe = (e, t) => {
4180
4223
  );
4181
4224
  return n ? i = pe("time", n) : Object.keys(i).length === 0 && (i = pe("time", "short")), new Intl.DateTimeFormat(r, i);
4182
4225
  }
4183
- ), so = (e = {}) => {
4226
+ ), co = (e = {}) => {
4184
4227
  var t = e, {
4185
4228
  locale: r = Z()
4186
4229
  } = t, n = ue(t, [
4187
4230
  "locale"
4188
4231
  ]);
4189
- return no(at({ locale: r }, n));
4190
- }, ao = (e = {}) => {
4232
+ return uo(ft({ locale: r }, n));
4233
+ }, fo = (e = {}) => {
4191
4234
  var t = e, {
4192
4235
  locale: r = Z()
4193
4236
  } = t, n = ue(t, [
4194
4237
  "locale"
4195
4238
  ]);
4196
- return io(at({ locale: r }, n));
4197
- }, lo = (e = {}) => {
4239
+ return lo(ft({ locale: r }, n));
4240
+ }, po = (e = {}) => {
4198
4241
  var t = e, {
4199
4242
  locale: r = Z()
4200
4243
  } = t, n = ue(t, [
4201
4244
  "locale"
4202
4245
  ]);
4203
- return oo(at({ locale: r }, n));
4204
- }, uo = Pe(
4246
+ return ho(ft({ locale: r }, n));
4247
+ }, mo = Me(
4205
4248
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4206
- (e, t = Z()) => new Ri(e, t, se().formats, {
4207
- ignoreTag: se().ignoreTag
4249
+ (e, t = Z()) => new ki(e, t, oe().formats, {
4250
+ ignoreTag: oe().ignoreTag
4208
4251
  })
4209
- ), ho = (e, t = {}) => {
4252
+ ), bo = (e, t = {}) => {
4210
4253
  var r, n, i, o;
4211
4254
  let s = t;
4212
4255
  typeof e == "object" && (s = e, e = s.id);
4213
4256
  const {
4214
4257
  values: a,
4215
- locale: l = Z(),
4216
- default: u
4258
+ locale: u = Z(),
4259
+ default: l
4217
4260
  } = s;
4218
- if (l == null)
4261
+ if (u == null)
4219
4262
  throw new Error(
4220
4263
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4221
4264
  );
4222
- let h = _r(e, l);
4265
+ let h = Sr(e, u);
4223
4266
  if (!h)
4224
- h = (o = (i = (n = (r = se()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4267
+ h = (o = (i = (n = (r = oe()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4225
4268
  else if (typeof h != "string")
4226
4269
  return console.warn(
4227
4270
  `[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.`
@@ -4230,7 +4273,7 @@ const pe = (e, t) => {
4230
4273
  return h;
4231
4274
  let c = h;
4232
4275
  try {
4233
- c = uo(h, l).format(a);
4276
+ c = mo(h, u).format(a);
4234
4277
  } catch (f) {
4235
4278
  f instanceof Error && console.warn(
4236
4279
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4238,32 +4281,32 @@ const pe = (e, t) => {
4238
4281
  );
4239
4282
  }
4240
4283
  return c;
4241
- }, co = (e, t) => lo(t).format(e), fo = (e, t) => ao(t).format(e), po = (e, t) => so(t).format(e), mo = (e, t = Z()) => _r(e, t);
4242
- ae([X, le], () => ho);
4243
- ae([X], () => co);
4244
- ae([X], () => fo);
4245
- ae([X], () => po);
4246
- ae([X, le], () => mo);
4247
- window.emWidgets = { topic: An };
4248
- const Ut = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4249
- function bo({ withLocale: e, translations: t }) {
4284
+ }, go = (e, t) => po(t).format(e), vo = (e, t) => fo(t).format(e), yo = (e, t) => co(t).format(e), _o = (e, t = Z()) => Sr(e, t);
4285
+ se([X, ae], () => bo);
4286
+ se([X], () => go);
4287
+ se([X], () => vo);
4288
+ se([X], () => yo);
4289
+ se([X, ae], () => _o);
4290
+ window.emWidgets = { topic: On };
4291
+ const Ft = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4292
+ function xo({ withLocale: e, translations: t }) {
4250
4293
  X.subscribe((r) => {
4251
- r == null && (le.set(t), X.set(e));
4294
+ r == null && (ae.set(t), X.set(e));
4252
4295
  });
4253
4296
  }
4254
- function go(e, t) {
4255
- Er(e, t);
4297
+ function Eo(e, t) {
4298
+ Hr(e, t);
4256
4299
  }
4257
- function vo(e) {
4300
+ function wo(e) {
4258
4301
  X.set(e);
4259
4302
  }
4260
- function yo(e, t) {
4303
+ function Co(e, t) {
4261
4304
  if (e) {
4262
4305
  const r = document.createElement("style");
4263
4306
  r.innerHTML = t, e.appendChild(r);
4264
4307
  }
4265
4308
  }
4266
- function _o(e, t) {
4309
+ function So(e, t) {
4267
4310
  const r = new URL(t);
4268
4311
  fetch(r.href).then((n) => n.text()).then((n) => {
4269
4312
  const i = document.createElement("style");
@@ -4272,7 +4315,7 @@ function _o(e, t) {
4272
4315
  console.error("There was an error while trying to load client styling from URL", n);
4273
4316
  });
4274
4317
  }
4275
- function xo(e, t, r) {
4318
+ function To(e, t, r) {
4276
4319
  if (window.emMessageBus) {
4277
4320
  const n = document.createElement("style");
4278
4321
  window.emMessageBus.subscribe(t, (i) => {
@@ -4280,25 +4323,25 @@ function xo(e, t, r) {
4280
4323
  });
4281
4324
  }
4282
4325
  }
4283
- function Eo(e) {
4284
- Xr(e, "svelte-14514rm", '.CasinoVendorsLoading{height:52px}p{color:var(--emw--categories-typography, var(--emw--color-white) #ffffff);text-align:center}.CasinoVendorsContainer{background:transparent;border-radius:var(--emw--border-radius-medium, 10px)}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CarouselWrapper{min-height:72px;max-height:75px;background:var(--emw--color-primary, #194127);border-radius:var(--emw--border-radius-medium, 10px);max-width:1300px;margin:0 auto}.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;min-height:72px}.CarouselContainer.CarouselContainerMobile{padding:0}.CarouselContainer .CarouselItems{overflow-x:auto;overflow-y:hidden;scroll-snap-align:center}.CarouselContainer ul{align-items:center;list-style:none;padding:0;margin:0}.CarouselContainer ul::-webkit-scrollbar{display:none}.CarouselContainer ul li{align-items:center;font-size:var(--emw--font-size-medium, 15px);font-weight:500;line-height:34px;white-space:nowrap;display:inline-block;text-align:left;word-spacing:normal;position:relative}.CarouselContainer ul li>a{position:relative;border-bottom:2px solid transparent}.CarouselContainer ul li.SecondaryMenu button,.CarouselContainer ul li.SecondaryMenu .ActiveImg{border-bottom:2px solid transparent;position:relative}.CarouselContainer ul li.SecondaryMenu:hover,.CarouselContainer ul li.SecondaryMenu.active,.CarouselContainer ul li.SecondaryMenu:focus,.CarouselContainer ul li.SecondaryMenu:focus-within{cursor:pointer}.CarouselContainer ul li.SecondaryMenu:hover button,.CarouselContainer ul li.SecondaryMenu:hover .ActiveImg,.CarouselContainer ul li.SecondaryMenu.active button,.CarouselContainer ul li.SecondaryMenu.active .ActiveImg,.CarouselContainer ul li.SecondaryMenu:focus button,.CarouselContainer ul li.SecondaryMenu:focus .ActiveImg,.CarouselContainer ul li.SecondaryMenu:focus-within button,.CarouselContainer ul li.SecondaryMenu:focus-within .ActiveImg{border-bottom:2px solid var(--emw--color-green, #23b04e);position:relative}.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}.CarouselContainer .CarouselLeftArrow svg,.CarouselContainer .CarouselRightArrow svg{width:100%;max-width:22px;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;height:100%}.CarouselContainer .CarouselItems li{text-align:left;padding:18px}.CarouselContainer .CarouselItems li>a{position:relative}.CarouselContainer .CarouselItems li li{display:block}.CarouselContainer .CarouselItems li svg,.CarouselContainer .CarouselItems li img{height:100%;margin-right:5px;position:relative;top:5px;max-height:25px;line-height:25px;font-size:var(--emw--font-size-2x-small, 11px);overflow:auto}.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;padding-bottom:5px}.CarouselContainer .CarouselItems span{position:absolute;bottom:15px;right:-15px;background:var(--emw--pam-color-primary, var(--emw--color-primary, #23b04e));border-radius:50%;padding:3px;min-width:20px;max-width:30px;height:20px;text-align:center;display:flex;align-items:center;justify-content:center;font-size:var(--emw--font-size-2x-small, 11px)}.CarouselContainer .CarouselItems .categoryImgButtonCount{top:15px;right:8px}.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:-webkit-linear-gradient(to left, var(--emw--categories-color-secondary, #194127), var(--emw--categories-color-primary, #003d5d));background:linear-gradient(to left, var(--emw--categories-color-secondary, #194127), var(--emw--categories-color-primary, #003d5d))}.CarouselContainer .CarouselItems .TouchOnly{display:none}.CarouselContainer .touch-device .CarouselItems .TouchOnly{display:inline-block;left:-10px}.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}.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)}.CategoryIconImg{height:20px;margin:0 auto;display:block}.CarouselWrapperMobile{margin:0 10px;border-radius:10px;max-height:75px}.CarouselWrapperMobile .MobileCategoryButton{margin-top:5px}.CarouselWrapperMobile .CarouselLeftArrow,.CarouselWrapperMobile .CarouselRightArrow{display:flex;max-height:75px}.CarouselWrapperMobile .CarouselLeftArrow svg,.CarouselWrapperMobile .CarouselRightArrow svg{max-width:15px}.CarouselWrapperMobile .CarouselItems li{display:inline-flex;flex-direction:column;justify-content:center;height:inherit;gap:5px;padding:15px 25px}.CarouselWrapperMobile .CarouselItems li svg{position:unset;top:unset}.CarouselWrapperMobile .CategoryIconContainer{position:relative;height:25px}.CarouselWrapperMobile .CategoryIconContainer span{top:-5px;right:-10px}.CarouselWrapperMobile .ImageContainer{display:block;height:25px}.CarouselWrapperMobile .CarouselContainer .CarouselItems li svg,.CarouselWrapperMobile .CarouselContainer .CarouselItems li img{margin:0;top:unset;position:static;overflow:auto}');
4326
+ function Ho(e) {
4327
+ qr(e, "svelte-14514rm", '.CasinoVendorsLoading{height:52px}p{color:var(--emw--categories-typography, var(--emw--color-white) #ffffff);text-align:center}.CasinoVendorsContainer{background:transparent;border-radius:var(--emw--border-radius-medium, 10px)}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CarouselWrapper{min-height:72px;max-height:75px;background:var(--emw--color-primary, #194127);border-radius:var(--emw--border-radius-medium, 10px);max-width:1300px;margin:0 auto}.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;min-height:72px}.CarouselContainer.CarouselContainerMobile{padding:0}.CarouselContainer .CarouselItems{overflow-x:auto;overflow-y:hidden;scroll-snap-align:center}.CarouselContainer ul{align-items:center;list-style:none;padding:0;margin:0}.CarouselContainer ul::-webkit-scrollbar{display:none}.CarouselContainer ul li{align-items:center;font-size:var(--emw--font-size-medium, 15px);font-weight:500;line-height:34px;white-space:nowrap;display:inline-block;text-align:left;word-spacing:normal;position:relative}.CarouselContainer ul li>a{position:relative;border-bottom:2px solid transparent}.CarouselContainer ul li.SecondaryMenu button,.CarouselContainer ul li.SecondaryMenu .ActiveImg{border-bottom:2px solid transparent;position:relative}.CarouselContainer ul li.SecondaryMenu:hover,.CarouselContainer ul li.SecondaryMenu.active,.CarouselContainer ul li.SecondaryMenu:focus,.CarouselContainer ul li.SecondaryMenu:focus-within{cursor:pointer}.CarouselContainer ul li.SecondaryMenu:hover button,.CarouselContainer ul li.SecondaryMenu:hover .ActiveImg,.CarouselContainer ul li.SecondaryMenu.active button,.CarouselContainer ul li.SecondaryMenu.active .ActiveImg,.CarouselContainer ul li.SecondaryMenu:focus button,.CarouselContainer ul li.SecondaryMenu:focus .ActiveImg,.CarouselContainer ul li.SecondaryMenu:focus-within button,.CarouselContainer ul li.SecondaryMenu:focus-within .ActiveImg{border-bottom:2px solid var(--emw--color-green, #23b04e);position:relative}.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}.CarouselContainer .CarouselLeftArrow svg,.CarouselContainer .CarouselRightArrow svg{width:100%;max-width:22px;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;height:100%}.CarouselContainer .CarouselItems li{text-align:left;padding:18px}.CarouselContainer .CarouselItems li>a{position:relative}.CarouselContainer .CarouselItems li li{display:block}.CarouselContainer .CarouselItems li svg,.CarouselContainer .CarouselItems li img{height:100%;margin-right:5px;position:relative;top:5px;max-height:25px;line-height:25px;font-size:var(--emw--font-size-2x-small, 11px);overflow:auto}.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;padding-bottom:5px}.CarouselContainer .CarouselItems span{position:absolute;bottom:15px;right:-15px;background:var(--emw--pam-color-primary, var(--emw--color-primary, #23b04e));border-radius:50%;padding:3px;min-width:20px;max-width:30px;height:20px;text-align:center;display:flex;align-items:center;justify-content:center;font-size:var(--emw--font-size-2x-small, 11px)}.CarouselContainer .CarouselItems .categoryImgButtonCount{top:15px;right:8px}.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:-webkit-linear-gradient(to left, var(--emw--categories-color-secondary, #194127), var(--emw--categories-color-primary, #003d5d));background:linear-gradient(to left, var(--emw--categories-color-secondary, #194127), var(--emw--categories-color-primary, #003d5d))}.CarouselContainer .CarouselItems .TouchOnly{display:none}.CarouselContainer .touch-device .CarouselItems .TouchOnly{display:inline-block;left:-10px}.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}.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)}.CategoryIconImg{height:20px;margin:0 auto;display:block}.CarouselWrapperMobile{margin:0 10px;border-radius:10px;max-height:75px}.CarouselWrapperMobile .MobileCategoryButton{margin-top:5px}.CarouselWrapperMobile .CarouselLeftArrow,.CarouselWrapperMobile .CarouselRightArrow{display:flex;max-height:75px}.CarouselWrapperMobile .CarouselLeftArrow svg,.CarouselWrapperMobile .CarouselRightArrow svg{max-width:15px}.CarouselWrapperMobile .CarouselItems li{display:inline-flex;flex-direction:column;justify-content:center;height:inherit;gap:5px;padding:15px 25px}.CarouselWrapperMobile .CarouselItems li svg{position:unset;top:unset}.CarouselWrapperMobile .CategoryIconContainer{position:relative;height:25px}.CarouselWrapperMobile .CategoryIconContainer span{top:-5px;right:-10px}.CarouselWrapperMobile .ImageContainer{display:block;height:25px}.CarouselWrapperMobile .CarouselContainer .CarouselItems li svg,.CarouselWrapperMobile .CarouselContainer .CarouselItems li img{margin:0;top:unset;position:static;overflow:auto}');
4285
4328
  }
4286
- function Dt(e, t, r) {
4329
+ function jt(e, t, r) {
4287
4330
  const n = e.slice();
4288
4331
  return n[43] = t[r], n[45] = r, n;
4289
4332
  }
4290
- function Co(e) {
4291
- let t, r, n, i, o, s, a, l, u, h, c, f, b, p = (
4333
+ function Ao(e) {
4334
+ let t, r, n, i, o, s, a, u, l, h, c, f, b, d = (
4292
4335
  /*vendors*/
4293
- e[6].length > 0 && $t(e)
4336
+ e[6].length > 0 && Vt(e)
4294
4337
  );
4295
4338
  return {
4296
4339
  c() {
4297
- t = T("div"), r = T("div"), n = T("div"), i = T("div"), i.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="3" d="M15 19l-7-7 7-7"></path></svg>', o = F(), s = T("div"), a = T("ul"), l = T("li"), l.innerHTML = '<a href="#CarouselNav">Close Subs</a>', u = F(), p && p.c(), h = F(), c = T("div"), c.innerHTML = '<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="3" d="M9 5l7 7-7 7"></path></svg>', E(i, "class", "CarouselLeftArrow"), E(l, "class", "TouchOnly"), E(a, "id", "CarouselNav"), E(a, "class", "CarouselItems"), E(s, "class", "CarouselNavWrap"), E(c, "class", "CarouselRightArrow"), E(n, "class", "CarouselContainer CarouselContainerMobile"), E(r, "class", "CarouselWrapper " + /*isMobile*/
4298
- (e[10] ? "CarouselWrapperMobile" : "")), E(t, "class", "CasinoVendorsContainer"), E(t, "part", "CasinoVendorsContainer");
4340
+ t = T("div"), r = T("div"), n = T("div"), i = T("div"), i.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="3" d="M15 19l-7-7 7-7"></path></svg>', o = j(), s = T("div"), a = T("ul"), u = T("li"), u.innerHTML = '<a href="#CarouselNav">Close Subs</a>', l = j(), d && d.c(), h = j(), c = T("div"), c.innerHTML = '<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="3" d="M9 5l7 7-7 7"></path></svg>', x(i, "class", "CarouselLeftArrow"), x(u, "class", "TouchOnly"), x(a, "id", "CarouselNav"), x(a, "class", "CarouselItems"), x(s, "class", "CarouselNavWrap"), x(c, "class", "CarouselRightArrow"), x(n, "class", "CarouselContainer CarouselContainerMobile"), x(r, "class", "CarouselWrapper " + /*isMobile*/
4341
+ (e[10] ? "CarouselWrapperMobile" : "")), x(t, "class", "CasinoVendorsContainer"), x(t, "part", "CasinoVendorsContainer");
4299
4342
  },
4300
- m(m, C) {
4301
- O(m, t, C), H(t, r), H(r, n), H(n, i), H(n, o), H(n, s), H(s, a), H(a, l), H(a, u), p && p.m(a, null), e[28](a), e[29](s), H(n, h), H(n, c), e[30](r), f || (b = [
4343
+ m(m, E) {
4344
+ O(m, t, E), H(t, r), H(r, n), H(n, i), H(n, o), H(n, s), H(s, a), H(a, u), H(a, l), d && d.m(a, null), e[28](a), e[29](s), H(n, h), H(n, c), e[30](r), f || (b = [
4302
4345
  K(
4303
4346
  i,
4304
4347
  "click",
@@ -4325,20 +4368,20 @@ function Co(e) {
4325
4368
  )
4326
4369
  ], f = !0);
4327
4370
  },
4328
- p(m, C) {
4371
+ p(m, E) {
4329
4372
  /*vendors*/
4330
- m[6].length > 0 ? p ? p.p(m, C) : (p = $t(m), p.c(), p.m(a, null)) : p && (p.d(1), p = null);
4373
+ m[6].length > 0 ? d ? d.p(m, E) : (d = Vt(m), d.c(), d.m(a, null)) : d && (d.d(1), d = null);
4331
4374
  },
4332
4375
  d(m) {
4333
- m && B(t), p && p.d(), e[28](null), e[29](null), e[30](null), f = !1, z(b);
4376
+ m && B(t), d && d.d(), e[28](null), e[29](null), e[30](null), f = !1, z(b);
4334
4377
  }
4335
4378
  };
4336
4379
  }
4337
- function wo(e) {
4380
+ function Io(e) {
4338
4381
  let t;
4339
4382
  return {
4340
4383
  c() {
4341
- t = T("p"), t.textContent = "500 Error - Internal Server Error.", E(t, "class", "SearchLoading");
4384
+ t = T("p"), t.textContent = "500 Error - Internal Server Error.", x(t, "class", "SearchLoading");
4342
4385
  },
4343
4386
  m(r, n) {
4344
4387
  O(r, t, n);
@@ -4349,11 +4392,11 @@ function wo(e) {
4349
4392
  }
4350
4393
  };
4351
4394
  }
4352
- function So(e) {
4395
+ function Bo(e) {
4353
4396
  let t;
4354
4397
  return {
4355
4398
  c() {
4356
- t = T("div"), E(t, "class", "CasinoVendorsLoading");
4399
+ t = T("div"), x(t, "class", "CasinoVendorsLoading");
4357
4400
  },
4358
4401
  m(r, n) {
4359
4402
  O(r, t, n);
@@ -4364,8 +4407,8 @@ function So(e) {
4364
4407
  }
4365
4408
  };
4366
4409
  }
4367
- function $t(e) {
4368
- let t = [], r = /* @__PURE__ */ new Map(), n, i = bt(
4410
+ function Vt(e) {
4411
+ let t = [], r = /* @__PURE__ */ new Map(), n, i = xt(
4369
4412
  /*vendors*/
4370
4413
  e[6]
4371
4414
  );
@@ -4374,26 +4417,26 @@ function $t(e) {
4374
4417
  s[43].id
4375
4418
  );
4376
4419
  for (let s = 0; s < i.length; s += 1) {
4377
- let a = Dt(e, i, s), l = o(a);
4378
- r.set(l, t[s] = Xt(l, a));
4420
+ let a = jt(e, i, s), u = o(a);
4421
+ r.set(u, t[s] = qt(u, a));
4379
4422
  }
4380
4423
  return {
4381
4424
  c() {
4382
4425
  for (let s = 0; s < t.length; s += 1)
4383
4426
  t[s].c();
4384
- n = it();
4427
+ n = lt();
4385
4428
  },
4386
4429
  m(s, a) {
4387
- for (let l = 0; l < t.length; l += 1)
4388
- t[l] && t[l].m(s, a);
4430
+ for (let u = 0; u < t.length; u += 1)
4431
+ t[u] && t[u].m(s, a);
4389
4432
  O(s, n, a);
4390
4433
  },
4391
4434
  p(s, a) {
4392
4435
  a[0] & /*activevendor, vendors, handleClick, onCarouselItemKeydown, getButtonClasses, getGamesTotal, showvendorgames, showvendorname, showvendoricon, isMobile*/
4393
- 461903 && (i = bt(
4436
+ 461903 && (i = xt(
4394
4437
  /*vendors*/
4395
4438
  s[6]
4396
- ), t = sn(t, a, o, 1, s, i, r, n.parentNode, on, Xt, n, Dt));
4439
+ ), t = cn(t, a, o, 1, s, i, r, n.parentNode, hn, qt, n, jt));
4397
4440
  },
4398
4441
  d(s) {
4399
4442
  s && B(n);
@@ -4402,18 +4445,18 @@ function $t(e) {
4402
4445
  }
4403
4446
  };
4404
4447
  }
4405
- function Gt(e) {
4448
+ function Wt(e) {
4406
4449
  let t;
4407
4450
  function r(o, s) {
4408
4451
  return (
4409
4452
  /*isMobile*/
4410
- o[10] ? Ho : To
4453
+ o[10] ? Oo : Po
4411
4454
  );
4412
4455
  }
4413
4456
  let i = r(e)(e);
4414
4457
  return {
4415
4458
  c() {
4416
- i.c(), t = it();
4459
+ i.c(), t = lt();
4417
4460
  },
4418
4461
  m(o, s) {
4419
4462
  i.m(o, s), O(o, t, s);
@@ -4426,65 +4469,65 @@ function Gt(e) {
4426
4469
  }
4427
4470
  };
4428
4471
  }
4429
- function To(e) {
4472
+ function Po(e) {
4430
4473
  let t, r, n, i, o, s = (
4431
4474
  /*showvendorname*/
4432
- e[2] === "false" && kt()
4475
+ e[2] === "false" && Xt()
4433
4476
  );
4434
4477
  return {
4435
4478
  c() {
4436
- t = T("img"), i = F(), s && s.c(), o = it(), Ce(t.src, r = /*vendor*/
4437
- e[43].logo) || E(t, "src", r), E(t, "alt", n = /*vendor*/
4479
+ t = T("img"), i = j(), s && s.c(), o = lt(), we(t.src, r = /*vendor*/
4480
+ e[43].logo) || x(t, "src", r), x(t, "alt", n = /*vendor*/
4438
4481
  e[43].displayName);
4439
4482
  },
4440
- m(a, l) {
4441
- O(a, t, l), O(a, i, l), s && s.m(a, l), O(a, o, l);
4483
+ m(a, u) {
4484
+ O(a, t, u), O(a, i, u), s && s.m(a, u), O(a, o, u);
4442
4485
  },
4443
- p(a, l) {
4444
- l[0] & /*vendors*/
4445
- 64 && !Ce(t.src, r = /*vendor*/
4446
- a[43].logo) && E(t, "src", r), l[0] & /*vendors*/
4486
+ p(a, u) {
4487
+ u[0] & /*vendors*/
4488
+ 64 && !we(t.src, r = /*vendor*/
4489
+ a[43].logo) && x(t, "src", r), u[0] & /*vendors*/
4447
4490
  64 && n !== (n = /*vendor*/
4448
- a[43].displayName) && E(t, "alt", n), /*showvendorname*/
4449
- a[2] === "false" ? s || (s = kt(), s.c(), s.m(o.parentNode, o)) : s && (s.d(1), s = null);
4491
+ a[43].displayName) && x(t, "alt", n), /*showvendorname*/
4492
+ a[2] === "false" ? s || (s = Xt(), s.c(), s.m(o.parentNode, o)) : s && (s.d(1), s = null);
4450
4493
  },
4451
4494
  d(a) {
4452
4495
  a && (B(t), B(i), B(o)), s && s.d(a);
4453
4496
  }
4454
4497
  };
4455
4498
  }
4456
- function Ho(e) {
4499
+ function Oo(e) {
4457
4500
  let t, r, n, i, o, s = (
4458
4501
  /*showvendorname*/
4459
- e[2] === "false" && Ft()
4502
+ e[2] === "false" && zt()
4460
4503
  );
4461
4504
  return {
4462
4505
  c() {
4463
- t = T("div"), r = T("img"), o = F(), s && s.c(), Ce(r.src, n = /*vendor*/
4464
- e[43].logo) || E(r, "src", n), E(r, "alt", i = /*vendor*/
4465
- e[43].displayName), E(t, "class", "ImageContainer");
4506
+ t = T("div"), r = T("img"), o = j(), s && s.c(), we(r.src, n = /*vendor*/
4507
+ e[43].logo) || x(r, "src", n), x(r, "alt", i = /*vendor*/
4508
+ e[43].displayName), x(t, "class", "ImageContainer");
4466
4509
  },
4467
- m(a, l) {
4468
- O(a, t, l), H(t, r), H(t, o), s && s.m(t, null);
4510
+ m(a, u) {
4511
+ O(a, t, u), H(t, r), H(t, o), s && s.m(t, null);
4469
4512
  },
4470
- p(a, l) {
4471
- l[0] & /*vendors*/
4472
- 64 && !Ce(r.src, n = /*vendor*/
4473
- a[43].logo) && E(r, "src", n), l[0] & /*vendors*/
4513
+ p(a, u) {
4514
+ u[0] & /*vendors*/
4515
+ 64 && !we(r.src, n = /*vendor*/
4516
+ a[43].logo) && x(r, "src", n), u[0] & /*vendors*/
4474
4517
  64 && i !== (i = /*vendor*/
4475
- a[43].displayName) && E(r, "alt", i), /*showvendorname*/
4476
- a[2] === "false" ? s || (s = Ft(), s.c(), s.m(t, null)) : s && (s.d(1), s = null);
4518
+ a[43].displayName) && x(r, "alt", i), /*showvendorname*/
4519
+ a[2] === "false" ? s || (s = zt(), s.c(), s.m(t, null)) : s && (s.d(1), s = null);
4477
4520
  },
4478
4521
  d(a) {
4479
4522
  a && B(t), s && s.d();
4480
4523
  }
4481
4524
  };
4482
4525
  }
4483
- function kt(e) {
4526
+ function Xt(e) {
4484
4527
  let t;
4485
4528
  return {
4486
4529
  c() {
4487
- t = T("div"), E(t, "class", "ActiveImg");
4530
+ t = T("div"), x(t, "class", "ActiveImg");
4488
4531
  },
4489
4532
  m(r, n) {
4490
4533
  O(r, t, n);
@@ -4494,11 +4537,11 @@ function kt(e) {
4494
4537
  }
4495
4538
  };
4496
4539
  }
4497
- function Ft(e) {
4540
+ function zt(e) {
4498
4541
  let t;
4499
4542
  return {
4500
4543
  c() {
4501
- t = T("div"), E(t, "class", "ActiveImg");
4544
+ t = T("div"), x(t, "class", "ActiveImg");
4502
4545
  },
4503
4546
  m(r, n) {
4504
4547
  O(r, t, n);
@@ -4508,7 +4551,7 @@ function Ft(e) {
4508
4551
  }
4509
4552
  };
4510
4553
  }
4511
- function jt(e) {
4554
+ function Zt(e) {
4512
4555
  var i;
4513
4556
  let t, r = (
4514
4557
  /*getGamesTotal*/
@@ -4519,7 +4562,7 @@ function jt(e) {
4519
4562
  ), n;
4520
4563
  return {
4521
4564
  c() {
4522
- t = T("span"), n = me(r), E(t, "class", "categoryImgButtonCount");
4565
+ t = T("span"), n = de(r), x(t, "class", "categoryImgButtonCount");
4523
4566
  },
4524
4567
  m(o, s) {
4525
4568
  O(o, t, s), H(t, n);
@@ -4531,14 +4574,14 @@ function jt(e) {
4531
4574
  o[18](
4532
4575
  /*vendor*/
4533
4576
  (a = o[43]) == null ? void 0 : a.games.total
4534
- ) + "") && ot(n, r);
4577
+ ) + "") && ht(n, r);
4535
4578
  },
4536
4579
  d(o) {
4537
4580
  o && B(t);
4538
4581
  }
4539
4582
  };
4540
4583
  }
4541
- function Vt(e) {
4584
+ function Qt(e) {
4542
4585
  var s;
4543
4586
  let t, r = (
4544
4587
  /*vendor*/
@@ -4546,34 +4589,34 @@ function Vt(e) {
4546
4589
  ), n, i, o = (
4547
4590
  /*showvendorgames*/
4548
4591
  e[3] !== "false" && /*vendor*/
4549
- ((s = e[43]) == null ? void 0 : s.games.total) && Wt(e)
4592
+ ((s = e[43]) == null ? void 0 : s.games.total) && Yt(e)
4550
4593
  );
4551
4594
  return {
4552
4595
  c() {
4553
- t = T("button"), n = me(r), i = F(), o && o.c(), E(
4596
+ t = T("button"), n = de(r), i = j(), o && o.c(), x(
4554
4597
  t,
4555
4598
  "class",
4556
4599
  /*getButtonClasses*/
4557
4600
  e[17]()
4558
4601
  );
4559
4602
  },
4560
- m(a, l) {
4561
- O(a, t, l), H(t, n), H(t, i), o && o.m(t, null);
4603
+ m(a, u) {
4604
+ O(a, t, u), H(t, n), H(t, i), o && o.m(t, null);
4562
4605
  },
4563
- p(a, l) {
4564
- var u;
4565
- l[0] & /*vendors*/
4606
+ p(a, u) {
4607
+ var l;
4608
+ u[0] & /*vendors*/
4566
4609
  64 && r !== (r = /*vendor*/
4567
- a[43].displayName + "") && ot(n, r), /*showvendorgames*/
4610
+ a[43].displayName + "") && ht(n, r), /*showvendorgames*/
4568
4611
  a[3] !== "false" && /*vendor*/
4569
- ((u = a[43]) != null && u.games.total) ? o ? o.p(a, l) : (o = Wt(a), o.c(), o.m(t, null)) : o && (o.d(1), o = null);
4612
+ ((l = a[43]) != null && l.games.total) ? o ? o.p(a, u) : (o = Yt(a), o.c(), o.m(t, null)) : o && (o.d(1), o = null);
4570
4613
  },
4571
4614
  d(a) {
4572
4615
  a && B(t), o && o.d();
4573
4616
  }
4574
4617
  };
4575
4618
  }
4576
- function Wt(e) {
4619
+ function Yt(e) {
4577
4620
  var i;
4578
4621
  let t, r = (
4579
4622
  /*getGamesTotal*/
@@ -4584,7 +4627,7 @@ function Wt(e) {
4584
4627
  ), n;
4585
4628
  return {
4586
4629
  c() {
4587
- t = T("span"), n = me(r), E(t, "class", "CategoryButtonCount");
4630
+ t = T("span"), n = de(r), x(t, "class", "CategoryButtonCount");
4588
4631
  },
4589
4632
  m(o, s) {
4590
4633
  O(o, t, s), H(t, n);
@@ -4596,27 +4639,27 @@ function Wt(e) {
4596
4639
  o[18](
4597
4640
  /*vendor*/
4598
4641
  (a = o[43]) == null ? void 0 : a.games.total
4599
- ) + "") && ot(n, r);
4642
+ ) + "") && ht(n, r);
4600
4643
  },
4601
4644
  d(o) {
4602
4645
  o && B(t);
4603
4646
  }
4604
4647
  };
4605
4648
  }
4606
- function Xt(e, t) {
4607
- var b, p;
4608
- let r, n, i, o, s, a, l, u = (
4649
+ function qt(e, t) {
4650
+ var b, d;
4651
+ let r, n, i, o, s, a, u, l = (
4609
4652
  /*showvendoricon*/
4610
- t[1] !== "false" && Gt(t)
4653
+ t[1] !== "false" && Wt(t)
4611
4654
  ), h = (
4612
4655
  /*showvendoricon*/
4613
4656
  t[1] == "true" && /*showvendorgames*/
4614
4657
  t[3] !== "false" && /*showvendorname*/
4615
4658
  t[2] == "false" && /*vendor*/
4616
- ((p = (b = t[43]) == null ? void 0 : b.games) == null ? void 0 : p.total) && jt(t)
4659
+ ((d = (b = t[43]) == null ? void 0 : b.games) == null ? void 0 : d.total) && Zt(t)
4617
4660
  ), c = (
4618
4661
  /*showvendorname*/
4619
- t[2] !== "false" && Vt(t)
4662
+ t[2] !== "false" && Qt(t)
4620
4663
  );
4621
4664
  function f(...m) {
4622
4665
  return (
@@ -4634,7 +4677,7 @@ function Xt(e, t) {
4634
4677
  key: e,
4635
4678
  first: null,
4636
4679
  c() {
4637
- r = T("li"), u && u.c(), n = F(), h && h.c(), i = F(), c && c.c(), o = F(), E(r, "class", s = "CarouselItem " + (String(
4680
+ r = T("li"), l && l.c(), n = j(), h && h.c(), i = j(), c && c.c(), o = j(), x(r, "class", s = "CarouselItem " + (String(
4638
4681
  /*activevendor*/
4639
4682
  t[0]
4640
4683
  ) == String(
@@ -4642,11 +4685,11 @@ function Xt(e, t) {
4642
4685
  t[43].id
4643
4686
  ) ? "active" : "") + " SecondaryMenu"), this.first = r;
4644
4687
  },
4645
- m(m, C) {
4646
- O(m, r, C), u && u.m(r, null), H(r, n), h && h.m(r, null), H(r, i), c && c.m(r, null), H(r, o), a || (l = [
4688
+ m(m, E) {
4689
+ O(m, r, E), l && l.m(r, null), H(r, n), h && h.m(r, null), H(r, i), c && c.m(r, null), H(r, o), a || (u = [
4647
4690
  K(r, "click", f),
4648
4691
  K(r, "keydown", function() {
4649
- Te(
4692
+ He(
4650
4693
  /*onCarouselItemKeydown*/
4651
4694
  t[16](
4652
4695
  /*vendor*/
@@ -4663,36 +4706,36 @@ function Xt(e, t) {
4663
4706
  })
4664
4707
  ], a = !0);
4665
4708
  },
4666
- p(m, C) {
4709
+ p(m, E) {
4667
4710
  var P, A;
4668
4711
  t = m, /*showvendoricon*/
4669
- t[1] !== "false" ? u ? u.p(t, C) : (u = Gt(t), u.c(), u.m(r, n)) : u && (u.d(1), u = null), /*showvendoricon*/
4712
+ t[1] !== "false" ? l ? l.p(t, E) : (l = Wt(t), l.c(), l.m(r, n)) : l && (l.d(1), l = null), /*showvendoricon*/
4670
4713
  t[1] == "true" && /*showvendorgames*/
4671
4714
  t[3] !== "false" && /*showvendorname*/
4672
4715
  t[2] == "false" && /*vendor*/
4673
- ((A = (P = t[43]) == null ? void 0 : P.games) != null && A.total) ? h ? h.p(t, C) : (h = jt(t), h.c(), h.m(r, i)) : h && (h.d(1), h = null), /*showvendorname*/
4674
- t[2] !== "false" ? c ? c.p(t, C) : (c = Vt(t), c.c(), c.m(r, o)) : c && (c.d(1), c = null), C[0] & /*activevendor, vendors*/
4716
+ ((A = (P = t[43]) == null ? void 0 : P.games) != null && A.total) ? h ? h.p(t, E) : (h = Zt(t), h.c(), h.m(r, i)) : h && (h.d(1), h = null), /*showvendorname*/
4717
+ t[2] !== "false" ? c ? c.p(t, E) : (c = Qt(t), c.c(), c.m(r, o)) : c && (c.d(1), c = null), E[0] & /*activevendor, vendors*/
4675
4718
  65 && s !== (s = "CarouselItem " + (String(
4676
4719
  /*activevendor*/
4677
4720
  t[0]
4678
4721
  ) == String(
4679
4722
  /*vendor*/
4680
4723
  t[43].id
4681
- ) ? "active" : "") + " SecondaryMenu") && E(r, "class", s);
4724
+ ) ? "active" : "") + " SecondaryMenu") && x(r, "class", s);
4682
4725
  },
4683
4726
  d(m) {
4684
- m && B(r), u && u.d(), h && h.d(), c && c.d(), a = !1, z(l);
4727
+ m && B(r), l && l.d(), h && h.d(), c && c.d(), a = !1, z(u);
4685
4728
  }
4686
4729
  };
4687
4730
  }
4688
- function Ao(e) {
4731
+ function Mo(e) {
4689
4732
  let t;
4690
4733
  function r(o, s) {
4691
4734
  return (
4692
4735
  /*isLoading*/
4693
- o[5] ? So : (
4736
+ o[5] ? Bo : (
4694
4737
  /*hasErrors*/
4695
- o[7] ? wo : Co
4738
+ o[7] ? Io : Ao
4696
4739
  )
4697
4740
  );
4698
4741
  }
@@ -4714,165 +4757,165 @@ function Ao(e) {
4714
4757
  }
4715
4758
  };
4716
4759
  }
4717
- function Io(e, t, r) {
4718
- bo({ withLocale: "en", translations: {} });
4719
- let { endpoint: n = "" } = t, { datasource: i = "" } = t, { lang: o = "" } = t, { clientstyling: s = "" } = t, { clientstylingurl: a = "" } = t, { actionevent: l = "defaultevent" } = t, { translationurl: u = "" } = t, { showvendoricon: h = "true" } = t, { showvendorname: c = "false" } = t, { showvendorgames: f = "false" } = t, { activevendor: b = "0" } = t, { mbsource: p } = t, m = window.navigator.userAgent, C = Ut(m) !== "PC", P = !0, A, I = [], L = !1, S, R, g;
4760
+ function Lo(e, t, r) {
4761
+ xo({ withLocale: "en", translations: {} });
4762
+ let { endpoint: n = "" } = t, { datasource: i = "" } = t, { lang: o = "" } = t, { clientstyling: s = "" } = t, { clientstylingurl: a = "" } = t, { actionevent: u = "defaultevent" } = t, { translationurl: l = "" } = t, { showvendoricon: h = "true" } = t, { showvendorname: c = "false" } = t, { showvendorgames: f = "false" } = t, { activevendor: b = "0" } = t, { mbsource: d } = t, m = window.navigator.userAgent, E = Ft(m) !== "PC", P = !0, A, I = [], L = !1, C, R, g;
4720
4763
  const $ = () => {
4721
- fetch(u).then((x) => x.json()).then((x) => {
4722
- Object.keys(x).forEach((M) => {
4723
- go(M, x[M]);
4764
+ fetch(l).then((_) => _.json()).then((_) => {
4765
+ Object.keys(_).forEach((M) => {
4766
+ Eo(M, _[M]);
4724
4767
  });
4725
- }).catch((x) => {
4726
- console.log(x);
4768
+ }).catch((_) => {
4769
+ console.log(_);
4727
4770
  });
4728
4771
  }, G = () => {
4729
- vo(o);
4730
- }, Q = () => (n || (A = "Endpoint is missing! Please provide a valid endpointURL.", r(7, L = !0), r(5, P = !1), console.error(A)), (!o || o.length < 2) && (A = "Language is missing! Please provide a valid language (alpha2code)", r(7, L = !0), r(5, P = !1), console.error(A)), L), Hr = () => {
4772
+ wo(o);
4773
+ }, Q = () => (n || (A = "Endpoint is missing! Please provide a valid endpointURL.", r(7, L = !0), r(5, P = !1), console.error(A)), (!o || o.length < 2) && (A = "Language is missing! Please provide a valid language (alpha2code)", r(7, L = !0), r(5, P = !1), console.error(A)), L), Or = () => {
4731
4774
  if (!Q()) {
4732
- let d = new URL(`${n}/v1/casino/vendors`);
4733
- d.searchParams.append("datasource", i), d.searchParams.append("language", o), d.searchParams.append("platform", Ut(m)), fetch(d).then((x) => x.json()).then(
4734
- (x) => {
4735
- let M = x.items.filter((Le) => Le.games.total > 0);
4775
+ let p = new URL(`${n}/v1/casino/vendors`);
4776
+ p.searchParams.append("datasource", i), p.searchParams.append("language", o), p.searchParams.append("platform", Ft(m)), fetch(p).then((_) => _.json()).then(
4777
+ (_) => {
4778
+ let M = _.items.filter((Re) => Re.games.total > 0);
4736
4779
  r(6, I = []), r(6, I = I.concat(M)), r(5, P = !1);
4737
4780
  },
4738
- (x) => {
4739
- r(7, L = !0), console.error("There was an error while fetching the vendors", x);
4781
+ (_) => {
4782
+ r(7, L = !0), console.error("There was an error while fetching the vendors", _);
4740
4783
  }
4741
- ).catch((x) => {
4742
- r(7, L = !0), console.error("There was an error while fetching the vendors", x);
4784
+ ).catch((_) => {
4785
+ r(7, L = !0), console.error("There was an error while fetching the vendors", _);
4743
4786
  });
4744
4787
  }
4745
4788
  };
4746
- Jr(() => ("ontouchstart" in document.documentElement && (document.documentElement.className += " touch-device"), setTimeout(
4789
+ nn(() => ("ontouchstart" in document.documentElement && (document.documentElement.className += " touch-device"), setTimeout(
4747
4790
  () => {
4748
- g && g.addEventListener("scroll", Me);
4791
+ g && g.addEventListener("scroll", Ne);
4749
4792
  },
4750
4793
  500
4751
4794
  ), () => {
4752
- R.removeEventListener("scroll", Me);
4795
+ R.removeEventListener("scroll", Ne);
4753
4796
  }));
4754
- let Oe = (d, x) => {
4797
+ let Le = (p, _) => {
4755
4798
  var M;
4756
- Me(), r(0, b = d.id), window.postMessage(
4799
+ Ne(), r(0, b = p.id), window.postMessage(
4757
4800
  {
4758
- type: l,
4759
- itemId: d.id,
4760
- index: x,
4761
- item: d,
4762
- path: d.path,
4763
- externalLink: d.externalLink || !1,
4764
- target: ((M = d.attrs) == null ? void 0 : M.target) || null
4801
+ type: u,
4802
+ itemId: p.id,
4803
+ index: _,
4804
+ item: p,
4805
+ path: p.path,
4806
+ externalLink: p.externalLink || !1,
4807
+ target: ((M = p.attrs) == null ? void 0 : M.target) || null
4765
4808
  },
4766
4809
  window.location.href
4767
4810
  );
4768
- }, lt = () => {
4769
- const d = g.scrollLeft;
4770
- if (d > 0) {
4771
- const x = Math.min(250, d);
4811
+ }, pt = () => {
4812
+ const p = g.scrollLeft;
4813
+ if (p > 0) {
4814
+ const _ = Math.min(250, p);
4772
4815
  g.scrollBy({
4773
- left: -x,
4816
+ left: -_,
4774
4817
  behavior: "smooth"
4775
4818
  });
4776
4819
  }
4777
- }, ut = () => {
4778
- const d = g.scrollLeft, x = g.scrollWidth, M = g.clientWidth;
4779
- if (d + M < x) {
4780
- const Le = x - (d + M), Dr = Math.min(250, Le);
4781
- g.scrollBy({ left: Dr, behavior: "smooth" });
4820
+ }, dt = () => {
4821
+ const p = g.scrollLeft, _ = g.scrollWidth, M = g.clientWidth;
4822
+ if (p + M < _) {
4823
+ const Re = _ - (p + M), jr = Math.min(250, Re);
4824
+ g.scrollBy({ left: jr, behavior: "smooth" });
4782
4825
  }
4783
4826
  };
4784
- const Me = () => {
4785
- const d = R.querySelectorAll(".DropDown");
4827
+ const Ne = () => {
4828
+ const p = R.querySelectorAll(".DropDown");
4786
4829
  document.activeElement.blur(), g.classList.add("isScrolling");
4787
- for (let x = 0; x < d.length; x++)
4788
- d[x].style.transform = "translateX(-" + g.scrollLeft + "px)";
4830
+ for (let _ = 0; _ < p.length; _++)
4831
+ p[_].style.transform = "translateX(-" + g.scrollLeft + "px)";
4789
4832
  g.classList.remove("isScrolling");
4790
- }, Ar = (d) => {
4791
- (d.key === "Enter" || d.key === " ") && (ut(), d.preventDefault());
4792
- }, Ir = (d) => {
4793
- (d.key === "Enter" || d.key === " ") && (lt(), d.preventDefault());
4794
- }, Br = (d, x) => (M) => {
4795
- (M.key === "Enter" || M.key === " ") && (Oe(d, x), M.preventDefault());
4796
- }, Pr = () => {
4797
- if (C && c === "true" && h === "false")
4833
+ }, Mr = (p) => {
4834
+ (p.key === "Enter" || p.key === " ") && (dt(), p.preventDefault());
4835
+ }, Lr = (p) => {
4836
+ (p.key === "Enter" || p.key === " ") && (pt(), p.preventDefault());
4837
+ }, Nr = (p, _) => (M) => {
4838
+ (M.key === "Enter" || M.key === " ") && (Le(p, _), M.preventDefault());
4839
+ }, Rr = () => {
4840
+ if (E && c === "true" && h === "false")
4798
4841
  return "MobileCategoryButton";
4799
- }, Or = (d) => d > 1e3 ? "999+" : d, Mr = (d, x, M) => {
4800
- Oe(d, x), M.preventDefault();
4842
+ }, Ur = (p) => p > 1e3 ? "999+" : p, Dr = (p, _, M) => {
4843
+ Le(p, _), M.preventDefault();
4801
4844
  };
4802
- function Lr(d) {
4803
- ee[d ? "unshift" : "push"](() => {
4804
- R = d, r(8, R);
4845
+ function $r(p) {
4846
+ ee[p ? "unshift" : "push"](() => {
4847
+ R = p, r(8, R);
4805
4848
  });
4806
4849
  }
4807
- function Nr(d) {
4808
- ee[d ? "unshift" : "push"](() => {
4809
- g = d, r(9, g);
4850
+ function Gr(p) {
4851
+ ee[p ? "unshift" : "push"](() => {
4852
+ g = p, r(9, g);
4810
4853
  });
4811
4854
  }
4812
- function Rr(d) {
4813
- ee[d ? "unshift" : "push"](() => {
4814
- S = d, r(4, S);
4855
+ function kr(p) {
4856
+ ee[p ? "unshift" : "push"](() => {
4857
+ C = p, r(4, C);
4815
4858
  });
4816
4859
  }
4817
- function Ur(d) {
4818
- ee[d ? "unshift" : "push"](() => {
4819
- S = d, r(4, S);
4860
+ function Fr(p) {
4861
+ ee[p ? "unshift" : "push"](() => {
4862
+ C = p, r(4, C);
4820
4863
  });
4821
4864
  }
4822
- return e.$$set = (d) => {
4823
- "endpoint" in d && r(19, n = d.endpoint), "datasource" in d && r(20, i = d.datasource), "lang" in d && r(21, o = d.lang), "clientstyling" in d && r(22, s = d.clientstyling), "clientstylingurl" in d && r(23, a = d.clientstylingurl), "actionevent" in d && r(24, l = d.actionevent), "translationurl" in d && r(25, u = d.translationurl), "showvendoricon" in d && r(1, h = d.showvendoricon), "showvendorname" in d && r(2, c = d.showvendorname), "showvendorgames" in d && r(3, f = d.showvendorgames), "activevendor" in d && r(0, b = d.activevendor), "mbsource" in d && r(26, p = d.mbsource);
4865
+ return e.$$set = (p) => {
4866
+ "endpoint" in p && r(19, n = p.endpoint), "datasource" in p && r(20, i = p.datasource), "lang" in p && r(21, o = p.lang), "clientstyling" in p && r(22, s = p.clientstyling), "clientstylingurl" in p && r(23, a = p.clientstylingurl), "actionevent" in p && r(24, u = p.actionevent), "translationurl" in p && r(25, l = p.translationurl), "showvendoricon" in p && r(1, h = p.showvendoricon), "showvendorname" in p && r(2, c = p.showvendorname), "showvendorgames" in p && r(3, f = p.showvendorgames), "activevendor" in p && r(0, b = p.activevendor), "mbsource" in p && r(26, d = p.mbsource);
4824
4867
  }, e.$$.update = () => {
4825
4868
  e.$$.dirty[0] & /*endpoint, lang*/
4826
- 2621440 && n && o && Hr(), e.$$.dirty[0] & /*translationurl*/
4827
- 33554432 && u && $(), e.$$.dirty[0] & /*activevendor*/
4869
+ 2621440 && n && o && Or(), e.$$.dirty[0] & /*translationurl*/
4870
+ 33554432 && l && $(), e.$$.dirty[0] & /*activevendor*/
4828
4871
  1, e.$$.dirty[0] & /*lang*/
4829
4872
  2097152 && o && G(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4830
- 4194320 && s && S && yo(S, s), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4831
- 8388624 && a && S && _o(S, a), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4832
- 67108880 && p && S && xo(S, `${p}.Style`);
4873
+ 4194320 && s && C && Co(C, s), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4874
+ 8388624 && a && C && So(C, a), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4875
+ 67108880 && d && C && To(C, `${d}.Style`);
4833
4876
  }, [
4834
4877
  b,
4835
4878
  h,
4836
4879
  c,
4837
4880
  f,
4838
- S,
4881
+ C,
4839
4882
  P,
4840
4883
  I,
4841
4884
  L,
4842
4885
  R,
4843
4886
  g,
4844
- C,
4845
- Oe,
4846
- lt,
4847
- ut,
4848
- Ar,
4849
- Ir,
4850
- Br,
4851
- Pr,
4852
- Or,
4887
+ E,
4888
+ Le,
4889
+ pt,
4890
+ dt,
4891
+ Mr,
4892
+ Lr,
4893
+ Nr,
4894
+ Rr,
4895
+ Ur,
4853
4896
  n,
4854
4897
  i,
4855
4898
  o,
4856
4899
  s,
4857
4900
  a,
4858
- l,
4859
4901
  u,
4860
- p,
4861
- Mr,
4862
- Lr,
4863
- Nr,
4864
- Rr,
4865
- Ur
4902
+ l,
4903
+ d,
4904
+ Dr,
4905
+ $r,
4906
+ Gr,
4907
+ kr,
4908
+ Fr
4866
4909
  ];
4867
4910
  }
4868
- class Bo extends fn {
4911
+ class No extends gn {
4869
4912
  constructor(t) {
4870
- super(), hn(
4913
+ super(), mn(
4871
4914
  this,
4872
4915
  t,
4873
- Io,
4874
- Ao,
4875
- Zt,
4916
+ Lo,
4917
+ Mo,
4918
+ Kt,
4876
4919
  {
4877
4920
  endpoint: 19,
4878
4921
  datasource: 20,
@@ -4887,7 +4930,7 @@ class Bo extends fn {
4887
4930
  activevendor: 0,
4888
4931
  mbsource: 26
4889
4932
  },
4890
- Eo,
4933
+ Ho,
4891
4934
  [-1, -1]
4892
4935
  );
4893
4936
  }
@@ -4964,7 +5007,7 @@ class Bo extends fn {
4964
5007
  this.$$set({ mbsource: t }), U();
4965
5008
  }
4966
5009
  }
4967
- cn(Bo, { endpoint: {}, datasource: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, actionevent: {}, translationurl: {}, showvendoricon: {}, showvendorname: {}, showvendorgames: {}, activevendor: {}, mbsource: {} }, [], [], !0);
5010
+ bn(No, { endpoint: {}, datasource: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, actionevent: {}, translationurl: {}, showvendoricon: {}, showvendorname: {}, showvendorgames: {}, activevendor: {}, mbsource: {} }, [], [], !0);
4968
5011
  export {
4969
- Bo as default
5012
+ No as default
4970
5013
  };