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