@everymatrix/casino-filter 1.76.13 → 1.76.14

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 $r = Object.defineProperty, Dr = Object.defineProperties;
1
+ var Dr = Object.defineProperty, $r = Object.defineProperties;
2
2
  var Gr = Object.getOwnPropertyDescriptors;
3
- var Tt = Object.getOwnPropertySymbols;
3
+ var St = Object.getOwnPropertySymbols;
4
4
  var kr = Object.prototype.hasOwnProperty, jr = Object.prototype.propertyIsEnumerable;
5
- var Ze = (e, t, r) => t in e ? $r(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ht = (e, t) => {
5
+ var ze = (e, t, r) => t in e ? Dr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Tt = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- kr.call(t, r) && Ze(e, r, t[r]);
8
- if (Tt)
9
- for (var r of Tt(t))
10
- jr.call(t, r) && Ze(e, r, t[r]);
7
+ kr.call(t, r) && ze(e, r, t[r]);
8
+ if (St)
9
+ for (var r of St(t))
10
+ jr.call(t, r) && ze(e, r, t[r]);
11
11
  return e;
12
- }, At = (e, t) => Dr(e, Gr(t));
13
- var U = (e, t, r) => (Ze(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var Pt = (e, t, r) => new Promise((n, i) => {
12
+ }, Ht = (e, t) => $r(e, Gr(t));
13
+ var D = (e, t, r) => (ze(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var At = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (u) => {
16
16
  try {
17
17
  a(r.next(u));
@@ -29,29 +29,29 @@ var Pt = (e, t, r) => new Promise((n, i) => {
29
29
  });
30
30
  function $() {
31
31
  }
32
- function ir(e) {
32
+ function nr(e) {
33
33
  return e();
34
34
  }
35
35
  function Bt() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
- function re(e) {
39
- e.forEach(ir);
38
+ function ne(e) {
39
+ e.forEach(nr);
40
40
  }
41
- function xt(e) {
41
+ function vt(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function or(e, t) {
44
+ function ir(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
- let Fe;
47
+ let Pe;
48
48
  function Ft(e, t) {
49
- return e === t ? !0 : (Fe || (Fe = document.createElement("a")), Fe.href = t, e === Fe.href);
49
+ return e === t ? !0 : (Pe || (Pe = document.createElement("a")), Pe.href = t, e === Pe.href);
50
50
  }
51
51
  function Vr(e) {
52
52
  return Object.keys(e).length === 0;
53
53
  }
54
- function sr(e, ...t) {
54
+ function or(e, ...t) {
55
55
  if (e == null) {
56
56
  for (const n of t)
57
57
  n(void 0);
@@ -61,15 +61,15 @@ function sr(e, ...t) {
61
61
  return r.unsubscribe ? () => r.unsubscribe() : r;
62
62
  }
63
63
  function Xr(e, t, r) {
64
- e.$$.on_destroy.push(sr(t, r));
64
+ e.$$.on_destroy.push(or(t, r));
65
65
  }
66
- function y(e, t) {
66
+ function v(e, t) {
67
67
  e.appendChild(t);
68
68
  }
69
69
  function Wr(e, t, r) {
70
70
  const n = zr(e);
71
71
  if (!n.getElementById(t)) {
72
- const i = A("style");
72
+ const i = B("style");
73
73
  i.id = t, i.textContent = r, Zr(n, i);
74
74
  }
75
75
  }
@@ -84,7 +84,7 @@ function zr(e) {
84
84
  ) : e.ownerDocument;
85
85
  }
86
86
  function Zr(e, t) {
87
- return y(
87
+ return v(
88
88
  /** @type {Document} */
89
89
  e.head || e,
90
90
  t
@@ -93,39 +93,39 @@ function Zr(e, t) {
93
93
  function z(e, t, r) {
94
94
  e.insertBefore(t, r || null);
95
95
  }
96
- function V(e) {
96
+ function j(e) {
97
97
  e.parentNode && e.parentNode.removeChild(e);
98
98
  }
99
99
  function Jr(e, t) {
100
100
  for (let r = 0; r < e.length; r += 1)
101
101
  e[r] && e[r].d(t);
102
102
  }
103
- function A(e) {
103
+ function B(e) {
104
104
  return document.createElement(e);
105
105
  }
106
106
  function Ce(e) {
107
107
  return document.createElementNS("http://www.w3.org/2000/svg", e);
108
108
  }
109
- function j(e) {
109
+ function k(e) {
110
110
  return document.createTextNode(e);
111
111
  }
112
112
  function G() {
113
- return j(" ");
113
+ return k(" ");
114
114
  }
115
115
  function Ue(e, t, r, n) {
116
116
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
117
117
  }
118
- function m(e, t, r) {
118
+ function d(e, t, r) {
119
119
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
120
120
  }
121
121
  function Qr(e) {
122
122
  return Array.from(e.childNodes);
123
123
  }
124
- function ee(e, t) {
124
+ function te(e, t) {
125
125
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
126
126
  t);
127
127
  }
128
- function Ct(e, t) {
128
+ function Pt(e, t) {
129
129
  e.value = t == null ? "" : t;
130
130
  }
131
131
  function qr(e) {
@@ -137,60 +137,60 @@ function qr(e) {
137
137
  }
138
138
  ), t;
139
139
  }
140
- let Ee;
141
- function xe(e) {
142
- Ee = e;
140
+ let Te;
141
+ function Se(e) {
142
+ Te = e;
143
143
  }
144
144
  function Yr() {
145
- if (!Ee)
145
+ if (!Te)
146
146
  throw new Error("Function called outside component initialization");
147
- return Ee;
147
+ return Te;
148
148
  }
149
149
  function Kr(e) {
150
150
  Yr().$$.on_mount.push(e);
151
151
  }
152
- const ce = [], nt = [];
152
+ const ce = [], rt = [];
153
153
  let fe = [];
154
- const Ot = [], en = /* @__PURE__ */ Promise.resolve();
155
- let it = !1;
154
+ const Ct = [], en = /* @__PURE__ */ Promise.resolve();
155
+ let nt = !1;
156
156
  function tn() {
157
- it || (it = !0, en.then(N));
157
+ nt || (nt = !0, en.then(M));
158
158
  }
159
- function ot(e) {
159
+ function it(e) {
160
160
  fe.push(e);
161
161
  }
162
- const Je = /* @__PURE__ */ new Set();
162
+ const Ze = /* @__PURE__ */ new Set();
163
163
  let ue = 0;
164
- function N() {
164
+ function M() {
165
165
  if (ue !== 0)
166
166
  return;
167
- const e = Ee;
167
+ const e = Te;
168
168
  do {
169
169
  try {
170
170
  for (; ue < ce.length; ) {
171
171
  const t = ce[ue];
172
- ue++, xe(t), rn(t.$$);
172
+ ue++, Se(t), rn(t.$$);
173
173
  }
174
174
  } catch (t) {
175
175
  throw ce.length = 0, ue = 0, t;
176
176
  }
177
- for (xe(null), ce.length = 0, ue = 0; nt.length; )
178
- nt.pop()();
177
+ for (Se(null), ce.length = 0, ue = 0; rt.length; )
178
+ rt.pop()();
179
179
  for (let t = 0; t < fe.length; t += 1) {
180
180
  const r = fe[t];
181
- Je.has(r) || (Je.add(r), r());
181
+ Ze.has(r) || (Ze.add(r), r());
182
182
  }
183
183
  fe.length = 0;
184
184
  } while (ce.length);
185
- for (; Ot.length; )
186
- Ot.pop()();
187
- it = !1, Je.clear(), xe(e);
185
+ for (; Ct.length; )
186
+ Ct.pop()();
187
+ nt = !1, Ze.clear(), Se(e);
188
188
  }
189
189
  function rn(e) {
190
190
  if (e.fragment !== null) {
191
- e.update(), re(e.before_update);
191
+ e.update(), ne(e.before_update);
192
192
  const t = e.dirty;
193
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ot);
193
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(it);
194
194
  }
195
195
  }
196
196
  function nn(e) {
@@ -206,21 +206,21 @@ function It(e) {
206
206
  }
207
207
  function an(e, t, r) {
208
208
  const { fragment: n, after_update: i } = e.$$;
209
- n && n.m(t, r), ot(() => {
210
- const o = e.$$.on_mount.map(ir).filter(xt);
211
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : re(o), e.$$.on_mount = [];
212
- }), i.forEach(ot);
209
+ n && n.m(t, r), it(() => {
210
+ const o = e.$$.on_mount.map(nr).filter(vt);
211
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ne(o), e.$$.on_mount = [];
212
+ }), i.forEach(it);
213
213
  }
214
214
  function ln(e, t) {
215
215
  const r = e.$$;
216
- r.fragment !== null && (nn(r.after_update), re(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
216
+ r.fragment !== null && (nn(r.after_update), ne(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
217
217
  }
218
218
  function un(e, t) {
219
219
  e.$$.dirty[0] === -1 && (ce.push(e), tn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
220
220
  }
221
221
  function hn(e, t, r, n, i, o, s = null, a = [-1]) {
222
- const u = Ee;
223
- xe(e);
222
+ const u = Te;
223
+ Se(e);
224
224
  const l = e.$$ = {
225
225
  fragment: null,
226
226
  ctx: [],
@@ -244,41 +244,41 @@ function hn(e, t, r, n, i, o, s = null, a = [-1]) {
244
244
  };
245
245
  s && s(l.root);
246
246
  let h = !1;
247
- if (l.ctx = r ? r(e, t.props || {}, (p, f, ...v) => {
248
- const E = v.length ? v[0] : f;
249
- return l.ctx && i(l.ctx[p], l.ctx[p] = E) && (!l.skip_bound && l.bound[p] && l.bound[p](E), h && un(e, p)), f;
250
- }) : [], l.update(), h = !0, re(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
247
+ if (l.ctx = r ? r(e, t.props || {}, (p, f, ...g) => {
248
+ const _ = g.length ? g[0] : f;
249
+ return l.ctx && i(l.ctx[p], l.ctx[p] = _) && (!l.skip_bound && l.bound[p] && l.bound[p](_), h && un(e, p)), f;
250
+ }) : [], l.update(), h = !0, ne(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
251
251
  if (t.hydrate) {
252
252
  const p = Qr(t.target);
253
- l.fragment && l.fragment.l(p), p.forEach(V);
253
+ l.fragment && l.fragment.l(p), p.forEach(j);
254
254
  } else
255
255
  l.fragment && l.fragment.c();
256
- t.intro && sn(e.$$.fragment), an(e, t.target, t.anchor), N();
256
+ t.intro && sn(e.$$.fragment), an(e, t.target, t.anchor), M();
257
257
  }
258
- xe(u);
258
+ Se(u);
259
259
  }
260
- let ar;
261
- typeof HTMLElement == "function" && (ar = class extends HTMLElement {
260
+ let sr;
261
+ typeof HTMLElement == "function" && (sr = class extends HTMLElement {
262
262
  constructor(t, r, n) {
263
263
  super();
264
264
  /** The Svelte component constructor */
265
- U(this, "$$ctor");
265
+ D(this, "$$ctor");
266
266
  /** Slots */
267
- U(this, "$$s");
267
+ D(this, "$$s");
268
268
  /** The Svelte component instance */
269
- U(this, "$$c");
269
+ D(this, "$$c");
270
270
  /** Whether or not the custom element is connected */
271
- U(this, "$$cn", !1);
271
+ D(this, "$$cn", !1);
272
272
  /** Component props data */
273
- U(this, "$$d", {});
273
+ D(this, "$$d", {});
274
274
  /** `true` if currently in the process of reflecting component props back to attributes */
275
- U(this, "$$r", !1);
275
+ D(this, "$$r", !1);
276
276
  /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
277
- U(this, "$$p_d", {});
277
+ D(this, "$$p_d", {});
278
278
  /** @type {Record<string, Function[]>} Event listeners */
279
- U(this, "$$l", {});
279
+ D(this, "$$l", {});
280
280
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
281
- U(this, "$$l_u", /* @__PURE__ */ new Map());
281
+ D(this, "$$l_u", /* @__PURE__ */ new Map());
282
282
  this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
283
283
  }
284
284
  addEventListener(t, r, n) {
@@ -295,14 +295,14 @@ typeof HTMLElement == "function" && (ar = class extends HTMLElement {
295
295
  }
296
296
  }
297
297
  connectedCallback() {
298
- return Pt(this, null, function* () {
298
+ return At(this, null, function* () {
299
299
  if (this.$$cn = !0, !this.$$c) {
300
300
  let t = function(o) {
301
301
  return () => {
302
302
  let s;
303
303
  return {
304
304
  c: function() {
305
- s = A("slot"), o !== "default" && m(s, "name", o);
305
+ s = B("slot"), o !== "default" && d(s, "name", o);
306
306
  },
307
307
  /**
308
308
  * @param {HTMLElement} target
@@ -312,7 +312,7 @@ typeof HTMLElement == "function" && (ar = class extends HTMLElement {
312
312
  z(l, s, h);
313
313
  },
314
314
  d: function(l) {
315
- l && V(s);
315
+ l && j(s);
316
316
  }
317
317
  };
318
318
  };
@@ -330,7 +330,7 @@ typeof HTMLElement == "function" && (ar = class extends HTMLElement {
330
330
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
331
331
  this.$$c = new this.$$ctor({
332
332
  target: this.shadowRoot || this,
333
- props: At(Ht({}, this.$$d), {
333
+ props: Ht(Tt({}, this.$$d), {
334
334
  $$slots: r,
335
335
  $$scope: {
336
336
  ctx: []
@@ -409,7 +409,7 @@ function Le(e, t, r, n) {
409
409
  }
410
410
  }
411
411
  function cn(e, t, r, n, i, o) {
412
- let s = class extends ar {
412
+ let s = class extends sr {
413
413
  constructor() {
414
414
  super(e, r, i), this.$$p_d = t;
415
415
  }
@@ -448,7 +448,7 @@ class fn {
448
448
  *
449
449
  * @type {any}
450
450
  */
451
- U(this, "$$");
451
+ D(this, "$$");
452
452
  /**
453
453
  * ### PRIVATE API
454
454
  *
@@ -456,7 +456,7 @@ class fn {
456
456
  *
457
457
  * @type {any}
458
458
  */
459
- U(this, "$$set");
459
+ D(this, "$$set");
460
460
  }
461
461
  /** @returns {void} */
462
462
  $destroy() {
@@ -469,7 +469,7 @@ class fn {
469
469
  * @returns {() => void}
470
470
  */
471
471
  $on(t, r) {
472
- if (!xt(r))
472
+ if (!vt(r))
473
473
  return $;
474
474
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
475
475
  return n.push(r), () => {
@@ -501,24 +501,43 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
501
501
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
502
502
  PERFORMANCE OF THIS SOFTWARE.
503
503
  ***************************************************************************** */
504
- var st = function(e, t) {
505
- return st = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
504
+ var ot = function(e, t) {
505
+ return ot = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
506
506
  r.__proto__ = n;
507
507
  } || function(r, n) {
508
508
  for (var i in n)
509
509
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
510
- }, st(e, t);
510
+ }, ot(e, t);
511
511
  };
512
- function Te(e, t) {
512
+ function Z(e, t) {
513
513
  if (typeof t != "function" && t !== null)
514
514
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
515
- st(e, t);
515
+ ot(e, t);
516
516
  function r() {
517
517
  this.constructor = e;
518
518
  }
519
519
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
520
520
  }
521
- function at(e) {
521
+ var E = function() {
522
+ return E = Object.assign || function(t) {
523
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
524
+ r = arguments[n];
525
+ for (var o in r)
526
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
527
+ }
528
+ return t;
529
+ }, E.apply(this, arguments);
530
+ };
531
+ function dn(e, t) {
532
+ var r = {};
533
+ for (var n in e)
534
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
535
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
536
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
537
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
538
+ return r;
539
+ }
540
+ function st(e) {
522
541
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
523
542
  if (r)
524
543
  return r.call(e);
@@ -530,7 +549,7 @@ function at(e) {
530
549
  };
531
550
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
532
551
  }
533
- function lt(e, t) {
552
+ function at(e, t) {
534
553
  var r = typeof Symbol == "function" && e[Symbol.iterator];
535
554
  if (!r)
536
555
  return e;
@@ -550,8 +569,8 @@ function lt(e, t) {
550
569
  }
551
570
  return o;
552
571
  }
553
- function ut(e, t, r) {
554
- if (arguments.length === 2)
572
+ function pe(e, t, r) {
573
+ if (r || arguments.length === 2)
555
574
  for (var n = 0, i = t.length, o; n < i; n++)
556
575
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
557
576
  return e.concat(o || t);
@@ -559,13 +578,13 @@ function ut(e, t, r) {
559
578
  function W(e) {
560
579
  return typeof e == "function";
561
580
  }
562
- function lr(e) {
581
+ function ar(e) {
563
582
  var t = function(n) {
564
583
  Error.call(n), n.stack = new Error().stack;
565
584
  }, r = e(t);
566
585
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
567
586
  }
568
- var Qe = lr(function(e) {
587
+ var Je = ar(function(e) {
569
588
  return function(r) {
570
589
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
571
590
  ` + r.map(function(n, i) {
@@ -574,13 +593,13 @@ var Qe = lr(function(e) {
574
593
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
575
594
  };
576
595
  });
577
- function ht(e, t) {
596
+ function lt(e, t) {
578
597
  if (e) {
579
598
  var r = e.indexOf(t);
580
599
  0 <= r && e.splice(r, 1);
581
600
  }
582
601
  }
583
- var ke = function() {
602
+ var Ge = function() {
584
603
  function e(t) {
585
604
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
586
605
  }
@@ -592,12 +611,12 @@ var ke = function() {
592
611
  if (s)
593
612
  if (this._parentage = null, Array.isArray(s))
594
613
  try {
595
- for (var a = at(s), u = a.next(); !u.done; u = a.next()) {
614
+ for (var a = st(s), u = a.next(); !u.done; u = a.next()) {
596
615
  var l = u.value;
597
616
  l.remove(this);
598
617
  }
599
- } catch (g) {
600
- t = { error: g };
618
+ } catch (b) {
619
+ t = { error: b };
601
620
  } finally {
602
621
  try {
603
622
  u && !u.done && (r = a.return) && r.call(a);
@@ -612,26 +631,26 @@ var ke = function() {
612
631
  if (W(h))
613
632
  try {
614
633
  h();
615
- } catch (g) {
616
- o = g instanceof Qe ? g.errors : [g];
634
+ } catch (b) {
635
+ o = b instanceof Je ? b.errors : [b];
617
636
  }
618
637
  var p = this._finalizers;
619
638
  if (p) {
620
639
  this._finalizers = null;
621
640
  try {
622
- for (var f = at(p), v = f.next(); !v.done; v = f.next()) {
623
- var E = v.value;
641
+ for (var f = st(p), g = f.next(); !g.done; g = f.next()) {
642
+ var _ = g.value;
624
643
  try {
625
- Lt(E);
626
- } catch (g) {
627
- o = o != null ? o : [], g instanceof Qe ? o = ut(ut([], lt(o)), lt(g.errors)) : o.push(g);
644
+ Ot(_);
645
+ } catch (b) {
646
+ o = o != null ? o : [], b instanceof Je ? o = pe(pe([], at(o)), at(b.errors)) : o.push(b);
628
647
  }
629
648
  }
630
- } catch (g) {
631
- n = { error: g };
649
+ } catch (b) {
650
+ n = { error: b };
632
651
  } finally {
633
652
  try {
634
- v && !v.done && (i = f.return) && i.call(f);
653
+ g && !g.done && (i = f.return) && i.call(f);
635
654
  } finally {
636
655
  if (n)
637
656
  throw n.error;
@@ -639,13 +658,13 @@ var ke = function() {
639
658
  }
640
659
  }
641
660
  if (o)
642
- throw new Qe(o);
661
+ throw new Je(o);
643
662
  }
644
663
  }, e.prototype.add = function(t) {
645
664
  var r;
646
665
  if (t && t !== this)
647
666
  if (this.closed)
648
- Lt(t);
667
+ Ot(t);
649
668
  else {
650
669
  if (t instanceof e) {
651
670
  if (t.closed || t._hasParent(this))
@@ -662,28 +681,32 @@ var ke = function() {
662
681
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
663
682
  }, e.prototype._removeParent = function(t) {
664
683
  var r = this._parentage;
665
- r === t ? this._parentage = null : Array.isArray(r) && ht(r, t);
684
+ r === t ? this._parentage = null : Array.isArray(r) && lt(r, t);
666
685
  }, e.prototype.remove = function(t) {
667
686
  var r = this._finalizers;
668
- r && ht(r, t), t instanceof e && t._removeParent(this);
687
+ r && lt(r, t), t instanceof e && t._removeParent(this);
669
688
  }, e.EMPTY = function() {
670
689
  var t = new e();
671
690
  return t.closed = !0, t;
672
691
  }(), e;
673
- }(), ur = ke.EMPTY;
674
- function hr(e) {
675
- return e instanceof ke || e && "closed" in e && W(e.remove) && W(e.add) && W(e.unsubscribe);
692
+ }(), lr = Ge.EMPTY;
693
+ function ur(e) {
694
+ return e instanceof Ge || e && "closed" in e && W(e.remove) && W(e.add) && W(e.unsubscribe);
676
695
  }
677
- function Lt(e) {
696
+ function Ot(e) {
678
697
  W(e) ? e() : e.unsubscribe();
679
698
  }
680
- var dn = {
681
- Promise: void 0
699
+ var hr = {
700
+ onUnhandledError: null,
701
+ onStoppedNotification: null,
702
+ Promise: void 0,
703
+ useDeprecatedSynchronousErrorHandling: !1,
704
+ useDeprecatedNextContext: !1
682
705
  }, mn = {
683
706
  setTimeout: function(e, t) {
684
707
  for (var r = [], n = 2; n < arguments.length; n++)
685
708
  r[n - 2] = arguments[n];
686
- return setTimeout.apply(void 0, ut([e, t], lt(r)));
709
+ return setTimeout.apply(void 0, pe([e, t], at(r)));
687
710
  },
688
711
  clearTimeout: function(e) {
689
712
  return clearTimeout(e);
@@ -695,19 +718,19 @@ function bn(e) {
695
718
  throw e;
696
719
  });
697
720
  }
698
- function Nt() {
721
+ function Lt() {
699
722
  }
700
723
  function Ne(e) {
701
724
  e();
702
725
  }
703
726
  var cr = function(e) {
704
- Te(t, e);
727
+ Z(t, e);
705
728
  function t(r) {
706
729
  var n = e.call(this) || this;
707
- return n.isStopped = !1, r ? (n.destination = r, hr(r) && r.add(n)) : n.destination = yn, n;
730
+ return n.isStopped = !1, r ? (n.destination = r, ur(r) && r.add(n)) : n.destination = _n, n;
708
731
  }
709
732
  return t.create = function(r, n, i) {
710
- return new ct(r, n, i);
733
+ return new ut(r, n, i);
711
734
  }, t.prototype.next = function(r) {
712
735
  this.isStopped || this._next(r);
713
736
  }, t.prototype.error = function(r) {
@@ -731,7 +754,11 @@ var cr = function(e) {
731
754
  this.unsubscribe();
732
755
  }
733
756
  }, t;
734
- }(ke), gn = function() {
757
+ }(Ge), gn = Function.prototype.bind;
758
+ function Qe(e, t) {
759
+ return gn.call(e, t);
760
+ }
761
+ var vn = function() {
735
762
  function e(t) {
736
763
  this.partialObserver = t;
737
764
  }
@@ -741,7 +768,7 @@ var cr = function(e) {
741
768
  try {
742
769
  r.next(t);
743
770
  } catch (n) {
744
- Oe(n);
771
+ Ie(n);
745
772
  }
746
773
  }, e.prototype.error = function(t) {
747
774
  var r = this.partialObserver;
@@ -749,56 +776,68 @@ var cr = function(e) {
749
776
  try {
750
777
  r.error(t);
751
778
  } catch (n) {
752
- Oe(n);
779
+ Ie(n);
753
780
  }
754
781
  else
755
- Oe(t);
782
+ Ie(t);
756
783
  }, e.prototype.complete = function() {
757
784
  var t = this.partialObserver;
758
785
  if (t.complete)
759
786
  try {
760
787
  t.complete();
761
788
  } catch (r) {
762
- Oe(r);
789
+ Ie(r);
763
790
  }
764
791
  }, e;
765
- }(), ct = function(e) {
766
- Te(t, e);
792
+ }(), ut = function(e) {
793
+ Z(t, e);
767
794
  function t(r, n, i) {
768
795
  var o = e.call(this) || this, s;
769
- return W(r) || !r ? s = {
770
- next: r != null ? r : void 0,
771
- error: n != null ? n : void 0,
772
- complete: i != null ? i : void 0
773
- } : s = r, o.destination = new gn(s), o;
796
+ if (W(r) || !r)
797
+ s = {
798
+ next: r != null ? r : void 0,
799
+ error: n != null ? n : void 0,
800
+ complete: i != null ? i : void 0
801
+ };
802
+ else {
803
+ var a;
804
+ o && hr.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
805
+ return o.unsubscribe();
806
+ }, s = {
807
+ next: r.next && Qe(r.next, a),
808
+ error: r.error && Qe(r.error, a),
809
+ complete: r.complete && Qe(r.complete, a)
810
+ }) : s = r;
811
+ }
812
+ return o.destination = new vn(s), o;
774
813
  }
775
814
  return t;
776
815
  }(cr);
777
- function Oe(e) {
816
+ function Ie(e) {
778
817
  bn(e);
779
818
  }
780
- function vn(e) {
819
+ function yn(e) {
781
820
  throw e;
782
821
  }
783
- var yn = {
822
+ var _n = {
784
823
  closed: !0,
785
- next: Nt,
786
- error: vn,
787
- complete: Nt
788
- }, _n = function() {
824
+ next: Lt,
825
+ error: yn,
826
+ complete: Lt
827
+ }, xn = function() {
789
828
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
790
829
  }();
791
- function xn(e) {
830
+ function En(e) {
792
831
  return e;
793
832
  }
794
- function En(e) {
795
- return e.length === 0 ? xn : e.length === 1 ? e[0] : function(r) {
833
+ function wn(e) {
834
+ return e.length === 0 ? En : e.length === 1 ? e[0] : function(r) {
796
835
  return e.reduce(function(n, i) {
797
836
  return i(n);
798
837
  }, r);
799
838
  };
800
839
  }
801
- var Mt = function() {
840
+ var Nt = function() {
802
841
  function e(t) {
803
842
  t && (this._subscribe = t);
804
843
  }
@@ -806,7 +845,7 @@ var Mt = function() {
806
845
  var r = new e();
807
846
  return r.source = this, r.operator = t, r;
808
847
  }, e.prototype.subscribe = function(t, r, n) {
809
- var i = this, o = Sn(t) ? t : new ct(t, r, n);
848
+ var i = this, o = Tn(t) ? t : new ut(t, r, n);
810
849
  return Ne(function() {
811
850
  var s = i, a = s.operator, u = s.source;
812
851
  o.add(a ? a.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
@@ -819,8 +858,8 @@ var Mt = function() {
819
858
  }
820
859
  }, e.prototype.forEach = function(t, r) {
821
860
  var n = this;
822
- return r = Rt(r), new r(function(i, o) {
823
- var s = new ct({
861
+ return r = Mt(r), new r(function(i, o) {
862
+ var s = new ut({
824
863
  next: function(a) {
825
864
  try {
826
865
  t(a);
@@ -836,15 +875,15 @@ var Mt = function() {
836
875
  }, e.prototype._subscribe = function(t) {
837
876
  var r;
838
877
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
839
- }, e.prototype[_n] = function() {
878
+ }, e.prototype[xn] = function() {
840
879
  return this;
841
880
  }, e.prototype.pipe = function() {
842
881
  for (var t = [], r = 0; r < arguments.length; r++)
843
882
  t[r] = arguments[r];
844
- return En(t)(this);
883
+ return wn(t)(this);
845
884
  }, e.prototype.toPromise = function(t) {
846
885
  var r = this;
847
- return t = Rt(t), new t(function(n, i) {
886
+ return t = Mt(t), new t(function(n, i) {
848
887
  var o;
849
888
  r.subscribe(function(s) {
850
889
  return o = s;
@@ -858,32 +897,32 @@ var Mt = function() {
858
897
  return new e(t);
859
898
  }, e;
860
899
  }();
861
- function Rt(e) {
900
+ function Mt(e) {
862
901
  var t;
863
- return (t = e != null ? e : dn.Promise) !== null && t !== void 0 ? t : Promise;
902
+ return (t = e != null ? e : hr.Promise) !== null && t !== void 0 ? t : Promise;
864
903
  }
865
- function wn(e) {
904
+ function Sn(e) {
866
905
  return e && W(e.next) && W(e.error) && W(e.complete);
867
906
  }
868
- function Sn(e) {
869
- return e && e instanceof cr || wn(e) && hr(e);
907
+ function Tn(e) {
908
+ return e && e instanceof cr || Sn(e) && ur(e);
870
909
  }
871
- var Tn = lr(function(e) {
910
+ var Hn = ar(function(e) {
872
911
  return function() {
873
912
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
874
913
  };
875
914
  }), fr = function(e) {
876
- Te(t, e);
915
+ Z(t, e);
877
916
  function t() {
878
917
  var r = e.call(this) || this;
879
918
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
880
919
  }
881
920
  return t.prototype.lift = function(r) {
882
- var n = new Ut(this, this);
921
+ var n = new Rt(this, this);
883
922
  return n.operator = r, n;
884
923
  }, t.prototype._throwIfClosed = function() {
885
924
  if (this.closed)
886
- throw new Tn();
925
+ throw new Hn();
887
926
  }, t.prototype.next = function(r) {
888
927
  var n = this;
889
928
  Ne(function() {
@@ -891,7 +930,7 @@ var Tn = lr(function(e) {
891
930
  if (n._throwIfClosed(), !n.isStopped) {
892
931
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
893
932
  try {
894
- for (var s = at(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
933
+ for (var s = st(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
895
934
  var u = a.value;
896
935
  u.next(r);
897
936
  }
@@ -940,20 +979,20 @@ var Tn = lr(function(e) {
940
979
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
941
980
  }, t.prototype._innerSubscribe = function(r) {
942
981
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
943
- return o || s ? ur : (this.currentObservers = null, a.push(r), new ke(function() {
944
- n.currentObservers = null, ht(a, r);
982
+ return o || s ? lr : (this.currentObservers = null, a.push(r), new Ge(function() {
983
+ n.currentObservers = null, lt(a, r);
945
984
  }));
946
985
  }, t.prototype._checkFinalizedStatuses = function(r) {
947
986
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
948
987
  i ? r.error(o) : s && r.complete();
949
988
  }, t.prototype.asObservable = function() {
950
- var r = new Mt();
989
+ var r = new Nt();
951
990
  return r.source = this, r;
952
991
  }, t.create = function(r, n) {
953
- return new Ut(r, n);
992
+ return new Rt(r, n);
954
993
  }, t;
955
- }(Mt), Ut = function(e) {
956
- Te(t, e);
994
+ }(Nt), Rt = function(e) {
995
+ Z(t, e);
957
996
  function t(r, n) {
958
997
  var i = e.call(this) || this;
959
998
  return i.destination = r, i.source = n, i;
@@ -969,15 +1008,15 @@ var Tn = lr(function(e) {
969
1008
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
970
1009
  }, t.prototype._subscribe = function(r) {
971
1010
  var n, i;
972
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : ur;
1011
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : lr;
973
1012
  }, t;
974
1013
  }(fr), pr = {
975
1014
  now: function() {
976
1015
  return (pr.delegate || Date).now();
977
1016
  },
978
1017
  delegate: void 0
979
- }, Hn = function(e) {
980
- Te(t, e);
1018
+ }, An = function(e) {
1019
+ Z(t, e);
981
1020
  function t(r, n, i) {
982
1021
  r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = pr);
983
1022
  var o = e.call(this) || this;
@@ -1000,23 +1039,23 @@ var Tn = lr(function(e) {
1000
1039
  }
1001
1040
  }, t;
1002
1041
  }(fr);
1003
- const $t = [], Dt = {}, An = (e, t = 0) => {
1004
- if ($t.indexOf(e) == -1) {
1005
- const r = new Hn(t);
1006
- Dt[e] = r, $t.push(e);
1042
+ const Ut = [], Dt = {}, Bn = (e, t = 0) => {
1043
+ if (Ut.indexOf(e) == -1) {
1044
+ const r = new An(t);
1045
+ Dt[e] = r, Ut.push(e);
1007
1046
  }
1008
1047
  return Dt[e];
1009
1048
  }, he = [];
1010
- function Pn(e, t) {
1049
+ function Fn(e, t) {
1011
1050
  return {
1012
- subscribe: je(e, t).subscribe
1051
+ subscribe: ke(e, t).subscribe
1013
1052
  };
1014
1053
  }
1015
- function je(e, t = $) {
1054
+ function ke(e, t = $) {
1016
1055
  let r;
1017
1056
  const n = /* @__PURE__ */ new Set();
1018
1057
  function i(a) {
1019
- if (or(e, a) && (e = a, r)) {
1058
+ if (ir(e, a) && (e = a, r)) {
1020
1059
  const u = !he.length;
1021
1060
  for (const l of n)
1022
1061
  l[1](), he.push(l, e);
@@ -1038,12 +1077,12 @@ function je(e, t = $) {
1038
1077
  }
1039
1078
  return { set: i, update: o, subscribe: s };
1040
1079
  }
1041
- function ge(e, t, r) {
1080
+ function ve(e, t, r) {
1042
1081
  const n = !Array.isArray(e), i = n ? [e] : e;
1043
1082
  if (!i.every(Boolean))
1044
1083
  throw new Error("derived() expects stores as input, got a falsy value");
1045
1084
  const o = t.length < 2;
1046
- return Pn(r, (s, a) => {
1085
+ return Fn(r, (s, a) => {
1047
1086
  let u = !1;
1048
1087
  const l = [];
1049
1088
  let h = 0, p = $;
@@ -1051,64 +1090,64 @@ function ge(e, t, r) {
1051
1090
  if (h)
1052
1091
  return;
1053
1092
  p();
1054
- const E = t(n ? l[0] : l, s, a);
1055
- o ? s(E) : p = xt(E) ? E : $;
1056
- }, v = i.map(
1057
- (E, g) => sr(
1058
- E,
1093
+ const _ = t(n ? l[0] : l, s, a);
1094
+ o ? s(_) : p = vt(_) ? _ : $;
1095
+ }, g = i.map(
1096
+ (_, b) => or(
1097
+ _,
1059
1098
  (T) => {
1060
- l[g] = T, h &= ~(1 << g), u && f();
1099
+ l[b] = T, h &= ~(1 << b), u && f();
1061
1100
  },
1062
1101
  () => {
1063
- h |= 1 << g;
1102
+ h |= 1 << b;
1064
1103
  }
1065
1104
  )
1066
1105
  );
1067
1106
  return u = !0, f(), function() {
1068
- re(v), p(), u = !1;
1107
+ ne(g), p(), u = !1;
1069
1108
  };
1070
1109
  });
1071
1110
  }
1072
- function Bn(e) {
1111
+ function Pn(e) {
1073
1112
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1074
1113
  }
1075
- var Fn = function(t) {
1076
- return Cn(t) && !On(t);
1114
+ var Cn = function(t) {
1115
+ return In(t) && !On(t);
1077
1116
  };
1078
- function Cn(e) {
1117
+ function In(e) {
1079
1118
  return !!e && typeof e == "object";
1080
1119
  }
1081
1120
  function On(e) {
1082
1121
  var t = Object.prototype.toString.call(e);
1083
- return t === "[object RegExp]" || t === "[object Date]" || Nn(e);
1084
- }
1085
- var In = typeof Symbol == "function" && Symbol.for, Ln = In ? Symbol.for("react.element") : 60103;
1086
- function Nn(e) {
1087
- return e.$$typeof === Ln;
1122
+ return t === "[object RegExp]" || t === "[object Date]" || Mn(e);
1088
1123
  }
1124
+ var Ln = typeof Symbol == "function" && Symbol.for, Nn = Ln ? Symbol.for("react.element") : 60103;
1089
1125
  function Mn(e) {
1126
+ return e.$$typeof === Nn;
1127
+ }
1128
+ function Rn(e) {
1090
1129
  return Array.isArray(e) ? [] : {};
1091
1130
  }
1092
- function we(e, t) {
1093
- return t.clone !== !1 && t.isMergeableObject(e) ? pe(Mn(e), e, t) : e;
1131
+ function He(e, t) {
1132
+ return t.clone !== !1 && t.isMergeableObject(e) ? de(Rn(e), e, t) : e;
1094
1133
  }
1095
- function Rn(e, t, r) {
1134
+ function Un(e, t, r) {
1096
1135
  return e.concat(t).map(function(n) {
1097
- return we(n, r);
1136
+ return He(n, r);
1098
1137
  });
1099
1138
  }
1100
- function Un(e, t) {
1139
+ function Dn(e, t) {
1101
1140
  if (!t.customMerge)
1102
- return pe;
1141
+ return de;
1103
1142
  var r = t.customMerge(e);
1104
- return typeof r == "function" ? r : pe;
1143
+ return typeof r == "function" ? r : de;
1105
1144
  }
1106
1145
  function $n(e) {
1107
1146
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1108
1147
  return Object.propertyIsEnumerable.call(e, t);
1109
1148
  }) : [];
1110
1149
  }
1111
- function Gt(e) {
1150
+ function $t(e) {
1112
1151
  return Object.keys(e).concat($n(e));
1113
1152
  }
1114
1153
  function dr(e, t) {
@@ -1118,75 +1157,33 @@ function dr(e, t) {
1118
1157
  return !1;
1119
1158
  }
1120
1159
  }
1121
- function Dn(e, t) {
1160
+ function Gn(e, t) {
1122
1161
  return dr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1123
1162
  }
1124
- function Gn(e, t, r) {
1163
+ function kn(e, t, r) {
1125
1164
  var n = {};
1126
- return r.isMergeableObject(e) && Gt(e).forEach(function(i) {
1127
- n[i] = we(e[i], r);
1128
- }), Gt(t).forEach(function(i) {
1129
- Dn(e, i) || (dr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Un(i, r)(e[i], t[i], r) : n[i] = we(t[i], r));
1165
+ return r.isMergeableObject(e) && $t(e).forEach(function(i) {
1166
+ n[i] = He(e[i], r);
1167
+ }), $t(t).forEach(function(i) {
1168
+ Gn(e, i) || (dr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Dn(i, r)(e[i], t[i], r) : n[i] = He(t[i], r));
1130
1169
  }), n;
1131
1170
  }
1132
- function pe(e, t, r) {
1133
- r = r || {}, r.arrayMerge = r.arrayMerge || Rn, r.isMergeableObject = r.isMergeableObject || Fn, r.cloneUnlessOtherwiseSpecified = we;
1171
+ function de(e, t, r) {
1172
+ r = r || {}, r.arrayMerge = r.arrayMerge || Un, r.isMergeableObject = r.isMergeableObject || Cn, r.cloneUnlessOtherwiseSpecified = He;
1134
1173
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1135
- return o ? n ? r.arrayMerge(e, t, r) : Gn(e, t, r) : we(t, r);
1174
+ return o ? n ? r.arrayMerge(e, t, r) : kn(e, t, r) : He(t, r);
1136
1175
  }
1137
- pe.all = function(t, r) {
1176
+ de.all = function(t, r) {
1138
1177
  if (!Array.isArray(t))
1139
1178
  throw new Error("first argument should be an array");
1140
1179
  return t.reduce(function(n, i) {
1141
- return pe(n, i, r);
1180
+ return de(n, i, r);
1142
1181
  }, {});
1143
1182
  };
1144
- var kn = pe, jn = kn;
1145
- const Vn = /* @__PURE__ */ Bn(jn);
1146
- var ft = function(e, t) {
1147
- return ft = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1148
- r.__proto__ = n;
1149
- } || function(r, n) {
1150
- for (var i in n)
1151
- Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1152
- }, ft(e, t);
1153
- };
1154
- function Ve(e, t) {
1155
- if (typeof t != "function" && t !== null)
1156
- throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1157
- ft(e, t);
1158
- function r() {
1159
- this.constructor = e;
1160
- }
1161
- e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1162
- }
1163
- var k = function() {
1164
- return k = Object.assign || function(t) {
1165
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1166
- r = arguments[n];
1167
- for (var o in r)
1168
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1169
- }
1170
- return t;
1171
- }, k.apply(this, arguments);
1172
- };
1173
- function Xn(e, t) {
1174
- var r = {};
1175
- for (var n in e)
1176
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1177
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
1178
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1179
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1180
- return r;
1181
- }
1182
- function qe(e, t, r) {
1183
- if (r || arguments.length === 2)
1184
- for (var n = 0, i = t.length, o; n < i; n++)
1185
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1186
- return e.concat(o || Array.prototype.slice.call(t));
1187
- }
1188
- function Ye(e, t) {
1189
- var r = t && t.cache ? t.cache : Yn, n = t && t.serializer ? t.serializer : Qn, i = t && t.strategy ? t.strategy : Zn;
1183
+ var jn = de, Vn = jn;
1184
+ const Xn = /* @__PURE__ */ Pn(Vn);
1185
+ function qe(e, t) {
1186
+ var r = t && t.cache ? t.cache : qn, n = t && t.serializer ? t.serializer : Qn, i = t && t.strategy ? t.strategy : zn;
1190
1187
  return i(e, {
1191
1188
  cache: r,
1192
1189
  serializer: n
@@ -1195,103 +1192,95 @@ function Ye(e, t) {
1195
1192
  function Wn(e) {
1196
1193
  return e == null || typeof e == "number" || typeof e == "boolean";
1197
1194
  }
1198
- function zn(e, t, r, n) {
1195
+ function mr(e, t, r, n) {
1199
1196
  var i = Wn(n) ? n : r(n), o = t.get(i);
1200
1197
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1201
1198
  }
1202
- function mr(e, t, r) {
1199
+ function br(e, t, r) {
1203
1200
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1204
1201
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1205
1202
  }
1206
- function br(e, t, r, n, i) {
1203
+ function yt(e, t, r, n, i) {
1207
1204
  return r.bind(t, e, n, i);
1208
1205
  }
1206
+ function zn(e, t) {
1207
+ var r = e.length === 1 ? mr : br;
1208
+ return yt(e, this, r, t.cache.create(), t.serializer);
1209
+ }
1209
1210
  function Zn(e, t) {
1210
- var r = e.length === 1 ? zn : mr;
1211
- return br(e, this, r, t.cache.create(), t.serializer);
1211
+ return yt(e, this, br, t.cache.create(), t.serializer);
1212
1212
  }
1213
1213
  function Jn(e, t) {
1214
- return br(e, this, mr, t.cache.create(), t.serializer);
1214
+ return yt(e, this, mr, t.cache.create(), t.serializer);
1215
1215
  }
1216
1216
  var Qn = function() {
1217
1217
  return JSON.stringify(arguments);
1218
- }, qn = (
1219
- /** @class */
1220
- function() {
1221
- function e() {
1222
- this.cache = /* @__PURE__ */ Object.create(null);
1223
- }
1224
- return e.prototype.get = function(t) {
1225
- return this.cache[t];
1226
- }, e.prototype.set = function(t, r) {
1227
- this.cache[t] = r;
1228
- }, e;
1229
- }()
1230
- ), Yn = {
1218
+ };
1219
+ function _t() {
1220
+ this.cache = /* @__PURE__ */ Object.create(null);
1221
+ }
1222
+ _t.prototype.get = function(e) {
1223
+ return this.cache[e];
1224
+ };
1225
+ _t.prototype.set = function(e, t) {
1226
+ this.cache[e] = t;
1227
+ };
1228
+ var qn = {
1231
1229
  create: function() {
1232
- return new qn();
1230
+ return new _t();
1233
1231
  }
1234
- }, Ke = {
1235
- variadic: Jn
1236
- }, $e = function() {
1237
- return $e = Object.assign || function(t) {
1238
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1239
- r = arguments[n];
1240
- for (var o in r)
1241
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1242
- }
1243
- return t;
1244
- }, $e.apply(this, arguments);
1245
- };
1246
- var x;
1232
+ }, Ye = {
1233
+ variadic: Zn,
1234
+ monadic: Jn
1235
+ }, y;
1247
1236
  (function(e) {
1248
1237
  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";
1249
- })(x || (x = {}));
1250
- var P;
1238
+ })(y || (y = {}));
1239
+ var F;
1251
1240
  (function(e) {
1252
1241
  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";
1253
- })(P || (P = {}));
1254
- var de;
1242
+ })(F || (F = {}));
1243
+ var me;
1255
1244
  (function(e) {
1256
1245
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1257
- })(de || (de = {}));
1258
- function kt(e) {
1259
- return e.type === P.literal;
1246
+ })(me || (me = {}));
1247
+ function Gt(e) {
1248
+ return e.type === F.literal;
1260
1249
  }
1261
- function Kn(e) {
1262
- return e.type === P.argument;
1250
+ function Yn(e) {
1251
+ return e.type === F.argument;
1263
1252
  }
1264
1253
  function gr(e) {
1265
- return e.type === P.number;
1254
+ return e.type === F.number;
1266
1255
  }
1267
1256
  function vr(e) {
1268
- return e.type === P.date;
1257
+ return e.type === F.date;
1269
1258
  }
1270
1259
  function yr(e) {
1271
- return e.type === P.time;
1260
+ return e.type === F.time;
1272
1261
  }
1273
1262
  function _r(e) {
1274
- return e.type === P.select;
1263
+ return e.type === F.select;
1275
1264
  }
1276
1265
  function xr(e) {
1277
- return e.type === P.plural;
1266
+ return e.type === F.plural;
1278
1267
  }
1279
- function ei(e) {
1280
- return e.type === P.pound;
1268
+ function Kn(e) {
1269
+ return e.type === F.pound;
1281
1270
  }
1282
1271
  function Er(e) {
1283
- return e.type === P.tag;
1272
+ return e.type === F.tag;
1284
1273
  }
1285
1274
  function wr(e) {
1286
- return !!(e && typeof e == "object" && e.type === de.number);
1275
+ return !!(e && typeof e == "object" && e.type === me.number);
1287
1276
  }
1288
- function pt(e) {
1289
- return !!(e && typeof e == "object" && e.type === de.dateTime);
1277
+ function ht(e) {
1278
+ return !!(e && typeof e == "object" && e.type === me.dateTime);
1290
1279
  }
1291
- var Sr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ti = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1292
- function ri(e) {
1280
+ var Sr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ei = /(?:[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;
1281
+ function ti(e) {
1293
1282
  var t = {};
1294
- return e.replace(ti, function(r) {
1283
+ return e.replace(ei, function(r) {
1295
1284
  var n = r.length;
1296
1285
  switch (r[0]) {
1297
1286
  case "G":
@@ -1380,21 +1369,11 @@ function ri(e) {
1380
1369
  return "";
1381
1370
  }), t;
1382
1371
  }
1383
- var F = function() {
1384
- return F = Object.assign || function(t) {
1385
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1386
- r = arguments[n];
1387
- for (var o in r)
1388
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1389
- }
1390
- return t;
1391
- }, F.apply(this, arguments);
1392
- };
1393
- var ni = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1394
- function ii(e) {
1372
+ var ri = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1373
+ function ni(e) {
1395
1374
  if (e.length === 0)
1396
1375
  throw new Error("Number skeleton cannot be empty");
1397
- for (var t = e.split(ni).filter(function(f) {
1376
+ for (var t = e.split(ri).filter(function(f) {
1398
1377
  return f.length > 0;
1399
1378
  }), r = [], n = 0, i = t; n < i.length; n++) {
1400
1379
  var o = i[n], s = o.split("/");
@@ -1409,11 +1388,11 @@ function ii(e) {
1409
1388
  }
1410
1389
  return r;
1411
1390
  }
1412
- function oi(e) {
1391
+ function ii(e) {
1413
1392
  return e.replace(/^(.*?)-/, "");
1414
1393
  }
1415
- var jt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Tr = /^(@+)?(\+|#+)?[rs]?$/g, si = /(\*)(0+)|(#+)(0+)|(0+)/g, Hr = /^(0+)$/;
1416
- function Vt(e) {
1394
+ var kt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Tr = /^(@+)?(\+|#+)?[rs]?$/g, oi = /(\*)(0+)|(#+)(0+)|(0+)/g, Hr = /^(0+)$/;
1395
+ function jt(e) {
1417
1396
  var t = {};
1418
1397
  return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Tr, function(r, n, i) {
1419
1398
  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)), "";
@@ -1459,7 +1438,7 @@ function Ar(e) {
1459
1438
  };
1460
1439
  }
1461
1440
  }
1462
- function ai(e) {
1441
+ function si(e) {
1463
1442
  var t;
1464
1443
  if (e[0] === "E" && e[1] === "E" ? (t = {
1465
1444
  notation: "engineering"
@@ -1473,11 +1452,11 @@ function ai(e) {
1473
1452
  }
1474
1453
  return t;
1475
1454
  }
1476
- function Xt(e) {
1455
+ function Vt(e) {
1477
1456
  var t = {}, r = Ar(e);
1478
1457
  return r || t;
1479
1458
  }
1480
- function li(e) {
1459
+ function ai(e) {
1481
1460
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1482
1461
  var i = n[r];
1483
1462
  switch (i.stem) {
@@ -1501,7 +1480,7 @@ function li(e) {
1501
1480
  continue;
1502
1481
  case "measure-unit":
1503
1482
  case "unit":
1504
- t.style = "unit", t.unit = oi(i.options[0]);
1483
+ t.style = "unit", t.unit = ii(i.options[0]);
1505
1484
  continue;
1506
1485
  case "compact-short":
1507
1486
  case "K":
@@ -1512,13 +1491,13 @@ function li(e) {
1512
1491
  t.notation = "compact", t.compactDisplay = "long";
1513
1492
  continue;
1514
1493
  case "scientific":
1515
- t = F(F(F({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
1516
- return F(F({}, u), Xt(l));
1494
+ t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
1495
+ return E(E({}, u), Vt(l));
1517
1496
  }, {}));
1518
1497
  continue;
1519
1498
  case "engineering":
1520
- t = F(F(F({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1521
- return F(F({}, u), Xt(l));
1499
+ t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1500
+ return E(E({}, u), Vt(l));
1522
1501
  }, {}));
1523
1502
  continue;
1524
1503
  case "notation-simple":
@@ -1563,13 +1542,13 @@ function li(e) {
1563
1542
  case "integer-width":
1564
1543
  if (i.options.length > 1)
1565
1544
  throw new RangeError("integer-width stems only accept a single optional option");
1566
- i.options[0].replace(si, function(u, l, h, p, f, v) {
1545
+ i.options[0].replace(oi, function(u, l, h, p, f, g) {
1567
1546
  if (l)
1568
1547
  t.minimumIntegerDigits = h.length;
1569
1548
  else {
1570
1549
  if (p && f)
1571
1550
  throw new Error("We currently do not support maximum integer digits");
1572
- if (v)
1551
+ if (g)
1573
1552
  throw new Error("We currently do not support exact integer digits");
1574
1553
  }
1575
1554
  return "";
@@ -1580,28 +1559,28 @@ function li(e) {
1580
1559
  t.minimumIntegerDigits = i.stem.length;
1581
1560
  continue;
1582
1561
  }
1583
- if (jt.test(i.stem)) {
1562
+ if (kt.test(i.stem)) {
1584
1563
  if (i.options.length > 1)
1585
1564
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1586
- i.stem.replace(jt, function(u, l, h, p, f, v) {
1587
- return h === "*" ? t.minimumFractionDigits = l.length : p && p[0] === "#" ? t.maximumFractionDigits = p.length : f && v ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + v.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1565
+ i.stem.replace(kt, function(u, l, h, p, f, g) {
1566
+ return h === "*" ? t.minimumFractionDigits = l.length : p && p[0] === "#" ? t.maximumFractionDigits = p.length : f && g ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + g.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1588
1567
  });
1589
1568
  var o = i.options[0];
1590
- o === "w" ? t = F(F({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = F(F({}, t), Vt(o)));
1569
+ o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t), jt(o)));
1591
1570
  continue;
1592
1571
  }
1593
1572
  if (Tr.test(i.stem)) {
1594
- t = F(F({}, t), Vt(i.stem));
1573
+ t = E(E({}, t), jt(i.stem));
1595
1574
  continue;
1596
1575
  }
1597
1576
  var s = Ar(i.stem);
1598
- s && (t = F(F({}, t), s));
1599
- var a = ai(i.stem);
1600
- a && (t = F(F({}, t), a));
1577
+ s && (t = E(E({}, t), s));
1578
+ var a = si(i.stem);
1579
+ a && (t = E(E({}, t), a));
1601
1580
  }
1602
1581
  return t;
1603
1582
  }
1604
- var Ie = {
1583
+ var Oe = {
1605
1584
  "001": [
1606
1585
  "H",
1607
1586
  "h"
@@ -3016,13 +2995,13 @@ var Ie = {
3016
2995
  "h"
3017
2996
  ]
3018
2997
  };
3019
- function ui(e, t) {
2998
+ function li(e, t) {
3020
2999
  for (var r = "", n = 0; n < e.length; n++) {
3021
3000
  var i = e.charAt(n);
3022
3001
  if (i === "j") {
3023
3002
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3024
3003
  o++, n++;
3025
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = hi(t);
3004
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = ui(t);
3026
3005
  for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
3027
3006
  r += u;
3028
3007
  for (; s-- > 0; )
@@ -3032,7 +3011,7 @@ function ui(e, t) {
3032
3011
  }
3033
3012
  return r;
3034
3013
  }
3035
- function hi(e) {
3014
+ function ui(e) {
3036
3015
  var t = e.hourCycle;
3037
3016
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3038
3017
  e.hourCycles && // @ts-ignore
@@ -3051,23 +3030,23 @@ function hi(e) {
3051
3030
  }
3052
3031
  var r = e.language, n;
3053
3032
  r !== "root" && (n = e.maximize().region);
3054
- var i = Ie[n || ""] || Ie[r || ""] || Ie["".concat(r, "-001")] || Ie["001"];
3033
+ var i = Oe[n || ""] || Oe[r || ""] || Oe["".concat(r, "-001")] || Oe["001"];
3055
3034
  return i[0];
3056
3035
  }
3057
- var et, ci = new RegExp("^".concat(Sr.source, "*")), fi = new RegExp("".concat(Sr.source, "*$"));
3058
- function w(e, t) {
3036
+ var Ke, hi = new RegExp("^".concat(Sr.source, "*")), ci = new RegExp("".concat(Sr.source, "*$"));
3037
+ function x(e, t) {
3059
3038
  return { start: e, end: t };
3060
3039
  }
3061
- var pi = !!String.prototype.startsWith && "_a".startsWith("a", 1), di = !!String.fromCodePoint, mi = !!Object.fromEntries, bi = !!String.prototype.codePointAt, gi = !!String.prototype.trimStart, vi = !!String.prototype.trimEnd, yi = !!Number.isSafeInteger, _i = yi ? Number.isSafeInteger : function(e) {
3040
+ var fi = !!String.prototype.startsWith && "_a".startsWith("a", 1), pi = !!String.fromCodePoint, di = !!Object.fromEntries, mi = !!String.prototype.codePointAt, bi = !!String.prototype.trimStart, gi = !!String.prototype.trimEnd, vi = !!Number.isSafeInteger, yi = vi ? Number.isSafeInteger : function(e) {
3062
3041
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3063
- }, dt = !0;
3042
+ }, ct = !0;
3064
3043
  try {
3065
- var xi = Br("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3066
- dt = ((et = xi.exec("a")) === null || et === void 0 ? void 0 : et[0]) === "a";
3044
+ var _i = Fr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3045
+ ct = ((Ke = _i.exec("a")) === null || Ke === void 0 ? void 0 : Ke[0]) === "a";
3067
3046
  } catch (e) {
3068
- dt = !1;
3047
+ ct = !1;
3069
3048
  }
3070
- var Wt = pi ? (
3049
+ var Xt = fi ? (
3071
3050
  // Native
3072
3051
  function(t, r, n) {
3073
3052
  return t.startsWith(r, n);
@@ -3077,7 +3056,7 @@ var Wt = pi ? (
3077
3056
  function(t, r, n) {
3078
3057
  return t.slice(n, n + r.length) === r;
3079
3058
  }
3080
- ), mt = di ? String.fromCodePoint : (
3059
+ ), ft = pi ? String.fromCodePoint : (
3081
3060
  // IE11
3082
3061
  function() {
3083
3062
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3089,9 +3068,9 @@ var Wt = pi ? (
3089
3068
  }
3090
3069
  return n;
3091
3070
  }
3092
- ), zt = (
3071
+ ), Wt = (
3093
3072
  // native
3094
- mi ? Object.fromEntries : (
3073
+ di ? Object.fromEntries : (
3095
3074
  // Ponyfill
3096
3075
  function(t) {
3097
3076
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3101,7 +3080,7 @@ var Wt = pi ? (
3101
3080
  return r;
3102
3081
  }
3103
3082
  )
3104
- ), Pr = bi ? (
3083
+ ), Br = mi ? (
3105
3084
  // Native
3106
3085
  function(t, r) {
3107
3086
  return t.codePointAt(r);
@@ -3115,7 +3094,7 @@ var Wt = pi ? (
3115
3094
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3116
3095
  }
3117
3096
  }
3118
- ), Ei = gi ? (
3097
+ ), xi = bi ? (
3119
3098
  // Native
3120
3099
  function(t) {
3121
3100
  return t.trimStart();
@@ -3123,9 +3102,9 @@ var Wt = pi ? (
3123
3102
  ) : (
3124
3103
  // Ponyfill
3125
3104
  function(t) {
3126
- return t.replace(ci, "");
3105
+ return t.replace(hi, "");
3127
3106
  }
3128
- ), wi = vi ? (
3107
+ ), Ei = gi ? (
3129
3108
  // Native
3130
3109
  function(t) {
3131
3110
  return t.trimEnd();
@@ -3133,32 +3112,32 @@ var Wt = pi ? (
3133
3112
  ) : (
3134
3113
  // Ponyfill
3135
3114
  function(t) {
3136
- return t.replace(fi, "");
3115
+ return t.replace(ci, "");
3137
3116
  }
3138
3117
  );
3139
- function Br(e, t) {
3118
+ function Fr(e, t) {
3140
3119
  return new RegExp(e, t);
3141
3120
  }
3142
- var bt;
3143
- if (dt) {
3144
- var Zt = Br("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3145
- bt = function(t, r) {
3121
+ var pt;
3122
+ if (ct) {
3123
+ var zt = Fr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3124
+ pt = function(t, r) {
3146
3125
  var n;
3147
- Zt.lastIndex = r;
3148
- var i = Zt.exec(t);
3126
+ zt.lastIndex = r;
3127
+ var i = zt.exec(t);
3149
3128
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3150
3129
  };
3151
3130
  } else
3152
- bt = function(t, r) {
3131
+ pt = function(t, r) {
3153
3132
  for (var n = []; ; ) {
3154
- var i = Pr(t, r);
3155
- if (i === void 0 || Fr(i) || Ai(i))
3133
+ var i = Br(t, r);
3134
+ if (i === void 0 || Pr(i) || Hi(i))
3156
3135
  break;
3157
3136
  n.push(i), r += i >= 65536 ? 2 : 1;
3158
3137
  }
3159
- return mt.apply(void 0, n);
3138
+ return ft.apply(void 0, n);
3160
3139
  };
3161
- var Si = (
3140
+ var wi = (
3162
3141
  /** @class */
3163
3142
  function() {
3164
3143
  function e(t, r) {
@@ -3182,14 +3161,14 @@ var Si = (
3182
3161
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3183
3162
  var a = this.clonePosition();
3184
3163
  this.bump(), i.push({
3185
- type: P.pound,
3186
- location: w(a, this.clonePosition())
3164
+ type: F.pound,
3165
+ location: x(a, this.clonePosition())
3187
3166
  });
3188
3167
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3189
3168
  if (n)
3190
3169
  break;
3191
- return this.error(x.UNMATCHED_CLOSING_TAG, w(this.clonePosition(), this.clonePosition()));
3192
- } else if (o === 60 && !this.ignoreTag && gt(this.peek() || 0)) {
3170
+ return this.error(y.UNMATCHED_CLOSING_TAG, x(this.clonePosition(), this.clonePosition()));
3171
+ } else if (o === 60 && !this.ignoreTag && dt(this.peek() || 0)) {
3193
3172
  var s = this.parseTag(t, r);
3194
3173
  if (s.err)
3195
3174
  return s;
@@ -3210,9 +3189,9 @@ var Si = (
3210
3189
  if (this.bumpSpace(), this.bumpIf("/>"))
3211
3190
  return {
3212
3191
  val: {
3213
- type: P.literal,
3192
+ type: F.literal,
3214
3193
  value: "<".concat(i, "/>"),
3215
- location: w(n, this.clonePosition())
3194
+ location: x(n, this.clonePosition())
3216
3195
  },
3217
3196
  err: null
3218
3197
  };
@@ -3222,25 +3201,25 @@ var Si = (
3222
3201
  return o;
3223
3202
  var s = o.val, a = this.clonePosition();
3224
3203
  if (this.bumpIf("</")) {
3225
- if (this.isEOF() || !gt(this.char()))
3226
- return this.error(x.INVALID_TAG, w(a, this.clonePosition()));
3204
+ if (this.isEOF() || !dt(this.char()))
3205
+ return this.error(y.INVALID_TAG, x(a, this.clonePosition()));
3227
3206
  var u = this.clonePosition(), l = this.parseTagName();
3228
- return i !== l ? this.error(x.UNMATCHED_CLOSING_TAG, w(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3207
+ return i !== l ? this.error(y.UNMATCHED_CLOSING_TAG, x(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3229
3208
  val: {
3230
- type: P.tag,
3209
+ type: F.tag,
3231
3210
  value: i,
3232
3211
  children: s,
3233
- location: w(n, this.clonePosition())
3212
+ location: x(n, this.clonePosition())
3234
3213
  },
3235
3214
  err: null
3236
- } : this.error(x.INVALID_TAG, w(a, this.clonePosition())));
3215
+ } : this.error(y.INVALID_TAG, x(a, this.clonePosition())));
3237
3216
  } else
3238
- return this.error(x.UNCLOSED_TAG, w(n, this.clonePosition()));
3217
+ return this.error(y.UNCLOSED_TAG, x(n, this.clonePosition()));
3239
3218
  } else
3240
- return this.error(x.INVALID_TAG, w(n, this.clonePosition()));
3219
+ return this.error(y.INVALID_TAG, x(n, this.clonePosition()));
3241
3220
  }, e.prototype.parseTagName = function() {
3242
3221
  var t = this.offset();
3243
- for (this.bump(); !this.isEOF() && Hi(this.char()); )
3222
+ for (this.bump(); !this.isEOF() && Ti(this.char()); )
3244
3223
  this.bump();
3245
3224
  return this.message.slice(t, this.offset());
3246
3225
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3262,14 +3241,14 @@ var Si = (
3262
3241
  }
3263
3242
  break;
3264
3243
  }
3265
- var u = w(n, this.clonePosition());
3244
+ var u = x(n, this.clonePosition());
3266
3245
  return {
3267
- val: { type: P.literal, value: i, location: u },
3246
+ val: { type: F.literal, value: i, location: u },
3268
3247
  err: null
3269
3248
  };
3270
3249
  }, e.prototype.tryParseLeftAngleBracket = function() {
3271
3250
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3272
- !Ti(this.peek() || 0)) ? (this.bump(), "<") : null;
3251
+ !Si(this.peek() || 0)) ? (this.bump(), "<") : null;
3273
3252
  }, e.prototype.tryParseQuote = function(t) {
3274
3253
  if (this.isEOF() || this.char() !== 39)
3275
3254
  return null;
@@ -3303,49 +3282,49 @@ var Si = (
3303
3282
  r.push(n);
3304
3283
  this.bump();
3305
3284
  }
3306
- return mt.apply(void 0, r);
3285
+ return ft.apply(void 0, r);
3307
3286
  }, e.prototype.tryParseUnquoted = function(t, r) {
3308
3287
  if (this.isEOF())
3309
3288
  return null;
3310
3289
  var n = this.char();
3311
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), mt(n));
3290
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ft(n));
3312
3291
  }, e.prototype.parseArgument = function(t, r) {
3313
3292
  var n = this.clonePosition();
3314
3293
  if (this.bump(), this.bumpSpace(), this.isEOF())
3315
- return this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE, w(n, this.clonePosition()));
3294
+ return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, x(n, this.clonePosition()));
3316
3295
  if (this.char() === 125)
3317
- return this.bump(), this.error(x.EMPTY_ARGUMENT, w(n, this.clonePosition()));
3296
+ return this.bump(), this.error(y.EMPTY_ARGUMENT, x(n, this.clonePosition()));
3318
3297
  var i = this.parseIdentifierIfPossible().value;
3319
3298
  if (!i)
3320
- return this.error(x.MALFORMED_ARGUMENT, w(n, this.clonePosition()));
3299
+ return this.error(y.MALFORMED_ARGUMENT, x(n, this.clonePosition()));
3321
3300
  if (this.bumpSpace(), this.isEOF())
3322
- return this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE, w(n, this.clonePosition()));
3301
+ return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, x(n, this.clonePosition()));
3323
3302
  switch (this.char()) {
3324
3303
  case 125:
3325
3304
  return this.bump(), {
3326
3305
  val: {
3327
- type: P.argument,
3306
+ type: F.argument,
3328
3307
  // value does not include the opening and closing braces.
3329
3308
  value: i,
3330
- location: w(n, this.clonePosition())
3309
+ location: x(n, this.clonePosition())
3331
3310
  },
3332
3311
  err: null
3333
3312
  };
3334
3313
  case 44:
3335
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE, w(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3314
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, x(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3336
3315
  default:
3337
- return this.error(x.MALFORMED_ARGUMENT, w(n, this.clonePosition()));
3316
+ return this.error(y.MALFORMED_ARGUMENT, x(n, this.clonePosition()));
3338
3317
  }
3339
3318
  }, e.prototype.parseIdentifierIfPossible = function() {
3340
- var t = this.clonePosition(), r = this.offset(), n = bt(this.message, r), i = r + n.length;
3319
+ var t = this.clonePosition(), r = this.offset(), n = pt(this.message, r), i = r + n.length;
3341
3320
  this.bumpTo(i);
3342
- var o = this.clonePosition(), s = w(t, o);
3321
+ var o = this.clonePosition(), s = x(t, o);
3343
3322
  return { value: n, location: s };
3344
3323
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3345
3324
  var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, u = this.clonePosition();
3346
3325
  switch (a) {
3347
3326
  case "":
3348
- return this.error(x.EXPECT_ARGUMENT_TYPE, w(s, u));
3327
+ return this.error(y.EXPECT_ARGUMENT_TYPE, x(s, u));
3349
3328
  case "number":
3350
3329
  case "date":
3351
3330
  case "time": {
@@ -3356,46 +3335,46 @@ var Si = (
3356
3335
  var h = this.clonePosition(), p = this.parseSimpleArgStyleIfPossible();
3357
3336
  if (p.err)
3358
3337
  return p;
3359
- var f = wi(p.val);
3338
+ var f = Ei(p.val);
3360
3339
  if (f.length === 0)
3361
- return this.error(x.EXPECT_ARGUMENT_STYLE, w(this.clonePosition(), this.clonePosition()));
3362
- var v = w(h, this.clonePosition());
3363
- l = { style: f, styleLocation: v };
3340
+ return this.error(y.EXPECT_ARGUMENT_STYLE, x(this.clonePosition(), this.clonePosition()));
3341
+ var g = x(h, this.clonePosition());
3342
+ l = { style: f, styleLocation: g };
3364
3343
  }
3365
- var E = this.tryParseArgumentClose(i);
3366
- if (E.err)
3367
- return E;
3368
- var g = w(i, this.clonePosition());
3369
- if (l && Wt(l == null ? void 0 : l.style, "::", 0)) {
3370
- var T = Ei(l.style.slice(2));
3344
+ var _ = this.tryParseArgumentClose(i);
3345
+ if (_.err)
3346
+ return _;
3347
+ var b = x(i, this.clonePosition());
3348
+ if (l && Xt(l == null ? void 0 : l.style, "::", 0)) {
3349
+ var T = xi(l.style.slice(2));
3371
3350
  if (a === "number") {
3372
3351
  var p = this.parseNumberSkeletonFromString(T, l.styleLocation);
3373
3352
  return p.err ? p : {
3374
- val: { type: P.number, value: n, location: g, style: p.val },
3353
+ val: { type: F.number, value: n, location: b, style: p.val },
3375
3354
  err: null
3376
3355
  };
3377
3356
  } else {
3378
3357
  if (T.length === 0)
3379
- return this.error(x.EXPECT_DATE_TIME_SKELETON, g);
3358
+ return this.error(y.EXPECT_DATE_TIME_SKELETON, b);
3380
3359
  var H = T;
3381
- this.locale && (H = ui(T, this.locale));
3360
+ this.locale && (H = li(T, this.locale));
3382
3361
  var f = {
3383
- type: de.dateTime,
3362
+ type: me.dateTime,
3384
3363
  pattern: H,
3385
3364
  location: l.styleLocation,
3386
- parsedOptions: this.shouldParseSkeletons ? ri(H) : {}
3387
- }, S = a === "date" ? P.date : P.time;
3365
+ parsedOptions: this.shouldParseSkeletons ? ti(H) : {}
3366
+ }, S = a === "date" ? F.date : F.time;
3388
3367
  return {
3389
- val: { type: S, value: n, location: g, style: f },
3368
+ val: { type: S, value: n, location: b, style: f },
3390
3369
  err: null
3391
3370
  };
3392
3371
  }
3393
3372
  }
3394
3373
  return {
3395
3374
  val: {
3396
- type: a === "number" ? P.number : a === "date" ? P.date : P.time,
3375
+ type: a === "number" ? F.number : a === "date" ? F.date : F.time,
3397
3376
  value: n,
3398
- location: g,
3377
+ location: b,
3399
3378
  style: (o = l == null ? void 0 : l.style) !== null && o !== void 0 ? o : null
3400
3379
  },
3401
3380
  err: null
@@ -3404,52 +3383,52 @@ var Si = (
3404
3383
  case "plural":
3405
3384
  case "selectordinal":
3406
3385
  case "select": {
3407
- var b = this.clonePosition();
3386
+ var m = this.clonePosition();
3408
3387
  if (this.bumpSpace(), !this.bumpIf(","))
3409
- return this.error(x.EXPECT_SELECT_ARGUMENT_OPTIONS, w(b, $e({}, b)));
3388
+ return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, x(m, E({}, m)));
3410
3389
  this.bumpSpace();
3411
- var C = this.parseIdentifierIfPossible(), I = 0;
3390
+ var C = this.parseIdentifierIfPossible(), L = 0;
3412
3391
  if (a !== "select" && C.value === "offset") {
3413
3392
  if (!this.bumpIf(":"))
3414
- return this.error(x.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, w(this.clonePosition(), this.clonePosition()));
3393
+ return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, x(this.clonePosition(), this.clonePosition()));
3415
3394
  this.bumpSpace();
3416
- var p = this.tryParseDecimalInteger(x.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, x.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3395
+ var p = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3417
3396
  if (p.err)
3418
3397
  return p;
3419
- this.bumpSpace(), C = this.parseIdentifierIfPossible(), I = p.val;
3398
+ this.bumpSpace(), C = this.parseIdentifierIfPossible(), L = p.val;
3420
3399
  }
3421
- var M = this.tryParsePluralOrSelectOptions(t, a, r, C);
3422
- if (M.err)
3423
- return M;
3424
- var E = this.tryParseArgumentClose(i);
3425
- if (E.err)
3426
- return E;
3427
- var X = w(i, this.clonePosition());
3400
+ var R = this.tryParsePluralOrSelectOptions(t, a, r, C);
3401
+ if (R.err)
3402
+ return R;
3403
+ var _ = this.tryParseArgumentClose(i);
3404
+ if (_.err)
3405
+ return _;
3406
+ var V = x(i, this.clonePosition());
3428
3407
  return a === "select" ? {
3429
3408
  val: {
3430
- type: P.select,
3409
+ type: F.select,
3431
3410
  value: n,
3432
- options: zt(M.val),
3433
- location: X
3411
+ options: Wt(R.val),
3412
+ location: V
3434
3413
  },
3435
3414
  err: null
3436
3415
  } : {
3437
3416
  val: {
3438
- type: P.plural,
3417
+ type: F.plural,
3439
3418
  value: n,
3440
- options: zt(M.val),
3441
- offset: I,
3419
+ options: Wt(R.val),
3420
+ offset: L,
3442
3421
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3443
- location: X
3422
+ location: V
3444
3423
  },
3445
3424
  err: null
3446
3425
  };
3447
3426
  }
3448
3427
  default:
3449
- return this.error(x.INVALID_ARGUMENT_TYPE, w(s, u));
3428
+ return this.error(y.INVALID_ARGUMENT_TYPE, x(s, u));
3450
3429
  }
3451
3430
  }, e.prototype.tryParseArgumentClose = function(t) {
3452
- return this.isEOF() || this.char() !== 125 ? this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE, w(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3431
+ return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, x(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3453
3432
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3454
3433
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3455
3434
  var n = this.char();
@@ -3458,7 +3437,7 @@ var Si = (
3458
3437
  this.bump();
3459
3438
  var i = this.clonePosition();
3460
3439
  if (!this.bumpUntil("'"))
3461
- return this.error(x.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, w(i, this.clonePosition()));
3440
+ return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, x(i, this.clonePosition()));
3462
3441
  this.bump();
3463
3442
  break;
3464
3443
  }
@@ -3488,16 +3467,16 @@ var Si = (
3488
3467
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3489
3468
  var n = [];
3490
3469
  try {
3491
- n = ii(t);
3470
+ n = ni(t);
3492
3471
  } catch (i) {
3493
- return this.error(x.INVALID_NUMBER_SKELETON, r);
3472
+ return this.error(y.INVALID_NUMBER_SKELETON, r);
3494
3473
  }
3495
3474
  return {
3496
3475
  val: {
3497
- type: de.number,
3476
+ type: me.number,
3498
3477
  tokens: n,
3499
3478
  location: r,
3500
- parsedOptions: this.shouldParseSkeletons ? li(n) : {}
3479
+ parsedOptions: this.shouldParseSkeletons ? ai(n) : {}
3501
3480
  },
3502
3481
  err: null
3503
3482
  };
@@ -3506,34 +3485,34 @@ var Si = (
3506
3485
  if (l.length === 0) {
3507
3486
  var p = this.clonePosition();
3508
3487
  if (r !== "select" && this.bumpIf("=")) {
3509
- var f = this.tryParseDecimalInteger(x.EXPECT_PLURAL_ARGUMENT_SELECTOR, x.INVALID_PLURAL_ARGUMENT_SELECTOR);
3488
+ var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
3510
3489
  if (f.err)
3511
3490
  return f;
3512
- h = w(p, this.clonePosition()), l = this.message.slice(p.offset, this.offset());
3491
+ h = x(p, this.clonePosition()), l = this.message.slice(p.offset, this.offset());
3513
3492
  } else
3514
3493
  break;
3515
3494
  }
3516
3495
  if (u.has(l))
3517
- return this.error(r === "select" ? x.DUPLICATE_SELECT_ARGUMENT_SELECTOR : x.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3496
+ return this.error(r === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3518
3497
  l === "other" && (s = !0), this.bumpSpace();
3519
- var v = this.clonePosition();
3498
+ var g = this.clonePosition();
3520
3499
  if (!this.bumpIf("{"))
3521
- return this.error(r === "select" ? x.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : x.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, w(this.clonePosition(), this.clonePosition()));
3522
- var E = this.parseMessage(t + 1, r, n);
3523
- if (E.err)
3524
- return E;
3525
- var g = this.tryParseArgumentClose(v);
3526
- if (g.err)
3527
- return g;
3500
+ return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, x(this.clonePosition(), this.clonePosition()));
3501
+ var _ = this.parseMessage(t + 1, r, n);
3502
+ if (_.err)
3503
+ return _;
3504
+ var b = this.tryParseArgumentClose(g);
3505
+ if (b.err)
3506
+ return b;
3528
3507
  a.push([
3529
3508
  l,
3530
3509
  {
3531
- value: E.val,
3532
- location: w(v, this.clonePosition())
3510
+ value: _.val,
3511
+ location: x(g, this.clonePosition())
3533
3512
  }
3534
3513
  ]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, h = o.location;
3535
3514
  }
3536
- return a.length === 0 ? this.error(r === "select" ? x.EXPECT_SELECT_ARGUMENT_SELECTOR : x.EXPECT_PLURAL_ARGUMENT_SELECTOR, w(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(x.MISSING_OTHER_CLAUSE, w(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3515
+ return a.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, x(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(y.MISSING_OTHER_CLAUSE, x(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3537
3516
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3538
3517
  var n = 1, i = this.clonePosition();
3539
3518
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3544,8 +3523,8 @@ var Si = (
3544
3523
  else
3545
3524
  break;
3546
3525
  }
3547
- var u = w(i, this.clonePosition());
3548
- return o ? (s *= n, _i(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3526
+ var u = x(i, this.clonePosition());
3527
+ return o ? (s *= n, yi(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3549
3528
  }, e.prototype.offset = function() {
3550
3529
  return this.position.offset;
3551
3530
  }, e.prototype.isEOF = function() {
@@ -3560,7 +3539,7 @@ var Si = (
3560
3539
  var t = this.position.offset;
3561
3540
  if (t >= this.message.length)
3562
3541
  throw Error("out of bound");
3563
- var r = Pr(this.message, t);
3542
+ var r = Br(this.message, t);
3564
3543
  if (r === void 0)
3565
3544
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3566
3545
  return r;
@@ -3579,7 +3558,7 @@ var Si = (
3579
3558
  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);
3580
3559
  }
3581
3560
  }, e.prototype.bumpIf = function(t) {
3582
- if (Wt(this.message, t, this.offset())) {
3561
+ if (Xt(this.message, t, this.offset())) {
3583
3562
  for (var r = 0; r < t.length; r++)
3584
3563
  this.bump();
3585
3564
  return !0;
@@ -3601,7 +3580,7 @@ var Si = (
3601
3580
  break;
3602
3581
  }
3603
3582
  }, e.prototype.bumpSpace = function() {
3604
- for (; !this.isEOF() && Fr(this.char()); )
3583
+ for (; !this.isEOF() && Pr(this.char()); )
3605
3584
  this.bump();
3606
3585
  }, e.prototype.peek = function() {
3607
3586
  if (this.isEOF())
@@ -3611,47 +3590,47 @@ var Si = (
3611
3590
  }, e;
3612
3591
  }()
3613
3592
  );
3614
- function gt(e) {
3593
+ function dt(e) {
3615
3594
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3616
3595
  }
3617
- function Ti(e) {
3618
- return gt(e) || e === 47;
3596
+ function Si(e) {
3597
+ return dt(e) || e === 47;
3619
3598
  }
3620
- function Hi(e) {
3599
+ function Ti(e) {
3621
3600
  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;
3622
3601
  }
3623
- function Fr(e) {
3602
+ function Pr(e) {
3624
3603
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3625
3604
  }
3626
- function Ai(e) {
3605
+ function Hi(e) {
3627
3606
  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;
3628
3607
  }
3629
- function vt(e) {
3608
+ function mt(e) {
3630
3609
  e.forEach(function(t) {
3631
3610
  if (delete t.location, _r(t) || xr(t))
3632
3611
  for (var r in t.options)
3633
- delete t.options[r].location, vt(t.options[r].value);
3612
+ delete t.options[r].location, mt(t.options[r].value);
3634
3613
  else
3635
- gr(t) && wr(t.style) || (vr(t) || yr(t)) && pt(t.style) ? delete t.style.location : Er(t) && vt(t.children);
3614
+ gr(t) && wr(t.style) || (vr(t) || yr(t)) && ht(t.style) ? delete t.style.location : Er(t) && mt(t.children);
3636
3615
  });
3637
3616
  }
3638
- function Pi(e, t) {
3639
- t === void 0 && (t = {}), t = $e({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3640
- var r = new Si(e, t).parse();
3617
+ function Ai(e, t) {
3618
+ t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3619
+ var r = new wi(e, t).parse();
3641
3620
  if (r.err) {
3642
- var n = SyntaxError(x[r.err.kind]);
3621
+ var n = SyntaxError(y[r.err.kind]);
3643
3622
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3644
3623
  }
3645
- return t != null && t.captureLocation || vt(r.val), r.val;
3624
+ return t != null && t.captureLocation || mt(r.val), r.val;
3646
3625
  }
3647
- var me;
3626
+ var be;
3648
3627
  (function(e) {
3649
3628
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3650
- })(me || (me = {}));
3651
- var Xe = (
3629
+ })(be || (be = {}));
3630
+ var je = (
3652
3631
  /** @class */
3653
3632
  function(e) {
3654
- Ve(t, e);
3633
+ Z(t, e);
3655
3634
  function t(r, n, i) {
3656
3635
  var o = e.call(this, r) || this;
3657
3636
  return o.code = n, o.originalMessage = i, o;
@@ -3660,66 +3639,66 @@ var Xe = (
3660
3639
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3661
3640
  }, t;
3662
3641
  }(Error)
3663
- ), Jt = (
3642
+ ), Zt = (
3664
3643
  /** @class */
3665
3644
  function(e) {
3666
- Ve(t, e);
3645
+ Z(t, e);
3667
3646
  function t(r, n, i, o) {
3668
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), me.INVALID_VALUE, o) || this;
3647
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), be.INVALID_VALUE, o) || this;
3669
3648
  }
3670
3649
  return t;
3671
- }(Xe)
3650
+ }(je)
3672
3651
  ), Bi = (
3673
3652
  /** @class */
3674
3653
  function(e) {
3675
- Ve(t, e);
3654
+ Z(t, e);
3676
3655
  function t(r, n, i) {
3677
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), me.INVALID_VALUE, i) || this;
3656
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), be.INVALID_VALUE, i) || this;
3678
3657
  }
3679
3658
  return t;
3680
- }(Xe)
3659
+ }(je)
3681
3660
  ), Fi = (
3682
3661
  /** @class */
3683
3662
  function(e) {
3684
- Ve(t, e);
3663
+ Z(t, e);
3685
3664
  function t(r, n) {
3686
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), me.MISSING_VALUE, n) || this;
3665
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), be.MISSING_VALUE, n) || this;
3687
3666
  }
3688
3667
  return t;
3689
- }(Xe)
3690
- ), L;
3668
+ }(je)
3669
+ ), N;
3691
3670
  (function(e) {
3692
3671
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3693
- })(L || (L = {}));
3694
- function Ci(e) {
3672
+ })(N || (N = {}));
3673
+ function Pi(e) {
3695
3674
  return e.length < 2 ? e : e.reduce(function(t, r) {
3696
3675
  var n = t[t.length - 1];
3697
- return !n || n.type !== L.literal || r.type !== L.literal ? t.push(r) : n.value += r.value, t;
3676
+ return !n || n.type !== N.literal || r.type !== N.literal ? t.push(r) : n.value += r.value, t;
3698
3677
  }, []);
3699
3678
  }
3700
- function Oi(e) {
3679
+ function Ci(e) {
3701
3680
  return typeof e == "function";
3702
3681
  }
3703
3682
  function Me(e, t, r, n, i, o, s) {
3704
- if (e.length === 1 && kt(e[0]))
3683
+ if (e.length === 1 && Gt(e[0]))
3705
3684
  return [
3706
3685
  {
3707
- type: L.literal,
3686
+ type: N.literal,
3708
3687
  value: e[0].value
3709
3688
  }
3710
3689
  ];
3711
3690
  for (var a = [], u = 0, l = e; u < l.length; u++) {
3712
3691
  var h = l[u];
3713
- if (kt(h)) {
3692
+ if (Gt(h)) {
3714
3693
  a.push({
3715
- type: L.literal,
3694
+ type: N.literal,
3716
3695
  value: h.value
3717
3696
  });
3718
3697
  continue;
3719
3698
  }
3720
- if (ei(h)) {
3699
+ if (Kn(h)) {
3721
3700
  typeof o == "number" && a.push({
3722
- type: L.literal,
3701
+ type: N.literal,
3723
3702
  value: r.getNumberFormat(t).format(o)
3724
3703
  });
3725
3704
  continue;
@@ -3728,87 +3707,87 @@ function Me(e, t, r, n, i, o, s) {
3728
3707
  if (!(i && p in i))
3729
3708
  throw new Fi(p, s);
3730
3709
  var f = i[p];
3731
- if (Kn(h)) {
3710
+ if (Yn(h)) {
3732
3711
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3733
- type: typeof f == "string" ? L.literal : L.object,
3712
+ type: typeof f == "string" ? N.literal : N.object,
3734
3713
  value: f
3735
3714
  });
3736
3715
  continue;
3737
3716
  }
3738
3717
  if (vr(h)) {
3739
- var v = typeof h.style == "string" ? n.date[h.style] : pt(h.style) ? h.style.parsedOptions : void 0;
3718
+ var g = typeof h.style == "string" ? n.date[h.style] : ht(h.style) ? h.style.parsedOptions : void 0;
3740
3719
  a.push({
3741
- type: L.literal,
3742
- value: r.getDateTimeFormat(t, v).format(f)
3720
+ type: N.literal,
3721
+ value: r.getDateTimeFormat(t, g).format(f)
3743
3722
  });
3744
3723
  continue;
3745
3724
  }
3746
3725
  if (yr(h)) {
3747
- var v = typeof h.style == "string" ? n.time[h.style] : pt(h.style) ? h.style.parsedOptions : n.time.medium;
3726
+ var g = typeof h.style == "string" ? n.time[h.style] : ht(h.style) ? h.style.parsedOptions : n.time.medium;
3748
3727
  a.push({
3749
- type: L.literal,
3750
- value: r.getDateTimeFormat(t, v).format(f)
3728
+ type: N.literal,
3729
+ value: r.getDateTimeFormat(t, g).format(f)
3751
3730
  });
3752
3731
  continue;
3753
3732
  }
3754
3733
  if (gr(h)) {
3755
- var v = typeof h.style == "string" ? n.number[h.style] : wr(h.style) ? h.style.parsedOptions : void 0;
3756
- v && v.scale && (f = f * (v.scale || 1)), a.push({
3757
- type: L.literal,
3758
- value: r.getNumberFormat(t, v).format(f)
3734
+ var g = typeof h.style == "string" ? n.number[h.style] : wr(h.style) ? h.style.parsedOptions : void 0;
3735
+ g && g.scale && (f = f * (g.scale || 1)), a.push({
3736
+ type: N.literal,
3737
+ value: r.getNumberFormat(t, g).format(f)
3759
3738
  });
3760
3739
  continue;
3761
3740
  }
3762
3741
  if (Er(h)) {
3763
- var E = h.children, g = h.value, T = i[g];
3764
- if (!Oi(T))
3765
- throw new Bi(g, "function", s);
3766
- var H = Me(E, t, r, n, i, o), S = T(H.map(function(I) {
3767
- return I.value;
3742
+ var _ = h.children, b = h.value, T = i[b];
3743
+ if (!Ci(T))
3744
+ throw new Bi(b, "function", s);
3745
+ var H = Me(_, t, r, n, i, o), S = T(H.map(function(L) {
3746
+ return L.value;
3768
3747
  }));
3769
- Array.isArray(S) || (S = [S]), a.push.apply(a, S.map(function(I) {
3748
+ Array.isArray(S) || (S = [S]), a.push.apply(a, S.map(function(L) {
3770
3749
  return {
3771
- type: typeof I == "string" ? L.literal : L.object,
3772
- value: I
3750
+ type: typeof L == "string" ? N.literal : N.object,
3751
+ value: L
3773
3752
  };
3774
3753
  }));
3775
3754
  }
3776
3755
  if (_r(h)) {
3777
- var b = h.options[f] || h.options.other;
3778
- if (!b)
3779
- throw new Jt(h.value, f, Object.keys(h.options), s);
3780
- a.push.apply(a, Me(b.value, t, r, n, i));
3756
+ var m = h.options[f] || h.options.other;
3757
+ if (!m)
3758
+ throw new Zt(h.value, f, Object.keys(h.options), s);
3759
+ a.push.apply(a, Me(m.value, t, r, n, i));
3781
3760
  continue;
3782
3761
  }
3783
3762
  if (xr(h)) {
3784
- var b = h.options["=".concat(f)];
3785
- if (!b) {
3763
+ var m = h.options["=".concat(f)];
3764
+ if (!m) {
3786
3765
  if (!Intl.PluralRules)
3787
- throw new Xe(`Intl.PluralRules is not available in this environment.
3766
+ throw new je(`Intl.PluralRules is not available in this environment.
3788
3767
  Try polyfilling it using "@formatjs/intl-pluralrules"
3789
- `, me.MISSING_INTL_API, s);
3768
+ `, be.MISSING_INTL_API, s);
3790
3769
  var C = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3791
- b = h.options[C] || h.options.other;
3770
+ m = h.options[C] || h.options.other;
3792
3771
  }
3793
- if (!b)
3794
- throw new Jt(h.value, f, Object.keys(h.options), s);
3795
- a.push.apply(a, Me(b.value, t, r, n, i, f - (h.offset || 0)));
3772
+ if (!m)
3773
+ throw new Zt(h.value, f, Object.keys(h.options), s);
3774
+ a.push.apply(a, Me(m.value, t, r, n, i, f - (h.offset || 0)));
3796
3775
  continue;
3797
3776
  }
3798
3777
  }
3799
- return Ci(a);
3778
+ return Pi(a);
3800
3779
  }
3801
3780
  function Ii(e, t) {
3802
- return t ? k(k(k({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3803
- return r[n] = k(k({}, e[n]), t[n] || {}), r;
3781
+ return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3782
+ return r[n] = E(E({}, e[n]), t[n] || {}), r;
3804
3783
  }, {})) : e;
3805
3784
  }
3806
- function Li(e, t) {
3785
+ function Oi(e, t) {
3807
3786
  return t ? Object.keys(e).reduce(function(r, n) {
3808
3787
  return r[n] = Ii(e[n], t[n]), r;
3809
- }, k({}, e)) : e;
3788
+ }, E({}, e)) : e;
3810
3789
  }
3811
- function tt(e) {
3790
+ function et(e) {
3812
3791
  return {
3813
3792
  create: function() {
3814
3793
  return {
@@ -3822,39 +3801,39 @@ function tt(e) {
3822
3801
  }
3823
3802
  };
3824
3803
  }
3825
- function Ni(e) {
3804
+ function Li(e) {
3826
3805
  return e === void 0 && (e = {
3827
3806
  number: {},
3828
3807
  dateTime: {},
3829
3808
  pluralRules: {}
3830
3809
  }), {
3831
- getNumberFormat: Ye(function() {
3810
+ getNumberFormat: qe(function() {
3832
3811
  for (var t, r = [], n = 0; n < arguments.length; n++)
3833
3812
  r[n] = arguments[n];
3834
- return new ((t = Intl.NumberFormat).bind.apply(t, qe([void 0], r, !1)))();
3813
+ return new ((t = Intl.NumberFormat).bind.apply(t, pe([void 0], r, !1)))();
3835
3814
  }, {
3836
- cache: tt(e.number),
3837
- strategy: Ke.variadic
3815
+ cache: et(e.number),
3816
+ strategy: Ye.variadic
3838
3817
  }),
3839
- getDateTimeFormat: Ye(function() {
3818
+ getDateTimeFormat: qe(function() {
3840
3819
  for (var t, r = [], n = 0; n < arguments.length; n++)
3841
3820
  r[n] = arguments[n];
3842
- return new ((t = Intl.DateTimeFormat).bind.apply(t, qe([void 0], r, !1)))();
3821
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, pe([void 0], r, !1)))();
3843
3822
  }, {
3844
- cache: tt(e.dateTime),
3845
- strategy: Ke.variadic
3823
+ cache: et(e.dateTime),
3824
+ strategy: Ye.variadic
3846
3825
  }),
3847
- getPluralRules: Ye(function() {
3826
+ getPluralRules: qe(function() {
3848
3827
  for (var t, r = [], n = 0; n < arguments.length; n++)
3849
3828
  r[n] = arguments[n];
3850
- return new ((t = Intl.PluralRules).bind.apply(t, qe([void 0], r, !1)))();
3829
+ return new ((t = Intl.PluralRules).bind.apply(t, pe([void 0], r, !1)))();
3851
3830
  }, {
3852
- cache: tt(e.pluralRules),
3853
- strategy: Ke.variadic
3831
+ cache: et(e.pluralRules),
3832
+ strategy: Ye.variadic
3854
3833
  })
3855
3834
  };
3856
3835
  }
3857
- var Mi = (
3836
+ var Ni = (
3858
3837
  /** @class */
3859
3838
  function() {
3860
3839
  function e(t, r, n, i) {
@@ -3869,7 +3848,7 @@ var Mi = (
3869
3848
  if (l.length === 1)
3870
3849
  return l[0].value;
3871
3850
  var h = l.reduce(function(p, f) {
3872
- return !p.length || f.type !== L.literal || typeof p[p.length - 1] != "string" ? p.push(f.value) : p[p.length - 1] += f.value, p;
3851
+ return !p.length || f.type !== N.literal || typeof p[p.length - 1] != "string" ? p.push(f.value) : p[p.length - 1] += f.value, p;
3873
3852
  }, []);
3874
3853
  return h.length <= 1 ? h[0] || "" : h;
3875
3854
  }, this.formatToParts = function(u) {
@@ -3886,13 +3865,13 @@ var Mi = (
3886
3865
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3887
3866
  var s = i || {};
3888
3867
  s.formatters;
3889
- var a = Xn(s, ["formatters"]);
3890
- this.ast = e.__parse(t, k(k({}, a), { locale: this.resolvedLocale }));
3868
+ var a = dn(s, ["formatters"]);
3869
+ this.ast = e.__parse(t, E(E({}, a), { locale: this.resolvedLocale }));
3891
3870
  } else
3892
3871
  this.ast = t;
3893
3872
  if (!Array.isArray(this.ast))
3894
3873
  throw new TypeError("A message must be provided as a String or AST.");
3895
- this.formats = Li(e.formats, n), this.formatters = i && i.formatters || Ni(this.formatterCache);
3874
+ this.formats = Oi(e.formats, n), this.formatters = i && i.formatters || Li(this.formatterCache);
3896
3875
  }
3897
3876
  return Object.defineProperty(e, "defaultLocale", {
3898
3877
  get: function() {
@@ -3905,7 +3884,7 @@ var Mi = (
3905
3884
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3906
3885
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3907
3886
  }
3908
- }, e.__parse = Pi, e.formats = {
3887
+ }, e.__parse = Ai, e.formats = {
3909
3888
  number: {
3910
3889
  integer: {
3911
3890
  maximumFractionDigits: 0
@@ -3966,7 +3945,7 @@ var Mi = (
3966
3945
  }, e;
3967
3946
  }()
3968
3947
  );
3969
- function Ri(e, t) {
3948
+ function Mi(e, t) {
3970
3949
  if (t == null)
3971
3950
  return;
3972
3951
  if (t in e)
@@ -3987,92 +3966,92 @@ function Ri(e, t) {
3987
3966
  n = void 0;
3988
3967
  return n;
3989
3968
  }
3990
- const Q = {}, Ui = (e, t, r) => r && (t in Q || (Q[t] = {}), e in Q[t] || (Q[t][e] = r), r), Cr = (e, t) => {
3969
+ const q = {}, Ri = (e, t, r) => r && (t in q || (q[t] = {}), e in q[t] || (q[t][e] = r), r), Cr = (e, t) => {
3991
3970
  if (t == null)
3992
3971
  return;
3993
- if (t in Q && e in Q[t])
3994
- return Q[t][e];
3995
- const r = We(t);
3972
+ if (t in q && e in q[t])
3973
+ return q[t][e];
3974
+ const r = Ve(t);
3996
3975
  for (let n = 0; n < r.length; n++) {
3997
3976
  const i = r[n], o = Di(i, e);
3998
3977
  if (o)
3999
- return Ui(e, t, o);
3978
+ return Ri(e, t, o);
4000
3979
  }
4001
3980
  };
4002
- let Et;
4003
- const ve = je({});
4004
- function $i(e) {
4005
- return Et[e] || null;
3981
+ let xt;
3982
+ const ye = ke({});
3983
+ function Ui(e) {
3984
+ return xt[e] || null;
4006
3985
  }
4007
- function Or(e) {
4008
- return e in Et;
3986
+ function Ir(e) {
3987
+ return e in xt;
4009
3988
  }
4010
3989
  function Di(e, t) {
4011
- if (!Or(e))
3990
+ if (!Ir(e))
4012
3991
  return null;
4013
- const r = $i(e);
4014
- return Ri(r, t);
3992
+ const r = Ui(e);
3993
+ return Mi(r, t);
4015
3994
  }
4016
- function Gi(e) {
3995
+ function $i(e) {
4017
3996
  if (e == null)
4018
3997
  return;
4019
- const t = We(e);
3998
+ const t = Ve(e);
4020
3999
  for (let r = 0; r < t.length; r++) {
4021
4000
  const n = t[r];
4022
- if (Or(n))
4001
+ if (Ir(n))
4023
4002
  return n;
4024
4003
  }
4025
4004
  }
4026
- function Ir(e, ...t) {
4027
- delete Q[e], ve.update((r) => (r[e] = Vn.all([r[e] || {}, ...t]), r));
4005
+ function Or(e, ...t) {
4006
+ delete q[e], ye.update((r) => (r[e] = Xn.all([r[e] || {}, ...t]), r));
4028
4007
  }
4029
- ge(
4030
- [ve],
4008
+ ve(
4009
+ [ye],
4031
4010
  ([e]) => Object.keys(e)
4032
4011
  );
4033
- ve.subscribe((e) => Et = e);
4012
+ ye.subscribe((e) => xt = e);
4034
4013
  const Re = {};
4035
- function ki(e, t) {
4014
+ function Gi(e, t) {
4036
4015
  Re[e].delete(t), Re[e].size === 0 && delete Re[e];
4037
4016
  }
4038
4017
  function Lr(e) {
4039
4018
  return Re[e];
4040
4019
  }
4041
- function ji(e) {
4042
- return We(e).map((t) => {
4020
+ function ki(e) {
4021
+ return Ve(e).map((t) => {
4043
4022
  const r = Lr(t);
4044
4023
  return [t, r ? [...r] : []];
4045
4024
  }).filter(([, t]) => t.length > 0);
4046
4025
  }
4047
- function yt(e) {
4048
- return e == null ? !1 : We(e).some(
4026
+ function bt(e) {
4027
+ return e == null ? !1 : Ve(e).some(
4049
4028
  (t) => {
4050
4029
  var r;
4051
4030
  return (r = Lr(t)) == null ? void 0 : r.size;
4052
4031
  }
4053
4032
  );
4054
4033
  }
4055
- function Vi(e, t) {
4034
+ function ji(e, t) {
4056
4035
  return Promise.all(
4057
- t.map((n) => (ki(e, n), n().then((i) => i.default || i)))
4058
- ).then((n) => Ir(e, ...n));
4036
+ t.map((n) => (Gi(e, n), n().then((i) => i.default || i)))
4037
+ ).then((n) => Or(e, ...n));
4059
4038
  }
4060
- const _e = {};
4039
+ const we = {};
4061
4040
  function Nr(e) {
4062
- if (!yt(e))
4063
- return e in _e ? _e[e] : Promise.resolve();
4064
- const t = ji(e);
4065
- return _e[e] = Promise.all(
4041
+ if (!bt(e))
4042
+ return e in we ? we[e] : Promise.resolve();
4043
+ const t = ki(e);
4044
+ return we[e] = Promise.all(
4066
4045
  t.map(
4067
- ([r, n]) => Vi(r, n)
4046
+ ([r, n]) => ji(r, n)
4068
4047
  )
4069
4048
  ).then(() => {
4070
- if (yt(e))
4049
+ if (bt(e))
4071
4050
  return Nr(e);
4072
- delete _e[e];
4073
- }), _e[e];
4051
+ delete we[e];
4052
+ }), we[e];
4074
4053
  }
4075
- const Xi = {
4054
+ const Vi = {
4076
4055
  number: {
4077
4056
  scientific: { notation: "scientific" },
4078
4057
  engineering: { notation: "engineering" },
@@ -4101,141 +4080,141 @@ const Xi = {
4101
4080
  timeZoneName: "short"
4102
4081
  }
4103
4082
  }
4104
- }, Wi = {
4083
+ }, Xi = {
4105
4084
  fallbackLocale: null,
4106
4085
  loadingDelay: 200,
4107
- formats: Xi,
4086
+ formats: Vi,
4108
4087
  warnOnMissingMessages: !0,
4109
4088
  handleMissingMessage: void 0,
4110
4089
  ignoreTag: !0
4111
- }, zi = Wi;
4112
- function be() {
4113
- return zi;
4090
+ }, Wi = Xi;
4091
+ function ge() {
4092
+ return Wi;
4114
4093
  }
4115
- const rt = je(!1);
4116
- var Zi = Object.defineProperty, Ji = Object.defineProperties, Qi = Object.getOwnPropertyDescriptors, Qt = Object.getOwnPropertySymbols, qi = Object.prototype.hasOwnProperty, Yi = Object.prototype.propertyIsEnumerable, qt = (e, t, r) => t in e ? Zi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ki = (e, t) => {
4094
+ const tt = ke(!1);
4095
+ var zi = Object.defineProperty, Zi = Object.defineProperties, Ji = Object.getOwnPropertyDescriptors, Jt = Object.getOwnPropertySymbols, Qi = Object.prototype.hasOwnProperty, qi = Object.prototype.propertyIsEnumerable, Qt = (e, t, r) => t in e ? zi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Yi = (e, t) => {
4117
4096
  for (var r in t || (t = {}))
4118
- qi.call(t, r) && qt(e, r, t[r]);
4119
- if (Qt)
4120
- for (var r of Qt(t))
4121
- Yi.call(t, r) && qt(e, r, t[r]);
4097
+ Qi.call(t, r) && Qt(e, r, t[r]);
4098
+ if (Jt)
4099
+ for (var r of Jt(t))
4100
+ qi.call(t, r) && Qt(e, r, t[r]);
4122
4101
  return e;
4123
- }, eo = (e, t) => Ji(e, Qi(t));
4124
- let _t;
4125
- const De = je(null);
4126
- function Yt(e) {
4102
+ }, Ki = (e, t) => Zi(e, Ji(t));
4103
+ let gt;
4104
+ const De = ke(null);
4105
+ function qt(e) {
4127
4106
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4128
4107
  }
4129
- function We(e, t = be().fallbackLocale) {
4130
- const r = Yt(e);
4131
- return t ? [.../* @__PURE__ */ new Set([...r, ...Yt(t)])] : r;
4108
+ function Ve(e, t = ge().fallbackLocale) {
4109
+ const r = qt(e);
4110
+ return t ? [.../* @__PURE__ */ new Set([...r, ...qt(t)])] : r;
4132
4111
  }
4133
- function ne() {
4134
- return _t != null ? _t : void 0;
4112
+ function ie() {
4113
+ return gt != null ? gt : void 0;
4135
4114
  }
4136
4115
  De.subscribe((e) => {
4137
- _t = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4116
+ gt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4138
4117
  });
4139
- const to = (e) => {
4140
- if (e && Gi(e) && yt(e)) {
4141
- const { loadingDelay: t } = be();
4118
+ const eo = (e) => {
4119
+ if (e && $i(e) && bt(e)) {
4120
+ const { loadingDelay: t } = ge();
4142
4121
  let r;
4143
- return typeof window != "undefined" && ne() != null && t ? r = window.setTimeout(
4144
- () => rt.set(!0),
4122
+ return typeof window != "undefined" && ie() != null && t ? r = window.setTimeout(
4123
+ () => tt.set(!0),
4145
4124
  t
4146
- ) : rt.set(!0), Nr(e).then(() => {
4125
+ ) : tt.set(!0), Nr(e).then(() => {
4147
4126
  De.set(e);
4148
4127
  }).finally(() => {
4149
- clearTimeout(r), rt.set(!1);
4128
+ clearTimeout(r), tt.set(!1);
4150
4129
  });
4151
4130
  }
4152
4131
  return De.set(e);
4153
- }, te = eo(Ki({}, De), {
4154
- set: to
4155
- }), ze = (e) => {
4132
+ }, re = Ki(Yi({}, De), {
4133
+ set: eo
4134
+ }), Xe = (e) => {
4156
4135
  const t = /* @__PURE__ */ Object.create(null);
4157
4136
  return (n) => {
4158
4137
  const i = JSON.stringify(n);
4159
4138
  return i in t ? t[i] : t[i] = e(n);
4160
4139
  };
4161
4140
  };
4162
- var ro = Object.defineProperty, Ge = Object.getOwnPropertySymbols, Mr = Object.prototype.hasOwnProperty, Rr = Object.prototype.propertyIsEnumerable, Kt = (e, t, r) => t in e ? ro(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, wt = (e, t) => {
4141
+ var to = Object.defineProperty, $e = Object.getOwnPropertySymbols, Mr = Object.prototype.hasOwnProperty, Rr = Object.prototype.propertyIsEnumerable, Yt = (e, t, r) => t in e ? to(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Et = (e, t) => {
4163
4142
  for (var r in t || (t = {}))
4164
- Mr.call(t, r) && Kt(e, r, t[r]);
4165
- if (Ge)
4166
- for (var r of Ge(t))
4167
- Rr.call(t, r) && Kt(e, r, t[r]);
4143
+ Mr.call(t, r) && Yt(e, r, t[r]);
4144
+ if ($e)
4145
+ for (var r of $e(t))
4146
+ Rr.call(t, r) && Yt(e, r, t[r]);
4168
4147
  return e;
4169
- }, ye = (e, t) => {
4148
+ }, _e = (e, t) => {
4170
4149
  var r = {};
4171
4150
  for (var n in e)
4172
4151
  Mr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4173
- if (e != null && Ge)
4174
- for (var n of Ge(e))
4152
+ if (e != null && $e)
4153
+ for (var n of $e(e))
4175
4154
  t.indexOf(n) < 0 && Rr.call(e, n) && (r[n] = e[n]);
4176
4155
  return r;
4177
4156
  };
4178
- const Se = (e, t) => {
4179
- const { formats: r } = be();
4157
+ const Ae = (e, t) => {
4158
+ const { formats: r } = ge();
4180
4159
  if (e in r && t in r[e])
4181
4160
  return r[e][t];
4182
4161
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4183
- }, no = ze(
4162
+ }, ro = Xe(
4184
4163
  (e) => {
4185
- var t = e, { locale: r, format: n } = t, i = ye(t, ["locale", "format"]);
4164
+ var t = e, { locale: r, format: n } = t, i = _e(t, ["locale", "format"]);
4186
4165
  if (r == null)
4187
4166
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4188
- return n && (i = Se("number", n)), new Intl.NumberFormat(r, i);
4167
+ return n && (i = Ae("number", n)), new Intl.NumberFormat(r, i);
4189
4168
  }
4190
- ), io = ze(
4169
+ ), no = Xe(
4191
4170
  (e) => {
4192
- var t = e, { locale: r, format: n } = t, i = ye(t, ["locale", "format"]);
4171
+ var t = e, { locale: r, format: n } = t, i = _e(t, ["locale", "format"]);
4193
4172
  if (r == null)
4194
4173
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4195
- return n ? i = Se("date", n) : Object.keys(i).length === 0 && (i = Se("date", "short")), new Intl.DateTimeFormat(r, i);
4174
+ return n ? i = Ae("date", n) : Object.keys(i).length === 0 && (i = Ae("date", "short")), new Intl.DateTimeFormat(r, i);
4196
4175
  }
4197
- ), oo = ze(
4176
+ ), io = Xe(
4198
4177
  (e) => {
4199
- var t = e, { locale: r, format: n } = t, i = ye(t, ["locale", "format"]);
4178
+ var t = e, { locale: r, format: n } = t, i = _e(t, ["locale", "format"]);
4200
4179
  if (r == null)
4201
4180
  throw new Error(
4202
4181
  '[svelte-i18n] A "locale" must be set to format time values'
4203
4182
  );
4204
- return n ? i = Se("time", n) : Object.keys(i).length === 0 && (i = Se("time", "short")), new Intl.DateTimeFormat(r, i);
4183
+ return n ? i = Ae("time", n) : Object.keys(i).length === 0 && (i = Ae("time", "short")), new Intl.DateTimeFormat(r, i);
4205
4184
  }
4206
- ), so = (e = {}) => {
4185
+ ), oo = (e = {}) => {
4207
4186
  var t = e, {
4208
- locale: r = ne()
4209
- } = t, n = ye(t, [
4187
+ locale: r = ie()
4188
+ } = t, n = _e(t, [
4210
4189
  "locale"
4211
4190
  ]);
4212
- return no(wt({ locale: r }, n));
4213
- }, ao = (e = {}) => {
4191
+ return ro(Et({ locale: r }, n));
4192
+ }, so = (e = {}) => {
4214
4193
  var t = e, {
4215
- locale: r = ne()
4216
- } = t, n = ye(t, [
4194
+ locale: r = ie()
4195
+ } = t, n = _e(t, [
4217
4196
  "locale"
4218
4197
  ]);
4219
- return io(wt({ locale: r }, n));
4220
- }, lo = (e = {}) => {
4198
+ return no(Et({ locale: r }, n));
4199
+ }, ao = (e = {}) => {
4221
4200
  var t = e, {
4222
- locale: r = ne()
4223
- } = t, n = ye(t, [
4201
+ locale: r = ie()
4202
+ } = t, n = _e(t, [
4224
4203
  "locale"
4225
4204
  ]);
4226
- return oo(wt({ locale: r }, n));
4227
- }, uo = ze(
4205
+ return io(Et({ locale: r }, n));
4206
+ }, lo = Xe(
4228
4207
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4229
- (e, t = ne()) => new Mi(e, t, be().formats, {
4230
- ignoreTag: be().ignoreTag
4208
+ (e, t = ie()) => new Ni(e, t, ge().formats, {
4209
+ ignoreTag: ge().ignoreTag
4231
4210
  })
4232
- ), ho = (e, t = {}) => {
4211
+ ), uo = (e, t = {}) => {
4233
4212
  var r, n, i, o;
4234
4213
  let s = t;
4235
4214
  typeof e == "object" && (s = e, e = s.id);
4236
4215
  const {
4237
4216
  values: a,
4238
- locale: u = ne(),
4217
+ locale: u = ie(),
4239
4218
  default: l
4240
4219
  } = s;
4241
4220
  if (u == null)
@@ -4244,7 +4223,7 @@ const Se = (e, t) => {
4244
4223
  );
4245
4224
  let h = Cr(e, u);
4246
4225
  if (!h)
4247
- h = (o = (i = (n = (r = be()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4226
+ h = (o = (i = (n = (r = ge()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4248
4227
  else if (typeof h != "string")
4249
4228
  return console.warn(
4250
4229
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -4253,7 +4232,7 @@ const Se = (e, t) => {
4253
4232
  return h;
4254
4233
  let p = h;
4255
4234
  try {
4256
- p = uo(h, u).format(a);
4235
+ p = lo(h, u).format(a);
4257
4236
  } catch (f) {
4258
4237
  f instanceof Error && console.warn(
4259
4238
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4261,20 +4240,20 @@ const Se = (e, t) => {
4261
4240
  );
4262
4241
  }
4263
4242
  return p;
4264
- }, co = (e, t) => lo(t).format(e), fo = (e, t) => ao(t).format(e), po = (e, t) => so(t).format(e), mo = (e, t = ne()) => Cr(e, t), bo = ge([te, ve], () => ho);
4265
- ge([te], () => co);
4266
- ge([te], () => fo);
4267
- ge([te], () => po);
4268
- ge([te, ve], () => mo);
4269
- window.emWidgets = { topic: An };
4270
- const go = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4271
- function vo(e, t) {
4243
+ }, ho = (e, t) => ao(t).format(e), co = (e, t) => so(t).format(e), fo = (e, t) => oo(t).format(e), po = (e, t = ie()) => Cr(e, t), mo = ve([re, ye], () => uo);
4244
+ ve([re], () => ho);
4245
+ ve([re], () => co);
4246
+ ve([re], () => fo);
4247
+ ve([re, ye], () => po);
4248
+ window.emWidgets = { topic: Bn };
4249
+ const bo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4250
+ function go(e, t) {
4272
4251
  if (e) {
4273
4252
  const r = document.createElement("style");
4274
4253
  r.innerHTML = t, e.appendChild(r);
4275
4254
  }
4276
4255
  }
4277
- function yo(e, t) {
4256
+ function vo(e, t) {
4278
4257
  const r = new URL(t);
4279
4258
  fetch(r.href).then((n) => n.text()).then((n) => {
4280
4259
  const i = document.createElement("style");
@@ -4283,7 +4262,7 @@ function yo(e, t) {
4283
4262
  console.error("There was an error while trying to load client styling from URL", n);
4284
4263
  });
4285
4264
  }
4286
- function _o(e, t, r) {
4265
+ function yo(e, t, r) {
4287
4266
  if (window.emMessageBus) {
4288
4267
  const n = document.createElement("style");
4289
4268
  window.emMessageBus.subscribe(t, (i) => {
@@ -4291,15 +4270,15 @@ function _o(e, t, r) {
4291
4270
  });
4292
4271
  }
4293
4272
  }
4294
- function xo({ withLocale: e, translations: t }) {
4295
- te.subscribe((r) => {
4296
- r == null && (ve.set(t), te.set(e));
4273
+ function _o({ withLocale: e, translations: t }) {
4274
+ re.subscribe((r) => {
4275
+ r == null && (ye.set(t), re.set(e));
4297
4276
  });
4298
4277
  }
4299
- function er(e, t) {
4300
- Ir(e, t);
4278
+ function Kt(e, t) {
4279
+ Or(e, t);
4301
4280
  }
4302
- const tr = {
4281
+ const er = {
4303
4282
  en: {
4304
4283
  providers: "Providers:",
4305
4284
  filterby: "Filter by:",
@@ -4409,56 +4388,56 @@ const tr = {
4409
4388
  clear: "Clear all"
4410
4389
  }
4411
4390
  };
4412
- function Eo(e) {
4391
+ function xo(e) {
4413
4392
  Wr(e, "svelte-14m0j7n", ':root{--min-height:50px}.SearchLoading{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.FilterContainer{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));position:relative;z-index:17}.FilterSelector{background-color:var(--emw--color-gray-300, #58586B);display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;max-width:fit-content;cursor:pointer}.FilterSelector.FilterSelectorOpen{border-radius:5px 5px 0 0}.FilterMainArea{display:flex;align-items:center}.FilterMainArea svg{margin-right:16px}.FilterName{font-size:11px;line-height:12px;color:var(--emw--color-gray-100, #E6E6E6);text-transform:uppercase}.FilterTextContainer{display:flex;flex-direction:column}.FilterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.FilterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:48px;margin-bottom:40px;overflow:hidden;margin:0}.FilterDropdownContainer.FilterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:20px}.FilterDropdown{width:100%;max-height:300px;display:flex;flex-direction:column;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none}.FilterDropdown::-webkit-scrollbar{display:none}.FilterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;padding:0 15px;-webkit-user-select:none;-ms-user-select:none;user-select:none}.FilterItem input{cursor:pointer;margin-right:10px}.FilterItem:hover input~.FiltersCheckmark{background-color:transparent;border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))}.FilterItem input:checked~.FiltersCheckmark{background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))}.FilterItem .FiltersCheckmark{transition:all 0.05s ease-in;margin-right:15px}.FilterItem .FiltersCheckmark:after{content:"";position:absolute;left:9px;display:none}.FilterItem input:checked~.FiltersCheckmark:after{display:block}.FilterItem .FiltersCheckmark:after{left:8px;top:4px;width:5px;height:10px;border:1px solid var(--emw--color-white, #FFFFFF);border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0}.FilterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.FilterLabel .FiltersCheckmark{border-radius:8px;position:relative;height:22px;width:22px;min-width:22px;background-color:transparent;border:1px solid var(--emw--color-white, #FFFFFF)}.FilterLabel .FilterItemLabel{width:100%;display:flex;justify-content:space-between;overflow:hidden}.FilterLabel .FilterItemLabel span.VendorName{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.FilterItemWithLogos label{height:70px;display:flex;justify-content:space-evenly;align-items:center}.FilterItemWithLogos label img{width:70px}.FilterLabel input:checked+span{font-weight:600}.FilterCounter{display:inline-flex;margin-left:10px;min-width:17px}.ClearFilters{margin:20px auto;border:0;color:#fff;background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));font-size:18px;padding:10px 50px;border-radius:5px;cursor:pointer;transition:all 0.1s ease-in;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ClearFilters:disabled{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);pointer-events:none;cursor:not-allowed}@media only screen and (max-width: 768px){.FilterSelector{max-width:initial}.FilterDropdownContainer{width:100%;margin-bottom:20px}.FilterDropdown{margin-block-start:0;gap:14px}.FilterItemWithLogos label{justify-content:center}.FilerContainerSplit .FilterSelector{padding:7px}.FilerContainerSplit .FilterSelector .FilterCounter{margin-left:0}.FilerContainerSplit .FilterMainArea svg{margin:0 10px}.FilerContainerSplit .FilterDropdown{padding:0 5px;box-sizing:border-box}.FilerContainerSplit .FilterDropdownContainer{top:42px}.FilerContainerSplit .ClearFilters{padding:8px 20px;font-size:15px}.FilterLabel .FiltersCheckmark{margin-right:15px}.FilterItem.FilterItemWithLogos{display:flex;align-items:center;justify-content:center}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0 20px 0 0}.FilerContainerSplit .FilterItem label{padding:0;width:calc(100% - 10px);font-size:12px}.FilterItem label>*{pointer-events:none}}@media(max-width: 480px){.FilerContainerSplit .FilterSelector{min-height:var(--min-height)}.FilerContainerSplit .FilterDropdownContainer{top:var(--min-height)}.FilterName,.FilterValueContainer{overflow:hidden;max-width:100%;font-size:12px;text-overflow:ellipsis;width:fit-content}.FilterLabel .FiltersCheckmark{margin-right:5px}.FilterItem label{padding:0;font-size:11px;overflow:hidden;text-overflow:ellipsis;width:unset}.FilterItemLabel span:first-child{display:inline-block;overflow:hidden;text-overflow:ellipsis;max-width:60%}}');
4414
4393
  }
4415
- function rr(e, t, r) {
4394
+ function tr(e, t, r) {
4416
4395
  const n = e.slice();
4417
4396
  return n[37] = t[r], n[38] = t, n[39] = r, n;
4418
4397
  }
4419
- function wo(e) {
4398
+ function Eo(e) {
4420
4399
  let t, r, n, i, o, s, a, u, l = (
4421
4400
  /*$_*/
4422
4401
  e[11]("filterby") + ""
4423
- ), h, p, f, v, E = (
4402
+ ), h, p, f, g, _ = (
4424
4403
  /*$_*/
4425
4404
  e[11]("providers") + ""
4426
- ), g, T, H, S, b, C, I, M, X, O, Z, He, D, q = (
4405
+ ), b, T, H, S, m, C, L, R, V, I, J, xe, X, Y = (
4427
4406
  /*$_*/
4428
4407
  e[11]("clear") + ""
4429
- ), ie, Y, oe, K, se, Ae;
4430
- function Pe(d, B) {
4408
+ ), oe, K, ee, se, ae, Ee;
4409
+ function Be(c, w) {
4431
4410
  return (
4432
4411
  /*fullSelection*/
4433
- d[7] ? Ho : To
4412
+ c[7] ? To : So
4434
4413
  );
4435
4414
  }
4436
- let ae = Pe(e), R = ae(e), J = It(
4415
+ let le = Be(e), U = le(e), Q = It(
4437
4416
  /*vendorArray*/
4438
4417
  e[5]
4439
- ), c = [];
4440
- for (let d = 0; d < J.length; d += 1)
4441
- c[d] = nr(rr(e, J, d));
4418
+ ), O = [];
4419
+ for (let c = 0; c < Q.length; c += 1)
4420
+ O[c] = rr(tr(e, Q, c));
4442
4421
  return {
4443
4422
  c() {
4444
- t = A("div"), r = A("div"), n = A("div"), i = Ce("svg"), o = Ce("path"), s = G(), a = A("div"), u = A("span"), h = j(l), p = G(), f = A("div"), v = A("span"), g = j(E), T = G(), R.c(), H = G(), S = A("span"), b = Ce("svg"), C = Ce("path"), X = G(), O = A("div"), Z = A("ul");
4445
- for (let d = 0; d < c.length; d += 1)
4446
- c[d].c();
4447
- He = G(), D = A("button"), ie = j(q), m(o, "id", "noun_filter_736223"), m(o, "d", "M12.2,22.2a1.018,1.018,0,0,1-.391-.091.939.939,0,0,1-.533-.857v-6.2L5.267,8.9A.95.95,0,0,1,5,8.225V7.149A.93.93,0,0,1,5.924,6.2H20.076A.93.93,0,0,1,21,7.149V8.225a.95.95,0,0,1-.267.675l-6.009,6.148V19.81a.981.981,0,0,1-.32.712l-1.6,1.423A.9.9,0,0,1,12.2,22.2ZM6,8.189,12,14.355a.95.95,0,0,1,.267.675v6.039l1.44-1.277v-4.78a.95.95,0,0,1,.267-.675L19.987,8.17V7.2H6Z"), m(o, "transform", "translate(-5 -6.2)"), m(o, "fill", "#fff"), m(i, "xmlns", "http://www.w3.org/2000/svg"), m(i, "width", "16"), m(i, "height", "16"), m(i, "viewBox", "0 0 16 16"), m(u, "class", "FilterName"), m(f, "class", "FilterValueContainer"), m(a, "class", "FilterTextContainer"), m(n, "class", "FilterMainArea"), m(C, "id", "arrow"), m(C, "d", "M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"), m(C, "transform", "translate(-274.511 -441.088)"), m(C, "fill", "#d1d1d1"), m(b, "xmlns", "http://www.w3.org/2000/svg"), m(b, "width", "14"), m(b, "height", "6.835"), m(b, "viewBox", "0 0 14 6.835"), m(S, "class", I = "TriangleInactive " + /*isFilterActive*/
4448
- (e[4] ? "TriangleActive" : "")), m(r, "class", M = "FilterSelector " + /*isFilterActive*/
4449
- (e[4] ? "FilterSelectorOpen" : "")), m(Z, "class", "FilterDropdown"), m(D, "class", "ClearFilters"), D.disabled = Y = /*fullSelection*/
4423
+ t = B("div"), r = B("div"), n = B("div"), i = Ce("svg"), o = Ce("path"), s = G(), a = B("div"), u = B("span"), h = k(l), p = G(), f = B("div"), g = B("span"), b = k(_), T = G(), U.c(), H = G(), S = B("span"), m = Ce("svg"), C = Ce("path"), V = G(), I = B("div"), J = B("ul");
4424
+ for (let c = 0; c < O.length; c += 1)
4425
+ O[c].c();
4426
+ xe = G(), X = B("button"), oe = k(Y), d(o, "id", "noun_filter_736223"), d(o, "d", "M12.2,22.2a1.018,1.018,0,0,1-.391-.091.939.939,0,0,1-.533-.857v-6.2L5.267,8.9A.95.95,0,0,1,5,8.225V7.149A.93.93,0,0,1,5.924,6.2H20.076A.93.93,0,0,1,21,7.149V8.225a.95.95,0,0,1-.267.675l-6.009,6.148V19.81a.981.981,0,0,1-.32.712l-1.6,1.423A.9.9,0,0,1,12.2,22.2ZM6,8.189,12,14.355a.95.95,0,0,1,.267.675v6.039l1.44-1.277v-4.78a.95.95,0,0,1,.267-.675L19.987,8.17V7.2H6Z"), d(o, "transform", "translate(-5 -6.2)"), d(o, "fill", "#fff"), d(i, "xmlns", "http://www.w3.org/2000/svg"), d(i, "width", "16"), d(i, "height", "16"), d(i, "viewBox", "0 0 16 16"), d(u, "class", "FilterName"), d(f, "class", "FilterValueContainer"), d(a, "class", "FilterTextContainer"), d(n, "class", "FilterMainArea"), d(C, "id", "arrow"), d(C, "d", "M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"), d(C, "transform", "translate(-274.511 -441.088)"), d(C, "fill", "#d1d1d1"), d(m, "xmlns", "http://www.w3.org/2000/svg"), d(m, "width", "14"), d(m, "height", "6.835"), d(m, "viewBox", "0 0 14 6.835"), d(S, "class", L = "TriangleInactive " + /*isFilterActive*/
4427
+ (e[4] ? "TriangleActive" : "")), d(r, "class", R = "FilterSelector " + /*isFilterActive*/
4428
+ (e[4] ? "FilterSelectorOpen" : "")), d(J, "class", "FilterDropdown"), d(X, "class", "ClearFilters"), X.disabled = K = /*fullSelection*/
4450
4429
  e[7] && /*selectedVendorArray*/
4451
4430
  e[6].length != /*vendorArray*/
4452
- e[5].length, m(O, "class", oe = "FilterDropdownContainer " + /*isFilterActive*/
4453
- (e[4] ? "FilterOpen" : "")), m(t, "class", K = "FilterContainer " + /*addfilterselector*/
4431
+ e[5].length, d(I, "class", ee = "FilterDropdownContainer " + /*isFilterActive*/
4432
+ (e[4] ? "FilterOpen" : "")), d(t, "class", se = "FilterContainer " + /*addfilterselector*/
4454
4433
  (e[0] == "true" && /*addsortingselector*/
4455
4434
  e[1] == "true" ? "FilerContainerSplit" : ""));
4456
4435
  },
4457
- m(d, B) {
4458
- z(d, t, B), y(t, r), y(r, n), y(n, i), y(i, o), y(n, s), y(n, a), y(a, u), y(u, h), y(a, p), y(a, f), y(f, v), y(v, g), y(f, T), R.m(f, null), y(r, H), y(r, S), y(S, b), y(b, C), y(t, X), y(t, O), y(O, Z);
4459
- for (let _ = 0; _ < c.length; _ += 1)
4460
- c[_] && c[_].m(Z, null);
4461
- y(O, He), y(O, D), y(D, ie), se || (Ae = [
4436
+ m(c, w) {
4437
+ z(c, t, w), v(t, r), v(r, n), v(n, i), v(i, o), v(n, s), v(n, a), v(a, u), v(u, h), v(a, p), v(a, f), v(f, g), v(g, b), v(f, T), U.m(f, null), v(r, H), v(r, S), v(S, m), v(m, C), v(t, V), v(t, I), v(I, J);
4438
+ for (let A = 0; A < O.length; A += 1)
4439
+ O[A] && O[A].m(J, null);
4440
+ v(I, xe), v(I, X), v(X, oe), ae || (Ee = [
4462
4441
  Ue(
4463
4442
  r,
4464
4443
  "click",
@@ -4466,63 +4445,63 @@ function wo(e) {
4466
4445
  e[24]
4467
4446
  ),
4468
4447
  Ue(
4469
- D,
4448
+ X,
4470
4449
  "click",
4471
4450
  /*click_handler_2*/
4472
4451
  e[27]
4473
4452
  )
4474
- ], se = !0);
4453
+ ], ae = !0);
4475
4454
  },
4476
- p(d, B) {
4477
- if (B[0] & /*$_*/
4455
+ p(c, w) {
4456
+ if (w[0] & /*$_*/
4478
4457
  2048 && l !== (l = /*$_*/
4479
- d[11]("filterby") + "") && ee(h, l), B[0] & /*$_*/
4480
- 2048 && E !== (E = /*$_*/
4481
- d[11]("providers") + "") && ee(g, E), ae === (ae = Pe(d)) && R ? R.p(d, B) : (R.d(1), R = ae(d), R && (R.c(), R.m(f, null))), B[0] & /*isFilterActive*/
4482
- 16 && I !== (I = "TriangleInactive " + /*isFilterActive*/
4483
- (d[4] ? "TriangleActive" : "")) && m(S, "class", I), B[0] & /*isFilterActive*/
4484
- 16 && M !== (M = "FilterSelector " + /*isFilterActive*/
4485
- (d[4] ? "FilterSelectorOpen" : "")) && m(r, "class", M), B[0] & /*filterbylogo, vendorArray, filterByVendors*/
4458
+ c[11]("filterby") + "") && te(h, l), w[0] & /*$_*/
4459
+ 2048 && _ !== (_ = /*$_*/
4460
+ c[11]("providers") + "") && te(b, _), le === (le = Be(c)) && U ? U.p(c, w) : (U.d(1), U = le(c), U && (U.c(), U.m(f, null))), w[0] & /*isFilterActive*/
4461
+ 16 && L !== (L = "TriangleInactive " + /*isFilterActive*/
4462
+ (c[4] ? "TriangleActive" : "")) && d(S, "class", L), w[0] & /*isFilterActive*/
4463
+ 16 && R !== (R = "FilterSelector " + /*isFilterActive*/
4464
+ (c[4] ? "FilterSelectorOpen" : "")) && d(r, "class", R), w[0] & /*filterbylogo, vendorArray, filterByVendors*/
4486
4465
  8228) {
4487
- J = It(
4466
+ Q = It(
4488
4467
  /*vendorArray*/
4489
- d[5]
4468
+ c[5]
4490
4469
  );
4491
- let _;
4492
- for (_ = 0; _ < J.length; _ += 1) {
4493
- const le = rr(d, J, _);
4494
- c[_] ? c[_].p(le, B) : (c[_] = nr(le), c[_].c(), c[_].m(Z, null));
4470
+ let A;
4471
+ for (A = 0; A < Q.length; A += 1) {
4472
+ const P = tr(c, Q, A);
4473
+ O[A] ? O[A].p(P, w) : (O[A] = rr(P), O[A].c(), O[A].m(J, null));
4495
4474
  }
4496
- for (; _ < c.length; _ += 1)
4497
- c[_].d(1);
4498
- c.length = J.length;
4475
+ for (; A < O.length; A += 1)
4476
+ O[A].d(1);
4477
+ O.length = Q.length;
4499
4478
  }
4500
- B[0] & /*$_*/
4501
- 2048 && q !== (q = /*$_*/
4502
- d[11]("clear") + "") && ee(ie, q), B[0] & /*fullSelection, selectedVendorArray, vendorArray*/
4503
- 224 && Y !== (Y = /*fullSelection*/
4504
- d[7] && /*selectedVendorArray*/
4505
- d[6].length != /*vendorArray*/
4506
- d[5].length) && (D.disabled = Y), B[0] & /*isFilterActive*/
4507
- 16 && oe !== (oe = "FilterDropdownContainer " + /*isFilterActive*/
4508
- (d[4] ? "FilterOpen" : "")) && m(O, "class", oe), B[0] & /*addfilterselector, addsortingselector*/
4509
- 3 && K !== (K = "FilterContainer " + /*addfilterselector*/
4510
- (d[0] == "true" && /*addsortingselector*/
4511
- d[1] == "true" ? "FilerContainerSplit" : "")) && m(t, "class", K);
4479
+ w[0] & /*$_*/
4480
+ 2048 && Y !== (Y = /*$_*/
4481
+ c[11]("clear") + "") && te(oe, Y), w[0] & /*fullSelection, selectedVendorArray, vendorArray*/
4482
+ 224 && K !== (K = /*fullSelection*/
4483
+ c[7] && /*selectedVendorArray*/
4484
+ c[6].length != /*vendorArray*/
4485
+ c[5].length) && (X.disabled = K), w[0] & /*isFilterActive*/
4486
+ 16 && ee !== (ee = "FilterDropdownContainer " + /*isFilterActive*/
4487
+ (c[4] ? "FilterOpen" : "")) && d(I, "class", ee), w[0] & /*addfilterselector, addsortingselector*/
4488
+ 3 && se !== (se = "FilterContainer " + /*addfilterselector*/
4489
+ (c[0] == "true" && /*addsortingselector*/
4490
+ c[1] == "true" ? "FilerContainerSplit" : "")) && d(t, "class", se);
4512
4491
  },
4513
- d(d) {
4514
- d && V(t), R.d(), Jr(c, d), se = !1, re(Ae);
4492
+ d(c) {
4493
+ c && j(t), U.d(), Jr(O, c), ae = !1, ne(Ee);
4515
4494
  }
4516
4495
  };
4517
4496
  }
4518
- function So(e) {
4497
+ function wo(e) {
4519
4498
  let t, r = (
4520
4499
  /*$_*/
4521
4500
  e[11]("500") + ""
4522
4501
  );
4523
4502
  return {
4524
4503
  c() {
4525
- t = A("p"), m(t, "class", "SearchLoading");
4504
+ t = B("p"), d(t, "class", "SearchLoading");
4526
4505
  },
4527
4506
  m(n, i) {
4528
4507
  z(n, t, i), t.innerHTML = r;
@@ -4533,63 +4512,63 @@ function So(e) {
4533
4512
  n[11]("500") + "") && (t.innerHTML = r);
4534
4513
  },
4535
4514
  d(n) {
4536
- n && V(t);
4515
+ n && j(t);
4537
4516
  }
4538
4517
  };
4539
4518
  }
4540
- function To(e) {
4519
+ function So(e) {
4541
4520
  let t, r;
4542
4521
  return {
4543
4522
  c() {
4544
- t = A("span"), r = j(
4523
+ t = B("span"), r = k(
4545
4524
  /*selectionNumber*/
4546
4525
  e[8]
4547
- ), m(t, "class", "FilterCounter");
4526
+ ), d(t, "class", "FilterCounter");
4548
4527
  },
4549
4528
  m(n, i) {
4550
- z(n, t, i), y(t, r);
4529
+ z(n, t, i), v(t, r);
4551
4530
  },
4552
4531
  p(n, i) {
4553
4532
  i[0] & /*selectionNumber*/
4554
- 256 && ee(
4533
+ 256 && te(
4555
4534
  r,
4556
4535
  /*selectionNumber*/
4557
4536
  n[8]
4558
4537
  );
4559
4538
  },
4560
4539
  d(n) {
4561
- n && V(t);
4540
+ n && j(t);
4562
4541
  }
4563
4542
  };
4564
4543
  }
4565
- function Ho(e) {
4544
+ function To(e) {
4566
4545
  let t, r = (
4567
4546
  /*$_*/
4568
4547
  e[11]("all") + ""
4569
4548
  ), n;
4570
4549
  return {
4571
4550
  c() {
4572
- t = A("span"), n = j(r), m(t, "class", "FilterCounter");
4551
+ t = B("span"), n = k(r), d(t, "class", "FilterCounter");
4573
4552
  },
4574
4553
  m(i, o) {
4575
- z(i, t, o), y(t, n);
4554
+ z(i, t, o), v(t, n);
4576
4555
  },
4577
4556
  p(i, o) {
4578
4557
  o[0] & /*$_*/
4579
4558
  2048 && r !== (r = /*$_*/
4580
- i[11]("all") + "") && ee(n, r);
4559
+ i[11]("all") + "") && te(n, r);
4581
4560
  },
4582
4561
  d(i) {
4583
- i && V(t);
4562
+ i && j(t);
4584
4563
  }
4585
4564
  };
4586
4565
  }
4587
- function Ao(e) {
4566
+ function Ho(e) {
4588
4567
  let t, r;
4589
4568
  return {
4590
4569
  c() {
4591
- t = A("img"), Ft(t.src, r = /*vendor*/
4592
- e[37].logo) || m(t, "src", r), m(t, "alt", "vendor logo");
4570
+ t = B("img"), Ft(t.src, r = /*vendor*/
4571
+ e[37].logo) || d(t, "src", r), d(t, "alt", "vendor logo");
4593
4572
  },
4594
4573
  m(n, i) {
4595
4574
  z(n, t, i);
@@ -4597,14 +4576,14 @@ function Ao(e) {
4597
4576
  p(n, i) {
4598
4577
  i[0] & /*vendorArray*/
4599
4578
  32 && !Ft(t.src, r = /*vendor*/
4600
- n[37].logo) && m(t, "src", r);
4579
+ n[37].logo) && d(t, "src", r);
4601
4580
  },
4602
4581
  d(n) {
4603
- n && V(t);
4582
+ n && j(t);
4604
4583
  }
4605
4584
  };
4606
4585
  }
4607
- function Po(e) {
4586
+ function Ao(e) {
4608
4587
  let t, r, n = (
4609
4588
  /*vendor*/
4610
4589
  e[37].name + ""
@@ -4614,26 +4593,26 @@ function Po(e) {
4614
4593
  ), l, h;
4615
4594
  return {
4616
4595
  c() {
4617
- t = A("div"), r = A("span"), i = j(n), o = G(), s = A("span"), a = j("("), l = j(u), h = j(")"), m(r, "class", "VendorName"), m(t, "class", "FilterItemLabel");
4596
+ t = B("div"), r = B("span"), i = k(n), o = G(), s = B("span"), a = k("("), l = k(u), h = k(")"), d(r, "class", "VendorName"), d(t, "class", "FilterItemLabel");
4618
4597
  },
4619
4598
  m(p, f) {
4620
- z(p, t, f), y(t, r), y(r, i), y(t, o), y(t, s), y(s, a), y(s, l), y(s, h);
4599
+ z(p, t, f), v(t, r), v(r, i), v(t, o), v(t, s), v(s, a), v(s, l), v(s, h);
4621
4600
  },
4622
4601
  p(p, f) {
4623
4602
  f[0] & /*vendorArray*/
4624
4603
  32 && n !== (n = /*vendor*/
4625
- p[37].name + "") && ee(i, n), f[0] & /*vendorArray*/
4604
+ p[37].name + "") && te(i, n), f[0] & /*vendorArray*/
4626
4605
  32 && u !== (u = /*vendor*/
4627
- p[37].games.total + "") && ee(l, u);
4606
+ p[37].games.total + "") && te(l, u);
4628
4607
  },
4629
4608
  d(p) {
4630
- p && V(t);
4609
+ p && j(t);
4631
4610
  }
4632
4611
  };
4633
4612
  }
4634
- function nr(e) {
4613
+ function rr(e) {
4635
4614
  let t, r, n, i, o, s, a, u, l, h, p, f;
4636
- function v() {
4615
+ function g() {
4637
4616
  e[25].call(
4638
4617
  n,
4639
4618
  /*each_value*/
@@ -4642,7 +4621,7 @@ function nr(e) {
4642
4621
  e[39]
4643
4622
  );
4644
4623
  }
4645
- function E() {
4624
+ function _() {
4646
4625
  return (
4647
4626
  /*click_handler_1*/
4648
4627
  e[26](
@@ -4651,46 +4630,46 @@ function nr(e) {
4651
4630
  )
4652
4631
  );
4653
4632
  }
4654
- function g(S, b) {
4633
+ function b(S, m) {
4655
4634
  if (
4656
4635
  /*filterbylogo*/
4657
4636
  S[2] === "false"
4658
4637
  )
4659
- return Po;
4638
+ return Ao;
4660
4639
  if (
4661
4640
  /*filterbylogo*/
4662
4641
  S[2] === "true"
4663
4642
  )
4664
- return Ao;
4643
+ return Ho;
4665
4644
  }
4666
- let T = g(e), H = T && T(e);
4645
+ let T = b(e), H = T && T(e);
4667
4646
  return {
4668
4647
  c() {
4669
- t = A("li"), r = A("label"), n = A("input"), o = G(), s = A("span"), a = G(), H && H.c(), u = G(), m(n, "type", "checkbox"), m(n, "name", "checkbox"), n.__value = i = /*vendor*/
4670
- e[37].name, Ct(n, n.__value), m(s, "class", "FiltersCheckmark"), m(r, "class", "FilterLabel"), m(t, "class", l = "FilterItem " + /*filterbylogo*/
4648
+ t = B("li"), r = B("label"), n = B("input"), o = G(), s = B("span"), a = G(), H && H.c(), u = G(), d(n, "type", "checkbox"), d(n, "name", "checkbox"), n.__value = i = /*vendor*/
4649
+ e[37].name, Pt(n, n.__value), d(s, "class", "FiltersCheckmark"), d(r, "class", "FilterLabel"), d(t, "class", l = "FilterItem " + /*filterbylogo*/
4671
4650
  (e[2] === "true" ? "FilterItemWithLogos" : "")), t.value = h = /*vendor*/
4672
4651
  e[37].name;
4673
4652
  },
4674
- m(S, b) {
4675
- z(S, t, b), y(t, r), y(r, n), n.checked = /*vendor*/
4676
- e[37].isFilterSelected, y(r, o), y(r, s), y(r, a), H && H.m(r, null), y(t, u), p || (f = [
4677
- Ue(n, "change", v),
4678
- Ue(n, "click", E)
4653
+ m(S, m) {
4654
+ z(S, t, m), v(t, r), v(r, n), n.checked = /*vendor*/
4655
+ e[37].isFilterSelected, v(r, o), v(r, s), v(r, a), H && H.m(r, null), v(t, u), p || (f = [
4656
+ Ue(n, "change", g),
4657
+ Ue(n, "click", _)
4679
4658
  ], p = !0);
4680
4659
  },
4681
- p(S, b) {
4682
- e = S, b[0] & /*vendorArray*/
4660
+ p(S, m) {
4661
+ e = S, m[0] & /*vendorArray*/
4683
4662
  32 && i !== (i = /*vendor*/
4684
- e[37].name) && (n.__value = i, Ct(n, n.__value)), b[0] & /*vendorArray*/
4663
+ e[37].name) && (n.__value = i, Pt(n, n.__value)), m[0] & /*vendorArray*/
4685
4664
  32 && (n.checked = /*vendor*/
4686
- e[37].isFilterSelected), T === (T = g(e)) && H ? H.p(e, b) : (H && H.d(1), H = T && T(e), H && (H.c(), H.m(r, null))), b[0] & /*filterbylogo*/
4665
+ e[37].isFilterSelected), T === (T = b(e)) && H ? H.p(e, m) : (H && H.d(1), H = T && T(e), H && (H.c(), H.m(r, null))), m[0] & /*filterbylogo*/
4687
4666
  4 && l !== (l = "FilterItem " + /*filterbylogo*/
4688
- (e[2] === "true" ? "FilterItemWithLogos" : "")) && m(t, "class", l), b[0] & /*vendorArray*/
4667
+ (e[2] === "true" ? "FilterItemWithLogos" : "")) && d(t, "class", l), m[0] & /*vendorArray*/
4689
4668
  32 && h !== (h = /*vendor*/
4690
4669
  e[37].name) && (t.value = h);
4691
4670
  },
4692
4671
  d(S) {
4693
- S && V(t), H && H.d(), p = !1, re(f);
4672
+ S && j(t), H && H.d(), p = !1, ne(f);
4694
4673
  }
4695
4674
  };
4696
4675
  }
@@ -4701,15 +4680,15 @@ function Bo(e) {
4701
4680
  /*hasErrors*/
4702
4681
  o[10]
4703
4682
  )
4704
- return So;
4683
+ return wo;
4705
4684
  if (!/*isLoading*/
4706
4685
  o[9])
4707
- return wo;
4686
+ return Eo;
4708
4687
  }
4709
4688
  let n = r(e), i = n && n(e);
4710
4689
  return {
4711
4690
  c() {
4712
- t = A("div"), i && i.c();
4691
+ t = B("div"), i && i.c();
4713
4692
  },
4714
4693
  m(o, s) {
4715
4694
  z(o, t, s), i && i.m(t, null), e[28](t);
@@ -4720,102 +4699,102 @@ function Bo(e) {
4720
4699
  i: $,
4721
4700
  o: $,
4722
4701
  d(o) {
4723
- o && V(t), i && i.d(), e[28](null);
4702
+ o && j(t), i && i.d(), e[28](null);
4724
4703
  }
4725
4704
  };
4726
4705
  }
4727
4706
  function Fo(e, t, r) {
4728
4707
  let n;
4729
- Xr(e, bo, (c) => r(11, n = c));
4730
- let { endpoint: i = "" } = t, { datasource: o = "" } = t, { lang: s = "" } = t, { translationurl: a = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { categoryid: h = "" } = t, { addfilterselector: p = "false" } = t, { addsortingselector: f = "false" } = t, { filterbylogo: v = "false" } = t, { mbsource: E } = t, { usesinglevendorfilter: g = "false" } = t, T = !1, H = window.navigator.userAgent, S = [], b = [], C = {}, I = !1, M = 0, X = !0, O, Z = !1;
4731
- xo({ withLocale: "en", translations: {} });
4732
- const He = () => {
4733
- fetch(a).then((d) => d.json()).then((d) => {
4734
- Object.keys(d).forEach((B) => {
4735
- er(B, d[B]);
4708
+ Xr(e, mo, (c) => r(11, n = c));
4709
+ let { endpoint: i = "" } = t, { datasource: o = "" } = t, { lang: s = "" } = t, { translationurl: a = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { categoryid: h = "" } = t, { addfilterselector: p = "false" } = t, { addsortingselector: f = "false" } = t, { filterbylogo: g = "false" } = t, { mbsource: _ } = t, { usesinglevendorfilter: b = "false" } = t, T = !1, H = window.navigator.userAgent, S = [], m = [], C = {}, L = !1, R = 0, V = !0, I, J = !1, xe;
4710
+ _o({ withLocale: "en", translations: {} });
4711
+ const X = () => {
4712
+ fetch(a).then((w) => w.json()).then((w) => {
4713
+ Object.keys(w).forEach((A) => {
4714
+ Kt(A, w[A]);
4736
4715
  });
4737
- }).catch((d) => {
4738
- console.log(d);
4716
+ }).catch((w) => {
4717
+ console.log(w);
4739
4718
  });
4740
4719
  };
4741
- Object.keys(tr).forEach((c) => {
4742
- er(c, tr[c]);
4720
+ Object.keys(er).forEach((c) => {
4721
+ Kt(c, er[c]);
4743
4722
  }), C[h] && (C = { [h]: [] });
4744
- const D = () => {
4723
+ const Y = () => {
4745
4724
  r(4, T = !T), window.postMessage({ type: "FilterOpened" }, window.location.href);
4746
- }, q = (c) => (r(9, X = !0), new Promise((d, B) => {
4747
- fetch(c).then((_) => _.json()).then((_) => {
4748
- _ = _.items, d(_.items), r(6, b = []);
4749
- let le = JSON.parse(localStorage.getItem("vendorFiltersByCategory"));
4750
- const Ur = g === "true" ? "*" : h;
4751
- _.forEach((Be) => {
4752
- var St;
4753
- le || (le = { currentCategoryId: [] }), ((St = le[Ur]) == null ? void 0 : St.indexOf(Be.id)) >= 0 ? (Be.isFilterSelected = !0, b.push(Be)) : Be.isFilterSelected = !1;
4754
- }), r(5, S = _), Y();
4755
- }).catch((_) => {
4756
- console.error(_), r(10, Z = !0), B(_);
4725
+ }, oe = (c) => (r(9, V = !0), new Promise((w, A) => {
4726
+ fetch(c).then((P) => P.json()).then((P) => {
4727
+ P = P.items, w(P.items), r(6, m = []);
4728
+ let We = JSON.parse(localStorage.getItem("vendorFiltersByCategory"));
4729
+ const Ur = b === "true" ? "*" : h;
4730
+ P.forEach((Fe) => {
4731
+ var wt;
4732
+ We || (We = { currentCategoryId: [] }), ((wt = We[Ur]) == null ? void 0 : wt.indexOf(Fe.id)) >= 0 ? (Fe.isFilterSelected = !0, m.push(Fe)) : Fe.isFilterSelected = !1;
4733
+ }), r(5, S = P), ee();
4734
+ }).catch((P) => {
4735
+ console.error(P), r(10, J = !0), A(P);
4757
4736
  }).finally(() => {
4758
- r(9, X = !1);
4737
+ r(9, V = !1);
4759
4738
  });
4760
- })), ie = (c) => {
4761
- let d = localStorage.getItem("vendorFiltersByCategory");
4762
- c.isFilterSelected = !c.isFilterSelected, !b.length || b.filter((_) => _.name === c.name).length == 0 ? b.push(c) : r(6, b = b.filter((_) => _.name !== c.name));
4763
- const B = g === "true" ? "*" : h;
4764
- d == null ? localStorage.setItem("vendorFiltersByCategory", JSON.stringify(C = {
4765
- [B]: b.map((_) => _.id)
4766
- })) : (d = JSON.parse(d), d[B] = b.map((_) => _.id), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(d))), window.postMessage({ type: "ApplyFilters", origin: "filters" }, window.location.href), Y();
4767
- }, Y = () => {
4768
- r(7, I = b.length === S.length || b.length == 0), r(8, M = b.length);
4769
- }, oe = () => {
4770
- if (S.length && g === "true")
4739
+ })), K = (c) => {
4740
+ let w = localStorage.getItem("vendorFiltersByCategory");
4741
+ c.isFilterSelected = !c.isFilterSelected, !m.length || m.filter((P) => P.name === c.name).length == 0 ? m.push(c) : r(6, m = m.filter((P) => P.name !== c.name));
4742
+ const A = b === "true" ? "*" : h;
4743
+ w == null ? localStorage.setItem("vendorFiltersByCategory", JSON.stringify(C = {
4744
+ [A]: m.map((P) => P.id)
4745
+ })) : (w = JSON.parse(w), w[A] = m.map((P) => P.id), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(w))), window.postMessage({ type: "ApplyFilters", origin: "filters" }, window.location.href), ee();
4746
+ }, ee = () => {
4747
+ r(7, L = m.length === S.length || m.length == 0), r(8, R = m.length);
4748
+ }, se = () => {
4749
+ if (S.length && b === "true")
4771
4750
  return;
4772
4751
  const c = new URL(`${i}/v1/casino/vendors`);
4773
- r(4, T = !1), c.searchParams.append("fields", "id,name,logo,subVendors,games"), c.searchParams.append("language", s), c.searchParams.append("datasource", o), c.searchParams.append("platform", go(H)), g === "true" || ((h.match(/\$/g) || []).length > 1 ? (c.searchParams.append("filter", `games(subGroups=${h})`), c.searchParams.append("subVendors", `games(subGroups=${h})`)) : c.searchParams.append("filter", `games(groups=${h})`)), q(c);
4774
- }, K = () => {
4775
- r(6, b = []), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(C = {
4776
- [g === "true" ? "*" : h]: b.map((c) => c.id)
4777
- })), S.forEach((c) => c.isFilterSelected = !1), r(5, S), window.postMessage({ type: "ApplyFilters" }, window.location.href), r(7, I = !0), r(4, T = !1);
4778
- }, se = (c) => {
4752
+ r(4, T = !1), c.searchParams.append("fields", "id,name,logo,subVendors,games"), c.searchParams.append("language", s), c.searchParams.append("datasource", o), c.searchParams.append("platform", bo(H)), b === "true" || ((h.match(/\$/g) || []).length > 1 ? (c.searchParams.append("filter", `games(subGroups=${h})`), c.searchParams.append("subVendors", `games(subGroups=${h})`)) : c.searchParams.append("filter", `games(groups=${h})`)), oe(c);
4753
+ }, ae = () => {
4754
+ r(6, m = []), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(C = {
4755
+ [b === "true" ? "*" : h]: m.map((c) => c.id)
4756
+ })), S.forEach((c) => c.isFilterSelected = !1), r(5, S), window.postMessage({ type: "ApplyFilters" }, window.location.href), r(7, L = !0), r(4, T = !1);
4757
+ }, Ee = (c) => {
4779
4758
  c.data.type == "SortingOpened" && r(4, T = !1);
4780
4759
  };
4781
- Kr(() => (window.addEventListener("message", se, !1), () => {
4782
- window.removeEventListener("message", se);
4760
+ Kr(() => (window.addEventListener("message", Ee, !1), () => {
4761
+ window.emMessageBus != null && xe && xe.unsubscribe(), window.removeEventListener("message", Ee);
4783
4762
  }));
4784
- const Ae = () => D();
4785
- function Pe(c, d) {
4786
- c[d].isFilterSelected = this.checked, r(5, S);
4763
+ const Be = () => Y();
4764
+ function le(c, w) {
4765
+ c[w].isFilterSelected = this.checked, r(5, S);
4787
4766
  }
4788
- const ae = (c) => ie(c), R = () => K();
4789
- function J(c) {
4790
- nt[c ? "unshift" : "push"](() => {
4791
- O = c, r(3, O);
4767
+ const U = (c) => K(c), Q = () => ae();
4768
+ function O(c) {
4769
+ rt[c ? "unshift" : "push"](() => {
4770
+ I = c, r(3, I);
4792
4771
  });
4793
4772
  }
4794
4773
  return e.$$set = (c) => {
4795
- "endpoint" in c && r(15, i = c.endpoint), "datasource" in c && r(16, o = c.datasource), "lang" in c && r(17, s = c.lang), "translationurl" in c && r(18, a = c.translationurl), "clientstyling" in c && r(19, u = c.clientstyling), "clientstylingurl" in c && r(20, l = c.clientstylingurl), "categoryid" in c && r(21, h = c.categoryid), "addfilterselector" in c && r(0, p = c.addfilterselector), "addsortingselector" in c && r(1, f = c.addsortingselector), "filterbylogo" in c && r(2, v = c.filterbylogo), "mbsource" in c && r(22, E = c.mbsource), "usesinglevendorfilter" in c && r(23, g = c.usesinglevendorfilter);
4774
+ "endpoint" in c && r(15, i = c.endpoint), "datasource" in c && r(16, o = c.datasource), "lang" in c && r(17, s = c.lang), "translationurl" in c && r(18, a = c.translationurl), "clientstyling" in c && r(19, u = c.clientstyling), "clientstylingurl" in c && r(20, l = c.clientstylingurl), "categoryid" in c && r(21, h = c.categoryid), "addfilterselector" in c && r(0, p = c.addfilterselector), "addsortingselector" in c && r(1, f = c.addsortingselector), "filterbylogo" in c && r(2, g = c.filterbylogo), "mbsource" in c && r(22, _ = c.mbsource), "usesinglevendorfilter" in c && r(23, b = c.usesinglevendorfilter);
4796
4775
  }, e.$$.update = () => {
4797
4776
  e.$$.dirty[0] & /*endpoint, datasource, categoryid, filterbylogo*/
4798
- 2195460 && i && o && h && v && oe(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4799
- 524296 && u && O && vo(O, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4800
- 1048584 && l && O && yo(O, l), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
4801
- 4194312 && O && _o(O, `${E}.Style`), e.$$.dirty[0] & /*translationurl*/
4802
- 262144 && a && He();
4777
+ 2195460 && i && o && h && g && se(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4778
+ 524296 && u && I && go(I, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4779
+ 1048584 && l && I && vo(I, l), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
4780
+ 4194312 && I && yo(I, `${_}.Style`), e.$$.dirty[0] & /*translationurl*/
4781
+ 262144 && a && X();
4803
4782
  }, [
4804
4783
  p,
4805
4784
  f,
4806
- v,
4807
- O,
4785
+ g,
4786
+ I,
4808
4787
  T,
4809
4788
  S,
4810
- b,
4811
- I,
4812
- M,
4813
- X,
4814
- Z,
4789
+ m,
4790
+ L,
4791
+ R,
4792
+ V,
4793
+ J,
4815
4794
  n,
4816
- D,
4817
- ie,
4795
+ Y,
4818
4796
  K,
4797
+ ae,
4819
4798
  i,
4820
4799
  o,
4821
4800
  s,
@@ -4823,23 +4802,23 @@ function Fo(e, t, r) {
4823
4802
  u,
4824
4803
  l,
4825
4804
  h,
4826
- E,
4827
- g,
4828
- Ae,
4829
- Pe,
4830
- ae,
4831
- R,
4832
- J
4805
+ _,
4806
+ b,
4807
+ Be,
4808
+ le,
4809
+ U,
4810
+ Q,
4811
+ O
4833
4812
  ];
4834
4813
  }
4835
- class Co extends fn {
4814
+ class Po extends fn {
4836
4815
  constructor(t) {
4837
4816
  super(), hn(
4838
4817
  this,
4839
4818
  t,
4840
4819
  Fo,
4841
4820
  Bo,
4842
- or,
4821
+ ir,
4843
4822
  {
4844
4823
  endpoint: 15,
4845
4824
  datasource: 16,
@@ -4854,7 +4833,7 @@ class Co extends fn {
4854
4833
  mbsource: 22,
4855
4834
  usesinglevendorfilter: 23
4856
4835
  },
4857
- Eo,
4836
+ xo,
4858
4837
  [-1, -1]
4859
4838
  );
4860
4839
  }
@@ -4862,76 +4841,76 @@ class Co extends fn {
4862
4841
  return this.$$.ctx[15];
4863
4842
  }
4864
4843
  set endpoint(t) {
4865
- this.$$set({ endpoint: t }), N();
4844
+ this.$$set({ endpoint: t }), M();
4866
4845
  }
4867
4846
  get datasource() {
4868
4847
  return this.$$.ctx[16];
4869
4848
  }
4870
4849
  set datasource(t) {
4871
- this.$$set({ datasource: t }), N();
4850
+ this.$$set({ datasource: t }), M();
4872
4851
  }
4873
4852
  get lang() {
4874
4853
  return this.$$.ctx[17];
4875
4854
  }
4876
4855
  set lang(t) {
4877
- this.$$set({ lang: t }), N();
4856
+ this.$$set({ lang: t }), M();
4878
4857
  }
4879
4858
  get translationurl() {
4880
4859
  return this.$$.ctx[18];
4881
4860
  }
4882
4861
  set translationurl(t) {
4883
- this.$$set({ translationurl: t }), N();
4862
+ this.$$set({ translationurl: t }), M();
4884
4863
  }
4885
4864
  get clientstyling() {
4886
4865
  return this.$$.ctx[19];
4887
4866
  }
4888
4867
  set clientstyling(t) {
4889
- this.$$set({ clientstyling: t }), N();
4868
+ this.$$set({ clientstyling: t }), M();
4890
4869
  }
4891
4870
  get clientstylingurl() {
4892
4871
  return this.$$.ctx[20];
4893
4872
  }
4894
4873
  set clientstylingurl(t) {
4895
- this.$$set({ clientstylingurl: t }), N();
4874
+ this.$$set({ clientstylingurl: t }), M();
4896
4875
  }
4897
4876
  get categoryid() {
4898
4877
  return this.$$.ctx[21];
4899
4878
  }
4900
4879
  set categoryid(t) {
4901
- this.$$set({ categoryid: t }), N();
4880
+ this.$$set({ categoryid: t }), M();
4902
4881
  }
4903
4882
  get addfilterselector() {
4904
4883
  return this.$$.ctx[0];
4905
4884
  }
4906
4885
  set addfilterselector(t) {
4907
- this.$$set({ addfilterselector: t }), N();
4886
+ this.$$set({ addfilterselector: t }), M();
4908
4887
  }
4909
4888
  get addsortingselector() {
4910
4889
  return this.$$.ctx[1];
4911
4890
  }
4912
4891
  set addsortingselector(t) {
4913
- this.$$set({ addsortingselector: t }), N();
4892
+ this.$$set({ addsortingselector: t }), M();
4914
4893
  }
4915
4894
  get filterbylogo() {
4916
4895
  return this.$$.ctx[2];
4917
4896
  }
4918
4897
  set filterbylogo(t) {
4919
- this.$$set({ filterbylogo: t }), N();
4898
+ this.$$set({ filterbylogo: t }), M();
4920
4899
  }
4921
4900
  get mbsource() {
4922
4901
  return this.$$.ctx[22];
4923
4902
  }
4924
4903
  set mbsource(t) {
4925
- this.$$set({ mbsource: t }), N();
4904
+ this.$$set({ mbsource: t }), M();
4926
4905
  }
4927
4906
  get usesinglevendorfilter() {
4928
4907
  return this.$$.ctx[23];
4929
4908
  }
4930
4909
  set usesinglevendorfilter(t) {
4931
- this.$$set({ usesinglevendorfilter: t }), N();
4910
+ this.$$set({ usesinglevendorfilter: t }), M();
4932
4911
  }
4933
4912
  }
4934
- cn(Co, { endpoint: {}, datasource: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, categoryid: {}, addfilterselector: {}, addsortingselector: {}, filterbylogo: {}, mbsource: {}, usesinglevendorfilter: {} }, [], [], !0);
4913
+ cn(Po, { endpoint: {}, datasource: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, categoryid: {}, addfilterselector: {}, addsortingselector: {}, filterbylogo: {}, mbsource: {}, usesinglevendorfilter: {} }, [], [], !0);
4935
4914
  export {
4936
- Co as default
4915
+ Po as default
4937
4916
  };