@everymatrix/casino-categories-slider 1.65.3 → 1.66.1

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 Rr = Object.defineProperty, Gr = Object.defineProperties;
2
- var Ur = Object.getOwnPropertyDescriptors;
3
- var mt = Object.getOwnPropertySymbols;
4
- var Dr = Object.prototype.hasOwnProperty, Fr = Object.prototype.propertyIsEnumerable;
5
- var Ie = (e, t, r) => t in e ? Rr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, dt = (e, t) => {
1
+ var $r = Object.defineProperty, Fr = Object.defineProperties;
2
+ var jr = Object.getOwnPropertyDescriptors;
3
+ var gt = Object.getOwnPropertySymbols;
4
+ var kr = Object.prototype.hasOwnProperty, Vr = Object.prototype.propertyIsEnumerable;
5
+ var Me = (e, t, r) => t in e ? $r(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, yt = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- Dr.call(t, r) && Ie(e, r, t[r]);
8
- if (mt)
9
- for (var r of mt(t))
10
- Fr.call(t, r) && Ie(e, r, t[r]);
7
+ kr.call(t, r) && Me(e, r, t[r]);
8
+ if (gt)
9
+ for (var r of gt(t))
10
+ Vr.call(t, r) && Me(e, r, t[r]);
11
11
  return e;
12
- }, bt = (e, t) => Gr(e, Ur(t));
13
- var M = (e, t, r) => (Ie(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var pt = (e, t, r) => new Promise((n, i) => {
12
+ }, vt = (e, t) => Fr(e, jr(t));
13
+ var M = (e, t, r) => (Me(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var _t = (e, t, r) => new Promise((n, i) => {
15
15
  var s = (h) => {
16
16
  try {
17
17
  a(r.next(h));
@@ -29,29 +29,29 @@ var pt = (e, t, r) => new Promise((n, i) => {
29
29
  });
30
30
  function I() {
31
31
  }
32
- function $t(e) {
32
+ function Xt(e) {
33
33
  return e();
34
34
  }
35
- function gt() {
35
+ function Et() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
- function ne(e) {
39
- e.forEach($t);
38
+ function re(e) {
39
+ e.forEach(Xt);
40
40
  }
41
- function it(e) {
41
+ function ht(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function jt(e, t) {
44
+ function Wt(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
47
  let ge;
48
- function Ss(e, t) {
48
+ function As(e, t) {
49
49
  return e === t ? !0 : (ge || (ge = document.createElement("a")), ge.href = t, e === ge.href);
50
50
  }
51
- function $r(e) {
51
+ function Xr(e) {
52
52
  return Object.keys(e).length === 0;
53
53
  }
54
- function kt(e, ...t) {
54
+ function zt(e, ...t) {
55
55
  if (e == null) {
56
56
  for (const n of t)
57
57
  n(void 0);
@@ -60,20 +60,20 @@ function kt(e, ...t) {
60
60
  const r = e.subscribe(...t);
61
61
  return r.unsubscribe ? () => r.unsubscribe() : r;
62
62
  }
63
- function jr(e, t, r) {
64
- e.$$.on_destroy.push(kt(t, r));
63
+ function Wr(e, t, r) {
64
+ e.$$.on_destroy.push(zt(t, r));
65
65
  }
66
- function Vt(e, t) {
66
+ function Zt(e, t) {
67
67
  e.appendChild(t);
68
68
  }
69
- function kr(e, t, r) {
70
- const n = Vr(e);
69
+ function zr(e, t, r) {
70
+ const n = Zr(e);
71
71
  if (!n.getElementById(t)) {
72
72
  const i = V("style");
73
- i.id = t, i.textContent = r, Xr(n, i);
73
+ i.id = t, i.textContent = r, Qr(n, i);
74
74
  }
75
75
  }
76
- function Vr(e) {
76
+ function Zr(e) {
77
77
  if (!e)
78
78
  return document;
79
79
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -83,53 +83,53 @@ function Vr(e) {
83
83
  t
84
84
  ) : e.ownerDocument;
85
85
  }
86
- function Xr(e, t) {
87
- return Vt(
86
+ function Qr(e, t) {
87
+ return Zt(
88
88
  /** @type {Document} */
89
89
  e.head || e,
90
90
  t
91
91
  ), t.sheet;
92
92
  }
93
- function fe(e, t, r) {
93
+ function ce(e, t, r) {
94
94
  e.insertBefore(t, r || null);
95
95
  }
96
- function ie(e) {
96
+ function ne(e) {
97
97
  e.parentNode && e.parentNode.removeChild(e);
98
98
  }
99
- function ws(e, t) {
99
+ function Bs(e, t) {
100
100
  for (let r = 0; r < e.length; r += 1)
101
101
  e[r] && e[r].d(t);
102
102
  }
103
103
  function V(e) {
104
104
  return document.createElement(e);
105
105
  }
106
- function Xt(e) {
106
+ function Qt(e) {
107
107
  return document.createTextNode(e);
108
108
  }
109
- function Ts() {
110
- return Xt(" ");
109
+ function Ps() {
110
+ return Qt(" ");
111
111
  }
112
- function Hs() {
113
- return Xt("");
112
+ function Os() {
113
+ return Qt("");
114
114
  }
115
- function As(e, t, r, n) {
115
+ function Ns(e, t, r, n) {
116
116
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
117
117
  }
118
- function me(e, t, r) {
118
+ function fe(e, t, r) {
119
119
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
120
120
  }
121
- function _(e, t, r) {
121
+ function v(e, t, r) {
122
122
  const n = t.toLowerCase();
123
- n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : me(e, t, r);
123
+ n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : fe(e, t, r);
124
124
  }
125
- function Wr(e) {
125
+ function Yr(e) {
126
126
  return Array.from(e.childNodes);
127
127
  }
128
- function Bs(e, t) {
128
+ function Ls(e, t) {
129
129
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
130
130
  t);
131
131
  }
132
- function zr(e) {
132
+ function qr(e) {
133
133
  const t = {};
134
134
  return e.childNodes.forEach(
135
135
  /** @param {Element} node */
@@ -138,123 +138,123 @@ function zr(e) {
138
138
  }
139
139
  ), t;
140
140
  }
141
- let he;
142
- function ue(e) {
143
- he = e;
141
+ let ue;
142
+ function ae(e) {
143
+ ue = e;
144
144
  }
145
- function Zr() {
146
- if (!he)
145
+ function Jr() {
146
+ if (!ue)
147
147
  throw new Error("Function called outside component initialization");
148
- return he;
148
+ return ue;
149
149
  }
150
- function Qr(e) {
151
- Zr().$$.on_mount.push(e);
150
+ function Kr(e) {
151
+ Jr().$$.on_mount.push(e);
152
152
  }
153
- const Y = [], $e = [];
153
+ const Y = [], Ve = [];
154
154
  let q = [];
155
- const yt = [], Wt = /* @__PURE__ */ Promise.resolve();
156
- let je = !1;
157
- function zt() {
158
- je || (je = !0, Wt.then(S));
155
+ const xt = [], Yt = /* @__PURE__ */ Promise.resolve();
156
+ let Xe = !1;
157
+ function qt() {
158
+ Xe || (Xe = !0, Yt.then(x));
159
159
  }
160
- function Yr() {
161
- return zt(), Wt;
160
+ function en() {
161
+ return qt(), Yt;
162
162
  }
163
- function ke(e) {
163
+ function We(e) {
164
164
  q.push(e);
165
165
  }
166
- const Ce = /* @__PURE__ */ new Set();
166
+ const Re = /* @__PURE__ */ new Set();
167
167
  let Z = 0;
168
- function S() {
168
+ function x() {
169
169
  if (Z !== 0)
170
170
  return;
171
- const e = he;
171
+ const e = ue;
172
172
  do {
173
173
  try {
174
174
  for (; Z < Y.length; ) {
175
175
  const t = Y[Z];
176
- Z++, ue(t), qr(t.$$);
176
+ Z++, ae(t), tn(t.$$);
177
177
  }
178
178
  } catch (t) {
179
179
  throw Y.length = 0, Z = 0, t;
180
180
  }
181
- for (ue(null), Y.length = 0, Z = 0; $e.length; )
182
- $e.pop()();
181
+ for (ae(null), Y.length = 0, Z = 0; Ve.length; )
182
+ Ve.pop()();
183
183
  for (let t = 0; t < q.length; t += 1) {
184
184
  const r = q[t];
185
- Ce.has(r) || (Ce.add(r), r());
185
+ Re.has(r) || (Re.add(r), r());
186
186
  }
187
187
  q.length = 0;
188
188
  } while (Y.length);
189
- for (; yt.length; )
190
- yt.pop()();
191
- je = !1, Ce.clear(), ue(e);
189
+ for (; xt.length; )
190
+ xt.pop()();
191
+ Xe = !1, Re.clear(), ae(e);
192
192
  }
193
- function qr(e) {
193
+ function tn(e) {
194
194
  if (e.fragment !== null) {
195
- e.update(), ne(e.before_update);
195
+ e.update(), re(e.before_update);
196
196
  const t = e.dirty;
197
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ke);
197
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(We);
198
198
  }
199
199
  }
200
- function Jr(e) {
200
+ function rn(e) {
201
201
  const t = [], r = [];
202
202
  q.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), q = t;
203
203
  }
204
- const Kr = /* @__PURE__ */ new Set();
205
- function Zt(e, t) {
206
- e && e.i && (Kr.delete(e), e.i(t));
204
+ const nn = /* @__PURE__ */ new Set();
205
+ function Jt(e, t) {
206
+ e && e.i && (nn.delete(e), e.i(t));
207
207
  }
208
- function Ps(e) {
208
+ function Is(e) {
209
209
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
210
210
  }
211
- function Ns(e, t) {
211
+ function Cs(e, t) {
212
212
  e.d(1), t.delete(e.key);
213
213
  }
214
- function Os(e, t, r, n, i, s, o, a, h, u, l, m) {
214
+ function Ms(e, t, r, n, i, s, o, a, h, u, l, m) {
215
215
  let c = e.length, d = s.length, b = c;
216
216
  const y = {};
217
217
  for (; b--; )
218
218
  y[e[b].key] = b;
219
219
  const T = [], C = /* @__PURE__ */ new Map(), P = /* @__PURE__ */ new Map(), w = [];
220
220
  for (b = d; b--; ) {
221
- const E = m(i, s, b), A = r(E);
221
+ const _ = m(i, s, b), A = r(_);
222
222
  let L = o.get(A);
223
- L ? w.push(() => L.p(E, t)) : (L = u(A, E), L.c()), C.set(A, T[b] = L), A in y && P.set(A, Math.abs(b - y[A]));
223
+ L ? w.push(() => L.p(_, t)) : (L = u(A, _), L.c()), C.set(A, T[b] = L), A in y && P.set(A, Math.abs(b - y[A]));
224
224
  }
225
- const N = /* @__PURE__ */ new Set(), O = /* @__PURE__ */ new Set();
226
- function R(E) {
227
- Zt(E, 1), E.m(a, l), o.set(E.key, E), l = E.first, d--;
225
+ const O = /* @__PURE__ */ new Set(), N = /* @__PURE__ */ new Set();
226
+ function R(_) {
227
+ Jt(_, 1), _.m(a, l), o.set(_.key, _), l = _.first, d--;
228
228
  }
229
229
  for (; c && d; ) {
230
- const E = T[d - 1], A = e[c - 1], L = E.key, $ = A.key;
231
- E === A ? (l = E.first, c--, d--) : C.has($) ? !o.has(L) || N.has(L) ? R(E) : O.has($) ? c-- : P.get(L) > P.get($) ? (O.add(L), R(E)) : (N.add($), c--) : (h(A, o), c--);
230
+ const _ = T[d - 1], A = e[c - 1], L = _.key, F = A.key;
231
+ _ === A ? (l = _.first, c--, d--) : C.has(F) ? !o.has(L) || O.has(L) ? R(_) : N.has(F) ? c-- : P.get(L) > P.get(F) ? (N.add(L), R(_)) : (O.add(F), c--) : (h(A, o), c--);
232
232
  }
233
233
  for (; c--; ) {
234
- const E = e[c];
235
- C.has(E.key) || h(E, o);
234
+ const _ = e[c];
235
+ C.has(_.key) || h(_, o);
236
236
  }
237
237
  for (; d; )
238
238
  R(T[d - 1]);
239
- return ne(w), T;
239
+ return re(w), T;
240
240
  }
241
- function en(e, t, r) {
241
+ function sn(e, t, r) {
242
242
  const { fragment: n, after_update: i } = e.$$;
243
- n && n.m(t, r), ke(() => {
244
- const s = e.$$.on_mount.map($t).filter(it);
245
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ne(s), e.$$.on_mount = [];
246
- }), i.forEach(ke);
243
+ n && n.m(t, r), We(() => {
244
+ const s = e.$$.on_mount.map(Xt).filter(ht);
245
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : re(s), e.$$.on_mount = [];
246
+ }), i.forEach(We);
247
247
  }
248
- function tn(e, t) {
248
+ function on(e, t) {
249
249
  const r = e.$$;
250
- r.fragment !== null && (Jr(r.after_update), ne(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
250
+ r.fragment !== null && (rn(r.after_update), re(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
251
251
  }
252
- function rn(e, t) {
253
- e.$$.dirty[0] === -1 && (Y.push(e), zt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
252
+ function an(e, t) {
253
+ e.$$.dirty[0] === -1 && (Y.push(e), qt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
254
254
  }
255
- function nn(e, t, r, n, i, s, o = null, a = [-1]) {
256
- const h = he;
257
- ue(e);
255
+ function un(e, t, r, n, i, s, o = null, a = [-1]) {
256
+ const h = ue;
257
+ ae(e);
258
258
  const u = e.$$ = {
259
259
  fragment: null,
260
260
  ctx: [],
@@ -262,7 +262,7 @@ function nn(e, t, r, n, i, s, o = null, a = [-1]) {
262
262
  props: s,
263
263
  update: I,
264
264
  not_equal: i,
265
- bound: gt(),
265
+ bound: Et(),
266
266
  // lifecycle
267
267
  on_mount: [],
268
268
  on_destroy: [],
@@ -271,7 +271,7 @@ function nn(e, t, r, n, i, s, o = null, a = [-1]) {
271
271
  after_update: [],
272
272
  context: new Map(t.context || (h ? h.$$.context : [])),
273
273
  // everything else
274
- callbacks: gt(),
274
+ callbacks: Et(),
275
275
  dirty: a,
276
276
  skip_bound: !1,
277
277
  root: t.target || h.$$.root
@@ -280,19 +280,19 @@ function nn(e, t, r, n, i, s, o = null, a = [-1]) {
280
280
  let l = !1;
281
281
  if (u.ctx = r ? r(e, t.props || {}, (m, c, ...d) => {
282
282
  const b = d.length ? d[0] : c;
283
- return u.ctx && i(u.ctx[m], u.ctx[m] = b) && (!u.skip_bound && u.bound[m] && u.bound[m](b), l && rn(e, m)), c;
284
- }) : [], u.update(), l = !0, ne(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
283
+ return u.ctx && i(u.ctx[m], u.ctx[m] = b) && (!u.skip_bound && u.bound[m] && u.bound[m](b), l && an(e, m)), c;
284
+ }) : [], u.update(), l = !0, re(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
285
285
  if (t.hydrate) {
286
- const m = Wr(t.target);
287
- u.fragment && u.fragment.l(m), m.forEach(ie);
286
+ const m = Yr(t.target);
287
+ u.fragment && u.fragment.l(m), m.forEach(ne);
288
288
  } else
289
289
  u.fragment && u.fragment.c();
290
- t.intro && Zt(e.$$.fragment), en(e, t.target, t.anchor), S();
290
+ t.intro && Jt(e.$$.fragment), sn(e, t.target, t.anchor), x();
291
291
  }
292
- ue(h);
292
+ ae(h);
293
293
  }
294
- let Qt;
295
- typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
294
+ let Kt;
295
+ typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
296
296
  constructor(t, r, n) {
297
297
  super();
298
298
  /** The Svelte component constructor */
@@ -329,31 +329,31 @@ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
329
329
  }
330
330
  }
331
331
  connectedCallback() {
332
- return pt(this, null, function* () {
332
+ return _t(this, null, function* () {
333
333
  if (this.$$cn = !0, !this.$$c) {
334
334
  let t = function(s) {
335
335
  return () => {
336
336
  let o;
337
337
  return {
338
338
  c: function() {
339
- o = V("slot"), s !== "default" && me(o, "name", s);
339
+ o = V("slot"), s !== "default" && fe(o, "name", s);
340
340
  },
341
341
  /**
342
342
  * @param {HTMLElement} target
343
343
  * @param {HTMLElement} [anchor]
344
344
  */
345
345
  m: function(u, l) {
346
- fe(u, o, l);
346
+ ce(u, o, l);
347
347
  },
348
348
  d: function(u) {
349
- u && ie(o);
349
+ u && ne(o);
350
350
  }
351
351
  };
352
352
  };
353
353
  };
354
354
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
355
355
  return;
356
- const r = {}, n = zr(this);
356
+ const r = {}, n = qr(this);
357
357
  for (const s of this.$$s)
358
358
  s in n && (r[s] = [t(s)]);
359
359
  for (const s of this.attributes) {
@@ -364,7 +364,7 @@ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
364
364
  !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
365
365
  this.$$c = new this.$$ctor({
366
366
  target: this.shadowRoot || this,
367
- props: bt(dt({}, this.$$d), {
367
+ props: vt(yt({}, this.$$d), {
368
368
  $$slots: r,
369
369
  $$scope: {
370
370
  ctx: []
@@ -442,8 +442,8 @@ function _e(e, t, r, n) {
442
442
  return t;
443
443
  }
444
444
  }
445
- function sn(e, t, r, n, i, s) {
446
- let o = class extends Qt {
445
+ function hn(e, t, r, n, i, s) {
446
+ let o = class extends Kt {
447
447
  constructor() {
448
448
  super(e, r, i), this.$$p_d = t;
449
449
  }
@@ -473,7 +473,7 @@ function sn(e, t, r, n, i, s) {
473
473
  }), e.element = /** @type {any} */
474
474
  o, o;
475
475
  }
476
- class on {
476
+ class ln {
477
477
  constructor() {
478
478
  /**
479
479
  * ### PRIVATE API
@@ -494,7 +494,7 @@ class on {
494
494
  }
495
495
  /** @returns {void} */
496
496
  $destroy() {
497
- tn(this, 1), this.$destroy = I;
497
+ on(this, 1), this.$destroy = I;
498
498
  }
499
499
  /**
500
500
  * @template {Extract<keyof Events, string>} K
@@ -503,7 +503,7 @@ class on {
503
503
  * @returns {() => void}
504
504
  */
505
505
  $on(t, r) {
506
- if (!it(r))
506
+ if (!ht(r))
507
507
  return I;
508
508
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
509
509
  return n.push(r), () => {
@@ -516,11 +516,11 @@ class on {
516
516
  * @returns {void}
517
517
  */
518
518
  $set(t) {
519
- this.$$set && !$r(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
519
+ this.$$set && !Xr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
520
520
  }
521
521
  }
522
- const an = "4";
523
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(an);
522
+ const cn = "4";
523
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(cn);
524
524
  /*! *****************************************************************************
525
525
  Copyright (c) Microsoft Corporation.
526
526
 
@@ -535,43 +535,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
535
535
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
536
536
  PERFORMANCE OF THIS SOFTWARE.
537
537
  ***************************************************************************** */
538
- var Ve = function(e, t) {
539
- return Ve = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
538
+ var ze = function(e, t) {
539
+ return ze = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
540
540
  r.__proto__ = n;
541
541
  } || function(r, n) {
542
542
  for (var i in n)
543
543
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
544
- }, Ve(e, t);
544
+ }, ze(e, t);
545
545
  };
546
- function D(e, t) {
546
+ function me(e, t) {
547
547
  if (typeof t != "function" && t !== null)
548
548
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
549
- Ve(e, t);
549
+ ze(e, t);
550
550
  function r() {
551
551
  this.constructor = e;
552
552
  }
553
553
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
554
554
  }
555
- var v = function() {
556
- return v = Object.assign || function(t) {
557
- for (var r, n = 1, i = arguments.length; n < i; n++) {
558
- r = arguments[n];
559
- for (var s in r)
560
- Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
561
- }
562
- return t;
563
- }, v.apply(this, arguments);
564
- };
565
- function un(e, t) {
566
- var r = {};
567
- for (var n in e)
568
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
569
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
570
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
571
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
572
- return r;
573
- }
574
- function Xe(e) {
555
+ function Ze(e) {
575
556
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
576
557
  if (r)
577
558
  return r.call(e);
@@ -583,7 +564,7 @@ function Xe(e) {
583
564
  };
584
565
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
585
566
  }
586
- function We(e, t) {
567
+ function Qe(e, t) {
587
568
  var r = typeof Symbol == "function" && e[Symbol.iterator];
588
569
  if (!r)
589
570
  return e;
@@ -603,22 +584,22 @@ function We(e, t) {
603
584
  }
604
585
  return s;
605
586
  }
606
- function J(e, t, r) {
607
- if (r || arguments.length === 2)
587
+ function Ye(e, t, r) {
588
+ if (arguments.length === 2)
608
589
  for (var n = 0, i = t.length, s; n < i; n++)
609
590
  (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
610
591
  return e.concat(s || t);
611
592
  }
612
- function U(e) {
593
+ function D(e) {
613
594
  return typeof e == "function";
614
595
  }
615
- function Yt(e) {
596
+ function er(e) {
616
597
  var t = function(n) {
617
598
  Error.call(n), n.stack = new Error().stack;
618
599
  }, r = e(t);
619
600
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
620
601
  }
621
- var Me = Yt(function(e) {
602
+ var Ge = er(function(e) {
622
603
  return function(r) {
623
604
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
624
605
  ` + r.map(function(n, i) {
@@ -627,13 +608,13 @@ var Me = Yt(function(e) {
627
608
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
628
609
  };
629
610
  });
630
- function ze(e, t) {
611
+ function qe(e, t) {
631
612
  if (e) {
632
613
  var r = e.indexOf(t);
633
614
  0 <= r && e.splice(r, 1);
634
615
  }
635
616
  }
636
- var He = function() {
617
+ var Ae = function() {
637
618
  function e(t) {
638
619
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
639
620
  }
@@ -645,7 +626,7 @@ var He = function() {
645
626
  if (o)
646
627
  if (this._parentage = null, Array.isArray(o))
647
628
  try {
648
- for (var a = Xe(o), h = a.next(); !h.done; h = a.next()) {
629
+ for (var a = Ze(o), h = a.next(); !h.done; h = a.next()) {
649
630
  var u = h.value;
650
631
  u.remove(this);
651
632
  }
@@ -662,22 +643,22 @@ var He = function() {
662
643
  else
663
644
  o.remove(this);
664
645
  var l = this.initialTeardown;
665
- if (U(l))
646
+ if (D(l))
666
647
  try {
667
648
  l();
668
649
  } catch (y) {
669
- s = y instanceof Me ? y.errors : [y];
650
+ s = y instanceof Ge ? y.errors : [y];
670
651
  }
671
652
  var m = this._finalizers;
672
653
  if (m) {
673
654
  this._finalizers = null;
674
655
  try {
675
- for (var c = Xe(m), d = c.next(); !d.done; d = c.next()) {
656
+ for (var c = Ze(m), d = c.next(); !d.done; d = c.next()) {
676
657
  var b = d.value;
677
658
  try {
678
- vt(b);
659
+ St(b);
679
660
  } catch (y) {
680
- s = s != null ? s : [], y instanceof Me ? s = J(J([], We(s)), We(y.errors)) : s.push(y);
661
+ s = s != null ? s : [], y instanceof Ge ? s = Ye(Ye([], Qe(s)), Qe(y.errors)) : s.push(y);
681
662
  }
682
663
  }
683
664
  } catch (y) {
@@ -692,13 +673,13 @@ var He = function() {
692
673
  }
693
674
  }
694
675
  if (s)
695
- throw new Me(s);
676
+ throw new Ge(s);
696
677
  }
697
678
  }, e.prototype.add = function(t) {
698
679
  var r;
699
680
  if (t && t !== this)
700
681
  if (this.closed)
701
- vt(t);
682
+ St(t);
702
683
  else {
703
684
  if (t instanceof e) {
704
685
  if (t.closed || t._hasParent(this))
@@ -715,56 +696,52 @@ var He = function() {
715
696
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
716
697
  }, e.prototype._removeParent = function(t) {
717
698
  var r = this._parentage;
718
- r === t ? this._parentage = null : Array.isArray(r) && ze(r, t);
699
+ r === t ? this._parentage = null : Array.isArray(r) && qe(r, t);
719
700
  }, e.prototype.remove = function(t) {
720
701
  var r = this._finalizers;
721
- r && ze(r, t), t instanceof e && t._removeParent(this);
702
+ r && qe(r, t), t instanceof e && t._removeParent(this);
722
703
  }, e.EMPTY = function() {
723
704
  var t = new e();
724
705
  return t.closed = !0, t;
725
706
  }(), e;
726
- }(), qt = He.EMPTY;
727
- function Jt(e) {
728
- return e instanceof He || e && "closed" in e && U(e.remove) && U(e.add) && U(e.unsubscribe);
729
- }
730
- function vt(e) {
731
- U(e) ? e() : e.unsubscribe();
732
- }
733
- var hn = {
734
- onUnhandledError: null,
735
- onStoppedNotification: null,
736
- Promise: void 0,
737
- useDeprecatedSynchronousErrorHandling: !1,
738
- useDeprecatedNextContext: !1
739
- }, ln = {
707
+ }(), tr = Ae.EMPTY;
708
+ function rr(e) {
709
+ return e instanceof Ae || e && "closed" in e && D(e.remove) && D(e.add) && D(e.unsubscribe);
710
+ }
711
+ function St(e) {
712
+ D(e) ? e() : e.unsubscribe();
713
+ }
714
+ var fn = {
715
+ Promise: void 0
716
+ }, mn = {
740
717
  setTimeout: function(e, t) {
741
718
  for (var r = [], n = 2; n < arguments.length; n++)
742
719
  r[n - 2] = arguments[n];
743
- return setTimeout.apply(void 0, J([e, t], We(r)));
720
+ return setTimeout.apply(void 0, Ye([e, t], Qe(r)));
744
721
  },
745
722
  clearTimeout: function(e) {
746
723
  return clearTimeout(e);
747
724
  },
748
725
  delegate: void 0
749
726
  };
750
- function cn(e) {
751
- ln.setTimeout(function() {
727
+ function dn(e) {
728
+ mn.setTimeout(function() {
752
729
  throw e;
753
730
  });
754
731
  }
755
- function _t() {
732
+ function wt() {
756
733
  }
757
734
  function Ee(e) {
758
735
  e();
759
736
  }
760
- var Kt = function(e) {
761
- D(t, e);
737
+ var nr = function(e) {
738
+ me(t, e);
762
739
  function t(r) {
763
740
  var n = e.call(this) || this;
764
- return n.isStopped = !1, r ? (n.destination = r, Jt(r) && r.add(n)) : n.destination = dn, n;
741
+ return n.isStopped = !1, r ? (n.destination = r, rr(r) && r.add(n)) : n.destination = gn, n;
765
742
  }
766
743
  return t.create = function(r, n, i) {
767
- return new Ze(r, n, i);
744
+ return new Je(r, n, i);
768
745
  }, t.prototype.next = function(r) {
769
746
  this.isStopped || this._next(r);
770
747
  }, t.prototype.error = function(r) {
@@ -788,7 +765,7 @@ var Kt = function(e) {
788
765
  this.unsubscribe();
789
766
  }
790
767
  }, t;
791
- }(He), fn = function() {
768
+ }(Ae), bn = function() {
792
769
  function e(t) {
793
770
  this.partialObserver = t;
794
771
  }
@@ -819,43 +796,43 @@ var Kt = function(e) {
819
796
  ye(r);
820
797
  }
821
798
  }, e;
822
- }(), Ze = function(e) {
823
- D(t, e);
799
+ }(), Je = function(e) {
800
+ me(t, e);
824
801
  function t(r, n, i) {
825
802
  var s = e.call(this) || this, o;
826
- return U(r) || !r ? o = {
803
+ return D(r) || !r ? o = {
827
804
  next: r != null ? r : void 0,
828
805
  error: n != null ? n : void 0,
829
806
  complete: i != null ? i : void 0
830
- } : o = r, s.destination = new fn(o), s;
807
+ } : o = r, s.destination = new bn(o), s;
831
808
  }
832
809
  return t;
833
- }(Kt);
810
+ }(nr);
834
811
  function ye(e) {
835
- cn(e);
812
+ dn(e);
836
813
  }
837
- function mn(e) {
814
+ function pn(e) {
838
815
  throw e;
839
816
  }
840
- var dn = {
817
+ var gn = {
841
818
  closed: !0,
842
- next: _t,
843
- error: mn,
844
- complete: _t
845
- }, bn = function() {
819
+ next: wt,
820
+ error: pn,
821
+ complete: wt
822
+ }, yn = function() {
846
823
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
847
824
  }();
848
- function pn(e) {
825
+ function vn(e) {
849
826
  return e;
850
827
  }
851
- function gn(e) {
852
- return e.length === 0 ? pn : e.length === 1 ? e[0] : function(r) {
828
+ function _n(e) {
829
+ return e.length === 0 ? vn : e.length === 1 ? e[0] : function(r) {
853
830
  return e.reduce(function(n, i) {
854
831
  return i(n);
855
832
  }, r);
856
833
  };
857
834
  }
858
- var Et = function() {
835
+ var Tt = function() {
859
836
  function e(t) {
860
837
  t && (this._subscribe = t);
861
838
  }
@@ -863,7 +840,7 @@ var Et = function() {
863
840
  var r = new e();
864
841
  return r.source = this, r.operator = t, r;
865
842
  }, e.prototype.subscribe = function(t, r, n) {
866
- var i = this, s = vn(t) ? t : new Ze(t, r, n);
843
+ var i = this, s = xn(t) ? t : new Je(t, r, n);
867
844
  return Ee(function() {
868
845
  var o = i, a = o.operator, h = o.source;
869
846
  s.add(a ? a.call(s, h) : h ? i._subscribe(s) : i._trySubscribe(s));
@@ -876,8 +853,8 @@ var Et = function() {
876
853
  }
877
854
  }, e.prototype.forEach = function(t, r) {
878
855
  var n = this;
879
- return r = xt(r), new r(function(i, s) {
880
- var o = new Ze({
856
+ return r = Ht(r), new r(function(i, s) {
857
+ var o = new Je({
881
858
  next: function(a) {
882
859
  try {
883
860
  t(a);
@@ -893,15 +870,15 @@ var Et = function() {
893
870
  }, e.prototype._subscribe = function(t) {
894
871
  var r;
895
872
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
896
- }, e.prototype[bn] = function() {
873
+ }, e.prototype[yn] = function() {
897
874
  return this;
898
875
  }, e.prototype.pipe = function() {
899
876
  for (var t = [], r = 0; r < arguments.length; r++)
900
877
  t[r] = arguments[r];
901
- return gn(t)(this);
878
+ return _n(t)(this);
902
879
  }, e.prototype.toPromise = function(t) {
903
880
  var r = this;
904
- return t = xt(t), new t(function(n, i) {
881
+ return t = Ht(t), new t(function(n, i) {
905
882
  var s;
906
883
  r.subscribe(function(o) {
907
884
  return s = o;
@@ -915,32 +892,32 @@ var Et = function() {
915
892
  return new e(t);
916
893
  }, e;
917
894
  }();
918
- function xt(e) {
895
+ function Ht(e) {
919
896
  var t;
920
- return (t = e != null ? e : hn.Promise) !== null && t !== void 0 ? t : Promise;
897
+ return (t = e != null ? e : fn.Promise) !== null && t !== void 0 ? t : Promise;
921
898
  }
922
- function yn(e) {
923
- return e && U(e.next) && U(e.error) && U(e.complete);
899
+ function En(e) {
900
+ return e && D(e.next) && D(e.error) && D(e.complete);
924
901
  }
925
- function vn(e) {
926
- return e && e instanceof Kt || yn(e) && Jt(e);
902
+ function xn(e) {
903
+ return e && e instanceof nr || En(e) && rr(e);
927
904
  }
928
- var _n = Yt(function(e) {
905
+ var Sn = er(function(e) {
929
906
  return function() {
930
907
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
931
908
  };
932
- }), er = function(e) {
933
- D(t, e);
909
+ }), ir = function(e) {
910
+ me(t, e);
934
911
  function t() {
935
912
  var r = e.call(this) || this;
936
913
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
937
914
  }
938
915
  return t.prototype.lift = function(r) {
939
- var n = new St(this, this);
916
+ var n = new At(this, this);
940
917
  return n.operator = r, n;
941
918
  }, t.prototype._throwIfClosed = function() {
942
919
  if (this.closed)
943
- throw new _n();
920
+ throw new Sn();
944
921
  }, t.prototype.next = function(r) {
945
922
  var n = this;
946
923
  Ee(function() {
@@ -948,7 +925,7 @@ var _n = Yt(function(e) {
948
925
  if (n._throwIfClosed(), !n.isStopped) {
949
926
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
950
927
  try {
951
- for (var o = Xe(n.currentObservers), a = o.next(); !a.done; a = o.next()) {
928
+ for (var o = Ze(n.currentObservers), a = o.next(); !a.done; a = o.next()) {
952
929
  var h = a.value;
953
930
  h.next(r);
954
931
  }
@@ -997,20 +974,20 @@ var _n = Yt(function(e) {
997
974
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
998
975
  }, t.prototype._innerSubscribe = function(r) {
999
976
  var n = this, i = this, s = i.hasError, o = i.isStopped, a = i.observers;
1000
- return s || o ? qt : (this.currentObservers = null, a.push(r), new He(function() {
1001
- n.currentObservers = null, ze(a, r);
977
+ return s || o ? tr : (this.currentObservers = null, a.push(r), new Ae(function() {
978
+ n.currentObservers = null, qe(a, r);
1002
979
  }));
1003
980
  }, t.prototype._checkFinalizedStatuses = function(r) {
1004
981
  var n = this, i = n.hasError, s = n.thrownError, o = n.isStopped;
1005
982
  i ? r.error(s) : o && r.complete();
1006
983
  }, t.prototype.asObservable = function() {
1007
- var r = new Et();
984
+ var r = new Tt();
1008
985
  return r.source = this, r;
1009
986
  }, t.create = function(r, n) {
1010
- return new St(r, n);
987
+ return new At(r, n);
1011
988
  }, t;
1012
- }(Et), St = function(e) {
1013
- D(t, e);
989
+ }(Tt), At = function(e) {
990
+ me(t, e);
1014
991
  function t(r, n) {
1015
992
  var i = e.call(this) || this;
1016
993
  return i.destination = r, i.source = n, i;
@@ -1026,17 +1003,17 @@ var _n = Yt(function(e) {
1026
1003
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1027
1004
  }, t.prototype._subscribe = function(r) {
1028
1005
  var n, i;
1029
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : qt;
1006
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : tr;
1030
1007
  }, t;
1031
- }(er), tr = {
1008
+ }(ir), sr = {
1032
1009
  now: function() {
1033
- return (tr.delegate || Date).now();
1010
+ return (sr.delegate || Date).now();
1034
1011
  },
1035
1012
  delegate: void 0
1036
- }, En = function(e) {
1037
- D(t, e);
1013
+ }, wn = function(e) {
1014
+ me(t, e);
1038
1015
  function t(r, n, i) {
1039
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = tr);
1016
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = sr);
1040
1017
  var s = e.call(this) || this;
1041
1018
  return s._bufferSize = r, s._windowTime = n, s._timestampProvider = i, s._buffer = [], s._infiniteTimeWindow = !0, s._infiniteTimeWindow = n === 1 / 0, s._bufferSize = Math.max(1, r), s._windowTime = Math.max(1, n), s;
1042
1019
  }
@@ -1056,24 +1033,24 @@ var _n = Yt(function(e) {
1056
1033
  u && s.splice(0, u + 1);
1057
1034
  }
1058
1035
  }, t;
1059
- }(er);
1060
- const wt = [], Tt = {}, xn = (e, t = 0) => {
1061
- if (wt.indexOf(e) == -1) {
1062
- const r = new En(t);
1063
- Tt[e] = r, wt.push(e);
1036
+ }(ir);
1037
+ const Bt = [], Pt = {}, Tn = (e, t = 0) => {
1038
+ if (Bt.indexOf(e) == -1) {
1039
+ const r = new wn(t);
1040
+ Pt[e] = r, Bt.push(e);
1064
1041
  }
1065
- return Tt[e];
1042
+ return Pt[e];
1066
1043
  }, Q = [];
1067
- function Sn(e, t) {
1044
+ function Hn(e, t) {
1068
1045
  return {
1069
- subscribe: Ae(e, t).subscribe
1046
+ subscribe: Be(e, t).subscribe
1070
1047
  };
1071
1048
  }
1072
- function Ae(e, t = I) {
1049
+ function Be(e, t = I) {
1073
1050
  let r;
1074
1051
  const n = /* @__PURE__ */ new Set();
1075
1052
  function i(a) {
1076
- if (jt(e, a) && (e = a, r)) {
1053
+ if (Wt(e, a) && (e = a, r)) {
1077
1054
  const h = !Q.length;
1078
1055
  for (const u of n)
1079
1056
  u[1](), Q.push(u, e);
@@ -1095,12 +1072,12 @@ function Ae(e, t = I) {
1095
1072
  }
1096
1073
  return { set: i, update: s, subscribe: o };
1097
1074
  }
1098
- function se(e, t, r) {
1075
+ function ie(e, t, r) {
1099
1076
  const n = !Array.isArray(e), i = n ? [e] : e;
1100
1077
  if (!i.every(Boolean))
1101
1078
  throw new Error("derived() expects stores as input, got a falsy value");
1102
1079
  const s = t.length < 2;
1103
- return Sn(r, (o, a) => {
1080
+ return Hn(r, (o, a) => {
1104
1081
  let h = !1;
1105
1082
  const u = [];
1106
1083
  let l = 0, m = I;
@@ -1109,9 +1086,9 @@ function se(e, t, r) {
1109
1086
  return;
1110
1087
  m();
1111
1088
  const b = t(n ? u[0] : u, o, a);
1112
- s ? o(b) : m = it(b) ? b : I;
1089
+ s ? o(b) : m = ht(b) ? b : I;
1113
1090
  }, d = i.map(
1114
- (b, y) => kt(
1091
+ (b, y) => zt(
1115
1092
  b,
1116
1093
  (T) => {
1117
1094
  u[y] = T, l &= ~(1 << y), h && c();
@@ -1122,118 +1099,157 @@ function se(e, t, r) {
1122
1099
  )
1123
1100
  );
1124
1101
  return h = !0, c(), function() {
1125
- ne(d), m(), h = !1;
1102
+ re(d), m(), h = !1;
1126
1103
  };
1127
1104
  });
1128
1105
  }
1129
- function wn(e) {
1130
- return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1106
+ function An(e) {
1107
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1131
1108
  }
1132
- var Tn = function(t) {
1133
- return Hn(t) && !An(t);
1109
+ var Bn = function(t) {
1110
+ return Pn(t) && !On(t);
1134
1111
  };
1135
- function Hn(e) {
1112
+ function Pn(e) {
1136
1113
  return !!e && typeof e == "object";
1137
1114
  }
1138
- function An(e) {
1115
+ function On(e) {
1139
1116
  var t = Object.prototype.toString.call(e);
1140
- return t === "[object RegExp]" || t === "[object Date]" || Nn(e);
1117
+ return t === "[object RegExp]" || t === "[object Date]" || In(e);
1141
1118
  }
1142
- var Bn = typeof Symbol == "function" && Symbol.for, Pn = Bn ? Symbol.for("react.element") : 60103;
1143
- function Nn(e) {
1144
- return e.$$typeof === Pn;
1119
+ var Nn = typeof Symbol == "function" && Symbol.for, Ln = Nn ? Symbol.for("react.element") : 60103;
1120
+ function In(e) {
1121
+ return e.$$typeof === Ln;
1145
1122
  }
1146
- function On(e) {
1123
+ function Cn(e) {
1147
1124
  return Array.isArray(e) ? [] : {};
1148
1125
  }
1149
- function le(e, t) {
1150
- return t.clone !== !1 && t.isMergeableObject(e) ? K(On(e), e, t) : e;
1126
+ function he(e, t) {
1127
+ return t.clone !== !1 && t.isMergeableObject(e) ? J(Cn(e), e, t) : e;
1151
1128
  }
1152
- function Ln(e, t, r) {
1129
+ function Mn(e, t, r) {
1153
1130
  return e.concat(t).map(function(n) {
1154
- return le(n, r);
1131
+ return he(n, r);
1155
1132
  });
1156
1133
  }
1157
- function In(e, t) {
1134
+ function Rn(e, t) {
1158
1135
  if (!t.customMerge)
1159
- return K;
1136
+ return J;
1160
1137
  var r = t.customMerge(e);
1161
- return typeof r == "function" ? r : K;
1138
+ return typeof r == "function" ? r : J;
1162
1139
  }
1163
- function Cn(e) {
1140
+ function Gn(e) {
1164
1141
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1165
1142
  return Object.propertyIsEnumerable.call(e, t);
1166
1143
  }) : [];
1167
1144
  }
1168
- function Ht(e) {
1169
- return Object.keys(e).concat(Cn(e));
1145
+ function Ot(e) {
1146
+ return Object.keys(e).concat(Gn(e));
1170
1147
  }
1171
- function rr(e, t) {
1148
+ function or(e, t) {
1172
1149
  try {
1173
1150
  return t in e;
1174
1151
  } catch (r) {
1175
1152
  return !1;
1176
1153
  }
1177
1154
  }
1178
- function Mn(e, t) {
1179
- return rr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1155
+ function Un(e, t) {
1156
+ return or(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1180
1157
  }
1181
- function Rn(e, t, r) {
1158
+ function Dn(e, t, r) {
1182
1159
  var n = {};
1183
- return r.isMergeableObject(e) && Ht(e).forEach(function(i) {
1184
- n[i] = le(e[i], r);
1185
- }), Ht(t).forEach(function(i) {
1186
- Mn(e, i) || (rr(e, i) && r.isMergeableObject(t[i]) ? n[i] = In(i, r)(e[i], t[i], r) : n[i] = le(t[i], r));
1160
+ return r.isMergeableObject(e) && Ot(e).forEach(function(i) {
1161
+ n[i] = he(e[i], r);
1162
+ }), Ot(t).forEach(function(i) {
1163
+ Un(e, i) || (or(e, i) && r.isMergeableObject(t[i]) ? n[i] = Rn(i, r)(e[i], t[i], r) : n[i] = he(t[i], r));
1187
1164
  }), n;
1188
1165
  }
1189
- function K(e, t, r) {
1190
- r = r || {}, r.arrayMerge = r.arrayMerge || Ln, r.isMergeableObject = r.isMergeableObject || Tn, r.cloneUnlessOtherwiseSpecified = le;
1166
+ function J(e, t, r) {
1167
+ r = r || {}, r.arrayMerge = r.arrayMerge || Mn, r.isMergeableObject = r.isMergeableObject || Bn, r.cloneUnlessOtherwiseSpecified = he;
1191
1168
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
1192
- return s ? n ? r.arrayMerge(e, t, r) : Rn(e, t, r) : le(t, r);
1169
+ return s ? n ? r.arrayMerge(e, t, r) : Dn(e, t, r) : he(t, r);
1193
1170
  }
1194
- K.all = function(t, r) {
1171
+ J.all = function(t, r) {
1195
1172
  if (!Array.isArray(t))
1196
1173
  throw new Error("first argument should be an array");
1197
1174
  return t.reduce(function(n, i) {
1198
- return K(n, i, r);
1175
+ return J(n, i, r);
1199
1176
  }, {});
1200
1177
  };
1201
- var Gn = K, Un = Gn;
1202
- const Dn = /* @__PURE__ */ wn(Un);
1203
- function Re(e, t) {
1204
- var r = t && t.cache ? t.cache : Wn, n = t && t.serializer ? t.serializer : Vn, i = t && t.strategy ? t.strategy : $n;
1178
+ var $n = J, Fn = $n;
1179
+ const jn = /* @__PURE__ */ An(Fn);
1180
+ var Ke = function(e, t) {
1181
+ return Ke = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1182
+ r.__proto__ = n;
1183
+ } || function(r, n) {
1184
+ for (var i in n)
1185
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1186
+ }, Ke(e, t);
1187
+ };
1188
+ function Pe(e, t) {
1189
+ if (typeof t != "function" && t !== null)
1190
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1191
+ Ke(e, t);
1192
+ function r() {
1193
+ this.constructor = e;
1194
+ }
1195
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1196
+ }
1197
+ var G = function() {
1198
+ return G = Object.assign || function(t) {
1199
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1200
+ r = arguments[n];
1201
+ for (var s in r)
1202
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
1203
+ }
1204
+ return t;
1205
+ }, G.apply(this, arguments);
1206
+ };
1207
+ function kn(e, t) {
1208
+ var r = {};
1209
+ for (var n in e)
1210
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1211
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
1212
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1213
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1214
+ return r;
1215
+ }
1216
+ function Ue(e, t, r) {
1217
+ if (r || arguments.length === 2)
1218
+ for (var n = 0, i = t.length, s; n < i; n++)
1219
+ (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
1220
+ return e.concat(s || Array.prototype.slice.call(t));
1221
+ }
1222
+ function De(e, t) {
1223
+ var r = t && t.cache ? t.cache : Yn, n = t && t.serializer ? t.serializer : Zn, i = t && t.strategy ? t.strategy : Wn;
1205
1224
  return i(e, {
1206
1225
  cache: r,
1207
1226
  serializer: n
1208
1227
  });
1209
1228
  }
1210
- function Fn(e) {
1229
+ function Vn(e) {
1211
1230
  return e == null || typeof e == "number" || typeof e == "boolean";
1212
1231
  }
1213
- function nr(e, t, r, n) {
1214
- var i = Fn(n) ? n : r(n), s = t.get(i);
1232
+ function Xn(e, t, r, n) {
1233
+ var i = Vn(n) ? n : r(n), s = t.get(i);
1215
1234
  return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
1216
1235
  }
1217
- function ir(e, t, r) {
1236
+ function ar(e, t, r) {
1218
1237
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
1219
1238
  return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
1220
1239
  }
1221
- function st(e, t, r, n, i) {
1240
+ function ur(e, t, r, n, i) {
1222
1241
  return r.bind(t, e, n, i);
1223
1242
  }
1224
- function $n(e, t) {
1225
- var r = e.length === 1 ? nr : ir;
1226
- return st(e, this, r, t.cache.create(), t.serializer);
1243
+ function Wn(e, t) {
1244
+ var r = e.length === 1 ? Xn : ar;
1245
+ return ur(e, this, r, t.cache.create(), t.serializer);
1227
1246
  }
1228
- function jn(e, t) {
1229
- return st(e, this, ir, t.cache.create(), t.serializer);
1230
- }
1231
- function kn(e, t) {
1232
- return st(e, this, nr, t.cache.create(), t.serializer);
1247
+ function zn(e, t) {
1248
+ return ur(e, this, ar, t.cache.create(), t.serializer);
1233
1249
  }
1234
- var Vn = function() {
1250
+ var Zn = function() {
1235
1251
  return JSON.stringify(arguments);
1236
- }, Xn = (
1252
+ }, Qn = (
1237
1253
  /** @class */
1238
1254
  function() {
1239
1255
  function e() {
@@ -1245,62 +1261,71 @@ var Vn = function() {
1245
1261
  this.cache[t] = r;
1246
1262
  }, e;
1247
1263
  }()
1248
- ), Wn = {
1264
+ ), Yn = {
1249
1265
  create: function() {
1250
- return new Xn();
1266
+ return new Qn();
1251
1267
  }
1252
- }, Ge = {
1253
- variadic: jn,
1254
- monadic: kn
1255
- }, p;
1268
+ }, $e = {
1269
+ variadic: zn
1270
+ }, we = function() {
1271
+ return we = Object.assign || function(t) {
1272
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1273
+ r = arguments[n];
1274
+ for (var s in r)
1275
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
1276
+ }
1277
+ return t;
1278
+ }, we.apply(this, arguments);
1279
+ };
1280
+ var p;
1256
1281
  (function(e) {
1257
1282
  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";
1258
1283
  })(p || (p = {}));
1259
- var x;
1284
+ var E;
1260
1285
  (function(e) {
1261
1286
  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";
1262
- })(x || (x = {}));
1263
- var ee;
1287
+ })(E || (E = {}));
1288
+ var K;
1264
1289
  (function(e) {
1265
1290
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1266
- })(ee || (ee = {}));
1267
- function At(e) {
1268
- return e.type === x.literal;
1291
+ })(K || (K = {}));
1292
+ function Nt(e) {
1293
+ return e.type === E.literal;
1269
1294
  }
1270
- function zn(e) {
1271
- return e.type === x.argument;
1295
+ function qn(e) {
1296
+ return e.type === E.argument;
1272
1297
  }
1273
- function sr(e) {
1274
- return e.type === x.number;
1298
+ function hr(e) {
1299
+ return e.type === E.number;
1275
1300
  }
1276
- function or(e) {
1277
- return e.type === x.date;
1301
+ function lr(e) {
1302
+ return e.type === E.date;
1278
1303
  }
1279
- function ar(e) {
1280
- return e.type === x.time;
1304
+ function cr(e) {
1305
+ return e.type === E.time;
1281
1306
  }
1282
- function ur(e) {
1283
- return e.type === x.select;
1307
+ function fr(e) {
1308
+ return e.type === E.select;
1284
1309
  }
1285
- function hr(e) {
1286
- return e.type === x.plural;
1310
+ function mr(e) {
1311
+ return e.type === E.plural;
1287
1312
  }
1288
- function Zn(e) {
1289
- return e.type === x.pound;
1313
+ function Jn(e) {
1314
+ return e.type === E.pound;
1290
1315
  }
1291
- function lr(e) {
1292
- return e.type === x.tag;
1316
+ function dr(e) {
1317
+ return e.type === E.tag;
1293
1318
  }
1294
- function cr(e) {
1295
- return !!(e && typeof e == "object" && e.type === ee.number);
1319
+ function br(e) {
1320
+ return !!(e && typeof e == "object" && e.type === K.number);
1296
1321
  }
1297
- function Qe(e) {
1298
- return !!(e && typeof e == "object" && e.type === ee.dateTime);
1322
+ function et(e) {
1323
+ return !!(e && typeof e == "object" && e.type === K.dateTime);
1299
1324
  }
1300
- var fr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Qn = /(?:[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;
1301
- function Yn(e) {
1325
+ var pr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Kn = /(?:[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;
1326
+ function ei(e) {
1302
1327
  var t = {};
1303
- return e.replace(Qn, function(r) {
1328
+ return e.replace(Kn, function(r) {
1304
1329
  var n = r.length;
1305
1330
  switch (r[0]) {
1306
1331
  case "G":
@@ -1389,11 +1414,21 @@ function Yn(e) {
1389
1414
  return "";
1390
1415
  }), t;
1391
1416
  }
1392
- var qn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1393
- function Jn(e) {
1417
+ var S = function() {
1418
+ return S = Object.assign || function(t) {
1419
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1420
+ r = arguments[n];
1421
+ for (var s in r)
1422
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
1423
+ }
1424
+ return t;
1425
+ }, S.apply(this, arguments);
1426
+ };
1427
+ var ti = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1428
+ function ri(e) {
1394
1429
  if (e.length === 0)
1395
1430
  throw new Error("Number skeleton cannot be empty");
1396
- for (var t = e.split(qn).filter(function(c) {
1431
+ for (var t = e.split(ti).filter(function(c) {
1397
1432
  return c.length > 0;
1398
1433
  }), r = [], n = 0, i = t; n < i.length; n++) {
1399
1434
  var s = i[n], o = s.split("/");
@@ -1408,17 +1443,17 @@ function Jn(e) {
1408
1443
  }
1409
1444
  return r;
1410
1445
  }
1411
- function Kn(e) {
1446
+ function ni(e) {
1412
1447
  return e.replace(/^(.*?)-/, "");
1413
1448
  }
1414
- var Bt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, mr = /^(@+)?(\+|#+)?[rs]?$/g, ei = /(\*)(0+)|(#+)(0+)|(0+)/g, dr = /^(0+)$/;
1415
- function Pt(e) {
1449
+ var Lt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, gr = /^(@+)?(\+|#+)?[rs]?$/g, ii = /(\*)(0+)|(#+)(0+)|(0+)/g, yr = /^(0+)$/;
1450
+ function It(e) {
1416
1451
  var t = {};
1417
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(mr, function(r, n, i) {
1452
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(gr, function(r, n, i) {
1418
1453
  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)), "";
1419
1454
  }), t;
1420
1455
  }
1421
- function br(e) {
1456
+ function vr(e) {
1422
1457
  switch (e) {
1423
1458
  case "sign-auto":
1424
1459
  return {
@@ -1458,7 +1493,7 @@ function br(e) {
1458
1493
  };
1459
1494
  }
1460
1495
  }
1461
- function ti(e) {
1496
+ function si(e) {
1462
1497
  var t;
1463
1498
  if (e[0] === "E" && e[1] === "E" ? (t = {
1464
1499
  notation: "engineering"
@@ -1466,17 +1501,17 @@ function ti(e) {
1466
1501
  notation: "scientific"
1467
1502
  }, e = e.slice(1)), t) {
1468
1503
  var r = e.slice(0, 2);
1469
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !dr.test(e))
1504
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !yr.test(e))
1470
1505
  throw new Error("Malformed concise eng/scientific notation");
1471
1506
  t.minimumIntegerDigits = e.length;
1472
1507
  }
1473
1508
  return t;
1474
1509
  }
1475
- function Nt(e) {
1476
- var t = {}, r = br(e);
1510
+ function Ct(e) {
1511
+ var t = {}, r = vr(e);
1477
1512
  return r || t;
1478
1513
  }
1479
- function ri(e) {
1514
+ function oi(e) {
1480
1515
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1481
1516
  var i = n[r];
1482
1517
  switch (i.stem) {
@@ -1500,7 +1535,7 @@ function ri(e) {
1500
1535
  continue;
1501
1536
  case "measure-unit":
1502
1537
  case "unit":
1503
- t.style = "unit", t.unit = Kn(i.options[0]);
1538
+ t.style = "unit", t.unit = ni(i.options[0]);
1504
1539
  continue;
1505
1540
  case "compact-short":
1506
1541
  case "K":
@@ -1511,13 +1546,13 @@ function ri(e) {
1511
1546
  t.notation = "compact", t.compactDisplay = "long";
1512
1547
  continue;
1513
1548
  case "scientific":
1514
- t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1515
- return v(v({}, h), Nt(u));
1549
+ t = S(S(S({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1550
+ return S(S({}, h), Ct(u));
1516
1551
  }, {}));
1517
1552
  continue;
1518
1553
  case "engineering":
1519
- t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1520
- return v(v({}, h), Nt(u));
1554
+ t = S(S(S({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1555
+ return S(S({}, h), Ct(u));
1521
1556
  }, {}));
1522
1557
  continue;
1523
1558
  case "notation-simple":
@@ -1562,7 +1597,7 @@ function ri(e) {
1562
1597
  case "integer-width":
1563
1598
  if (i.options.length > 1)
1564
1599
  throw new RangeError("integer-width stems only accept a single optional option");
1565
- i.options[0].replace(ei, function(h, u, l, m, c, d) {
1600
+ i.options[0].replace(ii, function(h, u, l, m, c, d) {
1566
1601
  if (u)
1567
1602
  t.minimumIntegerDigits = l.length;
1568
1603
  else {
@@ -1575,28 +1610,28 @@ function ri(e) {
1575
1610
  });
1576
1611
  continue;
1577
1612
  }
1578
- if (dr.test(i.stem)) {
1613
+ if (yr.test(i.stem)) {
1579
1614
  t.minimumIntegerDigits = i.stem.length;
1580
1615
  continue;
1581
1616
  }
1582
- if (Bt.test(i.stem)) {
1617
+ if (Lt.test(i.stem)) {
1583
1618
  if (i.options.length > 1)
1584
1619
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1585
- i.stem.replace(Bt, function(h, u, l, m, c, d) {
1620
+ i.stem.replace(Lt, function(h, u, l, m, c, d) {
1586
1621
  return l === "*" ? t.minimumFractionDigits = u.length : m && m[0] === "#" ? t.maximumFractionDigits = m.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1587
1622
  });
1588
1623
  var s = i.options[0];
1589
- s === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = v(v({}, t), Pt(s)));
1624
+ s === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = S(S({}, t), It(s)));
1590
1625
  continue;
1591
1626
  }
1592
- if (mr.test(i.stem)) {
1593
- t = v(v({}, t), Pt(i.stem));
1627
+ if (gr.test(i.stem)) {
1628
+ t = S(S({}, t), It(i.stem));
1594
1629
  continue;
1595
1630
  }
1596
- var o = br(i.stem);
1597
- o && (t = v(v({}, t), o));
1598
- var a = ti(i.stem);
1599
- a && (t = v(v({}, t), a));
1631
+ var o = vr(i.stem);
1632
+ o && (t = S(S({}, t), o));
1633
+ var a = si(i.stem);
1634
+ a && (t = S(S({}, t), a));
1600
1635
  }
1601
1636
  return t;
1602
1637
  }
@@ -3015,13 +3050,13 @@ var ve = {
3015
3050
  "h"
3016
3051
  ]
3017
3052
  };
3018
- function ni(e, t) {
3053
+ function ai(e, t) {
3019
3054
  for (var r = "", n = 0; n < e.length; n++) {
3020
3055
  var i = e.charAt(n);
3021
3056
  if (i === "j") {
3022
3057
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3023
3058
  s++, n++;
3024
- var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", u = ii(t);
3059
+ var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", u = ui(t);
3025
3060
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
3026
3061
  r += h;
3027
3062
  for (; o-- > 0; )
@@ -3031,7 +3066,7 @@ function ni(e, t) {
3031
3066
  }
3032
3067
  return r;
3033
3068
  }
3034
- function ii(e) {
3069
+ function ui(e) {
3035
3070
  var t = e.hourCycle;
3036
3071
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3037
3072
  e.hourCycles && // @ts-ignore
@@ -3053,20 +3088,20 @@ function ii(e) {
3053
3088
  var i = ve[n || ""] || ve[r || ""] || ve["".concat(r, "-001")] || ve["001"];
3054
3089
  return i[0];
3055
3090
  }
3056
- var Ue, si = new RegExp("^".concat(fr.source, "*")), oi = new RegExp("".concat(fr.source, "*$"));
3091
+ var Fe, hi = new RegExp("^".concat(pr.source, "*")), li = new RegExp("".concat(pr.source, "*$"));
3057
3092
  function g(e, t) {
3058
3093
  return { start: e, end: t };
3059
3094
  }
3060
- var ai = !!String.prototype.startsWith && "_a".startsWith("a", 1), ui = !!String.fromCodePoint, hi = !!Object.fromEntries, li = !!String.prototype.codePointAt, ci = !!String.prototype.trimStart, fi = !!String.prototype.trimEnd, mi = !!Number.isSafeInteger, di = mi ? Number.isSafeInteger : function(e) {
3095
+ var ci = !!String.prototype.startsWith && "_a".startsWith("a", 1), fi = !!String.fromCodePoint, mi = !!Object.fromEntries, di = !!String.prototype.codePointAt, bi = !!String.prototype.trimStart, pi = !!String.prototype.trimEnd, gi = !!Number.isSafeInteger, yi = gi ? Number.isSafeInteger : function(e) {
3061
3096
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3062
- }, Ye = !0;
3097
+ }, tt = !0;
3063
3098
  try {
3064
- var bi = gr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3065
- Ye = ((Ue = bi.exec("a")) === null || Ue === void 0 ? void 0 : Ue[0]) === "a";
3099
+ var vi = Er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3100
+ tt = ((Fe = vi.exec("a")) === null || Fe === void 0 ? void 0 : Fe[0]) === "a";
3066
3101
  } catch (e) {
3067
- Ye = !1;
3102
+ tt = !1;
3068
3103
  }
3069
- var Ot = ai ? (
3104
+ var Mt = ci ? (
3070
3105
  // Native
3071
3106
  function(t, r, n) {
3072
3107
  return t.startsWith(r, n);
@@ -3076,7 +3111,7 @@ var Ot = ai ? (
3076
3111
  function(t, r, n) {
3077
3112
  return t.slice(n, n + r.length) === r;
3078
3113
  }
3079
- ), qe = ui ? String.fromCodePoint : (
3114
+ ), rt = fi ? String.fromCodePoint : (
3080
3115
  // IE11
3081
3116
  function() {
3082
3117
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3088,9 +3123,9 @@ var Ot = ai ? (
3088
3123
  }
3089
3124
  return n;
3090
3125
  }
3091
- ), Lt = (
3126
+ ), Rt = (
3092
3127
  // native
3093
- hi ? Object.fromEntries : (
3128
+ mi ? Object.fromEntries : (
3094
3129
  // Ponyfill
3095
3130
  function(t) {
3096
3131
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3100,7 +3135,7 @@ var Ot = ai ? (
3100
3135
  return r;
3101
3136
  }
3102
3137
  )
3103
- ), pr = li ? (
3138
+ ), _r = di ? (
3104
3139
  // Native
3105
3140
  function(t, r) {
3106
3141
  return t.codePointAt(r);
@@ -3114,7 +3149,7 @@ var Ot = ai ? (
3114
3149
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
3115
3150
  }
3116
3151
  }
3117
- ), pi = ci ? (
3152
+ ), _i = bi ? (
3118
3153
  // Native
3119
3154
  function(t) {
3120
3155
  return t.trimStart();
@@ -3122,9 +3157,9 @@ var Ot = ai ? (
3122
3157
  ) : (
3123
3158
  // Ponyfill
3124
3159
  function(t) {
3125
- return t.replace(si, "");
3160
+ return t.replace(hi, "");
3126
3161
  }
3127
- ), gi = fi ? (
3162
+ ), Ei = pi ? (
3128
3163
  // Native
3129
3164
  function(t) {
3130
3165
  return t.trimEnd();
@@ -3132,32 +3167,32 @@ var Ot = ai ? (
3132
3167
  ) : (
3133
3168
  // Ponyfill
3134
3169
  function(t) {
3135
- return t.replace(oi, "");
3170
+ return t.replace(li, "");
3136
3171
  }
3137
3172
  );
3138
- function gr(e, t) {
3173
+ function Er(e, t) {
3139
3174
  return new RegExp(e, t);
3140
3175
  }
3141
- var Je;
3142
- if (Ye) {
3143
- var It = gr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3144
- Je = function(t, r) {
3176
+ var nt;
3177
+ if (tt) {
3178
+ var Gt = Er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3179
+ nt = function(t, r) {
3145
3180
  var n;
3146
- It.lastIndex = r;
3147
- var i = It.exec(t);
3181
+ Gt.lastIndex = r;
3182
+ var i = Gt.exec(t);
3148
3183
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3149
3184
  };
3150
3185
  } else
3151
- Je = function(t, r) {
3186
+ nt = function(t, r) {
3152
3187
  for (var n = []; ; ) {
3153
- var i = pr(t, r);
3154
- if (i === void 0 || yr(i) || Ei(i))
3188
+ var i = _r(t, r);
3189
+ if (i === void 0 || xr(i) || Ti(i))
3155
3190
  break;
3156
3191
  n.push(i), r += i >= 65536 ? 2 : 1;
3157
3192
  }
3158
- return qe.apply(void 0, n);
3193
+ return rt.apply(void 0, n);
3159
3194
  };
3160
- var yi = (
3195
+ var xi = (
3161
3196
  /** @class */
3162
3197
  function() {
3163
3198
  function e(t, r) {
@@ -3181,14 +3216,14 @@ var yi = (
3181
3216
  if (s === 35 && (r === "plural" || r === "selectordinal")) {
3182
3217
  var a = this.clonePosition();
3183
3218
  this.bump(), i.push({
3184
- type: x.pound,
3219
+ type: E.pound,
3185
3220
  location: g(a, this.clonePosition())
3186
3221
  });
3187
3222
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
3188
3223
  if (n)
3189
3224
  break;
3190
3225
  return this.error(p.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
3191
- } else if (s === 60 && !this.ignoreTag && Ke(this.peek() || 0)) {
3226
+ } else if (s === 60 && !this.ignoreTag && it(this.peek() || 0)) {
3192
3227
  var o = this.parseTag(t, r);
3193
3228
  if (o.err)
3194
3229
  return o;
@@ -3209,7 +3244,7 @@ var yi = (
3209
3244
  if (this.bumpSpace(), this.bumpIf("/>"))
3210
3245
  return {
3211
3246
  val: {
3212
- type: x.literal,
3247
+ type: E.literal,
3213
3248
  value: "<".concat(i, "/>"),
3214
3249
  location: g(n, this.clonePosition())
3215
3250
  },
@@ -3221,12 +3256,12 @@ var yi = (
3221
3256
  return s;
3222
3257
  var o = s.val, a = this.clonePosition();
3223
3258
  if (this.bumpIf("</")) {
3224
- if (this.isEOF() || !Ke(this.char()))
3259
+ if (this.isEOF() || !it(this.char()))
3225
3260
  return this.error(p.INVALID_TAG, g(a, this.clonePosition()));
3226
3261
  var h = this.clonePosition(), u = this.parseTagName();
3227
3262
  return i !== u ? this.error(p.UNMATCHED_CLOSING_TAG, g(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3228
3263
  val: {
3229
- type: x.tag,
3264
+ type: E.tag,
3230
3265
  value: i,
3231
3266
  children: o,
3232
3267
  location: g(n, this.clonePosition())
@@ -3239,7 +3274,7 @@ var yi = (
3239
3274
  return this.error(p.INVALID_TAG, g(n, this.clonePosition()));
3240
3275
  }, e.prototype.parseTagName = function() {
3241
3276
  var t = this.offset();
3242
- for (this.bump(); !this.isEOF() && _i(this.char()); )
3277
+ for (this.bump(); !this.isEOF() && wi(this.char()); )
3243
3278
  this.bump();
3244
3279
  return this.message.slice(t, this.offset());
3245
3280
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3263,12 +3298,12 @@ var yi = (
3263
3298
  }
3264
3299
  var h = g(n, this.clonePosition());
3265
3300
  return {
3266
- val: { type: x.literal, value: i, location: h },
3301
+ val: { type: E.literal, value: i, location: h },
3267
3302
  err: null
3268
3303
  };
3269
3304
  }, e.prototype.tryParseLeftAngleBracket = function() {
3270
3305
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3271
- !vi(this.peek() || 0)) ? (this.bump(), "<") : null;
3306
+ !Si(this.peek() || 0)) ? (this.bump(), "<") : null;
3272
3307
  }, e.prototype.tryParseQuote = function(t) {
3273
3308
  if (this.isEOF() || this.char() !== 39)
3274
3309
  return null;
@@ -3302,12 +3337,12 @@ var yi = (
3302
3337
  r.push(n);
3303
3338
  this.bump();
3304
3339
  }
3305
- return qe.apply(void 0, r);
3340
+ return rt.apply(void 0, r);
3306
3341
  }, e.prototype.tryParseUnquoted = function(t, r) {
3307
3342
  if (this.isEOF())
3308
3343
  return null;
3309
3344
  var n = this.char();
3310
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), qe(n));
3345
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), rt(n));
3311
3346
  }, e.prototype.parseArgument = function(t, r) {
3312
3347
  var n = this.clonePosition();
3313
3348
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3323,7 +3358,7 @@ var yi = (
3323
3358
  case 125:
3324
3359
  return this.bump(), {
3325
3360
  val: {
3326
- type: x.argument,
3361
+ type: E.argument,
3327
3362
  // value does not include the opening and closing braces.
3328
3363
  value: i,
3329
3364
  location: g(n, this.clonePosition())
@@ -3336,7 +3371,7 @@ var yi = (
3336
3371
  return this.error(p.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3337
3372
  }
3338
3373
  }, e.prototype.parseIdentifierIfPossible = function() {
3339
- var t = this.clonePosition(), r = this.offset(), n = Je(this.message, r), i = r + n.length;
3374
+ var t = this.clonePosition(), r = this.offset(), n = nt(this.message, r), i = r + n.length;
3340
3375
  this.bumpTo(i);
3341
3376
  var s = this.clonePosition(), o = g(t, s);
3342
3377
  return { value: n, location: o };
@@ -3355,7 +3390,7 @@ var yi = (
3355
3390
  var l = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
3356
3391
  if (m.err)
3357
3392
  return m;
3358
- var c = gi(m.val);
3393
+ var c = Ei(m.val);
3359
3394
  if (c.length === 0)
3360
3395
  return this.error(p.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
3361
3396
  var d = g(l, this.clonePosition());
@@ -3365,25 +3400,25 @@ var yi = (
3365
3400
  if (b.err)
3366
3401
  return b;
3367
3402
  var y = g(i, this.clonePosition());
3368
- if (u && Ot(u == null ? void 0 : u.style, "::", 0)) {
3369
- var T = pi(u.style.slice(2));
3403
+ if (u && Mt(u == null ? void 0 : u.style, "::", 0)) {
3404
+ var T = _i(u.style.slice(2));
3370
3405
  if (a === "number") {
3371
3406
  var m = this.parseNumberSkeletonFromString(T, u.styleLocation);
3372
3407
  return m.err ? m : {
3373
- val: { type: x.number, value: n, location: y, style: m.val },
3408
+ val: { type: E.number, value: n, location: y, style: m.val },
3374
3409
  err: null
3375
3410
  };
3376
3411
  } else {
3377
3412
  if (T.length === 0)
3378
3413
  return this.error(p.EXPECT_DATE_TIME_SKELETON, y);
3379
3414
  var C = T;
3380
- this.locale && (C = ni(T, this.locale));
3415
+ this.locale && (C = ai(T, this.locale));
3381
3416
  var c = {
3382
- type: ee.dateTime,
3417
+ type: K.dateTime,
3383
3418
  pattern: C,
3384
3419
  location: u.styleLocation,
3385
- parsedOptions: this.shouldParseSkeletons ? Yn(C) : {}
3386
- }, P = a === "date" ? x.date : x.time;
3420
+ parsedOptions: this.shouldParseSkeletons ? ei(C) : {}
3421
+ }, P = a === "date" ? E.date : E.time;
3387
3422
  return {
3388
3423
  val: { type: P, value: n, location: y, style: c },
3389
3424
  err: null
@@ -3392,7 +3427,7 @@ var yi = (
3392
3427
  }
3393
3428
  return {
3394
3429
  val: {
3395
- type: a === "number" ? x.number : a === "date" ? x.date : x.time,
3430
+ type: a === "number" ? E.number : a === "date" ? E.date : E.time,
3396
3431
  value: n,
3397
3432
  location: y,
3398
3433
  style: (s = u == null ? void 0 : u.style) !== null && s !== void 0 ? s : null
@@ -3405,41 +3440,41 @@ var yi = (
3405
3440
  case "select": {
3406
3441
  var w = this.clonePosition();
3407
3442
  if (this.bumpSpace(), !this.bumpIf(","))
3408
- return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, g(w, v({}, w)));
3443
+ return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, g(w, we({}, w)));
3409
3444
  this.bumpSpace();
3410
- var N = this.parseIdentifierIfPossible(), O = 0;
3411
- if (a !== "select" && N.value === "offset") {
3445
+ var O = this.parseIdentifierIfPossible(), N = 0;
3446
+ if (a !== "select" && O.value === "offset") {
3412
3447
  if (!this.bumpIf(":"))
3413
3448
  return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
3414
3449
  this.bumpSpace();
3415
3450
  var m = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3416
3451
  if (m.err)
3417
3452
  return m;
3418
- this.bumpSpace(), N = this.parseIdentifierIfPossible(), O = m.val;
3453
+ this.bumpSpace(), O = this.parseIdentifierIfPossible(), N = m.val;
3419
3454
  }
3420
- var R = this.tryParsePluralOrSelectOptions(t, a, r, N);
3455
+ var R = this.tryParsePluralOrSelectOptions(t, a, r, O);
3421
3456
  if (R.err)
3422
3457
  return R;
3423
3458
  var b = this.tryParseArgumentClose(i);
3424
3459
  if (b.err)
3425
3460
  return b;
3426
- var E = g(i, this.clonePosition());
3461
+ var _ = g(i, this.clonePosition());
3427
3462
  return a === "select" ? {
3428
3463
  val: {
3429
- type: x.select,
3464
+ type: E.select,
3430
3465
  value: n,
3431
- options: Lt(R.val),
3432
- location: E
3466
+ options: Rt(R.val),
3467
+ location: _
3433
3468
  },
3434
3469
  err: null
3435
3470
  } : {
3436
3471
  val: {
3437
- type: x.plural,
3472
+ type: E.plural,
3438
3473
  value: n,
3439
- options: Lt(R.val),
3440
- offset: O,
3474
+ options: Rt(R.val),
3475
+ offset: N,
3441
3476
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3442
- location: E
3477
+ location: _
3443
3478
  },
3444
3479
  err: null
3445
3480
  };
@@ -3487,16 +3522,16 @@ var yi = (
3487
3522
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3488
3523
  var n = [];
3489
3524
  try {
3490
- n = Jn(t);
3525
+ n = ri(t);
3491
3526
  } catch (i) {
3492
3527
  return this.error(p.INVALID_NUMBER_SKELETON, r);
3493
3528
  }
3494
3529
  return {
3495
3530
  val: {
3496
- type: ee.number,
3531
+ type: K.number,
3497
3532
  tokens: n,
3498
3533
  location: r,
3499
- parsedOptions: this.shouldParseSkeletons ? ri(n) : {}
3534
+ parsedOptions: this.shouldParseSkeletons ? oi(n) : {}
3500
3535
  },
3501
3536
  err: null
3502
3537
  };
@@ -3544,7 +3579,7 @@ var yi = (
3544
3579
  break;
3545
3580
  }
3546
3581
  var h = g(i, this.clonePosition());
3547
- return s ? (o *= n, di(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
3582
+ return s ? (o *= n, yi(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
3548
3583
  }, e.prototype.offset = function() {
3549
3584
  return this.position.offset;
3550
3585
  }, e.prototype.isEOF = function() {
@@ -3559,7 +3594,7 @@ var yi = (
3559
3594
  var t = this.position.offset;
3560
3595
  if (t >= this.message.length)
3561
3596
  throw Error("out of bound");
3562
- var r = pr(this.message, t);
3597
+ var r = _r(this.message, t);
3563
3598
  if (r === void 0)
3564
3599
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3565
3600
  return r;
@@ -3578,7 +3613,7 @@ var yi = (
3578
3613
  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);
3579
3614
  }
3580
3615
  }, e.prototype.bumpIf = function(t) {
3581
- if (Ot(this.message, t, this.offset())) {
3616
+ if (Mt(this.message, t, this.offset())) {
3582
3617
  for (var r = 0; r < t.length; r++)
3583
3618
  this.bump();
3584
3619
  return !0;
@@ -3600,7 +3635,7 @@ var yi = (
3600
3635
  break;
3601
3636
  }
3602
3637
  }, e.prototype.bumpSpace = function() {
3603
- for (; !this.isEOF() && yr(this.char()); )
3638
+ for (; !this.isEOF() && xr(this.char()); )
3604
3639
  this.bump();
3605
3640
  }, e.prototype.peek = function() {
3606
3641
  if (this.isEOF())
@@ -3610,47 +3645,47 @@ var yi = (
3610
3645
  }, e;
3611
3646
  }()
3612
3647
  );
3613
- function Ke(e) {
3648
+ function it(e) {
3614
3649
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3615
3650
  }
3616
- function vi(e) {
3617
- return Ke(e) || e === 47;
3651
+ function Si(e) {
3652
+ return it(e) || e === 47;
3618
3653
  }
3619
- function _i(e) {
3654
+ function wi(e) {
3620
3655
  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;
3621
3656
  }
3622
- function yr(e) {
3657
+ function xr(e) {
3623
3658
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3624
3659
  }
3625
- function Ei(e) {
3660
+ function Ti(e) {
3626
3661
  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;
3627
3662
  }
3628
- function et(e) {
3663
+ function st(e) {
3629
3664
  e.forEach(function(t) {
3630
- if (delete t.location, ur(t) || hr(t))
3665
+ if (delete t.location, fr(t) || mr(t))
3631
3666
  for (var r in t.options)
3632
- delete t.options[r].location, et(t.options[r].value);
3667
+ delete t.options[r].location, st(t.options[r].value);
3633
3668
  else
3634
- sr(t) && cr(t.style) || (or(t) || ar(t)) && Qe(t.style) ? delete t.style.location : lr(t) && et(t.children);
3669
+ hr(t) && br(t.style) || (lr(t) || cr(t)) && et(t.style) ? delete t.style.location : dr(t) && st(t.children);
3635
3670
  });
3636
3671
  }
3637
- function xi(e, t) {
3638
- t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3639
- var r = new yi(e, t).parse();
3672
+ function Hi(e, t) {
3673
+ t === void 0 && (t = {}), t = we({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3674
+ var r = new xi(e, t).parse();
3640
3675
  if (r.err) {
3641
3676
  var n = SyntaxError(p[r.err.kind]);
3642
3677
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3643
3678
  }
3644
- return t != null && t.captureLocation || et(r.val), r.val;
3679
+ return t != null && t.captureLocation || st(r.val), r.val;
3645
3680
  }
3646
- var te;
3681
+ var ee;
3647
3682
  (function(e) {
3648
3683
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3649
- })(te || (te = {}));
3650
- var Be = (
3684
+ })(ee || (ee = {}));
3685
+ var Oe = (
3651
3686
  /** @class */
3652
3687
  function(e) {
3653
- D(t, e);
3688
+ Pe(t, e);
3654
3689
  function t(r, n, i) {
3655
3690
  var s = e.call(this, r) || this;
3656
3691
  return s.code = n, s.originalMessage = i, s;
@@ -3659,48 +3694,48 @@ var Be = (
3659
3694
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3660
3695
  }, t;
3661
3696
  }(Error)
3662
- ), Ct = (
3697
+ ), Ut = (
3663
3698
  /** @class */
3664
3699
  function(e) {
3665
- D(t, e);
3700
+ Pe(t, e);
3666
3701
  function t(r, n, i, s) {
3667
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), te.INVALID_VALUE, s) || this;
3702
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ee.INVALID_VALUE, s) || this;
3668
3703
  }
3669
3704
  return t;
3670
- }(Be)
3671
- ), Si = (
3705
+ }(Oe)
3706
+ ), Ai = (
3672
3707
  /** @class */
3673
3708
  function(e) {
3674
- D(t, e);
3709
+ Pe(t, e);
3675
3710
  function t(r, n, i) {
3676
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), te.INVALID_VALUE, i) || this;
3711
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ee.INVALID_VALUE, i) || this;
3677
3712
  }
3678
3713
  return t;
3679
- }(Be)
3680
- ), wi = (
3714
+ }(Oe)
3715
+ ), Bi = (
3681
3716
  /** @class */
3682
3717
  function(e) {
3683
- D(t, e);
3718
+ Pe(t, e);
3684
3719
  function t(r, n) {
3685
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), te.MISSING_VALUE, n) || this;
3720
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ee.MISSING_VALUE, n) || this;
3686
3721
  }
3687
3722
  return t;
3688
- }(Be)
3723
+ }(Oe)
3689
3724
  ), H;
3690
3725
  (function(e) {
3691
3726
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3692
3727
  })(H || (H = {}));
3693
- function Ti(e) {
3728
+ function Pi(e) {
3694
3729
  return e.length < 2 ? e : e.reduce(function(t, r) {
3695
3730
  var n = t[t.length - 1];
3696
3731
  return !n || n.type !== H.literal || r.type !== H.literal ? t.push(r) : n.value += r.value, t;
3697
3732
  }, []);
3698
3733
  }
3699
- function Hi(e) {
3734
+ function Oi(e) {
3700
3735
  return typeof e == "function";
3701
3736
  }
3702
3737
  function xe(e, t, r, n, i, s, o) {
3703
- if (e.length === 1 && At(e[0]))
3738
+ if (e.length === 1 && Nt(e[0]))
3704
3739
  return [
3705
3740
  {
3706
3741
  type: H.literal,
@@ -3709,14 +3744,14 @@ function xe(e, t, r, n, i, s, o) {
3709
3744
  ];
3710
3745
  for (var a = [], h = 0, u = e; h < u.length; h++) {
3711
3746
  var l = u[h];
3712
- if (At(l)) {
3747
+ if (Nt(l)) {
3713
3748
  a.push({
3714
3749
  type: H.literal,
3715
3750
  value: l.value
3716
3751
  });
3717
3752
  continue;
3718
3753
  }
3719
- if (Zn(l)) {
3754
+ if (Jn(l)) {
3720
3755
  typeof s == "number" && a.push({
3721
3756
  type: H.literal,
3722
3757
  value: r.getNumberFormat(t).format(s)
@@ -3725,89 +3760,89 @@ function xe(e, t, r, n, i, s, o) {
3725
3760
  }
3726
3761
  var m = l.value;
3727
3762
  if (!(i && m in i))
3728
- throw new wi(m, o);
3763
+ throw new Bi(m, o);
3729
3764
  var c = i[m];
3730
- if (zn(l)) {
3765
+ if (qn(l)) {
3731
3766
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3732
3767
  type: typeof c == "string" ? H.literal : H.object,
3733
3768
  value: c
3734
3769
  });
3735
3770
  continue;
3736
3771
  }
3737
- if (or(l)) {
3738
- var d = typeof l.style == "string" ? n.date[l.style] : Qe(l.style) ? l.style.parsedOptions : void 0;
3772
+ if (lr(l)) {
3773
+ var d = typeof l.style == "string" ? n.date[l.style] : et(l.style) ? l.style.parsedOptions : void 0;
3739
3774
  a.push({
3740
3775
  type: H.literal,
3741
3776
  value: r.getDateTimeFormat(t, d).format(c)
3742
3777
  });
3743
3778
  continue;
3744
3779
  }
3745
- if (ar(l)) {
3746
- var d = typeof l.style == "string" ? n.time[l.style] : Qe(l.style) ? l.style.parsedOptions : n.time.medium;
3780
+ if (cr(l)) {
3781
+ var d = typeof l.style == "string" ? n.time[l.style] : et(l.style) ? l.style.parsedOptions : n.time.medium;
3747
3782
  a.push({
3748
3783
  type: H.literal,
3749
3784
  value: r.getDateTimeFormat(t, d).format(c)
3750
3785
  });
3751
3786
  continue;
3752
3787
  }
3753
- if (sr(l)) {
3754
- var d = typeof l.style == "string" ? n.number[l.style] : cr(l.style) ? l.style.parsedOptions : void 0;
3788
+ if (hr(l)) {
3789
+ var d = typeof l.style == "string" ? n.number[l.style] : br(l.style) ? l.style.parsedOptions : void 0;
3755
3790
  d && d.scale && (c = c * (d.scale || 1)), a.push({
3756
3791
  type: H.literal,
3757
3792
  value: r.getNumberFormat(t, d).format(c)
3758
3793
  });
3759
3794
  continue;
3760
3795
  }
3761
- if (lr(l)) {
3796
+ if (dr(l)) {
3762
3797
  var b = l.children, y = l.value, T = i[y];
3763
- if (!Hi(T))
3764
- throw new Si(y, "function", o);
3765
- var C = xe(b, t, r, n, i, s), P = T(C.map(function(O) {
3766
- return O.value;
3798
+ if (!Oi(T))
3799
+ throw new Ai(y, "function", o);
3800
+ var C = xe(b, t, r, n, i, s), P = T(C.map(function(N) {
3801
+ return N.value;
3767
3802
  }));
3768
- Array.isArray(P) || (P = [P]), a.push.apply(a, P.map(function(O) {
3803
+ Array.isArray(P) || (P = [P]), a.push.apply(a, P.map(function(N) {
3769
3804
  return {
3770
- type: typeof O == "string" ? H.literal : H.object,
3771
- value: O
3805
+ type: typeof N == "string" ? H.literal : H.object,
3806
+ value: N
3772
3807
  };
3773
3808
  }));
3774
3809
  }
3775
- if (ur(l)) {
3810
+ if (fr(l)) {
3776
3811
  var w = l.options[c] || l.options.other;
3777
3812
  if (!w)
3778
- throw new Ct(l.value, c, Object.keys(l.options), o);
3813
+ throw new Ut(l.value, c, Object.keys(l.options), o);
3779
3814
  a.push.apply(a, xe(w.value, t, r, n, i));
3780
3815
  continue;
3781
3816
  }
3782
- if (hr(l)) {
3817
+ if (mr(l)) {
3783
3818
  var w = l.options["=".concat(c)];
3784
3819
  if (!w) {
3785
3820
  if (!Intl.PluralRules)
3786
- throw new Be(`Intl.PluralRules is not available in this environment.
3821
+ throw new Oe(`Intl.PluralRules is not available in this environment.
3787
3822
  Try polyfilling it using "@formatjs/intl-pluralrules"
3788
- `, te.MISSING_INTL_API, o);
3789
- var N = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3790
- w = l.options[N] || l.options.other;
3823
+ `, ee.MISSING_INTL_API, o);
3824
+ var O = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3825
+ w = l.options[O] || l.options.other;
3791
3826
  }
3792
3827
  if (!w)
3793
- throw new Ct(l.value, c, Object.keys(l.options), o);
3828
+ throw new Ut(l.value, c, Object.keys(l.options), o);
3794
3829
  a.push.apply(a, xe(w.value, t, r, n, i, c - (l.offset || 0)));
3795
3830
  continue;
3796
3831
  }
3797
3832
  }
3798
- return Ti(a);
3833
+ return Pi(a);
3799
3834
  }
3800
- function Ai(e, t) {
3801
- return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3802
- return r[n] = v(v({}, e[n]), t[n] || {}), r;
3835
+ function Ni(e, t) {
3836
+ return t ? G(G(G({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3837
+ return r[n] = G(G({}, e[n]), t[n] || {}), r;
3803
3838
  }, {})) : e;
3804
3839
  }
3805
- function Bi(e, t) {
3840
+ function Li(e, t) {
3806
3841
  return t ? Object.keys(e).reduce(function(r, n) {
3807
- return r[n] = Ai(e[n], t[n]), r;
3808
- }, v({}, e)) : e;
3842
+ return r[n] = Ni(e[n], t[n]), r;
3843
+ }, G({}, e)) : e;
3809
3844
  }
3810
- function De(e) {
3845
+ function je(e) {
3811
3846
  return {
3812
3847
  create: function() {
3813
3848
  return {
@@ -3821,39 +3856,39 @@ function De(e) {
3821
3856
  }
3822
3857
  };
3823
3858
  }
3824
- function Pi(e) {
3859
+ function Ii(e) {
3825
3860
  return e === void 0 && (e = {
3826
3861
  number: {},
3827
3862
  dateTime: {},
3828
3863
  pluralRules: {}
3829
3864
  }), {
3830
- getNumberFormat: Re(function() {
3865
+ getNumberFormat: De(function() {
3831
3866
  for (var t, r = [], n = 0; n < arguments.length; n++)
3832
3867
  r[n] = arguments[n];
3833
- return new ((t = Intl.NumberFormat).bind.apply(t, J([void 0], r, !1)))();
3868
+ return new ((t = Intl.NumberFormat).bind.apply(t, Ue([void 0], r, !1)))();
3834
3869
  }, {
3835
- cache: De(e.number),
3836
- strategy: Ge.variadic
3870
+ cache: je(e.number),
3871
+ strategy: $e.variadic
3837
3872
  }),
3838
- getDateTimeFormat: Re(function() {
3873
+ getDateTimeFormat: De(function() {
3839
3874
  for (var t, r = [], n = 0; n < arguments.length; n++)
3840
3875
  r[n] = arguments[n];
3841
- return new ((t = Intl.DateTimeFormat).bind.apply(t, J([void 0], r, !1)))();
3876
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Ue([void 0], r, !1)))();
3842
3877
  }, {
3843
- cache: De(e.dateTime),
3844
- strategy: Ge.variadic
3878
+ cache: je(e.dateTime),
3879
+ strategy: $e.variadic
3845
3880
  }),
3846
- getPluralRules: Re(function() {
3881
+ getPluralRules: De(function() {
3847
3882
  for (var t, r = [], n = 0; n < arguments.length; n++)
3848
3883
  r[n] = arguments[n];
3849
- return new ((t = Intl.PluralRules).bind.apply(t, J([void 0], r, !1)))();
3884
+ return new ((t = Intl.PluralRules).bind.apply(t, Ue([void 0], r, !1)))();
3850
3885
  }, {
3851
- cache: De(e.pluralRules),
3852
- strategy: Ge.variadic
3886
+ cache: je(e.pluralRules),
3887
+ strategy: $e.variadic
3853
3888
  })
3854
3889
  };
3855
3890
  }
3856
- var Ni = (
3891
+ var Ci = (
3857
3892
  /** @class */
3858
3893
  function() {
3859
3894
  function e(t, r, n, i) {
@@ -3885,13 +3920,13 @@ var Ni = (
3885
3920
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3886
3921
  var o = i || {};
3887
3922
  o.formatters;
3888
- var a = un(o, ["formatters"]);
3889
- this.ast = e.__parse(t, v(v({}, a), { locale: this.resolvedLocale }));
3923
+ var a = kn(o, ["formatters"]);
3924
+ this.ast = e.__parse(t, G(G({}, a), { locale: this.resolvedLocale }));
3890
3925
  } else
3891
3926
  this.ast = t;
3892
3927
  if (!Array.isArray(this.ast))
3893
3928
  throw new TypeError("A message must be provided as a String or AST.");
3894
- this.formats = Bi(e.formats, n), this.formatters = i && i.formatters || Pi(this.formatterCache);
3929
+ this.formats = Li(e.formats, n), this.formatters = i && i.formatters || Ii(this.formatterCache);
3895
3930
  }
3896
3931
  return Object.defineProperty(e, "defaultLocale", {
3897
3932
  get: function() {
@@ -3904,7 +3939,7 @@ var Ni = (
3904
3939
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3905
3940
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3906
3941
  }
3907
- }, e.__parse = xi, e.formats = {
3942
+ }, e.__parse = Hi, e.formats = {
3908
3943
  number: {
3909
3944
  integer: {
3910
3945
  maximumFractionDigits: 0
@@ -3965,7 +4000,7 @@ var Ni = (
3965
4000
  }, e;
3966
4001
  }()
3967
4002
  );
3968
- function Oi(e, t) {
4003
+ function Mi(e, t) {
3969
4004
  if (t == null)
3970
4005
  return;
3971
4006
  if (t in e)
@@ -3986,92 +4021,92 @@ function Oi(e, t) {
3986
4021
  n = void 0;
3987
4022
  return n;
3988
4023
  }
3989
- const F = {}, Li = (e, t, r) => r && (t in F || (F[t] = {}), e in F[t] || (F[t][e] = r), r), vr = (e, t) => {
4024
+ const $ = {}, Ri = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), Sr = (e, t) => {
3990
4025
  if (t == null)
3991
4026
  return;
3992
- if (t in F && e in F[t])
3993
- return F[t][e];
3994
- const r = Pe(t);
4027
+ if (t in $ && e in $[t])
4028
+ return $[t][e];
4029
+ const r = Ne(t);
3995
4030
  for (let n = 0; n < r.length; n++) {
3996
- const i = r[n], s = Ci(i, e);
4031
+ const i = r[n], s = Ui(i, e);
3997
4032
  if (s)
3998
- return Li(e, t, s);
4033
+ return Ri(e, t, s);
3999
4034
  }
4000
4035
  };
4001
- let ot;
4002
- const de = Ae({});
4003
- function Ii(e) {
4004
- return ot[e] || null;
4036
+ let lt;
4037
+ const de = Be({});
4038
+ function Gi(e) {
4039
+ return lt[e] || null;
4005
4040
  }
4006
- function _r(e) {
4007
- return e in ot;
4041
+ function wr(e) {
4042
+ return e in lt;
4008
4043
  }
4009
- function Ci(e, t) {
4010
- if (!_r(e))
4044
+ function Ui(e, t) {
4045
+ if (!wr(e))
4011
4046
  return null;
4012
- const r = Ii(e);
4013
- return Oi(r, t);
4047
+ const r = Gi(e);
4048
+ return Mi(r, t);
4014
4049
  }
4015
- function Mi(e) {
4050
+ function Di(e) {
4016
4051
  if (e == null)
4017
4052
  return;
4018
- const t = Pe(e);
4053
+ const t = Ne(e);
4019
4054
  for (let r = 0; r < t.length; r++) {
4020
4055
  const n = t[r];
4021
- if (_r(n))
4056
+ if (wr(n))
4022
4057
  return n;
4023
4058
  }
4024
4059
  }
4025
- function Er(e, ...t) {
4026
- delete F[e], de.update((r) => (r[e] = Dn.all([r[e] || {}, ...t]), r));
4060
+ function Tr(e, ...t) {
4061
+ delete $[e], de.update((r) => (r[e] = jn.all([r[e] || {}, ...t]), r));
4027
4062
  }
4028
- se(
4063
+ ie(
4029
4064
  [de],
4030
4065
  ([e]) => Object.keys(e)
4031
4066
  );
4032
- de.subscribe((e) => ot = e);
4067
+ de.subscribe((e) => lt = e);
4033
4068
  const Se = {};
4034
- function Ri(e, t) {
4069
+ function $i(e, t) {
4035
4070
  Se[e].delete(t), Se[e].size === 0 && delete Se[e];
4036
4071
  }
4037
- function xr(e) {
4072
+ function Hr(e) {
4038
4073
  return Se[e];
4039
4074
  }
4040
- function Gi(e) {
4041
- return Pe(e).map((t) => {
4042
- const r = xr(t);
4075
+ function Fi(e) {
4076
+ return Ne(e).map((t) => {
4077
+ const r = Hr(t);
4043
4078
  return [t, r ? [...r] : []];
4044
4079
  }).filter(([, t]) => t.length > 0);
4045
4080
  }
4046
- function tt(e) {
4047
- return e == null ? !1 : Pe(e).some(
4081
+ function ot(e) {
4082
+ return e == null ? !1 : Ne(e).some(
4048
4083
  (t) => {
4049
4084
  var r;
4050
- return (r = xr(t)) == null ? void 0 : r.size;
4085
+ return (r = Hr(t)) == null ? void 0 : r.size;
4051
4086
  }
4052
4087
  );
4053
4088
  }
4054
- function Ui(e, t) {
4089
+ function ji(e, t) {
4055
4090
  return Promise.all(
4056
- t.map((n) => (Ri(e, n), n().then((i) => i.default || i)))
4057
- ).then((n) => Er(e, ...n));
4058
- }
4059
- const ae = {};
4060
- function Sr(e) {
4061
- if (!tt(e))
4062
- return e in ae ? ae[e] : Promise.resolve();
4063
- const t = Gi(e);
4064
- return ae[e] = Promise.all(
4091
+ t.map((n) => ($i(e, n), n().then((i) => i.default || i)))
4092
+ ).then((n) => Tr(e, ...n));
4093
+ }
4094
+ const oe = {};
4095
+ function Ar(e) {
4096
+ if (!ot(e))
4097
+ return e in oe ? oe[e] : Promise.resolve();
4098
+ const t = Fi(e);
4099
+ return oe[e] = Promise.all(
4065
4100
  t.map(
4066
- ([r, n]) => Ui(r, n)
4101
+ ([r, n]) => ji(r, n)
4067
4102
  )
4068
4103
  ).then(() => {
4069
- if (tt(e))
4070
- return Sr(e);
4071
- delete ae[e];
4072
- }), ae[e];
4104
+ if (ot(e))
4105
+ return Ar(e);
4106
+ delete oe[e];
4107
+ }), oe[e];
4073
4108
  }
4074
- const Di = {
4109
+ const ki = {
4075
4110
  number: {
4076
4111
  scientific: { notation: "scientific" },
4077
4112
  engineering: { notation: "engineering" },
@@ -4100,135 +4135,135 @@ const Di = {
4100
4135
  timeZoneName: "short"
4101
4136
  }
4102
4137
  }
4103
- }, Fi = {
4138
+ }, Vi = {
4104
4139
  fallbackLocale: null,
4105
4140
  loadingDelay: 200,
4106
- formats: Di,
4141
+ formats: ki,
4107
4142
  warnOnMissingMessages: !0,
4108
4143
  handleMissingMessage: void 0,
4109
4144
  ignoreTag: !0
4110
- }, $i = Fi;
4111
- function re() {
4112
- return $i;
4113
- }
4114
- const Fe = Ae(!1);
4115
- var ji = Object.defineProperty, ki = Object.defineProperties, Vi = Object.getOwnPropertyDescriptors, Mt = Object.getOwnPropertySymbols, Xi = Object.prototype.hasOwnProperty, Wi = Object.prototype.propertyIsEnumerable, Rt = (e, t, r) => t in e ? ji(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, zi = (e, t) => {
4116
- for (var r in t)
4117
- Xi.call(t, r) && Rt(e, r, t[r]);
4118
- if (Mt)
4119
- for (var r of Mt(t))
4120
- Wi.call(t, r) && Rt(e, r, t[r]);
4145
+ }, Xi = Vi;
4146
+ function te() {
4147
+ return Xi;
4148
+ }
4149
+ const ke = Be(!1);
4150
+ var Wi = Object.defineProperty, zi = Object.defineProperties, Zi = Object.getOwnPropertyDescriptors, Dt = Object.getOwnPropertySymbols, Qi = Object.prototype.hasOwnProperty, Yi = Object.prototype.propertyIsEnumerable, $t = (e, t, r) => t in e ? Wi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, qi = (e, t) => {
4151
+ for (var r in t || (t = {}))
4152
+ Qi.call(t, r) && $t(e, r, t[r]);
4153
+ if (Dt)
4154
+ for (var r of Dt(t))
4155
+ Yi.call(t, r) && $t(e, r, t[r]);
4121
4156
  return e;
4122
- }, Zi = (e, t) => ki(e, Vi(t));
4123
- let rt;
4124
- const we = Ae(null);
4125
- function Gt(e) {
4157
+ }, Ji = (e, t) => zi(e, Zi(t));
4158
+ let at;
4159
+ const Te = Be(null);
4160
+ function Ft(e) {
4126
4161
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4127
4162
  }
4128
- function Pe(e, t = re().fallbackLocale) {
4129
- const r = Gt(e);
4130
- return t ? [.../* @__PURE__ */ new Set([...r, ...Gt(t)])] : r;
4163
+ function Ne(e, t = te().fallbackLocale) {
4164
+ const r = Ft(e);
4165
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Ft(t)])] : r;
4131
4166
  }
4132
4167
  function X() {
4133
- return rt != null ? rt : void 0;
4168
+ return at != null ? at : void 0;
4134
4169
  }
4135
- we.subscribe((e) => {
4136
- rt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4170
+ Te.subscribe((e) => {
4171
+ at = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4137
4172
  });
4138
- const Qi = (e) => {
4139
- if (e && Mi(e) && tt(e)) {
4140
- const { loadingDelay: t } = re();
4173
+ const Ki = (e) => {
4174
+ if (e && Di(e) && ot(e)) {
4175
+ const { loadingDelay: t } = te();
4141
4176
  let r;
4142
4177
  return typeof window != "undefined" && X() != null && t ? r = window.setTimeout(
4143
- () => Fe.set(!0),
4178
+ () => ke.set(!0),
4144
4179
  t
4145
- ) : Fe.set(!0), Sr(e).then(() => {
4146
- we.set(e);
4180
+ ) : ke.set(!0), Ar(e).then(() => {
4181
+ Te.set(e);
4147
4182
  }).finally(() => {
4148
- clearTimeout(r), Fe.set(!1);
4183
+ clearTimeout(r), ke.set(!1);
4149
4184
  });
4150
4185
  }
4151
- return we.set(e);
4152
- }, be = Zi(zi({}, we), {
4153
- set: Qi
4154
- }), Ne = (e) => {
4186
+ return Te.set(e);
4187
+ }, be = Ji(qi({}, Te), {
4188
+ set: Ki
4189
+ }), Le = (e) => {
4155
4190
  const t = /* @__PURE__ */ Object.create(null);
4156
4191
  return (n) => {
4157
4192
  const i = JSON.stringify(n);
4158
4193
  return i in t ? t[i] : t[i] = e(n);
4159
4194
  };
4160
4195
  };
4161
- var Yi = Object.defineProperty, Te = Object.getOwnPropertySymbols, wr = Object.prototype.hasOwnProperty, Tr = Object.prototype.propertyIsEnumerable, Ut = (e, t, r) => t in e ? Yi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, at = (e, t) => {
4196
+ var es = Object.defineProperty, He = Object.getOwnPropertySymbols, Br = Object.prototype.hasOwnProperty, Pr = Object.prototype.propertyIsEnumerable, jt = (e, t, r) => t in e ? es(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ct = (e, t) => {
4162
4197
  for (var r in t || (t = {}))
4163
- wr.call(t, r) && Ut(e, r, t[r]);
4164
- if (Te)
4165
- for (var r of Te(t))
4166
- Tr.call(t, r) && Ut(e, r, t[r]);
4198
+ Br.call(t, r) && jt(e, r, t[r]);
4199
+ if (He)
4200
+ for (var r of He(t))
4201
+ Pr.call(t, r) && jt(e, r, t[r]);
4167
4202
  return e;
4168
- }, oe = (e, t) => {
4203
+ }, se = (e, t) => {
4169
4204
  var r = {};
4170
4205
  for (var n in e)
4171
- wr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4172
- if (e != null && Te)
4173
- for (var n of Te(e))
4174
- t.indexOf(n) < 0 && Tr.call(e, n) && (r[n] = e[n]);
4206
+ Br.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4207
+ if (e != null && He)
4208
+ for (var n of He(e))
4209
+ t.indexOf(n) < 0 && Pr.call(e, n) && (r[n] = e[n]);
4175
4210
  return r;
4176
4211
  };
4177
- const ce = (e, t) => {
4178
- const { formats: r } = re();
4212
+ const le = (e, t) => {
4213
+ const { formats: r } = te();
4179
4214
  if (e in r && t in r[e])
4180
4215
  return r[e][t];
4181
4216
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4182
- }, qi = Ne(
4217
+ }, ts = Le(
4183
4218
  (e) => {
4184
- var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
4219
+ var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
4185
4220
  if (r == null)
4186
4221
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4187
- return n && (i = ce("number", n)), new Intl.NumberFormat(r, i);
4222
+ return n && (i = le("number", n)), new Intl.NumberFormat(r, i);
4188
4223
  }
4189
- ), Ji = Ne(
4224
+ ), rs = Le(
4190
4225
  (e) => {
4191
- var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
4226
+ var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
4192
4227
  if (r == null)
4193
4228
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4194
- return n ? i = ce("date", n) : Object.keys(i).length === 0 && (i = ce("date", "short")), new Intl.DateTimeFormat(r, i);
4229
+ return n ? i = le("date", n) : Object.keys(i).length === 0 && (i = le("date", "short")), new Intl.DateTimeFormat(r, i);
4195
4230
  }
4196
- ), Ki = Ne(
4231
+ ), ns = Le(
4197
4232
  (e) => {
4198
- var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
4233
+ var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
4199
4234
  if (r == null)
4200
4235
  throw new Error(
4201
4236
  '[svelte-i18n] A "locale" must be set to format time values'
4202
4237
  );
4203
- return n ? i = ce("time", n) : Object.keys(i).length === 0 && (i = ce("time", "short")), new Intl.DateTimeFormat(r, i);
4238
+ return n ? i = le("time", n) : Object.keys(i).length === 0 && (i = le("time", "short")), new Intl.DateTimeFormat(r, i);
4204
4239
  }
4205
- ), es = (e = {}) => {
4240
+ ), is = (e = {}) => {
4206
4241
  var t = e, {
4207
4242
  locale: r = X()
4208
- } = t, n = oe(t, [
4243
+ } = t, n = se(t, [
4209
4244
  "locale"
4210
4245
  ]);
4211
- return qi(at({ locale: r }, n));
4212
- }, ts = (e = {}) => {
4246
+ return ts(ct({ locale: r }, n));
4247
+ }, ss = (e = {}) => {
4213
4248
  var t = e, {
4214
4249
  locale: r = X()
4215
- } = t, n = oe(t, [
4250
+ } = t, n = se(t, [
4216
4251
  "locale"
4217
4252
  ]);
4218
- return Ji(at({ locale: r }, n));
4219
- }, rs = (e = {}) => {
4253
+ return rs(ct({ locale: r }, n));
4254
+ }, os = (e = {}) => {
4220
4255
  var t = e, {
4221
4256
  locale: r = X()
4222
- } = t, n = oe(t, [
4257
+ } = t, n = se(t, [
4223
4258
  "locale"
4224
4259
  ]);
4225
- return Ki(at({ locale: r }, n));
4226
- }, ns = Ne(
4260
+ return ns(ct({ locale: r }, n));
4261
+ }, as = Le(
4227
4262
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4228
- (e, t = X()) => new Ni(e, t, re().formats, {
4229
- ignoreTag: re().ignoreTag
4263
+ (e, t = X()) => new Ci(e, t, te().formats, {
4264
+ ignoreTag: te().ignoreTag
4230
4265
  })
4231
- ), is = (e, t = {}) => {
4266
+ ), us = (e, t = {}) => {
4232
4267
  var r, n, i, s;
4233
4268
  let o = t;
4234
4269
  typeof e == "object" && (o = e, e = o.id);
@@ -4241,9 +4276,9 @@ const ce = (e, t) => {
4241
4276
  throw new Error(
4242
4277
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4243
4278
  );
4244
- let l = vr(e, h);
4279
+ let l = Sr(e, h);
4245
4280
  if (!l)
4246
- l = (s = (i = (n = (r = re()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
4281
+ l = (s = (i = (n = (r = te()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
4247
4282
  else if (typeof l != "string")
4248
4283
  return console.warn(
4249
4284
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -4252,7 +4287,7 @@ const ce = (e, t) => {
4252
4287
  return l;
4253
4288
  let m = l;
4254
4289
  try {
4255
- m = ns(l, h).format(a);
4290
+ m = as(l, h).format(a);
4256
4291
  } catch (c) {
4257
4292
  c instanceof Error && console.warn(
4258
4293
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4260,20 +4295,20 @@ const ce = (e, t) => {
4260
4295
  );
4261
4296
  }
4262
4297
  return m;
4263
- }, ss = (e, t) => rs(t).format(e), os = (e, t) => ts(t).format(e), as = (e, t) => es(t).format(e), us = (e, t = X()) => vr(e, t), hs = se([be, de], () => is);
4264
- se([be], () => ss);
4265
- se([be], () => os);
4266
- se([be], () => as);
4267
- se([be, de], () => us);
4268
- window.emWidgets = { topic: xn };
4269
- const ls = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4270
- function cs(e, t) {
4298
+ }, hs = (e, t) => os(t).format(e), ls = (e, t) => ss(t).format(e), cs = (e, t) => is(t).format(e), fs = (e, t = X()) => Sr(e, t), ms = ie([be, de], () => us);
4299
+ ie([be], () => hs);
4300
+ ie([be], () => ls);
4301
+ ie([be], () => cs);
4302
+ ie([be, de], () => fs);
4303
+ window.emWidgets = { topic: Tn };
4304
+ const ds = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4305
+ function bs(e, t) {
4271
4306
  if (e) {
4272
4307
  const r = document.createElement("style");
4273
4308
  r.innerHTML = t, e.appendChild(r);
4274
4309
  }
4275
4310
  }
4276
- function fs(e, t) {
4311
+ function ps(e, t) {
4277
4312
  const r = new URL(t);
4278
4313
  fetch(r.href).then((n) => n.text()).then((n) => {
4279
4314
  const i = document.createElement("style");
@@ -4282,7 +4317,7 @@ function fs(e, t) {
4282
4317
  console.error("There was an error while trying to load client styling from URL", n);
4283
4318
  });
4284
4319
  }
4285
- function ms(e, t, r) {
4320
+ function gs(e, t, r) {
4286
4321
  if (window.emMessageBus) {
4287
4322
  const n = document.createElement("style");
4288
4323
  window.emMessageBus.subscribe(t, (i) => {
@@ -4290,10 +4325,10 @@ function ms(e, t, r) {
4290
4325
  });
4291
4326
  }
4292
4327
  }
4293
- function Dt(e, t) {
4294
- Er(e, t);
4328
+ function kt(e, t) {
4329
+ Tr(e, t);
4295
4330
  }
4296
- const Ft = {
4331
+ const Vt = {
4297
4332
  en: {
4298
4333
  lobbyName: "Lobby",
4299
4334
  myGamesName: "My games"
@@ -4379,173 +4414,173 @@ if (typeof window != "undefined") {
4379
4414
  }
4380
4415
  };
4381
4416
  };
4382
- customElements.define = e(customElements.define), import("./CasinoSlider-DoAKa6rO.js").then(({ default: t }) => {
4417
+ customElements.define = e(customElements.define), import("./CasinoSlider-4oZFStFQ.js").then(({ default: t }) => {
4383
4418
  !customElements.get("casino-slider") && customElements.define("casino-slider", t.element);
4384
4419
  });
4385
4420
  }
4386
- function ds(e) {
4387
- kr(e, "svelte-1my2wow", ".CasinoCategoriesLoading.svelte-1my2wow{height:52px}p.svelte-1my2wow{color:var( --emw--categories-typography, var(--emw--color-white) #FFFFFF);text-align:center}.CasinoCategoriesContainer.svelte-1my2wow{padding-top:20px;background:var( --emw--categories-color-primary, var(--emw--color-primary, #22B04E))}");
4421
+ function ys(e) {
4422
+ zr(e, "svelte-1my2wow", ".CasinoCategoriesLoading.svelte-1my2wow{height:52px}p.svelte-1my2wow{color:var( --emw--categories-typography, var(--emw--color-white) #FFFFFF);text-align:center}.CasinoCategoriesContainer.svelte-1my2wow{padding-top:20px;background:var( --emw--categories-color-primary, var(--emw--color-primary, #22B04E))}");
4388
4423
  }
4389
- function bs(e) {
4424
+ function vs(e) {
4390
4425
  let t, r;
4391
4426
  return {
4392
4427
  c() {
4393
- t = V("div"), r = V("casino-slider"), _(
4428
+ t = V("div"), r = V("casino-slider"), v(
4394
4429
  r,
4395
4430
  "lang",
4396
4431
  /*lang*/
4397
4432
  e[3]
4398
- ), _(
4433
+ ), v(
4399
4434
  r,
4400
4435
  "datasource",
4401
4436
  /*datasource*/
4402
4437
  e[2]
4403
- ), _(
4438
+ ), v(
4404
4439
  r,
4405
4440
  "endpoint",
4406
4441
  /*endpoint*/
4407
4442
  e[1]
4408
- ), _(r, "identity", nt), _(
4443
+ ), v(r, "identity", ut), v(
4409
4444
  r,
4410
4445
  "favoritesnumber",
4411
4446
  /*numberOfFavoredGames*/
4412
4447
  e[16]
4413
- ), _(
4448
+ ), v(
4414
4449
  r,
4415
4450
  "showsubgroups",
4416
4451
  /*showsubgroups*/
4417
4452
  e[8]
4418
- ), _(
4453
+ ), v(
4419
4454
  r,
4420
4455
  "clientstyling",
4421
4456
  /*clientstyling*/
4422
4457
  e[4]
4423
- ), _(
4458
+ ), v(
4424
4459
  r,
4425
4460
  "clientstylingurl",
4426
4461
  /*clientstylingurl*/
4427
4462
  e[5]
4428
- ), _(
4463
+ ), v(
4429
4464
  r,
4430
4465
  "mbsource",
4431
4466
  /*mbsource*/
4432
4467
  e[12]
4433
- ), _(
4468
+ ), v(
4434
4469
  r,
4435
4470
  "activeindex",
4436
4471
  /*activecategory*/
4437
4472
  e[0]
4438
- ), _(
4473
+ ), v(
4439
4474
  r,
4440
4475
  "actionevent",
4441
4476
  /*actionevent*/
4442
4477
  e[6]
4443
- ), _(
4478
+ ), v(
4444
4479
  r,
4445
4480
  "location",
4446
4481
  /*location*/
4447
4482
  e[7]
4448
- ), _(
4483
+ ), v(
4449
4484
  r,
4450
4485
  "categoriesicon",
4451
4486
  /*categoriesicon*/
4452
4487
  e[9]
4453
- ), _(
4488
+ ), v(
4454
4489
  r,
4455
4490
  "lobbyiconimage",
4456
4491
  /*lobbyiconimage*/
4457
4492
  e[10]
4458
- ), _(
4493
+ ), v(
4459
4494
  r,
4460
4495
  "mygamesiconimage",
4461
4496
  /*mygamesiconimage*/
4462
4497
  e[11]
4463
- ), me(t, "class", "CasinoCategoriesContainer svelte-1my2wow");
4498
+ ), fe(t, "class", "CasinoCategoriesContainer svelte-1my2wow");
4464
4499
  },
4465
4500
  m(n, i) {
4466
- fe(n, t, i), Vt(t, r);
4501
+ ce(n, t, i), Zt(t, r);
4467
4502
  },
4468
4503
  p(n, i) {
4469
4504
  i[0] & /*lang*/
4470
- 8 && _(
4505
+ 8 && v(
4471
4506
  r,
4472
4507
  "lang",
4473
4508
  /*lang*/
4474
4509
  n[3]
4475
4510
  ), i[0] & /*datasource*/
4476
- 4 && _(
4511
+ 4 && v(
4477
4512
  r,
4478
4513
  "datasource",
4479
4514
  /*datasource*/
4480
4515
  n[2]
4481
4516
  ), i[0] & /*endpoint*/
4482
- 2 && _(
4517
+ 2 && v(
4483
4518
  r,
4484
4519
  "endpoint",
4485
4520
  /*endpoint*/
4486
4521
  n[1]
4487
4522
  ), i[0] & /*numberOfFavoredGames*/
4488
- 65536 && _(
4523
+ 65536 && v(
4489
4524
  r,
4490
4525
  "favoritesnumber",
4491
4526
  /*numberOfFavoredGames*/
4492
4527
  n[16]
4493
4528
  ), i[0] & /*showsubgroups*/
4494
- 256 && _(
4529
+ 256 && v(
4495
4530
  r,
4496
4531
  "showsubgroups",
4497
4532
  /*showsubgroups*/
4498
4533
  n[8]
4499
4534
  ), i[0] & /*clientstyling*/
4500
- 16 && _(
4535
+ 16 && v(
4501
4536
  r,
4502
4537
  "clientstyling",
4503
4538
  /*clientstyling*/
4504
4539
  n[4]
4505
4540
  ), i[0] & /*clientstylingurl*/
4506
- 32 && _(
4541
+ 32 && v(
4507
4542
  r,
4508
4543
  "clientstylingurl",
4509
4544
  /*clientstylingurl*/
4510
4545
  n[5]
4511
4546
  ), i[0] & /*mbsource*/
4512
- 4096 && _(
4547
+ 4096 && v(
4513
4548
  r,
4514
4549
  "mbsource",
4515
4550
  /*mbsource*/
4516
4551
  n[12]
4517
4552
  ), i[0] & /*activecategory*/
4518
- 1 && _(
4553
+ 1 && v(
4519
4554
  r,
4520
4555
  "activeindex",
4521
4556
  /*activecategory*/
4522
4557
  n[0]
4523
4558
  ), i[0] & /*actionevent*/
4524
- 64 && _(
4559
+ 64 && v(
4525
4560
  r,
4526
4561
  "actionevent",
4527
4562
  /*actionevent*/
4528
4563
  n[6]
4529
4564
  ), i[0] & /*location*/
4530
- 128 && _(
4565
+ 128 && v(
4531
4566
  r,
4532
4567
  "location",
4533
4568
  /*location*/
4534
4569
  n[7]
4535
4570
  ), i[0] & /*categoriesicon*/
4536
- 512 && _(
4571
+ 512 && v(
4537
4572
  r,
4538
4573
  "categoriesicon",
4539
4574
  /*categoriesicon*/
4540
4575
  n[9]
4541
4576
  ), i[0] & /*lobbyiconimage*/
4542
- 1024 && _(
4577
+ 1024 && v(
4543
4578
  r,
4544
4579
  "lobbyiconimage",
4545
4580
  /*lobbyiconimage*/
4546
4581
  n[10]
4547
4582
  ), i[0] & /*mygamesiconimage*/
4548
- 2048 && _(
4583
+ 2048 && v(
4549
4584
  r,
4550
4585
  "mygamesiconimage",
4551
4586
  /*mygamesiconimage*/
@@ -4553,48 +4588,48 @@ function bs(e) {
4553
4588
  );
4554
4589
  },
4555
4590
  d(n) {
4556
- n && ie(t);
4591
+ n && ne(t);
4557
4592
  }
4558
4593
  };
4559
4594
  }
4560
- function ps(e) {
4595
+ function _s(e) {
4561
4596
  let t;
4562
4597
  return {
4563
4598
  c() {
4564
- t = V("p"), t.textContent = "500 Error - Internal Server Error.", me(t, "class", "SearchLoading svelte-1my2wow");
4599
+ t = V("p"), t.textContent = "500 Error - Internal Server Error.", fe(t, "class", "SearchLoading svelte-1my2wow");
4565
4600
  },
4566
4601
  m(r, n) {
4567
- fe(r, t, n);
4602
+ ce(r, t, n);
4568
4603
  },
4569
4604
  p: I,
4570
4605
  d(r) {
4571
- r && ie(t);
4606
+ r && ne(t);
4572
4607
  }
4573
4608
  };
4574
4609
  }
4575
- function gs(e) {
4610
+ function Es(e) {
4576
4611
  let t;
4577
4612
  return {
4578
4613
  c() {
4579
- t = V("div"), me(t, "class", "CasinoCategoriesLoading svelte-1my2wow");
4614
+ t = V("div"), fe(t, "class", "CasinoCategoriesLoading svelte-1my2wow");
4580
4615
  },
4581
4616
  m(r, n) {
4582
- fe(r, t, n);
4617
+ ce(r, t, n);
4583
4618
  },
4584
4619
  p: I,
4585
4620
  d(r) {
4586
- r && ie(t);
4621
+ r && ne(t);
4587
4622
  }
4588
4623
  };
4589
4624
  }
4590
- function ys(e) {
4625
+ function xs(e) {
4591
4626
  let t;
4592
4627
  function r(s, o) {
4593
4628
  return (
4594
4629
  /*isLoading*/
4595
- s[13] || vs || _s ? gs : (
4630
+ s[13] || Ss || ws ? Es : (
4596
4631
  /*hasErrors*/
4597
- s[15] ? ps : bs
4632
+ s[15] ? _s : vs
4598
4633
  )
4599
4634
  );
4600
4635
  }
@@ -4604,7 +4639,7 @@ function ys(e) {
4604
4639
  t = V("div"), i.c();
4605
4640
  },
4606
4641
  m(s, o) {
4607
- fe(s, t, o), i.m(t, null), e[26](t);
4642
+ ce(s, t, o), i.m(t, null), e[26](t);
4608
4643
  },
4609
4644
  p(s, o) {
4610
4645
  n === (n = r(s)) && i ? i.p(s, o) : (i.d(1), i = n(s), i && (i.c(), i.m(t, null)));
@@ -4612,51 +4647,51 @@ function ys(e) {
4612
4647
  i: I,
4613
4648
  o: I,
4614
4649
  d(s) {
4615
- s && ie(t), i.d(), e[26](null);
4650
+ s && ne(t), i.d(), e[26](null);
4616
4651
  }
4617
4652
  };
4618
4653
  }
4619
- let nt = "CasinoSliderData", vs = !1, _s = !1;
4620
- function Es(e, t, r) {
4654
+ let ut = "CasinoSliderData", Ss = !1, ws = !1;
4655
+ function Ts(e, t, r) {
4621
4656
  let n;
4622
- jr(e, hs, (f) => r(32, n = f));
4623
- let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "" } = t, { userid: a = "" } = t, { session: h = "" } = t, { mostplayed: u = "" } = t, { lastplayed: l = "false" } = t, { favorites: m = "" } = t, { clientstyling: c = "" } = t, { clientstylingurl: d = "" } = t, { activecategory: b = "" } = t, { actionevent: y = "" } = t, { sessioncheck: T = "" } = t, { location: C = "secondaryMenu" } = t, { showsubgroups: P = "false" } = t, { filteredcategories: w = "" } = t, { translationurl: N = "" } = t, { categoriesicon: O = "" } = t, { lobbyiconimage: R = "" } = t, { mygamesiconimage: E = "" } = t, { mbsource: A } = t, L, $, j = !0, W, z = [], k = !1, Ar = window.navigator.userAgent, G, ut, ht = !1, Oe = !1;
4624
- const Br = () => {
4625
- fetch(N).then((B) => B.json()).then((B) => {
4657
+ Wr(e, ms, (f) => r(32, n = f));
4658
+ let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "" } = t, { userid: a = "" } = t, { session: h = "" } = t, { mostplayed: u = "" } = t, { lastplayed: l = "false" } = t, { favorites: m = "" } = t, { clientstyling: c = "" } = t, { clientstylingurl: d = "" } = t, { activecategory: b = "" } = t, { actionevent: y = "" } = t, { sessioncheck: T = "" } = t, { location: C = "secondaryMenu" } = t, { showsubgroups: P = "false" } = t, { filteredcategories: w = "" } = t, { translationurl: O = "" } = t, { categoriesicon: N = "" } = t, { lobbyiconimage: R = "" } = t, { mygamesiconimage: _ = "" } = t, { mbsource: A } = t, L, F, j = !0, W, z = [], k = !1, Nr = window.navigator.userAgent, U, ft, mt = !1, Ie = !1;
4659
+ const Lr = () => {
4660
+ fetch(O).then((B) => B.json()).then((B) => {
4626
4661
  Object.keys(B).forEach((pe) => {
4627
- Dt(pe, B[pe]);
4662
+ kt(pe, B[pe]);
4628
4663
  });
4629
4664
  }).catch((B) => {
4630
4665
  console.log(B);
4631
4666
  });
4632
4667
  };
4633
- Object.keys(Ft).forEach((f) => {
4634
- Dt(f, Ft[f]);
4668
+ Object.keys(Vt).forEach((f) => {
4669
+ kt(f, Vt[f]);
4635
4670
  });
4636
- const Pr = () => {
4637
- ht == !1 && (m == "true" || u == "true" || l == "true") && z.splice(1, 0, {
4671
+ const Ir = () => {
4672
+ mt == !1 && (m == "true" || u == "true" || l == "true") && z.splice(1, 0, {
4638
4673
  // @ts-ignore
4639
4674
  id: "MYGAMES",
4640
4675
  name: L,
4641
4676
  href: "",
4642
4677
  games: []
4643
- }), Yr(), ht = !0, r(25, Oe = !0), lt();
4644
- }, Nr = () => (i || (W = "Endpoint is missing! Please provide a valid endpointURL.", r(15, k = !0), r(13, j = !1), console.error(W)), s || (W = "Datasource is missing! Please provide a valid datasource.", r(15, k = !0), r(13, j = !1), console.error(W)), (!o || o.length < 2) && (W = "Language is missing! Please provide a valid language (alpha2code)", r(15, k = !0), r(13, j = !1), console.error(W)), k), Or = () => {
4645
- if (L = n("myGamesName"), $ = n("lobbyName"), !Nr()) {
4678
+ }), en(), mt = !0, r(25, Ie = !0), dt();
4679
+ }, Cr = () => (i || (W = "Endpoint is missing! Please provide a valid endpointURL.", r(15, k = !0), r(13, j = !1), console.error(W)), s || (W = "Datasource is missing! Please provide a valid datasource.", r(15, k = !0), r(13, j = !1), console.error(W)), (!o || o.length < 2) && (W = "Language is missing! Please provide a valid language (alpha2code)", r(15, k = !0), r(13, j = !1), console.error(W)), k), Mr = () => {
4680
+ if (L = n("myGamesName"), F = n("lobbyName"), !Cr()) {
4646
4681
  let f = new URL(`${i}/v2/casino/groups/${s}`);
4647
- f.searchParams.append("language", o), f.searchParams.append("platform", ls(Ar)), f.searchParams.append("fields", "id,name,games(href)"), fetch(f).then((B) => B.json()).then(
4682
+ f.searchParams.append("language", o), f.searchParams.append("platform", ds(Nr)), f.searchParams.append("fields", "id,name,games(href)"), fetch(f).then((B) => B.json()).then(
4648
4683
  (B) => {
4649
- let pe = w.split(","), Cr = B.items.filter((ft) => {
4650
- let Le = !1;
4651
- if (ft.games.total > 0 && (Le = !0, w))
4652
- for (let Mr of pe)
4653
- ft.flags == Mr && (Le = !1);
4654
- return Le;
4684
+ let pe = w.split(","), Ur = B.items.filter((pt) => {
4685
+ let Ce = !1;
4686
+ if (pt.games.total > 0 && (Ce = !0, w))
4687
+ for (let Dr of pe)
4688
+ pt.flags == Dr && (Ce = !1);
4689
+ return Ce;
4655
4690
  });
4656
- z = [], z = z.concat(Cr), z.unshift({
4691
+ z = [], z = z.concat(Ur), z.unshift({
4657
4692
  // @ts-ignore
4658
4693
  id: "LOBBY",
4659
- name: $,
4694
+ name: F,
4660
4695
  href: "",
4661
4696
  games: []
4662
4697
  }), r(13, j = !1);
@@ -4668,41 +4703,41 @@ function Es(e, t, r) {
4668
4703
  r(15, k = !0), console.error("There was an error while fetching the categories", B);
4669
4704
  });
4670
4705
  }
4671
- }, Lr = () => {
4706
+ }, Rr = () => {
4672
4707
  let f = b.split("$");
4673
4708
  r(0, b = f.length > 2 ? b.split("$").slice(0, 2).join("$") : b);
4674
- }, lt = () => {
4709
+ }, dt = () => {
4675
4710
  window.postMessage(
4676
4711
  {
4677
4712
  type: "SliderData",
4678
- identity: nt,
4713
+ identity: ut,
4679
4714
  data: z
4680
4715
  },
4681
4716
  window.location.href
4682
4717
  );
4683
- }, ct = (f) => {
4684
- f.data && f.data.type == "SliderLoaded" && nt == f.data.identity && lt();
4718
+ }, bt = (f) => {
4719
+ f.data && f.data.type == "SliderLoaded" && ut == f.data.identity && dt();
4685
4720
  };
4686
- Qr(() => (window.addEventListener("message", ct, !1), () => {
4687
- window.removeEventListener("message", ct);
4721
+ Kr(() => (window.addEventListener("message", bt, !1), () => {
4722
+ window.removeEventListener("message", bt);
4688
4723
  }));
4689
- function Ir(f) {
4690
- $e[f ? "unshift" : "push"](() => {
4691
- G = f, r(14, G);
4724
+ function Gr(f) {
4725
+ Ve[f ? "unshift" : "push"](() => {
4726
+ U = f, r(14, U);
4692
4727
  });
4693
4728
  }
4694
4729
  return e.$$set = (f) => {
4695
- "endpoint" in f && r(1, i = f.endpoint), "datasource" in f && r(2, s = f.datasource), "lang" in f && r(3, o = f.lang), "userid" in f && r(17, a = f.userid), "session" in f && r(18, h = f.session), "mostplayed" in f && r(19, u = f.mostplayed), "lastplayed" in f && r(20, l = f.lastplayed), "favorites" in f && r(21, m = f.favorites), "clientstyling" in f && r(4, c = f.clientstyling), "clientstylingurl" in f && r(5, d = f.clientstylingurl), "activecategory" in f && r(0, b = f.activecategory), "actionevent" in f && r(6, y = f.actionevent), "sessioncheck" in f && r(22, T = f.sessioncheck), "location" in f && r(7, C = f.location), "showsubgroups" in f && r(8, P = f.showsubgroups), "filteredcategories" in f && r(23, w = f.filteredcategories), "translationurl" in f && r(24, N = f.translationurl), "categoriesicon" in f && r(9, O = f.categoriesicon), "lobbyiconimage" in f && r(10, R = f.lobbyiconimage), "mygamesiconimage" in f && r(11, E = f.mygamesiconimage), "mbsource" in f && r(12, A = f.mbsource);
4730
+ "endpoint" in f && r(1, i = f.endpoint), "datasource" in f && r(2, s = f.datasource), "lang" in f && r(3, o = f.lang), "userid" in f && r(17, a = f.userid), "session" in f && r(18, h = f.session), "mostplayed" in f && r(19, u = f.mostplayed), "lastplayed" in f && r(20, l = f.lastplayed), "favorites" in f && r(21, m = f.favorites), "clientstyling" in f && r(4, c = f.clientstyling), "clientstylingurl" in f && r(5, d = f.clientstylingurl), "activecategory" in f && r(0, b = f.activecategory), "actionevent" in f && r(6, y = f.actionevent), "sessioncheck" in f && r(22, T = f.sessioncheck), "location" in f && r(7, C = f.location), "showsubgroups" in f && r(8, P = f.showsubgroups), "filteredcategories" in f && r(23, w = f.filteredcategories), "translationurl" in f && r(24, O = f.translationurl), "categoriesicon" in f && r(9, N = f.categoriesicon), "lobbyiconimage" in f && r(10, R = f.lobbyiconimage), "mygamesiconimage" in f && r(11, _ = f.mygamesiconimage), "mbsource" in f && r(12, A = f.mbsource);
4696
4731
  }, e.$$.update = () => {
4697
4732
  e.$$.dirty[0] & /*endpoint, datasource, lang*/
4698
- 14 && i && s && o && Or(), e.$$.dirty[0] & /*endpoint, session, mostplayed, lastplayed, favorites, isLoading*/
4699
- 3940354 && i && h && (u || l || m) && !j && Pr(), e.$$.dirty[0] & /*isLoading, activecategory, session, confirmCategoryParse*/
4700
- 33824769 && !j && b && (!h || Oe) && Lr(), e.$$.dirty[0] & /*translationurl*/
4701
- 16777216 && N && Br(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4702
- 16400 && c && G && cs(G, c), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4703
- 16416 && d && G && fs(G, d), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
4704
- 20480 && G && ms(G, `${A}.Style`);
4705
- }, r(16, ut = 0), [
4733
+ 14 && i && s && o && Mr(), e.$$.dirty[0] & /*endpoint, session, mostplayed, lastplayed, favorites, isLoading*/
4734
+ 3940354 && i && h && (u || l || m) && !j && Ir(), e.$$.dirty[0] & /*isLoading, activecategory, session, confirmCategoryParse*/
4735
+ 33824769 && !j && b && (!h || Ie) && Rr(), e.$$.dirty[0] & /*translationurl*/
4736
+ 16777216 && O && Lr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4737
+ 16400 && c && U && bs(U, c), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4738
+ 16416 && d && U && ps(U, d), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
4739
+ 20480 && U && gs(U, `${A}.Style`);
4740
+ }, r(16, ft = 0), [
4706
4741
  b,
4707
4742
  i,
4708
4743
  s,
@@ -4712,14 +4747,14 @@ function Es(e, t, r) {
4712
4747
  y,
4713
4748
  C,
4714
4749
  P,
4715
- O,
4750
+ N,
4716
4751
  R,
4717
- E,
4752
+ _,
4718
4753
  A,
4719
4754
  j,
4720
- G,
4755
+ U,
4721
4756
  k,
4722
- ut,
4757
+ ft,
4723
4758
  a,
4724
4759
  h,
4725
4760
  u,
@@ -4727,19 +4762,19 @@ function Es(e, t, r) {
4727
4762
  m,
4728
4763
  T,
4729
4764
  w,
4730
- N,
4731
- Oe,
4732
- Ir
4765
+ O,
4766
+ Ie,
4767
+ Gr
4733
4768
  ];
4734
4769
  }
4735
- class Hr extends on {
4770
+ class Or extends ln {
4736
4771
  constructor(t) {
4737
- super(), nn(
4772
+ super(), un(
4738
4773
  this,
4739
4774
  t,
4740
- Es,
4741
- ys,
4742
- jt,
4775
+ Ts,
4776
+ xs,
4777
+ Wt,
4743
4778
  {
4744
4779
  endpoint: 1,
4745
4780
  datasource: 2,
@@ -4763,7 +4798,7 @@ class Hr extends on {
4763
4798
  mygamesiconimage: 11,
4764
4799
  mbsource: 12
4765
4800
  },
4766
- ds,
4801
+ ys,
4767
4802
  [-1, -1]
4768
4803
  );
4769
4804
  }
@@ -4771,165 +4806,165 @@ class Hr extends on {
4771
4806
  return this.$$.ctx[1];
4772
4807
  }
4773
4808
  set endpoint(t) {
4774
- this.$$set({ endpoint: t }), S();
4809
+ this.$$set({ endpoint: t }), x();
4775
4810
  }
4776
4811
  get datasource() {
4777
4812
  return this.$$.ctx[2];
4778
4813
  }
4779
4814
  set datasource(t) {
4780
- this.$$set({ datasource: t }), S();
4815
+ this.$$set({ datasource: t }), x();
4781
4816
  }
4782
4817
  get lang() {
4783
4818
  return this.$$.ctx[3];
4784
4819
  }
4785
4820
  set lang(t) {
4786
- this.$$set({ lang: t }), S();
4821
+ this.$$set({ lang: t }), x();
4787
4822
  }
4788
4823
  get userid() {
4789
4824
  return this.$$.ctx[17];
4790
4825
  }
4791
4826
  set userid(t) {
4792
- this.$$set({ userid: t }), S();
4827
+ this.$$set({ userid: t }), x();
4793
4828
  }
4794
4829
  get session() {
4795
4830
  return this.$$.ctx[18];
4796
4831
  }
4797
4832
  set session(t) {
4798
- this.$$set({ session: t }), S();
4833
+ this.$$set({ session: t }), x();
4799
4834
  }
4800
4835
  get mostplayed() {
4801
4836
  return this.$$.ctx[19];
4802
4837
  }
4803
4838
  set mostplayed(t) {
4804
- this.$$set({ mostplayed: t }), S();
4839
+ this.$$set({ mostplayed: t }), x();
4805
4840
  }
4806
4841
  get lastplayed() {
4807
4842
  return this.$$.ctx[20];
4808
4843
  }
4809
4844
  set lastplayed(t) {
4810
- this.$$set({ lastplayed: t }), S();
4845
+ this.$$set({ lastplayed: t }), x();
4811
4846
  }
4812
4847
  get favorites() {
4813
4848
  return this.$$.ctx[21];
4814
4849
  }
4815
4850
  set favorites(t) {
4816
- this.$$set({ favorites: t }), S();
4851
+ this.$$set({ favorites: t }), x();
4817
4852
  }
4818
4853
  get clientstyling() {
4819
4854
  return this.$$.ctx[4];
4820
4855
  }
4821
4856
  set clientstyling(t) {
4822
- this.$$set({ clientstyling: t }), S();
4857
+ this.$$set({ clientstyling: t }), x();
4823
4858
  }
4824
4859
  get clientstylingurl() {
4825
4860
  return this.$$.ctx[5];
4826
4861
  }
4827
4862
  set clientstylingurl(t) {
4828
- this.$$set({ clientstylingurl: t }), S();
4863
+ this.$$set({ clientstylingurl: t }), x();
4829
4864
  }
4830
4865
  get activecategory() {
4831
4866
  return this.$$.ctx[0];
4832
4867
  }
4833
4868
  set activecategory(t) {
4834
- this.$$set({ activecategory: t }), S();
4869
+ this.$$set({ activecategory: t }), x();
4835
4870
  }
4836
4871
  get actionevent() {
4837
4872
  return this.$$.ctx[6];
4838
4873
  }
4839
4874
  set actionevent(t) {
4840
- this.$$set({ actionevent: t }), S();
4875
+ this.$$set({ actionevent: t }), x();
4841
4876
  }
4842
4877
  get sessioncheck() {
4843
4878
  return this.$$.ctx[22];
4844
4879
  }
4845
4880
  set sessioncheck(t) {
4846
- this.$$set({ sessioncheck: t }), S();
4881
+ this.$$set({ sessioncheck: t }), x();
4847
4882
  }
4848
4883
  get location() {
4849
4884
  return this.$$.ctx[7];
4850
4885
  }
4851
4886
  set location(t) {
4852
- this.$$set({ location: t }), S();
4887
+ this.$$set({ location: t }), x();
4853
4888
  }
4854
4889
  get showsubgroups() {
4855
4890
  return this.$$.ctx[8];
4856
4891
  }
4857
4892
  set showsubgroups(t) {
4858
- this.$$set({ showsubgroups: t }), S();
4893
+ this.$$set({ showsubgroups: t }), x();
4859
4894
  }
4860
4895
  get filteredcategories() {
4861
4896
  return this.$$.ctx[23];
4862
4897
  }
4863
4898
  set filteredcategories(t) {
4864
- this.$$set({ filteredcategories: t }), S();
4899
+ this.$$set({ filteredcategories: t }), x();
4865
4900
  }
4866
4901
  get translationurl() {
4867
4902
  return this.$$.ctx[24];
4868
4903
  }
4869
4904
  set translationurl(t) {
4870
- this.$$set({ translationurl: t }), S();
4905
+ this.$$set({ translationurl: t }), x();
4871
4906
  }
4872
4907
  get categoriesicon() {
4873
4908
  return this.$$.ctx[9];
4874
4909
  }
4875
4910
  set categoriesicon(t) {
4876
- this.$$set({ categoriesicon: t }), S();
4911
+ this.$$set({ categoriesicon: t }), x();
4877
4912
  }
4878
4913
  get lobbyiconimage() {
4879
4914
  return this.$$.ctx[10];
4880
4915
  }
4881
4916
  set lobbyiconimage(t) {
4882
- this.$$set({ lobbyiconimage: t }), S();
4917
+ this.$$set({ lobbyiconimage: t }), x();
4883
4918
  }
4884
4919
  get mygamesiconimage() {
4885
4920
  return this.$$.ctx[11];
4886
4921
  }
4887
4922
  set mygamesiconimage(t) {
4888
- this.$$set({ mygamesiconimage: t }), S();
4923
+ this.$$set({ mygamesiconimage: t }), x();
4889
4924
  }
4890
4925
  get mbsource() {
4891
4926
  return this.$$.ctx[12];
4892
4927
  }
4893
4928
  set mbsource(t) {
4894
- this.$$set({ mbsource: t }), S();
4929
+ this.$$set({ mbsource: t }), x();
4895
4930
  }
4896
4931
  }
4897
- sn(Hr, { endpoint: {}, datasource: {}, lang: {}, userid: {}, session: {}, mostplayed: {}, lastplayed: {}, favorites: {}, clientstyling: {}, clientstylingurl: {}, activecategory: {}, actionevent: {}, sessioncheck: {}, location: {}, showsubgroups: {}, filteredcategories: {}, translationurl: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {}, mbsource: {} }, [], [], !0);
4898
- const Ls = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4932
+ hn(Or, { endpoint: {}, datasource: {}, lang: {}, userid: {}, session: {}, mostplayed: {}, lastplayed: {}, favorites: {}, clientstyling: {}, clientstylingurl: {}, activecategory: {}, actionevent: {}, sessioncheck: {}, location: {}, showsubgroups: {}, filteredcategories: {}, translationurl: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {}, mbsource: {} }, [], [], !0);
4933
+ const Rs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4899
4934
  __proto__: null,
4900
- default: Hr
4935
+ default: Or
4901
4936
  }, Symbol.toStringTag, { value: "Module" }));
4902
4937
  export {
4903
4938
  be as $,
4904
- ws as A,
4905
- Xt as B,
4906
- Bs as C,
4907
- Ls as D,
4908
- on as S,
4939
+ ps as A,
4940
+ gs as B,
4941
+ hn as C,
4942
+ Rs as D,
4943
+ ln as S,
4909
4944
  de as a,
4910
- Er as b,
4911
- sn as c,
4912
- kr as d,
4913
- V as e,
4914
- S as f,
4915
- Ts as g,
4916
- me as h,
4917
- nn as i,
4918
- fe as j,
4919
- Vt as k,
4920
- As as l,
4921
- ie as m,
4945
+ Tr as b,
4946
+ zr as c,
4947
+ ne as d,
4948
+ fe as e,
4949
+ x as f,
4950
+ ce as g,
4951
+ Zt as h,
4952
+ un as i,
4953
+ V as j,
4954
+ Ps as k,
4955
+ Ns as l,
4956
+ Is as m,
4922
4957
  I as n,
4923
- Qr as o,
4924
- Ps as p,
4925
- Hs as q,
4926
- ne as r,
4927
- jt as s,
4928
- Ss as t,
4929
- Os as u,
4930
- $e as v,
4931
- cs as w,
4932
- fs as x,
4933
- ms as y,
4934
- Ns as z
4958
+ Kr as o,
4959
+ Os as p,
4960
+ Ve as q,
4961
+ re as r,
4962
+ Wt as s,
4963
+ As as t,
4964
+ Ms as u,
4965
+ Ls as v,
4966
+ Qt as w,
4967
+ Bs as x,
4968
+ Cs as y,
4969
+ bs as z
4935
4970
  };