@everymatrix/general-navigation-bar 1.75.0 → 1.76.0

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