@everymatrix/player-account-gaming-limits-popup 1.53.0 → 1.53.11

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,75 +1,46 @@
1
- var lr = Object.defineProperty, hr = Object.defineProperties;
2
- var cr = Object.getOwnPropertyDescriptors;
3
- var Ke = Object.getOwnPropertySymbols;
4
- var fr = Object.prototype.hasOwnProperty, pr = Object.prototype.propertyIsEnumerable;
5
- var Ee = (e, t, r) => t in e ? lr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, et = (e, t) => {
6
- for (var r in t || (t = {}))
7
- fr.call(t, r) && Ee(e, r, t[r]);
8
- if (Ke)
9
- for (var r of Ke(t))
10
- pr.call(t, r) && Ee(e, r, t[r]);
11
- return e;
12
- }, tt = (e, t) => hr(e, cr(t));
13
- var C = (e, t, r) => Ee(e, typeof t != "symbol" ? t + "" : t, r);
14
- var rt = (e, t, r) => new Promise((n, i) => {
15
- var o = (l) => {
16
- try {
17
- s(r.next(l));
18
- } catch (u) {
19
- i(u);
20
- }
21
- }, a = (l) => {
22
- try {
23
- s(r.throw(l));
24
- } catch (u) {
25
- i(u);
26
- }
27
- }, s = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(o, a);
28
- s((r = r.apply(e, t)).next());
29
- });
30
- function O() {
1
+ function A() {
31
2
  }
32
- function It(e) {
3
+ function xt(e) {
33
4
  return e();
34
5
  }
35
- function nt() {
6
+ function Ze() {
36
7
  return /* @__PURE__ */ Object.create(null);
37
8
  }
38
- function ie(e) {
39
- e.forEach(It);
9
+ function ne(e) {
10
+ e.forEach(xt);
40
11
  }
41
- function Xe(e) {
12
+ function Ve(e) {
42
13
  return typeof e == "function";
43
14
  }
44
- function Ct(e, t) {
15
+ function _t(e, t) {
45
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
17
  }
47
- function dr(e) {
18
+ function er(e) {
48
19
  return Object.keys(e).length === 0;
49
20
  }
50
- function Bt(e, ...t) {
21
+ function Et(e, ...t) {
51
22
  if (e == null) {
52
23
  for (const n of t)
53
24
  n(void 0);
54
- return O;
25
+ return A;
55
26
  }
56
27
  const r = e.subscribe(...t);
57
28
  return r.unsubscribe ? () => r.unsubscribe() : r;
58
29
  }
59
- function mr(e, t, r) {
60
- e.$$.on_destroy.push(Bt(t, r));
30
+ function tr(e, t, r) {
31
+ e.$$.on_destroy.push(Et(t, r));
61
32
  }
62
33
  function H(e, t) {
63
34
  e.appendChild(t);
64
35
  }
65
- function br(e, t, r) {
66
- const n = vr(e);
36
+ function rr(e, t, r) {
37
+ const n = nr(e);
67
38
  if (!n.getElementById(t)) {
68
- const i = A("style");
69
- i.id = t, i.textContent = r, yr(n, i);
39
+ const i = B("style");
40
+ i.id = t, i.textContent = r, ir(n, i);
70
41
  }
71
42
  }
72
- function vr(e) {
43
+ function nr(e) {
73
44
  if (!e) return document;
74
45
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
75
46
  return t && /** @type {ShadowRoot} */
@@ -78,50 +49,50 @@ function vr(e) {
78
49
  t
79
50
  ) : e.ownerDocument;
80
51
  }
81
- function yr(e, t) {
52
+ function ir(e, t) {
82
53
  return H(
83
54
  /** @type {Document} */
84
55
  e.head || e,
85
56
  t
86
57
  ), t.sheet;
87
58
  }
88
- function oe(e, t, r) {
59
+ function ie(e, t, r) {
89
60
  e.insertBefore(t, r || null);
90
61
  }
91
- function Z(e) {
62
+ function q(e) {
92
63
  e.parentNode && e.parentNode.removeChild(e);
93
64
  }
94
- function A(e) {
65
+ function B(e) {
95
66
  return document.createElement(e);
96
67
  }
97
- function ae(e) {
68
+ function oe(e) {
98
69
  return document.createTextNode(e);
99
70
  }
100
- function _e() {
101
- return ae(" ");
71
+ function xe() {
72
+ return oe(" ");
102
73
  }
103
- function gr() {
104
- return ae("");
74
+ function or() {
75
+ return oe("");
105
76
  }
106
- function xr(e, t, r, n) {
77
+ function ar(e, t, r, n) {
107
78
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
108
79
  }
109
- function Er(e) {
80
+ function sr(e) {
110
81
  return function(t) {
111
82
  return t.preventDefault(), e.call(this, t);
112
83
  };
113
84
  }
114
- function B(e, t, r) {
85
+ function C(e, t, r) {
115
86
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
116
87
  }
117
- function _r(e) {
88
+ function ur(e) {
118
89
  return Array.from(e.childNodes);
119
90
  }
120
- function qe(e, t) {
91
+ function ze(e, t) {
121
92
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
122
93
  t);
123
94
  }
124
- function Tr(e) {
95
+ function lr(e) {
125
96
  const t = {};
126
97
  return e.childNodes.forEach(
127
98
  /** @param {Element} node */
@@ -130,93 +101,93 @@ function Tr(e) {
130
101
  }
131
102
  ), t;
132
103
  }
133
- let te;
134
- function ee(e) {
135
- te = e;
104
+ let ee;
105
+ function K(e) {
106
+ ee = e;
136
107
  }
137
- function Sr() {
138
- if (!te) throw new Error("Function called outside component initialization");
139
- return te;
108
+ function hr() {
109
+ if (!ee) throw new Error("Function called outside component initialization");
110
+ return ee;
140
111
  }
141
- function wr(e) {
142
- Sr().$$.on_mount.push(e);
112
+ function fr(e) {
113
+ hr().$$.on_mount.push(e);
143
114
  }
144
- const j = [], Ae = [];
145
- let k = [];
146
- const it = [], Pr = /* @__PURE__ */ Promise.resolve();
147
- let Oe = !1;
148
- function Hr() {
149
- Oe || (Oe = !0, Pr.then(M));
115
+ const F = [], Ie = [];
116
+ let j = [];
117
+ const Ye = [], cr = /* @__PURE__ */ Promise.resolve();
118
+ let Ce = !1;
119
+ function dr() {
120
+ Ce || (Ce = !0, cr.then(N));
150
121
  }
151
- function Le(e) {
152
- k.push(e);
122
+ function Be(e) {
123
+ j.push(e);
153
124
  }
154
- const Te = /* @__PURE__ */ new Set();
155
- let D = 0;
156
- function M() {
157
- if (D !== 0)
125
+ const _e = /* @__PURE__ */ new Set();
126
+ let G = 0;
127
+ function N() {
128
+ if (G !== 0)
158
129
  return;
159
- const e = te;
130
+ const e = ee;
160
131
  do {
161
132
  try {
162
- for (; D < j.length; ) {
163
- const t = j[D];
164
- D++, ee(t), Ir(t.$$);
133
+ for (; G < F.length; ) {
134
+ const t = F[G];
135
+ G++, K(t), pr(t.$$);
165
136
  }
166
137
  } catch (t) {
167
- throw j.length = 0, D = 0, t;
138
+ throw F.length = 0, G = 0, t;
168
139
  }
169
- for (ee(null), j.length = 0, D = 0; Ae.length; ) Ae.pop()();
170
- for (let t = 0; t < k.length; t += 1) {
171
- const r = k[t];
172
- Te.has(r) || (Te.add(r), r());
140
+ for (K(null), F.length = 0, G = 0; Ie.length; ) Ie.pop()();
141
+ for (let t = 0; t < j.length; t += 1) {
142
+ const r = j[t];
143
+ _e.has(r) || (_e.add(r), r());
173
144
  }
174
- k.length = 0;
175
- } while (j.length);
176
- for (; it.length; )
177
- it.pop()();
178
- Oe = !1, Te.clear(), ee(e);
145
+ j.length = 0;
146
+ } while (F.length);
147
+ for (; Ye.length; )
148
+ Ye.pop()();
149
+ Ce = !1, _e.clear(), K(e);
179
150
  }
180
- function Ir(e) {
151
+ function pr(e) {
181
152
  if (e.fragment !== null) {
182
- e.update(), ie(e.before_update);
153
+ e.update(), ne(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(Be);
185
156
  }
186
157
  }
187
- function Cr(e) {
158
+ function mr(e) {
188
159
  const t = [], r = [];
189
- k.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), k = t;
160
+ j.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), j = t;
190
161
  }
191
- const Br = /* @__PURE__ */ new Set();
192
- function Ar(e, t) {
193
- e && e.i && (Br.delete(e), e.i(t));
162
+ const br = /* @__PURE__ */ new Set();
163
+ function yr(e, t) {
164
+ e && e.i && (br.delete(e), e.i(t));
194
165
  }
195
- function Or(e, t, r) {
166
+ function gr(e, t, r) {
196
167
  const { fragment: n, after_update: i } = e.$$;
197
- n && n.m(t, r), Le(() => {
198
- const o = e.$$.on_mount.map(It).filter(Xe);
199
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ie(o), e.$$.on_mount = [];
200
- }), i.forEach(Le);
168
+ n && n.m(t, r), Be(() => {
169
+ const o = e.$$.on_mount.map(xt).filter(Ve);
170
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ne(o), e.$$.on_mount = [];
171
+ }), i.forEach(Be);
201
172
  }
202
- function Lr(e, t) {
173
+ function vr(e, t) {
203
174
  const r = e.$$;
204
- r.fragment !== null && (Cr(r.after_update), ie(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
175
+ r.fragment !== null && (mr(r.after_update), ne(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
205
176
  }
206
- function Mr(e, t) {
207
- e.$$.dirty[0] === -1 && (j.push(e), Hr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
177
+ function xr(e, t) {
178
+ e.$$.dirty[0] === -1 && (F.push(e), dr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
208
179
  }
209
- function Nr(e, t, r, n, i, o, a = null, s = [-1]) {
210
- const l = te;
211
- ee(e);
180
+ function _r(e, t, r, n, i, o, a = null, s = [-1]) {
181
+ const l = ee;
182
+ K(e);
212
183
  const u = e.$$ = {
213
184
  fragment: null,
214
185
  ctx: [],
215
186
  // state
216
187
  props: o,
217
- update: O,
188
+ update: A,
218
189
  not_equal: i,
219
- bound: nt(),
190
+ bound: Ze(),
220
191
  // lifecycle
221
192
  on_mount: [],
222
193
  on_destroy: [],
@@ -225,150 +196,146 @@ function Nr(e, t, r, n, i, o, a = null, s = [-1]) {
225
196
  after_update: [],
226
197
  context: new Map(t.context || (l ? l.$$.context : [])),
227
198
  // everything else
228
- callbacks: nt(),
199
+ callbacks: Ze(),
229
200
  dirty: s,
230
201
  skip_bound: !1,
231
202
  root: t.target || l.$$.root
232
203
  };
233
204
  a && a(u.root);
234
205
  let h = !1;
235
- if (u.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
236
- const g = p.length ? p[0] : c;
237
- return u.ctx && i(u.ctx[f], u.ctx[f] = g) && (!u.skip_bound && u.bound[f] && u.bound[f](g), h && Mr(e, f)), c;
238
- }) : [], u.update(), h = !0, ie(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
206
+ if (u.ctx = r(e, t.props || {}, (c, f, ...d) => {
207
+ const v = d.length ? d[0] : f;
208
+ return u.ctx && i(u.ctx[c], u.ctx[c] = v) && (!u.skip_bound && u.bound[c] && u.bound[c](v), h && xr(e, c)), f;
209
+ }), u.update(), h = !0, ne(u.before_update), u.fragment = n(u.ctx), t.target) {
239
210
  if (t.hydrate) {
240
- const f = _r(t.target);
241
- u.fragment && u.fragment.l(f), f.forEach(Z);
211
+ const c = ur(t.target);
212
+ u.fragment && u.fragment.l(c), c.forEach(q);
242
213
  } else
243
214
  u.fragment && u.fragment.c();
244
- t.intro && Ar(e.$$.fragment), Or(e, t.target, t.anchor), M();
215
+ t.intro && yr(e.$$.fragment), gr(e, t.target, t.anchor), N();
245
216
  }
246
- ee(l);
247
- }
248
- let At;
249
- typeof HTMLElement == "function" && (At = class extends HTMLElement {
250
- constructor(t, r, n) {
251
- super();
252
- /** The Svelte component constructor */
253
- C(this, "$$ctor");
254
- /** Slots */
255
- C(this, "$$s");
256
- /** The Svelte component instance */
257
- C(this, "$$c");
258
- /** Whether or not the custom element is connected */
259
- C(this, "$$cn", !1);
260
- /** Component props data */
261
- C(this, "$$d", {});
262
- /** `true` if currently in the process of reflecting component props back to attributes */
263
- C(this, "$$r", !1);
264
- /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
265
- C(this, "$$p_d", {});
266
- /** @type {Record<string, Function[]>} Event listeners */
267
- C(this, "$$l", {});
268
- /** @type {Map<Function, Function>} Event listener unsubscribe functions */
269
- C(this, "$$l_u", /* @__PURE__ */ new Map());
270
- this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
217
+ K(l);
218
+ }
219
+ let Tt;
220
+ typeof HTMLElement == "function" && (Tt = class extends HTMLElement {
221
+ /** The Svelte component constructor */
222
+ $$ctor;
223
+ /** Slots */
224
+ $$s;
225
+ /** The Svelte component instance */
226
+ $$c;
227
+ /** Whether or not the custom element is connected */
228
+ $$cn = !1;
229
+ /** Component props data */
230
+ $$d = {};
231
+ /** `true` if currently in the process of reflecting component props back to attributes */
232
+ $$r = !1;
233
+ /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
234
+ $$p_d = {};
235
+ /** @type {Record<string, Function[]>} Event listeners */
236
+ $$l = {};
237
+ /** @type {Map<Function, Function>} Event listener unsubscribe functions */
238
+ $$l_u = /* @__PURE__ */ new Map();
239
+ constructor(e, t, r) {
240
+ super(), this.$$ctor = e, this.$$s = t, r && this.attachShadow({ mode: "open" });
271
241
  }
272
- addEventListener(t, r, n) {
273
- if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(r), this.$$c) {
274
- const i = this.$$c.$on(t, r);
275
- this.$$l_u.set(r, i);
242
+ addEventListener(e, t, r) {
243
+ if (this.$$l[e] = this.$$l[e] || [], this.$$l[e].push(t), this.$$c) {
244
+ const n = this.$$c.$on(e, t);
245
+ this.$$l_u.set(t, n);
276
246
  }
277
- super.addEventListener(t, r, n);
247
+ super.addEventListener(e, t, r);
278
248
  }
279
- removeEventListener(t, r, n) {
280
- if (super.removeEventListener(t, r, n), this.$$c) {
281
- const i = this.$$l_u.get(r);
282
- i && (i(), this.$$l_u.delete(r));
249
+ removeEventListener(e, t, r) {
250
+ if (super.removeEventListener(e, t, r), this.$$c) {
251
+ const n = this.$$l_u.get(t);
252
+ n && (n(), this.$$l_u.delete(t));
283
253
  }
284
254
  }
285
- connectedCallback() {
286
- return rt(this, null, function* () {
287
- if (this.$$cn = !0, !this.$$c) {
288
- let t = function(o) {
289
- return () => {
290
- let a;
291
- return {
292
- c: function() {
293
- a = A("slot"), o !== "default" && B(a, "name", o);
294
- },
295
- /**
296
- * @param {HTMLElement} target
297
- * @param {HTMLElement} [anchor]
298
- */
299
- m: function(u, h) {
300
- oe(u, a, h);
301
- },
302
- d: function(u) {
303
- u && Z(a);
304
- }
305
- };
255
+ async connectedCallback() {
256
+ if (this.$$cn = !0, !this.$$c) {
257
+ let e = function(i) {
258
+ return () => {
259
+ let o;
260
+ return {
261
+ c: function() {
262
+ o = B("slot"), i !== "default" && C(o, "name", i);
263
+ },
264
+ /**
265
+ * @param {HTMLElement} target
266
+ * @param {HTMLElement} [anchor]
267
+ */
268
+ m: function(l, u) {
269
+ ie(l, o, u);
270
+ },
271
+ d: function(l) {
272
+ l && q(o);
273
+ }
306
274
  };
307
275
  };
308
- if (yield Promise.resolve(), !this.$$cn || this.$$c)
309
- return;
310
- const r = {}, n = Tr(this);
311
- for (const o of this.$$s)
312
- o in n && (r[o] = [t(o)]);
313
- for (const o of this.attributes) {
314
- const a = this.$$g_p(o.name);
315
- a in this.$$d || (this.$$d[a] = he(a, o.value, this.$$p_d, "toProp"));
276
+ };
277
+ if (await Promise.resolve(), !this.$$cn || this.$$c)
278
+ return;
279
+ const t = {}, r = lr(this);
280
+ for (const i of this.$$s)
281
+ i in r && (t[i] = [e(i)]);
282
+ for (const i of this.attributes) {
283
+ const o = this.$$g_p(i.name);
284
+ o in this.$$d || (this.$$d[o] = le(o, i.value, this.$$p_d, "toProp"));
285
+ }
286
+ for (const i in this.$$p_d)
287
+ !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
288
+ this.$$c = new this.$$ctor({
289
+ target: this.shadowRoot || this,
290
+ props: {
291
+ ...this.$$d,
292
+ $$slots: t,
293
+ $$scope: {
294
+ ctx: []
295
+ }
316
296
  }
317
- for (const o in this.$$p_d)
318
- !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
319
- this.$$c = new this.$$ctor({
320
- target: this.shadowRoot || this,
321
- props: tt(et({}, this.$$d), {
322
- $$slots: r,
323
- $$scope: {
324
- ctx: []
325
- }
326
- })
327
- });
328
- const i = () => {
329
- this.$$r = !0;
330
- for (const o in this.$$p_d)
331
- if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
332
- const a = he(
333
- o,
334
- this.$$d[o],
335
- this.$$p_d,
336
- "toAttribute"
337
- );
338
- a == null ? this.removeAttribute(this.$$p_d[o].attribute || o) : this.setAttribute(this.$$p_d[o].attribute || o, a);
339
- }
340
- this.$$r = !1;
341
- };
342
- this.$$c.$$.after_update.push(i), i();
343
- for (const o in this.$$l)
344
- for (const a of this.$$l[o]) {
345
- const s = this.$$c.$on(o, a);
346
- this.$$l_u.set(a, s);
297
+ });
298
+ const n = () => {
299
+ this.$$r = !0;
300
+ for (const i in this.$$p_d)
301
+ if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
302
+ const o = le(
303
+ i,
304
+ this.$$d[i],
305
+ this.$$p_d,
306
+ "toAttribute"
307
+ );
308
+ o == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, o);
347
309
  }
348
- this.$$l = {};
349
- }
350
- });
310
+ this.$$r = !1;
311
+ };
312
+ this.$$c.$$.after_update.push(n), n();
313
+ for (const i in this.$$l)
314
+ for (const o of this.$$l[i]) {
315
+ const a = this.$$c.$on(i, o);
316
+ this.$$l_u.set(o, a);
317
+ }
318
+ this.$$l = {};
319
+ }
351
320
  }
352
321
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
353
322
  // and setting attributes through setAttribute etc, this is helpful
354
- attributeChangedCallback(t, r, n) {
355
- var i;
356
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = he(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
323
+ attributeChangedCallback(e, t, r) {
324
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = le(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
357
325
  }
358
326
  disconnectedCallback() {
359
327
  this.$$cn = !1, Promise.resolve().then(() => {
360
328
  !this.$$cn && this.$$c && (this.$$c.$destroy(), this.$$c = void 0);
361
329
  });
362
330
  }
363
- $$g_p(t) {
331
+ $$g_p(e) {
364
332
  return Object.keys(this.$$p_d).find(
365
- (r) => this.$$p_d[r].attribute === t || !this.$$p_d[r].attribute && r.toLowerCase() === t
366
- ) || t;
333
+ (t) => this.$$p_d[t].attribute === e || !this.$$p_d[t].attribute && t.toLowerCase() === e
334
+ ) || e;
367
335
  }
368
336
  });
369
- function he(e, t, r, n) {
370
- var o;
371
- const i = (o = r[e]) == null ? void 0 : o.type;
337
+ function le(e, t, r, n) {
338
+ const i = r[e]?.type;
372
339
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
373
340
  return t;
374
341
  if (n === "toAttribute")
@@ -379,7 +346,7 @@ function he(e, t, r, n) {
379
346
  case "Boolean":
380
347
  return t ? "" : null;
381
348
  case "Number":
382
- return t == null ? null : t;
349
+ return t ?? null;
383
350
  default:
384
351
  return t;
385
352
  }
@@ -396,8 +363,8 @@ function he(e, t, r, n) {
396
363
  return t;
397
364
  }
398
365
  }
399
- function $r(e, t, r, n, i, o) {
400
- let a = class extends At {
366
+ function Er(e, t, r, n, i, o) {
367
+ let a = class extends Tt {
401
368
  constructor() {
402
369
  super(e, r, i), this.$$p_d = t;
403
370
  }
@@ -413,42 +380,38 @@ function $r(e, t, r, n, i, o) {
413
380
  return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
414
381
  },
415
382
  set(l) {
416
- var u;
417
- l = he(s, l, t), this.$$d[s] = l, (u = this.$$c) == null || u.$set({ [s]: l });
383
+ l = le(s, l, t), this.$$d[s] = l, this.$$c?.$set({ [s]: l });
418
384
  }
419
385
  });
420
386
  }), n.forEach((s) => {
421
387
  Object.defineProperty(a.prototype, s, {
422
388
  get() {
423
- var l;
424
- return (l = this.$$c) == null ? void 0 : l[s];
389
+ return this.$$c?.[s];
425
390
  }
426
391
  });
427
392
  }), e.element = /** @type {any} */
428
393
  a, a;
429
394
  }
430
- class Rr {
431
- constructor() {
432
- /**
433
- * ### PRIVATE API
434
- *
435
- * Do not use, may change at any time
436
- *
437
- * @type {any}
438
- */
439
- C(this, "$$");
440
- /**
441
- * ### PRIVATE API
442
- *
443
- * Do not use, may change at any time
444
- *
445
- * @type {any}
446
- */
447
- C(this, "$$set");
448
- }
395
+ class Tr {
396
+ /**
397
+ * ### PRIVATE API
398
+ *
399
+ * Do not use, may change at any time
400
+ *
401
+ * @type {any}
402
+ */
403
+ $$ = void 0;
404
+ /**
405
+ * ### PRIVATE API
406
+ *
407
+ * Do not use, may change at any time
408
+ *
409
+ * @type {any}
410
+ */
411
+ $$set = void 0;
449
412
  /** @returns {void} */
450
413
  $destroy() {
451
- Lr(this, 1), this.$destroy = O;
414
+ vr(this, 1), this.$destroy = A;
452
415
  }
453
416
  /**
454
417
  * @template {Extract<keyof Events, string>} K
@@ -457,8 +420,8 @@ class Rr {
457
420
  * @returns {() => void}
458
421
  */
459
422
  $on(t, r) {
460
- if (!Xe(r))
461
- return O;
423
+ if (!Ve(r))
424
+ return A;
462
425
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
463
426
  return n.push(r), () => {
464
427
  const i = n.indexOf(r);
@@ -470,37 +433,37 @@ class Rr {
470
433
  * @returns {void}
471
434
  */
472
435
  $set(t) {
473
- this.$$set && !dr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
436
+ this.$$set && !er(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
474
437
  }
475
438
  }
476
- const Ur = "4";
477
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Ur);
478
- var Me = function(e, t) {
479
- return Me = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
439
+ const Sr = "4";
440
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Sr);
441
+ var Ae = function(e, t) {
442
+ return Ae = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
480
443
  r.__proto__ = n;
481
444
  } || function(r, n) {
482
445
  for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
483
- }, Me(e, t);
446
+ }, Ae(e, t);
484
447
  };
485
- function $(e, t) {
448
+ function M(e, t) {
486
449
  if (typeof t != "function" && t !== null)
487
450
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
488
- Me(e, t);
451
+ Ae(e, t);
489
452
  function r() {
490
453
  this.constructor = e;
491
454
  }
492
455
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
493
456
  }
494
- var v = function() {
495
- return v = Object.assign || function(t) {
457
+ var y = function() {
458
+ return y = Object.assign || function(t) {
496
459
  for (var r, n = 1, i = arguments.length; n < i; n++) {
497
460
  r = arguments[n];
498
461
  for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
499
462
  }
500
463
  return t;
501
- }, v.apply(this, arguments);
464
+ }, y.apply(this, arguments);
502
465
  };
503
- function Gr(e, t) {
466
+ function wr(e, t) {
504
467
  var r = {};
505
468
  for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
506
469
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -508,7 +471,7 @@ function Gr(e, t) {
508
471
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
509
472
  return r;
510
473
  }
511
- function Ne(e) {
474
+ function Oe(e) {
512
475
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
513
476
  if (r) return r.call(e);
514
477
  if (e && typeof e.length == "number") return {
@@ -518,7 +481,7 @@ function Ne(e) {
518
481
  };
519
482
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
520
483
  }
521
- function $e(e, t) {
484
+ function Ne(e, t) {
522
485
  var r = typeof Symbol == "function" && e[Symbol.iterator];
523
486
  if (!r) return e;
524
487
  var n = r.call(e), i, o = [], a;
@@ -535,21 +498,21 @@ function $e(e, t) {
535
498
  }
536
499
  return o;
537
500
  }
538
- function V(e, t, r) {
501
+ function k(e, t, r) {
539
502
  if (r || arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
540
503
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
541
504
  return e.concat(o || Array.prototype.slice.call(t));
542
505
  }
543
- function N(e) {
506
+ function L(e) {
544
507
  return typeof e == "function";
545
508
  }
546
- function Ot(e) {
509
+ function St(e) {
547
510
  var t = function(n) {
548
511
  Error.call(n), n.stack = new Error().stack;
549
512
  }, r = e(t);
550
513
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
551
514
  }
552
- var Se = Ot(function(e) {
515
+ var Ee = St(function(e) {
553
516
  return function(r) {
554
517
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
555
518
  ` + r.map(function(n, i) {
@@ -558,13 +521,13 @@ var Se = Ot(function(e) {
558
521
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
559
522
  };
560
523
  });
561
- function Re(e, t) {
524
+ function Le(e, t) {
562
525
  if (e) {
563
526
  var r = e.indexOf(t);
564
527
  0 <= r && e.splice(r, 1);
565
528
  }
566
529
  }
567
- var be = function() {
530
+ var me = function() {
568
531
  function e(t) {
569
532
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
570
533
  }
@@ -576,12 +539,12 @@ var be = function() {
576
539
  if (a)
577
540
  if (this._parentage = null, Array.isArray(a))
578
541
  try {
579
- for (var s = Ne(a), l = s.next(); !l.done; l = s.next()) {
542
+ for (var s = Oe(a), l = s.next(); !l.done; l = s.next()) {
580
543
  var u = l.value;
581
544
  u.remove(this);
582
545
  }
583
- } catch (y) {
584
- t = { error: y };
546
+ } catch (g) {
547
+ t = { error: g };
585
548
  } finally {
586
549
  try {
587
550
  l && !l.done && (r = s.return) && r.call(s);
@@ -592,42 +555,42 @@ var be = function() {
592
555
  else
593
556
  a.remove(this);
594
557
  var h = this.initialTeardown;
595
- if (N(h))
558
+ if (L(h))
596
559
  try {
597
560
  h();
598
- } catch (y) {
599
- o = y instanceof Se ? y.errors : [y];
561
+ } catch (g) {
562
+ o = g instanceof Ee ? g.errors : [g];
600
563
  }
601
- var f = this._finalizers;
602
- if (f) {
564
+ var c = this._finalizers;
565
+ if (c) {
603
566
  this._finalizers = null;
604
567
  try {
605
- for (var c = Ne(f), p = c.next(); !p.done; p = c.next()) {
606
- var g = p.value;
568
+ for (var f = Oe(c), d = f.next(); !d.done; d = f.next()) {
569
+ var v = d.value;
607
570
  try {
608
- ot(g);
609
- } catch (y) {
610
- o = o != null ? o : [], y instanceof Se ? o = V(V([], $e(o)), $e(y.errors)) : o.push(y);
571
+ Qe(v);
572
+ } catch (g) {
573
+ o = o ?? [], g instanceof Ee ? o = k(k([], Ne(o)), Ne(g.errors)) : o.push(g);
611
574
  }
612
575
  }
613
- } catch (y) {
614
- n = { error: y };
576
+ } catch (g) {
577
+ n = { error: g };
615
578
  } finally {
616
579
  try {
617
- p && !p.done && (i = c.return) && i.call(c);
580
+ d && !d.done && (i = f.return) && i.call(f);
618
581
  } finally {
619
582
  if (n) throw n.error;
620
583
  }
621
584
  }
622
585
  }
623
586
  if (o)
624
- throw new Se(o);
587
+ throw new Ee(o);
625
588
  }
626
589
  }, e.prototype.add = function(t) {
627
590
  var r;
628
591
  if (t && t !== this)
629
592
  if (this.closed)
630
- ot(t);
593
+ Qe(t);
631
594
  else {
632
595
  if (t instanceof e) {
633
596
  if (t.closed || t._hasParent(this))
@@ -644,56 +607,56 @@ var be = function() {
644
607
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
645
608
  }, e.prototype._removeParent = function(t) {
646
609
  var r = this._parentage;
647
- r === t ? this._parentage = null : Array.isArray(r) && Re(r, t);
610
+ r === t ? this._parentage = null : Array.isArray(r) && Le(r, t);
648
611
  }, e.prototype.remove = function(t) {
649
612
  var r = this._finalizers;
650
- r && Re(r, t), t instanceof e && t._removeParent(this);
613
+ r && Le(r, t), t instanceof e && t._removeParent(this);
651
614
  }, e.EMPTY = function() {
652
615
  var t = new e();
653
616
  return t.closed = !0, t;
654
617
  }(), e;
655
- }(), Lt = be.EMPTY;
656
- function Mt(e) {
657
- return e instanceof be || e && "closed" in e && N(e.remove) && N(e.add) && N(e.unsubscribe);
618
+ }(), wt = me.EMPTY;
619
+ function Pt(e) {
620
+ return e instanceof me || e && "closed" in e && L(e.remove) && L(e.add) && L(e.unsubscribe);
658
621
  }
659
- function ot(e) {
660
- N(e) ? e() : e.unsubscribe();
622
+ function Qe(e) {
623
+ L(e) ? e() : e.unsubscribe();
661
624
  }
662
- var Nt = {
625
+ var Pr = {
663
626
  onUnhandledError: null,
664
627
  onStoppedNotification: null,
665
628
  Promise: void 0,
666
629
  useDeprecatedSynchronousErrorHandling: !1,
667
630
  useDeprecatedNextContext: !1
668
- }, Dr = {
631
+ }, Hr = {
669
632
  setTimeout: function(e, t) {
670
633
  for (var r = [], n = 2; n < arguments.length; n++)
671
634
  r[n - 2] = arguments[n];
672
- return setTimeout.apply(void 0, V([e, t], $e(r)));
635
+ return setTimeout.apply(void 0, k([e, t], Ne(r)));
673
636
  },
674
637
  clearTimeout: function(e) {
675
638
  return clearTimeout(e);
676
639
  },
677
640
  delegate: void 0
678
641
  };
679
- function Fr(e) {
680
- Dr.setTimeout(function() {
642
+ function Ir(e) {
643
+ Hr.setTimeout(function() {
681
644
  throw e;
682
645
  });
683
646
  }
684
- function at() {
647
+ function Je() {
685
648
  }
686
- function ce(e) {
649
+ function he(e) {
687
650
  e();
688
651
  }
689
- var $t = function(e) {
690
- $(t, e);
652
+ var Ht = function(e) {
653
+ M(t, e);
691
654
  function t(r) {
692
655
  var n = e.call(this) || this;
693
- return n.isStopped = !1, r ? (n.destination = r, Mt(r) && r.add(n)) : n.destination = zr, n;
656
+ return n.isStopped = !1, r ? (n.destination = r, Pt(r) && r.add(n)) : n.destination = Ar, n;
694
657
  }
695
658
  return t.create = function(r, n, i) {
696
- return new Ue(r, n, i);
659
+ return new Me(r, n, i);
697
660
  }, t.prototype.next = function(r) {
698
661
  this.isStopped || this._next(r);
699
662
  }, t.prototype.error = function(r) {
@@ -717,11 +680,7 @@ var $t = function(e) {
717
680
  this.unsubscribe();
718
681
  }
719
682
  }, t;
720
- }(be), jr = Function.prototype.bind;
721
- function we(e, t) {
722
- return jr.call(e, t);
723
- }
724
- var kr = function() {
683
+ }(me), Cr = function() {
725
684
  function e(t) {
726
685
  this.partialObserver = t;
727
686
  }
@@ -731,7 +690,7 @@ var kr = function() {
731
690
  try {
732
691
  r.next(t);
733
692
  } catch (n) {
734
- ue(n);
693
+ se(n);
735
694
  }
736
695
  }, e.prototype.error = function(t) {
737
696
  var r = this.partialObserver;
@@ -739,68 +698,56 @@ var kr = function() {
739
698
  try {
740
699
  r.error(t);
741
700
  } catch (n) {
742
- ue(n);
701
+ se(n);
743
702
  }
744
703
  else
745
- ue(t);
704
+ se(t);
746
705
  }, e.prototype.complete = function() {
747
706
  var t = this.partialObserver;
748
707
  if (t.complete)
749
708
  try {
750
709
  t.complete();
751
710
  } catch (r) {
752
- ue(r);
711
+ se(r);
753
712
  }
754
713
  }, e;
755
- }(), Ue = function(e) {
756
- $(t, e);
714
+ }(), Me = function(e) {
715
+ M(t, e);
757
716
  function t(r, n, i) {
758
717
  var o = e.call(this) || this, a;
759
- if (N(r) || !r)
760
- a = {
761
- next: r != null ? r : void 0,
762
- error: n != null ? n : void 0,
763
- complete: i != null ? i : void 0
764
- };
765
- else {
766
- var s;
767
- o && Nt.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
768
- return o.unsubscribe();
769
- }, a = {
770
- next: r.next && we(r.next, s),
771
- error: r.error && we(r.error, s),
772
- complete: r.complete && we(r.complete, s)
773
- }) : a = r;
774
- }
775
- return o.destination = new kr(a), o;
718
+ return L(r) || !r ? a = {
719
+ next: r ?? void 0,
720
+ error: n ?? void 0,
721
+ complete: i ?? void 0
722
+ } : a = r, o.destination = new Cr(a), o;
776
723
  }
777
724
  return t;
778
- }($t);
779
- function ue(e) {
780
- Fr(e);
725
+ }(Ht);
726
+ function se(e) {
727
+ Ir(e);
781
728
  }
782
- function Vr(e) {
729
+ function Br(e) {
783
730
  throw e;
784
731
  }
785
- var zr = {
732
+ var Ar = {
786
733
  closed: !0,
787
- next: at,
788
- error: Vr,
789
- complete: at
790
- }, Wr = function() {
734
+ next: Je,
735
+ error: Br,
736
+ complete: Je
737
+ }, Or = function() {
791
738
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
792
739
  }();
793
- function Xr(e) {
740
+ function Nr(e) {
794
741
  return e;
795
742
  }
796
- function qr(e) {
797
- return e.length === 0 ? Xr : e.length === 1 ? e[0] : function(r) {
743
+ function Lr(e) {
744
+ return e.length === 0 ? Nr : e.length === 1 ? e[0] : function(r) {
798
745
  return e.reduce(function(n, i) {
799
746
  return i(n);
800
747
  }, r);
801
748
  };
802
749
  }
803
- var st = function() {
750
+ var Ke = function() {
804
751
  function e(t) {
805
752
  t && (this._subscribe = t);
806
753
  }
@@ -808,8 +755,8 @@ var st = function() {
808
755
  var r = new e();
809
756
  return r.source = this, r.operator = t, r;
810
757
  }, e.prototype.subscribe = function(t, r, n) {
811
- var i = this, o = Yr(t) ? t : new Ue(t, r, n);
812
- return ce(function() {
758
+ var i = this, o = $r(t) ? t : new Me(t, r, n);
759
+ return he(function() {
813
760
  var a = i, s = a.operator, l = a.source;
814
761
  o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
815
762
  }), o;
@@ -821,8 +768,8 @@ var st = function() {
821
768
  }
822
769
  }, e.prototype.forEach = function(t, r) {
823
770
  var n = this;
824
- return r = ut(r), new r(function(i, o) {
825
- var a = new Ue({
771
+ return r = et(r), new r(function(i, o) {
772
+ var a = new Me({
826
773
  next: function(s) {
827
774
  try {
828
775
  t(s);
@@ -838,15 +785,15 @@ var st = function() {
838
785
  }, e.prototype._subscribe = function(t) {
839
786
  var r;
840
787
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
841
- }, e.prototype[Wr] = function() {
788
+ }, e.prototype[Or] = function() {
842
789
  return this;
843
790
  }, e.prototype.pipe = function() {
844
791
  for (var t = [], r = 0; r < arguments.length; r++)
845
792
  t[r] = arguments[r];
846
- return qr(t)(this);
793
+ return Lr(t)(this);
847
794
  }, e.prototype.toPromise = function(t) {
848
795
  var r = this;
849
- return t = ut(t), new t(function(n, i) {
796
+ return t = et(t), new t(function(n, i) {
850
797
  var o;
851
798
  r.subscribe(function(a) {
852
799
  return o = a;
@@ -860,40 +807,40 @@ var st = function() {
860
807
  return new e(t);
861
808
  }, e;
862
809
  }();
863
- function ut(e) {
810
+ function et(e) {
864
811
  var t;
865
- return (t = e != null ? e : Nt.Promise) !== null && t !== void 0 ? t : Promise;
812
+ return (t = e ?? Pr.Promise) !== null && t !== void 0 ? t : Promise;
866
813
  }
867
- function Zr(e) {
868
- return e && N(e.next) && N(e.error) && N(e.complete);
814
+ function Mr(e) {
815
+ return e && L(e.next) && L(e.error) && L(e.complete);
869
816
  }
870
- function Yr(e) {
871
- return e && e instanceof $t || Zr(e) && Mt(e);
817
+ function $r(e) {
818
+ return e && e instanceof Ht || Mr(e) && Pt(e);
872
819
  }
873
- var Qr = Ot(function(e) {
820
+ var Rr = St(function(e) {
874
821
  return function() {
875
822
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
876
823
  };
877
- }), Rt = function(e) {
878
- $(t, e);
824
+ }), It = function(e) {
825
+ M(t, e);
879
826
  function t() {
880
827
  var r = e.call(this) || this;
881
828
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
882
829
  }
883
830
  return t.prototype.lift = function(r) {
884
- var n = new lt(this, this);
831
+ var n = new tt(this, this);
885
832
  return n.operator = r, n;
886
833
  }, t.prototype._throwIfClosed = function() {
887
834
  if (this.closed)
888
- throw new Qr();
835
+ throw new Rr();
889
836
  }, t.prototype.next = function(r) {
890
837
  var n = this;
891
- ce(function() {
838
+ he(function() {
892
839
  var i, o;
893
840
  if (n._throwIfClosed(), !n.isStopped) {
894
841
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
895
842
  try {
896
- for (var a = Ne(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
843
+ for (var a = Oe(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
897
844
  var l = s.value;
898
845
  l.next(r);
899
846
  }
@@ -910,7 +857,7 @@ var Qr = Ot(function(e) {
910
857
  });
911
858
  }, t.prototype.error = function(r) {
912
859
  var n = this;
913
- ce(function() {
860
+ he(function() {
914
861
  if (n._throwIfClosed(), !n.isStopped) {
915
862
  n.hasError = n.isStopped = !0, n.thrownError = r;
916
863
  for (var i = n.observers; i.length; )
@@ -919,7 +866,7 @@ var Qr = Ot(function(e) {
919
866
  });
920
867
  }, t.prototype.complete = function() {
921
868
  var r = this;
922
- ce(function() {
869
+ he(function() {
923
870
  if (r._throwIfClosed(), !r.isStopped) {
924
871
  r.isStopped = !0;
925
872
  for (var n = r.observers; n.length; )
@@ -941,20 +888,20 @@ var Qr = Ot(function(e) {
941
888
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
942
889
  }, t.prototype._innerSubscribe = function(r) {
943
890
  var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
944
- return o || a ? Lt : (this.currentObservers = null, s.push(r), new be(function() {
945
- n.currentObservers = null, Re(s, r);
891
+ return o || a ? wt : (this.currentObservers = null, s.push(r), new me(function() {
892
+ n.currentObservers = null, Le(s, r);
946
893
  }));
947
894
  }, t.prototype._checkFinalizedStatuses = function(r) {
948
895
  var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
949
896
  i ? r.error(o) : a && r.complete();
950
897
  }, t.prototype.asObservable = function() {
951
- var r = new st();
898
+ var r = new Ke();
952
899
  return r.source = this, r;
953
900
  }, t.create = function(r, n) {
954
- return new lt(r, n);
901
+ return new tt(r, n);
955
902
  }, t;
956
- }(st), lt = function(e) {
957
- $(t, e);
903
+ }(Ke), tt = function(e) {
904
+ M(t, e);
958
905
  function t(r, n) {
959
906
  var i = e.call(this) || this;
960
907
  return i.destination = r, i.source = n, i;
@@ -970,17 +917,17 @@ var Qr = Ot(function(e) {
970
917
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
971
918
  }, t.prototype._subscribe = function(r) {
972
919
  var n, i;
973
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Lt;
920
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : wt;
974
921
  }, t;
975
- }(Rt), Ut = {
922
+ }(It), Ct = {
976
923
  now: function() {
977
- return (Ut.delegate || Date).now();
924
+ return (Ct.delegate || Date).now();
978
925
  },
979
926
  delegate: void 0
980
- }, Jr = function(e) {
981
- $(t, e);
927
+ }, Ur = function(e) {
928
+ M(t, e);
982
929
  function t(r, n, i) {
983
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ut);
930
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ct);
984
931
  var o = e.call(this) || this;
985
932
  return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
986
933
  }
@@ -1000,249 +947,251 @@ var Qr = Ot(function(e) {
1000
947
  u && o.splice(0, u + 1);
1001
948
  }
1002
949
  }, t;
1003
- }(Rt);
1004
- const ht = [], ct = {}, Kr = (e, t = 0) => {
1005
- if (ht.indexOf(e) == -1) {
1006
- const r = new Jr(t);
1007
- ct[e] = r, ht.push(e);
950
+ }(It);
951
+ const rt = [], nt = {}, Gr = (e, t = 0) => {
952
+ if (rt.indexOf(e) == -1) {
953
+ const r = new Ur(t);
954
+ nt[e] = r, rt.push(e);
1008
955
  }
1009
- return ct[e];
1010
- }, F = [];
1011
- function en(e, t) {
956
+ return nt[e];
957
+ }, D = [];
958
+ function Dr(e, t) {
1012
959
  return {
1013
- subscribe: ve(e, t).subscribe
960
+ subscribe: be(e, t).subscribe
1014
961
  };
1015
962
  }
1016
- function ve(e, t = O) {
963
+ function be(e, t = A) {
1017
964
  let r;
1018
965
  const n = /* @__PURE__ */ new Set();
1019
966
  function i(s) {
1020
- if (Ct(e, s) && (e = s, r)) {
1021
- const l = !F.length;
967
+ if (_t(e, s) && (e = s, r)) {
968
+ const l = !D.length;
1022
969
  for (const u of n)
1023
- u[1](), F.push(u, e);
970
+ u[1](), D.push(u, e);
1024
971
  if (l) {
1025
- for (let u = 0; u < F.length; u += 2)
1026
- F[u][0](F[u + 1]);
1027
- F.length = 0;
972
+ for (let u = 0; u < D.length; u += 2)
973
+ D[u][0](D[u + 1]);
974
+ D.length = 0;
1028
975
  }
1029
976
  }
1030
977
  }
1031
978
  function o(s) {
1032
979
  i(s(e));
1033
980
  }
1034
- function a(s, l = O) {
981
+ function a(s, l = A) {
1035
982
  const u = [s, l];
1036
- return n.add(u), n.size === 1 && (r = t(i, o) || O), s(e), () => {
983
+ return n.add(u), n.size === 1 && (r = t(i, o) || A), s(e), () => {
1037
984
  n.delete(u), n.size === 0 && r && (r(), r = null);
1038
985
  };
1039
986
  }
1040
987
  return { set: i, update: o, subscribe: a };
1041
988
  }
1042
- function Y(e, t, r) {
989
+ function Z(e, t, r) {
1043
990
  const n = !Array.isArray(e), i = n ? [e] : e;
1044
991
  if (!i.every(Boolean))
1045
992
  throw new Error("derived() expects stores as input, got a falsy value");
1046
993
  const o = t.length < 2;
1047
- return en(r, (a, s) => {
994
+ return Dr(r, (a, s) => {
1048
995
  let l = !1;
1049
996
  const u = [];
1050
- let h = 0, f = O;
1051
- const c = () => {
997
+ let h = 0, c = A;
998
+ const f = () => {
1052
999
  if (h)
1053
1000
  return;
1054
- f();
1055
- const g = t(n ? u[0] : u, a, s);
1056
- o ? a(g) : f = Xe(g) ? g : O;
1057
- }, p = i.map(
1058
- (g, y) => Bt(
1059
- g,
1001
+ c();
1002
+ const v = t(n ? u[0] : u, a, s);
1003
+ o ? a(v) : c = Ve(v) ? v : A;
1004
+ }, d = i.map(
1005
+ (v, g) => Et(
1006
+ v,
1060
1007
  (S) => {
1061
- u[y] = S, h &= ~(1 << y), l && c();
1008
+ u[g] = S, h &= ~(1 << g), l && f();
1062
1009
  },
1063
1010
  () => {
1064
- h |= 1 << y;
1011
+ h |= 1 << g;
1065
1012
  }
1066
1013
  )
1067
1014
  );
1068
- return l = !0, c(), function() {
1069
- ie(p), f(), l = !1;
1015
+ return l = !0, f(), function() {
1016
+ ne(d), c(), l = !1;
1070
1017
  };
1071
1018
  });
1072
1019
  }
1073
- function tn(e) {
1074
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1020
+ function Fr(e) {
1021
+ return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1075
1022
  }
1076
- var rn = function(t) {
1077
- return nn(t) && !on(t);
1023
+ var jr = function(t) {
1024
+ return kr(t) && !Vr(t);
1078
1025
  };
1079
- function nn(e) {
1026
+ function kr(e) {
1080
1027
  return !!e && typeof e == "object";
1081
1028
  }
1082
- function on(e) {
1029
+ function Vr(e) {
1083
1030
  var t = Object.prototype.toString.call(e);
1084
- return t === "[object RegExp]" || t === "[object Date]" || un(e);
1031
+ return t === "[object RegExp]" || t === "[object Date]" || Xr(e);
1085
1032
  }
1086
- var an = typeof Symbol == "function" && Symbol.for, sn = an ? Symbol.for("react.element") : 60103;
1087
- function un(e) {
1088
- return e.$$typeof === sn;
1033
+ var zr = typeof Symbol == "function" && Symbol.for, Wr = zr ? Symbol.for("react.element") : 60103;
1034
+ function Xr(e) {
1035
+ return e.$$typeof === Wr;
1089
1036
  }
1090
- function ln(e) {
1037
+ function qr(e) {
1091
1038
  return Array.isArray(e) ? [] : {};
1092
1039
  }
1093
- function re(e, t) {
1094
- return t.clone !== !1 && t.isMergeableObject(e) ? z(ln(e), e, t) : e;
1040
+ function te(e, t) {
1041
+ return t.clone !== !1 && t.isMergeableObject(e) ? V(qr(e), e, t) : e;
1095
1042
  }
1096
- function hn(e, t, r) {
1043
+ function Zr(e, t, r) {
1097
1044
  return e.concat(t).map(function(n) {
1098
- return re(n, r);
1045
+ return te(n, r);
1099
1046
  });
1100
1047
  }
1101
- function cn(e, t) {
1048
+ function Yr(e, t) {
1102
1049
  if (!t.customMerge)
1103
- return z;
1050
+ return V;
1104
1051
  var r = t.customMerge(e);
1105
- return typeof r == "function" ? r : z;
1052
+ return typeof r == "function" ? r : V;
1106
1053
  }
1107
- function fn(e) {
1054
+ function Qr(e) {
1108
1055
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1109
1056
  return Object.propertyIsEnumerable.call(e, t);
1110
1057
  }) : [];
1111
1058
  }
1112
- function ft(e) {
1113
- return Object.keys(e).concat(fn(e));
1059
+ function it(e) {
1060
+ return Object.keys(e).concat(Qr(e));
1114
1061
  }
1115
- function Gt(e, t) {
1062
+ function Bt(e, t) {
1116
1063
  try {
1117
1064
  return t in e;
1118
- } catch (r) {
1065
+ } catch {
1119
1066
  return !1;
1120
1067
  }
1121
1068
  }
1122
- function pn(e, t) {
1123
- return Gt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1069
+ function Jr(e, t) {
1070
+ return Bt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1124
1071
  }
1125
- function dn(e, t, r) {
1072
+ function Kr(e, t, r) {
1126
1073
  var n = {};
1127
- return r.isMergeableObject(e) && ft(e).forEach(function(i) {
1128
- n[i] = re(e[i], r);
1129
- }), ft(t).forEach(function(i) {
1130
- pn(e, i) || (Gt(e, i) && r.isMergeableObject(t[i]) ? n[i] = cn(i, r)(e[i], t[i], r) : n[i] = re(t[i], r));
1074
+ return r.isMergeableObject(e) && it(e).forEach(function(i) {
1075
+ n[i] = te(e[i], r);
1076
+ }), it(t).forEach(function(i) {
1077
+ Jr(e, i) || (Bt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Yr(i, r)(e[i], t[i], r) : n[i] = te(t[i], r));
1131
1078
  }), n;
1132
1079
  }
1133
- function z(e, t, r) {
1134
- r = r || {}, r.arrayMerge = r.arrayMerge || hn, r.isMergeableObject = r.isMergeableObject || rn, r.cloneUnlessOtherwiseSpecified = re;
1080
+ function V(e, t, r) {
1081
+ r = r || {}, r.arrayMerge = r.arrayMerge || Zr, r.isMergeableObject = r.isMergeableObject || jr, r.cloneUnlessOtherwiseSpecified = te;
1135
1082
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1136
- return o ? n ? r.arrayMerge(e, t, r) : dn(e, t, r) : re(t, r);
1083
+ return o ? n ? r.arrayMerge(e, t, r) : Kr(e, t, r) : te(t, r);
1137
1084
  }
1138
- z.all = function(t, r) {
1085
+ V.all = function(t, r) {
1139
1086
  if (!Array.isArray(t))
1140
1087
  throw new Error("first argument should be an array");
1141
1088
  return t.reduce(function(n, i) {
1142
- return z(n, i, r);
1089
+ return V(n, i, r);
1143
1090
  }, {});
1144
1091
  };
1145
- var mn = z, bn = mn;
1146
- const vn = /* @__PURE__ */ tn(bn);
1147
- function Pe(e, t) {
1148
- var r = t && t.cache ? t.cache : Tn, n = t && t.serializer ? t.serializer : _n, i = t && t.strategy ? t.strategy : gn;
1092
+ var en = V, tn = en;
1093
+ const rn = /* @__PURE__ */ Fr(tn);
1094
+ function Te(e, t) {
1095
+ var r = t && t.cache ? t.cache : hn, n = t && t.serializer ? t.serializer : un, i = t && t.strategy ? t.strategy : on;
1149
1096
  return i(e, {
1150
1097
  cache: r,
1151
1098
  serializer: n
1152
1099
  });
1153
1100
  }
1154
- function yn(e) {
1101
+ function nn(e) {
1155
1102
  return e == null || typeof e == "number" || typeof e == "boolean";
1156
1103
  }
1157
- function Dt(e, t, r, n) {
1158
- var i = yn(n) ? n : r(n), o = t.get(i);
1159
- return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1104
+ function At(e, t, r, n) {
1105
+ var i = nn(n) ? n : r(n), o = t.get(i);
1106
+ return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1160
1107
  }
1161
- function Ft(e, t, r) {
1108
+ function Ot(e, t, r) {
1162
1109
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1163
- return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1110
+ return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1164
1111
  }
1165
- function Ze(e, t, r, n, i) {
1112
+ function We(e, t, r, n, i) {
1166
1113
  return r.bind(t, e, n, i);
1167
1114
  }
1168
- function gn(e, t) {
1169
- var r = e.length === 1 ? Dt : Ft;
1170
- return Ze(e, this, r, t.cache.create(), t.serializer);
1115
+ function on(e, t) {
1116
+ var r = e.length === 1 ? At : Ot;
1117
+ return We(e, this, r, t.cache.create(), t.serializer);
1171
1118
  }
1172
- function xn(e, t) {
1173
- return Ze(e, this, Ft, t.cache.create(), t.serializer);
1119
+ function an(e, t) {
1120
+ return We(e, this, Ot, t.cache.create(), t.serializer);
1174
1121
  }
1175
- function En(e, t) {
1176
- return Ze(e, this, Dt, t.cache.create(), t.serializer);
1122
+ function sn(e, t) {
1123
+ return We(e, this, At, t.cache.create(), t.serializer);
1177
1124
  }
1178
- var _n = function() {
1125
+ var un = function() {
1179
1126
  return JSON.stringify(arguments);
1180
- };
1181
- function Ye() {
1182
- this.cache = /* @__PURE__ */ Object.create(null);
1183
- }
1184
- Ye.prototype.get = function(e) {
1185
- return this.cache[e];
1186
- };
1187
- Ye.prototype.set = function(e, t) {
1188
- this.cache[e] = t;
1189
- };
1190
- var Tn = {
1127
+ }, ln = (
1128
+ /** @class */
1129
+ function() {
1130
+ function e() {
1131
+ this.cache = /* @__PURE__ */ Object.create(null);
1132
+ }
1133
+ return e.prototype.get = function(t) {
1134
+ return this.cache[t];
1135
+ }, e.prototype.set = function(t, r) {
1136
+ this.cache[t] = r;
1137
+ }, e;
1138
+ }()
1139
+ ), hn = {
1191
1140
  create: function() {
1192
- return new Ye();
1141
+ return new ln();
1193
1142
  }
1194
- }, He = {
1195
- variadic: xn,
1196
- monadic: En
1143
+ }, Se = {
1144
+ variadic: an,
1145
+ monadic: sn
1197
1146
  }, m;
1198
1147
  (function(e) {
1199
1148
  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";
1200
1149
  })(m || (m = {}));
1201
- var E;
1150
+ var _;
1202
1151
  (function(e) {
1203
1152
  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";
1204
- })(E || (E = {}));
1205
- var W;
1153
+ })(_ || (_ = {}));
1154
+ var z;
1206
1155
  (function(e) {
1207
1156
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1208
- })(W || (W = {}));
1209
- function pt(e) {
1210
- return e.type === E.literal;
1157
+ })(z || (z = {}));
1158
+ function ot(e) {
1159
+ return e.type === _.literal;
1211
1160
  }
1212
- function Sn(e) {
1213
- return e.type === E.argument;
1161
+ function fn(e) {
1162
+ return e.type === _.argument;
1214
1163
  }
1215
- function jt(e) {
1216
- return e.type === E.number;
1164
+ function Nt(e) {
1165
+ return e.type === _.number;
1217
1166
  }
1218
- function kt(e) {
1219
- return e.type === E.date;
1167
+ function Lt(e) {
1168
+ return e.type === _.date;
1220
1169
  }
1221
- function Vt(e) {
1222
- return e.type === E.time;
1170
+ function Mt(e) {
1171
+ return e.type === _.time;
1223
1172
  }
1224
- function zt(e) {
1225
- return e.type === E.select;
1173
+ function $t(e) {
1174
+ return e.type === _.select;
1226
1175
  }
1227
- function Wt(e) {
1228
- return e.type === E.plural;
1176
+ function Rt(e) {
1177
+ return e.type === _.plural;
1229
1178
  }
1230
- function wn(e) {
1231
- return e.type === E.pound;
1179
+ function cn(e) {
1180
+ return e.type === _.pound;
1232
1181
  }
1233
- function Xt(e) {
1234
- return e.type === E.tag;
1182
+ function Ut(e) {
1183
+ return e.type === _.tag;
1235
1184
  }
1236
- function qt(e) {
1237
- return !!(e && typeof e == "object" && e.type === W.number);
1185
+ function Gt(e) {
1186
+ return !!(e && typeof e == "object" && e.type === z.number);
1238
1187
  }
1239
- function Ge(e) {
1240
- return !!(e && typeof e == "object" && e.type === W.dateTime);
1188
+ function $e(e) {
1189
+ return !!(e && typeof e == "object" && e.type === z.dateTime);
1241
1190
  }
1242
- var Zt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Pn = /(?:[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;
1243
- function Hn(e) {
1191
+ var Dt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, dn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1192
+ function pn(e) {
1244
1193
  var t = {};
1245
- return e.replace(Pn, function(r) {
1194
+ return e.replace(dn, function(r) {
1246
1195
  var n = r.length;
1247
1196
  switch (r[0]) {
1248
1197
  case "G":
@@ -1331,36 +1280,36 @@ function Hn(e) {
1331
1280
  return "";
1332
1281
  }), t;
1333
1282
  }
1334
- var In = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1335
- function Cn(e) {
1283
+ var mn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1284
+ function bn(e) {
1336
1285
  if (e.length === 0)
1337
1286
  throw new Error("Number skeleton cannot be empty");
1338
- for (var t = e.split(In).filter(function(c) {
1339
- return c.length > 0;
1287
+ for (var t = e.split(mn).filter(function(f) {
1288
+ return f.length > 0;
1340
1289
  }), r = [], n = 0, i = t; n < i.length; n++) {
1341
1290
  var o = i[n], a = o.split("/");
1342
1291
  if (a.length === 0)
1343
1292
  throw new Error("Invalid number skeleton");
1344
1293
  for (var s = a[0], l = a.slice(1), u = 0, h = l; u < h.length; u++) {
1345
- var f = h[u];
1346
- if (f.length === 0)
1294
+ var c = h[u];
1295
+ if (c.length === 0)
1347
1296
  throw new Error("Invalid number skeleton");
1348
1297
  }
1349
1298
  r.push({ stem: s, options: l });
1350
1299
  }
1351
1300
  return r;
1352
1301
  }
1353
- function Bn(e) {
1302
+ function yn(e) {
1354
1303
  return e.replace(/^(.*?)-/, "");
1355
1304
  }
1356
- var dt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Yt = /^(@+)?(\+|#+)?[rs]?$/g, An = /(\*)(0+)|(#+)(0+)|(0+)/g, Qt = /^(0+)$/;
1357
- function mt(e) {
1305
+ var at = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Ft = /^(@+)?(\+|#+)?[rs]?$/g, gn = /(\*)(0+)|(#+)(0+)|(0+)/g, jt = /^(0+)$/;
1306
+ function st(e) {
1358
1307
  var t = {};
1359
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Yt, function(r, n, i) {
1308
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Ft, function(r, n, i) {
1360
1309
  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)), "";
1361
1310
  }), t;
1362
1311
  }
1363
- function Jt(e) {
1312
+ function kt(e) {
1364
1313
  switch (e) {
1365
1314
  case "sign-auto":
1366
1315
  return {
@@ -1400,7 +1349,7 @@ function Jt(e) {
1400
1349
  };
1401
1350
  }
1402
1351
  }
1403
- function On(e) {
1352
+ function vn(e) {
1404
1353
  var t;
1405
1354
  if (e[0] === "E" && e[1] === "E" ? (t = {
1406
1355
  notation: "engineering"
@@ -1408,17 +1357,17 @@ function On(e) {
1408
1357
  notation: "scientific"
1409
1358
  }, e = e.slice(1)), t) {
1410
1359
  var r = e.slice(0, 2);
1411
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Qt.test(e))
1360
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !jt.test(e))
1412
1361
  throw new Error("Malformed concise eng/scientific notation");
1413
1362
  t.minimumIntegerDigits = e.length;
1414
1363
  }
1415
1364
  return t;
1416
1365
  }
1417
- function bt(e) {
1418
- var t = {}, r = Jt(e);
1366
+ function ut(e) {
1367
+ var t = {}, r = kt(e);
1419
1368
  return r || t;
1420
1369
  }
1421
- function Ln(e) {
1370
+ function xn(e) {
1422
1371
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1423
1372
  var i = n[r];
1424
1373
  switch (i.stem) {
@@ -1442,7 +1391,7 @@ function Ln(e) {
1442
1391
  continue;
1443
1392
  case "measure-unit":
1444
1393
  case "unit":
1445
- t.style = "unit", t.unit = Bn(i.options[0]);
1394
+ t.style = "unit", t.unit = yn(i.options[0]);
1446
1395
  continue;
1447
1396
  case "compact-short":
1448
1397
  case "K":
@@ -1453,13 +1402,13 @@ function Ln(e) {
1453
1402
  t.notation = "compact", t.compactDisplay = "long";
1454
1403
  continue;
1455
1404
  case "scientific":
1456
- t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1457
- return v(v({}, l), bt(u));
1405
+ t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1406
+ return y(y({}, l), ut(u));
1458
1407
  }, {}));
1459
1408
  continue;
1460
1409
  case "engineering":
1461
- t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1462
- return v(v({}, l), bt(u));
1410
+ t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1411
+ return y(y({}, l), ut(u));
1463
1412
  }, {}));
1464
1413
  continue;
1465
1414
  case "notation-simple":
@@ -1504,45 +1453,45 @@ function Ln(e) {
1504
1453
  case "integer-width":
1505
1454
  if (i.options.length > 1)
1506
1455
  throw new RangeError("integer-width stems only accept a single optional option");
1507
- i.options[0].replace(An, function(l, u, h, f, c, p) {
1456
+ i.options[0].replace(gn, function(l, u, h, c, f, d) {
1508
1457
  if (u)
1509
1458
  t.minimumIntegerDigits = h.length;
1510
1459
  else {
1511
- if (f && c)
1460
+ if (c && f)
1512
1461
  throw new Error("We currently do not support maximum integer digits");
1513
- if (p)
1462
+ if (d)
1514
1463
  throw new Error("We currently do not support exact integer digits");
1515
1464
  }
1516
1465
  return "";
1517
1466
  });
1518
1467
  continue;
1519
1468
  }
1520
- if (Qt.test(i.stem)) {
1469
+ if (jt.test(i.stem)) {
1521
1470
  t.minimumIntegerDigits = i.stem.length;
1522
1471
  continue;
1523
1472
  }
1524
- if (dt.test(i.stem)) {
1473
+ if (at.test(i.stem)) {
1525
1474
  if (i.options.length > 1)
1526
1475
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1527
- i.stem.replace(dt, function(l, u, h, f, c, p) {
1528
- return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && p ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1476
+ i.stem.replace(at, function(l, u, h, c, f, d) {
1477
+ return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && d ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1529
1478
  });
1530
1479
  var o = i.options[0];
1531
- o === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = v(v({}, t), mt(o)));
1480
+ o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), st(o)));
1532
1481
  continue;
1533
1482
  }
1534
- if (Yt.test(i.stem)) {
1535
- t = v(v({}, t), mt(i.stem));
1483
+ if (Ft.test(i.stem)) {
1484
+ t = y(y({}, t), st(i.stem));
1536
1485
  continue;
1537
1486
  }
1538
- var a = Jt(i.stem);
1539
- a && (t = v(v({}, t), a));
1540
- var s = On(i.stem);
1541
- s && (t = v(v({}, t), s));
1487
+ var a = kt(i.stem);
1488
+ a && (t = y(y({}, t), a));
1489
+ var s = vn(i.stem);
1490
+ s && (t = y(y({}, t), s));
1542
1491
  }
1543
1492
  return t;
1544
1493
  }
1545
- var le = {
1494
+ var ue = {
1546
1495
  "001": [
1547
1496
  "H",
1548
1497
  "h"
@@ -2957,13 +2906,13 @@ var le = {
2957
2906
  "h"
2958
2907
  ]
2959
2908
  };
2960
- function Mn(e, t) {
2909
+ function _n(e, t) {
2961
2910
  for (var r = "", n = 0; n < e.length; n++) {
2962
2911
  var i = e.charAt(n);
2963
2912
  if (i === "j") {
2964
2913
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2965
2914
  o++, n++;
2966
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Nn(t);
2915
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = En(t);
2967
2916
  for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
2968
2917
  r += l;
2969
2918
  for (; a-- > 0; )
@@ -2972,7 +2921,7 @@ function Mn(e, t) {
2972
2921
  }
2973
2922
  return r;
2974
2923
  }
2975
- function Nn(e) {
2924
+ function En(e) {
2976
2925
  var t = e.hourCycle;
2977
2926
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2978
2927
  e.hourCycles && // @ts-ignore
@@ -2991,23 +2940,23 @@ function Nn(e) {
2991
2940
  }
2992
2941
  var r = e.language, n;
2993
2942
  r !== "root" && (n = e.maximize().region);
2994
- var i = le[n || ""] || le[r || ""] || le["".concat(r, "-001")] || le["001"];
2943
+ var i = ue[n || ""] || ue[r || ""] || ue["".concat(r, "-001")] || ue["001"];
2995
2944
  return i[0];
2996
2945
  }
2997
- var Ie, $n = new RegExp("^".concat(Zt.source, "*")), Rn = new RegExp("".concat(Zt.source, "*$"));
2946
+ var we, Tn = new RegExp("^".concat(Dt.source, "*")), Sn = new RegExp("".concat(Dt.source, "*$"));
2998
2947
  function b(e, t) {
2999
2948
  return { start: e, end: t };
3000
2949
  }
3001
- var Un = !!String.prototype.startsWith && "_a".startsWith("a", 1), Gn = !!String.fromCodePoint, Dn = !!Object.fromEntries, Fn = !!String.prototype.codePointAt, jn = !!String.prototype.trimStart, kn = !!String.prototype.trimEnd, Vn = !!Number.isSafeInteger, zn = Vn ? Number.isSafeInteger : function(e) {
2950
+ var wn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Pn = !!String.fromCodePoint, Hn = !!Object.fromEntries, In = !!String.prototype.codePointAt, Cn = !!String.prototype.trimStart, Bn = !!String.prototype.trimEnd, An = !!Number.isSafeInteger, On = An ? Number.isSafeInteger : function(e) {
3002
2951
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3003
- }, De = !0;
2952
+ }, Re = !0;
3004
2953
  try {
3005
- var Wn = er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3006
- De = ((Ie = Wn.exec("a")) === null || Ie === void 0 ? void 0 : Ie[0]) === "a";
3007
- } catch (e) {
3008
- De = !1;
2954
+ var Nn = zt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2955
+ Re = ((we = Nn.exec("a")) === null || we === void 0 ? void 0 : we[0]) === "a";
2956
+ } catch {
2957
+ Re = !1;
3009
2958
  }
3010
- var vt = Un ? (
2959
+ var lt = wn ? (
3011
2960
  // Native
3012
2961
  function(t, r, n) {
3013
2962
  return t.startsWith(r, n);
@@ -3017,7 +2966,7 @@ var vt = Un ? (
3017
2966
  function(t, r, n) {
3018
2967
  return t.slice(n, n + r.length) === r;
3019
2968
  }
3020
- ), Fe = Gn ? String.fromCodePoint : (
2969
+ ), Ue = Pn ? String.fromCodePoint : (
3021
2970
  // IE11
3022
2971
  function() {
3023
2972
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3029,9 +2978,9 @@ var vt = Un ? (
3029
2978
  }
3030
2979
  return n;
3031
2980
  }
3032
- ), yt = (
2981
+ ), ht = (
3033
2982
  // native
3034
- Dn ? Object.fromEntries : (
2983
+ Hn ? Object.fromEntries : (
3035
2984
  // Ponyfill
3036
2985
  function(t) {
3037
2986
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3041,7 +2990,7 @@ var vt = Un ? (
3041
2990
  return r;
3042
2991
  }
3043
2992
  )
3044
- ), Kt = Fn ? (
2993
+ ), Vt = In ? (
3045
2994
  // Native
3046
2995
  function(t, r) {
3047
2996
  return t.codePointAt(r);
@@ -3055,7 +3004,7 @@ var vt = Un ? (
3055
3004
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3056
3005
  }
3057
3006
  }
3058
- ), Xn = jn ? (
3007
+ ), Ln = Cn ? (
3059
3008
  // Native
3060
3009
  function(t) {
3061
3010
  return t.trimStart();
@@ -3063,9 +3012,9 @@ var vt = Un ? (
3063
3012
  ) : (
3064
3013
  // Ponyfill
3065
3014
  function(t) {
3066
- return t.replace($n, "");
3015
+ return t.replace(Tn, "");
3067
3016
  }
3068
- ), qn = kn ? (
3017
+ ), Mn = Bn ? (
3069
3018
  // Native
3070
3019
  function(t) {
3071
3020
  return t.trimEnd();
@@ -3073,32 +3022,32 @@ var vt = Un ? (
3073
3022
  ) : (
3074
3023
  // Ponyfill
3075
3024
  function(t) {
3076
- return t.replace(Rn, "");
3025
+ return t.replace(Sn, "");
3077
3026
  }
3078
3027
  );
3079
- function er(e, t) {
3028
+ function zt(e, t) {
3080
3029
  return new RegExp(e, t);
3081
3030
  }
3082
- var je;
3083
- if (De) {
3084
- var gt = er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3085
- je = function(t, r) {
3031
+ var Ge;
3032
+ if (Re) {
3033
+ var ft = zt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3034
+ Ge = function(t, r) {
3086
3035
  var n;
3087
- gt.lastIndex = r;
3088
- var i = gt.exec(t);
3036
+ ft.lastIndex = r;
3037
+ var i = ft.exec(t);
3089
3038
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3090
3039
  };
3091
3040
  } else
3092
- je = function(t, r) {
3041
+ Ge = function(t, r) {
3093
3042
  for (var n = []; ; ) {
3094
- var i = Kt(t, r);
3095
- if (i === void 0 || tr(i) || Jn(i))
3043
+ var i = Vt(t, r);
3044
+ if (i === void 0 || Wt(i) || Gn(i))
3096
3045
  break;
3097
3046
  n.push(i), r += i >= 65536 ? 2 : 1;
3098
3047
  }
3099
- return Fe.apply(void 0, n);
3048
+ return Ue.apply(void 0, n);
3100
3049
  };
3101
- var Zn = (
3050
+ var $n = (
3102
3051
  /** @class */
3103
3052
  function() {
3104
3053
  function e(t, r) {
@@ -3122,14 +3071,14 @@ var Zn = (
3122
3071
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3123
3072
  var s = this.clonePosition();
3124
3073
  this.bump(), i.push({
3125
- type: E.pound,
3074
+ type: _.pound,
3126
3075
  location: b(s, this.clonePosition())
3127
3076
  });
3128
3077
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3129
3078
  if (n)
3130
3079
  break;
3131
3080
  return this.error(m.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
3132
- } else if (o === 60 && !this.ignoreTag && ke(this.peek() || 0)) {
3081
+ } else if (o === 60 && !this.ignoreTag && De(this.peek() || 0)) {
3133
3082
  var a = this.parseTag(t, r);
3134
3083
  if (a.err)
3135
3084
  return a;
@@ -3150,7 +3099,7 @@ var Zn = (
3150
3099
  if (this.bumpSpace(), this.bumpIf("/>"))
3151
3100
  return {
3152
3101
  val: {
3153
- type: E.literal,
3102
+ type: _.literal,
3154
3103
  value: "<".concat(i, "/>"),
3155
3104
  location: b(n, this.clonePosition())
3156
3105
  },
@@ -3162,12 +3111,12 @@ var Zn = (
3162
3111
  return o;
3163
3112
  var a = o.val, s = this.clonePosition();
3164
3113
  if (this.bumpIf("</")) {
3165
- if (this.isEOF() || !ke(this.char()))
3114
+ if (this.isEOF() || !De(this.char()))
3166
3115
  return this.error(m.INVALID_TAG, b(s, this.clonePosition()));
3167
3116
  var l = this.clonePosition(), u = this.parseTagName();
3168
3117
  return i !== u ? this.error(m.UNMATCHED_CLOSING_TAG, b(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3169
3118
  val: {
3170
- type: E.tag,
3119
+ type: _.tag,
3171
3120
  value: i,
3172
3121
  children: a,
3173
3122
  location: b(n, this.clonePosition())
@@ -3180,7 +3129,7 @@ var Zn = (
3180
3129
  return this.error(m.INVALID_TAG, b(n, this.clonePosition()));
3181
3130
  }, e.prototype.parseTagName = function() {
3182
3131
  var t = this.offset();
3183
- for (this.bump(); !this.isEOF() && Qn(this.char()); )
3132
+ for (this.bump(); !this.isEOF() && Un(this.char()); )
3184
3133
  this.bump();
3185
3134
  return this.message.slice(t, this.offset());
3186
3135
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3204,12 +3153,12 @@ var Zn = (
3204
3153
  }
3205
3154
  var l = b(n, this.clonePosition());
3206
3155
  return {
3207
- val: { type: E.literal, value: i, location: l },
3156
+ val: { type: _.literal, value: i, location: l },
3208
3157
  err: null
3209
3158
  };
3210
3159
  }, e.prototype.tryParseLeftAngleBracket = function() {
3211
3160
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3212
- !Yn(this.peek() || 0)) ? (this.bump(), "<") : null;
3161
+ !Rn(this.peek() || 0)) ? (this.bump(), "<") : null;
3213
3162
  }, e.prototype.tryParseQuote = function(t) {
3214
3163
  if (this.isEOF() || this.char() !== 39)
3215
3164
  return null;
@@ -3243,12 +3192,12 @@ var Zn = (
3243
3192
  r.push(n);
3244
3193
  this.bump();
3245
3194
  }
3246
- return Fe.apply(void 0, r);
3195
+ return Ue.apply(void 0, r);
3247
3196
  }, e.prototype.tryParseUnquoted = function(t, r) {
3248
3197
  if (this.isEOF())
3249
3198
  return null;
3250
3199
  var n = this.char();
3251
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Fe(n));
3200
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ue(n));
3252
3201
  }, e.prototype.parseArgument = function(t, r) {
3253
3202
  var n = this.clonePosition();
3254
3203
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3264,7 +3213,7 @@ var Zn = (
3264
3213
  case 125:
3265
3214
  return this.bump(), {
3266
3215
  val: {
3267
- type: E.argument,
3216
+ type: _.argument,
3268
3217
  // value does not include the opening and closing braces.
3269
3218
  value: i,
3270
3219
  location: b(n, this.clonePosition())
@@ -3277,7 +3226,7 @@ var Zn = (
3277
3226
  return this.error(m.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
3278
3227
  }
3279
3228
  }, e.prototype.parseIdentifierIfPossible = function() {
3280
- var t = this.clonePosition(), r = this.offset(), n = je(this.message, r), i = r + n.length;
3229
+ var t = this.clonePosition(), r = this.offset(), n = Ge(this.message, r), i = r + n.length;
3281
3230
  this.bumpTo(i);
3282
3231
  var o = this.clonePosition(), a = b(t, o);
3283
3232
  return { value: n, location: a };
@@ -3293,50 +3242,50 @@ var Zn = (
3293
3242
  var u = null;
3294
3243
  if (this.bumpIf(",")) {
3295
3244
  this.bumpSpace();
3296
- var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3297
- if (f.err)
3298
- return f;
3299
- var c = qn(f.val);
3300
- if (c.length === 0)
3245
+ var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3246
+ if (c.err)
3247
+ return c;
3248
+ var f = Mn(c.val);
3249
+ if (f.length === 0)
3301
3250
  return this.error(m.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
3302
- var p = b(h, this.clonePosition());
3303
- u = { style: c, styleLocation: p };
3251
+ var d = b(h, this.clonePosition());
3252
+ u = { style: f, styleLocation: d };
3304
3253
  }
3305
- var g = this.tryParseArgumentClose(i);
3306
- if (g.err)
3307
- return g;
3308
- var y = b(i, this.clonePosition());
3309
- if (u && vt(u == null ? void 0 : u.style, "::", 0)) {
3310
- var S = Xn(u.style.slice(2));
3254
+ var v = this.tryParseArgumentClose(i);
3255
+ if (v.err)
3256
+ return v;
3257
+ var g = b(i, this.clonePosition());
3258
+ if (u && lt(u?.style, "::", 0)) {
3259
+ var S = Ln(u.style.slice(2));
3311
3260
  if (s === "number") {
3312
- var f = this.parseNumberSkeletonFromString(S, u.styleLocation);
3313
- return f.err ? f : {
3314
- val: { type: E.number, value: n, location: y, style: f.val },
3261
+ var c = this.parseNumberSkeletonFromString(S, u.styleLocation);
3262
+ return c.err ? c : {
3263
+ val: { type: _.number, value: n, location: g, style: c.val },
3315
3264
  err: null
3316
3265
  };
3317
3266
  } else {
3318
3267
  if (S.length === 0)
3319
- return this.error(m.EXPECT_DATE_TIME_SKELETON, y);
3268
+ return this.error(m.EXPECT_DATE_TIME_SKELETON, g);
3320
3269
  var P = S;
3321
- this.locale && (P = Mn(S, this.locale));
3322
- var c = {
3323
- type: W.dateTime,
3270
+ this.locale && (P = _n(S, this.locale));
3271
+ var f = {
3272
+ type: z.dateTime,
3324
3273
  pattern: P,
3325
3274
  location: u.styleLocation,
3326
- parsedOptions: this.shouldParseSkeletons ? Hn(P) : {}
3327
- }, _ = s === "date" ? E.date : E.time;
3275
+ parsedOptions: this.shouldParseSkeletons ? pn(P) : {}
3276
+ }, E = s === "date" ? _.date : _.time;
3328
3277
  return {
3329
- val: { type: _, value: n, location: y, style: c },
3278
+ val: { type: E, value: n, location: g, style: f },
3330
3279
  err: null
3331
3280
  };
3332
3281
  }
3333
3282
  }
3334
3283
  return {
3335
3284
  val: {
3336
- type: s === "number" ? E.number : s === "date" ? E.date : E.time,
3285
+ type: s === "number" ? _.number : s === "date" ? _.date : _.time,
3337
3286
  value: n,
3338
- location: y,
3339
- style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
3287
+ location: g,
3288
+ style: (o = u?.style) !== null && o !== void 0 ? o : null
3340
3289
  },
3341
3290
  err: null
3342
3291
  };
@@ -3346,39 +3295,39 @@ var Zn = (
3346
3295
  case "select": {
3347
3296
  var x = this.clonePosition();
3348
3297
  if (this.bumpSpace(), !this.bumpIf(","))
3349
- return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS, b(x, v({}, x)));
3298
+ return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS, b(x, y({}, x)));
3350
3299
  this.bumpSpace();
3351
- var w = this.parseIdentifierIfPossible(), L = 0;
3300
+ var w = this.parseIdentifierIfPossible(), O = 0;
3352
3301
  if (s !== "select" && w.value === "offset") {
3353
3302
  if (!this.bumpIf(":"))
3354
3303
  return this.error(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b(this.clonePosition(), this.clonePosition()));
3355
3304
  this.bumpSpace();
3356
- var f = this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, m.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3357
- if (f.err)
3358
- return f;
3359
- this.bumpSpace(), w = this.parseIdentifierIfPossible(), L = f.val;
3305
+ var c = this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, m.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3306
+ if (c.err)
3307
+ return c;
3308
+ this.bumpSpace(), w = this.parseIdentifierIfPossible(), O = c.val;
3360
3309
  }
3361
- var d = this.tryParsePluralOrSelectOptions(t, s, r, w);
3362
- if (d.err)
3363
- return d;
3364
- var g = this.tryParseArgumentClose(i);
3365
- if (g.err)
3366
- return g;
3310
+ var p = this.tryParsePluralOrSelectOptions(t, s, r, w);
3311
+ if (p.err)
3312
+ return p;
3313
+ var v = this.tryParseArgumentClose(i);
3314
+ if (v.err)
3315
+ return v;
3367
3316
  var I = b(i, this.clonePosition());
3368
3317
  return s === "select" ? {
3369
3318
  val: {
3370
- type: E.select,
3319
+ type: _.select,
3371
3320
  value: n,
3372
- options: yt(d.val),
3321
+ options: ht(p.val),
3373
3322
  location: I
3374
3323
  },
3375
3324
  err: null
3376
3325
  } : {
3377
3326
  val: {
3378
- type: E.plural,
3327
+ type: _.plural,
3379
3328
  value: n,
3380
- options: yt(d.val),
3381
- offset: L,
3329
+ options: ht(p.val),
3330
+ offset: O,
3382
3331
  pluralType: s === "plural" ? "cardinal" : "ordinal",
3383
3332
  location: I
3384
3333
  },
@@ -3428,48 +3377,48 @@ var Zn = (
3428
3377
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3429
3378
  var n = [];
3430
3379
  try {
3431
- n = Cn(t);
3432
- } catch (i) {
3380
+ n = bn(t);
3381
+ } catch {
3433
3382
  return this.error(m.INVALID_NUMBER_SKELETON, r);
3434
3383
  }
3435
3384
  return {
3436
3385
  val: {
3437
- type: W.number,
3386
+ type: z.number,
3438
3387
  tokens: n,
3439
3388
  location: r,
3440
- parsedOptions: this.shouldParseSkeletons ? Ln(n) : {}
3389
+ parsedOptions: this.shouldParseSkeletons ? xn(n) : {}
3441
3390
  },
3442
3391
  err: null
3443
3392
  };
3444
3393
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3445
3394
  for (var o, a = !1, s = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
3446
3395
  if (u.length === 0) {
3447
- var f = this.clonePosition();
3396
+ var c = this.clonePosition();
3448
3397
  if (r !== "select" && this.bumpIf("=")) {
3449
- var c = this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_SELECTOR, m.INVALID_PLURAL_ARGUMENT_SELECTOR);
3450
- if (c.err)
3451
- return c;
3452
- h = b(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3398
+ var f = this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_SELECTOR, m.INVALID_PLURAL_ARGUMENT_SELECTOR);
3399
+ if (f.err)
3400
+ return f;
3401
+ h = b(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3453
3402
  } else
3454
3403
  break;
3455
3404
  }
3456
3405
  if (l.has(u))
3457
3406
  return this.error(r === "select" ? m.DUPLICATE_SELECT_ARGUMENT_SELECTOR : m.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3458
3407
  u === "other" && (a = !0), this.bumpSpace();
3459
- var p = this.clonePosition();
3408
+ var d = this.clonePosition();
3460
3409
  if (!this.bumpIf("{"))
3461
3410
  return this.error(r === "select" ? m.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : m.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, b(this.clonePosition(), this.clonePosition()));
3462
- var g = this.parseMessage(t + 1, r, n);
3411
+ var v = this.parseMessage(t + 1, r, n);
3412
+ if (v.err)
3413
+ return v;
3414
+ var g = this.tryParseArgumentClose(d);
3463
3415
  if (g.err)
3464
3416
  return g;
3465
- var y = this.tryParseArgumentClose(p);
3466
- if (y.err)
3467
- return y;
3468
3417
  s.push([
3469
3418
  u,
3470
3419
  {
3471
- value: g.val,
3472
- location: b(p, this.clonePosition())
3420
+ value: v.val,
3421
+ location: b(d, this.clonePosition())
3473
3422
  }
3474
3423
  ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
3475
3424
  }
@@ -3485,7 +3434,7 @@ var Zn = (
3485
3434
  break;
3486
3435
  }
3487
3436
  var l = b(i, this.clonePosition());
3488
- return o ? (a *= n, zn(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3437
+ return o ? (a *= n, On(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3489
3438
  }, e.prototype.offset = function() {
3490
3439
  return this.position.offset;
3491
3440
  }, e.prototype.isEOF = function() {
@@ -3500,7 +3449,7 @@ var Zn = (
3500
3449
  var t = this.position.offset;
3501
3450
  if (t >= this.message.length)
3502
3451
  throw Error("out of bound");
3503
- var r = Kt(this.message, t);
3452
+ var r = Vt(this.message, t);
3504
3453
  if (r === void 0)
3505
3454
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3506
3455
  return r;
@@ -3519,7 +3468,7 @@ var Zn = (
3519
3468
  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);
3520
3469
  }
3521
3470
  }, e.prototype.bumpIf = function(t) {
3522
- if (vt(this.message, t, this.offset())) {
3471
+ if (lt(this.message, t, this.offset())) {
3523
3472
  for (var r = 0; r < t.length; r++)
3524
3473
  this.bump();
3525
3474
  return !0;
@@ -3541,56 +3490,56 @@ var Zn = (
3541
3490
  break;
3542
3491
  }
3543
3492
  }, e.prototype.bumpSpace = function() {
3544
- for (; !this.isEOF() && tr(this.char()); )
3493
+ for (; !this.isEOF() && Wt(this.char()); )
3545
3494
  this.bump();
3546
3495
  }, e.prototype.peek = function() {
3547
3496
  if (this.isEOF())
3548
3497
  return null;
3549
3498
  var t = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
3550
- return n != null ? n : null;
3499
+ return n ?? null;
3551
3500
  }, e;
3552
3501
  }()
3553
3502
  );
3554
- function ke(e) {
3503
+ function De(e) {
3555
3504
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3556
3505
  }
3557
- function Yn(e) {
3558
- return ke(e) || e === 47;
3506
+ function Rn(e) {
3507
+ return De(e) || e === 47;
3559
3508
  }
3560
- function Qn(e) {
3509
+ function Un(e) {
3561
3510
  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;
3562
3511
  }
3563
- function tr(e) {
3512
+ function Wt(e) {
3564
3513
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3565
3514
  }
3566
- function Jn(e) {
3515
+ function Gn(e) {
3567
3516
  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;
3568
3517
  }
3569
- function Ve(e) {
3518
+ function Fe(e) {
3570
3519
  e.forEach(function(t) {
3571
- if (delete t.location, zt(t) || Wt(t))
3520
+ if (delete t.location, $t(t) || Rt(t))
3572
3521
  for (var r in t.options)
3573
- delete t.options[r].location, Ve(t.options[r].value);
3574
- else jt(t) && qt(t.style) || (kt(t) || Vt(t)) && Ge(t.style) ? delete t.style.location : Xt(t) && Ve(t.children);
3522
+ delete t.options[r].location, Fe(t.options[r].value);
3523
+ else Nt(t) && Gt(t.style) || (Lt(t) || Mt(t)) && $e(t.style) ? delete t.style.location : Ut(t) && Fe(t.children);
3575
3524
  });
3576
3525
  }
3577
- function Kn(e, t) {
3578
- t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3579
- var r = new Zn(e, t).parse();
3526
+ function Dn(e, t) {
3527
+ t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3528
+ var r = new $n(e, t).parse();
3580
3529
  if (r.err) {
3581
3530
  var n = SyntaxError(m[r.err.kind]);
3582
3531
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3583
3532
  }
3584
- return t != null && t.captureLocation || Ve(r.val), r.val;
3533
+ return t?.captureLocation || Fe(r.val), r.val;
3585
3534
  }
3586
- var X;
3535
+ var W;
3587
3536
  (function(e) {
3588
3537
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3589
- })(X || (X = {}));
3538
+ })(W || (W = {}));
3590
3539
  var ye = (
3591
3540
  /** @class */
3592
3541
  function(e) {
3593
- $(t, e);
3542
+ M(t, e);
3594
3543
  function t(r, n, i) {
3595
3544
  var o = e.call(this, r) || this;
3596
3545
  return o.code = n, o.originalMessage = i, o;
@@ -3599,30 +3548,30 @@ var ye = (
3599
3548
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3600
3549
  }, t;
3601
3550
  }(Error)
3602
- ), xt = (
3551
+ ), ct = (
3603
3552
  /** @class */
3604
3553
  function(e) {
3605
- $(t, e);
3554
+ M(t, e);
3606
3555
  function t(r, n, i, o) {
3607
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), X.INVALID_VALUE, o) || this;
3556
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), W.INVALID_VALUE, o) || this;
3608
3557
  }
3609
3558
  return t;
3610
3559
  }(ye)
3611
- ), ei = (
3560
+ ), Fn = (
3612
3561
  /** @class */
3613
3562
  function(e) {
3614
- $(t, e);
3563
+ M(t, e);
3615
3564
  function t(r, n, i) {
3616
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), X.INVALID_VALUE, i) || this;
3565
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), W.INVALID_VALUE, i) || this;
3617
3566
  }
3618
3567
  return t;
3619
3568
  }(ye)
3620
- ), ti = (
3569
+ ), jn = (
3621
3570
  /** @class */
3622
3571
  function(e) {
3623
- $(t, e);
3572
+ M(t, e);
3624
3573
  function t(r, n) {
3625
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), X.MISSING_VALUE, n) || this;
3574
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), W.MISSING_VALUE, n) || this;
3626
3575
  }
3627
3576
  return t;
3628
3577
  }(ye)
@@ -3630,17 +3579,17 @@ var ye = (
3630
3579
  (function(e) {
3631
3580
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3632
3581
  })(T || (T = {}));
3633
- function ri(e) {
3582
+ function kn(e) {
3634
3583
  return e.length < 2 ? e : e.reduce(function(t, r) {
3635
3584
  var n = t[t.length - 1];
3636
3585
  return !n || n.type !== T.literal || r.type !== T.literal ? t.push(r) : n.value += r.value, t;
3637
3586
  }, []);
3638
3587
  }
3639
- function ni(e) {
3588
+ function Vn(e) {
3640
3589
  return typeof e == "function";
3641
3590
  }
3642
3591
  function fe(e, t, r, n, i, o, a) {
3643
- if (e.length === 1 && pt(e[0]))
3592
+ if (e.length === 1 && ot(e[0]))
3644
3593
  return [
3645
3594
  {
3646
3595
  type: T.literal,
@@ -3649,105 +3598,105 @@ function fe(e, t, r, n, i, o, a) {
3649
3598
  ];
3650
3599
  for (var s = [], l = 0, u = e; l < u.length; l++) {
3651
3600
  var h = u[l];
3652
- if (pt(h)) {
3601
+ if (ot(h)) {
3653
3602
  s.push({
3654
3603
  type: T.literal,
3655
3604
  value: h.value
3656
3605
  });
3657
3606
  continue;
3658
3607
  }
3659
- if (wn(h)) {
3608
+ if (cn(h)) {
3660
3609
  typeof o == "number" && s.push({
3661
3610
  type: T.literal,
3662
3611
  value: r.getNumberFormat(t).format(o)
3663
3612
  });
3664
3613
  continue;
3665
3614
  }
3666
- var f = h.value;
3667
- if (!(i && f in i))
3668
- throw new ti(f, a);
3669
- var c = i[f];
3670
- if (Sn(h)) {
3671
- (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), s.push({
3672
- type: typeof c == "string" ? T.literal : T.object,
3673
- value: c
3615
+ var c = h.value;
3616
+ if (!(i && c in i))
3617
+ throw new jn(c, a);
3618
+ var f = i[c];
3619
+ if (fn(h)) {
3620
+ (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
3621
+ type: typeof f == "string" ? T.literal : T.object,
3622
+ value: f
3674
3623
  });
3675
3624
  continue;
3676
3625
  }
3677
- if (kt(h)) {
3678
- var p = typeof h.style == "string" ? n.date[h.style] : Ge(h.style) ? h.style.parsedOptions : void 0;
3626
+ if (Lt(h)) {
3627
+ var d = typeof h.style == "string" ? n.date[h.style] : $e(h.style) ? h.style.parsedOptions : void 0;
3679
3628
  s.push({
3680
3629
  type: T.literal,
3681
- value: r.getDateTimeFormat(t, p).format(c)
3630
+ value: r.getDateTimeFormat(t, d).format(f)
3682
3631
  });
3683
3632
  continue;
3684
3633
  }
3685
- if (Vt(h)) {
3686
- var p = typeof h.style == "string" ? n.time[h.style] : Ge(h.style) ? h.style.parsedOptions : n.time.medium;
3634
+ if (Mt(h)) {
3635
+ var d = typeof h.style == "string" ? n.time[h.style] : $e(h.style) ? h.style.parsedOptions : n.time.medium;
3687
3636
  s.push({
3688
3637
  type: T.literal,
3689
- value: r.getDateTimeFormat(t, p).format(c)
3638
+ value: r.getDateTimeFormat(t, d).format(f)
3690
3639
  });
3691
3640
  continue;
3692
3641
  }
3693
- if (jt(h)) {
3694
- var p = typeof h.style == "string" ? n.number[h.style] : qt(h.style) ? h.style.parsedOptions : void 0;
3695
- p && p.scale && (c = c * (p.scale || 1)), s.push({
3642
+ if (Nt(h)) {
3643
+ var d = typeof h.style == "string" ? n.number[h.style] : Gt(h.style) ? h.style.parsedOptions : void 0;
3644
+ d && d.scale && (f = f * (d.scale || 1)), s.push({
3696
3645
  type: T.literal,
3697
- value: r.getNumberFormat(t, p).format(c)
3646
+ value: r.getNumberFormat(t, d).format(f)
3698
3647
  });
3699
3648
  continue;
3700
3649
  }
3701
- if (Xt(h)) {
3702
- var g = h.children, y = h.value, S = i[y];
3703
- if (!ni(S))
3704
- throw new ei(y, "function", a);
3705
- var P = fe(g, t, r, n, i, o), _ = S(P.map(function(L) {
3706
- return L.value;
3650
+ if (Ut(h)) {
3651
+ var v = h.children, g = h.value, S = i[g];
3652
+ if (!Vn(S))
3653
+ throw new Fn(g, "function", a);
3654
+ var P = fe(v, t, r, n, i, o), E = S(P.map(function(O) {
3655
+ return O.value;
3707
3656
  }));
3708
- Array.isArray(_) || (_ = [_]), s.push.apply(s, _.map(function(L) {
3657
+ Array.isArray(E) || (E = [E]), s.push.apply(s, E.map(function(O) {
3709
3658
  return {
3710
- type: typeof L == "string" ? T.literal : T.object,
3711
- value: L
3659
+ type: typeof O == "string" ? T.literal : T.object,
3660
+ value: O
3712
3661
  };
3713
3662
  }));
3714
3663
  }
3715
- if (zt(h)) {
3716
- var x = h.options[c] || h.options.other;
3664
+ if ($t(h)) {
3665
+ var x = h.options[f] || h.options.other;
3717
3666
  if (!x)
3718
- throw new xt(h.value, c, Object.keys(h.options), a);
3667
+ throw new ct(h.value, f, Object.keys(h.options), a);
3719
3668
  s.push.apply(s, fe(x.value, t, r, n, i));
3720
3669
  continue;
3721
3670
  }
3722
- if (Wt(h)) {
3723
- var x = h.options["=".concat(c)];
3671
+ if (Rt(h)) {
3672
+ var x = h.options["=".concat(f)];
3724
3673
  if (!x) {
3725
3674
  if (!Intl.PluralRules)
3726
3675
  throw new ye(`Intl.PluralRules is not available in this environment.
3727
3676
  Try polyfilling it using "@formatjs/intl-pluralrules"
3728
- `, X.MISSING_INTL_API, a);
3729
- var w = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3677
+ `, W.MISSING_INTL_API, a);
3678
+ var w = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3730
3679
  x = h.options[w] || h.options.other;
3731
3680
  }
3732
3681
  if (!x)
3733
- throw new xt(h.value, c, Object.keys(h.options), a);
3734
- s.push.apply(s, fe(x.value, t, r, n, i, c - (h.offset || 0)));
3682
+ throw new ct(h.value, f, Object.keys(h.options), a);
3683
+ s.push.apply(s, fe(x.value, t, r, n, i, f - (h.offset || 0)));
3735
3684
  continue;
3736
3685
  }
3737
3686
  }
3738
- return ri(s);
3687
+ return kn(s);
3739
3688
  }
3740
- function ii(e, t) {
3741
- return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3742
- return r[n] = v(v({}, e[n]), t[n] || {}), r;
3689
+ function zn(e, t) {
3690
+ return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3691
+ return r[n] = y(y({}, e[n]), t[n] || {}), r;
3743
3692
  }, {})) : e;
3744
3693
  }
3745
- function oi(e, t) {
3694
+ function Wn(e, t) {
3746
3695
  return t ? Object.keys(e).reduce(function(r, n) {
3747
- return r[n] = ii(e[n], t[n]), r;
3748
- }, v({}, e)) : e;
3696
+ return r[n] = zn(e[n], t[n]), r;
3697
+ }, y({}, e)) : e;
3749
3698
  }
3750
- function Ce(e) {
3699
+ function Pe(e) {
3751
3700
  return {
3752
3701
  create: function() {
3753
3702
  return {
@@ -3761,39 +3710,39 @@ function Ce(e) {
3761
3710
  }
3762
3711
  };
3763
3712
  }
3764
- function ai(e) {
3713
+ function Xn(e) {
3765
3714
  return e === void 0 && (e = {
3766
3715
  number: {},
3767
3716
  dateTime: {},
3768
3717
  pluralRules: {}
3769
3718
  }), {
3770
- getNumberFormat: Pe(function() {
3719
+ getNumberFormat: Te(function() {
3771
3720
  for (var t, r = [], n = 0; n < arguments.length; n++)
3772
3721
  r[n] = arguments[n];
3773
- return new ((t = Intl.NumberFormat).bind.apply(t, V([void 0], r, !1)))();
3722
+ return new ((t = Intl.NumberFormat).bind.apply(t, k([void 0], r, !1)))();
3774
3723
  }, {
3775
- cache: Ce(e.number),
3776
- strategy: He.variadic
3724
+ cache: Pe(e.number),
3725
+ strategy: Se.variadic
3777
3726
  }),
3778
- getDateTimeFormat: Pe(function() {
3727
+ getDateTimeFormat: Te(function() {
3779
3728
  for (var t, r = [], n = 0; n < arguments.length; n++)
3780
3729
  r[n] = arguments[n];
3781
- return new ((t = Intl.DateTimeFormat).bind.apply(t, V([void 0], r, !1)))();
3730
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, k([void 0], r, !1)))();
3782
3731
  }, {
3783
- cache: Ce(e.dateTime),
3784
- strategy: He.variadic
3732
+ cache: Pe(e.dateTime),
3733
+ strategy: Se.variadic
3785
3734
  }),
3786
- getPluralRules: Pe(function() {
3735
+ getPluralRules: Te(function() {
3787
3736
  for (var t, r = [], n = 0; n < arguments.length; n++)
3788
3737
  r[n] = arguments[n];
3789
- return new ((t = Intl.PluralRules).bind.apply(t, V([void 0], r, !1)))();
3738
+ return new ((t = Intl.PluralRules).bind.apply(t, k([void 0], r, !1)))();
3790
3739
  }, {
3791
- cache: Ce(e.pluralRules),
3792
- strategy: He.variadic
3740
+ cache: Pe(e.pluralRules),
3741
+ strategy: Se.variadic
3793
3742
  })
3794
3743
  };
3795
3744
  }
3796
- var si = (
3745
+ var qn = (
3797
3746
  /** @class */
3798
3747
  function() {
3799
3748
  function e(t, r, n, i) {
@@ -3807,8 +3756,8 @@ var si = (
3807
3756
  var u = o.formatToParts(l);
3808
3757
  if (u.length === 1)
3809
3758
  return u[0].value;
3810
- var h = u.reduce(function(f, c) {
3811
- return !f.length || c.type !== T.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3759
+ var h = u.reduce(function(c, f) {
3760
+ return !c.length || f.type !== T.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3812
3761
  }, []);
3813
3762
  return h.length <= 1 ? h[0] || "" : h;
3814
3763
  }, this.formatToParts = function(l) {
@@ -3825,13 +3774,13 @@ var si = (
3825
3774
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3826
3775
  var a = i || {};
3827
3776
  a.formatters;
3828
- var s = Gr(a, ["formatters"]);
3829
- this.ast = e.__parse(t, v(v({}, s), { locale: this.resolvedLocale }));
3777
+ var s = wr(a, ["formatters"]);
3778
+ this.ast = e.__parse(t, y(y({}, s), { locale: this.resolvedLocale }));
3830
3779
  } else
3831
3780
  this.ast = t;
3832
3781
  if (!Array.isArray(this.ast))
3833
3782
  throw new TypeError("A message must be provided as a String or AST.");
3834
- this.formats = oi(e.formats, n), this.formatters = i && i.formatters || ai(this.formatterCache);
3783
+ this.formats = Wn(e.formats, n), this.formatters = i && i.formatters || Xn(this.formatterCache);
3835
3784
  }
3836
3785
  return Object.defineProperty(e, "defaultLocale", {
3837
3786
  get: function() {
@@ -3840,11 +3789,11 @@ var si = (
3840
3789
  enumerable: !1,
3841
3790
  configurable: !0
3842
3791
  }), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
3843
- if (typeof Intl.Locale != "undefined") {
3792
+ if (!(typeof Intl.Locale > "u")) {
3844
3793
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3845
3794
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3846
3795
  }
3847
- }, e.__parse = Kn, e.formats = {
3796
+ }, e.__parse = Dn, e.formats = {
3848
3797
  number: {
3849
3798
  integer: {
3850
3799
  maximumFractionDigits: 0
@@ -3905,7 +3854,7 @@ var si = (
3905
3854
  }, e;
3906
3855
  }()
3907
3856
  );
3908
- function ui(e, t) {
3857
+ function Zn(e, t) {
3909
3858
  if (t == null)
3910
3859
  return;
3911
3860
  if (t in e)
@@ -3926,92 +3875,92 @@ function ui(e, t) {
3926
3875
  n = void 0;
3927
3876
  return n;
3928
3877
  }
3929
- const R = {}, li = (e, t, r) => r && (t in R || (R[t] = {}), e in R[t] || (R[t][e] = r), r), rr = (e, t) => {
3878
+ const $ = {}, Yn = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), Xt = (e, t) => {
3930
3879
  if (t == null)
3931
3880
  return;
3932
- if (t in R && e in R[t])
3933
- return R[t][e];
3881
+ if (t in $ && e in $[t])
3882
+ return $[t][e];
3934
3883
  const r = ge(t);
3935
3884
  for (let n = 0; n < r.length; n++) {
3936
- const i = r[n], o = ci(i, e);
3885
+ const i = r[n], o = Jn(i, e);
3937
3886
  if (o)
3938
- return li(e, t, o);
3887
+ return Yn(e, t, o);
3939
3888
  }
3940
3889
  };
3941
- let Qe;
3942
- const se = ve({});
3943
- function hi(e) {
3944
- return Qe[e] || null;
3890
+ let Xe;
3891
+ const ae = be({});
3892
+ function Qn(e) {
3893
+ return Xe[e] || null;
3945
3894
  }
3946
- function nr(e) {
3947
- return e in Qe;
3895
+ function qt(e) {
3896
+ return e in Xe;
3948
3897
  }
3949
- function ci(e, t) {
3950
- if (!nr(e))
3898
+ function Jn(e, t) {
3899
+ if (!qt(e))
3951
3900
  return null;
3952
- const r = hi(e);
3953
- return ui(r, t);
3901
+ const r = Qn(e);
3902
+ return Zn(r, t);
3954
3903
  }
3955
- function fi(e) {
3904
+ function Kn(e) {
3956
3905
  if (e == null)
3957
3906
  return;
3958
3907
  const t = ge(e);
3959
3908
  for (let r = 0; r < t.length; r++) {
3960
3909
  const n = t[r];
3961
- if (nr(n))
3910
+ if (qt(n))
3962
3911
  return n;
3963
3912
  }
3964
3913
  }
3965
- function ir(e, ...t) {
3966
- delete R[e], se.update((r) => (r[e] = vn.all([r[e] || {}, ...t]), r));
3914
+ function Zt(e, ...t) {
3915
+ delete $[e], ae.update((r) => (r[e] = rn.all([r[e] || {}, ...t]), r));
3967
3916
  }
3968
- Y(
3969
- [se],
3917
+ Z(
3918
+ [ae],
3970
3919
  ([e]) => Object.keys(e)
3971
3920
  );
3972
- se.subscribe((e) => Qe = e);
3973
- const pe = {};
3974
- function pi(e, t) {
3975
- pe[e].delete(t), pe[e].size === 0 && delete pe[e];
3921
+ ae.subscribe((e) => Xe = e);
3922
+ const ce = {};
3923
+ function ei(e, t) {
3924
+ ce[e].delete(t), ce[e].size === 0 && delete ce[e];
3976
3925
  }
3977
- function or(e) {
3978
- return pe[e];
3926
+ function Yt(e) {
3927
+ return ce[e];
3979
3928
  }
3980
- function di(e) {
3929
+ function ti(e) {
3981
3930
  return ge(e).map((t) => {
3982
- const r = or(t);
3931
+ const r = Yt(t);
3983
3932
  return [t, r ? [...r] : []];
3984
3933
  }).filter(([, t]) => t.length > 0);
3985
3934
  }
3986
- function ze(e) {
3935
+ function je(e) {
3987
3936
  return e == null ? !1 : ge(e).some(
3988
3937
  (t) => {
3989
3938
  var r;
3990
- return (r = or(t)) == null ? void 0 : r.size;
3939
+ return (r = Yt(t)) == null ? void 0 : r.size;
3991
3940
  }
3992
3941
  );
3993
3942
  }
3994
- function mi(e, t) {
3943
+ function ri(e, t) {
3995
3944
  return Promise.all(
3996
- t.map((n) => (pi(e, n), n().then((i) => i.default || i)))
3997
- ).then((n) => ir(e, ...n));
3998
- }
3999
- const K = {};
4000
- function ar(e) {
4001
- if (!ze(e))
4002
- return e in K ? K[e] : Promise.resolve();
4003
- const t = di(e);
4004
- return K[e] = Promise.all(
3945
+ t.map((n) => (ei(e, n), n().then((i) => i.default || i)))
3946
+ ).then((n) => Zt(e, ...n));
3947
+ }
3948
+ const J = {};
3949
+ function Qt(e) {
3950
+ if (!je(e))
3951
+ return e in J ? J[e] : Promise.resolve();
3952
+ const t = ti(e);
3953
+ return J[e] = Promise.all(
4005
3954
  t.map(
4006
- ([r, n]) => mi(r, n)
3955
+ ([r, n]) => ri(r, n)
4007
3956
  )
4008
3957
  ).then(() => {
4009
- if (ze(e))
4010
- return ar(e);
4011
- delete K[e];
4012
- }), K[e];
3958
+ if (je(e))
3959
+ return Qt(e);
3960
+ delete J[e];
3961
+ }), J[e];
4013
3962
  }
4014
- const bi = {
3963
+ const ni = {
4015
3964
  number: {
4016
3965
  scientific: { notation: "scientific" },
4017
3966
  engineering: { notation: "engineering" },
@@ -4040,180 +3989,180 @@ const bi = {
4040
3989
  timeZoneName: "short"
4041
3990
  }
4042
3991
  }
4043
- }, vi = {
3992
+ }, ii = {
4044
3993
  fallbackLocale: null,
4045
3994
  loadingDelay: 200,
4046
- formats: bi,
3995
+ formats: ni,
4047
3996
  warnOnMissingMessages: !0,
4048
3997
  handleMissingMessage: void 0,
4049
3998
  ignoreTag: !0
4050
- }, yi = vi;
4051
- function q() {
4052
- return yi;
4053
- }
4054
- const Be = ve(!1);
4055
- var gi = Object.defineProperty, xi = Object.defineProperties, Ei = Object.getOwnPropertyDescriptors, Et = Object.getOwnPropertySymbols, _i = Object.prototype.hasOwnProperty, Ti = Object.prototype.propertyIsEnumerable, _t = (e, t, r) => t in e ? gi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Si = (e, t) => {
4056
- for (var r in t || (t = {}))
4057
- _i.call(t, r) && _t(e, r, t[r]);
4058
- if (Et)
4059
- for (var r of Et(t))
4060
- Ti.call(t, r) && _t(e, r, t[r]);
3999
+ }, oi = ii;
4000
+ function X() {
4001
+ return oi;
4002
+ }
4003
+ const He = be(!1);
4004
+ var ai = Object.defineProperty, si = Object.defineProperties, ui = Object.getOwnPropertyDescriptors, dt = Object.getOwnPropertySymbols, li = Object.prototype.hasOwnProperty, hi = Object.prototype.propertyIsEnumerable, pt = (e, t, r) => t in e ? ai(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, fi = (e, t) => {
4005
+ for (var r in t)
4006
+ li.call(t, r) && pt(e, r, t[r]);
4007
+ if (dt)
4008
+ for (var r of dt(t))
4009
+ hi.call(t, r) && pt(e, r, t[r]);
4061
4010
  return e;
4062
- }, wi = (e, t) => xi(e, Ei(t));
4063
- let We;
4064
- const de = ve(null);
4065
- function Tt(e) {
4011
+ }, ci = (e, t) => si(e, ui(t));
4012
+ let ke;
4013
+ const de = be(null);
4014
+ function mt(e) {
4066
4015
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4067
4016
  }
4068
- function ge(e, t = q().fallbackLocale) {
4069
- const r = Tt(e);
4070
- return t ? [.../* @__PURE__ */ new Set([...r, ...Tt(t)])] : r;
4017
+ function ge(e, t = X().fallbackLocale) {
4018
+ const r = mt(e);
4019
+ return t ? [.../* @__PURE__ */ new Set([...r, ...mt(t)])] : r;
4071
4020
  }
4072
- function U() {
4073
- return We != null ? We : void 0;
4021
+ function R() {
4022
+ return ke ?? void 0;
4074
4023
  }
4075
4024
  de.subscribe((e) => {
4076
- We = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4025
+ ke = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4077
4026
  });
4078
- const Pi = (e) => {
4079
- if (e && fi(e) && ze(e)) {
4080
- const { loadingDelay: t } = q();
4027
+ const di = (e) => {
4028
+ if (e && Kn(e) && je(e)) {
4029
+ const { loadingDelay: t } = X();
4081
4030
  let r;
4082
- return typeof window != "undefined" && U() != null && t ? r = window.setTimeout(
4083
- () => Be.set(!0),
4031
+ return typeof window < "u" && R() != null && t ? r = window.setTimeout(
4032
+ () => He.set(!0),
4084
4033
  t
4085
- ) : Be.set(!0), ar(e).then(() => {
4034
+ ) : He.set(!0), Qt(e).then(() => {
4086
4035
  de.set(e);
4087
4036
  }).finally(() => {
4088
- clearTimeout(r), Be.set(!1);
4037
+ clearTimeout(r), He.set(!1);
4089
4038
  });
4090
4039
  }
4091
4040
  return de.set(e);
4092
- }, Q = wi(Si({}, de), {
4093
- set: Pi
4094
- }), xe = (e) => {
4041
+ }, Y = ci(fi({}, de), {
4042
+ set: di
4043
+ }), ve = (e) => {
4095
4044
  const t = /* @__PURE__ */ Object.create(null);
4096
4045
  return (n) => {
4097
4046
  const i = JSON.stringify(n);
4098
4047
  return i in t ? t[i] : t[i] = e(n);
4099
4048
  };
4100
4049
  };
4101
- var Hi = Object.defineProperty, me = Object.getOwnPropertySymbols, sr = Object.prototype.hasOwnProperty, ur = Object.prototype.propertyIsEnumerable, St = (e, t, r) => t in e ? Hi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Je = (e, t) => {
4050
+ var pi = Object.defineProperty, pe = Object.getOwnPropertySymbols, Jt = Object.prototype.hasOwnProperty, Kt = Object.prototype.propertyIsEnumerable, bt = (e, t, r) => t in e ? pi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, qe = (e, t) => {
4102
4051
  for (var r in t || (t = {}))
4103
- sr.call(t, r) && St(e, r, t[r]);
4104
- if (me)
4105
- for (var r of me(t))
4106
- ur.call(t, r) && St(e, r, t[r]);
4052
+ Jt.call(t, r) && bt(e, r, t[r]);
4053
+ if (pe)
4054
+ for (var r of pe(t))
4055
+ Kt.call(t, r) && bt(e, r, t[r]);
4107
4056
  return e;
4108
- }, J = (e, t) => {
4057
+ }, Q = (e, t) => {
4109
4058
  var r = {};
4110
4059
  for (var n in e)
4111
- sr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4112
- if (e != null && me)
4113
- for (var n of me(e))
4114
- t.indexOf(n) < 0 && ur.call(e, n) && (r[n] = e[n]);
4060
+ Jt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4061
+ if (e != null && pe)
4062
+ for (var n of pe(e))
4063
+ t.indexOf(n) < 0 && Kt.call(e, n) && (r[n] = e[n]);
4115
4064
  return r;
4116
4065
  };
4117
- const ne = (e, t) => {
4118
- const { formats: r } = q();
4066
+ const re = (e, t) => {
4067
+ const { formats: r } = X();
4119
4068
  if (e in r && t in r[e])
4120
4069
  return r[e][t];
4121
4070
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4122
- }, Ii = xe(
4071
+ }, mi = ve(
4123
4072
  (e) => {
4124
- var t = e, { locale: r, format: n } = t, i = J(t, ["locale", "format"]);
4073
+ var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
4125
4074
  if (r == null)
4126
4075
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4127
- return n && (i = ne("number", n)), new Intl.NumberFormat(r, i);
4076
+ return n && (i = re("number", n)), new Intl.NumberFormat(r, i);
4128
4077
  }
4129
- ), Ci = xe(
4078
+ ), bi = ve(
4130
4079
  (e) => {
4131
- var t = e, { locale: r, format: n } = t, i = J(t, ["locale", "format"]);
4080
+ var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
4132
4081
  if (r == null)
4133
4082
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4134
- return n ? i = ne("date", n) : Object.keys(i).length === 0 && (i = ne("date", "short")), new Intl.DateTimeFormat(r, i);
4083
+ return n ? i = re("date", n) : Object.keys(i).length === 0 && (i = re("date", "short")), new Intl.DateTimeFormat(r, i);
4135
4084
  }
4136
- ), Bi = xe(
4085
+ ), yi = ve(
4137
4086
  (e) => {
4138
- var t = e, { locale: r, format: n } = t, i = J(t, ["locale", "format"]);
4087
+ var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
4139
4088
  if (r == null)
4140
4089
  throw new Error(
4141
4090
  '[svelte-i18n] A "locale" must be set to format time values'
4142
4091
  );
4143
- return n ? i = ne("time", n) : Object.keys(i).length === 0 && (i = ne("time", "short")), new Intl.DateTimeFormat(r, i);
4092
+ return n ? i = re("time", n) : Object.keys(i).length === 0 && (i = re("time", "short")), new Intl.DateTimeFormat(r, i);
4144
4093
  }
4145
- ), Ai = (e = {}) => {
4094
+ ), gi = (e = {}) => {
4146
4095
  var t = e, {
4147
- locale: r = U()
4148
- } = t, n = J(t, [
4096
+ locale: r = R()
4097
+ } = t, n = Q(t, [
4149
4098
  "locale"
4150
4099
  ]);
4151
- return Ii(Je({ locale: r }, n));
4152
- }, Oi = (e = {}) => {
4100
+ return mi(qe({ locale: r }, n));
4101
+ }, vi = (e = {}) => {
4153
4102
  var t = e, {
4154
- locale: r = U()
4155
- } = t, n = J(t, [
4103
+ locale: r = R()
4104
+ } = t, n = Q(t, [
4156
4105
  "locale"
4157
4106
  ]);
4158
- return Ci(Je({ locale: r }, n));
4159
- }, Li = (e = {}) => {
4107
+ return bi(qe({ locale: r }, n));
4108
+ }, xi = (e = {}) => {
4160
4109
  var t = e, {
4161
- locale: r = U()
4162
- } = t, n = J(t, [
4110
+ locale: r = R()
4111
+ } = t, n = Q(t, [
4163
4112
  "locale"
4164
4113
  ]);
4165
- return Bi(Je({ locale: r }, n));
4166
- }, Mi = xe(
4114
+ return yi(qe({ locale: r }, n));
4115
+ }, _i = ve(
4167
4116
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4168
- (e, t = U()) => new si(e, t, q().formats, {
4169
- ignoreTag: q().ignoreTag
4117
+ (e, t = R()) => new qn(e, t, X().formats, {
4118
+ ignoreTag: X().ignoreTag
4170
4119
  })
4171
- ), Ni = (e, t = {}) => {
4120
+ ), Ei = (e, t = {}) => {
4172
4121
  var r, n, i, o;
4173
4122
  let a = t;
4174
4123
  typeof e == "object" && (a = e, e = a.id);
4175
4124
  const {
4176
4125
  values: s,
4177
- locale: l = U(),
4126
+ locale: l = R(),
4178
4127
  default: u
4179
4128
  } = a;
4180
4129
  if (l == null)
4181
4130
  throw new Error(
4182
4131
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4183
4132
  );
4184
- let h = rr(e, l);
4133
+ let h = Xt(e, l);
4185
4134
  if (!h)
4186
- h = (o = (i = (n = (r = q()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4135
+ h = (o = (i = (n = (r = X()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4187
4136
  else if (typeof h != "string")
4188
4137
  return console.warn(
4189
4138
  `[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.`
4190
4139
  ), h;
4191
4140
  if (!s)
4192
4141
  return h;
4193
- let f = h;
4142
+ let c = h;
4194
4143
  try {
4195
- f = Mi(h, l).format(s);
4196
- } catch (c) {
4197
- c instanceof Error && console.warn(
4144
+ c = _i(h, l).format(s);
4145
+ } catch (f) {
4146
+ f instanceof Error && console.warn(
4198
4147
  `[svelte-i18n] Message "${e}" has syntax error:`,
4199
- c.message
4148
+ f.message
4200
4149
  );
4201
4150
  }
4202
- return f;
4203
- }, $i = (e, t) => Li(t).format(e), Ri = (e, t) => Oi(t).format(e), Ui = (e, t) => Ai(t).format(e), Gi = (e, t = U()) => rr(e, t), Di = Y([Q, se], () => Ni);
4204
- Y([Q], () => $i);
4205
- Y([Q], () => Ri);
4206
- Y([Q], () => Ui);
4207
- Y([Q, se], () => Gi);
4208
- window.emWidgets = { topic: Kr };
4209
- const Fi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4210
- function wt(e, t) {
4211
- ir(e, t);
4212
- }
4213
- function ji(e) {
4214
- Q.set(e);
4215
- }
4216
- const Pt = {
4151
+ return c;
4152
+ }, Ti = (e, t) => xi(t).format(e), Si = (e, t) => vi(t).format(e), wi = (e, t) => gi(t).format(e), Pi = (e, t = R()) => Xt(e, t), Hi = Z([Y, ae], () => Ei);
4153
+ Z([Y], () => Ti);
4154
+ Z([Y], () => Si);
4155
+ Z([Y], () => wi);
4156
+ Z([Y, ae], () => Pi);
4157
+ window.emWidgets = { topic: Gr };
4158
+ const Ii = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4159
+ function yt(e, t) {
4160
+ Zt(e, t);
4161
+ }
4162
+ function Ci(e) {
4163
+ Y.set(e);
4164
+ }
4165
+ const gt = {
4217
4166
  en: {
4218
4167
  name: "Info",
4219
4168
  amountChanged: "Your limit has been changed or increased: {amount} {currency}. You will have to wait for the expiration date for your new limit to take effect:",
@@ -4275,26 +4224,26 @@ const Pt = {
4275
4224
  defaultText: "When you set a game limit, it takes effect from the moment you activate it and lasts until the end of the selected period. Therefore, if you set a daily limit at 14.00, the 24-hour period that counts is from its activation until 00:00 GMT. The limit is then valid for 24 days. you can lower a limit at any time with immediate effect. however, increasing or removing a limit will not apply until the current limit expires."
4276
4225
  }
4277
4226
  };
4278
- function ki(e) {
4279
- br(e, "svelte-11p58yq", '.InfoCardPopupMobileModal:after{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0, 0, 0, 0.5);z-index:101;content:""}.InfoCardPopupLimitChanged{background:var(--emw--color-gray-50, #F9F8F8)}.InfoCardPopupWrapper{width:200px;padding:20px;color:var(--emw--color-black, #000000);background:var(--emw--color-white, #FFFFFF);box-shadow:0 4px 12px var(--emw--color-gray-100, #E6E6E6);border-radius:5px;display:block;position:absolute;top:32px;left:-84px;z-index:9}.InfoCardPopupWrapper:before{content:"";position:absolute;top:-7px;left:104px;border-style:solid;border-width:0 7px 7px;border-color:var(--emw--color-white, #FFFFFF) transparent;display:block;width:0;z-index:1}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper{width:70%;position:fixed;top:50%;left:50%;transform:translate(-50%, -50%);z-index:300}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper .InfoCardPopupTitle{font-size:18px}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper .InfoCardPopupCloseButton{width:30px}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper .InfoCardPopupContent{font-size:16px}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper:before{content:none}.InfoCardPopupHeader{display:inline-flex}.InfoCardPopupHeader .InfoCardPopupTitle{line-height:24px;font-size:16px;font-weight:400;padding-left:10px}.InfoCardPopupIcon{display:flex;font-size:24px;width:24px;height:24px;background:transparent;border:1px solid var(--emw--color-black, #000000);align-items:center;justify-content:center;border-radius:30px}.InfoCardPopupContent{font-size:14px;font-weight:300}.InfoCardPopupCloseButton{width:20px;position:absolute;right:10px;top:10px;cursor:pointer;transition-duration:0.3s}.InfoCardPopupCloseButton:hover{color:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));fill:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:32px;right:32px;padding:16px;border-radius:50%;color:var(--emw--color-white, #FFFFFF);cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:32px;height:32px;fill:var(--emw--color-black, #000000)}');
4227
+ function Bi(e) {
4228
+ rr(e, "svelte-11p58yq", '.InfoCardPopupMobileModal:after{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0, 0, 0, 0.5);z-index:101;content:""}.InfoCardPopupLimitChanged{background:var(--emw--color-gray-50, #F9F8F8)}.InfoCardPopupWrapper{width:200px;padding:20px;color:var(--emw--color-black, #000000);background:var(--emw--color-white, #FFFFFF);box-shadow:0 4px 12px var(--emw--color-gray-100, #E6E6E6);border-radius:5px;display:block;position:absolute;top:32px;left:-84px;z-index:9}.InfoCardPopupWrapper:before{content:"";position:absolute;top:-7px;left:104px;border-style:solid;border-width:0 7px 7px;border-color:var(--emw--color-white, #FFFFFF) transparent;display:block;width:0;z-index:1}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper{width:70%;position:fixed;top:50%;left:50%;transform:translate(-50%, -50%);z-index:300}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper .InfoCardPopupTitle{font-size:18px}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper .InfoCardPopupCloseButton{width:30px}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper .InfoCardPopupContent{font-size:16px}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper:before{content:none}.InfoCardPopupHeader{display:inline-flex}.InfoCardPopupHeader .InfoCardPopupTitle{line-height:24px;font-size:16px;font-weight:400;padding-left:10px}.InfoCardPopupIcon{display:flex;font-size:24px;width:24px;height:24px;background:transparent;border:1px solid var(--emw--color-black, #000000);align-items:center;justify-content:center;border-radius:30px}.InfoCardPopupContent{font-size:14px;font-weight:300}.InfoCardPopupCloseButton{width:20px;position:absolute;right:10px;top:10px;cursor:pointer;transition-duration:0.3s}.InfoCardPopupCloseButton:hover{color:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));fill:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:32px;right:32px;padding:16px;border-radius:50%;color:var(--emw--color-white, #FFFFFF);cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:32px;height:32px;fill:var(--emw--color-black, #000000)}');
4280
4229
  }
4281
- function Ht(e) {
4230
+ function vt(e) {
4282
4231
  let t, r, n, i, o, a, s = (
4283
4232
  /*$_*/
4284
4233
  e[4]("name") + ""
4285
- ), l, u, h, f, c, p, g, y;
4234
+ ), l, u, h, c, f, d, v, g;
4286
4235
  function S(x, w) {
4287
4236
  return (
4288
4237
  /*iteminfoamount*/
4289
- x[0] ? zi : Vi
4238
+ x[0] ? Oi : Ai
4290
4239
  );
4291
4240
  }
4292
- let P = S(e), _ = P(e);
4241
+ let P = S(e), E = P(e);
4293
4242
  return {
4294
4243
  c() {
4295
- t = A("section"), r = A("div"), n = A("div"), i = A("div"), i.textContent = "i", o = _e(), a = A("div"), l = ae(s), u = _e(), h = A("div"), h.innerHTML = '<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg>', f = _e(), c = A("div"), _.c(), B(i, "class", "InfoCardPopupIcon"), B(a, "class", "InfoCardPopupTitle"), B(h, "class", "InfoCardPopupCloseButton"), B(n, "class", "InfoCardPopupHeader"), B(c, "class", "InfoCardPopupContentArea"), B(r, "class", p = "InfoCardPopupWrapper " + /*isMobile*/
4244
+ t = B("section"), r = B("div"), n = B("div"), i = B("div"), i.textContent = "i", o = xe(), a = B("div"), l = oe(s), u = xe(), h = B("div"), h.innerHTML = '<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg>', c = xe(), f = B("div"), E.c(), C(i, "class", "InfoCardPopupIcon"), C(a, "class", "InfoCardPopupTitle"), C(h, "class", "InfoCardPopupCloseButton"), C(n, "class", "InfoCardPopupHeader"), C(f, "class", "InfoCardPopupContentArea"), C(r, "class", d = "InfoCardPopupWrapper " + /*isMobile*/
4296
4245
  (e[5] ? "InfoCardPopupMobileWrapper" : "") + " " + /*iteminfoamount*/
4297
- (e[0] ? "InfoCardPopupLimitChanged" : "")), B(
4246
+ (e[0] ? "InfoCardPopupLimitChanged" : "")), C(
4298
4247
  t,
4299
4248
  "class",
4300
4249
  /*isMobile*/
@@ -4302,47 +4251,47 @@ function Ht(e) {
4302
4251
  );
4303
4252
  },
4304
4253
  m(x, w) {
4305
- oe(x, t, w), H(t, r), H(r, n), H(n, i), H(n, o), H(n, a), H(a, l), H(n, u), H(n, h), H(r, f), H(r, c), _.m(c, null), e[12](t), g || (y = xr(h, "click", Er(
4254
+ ie(x, t, w), H(t, r), H(r, n), H(n, i), H(n, o), H(n, a), H(a, l), H(n, u), H(n, h), H(r, c), H(r, f), E.m(f, null), e[12](t), v || (g = ar(h, "click", sr(
4306
4255
  /*closeInfoPopup*/
4307
4256
  e[6]
4308
- )), g = !0);
4257
+ )), v = !0);
4309
4258
  },
4310
4259
  p(x, w) {
4311
4260
  w & /*$_*/
4312
4261
  16 && s !== (s = /*$_*/
4313
- x[4]("name") + "") && qe(l, s), P === (P = S(x)) && _ ? _.p(x, w) : (_.d(1), _ = P(x), _ && (_.c(), _.m(c, null))), w & /*iteminfoamount*/
4314
- 1 && p !== (p = "InfoCardPopupWrapper " + /*isMobile*/
4262
+ x[4]("name") + "") && ze(l, s), P === (P = S(x)) && E ? E.p(x, w) : (E.d(1), E = P(x), E && (E.c(), E.m(f, null))), w & /*iteminfoamount*/
4263
+ 1 && d !== (d = "InfoCardPopupWrapper " + /*isMobile*/
4315
4264
  (x[5] ? "InfoCardPopupMobileWrapper" : "") + " " + /*iteminfoamount*/
4316
- (x[0] ? "InfoCardPopupLimitChanged" : "")) && B(r, "class", p);
4265
+ (x[0] ? "InfoCardPopupLimitChanged" : "")) && C(r, "class", d);
4317
4266
  },
4318
4267
  d(x) {
4319
- x && Z(t), _.d(), e[12](null), g = !1, y();
4268
+ x && q(t), E.d(), e[12](null), v = !1, g();
4320
4269
  }
4321
4270
  };
4322
4271
  }
4323
- function Vi(e) {
4272
+ function Ai(e) {
4324
4273
  let t, r = (
4325
4274
  /*$_*/
4326
4275
  e[4]("defaultText") + ""
4327
4276
  ), n;
4328
4277
  return {
4329
4278
  c() {
4330
- t = A("p"), n = ae(r), B(t, "class", "InfoCardPopupContent");
4279
+ t = B("p"), n = oe(r), C(t, "class", "InfoCardPopupContent");
4331
4280
  },
4332
4281
  m(i, o) {
4333
- oe(i, t, o), H(t, n);
4282
+ ie(i, t, o), H(t, n);
4334
4283
  },
4335
4284
  p(i, o) {
4336
4285
  o & /*$_*/
4337
4286
  16 && r !== (r = /*$_*/
4338
- i[4]("defaultText") + "") && qe(n, r);
4287
+ i[4]("defaultText") + "") && ze(n, r);
4339
4288
  },
4340
4289
  d(i) {
4341
- i && Z(t);
4290
+ i && q(t);
4342
4291
  }
4343
4292
  };
4344
4293
  }
4345
- function zi(e) {
4294
+ function Oi(e) {
4346
4295
  let t, r = (
4347
4296
  /*$_*/
4348
4297
  e[4]("amountChanged", {
@@ -4360,10 +4309,10 @@ function zi(e) {
4360
4309
  ), n;
4361
4310
  return {
4362
4311
  c() {
4363
- t = A("p"), n = ae(r), B(t, "class", "InfoCardPopupContent");
4312
+ t = B("p"), n = oe(r), C(t, "class", "InfoCardPopupContent");
4364
4313
  },
4365
4314
  m(i, o) {
4366
- oe(i, t, o), H(t, n);
4315
+ ie(i, t, o), H(t, n);
4367
4316
  },
4368
4317
  p(i, o) {
4369
4318
  o & /*$_, iteminfoamount, playercurrency*/
@@ -4379,118 +4328,118 @@ function zi(e) {
4379
4328
  i[1]
4380
4329
  )
4381
4330
  }
4382
- }) + "") && qe(n, r);
4331
+ }) + "") && ze(n, r);
4383
4332
  },
4384
4333
  d(i) {
4385
- i && Z(t);
4334
+ i && q(t);
4386
4335
  }
4387
4336
  };
4388
4337
  }
4389
- function Wi(e) {
4338
+ function Ni(e) {
4390
4339
  let t, r = (
4391
4340
  /*showPopup*/
4392
- e[3] && Ht(e)
4341
+ e[3] && vt(e)
4393
4342
  );
4394
4343
  return {
4395
4344
  c() {
4396
- r && r.c(), t = gr();
4345
+ r && r.c(), t = or();
4397
4346
  },
4398
4347
  m(n, i) {
4399
- r && r.m(n, i), oe(n, t, i);
4348
+ r && r.m(n, i), ie(n, t, i);
4400
4349
  },
4401
4350
  p(n, [i]) {
4402
4351
  /*showPopup*/
4403
- n[3] ? r ? r.p(n, i) : (r = Ht(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
4352
+ n[3] ? r ? r.p(n, i) : (r = vt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
4404
4353
  },
4405
- i: O,
4406
- o: O,
4354
+ i: A,
4355
+ o: A,
4407
4356
  d(n) {
4408
- n && Z(t), r && r.d(n);
4357
+ n && q(t), r && r.d(n);
4409
4358
  }
4410
4359
  };
4411
4360
  }
4412
- function Xi(e, t, r) {
4361
+ function Li(e, t, r) {
4413
4362
  let n;
4414
- mr(e, Di, (d) => r(4, n = d));
4363
+ tr(e, Hi, (p) => r(4, n = p));
4415
4364
  let { showpopup: i = "" } = t, { iteminfoamount: o = "" } = t, { lang: a = "en" } = t, { playercurrency: s = "USD" } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: h = "" } = t;
4416
- const f = () => {
4365
+ const c = () => {
4417
4366
  fetch(h).then((I) => I.json()).then((I) => {
4418
- Object.keys(I).forEach((G) => {
4419
- wt(G, I[G]);
4367
+ Object.keys(I).forEach((U) => {
4368
+ yt(U, I[U]);
4420
4369
  });
4421
4370
  }).catch((I) => {
4422
4371
  console.log(I);
4423
4372
  });
4424
4373
  };
4425
- Object.keys(Pt).forEach((d) => {
4426
- wt(d, Pt[d]);
4374
+ Object.keys(gt).forEach((p) => {
4375
+ yt(p, gt[p]);
4427
4376
  });
4428
- let c = !1, p, g = window.navigator.userAgent, y = Fi(g) !== "PC";
4377
+ let f = !1, d, v = window.navigator.userAgent, g = Ii(v) !== "PC";
4429
4378
  const S = () => {
4430
- r(3, c = !1), window.postMessage(
4379
+ r(3, f = !1), window.postMessage(
4431
4380
  {
4432
4381
  type: "ClosePlayerAccountGamingLimitsPopup"
4433
4382
  },
4434
4383
  window.location.href
4435
4384
  );
4436
- }, P = (d) => {
4437
- d.data && d.data.type == "ClosePlayerAccountGamingLimitsPopup" && r(3, c = !1);
4438
- }, _ = () => {
4439
- ji(a), o < 0 && r(0, o = "0"), r(3, c = i);
4385
+ }, P = (p) => {
4386
+ p.data && p.data.type == "ClosePlayerAccountGamingLimitsPopup" && r(3, f = !1);
4387
+ }, E = () => {
4388
+ Ci(a), o < 0 && r(0, o = "0"), r(3, f = i);
4440
4389
  }, x = () => {
4441
- let d = document.createElement("style");
4442
- d.innerHTML = l, p.appendChild(d);
4390
+ let p = document.createElement("style");
4391
+ p.innerHTML = l, d.appendChild(p);
4443
4392
  }, w = () => {
4444
- let d = new URL(u), I = document.createElement("style");
4445
- fetch(d.href).then((G) => G.text()).then((G) => {
4446
- I.innerHTML = G, setTimeout(
4393
+ let p = new URL(u), I = document.createElement("style");
4394
+ fetch(p.href).then((U) => U.text()).then((U) => {
4395
+ I.innerHTML = U, setTimeout(
4447
4396
  () => {
4448
- p.appendChild(I);
4397
+ d.appendChild(I);
4449
4398
  },
4450
4399
  1
4451
4400
  );
4452
4401
  });
4453
4402
  };
4454
- wr(() => (window.addEventListener("message", P, !1), () => {
4403
+ fr(() => (window.addEventListener("message", P, !1), () => {
4455
4404
  window.removeEventListener("message", P);
4456
4405
  }));
4457
- function L(d) {
4458
- Ae[d ? "unshift" : "push"](() => {
4459
- p = d, r(2, p);
4406
+ function O(p) {
4407
+ Ie[p ? "unshift" : "push"](() => {
4408
+ d = p, r(2, d);
4460
4409
  });
4461
4410
  }
4462
- return e.$$set = (d) => {
4463
- "showpopup" in d && r(7, i = d.showpopup), "iteminfoamount" in d && r(0, o = d.iteminfoamount), "lang" in d && r(8, a = d.lang), "playercurrency" in d && r(1, s = d.playercurrency), "clientstyling" in d && r(9, l = d.clientstyling), "clientstylingurl" in d && r(10, u = d.clientstylingurl), "translationurl" in d && r(11, h = d.translationurl);
4411
+ return e.$$set = (p) => {
4412
+ "showpopup" in p && r(7, i = p.showpopup), "iteminfoamount" in p && r(0, o = p.iteminfoamount), "lang" in p && r(8, a = p.lang), "playercurrency" in p && r(1, s = p.playercurrency), "clientstyling" in p && r(9, l = p.clientstyling), "clientstylingurl" in p && r(10, u = p.clientstylingurl), "translationurl" in p && r(11, h = p.translationurl);
4464
4413
  }, e.$$.update = () => {
4465
4414
  e.$$.dirty & /*showpopup, lang*/
4466
- 384 && i && a && _(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4467
- 1028 && u && p && w(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4468
- 516 && l && p && x(), e.$$.dirty & /*translationurl*/
4469
- 2048 && h && f();
4415
+ 384 && i && a && E(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4416
+ 1028 && u && d && w(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4417
+ 516 && l && d && x(), e.$$.dirty & /*translationurl*/
4418
+ 2048 && h && c();
4470
4419
  }, [
4471
4420
  o,
4472
4421
  s,
4473
- p,
4474
- c,
4422
+ d,
4423
+ f,
4475
4424
  n,
4476
- y,
4425
+ g,
4477
4426
  S,
4478
4427
  i,
4479
4428
  a,
4480
4429
  l,
4481
4430
  u,
4482
4431
  h,
4483
- L
4432
+ O
4484
4433
  ];
4485
4434
  }
4486
- class qi extends Rr {
4435
+ class Mi extends Tr {
4487
4436
  constructor(t) {
4488
- super(), Nr(
4437
+ super(), _r(
4489
4438
  this,
4490
4439
  t,
4491
- Xi,
4492
- Wi,
4493
- Ct,
4440
+ Li,
4441
+ Ni,
4442
+ _t,
4494
4443
  {
4495
4444
  showpopup: 7,
4496
4445
  iteminfoamount: 0,
@@ -4500,53 +4449,53 @@ class qi extends Rr {
4500
4449
  clientstylingurl: 10,
4501
4450
  translationurl: 11
4502
4451
  },
4503
- ki
4452
+ Bi
4504
4453
  );
4505
4454
  }
4506
4455
  get showpopup() {
4507
4456
  return this.$$.ctx[7];
4508
4457
  }
4509
4458
  set showpopup(t) {
4510
- this.$$set({ showpopup: t }), M();
4459
+ this.$$set({ showpopup: t }), N();
4511
4460
  }
4512
4461
  get iteminfoamount() {
4513
4462
  return this.$$.ctx[0];
4514
4463
  }
4515
4464
  set iteminfoamount(t) {
4516
- this.$$set({ iteminfoamount: t }), M();
4465
+ this.$$set({ iteminfoamount: t }), N();
4517
4466
  }
4518
4467
  get lang() {
4519
4468
  return this.$$.ctx[8];
4520
4469
  }
4521
4470
  set lang(t) {
4522
- this.$$set({ lang: t }), M();
4471
+ this.$$set({ lang: t }), N();
4523
4472
  }
4524
4473
  get playercurrency() {
4525
4474
  return this.$$.ctx[1];
4526
4475
  }
4527
4476
  set playercurrency(t) {
4528
- this.$$set({ playercurrency: t }), M();
4477
+ this.$$set({ playercurrency: t }), N();
4529
4478
  }
4530
4479
  get clientstyling() {
4531
4480
  return this.$$.ctx[9];
4532
4481
  }
4533
4482
  set clientstyling(t) {
4534
- this.$$set({ clientstyling: t }), M();
4483
+ this.$$set({ clientstyling: t }), N();
4535
4484
  }
4536
4485
  get clientstylingurl() {
4537
4486
  return this.$$.ctx[10];
4538
4487
  }
4539
4488
  set clientstylingurl(t) {
4540
- this.$$set({ clientstylingurl: t }), M();
4489
+ this.$$set({ clientstylingurl: t }), N();
4541
4490
  }
4542
4491
  get translationurl() {
4543
4492
  return this.$$.ctx[11];
4544
4493
  }
4545
4494
  set translationurl(t) {
4546
- this.$$set({ translationurl: t }), M();
4495
+ this.$$set({ translationurl: t }), N();
4547
4496
  }
4548
4497
  }
4549
- $r(qi, { showpopup: {}, iteminfoamount: {}, lang: {}, playercurrency: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4498
+ Er(Mi, { showpopup: {}, iteminfoamount: {}, lang: {}, playercurrency: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4550
4499
  export {
4551
- qi as default
4500
+ Mi as P
4552
4501
  };