@everymatrix/general-navigation-bar 1.76.13 → 1.76.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,17 +1,17 @@
1
- var on = Object.defineProperty, an = Object.defineProperties;
2
- var sn = Object.getOwnPropertyDescriptors;
3
- var It = Object.getOwnPropertySymbols;
4
- var ln = Object.prototype.hasOwnProperty, un = Object.prototype.propertyIsEnumerable;
5
- var We = (e, t, r) => t in e ? on(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Bt = (e, t) => {
1
+ var nn = Object.defineProperty, on = Object.defineProperties;
2
+ var an = Object.getOwnPropertyDescriptors;
3
+ var Nt = Object.getOwnPropertySymbols;
4
+ var sn = Object.prototype.hasOwnProperty, ln = Object.prototype.propertyIsEnumerable;
5
+ var ke = (e, t, r) => t in e ? nn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, St = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- ln.call(t, r) && We(e, r, t[r]);
8
- if (It)
9
- for (var r of It(t))
10
- un.call(t, r) && We(e, r, t[r]);
7
+ sn.call(t, r) && ke(e, r, t[r]);
8
+ if (Nt)
9
+ for (var r of Nt(t))
10
+ ln.call(t, r) && ke(e, r, t[r]);
11
11
  return e;
12
- }, At = (e, t) => an(e, sn(t));
13
- var U = (e, t, r) => (We(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var Tt = (e, t, r) => new Promise((n, i) => {
12
+ }, It = (e, t) => on(e, an(t));
13
+ var U = (e, t, r) => (ke(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var Bt = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (l) => {
16
16
  try {
17
17
  s(r.next(l));
@@ -29,7 +29,7 @@ var Tt = (e, t, r) => new Promise((n, i) => {
29
29
  });
30
30
  function D() {
31
31
  }
32
- function hn(e, t) {
32
+ function un(e, t) {
33
33
  for (const r in t)
34
34
  e[r] = t[r];
35
35
  return (
@@ -37,29 +37,29 @@ function hn(e, t) {
37
37
  e
38
38
  );
39
39
  }
40
- function cr(e) {
40
+ function ur(e) {
41
41
  return e();
42
42
  }
43
- function Pt() {
43
+ function At() {
44
44
  return /* @__PURE__ */ Object.create(null);
45
45
  }
46
- function ae(e) {
47
- e.forEach(cr);
46
+ function se(e) {
47
+ e.forEach(ur);
48
48
  }
49
- function vt(e) {
49
+ function dt(e) {
50
50
  return typeof e == "function";
51
51
  }
52
- function fr(e, t) {
52
+ function hr(e, t) {
53
53
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
54
54
  }
55
55
  let xe;
56
- function te(e, t) {
56
+ function re(e, t) {
57
57
  return e === t ? !0 : (xe || (xe = document.createElement("a")), xe.href = t, e === xe.href);
58
58
  }
59
- function cn(e) {
59
+ function hn(e) {
60
60
  return Object.keys(e).length === 0;
61
61
  }
62
- function dr(e, ...t) {
62
+ function cr(e, ...t) {
63
63
  if (e == null) {
64
64
  for (const n of t)
65
65
  n(void 0);
@@ -68,19 +68,19 @@ function dr(e, ...t) {
68
68
  const r = e.subscribe(...t);
69
69
  return r.unsubscribe ? () => r.unsubscribe() : r;
70
70
  }
71
- function fn(e, t, r) {
72
- e.$$.on_destroy.push(dr(t, r));
71
+ function cn(e, t, r) {
72
+ e.$$.on_destroy.push(cr(t, r));
73
73
  }
74
- function dn(e, t, r, n) {
74
+ function fn(e, t, r, n) {
75
75
  if (e) {
76
- const i = pr(e, t, r, n);
76
+ const i = fr(e, t, r, n);
77
77
  return e[0](i);
78
78
  }
79
79
  }
80
- function pr(e, t, r, n) {
81
- return e[1] && n ? hn(r.ctx.slice(), e[1](n(t))) : r.ctx;
80
+ function fr(e, t, r, n) {
81
+ return e[1] && n ? un(r.ctx.slice(), e[1](n(t))) : r.ctx;
82
82
  }
83
- function pn(e, t, r, n) {
83
+ function dn(e, t, r, n) {
84
84
  if (e[2] && n) {
85
85
  const i = e[2](n(r));
86
86
  if (t.dirty === void 0)
@@ -97,11 +97,11 @@ function pn(e, t, r, n) {
97
97
  }
98
98
  function mn(e, t, r, n, i, o) {
99
99
  if (i) {
100
- const a = pr(t, r, n, o);
100
+ const a = fr(t, r, n, o);
101
101
  e.p(a, i);
102
102
  }
103
103
  }
104
- function gn(e) {
104
+ function pn(e) {
105
105
  if (e.ctx.length > 32) {
106
106
  const t = [], r = e.ctx.length / 32;
107
107
  for (let n = 0; n < r; n++)
@@ -113,14 +113,14 @@ function gn(e) {
113
113
  function y(e, t) {
114
114
  e.appendChild(t);
115
115
  }
116
- function vn(e, t, r) {
117
- const n = bn(e);
116
+ function gn(e, t, r) {
117
+ const n = vn(e);
118
118
  if (!n.getElementById(t)) {
119
- const i = I("style");
120
- i.id = t, i.textContent = r, yn(n, i);
119
+ const i = B("style");
120
+ i.id = t, i.textContent = r, bn(n, i);
121
121
  }
122
122
  }
123
- function bn(e) {
123
+ function vn(e) {
124
124
  if (!e)
125
125
  return document;
126
126
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -130,7 +130,7 @@ function bn(e) {
130
130
  t
131
131
  ) : e.ownerDocument;
132
132
  }
133
- function yn(e, t) {
133
+ function bn(e, t) {
134
134
  return y(
135
135
  /** @type {Document} */
136
136
  e.head || e,
@@ -143,39 +143,39 @@ function C(e, t, r) {
143
143
  function L(e) {
144
144
  e.parentNode && e.parentNode.removeChild(e);
145
145
  }
146
- function mr(e, t) {
146
+ function dr(e, t) {
147
147
  for (let r = 0; r < e.length; r += 1)
148
148
  e[r] && e[r].d(t);
149
149
  }
150
- function I(e) {
150
+ function B(e) {
151
151
  return document.createElement(e);
152
152
  }
153
153
  function M(e) {
154
154
  return document.createElementNS("http://www.w3.org/2000/svg", e);
155
155
  }
156
- function ve(e) {
156
+ function be(e) {
157
157
  return document.createTextNode(e);
158
158
  }
159
- function j() {
160
- return ve(" ");
159
+ function k() {
160
+ return be(" ");
161
161
  }
162
- function _n() {
163
- return ve("");
162
+ function yn() {
163
+ return be("");
164
164
  }
165
- function Oe(e, t, r, n) {
165
+ function Me(e, t, r, n) {
166
166
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
167
167
  }
168
168
  function c(e, t, r) {
169
169
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
170
170
  }
171
- function xn(e) {
171
+ function _n(e) {
172
172
  return Array.from(e.childNodes);
173
173
  }
174
- function bt(e, t) {
174
+ function mt(e, t) {
175
175
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
176
176
  t);
177
177
  }
178
- function wn(e) {
178
+ function xn(e) {
179
179
  const t = {};
180
180
  return e.childNodes.forEach(
181
181
  /** @param {Element} node */
@@ -184,69 +184,69 @@ function wn(e) {
184
184
  }
185
185
  ), t;
186
186
  }
187
- let de;
188
- function fe(e) {
189
- de = e;
187
+ let me;
188
+ function de(e) {
189
+ me = e;
190
190
  }
191
- function En() {
192
- if (!de)
191
+ function wn() {
192
+ if (!me)
193
193
  throw new Error("Function called outside component initialization");
194
- return de;
194
+ return me;
195
195
  }
196
- function Nn(e) {
197
- En().$$.on_mount.push(e);
196
+ function En(e) {
197
+ wn().$$.on_mount.push(e);
198
198
  }
199
- const K = [], Ke = [];
199
+ const K = [], Je = [];
200
200
  let ee = [];
201
- const Ht = [], Sn = /* @__PURE__ */ Promise.resolve();
202
- let et = !1;
203
- function In() {
204
- et || (et = !0, Sn.then(F));
201
+ const Tt = [], Nn = /* @__PURE__ */ Promise.resolve();
202
+ let qe = !1;
203
+ function Sn() {
204
+ qe || (qe = !0, Nn.then(F));
205
205
  }
206
- function tt(e) {
206
+ function Ke(e) {
207
207
  ee.push(e);
208
208
  }
209
- const Ve = /* @__PURE__ */ new Set();
209
+ const je = /* @__PURE__ */ new Set();
210
210
  let J = 0;
211
211
  function F() {
212
212
  if (J !== 0)
213
213
  return;
214
- const e = de;
214
+ const e = me;
215
215
  do {
216
216
  try {
217
217
  for (; J < K.length; ) {
218
218
  const t = K[J];
219
- J++, fe(t), Bn(t.$$);
219
+ J++, de(t), In(t.$$);
220
220
  }
221
221
  } catch (t) {
222
222
  throw K.length = 0, J = 0, t;
223
223
  }
224
- for (fe(null), K.length = 0, J = 0; Ke.length; )
225
- Ke.pop()();
224
+ for (de(null), K.length = 0, J = 0; Je.length; )
225
+ Je.pop()();
226
226
  for (let t = 0; t < ee.length; t += 1) {
227
227
  const r = ee[t];
228
- Ve.has(r) || (Ve.add(r), r());
228
+ je.has(r) || (je.add(r), r());
229
229
  }
230
230
  ee.length = 0;
231
231
  } while (K.length);
232
- for (; Ht.length; )
233
- Ht.pop()();
234
- et = !1, Ve.clear(), fe(e);
232
+ for (; Tt.length; )
233
+ Tt.pop()();
234
+ qe = !1, je.clear(), de(e);
235
235
  }
236
- function Bn(e) {
236
+ function In(e) {
237
237
  if (e.fragment !== null) {
238
- e.update(), ae(e.before_update);
238
+ e.update(), se(e.before_update);
239
239
  const t = e.dirty;
240
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(tt);
240
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ke);
241
241
  }
242
242
  }
243
- function An(e) {
243
+ function Bn(e) {
244
244
  const t = [], r = [];
245
245
  ee.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ee = t;
246
246
  }
247
247
  const Ne = /* @__PURE__ */ new Set();
248
248
  let Z;
249
- function gr() {
249
+ function mr() {
250
250
  Z = {
251
251
  r: 0,
252
252
  c: [],
@@ -254,8 +254,8 @@ function gr() {
254
254
  // parent group
255
255
  };
256
256
  }
257
- function vr() {
258
- Z.r || ae(Z.c), Z = Z.p;
257
+ function pr() {
258
+ Z.r || se(Z.c), Z = Z.p;
259
259
  }
260
260
  function z(e, t) {
261
261
  e && e.i && (Ne.delete(e), e.i(t));
@@ -273,23 +273,23 @@ function pe(e, t, r, n) {
273
273
  function Te(e) {
274
274
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
275
275
  }
276
- function Tn(e, t, r) {
276
+ function An(e, t, r) {
277
277
  const { fragment: n, after_update: i } = e.$$;
278
- n && n.m(t, r), tt(() => {
279
- const o = e.$$.on_mount.map(cr).filter(vt);
280
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ae(o), e.$$.on_mount = [];
281
- }), i.forEach(tt);
278
+ n && n.m(t, r), Ke(() => {
279
+ const o = e.$$.on_mount.map(ur).filter(dt);
280
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : se(o), e.$$.on_mount = [];
281
+ }), i.forEach(Ke);
282
282
  }
283
- function Pn(e, t) {
283
+ function Tn(e, t) {
284
284
  const r = e.$$;
285
- r.fragment !== null && (An(r.after_update), ae(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
285
+ r.fragment !== null && (Bn(r.after_update), se(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
286
286
  }
287
287
  function Hn(e, t) {
288
- e.$$.dirty[0] === -1 && (K.push(e), In(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
288
+ e.$$.dirty[0] === -1 && (K.push(e), Sn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
289
289
  }
290
- function Mn(e, t, r, n, i, o, a = null, s = [-1]) {
291
- const l = de;
292
- fe(e);
290
+ function Pn(e, t, r, n, i, o, a = null, s = [-1]) {
291
+ const l = me;
292
+ de(e);
293
293
  const u = e.$$ = {
294
294
  fragment: null,
295
295
  ctx: [],
@@ -297,7 +297,7 @@ function Mn(e, t, r, n, i, o, a = null, s = [-1]) {
297
297
  props: o,
298
298
  update: D,
299
299
  not_equal: i,
300
- bound: Pt(),
300
+ bound: At(),
301
301
  // lifecycle
302
302
  on_mount: [],
303
303
  on_destroy: [],
@@ -306,28 +306,28 @@ function Mn(e, t, r, n, i, o, a = null, s = [-1]) {
306
306
  after_update: [],
307
307
  context: new Map(t.context || (l ? l.$$.context : [])),
308
308
  // everything else
309
- callbacks: Pt(),
309
+ callbacks: At(),
310
310
  dirty: s,
311
311
  skip_bound: !1,
312
312
  root: t.target || l.$$.root
313
313
  };
314
314
  a && a(u.root);
315
315
  let h = !1;
316
- if (u.ctx = r ? r(e, t.props || {}, (d, f, ...m) => {
317
- const g = m.length ? m[0] : f;
316
+ if (u.ctx = r ? r(e, t.props || {}, (d, f, ...p) => {
317
+ const g = p.length ? p[0] : f;
318
318
  return u.ctx && i(u.ctx[d], u.ctx[d] = g) && (!u.skip_bound && u.bound[d] && u.bound[d](g), h && Hn(e, d)), f;
319
- }) : [], u.update(), h = !0, ae(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
319
+ }) : [], u.update(), h = !0, se(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
320
320
  if (t.hydrate) {
321
- const d = xn(t.target);
321
+ const d = _n(t.target);
322
322
  u.fragment && u.fragment.l(d), d.forEach(L);
323
323
  } else
324
324
  u.fragment && u.fragment.c();
325
- t.intro && z(e.$$.fragment), Tn(e, t.target, t.anchor), F();
325
+ t.intro && z(e.$$.fragment), An(e, t.target, t.anchor), F();
326
326
  }
327
- fe(l);
327
+ de(l);
328
328
  }
329
- let br;
330
- typeof HTMLElement == "function" && (br = class extends HTMLElement {
329
+ let gr;
330
+ typeof HTMLElement == "function" && (gr = class extends HTMLElement {
331
331
  constructor(t, r, n) {
332
332
  super();
333
333
  /** The Svelte component constructor */
@@ -364,14 +364,14 @@ typeof HTMLElement == "function" && (br = class extends HTMLElement {
364
364
  }
365
365
  }
366
366
  connectedCallback() {
367
- return Tt(this, null, function* () {
367
+ return Bt(this, null, function* () {
368
368
  if (this.$$cn = !0, !this.$$c) {
369
369
  let t = function(o) {
370
370
  return () => {
371
371
  let a;
372
372
  return {
373
373
  c: function() {
374
- a = I("slot"), o !== "default" && c(a, "name", o);
374
+ a = B("slot"), o !== "default" && c(a, "name", o);
375
375
  },
376
376
  /**
377
377
  * @param {HTMLElement} target
@@ -388,7 +388,7 @@ typeof HTMLElement == "function" && (br = class extends HTMLElement {
388
388
  };
389
389
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
390
390
  return;
391
- const r = {}, n = wn(this);
391
+ const r = {}, n = xn(this);
392
392
  for (const o of this.$$s)
393
393
  o in n && (r[o] = [t(o)]);
394
394
  for (const o of this.attributes) {
@@ -399,7 +399,7 @@ typeof HTMLElement == "function" && (br = class extends HTMLElement {
399
399
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
400
400
  this.$$c = new this.$$ctor({
401
401
  target: this.shadowRoot || this,
402
- props: At(Bt({}, this.$$d), {
402
+ props: It(St({}, this.$$d), {
403
403
  $$slots: r,
404
404
  $$scope: {
405
405
  ctx: []
@@ -477,8 +477,8 @@ function Se(e, t, r, n) {
477
477
  return t;
478
478
  }
479
479
  }
480
- function On(e, t, r, n, i, o) {
481
- let a = class extends br {
480
+ function Mn(e, t, r, n, i, o) {
481
+ let a = class extends gr {
482
482
  constructor() {
483
483
  super(e, r, i), this.$$p_d = t;
484
484
  }
@@ -508,7 +508,7 @@ function On(e, t, r, n, i, o) {
508
508
  }), e.element = /** @type {any} */
509
509
  a, a;
510
510
  }
511
- class Ln {
511
+ class On {
512
512
  constructor() {
513
513
  /**
514
514
  * ### PRIVATE API
@@ -529,7 +529,7 @@ class Ln {
529
529
  }
530
530
  /** @returns {void} */
531
531
  $destroy() {
532
- Pn(this, 1), this.$destroy = D;
532
+ Tn(this, 1), this.$destroy = D;
533
533
  }
534
534
  /**
535
535
  * @template {Extract<keyof Events, string>} K
@@ -538,7 +538,7 @@ class Ln {
538
538
  * @returns {() => void}
539
539
  */
540
540
  $on(t, r) {
541
- if (!vt(r))
541
+ if (!dt(r))
542
542
  return D;
543
543
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
544
544
  return n.push(r), () => {
@@ -551,11 +551,11 @@ class Ln {
551
551
  * @returns {void}
552
552
  */
553
553
  $set(t) {
554
- this.$$set && !cn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
554
+ this.$$set && !hn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
555
555
  }
556
556
  }
557
- const Cn = "4";
558
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Cn);
557
+ const Ln = "4";
558
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Ln);
559
559
  /*! *****************************************************************************
560
560
  Copyright (c) Microsoft Corporation.
561
561
 
@@ -570,24 +570,43 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
570
570
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
571
571
  PERFORMANCE OF THIS SOFTWARE.
572
572
  ***************************************************************************** */
573
- var rt = function(e, t) {
574
- return rt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
573
+ var et = function(e, t) {
574
+ return et = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
575
575
  r.__proto__ = n;
576
576
  } || function(r, n) {
577
577
  for (var i in n)
578
578
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
579
- }, rt(e, t);
579
+ }, et(e, t);
580
580
  };
581
- function be(e, t) {
581
+ function j(e, t) {
582
582
  if (typeof t != "function" && t !== null)
583
583
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
584
- rt(e, t);
584
+ et(e, t);
585
585
  function r() {
586
586
  this.constructor = e;
587
587
  }
588
588
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
589
589
  }
590
- function nt(e) {
590
+ var w = function() {
591
+ return w = Object.assign || function(t) {
592
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
593
+ r = arguments[n];
594
+ for (var o in r)
595
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
596
+ }
597
+ return t;
598
+ }, w.apply(this, arguments);
599
+ };
600
+ function Cn(e, t) {
601
+ var r = {};
602
+ for (var n in e)
603
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
604
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
605
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
606
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
607
+ return r;
608
+ }
609
+ function tt(e) {
591
610
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
592
611
  if (r)
593
612
  return r.call(e);
@@ -599,7 +618,7 @@ function nt(e) {
599
618
  };
600
619
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
601
620
  }
602
- function it(e, t) {
621
+ function rt(e, t) {
603
622
  var r = typeof Symbol == "function" && e[Symbol.iterator];
604
623
  if (!r)
605
624
  return e;
@@ -619,22 +638,22 @@ function it(e, t) {
619
638
  }
620
639
  return o;
621
640
  }
622
- function ot(e, t, r) {
623
- if (arguments.length === 2)
641
+ function te(e, t, r) {
642
+ if (r || arguments.length === 2)
624
643
  for (var n = 0, i = t.length, o; n < i; n++)
625
644
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
626
645
  return e.concat(o || t);
627
646
  }
628
- function k(e) {
647
+ function $(e) {
629
648
  return typeof e == "function";
630
649
  }
631
- function yr(e) {
650
+ function vr(e) {
632
651
  var t = function(n) {
633
652
  Error.call(n), n.stack = new Error().stack;
634
653
  }, r = e(t);
635
654
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
636
655
  }
637
- var Xe = yr(function(e) {
656
+ var We = vr(function(e) {
638
657
  return function(r) {
639
658
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
640
659
  ` + r.map(function(n, i) {
@@ -643,13 +662,13 @@ var Xe = yr(function(e) {
643
662
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
644
663
  };
645
664
  });
646
- function at(e, t) {
665
+ function nt(e, t) {
647
666
  if (e) {
648
667
  var r = e.indexOf(t);
649
668
  0 <= r && e.splice(r, 1);
650
669
  }
651
670
  }
652
- var Le = function() {
671
+ var Oe = function() {
653
672
  function e(t) {
654
673
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
655
674
  }
@@ -661,7 +680,7 @@ var Le = function() {
661
680
  if (a)
662
681
  if (this._parentage = null, Array.isArray(a))
663
682
  try {
664
- for (var s = nt(a), l = s.next(); !l.done; l = s.next()) {
683
+ for (var s = tt(a), l = s.next(); !l.done; l = s.next()) {
665
684
  var u = l.value;
666
685
  u.remove(this);
667
686
  }
@@ -678,29 +697,29 @@ var Le = function() {
678
697
  else
679
698
  a.remove(this);
680
699
  var h = this.initialTeardown;
681
- if (k(h))
700
+ if ($(h))
682
701
  try {
683
702
  h();
684
703
  } catch (v) {
685
- o = v instanceof Xe ? v.errors : [v];
704
+ o = v instanceof We ? v.errors : [v];
686
705
  }
687
706
  var d = this._finalizers;
688
707
  if (d) {
689
708
  this._finalizers = null;
690
709
  try {
691
- for (var f = nt(d), m = f.next(); !m.done; m = f.next()) {
692
- var g = m.value;
710
+ for (var f = tt(d), p = f.next(); !p.done; p = f.next()) {
711
+ var g = p.value;
693
712
  try {
694
- Mt(g);
713
+ Ht(g);
695
714
  } catch (v) {
696
- o = o != null ? o : [], v instanceof Xe ? o = ot(ot([], it(o)), it(v.errors)) : o.push(v);
715
+ o = o != null ? o : [], v instanceof We ? o = te(te([], rt(o)), rt(v.errors)) : o.push(v);
697
716
  }
698
717
  }
699
718
  } catch (v) {
700
719
  n = { error: v };
701
720
  } finally {
702
721
  try {
703
- m && !m.done && (i = f.return) && i.call(f);
722
+ p && !p.done && (i = f.return) && i.call(f);
704
723
  } finally {
705
724
  if (n)
706
725
  throw n.error;
@@ -708,13 +727,13 @@ var Le = function() {
708
727
  }
709
728
  }
710
729
  if (o)
711
- throw new Xe(o);
730
+ throw new We(o);
712
731
  }
713
732
  }, e.prototype.add = function(t) {
714
733
  var r;
715
734
  if (t && t !== this)
716
735
  if (this.closed)
717
- Mt(t);
736
+ Ht(t);
718
737
  else {
719
738
  if (t instanceof e) {
720
739
  if (t.closed || t._hasParent(this))
@@ -731,52 +750,56 @@ var Le = function() {
731
750
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
732
751
  }, e.prototype._removeParent = function(t) {
733
752
  var r = this._parentage;
734
- r === t ? this._parentage = null : Array.isArray(r) && at(r, t);
753
+ r === t ? this._parentage = null : Array.isArray(r) && nt(r, t);
735
754
  }, e.prototype.remove = function(t) {
736
755
  var r = this._finalizers;
737
- r && at(r, t), t instanceof e && t._removeParent(this);
756
+ r && nt(r, t), t instanceof e && t._removeParent(this);
738
757
  }, e.EMPTY = function() {
739
758
  var t = new e();
740
759
  return t.closed = !0, t;
741
760
  }(), e;
742
- }(), _r = Le.EMPTY;
743
- function xr(e) {
744
- return e instanceof Le || e && "closed" in e && k(e.remove) && k(e.add) && k(e.unsubscribe);
745
- }
746
- function Mt(e) {
747
- k(e) ? e() : e.unsubscribe();
748
- }
749
- var Fn = {
750
- Promise: void 0
751
- }, Rn = {
761
+ }(), br = Oe.EMPTY;
762
+ function yr(e) {
763
+ return e instanceof Oe || e && "closed" in e && $(e.remove) && $(e.add) && $(e.unsubscribe);
764
+ }
765
+ function Ht(e) {
766
+ $(e) ? e() : e.unsubscribe();
767
+ }
768
+ var _r = {
769
+ onUnhandledError: null,
770
+ onStoppedNotification: null,
771
+ Promise: void 0,
772
+ useDeprecatedSynchronousErrorHandling: !1,
773
+ useDeprecatedNextContext: !1
774
+ }, Fn = {
752
775
  setTimeout: function(e, t) {
753
776
  for (var r = [], n = 2; n < arguments.length; n++)
754
777
  r[n - 2] = arguments[n];
755
- return setTimeout.apply(void 0, ot([e, t], it(r)));
778
+ return setTimeout.apply(void 0, te([e, t], rt(r)));
756
779
  },
757
780
  clearTimeout: function(e) {
758
781
  return clearTimeout(e);
759
782
  },
760
783
  delegate: void 0
761
784
  };
762
- function Un(e) {
763
- Rn.setTimeout(function() {
785
+ function Rn(e) {
786
+ Fn.setTimeout(function() {
764
787
  throw e;
765
788
  });
766
789
  }
767
- function Ot() {
790
+ function Pt() {
768
791
  }
769
792
  function Ie(e) {
770
793
  e();
771
794
  }
772
- var wr = function(e) {
773
- be(t, e);
795
+ var xr = function(e) {
796
+ j(t, e);
774
797
  function t(r) {
775
798
  var n = e.call(this) || this;
776
- return n.isStopped = !1, r ? (n.destination = r, xr(r) && r.add(n)) : n.destination = $n, n;
799
+ return n.isStopped = !1, r ? (n.destination = r, yr(r) && r.add(n)) : n.destination = $n, n;
777
800
  }
778
801
  return t.create = function(r, n, i) {
779
- return new st(r, n, i);
802
+ return new it(r, n, i);
780
803
  }, t.prototype.next = function(r) {
781
804
  this.isStopped || this._next(r);
782
805
  }, t.prototype.error = function(r) {
@@ -800,7 +823,11 @@ var wr = function(e) {
800
823
  this.unsubscribe();
801
824
  }
802
825
  }, t;
803
- }(Le), Dn = function() {
826
+ }(Oe), Un = Function.prototype.bind;
827
+ function Ve(e, t) {
828
+ return Un.call(e, t);
829
+ }
830
+ var Dn = function() {
804
831
  function e(t) {
805
832
  this.partialObserver = t;
806
833
  }
@@ -831,29 +858,41 @@ var wr = function(e) {
831
858
  we(r);
832
859
  }
833
860
  }, e;
834
- }(), st = function(e) {
835
- be(t, e);
861
+ }(), it = function(e) {
862
+ j(t, e);
836
863
  function t(r, n, i) {
837
864
  var o = e.call(this) || this, a;
838
- return k(r) || !r ? a = {
839
- next: r != null ? r : void 0,
840
- error: n != null ? n : void 0,
841
- complete: i != null ? i : void 0
842
- } : a = r, o.destination = new Dn(a), o;
865
+ if ($(r) || !r)
866
+ a = {
867
+ next: r != null ? r : void 0,
868
+ error: n != null ? n : void 0,
869
+ complete: i != null ? i : void 0
870
+ };
871
+ else {
872
+ var s;
873
+ o && _r.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
874
+ return o.unsubscribe();
875
+ }, a = {
876
+ next: r.next && Ve(r.next, s),
877
+ error: r.error && Ve(r.error, s),
878
+ complete: r.complete && Ve(r.complete, s)
879
+ }) : a = r;
880
+ }
881
+ return o.destination = new Dn(a), o;
843
882
  }
844
883
  return t;
845
- }(wr);
884
+ }(xr);
846
885
  function we(e) {
847
- Un(e);
886
+ Rn(e);
848
887
  }
849
888
  function Gn(e) {
850
889
  throw e;
851
890
  }
852
891
  var $n = {
853
892
  closed: !0,
854
- next: Ot,
893
+ next: Pt,
855
894
  error: Gn,
856
- complete: Ot
895
+ complete: Pt
857
896
  }, kn = function() {
858
897
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
859
898
  }();
@@ -867,7 +906,7 @@ function Wn(e) {
867
906
  }, r);
868
907
  };
869
908
  }
870
- var Lt = function() {
909
+ var Mt = function() {
871
910
  function e(t) {
872
911
  t && (this._subscribe = t);
873
912
  }
@@ -875,7 +914,7 @@ var Lt = function() {
875
914
  var r = new e();
876
915
  return r.source = this, r.operator = t, r;
877
916
  }, e.prototype.subscribe = function(t, r, n) {
878
- var i = this, o = Xn(t) ? t : new st(t, r, n);
917
+ var i = this, o = Xn(t) ? t : new it(t, r, n);
879
918
  return Ie(function() {
880
919
  var a = i, s = a.operator, l = a.source;
881
920
  o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
@@ -888,8 +927,8 @@ var Lt = function() {
888
927
  }
889
928
  }, e.prototype.forEach = function(t, r) {
890
929
  var n = this;
891
- return r = Ct(r), new r(function(i, o) {
892
- var a = new st({
930
+ return r = Ot(r), new r(function(i, o) {
931
+ var a = new it({
893
932
  next: function(s) {
894
933
  try {
895
934
  t(s);
@@ -913,7 +952,7 @@ var Lt = function() {
913
952
  return Wn(t)(this);
914
953
  }, e.prototype.toPromise = function(t) {
915
954
  var r = this;
916
- return t = Ct(t), new t(function(n, i) {
955
+ return t = Ot(t), new t(function(n, i) {
917
956
  var o;
918
957
  r.subscribe(function(a) {
919
958
  return o = a;
@@ -927,28 +966,28 @@ var Lt = function() {
927
966
  return new e(t);
928
967
  }, e;
929
968
  }();
930
- function Ct(e) {
969
+ function Ot(e) {
931
970
  var t;
932
- return (t = e != null ? e : Fn.Promise) !== null && t !== void 0 ? t : Promise;
971
+ return (t = e != null ? e : _r.Promise) !== null && t !== void 0 ? t : Promise;
933
972
  }
934
973
  function Vn(e) {
935
- return e && k(e.next) && k(e.error) && k(e.complete);
974
+ return e && $(e.next) && $(e.error) && $(e.complete);
936
975
  }
937
976
  function Xn(e) {
938
- return e && e instanceof wr || Vn(e) && xr(e);
977
+ return e && e instanceof xr || Vn(e) && yr(e);
939
978
  }
940
- var zn = yr(function(e) {
979
+ var zn = vr(function(e) {
941
980
  return function() {
942
981
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
943
982
  };
944
- }), Er = function(e) {
945
- be(t, e);
983
+ }), wr = function(e) {
984
+ j(t, e);
946
985
  function t() {
947
986
  var r = e.call(this) || this;
948
987
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
949
988
  }
950
989
  return t.prototype.lift = function(r) {
951
- var n = new Ft(this, this);
990
+ var n = new Lt(this, this);
952
991
  return n.operator = r, n;
953
992
  }, t.prototype._throwIfClosed = function() {
954
993
  if (this.closed)
@@ -960,7 +999,7 @@ var zn = yr(function(e) {
960
999
  if (n._throwIfClosed(), !n.isStopped) {
961
1000
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
962
1001
  try {
963
- for (var a = nt(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
1002
+ for (var a = tt(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
964
1003
  var l = s.value;
965
1004
  l.next(r);
966
1005
  }
@@ -1009,20 +1048,20 @@ var zn = yr(function(e) {
1009
1048
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1010
1049
  }, t.prototype._innerSubscribe = function(r) {
1011
1050
  var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
1012
- return o || a ? _r : (this.currentObservers = null, s.push(r), new Le(function() {
1013
- n.currentObservers = null, at(s, r);
1051
+ return o || a ? br : (this.currentObservers = null, s.push(r), new Oe(function() {
1052
+ n.currentObservers = null, nt(s, r);
1014
1053
  }));
1015
1054
  }, t.prototype._checkFinalizedStatuses = function(r) {
1016
1055
  var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
1017
1056
  i ? r.error(o) : a && r.complete();
1018
1057
  }, t.prototype.asObservable = function() {
1019
- var r = new Lt();
1058
+ var r = new Mt();
1020
1059
  return r.source = this, r;
1021
1060
  }, t.create = function(r, n) {
1022
- return new Ft(r, n);
1061
+ return new Lt(r, n);
1023
1062
  }, t;
1024
- }(Lt), Ft = function(e) {
1025
- be(t, e);
1063
+ }(Mt), Lt = function(e) {
1064
+ j(t, e);
1026
1065
  function t(r, n) {
1027
1066
  var i = e.call(this) || this;
1028
1067
  return i.destination = r, i.source = n, i;
@@ -1038,17 +1077,17 @@ var zn = yr(function(e) {
1038
1077
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1039
1078
  }, t.prototype._subscribe = function(r) {
1040
1079
  var n, i;
1041
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : _r;
1080
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : br;
1042
1081
  }, t;
1043
- }(Er), Nr = {
1082
+ }(wr), Er = {
1044
1083
  now: function() {
1045
- return (Nr.delegate || Date).now();
1084
+ return (Er.delegate || Date).now();
1046
1085
  },
1047
1086
  delegate: void 0
1048
1087
  }, Zn = function(e) {
1049
- be(t, e);
1088
+ j(t, e);
1050
1089
  function t(r, n, i) {
1051
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Nr);
1090
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Er);
1052
1091
  var o = e.call(this) || this;
1053
1092
  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;
1054
1093
  }
@@ -1068,24 +1107,24 @@ var zn = yr(function(e) {
1068
1107
  u && o.splice(0, u + 1);
1069
1108
  }
1070
1109
  }, t;
1071
- }(Er);
1072
- const Rt = [], Ut = {}, Qn = (e, t = 0) => {
1073
- if (Rt.indexOf(e) == -1) {
1110
+ }(wr);
1111
+ const Ct = [], Ft = {}, Qn = (e, t = 0) => {
1112
+ if (Ct.indexOf(e) == -1) {
1074
1113
  const r = new Zn(t);
1075
- Ut[e] = r, Rt.push(e);
1114
+ Ft[e] = r, Ct.push(e);
1076
1115
  }
1077
- return Ut[e];
1116
+ return Ft[e];
1078
1117
  }, q = [];
1079
1118
  function Yn(e, t) {
1080
1119
  return {
1081
- subscribe: Ce(e, t).subscribe
1120
+ subscribe: Le(e, t).subscribe
1082
1121
  };
1083
1122
  }
1084
- function Ce(e, t = D) {
1123
+ function Le(e, t = D) {
1085
1124
  let r;
1086
1125
  const n = /* @__PURE__ */ new Set();
1087
1126
  function i(s) {
1088
- if (fr(e, s) && (e = s, r)) {
1127
+ if (hr(e, s) && (e = s, r)) {
1089
1128
  const l = !q.length;
1090
1129
  for (const u of n)
1091
1130
  u[1](), q.push(u, e);
@@ -1107,7 +1146,7 @@ function Ce(e, t = D) {
1107
1146
  }
1108
1147
  return { set: i, update: o, subscribe: a };
1109
1148
  }
1110
- function se(e, t, r) {
1149
+ function le(e, t, r) {
1111
1150
  const n = !Array.isArray(e), i = n ? [e] : e;
1112
1151
  if (!i.every(Boolean))
1113
1152
  throw new Error("derived() expects stores as input, got a falsy value");
@@ -1121,12 +1160,12 @@ function se(e, t, r) {
1121
1160
  return;
1122
1161
  d();
1123
1162
  const g = t(n ? u[0] : u, a, s);
1124
- o ? a(g) : d = vt(g) ? g : D;
1125
- }, m = i.map(
1126
- (g, v) => dr(
1163
+ o ? a(g) : d = dt(g) ? g : D;
1164
+ }, p = i.map(
1165
+ (g, v) => cr(
1127
1166
  g,
1128
- (B) => {
1129
- u[v] = B, h &= ~(1 << v), l && f();
1167
+ (A) => {
1168
+ u[v] = A, h &= ~(1 << v), l && f();
1130
1169
  },
1131
1170
  () => {
1132
1171
  h |= 1 << v;
@@ -1134,7 +1173,7 @@ function se(e, t, r) {
1134
1173
  )
1135
1174
  );
1136
1175
  return l = !0, f(), function() {
1137
- ae(m), d(), l = !1;
1176
+ se(p), d(), l = !1;
1138
1177
  };
1139
1178
  });
1140
1179
  }
@@ -1158,29 +1197,29 @@ function ni(e) {
1158
1197
  function ii(e) {
1159
1198
  return Array.isArray(e) ? [] : {};
1160
1199
  }
1161
- function me(e, t) {
1162
- return t.clone !== !1 && t.isMergeableObject(e) ? re(ii(e), e, t) : e;
1200
+ function ge(e, t) {
1201
+ return t.clone !== !1 && t.isMergeableObject(e) ? ne(ii(e), e, t) : e;
1163
1202
  }
1164
1203
  function oi(e, t, r) {
1165
1204
  return e.concat(t).map(function(n) {
1166
- return me(n, r);
1205
+ return ge(n, r);
1167
1206
  });
1168
1207
  }
1169
1208
  function ai(e, t) {
1170
1209
  if (!t.customMerge)
1171
- return re;
1210
+ return ne;
1172
1211
  var r = t.customMerge(e);
1173
- return typeof r == "function" ? r : re;
1212
+ return typeof r == "function" ? r : ne;
1174
1213
  }
1175
1214
  function si(e) {
1176
1215
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1177
1216
  return Object.propertyIsEnumerable.call(e, t);
1178
1217
  }) : [];
1179
1218
  }
1180
- function Dt(e) {
1219
+ function Rt(e) {
1181
1220
  return Object.keys(e).concat(si(e));
1182
1221
  }
1183
- function Sr(e, t) {
1222
+ function Nr(e, t) {
1184
1223
  try {
1185
1224
  return t in e;
1186
1225
  } catch (r) {
@@ -1188,179 +1227,129 @@ function Sr(e, t) {
1188
1227
  }
1189
1228
  }
1190
1229
  function li(e, t) {
1191
- return Sr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1230
+ return Nr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1192
1231
  }
1193
1232
  function ui(e, t, r) {
1194
1233
  var n = {};
1195
- return r.isMergeableObject(e) && Dt(e).forEach(function(i) {
1196
- n[i] = me(e[i], r);
1197
- }), Dt(t).forEach(function(i) {
1198
- li(e, i) || (Sr(e, i) && r.isMergeableObject(t[i]) ? n[i] = ai(i, r)(e[i], t[i], r) : n[i] = me(t[i], r));
1234
+ return r.isMergeableObject(e) && Rt(e).forEach(function(i) {
1235
+ n[i] = ge(e[i], r);
1236
+ }), Rt(t).forEach(function(i) {
1237
+ li(e, i) || (Nr(e, i) && r.isMergeableObject(t[i]) ? n[i] = ai(i, r)(e[i], t[i], r) : n[i] = ge(t[i], r));
1199
1238
  }), n;
1200
1239
  }
1201
- function re(e, t, r) {
1202
- r = r || {}, r.arrayMerge = r.arrayMerge || oi, r.isMergeableObject = r.isMergeableObject || qn, r.cloneUnlessOtherwiseSpecified = me;
1240
+ function ne(e, t, r) {
1241
+ r = r || {}, r.arrayMerge = r.arrayMerge || oi, r.isMergeableObject = r.isMergeableObject || qn, r.cloneUnlessOtherwiseSpecified = ge;
1203
1242
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1204
- return o ? n ? r.arrayMerge(e, t, r) : ui(e, t, r) : me(t, r);
1243
+ return o ? n ? r.arrayMerge(e, t, r) : ui(e, t, r) : ge(t, r);
1205
1244
  }
1206
- re.all = function(t, r) {
1245
+ ne.all = function(t, r) {
1207
1246
  if (!Array.isArray(t))
1208
1247
  throw new Error("first argument should be an array");
1209
1248
  return t.reduce(function(n, i) {
1210
- return re(n, i, r);
1249
+ return ne(n, i, r);
1211
1250
  }, {});
1212
1251
  };
1213
- var hi = re, ci = hi;
1252
+ var hi = ne, ci = hi;
1214
1253
  const fi = /* @__PURE__ */ Jn(ci);
1215
- var lt = function(e, t) {
1216
- return lt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1217
- r.__proto__ = n;
1218
- } || function(r, n) {
1219
- for (var i in n)
1220
- Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1221
- }, lt(e, t);
1222
- };
1223
- function Fe(e, t) {
1224
- if (typeof t != "function" && t !== null)
1225
- throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1226
- lt(e, t);
1227
- function r() {
1228
- this.constructor = e;
1229
- }
1230
- e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1231
- }
1232
- var G = function() {
1233
- return G = Object.assign || function(t) {
1234
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1235
- r = arguments[n];
1236
- for (var o in r)
1237
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1238
- }
1239
- return t;
1240
- }, G.apply(this, arguments);
1241
- };
1242
- function di(e, t) {
1243
- var r = {};
1244
- for (var n in e)
1245
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1246
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
1247
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1248
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1249
- return r;
1250
- }
1251
- function ze(e, t, r) {
1252
- if (r || arguments.length === 2)
1253
- for (var n = 0, i = t.length, o; n < i; n++)
1254
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1255
- return e.concat(o || Array.prototype.slice.call(t));
1256
- }
1257
- function Ze(e, t) {
1258
- var r = t && t.cache ? t.cache : _i, n = t && t.serializer ? t.serializer : bi, i = t && t.strategy ? t.strategy : gi;
1254
+ function Xe(e, t) {
1255
+ var r = t && t.cache ? t.cache : bi, n = t && t.serializer ? t.serializer : vi, i = t && t.strategy ? t.strategy : mi;
1259
1256
  return i(e, {
1260
1257
  cache: r,
1261
1258
  serializer: n
1262
1259
  });
1263
1260
  }
1264
- function pi(e) {
1261
+ function di(e) {
1265
1262
  return e == null || typeof e == "number" || typeof e == "boolean";
1266
1263
  }
1267
- function mi(e, t, r, n) {
1268
- var i = pi(n) ? n : r(n), o = t.get(i);
1264
+ function Sr(e, t, r, n) {
1265
+ var i = di(n) ? n : r(n), o = t.get(i);
1269
1266
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1270
1267
  }
1271
1268
  function Ir(e, t, r) {
1272
1269
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1273
1270
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1274
1271
  }
1275
- function Br(e, t, r, n, i) {
1272
+ function pt(e, t, r, n, i) {
1276
1273
  return r.bind(t, e, n, i);
1277
1274
  }
1278
- function gi(e, t) {
1279
- var r = e.length === 1 ? mi : Ir;
1280
- return Br(e, this, r, t.cache.create(), t.serializer);
1275
+ function mi(e, t) {
1276
+ var r = e.length === 1 ? Sr : Ir;
1277
+ return pt(e, this, r, t.cache.create(), t.serializer);
1278
+ }
1279
+ function pi(e, t) {
1280
+ return pt(e, this, Ir, t.cache.create(), t.serializer);
1281
1281
  }
1282
- function vi(e, t) {
1283
- return Br(e, this, Ir, t.cache.create(), t.serializer);
1282
+ function gi(e, t) {
1283
+ return pt(e, this, Sr, t.cache.create(), t.serializer);
1284
1284
  }
1285
- var bi = function() {
1285
+ var vi = function() {
1286
1286
  return JSON.stringify(arguments);
1287
- }, yi = (
1288
- /** @class */
1289
- function() {
1290
- function e() {
1291
- this.cache = /* @__PURE__ */ Object.create(null);
1292
- }
1293
- return e.prototype.get = function(t) {
1294
- return this.cache[t];
1295
- }, e.prototype.set = function(t, r) {
1296
- this.cache[t] = r;
1297
- }, e;
1298
- }()
1299
- ), _i = {
1287
+ };
1288
+ function gt() {
1289
+ this.cache = /* @__PURE__ */ Object.create(null);
1290
+ }
1291
+ gt.prototype.get = function(e) {
1292
+ return this.cache[e];
1293
+ };
1294
+ gt.prototype.set = function(e, t) {
1295
+ this.cache[e] = t;
1296
+ };
1297
+ var bi = {
1300
1298
  create: function() {
1301
- return new yi();
1299
+ return new gt();
1302
1300
  }
1303
- }, Qe = {
1304
- variadic: vi
1305
- }, Pe = function() {
1306
- return Pe = Object.assign || function(t) {
1307
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1308
- r = arguments[n];
1309
- for (var o in r)
1310
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1311
- }
1312
- return t;
1313
- }, Pe.apply(this, arguments);
1314
- };
1315
- var _;
1301
+ }, ze = {
1302
+ variadic: pi,
1303
+ monadic: gi
1304
+ }, _;
1316
1305
  (function(e) {
1317
1306
  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";
1318
1307
  })(_ || (_ = {}));
1319
- var S;
1308
+ var I;
1320
1309
  (function(e) {
1321
1310
  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";
1322
- })(S || (S = {}));
1323
- var ne;
1311
+ })(I || (I = {}));
1312
+ var ie;
1324
1313
  (function(e) {
1325
1314
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1326
- })(ne || (ne = {}));
1327
- function Gt(e) {
1328
- return e.type === S.literal;
1315
+ })(ie || (ie = {}));
1316
+ function Ut(e) {
1317
+ return e.type === I.literal;
1318
+ }
1319
+ function yi(e) {
1320
+ return e.type === I.argument;
1329
1321
  }
1330
- function xi(e) {
1331
- return e.type === S.argument;
1322
+ function Br(e) {
1323
+ return e.type === I.number;
1332
1324
  }
1333
1325
  function Ar(e) {
1334
- return e.type === S.number;
1326
+ return e.type === I.date;
1335
1327
  }
1336
1328
  function Tr(e) {
1337
- return e.type === S.date;
1329
+ return e.type === I.time;
1330
+ }
1331
+ function Hr(e) {
1332
+ return e.type === I.select;
1338
1333
  }
1339
1334
  function Pr(e) {
1340
- return e.type === S.time;
1335
+ return e.type === I.plural;
1341
1336
  }
1342
- function Hr(e) {
1343
- return e.type === S.select;
1337
+ function _i(e) {
1338
+ return e.type === I.pound;
1344
1339
  }
1345
1340
  function Mr(e) {
1346
- return e.type === S.plural;
1347
- }
1348
- function wi(e) {
1349
- return e.type === S.pound;
1341
+ return e.type === I.tag;
1350
1342
  }
1351
1343
  function Or(e) {
1352
- return e.type === S.tag;
1344
+ return !!(e && typeof e == "object" && e.type === ie.number);
1353
1345
  }
1354
- function Lr(e) {
1355
- return !!(e && typeof e == "object" && e.type === ne.number);
1346
+ function ot(e) {
1347
+ return !!(e && typeof e == "object" && e.type === ie.dateTime);
1356
1348
  }
1357
- function ut(e) {
1358
- return !!(e && typeof e == "object" && e.type === ne.dateTime);
1359
- }
1360
- var Cr = /[ \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;
1361
- function Ni(e) {
1349
+ var Lr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, xi = /(?:[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;
1350
+ function wi(e) {
1362
1351
  var t = {};
1363
- return e.replace(Ei, function(r) {
1352
+ return e.replace(xi, function(r) {
1364
1353
  var n = r.length;
1365
1354
  switch (r[0]) {
1366
1355
  case "G":
@@ -1449,21 +1438,11 @@ function Ni(e) {
1449
1438
  return "";
1450
1439
  }), t;
1451
1440
  }
1452
- var T = function() {
1453
- return T = Object.assign || function(t) {
1454
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1455
- r = arguments[n];
1456
- for (var o in r)
1457
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1458
- }
1459
- return t;
1460
- }, T.apply(this, arguments);
1461
- };
1462
- var Si = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1463
- function Ii(e) {
1441
+ var Ei = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1442
+ function Ni(e) {
1464
1443
  if (e.length === 0)
1465
1444
  throw new Error("Number skeleton cannot be empty");
1466
- for (var t = e.split(Si).filter(function(f) {
1445
+ for (var t = e.split(Ei).filter(function(f) {
1467
1446
  return f.length > 0;
1468
1447
  }), r = [], n = 0, i = t; n < i.length; n++) {
1469
1448
  var o = i[n], a = o.split("/");
@@ -1478,17 +1457,17 @@ function Ii(e) {
1478
1457
  }
1479
1458
  return r;
1480
1459
  }
1481
- function Bi(e) {
1460
+ function Si(e) {
1482
1461
  return e.replace(/^(.*?)-/, "");
1483
1462
  }
1484
- var $t = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Fr = /^(@+)?(\+|#+)?[rs]?$/g, Ai = /(\*)(0+)|(#+)(0+)|(0+)/g, Rr = /^(0+)$/;
1485
- function kt(e) {
1463
+ var Dt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Cr = /^(@+)?(\+|#+)?[rs]?$/g, Ii = /(\*)(0+)|(#+)(0+)|(0+)/g, Fr = /^(0+)$/;
1464
+ function Gt(e) {
1486
1465
  var t = {};
1487
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Fr, function(r, n, i) {
1466
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Cr, function(r, n, i) {
1488
1467
  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)), "";
1489
1468
  }), t;
1490
1469
  }
1491
- function Ur(e) {
1470
+ function Rr(e) {
1492
1471
  switch (e) {
1493
1472
  case "sign-auto":
1494
1473
  return {
@@ -1528,7 +1507,7 @@ function Ur(e) {
1528
1507
  };
1529
1508
  }
1530
1509
  }
1531
- function Ti(e) {
1510
+ function Bi(e) {
1532
1511
  var t;
1533
1512
  if (e[0] === "E" && e[1] === "E" ? (t = {
1534
1513
  notation: "engineering"
@@ -1536,17 +1515,17 @@ function Ti(e) {
1536
1515
  notation: "scientific"
1537
1516
  }, e = e.slice(1)), t) {
1538
1517
  var r = e.slice(0, 2);
1539
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Rr.test(e))
1518
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Fr.test(e))
1540
1519
  throw new Error("Malformed concise eng/scientific notation");
1541
1520
  t.minimumIntegerDigits = e.length;
1542
1521
  }
1543
1522
  return t;
1544
1523
  }
1545
- function jt(e) {
1546
- var t = {}, r = Ur(e);
1524
+ function $t(e) {
1525
+ var t = {}, r = Rr(e);
1547
1526
  return r || t;
1548
1527
  }
1549
- function Pi(e) {
1528
+ function Ai(e) {
1550
1529
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1551
1530
  var i = n[r];
1552
1531
  switch (i.stem) {
@@ -1570,7 +1549,7 @@ function Pi(e) {
1570
1549
  continue;
1571
1550
  case "measure-unit":
1572
1551
  case "unit":
1573
- t.style = "unit", t.unit = Bi(i.options[0]);
1552
+ t.style = "unit", t.unit = Si(i.options[0]);
1574
1553
  continue;
1575
1554
  case "compact-short":
1576
1555
  case "K":
@@ -1581,13 +1560,13 @@ function Pi(e) {
1581
1560
  t.notation = "compact", t.compactDisplay = "long";
1582
1561
  continue;
1583
1562
  case "scientific":
1584
- t = T(T(T({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1585
- return T(T({}, l), jt(u));
1563
+ t = w(w(w({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1564
+ return w(w({}, l), $t(u));
1586
1565
  }, {}));
1587
1566
  continue;
1588
1567
  case "engineering":
1589
- t = T(T(T({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1590
- return T(T({}, l), jt(u));
1568
+ t = w(w(w({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1569
+ return w(w({}, l), $t(u));
1591
1570
  }, {}));
1592
1571
  continue;
1593
1572
  case "notation-simple":
@@ -1632,41 +1611,41 @@ function Pi(e) {
1632
1611
  case "integer-width":
1633
1612
  if (i.options.length > 1)
1634
1613
  throw new RangeError("integer-width stems only accept a single optional option");
1635
- i.options[0].replace(Ai, function(l, u, h, d, f, m) {
1614
+ i.options[0].replace(Ii, function(l, u, h, d, f, p) {
1636
1615
  if (u)
1637
1616
  t.minimumIntegerDigits = h.length;
1638
1617
  else {
1639
1618
  if (d && f)
1640
1619
  throw new Error("We currently do not support maximum integer digits");
1641
- if (m)
1620
+ if (p)
1642
1621
  throw new Error("We currently do not support exact integer digits");
1643
1622
  }
1644
1623
  return "";
1645
1624
  });
1646
1625
  continue;
1647
1626
  }
1648
- if (Rr.test(i.stem)) {
1627
+ if (Fr.test(i.stem)) {
1649
1628
  t.minimumIntegerDigits = i.stem.length;
1650
1629
  continue;
1651
1630
  }
1652
- if ($t.test(i.stem)) {
1631
+ if (Dt.test(i.stem)) {
1653
1632
  if (i.options.length > 1)
1654
1633
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1655
- i.stem.replace($t, function(l, u, h, d, f, m) {
1656
- return h === "*" ? t.minimumFractionDigits = u.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : f && m ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + m.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1634
+ i.stem.replace(Dt, function(l, u, h, d, f, p) {
1635
+ return h === "*" ? t.minimumFractionDigits = u.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1657
1636
  });
1658
1637
  var o = i.options[0];
1659
- o === "w" ? t = T(T({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = T(T({}, t), kt(o)));
1638
+ o === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = w(w({}, t), Gt(o)));
1660
1639
  continue;
1661
1640
  }
1662
- if (Fr.test(i.stem)) {
1663
- t = T(T({}, t), kt(i.stem));
1641
+ if (Cr.test(i.stem)) {
1642
+ t = w(w({}, t), Gt(i.stem));
1664
1643
  continue;
1665
1644
  }
1666
- var a = Ur(i.stem);
1667
- a && (t = T(T({}, t), a));
1668
- var s = Ti(i.stem);
1669
- s && (t = T(T({}, t), s));
1645
+ var a = Rr(i.stem);
1646
+ a && (t = w(w({}, t), a));
1647
+ var s = Bi(i.stem);
1648
+ s && (t = w(w({}, t), s));
1670
1649
  }
1671
1650
  return t;
1672
1651
  }
@@ -3085,13 +3064,13 @@ var Ee = {
3085
3064
  "h"
3086
3065
  ]
3087
3066
  };
3088
- function Hi(e, t) {
3067
+ function Ti(e, t) {
3089
3068
  for (var r = "", n = 0; n < e.length; n++) {
3090
3069
  var i = e.charAt(n);
3091
3070
  if (i === "j") {
3092
3071
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3093
3072
  o++, n++;
3094
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Mi(t);
3073
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Hi(t);
3095
3074
  for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
3096
3075
  r += l;
3097
3076
  for (; a-- > 0; )
@@ -3101,7 +3080,7 @@ function Hi(e, t) {
3101
3080
  }
3102
3081
  return r;
3103
3082
  }
3104
- function Mi(e) {
3083
+ function Hi(e) {
3105
3084
  var t = e.hourCycle;
3106
3085
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3107
3086
  e.hourCycles && // @ts-ignore
@@ -3123,20 +3102,20 @@ function Mi(e) {
3123
3102
  var i = Ee[n || ""] || Ee[r || ""] || Ee["".concat(r, "-001")] || Ee["001"];
3124
3103
  return i[0];
3125
3104
  }
3126
- var Ye, Oi = new RegExp("^".concat(Cr.source, "*")), Li = new RegExp("".concat(Cr.source, "*$"));
3105
+ var Ze, Pi = new RegExp("^".concat(Lr.source, "*")), Mi = new RegExp("".concat(Lr.source, "*$"));
3127
3106
  function x(e, t) {
3128
3107
  return { start: e, end: t };
3129
3108
  }
3130
- var Ci = !!String.prototype.startsWith && "_a".startsWith("a", 1), Fi = !!String.fromCodePoint, Ri = !!Object.fromEntries, Ui = !!String.prototype.codePointAt, Di = !!String.prototype.trimStart, Gi = !!String.prototype.trimEnd, $i = !!Number.isSafeInteger, ki = $i ? Number.isSafeInteger : function(e) {
3109
+ var Oi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Li = !!String.fromCodePoint, Ci = !!Object.fromEntries, Fi = !!String.prototype.codePointAt, Ri = !!String.prototype.trimStart, Ui = !!String.prototype.trimEnd, Di = !!Number.isSafeInteger, Gi = Di ? Number.isSafeInteger : function(e) {
3131
3110
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3132
- }, ht = !0;
3111
+ }, at = !0;
3133
3112
  try {
3134
- var ji = Gr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3135
- ht = ((Ye = ji.exec("a")) === null || Ye === void 0 ? void 0 : Ye[0]) === "a";
3113
+ var $i = Dr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3114
+ at = ((Ze = $i.exec("a")) === null || Ze === void 0 ? void 0 : Ze[0]) === "a";
3136
3115
  } catch (e) {
3137
- ht = !1;
3116
+ at = !1;
3138
3117
  }
3139
- var Wt = Ci ? (
3118
+ var kt = Oi ? (
3140
3119
  // Native
3141
3120
  function(t, r, n) {
3142
3121
  return t.startsWith(r, n);
@@ -3146,7 +3125,7 @@ var Wt = Ci ? (
3146
3125
  function(t, r, n) {
3147
3126
  return t.slice(n, n + r.length) === r;
3148
3127
  }
3149
- ), ct = Fi ? String.fromCodePoint : (
3128
+ ), st = Li ? String.fromCodePoint : (
3150
3129
  // IE11
3151
3130
  function() {
3152
3131
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3158,9 +3137,9 @@ var Wt = Ci ? (
3158
3137
  }
3159
3138
  return n;
3160
3139
  }
3161
- ), Vt = (
3140
+ ), jt = (
3162
3141
  // native
3163
- Ri ? Object.fromEntries : (
3142
+ Ci ? Object.fromEntries : (
3164
3143
  // Ponyfill
3165
3144
  function(t) {
3166
3145
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3170,7 +3149,7 @@ var Wt = Ci ? (
3170
3149
  return r;
3171
3150
  }
3172
3151
  )
3173
- ), Dr = Ui ? (
3152
+ ), Ur = Fi ? (
3174
3153
  // Native
3175
3154
  function(t, r) {
3176
3155
  return t.codePointAt(r);
@@ -3184,7 +3163,7 @@ var Wt = Ci ? (
3184
3163
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3185
3164
  }
3186
3165
  }
3187
- ), Wi = Di ? (
3166
+ ), ki = Ri ? (
3188
3167
  // Native
3189
3168
  function(t) {
3190
3169
  return t.trimStart();
@@ -3192,9 +3171,9 @@ var Wt = Ci ? (
3192
3171
  ) : (
3193
3172
  // Ponyfill
3194
3173
  function(t) {
3195
- return t.replace(Oi, "");
3174
+ return t.replace(Pi, "");
3196
3175
  }
3197
- ), Vi = Gi ? (
3176
+ ), ji = Ui ? (
3198
3177
  // Native
3199
3178
  function(t) {
3200
3179
  return t.trimEnd();
@@ -3202,32 +3181,32 @@ var Wt = Ci ? (
3202
3181
  ) : (
3203
3182
  // Ponyfill
3204
3183
  function(t) {
3205
- return t.replace(Li, "");
3184
+ return t.replace(Mi, "");
3206
3185
  }
3207
3186
  );
3208
- function Gr(e, t) {
3187
+ function Dr(e, t) {
3209
3188
  return new RegExp(e, t);
3210
3189
  }
3211
- var ft;
3212
- if (ht) {
3213
- var Xt = Gr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3214
- ft = function(t, r) {
3190
+ var lt;
3191
+ if (at) {
3192
+ var Wt = Dr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3193
+ lt = function(t, r) {
3215
3194
  var n;
3216
- Xt.lastIndex = r;
3217
- var i = Xt.exec(t);
3195
+ Wt.lastIndex = r;
3196
+ var i = Wt.exec(t);
3218
3197
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3219
3198
  };
3220
3199
  } else
3221
- ft = function(t, r) {
3200
+ lt = function(t, r) {
3222
3201
  for (var n = []; ; ) {
3223
- var i = Dr(t, r);
3224
- if (i === void 0 || $r(i) || Qi(i))
3202
+ var i = Ur(t, r);
3203
+ if (i === void 0 || Gr(i) || zi(i))
3225
3204
  break;
3226
3205
  n.push(i), r += i >= 65536 ? 2 : 1;
3227
3206
  }
3228
- return ct.apply(void 0, n);
3207
+ return st.apply(void 0, n);
3229
3208
  };
3230
- var Xi = (
3209
+ var Wi = (
3231
3210
  /** @class */
3232
3211
  function() {
3233
3212
  function e(t, r) {
@@ -3251,14 +3230,14 @@ var Xi = (
3251
3230
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3252
3231
  var s = this.clonePosition();
3253
3232
  this.bump(), i.push({
3254
- type: S.pound,
3233
+ type: I.pound,
3255
3234
  location: x(s, this.clonePosition())
3256
3235
  });
3257
3236
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3258
3237
  if (n)
3259
3238
  break;
3260
3239
  return this.error(_.UNMATCHED_CLOSING_TAG, x(this.clonePosition(), this.clonePosition()));
3261
- } else if (o === 60 && !this.ignoreTag && dt(this.peek() || 0)) {
3240
+ } else if (o === 60 && !this.ignoreTag && ut(this.peek() || 0)) {
3262
3241
  var a = this.parseTag(t, r);
3263
3242
  if (a.err)
3264
3243
  return a;
@@ -3279,7 +3258,7 @@ var Xi = (
3279
3258
  if (this.bumpSpace(), this.bumpIf("/>"))
3280
3259
  return {
3281
3260
  val: {
3282
- type: S.literal,
3261
+ type: I.literal,
3283
3262
  value: "<".concat(i, "/>"),
3284
3263
  location: x(n, this.clonePosition())
3285
3264
  },
@@ -3291,12 +3270,12 @@ var Xi = (
3291
3270
  return o;
3292
3271
  var a = o.val, s = this.clonePosition();
3293
3272
  if (this.bumpIf("</")) {
3294
- if (this.isEOF() || !dt(this.char()))
3273
+ if (this.isEOF() || !ut(this.char()))
3295
3274
  return this.error(_.INVALID_TAG, x(s, this.clonePosition()));
3296
3275
  var l = this.clonePosition(), u = this.parseTagName();
3297
3276
  return i !== u ? this.error(_.UNMATCHED_CLOSING_TAG, x(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3298
3277
  val: {
3299
- type: S.tag,
3278
+ type: I.tag,
3300
3279
  value: i,
3301
3280
  children: a,
3302
3281
  location: x(n, this.clonePosition())
@@ -3309,7 +3288,7 @@ var Xi = (
3309
3288
  return this.error(_.INVALID_TAG, x(n, this.clonePosition()));
3310
3289
  }, e.prototype.parseTagName = function() {
3311
3290
  var t = this.offset();
3312
- for (this.bump(); !this.isEOF() && Zi(this.char()); )
3291
+ for (this.bump(); !this.isEOF() && Xi(this.char()); )
3313
3292
  this.bump();
3314
3293
  return this.message.slice(t, this.offset());
3315
3294
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3333,12 +3312,12 @@ var Xi = (
3333
3312
  }
3334
3313
  var l = x(n, this.clonePosition());
3335
3314
  return {
3336
- val: { type: S.literal, value: i, location: l },
3315
+ val: { type: I.literal, value: i, location: l },
3337
3316
  err: null
3338
3317
  };
3339
3318
  }, e.prototype.tryParseLeftAngleBracket = function() {
3340
3319
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3341
- !zi(this.peek() || 0)) ? (this.bump(), "<") : null;
3320
+ !Vi(this.peek() || 0)) ? (this.bump(), "<") : null;
3342
3321
  }, e.prototype.tryParseQuote = function(t) {
3343
3322
  if (this.isEOF() || this.char() !== 39)
3344
3323
  return null;
@@ -3372,12 +3351,12 @@ var Xi = (
3372
3351
  r.push(n);
3373
3352
  this.bump();
3374
3353
  }
3375
- return ct.apply(void 0, r);
3354
+ return st.apply(void 0, r);
3376
3355
  }, e.prototype.tryParseUnquoted = function(t, r) {
3377
3356
  if (this.isEOF())
3378
3357
  return null;
3379
3358
  var n = this.char();
3380
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ct(n));
3359
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), st(n));
3381
3360
  }, e.prototype.parseArgument = function(t, r) {
3382
3361
  var n = this.clonePosition();
3383
3362
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3393,7 +3372,7 @@ var Xi = (
3393
3372
  case 125:
3394
3373
  return this.bump(), {
3395
3374
  val: {
3396
- type: S.argument,
3375
+ type: I.argument,
3397
3376
  // value does not include the opening and closing braces.
3398
3377
  value: i,
3399
3378
  location: x(n, this.clonePosition())
@@ -3406,7 +3385,7 @@ var Xi = (
3406
3385
  return this.error(_.MALFORMED_ARGUMENT, x(n, this.clonePosition()));
3407
3386
  }
3408
3387
  }, e.prototype.parseIdentifierIfPossible = function() {
3409
- var t = this.clonePosition(), r = this.offset(), n = ft(this.message, r), i = r + n.length;
3388
+ var t = this.clonePosition(), r = this.offset(), n = lt(this.message, r), i = r + n.length;
3410
3389
  this.bumpTo(i);
3411
3390
  var o = this.clonePosition(), a = x(t, o);
3412
3391
  return { value: n, location: a };
@@ -3425,35 +3404,35 @@ var Xi = (
3425
3404
  var h = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
3426
3405
  if (d.err)
3427
3406
  return d;
3428
- var f = Vi(d.val);
3407
+ var f = ji(d.val);
3429
3408
  if (f.length === 0)
3430
3409
  return this.error(_.EXPECT_ARGUMENT_STYLE, x(this.clonePosition(), this.clonePosition()));
3431
- var m = x(h, this.clonePosition());
3432
- u = { style: f, styleLocation: m };
3410
+ var p = x(h, this.clonePosition());
3411
+ u = { style: f, styleLocation: p };
3433
3412
  }
3434
3413
  var g = this.tryParseArgumentClose(i);
3435
3414
  if (g.err)
3436
3415
  return g;
3437
3416
  var v = x(i, this.clonePosition());
3438
- if (u && Wt(u == null ? void 0 : u.style, "::", 0)) {
3439
- var B = Wi(u.style.slice(2));
3417
+ if (u && kt(u == null ? void 0 : u.style, "::", 0)) {
3418
+ var A = ki(u.style.slice(2));
3440
3419
  if (s === "number") {
3441
- var d = this.parseNumberSkeletonFromString(B, u.styleLocation);
3420
+ var d = this.parseNumberSkeletonFromString(A, u.styleLocation);
3442
3421
  return d.err ? d : {
3443
- val: { type: S.number, value: n, location: v, style: d.val },
3422
+ val: { type: I.number, value: n, location: v, style: d.val },
3444
3423
  err: null
3445
3424
  };
3446
3425
  } else {
3447
- if (B.length === 0)
3426
+ if (A.length === 0)
3448
3427
  return this.error(_.EXPECT_DATE_TIME_SKELETON, v);
3449
- var N = B;
3450
- this.locale && (N = Hi(B, this.locale));
3428
+ var S = A;
3429
+ this.locale && (S = Ti(A, this.locale));
3451
3430
  var f = {
3452
- type: ne.dateTime,
3453
- pattern: N,
3431
+ type: ie.dateTime,
3432
+ pattern: S,
3454
3433
  location: u.styleLocation,
3455
- parsedOptions: this.shouldParseSkeletons ? Ni(N) : {}
3456
- }, b = s === "date" ? S.date : S.time;
3434
+ parsedOptions: this.shouldParseSkeletons ? wi(S) : {}
3435
+ }, b = s === "date" ? I.date : I.time;
3457
3436
  return {
3458
3437
  val: { type: b, value: n, location: v, style: f },
3459
3438
  err: null
@@ -3462,7 +3441,7 @@ var Xi = (
3462
3441
  }
3463
3442
  return {
3464
3443
  val: {
3465
- type: s === "number" ? S.number : s === "date" ? S.date : S.time,
3444
+ type: s === "number" ? I.number : s === "date" ? I.date : I.time,
3466
3445
  value: n,
3467
3446
  location: v,
3468
3447
  style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
@@ -3473,21 +3452,21 @@ var Xi = (
3473
3452
  case "plural":
3474
3453
  case "selectordinal":
3475
3454
  case "select": {
3476
- var E = this.clonePosition();
3455
+ var N = this.clonePosition();
3477
3456
  if (this.bumpSpace(), !this.bumpIf(","))
3478
- return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, x(E, Pe({}, E)));
3457
+ return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, x(N, w({}, N)));
3479
3458
  this.bumpSpace();
3480
- var w = this.parseIdentifierIfPossible(), P = 0;
3481
- if (s !== "select" && w.value === "offset") {
3459
+ var E = this.parseIdentifierIfPossible(), H = 0;
3460
+ if (s !== "select" && E.value === "offset") {
3482
3461
  if (!this.bumpIf(":"))
3483
3462
  return this.error(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, x(this.clonePosition(), this.clonePosition()));
3484
3463
  this.bumpSpace();
3485
3464
  var d = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3486
3465
  if (d.err)
3487
3466
  return d;
3488
- this.bumpSpace(), w = this.parseIdentifierIfPossible(), P = d.val;
3467
+ this.bumpSpace(), E = this.parseIdentifierIfPossible(), H = d.val;
3489
3468
  }
3490
- var W = this.tryParsePluralOrSelectOptions(t, s, r, w);
3469
+ var W = this.tryParsePluralOrSelectOptions(t, s, r, E);
3491
3470
  if (W.err)
3492
3471
  return W;
3493
3472
  var g = this.tryParseArgumentClose(i);
@@ -3496,18 +3475,18 @@ var Xi = (
3496
3475
  var Y = x(i, this.clonePosition());
3497
3476
  return s === "select" ? {
3498
3477
  val: {
3499
- type: S.select,
3478
+ type: I.select,
3500
3479
  value: n,
3501
- options: Vt(W.val),
3480
+ options: jt(W.val),
3502
3481
  location: Y
3503
3482
  },
3504
3483
  err: null
3505
3484
  } : {
3506
3485
  val: {
3507
- type: S.plural,
3486
+ type: I.plural,
3508
3487
  value: n,
3509
- options: Vt(W.val),
3510
- offset: P,
3488
+ options: jt(W.val),
3489
+ offset: H,
3511
3490
  pluralType: s === "plural" ? "cardinal" : "ordinal",
3512
3491
  location: Y
3513
3492
  },
@@ -3557,16 +3536,16 @@ var Xi = (
3557
3536
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3558
3537
  var n = [];
3559
3538
  try {
3560
- n = Ii(t);
3539
+ n = Ni(t);
3561
3540
  } catch (i) {
3562
3541
  return this.error(_.INVALID_NUMBER_SKELETON, r);
3563
3542
  }
3564
3543
  return {
3565
3544
  val: {
3566
- type: ne.number,
3545
+ type: ie.number,
3567
3546
  tokens: n,
3568
3547
  location: r,
3569
- parsedOptions: this.shouldParseSkeletons ? Pi(n) : {}
3548
+ parsedOptions: this.shouldParseSkeletons ? Ai(n) : {}
3570
3549
  },
3571
3550
  err: null
3572
3551
  };
@@ -3585,20 +3564,20 @@ var Xi = (
3585
3564
  if (l.has(u))
3586
3565
  return this.error(r === "select" ? _.DUPLICATE_SELECT_ARGUMENT_SELECTOR : _.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3587
3566
  u === "other" && (a = !0), this.bumpSpace();
3588
- var m = this.clonePosition();
3567
+ var p = this.clonePosition();
3589
3568
  if (!this.bumpIf("{"))
3590
3569
  return this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : _.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, x(this.clonePosition(), this.clonePosition()));
3591
3570
  var g = this.parseMessage(t + 1, r, n);
3592
3571
  if (g.err)
3593
3572
  return g;
3594
- var v = this.tryParseArgumentClose(m);
3573
+ var v = this.tryParseArgumentClose(p);
3595
3574
  if (v.err)
3596
3575
  return v;
3597
3576
  s.push([
3598
3577
  u,
3599
3578
  {
3600
3579
  value: g.val,
3601
- location: x(m, this.clonePosition())
3580
+ location: x(p, this.clonePosition())
3602
3581
  }
3603
3582
  ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
3604
3583
  }
@@ -3614,7 +3593,7 @@ var Xi = (
3614
3593
  break;
3615
3594
  }
3616
3595
  var l = x(i, this.clonePosition());
3617
- return o ? (a *= n, ki(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3596
+ return o ? (a *= n, Gi(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3618
3597
  }, e.prototype.offset = function() {
3619
3598
  return this.position.offset;
3620
3599
  }, e.prototype.isEOF = function() {
@@ -3629,7 +3608,7 @@ var Xi = (
3629
3608
  var t = this.position.offset;
3630
3609
  if (t >= this.message.length)
3631
3610
  throw Error("out of bound");
3632
- var r = Dr(this.message, t);
3611
+ var r = Ur(this.message, t);
3633
3612
  if (r === void 0)
3634
3613
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3635
3614
  return r;
@@ -3648,7 +3627,7 @@ var Xi = (
3648
3627
  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);
3649
3628
  }
3650
3629
  }, e.prototype.bumpIf = function(t) {
3651
- if (Wt(this.message, t, this.offset())) {
3630
+ if (kt(this.message, t, this.offset())) {
3652
3631
  for (var r = 0; r < t.length; r++)
3653
3632
  this.bump();
3654
3633
  return !0;
@@ -3670,7 +3649,7 @@ var Xi = (
3670
3649
  break;
3671
3650
  }
3672
3651
  }, e.prototype.bumpSpace = function() {
3673
- for (; !this.isEOF() && $r(this.char()); )
3652
+ for (; !this.isEOF() && Gr(this.char()); )
3674
3653
  this.bump();
3675
3654
  }, e.prototype.peek = function() {
3676
3655
  if (this.isEOF())
@@ -3680,47 +3659,47 @@ var Xi = (
3680
3659
  }, e;
3681
3660
  }()
3682
3661
  );
3683
- function dt(e) {
3662
+ function ut(e) {
3684
3663
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3685
3664
  }
3686
- function zi(e) {
3687
- return dt(e) || e === 47;
3665
+ function Vi(e) {
3666
+ return ut(e) || e === 47;
3688
3667
  }
3689
- function Zi(e) {
3668
+ function Xi(e) {
3690
3669
  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;
3691
3670
  }
3692
- function $r(e) {
3671
+ function Gr(e) {
3693
3672
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3694
3673
  }
3695
- function Qi(e) {
3674
+ function zi(e) {
3696
3675
  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;
3697
3676
  }
3698
- function pt(e) {
3677
+ function ht(e) {
3699
3678
  e.forEach(function(t) {
3700
- if (delete t.location, Hr(t) || Mr(t))
3679
+ if (delete t.location, Hr(t) || Pr(t))
3701
3680
  for (var r in t.options)
3702
- delete t.options[r].location, pt(t.options[r].value);
3681
+ delete t.options[r].location, ht(t.options[r].value);
3703
3682
  else
3704
- Ar(t) && Lr(t.style) || (Tr(t) || Pr(t)) && ut(t.style) ? delete t.style.location : Or(t) && pt(t.children);
3683
+ Br(t) && Or(t.style) || (Ar(t) || Tr(t)) && ot(t.style) ? delete t.style.location : Mr(t) && ht(t.children);
3705
3684
  });
3706
3685
  }
3707
- function Yi(e, t) {
3708
- t === void 0 && (t = {}), t = Pe({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3709
- var r = new Xi(e, t).parse();
3686
+ function Zi(e, t) {
3687
+ t === void 0 && (t = {}), t = w({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3688
+ var r = new Wi(e, t).parse();
3710
3689
  if (r.err) {
3711
3690
  var n = SyntaxError(_[r.err.kind]);
3712
3691
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3713
3692
  }
3714
- return t != null && t.captureLocation || pt(r.val), r.val;
3693
+ return t != null && t.captureLocation || ht(r.val), r.val;
3715
3694
  }
3716
- var ie;
3695
+ var oe;
3717
3696
  (function(e) {
3718
3697
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3719
- })(ie || (ie = {}));
3720
- var Re = (
3698
+ })(oe || (oe = {}));
3699
+ var Ce = (
3721
3700
  /** @class */
3722
3701
  function(e) {
3723
- Fe(t, e);
3702
+ j(t, e);
3724
3703
  function t(r, n, i) {
3725
3704
  var o = e.call(this, r) || this;
3726
3705
  return o.code = n, o.originalMessage = i, o;
@@ -3729,48 +3708,48 @@ var Re = (
3729
3708
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3730
3709
  }, t;
3731
3710
  }(Error)
3732
- ), zt = (
3711
+ ), Vt = (
3733
3712
  /** @class */
3734
3713
  function(e) {
3735
- Fe(t, e);
3714
+ j(t, e);
3736
3715
  function t(r, n, i, o) {
3737
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ie.INVALID_VALUE, o) || this;
3716
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), oe.INVALID_VALUE, o) || this;
3738
3717
  }
3739
3718
  return t;
3740
- }(Re)
3741
- ), Ji = (
3719
+ }(Ce)
3720
+ ), Qi = (
3742
3721
  /** @class */
3743
3722
  function(e) {
3744
- Fe(t, e);
3723
+ j(t, e);
3745
3724
  function t(r, n, i) {
3746
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ie.INVALID_VALUE, i) || this;
3725
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), oe.INVALID_VALUE, i) || this;
3747
3726
  }
3748
3727
  return t;
3749
- }(Re)
3750
- ), qi = (
3728
+ }(Ce)
3729
+ ), Yi = (
3751
3730
  /** @class */
3752
3731
  function(e) {
3753
- Fe(t, e);
3732
+ j(t, e);
3754
3733
  function t(r, n) {
3755
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ie.MISSING_VALUE, n) || this;
3734
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), oe.MISSING_VALUE, n) || this;
3756
3735
  }
3757
3736
  return t;
3758
- }(Re)
3737
+ }(Ce)
3759
3738
  ), O;
3760
3739
  (function(e) {
3761
3740
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3762
3741
  })(O || (O = {}));
3763
- function Ki(e) {
3742
+ function Ji(e) {
3764
3743
  return e.length < 2 ? e : e.reduce(function(t, r) {
3765
3744
  var n = t[t.length - 1];
3766
3745
  return !n || n.type !== O.literal || r.type !== O.literal ? t.push(r) : n.value += r.value, t;
3767
3746
  }, []);
3768
3747
  }
3769
- function eo(e) {
3748
+ function qi(e) {
3770
3749
  return typeof e == "function";
3771
3750
  }
3772
3751
  function Be(e, t, r, n, i, o, a) {
3773
- if (e.length === 1 && Gt(e[0]))
3752
+ if (e.length === 1 && Ut(e[0]))
3774
3753
  return [
3775
3754
  {
3776
3755
  type: O.literal,
@@ -3779,14 +3758,14 @@ function Be(e, t, r, n, i, o, a) {
3779
3758
  ];
3780
3759
  for (var s = [], l = 0, u = e; l < u.length; l++) {
3781
3760
  var h = u[l];
3782
- if (Gt(h)) {
3761
+ if (Ut(h)) {
3783
3762
  s.push({
3784
3763
  type: O.literal,
3785
3764
  value: h.value
3786
3765
  });
3787
3766
  continue;
3788
3767
  }
3789
- if (wi(h)) {
3768
+ if (_i(h)) {
3790
3769
  typeof o == "number" && s.push({
3791
3770
  type: O.literal,
3792
3771
  value: r.getNumberFormat(t).format(o)
@@ -3795,89 +3774,89 @@ function Be(e, t, r, n, i, o, a) {
3795
3774
  }
3796
3775
  var d = h.value;
3797
3776
  if (!(i && d in i))
3798
- throw new qi(d, a);
3777
+ throw new Yi(d, a);
3799
3778
  var f = i[d];
3800
- if (xi(h)) {
3779
+ if (yi(h)) {
3801
3780
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
3802
3781
  type: typeof f == "string" ? O.literal : O.object,
3803
3782
  value: f
3804
3783
  });
3805
3784
  continue;
3806
3785
  }
3807
- if (Tr(h)) {
3808
- var m = typeof h.style == "string" ? n.date[h.style] : ut(h.style) ? h.style.parsedOptions : void 0;
3786
+ if (Ar(h)) {
3787
+ var p = typeof h.style == "string" ? n.date[h.style] : ot(h.style) ? h.style.parsedOptions : void 0;
3809
3788
  s.push({
3810
3789
  type: O.literal,
3811
- value: r.getDateTimeFormat(t, m).format(f)
3790
+ value: r.getDateTimeFormat(t, p).format(f)
3812
3791
  });
3813
3792
  continue;
3814
3793
  }
3815
- if (Pr(h)) {
3816
- var m = typeof h.style == "string" ? n.time[h.style] : ut(h.style) ? h.style.parsedOptions : n.time.medium;
3794
+ if (Tr(h)) {
3795
+ var p = typeof h.style == "string" ? n.time[h.style] : ot(h.style) ? h.style.parsedOptions : n.time.medium;
3817
3796
  s.push({
3818
3797
  type: O.literal,
3819
- value: r.getDateTimeFormat(t, m).format(f)
3798
+ value: r.getDateTimeFormat(t, p).format(f)
3820
3799
  });
3821
3800
  continue;
3822
3801
  }
3823
- if (Ar(h)) {
3824
- var m = typeof h.style == "string" ? n.number[h.style] : Lr(h.style) ? h.style.parsedOptions : void 0;
3825
- m && m.scale && (f = f * (m.scale || 1)), s.push({
3802
+ if (Br(h)) {
3803
+ var p = typeof h.style == "string" ? n.number[h.style] : Or(h.style) ? h.style.parsedOptions : void 0;
3804
+ p && p.scale && (f = f * (p.scale || 1)), s.push({
3826
3805
  type: O.literal,
3827
- value: r.getNumberFormat(t, m).format(f)
3806
+ value: r.getNumberFormat(t, p).format(f)
3828
3807
  });
3829
3808
  continue;
3830
3809
  }
3831
- if (Or(h)) {
3832
- var g = h.children, v = h.value, B = i[v];
3833
- if (!eo(B))
3834
- throw new Ji(v, "function", a);
3835
- var N = Be(g, t, r, n, i, o), b = B(N.map(function(P) {
3836
- return P.value;
3810
+ if (Mr(h)) {
3811
+ var g = h.children, v = h.value, A = i[v];
3812
+ if (!qi(A))
3813
+ throw new Qi(v, "function", a);
3814
+ var S = Be(g, t, r, n, i, o), b = A(S.map(function(H) {
3815
+ return H.value;
3837
3816
  }));
3838
- Array.isArray(b) || (b = [b]), s.push.apply(s, b.map(function(P) {
3817
+ Array.isArray(b) || (b = [b]), s.push.apply(s, b.map(function(H) {
3839
3818
  return {
3840
- type: typeof P == "string" ? O.literal : O.object,
3841
- value: P
3819
+ type: typeof H == "string" ? O.literal : O.object,
3820
+ value: H
3842
3821
  };
3843
3822
  }));
3844
3823
  }
3845
3824
  if (Hr(h)) {
3846
- var E = h.options[f] || h.options.other;
3847
- if (!E)
3848
- throw new zt(h.value, f, Object.keys(h.options), a);
3849
- s.push.apply(s, Be(E.value, t, r, n, i));
3825
+ var N = h.options[f] || h.options.other;
3826
+ if (!N)
3827
+ throw new Vt(h.value, f, Object.keys(h.options), a);
3828
+ s.push.apply(s, Be(N.value, t, r, n, i));
3850
3829
  continue;
3851
3830
  }
3852
- if (Mr(h)) {
3853
- var E = h.options["=".concat(f)];
3854
- if (!E) {
3831
+ if (Pr(h)) {
3832
+ var N = h.options["=".concat(f)];
3833
+ if (!N) {
3855
3834
  if (!Intl.PluralRules)
3856
- throw new Re(`Intl.PluralRules is not available in this environment.
3835
+ throw new Ce(`Intl.PluralRules is not available in this environment.
3857
3836
  Try polyfilling it using "@formatjs/intl-pluralrules"
3858
- `, ie.MISSING_INTL_API, a);
3859
- var w = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3860
- E = h.options[w] || h.options.other;
3837
+ `, oe.MISSING_INTL_API, a);
3838
+ var E = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3839
+ N = h.options[E] || h.options.other;
3861
3840
  }
3862
- if (!E)
3863
- throw new zt(h.value, f, Object.keys(h.options), a);
3864
- s.push.apply(s, Be(E.value, t, r, n, i, f - (h.offset || 0)));
3841
+ if (!N)
3842
+ throw new Vt(h.value, f, Object.keys(h.options), a);
3843
+ s.push.apply(s, Be(N.value, t, r, n, i, f - (h.offset || 0)));
3865
3844
  continue;
3866
3845
  }
3867
3846
  }
3868
- return Ki(s);
3847
+ return Ji(s);
3869
3848
  }
3870
- function to(e, t) {
3871
- return t ? G(G(G({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3872
- return r[n] = G(G({}, e[n]), t[n] || {}), r;
3849
+ function Ki(e, t) {
3850
+ return t ? w(w(w({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3851
+ return r[n] = w(w({}, e[n]), t[n] || {}), r;
3873
3852
  }, {})) : e;
3874
3853
  }
3875
- function ro(e, t) {
3854
+ function eo(e, t) {
3876
3855
  return t ? Object.keys(e).reduce(function(r, n) {
3877
- return r[n] = to(e[n], t[n]), r;
3878
- }, G({}, e)) : e;
3856
+ return r[n] = Ki(e[n], t[n]), r;
3857
+ }, w({}, e)) : e;
3879
3858
  }
3880
- function Je(e) {
3859
+ function Qe(e) {
3881
3860
  return {
3882
3861
  create: function() {
3883
3862
  return {
@@ -3891,39 +3870,39 @@ function Je(e) {
3891
3870
  }
3892
3871
  };
3893
3872
  }
3894
- function no(e) {
3873
+ function to(e) {
3895
3874
  return e === void 0 && (e = {
3896
3875
  number: {},
3897
3876
  dateTime: {},
3898
3877
  pluralRules: {}
3899
3878
  }), {
3900
- getNumberFormat: Ze(function() {
3879
+ getNumberFormat: Xe(function() {
3901
3880
  for (var t, r = [], n = 0; n < arguments.length; n++)
3902
3881
  r[n] = arguments[n];
3903
- return new ((t = Intl.NumberFormat).bind.apply(t, ze([void 0], r, !1)))();
3882
+ return new ((t = Intl.NumberFormat).bind.apply(t, te([void 0], r, !1)))();
3904
3883
  }, {
3905
- cache: Je(e.number),
3906
- strategy: Qe.variadic
3884
+ cache: Qe(e.number),
3885
+ strategy: ze.variadic
3907
3886
  }),
3908
- getDateTimeFormat: Ze(function() {
3887
+ getDateTimeFormat: Xe(function() {
3909
3888
  for (var t, r = [], n = 0; n < arguments.length; n++)
3910
3889
  r[n] = arguments[n];
3911
- return new ((t = Intl.DateTimeFormat).bind.apply(t, ze([void 0], r, !1)))();
3890
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, te([void 0], r, !1)))();
3912
3891
  }, {
3913
- cache: Je(e.dateTime),
3914
- strategy: Qe.variadic
3892
+ cache: Qe(e.dateTime),
3893
+ strategy: ze.variadic
3915
3894
  }),
3916
- getPluralRules: Ze(function() {
3895
+ getPluralRules: Xe(function() {
3917
3896
  for (var t, r = [], n = 0; n < arguments.length; n++)
3918
3897
  r[n] = arguments[n];
3919
- return new ((t = Intl.PluralRules).bind.apply(t, ze([void 0], r, !1)))();
3898
+ return new ((t = Intl.PluralRules).bind.apply(t, te([void 0], r, !1)))();
3920
3899
  }, {
3921
- cache: Je(e.pluralRules),
3922
- strategy: Qe.variadic
3900
+ cache: Qe(e.pluralRules),
3901
+ strategy: ze.variadic
3923
3902
  })
3924
3903
  };
3925
3904
  }
3926
- var io = (
3905
+ var ro = (
3927
3906
  /** @class */
3928
3907
  function() {
3929
3908
  function e(t, r, n, i) {
@@ -3955,13 +3934,13 @@ var io = (
3955
3934
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3956
3935
  var a = i || {};
3957
3936
  a.formatters;
3958
- var s = di(a, ["formatters"]);
3959
- this.ast = e.__parse(t, G(G({}, s), { locale: this.resolvedLocale }));
3937
+ var s = Cn(a, ["formatters"]);
3938
+ this.ast = e.__parse(t, w(w({}, s), { locale: this.resolvedLocale }));
3960
3939
  } else
3961
3940
  this.ast = t;
3962
3941
  if (!Array.isArray(this.ast))
3963
3942
  throw new TypeError("A message must be provided as a String or AST.");
3964
- this.formats = ro(e.formats, n), this.formatters = i && i.formatters || no(this.formatterCache);
3943
+ this.formats = eo(e.formats, n), this.formatters = i && i.formatters || to(this.formatterCache);
3965
3944
  }
3966
3945
  return Object.defineProperty(e, "defaultLocale", {
3967
3946
  get: function() {
@@ -3974,7 +3953,7 @@ var io = (
3974
3953
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3975
3954
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3976
3955
  }
3977
- }, e.__parse = Yi, e.formats = {
3956
+ }, e.__parse = Zi, e.formats = {
3978
3957
  number: {
3979
3958
  integer: {
3980
3959
  maximumFractionDigits: 0
@@ -4035,7 +4014,7 @@ var io = (
4035
4014
  }, e;
4036
4015
  }()
4037
4016
  );
4038
- function oo(e, t) {
4017
+ function no(e, t) {
4039
4018
  if (t == null)
4040
4019
  return;
4041
4020
  if (t in e)
@@ -4056,92 +4035,92 @@ function oo(e, t) {
4056
4035
  n = void 0;
4057
4036
  return n;
4058
4037
  }
4059
- const X = {}, ao = (e, t, r) => r && (t in X || (X[t] = {}), e in X[t] || (X[t][e] = r), r), kr = (e, t) => {
4038
+ const X = {}, io = (e, t, r) => r && (t in X || (X[t] = {}), e in X[t] || (X[t][e] = r), r), $r = (e, t) => {
4060
4039
  if (t == null)
4061
4040
  return;
4062
4041
  if (t in X && e in X[t])
4063
4042
  return X[t][e];
4064
- const r = Ue(t);
4043
+ const r = Fe(t);
4065
4044
  for (let n = 0; n < r.length; n++) {
4066
- const i = r[n], o = lo(i, e);
4045
+ const i = r[n], o = ao(i, e);
4067
4046
  if (o)
4068
- return ao(e, t, o);
4047
+ return io(e, t, o);
4069
4048
  }
4070
4049
  };
4071
- let yt;
4072
- const ye = Ce({});
4073
- function so(e) {
4074
- return yt[e] || null;
4050
+ let vt;
4051
+ const ye = Le({});
4052
+ function oo(e) {
4053
+ return vt[e] || null;
4075
4054
  }
4076
- function jr(e) {
4077
- return e in yt;
4055
+ function kr(e) {
4056
+ return e in vt;
4078
4057
  }
4079
- function lo(e, t) {
4080
- if (!jr(e))
4058
+ function ao(e, t) {
4059
+ if (!kr(e))
4081
4060
  return null;
4082
- const r = so(e);
4083
- return oo(r, t);
4061
+ const r = oo(e);
4062
+ return no(r, t);
4084
4063
  }
4085
- function uo(e) {
4064
+ function so(e) {
4086
4065
  if (e == null)
4087
4066
  return;
4088
- const t = Ue(e);
4067
+ const t = Fe(e);
4089
4068
  for (let r = 0; r < t.length; r++) {
4090
4069
  const n = t[r];
4091
- if (jr(n))
4070
+ if (kr(n))
4092
4071
  return n;
4093
4072
  }
4094
4073
  }
4095
- function Wr(e, ...t) {
4074
+ function jr(e, ...t) {
4096
4075
  delete X[e], ye.update((r) => (r[e] = fi.all([r[e] || {}, ...t]), r));
4097
4076
  }
4098
- se(
4077
+ le(
4099
4078
  [ye],
4100
4079
  ([e]) => Object.keys(e)
4101
4080
  );
4102
- ye.subscribe((e) => yt = e);
4081
+ ye.subscribe((e) => vt = e);
4103
4082
  const Ae = {};
4104
- function ho(e, t) {
4083
+ function lo(e, t) {
4105
4084
  Ae[e].delete(t), Ae[e].size === 0 && delete Ae[e];
4106
4085
  }
4107
- function Vr(e) {
4086
+ function Wr(e) {
4108
4087
  return Ae[e];
4109
4088
  }
4110
- function co(e) {
4111
- return Ue(e).map((t) => {
4112
- const r = Vr(t);
4089
+ function uo(e) {
4090
+ return Fe(e).map((t) => {
4091
+ const r = Wr(t);
4113
4092
  return [t, r ? [...r] : []];
4114
4093
  }).filter(([, t]) => t.length > 0);
4115
4094
  }
4116
- function mt(e) {
4117
- return e == null ? !1 : Ue(e).some(
4095
+ function ct(e) {
4096
+ return e == null ? !1 : Fe(e).some(
4118
4097
  (t) => {
4119
4098
  var r;
4120
- return (r = Vr(t)) == null ? void 0 : r.size;
4099
+ return (r = Wr(t)) == null ? void 0 : r.size;
4121
4100
  }
4122
4101
  );
4123
4102
  }
4124
- function fo(e, t) {
4103
+ function ho(e, t) {
4125
4104
  return Promise.all(
4126
- t.map((n) => (ho(e, n), n().then((i) => i.default || i)))
4127
- ).then((n) => Wr(e, ...n));
4128
- }
4129
- const ce = {};
4130
- function Xr(e) {
4131
- if (!mt(e))
4132
- return e in ce ? ce[e] : Promise.resolve();
4133
- const t = co(e);
4134
- return ce[e] = Promise.all(
4105
+ t.map((n) => (lo(e, n), n().then((i) => i.default || i)))
4106
+ ).then((n) => jr(e, ...n));
4107
+ }
4108
+ const fe = {};
4109
+ function Vr(e) {
4110
+ if (!ct(e))
4111
+ return e in fe ? fe[e] : Promise.resolve();
4112
+ const t = uo(e);
4113
+ return fe[e] = Promise.all(
4135
4114
  t.map(
4136
- ([r, n]) => fo(r, n)
4115
+ ([r, n]) => ho(r, n)
4137
4116
  )
4138
4117
  ).then(() => {
4139
- if (mt(e))
4140
- return Xr(e);
4141
- delete ce[e];
4142
- }), ce[e];
4118
+ if (ct(e))
4119
+ return Vr(e);
4120
+ delete fe[e];
4121
+ }), fe[e];
4143
4122
  }
4144
- const po = {
4123
+ const co = {
4145
4124
  number: {
4146
4125
  scientific: { notation: "scientific" },
4147
4126
  engineering: { notation: "engineering" },
@@ -4170,135 +4149,135 @@ const po = {
4170
4149
  timeZoneName: "short"
4171
4150
  }
4172
4151
  }
4173
- }, mo = {
4152
+ }, fo = {
4174
4153
  fallbackLocale: null,
4175
4154
  loadingDelay: 200,
4176
- formats: po,
4155
+ formats: co,
4177
4156
  warnOnMissingMessages: !0,
4178
4157
  handleMissingMessage: void 0,
4179
4158
  ignoreTag: !0
4180
- }, go = mo;
4181
- function oe() {
4182
- return go;
4159
+ }, mo = fo;
4160
+ function ae() {
4161
+ return mo;
4183
4162
  }
4184
- const qe = Ce(!1);
4185
- var vo = Object.defineProperty, bo = Object.defineProperties, yo = Object.getOwnPropertyDescriptors, Zt = Object.getOwnPropertySymbols, _o = Object.prototype.hasOwnProperty, xo = Object.prototype.propertyIsEnumerable, Qt = (e, t, r) => t in e ? vo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, wo = (e, t) => {
4163
+ const Ye = Le(!1);
4164
+ var po = Object.defineProperty, go = Object.defineProperties, vo = Object.getOwnPropertyDescriptors, Xt = Object.getOwnPropertySymbols, bo = Object.prototype.hasOwnProperty, yo = Object.prototype.propertyIsEnumerable, zt = (e, t, r) => t in e ? po(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, _o = (e, t) => {
4186
4165
  for (var r in t || (t = {}))
4187
- _o.call(t, r) && Qt(e, r, t[r]);
4188
- if (Zt)
4189
- for (var r of Zt(t))
4190
- xo.call(t, r) && Qt(e, r, t[r]);
4166
+ bo.call(t, r) && zt(e, r, t[r]);
4167
+ if (Xt)
4168
+ for (var r of Xt(t))
4169
+ yo.call(t, r) && zt(e, r, t[r]);
4191
4170
  return e;
4192
- }, Eo = (e, t) => bo(e, yo(t));
4193
- let gt;
4194
- const He = Ce(null);
4195
- function Yt(e) {
4171
+ }, xo = (e, t) => go(e, vo(t));
4172
+ let ft;
4173
+ const He = Le(null);
4174
+ function Zt(e) {
4196
4175
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4197
4176
  }
4198
- function Ue(e, t = oe().fallbackLocale) {
4199
- const r = Yt(e);
4200
- return t ? [.../* @__PURE__ */ new Set([...r, ...Yt(t)])] : r;
4177
+ function Fe(e, t = ae().fallbackLocale) {
4178
+ const r = Zt(e);
4179
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Zt(t)])] : r;
4201
4180
  }
4202
4181
  function Q() {
4203
- return gt != null ? gt : void 0;
4182
+ return ft != null ? ft : void 0;
4204
4183
  }
4205
4184
  He.subscribe((e) => {
4206
- gt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4185
+ ft = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4207
4186
  });
4208
- const No = (e) => {
4209
- if (e && uo(e) && mt(e)) {
4210
- const { loadingDelay: t } = oe();
4187
+ const wo = (e) => {
4188
+ if (e && so(e) && ct(e)) {
4189
+ const { loadingDelay: t } = ae();
4211
4190
  let r;
4212
4191
  return typeof window != "undefined" && Q() != null && t ? r = window.setTimeout(
4213
- () => qe.set(!0),
4192
+ () => Ye.set(!0),
4214
4193
  t
4215
- ) : qe.set(!0), Xr(e).then(() => {
4194
+ ) : Ye.set(!0), Vr(e).then(() => {
4216
4195
  He.set(e);
4217
4196
  }).finally(() => {
4218
- clearTimeout(r), qe.set(!1);
4197
+ clearTimeout(r), Ye.set(!1);
4219
4198
  });
4220
4199
  }
4221
4200
  return He.set(e);
4222
- }, le = Eo(wo({}, He), {
4223
- set: No
4224
- }), De = (e) => {
4201
+ }, ue = xo(_o({}, He), {
4202
+ set: wo
4203
+ }), Re = (e) => {
4225
4204
  const t = /* @__PURE__ */ Object.create(null);
4226
4205
  return (n) => {
4227
4206
  const i = JSON.stringify(n);
4228
4207
  return i in t ? t[i] : t[i] = e(n);
4229
4208
  };
4230
4209
  };
4231
- var So = Object.defineProperty, Me = Object.getOwnPropertySymbols, zr = Object.prototype.hasOwnProperty, Zr = Object.prototype.propertyIsEnumerable, Jt = (e, t, r) => t in e ? So(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, _t = (e, t) => {
4210
+ var Eo = Object.defineProperty, Pe = Object.getOwnPropertySymbols, Xr = Object.prototype.hasOwnProperty, zr = Object.prototype.propertyIsEnumerable, Qt = (e, t, r) => t in e ? Eo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, bt = (e, t) => {
4232
4211
  for (var r in t || (t = {}))
4233
- zr.call(t, r) && Jt(e, r, t[r]);
4234
- if (Me)
4235
- for (var r of Me(t))
4236
- Zr.call(t, r) && Jt(e, r, t[r]);
4212
+ Xr.call(t, r) && Qt(e, r, t[r]);
4213
+ if (Pe)
4214
+ for (var r of Pe(t))
4215
+ zr.call(t, r) && Qt(e, r, t[r]);
4237
4216
  return e;
4238
- }, ue = (e, t) => {
4217
+ }, he = (e, t) => {
4239
4218
  var r = {};
4240
4219
  for (var n in e)
4241
- zr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4242
- if (e != null && Me)
4243
- for (var n of Me(e))
4244
- t.indexOf(n) < 0 && Zr.call(e, n) && (r[n] = e[n]);
4220
+ Xr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4221
+ if (e != null && Pe)
4222
+ for (var n of Pe(e))
4223
+ t.indexOf(n) < 0 && zr.call(e, n) && (r[n] = e[n]);
4245
4224
  return r;
4246
4225
  };
4247
- const ge = (e, t) => {
4248
- const { formats: r } = oe();
4226
+ const ve = (e, t) => {
4227
+ const { formats: r } = ae();
4249
4228
  if (e in r && t in r[e])
4250
4229
  return r[e][t];
4251
4230
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4252
- }, Io = De(
4231
+ }, No = Re(
4253
4232
  (e) => {
4254
- var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
4233
+ var t = e, { locale: r, format: n } = t, i = he(t, ["locale", "format"]);
4255
4234
  if (r == null)
4256
4235
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4257
- return n && (i = ge("number", n)), new Intl.NumberFormat(r, i);
4236
+ return n && (i = ve("number", n)), new Intl.NumberFormat(r, i);
4258
4237
  }
4259
- ), Bo = De(
4238
+ ), So = Re(
4260
4239
  (e) => {
4261
- var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
4240
+ var t = e, { locale: r, format: n } = t, i = he(t, ["locale", "format"]);
4262
4241
  if (r == null)
4263
4242
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4264
- return n ? i = ge("date", n) : Object.keys(i).length === 0 && (i = ge("date", "short")), new Intl.DateTimeFormat(r, i);
4243
+ return n ? i = ve("date", n) : Object.keys(i).length === 0 && (i = ve("date", "short")), new Intl.DateTimeFormat(r, i);
4265
4244
  }
4266
- ), Ao = De(
4245
+ ), Io = Re(
4267
4246
  (e) => {
4268
- var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
4247
+ var t = e, { locale: r, format: n } = t, i = he(t, ["locale", "format"]);
4269
4248
  if (r == null)
4270
4249
  throw new Error(
4271
4250
  '[svelte-i18n] A "locale" must be set to format time values'
4272
4251
  );
4273
- return n ? i = ge("time", n) : Object.keys(i).length === 0 && (i = ge("time", "short")), new Intl.DateTimeFormat(r, i);
4252
+ return n ? i = ve("time", n) : Object.keys(i).length === 0 && (i = ve("time", "short")), new Intl.DateTimeFormat(r, i);
4274
4253
  }
4275
- ), To = (e = {}) => {
4254
+ ), Bo = (e = {}) => {
4276
4255
  var t = e, {
4277
4256
  locale: r = Q()
4278
- } = t, n = ue(t, [
4257
+ } = t, n = he(t, [
4279
4258
  "locale"
4280
4259
  ]);
4281
- return Io(_t({ locale: r }, n));
4282
- }, Po = (e = {}) => {
4260
+ return No(bt({ locale: r }, n));
4261
+ }, Ao = (e = {}) => {
4283
4262
  var t = e, {
4284
4263
  locale: r = Q()
4285
- } = t, n = ue(t, [
4264
+ } = t, n = he(t, [
4286
4265
  "locale"
4287
4266
  ]);
4288
- return Bo(_t({ locale: r }, n));
4289
- }, Ho = (e = {}) => {
4267
+ return So(bt({ locale: r }, n));
4268
+ }, To = (e = {}) => {
4290
4269
  var t = e, {
4291
4270
  locale: r = Q()
4292
- } = t, n = ue(t, [
4271
+ } = t, n = he(t, [
4293
4272
  "locale"
4294
4273
  ]);
4295
- return Ao(_t({ locale: r }, n));
4296
- }, Mo = De(
4274
+ return Io(bt({ locale: r }, n));
4275
+ }, Ho = Re(
4297
4276
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4298
- (e, t = Q()) => new io(e, t, oe().formats, {
4299
- ignoreTag: oe().ignoreTag
4277
+ (e, t = Q()) => new ro(e, t, ae().formats, {
4278
+ ignoreTag: ae().ignoreTag
4300
4279
  })
4301
- ), Oo = (e, t = {}) => {
4280
+ ), Po = (e, t = {}) => {
4302
4281
  var r, n, i, o;
4303
4282
  let a = t;
4304
4283
  typeof e == "object" && (a = e, e = a.id);
@@ -4311,9 +4290,9 @@ const ge = (e, t) => {
4311
4290
  throw new Error(
4312
4291
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4313
4292
  );
4314
- let h = kr(e, l);
4293
+ let h = $r(e, l);
4315
4294
  if (!h)
4316
- h = (o = (i = (n = (r = oe()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4295
+ h = (o = (i = (n = (r = ae()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4317
4296
  else if (typeof h != "string")
4318
4297
  return console.warn(
4319
4298
  `[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.`
@@ -4322,7 +4301,7 @@ const ge = (e, t) => {
4322
4301
  return h;
4323
4302
  let d = h;
4324
4303
  try {
4325
- d = Mo(h, l).format(s);
4304
+ d = Ho(h, l).format(s);
4326
4305
  } catch (f) {
4327
4306
  f instanceof Error && console.warn(
4328
4307
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4330,20 +4309,20 @@ const ge = (e, t) => {
4330
4309
  );
4331
4310
  }
4332
4311
  return d;
4333
- }, Lo = (e, t) => Ho(t).format(e), Co = (e, t) => Po(t).format(e), Fo = (e, t) => To(t).format(e), Ro = (e, t = Q()) => kr(e, t), Uo = se([le, ye], () => Oo);
4334
- se([le], () => Lo);
4335
- se([le], () => Co);
4336
- se([le], () => Fo);
4337
- se([le, ye], () => Ro);
4312
+ }, Mo = (e, t) => To(t).format(e), Oo = (e, t) => Ao(t).format(e), Lo = (e, t) => Bo(t).format(e), Co = (e, t = Q()) => $r(e, t), Fo = le([ue, ye], () => Po);
4313
+ le([ue], () => Mo);
4314
+ le([ue], () => Oo);
4315
+ le([ue], () => Lo);
4316
+ le([ue, ye], () => Co);
4338
4317
  window.emWidgets = { topic: Qn };
4339
- const qt = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4340
- function Kt(e, t) {
4341
- Wr(e, t);
4318
+ const Yt = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4319
+ function Jt(e, t) {
4320
+ jr(e, t);
4342
4321
  }
4343
- function Do(e) {
4344
- le.set(e);
4322
+ function Ro(e) {
4323
+ ue.set(e);
4345
4324
  }
4346
- const er = {
4325
+ const qt = {
4347
4326
  en: {
4348
4327
  secondaryMenuTitle: "Categories"
4349
4328
  },
@@ -4378,13 +4357,13 @@ const er = {
4378
4357
  secondaryMenuTitle: "Categories"
4379
4358
  }
4380
4359
  };
4381
- function Go(e, t) {
4360
+ function Uo(e, t) {
4382
4361
  if (e) {
4383
4362
  const r = document.createElement("style");
4384
4363
  r.innerHTML = t, e.appendChild(r);
4385
4364
  }
4386
4365
  }
4387
- function $o(e, t) {
4366
+ function Do(e, t) {
4388
4367
  const r = new URL(t);
4389
4368
  fetch(r.href).then((n) => n.text()).then((n) => {
4390
4369
  const i = document.createElement("style");
@@ -4393,7 +4372,7 @@ function $o(e, t) {
4393
4372
  console.error("There was an error while trying to load client styling from URL", n);
4394
4373
  });
4395
4374
  }
4396
- function ko(e, t, r) {
4375
+ function Go(e, t, r) {
4397
4376
  if (window.emMessageBus) {
4398
4377
  const n = document.createElement("style");
4399
4378
  window.emMessageBus.subscribe(t, (i) => {
@@ -4401,51 +4380,51 @@ function ko(e, t, r) {
4401
4380
  });
4402
4381
  }
4403
4382
  }
4404
- function jo(e) {
4405
- vn(e, "svelte-5kntrg", '.NavigationWrapper{background:var(--emw--color-gray-50, #F9F8F8);width:100%}.NavigationPanel{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);width:calc(100% - 30px);max-width:450px;height:70px;z-index:30}.NavigationWindow{display:flex;flex-direction:column;background:var(--emw--color-white, #FFFFFF);position:absolute;bottom:30px;left:0;opacity:0;transform:translateY(100%);border-radius:5px 5px 0 0;transition:0.25s ease;width:100%;max-height:40vh}.NavigationWindow.NavigationWindowOpened{opacity:1;padding-bottom:60px;transform:translateY(5px)}.NavigationWindow .ModalCloseBtn{position:absolute;top:10px;right:10px;width:24px;height:24px;border-radius:100%;color:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out;z-index:1}.NavigationWindow .ModalCloseBtn svg{width:24px;height:24px;margin:50%;transform:translate(-50%, -50%)}.NavigationWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.NavigationWindow .NavigationWindowTitle{padding:16px 10px;margin:0;color:var(--emw--color-black, #000000);font-size:12px;flex-grow:0}.NavigationWindow .NavigationSecondaryWrapper{display:flex;flex-wrap:wrap;padding:0 10px;flex-grow:1;overflow-y:auto;-webkit-overflow-scrolling:touch}.NavigationPrimaryItemAnchor.NavItem0{grid-area:item0}.NavigationPrimaryItemAnchor.NavItem1{grid-area:item1}.NavigationPrimaryItemAnchor.NavItem2{grid-area:item2}.NavigationPrimaryItemAnchor.NavItem3{grid-area:item3}.NavigationPrimaryItemAnchor.NavItem4{grid-area:item4}.NavigationBar{background:var(--emw--color-white, #FFFFFF);display:grid;grid-auto-flow:column;grid-template-columns:1fr 1fr 20% 1fr 1fr;grid-template-areas:"item0 item1 . item2 item3";height:70px;border-radius:5px;position:relative}.NavigationBar.NavigationBarSimple{grid-template-columns:repeat(5, 20%);grid-template-areas:"item0 item1 item2 item3 item4"}.NavigationBar.NavigationBarOpened{box-shadow:0 0 11px rgba(0, 0, 0, 0.09)}.NavigationPrimaryItemAnchor,.NavigationSecondaryItemAnchor{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;text-decoration:none;color:var(--emw--color-black, #000000);font-size:9px;overflow:hidden;white-space:nowrap;padding-bottom:12px}.NavigationPrimaryItemAnchor .NavigationPrimaryItemImg,.NavigationPrimaryItemAnchor .NavigationSecondaryItemImg,.NavigationSecondaryItemAnchor .NavigationPrimaryItemImg,.NavigationSecondaryItemAnchor .NavigationSecondaryItemImg{width:20px}.NavigationPrimaryItemAnchor .NavigationPrimaryItemLabel,.NavigationPrimaryItemAnchor .NavigationSecondaryItemLabel,.NavigationSecondaryItemAnchor .NavigationPrimaryItemLabel,.NavigationSecondaryItemAnchor .NavigationSecondaryItemLabel{margin:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;width:100%;text-align:center}.NavigationSecondaryItemAnchor{width:25%;padding:10px 0}.ActiveItem{background-color:var(--emw--color-primary-50, var(--emw--color-pink-20, #FBECF4))}.NavigationButton{background:var(--emw--color-white, #FFFFFF);border:none;width:20%;height:100%;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);padding:0;padding-bottom:12px}.NavigationButton .middleIcon{width:32px;height:32px}.NavigationButton .middleIcon .a{fill:var(--emw--color-white, #FFFFFF);stroke:var(--emw--color-primary, #22B04E);stroke-linecap:round;stroke-linejoin:round}.NavigationButton .middleIcon .b{stroke:none}.NavigationButton .middleIcon .c{fill:none}.NavigationButton:before{border-left:8px solid transparent;border-right:8px solid transparent;border-top:8px solid var(--emw--color-gray-50, #F9F8F8);content:"";height:0;left:50%;opacity:0;position:absolute;top:0;transform:translateX(-50%);width:0}.NavigationButton.NavigationButtonActive:before{opacity:1;transition:0.7s ease}.FlowerMenu.NavigationWrapper{background:var(--emw--color-gray-50, #F9F8F8);width:100%}.FlowerMenu .NavigationPanel{position:fixed;display:flex;flex-direction:column;bottom:0;width:100%;z-index:30}.FlowerMenu .NavigationWindow{display:flex;flex-direction:column;backdrop-filter:blur(2px);background:linear-gradient(0deg, var(--emw--color-black, #000000) 0%, transparent 100%);opacity:0;transition:0.25s ease;width:100%;max-height:0vh}.FlowerMenu .NavigationWindow.NavigationWindowOpened{opacity:1;max-height:200px}.FlowerMenu .NavigationWindow.NavigationWindowOpened .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor:nth-child(1){transform:translate3d(-210%, 50%, 0);transition:transform 0.1s}.FlowerMenu .NavigationWindow.NavigationWindowOpened .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor:nth-child(2){transform:translate3d(-150%, -50%, 0);transition:transform 0.1s 0.1s}.FlowerMenu .NavigationWindow.NavigationWindowOpened .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor:nth-child(3){transform:translate3d(-50%, -100%, 0);transition:transform 0.1s 0.2s}.FlowerMenu .NavigationWindow.NavigationWindowOpened .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor:nth-child(4){transform:translate3d(50%, -50%, 0);transition:transform 0.1s 0.3s}.FlowerMenu .NavigationWindow.NavigationWindowOpened .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor:nth-child(5){transform:translate3d(110%, 50%, 0);transition:transform 0.1s 0.4s}.FlowerMenu .NavigationWindow .ModalCloseBtn,.FlowerMenu .NavigationWindow .NavigationWindowTitle{display:none}.FlowerMenu .NavigationWindow .NavigationSecondaryWrapper{position:relative;width:100%;height:170px;list-style:none}.FlowerMenu .NavigationWindow .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor{display:flex;width:60px;position:absolute;top:50%;left:50%;padding:0px;flex-direction:column;transform:translate(-50%, 150%)}.FlowerMenu .NavigationWindow .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor .NavigationSecondaryItemLabel{width:100%;height:20px;text-wrap:pretty;line-height:10px;color:var(--emw--color-white, #FFFFFF)}.FlowerMenu .NavigationPrimaryItemAnchor.NavItem0{grid-area:item0}.FlowerMenu .NavigationPrimaryItemAnchor.NavItem1{grid-area:item1}.FlowerMenu .NavigationPrimaryItemAnchor.NavItem2{grid-area:item2}.FlowerMenu .NavigationPrimaryItemAnchor.NavItem3{grid-area:item3}.FlowerMenu .NavigationPrimaryItemAnchor.NavItem4{grid-area:item4}.FlowerMenu .NavigationBar{background:var(--emw--color-white, #FFFFFF);display:grid;grid-auto-flow:column;grid-template-columns:1fr 1fr 20% 1fr 1fr;grid-template-areas:"item0 item1 . item2 item3";border-radius:5px;position:relative}.FlowerMenu .NavigationBar.NavigationBarSimple{grid-template-columns:repeat(5, 20%);grid-template-areas:"item0 item1 item2 item3 item4"}.FlowerMenu .NavigationBar.NavigationBarOpened{box-shadow:0 0 11px rgba(0, 0, 0, 0.09)}.FlowerMenu .NavigationPrimaryItemAnchor,.FlowerMenu .NavigationSecondaryItemAnchor{display:flex;flex-direction:column;align-items:center;gap:5px;text-decoration:none;color:var(--emw--color-black, #000000);font-size:9px;overflow:hidden;white-space:nowrap;padding:10px}.FlowerMenu .NavigationPrimaryItemAnchor .NavigationPrimaryItemImg,.FlowerMenu .NavigationSecondaryItemAnchor .NavigationPrimaryItemImg{width:20px;height:20px}.FlowerMenu .NavigationPrimaryItemAnchor .NavigationSecondaryItemImgWrapper,.FlowerMenu .NavigationSecondaryItemAnchor .NavigationSecondaryItemImgWrapper{display:flex;justify-content:center;align-items:center;padding:5px;border-radius:100%;background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))}.FlowerMenu .NavigationPrimaryItemAnchor .NavigationSecondaryItemImgWrapper .NavigationSecondaryItemImg,.FlowerMenu .NavigationSecondaryItemAnchor .NavigationSecondaryItemImgWrapper .NavigationSecondaryItemImg{width:25px;height:25px}.FlowerMenu .NavigationPrimaryItemAnchor .NavigationPrimaryItemLabel,.FlowerMenu .NavigationPrimaryItemAnchor .NavigationSecondaryItemLabel,.FlowerMenu .NavigationSecondaryItemAnchor .NavigationPrimaryItemLabel,.FlowerMenu .NavigationSecondaryItemAnchor .NavigationSecondaryItemLabel{margin:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-align:center}.FlowerMenu .NavigationButton{background:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));border:none;position:absolute;border-radius:100%;top:20%;left:50%;transform:translate(-50%, -50%);padding:10px}.FlowerMenu .NavigationButton .NavigationButtonSpan{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.FlowerMenu .NavigationButton .labelMiddleIcon{cursor:pointer;display:grid;align-items:center;justify-content:center;width:20px;height:20px;padding:4px;overflow:hidden}.FlowerMenu .NavigationButton .labelMiddleIcon .middleIconLine{background:var(--emw--color-white, #FFFFFF);content:"";height:2px;width:20px;grid-row-start:1;grid-column-start:1;transition:transform ease 0.2s, margin-top ease 0.2s 0.2s, width ease 0.2s 0.4s}.FlowerMenu .NavigationButton .labelMiddleIcon .middleIconLine:nth-child(1){margin-top:10px}.FlowerMenu .NavigationButton .labelMiddleIcon .middleIconLine:nth-child(2){margin:auto}.FlowerMenu .NavigationButton .labelMiddleIcon .middleIconLine:nth-child(3){margin-top:-10px}.FlowerMenu .NavigationButton .labelMiddleIconActive .middleIconLine:nth-child(1){margin-top:0px;transform:rotate(-45deg);transition:margin-top ease 0.2s 0.2s, transform ease 0.2s 0.4s}.FlowerMenu .NavigationButton .labelMiddleIconActive .middleIconLine:nth-child(2){width:0px;transition:width ease 0.2s}.FlowerMenu .NavigationButton .labelMiddleIconActive .middleIconLine:nth-child(3){margin-top:0px;transform:rotate(45deg);transition:margin-top ease 0.2s 0.2s, transform ease 0.2s 0.4s}');
4383
+ function $o(e) {
4384
+ gn(e, "svelte-5kntrg", '.NavigationWrapper{background:var(--emw--color-gray-50, #F9F8F8);width:100%}.NavigationPanel{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);width:calc(100% - 30px);max-width:450px;height:70px;z-index:30}.NavigationWindow{display:flex;flex-direction:column;background:var(--emw--color-white, #FFFFFF);position:absolute;bottom:30px;left:0;opacity:0;transform:translateY(100%);border-radius:5px 5px 0 0;transition:0.25s ease;width:100%;max-height:40vh}.NavigationWindow.NavigationWindowOpened{opacity:1;padding-bottom:60px;transform:translateY(5px)}.NavigationWindow .ModalCloseBtn{position:absolute;top:10px;right:10px;width:24px;height:24px;border-radius:100%;color:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out;z-index:1}.NavigationWindow .ModalCloseBtn svg{width:24px;height:24px;margin:50%;transform:translate(-50%, -50%)}.NavigationWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.NavigationWindow .NavigationWindowTitle{padding:16px 10px;margin:0;color:var(--emw--color-black, #000000);font-size:12px;flex-grow:0}.NavigationWindow .NavigationSecondaryWrapper{display:flex;flex-wrap:wrap;padding:0 10px;flex-grow:1;overflow-y:auto;-webkit-overflow-scrolling:touch}.NavigationPrimaryItemAnchor.NavItem0{grid-area:item0}.NavigationPrimaryItemAnchor.NavItem1{grid-area:item1}.NavigationPrimaryItemAnchor.NavItem2{grid-area:item2}.NavigationPrimaryItemAnchor.NavItem3{grid-area:item3}.NavigationPrimaryItemAnchor.NavItem4{grid-area:item4}.NavigationBar{background:var(--emw--color-white, #FFFFFF);display:grid;grid-auto-flow:column;grid-template-columns:1fr 1fr 20% 1fr 1fr;grid-template-areas:"item0 item1 . item2 item3";height:70px;border-radius:5px;position:relative}.NavigationBar.NavigationBarSimple{grid-template-columns:repeat(5, 20%);grid-template-areas:"item0 item1 item2 item3 item4"}.NavigationBar.NavigationBarOpened{box-shadow:0 0 11px rgba(0, 0, 0, 0.09)}.NavigationPrimaryItemAnchor,.NavigationSecondaryItemAnchor{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;text-decoration:none;color:var(--emw--color-black, #000000);font-size:9px;overflow:hidden;white-space:nowrap;padding-bottom:12px}.NavigationPrimaryItemAnchor .NavigationPrimaryItemImg,.NavigationPrimaryItemAnchor .NavigationSecondaryItemImg,.NavigationSecondaryItemAnchor .NavigationPrimaryItemImg,.NavigationSecondaryItemAnchor .NavigationSecondaryItemImg{width:20px}.NavigationPrimaryItemAnchor .NavigationPrimaryItemLabel,.NavigationPrimaryItemAnchor .NavigationSecondaryItemLabel,.NavigationSecondaryItemAnchor .NavigationPrimaryItemLabel,.NavigationSecondaryItemAnchor .NavigationSecondaryItemLabel{margin:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;width:100%;text-align:center}.NavigationSecondaryItemAnchor{width:25%;padding:10px 0}.ActiveItem{background-color:var(--emw--color-primary-50, var(--emw--color-pink-20, #FBECF4))}.NavigationButton{background:var(--emw--color-white, #FFFFFF);border:none;width:20%;height:100%;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);padding:0;padding-bottom:12px}.NavigationButton .middleIcon{width:32px;height:32px}.NavigationButton .middleIcon .a{fill:var(--emw--color-white, #FFFFFF);stroke:var(--emw--color-primary, #22B04E);stroke-linecap:round;stroke-linejoin:round}.NavigationButton .middleIcon .b{stroke:none}.NavigationButton .middleIcon .c{fill:none}.NavigationButton:before{border-left:8px solid transparent;border-right:8px solid transparent;border-top:8px solid var(--emw--color-gray-50, #F9F8F8);content:"";height:0;left:50%;opacity:0;position:absolute;top:0;transform:translateX(-50%);width:0}.NavigationButton.NavigationButtonActive:before{opacity:1;transition:0.7s ease}.FlowerMenu.NavigationWrapper{background:var(--emw--color-gray-50, #F9F8F8);width:100%}.FlowerMenu .NavigationPanel{position:fixed;display:flex;flex-direction:column;bottom:0;width:100%;z-index:30}.FlowerMenu .NavigationWindow{display:flex;flex-direction:column;backdrop-filter:blur(2px);background:linear-gradient(0deg, var(--emw--color-black, #000000) 0%, transparent 100%);opacity:0;transition:0.25s ease;width:100%;max-height:0vh}.FlowerMenu .NavigationWindow.NavigationWindowOpened{opacity:1;max-height:200px}.FlowerMenu .NavigationWindow.NavigationWindowOpened .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor:nth-child(1){transform:translate3d(-210%, 50%, 0);transition:transform 0.1s}.FlowerMenu .NavigationWindow.NavigationWindowOpened .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor:nth-child(2){transform:translate3d(-150%, -50%, 0);transition:transform 0.1s 0.1s}.FlowerMenu .NavigationWindow.NavigationWindowOpened .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor:nth-child(3){transform:translate3d(-50%, -100%, 0);transition:transform 0.1s 0.2s}.FlowerMenu .NavigationWindow.NavigationWindowOpened .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor:nth-child(4){transform:translate3d(50%, -50%, 0);transition:transform 0.1s 0.3s}.FlowerMenu .NavigationWindow.NavigationWindowOpened .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor:nth-child(5){transform:translate3d(110%, 50%, 0);transition:transform 0.1s 0.4s}.FlowerMenu .NavigationWindow .ModalCloseBtn,.FlowerMenu .NavigationWindow .NavigationWindowTitle{display:none}.FlowerMenu .NavigationWindow .NavigationSecondaryWrapper{position:relative;width:100%;height:170px;list-style:none}.FlowerMenu .NavigationWindow .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor{display:flex;width:60px;position:absolute;top:50%;left:50%;padding:0px;flex-direction:column;transform:translate(-50%, 150%)}.FlowerMenu .NavigationWindow .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor .NavigationSecondaryItemLabel{width:100%;height:20px;text-wrap:pretty;line-height:10px;color:var(--emw--color-white, #FFFFFF)}.FlowerMenu .NavigationPrimaryItemAnchor.NavItem0{grid-area:item0}.FlowerMenu .NavigationPrimaryItemAnchor.NavItem1{grid-area:item1}.FlowerMenu .NavigationPrimaryItemAnchor.NavItem2{grid-area:item2}.FlowerMenu .NavigationPrimaryItemAnchor.NavItem3{grid-area:item3}.FlowerMenu .NavigationPrimaryItemAnchor.NavItem4{grid-area:item4}.FlowerMenu .NavigationBar{background:var(--emw--color-white, #FFFFFF);display:grid;grid-auto-flow:column;grid-template-columns:1fr 1fr 20% 1fr 1fr;grid-template-areas:"item0 item1 . item2 item3";border-radius:5px;position:relative}.FlowerMenu .NavigationBar.NavigationBarSimple{grid-template-columns:repeat(5, 20%);grid-template-areas:"item0 item1 item2 item3 item4"}.FlowerMenu .NavigationBar.NavigationBarOpened{box-shadow:0 0 11px rgba(0, 0, 0, 0.09)}.FlowerMenu .NavigationPrimaryItemAnchor,.FlowerMenu .NavigationSecondaryItemAnchor{display:flex;flex-direction:column;align-items:center;gap:5px;text-decoration:none;color:var(--emw--color-black, #000000);font-size:9px;overflow:hidden;white-space:nowrap;padding:10px}.FlowerMenu .NavigationPrimaryItemAnchor .NavigationPrimaryItemImg,.FlowerMenu .NavigationSecondaryItemAnchor .NavigationPrimaryItemImg{width:20px;height:20px}.FlowerMenu .NavigationPrimaryItemAnchor .NavigationSecondaryItemImgWrapper,.FlowerMenu .NavigationSecondaryItemAnchor .NavigationSecondaryItemImgWrapper{display:flex;justify-content:center;align-items:center;padding:5px;border-radius:100%;background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))}.FlowerMenu .NavigationPrimaryItemAnchor .NavigationSecondaryItemImgWrapper .NavigationSecondaryItemImg,.FlowerMenu .NavigationSecondaryItemAnchor .NavigationSecondaryItemImgWrapper .NavigationSecondaryItemImg{width:25px;height:25px}.FlowerMenu .NavigationPrimaryItemAnchor .NavigationPrimaryItemLabel,.FlowerMenu .NavigationPrimaryItemAnchor .NavigationSecondaryItemLabel,.FlowerMenu .NavigationSecondaryItemAnchor .NavigationPrimaryItemLabel,.FlowerMenu .NavigationSecondaryItemAnchor .NavigationSecondaryItemLabel{margin:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-align:center}.FlowerMenu .NavigationButton{background:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));border:none;position:absolute;border-radius:100%;top:20%;left:50%;transform:translate(-50%, -50%);padding:10px}.FlowerMenu .NavigationButton .NavigationButtonSpan{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.FlowerMenu .NavigationButton .labelMiddleIcon{cursor:pointer;display:grid;align-items:center;justify-content:center;width:20px;height:20px;padding:4px;overflow:hidden}.FlowerMenu .NavigationButton .labelMiddleIcon .middleIconLine{background:var(--emw--color-white, #FFFFFF);content:"";height:2px;width:20px;grid-row-start:1;grid-column-start:1;transition:transform ease 0.2s, margin-top ease 0.2s 0.2s, width ease 0.2s 0.4s}.FlowerMenu .NavigationButton .labelMiddleIcon .middleIconLine:nth-child(1){margin-top:10px}.FlowerMenu .NavigationButton .labelMiddleIcon .middleIconLine:nth-child(2){margin:auto}.FlowerMenu .NavigationButton .labelMiddleIcon .middleIconLine:nth-child(3){margin-top:-10px}.FlowerMenu .NavigationButton .labelMiddleIconActive .middleIconLine:nth-child(1){margin-top:0px;transform:rotate(-45deg);transition:margin-top ease 0.2s 0.2s, transform ease 0.2s 0.4s}.FlowerMenu .NavigationButton .labelMiddleIconActive .middleIconLine:nth-child(2){width:0px;transition:width ease 0.2s}.FlowerMenu .NavigationButton .labelMiddleIconActive .middleIconLine:nth-child(3){margin-top:0px;transform:rotate(45deg);transition:margin-top ease 0.2s 0.2s, transform ease 0.2s 0.4s}');
4406
4385
  }
4407
- function tr(e, t, r) {
4386
+ function Kt(e, t, r) {
4408
4387
  const n = e.slice();
4409
4388
  return n[44] = t[r], n[46] = r, n;
4410
4389
  }
4411
- function rr(e, t, r) {
4390
+ function er(e, t, r) {
4412
4391
  const n = e.slice();
4413
4392
  return n[44] = t[r], n;
4414
4393
  }
4415
- const Wo = (e) => ({}), nr = (e) => ({});
4416
- function ir(e) {
4394
+ const ko = (e) => ({}), tr = (e) => ({});
4395
+ function rr(e) {
4417
4396
  let t, r, n, i, o, a, s, l = !/*navigationBarSimple*/
4418
- e[6] && or(e), u = Te(
4397
+ e[6] && nr(e), u = Te(
4419
4398
  /*primaryMenuSpliced*/
4420
4399
  e[7]
4421
4400
  ), h = [];
4422
4401
  for (let f = 0; f < u.length; f += 1)
4423
- h[f] = ur(tr(e, u, f));
4402
+ h[f] = sr(Kt(e, u, f));
4424
4403
  let d = !/*navigationBarSimple*/
4425
- e[6] && hr(e);
4404
+ e[6] && lr(e);
4426
4405
  return {
4427
4406
  c() {
4428
- t = I("div"), l && l.c(), r = j(), n = I("div");
4407
+ t = B("div"), l && l.c(), r = k(), n = B("div");
4429
4408
  for (let f = 0; f < h.length; f += 1)
4430
4409
  h[f].c();
4431
- i = j(), d && d.c(), c(n, "class", o = "NavigationBar " + /*navigationWindowOpened*/
4410
+ i = k(), d && d.c(), c(n, "class", o = "NavigationBar " + /*navigationWindowOpened*/
4432
4411
  (e[4] ? "NavigationBarOpened" : "") + " " + /*navigationBarSimple*/
4433
4412
  (e[6] ? "NavigationBarSimple" : "")), c(n, "part", a = "NavigationBar " + /*navigationWindowOpened*/
4434
4413
  (e[4] ? "NavigationBarOpened" : "") + " " + /*navigationBarSimple*/
4435
4414
  (e[6] ? "NavigationBarSimple" : "")), c(t, "class", "NavigationPanel");
4436
4415
  },
4437
- m(f, m) {
4438
- C(f, t, m), l && l.m(t, null), y(t, r), y(t, n);
4416
+ m(f, p) {
4417
+ C(f, t, p), l && l.m(t, null), y(t, r), y(t, n);
4439
4418
  for (let g = 0; g < h.length; g += 1)
4440
4419
  h[g] && h[g].m(n, null);
4441
4420
  y(n, i), d && d.m(n, null), s = !0;
4442
4421
  },
4443
- p(f, m) {
4422
+ p(f, p) {
4444
4423
  if (/*navigationBarSimple*/
4445
- f[6] ? l && (gr(), pe(l, 1, 1, () => {
4424
+ f[6] ? l && (mr(), pe(l, 1, 1, () => {
4446
4425
  l = null;
4447
- }), vr()) : l ? (l.p(f, m), m[0] & /*navigationBarSimple*/
4448
- 64 && z(l, 1)) : (l = or(f), l.c(), z(l, 1), l.m(t, r)), m[0] & /*activeMenuItemId, primaryMenuSpliced, triggerNavigation*/
4426
+ }), pr()) : l ? (l.p(f, p), p[0] & /*navigationBarSimple*/
4427
+ 64 && z(l, 1)) : (l = nr(f), l.c(), z(l, 1), l.m(t, r)), p[0] & /*activeMenuItemId, primaryMenuSpliced, triggerNavigation*/
4449
4428
  32928) {
4450
4429
  u = Te(
4451
4430
  /*primaryMenuSpliced*/
@@ -4453,18 +4432,18 @@ function ir(e) {
4453
4432
  );
4454
4433
  let g;
4455
4434
  for (g = 0; g < u.length; g += 1) {
4456
- const v = tr(f, u, g);
4457
- h[g] ? h[g].p(v, m) : (h[g] = ur(v), h[g].c(), h[g].m(n, i));
4435
+ const v = Kt(f, u, g);
4436
+ h[g] ? h[g].p(v, p) : (h[g] = sr(v), h[g].c(), h[g].m(n, i));
4458
4437
  }
4459
4438
  for (; g < h.length; g += 1)
4460
4439
  h[g].d(1);
4461
4440
  h.length = u.length;
4462
4441
  }
4463
4442
  /*navigationBarSimple*/
4464
- f[6] ? d && (d.d(1), d = null) : d ? d.p(f, m) : (d = hr(f), d.c(), d.m(n, null)), (!s || m[0] & /*navigationWindowOpened, navigationBarSimple*/
4443
+ f[6] ? d && (d.d(1), d = null) : d ? d.p(f, p) : (d = lr(f), d.c(), d.m(n, null)), (!s || p[0] & /*navigationWindowOpened, navigationBarSimple*/
4465
4444
  80 && o !== (o = "NavigationBar " + /*navigationWindowOpened*/
4466
4445
  (f[4] ? "NavigationBarOpened" : "") + " " + /*navigationBarSimple*/
4467
- (f[6] ? "NavigationBarSimple" : ""))) && c(n, "class", o), (!s || m[0] & /*navigationWindowOpened, navigationBarSimple*/
4446
+ (f[6] ? "NavigationBarSimple" : ""))) && c(n, "class", o), (!s || p[0] & /*navigationWindowOpened, navigationBarSimple*/
4468
4447
  80 && a !== (a = "NavigationBar " + /*navigationWindowOpened*/
4469
4448
  (f[4] ? "NavigationBarOpened" : "") + " " + /*navigationBarSimple*/
4470
4449
  (f[6] ? "NavigationBarSimple" : ""))) && c(n, "part", a);
@@ -4476,89 +4455,89 @@ function ir(e) {
4476
4455
  pe(l), s = !1;
4477
4456
  },
4478
4457
  d(f) {
4479
- f && L(t), l && l.d(), mr(h, f), d && d.d();
4458
+ f && L(t), l && l.d(), dr(h, f), d && d.d();
4480
4459
  }
4481
4460
  };
4482
4461
  }
4483
- function or(e) {
4462
+ function nr(e) {
4484
4463
  let t, r, n, i, o = (
4485
4464
  /*secondarymenutitle*/
4486
4465
  (e[0] || /*$_*/
4487
4466
  e[12]("secondaryMenuTitle")) + ""
4488
4467
  ), a, s, l, u, h, d, f;
4489
- const m = (
4468
+ const p = (
4490
4469
  /*#slots*/
4491
4470
  e[27].close
4492
- ), g = dn(
4493
- m,
4471
+ ), g = fn(
4472
+ p,
4494
4473
  e,
4495
4474
  /*$$scope*/
4496
4475
  e[26],
4497
- nr
4498
- ), v = g || Vo();
4499
- let B = Te(
4476
+ tr
4477
+ ), v = g || jo();
4478
+ let A = Te(
4500
4479
  /*secondaryMenu*/
4501
4480
  e[8]
4502
- ), N = [];
4503
- for (let b = 0; b < B.length; b += 1)
4504
- N[b] = sr(rr(e, B, b));
4481
+ ), S = [];
4482
+ for (let b = 0; b < A.length; b += 1)
4483
+ S[b] = or(er(e, A, b));
4505
4484
  return {
4506
4485
  c() {
4507
- t = I("div"), r = I("span"), v && v.c(), n = j(), i = I("h3"), a = ve(o), s = j(), l = I("div");
4508
- for (let b = 0; b < N.length; b += 1)
4509
- N[b].c();
4486
+ t = B("div"), r = B("span"), v && v.c(), n = k(), i = B("h3"), a = be(o), s = k(), l = B("div");
4487
+ for (let b = 0; b < S.length; b += 1)
4488
+ S[b].c();
4510
4489
  c(r, "class", "ModalCloseBtn"), c(r, "part", "ModalCloseBtn"), c(r, "role", "button"), c(i, "class", "NavigationWindowTitle"), c(l, "class", "NavigationSecondaryWrapper"), c(t, "class", u = "NavigationWindow " + /*navigationWindowOpened*/
4511
4490
  (e[4] ? "NavigationWindowOpened" : ""));
4512
4491
  },
4513
- m(b, E) {
4514
- C(b, t, E), y(t, r), v && v.m(r, null), y(t, n), y(t, i), y(i, a), y(t, s), y(t, l);
4515
- for (let w = 0; w < N.length; w += 1)
4516
- N[w] && N[w].m(l, null);
4517
- h = !0, d || (f = Oe(
4492
+ m(b, N) {
4493
+ C(b, t, N), y(t, r), v && v.m(r, null), y(t, n), y(t, i), y(i, a), y(t, s), y(t, l);
4494
+ for (let E = 0; E < S.length; E += 1)
4495
+ S[E] && S[E].m(l, null);
4496
+ h = !0, d || (f = Me(
4518
4497
  r,
4519
4498
  "click",
4520
4499
  /*navigationWindowToggle*/
4521
4500
  e[14]
4522
4501
  ), d = !0);
4523
4502
  },
4524
- p(b, E) {
4525
- if (g && g.p && (!h || E[0] & /*$$scope*/
4503
+ p(b, N) {
4504
+ if (g && g.p && (!h || N[0] & /*$$scope*/
4526
4505
  67108864) && mn(
4527
4506
  g,
4528
- m,
4507
+ p,
4529
4508
  b,
4530
4509
  /*$$scope*/
4531
4510
  b[26],
4532
- h ? pn(
4533
- m,
4511
+ h ? dn(
4512
+ p,
4534
4513
  /*$$scope*/
4535
4514
  b[26],
4536
- E,
4537
- Wo
4538
- ) : gn(
4515
+ N,
4516
+ ko
4517
+ ) : pn(
4539
4518
  /*$$scope*/
4540
4519
  b[26]
4541
4520
  ),
4542
- nr
4543
- ), (!h || E[0] & /*secondarymenutitle, $_*/
4521
+ tr
4522
+ ), (!h || N[0] & /*secondarymenutitle, $_*/
4544
4523
  4097) && o !== (o = /*secondarymenutitle*/
4545
4524
  (b[0] || /*$_*/
4546
- b[12]("secondaryMenuTitle")) + "") && bt(a, o), E[0] & /*activeMenuItemId, secondaryMenu, triggerNavigation*/
4525
+ b[12]("secondaryMenuTitle")) + "") && mt(a, o), N[0] & /*activeMenuItemId, secondaryMenu, triggerNavigation*/
4547
4526
  33056) {
4548
- B = Te(
4527
+ A = Te(
4549
4528
  /*secondaryMenu*/
4550
4529
  b[8]
4551
4530
  );
4552
- let w;
4553
- for (w = 0; w < B.length; w += 1) {
4554
- const P = rr(b, B, w);
4555
- N[w] ? N[w].p(P, E) : (N[w] = sr(P), N[w].c(), N[w].m(l, null));
4531
+ let E;
4532
+ for (E = 0; E < A.length; E += 1) {
4533
+ const H = er(b, A, E);
4534
+ S[E] ? S[E].p(H, N) : (S[E] = or(H), S[E].c(), S[E].m(l, null));
4556
4535
  }
4557
- for (; w < N.length; w += 1)
4558
- N[w].d(1);
4559
- N.length = B.length;
4536
+ for (; E < S.length; E += 1)
4537
+ S[E].d(1);
4538
+ S.length = A.length;
4560
4539
  }
4561
- (!h || E[0] & /*navigationWindowOpened*/
4540
+ (!h || N[0] & /*navigationWindowOpened*/
4562
4541
  16 && u !== (u = "NavigationWindow " + /*navigationWindowOpened*/
4563
4542
  (b[4] ? "NavigationWindowOpened" : ""))) && c(t, "class", u);
4564
4543
  },
@@ -4569,11 +4548,11 @@ function or(e) {
4569
4548
  pe(v, b), h = !1;
4570
4549
  },
4571
4550
  d(b) {
4572
- b && L(t), v && v.d(b), mr(N, b), d = !1, f();
4551
+ b && L(t), v && v.d(b), dr(S, b), d = !1, f();
4573
4552
  }
4574
4553
  };
4575
4554
  }
4576
- function Vo(e) {
4555
+ function jo(e) {
4577
4556
  let t, r;
4578
4557
  return {
4579
4558
  c() {
@@ -4588,11 +4567,11 @@ function Vo(e) {
4588
4567
  }
4589
4568
  };
4590
4569
  }
4591
- function ar(e) {
4570
+ function ir(e) {
4592
4571
  let t, r, n, i;
4593
4572
  return {
4594
4573
  c() {
4595
- t = I("div"), r = I("img"), c(r, "class", "NavigationSecondaryItemImg"), c(r, "part", "NavigationSecondaryItemImg"), te(r.src, n = /*item*/
4574
+ t = B("div"), r = B("img"), c(r, "class", "NavigationSecondaryItemImg"), c(r, "part", "NavigationSecondaryItemImg"), re(r.src, n = /*item*/
4596
4575
  e[44].img) || c(r, "src", n), c(r, "alt", i = /*item*/
4597
4576
  e[44].label), c(t, "class", "NavigationSecondaryItemImgWrapper"), c(t, "part", "NavigationSecondaryItemImgWrapper");
4598
4577
  },
@@ -4601,7 +4580,7 @@ function ar(e) {
4601
4580
  },
4602
4581
  p(o, a) {
4603
4582
  a[0] & /*secondaryMenu*/
4604
- 256 && !te(r.src, n = /*item*/
4583
+ 256 && !re(r.src, n = /*item*/
4605
4584
  o[44].img) && c(r, "src", n), a[0] & /*secondaryMenu*/
4606
4585
  256 && i !== (i = /*item*/
4607
4586
  o[44].label) && c(r, "alt", i);
@@ -4611,13 +4590,13 @@ function ar(e) {
4611
4590
  }
4612
4591
  };
4613
4592
  }
4614
- function sr(e) {
4593
+ function or(e) {
4615
4594
  let t, r, n, i = (
4616
4595
  /*item*/
4617
4596
  e[44].label + ""
4618
4597
  ), o, a, s, l, u, h = (
4619
4598
  /*item*/
4620
- e[44].img && ar(e)
4599
+ e[44].img && ir(e)
4621
4600
  );
4622
4601
  function d() {
4623
4602
  return (
@@ -4630,18 +4609,18 @@ function sr(e) {
4630
4609
  }
4631
4610
  return {
4632
4611
  c() {
4633
- t = I("div"), h && h.c(), r = j(), n = I("p"), o = ve(i), a = j(), c(n, "class", "NavigationSecondaryItemLabel"), c(n, "part", "NavigationSecondaryItemLabel"), c(t, "class", s = "NavigationSecondaryItemAnchor " + /*activeMenuItemId*/
4612
+ t = B("div"), h && h.c(), r = k(), n = B("p"), o = be(i), a = k(), c(n, "class", "NavigationSecondaryItemLabel"), c(n, "part", "NavigationSecondaryItemLabel"), c(t, "class", s = "NavigationSecondaryItemAnchor " + /*activeMenuItemId*/
4634
4613
  (e[5] === /*item*/
4635
4614
  e[44].id ? "ActiveItem" : ""));
4636
4615
  },
4637
- m(f, m) {
4638
- C(f, t, m), h && h.m(t, null), y(t, r), y(t, n), y(n, o), y(t, a), l || (u = Oe(t, "click", d), l = !0);
4616
+ m(f, p) {
4617
+ C(f, t, p), h && h.m(t, null), y(t, r), y(t, n), y(n, o), y(t, a), l || (u = Me(t, "click", d), l = !0);
4639
4618
  },
4640
- p(f, m) {
4619
+ p(f, p) {
4641
4620
  e = f, /*item*/
4642
- e[44].img ? h ? h.p(e, m) : (h = ar(e), h.c(), h.m(t, r)) : h && (h.d(1), h = null), m[0] & /*secondaryMenu*/
4621
+ e[44].img ? h ? h.p(e, p) : (h = ir(e), h.c(), h.m(t, r)) : h && (h.d(1), h = null), p[0] & /*secondaryMenu*/
4643
4622
  256 && i !== (i = /*item*/
4644
- e[44].label + "") && bt(o, i), m[0] & /*activeMenuItemId, secondaryMenu*/
4623
+ e[44].label + "") && mt(o, i), p[0] & /*activeMenuItemId, secondaryMenu*/
4645
4624
  288 && s !== (s = "NavigationSecondaryItemAnchor " + /*activeMenuItemId*/
4646
4625
  (e[5] === /*item*/
4647
4626
  e[44].id ? "ActiveItem" : "")) && c(t, "class", s);
@@ -4651,11 +4630,11 @@ function sr(e) {
4651
4630
  }
4652
4631
  };
4653
4632
  }
4654
- function lr(e) {
4633
+ function ar(e) {
4655
4634
  let t, r, n, i;
4656
4635
  return {
4657
4636
  c() {
4658
- t = I("div"), r = I("img"), c(r, "class", "NavigationPrimaryItemImg"), te(r.src, n = /*item*/
4637
+ t = B("div"), r = B("img"), c(r, "class", "NavigationPrimaryItemImg"), re(r.src, n = /*item*/
4659
4638
  e[44].img) || c(r, "src", n), c(r, "alt", i = /*item*/
4660
4639
  e[44].label), c(t, "class", "NavigationPrimaryItemImgWrapper");
4661
4640
  },
@@ -4664,7 +4643,7 @@ function lr(e) {
4664
4643
  },
4665
4644
  p(o, a) {
4666
4645
  a[0] & /*primaryMenuSpliced*/
4667
- 128 && !te(r.src, n = /*item*/
4646
+ 128 && !re(r.src, n = /*item*/
4668
4647
  o[44].img) && c(r, "src", n), a[0] & /*primaryMenuSpliced*/
4669
4648
  128 && i !== (i = /*item*/
4670
4649
  o[44].label) && c(r, "alt", i);
@@ -4674,13 +4653,13 @@ function lr(e) {
4674
4653
  }
4675
4654
  };
4676
4655
  }
4677
- function ur(e) {
4656
+ function sr(e) {
4678
4657
  let t, r, n, i = (
4679
4658
  /*item*/
4680
4659
  e[44].label + ""
4681
4660
  ), o, a, s, l, u = (
4682
4661
  /*item*/
4683
- e[44].img && lr(e)
4662
+ e[44].img && ar(e)
4684
4663
  );
4685
4664
  function h() {
4686
4665
  return (
@@ -4693,19 +4672,19 @@ function ur(e) {
4693
4672
  }
4694
4673
  return {
4695
4674
  c() {
4696
- t = I("div"), u && u.c(), r = j(), n = I("p"), o = ve(i), c(n, "class", "NavigationPrimaryItemLabel"), c(t, "class", a = "NavigationPrimaryItemAnchor NavItem" + /*i*/
4675
+ t = B("div"), u && u.c(), r = k(), n = B("p"), o = be(i), c(n, "class", "NavigationPrimaryItemLabel"), c(t, "class", a = "NavigationPrimaryItemAnchor NavItem" + /*i*/
4697
4676
  e[46] + " " + /*activeMenuItemId*/
4698
4677
  (e[5] === /*item*/
4699
4678
  e[44].id ? "ActiveItem" : ""));
4700
4679
  },
4701
4680
  m(d, f) {
4702
- C(d, t, f), u && u.m(t, null), y(t, r), y(t, n), y(n, o), s || (l = Oe(t, "click", h), s = !0);
4681
+ C(d, t, f), u && u.m(t, null), y(t, r), y(t, n), y(n, o), s || (l = Me(t, "click", h), s = !0);
4703
4682
  },
4704
4683
  p(d, f) {
4705
4684
  e = d, /*item*/
4706
- e[44].img ? u ? u.p(e, f) : (u = lr(e), u.c(), u.m(t, r)) : u && (u.d(1), u = null), f[0] & /*primaryMenuSpliced*/
4685
+ e[44].img ? u ? u.p(e, f) : (u = ar(e), u.c(), u.m(t, r)) : u && (u.d(1), u = null), f[0] & /*primaryMenuSpliced*/
4707
4686
  128 && i !== (i = /*item*/
4708
- e[44].label + "") && bt(o, i), f[0] & /*activeMenuItemId, primaryMenuSpliced*/
4687
+ e[44].label + "") && mt(o, i), f[0] & /*activeMenuItemId, primaryMenuSpliced*/
4709
4688
  160 && a !== (a = "NavigationPrimaryItemAnchor NavItem" + /*i*/
4710
4689
  e[46] + " " + /*activeMenuItemId*/
4711
4690
  (e[5] === /*item*/
@@ -4716,22 +4695,22 @@ function ur(e) {
4716
4695
  }
4717
4696
  };
4718
4697
  }
4719
- function hr(e) {
4698
+ function lr(e) {
4720
4699
  let t, r, n, i, o;
4721
4700
  function a(u, h) {
4722
4701
  return (
4723
4702
  /*isFlowerMenu*/
4724
- u[11] ? Xo : zo
4703
+ u[11] ? Wo : Vo
4725
4704
  );
4726
4705
  }
4727
4706
  let s = a(e), l = s(e);
4728
4707
  return {
4729
4708
  c() {
4730
- t = I("button"), r = I("span"), l.c(), c(r, "class", "NavigationButtonSpan"), c(r, "part", "NavigationButtonSpan"), c(t, "class", n = "NavigationButton " + /*navigationWindowOpened*/
4709
+ t = B("button"), r = B("span"), l.c(), c(r, "class", "NavigationButtonSpan"), c(r, "part", "NavigationButtonSpan"), c(t, "class", n = "NavigationButton " + /*navigationWindowOpened*/
4731
4710
  (e[4] ? "NavigationButtonActive" : ""));
4732
4711
  },
4733
4712
  m(u, h) {
4734
- C(u, t, h), y(t, r), l.m(r, null), i || (o = Oe(
4713
+ C(u, t, h), y(t, r), l.m(r, null), i || (o = Me(
4735
4714
  t,
4736
4715
  "click",
4737
4716
  /*navigationWindowToggle*/
@@ -4748,11 +4727,11 @@ function hr(e) {
4748
4727
  }
4749
4728
  };
4750
4729
  }
4751
- function Xo(e) {
4730
+ function Wo(e) {
4752
4731
  let t, r, n, i, o, a, s;
4753
4732
  return {
4754
4733
  c() {
4755
- t = I("div"), r = I("span"), n = j(), i = I("span"), o = j(), a = I("span"), c(r, "class", "middleIconLine"), c(i, "class", "middleIconLine"), c(a, "class", "middleIconLine"), c(t, "class", s = "labelMiddleIcon " + /*navigationWindowOpened*/
4734
+ t = B("div"), r = B("span"), n = k(), i = B("span"), o = k(), a = B("span"), c(r, "class", "middleIconLine"), c(i, "class", "middleIconLine"), c(a, "class", "middleIconLine"), c(t, "class", s = "labelMiddleIcon " + /*navigationWindowOpened*/
4756
4735
  (e[4] ? "labelMiddleIconActive" : ""));
4757
4736
  },
4758
4737
  m(l, u) {
@@ -4768,18 +4747,18 @@ function Xo(e) {
4768
4747
  }
4769
4748
  };
4770
4749
  }
4771
- function zo(e) {
4750
+ function Vo(e) {
4772
4751
  let t;
4773
4752
  function r(o, a) {
4774
4753
  return (
4775
4754
  /*imageIconUrl*/
4776
- o[9] ? Qo : Zo
4755
+ o[9] ? zo : Xo
4777
4756
  );
4778
4757
  }
4779
4758
  let n = r(e), i = n(e);
4780
4759
  return {
4781
4760
  c() {
4782
- i.c(), t = _n();
4761
+ i.c(), t = yn();
4783
4762
  },
4784
4763
  m(o, a) {
4785
4764
  i.m(o, a), C(o, t, a);
@@ -4792,14 +4771,14 @@ function zo(e) {
4792
4771
  }
4793
4772
  };
4794
4773
  }
4795
- function Zo(e) {
4796
- let t, r, n, i, o, a, s, l, u, h, d, f, m, g;
4774
+ function Xo(e) {
4775
+ let t, r, n, i, o, a, s, l, u, h, d, f, p, g;
4797
4776
  return {
4798
4777
  c() {
4799
- t = M("svg"), r = M("g"), n = M("g"), i = M("rect"), o = M("rect"), a = M("g"), s = M("rect"), l = M("rect"), u = M("g"), h = M("rect"), d = M("rect"), f = M("g"), m = M("rect"), g = M("rect"), c(i, "class", "b"), c(i, "part", "b"), c(i, "width", "10"), c(i, "height", "10"), c(i, "rx", "2"), c(o, "class", "c"), c(o, "part", "c"), c(o, "x", "0.5"), c(o, "y", "0.5"), c(o, "width", "9"), c(o, "height", "9"), c(o, "rx", "1.5"), c(n, "class", "a"), c(n, "part", "a"), c(n, "transform", "translate(150 514)"), c(s, "class", "b"), c(s, "part", "b"), c(s, "width", "10"), c(s, "height", "10"), c(s, "rx", "2"), c(l, "class", "c"), c(l, "part", "c"), c(l, "x", "0.5"), c(l, "y", "0.5"), c(l, "width", "9"), c(l, "height", "9"), c(l, "rx", "1.5"), c(a, "class", "a"), c(a, "part", "a"), c(a, "transform", "translate(161 514)"), c(h, "class", "b"), c(h, "part", "b"), c(h, "width", "10"), c(h, "height", "10"), c(h, "rx", "2"), c(d, "class", "c"), c(d, "part", "c"), c(d, "x", "0.5"), c(d, "y", "0.5"), c(d, "width", "9"), c(d, "height", "9"), c(d, "rx", "1.5"), c(u, "class", "a"), c(u, "part", "a"), c(u, "transform", "translate(161 525)"), c(m, "class", "b"), c(m, "part", "b"), c(m, "width", "10"), c(m, "height", "10"), c(m, "rx", "2"), c(g, "class", "c"), c(g, "part", "c"), c(g, "x", "0.5"), c(g, "y", "0.5"), c(g, "width", "9"), c(g, "height", "9"), c(g, "rx", "1.5"), c(f, "class", "a"), c(f, "part", "a"), c(f, "transform", "translate(150 525)"), c(r, "transform", "translate(-150 -514)"), c(t, "class", "middleIcon"), c(t, "xmlns", "http://www.w3.org/2000/svg"), c(t, "width", "21"), c(t, "height", "21"), c(t, "viewBox", "0 0 21 21");
4778
+ t = M("svg"), r = M("g"), n = M("g"), i = M("rect"), o = M("rect"), a = M("g"), s = M("rect"), l = M("rect"), u = M("g"), h = M("rect"), d = M("rect"), f = M("g"), p = M("rect"), g = M("rect"), c(i, "class", "b"), c(i, "part", "b"), c(i, "width", "10"), c(i, "height", "10"), c(i, "rx", "2"), c(o, "class", "c"), c(o, "part", "c"), c(o, "x", "0.5"), c(o, "y", "0.5"), c(o, "width", "9"), c(o, "height", "9"), c(o, "rx", "1.5"), c(n, "class", "a"), c(n, "part", "a"), c(n, "transform", "translate(150 514)"), c(s, "class", "b"), c(s, "part", "b"), c(s, "width", "10"), c(s, "height", "10"), c(s, "rx", "2"), c(l, "class", "c"), c(l, "part", "c"), c(l, "x", "0.5"), c(l, "y", "0.5"), c(l, "width", "9"), c(l, "height", "9"), c(l, "rx", "1.5"), c(a, "class", "a"), c(a, "part", "a"), c(a, "transform", "translate(161 514)"), c(h, "class", "b"), c(h, "part", "b"), c(h, "width", "10"), c(h, "height", "10"), c(h, "rx", "2"), c(d, "class", "c"), c(d, "part", "c"), c(d, "x", "0.5"), c(d, "y", "0.5"), c(d, "width", "9"), c(d, "height", "9"), c(d, "rx", "1.5"), c(u, "class", "a"), c(u, "part", "a"), c(u, "transform", "translate(161 525)"), c(p, "class", "b"), c(p, "part", "b"), c(p, "width", "10"), c(p, "height", "10"), c(p, "rx", "2"), c(g, "class", "c"), c(g, "part", "c"), c(g, "x", "0.5"), c(g, "y", "0.5"), c(g, "width", "9"), c(g, "height", "9"), c(g, "rx", "1.5"), c(f, "class", "a"), c(f, "part", "a"), c(f, "transform", "translate(150 525)"), c(r, "transform", "translate(-150 -514)"), c(t, "class", "middleIcon"), c(t, "xmlns", "http://www.w3.org/2000/svg"), c(t, "width", "21"), c(t, "height", "21"), c(t, "viewBox", "0 0 21 21");
4800
4779
  },
4801
- m(v, B) {
4802
- C(v, t, B), y(t, r), y(r, n), y(n, i), y(n, o), y(r, a), y(a, s), y(a, l), y(r, u), y(u, h), y(u, d), y(r, f), y(f, m), y(f, g);
4780
+ m(v, A) {
4781
+ C(v, t, A), y(t, r), y(r, n), y(n, i), y(n, o), y(r, a), y(a, s), y(a, l), y(r, u), y(u, h), y(u, d), y(r, f), y(f, p), y(f, g);
4803
4782
  },
4804
4783
  p: D,
4805
4784
  d(v) {
@@ -4807,11 +4786,11 @@ function Zo(e) {
4807
4786
  }
4808
4787
  };
4809
4788
  }
4810
- function Qo(e) {
4789
+ function zo(e) {
4811
4790
  let t, r;
4812
4791
  return {
4813
4792
  c() {
4814
- t = I("img"), te(t.src, r = /*imageIconUrl*/
4793
+ t = B("img"), re(t.src, r = /*imageIconUrl*/
4815
4794
  e[9]) || c(t, "src", r), c(t, "class", "middleIcon"), c(
4816
4795
  t,
4817
4796
  "alt",
@@ -4824,7 +4803,7 @@ function Qo(e) {
4824
4803
  },
4825
4804
  p(n, i) {
4826
4805
  i[0] & /*imageIconUrl*/
4827
- 512 && !te(t.src, r = /*imageIconUrl*/
4806
+ 512 && !re(t.src, r = /*imageIconUrl*/
4828
4807
  n[9]) && c(t, "src", r), i[0] & /*imageIconUrl*/
4829
4808
  512 && c(
4830
4809
  t,
@@ -4838,14 +4817,14 @@ function Qo(e) {
4838
4817
  }
4839
4818
  };
4840
4819
  }
4841
- function Yo(e) {
4820
+ function Zo(e) {
4842
4821
  let t, r, n, i = !/*isLoading*/
4843
4822
  e[1] && /*isMobile*/
4844
4823
  e[13] && /*showNavigation*/
4845
- e[3] && ir(e);
4824
+ e[3] && rr(e);
4846
4825
  return {
4847
4826
  c() {
4848
- t = I("div"), i && i.c(), c(t, "class", r = /*isFlowerMenu*/
4827
+ t = B("div"), i && i.c(), c(t, "class", r = /*isFlowerMenu*/
4849
4828
  (e[11] ? "FlowerMenu" : "") + " NavigationWrapper " + /*mobileLandscapeView*/
4850
4829
  (e[10] ? "NavigationWrapperLandScape" : ""));
4851
4830
  },
@@ -4857,9 +4836,9 @@ function Yo(e) {
4857
4836
  o[1] && /*isMobile*/
4858
4837
  o[13] && /*showNavigation*/
4859
4838
  o[3] ? i ? (i.p(o, a), a[0] & /*isLoading, showNavigation*/
4860
- 10 && z(i, 1)) : (i = ir(o), i.c(), z(i, 1), i.m(t, null)) : i && (gr(), pe(i, 1, 1, () => {
4839
+ 10 && z(i, 1)) : (i = rr(o), i.c(), z(i, 1), i.m(t, null)) : i && (mr(), pe(i, 1, 1, () => {
4861
4840
  i = null;
4862
- }), vr()), (!n || a[0] & /*isFlowerMenu, mobileLandscapeView*/
4841
+ }), pr()), (!n || a[0] & /*isFlowerMenu, mobileLandscapeView*/
4863
4842
  3072 && r !== (r = /*isFlowerMenu*/
4864
4843
  (o[11] ? "FlowerMenu" : "") + " NavigationWrapper " + /*mobileLandscapeView*/
4865
4844
  (o[10] ? "NavigationWrapperLandScape" : ""))) && c(t, "class", r);
@@ -4875,155 +4854,155 @@ function Yo(e) {
4875
4854
  }
4876
4855
  };
4877
4856
  }
4878
- function Jo(e, t, r) {
4857
+ function Qo(e, t, r) {
4879
4858
  let n;
4880
- fn(e, Uo, (p) => r(12, n = p));
4881
- let { $$slots: i = {}, $$scope: o } = t, { cmsendpoint: a = "" } = t, { lang: s = "" } = t, { env: l = "" } = t, { secondarymenutitle: u = "" } = t, { userroles: h = "" } = t, { mbsource: d } = t, { clientstyling: f = "" } = t, { clientstylingurl: m = "" } = t, { translationurl: g = "" } = t, { activecategory: v = "" } = t, { flowermenustyle: B = "false" } = t, N = window.navigator.userAgent, b = qt(N) !== "PC", E = !0, w = !1, P = !1, W = "", Y = !1, Ge = [], _e = [], V = [], $, xt = "", $e = {}, wt, ke = !1;
4882
- const Qr = () => {
4883
- fetch(g).then((A) => A.json()).then((A) => {
4884
- Object.keys(A).forEach((H) => {
4885
- Kt(H, A[H]);
4859
+ cn(e, Fo, (m) => r(12, n = m));
4860
+ let { $$slots: i = {}, $$scope: o } = t, { cmsendpoint: a = "" } = t, { lang: s = "" } = t, { env: l = "" } = t, { secondarymenutitle: u = "" } = t, { userroles: h = "" } = t, { mbsource: d } = t, { clientstyling: f = "" } = t, { clientstylingurl: p = "" } = t, { translationurl: g = "" } = t, { activecategory: v = "" } = t, { flowermenustyle: A = "false" } = t, S = window.navigator.userAgent, b = Yt(S) !== "PC", N = !0, E = !1, H = !1, W = "", Y = !1, Ue = [], _e = [], V = [], G, yt = "", De = {}, _t, Ge = !1;
4861
+ const Zr = () => {
4862
+ fetch(g).then((T) => T.json()).then((T) => {
4863
+ Object.keys(T).forEach((P) => {
4864
+ Jt(P, T[P]);
4886
4865
  });
4887
- }).catch((A) => {
4888
- console.log(A);
4866
+ }).catch((T) => {
4867
+ console.log(T);
4889
4868
  });
4890
4869
  };
4891
- Object.keys(er).forEach((p) => {
4892
- Kt(p, er[p]);
4870
+ Object.keys(qt).forEach((m) => {
4871
+ Jt(m, qt[m]);
4893
4872
  });
4894
- const Et = (p) => {
4895
- if (p.data)
4896
- switch (p.data.type) {
4873
+ const xt = (m) => {
4874
+ if (m.data)
4875
+ switch (m.data.type) {
4897
4876
  case "PlayerAccountMenuActive":
4898
- r(4, P = !1);
4877
+ r(4, H = !1);
4899
4878
  break;
4900
4879
  case "OpenLoginRegisterModal":
4901
- r(4, P = !1);
4880
+ r(4, H = !1);
4902
4881
  break;
4903
4882
  case "GoToHomepage":
4904
- r(4, P = !1);
4883
+ r(4, H = !1);
4905
4884
  break;
4906
4885
  }
4886
+ }, Qr = () => {
4887
+ r(11, Ge = A.toLowerCase() === "true");
4907
4888
  }, Yr = () => {
4908
- r(11, ke = B.toLowerCase() === "true");
4909
- }, Jr = () => {
4910
- r(4, P = !P), window.postMessage(
4889
+ r(4, H = !H), window.postMessage(
4911
4890
  {
4912
4891
  type: "MobileBottomNav",
4913
- navigationWindowOpened: P
4892
+ navigationWindowOpened: H
4914
4893
  },
4915
4894
  window.location.href
4916
4895
  );
4917
- }, qr = (p) => {
4918
- r(7, _e = []), r(7, _e = Y ? p.splice(0, 5) : p.splice(0, 4)), v && Nt();
4919
- }, Kr = () => {
4920
- je(), r(1, E = !0);
4921
- let p = qt(N), A = new URL(`${a}/${s}/bottom-mobile-menu?env=${l}`);
4922
- A.searchParams.append("userRoles", h), p && A.searchParams.append("device", "mtWeb"), fetch(A.href).then((H) => H.json()).then((H) => {
4923
- Ge = [], r(8, V = []), r(3, w = H.length > 0), H.forEach((R) => {
4924
- $e[R.label] = R.eventTrigger ? R.path : null, R.path == "/menu-item" ? (r(9, xt = R == null ? void 0 : R.img), r(8, V = R.children)) : Ge.push(R);
4925
- }), r(6, Y = V.length == 0), V.length >= 5 && ke && r(8, V = V.splice(0, 5)), qr(Ge), r(1, E = !1);
4926
- }).catch((H) => {
4927
- r(1, E = !1), console.error(H);
4896
+ }, Jr = (m) => {
4897
+ r(7, _e = []), r(7, _e = Y ? m.splice(0, 5) : m.splice(0, 4)), v && wt();
4898
+ }, qr = () => {
4899
+ $e(), r(1, N = !0);
4900
+ let m = Yt(S), T = new URL(`${a}/${s}/bottom-mobile-menu?env=${l}`);
4901
+ T.searchParams.append("userRoles", h), m && T.searchParams.append("device", "mtWeb"), fetch(T.href).then((P) => P.json()).then((P) => {
4902
+ Ue = [], r(8, V = []), r(3, E = P.length > 0), P.forEach((R) => {
4903
+ De[R.label] = R.eventTrigger ? R.path : null, R.path == "/menu-item" ? (r(9, yt = R == null ? void 0 : R.img), r(8, V = R.children)) : Ue.push(R);
4904
+ }), r(6, Y = V.length == 0), V.length >= 5 && Ge && r(8, V = V.splice(0, 5)), Jr(Ue), r(1, N = !1);
4905
+ }).catch((P) => {
4906
+ r(1, N = !1), console.error(P);
4928
4907
  });
4929
- }, Nt = () => {
4930
- const A = _e.concat(V).find((H) => H.path.includes(v));
4931
- A ? r(5, W = A.id) : r(5, W = "");
4932
- }, he = (p, A, H, R) => {
4933
- $e[R] ? window.postMessage(
4908
+ }, wt = () => {
4909
+ const T = _e.concat(V).find((P) => P.path.includes(v));
4910
+ T ? r(5, W = T.id) : r(5, W = "");
4911
+ }, ce = (m, T, P, R) => {
4912
+ De[R] ? window.postMessage(
4934
4913
  {
4935
4914
  type: "MobileBottomNavigationEvent",
4936
- event: $e[R]
4915
+ event: De[R]
4937
4916
  },
4938
4917
  window.location.href
4939
4918
  ) : window.postMessage(
4940
4919
  {
4941
4920
  type: "NavigateTo",
4942
- path: p,
4943
- target: A || null,
4944
- externalLink: H || !1
4921
+ path: m,
4922
+ target: T || null,
4923
+ externalLink: P || !1
4945
4924
  },
4946
4925
  window.location.href
4947
- ), r(4, P = !1), typeof gtag == "function" && gtag("event", "ChangeMenu", {
4926
+ ), r(4, H = !1), typeof gtag == "function" && gtag("event", "ChangeMenu", {
4948
4927
  context: "MobileBottomNavigation",
4949
- menuItem: `${p}`
4928
+ menuItem: `${m}`
4950
4929
  });
4951
- }, en = () => {
4952
- Do(s);
4953
- }, je = () => {
4954
- r(10, wt = b && window.innerHeight / window.innerWidth < 1);
4955
- }, St = () => {
4956
- P && r(4, P = !1);
4930
+ }, Kr = () => {
4931
+ Ro(s);
4932
+ }, $e = () => {
4933
+ r(10, _t = b && window.innerHeight / window.innerWidth < 1);
4934
+ }, Et = () => {
4935
+ H && r(4, H = !1);
4957
4936
  };
4958
- Nn(() => (window.addEventListener("message", Et, !1), document.addEventListener("focusin", St), b && window.screen.orientation.addEventListener("change", je), () => {
4959
- window.removeEventListener("message", Et), document.removeEventListener("focusin", St), b && window.screen.orientation.removeEventListener("change", je);
4937
+ En(() => (window.addEventListener("message", xt, !1), document.addEventListener("focusin", Et), b && window.screen.orientation.addEventListener("change", $e), () => {
4938
+ window.removeEventListener("message", xt), document.removeEventListener("focusin", Et), b && window.screen.orientation.removeEventListener("change", $e);
4960
4939
  }));
4961
- const tn = (p) => {
4962
- var A, H;
4963
- (A = p.attrs) != null && A.target ? he(p.path, (H = p.attrs) == null ? void 0 : H.target, p == null ? void 0 : p.externalLink, p.label) : he(p.path, null, p == null ? void 0 : p.externalLink, p.label);
4964
- }, rn = (p) => {
4965
- var A, H;
4966
- (A = p.attrs) != null && A.target ? he(p.path, (H = p.attrs) == null ? void 0 : H.target, p == null ? void 0 : p.externalLink, p.label) : he(p.path, null, p == null ? void 0 : p.externalLink, p.label);
4940
+ const en = (m) => {
4941
+ var T, P;
4942
+ (T = m.attrs) != null && T.target ? ce(m.path, (P = m.attrs) == null ? void 0 : P.target, m == null ? void 0 : m.externalLink, m.label) : ce(m.path, null, m == null ? void 0 : m.externalLink, m.label);
4943
+ }, tn = (m) => {
4944
+ var T, P;
4945
+ (T = m.attrs) != null && T.target ? ce(m.path, (P = m.attrs) == null ? void 0 : P.target, m == null ? void 0 : m.externalLink, m.label) : ce(m.path, null, m == null ? void 0 : m.externalLink, m.label);
4967
4946
  };
4968
- function nn(p) {
4969
- Ke[p ? "unshift" : "push"](() => {
4970
- $ = p, r(2, $);
4947
+ function rn(m) {
4948
+ Je[m ? "unshift" : "push"](() => {
4949
+ G = m, r(2, G);
4971
4950
  });
4972
4951
  }
4973
- return e.$$set = (p) => {
4974
- "cmsendpoint" in p && r(16, a = p.cmsendpoint), "lang" in p && r(17, s = p.lang), "env" in p && r(18, l = p.env), "secondarymenutitle" in p && r(0, u = p.secondarymenutitle), "userroles" in p && r(19, h = p.userroles), "mbsource" in p && r(20, d = p.mbsource), "clientstyling" in p && r(21, f = p.clientstyling), "clientstylingurl" in p && r(22, m = p.clientstylingurl), "translationurl" in p && r(23, g = p.translationurl), "activecategory" in p && r(24, v = p.activecategory), "flowermenustyle" in p && r(25, B = p.flowermenustyle), "$$scope" in p && r(26, o = p.$$scope);
4952
+ return e.$$set = (m) => {
4953
+ "cmsendpoint" in m && r(16, a = m.cmsendpoint), "lang" in m && r(17, s = m.lang), "env" in m && r(18, l = m.env), "secondarymenutitle" in m && r(0, u = m.secondarymenutitle), "userroles" in m && r(19, h = m.userroles), "mbsource" in m && r(20, d = m.mbsource), "clientstyling" in m && r(21, f = m.clientstyling), "clientstylingurl" in m && r(22, p = m.clientstylingurl), "translationurl" in m && r(23, g = m.translationurl), "activecategory" in m && r(24, v = m.activecategory), "flowermenustyle" in m && r(25, A = m.flowermenustyle), "$$scope" in m && r(26, o = m.$$scope);
4975
4954
  }, e.$$.update = () => {
4976
4955
  e.$$.dirty[0] & /*flowermenustyle*/
4977
- 33554432 && B && Yr(), e.$$.dirty[0] & /*activecategory, isLoading*/
4978
- 16777218 && v && !E && Nt(), e.$$.dirty[0] & /*lang*/
4979
- 131072 && s && en(), e.$$.dirty[0] & /*cmsendpoint, lang, env, userroles*/
4980
- 983040 && a && s && l && h && Kr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4981
- 2097156 && f && $ && Go($, f), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4982
- 4194308 && m && $ && $o($, m), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4983
- 1048580 && d && $ && ko($, `${d}.Style`), e.$$.dirty[0] & /*translationurl*/
4984
- 8388608 && g && Qr();
4956
+ 33554432 && A && Qr(), e.$$.dirty[0] & /*activecategory, isLoading*/
4957
+ 16777218 && v && !N && wt(), e.$$.dirty[0] & /*lang*/
4958
+ 131072 && s && Kr(), e.$$.dirty[0] & /*cmsendpoint, lang, env, userroles*/
4959
+ 983040 && a && s && l && h && qr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4960
+ 2097156 && f && G && Uo(G, f), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4961
+ 4194308 && p && G && Do(G, p), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4962
+ 1048580 && d && G && Go(G, `${d}.Style`), e.$$.dirty[0] & /*translationurl*/
4963
+ 8388608 && g && Zr();
4985
4964
  }, [
4986
4965
  u,
4966
+ N,
4967
+ G,
4987
4968
  E,
4988
- $,
4989
- w,
4990
- P,
4969
+ H,
4991
4970
  W,
4992
4971
  Y,
4993
4972
  _e,
4994
4973
  V,
4995
- xt,
4996
- wt,
4997
- ke,
4974
+ yt,
4975
+ _t,
4976
+ Ge,
4998
4977
  n,
4999
4978
  b,
5000
- Jr,
5001
- he,
4979
+ Yr,
4980
+ ce,
5002
4981
  a,
5003
4982
  s,
5004
4983
  l,
5005
4984
  h,
5006
4985
  d,
5007
4986
  f,
5008
- m,
4987
+ p,
5009
4988
  g,
5010
4989
  v,
5011
- B,
4990
+ A,
5012
4991
  o,
5013
4992
  i,
4993
+ en,
5014
4994
  tn,
5015
- rn,
5016
- nn
4995
+ rn
5017
4996
  ];
5018
4997
  }
5019
- class qo extends Ln {
4998
+ class Yo extends On {
5020
4999
  constructor(t) {
5021
- super(), Mn(
5000
+ super(), Pn(
5022
5001
  this,
5023
5002
  t,
5024
- Jo,
5025
- Yo,
5026
- fr,
5003
+ Qo,
5004
+ Zo,
5005
+ hr,
5027
5006
  {
5028
5007
  cmsendpoint: 16,
5029
5008
  lang: 17,
@@ -5037,7 +5016,7 @@ class qo extends Ln {
5037
5016
  activecategory: 24,
5038
5017
  flowermenustyle: 25
5039
5018
  },
5040
- jo,
5019
+ $o,
5041
5020
  [-1, -1]
5042
5021
  );
5043
5022
  }
@@ -5108,7 +5087,7 @@ class qo extends Ln {
5108
5087
  this.$$set({ flowermenustyle: t }), F();
5109
5088
  }
5110
5089
  }
5111
- On(qo, { cmsendpoint: {}, lang: {}, env: {}, secondarymenutitle: {}, userroles: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, activecategory: {}, flowermenustyle: {} }, ["close"], [], !0);
5090
+ Mn(Yo, { cmsendpoint: {}, lang: {}, env: {}, secondarymenutitle: {}, userroles: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, activecategory: {}, flowermenustyle: {} }, ["close"], [], !0);
5112
5091
  export {
5113
- qo as default
5092
+ Yo as default
5114
5093
  };