@everymatrix/casino-categories-slider-nd 1.53.0 → 1.53.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,57 +1,28 @@
1
- var Dr = Object.defineProperty, Fr = Object.defineProperties;
2
- var $r = Object.getOwnPropertyDescriptors;
3
- var ft = Object.getOwnPropertySymbols;
4
- var jr = Object.prototype.hasOwnProperty, kr = Object.prototype.propertyIsEnumerable;
5
- var Ce = (e, t, r) => t in e ? Dr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, mt = (e, t) => {
6
- for (var r in t || (t = {}))
7
- jr.call(t, r) && Ce(e, r, t[r]);
8
- if (ft)
9
- for (var r of ft(t))
10
- kr.call(t, r) && Ce(e, r, t[r]);
11
- return e;
12
- }, dt = (e, t) => Fr(e, $r(t));
13
- var R = (e, t, r) => Ce(e, typeof t != "symbol" ? t + "" : t, r);
14
- var bt = (e, t, r) => new Promise((n, i) => {
15
- var s = (h) => {
16
- try {
17
- a(r.next(h));
18
- } catch (u) {
19
- i(u);
20
- }
21
- }, o = (h) => {
22
- try {
23
- a(r.throw(h));
24
- } catch (u) {
25
- i(u);
26
- }
27
- }, a = (h) => h.done ? n(h.value) : Promise.resolve(h.value).then(s, o);
28
- a((r = r.apply(e, t)).next());
29
- });
30
1
  function B() {
31
2
  }
