@everymatrix/casino-categories-slider 1.54.0 → 1.54.2

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