@everymatrix/casino-providers 1.76.0 → 1.76.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,17 +1,17 @@
1
- var Qt = Object.defineProperty, qt = Object.defineProperties;
2
- var Jt = Object.getOwnPropertyDescriptors;
3
- var Ze = Object.getOwnPropertySymbols;
4
- var Yt = Object.prototype.hasOwnProperty, Kt = Object.prototype.propertyIsEnumerable;
5
- var He = (e, t, r) => t in e ? Qt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Qe = (e, t) => {
1
+ var Zt = Object.defineProperty, Qt = Object.defineProperties;
2
+ var qt = Object.getOwnPropertyDescriptors;
3
+ var We = Object.getOwnPropertySymbols;
4
+ var Jt = Object.prototype.hasOwnProperty, Yt = Object.prototype.propertyIsEnumerable;
5
+ var ye = (e, t, r) => t in e ? Zt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ze = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- Yt.call(t, r) && He(e, r, t[r]);
8
- if (Ze)
9
- for (var r of Ze(t))
10
- Kt.call(t, r) && He(e, r, t[r]);
7
+ Jt.call(t, r) && ye(e, r, t[r]);
8
+ if (We)
9
+ for (var r of We(t))
10
+ Yt.call(t, r) && ye(e, r, t[r]);
11
11
  return e;
12
- }, qe = (e, t) => qt(e, Jt(t));
13
- var I = (e, t, r) => (He(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var Je = (e, t, r) => new Promise((n, i) => {
12
+ }, Qe = (e, t) => Qt(e, qt(t));
13
+ var I = (e, t, r) => (ye(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var qe = (e, t, r) => new Promise((n, i) => {
15
15
  var s = (h) => {
16
16
  try {
17
17
  u(r.next(h));
@@ -29,26 +29,26 @@ var Je = (e, t, r) => new Promise((n, i) => {
29
29
  });
30
30
  function $() {
31
31
  }
32
- function _t(e) {
32
+ function Et(e) {
33
33
  return e();
34
34
  }
35
- function Ye() {
35
+ function Je() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
- function ae(e) {
39
- e.forEach(_t);
38
+ function oe(e) {
39
+ e.forEach(Et);
40
40
  }
41
- function Ve(e) {
41
+ function je(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function yt(e, t) {
44
+ function _t(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
- let he;
48
- function de(e, t) {
49
- return e === t ? !0 : (he || (he = document.createElement("a")), he.href = t, e === he.href);
47
+ let ue;
48
+ function me(e, t) {
49
+ return e === t ? !0 : (ue || (ue = document.createElement("a")), ue.href = t, e === ue.href);
50
50
  }
51
- function er(e) {
51
+ function Kt(e) {
52
52
  return Object.keys(e).length === 0;
53
53
  }
54
54
  function xt(e, ...t) {
@@ -60,20 +60,20 @@ function xt(e, ...t) {
60
60
  const r = e.subscribe(...t);
61
61
  return r.unsubscribe ? () => r.unsubscribe() : r;
62
62
  }
63
- function tr(e, t, r) {
63
+ function er(e, t, r) {
64
64
  e.$$.on_destroy.push(xt(t, r));
65
65
  }
66
66
  function y(e, t) {
67
67
  e.appendChild(t);
68
68
  }
69
- function rr(e, t, r) {
70
- const n = nr(e);
69
+ function tr(e, t, r) {
70
+ const n = rr(e);
71
71
  if (!n.getElementById(t)) {
72
72
  const i = A("style");
73
- i.id = t, i.textContent = r, ir(n, i);
73
+ i.id = t, i.textContent = r, nr(n, i);
74
74
  }
75
75
  }
76
- function nr(e) {
76
+ function rr(e) {
77
77
  if (!e)
78
78
  return document;
79
79
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -83,7 +83,7 @@ function nr(e) {
83
83
  t
84
84
  ) : e.ownerDocument;
85
85
  }
86
- function ir(e, t) {
86
+ function nr(e, t) {
87
87
  return y(
88
88
  /** @type {Document} */
89
89
  e.head || e,
@@ -96,7 +96,7 @@ function M(e, t, r) {
96
96
  function C(e) {
97
97
  e.parentNode && e.parentNode.removeChild(e);
98
98
  }
99
- function Ke(e, t) {
99
+ function Ye(e, t) {
100
100
  for (let r = 0; r < e.length; r += 1)
101
101
  e[r] && e[r].d(t);
102
102
  }
@@ -106,26 +106,26 @@ function A(e) {
106
106
  function R(e) {
107
107
  return document.createTextNode(e);
108
108
  }
109
- function G() {
109
+ function U() {
110
110
  return R(" ");
111
111
  }
112
- function sr() {
112
+ function ir() {
113
113
  return R("");
114
114
  }
115
- function Pt(e, t, r, n) {
115
+ function yt(e, t, r, n) {
116
116
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
117
117
  }
118
118
  function S(e, t, r) {
119
119
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
120
120
  }
121
- function or(e) {
121
+ function sr(e) {
122
122
  return Array.from(e.childNodes);
123
123
  }
124
- function j(e, t) {
124
+ function F(e, t) {
125
125
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
126
126
  t);
127
127
  }
128
- function ar(e) {
128
+ function or(e) {
129
129
  const t = {};
130
130
  return e.childNodes.forEach(
131
131
  /** @param {Element} node */
@@ -134,82 +134,82 @@ function ar(e) {
134
134
  }
135
135
  ), t;
136
136
  }
137
- let Xe;
138
- function ie(e) {
139
- Xe = e;
140
- }
141
- const Z = [], Le = [];
142
- let Q = [];
143
- const et = [], ur = /* @__PURE__ */ Promise.resolve();
144
- let Ie = !1;
145
- function hr() {
146
- Ie || (Ie = !0, ur.then(F));
147
- }
148
- function Ce(e) {
149
- Q.push(e);
150
- }
151
- const Te = /* @__PURE__ */ new Set();
152
- let z = 0;
153
- function F() {
154
- if (z !== 0)
137
+ let ke;
138
+ function ne(e) {
139
+ ke = e;
140
+ }
141
+ const W = [], we = [];
142
+ let Z = [];
143
+ const Ke = [], ar = /* @__PURE__ */ Promise.resolve();
144
+ let Ne = !1;
145
+ function ur() {
146
+ Ne || (Ne = !0, ar.then(D));
147
+ }
148
+ function Le(e) {
149
+ Z.push(e);
150
+ }
151
+ const Pe = /* @__PURE__ */ new Set();
152
+ let X = 0;
153
+ function D() {
154
+ if (X !== 0)
155
155
  return;
156
- const e = Xe;
156
+ const e = ke;
157
157
  do {
158
158
  try {
159
- for (; z < Z.length; ) {
160
- const t = Z[z];
161
- z++, ie(t), lr(t.$$);
159
+ for (; X < W.length; ) {
160
+ const t = W[X];
161
+ X++, ne(t), hr(t.$$);
162
162
  }
163
163
  } catch (t) {
164
- throw Z.length = 0, z = 0, t;
164
+ throw W.length = 0, X = 0, t;
165
165
  }
166
- for (ie(null), Z.length = 0, z = 0; Le.length; )
167
- Le.pop()();
168
- for (let t = 0; t < Q.length; t += 1) {
169
- const r = Q[t];
170
- Te.has(r) || (Te.add(r), r());
166
+ for (ne(null), W.length = 0, X = 0; we.length; )
167
+ we.pop()();
168
+ for (let t = 0; t < Z.length; t += 1) {
169
+ const r = Z[t];
170
+ Pe.has(r) || (Pe.add(r), r());
171
171
  }
172
- Q.length = 0;
173
- } while (Z.length);
174
- for (; et.length; )
175
- et.pop()();
176
- Ie = !1, Te.clear(), ie(e);
172
+ Z.length = 0;
173
+ } while (W.length);
174
+ for (; Ke.length; )
175
+ Ke.pop()();
176
+ Ne = !1, Pe.clear(), ne(e);
177
177
  }
178
- function lr(e) {
178
+ function hr(e) {
179
179
  if (e.fragment !== null) {
180
- e.update(), ae(e.before_update);
180
+ e.update(), oe(e.before_update);
181
181
  const t = e.dirty;
182
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ce);
182
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Le);
183
183
  }
184
184
  }
185
- function fr(e) {
185
+ function lr(e) {
186
186
  const t = [], r = [];
187
- Q.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Q = t;
187
+ Z.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Z = t;
188
188
  }
189
- const cr = /* @__PURE__ */ new Set();
190
- function pr(e, t) {
191
- e && e.i && (cr.delete(e), e.i(t));
189
+ const fr = /* @__PURE__ */ new Set();
190
+ function cr(e, t) {
191
+ e && e.i && (fr.delete(e), e.i(t));
192
192
  }
193
- function le(e) {
193
+ function he(e) {
194
194
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
195
195
  }
196
- function mr(e, t, r) {
196
+ function dr(e, t, r) {
197
197
  const { fragment: n, after_update: i } = e.$$;
198
- n && n.m(t, r), Ce(() => {
199
- const s = e.$$.on_mount.map(_t).filter(Ve);
200
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ae(s), e.$$.on_mount = [];
201
- }), i.forEach(Ce);
198
+ n && n.m(t, r), Le(() => {
199
+ const s = e.$$.on_mount.map(Et).filter(je);
200
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : oe(s), e.$$.on_mount = [];
201
+ }), i.forEach(Le);
202
202
  }
203
- function dr(e, t) {
203
+ function mr(e, t) {
204
204
  const r = e.$$;
205
- r.fragment !== null && (fr(r.after_update), ae(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
205
+ r.fragment !== null && (lr(r.after_update), oe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
206
206
  }
207
- function gr(e, t) {
208
- e.$$.dirty[0] === -1 && (Z.push(e), hr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
207
+ function pr(e, t) {
208
+ e.$$.dirty[0] === -1 && (W.push(e), ur(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
209
209
  }
210
- function br(e, t, r, n, i, s, o = null, u = [-1]) {
211
- const h = Xe;
212
- ie(e);
210
+ function gr(e, t, r, n, i, s, o = null, u = [-1]) {
211
+ const h = ke;
212
+ ne(e);
213
213
  const a = e.$$ = {
214
214
  fragment: null,
215
215
  ctx: [],
@@ -217,7 +217,7 @@ function br(e, t, r, n, i, s, o = null, u = [-1]) {
217
217
  props: s,
218
218
  update: $,
219
219
  not_equal: i,
220
- bound: Ye(),
220
+ bound: Je(),
221
221
  // lifecycle
222
222
  on_mount: [],
223
223
  on_destroy: [],
@@ -226,28 +226,28 @@ function br(e, t, r, n, i, s, o = null, u = [-1]) {
226
226
  after_update: [],
227
227
  context: new Map(t.context || (h ? h.$$.context : [])),
228
228
  // everything else
229
- callbacks: Ye(),
229
+ callbacks: Je(),
230
230
  dirty: u,
231
231
  skip_bound: !1,
232
232
  root: t.target || h.$$.root
233
233
  };
234
234
  o && o(a.root);
235
235
  let l = !1;
236
- if (a.ctx = r ? r(e, t.props || {}, (c, f, ...g) => {
237
- const d = g.length ? g[0] : f;
238
- return a.ctx && i(a.ctx[c], a.ctx[c] = d) && (!a.skip_bound && a.bound[c] && a.bound[c](d), l && gr(e, c)), f;
239
- }) : [], a.update(), l = !0, ae(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
236
+ if (a.ctx = r(e, t.props || {}, (c, f, ...g) => {
237
+ const p = g.length ? g[0] : f;
238
+ return a.ctx && i(a.ctx[c], a.ctx[c] = p) && (!a.skip_bound && a.bound[c] && a.bound[c](p), l && pr(e, c)), f;
239
+ }), a.update(), l = !0, oe(a.before_update), a.fragment = n(a.ctx), t.target) {
240
240
  if (t.hydrate) {
241
- const c = or(t.target);
241
+ const c = sr(t.target);
242
242
  a.fragment && a.fragment.l(c), c.forEach(C);
243
243
  } else
244
244
  a.fragment && a.fragment.c();
245
- t.intro && pr(e.$$.fragment), mr(e, t.target, t.anchor), F();
245
+ t.intro && cr(e.$$.fragment), dr(e, t.target, t.anchor), D();
246
246
  }
247
- ie(h);
247
+ ne(h);
248
248
  }
249
- let Ht;
250
- typeof HTMLElement == "function" && (Ht = class extends HTMLElement {
249
+ let Pt;
250
+ typeof HTMLElement == "function" && (Pt = class extends HTMLElement {
251
251
  constructor(t, r, n) {
252
252
  super();
253
253
  /** The Svelte component constructor */
@@ -284,7 +284,7 @@ typeof HTMLElement == "function" && (Ht = class extends HTMLElement {
284
284
  }
285
285
  }
286
286
  connectedCallback() {
287
- return Je(this, null, function* () {
287
+ return qe(this, null, function* () {
288
288
  if (this.$$cn = !0, !this.$$c) {
289
289
  let t = function(s) {
290
290
  return () => {
@@ -308,18 +308,18 @@ typeof HTMLElement == "function" && (Ht = class extends HTMLElement {
308
308
  };
309
309
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
310
310
  return;
311
- const r = {}, n = ar(this);
311
+ const r = {}, n = or(this);
312
312
  for (const s of this.$$s)
313
313
  s in n && (r[s] = [t(s)]);
314
314
  for (const s of this.attributes) {
315
315
  const o = this.$$g_p(s.name);
316
- o in this.$$d || (this.$$d[o] = ce(o, s.value, this.$$p_d, "toProp"));
316
+ o in this.$$d || (this.$$d[o] = fe(o, s.value, this.$$p_d, "toProp"));
317
317
  }
318
318
  for (const s in this.$$p_d)
319
319
  !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
320
320
  this.$$c = new this.$$ctor({
321
321
  target: this.shadowRoot || this,
322
- props: qe(Qe({}, this.$$d), {
322
+ props: Qe(Ze({}, this.$$d), {
323
323
  $$slots: r,
324
324
  $$scope: {
325
325
  ctx: []
@@ -330,7 +330,7 @@ typeof HTMLElement == "function" && (Ht = class extends HTMLElement {
330
330
  this.$$r = !0;
331
331
  for (const s in this.$$p_d)
332
332
  if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
333
- const o = ce(
333
+ const o = fe(
334
334
  s,
335
335
  this.$$d[s],
336
336
  this.$$p_d,
@@ -354,7 +354,7 @@ typeof HTMLElement == "function" && (Ht = class extends HTMLElement {
354
354
  // and setting attributes through setAttribute etc, this is helpful
355
355
  attributeChangedCallback(t, r, n) {
356
356
  var i;
357
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = ce(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
357
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = fe(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
358
358
  }
359
359
  disconnectedCallback() {
360
360
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -367,7 +367,7 @@ typeof HTMLElement == "function" && (Ht = class extends HTMLElement {
367
367
  ) || t;
368
368
  }
369
369
  });
370
- function ce(e, t, r, n) {
370
+ function fe(e, t, r, n) {
371
371
  var s;
372
372
  const i = (s = r[e]) == null ? void 0 : s.type;
373
373
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
@@ -397,8 +397,8 @@ function ce(e, t, r, n) {
397
397
  return t;
398
398
  }
399
399
  }
400
- function vr(e, t, r, n, i, s) {
401
- let o = class extends Ht {
400
+ function br(e, t, r, n, i, s) {
401
+ let o = class extends Pt {
402
402
  constructor() {
403
403
  super(e, r, i), this.$$p_d = t;
404
404
  }
@@ -415,7 +415,7 @@ function vr(e, t, r, n, i, s) {
415
415
  },
416
416
  set(h) {
417
417
  var a;
418
- h = ce(u, h, t), this.$$d[u] = h, (a = this.$$c) == null || a.$set({ [u]: h });
418
+ h = fe(u, h, t), this.$$d[u] = h, (a = this.$$c) == null || a.$set({ [u]: h });
419
419
  }
420
420
  });
421
421
  }), n.forEach((u) => {
@@ -428,7 +428,7 @@ function vr(e, t, r, n, i, s) {
428
428
  }), e.element = /** @type {any} */
429
429
  o, o;
430
430
  }
431
- class Er {
431
+ class vr {
432
432
  constructor() {
433
433
  /**
434
434
  * ### PRIVATE API
@@ -449,7 +449,7 @@ class Er {
449
449
  }
450
450
  /** @returns {void} */
451
451
  $destroy() {
452
- dr(this, 1), this.$destroy = $;
452
+ mr(this, 1), this.$destroy = $;
453
453
  }
454
454
  /**
455
455
  * @template {Extract<keyof Events, string>} K
@@ -458,7 +458,7 @@ class Er {
458
458
  * @returns {() => void}
459
459
  */
460
460
  $on(t, r) {
461
- if (!Ve(r))
461
+ if (!je(r))
462
462
  return $;
463
463
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
464
464
  return n.push(r), () => {
@@ -471,12 +471,12 @@ class Er {
471
471
  * @returns {void}
472
472
  */
473
473
  $set(t) {
474
- this.$$set && !er(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
474
+ this.$$set && !Kt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
475
475
  }
476
476
  }
477
- const _r = "4";
478
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(_r);
479
- const tt = {
477
+ const Er = "4";
478
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Er);
479
+ const et = {
480
480
  en: {
481
481
  popularProviders: "Popular Suppliers",
482
482
  otherProviders: "Other Suppliers",
@@ -585,24 +585,24 @@ const tt = {
585
585
  loading: "Loading, please wait...",
586
586
  games: "games"
587
587
  }
588
- }, W = [];
589
- function yr(e, t) {
588
+ }, z = [];
589
+ function _r(e, t) {
590
590
  return {
591
- subscribe: Ee(e, t).subscribe
591
+ subscribe: be(e, t).subscribe
592
592
  };
593
593
  }
594
- function Ee(e, t = $) {
594
+ function be(e, t = $) {
595
595
  let r;
596
596
  const n = /* @__PURE__ */ new Set();
597
597
  function i(u) {
598
- if (yt(e, u) && (e = u, r)) {
599
- const h = !W.length;
598
+ if (_t(e, u) && (e = u, r)) {
599
+ const h = !z.length;
600
600
  for (const a of n)
601
- a[1](), W.push(a, e);
601
+ a[1](), z.push(a, e);
602
602
  if (h) {
603
- for (let a = 0; a < W.length; a += 2)
604
- W[a][0](W[a + 1]);
605
- W.length = 0;
603
+ for (let a = 0; a < z.length; a += 2)
604
+ z[a][0](z[a + 1]);
605
+ z.length = 0;
606
606
  }
607
607
  }
608
608
  }
@@ -617,12 +617,12 @@ function Ee(e, t = $) {
617
617
  }
618
618
  return { set: i, update: s, subscribe: o };
619
619
  }
620
- function ee(e, t, r) {
620
+ function K(e, t, r) {
621
621
  const n = !Array.isArray(e), i = n ? [e] : e;
622
622
  if (!i.every(Boolean))
623
623
  throw new Error("derived() expects stores as input, got a falsy value");
624
624
  const s = t.length < 2;
625
- return yr(r, (o, u) => {
625
+ return _r(r, (o, u) => {
626
626
  let h = !1;
627
627
  const a = [];
628
628
  let l = 0, c = $;
@@ -630,126 +630,140 @@ function ee(e, t, r) {
630
630
  if (l)
631
631
  return;
632
632
  c();
633
- const d = t(n ? a[0] : a, o, u);
634
- s ? o(d) : c = Ve(d) ? d : $;
633
+ const p = t(n ? a[0] : a, o, u);
634
+ s ? o(p) : c = je(p) ? p : $;
635
635
  }, g = i.map(
636
- (d, p) => xt(
637
- d,
636
+ (p, d) => xt(
637
+ p,
638
638
  (v) => {
639
- a[p] = v, l &= ~(1 << p), h && f();
639
+ a[d] = v, l &= ~(1 << d), h && f();
640
640
  },
641
641
  () => {
642
- l |= 1 << p;
642
+ l |= 1 << d;
643
643
  }
644
644
  )
645
645
  );
646
646
  return h = !0, f(), function() {
647
- ae(g), c(), h = !1;
647
+ oe(g), c(), h = !1;
648
648
  };
649
649
  });
650
650
  }
651
651
  function xr(e) {
652
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
652
+ return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
653
653
  }
654
- var Pr = function(t) {
655
- return Hr(t) && !Tr(t);
654
+ var yr = function(t) {
655
+ return Pr(t) && !Hr(t);
656
656
  };
657
- function Hr(e) {
657
+ function Pr(e) {
658
658
  return !!e && typeof e == "object";
659
659
  }
660
- function Tr(e) {
660
+ function Hr(e) {
661
661
  var t = Object.prototype.toString.call(e);
662
- return t === "[object RegExp]" || t === "[object Date]" || Ar(e);
662
+ return t === "[object RegExp]" || t === "[object Date]" || Br(e);
663
663
  }
664
- var Sr = typeof Symbol == "function" && Symbol.for, Br = Sr ? Symbol.for("react.element") : 60103;
665
- function Ar(e) {
666
- return e.$$typeof === Br;
664
+ var Tr = typeof Symbol == "function" && Symbol.for, Sr = Tr ? Symbol.for("react.element") : 60103;
665
+ function Br(e) {
666
+ return e.$$typeof === Sr;
667
667
  }
668
- function Or(e) {
668
+ function Ar(e) {
669
669
  return Array.isArray(e) ? [] : {};
670
670
  }
671
- function se(e, t) {
672
- return t.clone !== !1 && t.isMergeableObject(e) ? q(Or(e), e, t) : e;
671
+ function ie(e, t) {
672
+ return t.clone !== !1 && t.isMergeableObject(e) ? Q(Ar(e), e, t) : e;
673
673
  }
674
- function wr(e, t, r) {
674
+ function Or(e, t, r) {
675
675
  return e.concat(t).map(function(n) {
676
- return se(n, r);
676
+ return ie(n, r);
677
677
  });
678
678
  }
679
- function Nr(e, t) {
679
+ function wr(e, t) {
680
680
  if (!t.customMerge)
681
- return q;
681
+ return Q;
682
682
  var r = t.customMerge(e);
683
- return typeof r == "function" ? r : q;
683
+ return typeof r == "function" ? r : Q;
684
684
  }
685
- function Lr(e) {
685
+ function Nr(e) {
686
686
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
687
687
  return Object.propertyIsEnumerable.call(e, t);
688
688
  }) : [];
689
689
  }
690
- function rt(e) {
691
- return Object.keys(e).concat(Lr(e));
690
+ function tt(e) {
691
+ return Object.keys(e).concat(Nr(e));
692
692
  }
693
- function Tt(e, t) {
693
+ function Ht(e, t) {
694
694
  try {
695
695
  return t in e;
696
696
  } catch (r) {
697
697
  return !1;
698
698
  }
699
699
  }
700
- function Ir(e, t) {
701
- return Tt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
700
+ function Lr(e, t) {
701
+ return Ht(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
702
702
  }
703
- function Cr(e, t, r) {
703
+ function Ir(e, t, r) {
704
704
  var n = {};
705
- return r.isMergeableObject(e) && rt(e).forEach(function(i) {
706
- n[i] = se(e[i], r);
707
- }), rt(t).forEach(function(i) {
708
- Ir(e, i) || (Tt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Nr(i, r)(e[i], t[i], r) : n[i] = se(t[i], r));
705
+ return r.isMergeableObject(e) && tt(e).forEach(function(i) {
706
+ n[i] = ie(e[i], r);
707
+ }), tt(t).forEach(function(i) {
708
+ Lr(e, i) || (Ht(e, i) && r.isMergeableObject(t[i]) ? n[i] = wr(i, r)(e[i], t[i], r) : n[i] = ie(t[i], r));
709
709
  }), n;
710
710
  }
711
- function q(e, t, r) {
712
- r = r || {}, r.arrayMerge = r.arrayMerge || wr, r.isMergeableObject = r.isMergeableObject || Pr, r.cloneUnlessOtherwiseSpecified = se;
711
+ function Q(e, t, r) {
712
+ r = r || {}, r.arrayMerge = r.arrayMerge || Or, r.isMergeableObject = r.isMergeableObject || yr, r.cloneUnlessOtherwiseSpecified = ie;
713
713
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
714
- return s ? n ? r.arrayMerge(e, t, r) : Cr(e, t, r) : se(t, r);
714
+ return s ? n ? r.arrayMerge(e, t, r) : Ir(e, t, r) : ie(t, r);
715
715
  }
716
- q.all = function(t, r) {
716
+ Q.all = function(t, r) {
717
717
  if (!Array.isArray(t))
718
718
  throw new Error("first argument should be an array");
719
719
  return t.reduce(function(n, i) {
720
- return q(n, i, r);
720
+ return Q(n, i, r);
721
721
  }, {});
722
722
  };
723
- var Mr = q, $r = Mr;
724
- const Rr = /* @__PURE__ */ xr($r);
725
- var Me = function(e, t) {
726
- return Me = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
723
+ var Cr = Q, Mr = Cr;
724
+ const $r = /* @__PURE__ */ xr(Mr);
725
+ /*! *****************************************************************************
726
+ Copyright (c) Microsoft Corporation.
727
+
728
+ Permission to use, copy, modify, and/or distribute this software for any
729
+ purpose with or without fee is hereby granted.
730
+
731
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
732
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
733
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
734
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
735
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
736
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
737
+ PERFORMANCE OF THIS SOFTWARE.
738
+ ***************************************************************************** */
739
+ var Ie = function(e, t) {
740
+ return Ie = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
727
741
  r.__proto__ = n;
728
742
  } || function(r, n) {
729
743
  for (var i in n)
730
744
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
731
- }, Me(e, t);
745
+ }, Ie(e, t);
732
746
  };
733
- function _e(e, t) {
747
+ function ve(e, t) {
734
748
  if (typeof t != "function" && t !== null)
735
749
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
736
- Me(e, t);
750
+ Ie(e, t);
737
751
  function r() {
738
752
  this.constructor = e;
739
753
  }
740
754
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
741
755
  }
742
- var U = function() {
743
- return U = Object.assign || function(t) {
756
+ var x = function() {
757
+ return x = Object.assign || function(t) {
744
758
  for (var r, n = 1, i = arguments.length; n < i; n++) {
745
759
  r = arguments[n];
746
760
  for (var s in r)
747
761
  Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
748
762
  }
749
763
  return t;
750
- }, U.apply(this, arguments);
764
+ }, x.apply(this, arguments);
751
765
  };
752
- function Ur(e, t) {
766
+ function Rr(e, t) {
753
767
  var r = {};
754
768
  for (var n in e)
755
769
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -758,43 +772,46 @@ function Ur(e, t) {
758
772
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
759
773
  return r;
760
774
  }
761
- function Se(e, t, r) {
762
- if (r || arguments.length === 2)
775
+ function He(e, t, r) {
776
+ if (arguments.length === 2)
763
777
  for (var n = 0, i = t.length, s; n < i; n++)
764
778
  (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
765
- return e.concat(s || Array.prototype.slice.call(t));
779
+ return e.concat(s || t);
766
780
  }
767
- function Be(e, t) {
768
- var r = t && t.cache ? t.cache : Xr, n = t && t.serializer ? t.serializer : kr, i = t && t.strategy ? t.strategy : Fr;
781
+ function Te(e, t) {
782
+ var r = t && t.cache ? t.cache : Vr, n = t && t.serializer ? t.serializer : jr, i = t && t.strategy ? t.strategy : Gr;
769
783
  return i(e, {
770
784
  cache: r,
771
785
  serializer: n
772
786
  });
773
787
  }
774
- function Gr(e) {
788
+ function Ur(e) {
775
789
  return e == null || typeof e == "number" || typeof e == "boolean";
776
790
  }
777
- function Dr(e, t, r, n) {
778
- var i = Gr(n) ? n : r(n), s = t.get(i);
791
+ function Tt(e, t, r, n) {
792
+ var i = Ur(n) ? n : r(n), s = t.get(i);
779
793
  return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
780
794
  }
781
795
  function St(e, t, r) {
782
796
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
783
797
  return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
784
798
  }
785
- function Bt(e, t, r, n, i) {
799
+ function Ve(e, t, r, n, i) {
786
800
  return r.bind(t, e, n, i);
787
801
  }
788
- function Fr(e, t) {
789
- var r = e.length === 1 ? Dr : St;
790
- return Bt(e, this, r, t.cache.create(), t.serializer);
802
+ function Gr(e, t) {
803
+ var r = e.length === 1 ? Tt : St;
804
+ return Ve(e, this, r, t.cache.create(), t.serializer);
791
805
  }
792
- function jr(e, t) {
793
- return Bt(e, this, St, t.cache.create(), t.serializer);
806
+ function Dr(e, t) {
807
+ return Ve(e, this, St, t.cache.create(), t.serializer);
808
+ }
809
+ function Fr(e, t) {
810
+ return Ve(e, this, Tt, t.cache.create(), t.serializer);
794
811
  }
795
- var kr = function() {
812
+ var jr = function() {
796
813
  return JSON.stringify(arguments);
797
- }, Vr = (
814
+ }, kr = (
798
815
  /** @class */
799
816
  function() {
800
817
  function e() {
@@ -806,71 +823,62 @@ var kr = function() {
806
823
  this.cache[t] = r;
807
824
  }, e;
808
825
  }()
809
- ), Xr = {
826
+ ), Vr = {
810
827
  create: function() {
811
- return new Vr();
828
+ return new kr();
812
829
  }
813
- }, Ae = {
814
- variadic: jr
815
- }, ge = function() {
816
- return ge = Object.assign || function(t) {
817
- for (var r, n = 1, i = arguments.length; n < i; n++) {
818
- r = arguments[n];
819
- for (var s in r)
820
- Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
821
- }
822
- return t;
823
- }, ge.apply(this, arguments);
824
- };
825
- var E;
830
+ }, Se = {
831
+ variadic: Dr,
832
+ monadic: Fr
833
+ }, E;
826
834
  (function(e) {
827
835
  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";
828
836
  })(E || (E = {}));
829
- var x;
837
+ var P;
830
838
  (function(e) {
831
839
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
832
- })(x || (x = {}));
833
- var J;
840
+ })(P || (P = {}));
841
+ var q;
834
842
  (function(e) {
835
843
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
836
- })(J || (J = {}));
837
- function nt(e) {
838
- return e.type === x.literal;
844
+ })(q || (q = {}));
845
+ function rt(e) {
846
+ return e.type === P.literal;
839
847
  }
840
- function zr(e) {
841
- return e.type === x.argument;
848
+ function Xr(e) {
849
+ return e.type === P.argument;
850
+ }
851
+ function Bt(e) {
852
+ return e.type === P.number;
842
853
  }
843
854
  function At(e) {
844
- return e.type === x.number;
855
+ return e.type === P.date;
845
856
  }
846
857
  function Ot(e) {
847
- return e.type === x.date;
858
+ return e.type === P.time;
848
859
  }
849
860
  function wt(e) {
850
- return e.type === x.time;
861
+ return e.type === P.select;
851
862
  }
852
863
  function Nt(e) {
853
- return e.type === x.select;
864
+ return e.type === P.plural;
854
865
  }
855
- function Lt(e) {
856
- return e.type === x.plural;
866
+ function zr(e) {
867
+ return e.type === P.pound;
857
868
  }
858
- function Wr(e) {
859
- return e.type === x.pound;
869
+ function Lt(e) {
870
+ return e.type === P.tag;
860
871
  }
861
872
  function It(e) {
862
- return e.type === x.tag;
873
+ return !!(e && typeof e == "object" && e.type === q.number);
863
874
  }
864
- function Ct(e) {
865
- return !!(e && typeof e == "object" && e.type === J.number);
866
- }
867
- function $e(e) {
868
- return !!(e && typeof e == "object" && e.type === J.dateTime);
875
+ function Ce(e) {
876
+ return !!(e && typeof e == "object" && e.type === q.dateTime);
869
877
  }
870
- var Mt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Zr = /(?:[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;
871
- function Qr(e) {
878
+ var Ct = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Wr = /(?:[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;
879
+ function Zr(e) {
872
880
  var t = {};
873
- return e.replace(Zr, function(r) {
881
+ return e.replace(Wr, function(r) {
874
882
  var n = r.length;
875
883
  switch (r[0]) {
876
884
  case "G":
@@ -959,21 +967,11 @@ function Qr(e) {
959
967
  return "";
960
968
  }), t;
961
969
  }
962
- var T = function() {
963
- return T = Object.assign || function(t) {
964
- for (var r, n = 1, i = arguments.length; n < i; n++) {
965
- r = arguments[n];
966
- for (var s in r)
967
- Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
968
- }
969
- return t;
970
- }, T.apply(this, arguments);
971
- };
972
- var qr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
973
- function Jr(e) {
970
+ var Qr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
971
+ function qr(e) {
974
972
  if (e.length === 0)
975
973
  throw new Error("Number skeleton cannot be empty");
976
- for (var t = e.split(qr).filter(function(f) {
974
+ for (var t = e.split(Qr).filter(function(f) {
977
975
  return f.length > 0;
978
976
  }), r = [], n = 0, i = t; n < i.length; n++) {
979
977
  var s = i[n], o = s.split("/");
@@ -988,17 +986,17 @@ function Jr(e) {
988
986
  }
989
987
  return r;
990
988
  }
991
- function Yr(e) {
989
+ function Jr(e) {
992
990
  return e.replace(/^(.*?)-/, "");
993
991
  }
994
- var it = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, $t = /^(@+)?(\+|#+)?[rs]?$/g, Kr = /(\*)(0+)|(#+)(0+)|(0+)/g, Rt = /^(0+)$/;
995
- function st(e) {
992
+ var nt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Mt = /^(@+)?(\+|#+)?[rs]?$/g, Yr = /(\*)(0+)|(#+)(0+)|(0+)/g, $t = /^(0+)$/;
993
+ function it(e) {
996
994
  var t = {};
997
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace($t, function(r, n, i) {
995
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Mt, function(r, n, i) {
998
996
  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)), "";
999
997
  }), t;
1000
998
  }
1001
- function Ut(e) {
999
+ function Rt(e) {
1002
1000
  switch (e) {
1003
1001
  case "sign-auto":
1004
1002
  return {
@@ -1038,7 +1036,7 @@ function Ut(e) {
1038
1036
  };
1039
1037
  }
1040
1038
  }
1041
- function en(e) {
1039
+ function Kr(e) {
1042
1040
  var t;
1043
1041
  if (e[0] === "E" && e[1] === "E" ? (t = {
1044
1042
  notation: "engineering"
@@ -1046,17 +1044,17 @@ function en(e) {
1046
1044
  notation: "scientific"
1047
1045
  }, e = e.slice(1)), t) {
1048
1046
  var r = e.slice(0, 2);
1049
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Rt.test(e))
1047
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !$t.test(e))
1050
1048
  throw new Error("Malformed concise eng/scientific notation");
1051
1049
  t.minimumIntegerDigits = e.length;
1052
1050
  }
1053
1051
  return t;
1054
1052
  }
1055
- function ot(e) {
1056
- var t = {}, r = Ut(e);
1053
+ function st(e) {
1054
+ var t = {}, r = Rt(e);
1057
1055
  return r || t;
1058
1056
  }
1059
- function tn(e) {
1057
+ function en(e) {
1060
1058
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1061
1059
  var i = n[r];
1062
1060
  switch (i.stem) {
@@ -1080,7 +1078,7 @@ function tn(e) {
1080
1078
  continue;
1081
1079
  case "measure-unit":
1082
1080
  case "unit":
1083
- t.style = "unit", t.unit = Yr(i.options[0]);
1081
+ t.style = "unit", t.unit = Jr(i.options[0]);
1084
1082
  continue;
1085
1083
  case "compact-short":
1086
1084
  case "K":
@@ -1091,13 +1089,13 @@ function tn(e) {
1091
1089
  t.notation = "compact", t.compactDisplay = "long";
1092
1090
  continue;
1093
1091
  case "scientific":
1094
- t = T(T(T({}, t), { notation: "scientific" }), i.options.reduce(function(h, a) {
1095
- return T(T({}, h), ot(a));
1092
+ t = x(x(x({}, t), { notation: "scientific" }), i.options.reduce(function(h, a) {
1093
+ return x(x({}, h), st(a));
1096
1094
  }, {}));
1097
1095
  continue;
1098
1096
  case "engineering":
1099
- t = T(T(T({}, t), { notation: "engineering" }), i.options.reduce(function(h, a) {
1100
- return T(T({}, h), ot(a));
1097
+ t = x(x(x({}, t), { notation: "engineering" }), i.options.reduce(function(h, a) {
1098
+ return x(x({}, h), st(a));
1101
1099
  }, {}));
1102
1100
  continue;
1103
1101
  case "notation-simple":
@@ -1142,7 +1140,7 @@ function tn(e) {
1142
1140
  case "integer-width":
1143
1141
  if (i.options.length > 1)
1144
1142
  throw new RangeError("integer-width stems only accept a single optional option");
1145
- i.options[0].replace(Kr, function(h, a, l, c, f, g) {
1143
+ i.options[0].replace(Yr, function(h, a, l, c, f, g) {
1146
1144
  if (a)
1147
1145
  t.minimumIntegerDigits = l.length;
1148
1146
  else {
@@ -1155,32 +1153,32 @@ function tn(e) {
1155
1153
  });
1156
1154
  continue;
1157
1155
  }
1158
- if (Rt.test(i.stem)) {
1156
+ if ($t.test(i.stem)) {
1159
1157
  t.minimumIntegerDigits = i.stem.length;
1160
1158
  continue;
1161
1159
  }
1162
- if (it.test(i.stem)) {
1160
+ if (nt.test(i.stem)) {
1163
1161
  if (i.options.length > 1)
1164
1162
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1165
- i.stem.replace(it, function(h, a, l, c, f, g) {
1163
+ i.stem.replace(nt, function(h, a, l, c, f, g) {
1166
1164
  return l === "*" ? t.minimumFractionDigits = a.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && g ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + g.length) : (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length), "";
1167
1165
  });
1168
1166
  var s = i.options[0];
1169
- s === "w" ? t = T(T({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = T(T({}, t), st(s)));
1167
+ s === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = x(x({}, t), it(s)));
1170
1168
  continue;
1171
1169
  }
1172
- if ($t.test(i.stem)) {
1173
- t = T(T({}, t), st(i.stem));
1170
+ if (Mt.test(i.stem)) {
1171
+ t = x(x({}, t), it(i.stem));
1174
1172
  continue;
1175
1173
  }
1176
- var o = Ut(i.stem);
1177
- o && (t = T(T({}, t), o));
1178
- var u = en(i.stem);
1179
- u && (t = T(T({}, t), u));
1174
+ var o = Rt(i.stem);
1175
+ o && (t = x(x({}, t), o));
1176
+ var u = Kr(i.stem);
1177
+ u && (t = x(x({}, t), u));
1180
1178
  }
1181
1179
  return t;
1182
1180
  }
1183
- var fe = {
1181
+ var le = {
1184
1182
  "001": [
1185
1183
  "H",
1186
1184
  "h"
@@ -2595,13 +2593,13 @@ var fe = {
2595
2593
  "h"
2596
2594
  ]
2597
2595
  };
2598
- function rn(e, t) {
2596
+ function tn(e, t) {
2599
2597
  for (var r = "", n = 0; n < e.length; n++) {
2600
2598
  var i = e.charAt(n);
2601
2599
  if (i === "j") {
2602
2600
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2603
2601
  s++, n++;
2604
- var o = 1 + (s & 1), u = s < 2 ? 1 : 3 + (s >> 1), h = "a", a = nn(t);
2602
+ var o = 1 + (s & 1), u = s < 2 ? 1 : 3 + (s >> 1), h = "a", a = rn(t);
2605
2603
  for ((a == "H" || a == "k") && (u = 0); u-- > 0; )
2606
2604
  r += h;
2607
2605
  for (; o-- > 0; )
@@ -2611,7 +2609,7 @@ function rn(e, t) {
2611
2609
  }
2612
2610
  return r;
2613
2611
  }
2614
- function nn(e) {
2612
+ function rn(e) {
2615
2613
  var t = e.hourCycle;
2616
2614
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2617
2615
  e.hourCycles && // @ts-ignore
@@ -2630,23 +2628,23 @@ function nn(e) {
2630
2628
  }
2631
2629
  var r = e.language, n;
2632
2630
  r !== "root" && (n = e.maximize().region);
2633
- var i = fe[n || ""] || fe[r || ""] || fe["".concat(r, "-001")] || fe["001"];
2631
+ var i = le[n || ""] || le[r || ""] || le["".concat(r, "-001")] || le["001"];
2634
2632
  return i[0];
2635
2633
  }
2636
- var Oe, sn = new RegExp("^".concat(Mt.source, "*")), on = new RegExp("".concat(Mt.source, "*$"));
2634
+ var Be, nn = new RegExp("^".concat(Ct.source, "*")), sn = new RegExp("".concat(Ct.source, "*$"));
2637
2635
  function _(e, t) {
2638
2636
  return { start: e, end: t };
2639
2637
  }
2640
- var an = !!String.prototype.startsWith && "_a".startsWith("a", 1), un = !!String.fromCodePoint, hn = !!Object.fromEntries, ln = !!String.prototype.codePointAt, fn = !!String.prototype.trimStart, cn = !!String.prototype.trimEnd, pn = !!Number.isSafeInteger, mn = pn ? Number.isSafeInteger : function(e) {
2638
+ var on = !!String.prototype.startsWith && "_a".startsWith("a", 1), an = !!String.fromCodePoint, un = !!Object.fromEntries, hn = !!String.prototype.codePointAt, ln = !!String.prototype.trimStart, fn = !!String.prototype.trimEnd, cn = !!Number.isSafeInteger, dn = cn ? Number.isSafeInteger : function(e) {
2641
2639
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2642
- }, Re = !0;
2640
+ }, Me = !0;
2643
2641
  try {
2644
- var dn = Dt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2645
- Re = ((Oe = dn.exec("a")) === null || Oe === void 0 ? void 0 : Oe[0]) === "a";
2642
+ var mn = Gt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2643
+ Me = ((Be = mn.exec("a")) === null || Be === void 0 ? void 0 : Be[0]) === "a";
2646
2644
  } catch (e) {
2647
- Re = !1;
2645
+ Me = !1;
2648
2646
  }
2649
- var at = an ? (
2647
+ var ot = on ? (
2650
2648
  // Native
2651
2649
  function(t, r, n) {
2652
2650
  return t.startsWith(r, n);
@@ -2656,7 +2654,7 @@ var at = an ? (
2656
2654
  function(t, r, n) {
2657
2655
  return t.slice(n, n + r.length) === r;
2658
2656
  }
2659
- ), Ue = un ? String.fromCodePoint : (
2657
+ ), $e = an ? String.fromCodePoint : (
2660
2658
  // IE11
2661
2659
  function() {
2662
2660
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2668,9 +2666,9 @@ var at = an ? (
2668
2666
  }
2669
2667
  return n;
2670
2668
  }
2671
- ), ut = (
2669
+ ), at = (
2672
2670
  // native
2673
- hn ? Object.fromEntries : (
2671
+ un ? Object.fromEntries : (
2674
2672
  // Ponyfill
2675
2673
  function(t) {
2676
2674
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2680,7 +2678,7 @@ var at = an ? (
2680
2678
  return r;
2681
2679
  }
2682
2680
  )
2683
- ), Gt = ln ? (
2681
+ ), Ut = hn ? (
2684
2682
  // Native
2685
2683
  function(t, r) {
2686
2684
  return t.codePointAt(r);
@@ -2694,7 +2692,7 @@ var at = an ? (
2694
2692
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2695
2693
  }
2696
2694
  }
2697
- ), gn = fn ? (
2695
+ ), pn = ln ? (
2698
2696
  // Native
2699
2697
  function(t) {
2700
2698
  return t.trimStart();
@@ -2702,9 +2700,9 @@ var at = an ? (
2702
2700
  ) : (
2703
2701
  // Ponyfill
2704
2702
  function(t) {
2705
- return t.replace(sn, "");
2703
+ return t.replace(nn, "");
2706
2704
  }
2707
- ), bn = cn ? (
2705
+ ), gn = fn ? (
2708
2706
  // Native
2709
2707
  function(t) {
2710
2708
  return t.trimEnd();
@@ -2712,32 +2710,32 @@ var at = an ? (
2712
2710
  ) : (
2713
2711
  // Ponyfill
2714
2712
  function(t) {
2715
- return t.replace(on, "");
2713
+ return t.replace(sn, "");
2716
2714
  }
2717
2715
  );
2718
- function Dt(e, t) {
2716
+ function Gt(e, t) {
2719
2717
  return new RegExp(e, t);
2720
2718
  }
2721
- var Ge;
2722
- if (Re) {
2723
- var ht = Dt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2724
- Ge = function(t, r) {
2719
+ var Re;
2720
+ if (Me) {
2721
+ var ut = Gt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2722
+ Re = function(t, r) {
2725
2723
  var n;
2726
- ht.lastIndex = r;
2727
- var i = ht.exec(t);
2724
+ ut.lastIndex = r;
2725
+ var i = ut.exec(t);
2728
2726
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2729
2727
  };
2730
2728
  } else
2731
- Ge = function(t, r) {
2729
+ Re = function(t, r) {
2732
2730
  for (var n = []; ; ) {
2733
- var i = Gt(t, r);
2734
- if (i === void 0 || Ft(i) || yn(i))
2731
+ var i = Ut(t, r);
2732
+ if (i === void 0 || Dt(i) || _n(i))
2735
2733
  break;
2736
2734
  n.push(i), r += i >= 65536 ? 2 : 1;
2737
2735
  }
2738
- return Ue.apply(void 0, n);
2736
+ return $e.apply(void 0, n);
2739
2737
  };
2740
- var vn = (
2738
+ var bn = (
2741
2739
  /** @class */
2742
2740
  function() {
2743
2741
  function e(t, r) {
@@ -2761,14 +2759,14 @@ var vn = (
2761
2759
  if (s === 35 && (r === "plural" || r === "selectordinal")) {
2762
2760
  var u = this.clonePosition();
2763
2761
  this.bump(), i.push({
2764
- type: x.pound,
2762
+ type: P.pound,
2765
2763
  location: _(u, this.clonePosition())
2766
2764
  });
2767
2765
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2768
2766
  if (n)
2769
2767
  break;
2770
2768
  return this.error(E.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
2771
- } else if (s === 60 && !this.ignoreTag && De(this.peek() || 0)) {
2769
+ } else if (s === 60 && !this.ignoreTag && Ue(this.peek() || 0)) {
2772
2770
  var o = this.parseTag(t, r);
2773
2771
  if (o.err)
2774
2772
  return o;
@@ -2789,7 +2787,7 @@ var vn = (
2789
2787
  if (this.bumpSpace(), this.bumpIf("/>"))
2790
2788
  return {
2791
2789
  val: {
2792
- type: x.literal,
2790
+ type: P.literal,
2793
2791
  value: "<".concat(i, "/>"),
2794
2792
  location: _(n, this.clonePosition())
2795
2793
  },
@@ -2801,12 +2799,12 @@ var vn = (
2801
2799
  return s;
2802
2800
  var o = s.val, u = this.clonePosition();
2803
2801
  if (this.bumpIf("</")) {
2804
- if (this.isEOF() || !De(this.char()))
2802
+ if (this.isEOF() || !Ue(this.char()))
2805
2803
  return this.error(E.INVALID_TAG, _(u, this.clonePosition()));
2806
2804
  var h = this.clonePosition(), a = this.parseTagName();
2807
2805
  return i !== a ? this.error(E.UNMATCHED_CLOSING_TAG, _(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2808
2806
  val: {
2809
- type: x.tag,
2807
+ type: P.tag,
2810
2808
  value: i,
2811
2809
  children: o,
2812
2810
  location: _(n, this.clonePosition())
@@ -2819,7 +2817,7 @@ var vn = (
2819
2817
  return this.error(E.INVALID_TAG, _(n, this.clonePosition()));
2820
2818
  }, e.prototype.parseTagName = function() {
2821
2819
  var t = this.offset();
2822
- for (this.bump(); !this.isEOF() && _n(this.char()); )
2820
+ for (this.bump(); !this.isEOF() && En(this.char()); )
2823
2821
  this.bump();
2824
2822
  return this.message.slice(t, this.offset());
2825
2823
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2843,12 +2841,12 @@ var vn = (
2843
2841
  }
2844
2842
  var h = _(n, this.clonePosition());
2845
2843
  return {
2846
- val: { type: x.literal, value: i, location: h },
2844
+ val: { type: P.literal, value: i, location: h },
2847
2845
  err: null
2848
2846
  };
2849
2847
  }, e.prototype.tryParseLeftAngleBracket = function() {
2850
2848
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2851
- !En(this.peek() || 0)) ? (this.bump(), "<") : null;
2849
+ !vn(this.peek() || 0)) ? (this.bump(), "<") : null;
2852
2850
  }, e.prototype.tryParseQuote = function(t) {
2853
2851
  if (this.isEOF() || this.char() !== 39)
2854
2852
  return null;
@@ -2882,12 +2880,12 @@ var vn = (
2882
2880
  r.push(n);
2883
2881
  this.bump();
2884
2882
  }
2885
- return Ue.apply(void 0, r);
2883
+ return $e.apply(void 0, r);
2886
2884
  }, e.prototype.tryParseUnquoted = function(t, r) {
2887
2885
  if (this.isEOF())
2888
2886
  return null;
2889
2887
  var n = this.char();
2890
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ue(n));
2888
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), $e(n));
2891
2889
  }, e.prototype.parseArgument = function(t, r) {
2892
2890
  var n = this.clonePosition();
2893
2891
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -2903,7 +2901,7 @@ var vn = (
2903
2901
  case 125:
2904
2902
  return this.bump(), {
2905
2903
  val: {
2906
- type: x.argument,
2904
+ type: P.argument,
2907
2905
  // value does not include the opening and closing braces.
2908
2906
  value: i,
2909
2907
  location: _(n, this.clonePosition())
@@ -2916,7 +2914,7 @@ var vn = (
2916
2914
  return this.error(E.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
2917
2915
  }
2918
2916
  }, e.prototype.parseIdentifierIfPossible = function() {
2919
- var t = this.clonePosition(), r = this.offset(), n = Ge(this.message, r), i = r + n.length;
2917
+ var t = this.clonePosition(), r = this.offset(), n = Re(this.message, r), i = r + n.length;
2920
2918
  this.bumpTo(i);
2921
2919
  var s = this.clonePosition(), o = _(t, s);
2922
2920
  return { value: n, location: o };
@@ -2935,46 +2933,46 @@ var vn = (
2935
2933
  var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2936
2934
  if (c.err)
2937
2935
  return c;
2938
- var f = bn(c.val);
2936
+ var f = gn(c.val);
2939
2937
  if (f.length === 0)
2940
2938
  return this.error(E.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
2941
2939
  var g = _(l, this.clonePosition());
2942
2940
  a = { style: f, styleLocation: g };
2943
2941
  }
2944
- var d = this.tryParseArgumentClose(i);
2945
- if (d.err)
2946
- return d;
2947
- var p = _(i, this.clonePosition());
2948
- if (a && at(a == null ? void 0 : a.style, "::", 0)) {
2949
- var v = gn(a.style.slice(2));
2942
+ var p = this.tryParseArgumentClose(i);
2943
+ if (p.err)
2944
+ return p;
2945
+ var d = _(i, this.clonePosition());
2946
+ if (a && ot(a == null ? void 0 : a.style, "::", 0)) {
2947
+ var v = pn(a.style.slice(2));
2950
2948
  if (u === "number") {
2951
2949
  var c = this.parseNumberSkeletonFromString(v, a.styleLocation);
2952
2950
  return c.err ? c : {
2953
- val: { type: x.number, value: n, location: p, style: c.val },
2951
+ val: { type: P.number, value: n, location: d, style: c.val },
2954
2952
  err: null
2955
2953
  };
2956
2954
  } else {
2957
2955
  if (v.length === 0)
2958
- return this.error(E.EXPECT_DATE_TIME_SKELETON, p);
2956
+ return this.error(E.EXPECT_DATE_TIME_SKELETON, d);
2959
2957
  var m = v;
2960
- this.locale && (m = rn(v, this.locale));
2958
+ this.locale && (m = tn(v, this.locale));
2961
2959
  var f = {
2962
- type: J.dateTime,
2960
+ type: q.dateTime,
2963
2961
  pattern: m,
2964
2962
  location: a.styleLocation,
2965
- parsedOptions: this.shouldParseSkeletons ? Qr(m) : {}
2966
- }, P = u === "date" ? x.date : x.time;
2963
+ parsedOptions: this.shouldParseSkeletons ? Zr(m) : {}
2964
+ }, H = u === "date" ? P.date : P.time;
2967
2965
  return {
2968
- val: { type: P, value: n, location: p, style: f },
2966
+ val: { type: H, value: n, location: d, style: f },
2969
2967
  err: null
2970
2968
  };
2971
2969
  }
2972
2970
  }
2973
2971
  return {
2974
2972
  val: {
2975
- type: u === "number" ? x.number : u === "date" ? x.date : x.time,
2973
+ type: u === "number" ? P.number : u === "date" ? P.date : P.time,
2976
2974
  value: n,
2977
- location: p,
2975
+ location: d,
2978
2976
  style: (s = a == null ? void 0 : a.style) !== null && s !== void 0 ? s : null
2979
2977
  },
2980
2978
  err: null
@@ -2985,9 +2983,9 @@ var vn = (
2985
2983
  case "select": {
2986
2984
  var B = this.clonePosition();
2987
2985
  if (this.bumpSpace(), !this.bumpIf(","))
2988
- return this.error(E.EXPECT_SELECT_ARGUMENT_OPTIONS, _(B, ge({}, B)));
2986
+ return this.error(E.EXPECT_SELECT_ARGUMENT_OPTIONS, _(B, x({}, B)));
2989
2987
  this.bumpSpace();
2990
- var O = this.parseIdentifierIfPossible(), H = 0;
2988
+ var O = this.parseIdentifierIfPossible(), T = 0;
2991
2989
  if (u !== "select" && O.value === "offset") {
2992
2990
  if (!this.bumpIf(":"))
2993
2991
  return this.error(E.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
@@ -2995,29 +2993,29 @@ var vn = (
2995
2993
  var c = this.tryParseDecimalInteger(E.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, E.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2996
2994
  if (c.err)
2997
2995
  return c;
2998
- this.bumpSpace(), O = this.parseIdentifierIfPossible(), H = c.val;
2996
+ this.bumpSpace(), O = this.parseIdentifierIfPossible(), T = c.val;
2999
2997
  }
3000
2998
  var N = this.tryParsePluralOrSelectOptions(t, u, r, O);
3001
2999
  if (N.err)
3002
3000
  return N;
3003
- var d = this.tryParseArgumentClose(i);
3004
- if (d.err)
3005
- return d;
3001
+ var p = this.tryParseArgumentClose(i);
3002
+ if (p.err)
3003
+ return p;
3006
3004
  var b = _(i, this.clonePosition());
3007
3005
  return u === "select" ? {
3008
3006
  val: {
3009
- type: x.select,
3007
+ type: P.select,
3010
3008
  value: n,
3011
- options: ut(N.val),
3009
+ options: at(N.val),
3012
3010
  location: b
3013
3011
  },
3014
3012
  err: null
3015
3013
  } : {
3016
3014
  val: {
3017
- type: x.plural,
3015
+ type: P.plural,
3018
3016
  value: n,
3019
- options: ut(N.val),
3020
- offset: H,
3017
+ options: at(N.val),
3018
+ offset: T,
3021
3019
  pluralType: u === "plural" ? "cardinal" : "ordinal",
3022
3020
  location: b
3023
3021
  },
@@ -3067,16 +3065,16 @@ var vn = (
3067
3065
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3068
3066
  var n = [];
3069
3067
  try {
3070
- n = Jr(t);
3068
+ n = qr(t);
3071
3069
  } catch (i) {
3072
3070
  return this.error(E.INVALID_NUMBER_SKELETON, r);
3073
3071
  }
3074
3072
  return {
3075
3073
  val: {
3076
- type: J.number,
3074
+ type: q.number,
3077
3075
  tokens: n,
3078
3076
  location: r,
3079
- parsedOptions: this.shouldParseSkeletons ? tn(n) : {}
3077
+ parsedOptions: this.shouldParseSkeletons ? en(n) : {}
3080
3078
  },
3081
3079
  err: null
3082
3080
  };
@@ -3098,16 +3096,16 @@ var vn = (
3098
3096
  var g = this.clonePosition();
3099
3097
  if (!this.bumpIf("{"))
3100
3098
  return this.error(r === "select" ? E.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : E.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
3101
- var d = this.parseMessage(t + 1, r, n);
3102
- if (d.err)
3103
- return d;
3104
- var p = this.tryParseArgumentClose(g);
3099
+ var p = this.parseMessage(t + 1, r, n);
3105
3100
  if (p.err)
3106
3101
  return p;
3102
+ var d = this.tryParseArgumentClose(g);
3103
+ if (d.err)
3104
+ return d;
3107
3105
  u.push([
3108
3106
  a,
3109
3107
  {
3110
- value: d.val,
3108
+ value: p.val,
3111
3109
  location: _(g, this.clonePosition())
3112
3110
  }
3113
3111
  ]), h.add(a), this.bumpSpace(), s = this.parseIdentifierIfPossible(), a = s.value, l = s.location;
@@ -3124,7 +3122,7 @@ var vn = (
3124
3122
  break;
3125
3123
  }
3126
3124
  var h = _(i, this.clonePosition());
3127
- return s ? (o *= n, mn(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
3125
+ return s ? (o *= n, dn(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
3128
3126
  }, e.prototype.offset = function() {
3129
3127
  return this.position.offset;
3130
3128
  }, e.prototype.isEOF = function() {
@@ -3139,7 +3137,7 @@ var vn = (
3139
3137
  var t = this.position.offset;
3140
3138
  if (t >= this.message.length)
3141
3139
  throw Error("out of bound");
3142
- var r = Gt(this.message, t);
3140
+ var r = Ut(this.message, t);
3143
3141
  if (r === void 0)
3144
3142
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3145
3143
  return r;
@@ -3158,7 +3156,7 @@ var vn = (
3158
3156
  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);
3159
3157
  }
3160
3158
  }, e.prototype.bumpIf = function(t) {
3161
- if (at(this.message, t, this.offset())) {
3159
+ if (ot(this.message, t, this.offset())) {
3162
3160
  for (var r = 0; r < t.length; r++)
3163
3161
  this.bump();
3164
3162
  return !0;
@@ -3180,7 +3178,7 @@ var vn = (
3180
3178
  break;
3181
3179
  }
3182
3180
  }, e.prototype.bumpSpace = function() {
3183
- for (; !this.isEOF() && Ft(this.char()); )
3181
+ for (; !this.isEOF() && Dt(this.char()); )
3184
3182
  this.bump();
3185
3183
  }, e.prototype.peek = function() {
3186
3184
  if (this.isEOF())
@@ -3190,47 +3188,47 @@ var vn = (
3190
3188
  }, e;
3191
3189
  }()
3192
3190
  );
3193
- function De(e) {
3191
+ function Ue(e) {
3194
3192
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3195
3193
  }
3196
- function En(e) {
3197
- return De(e) || e === 47;
3194
+ function vn(e) {
3195
+ return Ue(e) || e === 47;
3198
3196
  }
3199
- function _n(e) {
3197
+ function En(e) {
3200
3198
  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;
3201
3199
  }
3202
- function Ft(e) {
3200
+ function Dt(e) {
3203
3201
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3204
3202
  }
3205
- function yn(e) {
3203
+ function _n(e) {
3206
3204
  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;
3207
3205
  }
3208
- function Fe(e) {
3206
+ function Ge(e) {
3209
3207
  e.forEach(function(t) {
3210
- if (delete t.location, Nt(t) || Lt(t))
3208
+ if (delete t.location, wt(t) || Nt(t))
3211
3209
  for (var r in t.options)
3212
- delete t.options[r].location, Fe(t.options[r].value);
3210
+ delete t.options[r].location, Ge(t.options[r].value);
3213
3211
  else
3214
- At(t) && Ct(t.style) || (Ot(t) || wt(t)) && $e(t.style) ? delete t.style.location : It(t) && Fe(t.children);
3212
+ Bt(t) && It(t.style) || (At(t) || Ot(t)) && Ce(t.style) ? delete t.style.location : Lt(t) && Ge(t.children);
3215
3213
  });
3216
3214
  }
3217
3215
  function xn(e, t) {
3218
- t === void 0 && (t = {}), t = ge({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3219
- var r = new vn(e, t).parse();
3216
+ t === void 0 && (t = {}), t = x({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3217
+ var r = new bn(e, t).parse();
3220
3218
  if (r.err) {
3221
3219
  var n = SyntaxError(E[r.err.kind]);
3222
3220
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3223
3221
  }
3224
- return t != null && t.captureLocation || Fe(r.val), r.val;
3222
+ return t != null && t.captureLocation || Ge(r.val), r.val;
3225
3223
  }
3226
- var Y;
3224
+ var J;
3227
3225
  (function(e) {
3228
3226
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3229
- })(Y || (Y = {}));
3230
- var ye = (
3227
+ })(J || (J = {}));
3228
+ var Ee = (
3231
3229
  /** @class */
3232
3230
  function(e) {
3233
- _e(t, e);
3231
+ ve(t, e);
3234
3232
  function t(r, n, i) {
3235
3233
  var s = e.call(this, r) || this;
3236
3234
  return s.code = n, s.originalMessage = i, s;
@@ -3239,48 +3237,48 @@ var ye = (
3239
3237
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3240
3238
  }, t;
3241
3239
  }(Error)
3242
- ), lt = (
3240
+ ), ht = (
3243
3241
  /** @class */
3244
3242
  function(e) {
3245
- _e(t, e);
3243
+ ve(t, e);
3246
3244
  function t(r, n, i, s) {
3247
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Y.INVALID_VALUE, s) || this;
3245
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), J.INVALID_VALUE, s) || this;
3248
3246
  }
3249
3247
  return t;
3250
- }(ye)
3251
- ), Pn = (
3248
+ }(Ee)
3249
+ ), yn = (
3252
3250
  /** @class */
3253
3251
  function(e) {
3254
- _e(t, e);
3252
+ ve(t, e);
3255
3253
  function t(r, n, i) {
3256
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Y.INVALID_VALUE, i) || this;
3254
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), J.INVALID_VALUE, i) || this;
3257
3255
  }
3258
3256
  return t;
3259
- }(ye)
3260
- ), Hn = (
3257
+ }(Ee)
3258
+ ), Pn = (
3261
3259
  /** @class */
3262
3260
  function(e) {
3263
- _e(t, e);
3261
+ ve(t, e);
3264
3262
  function t(r, n) {
3265
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Y.MISSING_VALUE, n) || this;
3263
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), J.MISSING_VALUE, n) || this;
3266
3264
  }
3267
3265
  return t;
3268
- }(ye)
3266
+ }(Ee)
3269
3267
  ), w;
3270
3268
  (function(e) {
3271
3269
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3272
3270
  })(w || (w = {}));
3273
- function Tn(e) {
3271
+ function Hn(e) {
3274
3272
  return e.length < 2 ? e : e.reduce(function(t, r) {
3275
3273
  var n = t[t.length - 1];
3276
3274
  return !n || n.type !== w.literal || r.type !== w.literal ? t.push(r) : n.value += r.value, t;
3277
3275
  }, []);
3278
3276
  }
3279
- function Sn(e) {
3277
+ function Tn(e) {
3280
3278
  return typeof e == "function";
3281
3279
  }
3282
- function pe(e, t, r, n, i, s, o) {
3283
- if (e.length === 1 && nt(e[0]))
3280
+ function ce(e, t, r, n, i, s, o) {
3281
+ if (e.length === 1 && rt(e[0]))
3284
3282
  return [
3285
3283
  {
3286
3284
  type: w.literal,
@@ -3289,14 +3287,14 @@ function pe(e, t, r, n, i, s, o) {
3289
3287
  ];
3290
3288
  for (var u = [], h = 0, a = e; h < a.length; h++) {
3291
3289
  var l = a[h];
3292
- if (nt(l)) {
3290
+ if (rt(l)) {
3293
3291
  u.push({
3294
3292
  type: w.literal,
3295
3293
  value: l.value
3296
3294
  });
3297
3295
  continue;
3298
3296
  }
3299
- if (Wr(l)) {
3297
+ if (zr(l)) {
3300
3298
  typeof s == "number" && u.push({
3301
3299
  type: w.literal,
3302
3300
  value: r.getNumberFormat(t).format(s)
@@ -3305,89 +3303,89 @@ function pe(e, t, r, n, i, s, o) {
3305
3303
  }
3306
3304
  var c = l.value;
3307
3305
  if (!(i && c in i))
3308
- throw new Hn(c, o);
3306
+ throw new Pn(c, o);
3309
3307
  var f = i[c];
3310
- if (zr(l)) {
3308
+ if (Xr(l)) {
3311
3309
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), u.push({
3312
3310
  type: typeof f == "string" ? w.literal : w.object,
3313
3311
  value: f
3314
3312
  });
3315
3313
  continue;
3316
3314
  }
3317
- if (Ot(l)) {
3318
- var g = typeof l.style == "string" ? n.date[l.style] : $e(l.style) ? l.style.parsedOptions : void 0;
3315
+ if (At(l)) {
3316
+ var g = typeof l.style == "string" ? n.date[l.style] : Ce(l.style) ? l.style.parsedOptions : void 0;
3319
3317
  u.push({
3320
3318
  type: w.literal,
3321
3319
  value: r.getDateTimeFormat(t, g).format(f)
3322
3320
  });
3323
3321
  continue;
3324
3322
  }
3325
- if (wt(l)) {
3326
- var g = typeof l.style == "string" ? n.time[l.style] : $e(l.style) ? l.style.parsedOptions : n.time.medium;
3323
+ if (Ot(l)) {
3324
+ var g = typeof l.style == "string" ? n.time[l.style] : Ce(l.style) ? l.style.parsedOptions : n.time.medium;
3327
3325
  u.push({
3328
3326
  type: w.literal,
3329
3327
  value: r.getDateTimeFormat(t, g).format(f)
3330
3328
  });
3331
3329
  continue;
3332
3330
  }
3333
- if (At(l)) {
3334
- var g = typeof l.style == "string" ? n.number[l.style] : Ct(l.style) ? l.style.parsedOptions : void 0;
3331
+ if (Bt(l)) {
3332
+ var g = typeof l.style == "string" ? n.number[l.style] : It(l.style) ? l.style.parsedOptions : void 0;
3335
3333
  g && g.scale && (f = f * (g.scale || 1)), u.push({
3336
3334
  type: w.literal,
3337
3335
  value: r.getNumberFormat(t, g).format(f)
3338
3336
  });
3339
3337
  continue;
3340
3338
  }
3341
- if (It(l)) {
3342
- var d = l.children, p = l.value, v = i[p];
3343
- if (!Sn(v))
3344
- throw new Pn(p, "function", o);
3345
- var m = pe(d, t, r, n, i, s), P = v(m.map(function(H) {
3346
- return H.value;
3339
+ if (Lt(l)) {
3340
+ var p = l.children, d = l.value, v = i[d];
3341
+ if (!Tn(v))
3342
+ throw new yn(d, "function", o);
3343
+ var m = ce(p, t, r, n, i, s), H = v(m.map(function(T) {
3344
+ return T.value;
3347
3345
  }));
3348
- Array.isArray(P) || (P = [P]), u.push.apply(u, P.map(function(H) {
3346
+ Array.isArray(H) || (H = [H]), u.push.apply(u, H.map(function(T) {
3349
3347
  return {
3350
- type: typeof H == "string" ? w.literal : w.object,
3351
- value: H
3348
+ type: typeof T == "string" ? w.literal : w.object,
3349
+ value: T
3352
3350
  };
3353
3351
  }));
3354
3352
  }
3355
- if (Nt(l)) {
3353
+ if (wt(l)) {
3356
3354
  var B = l.options[f] || l.options.other;
3357
3355
  if (!B)
3358
- throw new lt(l.value, f, Object.keys(l.options), o);
3359
- u.push.apply(u, pe(B.value, t, r, n, i));
3356
+ throw new ht(l.value, f, Object.keys(l.options), o);
3357
+ u.push.apply(u, ce(B.value, t, r, n, i));
3360
3358
  continue;
3361
3359
  }
3362
- if (Lt(l)) {
3360
+ if (Nt(l)) {
3363
3361
  var B = l.options["=".concat(f)];
3364
3362
  if (!B) {
3365
3363
  if (!Intl.PluralRules)
3366
- throw new ye(`Intl.PluralRules is not available in this environment.
3364
+ throw new Ee(`Intl.PluralRules is not available in this environment.
3367
3365
  Try polyfilling it using "@formatjs/intl-pluralrules"
3368
- `, Y.MISSING_INTL_API, o);
3366
+ `, J.MISSING_INTL_API, o);
3369
3367
  var O = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
3370
3368
  B = l.options[O] || l.options.other;
3371
3369
  }
3372
3370
  if (!B)
3373
- throw new lt(l.value, f, Object.keys(l.options), o);
3374
- u.push.apply(u, pe(B.value, t, r, n, i, f - (l.offset || 0)));
3371
+ throw new ht(l.value, f, Object.keys(l.options), o);
3372
+ u.push.apply(u, ce(B.value, t, r, n, i, f - (l.offset || 0)));
3375
3373
  continue;
3376
3374
  }
3377
3375
  }
3378
- return Tn(u);
3376
+ return Hn(u);
3379
3377
  }
3380
- function Bn(e, t) {
3381
- return t ? U(U(U({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3382
- return r[n] = U(U({}, e[n]), t[n] || {}), r;
3378
+ function Sn(e, t) {
3379
+ return t ? x(x(x({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3380
+ return r[n] = x(x({}, e[n]), t[n] || {}), r;
3383
3381
  }, {})) : e;
3384
3382
  }
3385
- function An(e, t) {
3383
+ function Bn(e, t) {
3386
3384
  return t ? Object.keys(e).reduce(function(r, n) {
3387
- return r[n] = Bn(e[n], t[n]), r;
3388
- }, U({}, e)) : e;
3385
+ return r[n] = Sn(e[n], t[n]), r;
3386
+ }, x({}, e)) : e;
3389
3387
  }
3390
- function we(e) {
3388
+ function Ae(e) {
3391
3389
  return {
3392
3390
  create: function() {
3393
3391
  return {
@@ -3401,39 +3399,39 @@ function we(e) {
3401
3399
  }
3402
3400
  };
3403
3401
  }
3404
- function On(e) {
3402
+ function An(e) {
3405
3403
  return e === void 0 && (e = {
3406
3404
  number: {},
3407
3405
  dateTime: {},
3408
3406
  pluralRules: {}
3409
3407
  }), {
3410
- getNumberFormat: Be(function() {
3408
+ getNumberFormat: Te(function() {
3411
3409
  for (var t, r = [], n = 0; n < arguments.length; n++)
3412
3410
  r[n] = arguments[n];
3413
- return new ((t = Intl.NumberFormat).bind.apply(t, Se([void 0], r, !1)))();
3411
+ return new ((t = Intl.NumberFormat).bind.apply(t, He([void 0], r, !1)))();
3414
3412
  }, {
3415
- cache: we(e.number),
3416
- strategy: Ae.variadic
3413
+ cache: Ae(e.number),
3414
+ strategy: Se.variadic
3417
3415
  }),
3418
- getDateTimeFormat: Be(function() {
3416
+ getDateTimeFormat: Te(function() {
3419
3417
  for (var t, r = [], n = 0; n < arguments.length; n++)
3420
3418
  r[n] = arguments[n];
3421
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Se([void 0], r, !1)))();
3419
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, He([void 0], r, !1)))();
3422
3420
  }, {
3423
- cache: we(e.dateTime),
3424
- strategy: Ae.variadic
3421
+ cache: Ae(e.dateTime),
3422
+ strategy: Se.variadic
3425
3423
  }),
3426
- getPluralRules: Be(function() {
3424
+ getPluralRules: Te(function() {
3427
3425
  for (var t, r = [], n = 0; n < arguments.length; n++)
3428
3426
  r[n] = arguments[n];
3429
- return new ((t = Intl.PluralRules).bind.apply(t, Se([void 0], r, !1)))();
3427
+ return new ((t = Intl.PluralRules).bind.apply(t, He([void 0], r, !1)))();
3430
3428
  }, {
3431
- cache: we(e.pluralRules),
3432
- strategy: Ae.variadic
3429
+ cache: Ae(e.pluralRules),
3430
+ strategy: Se.variadic
3433
3431
  })
3434
3432
  };
3435
3433
  }
3436
- var wn = (
3434
+ var On = (
3437
3435
  /** @class */
3438
3436
  function() {
3439
3437
  function e(t, r, n, i) {
@@ -3452,7 +3450,7 @@ var wn = (
3452
3450
  }, []);
3453
3451
  return l.length <= 1 ? l[0] || "" : l;
3454
3452
  }, this.formatToParts = function(h) {
3455
- return pe(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
3453
+ return ce(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
3456
3454
  }, this.resolvedOptions = function() {
3457
3455
  var h;
3458
3456
  return {
@@ -3465,13 +3463,13 @@ var wn = (
3465
3463
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3466
3464
  var o = i || {};
3467
3465
  o.formatters;
3468
- var u = Ur(o, ["formatters"]);
3469
- this.ast = e.__parse(t, U(U({}, u), { locale: this.resolvedLocale }));
3466
+ var u = Rr(o, ["formatters"]);
3467
+ this.ast = e.__parse(t, x(x({}, u), { locale: this.resolvedLocale }));
3470
3468
  } else
3471
3469
  this.ast = t;
3472
3470
  if (!Array.isArray(this.ast))
3473
3471
  throw new TypeError("A message must be provided as a String or AST.");
3474
- this.formats = An(e.formats, n), this.formatters = i && i.formatters || On(this.formatterCache);
3472
+ this.formats = Bn(e.formats, n), this.formatters = i && i.formatters || An(this.formatterCache);
3475
3473
  }
3476
3474
  return Object.defineProperty(e, "defaultLocale", {
3477
3475
  get: function() {
@@ -3545,7 +3543,7 @@ var wn = (
3545
3543
  }, e;
3546
3544
  }()
3547
3545
  );
3548
- function Nn(e, t) {
3546
+ function wn(e, t) {
3549
3547
  if (t == null)
3550
3548
  return;
3551
3549
  if (t in e)
@@ -3566,92 +3564,92 @@ function Nn(e, t) {
3566
3564
  n = void 0;
3567
3565
  return n;
3568
3566
  }
3569
- const k = {}, Ln = (e, t, r) => r && (t in k || (k[t] = {}), e in k[t] || (k[t][e] = r), r), jt = (e, t) => {
3567
+ const j = {}, Nn = (e, t, r) => r && (t in j || (j[t] = {}), e in j[t] || (j[t][e] = r), r), Ft = (e, t) => {
3570
3568
  if (t == null)
3571
3569
  return;
3572
- if (t in k && e in k[t])
3573
- return k[t][e];
3574
- const r = xe(t);
3570
+ if (t in j && e in j[t])
3571
+ return j[t][e];
3572
+ const r = _e(t);
3575
3573
  for (let n = 0; n < r.length; n++) {
3576
- const i = r[n], s = Cn(i, e);
3574
+ const i = r[n], s = In(i, e);
3577
3575
  if (s)
3578
- return Ln(e, t, s);
3576
+ return Nn(e, t, s);
3579
3577
  }
3580
3578
  };
3581
- let ze;
3582
- const ue = Ee({});
3583
- function In(e) {
3584
- return ze[e] || null;
3579
+ let Xe;
3580
+ const ae = be({});
3581
+ function Ln(e) {
3582
+ return Xe[e] || null;
3585
3583
  }
3586
- function kt(e) {
3587
- return e in ze;
3584
+ function jt(e) {
3585
+ return e in Xe;
3588
3586
  }
3589
- function Cn(e, t) {
3590
- if (!kt(e))
3587
+ function In(e, t) {
3588
+ if (!jt(e))
3591
3589
  return null;
3592
- const r = In(e);
3593
- return Nn(r, t);
3590
+ const r = Ln(e);
3591
+ return wn(r, t);
3594
3592
  }
3595
- function Mn(e) {
3593
+ function Cn(e) {
3596
3594
  if (e == null)
3597
3595
  return;
3598
- const t = xe(e);
3596
+ const t = _e(e);
3599
3597
  for (let r = 0; r < t.length; r++) {
3600
3598
  const n = t[r];
3601
- if (kt(n))
3599
+ if (jt(n))
3602
3600
  return n;
3603
3601
  }
3604
3602
  }
3605
- function Vt(e, ...t) {
3606
- delete k[e], ue.update((r) => (r[e] = Rr.all([r[e] || {}, ...t]), r));
3603
+ function kt(e, ...t) {
3604
+ delete j[e], ae.update((r) => (r[e] = $r.all([r[e] || {}, ...t]), r));
3607
3605
  }
3608
- ee(
3609
- [ue],
3606
+ K(
3607
+ [ae],
3610
3608
  ([e]) => Object.keys(e)
3611
3609
  );
3612
- ue.subscribe((e) => ze = e);
3613
- const me = {};
3614
- function $n(e, t) {
3615
- me[e].delete(t), me[e].size === 0 && delete me[e];
3610
+ ae.subscribe((e) => Xe = e);
3611
+ const de = {};
3612
+ function Mn(e, t) {
3613
+ de[e].delete(t), de[e].size === 0 && delete de[e];
3616
3614
  }
3617
- function Xt(e) {
3618
- return me[e];
3615
+ function Vt(e) {
3616
+ return de[e];
3619
3617
  }
3620
- function Rn(e) {
3621
- return xe(e).map((t) => {
3622
- const r = Xt(t);
3618
+ function $n(e) {
3619
+ return _e(e).map((t) => {
3620
+ const r = Vt(t);
3623
3621
  return [t, r ? [...r] : []];
3624
3622
  }).filter(([, t]) => t.length > 0);
3625
3623
  }
3626
- function je(e) {
3627
- return e == null ? !1 : xe(e).some(
3624
+ function De(e) {
3625
+ return e == null ? !1 : _e(e).some(
3628
3626
  (t) => {
3629
3627
  var r;
3630
- return (r = Xt(t)) == null ? void 0 : r.size;
3628
+ return (r = Vt(t)) == null ? void 0 : r.size;
3631
3629
  }
3632
3630
  );
3633
3631
  }
3634
- function Un(e, t) {
3632
+ function Rn(e, t) {
3635
3633
  return Promise.all(
3636
- t.map((n) => ($n(e, n), n().then((i) => i.default || i)))
3637
- ).then((n) => Vt(e, ...n));
3638
- }
3639
- const ne = {};
3640
- function zt(e) {
3641
- if (!je(e))
3642
- return e in ne ? ne[e] : Promise.resolve();
3643
- const t = Rn(e);
3644
- return ne[e] = Promise.all(
3634
+ t.map((n) => (Mn(e, n), n().then((i) => i.default || i)))
3635
+ ).then((n) => kt(e, ...n));
3636
+ }
3637
+ const re = {};
3638
+ function Xt(e) {
3639
+ if (!De(e))
3640
+ return e in re ? re[e] : Promise.resolve();
3641
+ const t = $n(e);
3642
+ return re[e] = Promise.all(
3645
3643
  t.map(
3646
- ([r, n]) => Un(r, n)
3644
+ ([r, n]) => Rn(r, n)
3647
3645
  )
3648
3646
  ).then(() => {
3649
- if (je(e))
3650
- return zt(e);
3651
- delete ne[e];
3652
- }), ne[e];
3647
+ if (De(e))
3648
+ return Xt(e);
3649
+ delete re[e];
3650
+ }), re[e];
3653
3651
  }
3654
- const Gn = {
3652
+ const Un = {
3655
3653
  number: {
3656
3654
  scientific: { notation: "scientific" },
3657
3655
  engineering: { notation: "engineering" },
@@ -3680,150 +3678,150 @@ const Gn = {
3680
3678
  timeZoneName: "short"
3681
3679
  }
3682
3680
  }
3683
- }, Dn = {
3681
+ }, Gn = {
3684
3682
  fallbackLocale: null,
3685
3683
  loadingDelay: 200,
3686
- formats: Gn,
3684
+ formats: Un,
3687
3685
  warnOnMissingMessages: !0,
3688
3686
  handleMissingMessage: void 0,
3689
3687
  ignoreTag: !0
3690
- }, Fn = Dn;
3691
- function K() {
3692
- return Fn;
3693
- }
3694
- const Ne = Ee(!1);
3695
- var jn = Object.defineProperty, kn = Object.defineProperties, Vn = Object.getOwnPropertyDescriptors, ft = Object.getOwnPropertySymbols, Xn = Object.prototype.hasOwnProperty, zn = Object.prototype.propertyIsEnumerable, ct = (e, t, r) => t in e ? jn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Wn = (e, t) => {
3696
- for (var r in t || (t = {}))
3697
- Xn.call(t, r) && ct(e, r, t[r]);
3698
- if (ft)
3699
- for (var r of ft(t))
3700
- zn.call(t, r) && ct(e, r, t[r]);
3688
+ }, Dn = Gn;
3689
+ function Y() {
3690
+ return Dn;
3691
+ }
3692
+ const Oe = be(!1);
3693
+ var Fn = Object.defineProperty, jn = Object.defineProperties, kn = Object.getOwnPropertyDescriptors, lt = Object.getOwnPropertySymbols, Vn = Object.prototype.hasOwnProperty, Xn = Object.prototype.propertyIsEnumerable, ft = (e, t, r) => t in e ? Fn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, zn = (e, t) => {
3694
+ for (var r in t)
3695
+ Vn.call(t, r) && ft(e, r, t[r]);
3696
+ if (lt)
3697
+ for (var r of lt(t))
3698
+ Xn.call(t, r) && ft(e, r, t[r]);
3701
3699
  return e;
3702
- }, Zn = (e, t) => kn(e, Vn(t));
3703
- let ke;
3704
- const be = Ee(null);
3705
- function pt(e) {
3700
+ }, Wn = (e, t) => jn(e, kn(t));
3701
+ let Fe;
3702
+ const pe = be(null);
3703
+ function ct(e) {
3706
3704
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3707
3705
  }
3708
- function xe(e, t = K().fallbackLocale) {
3709
- const r = pt(e);
3710
- return t ? [.../* @__PURE__ */ new Set([...r, ...pt(t)])] : r;
3706
+ function _e(e, t = Y().fallbackLocale) {
3707
+ const r = ct(e);
3708
+ return t ? [.../* @__PURE__ */ new Set([...r, ...ct(t)])] : r;
3711
3709
  }
3712
- function X() {
3713
- return ke != null ? ke : void 0;
3710
+ function V() {
3711
+ return Fe != null ? Fe : void 0;
3714
3712
  }
3715
- be.subscribe((e) => {
3716
- ke = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3713
+ pe.subscribe((e) => {
3714
+ Fe = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3717
3715
  });
3718
- const Qn = (e) => {
3719
- if (e && Mn(e) && je(e)) {
3720
- const { loadingDelay: t } = K();
3716
+ const Zn = (e) => {
3717
+ if (e && Cn(e) && De(e)) {
3718
+ const { loadingDelay: t } = Y();
3721
3719
  let r;
3722
- return typeof window != "undefined" && X() != null && t ? r = window.setTimeout(
3723
- () => Ne.set(!0),
3720
+ return typeof window != "undefined" && V() != null && t ? r = window.setTimeout(
3721
+ () => Oe.set(!0),
3724
3722
  t
3725
- ) : Ne.set(!0), zt(e).then(() => {
3726
- be.set(e);
3723
+ ) : Oe.set(!0), Xt(e).then(() => {
3724
+ pe.set(e);
3727
3725
  }).finally(() => {
3728
- clearTimeout(r), Ne.set(!1);
3726
+ clearTimeout(r), Oe.set(!1);
3729
3727
  });
3730
3728
  }
3731
- return be.set(e);
3732
- }, te = Zn(Wn({}, be), {
3733
- set: Qn
3734
- }), Pe = (e) => {
3729
+ return pe.set(e);
3730
+ }, ee = Wn(zn({}, pe), {
3731
+ set: Zn
3732
+ }), xe = (e) => {
3735
3733
  const t = /* @__PURE__ */ Object.create(null);
3736
3734
  return (n) => {
3737
3735
  const i = JSON.stringify(n);
3738
3736
  return i in t ? t[i] : t[i] = e(n);
3739
3737
  };
3740
3738
  };
3741
- var qn = Object.defineProperty, ve = Object.getOwnPropertySymbols, Wt = Object.prototype.hasOwnProperty, Zt = Object.prototype.propertyIsEnumerable, mt = (e, t, r) => t in e ? qn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, We = (e, t) => {
3739
+ var Qn = Object.defineProperty, ge = Object.getOwnPropertySymbols, zt = Object.prototype.hasOwnProperty, Wt = Object.prototype.propertyIsEnumerable, dt = (e, t, r) => t in e ? Qn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ze = (e, t) => {
3742
3740
  for (var r in t || (t = {}))
3743
- Wt.call(t, r) && mt(e, r, t[r]);
3744
- if (ve)
3745
- for (var r of ve(t))
3746
- Zt.call(t, r) && mt(e, r, t[r]);
3741
+ zt.call(t, r) && dt(e, r, t[r]);
3742
+ if (ge)
3743
+ for (var r of ge(t))
3744
+ Wt.call(t, r) && dt(e, r, t[r]);
3747
3745
  return e;
3748
- }, re = (e, t) => {
3746
+ }, te = (e, t) => {
3749
3747
  var r = {};
3750
3748
  for (var n in e)
3751
- Wt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3752
- if (e != null && ve)
3753
- for (var n of ve(e))
3754
- t.indexOf(n) < 0 && Zt.call(e, n) && (r[n] = e[n]);
3749
+ zt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3750
+ if (e != null && ge)
3751
+ for (var n of ge(e))
3752
+ t.indexOf(n) < 0 && Wt.call(e, n) && (r[n] = e[n]);
3755
3753
  return r;
3756
3754
  };
3757
- const oe = (e, t) => {
3758
- const { formats: r } = K();
3755
+ const se = (e, t) => {
3756
+ const { formats: r } = Y();
3759
3757
  if (e in r && t in r[e])
3760
3758
  return r[e][t];
3761
3759
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3762
- }, Jn = Pe(
3760
+ }, qn = xe(
3763
3761
  (e) => {
3764
- var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
3762
+ var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
3765
3763
  if (r == null)
3766
3764
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3767
- return n && (i = oe("number", n)), new Intl.NumberFormat(r, i);
3765
+ return n && (i = se("number", n)), new Intl.NumberFormat(r, i);
3768
3766
  }
3769
- ), Yn = Pe(
3767
+ ), Jn = xe(
3770
3768
  (e) => {
3771
- var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
3769
+ var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
3772
3770
  if (r == null)
3773
3771
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3774
- return n ? i = oe("date", n) : Object.keys(i).length === 0 && (i = oe("date", "short")), new Intl.DateTimeFormat(r, i);
3772
+ return n ? i = se("date", n) : Object.keys(i).length === 0 && (i = se("date", "short")), new Intl.DateTimeFormat(r, i);
3775
3773
  }
3776
- ), Kn = Pe(
3774
+ ), Yn = xe(
3777
3775
  (e) => {
3778
- var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
3776
+ var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
3779
3777
  if (r == null)
3780
3778
  throw new Error(
3781
3779
  '[svelte-i18n] A "locale" must be set to format time values'
3782
3780
  );
3783
- return n ? i = oe("time", n) : Object.keys(i).length === 0 && (i = oe("time", "short")), new Intl.DateTimeFormat(r, i);
3781
+ return n ? i = se("time", n) : Object.keys(i).length === 0 && (i = se("time", "short")), new Intl.DateTimeFormat(r, i);
3784
3782
  }
3785
- ), ei = (e = {}) => {
3783
+ ), Kn = (e = {}) => {
3786
3784
  var t = e, {
3787
- locale: r = X()
3788
- } = t, n = re(t, [
3785
+ locale: r = V()
3786
+ } = t, n = te(t, [
3789
3787
  "locale"
3790
3788
  ]);
3791
- return Jn(We({ locale: r }, n));
3792
- }, ti = (e = {}) => {
3789
+ return qn(ze({ locale: r }, n));
3790
+ }, ei = (e = {}) => {
3793
3791
  var t = e, {
3794
- locale: r = X()
3795
- } = t, n = re(t, [
3792
+ locale: r = V()
3793
+ } = t, n = te(t, [
3796
3794
  "locale"
3797
3795
  ]);
3798
- return Yn(We({ locale: r }, n));
3799
- }, ri = (e = {}) => {
3796
+ return Jn(ze({ locale: r }, n));
3797
+ }, ti = (e = {}) => {
3800
3798
  var t = e, {
3801
- locale: r = X()
3802
- } = t, n = re(t, [
3799
+ locale: r = V()
3800
+ } = t, n = te(t, [
3803
3801
  "locale"
3804
3802
  ]);
3805
- return Kn(We({ locale: r }, n));
3806
- }, ni = Pe(
3803
+ return Yn(ze({ locale: r }, n));
3804
+ }, ri = xe(
3807
3805
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3808
- (e, t = X()) => new wn(e, t, K().formats, {
3809
- ignoreTag: K().ignoreTag
3806
+ (e, t = V()) => new On(e, t, Y().formats, {
3807
+ ignoreTag: Y().ignoreTag
3810
3808
  })
3811
- ), ii = (e, t = {}) => {
3809
+ ), ni = (e, t = {}) => {
3812
3810
  var r, n, i, s;
3813
3811
  let o = t;
3814
3812
  typeof e == "object" && (o = e, e = o.id);
3815
3813
  const {
3816
3814
  values: u,
3817
- locale: h = X(),
3815
+ locale: h = V(),
3818
3816
  default: a
3819
3817
  } = o;
3820
3818
  if (h == null)
3821
3819
  throw new Error(
3822
3820
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3823
3821
  );
3824
- let l = jt(e, h);
3822
+ let l = Ft(e, h);
3825
3823
  if (!l)
3826
- l = (s = (i = (n = (r = K()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: a })) != null ? i : a) != null ? s : e;
3824
+ l = (s = (i = (n = (r = Y()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: a })) != null ? i : a) != null ? s : e;
3827
3825
  else if (typeof l != "string")
3828
3826
  return console.warn(
3829
3827
  `[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.`
@@ -3832,7 +3830,7 @@ const oe = (e, t) => {
3832
3830
  return l;
3833
3831
  let c = l;
3834
3832
  try {
3835
- c = ni(l, h).format(u);
3833
+ c = ri(l, h).format(u);
3836
3834
  } catch (f) {
3837
3835
  f instanceof Error && console.warn(
3838
3836
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3840,24 +3838,24 @@ const oe = (e, t) => {
3840
3838
  );
3841
3839
  }
3842
3840
  return c;
3843
- }, si = (e, t) => ri(t).format(e), oi = (e, t) => ti(t).format(e), ai = (e, t) => ei(t).format(e), ui = (e, t = X()) => jt(e, t), hi = ee([te, ue], () => ii);
3844
- ee([te], () => si);
3845
- ee([te], () => oi);
3846
- ee([te], () => ai);
3847
- ee([te, ue], () => ui);
3848
- function dt(e, t) {
3849
- Vt(e, t);
3850
- }
3851
- function li(e) {
3852
- te.set(e);
3853
- }
3854
- function fi(e, t) {
3841
+ }, ii = (e, t) => ti(t).format(e), si = (e, t) => ei(t).format(e), oi = (e, t) => Kn(t).format(e), ai = (e, t = V()) => Ft(e, t), ui = K([ee, ae], () => ni);
3842
+ K([ee], () => ii);
3843
+ K([ee], () => si);
3844
+ K([ee], () => oi);
3845
+ K([ee, ae], () => ai);
3846
+ function mt(e, t) {
3847
+ kt(e, t);
3848
+ }
3849
+ function hi(e) {
3850
+ ee.set(e);
3851
+ }
3852
+ function li(e, t) {
3855
3853
  if (e) {
3856
3854
  const r = document.createElement("style");
3857
3855
  r.innerHTML = t, e.appendChild(r);
3858
3856
  }
3859
3857
  }
3860
- function ci(e, t) {
3858
+ function fi(e, t) {
3861
3859
  const r = new URL(t);
3862
3860
  fetch(r.href).then((n) => n.text()).then((n) => {
3863
3861
  const i = document.createElement("style");
@@ -3866,7 +3864,7 @@ function ci(e, t) {
3866
3864
  console.error("There was an error while trying to load client styling from URL", n);
3867
3865
  });
3868
3866
  }
3869
- function pi(e, t, r) {
3867
+ function ci(e, t, r) {
3870
3868
  if (window.emMessageBus) {
3871
3869
  const n = document.createElement("style");
3872
3870
  window.emMessageBus.subscribe(t, (i) => {
@@ -3874,68 +3872,68 @@ function pi(e, t, r) {
3874
3872
  });
3875
3873
  }
3876
3874
  }
3877
- function mi(e) {
3878
- rr(e, "svelte-1bsli1q", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.CasinoProviders{display:flex;flex-direction:column;gap:1rem;padding:10px 60px}.ProviderTitle{font-weight:500;position:relative;right:30px;margin:10px 0}.Provider{border-radius:7px;display:flex;align-items:center;gap:16px;max-width:300px}.ProviderTextContainer{display:flex;flex-direction:column;justify-content:center;gap:10px;font-size:15px;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.ProviderTextContainer p:first-child{font-weight:600;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.ProviderTextContainer p:last-child{color:var(--emw--color-gray-150, #828282);font-weight:300}.ProviderImage{border-radius:4px;object-fit:contain;height:64px;width:64px;font-weight:100;border:0.5px solid var(--emw--color-gray-100, #E6E6E6);overflow:hidden;object-fit:contain}.Message{font-weight:600;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}");
3875
+ function di(e) {
3876
+ tr(e, "svelte-1bsli1q", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.CasinoProviders{display:flex;flex-direction:column;gap:1rem;padding:10px 60px}.ProviderTitle{font-weight:500;position:relative;right:30px;margin:10px 0}.Provider{border-radius:7px;display:flex;align-items:center;gap:16px;max-width:300px}.ProviderTextContainer{display:flex;flex-direction:column;justify-content:center;gap:10px;font-size:15px;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.ProviderTextContainer p:first-child{font-weight:600;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.ProviderTextContainer p:last-child{color:var(--emw--color-gray-150, #828282);font-weight:300}.ProviderImage{border-radius:4px;object-fit:contain;height:64px;width:64px;font-weight:100;border:0.5px solid var(--emw--color-gray-100, #E6E6E6);overflow:hidden;object-fit:contain}.Message{font-weight:600;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}");
3879
3877
  }
3880
- function gt(e, t, r) {
3878
+ function pt(e, t, r) {
3881
3879
  const n = e.slice();
3882
3880
  return n[21] = t[r], n;
3883
3881
  }
3884
- function bt(e, t, r) {
3882
+ function gt(e, t, r) {
3885
3883
  const n = e.slice();
3886
3884
  return n[21] = t[r], n;
3887
3885
  }
3888
- function di(e) {
3886
+ function mi(e) {
3889
3887
  let t, r = (
3890
3888
  /*$_*/
3891
3889
  e[4]("popularProviders") + ""
3892
3890
  ), n, i, s, o, u = (
3893
3891
  /*$_*/
3894
3892
  e[4]("otherProviders") + ""
3895
- ), h, a, l, c = le(
3893
+ ), h, a, l, c = he(
3896
3894
  /*topProviders*/
3897
3895
  e[1]
3898
3896
  ), f = [];
3899
- for (let p = 0; p < c.length; p += 1)
3900
- f[p] = vt(bt(e, c, p));
3901
- let g = le(
3897
+ for (let d = 0; d < c.length; d += 1)
3898
+ f[d] = bt(gt(e, c, d));
3899
+ let g = he(
3902
3900
  /*otherProviders*/
3903
3901
  e[2]
3904
- ), d = [];
3905
- for (let p = 0; p < g.length; p += 1)
3906
- d[p] = Et(gt(e, g, p));
3902
+ ), p = [];
3903
+ for (let d = 0; d < g.length; d += 1)
3904
+ p[d] = vt(pt(e, g, d));
3907
3905
  return {
3908
3906
  c() {
3909
- t = A("h4"), n = R(r), i = G();
3910
- for (let p = 0; p < f.length; p += 1)
3911
- f[p].c();
3912
- s = G(), o = A("h4"), h = R(u), a = G();
3913
- for (let p = 0; p < d.length; p += 1)
3914
- d[p].c();
3915
- l = sr(), S(t, "class", "ProviderTitle"), S(o, "class", "ProviderTitle");
3907
+ t = A("h4"), n = R(r), i = U();
3908
+ for (let d = 0; d < f.length; d += 1)
3909
+ f[d].c();
3910
+ s = U(), o = A("h4"), h = R(u), a = U();
3911
+ for (let d = 0; d < p.length; d += 1)
3912
+ p[d].c();
3913
+ l = ir(), S(t, "class", "ProviderTitle"), S(o, "class", "ProviderTitle");
3916
3914
  },
3917
- m(p, v) {
3918
- M(p, t, v), y(t, n), M(p, i, v);
3915
+ m(d, v) {
3916
+ M(d, t, v), y(t, n), M(d, i, v);
3919
3917
  for (let m = 0; m < f.length; m += 1)
3920
- f[m] && f[m].m(p, v);
3921
- M(p, s, v), M(p, o, v), y(o, h), M(p, a, v);
3922
- for (let m = 0; m < d.length; m += 1)
3923
- d[m] && d[m].m(p, v);
3924
- M(p, l, v);
3918
+ f[m] && f[m].m(d, v);
3919
+ M(d, s, v), M(d, o, v), y(o, h), M(d, a, v);
3920
+ for (let m = 0; m < p.length; m += 1)
3921
+ p[m] && p[m].m(d, v);
3922
+ M(d, l, v);
3925
3923
  },
3926
- p(p, v) {
3924
+ p(d, v) {
3927
3925
  if (v & /*$_*/
3928
3926
  16 && r !== (r = /*$_*/
3929
- p[4]("popularProviders") + "") && j(n, r), v & /*openGameProviderPage, topProviders, $_*/
3927
+ d[4]("popularProviders") + "") && F(n, r), v & /*openGameProviderPage, topProviders, $_*/
3930
3928
  50) {
3931
- c = le(
3929
+ c = he(
3932
3930
  /*topProviders*/
3933
- p[1]
3931
+ d[1]
3934
3932
  );
3935
3933
  let m;
3936
3934
  for (m = 0; m < c.length; m += 1) {
3937
- const P = bt(p, c, m);
3938
- f[m] ? f[m].p(P, v) : (f[m] = vt(P), f[m].c(), f[m].m(s.parentNode, s));
3935
+ const H = gt(d, c, m);
3936
+ f[m] ? f[m].p(H, v) : (f[m] = bt(H), f[m].c(), f[m].m(s.parentNode, s));
3939
3937
  }
3940
3938
  for (; m < f.length; m += 1)
3941
3939
  f[m].d(1);
@@ -3943,28 +3941,28 @@ function di(e) {
3943
3941
  }
3944
3942
  if (v & /*$_*/
3945
3943
  16 && u !== (u = /*$_*/
3946
- p[4]("otherProviders") + "") && j(h, u), v & /*openGameProviderPage, otherProviders, $_*/
3944
+ d[4]("otherProviders") + "") && F(h, u), v & /*openGameProviderPage, otherProviders, $_*/
3947
3945
  52) {
3948
- g = le(
3946
+ g = he(
3949
3947
  /*otherProviders*/
3950
- p[2]
3948
+ d[2]
3951
3949
  );
3952
3950
  let m;
3953
3951
  for (m = 0; m < g.length; m += 1) {
3954
- const P = gt(p, g, m);
3955
- d[m] ? d[m].p(P, v) : (d[m] = Et(P), d[m].c(), d[m].m(l.parentNode, l));
3952
+ const H = pt(d, g, m);
3953
+ p[m] ? p[m].p(H, v) : (p[m] = vt(H), p[m].c(), p[m].m(l.parentNode, l));
3956
3954
  }
3957
- for (; m < d.length; m += 1)
3958
- d[m].d(1);
3959
- d.length = g.length;
3955
+ for (; m < p.length; m += 1)
3956
+ p[m].d(1);
3957
+ p.length = g.length;
3960
3958
  }
3961
3959
  },
3962
- d(p) {
3963
- p && (C(t), C(i), C(s), C(o), C(a), C(l)), Ke(f, p), Ke(d, p);
3960
+ d(d) {
3961
+ d && (C(t), C(i), C(s), C(o), C(a), C(l)), Ye(f, d), Ye(p, d);
3964
3962
  }
3965
3963
  };
3966
3964
  }
3967
- function gi(e) {
3965
+ function pi(e) {
3968
3966
  let t, r = (
3969
3967
  /*$_*/
3970
3968
  e[4]("loading") + ""
@@ -3979,24 +3977,24 @@ function gi(e) {
3979
3977
  p(i, s) {
3980
3978
  s & /*$_*/
3981
3979
  16 && r !== (r = /*$_*/
3982
- i[4]("loading") + "") && j(n, r);
3980
+ i[4]("loading") + "") && F(n, r);
3983
3981
  },
3984
3982
  d(i) {
3985
3983
  i && C(t);
3986
3984
  }
3987
3985
  };
3988
3986
  }
3989
- function vt(e) {
3987
+ function bt(e) {
3990
3988
  let t, r, n, i, s, o, u, h = (
3991
3989
  /*provider*/
3992
3990
  e[21].name + ""
3993
3991
  ), a, l, c, f = (
3994
3992
  /*provider*/
3995
3993
  e[21].games.count + ""
3996
- ), g, d, p = (
3994
+ ), g, p, d = (
3997
3995
  /*$_*/
3998
3996
  e[4]("games") + ""
3999
- ), v, m, P;
3997
+ ), v, m, H;
4000
3998
  function B() {
4001
3999
  return (
4002
4000
  /*click_handler*/
@@ -4008,42 +4006,42 @@ function vt(e) {
4008
4006
  }
4009
4007
  return {
4010
4008
  c() {
4011
- t = A("div"), r = A("img"), s = G(), o = A("div"), u = A("p"), a = R(h), l = G(), c = A("p"), g = R(f), d = G(), v = R(p), de(r.src, n = /*provider*/
4009
+ t = A("div"), r = A("img"), s = U(), o = A("div"), u = A("p"), a = R(h), l = U(), c = A("p"), g = R(f), p = U(), v = R(d), me(r.src, n = /*provider*/
4012
4010
  e[21].logo) || S(r, "src", n), S(r, "alt", i = /*provider*/
4013
4011
  e[21].name), S(r, "class", "ProviderImage"), S(o, "class", "ProviderTextContainer"), S(t, "class", "Provider");
4014
4012
  },
4015
- m(O, H) {
4016
- M(O, t, H), y(t, r), y(t, s), y(t, o), y(o, u), y(u, a), y(o, l), y(o, c), y(c, g), y(c, d), y(c, v), m || (P = Pt(t, "click", B), m = !0);
4013
+ m(O, T) {
4014
+ M(O, t, T), y(t, r), y(t, s), y(t, o), y(o, u), y(u, a), y(o, l), y(o, c), y(c, g), y(c, p), y(c, v), m || (H = yt(t, "click", B), m = !0);
4017
4015
  },
4018
- p(O, H) {
4019
- e = O, H & /*topProviders*/
4020
- 2 && !de(r.src, n = /*provider*/
4021
- e[21].logo) && S(r, "src", n), H & /*topProviders*/
4016
+ p(O, T) {
4017
+ e = O, T & /*topProviders*/
4018
+ 2 && !me(r.src, n = /*provider*/
4019
+ e[21].logo) && S(r, "src", n), T & /*topProviders*/
4022
4020
  2 && i !== (i = /*provider*/
4023
- e[21].name) && S(r, "alt", i), H & /*topProviders*/
4021
+ e[21].name) && S(r, "alt", i), T & /*topProviders*/
4024
4022
  2 && h !== (h = /*provider*/
4025
- e[21].name + "") && j(a, h), H & /*topProviders*/
4023
+ e[21].name + "") && F(a, h), T & /*topProviders*/
4026
4024
  2 && f !== (f = /*provider*/
4027
- e[21].games.count + "") && j(g, f), H & /*$_*/
4028
- 16 && p !== (p = /*$_*/
4029
- e[4]("games") + "") && j(v, p);
4025
+ e[21].games.count + "") && F(g, f), T & /*$_*/
4026
+ 16 && d !== (d = /*$_*/
4027
+ e[4]("games") + "") && F(v, d);
4030
4028
  },
4031
4029
  d(O) {
4032
- O && C(t), m = !1, P();
4030
+ O && C(t), m = !1, H();
4033
4031
  }
4034
4032
  };
4035
4033
  }
4036
- function Et(e) {
4034
+ function vt(e) {
4037
4035
  let t, r, n, i, s, o, u, h = (
4038
4036
  /*provider*/
4039
4037
  e[21].name + ""
4040
4038
  ), a, l, c, f = (
4041
4039
  /*provider*/
4042
4040
  e[21].games.count + ""
4043
- ), g, d, p = (
4041
+ ), g, p, d = (
4044
4042
  /*$_*/
4045
4043
  e[4]("games") + ""
4046
- ), v, m, P, B;
4044
+ ), v, m, H, B;
4047
4045
  function O() {
4048
4046
  return (
4049
4047
  /*click_handler_1*/
@@ -4055,37 +4053,37 @@ function Et(e) {
4055
4053
  }
4056
4054
  return {
4057
4055
  c() {
4058
- t = A("div"), r = A("img"), s = G(), o = A("div"), u = A("p"), a = R(h), l = G(), c = A("p"), g = R(f), d = G(), v = R(p), m = G(), de(r.src, n = /*provider*/
4056
+ t = A("div"), r = A("img"), s = U(), o = A("div"), u = A("p"), a = R(h), l = U(), c = A("p"), g = R(f), p = U(), v = R(d), m = U(), me(r.src, n = /*provider*/
4059
4057
  e[21].logo) || S(r, "src", n), S(r, "alt", i = /*provider*/
4060
4058
  e[21].name), S(r, "class", "ProviderImage"), S(o, "class", "ProviderTextContainer"), S(t, "class", "Provider");
4061
4059
  },
4062
- m(H, N) {
4063
- M(H, t, N), y(t, r), y(t, s), y(t, o), y(o, u), y(u, a), y(o, l), y(o, c), y(c, g), y(c, d), y(c, v), y(t, m), P || (B = Pt(t, "click", O), P = !0);
4060
+ m(T, N) {
4061
+ M(T, t, N), y(t, r), y(t, s), y(t, o), y(o, u), y(u, a), y(o, l), y(o, c), y(c, g), y(c, p), y(c, v), y(t, m), H || (B = yt(t, "click", O), H = !0);
4064
4062
  },
4065
- p(H, N) {
4066
- e = H, N & /*otherProviders*/
4067
- 4 && !de(r.src, n = /*provider*/
4063
+ p(T, N) {
4064
+ e = T, N & /*otherProviders*/
4065
+ 4 && !me(r.src, n = /*provider*/
4068
4066
  e[21].logo) && S(r, "src", n), N & /*otherProviders*/
4069
4067
  4 && i !== (i = /*provider*/
4070
4068
  e[21].name) && S(r, "alt", i), N & /*otherProviders*/
4071
4069
  4 && h !== (h = /*provider*/
4072
- e[21].name + "") && j(a, h), N & /*otherProviders*/
4070
+ e[21].name + "") && F(a, h), N & /*otherProviders*/
4073
4071
  4 && f !== (f = /*provider*/
4074
- e[21].games.count + "") && j(g, f), N & /*$_*/
4075
- 16 && p !== (p = /*$_*/
4076
- e[4]("games") + "") && j(v, p);
4072
+ e[21].games.count + "") && F(g, f), N & /*$_*/
4073
+ 16 && d !== (d = /*$_*/
4074
+ e[4]("games") + "") && F(v, d);
4077
4075
  },
4078
- d(H) {
4079
- H && C(t), P = !1, B();
4076
+ d(T) {
4077
+ T && C(t), H = !1, B();
4080
4078
  }
4081
4079
  };
4082
4080
  }
4083
- function bi(e) {
4081
+ function gi(e) {
4084
4082
  let t;
4085
4083
  function r(s, o) {
4086
4084
  return (
4087
4085
  /*isLoading*/
4088
- s[3] === !0 ? gi : di
4086
+ s[3] === !0 ? pi : mi
4089
4087
  );
4090
4088
  }
4091
4089
  let n = r(e), i = n(e);
@@ -4106,46 +4104,46 @@ function bi(e) {
4106
4104
  }
4107
4105
  };
4108
4106
  }
4109
- function vi(e, t, r) {
4107
+ function bi(e, t, r) {
4110
4108
  let n;
4111
- tr(e, hi, (b) => r(4, n = b));
4112
- let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "en" } = t, { clientstyling: u = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: a = "" } = t, { mbsource: l } = t, c = [], f = [], g = [], d = !1, p;
4109
+ er(e, ui, (b) => r(4, n = b));
4110
+ let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "en" } = t, { clientstyling: u = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: a = "" } = t, { mbsource: l } = t, c = [], f = [], g = [], p = !1, d;
4113
4111
  const v = () => {
4114
4112
  fetch(a).then((L) => L.json()).then((L) => {
4115
- Object.keys(L).forEach((V) => {
4116
- dt(V, L[V]);
4113
+ Object.keys(L).forEach((k) => {
4114
+ mt(k, L[k]);
4117
4115
  });
4118
4116
  }).catch((L) => {
4119
4117
  console.log(L);
4120
4118
  });
4121
4119
  };
4122
- Object.keys(tt).forEach((b) => {
4123
- dt(b, tt[b]);
4120
+ Object.keys(et).forEach((b) => {
4121
+ mt(b, et[b]);
4124
4122
  });
4125
4123
  const m = () => {
4126
- r(3, d = !0);
4124
+ r(3, p = !0);
4127
4125
  const b = new URL(`${i}/v1/casino/vendors`);
4128
4126
  b.searchParams.append("datasource", s), b.searchParams.append("language", o), b.searchParams.append("fields", "id,name,displayName,subVendors,isTopVendor,logo,games"), fetch(b).then((L) => L.json()).then((L) => {
4129
- r(3, d = !1), c = L.items.map((D) => D), r(1, f = c.filter((D) => D.isTopVendor === !0)), r(2, g = c.filter((D) => D.isTopVendor === !1));
4130
- let V = [];
4131
- V = c.flatMap((D) => D.subVendors), g.push(...V.filter((D) => D.games.count > 0));
4127
+ r(3, p = !1), c = L.items.map((G) => G), r(1, f = c.filter((G) => G.isTopVendor === !0)), r(2, g = c.filter((G) => G.isTopVendor === !1));
4128
+ let k = [];
4129
+ k = c.flatMap((G) => G.subVendors), g.push(...k.filter((G) => G.games.count > 0));
4132
4130
  });
4133
- }, P = (b, L, V) => {
4131
+ }, H = (b, L, k) => {
4134
4132
  window.postMessage(
4135
4133
  {
4136
4134
  type: "OpenGameProvider",
4137
4135
  providerId: b,
4138
4136
  providerName: L,
4139
- providerLogo: V
4137
+ providerLogo: k
4140
4138
  },
4141
4139
  window.location.href
4142
4140
  );
4143
4141
  }, B = () => {
4144
- li(o);
4145
- }, O = (b) => P(b.id, b.name, b.logo), H = (b) => P(b.id, b.name, b.logo);
4142
+ hi(o);
4143
+ }, O = (b) => H(b.id, b.name, b.logo), T = (b) => H(b.id, b.name, b.logo);
4146
4144
  function N(b) {
4147
- Le[b ? "unshift" : "push"](() => {
4148
- p = b, r(0, p);
4145
+ we[b ? "unshift" : "push"](() => {
4146
+ d = b, r(0, d);
4149
4147
  });
4150
4148
  }
4151
4149
  return e.$$set = (b) => {
@@ -4155,16 +4153,16 @@ function vi(e, t, r) {
4155
4153
  448 && i && o && s && m(), e.$$.dirty & /*lang*/
4156
4154
  256 && o && B(), e.$$.dirty & /*translationurl*/
4157
4155
  2048 && a && v(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4158
- 513 && u && p && fi(p, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4159
- 1025 && h && p && ci(p, h), e.$$.dirty & /*mbsource, customStylingContainer*/
4160
- 4097 && l && p && pi(p, `${l}.Style`);
4156
+ 513 && u && d && li(d, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4157
+ 1025 && h && d && fi(d, h), e.$$.dirty & /*mbsource, customStylingContainer*/
4158
+ 4097 && l && d && ci(d, `${l}.Style`);
4161
4159
  }, [
4162
- p,
4160
+ d,
4163
4161
  f,
4164
4162
  g,
4165
- d,
4163
+ p,
4166
4164
  n,
4167
- P,
4165
+ H,
4168
4166
  i,
4169
4167
  s,
4170
4168
  o,
@@ -4173,18 +4171,18 @@ function vi(e, t, r) {
4173
4171
  a,
4174
4172
  l,
4175
4173
  O,
4176
- H,
4174
+ T,
4177
4175
  N
4178
4176
  ];
4179
4177
  }
4180
- class Ei extends Er {
4178
+ class vi extends vr {
4181
4179
  constructor(t) {
4182
- super(), br(
4180
+ super(), gr(
4183
4181
  this,
4184
4182
  t,
4185
- vi,
4186
4183
  bi,
4187
- yt,
4184
+ gi,
4185
+ _t,
4188
4186
  {
4189
4187
  endpoint: 6,
4190
4188
  datasource: 7,
@@ -4194,53 +4192,53 @@ class Ei extends Er {
4194
4192
  translationurl: 11,
4195
4193
  mbsource: 12
4196
4194
  },
4197
- mi
4195
+ di
4198
4196
  );
4199
4197
  }
4200
4198
  get endpoint() {
4201
4199
  return this.$$.ctx[6];
4202
4200
  }
4203
4201
  set endpoint(t) {
4204
- this.$$set({ endpoint: t }), F();
4202
+ this.$$set({ endpoint: t }), D();
4205
4203
  }
4206
4204
  get datasource() {
4207
4205
  return this.$$.ctx[7];
4208
4206
  }
4209
4207
  set datasource(t) {
4210
- this.$$set({ datasource: t }), F();
4208
+ this.$$set({ datasource: t }), D();
4211
4209
  }
4212
4210
  get lang() {
4213
4211
  return this.$$.ctx[8];
4214
4212
  }
4215
4213
  set lang(t) {
4216
- this.$$set({ lang: t }), F();
4214
+ this.$$set({ lang: t }), D();
4217
4215
  }
4218
4216
  get clientstyling() {
4219
4217
  return this.$$.ctx[9];
4220
4218
  }
4221
4219
  set clientstyling(t) {
4222
- this.$$set({ clientstyling: t }), F();
4220
+ this.$$set({ clientstyling: t }), D();
4223
4221
  }
4224
4222
  get clientstylingurl() {
4225
4223
  return this.$$.ctx[10];
4226
4224
  }
4227
4225
  set clientstylingurl(t) {
4228
- this.$$set({ clientstylingurl: t }), F();
4226
+ this.$$set({ clientstylingurl: t }), D();
4229
4227
  }
4230
4228
  get translationurl() {
4231
4229
  return this.$$.ctx[11];
4232
4230
  }
4233
4231
  set translationurl(t) {
4234
- this.$$set({ translationurl: t }), F();
4232
+ this.$$set({ translationurl: t }), D();
4235
4233
  }
4236
4234
  get mbsource() {
4237
4235
  return this.$$.ctx[12];
4238
4236
  }
4239
4237
  set mbsource(t) {
4240
- this.$$set({ mbsource: t }), F();
4238
+ this.$$set({ mbsource: t }), D();
4241
4239
  }
4242
4240
  }
4243
- vr(Ei, { endpoint: {}, datasource: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
4241
+ br(vi, { endpoint: {}, datasource: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
4244
4242
  export {
4245
- Ei as default
4243
+ vi as default
4246
4244
  };