@everymatrix/casino-categories 1.60.1 → 1.60.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,57 +1,57 @@
1
- var er = Object.defineProperty, tr = Object.defineProperties;
2
- var rr = Object.getOwnPropertyDescriptors;
3
- var qe = Object.getOwnPropertySymbols;
4
- var nr = Object.prototype.hasOwnProperty, ir = Object.prototype.propertyIsEnumerable;
5
- var He = (e, t, r) => t in e ? er(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ye = (e, t) => {
1
+ var Yt = Object.defineProperty, Kt = Object.defineProperties;
2
+ var er = Object.getOwnPropertyDescriptors;
3
+ var Qe = Object.getOwnPropertySymbols;
4
+ var tr = Object.prototype.hasOwnProperty, rr = Object.prototype.propertyIsEnumerable;
5
+ var Ce = (e, t, r) => t in e ? Yt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Je = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- nr.call(t, r) && He(e, r, t[r]);
8
- if (qe)
9
- for (var r of qe(t))
10
- ir.call(t, r) && He(e, r, t[r]);
7
+ tr.call(t, r) && Ce(e, r, t[r]);
8
+ if (Qe)
9
+ for (var r of Qe(t))
10
+ rr.call(t, r) && Ce(e, r, t[r]);
11
11
  return e;
12
- }, Ke = (e, t) => tr(e, rr(t));
13
- var L = (e, t, r) => (He(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var et = (e, t, r) => new Promise((n, i) => {
15
- var s = (h) => {
12
+ }, qe = (e, t) => Kt(e, er(t));
13
+ var L = (e, t, r) => (Ce(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var Ye = (e, t, r) => new Promise((n, i) => {
15
+ var o = (h) => {
16
16
  try {
17
17
  u(r.next(h));
18
18
  } catch (a) {
19
19
  i(a);
20
20
  }
21
- }, o = (h) => {
21
+ }, s = (h) => {
22
22
  try {
23
23
  u(r.throw(h));
24
24
  } catch (a) {
25
25
  i(a);
26
26
  }
27
- }, u = (h) => h.done ? n(h.value) : Promise.resolve(h.value).then(s, o);
27
+ }, u = (h) => h.done ? n(h.value) : Promise.resolve(h.value).then(o, s);
28
28
  u((r = r.apply(e, t)).next());
29
29
  });
30
30
  function I() {
31
31
  }
32
- function Tt(e) {
32
+ function _t(e) {
33
33
  return e();
34
34
  }
35
- function tt() {
35
+ function Ke() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
38
  function ae(e) {
39
- e.forEach(Tt);
39
+ e.forEach(_t);
40
40
  }
41
41
  function Ve(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function Ht(e, t) {
44
+ function vt(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
47
  let le;
48
48
  function de(e, t) {
49
49
  return e === t ? !0 : (le || (le = document.createElement("a")), le.href = t, e === le.href);
50
50
  }
51
- function sr(e) {
51
+ function nr(e) {
52
52
  return Object.keys(e).length === 0;
53
53
  }
54
- function Ct(e, ...t) {
54
+ function Tt(e, ...t) {
55
55
  if (e == null) {
56
56
  for (const n of t)
57
57
  n(void 0);
@@ -60,20 +60,20 @@ function Ct(e, ...t) {
60
60
  const r = e.subscribe(...t);
61
61
  return r.unsubscribe ? () => r.unsubscribe() : r;
62
62
  }
63
- function or(e, t, r) {
64
- e.$$.on_destroy.push(Ct(t, r));
63
+ function ir(e, t, r) {
64
+ e.$$.on_destroy.push(Tt(t, r));
65
65
  }
66
66
  function v(e, t) {
67
67
  e.appendChild(t);
68
68
  }
69
- function ar(e, t, r) {
70
- const n = ur(e);
69
+ function or(e, t, r) {
70
+ const n = sr(e);
71
71
  if (!n.getElementById(t)) {
72
72
  const i = O("style");
73
- i.id = t, i.textContent = r, hr(n, i);
73
+ i.id = t, i.textContent = r, ar(n, i);
74
74
  }
75
75
  }
76
- function ur(e) {
76
+ function sr(e) {
77
77
  if (!e)
78
78
  return document;
79
79
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -83,7 +83,7 @@ function ur(e) {
83
83
  t
84
84
  ) : e.ownerDocument;
85
85
  }
86
- function hr(e, t) {
86
+ function ar(e, t) {
87
87
  return v(
88
88
  /** @type {Document} */
89
89
  e.head || e,
@@ -96,7 +96,7 @@ function Y(e, t, r) {
96
96
  function j(e) {
97
97
  e.parentNode && e.parentNode.removeChild(e);
98
98
  }
99
- function rt(e, t) {
99
+ function et(e, t) {
100
100
  for (let r = 0; r < e.length; r += 1)
101
101
  e[r] && e[r].d(t);
102
102
  }
@@ -109,20 +109,20 @@ function U(e) {
109
109
  function R() {
110
110
  return U(" ");
111
111
  }
112
- function At(e, t, r, n) {
112
+ function Ct(e, t, r, n) {
113
113
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
114
114
  }
115
115
  function A(e, t, r) {
116
116
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
117
117
  }
118
- function lr(e) {
118
+ function ur(e) {
119
119
  return Array.from(e.childNodes);
120
120
  }
121
121
  function D(e, t) {
122
122
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
123
123
  t);
124
124
  }
125
- function cr(e) {
125
+ function hr(e) {
126
126
  const t = {};
127
127
  return e.childNodes.forEach(
128
128
  /** @param {Element} node */
@@ -135,25 +135,25 @@ let ie;
135
135
  function ne(e) {
136
136
  ie = e;
137
137
  }
138
- function fr() {
138
+ function lr() {
139
139
  if (!ie)
140
140
  throw new Error("Function called outside component initialization");
141
141
  return ie;
142
142
  }
143
- function gr(e) {
144
- fr().$$.on_mount.push(e);
143
+ function fr(e) {
144
+ lr().$$.on_mount.push(e);
145
145
  }
146
146
  const z = [], Ne = [];
147
147
  let W = [];
148
- const nt = [], mr = /* @__PURE__ */ Promise.resolve();
148
+ const tt = [], cr = /* @__PURE__ */ Promise.resolve();
149
149
  let Le = !1;
150
- function pr() {
151
- Le || (Le = !0, mr.then(M));
150
+ function gr() {
151
+ Le || (Le = !0, cr.then(M));
152
152
  }
153
153
  function Ie(e) {
154
154
  W.push(e);
155
155
  }
156
- const Ce = /* @__PURE__ */ new Set();
156
+ const He = /* @__PURE__ */ new Set();
157
157
  let V = 0;
158
158
  function M() {
159
159
  if (V !== 0)
@@ -163,7 +163,7 @@ function M() {
163
163
  try {
164
164
  for (; V < z.length; ) {
165
165
  const t = z[V];
166
- V++, ne(t), dr(t.$$);
166
+ V++, ne(t), mr(t.$$);
167
167
  }
168
168
  } catch (t) {
169
169
  throw z.length = 0, V = 0, t;
@@ -172,57 +172,57 @@ function M() {
172
172
  Ne.pop()();
173
173
  for (let t = 0; t < W.length; t += 1) {
174
174
  const r = W[t];
175
- Ce.has(r) || (Ce.add(r), r());
175
+ He.has(r) || (He.add(r), r());
176
176
  }
177
177
  W.length = 0;
178
178
  } while (z.length);
179
- for (; nt.length; )
180
- nt.pop()();
181
- Le = !1, Ce.clear(), ne(e);
179
+ for (; tt.length; )
180
+ tt.pop()();
181
+ Le = !1, He.clear(), ne(e);
182
182
  }
183
- function dr(e) {
183
+ function mr(e) {
184
184
  if (e.fragment !== null) {
185
185
  e.update(), ae(e.before_update);
186
186
  const t = e.dirty;
187
187
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ie);
188
188
  }
189
189
  }
190
- function br(e) {
190
+ function pr(e) {
191
191
  const t = [], r = [];
192
192
  W.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), W = t;
193
193
  }
194
- const yr = /* @__PURE__ */ new Set();
195
- function xr(e, t) {
196
- e && e.i && (yr.delete(e), e.i(t));
194
+ const dr = /* @__PURE__ */ new Set();
195
+ function br(e, t) {
196
+ e && e.i && (dr.delete(e), e.i(t));
197
197
  }
198
- function ce(e) {
198
+ function fe(e) {
199
199
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
200
200
  }
201
- function Er(e, t, r) {
201
+ function yr(e, t, r) {
202
202
  const { fragment: n, after_update: i } = e.$$;
203
203
  n && n.m(t, r), Ie(() => {
204
- const s = e.$$.on_mount.map(Tt).filter(Ve);
205
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ae(s), e.$$.on_mount = [];
204
+ const o = e.$$.on_mount.map(_t).filter(Ve);
205
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ae(o), e.$$.on_mount = [];
206
206
  }), i.forEach(Ie);
207
207
  }
208
- function _r(e, t) {
208
+ function xr(e, t) {
209
209
  const r = e.$$;
210
- r.fragment !== null && (br(r.after_update), ae(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
210
+ r.fragment !== null && (pr(r.after_update), ae(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
211
211
  }
212
- function vr(e, t) {
213
- e.$$.dirty[0] === -1 && (z.push(e), pr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
212
+ function Er(e, t) {
213
+ e.$$.dirty[0] === -1 && (z.push(e), gr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
214
214
  }
215
- function Tr(e, t, r, n, i, s, o = null, u = [-1]) {
215
+ function _r(e, t, r, n, i, o, s = null, u = [-1]) {
216
216
  const h = ie;
217
217
  ne(e);
218
218
  const a = e.$$ = {
219
219
  fragment: null,
220
220
  ctx: [],
221
221
  // state
222
- props: s,
222
+ props: o,
223
223
  update: I,
224
224
  not_equal: i,
225
- bound: tt(),
225
+ bound: Ke(),
226
226
  // lifecycle
227
227
  on_mount: [],
228
228
  on_destroy: [],
@@ -231,28 +231,28 @@ function Tr(e, t, r, n, i, s, o = null, u = [-1]) {
231
231
  after_update: [],
232
232
  context: new Map(t.context || (h ? h.$$.context : [])),
233
233
  // everything else
234
- callbacks: tt(),
234
+ callbacks: Ke(),
235
235
  dirty: u,
236
236
  skip_bound: !1,
237
237
  root: t.target || h.$$.root
238
238
  };
239
- o && o(a.root);
239
+ s && s(a.root);
240
240
  let l = !1;
241
- if (a.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
242
- const d = p.length ? p[0] : c;
243
- return a.ctx && i(a.ctx[f], a.ctx[f] = d) && (!a.skip_bound && a.bound[f] && a.bound[f](d), l && vr(e, f)), c;
241
+ if (a.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
242
+ const d = p.length ? p[0] : f;
243
+ return a.ctx && i(a.ctx[c], a.ctx[c] = d) && (!a.skip_bound && a.bound[c] && a.bound[c](d), l && Er(e, c)), f;
244
244
  }) : [], a.update(), l = !0, ae(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
245
245
  if (t.hydrate) {
246
- const f = lr(t.target);
247
- a.fragment && a.fragment.l(f), f.forEach(j);
246
+ const c = ur(t.target);
247
+ a.fragment && a.fragment.l(c), c.forEach(j);
248
248
  } else
249
249
  a.fragment && a.fragment.c();
250
- t.intro && xr(e.$$.fragment), Er(e, t.target, t.anchor), M();
250
+ t.intro && br(e.$$.fragment), yr(e, t.target, t.anchor), M();
251
251
  }
252
252
  ne(h);
253
253
  }
254
- let Bt;
255
- typeof HTMLElement == "function" && (Bt = class extends HTMLElement {
254
+ let Ht;
255
+ typeof HTMLElement == "function" && (Ht = class extends HTMLElement {
256
256
  constructor(t, r, n) {
257
257
  super();
258
258
  /** The Svelte component constructor */
@@ -289,42 +289,42 @@ typeof HTMLElement == "function" && (Bt = class extends HTMLElement {
289
289
  }
290
290
  }
291
291
  connectedCallback() {
292
- return et(this, null, function* () {
292
+ return Ye(this, null, function* () {
293
293
  if (this.$$cn = !0, !this.$$c) {
294
- let t = function(s) {
294
+ let t = function(o) {
295
295
  return () => {
296
- let o;
296
+ let s;
297
297
  return {
298
298
  c: function() {
299
- o = O("slot"), s !== "default" && A(o, "name", s);
299
+ s = O("slot"), o !== "default" && A(s, "name", o);
300
300
  },
301
301
  /**
302
302
  * @param {HTMLElement} target
303
303
  * @param {HTMLElement} [anchor]
304
304
  */
305
305
  m: function(a, l) {
306
- Y(a, o, l);
306
+ Y(a, s, l);
307
307
  },
308
308
  d: function(a) {
309
- a && j(o);
309
+ a && j(s);
310
310
  }
311
311
  };
312
312
  };
313
313
  };
314
314
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
315
315
  return;
316
- const r = {}, n = cr(this);
317
- for (const s of this.$$s)
318
- s in n && (r[s] = [t(s)]);
319
- for (const s of this.attributes) {
320
- const o = this.$$g_p(s.name);
321
- o in this.$$d || (this.$$d[o] = ge(o, s.value, this.$$p_d, "toProp"));
316
+ const r = {}, n = hr(this);
317
+ for (const o of this.$$s)
318
+ o in n && (r[o] = [t(o)]);
319
+ for (const o of this.attributes) {
320
+ const s = this.$$g_p(o.name);
321
+ s in this.$$d || (this.$$d[s] = ge(s, o.value, this.$$p_d, "toProp"));
322
322
  }
323
- for (const s in this.$$p_d)
324
- !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
323
+ for (const o in this.$$p_d)
324
+ !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
325
325
  this.$$c = new this.$$ctor({
326
326
  target: this.shadowRoot || this,
327
- props: Ke(Ye({}, this.$$d), {
327
+ props: qe(Je({}, this.$$d), {
328
328
  $$slots: r,
329
329
  $$scope: {
330
330
  ctx: []
@@ -333,23 +333,23 @@ typeof HTMLElement == "function" && (Bt = class extends HTMLElement {
333
333
  });
334
334
  const i = () => {
335
335
  this.$$r = !0;
336
- for (const s in this.$$p_d)
337
- if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
338
- const o = ge(
339
- s,
340
- this.$$d[s],
336
+ for (const o in this.$$p_d)
337
+ if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
338
+ const s = ge(
339
+ o,
340
+ this.$$d[o],
341
341
  this.$$p_d,
342
342
  "toAttribute"
343
343
  );
344
- o == null ? this.removeAttribute(this.$$p_d[s].attribute || s) : this.setAttribute(this.$$p_d[s].attribute || s, o);
344
+ s == null ? this.removeAttribute(this.$$p_d[o].attribute || o) : this.setAttribute(this.$$p_d[o].attribute || o, s);
345
345
  }
346
346
  this.$$r = !1;
347
347
  };
348
348
  this.$$c.$$.after_update.push(i), i();
349
- for (const s in this.$$l)
350
- for (const o of this.$$l[s]) {
351
- const u = this.$$c.$on(s, o);
352
- this.$$l_u.set(o, u);
349
+ for (const o in this.$$l)
350
+ for (const s of this.$$l[o]) {
351
+ const u = this.$$c.$on(o, s);
352
+ this.$$l_u.set(s, u);
353
353
  }
354
354
  this.$$l = {};
355
355
  }
@@ -373,8 +373,8 @@ typeof HTMLElement == "function" && (Bt = class extends HTMLElement {
373
373
  }
374
374
  });
375
375
  function ge(e, t, r, n) {
376
- var s;
377
- const i = (s = r[e]) == null ? void 0 : s.type;
376
+ var o;
377
+ const i = (o = r[e]) == null ? void 0 : o.type;
378
378
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
379
379
  return t;
380
380
  if (n === "toAttribute")
@@ -402,8 +402,8 @@ function ge(e, t, r, n) {
402
402
  return t;
403
403
  }
404
404
  }
405
- function Hr(e, t, r, n, i, s) {
406
- let o = class extends Bt {
405
+ function vr(e, t, r, n, i, o) {
406
+ let s = class extends Ht {
407
407
  constructor() {
408
408
  super(e, r, i), this.$$p_d = t;
409
409
  }
@@ -414,7 +414,7 @@ function Hr(e, t, r, n, i, s) {
414
414
  }
415
415
  };
416
416
  return Object.keys(t).forEach((u) => {
417
- Object.defineProperty(o.prototype, u, {
417
+ Object.defineProperty(s.prototype, u, {
418
418
  get() {
419
419
  return this.$$c && u in this.$$c ? this.$$c[u] : this.$$d[u];
420
420
  },
@@ -424,16 +424,16 @@ function Hr(e, t, r, n, i, s) {
424
424
  }
425
425
  });
426
426
  }), n.forEach((u) => {
427
- Object.defineProperty(o.prototype, u, {
427
+ Object.defineProperty(s.prototype, u, {
428
428
  get() {
429
429
  var h;
430
430
  return (h = this.$$c) == null ? void 0 : h[u];
431
431
  }
432
432
  });
433
433
  }), e.element = /** @type {any} */
434
- o, o;
434
+ s, s;
435
435
  }
436
- class Cr {
436
+ class Tr {
437
437
  constructor() {
438
438
  /**
439
439
  * ### PRIVATE API
@@ -454,7 +454,7 @@ class Cr {
454
454
  }
455
455
  /** @returns {void} */
456
456
  $destroy() {
457
- _r(this, 1), this.$destroy = I;
457
+ xr(this, 1), this.$destroy = I;
458
458
  }
459
459
  /**
460
460
  * @template {Extract<keyof Events, string>} K
@@ -476,13 +476,13 @@ class Cr {
476
476
  * @returns {void}
477
477
  */
478
478
  $set(t) {
479
- this.$$set && !sr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
479
+ this.$$set && !nr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
480
480
  }
481
481
  }
482
- const Ar = "4";
483
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Ar);
482
+ const Cr = "4";
483
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Cr);
484
484
  const X = [];
485
- function Br(e, t) {
485
+ function Hr(e, t) {
486
486
  return {
487
487
  subscribe: xe(e, t).subscribe
488
488
  };
@@ -491,7 +491,7 @@ function xe(e, t = I) {
491
491
  let r;
492
492
  const n = /* @__PURE__ */ new Set();
493
493
  function i(u) {
494
- if (Ht(e, u) && (e = u, r)) {
494
+ if (vt(e, u) && (e = u, r)) {
495
495
  const h = !X.length;
496
496
  for (const a of n)
497
497
  a[1](), X.push(a, e);
@@ -502,112 +502,112 @@ function xe(e, t = I) {
502
502
  }
503
503
  }
504
504
  }
505
- function s(u) {
505
+ function o(u) {
506
506
  i(u(e));
507
507
  }
508
- function o(u, h = I) {
508
+ function s(u, h = I) {
509
509
  const a = [u, h];
510
- return n.add(a), n.size === 1 && (r = t(i, s) || I), u(e), () => {
510
+ return n.add(a), n.size === 1 && (r = t(i, o) || I), u(e), () => {
511
511
  n.delete(a), n.size === 0 && r && (r(), r = null);
512
512
  };
513
513
  }
514
- return { set: i, update: s, subscribe: o };
514
+ return { set: i, update: o, subscribe: s };
515
515
  }
516
516
  function K(e, t, r) {
517
517
  const n = !Array.isArray(e), i = n ? [e] : e;
518
518
  if (!i.every(Boolean))
519
519
  throw new Error("derived() expects stores as input, got a falsy value");
520
- const s = t.length < 2;
521
- return Br(r, (o, u) => {
520
+ const o = t.length < 2;
521
+ return Hr(r, (s, u) => {
522
522
  let h = !1;
523
523
  const a = [];
524
- let l = 0, f = I;
525
- const c = () => {
524
+ let l = 0, c = I;
525
+ const f = () => {
526
526
  if (l)
527
527
  return;
528
- f();
529
- const d = t(n ? a[0] : a, o, u);
530
- s ? o(d) : f = Ve(d) ? d : I;
528
+ c();
529
+ const d = t(n ? a[0] : a, s, u);
530
+ o ? s(d) : c = Ve(d) ? d : I;
531
531
  }, p = i.map(
532
- (d, g) => Ct(
532
+ (d, g) => Tt(
533
533
  d,
534
534
  (_) => {
535
- a[g] = _, l &= ~(1 << g), h && c();
535
+ a[g] = _, l &= ~(1 << g), h && f();
536
536
  },
537
537
  () => {
538
538
  l |= 1 << g;
539
539
  }
540
540
  )
541
541
  );
542
- return h = !0, c(), function() {
543
- ae(p), f(), h = !1;
542
+ return h = !0, f(), function() {
543
+ ae(p), c(), h = !1;
544
544
  };
545
545
  });
546
546
  }
547
- function Sr(e) {
547
+ function Ar(e) {
548
548
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
549
549
  }
550
- var Or = function(t) {
551
- return wr(t) && !Pr(t);
550
+ var Br = function(t) {
551
+ return Sr(t) && !Or(t);
552
552
  };
553
- function wr(e) {
553
+ function Sr(e) {
554
554
  return !!e && typeof e == "object";
555
555
  }
556
- function Pr(e) {
556
+ function Or(e) {
557
557
  var t = Object.prototype.toString.call(e);
558
- return t === "[object RegExp]" || t === "[object Date]" || Ir(e);
558
+ return t === "[object RegExp]" || t === "[object Date]" || Nr(e);
559
559
  }
560
- var Nr = typeof Symbol == "function" && Symbol.for, Lr = Nr ? Symbol.for("react.element") : 60103;
561
- function Ir(e) {
562
- return e.$$typeof === Lr;
560
+ var wr = typeof Symbol == "function" && Symbol.for, Pr = wr ? Symbol.for("react.element") : 60103;
561
+ function Nr(e) {
562
+ return e.$$typeof === Pr;
563
563
  }
564
- function Mr(e) {
564
+ function Lr(e) {
565
565
  return Array.isArray(e) ? [] : {};
566
566
  }
567
- function se(e, t) {
568
- return t.clone !== !1 && t.isMergeableObject(e) ? Z(Mr(e), e, t) : e;
567
+ function oe(e, t) {
568
+ return t.clone !== !1 && t.isMergeableObject(e) ? Z(Lr(e), e, t) : e;
569
569
  }
570
- function $r(e, t, r) {
570
+ function Ir(e, t, r) {
571
571
  return e.concat(t).map(function(n) {
572
- return se(n, r);
572
+ return oe(n, r);
573
573
  });
574
574
  }
575
- function Rr(e, t) {
575
+ function Mr(e, t) {
576
576
  if (!t.customMerge)
577
577
  return Z;
578
578
  var r = t.customMerge(e);
579
579
  return typeof r == "function" ? r : Z;
580
580
  }
581
- function Ur(e) {
581
+ function $r(e) {
582
582
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
583
583
  return Object.propertyIsEnumerable.call(e, t);
584
584
  }) : [];
585
585
  }
586
- function it(e) {
587
- return Object.keys(e).concat(Ur(e));
586
+ function rt(e) {
587
+ return Object.keys(e).concat($r(e));
588
588
  }
589
- function St(e, t) {
589
+ function At(e, t) {
590
590
  try {
591
591
  return t in e;
592
592
  } catch (r) {
593
593
  return !1;
594
594
  }
595
595
  }
596
- function Gr(e, t) {
597
- return St(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
596
+ function Rr(e, t) {
597
+ return At(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
598
598
  }
599
- function Dr(e, t, r) {
599
+ function Ur(e, t, r) {
600
600
  var n = {};
601
- return r.isMergeableObject(e) && it(e).forEach(function(i) {
602
- n[i] = se(e[i], r);
603
- }), it(t).forEach(function(i) {
604
- Gr(e, i) || (St(e, i) && r.isMergeableObject(t[i]) ? n[i] = Rr(i, r)(e[i], t[i], r) : n[i] = se(t[i], r));
601
+ return r.isMergeableObject(e) && rt(e).forEach(function(i) {
602
+ n[i] = oe(e[i], r);
603
+ }), rt(t).forEach(function(i) {
604
+ Rr(e, i) || (At(e, i) && r.isMergeableObject(t[i]) ? n[i] = Mr(i, r)(e[i], t[i], r) : n[i] = oe(t[i], r));
605
605
  }), n;
606
606
  }
607
607
  function Z(e, t, r) {
608
- r = r || {}, r.arrayMerge = r.arrayMerge || $r, r.isMergeableObject = r.isMergeableObject || Or, r.cloneUnlessOtherwiseSpecified = se;
609
- var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
610
- return s ? n ? r.arrayMerge(e, t, r) : Dr(e, t, r) : se(t, r);
608
+ r = r || {}, r.arrayMerge = r.arrayMerge || Ir, r.isMergeableObject = r.isMergeableObject || Br, r.cloneUnlessOtherwiseSpecified = oe;
609
+ var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
610
+ return o ? n ? r.arrayMerge(e, t, r) : Ur(e, t, r) : oe(t, r);
611
611
  }
612
612
  Z.all = function(t, r) {
613
613
  if (!Array.isArray(t))
@@ -616,8 +616,8 @@ Z.all = function(t, r) {
616
616
  return Z(n, i, r);
617
617
  }, {});
618
618
  };
619
- var Fr = Z, jr = Fr;
620
- const kr = /* @__PURE__ */ Sr(jr);
619
+ var Gr = Z, Dr = Gr;
620
+ const Fr = /* @__PURE__ */ Ar(Dr);
621
621
  /*! *****************************************************************************
622
622
  Copyright (c) Microsoft Corporation.
623
623
 
@@ -653,13 +653,13 @@ var E = function() {
653
653
  return E = Object.assign || function(t) {
654
654
  for (var r, n = 1, i = arguments.length; n < i; n++) {
655
655
  r = arguments[n];
656
- for (var s in r)
657
- Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
656
+ for (var o in r)
657
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
658
658
  }
659
659
  return t;
660
660
  }, E.apply(this, arguments);
661
661
  };
662
- function Vr(e, t) {
662
+ function jr(e, t) {
663
663
  var r = {};
664
664
  for (var n in e)
665
665
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -670,60 +670,58 @@ function Vr(e, t) {
670
670
  }
671
671
  function Ae(e, t, r) {
672
672
  if (arguments.length === 2)
673
- for (var n = 0, i = t.length, s; n < i; n++)
674
- (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
675
- return e.concat(s || t);
673
+ for (var n = 0, i = t.length, o; n < i; n++)
674
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
675
+ return e.concat(o || t);
676
676
  }
677
677
  function Be(e, t) {
678
- var r = t && t.cache ? t.cache : Jr, n = t && t.serializer ? t.serializer : Qr, i = t && t.strategy ? t.strategy : zr;
678
+ var r = t && t.cache ? t.cache : Qr, n = t && t.serializer ? t.serializer : Wr, i = t && t.strategy ? t.strategy : Xr;
679
679
  return i(e, {
680
680
  cache: r,
681
681
  serializer: n
682
682
  });
683
683
  }
684
- function Xr(e) {
684
+ function kr(e) {
685
685
  return e == null || typeof e == "number" || typeof e == "boolean";
686
686
  }
687
- function Ot(e, t, r, n) {
688
- var i = Xr(n) ? n : r(n), s = t.get(i);
689
- return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
687
+ function Vr(e, t, r, n) {
688
+ var i = kr(n) ? n : r(n), o = t.get(i);
689
+ return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
690
690
  }
691
- function wt(e, t, r) {
692
- var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
693
- return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
691
+ function Bt(e, t, r) {
692
+ var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
693
+ return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
694
694
  }
695
- function Xe(e, t, r, n, i) {
695
+ function St(e, t, r, n, i) {
696
696
  return r.bind(t, e, n, i);
697
697
  }
698
- function zr(e, t) {
699
- var r = e.length === 1 ? Ot : wt;
700
- return Xe(e, this, r, t.cache.create(), t.serializer);
701
- }
702
- function Wr(e, t) {
703
- return Xe(e, this, wt, t.cache.create(), t.serializer);
698
+ function Xr(e, t) {
699
+ var r = e.length === 1 ? Vr : Bt;
700
+ return St(e, this, r, t.cache.create(), t.serializer);
704
701
  }
705
- function Zr(e, t) {
706
- return Xe(e, this, Ot, t.cache.create(), t.serializer);
702
+ function zr(e, t) {
703
+ return St(e, this, Bt, t.cache.create(), t.serializer);
707
704
  }
708
- var Qr = function() {
705
+ var Wr = function() {
709
706
  return JSON.stringify(arguments);
710
- };
711
- function ze() {
712
- this.cache = /* @__PURE__ */ Object.create(null);
713
- }
714
- ze.prototype.get = function(e) {
715
- return this.cache[e];
716
- };
717
- ze.prototype.set = function(e, t) {
718
- this.cache[e] = t;
719
- };
720
- var Jr = {
707
+ }, Zr = (
708
+ /** @class */
709
+ function() {
710
+ function e() {
711
+ this.cache = /* @__PURE__ */ Object.create(null);
712
+ }
713
+ return e.prototype.get = function(t) {
714
+ return this.cache[t];
715
+ }, e.prototype.set = function(t, r) {
716
+ this.cache[t] = r;
717
+ }, e;
718
+ }()
719
+ ), Qr = {
721
720
  create: function() {
722
- return new ze();
721
+ return new Zr();
723
722
  }
724
723
  }, Se = {
725
- variadic: Wr,
726
- monadic: Zr
724
+ variadic: zr
727
725
  }, y;
728
726
  (function(e) {
729
727
  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";
@@ -736,43 +734,43 @@ var Q;
736
734
  (function(e) {
737
735
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
738
736
  })(Q || (Q = {}));
739
- function st(e) {
737
+ function nt(e) {
740
738
  return e.type === T.literal;
741
739
  }
742
- function qr(e) {
740
+ function Jr(e) {
743
741
  return e.type === T.argument;
744
742
  }
745
- function Pt(e) {
743
+ function Ot(e) {
746
744
  return e.type === T.number;
747
745
  }
748
- function Nt(e) {
746
+ function wt(e) {
749
747
  return e.type === T.date;
750
748
  }
751
- function Lt(e) {
749
+ function Pt(e) {
752
750
  return e.type === T.time;
753
751
  }
754
- function It(e) {
752
+ function Nt(e) {
755
753
  return e.type === T.select;
756
754
  }
757
- function Mt(e) {
755
+ function Lt(e) {
758
756
  return e.type === T.plural;
759
757
  }
760
- function Yr(e) {
758
+ function qr(e) {
761
759
  return e.type === T.pound;
762
760
  }
763
- function $t(e) {
761
+ function It(e) {
764
762
  return e.type === T.tag;
765
763
  }
766
- function Rt(e) {
764
+ function Mt(e) {
767
765
  return !!(e && typeof e == "object" && e.type === Q.number);
768
766
  }
769
767
  function $e(e) {
770
768
  return !!(e && typeof e == "object" && e.type === Q.dateTime);
771
769
  }
772
- var Ut = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Kr = /(?:[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;
773
- function en(e) {
770
+ var $t = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Yr = /(?:[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;
771
+ function Kr(e) {
774
772
  var t = {};
775
- return e.replace(Kr, function(r) {
773
+ return e.replace(Yr, function(r) {
776
774
  var n = r.length;
777
775
  switch (r[0]) {
778
776
  case "G":
@@ -861,36 +859,36 @@ function en(e) {
861
859
  return "";
862
860
  }), t;
863
861
  }
864
- var tn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
865
- function rn(e) {
862
+ var en = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
863
+ function tn(e) {
866
864
  if (e.length === 0)
867
865
  throw new Error("Number skeleton cannot be empty");
868
- for (var t = e.split(tn).filter(function(c) {
869
- return c.length > 0;
866
+ for (var t = e.split(en).filter(function(f) {
867
+ return f.length > 0;
870
868
  }), r = [], n = 0, i = t; n < i.length; n++) {
871
- var s = i[n], o = s.split("/");
872
- if (o.length === 0)
869
+ var o = i[n], s = o.split("/");
870
+ if (s.length === 0)
873
871
  throw new Error("Invalid number skeleton");
874
- for (var u = o[0], h = o.slice(1), a = 0, l = h; a < l.length; a++) {
875
- var f = l[a];
876
- if (f.length === 0)
872
+ for (var u = s[0], h = s.slice(1), a = 0, l = h; a < l.length; a++) {
873
+ var c = l[a];
874
+ if (c.length === 0)
877
875
  throw new Error("Invalid number skeleton");
878
876
  }
879
877
  r.push({ stem: u, options: h });
880
878
  }
881
879
  return r;
882
880
  }
883
- function nn(e) {
881
+ function rn(e) {
884
882
  return e.replace(/^(.*?)-/, "");
885
883
  }
886
- var ot = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Gt = /^(@+)?(\+|#+)?[rs]?$/g, sn = /(\*)(0+)|(#+)(0+)|(0+)/g, Dt = /^(0+)$/;
887
- function at(e) {
884
+ var it = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Rt = /^(@+)?(\+|#+)?[rs]?$/g, nn = /(\*)(0+)|(#+)(0+)|(0+)/g, Ut = /^(0+)$/;
885
+ function ot(e) {
888
886
  var t = {};
889
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Gt, function(r, n, i) {
887
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Rt, function(r, n, i) {
890
888
  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)), "";
891
889
  }), t;
892
890
  }
893
- function Ft(e) {
891
+ function Gt(e) {
894
892
  switch (e) {
895
893
  case "sign-auto":
896
894
  return {
@@ -938,17 +936,17 @@ function on(e) {
938
936
  notation: "scientific"
939
937
  }, e = e.slice(1)), t) {
940
938
  var r = e.slice(0, 2);
941
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Dt.test(e))
939
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Ut.test(e))
942
940
  throw new Error("Malformed concise eng/scientific notation");
943
941
  t.minimumIntegerDigits = e.length;
944
942
  }
945
943
  return t;
946
944
  }
947
- function ut(e) {
948
- var t = {}, r = Ft(e);
945
+ function st(e) {
946
+ var t = {}, r = Gt(e);
949
947
  return r || t;
950
948
  }
951
- function an(e) {
949
+ function sn(e) {
952
950
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
953
951
  var i = n[r];
954
952
  switch (i.stem) {
@@ -972,7 +970,7 @@ function an(e) {
972
970
  continue;
973
971
  case "measure-unit":
974
972
  case "unit":
975
- t.style = "unit", t.unit = nn(i.options[0]);
973
+ t.style = "unit", t.unit = rn(i.options[0]);
976
974
  continue;
977
975
  case "compact-short":
978
976
  case "K":
@@ -984,12 +982,12 @@ function an(e) {
984
982
  continue;
985
983
  case "scientific":
986
984
  t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(h, a) {
987
- return E(E({}, h), ut(a));
985
+ return E(E({}, h), st(a));
988
986
  }, {}));
989
987
  continue;
990
988
  case "engineering":
991
989
  t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(h, a) {
992
- return E(E({}, h), ut(a));
990
+ return E(E({}, h), st(a));
993
991
  }, {}));
994
992
  continue;
995
993
  case "notation-simple":
@@ -1034,11 +1032,11 @@ function an(e) {
1034
1032
  case "integer-width":
1035
1033
  if (i.options.length > 1)
1036
1034
  throw new RangeError("integer-width stems only accept a single optional option");
1037
- i.options[0].replace(sn, function(h, a, l, f, c, p) {
1035
+ i.options[0].replace(nn, function(h, a, l, c, f, p) {
1038
1036
  if (a)
1039
1037
  t.minimumIntegerDigits = l.length;
1040
1038
  else {
1041
- if (f && c)
1039
+ if (c && f)
1042
1040
  throw new Error("We currently do not support maximum integer digits");
1043
1041
  if (p)
1044
1042
  throw new Error("We currently do not support exact integer digits");
@@ -1047,32 +1045,32 @@ function an(e) {
1047
1045
  });
1048
1046
  continue;
1049
1047
  }
1050
- if (Dt.test(i.stem)) {
1048
+ if (Ut.test(i.stem)) {
1051
1049
  t.minimumIntegerDigits = i.stem.length;
1052
1050
  continue;
1053
1051
  }
1054
- if (ot.test(i.stem)) {
1052
+ if (it.test(i.stem)) {
1055
1053
  if (i.options.length > 1)
1056
1054
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1057
- i.stem.replace(ot, function(h, a, l, f, c, p) {
1058
- return l === "*" ? t.minimumFractionDigits = a.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && p ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + p.length) : (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length), "";
1055
+ i.stem.replace(it, function(h, a, l, c, f, p) {
1056
+ return l === "*" ? t.minimumFractionDigits = a.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length), "";
1059
1057
  });
1060
- var s = i.options[0];
1061
- s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t), at(s)));
1058
+ var o = i.options[0];
1059
+ o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t), ot(o)));
1062
1060
  continue;
1063
1061
  }
1064
- if (Gt.test(i.stem)) {
1065
- t = E(E({}, t), at(i.stem));
1062
+ if (Rt.test(i.stem)) {
1063
+ t = E(E({}, t), ot(i.stem));
1066
1064
  continue;
1067
1065
  }
1068
- var o = Ft(i.stem);
1069
- o && (t = E(E({}, t), o));
1066
+ var s = Gt(i.stem);
1067
+ s && (t = E(E({}, t), s));
1070
1068
  var u = on(i.stem);
1071
1069
  u && (t = E(E({}, t), u));
1072
1070
  }
1073
1071
  return t;
1074
1072
  }
1075
- var fe = {
1073
+ var ce = {
1076
1074
  "001": [
1077
1075
  "H",
1078
1076
  "h"
@@ -2487,23 +2485,23 @@ var fe = {
2487
2485
  "h"
2488
2486
  ]
2489
2487
  };
2490
- function un(e, t) {
2488
+ function an(e, t) {
2491
2489
  for (var r = "", n = 0; n < e.length; n++) {
2492
2490
  var i = e.charAt(n);
2493
2491
  if (i === "j") {
2494
- for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2495
- s++, n++;
2496
- var o = 1 + (s & 1), u = s < 2 ? 1 : 3 + (s >> 1), h = "a", a = hn(t);
2492
+ for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2493
+ o++, n++;
2494
+ var s = 1 + (o & 1), u = o < 2 ? 1 : 3 + (o >> 1), h = "a", a = un(t);
2497
2495
  for ((a == "H" || a == "k") && (u = 0); u-- > 0; )
2498
2496
  r += h;
2499
- for (; o-- > 0; )
2497
+ for (; s-- > 0; )
2500
2498
  r = a + r;
2501
2499
  } else
2502
2500
  i === "J" ? r += "H" : r += i;
2503
2501
  }
2504
2502
  return r;
2505
2503
  }
2506
- function hn(e) {
2504
+ function un(e) {
2507
2505
  var t = e.hourCycle;
2508
2506
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2509
2507
  e.hourCycles && // @ts-ignore
@@ -2522,23 +2520,23 @@ function hn(e) {
2522
2520
  }
2523
2521
  var r = e.language, n;
2524
2522
  r !== "root" && (n = e.maximize().region);
2525
- var i = fe[n || ""] || fe[r || ""] || fe["".concat(r, "-001")] || fe["001"];
2523
+ var i = ce[n || ""] || ce[r || ""] || ce["".concat(r, "-001")] || ce["001"];
2526
2524
  return i[0];
2527
2525
  }
2528
- var Oe, ln = new RegExp("^".concat(Ut.source, "*")), cn = new RegExp("".concat(Ut.source, "*$"));
2526
+ var Oe, hn = new RegExp("^".concat($t.source, "*")), ln = new RegExp("".concat($t.source, "*$"));
2529
2527
  function x(e, t) {
2530
2528
  return { start: e, end: t };
2531
2529
  }
2532
- var fn = !!String.prototype.startsWith && "_a".startsWith("a", 1), gn = !!String.fromCodePoint, mn = !!Object.fromEntries, pn = !!String.prototype.codePointAt, dn = !!String.prototype.trimStart, bn = !!String.prototype.trimEnd, yn = !!Number.isSafeInteger, xn = yn ? Number.isSafeInteger : function(e) {
2530
+ var fn = !!String.prototype.startsWith && "_a".startsWith("a", 1), cn = !!String.fromCodePoint, gn = !!Object.fromEntries, mn = !!String.prototype.codePointAt, pn = !!String.prototype.trimStart, dn = !!String.prototype.trimEnd, bn = !!Number.isSafeInteger, yn = bn ? Number.isSafeInteger : function(e) {
2533
2531
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2534
2532
  }, Re = !0;
2535
2533
  try {
2536
- var En = kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2537
- Re = ((Oe = En.exec("a")) === null || Oe === void 0 ? void 0 : Oe[0]) === "a";
2534
+ var xn = Ft("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2535
+ Re = ((Oe = xn.exec("a")) === null || Oe === void 0 ? void 0 : Oe[0]) === "a";
2538
2536
  } catch (e) {
2539
2537
  Re = !1;
2540
2538
  }
2541
- var ht = fn ? (
2539
+ var at = fn ? (
2542
2540
  // Native
2543
2541
  function(t, r, n) {
2544
2542
  return t.startsWith(r, n);
@@ -2548,31 +2546,31 @@ var ht = fn ? (
2548
2546
  function(t, r, n) {
2549
2547
  return t.slice(n, n + r.length) === r;
2550
2548
  }
2551
- ), Ue = gn ? String.fromCodePoint : (
2549
+ ), Ue = cn ? String.fromCodePoint : (
2552
2550
  // IE11
2553
2551
  function() {
2554
2552
  for (var t = [], r = 0; r < arguments.length; r++)
2555
2553
  t[r] = arguments[r];
2556
- for (var n = "", i = t.length, s = 0, o; i > s; ) {
2557
- if (o = t[s++], o > 1114111)
2558
- throw RangeError(o + " is not a valid code point");
2559
- n += o < 65536 ? String.fromCharCode(o) : String.fromCharCode(((o -= 65536) >> 10) + 55296, o % 1024 + 56320);
2554
+ for (var n = "", i = t.length, o = 0, s; i > o; ) {
2555
+ if (s = t[o++], s > 1114111)
2556
+ throw RangeError(s + " is not a valid code point");
2557
+ n += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
2560
2558
  }
2561
2559
  return n;
2562
2560
  }
2563
- ), lt = (
2561
+ ), ut = (
2564
2562
  // native
2565
- mn ? Object.fromEntries : (
2563
+ gn ? Object.fromEntries : (
2566
2564
  // Ponyfill
2567
2565
  function(t) {
2568
2566
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
2569
- var s = i[n], o = s[0], u = s[1];
2570
- r[o] = u;
2567
+ var o = i[n], s = o[0], u = o[1];
2568
+ r[s] = u;
2571
2569
  }
2572
2570
  return r;
2573
2571
  }
2574
2572
  )
2575
- ), jt = pn ? (
2573
+ ), Dt = mn ? (
2576
2574
  // Native
2577
2575
  function(t, r) {
2578
2576
  return t.codePointAt(r);
@@ -2582,11 +2580,11 @@ var ht = fn ? (
2582
2580
  function(t, r) {
2583
2581
  var n = t.length;
2584
2582
  if (!(r < 0 || r >= n)) {
2585
- var i = t.charCodeAt(r), s;
2586
- return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2583
+ var i = t.charCodeAt(r), o;
2584
+ return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2587
2585
  }
2588
2586
  }
2589
- ), _n = dn ? (
2587
+ ), En = pn ? (
2590
2588
  // Native
2591
2589
  function(t) {
2592
2590
  return t.trimStart();
@@ -2594,9 +2592,9 @@ var ht = fn ? (
2594
2592
  ) : (
2595
2593
  // Ponyfill
2596
2594
  function(t) {
2597
- return t.replace(ln, "");
2595
+ return t.replace(hn, "");
2598
2596
  }
2599
- ), vn = bn ? (
2597
+ ), _n = dn ? (
2600
2598
  // Native
2601
2599
  function(t) {
2602
2600
  return t.trimEnd();
@@ -2604,32 +2602,32 @@ var ht = fn ? (
2604
2602
  ) : (
2605
2603
  // Ponyfill
2606
2604
  function(t) {
2607
- return t.replace(cn, "");
2605
+ return t.replace(ln, "");
2608
2606
  }
2609
2607
  );
2610
- function kt(e, t) {
2608
+ function Ft(e, t) {
2611
2609
  return new RegExp(e, t);
2612
2610
  }
2613
2611
  var Ge;
2614
2612
  if (Re) {
2615
- var ct = kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2613
+ var ht = Ft("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2616
2614
  Ge = function(t, r) {
2617
2615
  var n;
2618
- ct.lastIndex = r;
2619
- var i = ct.exec(t);
2616
+ ht.lastIndex = r;
2617
+ var i = ht.exec(t);
2620
2618
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2621
2619
  };
2622
2620
  } else
2623
2621
  Ge = function(t, r) {
2624
2622
  for (var n = []; ; ) {
2625
- var i = jt(t, r);
2626
- if (i === void 0 || Vt(i) || An(i))
2623
+ var i = Dt(t, r);
2624
+ if (i === void 0 || jt(i) || Hn(i))
2627
2625
  break;
2628
2626
  n.push(i), r += i >= 65536 ? 2 : 1;
2629
2627
  }
2630
2628
  return Ue.apply(void 0, n);
2631
2629
  };
2632
- var Tn = (
2630
+ var vn = (
2633
2631
  /** @class */
2634
2632
  function() {
2635
2633
  function e(t, r) {
@@ -2641,35 +2639,35 @@ var Tn = (
2641
2639
  return this.parseMessage(0, "", !1);
2642
2640
  }, e.prototype.parseMessage = function(t, r, n) {
2643
2641
  for (var i = []; !this.isEOF(); ) {
2644
- var s = this.char();
2645
- if (s === 123) {
2646
- var o = this.parseArgument(t, n);
2647
- if (o.err)
2648
- return o;
2649
- i.push(o.val);
2642
+ var o = this.char();
2643
+ if (o === 123) {
2644
+ var s = this.parseArgument(t, n);
2645
+ if (s.err)
2646
+ return s;
2647
+ i.push(s.val);
2650
2648
  } else {
2651
- if (s === 125 && t > 0)
2649
+ if (o === 125 && t > 0)
2652
2650
  break;
2653
- if (s === 35 && (r === "plural" || r === "selectordinal")) {
2651
+ if (o === 35 && (r === "plural" || r === "selectordinal")) {
2654
2652
  var u = this.clonePosition();
2655
2653
  this.bump(), i.push({
2656
2654
  type: T.pound,
2657
2655
  location: x(u, this.clonePosition())
2658
2656
  });
2659
- } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2657
+ } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
2660
2658
  if (n)
2661
2659
  break;
2662
2660
  return this.error(y.UNMATCHED_CLOSING_TAG, x(this.clonePosition(), this.clonePosition()));
2663
- } else if (s === 60 && !this.ignoreTag && De(this.peek() || 0)) {
2664
- var o = this.parseTag(t, r);
2665
- if (o.err)
2666
- return o;
2667
- i.push(o.val);
2661
+ } else if (o === 60 && !this.ignoreTag && De(this.peek() || 0)) {
2662
+ var s = this.parseTag(t, r);
2663
+ if (s.err)
2664
+ return s;
2665
+ i.push(s.val);
2668
2666
  } else {
2669
- var o = this.parseLiteral(t, r);
2670
- if (o.err)
2671
- return o;
2672
- i.push(o.val);
2667
+ var s = this.parseLiteral(t, r);
2668
+ if (s.err)
2669
+ return s;
2670
+ i.push(s.val);
2673
2671
  }
2674
2672
  }
2675
2673
  }
@@ -2688,10 +2686,10 @@ var Tn = (
2688
2686
  err: null
2689
2687
  };
2690
2688
  if (this.bumpIf(">")) {
2691
- var s = this.parseMessage(t + 1, r, !0);
2692
- if (s.err)
2693
- return s;
2694
- var o = s.val, u = this.clonePosition();
2689
+ var o = this.parseMessage(t + 1, r, !0);
2690
+ if (o.err)
2691
+ return o;
2692
+ var s = o.val, u = this.clonePosition();
2695
2693
  if (this.bumpIf("</")) {
2696
2694
  if (this.isEOF() || !De(this.char()))
2697
2695
  return this.error(y.INVALID_TAG, x(u, this.clonePosition()));
@@ -2700,7 +2698,7 @@ var Tn = (
2700
2698
  val: {
2701
2699
  type: T.tag,
2702
2700
  value: i,
2703
- children: o,
2701
+ children: s,
2704
2702
  location: x(n, this.clonePosition())
2705
2703
  },
2706
2704
  err: null
@@ -2716,16 +2714,16 @@ var Tn = (
2716
2714
  return this.message.slice(t, this.offset());
2717
2715
  }, e.prototype.parseLiteral = function(t, r) {
2718
2716
  for (var n = this.clonePosition(), i = ""; ; ) {
2719
- var s = this.tryParseQuote(r);
2720
- if (s) {
2721
- i += s;
2722
- continue;
2723
- }
2724
- var o = this.tryParseUnquoted(t, r);
2717
+ var o = this.tryParseQuote(r);
2725
2718
  if (o) {
2726
2719
  i += o;
2727
2720
  continue;
2728
2721
  }
2722
+ var s = this.tryParseUnquoted(t, r);
2723
+ if (s) {
2724
+ i += s;
2725
+ continue;
2726
+ }
2729
2727
  var u = this.tryParseLeftAngleBracket();
2730
2728
  if (u) {
2731
2729
  i += u;
@@ -2740,7 +2738,7 @@ var Tn = (
2740
2738
  };
2741
2739
  }, e.prototype.tryParseLeftAngleBracket = function() {
2742
2740
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2743
- !Hn(this.peek() || 0)) ? (this.bump(), "<") : null;
2741
+ !Tn(this.peek() || 0)) ? (this.bump(), "<") : null;
2744
2742
  }, e.prototype.tryParseQuote = function(t) {
2745
2743
  if (this.isEOF() || this.char() !== 39)
2746
2744
  return null;
@@ -2810,13 +2808,13 @@ var Tn = (
2810
2808
  }, e.prototype.parseIdentifierIfPossible = function() {
2811
2809
  var t = this.clonePosition(), r = this.offset(), n = Ge(this.message, r), i = r + n.length;
2812
2810
  this.bumpTo(i);
2813
- var s = this.clonePosition(), o = x(t, s);
2814
- return { value: n, location: o };
2811
+ var o = this.clonePosition(), s = x(t, o);
2812
+ return { value: n, location: s };
2815
2813
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
2816
- var s, o = this.clonePosition(), u = this.parseIdentifierIfPossible().value, h = this.clonePosition();
2814
+ var o, s = this.clonePosition(), u = this.parseIdentifierIfPossible().value, h = this.clonePosition();
2817
2815
  switch (u) {
2818
2816
  case "":
2819
- return this.error(y.EXPECT_ARGUMENT_TYPE, x(o, h));
2817
+ return this.error(y.EXPECT_ARGUMENT_TYPE, x(s, h));
2820
2818
  case "number":
2821
2819
  case "date":
2822
2820
  case "time": {
@@ -2824,40 +2822,40 @@ var Tn = (
2824
2822
  var a = null;
2825
2823
  if (this.bumpIf(",")) {
2826
2824
  this.bumpSpace();
2827
- var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
2828
- if (f.err)
2829
- return f;
2830
- var c = vn(f.val);
2831
- if (c.length === 0)
2825
+ var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2826
+ if (c.err)
2827
+ return c;
2828
+ var f = _n(c.val);
2829
+ if (f.length === 0)
2832
2830
  return this.error(y.EXPECT_ARGUMENT_STYLE, x(this.clonePosition(), this.clonePosition()));
2833
2831
  var p = x(l, this.clonePosition());
2834
- a = { style: c, styleLocation: p };
2832
+ a = { style: f, styleLocation: p };
2835
2833
  }
2836
2834
  var d = this.tryParseArgumentClose(i);
2837
2835
  if (d.err)
2838
2836
  return d;
2839
2837
  var g = x(i, this.clonePosition());
2840
- if (a && ht(a == null ? void 0 : a.style, "::", 0)) {
2841
- var _ = _n(a.style.slice(2));
2838
+ if (a && at(a == null ? void 0 : a.style, "::", 0)) {
2839
+ var _ = En(a.style.slice(2));
2842
2840
  if (u === "number") {
2843
- var f = this.parseNumberSkeletonFromString(_, a.styleLocation);
2844
- return f.err ? f : {
2845
- val: { type: T.number, value: n, location: g, style: f.val },
2841
+ var c = this.parseNumberSkeletonFromString(_, a.styleLocation);
2842
+ return c.err ? c : {
2843
+ val: { type: T.number, value: n, location: g, style: c.val },
2846
2844
  err: null
2847
2845
  };
2848
2846
  } else {
2849
2847
  if (_.length === 0)
2850
2848
  return this.error(y.EXPECT_DATE_TIME_SKELETON, g);
2851
2849
  var m = _;
2852
- this.locale && (m = un(_, this.locale));
2853
- var c = {
2850
+ this.locale && (m = an(_, this.locale));
2851
+ var f = {
2854
2852
  type: Q.dateTime,
2855
2853
  pattern: m,
2856
2854
  location: a.styleLocation,
2857
- parsedOptions: this.shouldParseSkeletons ? en(m) : {}
2858
- }, H = u === "date" ? T.date : T.time;
2855
+ parsedOptions: this.shouldParseSkeletons ? Kr(m) : {}
2856
+ }, C = u === "date" ? T.date : T.time;
2859
2857
  return {
2860
- val: { type: H, value: n, location: g, style: c },
2858
+ val: { type: C, value: n, location: g, style: f },
2861
2859
  err: null
2862
2860
  };
2863
2861
  }
@@ -2867,7 +2865,7 @@ var Tn = (
2867
2865
  type: u === "number" ? T.number : u === "date" ? T.date : T.time,
2868
2866
  value: n,
2869
2867
  location: g,
2870
- style: (s = a == null ? void 0 : a.style) !== null && s !== void 0 ? s : null
2868
+ style: (o = a == null ? void 0 : a.style) !== null && o !== void 0 ? o : null
2871
2869
  },
2872
2870
  err: null
2873
2871
  };
@@ -2884,14 +2882,14 @@ var Tn = (
2884
2882
  if (!this.bumpIf(":"))
2885
2883
  return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, x(this.clonePosition(), this.clonePosition()));
2886
2884
  this.bumpSpace();
2887
- var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2888
- if (f.err)
2889
- return f;
2890
- this.bumpSpace(), P = this.parseIdentifierIfPossible(), S = f.val;
2885
+ var c = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2886
+ if (c.err)
2887
+ return c;
2888
+ this.bumpSpace(), P = this.parseIdentifierIfPossible(), S = c.val;
2891
2889
  }
2892
- var C = this.tryParsePluralOrSelectOptions(t, u, r, P);
2893
- if (C.err)
2894
- return C;
2890
+ var H = this.tryParsePluralOrSelectOptions(t, u, r, P);
2891
+ if (H.err)
2892
+ return H;
2895
2893
  var d = this.tryParseArgumentClose(i);
2896
2894
  if (d.err)
2897
2895
  return d;
@@ -2900,7 +2898,7 @@ var Tn = (
2900
2898
  val: {
2901
2899
  type: T.select,
2902
2900
  value: n,
2903
- options: lt(C.val),
2901
+ options: ut(H.val),
2904
2902
  location: N
2905
2903
  },
2906
2904
  err: null
@@ -2908,7 +2906,7 @@ var Tn = (
2908
2906
  val: {
2909
2907
  type: T.plural,
2910
2908
  value: n,
2911
- options: lt(C.val),
2909
+ options: ut(H.val),
2912
2910
  offset: S,
2913
2911
  pluralType: u === "plural" ? "cardinal" : "ordinal",
2914
2912
  location: N
@@ -2917,7 +2915,7 @@ var Tn = (
2917
2915
  };
2918
2916
  }
2919
2917
  default:
2920
- return this.error(y.INVALID_ARGUMENT_TYPE, x(o, h));
2918
+ return this.error(y.INVALID_ARGUMENT_TYPE, x(s, h));
2921
2919
  }
2922
2920
  }, e.prototype.tryParseArgumentClose = function(t) {
2923
2921
  return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, x(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
@@ -2959,7 +2957,7 @@ var Tn = (
2959
2957
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2960
2958
  var n = [];
2961
2959
  try {
2962
- n = rn(t);
2960
+ n = tn(t);
2963
2961
  } catch (i) {
2964
2962
  return this.error(y.INVALID_NUMBER_SKELETON, r);
2965
2963
  }
@@ -2968,25 +2966,25 @@ var Tn = (
2968
2966
  type: Q.number,
2969
2967
  tokens: n,
2970
2968
  location: r,
2971
- parsedOptions: this.shouldParseSkeletons ? an(n) : {}
2969
+ parsedOptions: this.shouldParseSkeletons ? sn(n) : {}
2972
2970
  },
2973
2971
  err: null
2974
2972
  };
2975
2973
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
2976
- for (var s, o = !1, u = [], h = /* @__PURE__ */ new Set(), a = i.value, l = i.location; ; ) {
2974
+ for (var o, s = !1, u = [], h = /* @__PURE__ */ new Set(), a = i.value, l = i.location; ; ) {
2977
2975
  if (a.length === 0) {
2978
- var f = this.clonePosition();
2976
+ var c = this.clonePosition();
2979
2977
  if (r !== "select" && this.bumpIf("=")) {
2980
- var c = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
2981
- if (c.err)
2982
- return c;
2983
- l = x(f, this.clonePosition()), a = this.message.slice(f.offset, this.offset());
2978
+ var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
2979
+ if (f.err)
2980
+ return f;
2981
+ l = x(c, this.clonePosition()), a = this.message.slice(c.offset, this.offset());
2984
2982
  } else
2985
2983
  break;
2986
2984
  }
2987
2985
  if (h.has(a))
2988
2986
  return this.error(r === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
2989
- a === "other" && (o = !0), this.bumpSpace();
2987
+ a === "other" && (s = !0), this.bumpSpace();
2990
2988
  var p = this.clonePosition();
2991
2989
  if (!this.bumpIf("{"))
2992
2990
  return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, x(this.clonePosition(), this.clonePosition()));
@@ -3002,21 +3000,21 @@ var Tn = (
3002
3000
  value: d.val,
3003
3001
  location: x(p, this.clonePosition())
3004
3002
  }
3005
- ]), h.add(a), this.bumpSpace(), s = this.parseIdentifierIfPossible(), a = s.value, l = s.location;
3003
+ ]), h.add(a), this.bumpSpace(), o = this.parseIdentifierIfPossible(), a = o.value, l = o.location;
3006
3004
  }
3007
- return u.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, x(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(y.MISSING_OTHER_CLAUSE, x(this.clonePosition(), this.clonePosition())) : { val: u, err: null };
3005
+ return u.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, x(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(y.MISSING_OTHER_CLAUSE, x(this.clonePosition(), this.clonePosition())) : { val: u, err: null };
3008
3006
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3009
3007
  var n = 1, i = this.clonePosition();
3010
3008
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
3011
- for (var s = !1, o = 0; !this.isEOF(); ) {
3009
+ for (var o = !1, s = 0; !this.isEOF(); ) {
3012
3010
  var u = this.char();
3013
3011
  if (u >= 48 && u <= 57)
3014
- s = !0, o = o * 10 + (u - 48), this.bump();
3012
+ o = !0, s = s * 10 + (u - 48), this.bump();
3015
3013
  else
3016
3014
  break;
3017
3015
  }
3018
3016
  var h = x(i, this.clonePosition());
3019
- return s ? (o *= n, xn(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
3017
+ return o ? (s *= n, yn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3020
3018
  }, e.prototype.offset = function() {
3021
3019
  return this.position.offset;
3022
3020
  }, e.prototype.isEOF = function() {
@@ -3031,7 +3029,7 @@ var Tn = (
3031
3029
  var t = this.position.offset;
3032
3030
  if (t >= this.message.length)
3033
3031
  throw Error("out of bound");
3034
- var r = jt(this.message, t);
3032
+ var r = Dt(this.message, t);
3035
3033
  if (r === void 0)
3036
3034
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3037
3035
  return r;
@@ -3050,7 +3048,7 @@ var Tn = (
3050
3048
  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);
3051
3049
  }
3052
3050
  }, e.prototype.bumpIf = function(t) {
3053
- if (ht(this.message, t, this.offset())) {
3051
+ if (at(this.message, t, this.offset())) {
3054
3052
  for (var r = 0; r < t.length; r++)
3055
3053
  this.bump();
3056
3054
  return !0;
@@ -3072,7 +3070,7 @@ var Tn = (
3072
3070
  break;
3073
3071
  }
3074
3072
  }, e.prototype.bumpSpace = function() {
3075
- for (; !this.isEOF() && Vt(this.char()); )
3073
+ for (; !this.isEOF() && jt(this.char()); )
3076
3074
  this.bump();
3077
3075
  }, e.prototype.peek = function() {
3078
3076
  if (this.isEOF())
@@ -3085,30 +3083,30 @@ var Tn = (
3085
3083
  function De(e) {
3086
3084
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3087
3085
  }
3088
- function Hn(e) {
3086
+ function Tn(e) {
3089
3087
  return De(e) || e === 47;
3090
3088
  }
3091
3089
  function Cn(e) {
3092
3090
  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;
3093
3091
  }
3094
- function Vt(e) {
3092
+ function jt(e) {
3095
3093
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3096
3094
  }
3097
- function An(e) {
3095
+ function Hn(e) {
3098
3096
  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;
3099
3097
  }
3100
3098
  function Fe(e) {
3101
3099
  e.forEach(function(t) {
3102
- if (delete t.location, It(t) || Mt(t))
3100
+ if (delete t.location, Nt(t) || Lt(t))
3103
3101
  for (var r in t.options)
3104
3102
  delete t.options[r].location, Fe(t.options[r].value);
3105
3103
  else
3106
- Pt(t) && Rt(t.style) || (Nt(t) || Lt(t)) && $e(t.style) ? delete t.style.location : $t(t) && Fe(t.children);
3104
+ Ot(t) && Mt(t.style) || (wt(t) || Pt(t)) && $e(t.style) ? delete t.style.location : It(t) && Fe(t.children);
3107
3105
  });
3108
3106
  }
3109
- function Bn(e, t) {
3107
+ function An(e, t) {
3110
3108
  t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3111
- var r = new Tn(e, t).parse();
3109
+ var r = new vn(e, t).parse();
3112
3110
  if (r.err) {
3113
3111
  var n = SyntaxError(y[r.err.kind]);
3114
3112
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
@@ -3124,23 +3122,23 @@ var _e = (
3124
3122
  function(e) {
3125
3123
  Ee(t, e);
3126
3124
  function t(r, n, i) {
3127
- var s = e.call(this, r) || this;
3128
- return s.code = n, s.originalMessage = i, s;
3125
+ var o = e.call(this, r) || this;
3126
+ return o.code = n, o.originalMessage = i, o;
3129
3127
  }
3130
3128
  return t.prototype.toString = function() {
3131
3129
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3132
3130
  }, t;
3133
3131
  }(Error)
3134
- ), ft = (
3132
+ ), lt = (
3135
3133
  /** @class */
3136
3134
  function(e) {
3137
3135
  Ee(t, e);
3138
- function t(r, n, i, s) {
3139
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), J.INVALID_VALUE, s) || this;
3136
+ function t(r, n, i, o) {
3137
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), J.INVALID_VALUE, o) || this;
3140
3138
  }
3141
3139
  return t;
3142
3140
  }(_e)
3143
- ), Sn = (
3141
+ ), Bn = (
3144
3142
  /** @class */
3145
3143
  function(e) {
3146
3144
  Ee(t, e);
@@ -3149,7 +3147,7 @@ var _e = (
3149
3147
  }
3150
3148
  return t;
3151
3149
  }(_e)
3152
- ), On = (
3150
+ ), Sn = (
3153
3151
  /** @class */
3154
3152
  function(e) {
3155
3153
  Ee(t, e);
@@ -3162,17 +3160,17 @@ var _e = (
3162
3160
  (function(e) {
3163
3161
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3164
3162
  })(w || (w = {}));
3165
- function wn(e) {
3163
+ function On(e) {
3166
3164
  return e.length < 2 ? e : e.reduce(function(t, r) {
3167
3165
  var n = t[t.length - 1];
3168
3166
  return !n || n.type !== w.literal || r.type !== w.literal ? t.push(r) : n.value += r.value, t;
3169
3167
  }, []);
3170
3168
  }
3171
- function Pn(e) {
3169
+ function wn(e) {
3172
3170
  return typeof e == "function";
3173
3171
  }
3174
- function me(e, t, r, n, i, s, o) {
3175
- if (e.length === 1 && st(e[0]))
3172
+ function me(e, t, r, n, i, o, s) {
3173
+ if (e.length === 1 && nt(e[0]))
3176
3174
  return [
3177
3175
  {
3178
3176
  type: w.literal,
@@ -3181,102 +3179,102 @@ function me(e, t, r, n, i, s, o) {
3181
3179
  ];
3182
3180
  for (var u = [], h = 0, a = e; h < a.length; h++) {
3183
3181
  var l = a[h];
3184
- if (st(l)) {
3182
+ if (nt(l)) {
3185
3183
  u.push({
3186
3184
  type: w.literal,
3187
3185
  value: l.value
3188
3186
  });
3189
3187
  continue;
3190
3188
  }
3191
- if (Yr(l)) {
3192
- typeof s == "number" && u.push({
3189
+ if (qr(l)) {
3190
+ typeof o == "number" && u.push({
3193
3191
  type: w.literal,
3194
- value: r.getNumberFormat(t).format(s)
3192
+ value: r.getNumberFormat(t).format(o)
3195
3193
  });
3196
3194
  continue;
3197
3195
  }
3198
- var f = l.value;
3199
- if (!(i && f in i))
3200
- throw new On(f, o);
3201
- var c = i[f];
3202
- if (qr(l)) {
3203
- (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), u.push({
3204
- type: typeof c == "string" ? w.literal : w.object,
3205
- value: c
3196
+ var c = l.value;
3197
+ if (!(i && c in i))
3198
+ throw new Sn(c, s);
3199
+ var f = i[c];
3200
+ if (Jr(l)) {
3201
+ (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), u.push({
3202
+ type: typeof f == "string" ? w.literal : w.object,
3203
+ value: f
3206
3204
  });
3207
3205
  continue;
3208
3206
  }
3209
- if (Nt(l)) {
3207
+ if (wt(l)) {
3210
3208
  var p = typeof l.style == "string" ? n.date[l.style] : $e(l.style) ? l.style.parsedOptions : void 0;
3211
3209
  u.push({
3212
3210
  type: w.literal,
3213
- value: r.getDateTimeFormat(t, p).format(c)
3211
+ value: r.getDateTimeFormat(t, p).format(f)
3214
3212
  });
3215
3213
  continue;
3216
3214
  }
3217
- if (Lt(l)) {
3215
+ if (Pt(l)) {
3218
3216
  var p = typeof l.style == "string" ? n.time[l.style] : $e(l.style) ? l.style.parsedOptions : n.time.medium;
3219
3217
  u.push({
3220
3218
  type: w.literal,
3221
- value: r.getDateTimeFormat(t, p).format(c)
3219
+ value: r.getDateTimeFormat(t, p).format(f)
3222
3220
  });
3223
3221
  continue;
3224
3222
  }
3225
- if (Pt(l)) {
3226
- var p = typeof l.style == "string" ? n.number[l.style] : Rt(l.style) ? l.style.parsedOptions : void 0;
3227
- p && p.scale && (c = c * (p.scale || 1)), u.push({
3223
+ if (Ot(l)) {
3224
+ var p = typeof l.style == "string" ? n.number[l.style] : Mt(l.style) ? l.style.parsedOptions : void 0;
3225
+ p && p.scale && (f = f * (p.scale || 1)), u.push({
3228
3226
  type: w.literal,
3229
- value: r.getNumberFormat(t, p).format(c)
3227
+ value: r.getNumberFormat(t, p).format(f)
3230
3228
  });
3231
3229
  continue;
3232
3230
  }
3233
- if ($t(l)) {
3231
+ if (It(l)) {
3234
3232
  var d = l.children, g = l.value, _ = i[g];
3235
- if (!Pn(_))
3236
- throw new Sn(g, "function", o);
3237
- var m = me(d, t, r, n, i, s), H = _(m.map(function(S) {
3233
+ if (!wn(_))
3234
+ throw new Bn(g, "function", s);
3235
+ var m = me(d, t, r, n, i, o), C = _(m.map(function(S) {
3238
3236
  return S.value;
3239
3237
  }));
3240
- Array.isArray(H) || (H = [H]), u.push.apply(u, H.map(function(S) {
3238
+ Array.isArray(C) || (C = [C]), u.push.apply(u, C.map(function(S) {
3241
3239
  return {
3242
3240
  type: typeof S == "string" ? w.literal : w.object,
3243
3241
  value: S
3244
3242
  };
3245
3243
  }));
3246
3244
  }
3247
- if (It(l)) {
3248
- var B = l.options[c] || l.options.other;
3245
+ if (Nt(l)) {
3246
+ var B = l.options[f] || l.options.other;
3249
3247
  if (!B)
3250
- throw new ft(l.value, c, Object.keys(l.options), o);
3248
+ throw new lt(l.value, f, Object.keys(l.options), s);
3251
3249
  u.push.apply(u, me(B.value, t, r, n, i));
3252
3250
  continue;
3253
3251
  }
3254
- if (Mt(l)) {
3255
- var B = l.options["=".concat(c)];
3252
+ if (Lt(l)) {
3253
+ var B = l.options["=".concat(f)];
3256
3254
  if (!B) {
3257
3255
  if (!Intl.PluralRules)
3258
3256
  throw new _e(`Intl.PluralRules is not available in this environment.
3259
3257
  Try polyfilling it using "@formatjs/intl-pluralrules"
3260
- `, J.MISSING_INTL_API, o);
3261
- var P = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3258
+ `, J.MISSING_INTL_API, s);
3259
+ var P = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
3262
3260
  B = l.options[P] || l.options.other;
3263
3261
  }
3264
3262
  if (!B)
3265
- throw new ft(l.value, c, Object.keys(l.options), o);
3266
- u.push.apply(u, me(B.value, t, r, n, i, c - (l.offset || 0)));
3263
+ throw new lt(l.value, f, Object.keys(l.options), s);
3264
+ u.push.apply(u, me(B.value, t, r, n, i, f - (l.offset || 0)));
3267
3265
  continue;
3268
3266
  }
3269
3267
  }
3270
- return wn(u);
3268
+ return On(u);
3271
3269
  }
3272
- function Nn(e, t) {
3270
+ function Pn(e, t) {
3273
3271
  return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3274
3272
  return r[n] = E(E({}, e[n]), t[n] || {}), r;
3275
3273
  }, {})) : e;
3276
3274
  }
3277
- function Ln(e, t) {
3275
+ function Nn(e, t) {
3278
3276
  return t ? Object.keys(e).reduce(function(r, n) {
3279
- return r[n] = Nn(e[n], t[n]), r;
3277
+ return r[n] = Pn(e[n], t[n]), r;
3280
3278
  }, E({}, e)) : e;
3281
3279
  }
3282
3280
  function we(e) {
@@ -3293,7 +3291,7 @@ function we(e) {
3293
3291
  }
3294
3292
  };
3295
3293
  }
3296
- function In(e) {
3294
+ function Ln(e) {
3297
3295
  return e === void 0 && (e = {
3298
3296
  number: {},
3299
3297
  dateTime: {},
@@ -3325,45 +3323,45 @@ function In(e) {
3325
3323
  })
3326
3324
  };
3327
3325
  }
3328
- var Mn = (
3326
+ var In = (
3329
3327
  /** @class */
3330
3328
  function() {
3331
3329
  function e(t, r, n, i) {
3332
3330
  r === void 0 && (r = e.defaultLocale);
3333
- var s = this;
3331
+ var o = this;
3334
3332
  if (this.formatterCache = {
3335
3333
  number: {},
3336
3334
  dateTime: {},
3337
3335
  pluralRules: {}
3338
3336
  }, this.format = function(h) {
3339
- var a = s.formatToParts(h);
3337
+ var a = o.formatToParts(h);
3340
3338
  if (a.length === 1)
3341
3339
  return a[0].value;
3342
- var l = a.reduce(function(f, c) {
3343
- return !f.length || c.type !== w.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3340
+ var l = a.reduce(function(c, f) {
3341
+ return !c.length || f.type !== w.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3344
3342
  }, []);
3345
3343
  return l.length <= 1 ? l[0] || "" : l;
3346
3344
  }, this.formatToParts = function(h) {
3347
- return me(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
3345
+ return me(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3348
3346
  }, this.resolvedOptions = function() {
3349
3347
  var h;
3350
3348
  return {
3351
- locale: ((h = s.resolvedLocale) === null || h === void 0 ? void 0 : h.toString()) || Intl.NumberFormat.supportedLocalesOf(s.locales)[0]
3349
+ locale: ((h = o.resolvedLocale) === null || h === void 0 ? void 0 : h.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
3352
3350
  };
3353
3351
  }, this.getAst = function() {
3354
- return s.ast;
3352
+ return o.ast;
3355
3353
  }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
3356
3354
  if (this.message = t, !e.__parse)
3357
3355
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3358
- var o = i || {};
3359
- o.formatters;
3360
- var u = Vr(o, ["formatters"]);
3356
+ var s = i || {};
3357
+ s.formatters;
3358
+ var u = jr(s, ["formatters"]);
3361
3359
  this.ast = e.__parse(t, E(E({}, u), { locale: this.resolvedLocale }));
3362
3360
  } else
3363
3361
  this.ast = t;
3364
3362
  if (!Array.isArray(this.ast))
3365
3363
  throw new TypeError("A message must be provided as a String or AST.");
3366
- this.formats = Ln(e.formats, n), this.formatters = i && i.formatters || In(this.formatterCache);
3364
+ this.formats = Nn(e.formats, n), this.formatters = i && i.formatters || Ln(this.formatterCache);
3367
3365
  }
3368
3366
  return Object.defineProperty(e, "defaultLocale", {
3369
3367
  get: function() {
@@ -3376,7 +3374,7 @@ var Mn = (
3376
3374
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3377
3375
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3378
3376
  }
3379
- }, e.__parse = Bn, e.formats = {
3377
+ }, e.__parse = An, e.formats = {
3380
3378
  number: {
3381
3379
  integer: {
3382
3380
  maximumFractionDigits: 0
@@ -3437,7 +3435,7 @@ var Mn = (
3437
3435
  }, e;
3438
3436
  }()
3439
3437
  );
3440
- function $n(e, t) {
3438
+ function Mn(e, t) {
3441
3439
  if (t == null)
3442
3440
  return;
3443
3441
  if (t in e)
@@ -3447,9 +3445,9 @@ function $n(e, t) {
3447
3445
  for (let i = 0; i < r.length; i++)
3448
3446
  if (typeof n == "object") {
3449
3447
  if (i > 0) {
3450
- const s = r.slice(i, r.length).join(".");
3451
- if (s in n) {
3452
- n = n[s];
3448
+ const o = r.slice(i, r.length).join(".");
3449
+ if (o in n) {
3450
+ n = n[o];
3453
3451
  break;
3454
3452
  }
3455
3453
  }
@@ -3458,60 +3456,60 @@ function $n(e, t) {
3458
3456
  n = void 0;
3459
3457
  return n;
3460
3458
  }
3461
- const G = {}, Rn = (e, t, r) => r && (t in G || (G[t] = {}), e in G[t] || (G[t][e] = r), r), Xt = (e, t) => {
3459
+ const G = {}, $n = (e, t, r) => r && (t in G || (G[t] = {}), e in G[t] || (G[t][e] = r), r), kt = (e, t) => {
3462
3460
  if (t == null)
3463
3461
  return;
3464
3462
  if (t in G && e in G[t])
3465
3463
  return G[t][e];
3466
3464
  const r = ve(t);
3467
3465
  for (let n = 0; n < r.length; n++) {
3468
- const i = r[n], s = Gn(i, e);
3469
- if (s)
3470
- return Rn(e, t, s);
3466
+ const i = r[n], o = Un(i, e);
3467
+ if (o)
3468
+ return $n(e, t, o);
3471
3469
  }
3472
3470
  };
3473
- let We;
3471
+ let Xe;
3474
3472
  const ue = xe({});
3475
- function Un(e) {
3476
- return We[e] || null;
3473
+ function Rn(e) {
3474
+ return Xe[e] || null;
3477
3475
  }
3478
- function zt(e) {
3479
- return e in We;
3476
+ function Vt(e) {
3477
+ return e in Xe;
3480
3478
  }
3481
- function Gn(e, t) {
3482
- if (!zt(e))
3479
+ function Un(e, t) {
3480
+ if (!Vt(e))
3483
3481
  return null;
3484
- const r = Un(e);
3485
- return $n(r, t);
3482
+ const r = Rn(e);
3483
+ return Mn(r, t);
3486
3484
  }
3487
- function Dn(e) {
3485
+ function Gn(e) {
3488
3486
  if (e == null)
3489
3487
  return;
3490
3488
  const t = ve(e);
3491
3489
  for (let r = 0; r < t.length; r++) {
3492
3490
  const n = t[r];
3493
- if (zt(n))
3491
+ if (Vt(n))
3494
3492
  return n;
3495
3493
  }
3496
3494
  }
3497
- function Wt(e, ...t) {
3498
- delete G[e], ue.update((r) => (r[e] = kr.all([r[e] || {}, ...t]), r));
3495
+ function Xt(e, ...t) {
3496
+ delete G[e], ue.update((r) => (r[e] = Fr.all([r[e] || {}, ...t]), r));
3499
3497
  }
3500
3498
  K(
3501
3499
  [ue],
3502
3500
  ([e]) => Object.keys(e)
3503
3501
  );
3504
- ue.subscribe((e) => We = e);
3502
+ ue.subscribe((e) => Xe = e);
3505
3503
  const pe = {};
3506
- function Fn(e, t) {
3504
+ function Dn(e, t) {
3507
3505
  pe[e].delete(t), pe[e].size === 0 && delete pe[e];
3508
3506
  }
3509
- function Zt(e) {
3507
+ function zt(e) {
3510
3508
  return pe[e];
3511
3509
  }
3512
- function jn(e) {
3510
+ function Fn(e) {
3513
3511
  return ve(e).map((t) => {
3514
- const r = Zt(t);
3512
+ const r = zt(t);
3515
3513
  return [t, r ? [...r] : []];
3516
3514
  }).filter(([, t]) => t.length > 0);
3517
3515
  }
@@ -3519,31 +3517,31 @@ function je(e) {
3519
3517
  return e == null ? !1 : ve(e).some(
3520
3518
  (t) => {
3521
3519
  var r;
3522
- return (r = Zt(t)) == null ? void 0 : r.size;
3520
+ return (r = zt(t)) == null ? void 0 : r.size;
3523
3521
  }
3524
3522
  );
3525
3523
  }
3526
- function kn(e, t) {
3524
+ function jn(e, t) {
3527
3525
  return Promise.all(
3528
- t.map((n) => (Fn(e, n), n().then((i) => i.default || i)))
3529
- ).then((n) => Wt(e, ...n));
3526
+ t.map((n) => (Dn(e, n), n().then((i) => i.default || i)))
3527
+ ).then((n) => Xt(e, ...n));
3530
3528
  }
3531
3529
  const re = {};
3532
- function Qt(e) {
3530
+ function Wt(e) {
3533
3531
  if (!je(e))
3534
3532
  return e in re ? re[e] : Promise.resolve();
3535
- const t = jn(e);
3533
+ const t = Fn(e);
3536
3534
  return re[e] = Promise.all(
3537
3535
  t.map(
3538
- ([r, n]) => kn(r, n)
3536
+ ([r, n]) => jn(r, n)
3539
3537
  )
3540
3538
  ).then(() => {
3541
3539
  if (je(e))
3542
- return Qt(e);
3540
+ return Wt(e);
3543
3541
  delete re[e];
3544
3542
  }), re[e];
3545
3543
  }
3546
- const Vn = {
3544
+ const kn = {
3547
3545
  number: {
3548
3546
  scientific: { notation: "scientific" },
3549
3547
  engineering: { notation: "engineering" },
@@ -3572,34 +3570,34 @@ const Vn = {
3572
3570
  timeZoneName: "short"
3573
3571
  }
3574
3572
  }
3575
- }, Xn = {
3573
+ }, Vn = {
3576
3574
  fallbackLocale: null,
3577
3575
  loadingDelay: 200,
3578
- formats: Vn,
3576
+ formats: kn,
3579
3577
  warnOnMissingMessages: !0,
3580
3578
  handleMissingMessage: void 0,
3581
3579
  ignoreTag: !0
3582
- }, zn = Xn;
3580
+ }, Xn = Vn;
3583
3581
  function q() {
3584
- return zn;
3582
+ return Xn;
3585
3583
  }
3586
3584
  const Pe = xe(!1);
3587
- var Wn = Object.defineProperty, Zn = Object.defineProperties, Qn = Object.getOwnPropertyDescriptors, gt = Object.getOwnPropertySymbols, Jn = Object.prototype.hasOwnProperty, qn = Object.prototype.propertyIsEnumerable, mt = (e, t, r) => t in e ? Wn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Yn = (e, t) => {
3585
+ var zn = Object.defineProperty, Wn = Object.defineProperties, Zn = Object.getOwnPropertyDescriptors, ft = Object.getOwnPropertySymbols, Qn = Object.prototype.hasOwnProperty, Jn = Object.prototype.propertyIsEnumerable, ct = (e, t, r) => t in e ? zn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, qn = (e, t) => {
3588
3586
  for (var r in t || (t = {}))
3589
- Jn.call(t, r) && mt(e, r, t[r]);
3590
- if (gt)
3591
- for (var r of gt(t))
3592
- qn.call(t, r) && mt(e, r, t[r]);
3587
+ Qn.call(t, r) && ct(e, r, t[r]);
3588
+ if (ft)
3589
+ for (var r of ft(t))
3590
+ Jn.call(t, r) && ct(e, r, t[r]);
3593
3591
  return e;
3594
- }, Kn = (e, t) => Zn(e, Qn(t));
3592
+ }, Yn = (e, t) => Wn(e, Zn(t));
3595
3593
  let ke;
3596
3594
  const be = xe(null);
3597
- function pt(e) {
3595
+ function gt(e) {
3598
3596
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3599
3597
  }
3600
3598
  function ve(e, t = q().fallbackLocale) {
3601
- const r = pt(e);
3602
- return t ? [.../* @__PURE__ */ new Set([...r, ...pt(t)])] : r;
3599
+ const r = gt(e);
3600
+ return t ? [.../* @__PURE__ */ new Set([...r, ...gt(t)])] : r;
3603
3601
  }
3604
3602
  function k() {
3605
3603
  return ke != null ? ke : void 0;
@@ -3607,22 +3605,22 @@ function k() {
3607
3605
  be.subscribe((e) => {
3608
3606
  ke = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3609
3607
  });
3610
- const ei = (e) => {
3611
- if (e && Dn(e) && je(e)) {
3608
+ const Kn = (e) => {
3609
+ if (e && Gn(e) && je(e)) {
3612
3610
  const { loadingDelay: t } = q();
3613
3611
  let r;
3614
3612
  return typeof window != "undefined" && k() != null && t ? r = window.setTimeout(
3615
3613
  () => Pe.set(!0),
3616
3614
  t
3617
- ) : Pe.set(!0), Qt(e).then(() => {
3615
+ ) : Pe.set(!0), Wt(e).then(() => {
3618
3616
  be.set(e);
3619
3617
  }).finally(() => {
3620
3618
  clearTimeout(r), Pe.set(!1);
3621
3619
  });
3622
3620
  }
3623
3621
  return be.set(e);
3624
- }, ee = Kn(Yn({}, be), {
3625
- set: ei
3622
+ }, ee = Yn(qn({}, be), {
3623
+ set: Kn
3626
3624
  }), Te = (e) => {
3627
3625
  const t = /* @__PURE__ */ Object.create(null);
3628
3626
  return (n) => {
@@ -3630,120 +3628,120 @@ const ei = (e) => {
3630
3628
  return i in t ? t[i] : t[i] = e(n);
3631
3629
  };
3632
3630
  };
3633
- var ti = Object.defineProperty, ye = Object.getOwnPropertySymbols, Jt = Object.prototype.hasOwnProperty, qt = Object.prototype.propertyIsEnumerable, dt = (e, t, r) => t in e ? ti(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ze = (e, t) => {
3631
+ var ei = Object.defineProperty, ye = Object.getOwnPropertySymbols, Zt = Object.prototype.hasOwnProperty, Qt = Object.prototype.propertyIsEnumerable, mt = (e, t, r) => t in e ? ei(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ze = (e, t) => {
3634
3632
  for (var r in t || (t = {}))
3635
- Jt.call(t, r) && dt(e, r, t[r]);
3633
+ Zt.call(t, r) && mt(e, r, t[r]);
3636
3634
  if (ye)
3637
3635
  for (var r of ye(t))
3638
- qt.call(t, r) && dt(e, r, t[r]);
3636
+ Qt.call(t, r) && mt(e, r, t[r]);
3639
3637
  return e;
3640
3638
  }, te = (e, t) => {
3641
3639
  var r = {};
3642
3640
  for (var n in e)
3643
- Jt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3641
+ Zt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3644
3642
  if (e != null && ye)
3645
3643
  for (var n of ye(e))
3646
- t.indexOf(n) < 0 && qt.call(e, n) && (r[n] = e[n]);
3644
+ t.indexOf(n) < 0 && Qt.call(e, n) && (r[n] = e[n]);
3647
3645
  return r;
3648
3646
  };
3649
- const oe = (e, t) => {
3647
+ const se = (e, t) => {
3650
3648
  const { formats: r } = q();
3651
3649
  if (e in r && t in r[e])
3652
3650
  return r[e][t];
3653
3651
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3654
- }, ri = Te(
3652
+ }, ti = Te(
3655
3653
  (e) => {
3656
3654
  var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
3657
3655
  if (r == null)
3658
3656
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3659
- return n && (i = oe("number", n)), new Intl.NumberFormat(r, i);
3657
+ return n && (i = se("number", n)), new Intl.NumberFormat(r, i);
3660
3658
  }
3661
- ), ni = Te(
3659
+ ), ri = Te(
3662
3660
  (e) => {
3663
3661
  var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
3664
3662
  if (r == null)
3665
3663
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3666
- return n ? i = oe("date", n) : Object.keys(i).length === 0 && (i = oe("date", "short")), new Intl.DateTimeFormat(r, i);
3664
+ return n ? i = se("date", n) : Object.keys(i).length === 0 && (i = se("date", "short")), new Intl.DateTimeFormat(r, i);
3667
3665
  }
3668
- ), ii = Te(
3666
+ ), ni = Te(
3669
3667
  (e) => {
3670
3668
  var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
3671
3669
  if (r == null)
3672
3670
  throw new Error(
3673
3671
  '[svelte-i18n] A "locale" must be set to format time values'
3674
3672
  );
3675
- return n ? i = oe("time", n) : Object.keys(i).length === 0 && (i = oe("time", "short")), new Intl.DateTimeFormat(r, i);
3673
+ return n ? i = se("time", n) : Object.keys(i).length === 0 && (i = se("time", "short")), new Intl.DateTimeFormat(r, i);
3676
3674
  }
3677
- ), si = (e = {}) => {
3675
+ ), ii = (e = {}) => {
3678
3676
  var t = e, {
3679
3677
  locale: r = k()
3680
3678
  } = t, n = te(t, [
3681
3679
  "locale"
3682
3680
  ]);
3683
- return ri(Ze({ locale: r }, n));
3681
+ return ti(ze({ locale: r }, n));
3684
3682
  }, oi = (e = {}) => {
3685
3683
  var t = e, {
3686
3684
  locale: r = k()
3687
3685
  } = t, n = te(t, [
3688
3686
  "locale"
3689
3687
  ]);
3690
- return ni(Ze({ locale: r }, n));
3691
- }, ai = (e = {}) => {
3688
+ return ri(ze({ locale: r }, n));
3689
+ }, si = (e = {}) => {
3692
3690
  var t = e, {
3693
3691
  locale: r = k()
3694
3692
  } = t, n = te(t, [
3695
3693
  "locale"
3696
3694
  ]);
3697
- return ii(Ze({ locale: r }, n));
3698
- }, ui = Te(
3695
+ return ni(ze({ locale: r }, n));
3696
+ }, ai = Te(
3699
3697
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3700
- (e, t = k()) => new Mn(e, t, q().formats, {
3698
+ (e, t = k()) => new In(e, t, q().formats, {
3701
3699
  ignoreTag: q().ignoreTag
3702
3700
  })
3703
- ), hi = (e, t = {}) => {
3704
- var r, n, i, s;
3705
- let o = t;
3706
- typeof e == "object" && (o = e, e = o.id);
3701
+ ), ui = (e, t = {}) => {
3702
+ var r, n, i, o;
3703
+ let s = t;
3704
+ typeof e == "object" && (s = e, e = s.id);
3707
3705
  const {
3708
3706
  values: u,
3709
3707
  locale: h = k(),
3710
3708
  default: a
3711
- } = o;
3709
+ } = s;
3712
3710
  if (h == null)
3713
3711
  throw new Error(
3714
3712
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3715
3713
  );
3716
- let l = Xt(e, h);
3714
+ let l = kt(e, h);
3717
3715
  if (!l)
3718
- l = (s = (i = (n = (r = q()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: a })) != null ? i : a) != null ? s : e;
3716
+ l = (o = (i = (n = (r = q()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: a })) != null ? i : a) != null ? o : e;
3719
3717
  else if (typeof l != "string")
3720
3718
  return console.warn(
3721
3719
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
3722
3720
  ), l;
3723
3721
  if (!u)
3724
3722
  return l;
3725
- let f = l;
3723
+ let c = l;
3726
3724
  try {
3727
- f = ui(l, h).format(u);
3728
- } catch (c) {
3729
- c instanceof Error && console.warn(
3725
+ c = ai(l, h).format(u);
3726
+ } catch (f) {
3727
+ f instanceof Error && console.warn(
3730
3728
  `[svelte-i18n] Message "${e}" has syntax error:`,
3731
- c.message
3729
+ f.message
3732
3730
  );
3733
3731
  }
3734
- return f;
3735
- }, li = (e, t) => ai(t).format(e), ci = (e, t) => oi(t).format(e), fi = (e, t) => si(t).format(e), gi = (e, t = k()) => Xt(e, t), mi = K([ee, ue], () => hi);
3732
+ return c;
3733
+ }, hi = (e, t) => si(t).format(e), li = (e, t) => oi(t).format(e), fi = (e, t) => ii(t).format(e), ci = (e, t = k()) => kt(e, t), gi = K([ee, ue], () => ui);
3734
+ K([ee], () => hi);
3736
3735
  K([ee], () => li);
3737
- K([ee], () => ci);
3738
3736
  K([ee], () => fi);
3739
- K([ee, ue], () => gi);
3740
- function bt(e, t) {
3741
- Wt(e, t);
3737
+ K([ee, ue], () => ci);
3738
+ function pt(e, t) {
3739
+ Xt(e, t);
3742
3740
  }
3743
- function pi(e) {
3741
+ function mi(e) {
3744
3742
  ee.set(e);
3745
3743
  }
3746
- const yt = {
3744
+ const dt = {
3747
3745
  en: {
3748
3746
  topCategories: "Top Categories",
3749
3747
  otherCategories: "Other Categories",
@@ -3853,13 +3851,13 @@ const yt = {
3853
3851
  games: "games"
3854
3852
  }
3855
3853
  };
3856
- function di(e, t) {
3854
+ function pi(e, t) {
3857
3855
  if (e) {
3858
3856
  const r = document.createElement("style");
3859
3857
  r.innerHTML = t, e.appendChild(r);
3860
3858
  }
3861
3859
  }
3862
- function bi(e, t) {
3860
+ function di(e, t) {
3863
3861
  const r = new URL(t);
3864
3862
  fetch(r.href).then((n) => n.text()).then((n) => {
3865
3863
  const i = document.createElement("style");
@@ -3868,7 +3866,7 @@ function bi(e, t) {
3868
3866
  console.error("There was an error while trying to load client styling from URL", n);
3869
3867
  });
3870
3868
  }
3871
- function yi(e, t, r) {
3869
+ function bi(e, t, r) {
3872
3870
  if (window.emMessageBus) {
3873
3871
  const n = document.createElement("style");
3874
3872
  window.emMessageBus.subscribe(t, (i) => {
@@ -3876,51 +3874,51 @@ function yi(e, t, r) {
3876
3874
  });
3877
3875
  }
3878
3876
  }
3879
- function xi(e) {
3880
- ar(e, "svelte-2l182v", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.CasinoCategories{display:flex;flex-direction:column;gap:1rem;padding:10px 60px}.CategoryTitle{font-weight:500;position:relative;right:30px;margin:10px 0;font-size:18px;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.Category{border-radius:7px;display:flex;align-items:center;gap:16px;max-width:300px}.Category.Active{box-shadow:15px 15px 30px var(--emw--color-gray-100, #E6E6E6)}.CategoryTextContainer{display:flex;flex-direction:column;justify-content:center;gap:10px;font-size:15px;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.CategoryTextContainer p:first-child{font-weight:600;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.CategoryTextContainer p:last-child{color:var(--emw--color-gray-150, #828282);font-weight:300}.CategoryImage{border-radius:4px;object-fit:cover;height:64px;width:64px;font-weight:100}.Message{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);font-weight:600}");
3877
+ function yi(e) {
3878
+ or(e, "svelte-2l182v", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.CasinoCategories{display:flex;flex-direction:column;gap:1rem;padding:10px 60px}.CategoryTitle{font-weight:500;position:relative;right:30px;margin:10px 0;font-size:18px;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.Category{border-radius:7px;display:flex;align-items:center;gap:16px;max-width:300px}.Category.Active{box-shadow:15px 15px 30px var(--emw--color-gray-100, #E6E6E6)}.CategoryTextContainer{display:flex;flex-direction:column;justify-content:center;gap:10px;font-size:15px;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.CategoryTextContainer p:first-child{font-weight:600;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.CategoryTextContainer p:last-child{color:var(--emw--color-gray-150, #828282);font-weight:300}.CategoryImage{border-radius:4px;object-fit:cover;height:64px;width:64px;font-weight:100}.Message{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);font-weight:600}");
3881
3879
  }
3882
- function xt(e, t, r) {
3880
+ function bt(e, t, r) {
3883
3881
  const n = e.slice();
3884
3882
  return n[23] = t[r], n;
3885
3883
  }
3886
- function Et(e, t, r) {
3884
+ function yt(e, t, r) {
3887
3885
  const n = e.slice();
3888
3886
  return n[23] = t[r], n;
3889
3887
  }
3890
- function Ei(e) {
3888
+ function xi(e) {
3891
3889
  let t, r, n = (
3892
3890
  /*$_*/
3893
3891
  e[5]("topCategories") + ""
3894
- ), i, s, o, u, h = (
3892
+ ), i, o, s, u, h = (
3895
3893
  /*$_*/
3896
3894
  e[5]("otherCategories") + ""
3897
- ), a, l, f = ce(
3895
+ ), a, l, c = fe(
3898
3896
  /*topCategories*/
3899
3897
  e[3]
3900
- ), c = [];
3901
- for (let g = 0; g < f.length; g += 1)
3902
- c[g] = _t(Et(e, f, g));
3903
- let p = ce(
3898
+ ), f = [];
3899
+ for (let g = 0; g < c.length; g += 1)
3900
+ f[g] = xt(yt(e, c, g));
3901
+ let p = fe(
3904
3902
  /*otherCategories*/
3905
3903
  e[4]
3906
3904
  ), d = [];
3907
3905
  for (let g = 0; g < p.length; g += 1)
3908
- d[g] = vt(xt(e, p, g));
3906
+ d[g] = Et(bt(e, p, g));
3909
3907
  return {
3910
3908
  c() {
3911
- t = O("div"), r = O("h4"), i = U(n), s = R();
3912
- for (let g = 0; g < c.length; g += 1)
3913
- c[g].c();
3914
- o = R(), u = O("h4"), a = U(h), l = R();
3909
+ t = O("div"), r = O("h4"), i = U(n), o = R();
3910
+ for (let g = 0; g < f.length; g += 1)
3911
+ f[g].c();
3912
+ s = R(), u = O("h4"), a = U(h), l = R();
3915
3913
  for (let g = 0; g < d.length; g += 1)
3916
3914
  d[g].c();
3917
3915
  A(r, "class", "CategoryTitle"), A(u, "class", "CategoryTitle"), A(t, "class", "CasinoCategories");
3918
3916
  },
3919
3917
  m(g, _) {
3920
- Y(g, t, _), v(t, r), v(r, i), v(t, s);
3921
- for (let m = 0; m < c.length; m += 1)
3922
- c[m] && c[m].m(t, null);
3923
- v(t, o), v(t, u), v(u, a), v(t, l);
3918
+ Y(g, t, _), v(t, r), v(r, i), v(t, o);
3919
+ for (let m = 0; m < f.length; m += 1)
3920
+ f[m] && f[m].m(t, null);
3921
+ v(t, s), v(t, u), v(u, a), v(t, l);
3924
3922
  for (let m = 0; m < d.length; m += 1)
3925
3923
  d[m] && d[m].m(t, null);
3926
3924
  },
@@ -3929,31 +3927,31 @@ function Ei(e) {
3929
3927
  32 && n !== (n = /*$_*/
3930
3928
  g[5]("topCategories") + "") && D(i, n), _ & /*activecategory, topCategories, openGameCategory, $_*/
3931
3929
  105) {
3932
- f = ce(
3930
+ c = fe(
3933
3931
  /*topCategories*/
3934
3932
  g[3]
3935
3933
  );
3936
3934
  let m;
3937
- for (m = 0; m < f.length; m += 1) {
3938
- const H = Et(g, f, m);
3939
- c[m] ? c[m].p(H, _) : (c[m] = _t(H), c[m].c(), c[m].m(t, o));
3935
+ for (m = 0; m < c.length; m += 1) {
3936
+ const C = yt(g, c, m);
3937
+ f[m] ? f[m].p(C, _) : (f[m] = xt(C), f[m].c(), f[m].m(t, s));
3940
3938
  }
3941
- for (; m < c.length; m += 1)
3942
- c[m].d(1);
3943
- c.length = f.length;
3939
+ for (; m < f.length; m += 1)
3940
+ f[m].d(1);
3941
+ f.length = c.length;
3944
3942
  }
3945
3943
  if (_ & /*$_*/
3946
3944
  32 && h !== (h = /*$_*/
3947
3945
  g[5]("otherCategories") + "") && D(a, h), _ & /*activecategory, otherCategories, openGameCategory, $_*/
3948
3946
  113) {
3949
- p = ce(
3947
+ p = fe(
3950
3948
  /*otherCategories*/
3951
3949
  g[4]
3952
3950
  );
3953
3951
  let m;
3954
3952
  for (m = 0; m < p.length; m += 1) {
3955
- const H = xt(g, p, m);
3956
- d[m] ? d[m].p(H, _) : (d[m] = vt(H), d[m].c(), d[m].m(t, null));
3953
+ const C = bt(g, p, m);
3954
+ d[m] ? d[m].p(C, _) : (d[m] = Et(C), d[m].c(), d[m].m(t, null));
3957
3955
  }
3958
3956
  for (; m < d.length; m += 1)
3959
3957
  d[m].d(1);
@@ -3961,11 +3959,11 @@ function Ei(e) {
3961
3959
  }
3962
3960
  },
3963
3961
  d(g) {
3964
- g && j(t), rt(c, g), rt(d, g);
3962
+ g && j(t), et(f, g), et(d, g);
3965
3963
  }
3966
3964
  };
3967
3965
  }
3968
- function _i(e) {
3966
+ function Ei(e) {
3969
3967
  let t;
3970
3968
  return {
3971
3969
  c() {
@@ -3980,17 +3978,17 @@ function _i(e) {
3980
3978
  }
3981
3979
  };
3982
3980
  }
3983
- function _t(e) {
3984
- let t, r, n, i, s, o, u, h = (
3981
+ function xt(e) {
3982
+ let t, r, n, i, o, s, u, h = (
3985
3983
  /*category*/
3986
3984
  e[23].name + ""
3987
- ), a, l, f, c = (
3985
+ ), a, l, c, f = (
3988
3986
  /*category*/
3989
3987
  e[23].games.count + ""
3990
3988
  ), p, d, g = (
3991
3989
  /*$_*/
3992
3990
  e[5]("games") + ""
3993
- ), _, m, H, B;
3991
+ ), _, m, C, B;
3994
3992
  function P() {
3995
3993
  return (
3996
3994
  /*click_handler*/
@@ -4002,47 +4000,47 @@ function _t(e) {
4002
4000
  }
4003
4001
  return {
4004
4002
  c() {
4005
- t = O("div"), r = O("img"), s = R(), o = O("div"), u = O("p"), a = U(h), l = R(), f = O("p"), p = U(c), d = R(), _ = U(g), de(r.src, n = /*category*/
4003
+ t = O("div"), r = O("img"), o = R(), s = O("div"), u = O("p"), a = U(h), l = R(), c = O("p"), p = U(f), d = R(), _ = U(g), de(r.src, n = /*category*/
4006
4004
  e[23].icon) || A(r, "src", n), A(r, "alt", i = /*category*/
4007
- e[23].name), A(r, "class", "CategoryImage"), A(o, "class", "CategoryTextContainer"), A(t, "class", m = "Category " + /*activecategory*/
4005
+ e[23].name), A(r, "class", "CategoryImage"), A(s, "class", "CategoryTextContainer"), A(t, "class", m = "Category " + /*activecategory*/
4008
4006
  (e[0] === /*category*/
4009
4007
  e[23].id ? "Active" : ""));
4010
4008
  },
4011
- m(S, C) {
4012
- Y(S, t, C), v(t, r), v(t, s), v(t, o), v(o, u), v(u, a), v(o, l), v(o, f), v(f, p), v(f, d), v(f, _), H || (B = At(t, "click", P), H = !0);
4009
+ m(S, H) {
4010
+ Y(S, t, H), v(t, r), v(t, o), v(t, s), v(s, u), v(u, a), v(s, l), v(s, c), v(c, p), v(c, d), v(c, _), C || (B = Ct(t, "click", P), C = !0);
4013
4011
  },
4014
- p(S, C) {
4015
- e = S, C & /*topCategories*/
4012
+ p(S, H) {
4013
+ e = S, H & /*topCategories*/
4016
4014
  8 && !de(r.src, n = /*category*/
4017
- e[23].icon) && A(r, "src", n), C & /*topCategories*/
4015
+ e[23].icon) && A(r, "src", n), H & /*topCategories*/
4018
4016
  8 && i !== (i = /*category*/
4019
- e[23].name) && A(r, "alt", i), C & /*topCategories*/
4017
+ e[23].name) && A(r, "alt", i), H & /*topCategories*/
4020
4018
  8 && h !== (h = /*category*/
4021
- e[23].name + "") && D(a, h), C & /*topCategories*/
4022
- 8 && c !== (c = /*category*/
4023
- e[23].games.count + "") && D(p, c), C & /*$_*/
4019
+ e[23].name + "") && D(a, h), H & /*topCategories*/
4020
+ 8 && f !== (f = /*category*/
4021
+ e[23].games.count + "") && D(p, f), H & /*$_*/
4024
4022
  32 && g !== (g = /*$_*/
4025
- e[5]("games") + "") && D(_, g), C & /*activecategory, topCategories*/
4023
+ e[5]("games") + "") && D(_, g), H & /*activecategory, topCategories*/
4026
4024
  9 && m !== (m = "Category " + /*activecategory*/
4027
4025
  (e[0] === /*category*/
4028
4026
  e[23].id ? "Active" : "")) && A(t, "class", m);
4029
4027
  },
4030
4028
  d(S) {
4031
- S && j(t), H = !1, B();
4029
+ S && j(t), C = !1, B();
4032
4030
  }
4033
4031
  };
4034
4032
  }
4035
- function vt(e) {
4036
- let t, r, n, i, s, o, u, h = (
4033
+ function Et(e) {
4034
+ let t, r, n, i, o, s, u, h = (
4037
4035
  /*category*/
4038
4036
  e[23].name + ""
4039
- ), a, l, f, c = (
4037
+ ), a, l, c, f = (
4040
4038
  /*category*/
4041
4039
  e[23].games.count + ""
4042
4040
  ), p, d, g = (
4043
4041
  /*$_*/
4044
4042
  e[5]("games") + ""
4045
- ), _, m, H, B, P;
4043
+ ), _, m, C, B, P;
4046
4044
  function S() {
4047
4045
  return (
4048
4046
  /*click_handler_1*/
@@ -4054,42 +4052,42 @@ function vt(e) {
4054
4052
  }
4055
4053
  return {
4056
4054
  c() {
4057
- t = O("div"), r = O("img"), s = R(), o = O("div"), u = O("p"), a = U(h), l = R(), f = O("p"), p = U(c), d = R(), _ = U(g), m = R(), de(r.src, n = /*category*/
4055
+ t = O("div"), r = O("img"), o = R(), s = O("div"), u = O("p"), a = U(h), l = R(), c = O("p"), p = U(f), d = R(), _ = U(g), m = R(), de(r.src, n = /*category*/
4058
4056
  e[23].icon) || A(r, "src", n), A(r, "alt", i = /*category*/
4059
- e[23].name), A(r, "class", "CategoryImage"), A(o, "class", "CategoryTextContainer"), A(t, "class", H = "Category " + /*activecategory*/
4057
+ e[23].name), A(r, "class", "CategoryImage"), A(s, "class", "CategoryTextContainer"), A(t, "class", C = "Category " + /*activecategory*/
4060
4058
  (e[0] === /*category*/
4061
4059
  e[23].id ? "Active" : ""));
4062
4060
  },
4063
- m(C, N) {
4064
- Y(C, t, N), v(t, r), v(t, s), v(t, o), v(o, u), v(u, a), v(o, l), v(o, f), v(f, p), v(f, d), v(f, _), v(t, m), B || (P = At(t, "click", S), B = !0);
4061
+ m(H, N) {
4062
+ Y(H, t, N), v(t, r), v(t, o), v(t, s), v(s, u), v(u, a), v(s, l), v(s, c), v(c, p), v(c, d), v(c, _), v(t, m), B || (P = Ct(t, "click", S), B = !0);
4065
4063
  },
4066
- p(C, N) {
4067
- e = C, N & /*otherCategories*/
4064
+ p(H, N) {
4065
+ e = H, N & /*otherCategories*/
4068
4066
  16 && !de(r.src, n = /*category*/
4069
4067
  e[23].icon) && A(r, "src", n), N & /*otherCategories*/
4070
4068
  16 && i !== (i = /*category*/
4071
4069
  e[23].name) && A(r, "alt", i), N & /*otherCategories*/
4072
4070
  16 && h !== (h = /*category*/
4073
4071
  e[23].name + "") && D(a, h), N & /*otherCategories*/
4074
- 16 && c !== (c = /*category*/
4075
- e[23].games.count + "") && D(p, c), N & /*$_*/
4072
+ 16 && f !== (f = /*category*/
4073
+ e[23].games.count + "") && D(p, f), N & /*$_*/
4076
4074
  32 && g !== (g = /*$_*/
4077
4075
  e[5]("games") + "") && D(_, g), N & /*activecategory, otherCategories*/
4078
- 17 && H !== (H = "Category " + /*activecategory*/
4076
+ 17 && C !== (C = "Category " + /*activecategory*/
4079
4077
  (e[0] === /*category*/
4080
- e[23].id ? "Active" : "")) && A(t, "class", H);
4078
+ e[23].id ? "Active" : "")) && A(t, "class", C);
4081
4079
  },
4082
- d(C) {
4083
- C && j(t), B = !1, P();
4080
+ d(H) {
4081
+ H && j(t), B = !1, P();
4084
4082
  }
4085
4083
  };
4086
4084
  }
4087
- function vi(e) {
4085
+ function _i(e) {
4088
4086
  let t;
4089
- function r(s, o) {
4087
+ function r(o, s) {
4090
4088
  return (
4091
4089
  /*isLoading*/
4092
- s[2] ? _i : Ei
4090
+ o[2] ? Ei : xi
4093
4091
  );
4094
4092
  }
4095
4093
  let n = r(e), i = n(e);
@@ -4097,72 +4095,72 @@ function vi(e) {
4097
4095
  c() {
4098
4096
  t = O("div"), i.c();
4099
4097
  },
4100
- m(s, o) {
4101
- Y(s, t, o), i.m(t, null), e[17](t);
4098
+ m(o, s) {
4099
+ Y(o, t, s), i.m(t, null), e[17](t);
4102
4100
  },
4103
- p(s, [o]) {
4104
- n === (n = r(s)) && i ? i.p(s, o) : (i.d(1), i = n(s), i && (i.c(), i.m(t, null)));
4101
+ p(o, [s]) {
4102
+ n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
4105
4103
  },
4106
4104
  i: I,
4107
4105
  o: I,
4108
- d(s) {
4109
- s && j(t), i.d(), e[17](null);
4106
+ d(o) {
4107
+ o && j(t), i.d(), e[17](null);
4110
4108
  }
4111
4109
  };
4112
4110
  }
4113
- function Ti(e, t, r) {
4111
+ function vi(e, t, r) {
4114
4112
  let n;
4115
- or(e, mi, (b) => r(5, n = b));
4116
- let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "en" } = t, { activecategory: u = "" } = t, { excludedflags: h = "" } = t, { clientstyling: a = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: f = "" } = t, { mbsource: c } = t, p, d = !1;
4113
+ ir(e, gi, (b) => r(5, n = b));
4114
+ let { endpoint: i = "" } = t, { datasource: o = "" } = t, { lang: s = "en" } = t, { activecategory: u = "" } = t, { excludedflags: h = "" } = t, { clientstyling: a = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: c = "" } = t, { mbsource: f } = t, p, d = !1;
4117
4115
  const g = [];
4118
4116
  let _ = [], m = [];
4119
- Object.keys(yt).forEach((b) => {
4120
- bt(b, yt[b]);
4117
+ Object.keys(dt).forEach((b) => {
4118
+ pt(b, dt[b]);
4121
4119
  });
4122
- const H = () => {
4123
- fetch(f).then(($) => $.json()).then(($) => {
4120
+ const C = () => {
4121
+ fetch(c).then(($) => $.json()).then(($) => {
4124
4122
  Object.keys($).forEach((he) => {
4125
- bt(he, $[he]);
4123
+ pt(he, $[he]);
4126
4124
  });
4127
4125
  }).catch(($) => {
4128
4126
  console.log($);
4129
4127
  });
4130
4128
  }, B = () => {
4131
4129
  r(2, d = !0);
4132
- const b = new URL(`${i}/v1/casino/groups/${s}`);
4133
- b.searchParams.append("language", o), fetch(b).then(($) => $.json()).then(($) => {
4130
+ const b = new URL(`${i}/v1/casino/groups/${o}`);
4131
+ b.searchParams.append("language", s), fetch(b).then(($) => $.json()).then(($) => {
4134
4132
  r(2, d = !1);
4135
4133
  const he = h.split(",").map((F) => F.trim());
4136
4134
  g.push(...$.items);
4137
- const Qe = g.filter((F) => !he.some((Kt) => {
4138
- var Je;
4139
- return ((Je = F.flags) == null ? void 0 : Je.indexOf(Kt)) >= 0;
4135
+ const We = g.filter((F) => !he.some((qt) => {
4136
+ var Ze;
4137
+ return ((Ze = F.flags) == null ? void 0 : Ze.indexOf(qt)) >= 0;
4140
4138
  }));
4141
- r(3, _ = Qe.filter((F) => F.isTopCategory === !0)), r(4, m = Qe.filter((F) => F.isTopCategory === !1));
4139
+ r(3, _ = We.filter((F) => F.isTopCategory === !0)), r(4, m = We.filter((F) => F.isTopCategory === !1));
4142
4140
  });
4143
4141
  }, P = (b) => {
4144
4142
  window.postMessage({ type: "OpenGameCategory", categoryId: b }, window.location.href);
4145
4143
  }, S = () => {
4146
- pi(o);
4144
+ mi(s);
4147
4145
  };
4148
- gr(() => () => {
4146
+ fr(() => () => {
4149
4147
  });
4150
- const C = (b) => P(b.id), N = (b) => P(b.id);
4151
- function Yt(b) {
4148
+ const H = (b) => P(b.id), N = (b) => P(b.id);
4149
+ function Jt(b) {
4152
4150
  Ne[b ? "unshift" : "push"](() => {
4153
4151
  p = b, r(1, p);
4154
4152
  });
4155
4153
  }
4156
4154
  return e.$$set = (b) => {
4157
- "endpoint" in b && r(7, i = b.endpoint), "datasource" in b && r(8, s = b.datasource), "lang" in b && r(9, o = b.lang), "activecategory" in b && r(0, u = b.activecategory), "excludedflags" in b && r(10, h = b.excludedflags), "clientstyling" in b && r(11, a = b.clientstyling), "clientstylingurl" in b && r(12, l = b.clientstylingurl), "translationurl" in b && r(13, f = b.translationurl), "mbsource" in b && r(14, c = b.mbsource);
4155
+ "endpoint" in b && r(7, i = b.endpoint), "datasource" in b && r(8, o = b.datasource), "lang" in b && r(9, s = b.lang), "activecategory" in b && r(0, u = b.activecategory), "excludedflags" in b && r(10, h = b.excludedflags), "clientstyling" in b && r(11, a = b.clientstyling), "clientstylingurl" in b && r(12, l = b.clientstylingurl), "translationurl" in b && r(13, c = b.translationurl), "mbsource" in b && r(14, f = b.mbsource);
4158
4156
  }, e.$$.update = () => {
4159
4157
  e.$$.dirty & /*endpoint, datasource*/
4160
- 384 && i && s && B(), e.$$.dirty & /*translationurl*/
4161
- 8192 && f && H(), e.$$.dirty & /*lang*/
4162
- 512 && o && S(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4163
- 2050 && a && p && di(p, a), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4164
- 4098 && l && p && bi(p, l), e.$$.dirty & /*mbsource, customStylingContainer*/
4165
- 16386 && c && p && yi(p, `${c}.Style`);
4158
+ 384 && i && o && B(), e.$$.dirty & /*translationurl*/
4159
+ 8192 && c && C(), e.$$.dirty & /*lang*/
4160
+ 512 && s && S(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4161
+ 2050 && a && p && pi(p, a), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4162
+ 4098 && l && p && di(p, l), e.$$.dirty & /*mbsource, customStylingContainer*/
4163
+ 16386 && f && p && bi(p, `${f}.Style`);
4166
4164
  }, [
4167
4165
  u,
4168
4166
  p,
@@ -4172,26 +4170,26 @@ function Ti(e, t, r) {
4172
4170
  n,
4173
4171
  P,
4174
4172
  i,
4175
- s,
4176
4173
  o,
4174
+ s,
4177
4175
  h,
4178
4176
  a,
4179
4177
  l,
4180
- f,
4181
4178
  c,
4182
- C,
4179
+ f,
4180
+ H,
4183
4181
  N,
4184
- Yt
4182
+ Jt
4185
4183
  ];
4186
4184
  }
4187
- class Hi extends Cr {
4185
+ class Ti extends Tr {
4188
4186
  constructor(t) {
4189
- super(), Tr(
4187
+ super(), _r(
4190
4188
  this,
4191
4189
  t,
4192
- Ti,
4193
4190
  vi,
4194
- Ht,
4191
+ _i,
4192
+ vt,
4195
4193
  {
4196
4194
  endpoint: 7,
4197
4195
  datasource: 8,
@@ -4203,7 +4201,7 @@ class Hi extends Cr {
4203
4201
  translationurl: 13,
4204
4202
  mbsource: 14
4205
4203
  },
4206
- xi
4204
+ yi
4207
4205
  );
4208
4206
  }
4209
4207
  get endpoint() {
@@ -4261,7 +4259,7 @@ class Hi extends Cr {
4261
4259
  this.$$set({ mbsource: t }), M();
4262
4260
  }
4263
4261
  }
4264
- Hr(Hi, { endpoint: {}, datasource: {}, lang: {}, activecategory: {}, excludedflags: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
4262
+ vr(Ti, { endpoint: {}, datasource: {}, lang: {}, activecategory: {}, excludedflags: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
4265
4263
  export {
4266
- Hi as default
4264
+ Ti as default
4267
4265
  };