@everymatrix/casino-header-controller 1.54.0 → 1.54.4

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