@everymatrix/casino-filter 1.54.12 → 1.55.0

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 Or = Object.defineProperty, Lr = Object.defineProperties;
2
- var Nr = Object.getOwnPropertyDescriptors;
3
- var _t = Object.getOwnPropertySymbols;
4
- var Mr = Object.prototype.hasOwnProperty, Rr = Object.prototype.propertyIsEnumerable;
5
- var We = (e, t, r) => t in e ? Or(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, xt = (e, t) => {
1
+ var Rr = Object.defineProperty, Dr = Object.defineProperties;
2
+ var Ur = Object.getOwnPropertyDescriptors;
3
+ var wt = Object.getOwnPropertySymbols;
4
+ var $r = Object.prototype.hasOwnProperty, Gr = Object.prototype.propertyIsEnumerable;
5
+ var We = (e, t, r) => t in e ? Rr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, St = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- Mr.call(t, r) && We(e, r, t[r]);
8
- if (_t)
9
- for (var r of _t(t))
10
- Rr.call(t, r) && We(e, r, t[r]);
7
+ $r.call(t, r) && We(e, r, t[r]);
8
+ if (wt)
9
+ for (var r of wt(t))
10
+ Gr.call(t, r) && We(e, r, t[r]);
11
11
  return e;
12
- }, Et = (e, t) => Lr(e, Nr(t));
13
- var M = (e, t, r) => We(e, typeof t != "symbol" ? t + "" : t, r);
14
- var St = (e, t, r) => new Promise((n, i) => {
12
+ }, Tt = (e, t) => Dr(e, Ur(t));
13
+ var D = (e, t, r) => We(e, typeof t != "symbol" ? t + "" : t, r);
14
+ var Ht = (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 St = (e, t, r) => new Promise((n, i) => {
29
29
  });
30
30
  function $() {
31
31
  }
32
- function Kt(e) {
32
+ function rr(e) {
33
33
  return e();
34
34
  }
35
- function wt() {
35
+ function At() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
38
  function te(e) {
39
- e.forEach(Kt);
39
+ e.forEach(rr);
40
40
  }
41
- function bt(e) {
41
+ function gt(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function er(e, t) {
44
+ function nr(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
- let Be;
48
- function Tt(e, t) {
49
- return e === t ? !0 : (Be || (Be = document.createElement("a")), Be.href = t, e === Be.href);
47
+ let Pe;
48
+ function Ft(e, t) {
49
+ return e === t ? !0 : (Pe || (Pe = document.createElement("a")), Pe.href = t, e === Pe.href);
50
50
  }
51
- function Dr(e) {
51
+ function kr(e) {
52
52
  return Object.keys(e).length === 0;
53
53
  }
54
- function tr(e, ...t) {
54
+ function ir(e, ...t) {
55
55
  if (e == null) {
56
56
  for (const n of t)
57
57
  n(void 0);
@@ -60,20 +60,20 @@ function tr(e, ...t) {
60
60
  const r = e.subscribe(...t);
61
61
  return r.unsubscribe ? () => r.unsubscribe() : r;
62
62
  }
63
- function $r(e, t, r) {
64
- e.$$.on_destroy.push(tr(t, r));
63
+ function jr(e, t, r) {
64
+ e.$$.on_destroy.push(ir(t, r));
65
65
  }
66
- function b(e, t) {
66
+ function g(e, t) {
67
67
  e.appendChild(t);
68
68
  }
69
- function Ur(e, t, r) {
70
- const n = Gr(e);
69
+ function Vr(e, t, r) {
70
+ const n = Xr(e);
71
71
  if (!n.getElementById(t)) {
72
- const i = P("style");
73
- i.id = t, i.textContent = r, kr(n, i);
72
+ const i = F("style");
73
+ i.id = t, i.textContent = r, Wr(n, i);
74
74
  }
75
75
  }
76
- function Gr(e) {
76
+ function Xr(e) {
77
77
  if (!e) return document;
78
78
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
79
79
  return t && /** @type {ShadowRoot} */
@@ -82,34 +82,34 @@ function Gr(e) {
82
82
  t
83
83
  ) : e.ownerDocument;
84
84
  }
85
- function kr(e, t) {
86
- return b(
85
+ function Wr(e, t) {
86
+ return g(
87
87
  /** @type {Document} */
88
88
  e.head || e,
89
89
  t
90
90
  ), t.sheet;
91
91
  }
92
- function X(e, t, r) {
92
+ function W(e, t, r) {
93
93
  e.insertBefore(t, r || null);
94
94
  }
95
- function k(e) {
95
+ function V(e) {
96
96
  e.parentNode && e.parentNode.removeChild(e);
97
97
  }
98
- function jr(e, t) {
98
+ function zr(e, t) {
99
99
  for (let r = 0; r < e.length; r += 1)
100
100
  e[r] && e[r].d(t);
101
101
  }
102
- function P(e) {
102
+ function F(e) {
103
103
  return document.createElement(e);
104
104
  }
105
105
  function Ce(e) {
106
106
  return document.createElementNS("http://www.w3.org/2000/svg", e);
107
107
  }
108
- function D(e) {
108
+ function U(e) {
109
109
  return document.createTextNode(e);
110
110
  }
111
- function G() {
112
- return D(" ");
111
+ function j() {
112
+ return U(" ");
113
113
  }
114
114
  function De(e, t, r, n) {
115
115
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
@@ -117,17 +117,17 @@ function De(e, t, r, n) {
117
117
  function m(e, t, r) {
118
118
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
119
119
  }
120
- function Vr(e) {
120
+ function Zr(e) {
121
121
  return Array.from(e.childNodes);
122
122
  }
123
- function Q(e, t) {
123
+ function q(e, t) {
124
124
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
125
125
  t);
126
126
  }
127
- function Ht(e, t) {
127
+ function Bt(e, t) {
128
128
  e.value = t == null ? "" : t;
129
129
  }
130
- function Xr(e) {
130
+ function Jr(e) {
131
131
  const t = {};
132
132
  return e.childNodes.forEach(
133
133
  /** @param {Element} node */
@@ -136,87 +136,87 @@ function Xr(e) {
136
136
  }
137
137
  ), t;
138
138
  }
139
- let Se;
139
+ let we;
140
140
  function Ee(e) {
141
- Se = e;
141
+ we = e;
142
142
  }
143
- function Wr() {
144
- if (!Se) throw new Error("Function called outside component initialization");
145
- return Se;
143
+ function Qr() {
144
+ if (!we) throw new Error("Function called outside component initialization");
145
+ return we;
146
146
  }
147
- function zr(e) {
148
- Wr().$$.on_mount.push(e);
147
+ function qr(e) {
148
+ Qr().$$.on_mount.push(e);
149
149
  }
150
- const ce = [], et = [];
150
+ const ce = [], tt = [];
151
151
  let fe = [];
152
- const At = [], Zr = /* @__PURE__ */ Promise.resolve();
153
- let tt = !1;
154
- function Jr() {
155
- tt || (tt = !0, Zr.then(R));
152
+ const Pt = [], Yr = /* @__PURE__ */ Promise.resolve();
153
+ let rt = !1;
154
+ function Kr() {
155
+ rt || (rt = !0, Yr.then(M));
156
156
  }
157
- function rt(e) {
157
+ function nt(e) {
158
158
  fe.push(e);
159
159
  }
160
160
  const ze = /* @__PURE__ */ new Set();
161
161
  let ue = 0;
162
- function R() {
162
+ function M() {
163
163
  if (ue !== 0)
164
164
  return;
165
- const e = Se;
165
+ const e = we;
166
166
  do {
167
167
  try {
168
168
  for (; ue < ce.length; ) {
169
169
  const t = ce[ue];
170
- ue++, Ee(t), Qr(t.$$);
170
+ ue++, Ee(t), en(t.$$);
171
171
  }
172
172
  } catch (t) {
173
173
  throw ce.length = 0, ue = 0, t;
174
174
  }
175
- for (Ee(null), ce.length = 0, ue = 0; et.length; ) et.pop()();
175
+ for (Ee(null), ce.length = 0, ue = 0; tt.length; ) tt.pop()();
176
176
  for (let t = 0; t < fe.length; t += 1) {
177
177
  const r = fe[t];
178
178
  ze.has(r) || (ze.add(r), r());
179
179
  }
180
180
  fe.length = 0;
181
181
  } while (ce.length);
182
- for (; At.length; )
183
- At.pop()();
184
- tt = !1, ze.clear(), Ee(e);
182
+ for (; Pt.length; )
183
+ Pt.pop()();
184
+ rt = !1, ze.clear(), Ee(e);
185
185
  }
186
- function Qr(e) {
186
+ function en(e) {
187
187
  if (e.fragment !== null) {
188
188
  e.update(), te(e.before_update);
189
189
  const t = e.dirty;
190
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(rt);
190
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(nt);
191
191
  }
192
192
  }
193
- function qr(e) {
193
+ function tn(e) {
194
194
  const t = [], r = [];
195
195
  fe.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), fe = t;
196
196
  }
197
- const Yr = /* @__PURE__ */ new Set();
198
- function Kr(e, t) {
199
- e && e.i && (Yr.delete(e), e.i(t));
197
+ const rn = /* @__PURE__ */ new Set();
198
+ function nn(e, t) {
199
+ e && e.i && (rn.delete(e), e.i(t));
200
200
  }
201
- function Ft(e) {
201
+ function Ct(e) {
202
202
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
203
203
  }
204
- function en(e, t, r) {
204
+ function on(e, t, r) {
205
205
  const { fragment: n, after_update: i } = e.$$;
206
- n && n.m(t, r), rt(() => {
207
- const o = e.$$.on_mount.map(Kt).filter(bt);
206
+ n && n.m(t, r), nt(() => {
207
+ const o = e.$$.on_mount.map(rr).filter(gt);
208
208
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : te(o), e.$$.on_mount = [];
209
- }), i.forEach(rt);
209
+ }), i.forEach(nt);
210
210
  }
211
- function tn(e, t) {
211
+ function sn(e, t) {
212
212
  const r = e.$$;
213
- r.fragment !== null && (qr(r.after_update), te(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
213
+ r.fragment !== null && (tn(r.after_update), te(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
214
214
  }
215
- function rn(e, t) {
216
- e.$$.dirty[0] === -1 && (ce.push(e), Jr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
215
+ function an(e, t) {
216
+ e.$$.dirty[0] === -1 && (ce.push(e), Kr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
217
217
  }
218
- function nn(e, t, r, n, i, o, s = null, a = [-1]) {
219
- const u = Se;
218
+ function ln(e, t, r, n, i, o, s = null, a = [-1]) {
219
+ const u = we;
220
220
  Ee(e);
221
221
  const l = e.$$ = {
222
222
  fragment: null,
@@ -225,7 +225,7 @@ function nn(e, t, r, n, i, o, s = null, a = [-1]) {
225
225
  props: o,
226
226
  update: $,
227
227
  not_equal: i,
228
- bound: wt(),
228
+ bound: At(),
229
229
  // lifecycle
230
230
  on_mount: [],
231
231
  on_destroy: [],
@@ -234,48 +234,48 @@ function nn(e, t, r, n, i, o, s = null, a = [-1]) {
234
234
  after_update: [],
235
235
  context: new Map(t.context || (u ? u.$$.context : [])),
236
236
  // everything else
237
- callbacks: wt(),
237
+ callbacks: At(),
238
238
  dirty: a,
239
239
  skip_bound: !1,
240
240
  root: t.target || u.$$.root
241
241
  };
242
242
  s && s(l.root);
243
243
  let h = !1;
244
- if (l.ctx = r ? r(e, t.props || {}, (p, f, ...g) => {
245
- const y = g.length ? g[0] : f;
246
- return l.ctx && i(l.ctx[p], l.ctx[p] = y) && (!l.skip_bound && l.bound[p] && l.bound[p](y), h && rn(e, p)), f;
244
+ if (l.ctx = r ? r(e, t.props || {}, (p, f, ...v) => {
245
+ const x = v.length ? v[0] : f;
246
+ return l.ctx && i(l.ctx[p], l.ctx[p] = x) && (!l.skip_bound && l.bound[p] && l.bound[p](x), h && an(e, p)), f;
247
247
  }) : [], l.update(), h = !0, te(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
248
248
  if (t.hydrate) {
249
- const p = Vr(t.target);
250
- l.fragment && l.fragment.l(p), p.forEach(k);
249
+ const p = Zr(t.target);
250
+ l.fragment && l.fragment.l(p), p.forEach(V);
251
251
  } else
252
252
  l.fragment && l.fragment.c();
253
- t.intro && Kr(e.$$.fragment), en(e, t.target, t.anchor), R();
253
+ t.intro && nn(e.$$.fragment), on(e, t.target, t.anchor), M();
254
254
  }
255
255
  Ee(u);
256
256
  }
257
- let rr;
258
- typeof HTMLElement == "function" && (rr = class extends HTMLElement {
257
+ let or;
258
+ typeof HTMLElement == "function" && (or = class extends HTMLElement {
259
259
  constructor(t, r, n) {
260
260
  super();
261
261
  /** The Svelte component constructor */
262
- M(this, "$$ctor");
262
+ D(this, "$$ctor");
263
263
  /** Slots */
264
- M(this, "$$s");
264
+ D(this, "$$s");
265
265
  /** The Svelte component instance */
266
- M(this, "$$c");
266
+ D(this, "$$c");
267
267
  /** Whether or not the custom element is connected */
268
- M(this, "$$cn", !1);
268
+ D(this, "$$cn", !1);
269
269
  /** Component props data */
270
- M(this, "$$d", {});
270
+ D(this, "$$d", {});
271
271
  /** `true` if currently in the process of reflecting component props back to attributes */
272
- M(this, "$$r", !1);
272
+ D(this, "$$r", !1);
273
273
  /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
274
- M(this, "$$p_d", {});
274
+ D(this, "$$p_d", {});
275
275
  /** @type {Record<string, Function[]>} Event listeners */
276
- M(this, "$$l", {});
276
+ D(this, "$$l", {});
277
277
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
278
- M(this, "$$l_u", /* @__PURE__ */ new Map());
278
+ D(this, "$$l_u", /* @__PURE__ */ new Map());
279
279
  this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
280
280
  }
281
281
  addEventListener(t, r, n) {
@@ -292,31 +292,31 @@ typeof HTMLElement == "function" && (rr = class extends HTMLElement {
292
292
  }
293
293
  }
294
294
  connectedCallback() {
295
- return St(this, null, function* () {
295
+ return Ht(this, null, function* () {
296
296
  if (this.$$cn = !0, !this.$$c) {
297
297
  let t = function(o) {
298
298
  return () => {
299
299
  let s;
300
300
  return {
301
301
  c: function() {
302
- s = P("slot"), o !== "default" && m(s, "name", o);
302
+ s = F("slot"), o !== "default" && m(s, "name", o);
303
303
  },
304
304
  /**
305
305
  * @param {HTMLElement} target
306
306
  * @param {HTMLElement} [anchor]
307
307
  */
308
308
  m: function(l, h) {
309
- X(l, s, h);
309
+ W(l, s, h);
310
310
  },
311
311
  d: function(l) {
312
- l && k(s);
312
+ l && V(s);
313
313
  }
314
314
  };
315
315
  };
316
316
  };
317
317
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
318
318
  return;
319
- const r = {}, n = Xr(this);
319
+ const r = {}, n = Jr(this);
320
320
  for (const o of this.$$s)
321
321
  o in n && (r[o] = [t(o)]);
322
322
  for (const o of this.attributes) {
@@ -327,7 +327,7 @@ typeof HTMLElement == "function" && (rr = class extends HTMLElement {
327
327
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
328
328
  this.$$c = new this.$$ctor({
329
329
  target: this.shadowRoot || this,
330
- props: Et(xt({}, this.$$d), {
330
+ props: Tt(St({}, this.$$d), {
331
331
  $$slots: r,
332
332
  $$scope: {
333
333
  ctx: []
@@ -405,8 +405,8 @@ function Le(e, t, r, n) {
405
405
  return t;
406
406
  }
407
407
  }
408
- function on(e, t, r, n, i, o) {
409
- let s = class extends rr {
408
+ function un(e, t, r, n, i, o) {
409
+ let s = class extends or {
410
410
  constructor() {
411
411
  super(e, r, i), this.$$p_d = t;
412
412
  }
@@ -436,7 +436,7 @@ function on(e, t, r, n, i, o) {
436
436
  }), e.element = /** @type {any} */
437
437
  s, s;
438
438
  }
439
- class sn {
439
+ class hn {
440
440
  constructor() {
441
441
  /**
442
442
  * ### PRIVATE API
@@ -445,7 +445,7 @@ class sn {
445
445
  *
446
446
  * @type {any}
447
447
  */
448
- M(this, "$$");
448
+ D(this, "$$");
449
449
  /**
450
450
  * ### PRIVATE API
451
451
  *
@@ -453,11 +453,11 @@ class sn {
453
453
  *
454
454
  * @type {any}
455
455
  */
456
- M(this, "$$set");
456
+ D(this, "$$set");
457
457
  }
458
458
  /** @returns {void} */
459
459
  $destroy() {
460
- tn(this, 1), this.$destroy = $;
460
+ sn(this, 1), this.$destroy = $;
461
461
  }
462
462
  /**
463
463
  * @template {Extract<keyof Events, string>} K
@@ -466,7 +466,7 @@ class sn {
466
466
  * @returns {() => void}
467
467
  */
468
468
  $on(t, r) {
469
- if (!bt(r))
469
+ if (!gt(r))
470
470
  return $;
471
471
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
472
472
  return n.push(r), () => {
@@ -479,22 +479,22 @@ class sn {
479
479
  * @returns {void}
480
480
  */
481
481
  $set(t) {
482
- this.$$set && !Dr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
482
+ this.$$set && !kr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
483
483
  }
484
484
  }
485
- const an = "4";
486
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(an);
487
- var nt = function(e, t) {
488
- return nt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
485
+ const cn = "4";
486
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(cn);
487
+ var it = function(e, t) {
488
+ return it = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
489
489
  r.__proto__ = n;
490
490
  } || function(r, n) {
491
491
  for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
492
- }, nt(e, t);
492
+ }, it(e, t);
493
493
  };
494
- function W(e, t) {
494
+ function z(e, t) {
495
495
  if (typeof t != "function" && t !== null)
496
496
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
497
- nt(e, t);
497
+ it(e, t);
498
498
  function r() {
499
499
  this.constructor = e;
500
500
  }
@@ -509,7 +509,7 @@ var S = function() {
509
509
  return t;
510
510
  }, S.apply(this, arguments);
511
511
  };
512
- function ln(e, t) {
512
+ function fn(e, t) {
513
513
  var r = {};
514
514
  for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
515
515
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -517,7 +517,7 @@ function ln(e, t) {
517
517
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
518
518
  return r;
519
519
  }
520
- function it(e) {
520
+ function ot(e) {
521
521
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
522
522
  if (r) return r.call(e);
523
523
  if (e && typeof e.length == "number") return {
@@ -527,7 +527,7 @@ function it(e) {
527
527
  };
528
528
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
529
529
  }
530
- function ot(e, t) {
530
+ function st(e, t) {
531
531
  var r = typeof Symbol == "function" && e[Symbol.iterator];
532
532
  if (!r) return e;
533
533
  var n = r.call(e), i, o = [], s;
@@ -549,16 +549,16 @@ function pe(e, t, r) {
549
549
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
550
550
  return e.concat(o || Array.prototype.slice.call(t));
551
551
  }
552
- function V(e) {
552
+ function X(e) {
553
553
  return typeof e == "function";
554
554
  }
555
- function nr(e) {
555
+ function sr(e) {
556
556
  var t = function(n) {
557
557
  Error.call(n), n.stack = new Error().stack;
558
558
  }, r = e(t);
559
559
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
560
560
  }
561
- var Ze = nr(function(e) {
561
+ var Ze = sr(function(e) {
562
562
  return function(r) {
563
563
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
564
564
  ` + r.map(function(n, i) {
@@ -567,7 +567,7 @@ var Ze = nr(function(e) {
567
567
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
568
568
  };
569
569
  });
570
- function st(e, t) {
570
+ function at(e, t) {
571
571
  if (e) {
572
572
  var r = e.indexOf(t);
573
573
  0 <= r && e.splice(r, 1);
@@ -585,12 +585,12 @@ var Ge = function() {
585
585
  if (s)
586
586
  if (this._parentage = null, Array.isArray(s))
587
587
  try {
588
- for (var a = it(s), u = a.next(); !u.done; u = a.next()) {
588
+ for (var a = ot(s), u = a.next(); !u.done; u = a.next()) {
589
589
  var l = u.value;
590
590
  l.remove(this);
591
591
  }
592
- } catch (_) {
593
- t = { error: _ };
592
+ } catch (b) {
593
+ t = { error: b };
594
594
  } finally {
595
595
  try {
596
596
  u && !u.done && (r = a.return) && r.call(a);
@@ -601,29 +601,29 @@ var Ge = function() {
601
601
  else
602
602
  s.remove(this);
603
603
  var h = this.initialTeardown;
604
- if (V(h))
604
+ if (X(h))
605
605
  try {
606
606
  h();
607
- } catch (_) {
608
- o = _ instanceof Ze ? _.errors : [_];
607
+ } catch (b) {
608
+ o = b instanceof Ze ? b.errors : [b];
609
609
  }
610
610
  var p = this._finalizers;
611
611
  if (p) {
612
612
  this._finalizers = null;
613
613
  try {
614
- for (var f = it(p), g = f.next(); !g.done; g = f.next()) {
615
- var y = g.value;
614
+ for (var f = ot(p), v = f.next(); !v.done; v = f.next()) {
615
+ var x = v.value;
616
616
  try {
617
- Pt(y);
618
- } catch (_) {
619
- o = o != null ? o : [], _ instanceof Ze ? o = pe(pe([], ot(o)), ot(_.errors)) : o.push(_);
617
+ It(x);
618
+ } catch (b) {
619
+ o = o != null ? o : [], b instanceof Ze ? o = pe(pe([], st(o)), st(b.errors)) : o.push(b);
620
620
  }
621
621
  }
622
- } catch (_) {
623
- n = { error: _ };
622
+ } catch (b) {
623
+ n = { error: b };
624
624
  } finally {
625
625
  try {
626
- g && !g.done && (i = f.return) && i.call(f);
626
+ v && !v.done && (i = f.return) && i.call(f);
627
627
  } finally {
628
628
  if (n) throw n.error;
629
629
  }
@@ -636,7 +636,7 @@ var Ge = function() {
636
636
  var r;
637
637
  if (t && t !== this)
638
638
  if (this.closed)
639
- Pt(t);
639
+ It(t);
640
640
  else {
641
641
  if (t instanceof e) {
642
642
  if (t.closed || t._hasParent(this))
@@ -653,52 +653,56 @@ var Ge = function() {
653
653
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
654
654
  }, e.prototype._removeParent = function(t) {
655
655
  var r = this._parentage;
656
- r === t ? this._parentage = null : Array.isArray(r) && st(r, t);
656
+ r === t ? this._parentage = null : Array.isArray(r) && at(r, t);
657
657
  }, e.prototype.remove = function(t) {
658
658
  var r = this._finalizers;
659
- r && st(r, t), t instanceof e && t._removeParent(this);
659
+ r && at(r, t), t instanceof e && t._removeParent(this);
660
660
  }, e.EMPTY = function() {
661
661
  var t = new e();
662
662
  return t.closed = !0, t;
663
663
  }(), e;
664
- }(), ir = Ge.EMPTY;
665
- function or(e) {
666
- return e instanceof Ge || e && "closed" in e && V(e.remove) && V(e.add) && V(e.unsubscribe);
667
- }
668
- function Pt(e) {
669
- V(e) ? e() : e.unsubscribe();
664
+ }(), ar = Ge.EMPTY;
665
+ function lr(e) {
666
+ return e instanceof Ge || e && "closed" in e && X(e.remove) && X(e.add) && X(e.unsubscribe);
670
667
  }
671
- var un = {
672
- Promise: void 0
673
- }, hn = {
668
+ function It(e) {
669
+ X(e) ? e() : e.unsubscribe();
670
+ }
671
+ var ur = {
672
+ onUnhandledError: null,
673
+ onStoppedNotification: null,
674
+ Promise: void 0,
675
+ useDeprecatedSynchronousErrorHandling: !1,
676
+ useDeprecatedNextContext: !1
677
+ }, pn = {
674
678
  setTimeout: function(e, t) {
675
679
  for (var r = [], n = 2; n < arguments.length; n++)
676
680
  r[n - 2] = arguments[n];
677
- return setTimeout.apply(void 0, pe([e, t], ot(r)));
681
+ return setTimeout.apply(void 0, pe([e, t], st(r)));
678
682
  },
679
683
  clearTimeout: function(e) {
680
684
  return clearTimeout(e);
681
685
  },
682
686
  delegate: void 0
683
687
  };
684
- function cn(e) {
685
- hn.setTimeout(function() {
688
+ function dn(e) {
689
+ pn.setTimeout(function() {
686
690
  throw e;
687
691
  });
688
692
  }
689
- function Bt() {
693
+ function Ot() {
690
694
  }
691
695
  function Ne(e) {
692
696
  e();
693
697
  }
694
- var sr = function(e) {
695
- W(t, e);
698
+ var hr = function(e) {
699
+ z(t, e);
696
700
  function t(r) {
697
701
  var n = e.call(this) || this;
698
- return n.isStopped = !1, r ? (n.destination = r, or(r) && r.add(n)) : n.destination = dn, n;
702
+ return n.isStopped = !1, r ? (n.destination = r, lr(r) && r.add(n)) : n.destination = vn, n;
699
703
  }
700
704
  return t.create = function(r, n, i) {
701
- return new at(r, n, i);
705
+ return new lt(r, n, i);
702
706
  }, t.prototype.next = function(r) {
703
707
  this.isStopped || this._next(r);
704
708
  }, t.prototype.error = function(r) {
@@ -722,7 +726,11 @@ var sr = function(e) {
722
726
  this.unsubscribe();
723
727
  }
724
728
  }, t;
725
- }(Ge), fn = function() {
729
+ }(Ge), mn = Function.prototype.bind;
730
+ function Je(e, t) {
731
+ return mn.call(e, t);
732
+ }
733
+ var bn = function() {
726
734
  function e(t) {
727
735
  this.partialObserver = t;
728
736
  }
@@ -753,43 +761,55 @@ var sr = function(e) {
753
761
  Ie(r);
754
762
  }
755
763
  }, e;
756
- }(), at = function(e) {
757
- W(t, e);
764
+ }(), lt = function(e) {
765
+ z(t, e);
758
766
  function t(r, n, i) {
759
767
  var o = e.call(this) || this, s;
760
- return V(r) || !r ? s = {
761
- next: r != null ? r : void 0,
762
- error: n != null ? n : void 0,
763
- complete: i != null ? i : void 0
764
- } : s = r, o.destination = new fn(s), o;
768
+ if (X(r) || !r)
769
+ s = {
770
+ next: r != null ? r : void 0,
771
+ error: n != null ? n : void 0,
772
+ complete: i != null ? i : void 0
773
+ };
774
+ else {
775
+ var a;
776
+ o && ur.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
777
+ return o.unsubscribe();
778
+ }, s = {
779
+ next: r.next && Je(r.next, a),
780
+ error: r.error && Je(r.error, a),
781
+ complete: r.complete && Je(r.complete, a)
782
+ }) : s = r;
783
+ }
784
+ return o.destination = new bn(s), o;
765
785
  }
766
786
  return t;
767
- }(sr);
787
+ }(hr);
768
788
  function Ie(e) {
769
- cn(e);
789
+ dn(e);
770
790
  }
771
- function pn(e) {
791
+ function gn(e) {
772
792
  throw e;
773
793
  }
774
- var dn = {
794
+ var vn = {
775
795
  closed: !0,
776
- next: Bt,
777
- error: pn,
778
- complete: Bt
779
- }, mn = function() {
796
+ next: Ot,
797
+ error: gn,
798
+ complete: Ot
799
+ }, yn = function() {
780
800
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
781
801
  }();
782
- function bn(e) {
802
+ function _n(e) {
783
803
  return e;
784
804
  }
785
- function gn(e) {
786
- return e.length === 0 ? bn : e.length === 1 ? e[0] : function(r) {
805
+ function xn(e) {
806
+ return e.length === 0 ? _n : e.length === 1 ? e[0] : function(r) {
787
807
  return e.reduce(function(n, i) {
788
808
  return i(n);
789
809
  }, r);
790
810
  };
791
811
  }
792
- var Ct = function() {
812
+ var Lt = function() {
793
813
  function e(t) {
794
814
  t && (this._subscribe = t);
795
815
  }
@@ -797,7 +817,7 @@ var Ct = function() {
797
817
  var r = new e();
798
818
  return r.source = this, r.operator = t, r;
799
819
  }, e.prototype.subscribe = function(t, r, n) {
800
- var i = this, o = yn(t) ? t : new at(t, r, n);
820
+ var i = this, o = wn(t) ? t : new lt(t, r, n);
801
821
  return Ne(function() {
802
822
  var s = i, a = s.operator, u = s.source;
803
823
  o.add(a ? a.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
@@ -810,8 +830,8 @@ var Ct = function() {
810
830
  }
811
831
  }, e.prototype.forEach = function(t, r) {
812
832
  var n = this;
813
- return r = It(r), new r(function(i, o) {
814
- var s = new at({
833
+ return r = Nt(r), new r(function(i, o) {
834
+ var s = new lt({
815
835
  next: function(a) {
816
836
  try {
817
837
  t(a);
@@ -827,15 +847,15 @@ var Ct = function() {
827
847
  }, e.prototype._subscribe = function(t) {
828
848
  var r;
829
849
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
830
- }, e.prototype[mn] = function() {
850
+ }, e.prototype[yn] = function() {
831
851
  return this;
832
852
  }, e.prototype.pipe = function() {
833
853
  for (var t = [], r = 0; r < arguments.length; r++)
834
854
  t[r] = arguments[r];
835
- return gn(t)(this);
855
+ return xn(t)(this);
836
856
  }, e.prototype.toPromise = function(t) {
837
857
  var r = this;
838
- return t = It(t), new t(function(n, i) {
858
+ return t = Nt(t), new t(function(n, i) {
839
859
  var o;
840
860
  r.subscribe(function(s) {
841
861
  return o = s;
@@ -849,32 +869,32 @@ var Ct = function() {
849
869
  return new e(t);
850
870
  }, e;
851
871
  }();
852
- function It(e) {
872
+ function Nt(e) {
853
873
  var t;
854
- return (t = e != null ? e : un.Promise) !== null && t !== void 0 ? t : Promise;
874
+ return (t = e != null ? e : ur.Promise) !== null && t !== void 0 ? t : Promise;
855
875
  }
856
- function vn(e) {
857
- return e && V(e.next) && V(e.error) && V(e.complete);
876
+ function En(e) {
877
+ return e && X(e.next) && X(e.error) && X(e.complete);
858
878
  }
859
- function yn(e) {
860
- return e && e instanceof sr || vn(e) && or(e);
879
+ function wn(e) {
880
+ return e && e instanceof hr || En(e) && lr(e);
861
881
  }
862
- var _n = nr(function(e) {
882
+ var Sn = sr(function(e) {
863
883
  return function() {
864
884
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
865
885
  };
866
- }), ar = function(e) {
867
- W(t, e);
886
+ }), cr = function(e) {
887
+ z(t, e);
868
888
  function t() {
869
889
  var r = e.call(this) || this;
870
890
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
871
891
  }
872
892
  return t.prototype.lift = function(r) {
873
- var n = new Ot(this, this);
893
+ var n = new Mt(this, this);
874
894
  return n.operator = r, n;
875
895
  }, t.prototype._throwIfClosed = function() {
876
896
  if (this.closed)
877
- throw new _n();
897
+ throw new Sn();
878
898
  }, t.prototype.next = function(r) {
879
899
  var n = this;
880
900
  Ne(function() {
@@ -882,7 +902,7 @@ var _n = nr(function(e) {
882
902
  if (n._throwIfClosed(), !n.isStopped) {
883
903
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
884
904
  try {
885
- for (var s = it(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
905
+ for (var s = ot(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
886
906
  var u = a.value;
887
907
  u.next(r);
888
908
  }
@@ -930,20 +950,20 @@ var _n = nr(function(e) {
930
950
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
931
951
  }, t.prototype._innerSubscribe = function(r) {
932
952
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
933
- return o || s ? ir : (this.currentObservers = null, a.push(r), new Ge(function() {
934
- n.currentObservers = null, st(a, r);
953
+ return o || s ? ar : (this.currentObservers = null, a.push(r), new Ge(function() {
954
+ n.currentObservers = null, at(a, r);
935
955
  }));
936
956
  }, t.prototype._checkFinalizedStatuses = function(r) {
937
957
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
938
958
  i ? r.error(o) : s && r.complete();
939
959
  }, t.prototype.asObservable = function() {
940
- var r = new Ct();
960
+ var r = new Lt();
941
961
  return r.source = this, r;
942
962
  }, t.create = function(r, n) {
943
- return new Ot(r, n);
963
+ return new Mt(r, n);
944
964
  }, t;
945
- }(Ct), Ot = function(e) {
946
- W(t, e);
965
+ }(Lt), Mt = function(e) {
966
+ z(t, e);
947
967
  function t(r, n) {
948
968
  var i = e.call(this) || this;
949
969
  return i.destination = r, i.source = n, i;
@@ -959,17 +979,17 @@ var _n = nr(function(e) {
959
979
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
960
980
  }, t.prototype._subscribe = function(r) {
961
981
  var n, i;
962
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : ir;
982
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : ar;
963
983
  }, t;
964
- }(ar), lr = {
984
+ }(cr), fr = {
965
985
  now: function() {
966
- return (lr.delegate || Date).now();
986
+ return (fr.delegate || Date).now();
967
987
  },
968
988
  delegate: void 0
969
- }, xn = function(e) {
970
- W(t, e);
989
+ }, Tn = function(e) {
990
+ z(t, e);
971
991
  function t(r, n, i) {
972
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = lr);
992
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = fr);
973
993
  var o = e.call(this) || this;
974
994
  return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
975
995
  }
@@ -989,15 +1009,15 @@ var _n = nr(function(e) {
989
1009
  l && o.splice(0, l + 1);
990
1010
  }
991
1011
  }, t;
992
- }(ar);
993
- const Lt = [], Nt = {}, En = (e, t = 0) => {
994
- if (Lt.indexOf(e) == -1) {
995
- const r = new xn(t);
996
- Nt[e] = r, Lt.push(e);
1012
+ }(cr);
1013
+ const Rt = [], Dt = {}, Hn = (e, t = 0) => {
1014
+ if (Rt.indexOf(e) == -1) {
1015
+ const r = new Tn(t);
1016
+ Dt[e] = r, Rt.push(e);
997
1017
  }
998
- return Nt[e];
1018
+ return Dt[e];
999
1019
  }, he = [];
1000
- function Sn(e, t) {
1020
+ function An(e, t) {
1001
1021
  return {
1002
1022
  subscribe: ke(e, t).subscribe
1003
1023
  };
@@ -1006,7 +1026,7 @@ function ke(e, t = $) {
1006
1026
  let r;
1007
1027
  const n = /* @__PURE__ */ new Set();
1008
1028
  function i(a) {
1009
- if (er(e, a) && (e = a, r)) {
1029
+ if (nr(e, a) && (e = a, r)) {
1010
1030
  const u = !he.length;
1011
1031
  for (const l of n)
1012
1032
  l[1](), he.push(l, e);
@@ -1033,7 +1053,7 @@ function ve(e, t, r) {
1033
1053
  if (!i.every(Boolean))
1034
1054
  throw new Error("derived() expects stores as input, got a falsy value");
1035
1055
  const o = t.length < 2;
1036
- return Sn(r, (s, a) => {
1056
+ return An(r, (s, a) => {
1037
1057
  let u = !1;
1038
1058
  const l = [];
1039
1059
  let h = 0, p = $;
@@ -1041,88 +1061,88 @@ function ve(e, t, r) {
1041
1061
  if (h)
1042
1062
  return;
1043
1063
  p();
1044
- const y = t(n ? l[0] : l, s, a);
1045
- o ? s(y) : p = bt(y) ? y : $;
1046
- }, g = i.map(
1047
- (y, _) => tr(
1048
- y,
1049
- (A) => {
1050
- l[_] = A, h &= ~(1 << _), u && f();
1064
+ const x = t(n ? l[0] : l, s, a);
1065
+ o ? s(x) : p = gt(x) ? x : $;
1066
+ }, v = i.map(
1067
+ (x, b) => ir(
1068
+ x,
1069
+ (P) => {
1070
+ l[b] = P, h &= ~(1 << b), u && f();
1051
1071
  },
1052
1072
  () => {
1053
- h |= 1 << _;
1073
+ h |= 1 << b;
1054
1074
  }
1055
1075
  )
1056
1076
  );
1057
1077
  return u = !0, f(), function() {
1058
- te(g), p(), u = !1;
1078
+ te(v), p(), u = !1;
1059
1079
  };
1060
1080
  });
1061
1081
  }
1062
- function wn(e) {
1082
+ function Fn(e) {
1063
1083
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1064
1084
  }
1065
- var Tn = function(t) {
1066
- return Hn(t) && !An(t);
1085
+ var Bn = function(t) {
1086
+ return Pn(t) && !Cn(t);
1067
1087
  };
1068
- function Hn(e) {
1088
+ function Pn(e) {
1069
1089
  return !!e && typeof e == "object";
1070
1090
  }
1071
- function An(e) {
1091
+ function Cn(e) {
1072
1092
  var t = Object.prototype.toString.call(e);
1073
- return t === "[object RegExp]" || t === "[object Date]" || Bn(e);
1093
+ return t === "[object RegExp]" || t === "[object Date]" || Ln(e);
1074
1094
  }
1075
- var Fn = typeof Symbol == "function" && Symbol.for, Pn = Fn ? Symbol.for("react.element") : 60103;
1076
- function Bn(e) {
1077
- return e.$$typeof === Pn;
1095
+ var In = typeof Symbol == "function" && Symbol.for, On = In ? Symbol.for("react.element") : 60103;
1096
+ function Ln(e) {
1097
+ return e.$$typeof === On;
1078
1098
  }
1079
- function Cn(e) {
1099
+ function Nn(e) {
1080
1100
  return Array.isArray(e) ? [] : {};
1081
1101
  }
1082
- function we(e, t) {
1083
- return t.clone !== !1 && t.isMergeableObject(e) ? de(Cn(e), e, t) : e;
1102
+ function Se(e, t) {
1103
+ return t.clone !== !1 && t.isMergeableObject(e) ? de(Nn(e), e, t) : e;
1084
1104
  }
1085
- function In(e, t, r) {
1105
+ function Mn(e, t, r) {
1086
1106
  return e.concat(t).map(function(n) {
1087
- return we(n, r);
1107
+ return Se(n, r);
1088
1108
  });
1089
1109
  }
1090
- function On(e, t) {
1110
+ function Rn(e, t) {
1091
1111
  if (!t.customMerge)
1092
1112
  return de;
1093
1113
  var r = t.customMerge(e);
1094
1114
  return typeof r == "function" ? r : de;
1095
1115
  }
1096
- function Ln(e) {
1116
+ function Dn(e) {
1097
1117
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1098
1118
  return Object.propertyIsEnumerable.call(e, t);
1099
1119
  }) : [];
1100
1120
  }
1101
- function Mt(e) {
1102
- return Object.keys(e).concat(Ln(e));
1121
+ function Ut(e) {
1122
+ return Object.keys(e).concat(Dn(e));
1103
1123
  }
1104
- function ur(e, t) {
1124
+ function pr(e, t) {
1105
1125
  try {
1106
1126
  return t in e;
1107
1127
  } catch (r) {
1108
1128
  return !1;
1109
1129
  }
1110
1130
  }
1111
- function Nn(e, t) {
1112
- return ur(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1131
+ function Un(e, t) {
1132
+ return pr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1113
1133
  }
1114
- function Mn(e, t, r) {
1134
+ function $n(e, t, r) {
1115
1135
  var n = {};
1116
- return r.isMergeableObject(e) && Mt(e).forEach(function(i) {
1117
- n[i] = we(e[i], r);
1118
- }), Mt(t).forEach(function(i) {
1119
- Nn(e, i) || (ur(e, i) && r.isMergeableObject(t[i]) ? n[i] = On(i, r)(e[i], t[i], r) : n[i] = we(t[i], r));
1136
+ return r.isMergeableObject(e) && Ut(e).forEach(function(i) {
1137
+ n[i] = Se(e[i], r);
1138
+ }), Ut(t).forEach(function(i) {
1139
+ Un(e, i) || (pr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Rn(i, r)(e[i], t[i], r) : n[i] = Se(t[i], r));
1120
1140
  }), n;
1121
1141
  }
1122
1142
  function de(e, t, r) {
1123
- r = r || {}, r.arrayMerge = r.arrayMerge || In, r.isMergeableObject = r.isMergeableObject || Tn, r.cloneUnlessOtherwiseSpecified = we;
1143
+ r = r || {}, r.arrayMerge = r.arrayMerge || Mn, r.isMergeableObject = r.isMergeableObject || Bn, r.cloneUnlessOtherwiseSpecified = Se;
1124
1144
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1125
- return o ? n ? r.arrayMerge(e, t, r) : Mn(e, t, r) : we(t, r);
1145
+ return o ? n ? r.arrayMerge(e, t, r) : $n(e, t, r) : Se(t, r);
1126
1146
  }
1127
1147
  de.all = function(t, r) {
1128
1148
  if (!Array.isArray(t))
@@ -1131,60 +1151,62 @@ de.all = function(t, r) {
1131
1151
  return de(n, i, r);
1132
1152
  }, {});
1133
1153
  };
1134
- var Rn = de, Dn = Rn;
1135
- const $n = /* @__PURE__ */ wn(Dn);
1136
- function Je(e, t) {
1137
- var r = t && t.cache ? t.cache : Wn, n = t && t.serializer ? t.serializer : Vn, i = t && t.strategy ? t.strategy : kn;
1154
+ var Gn = de, kn = Gn;
1155
+ const jn = /* @__PURE__ */ Fn(kn);
1156
+ function Qe(e, t) {
1157
+ var r = t && t.cache ? t.cache : Jn, n = t && t.serializer ? t.serializer : Zn, i = t && t.strategy ? t.strategy : Xn;
1138
1158
  return i(e, {
1139
1159
  cache: r,
1140
1160
  serializer: n
1141
1161
  });
1142
1162
  }
1143
- function Un(e) {
1163
+ function Vn(e) {
1144
1164
  return e == null || typeof e == "number" || typeof e == "boolean";
1145
1165
  }
1146
- function Gn(e, t, r, n) {
1147
- var i = Un(n) ? n : r(n), o = t.get(i);
1166
+ function dr(e, t, r, n) {
1167
+ var i = Vn(n) ? n : r(n), o = t.get(i);
1148
1168
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1149
1169
  }
1150
- function hr(e, t, r) {
1170
+ function mr(e, t, r) {
1151
1171
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1152
1172
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1153
1173
  }
1154
- function cr(e, t, r, n, i) {
1174
+ function vt(e, t, r, n, i) {
1155
1175
  return r.bind(t, e, n, i);
1156
1176
  }
1157
- function kn(e, t) {
1158
- var r = e.length === 1 ? Gn : hr;
1159
- return cr(e, this, r, t.cache.create(), t.serializer);
1177
+ function Xn(e, t) {
1178
+ var r = e.length === 1 ? dr : mr;
1179
+ return vt(e, this, r, t.cache.create(), t.serializer);
1180
+ }
1181
+ function Wn(e, t) {
1182
+ return vt(e, this, mr, t.cache.create(), t.serializer);
1160
1183
  }
1161
- function jn(e, t) {
1162
- return cr(e, this, hr, t.cache.create(), t.serializer);
1184
+ function zn(e, t) {
1185
+ return vt(e, this, dr, t.cache.create(), t.serializer);
1163
1186
  }
1164
- var Vn = function() {
1187
+ var Zn = function() {
1165
1188
  return JSON.stringify(arguments);
1166
- }, Xn = (
1167
- /** @class */
1168
- function() {
1169
- function e() {
1170
- this.cache = /* @__PURE__ */ Object.create(null);
1171
- }
1172
- return e.prototype.get = function(t) {
1173
- return this.cache[t];
1174
- }, e.prototype.set = function(t, r) {
1175
- this.cache[t] = r;
1176
- }, e;
1177
- }()
1178
- ), Wn = {
1189
+ };
1190
+ function yt() {
1191
+ this.cache = /* @__PURE__ */ Object.create(null);
1192
+ }
1193
+ yt.prototype.get = function(e) {
1194
+ return this.cache[e];
1195
+ };
1196
+ yt.prototype.set = function(e, t) {
1197
+ this.cache[e] = t;
1198
+ };
1199
+ var Jn = {
1179
1200
  create: function() {
1180
- return new Xn();
1201
+ return new yt();
1181
1202
  }
1182
- }, Qe = {
1183
- variadic: jn
1184
- }, x;
1203
+ }, qe = {
1204
+ variadic: Wn,
1205
+ monadic: zn
1206
+ }, _;
1185
1207
  (function(e) {
1186
1208
  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";
1187
- })(x || (x = {}));
1209
+ })(_ || (_ = {}));
1188
1210
  var B;
1189
1211
  (function(e) {
1190
1212
  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";
@@ -1193,43 +1215,43 @@ var me;
1193
1215
  (function(e) {
1194
1216
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1195
1217
  })(me || (me = {}));
1196
- function Rt(e) {
1218
+ function $t(e) {
1197
1219
  return e.type === B.literal;
1198
1220
  }
1199
- function zn(e) {
1221
+ function Qn(e) {
1200
1222
  return e.type === B.argument;
1201
1223
  }
1202
- function fr(e) {
1224
+ function br(e) {
1203
1225
  return e.type === B.number;
1204
1226
  }
1205
- function pr(e) {
1227
+ function gr(e) {
1206
1228
  return e.type === B.date;
1207
1229
  }
1208
- function dr(e) {
1230
+ function vr(e) {
1209
1231
  return e.type === B.time;
1210
1232
  }
1211
- function mr(e) {
1233
+ function yr(e) {
1212
1234
  return e.type === B.select;
1213
1235
  }
1214
- function br(e) {
1236
+ function _r(e) {
1215
1237
  return e.type === B.plural;
1216
1238
  }
1217
- function Zn(e) {
1239
+ function qn(e) {
1218
1240
  return e.type === B.pound;
1219
1241
  }
1220
- function gr(e) {
1242
+ function xr(e) {
1221
1243
  return e.type === B.tag;
1222
1244
  }
1223
- function vr(e) {
1245
+ function Er(e) {
1224
1246
  return !!(e && typeof e == "object" && e.type === me.number);
1225
1247
  }
1226
- function lt(e) {
1248
+ function ut(e) {
1227
1249
  return !!(e && typeof e == "object" && e.type === me.dateTime);
1228
1250
  }
1229
- var yr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Jn = /(?:[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;
1230
- function Qn(e) {
1251
+ var wr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Yn = /(?:[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;
1252
+ function Kn(e) {
1231
1253
  var t = {};
1232
- return e.replace(Jn, function(r) {
1254
+ return e.replace(Yn, function(r) {
1233
1255
  var n = r.length;
1234
1256
  switch (r[0]) {
1235
1257
  case "G":
@@ -1318,11 +1340,11 @@ function Qn(e) {
1318
1340
  return "";
1319
1341
  }), t;
1320
1342
  }
1321
- var qn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1322
- function Yn(e) {
1343
+ var ei = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1344
+ function ti(e) {
1323
1345
  if (e.length === 0)
1324
1346
  throw new Error("Number skeleton cannot be empty");
1325
- for (var t = e.split(qn).filter(function(f) {
1347
+ for (var t = e.split(ei).filter(function(f) {
1326
1348
  return f.length > 0;
1327
1349
  }), r = [], n = 0, i = t; n < i.length; n++) {
1328
1350
  var o = i[n], s = o.split("/");
@@ -1337,17 +1359,17 @@ function Yn(e) {
1337
1359
  }
1338
1360
  return r;
1339
1361
  }
1340
- function Kn(e) {
1362
+ function ri(e) {
1341
1363
  return e.replace(/^(.*?)-/, "");
1342
1364
  }
1343
- var Dt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, _r = /^(@+)?(\+|#+)?[rs]?$/g, ei = /(\*)(0+)|(#+)(0+)|(0+)/g, xr = /^(0+)$/;
1344
- function $t(e) {
1365
+ var Gt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Sr = /^(@+)?(\+|#+)?[rs]?$/g, ni = /(\*)(0+)|(#+)(0+)|(0+)/g, Tr = /^(0+)$/;
1366
+ function kt(e) {
1345
1367
  var t = {};
1346
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(_r, function(r, n, i) {
1368
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Sr, function(r, n, i) {
1347
1369
  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)), "";
1348
1370
  }), t;
1349
1371
  }
1350
- function Er(e) {
1372
+ function Hr(e) {
1351
1373
  switch (e) {
1352
1374
  case "sign-auto":
1353
1375
  return {
@@ -1387,7 +1409,7 @@ function Er(e) {
1387
1409
  };
1388
1410
  }
1389
1411
  }
1390
- function ti(e) {
1412
+ function ii(e) {
1391
1413
  var t;
1392
1414
  if (e[0] === "E" && e[1] === "E" ? (t = {
1393
1415
  notation: "engineering"
@@ -1395,17 +1417,17 @@ function ti(e) {
1395
1417
  notation: "scientific"
1396
1418
  }, e = e.slice(1)), t) {
1397
1419
  var r = e.slice(0, 2);
1398
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !xr.test(e))
1420
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Tr.test(e))
1399
1421
  throw new Error("Malformed concise eng/scientific notation");
1400
1422
  t.minimumIntegerDigits = e.length;
1401
1423
  }
1402
1424
  return t;
1403
1425
  }
1404
- function Ut(e) {
1405
- var t = {}, r = Er(e);
1426
+ function jt(e) {
1427
+ var t = {}, r = Hr(e);
1406
1428
  return r || t;
1407
1429
  }
1408
- function ri(e) {
1430
+ function oi(e) {
1409
1431
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1410
1432
  var i = n[r];
1411
1433
  switch (i.stem) {
@@ -1429,7 +1451,7 @@ function ri(e) {
1429
1451
  continue;
1430
1452
  case "measure-unit":
1431
1453
  case "unit":
1432
- t.style = "unit", t.unit = Kn(i.options[0]);
1454
+ t.style = "unit", t.unit = ri(i.options[0]);
1433
1455
  continue;
1434
1456
  case "compact-short":
1435
1457
  case "K":
@@ -1441,12 +1463,12 @@ function ri(e) {
1441
1463
  continue;
1442
1464
  case "scientific":
1443
1465
  t = S(S(S({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
1444
- return S(S({}, u), Ut(l));
1466
+ return S(S({}, u), jt(l));
1445
1467
  }, {}));
1446
1468
  continue;
1447
1469
  case "engineering":
1448
1470
  t = S(S(S({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1449
- return S(S({}, u), Ut(l));
1471
+ return S(S({}, u), jt(l));
1450
1472
  }, {}));
1451
1473
  continue;
1452
1474
  case "notation-simple":
@@ -1491,40 +1513,40 @@ function ri(e) {
1491
1513
  case "integer-width":
1492
1514
  if (i.options.length > 1)
1493
1515
  throw new RangeError("integer-width stems only accept a single optional option");
1494
- i.options[0].replace(ei, function(u, l, h, p, f, g) {
1516
+ i.options[0].replace(ni, function(u, l, h, p, f, v) {
1495
1517
  if (l)
1496
1518
  t.minimumIntegerDigits = h.length;
1497
1519
  else {
1498
1520
  if (p && f)
1499
1521
  throw new Error("We currently do not support maximum integer digits");
1500
- if (g)
1522
+ if (v)
1501
1523
  throw new Error("We currently do not support exact integer digits");
1502
1524
  }
1503
1525
  return "";
1504
1526
  });
1505
1527
  continue;
1506
1528
  }
1507
- if (xr.test(i.stem)) {
1529
+ if (Tr.test(i.stem)) {
1508
1530
  t.minimumIntegerDigits = i.stem.length;
1509
1531
  continue;
1510
1532
  }
1511
- if (Dt.test(i.stem)) {
1533
+ if (Gt.test(i.stem)) {
1512
1534
  if (i.options.length > 1)
1513
1535
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1514
- i.stem.replace(Dt, function(u, l, h, p, f, g) {
1515
- 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), "";
1536
+ i.stem.replace(Gt, function(u, l, h, p, f, v) {
1537
+ 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), "";
1516
1538
  });
1517
1539
  var o = i.options[0];
1518
- o === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = S(S({}, t), $t(o)));
1540
+ o === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = S(S({}, t), kt(o)));
1519
1541
  continue;
1520
1542
  }
1521
- if (_r.test(i.stem)) {
1522
- t = S(S({}, t), $t(i.stem));
1543
+ if (Sr.test(i.stem)) {
1544
+ t = S(S({}, t), kt(i.stem));
1523
1545
  continue;
1524
1546
  }
1525
- var s = Er(i.stem);
1547
+ var s = Hr(i.stem);
1526
1548
  s && (t = S(S({}, t), s));
1527
- var a = ti(i.stem);
1549
+ var a = ii(i.stem);
1528
1550
  a && (t = S(S({}, t), a));
1529
1551
  }
1530
1552
  return t;
@@ -2944,13 +2966,13 @@ var Oe = {
2944
2966
  "h"
2945
2967
  ]
2946
2968
  };
2947
- function ni(e, t) {
2969
+ function si(e, t) {
2948
2970
  for (var r = "", n = 0; n < e.length; n++) {
2949
2971
  var i = e.charAt(n);
2950
2972
  if (i === "j") {
2951
2973
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2952
2974
  o++, n++;
2953
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = ii(t);
2975
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = ai(t);
2954
2976
  for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
2955
2977
  r += u;
2956
2978
  for (; s-- > 0; )
@@ -2959,7 +2981,7 @@ function ni(e, t) {
2959
2981
  }
2960
2982
  return r;
2961
2983
  }
2962
- function ii(e) {
2984
+ function ai(e) {
2963
2985
  var t = e.hourCycle;
2964
2986
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2965
2987
  e.hourCycles && // @ts-ignore
@@ -2981,20 +3003,20 @@ function ii(e) {
2981
3003
  var i = Oe[n || ""] || Oe[r || ""] || Oe["".concat(r, "-001")] || Oe["001"];
2982
3004
  return i[0];
2983
3005
  }
2984
- var qe, oi = new RegExp("^".concat(yr.source, "*")), si = new RegExp("".concat(yr.source, "*$"));
3006
+ var Ye, li = new RegExp("^".concat(wr.source, "*")), ui = new RegExp("".concat(wr.source, "*$"));
2985
3007
  function E(e, t) {
2986
3008
  return { start: e, end: t };
2987
3009
  }
2988
- var ai = !!String.prototype.startsWith && "_a".startsWith("a", 1), li = !!String.fromCodePoint, ui = !!Object.fromEntries, hi = !!String.prototype.codePointAt, ci = !!String.prototype.trimStart, fi = !!String.prototype.trimEnd, pi = !!Number.isSafeInteger, di = pi ? Number.isSafeInteger : function(e) {
3010
+ var hi = !!String.prototype.startsWith && "_a".startsWith("a", 1), ci = !!String.fromCodePoint, fi = !!Object.fromEntries, pi = !!String.prototype.codePointAt, di = !!String.prototype.trimStart, mi = !!String.prototype.trimEnd, bi = !!Number.isSafeInteger, gi = bi ? Number.isSafeInteger : function(e) {
2989
3011
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2990
- }, ut = !0;
3012
+ }, ht = !0;
2991
3013
  try {
2992
- var mi = wr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2993
- ut = ((qe = mi.exec("a")) === null || qe === void 0 ? void 0 : qe[0]) === "a";
3014
+ var vi = Fr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3015
+ ht = ((Ye = vi.exec("a")) === null || Ye === void 0 ? void 0 : Ye[0]) === "a";
2994
3016
  } catch (e) {
2995
- ut = !1;
3017
+ ht = !1;
2996
3018
  }
2997
- var Gt = ai ? (
3019
+ var Vt = hi ? (
2998
3020
  // Native
2999
3021
  function(t, r, n) {
3000
3022
  return t.startsWith(r, n);
@@ -3004,7 +3026,7 @@ var Gt = ai ? (
3004
3026
  function(t, r, n) {
3005
3027
  return t.slice(n, n + r.length) === r;
3006
3028
  }
3007
- ), ht = li ? String.fromCodePoint : (
3029
+ ), ct = ci ? String.fromCodePoint : (
3008
3030
  // IE11
3009
3031
  function() {
3010
3032
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3016,9 +3038,9 @@ var Gt = ai ? (
3016
3038
  }
3017
3039
  return n;
3018
3040
  }
3019
- ), kt = (
3041
+ ), Xt = (
3020
3042
  // native
3021
- ui ? Object.fromEntries : (
3043
+ fi ? Object.fromEntries : (
3022
3044
  // Ponyfill
3023
3045
  function(t) {
3024
3046
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3028,7 +3050,7 @@ var Gt = ai ? (
3028
3050
  return r;
3029
3051
  }
3030
3052
  )
3031
- ), Sr = hi ? (
3053
+ ), Ar = pi ? (
3032
3054
  // Native
3033
3055
  function(t, r) {
3034
3056
  return t.codePointAt(r);
@@ -3042,7 +3064,7 @@ var Gt = ai ? (
3042
3064
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3043
3065
  }
3044
3066
  }
3045
- ), bi = ci ? (
3067
+ ), yi = di ? (
3046
3068
  // Native
3047
3069
  function(t) {
3048
3070
  return t.trimStart();
@@ -3050,9 +3072,9 @@ var Gt = ai ? (
3050
3072
  ) : (
3051
3073
  // Ponyfill
3052
3074
  function(t) {
3053
- return t.replace(oi, "");
3075
+ return t.replace(li, "");
3054
3076
  }
3055
- ), gi = fi ? (
3077
+ ), _i = mi ? (
3056
3078
  // Native
3057
3079
  function(t) {
3058
3080
  return t.trimEnd();
@@ -3060,32 +3082,32 @@ var Gt = ai ? (
3060
3082
  ) : (
3061
3083
  // Ponyfill
3062
3084
  function(t) {
3063
- return t.replace(si, "");
3085
+ return t.replace(ui, "");
3064
3086
  }
3065
3087
  );
3066
- function wr(e, t) {
3088
+ function Fr(e, t) {
3067
3089
  return new RegExp(e, t);
3068
3090
  }
3069
- var ct;
3070
- if (ut) {
3071
- var jt = wr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3072
- ct = function(t, r) {
3091
+ var ft;
3092
+ if (ht) {
3093
+ var Wt = Fr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3094
+ ft = function(t, r) {
3073
3095
  var n;
3074
- jt.lastIndex = r;
3075
- var i = jt.exec(t);
3096
+ Wt.lastIndex = r;
3097
+ var i = Wt.exec(t);
3076
3098
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3077
3099
  };
3078
3100
  } else
3079
- ct = function(t, r) {
3101
+ ft = function(t, r) {
3080
3102
  for (var n = []; ; ) {
3081
- var i = Sr(t, r);
3082
- if (i === void 0 || Tr(i) || xi(i))
3103
+ var i = Ar(t, r);
3104
+ if (i === void 0 || Br(i) || Si(i))
3083
3105
  break;
3084
3106
  n.push(i), r += i >= 65536 ? 2 : 1;
3085
3107
  }
3086
- return ht.apply(void 0, n);
3108
+ return ct.apply(void 0, n);
3087
3109
  };
3088
- var vi = (
3110
+ var xi = (
3089
3111
  /** @class */
3090
3112
  function() {
3091
3113
  function e(t, r) {
@@ -3115,8 +3137,8 @@ var vi = (
3115
3137
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3116
3138
  if (n)
3117
3139
  break;
3118
- return this.error(x.UNMATCHED_CLOSING_TAG, E(this.clonePosition(), this.clonePosition()));
3119
- } else if (o === 60 && !this.ignoreTag && ft(this.peek() || 0)) {
3140
+ return this.error(_.UNMATCHED_CLOSING_TAG, E(this.clonePosition(), this.clonePosition()));
3141
+ } else if (o === 60 && !this.ignoreTag && pt(this.peek() || 0)) {
3120
3142
  var s = this.parseTag(t, r);
3121
3143
  if (s.err)
3122
3144
  return s;
@@ -3149,10 +3171,10 @@ var vi = (
3149
3171
  return o;
3150
3172
  var s = o.val, a = this.clonePosition();
3151
3173
  if (this.bumpIf("</")) {
3152
- if (this.isEOF() || !ft(this.char()))
3153
- return this.error(x.INVALID_TAG, E(a, this.clonePosition()));
3174
+ if (this.isEOF() || !pt(this.char()))
3175
+ return this.error(_.INVALID_TAG, E(a, this.clonePosition()));
3154
3176
  var u = this.clonePosition(), l = this.parseTagName();
3155
- return i !== l ? this.error(x.UNMATCHED_CLOSING_TAG, E(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3177
+ return i !== l ? this.error(_.UNMATCHED_CLOSING_TAG, E(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3156
3178
  val: {
3157
3179
  type: B.tag,
3158
3180
  value: i,
@@ -3160,14 +3182,14 @@ var vi = (
3160
3182
  location: E(n, this.clonePosition())
3161
3183
  },
3162
3184
  err: null
3163
- } : this.error(x.INVALID_TAG, E(a, this.clonePosition())));
3185
+ } : this.error(_.INVALID_TAG, E(a, this.clonePosition())));
3164
3186
  } else
3165
- return this.error(x.UNCLOSED_TAG, E(n, this.clonePosition()));
3187
+ return this.error(_.UNCLOSED_TAG, E(n, this.clonePosition()));
3166
3188
  } else
3167
- return this.error(x.INVALID_TAG, E(n, this.clonePosition()));
3189
+ return this.error(_.INVALID_TAG, E(n, this.clonePosition()));
3168
3190
  }, e.prototype.parseTagName = function() {
3169
3191
  var t = this.offset();
3170
- for (this.bump(); !this.isEOF() && _i(this.char()); )
3192
+ for (this.bump(); !this.isEOF() && wi(this.char()); )
3171
3193
  this.bump();
3172
3194
  return this.message.slice(t, this.offset());
3173
3195
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3196,7 +3218,7 @@ var vi = (
3196
3218
  };
3197
3219
  }, e.prototype.tryParseLeftAngleBracket = function() {
3198
3220
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3199
- !yi(this.peek() || 0)) ? (this.bump(), "<") : null;
3221
+ !Ei(this.peek() || 0)) ? (this.bump(), "<") : null;
3200
3222
  }, e.prototype.tryParseQuote = function(t) {
3201
3223
  if (this.isEOF() || this.char() !== 39)
3202
3224
  return null;
@@ -3230,23 +3252,23 @@ var vi = (
3230
3252
  r.push(n);
3231
3253
  this.bump();
3232
3254
  }
3233
- return ht.apply(void 0, r);
3255
+ return ct.apply(void 0, r);
3234
3256
  }, e.prototype.tryParseUnquoted = function(t, r) {
3235
3257
  if (this.isEOF())
3236
3258
  return null;
3237
3259
  var n = this.char();
3238
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ht(n));
3260
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ct(n));
3239
3261
  }, e.prototype.parseArgument = function(t, r) {
3240
3262
  var n = this.clonePosition();
3241
3263
  if (this.bump(), this.bumpSpace(), this.isEOF())
3242
- return this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE, E(n, this.clonePosition()));
3264
+ return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, E(n, this.clonePosition()));
3243
3265
  if (this.char() === 125)
3244
- return this.bump(), this.error(x.EMPTY_ARGUMENT, E(n, this.clonePosition()));
3266
+ return this.bump(), this.error(_.EMPTY_ARGUMENT, E(n, this.clonePosition()));
3245
3267
  var i = this.parseIdentifierIfPossible().value;
3246
3268
  if (!i)
3247
- return this.error(x.MALFORMED_ARGUMENT, E(n, this.clonePosition()));
3269
+ return this.error(_.MALFORMED_ARGUMENT, E(n, this.clonePosition()));
3248
3270
  if (this.bumpSpace(), this.isEOF())
3249
- return this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE, E(n, this.clonePosition()));
3271
+ return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, E(n, this.clonePosition()));
3250
3272
  switch (this.char()) {
3251
3273
  case 125:
3252
3274
  return this.bump(), {
@@ -3259,12 +3281,12 @@ var vi = (
3259
3281
  err: null
3260
3282
  };
3261
3283
  case 44:
3262
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE, E(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3284
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, E(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3263
3285
  default:
3264
- return this.error(x.MALFORMED_ARGUMENT, E(n, this.clonePosition()));
3286
+ return this.error(_.MALFORMED_ARGUMENT, E(n, this.clonePosition()));
3265
3287
  }
3266
3288
  }, e.prototype.parseIdentifierIfPossible = function() {
3267
- var t = this.clonePosition(), r = this.offset(), n = ct(this.message, r), i = r + n.length;
3289
+ var t = this.clonePosition(), r = this.offset(), n = ft(this.message, r), i = r + n.length;
3268
3290
  this.bumpTo(i);
3269
3291
  var o = this.clonePosition(), s = E(t, o);
3270
3292
  return { value: n, location: s };
@@ -3272,7 +3294,7 @@ var vi = (
3272
3294
  var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, u = this.clonePosition();
3273
3295
  switch (a) {
3274
3296
  case "":
3275
- return this.error(x.EXPECT_ARGUMENT_TYPE, E(s, u));
3297
+ return this.error(_.EXPECT_ARGUMENT_TYPE, E(s, u));
3276
3298
  case "number":
3277
3299
  case "date":
3278
3300
  case "time": {
@@ -3283,37 +3305,37 @@ var vi = (
3283
3305
  var h = this.clonePosition(), p = this.parseSimpleArgStyleIfPossible();
3284
3306
  if (p.err)
3285
3307
  return p;
3286
- var f = gi(p.val);
3308
+ var f = _i(p.val);
3287
3309
  if (f.length === 0)
3288
- return this.error(x.EXPECT_ARGUMENT_STYLE, E(this.clonePosition(), this.clonePosition()));
3289
- var g = E(h, this.clonePosition());
3290
- l = { style: f, styleLocation: g };
3310
+ return this.error(_.EXPECT_ARGUMENT_STYLE, E(this.clonePosition(), this.clonePosition()));
3311
+ var v = E(h, this.clonePosition());
3312
+ l = { style: f, styleLocation: v };
3291
3313
  }
3292
- var y = this.tryParseArgumentClose(i);
3293
- if (y.err)
3294
- return y;
3295
- var _ = E(i, this.clonePosition());
3296
- if (l && Gt(l == null ? void 0 : l.style, "::", 0)) {
3297
- var A = bi(l.style.slice(2));
3314
+ var x = this.tryParseArgumentClose(i);
3315
+ if (x.err)
3316
+ return x;
3317
+ var b = E(i, this.clonePosition());
3318
+ if (l && Vt(l == null ? void 0 : l.style, "::", 0)) {
3319
+ var P = yi(l.style.slice(2));
3298
3320
  if (a === "number") {
3299
- var p = this.parseNumberSkeletonFromString(A, l.styleLocation);
3321
+ var p = this.parseNumberSkeletonFromString(P, l.styleLocation);
3300
3322
  return p.err ? p : {
3301
- val: { type: B.number, value: n, location: _, style: p.val },
3323
+ val: { type: B.number, value: n, location: b, style: p.val },
3302
3324
  err: null
3303
3325
  };
3304
3326
  } else {
3305
- if (A.length === 0)
3306
- return this.error(x.EXPECT_DATE_TIME_SKELETON, _);
3307
- var v = A;
3308
- this.locale && (v = ni(A, this.locale));
3327
+ if (P.length === 0)
3328
+ return this.error(_.EXPECT_DATE_TIME_SKELETON, b);
3329
+ var T = P;
3330
+ this.locale && (T = si(P, this.locale));
3309
3331
  var f = {
3310
3332
  type: me.dateTime,
3311
- pattern: v,
3333
+ pattern: T,
3312
3334
  location: l.styleLocation,
3313
- parsedOptions: this.shouldParseSkeletons ? Qn(v) : {}
3314
- }, F = a === "date" ? B.date : B.time;
3335
+ parsedOptions: this.shouldParseSkeletons ? Kn(T) : {}
3336
+ }, y = a === "date" ? B.date : B.time;
3315
3337
  return {
3316
- val: { type: F, value: n, location: _, style: f },
3338
+ val: { type: y, value: n, location: b, style: f },
3317
3339
  err: null
3318
3340
  };
3319
3341
  }
@@ -3322,7 +3344,7 @@ var vi = (
3322
3344
  val: {
3323
3345
  type: a === "number" ? B.number : a === "date" ? B.date : B.time,
3324
3346
  value: n,
3325
- location: _,
3347
+ location: b,
3326
3348
  style: (o = l == null ? void 0 : l.style) !== null && o !== void 0 ? o : null
3327
3349
  },
3328
3350
  err: null
@@ -3333,50 +3355,50 @@ var vi = (
3333
3355
  case "select": {
3334
3356
  var w = this.clonePosition();
3335
3357
  if (this.bumpSpace(), !this.bumpIf(","))
3336
- return this.error(x.EXPECT_SELECT_ARGUMENT_OPTIONS, E(w, S({}, w)));
3358
+ return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, E(w, S({}, w)));
3337
3359
  this.bumpSpace();
3338
- var O = this.parseIdentifierIfPossible(), I = 0;
3339
- if (a !== "select" && O.value === "offset") {
3360
+ var C = this.parseIdentifierIfPossible(), I = 0;
3361
+ if (a !== "select" && C.value === "offset") {
3340
3362
  if (!this.bumpIf(":"))
3341
- return this.error(x.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, E(this.clonePosition(), this.clonePosition()));
3363
+ return this.error(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, E(this.clonePosition(), this.clonePosition()));
3342
3364
  this.bumpSpace();
3343
- var p = this.tryParseDecimalInteger(x.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, x.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3365
+ var p = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3344
3366
  if (p.err)
3345
3367
  return p;
3346
- this.bumpSpace(), O = this.parseIdentifierIfPossible(), I = p.val;
3368
+ this.bumpSpace(), C = this.parseIdentifierIfPossible(), I = p.val;
3347
3369
  }
3348
- var C = this.tryParsePluralOrSelectOptions(t, a, r, O);
3349
- if (C.err)
3350
- return C;
3351
- var y = this.tryParseArgumentClose(i);
3352
- if (y.err)
3353
- return y;
3354
- var z = E(i, this.clonePosition());
3370
+ var N = this.tryParsePluralOrSelectOptions(t, a, r, C);
3371
+ if (N.err)
3372
+ return N;
3373
+ var x = this.tryParseArgumentClose(i);
3374
+ if (x.err)
3375
+ return x;
3376
+ var O = E(i, this.clonePosition());
3355
3377
  return a === "select" ? {
3356
3378
  val: {
3357
3379
  type: B.select,
3358
3380
  value: n,
3359
- options: kt(C.val),
3360
- location: z
3381
+ options: Xt(N.val),
3382
+ location: O
3361
3383
  },
3362
3384
  err: null
3363
3385
  } : {
3364
3386
  val: {
3365
3387
  type: B.plural,
3366
3388
  value: n,
3367
- options: kt(C.val),
3389
+ options: Xt(N.val),
3368
3390
  offset: I,
3369
3391
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3370
- location: z
3392
+ location: O
3371
3393
  },
3372
3394
  err: null
3373
3395
  };
3374
3396
  }
3375
3397
  default:
3376
- return this.error(x.INVALID_ARGUMENT_TYPE, E(s, u));
3398
+ return this.error(_.INVALID_ARGUMENT_TYPE, E(s, u));
3377
3399
  }
3378
3400
  }, e.prototype.tryParseArgumentClose = function(t) {
3379
- return this.isEOF() || this.char() !== 125 ? this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE, E(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3401
+ return this.isEOF() || this.char() !== 125 ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, E(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3380
3402
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3381
3403
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3382
3404
  var n = this.char();
@@ -3385,7 +3407,7 @@ var vi = (
3385
3407
  this.bump();
3386
3408
  var i = this.clonePosition();
3387
3409
  if (!this.bumpUntil("'"))
3388
- return this.error(x.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, E(i, this.clonePosition()));
3410
+ return this.error(_.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, E(i, this.clonePosition()));
3389
3411
  this.bump();
3390
3412
  break;
3391
3413
  }
@@ -3415,16 +3437,16 @@ var vi = (
3415
3437
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3416
3438
  var n = [];
3417
3439
  try {
3418
- n = Yn(t);
3440
+ n = ti(t);
3419
3441
  } catch (i) {
3420
- return this.error(x.INVALID_NUMBER_SKELETON, r);
3442
+ return this.error(_.INVALID_NUMBER_SKELETON, r);
3421
3443
  }
3422
3444
  return {
3423
3445
  val: {
3424
3446
  type: me.number,
3425
3447
  tokens: n,
3426
3448
  location: r,
3427
- parsedOptions: this.shouldParseSkeletons ? ri(n) : {}
3449
+ parsedOptions: this.shouldParseSkeletons ? oi(n) : {}
3428
3450
  },
3429
3451
  err: null
3430
3452
  };
@@ -3433,7 +3455,7 @@ var vi = (
3433
3455
  if (l.length === 0) {
3434
3456
  var p = this.clonePosition();
3435
3457
  if (r !== "select" && this.bumpIf("=")) {
3436
- var f = this.tryParseDecimalInteger(x.EXPECT_PLURAL_ARGUMENT_SELECTOR, x.INVALID_PLURAL_ARGUMENT_SELECTOR);
3458
+ var f = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_SELECTOR, _.INVALID_PLURAL_ARGUMENT_SELECTOR);
3437
3459
  if (f.err)
3438
3460
  return f;
3439
3461
  h = E(p, this.clonePosition()), l = this.message.slice(p.offset, this.offset());
@@ -3441,26 +3463,26 @@ var vi = (
3441
3463
  break;
3442
3464
  }
3443
3465
  if (u.has(l))
3444
- return this.error(r === "select" ? x.DUPLICATE_SELECT_ARGUMENT_SELECTOR : x.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3466
+ return this.error(r === "select" ? _.DUPLICATE_SELECT_ARGUMENT_SELECTOR : _.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3445
3467
  l === "other" && (s = !0), this.bumpSpace();
3446
- var g = this.clonePosition();
3468
+ var v = this.clonePosition();
3447
3469
  if (!this.bumpIf("{"))
3448
- return this.error(r === "select" ? x.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : x.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, E(this.clonePosition(), this.clonePosition()));
3449
- var y = this.parseMessage(t + 1, r, n);
3450
- if (y.err)
3451
- return y;
3452
- var _ = this.tryParseArgumentClose(g);
3453
- if (_.err)
3454
- return _;
3470
+ return this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : _.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, E(this.clonePosition(), this.clonePosition()));
3471
+ var x = this.parseMessage(t + 1, r, n);
3472
+ if (x.err)
3473
+ return x;
3474
+ var b = this.tryParseArgumentClose(v);
3475
+ if (b.err)
3476
+ return b;
3455
3477
  a.push([
3456
3478
  l,
3457
3479
  {
3458
- value: y.val,
3459
- location: E(g, this.clonePosition())
3480
+ value: x.val,
3481
+ location: E(v, this.clonePosition())
3460
3482
  }
3461
3483
  ]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, h = o.location;
3462
3484
  }
3463
- return a.length === 0 ? this.error(r === "select" ? x.EXPECT_SELECT_ARGUMENT_SELECTOR : x.EXPECT_PLURAL_ARGUMENT_SELECTOR, E(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(x.MISSING_OTHER_CLAUSE, E(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3485
+ return a.length === 0 ? this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR : _.EXPECT_PLURAL_ARGUMENT_SELECTOR, E(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(_.MISSING_OTHER_CLAUSE, E(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3464
3486
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3465
3487
  var n = 1, i = this.clonePosition();
3466
3488
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3472,7 +3494,7 @@ var vi = (
3472
3494
  break;
3473
3495
  }
3474
3496
  var u = E(i, this.clonePosition());
3475
- return o ? (s *= n, di(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3497
+ return o ? (s *= n, gi(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3476
3498
  }, e.prototype.offset = function() {
3477
3499
  return this.position.offset;
3478
3500
  }, e.prototype.isEOF = function() {
@@ -3487,7 +3509,7 @@ var vi = (
3487
3509
  var t = this.position.offset;
3488
3510
  if (t >= this.message.length)
3489
3511
  throw Error("out of bound");
3490
- var r = Sr(this.message, t);
3512
+ var r = Ar(this.message, t);
3491
3513
  if (r === void 0)
3492
3514
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3493
3515
  return r;
@@ -3506,7 +3528,7 @@ var vi = (
3506
3528
  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);
3507
3529
  }
3508
3530
  }, e.prototype.bumpIf = function(t) {
3509
- if (Gt(this.message, t, this.offset())) {
3531
+ if (Vt(this.message, t, this.offset())) {
3510
3532
  for (var r = 0; r < t.length; r++)
3511
3533
  this.bump();
3512
3534
  return !0;
@@ -3528,7 +3550,7 @@ var vi = (
3528
3550
  break;
3529
3551
  }
3530
3552
  }, e.prototype.bumpSpace = function() {
3531
- for (; !this.isEOF() && Tr(this.char()); )
3553
+ for (; !this.isEOF() && Br(this.char()); )
3532
3554
  this.bump();
3533
3555
  }, e.prototype.peek = function() {
3534
3556
  if (this.isEOF())
@@ -3538,37 +3560,37 @@ var vi = (
3538
3560
  }, e;
3539
3561
  }()
3540
3562
  );
3541
- function ft(e) {
3563
+ function pt(e) {
3542
3564
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3543
3565
  }
3544
- function yi(e) {
3545
- return ft(e) || e === 47;
3566
+ function Ei(e) {
3567
+ return pt(e) || e === 47;
3546
3568
  }
3547
- function _i(e) {
3569
+ function wi(e) {
3548
3570
  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;
3549
3571
  }
3550
- function Tr(e) {
3572
+ function Br(e) {
3551
3573
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3552
3574
  }
3553
- function xi(e) {
3575
+ function Si(e) {
3554
3576
  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;
3555
3577
  }
3556
- function pt(e) {
3578
+ function dt(e) {
3557
3579
  e.forEach(function(t) {
3558
- if (delete t.location, mr(t) || br(t))
3580
+ if (delete t.location, yr(t) || _r(t))
3559
3581
  for (var r in t.options)
3560
- delete t.options[r].location, pt(t.options[r].value);
3561
- else fr(t) && vr(t.style) || (pr(t) || dr(t)) && lt(t.style) ? delete t.style.location : gr(t) && pt(t.children);
3582
+ delete t.options[r].location, dt(t.options[r].value);
3583
+ else br(t) && Er(t.style) || (gr(t) || vr(t)) && ut(t.style) ? delete t.style.location : xr(t) && dt(t.children);
3562
3584
  });
3563
3585
  }
3564
- function Ei(e, t) {
3586
+ function Ti(e, t) {
3565
3587
  t === void 0 && (t = {}), t = S({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3566
- var r = new vi(e, t).parse();
3588
+ var r = new xi(e, t).parse();
3567
3589
  if (r.err) {
3568
- var n = SyntaxError(x[r.err.kind]);
3590
+ var n = SyntaxError(_[r.err.kind]);
3569
3591
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3570
3592
  }
3571
- return t != null && t.captureLocation || pt(r.val), r.val;
3593
+ return t != null && t.captureLocation || dt(r.val), r.val;
3572
3594
  }
3573
3595
  var be;
3574
3596
  (function(e) {
@@ -3577,7 +3599,7 @@ var be;
3577
3599
  var je = (
3578
3600
  /** @class */
3579
3601
  function(e) {
3580
- W(t, e);
3602
+ z(t, e);
3581
3603
  function t(r, n, i) {
3582
3604
  var o = e.call(this, r) || this;
3583
3605
  return o.code = n, o.originalMessage = i, o;
@@ -3586,28 +3608,28 @@ var je = (
3586
3608
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3587
3609
  }, t;
3588
3610
  }(Error)
3589
- ), Vt = (
3611
+ ), zt = (
3590
3612
  /** @class */
3591
3613
  function(e) {
3592
- W(t, e);
3614
+ z(t, e);
3593
3615
  function t(r, n, i, o) {
3594
3616
  return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), be.INVALID_VALUE, o) || this;
3595
3617
  }
3596
3618
  return t;
3597
3619
  }(je)
3598
- ), Si = (
3620
+ ), Hi = (
3599
3621
  /** @class */
3600
3622
  function(e) {
3601
- W(t, e);
3623
+ z(t, e);
3602
3624
  function t(r, n, i) {
3603
3625
  return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), be.INVALID_VALUE, i) || this;
3604
3626
  }
3605
3627
  return t;
3606
3628
  }(je)
3607
- ), wi = (
3629
+ ), Ai = (
3608
3630
  /** @class */
3609
3631
  function(e) {
3610
- W(t, e);
3632
+ z(t, e);
3611
3633
  function t(r, n) {
3612
3634
  return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), be.MISSING_VALUE, n) || this;
3613
3635
  }
@@ -3617,17 +3639,17 @@ var je = (
3617
3639
  (function(e) {
3618
3640
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3619
3641
  })(L || (L = {}));
3620
- function Ti(e) {
3642
+ function Fi(e) {
3621
3643
  return e.length < 2 ? e : e.reduce(function(t, r) {
3622
3644
  var n = t[t.length - 1];
3623
3645
  return !n || n.type !== L.literal || r.type !== L.literal ? t.push(r) : n.value += r.value, t;
3624
3646
  }, []);
3625
3647
  }
3626
- function Hi(e) {
3648
+ function Bi(e) {
3627
3649
  return typeof e == "function";
3628
3650
  }
3629
3651
  function Me(e, t, r, n, i, o, s) {
3630
- if (e.length === 1 && Rt(e[0]))
3652
+ if (e.length === 1 && $t(e[0]))
3631
3653
  return [
3632
3654
  {
3633
3655
  type: L.literal,
@@ -3636,14 +3658,14 @@ function Me(e, t, r, n, i, o, s) {
3636
3658
  ];
3637
3659
  for (var a = [], u = 0, l = e; u < l.length; u++) {
3638
3660
  var h = l[u];
3639
- if (Rt(h)) {
3661
+ if ($t(h)) {
3640
3662
  a.push({
3641
3663
  type: L.literal,
3642
3664
  value: h.value
3643
3665
  });
3644
3666
  continue;
3645
3667
  }
3646
- if (Zn(h)) {
3668
+ if (qn(h)) {
3647
3669
  typeof o == "number" && a.push({
3648
3670
  type: L.literal,
3649
3671
  value: r.getNumberFormat(t).format(o)
@@ -3652,89 +3674,89 @@ function Me(e, t, r, n, i, o, s) {
3652
3674
  }
3653
3675
  var p = h.value;
3654
3676
  if (!(i && p in i))
3655
- throw new wi(p, s);
3677
+ throw new Ai(p, s);
3656
3678
  var f = i[p];
3657
- if (zn(h)) {
3679
+ if (Qn(h)) {
3658
3680
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3659
3681
  type: typeof f == "string" ? L.literal : L.object,
3660
3682
  value: f
3661
3683
  });
3662
3684
  continue;
3663
3685
  }
3664
- if (pr(h)) {
3665
- var g = typeof h.style == "string" ? n.date[h.style] : lt(h.style) ? h.style.parsedOptions : void 0;
3686
+ if (gr(h)) {
3687
+ var v = typeof h.style == "string" ? n.date[h.style] : ut(h.style) ? h.style.parsedOptions : void 0;
3666
3688
  a.push({
3667
3689
  type: L.literal,
3668
- value: r.getDateTimeFormat(t, g).format(f)
3690
+ value: r.getDateTimeFormat(t, v).format(f)
3669
3691
  });
3670
3692
  continue;
3671
3693
  }
3672
- if (dr(h)) {
3673
- var g = typeof h.style == "string" ? n.time[h.style] : lt(h.style) ? h.style.parsedOptions : n.time.medium;
3694
+ if (vr(h)) {
3695
+ var v = typeof h.style == "string" ? n.time[h.style] : ut(h.style) ? h.style.parsedOptions : n.time.medium;
3674
3696
  a.push({
3675
3697
  type: L.literal,
3676
- value: r.getDateTimeFormat(t, g).format(f)
3698
+ value: r.getDateTimeFormat(t, v).format(f)
3677
3699
  });
3678
3700
  continue;
3679
3701
  }
3680
- if (fr(h)) {
3681
- var g = typeof h.style == "string" ? n.number[h.style] : vr(h.style) ? h.style.parsedOptions : void 0;
3682
- g && g.scale && (f = f * (g.scale || 1)), a.push({
3702
+ if (br(h)) {
3703
+ var v = typeof h.style == "string" ? n.number[h.style] : Er(h.style) ? h.style.parsedOptions : void 0;
3704
+ v && v.scale && (f = f * (v.scale || 1)), a.push({
3683
3705
  type: L.literal,
3684
- value: r.getNumberFormat(t, g).format(f)
3706
+ value: r.getNumberFormat(t, v).format(f)
3685
3707
  });
3686
3708
  continue;
3687
3709
  }
3688
- if (gr(h)) {
3689
- var y = h.children, _ = h.value, A = i[_];
3690
- if (!Hi(A))
3691
- throw new Si(_, "function", s);
3692
- var v = Me(y, t, r, n, i, o), F = A(v.map(function(I) {
3710
+ if (xr(h)) {
3711
+ var x = h.children, b = h.value, P = i[b];
3712
+ if (!Bi(P))
3713
+ throw new Hi(b, "function", s);
3714
+ var T = Me(x, t, r, n, i, o), y = P(T.map(function(I) {
3693
3715
  return I.value;
3694
3716
  }));
3695
- Array.isArray(F) || (F = [F]), a.push.apply(a, F.map(function(I) {
3717
+ Array.isArray(y) || (y = [y]), a.push.apply(a, y.map(function(I) {
3696
3718
  return {
3697
3719
  type: typeof I == "string" ? L.literal : L.object,
3698
3720
  value: I
3699
3721
  };
3700
3722
  }));
3701
3723
  }
3702
- if (mr(h)) {
3724
+ if (yr(h)) {
3703
3725
  var w = h.options[f] || h.options.other;
3704
3726
  if (!w)
3705
- throw new Vt(h.value, f, Object.keys(h.options), s);
3727
+ throw new zt(h.value, f, Object.keys(h.options), s);
3706
3728
  a.push.apply(a, Me(w.value, t, r, n, i));
3707
3729
  continue;
3708
3730
  }
3709
- if (br(h)) {
3731
+ if (_r(h)) {
3710
3732
  var w = h.options["=".concat(f)];
3711
3733
  if (!w) {
3712
3734
  if (!Intl.PluralRules)
3713
3735
  throw new je(`Intl.PluralRules is not available in this environment.
3714
3736
  Try polyfilling it using "@formatjs/intl-pluralrules"
3715
3737
  `, be.MISSING_INTL_API, s);
3716
- var O = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3717
- w = h.options[O] || h.options.other;
3738
+ var C = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3739
+ w = h.options[C] || h.options.other;
3718
3740
  }
3719
3741
  if (!w)
3720
- throw new Vt(h.value, f, Object.keys(h.options), s);
3742
+ throw new zt(h.value, f, Object.keys(h.options), s);
3721
3743
  a.push.apply(a, Me(w.value, t, r, n, i, f - (h.offset || 0)));
3722
3744
  continue;
3723
3745
  }
3724
3746
  }
3725
- return Ti(a);
3747
+ return Fi(a);
3726
3748
  }
3727
- function Ai(e, t) {
3749
+ function Pi(e, t) {
3728
3750
  return t ? S(S(S({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3729
3751
  return r[n] = S(S({}, e[n]), t[n] || {}), r;
3730
3752
  }, {})) : e;
3731
3753
  }
3732
- function Fi(e, t) {
3754
+ function Ci(e, t) {
3733
3755
  return t ? Object.keys(e).reduce(function(r, n) {
3734
- return r[n] = Ai(e[n], t[n]), r;
3756
+ return r[n] = Pi(e[n], t[n]), r;
3735
3757
  }, S({}, e)) : e;
3736
3758
  }
3737
- function Ye(e) {
3759
+ function Ke(e) {
3738
3760
  return {
3739
3761
  create: function() {
3740
3762
  return {
@@ -3748,39 +3770,39 @@ function Ye(e) {
3748
3770
  }
3749
3771
  };
3750
3772
  }
3751
- function Pi(e) {
3773
+ function Ii(e) {
3752
3774
  return e === void 0 && (e = {
3753
3775
  number: {},
3754
3776
  dateTime: {},
3755
3777
  pluralRules: {}
3756
3778
  }), {
3757
- getNumberFormat: Je(function() {
3779
+ getNumberFormat: Qe(function() {
3758
3780
  for (var t, r = [], n = 0; n < arguments.length; n++)
3759
3781
  r[n] = arguments[n];
3760
3782
  return new ((t = Intl.NumberFormat).bind.apply(t, pe([void 0], r, !1)))();
3761
3783
  }, {
3762
- cache: Ye(e.number),
3763
- strategy: Qe.variadic
3784
+ cache: Ke(e.number),
3785
+ strategy: qe.variadic
3764
3786
  }),
3765
- getDateTimeFormat: Je(function() {
3787
+ getDateTimeFormat: Qe(function() {
3766
3788
  for (var t, r = [], n = 0; n < arguments.length; n++)
3767
3789
  r[n] = arguments[n];
3768
3790
  return new ((t = Intl.DateTimeFormat).bind.apply(t, pe([void 0], r, !1)))();
3769
3791
  }, {
3770
- cache: Ye(e.dateTime),
3771
- strategy: Qe.variadic
3792
+ cache: Ke(e.dateTime),
3793
+ strategy: qe.variadic
3772
3794
  }),
3773
- getPluralRules: Je(function() {
3795
+ getPluralRules: Qe(function() {
3774
3796
  for (var t, r = [], n = 0; n < arguments.length; n++)
3775
3797
  r[n] = arguments[n];
3776
3798
  return new ((t = Intl.PluralRules).bind.apply(t, pe([void 0], r, !1)))();
3777
3799
  }, {
3778
- cache: Ye(e.pluralRules),
3779
- strategy: Qe.variadic
3800
+ cache: Ke(e.pluralRules),
3801
+ strategy: qe.variadic
3780
3802
  })
3781
3803
  };
3782
3804
  }
3783
- var Bi = (
3805
+ var Oi = (
3784
3806
  /** @class */
3785
3807
  function() {
3786
3808
  function e(t, r, n, i) {
@@ -3812,13 +3834,13 @@ var Bi = (
3812
3834
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3813
3835
  var s = i || {};
3814
3836
  s.formatters;
3815
- var a = ln(s, ["formatters"]);
3837
+ var a = fn(s, ["formatters"]);
3816
3838
  this.ast = e.__parse(t, S(S({}, a), { locale: this.resolvedLocale }));
3817
3839
  } else
3818
3840
  this.ast = t;
3819
3841
  if (!Array.isArray(this.ast))
3820
3842
  throw new TypeError("A message must be provided as a String or AST.");
3821
- this.formats = Fi(e.formats, n), this.formatters = i && i.formatters || Pi(this.formatterCache);
3843
+ this.formats = Ci(e.formats, n), this.formatters = i && i.formatters || Ii(this.formatterCache);
3822
3844
  }
3823
3845
  return Object.defineProperty(e, "defaultLocale", {
3824
3846
  get: function() {
@@ -3831,7 +3853,7 @@ var Bi = (
3831
3853
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3832
3854
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3833
3855
  }
3834
- }, e.__parse = Ei, e.formats = {
3856
+ }, e.__parse = Ti, e.formats = {
3835
3857
  number: {
3836
3858
  integer: {
3837
3859
  maximumFractionDigits: 0
@@ -3892,7 +3914,7 @@ var Bi = (
3892
3914
  }, e;
3893
3915
  }()
3894
3916
  );
3895
- function Ci(e, t) {
3917
+ function Li(e, t) {
3896
3918
  if (t == null)
3897
3919
  return;
3898
3920
  if (t in e)
@@ -3913,92 +3935,92 @@ function Ci(e, t) {
3913
3935
  n = void 0;
3914
3936
  return n;
3915
3937
  }
3916
- const J = {}, Ii = (e, t, r) => r && (t in J || (J[t] = {}), e in J[t] || (J[t][e] = r), r), Hr = (e, t) => {
3938
+ const Q = {}, Ni = (e, t, r) => r && (t in Q || (Q[t] = {}), e in Q[t] || (Q[t][e] = r), r), Pr = (e, t) => {
3917
3939
  if (t == null)
3918
3940
  return;
3919
- if (t in J && e in J[t])
3920
- return J[t][e];
3941
+ if (t in Q && e in Q[t])
3942
+ return Q[t][e];
3921
3943
  const r = Ve(t);
3922
3944
  for (let n = 0; n < r.length; n++) {
3923
- const i = r[n], o = Li(i, e);
3945
+ const i = r[n], o = Ri(i, e);
3924
3946
  if (o)
3925
- return Ii(e, t, o);
3947
+ return Ni(e, t, o);
3926
3948
  }
3927
3949
  };
3928
- let gt;
3950
+ let _t;
3929
3951
  const ye = ke({});
3930
- function Oi(e) {
3931
- return gt[e] || null;
3952
+ function Mi(e) {
3953
+ return _t[e] || null;
3932
3954
  }
3933
- function Ar(e) {
3934
- return e in gt;
3955
+ function Cr(e) {
3956
+ return e in _t;
3935
3957
  }
3936
- function Li(e, t) {
3937
- if (!Ar(e))
3958
+ function Ri(e, t) {
3959
+ if (!Cr(e))
3938
3960
  return null;
3939
- const r = Oi(e);
3940
- return Ci(r, t);
3961
+ const r = Mi(e);
3962
+ return Li(r, t);
3941
3963
  }
3942
- function Ni(e) {
3964
+ function Di(e) {
3943
3965
  if (e == null)
3944
3966
  return;
3945
3967
  const t = Ve(e);
3946
3968
  for (let r = 0; r < t.length; r++) {
3947
3969
  const n = t[r];
3948
- if (Ar(n))
3970
+ if (Cr(n))
3949
3971
  return n;
3950
3972
  }
3951
3973
  }
3952
- function Fr(e, ...t) {
3953
- delete J[e], ye.update((r) => (r[e] = $n.all([r[e] || {}, ...t]), r));
3974
+ function Ir(e, ...t) {
3975
+ delete Q[e], ye.update((r) => (r[e] = jn.all([r[e] || {}, ...t]), r));
3954
3976
  }
3955
3977
  ve(
3956
3978
  [ye],
3957
3979
  ([e]) => Object.keys(e)
3958
3980
  );
3959
- ye.subscribe((e) => gt = e);
3981
+ ye.subscribe((e) => _t = e);
3960
3982
  const Re = {};
3961
- function Mi(e, t) {
3983
+ function Ui(e, t) {
3962
3984
  Re[e].delete(t), Re[e].size === 0 && delete Re[e];
3963
3985
  }
3964
- function Pr(e) {
3986
+ function Or(e) {
3965
3987
  return Re[e];
3966
3988
  }
3967
- function Ri(e) {
3989
+ function $i(e) {
3968
3990
  return Ve(e).map((t) => {
3969
- const r = Pr(t);
3991
+ const r = Or(t);
3970
3992
  return [t, r ? [...r] : []];
3971
3993
  }).filter(([, t]) => t.length > 0);
3972
3994
  }
3973
- function dt(e) {
3995
+ function mt(e) {
3974
3996
  return e == null ? !1 : Ve(e).some(
3975
3997
  (t) => {
3976
3998
  var r;
3977
- return (r = Pr(t)) == null ? void 0 : r.size;
3999
+ return (r = Or(t)) == null ? void 0 : r.size;
3978
4000
  }
3979
4001
  );
3980
4002
  }
3981
- function Di(e, t) {
4003
+ function Gi(e, t) {
3982
4004
  return Promise.all(
3983
- t.map((n) => (Mi(e, n), n().then((i) => i.default || i)))
3984
- ).then((n) => Fr(e, ...n));
4005
+ t.map((n) => (Ui(e, n), n().then((i) => i.default || i)))
4006
+ ).then((n) => Ir(e, ...n));
3985
4007
  }
3986
4008
  const xe = {};
3987
- function Br(e) {
3988
- if (!dt(e))
4009
+ function Lr(e) {
4010
+ if (!mt(e))
3989
4011
  return e in xe ? xe[e] : Promise.resolve();
3990
- const t = Ri(e);
4012
+ const t = $i(e);
3991
4013
  return xe[e] = Promise.all(
3992
4014
  t.map(
3993
- ([r, n]) => Di(r, n)
4015
+ ([r, n]) => Gi(r, n)
3994
4016
  )
3995
4017
  ).then(() => {
3996
- if (dt(e))
3997
- return Br(e);
4018
+ if (mt(e))
4019
+ return Lr(e);
3998
4020
  delete xe[e];
3999
4021
  }), xe[e];
4000
4022
  }
4001
- const $i = {
4023
+ const ki = {
4002
4024
  number: {
4003
4025
  scientific: { notation: "scientific" },
4004
4026
  engineering: { notation: "engineering" },
@@ -4027,57 +4049,57 @@ const $i = {
4027
4049
  timeZoneName: "short"
4028
4050
  }
4029
4051
  }
4030
- }, Ui = {
4052
+ }, ji = {
4031
4053
  fallbackLocale: null,
4032
4054
  loadingDelay: 200,
4033
- formats: $i,
4055
+ formats: ki,
4034
4056
  warnOnMissingMessages: !0,
4035
4057
  handleMissingMessage: void 0,
4036
4058
  ignoreTag: !0
4037
- }, Gi = Ui;
4059
+ }, Vi = ji;
4038
4060
  function ge() {
4039
- return Gi;
4061
+ return Vi;
4040
4062
  }
4041
- const Ke = ke(!1);
4042
- var ki = Object.defineProperty, ji = Object.defineProperties, Vi = Object.getOwnPropertyDescriptors, Xt = Object.getOwnPropertySymbols, Xi = Object.prototype.hasOwnProperty, Wi = Object.prototype.propertyIsEnumerable, Wt = (e, t, r) => t in e ? ki(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, zi = (e, t) => {
4063
+ const et = ke(!1);
4064
+ var Xi = Object.defineProperty, Wi = Object.defineProperties, zi = Object.getOwnPropertyDescriptors, Zt = Object.getOwnPropertySymbols, Zi = Object.prototype.hasOwnProperty, Ji = Object.prototype.propertyIsEnumerable, Jt = (e, t, r) => t in e ? Xi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Qi = (e, t) => {
4043
4065
  for (var r in t || (t = {}))
4044
- Xi.call(t, r) && Wt(e, r, t[r]);
4045
- if (Xt)
4046
- for (var r of Xt(t))
4047
- Wi.call(t, r) && Wt(e, r, t[r]);
4066
+ Zi.call(t, r) && Jt(e, r, t[r]);
4067
+ if (Zt)
4068
+ for (var r of Zt(t))
4069
+ Ji.call(t, r) && Jt(e, r, t[r]);
4048
4070
  return e;
4049
- }, Zi = (e, t) => ji(e, Vi(t));
4050
- let mt;
4051
- const $e = ke(null);
4052
- function zt(e) {
4071
+ }, qi = (e, t) => Wi(e, zi(t));
4072
+ let bt;
4073
+ const Ue = ke(null);
4074
+ function Qt(e) {
4053
4075
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4054
4076
  }
4055
4077
  function Ve(e, t = ge().fallbackLocale) {
4056
- const r = zt(e);
4057
- return t ? [.../* @__PURE__ */ new Set([...r, ...zt(t)])] : r;
4078
+ const r = Qt(e);
4079
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Qt(t)])] : r;
4058
4080
  }
4059
4081
  function re() {
4060
- return mt != null ? mt : void 0;
4082
+ return bt != null ? bt : void 0;
4061
4083
  }
4062
- $e.subscribe((e) => {
4063
- mt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4084
+ Ue.subscribe((e) => {
4085
+ bt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4064
4086
  });
4065
- const Ji = (e) => {
4066
- if (e && Ni(e) && dt(e)) {
4087
+ const Yi = (e) => {
4088
+ if (e && Di(e) && mt(e)) {
4067
4089
  const { loadingDelay: t } = ge();
4068
4090
  let r;
4069
4091
  return typeof window != "undefined" && re() != null && t ? r = window.setTimeout(
4070
- () => Ke.set(!0),
4092
+ () => et.set(!0),
4071
4093
  t
4072
- ) : Ke.set(!0), Br(e).then(() => {
4073
- $e.set(e);
4094
+ ) : et.set(!0), Lr(e).then(() => {
4095
+ Ue.set(e);
4074
4096
  }).finally(() => {
4075
- clearTimeout(r), Ke.set(!1);
4097
+ clearTimeout(r), et.set(!1);
4076
4098
  });
4077
4099
  }
4078
- return $e.set(e);
4079
- }, ee = Zi(zi({}, $e), {
4080
- set: Ji
4100
+ return Ue.set(e);
4101
+ }, ee = qi(Qi({}, Ue), {
4102
+ set: Yi
4081
4103
  }), Xe = (e) => {
4082
4104
  const t = /* @__PURE__ */ Object.create(null);
4083
4105
  return (n) => {
@@ -4085,20 +4107,20 @@ const Ji = (e) => {
4085
4107
  return i in t ? t[i] : t[i] = e(n);
4086
4108
  };
4087
4109
  };
4088
- var Qi = Object.defineProperty, Ue = Object.getOwnPropertySymbols, Cr = Object.prototype.hasOwnProperty, Ir = Object.prototype.propertyIsEnumerable, Zt = (e, t, r) => t in e ? Qi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, vt = (e, t) => {
4110
+ var Ki = Object.defineProperty, $e = Object.getOwnPropertySymbols, Nr = Object.prototype.hasOwnProperty, Mr = Object.prototype.propertyIsEnumerable, qt = (e, t, r) => t in e ? Ki(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, xt = (e, t) => {
4089
4111
  for (var r in t || (t = {}))
4090
- Cr.call(t, r) && Zt(e, r, t[r]);
4091
- if (Ue)
4092
- for (var r of Ue(t))
4093
- Ir.call(t, r) && Zt(e, r, t[r]);
4112
+ Nr.call(t, r) && qt(e, r, t[r]);
4113
+ if ($e)
4114
+ for (var r of $e(t))
4115
+ Mr.call(t, r) && qt(e, r, t[r]);
4094
4116
  return e;
4095
4117
  }, _e = (e, t) => {
4096
4118
  var r = {};
4097
4119
  for (var n in e)
4098
- Cr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4099
- if (e != null && Ue)
4100
- for (var n of Ue(e))
4101
- t.indexOf(n) < 0 && Ir.call(e, n) && (r[n] = e[n]);
4120
+ Nr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4121
+ if (e != null && $e)
4122
+ for (var n of $e(e))
4123
+ t.indexOf(n) < 0 && Mr.call(e, n) && (r[n] = e[n]);
4102
4124
  return r;
4103
4125
  };
4104
4126
  const Te = (e, t) => {
@@ -4106,21 +4128,21 @@ const Te = (e, t) => {
4106
4128
  if (e in r && t in r[e])
4107
4129
  return r[e][t];
4108
4130
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4109
- }, qi = Xe(
4131
+ }, eo = Xe(
4110
4132
  (e) => {
4111
4133
  var t = e, { locale: r, format: n } = t, i = _e(t, ["locale", "format"]);
4112
4134
  if (r == null)
4113
4135
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4114
4136
  return n && (i = Te("number", n)), new Intl.NumberFormat(r, i);
4115
4137
  }
4116
- ), Yi = Xe(
4138
+ ), to = Xe(
4117
4139
  (e) => {
4118
4140
  var t = e, { locale: r, format: n } = t, i = _e(t, ["locale", "format"]);
4119
4141
  if (r == null)
4120
4142
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4121
4143
  return n ? i = Te("date", n) : Object.keys(i).length === 0 && (i = Te("date", "short")), new Intl.DateTimeFormat(r, i);
4122
4144
  }
4123
- ), Ki = Xe(
4145
+ ), ro = Xe(
4124
4146
  (e) => {
4125
4147
  var t = e, { locale: r, format: n } = t, i = _e(t, ["locale", "format"]);
4126
4148
  if (r == null)
@@ -4129,33 +4151,33 @@ const Te = (e, t) => {
4129
4151
  );
4130
4152
  return n ? i = Te("time", n) : Object.keys(i).length === 0 && (i = Te("time", "short")), new Intl.DateTimeFormat(r, i);
4131
4153
  }
4132
- ), eo = (e = {}) => {
4154
+ ), no = (e = {}) => {
4133
4155
  var t = e, {
4134
4156
  locale: r = re()
4135
4157
  } = t, n = _e(t, [
4136
4158
  "locale"
4137
4159
  ]);
4138
- return qi(vt({ locale: r }, n));
4139
- }, to = (e = {}) => {
4160
+ return eo(xt({ locale: r }, n));
4161
+ }, io = (e = {}) => {
4140
4162
  var t = e, {
4141
4163
  locale: r = re()
4142
4164
  } = t, n = _e(t, [
4143
4165
  "locale"
4144
4166
  ]);
4145
- return Yi(vt({ locale: r }, n));
4146
- }, ro = (e = {}) => {
4167
+ return to(xt({ locale: r }, n));
4168
+ }, oo = (e = {}) => {
4147
4169
  var t = e, {
4148
4170
  locale: r = re()
4149
4171
  } = t, n = _e(t, [
4150
4172
  "locale"
4151
4173
  ]);
4152
- return Ki(vt({ locale: r }, n));
4153
- }, no = Xe(
4174
+ return ro(xt({ locale: r }, n));
4175
+ }, so = Xe(
4154
4176
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4155
- (e, t = re()) => new Bi(e, t, ge().formats, {
4177
+ (e, t = re()) => new Oi(e, t, ge().formats, {
4156
4178
  ignoreTag: ge().ignoreTag
4157
4179
  })
4158
- ), io = (e, t = {}) => {
4180
+ ), ao = (e, t = {}) => {
4159
4181
  var r, n, i, o;
4160
4182
  let s = t;
4161
4183
  typeof e == "object" && (s = e, e = s.id);
@@ -4168,7 +4190,7 @@ const Te = (e, t) => {
4168
4190
  throw new Error(
4169
4191
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4170
4192
  );
4171
- let h = Hr(e, u);
4193
+ let h = Pr(e, u);
4172
4194
  if (!h)
4173
4195
  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;
4174
4196
  else if (typeof h != "string")
@@ -4179,7 +4201,7 @@ const Te = (e, t) => {
4179
4201
  return h;
4180
4202
  let p = h;
4181
4203
  try {
4182
- p = no(h, u).format(a);
4204
+ p = so(h, u).format(a);
4183
4205
  } catch (f) {
4184
4206
  f instanceof Error && console.warn(
4185
4207
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4187,22 +4209,45 @@ const Te = (e, t) => {
4187
4209
  );
4188
4210
  }
4189
4211
  return p;
4190
- }, oo = (e, t) => ro(t).format(e), so = (e, t) => to(t).format(e), ao = (e, t) => eo(t).format(e), lo = (e, t = re()) => Hr(e, t), uo = ve([ee, ye], () => io);
4191
- ve([ee], () => oo);
4192
- ve([ee], () => so);
4193
- ve([ee], () => ao);
4194
- ve([ee, ye], () => lo);
4195
- window.emWidgets = { topic: En };
4196
- const ho = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4197
- function co({ withLocale: e, translations: t }) {
4212
+ }, lo = (e, t) => oo(t).format(e), uo = (e, t) => io(t).format(e), ho = (e, t) => no(t).format(e), co = (e, t = re()) => Pr(e, t), fo = ve([ee, ye], () => ao);
4213
+ ve([ee], () => lo);
4214
+ ve([ee], () => uo);
4215
+ ve([ee], () => ho);
4216
+ ve([ee, ye], () => co);
4217
+ window.emWidgets = { topic: Hn };
4218
+ const po = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4219
+ function mo(e, t) {
4220
+ if (e) {
4221
+ const r = document.createElement("style");
4222
+ r.innerHTML = t, e.appendChild(r);
4223
+ }
4224
+ }
4225
+ function bo(e, t) {
4226
+ const r = new URL(t);
4227
+ fetch(r.href).then((n) => n.text()).then((n) => {
4228
+ const i = document.createElement("style");
4229
+ i.innerHTML = n, e && e.appendChild(i);
4230
+ }).catch((n) => {
4231
+ console.error("There was an error while trying to load client styling from URL", n);
4232
+ });
4233
+ }
4234
+ function go(e, t, r) {
4235
+ if (window.emMessageBus) {
4236
+ const n = document.createElement("style");
4237
+ window.emMessageBus.subscribe(t, (i) => {
4238
+ n.innerHTML = i, e && e.appendChild(n);
4239
+ });
4240
+ }
4241
+ }
4242
+ function vo({ withLocale: e, translations: t }) {
4198
4243
  ee.subscribe((r) => {
4199
4244
  r == null && (ye.set(t), ee.set(e));
4200
4245
  });
4201
4246
  }
4202
- function Jt(e, t) {
4203
- Fr(e, t);
4247
+ function Yt(e, t) {
4248
+ Ir(e, t);
4204
4249
  }
4205
- const Qt = {
4250
+ const Kt = {
4206
4251
  en: {
4207
4252
  providers: "Providers:",
4208
4253
  filterby: "Filter by:",
@@ -4312,202 +4357,202 @@ const Qt = {
4312
4357
  clear: "Clear all"
4313
4358
  }
4314
4359
  };
4315
- function fo(e) {
4316
- Ur(e, "svelte-1v7rv6n", ':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:16}.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, #D0046C))}.FilterItem input:checked~.FiltersCheckmark{background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.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 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, #D0046C));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));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%}}');
4360
+ function yo(e) {
4361
+ Vr(e, "svelte-1v7rv6n", ':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:16}.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, #D0046C))}.FilterItem input:checked~.FiltersCheckmark{background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.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 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, #D0046C));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));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%}}');
4317
4362
  }
4318
- function qt(e, t, r) {
4363
+ function er(e, t, r) {
4319
4364
  const n = e.slice();
4320
4365
  return n[36] = t[r], n[37] = t, n[38] = r, n;
4321
4366
  }
4322
- function po(e) {
4367
+ function _o(e) {
4323
4368
  let t, r, n, i, o, s, a, u, l = (
4324
4369
  /*$_*/
4325
4370
  e[11]("filterby") + ""
4326
- ), h, p, f, g, y = (
4371
+ ), h, p, f, v, x = (
4327
4372
  /*$_*/
4328
4373
  e[11]("providers") + ""
4329
- ), _, A, v, F, w, O, I, C, z, j, q, He, U, ne = (
4374
+ ), b, P, T, y, w, C, I, N, O, G, Z, He, k, ne = (
4330
4375
  /*$_*/
4331
4376
  e[11]("clear") + ""
4332
4377
  ), ie, Y, oe, K, se, Ae;
4333
- function Fe(d, H) {
4378
+ function Fe(d, A) {
4334
4379
  return (
4335
4380
  /*fullSelection*/
4336
- d[7] ? go : bo
4381
+ d[7] ? wo : Eo
4337
4382
  );
4338
4383
  }
4339
- let ae = Fe(e), N = ae(e), Z = Ft(
4384
+ let ae = Fe(e), R = ae(e), J = Ct(
4340
4385
  /*vendorArray*/
4341
4386
  e[5]
4342
4387
  ), c = [];
4343
- for (let d = 0; d < Z.length; d += 1)
4344
- c[d] = Yt(qt(e, Z, d));
4388
+ for (let d = 0; d < J.length; d += 1)
4389
+ c[d] = tr(er(e, J, d));
4345
4390
  return {
4346
4391
  c() {
4347
- t = P("div"), r = P("div"), n = P("div"), i = Ce("svg"), o = Ce("path"), s = G(), a = P("div"), u = P("span"), h = D(l), p = G(), f = P("div"), g = P("span"), _ = D(y), A = G(), N.c(), v = G(), F = P("span"), w = Ce("svg"), O = Ce("path"), z = G(), j = P("div"), q = P("ul");
4392
+ t = F("div"), r = F("div"), n = F("div"), i = Ce("svg"), o = Ce("path"), s = j(), a = F("div"), u = F("span"), h = U(l), p = j(), f = F("div"), v = F("span"), b = U(x), P = j(), R.c(), T = j(), y = F("span"), w = Ce("svg"), C = Ce("path"), O = j(), G = F("div"), Z = F("ul");
4348
4393
  for (let d = 0; d < c.length; d += 1)
4349
4394
  c[d].c();
4350
- He = G(), U = P("button"), ie = D(ne), 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(O, "id", "arrow"), m(O, "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(O, "transform", "translate(-274.511 -441.088)"), m(O, "fill", "#d1d1d1"), m(w, "xmlns", "http://www.w3.org/2000/svg"), m(w, "width", "14"), m(w, "height", "6.835"), m(w, "viewBox", "0 0 14 6.835"), m(F, "class", I = "TriangleInactive " + /*isFilterActive*/
4351
- (e[4] ? "TriangleActive" : "")), m(r, "class", C = "FilterSelector " + /*isFilterActive*/
4352
- (e[4] ? "FilterSelectorOpen" : "")), m(q, "class", "FilterDropdown"), m(U, "class", "ClearFilters"), U.disabled = Y = /*fullSelection*/
4395
+ He = j(), k = F("button"), ie = U(ne), 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(w, "xmlns", "http://www.w3.org/2000/svg"), m(w, "width", "14"), m(w, "height", "6.835"), m(w, "viewBox", "0 0 14 6.835"), m(y, "class", I = "TriangleInactive " + /*isFilterActive*/
4396
+ (e[4] ? "TriangleActive" : "")), m(r, "class", N = "FilterSelector " + /*isFilterActive*/
4397
+ (e[4] ? "FilterSelectorOpen" : "")), m(Z, "class", "FilterDropdown"), m(k, "class", "ClearFilters"), k.disabled = Y = /*fullSelection*/
4353
4398
  e[7] && /*selectedVendorArray*/
4354
4399
  e[6].length != /*vendorArray*/
4355
- e[5].length, m(j, "class", oe = "FilterDropdownContainer " + /*isFilterActive*/
4400
+ e[5].length, m(G, "class", oe = "FilterDropdownContainer " + /*isFilterActive*/
4356
4401
  (e[4] ? "FilterOpen" : "")), m(t, "class", K = "FilterContainer " + /*addfilterselector*/
4357
4402
  (e[0] == "true" && /*addsortingselector*/
4358
4403
  e[1] == "true" ? "FilerContainerSplit" : ""));
4359
4404
  },
4360
- m(d, H) {
4361
- X(d, t, H), b(t, r), b(r, n), b(n, i), b(i, o), b(n, s), b(n, a), b(a, u), b(u, h), b(a, p), b(a, f), b(f, g), b(g, _), b(f, A), N.m(f, null), b(r, v), b(r, F), b(F, w), b(w, O), b(t, z), b(t, j), b(j, q);
4362
- for (let T = 0; T < c.length; T += 1)
4363
- c[T] && c[T].m(q, null);
4364
- b(j, He), b(j, U), b(U, ie), se || (Ae = [
4405
+ m(d, A) {
4406
+ W(d, t, A), g(t, r), g(r, n), g(n, i), g(i, o), g(n, s), g(n, a), g(a, u), g(u, h), g(a, p), g(a, f), g(f, v), g(v, b), g(f, P), R.m(f, null), g(r, T), g(r, y), g(y, w), g(w, C), g(t, O), g(t, G), g(G, Z);
4407
+ for (let H = 0; H < c.length; H += 1)
4408
+ c[H] && c[H].m(Z, null);
4409
+ g(G, He), g(G, k), g(k, ie), se || (Ae = [
4365
4410
  De(
4366
4411
  r,
4367
4412
  "click",
4368
4413
  /*click_handler*/
4369
- e[22]
4414
+ e[23]
4370
4415
  ),
4371
4416
  De(
4372
- U,
4417
+ k,
4373
4418
  "click",
4374
4419
  /*click_handler_2*/
4375
- e[25]
4420
+ e[26]
4376
4421
  )
4377
4422
  ], se = !0);
4378
4423
  },
4379
- p(d, H) {
4380
- if (H[0] & /*$_*/
4424
+ p(d, A) {
4425
+ if (A[0] & /*$_*/
4381
4426
  2048 && l !== (l = /*$_*/
4382
- d[11]("filterby") + "") && Q(h, l), H[0] & /*$_*/
4383
- 2048 && y !== (y = /*$_*/
4384
- d[11]("providers") + "") && Q(_, y), ae === (ae = Fe(d)) && N ? N.p(d, H) : (N.d(1), N = ae(d), N && (N.c(), N.m(f, null))), H[0] & /*isFilterActive*/
4427
+ d[11]("filterby") + "") && q(h, l), A[0] & /*$_*/
4428
+ 2048 && x !== (x = /*$_*/
4429
+ d[11]("providers") + "") && q(b, x), ae === (ae = Fe(d)) && R ? R.p(d, A) : (R.d(1), R = ae(d), R && (R.c(), R.m(f, null))), A[0] & /*isFilterActive*/
4385
4430
  16 && I !== (I = "TriangleInactive " + /*isFilterActive*/
4386
- (d[4] ? "TriangleActive" : "")) && m(F, "class", I), H[0] & /*isFilterActive*/
4387
- 16 && C !== (C = "FilterSelector " + /*isFilterActive*/
4388
- (d[4] ? "FilterSelectorOpen" : "")) && m(r, "class", C), H[0] & /*filterbylogo, vendorArray, filterByVendors*/
4431
+ (d[4] ? "TriangleActive" : "")) && m(y, "class", I), A[0] & /*isFilterActive*/
4432
+ 16 && N !== (N = "FilterSelector " + /*isFilterActive*/
4433
+ (d[4] ? "FilterSelectorOpen" : "")) && m(r, "class", N), A[0] & /*filterbylogo, vendorArray, filterByVendors*/
4389
4434
  8228) {
4390
- Z = Ft(
4435
+ J = Ct(
4391
4436
  /*vendorArray*/
4392
4437
  d[5]
4393
4438
  );
4394
- let T;
4395
- for (T = 0; T < Z.length; T += 1) {
4396
- const le = qt(d, Z, T);
4397
- c[T] ? c[T].p(le, H) : (c[T] = Yt(le), c[T].c(), c[T].m(q, null));
4439
+ let H;
4440
+ for (H = 0; H < J.length; H += 1) {
4441
+ const le = er(d, J, H);
4442
+ c[H] ? c[H].p(le, A) : (c[H] = tr(le), c[H].c(), c[H].m(Z, null));
4398
4443
  }
4399
- for (; T < c.length; T += 1)
4400
- c[T].d(1);
4401
- c.length = Z.length;
4444
+ for (; H < c.length; H += 1)
4445
+ c[H].d(1);
4446
+ c.length = J.length;
4402
4447
  }
4403
- H[0] & /*$_*/
4448
+ A[0] & /*$_*/
4404
4449
  2048 && ne !== (ne = /*$_*/
4405
- d[11]("clear") + "") && Q(ie, ne), H[0] & /*fullSelection, selectedVendorArray, vendorArray*/
4450
+ d[11]("clear") + "") && q(ie, ne), A[0] & /*fullSelection, selectedVendorArray, vendorArray*/
4406
4451
  224 && Y !== (Y = /*fullSelection*/
4407
4452
  d[7] && /*selectedVendorArray*/
4408
4453
  d[6].length != /*vendorArray*/
4409
- d[5].length) && (U.disabled = Y), H[0] & /*isFilterActive*/
4454
+ d[5].length) && (k.disabled = Y), A[0] & /*isFilterActive*/
4410
4455
  16 && oe !== (oe = "FilterDropdownContainer " + /*isFilterActive*/
4411
- (d[4] ? "FilterOpen" : "")) && m(j, "class", oe), H[0] & /*addfilterselector, addsortingselector*/
4456
+ (d[4] ? "FilterOpen" : "")) && m(G, "class", oe), A[0] & /*addfilterselector, addsortingselector*/
4412
4457
  3 && K !== (K = "FilterContainer " + /*addfilterselector*/
4413
4458
  (d[0] == "true" && /*addsortingselector*/
4414
4459
  d[1] == "true" ? "FilerContainerSplit" : "")) && m(t, "class", K);
4415
4460
  },
4416
4461
  d(d) {
4417
- d && k(t), N.d(), jr(c, d), se = !1, te(Ae);
4462
+ d && V(t), R.d(), zr(c, d), se = !1, te(Ae);
4418
4463
  }
4419
4464
  };
4420
4465
  }
4421
- function mo(e) {
4466
+ function xo(e) {
4422
4467
  let t, r = (
4423
4468
  /*$_*/
4424
4469
  e[11]("500") + ""
4425
4470
  ), n;
4426
4471
  return {
4427
4472
  c() {
4428
- t = P("p"), n = D(r), m(t, "class", "SearchLoading");
4473
+ t = F("p"), n = U(r), m(t, "class", "SearchLoading");
4429
4474
  },
4430
4475
  m(i, o) {
4431
- X(i, t, o), b(t, n);
4476
+ W(i, t, o), g(t, n);
4432
4477
  },
4433
4478
  p(i, o) {
4434
4479
  o[0] & /*$_*/
4435
4480
  2048 && r !== (r = /*$_*/
4436
- i[11]("500") + "") && Q(n, r);
4481
+ i[11]("500") + "") && q(n, r);
4437
4482
  },
4438
4483
  d(i) {
4439
- i && k(t);
4484
+ i && V(t);
4440
4485
  }
4441
4486
  };
4442
4487
  }
4443
- function bo(e) {
4488
+ function Eo(e) {
4444
4489
  let t, r;
4445
4490
  return {
4446
4491
  c() {
4447
- t = P("span"), r = D(
4492
+ t = F("span"), r = U(
4448
4493
  /*selectionNumber*/
4449
4494
  e[8]
4450
4495
  ), m(t, "class", "FilterCounter");
4451
4496
  },
4452
4497
  m(n, i) {
4453
- X(n, t, i), b(t, r);
4498
+ W(n, t, i), g(t, r);
4454
4499
  },
4455
4500
  p(n, i) {
4456
4501
  i[0] & /*selectionNumber*/
4457
- 256 && Q(
4502
+ 256 && q(
4458
4503
  r,
4459
4504
  /*selectionNumber*/
4460
4505
  n[8]
4461
4506
  );
4462
4507
  },
4463
4508
  d(n) {
4464
- n && k(t);
4509
+ n && V(t);
4465
4510
  }
4466
4511
  };
4467
4512
  }
4468
- function go(e) {
4513
+ function wo(e) {
4469
4514
  let t, r = (
4470
4515
  /*$_*/
4471
4516
  e[11]("all") + ""
4472
4517
  ), n;
4473
4518
  return {
4474
4519
  c() {
4475
- t = P("span"), n = D(r), m(t, "class", "FilterCounter");
4520
+ t = F("span"), n = U(r), m(t, "class", "FilterCounter");
4476
4521
  },
4477
4522
  m(i, o) {
4478
- X(i, t, o), b(t, n);
4523
+ W(i, t, o), g(t, n);
4479
4524
  },
4480
4525
  p(i, o) {
4481
4526
  o[0] & /*$_*/
4482
4527
  2048 && r !== (r = /*$_*/
4483
- i[11]("all") + "") && Q(n, r);
4528
+ i[11]("all") + "") && q(n, r);
4484
4529
  },
4485
4530
  d(i) {
4486
- i && k(t);
4531
+ i && V(t);
4487
4532
  }
4488
4533
  };
4489
4534
  }
4490
- function vo(e) {
4535
+ function So(e) {
4491
4536
  let t, r;
4492
4537
  return {
4493
4538
  c() {
4494
- t = P("img"), Tt(t.src, r = /*vendor*/
4539
+ t = F("img"), Ft(t.src, r = /*vendor*/
4495
4540
  e[36].logo) || m(t, "src", r), m(t, "alt", "vendor logo");
4496
4541
  },
4497
4542
  m(n, i) {
4498
- X(n, t, i);
4543
+ W(n, t, i);
4499
4544
  },
4500
4545
  p(n, i) {
4501
4546
  i[0] & /*vendorArray*/
4502
- 32 && !Tt(t.src, r = /*vendor*/
4547
+ 32 && !Ft(t.src, r = /*vendor*/
4503
4548
  n[36].logo) && m(t, "src", r);
4504
4549
  },
4505
4550
  d(n) {
4506
- n && k(t);
4551
+ n && V(t);
4507
4552
  }
4508
4553
  };
4509
4554
  }
4510
- function yo(e) {
4555
+ function To(e) {
4511
4556
  let t, r, n = (
4512
4557
  /*vendor*/
4513
4558
  e[36].name + ""
@@ -4517,27 +4562,27 @@ function yo(e) {
4517
4562
  ), l, h;
4518
4563
  return {
4519
4564
  c() {
4520
- t = P("div"), r = P("span"), i = D(n), o = G(), s = P("span"), a = D("("), l = D(u), h = D(")"), m(r, "class", "VendorName"), m(t, "class", "FilterItemLabel");
4565
+ t = F("div"), r = F("span"), i = U(n), o = j(), s = F("span"), a = U("("), l = U(u), h = U(")"), m(r, "class", "VendorName"), m(t, "class", "FilterItemLabel");
4521
4566
  },
4522
4567
  m(p, f) {
4523
- X(p, t, f), b(t, r), b(r, i), b(t, o), b(t, s), b(s, a), b(s, l), b(s, h);
4568
+ W(p, t, f), g(t, r), g(r, i), g(t, o), g(t, s), g(s, a), g(s, l), g(s, h);
4524
4569
  },
4525
4570
  p(p, f) {
4526
4571
  f[0] & /*vendorArray*/
4527
4572
  32 && n !== (n = /*vendor*/
4528
- p[36].name + "") && Q(i, n), f[0] & /*vendorArray*/
4573
+ p[36].name + "") && q(i, n), f[0] & /*vendorArray*/
4529
4574
  32 && u !== (u = /*vendor*/
4530
- p[36].games.count + "") && Q(l, u);
4575
+ p[36].games.count + "") && q(l, u);
4531
4576
  },
4532
4577
  d(p) {
4533
- p && k(t);
4578
+ p && V(t);
4534
4579
  }
4535
4580
  };
4536
4581
  }
4537
- function Yt(e) {
4582
+ function tr(e) {
4538
4583
  let t, r, n, i, o, s, a, u, l, h, p, f;
4539
- function g() {
4540
- e[23].call(
4584
+ function v() {
4585
+ e[24].call(
4541
4586
  n,
4542
4587
  /*each_value*/
4543
4588
  e[37],
@@ -4545,73 +4590,73 @@ function Yt(e) {
4545
4590
  e[38]
4546
4591
  );
4547
4592
  }
4548
- function y() {
4593
+ function x() {
4549
4594
  return (
4550
4595
  /*click_handler_1*/
4551
- e[24](
4596
+ e[25](
4552
4597
  /*vendor*/
4553
4598
  e[36]
4554
4599
  )
4555
4600
  );
4556
4601
  }
4557
- function _(F, w) {
4602
+ function b(y, w) {
4558
4603
  if (
4559
4604
  /*filterbylogo*/
4560
- F[2] === "false"
4561
- ) return yo;
4605
+ y[2] === "false"
4606
+ ) return To;
4562
4607
  if (
4563
4608
  /*filterbylogo*/
4564
- F[2] === "true"
4565
- ) return vo;
4609
+ y[2] === "true"
4610
+ ) return So;
4566
4611
  }
4567
- let A = _(e), v = A && A(e);
4612
+ let P = b(e), T = P && P(e);
4568
4613
  return {
4569
4614
  c() {
4570
- t = P("li"), r = P("label"), n = P("input"), o = G(), s = P("span"), a = G(), v && v.c(), u = G(), m(n, "type", "checkbox"), m(n, "name", "checkbox"), n.__value = i = /*vendor*/
4571
- e[36].name, Ht(n, n.__value), m(s, "class", "FiltersCheckmark"), m(r, "class", "FilterLabel"), m(t, "class", l = "FilterItem " + /*filterbylogo*/
4615
+ t = F("li"), r = F("label"), n = F("input"), o = j(), s = F("span"), a = j(), T && T.c(), u = j(), m(n, "type", "checkbox"), m(n, "name", "checkbox"), n.__value = i = /*vendor*/
4616
+ e[36].name, Bt(n, n.__value), m(s, "class", "FiltersCheckmark"), m(r, "class", "FilterLabel"), m(t, "class", l = "FilterItem " + /*filterbylogo*/
4572
4617
  (e[2] === "true" ? "FilterItemWithLogos" : "")), t.value = h = /*vendor*/
4573
4618
  e[36].name;
4574
4619
  },
4575
- m(F, w) {
4576
- X(F, t, w), b(t, r), b(r, n), n.checked = /*vendor*/
4577
- e[36].isFilterSelected, b(r, o), b(r, s), b(r, a), v && v.m(r, null), b(t, u), p || (f = [
4578
- De(n, "change", g),
4579
- De(n, "click", y)
4620
+ m(y, w) {
4621
+ W(y, t, w), g(t, r), g(r, n), n.checked = /*vendor*/
4622
+ e[36].isFilterSelected, g(r, o), g(r, s), g(r, a), T && T.m(r, null), g(t, u), p || (f = [
4623
+ De(n, "change", v),
4624
+ De(n, "click", x)
4580
4625
  ], p = !0);
4581
4626
  },
4582
- p(F, w) {
4583
- e = F, w[0] & /*vendorArray*/
4627
+ p(y, w) {
4628
+ e = y, w[0] & /*vendorArray*/
4584
4629
  32 && i !== (i = /*vendor*/
4585
- e[36].name) && (n.__value = i, Ht(n, n.__value)), w[0] & /*vendorArray*/
4630
+ e[36].name) && (n.__value = i, Bt(n, n.__value)), w[0] & /*vendorArray*/
4586
4631
  32 && (n.checked = /*vendor*/
4587
- e[36].isFilterSelected), A === (A = _(e)) && v ? v.p(e, w) : (v && v.d(1), v = A && A(e), v && (v.c(), v.m(r, null))), w[0] & /*filterbylogo*/
4632
+ e[36].isFilterSelected), P === (P = b(e)) && T ? T.p(e, w) : (T && T.d(1), T = P && P(e), T && (T.c(), T.m(r, null))), w[0] & /*filterbylogo*/
4588
4633
  4 && l !== (l = "FilterItem " + /*filterbylogo*/
4589
4634
  (e[2] === "true" ? "FilterItemWithLogos" : "")) && m(t, "class", l), w[0] & /*vendorArray*/
4590
4635
  32 && h !== (h = /*vendor*/
4591
4636
  e[36].name) && (t.value = h);
4592
4637
  },
4593
- d(F) {
4594
- F && k(t), v && v.d(), p = !1, te(f);
4638
+ d(y) {
4639
+ y && V(t), T && T.d(), p = !1, te(f);
4595
4640
  }
4596
4641
  };
4597
4642
  }
4598
- function _o(e) {
4643
+ function Ho(e) {
4599
4644
  let t;
4600
4645
  function r(o, s) {
4601
4646
  if (
4602
4647
  /*hasErrors*/
4603
4648
  o[10]
4604
- ) return mo;
4649
+ ) return xo;
4605
4650
  if (!/*isLoading*/
4606
- o[9]) return po;
4651
+ o[9]) return _o;
4607
4652
  }
4608
4653
  let n = r(e), i = n && n(e);
4609
4654
  return {
4610
4655
  c() {
4611
- t = P("div"), i && i.c();
4656
+ t = F("div"), i && i.c();
4612
4657
  },
4613
4658
  m(o, s) {
4614
- X(o, t, s), i && i.m(t, null), e[26](t);
4659
+ W(o, t, s), i && i.m(t, null), e[27](t);
4615
4660
  },
4616
4661
  p(o, s) {
4617
4662
  n === (n = r(o)) && i ? i.p(o, s) : (i && i.d(1), i = n && n(o), i && (i.c(), i.m(t, null)));
@@ -4619,109 +4664,95 @@ function _o(e) {
4619
4664
  i: $,
4620
4665
  o: $,
4621
4666
  d(o) {
4622
- o && k(t), i && i.d(), e[26](null);
4667
+ o && V(t), i && i.d(), e[27](null);
4623
4668
  }
4624
4669
  };
4625
4670
  }
4626
- function xo(e, t, r) {
4671
+ function Ao(e, t, r) {
4627
4672
  let n;
4628
- $r(e, uo, (c) => r(11, n = c));
4629
- 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, y = !1, _ = window.navigator.userAgent, A = [], v = [], F = {}, w = !1, O = 0, I = !0, C, z = !1;
4630
- co({ withLocale: "en", translations: {} });
4631
- const j = () => {
4673
+ jr(e, fo, (c) => r(11, n = c));
4674
+ 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: x } = t, b = !1, P = window.navigator.userAgent, T = [], y = [], w = {}, C = !1, I = 0, N = !0, O, G = !1, Z;
4675
+ vo({ withLocale: "en", translations: {} });
4676
+ const He = () => {
4632
4677
  fetch(a).then((d) => d.json()).then((d) => {
4633
- Object.keys(d).forEach((H) => {
4634
- Jt(H, d[H]);
4678
+ Object.keys(d).forEach((A) => {
4679
+ Yt(A, d[A]);
4635
4680
  });
4636
4681
  }).catch((d) => {
4637
4682
  console.log(d);
4638
4683
  });
4639
4684
  };
4640
- Object.keys(Qt).forEach((c) => {
4641
- Jt(c, Qt[c]);
4642
- });
4643
- const q = () => {
4644
- let c = document.createElement("style");
4645
- c.innerHTML = u, C.appendChild(c);
4646
- }, He = () => {
4647
- let c = document.createElement("style");
4648
- fetch(new URL(l)).then((d) => d.text()).then((d) => {
4649
- c.innerHTML = d, setTimeout(
4650
- () => {
4651
- C.appendChild(c);
4652
- },
4653
- 1
4654
- );
4655
- });
4656
- };
4657
- F[h] && (F = { [h]: [] });
4658
- const U = () => {
4659
- r(4, y = !y), window.postMessage({ type: "FilterOpened" }, window.location.href);
4660
- }, ne = (c) => (r(9, I = !0), new Promise((d, H) => {
4661
- fetch(c).then((T) => T.json()).then((T) => {
4662
- T = T.items, d(T.items), r(6, v = []);
4685
+ Object.keys(Kt).forEach((c) => {
4686
+ Yt(c, Kt[c]);
4687
+ }), w[h] && (w = { [h]: [] });
4688
+ const k = () => {
4689
+ r(4, b = !b), window.postMessage({ type: "FilterOpened" }, window.location.href);
4690
+ }, ne = (c) => (r(9, N = !0), new Promise((d, A) => {
4691
+ fetch(c).then((H) => H.json()).then((H) => {
4692
+ H = H.items, d(H.items), r(6, y = []);
4663
4693
  let le = JSON.parse(localStorage.getItem("vendorFiltersByCategory"));
4664
- T.forEach((Pe) => {
4665
- var yt;
4666
- le || (le = { currentCategoryId: [] }), ((yt = le[h]) == null ? void 0 : yt.indexOf(Pe.id)) >= 0 ? (Pe.isFilterSelected = !0, v.push(Pe)) : Pe.isFilterSelected = !1;
4667
- }), r(5, A = T), Y();
4668
- }).catch((T) => {
4669
- console.error(T), r(10, z = !0), H(T);
4694
+ H.forEach((Be) => {
4695
+ var Et;
4696
+ le || (le = { currentCategoryId: [] }), ((Et = le[h]) == null ? void 0 : Et.indexOf(Be.id)) >= 0 ? (Be.isFilterSelected = !0, y.push(Be)) : Be.isFilterSelected = !1;
4697
+ }), r(5, T = H), Y();
4698
+ }).catch((H) => {
4699
+ console.error(H), r(10, G = !0), A(H);
4670
4700
  }).finally(() => {
4671
- r(9, I = !1);
4701
+ r(9, N = !1);
4672
4702
  });
4673
4703
  })), ie = (c) => {
4674
4704
  let d = localStorage.getItem("vendorFiltersByCategory");
4675
- c.isFilterSelected = !c.isFilterSelected, !v.length || v.filter((H) => H.name === c.name).length == 0 ? v.push(c) : r(6, v = v.filter((H) => H.name !== c.name)), d == null ? localStorage.setItem("vendorFiltersByCategory", JSON.stringify(F = {
4676
- [h]: v.map((H) => H.id)
4677
- })) : (d = JSON.parse(d), d[h] = v.map((H) => H.id), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(d))), window.postMessage({ type: "ApplyFilters", origin: "filters" }, window.location.href), Y();
4705
+ c.isFilterSelected = !c.isFilterSelected, !y.length || y.filter((A) => A.name === c.name).length == 0 ? y.push(c) : r(6, y = y.filter((A) => A.name !== c.name)), d == null ? localStorage.setItem("vendorFiltersByCategory", JSON.stringify(w = {
4706
+ [h]: y.map((A) => A.id)
4707
+ })) : (d = JSON.parse(d), d[h] = y.map((A) => A.id), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(d))), window.postMessage({ type: "ApplyFilters", origin: "filters" }, window.location.href), Y();
4678
4708
  }, Y = () => {
4679
- r(7, w = v.length === A.length || v.length == 0), r(8, O = v.length);
4709
+ r(7, C = y.length === T.length || y.length == 0), r(8, I = y.length);
4680
4710
  }, oe = () => {
4681
4711
  const c = new URL(`${i}/v1/casino/vendors`);
4682
- r(4, y = !1), c.searchParams.append("fields", "id,name,logo,subVendors,games"), c.searchParams.append("language", s), c.searchParams.append("datasource", o), c.searchParams.append("platform", ho(_)), (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})`), ne(c);
4712
+ r(4, b = !1), c.searchParams.append("fields", "id,name,logo,subVendors,games"), c.searchParams.append("language", s), c.searchParams.append("datasource", o), c.searchParams.append("platform", po(P)), (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})`), ne(c);
4683
4713
  }, K = () => {
4684
- r(6, v = []), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(F = {
4685
- [h]: v.map((c) => c.id)
4686
- })), A.forEach((c) => c.isFilterSelected = !1), r(5, A), window.postMessage({ type: "ApplyFilters" }, window.location.href), r(7, w = !0), r(4, y = !1);
4714
+ r(6, y = []), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(w = {
4715
+ [h]: y.map((c) => c.id)
4716
+ })), T.forEach((c) => c.isFilterSelected = !1), r(5, T), window.postMessage({ type: "ApplyFilters" }, window.location.href), r(7, C = !0), r(4, b = !1);
4687
4717
  }, se = (c) => {
4688
- c.data.type == "SortingOpened" && r(4, y = !1);
4718
+ c.data.type == "SortingOpened" && r(4, b = !1);
4689
4719
  };
4690
- zr(() => (window.addEventListener("message", se, !1), () => {
4691
- window.removeEventListener("message", se);
4720
+ qr(() => (window.addEventListener("message", se, !1), () => {
4721
+ window.emMessageBus != null && Z && Z.unsubscribe(), window.removeEventListener("message", se);
4692
4722
  }));
4693
- const Ae = () => U();
4723
+ const Ae = () => k();
4694
4724
  function Fe(c, d) {
4695
- c[d].isFilterSelected = this.checked, r(5, A);
4725
+ c[d].isFilterSelected = this.checked, r(5, T);
4696
4726
  }
4697
- const ae = (c) => ie(c), N = () => K();
4698
- function Z(c) {
4699
- et[c ? "unshift" : "push"](() => {
4700
- C = c, r(3, C);
4727
+ const ae = (c) => ie(c), R = () => K();
4728
+ function J(c) {
4729
+ tt[c ? "unshift" : "push"](() => {
4730
+ O = c, r(3, O);
4701
4731
  });
4702
4732
  }
4703
4733
  return e.$$set = (c) => {
4704
- "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);
4734
+ "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, x = c.mbsource);
4705
4735
  }, e.$$.update = () => {
4706
4736
  e.$$.dirty[0] & /*endpoint, datasource, categoryid, filterbylogo*/
4707
- 2195460 && i && o && h && g && oe(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4708
- 524296 && u && C && q(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4709
- 1048584 && l && C && He(), e.$$.dirty[0] & /*translationurl*/
4710
- 262144 && a && j();
4737
+ 2195460 && i && o && h && v && oe(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4738
+ 524296 && u && O && mo(O, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4739
+ 1048584 && l && O && bo(O, l), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
4740
+ 4194312 && O && go(O, `${x}.Style`), e.$$.dirty[0] & /*translationurl*/
4741
+ 262144 && a && He();
4711
4742
  }, [
4712
4743
  p,
4713
4744
  f,
4714
- g,
4715
- C,
4716
- y,
4717
- A,
4718
4745
  v,
4719
- w,
4720
4746
  O,
4747
+ b,
4748
+ T,
4749
+ y,
4750
+ C,
4721
4751
  I,
4722
- z,
4752
+ N,
4753
+ G,
4723
4754
  n,
4724
- U,
4755
+ k,
4725
4756
  ie,
4726
4757
  K,
4727
4758
  i,
@@ -4731,21 +4762,22 @@ function xo(e, t, r) {
4731
4762
  u,
4732
4763
  l,
4733
4764
  h,
4765
+ x,
4734
4766
  Ae,
4735
4767
  Fe,
4736
4768
  ae,
4737
- N,
4738
- Z
4769
+ R,
4770
+ J
4739
4771
  ];
4740
4772
  }
4741
- class Eo extends sn {
4773
+ class Fo extends hn {
4742
4774
  constructor(t) {
4743
- super(), nn(
4775
+ super(), ln(
4744
4776
  this,
4745
4777
  t,
4746
- xo,
4747
- _o,
4748
- er,
4778
+ Ao,
4779
+ Ho,
4780
+ nr,
4749
4781
  {
4750
4782
  endpoint: 15,
4751
4783
  datasource: 16,
@@ -4756,9 +4788,10 @@ class Eo extends sn {
4756
4788
  categoryid: 21,
4757
4789
  addfilterselector: 0,
4758
4790
  addsortingselector: 1,
4759
- filterbylogo: 2
4791
+ filterbylogo: 2,
4792
+ mbsource: 22
4760
4793
  },
4761
- fo,
4794
+ yo,
4762
4795
  [-1, -1]
4763
4796
  );
4764
4797
  }
@@ -4766,64 +4799,70 @@ class Eo extends sn {
4766
4799
  return this.$$.ctx[15];
4767
4800
  }
4768
4801
  set endpoint(t) {
4769
- this.$$set({ endpoint: t }), R();
4802
+ this.$$set({ endpoint: t }), M();
4770
4803
  }
4771
4804
  get datasource() {
4772
4805
  return this.$$.ctx[16];
4773
4806
  }
4774
4807
  set datasource(t) {
4775
- this.$$set({ datasource: t }), R();
4808
+ this.$$set({ datasource: t }), M();
4776
4809
  }
4777
4810
  get lang() {
4778
4811
  return this.$$.ctx[17];
4779
4812
  }
4780
4813
  set lang(t) {
4781
- this.$$set({ lang: t }), R();
4814
+ this.$$set({ lang: t }), M();
4782
4815
  }
4783
4816
  get translationurl() {
4784
4817
  return this.$$.ctx[18];
4785
4818
  }
4786
4819
  set translationurl(t) {
4787
- this.$$set({ translationurl: t }), R();
4820
+ this.$$set({ translationurl: t }), M();
4788
4821
  }
4789
4822
  get clientstyling() {
4790
4823
  return this.$$.ctx[19];
4791
4824
  }
4792
4825
  set clientstyling(t) {
4793
- this.$$set({ clientstyling: t }), R();
4826
+ this.$$set({ clientstyling: t }), M();
4794
4827
  }
4795
4828
  get clientstylingurl() {
4796
4829
  return this.$$.ctx[20];
4797
4830
  }
4798
4831
  set clientstylingurl(t) {
4799
- this.$$set({ clientstylingurl: t }), R();
4832
+ this.$$set({ clientstylingurl: t }), M();
4800
4833
  }
4801
4834
  get categoryid() {
4802
4835
  return this.$$.ctx[21];
4803
4836
  }
4804
4837
  set categoryid(t) {
4805
- this.$$set({ categoryid: t }), R();
4838
+ this.$$set({ categoryid: t }), M();
4806
4839
  }
4807
4840
  get addfilterselector() {
4808
4841
  return this.$$.ctx[0];
4809
4842
  }
4810
4843
  set addfilterselector(t) {
4811
- this.$$set({ addfilterselector: t }), R();
4844
+ this.$$set({ addfilterselector: t }), M();
4812
4845
  }
4813
4846
  get addsortingselector() {
4814
4847
  return this.$$.ctx[1];
4815
4848
  }
4816
4849
  set addsortingselector(t) {
4817
- this.$$set({ addsortingselector: t }), R();
4850
+ this.$$set({ addsortingselector: t }), M();
4818
4851
  }
4819
4852
  get filterbylogo() {
4820
4853
  return this.$$.ctx[2];
4821
4854
  }
4822
4855
  set filterbylogo(t) {
4823
- this.$$set({ filterbylogo: t }), R();
4856
+ this.$$set({ filterbylogo: t }), M();
4857
+ }
4858
+ get mbsource() {
4859
+ return this.$$.ctx[22];
4860
+ }
4861
+ set mbsource(t) {
4862
+ this.$$set({ mbsource: t }), M();
4824
4863
  }
4825
4864
  }
4826
- on(Eo, { endpoint: {}, datasource: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, categoryid: {}, addfilterselector: {}, addsortingselector: {}, filterbylogo: {} }, [], [], !0);
4865
+ un(Fo, { endpoint: {}, datasource: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, categoryid: {}, addfilterselector: {}, addsortingselector: {}, filterbylogo: {}, mbsource: {} }, [], [], !0);
4827
4866
  export {
4828
- Eo as default
4867
+ Fo as default
4829
4868
  };