@everymatrix/casino-header-controller-nd 1.77.20 → 1.77.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (26) hide show
  1. package/components/{CasinoHamburgerMenuNd-BiMAIa4x.js → CasinoHamburgerMenuNd-B95UqhF0.js} +1139 -1096
  2. package/components/CasinoHamburgerMenuNd-BSgGKd1p.cjs +18 -0
  3. package/components/{CasinoHamburgerMenuNd-BwwDUASL.js → CasinoHamburgerMenuNd-D2rDBXRC.js} +1095 -1052
  4. package/components/{CasinoHeaderControllerNd-qH3DSLcB.js → CasinoHeaderControllerNd-D_6QwglO.js} +4 -4
  5. package/components/{CasinoHeaderControllerNd-DJBbG1ZP.js → CasinoHeaderControllerNd-DaXlyQ3T.js} +4 -4
  6. package/components/{CasinoHeaderControllerNd-CyFlG-Ym.cjs → CasinoHeaderControllerNd-DvuAXxDe.cjs} +1 -1
  7. package/components/{PlayerAccountBalanceModalNd-BuJN80t9.js → PlayerAccountBalanceModalNd-BZiC3P0w.js} +1 -1
  8. package/components/{PlayerAccountBalanceModalNd-CrJr-hqv.cjs → PlayerAccountBalanceModalNd-DiVN7ES9.cjs} +1 -1
  9. package/components/{PlayerAccountBalanceModalNd-WGrFQw0p.js → PlayerAccountBalanceModalNd-Mpa84E-2.js} +1 -1
  10. package/components/{PlayerDeposit-B-9t-DAW.js → PlayerDeposit-CwI-AmXb.js} +1 -1
  11. package/components/{PlayerDeposit-D6kr_HtJ.js → PlayerDeposit-DZfRt0Ri.js} +1 -1
  12. package/components/{PlayerDeposit-C-63LBmn.cjs → PlayerDeposit-e8kgx1D-.cjs} +1 -1
  13. package/es2015/casino-header-controller-nd.cjs +1 -1
  14. package/es2015/casino-header-controller-nd.js +1 -1
  15. package/esnext/casino-header-controller-nd.js +1 -1
  16. package/lazy/{casino-hamburger-menu-nd-4sa4PCMG.cjs → casino-hamburger-menu-nd-8MZlajCA.cjs} +1 -1
  17. package/lazy/{casino-hamburger-menu-nd-DAzNXkVd.js → casino-hamburger-menu-nd-BbP8jLtX.js} +1 -1
  18. package/lazy/{casino-hamburger-menu-nd-CsLaohSd.js → casino-hamburger-menu-nd-CzLenRrm.js} +1 -1
  19. package/lazy/{player-account-balance-modal-nd-BNk-eSwg.cjs → player-account-balance-modal-nd-BrKG_8ZX.cjs} +1 -1
  20. package/lazy/{player-account-balance-modal-nd-DdqVejOu.js → player-account-balance-modal-nd-CNT-zby0.js} +1 -1
  21. package/lazy/{player-account-balance-modal-nd-KQ3NT55n.js → player-account-balance-modal-nd-FDVEwwbm.js} +1 -1
  22. package/lazy/{player-deposit-Bio2dA6d.js → player-deposit-BTOu0X8z.js} +1 -1
  23. package/lazy/{player-deposit-Ch1vaT3-.cjs → player-deposit-ChyZJUaj.cjs} +1 -1
  24. package/lazy/{player-deposit-Ojz7d7L6.js → player-deposit-Dr_55qit.js} +1 -1
  25. package/package.json +1 -1
  26. package/components/CasinoHamburgerMenuNd-B7siv7CV.cjs +0 -18
@@ -1,6 +1,6 @@
1
1
  function $() {
2
2
  }
