@everymatrix/casino-categories-slider 1.53.12 → 1.54.0

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