@everymatrix/casino-categories-vendor-bar 1.87.26 → 1.87.27

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 Xr = Object.defineProperty, zr = Object.defineProperties;
2
+ var Zr = Object.getOwnPropertyDescriptors;
3
+ var bt = Object.getOwnPropertySymbols;
4
+ var Qr = Object.prototype.hasOwnProperty, Yr = Object.prototype.propertyIsEnumerable;
5
+ var De = (e, t, r) => t in e ? Xr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, gt = (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
+ Qr.call(t, r) && De(e, r, t[r]);
8
+ if (bt)
9
+ for (var r of bt(t))
10
+ Yr.call(t, r) && De(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
+ }, vt = (e, t) => zr(e, Zr(t));
13
+ var G = (e, t, r) => (De(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var yt = (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 Kt(e) {
33
33
  return e();
34
34
  }
35
- function yt() {
35
+ function _t() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
38
  function z(e) {
39
- e.forEach(Jt);
39
+ e.forEach(Kt);
40
40
  }
41
- function He(e) {
41
+ function Ae(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function Kt(e, t) {
44
+ function er(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
- let be;
48
- function we(e, t) {
49
- return e === t ? !0 : (be || (be = document.createElement("a")), be.href = t, e === be.href);
47
+ let ge;
48
+ function Ce(e, t) {
49
+ return e === t ? !0 : (ge || (ge = document.createElement("a")), ge.href = t, e === ge.href);
50
50
  }
51
- function Qr(e) {
51
+ function qr(e) {
52
52
  return Object.keys(e).length === 0;
53
53
  }
54
- function Yr(e, ...t) {
54
+ function Jr(e, ...t) {
55
55
  if (e == null) {
56
56
  for (const n of t)
57
57
  n(void 0);
@@ -60,17 +60,17 @@ function Yr(e, ...t) {
60
60
  const r = e.subscribe(...t);
61
61
  return r.unsubscribe ? () => r.unsubscribe() : r;
62
62
  }
63
- function H(e, t) {
63
+ function A(e, t) {
64
64
  e.appendChild(t);
65
65
  }
66
- function qr(e, t, r) {
67
- const n = Jr(e);
66
+ function Kr(e, t, r) {
67
+ const n = en(e);
68
68
  if (!n.getElementById(t)) {
69
- const i = T("style");
70
- i.id = t, i.textContent = r, Kr(n, i);
69
+ const i = H("style");
70
+ i.id = t, i.textContent = r, tn(n, i);
71
71
  }
72
72
  }
73
- function Jr(e) {
73
+ function en(e) {
74
74
  if (!e)
75
75
  return document;
76
76
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -80,45 +80,45 @@ function Jr(e) {
80
80
  t
81
81
  ) : e.ownerDocument;
82
82
  }
83
- function Kr(e, t) {
84
- return H(
83
+ function tn(e, t) {
84
+ return A(
85
85
  /** @type {Document} */
86
86
  e.head || e,
87
87
  t
88
88
  ), t.sheet;
89
89
  }
90
- function O(e, t, r) {
90
+ function M(e, t, r) {
91
91
  e.insertBefore(t, r || null);
92
92
  }
93
- function B(e) {
93
+ function P(e) {
94
94
  e.parentNode && e.parentNode.removeChild(e);
95
95
  }
96
- function T(e) {
96
+ function H(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
102
  function j() {
103
- return de(" ");
103
+ return me(" ");
104
104
  }
105
- function lt() {
106
- return de("");
105
+ function ht() {
106
+ return me("");
107
107
  }
108
- function K(e, t, r, n) {
108
+ function ee(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, 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 rn(e) {
115
115
  return Array.from(e.childNodes);
116
116
  }
117
- function ht(e, t) {
117
+ function ct(e, t) {
118
118
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
119
119
  t);
120
120
  }
121
- function tn(e) {
121
+ function nn(e) {
122
122
  const t = {};
123
123
  return e.childNodes.forEach(
124
124
  /** @param {Element} node */
@@ -127,120 +127,120 @@ function tn(e) {
127
127
  }
128
128
  ), t;
129
129
  }
130
- let ce;
131
- function he(e) {
132
- ce = e;
130
+ let fe;
131
+ function ce(e) {
132
+ fe = e;
133
133
  }
134
- function rn() {
135
- if (!ce)
134
+ function on() {
135
+ if (!fe)
136
136
  throw new Error("Function called outside component initialization");
137
- return ce;
137
+ return fe;
138
138
  }
139
- function nn(e) {
140
- rn().$$.on_mount.push(e);
139
+ function sn(e) {
140
+ on().$$.on_mount.push(e);
141
141
  }
142
- const J = [], ee = [];
143
- let te = [];
144
- const _t = [], on = /* @__PURE__ */ Promise.resolve();
145
- let Xe = !1;
146
- function sn() {
147
- Xe || (Xe = !0, on.then(U));
142
+ const J = [], te = [];
143
+ let re = [];
144
+ const xt = [], an = /* @__PURE__ */ Promise.resolve();
145
+ let ze = !1;
146
+ function un() {
147
+ ze || (ze = !0, an.then(U));
148
148
  }
149
- function ze(e) {
150
- te.push(e);
149
+ function Ze(e) {
150
+ re.push(e);
151
151
  }
152
- const De = /* @__PURE__ */ new Set();
152
+ const $e = /* @__PURE__ */ new Set();
153
153
  let Y = 0;
154
154
  function U() {
155
155
  if (Y !== 0)
156
156
  return;
157
- const e = ce;
157
+ const e = fe;
158
158
  do {
159
159
  try {
160
160
  for (; Y < J.length; ) {
161
161
  const t = J[Y];
162
- Y++, he(t), an(t.$$);
162
+ Y++, ce(t), ln(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; )
168
- ee.pop()();
169
- for (let t = 0; t < te.length; t += 1) {
170
- const r = te[t];
171
- De.has(r) || (De.add(r), r());
167
+ for (ce(null), J.length = 0, Y = 0; te.length; )
168
+ te.pop()();
169
+ for (let t = 0; t < re.length; t += 1) {
170
+ const r = re[t];
171
+ $e.has(r) || ($e.add(r), r());
172
172
  }
173
- te.length = 0;
173
+ re.length = 0;
174
174
  } while (J.length);
175
- for (; _t.length; )
176
- _t.pop()();
177
- Xe = !1, De.clear(), he(e);
175
+ for (; xt.length; )
176
+ xt.pop()();
177
+ ze = !1, $e.clear(), ce(e);
178
178
  }
179
- function an(e) {
179
+ function ln(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(Ze);
184
184
  }
185
185
  }
186
- function un(e) {
186
+ function hn(e) {
187
187
  const t = [], r = [];
188
- te.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), te = t;
188
+ re.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), re = 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 cn = /* @__PURE__ */ new Set();
191
+ function tr(e, t) {
192
+ e && e.i && (cn.delete(e), e.i(t));
193
193
  }
194
- function xt(e) {
194
+ function Et(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 fn(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) {
200
+ function pn(e, t, r, n, i, o, s, a, u, l, h, c) {
201
201
  let f = e.length, b = o.length, d = f;
202
202
  const m = {};
203
203
  for (; d--; )
204
204
  m[e[d].key] = d;
205
- const E = [], P = /* @__PURE__ */ new Map(), A = /* @__PURE__ */ new Map(), I = [];
205
+ const x = [], O = /* @__PURE__ */ new Map(), I = /* @__PURE__ */ new Map(), B = [];
206
206
  for (d = b; d--; ) {
207
- const g = c(i, o, d), $ = r(g);
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[$]));
207
+ const E = c(i, o, d), w = r(E);
208
+ let $ = s.get(w);
209
+ $ ? B.push(() => $.p(E, t)) : ($ = l(w, E), $.c()), O.set(w, x[d] = $), w in m && I.set(w, Math.abs(d - m[w]));
210
210
  }
211
- const L = /* @__PURE__ */ new Set(), C = /* @__PURE__ */ new Set();
212
- function R(g) {
213
- er(g, 1), g.m(a, h), s.set(g.key, g), h = g.first, b--;
211
+ const N = /* @__PURE__ */ new Set(), S = /* @__PURE__ */ new Set();
212
+ function k(E) {
213
+ tr(E, 1), E.m(a, h), s.set(E.key, E), h = E.first, b--;
214
214
  }
215
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--);
216
+ const E = x[b - 1], w = e[f - 1], $ = E.key, Q = w.key;
217
+ E === w ? (h = E.first, f--, b--) : O.has(Q) ? !s.has($) || N.has($) ? k(E) : S.has(Q) ? f-- : I.get($) > I.get(Q) ? (S.add($), k(E)) : (N.add(Q), f--) : (u(w, s), f--);
218
218
  }
219
219
  for (; f--; ) {
220
- const g = e[f];
221
- P.has(g.key) || u(g, s);
220
+ const E = e[f];
221
+ O.has(E.key) || u(E, s);
222
222
  }
223
223
  for (; b; )
224
- R(E[b - 1]);
225
- return z(I), E;
224
+ k(x[b - 1]);
225
+ return z(B), x;
226
226
  }
227
- function fn(e, t, r) {
227
+ function dn(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), Ze(() => {
230
+ const o = e.$$.on_mount.map(Kt).filter(Ae);
231
231
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : z(o), e.$$.on_mount = [];
232
- }), i.forEach(ze);
232
+ }), i.forEach(Ze);
233
233
  }
234
- function pn(e, t) {
234
+ function mn(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 && (hn(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 bn(e, t) {
239
+ e.$$.dirty[0] === -1 && (J.push(e), un(), 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]) {
242
- const u = ce;
243
- he(e);
241
+ function gn(e, t, r, n, i, o, s = null, a = [-1]) {
242
+ const u = fe;
243
+ ce(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: _t(),
252
252
  // lifecycle
253
253
  on_mount: [],
254
254
  on_destroy: [],
@@ -257,7 +257,7 @@ 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: _t(),
261
261
  dirty: a,
262
262
  skip_bound: !1,
263
263
  root: t.target || u.$$.root
@@ -266,39 +266,39 @@ function mn(e, t, r, n, i, o, s = null, a = [-1]) {
266
266
  let h = !1;
267
267
  if (l.ctx = r ? r(e, t.props || {}, (c, f, ...b) => {
268
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;
269
+ return l.ctx && i(l.ctx[c], l.ctx[c] = d) && (!l.skip_bound && l.bound[c] && l.bound[c](d), h && bn(e, c)), f;
270
270
  }) : [], l.update(), h = !0, z(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
271
271
  if (t.hydrate) {
272
- const c = en(t.target);
273
- l.fragment && l.fragment.l(c), c.forEach(B);
272
+ const c = rn(t.target);
273
+ l.fragment && l.fragment.l(c), c.forEach(P);
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 && tr(e.$$.fragment), dn(e, t.target, t.anchor), U();
277
277
  }
278
- he(u);
278
+ ce(u);
279
279
  }
280
- let tr;
281
- typeof HTMLElement == "function" && (tr = class extends HTMLElement {
280
+ let rr;
281
+ typeof HTMLElement == "function" && (rr = class extends HTMLElement {
282
282
  constructor(t, r, n) {
283
283
  super();
284
284
  /** The Svelte component constructor */
285
- k(this, "$$ctor");
285
+ G(this, "$$ctor");
286
286
  /** Slots */
287
- k(this, "$$s");
287
+ G(this, "$$s");
288
288
  /** The Svelte component instance */
289
- k(this, "$$c");
289
+ G(this, "$$c");
290
290
  /** Whether or not the custom element is connected */
291
- k(this, "$$cn", !1);
291
+ G(this, "$$cn", !1);
292
292
  /** Component props data */
293
- k(this, "$$d", {});
293
+ G(this, "$$d", {});
294
294
  /** `true` if currently in the process of reflecting component props back to attributes */
295
- k(this, "$$r", !1);
295
+ G(this, "$$r", !1);
296
296
  /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
297
- k(this, "$$p_d", {});
297
+ G(this, "$$p_d", {});
298
298
  /** @type {Record<string, Function[]>} Event listeners */
299
- k(this, "$$l", {});
299
+ G(this, "$$l", {});
300
300
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
301
- k(this, "$$l_u", /* @__PURE__ */ new Map());
301
+ G(this, "$$l_u", /* @__PURE__ */ new Map());
302
302
  this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
303
303
  }
304
304
  addEventListener(t, r, n) {
@@ -315,42 +315,42 @@ typeof HTMLElement == "function" && (tr = class extends HTMLElement {
315
315
  }
316
316
  }
317
317
  connectedCallback() {
318
- return vt(this, null, function* () {
318
+ return yt(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 = H("slot"), o !== "default" && _(s, "name", o);
326
326
  },
327
327
  /**
328
328
  * @param {HTMLElement} target
329
329
  * @param {HTMLElement} [anchor]
330
330
  */
331
331
  m: function(l, h) {
332
- O(l, s, h);
332
+ M(l, s, h);
333
333
  },
334
334
  d: function(l) {
335
- l && B(s);
335
+ l && P(s);
336
336
  }
337
337
  };
338
338
  };
339
339
  };
340
340
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
341
341
  return;
342
- const r = {}, n = tn(this);
342
+ const r = {}, n = nn(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] = _e(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: vt(gt({}, 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 = _e(
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] = _e(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 _e(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 vn(e, t, r, n, i, o) {
432
+ let s = class extends rr {
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 = _e(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 yn {
463
463
  constructor() {
464
464
  /**
465
465
  * ### PRIVATE API
@@ -468,7 +468,7 @@ class gn {
468
468
  *
469
469
  * @type {any}
470
470
  */
471
- k(this, "$$");
471
+ G(this, "$$");
472
472
  /**
473
473
  * ### PRIVATE API
474
474
  *
@@ -476,11 +476,11 @@ class gn {
476
476
  *
477
477
  * @type {any}
478
478
  */
479
- k(this, "$$set");
479
+ G(this, "$$set");
480
480
  }
481
481
  /** @returns {void} */
482
482
  $destroy() {
483
- pn(this, 1), this.$destroy = D;
483
+ mn(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 (!Ae(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 && !qr(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 _n = "4";
509
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(_n);
510
510
  /*! *****************************************************************************
511
511
  Copyright (c) Microsoft Corporation.
512
512
 
@@ -521,24 +521,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
521
521
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
522
522
  PERFORMANCE OF THIS SOFTWARE.
523
523
  ***************************************************************************** */
524
- var Ze = function(e, t) {
525
- return Ze = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
524
+ var Qe = function(e, t) {
525
+ return Qe = 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
+ }, Qe(e, t);
531
531
  };
532
- function me(e, t) {
532
+ function be(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
+ Qe(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
+ function Ye(e) {
542
542
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
543
543
  if (r)
544
544
  return r.call(e);
@@ -550,7 +550,7 @@ function Qe(e) {
550
550
  };
551
551
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
552
552
  }
553
- function Ye(e, t) {
553
+ function qe(e, t) {
554
554
  var r = typeof Symbol == "function" && e[Symbol.iterator];
555
555
  if (!r)
556
556
  return e;
@@ -570,7 +570,7 @@ function Ye(e, t) {
570
570
  }
571
571
  return o;
572
572
  }
573
- function qe(e, t, r) {
573
+ function Je(e, t, r) {
574
574
  if (arguments.length === 2)
575
575
  for (var n = 0, i = t.length, o; n < i; n++)
576
576
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
@@ -579,13 +579,13 @@ function qe(e, t, r) {
579
579
  function V(e) {
580
580
  return typeof e == "function";
581
581
  }
582
- function rr(e) {
582
+ function nr(e) {
583
583
  var t = function(n) {
584
584
  Error.call(n), n.stack = new Error().stack;
585
585
  }, r = e(t);
586
586
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
587
587
  }
588
- var $e = rr(function(e) {
588
+ var Ge = nr(function(e) {
589
589
  return function(r) {
590
590
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
591
591
  ` + r.map(function(n, i) {
@@ -594,13 +594,13 @@ var $e = rr(function(e) {
594
594
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
595
595
  };
596
596
  });
597
- function Je(e, t) {
597
+ function Ke(e, t) {
598
598
  if (e) {
599
599
  var r = e.indexOf(t);
600
600
  0 <= r && e.splice(r, 1);
601
601
  }
602
602
  }
603
- var Ae = function() {
603
+ var Ie = function() {
604
604
  function e(t) {
605
605
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
606
606
  }
@@ -612,7 +612,7 @@ var Ae = function() {
612
612
  if (s)
613
613
  if (this._parentage = null, Array.isArray(s))
614
614
  try {
615
- for (var a = Qe(s), u = a.next(); !u.done; u = a.next()) {
615
+ for (var a = Ye(s), u = a.next(); !u.done; u = a.next()) {
616
616
  var l = u.value;
617
617
  l.remove(this);
618
618
  }
@@ -633,18 +633,18 @@ var Ae = function() {
633
633
  try {
634
634
  h();
635
635
  } catch (m) {
636
- o = m instanceof $e ? m.errors : [m];
636
+ o = m instanceof Ge ? m.errors : [m];
637
637
  }
638
638
  var c = this._finalizers;
639
639
  if (c) {
640
640
  this._finalizers = null;
641
641
  try {
642
- for (var f = Qe(c), b = f.next(); !b.done; b = f.next()) {
642
+ for (var f = Ye(c), b = f.next(); !b.done; b = f.next()) {
643
643
  var d = b.value;
644
644
  try {
645
- Et(d);
645
+ wt(d);
646
646
  } catch (m) {
647
- o = o != null ? o : [], m instanceof $e ? o = qe(qe([], Ye(o)), Ye(m.errors)) : o.push(m);
647
+ o = o != null ? o : [], m instanceof Ge ? o = Je(Je([], qe(o)), qe(m.errors)) : o.push(m);
648
648
  }
649
649
  }
650
650
  } catch (m) {
@@ -659,13 +659,13 @@ var Ae = function() {
659
659
  }
660
660
  }
661
661
  if (o)
662
- throw new $e(o);
662
+ throw new Ge(o);
663
663
  }
664
664
  }, e.prototype.add = function(t) {
665
665
  var r;
666
666
  if (t && t !== this)
667
667
  if (this.closed)
668
- Et(t);
668
+ wt(t);
669
669
  else {
670
670
  if (t instanceof e) {
671
671
  if (t.closed || t._hasParent(this))
@@ -682,52 +682,52 @@ var Ae = function() {
682
682
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
683
683
  }, e.prototype._removeParent = function(t) {
684
684
  var r = this._parentage;
685
- r === t ? this._parentage = null : Array.isArray(r) && Je(r, t);
685
+ r === t ? this._parentage = null : Array.isArray(r) && Ke(r, t);
686
686
  }, e.prototype.remove = function(t) {
687
687
  var r = this._finalizers;
688
- r && Je(r, t), t instanceof e && t._removeParent(this);
688
+ r && Ke(r, t), t instanceof e && t._removeParent(this);
689
689
  }, e.EMPTY = function() {
690
690
  var t = new e();
691
691
  return t.closed = !0, t;
692
692
  }(), 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);
693
+ }(), ir = Ie.EMPTY;
694
+ function or(e) {
695
+ return e instanceof Ie || e && "closed" in e && V(e.remove) && V(e.add) && V(e.unsubscribe);
696
696
  }
697
- function Et(e) {
697
+ function wt(e) {
698
698
  V(e) ? e() : e.unsubscribe();
699
699
  }
700
- var yn = {
700
+ var xn = {
701
701
  Promise: void 0
702
- }, _n = {
702
+ }, En = {
703
703
  setTimeout: function(e, t) {
704
704
  for (var r = [], n = 2; n < arguments.length; n++)
705
705
  r[n - 2] = arguments[n];
706
- return setTimeout.apply(void 0, qe([e, t], Ye(r)));
706
+ return setTimeout.apply(void 0, Je([e, t], qe(r)));
707
707
  },
708
708
  clearTimeout: function(e) {
709
709
  return clearTimeout(e);
710
710
  },
711
711
  delegate: void 0
712
712
  };
713
- function xn(e) {
714
- _n.setTimeout(function() {
713
+ function wn(e) {
714
+ En.setTimeout(function() {
715
715
  throw e;
716
716
  });
717
717
  }
718
- function wt() {
718
+ function Ct() {
719
719
  }
720
- function _e(e) {
720
+ function xe(e) {
721
721
  e();
722
722
  }
723
- var or = function(e) {
724
- me(t, e);
723
+ var sr = function(e) {
724
+ be(t, e);
725
725
  function t(r) {
726
726
  var n = e.call(this) || this;
727
- return n.isStopped = !1, r ? (n.destination = r, ir(r) && r.add(n)) : n.destination = Cn, n;
727
+ return n.isStopped = !1, r ? (n.destination = r, or(r) && r.add(n)) : n.destination = Tn, n;
728
728
  }
729
729
  return t.create = function(r, n, i) {
730
- return new Ke(r, n, i);
730
+ return new et(r, n, i);
731
731
  }, t.prototype.next = function(r) {
732
732
  this.isStopped || this._next(r);
733
733
  }, t.prototype.error = function(r) {
@@ -751,7 +751,7 @@ var or = function(e) {
751
751
  this.unsubscribe();
752
752
  }
753
753
  }, t;
754
- }(Ae), En = function() {
754
+ }(Ie), Cn = function() {
755
755
  function e(t) {
756
756
  this.partialObserver = t;
757
757
  }
@@ -761,7 +761,7 @@ var or = function(e) {
761
761
  try {
762
762
  r.next(t);
763
763
  } catch (n) {
764
- ge(n);
764
+ ve(n);
765
765
  }
766
766
  }, e.prototype.error = function(t) {
767
767
  var r = this.partialObserver;
@@ -769,56 +769,56 @@ var or = function(e) {
769
769
  try {
770
770
  r.error(t);
771
771
  } catch (n) {
772
- ge(n);
772
+ ve(n);
773
773
  }
774
774
  else
775
- ge(t);
775
+ ve(t);
776
776
  }, e.prototype.complete = function() {
777
777
  var t = this.partialObserver;
778
778
  if (t.complete)
779
779
  try {
780
780
  t.complete();
781
781
  } catch (r) {
782
- ge(r);
782
+ ve(r);
783
783
  }
784
784
  }, e;
785
- }(), Ke = function(e) {
786
- me(t, e);
785
+ }(), et = function(e) {
786
+ be(t, e);
787
787
  function t(r, n, i) {
788
788
  var o = e.call(this) || this, s;
789
789
  return V(r) || !r ? s = {
790
790
  next: r != null ? r : void 0,
791
791
  error: n != null ? n : void 0,
792
792
  complete: i != null ? i : void 0
793
- } : s = r, o.destination = new En(s), o;
793
+ } : s = r, o.destination = new Cn(s), o;
794
794
  }
795
795
  return t;
796
- }(or);
797
- function ge(e) {
798
- xn(e);
796
+ }(sr);
797
+ function ve(e) {
798
+ wn(e);
799
799
  }
800
- function wn(e) {
800
+ function Sn(e) {
801
801
  throw e;
802
802
  }
803
- var Cn = {
803
+ var Tn = {
804
804
  closed: !0,
805
- next: wt,
806
- error: wn,
807
- complete: wt
808
- }, Sn = function() {
805
+ next: Ct,
806
+ error: Sn,
807
+ complete: Ct
808
+ }, Hn = function() {
809
809
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
810
810
  }();
811
- function Tn(e) {
811
+ function An(e) {
812
812
  return e;
813
813
  }
814
- function Hn(e) {
815
- return e.length === 0 ? Tn : e.length === 1 ? e[0] : function(r) {
814
+ function In(e) {
815
+ return e.length === 0 ? An : e.length === 1 ? e[0] : function(r) {
816
816
  return e.reduce(function(n, i) {
817
817
  return i(n);
818
818
  }, r);
819
819
  };
820
820
  }
821
- var Ct = function() {
821
+ var St = function() {
822
822
  function e(t) {
823
823
  t && (this._subscribe = t);
824
824
  }
@@ -826,8 +826,8 @@ var Ct = function() {
826
826
  var r = new e();
827
827
  return r.source = this, r.operator = t, r;
828
828
  }, e.prototype.subscribe = function(t, r, n) {
829
- var i = this, o = In(t) ? t : new Ke(t, r, n);
830
- return _e(function() {
829
+ var i = this, o = Pn(t) ? t : new et(t, r, n);
830
+ return xe(function() {
831
831
  var s = i, a = s.operator, u = s.source;
832
832
  o.add(a ? a.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
833
833
  }), o;
@@ -839,8 +839,8 @@ var Ct = function() {
839
839
  }
840
840
  }, e.prototype.forEach = function(t, r) {
841
841
  var n = this;
842
- return r = St(r), new r(function(i, o) {
843
- var s = new Ke({
842
+ return r = Tt(r), new r(function(i, o) {
843
+ var s = new et({
844
844
  next: function(a) {
845
845
  try {
846
846
  t(a);
@@ -856,15 +856,15 @@ var Ct = function() {
856
856
  }, e.prototype._subscribe = function(t) {
857
857
  var r;
858
858
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
859
- }, e.prototype[Sn] = function() {
859
+ }, e.prototype[Hn] = function() {
860
860
  return this;
861
861
  }, e.prototype.pipe = function() {
862
862
  for (var t = [], r = 0; r < arguments.length; r++)
863
863
  t[r] = arguments[r];
864
- return Hn(t)(this);
864
+ return In(t)(this);
865
865
  }, e.prototype.toPromise = function(t) {
866
866
  var r = this;
867
- return t = St(t), new t(function(n, i) {
867
+ return t = Tt(t), new t(function(n, i) {
868
868
  var o;
869
869
  r.subscribe(function(s) {
870
870
  return o = s;
@@ -878,40 +878,40 @@ var Ct = function() {
878
878
  return new e(t);
879
879
  }, e;
880
880
  }();
881
- function St(e) {
881
+ function Tt(e) {
882
882
  var t;
883
- return (t = e != null ? e : yn.Promise) !== null && t !== void 0 ? t : Promise;
883
+ return (t = e != null ? e : xn.Promise) !== null && t !== void 0 ? t : Promise;
884
884
  }
885
- function An(e) {
885
+ function Bn(e) {
886
886
  return e && V(e.next) && V(e.error) && V(e.complete);
887
887
  }
888
- function In(e) {
889
- return e && e instanceof or || An(e) && ir(e);
888
+ function Pn(e) {
889
+ return e && e instanceof sr || Bn(e) && or(e);
890
890
  }
891
- var Bn = rr(function(e) {
891
+ var On = nr(function(e) {
892
892
  return function() {
893
893
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
894
894
  };
895
- }), sr = function(e) {
896
- me(t, e);
895
+ }), ar = function(e) {
896
+ be(t, e);
897
897
  function t() {
898
898
  var r = e.call(this) || this;
899
899
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
900
900
  }
901
901
  return t.prototype.lift = function(r) {
902
- var n = new Tt(this, this);
902
+ var n = new Ht(this, this);
903
903
  return n.operator = r, n;
904
904
  }, t.prototype._throwIfClosed = function() {
905
905
  if (this.closed)
906
- throw new Bn();
906
+ throw new On();
907
907
  }, t.prototype.next = function(r) {
908
908
  var n = this;
909
- _e(function() {
909
+ xe(function() {
910
910
  var i, o;
911
911
  if (n._throwIfClosed(), !n.isStopped) {
912
912
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
913
913
  try {
914
- for (var s = Qe(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
914
+ for (var s = Ye(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
915
915
  var u = a.value;
916
916
  u.next(r);
917
917
  }
@@ -929,7 +929,7 @@ var Bn = rr(function(e) {
929
929
  });
930
930
  }, t.prototype.error = function(r) {
931
931
  var n = this;
932
- _e(function() {
932
+ xe(function() {
933
933
  if (n._throwIfClosed(), !n.isStopped) {
934
934
  n.hasError = n.isStopped = !0, n.thrownError = r;
935
935
  for (var i = n.observers; i.length; )
@@ -938,7 +938,7 @@ var Bn = rr(function(e) {
938
938
  });
939
939
  }, t.prototype.complete = function() {
940
940
  var r = this;
941
- _e(function() {
941
+ xe(function() {
942
942
  if (r._throwIfClosed(), !r.isStopped) {
943
943
  r.isStopped = !0;
944
944
  for (var n = r.observers; n.length; )
@@ -960,20 +960,20 @@ var Bn = rr(function(e) {
960
960
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
961
961
  }, t.prototype._innerSubscribe = function(r) {
962
962
  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);
963
+ return o || s ? ir : (this.currentObservers = null, a.push(r), new Ie(function() {
964
+ n.currentObservers = null, Ke(a, r);
965
965
  }));
966
966
  }, t.prototype._checkFinalizedStatuses = function(r) {
967
967
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
968
968
  i ? r.error(o) : s && r.complete();
969
969
  }, t.prototype.asObservable = function() {
970
- var r = new Ct();
970
+ var r = new St();
971
971
  return r.source = this, r;
972
972
  }, t.create = function(r, n) {
973
- return new Tt(r, n);
973
+ return new Ht(r, n);
974
974
  }, t;
975
- }(Ct), Tt = function(e) {
976
- me(t, e);
975
+ }(St), Ht = function(e) {
976
+ be(t, e);
977
977
  function t(r, n) {
978
978
  var i = e.call(this) || this;
979
979
  return i.destination = r, i.source = n, i;
@@ -989,17 +989,17 @@ var Bn = rr(function(e) {
989
989
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
990
990
  }, t.prototype._subscribe = function(r) {
991
991
  var n, i;
992
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : nr;
992
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : ir;
993
993
  }, t;
994
- }(sr), ar = {
994
+ }(ar), ur = {
995
995
  now: function() {
996
- return (ar.delegate || Date).now();
996
+ return (ur.delegate || Date).now();
997
997
  },
998
998
  delegate: void 0
999
- }, Pn = function(e) {
1000
- me(t, e);
999
+ }, Mn = function(e) {
1000
+ be(t, e);
1001
1001
  function t(r, n, i) {
1002
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = ar);
1002
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = ur);
1003
1003
  var o = e.call(this) || this;
1004
1004
  return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
1005
1005
  }
@@ -1019,24 +1019,24 @@ var Bn = rr(function(e) {
1019
1019
  l && o.splice(0, l + 1);
1020
1020
  }
1021
1021
  }, 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);
1022
+ }(ar);
1023
+ const At = [], It = {}, Ln = (e, t = 0) => {
1024
+ if (At.indexOf(e) == -1) {
1025
+ const r = new Mn(t);
1026
+ It[e] = r, At.push(e);
1027
1027
  }
1028
- return At[e];
1028
+ return It[e];
1029
1029
  }, q = [];
1030
- function Mn(e, t) {
1030
+ function Nn(e, t) {
1031
1031
  return {
1032
- subscribe: Ie(e, t).subscribe
1032
+ subscribe: Be(e, t).subscribe
1033
1033
  };
1034
1034
  }
1035
- function Ie(e, t = D) {
1035
+ function Be(e, t = D) {
1036
1036
  let r;
1037
1037
  const n = /* @__PURE__ */ new Set();
1038
1038
  function i(a) {
1039
- if (Kt(e, a) && (e = a, r)) {
1039
+ if (er(e, a) && (e = a, r)) {
1040
1040
  const u = !q.length;
1041
1041
  for (const l of n)
1042
1042
  l[1](), q.push(l, e);
@@ -1058,12 +1058,12 @@ function Ie(e, t = D) {
1058
1058
  }
1059
1059
  return { set: i, update: o, subscribe: s };
1060
1060
  }
1061
- function se(e, t, r) {
1061
+ function ae(e, t, r) {
1062
1062
  const n = !Array.isArray(e), i = n ? [e] : e;
1063
1063
  if (!i.every(Boolean))
1064
1064
  throw new Error("derived() expects stores as input, got a falsy value");
1065
1065
  const o = t.length < 2;
1066
- return Mn(r, (s, a) => {
1066
+ return Nn(r, (s, a) => {
1067
1067
  let u = !1;
1068
1068
  const l = [];
1069
1069
  let h = 0, c = D;
@@ -1072,12 +1072,12 @@ function se(e, t, r) {
1072
1072
  return;
1073
1073
  c();
1074
1074
  const d = t(n ? l[0] : l, s, a);
1075
- o ? s(d) : c = He(d) ? d : D;
1075
+ o ? s(d) : c = Ae(d) ? d : D;
1076
1076
  }, b = i.map(
1077
- (d, m) => Yr(
1077
+ (d, m) => Jr(
1078
1078
  d,
1079
- (E) => {
1080
- l[m] = E, h &= ~(1 << m), u && f();
1079
+ (x) => {
1080
+ l[m] = x, h &= ~(1 << m), u && f();
1081
1081
  },
1082
1082
  () => {
1083
1083
  h |= 1 << m;
@@ -1089,92 +1089,92 @@ function se(e, t, r) {
1089
1089
  };
1090
1090
  });
1091
1091
  }
1092
- function Ln(e) {
1092
+ function Rn(e) {
1093
1093
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1094
1094
  }
1095
- var Nn = function(t) {
1096
- return Rn(t) && !Un(t);
1095
+ var Un = function(t) {
1096
+ return Dn(t) && !$n(t);
1097
1097
  };
1098
- function Rn(e) {
1098
+ function Dn(e) {
1099
1099
  return !!e && typeof e == "object";
1100
1100
  }
1101
- function Un(e) {
1101
+ function $n(e) {
1102
1102
  var t = Object.prototype.toString.call(e);
1103
- return t === "[object RegExp]" || t === "[object Date]" || Gn(e);
1103
+ return t === "[object RegExp]" || t === "[object Date]" || Fn(e);
1104
1104
  }
1105
- var Dn = typeof Symbol == "function" && Symbol.for, $n = Dn ? Symbol.for("react.element") : 60103;
1106
- function Gn(e) {
1107
- return e.$$typeof === $n;
1105
+ var Gn = typeof Symbol == "function" && Symbol.for, kn = Gn ? Symbol.for("react.element") : 60103;
1106
+ function Fn(e) {
1107
+ return e.$$typeof === kn;
1108
1108
  }
1109
- function kn(e) {
1109
+ function jn(e) {
1110
1110
  return Array.isArray(e) ? [] : {};
1111
1111
  }
1112
- function fe(e, t) {
1113
- return t.clone !== !1 && t.isMergeableObject(e) ? re(kn(e), e, t) : e;
1112
+ function pe(e, t) {
1113
+ return t.clone !== !1 && t.isMergeableObject(e) ? ne(jn(e), e, t) : e;
1114
1114
  }
1115
- function Fn(e, t, r) {
1115
+ function Vn(e, t, r) {
1116
1116
  return e.concat(t).map(function(n) {
1117
- return fe(n, r);
1117
+ return pe(n, r);
1118
1118
  });
1119
1119
  }
1120
- function jn(e, t) {
1120
+ function Wn(e, t) {
1121
1121
  if (!t.customMerge)
1122
- return re;
1122
+ return ne;
1123
1123
  var r = t.customMerge(e);
1124
- return typeof r == "function" ? r : re;
1124
+ return typeof r == "function" ? r : ne;
1125
1125
  }
1126
- function Vn(e) {
1126
+ function Xn(e) {
1127
1127
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1128
1128
  return Object.propertyIsEnumerable.call(e, t);
1129
1129
  }) : [];
1130
1130
  }
1131
- function It(e) {
1132
- return Object.keys(e).concat(Vn(e));
1131
+ function Bt(e) {
1132
+ return Object.keys(e).concat(Xn(e));
1133
1133
  }
1134
- function ur(e, t) {
1134
+ function lr(e, t) {
1135
1135
  try {
1136
1136
  return t in e;
1137
1137
  } catch (r) {
1138
1138
  return !1;
1139
1139
  }
1140
1140
  }
1141
- function Wn(e, t) {
1142
- return ur(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1141
+ function zn(e, t) {
1142
+ return lr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1143
1143
  }
1144
- function Xn(e, t, r) {
1144
+ function Zn(e, t, r) {
1145
1145
  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));
1146
+ return r.isMergeableObject(e) && Bt(e).forEach(function(i) {
1147
+ n[i] = pe(e[i], r);
1148
+ }), Bt(t).forEach(function(i) {
1149
+ zn(e, i) || (lr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Wn(i, r)(e[i], t[i], r) : n[i] = pe(t[i], r));
1150
1150
  }), n;
1151
1151
  }
1152
- function re(e, t, r) {
1153
- r = r || {}, r.arrayMerge = r.arrayMerge || Fn, r.isMergeableObject = r.isMergeableObject || Nn, r.cloneUnlessOtherwiseSpecified = fe;
1152
+ function ne(e, t, r) {
1153
+ r = r || {}, r.arrayMerge = r.arrayMerge || Vn, r.isMergeableObject = r.isMergeableObject || Un, r.cloneUnlessOtherwiseSpecified = pe;
1154
1154
  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);
1155
+ return o ? n ? r.arrayMerge(e, t, r) : Zn(e, t, r) : pe(t, r);
1156
1156
  }
1157
- re.all = function(t, r) {
1157
+ ne.all = function(t, r) {
1158
1158
  if (!Array.isArray(t))
1159
1159
  throw new Error("first argument should be an array");
1160
1160
  return t.reduce(function(n, i) {
1161
- return re(n, i, r);
1161
+ return ne(n, i, r);
1162
1162
  }, {});
1163
1163
  };
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) {
1164
+ var Qn = ne, Yn = Qn;
1165
+ const qn = /* @__PURE__ */ Rn(Yn);
1166
+ var tt = function(e, t) {
1167
+ return tt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1168
1168
  r.__proto__ = n;
1169
1169
  } || function(r, n) {
1170
1170
  for (var i in n)
1171
1171
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1172
- }, et(e, t);
1172
+ }, tt(e, t);
1173
1173
  };
1174
- function Be(e, t) {
1174
+ function Pe(e, t) {
1175
1175
  if (typeof t != "function" && t !== null)
1176
1176
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1177
- et(e, t);
1177
+ tt(e, t);
1178
1178
  function r() {
1179
1179
  this.constructor = e;
1180
1180
  }
@@ -1190,7 +1190,7 @@ var F = function() {
1190
1190
  return t;
1191
1191
  }, F.apply(this, arguments);
1192
1192
  };
1193
- function Yn(e, t) {
1193
+ function Jn(e, t) {
1194
1194
  var r = {};
1195
1195
  for (var n in e)
1196
1196
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -1199,43 +1199,43 @@ function Yn(e, t) {
1199
1199
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1200
1200
  return r;
1201
1201
  }
1202
- function Ge(e, t, r) {
1202
+ function ke(e, t, r) {
1203
1203
  if (r || arguments.length === 2)
1204
1204
  for (var n = 0, i = t.length, o; n < i; n++)
1205
1205
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1206
1206
  return e.concat(o || Array.prototype.slice.call(t));
1207
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;
1208
+ function Fe(e, t) {
1209
+ var r = t && t.cache ? t.cache : oi, n = t && t.serializer ? t.serializer : ni, i = t && t.strategy ? t.strategy : ti;
1210
1210
  return i(e, {
1211
1211
  cache: r,
1212
1212
  serializer: n
1213
1213
  });
1214
1214
  }
1215
- function qn(e) {
1215
+ function Kn(e) {
1216
1216
  return e == null || typeof e == "number" || typeof e == "boolean";
1217
1217
  }
1218
- function Jn(e, t, r, n) {
1219
- var i = qn(n) ? n : r(n), o = t.get(i);
1218
+ function ei(e, t, r, n) {
1219
+ var i = Kn(n) ? n : r(n), o = t.get(i);
1220
1220
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1221
1221
  }
1222
- function lr(e, t, r) {
1222
+ function hr(e, t, r) {
1223
1223
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1224
1224
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1225
1225
  }
1226
- function hr(e, t, r, n, i) {
1226
+ function cr(e, t, r, n, i) {
1227
1227
  return r.bind(t, e, n, i);
1228
1228
  }
1229
- function Kn(e, t) {
1230
- var r = e.length === 1 ? Jn : lr;
1231
- return hr(e, this, r, t.cache.create(), t.serializer);
1229
+ function ti(e, t) {
1230
+ var r = e.length === 1 ? ei : hr;
1231
+ return cr(e, this, r, t.cache.create(), t.serializer);
1232
1232
  }
1233
- function ei(e, t) {
1234
- return hr(e, this, lr, t.cache.create(), t.serializer);
1233
+ function ri(e, t) {
1234
+ return cr(e, this, hr, t.cache.create(), t.serializer);
1235
1235
  }
1236
- var ti = function() {
1236
+ var ni = function() {
1237
1237
  return JSON.stringify(arguments);
1238
- }, ri = (
1238
+ }, ii = (
1239
1239
  /** @class */
1240
1240
  function() {
1241
1241
  function e() {
@@ -1247,71 +1247,71 @@ var ti = function() {
1247
1247
  this.cache[t] = r;
1248
1248
  }, e;
1249
1249
  }()
1250
- ), ni = {
1250
+ ), oi = {
1251
1251
  create: function() {
1252
- return new ri();
1252
+ return new ii();
1253
1253
  }
1254
- }, Fe = {
1255
- variadic: ei
1256
- }, Ce = function() {
1257
- return Ce = Object.assign || function(t) {
1254
+ }, je = {
1255
+ variadic: ri
1256
+ }, Se = function() {
1257
+ return Se = Object.assign || function(t) {
1258
1258
  for (var r, n = 1, i = arguments.length; n < i; n++) {
1259
1259
  r = arguments[n];
1260
1260
  for (var o in r)
1261
1261
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1262
1262
  }
1263
1263
  return t;
1264
- }, Ce.apply(this, arguments);
1264
+ }, Se.apply(this, arguments);
1265
1265
  };
1266
- var v;
1266
+ var g;
1267
1267
  (function(e) {
1268
1268
  e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
1269
- })(v || (v = {}));
1270
- var w;
1269
+ })(g || (g = {}));
1270
+ var C;
1271
1271
  (function(e) {
1272
1272
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
1273
- })(w || (w = {}));
1274
- var ne;
1273
+ })(C || (C = {}));
1274
+ var ie;
1275
1275
  (function(e) {
1276
1276
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1277
- })(ne || (ne = {}));
1278
- function Bt(e) {
1279
- return e.type === w.literal;
1280
- }
1281
- function ii(e) {
1282
- return e.type === w.argument;
1277
+ })(ie || (ie = {}));
1278
+ function Pt(e) {
1279
+ return e.type === C.literal;
1283
1280
  }
1284
- function cr(e) {
1285
- return e.type === w.number;
1281
+ function si(e) {
1282
+ return e.type === C.argument;
1286
1283
  }
1287
1284
  function fr(e) {
1288
- return e.type === w.date;
1285
+ return e.type === C.number;
1289
1286
  }
1290
1287
  function pr(e) {
1291
- return e.type === w.time;
1288
+ return e.type === C.date;
1292
1289
  }
1293
1290
  function dr(e) {
1294
- return e.type === w.select;
1291
+ return e.type === C.time;
1295
1292
  }
1296
1293
  function mr(e) {
1297
- return e.type === w.plural;
1298
- }
1299
- function oi(e) {
1300
- return e.type === w.pound;
1294
+ return e.type === C.select;
1301
1295
  }
1302
1296
  function br(e) {
1303
- return e.type === w.tag;
1297
+ return e.type === C.plural;
1298
+ }
1299
+ function ai(e) {
1300
+ return e.type === C.pound;
1304
1301
  }
1305
1302
  function gr(e) {
1306
- return !!(e && typeof e == "object" && e.type === ne.number);
1303
+ return e.type === C.tag;
1307
1304
  }
1308
- function tt(e) {
1309
- return !!(e && typeof e == "object" && e.type === ne.dateTime);
1305
+ function vr(e) {
1306
+ return !!(e && typeof e == "object" && e.type === ie.number);
1310
1307
  }
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) {
1308
+ function rt(e) {
1309
+ return !!(e && typeof e == "object" && e.type === ie.dateTime);
1310
+ }
1311
+ var yr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ui = /(?:[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 li(e) {
1313
1313
  var t = {};
1314
- return e.replace(si, function(r) {
1314
+ return e.replace(ui, function(r) {
1315
1315
  var n = r.length;
1316
1316
  switch (r[0]) {
1317
1317
  case "G":
@@ -1400,21 +1400,21 @@ function ai(e) {
1400
1400
  return "";
1401
1401
  }), t;
1402
1402
  }
1403
- var S = function() {
1404
- return S = Object.assign || function(t) {
1403
+ var T = function() {
1404
+ return T = Object.assign || function(t) {
1405
1405
  for (var r, n = 1, i = arguments.length; n < i; n++) {
1406
1406
  r = arguments[n];
1407
1407
  for (var o in r)
1408
1408
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1409
1409
  }
1410
1410
  return t;
1411
- }, S.apply(this, arguments);
1411
+ }, T.apply(this, arguments);
1412
1412
  };
1413
- var ui = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1414
- function li(e) {
1413
+ var hi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1414
+ function ci(e) {
1415
1415
  if (e.length === 0)
1416
1416
  throw new Error("Number skeleton cannot be empty");
1417
- for (var t = e.split(ui).filter(function(f) {
1417
+ for (var t = e.split(hi).filter(function(f) {
1418
1418
  return f.length > 0;
1419
1419
  }), r = [], n = 0, i = t; n < i.length; n++) {
1420
1420
  var o = i[n], s = o.split("/");
@@ -1429,17 +1429,17 @@ function li(e) {
1429
1429
  }
1430
1430
  return r;
1431
1431
  }
1432
- function hi(e) {
1432
+ function fi(e) {
1433
1433
  return e.replace(/^(.*?)-/, "");
1434
1434
  }
1435
- var Pt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, yr = /^(@+)?(\+|#+)?[rs]?$/g, ci = /(\*)(0+)|(#+)(0+)|(0+)/g, _r = /^(0+)$/;
1436
- function Ot(e) {
1435
+ var Ot = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, _r = /^(@+)?(\+|#+)?[rs]?$/g, pi = /(\*)(0+)|(#+)(0+)|(0+)/g, xr = /^(0+)$/;
1436
+ function Mt(e) {
1437
1437
  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) {
1438
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(_r, function(r, n, i) {
1439
1439
  return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
1440
1440
  }), t;
1441
1441
  }
1442
- function xr(e) {
1442
+ function Er(e) {
1443
1443
  switch (e) {
1444
1444
  case "sign-auto":
1445
1445
  return {
@@ -1479,7 +1479,7 @@ function xr(e) {
1479
1479
  };
1480
1480
  }
1481
1481
  }
1482
- function fi(e) {
1482
+ function di(e) {
1483
1483
  var t;
1484
1484
  if (e[0] === "E" && e[1] === "E" ? (t = {
1485
1485
  notation: "engineering"
@@ -1487,17 +1487,17 @@ function fi(e) {
1487
1487
  notation: "scientific"
1488
1488
  }, e = e.slice(1)), t) {
1489
1489
  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))
1490
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !xr.test(e))
1491
1491
  throw new Error("Malformed concise eng/scientific notation");
1492
1492
  t.minimumIntegerDigits = e.length;
1493
1493
  }
1494
1494
  return t;
1495
1495
  }
1496
- function Mt(e) {
1497
- var t = {}, r = xr(e);
1496
+ function Lt(e) {
1497
+ var t = {}, r = Er(e);
1498
1498
  return r || t;
1499
1499
  }
1500
- function pi(e) {
1500
+ function mi(e) {
1501
1501
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1502
1502
  var i = n[r];
1503
1503
  switch (i.stem) {
@@ -1521,7 +1521,7 @@ function pi(e) {
1521
1521
  continue;
1522
1522
  case "measure-unit":
1523
1523
  case "unit":
1524
- t.style = "unit", t.unit = hi(i.options[0]);
1524
+ t.style = "unit", t.unit = fi(i.options[0]);
1525
1525
  continue;
1526
1526
  case "compact-short":
1527
1527
  case "K":
@@ -1532,13 +1532,13 @@ function pi(e) {
1532
1532
  t.notation = "compact", t.compactDisplay = "long";
1533
1533
  continue;
1534
1534
  case "scientific":
1535
- t = S(S(S({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
1536
- return S(S({}, u), Mt(l));
1535
+ t = T(T(T({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
1536
+ return T(T({}, u), Lt(l));
1537
1537
  }, {}));
1538
1538
  continue;
1539
1539
  case "engineering":
1540
- t = S(S(S({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1541
- return S(S({}, u), Mt(l));
1540
+ t = T(T(T({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1541
+ return T(T({}, u), Lt(l));
1542
1542
  }, {}));
1543
1543
  continue;
1544
1544
  case "notation-simple":
@@ -1583,7 +1583,7 @@ function pi(e) {
1583
1583
  case "integer-width":
1584
1584
  if (i.options.length > 1)
1585
1585
  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) {
1586
+ i.options[0].replace(pi, function(u, l, h, c, f, b) {
1587
1587
  if (l)
1588
1588
  t.minimumIntegerDigits = h.length;
1589
1589
  else {
@@ -1596,32 +1596,32 @@ function pi(e) {
1596
1596
  });
1597
1597
  continue;
1598
1598
  }
1599
- if (_r.test(i.stem)) {
1599
+ if (xr.test(i.stem)) {
1600
1600
  t.minimumIntegerDigits = i.stem.length;
1601
1601
  continue;
1602
1602
  }
1603
- if (Pt.test(i.stem)) {
1603
+ if (Ot.test(i.stem)) {
1604
1604
  if (i.options.length > 1)
1605
1605
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1606
- i.stem.replace(Pt, function(u, l, h, c, f, b) {
1606
+ i.stem.replace(Ot, function(u, l, h, c, f, b) {
1607
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), "";
1608
1608
  });
1609
1609
  var o = i.options[0];
1610
- o === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = S(S({}, t), Ot(o)));
1610
+ o === "w" ? t = T(T({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = T(T({}, t), Mt(o)));
1611
1611
  continue;
1612
1612
  }
1613
- if (yr.test(i.stem)) {
1614
- t = S(S({}, t), Ot(i.stem));
1613
+ if (_r.test(i.stem)) {
1614
+ t = T(T({}, t), Mt(i.stem));
1615
1615
  continue;
1616
1616
  }
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));
1617
+ var s = Er(i.stem);
1618
+ s && (t = T(T({}, t), s));
1619
+ var a = di(i.stem);
1620
+ a && (t = T(T({}, t), a));
1621
1621
  }
1622
1622
  return t;
1623
1623
  }
1624
- var ve = {
1624
+ var ye = {
1625
1625
  "001": [
1626
1626
  "H",
1627
1627
  "h"
@@ -3036,13 +3036,13 @@ var ve = {
3036
3036
  "h"
3037
3037
  ]
3038
3038
  };
3039
- function di(e, t) {
3039
+ function bi(e, t) {
3040
3040
  for (var r = "", n = 0; n < e.length; n++) {
3041
3041
  var i = e.charAt(n);
3042
3042
  if (i === "j") {
3043
3043
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3044
3044
  o++, n++;
3045
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = mi(t);
3045
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = gi(t);
3046
3046
  for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
3047
3047
  r += u;
3048
3048
  for (; s-- > 0; )
@@ -3052,7 +3052,7 @@ function di(e, t) {
3052
3052
  }
3053
3053
  return r;
3054
3054
  }
3055
- function mi(e) {
3055
+ function gi(e) {
3056
3056
  var t = e.hourCycle;
3057
3057
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3058
3058
  e.hourCycles && // @ts-ignore
@@ -3071,23 +3071,23 @@ function mi(e) {
3071
3071
  }
3072
3072
  var r = e.language, n;
3073
3073
  r !== "root" && (n = e.maximize().region);
3074
- var i = ve[n || ""] || ve[r || ""] || ve["".concat(r, "-001")] || ve["001"];
3074
+ var i = ye[n || ""] || ye[r || ""] || ye["".concat(r, "-001")] || ye["001"];
3075
3075
  return i[0];
3076
3076
  }
3077
- var je, bi = new RegExp("^".concat(vr.source, "*")), gi = new RegExp("".concat(vr.source, "*$"));
3078
- function y(e, t) {
3077
+ var Ve, vi = new RegExp("^".concat(yr.source, "*")), yi = new RegExp("".concat(yr.source, "*$"));
3078
+ function v(e, t) {
3079
3079
  return { start: e, end: t };
3080
3080
  }
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) {
3081
+ var _i = !!String.prototype.startsWith && "_a".startsWith("a", 1), xi = !!String.fromCodePoint, Ei = !!Object.fromEntries, wi = !!String.prototype.codePointAt, Ci = !!String.prototype.trimStart, Si = !!String.prototype.trimEnd, Ti = !!Number.isSafeInteger, Hi = Ti ? Number.isSafeInteger : function(e) {
3082
3082
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3083
- }, rt = !0;
3083
+ }, nt = !0;
3084
3084
  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";
3085
+ var Ai = Cr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3086
+ nt = ((Ve = Ai.exec("a")) === null || Ve === void 0 ? void 0 : Ve[0]) === "a";
3087
3087
  } catch (e) {
3088
- rt = !1;
3088
+ nt = !1;
3089
3089
  }
3090
- var Lt = vi ? (
3090
+ var Nt = _i ? (
3091
3091
  // Native
3092
3092
  function(t, r, n) {
3093
3093
  return t.startsWith(r, n);
@@ -3097,7 +3097,7 @@ var Lt = vi ? (
3097
3097
  function(t, r, n) {
3098
3098
  return t.slice(n, n + r.length) === r;
3099
3099
  }
3100
- ), nt = yi ? String.fromCodePoint : (
3100
+ ), it = xi ? String.fromCodePoint : (
3101
3101
  // IE11
3102
3102
  function() {
3103
3103
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3109,9 +3109,9 @@ var Lt = vi ? (
3109
3109
  }
3110
3110
  return n;
3111
3111
  }
3112
- ), Nt = (
3112
+ ), Rt = (
3113
3113
  // native
3114
- _i ? Object.fromEntries : (
3114
+ Ei ? Object.fromEntries : (
3115
3115
  // Ponyfill
3116
3116
  function(t) {
3117
3117
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3121,7 +3121,7 @@ var Lt = vi ? (
3121
3121
  return r;
3122
3122
  }
3123
3123
  )
3124
- ), Er = xi ? (
3124
+ ), wr = wi ? (
3125
3125
  // Native
3126
3126
  function(t, r) {
3127
3127
  return t.codePointAt(r);
@@ -3135,7 +3135,7 @@ var Lt = vi ? (
3135
3135
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3136
3136
  }
3137
3137
  }
3138
- ), Hi = Ei ? (
3138
+ ), Ii = Ci ? (
3139
3139
  // Native
3140
3140
  function(t) {
3141
3141
  return t.trimStart();
@@ -3143,9 +3143,9 @@ var Lt = vi ? (
3143
3143
  ) : (
3144
3144
  // Ponyfill
3145
3145
  function(t) {
3146
- return t.replace(bi, "");
3146
+ return t.replace(vi, "");
3147
3147
  }
3148
- ), Ai = wi ? (
3148
+ ), Bi = Si ? (
3149
3149
  // Native
3150
3150
  function(t) {
3151
3151
  return t.trimEnd();
@@ -3153,32 +3153,32 @@ var Lt = vi ? (
3153
3153
  ) : (
3154
3154
  // Ponyfill
3155
3155
  function(t) {
3156
- return t.replace(gi, "");
3156
+ return t.replace(yi, "");
3157
3157
  }
3158
3158
  );
3159
- function wr(e, t) {
3159
+ function Cr(e, t) {
3160
3160
  return new RegExp(e, t);
3161
3161
  }
3162
- var it;
3163
- if (rt) {
3164
- var Rt = wr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3165
- it = function(t, r) {
3162
+ var ot;
3163
+ if (nt) {
3164
+ var Ut = Cr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3165
+ ot = function(t, r) {
3166
3166
  var n;
3167
- Rt.lastIndex = r;
3168
- var i = Rt.exec(t);
3167
+ Ut.lastIndex = r;
3168
+ var i = Ut.exec(t);
3169
3169
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3170
3170
  };
3171
3171
  } else
3172
- it = function(t, r) {
3172
+ ot = function(t, r) {
3173
3173
  for (var n = []; ; ) {
3174
- var i = Er(t, r);
3175
- if (i === void 0 || Cr(i) || Oi(i))
3174
+ var i = wr(t, r);
3175
+ if (i === void 0 || Sr(i) || Li(i))
3176
3176
  break;
3177
3177
  n.push(i), r += i >= 65536 ? 2 : 1;
3178
3178
  }
3179
- return nt.apply(void 0, n);
3179
+ return it.apply(void 0, n);
3180
3180
  };
3181
- var Ii = (
3181
+ var Pi = (
3182
3182
  /** @class */
3183
3183
  function() {
3184
3184
  function e(t, r) {
@@ -3202,14 +3202,14 @@ var Ii = (
3202
3202
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3203
3203
  var a = this.clonePosition();
3204
3204
  this.bump(), i.push({
3205
- type: w.pound,
3206
- location: y(a, this.clonePosition())
3205
+ type: C.pound,
3206
+ location: v(a, this.clonePosition())
3207
3207
  });
3208
3208
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3209
3209
  if (n)
3210
3210
  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)) {
3211
+ return this.error(g.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
3212
+ } else if (o === 60 && !this.ignoreTag && st(this.peek() || 0)) {
3213
3213
  var s = this.parseTag(t, r);
3214
3214
  if (s.err)
3215
3215
  return s;
@@ -3230,9 +3230,9 @@ var Ii = (
3230
3230
  if (this.bumpSpace(), this.bumpIf("/>"))
3231
3231
  return {
3232
3232
  val: {
3233
- type: w.literal,
3233
+ type: C.literal,
3234
3234
  value: "<".concat(i, "/>"),
3235
- location: y(n, this.clonePosition())
3235
+ location: v(n, this.clonePosition())
3236
3236
  },
3237
3237
  err: null
3238
3238
  };
@@ -3242,25 +3242,25 @@ var Ii = (
3242
3242
  return o;
3243
3243
  var s = o.val, a = this.clonePosition();
3244
3244
  if (this.bumpIf("</")) {
3245
- if (this.isEOF() || !ot(this.char()))
3246
- return this.error(v.INVALID_TAG, y(a, this.clonePosition()));
3245
+ if (this.isEOF() || !st(this.char()))
3246
+ return this.error(g.INVALID_TAG, v(a, this.clonePosition()));
3247
3247
  var u = this.clonePosition(), l = this.parseTagName();
3248
- return i !== l ? this.error(v.UNMATCHED_CLOSING_TAG, y(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3248
+ return i !== l ? this.error(g.UNMATCHED_CLOSING_TAG, v(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3249
3249
  val: {
3250
- type: w.tag,
3250
+ type: C.tag,
3251
3251
  value: i,
3252
3252
  children: s,
3253
- location: y(n, this.clonePosition())
3253
+ location: v(n, this.clonePosition())
3254
3254
  },
3255
3255
  err: null
3256
- } : this.error(v.INVALID_TAG, y(a, this.clonePosition())));
3256
+ } : this.error(g.INVALID_TAG, v(a, this.clonePosition())));
3257
3257
  } else
3258
- return this.error(v.UNCLOSED_TAG, y(n, this.clonePosition()));
3258
+ return this.error(g.UNCLOSED_TAG, v(n, this.clonePosition()));
3259
3259
  } else
3260
- return this.error(v.INVALID_TAG, y(n, this.clonePosition()));
3260
+ return this.error(g.INVALID_TAG, v(n, this.clonePosition()));
3261
3261
  }, e.prototype.parseTagName = function() {
3262
3262
  var t = this.offset();
3263
- for (this.bump(); !this.isEOF() && Pi(this.char()); )
3263
+ for (this.bump(); !this.isEOF() && Mi(this.char()); )
3264
3264
  this.bump();
3265
3265
  return this.message.slice(t, this.offset());
3266
3266
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3282,14 +3282,14 @@ var Ii = (
3282
3282
  }
3283
3283
  break;
3284
3284
  }
3285
- var u = y(n, this.clonePosition());
3285
+ var u = v(n, this.clonePosition());
3286
3286
  return {
3287
- val: { type: w.literal, value: i, location: u },
3287
+ val: { type: C.literal, value: i, location: u },
3288
3288
  err: null
3289
3289
  };
3290
3290
  }, e.prototype.tryParseLeftAngleBracket = function() {
3291
3291
  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;
3292
+ !Oi(this.peek() || 0)) ? (this.bump(), "<") : null;
3293
3293
  }, e.prototype.tryParseQuote = function(t) {
3294
3294
  if (this.isEOF() || this.char() !== 39)
3295
3295
  return null;
@@ -3323,49 +3323,49 @@ var Ii = (
3323
3323
  r.push(n);
3324
3324
  this.bump();
3325
3325
  }
3326
- return nt.apply(void 0, r);
3326
+ return it.apply(void 0, r);
3327
3327
  }, e.prototype.tryParseUnquoted = function(t, r) {
3328
3328
  if (this.isEOF())
3329
3329
  return null;
3330
3330
  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));
3331
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), it(n));
3332
3332
  }, e.prototype.parseArgument = function(t, r) {
3333
3333
  var n = this.clonePosition();
3334
3334
  if (this.bump(), this.bumpSpace(), this.isEOF())
3335
- return this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
3335
+ return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
3336
3336
  if (this.char() === 125)
3337
- return this.bump(), this.error(v.EMPTY_ARGUMENT, y(n, this.clonePosition()));
3337
+ return this.bump(), this.error(g.EMPTY_ARGUMENT, v(n, this.clonePosition()));
3338
3338
  var i = this.parseIdentifierIfPossible().value;
3339
3339
  if (!i)
3340
- return this.error(v.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
3340
+ return this.error(g.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3341
3341
  if (this.bumpSpace(), this.isEOF())
3342
- return this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
3342
+ return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
3343
3343
  switch (this.char()) {
3344
3344
  case 125:
3345
3345
  return this.bump(), {
3346
3346
  val: {
3347
- type: w.argument,
3347
+ type: C.argument,
3348
3348
  // value does not include the opening and closing braces.
3349
3349
  value: i,
3350
- location: y(n, this.clonePosition())
3350
+ location: v(n, this.clonePosition())
3351
3351
  },
3352
3352
  err: null
3353
3353
  };
3354
3354
  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);
3355
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3356
3356
  default:
3357
- return this.error(v.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
3357
+ return this.error(g.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3358
3358
  }
3359
3359
  }, e.prototype.parseIdentifierIfPossible = function() {
3360
- var t = this.clonePosition(), r = this.offset(), n = it(this.message, r), i = r + n.length;
3360
+ var t = this.clonePosition(), r = this.offset(), n = ot(this.message, r), i = r + n.length;
3361
3361
  this.bumpTo(i);
3362
- var o = this.clonePosition(), s = y(t, o);
3362
+ var o = this.clonePosition(), s = v(t, o);
3363
3363
  return { value: n, location: s };
3364
3364
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3365
3365
  var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, u = this.clonePosition();
3366
3366
  switch (a) {
3367
3367
  case "":
3368
- return this.error(v.EXPECT_ARGUMENT_TYPE, y(s, u));
3368
+ return this.error(g.EXPECT_ARGUMENT_TYPE, v(s, u));
3369
3369
  case "number":
3370
3370
  case "date":
3371
3371
  case "time": {
@@ -3376,44 +3376,44 @@ var Ii = (
3376
3376
  var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3377
3377
  if (c.err)
3378
3378
  return c;
3379
- var f = Ai(c.val);
3379
+ var f = Bi(c.val);
3380
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());
3381
+ return this.error(g.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
3382
+ var b = v(h, this.clonePosition());
3383
3383
  l = { style: f, styleLocation: b };
3384
3384
  }
3385
3385
  var d = this.tryParseArgumentClose(i);
3386
3386
  if (d.err)
3387
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));
3388
+ var m = v(i, this.clonePosition());
3389
+ if (l && Nt(l == null ? void 0 : l.style, "::", 0)) {
3390
+ var x = Ii(l.style.slice(2));
3391
3391
  if (a === "number") {
3392
- var c = this.parseNumberSkeletonFromString(E, l.styleLocation);
3392
+ var c = this.parseNumberSkeletonFromString(x, l.styleLocation);
3393
3393
  return c.err ? c : {
3394
- val: { type: w.number, value: n, location: m, style: c.val },
3394
+ val: { type: C.number, value: n, location: m, style: c.val },
3395
3395
  err: null
3396
3396
  };
3397
3397
  } 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));
3398
+ if (x.length === 0)
3399
+ return this.error(g.EXPECT_DATE_TIME_SKELETON, m);
3400
+ var O = x;
3401
+ this.locale && (O = bi(x, this.locale));
3402
3402
  var f = {
3403
- type: ne.dateTime,
3404
- pattern: P,
3403
+ type: ie.dateTime,
3404
+ pattern: O,
3405
3405
  location: l.styleLocation,
3406
- parsedOptions: this.shouldParseSkeletons ? ai(P) : {}
3407
- }, A = a === "date" ? w.date : w.time;
3406
+ parsedOptions: this.shouldParseSkeletons ? li(O) : {}
3407
+ }, I = a === "date" ? C.date : C.time;
3408
3408
  return {
3409
- val: { type: A, value: n, location: m, style: f },
3409
+ val: { type: I, value: n, location: m, style: f },
3410
3410
  err: null
3411
3411
  };
3412
3412
  }
3413
3413
  }
3414
3414
  return {
3415
3415
  val: {
3416
- type: a === "number" ? w.number : a === "date" ? w.date : w.time,
3416
+ type: a === "number" ? C.number : a === "date" ? C.date : C.time,
3417
3417
  value: n,
3418
3418
  location: m,
3419
3419
  style: (o = l == null ? void 0 : l.style) !== null && o !== void 0 ? o : null
@@ -3424,52 +3424,52 @@ var Ii = (
3424
3424
  case "plural":
3425
3425
  case "selectordinal":
3426
3426
  case "select": {
3427
- var I = this.clonePosition();
3427
+ var B = this.clonePosition();
3428
3428
  if (this.bumpSpace(), !this.bumpIf(","))
3429
- return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, y(I, Ce({}, I)));
3429
+ return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS, v(B, Se({}, B)));
3430
3430
  this.bumpSpace();
3431
- var L = this.parseIdentifierIfPossible(), C = 0;
3432
- if (a !== "select" && L.value === "offset") {
3431
+ var N = this.parseIdentifierIfPossible(), S = 0;
3432
+ if (a !== "select" && N.value === "offset") {
3433
3433
  if (!this.bumpIf(":"))
3434
- return this.error(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
3434
+ return this.error(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
3435
3435
  this.bumpSpace();
3436
- var c = this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3436
+ var c = this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3437
3437
  if (c.err)
3438
3438
  return c;
3439
- this.bumpSpace(), L = this.parseIdentifierIfPossible(), C = c.val;
3439
+ this.bumpSpace(), N = this.parseIdentifierIfPossible(), S = c.val;
3440
3440
  }
3441
- var R = this.tryParsePluralOrSelectOptions(t, a, r, L);
3442
- if (R.err)
3443
- return R;
3441
+ var k = this.tryParsePluralOrSelectOptions(t, a, r, N);
3442
+ if (k.err)
3443
+ return k;
3444
3444
  var d = this.tryParseArgumentClose(i);
3445
3445
  if (d.err)
3446
3446
  return d;
3447
- var g = y(i, this.clonePosition());
3447
+ var E = v(i, this.clonePosition());
3448
3448
  return a === "select" ? {
3449
3449
  val: {
3450
- type: w.select,
3450
+ type: C.select,
3451
3451
  value: n,
3452
- options: Nt(R.val),
3453
- location: g
3452
+ options: Rt(k.val),
3453
+ location: E
3454
3454
  },
3455
3455
  err: null
3456
3456
  } : {
3457
3457
  val: {
3458
- type: w.plural,
3458
+ type: C.plural,
3459
3459
  value: n,
3460
- options: Nt(R.val),
3461
- offset: C,
3460
+ options: Rt(k.val),
3461
+ offset: S,
3462
3462
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3463
- location: g
3463
+ location: E
3464
3464
  },
3465
3465
  err: null
3466
3466
  };
3467
3467
  }
3468
3468
  default:
3469
- return this.error(v.INVALID_ARGUMENT_TYPE, y(s, u));
3469
+ return this.error(g.INVALID_ARGUMENT_TYPE, v(s, u));
3470
3470
  }
3471
3471
  }, 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 });
3472
+ return this.isEOF() || this.char() !== 125 ? this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, v(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3473
3473
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3474
3474
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3475
3475
  var n = this.char();
@@ -3478,7 +3478,7 @@ var Ii = (
3478
3478
  this.bump();
3479
3479
  var i = this.clonePosition();
3480
3480
  if (!this.bumpUntil("'"))
3481
- return this.error(v.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, y(i, this.clonePosition()));
3481
+ return this.error(g.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, v(i, this.clonePosition()));
3482
3482
  this.bump();
3483
3483
  break;
3484
3484
  }
@@ -3508,16 +3508,16 @@ var Ii = (
3508
3508
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3509
3509
  var n = [];
3510
3510
  try {
3511
- n = li(t);
3511
+ n = ci(t);
3512
3512
  } catch (i) {
3513
- return this.error(v.INVALID_NUMBER_SKELETON, r);
3513
+ return this.error(g.INVALID_NUMBER_SKELETON, r);
3514
3514
  }
3515
3515
  return {
3516
3516
  val: {
3517
- type: ne.number,
3517
+ type: ie.number,
3518
3518
  tokens: n,
3519
3519
  location: r,
3520
- parsedOptions: this.shouldParseSkeletons ? pi(n) : {}
3520
+ parsedOptions: this.shouldParseSkeletons ? mi(n) : {}
3521
3521
  },
3522
3522
  err: null
3523
3523
  };
@@ -3526,19 +3526,19 @@ var Ii = (
3526
3526
  if (l.length === 0) {
3527
3527
  var c = this.clonePosition();
3528
3528
  if (r !== "select" && this.bumpIf("=")) {
3529
- var f = this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_SELECTOR, v.INVALID_PLURAL_ARGUMENT_SELECTOR);
3529
+ var f = this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_SELECTOR, g.INVALID_PLURAL_ARGUMENT_SELECTOR);
3530
3530
  if (f.err)
3531
3531
  return f;
3532
- h = y(c, this.clonePosition()), l = this.message.slice(c.offset, this.offset());
3532
+ h = v(c, this.clonePosition()), l = this.message.slice(c.offset, this.offset());
3533
3533
  } else
3534
3534
  break;
3535
3535
  }
3536
3536
  if (u.has(l))
3537
- return this.error(r === "select" ? v.DUPLICATE_SELECT_ARGUMENT_SELECTOR : v.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3537
+ return this.error(r === "select" ? g.DUPLICATE_SELECT_ARGUMENT_SELECTOR : g.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3538
3538
  l === "other" && (s = !0), this.bumpSpace();
3539
3539
  var b = this.clonePosition();
3540
3540
  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()));
3541
+ return this.error(r === "select" ? g.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : g.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
3542
3542
  var d = this.parseMessage(t + 1, r, n);
3543
3543
  if (d.err)
3544
3544
  return d;
@@ -3549,11 +3549,11 @@ var Ii = (
3549
3549
  l,
3550
3550
  {
3551
3551
  value: d.val,
3552
- location: y(b, this.clonePosition())
3552
+ location: v(b, this.clonePosition())
3553
3553
  }
3554
3554
  ]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, h = o.location;
3555
3555
  }
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 };
3556
+ return a.length === 0 ? this.error(r === "select" ? g.EXPECT_SELECT_ARGUMENT_SELECTOR : g.EXPECT_PLURAL_ARGUMENT_SELECTOR, v(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(g.MISSING_OTHER_CLAUSE, v(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3557
3557
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3558
3558
  var n = 1, i = this.clonePosition();
3559
3559
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3564,8 +3564,8 @@ var Ii = (
3564
3564
  else
3565
3565
  break;
3566
3566
  }
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);
3567
+ var u = v(i, this.clonePosition());
3568
+ return o ? (s *= n, Hi(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3569
3569
  }, e.prototype.offset = function() {
3570
3570
  return this.position.offset;
3571
3571
  }, e.prototype.isEOF = function() {
@@ -3580,7 +3580,7 @@ var Ii = (
3580
3580
  var t = this.position.offset;
3581
3581
  if (t >= this.message.length)
3582
3582
  throw Error("out of bound");
3583
- var r = Er(this.message, t);
3583
+ var r = wr(this.message, t);
3584
3584
  if (r === void 0)
3585
3585
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3586
3586
  return r;
@@ -3599,7 +3599,7 @@ var Ii = (
3599
3599
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
3600
3600
  }
3601
3601
  }, e.prototype.bumpIf = function(t) {
3602
- if (Lt(this.message, t, this.offset())) {
3602
+ if (Nt(this.message, t, this.offset())) {
3603
3603
  for (var r = 0; r < t.length; r++)
3604
3604
  this.bump();
3605
3605
  return !0;
@@ -3621,7 +3621,7 @@ var Ii = (
3621
3621
  break;
3622
3622
  }
3623
3623
  }, e.prototype.bumpSpace = function() {
3624
- for (; !this.isEOF() && Cr(this.char()); )
3624
+ for (; !this.isEOF() && Sr(this.char()); )
3625
3625
  this.bump();
3626
3626
  }, e.prototype.peek = function() {
3627
3627
  if (this.isEOF())
@@ -3631,47 +3631,47 @@ var Ii = (
3631
3631
  }, e;
3632
3632
  }()
3633
3633
  );
3634
- function ot(e) {
3634
+ function st(e) {
3635
3635
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3636
3636
  }
3637
- function Bi(e) {
3638
- return ot(e) || e === 47;
3637
+ function Oi(e) {
3638
+ return st(e) || e === 47;
3639
3639
  }
3640
- function Pi(e) {
3640
+ function Mi(e) {
3641
3641
  return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
3642
3642
  }
3643
- function Cr(e) {
3643
+ function Sr(e) {
3644
3644
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3645
3645
  }
3646
- function Oi(e) {
3646
+ function Li(e) {
3647
3647
  return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
3648
3648
  }
3649
- function st(e) {
3649
+ function at(e) {
3650
3650
  e.forEach(function(t) {
3651
- if (delete t.location, dr(t) || mr(t))
3651
+ if (delete t.location, mr(t) || br(t))
3652
3652
  for (var r in t.options)
3653
- delete t.options[r].location, st(t.options[r].value);
3653
+ delete t.options[r].location, at(t.options[r].value);
3654
3654
  else
3655
- cr(t) && gr(t.style) || (fr(t) || pr(t)) && tt(t.style) ? delete t.style.location : br(t) && st(t.children);
3655
+ fr(t) && vr(t.style) || (pr(t) || dr(t)) && rt(t.style) ? delete t.style.location : gr(t) && at(t.children);
3656
3656
  });
3657
3657
  }
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();
3658
+ function Ni(e, t) {
3659
+ t === void 0 && (t = {}), t = Se({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3660
+ var r = new Pi(e, t).parse();
3661
3661
  if (r.err) {
3662
- var n = SyntaxError(v[r.err.kind]);
3662
+ var n = SyntaxError(g[r.err.kind]);
3663
3663
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3664
3664
  }
3665
- return t != null && t.captureLocation || st(r.val), r.val;
3665
+ return t != null && t.captureLocation || at(r.val), r.val;
3666
3666
  }
3667
- var ie;
3667
+ var oe;
3668
3668
  (function(e) {
3669
3669
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3670
- })(ie || (ie = {}));
3671
- var Pe = (
3670
+ })(oe || (oe = {}));
3671
+ var Oe = (
3672
3672
  /** @class */
3673
3673
  function(e) {
3674
- Be(t, e);
3674
+ Pe(t, e);
3675
3675
  function t(r, n, i) {
3676
3676
  var o = e.call(this, r) || this;
3677
3677
  return o.code = n, o.originalMessage = i, o;
@@ -3680,155 +3680,155 @@ var Pe = (
3680
3680
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3681
3681
  }, t;
3682
3682
  }(Error)
3683
- ), Ut = (
3683
+ ), Dt = (
3684
3684
  /** @class */
3685
3685
  function(e) {
3686
- Be(t, e);
3686
+ Pe(t, e);
3687
3687
  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;
3688
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), oe.INVALID_VALUE, o) || this;
3689
3689
  }
3690
3690
  return t;
3691
- }(Pe)
3692
- ), Li = (
3691
+ }(Oe)
3692
+ ), Ri = (
3693
3693
  /** @class */
3694
3694
  function(e) {
3695
- Be(t, e);
3695
+ Pe(t, e);
3696
3696
  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;
3697
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), oe.INVALID_VALUE, i) || this;
3698
3698
  }
3699
3699
  return t;
3700
- }(Pe)
3701
- ), Ni = (
3700
+ }(Oe)
3701
+ ), Ui = (
3702
3702
  /** @class */
3703
3703
  function(e) {
3704
- Be(t, e);
3704
+ Pe(t, e);
3705
3705
  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;
3706
+ 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
3707
  }
3708
3708
  return t;
3709
- }(Pe)
3710
- ), N;
3709
+ }(Oe)
3710
+ ), R;
3711
3711
  (function(e) {
3712
3712
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3713
- })(N || (N = {}));
3714
- function Ri(e) {
3713
+ })(R || (R = {}));
3714
+ function Di(e) {
3715
3715
  return e.length < 2 ? e : e.reduce(function(t, r) {
3716
3716
  var n = t[t.length - 1];
3717
- return !n || n.type !== N.literal || r.type !== N.literal ? t.push(r) : n.value += r.value, t;
3717
+ return !n || n.type !== R.literal || r.type !== R.literal ? t.push(r) : n.value += r.value, t;
3718
3718
  }, []);
3719
3719
  }
3720
- function Ui(e) {
3720
+ function $i(e) {
3721
3721
  return typeof e == "function";
3722
3722
  }
3723
- function xe(e, t, r, n, i, o, s) {
3724
- if (e.length === 1 && Bt(e[0]))
3723
+ function Ee(e, t, r, n, i, o, s) {
3724
+ if (e.length === 1 && Pt(e[0]))
3725
3725
  return [
3726
3726
  {
3727
- type: N.literal,
3727
+ type: R.literal,
3728
3728
  value: e[0].value
3729
3729
  }
3730
3730
  ];
3731
3731
  for (var a = [], u = 0, l = e; u < l.length; u++) {
3732
3732
  var h = l[u];
3733
- if (Bt(h)) {
3733
+ if (Pt(h)) {
3734
3734
  a.push({
3735
- type: N.literal,
3735
+ type: R.literal,
3736
3736
  value: h.value
3737
3737
  });
3738
3738
  continue;
3739
3739
  }
3740
- if (oi(h)) {
3740
+ if (ai(h)) {
3741
3741
  typeof o == "number" && a.push({
3742
- type: N.literal,
3742
+ type: R.literal,
3743
3743
  value: r.getNumberFormat(t).format(o)
3744
3744
  });
3745
3745
  continue;
3746
3746
  }
3747
3747
  var c = h.value;
3748
3748
  if (!(i && c in i))
3749
- throw new Ni(c, s);
3749
+ throw new Ui(c, s);
3750
3750
  var f = i[c];
3751
- if (ii(h)) {
3751
+ if (si(h)) {
3752
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,
3753
+ type: typeof f == "string" ? R.literal : R.object,
3754
3754
  value: f
3755
3755
  });
3756
3756
  continue;
3757
3757
  }
3758
- if (fr(h)) {
3759
- var b = typeof h.style == "string" ? n.date[h.style] : tt(h.style) ? h.style.parsedOptions : void 0;
3758
+ if (pr(h)) {
3759
+ var b = typeof h.style == "string" ? n.date[h.style] : rt(h.style) ? h.style.parsedOptions : void 0;
3760
3760
  a.push({
3761
- type: N.literal,
3761
+ type: R.literal,
3762
3762
  value: r.getDateTimeFormat(t, b).format(f)
3763
3763
  });
3764
3764
  continue;
3765
3765
  }
3766
- if (pr(h)) {
3767
- var b = typeof h.style == "string" ? n.time[h.style] : tt(h.style) ? h.style.parsedOptions : n.time.medium;
3766
+ if (dr(h)) {
3767
+ var b = typeof h.style == "string" ? n.time[h.style] : rt(h.style) ? h.style.parsedOptions : n.time.medium;
3768
3768
  a.push({
3769
- type: N.literal,
3769
+ type: R.literal,
3770
3770
  value: r.getDateTimeFormat(t, b).format(f)
3771
3771
  });
3772
3772
  continue;
3773
3773
  }
3774
- if (cr(h)) {
3775
- var b = typeof h.style == "string" ? n.number[h.style] : gr(h.style) ? h.style.parsedOptions : void 0;
3774
+ if (fr(h)) {
3775
+ var b = typeof h.style == "string" ? n.number[h.style] : vr(h.style) ? h.style.parsedOptions : void 0;
3776
3776
  b && b.scale && (f = f * (b.scale || 1)), a.push({
3777
- type: N.literal,
3777
+ type: R.literal,
3778
3778
  value: r.getNumberFormat(t, b).format(f)
3779
3779
  });
3780
3780
  continue;
3781
3781
  }
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;
3782
+ if (gr(h)) {
3783
+ var d = h.children, m = h.value, x = i[m];
3784
+ if (!$i(x))
3785
+ throw new Ri(m, "function", s);
3786
+ var O = Ee(d, t, r, n, i, o), I = x(O.map(function(S) {
3787
+ return S.value;
3788
3788
  }));
3789
- Array.isArray(A) || (A = [A]), a.push.apply(a, A.map(function(C) {
3789
+ Array.isArray(I) || (I = [I]), a.push.apply(a, I.map(function(S) {
3790
3790
  return {
3791
- type: typeof C == "string" ? N.literal : N.object,
3792
- value: C
3791
+ type: typeof S == "string" ? R.literal : R.object,
3792
+ value: S
3793
3793
  };
3794
3794
  }));
3795
3795
  }
3796
- if (dr(h)) {
3797
- var I = h.options[f] || h.options.other;
3798
- if (!I)
3799
- throw new Ut(h.value, f, Object.keys(h.options), s);
3800
- a.push.apply(a, xe(I.value, t, r, n, i));
3796
+ if (mr(h)) {
3797
+ var B = h.options[f] || h.options.other;
3798
+ if (!B)
3799
+ throw new Dt(h.value, f, Object.keys(h.options), s);
3800
+ a.push.apply(a, Ee(B.value, t, r, n, i));
3801
3801
  continue;
3802
3802
  }
3803
- if (mr(h)) {
3804
- var I = h.options["=".concat(f)];
3805
- if (!I) {
3803
+ if (br(h)) {
3804
+ var B = h.options["=".concat(f)];
3805
+ if (!B) {
3806
3806
  if (!Intl.PluralRules)
3807
- throw new Pe(`Intl.PluralRules is not available in this environment.
3807
+ throw new Oe(`Intl.PluralRules is not available in this environment.
3808
3808
  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));
3811
- I = h.options[L] || h.options.other;
3809
+ `, oe.MISSING_INTL_API, s);
3810
+ var N = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3811
+ B = h.options[N] || h.options.other;
3812
3812
  }
3813
- 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)));
3813
+ if (!B)
3814
+ throw new Dt(h.value, f, Object.keys(h.options), s);
3815
+ a.push.apply(a, Ee(B.value, t, r, n, i, f - (h.offset || 0)));
3816
3816
  continue;
3817
3817
  }
3818
3818
  }
3819
- return Ri(a);
3819
+ return Di(a);
3820
3820
  }
3821
- function Di(e, t) {
3821
+ function Gi(e, t) {
3822
3822
  return t ? F(F(F({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3823
3823
  return r[n] = F(F({}, e[n]), t[n] || {}), r;
3824
3824
  }, {})) : e;
3825
3825
  }
3826
- function $i(e, t) {
3826
+ function ki(e, t) {
3827
3827
  return t ? Object.keys(e).reduce(function(r, n) {
3828
- return r[n] = Di(e[n], t[n]), r;
3828
+ return r[n] = Gi(e[n], t[n]), r;
3829
3829
  }, F({}, e)) : e;
3830
3830
  }
3831
- function Ve(e) {
3831
+ function We(e) {
3832
3832
  return {
3833
3833
  create: function() {
3834
3834
  return {
@@ -3842,39 +3842,39 @@ function Ve(e) {
3842
3842
  }
3843
3843
  };
3844
3844
  }
3845
- function Gi(e) {
3845
+ function Fi(e) {
3846
3846
  return e === void 0 && (e = {
3847
3847
  number: {},
3848
3848
  dateTime: {},
3849
3849
  pluralRules: {}
3850
3850
  }), {
3851
- getNumberFormat: ke(function() {
3851
+ getNumberFormat: Fe(function() {
3852
3852
  for (var t, r = [], n = 0; n < arguments.length; n++)
3853
3853
  r[n] = arguments[n];
3854
- return new ((t = Intl.NumberFormat).bind.apply(t, Ge([void 0], r, !1)))();
3854
+ return new ((t = Intl.NumberFormat).bind.apply(t, ke([void 0], r, !1)))();
3855
3855
  }, {
3856
- cache: Ve(e.number),
3857
- strategy: Fe.variadic
3856
+ cache: We(e.number),
3857
+ strategy: je.variadic
3858
3858
  }),
3859
- getDateTimeFormat: ke(function() {
3859
+ getDateTimeFormat: Fe(function() {
3860
3860
  for (var t, r = [], n = 0; n < arguments.length; n++)
3861
3861
  r[n] = arguments[n];
3862
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Ge([void 0], r, !1)))();
3862
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, ke([void 0], r, !1)))();
3863
3863
  }, {
3864
- cache: Ve(e.dateTime),
3865
- strategy: Fe.variadic
3864
+ cache: We(e.dateTime),
3865
+ strategy: je.variadic
3866
3866
  }),
3867
- getPluralRules: ke(function() {
3867
+ getPluralRules: Fe(function() {
3868
3868
  for (var t, r = [], n = 0; n < arguments.length; n++)
3869
3869
  r[n] = arguments[n];
3870
- return new ((t = Intl.PluralRules).bind.apply(t, Ge([void 0], r, !1)))();
3870
+ return new ((t = Intl.PluralRules).bind.apply(t, ke([void 0], r, !1)))();
3871
3871
  }, {
3872
- cache: Ve(e.pluralRules),
3873
- strategy: Fe.variadic
3872
+ cache: We(e.pluralRules),
3873
+ strategy: je.variadic
3874
3874
  })
3875
3875
  };
3876
3876
  }
3877
- var ki = (
3877
+ var ji = (
3878
3878
  /** @class */
3879
3879
  function() {
3880
3880
  function e(t, r, n, i) {
@@ -3889,11 +3889,11 @@ var ki = (
3889
3889
  if (l.length === 1)
3890
3890
  return l[0].value;
3891
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;
3892
+ return !c.length || f.type !== R.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3893
3893
  }, []);
3894
3894
  return h.length <= 1 ? h[0] || "" : h;
3895
3895
  }, this.formatToParts = function(u) {
3896
- return xe(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
3896
+ return Ee(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
3897
3897
  }, this.resolvedOptions = function() {
3898
3898
  var u;
3899
3899
  return {
@@ -3906,13 +3906,13 @@ var ki = (
3906
3906
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3907
3907
  var s = i || {};
3908
3908
  s.formatters;
3909
- var a = Yn(s, ["formatters"]);
3909
+ var a = Jn(s, ["formatters"]);
3910
3910
  this.ast = e.__parse(t, F(F({}, a), { locale: this.resolvedLocale }));
3911
3911
  } else
3912
3912
  this.ast = t;
3913
3913
  if (!Array.isArray(this.ast))
3914
3914
  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);
3915
+ this.formats = ki(e.formats, n), this.formatters = i && i.formatters || Fi(this.formatterCache);
3916
3916
  }
3917
3917
  return Object.defineProperty(e, "defaultLocale", {
3918
3918
  get: function() {
@@ -3925,7 +3925,7 @@ var ki = (
3925
3925
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3926
3926
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3927
3927
  }
3928
- }, e.__parse = Mi, e.formats = {
3928
+ }, e.__parse = Ni, e.formats = {
3929
3929
  number: {
3930
3930
  integer: {
3931
3931
  maximumFractionDigits: 0
@@ -3986,7 +3986,7 @@ var ki = (
3986
3986
  }, e;
3987
3987
  }()
3988
3988
  );
3989
- function Fi(e, t) {
3989
+ function Vi(e, t) {
3990
3990
  if (t == null)
3991
3991
  return;
3992
3992
  if (t in e)
@@ -4007,92 +4007,92 @@ function Fi(e, t) {
4007
4007
  n = void 0;
4008
4008
  return n;
4009
4009
  }
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) => {
4010
+ const W = {}, Wi = (e, t, r) => r && (t in W || (W[t] = {}), e in W[t] || (W[t][e] = r), r), Tr = (e, t) => {
4011
4011
  if (t == null)
4012
4012
  return;
4013
4013
  if (t in W && e in W[t])
4014
4014
  return W[t][e];
4015
- const r = Oe(t);
4015
+ const r = Me(t);
4016
4016
  for (let n = 0; n < r.length; n++) {
4017
- const i = r[n], o = Wi(i, e);
4017
+ const i = r[n], o = zi(i, e);
4018
4018
  if (o)
4019
- return ji(e, t, o);
4019
+ return Wi(e, t, o);
4020
4020
  }
4021
4021
  };
4022
- let ct;
4023
- const ae = Ie({});
4024
- function Vi(e) {
4025
- return ct[e] || null;
4022
+ let ft;
4023
+ const ue = Be({});
4024
+ function Xi(e) {
4025
+ return ft[e] || null;
4026
4026
  }
4027
- function Tr(e) {
4028
- return e in ct;
4027
+ function Hr(e) {
4028
+ return e in ft;
4029
4029
  }
4030
- function Wi(e, t) {
4031
- if (!Tr(e))
4030
+ function zi(e, t) {
4031
+ if (!Hr(e))
4032
4032
  return null;
4033
- const r = Vi(e);
4034
- return Fi(r, t);
4033
+ const r = Xi(e);
4034
+ return Vi(r, t);
4035
4035
  }
4036
- function Xi(e) {
4036
+ function Zi(e) {
4037
4037
  if (e == null)
4038
4038
  return;
4039
- const t = Oe(e);
4039
+ const t = Me(e);
4040
4040
  for (let r = 0; r < t.length; r++) {
4041
4041
  const n = t[r];
4042
- if (Tr(n))
4042
+ if (Hr(n))
4043
4043
  return n;
4044
4044
  }
4045
4045
  }
4046
- function Hr(e, ...t) {
4047
- delete W[e], ae.update((r) => (r[e] = Qn.all([r[e] || {}, ...t]), r));
4046
+ function Ar(e, ...t) {
4047
+ delete W[e], ue.update((r) => (r[e] = qn.all([r[e] || {}, ...t]), r));
4048
4048
  }
4049
- se(
4050
- [ae],
4049
+ ae(
4050
+ [ue],
4051
4051
  ([e]) => Object.keys(e)
4052
4052
  );
4053
- ae.subscribe((e) => ct = e);
4054
- const Ee = {};
4055
- function zi(e, t) {
4056
- Ee[e].delete(t), Ee[e].size === 0 && delete Ee[e];
4053
+ ue.subscribe((e) => ft = e);
4054
+ const we = {};
4055
+ function Qi(e, t) {
4056
+ we[e].delete(t), we[e].size === 0 && delete we[e];
4057
4057
  }
4058
- function Ar(e) {
4059
- return Ee[e];
4058
+ function Ir(e) {
4059
+ return we[e];
4060
4060
  }
4061
- function Zi(e) {
4062
- return Oe(e).map((t) => {
4063
- const r = Ar(t);
4061
+ function Yi(e) {
4062
+ return Me(e).map((t) => {
4063
+ const r = Ir(t);
4064
4064
  return [t, r ? [...r] : []];
4065
4065
  }).filter(([, t]) => t.length > 0);
4066
4066
  }
4067
- function at(e) {
4068
- return e == null ? !1 : Oe(e).some(
4067
+ function ut(e) {
4068
+ return e == null ? !1 : Me(e).some(
4069
4069
  (t) => {
4070
4070
  var r;
4071
- return (r = Ar(t)) == null ? void 0 : r.size;
4071
+ return (r = Ir(t)) == null ? void 0 : r.size;
4072
4072
  }
4073
4073
  );
4074
4074
  }
4075
- function Qi(e, t) {
4075
+ function qi(e, t) {
4076
4076
  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(
4077
+ t.map((n) => (Qi(e, n), n().then((i) => i.default || i)))
4078
+ ).then((n) => Ar(e, ...n));
4079
+ }
4080
+ const he = {};
4081
+ function Br(e) {
4082
+ if (!ut(e))
4083
+ return e in he ? he[e] : Promise.resolve();
4084
+ const t = Yi(e);
4085
+ return he[e] = Promise.all(
4086
4086
  t.map(
4087
- ([r, n]) => Qi(r, n)
4087
+ ([r, n]) => qi(r, n)
4088
4088
  )
4089
4089
  ).then(() => {
4090
- if (at(e))
4091
- return Ir(e);
4092
- delete le[e];
4093
- }), le[e];
4090
+ if (ut(e))
4091
+ return Br(e);
4092
+ delete he[e];
4093
+ }), he[e];
4094
4094
  }
4095
- const Yi = {
4095
+ const Ji = {
4096
4096
  number: {
4097
4097
  scientific: { notation: "scientific" },
4098
4098
  engineering: { notation: "engineering" },
@@ -4121,135 +4121,135 @@ const Yi = {
4121
4121
  timeZoneName: "short"
4122
4122
  }
4123
4123
  }
4124
- }, qi = {
4124
+ }, Ki = {
4125
4125
  fallbackLocale: null,
4126
4126
  loadingDelay: 200,
4127
- formats: Yi,
4127
+ formats: Ji,
4128
4128
  warnOnMissingMessages: !0,
4129
4129
  handleMissingMessage: void 0,
4130
4130
  ignoreTag: !0
4131
- }, Ji = qi;
4132
- function oe() {
4133
- return Ji;
4131
+ }, eo = Ki;
4132
+ function se() {
4133
+ return eo;
4134
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) => {
4135
+ const Xe = Be(!1);
4136
+ var to = Object.defineProperty, ro = Object.defineProperties, no = Object.getOwnPropertyDescriptors, $t = Object.getOwnPropertySymbols, io = Object.prototype.hasOwnProperty, oo = Object.prototype.propertyIsEnumerable, Gt = (e, t, r) => t in e ? to(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, so = (e, t) => {
4137
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]);
4138
+ io.call(t, r) && Gt(e, r, t[r]);
4139
+ if ($t)
4140
+ for (var r of $t(t))
4141
+ oo.call(t, r) && Gt(e, r, t[r]);
4142
4142
  return e;
4143
- }, oo = (e, t) => eo(e, to(t));
4144
- let ut;
4145
- const Se = Ie(null);
4146
- function Gt(e) {
4143
+ }, ao = (e, t) => ro(e, no(t));
4144
+ let lt;
4145
+ const Te = Be(null);
4146
+ function kt(e) {
4147
4147
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4148
4148
  }
4149
- function Oe(e, t = oe().fallbackLocale) {
4150
- const r = Gt(e);
4151
- return t ? [.../* @__PURE__ */ new Set([...r, ...Gt(t)])] : r;
4149
+ function Me(e, t = se().fallbackLocale) {
4150
+ const r = kt(e);
4151
+ return t ? [.../* @__PURE__ */ new Set([...r, ...kt(t)])] : r;
4152
4152
  }
4153
4153
  function Z() {
4154
- return ut != null ? ut : void 0;
4154
+ return lt != null ? lt : void 0;
4155
4155
  }
4156
- Se.subscribe((e) => {
4157
- ut = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4156
+ Te.subscribe((e) => {
4157
+ lt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4158
4158
  });
4159
- const so = (e) => {
4160
- if (e && Xi(e) && at(e)) {
4161
- const { loadingDelay: t } = oe();
4159
+ const uo = (e) => {
4160
+ if (e && Zi(e) && ut(e)) {
4161
+ const { loadingDelay: t } = se();
4162
4162
  let r;
4163
4163
  return typeof window != "undefined" && Z() != null && t ? r = window.setTimeout(
4164
- () => We.set(!0),
4164
+ () => Xe.set(!0),
4165
4165
  t
4166
- ) : We.set(!0), Ir(e).then(() => {
4167
- Se.set(e);
4166
+ ) : Xe.set(!0), Br(e).then(() => {
4167
+ Te.set(e);
4168
4168
  }).finally(() => {
4169
- clearTimeout(r), We.set(!1);
4169
+ clearTimeout(r), Xe.set(!1);
4170
4170
  });
4171
4171
  }
4172
- return Se.set(e);
4173
- }, X = oo(io({}, Se), {
4174
- set: so
4175
- }), Me = (e) => {
4172
+ return Te.set(e);
4173
+ }, X = ao(so({}, Te), {
4174
+ set: uo
4175
+ }), Le = (e) => {
4176
4176
  const t = /* @__PURE__ */ Object.create(null);
4177
4177
  return (n) => {
4178
4178
  const i = JSON.stringify(n);
4179
4179
  return i in t ? t[i] : t[i] = e(n);
4180
4180
  };
4181
4181
  };
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) => {
4182
+ var lo = Object.defineProperty, He = Object.getOwnPropertySymbols, Pr = Object.prototype.hasOwnProperty, Or = Object.prototype.propertyIsEnumerable, Ft = (e, t, r) => t in e ? lo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, pt = (e, t) => {
4183
4183
  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]);
4184
+ Pr.call(t, r) && Ft(e, r, t[r]);
4185
+ if (He)
4186
+ for (var r of He(t))
4187
+ Or.call(t, r) && Ft(e, r, t[r]);
4188
4188
  return e;
4189
- }, ue = (e, t) => {
4189
+ }, le = (e, t) => {
4190
4190
  var r = {};
4191
4191
  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]);
4192
+ Pr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4193
+ if (e != null && He)
4194
+ for (var n of He(e))
4195
+ t.indexOf(n) < 0 && Or.call(e, n) && (r[n] = e[n]);
4196
4196
  return r;
4197
4197
  };
4198
- const pe = (e, t) => {
4199
- const { formats: r } = oe();
4198
+ const de = (e, t) => {
4199
+ const { formats: r } = se();
4200
4200
  if (e in r && t in r[e])
4201
4201
  return r[e][t];
4202
4202
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4203
- }, uo = Me(
4203
+ }, ho = Le(
4204
4204
  (e) => {
4205
- var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
4205
+ var t = e, { locale: r, format: n } = t, i = le(t, ["locale", "format"]);
4206
4206
  if (r == null)
4207
4207
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4208
- return n && (i = pe("number", n)), new Intl.NumberFormat(r, i);
4208
+ return n && (i = de("number", n)), new Intl.NumberFormat(r, i);
4209
4209
  }
4210
- ), lo = Me(
4210
+ ), co = Le(
4211
4211
  (e) => {
4212
- var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
4212
+ var t = e, { locale: r, format: n } = t, i = le(t, ["locale", "format"]);
4213
4213
  if (r == null)
4214
4214
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4215
- return n ? i = pe("date", n) : Object.keys(i).length === 0 && (i = pe("date", "short")), new Intl.DateTimeFormat(r, i);
4215
+ return n ? i = de("date", n) : Object.keys(i).length === 0 && (i = de("date", "short")), new Intl.DateTimeFormat(r, i);
4216
4216
  }
4217
- ), ho = Me(
4217
+ ), fo = Le(
4218
4218
  (e) => {
4219
- var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
4219
+ var t = e, { locale: r, format: n } = t, i = le(t, ["locale", "format"]);
4220
4220
  if (r == null)
4221
4221
  throw new Error(
4222
4222
  '[svelte-i18n] A "locale" must be set to format time values'
4223
4223
  );
4224
- return n ? i = pe("time", n) : Object.keys(i).length === 0 && (i = pe("time", "short")), new Intl.DateTimeFormat(r, i);
4224
+ return n ? i = de("time", n) : Object.keys(i).length === 0 && (i = de("time", "short")), new Intl.DateTimeFormat(r, i);
4225
4225
  }
4226
- ), co = (e = {}) => {
4226
+ ), po = (e = {}) => {
4227
4227
  var t = e, {
4228
4228
  locale: r = Z()
4229
- } = t, n = ue(t, [
4229
+ } = t, n = le(t, [
4230
4230
  "locale"
4231
4231
  ]);
4232
- return uo(ft({ locale: r }, n));
4233
- }, fo = (e = {}) => {
4232
+ return ho(pt({ locale: r }, n));
4233
+ }, mo = (e = {}) => {
4234
4234
  var t = e, {
4235
4235
  locale: r = Z()
4236
- } = t, n = ue(t, [
4236
+ } = t, n = le(t, [
4237
4237
  "locale"
4238
4238
  ]);
4239
- return lo(ft({ locale: r }, n));
4240
- }, po = (e = {}) => {
4239
+ return co(pt({ locale: r }, n));
4240
+ }, bo = (e = {}) => {
4241
4241
  var t = e, {
4242
4242
  locale: r = Z()
4243
- } = t, n = ue(t, [
4243
+ } = t, n = le(t, [
4244
4244
  "locale"
4245
4245
  ]);
4246
- return ho(ft({ locale: r }, n));
4247
- }, mo = Me(
4246
+ return fo(pt({ locale: r }, n));
4247
+ }, go = Le(
4248
4248
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4249
- (e, t = Z()) => new ki(e, t, oe().formats, {
4250
- ignoreTag: oe().ignoreTag
4249
+ (e, t = Z()) => new ji(e, t, se().formats, {
4250
+ ignoreTag: se().ignoreTag
4251
4251
  })
4252
- ), bo = (e, t = {}) => {
4252
+ ), vo = (e, t = {}) => {
4253
4253
  var r, n, i, o;
4254
4254
  let s = t;
4255
4255
  typeof e == "object" && (s = e, e = s.id);
@@ -4262,9 +4262,9 @@ const pe = (e, t) => {
4262
4262
  throw new Error(
4263
4263
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4264
4264
  );
4265
- let h = Sr(e, u);
4265
+ let h = Tr(e, u);
4266
4266
  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;
4267
+ 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
4268
  else if (typeof h != "string")
4269
4269
  return console.warn(
4270
4270
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -4273,7 +4273,7 @@ const pe = (e, t) => {
4273
4273
  return h;
4274
4274
  let c = h;
4275
4275
  try {
4276
- c = mo(h, u).format(a);
4276
+ c = go(h, u).format(a);
4277
4277
  } catch (f) {
4278
4278
  f instanceof Error && console.warn(
4279
4279
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4281,33 +4281,34 @@ const pe = (e, t) => {
4281
4281
  );
4282
4282
  }
4283
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";
4284
+ }, yo = (e, t) => bo(t).format(e), _o = (e, t) => mo(t).format(e), xo = (e, t) => po(t).format(e), Eo = (e, t = Z()) => Tr(e, t);
4285
+ ae([X, ue], () => vo);
4286
+ ae([X], () => yo);
4287
+ ae([X], () => _o);
4288
+ ae([X], () => xo);
4289
+ ae([X, ue], () => Eo);
4290
+ window.emWidgets = { topic: Ln };
4291
+ const jt = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4292
4292
  String(Number.MAX_SAFE_INTEGER).length;
4293
- function xo({ withLocale: e, translations: t }) {
4293
+ function wo({ withLocale: e, translations: t }) {
4294
4294
  X.subscribe((r) => {
4295
- r == null && (ae.set(t), X.set(e));
4295
+ r == null && (ue.set(t), X.set(e));
4296
4296
  });
4297
4297
  }
4298
- function Eo(e, t) {
4299
- Hr(e, t);
4298
+ function Co(e, t) {
4299
+ Ar(e, t);
4300
4300
  }
4301
- function wo(e) {
4301
+ function So(e) {
4302
4302
  X.set(e);
4303
4303
  }
4304
- function Co(e, t) {
4304
+ const K = "__WIDGET_GLOBAL_STYLE_CACHE__";
4305
+ function To(e, t) {
4305
4306
  if (e) {
4306
4307
  const r = document.createElement("style");
4307
4308
  r.innerHTML = t, e.appendChild(r);
4308
4309
  }
4309
4310
  }
4310
- function So(e, t) {
4311
+ function Ho(e, t) {
4311
4312
  if (!e || !t)
4312
4313
  return;
4313
4314
  const r = new URL(t);
@@ -4318,52 +4319,80 @@ function So(e, t) {
4318
4319
  console.error("There was an error while trying to load client styling from URL", n);
4319
4320
  });
4320
4321
  }
4321
- function To(e, t, r) {
4322
- if (window.emMessageBus) {
4323
- const n = document.createElement("style");
4324
- window.emMessageBus.subscribe(t, (i) => {
4325
- n.innerHTML = i, e && e.appendChild(n);
4322
+ function Ao(e, t, r, n = !1) {
4323
+ if (!window.emMessageBus)
4324
+ return;
4325
+ if (!("adoptedStyleSheets" in Document.prototype) || !n)
4326
+ return r = Io(e, t), r;
4327
+ window[K] || (window[K] = {}), r = Bo(e, t);
4328
+ const o = r.unsubscribe.bind(r), s = () => {
4329
+ if (window[K][t]) {
4330
+ const a = window[K][t];
4331
+ a.refCount > 1 ? a.refCount = a.refCount - 1 : delete window[K][t];
4332
+ }
4333
+ o();
4334
+ };
4335
+ return r.unsubscribe = s, r;
4336
+ }
4337
+ function Io(e, t) {
4338
+ const r = document.createElement("style");
4339
+ return window.emMessageBus.subscribe(t, (n) => {
4340
+ e && (r.innerHTML = n, e.appendChild(r));
4341
+ });
4342
+ }
4343
+ function Bo(e, t) {
4344
+ return window.emMessageBus.subscribe(t, (r) => {
4345
+ var a;
4346
+ if (!e)
4347
+ return;
4348
+ const n = e.getRootNode(), i = window[K];
4349
+ let o = (a = i[t]) == null ? void 0 : a.sheet;
4350
+ o ? i[t].refCount = i[t].refCount + 1 : (o = new CSSStyleSheet(), o.replaceSync(r), i[t] = {
4351
+ sheet: o,
4352
+ refCount: 1
4326
4353
  });
4327
- }
4354
+ const s = n.adoptedStyleSheets || [];
4355
+ s.includes(o) || (n.adoptedStyleSheets = [...s, o]);
4356
+ });
4328
4357
  }
4329
- function Ho(e) {
4330
- 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}');
4358
+ function Po(e) {
4359
+ Kr(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}');
4331
4360
  }
4332
- function jt(e, t, r) {
4361
+ function Vt(e, t, r) {
4333
4362
  const n = e.slice();
4334
4363
  return n[43] = t[r], n[45] = r, n;
4335
4364
  }
4336
- function Ao(e) {
4365
+ function Oo(e) {
4337
4366
  let t, r, n, i, o, s, a, u, l, h, c, f, b, d = (
4338
4367
  /*vendors*/
4339
- e[6].length > 0 && Vt(e)
4368
+ e[6].length > 0 && Wt(e)
4340
4369
  );
4341
4370
  return {
4342
4371
  c() {
4343
- 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*/
4344
- (e[10] ? "CarouselWrapperMobile" : "")), x(t, "class", "CasinoVendorsContainer"), x(t, "part", "CasinoVendorsContainer");
4372
+ t = H("div"), r = H("div"), n = H("div"), i = H("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 = H("div"), a = H("ul"), u = H("li"), u.innerHTML = '<a href="#CarouselNav">Close Subs</a>', l = j(), d && d.c(), h = j(), c = H("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>', _(i, "class", "CarouselLeftArrow"), _(u, "class", "TouchOnly"), _(a, "id", "CarouselNav"), _(a, "class", "CarouselItems"), _(s, "class", "CarouselNavWrap"), _(c, "class", "CarouselRightArrow"), _(n, "class", "CarouselContainer CarouselContainerMobile"), _(r, "class", "CarouselWrapper " + /*isMobile*/
4373
+ (e[10] ? "CarouselWrapperMobile" : "")), _(t, "class", "CasinoVendorsContainer"), _(t, "part", "CasinoVendorsContainer");
4345
4374
  },
4346
- m(m, E) {
4347
- 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 = [
4348
- K(
4375
+ m(m, x) {
4376
+ M(m, t, x), A(t, r), A(r, n), A(n, i), A(n, o), A(n, s), A(s, a), A(a, u), A(a, l), d && d.m(a, null), e[28](a), e[29](s), A(n, h), A(n, c), e[30](r), f || (b = [
4377
+ ee(
4349
4378
  i,
4350
4379
  "click",
4351
4380
  /*scrollLeft*/
4352
4381
  e[12]
4353
4382
  ),
4354
- K(
4383
+ ee(
4355
4384
  i,
4356
4385
  "keydown",
4357
4386
  /*onScrollLeftKeydown*/
4358
4387
  e[15]
4359
4388
  ),
4360
- K(
4389
+ ee(
4361
4390
  c,
4362
4391
  "click",
4363
4392
  /*scrollRight*/
4364
4393
  e[13]
4365
4394
  ),
4366
- K(
4395
+ ee(
4367
4396
  c,
4368
4397
  "keydown",
4369
4398
  /*onScrollRightKeydown*/
@@ -4371,47 +4400,47 @@ function Ao(e) {
4371
4400
  )
4372
4401
  ], f = !0);
4373
4402
  },
4374
- p(m, E) {
4403
+ p(m, x) {
4375
4404
  /*vendors*/
4376
- m[6].length > 0 ? d ? d.p(m, E) : (d = Vt(m), d.c(), d.m(a, null)) : d && (d.d(1), d = null);
4405
+ m[6].length > 0 ? d ? d.p(m, x) : (d = Wt(m), d.c(), d.m(a, null)) : d && (d.d(1), d = null);
4377
4406
  },
4378
4407
  d(m) {
4379
- m && B(t), d && d.d(), e[28](null), e[29](null), e[30](null), f = !1, z(b);
4408
+ m && P(t), d && d.d(), e[28](null), e[29](null), e[30](null), f = !1, z(b);
4380
4409
  }
4381
4410
  };
4382
4411
  }
4383
- function Io(e) {
4412
+ function Mo(e) {
4384
4413
  let t;
4385
4414
  return {
4386
4415
  c() {
4387
- t = T("p"), t.textContent = "500 Error - Internal Server Error.", x(t, "class", "SearchLoading");
4416
+ t = H("p"), t.textContent = "500 Error - Internal Server Error.", _(t, "class", "SearchLoading");
4388
4417
  },
4389
4418
  m(r, n) {
4390
- O(r, t, n);
4419
+ M(r, t, n);
4391
4420
  },
4392
4421
  p: D,
4393
4422
  d(r) {
4394
- r && B(t);
4423
+ r && P(t);
4395
4424
  }
4396
4425
  };
4397
4426
  }
4398
- function Bo(e) {
4427
+ function Lo(e) {
4399
4428
  let t;
4400
4429
  return {
4401
4430
  c() {
4402
- t = T("div"), x(t, "class", "CasinoVendorsLoading");
4431
+ t = H("div"), _(t, "class", "CasinoVendorsLoading");
4403
4432
  },
4404
4433
  m(r, n) {
4405
- O(r, t, n);
4434
+ M(r, t, n);
4406
4435
  },
4407
4436
  p: D,
4408
4437
  d(r) {
4409
- r && B(t);
4438
+ r && P(t);
4410
4439
  }
4411
4440
  };
4412
4441
  }
4413
- function Vt(e) {
4414
- let t = [], r = /* @__PURE__ */ new Map(), n, i = xt(
4442
+ function Wt(e) {
4443
+ let t = [], r = /* @__PURE__ */ new Map(), n, i = Et(
4415
4444
  /*vendors*/
4416
4445
  e[6]
4417
4446
  );
@@ -4420,141 +4449,141 @@ function Vt(e) {
4420
4449
  s[43].id
4421
4450
  );
4422
4451
  for (let s = 0; s < i.length; s += 1) {
4423
- let a = jt(e, i, s), u = o(a);
4424
- r.set(u, t[s] = qt(u, a));
4452
+ let a = Vt(e, i, s), u = o(a);
4453
+ r.set(u, t[s] = Jt(u, a));
4425
4454
  }
4426
4455
  return {
4427
4456
  c() {
4428
4457
  for (let s = 0; s < t.length; s += 1)
4429
4458
  t[s].c();
4430
- n = lt();
4459
+ n = ht();
4431
4460
  },
4432
4461
  m(s, a) {
4433
4462
  for (let u = 0; u < t.length; u += 1)
4434
4463
  t[u] && t[u].m(s, a);
4435
- O(s, n, a);
4464
+ M(s, n, a);
4436
4465
  },
4437
4466
  p(s, a) {
4438
4467
  a[0] & /*activevendor, vendors, handleClick, onCarouselItemKeydown, getButtonClasses, getGamesTotal, showvendorgames, showvendorname, showvendoricon, isMobile*/
4439
- 461903 && (i = xt(
4468
+ 461903 && (i = Et(
4440
4469
  /*vendors*/
4441
4470
  s[6]
4442
- ), t = cn(t, a, o, 1, s, i, r, n.parentNode, hn, qt, n, jt));
4471
+ ), t = pn(t, a, o, 1, s, i, r, n.parentNode, fn, Jt, n, Vt));
4443
4472
  },
4444
4473
  d(s) {
4445
- s && B(n);
4474
+ s && P(n);
4446
4475
  for (let a = 0; a < t.length; a += 1)
4447
4476
  t[a].d(s);
4448
4477
  }
4449
4478
  };
4450
4479
  }
4451
- function Wt(e) {
4480
+ function Xt(e) {
4452
4481
  let t;
4453
4482
  function r(o, s) {
4454
4483
  return (
4455
4484
  /*isMobile*/
4456
- o[10] ? Oo : Po
4485
+ o[10] ? Ro : No
4457
4486
  );
4458
4487
  }
4459
4488
  let i = r(e)(e);
4460
4489
  return {
4461
4490
  c() {
4462
- i.c(), t = lt();
4491
+ i.c(), t = ht();
4463
4492
  },
4464
4493
  m(o, s) {
4465
- i.m(o, s), O(o, t, s);
4494
+ i.m(o, s), M(o, t, s);
4466
4495
  },
4467
4496
  p(o, s) {
4468
4497
  i.p(o, s);
4469
4498
  },
4470
4499
  d(o) {
4471
- o && B(t), i.d(o);
4500
+ o && P(t), i.d(o);
4472
4501
  }
4473
4502
  };
4474
4503
  }
4475
- function Po(e) {
4504
+ function No(e) {
4476
4505
  let t, r, n, i, o, s = (
4477
4506
  /*showvendorname*/
4478
- e[2] === "false" && Xt()
4507
+ e[2] === "false" && zt()
4479
4508
  );
4480
4509
  return {
4481
4510
  c() {
4482
- t = T("img"), i = j(), s && s.c(), o = lt(), we(t.src, r = /*vendor*/
4483
- e[43].logo) || x(t, "src", r), x(t, "alt", n = /*vendor*/
4511
+ t = H("img"), i = j(), s && s.c(), o = ht(), Ce(t.src, r = /*vendor*/
4512
+ e[43].logo) || _(t, "src", r), _(t, "alt", n = /*vendor*/
4484
4513
  e[43].displayName);
4485
4514
  },
4486
4515
  m(a, u) {
4487
- O(a, t, u), O(a, i, u), s && s.m(a, u), O(a, o, u);
4516
+ M(a, t, u), M(a, i, u), s && s.m(a, u), M(a, o, u);
4488
4517
  },
4489
4518
  p(a, u) {
4490
4519
  u[0] & /*vendors*/
4491
- 64 && !we(t.src, r = /*vendor*/
4492
- a[43].logo) && x(t, "src", r), u[0] & /*vendors*/
4520
+ 64 && !Ce(t.src, r = /*vendor*/
4521
+ a[43].logo) && _(t, "src", r), u[0] & /*vendors*/
4493
4522
  64 && n !== (n = /*vendor*/
4494
- a[43].displayName) && x(t, "alt", n), /*showvendorname*/
4495
- a[2] === "false" ? s || (s = Xt(), s.c(), s.m(o.parentNode, o)) : s && (s.d(1), s = null);
4523
+ a[43].displayName) && _(t, "alt", n), /*showvendorname*/
4524
+ a[2] === "false" ? s || (s = zt(), s.c(), s.m(o.parentNode, o)) : s && (s.d(1), s = null);
4496
4525
  },
4497
4526
  d(a) {
4498
- a && (B(t), B(i), B(o)), s && s.d(a);
4527
+ a && (P(t), P(i), P(o)), s && s.d(a);
4499
4528
  }
4500
4529
  };
4501
4530
  }
4502
- function Oo(e) {
4531
+ function Ro(e) {
4503
4532
  let t, r, n, i, o, s = (
4504
4533
  /*showvendorname*/
4505
- e[2] === "false" && zt()
4534
+ e[2] === "false" && Zt()
4506
4535
  );
4507
4536
  return {
4508
4537
  c() {
4509
- t = T("div"), r = T("img"), o = j(), s && s.c(), we(r.src, n = /*vendor*/
4510
- e[43].logo) || x(r, "src", n), x(r, "alt", i = /*vendor*/
4511
- e[43].displayName), x(t, "class", "ImageContainer");
4538
+ t = H("div"), r = H("img"), o = j(), s && s.c(), Ce(r.src, n = /*vendor*/
4539
+ e[43].logo) || _(r, "src", n), _(r, "alt", i = /*vendor*/
4540
+ e[43].displayName), _(t, "class", "ImageContainer");
4512
4541
  },
4513
4542
  m(a, u) {
4514
- O(a, t, u), H(t, r), H(t, o), s && s.m(t, null);
4543
+ M(a, t, u), A(t, r), A(t, o), s && s.m(t, null);
4515
4544
  },
4516
4545
  p(a, u) {
4517
4546
  u[0] & /*vendors*/
4518
- 64 && !we(r.src, n = /*vendor*/
4519
- a[43].logo) && x(r, "src", n), u[0] & /*vendors*/
4547
+ 64 && !Ce(r.src, n = /*vendor*/
4548
+ a[43].logo) && _(r, "src", n), u[0] & /*vendors*/
4520
4549
  64 && i !== (i = /*vendor*/
4521
- a[43].displayName) && x(r, "alt", i), /*showvendorname*/
4522
- a[2] === "false" ? s || (s = zt(), s.c(), s.m(t, null)) : s && (s.d(1), s = null);
4550
+ a[43].displayName) && _(r, "alt", i), /*showvendorname*/
4551
+ a[2] === "false" ? s || (s = Zt(), s.c(), s.m(t, null)) : s && (s.d(1), s = null);
4523
4552
  },
4524
4553
  d(a) {
4525
- a && B(t), s && s.d();
4554
+ a && P(t), s && s.d();
4526
4555
  }
4527
4556
  };
4528
4557
  }
4529
- function Xt(e) {
4558
+ function zt(e) {
4530
4559
  let t;
4531
4560
  return {
4532
4561
  c() {
4533
- t = T("div"), x(t, "class", "ActiveImg");
4562
+ t = H("div"), _(t, "class", "ActiveImg");
4534
4563
  },
4535
4564
  m(r, n) {
4536
- O(r, t, n);
4565
+ M(r, t, n);
4537
4566
  },
4538
4567
  d(r) {
4539
- r && B(t);
4568
+ r && P(t);
4540
4569
  }
4541
4570
  };
4542
4571
  }
4543
- function zt(e) {
4572
+ function Zt(e) {
4544
4573
  let t;
4545
4574
  return {
4546
4575
  c() {
4547
- t = T("div"), x(t, "class", "ActiveImg");
4576
+ t = H("div"), _(t, "class", "ActiveImg");
4548
4577
  },
4549
4578
  m(r, n) {
4550
- O(r, t, n);
4579
+ M(r, t, n);
4551
4580
  },
4552
4581
  d(r) {
4553
- r && B(t);
4582
+ r && P(t);
4554
4583
  }
4555
4584
  };
4556
4585
  }
4557
- function Zt(e) {
4586
+ function Qt(e) {
4558
4587
  var i;
4559
4588
  let t, r = (
4560
4589
  /*getGamesTotal*/
@@ -4565,10 +4594,10 @@ function Zt(e) {
4565
4594
  ), n;
4566
4595
  return {
4567
4596
  c() {
4568
- t = T("span"), n = de(r), x(t, "class", "categoryImgButtonCount");
4597
+ t = H("span"), n = me(r), _(t, "class", "categoryImgButtonCount");
4569
4598
  },
4570
4599
  m(o, s) {
4571
- O(o, t, s), H(t, n);
4600
+ M(o, t, s), A(t, n);
4572
4601
  },
4573
4602
  p(o, s) {
4574
4603
  var a;
@@ -4577,14 +4606,14 @@ function Zt(e) {
4577
4606
  o[18](
4578
4607
  /*vendor*/
4579
4608
  (a = o[43]) == null ? void 0 : a.games.total
4580
- ) + "") && ht(n, r);
4609
+ ) + "") && ct(n, r);
4581
4610
  },
4582
4611
  d(o) {
4583
- o && B(t);
4612
+ o && P(t);
4584
4613
  }
4585
4614
  };
4586
4615
  }
4587
- function Qt(e) {
4616
+ function Yt(e) {
4588
4617
  var s;
4589
4618
  let t, r = (
4590
4619
  /*vendor*/
@@ -4592,11 +4621,11 @@ function Qt(e) {
4592
4621
  ), n, i, o = (
4593
4622
  /*showvendorgames*/
4594
4623
  e[3] !== "false" && /*vendor*/
4595
- ((s = e[43]) == null ? void 0 : s.games.total) && Yt(e)
4624
+ ((s = e[43]) == null ? void 0 : s.games.total) && qt(e)
4596
4625
  );
4597
4626
  return {
4598
4627
  c() {
4599
- t = T("button"), n = de(r), i = j(), o && o.c(), x(
4628
+ t = H("button"), n = me(r), i = j(), o && o.c(), _(
4600
4629
  t,
4601
4630
  "class",
4602
4631
  /*getButtonClasses*/
@@ -4604,22 +4633,22 @@ function Qt(e) {
4604
4633
  );
4605
4634
  },
4606
4635
  m(a, u) {
4607
- O(a, t, u), H(t, n), H(t, i), o && o.m(t, null);
4636
+ M(a, t, u), A(t, n), A(t, i), o && o.m(t, null);
4608
4637
  },
4609
4638
  p(a, u) {
4610
4639
  var l;
4611
4640
  u[0] & /*vendors*/
4612
4641
  64 && r !== (r = /*vendor*/
4613
- a[43].displayName + "") && ht(n, r), /*showvendorgames*/
4642
+ a[43].displayName + "") && ct(n, r), /*showvendorgames*/
4614
4643
  a[3] !== "false" && /*vendor*/
4615
- ((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);
4644
+ ((l = a[43]) != null && l.games.total) ? o ? o.p(a, u) : (o = qt(a), o.c(), o.m(t, null)) : o && (o.d(1), o = null);
4616
4645
  },
4617
4646
  d(a) {
4618
- a && B(t), o && o.d();
4647
+ a && P(t), o && o.d();
4619
4648
  }
4620
4649
  };
4621
4650
  }
4622
- function Yt(e) {
4651
+ function qt(e) {
4623
4652
  var i;
4624
4653
  let t, r = (
4625
4654
  /*getGamesTotal*/
@@ -4630,10 +4659,10 @@ function Yt(e) {
4630
4659
  ), n;
4631
4660
  return {
4632
4661
  c() {
4633
- t = T("span"), n = de(r), x(t, "class", "CategoryButtonCount");
4662
+ t = H("span"), n = me(r), _(t, "class", "CategoryButtonCount");
4634
4663
  },
4635
4664
  m(o, s) {
4636
- O(o, t, s), H(t, n);
4665
+ M(o, t, s), A(t, n);
4637
4666
  },
4638
4667
  p(o, s) {
4639
4668
  var a;
@@ -4642,27 +4671,27 @@ function Yt(e) {
4642
4671
  o[18](
4643
4672
  /*vendor*/
4644
4673
  (a = o[43]) == null ? void 0 : a.games.total
4645
- ) + "") && ht(n, r);
4674
+ ) + "") && ct(n, r);
4646
4675
  },
4647
4676
  d(o) {
4648
- o && B(t);
4677
+ o && P(t);
4649
4678
  }
4650
4679
  };
4651
4680
  }
4652
- function qt(e, t) {
4681
+ function Jt(e, t) {
4653
4682
  var b, d;
4654
4683
  let r, n, i, o, s, a, u, l = (
4655
4684
  /*showvendoricon*/
4656
- t[1] !== "false" && Wt(t)
4685
+ t[1] !== "false" && Xt(t)
4657
4686
  ), h = (
4658
4687
  /*showvendoricon*/
4659
4688
  t[1] == "true" && /*showvendorgames*/
4660
4689
  t[3] !== "false" && /*showvendorname*/
4661
4690
  t[2] == "false" && /*vendor*/
4662
- ((d = (b = t[43]) == null ? void 0 : b.games) == null ? void 0 : d.total) && Zt(t)
4691
+ ((d = (b = t[43]) == null ? void 0 : b.games) == null ? void 0 : d.total) && Qt(t)
4663
4692
  ), c = (
4664
4693
  /*showvendorname*/
4665
- t[2] !== "false" && Qt(t)
4694
+ t[2] !== "false" && Yt(t)
4666
4695
  );
4667
4696
  function f(...m) {
4668
4697
  return (
@@ -4680,7 +4709,7 @@ function qt(e, t) {
4680
4709
  key: e,
4681
4710
  first: null,
4682
4711
  c() {
4683
- r = T("li"), l && l.c(), n = j(), h && h.c(), i = j(), c && c.c(), o = j(), x(r, "class", s = "CarouselItem " + (String(
4712
+ r = H("li"), l && l.c(), n = j(), h && h.c(), i = j(), c && c.c(), o = j(), _(r, "class", s = "CarouselItem " + (String(
4684
4713
  /*activevendor*/
4685
4714
  t[0]
4686
4715
  ) == String(
@@ -4688,11 +4717,11 @@ function qt(e, t) {
4688
4717
  t[43].id
4689
4718
  ) ? "active" : "") + " SecondaryMenu"), this.first = r;
4690
4719
  },
4691
- m(m, E) {
4692
- 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 = [
4693
- K(r, "click", f),
4694
- K(r, "keydown", function() {
4695
- He(
4720
+ m(m, x) {
4721
+ M(m, r, x), l && l.m(r, null), A(r, n), h && h.m(r, null), A(r, i), c && c.m(r, null), A(r, o), a || (u = [
4722
+ ee(r, "click", f),
4723
+ ee(r, "keydown", function() {
4724
+ Ae(
4696
4725
  /*onCarouselItemKeydown*/
4697
4726
  t[16](
4698
4727
  /*vendor*/
@@ -4709,46 +4738,46 @@ function qt(e, t) {
4709
4738
  })
4710
4739
  ], a = !0);
4711
4740
  },
4712
- p(m, E) {
4713
- var P, A;
4741
+ p(m, x) {
4742
+ var O, I;
4714
4743
  t = m, /*showvendoricon*/
4715
- t[1] !== "false" ? l ? l.p(t, E) : (l = Wt(t), l.c(), l.m(r, n)) : l && (l.d(1), l = null), /*showvendoricon*/
4744
+ t[1] !== "false" ? l ? l.p(t, x) : (l = Xt(t), l.c(), l.m(r, n)) : l && (l.d(1), l = null), /*showvendoricon*/
4716
4745
  t[1] == "true" && /*showvendorgames*/
4717
4746
  t[3] !== "false" && /*showvendorname*/
4718
4747
  t[2] == "false" && /*vendor*/
4719
- ((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*/
4720
- 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*/
4748
+ ((I = (O = t[43]) == null ? void 0 : O.games) != null && I.total) ? h ? h.p(t, x) : (h = Qt(t), h.c(), h.m(r, i)) : h && (h.d(1), h = null), /*showvendorname*/
4749
+ t[2] !== "false" ? c ? c.p(t, x) : (c = Yt(t), c.c(), c.m(r, o)) : c && (c.d(1), c = null), x[0] & /*activevendor, vendors*/
4721
4750
  65 && s !== (s = "CarouselItem " + (String(
4722
4751
  /*activevendor*/
4723
4752
  t[0]
4724
4753
  ) == String(
4725
4754
  /*vendor*/
4726
4755
  t[43].id
4727
- ) ? "active" : "") + " SecondaryMenu") && x(r, "class", s);
4756
+ ) ? "active" : "") + " SecondaryMenu") && _(r, "class", s);
4728
4757
  },
4729
4758
  d(m) {
4730
- m && B(r), l && l.d(), h && h.d(), c && c.d(), a = !1, z(u);
4759
+ m && P(r), l && l.d(), h && h.d(), c && c.d(), a = !1, z(u);
4731
4760
  }
4732
4761
  };
4733
4762
  }
4734
- function Mo(e) {
4763
+ function Uo(e) {
4735
4764
  let t;
4736
4765
  function r(o, s) {
4737
4766
  return (
4738
4767
  /*isLoading*/
4739
- o[5] ? Bo : (
4768
+ o[5] ? Lo : (
4740
4769
  /*hasErrors*/
4741
- o[7] ? Io : Ao
4770
+ o[7] ? Mo : Oo
4742
4771
  )
4743
4772
  );
4744
4773
  }
4745
4774
  let n = r(e), i = n(e);
4746
4775
  return {
4747
4776
  c() {
4748
- t = T("div"), i.c();
4777
+ t = H("div"), i.c();
4749
4778
  },
4750
4779
  m(o, s) {
4751
- O(o, t, s), i.m(t, null), e[31](t);
4780
+ M(o, t, s), i.m(t, null), e[31](t);
4752
4781
  },
4753
4782
  p(o, s) {
4754
4783
  n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
@@ -4756,146 +4785,146 @@ function Mo(e) {
4756
4785
  i: D,
4757
4786
  o: D,
4758
4787
  d(o) {
4759
- o && B(t), i.d(), e[31](null);
4788
+ o && P(t), i.d(), e[31](null);
4760
4789
  }
4761
4790
  };
4762
4791
  }
4763
- function Lo(e, t, r) {
4764
- xo({ withLocale: "en", translations: {} });
4765
- 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;
4792
+ function Do(e, t, r) {
4793
+ wo({ withLocale: "en", translations: {} });
4794
+ 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, x = jt(m) !== "PC", O = !0, I, B = [], N = !1, S, k, E, w;
4766
4795
  const $ = () => {
4767
- fetch(l).then((_) => _.json()).then((_) => {
4768
- Object.keys(_).forEach((M) => {
4769
- Eo(M, _[M]);
4796
+ fetch(l).then((y) => y.json()).then((y) => {
4797
+ Object.keys(y).forEach((L) => {
4798
+ Co(L, y[L]);
4770
4799
  });
4771
- }).catch((_) => {
4772
- console.log(_);
4800
+ }).catch((y) => {
4801
+ console.log(y);
4773
4802
  });
4774
- }, G = () => {
4775
- wo(o);
4776
- }, 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 = () => {
4777
- if (!Q()) {
4803
+ }, Q = () => {
4804
+ So(o);
4805
+ }, Mr = () => (n || (I = "Endpoint is missing! Please provide a valid endpointURL.", r(7, N = !0), r(5, O = !1), console.error(I)), (!o || o.length < 2) && (I = "Language is missing! Please provide a valid language (alpha2code)", r(7, N = !0), r(5, O = !1), console.error(I)), N), Lr = () => {
4806
+ if (!Mr()) {
4778
4807
  let p = new URL(`${n}/v1/casino/vendors`);
4779
- p.searchParams.append("datasource", i), p.searchParams.append("language", o), p.searchParams.append("platform", Ft(m)), fetch(p).then((_) => _.json()).then(
4780
- (_) => {
4781
- let M = _.items.filter((Re) => Re.games.total > 0);
4782
- r(6, I = []), r(6, I = I.concat(M)), r(5, P = !1);
4808
+ p.searchParams.append("datasource", i), p.searchParams.append("language", o), p.searchParams.append("platform", jt(m)), fetch(p).then((y) => y.json()).then(
4809
+ (y) => {
4810
+ let L = y.items.filter((Ue) => Ue.games.total > 0);
4811
+ r(6, B = []), r(6, B = B.concat(L)), r(5, O = !1);
4783
4812
  },
4784
- (_) => {
4785
- r(7, L = !0), console.error("There was an error while fetching the vendors", _);
4813
+ (y) => {
4814
+ r(7, N = !0), console.error("There was an error while fetching the vendors", y);
4786
4815
  }
4787
- ).catch((_) => {
4788
- r(7, L = !0), console.error("There was an error while fetching the vendors", _);
4816
+ ).catch((y) => {
4817
+ r(7, N = !0), console.error("There was an error while fetching the vendors", y);
4789
4818
  });
4790
4819
  }
4791
4820
  };
4792
- nn(() => ("ontouchstart" in document.documentElement && (document.documentElement.className += " touch-device"), setTimeout(
4821
+ sn(() => ("ontouchstart" in document.documentElement && (document.documentElement.className += " touch-device"), setTimeout(
4793
4822
  () => {
4794
- g && g.addEventListener("scroll", Ne);
4823
+ w && w.addEventListener("scroll", Re);
4795
4824
  },
4796
4825
  500
4797
4826
  ), () => {
4798
- R.removeEventListener("scroll", Ne);
4827
+ E.removeEventListener("scroll", Re);
4799
4828
  }));
4800
- let Le = (p, _) => {
4801
- var M;
4802
- Ne(), r(0, b = p.id), window.postMessage(
4829
+ let Ne = (p, y) => {
4830
+ var L;
4831
+ Re(), r(0, b = p.id), window.postMessage(
4803
4832
  {
4804
4833
  type: u,
4805
4834
  itemId: p.id,
4806
- index: _,
4835
+ index: y,
4807
4836
  item: p,
4808
4837
  path: p.path,
4809
4838
  externalLink: p.externalLink || !1,
4810
- target: ((M = p.attrs) == null ? void 0 : M.target) || null
4839
+ target: ((L = p.attrs) == null ? void 0 : L.target) || null
4811
4840
  },
4812
4841
  window.location.href
4813
4842
  );
4814
- }, pt = () => {
4815
- const p = g.scrollLeft;
4843
+ }, dt = () => {
4844
+ const p = w.scrollLeft;
4816
4845
  if (p > 0) {
4817
- const _ = Math.min(250, p);
4818
- g.scrollBy({
4819
- left: -_,
4846
+ const y = Math.min(250, p);
4847
+ w.scrollBy({
4848
+ left: -y,
4820
4849
  behavior: "smooth"
4821
4850
  });
4822
4851
  }
4823
- }, dt = () => {
4824
- const p = g.scrollLeft, _ = g.scrollWidth, M = g.clientWidth;
4825
- if (p + M < _) {
4826
- const Re = _ - (p + M), jr = Math.min(250, Re);
4827
- g.scrollBy({ left: jr, behavior: "smooth" });
4852
+ }, mt = () => {
4853
+ const p = w.scrollLeft, y = w.scrollWidth, L = w.clientWidth;
4854
+ if (p + L < y) {
4855
+ const Ue = y - (p + L), Wr = Math.min(250, Ue);
4856
+ w.scrollBy({ left: Wr, behavior: "smooth" });
4828
4857
  }
4829
4858
  };
4830
- const Ne = () => {
4831
- const p = R.querySelectorAll(".DropDown");
4832
- document.activeElement.blur(), g.classList.add("isScrolling");
4833
- for (let _ = 0; _ < p.length; _++)
4834
- p[_].style.transform = "translateX(-" + g.scrollLeft + "px)";
4835
- g.classList.remove("isScrolling");
4836
- }, Mr = (p) => {
4859
+ const Re = () => {
4860
+ const p = E.querySelectorAll(".DropDown");
4861
+ document.activeElement.blur(), w.classList.add("isScrolling");
4862
+ for (let y = 0; y < p.length; y++)
4863
+ p[y].style.transform = "translateX(-" + w.scrollLeft + "px)";
4864
+ w.classList.remove("isScrolling");
4865
+ }, Nr = (p) => {
4866
+ (p.key === "Enter" || p.key === " ") && (mt(), p.preventDefault());
4867
+ }, Rr = (p) => {
4837
4868
  (p.key === "Enter" || p.key === " ") && (dt(), p.preventDefault());
4838
- }, Lr = (p) => {
4839
- (p.key === "Enter" || p.key === " ") && (pt(), p.preventDefault());
4840
- }, Nr = (p, _) => (M) => {
4841
- (M.key === "Enter" || M.key === " ") && (Le(p, _), M.preventDefault());
4842
- }, Rr = () => {
4843
- if (E && c === "true" && h === "false")
4869
+ }, Ur = (p, y) => (L) => {
4870
+ (L.key === "Enter" || L.key === " ") && (Ne(p, y), L.preventDefault());
4871
+ }, Dr = () => {
4872
+ if (x && c === "true" && h === "false")
4844
4873
  return "MobileCategoryButton";
4845
- }, Ur = (p) => p > 1e3 ? "999+" : p, Dr = (p, _, M) => {
4846
- Le(p, _), M.preventDefault();
4874
+ }, $r = (p) => p > 1e3 ? "999+" : p, Gr = (p, y, L) => {
4875
+ Ne(p, y), L.preventDefault();
4847
4876
  };
4848
- function $r(p) {
4849
- ee[p ? "unshift" : "push"](() => {
4850
- R = p, r(8, R);
4877
+ function kr(p) {
4878
+ te[p ? "unshift" : "push"](() => {
4879
+ E = p, r(8, E);
4851
4880
  });
4852
4881
  }
4853
- function Gr(p) {
4854
- ee[p ? "unshift" : "push"](() => {
4855
- g = p, r(9, g);
4882
+ function Fr(p) {
4883
+ te[p ? "unshift" : "push"](() => {
4884
+ w = p, r(9, w);
4856
4885
  });
4857
4886
  }
4858
- function kr(p) {
4859
- ee[p ? "unshift" : "push"](() => {
4860
- C = p, r(4, C);
4887
+ function jr(p) {
4888
+ te[p ? "unshift" : "push"](() => {
4889
+ S = p, r(4, S);
4861
4890
  });
4862
4891
  }
4863
- function Fr(p) {
4864
- ee[p ? "unshift" : "push"](() => {
4865
- C = p, r(4, C);
4892
+ function Vr(p) {
4893
+ te[p ? "unshift" : "push"](() => {
4894
+ S = p, r(4, S);
4866
4895
  });
4867
4896
  }
4868
4897
  return e.$$set = (p) => {
4869
4898
  "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);
4870
4899
  }, e.$$.update = () => {
4871
4900
  e.$$.dirty[0] & /*endpoint, lang*/
4872
- 2621440 && n && o && Or(), e.$$.dirty[0] & /*translationurl*/
4901
+ 2621440 && n && o && Lr(), e.$$.dirty[0] & /*translationurl*/
4873
4902
  33554432 && l && $(), e.$$.dirty[0] & /*activevendor*/
4874
4903
  1, e.$$.dirty[0] & /*lang*/
4875
- 2097152 && o && G(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4876
- 4194320 && s && C && Co(C, s), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4877
- 8388624 && a && C && So(C, a), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4878
- 67108880 && d && C && To(C, `${d}.Style`);
4904
+ 2097152 && o && Q(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4905
+ 4194320 && s && S && To(S, s), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4906
+ 8388624 && a && S && Ho(S, a), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4907
+ 67108880 && d && S && Ao(S, `${d}.Style`, k);
4879
4908
  }, [
4880
4909
  b,
4881
4910
  h,
4882
4911
  c,
4883
4912
  f,
4884
- C,
4885
- P,
4886
- I,
4887
- L,
4888
- R,
4889
- g,
4913
+ S,
4914
+ O,
4915
+ B,
4916
+ N,
4890
4917
  E,
4891
- Le,
4892
- pt,
4918
+ w,
4919
+ x,
4920
+ Ne,
4893
4921
  dt,
4894
- Mr,
4895
- Lr,
4922
+ mt,
4896
4923
  Nr,
4897
4924
  Rr,
4898
4925
  Ur,
4926
+ Dr,
4927
+ $r,
4899
4928
  n,
4900
4929
  i,
4901
4930
  o,
@@ -4904,21 +4933,21 @@ function Lo(e, t, r) {
4904
4933
  u,
4905
4934
  l,
4906
4935
  d,
4907
- Dr,
4908
- $r,
4909
4936
  Gr,
4910
4937
  kr,
4911
- Fr
4938
+ Fr,
4939
+ jr,
4940
+ Vr
4912
4941
  ];
4913
4942
  }
4914
- class No extends gn {
4943
+ class $o extends yn {
4915
4944
  constructor(t) {
4916
- super(), mn(
4945
+ super(), gn(
4917
4946
  this,
4918
4947
  t,
4919
- Lo,
4920
- Mo,
4921
- Kt,
4948
+ Do,
4949
+ Uo,
4950
+ er,
4922
4951
  {
4923
4952
  endpoint: 19,
4924
4953
  datasource: 20,
@@ -4933,7 +4962,7 @@ class No extends gn {
4933
4962
  activevendor: 0,
4934
4963
  mbsource: 26
4935
4964
  },
4936
- Ho,
4965
+ Po,
4937
4966
  [-1, -1]
4938
4967
  );
4939
4968
  }
@@ -5010,7 +5039,7 @@ class No extends gn {
5010
5039
  this.$$set({ mbsource: t }), U();
5011
5040
  }
5012
5041
  }
5013
- bn(No, { endpoint: {}, datasource: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, actionevent: {}, translationurl: {}, showvendoricon: {}, showvendorname: {}, showvendorgames: {}, activevendor: {}, mbsource: {} }, [], [], !0);
5042
+ vn($o, { endpoint: {}, datasource: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, actionevent: {}, translationurl: {}, showvendoricon: {}, showvendorname: {}, showvendorgames: {}, activevendor: {}, mbsource: {} }, [], [], !0);
5014
5043
  export {
5015
- No as default
5044
+ $o as default
5016
5045
  };