@everymatrix/casino-categories-vendor-bar 1.76.0 → 1.76.3

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