@everymatrix/general-navigation-bar 1.77.27 → 1.77.29

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