@everymatrix/casino-hamburger-menu 1.53.11 → 1.54.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,57 +1,86 @@
1
- function k() {
1
+ var Sn = Object.defineProperty, Tn = Object.defineProperties;
2
+ var Mn = Object.getOwnPropertyDescriptors;
3
+ var It = Object.getOwnPropertySymbols;
4
+ var An = Object.prototype.hasOwnProperty, Bn = Object.prototype.propertyIsEnumerable;
5
+ var Qe = (e, t, r) => t in e ? Sn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ct = (e, t) => {
6
+ for (var r in t || (t = {}))
7
+ An.call(t, r) && Qe(e, r, t[r]);
8
+ if (It)
9
+ for (var r of It(t))
10
+ Bn.call(t, r) && Qe(e, r, t[r]);
11
+ return e;
12
+ }, Lt = (e, t) => Tn(e, Mn(t));
13
+ var k = (e, t, r) => Qe(e, typeof t != "symbol" ? t + "" : t, r);
14
+ var Nt = (e, t, r) => new Promise((n, i) => {
15
+ var o = (u) => {
16
+ try {
17
+ a(r.next(u));
18
+ } catch (l) {
19
+ i(l);
20
+ }
21
+ }, s = (u) => {
22
+ try {
23
+ a(r.throw(u));
24
+ } catch (l) {
25
+ i(l);
26
+ }
27
+ }, a = (u) => u.done ? n(u.value) : Promise.resolve(u.value).then(o, s);
28
+ a((r = r.apply(e, t)).next());
29
+ });
30
+ function j() {
2
31
  }
3
- const br = (e) => e;
4
- function yn(e, t) {
32
+ const Hr = (e) => e;
33
+ function Pn(e, t) {
5
34
  for (const r in t) e[r] = t[r];
6
35
  return (
7
36
  /** @type {T & S} */
8
37
  e
9
38
  );
10
39
  }
11
- function yr(e) {
40
+ function Sr(e) {
12
41
  return e();
13
42
  }
14
- function Bt() {
43
+ function Rt() {
15
44
  return /* @__PURE__ */ Object.create(null);
16
45
  }
17
- function J(e) {
18
- e.forEach(yr);
46
+ function Y(e) {
47
+ e.forEach(Sr);
19
48
  }
20
- function Ge(e) {
49
+ function ke(e) {
21
50
  return typeof e == "function";
22
51
  }
23
- function _r(e, t) {
52
+ function Tr(e, t) {
24
53
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
25
54
  }
26
- let Me;
27
- function q(e, t) {
28
- return e === t ? !0 : (Me || (Me = document.createElement("a")), Me.href = t, e === Me.href);
55
+ let Ae;
56
+ function J(e, t) {
57
+ return e === t ? !0 : (Ae || (Ae = document.createElement("a")), Ae.href = t, e === Ae.href);
29
58
  }
30
- function _n(e) {
59
+ function On(e) {
31
60
  return Object.keys(e).length === 0;
32
61
  }
33
- function vr(e, ...t) {
62
+ function Mr(e, ...t) {
34
63
  if (e == null) {
35
64
  for (const n of t)
36
65
  n(void 0);
37
- return k;
66
+ return j;
38
67
  }
39
68
  const r = e.subscribe(...t);
40
69
  return r.unsubscribe ? () => r.unsubscribe() : r;
41
70
  }
42
- function vn(e, t, r) {
43
- e.$$.on_destroy.push(vr(t, r));
71
+ function In(e, t, r) {
72
+ e.$$.on_destroy.push(Mr(t, r));
44
73
  }
45
- function xn(e, t, r, n) {
74
+ function Cn(e, t, r, n) {
46
75
  if (e) {
47
- const i = xr(e, t, r, n);
76
+ const i = Ar(e, t, r, n);
48
77
  return e[0](i);
49
78
  }
50
79
  }
51
- function xr(e, t, r, n) {
52
- return e[1] && n ? yn(r.ctx.slice(), e[1](n(t))) : r.ctx;
80
+ function Ar(e, t, r, n) {
81
+ return e[1] && n ? Pn(r.ctx.slice(), e[1](n(t))) : r.ctx;
53
82
  }
54
- function En(e, t, r, n) {
83
+ function Ln(e, t, r, n) {
55
84
  if (e[2] && n) {
56
85
  const i = e[2](n(r));
57
86
  if (t.dirty === void 0)
@@ -66,13 +95,13 @@ function En(e, t, r, n) {
66
95
  }
67
96
  return t.dirty;
68
97
  }
69
- function wn(e, t, r, n, i, o) {
98
+ function Nn(e, t, r, n, i, o) {
70
99
  if (i) {
71
- const s = xr(t, r, n, o);
100
+ const s = Ar(t, r, n, o);
72
101
  e.p(s, i);
73
102
  }
74
103
  }
75
- function Hn(e) {
104
+ function Rn(e) {
76
105
  if (e.ctx.length > 32) {
77
106
  const t = [], r = e.ctx.length / 32;
78
107
  for (let n = 0; n < r; n++)
@@ -81,36 +110,36 @@ function Hn(e) {
81
110
  }
82
111
  return -1;
83
112
  }
84
- const Er = typeof window < "u";
85
- let Sn = Er ? () => window.performance.now() : () => Date.now(), bt = Er ? (e) => requestAnimationFrame(e) : k;
86
- const se = /* @__PURE__ */ new Set();
87
- function wr(e) {
88
- se.forEach((t) => {
89
- t.c(e) || (se.delete(t), t.f());
90
- }), se.size !== 0 && bt(wr);
113
+ const Br = typeof window != "undefined";
114
+ let Fn = Br ? () => window.performance.now() : () => Date.now(), _t = Br ? (e) => requestAnimationFrame(e) : j;
115
+ const ae = /* @__PURE__ */ new Set();
116
+ function Pr(e) {
117
+ ae.forEach((t) => {
118
+ t.c(e) || (ae.delete(t), t.f());
119
+ }), ae.size !== 0 && _t(Pr);
91
120
  }
92
- function Tn(e) {
121
+ function Un(e) {
93
122
  let t;
94
- return se.size === 0 && bt(wr), {
123
+ return ae.size === 0 && _t(Pr), {
95
124
  promise: new Promise((r) => {
96
- se.add(t = { c: e, f: r });
125
+ ae.add(t = { c: e, f: r });
97
126
  }),
98
127
  abort() {
99
- se.delete(t);
128
+ ae.delete(t);
100
129
  }
101
130
  };
102
131
  }
103
132
  function _(e, t) {
104
133
  e.appendChild(t);
105
134
  }
106
- function Mn(e, t, r) {
107
- const n = yt(e);
135
+ function Dn(e, t, r) {
136
+ const n = vt(e);
108
137
  if (!n.getElementById(t)) {
109
138
  const i = A("style");
110
- i.id = t, i.textContent = r, Hr(n, i);
139
+ i.id = t, i.textContent = r, Or(n, i);
111
140
  }
112
141
  }
113
- function yt(e) {
142
+ function vt(e) {
114
143
  if (!e) return document;
115
144
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
116
145
  return t && /** @type {ShadowRoot} */
@@ -119,56 +148,56 @@ function yt(e) {
119
148
  t
120
149
  ) : e.ownerDocument;
121
150
  }
122
- function An(e) {
151
+ function $n(e) {
123
152
  const t = A("style");
124
- return t.textContent = "/* empty */", Hr(yt(e), t), t.sheet;
153
+ return t.textContent = "/* empty */", Or(vt(e), t), t.sheet;
125
154
  }
126
- function Hr(e, t) {
155
+ function Or(e, t) {
127
156
  return _(
128
157
  /** @type {Document} */
129
158
  e.head || e,
130
159
  t
131
160
  ), t.sheet;
132
161
  }
133
- function j(e, t, r) {
162
+ function V(e, t, r) {
134
163
  e.insertBefore(t, r || null);
135
164
  }
136
- function U(e) {
165
+ function D(e) {
137
166
  e.parentNode && e.parentNode.removeChild(e);
138
167
  }
139
- function Ne(e, t) {
168
+ function Re(e, t) {
140
169
  for (let r = 0; r < e.length; r += 1)
141
170
  e[r] && e[r].d(t);
142
171
  }
143
172
  function A(e) {
144
173
  return document.createElement(e);
145
174
  }
146
- function K(e) {
175
+ function ee(e) {
147
176
  return document.createElementNS("http://www.w3.org/2000/svg", e);
148
177
  }
149
- function te(e) {
178
+ function re(e) {
150
179
  return document.createTextNode(e);
151
180
  }
152
- function D() {
153
- return te(" ");
181
+ function $() {
182
+ return re(" ");
154
183
  }
155
- function ee(e, t, r, n) {
184
+ function te(e, t, r, n) {
156
185
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
157
186
  }
158
187
  function g(e, t, r) {
159
188
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
160
189
  }
161
- function Bn(e) {
190
+ function Gn(e) {
162
191
  return Array.from(e.childNodes);
163
192
  }
164
- function me(e, t) {
193
+ function pe(e, t) {
165
194
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
166
195
  t);
167
196
  }
168
- function Pt(e, t) {
169
- e.value = t ?? "";
197
+ function Ft(e, t) {
198
+ e.value = t == null ? "" : t;
170
199
  }
171
- function Ot(e, t, r) {
200
+ function Ut(e, t, r) {
172
201
  for (let n = 0; n < e.options.length; n += 1) {
173
202
  const i = e.options[n];
174
203
  if (i.__value === t) {
@@ -178,14 +207,14 @@ function Ot(e, t, r) {
178
207
  }
179
208
  (!r || t !== void 0) && (e.selectedIndex = -1);
180
209
  }
181
- function Pn(e) {
210
+ function kn(e) {
182
211
  const t = e.querySelector(":checked");
183
212
  return t && t.__value;
184
213
  }
185
- function On(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
214
+ function jn(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
186
215
  return new CustomEvent(e, { detail: t, bubbles: r, cancelable: n });
187
216
  }
188
- function In(e) {
217
+ function Vn(e) {
189
218
  const t = {};
190
219
  return e.childNodes.forEach(
191
220
  /** @param {Element} node */
@@ -194,18 +223,18 @@ function In(e) {
194
223
  }
195
224
  ), t;
196
225
  }
197
- const Re = /* @__PURE__ */ new Map();
198
- let Fe = 0;
199
- function Cn(e) {
226
+ const Fe = /* @__PURE__ */ new Map();
227
+ let Ue = 0;
228
+ function Wn(e) {
200
229
  let t = 5381, r = e.length;
201
230
  for (; r--; ) t = (t << 5) - t ^ e.charCodeAt(r);
202
231
  return t >>> 0;
203
232
  }
204
- function Ln(e, t) {
205
- const r = { stylesheet: An(t), rules: {} };
206
- return Re.set(e, r), r;
233
+ function Xn(e, t) {
234
+ const r = { stylesheet: $n(t), rules: {} };
235
+ return Fe.set(e, r), r;
207
236
  }
208
- function It(e, t, r, n, i, o, s, a = 0) {
237
+ function Dt(e, t, r, n, i, o, s, a = 0) {
209
238
  const u = 16.666 / n;
210
239
  let l = `{
211
240
  `;
@@ -215,122 +244,122 @@ function It(e, t, r, n, i, o, s, a = 0) {
215
244
  `;
216
245
  }
217
246
  const h = l + `100% {${s(r, 1 - r)}}
218
- }`, c = `__svelte_${Cn(h)}_${a}`, f = yt(e), { stylesheet: p, rules: d } = Re.get(f) || Ln(f, e);
247
+ }`, c = `__svelte_${Wn(h)}_${a}`, f = vt(e), { stylesheet: p, rules: d } = Fe.get(f) || Xn(f, e);
219
248
  d[c] || (d[c] = !0, p.insertRule(`@keyframes ${c} ${h}`, p.cssRules.length));
220
249
  const b = e.style.animation || "";
221
- return e.style.animation = `${b ? `${b}, ` : ""}${c} ${n}ms linear ${i}ms 1 both`, Fe += 1, c;
250
+ return e.style.animation = `${b ? `${b}, ` : ""}${c} ${n}ms linear ${i}ms 1 both`, Ue += 1, c;
222
251
  }
223
- function Nn(e, t) {
252
+ function zn(e, t) {
224
253
  const r = (e.style.animation || "").split(", "), n = r.filter(
225
254
  t ? (o) => o.indexOf(t) < 0 : (o) => o.indexOf("__svelte") === -1
226
255
  // remove all Svelte animations
227
256
  ), i = r.length - n.length;
228
- i && (e.style.animation = n.join(", "), Fe -= i, Fe || Rn());
257
+ i && (e.style.animation = n.join(", "), Ue -= i, Ue || Zn());
229
258
  }
230
- function Rn() {
231
- bt(() => {
232
- Fe || (Re.forEach((e) => {
259
+ function Zn() {
260
+ _t(() => {
261
+ Ue || (Fe.forEach((e) => {
233
262
  const { ownerNode: t } = e.stylesheet;
234
- t && U(t);
235
- }), Re.clear());
263
+ t && D(t);
264
+ }), Fe.clear());
236
265
  });
237
266
  }
238
- let Ee;
239
- function ve(e) {
240
- Ee = e;
267
+ let we;
268
+ function xe(e) {
269
+ we = e;
241
270
  }
242
- function Fn() {
243
- if (!Ee) throw new Error("Function called outside component initialization");
244
- return Ee;
271
+ function Qn() {
272
+ if (!we) throw new Error("Function called outside component initialization");
273
+ return we;
245
274
  }
246
- function Un(e) {
247
- Fn().$$.on_mount.push(e);
248
- }
249
- const oe = [], Ue = [];
250
- let ae = [];
251
- const Ct = [], Dn = /* @__PURE__ */ Promise.resolve();
252
- let rt = !1;
253
- function $n() {
254
- rt || (rt = !0, Dn.then(V));
255
- }
256
- function le(e) {
257
- ae.push(e);
258
- }
259
- const Ze = /* @__PURE__ */ new Set();
260
- let ne = 0;
261
- function V() {
262
- if (ne !== 0)
275
+ function qn(e) {
276
+ Qn().$$.on_mount.push(e);
277
+ }
278
+ const se = [], De = [];
279
+ let ue = [];
280
+ const $t = [], Jn = /* @__PURE__ */ Promise.resolve();
281
+ let it = !1;
282
+ function Yn() {
283
+ it || (it = !0, Jn.then(W));
284
+ }
285
+ function he(e) {
286
+ ue.push(e);
287
+ }
288
+ const qe = /* @__PURE__ */ new Set();
289
+ let ie = 0;
290
+ function W() {
291
+ if (ie !== 0)
263
292
  return;
264
- const e = Ee;
293
+ const e = we;
265
294
  do {
266
295
  try {
267
- for (; ne < oe.length; ) {
268
- const t = oe[ne];
269
- ne++, ve(t), Gn(t.$$);
296
+ for (; ie < se.length; ) {
297
+ const t = se[ie];
298
+ ie++, xe(t), Kn(t.$$);
270
299
  }
271
300
  } catch (t) {
272
- throw oe.length = 0, ne = 0, t;
301
+ throw se.length = 0, ie = 0, t;
273
302
  }
274
- for (ve(null), oe.length = 0, ne = 0; Ue.length; ) Ue.pop()();
275
- for (let t = 0; t < ae.length; t += 1) {
276
- const r = ae[t];
277
- Ze.has(r) || (Ze.add(r), r());
303
+ for (xe(null), se.length = 0, ie = 0; De.length; ) De.pop()();
304
+ for (let t = 0; t < ue.length; t += 1) {
305
+ const r = ue[t];
306
+ qe.has(r) || (qe.add(r), r());
278
307
  }
279
- ae.length = 0;
280
- } while (oe.length);
281
- for (; Ct.length; )
282
- Ct.pop()();
283
- rt = !1, Ze.clear(), ve(e);
308
+ ue.length = 0;
309
+ } while (se.length);
310
+ for (; $t.length; )
311
+ $t.pop()();
312
+ it = !1, qe.clear(), xe(e);
284
313
  }
285
- function Gn(e) {
314
+ function Kn(e) {
286
315
  if (e.fragment !== null) {
287
- e.update(), J(e.before_update);
316
+ e.update(), Y(e.before_update);
288
317
  const t = e.dirty;
289
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(le);
318
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(he);
290
319
  }
291
320
  }
292
- function kn(e) {
321
+ function ei(e) {
293
322
  const t = [], r = [];
294
- ae.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ae = t;
323
+ ue.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ue = t;
295
324
  }
296
- let ye;
297
- function jn() {
298
- return ye || (ye = Promise.resolve(), ye.then(() => {
299
- ye = null;
300
- })), ye;
325
+ let _e;
326
+ function ti() {
327
+ return _e || (_e = Promise.resolve(), _e.then(() => {
328
+ _e = null;
329
+ })), _e;
301
330
  }
302
- function Qe(e, t, r) {
303
- e.dispatchEvent(On(`${t ? "intro" : "outro"}${r}`));
331
+ function Je(e, t, r) {
332
+ e.dispatchEvent(jn(`${t ? "intro" : "outro"}${r}`));
304
333
  }
305
- const Pe = /* @__PURE__ */ new Set();
306
- let W;
307
- function Vn() {
308
- W = {
334
+ const Oe = /* @__PURE__ */ new Set();
335
+ let X;
336
+ function ri() {
337
+ X = {
309
338
  r: 0,
310
339
  c: [],
311
- p: W
340
+ p: X
312
341
  // parent group
313
342
  };
314
343
  }
315
- function Wn() {
316
- W.r || J(W.c), W = W.p;
344
+ function ni() {
345
+ X.r || Y(X.c), X = X.p;
317
346
  }
318
- function xe(e, t) {
319
- e && e.i && (Pe.delete(e), e.i(t));
347
+ function Ee(e, t) {
348
+ e && e.i && (Oe.delete(e), e.i(t));
320
349
  }
321
- function nt(e, t, r, n) {
350
+ function ot(e, t, r, n) {
322
351
  if (e && e.o) {
323
- if (Pe.has(e)) return;
324
- Pe.add(e), W.c.push(() => {
325
- Pe.delete(e), n && (r && e.d(1), n());
352
+ if (Oe.has(e)) return;
353
+ Oe.add(e), X.c.push(() => {
354
+ Oe.delete(e), n && (r && e.d(1), n());
326
355
  }), e.o(t);
327
356
  } else n && n();
328
357
  }
329
- const Xn = { duration: 0 };
330
- function Lt(e, t, r, n) {
358
+ const ii = { duration: 0 };
359
+ function Gt(e, t, r, n) {
331
360
  let o = t(e, r, { direction: "both" }), s = n ? 0 : 1, a = null, u = null, l = null, h;
332
361
  function c() {
333
- l && Nn(e, l);
362
+ l && zn(e, l);
334
363
  }
335
364
  function f(d, b) {
336
365
  const S = (
@@ -351,16 +380,16 @@ function Lt(e, t, r, n) {
351
380
  const {
352
381
  delay: b = 0,
353
382
  duration: S = 300,
354
- easing: P = br,
355
- tick: C = k,
383
+ easing: P = Hr,
384
+ tick: C = j,
356
385
  css: B
357
- } = o || Xn, L = {
358
- start: Sn() + b,
386
+ } = o || ii, L = {
387
+ start: Fn() + b,
359
388
  b: d
360
389
  };
361
- d || (L.group = W, W.r += 1), "inert" in e && (d ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
362
- e.inert, e.inert = !0)), a || u ? u = L : (B && (c(), l = It(e, s, d, S, b, P, B)), d && C(0, 1), a = f(L, S), le(() => Qe(e, d, "start")), Tn((y) => {
363
- if (u && y > u.start && (a = f(u, S), u = null, Qe(e, a.b, "start"), B && (c(), l = It(
390
+ d || (L.group = X, X.r += 1), "inert" in e && (d ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
391
+ e.inert, e.inert = !0)), a || u ? u = L : (B && (c(), l = Dt(e, s, d, S, b, P, B)), d && C(0, 1), a = f(L, S), he(() => Je(e, d, "start")), Un((y) => {
392
+ if (u && y > u.start && (a = f(u, S), u = null, Je(e, a.b, "start"), B && (c(), l = Dt(
364
393
  e,
365
394
  s,
366
395
  a.b,
@@ -370,7 +399,7 @@ function Lt(e, t, r, n) {
370
399
  o.css
371
400
  ))), a) {
372
401
  if (y >= a.end)
373
- C(s = a.b, 1 - s), Qe(e, a.b, "end"), u || (a.b ? c() : --a.group.r || J(a.group.c)), a = null;
402
+ C(s = a.b, 1 - s), Je(e, a.b, "end"), u || (a.b ? c() : --a.group.r || Y(a.group.c)), a = null;
374
403
  else if (y >= a.start) {
375
404
  const T = y - a.start;
376
405
  s = a.a + a.d * P(T / a.duration), C(s, 1 - s);
@@ -381,7 +410,7 @@ function Lt(e, t, r, n) {
381
410
  }
382
411
  return {
383
412
  run(d) {
384
- Ge(o) ? jn().then(() => {
413
+ ke(o) ? ti().then(() => {
385
414
  o = o({ direction: d ? "in" : "out" }), p(d);
386
415
  }) : p(d);
387
416
  },
@@ -390,34 +419,34 @@ function Lt(e, t, r, n) {
390
419
  }
391
420
  };
392
421
  }
393
- function Z(e) {
394
- return e?.length !== void 0 ? e : Array.from(e);
422
+ function Q(e) {
423
+ return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
395
424
  }
396
- function zn(e, t, r) {
425
+ function oi(e, t, r) {
397
426
  const { fragment: n, after_update: i } = e.$$;
398
- n && n.m(t, r), le(() => {
399
- const o = e.$$.on_mount.map(yr).filter(Ge);
400
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : J(o), e.$$.on_mount = [];
401
- }), i.forEach(le);
427
+ n && n.m(t, r), he(() => {
428
+ const o = e.$$.on_mount.map(Sr).filter(ke);
429
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Y(o), e.$$.on_mount = [];
430
+ }), i.forEach(he);
402
431
  }
403
- function Zn(e, t) {
432
+ function si(e, t) {
404
433
  const r = e.$$;
405
- r.fragment !== null && (kn(r.after_update), J(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
434
+ r.fragment !== null && (ei(r.after_update), Y(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
406
435
  }
407
- function Qn(e, t) {
408
- e.$$.dirty[0] === -1 && (oe.push(e), $n(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
436
+ function ai(e, t) {
437
+ e.$$.dirty[0] === -1 && (se.push(e), Yn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
409
438
  }
410
- function qn(e, t, r, n, i, o, s = null, a = [-1]) {
411
- const u = Ee;
412
- ve(e);
439
+ function ui(e, t, r, n, i, o, s = null, a = [-1]) {
440
+ const u = we;
441
+ xe(e);
413
442
  const l = e.$$ = {
414
443
  fragment: null,
415
444
  ctx: [],
416
445
  // state
417
446
  props: o,
418
- update: k,
447
+ update: j,
419
448
  not_equal: i,
420
- bound: Bt(),
449
+ bound: Rt(),
421
450
  // lifecycle
422
451
  on_mount: [],
423
452
  on_destroy: [],
@@ -426,7 +455,7 @@ function qn(e, t, r, n, i, o, s = null, a = [-1]) {
426
455
  after_update: [],
427
456
  context: new Map(t.context || (u ? u.$$.context : [])),
428
457
  // everything else
429
- callbacks: Bt(),
458
+ callbacks: Rt(),
430
459
  dirty: a,
431
460
  skip_bound: !1,
432
461
  root: t.target || u.$$.root
@@ -435,137 +464,141 @@ function qn(e, t, r, n, i, o, s = null, a = [-1]) {
435
464
  let h = !1;
436
465
  if (l.ctx = r(e, t.props || {}, (c, f, ...p) => {
437
466
  const d = p.length ? p[0] : f;
438
- return l.ctx && i(l.ctx[c], l.ctx[c] = d) && (!l.skip_bound && l.bound[c] && l.bound[c](d), h && Qn(e, c)), f;
439
- }), l.update(), h = !0, J(l.before_update), l.fragment = n(l.ctx), t.target) {
467
+ return l.ctx && i(l.ctx[c], l.ctx[c] = d) && (!l.skip_bound && l.bound[c] && l.bound[c](d), h && ai(e, c)), f;
468
+ }), l.update(), h = !0, Y(l.before_update), l.fragment = n(l.ctx), t.target) {
440
469
  if (t.hydrate) {
441
- const c = Bn(t.target);
442
- l.fragment && l.fragment.l(c), c.forEach(U);
470
+ const c = Gn(t.target);
471
+ l.fragment && l.fragment.l(c), c.forEach(D);
443
472
  } else
444
473
  l.fragment && l.fragment.c();
445
- t.intro && xe(e.$$.fragment), zn(e, t.target, t.anchor), V();
474
+ t.intro && Ee(e.$$.fragment), oi(e, t.target, t.anchor), W();
446
475
  }
447
- ve(u);
448
- }
449
- let Sr;
450
- typeof HTMLElement == "function" && (Sr = class extends HTMLElement {
451
- /** The Svelte component constructor */
452
- $$ctor;
453
- /** Slots */
454
- $$s;
455
- /** The Svelte component instance */
456
- $$c;
457
- /** Whether or not the custom element is connected */
458
- $$cn = !1;
459
- /** Component props data */
460
- $$d = {};
461
- /** `true` if currently in the process of reflecting component props back to attributes */
462
- $$r = !1;
463
- /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
464
- $$p_d = {};
465
- /** @type {Record<string, Function[]>} Event listeners */
466
- $$l = {};
467
- /** @type {Map<Function, Function>} Event listener unsubscribe functions */
468
- $$l_u = /* @__PURE__ */ new Map();
469
- constructor(e, t, r) {
470
- super(), this.$$ctor = e, this.$$s = t, r && this.attachShadow({ mode: "open" });
476
+ xe(u);
477
+ }
478
+ let Ir;
479
+ typeof HTMLElement == "function" && (Ir = class extends HTMLElement {
480
+ constructor(t, r, n) {
481
+ super();
482
+ /** The Svelte component constructor */
483
+ k(this, "$$ctor");
484
+ /** Slots */
485
+ k(this, "$$s");
486
+ /** The Svelte component instance */
487
+ k(this, "$$c");
488
+ /** Whether or not the custom element is connected */
489
+ k(this, "$$cn", !1);
490
+ /** Component props data */
491
+ k(this, "$$d", {});
492
+ /** `true` if currently in the process of reflecting component props back to attributes */
493
+ k(this, "$$r", !1);
494
+ /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
495
+ k(this, "$$p_d", {});
496
+ /** @type {Record<string, Function[]>} Event listeners */
497
+ k(this, "$$l", {});
498
+ /** @type {Map<Function, Function>} Event listener unsubscribe functions */
499
+ k(this, "$$l_u", /* @__PURE__ */ new Map());
500
+ this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
471
501
  }
472
- addEventListener(e, t, r) {
473
- if (this.$$l[e] = this.$$l[e] || [], this.$$l[e].push(t), this.$$c) {
474
- const n = this.$$c.$on(e, t);
475
- this.$$l_u.set(t, n);
502
+ addEventListener(t, r, n) {
503
+ if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(r), this.$$c) {
504
+ const i = this.$$c.$on(t, r);
505
+ this.$$l_u.set(r, i);
476
506
  }
477
- super.addEventListener(e, t, r);
507
+ super.addEventListener(t, r, n);
478
508
  }
479
- removeEventListener(e, t, r) {
480
- if (super.removeEventListener(e, t, r), this.$$c) {
481
- const n = this.$$l_u.get(t);
482
- n && (n(), this.$$l_u.delete(t));
509
+ removeEventListener(t, r, n) {
510
+ if (super.removeEventListener(t, r, n), this.$$c) {
511
+ const i = this.$$l_u.get(r);
512
+ i && (i(), this.$$l_u.delete(r));
483
513
  }
484
514
  }
485
- async connectedCallback() {
486
- if (this.$$cn = !0, !this.$$c) {
487
- let e = function(i) {
488
- return () => {
489
- let o;
490
- return {
491
- c: function() {
492
- o = A("slot"), i !== "default" && g(o, "name", i);
493
- },
494
- /**
495
- * @param {HTMLElement} target
496
- * @param {HTMLElement} [anchor]
497
- */
498
- m: function(u, l) {
499
- j(u, o, l);
500
- },
501
- d: function(u) {
502
- u && U(o);
503
- }
515
+ connectedCallback() {
516
+ return Nt(this, null, function* () {
517
+ if (this.$$cn = !0, !this.$$c) {
518
+ let t = function(o) {
519
+ return () => {
520
+ let s;
521
+ return {
522
+ c: function() {
523
+ s = A("slot"), o !== "default" && g(s, "name", o);
524
+ },
525
+ /**
526
+ * @param {HTMLElement} target
527
+ * @param {HTMLElement} [anchor]
528
+ */
529
+ m: function(l, h) {
530
+ V(l, s, h);
531
+ },
532
+ d: function(l) {
533
+ l && D(s);
534
+ }
535
+ };
504
536
  };
505
537
  };
506
- };
507
- if (await Promise.resolve(), !this.$$cn || this.$$c)
508
- return;
509
- const t = {}, r = In(this);
510
- for (const i of this.$$s)
511
- i in r && (t[i] = [e(i)]);
512
- for (const i of this.attributes) {
513
- const o = this.$$g_p(i.name);
514
- o in this.$$d || (this.$$d[o] = Oe(o, i.value, this.$$p_d, "toProp"));
515
- }
516
- for (const i in this.$$p_d)
517
- !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
518
- this.$$c = new this.$$ctor({
519
- target: this.shadowRoot || this,
520
- props: {
521
- ...this.$$d,
522
- $$slots: t,
523
- $$scope: {
524
- ctx: []
525
- }
538
+ if (yield Promise.resolve(), !this.$$cn || this.$$c)
539
+ return;
540
+ const r = {}, n = Vn(this);
541
+ for (const o of this.$$s)
542
+ o in n && (r[o] = [t(o)]);
543
+ for (const o of this.attributes) {
544
+ const s = this.$$g_p(o.name);
545
+ s in this.$$d || (this.$$d[s] = Ie(s, o.value, this.$$p_d, "toProp"));
526
546
  }
527
- });
528
- const n = () => {
529
- this.$$r = !0;
530
- for (const i in this.$$p_d)
531
- if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
532
- const o = Oe(
533
- i,
534
- this.$$d[i],
535
- this.$$p_d,
536
- "toAttribute"
537
- );
538
- o == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, o);
547
+ for (const o in this.$$p_d)
548
+ !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
549
+ this.$$c = new this.$$ctor({
550
+ target: this.shadowRoot || this,
551
+ props: Lt(Ct({}, this.$$d), {
552
+ $$slots: r,
553
+ $$scope: {
554
+ ctx: []
555
+ }
556
+ })
557
+ });
558
+ const i = () => {
559
+ this.$$r = !0;
560
+ for (const o in this.$$p_d)
561
+ if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
562
+ const s = Ie(
563
+ o,
564
+ this.$$d[o],
565
+ this.$$p_d,
566
+ "toAttribute"
567
+ );
568
+ s == null ? this.removeAttribute(this.$$p_d[o].attribute || o) : this.setAttribute(this.$$p_d[o].attribute || o, s);
569
+ }
570
+ this.$$r = !1;
571
+ };
572
+ this.$$c.$$.after_update.push(i), i();
573
+ for (const o in this.$$l)
574
+ for (const s of this.$$l[o]) {
575
+ const a = this.$$c.$on(o, s);
576
+ this.$$l_u.set(s, a);
539
577
  }
540
- this.$$r = !1;
541
- };
542
- this.$$c.$$.after_update.push(n), n();
543
- for (const i in this.$$l)
544
- for (const o of this.$$l[i]) {
545
- const s = this.$$c.$on(i, o);
546
- this.$$l_u.set(o, s);
547
- }
548
- this.$$l = {};
549
- }
578
+ this.$$l = {};
579
+ }
580
+ });
550
581
  }
551
582
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
552
583
  // and setting attributes through setAttribute etc, this is helpful
553
- attributeChangedCallback(e, t, r) {
554
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = Oe(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
584
+ attributeChangedCallback(t, r, n) {
585
+ var i;
586
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = Ie(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
555
587
  }
556
588
  disconnectedCallback() {
557
589
  this.$$cn = !1, Promise.resolve().then(() => {
558
590
  !this.$$cn && this.$$c && (this.$$c.$destroy(), this.$$c = void 0);
559
591
  });
560
592
  }
561
- $$g_p(e) {
593
+ $$g_p(t) {
562
594
  return Object.keys(this.$$p_d).find(
563
- (t) => this.$$p_d[t].attribute === e || !this.$$p_d[t].attribute && t.toLowerCase() === e
564
- ) || e;
595
+ (r) => this.$$p_d[r].attribute === t || !this.$$p_d[r].attribute && r.toLowerCase() === t
596
+ ) || t;
565
597
  }
566
598
  });
567
- function Oe(e, t, r, n) {
568
- const i = r[e]?.type;
599
+ function Ie(e, t, r, n) {
600
+ var o;
601
+ const i = (o = r[e]) == null ? void 0 : o.type;
569
602
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
570
603
  return t;
571
604
  if (n === "toAttribute")
@@ -576,7 +609,7 @@ function Oe(e, t, r, n) {
576
609
  case "Boolean":
577
610
  return t ? "" : null;
578
611
  case "Number":
579
- return t ?? null;
612
+ return t == null ? null : t;
580
613
  default:
581
614
  return t;
582
615
  }
@@ -593,8 +626,8 @@ function Oe(e, t, r, n) {
593
626
  return t;
594
627
  }
595
628
  }
596
- function Jn(e, t, r, n, i, o) {
597
- let s = class extends Sr {
629
+ function li(e, t, r, n, i, o) {
630
+ let s = class extends Ir {
598
631
  constructor() {
599
632
  super(e, r, i), this.$$p_d = t;
600
633
  }
@@ -610,38 +643,42 @@ function Jn(e, t, r, n, i, o) {
610
643
  return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
611
644
  },
612
645
  set(u) {
613
- u = Oe(a, u, t), this.$$d[a] = u, this.$$c?.$set({ [a]: u });
646
+ var l;
647
+ u = Ie(a, u, t), this.$$d[a] = u, (l = this.$$c) == null || l.$set({ [a]: u });
614
648
  }
615
649
  });
616
650
  }), n.forEach((a) => {
617
651
  Object.defineProperty(s.prototype, a, {
618
652
  get() {
619
- return this.$$c?.[a];
653
+ var u;
654
+ return (u = this.$$c) == null ? void 0 : u[a];
620
655
  }
621
656
  });
622
657
  }), e.element = /** @type {any} */
623
658
  s, s;
624
659
  }
625
- class Yn {
626
- /**
627
- * ### PRIVATE API
628
- *
629
- * Do not use, may change at any time
630
- *
631
- * @type {any}
632
- */
633
- $$ = void 0;
634
- /**
635
- * ### PRIVATE API
636
- *
637
- * Do not use, may change at any time
638
- *
639
- * @type {any}
640
- */
641
- $$set = void 0;
660
+ class hi {
661
+ constructor() {
662
+ /**
663
+ * ### PRIVATE API
664
+ *
665
+ * Do not use, may change at any time
666
+ *
667
+ * @type {any}
668
+ */
669
+ k(this, "$$");
670
+ /**
671
+ * ### PRIVATE API
672
+ *
673
+ * Do not use, may change at any time
674
+ *
675
+ * @type {any}
676
+ */
677
+ k(this, "$$set");
678
+ }
642
679
  /** @returns {void} */
643
680
  $destroy() {
644
- Zn(this, 1), this.$destroy = k;
681
+ si(this, 1), this.$destroy = j;
645
682
  }
646
683
  /**
647
684
  * @template {Extract<keyof Events, string>} K
@@ -650,8 +687,8 @@ class Yn {
650
687
  * @returns {() => void}
651
688
  */
652
689
  $on(t, r) {
653
- if (!Ge(r))
654
- return k;
690
+ if (!ke(r))
691
+ return j;
655
692
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
656
693
  return n.push(r), () => {
657
694
  const i = n.indexOf(r);
@@ -663,12 +700,12 @@ class Yn {
663
700
  * @returns {void}
664
701
  */
665
702
  $set(t) {
666
- this.$$set && !_n(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
703
+ this.$$set && !On(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
667
704
  }
668
705
  }
669
- const Kn = "4";
670
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Kn);
671
- function Nt(e, { delay: t = 0, duration: r = 400, easing: n = br } = {}) {
706
+ const ci = "4";
707
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(ci);
708
+ function kt(e, { delay: t = 0, duration: r = 400, easing: n = Hr } = {}) {
672
709
  const i = +getComputedStyle(e).opacity;
673
710
  return {
674
711
  delay: t,
@@ -677,17 +714,17 @@ function Nt(e, { delay: t = 0, duration: r = 400, easing: n = br } = {}) {
677
714
  css: (o) => `opacity: ${o * i}`
678
715
  };
679
716
  }
680
- var it = function(e, t) {
681
- return it = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
717
+ var st = function(e, t) {
718
+ return st = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
682
719
  r.__proto__ = n;
683
720
  } || function(r, n) {
684
721
  for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
685
- }, it(e, t);
722
+ }, st(e, t);
686
723
  };
687
- function z(e, t) {
724
+ function Z(e, t) {
688
725
  if (typeof t != "function" && t !== null)
689
726
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
690
- it(e, t);
727
+ st(e, t);
691
728
  function r() {
692
729
  this.constructor = e;
693
730
  }
@@ -702,7 +739,7 @@ var H = function() {
702
739
  return t;
703
740
  }, H.apply(this, arguments);
704
741
  };
705
- function ei(e, t) {
742
+ function fi(e, t) {
706
743
  var r = {};
707
744
  for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
708
745
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -710,7 +747,7 @@ function ei(e, t) {
710
747
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
711
748
  return r;
712
749
  }
713
- function ot(e) {
750
+ function at(e) {
714
751
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
715
752
  if (r) return r.call(e);
716
753
  if (e && typeof e.length == "number") return {
@@ -720,7 +757,7 @@ function ot(e) {
720
757
  };
721
758
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
722
759
  }
723
- function st(e, t) {
760
+ function ut(e, t) {
724
761
  var r = typeof Symbol == "function" && e[Symbol.iterator];
725
762
  if (!r) return e;
726
763
  var n = r.call(e), i, o = [], s;
@@ -737,21 +774,21 @@ function st(e, t) {
737
774
  }
738
775
  return o;
739
776
  }
740
- function ue(e, t, r) {
777
+ function le(e, t, r) {
741
778
  if (r || arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
742
779
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
743
780
  return e.concat(o || Array.prototype.slice.call(t));
744
781
  }
745
- function X(e) {
782
+ function z(e) {
746
783
  return typeof e == "function";
747
784
  }
748
- function Tr(e) {
785
+ function Cr(e) {
749
786
  var t = function(n) {
750
787
  Error.call(n), n.stack = new Error().stack;
751
788
  }, r = e(t);
752
789
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
753
790
  }
754
- var qe = Tr(function(e) {
791
+ var Ye = Cr(function(e) {
755
792
  return function(r) {
756
793
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
757
794
  ` + r.map(function(n, i) {
@@ -760,13 +797,13 @@ var qe = Tr(function(e) {
760
797
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
761
798
  };
762
799
  });
763
- function at(e, t) {
800
+ function lt(e, t) {
764
801
  if (e) {
765
802
  var r = e.indexOf(t);
766
803
  0 <= r && e.splice(r, 1);
767
804
  }
768
805
  }
769
- var ke = function() {
806
+ var je = function() {
770
807
  function e(t) {
771
808
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
772
809
  }
@@ -778,7 +815,7 @@ var ke = function() {
778
815
  if (s)
779
816
  if (this._parentage = null, Array.isArray(s))
780
817
  try {
781
- for (var a = ot(s), u = a.next(); !u.done; u = a.next()) {
818
+ for (var a = at(s), u = a.next(); !u.done; u = a.next()) {
782
819
  var l = u.value;
783
820
  l.remove(this);
784
821
  }
@@ -794,22 +831,22 @@ var ke = function() {
794
831
  else
795
832
  s.remove(this);
796
833
  var h = this.initialTeardown;
797
- if (X(h))
834
+ if (z(h))
798
835
  try {
799
836
  h();
800
837
  } catch (b) {
801
- o = b instanceof qe ? b.errors : [b];
838
+ o = b instanceof Ye ? b.errors : [b];
802
839
  }
803
840
  var c = this._finalizers;
804
841
  if (c) {
805
842
  this._finalizers = null;
806
843
  try {
807
- for (var f = ot(c), p = f.next(); !p.done; p = f.next()) {
844
+ for (var f = at(c), p = f.next(); !p.done; p = f.next()) {
808
845
  var d = p.value;
809
846
  try {
810
- Rt(d);
847
+ jt(d);
811
848
  } catch (b) {
812
- o = o ?? [], b instanceof qe ? o = ue(ue([], st(o)), st(b.errors)) : o.push(b);
849
+ o = o != null ? o : [], b instanceof Ye ? o = le(le([], ut(o)), ut(b.errors)) : o.push(b);
813
850
  }
814
851
  }
815
852
  } catch (b) {
@@ -823,13 +860,13 @@ var ke = function() {
823
860
  }
824
861
  }
825
862
  if (o)
826
- throw new qe(o);
863
+ throw new Ye(o);
827
864
  }
828
865
  }, e.prototype.add = function(t) {
829
866
  var r;
830
867
  if (t && t !== this)
831
868
  if (this.closed)
832
- Rt(t);
869
+ jt(t);
833
870
  else {
834
871
  if (t instanceof e) {
835
872
  if (t.closed || t._hasParent(this))
@@ -846,56 +883,56 @@ var ke = function() {
846
883
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
847
884
  }, e.prototype._removeParent = function(t) {
848
885
  var r = this._parentage;
849
- r === t ? this._parentage = null : Array.isArray(r) && at(r, t);
886
+ r === t ? this._parentage = null : Array.isArray(r) && lt(r, t);
850
887
  }, e.prototype.remove = function(t) {
851
888
  var r = this._finalizers;
852
- r && at(r, t), t instanceof e && t._removeParent(this);
889
+ r && lt(r, t), t instanceof e && t._removeParent(this);
853
890
  }, e.EMPTY = function() {
854
891
  var t = new e();
855
892
  return t.closed = !0, t;
856
893
  }(), e;
857
- }(), Mr = ke.EMPTY;
858
- function Ar(e) {
859
- return e instanceof ke || e && "closed" in e && X(e.remove) && X(e.add) && X(e.unsubscribe);
894
+ }(), Lr = je.EMPTY;
895
+ function Nr(e) {
896
+ return e instanceof je || e && "closed" in e && z(e.remove) && z(e.add) && z(e.unsubscribe);
860
897
  }
861
- function Rt(e) {
862
- X(e) ? e() : e.unsubscribe();
898
+ function jt(e) {
899
+ z(e) ? e() : e.unsubscribe();
863
900
  }
864
- var ti = {
901
+ var di = {
865
902
  onUnhandledError: null,
866
903
  onStoppedNotification: null,
867
904
  Promise: void 0,
868
905
  useDeprecatedSynchronousErrorHandling: !1,
869
906
  useDeprecatedNextContext: !1
870
- }, ri = {
907
+ }, mi = {
871
908
  setTimeout: function(e, t) {
872
909
  for (var r = [], n = 2; n < arguments.length; n++)
873
910
  r[n - 2] = arguments[n];
874
- return setTimeout.apply(void 0, ue([e, t], st(r)));
911
+ return setTimeout.apply(void 0, le([e, t], ut(r)));
875
912
  },
876
913
  clearTimeout: function(e) {
877
914
  return clearTimeout(e);
878
915
  },
879
916
  delegate: void 0
880
917
  };
881
- function ni(e) {
882
- ri.setTimeout(function() {
918
+ function pi(e) {
919
+ mi.setTimeout(function() {
883
920
  throw e;
884
921
  });
885
922
  }
886
- function Ft() {
923
+ function Vt() {
887
924
  }
888
- function Ie(e) {
925
+ function Ce(e) {
889
926
  e();
890
927
  }
891
- var Br = function(e) {
892
- z(t, e);
928
+ var Rr = function(e) {
929
+ Z(t, e);
893
930
  function t(r) {
894
931
  var n = e.call(this) || this;
895
- return n.isStopped = !1, r ? (n.destination = r, Ar(r) && r.add(n)) : n.destination = si, n;
932
+ return n.isStopped = !1, r ? (n.destination = r, Nr(r) && r.add(n)) : n.destination = yi, n;
896
933
  }
897
934
  return t.create = function(r, n, i) {
898
- return new ut(r, n, i);
935
+ return new ht(r, n, i);
899
936
  }, t.prototype.next = function(r) {
900
937
  this.isStopped || this._next(r);
901
938
  }, t.prototype.error = function(r) {
@@ -919,7 +956,7 @@ var Br = function(e) {
919
956
  this.unsubscribe();
920
957
  }
921
958
  }, t;
922
- }(ke), ii = function() {
959
+ }(je), gi = function() {
923
960
  function e(t) {
924
961
  this.partialObserver = t;
925
962
  }
@@ -929,7 +966,7 @@ var Br = function(e) {
929
966
  try {
930
967
  r.next(t);
931
968
  } catch (n) {
932
- Ae(n);
969
+ Be(n);
933
970
  }
934
971
  }, e.prototype.error = function(t) {
935
972
  var r = this.partialObserver;
@@ -937,56 +974,56 @@ var Br = function(e) {
937
974
  try {
938
975
  r.error(t);
939
976
  } catch (n) {
940
- Ae(n);
977
+ Be(n);
941
978
  }
942
979
  else
943
- Ae(t);
980
+ Be(t);
944
981
  }, e.prototype.complete = function() {
945
982
  var t = this.partialObserver;
946
983
  if (t.complete)
947
984
  try {
948
985
  t.complete();
949
986
  } catch (r) {
950
- Ae(r);
987
+ Be(r);
951
988
  }
952
989
  }, e;
953
- }(), ut = function(e) {
954
- z(t, e);
990
+ }(), ht = function(e) {
991
+ Z(t, e);
955
992
  function t(r, n, i) {
956
993
  var o = e.call(this) || this, s;
957
- return X(r) || !r ? s = {
958
- next: r ?? void 0,
959
- error: n ?? void 0,
960
- complete: i ?? void 0
961
- } : s = r, o.destination = new ii(s), o;
994
+ return z(r) || !r ? s = {
995
+ next: r != null ? r : void 0,
996
+ error: n != null ? n : void 0,
997
+ complete: i != null ? i : void 0
998
+ } : s = r, o.destination = new gi(s), o;
962
999
  }
963
1000
  return t;
964
- }(Br);
965
- function Ae(e) {
966
- ni(e);
1001
+ }(Rr);
1002
+ function Be(e) {
1003
+ pi(e);
967
1004
  }
968
- function oi(e) {
1005
+ function bi(e) {
969
1006
  throw e;
970
1007
  }
971
- var si = {
1008
+ var yi = {
972
1009
  closed: !0,
973
- next: Ft,
974
- error: oi,
975
- complete: Ft
976
- }, ai = function() {
1010
+ next: Vt,
1011
+ error: bi,
1012
+ complete: Vt
1013
+ }, _i = function() {
977
1014
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
978
1015
  }();
979
- function ui(e) {
1016
+ function vi(e) {
980
1017
  return e;
981
1018
  }
982
- function li(e) {
983
- return e.length === 0 ? ui : e.length === 1 ? e[0] : function(r) {
1019
+ function xi(e) {
1020
+ return e.length === 0 ? vi : e.length === 1 ? e[0] : function(r) {
984
1021
  return e.reduce(function(n, i) {
985
1022
  return i(n);
986
1023
  }, r);
987
1024
  };
988
1025
  }
989
- var Ut = function() {
1026
+ var Wt = function() {
990
1027
  function e(t) {
991
1028
  t && (this._subscribe = t);
992
1029
  }
@@ -994,8 +1031,8 @@ var Ut = function() {
994
1031
  var r = new e();
995
1032
  return r.source = this, r.operator = t, r;
996
1033
  }, e.prototype.subscribe = function(t, r, n) {
997
- var i = this, o = ci(t) ? t : new ut(t, r, n);
998
- return Ie(function() {
1034
+ var i = this, o = wi(t) ? t : new ht(t, r, n);
1035
+ return Ce(function() {
999
1036
  var s = i, a = s.operator, u = s.source;
1000
1037
  o.add(a ? a.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
1001
1038
  }), o;
@@ -1007,8 +1044,8 @@ var Ut = function() {
1007
1044
  }
1008
1045
  }, e.prototype.forEach = function(t, r) {
1009
1046
  var n = this;
1010
- return r = Dt(r), new r(function(i, o) {
1011
- var s = new ut({
1047
+ return r = Xt(r), new r(function(i, o) {
1048
+ var s = new ht({
1012
1049
  next: function(a) {
1013
1050
  try {
1014
1051
  t(a);
@@ -1024,15 +1061,15 @@ var Ut = function() {
1024
1061
  }, e.prototype._subscribe = function(t) {
1025
1062
  var r;
1026
1063
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
1027
- }, e.prototype[ai] = function() {
1064
+ }, e.prototype[_i] = function() {
1028
1065
  return this;
1029
1066
  }, e.prototype.pipe = function() {
1030
1067
  for (var t = [], r = 0; r < arguments.length; r++)
1031
1068
  t[r] = arguments[r];
1032
- return li(t)(this);
1069
+ return xi(t)(this);
1033
1070
  }, e.prototype.toPromise = function(t) {
1034
1071
  var r = this;
1035
- return t = Dt(t), new t(function(n, i) {
1072
+ return t = Xt(t), new t(function(n, i) {
1036
1073
  var o;
1037
1074
  r.subscribe(function(s) {
1038
1075
  return o = s;
@@ -1046,40 +1083,40 @@ var Ut = function() {
1046
1083
  return new e(t);
1047
1084
  }, e;
1048
1085
  }();
1049
- function Dt(e) {
1086
+ function Xt(e) {
1050
1087
  var t;
1051
- return (t = e ?? ti.Promise) !== null && t !== void 0 ? t : Promise;
1088
+ return (t = e != null ? e : di.Promise) !== null && t !== void 0 ? t : Promise;
1052
1089
  }
1053
- function hi(e) {
1054
- return e && X(e.next) && X(e.error) && X(e.complete);
1090
+ function Ei(e) {
1091
+ return e && z(e.next) && z(e.error) && z(e.complete);
1055
1092
  }
1056
- function ci(e) {
1057
- return e && e instanceof Br || hi(e) && Ar(e);
1093
+ function wi(e) {
1094
+ return e && e instanceof Rr || Ei(e) && Nr(e);
1058
1095
  }
1059
- var fi = Tr(function(e) {
1096
+ var Hi = Cr(function(e) {
1060
1097
  return function() {
1061
1098
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
1062
1099
  };
1063
- }), Pr = function(e) {
1064
- z(t, e);
1100
+ }), Fr = function(e) {
1101
+ Z(t, e);
1065
1102
  function t() {
1066
1103
  var r = e.call(this) || this;
1067
1104
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
1068
1105
  }
1069
1106
  return t.prototype.lift = function(r) {
1070
- var n = new $t(this, this);
1107
+ var n = new zt(this, this);
1071
1108
  return n.operator = r, n;
1072
1109
  }, t.prototype._throwIfClosed = function() {
1073
1110
  if (this.closed)
1074
- throw new fi();
1111
+ throw new Hi();
1075
1112
  }, t.prototype.next = function(r) {
1076
1113
  var n = this;
1077
- Ie(function() {
1114
+ Ce(function() {
1078
1115
  var i, o;
1079
1116
  if (n._throwIfClosed(), !n.isStopped) {
1080
1117
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
1081
1118
  try {
1082
- for (var s = ot(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
1119
+ for (var s = at(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
1083
1120
  var u = a.value;
1084
1121
  u.next(r);
1085
1122
  }
@@ -1096,7 +1133,7 @@ var fi = Tr(function(e) {
1096
1133
  });
1097
1134
  }, t.prototype.error = function(r) {
1098
1135
  var n = this;
1099
- Ie(function() {
1136
+ Ce(function() {
1100
1137
  if (n._throwIfClosed(), !n.isStopped) {
1101
1138
  n.hasError = n.isStopped = !0, n.thrownError = r;
1102
1139
  for (var i = n.observers; i.length; )
@@ -1105,7 +1142,7 @@ var fi = Tr(function(e) {
1105
1142
  });
1106
1143
  }, t.prototype.complete = function() {
1107
1144
  var r = this;
1108
- Ie(function() {
1145
+ Ce(function() {
1109
1146
  if (r._throwIfClosed(), !r.isStopped) {
1110
1147
  r.isStopped = !0;
1111
1148
  for (var n = r.observers; n.length; )
@@ -1127,20 +1164,20 @@ var fi = Tr(function(e) {
1127
1164
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1128
1165
  }, t.prototype._innerSubscribe = function(r) {
1129
1166
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
1130
- return o || s ? Mr : (this.currentObservers = null, a.push(r), new ke(function() {
1131
- n.currentObservers = null, at(a, r);
1167
+ return o || s ? Lr : (this.currentObservers = null, a.push(r), new je(function() {
1168
+ n.currentObservers = null, lt(a, r);
1132
1169
  }));
1133
1170
  }, t.prototype._checkFinalizedStatuses = function(r) {
1134
1171
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
1135
1172
  i ? r.error(o) : s && r.complete();
1136
1173
  }, t.prototype.asObservable = function() {
1137
- var r = new Ut();
1174
+ var r = new Wt();
1138
1175
  return r.source = this, r;
1139
1176
  }, t.create = function(r, n) {
1140
- return new $t(r, n);
1177
+ return new zt(r, n);
1141
1178
  }, t;
1142
- }(Ut), $t = function(e) {
1143
- z(t, e);
1179
+ }(Wt), zt = function(e) {
1180
+ Z(t, e);
1144
1181
  function t(r, n) {
1145
1182
  var i = e.call(this) || this;
1146
1183
  return i.destination = r, i.source = n, i;
@@ -1156,17 +1193,17 @@ var fi = Tr(function(e) {
1156
1193
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1157
1194
  }, t.prototype._subscribe = function(r) {
1158
1195
  var n, i;
1159
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Mr;
1196
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Lr;
1160
1197
  }, t;
1161
- }(Pr), Or = {
1198
+ }(Fr), Ur = {
1162
1199
  now: function() {
1163
- return (Or.delegate || Date).now();
1200
+ return (Ur.delegate || Date).now();
1164
1201
  },
1165
1202
  delegate: void 0
1166
- }, di = function(e) {
1167
- z(t, e);
1203
+ }, Si = function(e) {
1204
+ Z(t, e);
1168
1205
  function t(r, n, i) {
1169
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Or);
1206
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ur);
1170
1207
  var o = e.call(this) || this;
1171
1208
  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;
1172
1209
  }
@@ -1186,62 +1223,62 @@ var fi = Tr(function(e) {
1186
1223
  l && o.splice(0, l + 1);
1187
1224
  }
1188
1225
  }, t;
1189
- }(Pr);
1190
- const Gt = [], kt = {}, mi = (e, t = 0) => {
1191
- if (Gt.indexOf(e) == -1) {
1192
- const r = new di(t);
1193
- kt[e] = r, Gt.push(e);
1226
+ }(Fr);
1227
+ const Zt = [], Qt = {}, Ti = (e, t = 0) => {
1228
+ if (Zt.indexOf(e) == -1) {
1229
+ const r = new Si(t);
1230
+ Qt[e] = r, Zt.push(e);
1194
1231
  }
1195
- return kt[e];
1196
- }, ie = [];
1197
- function pi(e, t) {
1232
+ return Qt[e];
1233
+ }, oe = [];
1234
+ function Mi(e, t) {
1198
1235
  return {
1199
- subscribe: je(e, t).subscribe
1236
+ subscribe: Ve(e, t).subscribe
1200
1237
  };
1201
1238
  }
1202
- function je(e, t = k) {
1239
+ function Ve(e, t = j) {
1203
1240
  let r;
1204
1241
  const n = /* @__PURE__ */ new Set();
1205
1242
  function i(a) {
1206
- if (_r(e, a) && (e = a, r)) {
1207
- const u = !ie.length;
1243
+ if (Tr(e, a) && (e = a, r)) {
1244
+ const u = !oe.length;
1208
1245
  for (const l of n)
1209
- l[1](), ie.push(l, e);
1246
+ l[1](), oe.push(l, e);
1210
1247
  if (u) {
1211
- for (let l = 0; l < ie.length; l += 2)
1212
- ie[l][0](ie[l + 1]);
1213
- ie.length = 0;
1248
+ for (let l = 0; l < oe.length; l += 2)
1249
+ oe[l][0](oe[l + 1]);
1250
+ oe.length = 0;
1214
1251
  }
1215
1252
  }
1216
1253
  }
1217
1254
  function o(a) {
1218
1255
  i(a(e));
1219
1256
  }
1220
- function s(a, u = k) {
1257
+ function s(a, u = j) {
1221
1258
  const l = [a, u];
1222
- return n.add(l), n.size === 1 && (r = t(i, o) || k), a(e), () => {
1259
+ return n.add(l), n.size === 1 && (r = t(i, o) || j), a(e), () => {
1223
1260
  n.delete(l), n.size === 0 && r && (r(), r = null);
1224
1261
  };
1225
1262
  }
1226
1263
  return { set: i, update: o, subscribe: s };
1227
1264
  }
1228
- function pe(e, t, r) {
1265
+ function ge(e, t, r) {
1229
1266
  const n = !Array.isArray(e), i = n ? [e] : e;
1230
1267
  if (!i.every(Boolean))
1231
1268
  throw new Error("derived() expects stores as input, got a falsy value");
1232
1269
  const o = t.length < 2;
1233
- return pi(r, (s, a) => {
1270
+ return Mi(r, (s, a) => {
1234
1271
  let u = !1;
1235
1272
  const l = [];
1236
- let h = 0, c = k;
1273
+ let h = 0, c = j;
1237
1274
  const f = () => {
1238
1275
  if (h)
1239
1276
  return;
1240
1277
  c();
1241
1278
  const d = t(n ? l[0] : l, s, a);
1242
- o ? s(d) : c = Ge(d) ? d : k;
1279
+ o ? s(d) : c = ke(d) ? d : j;
1243
1280
  }, p = i.map(
1244
- (d, b) => vr(
1281
+ (d, b) => Mr(
1245
1282
  d,
1246
1283
  (S) => {
1247
1284
  l[b] = S, h &= ~(1 << b), u && f();
@@ -1252,118 +1289,118 @@ function pe(e, t, r) {
1252
1289
  )
1253
1290
  );
1254
1291
  return u = !0, f(), function() {
1255
- J(p), c(), u = !1;
1292
+ Y(p), c(), u = !1;
1256
1293
  };
1257
1294
  });
1258
1295
  }
1259
- function gi(e) {
1296
+ function Ai(e) {
1260
1297
  return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1261
1298
  }
1262
- var bi = function(t) {
1263
- return yi(t) && !_i(t);
1299
+ var Bi = function(t) {
1300
+ return Pi(t) && !Oi(t);
1264
1301
  };
1265
- function yi(e) {
1302
+ function Pi(e) {
1266
1303
  return !!e && typeof e == "object";
1267
1304
  }
1268
- function _i(e) {
1305
+ function Oi(e) {
1269
1306
  var t = Object.prototype.toString.call(e);
1270
- return t === "[object RegExp]" || t === "[object Date]" || Ei(e);
1307
+ return t === "[object RegExp]" || t === "[object Date]" || Li(e);
1271
1308
  }
1272
- var vi = typeof Symbol == "function" && Symbol.for, xi = vi ? Symbol.for("react.element") : 60103;
1273
- function Ei(e) {
1274
- return e.$$typeof === xi;
1309
+ var Ii = typeof Symbol == "function" && Symbol.for, Ci = Ii ? Symbol.for("react.element") : 60103;
1310
+ function Li(e) {
1311
+ return e.$$typeof === Ci;
1275
1312
  }
1276
- function wi(e) {
1313
+ function Ni(e) {
1277
1314
  return Array.isArray(e) ? [] : {};
1278
1315
  }
1279
- function we(e, t) {
1280
- return t.clone !== !1 && t.isMergeableObject(e) ? he(wi(e), e, t) : e;
1316
+ function He(e, t) {
1317
+ return t.clone !== !1 && t.isMergeableObject(e) ? ce(Ni(e), e, t) : e;
1281
1318
  }
1282
- function Hi(e, t, r) {
1319
+ function Ri(e, t, r) {
1283
1320
  return e.concat(t).map(function(n) {
1284
- return we(n, r);
1321
+ return He(n, r);
1285
1322
  });
1286
1323
  }
1287
- function Si(e, t) {
1324
+ function Fi(e, t) {
1288
1325
  if (!t.customMerge)
1289
- return he;
1326
+ return ce;
1290
1327
  var r = t.customMerge(e);
1291
- return typeof r == "function" ? r : he;
1328
+ return typeof r == "function" ? r : ce;
1292
1329
  }
1293
- function Ti(e) {
1330
+ function Ui(e) {
1294
1331
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1295
1332
  return Object.propertyIsEnumerable.call(e, t);
1296
1333
  }) : [];
1297
1334
  }
1298
- function jt(e) {
1299
- return Object.keys(e).concat(Ti(e));
1335
+ function qt(e) {
1336
+ return Object.keys(e).concat(Ui(e));
1300
1337
  }
1301
- function Ir(e, t) {
1338
+ function Dr(e, t) {
1302
1339
  try {
1303
1340
  return t in e;
1304
- } catch {
1341
+ } catch (r) {
1305
1342
  return !1;
1306
1343
  }
1307
1344
  }
1308
- function Mi(e, t) {
1309
- return Ir(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1345
+ function Di(e, t) {
1346
+ return Dr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1310
1347
  }
1311
- function Ai(e, t, r) {
1348
+ function $i(e, t, r) {
1312
1349
  var n = {};
1313
- return r.isMergeableObject(e) && jt(e).forEach(function(i) {
1314
- n[i] = we(e[i], r);
1315
- }), jt(t).forEach(function(i) {
1316
- Mi(e, i) || (Ir(e, i) && r.isMergeableObject(t[i]) ? n[i] = Si(i, r)(e[i], t[i], r) : n[i] = we(t[i], r));
1350
+ return r.isMergeableObject(e) && qt(e).forEach(function(i) {
1351
+ n[i] = He(e[i], r);
1352
+ }), qt(t).forEach(function(i) {
1353
+ Di(e, i) || (Dr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Fi(i, r)(e[i], t[i], r) : n[i] = He(t[i], r));
1317
1354
  }), n;
1318
1355
  }
1319
- function he(e, t, r) {
1320
- r = r || {}, r.arrayMerge = r.arrayMerge || Hi, r.isMergeableObject = r.isMergeableObject || bi, r.cloneUnlessOtherwiseSpecified = we;
1356
+ function ce(e, t, r) {
1357
+ r = r || {}, r.arrayMerge = r.arrayMerge || Ri, r.isMergeableObject = r.isMergeableObject || Bi, r.cloneUnlessOtherwiseSpecified = He;
1321
1358
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1322
- return o ? n ? r.arrayMerge(e, t, r) : Ai(e, t, r) : we(t, r);
1359
+ return o ? n ? r.arrayMerge(e, t, r) : $i(e, t, r) : He(t, r);
1323
1360
  }
1324
- he.all = function(t, r) {
1361
+ ce.all = function(t, r) {
1325
1362
  if (!Array.isArray(t))
1326
1363
  throw new Error("first argument should be an array");
1327
1364
  return t.reduce(function(n, i) {
1328
- return he(n, i, r);
1365
+ return ce(n, i, r);
1329
1366
  }, {});
1330
1367
  };
1331
- var Bi = he, Pi = Bi;
1332
- const Oi = /* @__PURE__ */ gi(Pi);
1333
- function Je(e, t) {
1334
- var r = t && t.cache ? t.cache : Ui, n = t && t.serializer ? t.serializer : Ri, i = t && t.strategy ? t.strategy : Ci;
1368
+ var Gi = ce, ki = Gi;
1369
+ const ji = /* @__PURE__ */ Ai(ki);
1370
+ function Ke(e, t) {
1371
+ var r = t && t.cache ? t.cache : qi, n = t && t.serializer ? t.serializer : Zi, i = t && t.strategy ? t.strategy : Wi;
1335
1372
  return i(e, {
1336
1373
  cache: r,
1337
1374
  serializer: n
1338
1375
  });
1339
1376
  }
1340
- function Ii(e) {
1377
+ function Vi(e) {
1341
1378
  return e == null || typeof e == "number" || typeof e == "boolean";
1342
1379
  }
1343
- function Cr(e, t, r, n) {
1344
- var i = Ii(n) ? n : r(n), o = t.get(i);
1345
- return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1380
+ function $r(e, t, r, n) {
1381
+ var i = Vi(n) ? n : r(n), o = t.get(i);
1382
+ return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1346
1383
  }
1347
- function Lr(e, t, r) {
1384
+ function Gr(e, t, r) {
1348
1385
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1349
- return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1386
+ return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1350
1387
  }
1351
- function _t(e, t, r, n, i) {
1388
+ function xt(e, t, r, n, i) {
1352
1389
  return r.bind(t, e, n, i);
1353
1390
  }
1354
- function Ci(e, t) {
1355
- var r = e.length === 1 ? Cr : Lr;
1356
- return _t(e, this, r, t.cache.create(), t.serializer);
1391
+ function Wi(e, t) {
1392
+ var r = e.length === 1 ? $r : Gr;
1393
+ return xt(e, this, r, t.cache.create(), t.serializer);
1357
1394
  }
1358
- function Li(e, t) {
1359
- return _t(e, this, Lr, t.cache.create(), t.serializer);
1395
+ function Xi(e, t) {
1396
+ return xt(e, this, Gr, t.cache.create(), t.serializer);
1360
1397
  }
1361
- function Ni(e, t) {
1362
- return _t(e, this, Cr, t.cache.create(), t.serializer);
1398
+ function zi(e, t) {
1399
+ return xt(e, this, $r, t.cache.create(), t.serializer);
1363
1400
  }
1364
- var Ri = function() {
1401
+ var Zi = function() {
1365
1402
  return JSON.stringify(arguments);
1366
- }, Fi = (
1403
+ }, Qi = (
1367
1404
  /** @class */
1368
1405
  function() {
1369
1406
  function e() {
@@ -1375,13 +1412,13 @@ var Ri = function() {
1375
1412
  this.cache[t] = r;
1376
1413
  }, e;
1377
1414
  }()
1378
- ), Ui = {
1415
+ ), qi = {
1379
1416
  create: function() {
1380
- return new Fi();
1417
+ return new Qi();
1381
1418
  }
1382
- }, Ye = {
1383
- variadic: Li,
1384
- monadic: Ni
1419
+ }, et = {
1420
+ variadic: Xi,
1421
+ monadic: zi
1385
1422
  }, E;
1386
1423
  (function(e) {
1387
1424
  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";
@@ -1390,47 +1427,47 @@ var I;
1390
1427
  (function(e) {
1391
1428
  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";
1392
1429
  })(I || (I = {}));
1393
- var ce;
1430
+ var fe;
1394
1431
  (function(e) {
1395
1432
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1396
- })(ce || (ce = {}));
1397
- function Vt(e) {
1433
+ })(fe || (fe = {}));
1434
+ function Jt(e) {
1398
1435
  return e.type === I.literal;
1399
1436
  }
1400
- function Di(e) {
1437
+ function Ji(e) {
1401
1438
  return e.type === I.argument;
1402
1439
  }
1403
- function Nr(e) {
1440
+ function kr(e) {
1404
1441
  return e.type === I.number;
1405
1442
  }
1406
- function Rr(e) {
1443
+ function jr(e) {
1407
1444
  return e.type === I.date;
1408
1445
  }
1409
- function Fr(e) {
1446
+ function Vr(e) {
1410
1447
  return e.type === I.time;
1411
1448
  }
1412
- function Ur(e) {
1449
+ function Wr(e) {
1413
1450
  return e.type === I.select;
1414
1451
  }
1415
- function Dr(e) {
1452
+ function Xr(e) {
1416
1453
  return e.type === I.plural;
1417
1454
  }
1418
- function $i(e) {
1455
+ function Yi(e) {
1419
1456
  return e.type === I.pound;
1420
1457
  }
1421
- function $r(e) {
1458
+ function zr(e) {
1422
1459
  return e.type === I.tag;
1423
1460
  }
1424
- function Gr(e) {
1425
- return !!(e && typeof e == "object" && e.type === ce.number);
1461
+ function Zr(e) {
1462
+ return !!(e && typeof e == "object" && e.type === fe.number);
1426
1463
  }
1427
- function lt(e) {
1428
- return !!(e && typeof e == "object" && e.type === ce.dateTime);
1464
+ function ct(e) {
1465
+ return !!(e && typeof e == "object" && e.type === fe.dateTime);
1429
1466
  }
1430
- var kr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Gi = /(?:[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;
1431
- function ki(e) {
1467
+ var Qr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Ki = /(?:[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;
1468
+ function eo(e) {
1432
1469
  var t = {};
1433
- return e.replace(Gi, function(r) {
1470
+ return e.replace(Ki, function(r) {
1434
1471
  var n = r.length;
1435
1472
  switch (r[0]) {
1436
1473
  case "G":
@@ -1519,11 +1556,11 @@ function ki(e) {
1519
1556
  return "";
1520
1557
  }), t;
1521
1558
  }
1522
- var ji = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1523
- function Vi(e) {
1559
+ var to = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1560
+ function ro(e) {
1524
1561
  if (e.length === 0)
1525
1562
  throw new Error("Number skeleton cannot be empty");
1526
- for (var t = e.split(ji).filter(function(f) {
1563
+ for (var t = e.split(to).filter(function(f) {
1527
1564
  return f.length > 0;
1528
1565
  }), r = [], n = 0, i = t; n < i.length; n++) {
1529
1566
  var o = i[n], s = o.split("/");
@@ -1538,17 +1575,17 @@ function Vi(e) {
1538
1575
  }
1539
1576
  return r;
1540
1577
  }
1541
- function Wi(e) {
1578
+ function no(e) {
1542
1579
  return e.replace(/^(.*?)-/, "");
1543
1580
  }
1544
- var Wt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, jr = /^(@+)?(\+|#+)?[rs]?$/g, Xi = /(\*)(0+)|(#+)(0+)|(0+)/g, Vr = /^(0+)$/;
1545
- function Xt(e) {
1581
+ var Yt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, qr = /^(@+)?(\+|#+)?[rs]?$/g, io = /(\*)(0+)|(#+)(0+)|(0+)/g, Jr = /^(0+)$/;
1582
+ function Kt(e) {
1546
1583
  var t = {};
1547
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(jr, function(r, n, i) {
1584
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(qr, function(r, n, i) {
1548
1585
  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)), "";
1549
1586
  }), t;
1550
1587
  }
1551
- function Wr(e) {
1588
+ function Yr(e) {
1552
1589
  switch (e) {
1553
1590
  case "sign-auto":
1554
1591
  return {
@@ -1588,7 +1625,7 @@ function Wr(e) {
1588
1625
  };
1589
1626
  }
1590
1627
  }
1591
- function zi(e) {
1628
+ function oo(e) {
1592
1629
  var t;
1593
1630
  if (e[0] === "E" && e[1] === "E" ? (t = {
1594
1631
  notation: "engineering"
@@ -1596,17 +1633,17 @@ function zi(e) {
1596
1633
  notation: "scientific"
1597
1634
  }, e = e.slice(1)), t) {
1598
1635
  var r = e.slice(0, 2);
1599
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Vr.test(e))
1636
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Jr.test(e))
1600
1637
  throw new Error("Malformed concise eng/scientific notation");
1601
1638
  t.minimumIntegerDigits = e.length;
1602
1639
  }
1603
1640
  return t;
1604
1641
  }
1605
- function zt(e) {
1606
- var t = {}, r = Wr(e);
1642
+ function er(e) {
1643
+ var t = {}, r = Yr(e);
1607
1644
  return r || t;
1608
1645
  }
1609
- function Zi(e) {
1646
+ function so(e) {
1610
1647
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1611
1648
  var i = n[r];
1612
1649
  switch (i.stem) {
@@ -1630,7 +1667,7 @@ function Zi(e) {
1630
1667
  continue;
1631
1668
  case "measure-unit":
1632
1669
  case "unit":
1633
- t.style = "unit", t.unit = Wi(i.options[0]);
1670
+ t.style = "unit", t.unit = no(i.options[0]);
1634
1671
  continue;
1635
1672
  case "compact-short":
1636
1673
  case "K":
@@ -1642,12 +1679,12 @@ function Zi(e) {
1642
1679
  continue;
1643
1680
  case "scientific":
1644
1681
  t = H(H(H({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
1645
- return H(H({}, u), zt(l));
1682
+ return H(H({}, u), er(l));
1646
1683
  }, {}));
1647
1684
  continue;
1648
1685
  case "engineering":
1649
1686
  t = H(H(H({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1650
- return H(H({}, u), zt(l));
1687
+ return H(H({}, u), er(l));
1651
1688
  }, {}));
1652
1689
  continue;
1653
1690
  case "notation-simple":
@@ -1692,7 +1729,7 @@ function Zi(e) {
1692
1729
  case "integer-width":
1693
1730
  if (i.options.length > 1)
1694
1731
  throw new RangeError("integer-width stems only accept a single optional option");
1695
- i.options[0].replace(Xi, function(u, l, h, c, f, p) {
1732
+ i.options[0].replace(io, function(u, l, h, c, f, p) {
1696
1733
  if (l)
1697
1734
  t.minimumIntegerDigits = h.length;
1698
1735
  else {
@@ -1705,32 +1742,32 @@ function Zi(e) {
1705
1742
  });
1706
1743
  continue;
1707
1744
  }
1708
- if (Vr.test(i.stem)) {
1745
+ if (Jr.test(i.stem)) {
1709
1746
  t.minimumIntegerDigits = i.stem.length;
1710
1747
  continue;
1711
1748
  }
1712
- if (Wt.test(i.stem)) {
1749
+ if (Yt.test(i.stem)) {
1713
1750
  if (i.options.length > 1)
1714
1751
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1715
- i.stem.replace(Wt, function(u, l, h, c, f, p) {
1752
+ i.stem.replace(Yt, function(u, l, h, c, f, p) {
1716
1753
  return h === "*" ? t.minimumFractionDigits = l.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1717
1754
  });
1718
1755
  var o = i.options[0];
1719
- o === "w" ? t = H(H({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = H(H({}, t), Xt(o)));
1756
+ o === "w" ? t = H(H({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = H(H({}, t), Kt(o)));
1720
1757
  continue;
1721
1758
  }
1722
- if (jr.test(i.stem)) {
1723
- t = H(H({}, t), Xt(i.stem));
1759
+ if (qr.test(i.stem)) {
1760
+ t = H(H({}, t), Kt(i.stem));
1724
1761
  continue;
1725
1762
  }
1726
- var s = Wr(i.stem);
1763
+ var s = Yr(i.stem);
1727
1764
  s && (t = H(H({}, t), s));
1728
- var a = zi(i.stem);
1765
+ var a = oo(i.stem);
1729
1766
  a && (t = H(H({}, t), a));
1730
1767
  }
1731
1768
  return t;
1732
1769
  }
1733
- var Be = {
1770
+ var Pe = {
1734
1771
  "001": [
1735
1772
  "H",
1736
1773
  "h"
@@ -3145,13 +3182,13 @@ var Be = {
3145
3182
  "h"
3146
3183
  ]
3147
3184
  };
3148
- function Qi(e, t) {
3185
+ function ao(e, t) {
3149
3186
  for (var r = "", n = 0; n < e.length; n++) {
3150
3187
  var i = e.charAt(n);
3151
3188
  if (i === "j") {
3152
3189
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3153
3190
  o++, n++;
3154
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = qi(t);
3191
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = uo(t);
3155
3192
  for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
3156
3193
  r += u;
3157
3194
  for (; s-- > 0; )
@@ -3160,7 +3197,7 @@ function Qi(e, t) {
3160
3197
  }
3161
3198
  return r;
3162
3199
  }
3163
- function qi(e) {
3200
+ function uo(e) {
3164
3201
  var t = e.hourCycle;
3165
3202
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3166
3203
  e.hourCycles && // @ts-ignore
@@ -3179,23 +3216,23 @@ function qi(e) {
3179
3216
  }
3180
3217
  var r = e.language, n;
3181
3218
  r !== "root" && (n = e.maximize().region);
3182
- var i = Be[n || ""] || Be[r || ""] || Be["".concat(r, "-001")] || Be["001"];
3219
+ var i = Pe[n || ""] || Pe[r || ""] || Pe["".concat(r, "-001")] || Pe["001"];
3183
3220
  return i[0];
3184
3221
  }
3185
- var Ke, Ji = new RegExp("^".concat(kr.source, "*")), Yi = new RegExp("".concat(kr.source, "*$"));
3222
+ var tt, lo = new RegExp("^".concat(Qr.source, "*")), ho = new RegExp("".concat(Qr.source, "*$"));
3186
3223
  function w(e, t) {
3187
3224
  return { start: e, end: t };
3188
3225
  }
3189
- var Ki = !!String.prototype.startsWith && "_a".startsWith("a", 1), eo = !!String.fromCodePoint, to = !!Object.fromEntries, ro = !!String.prototype.codePointAt, no = !!String.prototype.trimStart, io = !!String.prototype.trimEnd, oo = !!Number.isSafeInteger, so = oo ? Number.isSafeInteger : function(e) {
3226
+ var co = !!String.prototype.startsWith && "_a".startsWith("a", 1), fo = !!String.fromCodePoint, mo = !!Object.fromEntries, po = !!String.prototype.codePointAt, go = !!String.prototype.trimStart, bo = !!String.prototype.trimEnd, yo = !!Number.isSafeInteger, _o = yo ? Number.isSafeInteger : function(e) {
3190
3227
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3191
- }, ht = !0;
3228
+ }, ft = !0;
3192
3229
  try {
3193
- var ao = zr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3194
- ht = ((Ke = ao.exec("a")) === null || Ke === void 0 ? void 0 : Ke[0]) === "a";
3195
- } catch {
3196
- ht = !1;
3230
+ var vo = en("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3231
+ ft = ((tt = vo.exec("a")) === null || tt === void 0 ? void 0 : tt[0]) === "a";
3232
+ } catch (e) {
3233
+ ft = !1;
3197
3234
  }
3198
- var Zt = Ki ? (
3235
+ var tr = co ? (
3199
3236
  // Native
3200
3237
  function(t, r, n) {
3201
3238
  return t.startsWith(r, n);
@@ -3205,7 +3242,7 @@ var Zt = Ki ? (
3205
3242
  function(t, r, n) {
3206
3243
  return t.slice(n, n + r.length) === r;
3207
3244
  }
3208
- ), ct = eo ? String.fromCodePoint : (
3245
+ ), dt = fo ? String.fromCodePoint : (
3209
3246
  // IE11
3210
3247
  function() {
3211
3248
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3217,9 +3254,9 @@ var Zt = Ki ? (
3217
3254
  }
3218
3255
  return n;
3219
3256
  }
3220
- ), Qt = (
3257
+ ), rr = (
3221
3258
  // native
3222
- to ? Object.fromEntries : (
3259
+ mo ? Object.fromEntries : (
3223
3260
  // Ponyfill
3224
3261
  function(t) {
3225
3262
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3229,7 +3266,7 @@ var Zt = Ki ? (
3229
3266
  return r;
3230
3267
  }
3231
3268
  )
3232
- ), Xr = ro ? (
3269
+ ), Kr = po ? (
3233
3270
  // Native
3234
3271
  function(t, r) {
3235
3272
  return t.codePointAt(r);
@@ -3243,7 +3280,7 @@ var Zt = Ki ? (
3243
3280
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3244
3281
  }
3245
3282
  }
3246
- ), uo = no ? (
3283
+ ), xo = go ? (
3247
3284
  // Native
3248
3285
  function(t) {
3249
3286
  return t.trimStart();
@@ -3251,9 +3288,9 @@ var Zt = Ki ? (
3251
3288
  ) : (
3252
3289
  // Ponyfill
3253
3290
  function(t) {
3254
- return t.replace(Ji, "");
3291
+ return t.replace(lo, "");
3255
3292
  }
3256
- ), lo = io ? (
3293
+ ), Eo = bo ? (
3257
3294
  // Native
3258
3295
  function(t) {
3259
3296
  return t.trimEnd();
@@ -3261,32 +3298,32 @@ var Zt = Ki ? (
3261
3298
  ) : (
3262
3299
  // Ponyfill
3263
3300
  function(t) {
3264
- return t.replace(Yi, "");
3301
+ return t.replace(ho, "");
3265
3302
  }
3266
3303
  );
3267
- function zr(e, t) {
3304
+ function en(e, t) {
3268
3305
  return new RegExp(e, t);
3269
3306
  }
3270
- var ft;
3271
- if (ht) {
3272
- var qt = zr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3273
- ft = function(t, r) {
3307
+ var mt;
3308
+ if (ft) {
3309
+ var nr = en("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3310
+ mt = function(t, r) {
3274
3311
  var n;
3275
- qt.lastIndex = r;
3276
- var i = qt.exec(t);
3312
+ nr.lastIndex = r;
3313
+ var i = nr.exec(t);
3277
3314
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3278
3315
  };
3279
3316
  } else
3280
- ft = function(t, r) {
3317
+ mt = function(t, r) {
3281
3318
  for (var n = []; ; ) {
3282
- var i = Xr(t, r);
3283
- if (i === void 0 || Zr(i) || mo(i))
3319
+ var i = Kr(t, r);
3320
+ if (i === void 0 || tn(i) || To(i))
3284
3321
  break;
3285
3322
  n.push(i), r += i >= 65536 ? 2 : 1;
3286
3323
  }
3287
- return ct.apply(void 0, n);
3324
+ return dt.apply(void 0, n);
3288
3325
  };
3289
- var ho = (
3326
+ var wo = (
3290
3327
  /** @class */
3291
3328
  function() {
3292
3329
  function e(t, r) {
@@ -3317,7 +3354,7 @@ var ho = (
3317
3354
  if (n)
3318
3355
  break;
3319
3356
  return this.error(E.UNMATCHED_CLOSING_TAG, w(this.clonePosition(), this.clonePosition()));
3320
- } else if (o === 60 && !this.ignoreTag && dt(this.peek() || 0)) {
3357
+ } else if (o === 60 && !this.ignoreTag && pt(this.peek() || 0)) {
3321
3358
  var s = this.parseTag(t, r);
3322
3359
  if (s.err)
3323
3360
  return s;
@@ -3350,7 +3387,7 @@ var ho = (
3350
3387
  return o;
3351
3388
  var s = o.val, a = this.clonePosition();
3352
3389
  if (this.bumpIf("</")) {
3353
- if (this.isEOF() || !dt(this.char()))
3390
+ if (this.isEOF() || !pt(this.char()))
3354
3391
  return this.error(E.INVALID_TAG, w(a, this.clonePosition()));
3355
3392
  var u = this.clonePosition(), l = this.parseTagName();
3356
3393
  return i !== l ? this.error(E.UNMATCHED_CLOSING_TAG, w(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
@@ -3368,7 +3405,7 @@ var ho = (
3368
3405
  return this.error(E.INVALID_TAG, w(n, this.clonePosition()));
3369
3406
  }, e.prototype.parseTagName = function() {
3370
3407
  var t = this.offset();
3371
- for (this.bump(); !this.isEOF() && fo(this.char()); )
3408
+ for (this.bump(); !this.isEOF() && So(this.char()); )
3372
3409
  this.bump();
3373
3410
  return this.message.slice(t, this.offset());
3374
3411
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3397,7 +3434,7 @@ var ho = (
3397
3434
  };
3398
3435
  }, e.prototype.tryParseLeftAngleBracket = function() {
3399
3436
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3400
- !co(this.peek() || 0)) ? (this.bump(), "<") : null;
3437
+ !Ho(this.peek() || 0)) ? (this.bump(), "<") : null;
3401
3438
  }, e.prototype.tryParseQuote = function(t) {
3402
3439
  if (this.isEOF() || this.char() !== 39)
3403
3440
  return null;
@@ -3431,12 +3468,12 @@ var ho = (
3431
3468
  r.push(n);
3432
3469
  this.bump();
3433
3470
  }
3434
- return ct.apply(void 0, r);
3471
+ return dt.apply(void 0, r);
3435
3472
  }, e.prototype.tryParseUnquoted = function(t, r) {
3436
3473
  if (this.isEOF())
3437
3474
  return null;
3438
3475
  var n = this.char();
3439
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ct(n));
3476
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), dt(n));
3440
3477
  }, e.prototype.parseArgument = function(t, r) {
3441
3478
  var n = this.clonePosition();
3442
3479
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3465,7 +3502,7 @@ var ho = (
3465
3502
  return this.error(E.MALFORMED_ARGUMENT, w(n, this.clonePosition()));
3466
3503
  }
3467
3504
  }, e.prototype.parseIdentifierIfPossible = function() {
3468
- var t = this.clonePosition(), r = this.offset(), n = ft(this.message, r), i = r + n.length;
3505
+ var t = this.clonePosition(), r = this.offset(), n = mt(this.message, r), i = r + n.length;
3469
3506
  this.bumpTo(i);
3470
3507
  var o = this.clonePosition(), s = w(t, o);
3471
3508
  return { value: n, location: s };
@@ -3484,7 +3521,7 @@ var ho = (
3484
3521
  var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3485
3522
  if (c.err)
3486
3523
  return c;
3487
- var f = lo(c.val);
3524
+ var f = Eo(c.val);
3488
3525
  if (f.length === 0)
3489
3526
  return this.error(E.EXPECT_ARGUMENT_STYLE, w(this.clonePosition(), this.clonePosition()));
3490
3527
  var p = w(h, this.clonePosition());
@@ -3494,8 +3531,8 @@ var ho = (
3494
3531
  if (d.err)
3495
3532
  return d;
3496
3533
  var b = w(i, this.clonePosition());
3497
- if (l && Zt(l?.style, "::", 0)) {
3498
- var S = uo(l.style.slice(2));
3534
+ if (l && tr(l == null ? void 0 : l.style, "::", 0)) {
3535
+ var S = xo(l.style.slice(2));
3499
3536
  if (a === "number") {
3500
3537
  var c = this.parseNumberSkeletonFromString(S, l.styleLocation);
3501
3538
  return c.err ? c : {
@@ -3506,12 +3543,12 @@ var ho = (
3506
3543
  if (S.length === 0)
3507
3544
  return this.error(E.EXPECT_DATE_TIME_SKELETON, b);
3508
3545
  var P = S;
3509
- this.locale && (P = Qi(S, this.locale));
3546
+ this.locale && (P = ao(S, this.locale));
3510
3547
  var f = {
3511
- type: ce.dateTime,
3548
+ type: fe.dateTime,
3512
3549
  pattern: P,
3513
3550
  location: l.styleLocation,
3514
- parsedOptions: this.shouldParseSkeletons ? ki(P) : {}
3551
+ parsedOptions: this.shouldParseSkeletons ? eo(P) : {}
3515
3552
  }, C = a === "date" ? I.date : I.time;
3516
3553
  return {
3517
3554
  val: { type: C, value: n, location: b, style: f },
@@ -3524,7 +3561,7 @@ var ho = (
3524
3561
  type: a === "number" ? I.number : a === "date" ? I.date : I.time,
3525
3562
  value: n,
3526
3563
  location: b,
3527
- style: (o = l?.style) !== null && o !== void 0 ? o : null
3564
+ style: (o = l == null ? void 0 : l.style) !== null && o !== void 0 ? o : null
3528
3565
  },
3529
3566
  err: null
3530
3567
  };
@@ -3557,7 +3594,7 @@ var ho = (
3557
3594
  val: {
3558
3595
  type: I.select,
3559
3596
  value: n,
3560
- options: Qt(T.val),
3597
+ options: rr(T.val),
3561
3598
  location: M
3562
3599
  },
3563
3600
  err: null
@@ -3565,7 +3602,7 @@ var ho = (
3565
3602
  val: {
3566
3603
  type: I.plural,
3567
3604
  value: n,
3568
- options: Qt(T.val),
3605
+ options: rr(T.val),
3569
3606
  offset: y,
3570
3607
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3571
3608
  location: M
@@ -3616,16 +3653,16 @@ var ho = (
3616
3653
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3617
3654
  var n = [];
3618
3655
  try {
3619
- n = Vi(t);
3620
- } catch {
3656
+ n = ro(t);
3657
+ } catch (i) {
3621
3658
  return this.error(E.INVALID_NUMBER_SKELETON, r);
3622
3659
  }
3623
3660
  return {
3624
3661
  val: {
3625
- type: ce.number,
3662
+ type: fe.number,
3626
3663
  tokens: n,
3627
3664
  location: r,
3628
- parsedOptions: this.shouldParseSkeletons ? Zi(n) : {}
3665
+ parsedOptions: this.shouldParseSkeletons ? so(n) : {}
3629
3666
  },
3630
3667
  err: null
3631
3668
  };
@@ -3673,7 +3710,7 @@ var ho = (
3673
3710
  break;
3674
3711
  }
3675
3712
  var u = w(i, this.clonePosition());
3676
- return o ? (s *= n, so(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3713
+ return o ? (s *= n, _o(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3677
3714
  }, e.prototype.offset = function() {
3678
3715
  return this.position.offset;
3679
3716
  }, e.prototype.isEOF = function() {
@@ -3688,7 +3725,7 @@ var ho = (
3688
3725
  var t = this.position.offset;
3689
3726
  if (t >= this.message.length)
3690
3727
  throw Error("out of bound");
3691
- var r = Xr(this.message, t);
3728
+ var r = Kr(this.message, t);
3692
3729
  if (r === void 0)
3693
3730
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3694
3731
  return r;
@@ -3707,7 +3744,7 @@ var ho = (
3707
3744
  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);
3708
3745
  }
3709
3746
  }, e.prototype.bumpIf = function(t) {
3710
- if (Zt(this.message, t, this.offset())) {
3747
+ if (tr(this.message, t, this.offset())) {
3711
3748
  for (var r = 0; r < t.length; r++)
3712
3749
  this.bump();
3713
3750
  return !0;
@@ -3729,56 +3766,56 @@ var ho = (
3729
3766
  break;
3730
3767
  }
3731
3768
  }, e.prototype.bumpSpace = function() {
3732
- for (; !this.isEOF() && Zr(this.char()); )
3769
+ for (; !this.isEOF() && tn(this.char()); )
3733
3770
  this.bump();
3734
3771
  }, e.prototype.peek = function() {
3735
3772
  if (this.isEOF())
3736
3773
  return null;
3737
3774
  var t = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
3738
- return n ?? null;
3775
+ return n != null ? n : null;
3739
3776
  }, e;
3740
3777
  }()
3741
3778
  );
3742
- function dt(e) {
3779
+ function pt(e) {
3743
3780
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3744
3781
  }
3745
- function co(e) {
3746
- return dt(e) || e === 47;
3782
+ function Ho(e) {
3783
+ return pt(e) || e === 47;
3747
3784
  }
3748
- function fo(e) {
3785
+ function So(e) {
3749
3786
  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;
3750
3787
  }
3751
- function Zr(e) {
3788
+ function tn(e) {
3752
3789
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3753
3790
  }
3754
- function mo(e) {
3791
+ function To(e) {
3755
3792
  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;
3756
3793
  }
3757
- function mt(e) {
3794
+ function gt(e) {
3758
3795
  e.forEach(function(t) {
3759
- if (delete t.location, Ur(t) || Dr(t))
3796
+ if (delete t.location, Wr(t) || Xr(t))
3760
3797
  for (var r in t.options)
3761
- delete t.options[r].location, mt(t.options[r].value);
3762
- else Nr(t) && Gr(t.style) || (Rr(t) || Fr(t)) && lt(t.style) ? delete t.style.location : $r(t) && mt(t.children);
3798
+ delete t.options[r].location, gt(t.options[r].value);
3799
+ else kr(t) && Zr(t.style) || (jr(t) || Vr(t)) && ct(t.style) ? delete t.style.location : zr(t) && gt(t.children);
3763
3800
  });
3764
3801
  }
3765
- function po(e, t) {
3802
+ function Mo(e, t) {
3766
3803
  t === void 0 && (t = {}), t = H({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3767
- var r = new ho(e, t).parse();
3804
+ var r = new wo(e, t).parse();
3768
3805
  if (r.err) {
3769
3806
  var n = SyntaxError(E[r.err.kind]);
3770
3807
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3771
3808
  }
3772
- return t?.captureLocation || mt(r.val), r.val;
3809
+ return t != null && t.captureLocation || gt(r.val), r.val;
3773
3810
  }
3774
- var fe;
3811
+ var de;
3775
3812
  (function(e) {
3776
3813
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3777
- })(fe || (fe = {}));
3778
- var Ve = (
3814
+ })(de || (de = {}));
3815
+ var We = (
3779
3816
  /** @class */
3780
3817
  function(e) {
3781
- z(t, e);
3818
+ Z(t, e);
3782
3819
  function t(r, n, i) {
3783
3820
  var o = e.call(this, r) || this;
3784
3821
  return o.code = n, o.originalMessage = i, o;
@@ -3787,48 +3824,48 @@ var Ve = (
3787
3824
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3788
3825
  }, t;
3789
3826
  }(Error)
3790
- ), Jt = (
3827
+ ), ir = (
3791
3828
  /** @class */
3792
3829
  function(e) {
3793
- z(t, e);
3830
+ Z(t, e);
3794
3831
  function t(r, n, i, o) {
3795
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), fe.INVALID_VALUE, o) || this;
3832
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), de.INVALID_VALUE, o) || this;
3796
3833
  }
3797
3834
  return t;
3798
- }(Ve)
3799
- ), go = (
3835
+ }(We)
3836
+ ), Ao = (
3800
3837
  /** @class */
3801
3838
  function(e) {
3802
- z(t, e);
3839
+ Z(t, e);
3803
3840
  function t(r, n, i) {
3804
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), fe.INVALID_VALUE, i) || this;
3841
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), de.INVALID_VALUE, i) || this;
3805
3842
  }
3806
3843
  return t;
3807
- }(Ve)
3808
- ), bo = (
3844
+ }(We)
3845
+ ), Bo = (
3809
3846
  /** @class */
3810
3847
  function(e) {
3811
- z(t, e);
3848
+ Z(t, e);
3812
3849
  function t(r, n) {
3813
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), fe.MISSING_VALUE, n) || this;
3850
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), de.MISSING_VALUE, n) || this;
3814
3851
  }
3815
3852
  return t;
3816
- }(Ve)
3853
+ }(We)
3817
3854
  ), F;
3818
3855
  (function(e) {
3819
3856
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3820
3857
  })(F || (F = {}));
3821
- function yo(e) {
3858
+ function Po(e) {
3822
3859
  return e.length < 2 ? e : e.reduce(function(t, r) {
3823
3860
  var n = t[t.length - 1];
3824
3861
  return !n || n.type !== F.literal || r.type !== F.literal ? t.push(r) : n.value += r.value, t;
3825
3862
  }, []);
3826
3863
  }
3827
- function _o(e) {
3864
+ function Oo(e) {
3828
3865
  return typeof e == "function";
3829
3866
  }
3830
- function Ce(e, t, r, n, i, o, s) {
3831
- if (e.length === 1 && Vt(e[0]))
3867
+ function Le(e, t, r, n, i, o, s) {
3868
+ if (e.length === 1 && Jt(e[0]))
3832
3869
  return [
3833
3870
  {
3834
3871
  type: F.literal,
@@ -3837,14 +3874,14 @@ function Ce(e, t, r, n, i, o, s) {
3837
3874
  ];
3838
3875
  for (var a = [], u = 0, l = e; u < l.length; u++) {
3839
3876
  var h = l[u];
3840
- if (Vt(h)) {
3877
+ if (Jt(h)) {
3841
3878
  a.push({
3842
3879
  type: F.literal,
3843
3880
  value: h.value
3844
3881
  });
3845
3882
  continue;
3846
3883
  }
3847
- if ($i(h)) {
3884
+ if (Yi(h)) {
3848
3885
  typeof o == "number" && a.push({
3849
3886
  type: F.literal,
3850
3887
  value: r.getNumberFormat(t).format(o)
@@ -3853,44 +3890,44 @@ function Ce(e, t, r, n, i, o, s) {
3853
3890
  }
3854
3891
  var c = h.value;
3855
3892
  if (!(i && c in i))
3856
- throw new bo(c, s);
3893
+ throw new Bo(c, s);
3857
3894
  var f = i[c];
3858
- if (Di(h)) {
3895
+ if (Ji(h)) {
3859
3896
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3860
3897
  type: typeof f == "string" ? F.literal : F.object,
3861
3898
  value: f
3862
3899
  });
3863
3900
  continue;
3864
3901
  }
3865
- if (Rr(h)) {
3866
- var p = typeof h.style == "string" ? n.date[h.style] : lt(h.style) ? h.style.parsedOptions : void 0;
3902
+ if (jr(h)) {
3903
+ var p = typeof h.style == "string" ? n.date[h.style] : ct(h.style) ? h.style.parsedOptions : void 0;
3867
3904
  a.push({
3868
3905
  type: F.literal,
3869
3906
  value: r.getDateTimeFormat(t, p).format(f)
3870
3907
  });
3871
3908
  continue;
3872
3909
  }
3873
- if (Fr(h)) {
3874
- var p = typeof h.style == "string" ? n.time[h.style] : lt(h.style) ? h.style.parsedOptions : n.time.medium;
3910
+ if (Vr(h)) {
3911
+ var p = typeof h.style == "string" ? n.time[h.style] : ct(h.style) ? h.style.parsedOptions : n.time.medium;
3875
3912
  a.push({
3876
3913
  type: F.literal,
3877
3914
  value: r.getDateTimeFormat(t, p).format(f)
3878
3915
  });
3879
3916
  continue;
3880
3917
  }
3881
- if (Nr(h)) {
3882
- var p = typeof h.style == "string" ? n.number[h.style] : Gr(h.style) ? h.style.parsedOptions : void 0;
3918
+ if (kr(h)) {
3919
+ var p = typeof h.style == "string" ? n.number[h.style] : Zr(h.style) ? h.style.parsedOptions : void 0;
3883
3920
  p && p.scale && (f = f * (p.scale || 1)), a.push({
3884
3921
  type: F.literal,
3885
3922
  value: r.getNumberFormat(t, p).format(f)
3886
3923
  });
3887
3924
  continue;
3888
3925
  }
3889
- if ($r(h)) {
3926
+ if (zr(h)) {
3890
3927
  var d = h.children, b = h.value, S = i[b];
3891
- if (!_o(S))
3892
- throw new go(b, "function", s);
3893
- var P = Ce(d, t, r, n, i, o), C = S(P.map(function(y) {
3928
+ if (!Oo(S))
3929
+ throw new Ao(b, "function", s);
3930
+ var P = Le(d, t, r, n, i, o), C = S(P.map(function(y) {
3894
3931
  return y.value;
3895
3932
  }));
3896
3933
  Array.isArray(C) || (C = [C]), a.push.apply(a, C.map(function(y) {
@@ -3900,42 +3937,42 @@ function Ce(e, t, r, n, i, o, s) {
3900
3937
  };
3901
3938
  }));
3902
3939
  }
3903
- if (Ur(h)) {
3940
+ if (Wr(h)) {
3904
3941
  var B = h.options[f] || h.options.other;
3905
3942
  if (!B)
3906
- throw new Jt(h.value, f, Object.keys(h.options), s);
3907
- a.push.apply(a, Ce(B.value, t, r, n, i));
3943
+ throw new ir(h.value, f, Object.keys(h.options), s);
3944
+ a.push.apply(a, Le(B.value, t, r, n, i));
3908
3945
  continue;
3909
3946
  }
3910
- if (Dr(h)) {
3947
+ if (Xr(h)) {
3911
3948
  var B = h.options["=".concat(f)];
3912
3949
  if (!B) {
3913
3950
  if (!Intl.PluralRules)
3914
- throw new Ve(`Intl.PluralRules is not available in this environment.
3951
+ throw new We(`Intl.PluralRules is not available in this environment.
3915
3952
  Try polyfilling it using "@formatjs/intl-pluralrules"
3916
- `, fe.MISSING_INTL_API, s);
3953
+ `, de.MISSING_INTL_API, s);
3917
3954
  var L = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3918
3955
  B = h.options[L] || h.options.other;
3919
3956
  }
3920
3957
  if (!B)
3921
- throw new Jt(h.value, f, Object.keys(h.options), s);
3922
- a.push.apply(a, Ce(B.value, t, r, n, i, f - (h.offset || 0)));
3958
+ throw new ir(h.value, f, Object.keys(h.options), s);
3959
+ a.push.apply(a, Le(B.value, t, r, n, i, f - (h.offset || 0)));
3923
3960
  continue;
3924
3961
  }
3925
3962
  }
3926
- return yo(a);
3963
+ return Po(a);
3927
3964
  }
3928
- function vo(e, t) {
3965
+ function Io(e, t) {
3929
3966
  return t ? H(H(H({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3930
3967
  return r[n] = H(H({}, e[n]), t[n] || {}), r;
3931
3968
  }, {})) : e;
3932
3969
  }
3933
- function xo(e, t) {
3970
+ function Co(e, t) {
3934
3971
  return t ? Object.keys(e).reduce(function(r, n) {
3935
- return r[n] = vo(e[n], t[n]), r;
3972
+ return r[n] = Io(e[n], t[n]), r;
3936
3973
  }, H({}, e)) : e;
3937
3974
  }
3938
- function et(e) {
3975
+ function rt(e) {
3939
3976
  return {
3940
3977
  create: function() {
3941
3978
  return {
@@ -3949,39 +3986,39 @@ function et(e) {
3949
3986
  }
3950
3987
  };
3951
3988
  }
3952
- function Eo(e) {
3989
+ function Lo(e) {
3953
3990
  return e === void 0 && (e = {
3954
3991
  number: {},
3955
3992
  dateTime: {},
3956
3993
  pluralRules: {}
3957
3994
  }), {
3958
- getNumberFormat: Je(function() {
3995
+ getNumberFormat: Ke(function() {
3959
3996
  for (var t, r = [], n = 0; n < arguments.length; n++)
3960
3997
  r[n] = arguments[n];
3961
- return new ((t = Intl.NumberFormat).bind.apply(t, ue([void 0], r, !1)))();
3998
+ return new ((t = Intl.NumberFormat).bind.apply(t, le([void 0], r, !1)))();
3962
3999
  }, {
3963
- cache: et(e.number),
3964
- strategy: Ye.variadic
4000
+ cache: rt(e.number),
4001
+ strategy: et.variadic
3965
4002
  }),
3966
- getDateTimeFormat: Je(function() {
4003
+ getDateTimeFormat: Ke(function() {
3967
4004
  for (var t, r = [], n = 0; n < arguments.length; n++)
3968
4005
  r[n] = arguments[n];
3969
- return new ((t = Intl.DateTimeFormat).bind.apply(t, ue([void 0], r, !1)))();
4006
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, le([void 0], r, !1)))();
3970
4007
  }, {
3971
- cache: et(e.dateTime),
3972
- strategy: Ye.variadic
4008
+ cache: rt(e.dateTime),
4009
+ strategy: et.variadic
3973
4010
  }),
3974
- getPluralRules: Je(function() {
4011
+ getPluralRules: Ke(function() {
3975
4012
  for (var t, r = [], n = 0; n < arguments.length; n++)
3976
4013
  r[n] = arguments[n];
3977
- return new ((t = Intl.PluralRules).bind.apply(t, ue([void 0], r, !1)))();
4014
+ return new ((t = Intl.PluralRules).bind.apply(t, le([void 0], r, !1)))();
3978
4015
  }, {
3979
- cache: et(e.pluralRules),
3980
- strategy: Ye.variadic
4016
+ cache: rt(e.pluralRules),
4017
+ strategy: et.variadic
3981
4018
  })
3982
4019
  };
3983
4020
  }
3984
- var wo = (
4021
+ var No = (
3985
4022
  /** @class */
3986
4023
  function() {
3987
4024
  function e(t, r, n, i) {
@@ -4000,7 +4037,7 @@ var wo = (
4000
4037
  }, []);
4001
4038
  return h.length <= 1 ? h[0] || "" : h;
4002
4039
  }, this.formatToParts = function(u) {
4003
- return Ce(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
4040
+ return Le(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
4004
4041
  }, this.resolvedOptions = function() {
4005
4042
  var u;
4006
4043
  return {
@@ -4013,13 +4050,13 @@ var wo = (
4013
4050
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
4014
4051
  var s = i || {};
4015
4052
  s.formatters;
4016
- var a = ei(s, ["formatters"]);
4053
+ var a = fi(s, ["formatters"]);
4017
4054
  this.ast = e.__parse(t, H(H({}, a), { locale: this.resolvedLocale }));
4018
4055
  } else
4019
4056
  this.ast = t;
4020
4057
  if (!Array.isArray(this.ast))
4021
4058
  throw new TypeError("A message must be provided as a String or AST.");
4022
- this.formats = xo(e.formats, n), this.formatters = i && i.formatters || Eo(this.formatterCache);
4059
+ this.formats = Co(e.formats, n), this.formatters = i && i.formatters || Lo(this.formatterCache);
4023
4060
  }
4024
4061
  return Object.defineProperty(e, "defaultLocale", {
4025
4062
  get: function() {
@@ -4028,11 +4065,11 @@ var wo = (
4028
4065
  enumerable: !1,
4029
4066
  configurable: !0
4030
4067
  }), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
4031
- if (!(typeof Intl.Locale > "u")) {
4068
+ if (typeof Intl.Locale != "undefined") {
4032
4069
  var r = Intl.NumberFormat.supportedLocalesOf(t);
4033
4070
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
4034
4071
  }
4035
- }, e.__parse = po, e.formats = {
4072
+ }, e.__parse = Mo, e.formats = {
4036
4073
  number: {
4037
4074
  integer: {
4038
4075
  maximumFractionDigits: 0
@@ -4093,7 +4130,7 @@ var wo = (
4093
4130
  }, e;
4094
4131
  }()
4095
4132
  );
4096
- function Ho(e, t) {
4133
+ function Ro(e, t) {
4097
4134
  if (t == null)
4098
4135
  return;
4099
4136
  if (t in e)
@@ -4114,92 +4151,92 @@ function Ho(e, t) {
4114
4151
  n = void 0;
4115
4152
  return n;
4116
4153
  }
4117
- const Q = {}, So = (e, t, r) => r && (t in Q || (Q[t] = {}), e in Q[t] || (Q[t][e] = r), r), Qr = (e, t) => {
4154
+ const q = {}, Fo = (e, t, r) => r && (t in q || (q[t] = {}), e in q[t] || (q[t][e] = r), r), rn = (e, t) => {
4118
4155
  if (t == null)
4119
4156
  return;
4120
- if (t in Q && e in Q[t])
4121
- return Q[t][e];
4122
- const r = We(t);
4157
+ if (t in q && e in q[t])
4158
+ return q[t][e];
4159
+ const r = Xe(t);
4123
4160
  for (let n = 0; n < r.length; n++) {
4124
- const i = r[n], o = Mo(i, e);
4161
+ const i = r[n], o = Do(i, e);
4125
4162
  if (o)
4126
- return So(e, t, o);
4163
+ return Fo(e, t, o);
4127
4164
  }
4128
4165
  };
4129
- let vt;
4130
- const Se = je({});
4131
- function To(e) {
4132
- return vt[e] || null;
4166
+ let Et;
4167
+ const Te = Ve({});
4168
+ function Uo(e) {
4169
+ return Et[e] || null;
4133
4170
  }
4134
- function qr(e) {
4135
- return e in vt;
4171
+ function nn(e) {
4172
+ return e in Et;
4136
4173
  }
4137
- function Mo(e, t) {
4138
- if (!qr(e))
4174
+ function Do(e, t) {
4175
+ if (!nn(e))
4139
4176
  return null;
4140
- const r = To(e);
4141
- return Ho(r, t);
4177
+ const r = Uo(e);
4178
+ return Ro(r, t);
4142
4179
  }
4143
- function Ao(e) {
4180
+ function $o(e) {
4144
4181
  if (e == null)
4145
4182
  return;
4146
- const t = We(e);
4183
+ const t = Xe(e);
4147
4184
  for (let r = 0; r < t.length; r++) {
4148
4185
  const n = t[r];
4149
- if (qr(n))
4186
+ if (nn(n))
4150
4187
  return n;
4151
4188
  }
4152
4189
  }
4153
- function Jr(e, ...t) {
4154
- delete Q[e], Se.update((r) => (r[e] = Oi.all([r[e] || {}, ...t]), r));
4190
+ function on(e, ...t) {
4191
+ delete q[e], Te.update((r) => (r[e] = ji.all([r[e] || {}, ...t]), r));
4155
4192
  }
4156
- pe(
4157
- [Se],
4193
+ ge(
4194
+ [Te],
4158
4195
  ([e]) => Object.keys(e)
4159
4196
  );
4160
- Se.subscribe((e) => vt = e);
4161
- const Le = {};
4162
- function Bo(e, t) {
4163
- Le[e].delete(t), Le[e].size === 0 && delete Le[e];
4197
+ Te.subscribe((e) => Et = e);
4198
+ const Ne = {};
4199
+ function Go(e, t) {
4200
+ Ne[e].delete(t), Ne[e].size === 0 && delete Ne[e];
4164
4201
  }
4165
- function Yr(e) {
4166
- return Le[e];
4202
+ function sn(e) {
4203
+ return Ne[e];
4167
4204
  }
4168
- function Po(e) {
4169
- return We(e).map((t) => {
4170
- const r = Yr(t);
4205
+ function ko(e) {
4206
+ return Xe(e).map((t) => {
4207
+ const r = sn(t);
4171
4208
  return [t, r ? [...r] : []];
4172
4209
  }).filter(([, t]) => t.length > 0);
4173
4210
  }
4174
- function pt(e) {
4175
- return e == null ? !1 : We(e).some(
4211
+ function bt(e) {
4212
+ return e == null ? !1 : Xe(e).some(
4176
4213
  (t) => {
4177
4214
  var r;
4178
- return (r = Yr(t)) == null ? void 0 : r.size;
4215
+ return (r = sn(t)) == null ? void 0 : r.size;
4179
4216
  }
4180
4217
  );
4181
4218
  }
4182
- function Oo(e, t) {
4219
+ function jo(e, t) {
4183
4220
  return Promise.all(
4184
- t.map((n) => (Bo(e, n), n().then((i) => i.default || i)))
4185
- ).then((n) => Jr(e, ...n));
4186
- }
4187
- const _e = {};
4188
- function Kr(e) {
4189
- if (!pt(e))
4190
- return e in _e ? _e[e] : Promise.resolve();
4191
- const t = Po(e);
4192
- return _e[e] = Promise.all(
4221
+ t.map((n) => (Go(e, n), n().then((i) => i.default || i)))
4222
+ ).then((n) => on(e, ...n));
4223
+ }
4224
+ const ve = {};
4225
+ function an(e) {
4226
+ if (!bt(e))
4227
+ return e in ve ? ve[e] : Promise.resolve();
4228
+ const t = ko(e);
4229
+ return ve[e] = Promise.all(
4193
4230
  t.map(
4194
- ([r, n]) => Oo(r, n)
4231
+ ([r, n]) => jo(r, n)
4195
4232
  )
4196
4233
  ).then(() => {
4197
- if (pt(e))
4198
- return Kr(e);
4199
- delete _e[e];
4200
- }), _e[e];
4234
+ if (bt(e))
4235
+ return an(e);
4236
+ delete ve[e];
4237
+ }), ve[e];
4201
4238
  }
4202
- const Io = {
4239
+ const Vo = {
4203
4240
  number: {
4204
4241
  scientific: { notation: "scientific" },
4205
4242
  engineering: { notation: "engineering" },
@@ -4228,150 +4265,150 @@ const Io = {
4228
4265
  timeZoneName: "short"
4229
4266
  }
4230
4267
  }
4231
- }, Co = {
4268
+ }, Wo = {
4232
4269
  fallbackLocale: null,
4233
4270
  loadingDelay: 200,
4234
- formats: Io,
4271
+ formats: Vo,
4235
4272
  warnOnMissingMessages: !0,
4236
4273
  handleMissingMessage: void 0,
4237
4274
  ignoreTag: !0
4238
- }, Lo = Co;
4239
- function de() {
4240
- return Lo;
4275
+ }, Xo = Wo;
4276
+ function me() {
4277
+ return Xo;
4241
4278
  }
4242
- const tt = je(!1);
4243
- var No = Object.defineProperty, Ro = Object.defineProperties, Fo = Object.getOwnPropertyDescriptors, Yt = Object.getOwnPropertySymbols, Uo = Object.prototype.hasOwnProperty, Do = Object.prototype.propertyIsEnumerable, Kt = (e, t, r) => t in e ? No(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, $o = (e, t) => {
4279
+ const nt = Ve(!1);
4280
+ var zo = Object.defineProperty, Zo = Object.defineProperties, Qo = Object.getOwnPropertyDescriptors, or = Object.getOwnPropertySymbols, qo = Object.prototype.hasOwnProperty, Jo = Object.prototype.propertyIsEnumerable, sr = (e, t, r) => t in e ? zo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Yo = (e, t) => {
4244
4281
  for (var r in t)
4245
- Uo.call(t, r) && Kt(e, r, t[r]);
4246
- if (Yt)
4247
- for (var r of Yt(t))
4248
- Do.call(t, r) && Kt(e, r, t[r]);
4282
+ qo.call(t, r) && sr(e, r, t[r]);
4283
+ if (or)
4284
+ for (var r of or(t))
4285
+ Jo.call(t, r) && sr(e, r, t[r]);
4249
4286
  return e;
4250
- }, Go = (e, t) => Ro(e, Fo(t));
4251
- let gt;
4252
- const De = je(null);
4253
- function er(e) {
4287
+ }, Ko = (e, t) => Zo(e, Qo(t));
4288
+ let yt;
4289
+ const $e = Ve(null);
4290
+ function ar(e) {
4254
4291
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4255
4292
  }
4256
- function We(e, t = de().fallbackLocale) {
4257
- const r = er(e);
4258
- return t ? [.../* @__PURE__ */ new Set([...r, ...er(t)])] : r;
4293
+ function Xe(e, t = me().fallbackLocale) {
4294
+ const r = ar(e);
4295
+ return t ? [.../* @__PURE__ */ new Set([...r, ...ar(t)])] : r;
4259
4296
  }
4260
- function re() {
4261
- return gt ?? void 0;
4297
+ function ne() {
4298
+ return yt != null ? yt : void 0;
4262
4299
  }
4263
- De.subscribe((e) => {
4264
- gt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4300
+ $e.subscribe((e) => {
4301
+ yt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4265
4302
  });
4266
- const ko = (e) => {
4267
- if (e && Ao(e) && pt(e)) {
4268
- const { loadingDelay: t } = de();
4303
+ const es = (e) => {
4304
+ if (e && $o(e) && bt(e)) {
4305
+ const { loadingDelay: t } = me();
4269
4306
  let r;
4270
- return typeof window < "u" && re() != null && t ? r = window.setTimeout(
4271
- () => tt.set(!0),
4307
+ return typeof window != "undefined" && ne() != null && t ? r = window.setTimeout(
4308
+ () => nt.set(!0),
4272
4309
  t
4273
- ) : tt.set(!0), Kr(e).then(() => {
4274
- De.set(e);
4310
+ ) : nt.set(!0), an(e).then(() => {
4311
+ $e.set(e);
4275
4312
  }).finally(() => {
4276
- clearTimeout(r), tt.set(!1);
4313
+ clearTimeout(r), nt.set(!1);
4277
4314
  });
4278
4315
  }
4279
- return De.set(e);
4280
- }, ge = Go($o({}, De), {
4281
- set: ko
4282
- }), Xe = (e) => {
4316
+ return $e.set(e);
4317
+ }, be = Ko(Yo({}, $e), {
4318
+ set: es
4319
+ }), ze = (e) => {
4283
4320
  const t = /* @__PURE__ */ Object.create(null);
4284
4321
  return (n) => {
4285
4322
  const i = JSON.stringify(n);
4286
4323
  return i in t ? t[i] : t[i] = e(n);
4287
4324
  };
4288
4325
  };
4289
- var jo = Object.defineProperty, $e = Object.getOwnPropertySymbols, en = Object.prototype.hasOwnProperty, tn = Object.prototype.propertyIsEnumerable, tr = (e, t, r) => t in e ? jo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, xt = (e, t) => {
4326
+ var ts = Object.defineProperty, Ge = Object.getOwnPropertySymbols, un = Object.prototype.hasOwnProperty, ln = Object.prototype.propertyIsEnumerable, ur = (e, t, r) => t in e ? ts(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, wt = (e, t) => {
4290
4327
  for (var r in t || (t = {}))
4291
- en.call(t, r) && tr(e, r, t[r]);
4292
- if ($e)
4293
- for (var r of $e(t))
4294
- tn.call(t, r) && tr(e, r, t[r]);
4328
+ un.call(t, r) && ur(e, r, t[r]);
4329
+ if (Ge)
4330
+ for (var r of Ge(t))
4331
+ ln.call(t, r) && ur(e, r, t[r]);
4295
4332
  return e;
4296
- }, be = (e, t) => {
4333
+ }, ye = (e, t) => {
4297
4334
  var r = {};
4298
4335
  for (var n in e)
4299
- en.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4300
- if (e != null && $e)
4301
- for (var n of $e(e))
4302
- t.indexOf(n) < 0 && tn.call(e, n) && (r[n] = e[n]);
4336
+ un.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4337
+ if (e != null && Ge)
4338
+ for (var n of Ge(e))
4339
+ t.indexOf(n) < 0 && ln.call(e, n) && (r[n] = e[n]);
4303
4340
  return r;
4304
4341
  };
4305
- const He = (e, t) => {
4306
- const { formats: r } = de();
4342
+ const Se = (e, t) => {
4343
+ const { formats: r } = me();
4307
4344
  if (e in r && t in r[e])
4308
4345
  return r[e][t];
4309
4346
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4310
- }, Vo = Xe(
4347
+ }, rs = ze(
4311
4348
  (e) => {
4312
- var t = e, { locale: r, format: n } = t, i = be(t, ["locale", "format"]);
4349
+ var t = e, { locale: r, format: n } = t, i = ye(t, ["locale", "format"]);
4313
4350
  if (r == null)
4314
4351
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4315
- return n && (i = He("number", n)), new Intl.NumberFormat(r, i);
4352
+ return n && (i = Se("number", n)), new Intl.NumberFormat(r, i);
4316
4353
  }
4317
- ), Wo = Xe(
4354
+ ), ns = ze(
4318
4355
  (e) => {
4319
- var t = e, { locale: r, format: n } = t, i = be(t, ["locale", "format"]);
4356
+ var t = e, { locale: r, format: n } = t, i = ye(t, ["locale", "format"]);
4320
4357
  if (r == null)
4321
4358
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4322
- return n ? i = He("date", n) : Object.keys(i).length === 0 && (i = He("date", "short")), new Intl.DateTimeFormat(r, i);
4359
+ return n ? i = Se("date", n) : Object.keys(i).length === 0 && (i = Se("date", "short")), new Intl.DateTimeFormat(r, i);
4323
4360
  }
4324
- ), Xo = Xe(
4361
+ ), is = ze(
4325
4362
  (e) => {
4326
- var t = e, { locale: r, format: n } = t, i = be(t, ["locale", "format"]);
4363
+ var t = e, { locale: r, format: n } = t, i = ye(t, ["locale", "format"]);
4327
4364
  if (r == null)
4328
4365
  throw new Error(
4329
4366
  '[svelte-i18n] A "locale" must be set to format time values'
4330
4367
  );
4331
- return n ? i = He("time", n) : Object.keys(i).length === 0 && (i = He("time", "short")), new Intl.DateTimeFormat(r, i);
4368
+ return n ? i = Se("time", n) : Object.keys(i).length === 0 && (i = Se("time", "short")), new Intl.DateTimeFormat(r, i);
4332
4369
  }
4333
- ), zo = (e = {}) => {
4370
+ ), os = (e = {}) => {
4334
4371
  var t = e, {
4335
- locale: r = re()
4336
- } = t, n = be(t, [
4372
+ locale: r = ne()
4373
+ } = t, n = ye(t, [
4337
4374
  "locale"
4338
4375
  ]);
4339
- return Vo(xt({ locale: r }, n));
4340
- }, Zo = (e = {}) => {
4376
+ return rs(wt({ locale: r }, n));
4377
+ }, ss = (e = {}) => {
4341
4378
  var t = e, {
4342
- locale: r = re()
4343
- } = t, n = be(t, [
4379
+ locale: r = ne()
4380
+ } = t, n = ye(t, [
4344
4381
  "locale"
4345
4382
  ]);
4346
- return Wo(xt({ locale: r }, n));
4347
- }, Qo = (e = {}) => {
4383
+ return ns(wt({ locale: r }, n));
4384
+ }, as = (e = {}) => {
4348
4385
  var t = e, {
4349
- locale: r = re()
4350
- } = t, n = be(t, [
4386
+ locale: r = ne()
4387
+ } = t, n = ye(t, [
4351
4388
  "locale"
4352
4389
  ]);
4353
- return Xo(xt({ locale: r }, n));
4354
- }, qo = Xe(
4390
+ return is(wt({ locale: r }, n));
4391
+ }, us = ze(
4355
4392
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4356
- (e, t = re()) => new wo(e, t, de().formats, {
4357
- ignoreTag: de().ignoreTag
4393
+ (e, t = ne()) => new No(e, t, me().formats, {
4394
+ ignoreTag: me().ignoreTag
4358
4395
  })
4359
- ), Jo = (e, t = {}) => {
4396
+ ), ls = (e, t = {}) => {
4360
4397
  var r, n, i, o;
4361
4398
  let s = t;
4362
4399
  typeof e == "object" && (s = e, e = s.id);
4363
4400
  const {
4364
4401
  values: a,
4365
- locale: u = re(),
4402
+ locale: u = ne(),
4366
4403
  default: l
4367
4404
  } = s;
4368
4405
  if (u == null)
4369
4406
  throw new Error(
4370
4407
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4371
4408
  );
4372
- let h = Qr(e, u);
4409
+ let h = rn(e, u);
4373
4410
  if (!h)
4374
- h = (o = (i = (n = (r = de()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4411
+ h = (o = (i = (n = (r = me()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4375
4412
  else if (typeof h != "string")
4376
4413
  return console.warn(
4377
4414
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -4380,7 +4417,7 @@ const He = (e, t) => {
4380
4417
  return h;
4381
4418
  let c = h;
4382
4419
  try {
4383
- c = qo(h, u).format(a);
4420
+ c = us(h, u).format(a);
4384
4421
  } catch (f) {
4385
4422
  f instanceof Error && console.warn(
4386
4423
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4388,20 +4425,20 @@ const He = (e, t) => {
4388
4425
  );
4389
4426
  }
4390
4427
  return c;
4391
- }, Yo = (e, t) => Qo(t).format(e), Ko = (e, t) => Zo(t).format(e), es = (e, t) => zo(t).format(e), ts = (e, t = re()) => Qr(e, t), rs = pe([ge, Se], () => Jo);
4392
- pe([ge], () => Yo);
4393
- pe([ge], () => Ko);
4394
- pe([ge], () => es);
4395
- pe([ge, Se], () => ts);
4396
- window.emWidgets = { topic: mi };
4397
- const ns = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4398
- function rr(e, t) {
4399
- Jr(e, t);
4400
- }
4401
- function is(e) {
4402
- ge.set(e);
4403
- }
4404
- const nr = {
4428
+ }, hs = (e, t) => as(t).format(e), cs = (e, t) => ss(t).format(e), fs = (e, t) => os(t).format(e), ds = (e, t = ne()) => rn(e, t), ms = ge([be, Te], () => ls);
4429
+ ge([be], () => hs);
4430
+ ge([be], () => cs);
4431
+ ge([be], () => fs);
4432
+ ge([be, Te], () => ds);
4433
+ window.emWidgets = { topic: Ti };
4434
+ const ps = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4435
+ function lr(e, t) {
4436
+ on(e, t);
4437
+ }
4438
+ function gs(e) {
4439
+ be.set(e);
4440
+ }
4441
+ const hr = {
4405
4442
  en: {
4406
4443
  language: "Select Language"
4407
4444
  },
@@ -4436,76 +4473,76 @@ const nr = {
4436
4473
  language: "Select Language"
4437
4474
  }
4438
4475
  };
4439
- function os(e) {
4440
- Mn(e, "svelte-1w56nga", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}:host{font-family:inherit}input,textarea,button{font-family:inherit}.LanguageDropdown{width:100%;margin-right:16px;position:relative;display:inline-block}.SelectedOption,.OptionList{border:1px solid var(--emw--header-color-primary);padding:8px;cursor:pointer;width:200px;border-radius:2px}.SelectedOption{display:flex;align-items:center;margin:0;padding-left:9px}.SelectedOption svg{width:12px;margin-left:6px}.FlagIcon img{width:20px;height:14px;margin-right:8px;border-radius:2px}.OptionList{position:absolute;overflow-y:auto;transform:translateX(-50%);z-index:1;background:var(--emw--header-color-secondary-menu-bg, var(--emw--color-background-secondary, #050518));max-height:155px;overflow-y:auto;bottom:36px;width:50vw;left:30%;display:flex;gap:5px;flex-direction:column}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 10px;transition:all 0.5s}.TriangleInactive svg{margin:2px 0px}.TriangleActive{transform:rotate(180deg);position:relative}.TriangleActive svg{margin:2px 0px}.LanguageOption{display:flex;align-items:center;padding:4px;margin:0;background-color:white}.LanguageOption:hover{background-color:var(--emw--header-color-primary, var(--emw--color-primary, #D0046C));border-radius:2px}.LanguageSelect{margin:0 20px}.LanguageSelectorTitle{position:fixed;width:90vw;padding:5px 0;bottom:0;background:var(--emw--header-color-secondary-menu-bg, var(--emw--color-background-secondary, #050518))}.LanguageSelectorTitle span{display:inline;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));padding:5px 0;display:flex;align-items:center;gap:15px;font-size:12px}.ItemLanguage{height:34px;width:100%;text-align:left;line-height:34px;background:transparent;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));border:none}.ItemLanguage option{color:var(--emw--header-contrast, var(--emw--color-contrast, #07072A))}.HamburgerModalWindow{display:block;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;background-color:rgba(0, 0, 0, 0.7)}.HamburgerModalWindow>span{opacity:0}.HamburgerModalWindow .HamburgerModalContainer{max-width:992px;position:relative;background:var(--emw--header-color-secondary-menu-bg, var(--emw--color-background-secondary, #050518));width:0vw;height:100%;padding:0;border-top:0;border-radius:0;transition:width 0.4s ease-in-out;overflow-x:hidden;overflow-y:scroll}.HamburgerModalWindow .HamburgerModalContainer.ActiveHamburgerMenu{width:90vw}.HamburgerModalWindow .ModalCloseBtn{position:absolute;top:9px;right:9px;width:20px;height:20px;border-radius:100%;color:var(--emw--color-white, #FFFFFF);background:rgba(255, 255, 255, 0.2);opacity:1;cursor:pointer;transition:all 150ms ease-in-out;transition:opacity 500ms ease-in-out}.HamburgerModalWindow .ModalCloseBtn svg{width:20px;height:20px;padding:2px}.HamburgerModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.HamburgerModalWindow .HamburgerPrimaryMenu,.HamburgerModalWindow .HamburgerSecondaryMenu{font-size:12px;display:flex;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF))}.HamburgerModalWindow .HamburgerPrimaryMenu li,.HamburgerModalWindow .HamburgerSecondaryMenu li{transition:all 150ms ease-in-out}.HamburgerModalWindow .HamburgerPrimaryMenu img,.HamburgerModalWindow .HamburgerSecondaryMenu img{max-width:40px}.HamburgerModalWindow .HamburgerPrimaryMenu{background:var(--emw--header-color-menu-bg, var(--emw--color-background-secondary, #050518));white-space:nowrap;overflow:scroll;list-style:none;border-bottom:2px solid var(--emw--header-color-primary, var(--emw--color-primary, #D0046C));width:90vw}.HamburgerModalWindow .HamburgerPrimaryMenu>li{max-width:100px;padding:14px 25px;display:inline-block}.HamburgerModalWindow .HamburgerPrimaryMenu>li.ActiveItem{background:var(--emw--header-color-primary, var(--emw--color-primary, #D0046C))}.HamburgerModalWindow .HamburgerPrimaryMenu.HamburgerPrimaryMenuFixed{position:fixed}.HamburgerModalWindow .HamburgerPrimaryMenu .HamburgerItemContainer{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:14px}.HamburgerModalWindow .HamburgerSecondaryMenu{margin-top:10px;list-style:none;width:90vw;display:flex;flex-direction:column}.HamburgerModalWindow .HamburgerSecondaryMenu.HamburgerSecondaryMenuFixed{margin-top:106px;margin-bottom:70px}.HamburgerModalWindow .HamburgerSecondaryMenu li{margin:0 20px;padding:20px 0;display:flex;align-items:center;gap:15px}.HamburgerModalWindow .HamburgerSecondaryMenu li a{text-decoration:none;display:flex;align-items:center;gap:15px;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));font-size:14px}.HamburgerModalWindow .HamburgerSecondaryMenu li:not(:last-child){border-bottom:1px solid var(--emw--color-gray-300, #58586B)}.HamburgerModalWindow .HamburgerSecondaryMenu li:active a{color:var(--emw--color-primary, #D0046C)}.FlagIcon{margin-left:12px}.NoFlag{width:88%;margin:0 20px}");
4476
+ function bs(e) {
4477
+ Dn(e, "svelte-1w56nga", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}:host{font-family:inherit}input,textarea,button{font-family:inherit}.LanguageDropdown{width:100%;margin-right:16px;position:relative;display:inline-block}.SelectedOption,.OptionList{border:1px solid var(--emw--header-color-primary);padding:8px;cursor:pointer;width:200px;border-radius:2px}.SelectedOption{display:flex;align-items:center;margin:0;padding-left:9px}.SelectedOption svg{width:12px;margin-left:6px}.FlagIcon img{width:20px;height:14px;margin-right:8px;border-radius:2px}.OptionList{position:absolute;overflow-y:auto;transform:translateX(-50%);z-index:1;background:var(--emw--header-color-secondary-menu-bg, var(--emw--color-background-secondary, #050518));max-height:155px;overflow-y:auto;bottom:36px;width:50vw;left:30%;display:flex;gap:5px;flex-direction:column}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 10px;transition:all 0.5s}.TriangleInactive svg{margin:2px 0px}.TriangleActive{transform:rotate(180deg);position:relative}.TriangleActive svg{margin:2px 0px}.LanguageOption{display:flex;align-items:center;padding:4px;margin:0;background-color:white}.LanguageOption:hover{background-color:var(--emw--header-color-primary, var(--emw--color-primary, #D0046C));border-radius:2px}.LanguageSelect{margin:0 20px}.LanguageSelectorTitle{position:fixed;width:90vw;padding:5px 0;bottom:0;background:var(--emw--header-color-secondary-menu-bg, var(--emw--color-background-secondary, #050518))}.LanguageSelectorTitle span{display:inline;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));padding:5px 0;display:flex;align-items:center;gap:15px;font-size:12px}.ItemLanguage{height:34px;width:100%;text-align:left;line-height:34px;background:transparent;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));border:none}.ItemLanguage option{color:var(--emw--header-contrast, var(--emw--color-contrast, #07072A))}.HamburgerModalWindow{display:block;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;background-color:rgba(0, 0, 0, 0.7)}.HamburgerModalWindow>span{opacity:0}.HamburgerModalWindow .HamburgerModalContainer{max-width:992px;position:relative;background:var(--emw--header-color-secondary-menu-bg, var(--emw--color-background-secondary, #050518));width:0vw;height:100%;padding:0;border-top:0;border-radius:0;transition:width 0.4s ease-in-out;overflow-x:hidden;overflow-y:scroll}.HamburgerModalWindow .HamburgerModalContainer.ActiveHamburgerMenu{width:90vw}.HamburgerModalWindow .ModalCloseBtn{position:absolute;top:9px;right:9px;width:20px;height:20px;border-radius:100%;color:var(--emw--color-white, #FFFFFF);background:rgba(255, 255, 255, 0.2);opacity:1;cursor:pointer;transition:all 150ms ease-in-out;transition:opacity 500ms ease-in-out}.HamburgerModalWindow .ModalCloseBtn svg{width:20px;height:20px;padding:2px}.HamburgerModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.HamburgerModalWindow .HamburgerPrimaryMenu,.HamburgerModalWindow .HamburgerSecondaryMenu{font-size:12px;display:flex;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF))}.HamburgerModalWindow .HamburgerPrimaryMenu li,.HamburgerModalWindow .HamburgerSecondaryMenu li{transition:all 150ms ease-in-out}.HamburgerModalWindow .HamburgerPrimaryMenu img,.HamburgerModalWindow .HamburgerSecondaryMenu img{max-width:40px}.HamburgerModalWindow .HamburgerPrimaryMenu{background:var(--emw--header-color-menu-bg, var(--emw--color-background-secondary, #050518));white-space:nowrap;overflow:scroll;list-style:none;border-bottom:2px solid var(--emw--header-color-primary, var(--emw--color-primary, #D0046C));width:90vw}.HamburgerModalWindow .HamburgerPrimaryMenu>li{max-width:100px;padding:14px 25px;display:inline-block}.HamburgerModalWindow .HamburgerPrimaryMenu>li.ActiveItem{background:var(--emw--header-color-primary, var(--emw--color-primary, #D0046C))}.HamburgerModalWindow .HamburgerPrimaryMenu.HamburgerPrimaryMenuFixed{position:fixed}.HamburgerModalWindow .HamburgerPrimaryMenu .HamburgerItemContainer{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:14px}.HamburgerModalWindow .HamburgerSecondaryMenu{margin-top:10px;list-style:none;width:90vw;display:flex;flex-direction:column}.HamburgerModalWindow .HamburgerSecondaryMenu.HamburgerSecondaryMenuFixed{margin-top:106px;margin-bottom:70px}.HamburgerModalWindow .HamburgerSecondaryMenu li{margin:0 20px;padding:20px 0;display:flex;align-items:center;gap:15px}.HamburgerModalWindow .HamburgerSecondaryMenu li a{text-decoration:none;display:flex;align-items:center;gap:15px;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));font-size:14px}.HamburgerModalWindow .HamburgerSecondaryMenu li:not(:last-child){border-bottom:1px solid var(--emw--color-gray-300, #58586B)}.HamburgerModalWindow .HamburgerSecondaryMenu li:active a{color:var(--emw--color-primary, #D0046C)}.FlagIcon{margin-left:12px}.NoFlag{width:88%;margin:0 20px}");
4441
4478
  }
4442
- function ir(e, t, r) {
4479
+ function cr(e, t, r) {
4443
4480
  const n = e.slice();
4444
4481
  return n[53] = t[r], n;
4445
4482
  }
4446
- function or(e, t, r) {
4483
+ function fr(e, t, r) {
4447
4484
  const n = e.slice();
4448
4485
  return n[1] = t[r], n;
4449
4486
  }
4450
- function sr(e, t, r) {
4487
+ function dr(e, t, r) {
4451
4488
  const n = e.slice();
4452
4489
  return n[56] = t[r], n;
4453
4490
  }
4454
- function ar(e, t, r) {
4491
+ function mr(e, t, r) {
4455
4492
  const n = e.slice();
4456
4493
  return n[59] = t[r], n;
4457
4494
  }
4458
- const ss = (e) => ({}), ur = (e) => ({});
4459
- function lr(e) {
4495
+ const ys = (e) => ({}), pr = (e) => ({});
4496
+ function gr(e) {
4460
4497
  let t, r, n, i, o, s, a, u, l, h, c, f, p, d, b, S;
4461
4498
  const P = (
4462
4499
  /*#slots*/
4463
4500
  e[30].close
4464
- ), C = xn(
4501
+ ), C = Cn(
4465
4502
  P,
4466
4503
  e,
4467
4504
  /*$$scope*/
4468
4505
  e[29],
4469
- ur
4470
- ), B = C || as();
4471
- let L = Z(
4506
+ pr
4507
+ ), B = C || _s();
4508
+ let L = Q(
4472
4509
  /*HamburgerMenuItems*/
4473
4510
  e[4]
4474
4511
  ), y = [];
4475
4512
  for (let x = 0; x < L.length; x += 1)
4476
- y[x] = hr(ar(e, L, x));
4477
- let T = Z(
4513
+ y[x] = br(mr(e, L, x));
4514
+ let T = Q(
4478
4515
  /*activeMenuItemChildren*/
4479
4516
  e[6]
4480
4517
  ), M = [];
4481
4518
  for (let x = 0; x < T.length; x += 1)
4482
- M[x] = cr(sr(e, T, x));
4519
+ M[x] = yr(dr(e, T, x));
4483
4520
  let N = (
4484
4521
  /*languagesArray*/
4485
- e[10].length > 1 && fr(e)
4522
+ e[10].length > 1 && _r(e)
4486
4523
  );
4487
4524
  return {
4488
4525
  c() {
4489
- t = A("div"), r = A("span"), B.c(), i = D(), o = A("div"), s = A("ul");
4526
+ t = A("div"), r = A("span"), B.c(), i = $(), o = A("div"), s = A("ul");
4490
4527
  for (let x = 0; x < y.length; x += 1)
4491
4528
  y[x].c();
4492
- u = D(), l = A("ul");
4529
+ u = $(), l = A("ul");
4493
4530
  for (let x = 0; x < M.length; x += 1)
4494
4531
  M[x].c();
4495
- c = D(), N && N.c(), g(r, "class", n = /*modalIsOpen*/
4532
+ c = $(), N && N.c(), g(r, "class", n = /*modalIsOpen*/
4496
4533
  e[7] ? "ModalCloseBtn" : ""), g(r, "role", "button"), g(s, "class", a = "HamburgerPrimaryMenu " + /*menuIsFixed*/
4497
4534
  (e[8] ? "HamburgerPrimaryMenuFixed" : "")), g(l, "class", h = "HamburgerSecondaryMenu " + /*menuIsFixed*/
4498
4535
  (e[8] ? "HamburgerSecondaryMenuFixed" : "")), g(o, "class", f = "HamburgerModalContainer " + /*modalIsOpen*/
4499
4536
  (e[7] ? "ActiveHamburgerMenu" : "")), g(t, "class", "HamburgerModalWindow"), g(t, "part", "HamburgerModalWindow");
4500
4537
  },
4501
4538
  m(x, R) {
4502
- j(x, t, R), _(t, r), B.m(r, null), _(t, i), _(t, o), _(o, s);
4539
+ V(x, t, R), _(t, r), B.m(r, null), _(t, i), _(t, o), _(o, s);
4503
4540
  for (let v = 0; v < y.length; v += 1)
4504
4541
  y[v] && y[v].m(s, null);
4505
4542
  _(o, u), _(o, l);
4506
4543
  for (let v = 0; v < M.length; v += 1)
4507
4544
  M[v] && M[v].m(l, null);
4508
- _(o, c), N && N.m(o, null), e[37](t), d = !0, b || (S = ee(
4545
+ _(o, c), N && N.m(o, null), e[37](t), d = !0, b || (S = te(
4509
4546
  r,
4510
4547
  "click",
4511
4548
  /*close*/
@@ -4514,35 +4551,35 @@ function lr(e) {
4514
4551
  },
4515
4552
  p(x, R) {
4516
4553
  if (e = x, C && C.p && (!d || R[0] & /*$$scope*/
4517
- 536870912) && wn(
4554
+ 536870912) && Nn(
4518
4555
  C,
4519
4556
  P,
4520
4557
  e,
4521
4558
  /*$$scope*/
4522
4559
  e[29],
4523
- d ? En(
4560
+ d ? Ln(
4524
4561
  P,
4525
4562
  /*$$scope*/
4526
4563
  e[29],
4527
4564
  R,
4528
- ss
4529
- ) : Hn(
4565
+ ys
4566
+ ) : Rn(
4530
4567
  /*$$scope*/
4531
4568
  e[29]
4532
4569
  ),
4533
- ur
4570
+ pr
4534
4571
  ), (!d || R[0] & /*modalIsOpen*/
4535
4572
  128 && n !== (n = /*modalIsOpen*/
4536
4573
  e[7] ? "ModalCloseBtn" : "")) && g(r, "class", n), R[0] & /*activeMenuItemId, HamburgerMenuItems, changeMenu*/
4537
4574
  32816) {
4538
- L = Z(
4575
+ L = Q(
4539
4576
  /*HamburgerMenuItems*/
4540
4577
  e[4]
4541
4578
  );
4542
4579
  let v;
4543
4580
  for (v = 0; v < L.length; v += 1) {
4544
- const $ = ar(e, L, v);
4545
- y[v] ? y[v].p($, R) : (y[v] = hr($), y[v].c(), y[v].m(s, null));
4581
+ const G = mr(e, L, v);
4582
+ y[v] ? y[v].p(G, R) : (y[v] = br(G), y[v].c(), y[v].m(s, null));
4546
4583
  }
4547
4584
  for (; v < y.length; v += 1)
4548
4585
  y[v].d(1);
@@ -4552,14 +4589,14 @@ function lr(e) {
4552
4589
  256 && a !== (a = "HamburgerPrimaryMenu " + /*menuIsFixed*/
4553
4590
  (e[8] ? "HamburgerPrimaryMenuFixed" : ""))) && g(s, "class", a), R[0] & /*handleClick, activeMenuItemChildren*/
4554
4591
  65600) {
4555
- T = Z(
4592
+ T = Q(
4556
4593
  /*activeMenuItemChildren*/
4557
4594
  e[6]
4558
4595
  );
4559
4596
  let v;
4560
4597
  for (v = 0; v < T.length; v += 1) {
4561
- const $ = sr(e, T, v);
4562
- M[v] ? M[v].p($, R) : (M[v] = cr($), M[v].c(), M[v].m(l, null));
4598
+ const G = dr(e, T, v);
4599
+ M[v] ? M[v].p(G, R) : (M[v] = yr(G), M[v].c(), M[v].m(l, null));
4563
4600
  }
4564
4601
  for (; v < M.length; v += 1)
4565
4602
  M[v].d(1);
@@ -4568,39 +4605,39 @@ function lr(e) {
4568
4605
  (!d || R[0] & /*menuIsFixed*/
4569
4606
  256 && h !== (h = "HamburgerSecondaryMenu " + /*menuIsFixed*/
4570
4607
  (e[8] ? "HamburgerSecondaryMenuFixed" : ""))) && g(l, "class", h), /*languagesArray*/
4571
- e[10].length > 1 ? N ? N.p(e, R) : (N = fr(e), N.c(), N.m(o, null)) : N && (N.d(1), N = null), (!d || R[0] & /*modalIsOpen*/
4608
+ e[10].length > 1 ? N ? N.p(e, R) : (N = _r(e), N.c(), N.m(o, null)) : N && (N.d(1), N = null), (!d || R[0] & /*modalIsOpen*/
4572
4609
  128 && f !== (f = "HamburgerModalContainer " + /*modalIsOpen*/
4573
4610
  (e[7] ? "ActiveHamburgerMenu" : ""))) && g(o, "class", f);
4574
4611
  },
4575
4612
  i(x) {
4576
- d || (xe(B, x), x && le(() => {
4577
- d && (p || (p = Lt(t, Nt, { transitionDuration: gr }, !0)), p.run(1));
4613
+ d || (Ee(B, x), x && he(() => {
4614
+ d && (p || (p = Gt(t, kt, { transitionDuration: wr }, !0)), p.run(1));
4578
4615
  }), d = !0);
4579
4616
  },
4580
4617
  o(x) {
4581
- nt(B, x), x && (p || (p = Lt(t, Nt, { transitionDuration: gr }, !1)), p.run(0)), d = !1;
4618
+ ot(B, x), x && (p || (p = Gt(t, kt, { transitionDuration: wr }, !1)), p.run(0)), d = !1;
4582
4619
  },
4583
4620
  d(x) {
4584
- x && U(t), B.d(x), Ne(y, x), Ne(M, x), N && N.d(), e[37](null), x && p && p.end(), b = !1, S();
4621
+ x && D(t), B.d(x), Re(y, x), Re(M, x), N && N.d(), e[37](null), x && p && p.end(), b = !1, S();
4585
4622
  }
4586
4623
  };
4587
4624
  }
4588
- function as(e) {
4625
+ function _s(e) {
4589
4626
  let t, r;
4590
4627
  return {
4591
4628
  c() {
4592
- t = K("svg"), r = K("path"), g(r, "stroke-linecap", "round"), g(r, "stroke-linejoin", "round"), g(r, "stroke-width", "2"), g(r, "d", "M6 18L18 6M6 6l12 12"), g(t, "class", "w-6 h-6"), g(t, "part", "w-6 h-6"), g(t, "fill", "none"), g(t, "stroke", "currentColor"), g(t, "viewBox", "0 0 24 24"), g(t, "xmlns", "http://www.w3.org/2000/svg");
4629
+ t = ee("svg"), r = ee("path"), g(r, "stroke-linecap", "round"), g(r, "stroke-linejoin", "round"), g(r, "stroke-width", "2"), g(r, "d", "M6 18L18 6M6 6l12 12"), g(t, "class", "w-6 h-6"), g(t, "part", "w-6 h-6"), g(t, "fill", "none"), g(t, "stroke", "currentColor"), g(t, "viewBox", "0 0 24 24"), g(t, "xmlns", "http://www.w3.org/2000/svg");
4593
4630
  },
4594
4631
  m(n, i) {
4595
- j(n, t, i), _(t, r);
4632
+ V(n, t, i), _(t, r);
4596
4633
  },
4597
- p: k,
4634
+ p: j,
4598
4635
  d(n) {
4599
- n && U(t);
4636
+ n && D(t);
4600
4637
  }
4601
4638
  };
4602
4639
  }
4603
- function hr(e) {
4640
+ function br(e) {
4604
4641
  let t, r, n, i, o, s = (
4605
4642
  /*mainItem*/
4606
4643
  e[59].label + ""
@@ -4616,30 +4653,30 @@ function hr(e) {
4616
4653
  }
4617
4654
  return {
4618
4655
  c() {
4619
- t = A("li"), r = A("div"), n = A("img"), o = D(), a = te(s), u = D(), q(n.src, i = /*mainItem*/
4656
+ t = A("li"), r = A("div"), n = A("img"), o = $(), a = re(s), u = $(), J(n.src, i = /*mainItem*/
4620
4657
  e[59].img) || g(n, "src", i), g(n, "alt", "menu icon"), g(r, "class", "HamburgerItemContainer"), g(t, "class", l = /*activeMenuItemId*/
4621
4658
  e[5] === /*mainItem*/
4622
4659
  e[59].id ? "ActiveItem" : "");
4623
4660
  },
4624
4661
  m(p, d) {
4625
- j(p, t, d), _(t, r), _(r, n), _(r, o), _(r, a), _(t, u), h || (c = ee(t, "click", f), h = !0);
4662
+ V(p, t, d), _(t, r), _(r, n), _(r, o), _(r, a), _(t, u), h || (c = te(t, "click", f), h = !0);
4626
4663
  },
4627
4664
  p(p, d) {
4628
4665
  e = p, d[0] & /*HamburgerMenuItems*/
4629
- 16 && !q(n.src, i = /*mainItem*/
4666
+ 16 && !J(n.src, i = /*mainItem*/
4630
4667
  e[59].img) && g(n, "src", i), d[0] & /*HamburgerMenuItems*/
4631
4668
  16 && s !== (s = /*mainItem*/
4632
- e[59].label + "") && me(a, s), d[0] & /*activeMenuItemId, HamburgerMenuItems*/
4669
+ e[59].label + "") && pe(a, s), d[0] & /*activeMenuItemId, HamburgerMenuItems*/
4633
4670
  48 && l !== (l = /*activeMenuItemId*/
4634
4671
  e[5] === /*mainItem*/
4635
4672
  e[59].id ? "ActiveItem" : "") && g(t, "class", l);
4636
4673
  },
4637
4674
  d(p) {
4638
- p && U(t), h = !1, c();
4675
+ p && D(t), h = !1, c();
4639
4676
  }
4640
4677
  };
4641
4678
  }
4642
- function cr(e) {
4679
+ function yr(e) {
4643
4680
  let t, r, n, i, o = (
4644
4681
  /*secondaryItem*/
4645
4682
  e[56].label + ""
@@ -4656,25 +4693,25 @@ function cr(e) {
4656
4693
  }
4657
4694
  return {
4658
4695
  c() {
4659
- t = A("li"), r = A("img"), i = D(), s = te(o), a = D(), q(r.src, n = /*secondaryItem*/
4696
+ t = A("li"), r = A("img"), i = $(), s = re(o), a = $(), J(r.src, n = /*secondaryItem*/
4660
4697
  e[56].img) || g(r, "src", n), g(r, "alt", "menu icon");
4661
4698
  },
4662
4699
  m(c, f) {
4663
- j(c, t, f), _(t, r), _(t, i), _(t, s), _(t, a), u || (l = ee(t, "click", h), u = !0);
4700
+ V(c, t, f), _(t, r), _(t, i), _(t, s), _(t, a), u || (l = te(t, "click", h), u = !0);
4664
4701
  },
4665
4702
  p(c, f) {
4666
4703
  e = c, f[0] & /*activeMenuItemChildren*/
4667
- 64 && !q(r.src, n = /*secondaryItem*/
4704
+ 64 && !J(r.src, n = /*secondaryItem*/
4668
4705
  e[56].img) && g(r, "src", n), f[0] & /*activeMenuItemChildren*/
4669
4706
  64 && o !== (o = /*secondaryItem*/
4670
- e[56].label + "") && me(s, o);
4707
+ e[56].label + "") && pe(s, o);
4671
4708
  },
4672
4709
  d(c) {
4673
- c && U(t), u = !1, l();
4710
+ c && D(t), u = !1, l();
4674
4711
  }
4675
4712
  };
4676
4713
  }
4677
- function fr(e) {
4714
+ function _r(e) {
4678
4715
  let t, r, n = (
4679
4716
  /*$_*/
4680
4717
  e[13]("language") + ""
@@ -4682,38 +4719,38 @@ function fr(e) {
4682
4719
  function s(l, h) {
4683
4720
  return (
4684
4721
  /*countryflaghamburger*/
4685
- l[0] !== "true" ? ls : us
4722
+ l[0] !== "true" ? xs : vs
4686
4723
  );
4687
4724
  }
4688
4725
  let a = s(e), u = a(e);
4689
4726
  return {
4690
4727
  c() {
4691
- t = A("div"), r = A("span"), i = te(n), o = D(), u.c(), g(r, "class", "LanguageSelect"), g(t, "class", "LanguageSelectorTitle");
4728
+ t = A("div"), r = A("span"), i = re(n), o = $(), u.c(), g(r, "class", "LanguageSelect"), g(t, "class", "LanguageSelectorTitle");
4692
4729
  },
4693
4730
  m(l, h) {
4694
- j(l, t, h), _(t, r), _(r, i), _(t, o), u.m(t, null);
4731
+ V(l, t, h), _(t, r), _(r, i), _(t, o), u.m(t, null);
4695
4732
  },
4696
4733
  p(l, h) {
4697
4734
  h[0] & /*$_*/
4698
4735
  8192 && n !== (n = /*$_*/
4699
- l[13]("language") + "") && me(i, n), a === (a = s(l)) && u ? u.p(l, h) : (u.d(1), u = a(l), u && (u.c(), u.m(t, null)));
4736
+ l[13]("language") + "") && pe(i, n), a === (a = s(l)) && u ? u.p(l, h) : (u.d(1), u = a(l), u && (u.c(), u.m(t, null)));
4700
4737
  },
4701
4738
  d(l) {
4702
- l && U(t), u.d();
4739
+ l && D(t), u.d();
4703
4740
  }
4704
4741
  };
4705
4742
  }
4706
- function us(e) {
4743
+ function vs(e) {
4707
4744
  let t, r, n, i, o, s, a, u = (
4708
4745
  /*selectedLanguage*/
4709
4746
  e[12].slice(-2) + ""
4710
4747
  ), l, h, c, f, p, d, b, S, P, C, B, L, y = (
4711
4748
  /*isOptionsListVisible*/
4712
- e[11] && dr(e)
4749
+ e[11] && vr(e)
4713
4750
  );
4714
4751
  return {
4715
4752
  c() {
4716
- t = A("div"), r = A("div"), n = A("span"), i = A("img"), s = D(), a = A("span"), l = te(u), h = D(), c = A("span"), f = K("svg"), p = K("g"), d = K("g"), b = K("g"), S = K("path"), C = D(), y && y.c(), q(i.src, o = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
4753
+ t = A("div"), r = A("div"), n = A("span"), i = A("img"), s = $(), a = A("span"), l = re(u), h = $(), c = A("span"), f = ee("svg"), p = ee("g"), d = ee("g"), b = ee("g"), S = ee("path"), C = $(), y && y.c(), J(i.src, o = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
4717
4754
  e[20](
4718
4755
  /*selectedLanguage*/
4719
4756
  e[12].slice(-2)
@@ -4721,7 +4758,7 @@ function us(e) {
4721
4758
  (e[11] ? "TriangleActive" : "")), g(r, "class", "SelectedOption Item ItemLanguage"), g(t, "class", "LanguageDropdown");
4722
4759
  },
4723
4760
  m(T, M) {
4724
- j(T, t, M), _(t, r), _(r, n), _(n, i), _(r, s), _(r, a), _(a, l), _(r, h), _(r, c), _(c, f), _(f, p), _(p, d), _(d, b), _(b, S), _(t, C), y && y.m(t, null), B || (L = ee(
4761
+ V(T, t, M), _(t, r), _(r, n), _(n, i), _(r, s), _(r, a), _(a, l), _(r, h), _(r, c), _(c, f), _(f, p), _(p, d), _(d, b), _(b, S), _(t, C), y && y.m(t, null), B || (L = te(
4725
4762
  r,
4726
4763
  "click",
4727
4764
  /*click_handler_2*/
@@ -4730,57 +4767,57 @@ function us(e) {
4730
4767
  },
4731
4768
  p(T, M) {
4732
4769
  M[0] & /*selectedLanguage, languagesArray*/
4733
- 5120 && !q(i.src, o = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
4770
+ 5120 && !J(i.src, o = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
4734
4771
  T[20](
4735
4772
  /*selectedLanguage*/
4736
4773
  T[12].slice(-2)
4737
4774
  )}.svg`) && g(i, "src", o), M[0] & /*selectedLanguage*/
4738
4775
  4096 && u !== (u = /*selectedLanguage*/
4739
- T[12].slice(-2) + "") && me(l, u), M[0] & /*isOptionsListVisible*/
4776
+ T[12].slice(-2) + "") && pe(l, u), M[0] & /*isOptionsListVisible*/
4740
4777
  2048 && P !== (P = "TriangleInactive " + /*isOptionsListVisible*/
4741
4778
  (T[11] ? "TriangleActive" : "")) && g(c, "class", P), /*isOptionsListVisible*/
4742
- T[11] ? y ? y.p(T, M) : (y = dr(T), y.c(), y.m(t, null)) : y && (y.d(1), y = null);
4779
+ T[11] ? y ? y.p(T, M) : (y = vr(T), y.c(), y.m(t, null)) : y && (y.d(1), y = null);
4743
4780
  },
4744
4781
  d(T) {
4745
- T && U(t), y && y.d(), B = !1, L();
4782
+ T && D(t), y && y.d(), B = !1, L();
4746
4783
  }
4747
4784
  };
4748
4785
  }
4749
- function ls(e) {
4750
- let t, r, n, i = Z(
4786
+ function xs(e) {
4787
+ let t, r, n, i = Q(
4751
4788
  /*languagesArray*/
4752
4789
  e[10]
4753
4790
  ), o = [];
4754
4791
  for (let s = 0; s < i.length; s += 1)
4755
- o[s] = pr(or(e, i, s));
4792
+ o[s] = Er(fr(e, i, s));
4756
4793
  return {
4757
4794
  c() {
4758
4795
  t = A("select");
4759
4796
  for (let s = 0; s < o.length; s += 1)
4760
4797
  o[s].c();
4761
4798
  g(t, "class", "Item ItemLanguage NoFlag"), /*selectedLanguage*/
4762
- e[12] === void 0 && le(() => (
4799
+ e[12] === void 0 && he(() => (
4763
4800
  /*select_change_handler*/
4764
4801
  e[33].call(t)
4765
4802
  ));
4766
4803
  },
4767
4804
  m(s, a) {
4768
- j(s, t, a);
4805
+ V(s, t, a);
4769
4806
  for (let u = 0; u < o.length; u += 1)
4770
4807
  o[u] && o[u].m(t, null);
4771
- Ot(
4808
+ Ut(
4772
4809
  t,
4773
4810
  /*selectedLanguage*/
4774
4811
  e[12],
4775
4812
  !0
4776
4813
  ), r || (n = [
4777
- ee(
4814
+ te(
4778
4815
  t,
4779
4816
  "change",
4780
4817
  /*select_change_handler*/
4781
4818
  e[33]
4782
4819
  ),
4783
- ee(
4820
+ te(
4784
4821
  t,
4785
4822
  "change",
4786
4823
  /*change_handler*/
@@ -4791,38 +4828,38 @@ function ls(e) {
4791
4828
  p(s, a) {
4792
4829
  if (a[0] & /*languagesArray*/
4793
4830
  1024) {
4794
- i = Z(
4831
+ i = Q(
4795
4832
  /*languagesArray*/
4796
4833
  s[10]
4797
4834
  );
4798
4835
  let u;
4799
4836
  for (u = 0; u < i.length; u += 1) {
4800
- const l = or(s, i, u);
4801
- o[u] ? o[u].p(l, a) : (o[u] = pr(l), o[u].c(), o[u].m(t, null));
4837
+ const l = fr(s, i, u);
4838
+ o[u] ? o[u].p(l, a) : (o[u] = Er(l), o[u].c(), o[u].m(t, null));
4802
4839
  }
4803
4840
  for (; u < o.length; u += 1)
4804
4841
  o[u].d(1);
4805
4842
  o.length = i.length;
4806
4843
  }
4807
4844
  a[0] & /*selectedLanguage, languagesArray*/
4808
- 5120 && Ot(
4845
+ 5120 && Ut(
4809
4846
  t,
4810
4847
  /*selectedLanguage*/
4811
4848
  s[12]
4812
4849
  );
4813
4850
  },
4814
4851
  d(s) {
4815
- s && U(t), Ne(o, s), r = !1, J(n);
4852
+ s && D(t), Re(o, s), r = !1, Y(n);
4816
4853
  }
4817
4854
  };
4818
4855
  }
4819
- function dr(e) {
4820
- let t, r = Z(
4856
+ function vr(e) {
4857
+ let t, r = Q(
4821
4858
  /*languagesArray*/
4822
4859
  e[10]
4823
4860
  ), n = [];
4824
4861
  for (let i = 0; i < r.length; i += 1)
4825
- n[i] = mr(ir(e, r, i));
4862
+ n[i] = xr(cr(e, r, i));
4826
4863
  return {
4827
4864
  c() {
4828
4865
  t = A("div");
@@ -4831,21 +4868,21 @@ function dr(e) {
4831
4868
  g(t, "class", "OptionList");
4832
4869
  },
4833
4870
  m(i, o) {
4834
- j(i, t, o);
4871
+ V(i, t, o);
4835
4872
  for (let s = 0; s < n.length; s += 1)
4836
4873
  n[s] && n[s].m(t, null);
4837
4874
  },
4838
4875
  p(i, o) {
4839
4876
  if (o[0] & /*selectLanguage, languagesArray, determineFlag*/
4840
4877
  1311744) {
4841
- r = Z(
4878
+ r = Q(
4842
4879
  /*languagesArray*/
4843
4880
  i[10]
4844
4881
  );
4845
4882
  let s;
4846
4883
  for (s = 0; s < r.length; s += 1) {
4847
- const a = ir(i, r, s);
4848
- n[s] ? n[s].p(a, o) : (n[s] = mr(a), n[s].c(), n[s].m(t, null));
4884
+ const a = cr(i, r, s);
4885
+ n[s] ? n[s].p(a, o) : (n[s] = xr(a), n[s].c(), n[s].m(t, null));
4849
4886
  }
4850
4887
  for (; s < n.length; s += 1)
4851
4888
  n[s].d(1);
@@ -4853,11 +4890,11 @@ function dr(e) {
4853
4890
  }
4854
4891
  },
4855
4892
  d(i) {
4856
- i && U(t), Ne(n, i);
4893
+ i && D(t), Re(n, i);
4857
4894
  }
4858
4895
  };
4859
4896
  }
4860
- function mr(e) {
4897
+ function xr(e) {
4861
4898
  let t, r, n, i, o, s, a = (
4862
4899
  /*operatorLanguage*/
4863
4900
  e[53] + ""
@@ -4873,103 +4910,103 @@ function mr(e) {
4873
4910
  }
4874
4911
  return {
4875
4912
  c() {
4876
- t = A("div"), r = A("span"), n = A("img"), o = D(), s = A("span"), u = te(a), l = D(), q(n.src, i = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
4913
+ t = A("div"), r = A("span"), n = A("img"), o = $(), s = A("span"), u = re(a), l = $(), J(n.src, i = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
4877
4914
  e[20](
4878
4915
  /*operatorLanguage*/
4879
4916
  e[53]
4880
4917
  )}.svg`) || g(n, "src", i), g(r, "class", "FlagIcon"), g(s, "class", "LanguageName"), g(t, "class", "LanguageOption");
4881
4918
  },
4882
4919
  m(p, d) {
4883
- j(p, t, d), _(t, r), _(r, n), _(t, o), _(t, s), _(s, u), _(t, l), h || (c = ee(t, "click", f), h = !0);
4920
+ V(p, t, d), _(t, r), _(r, n), _(t, o), _(t, s), _(s, u), _(t, l), h || (c = te(t, "click", f), h = !0);
4884
4921
  },
4885
4922
  p(p, d) {
4886
4923
  e = p, d[0] & /*languagesArray*/
4887
- 1024 && !q(n.src, i = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
4924
+ 1024 && !J(n.src, i = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
4888
4925
  e[20](
4889
4926
  /*operatorLanguage*/
4890
4927
  e[53]
4891
4928
  )}.svg`) && g(n, "src", i), d[0] & /*languagesArray*/
4892
4929
  1024 && a !== (a = /*operatorLanguage*/
4893
- e[53] + "") && me(u, a);
4930
+ e[53] + "") && pe(u, a);
4894
4931
  },
4895
4932
  d(p) {
4896
- p && U(t), h = !1, c();
4933
+ p && D(t), h = !1, c();
4897
4934
  }
4898
4935
  };
4899
4936
  }
4900
- function pr(e) {
4937
+ function Er(e) {
4901
4938
  let t, r = (
4902
4939
  /*lang*/
4903
4940
  e[1].slice(-2) + ""
4904
4941
  ), n, i;
4905
4942
  return {
4906
4943
  c() {
4907
- t = A("option"), n = te(r), t.__value = i = /*lang*/
4908
- e[1], Pt(t, t.__value), t.selected = !0;
4944
+ t = A("option"), n = re(r), t.__value = i = /*lang*/
4945
+ e[1], Ft(t, t.__value), t.selected = !0;
4909
4946
  },
4910
4947
  m(o, s) {
4911
- j(o, t, s), _(t, n);
4948
+ V(o, t, s), _(t, n);
4912
4949
  },
4913
4950
  p(o, s) {
4914
4951
  s[0] & /*languagesArray*/
4915
4952
  1024 && r !== (r = /*lang*/
4916
- o[1].slice(-2) + "") && me(n, r), s[0] & /*languagesArray*/
4953
+ o[1].slice(-2) + "") && pe(n, r), s[0] & /*languagesArray*/
4917
4954
  1024 && i !== (i = /*lang*/
4918
- o[1]) && (t.__value = i, Pt(t, t.__value));
4955
+ o[1]) && (t.__value = i, Ft(t, t.__value));
4919
4956
  },
4920
4957
  d(o) {
4921
- o && U(t);
4958
+ o && D(t);
4922
4959
  }
4923
4960
  };
4924
4961
  }
4925
- function hs(e) {
4962
+ function Es(e) {
4926
4963
  let t, r, n = (
4927
4964
  /*show*/
4928
- e[9] === !0 && lr(e)
4965
+ e[9] === !0 && gr(e)
4929
4966
  );
4930
4967
  return {
4931
4968
  c() {
4932
4969
  t = A("div"), n && n.c();
4933
4970
  },
4934
4971
  m(i, o) {
4935
- j(i, t, o), n && n.m(t, null), e[38](t), r = !0;
4972
+ V(i, t, o), n && n.m(t, null), e[38](t), r = !0;
4936
4973
  },
4937
4974
  p(i, o) {
4938
4975
  /*show*/
4939
4976
  i[9] === !0 ? n ? (n.p(i, o), o[0] & /*show*/
4940
- 512 && xe(n, 1)) : (n = lr(i), n.c(), xe(n, 1), n.m(t, null)) : n && (Vn(), nt(n, 1, 1, () => {
4977
+ 512 && Ee(n, 1)) : (n = gr(i), n.c(), Ee(n, 1), n.m(t, null)) : n && (ri(), ot(n, 1, 1, () => {
4941
4978
  n = null;
4942
- }), Wn());
4979
+ }), ni());
4943
4980
  },
4944
4981
  i(i) {
4945
- r || (xe(n), r = !0);
4982
+ r || (Ee(n), r = !0);
4946
4983
  },
4947
4984
  o(i) {
4948
- nt(n), r = !1;
4985
+ ot(n), r = !1;
4949
4986
  },
4950
4987
  d(i) {
4951
- i && U(t), n && n.d(), e[38](null);
4988
+ i && D(t), n && n.d(), e[38](null);
4952
4989
  }
4953
4990
  };
4954
4991
  }
4955
- let gr = 350;
4956
- function cs(e, t, r) {
4992
+ let wr = 350;
4993
+ function ws(e, t, r) {
4957
4994
  let n;
4958
- vn(e, rs, (m) => r(13, n = m));
4959
- let { $$slots: i = {}, $$scope: o } = t, { menuitemsurl: s = "" } = t, { lang: a = "en" } = t, { activecategory: u = "" } = t, { languageslist: l = "" } = t, { translationurl: h = "" } = t, { clientstyling: c = "" } = t, { clientstylingurl: f = "" } = t, { customlocaleidentifier: p = "" } = t, { countryflaghamburger: d = "" } = t, b, S = window.navigator.userAgent, P = [], C, B = "", L = [], y = !1, T = !1, M = !1, N = !0, x = [], R = !1, v = !1, $ = "", Y;
4960
- const rn = () => {
4995
+ In(e, ms, (m) => r(13, n = m));
4996
+ let { $$slots: i = {}, $$scope: o } = t, { menuitemsurl: s = "" } = t, { lang: a = "en" } = t, { activecategory: u = "" } = t, { languageslist: l = "" } = t, { translationurl: h = "" } = t, { clientstyling: c = "" } = t, { clientstylingurl: f = "" } = t, { customlocaleidentifier: p = "" } = t, { countryflaghamburger: d = "" } = t, b, S = window.navigator.userAgent, P = [], C, B = "", L = [], y = !1, T = !1, M = !1, N = !0, x = [], R = !1, v = !1, G = "", K;
4997
+ const hn = () => {
4961
4998
  fetch(h).then((O) => O.json()).then((O) => {
4962
- Object.keys(O).forEach((G) => {
4963
- rr(G, O[G]);
4999
+ Object.keys(O).forEach((U) => {
5000
+ lr(U, O[U]);
4964
5001
  });
4965
5002
  }).catch((O) => {
4966
5003
  console.log(O);
4967
5004
  });
4968
5005
  };
4969
- Object.keys(nr).forEach((m) => {
4970
- rr(m, nr[m]);
5006
+ Object.keys(hr).forEach((m) => {
5007
+ lr(m, hr[m]);
4971
5008
  });
4972
- const Et = () => {
5009
+ const Ht = () => {
4973
5010
  r(9, M = !1), r(7, y = !1), r(8, T = !1), r(11, v = !1), window.postMessage(
4974
5011
  {
4975
5012
  type: "CloseHamburgerMenu",
@@ -4977,7 +5014,7 @@ function cs(e, t, r) {
4977
5014
  },
4978
5015
  window.location.href
4979
5016
  );
4980
- }, wt = (m) => {
5017
+ }, St = (m) => {
4981
5018
  m.data.type === "OpenHamburgerMenuModal" && (window.postMessage({ type: "DisableScroll" }, window.location.href), r(9, M = !0), setTimeout(
4982
5019
  () => {
4983
5020
  r(7, y = !0);
@@ -4988,33 +5025,34 @@ function cs(e, t, r) {
4988
5025
  r(8, T = !0);
4989
5026
  },
4990
5027
  1500
4991
- ), nn(s));
4992
- }, Te = (m, O) => {
5028
+ ), cn(s));
5029
+ }, Me = (m, O) => {
4993
5030
  r(5, B = m), r(6, L = O || []), typeof gtag == "function" && gtag("event", "ChangeMenu", {
4994
5031
  context: "HamburgerMenu",
4995
5032
  menuItem: `${B}`
4996
5033
  });
4997
- }, Ht = () => {
5034
+ }, Tt = () => {
4998
5035
  let m = P.filter((O) => {
4999
- let G = !1;
5000
- return O.children?.forEach((bn) => {
5001
- bn.path.includes(u) && (G = !0);
5002
- }), G;
5036
+ var Ot;
5037
+ let U = !1;
5038
+ return (Ot = O.children) == null || Ot.forEach((Hn) => {
5039
+ Hn.path.includes(u) && (U = !0);
5040
+ }), U;
5003
5041
  });
5004
- m.length > 0 ? Te(m[0].id, m[0].children) : Te(P[0].id, P[0].children);
5005
- }, nn = (m) => new Promise((O, G) => {
5006
- C && !R ? O(C) : St(m);
5007
- }), St = (m) => {
5042
+ m.length > 0 ? Me(m[0].id, m[0].children) : Me(P[0].id, P[0].children);
5043
+ }, cn = (m) => new Promise((O, U) => {
5044
+ C && !R ? O(C) : Mt(m);
5045
+ }), Mt = (m) => {
5008
5046
  fetch(m).then((O) => O.json()).then(
5009
5047
  (O) => {
5010
- r(4, P = O.filter((G) => G?.type !== "banner")), Ht(), r(28, N = !1), C = O, R = !1;
5048
+ r(4, P = O.filter((U) => (U == null ? void 0 : U.type) !== "banner")), Tt(), r(28, N = !1), C = O, R = !1;
5011
5049
  },
5012
5050
  (O) => {
5013
5051
  console.error(O);
5014
5052
  }
5015
5053
  );
5016
5054
  };
5017
- let Tt = (m) => {
5055
+ let At = (m) => {
5018
5056
  window.postMessage(
5019
5057
  {
5020
5058
  type: "NavigateTo",
@@ -5023,69 +5061,69 @@ function cs(e, t, r) {
5023
5061
  target: m.attrs.target || null
5024
5062
  },
5025
5063
  window.location.href
5026
- ), Et();
5064
+ ), Ht();
5027
5065
  };
5028
- const ze = () => {
5066
+ const Ze = () => {
5029
5067
  R = !0, window.postMessage(
5030
5068
  {
5031
5069
  type: "LanguageChanged",
5032
- selectedLanguage: $
5070
+ selectedLanguage: G
5033
5071
  },
5034
5072
  window.location.href
5035
5073
  );
5036
- }, on = () => {
5037
- is(a), R && St(s), r(10, x = l.replace(/ /g, "").split(",")), r(10, x = x.map((m) => m.toUpperCase())), r(12, $ = a.toUpperCase());
5038
- }, Mt = (m) => {
5039
- r(12, $ = m), r(11, v = !1), ze();
5040
- }, At = () => {
5074
+ }, fn = () => {
5075
+ gs(a), R && Mt(s), r(10, x = l.replace(/ /g, "").split(",")), r(10, x = x.map((m) => m.toUpperCase())), r(12, G = a.toUpperCase());
5076
+ }, Bt = (m) => {
5077
+ r(12, G = m), r(11, v = !1), Ze();
5078
+ }, Pt = () => {
5041
5079
  r(11, v = !v);
5042
- }, sn = (m) => (p && (m = p.includes(m.toLowerCase()) ? p.slice(-2) : m), m == "EN" ? "US" : m.toUpperCase()), an = () => {
5080
+ }, dn = (m) => (p && (m = p.includes(m.toLowerCase()) ? p.slice(-2) : m), m == "EN" ? "US" : m.toUpperCase()), mn = () => {
5043
5081
  let m = document.createElement("style");
5044
- m.innerHTML = c, Y.appendChild(m);
5045
- }, un = () => {
5082
+ m.innerHTML = c, K.appendChild(m);
5083
+ }, pn = () => {
5046
5084
  let m = new URL(f), O = document.createElement("style");
5047
- fetch(m.href).then((G) => G.text()).then((G) => {
5048
- O.innerHTML = G, setTimeout(
5085
+ fetch(m.href).then((U) => U.text()).then((U) => {
5086
+ O.innerHTML = U, setTimeout(
5049
5087
  () => {
5050
- Y.appendChild(O);
5088
+ K.appendChild(O);
5051
5089
  },
5052
5090
  1
5053
5091
  );
5054
5092
  });
5055
5093
  };
5056
- Un(() => (window.addEventListener("message", wt, !1), ns(S), () => {
5057
- window.removeEventListener("message", wt);
5094
+ qn(() => (window.addEventListener("message", St, !1), ps(S), () => {
5095
+ window.removeEventListener("message", St);
5058
5096
  }));
5059
- const ln = (m) => Te(m.id, m.children), hn = (m, O) => {
5060
- Tt(m), O.preventDefault();
5097
+ const gn = (m) => Me(m.id, m.children), bn = (m, O) => {
5098
+ At(m), O.preventDefault();
5061
5099
  };
5062
- function cn() {
5063
- $ = Pn(this), r(12, $), r(10, x);
5100
+ function yn() {
5101
+ G = kn(this), r(12, G), r(10, x);
5064
5102
  }
5065
- const fn = () => ze(), dn = () => At(), mn = (m) => Mt(m);
5066
- function pn(m) {
5067
- Ue[m ? "unshift" : "push"](() => {
5103
+ const _n = () => Ze(), vn = () => Pt(), xn = (m) => Bt(m);
5104
+ function En(m) {
5105
+ De[m ? "unshift" : "push"](() => {
5068
5106
  b = m, r(3, b);
5069
5107
  });
5070
5108
  }
5071
- function gn(m) {
5072
- Ue[m ? "unshift" : "push"](() => {
5073
- Y = m, r(2, Y);
5109
+ function wn(m) {
5110
+ De[m ? "unshift" : "push"](() => {
5111
+ K = m, r(2, K);
5074
5112
  });
5075
5113
  }
5076
5114
  return e.$$set = (m) => {
5077
5115
  "menuitemsurl" in m && r(21, s = m.menuitemsurl), "lang" in m && r(1, a = m.lang), "activecategory" in m && r(22, u = m.activecategory), "languageslist" in m && r(23, l = m.languageslist), "translationurl" in m && r(24, h = m.translationurl), "clientstyling" in m && r(25, c = m.clientstyling), "clientstylingurl" in m && r(26, f = m.clientstylingurl), "customlocaleidentifier" in m && r(27, p = m.customlocaleidentifier), "countryflaghamburger" in m && r(0, d = m.countryflaghamburger), "$$scope" in m && r(29, o = m.$$scope);
5078
5116
  }, e.$$.update = () => {
5079
5117
  e.$$.dirty[0] & /*lang, languageslist*/
5080
- 8388610 && a && l && on(), e.$$.dirty[0] & /*activecategory, isLoading*/
5081
- 272629760 && u && !N && Ht(), e.$$.dirty[0] & /*translationurl*/
5082
- 16777216 && h && rn(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5083
- 33554436 && c && Y && an(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5084
- 67108868 && f && Y && un();
5118
+ 8388610 && a && l && fn(), e.$$.dirty[0] & /*activecategory, isLoading*/
5119
+ 272629760 && u && !N && Tt(), e.$$.dirty[0] & /*translationurl*/
5120
+ 16777216 && h && hn(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5121
+ 33554436 && c && K && mn(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5122
+ 67108868 && f && K && pn();
5085
5123
  }, [
5086
5124
  d,
5087
5125
  a,
5088
- Y,
5126
+ K,
5089
5127
  b,
5090
5128
  P,
5091
5129
  B,
@@ -5095,15 +5133,15 @@ function cs(e, t, r) {
5095
5133
  M,
5096
5134
  x,
5097
5135
  v,
5098
- $,
5136
+ G,
5099
5137
  n,
5100
- Et,
5101
- Te,
5102
- Tt,
5103
- ze,
5104
- Mt,
5138
+ Ht,
5139
+ Me,
5105
5140
  At,
5106
- sn,
5141
+ Ze,
5142
+ Bt,
5143
+ Pt,
5144
+ dn,
5107
5145
  s,
5108
5146
  u,
5109
5147
  l,
@@ -5114,24 +5152,24 @@ function cs(e, t, r) {
5114
5152
  N,
5115
5153
  o,
5116
5154
  i,
5117
- ln,
5118
- hn,
5119
- cn,
5120
- fn,
5121
- dn,
5122
- mn,
5123
- pn,
5124
- gn
5155
+ gn,
5156
+ bn,
5157
+ yn,
5158
+ _n,
5159
+ vn,
5160
+ xn,
5161
+ En,
5162
+ wn
5125
5163
  ];
5126
5164
  }
5127
- class fs extends Yn {
5165
+ class Hs extends hi {
5128
5166
  constructor(t) {
5129
- super(), qn(
5167
+ super(), ui(
5130
5168
  this,
5131
5169
  t,
5132
- cs,
5133
- hs,
5134
- _r,
5170
+ ws,
5171
+ Es,
5172
+ Tr,
5135
5173
  {
5136
5174
  menuitemsurl: 21,
5137
5175
  lang: 1,
@@ -5143,7 +5181,7 @@ class fs extends Yn {
5143
5181
  customlocaleidentifier: 27,
5144
5182
  countryflaghamburger: 0
5145
5183
  },
5146
- os,
5184
+ bs,
5147
5185
  [-1, -1]
5148
5186
  );
5149
5187
  }
@@ -5151,58 +5189,58 @@ class fs extends Yn {
5151
5189
  return this.$$.ctx[21];
5152
5190
  }
5153
5191
  set menuitemsurl(t) {
5154
- this.$$set({ menuitemsurl: t }), V();
5192
+ this.$$set({ menuitemsurl: t }), W();
5155
5193
  }
5156
5194
  get lang() {
5157
5195
  return this.$$.ctx[1];
5158
5196
  }
5159
5197
  set lang(t) {
5160
- this.$$set({ lang: t }), V();
5198
+ this.$$set({ lang: t }), W();
5161
5199
  }
5162
5200
  get activecategory() {
5163
5201
  return this.$$.ctx[22];
5164
5202
  }
5165
5203
  set activecategory(t) {
5166
- this.$$set({ activecategory: t }), V();
5204
+ this.$$set({ activecategory: t }), W();
5167
5205
  }
5168
5206
  get languageslist() {
5169
5207
  return this.$$.ctx[23];
5170
5208
  }
5171
5209
  set languageslist(t) {
5172
- this.$$set({ languageslist: t }), V();
5210
+ this.$$set({ languageslist: t }), W();
5173
5211
  }
5174
5212
  get translationurl() {
5175
5213
  return this.$$.ctx[24];
5176
5214
  }
5177
5215
  set translationurl(t) {
5178
- this.$$set({ translationurl: t }), V();
5216
+ this.$$set({ translationurl: t }), W();
5179
5217
  }
5180
5218
  get clientstyling() {
5181
5219
  return this.$$.ctx[25];
5182
5220
  }
5183
5221
  set clientstyling(t) {
5184
- this.$$set({ clientstyling: t }), V();
5222
+ this.$$set({ clientstyling: t }), W();
5185
5223
  }
5186
5224
  get clientstylingurl() {
5187
5225
  return this.$$.ctx[26];
5188
5226
  }
5189
5227
  set clientstylingurl(t) {
5190
- this.$$set({ clientstylingurl: t }), V();
5228
+ this.$$set({ clientstylingurl: t }), W();
5191
5229
  }
5192
5230
  get customlocaleidentifier() {
5193
5231
  return this.$$.ctx[27];
5194
5232
  }
5195
5233
  set customlocaleidentifier(t) {
5196
- this.$$set({ customlocaleidentifier: t }), V();
5234
+ this.$$set({ customlocaleidentifier: t }), W();
5197
5235
  }
5198
5236
  get countryflaghamburger() {
5199
5237
  return this.$$.ctx[0];
5200
5238
  }
5201
5239
  set countryflaghamburger(t) {
5202
- this.$$set({ countryflaghamburger: t }), V();
5240
+ this.$$set({ countryflaghamburger: t }), W();
5203
5241
  }
5204
5242
  }
5205
- Jn(fs, { menuitemsurl: {}, lang: {}, activecategory: {}, languageslist: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, customlocaleidentifier: {}, countryflaghamburger: {} }, ["close"], [], !0);
5243
+ li(Hs, { menuitemsurl: {}, lang: {}, activecategory: {}, languageslist: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, customlocaleidentifier: {}, countryflaghamburger: {} }, ["close"], [], !0);
5206
5244
  export {
5207
- fs as C
5245
+ Hs as default
5208
5246
  };