@everymatrix/casino-collections-providers 1.53.0 → 1.53.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,79 +1,50 @@
1
- var Zr = Object.defineProperty, Qr = Object.defineProperties;
2
- var Jr = Object.getOwnPropertyDescriptors;
3
- var vt = Object.getOwnPropertySymbols;
4
- var Yr = Object.prototype.hasOwnProperty, qr = Object.prototype.propertyIsEnumerable;
5
- var Le = (e, t, r) => t in e ? Zr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, yt = (e, t) => {
6
- for (var r in t || (t = {}))
7
- Yr.call(t, r) && Le(e, r, t[r]);
8
- if (vt)
9
- for (var r of vt(t))
10
- qr.call(t, r) && Le(e, r, t[r]);
11
- return e;
12
- }, _t = (e, t) => Qr(e, Jr(t));
13
- var M = (e, t, r) => Le(e, typeof t != "symbol" ? t + "" : t, r);
14
- var Et = (e, t, r) => new Promise((n, i) => {
15
- var o = (l) => {
16
- try {
17
- a(r.next(l));
18
- } catch (u) {
19
- i(u);
20
- }
21
- }, s = (l) => {
22
- try {
23
- a(r.throw(l));
24
- } catch (u) {
25
- i(u);
26
- }
27
- }, a = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(o, s);
28
- a((r = r.apply(e, t)).next());
29
- });
30
- function L() {
1
+ function I() {
31
2
  }
32
- function qt(e) {
3
+ function Ft(e) {
33
4
  return e();
34
5
  }
35
- function xt() {
6
+ function ct() {
36
7
  return /* @__PURE__ */ Object.create(null);
37
8
  }
38
- function te(e) {
39
- e.forEach(qt);
9
+ function ee(e) {
10
+ e.forEach(Ft);
40
11
  }
41
- function nt(e) {
12
+ function et(e) {
42
13
  return typeof e == "function";
43
14
  }
44
- function Kt(e, t) {
15
+ function kt(e, t) {
45
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
17
  }
47
- let de;
48
- function Ee(e, t) {
49
- return e === t ? !0 : (de || (de = document.createElement("a")), de.href = t, e === de.href);
18
+ let fe;
19
+ function _e(e, t) {
20
+ return e === t ? !0 : (fe || (fe = document.createElement("a")), fe.href = t, e === fe.href);
50
21
  }
51
- function Kr(e) {
22
+ function Rr(e) {
52
23
  return Object.keys(e).length === 0;
53
24
  }
54
- function er(e, ...t) {
25
+ function jt(e, ...t) {
55
26
  if (e == null) {
56
27
  for (const n of t)
57
28
  n(void 0);
58
- return L;
29
+ return I;
59
30
  }
60
31
  const r = e.subscribe(...t);
61
32
  return r.unsubscribe ? () => r.unsubscribe() : r;
62
33
  }
63
- function en(e, t, r) {
64
- e.$$.on_destroy.push(er(t, r));
34
+ function $r(e, t, r) {
35
+ e.$$.on_destroy.push(jt(t, r));
65
36
  }
66
- function H(e, t) {
37
+ function T(e, t) {
67
38
  e.appendChild(t);
68
39
  }
69
- function tn(e, t, r) {
70
- const n = rn(e);
40
+ function Gr(e, t, r) {
41
+ const n = Ur(e);
71
42
  if (!n.getElementById(t)) {
72
- const i = C("style");
73
- i.id = t, i.textContent = r, nn(n, i);
43
+ const i = H("style");
44
+ i.id = t, i.textContent = r, Dr(n, i);
74
45
  }
75
46
  }
76
- function rn(e) {
47
+ function Ur(e) {
77
48
  if (!e) return document;
78
49
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
79
50
  return t && /** @type {ShadowRoot} */
@@ -82,75 +53,75 @@ function rn(e) {
82
53
  t
83
54
  ) : e.ownerDocument;
84
55
  }
85
- function nn(e, t) {
86
- return H(
56
+ function Dr(e, t) {
57
+ return T(
87
58
  /** @type {Document} */
88
59
  e.head || e,
89
60
  t
90
61
  ), t.sheet;
91
62
  }
92
- function G(e, t, r) {
63
+ function R(e, t, r) {
93
64
  e.insertBefore(t, r || null);
94
65
  }
95
- function R(e) {
66
+ function N(e) {
96
67
  e.parentNode && e.parentNode.removeChild(e);
97
68
  }
98
- function tr(e, t) {
69
+ function Vt(e, t) {
99
70
  for (let r = 0; r < e.length; r += 1)
100
71
  e[r] && e[r].d(t);
101
72
  }
102
- function C(e) {
73
+ function H(e) {
103
74
  return document.createElement(e);
104
75
  }
105
- function Ce(e) {
76
+ function He(e) {
106
77
  return document.createTextNode(e);
107
78
  }
108
- function j() {
109
- return Ce(" ");
79
+ function F() {
80
+ return He(" ");
110
81
  }
111
- function J(e, t, r, n) {
82
+ function Q(e, t, r, n) {
112
83
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
113
84
  }
114
- function on(e) {
85
+ function Fr(e) {
115
86
  return function(t) {
116
87
  return t.stopPropagation(), e.call(this, t);
117
88
  };
118
89
  }
119
- function x(e, t, r) {
90
+ function E(e, t, r) {
120
91
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
121
92
  }
122
- function sn(e) {
93
+ function kr(e) {
123
94
  return Array.from(e.childNodes);
124
95
  }
125
- function it(e, t) {
96
+ function tt(e, t) {
126
97
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
127
98
  t);
128
99
  }
129
- function Ne(e, t, r, n) {
100
+ function Ie(e, t, r, n) {
130
101
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
131
102
  }
132
- let pe;
133
- function an() {
134
- if (pe === void 0) {
135
- pe = !1;
103
+ let de;
104
+ function jr() {
105
+ if (de === void 0) {
106
+ de = !1;
136
107
  try {
137
- typeof window != "undefined" && window.parent && window.parent.document;
138
- } catch (e) {
139
- pe = !0;
108
+ typeof window < "u" && window.parent && window.parent.document;
109
+ } catch {
110
+ de = !0;
140
111
  }
141
112
  }
142
- return pe;
113
+ return de;
143
114
  }
144
- function ln(e, t) {
115
+ function Vr(e, t) {
145
116
  getComputedStyle(e).position === "static" && (e.style.position = "relative");
146
- const n = C("iframe");
117
+ const n = H("iframe");
147
118
  n.setAttribute(
148
119
  "style",
149
120
  "display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"
150
121
  ), n.setAttribute("aria-hidden", "true"), n.tabIndex = -1;
151
- const i = an();
122
+ const i = jr();
152
123
  let o;
153
- return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", o = J(
124
+ return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", o = Q(
154
125
  window,
155
126
  "message",
156
127
  /** @param {MessageEvent} event */
@@ -158,12 +129,12 @@ function ln(e, t) {
158
129
  s.source === n.contentWindow && t();
159
130
  }
160
131
  )) : (n.src = "about:blank", n.onload = () => {
161
- o = J(n.contentWindow, "resize", t), t();
162
- }), H(e, n), () => {
163
- (i || o && n.contentWindow) && o(), R(n);
132
+ o = Q(n.contentWindow, "resize", t), t();
133
+ }), T(e, n), () => {
134
+ (i || o && n.contentWindow) && o(), N(n);
164
135
  };
165
136
  }
166
- function un(e) {
137
+ function Xr(e) {
167
138
  const t = {};
168
139
  return e.childNodes.forEach(
169
140
  /** @param {Element} node */
@@ -173,95 +144,95 @@ function un(e) {
173
144
  ), t;
174
145
  }
175
146
  let ue;
176
- function le(e) {
147
+ function ae(e) {
177
148
  ue = e;
178
149
  }
179
- function hn() {
150
+ function Wr() {
180
151
  if (!ue) throw new Error("Function called outside component initialization");
181
152
  return ue;
182
153
  }
183
- function cn(e) {
184
- hn().$$.on_mount.push(e);
154
+ function zr(e) {
155
+ Wr().$$.on_mount.push(e);
185
156
  }
186
157
  const W = [], xe = [];
187
- let Z = [];
188
- const St = [], fn = /* @__PURE__ */ Promise.resolve();
189
- let ke = !1;
190
- function dn() {
191
- ke || (ke = !0, fn.then($));
192
- }
193
- function Se(e) {
194
- Z.push(e);
195
- }
196
- const Me = /* @__PURE__ */ new Set();
197
- let X = 0;
198
- function $() {
199
- if (X !== 0)
158
+ let z = [];
159
+ const ft = [], Zr = /* @__PURE__ */ Promise.resolve();
160
+ let De = !1;
161
+ function Qr() {
162
+ De || (De = !0, Zr.then(M));
163
+ }
164
+ function Ee(e) {
165
+ z.push(e);
166
+ }
167
+ const Le = /* @__PURE__ */ new Set();
168
+ let V = 0;
169
+ function M() {
170
+ if (V !== 0)
200
171
  return;
201
172
  const e = ue;
202
173
  do {
203
174
  try {
204
- for (; X < W.length; ) {
205
- const t = W[X];
206
- X++, le(t), pn(t.$$);
175
+ for (; V < W.length; ) {
176
+ const t = W[V];
177
+ V++, ae(t), Jr(t.$$);
207
178
  }
208
179
  } catch (t) {
209
- throw W.length = 0, X = 0, t;
180
+ throw W.length = 0, V = 0, t;
210
181
  }
211
- for (le(null), W.length = 0, X = 0; xe.length; ) xe.pop()();
212
- for (let t = 0; t < Z.length; t += 1) {
213
- const r = Z[t];
214
- Me.has(r) || (Me.add(r), r());
182
+ for (ae(null), W.length = 0, V = 0; xe.length; ) xe.pop()();
183
+ for (let t = 0; t < z.length; t += 1) {
184
+ const r = z[t];
185
+ Le.has(r) || (Le.add(r), r());
215
186
  }
216
- Z.length = 0;
187
+ z.length = 0;
217
188
  } while (W.length);
218
- for (; St.length; )
219
- St.pop()();
220
- ke = !1, Me.clear(), le(e);
189
+ for (; ft.length; )
190
+ ft.pop()();
191
+ De = !1, Le.clear(), ae(e);
221
192
  }
222
- function pn(e) {
193
+ function Jr(e) {
223
194
  if (e.fragment !== null) {
224
- e.update(), te(e.before_update);
195
+ e.update(), ee(e.before_update);
225
196
  const t = e.dirty;
226
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Se);
197
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ee);
227
198
  }
228
199
  }
229
- function mn(e) {
200
+ function Yr(e) {
230
201
  const t = [], r = [];
231
- Z.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Z = t;
202
+ z.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), z = t;
232
203
  }
233
- const bn = /* @__PURE__ */ new Set();
234
- function gn(e, t) {
235
- e && e.i && (bn.delete(e), e.i(t));
204
+ const qr = /* @__PURE__ */ new Set();
205
+ function Kr(e, t) {
206
+ e && e.i && (qr.delete(e), e.i(t));
236
207
  }
237
- function we(e) {
238
- return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
208
+ function Se(e) {
209
+ return e?.length !== void 0 ? e : Array.from(e);
239
210
  }
240
- function vn(e, t, r) {
211
+ function en(e, t, r) {
241
212
  const { fragment: n, after_update: i } = e.$$;
242
- n && n.m(t, r), Se(() => {
243
- const o = e.$$.on_mount.map(qt).filter(nt);
244
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : te(o), e.$$.on_mount = [];
245
- }), i.forEach(Se);
213
+ n && n.m(t, r), Ee(() => {
214
+ const o = e.$$.on_mount.map(Ft).filter(et);
215
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ee(o), e.$$.on_mount = [];
216
+ }), i.forEach(Ee);
246
217
  }
247
- function yn(e, t) {
218
+ function tn(e, t) {
248
219
  const r = e.$$;
249
- r.fragment !== null && (mn(r.after_update), te(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
220
+ r.fragment !== null && (Yr(r.after_update), ee(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
250
221
  }
251
- function _n(e, t) {
252
- e.$$.dirty[0] === -1 && (W.push(e), dn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
222
+ function rn(e, t) {
223
+ e.$$.dirty[0] === -1 && (W.push(e), Qr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
253
224
  }
254
- function En(e, t, r, n, i, o, s = null, a = [-1]) {
225
+ function nn(e, t, r, n, i, o, s = null, a = [-1]) {
255
226
  const l = ue;
256
- le(e);
257
- const u = e.$$ = {
227
+ ae(e);
228
+ const h = e.$$ = {
258
229
  fragment: null,
259
230
  ctx: [],
260
231
  // state
261
232
  props: o,
262
- update: L,
233
+ update: I,
263
234
  not_equal: i,
264
- bound: xt(),
235
+ bound: ct(),
265
236
  // lifecycle
266
237
  on_mount: [],
267
238
  on_destroy: [],
@@ -270,150 +241,146 @@ function En(e, t, r, n, i, o, s = null, a = [-1]) {
270
241
  after_update: [],
271
242
  context: new Map(t.context || (l ? l.$$.context : [])),
272
243
  // everything else
273
- callbacks: xt(),
244
+ callbacks: ct(),
274
245
  dirty: a,
275
246
  skip_bound: !1,
276
247
  root: t.target || l.$$.root
277
248
  };
278
- s && s(u.root);
279
- let h = !1;
280
- if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
281
- const d = p.length ? p[0] : f;
282
- return u.ctx && i(u.ctx[c], u.ctx[c] = d) && (!u.skip_bound && u.bound[c] && u.bound[c](d), h && _n(e, c)), f;
283
- }) : [], u.update(), h = !0, te(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
249
+ s && s(h.root);
250
+ let u = !1;
251
+ if (h.ctx = r(e, t.props || {}, (c, f, ...m) => {
252
+ const d = m.length ? m[0] : f;
253
+ return h.ctx && i(h.ctx[c], h.ctx[c] = d) && (!h.skip_bound && h.bound[c] && h.bound[c](d), u && rn(e, c)), f;
254
+ }), h.update(), u = !0, ee(h.before_update), h.fragment = n(h.ctx), t.target) {
284
255
  if (t.hydrate) {
285
- const c = sn(t.target);
286
- u.fragment && u.fragment.l(c), c.forEach(R);
256
+ const c = kr(t.target);
257
+ h.fragment && h.fragment.l(c), c.forEach(N);
287
258
  } else
288
- u.fragment && u.fragment.c();
289
- t.intro && gn(e.$$.fragment), vn(e, t.target, t.anchor), $();
259
+ h.fragment && h.fragment.c();
260
+ t.intro && Kr(e.$$.fragment), en(e, t.target, t.anchor), M();
290
261
  }
291
- le(l);
292
- }
293
- let rr;
294
- typeof HTMLElement == "function" && (rr = class extends HTMLElement {
295
- constructor(t, r, n) {
296
- super();
297
- /** The Svelte component constructor */
298
- M(this, "$$ctor");
299
- /** Slots */
300
- M(this, "$$s");
301
- /** The Svelte component instance */
302
- M(this, "$$c");
303
- /** Whether or not the custom element is connected */
304
- M(this, "$$cn", !1);
305
- /** Component props data */
306
- M(this, "$$d", {});
307
- /** `true` if currently in the process of reflecting component props back to attributes */
308
- M(this, "$$r", !1);
309
- /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
310
- M(this, "$$p_d", {});
311
- /** @type {Record<string, Function[]>} Event listeners */
312
- M(this, "$$l", {});
313
- /** @type {Map<Function, Function>} Event listener unsubscribe functions */
314
- M(this, "$$l_u", /* @__PURE__ */ new Map());
315
- this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
262
+ ae(l);
263
+ }
264
+ let Xt;
265
+ typeof HTMLElement == "function" && (Xt = class extends HTMLElement {
266
+ /** The Svelte component constructor */
267
+ $$ctor;
268
+ /** Slots */
269
+ $$s;
270
+ /** The Svelte component instance */
271
+ $$c;
272
+ /** Whether or not the custom element is connected */
273
+ $$cn = !1;
274
+ /** Component props data */
275
+ $$d = {};
276
+ /** `true` if currently in the process of reflecting component props back to attributes */
277
+ $$r = !1;
278
+ /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
279
+ $$p_d = {};
280
+ /** @type {Record<string, Function[]>} Event listeners */
281
+ $$l = {};
282
+ /** @type {Map<Function, Function>} Event listener unsubscribe functions */
283
+ $$l_u = /* @__PURE__ */ new Map();
284
+ constructor(e, t, r) {
285
+ super(), this.$$ctor = e, this.$$s = t, r && this.attachShadow({ mode: "open" });
316
286
  }
317
- addEventListener(t, r, n) {
318
- if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(r), this.$$c) {
319
- const i = this.$$c.$on(t, r);
320
- this.$$l_u.set(r, i);
287
+ addEventListener(e, t, r) {
288
+ if (this.$$l[e] = this.$$l[e] || [], this.$$l[e].push(t), this.$$c) {
289
+ const n = this.$$c.$on(e, t);
290
+ this.$$l_u.set(t, n);
321
291
  }
322
- super.addEventListener(t, r, n);
292
+ super.addEventListener(e, t, r);
323
293
  }
324
- removeEventListener(t, r, n) {
325
- if (super.removeEventListener(t, r, n), this.$$c) {
326
- const i = this.$$l_u.get(r);
327
- i && (i(), this.$$l_u.delete(r));
294
+ removeEventListener(e, t, r) {
295
+ if (super.removeEventListener(e, t, r), this.$$c) {
296
+ const n = this.$$l_u.get(t);
297
+ n && (n(), this.$$l_u.delete(t));
328
298
  }
329
299
  }
330
- connectedCallback() {
331
- return Et(this, null, function* () {
332
- if (this.$$cn = !0, !this.$$c) {
333
- let t = function(o) {
334
- return () => {
335
- let s;
336
- return {
337
- c: function() {
338
- s = C("slot"), o !== "default" && x(s, "name", o);
339
- },
340
- /**
341
- * @param {HTMLElement} target
342
- * @param {HTMLElement} [anchor]
343
- */
344
- m: function(u, h) {
345
- G(u, s, h);
346
- },
347
- d: function(u) {
348
- u && R(s);
349
- }
350
- };
300
+ async connectedCallback() {
301
+ if (this.$$cn = !0, !this.$$c) {
302
+ let e = function(i) {
303
+ return () => {
304
+ let o;
305
+ return {
306
+ c: function() {
307
+ o = H("slot"), i !== "default" && E(o, "name", i);
308
+ },
309
+ /**
310
+ * @param {HTMLElement} target
311
+ * @param {HTMLElement} [anchor]
312
+ */
313
+ m: function(l, h) {
314
+ R(l, o, h);
315
+ },
316
+ d: function(l) {
317
+ l && N(o);
318
+ }
351
319
  };
352
320
  };
353
- if (yield Promise.resolve(), !this.$$cn || this.$$c)
354
- return;
355
- const r = {}, n = un(this);
356
- for (const o of this.$$s)
357
- o in n && (r[o] = [t(o)]);
358
- for (const o of this.attributes) {
359
- const s = this.$$g_p(o.name);
360
- s in this.$$d || (this.$$d[s] = ge(s, o.value, this.$$p_d, "toProp"));
321
+ };
322
+ if (await Promise.resolve(), !this.$$cn || this.$$c)
323
+ return;
324
+ const t = {}, r = Xr(this);
325
+ for (const i of this.$$s)
326
+ i in r && (t[i] = [e(i)]);
327
+ for (const i of this.attributes) {
328
+ const o = this.$$g_p(i.name);
329
+ o in this.$$d || (this.$$d[o] = be(o, i.value, this.$$p_d, "toProp"));
330
+ }
331
+ for (const i in this.$$p_d)
332
+ !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
333
+ this.$$c = new this.$$ctor({
334
+ target: this.shadowRoot || this,
335
+ props: {
336
+ ...this.$$d,
337
+ $$slots: t,
338
+ $$scope: {
339
+ ctx: []
340
+ }
361
341
  }
362
- for (const o in this.$$p_d)
363
- !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
364
- this.$$c = new this.$$ctor({
365
- target: this.shadowRoot || this,
366
- props: _t(yt({}, this.$$d), {
367
- $$slots: r,
368
- $$scope: {
369
- ctx: []
370
- }
371
- })
372
- });
373
- const i = () => {
374
- this.$$r = !0;
375
- for (const o in this.$$p_d)
376
- if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
377
- const s = ge(
378
- o,
379
- this.$$d[o],
380
- this.$$p_d,
381
- "toAttribute"
382
- );
383
- s == null ? this.removeAttribute(this.$$p_d[o].attribute || o) : this.setAttribute(this.$$p_d[o].attribute || o, s);
384
- }
385
- this.$$r = !1;
386
- };
387
- this.$$c.$$.after_update.push(i), i();
388
- for (const o in this.$$l)
389
- for (const s of this.$$l[o]) {
390
- const a = this.$$c.$on(o, s);
391
- this.$$l_u.set(s, a);
342
+ });
343
+ const n = () => {
344
+ this.$$r = !0;
345
+ for (const i in this.$$p_d)
346
+ if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
347
+ const o = be(
348
+ i,
349
+ this.$$d[i],
350
+ this.$$p_d,
351
+ "toAttribute"
352
+ );
353
+ o == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, o);
392
354
  }
393
- this.$$l = {};
394
- }
395
- });
355
+ this.$$r = !1;
356
+ };
357
+ this.$$c.$$.after_update.push(n), n();
358
+ for (const i in this.$$l)
359
+ for (const o of this.$$l[i]) {
360
+ const s = this.$$c.$on(i, o);
361
+ this.$$l_u.set(o, s);
362
+ }
363
+ this.$$l = {};
364
+ }
396
365
  }
397
366
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
398
367
  // and setting attributes through setAttribute etc, this is helpful
399
- attributeChangedCallback(t, r, n) {
400
- var i;
401
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = ge(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
368
+ attributeChangedCallback(e, t, r) {
369
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = be(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
402
370
  }
403
371
  disconnectedCallback() {
404
372
  this.$$cn = !1, Promise.resolve().then(() => {
405
373
  !this.$$cn && this.$$c && (this.$$c.$destroy(), this.$$c = void 0);
406
374
  });
407
375
  }
408
- $$g_p(t) {
376
+ $$g_p(e) {
409
377
  return Object.keys(this.$$p_d).find(
410
- (r) => this.$$p_d[r].attribute === t || !this.$$p_d[r].attribute && r.toLowerCase() === t
411
- ) || t;
378
+ (t) => this.$$p_d[t].attribute === e || !this.$$p_d[t].attribute && t.toLowerCase() === e
379
+ ) || e;
412
380
  }
413
381
  });
414
- function ge(e, t, r, n) {
415
- var o;
416
- const i = (o = r[e]) == null ? void 0 : o.type;
382
+ function be(e, t, r, n) {
383
+ const i = r[e]?.type;
417
384
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
418
385
  return t;
419
386
  if (n === "toAttribute")
@@ -424,7 +391,7 @@ function ge(e, t, r, n) {
424
391
  case "Boolean":
425
392
  return t ? "" : null;
426
393
  case "Number":
427
- return t == null ? null : t;
394
+ return t ?? null;
428
395
  default:
429
396
  return t;
430
397
  }
@@ -441,8 +408,8 @@ function ge(e, t, r, n) {
441
408
  return t;
442
409
  }
443
410
  }
444
- function xn(e, t, r, n, i, o) {
445
- let s = class extends rr {
411
+ function on(e, t, r, n, i, o) {
412
+ let s = class extends Xt {
446
413
  constructor() {
447
414
  super(e, r, i), this.$$p_d = t;
448
415
  }
@@ -458,42 +425,38 @@ function xn(e, t, r, n, i, o) {
458
425
  return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
459
426
  },
460
427
  set(l) {
461
- var u;
462
- l = ge(a, l, t), this.$$d[a] = l, (u = this.$$c) == null || u.$set({ [a]: l });
428
+ l = be(a, l, t), this.$$d[a] = l, this.$$c?.$set({ [a]: l });
463
429
  }
464
430
  });
465
431
  }), n.forEach((a) => {
466
432
  Object.defineProperty(s.prototype, a, {
467
433
  get() {
468
- var l;
469
- return (l = this.$$c) == null ? void 0 : l[a];
434
+ return this.$$c?.[a];
470
435
  }
471
436
  });
472
437
  }), e.element = /** @type {any} */
473
438
  s, s;
474
439
  }
475
- class Sn {
476
- constructor() {
477
- /**
478
- * ### PRIVATE API
479
- *
480
- * Do not use, may change at any time
481
- *
482
- * @type {any}
483
- */
484
- M(this, "$$");
485
- /**
486
- * ### PRIVATE API
487
- *
488
- * Do not use, may change at any time
489
- *
490
- * @type {any}
491
- */
492
- M(this, "$$set");
493
- }
440
+ class sn {
441
+ /**
442
+ * ### PRIVATE API
443
+ *
444
+ * Do not use, may change at any time
445
+ *
446
+ * @type {any}
447
+ */
448
+ $$ = void 0;
449
+ /**
450
+ * ### PRIVATE API
451
+ *
452
+ * Do not use, may change at any time
453
+ *
454
+ * @type {any}
455
+ */
456
+ $$set = void 0;
494
457
  /** @returns {void} */
495
458
  $destroy() {
496
- yn(this, 1), this.$destroy = L;
459
+ tn(this, 1), this.$destroy = I;
497
460
  }
498
461
  /**
499
462
  * @template {Extract<keyof Events, string>} K
@@ -502,8 +465,8 @@ class Sn {
502
465
  * @returns {() => void}
503
466
  */
504
467
  $on(t, r) {
505
- if (!nt(r))
506
- return L;
468
+ if (!et(r))
469
+ return I;
507
470
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
508
471
  return n.push(r), () => {
509
472
  const i = n.indexOf(r);
@@ -515,174 +478,174 @@ class Sn {
515
478
  * @returns {void}
516
479
  */
517
480
  $set(t) {
518
- this.$$set && !Kr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
481
+ this.$$set && !Rr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
519
482
  }
520
483
  }
521
- const wn = "4";
522
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(wn);
523
- const z = [];
524
- function Tn(e, t) {
484
+ const an = "4";
485
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(an);
486
+ const X = [];
487
+ function un(e, t) {
525
488
  return {
526
- subscribe: Pe(e, t).subscribe
489
+ subscribe: Ce(e, t).subscribe
527
490
  };
528
491
  }
529
- function Pe(e, t = L) {
492
+ function Ce(e, t = I) {
530
493
  let r;
531
494
  const n = /* @__PURE__ */ new Set();
532
495
  function i(a) {
533
- if (Kt(e, a) && (e = a, r)) {
534
- const l = !z.length;
535
- for (const u of n)
536
- u[1](), z.push(u, e);
496
+ if (kt(e, a) && (e = a, r)) {
497
+ const l = !X.length;
498
+ for (const h of n)
499
+ h[1](), X.push(h, e);
537
500
  if (l) {
538
- for (let u = 0; u < z.length; u += 2)
539
- z[u][0](z[u + 1]);
540
- z.length = 0;
501
+ for (let h = 0; h < X.length; h += 2)
502
+ X[h][0](X[h + 1]);
503
+ X.length = 0;
541
504
  }
542
505
  }
543
506
  }
544
507
  function o(a) {
545
508
  i(a(e));
546
509
  }
547
- function s(a, l = L) {
548
- const u = [a, l];
549
- return n.add(u), n.size === 1 && (r = t(i, o) || L), a(e), () => {
550
- n.delete(u), n.size === 0 && r && (r(), r = null);
510
+ function s(a, l = I) {
511
+ const h = [a, l];
512
+ return n.add(h), n.size === 1 && (r = t(i, o) || I), a(e), () => {
513
+ n.delete(h), n.size === 0 && r && (r(), r = null);
551
514
  };
552
515
  }
553
516
  return { set: i, update: o, subscribe: s };
554
517
  }
555
- function re(e, t, r) {
518
+ function te(e, t, r) {
556
519
  const n = !Array.isArray(e), i = n ? [e] : e;
557
520
  if (!i.every(Boolean))
558
521
  throw new Error("derived() expects stores as input, got a falsy value");
559
522
  const o = t.length < 2;
560
- return Tn(r, (s, a) => {
523
+ return un(r, (s, a) => {
561
524
  let l = !1;
562
- const u = [];
563
- let h = 0, c = L;
525
+ const h = [];
526
+ let u = 0, c = I;
564
527
  const f = () => {
565
- if (h)
528
+ if (u)
566
529
  return;
567
530
  c();
568
- const d = t(n ? u[0] : u, s, a);
569
- o ? s(d) : c = nt(d) ? d : L;
570
- }, p = i.map(
571
- (d, g) => er(
531
+ const d = t(n ? h[0] : h, s, a);
532
+ o ? s(d) : c = et(d) ? d : I;
533
+ }, m = i.map(
534
+ (d, g) => jt(
572
535
  d,
573
- (m) => {
574
- u[g] = m, h &= ~(1 << g), l && f();
536
+ (p) => {
537
+ h[g] = p, u &= ~(1 << g), l && f();
575
538
  },
576
539
  () => {
577
- h |= 1 << g;
540
+ u |= 1 << g;
578
541
  }
579
542
  )
580
543
  );
581
544
  return l = !0, f(), function() {
582
- te(p), c(), l = !1;
545
+ ee(m), c(), l = !1;
583
546
  };
584
547
  });
585
548
  }
586
- function Hn(e) {
587
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
549
+ function ln(e) {
550
+ return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
588
551
  }
589
- var Cn = function(t) {
590
- return Pn(t) && !Bn(t);
552
+ var hn = function(t) {
553
+ return cn(t) && !fn(t);
591
554
  };
592
- function Pn(e) {
555
+ function cn(e) {
593
556
  return !!e && typeof e == "object";
594
557
  }
595
- function Bn(e) {
558
+ function fn(e) {
596
559
  var t = Object.prototype.toString.call(e);
597
- return t === "[object RegExp]" || t === "[object Date]" || In(e);
560
+ return t === "[object RegExp]" || t === "[object Date]" || mn(e);
598
561
  }
599
- var An = typeof Symbol == "function" && Symbol.for, On = An ? Symbol.for("react.element") : 60103;
600
- function In(e) {
601
- return e.$$typeof === On;
562
+ var dn = typeof Symbol == "function" && Symbol.for, pn = dn ? Symbol.for("react.element") : 60103;
563
+ function mn(e) {
564
+ return e.$$typeof === pn;
602
565
  }
603
- function Ln(e) {
566
+ function bn(e) {
604
567
  return Array.isArray(e) ? [] : {};
605
568
  }
606
- function he(e, t) {
607
- return t.clone !== !1 && t.isMergeableObject(e) ? Y(Ln(e), e, t) : e;
569
+ function le(e, t) {
570
+ return t.clone !== !1 && t.isMergeableObject(e) ? J(bn(e), e, t) : e;
608
571
  }
609
- function Nn(e, t, r) {
572
+ function gn(e, t, r) {
610
573
  return e.concat(t).map(function(n) {
611
- return he(n, r);
574
+ return le(n, r);
612
575
  });
613
576
  }
614
- function Mn(e, t) {
577
+ function yn(e, t) {
615
578
  if (!t.customMerge)
616
- return Y;
579
+ return J;
617
580
  var r = t.customMerge(e);
618
- return typeof r == "function" ? r : Y;
581
+ return typeof r == "function" ? r : J;
619
582
  }
620
- function Rn(e) {
583
+ function vn(e) {
621
584
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
622
585
  return Object.propertyIsEnumerable.call(e, t);
623
586
  }) : [];
624
587
  }
625
- function wt(e) {
626
- return Object.keys(e).concat(Rn(e));
588
+ function dt(e) {
589
+ return Object.keys(e).concat(vn(e));
627
590
  }
628
- function nr(e, t) {
591
+ function Wt(e, t) {
629
592
  try {
630
593
  return t in e;
631
- } catch (r) {
594
+ } catch {
632
595
  return !1;
633
596
  }
634
597
  }
635
- function $n(e, t) {
636
- return nr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
598
+ function _n(e, t) {
599
+ return Wt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
637
600
  }
638
- function Gn(e, t, r) {
601
+ function xn(e, t, r) {
639
602
  var n = {};
640
- return r.isMergeableObject(e) && wt(e).forEach(function(i) {
641
- n[i] = he(e[i], r);
642
- }), wt(t).forEach(function(i) {
643
- $n(e, i) || (nr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Mn(i, r)(e[i], t[i], r) : n[i] = he(t[i], r));
603
+ return r.isMergeableObject(e) && dt(e).forEach(function(i) {
604
+ n[i] = le(e[i], r);
605
+ }), dt(t).forEach(function(i) {
606
+ _n(e, i) || (Wt(e, i) && r.isMergeableObject(t[i]) ? n[i] = yn(i, r)(e[i], t[i], r) : n[i] = le(t[i], r));
644
607
  }), n;
645
608
  }
646
- function Y(e, t, r) {
647
- r = r || {}, r.arrayMerge = r.arrayMerge || Nn, r.isMergeableObject = r.isMergeableObject || Cn, r.cloneUnlessOtherwiseSpecified = he;
609
+ function J(e, t, r) {
610
+ r = r || {}, r.arrayMerge = r.arrayMerge || gn, r.isMergeableObject = r.isMergeableObject || hn, r.cloneUnlessOtherwiseSpecified = le;
648
611
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
649
- return o ? n ? r.arrayMerge(e, t, r) : Gn(e, t, r) : he(t, r);
612
+ return o ? n ? r.arrayMerge(e, t, r) : xn(e, t, r) : le(t, r);
650
613
  }
651
- Y.all = function(t, r) {
614
+ J.all = function(t, r) {
652
615
  if (!Array.isArray(t))
653
616
  throw new Error("first argument should be an array");
654
617
  return t.reduce(function(n, i) {
655
- return Y(n, i, r);
618
+ return J(n, i, r);
656
619
  }, {});
657
620
  };
658
- var Un = Y, Dn = Un;
659
- const Fn = /* @__PURE__ */ Hn(Dn);
660
- var Ve = function(e, t) {
661
- return Ve = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
621
+ var En = J, Sn = En;
622
+ const wn = /* @__PURE__ */ ln(Sn);
623
+ var Fe = function(e, t) {
624
+ return Fe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
662
625
  r.__proto__ = n;
663
626
  } || function(r, n) {
664
627
  for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
665
- }, Ve(e, t);
628
+ }, Fe(e, t);
666
629
  };
667
- function D(e, t) {
630
+ function U(e, t) {
668
631
  if (typeof t != "function" && t !== null)
669
632
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
670
- Ve(e, t);
633
+ Fe(e, t);
671
634
  function r() {
672
635
  this.constructor = e;
673
636
  }
674
637
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
675
638
  }
676
- var _ = function() {
677
- return _ = Object.assign || function(t) {
639
+ var x = function() {
640
+ return x = Object.assign || function(t) {
678
641
  for (var r, n = 1, i = arguments.length; n < i; n++) {
679
642
  r = arguments[n];
680
643
  for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
681
644
  }
682
645
  return t;
683
- }, _.apply(this, arguments);
646
+ }, x.apply(this, arguments);
684
647
  };
685
- function jn(e, t) {
648
+ function Tn(e, t) {
686
649
  var r = {};
687
650
  for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
688
651
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -690,7 +653,7 @@ function jn(e, t) {
690
653
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
691
654
  return r;
692
655
  }
693
- function Xe(e) {
656
+ function ke(e) {
694
657
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
695
658
  if (r) return r.call(e);
696
659
  if (e && typeof e.length == "number") return {
@@ -700,7 +663,7 @@ function Xe(e) {
700
663
  };
701
664
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
702
665
  }
703
- function ze(e, t) {
666
+ function je(e, t) {
704
667
  var r = typeof Symbol == "function" && e[Symbol.iterator];
705
668
  if (!r) return e;
706
669
  var n = r.call(e), i, o = [], s;
@@ -717,110 +680,112 @@ function ze(e, t) {
717
680
  }
718
681
  return o;
719
682
  }
720
- function Q(e, t, r) {
683
+ function Z(e, t, r) {
721
684
  if (r || arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
722
685
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
723
686
  return e.concat(o || Array.prototype.slice.call(t));
724
687
  }
725
- function Re(e, t) {
726
- var r = t && t.cache ? t.cache : Zn, n = t && t.serializer ? t.serializer : Wn, i = t && t.strategy ? t.strategy : Vn;
688
+ function Ne(e, t) {
689
+ var r = t && t.cache ? t.cache : In, n = t && t.serializer ? t.serializer : An, i = t && t.strategy ? t.strategy : Cn;
727
690
  return i(e, {
728
691
  cache: r,
729
692
  serializer: n
730
693
  });
731
694
  }
732
- function kn(e) {
695
+ function Hn(e) {
733
696
  return e == null || typeof e == "number" || typeof e == "boolean";
734
697
  }
735
- function ir(e, t, r, n) {
736
- var i = kn(n) ? n : r(n), o = t.get(i);
737
- return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
698
+ function zt(e, t, r, n) {
699
+ var i = Hn(n) ? n : r(n), o = t.get(i);
700
+ return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
738
701
  }
739
- function or(e, t, r) {
702
+ function Zt(e, t, r) {
740
703
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
741
- return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
704
+ return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
742
705
  }
743
- function ot(e, t, r, n, i) {
706
+ function rt(e, t, r, n, i) {
744
707
  return r.bind(t, e, n, i);
745
708
  }
746
- function Vn(e, t) {
747
- var r = e.length === 1 ? ir : or;
748
- return ot(e, this, r, t.cache.create(), t.serializer);
709
+ function Cn(e, t) {
710
+ var r = e.length === 1 ? zt : Zt;
711
+ return rt(e, this, r, t.cache.create(), t.serializer);
749
712
  }
750
- function Xn(e, t) {
751
- return ot(e, this, or, t.cache.create(), t.serializer);
713
+ function Pn(e, t) {
714
+ return rt(e, this, Zt, t.cache.create(), t.serializer);
752
715
  }
753
- function zn(e, t) {
754
- return ot(e, this, ir, t.cache.create(), t.serializer);
716
+ function Bn(e, t) {
717
+ return rt(e, this, zt, t.cache.create(), t.serializer);
755
718
  }
756
- var Wn = function() {
719
+ var An = function() {
757
720
  return JSON.stringify(arguments);
758
- };
759
- function st() {
760
- this.cache = /* @__PURE__ */ Object.create(null);
761
- }
762
- st.prototype.get = function(e) {
763
- return this.cache[e];
764
- };
765
- st.prototype.set = function(e, t) {
766
- this.cache[e] = t;
767
- };
768
- var Zn = {
721
+ }, On = (
722
+ /** @class */
723
+ function() {
724
+ function e() {
725
+ this.cache = /* @__PURE__ */ Object.create(null);
726
+ }
727
+ return e.prototype.get = function(t) {
728
+ return this.cache[t];
729
+ }, e.prototype.set = function(t, r) {
730
+ this.cache[t] = r;
731
+ }, e;
732
+ }()
733
+ ), In = {
769
734
  create: function() {
770
- return new st();
735
+ return new On();
771
736
  }
772
- }, $e = {
773
- variadic: Xn,
774
- monadic: zn
775
- }, v;
737
+ }, Me = {
738
+ variadic: Pn,
739
+ monadic: Bn
740
+ }, y;
776
741
  (function(e) {
777
742
  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";
778
- })(v || (v = {}));
743
+ })(y || (y = {}));
779
744
  var w;
780
745
  (function(e) {
781
746
  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";
782
747
  })(w || (w = {}));
783
- var q;
748
+ var Y;
784
749
  (function(e) {
785
750
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
786
- })(q || (q = {}));
787
- function Tt(e) {
751
+ })(Y || (Y = {}));
752
+ function pt(e) {
788
753
  return e.type === w.literal;
789
754
  }
790
- function Qn(e) {
755
+ function Ln(e) {
791
756
  return e.type === w.argument;
792
757
  }
793
- function sr(e) {
758
+ function Qt(e) {
794
759
  return e.type === w.number;
795
760
  }
796
- function ar(e) {
761
+ function Jt(e) {
797
762
  return e.type === w.date;
798
763
  }
799
- function lr(e) {
764
+ function Yt(e) {
800
765
  return e.type === w.time;
801
766
  }
802
- function ur(e) {
767
+ function qt(e) {
803
768
  return e.type === w.select;
804
769
  }
805
- function hr(e) {
770
+ function Kt(e) {
806
771
  return e.type === w.plural;
807
772
  }
808
- function Jn(e) {
773
+ function Nn(e) {
809
774
  return e.type === w.pound;
810
775
  }
811
- function cr(e) {
776
+ function er(e) {
812
777
  return e.type === w.tag;
813
778
  }
814
- function fr(e) {
815
- return !!(e && typeof e == "object" && e.type === q.number);
779
+ function tr(e) {
780
+ return !!(e && typeof e == "object" && e.type === Y.number);
816
781
  }
817
- function We(e) {
818
- return !!(e && typeof e == "object" && e.type === q.dateTime);
782
+ function Ve(e) {
783
+ return !!(e && typeof e == "object" && e.type === Y.dateTime);
819
784
  }
820
- var dr = /[ \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;
821
- function qn(e) {
785
+ var rr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Mn = /(?:[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;
786
+ function Rn(e) {
822
787
  var t = {};
823
- return e.replace(Yn, function(r) {
788
+ return e.replace(Mn, function(r) {
824
789
  var n = r.length;
825
790
  switch (r[0]) {
826
791
  case "G":
@@ -909,18 +874,18 @@ function qn(e) {
909
874
  return "";
910
875
  }), t;
911
876
  }
912
- var Kn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
913
- function ei(e) {
877
+ var $n = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
878
+ function Gn(e) {
914
879
  if (e.length === 0)
915
880
  throw new Error("Number skeleton cannot be empty");
916
- for (var t = e.split(Kn).filter(function(f) {
881
+ for (var t = e.split($n).filter(function(f) {
917
882
  return f.length > 0;
918
883
  }), r = [], n = 0, i = t; n < i.length; n++) {
919
884
  var o = i[n], s = o.split("/");
920
885
  if (s.length === 0)
921
886
  throw new Error("Invalid number skeleton");
922
- for (var a = s[0], l = s.slice(1), u = 0, h = l; u < h.length; u++) {
923
- var c = h[u];
887
+ for (var a = s[0], l = s.slice(1), h = 0, u = l; h < u.length; h++) {
888
+ var c = u[h];
924
889
  if (c.length === 0)
925
890
  throw new Error("Invalid number skeleton");
926
891
  }
@@ -928,17 +893,17 @@ function ei(e) {
928
893
  }
929
894
  return r;
930
895
  }
931
- function ti(e) {
896
+ function Un(e) {
932
897
  return e.replace(/^(.*?)-/, "");
933
898
  }
934
- var Ht = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, pr = /^(@+)?(\+|#+)?[rs]?$/g, ri = /(\*)(0+)|(#+)(0+)|(0+)/g, mr = /^(0+)$/;
935
- function Ct(e) {
899
+ var mt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, nr = /^(@+)?(\+|#+)?[rs]?$/g, Dn = /(\*)(0+)|(#+)(0+)|(0+)/g, ir = /^(0+)$/;
900
+ function bt(e) {
936
901
  var t = {};
937
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(pr, function(r, n, i) {
902
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(nr, function(r, n, i) {
938
903
  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)), "";
939
904
  }), t;
940
905
  }
941
- function br(e) {
906
+ function or(e) {
942
907
  switch (e) {
943
908
  case "sign-auto":
944
909
  return {
@@ -978,7 +943,7 @@ function br(e) {
978
943
  };
979
944
  }
980
945
  }
981
- function ni(e) {
946
+ function Fn(e) {
982
947
  var t;
983
948
  if (e[0] === "E" && e[1] === "E" ? (t = {
984
949
  notation: "engineering"
@@ -986,17 +951,17 @@ function ni(e) {
986
951
  notation: "scientific"
987
952
  }, e = e.slice(1)), t) {
988
953
  var r = e.slice(0, 2);
989
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !mr.test(e))
954
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !ir.test(e))
990
955
  throw new Error("Malformed concise eng/scientific notation");
991
956
  t.minimumIntegerDigits = e.length;
992
957
  }
993
958
  return t;
994
959
  }
995
- function Pt(e) {
996
- var t = {}, r = br(e);
960
+ function gt(e) {
961
+ var t = {}, r = or(e);
997
962
  return r || t;
998
963
  }
999
- function ii(e) {
964
+ function kn(e) {
1000
965
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1001
966
  var i = n[r];
1002
967
  switch (i.stem) {
@@ -1020,7 +985,7 @@ function ii(e) {
1020
985
  continue;
1021
986
  case "measure-unit":
1022
987
  case "unit":
1023
- t.style = "unit", t.unit = ti(i.options[0]);
988
+ t.style = "unit", t.unit = Un(i.options[0]);
1024
989
  continue;
1025
990
  case "compact-short":
1026
991
  case "K":
@@ -1031,13 +996,13 @@ function ii(e) {
1031
996
  t.notation = "compact", t.compactDisplay = "long";
1032
997
  continue;
1033
998
  case "scientific":
1034
- t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1035
- return _(_({}, l), Pt(u));
999
+ t = x(x(x({}, t), { notation: "scientific" }), i.options.reduce(function(l, h) {
1000
+ return x(x({}, l), gt(h));
1036
1001
  }, {}));
1037
1002
  continue;
1038
1003
  case "engineering":
1039
- t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1040
- return _(_({}, l), Pt(u));
1004
+ t = x(x(x({}, t), { notation: "engineering" }), i.options.reduce(function(l, h) {
1005
+ return x(x({}, l), gt(h));
1041
1006
  }, {}));
1042
1007
  continue;
1043
1008
  case "notation-simple":
@@ -1082,45 +1047,45 @@ function ii(e) {
1082
1047
  case "integer-width":
1083
1048
  if (i.options.length > 1)
1084
1049
  throw new RangeError("integer-width stems only accept a single optional option");
1085
- i.options[0].replace(ri, function(l, u, h, c, f, p) {
1086
- if (u)
1087
- t.minimumIntegerDigits = h.length;
1050
+ i.options[0].replace(Dn, function(l, h, u, c, f, m) {
1051
+ if (h)
1052
+ t.minimumIntegerDigits = u.length;
1088
1053
  else {
1089
1054
  if (c && f)
1090
1055
  throw new Error("We currently do not support maximum integer digits");
1091
- if (p)
1056
+ if (m)
1092
1057
  throw new Error("We currently do not support exact integer digits");
1093
1058
  }
1094
1059
  return "";
1095
1060
  });
1096
1061
  continue;
1097
1062
  }
1098
- if (mr.test(i.stem)) {
1063
+ if (ir.test(i.stem)) {
1099
1064
  t.minimumIntegerDigits = i.stem.length;
1100
1065
  continue;
1101
1066
  }
1102
- if (Ht.test(i.stem)) {
1067
+ if (mt.test(i.stem)) {
1103
1068
  if (i.options.length > 1)
1104
1069
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1105
- i.stem.replace(Ht, function(l, u, h, c, f, p) {
1106
- return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1070
+ i.stem.replace(mt, function(l, h, u, c, f, m) {
1071
+ return u === "*" ? t.minimumFractionDigits = h.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && m ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + m.length) : (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length), "";
1107
1072
  });
1108
1073
  var o = i.options[0];
1109
- o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), Ct(o)));
1074
+ o === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = x(x({}, t), bt(o)));
1110
1075
  continue;
1111
1076
  }
1112
- if (pr.test(i.stem)) {
1113
- t = _(_({}, t), Ct(i.stem));
1077
+ if (nr.test(i.stem)) {
1078
+ t = x(x({}, t), bt(i.stem));
1114
1079
  continue;
1115
1080
  }
1116
- var s = br(i.stem);
1117
- s && (t = _(_({}, t), s));
1118
- var a = ni(i.stem);
1119
- a && (t = _(_({}, t), a));
1081
+ var s = or(i.stem);
1082
+ s && (t = x(x({}, t), s));
1083
+ var a = Fn(i.stem);
1084
+ a && (t = x(x({}, t), a));
1120
1085
  }
1121
1086
  return t;
1122
1087
  }
1123
- var me = {
1088
+ var pe = {
1124
1089
  "001": [
1125
1090
  "H",
1126
1091
  "h"
@@ -2535,22 +2500,22 @@ var me = {
2535
2500
  "h"
2536
2501
  ]
2537
2502
  };
2538
- function oi(e, t) {
2503
+ function jn(e, t) {
2539
2504
  for (var r = "", n = 0; n < e.length; n++) {
2540
2505
  var i = e.charAt(n);
2541
2506
  if (i === "j") {
2542
2507
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2543
2508
  o++, n++;
2544
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = si(t);
2545
- for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2509
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", h = Vn(t);
2510
+ for ((h == "H" || h == "k") && (a = 0); a-- > 0; )
2546
2511
  r += l;
2547
2512
  for (; s-- > 0; )
2548
- r = u + r;
2513
+ r = h + r;
2549
2514
  } else i === "J" ? r += "H" : r += i;
2550
2515
  }
2551
2516
  return r;
2552
2517
  }
2553
- function si(e) {
2518
+ function Vn(e) {
2554
2519
  var t = e.hourCycle;
2555
2520
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2556
2521
  e.hourCycles && // @ts-ignore
@@ -2569,23 +2534,23 @@ function si(e) {
2569
2534
  }
2570
2535
  var r = e.language, n;
2571
2536
  r !== "root" && (n = e.maximize().region);
2572
- var i = me[n || ""] || me[r || ""] || me["".concat(r, "-001")] || me["001"];
2537
+ var i = pe[n || ""] || pe[r || ""] || pe["".concat(r, "-001")] || pe["001"];
2573
2538
  return i[0];
2574
2539
  }
2575
- var Ge, ai = new RegExp("^".concat(dr.source, "*")), li = new RegExp("".concat(dr.source, "*$"));
2576
- function y(e, t) {
2540
+ var Re, Xn = new RegExp("^".concat(rr.source, "*")), Wn = new RegExp("".concat(rr.source, "*$"));
2541
+ function v(e, t) {
2577
2542
  return { start: e, end: t };
2578
2543
  }
2579
- var ui = !!String.prototype.startsWith && "_a".startsWith("a", 1), hi = !!String.fromCodePoint, ci = !!Object.fromEntries, fi = !!String.prototype.codePointAt, di = !!String.prototype.trimStart, pi = !!String.prototype.trimEnd, mi = !!Number.isSafeInteger, bi = mi ? Number.isSafeInteger : function(e) {
2544
+ var zn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Zn = !!String.fromCodePoint, Qn = !!Object.fromEntries, Jn = !!String.prototype.codePointAt, Yn = !!String.prototype.trimStart, qn = !!String.prototype.trimEnd, Kn = !!Number.isSafeInteger, ei = Kn ? Number.isSafeInteger : function(e) {
2580
2545
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2581
- }, Ze = !0;
2546
+ }, Xe = !0;
2582
2547
  try {
2583
- var gi = vr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2584
- Ze = ((Ge = gi.exec("a")) === null || Ge === void 0 ? void 0 : Ge[0]) === "a";
2585
- } catch (e) {
2586
- Ze = !1;
2548
+ var ti = ar("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2549
+ Xe = ((Re = ti.exec("a")) === null || Re === void 0 ? void 0 : Re[0]) === "a";
2550
+ } catch {
2551
+ Xe = !1;
2587
2552
  }
2588
- var Bt = ui ? (
2553
+ var yt = zn ? (
2589
2554
  // Native
2590
2555
  function(t, r, n) {
2591
2556
  return t.startsWith(r, n);
@@ -2595,7 +2560,7 @@ var Bt = ui ? (
2595
2560
  function(t, r, n) {
2596
2561
  return t.slice(n, n + r.length) === r;
2597
2562
  }
2598
- ), Qe = hi ? String.fromCodePoint : (
2563
+ ), We = Zn ? String.fromCodePoint : (
2599
2564
  // IE11
2600
2565
  function() {
2601
2566
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2607,9 +2572,9 @@ var Bt = ui ? (
2607
2572
  }
2608
2573
  return n;
2609
2574
  }
2610
- ), At = (
2575
+ ), vt = (
2611
2576
  // native
2612
- ci ? Object.fromEntries : (
2577
+ Qn ? Object.fromEntries : (
2613
2578
  // Ponyfill
2614
2579
  function(t) {
2615
2580
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2619,7 +2584,7 @@ var Bt = ui ? (
2619
2584
  return r;
2620
2585
  }
2621
2586
  )
2622
- ), gr = fi ? (
2587
+ ), sr = Jn ? (
2623
2588
  // Native
2624
2589
  function(t, r) {
2625
2590
  return t.codePointAt(r);
@@ -2633,7 +2598,7 @@ var Bt = ui ? (
2633
2598
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2634
2599
  }
2635
2600
  }
2636
- ), vi = di ? (
2601
+ ), ri = Yn ? (
2637
2602
  // Native
2638
2603
  function(t) {
2639
2604
  return t.trimStart();
@@ -2641,9 +2606,9 @@ var Bt = ui ? (
2641
2606
  ) : (
2642
2607
  // Ponyfill
2643
2608
  function(t) {
2644
- return t.replace(ai, "");
2609
+ return t.replace(Xn, "");
2645
2610
  }
2646
- ), yi = pi ? (
2611
+ ), ni = qn ? (
2647
2612
  // Native
2648
2613
  function(t) {
2649
2614
  return t.trimEnd();
@@ -2651,32 +2616,32 @@ var Bt = ui ? (
2651
2616
  ) : (
2652
2617
  // Ponyfill
2653
2618
  function(t) {
2654
- return t.replace(li, "");
2619
+ return t.replace(Wn, "");
2655
2620
  }
2656
2621
  );
2657
- function vr(e, t) {
2622
+ function ar(e, t) {
2658
2623
  return new RegExp(e, t);
2659
2624
  }
2660
- var Je;
2661
- if (Ze) {
2662
- var Ot = vr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2663
- Je = function(t, r) {
2625
+ var ze;
2626
+ if (Xe) {
2627
+ var _t = ar("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2628
+ ze = function(t, r) {
2664
2629
  var n;
2665
- Ot.lastIndex = r;
2666
- var i = Ot.exec(t);
2630
+ _t.lastIndex = r;
2631
+ var i = _t.exec(t);
2667
2632
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2668
2633
  };
2669
2634
  } else
2670
- Je = function(t, r) {
2635
+ ze = function(t, r) {
2671
2636
  for (var n = []; ; ) {
2672
- var i = gr(t, r);
2673
- if (i === void 0 || yr(i) || Si(i))
2637
+ var i = sr(t, r);
2638
+ if (i === void 0 || ur(i) || ai(i))
2674
2639
  break;
2675
2640
  n.push(i), r += i >= 65536 ? 2 : 1;
2676
2641
  }
2677
- return Qe.apply(void 0, n);
2642
+ return We.apply(void 0, n);
2678
2643
  };
2679
- var _i = (
2644
+ var ii = (
2680
2645
  /** @class */
2681
2646
  function() {
2682
2647
  function e(t, r) {
@@ -2701,13 +2666,13 @@ var _i = (
2701
2666
  var a = this.clonePosition();
2702
2667
  this.bump(), i.push({
2703
2668
  type: w.pound,
2704
- location: y(a, this.clonePosition())
2669
+ location: v(a, this.clonePosition())
2705
2670
  });
2706
2671
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
2707
2672
  if (n)
2708
2673
  break;
2709
- return this.error(v.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
2710
- } else if (o === 60 && !this.ignoreTag && Ye(this.peek() || 0)) {
2674
+ return this.error(y.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
2675
+ } else if (o === 60 && !this.ignoreTag && Ze(this.peek() || 0)) {
2711
2676
  var s = this.parseTag(t, r);
2712
2677
  if (s.err)
2713
2678
  return s;
@@ -2730,7 +2695,7 @@ var _i = (
2730
2695
  val: {
2731
2696
  type: w.literal,
2732
2697
  value: "<".concat(i, "/>"),
2733
- location: y(n, this.clonePosition())
2698
+ location: v(n, this.clonePosition())
2734
2699
  },
2735
2700
  err: null
2736
2701
  };
@@ -2740,25 +2705,25 @@ var _i = (
2740
2705
  return o;
2741
2706
  var s = o.val, a = this.clonePosition();
2742
2707
  if (this.bumpIf("</")) {
2743
- if (this.isEOF() || !Ye(this.char()))
2744
- return this.error(v.INVALID_TAG, y(a, this.clonePosition()));
2745
- var l = this.clonePosition(), u = this.parseTagName();
2746
- return i !== u ? this.error(v.UNMATCHED_CLOSING_TAG, y(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2708
+ if (this.isEOF() || !Ze(this.char()))
2709
+ return this.error(y.INVALID_TAG, v(a, this.clonePosition()));
2710
+ var l = this.clonePosition(), h = this.parseTagName();
2711
+ return i !== h ? this.error(y.UNMATCHED_CLOSING_TAG, v(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2747
2712
  val: {
2748
2713
  type: w.tag,
2749
2714
  value: i,
2750
2715
  children: s,
2751
- location: y(n, this.clonePosition())
2716
+ location: v(n, this.clonePosition())
2752
2717
  },
2753
2718
  err: null
2754
- } : this.error(v.INVALID_TAG, y(a, this.clonePosition())));
2719
+ } : this.error(y.INVALID_TAG, v(a, this.clonePosition())));
2755
2720
  } else
2756
- return this.error(v.UNCLOSED_TAG, y(n, this.clonePosition()));
2721
+ return this.error(y.UNCLOSED_TAG, v(n, this.clonePosition()));
2757
2722
  } else
2758
- return this.error(v.INVALID_TAG, y(n, this.clonePosition()));
2723
+ return this.error(y.INVALID_TAG, v(n, this.clonePosition()));
2759
2724
  }, e.prototype.parseTagName = function() {
2760
2725
  var t = this.offset();
2761
- for (this.bump(); !this.isEOF() && xi(this.char()); )
2726
+ for (this.bump(); !this.isEOF() && si(this.char()); )
2762
2727
  this.bump();
2763
2728
  return this.message.slice(t, this.offset());
2764
2729
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2780,14 +2745,14 @@ var _i = (
2780
2745
  }
2781
2746
  break;
2782
2747
  }
2783
- var l = y(n, this.clonePosition());
2748
+ var l = v(n, this.clonePosition());
2784
2749
  return {
2785
2750
  val: { type: w.literal, value: i, location: l },
2786
2751
  err: null
2787
2752
  };
2788
2753
  }, e.prototype.tryParseLeftAngleBracket = function() {
2789
2754
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2790
- !Ei(this.peek() || 0)) ? (this.bump(), "<") : null;
2755
+ !oi(this.peek() || 0)) ? (this.bump(), "<") : null;
2791
2756
  }, e.prototype.tryParseQuote = function(t) {
2792
2757
  if (this.isEOF() || this.char() !== 39)
2793
2758
  return null;
@@ -2821,23 +2786,23 @@ var _i = (
2821
2786
  r.push(n);
2822
2787
  this.bump();
2823
2788
  }
2824
- return Qe.apply(void 0, r);
2789
+ return We.apply(void 0, r);
2825
2790
  }, e.prototype.tryParseUnquoted = function(t, r) {
2826
2791
  if (this.isEOF())
2827
2792
  return null;
2828
2793
  var n = this.char();
2829
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Qe(n));
2794
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), We(n));
2830
2795
  }, e.prototype.parseArgument = function(t, r) {
2831
2796
  var n = this.clonePosition();
2832
2797
  if (this.bump(), this.bumpSpace(), this.isEOF())
2833
- return this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
2798
+ return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
2834
2799
  if (this.char() === 125)
2835
- return this.bump(), this.error(v.EMPTY_ARGUMENT, y(n, this.clonePosition()));
2800
+ return this.bump(), this.error(y.EMPTY_ARGUMENT, v(n, this.clonePosition()));
2836
2801
  var i = this.parseIdentifierIfPossible().value;
2837
2802
  if (!i)
2838
- return this.error(v.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
2803
+ return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
2839
2804
  if (this.bumpSpace(), this.isEOF())
2840
- return this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
2805
+ return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
2841
2806
  switch (this.char()) {
2842
2807
  case 125:
2843
2808
  return this.bump(), {
@@ -2845,66 +2810,66 @@ var _i = (
2845
2810
  type: w.argument,
2846
2811
  // value does not include the opening and closing braces.
2847
2812
  value: i,
2848
- location: y(n, this.clonePosition())
2813
+ location: v(n, this.clonePosition())
2849
2814
  },
2850
2815
  err: null
2851
2816
  };
2852
2817
  case 44:
2853
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2818
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2854
2819
  default:
2855
- return this.error(v.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
2820
+ return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
2856
2821
  }
2857
2822
  }, e.prototype.parseIdentifierIfPossible = function() {
2858
- var t = this.clonePosition(), r = this.offset(), n = Je(this.message, r), i = r + n.length;
2823
+ var t = this.clonePosition(), r = this.offset(), n = ze(this.message, r), i = r + n.length;
2859
2824
  this.bumpTo(i);
2860
- var o = this.clonePosition(), s = y(t, o);
2825
+ var o = this.clonePosition(), s = v(t, o);
2861
2826
  return { value: n, location: s };
2862
2827
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
2863
2828
  var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
2864
2829
  switch (a) {
2865
2830
  case "":
2866
- return this.error(v.EXPECT_ARGUMENT_TYPE, y(s, l));
2831
+ return this.error(y.EXPECT_ARGUMENT_TYPE, v(s, l));
2867
2832
  case "number":
2868
2833
  case "date":
2869
2834
  case "time": {
2870
2835
  this.bumpSpace();
2871
- var u = null;
2836
+ var h = null;
2872
2837
  if (this.bumpIf(",")) {
2873
2838
  this.bumpSpace();
2874
- var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2839
+ var u = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2875
2840
  if (c.err)
2876
2841
  return c;
2877
- var f = yi(c.val);
2842
+ var f = ni(c.val);
2878
2843
  if (f.length === 0)
2879
- return this.error(v.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
2880
- var p = y(h, this.clonePosition());
2881
- u = { style: f, styleLocation: p };
2844
+ return this.error(y.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
2845
+ var m = v(u, this.clonePosition());
2846
+ h = { style: f, styleLocation: m };
2882
2847
  }
2883
2848
  var d = this.tryParseArgumentClose(i);
2884
2849
  if (d.err)
2885
2850
  return d;
2886
- var g = y(i, this.clonePosition());
2887
- if (u && Bt(u == null ? void 0 : u.style, "::", 0)) {
2888
- var m = vi(u.style.slice(2));
2851
+ var g = v(i, this.clonePosition());
2852
+ if (h && yt(h?.style, "::", 0)) {
2853
+ var p = ri(h.style.slice(2));
2889
2854
  if (a === "number") {
2890
- var c = this.parseNumberSkeletonFromString(m, u.styleLocation);
2855
+ var c = this.parseNumberSkeletonFromString(p, h.styleLocation);
2891
2856
  return c.err ? c : {
2892
2857
  val: { type: w.number, value: n, location: g, style: c.val },
2893
2858
  err: null
2894
2859
  };
2895
2860
  } else {
2896
- if (m.length === 0)
2897
- return this.error(v.EXPECT_DATE_TIME_SKELETON, g);
2898
- var E = m;
2899
- this.locale && (E = oi(m, this.locale));
2861
+ if (p.length === 0)
2862
+ return this.error(y.EXPECT_DATE_TIME_SKELETON, g);
2863
+ var S = p;
2864
+ this.locale && (S = jn(p, this.locale));
2900
2865
  var f = {
2901
- type: q.dateTime,
2902
- pattern: E,
2903
- location: u.styleLocation,
2904
- parsedOptions: this.shouldParseSkeletons ? qn(E) : {}
2905
- }, S = a === "date" ? w.date : w.time;
2866
+ type: Y.dateTime,
2867
+ pattern: S,
2868
+ location: h.styleLocation,
2869
+ parsedOptions: this.shouldParseSkeletons ? Rn(S) : {}
2870
+ }, _ = a === "date" ? w.date : w.time;
2906
2871
  return {
2907
- val: { type: S, value: n, location: g, style: f },
2872
+ val: { type: _, value: n, location: g, style: f },
2908
2873
  err: null
2909
2874
  };
2910
2875
  }
@@ -2914,7 +2879,7 @@ var _i = (
2914
2879
  type: a === "number" ? w.number : a === "date" ? w.date : w.time,
2915
2880
  value: n,
2916
2881
  location: g,
2917
- style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
2882
+ style: (o = h?.style) !== null && o !== void 0 ? o : null
2918
2883
  },
2919
2884
  err: null
2920
2885
  };
@@ -2922,52 +2887,52 @@ var _i = (
2922
2887
  case "plural":
2923
2888
  case "selectordinal":
2924
2889
  case "select": {
2925
- var A = this.clonePosition();
2890
+ var P = this.clonePosition();
2926
2891
  if (this.bumpSpace(), !this.bumpIf(","))
2927
- return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, y(A, _({}, A)));
2892
+ return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, v(P, x({}, P)));
2928
2893
  this.bumpSpace();
2929
- var T = this.parseIdentifierIfPossible(), P = 0;
2930
- if (a !== "select" && T.value === "offset") {
2894
+ var $ = this.parseIdentifierIfPossible(), B = 0;
2895
+ if (a !== "select" && $.value === "offset") {
2931
2896
  if (!this.bumpIf(":"))
2932
- return this.error(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
2897
+ return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
2933
2898
  this.bumpSpace();
2934
- var c = this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2899
+ var c = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2935
2900
  if (c.err)
2936
2901
  return c;
2937
- this.bumpSpace(), T = this.parseIdentifierIfPossible(), P = c.val;
2902
+ this.bumpSpace(), $ = this.parseIdentifierIfPossible(), B = c.val;
2938
2903
  }
2939
- var V = this.tryParsePluralOrSelectOptions(t, a, r, T);
2940
- if (V.err)
2941
- return V;
2904
+ var j = this.tryParsePluralOrSelectOptions(t, a, r, $);
2905
+ if (j.err)
2906
+ return j;
2942
2907
  var d = this.tryParseArgumentClose(i);
2943
2908
  if (d.err)
2944
2909
  return d;
2945
- var oe = y(i, this.clonePosition());
2910
+ var ie = v(i, this.clonePosition());
2946
2911
  return a === "select" ? {
2947
2912
  val: {
2948
2913
  type: w.select,
2949
2914
  value: n,
2950
- options: At(V.val),
2951
- location: oe
2915
+ options: vt(j.val),
2916
+ location: ie
2952
2917
  },
2953
2918
  err: null
2954
2919
  } : {
2955
2920
  val: {
2956
2921
  type: w.plural,
2957
2922
  value: n,
2958
- options: At(V.val),
2959
- offset: P,
2923
+ options: vt(j.val),
2924
+ offset: B,
2960
2925
  pluralType: a === "plural" ? "cardinal" : "ordinal",
2961
- location: oe
2926
+ location: ie
2962
2927
  },
2963
2928
  err: null
2964
2929
  };
2965
2930
  }
2966
2931
  default:
2967
- return this.error(v.INVALID_ARGUMENT_TYPE, y(s, l));
2932
+ return this.error(y.INVALID_ARGUMENT_TYPE, v(s, l));
2968
2933
  }
2969
2934
  }, e.prototype.tryParseArgumentClose = function(t) {
2970
- return this.isEOF() || this.char() !== 125 ? this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, y(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2935
+ return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2971
2936
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
2972
2937
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
2973
2938
  var n = this.char();
@@ -2976,7 +2941,7 @@ var _i = (
2976
2941
  this.bump();
2977
2942
  var i = this.clonePosition();
2978
2943
  if (!this.bumpUntil("'"))
2979
- return this.error(v.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, y(i, this.clonePosition()));
2944
+ return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, v(i, this.clonePosition()));
2980
2945
  this.bump();
2981
2946
  break;
2982
2947
  }
@@ -3006,52 +2971,52 @@ var _i = (
3006
2971
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3007
2972
  var n = [];
3008
2973
  try {
3009
- n = ei(t);
3010
- } catch (i) {
3011
- return this.error(v.INVALID_NUMBER_SKELETON, r);
2974
+ n = Gn(t);
2975
+ } catch {
2976
+ return this.error(y.INVALID_NUMBER_SKELETON, r);
3012
2977
  }
3013
2978
  return {
3014
2979
  val: {
3015
- type: q.number,
2980
+ type: Y.number,
3016
2981
  tokens: n,
3017
2982
  location: r,
3018
- parsedOptions: this.shouldParseSkeletons ? ii(n) : {}
2983
+ parsedOptions: this.shouldParseSkeletons ? kn(n) : {}
3019
2984
  },
3020
2985
  err: null
3021
2986
  };
3022
2987
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3023
- for (var o, s = !1, a = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
3024
- if (u.length === 0) {
2988
+ for (var o, s = !1, a = [], l = /* @__PURE__ */ new Set(), h = i.value, u = i.location; ; ) {
2989
+ if (h.length === 0) {
3025
2990
  var c = this.clonePosition();
3026
2991
  if (r !== "select" && this.bumpIf("=")) {
3027
- var f = this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_SELECTOR, v.INVALID_PLURAL_ARGUMENT_SELECTOR);
2992
+ var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
3028
2993
  if (f.err)
3029
2994
  return f;
3030
- h = y(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
2995
+ u = v(c, this.clonePosition()), h = this.message.slice(c.offset, this.offset());
3031
2996
  } else
3032
2997
  break;
3033
2998
  }
3034
- if (l.has(u))
3035
- return this.error(r === "select" ? v.DUPLICATE_SELECT_ARGUMENT_SELECTOR : v.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3036
- u === "other" && (s = !0), this.bumpSpace();
3037
- var p = this.clonePosition();
2999
+ if (l.has(h))
3000
+ return this.error(r === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, u);
3001
+ h === "other" && (s = !0), this.bumpSpace();
3002
+ var m = this.clonePosition();
3038
3003
  if (!this.bumpIf("{"))
3039
- return this.error(r === "select" ? v.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : v.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, y(this.clonePosition(), this.clonePosition()));
3004
+ return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
3040
3005
  var d = this.parseMessage(t + 1, r, n);
3041
3006
  if (d.err)
3042
3007
  return d;
3043
- var g = this.tryParseArgumentClose(p);
3008
+ var g = this.tryParseArgumentClose(m);
3044
3009
  if (g.err)
3045
3010
  return g;
3046
3011
  a.push([
3047
- u,
3012
+ h,
3048
3013
  {
3049
3014
  value: d.val,
3050
- location: y(p, this.clonePosition())
3015
+ location: v(m, this.clonePosition())
3051
3016
  }
3052
- ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
3017
+ ]), l.add(h), this.bumpSpace(), o = this.parseIdentifierIfPossible(), h = o.value, u = o.location;
3053
3018
  }
3054
- return a.length === 0 ? this.error(r === "select" ? v.EXPECT_SELECT_ARGUMENT_SELECTOR : v.EXPECT_PLURAL_ARGUMENT_SELECTOR, y(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(v.MISSING_OTHER_CLAUSE, y(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3019
+ return a.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, v(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(y.MISSING_OTHER_CLAUSE, v(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3055
3020
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3056
3021
  var n = 1, i = this.clonePosition();
3057
3022
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3062,8 +3027,8 @@ var _i = (
3062
3027
  else
3063
3028
  break;
3064
3029
  }
3065
- var l = y(i, this.clonePosition());
3066
- return o ? (s *= n, bi(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3030
+ var l = v(i, this.clonePosition());
3031
+ return o ? (s *= n, ei(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3067
3032
  }, e.prototype.offset = function() {
3068
3033
  return this.position.offset;
3069
3034
  }, e.prototype.isEOF = function() {
@@ -3078,7 +3043,7 @@ var _i = (
3078
3043
  var t = this.position.offset;
3079
3044
  if (t >= this.message.length)
3080
3045
  throw Error("out of bound");
3081
- var r = gr(this.message, t);
3046
+ var r = sr(this.message, t);
3082
3047
  if (r === void 0)
3083
3048
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3084
3049
  return r;
@@ -3097,7 +3062,7 @@ var _i = (
3097
3062
  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);
3098
3063
  }
3099
3064
  }, e.prototype.bumpIf = function(t) {
3100
- if (Bt(this.message, t, this.offset())) {
3065
+ if (yt(this.message, t, this.offset())) {
3101
3066
  for (var r = 0; r < t.length; r++)
3102
3067
  this.bump();
3103
3068
  return !0;
@@ -3119,56 +3084,56 @@ var _i = (
3119
3084
  break;
3120
3085
  }
3121
3086
  }, e.prototype.bumpSpace = function() {
3122
- for (; !this.isEOF() && yr(this.char()); )
3087
+ for (; !this.isEOF() && ur(this.char()); )
3123
3088
  this.bump();
3124
3089
  }, e.prototype.peek = function() {
3125
3090
  if (this.isEOF())
3126
3091
  return null;
3127
3092
  var t = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
3128
- return n != null ? n : null;
3093
+ return n ?? null;
3129
3094
  }, e;
3130
3095
  }()
3131
3096
  );
3132
- function Ye(e) {
3097
+ function Ze(e) {
3133
3098
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3134
3099
  }
3135
- function Ei(e) {
3136
- return Ye(e) || e === 47;
3100
+ function oi(e) {
3101
+ return Ze(e) || e === 47;
3137
3102
  }
3138
- function xi(e) {
3103
+ function si(e) {
3139
3104
  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;
3140
3105
  }
3141
- function yr(e) {
3106
+ function ur(e) {
3142
3107
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3143
3108
  }
3144
- function Si(e) {
3109
+ function ai(e) {
3145
3110
  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;
3146
3111
  }
3147
- function qe(e) {
3112
+ function Qe(e) {
3148
3113
  e.forEach(function(t) {
3149
- if (delete t.location, ur(t) || hr(t))
3114
+ if (delete t.location, qt(t) || Kt(t))
3150
3115
  for (var r in t.options)
3151
- delete t.options[r].location, qe(t.options[r].value);
3152
- else sr(t) && fr(t.style) || (ar(t) || lr(t)) && We(t.style) ? delete t.style.location : cr(t) && qe(t.children);
3116
+ delete t.options[r].location, Qe(t.options[r].value);
3117
+ else Qt(t) && tr(t.style) || (Jt(t) || Yt(t)) && Ve(t.style) ? delete t.style.location : er(t) && Qe(t.children);
3153
3118
  });
3154
3119
  }
3155
- function wi(e, t) {
3156
- t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3157
- var r = new _i(e, t).parse();
3120
+ function ui(e, t) {
3121
+ t === void 0 && (t = {}), t = x({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3122
+ var r = new ii(e, t).parse();
3158
3123
  if (r.err) {
3159
- var n = SyntaxError(v[r.err.kind]);
3124
+ var n = SyntaxError(y[r.err.kind]);
3160
3125
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3161
3126
  }
3162
- return t != null && t.captureLocation || qe(r.val), r.val;
3127
+ return t?.captureLocation || Qe(r.val), r.val;
3163
3128
  }
3164
- var K;
3129
+ var q;
3165
3130
  (function(e) {
3166
3131
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3167
- })(K || (K = {}));
3168
- var Be = (
3132
+ })(q || (q = {}));
3133
+ var Pe = (
3169
3134
  /** @class */
3170
3135
  function(e) {
3171
- D(t, e);
3136
+ U(t, e);
3172
3137
  function t(r, n, i) {
3173
3138
  var o = e.call(this, r) || this;
3174
3139
  return o.code = n, o.originalMessage = i, o;
@@ -3177,155 +3142,155 @@ var Be = (
3177
3142
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3178
3143
  }, t;
3179
3144
  }(Error)
3180
- ), It = (
3145
+ ), xt = (
3181
3146
  /** @class */
3182
3147
  function(e) {
3183
- D(t, e);
3148
+ U(t, e);
3184
3149
  function t(r, n, i, o) {
3185
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), K.INVALID_VALUE, o) || this;
3150
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), q.INVALID_VALUE, o) || this;
3186
3151
  }
3187
3152
  return t;
3188
- }(Be)
3189
- ), Ti = (
3153
+ }(Pe)
3154
+ ), li = (
3190
3155
  /** @class */
3191
3156
  function(e) {
3192
- D(t, e);
3157
+ U(t, e);
3193
3158
  function t(r, n, i) {
3194
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), K.INVALID_VALUE, i) || this;
3159
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), q.INVALID_VALUE, i) || this;
3195
3160
  }
3196
3161
  return t;
3197
- }(Be)
3198
- ), Hi = (
3162
+ }(Pe)
3163
+ ), hi = (
3199
3164
  /** @class */
3200
3165
  function(e) {
3201
- D(t, e);
3166
+ U(t, e);
3202
3167
  function t(r, n) {
3203
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), K.MISSING_VALUE, n) || this;
3168
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), q.MISSING_VALUE, n) || this;
3204
3169
  }
3205
3170
  return t;
3206
- }(Be)
3207
- ), O;
3171
+ }(Pe)
3172
+ ), A;
3208
3173
  (function(e) {
3209
3174
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3210
- })(O || (O = {}));
3211
- function Ci(e) {
3175
+ })(A || (A = {}));
3176
+ function ci(e) {
3212
3177
  return e.length < 2 ? e : e.reduce(function(t, r) {
3213
3178
  var n = t[t.length - 1];
3214
- return !n || n.type !== O.literal || r.type !== O.literal ? t.push(r) : n.value += r.value, t;
3179
+ return !n || n.type !== A.literal || r.type !== A.literal ? t.push(r) : n.value += r.value, t;
3215
3180
  }, []);
3216
3181
  }
3217
- function Pi(e) {
3182
+ function fi(e) {
3218
3183
  return typeof e == "function";
3219
3184
  }
3220
- function ve(e, t, r, n, i, o, s) {
3221
- if (e.length === 1 && Tt(e[0]))
3185
+ function ge(e, t, r, n, i, o, s) {
3186
+ if (e.length === 1 && pt(e[0]))
3222
3187
  return [
3223
3188
  {
3224
- type: O.literal,
3189
+ type: A.literal,
3225
3190
  value: e[0].value
3226
3191
  }
3227
3192
  ];
3228
- for (var a = [], l = 0, u = e; l < u.length; l++) {
3229
- var h = u[l];
3230
- if (Tt(h)) {
3193
+ for (var a = [], l = 0, h = e; l < h.length; l++) {
3194
+ var u = h[l];
3195
+ if (pt(u)) {
3231
3196
  a.push({
3232
- type: O.literal,
3233
- value: h.value
3197
+ type: A.literal,
3198
+ value: u.value
3234
3199
  });
3235
3200
  continue;
3236
3201
  }
3237
- if (Jn(h)) {
3202
+ if (Nn(u)) {
3238
3203
  typeof o == "number" && a.push({
3239
- type: O.literal,
3204
+ type: A.literal,
3240
3205
  value: r.getNumberFormat(t).format(o)
3241
3206
  });
3242
3207
  continue;
3243
3208
  }
3244
- var c = h.value;
3209
+ var c = u.value;
3245
3210
  if (!(i && c in i))
3246
- throw new Hi(c, s);
3211
+ throw new hi(c, s);
3247
3212
  var f = i[c];
3248
- if (Qn(h)) {
3213
+ if (Ln(u)) {
3249
3214
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3250
- type: typeof f == "string" ? O.literal : O.object,
3215
+ type: typeof f == "string" ? A.literal : A.object,
3251
3216
  value: f
3252
3217
  });
3253
3218
  continue;
3254
3219
  }
3255
- if (ar(h)) {
3256
- var p = typeof h.style == "string" ? n.date[h.style] : We(h.style) ? h.style.parsedOptions : void 0;
3220
+ if (Jt(u)) {
3221
+ var m = typeof u.style == "string" ? n.date[u.style] : Ve(u.style) ? u.style.parsedOptions : void 0;
3257
3222
  a.push({
3258
- type: O.literal,
3259
- value: r.getDateTimeFormat(t, p).format(f)
3223
+ type: A.literal,
3224
+ value: r.getDateTimeFormat(t, m).format(f)
3260
3225
  });
3261
3226
  continue;
3262
3227
  }
3263
- if (lr(h)) {
3264
- var p = typeof h.style == "string" ? n.time[h.style] : We(h.style) ? h.style.parsedOptions : n.time.medium;
3228
+ if (Yt(u)) {
3229
+ var m = typeof u.style == "string" ? n.time[u.style] : Ve(u.style) ? u.style.parsedOptions : n.time.medium;
3265
3230
  a.push({
3266
- type: O.literal,
3267
- value: r.getDateTimeFormat(t, p).format(f)
3231
+ type: A.literal,
3232
+ value: r.getDateTimeFormat(t, m).format(f)
3268
3233
  });
3269
3234
  continue;
3270
3235
  }
3271
- if (sr(h)) {
3272
- var p = typeof h.style == "string" ? n.number[h.style] : fr(h.style) ? h.style.parsedOptions : void 0;
3273
- p && p.scale && (f = f * (p.scale || 1)), a.push({
3274
- type: O.literal,
3275
- value: r.getNumberFormat(t, p).format(f)
3236
+ if (Qt(u)) {
3237
+ var m = typeof u.style == "string" ? n.number[u.style] : tr(u.style) ? u.style.parsedOptions : void 0;
3238
+ m && m.scale && (f = f * (m.scale || 1)), a.push({
3239
+ type: A.literal,
3240
+ value: r.getNumberFormat(t, m).format(f)
3276
3241
  });
3277
3242
  continue;
3278
3243
  }
3279
- if (cr(h)) {
3280
- var d = h.children, g = h.value, m = i[g];
3281
- if (!Pi(m))
3282
- throw new Ti(g, "function", s);
3283
- var E = ve(d, t, r, n, i, o), S = m(E.map(function(P) {
3284
- return P.value;
3244
+ if (er(u)) {
3245
+ var d = u.children, g = u.value, p = i[g];
3246
+ if (!fi(p))
3247
+ throw new li(g, "function", s);
3248
+ var S = ge(d, t, r, n, i, o), _ = p(S.map(function(B) {
3249
+ return B.value;
3285
3250
  }));
3286
- Array.isArray(S) || (S = [S]), a.push.apply(a, S.map(function(P) {
3251
+ Array.isArray(_) || (_ = [_]), a.push.apply(a, _.map(function(B) {
3287
3252
  return {
3288
- type: typeof P == "string" ? O.literal : O.object,
3289
- value: P
3253
+ type: typeof B == "string" ? A.literal : A.object,
3254
+ value: B
3290
3255
  };
3291
3256
  }));
3292
3257
  }
3293
- if (ur(h)) {
3294
- var A = h.options[f] || h.options.other;
3295
- if (!A)
3296
- throw new It(h.value, f, Object.keys(h.options), s);
3297
- a.push.apply(a, ve(A.value, t, r, n, i));
3258
+ if (qt(u)) {
3259
+ var P = u.options[f] || u.options.other;
3260
+ if (!P)
3261
+ throw new xt(u.value, f, Object.keys(u.options), s);
3262
+ a.push.apply(a, ge(P.value, t, r, n, i));
3298
3263
  continue;
3299
3264
  }
3300
- if (hr(h)) {
3301
- var A = h.options["=".concat(f)];
3302
- if (!A) {
3265
+ if (Kt(u)) {
3266
+ var P = u.options["=".concat(f)];
3267
+ if (!P) {
3303
3268
  if (!Intl.PluralRules)
3304
- throw new Be(`Intl.PluralRules is not available in this environment.
3269
+ throw new Pe(`Intl.PluralRules is not available in this environment.
3305
3270
  Try polyfilling it using "@formatjs/intl-pluralrules"
3306
- `, K.MISSING_INTL_API, s);
3307
- var T = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3308
- A = h.options[T] || h.options.other;
3271
+ `, q.MISSING_INTL_API, s);
3272
+ var $ = r.getPluralRules(t, { type: u.pluralType }).select(f - (u.offset || 0));
3273
+ P = u.options[$] || u.options.other;
3309
3274
  }
3310
- if (!A)
3311
- throw new It(h.value, f, Object.keys(h.options), s);
3312
- a.push.apply(a, ve(A.value, t, r, n, i, f - (h.offset || 0)));
3275
+ if (!P)
3276
+ throw new xt(u.value, f, Object.keys(u.options), s);
3277
+ a.push.apply(a, ge(P.value, t, r, n, i, f - (u.offset || 0)));
3313
3278
  continue;
3314
3279
  }
3315
3280
  }
3316
- return Ci(a);
3281
+ return ci(a);
3317
3282
  }
3318
- function Bi(e, t) {
3319
- return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3320
- return r[n] = _(_({}, e[n]), t[n] || {}), r;
3283
+ function di(e, t) {
3284
+ return t ? x(x(x({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3285
+ return r[n] = x(x({}, e[n]), t[n] || {}), r;
3321
3286
  }, {})) : e;
3322
3287
  }
3323
- function Ai(e, t) {
3288
+ function pi(e, t) {
3324
3289
  return t ? Object.keys(e).reduce(function(r, n) {
3325
- return r[n] = Bi(e[n], t[n]), r;
3326
- }, _({}, e)) : e;
3290
+ return r[n] = di(e[n], t[n]), r;
3291
+ }, x({}, e)) : e;
3327
3292
  }
3328
- function Ue(e) {
3293
+ function $e(e) {
3329
3294
  return {
3330
3295
  create: function() {
3331
3296
  return {
@@ -3339,39 +3304,39 @@ function Ue(e) {
3339
3304
  }
3340
3305
  };
3341
3306
  }
3342
- function Oi(e) {
3307
+ function mi(e) {
3343
3308
  return e === void 0 && (e = {
3344
3309
  number: {},
3345
3310
  dateTime: {},
3346
3311
  pluralRules: {}
3347
3312
  }), {
3348
- getNumberFormat: Re(function() {
3313
+ getNumberFormat: Ne(function() {
3349
3314
  for (var t, r = [], n = 0; n < arguments.length; n++)
3350
3315
  r[n] = arguments[n];
3351
- return new ((t = Intl.NumberFormat).bind.apply(t, Q([void 0], r, !1)))();
3316
+ return new ((t = Intl.NumberFormat).bind.apply(t, Z([void 0], r, !1)))();
3352
3317
  }, {
3353
- cache: Ue(e.number),
3354
- strategy: $e.variadic
3318
+ cache: $e(e.number),
3319
+ strategy: Me.variadic
3355
3320
  }),
3356
- getDateTimeFormat: Re(function() {
3321
+ getDateTimeFormat: Ne(function() {
3357
3322
  for (var t, r = [], n = 0; n < arguments.length; n++)
3358
3323
  r[n] = arguments[n];
3359
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Q([void 0], r, !1)))();
3324
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Z([void 0], r, !1)))();
3360
3325
  }, {
3361
- cache: Ue(e.dateTime),
3362
- strategy: $e.variadic
3326
+ cache: $e(e.dateTime),
3327
+ strategy: Me.variadic
3363
3328
  }),
3364
- getPluralRules: Re(function() {
3329
+ getPluralRules: Ne(function() {
3365
3330
  for (var t, r = [], n = 0; n < arguments.length; n++)
3366
3331
  r[n] = arguments[n];
3367
- return new ((t = Intl.PluralRules).bind.apply(t, Q([void 0], r, !1)))();
3332
+ return new ((t = Intl.PluralRules).bind.apply(t, Z([void 0], r, !1)))();
3368
3333
  }, {
3369
- cache: Ue(e.pluralRules),
3370
- strategy: $e.variadic
3334
+ cache: $e(e.pluralRules),
3335
+ strategy: Me.variadic
3371
3336
  })
3372
3337
  };
3373
3338
  }
3374
- var Ii = (
3339
+ var bi = (
3375
3340
  /** @class */
3376
3341
  function() {
3377
3342
  function e(t, r, n, i) {
@@ -3382,15 +3347,15 @@ var Ii = (
3382
3347
  dateTime: {},
3383
3348
  pluralRules: {}
3384
3349
  }, this.format = function(l) {
3385
- var u = o.formatToParts(l);
3386
- if (u.length === 1)
3387
- return u[0].value;
3388
- var h = u.reduce(function(c, f) {
3389
- return !c.length || f.type !== O.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3350
+ var h = o.formatToParts(l);
3351
+ if (h.length === 1)
3352
+ return h[0].value;
3353
+ var u = h.reduce(function(c, f) {
3354
+ return !c.length || f.type !== A.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3390
3355
  }, []);
3391
- return h.length <= 1 ? h[0] || "" : h;
3356
+ return u.length <= 1 ? u[0] || "" : u;
3392
3357
  }, this.formatToParts = function(l) {
3393
- return ve(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3358
+ return ge(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3394
3359
  }, this.resolvedOptions = function() {
3395
3360
  var l;
3396
3361
  return {
@@ -3403,13 +3368,13 @@ var Ii = (
3403
3368
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3404
3369
  var s = i || {};
3405
3370
  s.formatters;
3406
- var a = jn(s, ["formatters"]);
3407
- this.ast = e.__parse(t, _(_({}, a), { locale: this.resolvedLocale }));
3371
+ var a = Tn(s, ["formatters"]);
3372
+ this.ast = e.__parse(t, x(x({}, a), { locale: this.resolvedLocale }));
3408
3373
  } else
3409
3374
  this.ast = t;
3410
3375
  if (!Array.isArray(this.ast))
3411
3376
  throw new TypeError("A message must be provided as a String or AST.");
3412
- this.formats = Ai(e.formats, n), this.formatters = i && i.formatters || Oi(this.formatterCache);
3377
+ this.formats = pi(e.formats, n), this.formatters = i && i.formatters || mi(this.formatterCache);
3413
3378
  }
3414
3379
  return Object.defineProperty(e, "defaultLocale", {
3415
3380
  get: function() {
@@ -3418,11 +3383,11 @@ var Ii = (
3418
3383
  enumerable: !1,
3419
3384
  configurable: !0
3420
3385
  }), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
3421
- if (typeof Intl.Locale != "undefined") {
3386
+ if (!(typeof Intl.Locale > "u")) {
3422
3387
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3423
3388
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3424
3389
  }
3425
- }, e.__parse = wi, e.formats = {
3390
+ }, e.__parse = ui, e.formats = {
3426
3391
  number: {
3427
3392
  integer: {
3428
3393
  maximumFractionDigits: 0
@@ -3483,7 +3448,7 @@ var Ii = (
3483
3448
  }, e;
3484
3449
  }()
3485
3450
  );
3486
- function Li(e, t) {
3451
+ function gi(e, t) {
3487
3452
  if (t == null)
3488
3453
  return;
3489
3454
  if (t in e)
@@ -3504,92 +3469,92 @@ function Li(e, t) {
3504
3469
  n = void 0;
3505
3470
  return n;
3506
3471
  }
3507
- const F = {}, Ni = (e, t, r) => r && (t in F || (F[t] = {}), e in F[t] || (F[t][e] = r), r), _r = (e, t) => {
3472
+ const D = {}, yi = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = r), r), lr = (e, t) => {
3508
3473
  if (t == null)
3509
3474
  return;
3510
- if (t in F && e in F[t])
3511
- return F[t][e];
3512
- const r = Ae(t);
3475
+ if (t in D && e in D[t])
3476
+ return D[t][e];
3477
+ const r = Be(t);
3513
3478
  for (let n = 0; n < r.length; n++) {
3514
- const i = r[n], o = Ri(i, e);
3479
+ const i = r[n], o = _i(i, e);
3515
3480
  if (o)
3516
- return Ni(e, t, o);
3481
+ return yi(e, t, o);
3517
3482
  }
3518
3483
  };
3519
- let at;
3520
- const fe = Pe({});
3521
- function Mi(e) {
3522
- return at[e] || null;
3484
+ let nt;
3485
+ const ce = Ce({});
3486
+ function vi(e) {
3487
+ return nt[e] || null;
3523
3488
  }
3524
- function Er(e) {
3525
- return e in at;
3489
+ function hr(e) {
3490
+ return e in nt;
3526
3491
  }
3527
- function Ri(e, t) {
3528
- if (!Er(e))
3492
+ function _i(e, t) {
3493
+ if (!hr(e))
3529
3494
  return null;
3530
- const r = Mi(e);
3531
- return Li(r, t);
3495
+ const r = vi(e);
3496
+ return gi(r, t);
3532
3497
  }
3533
- function $i(e) {
3498
+ function xi(e) {
3534
3499
  if (e == null)
3535
3500
  return;
3536
- const t = Ae(e);
3501
+ const t = Be(e);
3537
3502
  for (let r = 0; r < t.length; r++) {
3538
3503
  const n = t[r];
3539
- if (Er(n))
3504
+ if (hr(n))
3540
3505
  return n;
3541
3506
  }
3542
3507
  }
3543
- function xr(e, ...t) {
3544
- delete F[e], fe.update((r) => (r[e] = Fn.all([r[e] || {}, ...t]), r));
3508
+ function cr(e, ...t) {
3509
+ delete D[e], ce.update((r) => (r[e] = wn.all([r[e] || {}, ...t]), r));
3545
3510
  }
3546
- re(
3547
- [fe],
3511
+ te(
3512
+ [ce],
3548
3513
  ([e]) => Object.keys(e)
3549
3514
  );
3550
- fe.subscribe((e) => at = e);
3515
+ ce.subscribe((e) => nt = e);
3551
3516
  const ye = {};
3552
- function Gi(e, t) {
3517
+ function Ei(e, t) {
3553
3518
  ye[e].delete(t), ye[e].size === 0 && delete ye[e];
3554
3519
  }
3555
- function Sr(e) {
3520
+ function fr(e) {
3556
3521
  return ye[e];
3557
3522
  }
3558
- function Ui(e) {
3559
- return Ae(e).map((t) => {
3560
- const r = Sr(t);
3523
+ function Si(e) {
3524
+ return Be(e).map((t) => {
3525
+ const r = fr(t);
3561
3526
  return [t, r ? [...r] : []];
3562
3527
  }).filter(([, t]) => t.length > 0);
3563
3528
  }
3564
- function Ke(e) {
3565
- return e == null ? !1 : Ae(e).some(
3529
+ function Je(e) {
3530
+ return e == null ? !1 : Be(e).some(
3566
3531
  (t) => {
3567
3532
  var r;
3568
- return (r = Sr(t)) == null ? void 0 : r.size;
3533
+ return (r = fr(t)) == null ? void 0 : r.size;
3569
3534
  }
3570
3535
  );
3571
3536
  }
3572
- function Di(e, t) {
3537
+ function wi(e, t) {
3573
3538
  return Promise.all(
3574
- t.map((n) => (Gi(e, n), n().then((i) => i.default || i)))
3575
- ).then((n) => xr(e, ...n));
3576
- }
3577
- const ae = {};
3578
- function wr(e) {
3579
- if (!Ke(e))
3580
- return e in ae ? ae[e] : Promise.resolve();
3581
- const t = Ui(e);
3582
- return ae[e] = Promise.all(
3539
+ t.map((n) => (Ei(e, n), n().then((i) => i.default || i)))
3540
+ ).then((n) => cr(e, ...n));
3541
+ }
3542
+ const se = {};
3543
+ function dr(e) {
3544
+ if (!Je(e))
3545
+ return e in se ? se[e] : Promise.resolve();
3546
+ const t = Si(e);
3547
+ return se[e] = Promise.all(
3583
3548
  t.map(
3584
- ([r, n]) => Di(r, n)
3549
+ ([r, n]) => wi(r, n)
3585
3550
  )
3586
3551
  ).then(() => {
3587
- if (Ke(e))
3588
- return wr(e);
3589
- delete ae[e];
3590
- }), ae[e];
3552
+ if (Je(e))
3553
+ return dr(e);
3554
+ delete se[e];
3555
+ }), se[e];
3591
3556
  }
3592
- const Fi = {
3557
+ const Ti = {
3593
3558
  number: {
3594
3559
  scientific: { notation: "scientific" },
3595
3560
  engineering: { notation: "engineering" },
@@ -3618,159 +3583,159 @@ const Fi = {
3618
3583
  timeZoneName: "short"
3619
3584
  }
3620
3585
  }
3621
- }, ji = {
3586
+ }, Hi = {
3622
3587
  fallbackLocale: null,
3623
3588
  loadingDelay: 200,
3624
- formats: Fi,
3589
+ formats: Ti,
3625
3590
  warnOnMissingMessages: !0,
3626
3591
  handleMissingMessage: void 0,
3627
3592
  ignoreTag: !0
3628
- }, ki = ji;
3629
- function ee() {
3630
- return ki;
3631
- }
3632
- const De = Pe(!1);
3633
- var Vi = Object.defineProperty, Xi = Object.defineProperties, zi = Object.getOwnPropertyDescriptors, Lt = Object.getOwnPropertySymbols, Wi = Object.prototype.hasOwnProperty, Zi = Object.prototype.propertyIsEnumerable, Nt = (e, t, r) => t in e ? Vi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Qi = (e, t) => {
3634
- for (var r in t || (t = {}))
3635
- Wi.call(t, r) && Nt(e, r, t[r]);
3636
- if (Lt)
3637
- for (var r of Lt(t))
3638
- Zi.call(t, r) && Nt(e, r, t[r]);
3593
+ }, Ci = Hi;
3594
+ function K() {
3595
+ return Ci;
3596
+ }
3597
+ const Ge = Ce(!1);
3598
+ var Pi = Object.defineProperty, Bi = Object.defineProperties, Ai = Object.getOwnPropertyDescriptors, Et = Object.getOwnPropertySymbols, Oi = Object.prototype.hasOwnProperty, Ii = Object.prototype.propertyIsEnumerable, St = (e, t, r) => t in e ? Pi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Li = (e, t) => {
3599
+ for (var r in t)
3600
+ Oi.call(t, r) && St(e, r, t[r]);
3601
+ if (Et)
3602
+ for (var r of Et(t))
3603
+ Ii.call(t, r) && St(e, r, t[r]);
3639
3604
  return e;
3640
- }, Ji = (e, t) => Xi(e, zi(t));
3641
- let et;
3642
- const Te = Pe(null);
3643
- function Mt(e) {
3605
+ }, Ni = (e, t) => Bi(e, Ai(t));
3606
+ let Ye;
3607
+ const we = Ce(null);
3608
+ function wt(e) {
3644
3609
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3645
3610
  }
3646
- function Ae(e, t = ee().fallbackLocale) {
3647
- const r = Mt(e);
3648
- return t ? [.../* @__PURE__ */ new Set([...r, ...Mt(t)])] : r;
3611
+ function Be(e, t = K().fallbackLocale) {
3612
+ const r = wt(e);
3613
+ return t ? [.../* @__PURE__ */ new Set([...r, ...wt(t)])] : r;
3649
3614
  }
3650
3615
  function k() {
3651
- return et != null ? et : void 0;
3616
+ return Ye ?? void 0;
3652
3617
  }
3653
- Te.subscribe((e) => {
3654
- et = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3618
+ we.subscribe((e) => {
3619
+ Ye = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3655
3620
  });
3656
- const Yi = (e) => {
3657
- if (e && $i(e) && Ke(e)) {
3658
- const { loadingDelay: t } = ee();
3621
+ const Mi = (e) => {
3622
+ if (e && xi(e) && Je(e)) {
3623
+ const { loadingDelay: t } = K();
3659
3624
  let r;
3660
- return typeof window != "undefined" && k() != null && t ? r = window.setTimeout(
3661
- () => De.set(!0),
3625
+ return typeof window < "u" && k() != null && t ? r = window.setTimeout(
3626
+ () => Ge.set(!0),
3662
3627
  t
3663
- ) : De.set(!0), wr(e).then(() => {
3664
- Te.set(e);
3628
+ ) : Ge.set(!0), dr(e).then(() => {
3629
+ we.set(e);
3665
3630
  }).finally(() => {
3666
- clearTimeout(r), De.set(!1);
3631
+ clearTimeout(r), Ge.set(!1);
3667
3632
  });
3668
3633
  }
3669
- return Te.set(e);
3670
- }, ne = Ji(Qi({}, Te), {
3671
- set: Yi
3672
- }), Oe = (e) => {
3634
+ return we.set(e);
3635
+ }, re = Ni(Li({}, we), {
3636
+ set: Mi
3637
+ }), Ae = (e) => {
3673
3638
  const t = /* @__PURE__ */ Object.create(null);
3674
3639
  return (n) => {
3675
3640
  const i = JSON.stringify(n);
3676
3641
  return i in t ? t[i] : t[i] = e(n);
3677
3642
  };
3678
3643
  };
3679
- var qi = Object.defineProperty, He = Object.getOwnPropertySymbols, Tr = Object.prototype.hasOwnProperty, Hr = Object.prototype.propertyIsEnumerable, Rt = (e, t, r) => t in e ? qi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, lt = (e, t) => {
3644
+ var Ri = Object.defineProperty, Te = Object.getOwnPropertySymbols, pr = Object.prototype.hasOwnProperty, mr = Object.prototype.propertyIsEnumerable, Tt = (e, t, r) => t in e ? Ri(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, it = (e, t) => {
3680
3645
  for (var r in t || (t = {}))
3681
- Tr.call(t, r) && Rt(e, r, t[r]);
3682
- if (He)
3683
- for (var r of He(t))
3684
- Hr.call(t, r) && Rt(e, r, t[r]);
3646
+ pr.call(t, r) && Tt(e, r, t[r]);
3647
+ if (Te)
3648
+ for (var r of Te(t))
3649
+ mr.call(t, r) && Tt(e, r, t[r]);
3685
3650
  return e;
3686
- }, ie = (e, t) => {
3651
+ }, ne = (e, t) => {
3687
3652
  var r = {};
3688
3653
  for (var n in e)
3689
- Tr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3690
- if (e != null && He)
3691
- for (var n of He(e))
3692
- t.indexOf(n) < 0 && Hr.call(e, n) && (r[n] = e[n]);
3654
+ pr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3655
+ if (e != null && Te)
3656
+ for (var n of Te(e))
3657
+ t.indexOf(n) < 0 && mr.call(e, n) && (r[n] = e[n]);
3693
3658
  return r;
3694
3659
  };
3695
- const ce = (e, t) => {
3696
- const { formats: r } = ee();
3660
+ const he = (e, t) => {
3661
+ const { formats: r } = K();
3697
3662
  if (e in r && t in r[e])
3698
3663
  return r[e][t];
3699
3664
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3700
- }, Ki = Oe(
3665
+ }, $i = Ae(
3701
3666
  (e) => {
3702
- var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
3667
+ var t = e, { locale: r, format: n } = t, i = ne(t, ["locale", "format"]);
3703
3668
  if (r == null)
3704
3669
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3705
- return n && (i = ce("number", n)), new Intl.NumberFormat(r, i);
3670
+ return n && (i = he("number", n)), new Intl.NumberFormat(r, i);
3706
3671
  }
3707
- ), eo = Oe(
3672
+ ), Gi = Ae(
3708
3673
  (e) => {
3709
- var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
3674
+ var t = e, { locale: r, format: n } = t, i = ne(t, ["locale", "format"]);
3710
3675
  if (r == null)
3711
3676
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3712
- return n ? i = ce("date", n) : Object.keys(i).length === 0 && (i = ce("date", "short")), new Intl.DateTimeFormat(r, i);
3677
+ return n ? i = he("date", n) : Object.keys(i).length === 0 && (i = he("date", "short")), new Intl.DateTimeFormat(r, i);
3713
3678
  }
3714
- ), to = Oe(
3679
+ ), Ui = Ae(
3715
3680
  (e) => {
3716
- var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
3681
+ var t = e, { locale: r, format: n } = t, i = ne(t, ["locale", "format"]);
3717
3682
  if (r == null)
3718
3683
  throw new Error(
3719
3684
  '[svelte-i18n] A "locale" must be set to format time values'
3720
3685
  );
3721
- return n ? i = ce("time", n) : Object.keys(i).length === 0 && (i = ce("time", "short")), new Intl.DateTimeFormat(r, i);
3686
+ return n ? i = he("time", n) : Object.keys(i).length === 0 && (i = he("time", "short")), new Intl.DateTimeFormat(r, i);
3722
3687
  }
3723
- ), ro = (e = {}) => {
3688
+ ), Di = (e = {}) => {
3724
3689
  var t = e, {
3725
3690
  locale: r = k()
3726
- } = t, n = ie(t, [
3691
+ } = t, n = ne(t, [
3727
3692
  "locale"
3728
3693
  ]);
3729
- return Ki(lt({ locale: r }, n));
3730
- }, no = (e = {}) => {
3694
+ return $i(it({ locale: r }, n));
3695
+ }, Fi = (e = {}) => {
3731
3696
  var t = e, {
3732
3697
  locale: r = k()
3733
- } = t, n = ie(t, [
3698
+ } = t, n = ne(t, [
3734
3699
  "locale"
3735
3700
  ]);
3736
- return eo(lt({ locale: r }, n));
3737
- }, io = (e = {}) => {
3701
+ return Gi(it({ locale: r }, n));
3702
+ }, ki = (e = {}) => {
3738
3703
  var t = e, {
3739
3704
  locale: r = k()
3740
- } = t, n = ie(t, [
3705
+ } = t, n = ne(t, [
3741
3706
  "locale"
3742
3707
  ]);
3743
- return to(lt({ locale: r }, n));
3744
- }, oo = Oe(
3708
+ return Ui(it({ locale: r }, n));
3709
+ }, ji = Ae(
3745
3710
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3746
- (e, t = k()) => new Ii(e, t, ee().formats, {
3747
- ignoreTag: ee().ignoreTag
3711
+ (e, t = k()) => new bi(e, t, K().formats, {
3712
+ ignoreTag: K().ignoreTag
3748
3713
  })
3749
- ), so = (e, t = {}) => {
3714
+ ), Vi = (e, t = {}) => {
3750
3715
  var r, n, i, o;
3751
3716
  let s = t;
3752
3717
  typeof e == "object" && (s = e, e = s.id);
3753
3718
  const {
3754
3719
  values: a,
3755
3720
  locale: l = k(),
3756
- default: u
3721
+ default: h
3757
3722
  } = s;
3758
3723
  if (l == null)
3759
3724
  throw new Error(
3760
3725
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3761
3726
  );
3762
- let h = _r(e, l);
3763
- if (!h)
3764
- h = (o = (i = (n = (r = ee()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
3765
- else if (typeof h != "string")
3727
+ let u = lr(e, l);
3728
+ if (!u)
3729
+ u = (o = (i = (n = (r = K()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: h })) != null ? i : h) != null ? o : e;
3730
+ else if (typeof u != "string")
3766
3731
  return console.warn(
3767
- `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
3768
- ), h;
3732
+ `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
3733
+ ), u;
3769
3734
  if (!a)
3770
- return h;
3771
- let c = h;
3735
+ return u;
3736
+ let c = u;
3772
3737
  try {
3773
- c = oo(h, l).format(a);
3738
+ c = ji(u, l).format(a);
3774
3739
  } catch (f) {
3775
3740
  f instanceof Error && console.warn(
3776
3741
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3778,18 +3743,18 @@ const ce = (e, t) => {
3778
3743
  );
3779
3744
  }
3780
3745
  return c;
3781
- }, ao = (e, t) => io(t).format(e), lo = (e, t) => no(t).format(e), uo = (e, t) => ro(t).format(e), ho = (e, t = k()) => _r(e, t), co = re([ne, fe], () => so);
3782
- re([ne], () => ao);
3783
- re([ne], () => lo);
3784
- re([ne], () => uo);
3785
- re([ne, fe], () => ho);
3786
- function $t(e, t) {
3787
- xr(e, t);
3788
- }
3789
- function fo(e) {
3790
- ne.set(e);
3791
- }
3792
- const Gt = {
3746
+ }, Xi = (e, t) => ki(t).format(e), Wi = (e, t) => Fi(t).format(e), zi = (e, t) => Di(t).format(e), Zi = (e, t = k()) => lr(e, t), Qi = te([re, ce], () => Vi);
3747
+ te([re], () => Xi);
3748
+ te([re], () => Wi);
3749
+ te([re], () => zi);
3750
+ te([re, ce], () => Zi);
3751
+ function Ht(e, t) {
3752
+ cr(e, t);
3753
+ }
3754
+ function Ji(e) {
3755
+ re.set(e);
3756
+ }
3757
+ const Ct = {
3793
3758
  en: {
3794
3759
  collections: "Game Collections",
3795
3760
  providers: "Game Providers",
@@ -3886,16 +3851,16 @@ const Gt = {
3886
3851
  loading: "Loading, please wait ..."
3887
3852
  }
3888
3853
  };
3889
- function U(e) {
3854
+ function G(e) {
3890
3855
  return typeof e == "function";
3891
3856
  }
3892
- function Cr(e) {
3857
+ function br(e) {
3893
3858
  var t = function(n) {
3894
3859
  Error.call(n), n.stack = new Error().stack;
3895
3860
  }, r = e(t);
3896
3861
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
3897
3862
  }
3898
- var Fe = Cr(function(e) {
3863
+ var Ue = br(function(e) {
3899
3864
  return function(r) {
3900
3865
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
3901
3866
  ` + r.map(function(n, i) {
@@ -3904,13 +3869,13 @@ var Fe = Cr(function(e) {
3904
3869
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
3905
3870
  };
3906
3871
  });
3907
- function tt(e, t) {
3872
+ function qe(e, t) {
3908
3873
  if (e) {
3909
3874
  var r = e.indexOf(t);
3910
3875
  0 <= r && e.splice(r, 1);
3911
3876
  }
3912
3877
  }
3913
- var Ie = function() {
3878
+ var Oe = function() {
3914
3879
  function e(t) {
3915
3880
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
3916
3881
  }
@@ -3922,9 +3887,9 @@ var Ie = function() {
3922
3887
  if (s)
3923
3888
  if (this._parentage = null, Array.isArray(s))
3924
3889
  try {
3925
- for (var a = Xe(s), l = a.next(); !l.done; l = a.next()) {
3926
- var u = l.value;
3927
- u.remove(this);
3890
+ for (var a = ke(s), l = a.next(); !l.done; l = a.next()) {
3891
+ var h = l.value;
3892
+ h.remove(this);
3928
3893
  }
3929
3894
  } catch (g) {
3930
3895
  t = { error: g };
@@ -3937,43 +3902,43 @@ var Ie = function() {
3937
3902
  }
3938
3903
  else
3939
3904
  s.remove(this);
3940
- var h = this.initialTeardown;
3941
- if (U(h))
3905
+ var u = this.initialTeardown;
3906
+ if (G(u))
3942
3907
  try {
3943
- h();
3908
+ u();
3944
3909
  } catch (g) {
3945
- o = g instanceof Fe ? g.errors : [g];
3910
+ o = g instanceof Ue ? g.errors : [g];
3946
3911
  }
3947
3912
  var c = this._finalizers;
3948
3913
  if (c) {
3949
3914
  this._finalizers = null;
3950
3915
  try {
3951
- for (var f = Xe(c), p = f.next(); !p.done; p = f.next()) {
3952
- var d = p.value;
3916
+ for (var f = ke(c), m = f.next(); !m.done; m = f.next()) {
3917
+ var d = m.value;
3953
3918
  try {
3954
- Ut(d);
3919
+ Pt(d);
3955
3920
  } catch (g) {
3956
- o = o != null ? o : [], g instanceof Fe ? o = Q(Q([], ze(o)), ze(g.errors)) : o.push(g);
3921
+ o = o ?? [], g instanceof Ue ? o = Z(Z([], je(o)), je(g.errors)) : o.push(g);
3957
3922
  }
3958
3923
  }
3959
3924
  } catch (g) {
3960
3925
  n = { error: g };
3961
3926
  } finally {
3962
3927
  try {
3963
- p && !p.done && (i = f.return) && i.call(f);
3928
+ m && !m.done && (i = f.return) && i.call(f);
3964
3929
  } finally {
3965
3930
  if (n) throw n.error;
3966
3931
  }
3967
3932
  }
3968
3933
  }
3969
3934
  if (o)
3970
- throw new Fe(o);
3935
+ throw new Ue(o);
3971
3936
  }
3972
3937
  }, e.prototype.add = function(t) {
3973
3938
  var r;
3974
3939
  if (t && t !== this)
3975
3940
  if (this.closed)
3976
- Ut(t);
3941
+ Pt(t);
3977
3942
  else {
3978
3943
  if (t instanceof e) {
3979
3944
  if (t.closed || t._hasParent(this))
@@ -3990,56 +3955,56 @@ var Ie = function() {
3990
3955
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
3991
3956
  }, e.prototype._removeParent = function(t) {
3992
3957
  var r = this._parentage;
3993
- r === t ? this._parentage = null : Array.isArray(r) && tt(r, t);
3958
+ r === t ? this._parentage = null : Array.isArray(r) && qe(r, t);
3994
3959
  }, e.prototype.remove = function(t) {
3995
3960
  var r = this._finalizers;
3996
- r && tt(r, t), t instanceof e && t._removeParent(this);
3961
+ r && qe(r, t), t instanceof e && t._removeParent(this);
3997
3962
  }, e.EMPTY = function() {
3998
3963
  var t = new e();
3999
3964
  return t.closed = !0, t;
4000
3965
  }(), e;
4001
- }(), Pr = Ie.EMPTY;
4002
- function Br(e) {
4003
- return e instanceof Ie || e && "closed" in e && U(e.remove) && U(e.add) && U(e.unsubscribe);
3966
+ }(), gr = Oe.EMPTY;
3967
+ function yr(e) {
3968
+ return e instanceof Oe || e && "closed" in e && G(e.remove) && G(e.add) && G(e.unsubscribe);
4004
3969
  }
4005
- function Ut(e) {
4006
- U(e) ? e() : e.unsubscribe();
3970
+ function Pt(e) {
3971
+ G(e) ? e() : e.unsubscribe();
4007
3972
  }
4008
- var Ar = {
3973
+ var Yi = {
4009
3974
  onUnhandledError: null,
4010
3975
  onStoppedNotification: null,
4011
3976
  Promise: void 0,
4012
3977
  useDeprecatedSynchronousErrorHandling: !1,
4013
3978
  useDeprecatedNextContext: !1
4014
- }, po = {
3979
+ }, qi = {
4015
3980
  setTimeout: function(e, t) {
4016
3981
  for (var r = [], n = 2; n < arguments.length; n++)
4017
3982
  r[n - 2] = arguments[n];
4018
- return setTimeout.apply(void 0, Q([e, t], ze(r)));
3983
+ return setTimeout.apply(void 0, Z([e, t], je(r)));
4019
3984
  },
4020
3985
  clearTimeout: function(e) {
4021
3986
  return clearTimeout(e);
4022
3987
  },
4023
3988
  delegate: void 0
4024
3989
  };
4025
- function mo(e) {
4026
- po.setTimeout(function() {
3990
+ function Ki(e) {
3991
+ qi.setTimeout(function() {
4027
3992
  throw e;
4028
3993
  });
4029
3994
  }
4030
- function Dt() {
3995
+ function Bt() {
4031
3996
  }
4032
- function _e(e) {
3997
+ function ve(e) {
4033
3998
  e();
4034
3999
  }
4035
- var Or = function(e) {
4036
- D(t, e);
4000
+ var vr = function(e) {
4001
+ U(t, e);
4037
4002
  function t(r) {
4038
4003
  var n = e.call(this) || this;
4039
- return n.isStopped = !1, r ? (n.destination = r, Br(r) && r.add(n)) : n.destination = yo, n;
4004
+ return n.isStopped = !1, r ? (n.destination = r, yr(r) && r.add(n)) : n.destination = ro, n;
4040
4005
  }
4041
4006
  return t.create = function(r, n, i) {
4042
- return new rt(r, n, i);
4007
+ return new Ke(r, n, i);
4043
4008
  }, t.prototype.next = function(r) {
4044
4009
  this.isStopped || this._next(r);
4045
4010
  }, t.prototype.error = function(r) {
@@ -4063,11 +4028,7 @@ var Or = function(e) {
4063
4028
  this.unsubscribe();
4064
4029
  }
4065
4030
  }, t;
4066
- }(Ie), bo = Function.prototype.bind;
4067
- function je(e, t) {
4068
- return bo.call(e, t);
4069
- }
4070
- var go = function() {
4031
+ }(Oe), eo = function() {
4071
4032
  function e(t) {
4072
4033
  this.partialObserver = t;
4073
4034
  }
@@ -4077,7 +4038,7 @@ var go = function() {
4077
4038
  try {
4078
4039
  r.next(t);
4079
4040
  } catch (n) {
4080
- be(n);
4041
+ me(n);
4081
4042
  }
4082
4043
  }, e.prototype.error = function(t) {
4083
4044
  var r = this.partialObserver;
@@ -4085,68 +4046,56 @@ var go = function() {
4085
4046
  try {
4086
4047
  r.error(t);
4087
4048
  } catch (n) {
4088
- be(n);
4049
+ me(n);
4089
4050
  }
4090
4051
  else
4091
- be(t);
4052
+ me(t);
4092
4053
  }, e.prototype.complete = function() {
4093
4054
  var t = this.partialObserver;
4094
4055
  if (t.complete)
4095
4056
  try {
4096
4057
  t.complete();
4097
4058
  } catch (r) {
4098
- be(r);
4059
+ me(r);
4099
4060
  }
4100
4061
  }, e;
4101
- }(), rt = function(e) {
4102
- D(t, e);
4062
+ }(), Ke = function(e) {
4063
+ U(t, e);
4103
4064
  function t(r, n, i) {
4104
4065
  var o = e.call(this) || this, s;
4105
- if (U(r) || !r)
4106
- s = {
4107
- next: r != null ? r : void 0,
4108
- error: n != null ? n : void 0,
4109
- complete: i != null ? i : void 0
4110
- };
4111
- else {
4112
- var a;
4113
- o && Ar.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
4114
- return o.unsubscribe();
4115
- }, s = {
4116
- next: r.next && je(r.next, a),
4117
- error: r.error && je(r.error, a),
4118
- complete: r.complete && je(r.complete, a)
4119
- }) : s = r;
4120
- }
4121
- return o.destination = new go(s), o;
4066
+ return G(r) || !r ? s = {
4067
+ next: r ?? void 0,
4068
+ error: n ?? void 0,
4069
+ complete: i ?? void 0
4070
+ } : s = r, o.destination = new eo(s), o;
4122
4071
  }
4123
4072
  return t;
4124
- }(Or);
4125
- function be(e) {
4126
- mo(e);
4073
+ }(vr);
4074
+ function me(e) {
4075
+ Ki(e);
4127
4076
  }
4128
- function vo(e) {
4077
+ function to(e) {
4129
4078
  throw e;
4130
4079
  }
4131
- var yo = {
4080
+ var ro = {
4132
4081
  closed: !0,
4133
- next: Dt,
4134
- error: vo,
4135
- complete: Dt
4136
- }, _o = function() {
4082
+ next: Bt,
4083
+ error: to,
4084
+ complete: Bt
4085
+ }, no = function() {
4137
4086
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
4138
4087
  }();
4139
- function Eo(e) {
4088
+ function io(e) {
4140
4089
  return e;
4141
4090
  }
4142
- function xo(e) {
4143
- return e.length === 0 ? Eo : e.length === 1 ? e[0] : function(r) {
4091
+ function oo(e) {
4092
+ return e.length === 0 ? io : e.length === 1 ? e[0] : function(r) {
4144
4093
  return e.reduce(function(n, i) {
4145
4094
  return i(n);
4146
4095
  }, r);
4147
4096
  };
4148
4097
  }
4149
- var Ft = function() {
4098
+ var At = function() {
4150
4099
  function e(t) {
4151
4100
  t && (this._subscribe = t);
4152
4101
  }
@@ -4154,8 +4103,8 @@ var Ft = function() {
4154
4103
  var r = new e();
4155
4104
  return r.source = this, r.operator = t, r;
4156
4105
  }, e.prototype.subscribe = function(t, r, n) {
4157
- var i = this, o = wo(t) ? t : new rt(t, r, n);
4158
- return _e(function() {
4106
+ var i = this, o = ao(t) ? t : new Ke(t, r, n);
4107
+ return ve(function() {
4159
4108
  var s = i, a = s.operator, l = s.source;
4160
4109
  o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
4161
4110
  }), o;
@@ -4167,8 +4116,8 @@ var Ft = function() {
4167
4116
  }
4168
4117
  }, e.prototype.forEach = function(t, r) {
4169
4118
  var n = this;
4170
- return r = jt(r), new r(function(i, o) {
4171
- var s = new rt({
4119
+ return r = Ot(r), new r(function(i, o) {
4120
+ var s = new Ke({
4172
4121
  next: function(a) {
4173
4122
  try {
4174
4123
  t(a);
@@ -4184,15 +4133,15 @@ var Ft = function() {
4184
4133
  }, e.prototype._subscribe = function(t) {
4185
4134
  var r;
4186
4135
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
4187
- }, e.prototype[_o] = function() {
4136
+ }, e.prototype[no] = function() {
4188
4137
  return this;
4189
4138
  }, e.prototype.pipe = function() {
4190
4139
  for (var t = [], r = 0; r < arguments.length; r++)
4191
4140
  t[r] = arguments[r];
4192
- return xo(t)(this);
4141
+ return oo(t)(this);
4193
4142
  }, e.prototype.toPromise = function(t) {
4194
4143
  var r = this;
4195
- return t = jt(t), new t(function(n, i) {
4144
+ return t = Ot(t), new t(function(n, i) {
4196
4145
  var o;
4197
4146
  r.subscribe(function(s) {
4198
4147
  return o = s;
@@ -4206,45 +4155,45 @@ var Ft = function() {
4206
4155
  return new e(t);
4207
4156
  }, e;
4208
4157
  }();
4209
- function jt(e) {
4158
+ function Ot(e) {
4210
4159
  var t;
4211
- return (t = e != null ? e : Ar.Promise) !== null && t !== void 0 ? t : Promise;
4160
+ return (t = e ?? Yi.Promise) !== null && t !== void 0 ? t : Promise;
4212
4161
  }
4213
- function So(e) {
4214
- return e && U(e.next) && U(e.error) && U(e.complete);
4162
+ function so(e) {
4163
+ return e && G(e.next) && G(e.error) && G(e.complete);
4215
4164
  }
4216
- function wo(e) {
4217
- return e && e instanceof Or || So(e) && Br(e);
4165
+ function ao(e) {
4166
+ return e && e instanceof vr || so(e) && yr(e);
4218
4167
  }
4219
- var To = Cr(function(e) {
4168
+ var uo = br(function(e) {
4220
4169
  return function() {
4221
4170
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
4222
4171
  };
4223
- }), Ir = function(e) {
4224
- D(t, e);
4172
+ }), _r = function(e) {
4173
+ U(t, e);
4225
4174
  function t() {
4226
4175
  var r = e.call(this) || this;
4227
4176
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
4228
4177
  }
4229
4178
  return t.prototype.lift = function(r) {
4230
- var n = new kt(this, this);
4179
+ var n = new It(this, this);
4231
4180
  return n.operator = r, n;
4232
4181
  }, t.prototype._throwIfClosed = function() {
4233
4182
  if (this.closed)
4234
- throw new To();
4183
+ throw new uo();
4235
4184
  }, t.prototype.next = function(r) {
4236
4185
  var n = this;
4237
- _e(function() {
4186
+ ve(function() {
4238
4187
  var i, o;
4239
4188
  if (n._throwIfClosed(), !n.isStopped) {
4240
4189
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
4241
4190
  try {
4242
- for (var s = Xe(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
4191
+ for (var s = ke(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
4243
4192
  var l = a.value;
4244
4193
  l.next(r);
4245
4194
  }
4246
- } catch (u) {
4247
- i = { error: u };
4195
+ } catch (h) {
4196
+ i = { error: h };
4248
4197
  } finally {
4249
4198
  try {
4250
4199
  a && !a.done && (o = s.return) && o.call(s);
@@ -4256,7 +4205,7 @@ var To = Cr(function(e) {
4256
4205
  });
4257
4206
  }, t.prototype.error = function(r) {
4258
4207
  var n = this;
4259
- _e(function() {
4208
+ ve(function() {
4260
4209
  if (n._throwIfClosed(), !n.isStopped) {
4261
4210
  n.hasError = n.isStopped = !0, n.thrownError = r;
4262
4211
  for (var i = n.observers; i.length; )
@@ -4265,7 +4214,7 @@ var To = Cr(function(e) {
4265
4214
  });
4266
4215
  }, t.prototype.complete = function() {
4267
4216
  var r = this;
4268
- _e(function() {
4217
+ ve(function() {
4269
4218
  if (r._throwIfClosed(), !r.isStopped) {
4270
4219
  r.isStopped = !0;
4271
4220
  for (var n = r.observers; n.length; )
@@ -4287,20 +4236,20 @@ var To = Cr(function(e) {
4287
4236
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
4288
4237
  }, t.prototype._innerSubscribe = function(r) {
4289
4238
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
4290
- return o || s ? Pr : (this.currentObservers = null, a.push(r), new Ie(function() {
4291
- n.currentObservers = null, tt(a, r);
4239
+ return o || s ? gr : (this.currentObservers = null, a.push(r), new Oe(function() {
4240
+ n.currentObservers = null, qe(a, r);
4292
4241
  }));
4293
4242
  }, t.prototype._checkFinalizedStatuses = function(r) {
4294
4243
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
4295
4244
  i ? r.error(o) : s && r.complete();
4296
4245
  }, t.prototype.asObservable = function() {
4297
- var r = new Ft();
4246
+ var r = new At();
4298
4247
  return r.source = this, r;
4299
4248
  }, t.create = function(r, n) {
4300
- return new kt(r, n);
4249
+ return new It(r, n);
4301
4250
  }, t;
4302
- }(Ft), kt = function(e) {
4303
- D(t, e);
4251
+ }(At), It = function(e) {
4252
+ U(t, e);
4304
4253
  function t(r, n) {
4305
4254
  var i = e.call(this) || this;
4306
4255
  return i.destination = r, i.source = n, i;
@@ -4316,17 +4265,17 @@ var To = Cr(function(e) {
4316
4265
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
4317
4266
  }, t.prototype._subscribe = function(r) {
4318
4267
  var n, i;
4319
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Pr;
4268
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : gr;
4320
4269
  }, t;
4321
- }(Ir), Lr = {
4270
+ }(_r), xr = {
4322
4271
  now: function() {
4323
- return (Lr.delegate || Date).now();
4272
+ return (xr.delegate || Date).now();
4324
4273
  },
4325
4274
  delegate: void 0
4326
- }, Ho = function(e) {
4327
- D(t, e);
4275
+ }, lo = function(e) {
4276
+ U(t, e);
4328
4277
  function t(r, n, i) {
4329
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Lr);
4278
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = xr);
4330
4279
  var o = e.call(this) || this;
4331
4280
  return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
4332
4281
  }
@@ -4341,33 +4290,33 @@ var To = Cr(function(e) {
4341
4290
  }, t.prototype._trimBuffer = function() {
4342
4291
  var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, s = r._infiniteTimeWindow, a = (s ? 1 : 2) * n;
4343
4292
  if (n < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
4344
- for (var l = i.now(), u = 0, h = 1; h < o.length && o[h] <= l; h += 2)
4345
- u = h;
4346
- u && o.splice(0, u + 1);
4293
+ for (var l = i.now(), h = 0, u = 1; u < o.length && o[u] <= l; u += 2)
4294
+ h = u;
4295
+ h && o.splice(0, h + 1);
4347
4296
  }
4348
4297
  }, t;
4349
- }(Ir);
4350
- const Vt = [], Xt = {}, Co = (e, t = 0) => {
4351
- if (Vt.indexOf(e) == -1) {
4352
- const r = new Ho(t);
4353
- Xt[e] = r, Vt.push(e);
4298
+ }(_r);
4299
+ const Lt = [], Nt = {}, ho = (e, t = 0) => {
4300
+ if (Lt.indexOf(e) == -1) {
4301
+ const r = new lo(t);
4302
+ Nt[e] = r, Lt.push(e);
4354
4303
  }
4355
- return Xt[e];
4304
+ return Nt[e];
4356
4305
  };
4357
- window.emWidgets = { topic: Co };
4358
- const Po = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4359
- function Bo(e) {
4360
- tn(e, "svelte-1myc38z", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.CasinoCollectionsProviders{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;height:330px;margin:0 auto;margin-top:24px}.CategoriesHeader{display:flex;justify-content:space-between;height:70px}.CategoriesHeader .Title{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:22px;font-weight:500}.CategoriesHeader .ButtonsContainer button{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px;cursor:pointer}.CategoriesHeader .ButtonsContainer button:active{opacity:0.7}.CategoriesSlider{position:relative;height:230px;overflow:hidden;cursor:pointer}.CategoriesSliderWrapper{position:absolute;top:0;left:0}.CategoriesSlider .Animation{transition:transform 0.8s}.CategoriesSlider .CategorySlide{border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;height:200px;width:400px;margin-right:15px;background-size:cover}.CategoriesSlider .CategorySlide:not(.CategorySlideNoHighlight){background-color:#808080;background-blend-mode:multiply}.CategoriesSlider .CategorySlideTopContainer{height:100px;display:flex;align-items:center}.CategoriesSlider .CategorySlideLogo{transform:translate(-50%, -50%);max-width:175px;top:30%;max-height:100%;position:absolute}.CategoriesSlider .CategorySlideTitle{color:var(--emw--casino-typography, var(--emw--color-constrast, #FFFFFF));font-size:18px;letter-spacing:1px}.CategoriesSlider .CategorySlideGameContainer{display:flex;width:40px;justify-content:center;gap:10%;min-height:85px}.CategoriesSlider .CategorySlideGameImage{border-radius:10px;width:auto;height:55px;object-fit:cover}.CategoriesSlider .CategorySlideGames{color:white;text-align:center}.CategoriesSlider .CategorySlideGames p{font-size:8px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.Mobile.Providers{padding:25px 10px}.Mobile.Collections{padding:25px 10px}.Mobile.CasinoCollectionsProviders{padding:25px 10px}.Mobile .CategoriesSlider{overflow:auto;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.Mobile .CategoriesSlider::-webkit-scrollbar{display:none}.Mobile .CategorySlide{width:80vw;scroll-snap-align:start}.Mobile .ButtonsContainer{display:none}.Mobile .CategorySlideGameImage{border-radius:10px;width:auto;height:40px;object-fit:cover}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
4306
+ window.emWidgets = { topic: ho };
4307
+ const co = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4308
+ function fo(e) {
4309
+ Gr(e, "svelte-1myc38z", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.CasinoCollectionsProviders{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;height:330px;margin:0 auto;margin-top:24px}.CategoriesHeader{display:flex;justify-content:space-between;height:70px}.CategoriesHeader .Title{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:22px;font-weight:500}.CategoriesHeader .ButtonsContainer button{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px;cursor:pointer}.CategoriesHeader .ButtonsContainer button:active{opacity:0.7}.CategoriesSlider{position:relative;height:230px;overflow:hidden;cursor:pointer}.CategoriesSliderWrapper{position:absolute;top:0;left:0}.CategoriesSlider .Animation{transition:transform 0.8s}.CategoriesSlider .CategorySlide{border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;height:200px;width:400px;margin-right:15px;background-size:cover}.CategoriesSlider .CategorySlide:not(.CategorySlideNoHighlight){background-color:#808080;background-blend-mode:multiply}.CategoriesSlider .CategorySlideTopContainer{height:100px;display:flex;align-items:center}.CategoriesSlider .CategorySlideLogo{transform:translate(-50%, -50%);max-width:175px;top:30%;max-height:100%;position:absolute}.CategoriesSlider .CategorySlideTitle{color:var(--emw--casino-typography, var(--emw--color-constrast, #FFFFFF));font-size:18px;letter-spacing:1px}.CategoriesSlider .CategorySlideGameContainer{display:flex;width:40px;justify-content:center;gap:10%;min-height:85px}.CategoriesSlider .CategorySlideGameImage{border-radius:10px;width:auto;height:55px;object-fit:cover}.CategoriesSlider .CategorySlideGames{color:white;text-align:center}.CategoriesSlider .CategorySlideGames p{font-size:8px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.Mobile.Providers{padding:25px 10px}.Mobile.Collections{padding:25px 10px}.Mobile.CasinoCollectionsProviders{padding:25px 10px}.Mobile .CategoriesSlider{overflow:auto;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.Mobile .CategoriesSlider::-webkit-scrollbar{display:none}.Mobile .CategorySlide{width:80vw;scroll-snap-align:start}.Mobile .ButtonsContainer{display:none}.Mobile .CategorySlideGameImage{border-radius:10px;width:auto;height:40px;object-fit:cover}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
4361
4310
  }
4362
- function zt(e, t, r) {
4311
+ function Mt(e, t, r) {
4363
4312
  const n = e.slice();
4364
4313
  return n[41] = t[r], n;
4365
4314
  }
4366
- function Wt(e, t, r) {
4315
+ function Rt(e, t, r) {
4367
4316
  const n = e.slice();
4368
4317
  return n[44] = t[r], n;
4369
4318
  }
4370
- function Ao(e) {
4319
+ function po(e) {
4371
4320
  let t, r, n, i = (
4372
4321
  /*type*/
4373
4322
  (e[0] == "vendor" ? (
@@ -4377,33 +4326,33 @@ function Ao(e) {
4377
4326
  /*$_*/
4378
4327
  e[11]("collections")
4379
4328
  )) + ""
4380
- ), o, s, a, l, u, h, c = (
4329
+ ), o, s, a, l, h, u, c = (
4381
4330
  /*numberOfSlides*/
4382
4331
  e[8] > /*numberOfVisibleSlides*/
4383
- e[9] && Zt(e)
4384
- ), f = we(
4332
+ e[9] && $t(e)
4333
+ ), f = Se(
4385
4334
  /*gameCategories*/
4386
4335
  e[3]
4387
- ), p = [];
4336
+ ), m = [];
4388
4337
  for (let d = 0; d < f.length; d += 1)
4389
- p[d] = Yt(zt(e, f, d));
4338
+ m[d] = Dt(Mt(e, f, d));
4390
4339
  return {
4391
4340
  c() {
4392
- t = C("div"), r = C("div"), n = C("p"), o = Ce(i), s = j(), c && c.c(), a = j(), l = C("div");
4393
- for (let d = 0; d < p.length; d += 1)
4394
- p[d].c();
4395
- x(n, "class", "Title"), x(r, "class", "CategoriesHeader"), x(l, "class", "CategoriesSlider"), Se(() => (
4341
+ t = H("div"), r = H("div"), n = H("p"), o = He(i), s = F(), c && c.c(), a = F(), l = H("div");
4342
+ for (let d = 0; d < m.length; d += 1)
4343
+ m[d].c();
4344
+ E(n, "class", "Title"), E(r, "class", "CategoriesHeader"), E(l, "class", "CategoriesSlider"), Ee(() => (
4396
4345
  /*div1_elementresize_handler*/
4397
4346
  e[27].call(l)
4398
- )), x(t, "class", h = "CasinoCollectionsProviders " + /*mobile*/
4347
+ )), E(t, "class", u = "CasinoCollectionsProviders " + /*mobile*/
4399
4348
  (e[10] ? "Mobile" : "") + " " + /*type*/
4400
4349
  (e[0] === "vendor" ? "Providers" : "Collections"));
4401
4350
  },
4402
4351
  m(d, g) {
4403
- G(d, t, g), H(t, r), H(r, n), H(n, o), H(r, s), c && c.m(r, null), H(t, a), H(t, l);
4404
- for (let m = 0; m < p.length; m += 1)
4405
- p[m] && p[m].m(l, null);
4406
- e[26](l), u = ln(
4352
+ R(d, t, g), T(t, r), T(r, n), T(n, o), T(r, s), c && c.m(r, null), T(t, a), T(t, l);
4353
+ for (let p = 0; p < m.length; p += 1)
4354
+ m[p] && m[p].m(l, null);
4355
+ e[26](l), h = Vr(
4407
4356
  l,
4408
4357
  /*div1_elementresize_handler*/
4409
4358
  e[27].bind(l)
@@ -4418,63 +4367,63 @@ function Ao(e) {
4418
4367
  ) : (
4419
4368
  /*$_*/
4420
4369
  d[11]("collections")
4421
- )) + "") && it(o, i), /*numberOfSlides*/
4370
+ )) + "") && tt(o, i), /*numberOfSlides*/
4422
4371
  d[8] > /*numberOfVisibleSlides*/
4423
- d[9] ? c ? c.p(d, g) : (c = Zt(d), c.c(), c.m(r, null)) : c && (c.d(1), c = null), g[0] & /*gameCategories, openCategory, collectionprovidersgamenames, openGame, titletype*/
4372
+ d[9] ? c ? c.p(d, g) : (c = $t(d), c.c(), c.m(r, null)) : c && (c.d(1), c = null), g[0] & /*gameCategories, openCategory, collectionprovidersgamenames, openGame, titletype*/
4424
4373
  49166) {
4425
- f = we(
4374
+ f = Se(
4426
4375
  /*gameCategories*/
4427
4376
  d[3]
4428
4377
  );
4429
- let m;
4430
- for (m = 0; m < f.length; m += 1) {
4431
- const E = zt(d, f, m);
4432
- p[m] ? p[m].p(E, g) : (p[m] = Yt(E), p[m].c(), p[m].m(l, null));
4378
+ let p;
4379
+ for (p = 0; p < f.length; p += 1) {
4380
+ const S = Mt(d, f, p);
4381
+ m[p] ? m[p].p(S, g) : (m[p] = Dt(S), m[p].c(), m[p].m(l, null));
4433
4382
  }
4434
- for (; m < p.length; m += 1)
4435
- p[m].d(1);
4436
- p.length = f.length;
4383
+ for (; p < m.length; p += 1)
4384
+ m[p].d(1);
4385
+ m.length = f.length;
4437
4386
  }
4438
4387
  g[0] & /*mobile, type*/
4439
- 1025 && h !== (h = "CasinoCollectionsProviders " + /*mobile*/
4388
+ 1025 && u !== (u = "CasinoCollectionsProviders " + /*mobile*/
4440
4389
  (d[10] ? "Mobile" : "") + " " + /*type*/
4441
- (d[0] === "vendor" ? "Providers" : "Collections")) && x(t, "class", h);
4390
+ (d[0] === "vendor" ? "Providers" : "Collections")) && E(t, "class", u);
4442
4391
  },
4443
4392
  d(d) {
4444
- d && R(t), c && c.d(), tr(p, d), e[26](null), u();
4393
+ d && N(t), c && c.d(), Vt(m, d), e[26](null), h();
4445
4394
  }
4446
4395
  };
4447
4396
  }
4448
- function Oo(e) {
4397
+ function mo(e) {
4449
4398
  let t;
4450
4399
  return {
4451
4400
  c() {
4452
- t = C("div"), x(t, "class", "LoadingSpinner");
4401
+ t = H("div"), E(t, "class", "LoadingSpinner");
4453
4402
  },
4454
4403
  m(r, n) {
4455
- G(r, t, n);
4404
+ R(r, t, n);
4456
4405
  },
4457
- p: L,
4406
+ p: I,
4458
4407
  d(r) {
4459
- r && R(t);
4408
+ r && N(t);
4460
4409
  }
4461
4410
  };
4462
4411
  }
4463
- function Zt(e) {
4412
+ function $t(e) {
4464
4413
  let t, r, n, i, o, s;
4465
4414
  return {
4466
4415
  c() {
4467
- t = C("div"), r = C("button"), r.innerHTML = '<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(14.656 0) rotate(90)" fill="#fff"></path></svg>', n = j(), i = C("button"), i.innerHTML = '<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(0 24.656) rotate(-90)" fill="#fff"></path></svg>', x(t, "class", "ButtonsContainer");
4416
+ t = H("div"), r = H("button"), r.innerHTML = '<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(14.656 0) rotate(90)" fill="#fff"></path></svg>', n = F(), i = H("button"), i.innerHTML = '<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(0 24.656) rotate(-90)" fill="#fff"></path></svg>', E(t, "class", "ButtonsContainer");
4468
4417
  },
4469
4418
  m(a, l) {
4470
- G(a, t, l), H(t, r), H(t, n), H(t, i), o || (s = [
4471
- J(
4419
+ R(a, t, l), T(t, r), T(t, n), T(t, i), o || (s = [
4420
+ Q(
4472
4421
  r,
4473
4422
  "click",
4474
4423
  /*click_handler*/
4475
4424
  e[22]
4476
4425
  ),
4477
- J(
4426
+ Q(
4478
4427
  i,
4479
4428
  "click",
4480
4429
  /*click_handler_1*/
@@ -4482,85 +4431,85 @@ function Zt(e) {
4482
4431
  )
4483
4432
  ], o = !0);
4484
4433
  },
4485
- p: L,
4434
+ p: I,
4486
4435
  d(a) {
4487
- a && R(t), o = !1, te(s);
4436
+ a && N(t), o = !1, ee(s);
4488
4437
  }
4489
4438
  };
4490
4439
  }
4491
- function Io(e) {
4440
+ function bo(e) {
4492
4441
  let t, r = (
4493
4442
  /*category*/
4494
4443
  e[41].name + ""
4495
4444
  ), n;
4496
4445
  return {
4497
4446
  c() {
4498
- t = C("p"), n = Ce(r), x(t, "class", "CategorySlideTitle");
4447
+ t = H("p"), n = He(r), E(t, "class", "CategorySlideTitle");
4499
4448
  },
4500
4449
  m(i, o) {
4501
- G(i, t, o), H(t, n);
4450
+ R(i, t, o), T(t, n);
4502
4451
  },
4503
4452
  p(i, o) {
4504
4453
  o[0] & /*gameCategories*/
4505
4454
  8 && r !== (r = /*category*/
4506
- i[41].name + "") && it(n, r);
4455
+ i[41].name + "") && tt(n, r);
4507
4456
  },
4508
4457
  d(i) {
4509
- i && R(t);
4458
+ i && N(t);
4510
4459
  }
4511
4460
  };
4512
4461
  }
4513
- function Lo(e) {
4462
+ function go(e) {
4514
4463
  let t, r, n;
4515
4464
  return {
4516
4465
  c() {
4517
- t = C("img"), x(t, "class", "CategorySlideLogo"), Ee(t.src, r = /*category*/
4518
- e[41].icon) || x(t, "src", r), x(t, "alt", n = /*category*/
4466
+ t = H("img"), E(t, "class", "CategorySlideLogo"), _e(t.src, r = /*category*/
4467
+ e[41].icon) || E(t, "src", r), E(t, "alt", n = /*category*/
4519
4468
  e[41].name + " icon");
4520
4469
  },
4521
4470
  m(i, o) {
4522
- G(i, t, o);
4471
+ R(i, t, o);
4523
4472
  },
4524
4473
  p(i, o) {
4525
4474
  o[0] & /*gameCategories*/
4526
- 8 && !Ee(t.src, r = /*category*/
4527
- i[41].icon) && x(t, "src", r), o[0] & /*gameCategories*/
4475
+ 8 && !_e(t.src, r = /*category*/
4476
+ i[41].icon) && E(t, "src", r), o[0] & /*gameCategories*/
4528
4477
  8 && n !== (n = /*category*/
4529
- i[41].name + " icon") && x(t, "alt", n);
4478
+ i[41].name + " icon") && E(t, "alt", n);
4530
4479
  },
4531
4480
  d(i) {
4532
- i && R(t);
4481
+ i && N(t);
4533
4482
  }
4534
4483
  };
4535
4484
  }
4536
- function Qt(e) {
4485
+ function Gt(e) {
4537
4486
  let t, r = (
4538
4487
  /*game*/
4539
4488
  e[44].name + ""
4540
4489
  ), n, i;
4541
4490
  return {
4542
4491
  c() {
4543
- t = C("p"), n = Ce(r), x(t, "title", i = /*game*/
4492
+ t = H("p"), n = He(r), E(t, "title", i = /*game*/
4544
4493
  e[44].name);
4545
4494
  },
4546
4495
  m(o, s) {
4547
- G(o, t, s), H(t, n);
4496
+ R(o, t, s), T(t, n);
4548
4497
  },
4549
4498
  p(o, s) {
4550
4499
  s[0] & /*gameCategories*/
4551
4500
  8 && r !== (r = /*game*/
4552
- o[44].name + "") && it(n, r), s[0] & /*gameCategories*/
4501
+ o[44].name + "") && tt(n, r), s[0] & /*gameCategories*/
4553
4502
  8 && i !== (i = /*game*/
4554
- o[44].name) && x(t, "title", i);
4503
+ o[44].name) && E(t, "title", i);
4555
4504
  },
4556
4505
  d(o) {
4557
- o && R(t);
4506
+ o && N(t);
4558
4507
  }
4559
4508
  };
4560
4509
  }
4561
- function Jt(e) {
4510
+ function Ut(e) {
4562
4511
  let t, r, n, i, o, s, a, l;
4563
- function u() {
4512
+ function h() {
4564
4513
  return (
4565
4514
  /*click_handler_2*/
4566
4515
  e[24](
@@ -4569,50 +4518,50 @@ function Jt(e) {
4569
4518
  )
4570
4519
  );
4571
4520
  }
4572
- let h = (
4521
+ let u = (
4573
4522
  /*collectionprovidersgamenames*/
4574
- e[2] == "true" && Qt(e)
4523
+ e[2] == "true" && Gt(e)
4575
4524
  );
4576
4525
  return {
4577
4526
  c() {
4578
- t = C("div"), r = C("img"), o = j(), h && h.c(), s = j(), x(r, "class", "CategorySlideGameImage"), Ee(r.src, n = /*game*/
4579
- e[44].defaultThumbnail) || x(r, "src", n), x(r, "alt", i = /*game*/
4580
- e[44].name), x(t, "class", "CategorySlideGames");
4527
+ t = H("div"), r = H("img"), o = F(), u && u.c(), s = F(), E(r, "class", "CategorySlideGameImage"), _e(r.src, n = /*game*/
4528
+ e[44].defaultThumbnail) || E(r, "src", n), E(r, "alt", i = /*game*/
4529
+ e[44].name), E(t, "class", "CategorySlideGames");
4581
4530
  },
4582
4531
  m(c, f) {
4583
- G(c, t, f), H(t, r), H(t, o), h && h.m(t, null), H(t, s), a || (l = J(r, "click", on(u)), a = !0);
4532
+ R(c, t, f), T(t, r), T(t, o), u && u.m(t, null), T(t, s), a || (l = Q(r, "click", Fr(h)), a = !0);
4584
4533
  },
4585
4534
  p(c, f) {
4586
4535
  e = c, f[0] & /*gameCategories*/
4587
- 8 && !Ee(r.src, n = /*game*/
4588
- e[44].defaultThumbnail) && x(r, "src", n), f[0] & /*gameCategories*/
4536
+ 8 && !_e(r.src, n = /*game*/
4537
+ e[44].defaultThumbnail) && E(r, "src", n), f[0] & /*gameCategories*/
4589
4538
  8 && i !== (i = /*game*/
4590
- e[44].name) && x(r, "alt", i), /*collectionprovidersgamenames*/
4591
- e[2] == "true" ? h ? h.p(e, f) : (h = Qt(e), h.c(), h.m(t, s)) : h && (h.d(1), h = null);
4539
+ e[44].name) && E(r, "alt", i), /*collectionprovidersgamenames*/
4540
+ e[2] == "true" ? u ? u.p(e, f) : (u = Gt(e), u.c(), u.m(t, s)) : u && (u.d(1), u = null);
4592
4541
  },
4593
4542
  d(c) {
4594
- c && R(t), h && h.d(), a = !1, l();
4543
+ c && N(t), u && u.d(), a = !1, l();
4595
4544
  }
4596
4545
  };
4597
4546
  }
4598
- function Yt(e) {
4599
- let t, r, n, i, o, s, a, l, u;
4600
- function h(m, E) {
4547
+ function Dt(e) {
4548
+ let t, r, n, i, o, s, a, l, h;
4549
+ function u(p, S) {
4601
4550
  if (
4602
4551
  /*titletype*/
4603
- m[1] == "logo"
4604
- ) return Lo;
4552
+ p[1] == "logo"
4553
+ ) return go;
4605
4554
  if (
4606
4555
  /*titletype*/
4607
- m[1] == "title"
4608
- ) return Io;
4556
+ p[1] == "title"
4557
+ ) return bo;
4609
4558
  }
4610
- let c = h(e), f = c && c(e), p = we(
4559
+ let c = u(e), f = c && c(e), m = Se(
4611
4560
  /*category*/
4612
4561
  e[41].games
4613
4562
  ), d = [];
4614
- for (let m = 0; m < p.length; m += 1)
4615
- d[m] = Jt(Wt(e, p, m));
4563
+ for (let p = 0; p < m.length; p += 1)
4564
+ d[p] = Ut(Rt(e, m, p));
4616
4565
  function g() {
4617
4566
  return (
4618
4567
  /*click_handler_3*/
@@ -4624,134 +4573,129 @@ function Yt(e) {
4624
4573
  }
4625
4574
  return {
4626
4575
  c() {
4627
- var m, E;
4628
- t = C("div"), r = C("div"), n = C("div"), f && f.c(), i = j(), o = C("div");
4629
- for (let S = 0; S < d.length; S += 1)
4630
- d[S].c();
4631
- a = j(), x(n, "class", "CategorySlideTopContainer"), x(o, "class", "CategorySlideGameContainer"), x(r, "class", s = "CategorySlide " + /*category*/
4632
- (((m = e[41]) == null ? void 0 : m.flag[0]) == "vendor" ? "CategorySlideNoHighlight" : "")), Ne(r, "background-image", "url(" + /*category*/
4633
- ((E = e[41]) == null ? void 0 : E.background) + ")"), Ne(r, "background-size", "cover"), x(t, "class", "CategoriesSliderWrapper Animation");
4576
+ t = H("div"), r = H("div"), n = H("div"), f && f.c(), i = F(), o = H("div");
4577
+ for (let p = 0; p < d.length; p += 1)
4578
+ d[p].c();
4579
+ a = F(), E(n, "class", "CategorySlideTopContainer"), E(o, "class", "CategorySlideGameContainer"), E(r, "class", s = "CategorySlide " + /*category*/
4580
+ (e[41]?.flag[0] == "vendor" ? "CategorySlideNoHighlight" : "")), Ie(r, "background-image", "url(" + /*category*/
4581
+ e[41]?.background + ")"), Ie(r, "background-size", "cover"), E(t, "class", "CategoriesSliderWrapper Animation");
4634
4582
  },
4635
- m(m, E) {
4636
- G(m, t, E), H(t, r), H(r, n), f && f.m(n, null), H(r, i), H(r, o);
4637
- for (let S = 0; S < d.length; S += 1)
4638
- d[S] && d[S].m(o, null);
4639
- H(t, a), l || (u = J(r, "click", g), l = !0);
4583
+ m(p, S) {
4584
+ R(p, t, S), T(t, r), T(r, n), f && f.m(n, null), T(r, i), T(r, o);
4585
+ for (let _ = 0; _ < d.length; _ += 1)
4586
+ d[_] && d[_].m(o, null);
4587
+ T(t, a), l || (h = Q(r, "click", g), l = !0);
4640
4588
  },
4641
- p(m, E) {
4642
- var S, A;
4643
- if (e = m, c === (c = h(e)) && f ? f.p(e, E) : (f && f.d(1), f = c && c(e), f && (f.c(), f.m(n, null))), E[0] & /*gameCategories, collectionprovidersgamenames, openGame*/
4589
+ p(p, S) {
4590
+ if (e = p, c === (c = u(e)) && f ? f.p(e, S) : (f && f.d(1), f = c && c(e), f && (f.c(), f.m(n, null))), S[0] & /*gameCategories, collectionprovidersgamenames, openGame*/
4644
4591
  16396) {
4645
- p = we(
4592
+ m = Se(
4646
4593
  /*category*/
4647
4594
  e[41].games
4648
4595
  );
4649
- let T;
4650
- for (T = 0; T < p.length; T += 1) {
4651
- const P = Wt(e, p, T);
4652
- d[T] ? d[T].p(P, E) : (d[T] = Jt(P), d[T].c(), d[T].m(o, null));
4596
+ let _;
4597
+ for (_ = 0; _ < m.length; _ += 1) {
4598
+ const P = Rt(e, m, _);
4599
+ d[_] ? d[_].p(P, S) : (d[_] = Ut(P), d[_].c(), d[_].m(o, null));
4653
4600
  }
4654
- for (; T < d.length; T += 1)
4655
- d[T].d(1);
4656
- d.length = p.length;
4601
+ for (; _ < d.length; _ += 1)
4602
+ d[_].d(1);
4603
+ d.length = m.length;
4657
4604
  }
4658
- E[0] & /*gameCategories*/
4605
+ S[0] & /*gameCategories*/
4659
4606
  8 && s !== (s = "CategorySlide " + /*category*/
4660
- (((S = e[41]) == null ? void 0 : S.flag[0]) == "vendor" ? "CategorySlideNoHighlight" : "")) && x(r, "class", s), E[0] & /*gameCategories*/
4661
- 8 && Ne(r, "background-image", "url(" + /*category*/
4662
- ((A = e[41]) == null ? void 0 : A.background) + ")");
4607
+ (e[41]?.flag[0] == "vendor" ? "CategorySlideNoHighlight" : "")) && E(r, "class", s), S[0] & /*gameCategories*/
4608
+ 8 && Ie(r, "background-image", "url(" + /*category*/
4609
+ e[41]?.background + ")");
4663
4610
  },
4664
- d(m) {
4665
- m && R(t), f && f.d(), tr(d, m), l = !1, u();
4611
+ d(p) {
4612
+ p && N(t), f && f.d(), Vt(d, p), l = !1, h();
4666
4613
  }
4667
4614
  };
4668
4615
  }
4669
- function No(e) {
4616
+ function yo(e) {
4670
4617
  let t;
4671
4618
  function r(o, s) {
4672
4619
  return (
4673
4620
  /*isLoading*/
4674
- o[7] ? Oo : Ao
4621
+ o[7] ? mo : po
4675
4622
  );
4676
4623
  }
4677
4624
  let n = r(e), i = n(e);
4678
4625
  return {
4679
4626
  c() {
4680
- t = C("div"), i.c();
4627
+ t = H("div"), i.c();
4681
4628
  },
4682
4629
  m(o, s) {
4683
- G(o, t, s), i.m(t, null), e[28](t);
4630
+ R(o, t, s), i.m(t, null), e[28](t);
4684
4631
  },
4685
4632
  p(o, s) {
4686
4633
  n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
4687
4634
  },
4688
- i: L,
4689
- o: L,
4635
+ i: I,
4636
+ o: I,
4690
4637
  d(o) {
4691
- o && R(t), i.d(), e[28](null);
4638
+ o && N(t), i.d(), e[28](null);
4692
4639
  }
4693
4640
  };
4694
4641
  }
4695
- function Mo(e, t, r) {
4642
+ function vo(e, t, r) {
4696
4643
  let n;
4697
- en(e, co, (b) => r(11, n = b));
4698
- let { endpoint: i = "" } = t, { datasource: o = "" } = t, { lang: s = "" } = t, { type: a = "" } = t, { titletype: l = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: c = "" } = t, { collectionprovidersgamenames: f = "" } = t, p = [], d = !0, g, m = 0, E = 0, S = 0, A, T, P, V = window.navigator.userAgent, oe, se = 0;
4699
- const Nr = () => {
4700
- fetch(c).then((B) => B.json()).then((B) => {
4701
- Object.keys(B).forEach((I) => {
4702
- $t(I, B[I]);
4644
+ $r(e, Qi, (b) => r(11, n = b));
4645
+ let { endpoint: i = "" } = t, { datasource: o = "" } = t, { lang: s = "" } = t, { type: a = "" } = t, { titletype: l = "" } = t, { clientstyling: h = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: c = "" } = t, { collectionprovidersgamenames: f = "" } = t, m = [], d = !0, g, p = 0, S = 0, _ = 0, P, $, B, j = window.navigator.userAgent, ie, oe = 0;
4646
+ const Er = () => {
4647
+ fetch(c).then((C) => C.json()).then((C) => {
4648
+ Object.keys(C).forEach((O) => {
4649
+ Ht(O, C[O]);
4703
4650
  });
4704
- }).catch((B) => {
4705
- console.log(B);
4651
+ }).catch((C) => {
4652
+ console.log(C);
4706
4653
  });
4707
4654
  };
4708
- Object.keys(Gt).forEach((b) => {
4709
- $t(b, Gt[b]);
4655
+ Object.keys(Ct).forEach((b) => {
4656
+ Ht(b, Ct[b]);
4710
4657
  });
4711
- const Mr = () => {
4658
+ const Sr = () => {
4712
4659
  const b = new URL(`${i}/v2/casino/groups/${o}`);
4713
- b.searchParams.append("language", s), b.searchParams.append("expand", "games"), fetch(b.href).then((B) => B.json()).then((B) => {
4660
+ b.searchParams.append("language", s), b.searchParams.append("expand", "games"), fetch(b.href).then((C) => C.json()).then((C) => {
4714
4661
  r(7, d = !1);
4715
- let I = B.items.filter((N) => N.flags == a);
4716
- r(3, p = I.map((N) => {
4717
- var mt, bt, gt;
4718
- return {
4719
- id: N.id,
4720
- name: N.name,
4721
- icon: N.icon ? N.icon : (gt = (bt = (mt = N.vendors) == null ? void 0 : mt.items[0]) == null ? void 0 : bt.subVendors[0]) == null ? void 0 : gt.logo,
4722
- games: N.games.items.slice(0, 4).map((Wr) => Wr),
4723
- background: N.background,
4724
- flag: N.flags
4725
- };
4726
- })), r(8, E = p.length);
4662
+ let O = C.items.filter((L) => L.flags == a);
4663
+ r(3, m = O.map((L) => ({
4664
+ id: L.id,
4665
+ name: L.name,
4666
+ icon: L.icon ? L.icon : L.vendors?.items[0]?.subVendors[0]?.logo,
4667
+ games: L.games.items.slice(0, 4).map((Mr) => Mr),
4668
+ background: L.background,
4669
+ flag: L.flags
4670
+ }))), r(8, S = m.length);
4727
4671
  });
4728
- }, ut = (b) => {
4729
- T = [...g.children], T.forEach((B, I) => {
4730
- B.style.transform = `translateX(${100 * (b ? I - b : I)}%)`;
4731
- }), A = T[0].getBoundingClientRect().width, Rr();
4732
- }, Rr = () => {
4733
- r(9, S = Math.floor(se / A));
4734
- }, ht = () => {
4735
- ut(m);
4736
- }, ct = () => {
4737
- m === 0 ? m = E - S : m - S < -1 ? m = 0 : m--, ht();
4738
- }, ft = () => {
4739
- m === E - S ? m = 0 : E - S < m + 1 ? m = E - S : m++, ht();
4740
- }, dt = (b, B, I, N) => {
4672
+ }, ot = (b) => {
4673
+ $ = [...g.children], $.forEach((C, O) => {
4674
+ C.style.transform = `translateX(${100 * (b ? O - b : O)}%)`;
4675
+ }), P = $[0].getBoundingClientRect().width, wr();
4676
+ }, wr = () => {
4677
+ r(9, _ = Math.floor(oe / P));
4678
+ }, st = () => {
4679
+ ot(p);
4680
+ }, at = () => {
4681
+ p === 0 ? p = S - _ : p - _ < -1 ? p = 0 : p--, st();
4682
+ }, ut = () => {
4683
+ p === S - _ ? p = 0 : S - _ < p + 1 ? p = S - _ : p++, st();
4684
+ }, lt = (b, C, O, L) => {
4741
4685
  window.postMessage(
4742
4686
  {
4743
4687
  type: "OpenCollectionsProvidersGame",
4744
4688
  gameId: b,
4745
- launchUrl: B,
4746
- gameName: I,
4747
- subVendor: N
4689
+ launchUrl: C,
4690
+ gameName: O,
4691
+ subVendor: L
4748
4692
  },
4749
4693
  window.location.href
4750
4694
  ), typeof gtag == "function" && gtag("event", "OpenGame", {
4751
4695
  context: "CollectionsProviders",
4752
- gameName: `${I}`
4696
+ gameName: `${O}`
4753
4697
  });
4754
- }, pt = (b) => {
4698
+ }, ht = (b) => {
4755
4699
  window.postMessage(
4756
4700
  {
4757
4701
  type: "OpenCollectionsProvidersCategory",
@@ -4759,89 +4703,89 @@ function Mo(e, t, r) {
4759
4703
  },
4760
4704
  window.location.href
4761
4705
  );
4762
- }, $r = () => {
4763
- fo(s);
4764
- }, Gr = () => {
4706
+ }, Tr = () => {
4707
+ Ji(s);
4708
+ }, Hr = () => {
4765
4709
  let b = document.createElement("style");
4766
- b.innerHTML = u, P.appendChild(b);
4767
- }, Ur = () => {
4768
- let b = new URL(h), B = document.createElement("style");
4769
- fetch(b.href).then((I) => I.text()).then((I) => {
4770
- B.innerHTML = I, setTimeout(
4710
+ b.innerHTML = h, B.appendChild(b);
4711
+ }, Cr = () => {
4712
+ let b = new URL(u), C = document.createElement("style");
4713
+ fetch(b.href).then((O) => O.text()).then((O) => {
4714
+ C.innerHTML = O, setTimeout(
4771
4715
  () => {
4772
- P.appendChild(B);
4716
+ B.appendChild(C);
4773
4717
  },
4774
4718
  1
4775
4719
  );
4776
4720
  });
4777
4721
  };
4778
- cn(() => {
4779
- r(10, oe = Po(V));
4722
+ zr(() => {
4723
+ r(10, ie = co(j));
4780
4724
  });
4781
- const Dr = () => ct(), Fr = () => ft(), jr = (b) => dt(b.gameId, b.launchUrl, b.name, b.subVendor), kr = (b) => pt(b.id);
4782
- function Vr(b) {
4725
+ const Pr = () => at(), Br = () => ut(), Ar = (b) => lt(b.gameId, b.launchUrl, b.name, b.subVendor), Or = (b) => ht(b.id);
4726
+ function Ir(b) {
4783
4727
  xe[b ? "unshift" : "push"](() => {
4784
4728
  g = b, r(4, g);
4785
4729
  });
4786
4730
  }
4787
- function Xr() {
4788
- se = this.clientWidth, r(6, se);
4731
+ function Lr() {
4732
+ oe = this.clientWidth, r(6, oe);
4789
4733
  }
4790
- function zr(b) {
4734
+ function Nr(b) {
4791
4735
  xe[b ? "unshift" : "push"](() => {
4792
- P = b, r(5, P);
4736
+ B = b, r(5, B);
4793
4737
  });
4794
4738
  }
4795
4739
  return e.$$set = (b) => {
4796
- "endpoint" in b && r(16, i = b.endpoint), "datasource" in b && r(17, o = b.datasource), "lang" in b && r(18, s = b.lang), "type" in b && r(0, a = b.type), "titletype" in b && r(1, l = b.titletype), "clientstyling" in b && r(19, u = b.clientstyling), "clientstylingurl" in b && r(20, h = b.clientstylingurl), "translationurl" in b && r(21, c = b.translationurl), "collectionprovidersgamenames" in b && r(2, f = b.collectionprovidersgamenames);
4740
+ "endpoint" in b && r(16, i = b.endpoint), "datasource" in b && r(17, o = b.datasource), "lang" in b && r(18, s = b.lang), "type" in b && r(0, a = b.type), "titletype" in b && r(1, l = b.titletype), "clientstyling" in b && r(19, h = b.clientstyling), "clientstylingurl" in b && r(20, u = b.clientstylingurl), "translationurl" in b && r(21, c = b.translationurl), "collectionprovidersgamenames" in b && r(2, f = b.collectionprovidersgamenames);
4797
4741
  }, e.$$.update = () => {
4798
4742
  e.$$.dirty[0] & /*endpoint, datasource, lang*/
4799
- 458752 && i && o && s && Mr(), e.$$.dirty[0] & /*categoriesSliderWidth, gameCategories, categoriesSlider*/
4800
- 88 && se && p && g && ut(), e.$$.dirty[0] & /*lang*/
4801
- 262144 && s && $r(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4802
- 524320 && u && P && Gr(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4803
- 1048608 && h && P && Ur(), e.$$.dirty[0] & /*translationurl*/
4804
- 2097152 && c && Nr();
4743
+ 458752 && i && o && s && Sr(), e.$$.dirty[0] & /*categoriesSliderWidth, gameCategories, categoriesSlider*/
4744
+ 88 && oe && m && g && ot(), e.$$.dirty[0] & /*lang*/
4745
+ 262144 && s && Tr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4746
+ 524320 && h && B && Hr(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4747
+ 1048608 && u && B && Cr(), e.$$.dirty[0] & /*translationurl*/
4748
+ 2097152 && c && Er();
4805
4749
  }, [
4806
4750
  a,
4807
4751
  l,
4808
4752
  f,
4809
- p,
4753
+ m,
4810
4754
  g,
4811
- P,
4812
- se,
4755
+ B,
4756
+ oe,
4813
4757
  d,
4814
- E,
4815
4758
  S,
4816
- oe,
4759
+ _,
4760
+ ie,
4817
4761
  n,
4818
- ct,
4819
- ft,
4820
- dt,
4821
- pt,
4762
+ at,
4763
+ ut,
4764
+ lt,
4765
+ ht,
4822
4766
  i,
4823
4767
  o,
4824
4768
  s,
4825
- u,
4826
4769
  h,
4770
+ u,
4827
4771
  c,
4828
- Dr,
4829
- Fr,
4830
- jr,
4831
- kr,
4832
- Vr,
4833
- Xr,
4834
- zr
4772
+ Pr,
4773
+ Br,
4774
+ Ar,
4775
+ Or,
4776
+ Ir,
4777
+ Lr,
4778
+ Nr
4835
4779
  ];
4836
4780
  }
4837
- class Ro extends Sn {
4781
+ class _o extends sn {
4838
4782
  constructor(t) {
4839
- super(), En(
4783
+ super(), nn(
4840
4784
  this,
4841
4785
  t,
4842
- Mo,
4843
- No,
4844
- Kt,
4786
+ vo,
4787
+ yo,
4788
+ kt,
4845
4789
  {
4846
4790
  endpoint: 16,
4847
4791
  datasource: 17,
@@ -4853,7 +4797,7 @@ class Ro extends Sn {
4853
4797
  translationurl: 21,
4854
4798
  collectionprovidersgamenames: 2
4855
4799
  },
4856
- Bo,
4800
+ fo,
4857
4801
  [-1, -1]
4858
4802
  );
4859
4803
  }
@@ -4861,58 +4805,58 @@ class Ro extends Sn {
4861
4805
  return this.$$.ctx[16];
4862
4806
  }
4863
4807
  set endpoint(t) {
4864
- this.$$set({ endpoint: t }), $();
4808
+ this.$$set({ endpoint: t }), M();
4865
4809
  }
4866
4810
  get datasource() {
4867
4811
  return this.$$.ctx[17];
4868
4812
  }
4869
4813
  set datasource(t) {
4870
- this.$$set({ datasource: t }), $();
4814
+ this.$$set({ datasource: t }), M();
4871
4815
  }
4872
4816
  get lang() {
4873
4817
  return this.$$.ctx[18];
4874
4818
  }
4875
4819
  set lang(t) {
4876
- this.$$set({ lang: t }), $();
4820
+ this.$$set({ lang: t }), M();
4877
4821
  }
4878
4822
  get type() {
4879
4823
  return this.$$.ctx[0];
4880
4824
  }
4881
4825
  set type(t) {
4882
- this.$$set({ type: t }), $();
4826
+ this.$$set({ type: t }), M();
4883
4827
  }
4884
4828
  get titletype() {
4885
4829
  return this.$$.ctx[1];
4886
4830
  }
4887
4831
  set titletype(t) {
4888
- this.$$set({ titletype: t }), $();
4832
+ this.$$set({ titletype: t }), M();
4889
4833
  }
4890
4834
  get clientstyling() {
4891
4835
  return this.$$.ctx[19];
4892
4836
  }
4893
4837
  set clientstyling(t) {
4894
- this.$$set({ clientstyling: t }), $();
4838
+ this.$$set({ clientstyling: t }), M();
4895
4839
  }
4896
4840
  get clientstylingurl() {
4897
4841
  return this.$$.ctx[20];
4898
4842
  }
4899
4843
  set clientstylingurl(t) {
4900
- this.$$set({ clientstylingurl: t }), $();
4844
+ this.$$set({ clientstylingurl: t }), M();
4901
4845
  }
4902
4846
  get translationurl() {
4903
4847
  return this.$$.ctx[21];
4904
4848
  }
4905
4849
  set translationurl(t) {
4906
- this.$$set({ translationurl: t }), $();
4850
+ this.$$set({ translationurl: t }), M();
4907
4851
  }
4908
4852
  get collectionprovidersgamenames() {
4909
4853
  return this.$$.ctx[2];
4910
4854
  }
4911
4855
  set collectionprovidersgamenames(t) {
4912
- this.$$set({ collectionprovidersgamenames: t }), $();
4856
+ this.$$set({ collectionprovidersgamenames: t }), M();
4913
4857
  }
4914
4858
  }
4915
- xn(Ro, { endpoint: {}, datasource: {}, lang: {}, type: {}, titletype: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, collectionprovidersgamenames: {} }, [], [], !0);
4859
+ on(_o, { endpoint: {}, datasource: {}, lang: {}, type: {}, titletype: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, collectionprovidersgamenames: {} }, [], [], !0);
4916
4860
  export {
4917
- Ro as default
4861
+ _o as C
4918
4862
  };