3
- function an(e, t) {
3
+ function hn(e, t) {
4
4
  for (const r in t)
5
5
  e[r] = t[r];
6
6
  return (
@@ -8,29 +8,29 @@ function an(e, t) {
8
8
  e
9
9
  );
10
10
  }
11
- function hr(e) {
11
+ function gr(e) {
12
12
  return e();
13
13
  }
14
- function St() {
14
+ function At() {
15
15
  return /* @__PURE__ */ Object.create(null);
16
16
  }
17
- function de(e) {
18
- e.forEach(hr);
17
+ function fe(e) {
18
+ e.forEach(gr);
19
19
  }
20
- function mt(e) {
20
+ function vt(e) {
21
21
  return typeof e == "function";
22
22
  }
23
- function cr(e, t) {
23
+ function mr(e, t) {
24
24
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
25
25
  }
26
26
  let Te;
27
27
  function K(e, t) {
28
28
  return e === t ? !0 : (Te || (Te = document.createElement("a")), Te.href = t, e === Te.href);
29
29
  }
30
- function sn(e) {
30
+ function fn(e) {
31
31
  return Object.keys(e).length === 0;
32
32
  }
33
- function fr(e, ...t) {
33
+ function br(e, ...t) {
34
34
  if (e == null) {
35
35
  for (const n of t)
36
36
  n(void 0);
@@ -39,19 +39,19 @@ function fr(e, ...t) {
39
39
  const r = e.subscribe(...t);
40
40
  return r.unsubscribe ? () => r.unsubscribe() : r;
41
41
  }
42
- function ln(e, t, r) {
43
- e.$$.on_destroy.push(fr(t, r));
42
+ function dn(e, t, r) {
43
+ e.$$.on_destroy.push(br(t, r));
44
44
  }
45
- function Zo(e, t, r, n) {
45
+ function Ko(e, t, r, n) {
46
46
  if (e) {
47
- const i = dr(e, t, r, n);
47
+ const i = yr(e, t, r, n);
48
48
  return e[0](i);
49
49
  }
50
50
  }
51
- function dr(e, t, r, n) {
52
- return e[1] && n ? an(r.ctx.slice(), e[1](n(t))) : r.ctx;
51
+ function yr(e, t, r, n) {
52
+ return e[1] && n ? hn(r.ctx.slice(), e[1](n(t))) : r.ctx;
53
53
  }
54
- function Qo(e, t, r, n) {
54
+ function ea(e, t, r, n) {
55
55
  if (e[2] && n) {
56
56
  const i = e[2](n(r));
57
57
  if (t.dirty === void 0)
@@ -66,13 +66,13 @@ function Qo(e, t, r, n) {
66
66
  }
67
67
  return t.dirty;
68
68
  }
69
- function qo(e, t, r, n, i, o) {
69
+ function ta(e, t, r, n, i, o) {
70
70
  if (i) {
71
- const a = dr(t, r, n, o);
71
+ const a = yr(t, r, n, o);
72
72
  e.p(a, i);
73
73
  }
74
74
  }
75
- function Jo(e) {
75
+ function ra(e) {
76
76
  if (e.ctx.length > 32) {
77
77
  const t = [], r = e.ctx.length / 32;
78
78
  for (let n = 0; n < r; n++)
@@ -84,14 +84,14 @@ function Jo(e) {
84
84
  function b(e, t) {
85
85
  e.appendChild(t);
86
86
  }
87
- function un(e, t, r) {
88
- const n = hn(e);
87
+ function pn(e, t, r) {
88
+ const n = gn(e);
89
89
  if (!n.getElementById(t)) {
90
90
  const i = v("style");
91
- i.id = t, i.textContent = r, cn(n, i);
91
+ i.id = t, i.textContent = r, mn(n, i);
92
92
  }
93
93
  }
94
- function hn(e) {
94
+ function gn(e) {
95
95
  if (!e)
96
96
  return document;
97
97
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -101,7 +101,7 @@ function hn(e) {
101
101
  t
102
102
  ) : e.ownerDocument;
103
103
  }
104
- function cn(e, t) {
104
+ function mn(e, t) {
105
105
  return b(
106
106
  /** @type {Document} */
107
107
  e.head || e,
@@ -114,14 +114,14 @@ function F(e, t, r) {
114
114
  function I(e) {
115
115
  e.parentNode && e.parentNode.removeChild(e);
116
116
  }
117
- function we(e, t) {
117
+ function Ee(e, t) {
118
118
  for (let r = 0; r < e.length; r += 1)
119
119
  e[r] && e[r].d(t);
120
120
  }
121
121
  function v(e) {
122
122
  return document.createElement(e);
123
123
  }
124
- function Ht(e) {
124
+ function Pt(e) {
125
125
  return document.createElementNS("http://www.w3.org/2000/svg", e);
126
126
  }
127
127
  function ee(e) {
@@ -130,13 +130,13 @@ function ee(e) {
130
130
  function U() {
131
131
  return ee(" ");
132
132
  }
133
- function mr() {
133
+ function vr() {
134
134
  return ee("");
135
135
  }
136
136
  function te(e, t, r, n) {
137
137
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
138
138
  }
139
- function Yo(e) {
139
+ function na(e) {
140
140
  return function(t) {
141
141
  return t.preventDefault(), e.call(this, t);
142
142
  };
@@ -144,24 +144,24 @@ function Yo(e) {
144
144
  function g(e, t, r) {
145
145
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
146
146
  }
147
- function Ko(e, t, r) {
147
+ function ia(e, t, r) {
148
148
  const n = t.toLowerCase();
149
149
  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);
150
150
  }
151
- function fn(e) {
151
+ function bn(e) {
152
152
  return Array.from(e.childNodes);
153
153
  }
154
- function me(e, t) {
154
+ function de(e, t) {
155
155
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
156
156
  t);
157
157
  }
158
- function Tt(e, t) {
158
+ function Lt(e, t) {
159
159
  e.value = t ?? "";
160
160
  }
161
- function ea(e, t, r, n) {
161
+ function oa(e, t, r, n) {
162
162
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
163
163
  }
164
- function Ot(e, t, r) {
164
+ function Bt(e, t, r) {
165
165
  for (let n = 0; n < e.options.length; n += 1) {
166
166
  const i = e.options[n];
167
167
  if (i.__value === t) {
@@ -171,11 +171,11 @@ function Ot(e, t, r) {
171
171
  }
172
172
  (!r || t !== void 0) && (e.selectedIndex = -1);
173
173
  }
174
- function dn(e) {
174
+ function yn(e) {
175
175
  const t = e.querySelector(":checked");
176
176
  return t && t.__value;
177
177
  }
178
- function mn(e) {
178
+ function vn(e) {
179
179
  const t = {};
180
180
  return e.childNodes.forEach(
181
181
  /** @param {Element} node */
@@ -184,142 +184,142 @@ function mn(e) {
184
184
  }
185
185
  ), t;
186
186
  }
187
- let _e;
188
- function ve(e) {
189
- _e = e;
187
+ let ve;
188
+ function ye(e) {
189
+ ve = e;
190
190
  }
191
- function gn() {
192
- if (!_e)
191
+ function _n() {
192
+ if (!ve)
193
193
  throw new Error("Function called outside component initialization");
194
- return _e;
194
+ return ve;
195
195
  }
196
- function pn(e) {
197
- gn().$$.on_mount.push(e);
196
+ function xn(e) {
197
+ _n().$$.on_mount.push(e);
198
198
  }
199
- function ta(e, t) {
199
+ function aa(e, t) {
200
200
  const r = e.$$.callbacks[t.type];
201
201
  r && r.slice().forEach((n) => n.call(this, t));
202
202
  }
203
203
  const ae = [], Ce = [];
204
204
  let se = [];
205
- const Mt = [], bn = /* @__PURE__ */ Promise.resolve();
206
- let et = !1;
207
- function yn() {
208
- et || (et = !0, bn.then(k));
205
+ const It = [], En = /* @__PURE__ */ Promise.resolve();
206
+ let nt = !1;
207
+ function wn() {
208
+ nt || (nt = !0, En.then(k));
209
209
  }
210
210
  function Ne(e) {
211
211
  se.push(e);
212
212
  }
213
- const ze = /* @__PURE__ */ new Set();
213
+ const Qe = /* @__PURE__ */ new Set();
214
214
  let ie = 0;
215
215
  function k() {
216
216
  if (ie !== 0)
217
217
  return;
218
- const e = _e;
218
+ const e = ve;
219
219
  do {
220
220
  try {
221
221
  for (; ie < ae.length; ) {
222
222
  const t = ae[ie];
223
- ie++, ve(t), vn(t.$$);
223
+ ie++, ye(t), Sn(t.$$);
224
224
  }
225
225
  } catch (t) {
226
226
  throw ae.length = 0, ie = 0, t;
227
227
  }
228
- for (ve(null), ae.length = 0, ie = 0; Ce.length; )
228
+ for (ye(null), ae.length = 0, ie = 0; Ce.length; )
229
229
  Ce.pop()();
230
230
  for (let t = 0; t < se.length; t += 1) {
231
231
  const r = se[t];
232
- ze.has(r) || (ze.add(r), r());
232
+ Qe.has(r) || (Qe.add(r), r());
233
233
  }
234
234
  se.length = 0;
235
235
  } while (ae.length);
236
- for (; Mt.length; )
237
- Mt.pop()();
238
- et = !1, ze.clear(), ve(e);
236
+ for (; It.length; )
237
+ It.pop()();
238
+ nt = !1, Qe.clear(), ye(e);
239
239
  }
240
- function vn(e) {
240
+ function Sn(e) {
241
241
  if (e.fragment !== null) {
242
- e.update(), de(e.before_update);
242
+ e.update(), fe(e.before_update);
243
243
  const t = e.dirty;
244
244
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ne);
245
245
  }
246
246
  }
247
- function _n(e) {
247
+ function Hn(e) {
248
248
  const t = [], r = [];
249
249
  se.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), se = t;
250
250
  }
251
251
  const Ae = /* @__PURE__ */ new Set();
252
- let xn;
253
- function En(e, t) {
252
+ let Tn;
253
+ function On(e, t) {
254
254
  e && e.i && (Ae.delete(e), e.i(t));
255
255
  }
256
- function ra(e, t, r, n) {
256
+ function sa(e, t, r, n) {
257
257
  if (e && e.o) {
258
258
  if (Ae.has(e))
259
259
  return;
260
- Ae.add(e), xn.c.push(() => {
260
+ Ae.add(e), Tn.c.push(() => {
261
261
  Ae.delete(e);
262
262
  }), e.o(t);
263
263
  }
264
264
  }
265
- function Q(e) {
265
+ function q(e) {
266
266
  return e?.length !== void 0 ? e : Array.from(e);
267
267
  }
268
- function wn(e, t, r) {
268
+ function Mn(e, t, r) {
269
269
  const { fragment: n, after_update: i } = e.$$;
270
270
  n && n.m(t, r), Ne(() => {
271
- const o = e.$$.on_mount.map(hr).filter(mt);
272
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : de(o), e.$$.on_mount = [];
271
+ const o = e.$$.on_mount.map(gr).filter(vt);
272
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : fe(o), e.$$.on_mount = [];
273
273
  }), i.forEach(Ne);
274
274
  }
275
- function Sn(e, t) {
275
+ function An(e, t) {
276
276
  const r = e.$$;
277
- r.fragment !== null && (_n(r.after_update), de(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
277
+ r.fragment !== null && (Hn(r.after_update), fe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
278
278
  }
279
- function Hn(e, t) {
280
- e.$$.dirty[0] === -1 && (ae.push(e), yn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
279
+ function Pn(e, t) {
280
+ e.$$.dirty[0] === -1 && (ae.push(e), wn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
281
281
  }
282
- function Tn(e, t, r, n, i, o, a = null, s = [-1]) {
283
- const l = _e;
284
- ve(e);
285
- const u = e.$$ = {
282
+ function Ln(e, t, r, n, i, o, a = null, s = [-1]) {
283
+ const u = ve;
284
+ ye(e);
285
+ const l = e.$$ = {
286
286
  fragment: null,
287
287
  ctx: [],
288
288
  // state
289
289
  props: o,
290
290
  update: $,
291
291
  not_equal: i,
292
- bound: St(),
292
+ bound: At(),
293
293
  // lifecycle
294
294
  on_mount: [],
295
295
  on_destroy: [],
296
296
  on_disconnect: [],
297
297
  before_update: [],
298
298
  after_update: [],
299
- context: new Map(t.context || (l ? l.$$.context : [])),
299
+ context: new Map(t.context || (u ? u.$$.context : [])),
300
300
  // everything else
301
- callbacks: St(),
301
+ callbacks: At(),
302
302
  dirty: s,
303
303
  skip_bound: !1,
304
- root: t.target || l.$$.root
304
+ root: t.target || u.$$.root
305
305
  };
306
- a && a(u.root);
307
- let h = !1;
308
- if (u.ctx = r ? r(e, t.props || {}, (c, f, ...m) => {
309
- const p = m.length ? m[0] : f;
310
- return u.ctx && i(u.ctx[c], u.ctx[c] = p) && (!u.skip_bound && u.bound[c] && u.bound[c](p), h && Hn(e, c)), f;
311
- }) : [], u.update(), h = !0, de(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
306
+ a && a(l.root);
307
+ let c = !1;
308
+ if (l.ctx = r ? r(e, t.props || {}, (h, f, ...p) => {
309
+ const m = p.length ? p[0] : f;
310
+ return l.ctx && i(l.ctx[h], l.ctx[h] = m) && (!l.skip_bound && l.bound[h] && l.bound[h](m), c && Pn(e, h)), f;
311
+ }) : [], l.update(), c = !0, fe(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
312
312
  if (t.hydrate) {
313
- const c = fn(t.target);
314
- u.fragment && u.fragment.l(c), c.forEach(I);
313
+ const h = bn(t.target);
314
+ l.fragment && l.fragment.l(h), h.forEach(I);
315
315
  } else
316
- u.fragment && u.fragment.c();
317
- t.intro && En(e.$$.fragment), wn(e, t.target, t.anchor), k();
316
+ l.fragment && l.fragment.c();
317
+ t.intro && On(e.$$.fragment), Mn(e, t.target, t.anchor), k();
318
318
  }
319
- ve(l);
319
+ ye(u);
320
320
  }
321
- let gr;
322
- typeof HTMLElement == "function" && (gr = class extends HTMLElement {
321
+ let _r;
322
+ typeof HTMLElement == "function" && (_r = class extends HTMLElement {
323
323
  /** The Svelte component constructor */
324
324
  $$ctor;
325
325
  /** Slots */
@@ -367,23 +367,23 @@ typeof HTMLElement == "function" && (gr = class extends HTMLElement {
367
367
  * @param {HTMLElement} target
368
368
  * @param {HTMLElement} [anchor]
369
369
  */
370
- m: function(l, u) {
371
- F(l, o, u);
370
+ m: function(u, l) {
371
+ F(u, o, l);
372
372
  },
373
- d: function(l) {
374
- l && I(o);
373
+ d: function(u) {
374
+ u && I(o);
375
375
  }
376
376
  };
377
377
  };
378
378
  };
379
379
  if (await Promise.resolve(), !this.$$cn || this.$$c)
380
380
  return;
381
- const t = {}, r = mn(this);
381
+ const t = {}, r = vn(this);
382
382
  for (const i of this.$$s)
383
383
  i in r && (t[i] = [e(i)]);
384
384
  for (const i of this.attributes) {
385
385
  const o = this.$$g_p(i.name);
386
- o in this.$$d || (this.$$d[o] = Le(o, i.value, this.$$p_d, "toProp"));
386
+ o in this.$$d || (this.$$d[o] = Pe(o, i.value, this.$$p_d, "toProp"));
387
387
  }
388
388
  for (const i in this.$$p_d)
389
389
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -401,7 +401,7 @@ typeof HTMLElement == "function" && (gr = class extends HTMLElement {
401
401
  this.$$r = !0;
402
402
  for (const i in this.$$p_d)
403
403
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
404
- const o = Le(
404
+ const o = Pe(
405
405
  i,
406
406
  this.$$d[i],
407
407
  this.$$p_d,
@@ -423,7 +423,7 @@ typeof HTMLElement == "function" && (gr = class extends HTMLElement {
423
423
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
424
424
  // and setting attributes through setAttribute etc, this is helpful
425
425
  attributeChangedCallback(e, t, r) {
426
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = Le(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
426
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = Pe(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
427
427
  }
428
428
  disconnectedCallback() {
429
429
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -436,7 +436,7 @@ typeof HTMLElement == "function" && (gr = class extends HTMLElement {
436
436
  ) || e;
437
437
  }
438
438
  });
439
- function Le(e, t, r, n) {
439
+ function Pe(e, t, r, n) {
440
440
  const i = r[e]?.type;
441
441
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
442
442
  return t;
@@ -465,8 +465,8 @@ function Le(e, t, r, n) {
465
465
  return t;
466
466
  }
467
467
  }
468
- function On(e, t, r, n, i, o) {
469
- let a = class extends gr {
468
+ function Bn(e, t, r, n, i, o) {
469
+ let a = class extends _r {
470
470
  constructor() {
471
471
  super(e, r, i), this.$$p_d = t;
472
472
  }
@@ -481,8 +481,8 @@ function On(e, t, r, n, i, o) {
481
481
  get() {
482
482
  return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
483
483
  },
484
- set(l) {
485
- l = Le(s, l, t), this.$$d[s] = l, this.$$c?.$set({ [s]: l });
484
+ set(u) {
485
+ u = Pe(s, u, t), this.$$d[s] = u, this.$$c?.$set({ [s]: u });
486
486
  }
487
487
  });
488
488
  }), n.forEach((s) => {
@@ -494,7 +494,7 @@ function On(e, t, r, n, i, o) {
494
494
  }), e.element = /** @type {any} */
495
495
  a, a;
496
496
  }
497
- class Mn {
497
+ class In {
498
498
  /**
499
499
  * ### PRIVATE API
500
500
  *
@@ -513,7 +513,7 @@ class Mn {
513
513
  $$set = void 0;
514
514
  /** @returns {void} */
515
515
  $destroy() {
516
- Sn(this, 1), this.$destroy = $;
516
+ An(this, 1), this.$destroy = $;
517
517
  }
518
518
  /**
519
519
  * @template {Extract<keyof Events, string>} K
@@ -522,7 +522,7 @@ class Mn {
522
522
  * @returns {() => void}
523
523
  */
524
524
  $on(t, r) {
525
- if (!mt(r))
525
+ if (!vt(r))
526
526
  return $;
527
527
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
528
528
  return n.push(r), () => {
@@ -535,11 +535,11 @@ class Mn {
535
535
  * @returns {void}
536
536
  */
537
537
  $set(t) {
538
- this.$$set && !sn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
538
+ this.$$set && !fn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
539
539
  }
540
540
  }
541
- const An = "4";
542
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(An);
541
+ const Cn = "4";
542
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Cn);
543
543
  /*! *****************************************************************************
544
544
  Copyright (c) Microsoft Corporation.
545
545
 
@@ -554,43 +554,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
554
554
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
555
555
  PERFORMANCE OF THIS SOFTWARE.
556
556
  ***************************************************************************** */
557
- var tt = function(e, t) {
558
- return tt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
557
+ var it = function(e, t) {
558
+ return it = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
559
559
  r.__proto__ = n;
560
560
  } || function(r, n) {
561
561
  for (var i in n)
562
562
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
563
- }, tt(e, t);
563
+ }, it(e, t);
564
564
  };
565
- function q(e, t) {
565
+ function we(e, t) {
566
566
  if (typeof t != "function" && t !== null)
567
567
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
568
- tt(e, t);
568
+ it(e, t);
569
569
  function r() {
570
570
  this.constructor = e;
571
571
  }
572
572
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
573
573
  }
574
- var w = function() {
575
- return w = Object.assign || function(t) {
576
- for (var r, n = 1, i = arguments.length; n < i; n++) {
577
- r = arguments[n];
578
- for (var o in r)
579
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
580
- }
581
- return t;
582
- }, w.apply(this, arguments);
583
- };
584
- function Ln(e, t) {
585
- var r = {};
586
- for (var n in e)
587
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
588
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
589
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
590
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
591
- return r;
592
- }
593
- function rt(e) {
574
+ function ot(e) {
594
575
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
595
576
  if (r)
596
577
  return r.call(e);
@@ -602,7 +583,7 @@ function rt(e) {
602
583
  };
603
584
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
604
585
  }
605
- function nt(e, t) {
586
+ function at(e, t) {
606
587
  var r = typeof Symbol == "function" && e[Symbol.iterator];
607
588
  if (!r)
608
589
  return e;
@@ -622,22 +603,22 @@ function nt(e, t) {
622
603
  }
623
604
  return o;
624
605
  }
625
- function le(e, t, r) {
626
- if (r || arguments.length === 2)
606
+ function st(e, t, r) {
607
+ if (arguments.length === 2)
627
608
  for (var n = 0, i = t.length, o; n < i; n++)
628
609
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
629
610
  return e.concat(o || t);
630
611
  }
631
- function Z(e) {
612
+ function Q(e) {
632
613
  return typeof e == "function";
633
614
  }
634
- function pr(e) {
615
+ function xr(e) {
635
616
  var t = function(n) {
636
617
  Error.call(n), n.stack = new Error().stack;
637
618
  }, r = e(t);
638
619
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
639
620
  }
640
- var Ze = pr(function(e) {
621
+ var qe = xr(function(e) {
641
622
  return function(r) {
642
623
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
643
624
  ` + r.map(function(n, i) {
@@ -646,13 +627,13 @@ var Ze = pr(function(e) {
646
627
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
647
628
  };
648
629
  });
649
- function it(e, t) {
630
+ function ut(e, t) {
650
631
  if (e) {
651
632
  var r = e.indexOf(t);
652
633
  0 <= r && e.splice(r, 1);
653
634
  }
654
635
  }
655
- var Fe = function() {
636
+ var ke = function() {
656
637
  function e(t) {
657
638
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
658
639
  }
@@ -664,15 +645,15 @@ var Fe = function() {
664
645
  if (a)
665
646
  if (this._parentage = null, Array.isArray(a))
666
647
  try {
667
- for (var s = rt(a), l = s.next(); !l.done; l = s.next()) {
668
- var u = l.value;
669
- u.remove(this);
648
+ for (var s = ot(a), u = s.next(); !u.done; u = s.next()) {
649
+ var l = u.value;
650
+ l.remove(this);
670
651
  }
671
652
  } catch (y) {
672
653
  t = { error: y };
673
654
  } finally {
674
655
  try {
675
- l && !l.done && (r = s.return) && r.call(s);
656
+ u && !u.done && (r = s.return) && r.call(s);
676
657
  } finally {
677
658
  if (t)
678
659
  throw t.error;
@@ -680,30 +661,30 @@ var Fe = function() {
680
661
  }
681
662
  else
682
663
  a.remove(this);
683
- var h = this.initialTeardown;
684
- if (Z(h))
664
+ var c = this.initialTeardown;
665
+ if (Q(c))
685
666
  try {
686
- h();
667
+ c();
687
668
  } catch (y) {
688
- o = y instanceof Ze ? y.errors : [y];
669
+ o = y instanceof qe ? y.errors : [y];
689
670
  }
690
- var c = this._finalizers;
691
- if (c) {
671
+ var h = this._finalizers;
672
+ if (h) {
692
673
  this._finalizers = null;
693
674
  try {
694
- for (var f = rt(c), m = f.next(); !m.done; m = f.next()) {
695
- var p = m.value;
675
+ for (var f = ot(h), p = f.next(); !p.done; p = f.next()) {
676
+ var m = p.value;
696
677
  try {
697
- At(p);
678
+ Ct(m);
698
679
  } catch (y) {
699
- o = o ?? [], y instanceof Ze ? o = le(le([], nt(o)), nt(y.errors)) : o.push(y);
680
+ o = o ?? [], y instanceof qe ? o = st(st([], at(o)), at(y.errors)) : o.push(y);
700
681
  }
701
682
  }
702
683
  } catch (y) {
703
684
  n = { error: y };
704
685
  } finally {
705
686
  try {
706
- m && !m.done && (i = f.return) && i.call(f);
687
+ p && !p.done && (i = f.return) && i.call(f);
707
688
  } finally {
708
689
  if (n)
709
690
  throw n.error;
@@ -711,13 +692,13 @@ var Fe = function() {
711
692
  }
712
693
  }
713
694
  if (o)
714
- throw new Ze(o);
695
+ throw new qe(o);
715
696
  }
716
697
  }, e.prototype.add = function(t) {
717
698
  var r;
718
699
  if (t && t !== this)
719
700
  if (this.closed)
720
- At(t);
701
+ Ct(t);
721
702
  else {
722
703
  if (t instanceof e) {
723
704
  if (t.closed || t._hasParent(this))
@@ -734,52 +715,52 @@ var Fe = function() {
734
715
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
735
716
  }, e.prototype._removeParent = function(t) {
736
717
  var r = this._parentage;
737
- r === t ? this._parentage = null : Array.isArray(r) && it(r, t);
718
+ r === t ? this._parentage = null : Array.isArray(r) && ut(r, t);
738
719
  }, e.prototype.remove = function(t) {
739
720
  var r = this._finalizers;
740
- r && it(r, t), t instanceof e && t._removeParent(this);
721
+ r && ut(r, t), t instanceof e && t._removeParent(this);
741
722
  }, e.EMPTY = function() {
742
723
  var t = new e();
743
724
  return t.closed = !0, t;
744
725
  }(), e;
745
- }(), br = Fe.EMPTY;
746
- function yr(e) {
747
- return e instanceof Fe || e && "closed" in e && Z(e.remove) && Z(e.add) && Z(e.unsubscribe);
726
+ }(), Er = ke.EMPTY;
727
+ function wr(e) {
728
+ return e instanceof ke || e && "closed" in e && Q(e.remove) && Q(e.add) && Q(e.unsubscribe);
748
729
  }
749
- function At(e) {
750
- Z(e) ? e() : e.unsubscribe();
730
+ function Ct(e) {
731
+ Q(e) ? e() : e.unsubscribe();
751
732
  }
752
- var Pn = {
733
+ var Nn = {
753
734
  Promise: void 0
754
- }, Bn = {
735
+ }, Rn = {
755
736
  setTimeout: function(e, t) {
756
737
  for (var r = [], n = 2; n < arguments.length; n++)
757
738
  r[n - 2] = arguments[n];
758
- return setTimeout.apply(void 0, le([e, t], nt(r)));
739
+ return setTimeout.apply(void 0, st([e, t], at(r)));
759
740
  },
760
741
  clearTimeout: function(e) {
761
742
  return clearTimeout(e);
762
743
  },
763
744
  delegate: void 0
764
745
  };
765
- function In(e) {
766
- Bn.setTimeout(function() {
746
+ function Un(e) {
747
+ Rn.setTimeout(function() {
767
748
  throw e;
768
749
  });
769
750
  }
770
- function Lt() {
751
+ function Nt() {
771
752
  }
772
- function Pe(e) {
753
+ function Le(e) {
773
754
  e();
774
755
  }
775
- var vr = function(e) {
776
- q(t, e);
756
+ var Sr = function(e) {
757
+ we(t, e);
777
758
  function t(r) {
778
759
  var n = e.call(this) || this;
779
- return n.isStopped = !1, r ? (n.destination = r, yr(r) && r.add(n)) : n.destination = Rn, n;
760
+ return n.isStopped = !1, r ? (n.destination = r, wr(r) && r.add(n)) : n.destination = Dn, n;
780
761
  }
781
762
  return t.create = function(r, n, i) {
782
- return new ot(r, n, i);
763
+ return new lt(r, n, i);
783
764
  }, t.prototype.next = function(r) {
784
765
  this.isStopped || this._next(r);
785
766
  }, t.prototype.error = function(r) {
@@ -803,7 +784,7 @@ var vr = function(e) {
803
784
  this.unsubscribe();
804
785
  }
805
786
  }, t;
806
- }(Fe), Cn = function() {
787
+ }(ke), Fn = function() {
807
788
  function e(t) {
808
789
  this.partialObserver = t;
809
790
  }
@@ -834,43 +815,43 @@ var vr = function(e) {
834
815
  Oe(r);
835
816
  }
836
817
  }, e;
837
- }(), ot = function(e) {
838
- q(t, e);
818
+ }(), lt = function(e) {
819
+ we(t, e);
839
820
  function t(r, n, i) {
840
821
  var o = e.call(this) || this, a;
841
- return Z(r) || !r ? a = {
822
+ return Q(r) || !r ? a = {
842
823
  next: r ?? void 0,
843
824
  error: n ?? void 0,
844
825
  complete: i ?? void 0
845
- } : a = r, o.destination = new Cn(a), o;
826
+ } : a = r, o.destination = new Fn(a), o;
846
827
  }
847
828
  return t;
848
- }(vr);
829
+ }(Sr);
849
830
  function Oe(e) {
850
- In(e);
831
+ Un(e);
851
832
  }
852
- function Nn(e) {
833
+ function kn(e) {
853
834
  throw e;
854
835
  }
855
- var Rn = {
836
+ var Dn = {
856
837
  closed: !0,
857
- next: Lt,
858
- error: Nn,
859
- complete: Lt
860
- }, Un = function() {
838
+ next: Nt,
839
+ error: kn,
840
+ complete: Nt
841
+ }, Gn = function() {
861
842
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
862
843
  }();
863
- function Fn(e) {
844
+ function $n(e) {
864
845
  return e;
865
846
  }
866
- function kn(e) {
867
- return e.length === 0 ? Fn : e.length === 1 ? e[0] : function(r) {
847
+ function jn(e) {
848
+ return e.length === 0 ? $n : e.length === 1 ? e[0] : function(r) {
868
849
  return e.reduce(function(n, i) {
869
850
  return i(n);
870
851
  }, r);
871
852
  };
872
853
  }
873
- var Pt = function() {
854
+ var Rt = function() {
874
855
  function e(t) {
875
856
  t && (this._subscribe = t);
876
857
  }
@@ -878,10 +859,10 @@ var Pt = function() {
878
859
  var r = new e();
879
860
  return r.source = this, r.operator = t, r;
880
861
  }, e.prototype.subscribe = function(t, r, n) {
881
- var i = this, o = Gn(t) ? t : new ot(t, r, n);
882
- return Pe(function() {
883
- var a = i, s = a.operator, l = a.source;
884
- o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
862
+ var i = this, o = Vn(t) ? t : new lt(t, r, n);
863
+ return Le(function() {
864
+ var a = i, s = a.operator, u = a.source;
865
+ o.add(s ? s.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
885
866
  }), o;
886
867
  }, e.prototype._trySubscribe = function(t) {
887
868
  try {
@@ -891,13 +872,13 @@ var Pt = function() {
891
872
  }
892
873
  }, e.prototype.forEach = function(t, r) {
893
874
  var n = this;
894
- return r = Bt(r), new r(function(i, o) {
895
- var a = new ot({
875
+ return r = Ut(r), new r(function(i, o) {
876
+ var a = new lt({
896
877
  next: function(s) {
897
878
  try {
898
879
  t(s);
899
- } catch (l) {
900
- o(l), a.unsubscribe();
880
+ } catch (u) {
881
+ o(u), a.unsubscribe();
901
882
  }
902
883
  },
903
884
  error: o,
@@ -908,15 +889,15 @@ var Pt = function() {
908
889
  }, e.prototype._subscribe = function(t) {
909
890
  var r;
910
891
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
911
- }, e.prototype[Un] = function() {
892
+ }, e.prototype[Gn] = function() {
912
893
  return this;
913
894
  }, e.prototype.pipe = function() {
914
895
  for (var t = [], r = 0; r < arguments.length; r++)
915
896
  t[r] = arguments[r];
916
- return kn(t)(this);
897
+ return jn(t)(this);
917
898
  }, e.prototype.toPromise = function(t) {
918
899
  var r = this;
919
- return t = Bt(t), new t(function(n, i) {
900
+ return t = Ut(t), new t(function(n, i) {
920
901
  var o;
921
902
  r.subscribe(function(a) {
922
903
  return o = a;
@@ -930,45 +911,45 @@ var Pt = function() {
930
911
  return new e(t);
931
912
  }, e;
932
913
  }();
933
- function Bt(e) {
914
+ function Ut(e) {
934
915
  var t;
935
- return (t = e ?? Pn.Promise) !== null && t !== void 0 ? t : Promise;
916
+ return (t = e ?? Nn.Promise) !== null && t !== void 0 ? t : Promise;
936
917
  }
937
- function Dn(e) {
938
- return e && Z(e.next) && Z(e.error) && Z(e.complete);
918
+ function Wn(e) {
919
+ return e && Q(e.next) && Q(e.error) && Q(e.complete);
939
920
  }
940
- function Gn(e) {
941
- return e && e instanceof vr || Dn(e) && yr(e);
921
+ function Vn(e) {
922
+ return e && e instanceof Sr || Wn(e) && wr(e);
942
923
  }
943
- var $n = pr(function(e) {
924
+ var Xn = xr(function(e) {
944
925
  return function() {
945
926
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
946
927
  };
947
- }), _r = function(e) {
948
- q(t, e);
928
+ }), Hr = function(e) {
929
+ we(t, e);
949
930
  function t() {
950
931
  var r = e.call(this) || this;
951
932
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
952
933
  }
953
934
  return t.prototype.lift = function(r) {
954
- var n = new It(this, this);
935
+ var n = new Ft(this, this);
955
936
  return n.operator = r, n;
956
937
  }, t.prototype._throwIfClosed = function() {
957
938
  if (this.closed)
958
- throw new $n();
939
+ throw new Xn();
959
940
  }, t.prototype.next = function(r) {
960
941
  var n = this;
961
- Pe(function() {
942
+ Le(function() {
962
943
  var i, o;
963
944
  if (n._throwIfClosed(), !n.isStopped) {
964
945
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
965
946
  try {
966
- for (var a = rt(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
967
- var l = s.value;
968
- l.next(r);
947
+ for (var a = ot(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
948
+ var u = s.value;
949
+ u.next(r);
969
950
  }
970
- } catch (u) {
971
- i = { error: u };
951
+ } catch (l) {
952
+ i = { error: l };
972
953
  } finally {
973
954
  try {
974
955
  s && !s.done && (o = a.return) && o.call(a);
@@ -981,7 +962,7 @@ var $n = pr(function(e) {
981
962
  });
982
963
  }, t.prototype.error = function(r) {
983
964
  var n = this;
984
- Pe(function() {
965
+ Le(function() {
985
966
  if (n._throwIfClosed(), !n.isStopped) {
986
967
  n.hasError = n.isStopped = !0, n.thrownError = r;
987
968
  for (var i = n.observers; i.length; )
@@ -990,7 +971,7 @@ var $n = pr(function(e) {
990
971
  });
991
972
  }, t.prototype.complete = function() {
992
973
  var r = this;
993
- Pe(function() {
974
+ Le(function() {
994
975
  if (r._throwIfClosed(), !r.isStopped) {
995
976
  r.isStopped = !0;
996
977
  for (var n = r.observers; n.length; )
@@ -1012,20 +993,20 @@ var $n = pr(function(e) {
1012
993
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1013
994
  }, t.prototype._innerSubscribe = function(r) {
1014
995
  var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
1015
- return o || a ? br : (this.currentObservers = null, s.push(r), new Fe(function() {
1016
- n.currentObservers = null, it(s, r);
996
+ return o || a ? Er : (this.currentObservers = null, s.push(r), new ke(function() {
997
+ n.currentObservers = null, ut(s, r);
1017
998
  }));
1018
999
  }, t.prototype._checkFinalizedStatuses = function(r) {
1019
1000
  var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
1020
1001
  i ? r.error(o) : a && r.complete();
1021
1002
  }, t.prototype.asObservable = function() {
1022
- var r = new Pt();
1003
+ var r = new Rt();
1023
1004
  return r.source = this, r;
1024
1005
  }, t.create = function(r, n) {
1025
- return new It(r, n);
1006
+ return new Ft(r, n);
1026
1007
  }, t;
1027
- }(Pt), It = function(e) {
1028
- q(t, e);
1008
+ }(Rt), Ft = function(e) {
1009
+ we(t, e);
1029
1010
  function t(r, n) {
1030
1011
  var i = e.call(this) || this;
1031
1012
  return i.destination = r, i.source = n, i;
@@ -1041,60 +1022,60 @@ var $n = pr(function(e) {
1041
1022
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1042
1023
  }, t.prototype._subscribe = function(r) {
1043
1024
  var n, i;
1044
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : br;
1025
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Er;
1045
1026
  }, t;
1046
- }(_r), xr = {
1027
+ }(Hr), Tr = {
1047
1028
  now: function() {
1048
- return (xr.delegate || Date).now();
1029
+ return (Tr.delegate || Date).now();
1049
1030
  },
1050
1031
  delegate: void 0
1051
- }, jn = function(e) {
1052
- q(t, e);
1032
+ }, zn = function(e) {
1033
+ we(t, e);
1053
1034
  function t(r, n, i) {
1054
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = xr);
1035
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Tr);
1055
1036
  var o = e.call(this) || this;
1056
1037
  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;
1057
1038
  }
1058
1039
  return t.prototype.next = function(r) {
1059
- var n = this, i = n.isStopped, o = n._buffer, a = n._infiniteTimeWindow, s = n._timestampProvider, l = n._windowTime;
1060
- i || (o.push(r), !a && o.push(s.now() + l)), this._trimBuffer(), e.prototype.next.call(this, r);
1040
+ var n = this, i = n.isStopped, o = n._buffer, a = n._infiniteTimeWindow, s = n._timestampProvider, u = n._windowTime;
1041
+ i || (o.push(r), !a && o.push(s.now() + u)), this._trimBuffer(), e.prototype.next.call(this, r);
1061
1042
  }, t.prototype._subscribe = function(r) {
1062
1043
  this._throwIfClosed(), this._trimBuffer();
1063
- for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, a = i._buffer, s = a.slice(), l = 0; l < s.length && !r.closed; l += o ? 1 : 2)
1064
- r.next(s[l]);
1044
+ for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, a = i._buffer, s = a.slice(), u = 0; u < s.length && !r.closed; u += o ? 1 : 2)
1045
+ r.next(s[u]);
1065
1046
  return this._checkFinalizedStatuses(r), n;
1066
1047
  }, t.prototype._trimBuffer = function() {
1067
1048
  var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, a = r._infiniteTimeWindow, s = (a ? 1 : 2) * n;
1068
1049
  if (n < 1 / 0 && s < o.length && o.splice(0, o.length - s), !a) {
1069
- for (var l = i.now(), u = 0, h = 1; h < o.length && o[h] <= l; h += 2)
1070
- u = h;
1071
- u && o.splice(0, u + 1);
1050
+ for (var u = i.now(), l = 0, c = 1; c < o.length && o[c] <= u; c += 2)
1051
+ l = c;
1052
+ l && o.splice(0, l + 1);
1072
1053
  }
1073
1054
  }, t;
1074
- }(_r);
1075
- const Ct = [], Nt = {}, Wn = (e, t = 0) => {
1076
- if (Ct.indexOf(e) == -1) {
1077
- const r = new jn(t);
1078
- Nt[e] = r, Ct.push(e);
1055
+ }(Hr);
1056
+ const kt = [], Dt = {}, Zn = (e, t = 0) => {
1057
+ if (kt.indexOf(e) == -1) {
1058
+ const r = new zn(t);
1059
+ Dt[e] = r, kt.push(e);
1079
1060
  }
1080
- return Nt[e];
1061
+ return Dt[e];
1081
1062
  }, oe = [];
1082
- function Vn(e, t) {
1063
+ function Qn(e, t) {
1083
1064
  return {
1084
- subscribe: ke(e, t).subscribe
1065
+ subscribe: De(e, t).subscribe
1085
1066
  };
1086
1067
  }
1087
- function ke(e, t = $) {
1068
+ function De(e, t = $) {
1088
1069
  let r;
1089
1070
  const n = /* @__PURE__ */ new Set();
1090
1071
  function i(s) {
1091
- if (cr(e, s) && (e = s, r)) {
1092
- const l = !oe.length;
1093
- for (const u of n)
1094
- u[1](), oe.push(u, e);
1095
- if (l) {
1096
- for (let u = 0; u < oe.length; u += 2)
1097
- oe[u][0](oe[u + 1]);
1072
+ if (mr(e, s) && (e = s, r)) {
1073
+ const u = !oe.length;
1074
+ for (const l of n)
1075
+ l[1](), oe.push(l, e);
1076
+ if (u) {
1077
+ for (let l = 0; l < oe.length; l += 2)
1078
+ oe[l][0](oe[l + 1]);
1098
1079
  oe.length = 0;
1099
1080
  }
1100
1081
  }
@@ -1102,110 +1083,110 @@ function ke(e, t = $) {
1102
1083
  function o(s) {
1103
1084
  i(s(e));
1104
1085
  }
1105
- function a(s, l = $) {
1106
- const u = [s, l];
1107
- return n.add(u), n.size === 1 && (r = t(i, o) || $), s(e), () => {
1108
- n.delete(u), n.size === 0 && r && (r(), r = null);
1086
+ function a(s, u = $) {
1087
+ const l = [s, u];
1088
+ return n.add(l), n.size === 1 && (r = t(i, o) || $), s(e), () => {
1089
+ n.delete(l), n.size === 0 && r && (r(), r = null);
1109
1090
  };
1110
1091
  }
1111
1092
  return { set: i, update: o, subscribe: a };
1112
1093
  }
1113
- function ge(e, t, r) {
1094
+ function pe(e, t, r) {
1114
1095
  const n = !Array.isArray(e), i = n ? [e] : e;
1115
1096
  if (!i.every(Boolean))
1116
1097
  throw new Error("derived() expects stores as input, got a falsy value");
1117
1098
  const o = t.length < 2;
1118
- return Vn(r, (a, s) => {
1119
- let l = !1;
1120
- const u = [];
1121
- let h = 0, c = $;
1099
+ return Qn(r, (a, s) => {
1100
+ let u = !1;
1101
+ const l = [];
1102
+ let c = 0, h = $;
1122
1103
  const f = () => {
1123
- if (h)
1104
+ if (c)
1124
1105
  return;
1125
- c();
1126
- const p = t(n ? u[0] : u, a, s);
1127
- o ? a(p) : c = mt(p) ? p : $;
1128
- }, m = i.map(
1129
- (p, y) => fr(
1130
- p,
1131
- (S) => {
1132
- u[y] = S, h &= ~(1 << y), l && f();
1106
+ h();
1107
+ const m = t(n ? l[0] : l, a, s);
1108
+ o ? a(m) : h = vt(m) ? m : $;
1109
+ }, p = i.map(
1110
+ (m, y) => br(
1111
+ m,
1112
+ (w) => {
1113
+ l[y] = w, c &= ~(1 << y), u && f();
1133
1114
  },
1134
1115
  () => {
1135
- h |= 1 << y;
1116
+ c |= 1 << y;
1136
1117
  }
1137
1118
  )
1138
1119
  );
1139
- return l = !0, f(), function() {
1140
- de(m), c(), l = !1;
1120
+ return u = !0, f(), function() {
1121
+ fe(p), h(), u = !1;
1141
1122
  };
1142
1123
  });
1143
1124
  }
1144
- var na = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1145
- function Xn(e) {
1125
+ var ua = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1126
+ function qn(e) {
1146
1127
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1147
1128
  }
1148
- var zn = function(t) {
1149
- return Zn(t) && !Qn(t);
1129
+ var Jn = function(t) {
1130
+ return Yn(t) && !Kn(t);
1150
1131
  };
1151
- function Zn(e) {
1132
+ function Yn(e) {
1152
1133
  return !!e && typeof e == "object";
1153
1134
  }
1154
- function Qn(e) {
1135
+ function Kn(e) {
1155
1136
  var t = Object.prototype.toString.call(e);
1156
- return t === "[object RegExp]" || t === "[object Date]" || Yn(e);
1137
+ return t === "[object RegExp]" || t === "[object Date]" || ri(e);
1157
1138
  }
1158
- var qn = typeof Symbol == "function" && Symbol.for, Jn = qn ? Symbol.for("react.element") : 60103;
1159
- function Yn(e) {
1160
- return e.$$typeof === Jn;
1139
+ var ei = typeof Symbol == "function" && Symbol.for, ti = ei ? Symbol.for("react.element") : 60103;
1140
+ function ri(e) {
1141
+ return e.$$typeof === ti;
1161
1142
  }
1162
- function Kn(e) {
1143
+ function ni(e) {
1163
1144
  return Array.isArray(e) ? [] : {};
1164
1145
  }
1165
- function xe(e, t) {
1166
- return t.clone !== !1 && t.isMergeableObject(e) ? ue(Kn(e), e, t) : e;
1146
+ function _e(e, t) {
1147
+ return t.clone !== !1 && t.isMergeableObject(e) ? ue(ni(e), e, t) : e;
1167
1148
  }
1168
- function ei(e, t, r) {
1149
+ function ii(e, t, r) {
1169
1150
  return e.concat(t).map(function(n) {
1170
- return xe(n, r);
1151
+ return _e(n, r);
1171
1152
  });
1172
1153
  }
1173
- function ti(e, t) {
1154
+ function oi(e, t) {
1174
1155
  if (!t.customMerge)
1175
1156
  return ue;
1176
1157
  var r = t.customMerge(e);
1177
1158
  return typeof r == "function" ? r : ue;
1178
1159
  }
1179
- function ri(e) {
1160
+ function ai(e) {
1180
1161
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1181
1162
  return Object.propertyIsEnumerable.call(e, t);
1182
1163
  }) : [];
1183
1164
  }
1184
- function Rt(e) {
1185
- return Object.keys(e).concat(ri(e));
1165
+ function Gt(e) {
1166
+ return Object.keys(e).concat(ai(e));
1186
1167
  }
1187
- function Er(e, t) {
1168
+ function Or(e, t) {
1188
1169
  try {
1189
1170
  return t in e;
1190
1171
  } catch {
1191
1172
  return !1;
1192
1173
  }
1193
1174
  }
1194
- function ni(e, t) {
1195
- return Er(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1175
+ function si(e, t) {
1176
+ return Or(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1196
1177
  }
1197
- function ii(e, t, r) {
1178
+ function ui(e, t, r) {
1198
1179
  var n = {};
1199
- return r.isMergeableObject(e) && Rt(e).forEach(function(i) {
1200
- n[i] = xe(e[i], r);
1201
- }), Rt(t).forEach(function(i) {
1202
- ni(e, i) || (Er(e, i) && r.isMergeableObject(t[i]) ? n[i] = ti(i, r)(e[i], t[i], r) : n[i] = xe(t[i], r));
1180
+ return r.isMergeableObject(e) && Gt(e).forEach(function(i) {
1181
+ n[i] = _e(e[i], r);
1182
+ }), Gt(t).forEach(function(i) {
1183
+ si(e, i) || (Or(e, i) && r.isMergeableObject(t[i]) ? n[i] = oi(i, r)(e[i], t[i], r) : n[i] = _e(t[i], r));
1203
1184
  }), n;
1204
1185
  }
1205
1186
  function ue(e, t, r) {
1206
- r = r || {}, r.arrayMerge = r.arrayMerge || ei, r.isMergeableObject = r.isMergeableObject || zn, r.cloneUnlessOtherwiseSpecified = xe;
1187
+ r = r || {}, r.arrayMerge = r.arrayMerge || ii, r.isMergeableObject = r.isMergeableObject || Jn, r.cloneUnlessOtherwiseSpecified = _e;
1207
1188
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1208
- return o ? n ? r.arrayMerge(e, t, r) : ii(e, t, r) : xe(t, r);
1189
+ return o ? n ? r.arrayMerge(e, t, r) : ui(e, t, r) : _e(t, r);
1209
1190
  }
1210
1191
  ue.all = function(t, r) {
1211
1192
  if (!Array.isArray(t))
@@ -1214,39 +1195,81 @@ ue.all = function(t, r) {
1214
1195
  return ue(n, i, r);
1215
1196
  }, {});
1216
1197
  };
1217
- var oi = ue, ai = oi;
1218
- const si = /* @__PURE__ */ Xn(ai);
1219
- function Qe(e, t) {
1220
- var r = t && t.cache ? t.cache : mi, n = t && t.serializer ? t.serializer : fi, i = t && t.strategy ? t.strategy : hi;
1198
+ var li = ue, ci = li;
1199
+ const hi = /* @__PURE__ */ qn(ci);
1200
+ var ct = function(e, t) {
1201
+ return ct = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1202
+ r.__proto__ = n;
1203
+ } || function(r, n) {
1204
+ for (var i in n)
1205
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1206
+ }, ct(e, t);
1207
+ };
1208
+ function Ge(e, t) {
1209
+ if (typeof t != "function" && t !== null)
1210
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1211
+ ct(e, t);
1212
+ function r() {
1213
+ this.constructor = e;
1214
+ }
1215
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1216
+ }
1217
+ var X = function() {
1218
+ return X = Object.assign || function(t) {
1219
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1220
+ r = arguments[n];
1221
+ for (var o in r)
1222
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1223
+ }
1224
+ return t;
1225
+ }, X.apply(this, arguments);
1226
+ };
1227
+ function fi(e, t) {
1228
+ var r = {};
1229
+ for (var n in e)
1230
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1231
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
1232
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1233
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1234
+ return r;
1235
+ }
1236
+ function Je(e, t, r) {
1237
+ if (r || arguments.length === 2)
1238
+ for (var n = 0, i = t.length, o; n < i; n++)
1239
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1240
+ return e.concat(o || Array.prototype.slice.call(t));
1241
+ }
1242
+ function Ye(e, t) {
1243
+ var r = t && t.cache ? t.cache : vi, n = t && t.serializer ? t.serializer : bi, i = t && t.strategy ? t.strategy : gi;
1221
1244
  return i(e, {
1222
1245
  cache: r,
1223
1246
  serializer: n
1224
1247
  });
1225
1248
  }
1226
- function li(e) {
1249
+ function di(e) {
1227
1250
  return e == null || typeof e == "number" || typeof e == "boolean";
1228
1251
  }
1229
- function ui(e, t, r, n) {
1230
- var i = li(n) ? n : r(n), o = t.get(i);
1252
+ function pi(e, t, r, n) {
1253
+ var i = di(n) ? n : r(n), o = t.get(i);
1231
1254
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1232
1255
  }
1233
- function wr(e, t, r) {
1256
+ function Mr(e, t, r) {
1234
1257
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1235
1258
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1236
1259
  }
1237
- function Sr(e, t, r, n, i) {
1260
+ function Ar(e, t, r, n, i) {
1238
1261
  return r.bind(t, e, n, i);
1239
1262
  }
1240
- function hi(e, t) {
1241
- var r = e.length === 1 ? ui : wr;
1242
- return Sr(e, this, r, t.cache.create(), t.serializer);
1263
+ function gi(e, t) {
1264
+ var r = e.length === 1 ? pi : Mr;
1265
+ return Ar(e, this, r, t.cache.create(), t.serializer);
1243
1266
  }
1244
- function ci(e, t) {
1245
- return Sr(e, this, wr, t.cache.create(), t.serializer);
1267
+ function mi(e, t) {
1268
+ return Ar(e, this, Mr, t.cache.create(), t.serializer);
1246
1269
  }
1247
- var fi = function() {
1270
+ var bi = function() {
1248
1271
  return JSON.stringify(arguments);
1249
- }, di = (
1272
+ }, yi = (
1250
1273
  /** @class */
1251
1274
  function() {
1252
1275
  function e() {
@@ -1258,61 +1281,71 @@ var fi = function() {
1258
1281
  this.cache[t] = r;
1259
1282
  }, e;
1260
1283
  }()
1261
- ), mi = {
1284
+ ), vi = {
1262
1285
  create: function() {
1263
- return new di();
1286
+ return new yi();
1264
1287
  }
1265
- }, qe = {
1266
- variadic: ci
1267
- }, _;
1288
+ }, Ke = {
1289
+ variadic: mi
1290
+ }, Re = function() {
1291
+ return Re = Object.assign || function(t) {
1292
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1293
+ r = arguments[n];
1294
+ for (var o in r)
1295
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1296
+ }
1297
+ return t;
1298
+ }, Re.apply(this, arguments);
1299
+ };
1300
+ var _;
1268
1301
  (function(e) {
1269
1302
  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";
1270
1303
  })(_ || (_ = {}));
1271
- var O;
1304
+ var T;
1272
1305
  (function(e) {
1273
1306
  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";
1274
- })(O || (O = {}));
1275
- var he;
1307
+ })(T || (T = {}));
1308
+ var le;
1276
1309
  (function(e) {
1277
1310
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1278
- })(he || (he = {}));
1279
- function Ut(e) {
1280
- return e.type === O.literal;
1311
+ })(le || (le = {}));
1312
+ function $t(e) {
1313
+ return e.type === T.literal;
1281
1314
  }
1282
- function gi(e) {
1283
- return e.type === O.argument;
1315
+ function _i(e) {
1316
+ return e.type === T.argument;
1284
1317
  }
1285
- function Hr(e) {
1286
- return e.type === O.number;
1318
+ function Pr(e) {
1319
+ return e.type === T.number;
1287
1320
  }
1288
- function Tr(e) {
1289
- return e.type === O.date;
1321
+ function Lr(e) {
1322
+ return e.type === T.date;
1290
1323
  }
1291
- function Or(e) {
1292
- return e.type === O.time;
1324
+ function Br(e) {
1325
+ return e.type === T.time;
1293
1326
  }
1294
- function Mr(e) {
1295
- return e.type === O.select;
1327
+ function Ir(e) {
1328
+ return e.type === T.select;
1296
1329
  }
1297
- function Ar(e) {
1298
- return e.type === O.plural;
1330
+ function Cr(e) {
1331
+ return e.type === T.plural;
1299
1332
  }
1300
- function pi(e) {
1301
- return e.type === O.pound;
1333
+ function xi(e) {
1334
+ return e.type === T.pound;
1302
1335
  }
1303
- function Lr(e) {
1304
- return e.type === O.tag;
1336
+ function Nr(e) {
1337
+ return e.type === T.tag;
1305
1338
  }
1306
- function Pr(e) {
1307
- return !!(e && typeof e == "object" && e.type === he.number);
1339
+ function Rr(e) {
1340
+ return !!(e && typeof e == "object" && e.type === le.number);
1308
1341
  }
1309
- function at(e) {
1310
- return !!(e && typeof e == "object" && e.type === he.dateTime);
1342
+ function ht(e) {
1343
+ return !!(e && typeof e == "object" && e.type === le.dateTime);
1311
1344
  }
1312
- var Br = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, bi = /(?:[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;
1313
- function yi(e) {
1345
+ var Ur = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Ei = /(?:[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;
1346
+ function wi(e) {
1314
1347
  var t = {};
1315
- return e.replace(bi, function(r) {
1348
+ return e.replace(Ei, function(r) {
1316
1349
  var n = r.length;
1317
1350
  switch (r[0]) {
1318
1351
  case "G":
@@ -1401,36 +1434,46 @@ function yi(e) {
1401
1434
  return "";
1402
1435
  }), t;
1403
1436
  }
1404
- var vi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1405
- function _i(e) {
1437
+ var A = function() {
1438
+ return A = Object.assign || function(t) {
1439
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1440
+ r = arguments[n];
1441
+ for (var o in r)
1442
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1443
+ }
1444
+ return t;
1445
+ }, A.apply(this, arguments);
1446
+ };
1447
+ var Si = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1448
+ function Hi(e) {
1406
1449
  if (e.length === 0)
1407
1450
  throw new Error("Number skeleton cannot be empty");
1408
- for (var t = e.split(vi).filter(function(f) {
1451
+ for (var t = e.split(Si).filter(function(f) {
1409
1452
  return f.length > 0;
1410
1453
  }), r = [], n = 0, i = t; n < i.length; n++) {
1411
1454
  var o = i[n], a = o.split("/");
1412
1455
  if (a.length === 0)
1413
1456
  throw new Error("Invalid number skeleton");
1414
- for (var s = a[0], l = a.slice(1), u = 0, h = l; u < h.length; u++) {
1415
- var c = h[u];
1416
- if (c.length === 0)
1457
+ for (var s = a[0], u = a.slice(1), l = 0, c = u; l < c.length; l++) {
1458
+ var h = c[l];
1459
+ if (h.length === 0)
1417
1460
  throw new Error("Invalid number skeleton");
1418
1461
  }
1419
- r.push({ stem: s, options: l });
1462
+ r.push({ stem: s, options: u });
1420
1463
  }
1421
1464
  return r;
1422
1465
  }
1423
- function xi(e) {
1466
+ function Ti(e) {
1424
1467
  return e.replace(/^(.*?)-/, "");
1425
1468
  }
1426
- var Ft = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Ir = /^(@+)?(\+|#+)?[rs]?$/g, Ei = /(\*)(0+)|(#+)(0+)|(0+)/g, Cr = /^(0+)$/;
1427
- function kt(e) {
1469
+ var jt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Fr = /^(@+)?(\+|#+)?[rs]?$/g, Oi = /(\*)(0+)|(#+)(0+)|(0+)/g, kr = /^(0+)$/;
1470
+ function Wt(e) {
1428
1471
  var t = {};
1429
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Ir, function(r, n, i) {
1472
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Fr, function(r, n, i) {
1430
1473
  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)), "";
1431
1474
  }), t;
1432
1475
  }
1433
- function Nr(e) {
1476
+ function Dr(e) {
1434
1477
  switch (e) {
1435
1478
  case "sign-auto":
1436
1479
  return {
@@ -1470,7 +1513,7 @@ function Nr(e) {
1470
1513
  };
1471
1514
  }
1472
1515
  }
1473
- function wi(e) {
1516
+ function Mi(e) {
1474
1517
  var t;
1475
1518
  if (e[0] === "E" && e[1] === "E" ? (t = {
1476
1519
  notation: "engineering"
@@ -1478,17 +1521,17 @@ function wi(e) {
1478
1521
  notation: "scientific"
1479
1522
  }, e = e.slice(1)), t) {
1480
1523
  var r = e.slice(0, 2);
1481
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Cr.test(e))
1524
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !kr.test(e))
1482
1525
  throw new Error("Malformed concise eng/scientific notation");
1483
1526
  t.minimumIntegerDigits = e.length;
1484
1527
  }
1485
1528
  return t;
1486
1529
  }
1487
- function Dt(e) {
1488
- var t = {}, r = Nr(e);
1530
+ function Vt(e) {
1531
+ var t = {}, r = Dr(e);
1489
1532
  return r || t;
1490
1533
  }
1491
- function Si(e) {
1534
+ function Ai(e) {
1492
1535
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1493
1536
  var i = n[r];
1494
1537
  switch (i.stem) {
@@ -1512,7 +1555,7 @@ function Si(e) {
1512
1555
  continue;
1513
1556
  case "measure-unit":
1514
1557
  case "unit":
1515
- t.style = "unit", t.unit = xi(i.options[0]);
1558
+ t.style = "unit", t.unit = Ti(i.options[0]);
1516
1559
  continue;
1517
1560
  case "compact-short":
1518
1561
  case "K":
@@ -1523,13 +1566,13 @@ function Si(e) {
1523
1566
  t.notation = "compact", t.compactDisplay = "long";
1524
1567
  continue;
1525
1568
  case "scientific":
1526
- t = w(w(w({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1527
- return w(w({}, l), Dt(u));
1569
+ t = A(A(A({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
1570
+ return A(A({}, u), Vt(l));
1528
1571
  }, {}));
1529
1572
  continue;
1530
1573
  case "engineering":
1531
- t = w(w(w({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1532
- return w(w({}, l), Dt(u));
1574
+ t = A(A(A({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1575
+ return A(A({}, u), Vt(l));
1533
1576
  }, {}));
1534
1577
  continue;
1535
1578
  case "notation-simple":
@@ -1574,41 +1617,41 @@ function Si(e) {
1574
1617
  case "integer-width":
1575
1618
  if (i.options.length > 1)
1576
1619
  throw new RangeError("integer-width stems only accept a single optional option");
1577
- i.options[0].replace(Ei, function(l, u, h, c, f, m) {
1578
- if (u)
1579
- t.minimumIntegerDigits = h.length;
1620
+ i.options[0].replace(Oi, function(u, l, c, h, f, p) {
1621
+ if (l)
1622
+ t.minimumIntegerDigits = c.length;
1580
1623
  else {
1581
- if (c && f)
1624
+ if (h && f)
1582
1625
  throw new Error("We currently do not support maximum integer digits");
1583
- if (m)
1626
+ if (p)
1584
1627
  throw new Error("We currently do not support exact integer digits");
1585
1628
  }
1586
1629
  return "";
1587
1630
  });
1588
1631
  continue;
1589
1632
  }
1590
- if (Cr.test(i.stem)) {
1633
+ if (kr.test(i.stem)) {
1591
1634
  t.minimumIntegerDigits = i.stem.length;
1592
1635
  continue;
1593
1636
  }
1594
- if (Ft.test(i.stem)) {
1637
+ if (jt.test(i.stem)) {
1595
1638
  if (i.options.length > 1)
1596
1639
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1597
- i.stem.replace(Ft, function(l, u, h, c, f, m) {
1598
- return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && m ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + m.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1640
+ i.stem.replace(jt, function(u, l, c, h, f, p) {
1641
+ return c === "*" ? t.minimumFractionDigits = l.length : h && h[0] === "#" ? t.maximumFractionDigits = h.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1599
1642
  });
1600
1643
  var o = i.options[0];
1601
- o === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = w(w({}, t), kt(o)));
1644
+ o === "w" ? t = A(A({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = A(A({}, t), Wt(o)));
1602
1645
  continue;
1603
1646
  }
1604
- if (Ir.test(i.stem)) {
1605
- t = w(w({}, t), kt(i.stem));
1647
+ if (Fr.test(i.stem)) {
1648
+ t = A(A({}, t), Wt(i.stem));
1606
1649
  continue;
1607
1650
  }
1608
- var a = Nr(i.stem);
1609
- a && (t = w(w({}, t), a));
1610
- var s = wi(i.stem);
1611
- s && (t = w(w({}, t), s));
1651
+ var a = Dr(i.stem);
1652
+ a && (t = A(A({}, t), a));
1653
+ var s = Mi(i.stem);
1654
+ s && (t = A(A({}, t), s));
1612
1655
  }
1613
1656
  return t;
1614
1657
  }
@@ -3027,23 +3070,23 @@ var Me = {
3027
3070
  "h"
3028
3071
  ]
3029
3072
  };
3030
- function Hi(e, t) {
3073
+ function Pi(e, t) {
3031
3074
  for (var r = "", n = 0; n < e.length; n++) {
3032
3075
  var i = e.charAt(n);
3033
3076
  if (i === "j") {
3034
3077
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3035
3078
  o++, n++;
3036
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Ti(t);
3037
- for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
3038
- r += l;
3079
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = Li(t);
3080
+ for ((l == "H" || l == "k") && (s = 0); s-- > 0; )
3081
+ r += u;
3039
3082
  for (; a-- > 0; )
3040
- r = u + r;
3083
+ r = l + r;
3041
3084
  } else
3042
3085
  i === "J" ? r += "H" : r += i;
3043
3086
  }
3044
3087
  return r;
3045
3088
  }
3046
- function Ti(e) {
3089
+ function Li(e) {
3047
3090
  var t = e.hourCycle;
3048
3091
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3049
3092
  e.hourCycles && // @ts-ignore
@@ -3065,20 +3108,20 @@ function Ti(e) {
3065
3108
  var i = Me[n || ""] || Me[r || ""] || Me["".concat(r, "-001")] || Me["001"];
3066
3109
  return i[0];
3067
3110
  }
3068
- var Je, Oi = new RegExp("^".concat(Br.source, "*")), Mi = new RegExp("".concat(Br.source, "*$"));
3111
+ var et, Bi = new RegExp("^".concat(Ur.source, "*")), Ii = new RegExp("".concat(Ur.source, "*$"));
3069
3112
  function E(e, t) {
3070
3113
  return { start: e, end: t };
3071
3114
  }
3072
- var Ai = !!String.prototype.startsWith && "_a".startsWith("a", 1), Li = !!String.fromCodePoint, Pi = !!Object.fromEntries, Bi = !!String.prototype.codePointAt, Ii = !!String.prototype.trimStart, Ci = !!String.prototype.trimEnd, Ni = !!Number.isSafeInteger, Ri = Ni ? Number.isSafeInteger : function(e) {
3115
+ var Ci = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ni = !!String.fromCodePoint, Ri = !!Object.fromEntries, Ui = !!String.prototype.codePointAt, Fi = !!String.prototype.trimStart, ki = !!String.prototype.trimEnd, Di = !!Number.isSafeInteger, Gi = Di ? Number.isSafeInteger : function(e) {
3073
3116
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3074
- }, st = !0;
3117
+ }, ft = !0;
3075
3118
  try {
3076
- var Ui = Ur("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3077
- st = ((Je = Ui.exec("a")) === null || Je === void 0 ? void 0 : Je[0]) === "a";
3119
+ var $i = $r("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3120
+ ft = ((et = $i.exec("a")) === null || et === void 0 ? void 0 : et[0]) === "a";
3078
3121
  } catch {
3079
- st = !1;
3122
+ ft = !1;
3080
3123
  }
3081
- var Gt = Ai ? (
3124
+ var Xt = Ci ? (
3082
3125
  // Native
3083
3126
  function(t, r, n) {
3084
3127
  return t.startsWith(r, n);
@@ -3088,7 +3131,7 @@ var Gt = Ai ? (
3088
3131
  function(t, r, n) {
3089
3132
  return t.slice(n, n + r.length) === r;
3090
3133
  }
3091
- ), lt = Li ? String.fromCodePoint : (
3134
+ ), dt = Ni ? String.fromCodePoint : (
3092
3135
  // IE11
3093
3136
  function() {
3094
3137
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3100,9 +3143,9 @@ var Gt = Ai ? (
3100
3143
  }
3101
3144
  return n;
3102
3145
  }
3103
- ), $t = (
3146
+ ), zt = (
3104
3147
  // native
3105
- Pi ? Object.fromEntries : (
3148
+ Ri ? Object.fromEntries : (
3106
3149
  // Ponyfill
3107
3150
  function(t) {
3108
3151
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3112,7 +3155,7 @@ var Gt = Ai ? (
3112
3155
  return r;
3113
3156
  }
3114
3157
  )
3115
- ), Rr = Bi ? (
3158
+ ), Gr = Ui ? (
3116
3159
  // Native
3117
3160
  function(t, r) {
3118
3161
  return t.codePointAt(r);
@@ -3126,7 +3169,7 @@ var Gt = Ai ? (
3126
3169
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3127
3170
  }
3128
3171
  }
3129
- ), Fi = Ii ? (
3172
+ ), ji = Fi ? (
3130
3173
  // Native
3131
3174
  function(t) {
3132
3175
  return t.trimStart();
@@ -3134,9 +3177,9 @@ var Gt = Ai ? (
3134
3177
  ) : (
3135
3178
  // Ponyfill
3136
3179
  function(t) {
3137
- return t.replace(Oi, "");
3180
+ return t.replace(Bi, "");
3138
3181
  }
3139
- ), ki = Ci ? (
3182
+ ), Wi = ki ? (
3140
3183
  // Native
3141
3184
  function(t) {
3142
3185
  return t.trimEnd();
@@ -3144,32 +3187,32 @@ var Gt = Ai ? (
3144
3187
  ) : (
3145
3188
  // Ponyfill
3146
3189
  function(t) {
3147
- return t.replace(Mi, "");
3190
+ return t.replace(Ii, "");
3148
3191
  }
3149
3192
  );
3150
- function Ur(e, t) {
3193
+ function $r(e, t) {
3151
3194
  return new RegExp(e, t);
3152
3195
  }
3153
- var ut;
3154
- if (st) {
3155
- var jt = Ur("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3156
- ut = function(t, r) {
3196
+ var pt;
3197
+ if (ft) {
3198
+ var Zt = $r("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3199
+ pt = function(t, r) {
3157
3200
  var n;
3158
- jt.lastIndex = r;
3159
- var i = jt.exec(t);
3201
+ Zt.lastIndex = r;
3202
+ var i = Zt.exec(t);
3160
3203
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3161
3204
  };
3162
3205
  } else
3163
- ut = function(t, r) {
3206
+ pt = function(t, r) {
3164
3207
  for (var n = []; ; ) {
3165
- var i = Rr(t, r);
3166
- if (i === void 0 || Fr(i) || ji(i))
3208
+ var i = Gr(t, r);
3209
+ if (i === void 0 || jr(i) || Zi(i))
3167
3210
  break;
3168
3211
  n.push(i), r += i >= 65536 ? 2 : 1;
3169
3212
  }
3170
- return lt.apply(void 0, n);
3213
+ return dt.apply(void 0, n);
3171
3214
  };
3172
- var Di = (
3215
+ var Vi = (
3173
3216
  /** @class */
3174
3217
  function() {
3175
3218
  function e(t, r) {
@@ -3193,14 +3236,14 @@ var Di = (
3193
3236
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3194
3237
  var s = this.clonePosition();
3195
3238
  this.bump(), i.push({
3196
- type: O.pound,
3239
+ type: T.pound,
3197
3240
  location: E(s, this.clonePosition())
3198
3241
  });
3199
3242
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3200
3243
  if (n)
3201
3244
  break;
3202
3245
  return this.error(_.UNMATCHED_CLOSING_TAG, E(this.clonePosition(), this.clonePosition()));
3203
- } else if (o === 60 && !this.ignoreTag && ht(this.peek() || 0)) {
3246
+ } else if (o === 60 && !this.ignoreTag && gt(this.peek() || 0)) {
3204
3247
  var a = this.parseTag(t, r);
3205
3248
  if (a.err)
3206
3249
  return a;
@@ -3221,7 +3264,7 @@ var Di = (
3221
3264
  if (this.bumpSpace(), this.bumpIf("/>"))
3222
3265
  return {
3223
3266
  val: {
3224
- type: O.literal,
3267
+ type: T.literal,
3225
3268
  value: "<".concat(i, "/>"),
3226
3269
  location: E(n, this.clonePosition())
3227
3270
  },
@@ -3233,12 +3276,12 @@ var Di = (
3233
3276
  return o;
3234
3277
  var a = o.val, s = this.clonePosition();
3235
3278
  if (this.bumpIf("</")) {
3236
- if (this.isEOF() || !ht(this.char()))
3279
+ if (this.isEOF() || !gt(this.char()))
3237
3280
  return this.error(_.INVALID_TAG, E(s, this.clonePosition()));
3238
- var l = this.clonePosition(), u = this.parseTagName();
3239
- return i !== u ? this.error(_.UNMATCHED_CLOSING_TAG, E(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3281
+ var u = this.clonePosition(), l = this.parseTagName();
3282
+ return i !== l ? this.error(_.UNMATCHED_CLOSING_TAG, E(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3240
3283
  val: {
3241
- type: O.tag,
3284
+ type: T.tag,
3242
3285
  value: i,
3243
3286
  children: a,
3244
3287
  location: E(n, this.clonePosition())
@@ -3251,7 +3294,7 @@ var Di = (
3251
3294
  return this.error(_.INVALID_TAG, E(n, this.clonePosition()));
3252
3295
  }, e.prototype.parseTagName = function() {
3253
3296
  var t = this.offset();
3254
- for (this.bump(); !this.isEOF() && $i(this.char()); )
3297
+ for (this.bump(); !this.isEOF() && zi(this.char()); )
3255
3298
  this.bump();
3256
3299
  return this.message.slice(t, this.offset());
3257
3300
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3273,14 +3316,14 @@ var Di = (
3273
3316
  }
3274
3317
  break;
3275
3318
  }
3276
- var l = E(n, this.clonePosition());
3319
+ var u = E(n, this.clonePosition());
3277
3320
  return {
3278
- val: { type: O.literal, value: i, location: l },
3321
+ val: { type: T.literal, value: i, location: u },
3279
3322
  err: null
3280
3323
  };
3281
3324
  }, e.prototype.tryParseLeftAngleBracket = function() {
3282
3325
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3283
- !Gi(this.peek() || 0)) ? (this.bump(), "<") : null;
3326
+ !Xi(this.peek() || 0)) ? (this.bump(), "<") : null;
3284
3327
  }, e.prototype.tryParseQuote = function(t) {
3285
3328
  if (this.isEOF() || this.char() !== 39)
3286
3329
  return null;
@@ -3314,12 +3357,12 @@ var Di = (
3314
3357
  r.push(n);
3315
3358
  this.bump();
3316
3359
  }
3317
- return lt.apply(void 0, r);
3360
+ return dt.apply(void 0, r);
3318
3361
  }, e.prototype.tryParseUnquoted = function(t, r) {
3319
3362
  if (this.isEOF())
3320
3363
  return null;
3321
3364
  var n = this.char();
3322
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), lt(n));
3365
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), dt(n));
3323
3366
  }, e.prototype.parseArgument = function(t, r) {
3324
3367
  var n = this.clonePosition();
3325
3368
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3335,7 +3378,7 @@ var Di = (
3335
3378
  case 125:
3336
3379
  return this.bump(), {
3337
3380
  val: {
3338
- type: O.argument,
3381
+ type: T.argument,
3339
3382
  // value does not include the opening and closing braces.
3340
3383
  value: i,
3341
3384
  location: E(n, this.clonePosition())
@@ -3348,54 +3391,54 @@ var Di = (
3348
3391
  return this.error(_.MALFORMED_ARGUMENT, E(n, this.clonePosition()));
3349
3392
  }
3350
3393
  }, e.prototype.parseIdentifierIfPossible = function() {
3351
- var t = this.clonePosition(), r = this.offset(), n = ut(this.message, r), i = r + n.length;
3394
+ var t = this.clonePosition(), r = this.offset(), n = pt(this.message, r), i = r + n.length;
3352
3395
  this.bumpTo(i);
3353
3396
  var o = this.clonePosition(), a = E(t, o);
3354
3397
  return { value: n, location: a };
3355
3398
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3356
- var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3399
+ var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, u = this.clonePosition();
3357
3400
  switch (s) {
3358
3401
  case "":
3359
- return this.error(_.EXPECT_ARGUMENT_TYPE, E(a, l));
3402
+ return this.error(_.EXPECT_ARGUMENT_TYPE, E(a, u));
3360
3403
  case "number":
3361
3404
  case "date":
3362
3405
  case "time": {
3363
3406
  this.bumpSpace();
3364
- var u = null;
3407
+ var l = null;
3365
3408
  if (this.bumpIf(",")) {
3366
3409
  this.bumpSpace();
3367
- var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3368
- if (c.err)
3369
- return c;
3370
- var f = ki(c.val);
3410
+ var c = this.clonePosition(), h = this.parseSimpleArgStyleIfPossible();
3411
+ if (h.err)
3412
+ return h;
3413
+ var f = Wi(h.val);
3371
3414
  if (f.length === 0)
3372
3415
  return this.error(_.EXPECT_ARGUMENT_STYLE, E(this.clonePosition(), this.clonePosition()));
3373
- var m = E(h, this.clonePosition());
3374
- u = { style: f, styleLocation: m };
3416
+ var p = E(c, this.clonePosition());
3417
+ l = { style: f, styleLocation: p };
3375
3418
  }
3376
- var p = this.tryParseArgumentClose(i);
3377
- if (p.err)
3378
- return p;
3419
+ var m = this.tryParseArgumentClose(i);
3420
+ if (m.err)
3421
+ return m;
3379
3422
  var y = E(i, this.clonePosition());
3380
- if (u && Gt(u?.style, "::", 0)) {
3381
- var S = Fi(u.style.slice(2));
3423
+ if (l && Xt(l?.style, "::", 0)) {
3424
+ var w = ji(l.style.slice(2));
3382
3425
  if (s === "number") {
3383
- var c = this.parseNumberSkeletonFromString(S, u.styleLocation);
3384
- return c.err ? c : {
3385
- val: { type: O.number, value: n, location: y, style: c.val },
3426
+ var h = this.parseNumberSkeletonFromString(w, l.styleLocation);
3427
+ return h.err ? h : {
3428
+ val: { type: T.number, value: n, location: y, style: h.val },
3386
3429
  err: null
3387
3430
  };
3388
3431
  } else {
3389
- if (S.length === 0)
3432
+ if (w.length === 0)
3390
3433
  return this.error(_.EXPECT_DATE_TIME_SKELETON, y);
3391
- var T = S;
3392
- this.locale && (T = Hi(S, this.locale));
3434
+ var H = w;
3435
+ this.locale && (H = Pi(w, this.locale));
3393
3436
  var f = {
3394
- type: he.dateTime,
3395
- pattern: T,
3396
- location: u.styleLocation,
3397
- parsedOptions: this.shouldParseSkeletons ? yi(T) : {}
3398
- }, B = s === "date" ? O.date : O.time;
3437
+ type: le.dateTime,
3438
+ pattern: H,
3439
+ location: l.styleLocation,
3440
+ parsedOptions: this.shouldParseSkeletons ? wi(H) : {}
3441
+ }, B = s === "date" ? T.date : T.time;
3399
3442
  return {
3400
3443
  val: { type: B, value: n, location: y, style: f },
3401
3444
  err: null
@@ -3404,10 +3447,10 @@ var Di = (
3404
3447
  }
3405
3448
  return {
3406
3449
  val: {
3407
- type: s === "number" ? O.number : s === "date" ? O.date : O.time,
3450
+ type: s === "number" ? T.number : s === "date" ? T.date : T.time,
3408
3451
  value: n,
3409
3452
  location: y,
3410
- style: (o = u?.style) !== null && o !== void 0 ? o : null
3453
+ style: (o = l?.style) !== null && o !== void 0 ? o : null
3411
3454
  },
3412
3455
  err: null
3413
3456
  };
@@ -3415,49 +3458,49 @@ var Di = (
3415
3458
  case "plural":
3416
3459
  case "selectordinal":
3417
3460
  case "select": {
3418
- var L = this.clonePosition();
3461
+ var P = this.clonePosition();
3419
3462
  if (this.bumpSpace(), !this.bumpIf(","))
3420
- return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, E(L, w({}, L)));
3463
+ return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, E(P, Re({}, P)));
3421
3464
  this.bumpSpace();
3422
3465
  var G = this.parseIdentifierIfPossible(), C = 0;
3423
3466
  if (s !== "select" && G.value === "offset") {
3424
3467
  if (!this.bumpIf(":"))
3425
3468
  return this.error(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, E(this.clonePosition(), this.clonePosition()));
3426
3469
  this.bumpSpace();
3427
- var c = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3428
- if (c.err)
3429
- return c;
3430
- this.bumpSpace(), G = this.parseIdentifierIfPossible(), C = c.val;
3470
+ var h = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3471
+ if (h.err)
3472
+ return h;
3473
+ this.bumpSpace(), G = this.parseIdentifierIfPossible(), C = h.val;
3431
3474
  }
3432
3475
  var V = this.tryParsePluralOrSelectOptions(t, s, r, G);
3433
3476
  if (V.err)
3434
3477
  return V;
3435
- var p = this.tryParseArgumentClose(i);
3436
- if (p.err)
3437
- return p;
3438
- var X = E(i, this.clonePosition());
3478
+ var m = this.tryParseArgumentClose(i);
3479
+ if (m.err)
3480
+ return m;
3481
+ var z = E(i, this.clonePosition());
3439
3482
  return s === "select" ? {
3440
3483
  val: {
3441
- type: O.select,
3484
+ type: T.select,
3442
3485
  value: n,
3443
- options: $t(V.val),
3444
- location: X
3486
+ options: zt(V.val),
3487
+ location: z
3445
3488
  },
3446
3489
  err: null
3447
3490
  } : {
3448
3491
  val: {
3449
- type: O.plural,
3492
+ type: T.plural,
3450
3493
  value: n,
3451
- options: $t(V.val),
3494
+ options: zt(V.val),
3452
3495
  offset: C,
3453
3496
  pluralType: s === "plural" ? "cardinal" : "ordinal",
3454
- location: X
3497
+ location: z
3455
3498
  },
3456
3499
  err: null
3457
3500
  };
3458
3501
  }
3459
3502
  default:
3460
- return this.error(_.INVALID_ARGUMENT_TYPE, E(a, l));
3503
+ return this.error(_.INVALID_ARGUMENT_TYPE, E(a, u));
3461
3504
  }
3462
3505
  }, e.prototype.tryParseArgumentClose = function(t) {
3463
3506
  return this.isEOF() || this.char() !== 125 ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, E(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
@@ -3499,50 +3542,50 @@ var Di = (
3499
3542
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3500
3543
  var n = [];
3501
3544
  try {
3502
- n = _i(t);
3545
+ n = Hi(t);
3503
3546
  } catch {
3504
3547
  return this.error(_.INVALID_NUMBER_SKELETON, r);
3505
3548
  }
3506
3549
  return {
3507
3550
  val: {
3508
- type: he.number,
3551
+ type: le.number,
3509
3552
  tokens: n,
3510
3553
  location: r,
3511
- parsedOptions: this.shouldParseSkeletons ? Si(n) : {}
3554
+ parsedOptions: this.shouldParseSkeletons ? Ai(n) : {}
3512
3555
  },
3513
3556
  err: null
3514
3557
  };
3515
3558
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3516
- for (var o, a = !1, s = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
3517
- if (u.length === 0) {
3518
- var c = this.clonePosition();
3559
+ for (var o, a = !1, s = [], u = /* @__PURE__ */ new Set(), l = i.value, c = i.location; ; ) {
3560
+ if (l.length === 0) {
3561
+ var h = this.clonePosition();
3519
3562
  if (r !== "select" && this.bumpIf("=")) {
3520
3563
  var f = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_SELECTOR, _.INVALID_PLURAL_ARGUMENT_SELECTOR);
3521
3564
  if (f.err)
3522
3565
  return f;
3523
- h = E(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3566
+ c = E(h, this.clonePosition()), l = this.message.slice(h.offset, this.offset());
3524
3567
  } else
3525
3568
  break;
3526
3569
  }
3527
- if (l.has(u))
3528
- return this.error(r === "select" ? _.DUPLICATE_SELECT_ARGUMENT_SELECTOR : _.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3529
- u === "other" && (a = !0), this.bumpSpace();
3530
- var m = this.clonePosition();
3570
+ if (u.has(l))
3571
+ return this.error(r === "select" ? _.DUPLICATE_SELECT_ARGUMENT_SELECTOR : _.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
3572
+ l === "other" && (a = !0), this.bumpSpace();
3573
+ var p = this.clonePosition();
3531
3574
  if (!this.bumpIf("{"))
3532
3575
  return this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : _.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, E(this.clonePosition(), this.clonePosition()));
3533
- var p = this.parseMessage(t + 1, r, n);
3534
- if (p.err)
3535
- return p;
3536
- var y = this.tryParseArgumentClose(m);
3576
+ var m = this.parseMessage(t + 1, r, n);
3577
+ if (m.err)
3578
+ return m;
3579
+ var y = this.tryParseArgumentClose(p);
3537
3580
  if (y.err)
3538
3581
  return y;
3539
3582
  s.push([
3540
- u,
3583
+ l,
3541
3584
  {
3542
- value: p.val,
3543
- location: E(m, this.clonePosition())
3585
+ value: m.val,
3586
+ location: E(p, this.clonePosition())
3544
3587
  }
3545
- ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
3588
+ ]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, c = o.location;
3546
3589
  }
3547
3590
  return s.length === 0 ? this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR : _.EXPECT_PLURAL_ARGUMENT_SELECTOR, E(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(_.MISSING_OTHER_CLAUSE, E(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3548
3591
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
@@ -3555,8 +3598,8 @@ var Di = (
3555
3598
  else
3556
3599
  break;
3557
3600
  }
3558
- var l = E(i, this.clonePosition());
3559
- return o ? (a *= n, Ri(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3601
+ var u = E(i, this.clonePosition());
3602
+ return o ? (a *= n, Gi(a) ? { val: a, err: null } : this.error(r, u)) : this.error(t, u);
3560
3603
  }, e.prototype.offset = function() {
3561
3604
  return this.position.offset;
3562
3605
  }, e.prototype.isEOF = function() {
@@ -3571,7 +3614,7 @@ var Di = (
3571
3614
  var t = this.position.offset;
3572
3615
  if (t >= this.message.length)
3573
3616
  throw Error("out of bound");
3574
- var r = Rr(this.message, t);
3617
+ var r = Gr(this.message, t);
3575
3618
  if (r === void 0)
3576
3619
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3577
3620
  return r;
@@ -3590,7 +3633,7 @@ var Di = (
3590
3633
  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);
3591
3634
  }
3592
3635
  }, e.prototype.bumpIf = function(t) {
3593
- if (Gt(this.message, t, this.offset())) {
3636
+ if (Xt(this.message, t, this.offset())) {
3594
3637
  for (var r = 0; r < t.length; r++)
3595
3638
  this.bump();
3596
3639
  return !0;
@@ -3612,7 +3655,7 @@ var Di = (
3612
3655
  break;
3613
3656
  }
3614
3657
  }, e.prototype.bumpSpace = function() {
3615
- for (; !this.isEOF() && Fr(this.char()); )
3658
+ for (; !this.isEOF() && jr(this.char()); )
3616
3659
  this.bump();
3617
3660
  }, e.prototype.peek = function() {
3618
3661
  if (this.isEOF())
@@ -3622,47 +3665,47 @@ var Di = (
3622
3665
  }, e;
3623
3666
  }()
3624
3667
  );
3625
- function ht(e) {
3668
+ function gt(e) {
3626
3669
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3627
3670
  }
3628
- function Gi(e) {
3629
- return ht(e) || e === 47;
3671
+ function Xi(e) {
3672
+ return gt(e) || e === 47;
3630
3673
  }
3631
- function $i(e) {
3674
+ function zi(e) {
3632
3675
  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;
3633
3676
  }
3634
- function Fr(e) {
3677
+ function jr(e) {
3635
3678
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3636
3679
  }
3637
- function ji(e) {
3680
+ function Zi(e) {
3638
3681
  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;
3639
3682
  }
3640
- function ct(e) {
3683
+ function mt(e) {
3641
3684
  e.forEach(function(t) {
3642
- if (delete t.location, Mr(t) || Ar(t))
3685
+ if (delete t.location, Ir(t) || Cr(t))
3643
3686
  for (var r in t.options)
3644
- delete t.options[r].location, ct(t.options[r].value);
3687
+ delete t.options[r].location, mt(t.options[r].value);
3645
3688
  else
3646
- Hr(t) && Pr(t.style) || (Tr(t) || Or(t)) && at(t.style) ? delete t.style.location : Lr(t) && ct(t.children);
3689
+ Pr(t) && Rr(t.style) || (Lr(t) || Br(t)) && ht(t.style) ? delete t.style.location : Nr(t) && mt(t.children);
3647
3690
  });
3648
3691
  }
3649
- function Wi(e, t) {
3650
- t === void 0 && (t = {}), t = w({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3651
- var r = new Di(e, t).parse();
3692
+ function Qi(e, t) {
3693
+ t === void 0 && (t = {}), t = Re({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3694
+ var r = new Vi(e, t).parse();
3652
3695
  if (r.err) {
3653
3696
  var n = SyntaxError(_[r.err.kind]);
3654
3697
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3655
3698
  }
3656
- return t?.captureLocation || ct(r.val), r.val;
3699
+ return t?.captureLocation || mt(r.val), r.val;
3657
3700
  }
3658
3701
  var ce;
3659
3702
  (function(e) {
3660
3703
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3661
3704
  })(ce || (ce = {}));
3662
- var De = (
3705
+ var $e = (
3663
3706
  /** @class */
3664
3707
  function(e) {
3665
- q(t, e);
3708
+ Ge(t, e);
3666
3709
  function t(r, n, i) {
3667
3710
  var o = e.call(this, r) || this;
3668
3711
  return o.code = n, o.originalMessage = i, o;
@@ -3671,110 +3714,110 @@ var De = (
3671
3714
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3672
3715
  }, t;
3673
3716
  }(Error)
3674
- ), Wt = (
3717
+ ), Qt = (
3675
3718
  /** @class */
3676
3719
  function(e) {
3677
- q(t, e);
3720
+ Ge(t, e);
3678
3721
  function t(r, n, i, o) {
3679
3722
  return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ce.INVALID_VALUE, o) || this;
3680
3723
  }
3681
3724
  return t;
3682
- }(De)
3683
- ), Vi = (
3725
+ }($e)
3726
+ ), qi = (
3684
3727
  /** @class */
3685
3728
  function(e) {
3686
- q(t, e);
3729
+ Ge(t, e);
3687
3730
  function t(r, n, i) {
3688
3731
  return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ce.INVALID_VALUE, i) || this;
3689
3732
  }
3690
3733
  return t;
3691
- }(De)
3692
- ), Xi = (
3734
+ }($e)
3735
+ ), Ji = (
3693
3736
  /** @class */
3694
3737
  function(e) {
3695
- q(t, e);
3738
+ Ge(t, e);
3696
3739
  function t(r, n) {
3697
3740
  return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ce.MISSING_VALUE, n) || this;
3698
3741
  }
3699
3742
  return t;
3700
- }(De)
3743
+ }($e)
3701
3744
  ), D;
3702
3745
  (function(e) {
3703
3746
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3704
3747
  })(D || (D = {}));
3705
- function zi(e) {
3748
+ function Yi(e) {
3706
3749
  return e.length < 2 ? e : e.reduce(function(t, r) {
3707
3750
  var n = t[t.length - 1];
3708
3751
  return !n || n.type !== D.literal || r.type !== D.literal ? t.push(r) : n.value += r.value, t;
3709
3752
  }, []);
3710
3753
  }
3711
- function Zi(e) {
3754
+ function Ki(e) {
3712
3755
  return typeof e == "function";
3713
3756
  }
3714
3757
  function Be(e, t, r, n, i, o, a) {
3715
- if (e.length === 1 && Ut(e[0]))
3758
+ if (e.length === 1 && $t(e[0]))
3716
3759
  return [
3717
3760
  {
3718
3761
  type: D.literal,
3719
3762
  value: e[0].value
3720
3763
  }
3721
3764
  ];
3722
- for (var s = [], l = 0, u = e; l < u.length; l++) {
3723
- var h = u[l];
3724
- if (Ut(h)) {
3765
+ for (var s = [], u = 0, l = e; u < l.length; u++) {
3766
+ var c = l[u];
3767
+ if ($t(c)) {
3725
3768
  s.push({
3726
3769
  type: D.literal,
3727
- value: h.value
3770
+ value: c.value
3728
3771
  });
3729
3772
  continue;
3730
3773
  }
3731
- if (pi(h)) {
3774
+ if (xi(c)) {
3732
3775
  typeof o == "number" && s.push({
3733
3776
  type: D.literal,
3734
3777
  value: r.getNumberFormat(t).format(o)
3735
3778
  });
3736
3779
  continue;
3737
3780
  }
3738
- var c = h.value;
3739
- if (!(i && c in i))
3740
- throw new Xi(c, a);
3741
- var f = i[c];
3742
- if (gi(h)) {
3781
+ var h = c.value;
3782
+ if (!(i && h in i))
3783
+ throw new Ji(h, a);
3784
+ var f = i[h];
3785
+ if (_i(c)) {
3743
3786
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
3744
3787
  type: typeof f == "string" ? D.literal : D.object,
3745
3788
  value: f
3746
3789
  });
3747
3790
  continue;
3748
3791
  }
3749
- if (Tr(h)) {
3750
- var m = typeof h.style == "string" ? n.date[h.style] : at(h.style) ? h.style.parsedOptions : void 0;
3792
+ if (Lr(c)) {
3793
+ var p = typeof c.style == "string" ? n.date[c.style] : ht(c.style) ? c.style.parsedOptions : void 0;
3751
3794
  s.push({
3752
3795
  type: D.literal,
3753
- value: r.getDateTimeFormat(t, m).format(f)
3796
+ value: r.getDateTimeFormat(t, p).format(f)
3754
3797
  });
3755
3798
  continue;
3756
3799
  }
3757
- if (Or(h)) {
3758
- var m = typeof h.style == "string" ? n.time[h.style] : at(h.style) ? h.style.parsedOptions : n.time.medium;
3800
+ if (Br(c)) {
3801
+ var p = typeof c.style == "string" ? n.time[c.style] : ht(c.style) ? c.style.parsedOptions : n.time.medium;
3759
3802
  s.push({
3760
3803
  type: D.literal,
3761
- value: r.getDateTimeFormat(t, m).format(f)
3804
+ value: r.getDateTimeFormat(t, p).format(f)
3762
3805
  });
3763
3806
  continue;
3764
3807
  }
3765
- if (Hr(h)) {
3766
- var m = typeof h.style == "string" ? n.number[h.style] : Pr(h.style) ? h.style.parsedOptions : void 0;
3767
- m && m.scale && (f = f * (m.scale || 1)), s.push({
3808
+ if (Pr(c)) {
3809
+ var p = typeof c.style == "string" ? n.number[c.style] : Rr(c.style) ? c.style.parsedOptions : void 0;
3810
+ p && p.scale && (f = f * (p.scale || 1)), s.push({
3768
3811
  type: D.literal,
3769
- value: r.getNumberFormat(t, m).format(f)
3812
+ value: r.getNumberFormat(t, p).format(f)
3770
3813
  });
3771
3814
  continue;
3772
3815
  }
3773
- if (Lr(h)) {
3774
- var p = h.children, y = h.value, S = i[y];
3775
- if (!Zi(S))
3776
- throw new Vi(y, "function", a);
3777
- var T = Be(p, t, r, n, i, o), B = S(T.map(function(C) {
3816
+ if (Nr(c)) {
3817
+ var m = c.children, y = c.value, w = i[y];
3818
+ if (!Ki(w))
3819
+ throw new qi(y, "function", a);
3820
+ var H = Be(m, t, r, n, i, o), B = w(H.map(function(C) {
3778
3821
  return C.value;
3779
3822
  }));
3780
3823
  Array.isArray(B) || (B = [B]), s.push.apply(s, B.map(function(C) {
@@ -3784,42 +3827,42 @@ function Be(e, t, r, n, i, o, a) {
3784
3827
  };
3785
3828
  }));
3786
3829
  }
3787
- if (Mr(h)) {
3788
- var L = h.options[f] || h.options.other;
3789
- if (!L)
3790
- throw new Wt(h.value, f, Object.keys(h.options), a);
3791
- s.push.apply(s, Be(L.value, t, r, n, i));
3830
+ if (Ir(c)) {
3831
+ var P = c.options[f] || c.options.other;
3832
+ if (!P)
3833
+ throw new Qt(c.value, f, Object.keys(c.options), a);
3834
+ s.push.apply(s, Be(P.value, t, r, n, i));
3792
3835
  continue;
3793
3836
  }
3794
- if (Ar(h)) {
3795
- var L = h.options["=".concat(f)];
3796
- if (!L) {
3837
+ if (Cr(c)) {
3838
+ var P = c.options["=".concat(f)];
3839
+ if (!P) {
3797
3840
  if (!Intl.PluralRules)
3798
- throw new De(`Intl.PluralRules is not available in this environment.
3841
+ throw new $e(`Intl.PluralRules is not available in this environment.
3799
3842
  Try polyfilling it using "@formatjs/intl-pluralrules"
3800
3843
  `, ce.MISSING_INTL_API, a);
3801
- var G = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3802
- L = h.options[G] || h.options.other;
3844
+ var G = r.getPluralRules(t, { type: c.pluralType }).select(f - (c.offset || 0));
3845
+ P = c.options[G] || c.options.other;
3803
3846
  }
3804
- if (!L)
3805
- throw new Wt(h.value, f, Object.keys(h.options), a);
3806
- s.push.apply(s, Be(L.value, t, r, n, i, f - (h.offset || 0)));
3847
+ if (!P)
3848
+ throw new Qt(c.value, f, Object.keys(c.options), a);
3849
+ s.push.apply(s, Be(P.value, t, r, n, i, f - (c.offset || 0)));
3807
3850
  continue;
3808
3851
  }
3809
3852
  }
3810
- return zi(s);
3853
+ return Yi(s);
3811
3854
  }
3812
- function Qi(e, t) {
3813
- return t ? w(w(w({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3814
- return r[n] = w(w({}, e[n]), t[n] || {}), r;
3855
+ function eo(e, t) {
3856
+ return t ? X(X(X({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3857
+ return r[n] = X(X({}, e[n]), t[n] || {}), r;
3815
3858
  }, {})) : e;
3816
3859
  }
3817
- function qi(e, t) {
3860
+ function to(e, t) {
3818
3861
  return t ? Object.keys(e).reduce(function(r, n) {
3819
- return r[n] = Qi(e[n], t[n]), r;
3820
- }, w({}, e)) : e;
3862
+ return r[n] = eo(e[n], t[n]), r;
3863
+ }, X({}, e)) : e;
3821
3864
  }
3822
- function Ye(e) {
3865
+ function tt(e) {
3823
3866
  return {
3824
3867
  create: function() {
3825
3868
  return {
@@ -3833,39 +3876,39 @@ function Ye(e) {
3833
3876
  }
3834
3877
  };
3835
3878
  }
3836
- function Ji(e) {
3879
+ function ro(e) {
3837
3880
  return e === void 0 && (e = {
3838
3881
  number: {},
3839
3882
  dateTime: {},
3840
3883
  pluralRules: {}
3841
3884
  }), {
3842
- getNumberFormat: Qe(function() {
3885
+ getNumberFormat: Ye(function() {
3843
3886
  for (var t, r = [], n = 0; n < arguments.length; n++)
3844
3887
  r[n] = arguments[n];
3845
- return new ((t = Intl.NumberFormat).bind.apply(t, le([void 0], r, !1)))();
3888
+ return new ((t = Intl.NumberFormat).bind.apply(t, Je([void 0], r, !1)))();
3846
3889
  }, {
3847
- cache: Ye(e.number),
3848
- strategy: qe.variadic
3890
+ cache: tt(e.number),
3891
+ strategy: Ke.variadic
3849
3892
  }),
3850
- getDateTimeFormat: Qe(function() {
3893
+ getDateTimeFormat: Ye(function() {
3851
3894
  for (var t, r = [], n = 0; n < arguments.length; n++)
3852
3895
  r[n] = arguments[n];
3853
- return new ((t = Intl.DateTimeFormat).bind.apply(t, le([void 0], r, !1)))();
3896
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Je([void 0], r, !1)))();
3854
3897
  }, {
3855
- cache: Ye(e.dateTime),
3856
- strategy: qe.variadic
3898
+ cache: tt(e.dateTime),
3899
+ strategy: Ke.variadic
3857
3900
  }),
3858
- getPluralRules: Qe(function() {
3901
+ getPluralRules: Ye(function() {
3859
3902
  for (var t, r = [], n = 0; n < arguments.length; n++)
3860
3903
  r[n] = arguments[n];
3861
- return new ((t = Intl.PluralRules).bind.apply(t, le([void 0], r, !1)))();
3904
+ return new ((t = Intl.PluralRules).bind.apply(t, Je([void 0], r, !1)))();
3862
3905
  }, {
3863
- cache: Ye(e.pluralRules),
3864
- strategy: qe.variadic
3906
+ cache: tt(e.pluralRules),
3907
+ strategy: Ke.variadic
3865
3908
  })
3866
3909
  };
3867
3910
  }
3868
- var Yi = (
3911
+ var no = (
3869
3912
  /** @class */
3870
3913
  function() {
3871
3914
  function e(t, r, n, i) {
@@ -3875,20 +3918,20 @@ var Yi = (
3875
3918
  number: {},
3876
3919
  dateTime: {},
3877
3920
  pluralRules: {}
3878
- }, this.format = function(l) {
3879
- var u = o.formatToParts(l);
3880
- if (u.length === 1)
3881
- return u[0].value;
3882
- var h = u.reduce(function(c, f) {
3883
- return !c.length || f.type !== D.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3921
+ }, this.format = function(u) {
3922
+ var l = o.formatToParts(u);
3923
+ if (l.length === 1)
3924
+ return l[0].value;
3925
+ var c = l.reduce(function(h, f) {
3926
+ return !h.length || f.type !== D.literal || typeof h[h.length - 1] != "string" ? h.push(f.value) : h[h.length - 1] += f.value, h;
3884
3927
  }, []);
3885
- return h.length <= 1 ? h[0] || "" : h;
3886
- }, this.formatToParts = function(l) {
3887
- return Be(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3928
+ return c.length <= 1 ? c[0] || "" : c;
3929
+ }, this.formatToParts = function(u) {
3930
+ return Be(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
3888
3931
  }, this.resolvedOptions = function() {
3889
- var l;
3932
+ var u;
3890
3933
  return {
3891
- locale: ((l = o.resolvedLocale) === null || l === void 0 ? void 0 : l.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
3934
+ locale: ((u = o.resolvedLocale) === null || u === void 0 ? void 0 : u.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
3892
3935
  };
3893
3936
  }, this.getAst = function() {
3894
3937
  return o.ast;
@@ -3897,13 +3940,13 @@ var Yi = (
3897
3940
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3898
3941
  var a = i || {};
3899
3942
  a.formatters;
3900
- var s = Ln(a, ["formatters"]);
3901
- this.ast = e.__parse(t, w(w({}, s), { locale: this.resolvedLocale }));
3943
+ var s = fi(a, ["formatters"]);
3944
+ this.ast = e.__parse(t, X(X({}, s), { locale: this.resolvedLocale }));
3902
3945
  } else
3903
3946
  this.ast = t;
3904
3947
  if (!Array.isArray(this.ast))
3905
3948
  throw new TypeError("A message must be provided as a String or AST.");
3906
- this.formats = qi(e.formats, n), this.formatters = i && i.formatters || Ji(this.formatterCache);
3949
+ this.formats = to(e.formats, n), this.formatters = i && i.formatters || ro(this.formatterCache);
3907
3950
  }
3908
3951
  return Object.defineProperty(e, "defaultLocale", {
3909
3952
  get: function() {
@@ -3916,7 +3959,7 @@ var Yi = (
3916
3959
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3917
3960
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3918
3961
  }
3919
- }, e.__parse = Wi, e.formats = {
3962
+ }, e.__parse = Qi, e.formats = {
3920
3963
  number: {
3921
3964
  integer: {
3922
3965
  maximumFractionDigits: 0
@@ -3977,7 +4020,7 @@ var Yi = (
3977
4020
  }, e;
3978
4021
  }()
3979
4022
  );
3980
- function Ki(e, t) {
4023
+ function io(e, t) {
3981
4024
  if (t == null)
3982
4025
  return;
3983
4026
  if (t in e)
@@ -3998,92 +4041,92 @@ function Ki(e, t) {
3998
4041
  n = void 0;
3999
4042
  return n;
4000
4043
  }
4001
- const Y = {}, eo = (e, t, r) => r && (t in Y || (Y[t] = {}), e in Y[t] || (Y[t][e] = r), r), kr = (e, t) => {
4044
+ const Y = {}, oo = (e, t, r) => r && (t in Y || (Y[t] = {}), e in Y[t] || (Y[t][e] = r), r), Wr = (e, t) => {
4002
4045
  if (t == null)
4003
4046
  return;
4004
4047
  if (t in Y && e in Y[t])
4005
4048
  return Y[t][e];
4006
- const r = Ge(t);
4049
+ const r = je(t);
4007
4050
  for (let n = 0; n < r.length; n++) {
4008
- const i = r[n], o = ro(i, e);
4051
+ const i = r[n], o = so(i, e);
4009
4052
  if (o)
4010
- return eo(e, t, o);
4053
+ return oo(e, t, o);
4011
4054
  }
4012
4055
  };
4013
- let gt;
4014
- const Se = ke({});
4015
- function to(e) {
4016
- return gt[e] || null;
4056
+ let _t;
4057
+ const Se = De({});
4058
+ function ao(e) {
4059
+ return _t[e] || null;
4017
4060
  }
4018
- function Dr(e) {
4019
- return e in gt;
4061
+ function Vr(e) {
4062
+ return e in _t;
4020
4063
  }
4021
- function ro(e, t) {
4022
- if (!Dr(e))
4064
+ function so(e, t) {
4065
+ if (!Vr(e))
4023
4066
  return null;
4024
- const r = to(e);
4025
- return Ki(r, t);
4067
+ const r = ao(e);
4068
+ return io(r, t);
4026
4069
  }
4027
- function no(e) {
4070
+ function uo(e) {
4028
4071
  if (e == null)
4029
4072
  return;
4030
- const t = Ge(e);
4073
+ const t = je(e);
4031
4074
  for (let r = 0; r < t.length; r++) {
4032
4075
  const n = t[r];
4033
- if (Dr(n))
4076
+ if (Vr(n))
4034
4077
  return n;
4035
4078
  }
4036
4079
  }
4037
- function Gr(e, ...t) {
4038
- delete Y[e], Se.update((r) => (r[e] = si.all([r[e] || {}, ...t]), r));
4080
+ function Xr(e, ...t) {
4081
+ delete Y[e], Se.update((r) => (r[e] = hi.all([r[e] || {}, ...t]), r));
4039
4082
  }
4040
- ge(
4083
+ pe(
4041
4084
  [Se],
4042
4085
  ([e]) => Object.keys(e)
4043
4086
  );
4044
- Se.subscribe((e) => gt = e);
4087
+ Se.subscribe((e) => _t = e);
4045
4088
  const Ie = {};
4046
- function io(e, t) {
4089
+ function lo(e, t) {
4047
4090
  Ie[e].delete(t), Ie[e].size === 0 && delete Ie[e];
4048
4091
  }
4049
- function $r(e) {
4092
+ function zr(e) {
4050
4093
  return Ie[e];
4051
4094
  }
4052
- function oo(e) {
4053
- return Ge(e).map((t) => {
4054
- const r = $r(t);
4095
+ function co(e) {
4096
+ return je(e).map((t) => {
4097
+ const r = zr(t);
4055
4098
  return [t, r ? [...r] : []];
4056
4099
  }).filter(([, t]) => t.length > 0);
4057
4100
  }
4058
- function ft(e) {
4059
- return e == null ? !1 : Ge(e).some(
4101
+ function bt(e) {
4102
+ return e == null ? !1 : je(e).some(
4060
4103
  (t) => {
4061
4104
  var r;
4062
- return (r = $r(t)) == null ? void 0 : r.size;
4105
+ return (r = zr(t)) == null ? void 0 : r.size;
4063
4106
  }
4064
4107
  );
4065
4108
  }
4066
- function ao(e, t) {
4109
+ function ho(e, t) {
4067
4110
  return Promise.all(
4068
- t.map((n) => (io(e, n), n().then((i) => i.default || i)))
4069
- ).then((n) => Gr(e, ...n));
4070
- }
4071
- const ye = {};
4072
- function jr(e) {
4073
- if (!ft(e))
4074
- return e in ye ? ye[e] : Promise.resolve();
4075
- const t = oo(e);
4076
- return ye[e] = Promise.all(
4111
+ t.map((n) => (lo(e, n), n().then((i) => i.default || i)))
4112
+ ).then((n) => Xr(e, ...n));
4113
+ }
4114
+ const be = {};
4115
+ function Zr(e) {
4116
+ if (!bt(e))
4117
+ return e in be ? be[e] : Promise.resolve();
4118
+ const t = co(e);
4119
+ return be[e] = Promise.all(
4077
4120
  t.map(
4078
- ([r, n]) => ao(r, n)
4121
+ ([r, n]) => ho(r, n)
4079
4122
  )
4080
4123
  ).then(() => {
4081
- if (ft(e))
4082
- return jr(e);
4083
- delete ye[e];
4084
- }), ye[e];
4124
+ if (bt(e))
4125
+ return Zr(e);
4126
+ delete be[e];
4127
+ }), be[e];
4085
4128
  }
4086
- const so = {
4129
+ const fo = {
4087
4130
  number: {
4088
4131
  scientific: { notation: "scientific" },
4089
4132
  engineering: { notation: "engineering" },
@@ -4112,180 +4155,180 @@ const so = {
4112
4155
  timeZoneName: "short"
4113
4156
  }
4114
4157
  }
4115
- }, lo = {
4158
+ }, po = {
4116
4159
  fallbackLocale: null,
4117
4160
  loadingDelay: 200,
4118
- formats: so,
4161
+ formats: fo,
4119
4162
  warnOnMissingMessages: !0,
4120
4163
  handleMissingMessage: void 0,
4121
4164
  ignoreTag: !0
4122
- }, uo = lo;
4123
- function fe() {
4124
- return uo;
4165
+ }, go = po;
4166
+ function he() {
4167
+ return go;
4125
4168
  }
4126
- const Ke = ke(!1);
4127
- var ho = Object.defineProperty, co = Object.defineProperties, fo = Object.getOwnPropertyDescriptors, Vt = Object.getOwnPropertySymbols, mo = Object.prototype.hasOwnProperty, go = Object.prototype.propertyIsEnumerable, Xt = (e, t, r) => t in e ? ho(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, po = (e, t) => {
4169
+ const rt = De(!1);
4170
+ var mo = Object.defineProperty, bo = Object.defineProperties, yo = Object.getOwnPropertyDescriptors, qt = Object.getOwnPropertySymbols, vo = Object.prototype.hasOwnProperty, _o = Object.prototype.propertyIsEnumerable, Jt = (e, t, r) => t in e ? mo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, xo = (e, t) => {
4128
4171
  for (var r in t || (t = {}))
4129
- mo.call(t, r) && Xt(e, r, t[r]);
4130
- if (Vt)
4131
- for (var r of Vt(t))
4132
- go.call(t, r) && Xt(e, r, t[r]);
4172
+ vo.call(t, r) && Jt(e, r, t[r]);
4173
+ if (qt)
4174
+ for (var r of qt(t))
4175
+ _o.call(t, r) && Jt(e, r, t[r]);
4133
4176
  return e;
4134
- }, bo = (e, t) => co(e, fo(t));
4135
- let dt;
4136
- const Re = ke(null);
4137
- function zt(e) {
4177
+ }, Eo = (e, t) => bo(e, yo(t));
4178
+ let yt;
4179
+ const Ue = De(null);
4180
+ function Yt(e) {
4138
4181
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4139
4182
  }
4140
- function Ge(e, t = fe().fallbackLocale) {
4141
- const r = zt(e);
4142
- return t ? [.../* @__PURE__ */ new Set([...r, ...zt(t)])] : r;
4183
+ function je(e, t = he().fallbackLocale) {
4184
+ const r = Yt(e);
4185
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Yt(t)])] : r;
4143
4186
  }
4144
4187
  function re() {
4145
- return dt ?? void 0;
4188
+ return yt ?? void 0;
4146
4189
  }
4147
- Re.subscribe((e) => {
4148
- dt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4190
+ Ue.subscribe((e) => {
4191
+ yt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4149
4192
  });
4150
- const yo = (e) => {
4151
- if (e && no(e) && ft(e)) {
4152
- const { loadingDelay: t } = fe();
4193
+ const wo = (e) => {
4194
+ if (e && uo(e) && bt(e)) {
4195
+ const { loadingDelay: t } = he();
4153
4196
  let r;
4154
4197
  return typeof window < "u" && re() != null && t ? r = window.setTimeout(
4155
- () => Ke.set(!0),
4198
+ () => rt.set(!0),
4156
4199
  t
4157
- ) : Ke.set(!0), jr(e).then(() => {
4158
- Re.set(e);
4200
+ ) : rt.set(!0), Zr(e).then(() => {
4201
+ Ue.set(e);
4159
4202
  }).finally(() => {
4160
- clearTimeout(r), Ke.set(!1);
4203
+ clearTimeout(r), rt.set(!1);
4161
4204
  });
4162
4205
  }
4163
- return Re.set(e);
4164
- }, pe = bo(po({}, Re), {
4165
- set: yo
4166
- }), $e = (e) => {
4206
+ return Ue.set(e);
4207
+ }, ge = Eo(xo({}, Ue), {
4208
+ set: wo
4209
+ }), We = (e) => {
4167
4210
  const t = /* @__PURE__ */ Object.create(null);
4168
4211
  return (n) => {
4169
4212
  const i = JSON.stringify(n);
4170
4213
  return i in t ? t[i] : t[i] = e(n);
4171
4214
  };
4172
4215
  };
4173
- var vo = Object.defineProperty, Ue = Object.getOwnPropertySymbols, Wr = Object.prototype.hasOwnProperty, Vr = Object.prototype.propertyIsEnumerable, Zt = (e, t, r) => t in e ? vo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, pt = (e, t) => {
4216
+ var So = Object.defineProperty, Fe = Object.getOwnPropertySymbols, Qr = Object.prototype.hasOwnProperty, qr = Object.prototype.propertyIsEnumerable, Kt = (e, t, r) => t in e ? So(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, xt = (e, t) => {
4174
4217
  for (var r in t || (t = {}))
4175
- Wr.call(t, r) && Zt(e, r, t[r]);
4176
- if (Ue)
4177
- for (var r of Ue(t))
4178
- Vr.call(t, r) && Zt(e, r, t[r]);
4218
+ Qr.call(t, r) && Kt(e, r, t[r]);
4219
+ if (Fe)
4220
+ for (var r of Fe(t))
4221
+ qr.call(t, r) && Kt(e, r, t[r]);
4179
4222
  return e;
4180
- }, be = (e, t) => {
4223
+ }, me = (e, t) => {
4181
4224
  var r = {};
4182
4225
  for (var n in e)
4183
- Wr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4184
- if (e != null && Ue)
4185
- for (var n of Ue(e))
4186
- t.indexOf(n) < 0 && Vr.call(e, n) && (r[n] = e[n]);
4226
+ Qr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4227
+ if (e != null && Fe)
4228
+ for (var n of Fe(e))
4229
+ t.indexOf(n) < 0 && qr.call(e, n) && (r[n] = e[n]);
4187
4230
  return r;
4188
4231
  };
4189
- const Ee = (e, t) => {
4190
- const { formats: r } = fe();
4232
+ const xe = (e, t) => {
4233
+ const { formats: r } = he();
4191
4234
  if (e in r && t in r[e])
4192
4235
  return r[e][t];
4193
4236
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4194
- }, _o = $e(
4237
+ }, Ho = We(
4195
4238
  (e) => {
4196
- var t = e, { locale: r, format: n } = t, i = be(t, ["locale", "format"]);
4239
+ var t = e, { locale: r, format: n } = t, i = me(t, ["locale", "format"]);
4197
4240
  if (r == null)
4198
4241
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4199
- return n && (i = Ee("number", n)), new Intl.NumberFormat(r, i);
4242
+ return n && (i = xe("number", n)), new Intl.NumberFormat(r, i);
4200
4243
  }
4201
- ), xo = $e(
4244
+ ), To = We(
4202
4245
  (e) => {
4203
- var t = e, { locale: r, format: n } = t, i = be(t, ["locale", "format"]);
4246
+ var t = e, { locale: r, format: n } = t, i = me(t, ["locale", "format"]);
4204
4247
  if (r == null)
4205
4248
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4206
- return n ? i = Ee("date", n) : Object.keys(i).length === 0 && (i = Ee("date", "short")), new Intl.DateTimeFormat(r, i);
4249
+ return n ? i = xe("date", n) : Object.keys(i).length === 0 && (i = xe("date", "short")), new Intl.DateTimeFormat(r, i);
4207
4250
  }
4208
- ), Eo = $e(
4251
+ ), Oo = We(
4209
4252
  (e) => {
4210
- var t = e, { locale: r, format: n } = t, i = be(t, ["locale", "format"]);
4253
+ var t = e, { locale: r, format: n } = t, i = me(t, ["locale", "format"]);
4211
4254
  if (r == null)
4212
4255
  throw new Error(
4213
4256
  '[svelte-i18n] A "locale" must be set to format time values'
4214
4257
  );
4215
- return n ? i = Ee("time", n) : Object.keys(i).length === 0 && (i = Ee("time", "short")), new Intl.DateTimeFormat(r, i);
4258
+ return n ? i = xe("time", n) : Object.keys(i).length === 0 && (i = xe("time", "short")), new Intl.DateTimeFormat(r, i);
4216
4259
  }
4217
- ), wo = (e = {}) => {
4260
+ ), Mo = (e = {}) => {
4218
4261
  var t = e, {
4219
4262
  locale: r = re()
4220
- } = t, n = be(t, [
4263
+ } = t, n = me(t, [
4221
4264
  "locale"
4222
4265
  ]);
4223
- return _o(pt({ locale: r }, n));
4224
- }, So = (e = {}) => {
4266
+ return Ho(xt({ locale: r }, n));
4267
+ }, Ao = (e = {}) => {
4225
4268
  var t = e, {
4226
4269
  locale: r = re()
4227
- } = t, n = be(t, [
4270
+ } = t, n = me(t, [
4228
4271
  "locale"
4229
4272
  ]);
4230
- return xo(pt({ locale: r }, n));
4231
- }, Ho = (e = {}) => {
4273
+ return To(xt({ locale: r }, n));
4274
+ }, Po = (e = {}) => {
4232
4275
  var t = e, {
4233
4276
  locale: r = re()
4234
- } = t, n = be(t, [
4277
+ } = t, n = me(t, [
4235
4278
  "locale"
4236
4279
  ]);
4237
- return Eo(pt({ locale: r }, n));
4238
- }, To = $e(
4280
+ return Oo(xt({ locale: r }, n));
4281
+ }, Lo = We(
4239
4282
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4240
- (e, t = re()) => new Yi(e, t, fe().formats, {
4241
- ignoreTag: fe().ignoreTag
4283
+ (e, t = re()) => new no(e, t, he().formats, {
4284
+ ignoreTag: he().ignoreTag
4242
4285
  })
4243
- ), Oo = (e, t = {}) => {
4286
+ ), Bo = (e, t = {}) => {
4244
4287
  var r, n, i, o;
4245
4288
  let a = t;
4246
4289
  typeof e == "object" && (a = e, e = a.id);
4247
4290
  const {
4248
4291
  values: s,
4249
- locale: l = re(),
4250
- default: u
4292
+ locale: u = re(),
4293
+ default: l
4251
4294
  } = a;
4252
- if (l == null)
4295
+ if (u == null)
4253
4296
  throw new Error(
4254
4297
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4255
4298
  );
4256
- let h = kr(e, l);
4257
- if (!h)
4258
- h = (o = (i = (n = (r = fe()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4259
- else if (typeof h != "string")
4299
+ let c = Wr(e, u);
4300
+ if (!c)
4301
+ c = (o = (i = (n = (r = he()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4302
+ else if (typeof c != "string")
4260
4303
  return console.warn(
4261
- `[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.`
4262
- ), h;
4304
+ `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
4305
+ ), c;
4263
4306
  if (!s)
4264
- return h;
4265
- let c = h;
4307
+ return c;
4308
+ let h = c;
4266
4309
  try {
4267
- c = To(h, l).format(s);
4310
+ h = Lo(c, u).format(s);
4268
4311
  } catch (f) {
4269
4312
  f instanceof Error && console.warn(
4270
4313
  `[svelte-i18n] Message "${e}" has syntax error:`,
4271
4314
  f.message
4272
4315
  );
4273
4316
  }
4274
- return c;
4275
- }, Mo = (e, t) => Ho(t).format(e), Ao = (e, t) => So(t).format(e), Lo = (e, t) => wo(t).format(e), Po = (e, t = re()) => kr(e, t), Bo = ge([pe, Se], () => Oo);
4276
- ge([pe], () => Mo);
4277
- ge([pe], () => Ao);
4278
- ge([pe], () => Lo);
4279
- ge([pe, Se], () => Po);
4280
- window.emWidgets = { topic: Wn };
4281
- const Io = (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)), Co = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4282
- function No(e, t) {
4317
+ return h;
4318
+ }, Io = (e, t) => Po(t).format(e), Co = (e, t) => Ao(t).format(e), No = (e, t) => Mo(t).format(e), Ro = (e, t = re()) => Wr(e, t), Uo = pe([ge, Se], () => Bo);
4319
+ pe([ge], () => Io);
4320
+ pe([ge], () => Co);
4321
+ pe([ge], () => No);
4322
+ pe([ge, Se], () => Ro);
4323
+ window.emWidgets = { topic: Zn };
4324
+ const Fo = (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)), ko = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4325
+ function Do(e, t) {
4283
4326
  if (e) {
4284
4327
  const r = document.createElement("style");
4285
4328
  r.innerHTML = t, e.appendChild(r);
4286
4329
  }
4287
4330
  }
4288
- function Ro(e, t) {
4331
+ function Go(e, t) {
4289
4332
  const r = new URL(t);
4290
4333
  fetch(r.href).then((n) => n.text()).then((n) => {
4291
4334
  const i = document.createElement("style");
@@ -4294,7 +4337,7 @@ function Ro(e, t) {
4294
4337
  console.error("There was an error while trying to load client styling from URL", n);
4295
4338
  });
4296
4339
  }
4297
- function Uo(e, t, r) {
4340
+ function $o(e, t, r) {
4298
4341
  if (window.emMessageBus) {
4299
4342
  const n = document.createElement("style");
4300
4343
  window.emMessageBus.subscribe(t, (i) => {
@@ -4302,13 +4345,13 @@ function Uo(e, t, r) {
4302
4345
  });
4303
4346
  }
4304
4347
  }
4305
- function Qt(e, t) {
4306
- Gr(e, t);
4348
+ function er(e, t) {
4349
+ Xr(e, t);
4307
4350
  }
4308
- function Fo(e) {
4309
- pe.set(e);
4351
+ function jo(e) {
4352
+ ge.set(e);
4310
4353
  }
4311
- const qt = {
4354
+ const tr = {
4312
4355
  en: {
4313
4356
  language: "Select Language"
4314
4357
  },
@@ -4343,65 +4386,65 @@ const qt = {
4343
4386
  language: "Select Language"
4344
4387
  }
4345
4388
  };
4346
- function ko(e) {
4347
- un(e, "svelte-1kfw037", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}:host{font-family:inherit}input,textarea,button{font-family:inherit}.Skeleton{animation:skeleton-loading 0.6s linear infinite alternate}@keyframes skeleton-loading{0%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.2) 0%, rgba(0, 61, 93, 0.2) 100%)}12%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.225) 0%, rgba(0, 61, 93, 0.225) 100%)}25%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.25) 0%, rgba(0, 61, 93, 0.25) 100%)}33%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.275) 0%, rgba(0, 61, 93, 0.275) 100%)}50%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.3) 0%, rgba(0, 61, 93, 0.3) 100%)}63%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.325) 0%, rgba(0, 61, 93, 0.325) 100%)}75%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.35) 0%, rgba(0, 61, 93, 0.35) 100%)}88%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.375) 0%, rgba(0, 61, 93, 0.375) 100%)}100%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.4) 0%, rgba(0, 61, 93, 0.4) 100%)}}@keyframes increaseTransparency{0%{opacity:0}25%{opacity:0.25}75%{opacity:0.75}100%{opacity:1}}@keyframes decreaseTransparency{100%{opacity:1}75%{opacity:0.75}25%{opacity:0.25}0%{opacity:0}}@keyframes growWidthPercent{from{transform:scaleX(0)}to{transform:scaleX(1)}}@keyframes growWidth{from{transform:translateY(0)}to{transform:translateY(0)}}@keyframes decreaseWidth{from{transform:translateX(1)}to{transform:translateX(0)}}.NavIcon{width:30px;height:28px;position:relative;margin:3px auto;transform:rotate(0deg);transition:transform 0.2s ease-in-out;cursor:pointer}.NavIcon span{display:block;position:absolute;height:3px;width:100%;background:#ffffff;border-radius:9px;opacity:1;left:0;transform:rotate(0deg);transition:transform 0.2s ease-in-out, opacity 0.2s ease-in-out}.NavIcon span:nth-child(1){top:0px;width:80%}.NavIcon span:nth-child(2){top:9px}.NavIcon span:nth-child(3){top:18px}.NavIcon.Open span:nth-child(1){top:9px;width:100%;transform:rotate(135deg);transition:transform 0.3s ease-in-out}.NavIcon.Open span:nth-child(2){opacity:0;left:-60px}.NavIcon.Open span:nth-child(3){top:9px;transform:rotate(-135deg);transition:transform 0.3s ease-in-out}.SelectedOption{display:flex;align-items:center;justify-content:center}.SelectedOption .TriangleActive,.SelectedOption .TriangleInactive{display:block;margin:0 0 0 10px;transform:rotateX(0deg);transition:transform 0.2s ease-in-out}.SelectedOption .TriangleActive svg,.SelectedOption .TriangleInactive svg{margin:-2px 0px;fill:white}.SelectedOption .TriangleActive{transform:rotateX(180deg);transition:transform 0.2s ease-in-out}.SelectedOption .TriangleActive:hover{transform:rotateX(180deg);transition:transform 0.2s ease-in-out}.FlagIcon>img{width:20px;height:14px;margin-right:8px;border-radius:2px}.LanguageSelector{padding:5px 0;margin-bottom:0;display:flex;justify-content:space-between;background:linear-gradient(90deg, rgba(35, 178, 78, 0.9) 0%, rgba(0, 61, 93, 0.9) 100%);transition:transform 0.2s linear;height:44px}.LanguageSelector span{display:inline;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));opacity:0.8;padding:5px 0;display:flex;align-items:center;gap:15px;font-size:14px}.LanguageSelector:active{transition:all 0.2s ease}.LanguageSelector:active span{transition:all 0.1s linear;opacity:1}.LanguageSelector.Open{box-shadow:inset 0 -3.25em 0 0 var(--emw--color-primary)}.LanguageSelector .LanguageSelectorTitle{margin:0 20px}.LanguageSelector .LanguageDropdown{margin-right:16px;display:inline-block}.LanguageSelector .OptionList{position:absolute;background:linear-gradient(90deg, rgba(35, 178, 78, 0.1) 0%, rgba(0, 61, 93, 0.1) 100%);min-width:180px;z-index:1;overflow-y:auto;display:flex;flex-direction:column-reverse;bottom:44px;left:0;gap:5px;padding-bottom:5px;width:100%;height:0px;transition:transform 0.2s linear}.LanguageSelector .OptionList.Open{transition:transform 0.2s linear;height:auto;background-color:var(--emw--color-background-secondary, #000000);overflow:auto}.LanguageSelector .OptionList .LanguageOption{display:flex;border:2px solid #22B04E;border-radius:13px;align-items:center;opacity:0.2;height:0px;background:linear-gradient(90deg, rgba(35, 178, 78, 0.2) 0%, rgba(0, 61, 93, 0.2) 100%);margin:0 5px;transition:transform 0.3s linear}.LanguageSelector .OptionList .LanguageOption.Open{height:50px;opacity:1;padding:10px 5px}.LanguageSelector .OptionList .LanguageOption:active,.LanguageSelector .OptionList .LanguageOption:hover{background:linear-gradient(90deg, rgb(35, 178, 78) 0%, rgb(0, 61, 93) 100%);transform:scale(1.03);transition:transform 0.2s ease-in-out}.LanguageSelector .OptionList .LanguageOption:active span,.LanguageSelector .OptionList .LanguageOption:hover span{color:black}.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:flex;align-items:flex-start;position:fixed;width:100%;height:100%;z-index:100;z-index:999999;top:0;left:0;background-color:rgba(0, 0, 0, 0.85);animation:increaseTransparency 0.2s ease-in forwards}.HamburgerModalWindow>span{opacity:0}.HamburgerModalWindow .HamburgerModalContainer{max-width:992px;position:relative;background:var(--emw--color-primary);display:flex;flex-direction:column;justify-content:space-between;height:100%;padding:0;border-top:0;border-radius:0;overflow-x:hidden;overflow-y:scroll}.HamburgerModalWindow .HamburgerModalContainer.ActiveHamburgerMenu{animation:growWidth 0.2s forwards;transform-origin:left;will-change:transform}.HamburgerModalWindow .HamburgerModalContainer.Closing{animation:decreaseWidth 0.2s backwards;transform-origin:right;animation-fill-mode:backwards;will-change:transform}.HamburgerModalWindow .HamburgerModalContainer .Separator{width:100%;height:5px;background:rgb(0, 0, 0);background:linear-gradient(90deg, rgb(13, 78, 2) 0%, rgb(35, 172, 77) 50%, rgb(13, 78, 2) 100%);z-index:3}.HamburgerModalWindow .ModalCloseBtn{position:relative;top:25px;width:30px;height:30px;opacity:1;margin-left:7px;margin-right:9px;cursor:pointer}.HamburgerModalWindow .ModalCloseBtn .NavIcon .Open{width:90vw}.HamburgerModalWindow .ModalCloseBtn svg{width:20px;height:20px;padding:2px}.HamburgerModalWindow .HamburgerPrimaryMenu,.HamburgerModalWindow .HamburgerSecondaryMenu{font-size:12px;display:flex;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));transform-origin:left;transform:scaleX(0);animation:growWidthPercent 0.2s both;animation-delay:0.1s}.HamburgerModalWindow .HamburgerPrimaryMenu li,.HamburgerModalWindow .HamburgerSecondaryMenu li{transition:transform 150ms ease-in-out, opacity 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, #000000));white-space:nowrap;overflow-x:scroll;list-style:none;width:90vw;text-transform:uppercase;font-size:11px;transition:all 0.2s;height:80px}.HamburgerModalWindow .HamburgerPrimaryMenu>li{max-width:125px;padding:14px 25px;display:inline-block}.HamburgerModalWindow .HamburgerPrimaryMenu>li:active{transform:scale(1.1)}.HamburgerModalWindow .HamburgerPrimaryMenu>li.ActiveItem{background:var(--emw--header-color-primary, var(--emw--color-primary, #22B04F));color:black}.HamburgerModalWindow .HamburgerPrimaryMenu .Loading{width:150px;height:86px;margin:0 2px}.HamburgerModalWindow .HamburgerPrimaryMenu .HamburgerItemContainer{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:14px}.HamburgerModalWindow .HamburgerSecondaryMenu{margin-top:10px;list-style:none;height:calc(100% - 124px);overflow:auto;width:90vw;display:flex;flex-direction:column}.HamburgerModalWindow .HamburgerSecondaryMenu.Overlay{opacity:0.5;transition:opacity 0.2s ease-in-out}.HamburgerModalWindow .HamburgerSecondaryMenu li{padding:10px;display:flex;align-items:center;gap:15px;transition:transform 0.2s linear}.HamburgerModalWindow .HamburgerSecondaryMenu li:active{background-color:var(--emw--color-primary);transform:scale(1.1)}.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, #22B04F)}.FlagIcon{margin-left:12px}.NoFlag{width:88%;margin:0 20px}");
4389
+ function Wo(e) {
4390
+ pn(e, "svelte-1kfw037", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}:host{font-family:inherit}input,textarea,button{font-family:inherit}.Skeleton{animation:skeleton-loading 0.6s linear infinite alternate}@keyframes skeleton-loading{0%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.2) 0%, rgba(0, 61, 93, 0.2) 100%)}12%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.225) 0%, rgba(0, 61, 93, 0.225) 100%)}25%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.25) 0%, rgba(0, 61, 93, 0.25) 100%)}33%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.275) 0%, rgba(0, 61, 93, 0.275) 100%)}50%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.3) 0%, rgba(0, 61, 93, 0.3) 100%)}63%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.325) 0%, rgba(0, 61, 93, 0.325) 100%)}75%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.35) 0%, rgba(0, 61, 93, 0.35) 100%)}88%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.375) 0%, rgba(0, 61, 93, 0.375) 100%)}100%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.4) 0%, rgba(0, 61, 93, 0.4) 100%)}}@keyframes increaseTransparency{0%{opacity:0}25%{opacity:0.25}75%{opacity:0.75}100%{opacity:1}}@keyframes decreaseTransparency{100%{opacity:1}75%{opacity:0.75}25%{opacity:0.25}0%{opacity:0}}@keyframes growWidthPercent{from{transform:scaleX(0)}to{transform:scaleX(1)}}@keyframes growWidth{from{transform:translateY(0)}to{transform:translateY(0)}}@keyframes decreaseWidth{from{transform:translateX(1)}to{transform:translateX(0)}}.NavIcon{width:30px;height:28px;position:relative;margin:3px auto;transform:rotate(0deg);transition:transform 0.2s ease-in-out;cursor:pointer}.NavIcon span{display:block;position:absolute;height:3px;width:100%;background:#ffffff;border-radius:9px;opacity:1;left:0;transform:rotate(0deg);transition:transform 0.2s ease-in-out, opacity 0.2s ease-in-out}.NavIcon span:nth-child(1){top:0px;width:80%}.NavIcon span:nth-child(2){top:9px}.NavIcon span:nth-child(3){top:18px}.NavIcon.Open span:nth-child(1){top:9px;width:100%;transform:rotate(135deg);transition:transform 0.3s ease-in-out}.NavIcon.Open span:nth-child(2){opacity:0;left:-60px}.NavIcon.Open span:nth-child(3){top:9px;transform:rotate(-135deg);transition:transform 0.3s ease-in-out}.SelectedOption{display:flex;align-items:center;justify-content:center}.SelectedOption .TriangleActive,.SelectedOption .TriangleInactive{display:block;margin:0 0 0 10px;transform:rotateX(0deg);transition:transform 0.2s ease-in-out}.SelectedOption .TriangleActive svg,.SelectedOption .TriangleInactive svg{margin:-2px 0px;fill:white}.SelectedOption .TriangleActive{transform:rotateX(180deg);transition:transform 0.2s ease-in-out}.SelectedOption .TriangleActive:hover{transform:rotateX(180deg);transition:transform 0.2s ease-in-out}.FlagIcon>img{width:20px;height:14px;margin-right:8px;border-radius:2px}.LanguageSelector{padding:5px 0;margin-bottom:0;display:flex;justify-content:space-between;background:linear-gradient(90deg, rgba(35, 178, 78, 0.9) 0%, rgba(0, 61, 93, 0.9) 100%);transition:transform 0.2s linear;height:44px}.LanguageSelector span{display:inline;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));opacity:0.8;padding:5px 0;display:flex;align-items:center;gap:15px;font-size:14px}.LanguageSelector:active{transition:all 0.2s ease}.LanguageSelector:active span{transition:all 0.1s linear;opacity:1}.LanguageSelector.Open{box-shadow:inset 0 -3.25em 0 0 var(--emw--color-primary)}.LanguageSelector .LanguageSelectorTitle{margin:0 20px}.LanguageSelector .LanguageDropdown{margin-right:16px;display:inline-block}.LanguageSelector .OptionList{position:absolute;background:linear-gradient(90deg, rgba(35, 178, 78, 0.1) 0%, rgba(0, 61, 93, 0.1) 100%);min-width:180px;z-index:1;overflow-y:auto;display:flex;flex-direction:column-reverse;bottom:44px;left:0;gap:5px;padding-bottom:5px;width:100%;height:0px;transition:transform 0.2s linear}.LanguageSelector .OptionList.Open{transition:transform 0.2s linear;height:auto;background-color:var(--emw--color-background-secondary, #000000);overflow:auto}.LanguageSelector .OptionList .LanguageOption{display:flex;border:2px solid #22B04E;border-radius:13px;align-items:center;opacity:0.2;height:0px;background:linear-gradient(90deg, rgba(35, 178, 78, 0.2) 0%, rgba(0, 61, 93, 0.2) 100%);margin:0 5px;transition:transform 0.3s linear}.LanguageSelector .OptionList .LanguageOption.Open{height:50px;opacity:1;padding:10px 5px}.LanguageSelector .OptionList .LanguageOption:active,.LanguageSelector .OptionList .LanguageOption:hover{background:linear-gradient(90deg, rgb(35, 178, 78) 0%, rgb(0, 61, 93) 100%);transform:scale(1.03);transition:transform 0.2s ease-in-out}.LanguageSelector .OptionList .LanguageOption:active span,.LanguageSelector .OptionList .LanguageOption:hover span{color:black}.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:flex;align-items:flex-start;position:fixed;width:100%;height:100%;z-index:100;z-index:999999;top:0;left:0;background-color:rgba(0, 0, 0, 0.85);animation:increaseTransparency 0.2s ease-in forwards}.HamburgerModalWindow>span{opacity:0}.HamburgerModalWindow .HamburgerModalContainer{max-width:992px;position:relative;background:var(--emw--color-primary);display:flex;flex-direction:column;justify-content:space-between;height:100%;padding:0;border-top:0;border-radius:0;overflow-x:hidden;overflow-y:scroll}.HamburgerModalWindow .HamburgerModalContainer.ActiveHamburgerMenu{animation:growWidth 0.2s forwards;transform-origin:left;will-change:transform}.HamburgerModalWindow .HamburgerModalContainer.Closing{animation:decreaseWidth 0.2s backwards;transform-origin:right;animation-fill-mode:backwards;will-change:transform}.HamburgerModalWindow .HamburgerModalContainer .Separator{width:100%;height:5px;background:rgb(0, 0, 0);background:linear-gradient(90deg, rgb(13, 78, 2) 0%, rgb(35, 172, 77) 50%, rgb(13, 78, 2) 100%);z-index:3}.HamburgerModalWindow .ModalCloseBtn{position:relative;top:25px;width:30px;height:30px;opacity:1;margin-left:7px;margin-right:9px;cursor:pointer}.HamburgerModalWindow .ModalCloseBtn .NavIcon .Open{width:90vw}.HamburgerModalWindow .ModalCloseBtn svg{width:20px;height:20px;padding:2px}.HamburgerModalWindow .HamburgerPrimaryMenu,.HamburgerModalWindow .HamburgerSecondaryMenu{font-size:12px;display:flex;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));transform-origin:left;transform:scaleX(0);animation:growWidthPercent 0.2s both;animation-delay:0.1s}.HamburgerModalWindow .HamburgerPrimaryMenu li,.HamburgerModalWindow .HamburgerSecondaryMenu li{transition:transform 150ms ease-in-out, opacity 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, #000000));white-space:nowrap;overflow-x:scroll;list-style:none;width:90vw;text-transform:uppercase;font-size:11px;transition:all 0.2s;height:80px}.HamburgerModalWindow .HamburgerPrimaryMenu>li{max-width:125px;padding:14px 25px;display:inline-block}.HamburgerModalWindow .HamburgerPrimaryMenu>li:active{transform:scale(1.1)}.HamburgerModalWindow .HamburgerPrimaryMenu>li.ActiveItem{background:var(--emw--header-color-primary, var(--emw--color-primary, #22B04F));color:black}.HamburgerModalWindow .HamburgerPrimaryMenu .Loading{width:150px;height:86px;margin:0 2px}.HamburgerModalWindow .HamburgerPrimaryMenu .HamburgerItemContainer{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:14px}.HamburgerModalWindow .HamburgerSecondaryMenu{margin-top:10px;list-style:none;height:calc(100% - 124px);overflow:auto;width:90vw;display:flex;flex-direction:column}.HamburgerModalWindow .HamburgerSecondaryMenu.Overlay{opacity:0.5;transition:opacity 0.2s ease-in-out}.HamburgerModalWindow .HamburgerSecondaryMenu li{padding:10px;display:flex;align-items:center;gap:15px;transition:transform 0.2s linear}.HamburgerModalWindow .HamburgerSecondaryMenu li:active{background-color:var(--emw--color-primary);transform:scale(1.1)}.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, #22B04F)}.FlagIcon{margin-left:12px}.NoFlag{width:88%;margin:0 20px}");
4348
4391
  }
4349
- function Jt(e, t, r) {
4392
+ function rr(e, t, r) {
4350
4393
  const n = e.slice();
4351
4394
  return n[58] = t[r], n;
4352
4395
  }
4353
- function Yt(e, t, r) {
4396
+ function nr(e, t, r) {
4354
4397
  const n = e.slice();
4355
4398
  return n[1] = t[r], n;
4356
4399
  }
4357
- function Kt(e, t, r) {
4400
+ function ir(e, t, r) {
4358
4401
  const n = e.slice();
4359
4402
  return n[61] = t[r], n;
4360
4403
  }
4361
- function Do(e, t, r) {
4404
+ function Vo(e, t, r) {
4362
4405
  const n = e.slice();
4363
4406
  return n[67] = t[r], n;
4364
4407
  }
4365
- function er(e, t, r) {
4408
+ function or(e, t, r) {
4366
4409
  const n = e.slice();
4367
4410
  return n[64] = t[r], n;
4368
4411
  }
4369
- function tr(e) {
4370
- let t, r, n, i, o, a, s, l, u, h, c, f, m, p, y, S, T, B, L, G, C, V, X;
4412
+ function ar(e) {
4413
+ let t, r, n, i, o, a, s, u, l, c, h, f, p, m, y, w, H, B, P, G, C, V, z;
4371
4414
  function ne(x, R) {
4372
4415
  return (
4373
4416
  /*HamburgerMenuItems*/
4374
- x[4].length > 0 ? $o : Go
4417
+ x[4].length > 0 ? zo : Xo
4375
4418
  );
4376
4419
  }
4377
- let J = ne(e), N = J(e), j = Q(
4420
+ let J = ne(e), N = J(e), j = q(
4378
4421
  /*activeMenuItemChildren*/
4379
4422
  e[6]
4380
- ), M = [];
4423
+ ), O = [];
4381
4424
  for (let x = 0; x < j.length; x += 1)
4382
- M[x] = or(Kt(e, j, x));
4383
- let P = (
4425
+ O[x] = cr(ir(e, j, x));
4426
+ let L = (
4384
4427
  /*languagesArray*/
4385
- e[9].length > 1 && ar(e)
4428
+ e[9].length > 1 && hr(e)
4386
4429
  );
4387
4430
  return {
4388
4431
  c() {
4389
4432
  t = v("div"), r = v("div"), n = v("ul"), N.c(), i = U(), o = v("div"), a = U(), s = v("ul");
4390
- for (let x = 0; x < M.length; x += 1)
4391
- M[x].c();
4392
- u = U(), P && P.c(), c = U(), f = v("span"), m = v("div"), p = v("span"), y = U(), S = v("span"), T = U(), B = v("span"), g(n, "class", "HamburgerPrimaryMenu"), g(o, "class", "Separator"), g(s, "class", l = "HamburgerSecondaryMenu " + /*isOptionsListVisible*/
4393
- (e[10] ? "Overlay" : "")), g(r, "class", h = "HamburgerModalContainer " + /*modalIsOpen*/
4433
+ for (let x = 0; x < O.length; x += 1)
4434
+ O[x].c();
4435
+ l = U(), L && L.c(), h = U(), f = v("span"), p = v("div"), m = v("span"), y = U(), w = v("span"), H = U(), B = v("span"), g(n, "class", "HamburgerPrimaryMenu"), g(o, "class", "Separator"), g(s, "class", u = "HamburgerSecondaryMenu " + /*isOptionsListVisible*/
4436
+ (e[10] ? "Overlay" : "")), g(r, "class", c = "HamburgerModalContainer " + /*modalIsOpen*/
4394
4437
  (e[7] ? "ActiveHamburgerMenu" : "") + " " + /*isClosing*/
4395
- (e[12] ? "Closing" : "")), g(m, "class", L = "NavIcon " + (/*navIconClosing*/
4438
+ (e[12] ? "Closing" : "")), g(p, "class", P = "NavIcon " + (/*navIconClosing*/
4396
4439
  e[13] ? "" : "Open")), g(f, "class", G = /*modalIsOpen*/
4397
4440
  e[7] ? "ModalCloseBtn" : ""), g(f, "role", "button"), g(t, "class", C = "HamburgerModalWindow " + /*isClosing*/
4398
4441
  (e[12] ? " Closing" : ""));
4399
4442
  },
4400
4443
  m(x, R) {
4401
4444
  F(x, t, R), b(t, r), b(r, n), N.m(n, null), b(r, i), b(r, o), b(r, a), b(r, s);
4402
- for (let H = 0; H < M.length; H += 1)
4403
- M[H] && M[H].m(s, null);
4404
- b(r, u), P && P.m(r, null), b(t, c), b(t, f), b(f, m), b(m, p), b(m, y), b(m, S), b(m, T), b(m, B), e[40](t), V || (X = te(
4445
+ for (let S = 0; S < O.length; S += 1)
4446
+ O[S] && O[S].m(s, null);
4447
+ b(r, l), L && L.m(r, null), b(t, h), b(t, f), b(f, p), b(p, m), b(p, y), b(p, w), b(p, H), b(p, B), e[40](t), V || (z = te(
4405
4448
  f,
4406
4449
  "click",
4407
4450
  /*close*/
@@ -4411,47 +4454,47 @@ function tr(e) {
4411
4454
  p(x, R) {
4412
4455
  if (J === (J = ne(x)) && N ? N.p(x, R) : (N.d(1), N = J(x), N && (N.c(), N.m(n, null))), R[0] & /*handleClick, activeMenuItemChildren*/
4413
4456
  262208) {
4414
- j = Q(
4457
+ j = q(
4415
4458
  /*activeMenuItemChildren*/
4416
4459
  x[6]
4417
4460
  );
4418
- let H;
4419
- for (H = 0; H < j.length; H += 1) {
4420
- const W = Kt(x, j, H);
4421
- M[H] ? M[H].p(W, R) : (M[H] = or(W), M[H].c(), M[H].m(s, null));
4461
+ let S;
4462
+ for (S = 0; S < j.length; S += 1) {
4463
+ const W = ir(x, j, S);
4464
+ O[S] ? O[S].p(W, R) : (O[S] = cr(W), O[S].c(), O[S].m(s, null));
4422
4465
  }
4423
- for (; H < M.length; H += 1)
4424
- M[H].d(1);
4425
- M.length = j.length;
4466
+ for (; S < O.length; S += 1)
4467
+ O[S].d(1);
4468
+ O.length = j.length;
4426
4469
  }
4427
4470
  R[0] & /*isOptionsListVisible*/
4428
- 1024 && l !== (l = "HamburgerSecondaryMenu " + /*isOptionsListVisible*/
4429
- (x[10] ? "Overlay" : "")) && g(s, "class", l), /*languagesArray*/
4430
- x[9].length > 1 ? P ? P.p(x, R) : (P = ar(x), P.c(), P.m(r, null)) : P && (P.d(1), P = null), R[0] & /*modalIsOpen, isClosing*/
4431
- 4224 && h !== (h = "HamburgerModalContainer " + /*modalIsOpen*/
4471
+ 1024 && u !== (u = "HamburgerSecondaryMenu " + /*isOptionsListVisible*/
4472
+ (x[10] ? "Overlay" : "")) && g(s, "class", u), /*languagesArray*/
4473
+ x[9].length > 1 ? L ? L.p(x, R) : (L = hr(x), L.c(), L.m(r, null)) : L && (L.d(1), L = null), R[0] & /*modalIsOpen, isClosing*/
4474
+ 4224 && c !== (c = "HamburgerModalContainer " + /*modalIsOpen*/
4432
4475
  (x[7] ? "ActiveHamburgerMenu" : "") + " " + /*isClosing*/
4433
- (x[12] ? "Closing" : "")) && g(r, "class", h), R[0] & /*navIconClosing*/
4434
- 8192 && L !== (L = "NavIcon " + (/*navIconClosing*/
4435
- x[13] ? "" : "Open")) && g(m, "class", L), R[0] & /*modalIsOpen*/
4476
+ (x[12] ? "Closing" : "")) && g(r, "class", c), R[0] & /*navIconClosing*/
4477
+ 8192 && P !== (P = "NavIcon " + (/*navIconClosing*/
4478
+ x[13] ? "" : "Open")) && g(p, "class", P), R[0] & /*modalIsOpen*/
4436
4479
  128 && G !== (G = /*modalIsOpen*/
4437
4480
  x[7] ? "ModalCloseBtn" : "") && g(f, "class", G), R[0] & /*isClosing*/
4438
4481
  4096 && C !== (C = "HamburgerModalWindow " + /*isClosing*/
4439
4482
  (x[12] ? " Closing" : "")) && g(t, "class", C);
4440
4483
  },
4441
4484
  d(x) {
4442
- x && I(t), N.d(), we(M, x), P && P.d(), e[40](null), V = !1, X();
4485
+ x && I(t), N.d(), Ee(O, x), L && L.d(), e[40](null), V = !1, z();
4443
4486
  }
4444
4487
  };
4445
4488
  }
4446
- function Go(e) {
4447
- let t, r = Q(new Array(5)), n = [];
4489
+ function Xo(e) {
4490
+ let t, r = q(new Array(5)), n = [];
4448
4491
  for (let i = 0; i < r.length; i += 1)
4449
- n[i] = jo(Do(e, r, i));
4492
+ n[i] = Zo(Vo(e, r, i));
4450
4493
  return {
4451
4494
  c() {
4452
4495
  for (let i = 0; i < n.length; i += 1)
4453
4496
  n[i].c();
4454
- t = mr();
4497
+ t = vr();
4455
4498
  },
4456
4499
  m(i, o) {
4457
4500
  for (let a = 0; a < n.length; a += 1)
@@ -4460,22 +4503,22 @@ function Go(e) {
4460
4503
  },
4461
4504
  p: $,
4462
4505
  d(i) {
4463
- i && I(t), we(n, i);
4506
+ i && I(t), Ee(n, i);
4464
4507
  }
4465
4508
  };
4466
4509
  }
4467
- function $o(e) {
4468
- let t, r = Q(
4510
+ function zo(e) {
4511
+ let t, r = q(
4469
4512
  /*HamburgerMenuItems*/
4470
4513
  e[4]
4471
4514
  ), n = [];
4472
4515
  for (let i = 0; i < r.length; i += 1)
4473
- n[i] = nr(er(e, r, i));
4516
+ n[i] = ur(or(e, r, i));
4474
4517
  return {
4475
4518
  c() {
4476
4519
  for (let i = 0; i < n.length; i += 1)
4477
4520
  n[i].c();
4478
- t = mr();
4521
+ t = vr();
4479
4522
  },
4480
4523
  m(i, o) {
4481
4524
  for (let a = 0; a < n.length; a += 1)
@@ -4485,14 +4528,14 @@ function $o(e) {
4485
4528
  p(i, o) {
4486
4529
  if (o[0] & /*activeMenuItemId, HamburgerMenuItems, handlePrimaryMenuClick*/
4487
4530
  131120) {
4488
- r = Q(
4531
+ r = q(
4489
4532
  /*HamburgerMenuItems*/
4490
4533
  i[4]
4491
4534
  );
4492
4535
  let a;
4493
4536
  for (a = 0; a < r.length; a += 1) {
4494
- const s = er(i, r, a);
4495
- n[a] ? n[a].p(s, o) : (n[a] = nr(s), n[a].c(), n[a].m(t.parentNode, t));
4537
+ const s = or(i, r, a);
4538
+ n[a] ? n[a].p(s, o) : (n[a] = ur(s), n[a].c(), n[a].m(t.parentNode, t));
4496
4539
  }
4497
4540
  for (; a < n.length; a += 1)
4498
4541
  n[a].d(1);
@@ -4500,11 +4543,11 @@ function $o(e) {
4500
4543
  }
4501
4544
  },
4502
4545
  d(i) {
4503
- i && I(t), we(n, i);
4546
+ i && I(t), Ee(n, i);
4504
4547
  }
4505
4548
  };
4506
4549
  }
4507
- function jo(e) {
4550
+ function Zo(e) {
4508
4551
  let t;
4509
4552
  return {
4510
4553
  c() {
@@ -4519,7 +4562,7 @@ function jo(e) {
4519
4562
  }
4520
4563
  };
4521
4564
  }
4522
- function rr(e) {
4565
+ function sr(e) {
4523
4566
  let t, r;
4524
4567
  return {
4525
4568
  c() {
@@ -4539,13 +4582,13 @@ function rr(e) {
4539
4582
  }
4540
4583
  };
4541
4584
  }
4542
- function nr(e) {
4585
+ function ur(e) {
4543
4586
  let t, r, n, i, o = (
4544
4587
  /*mainItem*/
4545
4588
  e[64].label + ""
4546
- ), a, s, l, u, h, c = (
4589
+ ), a, s, u, l, c, h = (
4547
4590
  /*mainItem*/
4548
- e[64]?.img && rr(e)
4591
+ e[64]?.img && sr(e)
4549
4592
  );
4550
4593
  function f() {
4551
4594
  return (
@@ -4558,28 +4601,28 @@ function nr(e) {
4558
4601
  }
4559
4602
  return {
4560
4603
  c() {
4561
- t = v("li"), r = v("div"), c && c.c(), n = U(), i = v("p"), a = ee(o), s = U(), g(r, "class", "HamburgerItemContainer"), g(t, "class", l = /*activeMenuItemId*/
4604
+ t = v("li"), r = v("div"), h && h.c(), n = U(), i = v("p"), a = ee(o), s = U(), g(r, "class", "HamburgerItemContainer"), g(t, "class", u = /*activeMenuItemId*/
4562
4605
  e[5] === /*mainItem*/
4563
4606
  e[64].id ? "ActiveItem" : "");
4564
4607
  },
4565
- m(m, p) {
4566
- F(m, t, p), b(t, r), c && c.m(r, null), b(r, n), b(r, i), b(i, a), b(t, s), u || (h = te(t, "click", f), u = !0);
4608
+ m(p, m) {
4609
+ F(p, t, m), b(t, r), h && h.m(r, null), b(r, n), b(r, i), b(i, a), b(t, s), l || (c = te(t, "click", f), l = !0);
4567
4610
  },
4568
- p(m, p) {
4569
- e = m, /*mainItem*/
4570
- e[64]?.img ? c ? c.p(e, p) : (c = rr(e), c.c(), c.m(r, n)) : c && (c.d(1), c = null), p[0] & /*HamburgerMenuItems*/
4611
+ p(p, m) {
4612
+ e = p, /*mainItem*/
4613
+ e[64]?.img ? h ? h.p(e, m) : (h = sr(e), h.c(), h.m(r, n)) : h && (h.d(1), h = null), m[0] & /*HamburgerMenuItems*/
4571
4614
  16 && o !== (o = /*mainItem*/
4572
- e[64].label + "") && me(a, o), p[0] & /*activeMenuItemId, HamburgerMenuItems*/
4573
- 48 && l !== (l = /*activeMenuItemId*/
4615
+ e[64].label + "") && de(a, o), m[0] & /*activeMenuItemId, HamburgerMenuItems*/
4616
+ 48 && u !== (u = /*activeMenuItemId*/
4574
4617
  e[5] === /*mainItem*/
4575
- e[64].id ? "ActiveItem" : "") && g(t, "class", l);
4618
+ e[64].id ? "ActiveItem" : "") && g(t, "class", u);
4576
4619
  },
4577
- d(m) {
4578
- m && I(t), c && c.d(), u = !1, h();
4620
+ d(p) {
4621
+ p && I(t), h && h.d(), l = !1, c();
4579
4622
  }
4580
4623
  };
4581
4624
  }
4582
- function ir(e) {
4625
+ function lr(e) {
4583
4626
  let t, r;
4584
4627
  return {
4585
4628
  c() {
@@ -4599,124 +4642,124 @@ function ir(e) {
4599
4642
  }
4600
4643
  };
4601
4644
  }
4602
- function or(e) {
4645
+ function cr(e) {
4603
4646
  let t, r, n, i = (
4604
4647
  /*secondaryItem*/
4605
4648
  e[61].label + ""
4606
- ), o, a, s, l, u = (
4649
+ ), o, a, s, u, l = (
4607
4650
  /*secondaryItem*/
4608
- e[61]?.img && ir(e)
4651
+ e[61]?.img && lr(e)
4609
4652
  );
4610
- function h(...c) {
4653
+ function c(...h) {
4611
4654
  return (
4612
4655
  /*click_handler_1*/
4613
4656
  e[36](
4614
4657
  /*secondaryItem*/
4615
4658
  e[61],
4616
- ...c
4659
+ ...h
4617
4660
  )
4618
4661
  );
4619
4662
  }
4620
4663
  return {
4621
4664
  c() {
4622
- t = v("li"), u && u.c(), r = U(), n = v("p"), o = ee(i), a = U();
4665
+ t = v("li"), l && l.c(), r = U(), n = v("p"), o = ee(i), a = U();
4623
4666
  },
4624
- m(c, f) {
4625
- F(c, t, f), u && u.m(t, null), b(t, r), b(t, n), b(n, o), b(t, a), s || (l = te(t, "click", h), s = !0);
4667
+ m(h, f) {
4668
+ F(h, t, f), l && l.m(t, null), b(t, r), b(t, n), b(n, o), b(t, a), s || (u = te(t, "click", c), s = !0);
4626
4669
  },
4627
- p(c, f) {
4628
- e = c, /*secondaryItem*/
4629
- e[61]?.img ? u ? u.p(e, f) : (u = ir(e), u.c(), u.m(t, r)) : u && (u.d(1), u = null), f[0] & /*activeMenuItemChildren*/
4670
+ p(h, f) {
4671
+ e = h, /*secondaryItem*/
4672
+ e[61]?.img ? l ? l.p(e, f) : (l = lr(e), l.c(), l.m(t, r)) : l && (l.d(1), l = null), f[0] & /*activeMenuItemChildren*/
4630
4673
  64 && i !== (i = /*secondaryItem*/
4631
- e[61].label + "") && me(o, i);
4674
+ e[61].label + "") && de(o, i);
4632
4675
  },
4633
- d(c) {
4634
- c && I(t), u && u.d(), s = !1, l();
4676
+ d(h) {
4677
+ h && I(t), l && l.d(), s = !1, u();
4635
4678
  }
4636
4679
  };
4637
4680
  }
4638
- function ar(e) {
4681
+ function hr(e) {
4639
4682
  let t, r, n = (
4640
4683
  /*$_*/
4641
4684
  e[15]("language") + ""
4642
- ), i, o, a, s, l;
4643
- function u(f, m) {
4685
+ ), i, o, a, s, u;
4686
+ function l(f, p) {
4644
4687
  return (
4645
4688
  /*countryflaghamburger*/
4646
- f[0] !== "true" ? Vo : Wo
4689
+ f[0] !== "true" ? qo : Qo
4647
4690
  );
4648
4691
  }
4649
- let h = u(e), c = h(e);
4692
+ let c = l(e), h = c(e);
4650
4693
  return {
4651
4694
  c() {
4652
- t = v("div"), r = v("span"), i = ee(n), o = U(), c.c(), g(r, "class", "LanguageSelectorTitle"), g(t, "class", a = "LanguageSelector " + /*isOptionsListVisible*/
4695
+ t = v("div"), r = v("span"), i = ee(n), o = U(), h.c(), g(r, "class", "LanguageSelectorTitle"), g(t, "class", a = "LanguageSelector " + /*isOptionsListVisible*/
4653
4696
  (e[10] ? "Open" : ""));
4654
4697
  },
4655
- m(f, m) {
4656
- F(f, t, m), b(t, r), b(r, i), b(t, o), c.m(t, null), s || (l = te(
4698
+ m(f, p) {
4699
+ F(f, t, p), b(t, r), b(r, i), b(t, o), h.m(t, null), s || (u = te(
4657
4700
  t,
4658
4701
  "click",
4659
4702
  /*toggleLanguageDropdown*/
4660
4703
  e[21]
4661
4704
  ), s = !0);
4662
4705
  },
4663
- p(f, m) {
4664
- m[0] & /*$_*/
4706
+ p(f, p) {
4707
+ p[0] & /*$_*/
4665
4708
  32768 && n !== (n = /*$_*/
4666
- f[15]("language") + "") && me(i, n), h === (h = u(f)) && c ? c.p(f, m) : (c.d(1), c = h(f), c && (c.c(), c.m(t, null))), m[0] & /*isOptionsListVisible*/
4709
+ f[15]("language") + "") && de(i, n), c === (c = l(f)) && h ? h.p(f, p) : (h.d(1), h = c(f), h && (h.c(), h.m(t, null))), p[0] & /*isOptionsListVisible*/
4667
4710
  1024 && a !== (a = "LanguageSelector " + /*isOptionsListVisible*/
4668
4711
  (f[10] ? "Open" : "")) && g(t, "class", a);
4669
4712
  },
4670
4713
  d(f) {
4671
- f && I(t), c.d(), s = !1, l();
4714
+ f && I(t), h.d(), s = !1, u();
4672
4715
  }
4673
4716
  };
4674
4717
  }
4675
- function Wo(e) {
4676
- let t, r, n, i, o, a, s, l = (
4718
+ function Qo(e) {
4719
+ let t, r, n, i, o, a, s, u = (
4677
4720
  /*selectedLanguage*/
4678
4721
  e[14].slice(-2) + ""
4679
- ), u, h, c, f, m, p, y, S = (
4722
+ ), l, c, h, f, p, m, y, w = (
4680
4723
  /*isOptionsListVisible*/
4681
- e[10] && sr(e)
4724
+ e[10] && fr(e)
4682
4725
  );
4683
4726
  return {
4684
4727
  c() {
4685
- t = v("div"), r = v("div"), n = v("span"), i = v("img"), a = U(), s = v("span"), u = ee(l), h = U(), c = v("span"), f = Ht("svg"), m = Ht("path"), y = U(), S && S.c(), K(i.src, o = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
4728
+ t = v("div"), r = v("div"), n = v("span"), i = v("img"), a = U(), s = v("span"), l = ee(u), c = U(), h = v("span"), f = Pt("svg"), p = Pt("path"), y = U(), w && w.c(), K(i.src, o = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
4686
4729
  e[22](
4687
4730
  /*selectedLanguage*/
4688
4731
  e[14]
4689
- )}.svg`) || g(i, "src", o), g(n, "class", "FlagIcon"), g(s, "class", "LanguageName"), g(m, "id", "arrow"), g(m, "d", "M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"), g(m, "transform", "translate(-274.511 -441.088)"), g(m, "fill", "#d1d1d1"), g(f, "xmlns", "http://www.w3.org/2000/svg"), g(f, "width", "14"), g(f, "height", "6.835"), g(f, "viewBox", "0 0 14 6.835"), g(c, "class", p = "TriangleInactive " + /*isOptionsListVisible*/
4732
+ )}.svg`) || g(i, "src", o), g(n, "class", "FlagIcon"), g(s, "class", "LanguageName"), g(p, "id", "arrow"), g(p, "d", "M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"), g(p, "transform", "translate(-274.511 -441.088)"), g(p, "fill", "#d1d1d1"), g(f, "xmlns", "http://www.w3.org/2000/svg"), g(f, "width", "14"), g(f, "height", "6.835"), g(f, "viewBox", "0 0 14 6.835"), g(h, "class", m = "TriangleInactive " + /*isOptionsListVisible*/
4690
4733
  (e[10] ? "TriangleActive" : "")), g(r, "class", "SelectedOption Item ItemLanguage"), g(t, "class", "LanguageDropdown");
4691
4734
  },
4692
- m(T, B) {
4693
- F(T, t, B), b(t, r), b(r, n), b(n, i), b(r, a), b(r, s), b(s, u), b(r, h), b(r, c), b(c, f), b(f, m), b(t, y), S && S.m(t, null);
4735
+ m(H, B) {
4736
+ F(H, t, B), b(t, r), b(r, n), b(n, i), b(r, a), b(r, s), b(s, l), b(r, c), b(r, h), b(h, f), b(f, p), b(t, y), w && w.m(t, null);
4694
4737
  },
4695
- p(T, B) {
4738
+ p(H, B) {
4696
4739
  B[0] & /*selectedLanguage, languagesArray*/
4697
4740
  16896 && !K(i.src, o = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
4698
- T[22](
4741
+ H[22](
4699
4742
  /*selectedLanguage*/
4700
- T[14]
4743
+ H[14]
4701
4744
  )}.svg`) && g(i, "src", o), B[0] & /*selectedLanguage*/
4702
- 16384 && l !== (l = /*selectedLanguage*/
4703
- T[14].slice(-2) + "") && me(u, l), B[0] & /*isOptionsListVisible*/
4704
- 1024 && p !== (p = "TriangleInactive " + /*isOptionsListVisible*/
4705
- (T[10] ? "TriangleActive" : "")) && g(c, "class", p), /*isOptionsListVisible*/
4706
- T[10] ? S ? S.p(T, B) : (S = sr(T), S.c(), S.m(t, null)) : S && (S.d(1), S = null);
4745
+ 16384 && u !== (u = /*selectedLanguage*/
4746
+ H[14].slice(-2) + "") && de(l, u), B[0] & /*isOptionsListVisible*/
4747
+ 1024 && m !== (m = "TriangleInactive " + /*isOptionsListVisible*/
4748
+ (H[10] ? "TriangleActive" : "")) && g(h, "class", m), /*isOptionsListVisible*/
4749
+ H[10] ? w ? w.p(H, B) : (w = fr(H), w.c(), w.m(t, null)) : w && (w.d(1), w = null);
4707
4750
  },
4708
- d(T) {
4709
- T && I(t), S && S.d();
4751
+ d(H) {
4752
+ H && I(t), w && w.d();
4710
4753
  }
4711
4754
  };
4712
4755
  }
4713
- function Vo(e) {
4714
- let t, r, n, i = Q(
4756
+ function qo(e) {
4757
+ let t, r, n, i = q(
4715
4758
  /*languagesArray*/
4716
4759
  e[9]
4717
4760
  ), o = [];
4718
4761
  for (let a = 0; a < i.length; a += 1)
4719
- o[a] = ur(Yt(e, i, a));
4762
+ o[a] = pr(nr(e, i, a));
4720
4763
  return {
4721
4764
  c() {
4722
4765
  t = v("select");
@@ -4730,9 +4773,9 @@ function Vo(e) {
4730
4773
  },
4731
4774
  m(a, s) {
4732
4775
  F(a, t, s);
4733
- for (let l = 0; l < o.length; l += 1)
4734
- o[l] && o[l].m(t, null);
4735
- Ot(
4776
+ for (let u = 0; u < o.length; u += 1)
4777
+ o[u] && o[u].m(t, null);
4778
+ Bt(
4736
4779
  t,
4737
4780
  /*selectedLanguage*/
4738
4781
  e[14],
@@ -4755,38 +4798,38 @@ function Vo(e) {
4755
4798
  p(a, s) {
4756
4799
  if (s[0] & /*languagesArray*/
4757
4800
  512) {
4758
- i = Q(
4801
+ i = q(
4759
4802
  /*languagesArray*/
4760
4803
  a[9]
4761
4804
  );
4762
- let l;
4763
- for (l = 0; l < i.length; l += 1) {
4764
- const u = Yt(a, i, l);
4765
- o[l] ? o[l].p(u, s) : (o[l] = ur(u), o[l].c(), o[l].m(t, null));
4805
+ let u;
4806
+ for (u = 0; u < i.length; u += 1) {
4807
+ const l = nr(a, i, u);
4808
+ o[u] ? o[u].p(l, s) : (o[u] = pr(l), o[u].c(), o[u].m(t, null));
4766
4809
  }
4767
- for (; l < o.length; l += 1)
4768
- o[l].d(1);
4810
+ for (; u < o.length; u += 1)
4811
+ o[u].d(1);
4769
4812
  o.length = i.length;
4770
4813
  }
4771
4814
  s[0] & /*selectedLanguage, languagesArray*/
4772
- 16896 && Ot(
4815
+ 16896 && Bt(
4773
4816
  t,
4774
4817
  /*selectedLanguage*/
4775
4818
  a[14]
4776
4819
  );
4777
4820
  },
4778
4821
  d(a) {
4779
- a && I(t), we(o, a), r = !1, de(n);
4822
+ a && I(t), Ee(o, a), r = !1, fe(n);
4780
4823
  }
4781
4824
  };
4782
4825
  }
4783
- function sr(e) {
4784
- let t, r, n = Q(
4826
+ function fr(e) {
4827
+ let t, r, n = q(
4785
4828
  /*languagesArray*/
4786
4829
  e[9]
4787
4830
  ), i = [];
4788
4831
  for (let o = 0; o < n.length; o += 1)
4789
- i[o] = lr(Jt(e, n, o));
4832
+ i[o] = dr(rr(e, n, o));
4790
4833
  return {
4791
4834
  c() {
4792
4835
  t = v("div");
@@ -4803,14 +4846,14 @@ function sr(e) {
4803
4846
  p(o, a) {
4804
4847
  if (a[0] & /*languageListOpen, selectLanguage, languagesArray, determineFlag*/
4805
4848
  5245440) {
4806
- n = Q(
4849
+ n = q(
4807
4850
  /*languagesArray*/
4808
4851
  o[9]
4809
4852
  );
4810
4853
  let s;
4811
4854
  for (s = 0; s < n.length; s += 1) {
4812
- const l = Jt(o, n, s);
4813
- i[s] ? i[s].p(l, a) : (i[s] = lr(l), i[s].c(), i[s].m(t, null));
4855
+ const u = rr(o, n, s);
4856
+ i[s] ? i[s].p(u, a) : (i[s] = dr(u), i[s].c(), i[s].m(t, null));
4814
4857
  }
4815
4858
  for (; s < i.length; s += 1)
4816
4859
  i[s].d(1);
@@ -4821,16 +4864,16 @@ function sr(e) {
4821
4864
  (o[11] ? "Open" : "")) && g(t, "class", r);
4822
4865
  },
4823
4866
  d(o) {
4824
- o && I(t), we(i, o);
4867
+ o && I(t), Ee(i, o);
4825
4868
  }
4826
4869
  };
4827
4870
  }
4828
- function lr(e) {
4871
+ function dr(e) {
4829
4872
  let t, r, n, i, o, a, s = (
4830
4873
  /*operatorLanguage*/
4831
4874
  e[58] + ""
4832
- ), l, u, h, c, f;
4833
- function m() {
4875
+ ), u, l, c, h, f;
4876
+ function p() {
4834
4877
  return (
4835
4878
  /*click_handler_2*/
4836
4879
  e[39](
@@ -4841,34 +4884,34 @@ function lr(e) {
4841
4884
  }
4842
4885
  return {
4843
4886
  c() {
4844
- t = v("div"), r = v("span"), n = v("img"), o = U(), a = v("span"), l = ee(s), u = U(), K(n.src, i = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
4887
+ t = v("div"), r = v("span"), n = v("img"), o = U(), a = v("span"), u = ee(s), l = U(), K(n.src, i = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
4845
4888
  e[22](
4846
4889
  /*operatorLanguage*/
4847
4890
  e[58]
4848
- )}.svg`) || g(n, "src", i), g(r, "class", "FlagIcon"), g(a, "class", "LanguageName"), g(t, "class", h = "LanguageOption " + /*languageListOpen*/
4891
+ )}.svg`) || g(n, "src", i), g(r, "class", "FlagIcon"), g(a, "class", "LanguageName"), g(t, "class", c = "LanguageOption " + /*languageListOpen*/
4849
4892
  (e[11] ? "Open" : ""));
4850
4893
  },
4851
- m(p, y) {
4852
- F(p, t, y), b(t, r), b(r, n), b(t, o), b(t, a), b(a, l), b(t, u), c || (f = te(t, "click", m), c = !0);
4894
+ m(m, y) {
4895
+ F(m, t, y), b(t, r), b(r, n), b(t, o), b(t, a), b(a, u), b(t, l), h || (f = te(t, "click", p), h = !0);
4853
4896
  },
4854
- p(p, y) {
4855
- e = p, y[0] & /*languagesArray*/
4897
+ p(m, y) {
4898
+ e = m, y[0] & /*languagesArray*/
4856
4899
  512 && !K(n.src, i = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
4857
4900
  e[22](
4858
4901
  /*operatorLanguage*/
4859
4902
  e[58]
4860
4903
  )}.svg`) && g(n, "src", i), y[0] & /*languagesArray*/
4861
4904
  512 && s !== (s = /*operatorLanguage*/
4862
- e[58] + "") && me(l, s), y[0] & /*languageListOpen*/
4863
- 2048 && h !== (h = "LanguageOption " + /*languageListOpen*/
4864
- (e[11] ? "Open" : "")) && g(t, "class", h);
4905
+ e[58] + "") && de(u, s), y[0] & /*languageListOpen*/
4906
+ 2048 && c !== (c = "LanguageOption " + /*languageListOpen*/
4907
+ (e[11] ? "Open" : "")) && g(t, "class", c);
4865
4908
  },
4866
- d(p) {
4867
- p && I(t), c = !1, f();
4909
+ d(m) {
4910
+ m && I(t), h = !1, f();
4868
4911
  }
4869
4912
  };
4870
4913
  }
4871
- function ur(e) {
4914
+ function pr(e) {
4872
4915
  let t, r = (
4873
4916
  /*lang*/
4874
4917
  e[1].slice(-2) + ""
@@ -4876,7 +4919,7 @@ function ur(e) {
4876
4919
  return {
4877
4920
  c() {
4878
4921
  t = v("option"), n = ee(r), t.__value = i = /*lang*/
4879
- e[1], Tt(t, t.__value), t.selected = !0;
4922
+ e[1], Lt(t, t.__value), t.selected = !0;
4880
4923
  },
4881
4924
  m(o, a) {
4882
4925
  F(o, t, a), b(t, n);
@@ -4884,19 +4927,19 @@ function ur(e) {
4884
4927
  p(o, a) {
4885
4928
  a[0] & /*languagesArray*/
4886
4929
  512 && r !== (r = /*lang*/
4887
- o[1].slice(-2) + "") && me(n, r), a[0] & /*languagesArray*/
4930
+ o[1].slice(-2) + "") && de(n, r), a[0] & /*languagesArray*/
4888
4931
  512 && i !== (i = /*lang*/
4889
- o[1]) && (t.__value = i, Tt(t, t.__value));
4932
+ o[1]) && (t.__value = i, Lt(t, t.__value));
4890
4933
  },
4891
4934
  d(o) {
4892
4935
  o && I(t);
4893
4936
  }
4894
4937
  };
4895
4938
  }
4896
- function Xo(e) {
4939
+ function Jo(e) {
4897
4940
  let t, r = (
4898
4941
  /*show*/
4899
- e[8] === !0 && tr(e)
4942
+ e[8] === !0 && ar(e)
4900
4943
  );
4901
4944
  return {
4902
4945
  c() {
@@ -4907,7 +4950,7 @@ function Xo(e) {
4907
4950
  },
4908
4951
  p(n, i) {
4909
4952
  /*show*/
4910
- n[8] === !0 ? r ? r.p(n, i) : (r = tr(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
4953
+ n[8] === !0 ? r ? r.p(n, i) : (r = ar(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
4911
4954
  },
4912
4955
  i: $,
4913
4956
  o: $,
@@ -4916,30 +4959,30 @@ function Xo(e) {
4916
4959
  }
4917
4960
  };
4918
4961
  }
4919
- function zo(e, t, r) {
4962
+ function Yo(e, t, r) {
4920
4963
  let n;
4921
- ln(e, Bo, (d) => r(15, n = d));
4922
- let { menuitemsurl: i = "" } = t, { cmsendpoint: o } = t, { cmsenv: a = "stage" } = t, { userroles: s } = t, { lang: l = "en" } = t, { activecategory: u = "" } = t, { languageslist: h = "" } = t, { translationurl: c = "" } = t, { mbsource: f } = t, { clientstyling: m = "" } = t, { clientstylingurl: p = "" } = t, { customlocaleidentifier: y = "" } = t, { countryflaghamburger: S = "" } = t, T, B = window.navigator.userAgent, L = [], G, C = "", V = [], X = !1, ne = !1, J = !0, N = [], j = !1, M = !1, P = !1, x = !1, R = !0, H, W = "", z;
4923
- const zr = () => {
4924
- fetch(c).then((d) => d.json()).then((d) => {
4925
- Object.keys(d).forEach((A) => {
4926
- Qt(A, d[A]);
4964
+ dn(e, Uo, (d) => r(15, n = d));
4965
+ let { menuitemsurl: i = "" } = t, { cmsendpoint: o } = t, { cmsenv: a = "stage" } = t, { userroles: s } = t, { lang: u = "en" } = t, { activecategory: l = "" } = t, { languageslist: c = "" } = t, { translationurl: h = "" } = t, { mbsource: f } = t, { clientstyling: p = "" } = t, { clientstylingurl: m = "" } = t, { customlocaleidentifier: y = "" } = t, { countryflaghamburger: w = "" } = t, H, B = window.navigator.userAgent, P = [], G, C = "", V = [], z = !1, ne = !1, J = !0, N = [], j = !1, O = !1, L = !1, x = !1, R = !0, S, W = "", Z;
4966
+ const Yr = () => {
4967
+ fetch(h).then((d) => d.json()).then((d) => {
4968
+ Object.keys(d).forEach((M) => {
4969
+ er(M, d[M]);
4927
4970
  });
4928
4971
  }).catch((d) => {
4929
4972
  console.log(d);
4930
4973
  });
4931
4974
  };
4932
- Object.keys(qt).forEach((d) => {
4933
- Qt(d, qt[d]);
4975
+ Object.keys(tr).forEach((d) => {
4976
+ er(d, tr[d]);
4934
4977
  });
4935
- const je = () => {
4936
- H = new URL(`${o}/${W.toLowerCase()}/hamburger-menu`);
4937
- let d = Co(B);
4938
- d && (d === "PC" ? H.searchParams.append("device", "dk") : H.searchParams.append("device", "mtWeb")), H.searchParams.append("env", a), H.searchParams.append("language", W.toLowerCase()), H.searchParams.append("userRoles", s);
4939
- }, bt = () => {
4940
- r(12, x = !0), r(13, R = !0), r(10, M = !1), r(11, P = !1), setTimeout(
4978
+ const Ve = () => {
4979
+ S = new URL(`${o}/${W.toLowerCase()}/hamburger-menu`);
4980
+ let d = ko(B);
4981
+ d && (d === "PC" ? S.searchParams.append("device", "dk") : S.searchParams.append("device", "mtWeb")), S.searchParams.append("env", a), S.searchParams.append("language", W.toLowerCase()), S.searchParams.append("userRoles", s);
4982
+ }, Et = () => {
4983
+ r(12, x = !0), r(13, R = !0), r(10, O = !1), r(11, L = !1), setTimeout(
4941
4984
  () => {
4942
- r(8, ne = !1), r(7, X = !1);
4985
+ r(8, ne = !1), r(7, z = !1);
4943
4986
  },
4944
4987
  200
4945
4988
  ), window.postMessage(
@@ -4949,41 +4992,41 @@ function zo(e, t, r) {
4949
4992
  },
4950
4993
  window.location.href
4951
4994
  );
4952
- }, yt = (d) => {
4995
+ }, wt = (d) => {
4953
4996
  d.data.type === "OpenHamburgerMenuModal" && (window.postMessage({ type: "DisableScroll" }, window.location.href), r(12, x = !1), setTimeout(
4954
4997
  () => {
4955
4998
  r(13, R = !1);
4956
4999
  },
4957
5000
  125
4958
- ), r(8, ne = !0), r(7, X = !0), je(), xt(H)), d.data.type === "LanguageChanged" && (j = !0, je(), xt(H));
4959
- }, We = (d, A) => {
4960
- r(5, C = d), r(6, V = A || []), typeof gtag == "function" && gtag("event", "ChangeMenu", {
5001
+ ), r(8, ne = !0), r(7, z = !0), Ve(), Tt(S)), d.data.type === "LanguageChanged" && (j = !0, Ve(), Tt(S));
5002
+ }, Xe = (d, M) => {
5003
+ r(5, C = d), r(6, V = M || []), typeof gtag == "function" && gtag("event", "ChangeMenu", {
4961
5004
  context: "HamburgerMenu",
4962
5005
  menuItem: `${C}`
4963
5006
  });
4964
- }, vt = (d) => {
4965
- !d?.children && d?.path && d?.keyword?.includes("InternalLink") && Ve(d), We(d.id, d.children);
4966
- }, _t = () => {
4967
- let d = L.filter((A) => {
5007
+ }, St = (d) => {
5008
+ !d?.children && d?.path && d?.keyword?.includes("InternalLink") && ze(d), Xe(d.id, d.children);
5009
+ }, Ht = () => {
5010
+ let d = P.filter((M) => {
4968
5011
  let He = !1;
4969
- return A.children?.forEach((on) => {
4970
- on.path.includes(u) && (He = !0);
5012
+ return M.children?.forEach((cn) => {
5013
+ cn.path.includes(l) && (He = !0);
4971
5014
  }), He;
4972
5015
  });
4973
- d.length > 0 ? We(d[0].id, d[0].children) : We(L[0].id, L[0].children);
4974
- }, xt = (d) => {
4975
- G && !j || Et(d);
4976
- }, Et = (d) => {
4977
- fetch(d).then((A) => A.json()).then(
4978
- (A) => {
4979
- r(4, L = A.filter((He) => He?.type !== "banner")), _t(), r(34, J = !1), G = A, j = !1;
5016
+ d.length > 0 ? Xe(d[0].id, d[0].children) : Xe(P[0].id, P[0].children);
5017
+ }, Tt = (d) => {
5018
+ G && !j || Ot(d);
5019
+ }, Ot = (d) => {
5020
+ fetch(d).then((M) => M.json()).then(
5021
+ (M) => {
5022
+ r(4, P = M.filter((He) => He?.type !== "banner")), Ht(), r(34, J = !1), G = M, j = !1;
4980
5023
  },
4981
- (A) => {
4982
- console.error(A);
5024
+ (M) => {
5025
+ console.error(M);
4983
5026
  }
4984
5027
  );
4985
5028
  };
4986
- let Ve = (d) => {
5029
+ let ze = (d) => {
4987
5030
  window.postMessage(
4988
5031
  {
4989
5032
  type: "NavigateTo",
@@ -4992,9 +5035,9 @@ function zo(e, t, r) {
4992
5035
  target: d.attrs.target || null
4993
5036
  },
4994
5037
  window.location.href
4995
- ), bt();
5038
+ ), Et();
4996
5039
  };
4997
- const Xe = () => {
5040
+ const Ze = () => {
4998
5041
  j = !0, window.postMessage(
4999
5042
  {
5000
5043
  type: "LanguageChanged",
@@ -5002,122 +5045,122 @@ function zo(e, t, r) {
5002
5045
  },
5003
5046
  window.location.href
5004
5047
  );
5005
- }, Zr = () => {
5006
- Fo(l), je(), j && Et(H), r(9, N = h.replace(/ /g, "").split(",")), r(9, N = N.map((d) => d.toUpperCase())), r(14, W = l.toUpperCase());
5007
- }, wt = (d) => {
5048
+ }, Kr = () => {
5049
+ jo(u), Ve(), j && Ot(S), r(9, N = c.replace(/ /g, "").split(",")), r(9, N = N.map((d) => d.toUpperCase())), r(14, W = u.toUpperCase());
5050
+ }, Mt = (d) => {
5008
5051
  r(14, W = d), setTimeout(
5009
5052
  () => {
5010
- r(11, P = !1);
5053
+ r(11, L = !1);
5011
5054
  },
5012
5055
  250
5013
5056
  ), setTimeout(
5014
5057
  () => {
5015
- r(10, M = !1);
5058
+ r(10, O = !1);
5016
5059
  },
5017
5060
  500
5018
- ), Xe();
5019
- }, Qr = () => {
5020
- M ? (setTimeout(
5061
+ ), Ze();
5062
+ }, en = () => {
5063
+ O ? (setTimeout(
5021
5064
  () => {
5022
- r(10, M = !1);
5065
+ r(10, O = !1);
5023
5066
  },
5024
5067
  250
5025
- ), r(11, P = !1)) : (r(10, M = !0), setTimeout(
5068
+ ), r(11, L = !1)) : (r(10, O = !0), setTimeout(
5026
5069
  () => {
5027
- r(11, P = !0);
5070
+ r(11, L = !0);
5028
5071
  },
5029
5072
  300
5030
5073
  ));
5031
- }, qr = (d) => {
5032
- let A = d ? d.slice(-2) : W.slice(-2);
5033
- return y && (A = y.includes(A.toLowerCase()) ? y.slice(-2) : A), A == "EN" ? "GB" : A.toUpperCase();
5074
+ }, tn = (d) => {
5075
+ let M = d ? d.slice(-2) : W.slice(-2);
5076
+ return y && (M = y.includes(M.toLowerCase()) ? y.slice(-2) : M), M == "EN" ? "GB" : M.toUpperCase();
5034
5077
  };
5035
- pn(() => (window.addEventListener("message", yt, !1), Io(B), () => {
5036
- window.removeEventListener("message", yt);
5078
+ xn(() => (window.addEventListener("message", wt, !1), Fo(B), () => {
5079
+ window.removeEventListener("message", wt);
5037
5080
  }));
5038
- const Jr = (d) => vt(d), Yr = (d, A) => {
5039
- Ve(d), A.preventDefault();
5081
+ const rn = (d) => St(d), nn = (d, M) => {
5082
+ ze(d), M.preventDefault();
5040
5083
  };
5041
- function Kr() {
5042
- W = dn(this), r(14, W), r(9, N);
5084
+ function on() {
5085
+ W = yn(this), r(14, W), r(9, N);
5043
5086
  }
5044
- const en = () => Xe(), tn = (d) => wt(d);
5045
- function rn(d) {
5087
+ const an = () => Ze(), sn = (d) => Mt(d);
5088
+ function un(d) {
5046
5089
  Ce[d ? "unshift" : "push"](() => {
5047
- T = d, r(3, T);
5090
+ H = d, r(3, H);
5048
5091
  });
5049
5092
  }
5050
- function nn(d) {
5093
+ function ln(d) {
5051
5094
  Ce[d ? "unshift" : "push"](() => {
5052
- z = d, r(2, z);
5095
+ Z = d, r(2, Z);
5053
5096
  });
5054
5097
  }
5055
5098
  return e.$$set = (d) => {
5056
- "menuitemsurl" in d && r(23, i = d.menuitemsurl), "cmsendpoint" in d && r(24, o = d.cmsendpoint), "cmsenv" in d && r(25, a = d.cmsenv), "userroles" in d && r(26, s = d.userroles), "lang" in d && r(1, l = d.lang), "activecategory" in d && r(27, u = d.activecategory), "languageslist" in d && r(28, h = d.languageslist), "translationurl" in d && r(29, c = d.translationurl), "mbsource" in d && r(30, f = d.mbsource), "clientstyling" in d && r(31, m = d.clientstyling), "clientstylingurl" in d && r(32, p = d.clientstylingurl), "customlocaleidentifier" in d && r(33, y = d.customlocaleidentifier), "countryflaghamburger" in d && r(0, S = d.countryflaghamburger);
5099
+ "menuitemsurl" in d && r(23, i = d.menuitemsurl), "cmsendpoint" in d && r(24, o = d.cmsendpoint), "cmsenv" in d && r(25, a = d.cmsenv), "userroles" in d && r(26, s = d.userroles), "lang" in d && r(1, u = d.lang), "activecategory" in d && r(27, l = d.activecategory), "languageslist" in d && r(28, c = d.languageslist), "translationurl" in d && r(29, h = d.translationurl), "mbsource" in d && r(30, f = d.mbsource), "clientstyling" in d && r(31, p = d.clientstyling), "clientstylingurl" in d && r(32, m = d.clientstylingurl), "customlocaleidentifier" in d && r(33, y = d.customlocaleidentifier), "countryflaghamburger" in d && r(0, w = d.countryflaghamburger);
5057
5100
  }, e.$$.update = () => {
5058
5101
  e.$$.dirty[0] & /*cmsendpoint, cmsenv, lang, languageslist*/
5059
- 318767106 && o && a && l && h && Zr(), e.$$.dirty[0] & /*activecategory*/
5102
+ 318767106 && o && a && u && c && Kr(), e.$$.dirty[0] & /*activecategory*/
5060
5103
  134217728 | e.$$.dirty[1] & /*isLoading*/
5061
- 8 && u && !J && _t(), e.$$.dirty[0] & /*translationurl*/
5062
- 536870912 && c && zr(), e.$$.dirty[0] & /*customStylingContainer*/
5104
+ 8 && l && !J && Ht(), e.$$.dirty[0] & /*translationurl*/
5105
+ 536870912 && h && Yr(), e.$$.dirty[0] & /*customStylingContainer*/
5063
5106
  4 | e.$$.dirty[1] & /*clientstyling*/
5064
- 1 && m && z && No(z, m), e.$$.dirty[0] & /*customStylingContainer*/
5107
+ 1 && p && Z && Do(Z, p), e.$$.dirty[0] & /*customStylingContainer*/
5065
5108
  4 | e.$$.dirty[1] & /*clientstylingurl*/
5066
- 2 && p && z && Ro(z, p), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5067
- 1073741828 && f && z && Uo(z, `${f}.Style`);
5109
+ 2 && m && Z && Go(Z, m), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5110
+ 1073741828 && f && Z && $o(Z, `${f}.Style`);
5068
5111
  }, [
5069
- S,
5070
- l,
5071
- z,
5072
- T,
5073
- L,
5112
+ w,
5113
+ u,
5114
+ Z,
5115
+ H,
5116
+ P,
5074
5117
  C,
5075
5118
  V,
5076
- X,
5119
+ z,
5077
5120
  ne,
5078
5121
  N,
5079
- M,
5080
- P,
5122
+ O,
5123
+ L,
5081
5124
  x,
5082
5125
  R,
5083
5126
  W,
5084
5127
  n,
5085
- bt,
5086
- vt,
5087
- Ve,
5088
- Xe,
5089
- wt,
5090
- Qr,
5091
- qr,
5128
+ Et,
5129
+ St,
5130
+ ze,
5131
+ Ze,
5132
+ Mt,
5133
+ en,
5134
+ tn,
5092
5135
  i,
5093
5136
  o,
5094
5137
  a,
5095
5138
  s,
5096
- u,
5097
- h,
5139
+ l,
5098
5140
  c,
5141
+ h,
5099
5142
  f,
5100
- m,
5101
5143
  p,
5144
+ m,
5102
5145
  y,
5103
5146
  J,
5104
- Jr,
5105
- Yr,
5106
- Kr,
5107
- en,
5108
- tn,
5109
5147
  rn,
5110
- nn
5148
+ nn,
5149
+ on,
5150
+ an,
5151
+ sn,
5152
+ un,
5153
+ ln
5111
5154
  ];
5112
5155
  }
5113
- class Xr extends Mn {
5156
+ class Jr extends In {
5114
5157
  constructor(t) {
5115
- super(), Tn(
5158
+ super(), Ln(
5116
5159
  this,
5117
5160
  t,
5118
- zo,
5119
- Xo,
5120
- cr,
5161
+ Yo,
5162
+ Jo,
5163
+ mr,
5121
5164
  {
5122
5165
  menuitemsurl: 23,
5123
5166
  cmsendpoint: 24,
@@ -5133,7 +5176,7 @@ class Xr extends Mn {
5133
5176
  customlocaleidentifier: 33,
5134
5177
  countryflaghamburger: 0
5135
5178
  },
5136
- ko,
5179
+ Wo,
5137
5180
  [-1, -1, -1]
5138
5181
  );
5139
5182
  }
@@ -5216,56 +5259,56 @@ class Xr extends Mn {
5216
5259
  this.$$set({ countryflaghamburger: t }), k();
5217
5260
  }
5218
5261
  }
5219
- On(Xr, { menuitemsurl: {}, cmsendpoint: {}, cmsenv: {}, userroles: {}, lang: {}, activecategory: {}, languageslist: {}, translationurl: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, customlocaleidentifier: {}, countryflaghamburger: {} }, [], [], !0);
5220
- const ia = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5262
+ Bn(Jr, { menuitemsurl: {}, cmsendpoint: {}, cmsenv: {}, userroles: {}, lang: {}, activecategory: {}, languageslist: {}, translationurl: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, customlocaleidentifier: {}, countryflaghamburger: {} }, [], [], !0);
5263
+ const la = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5221
5264
  __proto__: null,
5222
- default: Xr
5265
+ default: Jr
5223
5266
  }, Symbol.toStringTag, { value: "Module" }));
5224
5267
  export {
5225
- pe as $,
5268
+ ge as $,
5226
5269
  $ as A,
5227
5270
  K as B,
5228
- Io as C,
5229
- ta as D,
5271
+ Fo as C,
5272
+ aa as D,
5230
5273
  Ce as E,
5231
- me as F,
5274
+ de as F,
5232
5275
  ee as G,
5233
- Ht as H,
5234
- Q as I,
5235
- we as J,
5236
- Co as K,
5237
- Bo as L,
5238
- No as M,
5239
- Ro as N,
5240
- Uo as O,
5241
- na as P,
5242
- ea as Q,
5243
- ia as R,
5244
- Mn as S,
5276
+ Pt as H,
5277
+ q as I,
5278
+ Ee as J,
5279
+ ko as K,
5280
+ Uo as L,
5281
+ Do as M,
5282
+ Go as N,
5283
+ $o as O,
5284
+ ua as P,
5285
+ oa as Q,
5286
+ la as R,
5287
+ In as S,
5245
5288
  Se as a,
5246
- Gr as b,
5247
- On as c,
5248
- un as d,
5249
- Zo as e,
5289
+ Xr as b,
5290
+ Bn as c,
5291
+ pn as d,
5292
+ Ko as e,
5250
5293
  k as f,
5251
5294
  I as g,
5252
- En as h,
5253
- Tn as i,
5254
- Jo as j,
5255
- Qo as k,
5295
+ On as h,
5296
+ Ln as i,
5297
+ ra as j,
5298
+ ea as k,
5256
5299
  g as l,
5257
- Ko as m,
5300
+ ia as m,
5258
5301
  F as n,
5259
5302
  b as o,
5260
5303
  te as p,
5261
- Yo as q,
5262
- de as r,
5263
- cr as s,
5264
- ra as t,
5265
- qo as u,
5304
+ na as q,
5305
+ fe as r,
5306
+ mr as s,
5307
+ sa as t,
5308
+ ta as u,
5266
5309
  v,
5267
5310
  U as w,
5268
- ln as x,
5269
- pn as y,
5270
- mr as z
5311
+ dn as x,
5312
+ xn as y,
5313
+ vr as z
5271
5314
  };