@everymatrix/casino-categories-slider 1.54.12 → 1.56.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,17 +1,17 @@
1
- var Rr = Object.defineProperty, Gr = Object.defineProperties;
2
- var Ur = Object.getOwnPropertyDescriptors;
3
- var ct = Object.getOwnPropertySymbols;
4
- var Dr = Object.prototype.hasOwnProperty, Fr = Object.prototype.propertyIsEnumerable;
5
- var Ie = (e, t, r) => t in e ? Rr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ft = (e, t) => {
1
+ var Mr = Object.defineProperty, Rr = Object.defineProperties;
2
+ var Gr = Object.getOwnPropertyDescriptors;
3
+ var ft = Object.getOwnPropertySymbols;
4
+ var Ur = Object.prototype.hasOwnProperty, Dr = Object.prototype.propertyIsEnumerable;
5
+ var Me = (e, t, r) => t in e ? Mr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, mt = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- Dr.call(t, r) && Ie(e, r, t[r]);
8
- if (ct)
9
- for (var r of ct(t))
10
- Fr.call(t, r) && Ie(e, r, t[r]);
7
+ Ur.call(t, r) && Me(e, r, t[r]);
8
+ if (ft)
9
+ for (var r of ft(t))
10
+ Dr.call(t, r) && Me(e, r, t[r]);
11
11
  return e;
12
- }, mt = (e, t) => Gr(e, Ur(t));
13
- var R = (e, t, r) => Ie(e, typeof t != "symbol" ? t + "" : t, r);
14
- var dt = (e, t, r) => new Promise((n, i) => {
12
+ }, dt = (e, t) => Rr(e, Gr(t));
13
+ var M = (e, t, r) => Me(e, typeof t != "symbol" ? t + "" : t, r);
14
+ var bt = (e, t, r) => new Promise((n, i) => {
15
15
  var s = (h) => {
16
16
  try {
17
17
  a(r.next(h));
@@ -27,56 +27,56 @@ var dt = (e, t, r) => new Promise((n, i) => {
27
27
  }, a = (h) => h.done ? n(h.value) : Promise.resolve(h.value).then(s, o);
28
28
  a((r = r.apply(e, t)).next());
29
29
  });
30
- function B() {
30
+ function P() {
31
31
  }
32
- function Dt(e) {
32
+ function Ft(e) {
33
33
  return e();
34
34
  }
35
- function bt() {
35
+ function pt() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
- function ie(e) {
39
- e.forEach(Dt);
38
+ function ne(e) {
39
+ e.forEach(Ft);
40
40
  }
41
- function we(e) {
41
+ function He(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function Ft(e, t) {
44
+ function $t(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
- let pe;
48
- function _s(e, t) {
49
- return e === t ? !0 : (pe || (pe = document.createElement("a")), pe.href = t, e === pe.href);
47
+ let ge;
48
+ function Ss(e, t) {
49
+ return e === t ? !0 : (ge || (ge = document.createElement("a")), ge.href = t, e === ge.href);
50
50
  }
51
- function $r(e) {
51
+ function Fr(e) {
52
52
  return Object.keys(e).length === 0;
53
53
  }
54
- function $t(e, ...t) {
54
+ function jt(e, ...t) {
55
55
  if (e == null) {
56
56
  for (const n of t)
57
57
  n(void 0);
58
- return B;
58
+ return P;
59
59
  }
60
60
  const r = e.subscribe(...t);
61
61
  return r.unsubscribe ? () => r.unsubscribe() : r;
62
62
  }
63
- function jr(e, t, r) {
64
- e.$$.on_destroy.push($t(t, r));
63
+ function $r(e, t, r) {
64
+ e.$$.on_destroy.push(jt(t, r));
65
65
  }
66
- function kr(e) {
67
- return e && we(e.destroy) ? e.destroy : B;
66
+ function jr(e) {
67
+ return e && He(e.destroy) ? e.destroy : P;
68
68
  }
69
- function jt(e, t) {
69
+ function kt(e, t) {
70
70
  e.appendChild(t);
71
71
  }
72
- function Vr(e, t, r) {
73
- const n = Xr(e);
72
+ function kr(e, t, r) {
73
+ const n = Vr(e);
74
74
  if (!n.getElementById(t)) {
75
75
  const i = V("style");
76
- i.id = t, i.textContent = r, Wr(n, i);
76
+ i.id = t, i.textContent = r, Xr(n, i);
77
77
  }
78
78
  }
79
- function Xr(e) {
79
+ function Vr(e) {
80
80
  if (!e) return document;
81
81
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
82
82
  return t && /** @type {ShadowRoot} */
@@ -85,53 +85,53 @@ function Xr(e) {
85
85
  t
86
86
  ) : e.ownerDocument;
87
87
  }
88
- function Wr(e, t) {
89
- return jt(
88
+ function Xr(e, t) {
89
+ return kt(
90
90
  /** @type {Document} */
91
91
  e.head || e,
92
92
  t
93
93
  ), t.sheet;
94
94
  }
95
- function me(e, t, r) {
95
+ function fe(e, t, r) {
96
96
  e.insertBefore(t, r || null);
97
97
  }
98
- function se(e) {
98
+ function ie(e) {
99
99
  e.parentNode && e.parentNode.removeChild(e);
100
100
  }
101
- function xs(e, t) {
101
+ function ws(e, t) {
102
102
  for (let r = 0; r < e.length; r += 1)
103
103
  e[r] && e[r].d(t);
104
104
  }
105
105
  function V(e) {
106
106
  return document.createElement(e);
107
107
  }
108
- function kt(e) {
108
+ function Vt(e) {
109
109
  return document.createTextNode(e);
110
110
  }
111
- function Ss() {
112
- return kt(" ");
113
- }
114
111
  function Ts() {
115
- return kt("");
112
+ return Vt(" ");
113
+ }
114
+ function Hs() {
115
+ return Vt("");
116
116
  }
117
- function ws(e, t, r, n) {
117
+ function As(e, t, r, n) {
118
118
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
119
119
  }
120
- function K(e, t, r) {
120
+ function me(e, t, r) {
121
121
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
122
122
  }
123
123
  function E(e, t, r) {
124
124
  const n = t.toLowerCase();
125
- n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : K(e, t, r);
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 : me(e, t, r);
126
126
  }
127
- function zr(e) {
127
+ function Wr(e) {
128
128
  return Array.from(e.childNodes);
129
129
  }
130
- function Hs(e, t) {
130
+ function Bs(e, t) {
131
131
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
132
132
  t);
133
133
  }
134
- function Zr(e) {
134
+ function zr(e) {
135
135
  const t = {};
136
136
  return e.childNodes.forEach(
137
137
  /** @param {Element} node */
@@ -140,127 +140,127 @@ function Zr(e) {
140
140
  }
141
141
  ), t;
142
142
  }
143
- let le;
144
- function he(e) {
145
- le = e;
143
+ let he;
144
+ function ue(e) {
145
+ he = e;
146
146
  }
147
- function Qr() {
148
- if (!le) throw new Error("Function called outside component initialization");
149
- return le;
147
+ function Zr() {
148
+ if (!he) throw new Error("Function called outside component initialization");
149
+ return he;
150
150
  }
151
- function Yr(e) {
152
- Qr().$$.on_mount.push(e);
151
+ function Qr(e) {
152
+ Zr().$$.on_mount.push(e);
153
153
  }
154
- const Y = [], je = [];
154
+ const Y = [], ke = [];
155
155
  let q = [];
156
- const pt = [], Vt = /* @__PURE__ */ Promise.resolve();
157
- let ke = !1;
158
- function Xt() {
159
- ke || (ke = !0, Vt.then(S));
156
+ const gt = [], Xt = /* @__PURE__ */ Promise.resolve();
157
+ let Ve = !1;
158
+ function Wt() {
159
+ Ve || (Ve = !0, Xt.then(S));
160
160
  }
161
- function qr() {
162
- return Xt(), Vt;
161
+ function Yr() {
162
+ return Wt(), Xt;
163
163
  }
164
- function Ve(e) {
164
+ function Xe(e) {
165
165
  q.push(e);
166
166
  }
167
- const Me = /* @__PURE__ */ new Set();
167
+ const Re = /* @__PURE__ */ new Set();
168
168
  let Z = 0;
169
169
  function S() {
170
170
  if (Z !== 0)
171
171
  return;
172
- const e = le;
172
+ const e = he;
173
173
  do {
174
174
  try {
175
175
  for (; Z < Y.length; ) {
176
176
  const t = Y[Z];
177
- Z++, he(t), Jr(t.$$);
177
+ Z++, ue(t), qr(t.$$);
178
178
  }
179
179
  } catch (t) {
180
180
  throw Y.length = 0, Z = 0, t;
181
181
  }
182
- for (he(null), Y.length = 0, Z = 0; je.length; ) je.pop()();
182
+ for (ue(null), Y.length = 0, Z = 0; ke.length; ) ke.pop()();
183
183
  for (let t = 0; t < q.length; t += 1) {
184
184
  const r = q[t];
185
- Me.has(r) || (Me.add(r), r());
185
+ Re.has(r) || (Re.add(r), r());
186
186
  }
187
187
  q.length = 0;
188
188
  } while (Y.length);
189
- for (; pt.length; )
190
- pt.pop()();
191
- ke = !1, Me.clear(), he(e);
189
+ for (; gt.length; )
190
+ gt.pop()();
191
+ Ve = !1, Re.clear(), ue(e);
192
192
  }
193
- function Jr(e) {
193
+ function qr(e) {
194
194
  if (e.fragment !== null) {
195
- e.update(), ie(e.before_update);
195
+ e.update(), ne(e.before_update);
196
196
  const t = e.dirty;
197
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ve);
197
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Xe);
198
198
  }
199
199
  }
200
- function Kr(e) {
200
+ function Jr(e) {
201
201
  const t = [], r = [];
202
202
  q.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), q = t;
203
203
  }
204
- const en = /* @__PURE__ */ new Set();
205
- function Wt(e, t) {
206
- e && e.i && (en.delete(e), e.i(t));
204
+ const Kr = /* @__PURE__ */ new Set();
205
+ function zt(e, t) {
206
+ e && e.i && (Kr.delete(e), e.i(t));
207
207
  }
208
- function As(e) {
208
+ function Ps(e) {
209
209
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
210
210
  }
211
- function Bs(e, t) {
211
+ function Ns(e, t) {
212
212
  e.d(1), t.delete(e.key);
213
213
  }
214
- function Ps(e, t, r, n, i, s, o, a, h, u, l, m) {
214
+ function Os(e, t, r, n, i, s, o, a, h, u, l, m) {
215
215
  let c = e.length, d = s.length, b = c;
216
216
  const y = {};
217
217
  for (; b--; ) y[e[b].key] = b;
218
- const w = [], I = /* @__PURE__ */ new Map(), P = /* @__PURE__ */ new Map(), T = [];
218
+ const T = [], C = /* @__PURE__ */ new Map(), N = /* @__PURE__ */ new Map(), w = [];
219
219
  for (b = d; b--; ) {
220
- const _ = m(i, s, b), L = r(_);
221
- let C = o.get(L);
222
- C ? T.push(() => C.p(_, t)) : (C = u(L, _), C.c()), I.set(L, w[b] = C), L in y && P.set(L, Math.abs(b - y[L]));
220
+ const _ = m(i, s, b), A = r(_);
221
+ let I = o.get(A);
222
+ I ? w.push(() => I.p(_, t)) : (I = u(A, _), I.c()), C.set(A, T[b] = I), A in y && N.set(A, Math.abs(b - y[A]));
223
223
  }
224
- const N = /* @__PURE__ */ new Set(), O = /* @__PURE__ */ new Set();
225
- function G(_) {
226
- Wt(_, 1), _.m(a, l), o.set(_.key, _), l = _.first, d--;
224
+ const O = /* @__PURE__ */ new Set(), L = /* @__PURE__ */ new Set();
225
+ function R(_) {
226
+ zt(_, 1), _.m(a, l), o.set(_.key, _), l = _.first, d--;
227
227
  }
228
228
  for (; c && d; ) {
229
- const _ = w[d - 1], L = e[c - 1], C = _.key, M = L.key;
230
- _ === L ? (l = _.first, c--, d--) : I.has(M) ? !o.has(C) || N.has(C) ? G(_) : O.has(M) ? c-- : P.get(C) > P.get(M) ? (O.add(C), G(_)) : (N.add(M), c--) : (h(L, o), c--);
229
+ const _ = T[d - 1], A = e[c - 1], I = _.key, $ = A.key;
230
+ _ === A ? (l = _.first, c--, d--) : C.has($) ? !o.has(I) || O.has(I) ? R(_) : L.has($) ? c-- : N.get(I) > N.get($) ? (L.add(I), R(_)) : (O.add($), c--) : (h(A, o), c--);
231
231
  }
232
232
  for (; c--; ) {
233
233
  const _ = e[c];
234
- I.has(_.key) || h(_, o);
234
+ C.has(_.key) || h(_, o);
235
235
  }
236
- for (; d; ) G(w[d - 1]);
237
- return ie(T), w;
236
+ for (; d; ) R(T[d - 1]);
237
+ return ne(w), T;
238
238
  }
239
- function tn(e, t, r) {
239
+ function en(e, t, r) {
240
240
  const { fragment: n, after_update: i } = e.$$;
241
- n && n.m(t, r), Ve(() => {
242
- const s = e.$$.on_mount.map(Dt).filter(we);
243
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ie(s), e.$$.on_mount = [];
244
- }), i.forEach(Ve);
241
+ n && n.m(t, r), Xe(() => {
242
+ const s = e.$$.on_mount.map(Ft).filter(He);
243
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ne(s), e.$$.on_mount = [];
244
+ }), i.forEach(Xe);
245
245
  }
246
- function rn(e, t) {
246
+ function tn(e, t) {
247
247
  const r = e.$$;
248
- r.fragment !== null && (Kr(r.after_update), ie(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
248
+ r.fragment !== null && (Jr(r.after_update), ne(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
249
249
  }
250
- function nn(e, t) {
251
- e.$$.dirty[0] === -1 && (Y.push(e), Xt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
250
+ function rn(e, t) {
251
+ e.$$.dirty[0] === -1 && (Y.push(e), Wt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
252
252
  }
253
- function sn(e, t, r, n, i, s, o = null, a = [-1]) {
254
- const h = le;
255
- he(e);
253
+ function nn(e, t, r, n, i, s, o = null, a = [-1]) {
254
+ const h = he;
255
+ ue(e);
256
256
  const u = e.$$ = {
257
257
  fragment: null,
258
258
  ctx: [],
259
259
  // state
260
260
  props: s,
261
- update: B,
261
+ update: P,
262
262
  not_equal: i,
263
- bound: bt(),
263
+ bound: pt(),
264
264
  // lifecycle
265
265
  on_mount: [],
266
266
  on_destroy: [],
@@ -269,7 +269,7 @@ function sn(e, t, r, n, i, s, o = null, a = [-1]) {
269
269
  after_update: [],
270
270
  context: new Map(t.context || (h ? h.$$.context : [])),
271
271
  // everything else
272
- callbacks: bt(),
272
+ callbacks: pt(),
273
273
  dirty: a,
274
274
  skip_bound: !1,
275
275
  root: t.target || h.$$.root
@@ -278,39 +278,39 @@ function sn(e, t, r, n, i, s, o = null, a = [-1]) {
278
278
  let l = !1;
279
279
  if (u.ctx = r ? r(e, t.props || {}, (m, c, ...d) => {
280
280
  const b = d.length ? d[0] : c;
281
- return u.ctx && i(u.ctx[m], u.ctx[m] = b) && (!u.skip_bound && u.bound[m] && u.bound[m](b), l && nn(e, m)), c;
282
- }) : [], u.update(), l = !0, ie(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 && rn(e, m)), c;
282
+ }) : [], u.update(), l = !0, ne(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
283
283
  if (t.hydrate) {
284
- const m = zr(t.target);
285
- u.fragment && u.fragment.l(m), m.forEach(se);
284
+ const m = Wr(t.target);
285
+ u.fragment && u.fragment.l(m), m.forEach(ie);
286
286
  } else
287
287
  u.fragment && u.fragment.c();
288
- t.intro && Wt(e.$$.fragment), tn(e, t.target, t.anchor), S();
288
+ t.intro && zt(e.$$.fragment), en(e, t.target, t.anchor), S();
289
289
  }
290
- he(h);
290
+ ue(h);
291
291
  }
292
- let zt;
293
- typeof HTMLElement == "function" && (zt = class extends HTMLElement {
292
+ let Zt;
293
+ typeof HTMLElement == "function" && (Zt = class extends HTMLElement {
294
294
  constructor(t, r, n) {
295
295
  super();
296
296
  /** The Svelte component constructor */
297
- R(this, "$$ctor");
297
+ M(this, "$$ctor");
298
298
  /** Slots */
299
- R(this, "$$s");
299
+ M(this, "$$s");
300
300
  /** The Svelte component instance */
301
- R(this, "$$c");
301
+ M(this, "$$c");
302
302
  /** Whether or not the custom element is connected */
303
- R(this, "$$cn", !1);
303
+ M(this, "$$cn", !1);
304
304
  /** Component props data */
305
- R(this, "$$d", {});
305
+ M(this, "$$d", {});
306
306
  /** `true` if currently in the process of reflecting component props back to attributes */
307
- R(this, "$$r", !1);
307
+ M(this, "$$r", !1);
308
308
  /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
309
- R(this, "$$p_d", {});
309
+ M(this, "$$p_d", {});
310
310
  /** @type {Record<string, Function[]>} Event listeners */
311
- R(this, "$$l", {});
311
+ M(this, "$$l", {});
312
312
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
313
- R(this, "$$l_u", /* @__PURE__ */ new Map());
313
+ M(this, "$$l_u", /* @__PURE__ */ new Map());
314
314
  this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
315
315
  }
316
316
  addEventListener(t, r, n) {
@@ -327,42 +327,42 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
327
327
  }
328
328
  }
329
329
  connectedCallback() {
330
- return dt(this, null, function* () {
330
+ return bt(this, null, function* () {
331
331
  if (this.$$cn = !0, !this.$$c) {
332
332
  let t = function(s) {
333
333
  return () => {
334
334
  let o;
335
335
  return {
336
336
  c: function() {
337
- o = V("slot"), s !== "default" && K(o, "name", s);
337
+ o = V("slot"), s !== "default" && me(o, "name", s);
338
338
  },
339
339
  /**
340
340
  * @param {HTMLElement} target
341
341
  * @param {HTMLElement} [anchor]
342
342
  */
343
343
  m: function(u, l) {
344
- me(u, o, l);
344
+ fe(u, o, l);
345
345
  },
346
346
  d: function(u) {
347
- u && se(o);
347
+ u && ie(o);
348
348
  }
349
349
  };
350
350
  };
351
351
  };
352
352
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
353
353
  return;
354
- const r = {}, n = Zr(this);
354
+ const r = {}, n = zr(this);
355
355
  for (const s of this.$$s)
356
356
  s in n && (r[s] = [t(s)]);
357
357
  for (const s of this.attributes) {
358
358
  const o = this.$$g_p(s.name);
359
- o in this.$$d || (this.$$d[o] = ve(o, s.value, this.$$p_d, "toProp"));
359
+ o in this.$$d || (this.$$d[o] = Ee(o, s.value, this.$$p_d, "toProp"));
360
360
  }
361
361
  for (const s in this.$$p_d)
362
362
  !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
363
363
  this.$$c = new this.$$ctor({
364
364
  target: this.shadowRoot || this,
365
- props: mt(ft({}, this.$$d), {
365
+ props: dt(mt({}, this.$$d), {
366
366
  $$slots: r,
367
367
  $$scope: {
368
368
  ctx: []
@@ -373,7 +373,7 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
373
373
  this.$$r = !0;
374
374
  for (const s in this.$$p_d)
375
375
  if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
376
- const o = ve(
376
+ const o = Ee(
377
377
  s,
378
378
  this.$$d[s],
379
379
  this.$$p_d,
@@ -397,7 +397,7 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
397
397
  // and setting attributes through setAttribute etc, this is helpful
398
398
  attributeChangedCallback(t, r, n) {
399
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] }));
400
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = Ee(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
401
401
  }
402
402
  disconnectedCallback() {
403
403
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -410,7 +410,7 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
410
410
  ) || t;
411
411
  }
412
412
  });
413
- function ve(e, t, r, n) {
413
+ function Ee(e, t, r, n) {
414
414
  var s;
415
415
  const i = (s = r[e]) == null ? void 0 : s.type;
416
416
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
@@ -440,8 +440,8 @@ function ve(e, t, r, n) {
440
440
  return t;
441
441
  }
442
442
  }
443
- function on(e, t, r, n, i, s) {
444
- let o = class extends zt {
443
+ function sn(e, t, r, n, i, s) {
444
+ let o = class extends Zt {
445
445
  constructor() {
446
446
  super(e, r, i), this.$$p_d = t;
447
447
  }
@@ -458,7 +458,7 @@ function on(e, t, r, n, i, s) {
458
458
  },
459
459
  set(h) {
460
460
  var u;
461
- h = ve(a, h, t), this.$$d[a] = h, (u = this.$$c) == null || u.$set({ [a]: h });
461
+ h = Ee(a, h, t), this.$$d[a] = h, (u = this.$$c) == null || u.$set({ [a]: h });
462
462
  }
463
463
  });
464
464
  }), n.forEach((a) => {
@@ -471,7 +471,7 @@ function on(e, t, r, n, i, s) {
471
471
  }), e.element = /** @type {any} */
472
472
  o, o;
473
473
  }
474
- class an {
474
+ class on {
475
475
  constructor() {
476
476
  /**
477
477
  * ### PRIVATE API
@@ -480,7 +480,7 @@ class an {
480
480
  *
481
481
  * @type {any}
482
482
  */
483
- R(this, "$$");
483
+ M(this, "$$");
484
484
  /**
485
485
  * ### PRIVATE API
486
486
  *
@@ -488,11 +488,11 @@ class an {
488
488
  *
489
489
  * @type {any}
490
490
  */
491
- R(this, "$$set");
491
+ M(this, "$$set");
492
492
  }
493
493
  /** @returns {void} */
494
494
  $destroy() {
495
- rn(this, 1), this.$destroy = B;
495
+ tn(this, 1), this.$destroy = P;
496
496
  }
497
497
  /**
498
498
  * @template {Extract<keyof Events, string>} K
@@ -501,8 +501,8 @@ class an {
501
501
  * @returns {() => void}
502
502
  */
503
503
  $on(t, r) {
504
- if (!we(r))
505
- return B;
504
+ if (!He(r))
505
+ return P;
506
506
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
507
507
  return n.push(r), () => {
508
508
  const i = n.indexOf(r);
@@ -514,22 +514,22 @@ class an {
514
514
  * @returns {void}
515
515
  */
516
516
  $set(t) {
517
- this.$$set && !$r(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
517
+ this.$$set && !Fr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
518
518
  }
519
519
  }
520
- const un = "4";
521
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(un);
522
- var Xe = function(e, t) {
523
- return Xe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
520
+ const an = "4";
521
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(an);
522
+ var We = function(e, t) {
523
+ return We = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
524
524
  r.__proto__ = n;
525
525
  } || function(r, n) {
526
526
  for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
527
- }, Xe(e, t);
527
+ }, We(e, t);
528
528
  };
529
529
  function D(e, t) {
530
530
  if (typeof t != "function" && t !== null)
531
531
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
532
- Xe(e, t);
532
+ We(e, t);
533
533
  function r() {
534
534
  this.constructor = e;
535
535
  }
@@ -544,7 +544,7 @@ var v = function() {
544
544
  return t;
545
545
  }, v.apply(this, arguments);
546
546
  };
547
- function hn(e, t) {
547
+ function un(e, t) {
548
548
  var r = {};
549
549
  for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
550
550
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -552,7 +552,7 @@ function hn(e, t) {
552
552
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
553
553
  return r;
554
554
  }
555
- function We(e) {
555
+ function ze(e) {
556
556
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
557
557
  if (r) return r.call(e);
558
558
  if (e && typeof e.length == "number") return {
@@ -562,7 +562,7 @@ function We(e) {
562
562
  };
563
563
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
564
564
  }
565
- function ze(e, t) {
565
+ function Ze(e, t) {
566
566
  var r = typeof Symbol == "function" && e[Symbol.iterator];
567
567
  if (!r) return e;
568
568
  var n = r.call(e), i, s = [], o;
@@ -587,13 +587,13 @@ function J(e, t, r) {
587
587
  function U(e) {
588
588
  return typeof e == "function";
589
589
  }
590
- function Zt(e) {
590
+ function Qt(e) {
591
591
  var t = function(n) {
592
592
  Error.call(n), n.stack = new Error().stack;
593
593
  }, r = e(t);
594
594
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
595
595
  }
596
- var Re = Zt(function(e) {
596
+ var Ge = Qt(function(e) {
597
597
  return function(r) {
598
598
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
599
599
  ` + r.map(function(n, i) {
@@ -602,13 +602,13 @@ var Re = Zt(function(e) {
602
602
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
603
603
  };
604
604
  });
605
- function Ze(e, t) {
605
+ function Qe(e, t) {
606
606
  if (e) {
607
607
  var r = e.indexOf(t);
608
608
  0 <= r && e.splice(r, 1);
609
609
  }
610
610
  }
611
- var He = function() {
611
+ var Ae = function() {
612
612
  function e(t) {
613
613
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
614
614
  }
@@ -620,7 +620,7 @@ var He = function() {
620
620
  if (o)
621
621
  if (this._parentage = null, Array.isArray(o))
622
622
  try {
623
- for (var a = We(o), h = a.next(); !h.done; h = a.next()) {
623
+ for (var a = ze(o), h = a.next(); !h.done; h = a.next()) {
624
624
  var u = h.value;
625
625
  u.remove(this);
626
626
  }
@@ -640,18 +640,18 @@ var He = function() {
640
640
  try {
641
641
  l();
642
642
  } catch (y) {
643
- s = y instanceof Re ? y.errors : [y];
643
+ s = y instanceof Ge ? y.errors : [y];
644
644
  }
645
645
  var m = this._finalizers;
646
646
  if (m) {
647
647
  this._finalizers = null;
648
648
  try {
649
- for (var c = We(m), d = c.next(); !d.done; d = c.next()) {
649
+ for (var c = ze(m), d = c.next(); !d.done; d = c.next()) {
650
650
  var b = d.value;
651
651
  try {
652
- gt(b);
652
+ yt(b);
653
653
  } catch (y) {
654
- s = s != null ? s : [], y instanceof Re ? s = J(J([], ze(s)), ze(y.errors)) : s.push(y);
654
+ s = s != null ? s : [], y instanceof Ge ? s = J(J([], Ze(s)), Ze(y.errors)) : s.push(y);
655
655
  }
656
656
  }
657
657
  } catch (y) {
@@ -665,13 +665,13 @@ var He = function() {
665
665
  }
666
666
  }
667
667
  if (s)
668
- throw new Re(s);
668
+ throw new Ge(s);
669
669
  }
670
670
  }, e.prototype.add = function(t) {
671
671
  var r;
672
672
  if (t && t !== this)
673
673
  if (this.closed)
674
- gt(t);
674
+ yt(t);
675
675
  else {
676
676
  if (t instanceof e) {
677
677
  if (t.closed || t._hasParent(this))
@@ -688,52 +688,52 @@ var He = function() {
688
688
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
689
689
  }, e.prototype._removeParent = function(t) {
690
690
  var r = this._parentage;
691
- r === t ? this._parentage = null : Array.isArray(r) && Ze(r, t);
691
+ r === t ? this._parentage = null : Array.isArray(r) && Qe(r, t);
692
692
  }, e.prototype.remove = function(t) {
693
693
  var r = this._finalizers;
694
- r && Ze(r, t), t instanceof e && t._removeParent(this);
694
+ r && Qe(r, t), t instanceof e && t._removeParent(this);
695
695
  }, e.EMPTY = function() {
696
696
  var t = new e();
697
697
  return t.closed = !0, t;
698
698
  }(), e;
699
- }(), Qt = He.EMPTY;
700
- function Yt(e) {
701
- return e instanceof He || e && "closed" in e && U(e.remove) && U(e.add) && U(e.unsubscribe);
699
+ }(), Yt = Ae.EMPTY;
700
+ function qt(e) {
701
+ return e instanceof Ae || e && "closed" in e && U(e.remove) && U(e.add) && U(e.unsubscribe);
702
702
  }
703
- function gt(e) {
703
+ function yt(e) {
704
704
  U(e) ? e() : e.unsubscribe();
705
705
  }
706
- var ln = {
706
+ var hn = {
707
707
  Promise: void 0
708
- }, cn = {
708
+ }, ln = {
709
709
  setTimeout: function(e, t) {
710
710
  for (var r = [], n = 2; n < arguments.length; n++)
711
711
  r[n - 2] = arguments[n];
712
- return setTimeout.apply(void 0, J([e, t], ze(r)));
712
+ return setTimeout.apply(void 0, J([e, t], Ze(r)));
713
713
  },
714
714
  clearTimeout: function(e) {
715
715
  return clearTimeout(e);
716
716
  },
717
717
  delegate: void 0
718
718
  };
719
- function fn(e) {
720
- cn.setTimeout(function() {
719
+ function cn(e) {
720
+ ln.setTimeout(function() {
721
721
  throw e;
722
722
  });
723
723
  }
724
- function yt() {
724
+ function vt() {
725
725
  }
726
- function Ee(e) {
726
+ function _e(e) {
727
727
  e();
728
728
  }
729
- var qt = function(e) {
729
+ var Jt = function(e) {
730
730
  D(t, e);
731
731
  function t(r) {
732
732
  var n = e.call(this) || this;
733
- return n.isStopped = !1, r ? (n.destination = r, Yt(r) && r.add(n)) : n.destination = bn, n;
733
+ return n.isStopped = !1, r ? (n.destination = r, qt(r) && r.add(n)) : n.destination = dn, n;
734
734
  }
735
735
  return t.create = function(r, n, i) {
736
- return new Qe(r, n, i);
736
+ return new Ye(r, n, i);
737
737
  }, t.prototype.next = function(r) {
738
738
  this.isStopped || this._next(r);
739
739
  }, t.prototype.error = function(r) {
@@ -757,7 +757,7 @@ var qt = function(e) {
757
757
  this.unsubscribe();
758
758
  }
759
759
  }, t;
760
- }(He), mn = function() {
760
+ }(Ae), fn = function() {
761
761
  function e(t) {
762
762
  this.partialObserver = t;
763
763
  }
@@ -767,7 +767,7 @@ var qt = function(e) {
767
767
  try {
768
768
  r.next(t);
769
769
  } catch (n) {
770
- ge(n);
770
+ ye(n);
771
771
  }
772
772
  }, e.prototype.error = function(t) {
773
773
  var r = this.partialObserver;
@@ -775,20 +775,20 @@ var qt = function(e) {
775
775
  try {
776
776
  r.error(t);
777
777
  } catch (n) {
778
- ge(n);
778
+ ye(n);
779
779
  }
780
780
  else
781
- ge(t);
781
+ ye(t);
782
782
  }, e.prototype.complete = function() {
783
783
  var t = this.partialObserver;
784
784
  if (t.complete)
785
785
  try {
786
786
  t.complete();
787
787
  } catch (r) {
788
- ge(r);
788
+ ye(r);
789
789
  }
790
790
  }, e;
791
- }(), Qe = function(e) {
791
+ }(), Ye = function(e) {
792
792
  D(t, e);
793
793
  function t(r, n, i) {
794
794
  var s = e.call(this) || this, o;
@@ -796,35 +796,35 @@ var qt = function(e) {
796
796
  next: r != null ? r : void 0,
797
797
  error: n != null ? n : void 0,
798
798
  complete: i != null ? i : void 0
799
- } : o = r, s.destination = new mn(o), s;
799
+ } : o = r, s.destination = new fn(o), s;
800
800
  }
801
801
  return t;
802
- }(qt);
803
- function ge(e) {
804
- fn(e);
802
+ }(Jt);
803
+ function ye(e) {
804
+ cn(e);
805
805
  }
806
- function dn(e) {
806
+ function mn(e) {
807
807
  throw e;
808
808
  }
809
- var bn = {
809
+ var dn = {
810
810
  closed: !0,
811
- next: yt,
812
- error: dn,
813
- complete: yt
814
- }, pn = function() {
811
+ next: vt,
812
+ error: mn,
813
+ complete: vt
814
+ }, bn = function() {
815
815
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
816
816
  }();
817
- function gn(e) {
817
+ function pn(e) {
818
818
  return e;
819
819
  }
820
- function yn(e) {
821
- return e.length === 0 ? gn : e.length === 1 ? e[0] : function(r) {
820
+ function gn(e) {
821
+ return e.length === 0 ? pn : e.length === 1 ? e[0] : function(r) {
822
822
  return e.reduce(function(n, i) {
823
823
  return i(n);
824
824
  }, r);
825
825
  };
826
826
  }
827
- var vt = function() {
827
+ var Et = function() {
828
828
  function e(t) {
829
829
  t && (this._subscribe = t);
830
830
  }
@@ -832,8 +832,8 @@ var vt = function() {
832
832
  var r = new e();
833
833
  return r.source = this, r.operator = t, r;
834
834
  }, e.prototype.subscribe = function(t, r, n) {
835
- var i = this, s = En(t) ? t : new Qe(t, r, n);
836
- return Ee(function() {
835
+ var i = this, s = vn(t) ? t : new Ye(t, r, n);
836
+ return _e(function() {
837
837
  var o = i, a = o.operator, h = o.source;
838
838
  s.add(a ? a.call(s, h) : h ? i._subscribe(s) : i._trySubscribe(s));
839
839
  }), s;
@@ -845,8 +845,8 @@ var vt = function() {
845
845
  }
846
846
  }, e.prototype.forEach = function(t, r) {
847
847
  var n = this;
848
- return r = Et(r), new r(function(i, s) {
849
- var o = new Qe({
848
+ return r = _t(r), new r(function(i, s) {
849
+ var o = new Ye({
850
850
  next: function(a) {
851
851
  try {
852
852
  t(a);
@@ -862,15 +862,15 @@ var vt = function() {
862
862
  }, e.prototype._subscribe = function(t) {
863
863
  var r;
864
864
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
865
- }, e.prototype[pn] = function() {
865
+ }, e.prototype[bn] = function() {
866
866
  return this;
867
867
  }, e.prototype.pipe = function() {
868
868
  for (var t = [], r = 0; r < arguments.length; r++)
869
869
  t[r] = arguments[r];
870
- return yn(t)(this);
870
+ return gn(t)(this);
871
871
  }, e.prototype.toPromise = function(t) {
872
872
  var r = this;
873
- return t = Et(t), new t(function(n, i) {
873
+ return t = _t(t), new t(function(n, i) {
874
874
  var s;
875
875
  r.subscribe(function(o) {
876
876
  return s = o;
@@ -884,40 +884,40 @@ var vt = function() {
884
884
  return new e(t);
885
885
  }, e;
886
886
  }();
887
- function Et(e) {
887
+ function _t(e) {
888
888
  var t;
889
- return (t = e != null ? e : ln.Promise) !== null && t !== void 0 ? t : Promise;
889
+ return (t = e != null ? e : hn.Promise) !== null && t !== void 0 ? t : Promise;
890
890
  }
891
- function vn(e) {
891
+ function yn(e) {
892
892
  return e && U(e.next) && U(e.error) && U(e.complete);
893
893
  }
894
- function En(e) {
895
- return e && e instanceof qt || vn(e) && Yt(e);
894
+ function vn(e) {
895
+ return e && e instanceof Jt || yn(e) && qt(e);
896
896
  }
897
- var _n = Zt(function(e) {
897
+ var En = Qt(function(e) {
898
898
  return function() {
899
899
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
900
900
  };
901
- }), Jt = function(e) {
901
+ }), Kt = function(e) {
902
902
  D(t, e);
903
903
  function t() {
904
904
  var r = e.call(this) || this;
905
905
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
906
906
  }
907
907
  return t.prototype.lift = function(r) {
908
- var n = new _t(this, this);
908
+ var n = new xt(this, this);
909
909
  return n.operator = r, n;
910
910
  }, t.prototype._throwIfClosed = function() {
911
911
  if (this.closed)
912
- throw new _n();
912
+ throw new En();
913
913
  }, t.prototype.next = function(r) {
914
914
  var n = this;
915
- Ee(function() {
915
+ _e(function() {
916
916
  var i, s;
917
917
  if (n._throwIfClosed(), !n.isStopped) {
918
918
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
919
919
  try {
920
- for (var o = We(n.currentObservers), a = o.next(); !a.done; a = o.next()) {
920
+ for (var o = ze(n.currentObservers), a = o.next(); !a.done; a = o.next()) {
921
921
  var h = a.value;
922
922
  h.next(r);
923
923
  }
@@ -934,7 +934,7 @@ var _n = Zt(function(e) {
934
934
  });
935
935
  }, t.prototype.error = function(r) {
936
936
  var n = this;
937
- Ee(function() {
937
+ _e(function() {
938
938
  if (n._throwIfClosed(), !n.isStopped) {
939
939
  n.hasError = n.isStopped = !0, n.thrownError = r;
940
940
  for (var i = n.observers; i.length; )
@@ -943,7 +943,7 @@ var _n = Zt(function(e) {
943
943
  });
944
944
  }, t.prototype.complete = function() {
945
945
  var r = this;
946
- Ee(function() {
946
+ _e(function() {
947
947
  if (r._throwIfClosed(), !r.isStopped) {
948
948
  r.isStopped = !0;
949
949
  for (var n = r.observers; n.length; )
@@ -965,19 +965,19 @@ var _n = Zt(function(e) {
965
965
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
966
966
  }, t.prototype._innerSubscribe = function(r) {
967
967
  var n = this, i = this, s = i.hasError, o = i.isStopped, a = i.observers;
968
- return s || o ? Qt : (this.currentObservers = null, a.push(r), new He(function() {
969
- n.currentObservers = null, Ze(a, r);
968
+ return s || o ? Yt : (this.currentObservers = null, a.push(r), new Ae(function() {
969
+ n.currentObservers = null, Qe(a, r);
970
970
  }));
971
971
  }, t.prototype._checkFinalizedStatuses = function(r) {
972
972
  var n = this, i = n.hasError, s = n.thrownError, o = n.isStopped;
973
973
  i ? r.error(s) : o && r.complete();
974
974
  }, t.prototype.asObservable = function() {
975
- var r = new vt();
975
+ var r = new Et();
976
976
  return r.source = this, r;
977
977
  }, t.create = function(r, n) {
978
- return new _t(r, n);
978
+ return new xt(r, n);
979
979
  }, t;
980
- }(vt), _t = function(e) {
980
+ }(Et), xt = function(e) {
981
981
  D(t, e);
982
982
  function t(r, n) {
983
983
  var i = e.call(this) || this;
@@ -994,17 +994,17 @@ var _n = Zt(function(e) {
994
994
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
995
995
  }, t.prototype._subscribe = function(r) {
996
996
  var n, i;
997
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Qt;
997
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Yt;
998
998
  }, t;
999
- }(Jt), Kt = {
999
+ }(Kt), er = {
1000
1000
  now: function() {
1001
- return (Kt.delegate || Date).now();
1001
+ return (er.delegate || Date).now();
1002
1002
  },
1003
1003
  delegate: void 0
1004
- }, xn = function(e) {
1004
+ }, _n = function(e) {
1005
1005
  D(t, e);
1006
1006
  function t(r, n, i) {
1007
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Kt);
1007
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = er);
1008
1008
  var s = e.call(this) || this;
1009
1009
  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;
1010
1010
  }
@@ -1024,24 +1024,24 @@ var _n = Zt(function(e) {
1024
1024
  u && s.splice(0, u + 1);
1025
1025
  }
1026
1026
  }, t;
1027
- }(Jt);
1028
- const xt = [], St = {}, Sn = (e, t = 0) => {
1029
- if (xt.indexOf(e) == -1) {
1030
- const r = new xn(t);
1031
- St[e] = r, xt.push(e);
1027
+ }(Kt);
1028
+ const St = [], wt = {}, xn = (e, t = 0) => {
1029
+ if (St.indexOf(e) == -1) {
1030
+ const r = new _n(t);
1031
+ wt[e] = r, St.push(e);
1032
1032
  }
1033
- return St[e];
1033
+ return wt[e];
1034
1034
  }, Q = [];
1035
- function Tn(e, t) {
1035
+ function Sn(e, t) {
1036
1036
  return {
1037
- subscribe: Ae(e, t).subscribe
1037
+ subscribe: Be(e, t).subscribe
1038
1038
  };
1039
1039
  }
1040
- function Ae(e, t = B) {
1040
+ function Be(e, t = P) {
1041
1041
  let r;
1042
1042
  const n = /* @__PURE__ */ new Set();
1043
1043
  function i(a) {
1044
- if (Ft(e, a) && (e = a, r)) {
1044
+ if ($t(e, a) && (e = a, r)) {
1045
1045
  const h = !Q.length;
1046
1046
  for (const u of n)
1047
1047
  u[1](), Q.push(u, e);
@@ -1055,34 +1055,34 @@ function Ae(e, t = B) {
1055
1055
  function s(a) {
1056
1056
  i(a(e));
1057
1057
  }
1058
- function o(a, h = B) {
1058
+ function o(a, h = P) {
1059
1059
  const u = [a, h];
1060
- return n.add(u), n.size === 1 && (r = t(i, s) || B), a(e), () => {
1060
+ return n.add(u), n.size === 1 && (r = t(i, s) || P), a(e), () => {
1061
1061
  n.delete(u), n.size === 0 && r && (r(), r = null);
1062
1062
  };
1063
1063
  }
1064
1064
  return { set: i, update: s, subscribe: o };
1065
1065
  }
1066
- function oe(e, t, r) {
1066
+ function se(e, t, r) {
1067
1067
  const n = !Array.isArray(e), i = n ? [e] : e;
1068
1068
  if (!i.every(Boolean))
1069
1069
  throw new Error("derived() expects stores as input, got a falsy value");
1070
1070
  const s = t.length < 2;
1071
- return Tn(r, (o, a) => {
1071
+ return Sn(r, (o, a) => {
1072
1072
  let h = !1;
1073
1073
  const u = [];
1074
- let l = 0, m = B;
1074
+ let l = 0, m = P;
1075
1075
  const c = () => {
1076
1076
  if (l)
1077
1077
  return;
1078
1078
  m();
1079
1079
  const b = t(n ? u[0] : u, o, a);
1080
- s ? o(b) : m = we(b) ? b : B;
1080
+ s ? o(b) : m = He(b) ? b : P;
1081
1081
  }, d = i.map(
1082
- (b, y) => $t(
1082
+ (b, y) => jt(
1083
1083
  b,
1084
- (w) => {
1085
- u[y] = w, l &= ~(1 << y), h && c();
1084
+ (T) => {
1085
+ u[y] = T, l &= ~(1 << y), h && c();
1086
1086
  },
1087
1087
  () => {
1088
1088
  l |= 1 << y;
@@ -1090,115 +1090,115 @@ function oe(e, t, r) {
1090
1090
  )
1091
1091
  );
1092
1092
  return h = !0, c(), function() {
1093
- ie(d), m(), h = !1;
1093
+ ne(d), m(), h = !1;
1094
1094
  };
1095
1095
  });
1096
1096
  }
1097
1097
  function wn(e) {
1098
1098
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1099
1099
  }
1100
- var Hn = function(t) {
1101
- return An(t) && !Bn(t);
1100
+ var Tn = function(t) {
1101
+ return Hn(t) && !An(t);
1102
1102
  };
1103
- function An(e) {
1103
+ function Hn(e) {
1104
1104
  return !!e && typeof e == "object";
1105
1105
  }
1106
- function Bn(e) {
1106
+ function An(e) {
1107
1107
  var t = Object.prototype.toString.call(e);
1108
- return t === "[object RegExp]" || t === "[object Date]" || On(e);
1108
+ return t === "[object RegExp]" || t === "[object Date]" || Nn(e);
1109
1109
  }
1110
- var Pn = typeof Symbol == "function" && Symbol.for, Nn = Pn ? Symbol.for("react.element") : 60103;
1111
- function On(e) {
1112
- return e.$$typeof === Nn;
1110
+ var Bn = typeof Symbol == "function" && Symbol.for, Pn = Bn ? Symbol.for("react.element") : 60103;
1111
+ function Nn(e) {
1112
+ return e.$$typeof === Pn;
1113
1113
  }
1114
- function Ln(e) {
1114
+ function On(e) {
1115
1115
  return Array.isArray(e) ? [] : {};
1116
1116
  }
1117
- function ce(e, t) {
1118
- return t.clone !== !1 && t.isMergeableObject(e) ? ee(Ln(e), e, t) : e;
1117
+ function le(e, t) {
1118
+ return t.clone !== !1 && t.isMergeableObject(e) ? K(On(e), e, t) : e;
1119
1119
  }
1120
- function Cn(e, t, r) {
1120
+ function Ln(e, t, r) {
1121
1121
  return e.concat(t).map(function(n) {
1122
- return ce(n, r);
1122
+ return le(n, r);
1123
1123
  });
1124
1124
  }
1125
1125
  function In(e, t) {
1126
1126
  if (!t.customMerge)
1127
- return ee;
1127
+ return K;
1128
1128
  var r = t.customMerge(e);
1129
- return typeof r == "function" ? r : ee;
1129
+ return typeof r == "function" ? r : K;
1130
1130
  }
1131
- function Mn(e) {
1131
+ function Cn(e) {
1132
1132
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1133
1133
  return Object.propertyIsEnumerable.call(e, t);
1134
1134
  }) : [];
1135
1135
  }
1136
1136
  function Tt(e) {
1137
- return Object.keys(e).concat(Mn(e));
1137
+ return Object.keys(e).concat(Cn(e));
1138
1138
  }
1139
- function er(e, t) {
1139
+ function tr(e, t) {
1140
1140
  try {
1141
1141
  return t in e;
1142
1142
  } catch (r) {
1143
1143
  return !1;
1144
1144
  }
1145
1145
  }
1146
- function Rn(e, t) {
1147
- return er(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1146
+ function Mn(e, t) {
1147
+ return tr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1148
1148
  }
1149
- function Gn(e, t, r) {
1149
+ function Rn(e, t, r) {
1150
1150
  var n = {};
1151
1151
  return r.isMergeableObject(e) && Tt(e).forEach(function(i) {
1152
- n[i] = ce(e[i], r);
1152
+ n[i] = le(e[i], r);
1153
1153
  }), Tt(t).forEach(function(i) {
1154
- Rn(e, i) || (er(e, i) && r.isMergeableObject(t[i]) ? n[i] = In(i, r)(e[i], t[i], r) : n[i] = ce(t[i], r));
1154
+ Mn(e, i) || (tr(e, i) && r.isMergeableObject(t[i]) ? n[i] = In(i, r)(e[i], t[i], r) : n[i] = le(t[i], r));
1155
1155
  }), n;
1156
1156
  }
1157
- function ee(e, t, r) {
1158
- r = r || {}, r.arrayMerge = r.arrayMerge || Cn, r.isMergeableObject = r.isMergeableObject || Hn, r.cloneUnlessOtherwiseSpecified = ce;
1157
+ function K(e, t, r) {
1158
+ r = r || {}, r.arrayMerge = r.arrayMerge || Ln, r.isMergeableObject = r.isMergeableObject || Tn, r.cloneUnlessOtherwiseSpecified = le;
1159
1159
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
1160
- return s ? n ? r.arrayMerge(e, t, r) : Gn(e, t, r) : ce(t, r);
1160
+ return s ? n ? r.arrayMerge(e, t, r) : Rn(e, t, r) : le(t, r);
1161
1161
  }
1162
- ee.all = function(t, r) {
1162
+ K.all = function(t, r) {
1163
1163
  if (!Array.isArray(t))
1164
1164
  throw new Error("first argument should be an array");
1165
1165
  return t.reduce(function(n, i) {
1166
- return ee(n, i, r);
1166
+ return K(n, i, r);
1167
1167
  }, {});
1168
1168
  };
1169
- var Un = ee, Dn = Un;
1170
- const Fn = /* @__PURE__ */ wn(Dn);
1171
- function Ge(e, t) {
1172
- var r = t && t.cache ? t.cache : zn, n = t && t.serializer ? t.serializer : Xn, i = t && t.strategy ? t.strategy : kn;
1169
+ var Gn = K, Un = Gn;
1170
+ const Dn = /* @__PURE__ */ wn(Un);
1171
+ function Ue(e, t) {
1172
+ var r = t && t.cache ? t.cache : Wn, n = t && t.serializer ? t.serializer : Vn, i = t && t.strategy ? t.strategy : jn;
1173
1173
  return i(e, {
1174
1174
  cache: r,
1175
1175
  serializer: n
1176
1176
  });
1177
1177
  }
1178
- function $n(e) {
1178
+ function Fn(e) {
1179
1179
  return e == null || typeof e == "number" || typeof e == "boolean";
1180
1180
  }
1181
- function jn(e, t, r, n) {
1182
- var i = $n(n) ? n : r(n), s = t.get(i);
1181
+ function $n(e, t, r, n) {
1182
+ var i = Fn(n) ? n : r(n), s = t.get(i);
1183
1183
  return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
1184
1184
  }
1185
- function tr(e, t, r) {
1185
+ function rr(e, t, r) {
1186
1186
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
1187
1187
  return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
1188
1188
  }
1189
- function rr(e, t, r, n, i) {
1189
+ function nr(e, t, r, n, i) {
1190
1190
  return r.bind(t, e, n, i);
1191
1191
  }
1192
- function kn(e, t) {
1193
- var r = e.length === 1 ? jn : tr;
1194
- return rr(e, this, r, t.cache.create(), t.serializer);
1192
+ function jn(e, t) {
1193
+ var r = e.length === 1 ? $n : rr;
1194
+ return nr(e, this, r, t.cache.create(), t.serializer);
1195
1195
  }
1196
- function Vn(e, t) {
1197
- return rr(e, this, tr, t.cache.create(), t.serializer);
1196
+ function kn(e, t) {
1197
+ return nr(e, this, rr, t.cache.create(), t.serializer);
1198
1198
  }
1199
- var Xn = function() {
1199
+ var Vn = function() {
1200
1200
  return JSON.stringify(arguments);
1201
- }, Wn = (
1201
+ }, Xn = (
1202
1202
  /** @class */
1203
1203
  function() {
1204
1204
  function e() {
@@ -1210,12 +1210,12 @@ var Xn = function() {
1210
1210
  this.cache[t] = r;
1211
1211
  }, e;
1212
1212
  }()
1213
- ), zn = {
1213
+ ), Wn = {
1214
1214
  create: function() {
1215
- return new Wn();
1215
+ return new Xn();
1216
1216
  }
1217
- }, Ue = {
1218
- variadic: Vn
1217
+ }, De = {
1218
+ variadic: kn
1219
1219
  }, p;
1220
1220
  (function(e) {
1221
1221
  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";
@@ -1224,47 +1224,47 @@ var x;
1224
1224
  (function(e) {
1225
1225
  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";
1226
1226
  })(x || (x = {}));
1227
- var te;
1227
+ var ee;
1228
1228
  (function(e) {
1229
1229
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1230
- })(te || (te = {}));
1231
- function wt(e) {
1230
+ })(ee || (ee = {}));
1231
+ function Ht(e) {
1232
1232
  return e.type === x.literal;
1233
1233
  }
1234
- function Zn(e) {
1234
+ function zn(e) {
1235
1235
  return e.type === x.argument;
1236
1236
  }
1237
- function nr(e) {
1237
+ function ir(e) {
1238
1238
  return e.type === x.number;
1239
1239
  }
1240
- function ir(e) {
1240
+ function sr(e) {
1241
1241
  return e.type === x.date;
1242
1242
  }
1243
- function sr(e) {
1243
+ function or(e) {
1244
1244
  return e.type === x.time;
1245
1245
  }
1246
- function or(e) {
1246
+ function ar(e) {
1247
1247
  return e.type === x.select;
1248
1248
  }
1249
- function ar(e) {
1249
+ function ur(e) {
1250
1250
  return e.type === x.plural;
1251
1251
  }
1252
- function Qn(e) {
1252
+ function Zn(e) {
1253
1253
  return e.type === x.pound;
1254
1254
  }
1255
- function ur(e) {
1255
+ function hr(e) {
1256
1256
  return e.type === x.tag;
1257
1257
  }
1258
- function hr(e) {
1259
- return !!(e && typeof e == "object" && e.type === te.number);
1258
+ function lr(e) {
1259
+ return !!(e && typeof e == "object" && e.type === ee.number);
1260
1260
  }
1261
- function Ye(e) {
1262
- return !!(e && typeof e == "object" && e.type === te.dateTime);
1261
+ function qe(e) {
1262
+ return !!(e && typeof e == "object" && e.type === ee.dateTime);
1263
1263
  }
1264
- var lr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Yn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1265
- function qn(e) {
1264
+ var cr = /[ \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;
1265
+ function Yn(e) {
1266
1266
  var t = {};
1267
- return e.replace(Yn, function(r) {
1267
+ return e.replace(Qn, function(r) {
1268
1268
  var n = r.length;
1269
1269
  switch (r[0]) {
1270
1270
  case "G":
@@ -1353,11 +1353,11 @@ function qn(e) {
1353
1353
  return "";
1354
1354
  }), t;
1355
1355
  }
1356
- var Jn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1357
- function Kn(e) {
1356
+ var qn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1357
+ function Jn(e) {
1358
1358
  if (e.length === 0)
1359
1359
  throw new Error("Number skeleton cannot be empty");
1360
- for (var t = e.split(Jn).filter(function(c) {
1360
+ for (var t = e.split(qn).filter(function(c) {
1361
1361
  return c.length > 0;
1362
1362
  }), r = [], n = 0, i = t; n < i.length; n++) {
1363
1363
  var s = i[n], o = s.split("/");
@@ -1372,17 +1372,17 @@ function Kn(e) {
1372
1372
  }
1373
1373
  return r;
1374
1374
  }
1375
- function ei(e) {
1375
+ function Kn(e) {
1376
1376
  return e.replace(/^(.*?)-/, "");
1377
1377
  }
1378
- var Ht = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, cr = /^(@+)?(\+|#+)?[rs]?$/g, ti = /(\*)(0+)|(#+)(0+)|(0+)/g, fr = /^(0+)$/;
1379
- function At(e) {
1378
+ var At = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, fr = /^(@+)?(\+|#+)?[rs]?$/g, ei = /(\*)(0+)|(#+)(0+)|(0+)/g, mr = /^(0+)$/;
1379
+ function Bt(e) {
1380
1380
  var t = {};
1381
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(cr, function(r, n, i) {
1381
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(fr, function(r, n, i) {
1382
1382
  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)), "";
1383
1383
  }), t;
1384
1384
  }
1385
- function mr(e) {
1385
+ function dr(e) {
1386
1386
  switch (e) {
1387
1387
  case "sign-auto":
1388
1388
  return {
@@ -1422,7 +1422,7 @@ function mr(e) {
1422
1422
  };
1423
1423
  }
1424
1424
  }
1425
- function ri(e) {
1425
+ function ti(e) {
1426
1426
  var t;
1427
1427
  if (e[0] === "E" && e[1] === "E" ? (t = {
1428
1428
  notation: "engineering"
@@ -1430,17 +1430,17 @@ function ri(e) {
1430
1430
  notation: "scientific"
1431
1431
  }, e = e.slice(1)), t) {
1432
1432
  var r = e.slice(0, 2);
1433
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !fr.test(e))
1433
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !mr.test(e))
1434
1434
  throw new Error("Malformed concise eng/scientific notation");
1435
1435
  t.minimumIntegerDigits = e.length;
1436
1436
  }
1437
1437
  return t;
1438
1438
  }
1439
- function Bt(e) {
1440
- var t = {}, r = mr(e);
1439
+ function Pt(e) {
1440
+ var t = {}, r = dr(e);
1441
1441
  return r || t;
1442
1442
  }
1443
- function ni(e) {
1443
+ function ri(e) {
1444
1444
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1445
1445
  var i = n[r];
1446
1446
  switch (i.stem) {
@@ -1464,7 +1464,7 @@ function ni(e) {
1464
1464
  continue;
1465
1465
  case "measure-unit":
1466
1466
  case "unit":
1467
- t.style = "unit", t.unit = ei(i.options[0]);
1467
+ t.style = "unit", t.unit = Kn(i.options[0]);
1468
1468
  continue;
1469
1469
  case "compact-short":
1470
1470
  case "K":
@@ -1476,12 +1476,12 @@ function ni(e) {
1476
1476
  continue;
1477
1477
  case "scientific":
1478
1478
  t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1479
- return v(v({}, h), Bt(u));
1479
+ return v(v({}, h), Pt(u));
1480
1480
  }, {}));
1481
1481
  continue;
1482
1482
  case "engineering":
1483
1483
  t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1484
- return v(v({}, h), Bt(u));
1484
+ return v(v({}, h), Pt(u));
1485
1485
  }, {}));
1486
1486
  continue;
1487
1487
  case "notation-simple":
@@ -1526,7 +1526,7 @@ function ni(e) {
1526
1526
  case "integer-width":
1527
1527
  if (i.options.length > 1)
1528
1528
  throw new RangeError("integer-width stems only accept a single optional option");
1529
- i.options[0].replace(ti, function(h, u, l, m, c, d) {
1529
+ i.options[0].replace(ei, function(h, u, l, m, c, d) {
1530
1530
  if (u)
1531
1531
  t.minimumIntegerDigits = l.length;
1532
1532
  else {
@@ -1539,32 +1539,32 @@ function ni(e) {
1539
1539
  });
1540
1540
  continue;
1541
1541
  }
1542
- if (fr.test(i.stem)) {
1542
+ if (mr.test(i.stem)) {
1543
1543
  t.minimumIntegerDigits = i.stem.length;
1544
1544
  continue;
1545
1545
  }
1546
- if (Ht.test(i.stem)) {
1546
+ if (At.test(i.stem)) {
1547
1547
  if (i.options.length > 1)
1548
1548
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1549
- i.stem.replace(Ht, function(h, u, l, m, c, d) {
1549
+ i.stem.replace(At, function(h, u, l, m, c, d) {
1550
1550
  return l === "*" ? t.minimumFractionDigits = u.length : m && m[0] === "#" ? t.maximumFractionDigits = m.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1551
1551
  });
1552
1552
  var s = i.options[0];
1553
- s === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = v(v({}, t), At(s)));
1553
+ s === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = v(v({}, t), Bt(s)));
1554
1554
  continue;
1555
1555
  }
1556
- if (cr.test(i.stem)) {
1557
- t = v(v({}, t), At(i.stem));
1556
+ if (fr.test(i.stem)) {
1557
+ t = v(v({}, t), Bt(i.stem));
1558
1558
  continue;
1559
1559
  }
1560
- var o = mr(i.stem);
1560
+ var o = dr(i.stem);
1561
1561
  o && (t = v(v({}, t), o));
1562
- var a = ri(i.stem);
1562
+ var a = ti(i.stem);
1563
1563
  a && (t = v(v({}, t), a));
1564
1564
  }
1565
1565
  return t;
1566
1566
  }
1567
- var ye = {
1567
+ var ve = {
1568
1568
  "001": [
1569
1569
  "H",
1570
1570
  "h"
@@ -2979,13 +2979,13 @@ var ye = {
2979
2979
  "h"
2980
2980
  ]
2981
2981
  };
2982
- function ii(e, t) {
2982
+ function ni(e, t) {
2983
2983
  for (var r = "", n = 0; n < e.length; n++) {
2984
2984
  var i = e.charAt(n);
2985
2985
  if (i === "j") {
2986
2986
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2987
2987
  s++, n++;
2988
- var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", u = si(t);
2988
+ var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", u = ii(t);
2989
2989
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2990
2990
  r += h;
2991
2991
  for (; o-- > 0; )
@@ -2994,7 +2994,7 @@ function ii(e, t) {
2994
2994
  }
2995
2995
  return r;
2996
2996
  }
2997
- function si(e) {
2997
+ function ii(e) {
2998
2998
  var t = e.hourCycle;
2999
2999
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3000
3000
  e.hourCycles && // @ts-ignore
@@ -3013,23 +3013,23 @@ function si(e) {
3013
3013
  }
3014
3014
  var r = e.language, n;
3015
3015
  r !== "root" && (n = e.maximize().region);
3016
- var i = ye[n || ""] || ye[r || ""] || ye["".concat(r, "-001")] || ye["001"];
3016
+ var i = ve[n || ""] || ve[r || ""] || ve["".concat(r, "-001")] || ve["001"];
3017
3017
  return i[0];
3018
3018
  }
3019
- var De, oi = new RegExp("^".concat(lr.source, "*")), ai = new RegExp("".concat(lr.source, "*$"));
3019
+ var Fe, si = new RegExp("^".concat(cr.source, "*")), oi = new RegExp("".concat(cr.source, "*$"));
3020
3020
  function g(e, t) {
3021
3021
  return { start: e, end: t };
3022
3022
  }
3023
- var ui = !!String.prototype.startsWith && "_a".startsWith("a", 1), hi = !!String.fromCodePoint, li = !!Object.fromEntries, ci = !!String.prototype.codePointAt, fi = !!String.prototype.trimStart, mi = !!String.prototype.trimEnd, di = !!Number.isSafeInteger, bi = di ? Number.isSafeInteger : function(e) {
3023
+ var ai = !!String.prototype.startsWith && "_a".startsWith("a", 1), ui = !!String.fromCodePoint, hi = !!Object.fromEntries, li = !!String.prototype.codePointAt, ci = !!String.prototype.trimStart, fi = !!String.prototype.trimEnd, mi = !!Number.isSafeInteger, di = mi ? Number.isSafeInteger : function(e) {
3024
3024
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3025
- }, qe = !0;
3025
+ }, Je = !0;
3026
3026
  try {
3027
- var pi = br("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3028
- qe = ((De = pi.exec("a")) === null || De === void 0 ? void 0 : De[0]) === "a";
3027
+ var bi = pr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3028
+ Je = ((Fe = bi.exec("a")) === null || Fe === void 0 ? void 0 : Fe[0]) === "a";
3029
3029
  } catch (e) {
3030
- qe = !1;
3030
+ Je = !1;
3031
3031
  }
3032
- var Pt = ui ? (
3032
+ var Nt = ai ? (
3033
3033
  // Native
3034
3034
  function(t, r, n) {
3035
3035
  return t.startsWith(r, n);
@@ -3039,7 +3039,7 @@ var Pt = ui ? (
3039
3039
  function(t, r, n) {
3040
3040
  return t.slice(n, n + r.length) === r;
3041
3041
  }
3042
- ), Je = hi ? String.fromCodePoint : (
3042
+ ), Ke = ui ? String.fromCodePoint : (
3043
3043
  // IE11
3044
3044
  function() {
3045
3045
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3051,9 +3051,9 @@ var Pt = ui ? (
3051
3051
  }
3052
3052
  return n;
3053
3053
  }
3054
- ), Nt = (
3054
+ ), Ot = (
3055
3055
  // native
3056
- li ? Object.fromEntries : (
3056
+ hi ? Object.fromEntries : (
3057
3057
  // Ponyfill
3058
3058
  function(t) {
3059
3059
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3063,7 +3063,7 @@ var Pt = ui ? (
3063
3063
  return r;
3064
3064
  }
3065
3065
  )
3066
- ), dr = ci ? (
3066
+ ), br = li ? (
3067
3067
  // Native
3068
3068
  function(t, r) {
3069
3069
  return t.codePointAt(r);
@@ -3077,7 +3077,7 @@ var Pt = ui ? (
3077
3077
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
3078
3078
  }
3079
3079
  }
3080
- ), gi = fi ? (
3080
+ ), pi = ci ? (
3081
3081
  // Native
3082
3082
  function(t) {
3083
3083
  return t.trimStart();
@@ -3085,9 +3085,9 @@ var Pt = ui ? (
3085
3085
  ) : (
3086
3086
  // Ponyfill
3087
3087
  function(t) {
3088
- return t.replace(oi, "");
3088
+ return t.replace(si, "");
3089
3089
  }
3090
- ), yi = mi ? (
3090
+ ), gi = fi ? (
3091
3091
  // Native
3092
3092
  function(t) {
3093
3093
  return t.trimEnd();
@@ -3095,32 +3095,32 @@ var Pt = ui ? (
3095
3095
  ) : (
3096
3096
  // Ponyfill
3097
3097
  function(t) {
3098
- return t.replace(ai, "");
3098
+ return t.replace(oi, "");
3099
3099
  }
3100
3100
  );
3101
- function br(e, t) {
3101
+ function pr(e, t) {
3102
3102
  return new RegExp(e, t);
3103
3103
  }
3104
- var Ke;
3105
- if (qe) {
3106
- var Ot = br("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3107
- Ke = function(t, r) {
3104
+ var et;
3105
+ if (Je) {
3106
+ var Lt = pr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3107
+ et = function(t, r) {
3108
3108
  var n;
3109
- Ot.lastIndex = r;
3110
- var i = Ot.exec(t);
3109
+ Lt.lastIndex = r;
3110
+ var i = Lt.exec(t);
3111
3111
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3112
3112
  };
3113
3113
  } else
3114
- Ke = function(t, r) {
3114
+ et = function(t, r) {
3115
3115
  for (var n = []; ; ) {
3116
- var i = dr(t, r);
3117
- if (i === void 0 || pr(i) || xi(i))
3116
+ var i = br(t, r);
3117
+ if (i === void 0 || gr(i) || _i(i))
3118
3118
  break;
3119
3119
  n.push(i), r += i >= 65536 ? 2 : 1;
3120
3120
  }
3121
- return Je.apply(void 0, n);
3121
+ return Ke.apply(void 0, n);
3122
3122
  };
3123
- var vi = (
3123
+ var yi = (
3124
3124
  /** @class */
3125
3125
  function() {
3126
3126
  function e(t, r) {
@@ -3151,7 +3151,7 @@ var vi = (
3151
3151
  if (n)
3152
3152
  break;
3153
3153
  return this.error(p.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
3154
- } else if (s === 60 && !this.ignoreTag && et(this.peek() || 0)) {
3154
+ } else if (s === 60 && !this.ignoreTag && tt(this.peek() || 0)) {
3155
3155
  var o = this.parseTag(t, r);
3156
3156
  if (o.err)
3157
3157
  return o;
@@ -3184,7 +3184,7 @@ var vi = (
3184
3184
  return s;
3185
3185
  var o = s.val, a = this.clonePosition();
3186
3186
  if (this.bumpIf("</")) {
3187
- if (this.isEOF() || !et(this.char()))
3187
+ if (this.isEOF() || !tt(this.char()))
3188
3188
  return this.error(p.INVALID_TAG, g(a, this.clonePosition()));
3189
3189
  var h = this.clonePosition(), u = this.parseTagName();
3190
3190
  return i !== u ? this.error(p.UNMATCHED_CLOSING_TAG, g(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
@@ -3202,7 +3202,7 @@ var vi = (
3202
3202
  return this.error(p.INVALID_TAG, g(n, this.clonePosition()));
3203
3203
  }, e.prototype.parseTagName = function() {
3204
3204
  var t = this.offset();
3205
- for (this.bump(); !this.isEOF() && _i(this.char()); )
3205
+ for (this.bump(); !this.isEOF() && Ei(this.char()); )
3206
3206
  this.bump();
3207
3207
  return this.message.slice(t, this.offset());
3208
3208
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3231,7 +3231,7 @@ var vi = (
3231
3231
  };
3232
3232
  }, e.prototype.tryParseLeftAngleBracket = function() {
3233
3233
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3234
- !Ei(this.peek() || 0)) ? (this.bump(), "<") : null;
3234
+ !vi(this.peek() || 0)) ? (this.bump(), "<") : null;
3235
3235
  }, e.prototype.tryParseQuote = function(t) {
3236
3236
  if (this.isEOF() || this.char() !== 39)
3237
3237
  return null;
@@ -3265,12 +3265,12 @@ var vi = (
3265
3265
  r.push(n);
3266
3266
  this.bump();
3267
3267
  }
3268
- return Je.apply(void 0, r);
3268
+ return Ke.apply(void 0, r);
3269
3269
  }, e.prototype.tryParseUnquoted = function(t, r) {
3270
3270
  if (this.isEOF())
3271
3271
  return null;
3272
3272
  var n = this.char();
3273
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Je(n));
3273
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ke(n));
3274
3274
  }, e.prototype.parseArgument = function(t, r) {
3275
3275
  var n = this.clonePosition();
3276
3276
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3299,7 +3299,7 @@ var vi = (
3299
3299
  return this.error(p.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3300
3300
  }
3301
3301
  }, e.prototype.parseIdentifierIfPossible = function() {
3302
- var t = this.clonePosition(), r = this.offset(), n = Ke(this.message, r), i = r + n.length;
3302
+ var t = this.clonePosition(), r = this.offset(), n = et(this.message, r), i = r + n.length;
3303
3303
  this.bumpTo(i);
3304
3304
  var s = this.clonePosition(), o = g(t, s);
3305
3305
  return { value: n, location: o };
@@ -3318,7 +3318,7 @@ var vi = (
3318
3318
  var l = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
3319
3319
  if (m.err)
3320
3320
  return m;
3321
- var c = yi(m.val);
3321
+ var c = gi(m.val);
3322
3322
  if (c.length === 0)
3323
3323
  return this.error(p.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
3324
3324
  var d = g(l, this.clonePosition());
@@ -3328,27 +3328,27 @@ var vi = (
3328
3328
  if (b.err)
3329
3329
  return b;
3330
3330
  var y = g(i, this.clonePosition());
3331
- if (u && Pt(u == null ? void 0 : u.style, "::", 0)) {
3332
- var w = gi(u.style.slice(2));
3331
+ if (u && Nt(u == null ? void 0 : u.style, "::", 0)) {
3332
+ var T = pi(u.style.slice(2));
3333
3333
  if (a === "number") {
3334
- var m = this.parseNumberSkeletonFromString(w, u.styleLocation);
3334
+ var m = this.parseNumberSkeletonFromString(T, u.styleLocation);
3335
3335
  return m.err ? m : {
3336
3336
  val: { type: x.number, value: n, location: y, style: m.val },
3337
3337
  err: null
3338
3338
  };
3339
3339
  } else {
3340
- if (w.length === 0)
3340
+ if (T.length === 0)
3341
3341
  return this.error(p.EXPECT_DATE_TIME_SKELETON, y);
3342
- var I = w;
3343
- this.locale && (I = ii(w, this.locale));
3342
+ var C = T;
3343
+ this.locale && (C = ni(T, this.locale));
3344
3344
  var c = {
3345
- type: te.dateTime,
3346
- pattern: I,
3345
+ type: ee.dateTime,
3346
+ pattern: C,
3347
3347
  location: u.styleLocation,
3348
- parsedOptions: this.shouldParseSkeletons ? qn(I) : {}
3349
- }, P = a === "date" ? x.date : x.time;
3348
+ parsedOptions: this.shouldParseSkeletons ? Yn(C) : {}
3349
+ }, N = a === "date" ? x.date : x.time;
3350
3350
  return {
3351
- val: { type: P, value: n, location: y, style: c },
3351
+ val: { type: N, value: n, location: y, style: c },
3352
3352
  err: null
3353
3353
  };
3354
3354
  }
@@ -3366,23 +3366,23 @@ var vi = (
3366
3366
  case "plural":
3367
3367
  case "selectordinal":
3368
3368
  case "select": {
3369
- var T = this.clonePosition();
3369
+ var w = this.clonePosition();
3370
3370
  if (this.bumpSpace(), !this.bumpIf(","))
3371
- return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, g(T, v({}, T)));
3371
+ return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, g(w, v({}, w)));
3372
3372
  this.bumpSpace();
3373
- var N = this.parseIdentifierIfPossible(), O = 0;
3374
- if (a !== "select" && N.value === "offset") {
3373
+ var O = this.parseIdentifierIfPossible(), L = 0;
3374
+ if (a !== "select" && O.value === "offset") {
3375
3375
  if (!this.bumpIf(":"))
3376
3376
  return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
3377
3377
  this.bumpSpace();
3378
3378
  var m = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3379
3379
  if (m.err)
3380
3380
  return m;
3381
- this.bumpSpace(), N = this.parseIdentifierIfPossible(), O = m.val;
3381
+ this.bumpSpace(), O = this.parseIdentifierIfPossible(), L = m.val;
3382
3382
  }
3383
- var G = this.tryParsePluralOrSelectOptions(t, a, r, N);
3384
- if (G.err)
3385
- return G;
3383
+ var R = this.tryParsePluralOrSelectOptions(t, a, r, O);
3384
+ if (R.err)
3385
+ return R;
3386
3386
  var b = this.tryParseArgumentClose(i);
3387
3387
  if (b.err)
3388
3388
  return b;
@@ -3391,7 +3391,7 @@ var vi = (
3391
3391
  val: {
3392
3392
  type: x.select,
3393
3393
  value: n,
3394
- options: Nt(G.val),
3394
+ options: Ot(R.val),
3395
3395
  location: _
3396
3396
  },
3397
3397
  err: null
@@ -3399,8 +3399,8 @@ var vi = (
3399
3399
  val: {
3400
3400
  type: x.plural,
3401
3401
  value: n,
3402
- options: Nt(G.val),
3403
- offset: O,
3402
+ options: Ot(R.val),
3403
+ offset: L,
3404
3404
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3405
3405
  location: _
3406
3406
  },
@@ -3450,16 +3450,16 @@ var vi = (
3450
3450
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3451
3451
  var n = [];
3452
3452
  try {
3453
- n = Kn(t);
3453
+ n = Jn(t);
3454
3454
  } catch (i) {
3455
3455
  return this.error(p.INVALID_NUMBER_SKELETON, r);
3456
3456
  }
3457
3457
  return {
3458
3458
  val: {
3459
- type: te.number,
3459
+ type: ee.number,
3460
3460
  tokens: n,
3461
3461
  location: r,
3462
- parsedOptions: this.shouldParseSkeletons ? ni(n) : {}
3462
+ parsedOptions: this.shouldParseSkeletons ? ri(n) : {}
3463
3463
  },
3464
3464
  err: null
3465
3465
  };
@@ -3507,7 +3507,7 @@ var vi = (
3507
3507
  break;
3508
3508
  }
3509
3509
  var h = g(i, this.clonePosition());
3510
- return s ? (o *= n, bi(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
3510
+ return s ? (o *= n, di(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
3511
3511
  }, e.prototype.offset = function() {
3512
3512
  return this.position.offset;
3513
3513
  }, e.prototype.isEOF = function() {
@@ -3522,7 +3522,7 @@ var vi = (
3522
3522
  var t = this.position.offset;
3523
3523
  if (t >= this.message.length)
3524
3524
  throw Error("out of bound");
3525
- var r = dr(this.message, t);
3525
+ var r = br(this.message, t);
3526
3526
  if (r === void 0)
3527
3527
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3528
3528
  return r;
@@ -3541,7 +3541,7 @@ var vi = (
3541
3541
  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);
3542
3542
  }
3543
3543
  }, e.prototype.bumpIf = function(t) {
3544
- if (Pt(this.message, t, this.offset())) {
3544
+ if (Nt(this.message, t, this.offset())) {
3545
3545
  for (var r = 0; r < t.length; r++)
3546
3546
  this.bump();
3547
3547
  return !0;
@@ -3563,7 +3563,7 @@ var vi = (
3563
3563
  break;
3564
3564
  }
3565
3565
  }, e.prototype.bumpSpace = function() {
3566
- for (; !this.isEOF() && pr(this.char()); )
3566
+ for (; !this.isEOF() && gr(this.char()); )
3567
3567
  this.bump();
3568
3568
  }, e.prototype.peek = function() {
3569
3569
  if (this.isEOF())
@@ -3573,43 +3573,43 @@ var vi = (
3573
3573
  }, e;
3574
3574
  }()
3575
3575
  );
3576
- function et(e) {
3576
+ function tt(e) {
3577
3577
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3578
3578
  }
3579
- function Ei(e) {
3580
- return et(e) || e === 47;
3579
+ function vi(e) {
3580
+ return tt(e) || e === 47;
3581
3581
  }
3582
- function _i(e) {
3582
+ function Ei(e) {
3583
3583
  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;
3584
3584
  }
3585
- function pr(e) {
3585
+ function gr(e) {
3586
3586
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3587
3587
  }
3588
- function xi(e) {
3588
+ function _i(e) {
3589
3589
  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;
3590
3590
  }
3591
- function tt(e) {
3591
+ function rt(e) {
3592
3592
  e.forEach(function(t) {
3593
- if (delete t.location, or(t) || ar(t))
3593
+ if (delete t.location, ar(t) || ur(t))
3594
3594
  for (var r in t.options)
3595
- delete t.options[r].location, tt(t.options[r].value);
3596
- else nr(t) && hr(t.style) || (ir(t) || sr(t)) && Ye(t.style) ? delete t.style.location : ur(t) && tt(t.children);
3595
+ delete t.options[r].location, rt(t.options[r].value);
3596
+ else ir(t) && lr(t.style) || (sr(t) || or(t)) && qe(t.style) ? delete t.style.location : hr(t) && rt(t.children);
3597
3597
  });
3598
3598
  }
3599
- function Si(e, t) {
3599
+ function xi(e, t) {
3600
3600
  t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3601
- var r = new vi(e, t).parse();
3601
+ var r = new yi(e, t).parse();
3602
3602
  if (r.err) {
3603
3603
  var n = SyntaxError(p[r.err.kind]);
3604
3604
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3605
3605
  }
3606
- return t != null && t.captureLocation || tt(r.val), r.val;
3606
+ return t != null && t.captureLocation || rt(r.val), r.val;
3607
3607
  }
3608
- var re;
3608
+ var te;
3609
3609
  (function(e) {
3610
3610
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3611
- })(re || (re = {}));
3612
- var Be = (
3611
+ })(te || (te = {}));
3612
+ var Pe = (
3613
3613
  /** @class */
3614
3614
  function(e) {
3615
3615
  D(t, e);
@@ -3621,66 +3621,66 @@ var Be = (
3621
3621
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3622
3622
  }, t;
3623
3623
  }(Error)
3624
- ), Lt = (
3624
+ ), It = (
3625
3625
  /** @class */
3626
3626
  function(e) {
3627
3627
  D(t, e);
3628
3628
  function t(r, n, i, s) {
3629
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), re.INVALID_VALUE, s) || this;
3629
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), te.INVALID_VALUE, s) || this;
3630
3630
  }
3631
3631
  return t;
3632
- }(Be)
3633
- ), Ti = (
3632
+ }(Pe)
3633
+ ), Si = (
3634
3634
  /** @class */
3635
3635
  function(e) {
3636
3636
  D(t, e);
3637
3637
  function t(r, n, i) {
3638
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), re.INVALID_VALUE, i) || this;
3638
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), te.INVALID_VALUE, i) || this;
3639
3639
  }
3640
3640
  return t;
3641
- }(Be)
3641
+ }(Pe)
3642
3642
  ), wi = (
3643
3643
  /** @class */
3644
3644
  function(e) {
3645
3645
  D(t, e);
3646
3646
  function t(r, n) {
3647
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), re.MISSING_VALUE, n) || this;
3647
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), te.MISSING_VALUE, n) || this;
3648
3648
  }
3649
3649
  return t;
3650
- }(Be)
3651
- ), A;
3650
+ }(Pe)
3651
+ ), H;
3652
3652
  (function(e) {
3653
3653
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3654
- })(A || (A = {}));
3655
- function Hi(e) {
3654
+ })(H || (H = {}));
3655
+ function Ti(e) {
3656
3656
  return e.length < 2 ? e : e.reduce(function(t, r) {
3657
3657
  var n = t[t.length - 1];
3658
- return !n || n.type !== A.literal || r.type !== A.literal ? t.push(r) : n.value += r.value, t;
3658
+ return !n || n.type !== H.literal || r.type !== H.literal ? t.push(r) : n.value += r.value, t;
3659
3659
  }, []);
3660
3660
  }
3661
- function Ai(e) {
3661
+ function Hi(e) {
3662
3662
  return typeof e == "function";
3663
3663
  }
3664
- function _e(e, t, r, n, i, s, o) {
3665
- if (e.length === 1 && wt(e[0]))
3664
+ function xe(e, t, r, n, i, s, o) {
3665
+ if (e.length === 1 && Ht(e[0]))
3666
3666
  return [
3667
3667
  {
3668
- type: A.literal,
3668
+ type: H.literal,
3669
3669
  value: e[0].value
3670
3670
  }
3671
3671
  ];
3672
3672
  for (var a = [], h = 0, u = e; h < u.length; h++) {
3673
3673
  var l = u[h];
3674
- if (wt(l)) {
3674
+ if (Ht(l)) {
3675
3675
  a.push({
3676
- type: A.literal,
3676
+ type: H.literal,
3677
3677
  value: l.value
3678
3678
  });
3679
3679
  continue;
3680
3680
  }
3681
- if (Qn(l)) {
3681
+ if (Zn(l)) {
3682
3682
  typeof s == "number" && a.push({
3683
- type: A.literal,
3683
+ type: H.literal,
3684
3684
  value: r.getNumberFormat(t).format(s)
3685
3685
  });
3686
3686
  continue;
@@ -3689,87 +3689,87 @@ function _e(e, t, r, n, i, s, o) {
3689
3689
  if (!(i && m in i))
3690
3690
  throw new wi(m, o);
3691
3691
  var c = i[m];
3692
- if (Zn(l)) {
3692
+ if (zn(l)) {
3693
3693
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3694
- type: typeof c == "string" ? A.literal : A.object,
3694
+ type: typeof c == "string" ? H.literal : H.object,
3695
3695
  value: c
3696
3696
  });
3697
3697
  continue;
3698
3698
  }
3699
- if (ir(l)) {
3700
- var d = typeof l.style == "string" ? n.date[l.style] : Ye(l.style) ? l.style.parsedOptions : void 0;
3699
+ if (sr(l)) {
3700
+ var d = typeof l.style == "string" ? n.date[l.style] : qe(l.style) ? l.style.parsedOptions : void 0;
3701
3701
  a.push({
3702
- type: A.literal,
3702
+ type: H.literal,
3703
3703
  value: r.getDateTimeFormat(t, d).format(c)
3704
3704
  });
3705
3705
  continue;
3706
3706
  }
3707
- if (sr(l)) {
3708
- var d = typeof l.style == "string" ? n.time[l.style] : Ye(l.style) ? l.style.parsedOptions : n.time.medium;
3707
+ if (or(l)) {
3708
+ var d = typeof l.style == "string" ? n.time[l.style] : qe(l.style) ? l.style.parsedOptions : n.time.medium;
3709
3709
  a.push({
3710
- type: A.literal,
3710
+ type: H.literal,
3711
3711
  value: r.getDateTimeFormat(t, d).format(c)
3712
3712
  });
3713
3713
  continue;
3714
3714
  }
3715
- if (nr(l)) {
3716
- var d = typeof l.style == "string" ? n.number[l.style] : hr(l.style) ? l.style.parsedOptions : void 0;
3715
+ if (ir(l)) {
3716
+ var d = typeof l.style == "string" ? n.number[l.style] : lr(l.style) ? l.style.parsedOptions : void 0;
3717
3717
  d && d.scale && (c = c * (d.scale || 1)), a.push({
3718
- type: A.literal,
3718
+ type: H.literal,
3719
3719
  value: r.getNumberFormat(t, d).format(c)
3720
3720
  });
3721
3721
  continue;
3722
3722
  }
3723
- if (ur(l)) {
3724
- var b = l.children, y = l.value, w = i[y];
3725
- if (!Ai(w))
3726
- throw new Ti(y, "function", o);
3727
- var I = _e(b, t, r, n, i, s), P = w(I.map(function(O) {
3728
- return O.value;
3723
+ if (hr(l)) {
3724
+ var b = l.children, y = l.value, T = i[y];
3725
+ if (!Hi(T))
3726
+ throw new Si(y, "function", o);
3727
+ var C = xe(b, t, r, n, i, s), N = T(C.map(function(L) {
3728
+ return L.value;
3729
3729
  }));
3730
- Array.isArray(P) || (P = [P]), a.push.apply(a, P.map(function(O) {
3730
+ Array.isArray(N) || (N = [N]), a.push.apply(a, N.map(function(L) {
3731
3731
  return {
3732
- type: typeof O == "string" ? A.literal : A.object,
3733
- value: O
3732
+ type: typeof L == "string" ? H.literal : H.object,
3733
+ value: L
3734
3734
  };
3735
3735
  }));
3736
3736
  }
3737
- if (or(l)) {
3738
- var T = l.options[c] || l.options.other;
3739
- if (!T)
3740
- throw new Lt(l.value, c, Object.keys(l.options), o);
3741
- a.push.apply(a, _e(T.value, t, r, n, i));
3737
+ if (ar(l)) {
3738
+ var w = l.options[c] || l.options.other;
3739
+ if (!w)
3740
+ throw new It(l.value, c, Object.keys(l.options), o);
3741
+ a.push.apply(a, xe(w.value, t, r, n, i));
3742
3742
  continue;
3743
3743
  }
3744
- if (ar(l)) {
3745
- var T = l.options["=".concat(c)];
3746
- if (!T) {
3744
+ if (ur(l)) {
3745
+ var w = l.options["=".concat(c)];
3746
+ if (!w) {
3747
3747
  if (!Intl.PluralRules)
3748
- throw new Be(`Intl.PluralRules is not available in this environment.
3748
+ throw new Pe(`Intl.PluralRules is not available in this environment.
3749
3749
  Try polyfilling it using "@formatjs/intl-pluralrules"
3750
- `, re.MISSING_INTL_API, o);
3751
- var N = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3752
- T = l.options[N] || l.options.other;
3750
+ `, te.MISSING_INTL_API, o);
3751
+ var O = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3752
+ w = l.options[O] || l.options.other;
3753
3753
  }
3754
- if (!T)
3755
- throw new Lt(l.value, c, Object.keys(l.options), o);
3756
- a.push.apply(a, _e(T.value, t, r, n, i, c - (l.offset || 0)));
3754
+ if (!w)
3755
+ throw new It(l.value, c, Object.keys(l.options), o);
3756
+ a.push.apply(a, xe(w.value, t, r, n, i, c - (l.offset || 0)));
3757
3757
  continue;
3758
3758
  }
3759
3759
  }
3760
- return Hi(a);
3760
+ return Ti(a);
3761
3761
  }
3762
- function Bi(e, t) {
3762
+ function Ai(e, t) {
3763
3763
  return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3764
3764
  return r[n] = v(v({}, e[n]), t[n] || {}), r;
3765
3765
  }, {})) : e;
3766
3766
  }
3767
- function Pi(e, t) {
3767
+ function Bi(e, t) {
3768
3768
  return t ? Object.keys(e).reduce(function(r, n) {
3769
- return r[n] = Bi(e[n], t[n]), r;
3769
+ return r[n] = Ai(e[n], t[n]), r;
3770
3770
  }, v({}, e)) : e;
3771
3771
  }
3772
- function Fe(e) {
3772
+ function $e(e) {
3773
3773
  return {
3774
3774
  create: function() {
3775
3775
  return {
@@ -3783,39 +3783,39 @@ function Fe(e) {
3783
3783
  }
3784
3784
  };
3785
3785
  }
3786
- function Ni(e) {
3786
+ function Pi(e) {
3787
3787
  return e === void 0 && (e = {
3788
3788
  number: {},
3789
3789
  dateTime: {},
3790
3790
  pluralRules: {}
3791
3791
  }), {
3792
- getNumberFormat: Ge(function() {
3792
+ getNumberFormat: Ue(function() {
3793
3793
  for (var t, r = [], n = 0; n < arguments.length; n++)
3794
3794
  r[n] = arguments[n];
3795
3795
  return new ((t = Intl.NumberFormat).bind.apply(t, J([void 0], r, !1)))();
3796
3796
  }, {
3797
- cache: Fe(e.number),
3798
- strategy: Ue.variadic
3797
+ cache: $e(e.number),
3798
+ strategy: De.variadic
3799
3799
  }),
3800
- getDateTimeFormat: Ge(function() {
3800
+ getDateTimeFormat: Ue(function() {
3801
3801
  for (var t, r = [], n = 0; n < arguments.length; n++)
3802
3802
  r[n] = arguments[n];
3803
3803
  return new ((t = Intl.DateTimeFormat).bind.apply(t, J([void 0], r, !1)))();
3804
3804
  }, {
3805
- cache: Fe(e.dateTime),
3806
- strategy: Ue.variadic
3805
+ cache: $e(e.dateTime),
3806
+ strategy: De.variadic
3807
3807
  }),
3808
- getPluralRules: Ge(function() {
3808
+ getPluralRules: Ue(function() {
3809
3809
  for (var t, r = [], n = 0; n < arguments.length; n++)
3810
3810
  r[n] = arguments[n];
3811
3811
  return new ((t = Intl.PluralRules).bind.apply(t, J([void 0], r, !1)))();
3812
3812
  }, {
3813
- cache: Fe(e.pluralRules),
3814
- strategy: Ue.variadic
3813
+ cache: $e(e.pluralRules),
3814
+ strategy: De.variadic
3815
3815
  })
3816
3816
  };
3817
3817
  }
3818
- var Oi = (
3818
+ var Ni = (
3819
3819
  /** @class */
3820
3820
  function() {
3821
3821
  function e(t, r, n, i) {
@@ -3830,11 +3830,11 @@ var Oi = (
3830
3830
  if (u.length === 1)
3831
3831
  return u[0].value;
3832
3832
  var l = u.reduce(function(m, c) {
3833
- return !m.length || c.type !== A.literal || typeof m[m.length - 1] != "string" ? m.push(c.value) : m[m.length - 1] += c.value, m;
3833
+ return !m.length || c.type !== H.literal || typeof m[m.length - 1] != "string" ? m.push(c.value) : m[m.length - 1] += c.value, m;
3834
3834
  }, []);
3835
3835
  return l.length <= 1 ? l[0] || "" : l;
3836
3836
  }, this.formatToParts = function(h) {
3837
- return _e(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
3837
+ return xe(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
3838
3838
  }, this.resolvedOptions = function() {
3839
3839
  var h;
3840
3840
  return {
@@ -3847,13 +3847,13 @@ var Oi = (
3847
3847
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3848
3848
  var o = i || {};
3849
3849
  o.formatters;
3850
- var a = hn(o, ["formatters"]);
3850
+ var a = un(o, ["formatters"]);
3851
3851
  this.ast = e.__parse(t, v(v({}, a), { locale: this.resolvedLocale }));
3852
3852
  } else
3853
3853
  this.ast = t;
3854
3854
  if (!Array.isArray(this.ast))
3855
3855
  throw new TypeError("A message must be provided as a String or AST.");
3856
- this.formats = Pi(e.formats, n), this.formatters = i && i.formatters || Ni(this.formatterCache);
3856
+ this.formats = Bi(e.formats, n), this.formatters = i && i.formatters || Pi(this.formatterCache);
3857
3857
  }
3858
3858
  return Object.defineProperty(e, "defaultLocale", {
3859
3859
  get: function() {
@@ -3866,7 +3866,7 @@ var Oi = (
3866
3866
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3867
3867
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3868
3868
  }
3869
- }, e.__parse = Si, e.formats = {
3869
+ }, e.__parse = xi, e.formats = {
3870
3870
  number: {
3871
3871
  integer: {
3872
3872
  maximumFractionDigits: 0
@@ -3927,7 +3927,7 @@ var Oi = (
3927
3927
  }, e;
3928
3928
  }()
3929
3929
  );
3930
- function Li(e, t) {
3930
+ function Oi(e, t) {
3931
3931
  if (t == null)
3932
3932
  return;
3933
3933
  if (t in e)
@@ -3948,92 +3948,92 @@ function Li(e, t) {
3948
3948
  n = void 0;
3949
3949
  return n;
3950
3950
  }
3951
- const $ = {}, Ci = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), gr = (e, t) => {
3951
+ const F = {}, Li = (e, t, r) => r && (t in F || (F[t] = {}), e in F[t] || (F[t][e] = r), r), yr = (e, t) => {
3952
3952
  if (t == null)
3953
3953
  return;
3954
- if (t in $ && e in $[t])
3955
- return $[t][e];
3956
- const r = Pe(t);
3954
+ if (t in F && e in F[t])
3955
+ return F[t][e];
3956
+ const r = Ne(t);
3957
3957
  for (let n = 0; n < r.length; n++) {
3958
- const i = r[n], s = Mi(i, e);
3958
+ const i = r[n], s = Ci(i, e);
3959
3959
  if (s)
3960
- return Ci(e, t, s);
3960
+ return Li(e, t, s);
3961
3961
  }
3962
3962
  };
3963
- let st;
3964
- const de = Ae({});
3963
+ let ot;
3964
+ const de = Be({});
3965
3965
  function Ii(e) {
3966
- return st[e] || null;
3966
+ return ot[e] || null;
3967
3967
  }
3968
- function yr(e) {
3969
- return e in st;
3968
+ function vr(e) {
3969
+ return e in ot;
3970
3970
  }
3971
- function Mi(e, t) {
3972
- if (!yr(e))
3971
+ function Ci(e, t) {
3972
+ if (!vr(e))
3973
3973
  return null;
3974
3974
  const r = Ii(e);
3975
- return Li(r, t);
3975
+ return Oi(r, t);
3976
3976
  }
3977
- function Ri(e) {
3977
+ function Mi(e) {
3978
3978
  if (e == null)
3979
3979
  return;
3980
- const t = Pe(e);
3980
+ const t = Ne(e);
3981
3981
  for (let r = 0; r < t.length; r++) {
3982
3982
  const n = t[r];
3983
- if (yr(n))
3983
+ if (vr(n))
3984
3984
  return n;
3985
3985
  }
3986
3986
  }
3987
- function vr(e, ...t) {
3988
- delete $[e], de.update((r) => (r[e] = Fn.all([r[e] || {}, ...t]), r));
3987
+ function Er(e, ...t) {
3988
+ delete F[e], de.update((r) => (r[e] = Dn.all([r[e] || {}, ...t]), r));
3989
3989
  }
3990
- oe(
3990
+ se(
3991
3991
  [de],
3992
3992
  ([e]) => Object.keys(e)
3993
3993
  );
3994
- de.subscribe((e) => st = e);
3995
- const xe = {};
3996
- function Gi(e, t) {
3997
- xe[e].delete(t), xe[e].size === 0 && delete xe[e];
3994
+ de.subscribe((e) => ot = e);
3995
+ const Se = {};
3996
+ function Ri(e, t) {
3997
+ Se[e].delete(t), Se[e].size === 0 && delete Se[e];
3998
3998
  }
3999
- function Er(e) {
4000
- return xe[e];
3999
+ function _r(e) {
4000
+ return Se[e];
4001
4001
  }
4002
- function Ui(e) {
4003
- return Pe(e).map((t) => {
4004
- const r = Er(t);
4002
+ function Gi(e) {
4003
+ return Ne(e).map((t) => {
4004
+ const r = _r(t);
4005
4005
  return [t, r ? [...r] : []];
4006
4006
  }).filter(([, t]) => t.length > 0);
4007
4007
  }
4008
- function rt(e) {
4009
- return e == null ? !1 : Pe(e).some(
4008
+ function nt(e) {
4009
+ return e == null ? !1 : Ne(e).some(
4010
4010
  (t) => {
4011
4011
  var r;
4012
- return (r = Er(t)) == null ? void 0 : r.size;
4012
+ return (r = _r(t)) == null ? void 0 : r.size;
4013
4013
  }
4014
4014
  );
4015
4015
  }
4016
- function Di(e, t) {
4016
+ function Ui(e, t) {
4017
4017
  return Promise.all(
4018
- t.map((n) => (Gi(e, n), n().then((i) => i.default || i)))
4019
- ).then((n) => vr(e, ...n));
4020
- }
4021
- const ue = {};
4022
- function _r(e) {
4023
- if (!rt(e))
4024
- return e in ue ? ue[e] : Promise.resolve();
4025
- const t = Ui(e);
4026
- return ue[e] = Promise.all(
4018
+ t.map((n) => (Ri(e, n), n().then((i) => i.default || i)))
4019
+ ).then((n) => Er(e, ...n));
4020
+ }
4021
+ const ae = {};
4022
+ function xr(e) {
4023
+ if (!nt(e))
4024
+ return e in ae ? ae[e] : Promise.resolve();
4025
+ const t = Gi(e);
4026
+ return ae[e] = Promise.all(
4027
4027
  t.map(
4028
- ([r, n]) => Di(r, n)
4028
+ ([r, n]) => Ui(r, n)
4029
4029
  )
4030
4030
  ).then(() => {
4031
- if (rt(e))
4032
- return _r(e);
4033
- delete ue[e];
4034
- }), ue[e];
4031
+ if (nt(e))
4032
+ return xr(e);
4033
+ delete ae[e];
4034
+ }), ae[e];
4035
4035
  }
4036
- const Fi = {
4036
+ const Di = {
4037
4037
  number: {
4038
4038
  scientific: { notation: "scientific" },
4039
4039
  engineering: { notation: "engineering" },
@@ -4062,135 +4062,135 @@ const Fi = {
4062
4062
  timeZoneName: "short"
4063
4063
  }
4064
4064
  }
4065
- }, $i = {
4065
+ }, Fi = {
4066
4066
  fallbackLocale: null,
4067
4067
  loadingDelay: 200,
4068
- formats: Fi,
4068
+ formats: Di,
4069
4069
  warnOnMissingMessages: !0,
4070
4070
  handleMissingMessage: void 0,
4071
4071
  ignoreTag: !0
4072
- }, ji = $i;
4073
- function ne() {
4074
- return ji;
4072
+ }, $i = Fi;
4073
+ function re() {
4074
+ return $i;
4075
4075
  }
4076
- const $e = Ae(!1);
4077
- var ki = Object.defineProperty, Vi = Object.defineProperties, Xi = Object.getOwnPropertyDescriptors, Ct = Object.getOwnPropertySymbols, Wi = Object.prototype.hasOwnProperty, zi = Object.prototype.propertyIsEnumerable, It = (e, t, r) => t in e ? ki(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Zi = (e, t) => {
4076
+ const je = Be(!1);
4077
+ var ji = Object.defineProperty, ki = Object.defineProperties, Vi = Object.getOwnPropertyDescriptors, Ct = Object.getOwnPropertySymbols, Xi = Object.prototype.hasOwnProperty, Wi = Object.prototype.propertyIsEnumerable, Mt = (e, t, r) => t in e ? ji(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, zi = (e, t) => {
4078
4078
  for (var r in t || (t = {}))
4079
- Wi.call(t, r) && It(e, r, t[r]);
4079
+ Xi.call(t, r) && Mt(e, r, t[r]);
4080
4080
  if (Ct)
4081
4081
  for (var r of Ct(t))
4082
- zi.call(t, r) && It(e, r, t[r]);
4082
+ Wi.call(t, r) && Mt(e, r, t[r]);
4083
4083
  return e;
4084
- }, Qi = (e, t) => Vi(e, Xi(t));
4085
- let nt;
4086
- const Se = Ae(null);
4087
- function Mt(e) {
4084
+ }, Zi = (e, t) => ki(e, Vi(t));
4085
+ let it;
4086
+ const we = Be(null);
4087
+ function Rt(e) {
4088
4088
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4089
4089
  }
4090
- function Pe(e, t = ne().fallbackLocale) {
4091
- const r = Mt(e);
4092
- return t ? [.../* @__PURE__ */ new Set([...r, ...Mt(t)])] : r;
4090
+ function Ne(e, t = re().fallbackLocale) {
4091
+ const r = Rt(e);
4092
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Rt(t)])] : r;
4093
4093
  }
4094
4094
  function X() {
4095
- return nt != null ? nt : void 0;
4095
+ return it != null ? it : void 0;
4096
4096
  }
4097
- Se.subscribe((e) => {
4098
- nt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4097
+ we.subscribe((e) => {
4098
+ it = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4099
4099
  });
4100
- const Yi = (e) => {
4101
- if (e && Ri(e) && rt(e)) {
4102
- const { loadingDelay: t } = ne();
4100
+ const Qi = (e) => {
4101
+ if (e && Mi(e) && nt(e)) {
4102
+ const { loadingDelay: t } = re();
4103
4103
  let r;
4104
4104
  return typeof window != "undefined" && X() != null && t ? r = window.setTimeout(
4105
- () => $e.set(!0),
4105
+ () => je.set(!0),
4106
4106
  t
4107
- ) : $e.set(!0), _r(e).then(() => {
4108
- Se.set(e);
4107
+ ) : je.set(!0), xr(e).then(() => {
4108
+ we.set(e);
4109
4109
  }).finally(() => {
4110
- clearTimeout(r), $e.set(!1);
4110
+ clearTimeout(r), je.set(!1);
4111
4111
  });
4112
4112
  }
4113
- return Se.set(e);
4114
- }, be = Qi(Zi({}, Se), {
4115
- set: Yi
4116
- }), Ne = (e) => {
4113
+ return we.set(e);
4114
+ }, be = Zi(zi({}, we), {
4115
+ set: Qi
4116
+ }), Oe = (e) => {
4117
4117
  const t = /* @__PURE__ */ Object.create(null);
4118
4118
  return (n) => {
4119
4119
  const i = JSON.stringify(n);
4120
4120
  return i in t ? t[i] : t[i] = e(n);
4121
4121
  };
4122
4122
  };
4123
- var qi = Object.defineProperty, Te = Object.getOwnPropertySymbols, xr = Object.prototype.hasOwnProperty, Sr = Object.prototype.propertyIsEnumerable, Rt = (e, t, r) => t in e ? qi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ot = (e, t) => {
4123
+ var Yi = Object.defineProperty, Te = Object.getOwnPropertySymbols, Sr = Object.prototype.hasOwnProperty, wr = Object.prototype.propertyIsEnumerable, Gt = (e, t, r) => t in e ? Yi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, at = (e, t) => {
4124
4124
  for (var r in t || (t = {}))
4125
- xr.call(t, r) && Rt(e, r, t[r]);
4125
+ Sr.call(t, r) && Gt(e, r, t[r]);
4126
4126
  if (Te)
4127
4127
  for (var r of Te(t))
4128
- Sr.call(t, r) && Rt(e, r, t[r]);
4128
+ wr.call(t, r) && Gt(e, r, t[r]);
4129
4129
  return e;
4130
- }, ae = (e, t) => {
4130
+ }, oe = (e, t) => {
4131
4131
  var r = {};
4132
4132
  for (var n in e)
4133
- xr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4133
+ Sr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4134
4134
  if (e != null && Te)
4135
4135
  for (var n of Te(e))
4136
- t.indexOf(n) < 0 && Sr.call(e, n) && (r[n] = e[n]);
4136
+ t.indexOf(n) < 0 && wr.call(e, n) && (r[n] = e[n]);
4137
4137
  return r;
4138
4138
  };
4139
- const fe = (e, t) => {
4140
- const { formats: r } = ne();
4139
+ const ce = (e, t) => {
4140
+ const { formats: r } = re();
4141
4141
  if (e in r && t in r[e])
4142
4142
  return r[e][t];
4143
4143
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4144
- }, Ji = Ne(
4144
+ }, qi = Oe(
4145
4145
  (e) => {
4146
- var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
4146
+ var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
4147
4147
  if (r == null)
4148
4148
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4149
- return n && (i = fe("number", n)), new Intl.NumberFormat(r, i);
4149
+ return n && (i = ce("number", n)), new Intl.NumberFormat(r, i);
4150
4150
  }
4151
- ), Ki = Ne(
4151
+ ), Ji = Oe(
4152
4152
  (e) => {
4153
- var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
4153
+ var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
4154
4154
  if (r == null)
4155
4155
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4156
- return n ? i = fe("date", n) : Object.keys(i).length === 0 && (i = fe("date", "short")), new Intl.DateTimeFormat(r, i);
4156
+ return n ? i = ce("date", n) : Object.keys(i).length === 0 && (i = ce("date", "short")), new Intl.DateTimeFormat(r, i);
4157
4157
  }
4158
- ), es = Ne(
4158
+ ), Ki = Oe(
4159
4159
  (e) => {
4160
- var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
4160
+ var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
4161
4161
  if (r == null)
4162
4162
  throw new Error(
4163
4163
  '[svelte-i18n] A "locale" must be set to format time values'
4164
4164
  );
4165
- return n ? i = fe("time", n) : Object.keys(i).length === 0 && (i = fe("time", "short")), new Intl.DateTimeFormat(r, i);
4165
+ return n ? i = ce("time", n) : Object.keys(i).length === 0 && (i = ce("time", "short")), new Intl.DateTimeFormat(r, i);
4166
4166
  }
4167
- ), ts = (e = {}) => {
4167
+ ), es = (e = {}) => {
4168
4168
  var t = e, {
4169
4169
  locale: r = X()
4170
- } = t, n = ae(t, [
4170
+ } = t, n = oe(t, [
4171
4171
  "locale"
4172
4172
  ]);
4173
- return Ji(ot({ locale: r }, n));
4174
- }, rs = (e = {}) => {
4173
+ return qi(at({ locale: r }, n));
4174
+ }, ts = (e = {}) => {
4175
4175
  var t = e, {
4176
4176
  locale: r = X()
4177
- } = t, n = ae(t, [
4177
+ } = t, n = oe(t, [
4178
4178
  "locale"
4179
4179
  ]);
4180
- return Ki(ot({ locale: r }, n));
4181
- }, ns = (e = {}) => {
4180
+ return Ji(at({ locale: r }, n));
4181
+ }, rs = (e = {}) => {
4182
4182
  var t = e, {
4183
4183
  locale: r = X()
4184
- } = t, n = ae(t, [
4184
+ } = t, n = oe(t, [
4185
4185
  "locale"
4186
4186
  ]);
4187
- return es(ot({ locale: r }, n));
4188
- }, is = Ne(
4187
+ return Ki(at({ locale: r }, n));
4188
+ }, ns = Oe(
4189
4189
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4190
- (e, t = X()) => new Oi(e, t, ne().formats, {
4191
- ignoreTag: ne().ignoreTag
4190
+ (e, t = X()) => new Ni(e, t, re().formats, {
4191
+ ignoreTag: re().ignoreTag
4192
4192
  })
4193
- ), ss = (e, t = {}) => {
4193
+ ), is = (e, t = {}) => {
4194
4194
  var r, n, i, s;
4195
4195
  let o = t;
4196
4196
  typeof e == "object" && (o = e, e = o.id);
@@ -4203,9 +4203,9 @@ const fe = (e, t) => {
4203
4203
  throw new Error(
4204
4204
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4205
4205
  );
4206
- let l = gr(e, h);
4206
+ let l = yr(e, h);
4207
4207
  if (!l)
4208
- 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;
4208
+ 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;
4209
4209
  else if (typeof l != "string")
4210
4210
  return console.warn(
4211
4211
  `[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.`
@@ -4214,7 +4214,7 @@ const fe = (e, t) => {
4214
4214
  return l;
4215
4215
  let m = l;
4216
4216
  try {
4217
- m = is(l, h).format(a);
4217
+ m = ns(l, h).format(a);
4218
4218
  } catch (c) {
4219
4219
  c instanceof Error && console.warn(
4220
4220
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4222,17 +4222,40 @@ const fe = (e, t) => {
4222
4222
  );
4223
4223
  }
4224
4224
  return m;
4225
- }, os = (e, t) => ns(t).format(e), as = (e, t) => rs(t).format(e), us = (e, t) => ts(t).format(e), hs = (e, t = X()) => gr(e, t), ls = oe([be, de], () => ss);
4226
- oe([be], () => os);
4227
- oe([be], () => as);
4228
- oe([be], () => us);
4229
- oe([be, de], () => hs);
4230
- window.emWidgets = { topic: Sn };
4231
- const cs = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4232
- function Gt(e, t) {
4233
- vr(e, t);
4234
- }
4235
- const Ut = {
4225
+ }, ss = (e, t) => rs(t).format(e), os = (e, t) => ts(t).format(e), as = (e, t) => es(t).format(e), us = (e, t = X()) => yr(e, t), hs = se([be, de], () => is);
4226
+ se([be], () => ss);
4227
+ se([be], () => os);
4228
+ se([be], () => as);
4229
+ se([be, de], () => us);
4230
+ window.emWidgets = { topic: xn };
4231
+ const ls = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4232
+ function cs(e, t) {
4233
+ if (e) {
4234
+ const r = document.createElement("style");
4235
+ r.innerHTML = t, e.appendChild(r);
4236
+ }
4237
+ }
4238
+ function fs(e, t) {
4239
+ const r = new URL(t);
4240
+ fetch(r.href).then((n) => n.text()).then((n) => {
4241
+ const i = document.createElement("style");
4242
+ i.innerHTML = n, e && e.appendChild(i);
4243
+ }).catch((n) => {
4244
+ console.error("There was an error while trying to load client styling from URL", n);
4245
+ });
4246
+ }
4247
+ function ms(e, t, r) {
4248
+ if (window.emMessageBus) {
4249
+ const n = document.createElement("style");
4250
+ window.emMessageBus.subscribe(t, (i) => {
4251
+ n.innerHTML = i, e && e.appendChild(n);
4252
+ });
4253
+ }
4254
+ }
4255
+ function Ut(e, t) {
4256
+ Er(e, t);
4257
+ }
4258
+ const Dt = {
4236
4259
  en: {
4237
4260
  lobbyName: "Lobby",
4238
4261
  myGamesName: "My games"
@@ -4318,14 +4341,14 @@ if (typeof window != "undefined") {
4318
4341
  }
4319
4342
  };
4320
4343
  };
4321
- customElements.define = e(customElements.define), import("./CasinoSlider-Mt6fzaYh.js").then(({ default: t }) => {
4344
+ customElements.define = e(customElements.define), import("./CasinoSlider-EFId2L7-.js").then(({ default: t }) => {
4322
4345
  !customElements.get("casino-slider") && customElements.define("casino-slider", t.element);
4323
4346
  });
4324
4347
  }
4325
- function fs(e) {
4326
- Vr(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))}");
4348
+ function ds(e) {
4349
+ kr(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))}");
4327
4350
  }
4328
- function ms(e) {
4351
+ function bs(e) {
4329
4352
  let t, r, n, i;
4330
4353
  return {
4331
4354
  c() {
@@ -4344,11 +4367,11 @@ function ms(e) {
4344
4367
  "endpoint",
4345
4368
  /*endpoint*/
4346
4369
  e[1]
4347
- ), E(r, "identity", it), E(
4370
+ ), E(r, "identity", st), E(
4348
4371
  r,
4349
4372
  "favoritesnumber",
4350
4373
  /*numberOfFavoredGames*/
4351
- e[15]
4374
+ e[16]
4352
4375
  ), E(
4353
4376
  r,
4354
4377
  "showsubgroups",
@@ -4364,6 +4387,11 @@ function ms(e) {
4364
4387
  "clientstylingurl",
4365
4388
  /*clientstylingurl*/
4366
4389
  e[5]
4390
+ ), E(
4391
+ r,
4392
+ "mbsource",
4393
+ /*mbsource*/
4394
+ e[12]
4367
4395
  ), E(
4368
4396
  r,
4369
4397
  "activeindex",
@@ -4394,12 +4422,12 @@ function ms(e) {
4394
4422
  "mygamesiconimage",
4395
4423
  /*mygamesiconimage*/
4396
4424
  e[11]
4397
- ), K(t, "class", "CasinoCategoriesContainer svelte-2g6deg"), K(t, "part", "CasinoCategoriesContainer");
4425
+ ), me(t, "class", "CasinoCategoriesContainer svelte-2g6deg");
4398
4426
  },
4399
4427
  m(s, o) {
4400
- me(s, t, o), jt(t, r), n || (i = kr(
4428
+ fe(s, t, o), kt(t, r), n || (i = jr(
4401
4429
  /*sendSliderData*/
4402
- e[16].call(null, r)
4430
+ e[17].call(null, r)
4403
4431
  ), n = !0);
4404
4432
  },
4405
4433
  p(s, o) {
@@ -4422,11 +4450,11 @@ function ms(e) {
4422
4450
  /*endpoint*/
4423
4451
  s[1]
4424
4452
  ), o[0] & /*numberOfFavoredGames*/
4425
- 32768 && E(
4453
+ 65536 && E(
4426
4454
  r,
4427
4455
  "favoritesnumber",
4428
4456
  /*numberOfFavoredGames*/
4429
- s[15]
4457
+ s[16]
4430
4458
  ), o[0] & /*showsubgroups*/
4431
4459
  256 && E(
4432
4460
  r,
@@ -4445,6 +4473,12 @@ function ms(e) {
4445
4473
  "clientstylingurl",
4446
4474
  /*clientstylingurl*/
4447
4475
  s[5]
4476
+ ), o[0] & /*mbsource*/
4477
+ 4096 && E(
4478
+ r,
4479
+ "mbsource",
4480
+ /*mbsource*/
4481
+ s[12]
4448
4482
  ), o[0] & /*activecategory*/
4449
4483
  1 && E(
4450
4484
  r,
@@ -4484,48 +4518,48 @@ function ms(e) {
4484
4518
  );
4485
4519
  },
4486
4520
  d(s) {
4487
- s && se(t), n = !1, i();
4521
+ s && ie(t), n = !1, i();
4488
4522
  }
4489
4523
  };
4490
4524
  }
4491
- function ds(e) {
4525
+ function ps(e) {
4492
4526
  let t;
4493
4527
  return {
4494
4528
  c() {
4495
- t = V("p"), t.textContent = "500 Error - Internal Server Error.", K(t, "class", "SearchLoading svelte-2g6deg");
4529
+ t = V("p"), t.textContent = "500 Error - Internal Server Error.", me(t, "class", "SearchLoading svelte-2g6deg");
4496
4530
  },
4497
4531
  m(r, n) {
4498
- me(r, t, n);
4532
+ fe(r, t, n);
4499
4533
  },
4500
- p: B,
4534
+ p: P,
4501
4535
  d(r) {
4502
- r && se(t);
4536
+ r && ie(t);
4503
4537
  }
4504
4538
  };
4505
4539
  }
4506
- function bs(e) {
4540
+ function gs(e) {
4507
4541
  let t;
4508
4542
  return {
4509
4543
  c() {
4510
- t = V("div"), K(t, "class", "CasinoCategoriesLoading svelte-2g6deg");
4544
+ t = V("div"), me(t, "class", "CasinoCategoriesLoading svelte-2g6deg");
4511
4545
  },
4512
4546
  m(r, n) {
4513
- me(r, t, n);
4547
+ fe(r, t, n);
4514
4548
  },
4515
- p: B,
4549
+ p: P,
4516
4550
  d(r) {
4517
- r && se(t);
4551
+ r && ie(t);
4518
4552
  }
4519
4553
  };
4520
4554
  }
4521
- function ps(e) {
4555
+ function ys(e) {
4522
4556
  let t;
4523
4557
  function r(s, o) {
4524
4558
  return (
4525
4559
  /*isLoading*/
4526
- s[12] || gs || ys ? bs : (
4560
+ s[13] || vs || Es ? gs : (
4527
4561
  /*hasErrors*/
4528
- s[14] ? ds : ms
4562
+ s[15] ? ps : bs
4529
4563
  )
4530
4564
  );
4531
4565
  }
@@ -4535,117 +4569,105 @@ function ps(e) {
4535
4569
  t = V("div"), i.c();
4536
4570
  },
4537
4571
  m(s, o) {
4538
- me(s, t, o), i.m(t, null), e[26](t);
4572
+ fe(s, t, o), i.m(t, null), e[27](t);
4539
4573
  },
4540
4574
  p(s, o) {
4541
4575
  n === (n = r(s)) && i ? i.p(s, o) : (i.d(1), i = n(s), i && (i.c(), i.m(t, null)));
4542
4576
  },
4543
- i: B,
4544
- o: B,
4577
+ i: P,
4578
+ o: P,
4545
4579
  d(s) {
4546
- s && se(t), i.d(), e[26](null);
4580
+ s && ie(t), i.d(), e[27](null);
4547
4581
  }
4548
4582
  };
4549
4583
  }
4550
- let it = "CasinoSliderData", gs = !1, ys = !1;
4551
- function vs(e, t, r) {
4584
+ let st = "CasinoSliderData", vs = !1, Es = !1;
4585
+ function _s(e, t, r) {
4552
4586
  let n;
4553
- jr(e, ls, (f) => r(32, n = f));
4554
- let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "" } = t, { userid: a = "" } = t, { session: h = "" } = t, { mostplayed: u = "" } = t, { lastplayed: l = "false" } = t, { favorites: m = "" } = t, { clientstyling: c = "" } = t, { clientstylingurl: d = "" } = t, { activecategory: b = "" } = t, { actionevent: y = "" } = t, { sessioncheck: w = "" } = t, { location: I = "secondaryMenu" } = t, { showsubgroups: P = "false" } = t, { filteredcategories: T = "" } = t, { translationurl: N = "" } = t, { categoriesicon: O = "" } = t, { lobbyiconimage: G = "" } = t, { mygamesiconimage: _ = "" } = t, L, C, M = !0, W, z = [], j = !1, wr = window.navigator.userAgent, k, at, ut = !1, Oe = !1;
4555
- const Hr = () => {
4556
- fetch(N).then((H) => H.json()).then((H) => {
4557
- Object.keys(H).forEach((F) => {
4558
- Gt(F, H[F]);
4587
+ $r(e, hs, (f) => r(33, n = f));
4588
+ let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "" } = t, { userid: a = "" } = t, { session: h = "" } = t, { mostplayed: u = "" } = t, { lastplayed: l = "false" } = t, { favorites: m = "" } = t, { clientstyling: c = "" } = t, { clientstylingurl: d = "" } = t, { activecategory: b = "" } = t, { actionevent: y = "" } = t, { sessioncheck: T = "" } = t, { location: C = "secondaryMenu" } = t, { showsubgroups: N = "false" } = t, { filteredcategories: w = "" } = t, { translationurl: O = "" } = t, { categoriesicon: L = "" } = t, { lobbyiconimage: R = "" } = t, { mygamesiconimage: _ = "" } = t, { mbsource: A } = t, I, $, j = !0, W, z = [], k = !1, Hr = window.navigator.userAgent, G, ut, ht = !1, Le = !1;
4589
+ const Ar = () => {
4590
+ fetch(O).then((B) => B.json()).then((B) => {
4591
+ Object.keys(B).forEach((pe) => {
4592
+ Ut(pe, B[pe]);
4559
4593
  });
4560
- }).catch((H) => {
4561
- console.log(H);
4594
+ }).catch((B) => {
4595
+ console.log(B);
4562
4596
  });
4563
4597
  };
4564
- Object.keys(Ut).forEach((f) => {
4565
- Gt(f, Ut[f]);
4598
+ Object.keys(Dt).forEach((f) => {
4599
+ Ut(f, Dt[f]);
4566
4600
  });
4567
- const Ar = () => {
4568
- ut == !1 && (m == "true" || u == "true" || l == "true") && z.splice(1, 0, {
4601
+ const Br = () => {
4602
+ ht == !1 && (m == "true" || u == "true" || l == "true") && z.splice(1, 0, {
4569
4603
  // @ts-ignore
4570
4604
  id: "MYGAMES",
4571
- name: L,
4605
+ name: I,
4572
4606
  href: "",
4573
4607
  games: []
4574
- }), qr(), ut = !0, r(25, Oe = !0), Le();
4575
- }, Br = () => (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), Pr = () => {
4576
- if (L = n("myGamesName"), C = n("lobbyName"), !Br()) {
4608
+ }), Yr(), ht = !0, r(26, Le = !0), Ie();
4609
+ }, Pr = () => (i || (W = "Endpoint is missing! Please provide a valid endpointURL.", r(15, k = !0), r(13, j = !1), console.error(W)), s || (W = "Datasource is missing! Please provide a valid datasource.", r(15, k = !0), r(13, j = !1), console.error(W)), (!o || o.length < 2) && (W = "Language is missing! Please provide a valid language (alpha2code)", r(15, k = !0), r(13, j = !1), console.error(W)), k), Nr = () => {
4610
+ if (I = n("myGamesName"), $ = n("lobbyName"), !Pr()) {
4577
4611
  let f = new URL(`${i}/v1/casino/groups/${s}`);
4578
- f.searchParams.append("datasource", s), f.searchParams.append("language", o), f.searchParams.append("platform", cs(wr)), fetch(f).then((H) => H.json()).then(
4579
- (H) => {
4580
- let F = T.split(","), Ir = H.items.filter((lt) => {
4612
+ f.searchParams.append("datasource", s), f.searchParams.append("language", o), f.searchParams.append("platform", ls(Hr)), fetch(f).then((B) => B.json()).then(
4613
+ (B) => {
4614
+ let pe = w.split(","), Ir = B.items.filter((ct) => {
4581
4615
  let Ce = !1;
4582
- if (lt.games.total > 0 && (Ce = !0, T))
4583
- for (let Mr of F)
4584
- lt.flags == Mr && (Ce = !1);
4616
+ if (ct.games.total > 0 && (Ce = !0, w))
4617
+ for (let Cr of pe)
4618
+ ct.flags == Cr && (Ce = !1);
4585
4619
  return Ce;
4586
4620
  });
4587
4621
  z = [], z = z.concat(Ir), z.unshift({
4588
4622
  // @ts-ignore
4589
4623
  id: "LOBBY",
4590
- name: C,
4624
+ name: $,
4591
4625
  href: "",
4592
4626
  games: []
4593
- }), r(12, M = !1), window.postMessage({ type: "CategoriesLoadedForSlider" }, window.location.href);
4627
+ }), r(13, j = !1), window.postMessage({ type: "CategoriesLoadedForSlider" }, window.location.href);
4594
4628
  },
4595
- (H) => {
4596
- r(14, j = !0), console.error("There was an error while fetching the categories", H);
4629
+ (B) => {
4630
+ r(15, k = !0), console.error("There was an error while fetching the categories", B);
4597
4631
  }
4598
- ).catch((H) => {
4599
- r(14, j = !0), console.error("There was an error while fetching the categories", H);
4632
+ ).catch((B) => {
4633
+ r(15, k = !0), console.error("There was an error while fetching the categories", B);
4600
4634
  });
4601
4635
  }
4602
- }, Nr = () => {
4636
+ }, Or = () => {
4603
4637
  let f = b.split("$");
4604
4638
  r(0, b = f.length > 2 ? b.split("$").slice(0, 2).join("$") : b);
4605
- }, Or = () => {
4606
- let f = document.createElement("style");
4607
- f.innerHTML = c, k.appendChild(f);
4608
- }, Lr = () => {
4609
- let f = document.createElement("style"), H = new URL(d);
4610
- fetch(H.href).then((F) => F.text()).then((F) => {
4611
- f.innerHTML = F, setTimeout(
4612
- () => {
4613
- k.appendChild(f);
4614
- },
4615
- 1
4616
- );
4617
- });
4618
- }, Le = () => {
4639
+ }, Ie = () => {
4619
4640
  window.postMessage(
4620
4641
  {
4621
4642
  type: "SliderData",
4622
- identity: it,
4643
+ identity: st,
4623
4644
  data: z
4624
4645
  },
4625
4646
  window.location.href
4626
4647
  );
4627
- }, ht = (f) => {
4628
- f.data && f.data.type == "SliderLoaded" && it == f.data.identity && Le();
4648
+ }, lt = (f) => {
4649
+ f.data && f.data.type == "SliderLoaded" && st == f.data.identity && Ie();
4629
4650
  };
4630
- Yr(() => (window.addEventListener("message", ht, !1), () => {
4631
- window.removeEventListener("message", ht);
4651
+ Qr(() => (window.addEventListener("message", lt, !1), () => {
4652
+ window.removeEventListener("message", lt);
4632
4653
  }));
4633
- function Cr(f) {
4634
- je[f ? "unshift" : "push"](() => {
4635
- k = f, r(13, k);
4654
+ function Lr(f) {
4655
+ ke[f ? "unshift" : "push"](() => {
4656
+ G = f, r(14, G);
4636
4657
  });
4637
4658
  }
4638
4659
  return e.$$set = (f) => {
4639
- "endpoint" in f && r(1, i = f.endpoint), "datasource" in f && r(2, s = f.datasource), "lang" in f && r(3, o = f.lang), "userid" in f && r(17, a = f.userid), "session" in f && r(18, h = f.session), "mostplayed" in f && r(19, u = f.mostplayed), "lastplayed" in f && r(20, l = f.lastplayed), "favorites" in f && r(21, m = f.favorites), "clientstyling" in f && r(4, c = f.clientstyling), "clientstylingurl" in f && r(5, d = f.clientstylingurl), "activecategory" in f && r(0, b = f.activecategory), "actionevent" in f && r(6, y = f.actionevent), "sessioncheck" in f && r(22, w = f.sessioncheck), "location" in f && r(7, I = f.location), "showsubgroups" in f && r(8, P = f.showsubgroups), "filteredcategories" in f && r(23, T = f.filteredcategories), "translationurl" in f && r(24, N = f.translationurl), "categoriesicon" in f && r(9, O = f.categoriesicon), "lobbyiconimage" in f && r(10, G = f.lobbyiconimage), "mygamesiconimage" in f && r(11, _ = f.mygamesiconimage);
4660
+ "endpoint" in f && r(1, i = f.endpoint), "datasource" in f && r(2, s = f.datasource), "lang" in f && r(3, o = f.lang), "userid" in f && r(18, a = f.userid), "session" in f && r(19, h = f.session), "mostplayed" in f && r(20, u = f.mostplayed), "lastplayed" in f && r(21, l = f.lastplayed), "favorites" in f && r(22, m = f.favorites), "clientstyling" in f && r(4, c = f.clientstyling), "clientstylingurl" in f && r(5, d = f.clientstylingurl), "activecategory" in f && r(0, b = f.activecategory), "actionevent" in f && r(6, y = f.actionevent), "sessioncheck" in f && r(23, T = f.sessioncheck), "location" in f && r(7, C = f.location), "showsubgroups" in f && r(8, N = f.showsubgroups), "filteredcategories" in f && r(24, w = f.filteredcategories), "translationurl" in f && r(25, O = f.translationurl), "categoriesicon" in f && r(9, L = f.categoriesicon), "lobbyiconimage" in f && r(10, R = f.lobbyiconimage), "mygamesiconimage" in f && r(11, _ = f.mygamesiconimage), "mbsource" in f && r(12, A = f.mbsource);
4640
4661
  }, e.$$.update = () => {
4641
4662
  e.$$.dirty[0] & /*endpoint, datasource, lang*/
4642
- 14 && i && s && o && Pr(), e.$$.dirty[0] & /*endpoint, session, mostplayed, lastplayed, favorites, isLoading*/
4643
- 3936258 && i && h && (u || l || m) && !M && Ar(), e.$$.dirty[0] & /*isLoading, activecategory, session, confirmCategoryParse*/
4644
- 33820673 && !M && b && (!h || Oe) && Nr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4645
- 8208 && c && k && Or(), e.$$.dirty[0] & /*translationurl*/
4646
- 16777216 && N && Hr(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4647
- 8224 && d && k && Lr();
4648
- }, r(15, at = 0), [
4663
+ 14 && i && s && o && Nr(), e.$$.dirty[0] & /*endpoint, session, mostplayed, lastplayed, favorites, isLoading*/
4664
+ 7872514 && i && h && (u || l || m) && !j && Br(), e.$$.dirty[0] & /*isLoading, activecategory, session, confirmCategoryParse*/
4665
+ 67641345 && !j && b && (!h || Le) && Or(), e.$$.dirty[0] & /*translationurl*/
4666
+ 33554432 && O && Ar(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4667
+ 16400 && c && G && cs(G, c), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4668
+ 16416 && d && G && fs(G, d), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
4669
+ 20480 && G && ms(G, `${A}.Style`);
4670
+ }, r(16, ut = 0), [
4649
4671
  b,
4650
4672
  i,
4651
4673
  s,
@@ -4653,59 +4675,61 @@ function vs(e, t, r) {
4653
4675
  c,
4654
4676
  d,
4655
4677
  y,
4656
- I,
4657
- P,
4658
- O,
4659
- G,
4678
+ C,
4679
+ N,
4680
+ L,
4681
+ R,
4660
4682
  _,
4661
- M,
4662
- k,
4683
+ A,
4663
4684
  j,
4664
- at,
4665
- Le,
4685
+ G,
4686
+ k,
4687
+ ut,
4688
+ Ie,
4666
4689
  a,
4667
4690
  h,
4668
4691
  u,
4669
4692
  l,
4670
4693
  m,
4671
- w,
4672
4694
  T,
4673
- N,
4674
- Oe,
4675
- Cr
4695
+ w,
4696
+ O,
4697
+ Le,
4698
+ Lr
4676
4699
  ];
4677
4700
  }
4678
- class Tr extends an {
4701
+ class Tr extends on {
4679
4702
  constructor(t) {
4680
- super(), sn(
4703
+ super(), nn(
4681
4704
  this,
4682
4705
  t,
4683
- vs,
4684
- ps,
4685
- Ft,
4706
+ _s,
4707
+ ys,
4708
+ $t,
4686
4709
  {
4687
4710
  endpoint: 1,
4688
4711
  datasource: 2,
4689
4712
  lang: 3,
4690
- userid: 17,
4691
- session: 18,
4692
- mostplayed: 19,
4693
- lastplayed: 20,
4694
- favorites: 21,
4713
+ userid: 18,
4714
+ session: 19,
4715
+ mostplayed: 20,
4716
+ lastplayed: 21,
4717
+ favorites: 22,
4695
4718
  clientstyling: 4,
4696
4719
  clientstylingurl: 5,
4697
4720
  activecategory: 0,
4698
4721
  actionevent: 6,
4699
- sessioncheck: 22,
4722
+ sessioncheck: 23,
4700
4723
  location: 7,
4701
4724
  showsubgroups: 8,
4702
- filteredcategories: 23,
4703
- translationurl: 24,
4725
+ filteredcategories: 24,
4726
+ translationurl: 25,
4704
4727
  categoriesicon: 9,
4705
4728
  lobbyiconimage: 10,
4706
- mygamesiconimage: 11
4729
+ mygamesiconimage: 11,
4730
+ mbsource: 12
4707
4731
  },
4708
- fs,
4732
+ ds,
4709
4733
  [-1, -1]
4710
4734
  );
4711
4735
  }
@@ -4728,31 +4752,31 @@ class Tr extends an {
4728
4752
  this.$$set({ lang: t }), S();
4729
4753
  }
4730
4754
  get userid() {
4731
- return this.$$.ctx[17];
4755
+ return this.$$.ctx[18];
4732
4756
  }
4733
4757
  set userid(t) {
4734
4758
  this.$$set({ userid: t }), S();
4735
4759
  }
4736
4760
  get session() {
4737
- return this.$$.ctx[18];
4761
+ return this.$$.ctx[19];
4738
4762
  }
4739
4763
  set session(t) {
4740
4764
  this.$$set({ session: t }), S();
4741
4765
  }
4742
4766
  get mostplayed() {
4743
- return this.$$.ctx[19];
4767
+ return this.$$.ctx[20];
4744
4768
  }
4745
4769
  set mostplayed(t) {
4746
4770
  this.$$set({ mostplayed: t }), S();
4747
4771
  }
4748
4772
  get lastplayed() {
4749
- return this.$$.ctx[20];
4773
+ return this.$$.ctx[21];
4750
4774
  }
4751
4775
  set lastplayed(t) {
4752
4776
  this.$$set({ lastplayed: t }), S();
4753
4777
  }
4754
4778
  get favorites() {
4755
- return this.$$.ctx[21];
4779
+ return this.$$.ctx[22];
4756
4780
  }
4757
4781
  set favorites(t) {
4758
4782
  this.$$set({ favorites: t }), S();
@@ -4782,7 +4806,7 @@ class Tr extends an {
4782
4806
  this.$$set({ actionevent: t }), S();
4783
4807
  }
4784
4808
  get sessioncheck() {
4785
- return this.$$.ctx[22];
4809
+ return this.$$.ctx[23];
4786
4810
  }
4787
4811
  set sessioncheck(t) {
4788
4812
  this.$$set({ sessioncheck: t }), S();
@@ -4800,13 +4824,13 @@ class Tr extends an {
4800
4824
  this.$$set({ showsubgroups: t }), S();
4801
4825
  }
4802
4826
  get filteredcategories() {
4803
- return this.$$.ctx[23];
4827
+ return this.$$.ctx[24];
4804
4828
  }
4805
4829
  set filteredcategories(t) {
4806
4830
  this.$$set({ filteredcategories: t }), S();
4807
4831
  }
4808
4832
  get translationurl() {
4809
- return this.$$.ctx[24];
4833
+ return this.$$.ctx[25];
4810
4834
  }
4811
4835
  set translationurl(t) {
4812
4836
  this.$$set({ translationurl: t }), S();
@@ -4829,40 +4853,49 @@ class Tr extends an {
4829
4853
  set mygamesiconimage(t) {
4830
4854
  this.$$set({ mygamesiconimage: t }), S();
4831
4855
  }
4856
+ get mbsource() {
4857
+ return this.$$.ctx[12];
4858
+ }
4859
+ set mbsource(t) {
4860
+ this.$$set({ mbsource: t }), S();
4861
+ }
4832
4862
  }
4833
- on(Tr, { endpoint: {}, datasource: {}, lang: {}, userid: {}, session: {}, mostplayed: {}, lastplayed: {}, favorites: {}, clientstyling: {}, clientstylingurl: {}, activecategory: {}, actionevent: {}, sessioncheck: {}, location: {}, showsubgroups: {}, filteredcategories: {}, translationurl: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {} }, [], [], !0);
4834
- const Ns = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4863
+ sn(Tr, { endpoint: {}, datasource: {}, lang: {}, userid: {}, session: {}, mostplayed: {}, lastplayed: {}, favorites: {}, clientstyling: {}, clientstylingurl: {}, activecategory: {}, actionevent: {}, sessioncheck: {}, location: {}, showsubgroups: {}, filteredcategories: {}, translationurl: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {}, mbsource: {} }, [], [], !0);
4864
+ const Ls = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4835
4865
  __proto__: null,
4836
4866
  default: Tr
4837
4867
  }, Symbol.toStringTag, { value: "Module" }));
4838
4868
  export {
4839
4869
  be as $,
4840
- Ns as C,
4841
- an as S,
4870
+ fs as A,
4871
+ ms as B,
4872
+ sn as C,
4873
+ Ls as D,
4874
+ on as S,
4842
4875
  de as a,
4843
- vr as b,
4844
- Vr as c,
4845
- se as d,
4846
- K as e,
4876
+ Er as b,
4877
+ kr as c,
4878
+ ie as d,
4879
+ me as e,
4847
4880
  S as f,
4848
- me as g,
4849
- jt as h,
4850
- sn as i,
4881
+ fe as g,
4882
+ kt as h,
4883
+ nn as i,
4851
4884
  V as j,
4852
- Ss as k,
4853
- ws as l,
4854
- As as m,
4855
- B as n,
4856
- Yr as o,
4857
- Ts as p,
4858
- je as q,
4859
- ie as r,
4860
- Ft as s,
4861
- _s as t,
4862
- Ps as u,
4863
- Hs as v,
4864
- kt as w,
4865
- xs as x,
4866
- Bs as y,
4867
- on as z
4885
+ Ts as k,
4886
+ As as l,
4887
+ Ps as m,
4888
+ P as n,
4889
+ Qr as o,
4890
+ Hs as p,
4891
+ ke as q,
4892
+ ne as r,
4893
+ $t as s,
4894
+ Ss as t,
4895
+ Os as u,
4896
+ Bs as v,
4897
+ Vt as w,
4898
+ ws as x,
4899
+ Ns as y,
4900
+ cs as z
4868
4901
  };