32
- function Ft(e) {
3
+ function Lt(e) {
33
4
  return e();
34
5
  }
35
- function pt() {
6
+ function ut() {
36
7
  return /* @__PURE__ */ Object.create(null);
37
8
  }
38
- function ie(e) {
39
- e.forEach(Ft);
9
+ function ne(e) {
10
+ e.forEach(Lt);
40
11
  }
41
- function we(e) {
12
+ function Te(e) {
42
13
  return typeof e == "function";
43
14
  }
44
- function $t(e, t) {
15
+ function It(e, t) {
45
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
17
  }
47
- let pe;
48
- function xs(e, t) {
49
- return e === t ? !0 : (pe || (pe = document.createElement("a")), pe.href = t, e === pe.href);
18
+ let be;
19
+ function us(e, t) {
20
+ return e === t ? !0 : (be || (be = document.createElement("a")), be.href = t, e === be.href);
50
21
  }
51
- function Vr(e) {
22
+ function Pr(e) {
52
23
  return Object.keys(e).length === 0;
53
24
  }
54
- function jt(e, ...t) {
25
+ function Ct(e, ...t) {
55
26
  if (e == null) {
56
27
  for (const n of t)
57
28
  n(void 0);
@@ -60,23 +31,23 @@ function jt(e, ...t) {
60
31
  const r = e.subscribe(...t);
61
32
  return r.unsubscribe ? () => r.unsubscribe() : r;
62
33
  }
63
- function Xr(e, t, r) {
64
- e.$$.on_destroy.push(jt(t, r));
34
+ function Nr(e, t, r) {
35
+ e.$$.on_destroy.push(Ct(t, r));
65
36
  }
66
- function Wr(e) {
67
- return e && we(e.destroy) ? e.destroy : B;
37
+ function Or(e) {
38
+ return e && Te(e.destroy) ? e.destroy : B;
68
39
  }
69
- function kt(e, t) {
40
+ function Mt(e, t) {
70
41
  e.appendChild(t);
71
42
  }
72
- function zr(e, t, r) {
73
- const n = Zr(e);
43
+ function Lr(e, t, r) {
44
+ const n = Ir(e);
74
45
  if (!n.getElementById(t)) {
75
- const i = V("style");
76
- i.id = t, i.textContent = r, Qr(n, i);
46
+ const i = k("style");
47
+ i.id = t, i.textContent = r, Cr(n, i);
77
48
  }
78
49
  }
79
- function Zr(e) {
50
+ function Ir(e) {
80
51
  if (!e) return document;
81
52
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
82
53
  return t && /** @type {ShadowRoot} */
@@ -85,56 +56,56 @@ function Zr(e) {
85
56
  t
86
57
  ) : e.ownerDocument;
87
58
  }
88
- function Qr(e, t) {
89
- return kt(
59
+ function Cr(e, t) {
60
+ return Mt(
90
61
  /** @type {Document} */
91
62
  e.head || e,
92
63
  t
93
64
  ), t.sheet;
94
65
  }
95
- function me(e, t, r) {
66
+ function fe(e, t, r) {
96
67
  e.insertBefore(t, r || null);
97
68
  }
98
- function se(e) {
69
+ function ie(e) {
99
70
  e.parentNode && e.parentNode.removeChild(e);
100
71
  }
101
- function Ss(e, t) {
72
+ function hs(e, t) {
102
73
  for (let r = 0; r < e.length; r += 1)
103
74
  e[r] && e[r].d(t);
104
75
  }
105
- function V(e) {
76
+ function k(e) {
106
77
  return document.createElement(e);
107
78
  }
108
- function Ts(e) {
79
+ function ls(e) {
109
80
  return document.createElementNS("http://www.w3.org/2000/svg", e);
110
81
  }
111
- function Vt(e) {
82
+ function Rt(e) {
112
83
  return document.createTextNode(e);
113
84
  }
114
- function ws() {
115
- return Vt(" ");
85
+ function cs() {
86
+ return Rt(" ");
116
87
  }
117
- function Hs() {
118
- return Vt("");
88
+ function fs() {
89
+ return Rt("");
119
90
  }
120
- function As(e, t, r, n) {
91
+ function ms(e, t, r, n) {
121
92
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
122
93
  }
123
- function K(e, t, r) {
94
+ function J(e, t, r) {
124
95
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
125
96
  }
126
- function E(e, t, r) {
97
+ function _(e, t, r) {
127
98
  const n = t.toLowerCase();
128
- n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : K(e, t, r);
99
+ n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : J(e, t, r);
129
100
  }
130
- function Yr(e) {
101
+ function Mr(e) {
131
102
  return Array.from(e.childNodes);
132
103
  }
133
- function Bs(e, t) {
104
+ function ds(e, t) {
134
105
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
135
106
  t);
136
107
  }
137
- function qr(e) {
108
+ function Rr(e) {
138
109
  const t = {};
139
110
  return e.childNodes.forEach(
140
111
  /** @param {Element} node */
@@ -143,119 +114,119 @@ function qr(e) {
143
114
  }
144
115
  ), t;
145
116
  }
146
- let le;
147
- function he(e) {
148
- le = e;
117
+ let he;
118
+ function ue(e) {
119
+ he = e;
149
120
  }
150
- function Jr() {
151
- if (!le) throw new Error("Function called outside component initialization");
152
- return le;
121
+ function Gr() {
122
+ if (!he) throw new Error("Function called outside component initialization");
123
+ return he;
153
124
  }
154
- function Ps(e) {
155
- Jr().$$.on_mount.push(e);
125
+ function bs(e) {
126
+ Gr().$$.on_mount.push(e);
156
127
  }
157
- const Y = [], je = [];
158
- let q = [];
159
- const gt = [], Xt = /* @__PURE__ */ Promise.resolve();
160
- let ke = !1;
161
- function Wt() {
162
- ke || (ke = !0, Xt.then(S));
128
+ const Q = [], De = [];
129
+ let Y = [];
130
+ const ht = [], Gt = /* @__PURE__ */ Promise.resolve();
131
+ let Fe = !1;
132
+ function Ut() {
133
+ Fe || (Fe = !0, Gt.then(S));
163
134
  }
164
- function Kr() {
165
- return Wt(), Xt;
135
+ function Ur() {
136
+ return Ut(), Gt;
166
137
  }
167
- function Ve(e) {
168
- q.push(e);
138
+ function $e(e) {
139
+ Y.push(e);
169
140
  }
170
- const Ie = /* @__PURE__ */ new Set();
171
- let Z = 0;
141
+ const Le = /* @__PURE__ */ new Set();
142
+ let z = 0;
172
143
  function S() {
173
- if (Z !== 0)
144
+ if (z !== 0)
174
145
  return;
175
- const e = le;
146
+ const e = he;
176
147
  do {
177
148
  try {
178
- for (; Z < Y.length; ) {
179
- const t = Y[Z];
180
- Z++, he(t), en(t.$$);
149
+ for (; z < Q.length; ) {
150
+ const t = Q[z];
151
+ z++, ue(t), Dr(t.$$);
181
152
  }
182
153
  } catch (t) {
183
- throw Y.length = 0, Z = 0, t;
154
+ throw Q.length = 0, z = 0, t;
184
155
  }
185
- for (he(null), Y.length = 0, Z = 0; je.length; ) je.pop()();
186
- for (let t = 0; t < q.length; t += 1) {
187
- const r = q[t];
188
- Ie.has(r) || (Ie.add(r), r());
156
+ for (ue(null), Q.length = 0, z = 0; De.length; ) De.pop()();
157
+ for (let t = 0; t < Y.length; t += 1) {
158
+ const r = Y[t];
159
+ Le.has(r) || (Le.add(r), r());
189
160
  }
190
- q.length = 0;
191
- } while (Y.length);
192
- for (; gt.length; )
193
- gt.pop()();
194
- ke = !1, Ie.clear(), he(e);
161
+ Y.length = 0;
162
+ } while (Q.length);
163
+ for (; ht.length; )
164
+ ht.pop()();
165
+ Fe = !1, Le.clear(), ue(e);
195
166
  }
196
- function en(e) {
167
+ function Dr(e) {
197
168
  if (e.fragment !== null) {
198
- e.update(), ie(e.before_update);
169
+ e.update(), ne(e.before_update);
199
170
  const t = e.dirty;
200
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ve);
171
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach($e);
201
172
  }
202
173
  }
203
- function tn(e) {
174
+ function Fr(e) {
204
175
  const t = [], r = [];
205
- q.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), q = t;
176
+ Y.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Y = t;
206
177
  }
207
- const rn = /* @__PURE__ */ new Set();
208
- function zt(e, t) {
209
- e && e.i && (rn.delete(e), e.i(t));
178
+ const $r = /* @__PURE__ */ new Set();
179
+ function Dt(e, t) {
180
+ e && e.i && ($r.delete(e), e.i(t));
210
181
  }
211
- function Ns(e) {
212
- return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
182
+ function ps(e) {
183
+ return e?.length !== void 0 ? e : Array.from(e);
213
184
  }
214
- function Os(e, t) {
185
+ function gs(e, t) {
215
186
  e.d(1), t.delete(e.key);
216
187
  }
217
- function Ls(e, t, r, n, i, s, o, a, h, u, l, m) {
188
+ function ys(e, t, r, n, i, s, o, a, h, u, l, m) {
218
189
  let c = e.length, d = s.length, b = c;
219
190
  const y = {};
220
191
  for (; b--; ) y[e[b].key] = b;
221
- const w = [], I = /* @__PURE__ */ new Map(), P = /* @__PURE__ */ new Map(), T = [];
192
+ const w = [], C = /* @__PURE__ */ new Map(), P = /* @__PURE__ */ new Map(), T = [];
222
193
  for (b = d; b--; ) {
223
- const _ = m(i, s, b), L = r(_);
224
- let C = o.get(L);
225
- C ? T.push(() => C.p(_, t)) : (C = u(L, _), C.c()), I.set(L, w[b] = C), L in y && P.set(L, Math.abs(b - y[L]));
194
+ const E = m(i, s, b), L = r(E);
195
+ let I = o.get(L);
196
+ I ? T.push(() => I.p(E, t)) : (I = u(L, E), I.c()), C.set(L, w[b] = I), L in y && P.set(L, Math.abs(b - y[L]));
226
197
  }
227
198
  const N = /* @__PURE__ */ new Set(), O = /* @__PURE__ */ new Set();
228
- function G(_) {
229
- zt(_, 1), _.m(a, l), o.set(_.key, _), l = _.first, d--;
199
+ function R(E) {
200
+ Dt(E, 1), E.m(a, l), o.set(E.key, E), l = E.first, d--;
230
201
  }
231
202
  for (; c && d; ) {
232
- const _ = w[d - 1], L = e[c - 1], C = _.key, M = L.key;
233
- _ === L ? (l = _.first, c--, d--) : I.has(M) ? !o.has(C) || N.has(C) ? G(_) : O.has(M) ? c-- : P.get(C) > P.get(M) ? (O.add(C), G(_)) : (N.add(M), c--) : (h(L, o), c--);
203
+ const E = w[d - 1], L = e[c - 1], I = E.key, M = L.key;
204
+ E === L ? (l = E.first, c--, d--) : C.has(M) ? !o.has(I) || N.has(I) ? R(E) : O.has(M) ? c-- : P.get(I) > P.get(M) ? (O.add(I), R(E)) : (N.add(M), c--) : (h(L, o), c--);
234
205
  }
235
206
  for (; c--; ) {
236
- const _ = e[c];
237
- I.has(_.key) || h(_, o);
207
+ const E = e[c];
208
+ C.has(E.key) || h(E, o);
238
209
  }
239
- for (; d; ) G(w[d - 1]);
240
- return ie(T), w;
210
+ for (; d; ) R(w[d - 1]);
211
+ return ne(T), w;
241
212
  }
242
- function nn(e, t, r) {
213
+ function jr(e, t, r) {
243
214
  const { fragment: n, after_update: i } = e.$$;
244
- n && n.m(t, r), Ve(() => {
245
- const s = e.$$.on_mount.map(Ft).filter(we);
246
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ie(s), e.$$.on_mount = [];
247
- }), i.forEach(Ve);
215
+ n && n.m(t, r), $e(() => {
216
+ const s = e.$$.on_mount.map(Lt).filter(Te);
217
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ne(s), e.$$.on_mount = [];
218
+ }), i.forEach($e);
248
219
  }
249
- function sn(e, t) {
220
+ function kr(e, t) {
250
221
  const r = e.$$;
251
- r.fragment !== null && (tn(r.after_update), ie(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
222
+ r.fragment !== null && (Fr(r.after_update), ne(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
252
223
  }
253
- function on(e, t) {
254
- e.$$.dirty[0] === -1 && (Y.push(e), Wt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
224
+ function Vr(e, t) {
225
+ e.$$.dirty[0] === -1 && (Q.push(e), Ut(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
255
226
  }
256
- function an(e, t, r, n, i, s, o = null, a = [-1]) {
257
- const h = le;
258
- he(e);
227
+ function Xr(e, t, r, n, i, s, o = null, a = [-1]) {
228
+ const h = he;
229
+ ue(e);
259
230
  const u = e.$$ = {
260
231
  fragment: null,
261
232
  ctx: [],
@@ -263,7 +234,7 @@ function an(e, t, r, n, i, s, o = null, a = [-1]) {
263
234
  props: s,
264
235
  update: B,
265
236
  not_equal: i,
266
- bound: pt(),
237
+ bound: ut(),
267
238
  // lifecycle
268
239
  on_mount: [],
269
240
  on_destroy: [],
@@ -272,7 +243,7 @@ function an(e, t, r, n, i, s, o = null, a = [-1]) {
272
243
  after_update: [],
273
244
  context: new Map(t.context || (h ? h.$$.context : [])),
274
245
  // everything else
275
- callbacks: pt(),
246
+ callbacks: ut(),
276
247
  dirty: a,
277
248
  skip_bound: !1,
278
249
  root: t.target || h.$$.root
@@ -281,141 +252,137 @@ function an(e, t, r, n, i, s, o = null, a = [-1]) {
281
252
  let l = !1;
282
253
  if (u.ctx = r ? r(e, t.props || {}, (m, c, ...d) => {
283
254
  const b = d.length ? d[0] : c;
284
- return u.ctx && i(u.ctx[m], u.ctx[m] = b) && (!u.skip_bound && u.bound[m] && u.bound[m](b), l && on(e, m)), c;
285
- }) : [], u.update(), l = !0, ie(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
255
+ return u.ctx && i(u.ctx[m], u.ctx[m] = b) && (!u.skip_bound && u.bound[m] && u.bound[m](b), l && Vr(e, m)), c;
256
+ }) : [], u.update(), l = !0, ne(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
286
257
  if (t.hydrate) {
287
- const m = Yr(t.target);
288
- u.fragment && u.fragment.l(m), m.forEach(se);
258
+ const m = Mr(t.target);
259
+ u.fragment && u.fragment.l(m), m.forEach(ie);
289
260
  } else
290
261
  u.fragment && u.fragment.c();
291
- t.intro && zt(e.$$.fragment), nn(e, t.target, t.anchor), S();
262
+ t.intro && Dt(e.$$.fragment), jr(e, t.target, t.anchor), S();
292
263
  }
293
- he(h);
294
- }
295
- let Zt;
296
- typeof HTMLElement == "function" && (Zt = class extends HTMLElement {
297
- constructor(t, r, n) {
298
- super();
299
- /** The Svelte component constructor */
300
- R(this, "$$ctor");
301
- /** Slots */
302
- R(this, "$$s");
303
- /** The Svelte component instance */
304
- R(this, "$$c");
305
- /** Whether or not the custom element is connected */
306
- R(this, "$$cn", !1);
307
- /** Component props data */
308
- R(this, "$$d", {});
309
- /** `true` if currently in the process of reflecting component props back to attributes */
310
- R(this, "$$r", !1);
311
- /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
312
- R(this, "$$p_d", {});
313
- /** @type {Record<string, Function[]>} Event listeners */
314
- R(this, "$$l", {});
315
- /** @type {Map<Function, Function>} Event listener unsubscribe functions */
316
- R(this, "$$l_u", /* @__PURE__ */ new Map());
317
- this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
264
+ ue(h);
265
+ }
266
+ let Ft;
267
+ typeof HTMLElement == "function" && (Ft = class extends HTMLElement {
268
+ /** The Svelte component constructor */
269
+ $$ctor;
270
+ /** Slots */
271
+ $$s;
272
+ /** The Svelte component instance */
273
+ $$c;
274
+ /** Whether or not the custom element is connected */
275
+ $$cn = !1;
276
+ /** Component props data */
277
+ $$d = {};
278
+ /** `true` if currently in the process of reflecting component props back to attributes */
279
+ $$r = !1;
280
+ /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
281
+ $$p_d = {};
282
+ /** @type {Record<string, Function[]>} Event listeners */
283
+ $$l = {};
284
+ /** @type {Map<Function, Function>} Event listener unsubscribe functions */
285
+ $$l_u = /* @__PURE__ */ new Map();
286
+ constructor(e, t, r) {
287
+ super(), this.$$ctor = e, this.$$s = t, r && this.attachShadow({ mode: "open" });
318
288
  }
319
- addEventListener(t, r, n) {
320
- if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(r), this.$$c) {
321
- const i = this.$$c.$on(t, r);
322
- this.$$l_u.set(r, i);
289
+ addEventListener(e, t, r) {
290
+ if (this.$$l[e] = this.$$l[e] || [], this.$$l[e].push(t), this.$$c) {
291
+ const n = this.$$c.$on(e, t);
292
+ this.$$l_u.set(t, n);
323
293
  }
324
- super.addEventListener(t, r, n);
294
+ super.addEventListener(e, t, r);
325
295
  }
326
- removeEventListener(t, r, n) {
327
- if (super.removeEventListener(t, r, n), this.$$c) {
328
- const i = this.$$l_u.get(r);
329
- i && (i(), this.$$l_u.delete(r));
296
+ removeEventListener(e, t, r) {
297
+ if (super.removeEventListener(e, t, r), this.$$c) {
298
+ const n = this.$$l_u.get(t);
299
+ n && (n(), this.$$l_u.delete(t));
330
300
  }
331
301
  }
332
- connectedCallback() {
333
- return bt(this, null, function* () {
334
- if (this.$$cn = !0, !this.$$c) {
335
- let t = function(s) {
336
- return () => {
337
- let o;
338
- return {
339
- c: function() {
340
- o = V("slot"), s !== "default" && K(o, "name", s);
341
- },
342
- /**
343
- * @param {HTMLElement} target
344
- * @param {HTMLElement} [anchor]
345
- */
346
- m: function(u, l) {
347
- me(u, o, l);
348
- },
349
- d: function(u) {
350
- u && se(o);
351
- }
352
- };
302
+ async connectedCallback() {
303
+ if (this.$$cn = !0, !this.$$c) {
304
+ let e = function(i) {
305
+ return () => {
306
+ let s;
307
+ return {
308
+ c: function() {
309
+ s = k("slot"), i !== "default" && J(s, "name", i);
310
+ },
311
+ /**
312
+ * @param {HTMLElement} target
313
+ * @param {HTMLElement} [anchor]
314
+ */
315
+ m: function(h, u) {
316
+ fe(h, s, u);
317
+ },
318
+ d: function(h) {
319
+ h && ie(s);
320
+ }
353
321
  };
354
322
  };
355
- if (yield Promise.resolve(), !this.$$cn || this.$$c)
356
- return;
357
- const r = {}, n = qr(this);
358
- for (const s of this.$$s)
359
- s in n && (r[s] = [t(s)]);
360
- for (const s of this.attributes) {
361
- const o = this.$$g_p(s.name);
362
- o in this.$$d || (this.$$d[o] = ve(o, s.value, this.$$p_d, "toProp"));
323
+ };
324
+ if (await Promise.resolve(), !this.$$cn || this.$$c)
325
+ return;
326
+ const t = {}, r = Rr(this);
327
+ for (const i of this.$$s)
328
+ i in r && (t[i] = [e(i)]);
329
+ for (const i of this.attributes) {
330
+ const s = this.$$g_p(i.name);
331
+ s in this.$$d || (this.$$d[s] = ye(s, i.value, this.$$p_d, "toProp"));
332
+ }
333
+ for (const i in this.$$p_d)
334
+ !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
335
+ this.$$c = new this.$$ctor({
336
+ target: this.shadowRoot || this,
337
+ props: {
338
+ ...this.$$d,
339
+ $$slots: t,
340
+ $$scope: {
341
+ ctx: []
342
+ }
363
343
  }
364
- for (const s in this.$$p_d)
365
- !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
366
- this.$$c = new this.$$ctor({
367
- target: this.shadowRoot || this,
368
- props: dt(mt({}, this.$$d), {
369
- $$slots: r,
370
- $$scope: {
371
- ctx: []
372
- }
373
- })
374
- });
375
- const i = () => {
376
- this.$$r = !0;
377
- for (const s in this.$$p_d)
378
- if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
379
- const o = ve(
380
- s,
381
- this.$$d[s],
382
- this.$$p_d,
383
- "toAttribute"
384
- );
385
- o == null ? this.removeAttribute(this.$$p_d[s].attribute || s) : this.setAttribute(this.$$p_d[s].attribute || s, o);
386
- }
387
- this.$$r = !1;
388
- };
389
- this.$$c.$$.after_update.push(i), i();
390
- for (const s in this.$$l)
391
- for (const o of this.$$l[s]) {
392
- const a = this.$$c.$on(s, o);
393
- this.$$l_u.set(o, a);
344
+ });
345
+ const n = () => {
346
+ this.$$r = !0;
347
+ for (const i in this.$$p_d)
348
+ if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
349
+ const s = ye(
350
+ i,
351
+ this.$$d[i],
352
+ this.$$p_d,
353
+ "toAttribute"
354
+ );
355
+ s == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, s);
394
356
  }
395
- this.$$l = {};
396
- }
397
- });
357
+ this.$$r = !1;
358
+ };
359
+ this.$$c.$$.after_update.push(n), n();
360
+ for (const i in this.$$l)
361
+ for (const s of this.$$l[i]) {
362
+ const o = this.$$c.$on(i, s);
363
+ this.$$l_u.set(s, o);
364
+ }
365
+ this.$$l = {};
366
+ }
398
367
  }
399
368
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
400
369
  // and setting attributes through setAttribute etc, this is helpful
401
- attributeChangedCallback(t, r, n) {
402
- var i;
403
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = ve(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
370
+ attributeChangedCallback(e, t, r) {
371
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = ye(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
404
372
  }
405
373
  disconnectedCallback() {
406
374
  this.$$cn = !1, Promise.resolve().then(() => {
407
375
  !this.$$cn && this.$$c && (this.$$c.$destroy(), this.$$c = void 0);
408
376
  });
409
377
  }
410
- $$g_p(t) {
378
+ $$g_p(e) {
411
379
  return Object.keys(this.$$p_d).find(
412
- (r) => this.$$p_d[r].attribute === t || !this.$$p_d[r].attribute && r.toLowerCase() === t
413
- ) || t;
380
+ (t) => this.$$p_d[t].attribute === e || !this.$$p_d[t].attribute && t.toLowerCase() === e
381
+ ) || e;
414
382
  }
415
383
  });
416
- function ve(e, t, r, n) {
417
- var s;
418
- const i = (s = r[e]) == null ? void 0 : s.type;
384
+ function ye(e, t, r, n) {
385
+ const i = r[e]?.type;
419
386
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
420
387
  return t;
421
388
  if (n === "toAttribute")
@@ -426,7 +393,7 @@ function ve(e, t, r, n) {
426
393
  case "Boolean":
427
394
  return t ? "" : null;
428
395
  case "Number":
429
- return t == null ? null : t;
396
+ return t ?? null;
430
397
  default:
431
398
  return t;
432
399
  }
@@ -443,8 +410,8 @@ function ve(e, t, r, n) {
443
410
  return t;
444
411
  }
445
412
  }
446
- function un(e, t, r, n, i, s) {
447
- let o = class extends Zt {
413
+ function Wr(e, t, r, n, i, s) {
414
+ let o = class extends Ft {
448
415
  constructor() {
449
416
  super(e, r, i), this.$$p_d = t;
450
417
  }
@@ -460,42 +427,38 @@ function un(e, t, r, n, i, s) {
460
427
  return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
461
428
  },
462
429
  set(h) {
463
- var u;
464
- h = ve(a, h, t), this.$$d[a] = h, (u = this.$$c) == null || u.$set({ [a]: h });
430
+ h = ye(a, h, t), this.$$d[a] = h, this.$$c?.$set({ [a]: h });
465
431
  }
466
432
  });
467
433
  }), n.forEach((a) => {
468
434
  Object.defineProperty(o.prototype, a, {
469
435
  get() {
470
- var h;
471
- return (h = this.$$c) == null ? void 0 : h[a];
436
+ return this.$$c?.[a];
472
437
  }
473
438
  });
474
439
  }), e.element = /** @type {any} */
475
440
  o, o;
476
441
  }
477
- class hn {
478
- constructor() {
479
- /**
480
- * ### PRIVATE API
481
- *
482
- * Do not use, may change at any time
483
- *
484
- * @type {any}
485
- */
486
- R(this, "$$");
487
- /**
488
- * ### PRIVATE API
489
- *
490
- * Do not use, may change at any time
491
- *
492
- * @type {any}
493
- */
494
- R(this, "$$set");
495
- }
442
+ class zr {
443
+ /**
444
+ * ### PRIVATE API
445
+ *
446
+ * Do not use, may change at any time
447
+ *
448
+ * @type {any}
449
+ */
450
+ $$ = void 0;
451
+ /**
452
+ * ### PRIVATE API
453
+ *
454
+ * Do not use, may change at any time
455
+ *
456
+ * @type {any}
457
+ */
458
+ $$set = void 0;
496
459
  /** @returns {void} */
497
460
  $destroy() {
498
- sn(this, 1), this.$destroy = B;
461
+ kr(this, 1), this.$destroy = B;
499
462
  }
500
463
  /**
501
464
  * @template {Extract<keyof Events, string>} K
@@ -504,7 +467,7 @@ class hn {
504
467
  * @returns {() => void}
505
468
  */
506
469
  $on(t, r) {
507
- if (!we(r))
470
+ if (!Te(r))
508
471
  return B;
509
472
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
510
473
  return n.push(r), () => {
@@ -517,22 +480,22 @@ class hn {
517
480
  * @returns {void}
518
481
  */
519
482
  $set(t) {
520
- this.$$set && !Vr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
483
+ this.$$set && !Pr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
521
484
  }
522
485
  }
523
- const ln = "4";
524
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(ln);
525
- var Xe = function(e, t) {
526
- return Xe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
486
+ const Zr = "4";
487
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Zr);
488
+ var je = function(e, t) {
489
+ return je = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
527
490
  r.__proto__ = n;
528
491
  } || function(r, n) {
529
492
  for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
530
- }, Xe(e, t);
493
+ }, je(e, t);
531
494
  };
532
- function D(e, t) {
495
+ function U(e, t) {
533
496
  if (typeof t != "function" && t !== null)
534
497
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
535
- Xe(e, t);
498
+ je(e, t);
536
499
  function r() {
537
500
  this.constructor = e;
538
501
  }
@@ -547,7 +510,7 @@ var v = function() {
547
510
  return t;
548
511
  }, v.apply(this, arguments);
549
512
  };
550
- function cn(e, t) {
513
+ function Qr(e, t) {
551
514
  var r = {};
552
515
  for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
553
516
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -555,7 +518,7 @@ function cn(e, t) {
555
518
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
556
519
  return r;
557
520
  }
558
- function We(e) {
521
+ function ke(e) {
559
522
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
560
523
  if (r) return r.call(e);
561
524
  if (e && typeof e.length == "number") return {
@@ -565,7 +528,7 @@ function We(e) {
565
528
  };
566
529
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
567
530
  }
568
- function ze(e, t) {
531
+ function Ve(e, t) {
569
532
  var r = typeof Symbol == "function" && e[Symbol.iterator];
570
533
  if (!r) return e;
571
534
  var n = r.call(e), i, s = [], o;
@@ -582,21 +545,21 @@ function ze(e, t) {
582
545
  }
583
546
  return s;
584
547
  }
585
- function J(e, t, r) {
548
+ function q(e, t, r) {
586
549
  if (r || arguments.length === 2) for (var n = 0, i = t.length, s; n < i; n++)
587
550
  (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
588
551
  return e.concat(s || Array.prototype.slice.call(t));
589
552
  }
590
- function U(e) {
553
+ function G(e) {
591
554
  return typeof e == "function";
592
555
  }
593
- function Qt(e) {
556
+ function $t(e) {
594
557
  var t = function(n) {
595
558
  Error.call(n), n.stack = new Error().stack;
596
559
  }, r = e(t);
597
560
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
598
561
  }
599
- var Me = Qt(function(e) {
562
+ var Ie = $t(function(e) {
600
563
  return function(r) {
601
564
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
602
565
  ` + r.map(function(n, i) {
@@ -605,13 +568,13 @@ var Me = Qt(function(e) {
605
568
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
606
569
  };
607
570
  });
608
- function Ze(e, t) {
571
+ function Xe(e, t) {
609
572
  if (e) {
610
573
  var r = e.indexOf(t);
611
574
  0 <= r && e.splice(r, 1);
612
575
  }
613
576
  }
614
- var He = function() {
577
+ var we = function() {
615
578
  function e(t) {
616
579
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
617
580
  }
@@ -623,7 +586,7 @@ var He = function() {
623
586
  if (o)
624
587
  if (this._parentage = null, Array.isArray(o))
625
588
  try {
626
- for (var a = We(o), h = a.next(); !h.done; h = a.next()) {
589
+ for (var a = ke(o), h = a.next(); !h.done; h = a.next()) {
627
590
  var u = h.value;
628
591
  u.remove(this);
629
592
  }
@@ -639,22 +602,22 @@ var He = function() {
639
602
  else
640
603
  o.remove(this);
641
604
  var l = this.initialTeardown;
642
- if (U(l))
605
+ if (G(l))
643
606
  try {
644
607
  l();
645
608
  } catch (y) {
646
- s = y instanceof Me ? y.errors : [y];
609
+ s = y instanceof Ie ? y.errors : [y];
647
610
  }
648
611
  var m = this._finalizers;
649
612
  if (m) {
650
613
  this._finalizers = null;
651
614
  try {
652
- for (var c = We(m), d = c.next(); !d.done; d = c.next()) {
615
+ for (var c = ke(m), d = c.next(); !d.done; d = c.next()) {
653
616
  var b = d.value;
654
617
  try {
655
- yt(b);
618
+ lt(b);
656
619
  } catch (y) {
657
- s = s != null ? s : [], y instanceof Me ? s = J(J([], ze(s)), ze(y.errors)) : s.push(y);
620
+ s = s ?? [], y instanceof Ie ? s = q(q([], Ve(s)), Ve(y.errors)) : s.push(y);
658
621
  }
659
622
  }
660
623
  } catch (y) {
@@ -668,13 +631,13 @@ var He = function() {
668
631
  }
669
632
  }
670
633
  if (s)
671
- throw new Me(s);
634
+ throw new Ie(s);
672
635
  }
673
636
  }, e.prototype.add = function(t) {
674
637
  var r;
675
638
  if (t && t !== this)
676
639
  if (this.closed)
677
- yt(t);
640
+ lt(t);
678
641
  else {
679
642
  if (t instanceof e) {
680
643
  if (t.closed || t._hasParent(this))
@@ -691,56 +654,56 @@ var He = function() {
691
654
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
692
655
  }, e.prototype._removeParent = function(t) {
693
656
  var r = this._parentage;
694
- r === t ? this._parentage = null : Array.isArray(r) && Ze(r, t);
657
+ r === t ? this._parentage = null : Array.isArray(r) && Xe(r, t);
695
658
  }, e.prototype.remove = function(t) {
696
659
  var r = this._finalizers;
697
- r && Ze(r, t), t instanceof e && t._removeParent(this);
660
+ r && Xe(r, t), t instanceof e && t._removeParent(this);
698
661
  }, e.EMPTY = function() {
699
662
  var t = new e();
700
663
  return t.closed = !0, t;
701
664
  }(), e;
702
- }(), Yt = He.EMPTY;
703
- function qt(e) {
704
- return e instanceof He || e && "closed" in e && U(e.remove) && U(e.add) && U(e.unsubscribe);
665
+ }(), jt = we.EMPTY;
666
+ function kt(e) {
667
+ return e instanceof we || e && "closed" in e && G(e.remove) && G(e.add) && G(e.unsubscribe);
705
668
  }
706
- function yt(e) {
707
- U(e) ? e() : e.unsubscribe();
669
+ function lt(e) {
670
+ G(e) ? e() : e.unsubscribe();
708
671
  }
709
- var Jt = {
672
+ var Yr = {
710
673
  onUnhandledError: null,
711
674
  onStoppedNotification: null,
712
675
  Promise: void 0,
713
676
  useDeprecatedSynchronousErrorHandling: !1,
714
677
  useDeprecatedNextContext: !1
715
- }, fn = {
678
+ }, qr = {
716
679
  setTimeout: function(e, t) {
717
680
  for (var r = [], n = 2; n < arguments.length; n++)
718
681
  r[n - 2] = arguments[n];
719
- return setTimeout.apply(void 0, J([e, t], ze(r)));
682
+ return setTimeout.apply(void 0, q([e, t], Ve(r)));
720
683
  },
721
684
  clearTimeout: function(e) {
722
685
  return clearTimeout(e);
723
686
  },
724
687
  delegate: void 0
725
688
  };
726
- function mn(e) {
727
- fn.setTimeout(function() {
689
+ function Jr(e) {
690
+ qr.setTimeout(function() {
728
691
  throw e;
729
692
  });
730
693
  }
731
- function vt() {
694
+ function ct() {
732
695
  }
733
- function Ee(e) {
696
+ function ve(e) {
734
697
  e();
735
698
  }
736
- var Kt = function(e) {
737
- D(t, e);
699
+ var Vt = function(e) {
700
+ U(t, e);
738
701
  function t(r) {
739
702
  var n = e.call(this) || this;
740
- return n.isStopped = !1, r ? (n.destination = r, qt(r) && r.add(n)) : n.destination = gn, n;
703
+ return n.isStopped = !1, r ? (n.destination = r, kt(r) && r.add(n)) : n.destination = tn, n;
741
704
  }
742
705
  return t.create = function(r, n, i) {
743
- return new Qe(r, n, i);
706
+ return new We(r, n, i);
744
707
  }, t.prototype.next = function(r) {
745
708
  this.isStopped || this._next(r);
746
709
  }, t.prototype.error = function(r) {
@@ -764,11 +727,7 @@ var Kt = function(e) {
764
727
  this.unsubscribe();
765
728
  }
766
729
  }, t;
767
- }(He), dn = Function.prototype.bind;
768
- function Re(e, t) {
769
- return dn.call(e, t);
770
- }
771
- var bn = function() {
730
+ }(we), Kr = function() {
772
731
  function e(t) {
773
732
  this.partialObserver = t;
774
733
  }
@@ -778,7 +737,7 @@ var bn = function() {
778
737
  try {
779
738
  r.next(t);
780
739
  } catch (n) {
781
- ge(n);
740
+ pe(n);
782
741
  }
783
742
  }, e.prototype.error = function(t) {
784
743
  var r = this.partialObserver;
@@ -786,68 +745,56 @@ var bn = function() {
786
745
  try {
787
746
  r.error(t);
788
747
  } catch (n) {
789
- ge(n);
748
+ pe(n);
790
749
  }
791
750
  else
792
- ge(t);
751
+ pe(t);
793
752
  }, e.prototype.complete = function() {
794
753
  var t = this.partialObserver;
795
754
  if (t.complete)
796
755
  try {
797
756
  t.complete();
798
757
  } catch (r) {
799
- ge(r);
758
+ pe(r);
800
759
  }
801
760
  }, e;
802
- }(), Qe = function(e) {
803
- D(t, e);
761
+ }(), We = function(e) {
762
+ U(t, e);
804
763
  function t(r, n, i) {
805
764
  var s = e.call(this) || this, o;
806
- if (U(r) || !r)
807
- o = {
808
- next: r != null ? r : void 0,
809
- error: n != null ? n : void 0,
810
- complete: i != null ? i : void 0
811
- };
812
- else {
813
- var a;
814
- s && Jt.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
815
- return s.unsubscribe();
816
- }, o = {
817
- next: r.next && Re(r.next, a),
818
- error: r.error && Re(r.error, a),
819
- complete: r.complete && Re(r.complete, a)
820
- }) : o = r;
821
- }
822
- return s.destination = new bn(o), s;
765
+ return G(r) || !r ? o = {
766
+ next: r ?? void 0,
767
+ error: n ?? void 0,
768
+ complete: i ?? void 0
769
+ } : o = r, s.destination = new Kr(o), s;
823
770
  }
824
771
  return t;
825
- }(Kt);
826
- function ge(e) {
827
- mn(e);
772
+ }(Vt);
773
+ function pe(e) {
774
+ Jr(e);
828
775
  }
829
- function pn(e) {
776
+ function en(e) {
830
777
  throw e;
831
778
  }
832
- var gn = {
779
+ var tn = {
833
780
  closed: !0,
834
- next: vt,
835
- error: pn,
836
- complete: vt
837
- }, yn = function() {
781
+ next: ct,
782
+ error: en,
783
+ complete: ct
784
+ }, rn = function() {
838
785
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
839
786
  }();
840
- function vn(e) {
787
+ function nn(e) {
841
788
  return e;
842
789
  }
843
- function En(e) {
844
- return e.length === 0 ? vn : e.length === 1 ? e[0] : function(r) {
790
+ function sn(e) {
791
+ return e.length === 0 ? nn : e.length === 1 ? e[0] : function(r) {
845
792
  return e.reduce(function(n, i) {
846
793
  return i(n);
847
794
  }, r);
848
795
  };
849
796
  }
850
- var Et = function() {
797
+ var ft = function() {
851
798
  function e(t) {
852
799
  t && (this._subscribe = t);
853
800
  }
@@ -855,8 +802,8 @@ var Et = function() {
855
802
  var r = new e();
856
803
  return r.source = this, r.operator = t, r;
857
804
  }, e.prototype.subscribe = function(t, r, n) {
858
- var i = this, s = xn(t) ? t : new Qe(t, r, n);
859
- return Ee(function() {
805
+ var i = this, s = an(t) ? t : new We(t, r, n);
806
+ return ve(function() {
860
807
  var o = i, a = o.operator, h = o.source;
861
808
  s.add(a ? a.call(s, h) : h ? i._subscribe(s) : i._trySubscribe(s));
862
809
  }), s;
@@ -868,8 +815,8 @@ var Et = function() {
868
815
  }
869
816
  }, e.prototype.forEach = function(t, r) {
870
817
  var n = this;
871
- return r = _t(r), new r(function(i, s) {
872
- var o = new Qe({
818
+ return r = mt(r), new r(function(i, s) {
819
+ var o = new We({
873
820
  next: function(a) {
874
821
  try {
875
822
  t(a);
@@ -885,15 +832,15 @@ var Et = function() {
885
832
  }, e.prototype._subscribe = function(t) {
886
833
  var r;
887
834
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
888
- }, e.prototype[yn] = function() {
835
+ }, e.prototype[rn] = function() {
889
836
  return this;
890
837
  }, e.prototype.pipe = function() {
891
838
  for (var t = [], r = 0; r < arguments.length; r++)
892
839
  t[r] = arguments[r];
893
- return En(t)(this);
840
+ return sn(t)(this);
894
841
  }, e.prototype.toPromise = function(t) {
895
842
  var r = this;
896
- return t = _t(t), new t(function(n, i) {
843
+ return t = mt(t), new t(function(n, i) {
897
844
  var s;
898
845
  r.subscribe(function(o) {
899
846
  return s = o;
@@ -907,40 +854,40 @@ var Et = function() {
907
854
  return new e(t);
908
855
  }, e;
909
856
  }();
910
- function _t(e) {
857
+ function mt(e) {
911
858
  var t;
912
- return (t = e != null ? e : Jt.Promise) !== null && t !== void 0 ? t : Promise;
859
+ return (t = e ?? Yr.Promise) !== null && t !== void 0 ? t : Promise;
913
860
  }
914
- function _n(e) {
915
- return e && U(e.next) && U(e.error) && U(e.complete);
861
+ function on(e) {
862
+ return e && G(e.next) && G(e.error) && G(e.complete);
916
863
  }
917
- function xn(e) {
918
- return e && e instanceof Kt || _n(e) && qt(e);
864
+ function an(e) {
865
+ return e && e instanceof Vt || on(e) && kt(e);
919
866
  }
920
- var Sn = Qt(function(e) {
867
+ var un = $t(function(e) {
921
868
  return function() {
922
869
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
923
870
  };
924
- }), er = function(e) {
925
- D(t, e);
871
+ }), Xt = function(e) {
872
+ U(t, e);
926
873
  function t() {
927
874
  var r = e.call(this) || this;
928
875
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
929
876
  }
930
877
  return t.prototype.lift = function(r) {
931
- var n = new xt(this, this);
878
+ var n = new dt(this, this);
932
879
  return n.operator = r, n;
933
880
  }, t.prototype._throwIfClosed = function() {
934
881
  if (this.closed)
935
- throw new Sn();
882
+ throw new un();
936
883
  }, t.prototype.next = function(r) {
937
884
  var n = this;
938
- Ee(function() {
885
+ ve(function() {
939
886
  var i, s;
940
887
  if (n._throwIfClosed(), !n.isStopped) {
941
888
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
942
889
  try {
943
- for (var o = We(n.currentObservers), a = o.next(); !a.done; a = o.next()) {
890
+ for (var o = ke(n.currentObservers), a = o.next(); !a.done; a = o.next()) {
944
891
  var h = a.value;
945
892
  h.next(r);
946
893
  }
@@ -957,7 +904,7 @@ var Sn = Qt(function(e) {
957
904
  });
958
905
  }, t.prototype.error = function(r) {
959
906
  var n = this;
960
- Ee(function() {
907
+ ve(function() {
961
908
  if (n._throwIfClosed(), !n.isStopped) {
962
909
  n.hasError = n.isStopped = !0, n.thrownError = r;
963
910
  for (var i = n.observers; i.length; )
@@ -966,7 +913,7 @@ var Sn = Qt(function(e) {
966
913
  });
967
914
  }, t.prototype.complete = function() {
968
915
  var r = this;
969
- Ee(function() {
916
+ ve(function() {
970
917
  if (r._throwIfClosed(), !r.isStopped) {
971
918
  r.isStopped = !0;
972
919
  for (var n = r.observers; n.length; )
@@ -988,20 +935,20 @@ var Sn = Qt(function(e) {
988
935
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
989
936
  }, t.prototype._innerSubscribe = function(r) {
990
937
  var n = this, i = this, s = i.hasError, o = i.isStopped, a = i.observers;
991
- return s || o ? Yt : (this.currentObservers = null, a.push(r), new He(function() {
992
- n.currentObservers = null, Ze(a, r);
938
+ return s || o ? jt : (this.currentObservers = null, a.push(r), new we(function() {
939
+ n.currentObservers = null, Xe(a, r);
993
940
  }));
994
941
  }, t.prototype._checkFinalizedStatuses = function(r) {
995
942
  var n = this, i = n.hasError, s = n.thrownError, o = n.isStopped;
996
943
  i ? r.error(s) : o && r.complete();
997
944
  }, t.prototype.asObservable = function() {
998
- var r = new Et();
945
+ var r = new ft();
999
946
  return r.source = this, r;
1000
947
  }, t.create = function(r, n) {
1001
- return new xt(r, n);
948
+ return new dt(r, n);
1002
949
  }, t;
1003
- }(Et), xt = function(e) {
1004
- D(t, e);
950
+ }(ft), dt = function(e) {
951
+ U(t, e);
1005
952
  function t(r, n) {
1006
953
  var i = e.call(this) || this;
1007
954
  return i.destination = r, i.source = n, i;
@@ -1017,17 +964,17 @@ var Sn = Qt(function(e) {
1017
964
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1018
965
  }, t.prototype._subscribe = function(r) {
1019
966
  var n, i;
1020
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Yt;
967
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : jt;
1021
968
  }, t;
1022
- }(er), tr = {
969
+ }(Xt), Wt = {
1023
970
  now: function() {
1024
- return (tr.delegate || Date).now();
971
+ return (Wt.delegate || Date).now();
1025
972
  },
1026
973
  delegate: void 0
1027
- }, Tn = function(e) {
1028
- D(t, e);
974
+ }, hn = function(e) {
975
+ U(t, e);
1029
976
  function t(r, n, i) {
1030
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = tr);
977
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Wt);
1031
978
  var s = e.call(this) || this;
1032
979
  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;
1033
980
  }
@@ -1047,31 +994,31 @@ var Sn = Qt(function(e) {
1047
994
  u && s.splice(0, u + 1);
1048
995
  }
1049
996
  }, t;
1050
- }(er);
1051
- const St = [], Tt = {}, wn = (e, t = 0) => {
1052
- if (St.indexOf(e) == -1) {
1053
- const r = new Tn(t);
1054
- Tt[e] = r, St.push(e);
997
+ }(Xt);
998
+ const bt = [], pt = {}, ln = (e, t = 0) => {
999
+ if (bt.indexOf(e) == -1) {
1000
+ const r = new hn(t);
1001
+ pt[e] = r, bt.push(e);
1055
1002
  }
1056
- return Tt[e];
1057
- }, Q = [];
1058
- function Hn(e, t) {
1003
+ return pt[e];
1004
+ }, Z = [];
1005
+ function cn(e, t) {
1059
1006
  return {
1060
- subscribe: Ae(e, t).subscribe
1007
+ subscribe: He(e, t).subscribe
1061
1008
  };
1062
1009
  }
1063
- function Ae(e, t = B) {
1010
+ function He(e, t = B) {
1064
1011
  let r;
1065
1012
  const n = /* @__PURE__ */ new Set();
1066
1013
  function i(a) {
1067
- if ($t(e, a) && (e = a, r)) {
1068
- const h = !Q.length;
1014
+ if (It(e, a) && (e = a, r)) {
1015
+ const h = !Z.length;
1069
1016
  for (const u of n)
1070
- u[1](), Q.push(u, e);
1017
+ u[1](), Z.push(u, e);
1071
1018
  if (h) {
1072
- for (let u = 0; u < Q.length; u += 2)
1073
- Q[u][0](Q[u + 1]);
1074
- Q.length = 0;
1019
+ for (let u = 0; u < Z.length; u += 2)
1020
+ Z[u][0](Z[u + 1]);
1021
+ Z.length = 0;
1075
1022
  }
1076
1023
  }
1077
1024
  }
@@ -1086,12 +1033,12 @@ function Ae(e, t = B) {
1086
1033
  }
1087
1034
  return { set: i, update: s, subscribe: o };
1088
1035
  }
1089
- function oe(e, t, r) {
1036
+ function se(e, t, r) {
1090
1037
  const n = !Array.isArray(e), i = n ? [e] : e;
1091
1038
  if (!i.every(Boolean))
1092
1039
  throw new Error("derived() expects stores as input, got a falsy value");
1093
1040
  const s = t.length < 2;
1094
- return Hn(r, (o, a) => {
1041
+ return cn(r, (o, a) => {
1095
1042
  let h = !1;
1096
1043
  const u = [];
1097
1044
  let l = 0, m = B;
@@ -1100,9 +1047,9 @@ function oe(e, t, r) {
1100
1047
  return;
1101
1048
  m();
1102
1049
  const b = t(n ? u[0] : u, o, a);
1103
- s ? o(b) : m = we(b) ? b : B;
1050
+ s ? o(b) : m = Te(b) ? b : B;
1104
1051
  }, d = i.map(
1105
- (b, y) => jt(
1052
+ (b, y) => Ct(
1106
1053
  b,
1107
1054
  (w) => {
1108
1055
  u[y] = w, l &= ~(1 << y), h && c();
@@ -1113,134 +1060,136 @@ function oe(e, t, r) {
1113
1060
  )
1114
1061
  );
1115
1062
  return h = !0, c(), function() {
1116
- ie(d), m(), h = !1;
1063
+ ne(d), m(), h = !1;
1117
1064
  };
1118
1065
  });
1119
1066
  }
1120
- function An(e) {
1121
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1067
+ function fn(e) {
1068
+ return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1122
1069
  }
1123
- var Bn = function(t) {
1124
- return Pn(t) && !Nn(t);
1070
+ var mn = function(t) {
1071
+ return dn(t) && !bn(t);
1125
1072
  };
1126
- function Pn(e) {
1073
+ function dn(e) {
1127
1074
  return !!e && typeof e == "object";
1128
1075
  }
1129
- function Nn(e) {
1076
+ function bn(e) {
1130
1077
  var t = Object.prototype.toString.call(e);
1131
- return t === "[object RegExp]" || t === "[object Date]" || Cn(e);
1078
+ return t === "[object RegExp]" || t === "[object Date]" || yn(e);
1132
1079
  }
1133
- var On = typeof Symbol == "function" && Symbol.for, Ln = On ? Symbol.for("react.element") : 60103;
1134
- function Cn(e) {
1135
- return e.$$typeof === Ln;
1080
+ var pn = typeof Symbol == "function" && Symbol.for, gn = pn ? Symbol.for("react.element") : 60103;
1081
+ function yn(e) {
1082
+ return e.$$typeof === gn;
1136
1083
  }
1137
- function In(e) {
1084
+ function vn(e) {
1138
1085
  return Array.isArray(e) ? [] : {};
1139
1086
  }
1140
- function ce(e, t) {
1141
- return t.clone !== !1 && t.isMergeableObject(e) ? ee(In(e), e, t) : e;
1087
+ function le(e, t) {
1088
+ return t.clone !== !1 && t.isMergeableObject(e) ? K(vn(e), e, t) : e;
1142
1089
  }
1143
- function Mn(e, t, r) {
1090
+ function _n(e, t, r) {
1144
1091
  return e.concat(t).map(function(n) {
1145
- return ce(n, r);
1092
+ return le(n, r);
1146
1093
  });
1147
1094
  }
1148
- function Rn(e, t) {
1095
+ function En(e, t) {
1149
1096
  if (!t.customMerge)
1150
- return ee;
1097
+ return K;
1151
1098
  var r = t.customMerge(e);
1152
- return typeof r == "function" ? r : ee;
1099
+ return typeof r == "function" ? r : K;
1153
1100
  }
1154
- function Gn(e) {
1101
+ function xn(e) {
1155
1102
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1156
1103
  return Object.propertyIsEnumerable.call(e, t);
1157
1104
  }) : [];
1158
1105
  }
1159
- function wt(e) {
1160
- return Object.keys(e).concat(Gn(e));
1106
+ function gt(e) {
1107
+ return Object.keys(e).concat(xn(e));
1161
1108
  }
1162
- function rr(e, t) {
1109
+ function zt(e, t) {
1163
1110
  try {
1164
1111
  return t in e;
1165
- } catch (r) {
1112
+ } catch {
1166
1113
  return !1;
1167
1114
  }
1168
1115
  }
1169
- function Un(e, t) {
1170
- return rr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1116
+ function Sn(e, t) {
1117
+ return zt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1171
1118
  }
1172
- function Dn(e, t, r) {
1119
+ function Tn(e, t, r) {
1173
1120
  var n = {};
1174
- return r.isMergeableObject(e) && wt(e).forEach(function(i) {
1175
- n[i] = ce(e[i], r);
1176
- }), wt(t).forEach(function(i) {
1177
- Un(e, i) || (rr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Rn(i, r)(e[i], t[i], r) : n[i] = ce(t[i], r));
1121
+ return r.isMergeableObject(e) && gt(e).forEach(function(i) {
1122
+ n[i] = le(e[i], r);
1123
+ }), gt(t).forEach(function(i) {
1124
+ Sn(e, i) || (zt(e, i) && r.isMergeableObject(t[i]) ? n[i] = En(i, r)(e[i], t[i], r) : n[i] = le(t[i], r));
1178
1125
  }), n;
1179
1126
  }
1180
- function ee(e, t, r) {
1181
- r = r || {}, r.arrayMerge = r.arrayMerge || Mn, r.isMergeableObject = r.isMergeableObject || Bn, r.cloneUnlessOtherwiseSpecified = ce;
1127
+ function K(e, t, r) {
1128
+ r = r || {}, r.arrayMerge = r.arrayMerge || _n, r.isMergeableObject = r.isMergeableObject || mn, r.cloneUnlessOtherwiseSpecified = le;
1182
1129
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
1183
- return s ? n ? r.arrayMerge(e, t, r) : Dn(e, t, r) : ce(t, r);
1130
+ return s ? n ? r.arrayMerge(e, t, r) : Tn(e, t, r) : le(t, r);
1184
1131
  }
1185
- ee.all = function(t, r) {
1132
+ K.all = function(t, r) {
1186
1133
  if (!Array.isArray(t))
1187
1134
  throw new Error("first argument should be an array");
1188
1135
  return t.reduce(function(n, i) {
1189
- return ee(n, i, r);
1136
+ return K(n, i, r);
1190
1137
  }, {});
1191
1138
  };
1192
- var Fn = ee, $n = Fn;
1193
- const jn = /* @__PURE__ */ An($n);
1194
- function Ge(e, t) {
1195
- var r = t && t.cache ? t.cache : Zn, n = t && t.serializer ? t.serializer : zn, i = t && t.strategy ? t.strategy : Vn;
1139
+ var wn = K, Hn = wn;
1140
+ const An = /* @__PURE__ */ fn(Hn);
1141
+ function Ce(e, t) {
1142
+ var r = t && t.cache ? t.cache : Cn, n = t && t.serializer ? t.serializer : Ln, i = t && t.strategy ? t.strategy : Pn;
1196
1143
  return i(e, {
1197
1144
  cache: r,
1198
1145
  serializer: n
1199
1146
  });
1200
1147
  }
1201
- function kn(e) {
1148
+ function Bn(e) {
1202
1149
  return e == null || typeof e == "number" || typeof e == "boolean";
1203
1150
  }
1204
- function nr(e, t, r, n) {
1205
- var i = kn(n) ? n : r(n), s = t.get(i);
1206
- return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
1151
+ function Zt(e, t, r, n) {
1152
+ var i = Bn(n) ? n : r(n), s = t.get(i);
1153
+ return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
1207
1154
  }
1208
- function ir(e, t, r) {
1155
+ function Qt(e, t, r) {
1209
1156
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
1210
- return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
1157
+ return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
1211
1158
  }
1212
- function it(e, t, r, n, i) {
1159
+ function tt(e, t, r, n, i) {
1213
1160
  return r.bind(t, e, n, i);
1214
1161
  }
1215
- function Vn(e, t) {
1216
- var r = e.length === 1 ? nr : ir;
1217
- return it(e, this, r, t.cache.create(), t.serializer);
1162
+ function Pn(e, t) {
1163
+ var r = e.length === 1 ? Zt : Qt;
1164
+ return tt(e, this, r, t.cache.create(), t.serializer);
1218
1165
  }
1219
- function Xn(e, t) {
1220
- return it(e, this, ir, t.cache.create(), t.serializer);
1166
+ function Nn(e, t) {
1167
+ return tt(e, this, Qt, t.cache.create(), t.serializer);
1221
1168
  }
1222
- function Wn(e, t) {
1223
- return it(e, this, nr, t.cache.create(), t.serializer);
1169
+ function On(e, t) {
1170
+ return tt(e, this, Zt, t.cache.create(), t.serializer);
1224
1171
  }
1225
- var zn = function() {
1172
+ var Ln = function() {
1226
1173
  return JSON.stringify(arguments);
1227
- };
1228
- function st() {
1229
- this.cache = /* @__PURE__ */ Object.create(null);
1230
- }
1231
- st.prototype.get = function(e) {
1232
- return this.cache[e];
1233
- };
1234
- st.prototype.set = function(e, t) {
1235
- this.cache[e] = t;
1236
- };
1237
- var Zn = {
1174
+ }, In = (
1175
+ /** @class */
1176
+ function() {
1177
+ function e() {
1178
+ this.cache = /* @__PURE__ */ Object.create(null);
1179
+ }
1180
+ return e.prototype.get = function(t) {
1181
+ return this.cache[t];
1182
+ }, e.prototype.set = function(t, r) {
1183
+ this.cache[t] = r;
1184
+ }, e;
1185
+ }()
1186
+ ), Cn = {
1238
1187
  create: function() {
1239
- return new st();
1188
+ return new In();
1240
1189
  }
1241
- }, Ue = {
1242
- variadic: Xn,
1243
- monadic: Wn
1190
+ }, Me = {
1191
+ variadic: Nn,
1192
+ monadic: On
1244
1193
  }, p;
1245
1194
  (function(e) {
1246
1195
  e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
@@ -1249,47 +1198,47 @@ var x;
1249
1198
  (function(e) {
1250
1199
  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";
1251
1200
  })(x || (x = {}));
1252
- var te;
1201
+ var ee;
1253
1202
  (function(e) {
1254
1203
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1255
- })(te || (te = {}));
1256
- function Ht(e) {
1204
+ })(ee || (ee = {}));
1205
+ function yt(e) {
1257
1206
  return e.type === x.literal;
1258
1207
  }
1259
- function Qn(e) {
1208
+ function Mn(e) {
1260
1209
  return e.type === x.argument;
1261
1210
  }
1262
- function sr(e) {
1211
+ function Yt(e) {
1263
1212
  return e.type === x.number;
1264
1213
  }
1265
- function or(e) {
1214
+ function qt(e) {
1266
1215
  return e.type === x.date;
1267
1216
  }
1268
- function ar(e) {
1217
+ function Jt(e) {
1269
1218
  return e.type === x.time;
1270
1219
  }
1271
- function ur(e) {
1220
+ function Kt(e) {
1272
1221
  return e.type === x.select;
1273
1222
  }
1274
- function hr(e) {
1223
+ function er(e) {
1275
1224
  return e.type === x.plural;
1276
1225
  }
1277
- function Yn(e) {
1226
+ function Rn(e) {
1278
1227
  return e.type === x.pound;
1279
1228
  }
1280
- function lr(e) {
1229
+ function tr(e) {
1281
1230
  return e.type === x.tag;
1282
1231
  }
1283
- function cr(e) {
1284
- return !!(e && typeof e == "object" && e.type === te.number);
1232
+ function rr(e) {
1233
+ return !!(e && typeof e == "object" && e.type === ee.number);
1285
1234
  }
1286
- function Ye(e) {
1287
- return !!(e && typeof e == "object" && e.type === te.dateTime);
1235
+ function ze(e) {
1236
+ return !!(e && typeof e == "object" && e.type === ee.dateTime);
1288
1237
  }
1289
- 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;
1290
- function Jn(e) {
1238
+ var nr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Gn = /(?:[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;
1239
+ function Un(e) {
1291
1240
  var t = {};
1292
- return e.replace(qn, function(r) {
1241
+ return e.replace(Gn, function(r) {
1293
1242
  var n = r.length;
1294
1243
  switch (r[0]) {
1295
1244
  case "G":
@@ -1378,11 +1327,11 @@ function Jn(e) {
1378
1327
  return "";
1379
1328
  }), t;
1380
1329
  }
1381
- var Kn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1382
- function ei(e) {
1330
+ var Dn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1331
+ function Fn(e) {
1383
1332
  if (e.length === 0)
1384
1333
  throw new Error("Number skeleton cannot be empty");
1385
- for (var t = e.split(Kn).filter(function(c) {
1334
+ for (var t = e.split(Dn).filter(function(c) {
1386
1335
  return c.length > 0;
1387
1336
  }), r = [], n = 0, i = t; n < i.length; n++) {
1388
1337
  var s = i[n], o = s.split("/");
@@ -1397,17 +1346,17 @@ function ei(e) {
1397
1346
  }
1398
1347
  return r;
1399
1348
  }
1400
- function ti(e) {
1349
+ function $n(e) {
1401
1350
  return e.replace(/^(.*?)-/, "");
1402
1351
  }
1403
- var At = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, mr = /^(@+)?(\+|#+)?[rs]?$/g, ri = /(\*)(0+)|(#+)(0+)|(0+)/g, dr = /^(0+)$/;
1404
- function Bt(e) {
1352
+ var vt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, ir = /^(@+)?(\+|#+)?[rs]?$/g, jn = /(\*)(0+)|(#+)(0+)|(0+)/g, sr = /^(0+)$/;
1353
+ function _t(e) {
1405
1354
  var t = {};
1406
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(mr, function(r, n, i) {
1355
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(ir, function(r, n, i) {
1407
1356
  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)), "";
1408
1357
  }), t;
1409
1358
  }
1410
- function br(e) {
1359
+ function or(e) {
1411
1360
  switch (e) {
1412
1361
  case "sign-auto":
1413
1362
  return {
@@ -1447,7 +1396,7 @@ function br(e) {
1447
1396
  };
1448
1397
  }
1449
1398
  }
1450
- function ni(e) {
1399
+ function kn(e) {
1451
1400
  var t;
1452
1401
  if (e[0] === "E" && e[1] === "E" ? (t = {
1453
1402
  notation: "engineering"
@@ -1455,17 +1404,17 @@ function ni(e) {
1455
1404
  notation: "scientific"
1456
1405
  }, e = e.slice(1)), t) {
1457
1406
  var r = e.slice(0, 2);
1458
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !dr.test(e))
1407
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !sr.test(e))
1459
1408
  throw new Error("Malformed concise eng/scientific notation");
1460
1409
  t.minimumIntegerDigits = e.length;
1461
1410
  }
1462
1411
  return t;
1463
1412
  }
1464
- function Pt(e) {
1465
- var t = {}, r = br(e);
1413
+ function Et(e) {
1414
+ var t = {}, r = or(e);
1466
1415
  return r || t;
1467
1416
  }
1468
- function ii(e) {
1417
+ function Vn(e) {
1469
1418
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1470
1419
  var i = n[r];
1471
1420
  switch (i.stem) {
@@ -1489,7 +1438,7 @@ function ii(e) {
1489
1438
  continue;
1490
1439
  case "measure-unit":
1491
1440
  case "unit":
1492
- t.style = "unit", t.unit = ti(i.options[0]);
1441
+ t.style = "unit", t.unit = $n(i.options[0]);
1493
1442
  continue;
1494
1443
  case "compact-short":
1495
1444
  case "K":
@@ -1501,12 +1450,12 @@ function ii(e) {
1501
1450
  continue;
1502
1451
  case "scientific":
1503
1452
  t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1504
- return v(v({}, h), Pt(u));
1453
+ return v(v({}, h), Et(u));
1505
1454
  }, {}));
1506
1455
  continue;
1507
1456
  case "engineering":
1508
1457
  t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1509
- return v(v({}, h), Pt(u));
1458
+ return v(v({}, h), Et(u));
1510
1459
  }, {}));
1511
1460
  continue;
1512
1461
  case "notation-simple":
@@ -1551,7 +1500,7 @@ function ii(e) {
1551
1500
  case "integer-width":
1552
1501
  if (i.options.length > 1)
1553
1502
  throw new RangeError("integer-width stems only accept a single optional option");
1554
- i.options[0].replace(ri, function(h, u, l, m, c, d) {
1503
+ i.options[0].replace(jn, function(h, u, l, m, c, d) {
1555
1504
  if (u)
1556
1505
  t.minimumIntegerDigits = l.length;
1557
1506
  else {
@@ -1564,32 +1513,32 @@ function ii(e) {
1564
1513
  });
1565
1514
  continue;
1566
1515
  }
1567
- if (dr.test(i.stem)) {
1516
+ if (sr.test(i.stem)) {
1568
1517
  t.minimumIntegerDigits = i.stem.length;
1569
1518
  continue;
1570
1519
  }
1571
- if (At.test(i.stem)) {
1520
+ if (vt.test(i.stem)) {
1572
1521
  if (i.options.length > 1)
1573
1522
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1574
- i.stem.replace(At, function(h, u, l, m, c, d) {
1523
+ i.stem.replace(vt, function(h, u, l, m, c, d) {
1575
1524
  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), "";
1576
1525
  });
1577
1526
  var s = i.options[0];
1578
- s === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = v(v({}, t), Bt(s)));
1527
+ s === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = v(v({}, t), _t(s)));
1579
1528
  continue;
1580
1529
  }
1581
- if (mr.test(i.stem)) {
1582
- t = v(v({}, t), Bt(i.stem));
1530
+ if (ir.test(i.stem)) {
1531
+ t = v(v({}, t), _t(i.stem));
1583
1532
  continue;
1584
1533
  }
1585
- var o = br(i.stem);
1534
+ var o = or(i.stem);
1586
1535
  o && (t = v(v({}, t), o));
1587
- var a = ni(i.stem);
1536
+ var a = kn(i.stem);
1588
1537
  a && (t = v(v({}, t), a));
1589
1538
  }
1590
1539
  return t;
1591
1540
  }
1592
- var ye = {
1541
+ var ge = {
1593
1542
  "001": [
1594
1543
  "H",
1595
1544
  "h"
@@ -3004,13 +2953,13 @@ var ye = {
3004
2953
  "h"
3005
2954
  ]
3006
2955
  };
3007
- function si(e, t) {
2956
+ function Xn(e, t) {
3008
2957
  for (var r = "", n = 0; n < e.length; n++) {
3009
2958
  var i = e.charAt(n);
3010
2959
  if (i === "j") {
3011
2960
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3012
2961
  s++, n++;
3013
- var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", u = oi(t);
2962
+ var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", u = Wn(t);
3014
2963
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
3015
2964
  r += h;
3016
2965
  for (; o-- > 0; )
@@ -3019,7 +2968,7 @@ function si(e, t) {
3019
2968
  }
3020
2969
  return r;
3021
2970
  }
3022
- function oi(e) {
2971
+ function Wn(e) {
3023
2972
  var t = e.hourCycle;
3024
2973
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3025
2974
  e.hourCycles && // @ts-ignore
@@ -3038,23 +2987,23 @@ function oi(e) {
3038
2987
  }
3039
2988
  var r = e.language, n;
3040
2989
  r !== "root" && (n = e.maximize().region);
3041
- var i = ye[n || ""] || ye[r || ""] || ye["".concat(r, "-001")] || ye["001"];
2990
+ var i = ge[n || ""] || ge[r || ""] || ge["".concat(r, "-001")] || ge["001"];
3042
2991
  return i[0];
3043
2992
  }
3044
- var De, ai = new RegExp("^".concat(fr.source, "*")), ui = new RegExp("".concat(fr.source, "*$"));
2993
+ var Re, zn = new RegExp("^".concat(nr.source, "*")), Zn = new RegExp("".concat(nr.source, "*$"));
3045
2994
  function g(e, t) {
3046
2995
  return { start: e, end: t };
3047
2996
  }
3048
- var hi = !!String.prototype.startsWith && "_a".startsWith("a", 1), li = !!String.fromCodePoint, ci = !!Object.fromEntries, fi = !!String.prototype.codePointAt, mi = !!String.prototype.trimStart, di = !!String.prototype.trimEnd, bi = !!Number.isSafeInteger, pi = bi ? Number.isSafeInteger : function(e) {
2997
+ var Qn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Yn = !!String.fromCodePoint, qn = !!Object.fromEntries, Jn = !!String.prototype.codePointAt, Kn = !!String.prototype.trimStart, ei = !!String.prototype.trimEnd, ti = !!Number.isSafeInteger, ri = ti ? Number.isSafeInteger : function(e) {
3049
2998
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3050
- }, qe = !0;
2999
+ }, Ze = !0;
3051
3000
  try {
3052
- var gi = gr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3053
- qe = ((De = gi.exec("a")) === null || De === void 0 ? void 0 : De[0]) === "a";
3054
- } catch (e) {
3055
- qe = !1;
3001
+ var ni = ur("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3002
+ Ze = ((Re = ni.exec("a")) === null || Re === void 0 ? void 0 : Re[0]) === "a";
3003
+ } catch {
3004
+ Ze = !1;
3056
3005
  }
3057
- var Nt = hi ? (
3006
+ var xt = Qn ? (
3058
3007
  // Native
3059
3008
  function(t, r, n) {
3060
3009
  return t.startsWith(r, n);
@@ -3064,7 +3013,7 @@ var Nt = hi ? (
3064
3013
  function(t, r, n) {
3065
3014
  return t.slice(n, n + r.length) === r;
3066
3015
  }
3067
- ), Je = li ? String.fromCodePoint : (
3016
+ ), Qe = Yn ? String.fromCodePoint : (
3068
3017
  // IE11
3069
3018
  function() {
3070
3019
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3076,9 +3025,9 @@ var Nt = hi ? (
3076
3025
  }
3077
3026
  return n;
3078
3027
  }
3079
- ), Ot = (
3028
+ ), St = (
3080
3029
  // native
3081
- ci ? Object.fromEntries : (
3030
+ qn ? Object.fromEntries : (
3082
3031
  // Ponyfill
3083
3032
  function(t) {
3084
3033
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3088,7 +3037,7 @@ var Nt = hi ? (
3088
3037
  return r;
3089
3038
  }
3090
3039
  )
3091
- ), pr = fi ? (
3040
+ ), ar = Jn ? (
3092
3041
  // Native
3093
3042
  function(t, r) {
3094
3043
  return t.codePointAt(r);
@@ -3102,7 +3051,7 @@ var Nt = hi ? (
3102
3051
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
3103
3052
  }
3104
3053
  }
3105
- ), yi = mi ? (
3054
+ ), ii = Kn ? (
3106
3055
  // Native
3107
3056
  function(t) {
3108
3057
  return t.trimStart();
@@ -3110,9 +3059,9 @@ var Nt = hi ? (
3110
3059
  ) : (
3111
3060
  // Ponyfill
3112
3061
  function(t) {
3113
- return t.replace(ai, "");
3062
+ return t.replace(zn, "");
3114
3063
  }
3115
- ), vi = di ? (
3064
+ ), si = ei ? (
3116
3065
  // Native
3117
3066
  function(t) {
3118
3067
  return t.trimEnd();
@@ -3120,32 +3069,32 @@ var Nt = hi ? (
3120
3069
  ) : (
3121
3070
  // Ponyfill
3122
3071
  function(t) {
3123
- return t.replace(ui, "");
3072
+ return t.replace(Zn, "");
3124
3073
  }
3125
3074
  );
3126
- function gr(e, t) {
3075
+ function ur(e, t) {
3127
3076
  return new RegExp(e, t);
3128
3077
  }
3129
- var Ke;
3130
- if (qe) {
3131
- var Lt = gr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3132
- Ke = function(t, r) {
3078
+ var Ye;
3079
+ if (Ze) {
3080
+ var Tt = ur("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3081
+ Ye = function(t, r) {
3133
3082
  var n;
3134
- Lt.lastIndex = r;
3135
- var i = Lt.exec(t);
3083
+ Tt.lastIndex = r;
3084
+ var i = Tt.exec(t);
3136
3085
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3137
3086
  };
3138
3087
  } else
3139
- Ke = function(t, r) {
3088
+ Ye = function(t, r) {
3140
3089
  for (var n = []; ; ) {
3141
- var i = pr(t, r);
3142
- if (i === void 0 || yr(i) || Si(i))
3090
+ var i = ar(t, r);
3091
+ if (i === void 0 || hr(i) || hi(i))
3143
3092
  break;
3144
3093
  n.push(i), r += i >= 65536 ? 2 : 1;
3145
3094
  }
3146
- return Je.apply(void 0, n);
3095
+ return Qe.apply(void 0, n);
3147
3096
  };
3148
- var Ei = (
3097
+ var oi = (
3149
3098
  /** @class */
3150
3099
  function() {
3151
3100
  function e(t, r) {
@@ -3176,7 +3125,7 @@ var Ei = (
3176
3125
  if (n)
3177
3126
  break;
3178
3127
  return this.error(p.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
3179
- } else if (s === 60 && !this.ignoreTag && et(this.peek() || 0)) {
3128
+ } else if (s === 60 && !this.ignoreTag && qe(this.peek() || 0)) {
3180
3129
  var o = this.parseTag(t, r);
3181
3130
  if (o.err)
3182
3131
  return o;
@@ -3209,7 +3158,7 @@ var Ei = (
3209
3158
  return s;
3210
3159
  var o = s.val, a = this.clonePosition();
3211
3160
  if (this.bumpIf("</")) {
3212
- if (this.isEOF() || !et(this.char()))
3161
+ if (this.isEOF() || !qe(this.char()))
3213
3162
  return this.error(p.INVALID_TAG, g(a, this.clonePosition()));
3214
3163
  var h = this.clonePosition(), u = this.parseTagName();
3215
3164
  return i !== u ? this.error(p.UNMATCHED_CLOSING_TAG, g(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
@@ -3227,7 +3176,7 @@ var Ei = (
3227
3176
  return this.error(p.INVALID_TAG, g(n, this.clonePosition()));
3228
3177
  }, e.prototype.parseTagName = function() {
3229
3178
  var t = this.offset();
3230
- for (this.bump(); !this.isEOF() && xi(this.char()); )
3179
+ for (this.bump(); !this.isEOF() && ui(this.char()); )
3231
3180
  this.bump();
3232
3181
  return this.message.slice(t, this.offset());
3233
3182
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3256,7 +3205,7 @@ var Ei = (
3256
3205
  };
3257
3206
  }, e.prototype.tryParseLeftAngleBracket = function() {
3258
3207
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3259
- !_i(this.peek() || 0)) ? (this.bump(), "<") : null;
3208
+ !ai(this.peek() || 0)) ? (this.bump(), "<") : null;
3260
3209
  }, e.prototype.tryParseQuote = function(t) {
3261
3210
  if (this.isEOF() || this.char() !== 39)
3262
3211
  return null;
@@ -3290,12 +3239,12 @@ var Ei = (
3290
3239
  r.push(n);
3291
3240
  this.bump();
3292
3241
  }
3293
- return Je.apply(void 0, r);
3242
+ return Qe.apply(void 0, r);
3294
3243
  }, e.prototype.tryParseUnquoted = function(t, r) {
3295
3244
  if (this.isEOF())
3296
3245
  return null;
3297
3246
  var n = this.char();
3298
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Je(n));
3247
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Qe(n));
3299
3248
  }, e.prototype.parseArgument = function(t, r) {
3300
3249
  var n = this.clonePosition();
3301
3250
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3324,7 +3273,7 @@ var Ei = (
3324
3273
  return this.error(p.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3325
3274
  }
3326
3275
  }, e.prototype.parseIdentifierIfPossible = function() {
3327
- var t = this.clonePosition(), r = this.offset(), n = Ke(this.message, r), i = r + n.length;
3276
+ var t = this.clonePosition(), r = this.offset(), n = Ye(this.message, r), i = r + n.length;
3328
3277
  this.bumpTo(i);
3329
3278
  var s = this.clonePosition(), o = g(t, s);
3330
3279
  return { value: n, location: o };
@@ -3343,7 +3292,7 @@ var Ei = (
3343
3292
  var l = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
3344
3293
  if (m.err)
3345
3294
  return m;
3346
- var c = vi(m.val);
3295
+ var c = si(m.val);
3347
3296
  if (c.length === 0)
3348
3297
  return this.error(p.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
3349
3298
  var d = g(l, this.clonePosition());
@@ -3353,8 +3302,8 @@ var Ei = (
3353
3302
  if (b.err)
3354
3303
  return b;
3355
3304
  var y = g(i, this.clonePosition());
3356
- if (u && Nt(u == null ? void 0 : u.style, "::", 0)) {
3357
- var w = yi(u.style.slice(2));
3305
+ if (u && xt(u?.style, "::", 0)) {
3306
+ var w = ii(u.style.slice(2));
3358
3307
  if (a === "number") {
3359
3308
  var m = this.parseNumberSkeletonFromString(w, u.styleLocation);
3360
3309
  return m.err ? m : {
@@ -3364,13 +3313,13 @@ var Ei = (
3364
3313
  } else {
3365
3314
  if (w.length === 0)
3366
3315
  return this.error(p.EXPECT_DATE_TIME_SKELETON, y);
3367
- var I = w;
3368
- this.locale && (I = si(w, this.locale));
3316
+ var C = w;
3317
+ this.locale && (C = Xn(w, this.locale));
3369
3318
  var c = {
3370
- type: te.dateTime,
3371
- pattern: I,
3319
+ type: ee.dateTime,
3320
+ pattern: C,
3372
3321
  location: u.styleLocation,
3373
- parsedOptions: this.shouldParseSkeletons ? Jn(I) : {}
3322
+ parsedOptions: this.shouldParseSkeletons ? Un(C) : {}
3374
3323
  }, P = a === "date" ? x.date : x.time;
3375
3324
  return {
3376
3325
  val: { type: P, value: n, location: y, style: c },
@@ -3383,7 +3332,7 @@ var Ei = (
3383
3332
  type: a === "number" ? x.number : a === "date" ? x.date : x.time,
3384
3333
  value: n,
3385
3334
  location: y,
3386
- style: (s = u == null ? void 0 : u.style) !== null && s !== void 0 ? s : null
3335
+ style: (s = u?.style) !== null && s !== void 0 ? s : null
3387
3336
  },
3388
3337
  err: null
3389
3338
  };
@@ -3405,29 +3354,29 @@ var Ei = (
3405
3354
  return m;
3406
3355
  this.bumpSpace(), N = this.parseIdentifierIfPossible(), O = m.val;
3407
3356
  }
3408
- var G = this.tryParsePluralOrSelectOptions(t, a, r, N);
3409
- if (G.err)
3410
- return G;
3357
+ var R = this.tryParsePluralOrSelectOptions(t, a, r, N);
3358
+ if (R.err)
3359
+ return R;
3411
3360
  var b = this.tryParseArgumentClose(i);
3412
3361
  if (b.err)
3413
3362
  return b;
3414
- var _ = g(i, this.clonePosition());
3363
+ var E = g(i, this.clonePosition());
3415
3364
  return a === "select" ? {
3416
3365
  val: {
3417
3366
  type: x.select,
3418
3367
  value: n,
3419
- options: Ot(G.val),
3420
- location: _
3368
+ options: St(R.val),
3369
+ location: E
3421
3370
  },
3422
3371
  err: null
3423
3372
  } : {
3424
3373
  val: {
3425
3374
  type: x.plural,
3426
3375
  value: n,
3427
- options: Ot(G.val),
3376
+ options: St(R.val),
3428
3377
  offset: O,
3429
3378
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3430
- location: _
3379
+ location: E
3431
3380
  },
3432
3381
  err: null
3433
3382
  };
@@ -3475,16 +3424,16 @@ var Ei = (
3475
3424
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3476
3425
  var n = [];
3477
3426
  try {
3478
- n = ei(t);
3479
- } catch (i) {
3427
+ n = Fn(t);
3428
+ } catch {
3480
3429
  return this.error(p.INVALID_NUMBER_SKELETON, r);
3481
3430
  }
3482
3431
  return {
3483
3432
  val: {
3484
- type: te.number,
3433
+ type: ee.number,
3485
3434
  tokens: n,
3486
3435
  location: r,
3487
- parsedOptions: this.shouldParseSkeletons ? ii(n) : {}
3436
+ parsedOptions: this.shouldParseSkeletons ? Vn(n) : {}
3488
3437
  },
3489
3438
  err: null
3490
3439
  };
@@ -3532,7 +3481,7 @@ var Ei = (
3532
3481
  break;
3533
3482
  }
3534
3483
  var h = g(i, this.clonePosition());
3535
- return s ? (o *= n, pi(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
3484
+ return s ? (o *= n, ri(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
3536
3485
  }, e.prototype.offset = function() {
3537
3486
  return this.position.offset;
3538
3487
  }, e.prototype.isEOF = function() {
@@ -3547,7 +3496,7 @@ var Ei = (
3547
3496
  var t = this.position.offset;
3548
3497
  if (t >= this.message.length)
3549
3498
  throw Error("out of bound");
3550
- var r = pr(this.message, t);
3499
+ var r = ar(this.message, t);
3551
3500
  if (r === void 0)
3552
3501
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3553
3502
  return r;
@@ -3566,7 +3515,7 @@ var Ei = (
3566
3515
  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);
3567
3516
  }
3568
3517
  }, e.prototype.bumpIf = function(t) {
3569
- if (Nt(this.message, t, this.offset())) {
3518
+ if (xt(this.message, t, this.offset())) {
3570
3519
  for (var r = 0; r < t.length; r++)
3571
3520
  this.bump();
3572
3521
  return !0;
@@ -3588,56 +3537,56 @@ var Ei = (
3588
3537
  break;
3589
3538
  }
3590
3539
  }, e.prototype.bumpSpace = function() {
3591
- for (; !this.isEOF() && yr(this.char()); )
3540
+ for (; !this.isEOF() && hr(this.char()); )
3592
3541
  this.bump();
3593
3542
  }, e.prototype.peek = function() {
3594
3543
  if (this.isEOF())
3595
3544
  return null;
3596
3545
  var t = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
3597
- return n != null ? n : null;
3546
+ return n ?? null;
3598
3547
  }, e;
3599
3548
  }()
3600
3549
  );
3601
- function et(e) {
3550
+ function qe(e) {
3602
3551
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3603
3552
  }
3604
- function _i(e) {
3605
- return et(e) || e === 47;
3553
+ function ai(e) {
3554
+ return qe(e) || e === 47;
3606
3555
  }
3607
- function xi(e) {
3556
+ function ui(e) {
3608
3557
  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;
3609
3558
  }
3610
- function yr(e) {
3559
+ function hr(e) {
3611
3560
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3612
3561
  }
3613
- function Si(e) {
3562
+ function hi(e) {
3614
3563
  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;
3615
3564
  }
3616
- function tt(e) {
3565
+ function Je(e) {
3617
3566
  e.forEach(function(t) {
3618
- if (delete t.location, ur(t) || hr(t))
3567
+ if (delete t.location, Kt(t) || er(t))
3619
3568
  for (var r in t.options)
3620
- delete t.options[r].location, tt(t.options[r].value);
3621
- else sr(t) && cr(t.style) || (or(t) || ar(t)) && Ye(t.style) ? delete t.style.location : lr(t) && tt(t.children);
3569
+ delete t.options[r].location, Je(t.options[r].value);
3570
+ else Yt(t) && rr(t.style) || (qt(t) || Jt(t)) && ze(t.style) ? delete t.style.location : tr(t) && Je(t.children);
3622
3571
  });
3623
3572
  }
3624
- function Ti(e, t) {
3573
+ function li(e, t) {
3625
3574
  t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3626
- var r = new Ei(e, t).parse();
3575
+ var r = new oi(e, t).parse();
3627
3576
  if (r.err) {
3628
3577
  var n = SyntaxError(p[r.err.kind]);
3629
3578
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3630
3579
  }
3631
- return t != null && t.captureLocation || tt(r.val), r.val;
3580
+ return t?.captureLocation || Je(r.val), r.val;
3632
3581
  }
3633
- var re;
3582
+ var te;
3634
3583
  (function(e) {
3635
3584
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3636
- })(re || (re = {}));
3637
- var Be = (
3585
+ })(te || (te = {}));
3586
+ var Ae = (
3638
3587
  /** @class */
3639
3588
  function(e) {
3640
- D(t, e);
3589
+ U(t, e);
3641
3590
  function t(r, n, i) {
3642
3591
  var s = e.call(this, r) || this;
3643
3592
  return s.code = n, s.originalMessage = i, s;
@@ -3646,48 +3595,48 @@ var Be = (
3646
3595
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3647
3596
  }, t;
3648
3597
  }(Error)
3649
- ), Ct = (
3598
+ ), wt = (
3650
3599
  /** @class */
3651
3600
  function(e) {
3652
- D(t, e);
3601
+ U(t, e);
3653
3602
  function t(r, n, i, s) {
3654
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), re.INVALID_VALUE, s) || this;
3603
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), te.INVALID_VALUE, s) || this;
3655
3604
  }
3656
3605
  return t;
3657
- }(Be)
3658
- ), wi = (
3606
+ }(Ae)
3607
+ ), ci = (
3659
3608
  /** @class */
3660
3609
  function(e) {
3661
- D(t, e);
3610
+ U(t, e);
3662
3611
  function t(r, n, i) {
3663
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), re.INVALID_VALUE, i) || this;
3612
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), te.INVALID_VALUE, i) || this;
3664
3613
  }
3665
3614
  return t;
3666
- }(Be)
3667
- ), Hi = (
3615
+ }(Ae)
3616
+ ), fi = (
3668
3617
  /** @class */
3669
3618
  function(e) {
3670
- D(t, e);
3619
+ U(t, e);
3671
3620
  function t(r, n) {
3672
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), re.MISSING_VALUE, n) || this;
3621
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), te.MISSING_VALUE, n) || this;
3673
3622
  }
3674
3623
  return t;
3675
- }(Be)
3624
+ }(Ae)
3676
3625
  ), A;
3677
3626
  (function(e) {
3678
3627
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3679
3628
  })(A || (A = {}));
3680
- function Ai(e) {
3629
+ function mi(e) {
3681
3630
  return e.length < 2 ? e : e.reduce(function(t, r) {
3682
3631
  var n = t[t.length - 1];
3683
3632
  return !n || n.type !== A.literal || r.type !== A.literal ? t.push(r) : n.value += r.value, t;
3684
3633
  }, []);
3685
3634
  }
3686
- function Bi(e) {
3635
+ function di(e) {
3687
3636
  return typeof e == "function";
3688
3637
  }
3689
3638
  function _e(e, t, r, n, i, s, o) {
3690
- if (e.length === 1 && Ht(e[0]))
3639
+ if (e.length === 1 && yt(e[0]))
3691
3640
  return [
3692
3641
  {
3693
3642
  type: A.literal,
@@ -3696,14 +3645,14 @@ function _e(e, t, r, n, i, s, o) {
3696
3645
  ];
3697
3646
  for (var a = [], h = 0, u = e; h < u.length; h++) {
3698
3647
  var l = u[h];
3699
- if (Ht(l)) {
3648
+ if (yt(l)) {
3700
3649
  a.push({
3701
3650
  type: A.literal,
3702
3651
  value: l.value
3703
3652
  });
3704
3653
  continue;
3705
3654
  }
3706
- if (Yn(l)) {
3655
+ if (Rn(l)) {
3707
3656
  typeof s == "number" && a.push({
3708
3657
  type: A.literal,
3709
3658
  value: r.getNumberFormat(t).format(s)
@@ -3712,44 +3661,44 @@ function _e(e, t, r, n, i, s, o) {
3712
3661
  }
3713
3662
  var m = l.value;
3714
3663
  if (!(i && m in i))
3715
- throw new Hi(m, o);
3664
+ throw new fi(m, o);
3716
3665
  var c = i[m];
3717
- if (Qn(l)) {
3666
+ if (Mn(l)) {
3718
3667
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3719
3668
  type: typeof c == "string" ? A.literal : A.object,
3720
3669
  value: c
3721
3670
  });
3722
3671
  continue;
3723
3672
  }
3724
- if (or(l)) {
3725
- var d = typeof l.style == "string" ? n.date[l.style] : Ye(l.style) ? l.style.parsedOptions : void 0;
3673
+ if (qt(l)) {
3674
+ var d = typeof l.style == "string" ? n.date[l.style] : ze(l.style) ? l.style.parsedOptions : void 0;
3726
3675
  a.push({
3727
3676
  type: A.literal,
3728
3677
  value: r.getDateTimeFormat(t, d).format(c)
3729
3678
  });
3730
3679
  continue;
3731
3680
  }
3732
- if (ar(l)) {
3733
- var d = typeof l.style == "string" ? n.time[l.style] : Ye(l.style) ? l.style.parsedOptions : n.time.medium;
3681
+ if (Jt(l)) {
3682
+ var d = typeof l.style == "string" ? n.time[l.style] : ze(l.style) ? l.style.parsedOptions : n.time.medium;
3734
3683
  a.push({
3735
3684
  type: A.literal,
3736
3685
  value: r.getDateTimeFormat(t, d).format(c)
3737
3686
  });
3738
3687
  continue;
3739
3688
  }
3740
- if (sr(l)) {
3741
- var d = typeof l.style == "string" ? n.number[l.style] : cr(l.style) ? l.style.parsedOptions : void 0;
3689
+ if (Yt(l)) {
3690
+ var d = typeof l.style == "string" ? n.number[l.style] : rr(l.style) ? l.style.parsedOptions : void 0;
3742
3691
  d && d.scale && (c = c * (d.scale || 1)), a.push({
3743
3692
  type: A.literal,
3744
3693
  value: r.getNumberFormat(t, d).format(c)
3745
3694
  });
3746
3695
  continue;
3747
3696
  }
3748
- if (lr(l)) {
3697
+ if (tr(l)) {
3749
3698
  var b = l.children, y = l.value, w = i[y];
3750
- if (!Bi(w))
3751
- throw new wi(y, "function", o);
3752
- var I = _e(b, t, r, n, i, s), P = w(I.map(function(O) {
3699
+ if (!di(w))
3700
+ throw new ci(y, "function", o);
3701
+ var C = _e(b, t, r, n, i, s), P = w(C.map(function(O) {
3753
3702
  return O.value;
3754
3703
  }));
3755
3704
  Array.isArray(P) || (P = [P]), a.push.apply(a, P.map(function(O) {
@@ -3759,42 +3708,42 @@ function _e(e, t, r, n, i, s, o) {
3759
3708
  };
3760
3709
  }));
3761
3710
  }
3762
- if (ur(l)) {
3711
+ if (Kt(l)) {
3763
3712
  var T = l.options[c] || l.options.other;
3764
3713
  if (!T)
3765
- throw new Ct(l.value, c, Object.keys(l.options), o);
3714
+ throw new wt(l.value, c, Object.keys(l.options), o);
3766
3715
  a.push.apply(a, _e(T.value, t, r, n, i));
3767
3716
  continue;
3768
3717
  }
3769
- if (hr(l)) {
3718
+ if (er(l)) {
3770
3719
  var T = l.options["=".concat(c)];
3771
3720
  if (!T) {
3772
3721
  if (!Intl.PluralRules)
3773
- throw new Be(`Intl.PluralRules is not available in this environment.
3722
+ throw new Ae(`Intl.PluralRules is not available in this environment.
3774
3723
  Try polyfilling it using "@formatjs/intl-pluralrules"
3775
- `, re.MISSING_INTL_API, o);
3724
+ `, te.MISSING_INTL_API, o);
3776
3725
  var N = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3777
3726
  T = l.options[N] || l.options.other;
3778
3727
  }
3779
3728
  if (!T)
3780
- throw new Ct(l.value, c, Object.keys(l.options), o);
3729
+ throw new wt(l.value, c, Object.keys(l.options), o);
3781
3730
  a.push.apply(a, _e(T.value, t, r, n, i, c - (l.offset || 0)));
3782
3731
  continue;
3783
3732
  }
3784
3733
  }
3785
- return Ai(a);
3734
+ return mi(a);
3786
3735
  }
3787
- function Pi(e, t) {
3736
+ function bi(e, t) {
3788
3737
  return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3789
3738
  return r[n] = v(v({}, e[n]), t[n] || {}), r;
3790
3739
  }, {})) : e;
3791
3740
  }
3792
- function Ni(e, t) {
3741
+ function pi(e, t) {
3793
3742
  return t ? Object.keys(e).reduce(function(r, n) {
3794
- return r[n] = Pi(e[n], t[n]), r;
3743
+ return r[n] = bi(e[n], t[n]), r;
3795
3744
  }, v({}, e)) : e;
3796
3745
  }
3797
- function Fe(e) {
3746
+ function Ge(e) {
3798
3747
  return {
3799
3748
  create: function() {
3800
3749
  return {
@@ -3808,39 +3757,39 @@ function Fe(e) {
3808
3757
  }
3809
3758
  };
3810
3759
  }
3811
- function Oi(e) {
3760
+ function gi(e) {
3812
3761
  return e === void 0 && (e = {
3813
3762
  number: {},
3814
3763
  dateTime: {},
3815
3764
  pluralRules: {}
3816
3765
  }), {
3817
- getNumberFormat: Ge(function() {
3766
+ getNumberFormat: Ce(function() {
3818
3767
  for (var t, r = [], n = 0; n < arguments.length; n++)
3819
3768
  r[n] = arguments[n];
3820
- return new ((t = Intl.NumberFormat).bind.apply(t, J([void 0], r, !1)))();
3769
+ return new ((t = Intl.NumberFormat).bind.apply(t, q([void 0], r, !1)))();
3821
3770
  }, {
3822
- cache: Fe(e.number),
3823
- strategy: Ue.variadic
3771
+ cache: Ge(e.number),
3772
+ strategy: Me.variadic
3824
3773
  }),
3825
- getDateTimeFormat: Ge(function() {
3774
+ getDateTimeFormat: Ce(function() {
3826
3775
  for (var t, r = [], n = 0; n < arguments.length; n++)
3827
3776
  r[n] = arguments[n];
3828
- return new ((t = Intl.DateTimeFormat).bind.apply(t, J([void 0], r, !1)))();
3777
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, q([void 0], r, !1)))();
3829
3778
  }, {
3830
- cache: Fe(e.dateTime),
3831
- strategy: Ue.variadic
3779
+ cache: Ge(e.dateTime),
3780
+ strategy: Me.variadic
3832
3781
  }),
3833
- getPluralRules: Ge(function() {
3782
+ getPluralRules: Ce(function() {
3834
3783
  for (var t, r = [], n = 0; n < arguments.length; n++)
3835
3784
  r[n] = arguments[n];
3836
- return new ((t = Intl.PluralRules).bind.apply(t, J([void 0], r, !1)))();
3785
+ return new ((t = Intl.PluralRules).bind.apply(t, q([void 0], r, !1)))();
3837
3786
  }, {
3838
- cache: Fe(e.pluralRules),
3839
- strategy: Ue.variadic
3787
+ cache: Ge(e.pluralRules),
3788
+ strategy: Me.variadic
3840
3789
  })
3841
3790
  };
3842
3791
  }
3843
- var Li = (
3792
+ var yi = (
3844
3793
  /** @class */
3845
3794
  function() {
3846
3795
  function e(t, r, n, i) {
@@ -3872,13 +3821,13 @@ var Li = (
3872
3821
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3873
3822
  var o = i || {};
3874
3823
  o.formatters;
3875
- var a = cn(o, ["formatters"]);
3824
+ var a = Qr(o, ["formatters"]);
3876
3825
  this.ast = e.__parse(t, v(v({}, a), { locale: this.resolvedLocale }));
3877
3826
  } else
3878
3827
  this.ast = t;
3879
3828
  if (!Array.isArray(this.ast))
3880
3829
  throw new TypeError("A message must be provided as a String or AST.");
3881
- this.formats = Ni(e.formats, n), this.formatters = i && i.formatters || Oi(this.formatterCache);
3830
+ this.formats = pi(e.formats, n), this.formatters = i && i.formatters || gi(this.formatterCache);
3882
3831
  }
3883
3832
  return Object.defineProperty(e, "defaultLocale", {
3884
3833
  get: function() {
@@ -3887,11 +3836,11 @@ var Li = (
3887
3836
  enumerable: !1,
3888
3837
  configurable: !0
3889
3838
  }), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
3890
- if (typeof Intl.Locale != "undefined") {
3839
+ if (!(typeof Intl.Locale > "u")) {
3891
3840
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3892
3841
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3893
3842
  }
3894
- }, e.__parse = Ti, e.formats = {
3843
+ }, e.__parse = li, e.formats = {
3895
3844
  number: {
3896
3845
  integer: {
3897
3846
  maximumFractionDigits: 0
@@ -3952,7 +3901,7 @@ var Li = (
3952
3901
  }, e;
3953
3902
  }()
3954
3903
  );
3955
- function Ci(e, t) {
3904
+ function vi(e, t) {
3956
3905
  if (t == null)
3957
3906
  return;
3958
3907
  if (t in e)
@@ -3973,92 +3922,92 @@ function Ci(e, t) {
3973
3922
  n = void 0;
3974
3923
  return n;
3975
3924
  }
3976
- const $ = {}, Ii = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), vr = (e, t) => {
3925
+ const F = {}, _i = (e, t, r) => r && (t in F || (F[t] = {}), e in F[t] || (F[t][e] = r), r), lr = (e, t) => {
3977
3926
  if (t == null)
3978
3927
  return;
3979
- if (t in $ && e in $[t])
3980
- return $[t][e];
3981
- const r = Pe(t);
3928
+ if (t in F && e in F[t])
3929
+ return F[t][e];
3930
+ const r = Be(t);
3982
3931
  for (let n = 0; n < r.length; n++) {
3983
- const i = r[n], s = Ri(i, e);
3932
+ const i = r[n], s = xi(i, e);
3984
3933
  if (s)
3985
- return Ii(e, t, s);
3934
+ return _i(e, t, s);
3986
3935
  }
3987
3936
  };
3988
- let ot;
3989
- const de = Ae({});
3990
- function Mi(e) {
3991
- return ot[e] || null;
3937
+ let rt;
3938
+ const me = He({});
3939
+ function Ei(e) {
3940
+ return rt[e] || null;
3992
3941
  }
3993
- function Er(e) {
3994
- return e in ot;
3942
+ function cr(e) {
3943
+ return e in rt;
3995
3944
  }
3996
- function Ri(e, t) {
3997
- if (!Er(e))
3945
+ function xi(e, t) {
3946
+ if (!cr(e))
3998
3947
  return null;
3999
- const r = Mi(e);
4000
- return Ci(r, t);
3948
+ const r = Ei(e);
3949
+ return vi(r, t);
4001
3950
  }
4002
- function Gi(e) {
3951
+ function Si(e) {
4003
3952
  if (e == null)
4004
3953
  return;
4005
- const t = Pe(e);
3954
+ const t = Be(e);
4006
3955
  for (let r = 0; r < t.length; r++) {
4007
3956
  const n = t[r];
4008
- if (Er(n))
3957
+ if (cr(n))
4009
3958
  return n;
4010
3959
  }
4011
3960
  }
4012
- function _r(e, ...t) {
4013
- delete $[e], de.update((r) => (r[e] = jn.all([r[e] || {}, ...t]), r));
3961
+ function fr(e, ...t) {
3962
+ delete F[e], me.update((r) => (r[e] = An.all([r[e] || {}, ...t]), r));
4014
3963
  }
4015
- oe(
4016
- [de],
3964
+ se(
3965
+ [me],
4017
3966
  ([e]) => Object.keys(e)
4018
3967
  );
4019
- de.subscribe((e) => ot = e);
4020
- const xe = {};
4021
- function Ui(e, t) {
4022
- xe[e].delete(t), xe[e].size === 0 && delete xe[e];
3968
+ me.subscribe((e) => rt = e);
3969
+ const Ee = {};
3970
+ function Ti(e, t) {
3971
+ Ee[e].delete(t), Ee[e].size === 0 && delete Ee[e];
4023
3972
  }
4024
- function xr(e) {
4025
- return xe[e];
3973
+ function mr(e) {
3974
+ return Ee[e];
4026
3975
  }
4027
- function Di(e) {
4028
- return Pe(e).map((t) => {
4029
- const r = xr(t);
3976
+ function wi(e) {
3977
+ return Be(e).map((t) => {
3978
+ const r = mr(t);
4030
3979
  return [t, r ? [...r] : []];
4031
3980
  }).filter(([, t]) => t.length > 0);
4032
3981
  }
4033
- function rt(e) {
4034
- return e == null ? !1 : Pe(e).some(
3982
+ function Ke(e) {
3983
+ return e == null ? !1 : Be(e).some(
4035
3984
  (t) => {
4036
3985
  var r;
4037
- return (r = xr(t)) == null ? void 0 : r.size;
3986
+ return (r = mr(t)) == null ? void 0 : r.size;
4038
3987
  }
4039
3988
  );
4040
3989
  }
4041
- function Fi(e, t) {
3990
+ function Hi(e, t) {
4042
3991
  return Promise.all(
4043
- t.map((n) => (Ui(e, n), n().then((i) => i.default || i)))
4044
- ).then((n) => _r(e, ...n));
4045
- }
4046
- const ue = {};
4047
- function Sr(e) {
4048
- if (!rt(e))
4049
- return e in ue ? ue[e] : Promise.resolve();
4050
- const t = Di(e);
4051
- return ue[e] = Promise.all(
3992
+ t.map((n) => (Ti(e, n), n().then((i) => i.default || i)))
3993
+ ).then((n) => fr(e, ...n));
3994
+ }
3995
+ const ae = {};
3996
+ function dr(e) {
3997
+ if (!Ke(e))
3998
+ return e in ae ? ae[e] : Promise.resolve();
3999
+ const t = wi(e);
4000
+ return ae[e] = Promise.all(
4052
4001
  t.map(
4053
- ([r, n]) => Fi(r, n)
4002
+ ([r, n]) => Hi(r, n)
4054
4003
  )
4055
4004
  ).then(() => {
4056
- if (rt(e))
4057
- return Sr(e);
4058
- delete ue[e];
4059
- }), ue[e];
4005
+ if (Ke(e))
4006
+ return dr(e);
4007
+ delete ae[e];
4008
+ }), ae[e];
4060
4009
  }
4061
- const $i = {
4010
+ const Ai = {
4062
4011
  number: {
4063
4012
  scientific: { notation: "scientific" },
4064
4013
  engineering: { notation: "engineering" },
@@ -4087,150 +4036,150 @@ const $i = {
4087
4036
  timeZoneName: "short"
4088
4037
  }
4089
4038
  }
4090
- }, ji = {
4039
+ }, Bi = {
4091
4040
  fallbackLocale: null,
4092
4041
  loadingDelay: 200,
4093
- formats: $i,
4042
+ formats: Ai,
4094
4043
  warnOnMissingMessages: !0,
4095
4044
  handleMissingMessage: void 0,
4096
4045
  ignoreTag: !0
4097
- }, ki = ji;
4098
- function ne() {
4099
- return ki;
4100
- }
4101
- const $e = Ae(!1);
4102
- var Vi = Object.defineProperty, Xi = Object.defineProperties, Wi = Object.getOwnPropertyDescriptors, It = Object.getOwnPropertySymbols, zi = Object.prototype.hasOwnProperty, Zi = Object.prototype.propertyIsEnumerable, Mt = (e, t, r) => t in e ? Vi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Qi = (e, t) => {
4103
- for (var r in t || (t = {}))
4104
- zi.call(t, r) && Mt(e, r, t[r]);
4105
- if (It)
4106
- for (var r of It(t))
4107
- Zi.call(t, r) && Mt(e, r, t[r]);
4046
+ }, Pi = Bi;
4047
+ function re() {
4048
+ return Pi;
4049
+ }
4050
+ const Ue = He(!1);
4051
+ var Ni = Object.defineProperty, Oi = Object.defineProperties, Li = Object.getOwnPropertyDescriptors, Ht = Object.getOwnPropertySymbols, Ii = Object.prototype.hasOwnProperty, Ci = Object.prototype.propertyIsEnumerable, At = (e, t, r) => t in e ? Ni(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Mi = (e, t) => {
4052
+ for (var r in t)
4053
+ Ii.call(t, r) && At(e, r, t[r]);
4054
+ if (Ht)
4055
+ for (var r of Ht(t))
4056
+ Ci.call(t, r) && At(e, r, t[r]);
4108
4057
  return e;
4109
- }, Yi = (e, t) => Xi(e, Wi(t));
4110
- let nt;
4111
- const Se = Ae(null);
4112
- function Rt(e) {
4058
+ }, Ri = (e, t) => Oi(e, Li(t));
4059
+ let et;
4060
+ const xe = He(null);
4061
+ function Bt(e) {
4113
4062
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4114
4063
  }
4115
- function Pe(e, t = ne().fallbackLocale) {
4116
- const r = Rt(e);
4117
- return t ? [.../* @__PURE__ */ new Set([...r, ...Rt(t)])] : r;
4064
+ function Be(e, t = re().fallbackLocale) {
4065
+ const r = Bt(e);
4066
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Bt(t)])] : r;
4118
4067
  }
4119
- function X() {
4120
- return nt != null ? nt : void 0;
4068
+ function V() {
4069
+ return et ?? void 0;
4121
4070
  }
4122
- Se.subscribe((e) => {
4123
- nt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4071
+ xe.subscribe((e) => {
4072
+ et = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4124
4073
  });
4125
- const qi = (e) => {
4126
- if (e && Gi(e) && rt(e)) {
4127
- const { loadingDelay: t } = ne();
4074
+ const Gi = (e) => {
4075
+ if (e && Si(e) && Ke(e)) {
4076
+ const { loadingDelay: t } = re();
4128
4077
  let r;
4129
- return typeof window != "undefined" && X() != null && t ? r = window.setTimeout(
4130
- () => $e.set(!0),
4078
+ return typeof window < "u" && V() != null && t ? r = window.setTimeout(
4079
+ () => Ue.set(!0),
4131
4080
  t
4132
- ) : $e.set(!0), Sr(e).then(() => {
4133
- Se.set(e);
4081
+ ) : Ue.set(!0), dr(e).then(() => {
4082
+ xe.set(e);
4134
4083
  }).finally(() => {
4135
- clearTimeout(r), $e.set(!1);
4084
+ clearTimeout(r), Ue.set(!1);
4136
4085
  });
4137
4086
  }
4138
- return Se.set(e);
4139
- }, be = Yi(Qi({}, Se), {
4140
- set: qi
4141
- }), Ne = (e) => {
4087
+ return xe.set(e);
4088
+ }, de = Ri(Mi({}, xe), {
4089
+ set: Gi
4090
+ }), Pe = (e) => {
4142
4091
  const t = /* @__PURE__ */ Object.create(null);
4143
4092
  return (n) => {
4144
4093
  const i = JSON.stringify(n);
4145
4094
  return i in t ? t[i] : t[i] = e(n);
4146
4095
  };
4147
4096
  };
4148
- var Ji = Object.defineProperty, Te = Object.getOwnPropertySymbols, Tr = Object.prototype.hasOwnProperty, wr = Object.prototype.propertyIsEnumerable, Gt = (e, t, r) => t in e ? Ji(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, at = (e, t) => {
4097
+ var Ui = Object.defineProperty, Se = Object.getOwnPropertySymbols, br = Object.prototype.hasOwnProperty, pr = Object.prototype.propertyIsEnumerable, Pt = (e, t, r) => t in e ? Ui(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, nt = (e, t) => {
4149
4098
  for (var r in t || (t = {}))
4150
- Tr.call(t, r) && Gt(e, r, t[r]);
4151
- if (Te)
4152
- for (var r of Te(t))
4153
- wr.call(t, r) && Gt(e, r, t[r]);
4099
+ br.call(t, r) && Pt(e, r, t[r]);
4100
+ if (Se)
4101
+ for (var r of Se(t))
4102
+ pr.call(t, r) && Pt(e, r, t[r]);
4154
4103
  return e;
4155
- }, ae = (e, t) => {
4104
+ }, oe = (e, t) => {
4156
4105
  var r = {};
4157
4106
  for (var n in e)
4158
- Tr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4159
- if (e != null && Te)
4160
- for (var n of Te(e))
4161
- t.indexOf(n) < 0 && wr.call(e, n) && (r[n] = e[n]);
4107
+ br.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4108
+ if (e != null && Se)
4109
+ for (var n of Se(e))
4110
+ t.indexOf(n) < 0 && pr.call(e, n) && (r[n] = e[n]);
4162
4111
  return r;
4163
4112
  };
4164
- const fe = (e, t) => {
4165
- const { formats: r } = ne();
4113
+ const ce = (e, t) => {
4114
+ const { formats: r } = re();
4166
4115
  if (e in r && t in r[e])
4167
4116
  return r[e][t];
4168
4117
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4169
- }, Ki = Ne(
4118
+ }, Di = Pe(
4170
4119
  (e) => {
4171
- var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
4120
+ var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
4172
4121
  if (r == null)
4173
4122
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4174
- return n && (i = fe("number", n)), new Intl.NumberFormat(r, i);
4123
+ return n && (i = ce("number", n)), new Intl.NumberFormat(r, i);
4175
4124
  }
4176
- ), es = Ne(
4125
+ ), Fi = Pe(
4177
4126
  (e) => {
4178
- var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
4127
+ var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
4179
4128
  if (r == null)
4180
4129
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4181
- return n ? i = fe("date", n) : Object.keys(i).length === 0 && (i = fe("date", "short")), new Intl.DateTimeFormat(r, i);
4130
+ return n ? i = ce("date", n) : Object.keys(i).length === 0 && (i = ce("date", "short")), new Intl.DateTimeFormat(r, i);
4182
4131
  }
4183
- ), ts = Ne(
4132
+ ), $i = Pe(
4184
4133
  (e) => {
4185
- var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
4134
+ var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
4186
4135
  if (r == null)
4187
4136
  throw new Error(
4188
4137
  '[svelte-i18n] A "locale" must be set to format time values'
4189
4138
  );
4190
- return n ? i = fe("time", n) : Object.keys(i).length === 0 && (i = fe("time", "short")), new Intl.DateTimeFormat(r, i);
4139
+ return n ? i = ce("time", n) : Object.keys(i).length === 0 && (i = ce("time", "short")), new Intl.DateTimeFormat(r, i);
4191
4140
  }
4192
- ), rs = (e = {}) => {
4141
+ ), ji = (e = {}) => {
4193
4142
  var t = e, {
4194
- locale: r = X()
4195
- } = t, n = ae(t, [
4143
+ locale: r = V()
4144
+ } = t, n = oe(t, [
4196
4145
  "locale"
4197
4146
  ]);
4198
- return Ki(at({ locale: r }, n));
4199
- }, ns = (e = {}) => {
4147
+ return Di(nt({ locale: r }, n));
4148
+ }, ki = (e = {}) => {
4200
4149
  var t = e, {
4201
- locale: r = X()
4202
- } = t, n = ae(t, [
4150
+ locale: r = V()
4151
+ } = t, n = oe(t, [
4203
4152
  "locale"
4204
4153
  ]);
4205
- return es(at({ locale: r }, n));
4206
- }, is = (e = {}) => {
4154
+ return Fi(nt({ locale: r }, n));
4155
+ }, Vi = (e = {}) => {
4207
4156
  var t = e, {
4208
- locale: r = X()
4209
- } = t, n = ae(t, [
4157
+ locale: r = V()
4158
+ } = t, n = oe(t, [
4210
4159
  "locale"
4211
4160
  ]);
4212
- return ts(at({ locale: r }, n));
4213
- }, ss = Ne(
4161
+ return $i(nt({ locale: r }, n));
4162
+ }, Xi = Pe(
4214
4163
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4215
- (e, t = X()) => new Li(e, t, ne().formats, {
4216
- ignoreTag: ne().ignoreTag
4164
+ (e, t = V()) => new yi(e, t, re().formats, {
4165
+ ignoreTag: re().ignoreTag
4217
4166
  })
4218
- ), os = (e, t = {}) => {
4167
+ ), Wi = (e, t = {}) => {
4219
4168
  var r, n, i, s;
4220
4169
  let o = t;
4221
4170
  typeof e == "object" && (o = e, e = o.id);
4222
4171
  const {
4223
4172
  values: a,
4224
- locale: h = X(),
4173
+ locale: h = V(),
4225
4174
  default: u
4226
4175
  } = o;
4227
4176
  if (h == null)
4228
4177
  throw new Error(
4229
4178
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4230
4179
  );
4231
- let l = vr(e, h);
4180
+ let l = lr(e, h);
4232
4181
  if (!l)
4233
- l = (s = (i = (n = (r = ne()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
4182
+ 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;
4234
4183
  else if (typeof l != "string")
4235
4184
  return console.warn(
4236
4185
  `[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.`
@@ -4239,7 +4188,7 @@ const fe = (e, t) => {
4239
4188
  return l;
4240
4189
  let m = l;
4241
4190
  try {
4242
- m = ss(l, h).format(a);
4191
+ m = Xi(l, h).format(a);
4243
4192
  } catch (c) {
4244
4193
  c instanceof Error && console.warn(
4245
4194
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4247,17 +4196,17 @@ const fe = (e, t) => {
4247
4196
  );
4248
4197
  }
4249
4198
  return m;
4250
- }, as = (e, t) => is(t).format(e), us = (e, t) => ns(t).format(e), hs = (e, t) => rs(t).format(e), ls = (e, t = X()) => vr(e, t), cs = oe([be, de], () => os);
4251
- oe([be], () => as);
4252
- oe([be], () => us);
4253
- oe([be], () => hs);
4254
- oe([be, de], () => ls);
4255
- window.emWidgets = { topic: wn };
4256
- const fs = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4257
- function Ut(e, t) {
4258
- _r(e, t);
4259
- }
4260
- const Dt = {
4199
+ }, zi = (e, t) => Vi(t).format(e), Zi = (e, t) => ki(t).format(e), Qi = (e, t) => ji(t).format(e), Yi = (e, t = V()) => lr(e, t), qi = se([de, me], () => Wi);
4200
+ se([de], () => zi);
4201
+ se([de], () => Zi);
4202
+ se([de], () => Qi);
4203
+ se([de, me], () => Yi);
4204
+ window.emWidgets = { topic: ln };
4205
+ const Ji = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4206
+ function Nt(e, t) {
4207
+ fr(e, t);
4208
+ }
4209
+ const Ot = {
4261
4210
  en: {
4262
4211
  lobbyName: "Lobby",
4263
4212
  myGamesName: "My games"
@@ -4331,7 +4280,7 @@ const Dt = {
4331
4280
  myGamesName: "My games"
4332
4281
  }
4333
4282
  };
4334
- if (typeof window != "undefined") {
4283
+ if (typeof window < "u") {
4335
4284
  let e = function(t) {
4336
4285
  return function(...r) {
4337
4286
  try {
@@ -4343,165 +4292,165 @@ if (typeof window != "undefined") {
4343
4292
  }
4344
4293
  };
4345
4294
  };
4346
- customElements.define = e(customElements.define), import("./CasinoSliderNd-BmU7j05f.js").then(({ default: t }) => {
4295
+ customElements.define = e(customElements.define), import("./CasinoSliderNd-D7nDv3jr.js").then(({ default: t }) => {
4347
4296
  !customElements.get("casino-slider-nd") && customElements.define("casino-slider-nd", t.element);
4348
4297
  });
4349
4298
  }
4350
- function ms(e) {
4351
- zr(e, "svelte-1abcr2p", ".CasinoCategoriesLoading.svelte-1abcr2p{height:52px}p.svelte-1abcr2p{color:var( --emw--categories-typography, var(--emw--color-white) #FFFFFF);text-align:center}.CasinoCategoriesContainer.svelte-1abcr2p{background:transparent;border-radius:var(--emw--border-radius-medium, 20px)}");
4299
+ function Ki(e) {
4300
+ Lr(e, "svelte-1abcr2p", ".CasinoCategoriesLoading.svelte-1abcr2p{height:52px}p.svelte-1abcr2p{color:var( --emw--categories-typography, var(--emw--color-white) #FFFFFF);text-align:center}.CasinoCategoriesContainer.svelte-1abcr2p{background:transparent;border-radius:var(--emw--border-radius-medium, 20px)}");
4352
4301
  }
4353
- function ds(e) {
4302
+ function es(e) {
4354
4303
  let t, r, n, i;
4355
4304
  return {
4356
4305
  c() {
4357
- t = V("div"), r = V("casino-slider-nd"), E(
4306
+ t = k("div"), r = k("casino-slider-nd"), _(
4358
4307
  r,
4359
4308
  "lang",
4360
4309
  /*lang*/
4361
4310
  e[3]
4362
- ), E(
4311
+ ), _(
4363
4312
  r,
4364
4313
  "datasource",
4365
4314
  /*datasource*/
4366
4315
  e[2]
4367
- ), E(
4316
+ ), _(
4368
4317
  r,
4369
4318
  "endpoint",
4370
4319
  /*endpoint*/
4371
4320
  e[1]
4372
- ), E(r, "identity", Hr), E(
4321
+ ), _(r, "identity", gr), _(
4373
4322
  r,
4374
4323
  "favoritesnumber",
4375
4324
  /*numberOfFavoredGames*/
4376
4325
  e[15]
4377
- ), E(
4326
+ ), _(
4378
4327
  r,
4379
4328
  "showsubgroups",
4380
4329
  /*showsubgroups*/
4381
4330
  e[8]
4382
- ), E(
4331
+ ), _(
4383
4332
  r,
4384
4333
  "clientstyling",
4385
4334
  /*clientstyling*/
4386
4335
  e[4]
4387
- ), E(
4336
+ ), _(
4388
4337
  r,
4389
4338
  "clientstylingurl",
4390
4339
  /*clientstylingurl*/
4391
4340
  e[5]
4392
- ), E(
4341
+ ), _(
4393
4342
  r,
4394
4343
  "activeindex",
4395
4344
  /*activecategory*/
4396
4345
  e[0]
4397
- ), E(
4346
+ ), _(
4398
4347
  r,
4399
4348
  "actionevent",
4400
4349
  /*actionevent*/
4401
4350
  e[6]
4402
- ), E(
4351
+ ), _(
4403
4352
  r,
4404
4353
  "location",
4405
4354
  /*location*/
4406
4355
  e[7]
4407
- ), E(
4356
+ ), _(
4408
4357
  r,
4409
4358
  "categoriesicon",
4410
4359
  /*categoriesicon*/
4411
4360
  e[9]
4412
- ), E(
4361
+ ), _(
4413
4362
  r,
4414
4363
  "lobbyiconimage",
4415
4364
  /*lobbyiconimage*/
4416
4365
  e[10]
4417
- ), E(
4366
+ ), _(
4418
4367
  r,
4419
4368
  "mygamesiconimage",
4420
4369
  /*mygamesiconimage*/
4421
4370
  e[11]
4422
- ), K(t, "class", "CasinoCategoriesContainer svelte-1abcr2p"), K(t, "part", "CasinoCategoriesContainer");
4371
+ ), J(t, "class", "CasinoCategoriesContainer svelte-1abcr2p"), J(t, "part", "CasinoCategoriesContainer");
4423
4372
  },
4424
4373
  m(s, o) {
4425
- me(s, t, o), kt(t, r), n || (i = Wr(
4374
+ fe(s, t, o), Mt(t, r), n || (i = Or(
4426
4375
  /*sendSliderData*/
4427
4376
  e[16].call(null, r)
4428
4377
  ), n = !0);
4429
4378
  },
4430
4379
  p(s, o) {
4431
4380
  o[0] & /*lang*/
4432
- 8 && E(
4381
+ 8 && _(
4433
4382
  r,
4434
4383
  "lang",
4435
4384
  /*lang*/
4436
4385
  s[3]
4437
4386
  ), o[0] & /*datasource*/
4438
- 4 && E(
4387
+ 4 && _(
4439
4388
  r,
4440
4389
  "datasource",
4441
4390
  /*datasource*/
4442
4391
  s[2]
4443
4392
  ), o[0] & /*endpoint*/
4444
- 2 && E(
4393
+ 2 && _(
4445
4394
  r,
4446
4395
  "endpoint",
4447
4396
  /*endpoint*/
4448
4397
  s[1]
4449
4398
  ), o[0] & /*numberOfFavoredGames*/
4450
- 32768 && E(
4399
+ 32768 && _(
4451
4400
  r,
4452
4401
  "favoritesnumber",
4453
4402
  /*numberOfFavoredGames*/
4454
4403
  s[15]
4455
4404
  ), o[0] & /*showsubgroups*/
4456
- 256 && E(
4405
+ 256 && _(
4457
4406
  r,
4458
4407
  "showsubgroups",
4459
4408
  /*showsubgroups*/
4460
4409
  s[8]
4461
4410
  ), o[0] & /*clientstyling*/
4462
- 16 && E(
4411
+ 16 && _(
4463
4412
  r,
4464
4413
  "clientstyling",
4465
4414
  /*clientstyling*/
4466
4415
  s[4]
4467
4416
  ), o[0] & /*clientstylingurl*/
4468
- 32 && E(
4417
+ 32 && _(
4469
4418
  r,
4470
4419
  "clientstylingurl",
4471
4420
  /*clientstylingurl*/
4472
4421
  s[5]
4473
4422
  ), o[0] & /*activecategory*/
4474
- 1 && E(
4423
+ 1 && _(
4475
4424
  r,
4476
4425
  "activeindex",
4477
4426
  /*activecategory*/
4478
4427
  s[0]
4479
4428
  ), o[0] & /*actionevent*/
4480
- 64 && E(
4429
+ 64 && _(
4481
4430
  r,
4482
4431
  "actionevent",
4483
4432
  /*actionevent*/
4484
4433
  s[6]
4485
4434
  ), o[0] & /*location*/
4486
- 128 && E(
4435
+ 128 && _(
4487
4436
  r,
4488
4437
  "location",
4489
4438
  /*location*/
4490
4439
  s[7]
4491
4440
  ), o[0] & /*categoriesicon*/
4492
- 512 && E(
4441
+ 512 && _(
4493
4442
  r,
4494
4443
  "categoriesicon",
4495
4444
  /*categoriesicon*/
4496
4445
  s[9]
4497
4446
  ), o[0] & /*lobbyiconimage*/
4498
- 1024 && E(
4447
+ 1024 && _(
4499
4448
  r,
4500
4449
  "lobbyiconimage",
4501
4450
  /*lobbyiconimage*/
4502
4451
  s[10]
4503
4452
  ), o[0] & /*mygamesiconimage*/
4504
- 2048 && E(
4453
+ 2048 && _(
4505
4454
  r,
4506
4455
  "mygamesiconimage",
4507
4456
  /*mygamesiconimage*/
@@ -4509,58 +4458,58 @@ function ds(e) {
4509
4458
  );
4510
4459
  },
4511
4460
  d(s) {
4512
- s && se(t), n = !1, i();
4461
+ s && ie(t), n = !1, i();
4513
4462
  }
4514
4463
  };
4515
4464
  }
4516
- function bs(e) {
4465
+ function ts(e) {
4517
4466
  let t;
4518
4467
  return {
4519
4468
  c() {
4520
- t = V("p"), t.textContent = "500 Error - Internal Server Error.", K(t, "class", "SearchLoading svelte-1abcr2p");
4469
+ t = k("p"), t.textContent = "500 Error - Internal Server Error.", J(t, "class", "SearchLoading svelte-1abcr2p");
4521
4470
  },
4522
4471
  m(r, n) {
4523
- me(r, t, n);
4472
+ fe(r, t, n);
4524
4473
  },
4525
4474
  p: B,
4526
4475
  d(r) {
4527
- r && se(t);
4476
+ r && ie(t);
4528
4477
  }
4529
4478
  };
4530
4479
  }
4531
- function ps(e) {
4480
+ function rs(e) {
4532
4481
  let t;
4533
4482
  return {
4534
4483
  c() {
4535
- t = V("div"), K(t, "class", "CasinoCategoriesLoading svelte-1abcr2p");
4484
+ t = k("div"), J(t, "class", "CasinoCategoriesLoading svelte-1abcr2p");
4536
4485
  },
4537
4486
  m(r, n) {
4538
- me(r, t, n);
4487
+ fe(r, t, n);
4539
4488
  },
4540
4489
  p: B,
4541
4490
  d(r) {
4542
- r && se(t);
4491
+ r && ie(t);
4543
4492
  }
4544
4493
  };
4545
4494
  }
4546
- function gs(e) {
4495
+ function ns(e) {
4547
4496
  let t;
4548
4497
  function r(s, o) {
4549
4498
  return (
4550
4499
  /*isLoading*/
4551
- s[12] || ys || vs ? ps : (
4500
+ s[12] || is || ss ? rs : (
4552
4501
  /*hasErrors*/
4553
- s[14] ? bs : ds
4502
+ s[14] ? ts : es
4554
4503
  )
4555
4504
  );
4556
4505
  }
4557
4506
  let n = r(e), i = n(e);
4558
4507
  return {
4559
4508
  c() {
4560
- t = V("div"), i.c();
4509
+ t = k("div"), i.c();
4561
4510
  },
4562
4511
  m(s, o) {
4563
- me(s, t, o), i.m(t, null), e[26](t);
4512
+ fe(s, t, o), i.m(t, null), e[26](t);
4564
4513
  },
4565
4514
  p(s, o) {
4566
4515
  n === (n = r(s)) && i ? i.p(s, o) : (i.d(1), i = n(s), i && (i.c(), i.m(t, null)));
@@ -4568,104 +4517,104 @@ function gs(e) {
4568
4517
  i: B,
4569
4518
  o: B,
4570
4519
  d(s) {
4571
- s && se(t), i.d(), e[26](null);
4520
+ s && ie(t), i.d(), e[26](null);
4572
4521
  }
4573
4522
  };
4574
4523
  }
4575
- let Hr = "CasinoSliderData", ys = !1, vs = !1;
4576
- function Es(e, t, r) {
4524
+ let gr = "CasinoSliderData", is = !1, ss = !1;
4525
+ function os(e, t, r) {
4577
4526
  let n;
4578
- Xr(e, cs, (f) => r(32, n = f));
4579
- 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: w = "" } = t, { location: I = "secondaryMenu" } = t, { showsubgroups: P = "false" } = t, { filteredcategories: T = "" } = t, { translationurl: N = "" } = t, { categoriesicon: O = "" } = t, { lobbyiconimage: G = "" } = t, { mygamesiconimage: _ = "" } = t, L, C, M = !0, W, z = [], j = !1, Br = window.navigator.userAgent, k, ut, ht = !1, Oe = !1;
4580
- const Pr = () => {
4527
+ Nr(e, qi, (f) => r(32, n = f));
4528
+ 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: w = "" } = t, { location: C = "secondaryMenu" } = t, { showsubgroups: P = "false" } = t, { filteredcategories: T = "" } = t, { translationurl: N = "" } = t, { categoriesicon: O = "" } = t, { lobbyiconimage: R = "" } = t, { mygamesiconimage: E = "" } = t, L, I, M = !0, X, W = [], $ = !1, yr = window.navigator.userAgent, j, it, st = !1, Ne = !1;
4529
+ const vr = () => {
4581
4530
  fetch(N).then((H) => H.json()).then((H) => {
4582
- Object.keys(H).forEach((F) => {
4583
- Ut(F, H[F]);
4531
+ Object.keys(H).forEach((D) => {
4532
+ Nt(D, H[D]);
4584
4533
  });
4585
4534
  }).catch((H) => {
4586
4535
  console.log(H);
4587
4536
  });
4588
4537
  };
4589
- Object.keys(Dt).forEach((f) => {
4590
- Ut(f, Dt[f]);
4538
+ Object.keys(Ot).forEach((f) => {
4539
+ Nt(f, Ot[f]);
4591
4540
  });
4592
- const Nr = () => {
4593
- ht == !1 && (m == "true" || u == "true" || l == "true") && z.splice(1, 0, {
4541
+ const _r = () => {
4542
+ st == !1 && (m == "true" || u == "true" || l == "true") && W.splice(1, 0, {
4594
4543
  // @ts-ignore
4595
4544
  id: "MYGAMES",
4596
4545
  name: L,
4597
4546
  href: "",
4598
4547
  games: []
4599
- }), Kr(), ht = !0, r(25, Oe = !0), lt();
4600
- }, Or = () => (i || (W = "Endpoint is missing! Please provide a valid endpointURL.", r(14, j = !0), r(12, M = !1), console.error(W)), s || (W = "Datasource is missing! Please provide a valid datasource.", r(14, j = !0), r(12, M = !1), console.error(W)), (!o || o.length < 2) && (W = "Language is missing! Please provide a valid language (alpha2code)", r(14, j = !0), r(12, M = !1), console.error(W)), j), Lr = () => {
4601
- if (L = n("myGamesName"), C = n("lobbyName"), !Or()) {
4548
+ }), Ur(), st = !0, r(25, Ne = !0), ot();
4549
+ }, Er = () => (i || (X = "Endpoint is missing! Please provide a valid endpointURL.", r(14, $ = !0), r(12, M = !1), console.error(X)), s || (X = "Datasource is missing! Please provide a valid datasource.", r(14, $ = !0), r(12, M = !1), console.error(X)), (!o || o.length < 2) && (X = "Language is missing! Please provide a valid language (alpha2code)", r(14, $ = !0), r(12, M = !1), console.error(X)), $), xr = () => {
4550
+ if (L = n("myGamesName"), I = n("lobbyName"), !Er()) {
4602
4551
  let f = new URL(`${i}/v1/casino/groups/${s}`);
4603
- f.searchParams.append("datasource", s), f.searchParams.append("language", o), f.searchParams.append("platform", fs(Br)), fetch(f).then((H) => H.json()).then(
4552
+ f.searchParams.append("datasource", s), f.searchParams.append("language", o), f.searchParams.append("platform", Ji(yr)), fetch(f).then((H) => H.json()).then(
4604
4553
  (H) => {
4605
- let F = T.split(","), Gr = H.items.filter((ct) => {
4606
- let Le = !1;
4607
- if (ct.games.total > 0 && (Le = !0, T))
4608
- for (let Ur of F)
4609
- ct.flags == Ur && (Le = !1);
4610
- return Le;
4554
+ let D = T.split(","), Ar = H.items.filter((at) => {
4555
+ let Oe = !1;
4556
+ if (at.games.total > 0 && (Oe = !0, T))
4557
+ for (let Br of D)
4558
+ at.flags == Br && (Oe = !1);
4559
+ return Oe;
4611
4560
  });
4612
- z = [], z = z.concat(Gr), z.unshift({
4561
+ W = [], W = W.concat(Ar), W.unshift({
4613
4562
  // @ts-ignore
4614
4563
  id: "LOBBY",
4615
- name: C,
4564
+ name: I,
4616
4565
  href: "",
4617
4566
  games: []
4618
4567
  }), r(12, M = !1), window.postMessage({ type: "CategoriesLoadedForSlider" }, window.location.href);
4619
4568
  },
4620
4569
  (H) => {
4621
- r(14, j = !0), console.error("There was an error while fetching the categories", H);
4570
+ r(14, $ = !0), console.error("There was an error while fetching the categories", H);
4622
4571
  }
4623
4572
  ).catch((H) => {
4624
- r(14, j = !0), console.error("There was an error while fetching the categories", H);
4573
+ r(14, $ = !0), console.error("There was an error while fetching the categories", H);
4625
4574
  });
4626
4575
  }
4627
- }, Cr = () => {
4576
+ }, Sr = () => {
4628
4577
  let f = b.split("$");
4629
4578
  r(0, b = f.length > 2 ? b.split("$").slice(0, 2).join("$") : b);
4630
- }, Ir = () => {
4579
+ }, Tr = () => {
4631
4580
  let f = document.createElement("style");
4632
- f.innerHTML = c, k.appendChild(f);
4633
- }, Mr = () => {
4581
+ f.innerHTML = c, j.appendChild(f);
4582
+ }, wr = () => {
4634
4583
  let f = document.createElement("style"), H = new URL(d);
4635
- fetch(H.href).then((F) => F.text()).then((F) => {
4636
- f.innerHTML = F, setTimeout(
4584
+ fetch(H.href).then((D) => D.text()).then((D) => {
4585
+ f.innerHTML = D, setTimeout(
4637
4586
  () => {
4638
- k.appendChild(f);
4587
+ j.appendChild(f);
4639
4588
  },
4640
4589
  1
4641
4590
  );
4642
4591
  });
4643
- }, lt = () => {
4592
+ }, ot = () => {
4644
4593
  window.postMessage(
4645
4594
  {
4646
4595
  type: "SliderData",
4647
- identity: Hr,
4648
- data: z
4596
+ identity: gr,
4597
+ data: W
4649
4598
  },
4650
4599
  window.location.href
4651
4600
  );
4652
4601
  };
4653
- function Rr(f) {
4654
- je[f ? "unshift" : "push"](() => {
4655
- k = f, r(13, k);
4602
+ function Hr(f) {
4603
+ De[f ? "unshift" : "push"](() => {
4604
+ j = f, r(13, j);
4656
4605
  });
4657
4606
  }
4658
4607
  return e.$$set = (f) => {
4659
- "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, w = f.sessioncheck), "location" in f && r(7, I = f.location), "showsubgroups" in f && r(8, P = f.showsubgroups), "filteredcategories" in f && r(23, T = f.filteredcategories), "translationurl" in f && r(24, N = f.translationurl), "categoriesicon" in f && r(9, O = f.categoriesicon), "lobbyiconimage" in f && r(10, G = f.lobbyiconimage), "mygamesiconimage" in f && r(11, _ = f.mygamesiconimage);
4608
+ "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, w = f.sessioncheck), "location" in f && r(7, C = f.location), "showsubgroups" in f && r(8, P = f.showsubgroups), "filteredcategories" in f && r(23, T = 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);
4660
4609
  }, e.$$.update = () => {
4661
4610
  e.$$.dirty[0] & /*endpoint, datasource, lang*/
4662
- 14 && i && s && o && Lr(), e.$$.dirty[0] & /*endpoint, session, mostplayed, lastplayed, favorites, isLoading*/
4663
- 3936258 && i && h && (u || l || m) && !M && Nr(), e.$$.dirty[0] & /*isLoading, activecategory, session, confirmCategoryParse*/
4664
- 33820673 && !M && b && (!h || Oe) && Cr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4665
- 8208 && c && k && Ir(), e.$$.dirty[0] & /*translationurl*/
4666
- 16777216 && N && Pr(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4667
- 8224 && d && k && Mr();
4668
- }, r(15, ut = 0), [
4611
+ 14 && i && s && o && xr(), e.$$.dirty[0] & /*endpoint, session, mostplayed, lastplayed, favorites, isLoading*/
4612
+ 3936258 && i && h && (u || l || m) && !M && _r(), e.$$.dirty[0] & /*isLoading, activecategory, session, confirmCategoryParse*/
4613
+ 33820673 && !M && b && (!h || Ne) && Sr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4614
+ 8208 && c && j && Tr(), e.$$.dirty[0] & /*translationurl*/
4615
+ 16777216 && N && vr(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4616
+ 8224 && d && j && wr();
4617
+ }, r(15, it = 0), [
4669
4618
  b,
4670
4619
  i,
4671
4620
  s,
@@ -4673,16 +4622,16 @@ function Es(e, t, r) {
4673
4622
  c,
4674
4623
  d,
4675
4624
  y,
4676
- I,
4625
+ C,
4677
4626
  P,
4678
4627
  O,
4679
- G,
4680
- _,
4628
+ R,
4629
+ E,
4681
4630
  M,
4682
- k,
4683
4631
  j,
4684
- ut,
4685
- lt,
4632
+ $,
4633
+ it,
4634
+ ot,
4686
4635
  a,
4687
4636
  h,
4688
4637
  u,
@@ -4691,18 +4640,18 @@ function Es(e, t, r) {
4691
4640
  w,
4692
4641
  T,
4693
4642
  N,
4694
- Oe,
4695
- Rr
4643
+ Ne,
4644
+ Hr
4696
4645
  ];
4697
4646
  }
4698
- class Ar extends hn {
4647
+ class as extends zr {
4699
4648
  constructor(t) {
4700
- super(), an(
4649
+ super(), Xr(
4701
4650
  this,
4702
4651
  t,
4703
- Es,
4704
- gs,
4705
- $t,
4652
+ os,
4653
+ ns,
4654
+ It,
4706
4655
  {
4707
4656
  endpoint: 1,
4708
4657
  datasource: 2,
@@ -4725,7 +4674,7 @@ class Ar extends hn {
4725
4674
  lobbyiconimage: 10,
4726
4675
  mygamesiconimage: 11
4727
4676
  },
4728
- ms,
4677
+ Ki,
4729
4678
  [-1, -1]
4730
4679
  );
4731
4680
  }
@@ -4850,41 +4799,37 @@ class Ar extends hn {
4850
4799
  this.$$set({ mygamesiconimage: t }), S();
4851
4800
  }
4852
4801
  }
4853
- un(Ar, { endpoint: {}, datasource: {}, lang: {}, userid: {}, session: {}, mostplayed: {}, lastplayed: {}, favorites: {}, clientstyling: {}, clientstylingurl: {}, activecategory: {}, actionevent: {}, sessioncheck: {}, location: {}, showsubgroups: {}, filteredcategories: {}, translationurl: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {} }, [], [], !0);
4854
- const Cs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4855
- __proto__: null,
4856
- default: Ar
4857
- }, Symbol.toStringTag, { value: "Module" }));
4802
+ Wr(as, { endpoint: {}, datasource: {}, lang: {}, userid: {}, session: {}, mostplayed: {}, lastplayed: {}, favorites: {}, clientstyling: {}, clientstylingurl: {}, activecategory: {}, actionevent: {}, sessioncheck: {}, location: {}, showsubgroups: {}, filteredcategories: {}, translationurl: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {} }, [], [], !0);
4858
4803
  export {
4859
- be as $,
4860
- Ts as A,
4861
- xs as B,
4862
- Cs as C,
4863
- hn as S,
4864
- de as a,
4865
- _r as b,
4866
- un as c,
4867
- zr as d,
4868
- V as e,
4804
+ de as $,
4805
+ ls as A,
4806
+ us as B,
4807
+ as as C,
4808
+ zr as S,
4809
+ me as a,
4810
+ fr as b,
4811
+ Wr as c,
4812
+ Lr as d,
4813
+ k as e,
4869
4814
  S as f,
4870
- ws as g,
4871
- K as h,
4872
- an as i,
4873
- me as j,
4874
- kt as k,
4875
- As as l,
4876
- se as m,
4815
+ cs as g,
4816
+ J as h,
4817
+ Xr as i,
4818
+ fe as j,
4819
+ Mt as k,
4820
+ ms as l,
4821
+ ie as m,
4877
4822
  B as n,
4878
- fs as o,
4879
- Ps as p,
4880
- Ns as q,
4881
- ie as r,
4882
- $t as s,
4883
- Hs as t,
4884
- Ls as u,
4885
- je as v,
4886
- Os as w,
4887
- Ss as x,
4888
- Vt as y,
4889
- Bs as z
4823
+ Ji as o,
4824
+ bs as p,
4825
+ ps as q,
4826
+ ne as r,
4827
+ It as s,
4828
+ fs as t,
4829
+ ys as u,
4830
+ De as v,
4831
+ gs as w,
4832
+ hs as x,
4833
+ Rt as y,
4834
+ ds as z
4890
4835
  };