@everymatrix/casino-categories-providers 1.54.0 → 1.54.4

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 tr = Object.defineProperty, rr = Object.defineProperties;
2
- var nr = Object.getOwnPropertyDescriptors;
3
- var qe = Object.getOwnPropertySymbols;
4
- var ir = Object.prototype.hasOwnProperty, sr = Object.prototype.propertyIsEnumerable;
5
- var Ce = (e, t, r) => t in e ? tr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Je = (e, t) => {
6
- for (var r in t || (t = {}))
7
- ir.call(t, r) && Ce(e, r, t[r]);
8
- if (qe)
9
- for (var r of qe(t))
10
- sr.call(t, r) && Ce(e, r, t[r]);
11
- return e;
12
- }, Ye = (e, t) => rr(e, nr(t));
13
- var I = (e, t, r) => Ce(e, typeof t != "symbol" ? t + "" : t, r);
14
- var Ke = (e, t, r) => new Promise((n, i) => {
15
- var s = (h) => {
16
- try {
17
- u(r.next(h));
18
- } catch (a) {
19
- i(a);
20
- }
21
- }, o = (h) => {
22
- try {
23
- u(r.throw(h));
24
- } catch (a) {
25
- i(a);
26
- }
27
- }, u = (h) => h.done ? n(h.value) : Promise.resolve(h.value).then(s, o);
28
- u((r = r.apply(e, t)).next());
29
- });
30
- function M() {
1
+ function I() {
31
2
  }
32
- function vt(e) {
3
+ function pt(e) {
33
4
  return e();
34
5
  }
35
- function et() {
6
+ function We() {
36
7
  return /* @__PURE__ */ Object.create(null);
37
8
  }
38
- function ae(e) {
39
- e.forEach(vt);
9
+ function oe(e) {
10
+ e.forEach(pt);
40
11
  }
41
- function ke(e) {
12
+ function Fe(e) {
42
13
  return typeof e == "function";
43
14
  }
44
- function Ct(e, t) {
15
+ function dt(e, t) {
45
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
17
  }
47
- let he;
48
- function pe(e, t) {
49
- return e === t ? !0 : (he || (he = document.createElement("a")), he.href = t, e === he.href);
18
+ let ue;
19
+ function me(e, t) {
20
+ return e === t ? !0 : (ue || (ue = document.createElement("a")), ue.href = t, e === ue.href);
50
21
  }
51
- function or(e) {
22
+ function Zt(e) {
52
23
  return Object.keys(e).length === 0;
53
24
  }
54
- function Tt(e, ...t) {
25
+ function bt(e, ...t) {
55
26
  if (e == null) {
56
27
  for (const n of t)
57
28
  n(void 0);
58
- return M;
29
+ return I;
59
30
  }
60
31
  const r = e.subscribe(...t);
61
32
  return r.unsubscribe ? () => r.unsubscribe() : r;
62
33
  }
63
- function ar(e, t, r) {
64
- e.$$.on_destroy.push(Tt(t, r));
34
+ function Qt(e, t, r) {
35
+ e.$$.on_destroy.push(bt(t, r));
65
36
  }
66
37
  function v(e, t) {
67
38
  e.appendChild(t);
68
39
  }
69
- function ur(e, t, r) {
70
- const n = hr(e);
40
+ function qt(e, t, r) {
41
+ const n = Jt(e);
71
42
  if (!n.getElementById(t)) {
72
43
  const i = O("style");
73
- i.id = t, i.textContent = r, lr(n, i);
44
+ i.id = t, i.textContent = r, Yt(n, i);
74
45
  }
75
46
  }
76
- function hr(e) {
47
+ function Jt(e) {
77
48
  if (!e) return document;
78
49
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
79
50
  return t && /** @type {ShadowRoot} */
@@ -82,53 +53,53 @@ function hr(e) {
82
53
  t
83
54
  ) : e.ownerDocument;
84
55
  }
85
- function lr(e, t) {
56
+ function Yt(e, t) {
86
57
  return v(
87
58
  /** @type {Document} */
88
59
  e.head || e,
89
60
  t
90
61
  ), t.sheet;
91
62
  }
92
- function K(e, t, r) {
63
+ function Y(e, t, r) {
93
64
  e.insertBefore(t, r || null);
94
65
  }
95
- function k(e) {
66
+ function j(e) {
96
67
  e.parentNode && e.parentNode.removeChild(e);
97
68
  }
98
- function tt(e, t) {
69
+ function Ze(e, t) {
99
70
  for (let r = 0; r < e.length; r += 1)
100
71
  e[r] && e[r].d(t);
101
72
  }
102
73
  function O(e) {
103
74
  return document.createElement(e);
104
75
  }
105
- function U(e) {
76
+ function R(e) {
106
77
  return document.createTextNode(e);
107
78
  }
108
- function R() {
109
- return U(" ");
79
+ function $() {
80
+ return R(" ");
110
81
  }
111
- function vi() {
112
- return U("");
82
+ function hi() {
83
+ return R("");
113
84
  }
114
- function Ht(e, t, r, n) {
85
+ function yt(e, t, r, n) {
115
86
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
116
87
  }
117
88
  function H(e, t, r) {
118
89
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
119
90
  }
120
- function Ci(e, t, r) {
91
+ function li(e, t, r) {
121
92
  const n = t.toLowerCase();
122
93
  n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : H(e, t, r);
123
94
  }
124
- function fr(e) {
95
+ function Kt(e) {
125
96
  return Array.from(e.childNodes);
126
97
  }
127
- function F(e, t) {
98
+ function D(e, t) {
128
99
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
129
100
  t);
130
101
  }
131
- function cr(e) {
102
+ function er(e) {
132
103
  const t = {};
133
104
  return e.childNodes.forEach(
134
105
  /** @param {Element} node */
@@ -137,241 +108,237 @@ function cr(e) {
137
108
  }
138
109
  ), t;
139
110
  }
140
- let Ve;
141
- function ie(e) {
142
- Ve = e;
111
+ let je;
112
+ function ne(e) {
113
+ je = e;
143
114
  }
144
- const W = [], we = [];
145
- let Z = [];
146
- const rt = [], gr = /* @__PURE__ */ Promise.resolve();
147
- let Ne = !1;
148
- function mr() {
149
- Ne || (Ne = !0, gr.then($));
115
+ const z = [], Oe = [];
116
+ let W = [];
117
+ const Qe = [], tr = /* @__PURE__ */ Promise.resolve();
118
+ let Pe = !1;
119
+ function rr() {
120
+ Pe || (Pe = !0, tr.then(M));
150
121
  }
151
- function Le(e) {
152
- Z.push(e);
122
+ function we(e) {
123
+ W.push(e);
153
124
  }
154
- const Te = /* @__PURE__ */ new Set();
155
- let X = 0;
156
- function $() {
157
- if (X !== 0)
125
+ const ve = /* @__PURE__ */ new Set();
126
+ let V = 0;
127
+ function M() {
128
+ if (V !== 0)
158
129
  return;
159
- const e = Ve;
130
+ const e = je;
160
131
  do {
161
132
  try {
162
- for (; X < W.length; ) {
163
- const t = W[X];
164
- X++, ie(t), pr(t.$$);
133
+ for (; V < z.length; ) {
134
+ const t = z[V];
135
+ V++, ne(t), nr(t.$$);
165
136
  }
166
137
  } catch (t) {
167
- throw W.length = 0, X = 0, t;
138
+ throw z.length = 0, V = 0, t;
168
139
  }
169
- for (ie(null), W.length = 0, X = 0; we.length; ) we.pop()();
170
- for (let t = 0; t < Z.length; t += 1) {
171
- const r = Z[t];
172
- Te.has(r) || (Te.add(r), r());
140
+ for (ne(null), z.length = 0, V = 0; Oe.length; ) Oe.pop()();
141
+ for (let t = 0; t < W.length; t += 1) {
142
+ const r = W[t];
143
+ ve.has(r) || (ve.add(r), r());
173
144
  }
174
- Z.length = 0;
175
- } while (W.length);
176
- for (; rt.length; )
177
- rt.pop()();
178
- Ne = !1, Te.clear(), ie(e);
145
+ W.length = 0;
146
+ } while (z.length);
147
+ for (; Qe.length; )
148
+ Qe.pop()();
149
+ Pe = !1, ve.clear(), ne(e);
179
150
  }
180
- function pr(e) {
151
+ function nr(e) {
181
152
  if (e.fragment !== null) {
182
- e.update(), ae(e.before_update);
153
+ e.update(), oe(e.before_update);
183
154
  const t = e.dirty;
184
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Le);
155
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(we);
185
156
  }
186
157
  }
187
- function dr(e) {
158
+ function ir(e) {
188
159
  const t = [], r = [];
189
- Z.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Z = t;
160
+ W.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), W = t;
190
161
  }
191
- const br = /* @__PURE__ */ new Set();
192
- function yr(e, t) {
193
- e && e.i && (br.delete(e), e.i(t));
162
+ const sr = /* @__PURE__ */ new Set();
163
+ function or(e, t) {
164
+ e && e.i && (sr.delete(e), e.i(t));
194
165
  }
195
- function le(e) {
196
- return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
166
+ function he(e) {
167
+ return e?.length !== void 0 ? e : Array.from(e);
197
168
  }
198
- function _r(e, t, r) {
169
+ function ar(e, t, r) {
199
170
  const { fragment: n, after_update: i } = e.$$;
200
- n && n.m(t, r), Le(() => {
201
- const s = e.$$.on_mount.map(vt).filter(ke);
202
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ae(s), e.$$.on_mount = [];
203
- }), i.forEach(Le);
171
+ n && n.m(t, r), we(() => {
172
+ const s = e.$$.on_mount.map(pt).filter(Fe);
173
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : oe(s), e.$$.on_mount = [];
174
+ }), i.forEach(we);
204
175
  }
205
- function xr(e, t) {
176
+ function ur(e, t) {
206
177
  const r = e.$$;
207
- r.fragment !== null && (dr(r.after_update), ae(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
178
+ r.fragment !== null && (ir(r.after_update), oe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
208
179
  }
209
- function Er(e, t) {
210
- e.$$.dirty[0] === -1 && (W.push(e), mr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
180
+ function hr(e, t) {
181
+ e.$$.dirty[0] === -1 && (z.push(e), rr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
211
182
  }
212
- function vr(e, t, r, n, i, s, o = null, u = [-1]) {
213
- const h = Ve;
214
- ie(e);
183
+ function lr(e, t, r, n, i, s, o = null, u = [-1]) {
184
+ const f = je;
185
+ ne(e);
215
186
  const a = e.$$ = {
216
187
  fragment: null,
217
188
  ctx: [],
218
189
  // state
219
190
  props: s,
220
- update: M,
191
+ update: I,
221
192
  not_equal: i,
222
- bound: et(),
193
+ bound: We(),
223
194
  // lifecycle
224
195
  on_mount: [],
225
196
  on_destroy: [],
226
197
  on_disconnect: [],
227
198
  before_update: [],
228
199
  after_update: [],
229
- context: new Map(t.context || (h ? h.$$.context : [])),
200
+ context: new Map(t.context || (f ? f.$$.context : [])),
230
201
  // everything else
231
- callbacks: et(),
202
+ callbacks: We(),
232
203
  dirty: u,
233
204
  skip_bound: !1,
234
- root: t.target || h.$$.root
205
+ root: t.target || f.$$.root
235
206
  };
236
207
  o && o(a.root);
237
- let l = !1;
238
- if (a.ctx = r ? r(e, t.props || {}, (c, f, ...d) => {
239
- const p = d.length ? d[0] : f;
240
- return a.ctx && i(a.ctx[c], a.ctx[c] = p) && (!a.skip_bound && a.bound[c] && a.bound[c](p), l && Er(e, c)), f;
241
- }) : [], a.update(), l = !0, ae(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
208
+ let h = !1;
209
+ if (a.ctx = r ? r(e, t.props || {}, (c, l, ...d) => {
210
+ const p = d.length ? d[0] : l;
211
+ return a.ctx && i(a.ctx[c], a.ctx[c] = p) && (!a.skip_bound && a.bound[c] && a.bound[c](p), h && hr(e, c)), l;
212
+ }) : [], a.update(), h = !0, oe(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
242
213
  if (t.hydrate) {
243
- const c = fr(t.target);
244
- a.fragment && a.fragment.l(c), c.forEach(k);
214
+ const c = Kt(t.target);
215
+ a.fragment && a.fragment.l(c), c.forEach(j);
245
216
  } else
246
217
  a.fragment && a.fragment.c();
247
- t.intro && yr(e.$$.fragment), _r(e, t.target, t.anchor), $();
218
+ t.intro && or(e.$$.fragment), ar(e, t.target, t.anchor), M();
248
219
  }
249
- ie(h);
250
- }
251
- let At;
252
- typeof HTMLElement == "function" && (At = class extends HTMLElement {
253
- constructor(t, r, n) {
254
- super();
255
- /** The Svelte component constructor */
256
- I(this, "$$ctor");
257
- /** Slots */
258
- I(this, "$$s");
259
- /** The Svelte component instance */
260
- I(this, "$$c");
261
- /** Whether or not the custom element is connected */
262
- I(this, "$$cn", !1);
263
- /** Component props data */
264
- I(this, "$$d", {});
265
- /** `true` if currently in the process of reflecting component props back to attributes */
266
- I(this, "$$r", !1);
267
- /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
268
- I(this, "$$p_d", {});
269
- /** @type {Record<string, Function[]>} Event listeners */
270
- I(this, "$$l", {});
271
- /** @type {Map<Function, Function>} Event listener unsubscribe functions */
272
- I(this, "$$l_u", /* @__PURE__ */ new Map());
273
- this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
220
+ ne(f);
221
+ }
222
+ let _t;
223
+ typeof HTMLElement == "function" && (_t = class extends HTMLElement {
224
+ /** The Svelte component constructor */
225
+ $$ctor;
226
+ /** Slots */
227
+ $$s;
228
+ /** The Svelte component instance */
229
+ $$c;
230
+ /** Whether or not the custom element is connected */
231
+ $$cn = !1;
232
+ /** Component props data */
233
+ $$d = {};
234
+ /** `true` if currently in the process of reflecting component props back to attributes */
235
+ $$r = !1;
236
+ /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
237
+ $$p_d = {};
238
+ /** @type {Record<string, Function[]>} Event listeners */
239
+ $$l = {};
240
+ /** @type {Map<Function, Function>} Event listener unsubscribe functions */
241
+ $$l_u = /* @__PURE__ */ new Map();
242
+ constructor(e, t, r) {
243
+ super(), this.$$ctor = e, this.$$s = t, r && this.attachShadow({ mode: "open" });
274
244
  }
275
- addEventListener(t, r, n) {
276
- if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(r), this.$$c) {
277
- const i = this.$$c.$on(t, r);
278
- this.$$l_u.set(r, i);
245
+ addEventListener(e, t, r) {
246
+ if (this.$$l[e] = this.$$l[e] || [], this.$$l[e].push(t), this.$$c) {
247
+ const n = this.$$c.$on(e, t);
248
+ this.$$l_u.set(t, n);
279
249
  }
280
- super.addEventListener(t, r, n);
250
+ super.addEventListener(e, t, r);
281
251
  }
282
- removeEventListener(t, r, n) {
283
- if (super.removeEventListener(t, r, n), this.$$c) {
284
- const i = this.$$l_u.get(r);
285
- i && (i(), this.$$l_u.delete(r));
252
+ removeEventListener(e, t, r) {
253
+ if (super.removeEventListener(e, t, r), this.$$c) {
254
+ const n = this.$$l_u.get(t);
255
+ n && (n(), this.$$l_u.delete(t));
286
256
  }
287
257
  }
288
- connectedCallback() {
289
- return Ke(this, null, function* () {
290
- if (this.$$cn = !0, !this.$$c) {
291
- let t = function(s) {
292
- return () => {
293
- let o;
294
- return {
295
- c: function() {
296
- o = O("slot"), s !== "default" && H(o, "name", s);
297
- },
298
- /**
299
- * @param {HTMLElement} target
300
- * @param {HTMLElement} [anchor]
301
- */
302
- m: function(a, l) {
303
- K(a, o, l);
304
- },
305
- d: function(a) {
306
- a && k(o);
307
- }
308
- };
258
+ async connectedCallback() {
259
+ if (this.$$cn = !0, !this.$$c) {
260
+ let e = function(i) {
261
+ return () => {
262
+ let s;
263
+ return {
264
+ c: function() {
265
+ s = O("slot"), i !== "default" && H(s, "name", i);
266
+ },
267
+ /**
268
+ * @param {HTMLElement} target
269
+ * @param {HTMLElement} [anchor]
270
+ */
271
+ m: function(f, a) {
272
+ Y(f, s, a);
273
+ },
274
+ d: function(f) {
275
+ f && j(s);
276
+ }
309
277
  };
310
278
  };
311
- if (yield Promise.resolve(), !this.$$cn || this.$$c)
312
- return;
313
- const r = {}, n = cr(this);
314
- for (const s of this.$$s)
315
- s in n && (r[s] = [t(s)]);
316
- for (const s of this.attributes) {
317
- const o = this.$$g_p(s.name);
318
- o in this.$$d || (this.$$d[o] = ce(o, s.value, this.$$p_d, "toProp"));
279
+ };
280
+ if (await Promise.resolve(), !this.$$cn || this.$$c)
281
+ return;
282
+ const t = {}, r = er(this);
283
+ for (const i of this.$$s)
284
+ i in r && (t[i] = [e(i)]);
285
+ for (const i of this.attributes) {
286
+ const s = this.$$g_p(i.name);
287
+ s in this.$$d || (this.$$d[s] = fe(s, i.value, this.$$p_d, "toProp"));
288
+ }
289
+ for (const i in this.$$p_d)
290
+ !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
291
+ this.$$c = new this.$$ctor({
292
+ target: this.shadowRoot || this,
293
+ props: {
294
+ ...this.$$d,
295
+ $$slots: t,
296
+ $$scope: {
297
+ ctx: []
298
+ }
319
299
  }
320
- for (const s in this.$$p_d)
321
- !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
322
- this.$$c = new this.$$ctor({
323
- target: this.shadowRoot || this,
324
- props: Ye(Je({}, this.$$d), {
325
- $$slots: r,
326
- $$scope: {
327
- ctx: []
328
- }
329
- })
330
- });
331
- const i = () => {
332
- this.$$r = !0;
333
- for (const s in this.$$p_d)
334
- if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
335
- const o = ce(
336
- s,
337
- this.$$d[s],
338
- this.$$p_d,
339
- "toAttribute"
340
- );
341
- o == null ? this.removeAttribute(this.$$p_d[s].attribute || s) : this.setAttribute(this.$$p_d[s].attribute || s, o);
342
- }
343
- this.$$r = !1;
344
- };
345
- this.$$c.$$.after_update.push(i), i();
346
- for (const s in this.$$l)
347
- for (const o of this.$$l[s]) {
348
- const u = this.$$c.$on(s, o);
349
- this.$$l_u.set(o, u);
300
+ });
301
+ const n = () => {
302
+ this.$$r = !0;
303
+ for (const i in this.$$p_d)
304
+ if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
305
+ const s = fe(
306
+ i,
307
+ this.$$d[i],
308
+ this.$$p_d,
309
+ "toAttribute"
310
+ );
311
+ s == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, s);
350
312
  }
351
- this.$$l = {};
352
- }
353
- });
313
+ this.$$r = !1;
314
+ };
315
+ this.$$c.$$.after_update.push(n), n();
316
+ for (const i in this.$$l)
317
+ for (const s of this.$$l[i]) {
318
+ const o = this.$$c.$on(i, s);
319
+ this.$$l_u.set(s, o);
320
+ }
321
+ this.$$l = {};
322
+ }
354
323
  }
355
324
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
356
325
  // and setting attributes through setAttribute etc, this is helpful
357
- attributeChangedCallback(t, r, n) {
358
- var i;
359
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = ce(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
326
+ attributeChangedCallback(e, t, r) {
327
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = fe(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
360
328
  }
361
329
  disconnectedCallback() {
362
330
  this.$$cn = !1, Promise.resolve().then(() => {
363
331
  !this.$$cn && this.$$c && (this.$$c.$destroy(), this.$$c = void 0);
364
332
  });
365
333
  }
366
- $$g_p(t) {
334
+ $$g_p(e) {
367
335
  return Object.keys(this.$$p_d).find(
368
- (r) => this.$$p_d[r].attribute === t || !this.$$p_d[r].attribute && r.toLowerCase() === t
369
- ) || t;
336
+ (t) => this.$$p_d[t].attribute === e || !this.$$p_d[t].attribute && t.toLowerCase() === e
337
+ ) || e;
370
338
  }
371
339
  });
372
- function ce(e, t, r, n) {
373
- var s;
374
- const i = (s = r[e]) == null ? void 0 : s.type;
340
+ function fe(e, t, r, n) {
341
+ const i = r[e]?.type;
375
342
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
376
343
  return t;
377
344
  if (n === "toAttribute")
@@ -382,7 +349,7 @@ function ce(e, t, r, n) {
382
349
  case "Boolean":
383
350
  return t ? "" : null;
384
351
  case "Number":
385
- return t == null ? null : t;
352
+ return t ?? null;
386
353
  default:
387
354
  return t;
388
355
  }
@@ -399,8 +366,8 @@ function ce(e, t, r, n) {
399
366
  return t;
400
367
  }
401
368
  }
402
- function Cr(e, t, r, n, i, s) {
403
- let o = class extends At {
369
+ function fr(e, t, r, n, i, s) {
370
+ let o = class extends _t {
404
371
  constructor() {
405
372
  super(e, r, i), this.$$p_d = t;
406
373
  }
@@ -415,43 +382,39 @@ function Cr(e, t, r, n, i, s) {
415
382
  get() {
416
383
  return this.$$c && u in this.$$c ? this.$$c[u] : this.$$d[u];
417
384
  },
418
- set(h) {
419
- var a;
420
- h = ce(u, h, t), this.$$d[u] = h, (a = this.$$c) == null || a.$set({ [u]: h });
385
+ set(f) {
386
+ f = fe(u, f, t), this.$$d[u] = f, this.$$c?.$set({ [u]: f });
421
387
  }
422
388
  });
423
389
  }), n.forEach((u) => {
424
390
  Object.defineProperty(o.prototype, u, {
425
391
  get() {
426
- var h;
427
- return (h = this.$$c) == null ? void 0 : h[u];
392
+ return this.$$c?.[u];
428
393
  }
429
394
  });
430
395
  }), e.element = /** @type {any} */
431
396
  o, o;
432
397
  }
433
- class Tr {
434
- constructor() {
435
- /**
436
- * ### PRIVATE API
437
- *
438
- * Do not use, may change at any time
439
- *
440
- * @type {any}
441
- */
442
- I(this, "$$");
443
- /**
444
- * ### PRIVATE API
445
- *
446
- * Do not use, may change at any time
447
- *
448
- * @type {any}
449
- */
450
- I(this, "$$set");
451
- }
398
+ class cr {
399
+ /**
400
+ * ### PRIVATE API
401
+ *
402
+ * Do not use, may change at any time
403
+ *
404
+ * @type {any}
405
+ */
406
+ $$ = void 0;
407
+ /**
408
+ * ### PRIVATE API
409
+ *
410
+ * Do not use, may change at any time
411
+ *
412
+ * @type {any}
413
+ */
414
+ $$set = void 0;
452
415
  /** @returns {void} */
453
416
  $destroy() {
454
- xr(this, 1), this.$destroy = M;
417
+ ur(this, 1), this.$destroy = I;
455
418
  }
456
419
  /**
457
420
  * @template {Extract<keyof Events, string>} K
@@ -460,8 +423,8 @@ class Tr {
460
423
  * @returns {() => void}
461
424
  */
462
425
  $on(t, r) {
463
- if (!ke(r))
464
- return M;
426
+ if (!Fe(r))
427
+ return I;
465
428
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
466
429
  return n.push(r), () => {
467
430
  const i = n.indexOf(r);
@@ -473,159 +436,159 @@ class Tr {
473
436
  * @returns {void}
474
437
  */
475
438
  $set(t) {
476
- this.$$set && !or(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
439
+ this.$$set && !Zt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
477
440
  }
478
441
  }
479
- const Hr = "4";
480
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Hr);
481
- const z = [];
482
- function Ar(e, t) {
442
+ const gr = "4";
443
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(gr);
444
+ const X = [];
445
+ function mr(e, t) {
483
446
  return {
484
- subscribe: ye(e, t).subscribe
447
+ subscribe: be(e, t).subscribe
485
448
  };
486
449
  }
487
- function ye(e, t = M) {
450
+ function be(e, t = I) {
488
451
  let r;
489
452
  const n = /* @__PURE__ */ new Set();
490
453
  function i(u) {
491
- if (Ct(e, u) && (e = u, r)) {
492
- const h = !z.length;
454
+ if (dt(e, u) && (e = u, r)) {
455
+ const f = !X.length;
493
456
  for (const a of n)
494
- a[1](), z.push(a, e);
495
- if (h) {
496
- for (let a = 0; a < z.length; a += 2)
497
- z[a][0](z[a + 1]);
498
- z.length = 0;
457
+ a[1](), X.push(a, e);
458
+ if (f) {
459
+ for (let a = 0; a < X.length; a += 2)
460
+ X[a][0](X[a + 1]);
461
+ X.length = 0;
499
462
  }
500
463
  }
501
464
  }
502
465
  function s(u) {
503
466
  i(u(e));
504
467
  }
505
- function o(u, h = M) {
506
- const a = [u, h];
507
- return n.add(a), n.size === 1 && (r = t(i, s) || M), u(e), () => {
468
+ function o(u, f = I) {
469
+ const a = [u, f];
470
+ return n.add(a), n.size === 1 && (r = t(i, s) || I), u(e), () => {
508
471
  n.delete(a), n.size === 0 && r && (r(), r = null);
509
472
  };
510
473
  }
511
474
  return { set: i, update: s, subscribe: o };
512
475
  }
513
- function ee(e, t, r) {
476
+ function K(e, t, r) {
514
477
  const n = !Array.isArray(e), i = n ? [e] : e;
515
478
  if (!i.every(Boolean))
516
479
  throw new Error("derived() expects stores as input, got a falsy value");
517
480
  const s = t.length < 2;
518
- return Ar(r, (o, u) => {
519
- let h = !1;
481
+ return mr(r, (o, u) => {
482
+ let f = !1;
520
483
  const a = [];
521
- let l = 0, c = M;
522
- const f = () => {
523
- if (l)
484
+ let h = 0, c = I;
485
+ const l = () => {
486
+ if (h)
524
487
  return;
525
488
  c();
526
489
  const p = t(n ? a[0] : a, o, u);
527
- s ? o(p) : c = ke(p) ? p : M;
490
+ s ? o(p) : c = Fe(p) ? p : I;
528
491
  }, d = i.map(
529
- (p, g) => Tt(
492
+ (p, g) => bt(
530
493
  p,
531
494
  (E) => {
532
- a[g] = E, l &= ~(1 << g), h && f();
495
+ a[g] = E, h &= ~(1 << g), f && l();
533
496
  },
534
497
  () => {
535
- l |= 1 << g;
498
+ h |= 1 << g;
536
499
  }
537
500
  )
538
501
  );
539
- return h = !0, f(), function() {
540
- ae(d), c(), h = !1;
502
+ return f = !0, l(), function() {
503
+ oe(d), c(), f = !1;
541
504
  };
542
505
  });
543
506
  }
544
- function Sr(e) {
507
+ function pr(e) {
545
508
  return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
546
509
  }
547
- var Br = function(t) {
548
- return Or(t) && !Pr(t);
510
+ var dr = function(t) {
511
+ return br(t) && !yr(t);
549
512
  };
550
- function Or(e) {
513
+ function br(e) {
551
514
  return !!e && typeof e == "object";
552
515
  }
553
- function Pr(e) {
516
+ function yr(e) {
554
517
  var t = Object.prototype.toString.call(e);
555
- return t === "[object RegExp]" || t === "[object Date]" || Lr(e);
518
+ return t === "[object RegExp]" || t === "[object Date]" || Er(e);
556
519
  }
557
- var wr = typeof Symbol == "function" && Symbol.for, Nr = wr ? Symbol.for("react.element") : 60103;
558
- function Lr(e) {
559
- return e.$$typeof === Nr;
520
+ var _r = typeof Symbol == "function" && Symbol.for, xr = _r ? Symbol.for("react.element") : 60103;
521
+ function Er(e) {
522
+ return e.$$typeof === xr;
560
523
  }
561
- function Ir(e) {
524
+ function vr(e) {
562
525
  return Array.isArray(e) ? [] : {};
563
526
  }
564
- function se(e, t) {
565
- return t.clone !== !1 && t.isMergeableObject(e) ? Q(Ir(e), e, t) : e;
527
+ function ie(e, t) {
528
+ return t.clone !== !1 && t.isMergeableObject(e) ? Z(vr(e), e, t) : e;
566
529
  }
567
- function Mr(e, t, r) {
530
+ function Cr(e, t, r) {
568
531
  return e.concat(t).map(function(n) {
569
- return se(n, r);
532
+ return ie(n, r);
570
533
  });
571
534
  }
572
- function $r(e, t) {
535
+ function Tr(e, t) {
573
536
  if (!t.customMerge)
574
- return Q;
537
+ return Z;
575
538
  var r = t.customMerge(e);
576
- return typeof r == "function" ? r : Q;
539
+ return typeof r == "function" ? r : Z;
577
540
  }
578
- function Rr(e) {
541
+ function Hr(e) {
579
542
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
580
543
  return Object.propertyIsEnumerable.call(e, t);
581
544
  }) : [];
582
545
  }
583
- function nt(e) {
584
- return Object.keys(e).concat(Rr(e));
546
+ function qe(e) {
547
+ return Object.keys(e).concat(Hr(e));
585
548
  }
586
- function St(e, t) {
549
+ function xt(e, t) {
587
550
  try {
588
551
  return t in e;
589
- } catch (r) {
552
+ } catch {
590
553
  return !1;
591
554
  }
592
555
  }
593
- function Ur(e, t) {
594
- return St(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
556
+ function Ar(e, t) {
557
+ return xt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
595
558
  }
596
- function Gr(e, t, r) {
559
+ function Sr(e, t, r) {
597
560
  var n = {};
598
- return r.isMergeableObject(e) && nt(e).forEach(function(i) {
599
- n[i] = se(e[i], r);
600
- }), nt(t).forEach(function(i) {
601
- Ur(e, i) || (St(e, i) && r.isMergeableObject(t[i]) ? n[i] = $r(i, r)(e[i], t[i], r) : n[i] = se(t[i], r));
561
+ return r.isMergeableObject(e) && qe(e).forEach(function(i) {
562
+ n[i] = ie(e[i], r);
563
+ }), qe(t).forEach(function(i) {
564
+ Ar(e, i) || (xt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Tr(i, r)(e[i], t[i], r) : n[i] = ie(t[i], r));
602
565
  }), n;
603
566
  }
604
- function Q(e, t, r) {
605
- r = r || {}, r.arrayMerge = r.arrayMerge || Mr, r.isMergeableObject = r.isMergeableObject || Br, r.cloneUnlessOtherwiseSpecified = se;
567
+ function Z(e, t, r) {
568
+ r = r || {}, r.arrayMerge = r.arrayMerge || Cr, r.isMergeableObject = r.isMergeableObject || dr, r.cloneUnlessOtherwiseSpecified = ie;
606
569
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
607
- return s ? n ? r.arrayMerge(e, t, r) : Gr(e, t, r) : se(t, r);
570
+ return s ? n ? r.arrayMerge(e, t, r) : Sr(e, t, r) : ie(t, r);
608
571
  }
609
- Q.all = function(t, r) {
572
+ Z.all = function(t, r) {
610
573
  if (!Array.isArray(t))
611
574
  throw new Error("first argument should be an array");
612
575
  return t.reduce(function(n, i) {
613
- return Q(n, i, r);
576
+ return Z(n, i, r);
614
577
  }, {});
615
578
  };
616
- var Dr = Q, Fr = Dr;
617
- const jr = /* @__PURE__ */ Sr(Fr);
618
- var Ie = function(e, t) {
619
- return Ie = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
579
+ var Br = Z, Or = Br;
580
+ const Pr = /* @__PURE__ */ pr(Or);
581
+ var Ne = function(e, t) {
582
+ return Ne = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
620
583
  r.__proto__ = n;
621
584
  } || function(r, n) {
622
585
  for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
623
- }, Ie(e, t);
586
+ }, Ne(e, t);
624
587
  };
625
- function _e(e, t) {
588
+ function ye(e, t) {
626
589
  if (typeof t != "function" && t !== null)
627
590
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
628
- Ie(e, t);
591
+ Ne(e, t);
629
592
  function r() {
630
593
  this.constructor = e;
631
594
  }
@@ -640,7 +603,7 @@ var x = function() {
640
603
  return t;
641
604
  }, x.apply(this, arguments);
642
605
  };
643
- function kr(e, t) {
606
+ function wr(e, t) {
644
607
  var r = {};
645
608
  for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
646
609
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -648,45 +611,45 @@ function kr(e, t) {
648
611
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
649
612
  return r;
650
613
  }
651
- function He(e, t, r) {
614
+ function Ce(e, t, r) {
652
615
  if (r || arguments.length === 2) for (var n = 0, i = t.length, s; n < i; n++)
653
616
  (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
654
617
  return e.concat(s || Array.prototype.slice.call(t));
655
618
  }
656
- function Ae(e, t) {
657
- var r = t && t.cache ? t.cache : qr, n = t && t.serializer ? t.serializer : Zr, i = t && t.strategy ? t.strategy : Xr;
619
+ function Te(e, t) {
620
+ var r = t && t.cache ? t.cache : Ur, n = t && t.serializer ? t.serializer : $r, i = t && t.strategy ? t.strategy : Lr;
658
621
  return i(e, {
659
622
  cache: r,
660
623
  serializer: n
661
624
  });
662
625
  }
663
- function Vr(e) {
626
+ function Nr(e) {
664
627
  return e == null || typeof e == "number" || typeof e == "boolean";
665
628
  }
666
- function Bt(e, t, r, n) {
667
- var i = Vr(n) ? n : r(n), s = t.get(i);
668
- return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
629
+ function Et(e, t, r, n) {
630
+ var i = Nr(n) ? n : r(n), s = t.get(i);
631
+ return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
669
632
  }
670
- function Ot(e, t, r) {
633
+ function vt(e, t, r) {
671
634
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
672
- return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
635
+ return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
673
636
  }
674
- function Xe(e, t, r, n, i) {
637
+ function ke(e, t, r, n, i) {
675
638
  return r.bind(t, e, n, i);
676
639
  }
677
- function Xr(e, t) {
678
- var r = e.length === 1 ? Bt : Ot;
679
- return Xe(e, this, r, t.cache.create(), t.serializer);
640
+ function Lr(e, t) {
641
+ var r = e.length === 1 ? Et : vt;
642
+ return ke(e, this, r, t.cache.create(), t.serializer);
680
643
  }
681
- function zr(e, t) {
682
- return Xe(e, this, Ot, t.cache.create(), t.serializer);
644
+ function Ir(e, t) {
645
+ return ke(e, this, vt, t.cache.create(), t.serializer);
683
646
  }
684
- function Wr(e, t) {
685
- return Xe(e, this, Bt, t.cache.create(), t.serializer);
647
+ function Mr(e, t) {
648
+ return ke(e, this, Et, t.cache.create(), t.serializer);
686
649
  }
687
- var Zr = function() {
650
+ var $r = function() {
688
651
  return JSON.stringify(arguments);
689
- }, Qr = (
652
+ }, Rr = (
690
653
  /** @class */
691
654
  function() {
692
655
  function e() {
@@ -698,13 +661,13 @@ var Zr = function() {
698
661
  this.cache[t] = r;
699
662
  }, e;
700
663
  }()
701
- ), qr = {
664
+ ), Ur = {
702
665
  create: function() {
703
- return new Qr();
666
+ return new Rr();
704
667
  }
705
- }, Se = {
706
- variadic: zr,
707
- monadic: Wr
668
+ }, He = {
669
+ variadic: Ir,
670
+ monadic: Mr
708
671
  }, y;
709
672
  (function(e) {
710
673
  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";
@@ -713,47 +676,47 @@ var C;
713
676
  (function(e) {
714
677
  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";
715
678
  })(C || (C = {}));
716
- var q;
679
+ var Q;
717
680
  (function(e) {
718
681
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
719
- })(q || (q = {}));
720
- function it(e) {
682
+ })(Q || (Q = {}));
683
+ function Je(e) {
721
684
  return e.type === C.literal;
722
685
  }
723
- function Jr(e) {
686
+ function Gr(e) {
724
687
  return e.type === C.argument;
725
688
  }
726
- function Pt(e) {
689
+ function Ct(e) {
727
690
  return e.type === C.number;
728
691
  }
729
- function wt(e) {
692
+ function Tt(e) {
730
693
  return e.type === C.date;
731
694
  }
732
- function Nt(e) {
695
+ function Ht(e) {
733
696
  return e.type === C.time;
734
697
  }
735
- function Lt(e) {
698
+ function At(e) {
736
699
  return e.type === C.select;
737
700
  }
738
- function It(e) {
701
+ function St(e) {
739
702
  return e.type === C.plural;
740
703
  }
741
- function Yr(e) {
704
+ function Dr(e) {
742
705
  return e.type === C.pound;
743
706
  }
744
- function Mt(e) {
707
+ function Bt(e) {
745
708
  return e.type === C.tag;
746
709
  }
747
- function $t(e) {
748
- return !!(e && typeof e == "object" && e.type === q.number);
710
+ function Ot(e) {
711
+ return !!(e && typeof e == "object" && e.type === Q.number);
749
712
  }
750
- function Me(e) {
751
- return !!(e && typeof e == "object" && e.type === q.dateTime);
713
+ function Le(e) {
714
+ return !!(e && typeof e == "object" && e.type === Q.dateTime);
752
715
  }
753
- var Rt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Kr = /(?:[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;
754
- function en(e) {
716
+ var Pt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Fr = /(?:[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;
717
+ function jr(e) {
755
718
  var t = {};
756
- return e.replace(Kr, function(r) {
719
+ return e.replace(Fr, function(r) {
757
720
  var n = r.length;
758
721
  switch (r[0]) {
759
722
  case "G":
@@ -842,36 +805,36 @@ function en(e) {
842
805
  return "";
843
806
  }), t;
844
807
  }
845
- var tn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
846
- function rn(e) {
808
+ var kr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
809
+ function Vr(e) {
847
810
  if (e.length === 0)
848
811
  throw new Error("Number skeleton cannot be empty");
849
- for (var t = e.split(tn).filter(function(f) {
850
- return f.length > 0;
812
+ for (var t = e.split(kr).filter(function(l) {
813
+ return l.length > 0;
851
814
  }), r = [], n = 0, i = t; n < i.length; n++) {
852
815
  var s = i[n], o = s.split("/");
853
816
  if (o.length === 0)
854
817
  throw new Error("Invalid number skeleton");
855
- for (var u = o[0], h = o.slice(1), a = 0, l = h; a < l.length; a++) {
856
- var c = l[a];
818
+ for (var u = o[0], f = o.slice(1), a = 0, h = f; a < h.length; a++) {
819
+ var c = h[a];
857
820
  if (c.length === 0)
858
821
  throw new Error("Invalid number skeleton");
859
822
  }
860
- r.push({ stem: u, options: h });
823
+ r.push({ stem: u, options: f });
861
824
  }
862
825
  return r;
863
826
  }
864
- function nn(e) {
827
+ function Xr(e) {
865
828
  return e.replace(/^(.*?)-/, "");
866
829
  }
867
- var st = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Ut = /^(@+)?(\+|#+)?[rs]?$/g, sn = /(\*)(0+)|(#+)(0+)|(0+)/g, Gt = /^(0+)$/;
868
- function ot(e) {
830
+ var Ye = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, wt = /^(@+)?(\+|#+)?[rs]?$/g, zr = /(\*)(0+)|(#+)(0+)|(0+)/g, Nt = /^(0+)$/;
831
+ function Ke(e) {
869
832
  var t = {};
870
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Ut, function(r, n, i) {
833
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(wt, function(r, n, i) {
871
834
  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)), "";
872
835
  }), t;
873
836
  }
874
- function Dt(e) {
837
+ function Lt(e) {
875
838
  switch (e) {
876
839
  case "sign-auto":
877
840
  return {
@@ -911,7 +874,7 @@ function Dt(e) {
911
874
  };
912
875
  }
913
876
  }
914
- function on(e) {
877
+ function Wr(e) {
915
878
  var t;
916
879
  if (e[0] === "E" && e[1] === "E" ? (t = {
917
880
  notation: "engineering"
@@ -919,17 +882,17 @@ function on(e) {
919
882
  notation: "scientific"
920
883
  }, e = e.slice(1)), t) {
921
884
  var r = e.slice(0, 2);
922
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Gt.test(e))
885
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Nt.test(e))
923
886
  throw new Error("Malformed concise eng/scientific notation");
924
887
  t.minimumIntegerDigits = e.length;
925
888
  }
926
889
  return t;
927
890
  }
928
- function at(e) {
929
- var t = {}, r = Dt(e);
891
+ function et(e) {
892
+ var t = {}, r = Lt(e);
930
893
  return r || t;
931
894
  }
932
- function an(e) {
895
+ function Zr(e) {
933
896
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
934
897
  var i = n[r];
935
898
  switch (i.stem) {
@@ -953,7 +916,7 @@ function an(e) {
953
916
  continue;
954
917
  case "measure-unit":
955
918
  case "unit":
956
- t.style = "unit", t.unit = nn(i.options[0]);
919
+ t.style = "unit", t.unit = Xr(i.options[0]);
957
920
  continue;
958
921
  case "compact-short":
959
922
  case "K":
@@ -964,13 +927,13 @@ function an(e) {
964
927
  t.notation = "compact", t.compactDisplay = "long";
965
928
  continue;
966
929
  case "scientific":
967
- t = x(x(x({}, t), { notation: "scientific" }), i.options.reduce(function(h, a) {
968
- return x(x({}, h), at(a));
930
+ t = x(x(x({}, t), { notation: "scientific" }), i.options.reduce(function(f, a) {
931
+ return x(x({}, f), et(a));
969
932
  }, {}));
970
933
  continue;
971
934
  case "engineering":
972
- t = x(x(x({}, t), { notation: "engineering" }), i.options.reduce(function(h, a) {
973
- return x(x({}, h), at(a));
935
+ t = x(x(x({}, t), { notation: "engineering" }), i.options.reduce(function(f, a) {
936
+ return x(x({}, f), et(a));
974
937
  }, {}));
975
938
  continue;
976
939
  case "notation-simple":
@@ -1015,11 +978,11 @@ function an(e) {
1015
978
  case "integer-width":
1016
979
  if (i.options.length > 1)
1017
980
  throw new RangeError("integer-width stems only accept a single optional option");
1018
- i.options[0].replace(sn, function(h, a, l, c, f, d) {
981
+ i.options[0].replace(zr, function(f, a, h, c, l, d) {
1019
982
  if (a)
1020
- t.minimumIntegerDigits = l.length;
983
+ t.minimumIntegerDigits = h.length;
1021
984
  else {
1022
- if (c && f)
985
+ if (c && l)
1023
986
  throw new Error("We currently do not support maximum integer digits");
1024
987
  if (d)
1025
988
  throw new Error("We currently do not support exact integer digits");
@@ -1028,32 +991,32 @@ function an(e) {
1028
991
  });
1029
992
  continue;
1030
993
  }
1031
- if (Gt.test(i.stem)) {
994
+ if (Nt.test(i.stem)) {
1032
995
  t.minimumIntegerDigits = i.stem.length;
1033
996
  continue;
1034
997
  }
1035
- if (st.test(i.stem)) {
998
+ if (Ye.test(i.stem)) {
1036
999
  if (i.options.length > 1)
1037
1000
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1038
- i.stem.replace(st, function(h, a, l, c, f, d) {
1039
- return l === "*" ? t.minimumFractionDigits = a.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && d ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + d.length) : (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length), "";
1001
+ i.stem.replace(Ye, function(f, a, h, c, l, d) {
1002
+ return h === "*" ? t.minimumFractionDigits = a.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : l && d ? (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length + d.length) : (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length), "";
1040
1003
  });
1041
1004
  var s = i.options[0];
1042
- s === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = x(x({}, t), ot(s)));
1005
+ s === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = x(x({}, t), Ke(s)));
1043
1006
  continue;
1044
1007
  }
1045
- if (Ut.test(i.stem)) {
1046
- t = x(x({}, t), ot(i.stem));
1008
+ if (wt.test(i.stem)) {
1009
+ t = x(x({}, t), Ke(i.stem));
1047
1010
  continue;
1048
1011
  }
1049
- var o = Dt(i.stem);
1012
+ var o = Lt(i.stem);
1050
1013
  o && (t = x(x({}, t), o));
1051
- var u = on(i.stem);
1014
+ var u = Wr(i.stem);
1052
1015
  u && (t = x(x({}, t), u));
1053
1016
  }
1054
1017
  return t;
1055
1018
  }
1056
- var fe = {
1019
+ var le = {
1057
1020
  "001": [
1058
1021
  "H",
1059
1022
  "h"
@@ -2468,22 +2431,22 @@ var fe = {
2468
2431
  "h"
2469
2432
  ]
2470
2433
  };
2471
- function un(e, t) {
2434
+ function Qr(e, t) {
2472
2435
  for (var r = "", n = 0; n < e.length; n++) {
2473
2436
  var i = e.charAt(n);
2474
2437
  if (i === "j") {
2475
2438
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2476
2439
  s++, n++;
2477
- var o = 1 + (s & 1), u = s < 2 ? 1 : 3 + (s >> 1), h = "a", a = hn(t);
2440
+ var o = 1 + (s & 1), u = s < 2 ? 1 : 3 + (s >> 1), f = "a", a = qr(t);
2478
2441
  for ((a == "H" || a == "k") && (u = 0); u-- > 0; )
2479
- r += h;
2442
+ r += f;
2480
2443
  for (; o-- > 0; )
2481
2444
  r = a + r;
2482
2445
  } else i === "J" ? r += "H" : r += i;
2483
2446
  }
2484
2447
  return r;
2485
2448
  }
2486
- function hn(e) {
2449
+ function qr(e) {
2487
2450
  var t = e.hourCycle;
2488
2451
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2489
2452
  e.hourCycles && // @ts-ignore
@@ -2502,23 +2465,23 @@ function hn(e) {
2502
2465
  }
2503
2466
  var r = e.language, n;
2504
2467
  r !== "root" && (n = e.maximize().region);
2505
- var i = fe[n || ""] || fe[r || ""] || fe["".concat(r, "-001")] || fe["001"];
2468
+ var i = le[n || ""] || le[r || ""] || le["".concat(r, "-001")] || le["001"];
2506
2469
  return i[0];
2507
2470
  }
2508
- var Be, ln = new RegExp("^".concat(Rt.source, "*")), fn = new RegExp("".concat(Rt.source, "*$"));
2471
+ var Ae, Jr = new RegExp("^".concat(Pt.source, "*")), Yr = new RegExp("".concat(Pt.source, "*$"));
2509
2472
  function _(e, t) {
2510
2473
  return { start: e, end: t };
2511
2474
  }
2512
- var cn = !!String.prototype.startsWith && "_a".startsWith("a", 1), gn = !!String.fromCodePoint, mn = !!Object.fromEntries, pn = !!String.prototype.codePointAt, dn = !!String.prototype.trimStart, bn = !!String.prototype.trimEnd, yn = !!Number.isSafeInteger, _n = yn ? Number.isSafeInteger : function(e) {
2475
+ var Kr = !!String.prototype.startsWith && "_a".startsWith("a", 1), en = !!String.fromCodePoint, tn = !!Object.fromEntries, rn = !!String.prototype.codePointAt, nn = !!String.prototype.trimStart, sn = !!String.prototype.trimEnd, on = !!Number.isSafeInteger, an = on ? Number.isSafeInteger : function(e) {
2513
2476
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2514
- }, $e = !0;
2477
+ }, Ie = !0;
2515
2478
  try {
2516
- var xn = jt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2517
- $e = ((Be = xn.exec("a")) === null || Be === void 0 ? void 0 : Be[0]) === "a";
2518
- } catch (e) {
2519
- $e = !1;
2479
+ var un = Mt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2480
+ Ie = ((Ae = un.exec("a")) === null || Ae === void 0 ? void 0 : Ae[0]) === "a";
2481
+ } catch {
2482
+ Ie = !1;
2520
2483
  }
2521
- var ut = cn ? (
2484
+ var tt = Kr ? (
2522
2485
  // Native
2523
2486
  function(t, r, n) {
2524
2487
  return t.startsWith(r, n);
@@ -2528,7 +2491,7 @@ var ut = cn ? (
2528
2491
  function(t, r, n) {
2529
2492
  return t.slice(n, n + r.length) === r;
2530
2493
  }
2531
- ), Re = gn ? String.fromCodePoint : (
2494
+ ), Me = en ? String.fromCodePoint : (
2532
2495
  // IE11
2533
2496
  function() {
2534
2497
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2540,9 +2503,9 @@ var ut = cn ? (
2540
2503
  }
2541
2504
  return n;
2542
2505
  }
2543
- ), ht = (
2506
+ ), rt = (
2544
2507
  // native
2545
- mn ? Object.fromEntries : (
2508
+ tn ? Object.fromEntries : (
2546
2509
  // Ponyfill
2547
2510
  function(t) {
2548
2511
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2552,7 +2515,7 @@ var ut = cn ? (
2552
2515
  return r;
2553
2516
  }
2554
2517
  )
2555
- ), Ft = pn ? (
2518
+ ), It = rn ? (
2556
2519
  // Native
2557
2520
  function(t, r) {
2558
2521
  return t.codePointAt(r);
@@ -2566,7 +2529,7 @@ var ut = cn ? (
2566
2529
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2567
2530
  }
2568
2531
  }
2569
- ), En = dn ? (
2532
+ ), hn = nn ? (
2570
2533
  // Native
2571
2534
  function(t) {
2572
2535
  return t.trimStart();
@@ -2574,9 +2537,9 @@ var ut = cn ? (
2574
2537
  ) : (
2575
2538
  // Ponyfill
2576
2539
  function(t) {
2577
- return t.replace(ln, "");
2540
+ return t.replace(Jr, "");
2578
2541
  }
2579
- ), vn = bn ? (
2542
+ ), ln = sn ? (
2580
2543
  // Native
2581
2544
  function(t) {
2582
2545
  return t.trimEnd();
@@ -2584,32 +2547,32 @@ var ut = cn ? (
2584
2547
  ) : (
2585
2548
  // Ponyfill
2586
2549
  function(t) {
2587
- return t.replace(fn, "");
2550
+ return t.replace(Yr, "");
2588
2551
  }
2589
2552
  );
2590
- function jt(e, t) {
2553
+ function Mt(e, t) {
2591
2554
  return new RegExp(e, t);
2592
2555
  }
2593
- var Ue;
2594
- if ($e) {
2595
- var lt = jt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2596
- Ue = function(t, r) {
2556
+ var $e;
2557
+ if (Ie) {
2558
+ var nt = Mt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2559
+ $e = function(t, r) {
2597
2560
  var n;
2598
- lt.lastIndex = r;
2599
- var i = lt.exec(t);
2561
+ nt.lastIndex = r;
2562
+ var i = nt.exec(t);
2600
2563
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2601
2564
  };
2602
2565
  } else
2603
- Ue = function(t, r) {
2566
+ $e = function(t, r) {
2604
2567
  for (var n = []; ; ) {
2605
- var i = Ft(t, r);
2606
- if (i === void 0 || kt(i) || An(i))
2568
+ var i = It(t, r);
2569
+ if (i === void 0 || $t(i) || mn(i))
2607
2570
  break;
2608
2571
  n.push(i), r += i >= 65536 ? 2 : 1;
2609
2572
  }
2610
- return Re.apply(void 0, n);
2573
+ return Me.apply(void 0, n);
2611
2574
  };
2612
- var Cn = (
2575
+ var fn = (
2613
2576
  /** @class */
2614
2577
  function() {
2615
2578
  function e(t, r) {
@@ -2640,7 +2603,7 @@ var Cn = (
2640
2603
  if (n)
2641
2604
  break;
2642
2605
  return this.error(y.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
2643
- } else if (s === 60 && !this.ignoreTag && Ge(this.peek() || 0)) {
2606
+ } else if (s === 60 && !this.ignoreTag && Re(this.peek() || 0)) {
2644
2607
  var o = this.parseTag(t, r);
2645
2608
  if (o.err)
2646
2609
  return o;
@@ -2673,10 +2636,10 @@ var Cn = (
2673
2636
  return s;
2674
2637
  var o = s.val, u = this.clonePosition();
2675
2638
  if (this.bumpIf("</")) {
2676
- if (this.isEOF() || !Ge(this.char()))
2639
+ if (this.isEOF() || !Re(this.char()))
2677
2640
  return this.error(y.INVALID_TAG, _(u, this.clonePosition()));
2678
- var h = this.clonePosition(), a = this.parseTagName();
2679
- return i !== a ? this.error(y.UNMATCHED_CLOSING_TAG, _(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2641
+ var f = this.clonePosition(), a = this.parseTagName();
2642
+ return i !== a ? this.error(y.UNMATCHED_CLOSING_TAG, _(f, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2680
2643
  val: {
2681
2644
  type: C.tag,
2682
2645
  value: i,
@@ -2691,7 +2654,7 @@ var Cn = (
2691
2654
  return this.error(y.INVALID_TAG, _(n, this.clonePosition()));
2692
2655
  }, e.prototype.parseTagName = function() {
2693
2656
  var t = this.offset();
2694
- for (this.bump(); !this.isEOF() && Hn(this.char()); )
2657
+ for (this.bump(); !this.isEOF() && gn(this.char()); )
2695
2658
  this.bump();
2696
2659
  return this.message.slice(t, this.offset());
2697
2660
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2713,14 +2676,14 @@ var Cn = (
2713
2676
  }
2714
2677
  break;
2715
2678
  }
2716
- var h = _(n, this.clonePosition());
2679
+ var f = _(n, this.clonePosition());
2717
2680
  return {
2718
- val: { type: C.literal, value: i, location: h },
2681
+ val: { type: C.literal, value: i, location: f },
2719
2682
  err: null
2720
2683
  };
2721
2684
  }, e.prototype.tryParseLeftAngleBracket = function() {
2722
2685
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2723
- !Tn(this.peek() || 0)) ? (this.bump(), "<") : null;
2686
+ !cn(this.peek() || 0)) ? (this.bump(), "<") : null;
2724
2687
  }, e.prototype.tryParseQuote = function(t) {
2725
2688
  if (this.isEOF() || this.char() !== 39)
2726
2689
  return null;
@@ -2754,12 +2717,12 @@ var Cn = (
2754
2717
  r.push(n);
2755
2718
  this.bump();
2756
2719
  }
2757
- return Re.apply(void 0, r);
2720
+ return Me.apply(void 0, r);
2758
2721
  }, e.prototype.tryParseUnquoted = function(t, r) {
2759
2722
  if (this.isEOF())
2760
2723
  return null;
2761
2724
  var n = this.char();
2762
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Re(n));
2725
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Me(n));
2763
2726
  }, e.prototype.parseArgument = function(t, r) {
2764
2727
  var n = this.clonePosition();
2765
2728
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -2788,15 +2751,15 @@ var Cn = (
2788
2751
  return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
2789
2752
  }
2790
2753
  }, e.prototype.parseIdentifierIfPossible = function() {
2791
- var t = this.clonePosition(), r = this.offset(), n = Ue(this.message, r), i = r + n.length;
2754
+ var t = this.clonePosition(), r = this.offset(), n = $e(this.message, r), i = r + n.length;
2792
2755
  this.bumpTo(i);
2793
2756
  var s = this.clonePosition(), o = _(t, s);
2794
2757
  return { value: n, location: o };
2795
2758
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
2796
- var s, o = this.clonePosition(), u = this.parseIdentifierIfPossible().value, h = this.clonePosition();
2759
+ var s, o = this.clonePosition(), u = this.parseIdentifierIfPossible().value, f = this.clonePosition();
2797
2760
  switch (u) {
2798
2761
  case "":
2799
- return this.error(y.EXPECT_ARGUMENT_TYPE, _(o, h));
2762
+ return this.error(y.EXPECT_ARGUMENT_TYPE, _(o, f));
2800
2763
  case "number":
2801
2764
  case "date":
2802
2765
  case "time": {
@@ -2804,21 +2767,21 @@ var Cn = (
2804
2767
  var a = null;
2805
2768
  if (this.bumpIf(",")) {
2806
2769
  this.bumpSpace();
2807
- var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2770
+ var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2808
2771
  if (c.err)
2809
2772
  return c;
2810
- var f = vn(c.val);
2811
- if (f.length === 0)
2773
+ var l = ln(c.val);
2774
+ if (l.length === 0)
2812
2775
  return this.error(y.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
2813
- var d = _(l, this.clonePosition());
2814
- a = { style: f, styleLocation: d };
2776
+ var d = _(h, this.clonePosition());
2777
+ a = { style: l, styleLocation: d };
2815
2778
  }
2816
2779
  var p = this.tryParseArgumentClose(i);
2817
2780
  if (p.err)
2818
2781
  return p;
2819
2782
  var g = _(i, this.clonePosition());
2820
- if (a && ut(a == null ? void 0 : a.style, "::", 0)) {
2821
- var E = En(a.style.slice(2));
2783
+ if (a && tt(a?.style, "::", 0)) {
2784
+ var E = hn(a.style.slice(2));
2822
2785
  if (u === "number") {
2823
2786
  var c = this.parseNumberSkeletonFromString(E, a.styleLocation);
2824
2787
  return c.err ? c : {
@@ -2829,15 +2792,15 @@ var Cn = (
2829
2792
  if (E.length === 0)
2830
2793
  return this.error(y.EXPECT_DATE_TIME_SKELETON, g);
2831
2794
  var m = E;
2832
- this.locale && (m = un(E, this.locale));
2833
- var f = {
2834
- type: q.dateTime,
2795
+ this.locale && (m = Qr(E, this.locale));
2796
+ var l = {
2797
+ type: Q.dateTime,
2835
2798
  pattern: m,
2836
2799
  location: a.styleLocation,
2837
- parsedOptions: this.shouldParseSkeletons ? en(m) : {}
2800
+ parsedOptions: this.shouldParseSkeletons ? jr(m) : {}
2838
2801
  }, T = u === "date" ? C.date : C.time;
2839
2802
  return {
2840
- val: { type: T, value: n, location: g, style: f },
2803
+ val: { type: T, value: n, location: g, style: l },
2841
2804
  err: null
2842
2805
  };
2843
2806
  }
@@ -2847,7 +2810,7 @@ var Cn = (
2847
2810
  type: u === "number" ? C.number : u === "date" ? C.date : C.time,
2848
2811
  value: n,
2849
2812
  location: g,
2850
- style: (s = a == null ? void 0 : a.style) !== null && s !== void 0 ? s : null
2813
+ style: (s = a?.style) !== null && s !== void 0 ? s : null
2851
2814
  },
2852
2815
  err: null
2853
2816
  };
@@ -2880,7 +2843,7 @@ var Cn = (
2880
2843
  val: {
2881
2844
  type: C.select,
2882
2845
  value: n,
2883
- options: ht(S.val),
2846
+ options: rt(S.val),
2884
2847
  location: w
2885
2848
  },
2886
2849
  err: null
@@ -2888,7 +2851,7 @@ var Cn = (
2888
2851
  val: {
2889
2852
  type: C.plural,
2890
2853
  value: n,
2891
- options: ht(S.val),
2854
+ options: rt(S.val),
2892
2855
  offset: B,
2893
2856
  pluralType: u === "plural" ? "cardinal" : "ordinal",
2894
2857
  location: w
@@ -2897,7 +2860,7 @@ var Cn = (
2897
2860
  };
2898
2861
  }
2899
2862
  default:
2900
- return this.error(y.INVALID_ARGUMENT_TYPE, _(o, h));
2863
+ return this.error(y.INVALID_ARGUMENT_TYPE, _(o, f));
2901
2864
  }
2902
2865
  }, e.prototype.tryParseArgumentClose = function(t) {
2903
2866
  return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
@@ -2939,33 +2902,33 @@ var Cn = (
2939
2902
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2940
2903
  var n = [];
2941
2904
  try {
2942
- n = rn(t);
2943
- } catch (i) {
2905
+ n = Vr(t);
2906
+ } catch {
2944
2907
  return this.error(y.INVALID_NUMBER_SKELETON, r);
2945
2908
  }
2946
2909
  return {
2947
2910
  val: {
2948
- type: q.number,
2911
+ type: Q.number,
2949
2912
  tokens: n,
2950
2913
  location: r,
2951
- parsedOptions: this.shouldParseSkeletons ? an(n) : {}
2914
+ parsedOptions: this.shouldParseSkeletons ? Zr(n) : {}
2952
2915
  },
2953
2916
  err: null
2954
2917
  };
2955
2918
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
2956
- for (var s, o = !1, u = [], h = /* @__PURE__ */ new Set(), a = i.value, l = i.location; ; ) {
2919
+ for (var s, o = !1, u = [], f = /* @__PURE__ */ new Set(), a = i.value, h = i.location; ; ) {
2957
2920
  if (a.length === 0) {
2958
2921
  var c = this.clonePosition();
2959
2922
  if (r !== "select" && this.bumpIf("=")) {
2960
- var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
2961
- if (f.err)
2962
- return f;
2963
- l = _(c, this.clonePosition()), a = this.message.slice(c.offset, this.offset());
2923
+ var l = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
2924
+ if (l.err)
2925
+ return l;
2926
+ h = _(c, this.clonePosition()), a = this.message.slice(c.offset, this.offset());
2964
2927
  } else
2965
2928
  break;
2966
2929
  }
2967
- if (h.has(a))
2968
- return this.error(r === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
2930
+ if (f.has(a))
2931
+ return this.error(r === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
2969
2932
  a === "other" && (o = !0), this.bumpSpace();
2970
2933
  var d = this.clonePosition();
2971
2934
  if (!this.bumpIf("{"))
@@ -2982,7 +2945,7 @@ var Cn = (
2982
2945
  value: p.val,
2983
2946
  location: _(d, this.clonePosition())
2984
2947
  }
2985
- ]), h.add(a), this.bumpSpace(), s = this.parseIdentifierIfPossible(), a = s.value, l = s.location;
2948
+ ]), f.add(a), this.bumpSpace(), s = this.parseIdentifierIfPossible(), a = s.value, h = s.location;
2986
2949
  }
2987
2950
  return u.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, _(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(y.MISSING_OTHER_CLAUSE, _(this.clonePosition(), this.clonePosition())) : { val: u, err: null };
2988
2951
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
@@ -2995,8 +2958,8 @@ var Cn = (
2995
2958
  else
2996
2959
  break;
2997
2960
  }
2998
- var h = _(i, this.clonePosition());
2999
- return s ? (o *= n, _n(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
2961
+ var f = _(i, this.clonePosition());
2962
+ return s ? (o *= n, an(o) ? { val: o, err: null } : this.error(r, f)) : this.error(t, f);
3000
2963
  }, e.prototype.offset = function() {
3001
2964
  return this.position.offset;
3002
2965
  }, e.prototype.isEOF = function() {
@@ -3011,7 +2974,7 @@ var Cn = (
3011
2974
  var t = this.position.offset;
3012
2975
  if (t >= this.message.length)
3013
2976
  throw Error("out of bound");
3014
- var r = Ft(this.message, t);
2977
+ var r = It(this.message, t);
3015
2978
  if (r === void 0)
3016
2979
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3017
2980
  return r;
@@ -3030,7 +2993,7 @@ var Cn = (
3030
2993
  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);
3031
2994
  }
3032
2995
  }, e.prototype.bumpIf = function(t) {
3033
- if (ut(this.message, t, this.offset())) {
2996
+ if (tt(this.message, t, this.offset())) {
3034
2997
  for (var r = 0; r < t.length; r++)
3035
2998
  this.bump();
3036
2999
  return !0;
@@ -3052,56 +3015,56 @@ var Cn = (
3052
3015
  break;
3053
3016
  }
3054
3017
  }, e.prototype.bumpSpace = function() {
3055
- for (; !this.isEOF() && kt(this.char()); )
3018
+ for (; !this.isEOF() && $t(this.char()); )
3056
3019
  this.bump();
3057
3020
  }, e.prototype.peek = function() {
3058
3021
  if (this.isEOF())
3059
3022
  return null;
3060
3023
  var t = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
3061
- return n != null ? n : null;
3024
+ return n ?? null;
3062
3025
  }, e;
3063
3026
  }()
3064
3027
  );
3065
- function Ge(e) {
3028
+ function Re(e) {
3066
3029
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3067
3030
  }
3068
- function Tn(e) {
3069
- return Ge(e) || e === 47;
3031
+ function cn(e) {
3032
+ return Re(e) || e === 47;
3070
3033
  }
3071
- function Hn(e) {
3034
+ function gn(e) {
3072
3035
  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;
3073
3036
  }
3074
- function kt(e) {
3037
+ function $t(e) {
3075
3038
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3076
3039
  }
3077
- function An(e) {
3040
+ function mn(e) {
3078
3041
  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;
3079
3042
  }
3080
- function De(e) {
3043
+ function Ue(e) {
3081
3044
  e.forEach(function(t) {
3082
- if (delete t.location, Lt(t) || It(t))
3045
+ if (delete t.location, At(t) || St(t))
3083
3046
  for (var r in t.options)
3084
- delete t.options[r].location, De(t.options[r].value);
3085
- else Pt(t) && $t(t.style) || (wt(t) || Nt(t)) && Me(t.style) ? delete t.style.location : Mt(t) && De(t.children);
3047
+ delete t.options[r].location, Ue(t.options[r].value);
3048
+ else Ct(t) && Ot(t.style) || (Tt(t) || Ht(t)) && Le(t.style) ? delete t.style.location : Bt(t) && Ue(t.children);
3086
3049
  });
3087
3050
  }
3088
- function Sn(e, t) {
3051
+ function pn(e, t) {
3089
3052
  t === void 0 && (t = {}), t = x({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3090
- var r = new Cn(e, t).parse();
3053
+ var r = new fn(e, t).parse();
3091
3054
  if (r.err) {
3092
3055
  var n = SyntaxError(y[r.err.kind]);
3093
3056
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3094
3057
  }
3095
- return t != null && t.captureLocation || De(r.val), r.val;
3058
+ return t?.captureLocation || Ue(r.val), r.val;
3096
3059
  }
3097
- var J;
3060
+ var q;
3098
3061
  (function(e) {
3099
3062
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3100
- })(J || (J = {}));
3101
- var xe = (
3063
+ })(q || (q = {}));
3064
+ var _e = (
3102
3065
  /** @class */
3103
3066
  function(e) {
3104
- _e(t, e);
3067
+ ye(t, e);
3105
3068
  function t(r, n, i) {
3106
3069
  var s = e.call(this, r) || this;
3107
3070
  return s.code = n, s.originalMessage = i, s;
@@ -3110,110 +3073,110 @@ var xe = (
3110
3073
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3111
3074
  }, t;
3112
3075
  }(Error)
3113
- ), ft = (
3076
+ ), it = (
3114
3077
  /** @class */
3115
3078
  function(e) {
3116
- _e(t, e);
3079
+ ye(t, e);
3117
3080
  function t(r, n, i, s) {
3118
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), J.INVALID_VALUE, s) || this;
3081
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), q.INVALID_VALUE, s) || this;
3119
3082
  }
3120
3083
  return t;
3121
- }(xe)
3122
- ), Bn = (
3084
+ }(_e)
3085
+ ), dn = (
3123
3086
  /** @class */
3124
3087
  function(e) {
3125
- _e(t, e);
3088
+ ye(t, e);
3126
3089
  function t(r, n, i) {
3127
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), J.INVALID_VALUE, i) || this;
3090
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), q.INVALID_VALUE, i) || this;
3128
3091
  }
3129
3092
  return t;
3130
- }(xe)
3131
- ), On = (
3093
+ }(_e)
3094
+ ), bn = (
3132
3095
  /** @class */
3133
3096
  function(e) {
3134
- _e(t, e);
3097
+ ye(t, e);
3135
3098
  function t(r, n) {
3136
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), J.MISSING_VALUE, n) || this;
3099
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), q.MISSING_VALUE, n) || this;
3137
3100
  }
3138
3101
  return t;
3139
- }(xe)
3102
+ }(_e)
3140
3103
  ), P;
3141
3104
  (function(e) {
3142
3105
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3143
3106
  })(P || (P = {}));
3144
- function Pn(e) {
3107
+ function yn(e) {
3145
3108
  return e.length < 2 ? e : e.reduce(function(t, r) {
3146
3109
  var n = t[t.length - 1];
3147
3110
  return !n || n.type !== P.literal || r.type !== P.literal ? t.push(r) : n.value += r.value, t;
3148
3111
  }, []);
3149
3112
  }
3150
- function wn(e) {
3113
+ function _n(e) {
3151
3114
  return typeof e == "function";
3152
3115
  }
3153
- function ge(e, t, r, n, i, s, o) {
3154
- if (e.length === 1 && it(e[0]))
3116
+ function ce(e, t, r, n, i, s, o) {
3117
+ if (e.length === 1 && Je(e[0]))
3155
3118
  return [
3156
3119
  {
3157
3120
  type: P.literal,
3158
3121
  value: e[0].value
3159
3122
  }
3160
3123
  ];
3161
- for (var u = [], h = 0, a = e; h < a.length; h++) {
3162
- var l = a[h];
3163
- if (it(l)) {
3124
+ for (var u = [], f = 0, a = e; f < a.length; f++) {
3125
+ var h = a[f];
3126
+ if (Je(h)) {
3164
3127
  u.push({
3165
3128
  type: P.literal,
3166
- value: l.value
3129
+ value: h.value
3167
3130
  });
3168
3131
  continue;
3169
3132
  }
3170
- if (Yr(l)) {
3133
+ if (Dr(h)) {
3171
3134
  typeof s == "number" && u.push({
3172
3135
  type: P.literal,
3173
3136
  value: r.getNumberFormat(t).format(s)
3174
3137
  });
3175
3138
  continue;
3176
3139
  }
3177
- var c = l.value;
3140
+ var c = h.value;
3178
3141
  if (!(i && c in i))
3179
- throw new On(c, o);
3180
- var f = i[c];
3181
- if (Jr(l)) {
3182
- (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), u.push({
3183
- type: typeof f == "string" ? P.literal : P.object,
3184
- value: f
3142
+ throw new bn(c, o);
3143
+ var l = i[c];
3144
+ if (Gr(h)) {
3145
+ (!l || typeof l == "string" || typeof l == "number") && (l = typeof l == "string" || typeof l == "number" ? String(l) : ""), u.push({
3146
+ type: typeof l == "string" ? P.literal : P.object,
3147
+ value: l
3185
3148
  });
3186
3149
  continue;
3187
3150
  }
3188
- if (wt(l)) {
3189
- var d = typeof l.style == "string" ? n.date[l.style] : Me(l.style) ? l.style.parsedOptions : void 0;
3151
+ if (Tt(h)) {
3152
+ var d = typeof h.style == "string" ? n.date[h.style] : Le(h.style) ? h.style.parsedOptions : void 0;
3190
3153
  u.push({
3191
3154
  type: P.literal,
3192
- value: r.getDateTimeFormat(t, d).format(f)
3155
+ value: r.getDateTimeFormat(t, d).format(l)
3193
3156
  });
3194
3157
  continue;
3195
3158
  }
3196
- if (Nt(l)) {
3197
- var d = typeof l.style == "string" ? n.time[l.style] : Me(l.style) ? l.style.parsedOptions : n.time.medium;
3159
+ if (Ht(h)) {
3160
+ var d = typeof h.style == "string" ? n.time[h.style] : Le(h.style) ? h.style.parsedOptions : n.time.medium;
3198
3161
  u.push({
3199
3162
  type: P.literal,
3200
- value: r.getDateTimeFormat(t, d).format(f)
3163
+ value: r.getDateTimeFormat(t, d).format(l)
3201
3164
  });
3202
3165
  continue;
3203
3166
  }
3204
- if (Pt(l)) {
3205
- var d = typeof l.style == "string" ? n.number[l.style] : $t(l.style) ? l.style.parsedOptions : void 0;
3206
- d && d.scale && (f = f * (d.scale || 1)), u.push({
3167
+ if (Ct(h)) {
3168
+ var d = typeof h.style == "string" ? n.number[h.style] : Ot(h.style) ? h.style.parsedOptions : void 0;
3169
+ d && d.scale && (l = l * (d.scale || 1)), u.push({
3207
3170
  type: P.literal,
3208
- value: r.getNumberFormat(t, d).format(f)
3171
+ value: r.getNumberFormat(t, d).format(l)
3209
3172
  });
3210
3173
  continue;
3211
3174
  }
3212
- if (Mt(l)) {
3213
- var p = l.children, g = l.value, E = i[g];
3214
- if (!wn(E))
3215
- throw new Bn(g, "function", o);
3216
- var m = ge(p, t, r, n, i, s), T = E(m.map(function(B) {
3175
+ if (Bt(h)) {
3176
+ var p = h.children, g = h.value, E = i[g];
3177
+ if (!_n(E))
3178
+ throw new dn(g, "function", o);
3179
+ var m = ce(p, t, r, n, i, s), T = E(m.map(function(B) {
3217
3180
  return B.value;
3218
3181
  }));
3219
3182
  Array.isArray(T) || (T = [T]), u.push.apply(u, T.map(function(B) {
@@ -3223,42 +3186,42 @@ function ge(e, t, r, n, i, s, o) {
3223
3186
  };
3224
3187
  }));
3225
3188
  }
3226
- if (Lt(l)) {
3227
- var A = l.options[f] || l.options.other;
3189
+ if (At(h)) {
3190
+ var A = h.options[l] || h.options.other;
3228
3191
  if (!A)
3229
- throw new ft(l.value, f, Object.keys(l.options), o);
3230
- u.push.apply(u, ge(A.value, t, r, n, i));
3192
+ throw new it(h.value, l, Object.keys(h.options), o);
3193
+ u.push.apply(u, ce(A.value, t, r, n, i));
3231
3194
  continue;
3232
3195
  }
3233
- if (It(l)) {
3234
- var A = l.options["=".concat(f)];
3196
+ if (St(h)) {
3197
+ var A = h.options["=".concat(l)];
3235
3198
  if (!A) {
3236
3199
  if (!Intl.PluralRules)
3237
- throw new xe(`Intl.PluralRules is not available in this environment.
3200
+ throw new _e(`Intl.PluralRules is not available in this environment.
3238
3201
  Try polyfilling it using "@formatjs/intl-pluralrules"
3239
- `, J.MISSING_INTL_API, o);
3240
- var L = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
3241
- A = l.options[L] || l.options.other;
3202
+ `, q.MISSING_INTL_API, o);
3203
+ var L = r.getPluralRules(t, { type: h.pluralType }).select(l - (h.offset || 0));
3204
+ A = h.options[L] || h.options.other;
3242
3205
  }
3243
3206
  if (!A)
3244
- throw new ft(l.value, f, Object.keys(l.options), o);
3245
- u.push.apply(u, ge(A.value, t, r, n, i, f - (l.offset || 0)));
3207
+ throw new it(h.value, l, Object.keys(h.options), o);
3208
+ u.push.apply(u, ce(A.value, t, r, n, i, l - (h.offset || 0)));
3246
3209
  continue;
3247
3210
  }
3248
3211
  }
3249
- return Pn(u);
3212
+ return yn(u);
3250
3213
  }
3251
- function Nn(e, t) {
3214
+ function xn(e, t) {
3252
3215
  return t ? x(x(x({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3253
3216
  return r[n] = x(x({}, e[n]), t[n] || {}), r;
3254
3217
  }, {})) : e;
3255
3218
  }
3256
- function Ln(e, t) {
3219
+ function En(e, t) {
3257
3220
  return t ? Object.keys(e).reduce(function(r, n) {
3258
- return r[n] = Nn(e[n], t[n]), r;
3221
+ return r[n] = xn(e[n], t[n]), r;
3259
3222
  }, x({}, e)) : e;
3260
3223
  }
3261
- function Oe(e) {
3224
+ function Se(e) {
3262
3225
  return {
3263
3226
  create: function() {
3264
3227
  return {
@@ -3272,39 +3235,39 @@ function Oe(e) {
3272
3235
  }
3273
3236
  };
3274
3237
  }
3275
- function In(e) {
3238
+ function vn(e) {
3276
3239
  return e === void 0 && (e = {
3277
3240
  number: {},
3278
3241
  dateTime: {},
3279
3242
  pluralRules: {}
3280
3243
  }), {
3281
- getNumberFormat: Ae(function() {
3244
+ getNumberFormat: Te(function() {
3282
3245
  for (var t, r = [], n = 0; n < arguments.length; n++)
3283
3246
  r[n] = arguments[n];
3284
- return new ((t = Intl.NumberFormat).bind.apply(t, He([void 0], r, !1)))();
3247
+ return new ((t = Intl.NumberFormat).bind.apply(t, Ce([void 0], r, !1)))();
3285
3248
  }, {
3286
- cache: Oe(e.number),
3287
- strategy: Se.variadic
3249
+ cache: Se(e.number),
3250
+ strategy: He.variadic
3288
3251
  }),
3289
- getDateTimeFormat: Ae(function() {
3252
+ getDateTimeFormat: Te(function() {
3290
3253
  for (var t, r = [], n = 0; n < arguments.length; n++)
3291
3254
  r[n] = arguments[n];
3292
- return new ((t = Intl.DateTimeFormat).bind.apply(t, He([void 0], r, !1)))();
3255
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Ce([void 0], r, !1)))();
3293
3256
  }, {
3294
- cache: Oe(e.dateTime),
3295
- strategy: Se.variadic
3257
+ cache: Se(e.dateTime),
3258
+ strategy: He.variadic
3296
3259
  }),
3297
- getPluralRules: Ae(function() {
3260
+ getPluralRules: Te(function() {
3298
3261
  for (var t, r = [], n = 0; n < arguments.length; n++)
3299
3262
  r[n] = arguments[n];
3300
- return new ((t = Intl.PluralRules).bind.apply(t, He([void 0], r, !1)))();
3263
+ return new ((t = Intl.PluralRules).bind.apply(t, Ce([void 0], r, !1)))();
3301
3264
  }, {
3302
- cache: Oe(e.pluralRules),
3303
- strategy: Se.variadic
3265
+ cache: Se(e.pluralRules),
3266
+ strategy: He.variadic
3304
3267
  })
3305
3268
  };
3306
3269
  }
3307
- var Mn = (
3270
+ var Cn = (
3308
3271
  /** @class */
3309
3272
  function() {
3310
3273
  function e(t, r, n, i) {
@@ -3314,20 +3277,20 @@ var Mn = (
3314
3277
  number: {},
3315
3278
  dateTime: {},
3316
3279
  pluralRules: {}
3317
- }, this.format = function(h) {
3318
- var a = s.formatToParts(h);
3280
+ }, this.format = function(f) {
3281
+ var a = s.formatToParts(f);
3319
3282
  if (a.length === 1)
3320
3283
  return a[0].value;
3321
- var l = a.reduce(function(c, f) {
3322
- return !c.length || f.type !== P.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3284
+ var h = a.reduce(function(c, l) {
3285
+ return !c.length || l.type !== P.literal || typeof c[c.length - 1] != "string" ? c.push(l.value) : c[c.length - 1] += l.value, c;
3323
3286
  }, []);
3324
- return l.length <= 1 ? l[0] || "" : l;
3325
- }, this.formatToParts = function(h) {
3326
- return ge(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
3287
+ return h.length <= 1 ? h[0] || "" : h;
3288
+ }, this.formatToParts = function(f) {
3289
+ return ce(s.ast, s.locales, s.formatters, s.formats, f, void 0, s.message);
3327
3290
  }, this.resolvedOptions = function() {
3328
- var h;
3291
+ var f;
3329
3292
  return {
3330
- locale: ((h = s.resolvedLocale) === null || h === void 0 ? void 0 : h.toString()) || Intl.NumberFormat.supportedLocalesOf(s.locales)[0]
3293
+ locale: ((f = s.resolvedLocale) === null || f === void 0 ? void 0 : f.toString()) || Intl.NumberFormat.supportedLocalesOf(s.locales)[0]
3331
3294
  };
3332
3295
  }, this.getAst = function() {
3333
3296
  return s.ast;
@@ -3336,13 +3299,13 @@ var Mn = (
3336
3299
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3337
3300
  var o = i || {};
3338
3301
  o.formatters;
3339
- var u = kr(o, ["formatters"]);
3302
+ var u = wr(o, ["formatters"]);
3340
3303
  this.ast = e.__parse(t, x(x({}, u), { locale: this.resolvedLocale }));
3341
3304
  } else
3342
3305
  this.ast = t;
3343
3306
  if (!Array.isArray(this.ast))
3344
3307
  throw new TypeError("A message must be provided as a String or AST.");
3345
- this.formats = Ln(e.formats, n), this.formatters = i && i.formatters || In(this.formatterCache);
3308
+ this.formats = En(e.formats, n), this.formatters = i && i.formatters || vn(this.formatterCache);
3346
3309
  }
3347
3310
  return Object.defineProperty(e, "defaultLocale", {
3348
3311
  get: function() {
@@ -3351,11 +3314,11 @@ var Mn = (
3351
3314
  enumerable: !1,
3352
3315
  configurable: !0
3353
3316
  }), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
3354
- if (typeof Intl.Locale != "undefined") {
3317
+ if (!(typeof Intl.Locale > "u")) {
3355
3318
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3356
3319
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3357
3320
  }
3358
- }, e.__parse = Sn, e.formats = {
3321
+ }, e.__parse = pn, e.formats = {
3359
3322
  number: {
3360
3323
  integer: {
3361
3324
  maximumFractionDigits: 0
@@ -3416,7 +3379,7 @@ var Mn = (
3416
3379
  }, e;
3417
3380
  }()
3418
3381
  );
3419
- function $n(e, t) {
3382
+ function Tn(e, t) {
3420
3383
  if (t == null)
3421
3384
  return;
3422
3385
  if (t in e)
@@ -3437,92 +3400,92 @@ function $n(e, t) {
3437
3400
  n = void 0;
3438
3401
  return n;
3439
3402
  }
3440
- const D = {}, Rn = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = r), r), Vt = (e, t) => {
3403
+ const G = {}, Hn = (e, t, r) => r && (t in G || (G[t] = {}), e in G[t] || (G[t][e] = r), r), Rt = (e, t) => {
3441
3404
  if (t == null)
3442
3405
  return;
3443
- if (t in D && e in D[t])
3444
- return D[t][e];
3445
- const r = Ee(t);
3406
+ if (t in G && e in G[t])
3407
+ return G[t][e];
3408
+ const r = xe(t);
3446
3409
  for (let n = 0; n < r.length; n++) {
3447
- const i = r[n], s = Gn(i, e);
3410
+ const i = r[n], s = Sn(i, e);
3448
3411
  if (s)
3449
- return Rn(e, t, s);
3412
+ return Hn(e, t, s);
3450
3413
  }
3451
3414
  };
3452
- let ze;
3453
- const ue = ye({});
3454
- function Un(e) {
3455
- return ze[e] || null;
3415
+ let Ve;
3416
+ const ae = be({});
3417
+ function An(e) {
3418
+ return Ve[e] || null;
3456
3419
  }
3457
- function Xt(e) {
3458
- return e in ze;
3420
+ function Ut(e) {
3421
+ return e in Ve;
3459
3422
  }
3460
- function Gn(e, t) {
3461
- if (!Xt(e))
3423
+ function Sn(e, t) {
3424
+ if (!Ut(e))
3462
3425
  return null;
3463
- const r = Un(e);
3464
- return $n(r, t);
3426
+ const r = An(e);
3427
+ return Tn(r, t);
3465
3428
  }
3466
- function Dn(e) {
3429
+ function Bn(e) {
3467
3430
  if (e == null)
3468
3431
  return;
3469
- const t = Ee(e);
3432
+ const t = xe(e);
3470
3433
  for (let r = 0; r < t.length; r++) {
3471
3434
  const n = t[r];
3472
- if (Xt(n))
3435
+ if (Ut(n))
3473
3436
  return n;
3474
3437
  }
3475
3438
  }
3476
- function zt(e, ...t) {
3477
- delete D[e], ue.update((r) => (r[e] = jr.all([r[e] || {}, ...t]), r));
3439
+ function Gt(e, ...t) {
3440
+ delete G[e], ae.update((r) => (r[e] = Pr.all([r[e] || {}, ...t]), r));
3478
3441
  }
3479
- ee(
3480
- [ue],
3442
+ K(
3443
+ [ae],
3481
3444
  ([e]) => Object.keys(e)
3482
3445
  );
3483
- ue.subscribe((e) => ze = e);
3484
- const me = {};
3485
- function Fn(e, t) {
3486
- me[e].delete(t), me[e].size === 0 && delete me[e];
3446
+ ae.subscribe((e) => Ve = e);
3447
+ const ge = {};
3448
+ function On(e, t) {
3449
+ ge[e].delete(t), ge[e].size === 0 && delete ge[e];
3487
3450
  }
3488
- function Wt(e) {
3489
- return me[e];
3451
+ function Dt(e) {
3452
+ return ge[e];
3490
3453
  }
3491
- function jn(e) {
3492
- return Ee(e).map((t) => {
3493
- const r = Wt(t);
3454
+ function Pn(e) {
3455
+ return xe(e).map((t) => {
3456
+ const r = Dt(t);
3494
3457
  return [t, r ? [...r] : []];
3495
3458
  }).filter(([, t]) => t.length > 0);
3496
3459
  }
3497
- function Fe(e) {
3498
- return e == null ? !1 : Ee(e).some(
3460
+ function Ge(e) {
3461
+ return e == null ? !1 : xe(e).some(
3499
3462
  (t) => {
3500
3463
  var r;
3501
- return (r = Wt(t)) == null ? void 0 : r.size;
3464
+ return (r = Dt(t)) == null ? void 0 : r.size;
3502
3465
  }
3503
3466
  );
3504
3467
  }
3505
- function kn(e, t) {
3468
+ function wn(e, t) {
3506
3469
  return Promise.all(
3507
- t.map((n) => (Fn(e, n), n().then((i) => i.default || i)))
3508
- ).then((n) => zt(e, ...n));
3509
- }
3510
- const ne = {};
3511
- function Zt(e) {
3512
- if (!Fe(e))
3513
- return e in ne ? ne[e] : Promise.resolve();
3514
- const t = jn(e);
3515
- return ne[e] = Promise.all(
3470
+ t.map((n) => (On(e, n), n().then((i) => i.default || i)))
3471
+ ).then((n) => Gt(e, ...n));
3472
+ }
3473
+ const re = {};
3474
+ function Ft(e) {
3475
+ if (!Ge(e))
3476
+ return e in re ? re[e] : Promise.resolve();
3477
+ const t = Pn(e);
3478
+ return re[e] = Promise.all(
3516
3479
  t.map(
3517
- ([r, n]) => kn(r, n)
3480
+ ([r, n]) => wn(r, n)
3518
3481
  )
3519
3482
  ).then(() => {
3520
- if (Fe(e))
3521
- return Zt(e);
3522
- delete ne[e];
3523
- }), ne[e];
3483
+ if (Ge(e))
3484
+ return Ft(e);
3485
+ delete re[e];
3486
+ }), re[e];
3524
3487
  }
3525
- const Vn = {
3488
+ const Nn = {
3526
3489
  number: {
3527
3490
  scientific: { notation: "scientific" },
3528
3491
  engineering: { notation: "engineering" },
@@ -3551,178 +3514,178 @@ const Vn = {
3551
3514
  timeZoneName: "short"
3552
3515
  }
3553
3516
  }
3554
- }, Xn = {
3517
+ }, Ln = {
3555
3518
  fallbackLocale: null,
3556
3519
  loadingDelay: 200,
3557
- formats: Vn,
3520
+ formats: Nn,
3558
3521
  warnOnMissingMessages: !0,
3559
3522
  handleMissingMessage: void 0,
3560
3523
  ignoreTag: !0
3561
- }, zn = Xn;
3562
- function Y() {
3563
- return zn;
3524
+ }, In = Ln;
3525
+ function J() {
3526
+ return In;
3564
3527
  }
3565
- const Pe = ye(!1);
3566
- var Wn = Object.defineProperty, Zn = Object.defineProperties, Qn = Object.getOwnPropertyDescriptors, ct = Object.getOwnPropertySymbols, qn = Object.prototype.hasOwnProperty, Jn = Object.prototype.propertyIsEnumerable, gt = (e, t, r) => t in e ? Wn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Yn = (e, t) => {
3528
+ const Be = be(!1);
3529
+ var Mn = Object.defineProperty, $n = Object.defineProperties, Rn = Object.getOwnPropertyDescriptors, st = Object.getOwnPropertySymbols, Un = Object.prototype.hasOwnProperty, Gn = Object.prototype.propertyIsEnumerable, ot = (e, t, r) => t in e ? Mn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Dn = (e, t) => {
3567
3530
  for (var r in t)
3568
- qn.call(t, r) && gt(e, r, t[r]);
3569
- if (ct)
3570
- for (var r of ct(t))
3571
- Jn.call(t, r) && gt(e, r, t[r]);
3531
+ Un.call(t, r) && ot(e, r, t[r]);
3532
+ if (st)
3533
+ for (var r of st(t))
3534
+ Gn.call(t, r) && ot(e, r, t[r]);
3572
3535
  return e;
3573
- }, Kn = (e, t) => Zn(e, Qn(t));
3574
- let je;
3575
- const de = ye(null);
3576
- function mt(e) {
3536
+ }, Fn = (e, t) => $n(e, Rn(t));
3537
+ let De;
3538
+ const pe = be(null);
3539
+ function at(e) {
3577
3540
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3578
3541
  }
3579
- function Ee(e, t = Y().fallbackLocale) {
3580
- const r = mt(e);
3581
- return t ? [.../* @__PURE__ */ new Set([...r, ...mt(t)])] : r;
3542
+ function xe(e, t = J().fallbackLocale) {
3543
+ const r = at(e);
3544
+ return t ? [.../* @__PURE__ */ new Set([...r, ...at(t)])] : r;
3582
3545
  }
3583
- function V() {
3584
- return je != null ? je : void 0;
3546
+ function k() {
3547
+ return De ?? void 0;
3585
3548
  }
3586
- de.subscribe((e) => {
3587
- je = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3549
+ pe.subscribe((e) => {
3550
+ De = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3588
3551
  });
3589
- const ei = (e) => {
3590
- if (e && Dn(e) && Fe(e)) {
3591
- const { loadingDelay: t } = Y();
3552
+ const jn = (e) => {
3553
+ if (e && Bn(e) && Ge(e)) {
3554
+ const { loadingDelay: t } = J();
3592
3555
  let r;
3593
- return typeof window != "undefined" && V() != null && t ? r = window.setTimeout(
3594
- () => Pe.set(!0),
3556
+ return typeof window < "u" && k() != null && t ? r = window.setTimeout(
3557
+ () => Be.set(!0),
3595
3558
  t
3596
- ) : Pe.set(!0), Zt(e).then(() => {
3597
- de.set(e);
3559
+ ) : Be.set(!0), Ft(e).then(() => {
3560
+ pe.set(e);
3598
3561
  }).finally(() => {
3599
- clearTimeout(r), Pe.set(!1);
3562
+ clearTimeout(r), Be.set(!1);
3600
3563
  });
3601
3564
  }
3602
- return de.set(e);
3603
- }, te = Kn(Yn({}, de), {
3604
- set: ei
3605
- }), ve = (e) => {
3565
+ return pe.set(e);
3566
+ }, ee = Fn(Dn({}, pe), {
3567
+ set: jn
3568
+ }), Ee = (e) => {
3606
3569
  const t = /* @__PURE__ */ Object.create(null);
3607
3570
  return (n) => {
3608
3571
  const i = JSON.stringify(n);
3609
3572
  return i in t ? t[i] : t[i] = e(n);
3610
3573
  };
3611
3574
  };
3612
- var ti = Object.defineProperty, be = Object.getOwnPropertySymbols, Qt = Object.prototype.hasOwnProperty, qt = Object.prototype.propertyIsEnumerable, pt = (e, t, r) => t in e ? ti(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, We = (e, t) => {
3575
+ var kn = Object.defineProperty, de = Object.getOwnPropertySymbols, jt = Object.prototype.hasOwnProperty, kt = Object.prototype.propertyIsEnumerable, ut = (e, t, r) => t in e ? kn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Xe = (e, t) => {
3613
3576
  for (var r in t || (t = {}))
3614
- Qt.call(t, r) && pt(e, r, t[r]);
3615
- if (be)
3616
- for (var r of be(t))
3617
- qt.call(t, r) && pt(e, r, t[r]);
3577
+ jt.call(t, r) && ut(e, r, t[r]);
3578
+ if (de)
3579
+ for (var r of de(t))
3580
+ kt.call(t, r) && ut(e, r, t[r]);
3618
3581
  return e;
3619
- }, re = (e, t) => {
3582
+ }, te = (e, t) => {
3620
3583
  var r = {};
3621
3584
  for (var n in e)
3622
- Qt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3623
- if (e != null && be)
3624
- for (var n of be(e))
3625
- t.indexOf(n) < 0 && qt.call(e, n) && (r[n] = e[n]);
3585
+ jt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3586
+ if (e != null && de)
3587
+ for (var n of de(e))
3588
+ t.indexOf(n) < 0 && kt.call(e, n) && (r[n] = e[n]);
3626
3589
  return r;
3627
3590
  };
3628
- const oe = (e, t) => {
3629
- const { formats: r } = Y();
3591
+ const se = (e, t) => {
3592
+ const { formats: r } = J();
3630
3593
  if (e in r && t in r[e])
3631
3594
  return r[e][t];
3632
3595
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3633
- }, ri = ve(
3596
+ }, Vn = Ee(
3634
3597
  (e) => {
3635
- var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
3598
+ var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
3636
3599
  if (r == null)
3637
3600
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3638
- return n && (i = oe("number", n)), new Intl.NumberFormat(r, i);
3601
+ return n && (i = se("number", n)), new Intl.NumberFormat(r, i);
3639
3602
  }
3640
- ), ni = ve(
3603
+ ), Xn = Ee(
3641
3604
  (e) => {
3642
- var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
3605
+ var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
3643
3606
  if (r == null)
3644
3607
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3645
- return n ? i = oe("date", n) : Object.keys(i).length === 0 && (i = oe("date", "short")), new Intl.DateTimeFormat(r, i);
3608
+ return n ? i = se("date", n) : Object.keys(i).length === 0 && (i = se("date", "short")), new Intl.DateTimeFormat(r, i);
3646
3609
  }
3647
- ), ii = ve(
3610
+ ), zn = Ee(
3648
3611
  (e) => {
3649
- var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
3612
+ var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
3650
3613
  if (r == null)
3651
3614
  throw new Error(
3652
3615
  '[svelte-i18n] A "locale" must be set to format time values'
3653
3616
  );
3654
- return n ? i = oe("time", n) : Object.keys(i).length === 0 && (i = oe("time", "short")), new Intl.DateTimeFormat(r, i);
3617
+ return n ? i = se("time", n) : Object.keys(i).length === 0 && (i = se("time", "short")), new Intl.DateTimeFormat(r, i);
3655
3618
  }
3656
- ), si = (e = {}) => {
3619
+ ), Wn = (e = {}) => {
3657
3620
  var t = e, {
3658
- locale: r = V()
3659
- } = t, n = re(t, [
3621
+ locale: r = k()
3622
+ } = t, n = te(t, [
3660
3623
  "locale"
3661
3624
  ]);
3662
- return ri(We({ locale: r }, n));
3663
- }, oi = (e = {}) => {
3625
+ return Vn(Xe({ locale: r }, n));
3626
+ }, Zn = (e = {}) => {
3664
3627
  var t = e, {
3665
- locale: r = V()
3666
- } = t, n = re(t, [
3628
+ locale: r = k()
3629
+ } = t, n = te(t, [
3667
3630
  "locale"
3668
3631
  ]);
3669
- return ni(We({ locale: r }, n));
3670
- }, ai = (e = {}) => {
3632
+ return Xn(Xe({ locale: r }, n));
3633
+ }, Qn = (e = {}) => {
3671
3634
  var t = e, {
3672
- locale: r = V()
3673
- } = t, n = re(t, [
3635
+ locale: r = k()
3636
+ } = t, n = te(t, [
3674
3637
  "locale"
3675
3638
  ]);
3676
- return ii(We({ locale: r }, n));
3677
- }, ui = ve(
3639
+ return zn(Xe({ locale: r }, n));
3640
+ }, qn = Ee(
3678
3641
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3679
- (e, t = V()) => new Mn(e, t, Y().formats, {
3680
- ignoreTag: Y().ignoreTag
3642
+ (e, t = k()) => new Cn(e, t, J().formats, {
3643
+ ignoreTag: J().ignoreTag
3681
3644
  })
3682
- ), hi = (e, t = {}) => {
3645
+ ), Jn = (e, t = {}) => {
3683
3646
  var r, n, i, s;
3684
3647
  let o = t;
3685
3648
  typeof e == "object" && (o = e, e = o.id);
3686
3649
  const {
3687
3650
  values: u,
3688
- locale: h = V(),
3651
+ locale: f = k(),
3689
3652
  default: a
3690
3653
  } = o;
3691
- if (h == null)
3654
+ if (f == null)
3692
3655
  throw new Error(
3693
3656
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3694
3657
  );
3695
- let l = Vt(e, h);
3696
- if (!l)
3697
- l = (s = (i = (n = (r = Y()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: a })) != null ? i : a) != null ? s : e;
3698
- else if (typeof l != "string")
3658
+ let h = Rt(e, f);
3659
+ if (!h)
3660
+ h = (s = (i = (n = (r = J()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: f, id: e, defaultValue: a })) != null ? i : a) != null ? s : e;
3661
+ else if (typeof h != "string")
3699
3662
  return console.warn(
3700
- `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
3701
- ), l;
3663
+ `[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.`
3664
+ ), h;
3702
3665
  if (!u)
3703
- return l;
3704
- let c = l;
3666
+ return h;
3667
+ let c = h;
3705
3668
  try {
3706
- c = ui(l, h).format(u);
3707
- } catch (f) {
3708
- f instanceof Error && console.warn(
3669
+ c = qn(h, f).format(u);
3670
+ } catch (l) {
3671
+ l instanceof Error && console.warn(
3709
3672
  `[svelte-i18n] Message "${e}" has syntax error:`,
3710
- f.message
3673
+ l.message
3711
3674
  );
3712
3675
  }
3713
3676
  return c;
3714
- }, li = (e, t) => ai(t).format(e), fi = (e, t) => oi(t).format(e), ci = (e, t) => si(t).format(e), gi = (e, t = V()) => Vt(e, t), mi = ee([te, ue], () => hi);
3715
- ee([te], () => li);
3716
- ee([te], () => fi);
3717
- ee([te], () => ci);
3718
- ee([te, ue], () => gi);
3719
- function dt(e, t) {
3720
- zt(e, t);
3721
- }
3722
- function pi(e) {
3723
- te.set(e);
3724
- }
3725
- const bt = {
3677
+ }, Yn = (e, t) => Qn(t).format(e), Kn = (e, t) => Zn(t).format(e), ei = (e, t) => Wn(t).format(e), ti = (e, t = k()) => Rt(e, t), ri = K([ee, ae], () => Jn);
3678
+ K([ee], () => Yn);
3679
+ K([ee], () => Kn);
3680
+ K([ee], () => ei);
3681
+ K([ee, ae], () => ti);
3682
+ function ht(e, t) {
3683
+ Gt(e, t);
3684
+ }
3685
+ function ni(e) {
3686
+ ee.set(e);
3687
+ }
3688
+ const lt = {
3726
3689
  en: {
3727
3690
  topCategories: "Top Categories",
3728
3691
  otherCategories: "Other Categories",
@@ -3832,84 +3795,84 @@ const bt = {
3832
3795
  games: "games"
3833
3796
  }
3834
3797
  };
3835
- function di(e) {
3836
- ur(e, "svelte-131a9uf", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CasinoCategories{display:flex;flex-direction:column;gap:1rem;padding:10px 60px}.CategoryTitle{font-weight:500;position:relative;right:30px;margin:10px 0;font-size:18px;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.Category{border-radius:7px;display:flex;align-items:center;gap:16px;max-width:300px}.Category.Active{box-shadow:15px 15px 30px var(--emw--color-gray-100, #E6E6E6)}.CategoryTextContainer{display:flex;flex-direction:column;justify-content:center;gap:10px;font-size:15px;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.CategoryTextContainer p:first-child{font-weight:600;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.CategoryTextContainer p:last-child{color:var(--emw--color-gray-150, #828282);font-weight:300}.CategoryImage{border-radius:4px;object-fit:cover;height:64px;width:64px;font-weight:100}.Message{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);font-weight:600}");
3798
+ function ii(e) {
3799
+ qt(e, "svelte-131a9uf", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CasinoCategories{display:flex;flex-direction:column;gap:1rem;padding:10px 60px}.CategoryTitle{font-weight:500;position:relative;right:30px;margin:10px 0;font-size:18px;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.Category{border-radius:7px;display:flex;align-items:center;gap:16px;max-width:300px}.Category.Active{box-shadow:15px 15px 30px var(--emw--color-gray-100, #E6E6E6)}.CategoryTextContainer{display:flex;flex-direction:column;justify-content:center;gap:10px;font-size:15px;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.CategoryTextContainer p:first-child{font-weight:600;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.CategoryTextContainer p:last-child{color:var(--emw--color-gray-150, #828282);font-weight:300}.CategoryImage{border-radius:4px;object-fit:cover;height:64px;width:64px;font-weight:100}.Message{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);font-weight:600}");
3837
3800
  }
3838
- function yt(e, t, r) {
3801
+ function ft(e, t, r) {
3839
3802
  const n = e.slice();
3840
3803
  return n[24] = t[r], n;
3841
3804
  }
3842
- function _t(e, t, r) {
3805
+ function ct(e, t, r) {
3843
3806
  const n = e.slice();
3844
3807
  return n[24] = t[r], n;
3845
3808
  }
3846
- function bi(e) {
3809
+ function si(e) {
3847
3810
  let t, r, n = (
3848
3811
  /*$_*/
3849
3812
  e[5]("topCategories") + ""
3850
- ), i, s, o, u, h = (
3813
+ ), i, s, o, u, f = (
3851
3814
  /*$_*/
3852
3815
  e[5]("otherCategories") + ""
3853
- ), a, l, c = le(
3816
+ ), a, h, c = he(
3854
3817
  /*topCategories*/
3855
3818
  e[3]
3856
- ), f = [];
3819
+ ), l = [];
3857
3820
  for (let g = 0; g < c.length; g += 1)
3858
- f[g] = xt(_t(e, c, g));
3859
- let d = le(
3821
+ l[g] = gt(ct(e, c, g));
3822
+ let d = he(
3860
3823
  /*otherCategories*/
3861
3824
  e[4]
3862
3825
  ), p = [];
3863
3826
  for (let g = 0; g < d.length; g += 1)
3864
- p[g] = Et(yt(e, d, g));
3827
+ p[g] = mt(ft(e, d, g));
3865
3828
  return {
3866
3829
  c() {
3867
- t = O("div"), r = O("h4"), i = U(n), s = R();
3868
- for (let g = 0; g < f.length; g += 1)
3869
- f[g].c();
3870
- o = R(), u = O("h4"), a = U(h), l = R();
3830
+ t = O("div"), r = O("h4"), i = R(n), s = $();
3831
+ for (let g = 0; g < l.length; g += 1)
3832
+ l[g].c();
3833
+ o = $(), u = O("h4"), a = R(f), h = $();
3871
3834
  for (let g = 0; g < p.length; g += 1)
3872
3835
  p[g].c();
3873
3836
  H(r, "class", "CategoryTitle"), H(u, "class", "CategoryTitle"), H(t, "class", "CasinoCategories");
3874
3837
  },
3875
3838
  m(g, E) {
3876
- K(g, t, E), v(t, r), v(r, i), v(t, s);
3877
- for (let m = 0; m < f.length; m += 1)
3878
- f[m] && f[m].m(t, null);
3879
- v(t, o), v(t, u), v(u, a), v(t, l);
3839
+ Y(g, t, E), v(t, r), v(r, i), v(t, s);
3840
+ for (let m = 0; m < l.length; m += 1)
3841
+ l[m] && l[m].m(t, null);
3842
+ v(t, o), v(t, u), v(u, a), v(t, h);
3880
3843
  for (let m = 0; m < p.length; m += 1)
3881
3844
  p[m] && p[m].m(t, null);
3882
3845
  },
3883
3846
  p(g, E) {
3884
3847
  if (E & /*$_*/
3885
3848
  32 && n !== (n = /*$_*/
3886
- g[5]("topCategories") + "") && F(i, n), E & /*activecategory, topCategories, openGameCategory, $_*/
3849
+ g[5]("topCategories") + "") && D(i, n), E & /*activecategory, topCategories, openGameCategory, $_*/
3887
3850
  105) {
3888
- c = le(
3851
+ c = he(
3889
3852
  /*topCategories*/
3890
3853
  g[3]
3891
3854
  );
3892
3855
  let m;
3893
3856
  for (m = 0; m < c.length; m += 1) {
3894
- const T = _t(g, c, m);
3895
- f[m] ? f[m].p(T, E) : (f[m] = xt(T), f[m].c(), f[m].m(t, o));
3857
+ const T = ct(g, c, m);
3858
+ l[m] ? l[m].p(T, E) : (l[m] = gt(T), l[m].c(), l[m].m(t, o));
3896
3859
  }
3897
- for (; m < f.length; m += 1)
3898
- f[m].d(1);
3899
- f.length = c.length;
3860
+ for (; m < l.length; m += 1)
3861
+ l[m].d(1);
3862
+ l.length = c.length;
3900
3863
  }
3901
3864
  if (E & /*$_*/
3902
- 32 && h !== (h = /*$_*/
3903
- g[5]("otherCategories") + "") && F(a, h), E & /*activecategory, otherCategories, openGameCategory, $_*/
3865
+ 32 && f !== (f = /*$_*/
3866
+ g[5]("otherCategories") + "") && D(a, f), E & /*activecategory, otherCategories, openGameCategory, $_*/
3904
3867
  113) {
3905
- d = le(
3868
+ d = he(
3906
3869
  /*otherCategories*/
3907
3870
  g[4]
3908
3871
  );
3909
3872
  let m;
3910
3873
  for (m = 0; m < d.length; m += 1) {
3911
- const T = yt(g, d, m);
3912
- p[m] ? p[m].p(T, E) : (p[m] = Et(T), p[m].c(), p[m].m(t, null));
3874
+ const T = ft(g, d, m);
3875
+ p[m] ? p[m].p(T, E) : (p[m] = mt(T), p[m].c(), p[m].m(t, null));
3913
3876
  }
3914
3877
  for (; m < p.length; m += 1)
3915
3878
  p[m].d(1);
@@ -3917,30 +3880,30 @@ function bi(e) {
3917
3880
  }
3918
3881
  },
3919
3882
  d(g) {
3920
- g && k(t), tt(f, g), tt(p, g);
3883
+ g && j(t), Ze(l, g), Ze(p, g);
3921
3884
  }
3922
3885
  };
3923
3886
  }
3924
- function yi(e) {
3887
+ function oi(e) {
3925
3888
  let t;
3926
3889
  return {
3927
3890
  c() {
3928
3891
  t = O("p"), t.textContent = "Loading, please wait...", H(t, "class", "Message");
3929
3892
  },
3930
3893
  m(r, n) {
3931
- K(r, t, n);
3894
+ Y(r, t, n);
3932
3895
  },
3933
- p: M,
3896
+ p: I,
3934
3897
  d(r) {
3935
- r && k(t);
3898
+ r && j(t);
3936
3899
  }
3937
3900
  };
3938
3901
  }
3939
- function xt(e) {
3940
- let t, r, n, i, s, o, u, h = (
3902
+ function gt(e) {
3903
+ let t, r, n, i, s, o, u, f = (
3941
3904
  /*category*/
3942
3905
  e[24].name + ""
3943
- ), a, l, c, f = (
3906
+ ), a, h, c, l = (
3944
3907
  /*category*/
3945
3908
  e[24].games.count + ""
3946
3909
  ), d, p, g = (
@@ -3958,41 +3921,41 @@ function xt(e) {
3958
3921
  }
3959
3922
  return {
3960
3923
  c() {
3961
- t = O("div"), r = O("img"), s = R(), o = O("div"), u = O("p"), a = U(h), l = R(), c = O("p"), d = U(f), p = R(), E = U(g), pe(r.src, n = /*category*/
3924
+ t = O("div"), r = O("img"), s = $(), o = O("div"), u = O("p"), a = R(f), h = $(), c = O("p"), d = R(l), p = $(), E = R(g), me(r.src, n = /*category*/
3962
3925
  e[24].icon) || H(r, "src", n), H(r, "alt", i = /*category*/
3963
3926
  e[24].name), H(r, "class", "CategoryImage"), H(o, "class", "CategoryTextContainer"), H(t, "class", m = "Category " + /*activecategory*/
3964
3927
  (e[0] === /*category*/
3965
3928
  e[24].id ? "Active" : ""));
3966
3929
  },
3967
3930
  m(B, S) {
3968
- K(B, t, S), v(t, r), v(t, s), v(t, o), v(o, u), v(u, a), v(o, l), v(o, c), v(c, d), v(c, p), v(c, E), T || (A = Ht(t, "click", L), T = !0);
3931
+ Y(B, t, S), v(t, r), v(t, s), v(t, o), v(o, u), v(u, a), v(o, h), v(o, c), v(c, d), v(c, p), v(c, E), T || (A = yt(t, "click", L), T = !0);
3969
3932
  },
3970
3933
  p(B, S) {
3971
3934
  e = B, S & /*topCategories*/
3972
- 8 && !pe(r.src, n = /*category*/
3935
+ 8 && !me(r.src, n = /*category*/
3973
3936
  e[24].icon) && H(r, "src", n), S & /*topCategories*/
3974
3937
  8 && i !== (i = /*category*/
3975
3938
  e[24].name) && H(r, "alt", i), S & /*topCategories*/
3976
- 8 && h !== (h = /*category*/
3977
- e[24].name + "") && F(a, h), S & /*topCategories*/
3978
3939
  8 && f !== (f = /*category*/
3979
- e[24].games.count + "") && F(d, f), S & /*$_*/
3940
+ e[24].name + "") && D(a, f), S & /*topCategories*/
3941
+ 8 && l !== (l = /*category*/
3942
+ e[24].games.count + "") && D(d, l), S & /*$_*/
3980
3943
  32 && g !== (g = /*$_*/
3981
- e[5]("games") + "") && F(E, g), S & /*activecategory, topCategories*/
3944
+ e[5]("games") + "") && D(E, g), S & /*activecategory, topCategories*/
3982
3945
  9 && m !== (m = "Category " + /*activecategory*/
3983
3946
  (e[0] === /*category*/
3984
3947
  e[24].id ? "Active" : "")) && H(t, "class", m);
3985
3948
  },
3986
3949
  d(B) {
3987
- B && k(t), T = !1, A();
3950
+ B && j(t), T = !1, A();
3988
3951
  }
3989
3952
  };
3990
3953
  }
3991
- function Et(e) {
3992
- let t, r, n, i, s, o, u, h = (
3954
+ function mt(e) {
3955
+ let t, r, n, i, s, o, u, f = (
3993
3956
  /*category*/
3994
3957
  e[24].name + ""
3995
- ), a, l, c, f = (
3958
+ ), a, h, c, l = (
3996
3959
  /*category*/
3997
3960
  e[24].games.count + ""
3998
3961
  ), d, p, g = (
@@ -4010,42 +3973,42 @@ function Et(e) {
4010
3973
  }
4011
3974
  return {
4012
3975
  c() {
4013
- t = O("div"), r = O("img"), s = R(), o = O("div"), u = O("p"), a = U(h), l = R(), c = O("p"), d = U(f), p = R(), E = U(g), m = R(), pe(r.src, n = /*category*/
3976
+ t = O("div"), r = O("img"), s = $(), o = O("div"), u = O("p"), a = R(f), h = $(), c = O("p"), d = R(l), p = $(), E = R(g), m = $(), me(r.src, n = /*category*/
4014
3977
  e[24].icon) || H(r, "src", n), H(r, "alt", i = /*category*/
4015
3978
  e[24].name), H(r, "class", "CategoryImage"), H(o, "class", "CategoryTextContainer"), H(t, "class", T = "Category " + /*activecategory*/
4016
3979
  (e[0] === /*category*/
4017
3980
  e[24].id ? "Active" : ""));
4018
3981
  },
4019
3982
  m(S, w) {
4020
- K(S, t, w), v(t, r), v(t, s), v(t, o), v(o, u), v(u, a), v(o, l), v(o, c), v(c, d), v(c, p), v(c, E), v(t, m), A || (L = Ht(t, "click", B), A = !0);
3983
+ Y(S, t, w), v(t, r), v(t, s), v(t, o), v(o, u), v(u, a), v(o, h), v(o, c), v(c, d), v(c, p), v(c, E), v(t, m), A || (L = yt(t, "click", B), A = !0);
4021
3984
  },
4022
3985
  p(S, w) {
4023
3986
  e = S, w & /*otherCategories*/
4024
- 16 && !pe(r.src, n = /*category*/
3987
+ 16 && !me(r.src, n = /*category*/
4025
3988
  e[24].icon) && H(r, "src", n), w & /*otherCategories*/
4026
3989
  16 && i !== (i = /*category*/
4027
3990
  e[24].name) && H(r, "alt", i), w & /*otherCategories*/
4028
- 16 && h !== (h = /*category*/
4029
- e[24].name + "") && F(a, h), w & /*otherCategories*/
4030
3991
  16 && f !== (f = /*category*/
4031
- e[24].games.count + "") && F(d, f), w & /*$_*/
3992
+ e[24].name + "") && D(a, f), w & /*otherCategories*/
3993
+ 16 && l !== (l = /*category*/
3994
+ e[24].games.count + "") && D(d, l), w & /*$_*/
4032
3995
  32 && g !== (g = /*$_*/
4033
- e[5]("games") + "") && F(E, g), w & /*activecategory, otherCategories*/
3996
+ e[5]("games") + "") && D(E, g), w & /*activecategory, otherCategories*/
4034
3997
  17 && T !== (T = "Category " + /*activecategory*/
4035
3998
  (e[0] === /*category*/
4036
3999
  e[24].id ? "Active" : "")) && H(t, "class", T);
4037
4000
  },
4038
4001
  d(S) {
4039
- S && k(t), A = !1, L();
4002
+ S && j(t), A = !1, L();
4040
4003
  }
4041
4004
  };
4042
4005
  }
4043
- function _i(e) {
4006
+ function ai(e) {
4044
4007
  let t;
4045
4008
  function r(s, o) {
4046
4009
  return (
4047
4010
  /*isLoading*/
4048
- s[2] ? yi : bi
4011
+ s[2] ? oi : si
4049
4012
  );
4050
4013
  }
4051
4014
  let n = r(e), i = n(e);
@@ -4054,31 +4017,31 @@ function _i(e) {
4054
4017
  t = O("div"), i.c();
4055
4018
  },
4056
4019
  m(s, o) {
4057
- K(s, t, o), i.m(t, null), e[16](t);
4020
+ Y(s, t, o), i.m(t, null), e[16](t);
4058
4021
  },
4059
4022
  p(s, [o]) {
4060
4023
  n === (n = r(s)) && i ? i.p(s, o) : (i.d(1), i = n(s), i && (i.c(), i.m(t, null)));
4061
4024
  },
4062
- i: M,
4063
- o: M,
4025
+ i: I,
4026
+ o: I,
4064
4027
  d(s) {
4065
- s && k(t), i.d(), e[16](null);
4028
+ s && j(t), i.d(), e[16](null);
4066
4029
  }
4067
4030
  };
4068
4031
  }
4069
- function xi(e, t, r) {
4032
+ function ui(e, t, r) {
4070
4033
  let n;
4071
- ar(e, mi, (b) => r(5, n = b));
4072
- let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "en" } = t, { activecategory: u = "" } = t, { excludedflags: h = "" } = t, { clientstyling: a = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: c = "" } = t, f, d = !1;
4034
+ Qt(e, ri, (b) => r(5, n = b));
4035
+ let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "en" } = t, { activecategory: u = "" } = t, { excludedflags: f = "" } = t, { clientstyling: a = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: c = "" } = t, l, d = !1;
4073
4036
  const p = [];
4074
4037
  let g = [], E = [];
4075
- Object.keys(bt).forEach((b) => {
4076
- dt(b, bt[b]);
4038
+ Object.keys(lt).forEach((b) => {
4039
+ ht(b, lt[b]);
4077
4040
  });
4078
4041
  const m = () => {
4079
4042
  fetch(c).then((N) => N.json()).then((N) => {
4080
- Object.keys(N).forEach((G) => {
4081
- dt(G, N[G]);
4043
+ Object.keys(N).forEach((U) => {
4044
+ ht(U, N[U]);
4082
4045
  });
4083
4046
  }).catch((N) => {
4084
4047
  console.log(N);
@@ -4088,27 +4051,24 @@ function xi(e, t, r) {
4088
4051
  const b = new URL(`${i}/v1/casino/groups/${s}`);
4089
4052
  b.searchParams.append("language", o), fetch(b).then((N) => N.json()).then((N) => {
4090
4053
  r(2, d = !1);
4091
- const G = h.split(",").map((j) => j.trim());
4054
+ const U = f.split(",").map((F) => F.trim());
4092
4055
  p.push(...N.items);
4093
- const Ze = p.filter((j) => !G.some((er) => {
4094
- var Qe;
4095
- return ((Qe = j.flags) == null ? void 0 : Qe.indexOf(er)) >= 0;
4096
- }));
4097
- r(3, g = Ze.filter((j) => j.isTopCategory === !0)), r(4, E = Ze.filter((j) => j.isTopCategory === !1));
4056
+ const ze = p.filter((F) => !U.some((Wt) => F.flags?.indexOf(Wt) >= 0));
4057
+ r(3, g = ze.filter((F) => F.isTopCategory === !0)), r(4, E = ze.filter((F) => F.isTopCategory === !1));
4098
4058
  });
4099
4059
  }, A = (b) => {
4100
4060
  window.postMessage({ type: "OpenGameCategory", categoryId: b }, window.location.href);
4101
4061
  }, L = () => {
4102
- pi(o);
4062
+ ni(o);
4103
4063
  }, B = () => {
4104
4064
  let b = document.createElement("style");
4105
- b.innerHTML = a, f.appendChild(b);
4065
+ b.innerHTML = a, l.appendChild(b);
4106
4066
  }, S = () => {
4107
- let b = new URL(l), N = document.createElement("style");
4108
- fetch(b.href).then((G) => G.text()).then((G) => {
4109
- N.innerHTML = G, setTimeout(
4067
+ let b = new URL(h), N = document.createElement("style");
4068
+ fetch(b.href).then((U) => U.text()).then((U) => {
4069
+ N.innerHTML = U, setTimeout(
4110
4070
  () => {
4111
- f.appendChild(N);
4071
+ l.appendChild(N);
4112
4072
  },
4113
4073
  1
4114
4074
  ), setTimeout(
@@ -4117,24 +4077,24 @@ function xi(e, t, r) {
4117
4077
  500
4118
4078
  );
4119
4079
  });
4120
- }, w = (b) => A(b.id), Yt = (b) => A(b.id);
4121
- function Kt(b) {
4122
- we[b ? "unshift" : "push"](() => {
4123
- f = b, r(1, f);
4080
+ }, w = (b) => A(b.id), Xt = (b) => A(b.id);
4081
+ function zt(b) {
4082
+ Oe[b ? "unshift" : "push"](() => {
4083
+ l = b, r(1, l);
4124
4084
  });
4125
4085
  }
4126
4086
  return e.$$set = (b) => {
4127
- "endpoint" in b && r(7, i = b.endpoint), "datasource" in b && r(8, s = b.datasource), "lang" in b && r(9, o = b.lang), "activecategory" in b && r(0, u = b.activecategory), "excludedflags" in b && r(10, h = b.excludedflags), "clientstyling" in b && r(11, a = b.clientstyling), "clientstylingurl" in b && r(12, l = b.clientstylingurl), "translationurl" in b && r(13, c = b.translationurl);
4087
+ "endpoint" in b && r(7, i = b.endpoint), "datasource" in b && r(8, s = b.datasource), "lang" in b && r(9, o = b.lang), "activecategory" in b && r(0, u = b.activecategory), "excludedflags" in b && r(10, f = b.excludedflags), "clientstyling" in b && r(11, a = b.clientstyling), "clientstylingurl" in b && r(12, h = b.clientstylingurl), "translationurl" in b && r(13, c = b.translationurl);
4128
4088
  }, e.$$.update = () => {
4129
4089
  e.$$.dirty & /*endpoint, datasource*/
4130
4090
  384 && i && s && T(), e.$$.dirty & /*translationurl*/
4131
4091
  8192 && c && m(), e.$$.dirty & /*lang*/
4132
4092
  512 && o && L(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4133
- 2050 && a && f && B(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4134
- 4098 && l && f && S();
4093
+ 2050 && a && l && B(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4094
+ 4098 && h && l && S();
4135
4095
  }, [
4136
4096
  u,
4137
- f,
4097
+ l,
4138
4098
  d,
4139
4099
  g,
4140
4100
  E,
@@ -4143,23 +4103,23 @@ function xi(e, t, r) {
4143
4103
  i,
4144
4104
  s,
4145
4105
  o,
4146
- h,
4106
+ f,
4147
4107
  a,
4148
- l,
4108
+ h,
4149
4109
  c,
4150
4110
  w,
4151
- Yt,
4152
- Kt
4111
+ Xt,
4112
+ zt
4153
4113
  ];
4154
4114
  }
4155
- class Jt extends Tr {
4115
+ class Vt extends cr {
4156
4116
  constructor(t) {
4157
- super(), vr(
4117
+ super(), lr(
4158
4118
  this,
4159
4119
  t,
4160
- xi,
4161
- _i,
4162
- Ct,
4120
+ ui,
4121
+ ai,
4122
+ dt,
4163
4123
  {
4164
4124
  endpoint: 7,
4165
4125
  datasource: 8,
@@ -4170,90 +4130,90 @@ class Jt extends Tr {
4170
4130
  clientstylingurl: 12,
4171
4131
  translationurl: 13
4172
4132
  },
4173
- di
4133
+ ii
4174
4134
  );
4175
4135
  }
4176
4136
  get endpoint() {
4177
4137
  return this.$$.ctx[7];
4178
4138
  }
4179
4139
  set endpoint(t) {
4180
- this.$$set({ endpoint: t }), $();
4140
+ this.$$set({ endpoint: t }), M();
4181
4141
  }
4182
4142
  get datasource() {
4183
4143
  return this.$$.ctx[8];
4184
4144
  }
4185
4145
  set datasource(t) {
4186
- this.$$set({ datasource: t }), $();
4146
+ this.$$set({ datasource: t }), M();
4187
4147
  }
4188
4148
  get lang() {
4189
4149
  return this.$$.ctx[9];
4190
4150
  }
4191
4151
  set lang(t) {
4192
- this.$$set({ lang: t }), $();
4152
+ this.$$set({ lang: t }), M();
4193
4153
  }
4194
4154
  get activecategory() {
4195
4155
  return this.$$.ctx[0];
4196
4156
  }
4197
4157
  set activecategory(t) {
4198
- this.$$set({ activecategory: t }), $();
4158
+ this.$$set({ activecategory: t }), M();
4199
4159
  }
4200
4160
  get excludedflags() {
4201
4161
  return this.$$.ctx[10];
4202
4162
  }
4203
4163
  set excludedflags(t) {
4204
- this.$$set({ excludedflags: t }), $();
4164
+ this.$$set({ excludedflags: t }), M();
4205
4165
  }
4206
4166
  get clientstyling() {
4207
4167
  return this.$$.ctx[11];
4208
4168
  }
4209
4169
  set clientstyling(t) {
4210
- this.$$set({ clientstyling: t }), $();
4170
+ this.$$set({ clientstyling: t }), M();
4211
4171
  }
4212
4172
  get clientstylingurl() {
4213
4173
  return this.$$.ctx[12];
4214
4174
  }
4215
4175
  set clientstylingurl(t) {
4216
- this.$$set({ clientstylingurl: t }), $();
4176
+ this.$$set({ clientstylingurl: t }), M();
4217
4177
  }
4218
4178
  get translationurl() {
4219
4179
  return this.$$.ctx[13];
4220
4180
  }
4221
4181
  set translationurl(t) {
4222
- this.$$set({ translationurl: t }), $();
4182
+ this.$$set({ translationurl: t }), M();
4223
4183
  }
4224
4184
  }
4225
- Cr(Jt, { endpoint: {}, datasource: {}, lang: {}, activecategory: {}, excludedflags: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4226
- const Ti = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4185
+ fr(Vt, { endpoint: {}, datasource: {}, lang: {}, activecategory: {}, excludedflags: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4186
+ const fi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4227
4187
  __proto__: null,
4228
- default: Jt
4188
+ default: Vt
4229
4189
  }, Symbol.toStringTag, { value: "Module" }));
4230
4190
  export {
4231
- te as $,
4232
- Ti as C,
4233
- Tr as S,
4234
- zt as a,
4235
- ur as b,
4236
- Cr as c,
4237
- R as d,
4191
+ ee as $,
4192
+ fi as C,
4193
+ cr as S,
4194
+ Gt as a,
4195
+ qt as b,
4196
+ fr as c,
4197
+ $ as d,
4238
4198
  O as e,
4239
- $ as f,
4199
+ M as f,
4240
4200
  H as g,
4241
- Ci as h,
4242
- vr as i,
4243
- K as j,
4201
+ li as h,
4202
+ lr as i,
4203
+ Y as j,
4244
4204
  v as k,
4245
- Ht as l,
4246
- F as m,
4247
- M as n,
4248
- k as o,
4249
- ar as p,
4250
- we as q,
4251
- ae as r,
4252
- Ct as s,
4253
- U as t,
4254
- mi as u,
4255
- le as v,
4256
- vi as w,
4257
- tt as x,
4258
- pe as y
4205
+ yt as l,
4206
+ D as m,
4207
+ I as n,
4208
+ j as o,
4209
+ Qt as p,
4210
+ Oe as q,
4211
+ oe as r,
4212
+ dt as s,
4213
+ R as t,
4214
+ ri as u,
4215
+ he as v,
4216
+ hi as w,
4217
+ Ze as x,
4218
+ me as y
4259
4219
  };