@everymatrix/general-navigation-bar 1.53.12 → 1.54.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,56 +1,85 @@
1
- function R() {
1
+ var tn = Object.defineProperty, rn = Object.defineProperties;
2
+ var nn = Object.getOwnPropertyDescriptors;
3
+ var xt = Object.getOwnPropertySymbols;
4
+ var on = Object.prototype.hasOwnProperty, an = Object.prototype.propertyIsEnumerable;
5
+ var $e = (e, t, r) => t in e ? tn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, wt = (e, t) => {
6
+ for (var r in t || (t = {}))
7
+ on.call(t, r) && $e(e, r, t[r]);
8
+ if (xt)
9
+ for (var r of xt(t))
10
+ an.call(t, r) && $e(e, r, t[r]);
11
+ return e;
12
+ }, Et = (e, t) => rn(e, nn(t));
13
+ var R = (e, t, r) => $e(e, typeof t != "symbol" ? t + "" : t, r);
14
+ var Nt = (e, t, r) => new Promise((n, i) => {
15
+ var o = (l) => {
16
+ try {
17
+ s(r.next(l));
18
+ } catch (u) {
19
+ i(u);
20
+ }
21
+ }, a = (l) => {
22
+ try {
23
+ s(r.throw(l));
24
+ } catch (u) {
25
+ i(u);
26
+ }
27
+ }, s = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(o, a);
28
+ s((r = r.apply(e, t)).next());
29
+ });
30
+ function D() {
2
31
  }
3
- function Qr(e, t) {
32
+ function sn(e, t) {
4
33
  for (const r in t) e[r] = t[r];
5
34
  return (
6
35
  /** @type {T & S} */
7
36
  e
8
37
  );
9
38
  }
10
- function er(e) {
39
+ function ar(e) {
11
40
  return e();
12
41
  }
13
- function yt() {
42
+ function St() {
14
43
  return /* @__PURE__ */ Object.create(null);
15
44
  }
16
- function ae(e) {
17
- e.forEach(er);
45
+ function se(e) {
46
+ e.forEach(ar);
18
47
  }
19
- function ut(e) {
48
+ function ct(e) {
20
49
  return typeof e == "function";
21
50
  }
22
- function tr(e, t) {
51
+ function sr(e, t) {
23
52
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
24
53
  }
25
- let _e;
26
- function te(e, t) {
27
- return e === t ? !0 : (_e || (_e = document.createElement("a")), _e.href = t, e === _e.href);
54
+ let xe;
55
+ function re(e, t) {
56
+ return e === t ? !0 : (xe || (xe = document.createElement("a")), xe.href = t, e === xe.href);
28
57
  }
29
- function Yr(e) {
58
+ function ln(e) {
30
59
  return Object.keys(e).length === 0;
31
60
  }
32
- function rr(e, ...t) {
61
+ function lr(e, ...t) {
33
62
  if (e == null) {
34
63
  for (const n of t)
35
64
  n(void 0);
36
- return R;
65
+ return D;
37
66
  }
38
67
  const r = e.subscribe(...t);
39
68
  return r.unsubscribe ? () => r.unsubscribe() : r;
40
69
  }
41
- function Jr(e, t, r) {
42
- e.$$.on_destroy.push(rr(t, r));
70
+ function un(e, t, r) {
71
+ e.$$.on_destroy.push(lr(t, r));
43
72
  }
44
- function qr(e, t, r, n) {
73
+ function hn(e, t, r, n) {
45
74
  if (e) {
46
- const i = nr(e, t, r, n);
75
+ const i = ur(e, t, r, n);
47
76
  return e[0](i);
48
77
  }
49
78
  }
50
- function nr(e, t, r, n) {
51
- return e[1] && n ? Qr(r.ctx.slice(), e[1](n(t))) : r.ctx;
79
+ function ur(e, t, r, n) {
80
+ return e[1] && n ? sn(r.ctx.slice(), e[1](n(t))) : r.ctx;
52
81
  }
53
- function Kr(e, t, r, n) {
82
+ function cn(e, t, r, n) {
54
83
  if (e[2] && n) {
55
84
  const i = e[2](n(r));
56
85
  if (t.dirty === void 0)
@@ -65,13 +94,13 @@ function Kr(e, t, r, n) {
65
94
  }
66
95
  return t.dirty;
67
96
  }
68
- function en(e, t, r, n, i, o) {
97
+ function fn(e, t, r, n, i, o) {
69
98
  if (i) {
70
- const a = nr(t, r, n, o);
99
+ const a = ur(t, r, n, o);
71
100
  e.p(a, i);
72
101
  }
73
102
  }
74
- function tn(e) {
103
+ function dn(e) {
75
104
  if (e.ctx.length > 32) {
76
105
  const t = [], r = e.ctx.length / 32;
77
106
  for (let n = 0; n < r; n++)
@@ -83,14 +112,14 @@ function tn(e) {
83
112
  function y(e, t) {
84
113
  e.appendChild(t);
85
114
  }
86
- function rn(e, t, r) {
87
- const n = nn(e);
115
+ function mn(e, t, r) {
116
+ const n = pn(e);
88
117
  if (!n.getElementById(t)) {
89
- const i = I("style");
90
- i.id = t, i.textContent = r, on(n, i);
118
+ const i = A("style");
119
+ i.id = t, i.textContent = r, gn(n, i);
91
120
  }
92
121
  }
93
- function nn(e) {
122
+ function pn(e) {
94
123
  if (!e) return document;
95
124
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
96
125
  return t && /** @type {ShadowRoot} */
@@ -99,7 +128,7 @@ function nn(e) {
99
128
  t
100
129
  ) : e.ownerDocument;
101
130
  }
102
- function on(e, t) {
131
+ function gn(e, t) {
103
132
  return y(
104
133
  /** @type {Document} */
105
134
  e.head || e,
@@ -112,39 +141,39 @@ function L(e, t, r) {
112
141
  function O(e) {
113
142
  e.parentNode && e.parentNode.removeChild(e);
114
143
  }
115
- function ir(e, t) {
144
+ function hr(e, t) {
116
145
  for (let r = 0; r < e.length; r += 1)
117
146
  e[r] && e[r].d(t);
118
147
  }
119
- function I(e) {
148
+ function A(e) {
120
149
  return document.createElement(e);
121
150
  }
122
151
  function H(e) {
123
152
  return document.createElementNS("http://www.w3.org/2000/svg", e);
124
153
  }
125
- function be(e) {
154
+ function ve(e) {
126
155
  return document.createTextNode(e);
127
156
  }
128
- function G() {
129
- return be(" ");
157
+ function $() {
158
+ return ve(" ");
130
159
  }
131
- function an() {
132
- return be("");
160
+ function bn() {
161
+ return ve("");
133
162
  }
134
- function He(e, t, r, n) {
163
+ function Me(e, t, r, n) {
135
164
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
136
165
  }
137
166
  function c(e, t, r) {
138
167
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
139
168
  }
140
- function sn(e) {
169
+ function vn(e) {
141
170
  return Array.from(e.childNodes);
142
171
  }
143
- function ht(e, t) {
172
+ function ft(e, t) {
144
173
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
145
174
  t);
146
175
  }
147
- function ln(e) {
176
+ function yn(e) {
148
177
  const t = {};
149
178
  return e.childNodes.forEach(
150
179
  /** @param {Element} node */
@@ -153,116 +182,116 @@ function ln(e) {
153
182
  }
154
183
  ), t;
155
184
  }
156
- let de;
157
- function fe(e) {
158
- de = e;
185
+ let me;
186
+ function de(e) {
187
+ me = e;
159
188
  }
160
- function un() {
161
- if (!de) throw new Error("Function called outside component initialization");
162
- return de;
189
+ function _n() {
190
+ if (!me) throw new Error("Function called outside component initialization");
191
+ return me;
163
192
  }
164
- function hn(e) {
165
- un().$$.on_mount.push(e);
193
+ function xn(e) {
194
+ _n().$$.on_mount.push(e);
166
195
  }
167
- const q = [], ze = [];
168
- let K = [];
169
- const _t = [], cn = /* @__PURE__ */ Promise.resolve();
170
- let Ze = !1;
171
- function fn() {
172
- Ze || (Ze = !0, cn.then(F));
196
+ const K = [], Qe = [];
197
+ let ee = [];
198
+ const It = [], wn = /* @__PURE__ */ Promise.resolve();
199
+ let Ye = !1;
200
+ function En() {
201
+ Ye || (Ye = !0, wn.then(U));
173
202
  }
174
- function Qe(e) {
175
- K.push(e);
203
+ function Je(e) {
204
+ ee.push(e);
176
205
  }
177
- const Ge = /* @__PURE__ */ new Set();
178
- let Y = 0;
179
- function F() {
180
- if (Y !== 0)
206
+ const ke = /* @__PURE__ */ new Set();
207
+ let J = 0;
208
+ function U() {
209
+ if (J !== 0)
181
210
  return;
182
- const e = de;
211
+ const e = me;
183
212
  do {
184
213
  try {
185
- for (; Y < q.length; ) {
186
- const t = q[Y];
187
- Y++, fe(t), dn(t.$$);
214
+ for (; J < K.length; ) {
215
+ const t = K[J];
216
+ J++, de(t), Nn(t.$$);
188
217
  }
189
218
  } catch (t) {
190
- throw q.length = 0, Y = 0, t;
219
+ throw K.length = 0, J = 0, t;
191
220
  }
192
- for (fe(null), q.length = 0, Y = 0; ze.length; ) ze.pop()();
193
- for (let t = 0; t < K.length; t += 1) {
194
- const r = K[t];
195
- Ge.has(r) || (Ge.add(r), r());
221
+ for (de(null), K.length = 0, J = 0; Qe.length; ) Qe.pop()();
222
+ for (let t = 0; t < ee.length; t += 1) {
223
+ const r = ee[t];
224
+ ke.has(r) || (ke.add(r), r());
196
225
  }
197
- K.length = 0;
198
- } while (q.length);
199
- for (; _t.length; )
200
- _t.pop()();
201
- Ze = !1, Ge.clear(), fe(e);
226
+ ee.length = 0;
227
+ } while (K.length);
228
+ for (; It.length; )
229
+ It.pop()();
230
+ Ye = !1, ke.clear(), de(e);
202
231
  }
203
- function dn(e) {
232
+ function Nn(e) {
204
233
  if (e.fragment !== null) {
205
- e.update(), ae(e.before_update);
234
+ e.update(), se(e.before_update);
206
235
  const t = e.dirty;
207
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Qe);
236
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Je);
208
237
  }
209
238
  }
210
- function mn(e) {
239
+ function Sn(e) {
211
240
  const t = [], r = [];
212
- K.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), K = t;
241
+ ee.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ee = t;
213
242
  }
214
- const Ee = /* @__PURE__ */ new Set();
215
- let z;
216
- function or() {
217
- z = {
243
+ const Ne = /* @__PURE__ */ new Set();
244
+ let Z;
245
+ function cr() {
246
+ Z = {
218
247
  r: 0,
219
248
  c: [],
220
- p: z
249
+ p: Z
221
250
  // parent group
222
251
  };
223
252
  }
224
- function ar() {
225
- z.r || ae(z.c), z = z.p;
253
+ function fr() {
254
+ Z.r || se(Z.c), Z = Z.p;
226
255
  }
227
- function X(e, t) {
228
- e && e.i && (Ee.delete(e), e.i(t));
256
+ function z(e, t) {
257
+ e && e.i && (Ne.delete(e), e.i(t));
229
258
  }
230
- function me(e, t, r, n) {
259
+ function pe(e, t, r, n) {
231
260
  if (e && e.o) {
232
- if (Ee.has(e)) return;
233
- Ee.add(e), z.c.push(() => {
234
- Ee.delete(e), n && (r && e.d(1), n());
261
+ if (Ne.has(e)) return;
262
+ Ne.add(e), Z.c.push(() => {
263
+ Ne.delete(e), n && (r && e.d(1), n());
235
264
  }), e.o(t);
236
265
  } else n && n();
237
266
  }
238
- function Be(e) {
239
- return e?.length !== void 0 ? e : Array.from(e);
267
+ function Te(e) {
268
+ return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
240
269
  }
241
- function pn(e, t, r) {
270
+ function In(e, t, r) {
242
271
  const { fragment: n, after_update: i } = e.$$;
243
- n && n.m(t, r), Qe(() => {
244
- const o = e.$$.on_mount.map(er).filter(ut);
245
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ae(o), e.$$.on_mount = [];
246
- }), i.forEach(Qe);
272
+ n && n.m(t, r), Je(() => {
273
+ const o = e.$$.on_mount.map(ar).filter(ct);
274
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : se(o), e.$$.on_mount = [];
275
+ }), i.forEach(Je);
247
276
  }
248
- function gn(e, t) {
277
+ function An(e, t) {
249
278
  const r = e.$$;
250
- r.fragment !== null && (mn(r.after_update), ae(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
279
+ r.fragment !== null && (Sn(r.after_update), se(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
251
280
  }
252
- function bn(e, t) {
253
- e.$$.dirty[0] === -1 && (q.push(e), fn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
281
+ function Bn(e, t) {
282
+ e.$$.dirty[0] === -1 && (K.push(e), En(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
254
283
  }
255
- function vn(e, t, r, n, i, o, a = null, s = [-1]) {
256
- const l = de;
257
- fe(e);
284
+ function Tn(e, t, r, n, i, o, a = null, s = [-1]) {
285
+ const l = me;
286
+ de(e);
258
287
  const u = e.$$ = {
259
288
  fragment: null,
260
289
  ctx: [],
261
290
  // state
262
291
  props: o,
263
- update: R,
292
+ update: D,
264
293
  not_equal: i,
265
- bound: yt(),
294
+ bound: St(),
266
295
  // lifecycle
267
296
  on_mount: [],
268
297
  on_destroy: [],
@@ -271,7 +300,7 @@ function vn(e, t, r, n, i, o, a = null, s = [-1]) {
271
300
  after_update: [],
272
301
  context: new Map(t.context || (l ? l.$$.context : [])),
273
302
  // everything else
274
- callbacks: yt(),
303
+ callbacks: St(),
275
304
  dirty: s,
276
305
  skip_bound: !1,
277
306
  root: t.target || l.$$.root
@@ -280,137 +309,141 @@ function vn(e, t, r, n, i, o, a = null, s = [-1]) {
280
309
  let h = !1;
281
310
  if (u.ctx = r(e, t.props || {}, (d, f, ...p) => {
282
311
  const g = p.length ? p[0] : f;
283
- return u.ctx && i(u.ctx[d], u.ctx[d] = g) && (!u.skip_bound && u.bound[d] && u.bound[d](g), h && bn(e, d)), f;
284
- }), u.update(), h = !0, ae(u.before_update), u.fragment = n(u.ctx), t.target) {
312
+ return u.ctx && i(u.ctx[d], u.ctx[d] = g) && (!u.skip_bound && u.bound[d] && u.bound[d](g), h && Bn(e, d)), f;
313
+ }), u.update(), h = !0, se(u.before_update), u.fragment = n(u.ctx), t.target) {
285
314
  if (t.hydrate) {
286
- const d = sn(t.target);
315
+ const d = vn(t.target);
287
316
  u.fragment && u.fragment.l(d), d.forEach(O);
288
317
  } else
289
318
  u.fragment && u.fragment.c();
290
- t.intro && X(e.$$.fragment), pn(e, t.target, t.anchor), F();
319
+ t.intro && z(e.$$.fragment), In(e, t.target, t.anchor), U();
291
320
  }
292
- fe(l);
293
- }
294
- let sr;
295
- typeof HTMLElement == "function" && (sr = class extends HTMLElement {
296
- /** The Svelte component constructor */
297
- $$ctor;
298
- /** Slots */
299
- $$s;
300
- /** The Svelte component instance */
301
- $$c;
302
- /** Whether or not the custom element is connected */
303
- $$cn = !1;
304
- /** Component props data */
305
- $$d = {};
306
- /** `true` if currently in the process of reflecting component props back to attributes */
307
- $$r = !1;
308
- /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
309
- $$p_d = {};
310
- /** @type {Record<string, Function[]>} Event listeners */
311
- $$l = {};
312
- /** @type {Map<Function, Function>} Event listener unsubscribe functions */
313
- $$l_u = /* @__PURE__ */ new Map();
314
- constructor(e, t, r) {
315
- super(), this.$$ctor = e, this.$$s = t, r && this.attachShadow({ mode: "open" });
321
+ de(l);
322
+ }
323
+ let dr;
324
+ typeof HTMLElement == "function" && (dr = class extends HTMLElement {
325
+ constructor(t, r, n) {
326
+ super();
327
+ /** The Svelte component constructor */
328
+ R(this, "$$ctor");
329
+ /** Slots */
330
+ R(this, "$$s");
331
+ /** The Svelte component instance */
332
+ R(this, "$$c");
333
+ /** Whether or not the custom element is connected */
334
+ R(this, "$$cn", !1);
335
+ /** Component props data */
336
+ R(this, "$$d", {});
337
+ /** `true` if currently in the process of reflecting component props back to attributes */
338
+ R(this, "$$r", !1);
339
+ /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
340
+ R(this, "$$p_d", {});
341
+ /** @type {Record<string, Function[]>} Event listeners */
342
+ R(this, "$$l", {});
343
+ /** @type {Map<Function, Function>} Event listener unsubscribe functions */
344
+ R(this, "$$l_u", /* @__PURE__ */ new Map());
345
+ this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
316
346
  }
317
- addEventListener(e, t, r) {
318
- if (this.$$l[e] = this.$$l[e] || [], this.$$l[e].push(t), this.$$c) {
319
- const n = this.$$c.$on(e, t);
320
- this.$$l_u.set(t, n);
347
+ addEventListener(t, r, n) {
348
+ if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(r), this.$$c) {
349
+ const i = this.$$c.$on(t, r);
350
+ this.$$l_u.set(r, i);
321
351
  }
322
- super.addEventListener(e, t, r);
352
+ super.addEventListener(t, r, n);
323
353
  }
324
- removeEventListener(e, t, r) {
325
- if (super.removeEventListener(e, t, r), this.$$c) {
326
- const n = this.$$l_u.get(t);
327
- n && (n(), this.$$l_u.delete(t));
354
+ removeEventListener(t, r, n) {
355
+ if (super.removeEventListener(t, r, n), this.$$c) {
356
+ const i = this.$$l_u.get(r);
357
+ i && (i(), this.$$l_u.delete(r));
328
358
  }
329
359
  }
330
- async connectedCallback() {
331
- if (this.$$cn = !0, !this.$$c) {
332
- let e = function(i) {
333
- return () => {
334
- let o;
335
- return {
336
- c: function() {
337
- o = I("slot"), i !== "default" && c(o, "name", i);
338
- },
339
- /**
340
- * @param {HTMLElement} target
341
- * @param {HTMLElement} [anchor]
342
- */
343
- m: function(l, u) {
344
- L(l, o, u);
345
- },
346
- d: function(l) {
347
- l && O(o);
348
- }
360
+ connectedCallback() {
361
+ return Nt(this, null, function* () {
362
+ if (this.$$cn = !0, !this.$$c) {
363
+ let t = function(o) {
364
+ return () => {
365
+ let a;
366
+ return {
367
+ c: function() {
368
+ a = A("slot"), o !== "default" && c(a, "name", o);
369
+ },
370
+ /**
371
+ * @param {HTMLElement} target
372
+ * @param {HTMLElement} [anchor]
373
+ */
374
+ m: function(u, h) {
375
+ L(u, a, h);
376
+ },
377
+ d: function(u) {
378
+ u && O(a);
379
+ }
380
+ };
349
381
  };
350
382
  };
351
- };
352
- if (await Promise.resolve(), !this.$$cn || this.$$c)
353
- return;
354
- const t = {}, r = ln(this);
355
- for (const i of this.$$s)
356
- i in r && (t[i] = [e(i)]);
357
- for (const i of this.attributes) {
358
- const o = this.$$g_p(i.name);
359
- o in this.$$d || (this.$$d[o] = Ne(o, i.value, this.$$p_d, "toProp"));
360
- }
361
- for (const i in this.$$p_d)
362
- !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
363
- this.$$c = new this.$$ctor({
364
- target: this.shadowRoot || this,
365
- props: {
366
- ...this.$$d,
367
- $$slots: t,
368
- $$scope: {
369
- ctx: []
370
- }
383
+ if (yield Promise.resolve(), !this.$$cn || this.$$c)
384
+ return;
385
+ const r = {}, n = yn(this);
386
+ for (const o of this.$$s)
387
+ o in n && (r[o] = [t(o)]);
388
+ for (const o of this.attributes) {
389
+ const a = this.$$g_p(o.name);
390
+ a in this.$$d || (this.$$d[a] = Se(a, o.value, this.$$p_d, "toProp"));
371
391
  }
372
- });
373
- const n = () => {
374
- this.$$r = !0;
375
- for (const i in this.$$p_d)
376
- if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
377
- const o = Ne(
378
- i,
379
- this.$$d[i],
380
- this.$$p_d,
381
- "toAttribute"
382
- );
383
- o == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, o);
392
+ for (const o in this.$$p_d)
393
+ !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
394
+ this.$$c = new this.$$ctor({
395
+ target: this.shadowRoot || this,
396
+ props: Et(wt({}, this.$$d), {
397
+ $$slots: r,
398
+ $$scope: {
399
+ ctx: []
400
+ }
401
+ })
402
+ });
403
+ const i = () => {
404
+ this.$$r = !0;
405
+ for (const o in this.$$p_d)
406
+ if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
407
+ const a = Se(
408
+ o,
409
+ this.$$d[o],
410
+ this.$$p_d,
411
+ "toAttribute"
412
+ );
413
+ a == null ? this.removeAttribute(this.$$p_d[o].attribute || o) : this.setAttribute(this.$$p_d[o].attribute || o, a);
414
+ }
415
+ this.$$r = !1;
416
+ };
417
+ this.$$c.$$.after_update.push(i), i();
418
+ for (const o in this.$$l)
419
+ for (const a of this.$$l[o]) {
420
+ const s = this.$$c.$on(o, a);
421
+ this.$$l_u.set(a, s);
384
422
  }
385
- this.$$r = !1;
386
- };
387
- this.$$c.$$.after_update.push(n), n();
388
- for (const i in this.$$l)
389
- for (const o of this.$$l[i]) {
390
- const a = this.$$c.$on(i, o);
391
- this.$$l_u.set(o, a);
392
- }
393
- this.$$l = {};
394
- }
423
+ this.$$l = {};
424
+ }
425
+ });
395
426
  }
396
427
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
397
428
  // and setting attributes through setAttribute etc, this is helpful
398
- attributeChangedCallback(e, t, r) {
399
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = Ne(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
429
+ attributeChangedCallback(t, r, n) {
430
+ var i;
431
+ 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] }));
400
432
  }
401
433
  disconnectedCallback() {
402
434
  this.$$cn = !1, Promise.resolve().then(() => {
403
435
  !this.$$cn && this.$$c && (this.$$c.$destroy(), this.$$c = void 0);
404
436
  });
405
437
  }
406
- $$g_p(e) {
438
+ $$g_p(t) {
407
439
  return Object.keys(this.$$p_d).find(
408
- (t) => this.$$p_d[t].attribute === e || !this.$$p_d[t].attribute && t.toLowerCase() === e
409
- ) || e;
440
+ (r) => this.$$p_d[r].attribute === t || !this.$$p_d[r].attribute && r.toLowerCase() === t
441
+ ) || t;
410
442
  }
411
443
  });
412
- function Ne(e, t, r, n) {
413
- const i = r[e]?.type;
444
+ function Se(e, t, r, n) {
445
+ var o;
446
+ const i = (o = r[e]) == null ? void 0 : o.type;
414
447
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
415
448
  return t;
416
449
  if (n === "toAttribute")
@@ -421,7 +454,7 @@ function Ne(e, t, r, n) {
421
454
  case "Boolean":
422
455
  return t ? "" : null;
423
456
  case "Number":
424
- return t ?? null;
457
+ return t == null ? null : t;
425
458
  default:
426
459
  return t;
427
460
  }
@@ -438,8 +471,8 @@ function Ne(e, t, r, n) {
438
471
  return t;
439
472
  }
440
473
  }
441
- function yn(e, t, r, n, i, o) {
442
- let a = class extends sr {
474
+ function Pn(e, t, r, n, i, o) {
475
+ let a = class extends dr {
443
476
  constructor() {
444
477
  super(e, r, i), this.$$p_d = t;
445
478
  }
@@ -455,38 +488,42 @@ function yn(e, t, r, n, i, o) {
455
488
  return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
456
489
  },
457
490
  set(l) {
458
- l = Ne(s, l, t), this.$$d[s] = l, this.$$c?.$set({ [s]: l });
491
+ var u;
492
+ l = Se(s, l, t), this.$$d[s] = l, (u = this.$$c) == null || u.$set({ [s]: l });
459
493
  }
460
494
  });
461
495
  }), n.forEach((s) => {
462
496
  Object.defineProperty(a.prototype, s, {
463
497
  get() {
464
- return this.$$c?.[s];
498
+ var l;
499
+ return (l = this.$$c) == null ? void 0 : l[s];
465
500
  }
466
501
  });
467
502
  }), e.element = /** @type {any} */
468
503
  a, a;
469
504
  }
470
- class _n {
471
- /**
472
- * ### PRIVATE API
473
- *
474
- * Do not use, may change at any time
475
- *
476
- * @type {any}
477
- */
478
- $$ = void 0;
479
- /**
480
- * ### PRIVATE API
481
- *
482
- * Do not use, may change at any time
483
- *
484
- * @type {any}
485
- */
486
- $$set = void 0;
505
+ class Hn {
506
+ constructor() {
507
+ /**
508
+ * ### PRIVATE API
509
+ *
510
+ * Do not use, may change at any time
511
+ *
512
+ * @type {any}
513
+ */
514
+ R(this, "$$");
515
+ /**
516
+ * ### PRIVATE API
517
+ *
518
+ * Do not use, may change at any time
519
+ *
520
+ * @type {any}
521
+ */
522
+ R(this, "$$set");
523
+ }
487
524
  /** @returns {void} */
488
525
  $destroy() {
489
- gn(this, 1), this.$destroy = R;
526
+ An(this, 1), this.$destroy = D;
490
527
  }
491
528
  /**
492
529
  * @template {Extract<keyof Events, string>} K
@@ -495,8 +532,8 @@ class _n {
495
532
  * @returns {() => void}
496
533
  */
497
534
  $on(t, r) {
498
- if (!ut(r))
499
- return R;
535
+ if (!ct(r))
536
+ return D;
500
537
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
501
538
  return n.push(r), () => {
502
539
  const i = n.indexOf(r);
@@ -508,22 +545,22 @@ class _n {
508
545
  * @returns {void}
509
546
  */
510
547
  $set(t) {
511
- this.$$set && !Yr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
548
+ this.$$set && !ln(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
512
549
  }
513
550
  }
514
- const xn = "4";
515
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(xn);
516
- var Ye = function(e, t) {
517
- return Ye = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
551
+ const Mn = "4";
552
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Mn);
553
+ var qe = function(e, t) {
554
+ return qe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
518
555
  r.__proto__ = n;
519
556
  } || function(r, n) {
520
557
  for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
521
- }, Ye(e, t);
558
+ }, qe(e, t);
522
559
  };
523
- function $(e, t) {
560
+ function k(e, t) {
524
561
  if (typeof t != "function" && t !== null)
525
562
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
526
- Ye(e, t);
563
+ qe(e, t);
527
564
  function r() {
528
565
  this.constructor = e;
529
566
  }
@@ -538,7 +575,7 @@ var E = function() {
538
575
  return t;
539
576
  }, E.apply(this, arguments);
540
577
  };
541
- function wn(e, t) {
578
+ function On(e, t) {
542
579
  var r = {};
543
580
  for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
544
581
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -546,7 +583,7 @@ function wn(e, t) {
546
583
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
547
584
  return r;
548
585
  }
549
- function Je(e) {
586
+ function Ke(e) {
550
587
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
551
588
  if (r) return r.call(e);
552
589
  if (e && typeof e.length == "number") return {
@@ -556,7 +593,7 @@ function Je(e) {
556
593
  };
557
594
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
558
595
  }
559
- function qe(e, t) {
596
+ function et(e, t) {
560
597
  var r = typeof Symbol == "function" && e[Symbol.iterator];
561
598
  if (!r) return e;
562
599
  var n = r.call(e), i, o = [], a;
@@ -573,21 +610,21 @@ function qe(e, t) {
573
610
  }
574
611
  return o;
575
612
  }
576
- function ee(e, t, r) {
613
+ function te(e, t, r) {
577
614
  if (r || arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
578
615
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
579
616
  return e.concat(o || Array.prototype.slice.call(t));
580
617
  }
581
- function D(e) {
618
+ function G(e) {
582
619
  return typeof e == "function";
583
620
  }
584
- function lr(e) {
621
+ function mr(e) {
585
622
  var t = function(n) {
586
623
  Error.call(n), n.stack = new Error().stack;
587
624
  }, r = e(t);
588
625
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
589
626
  }
590
- var $e = lr(function(e) {
627
+ var je = mr(function(e) {
591
628
  return function(r) {
592
629
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
593
630
  ` + r.map(function(n, i) {
@@ -596,13 +633,13 @@ var $e = lr(function(e) {
596
633
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
597
634
  };
598
635
  });
599
- function Ke(e, t) {
636
+ function tt(e, t) {
600
637
  if (e) {
601
638
  var r = e.indexOf(t);
602
639
  0 <= r && e.splice(r, 1);
603
640
  }
604
641
  }
605
- var Me = function() {
642
+ var Oe = function() {
606
643
  function e(t) {
607
644
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
608
645
  }
@@ -614,7 +651,7 @@ var Me = function() {
614
651
  if (a)
615
652
  if (this._parentage = null, Array.isArray(a))
616
653
  try {
617
- for (var s = Je(a), l = s.next(); !l.done; l = s.next()) {
654
+ for (var s = Ke(a), l = s.next(); !l.done; l = s.next()) {
618
655
  var u = l.value;
619
656
  u.remove(this);
620
657
  }
@@ -630,22 +667,22 @@ var Me = function() {
630
667
  else
631
668
  a.remove(this);
632
669
  var h = this.initialTeardown;
633
- if (D(h))
670
+ if (G(h))
634
671
  try {
635
672
  h();
636
673
  } catch (b) {
637
- o = b instanceof $e ? b.errors : [b];
674
+ o = b instanceof je ? b.errors : [b];
638
675
  }
639
676
  var d = this._finalizers;
640
677
  if (d) {
641
678
  this._finalizers = null;
642
679
  try {
643
- for (var f = Je(d), p = f.next(); !p.done; p = f.next()) {
680
+ for (var f = Ke(d), p = f.next(); !p.done; p = f.next()) {
644
681
  var g = p.value;
645
682
  try {
646
- xt(g);
683
+ At(g);
647
684
  } catch (b) {
648
- o = o ?? [], b instanceof $e ? o = ee(ee([], qe(o)), qe(b.errors)) : o.push(b);
685
+ o = o != null ? o : [], b instanceof je ? o = te(te([], et(o)), et(b.errors)) : o.push(b);
649
686
  }
650
687
  }
651
688
  } catch (b) {
@@ -659,13 +696,13 @@ var Me = function() {
659
696
  }
660
697
  }
661
698
  if (o)
662
- throw new $e(o);
699
+ throw new je(o);
663
700
  }
664
701
  }, e.prototype.add = function(t) {
665
702
  var r;
666
703
  if (t && t !== this)
667
704
  if (this.closed)
668
- xt(t);
705
+ At(t);
669
706
  else {
670
707
  if (t instanceof e) {
671
708
  if (t.closed || t._hasParent(this))
@@ -682,56 +719,56 @@ var Me = function() {
682
719
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
683
720
  }, e.prototype._removeParent = function(t) {
684
721
  var r = this._parentage;
685
- r === t ? this._parentage = null : Array.isArray(r) && Ke(r, t);
722
+ r === t ? this._parentage = null : Array.isArray(r) && tt(r, t);
686
723
  }, e.prototype.remove = function(t) {
687
724
  var r = this._finalizers;
688
- r && Ke(r, t), t instanceof e && t._removeParent(this);
725
+ r && tt(r, t), t instanceof e && t._removeParent(this);
689
726
  }, e.EMPTY = function() {
690
727
  var t = new e();
691
728
  return t.closed = !0, t;
692
729
  }(), e;
693
- }(), ur = Me.EMPTY;
694
- function hr(e) {
695
- return e instanceof Me || e && "closed" in e && D(e.remove) && D(e.add) && D(e.unsubscribe);
730
+ }(), pr = Oe.EMPTY;
731
+ function gr(e) {
732
+ return e instanceof Oe || e && "closed" in e && G(e.remove) && G(e.add) && G(e.unsubscribe);
696
733
  }
697
- function xt(e) {
698
- D(e) ? e() : e.unsubscribe();
734
+ function At(e) {
735
+ G(e) ? e() : e.unsubscribe();
699
736
  }
700
- var En = {
737
+ var Ln = {
701
738
  onUnhandledError: null,
702
739
  onStoppedNotification: null,
703
740
  Promise: void 0,
704
741
  useDeprecatedSynchronousErrorHandling: !1,
705
742
  useDeprecatedNextContext: !1
706
- }, Nn = {
743
+ }, Cn = {
707
744
  setTimeout: function(e, t) {
708
745
  for (var r = [], n = 2; n < arguments.length; n++)
709
746
  r[n - 2] = arguments[n];
710
- return setTimeout.apply(void 0, ee([e, t], qe(r)));
747
+ return setTimeout.apply(void 0, te([e, t], et(r)));
711
748
  },
712
749
  clearTimeout: function(e) {
713
750
  return clearTimeout(e);
714
751
  },
715
752
  delegate: void 0
716
753
  };
717
- function Sn(e) {
718
- Nn.setTimeout(function() {
754
+ function Fn(e) {
755
+ Cn.setTimeout(function() {
719
756
  throw e;
720
757
  });
721
758
  }
722
- function wt() {
759
+ function Bt() {
723
760
  }
724
- function Se(e) {
761
+ function Ie(e) {
725
762
  e();
726
763
  }
727
- var cr = function(e) {
728
- $(t, e);
764
+ var br = function(e) {
765
+ k(t, e);
729
766
  function t(r) {
730
767
  var n = e.call(this) || this;
731
- return n.isStopped = !1, r ? (n.destination = r, hr(r) && r.add(n)) : n.destination = Bn, n;
768
+ return n.isStopped = !1, r ? (n.destination = r, gr(r) && r.add(n)) : n.destination = Dn, n;
732
769
  }
733
770
  return t.create = function(r, n, i) {
734
- return new et(r, n, i);
771
+ return new rt(r, n, i);
735
772
  }, t.prototype.next = function(r) {
736
773
  this.isStopped || this._next(r);
737
774
  }, t.prototype.error = function(r) {
@@ -755,7 +792,7 @@ var cr = function(e) {
755
792
  this.unsubscribe();
756
793
  }
757
794
  }, t;
758
- }(Me), In = function() {
795
+ }(Oe), Rn = function() {
759
796
  function e(t) {
760
797
  this.partialObserver = t;
761
798
  }
@@ -765,7 +802,7 @@ var cr = function(e) {
765
802
  try {
766
803
  r.next(t);
767
804
  } catch (n) {
768
- xe(n);
805
+ we(n);
769
806
  }
770
807
  }, e.prototype.error = function(t) {
771
808
  var r = this.partialObserver;
@@ -773,56 +810,56 @@ var cr = function(e) {
773
810
  try {
774
811
  r.error(t);
775
812
  } catch (n) {
776
- xe(n);
813
+ we(n);
777
814
  }
778
815
  else
779
- xe(t);
816
+ we(t);
780
817
  }, e.prototype.complete = function() {
781
818
  var t = this.partialObserver;
782
819
  if (t.complete)
783
820
  try {
784
821
  t.complete();
785
822
  } catch (r) {
786
- xe(r);
823
+ we(r);
787
824
  }
788
825
  }, e;
789
- }(), et = function(e) {
790
- $(t, e);
826
+ }(), rt = function(e) {
827
+ k(t, e);
791
828
  function t(r, n, i) {
792
829
  var o = e.call(this) || this, a;
793
- return D(r) || !r ? a = {
794
- next: r ?? void 0,
795
- error: n ?? void 0,
796
- complete: i ?? void 0
797
- } : a = r, o.destination = new In(a), o;
830
+ return G(r) || !r ? a = {
831
+ next: r != null ? r : void 0,
832
+ error: n != null ? n : void 0,
833
+ complete: i != null ? i : void 0
834
+ } : a = r, o.destination = new Rn(a), o;
798
835
  }
799
836
  return t;
800
- }(cr);
801
- function xe(e) {
802
- Sn(e);
837
+ }(br);
838
+ function we(e) {
839
+ Fn(e);
803
840
  }
804
- function An(e) {
841
+ function Un(e) {
805
842
  throw e;
806
843
  }
807
- var Bn = {
844
+ var Dn = {
808
845
  closed: !0,
809
- next: wt,
810
- error: An,
811
- complete: wt
812
- }, Tn = function() {
846
+ next: Bt,
847
+ error: Un,
848
+ complete: Bt
849
+ }, Gn = function() {
813
850
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
814
851
  }();
815
- function Pn(e) {
852
+ function $n(e) {
816
853
  return e;
817
854
  }
818
- function Hn(e) {
819
- return e.length === 0 ? Pn : e.length === 1 ? e[0] : function(r) {
855
+ function kn(e) {
856
+ return e.length === 0 ? $n : e.length === 1 ? e[0] : function(r) {
820
857
  return e.reduce(function(n, i) {
821
858
  return i(n);
822
859
  }, r);
823
860
  };
824
861
  }
825
- var Et = function() {
862
+ var Tt = function() {
826
863
  function e(t) {
827
864
  t && (this._subscribe = t);
828
865
  }
@@ -830,8 +867,8 @@ var Et = function() {
830
867
  var r = new e();
831
868
  return r.source = this, r.operator = t, r;
832
869
  }, e.prototype.subscribe = function(t, r, n) {
833
- var i = this, o = On(t) ? t : new et(t, r, n);
834
- return Se(function() {
870
+ var i = this, o = Wn(t) ? t : new rt(t, r, n);
871
+ return Ie(function() {
835
872
  var a = i, s = a.operator, l = a.source;
836
873
  o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
837
874
  }), o;
@@ -843,8 +880,8 @@ var Et = function() {
843
880
  }
844
881
  }, e.prototype.forEach = function(t, r) {
845
882
  var n = this;
846
- return r = Nt(r), new r(function(i, o) {
847
- var a = new et({
883
+ return r = Pt(r), new r(function(i, o) {
884
+ var a = new rt({
848
885
  next: function(s) {
849
886
  try {
850
887
  t(s);
@@ -860,15 +897,15 @@ var Et = function() {
860
897
  }, e.prototype._subscribe = function(t) {
861
898
  var r;
862
899
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
863
- }, e.prototype[Tn] = function() {
900
+ }, e.prototype[Gn] = function() {
864
901
  return this;
865
902
  }, e.prototype.pipe = function() {
866
903
  for (var t = [], r = 0; r < arguments.length; r++)
867
904
  t[r] = arguments[r];
868
- return Hn(t)(this);
905
+ return kn(t)(this);
869
906
  }, e.prototype.toPromise = function(t) {
870
907
  var r = this;
871
- return t = Nt(t), new t(function(n, i) {
908
+ return t = Pt(t), new t(function(n, i) {
872
909
  var o;
873
910
  r.subscribe(function(a) {
874
911
  return o = a;
@@ -882,40 +919,40 @@ var Et = function() {
882
919
  return new e(t);
883
920
  }, e;
884
921
  }();
885
- function Nt(e) {
922
+ function Pt(e) {
886
923
  var t;
887
- return (t = e ?? En.Promise) !== null && t !== void 0 ? t : Promise;
924
+ return (t = e != null ? e : Ln.Promise) !== null && t !== void 0 ? t : Promise;
888
925
  }
889
- function Mn(e) {
890
- return e && D(e.next) && D(e.error) && D(e.complete);
926
+ function jn(e) {
927
+ return e && G(e.next) && G(e.error) && G(e.complete);
891
928
  }
892
- function On(e) {
893
- return e && e instanceof cr || Mn(e) && hr(e);
929
+ function Wn(e) {
930
+ return e && e instanceof br || jn(e) && gr(e);
894
931
  }
895
- var Ln = lr(function(e) {
932
+ var Vn = mr(function(e) {
896
933
  return function() {
897
934
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
898
935
  };
899
- }), fr = function(e) {
900
- $(t, e);
936
+ }), vr = function(e) {
937
+ k(t, e);
901
938
  function t() {
902
939
  var r = e.call(this) || this;
903
940
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
904
941
  }
905
942
  return t.prototype.lift = function(r) {
906
- var n = new St(this, this);
943
+ var n = new Ht(this, this);
907
944
  return n.operator = r, n;
908
945
  }, t.prototype._throwIfClosed = function() {
909
946
  if (this.closed)
910
- throw new Ln();
947
+ throw new Vn();
911
948
  }, t.prototype.next = function(r) {
912
949
  var n = this;
913
- Se(function() {
950
+ Ie(function() {
914
951
  var i, o;
915
952
  if (n._throwIfClosed(), !n.isStopped) {
916
953
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
917
954
  try {
918
- for (var a = Je(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
955
+ for (var a = Ke(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
919
956
  var l = s.value;
920
957
  l.next(r);
921
958
  }
@@ -932,7 +969,7 @@ var Ln = lr(function(e) {
932
969
  });
933
970
  }, t.prototype.error = function(r) {
934
971
  var n = this;
935
- Se(function() {
972
+ Ie(function() {
936
973
  if (n._throwIfClosed(), !n.isStopped) {
937
974
  n.hasError = n.isStopped = !0, n.thrownError = r;
938
975
  for (var i = n.observers; i.length; )
@@ -941,7 +978,7 @@ var Ln = lr(function(e) {
941
978
  });
942
979
  }, t.prototype.complete = function() {
943
980
  var r = this;
944
- Se(function() {
981
+ Ie(function() {
945
982
  if (r._throwIfClosed(), !r.isStopped) {
946
983
  r.isStopped = !0;
947
984
  for (var n = r.observers; n.length; )
@@ -963,20 +1000,20 @@ var Ln = lr(function(e) {
963
1000
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
964
1001
  }, t.prototype._innerSubscribe = function(r) {
965
1002
  var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
966
- return o || a ? ur : (this.currentObservers = null, s.push(r), new Me(function() {
967
- n.currentObservers = null, Ke(s, r);
1003
+ return o || a ? pr : (this.currentObservers = null, s.push(r), new Oe(function() {
1004
+ n.currentObservers = null, tt(s, r);
968
1005
  }));
969
1006
  }, t.prototype._checkFinalizedStatuses = function(r) {
970
1007
  var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
971
1008
  i ? r.error(o) : a && r.complete();
972
1009
  }, t.prototype.asObservable = function() {
973
- var r = new Et();
1010
+ var r = new Tt();
974
1011
  return r.source = this, r;
975
1012
  }, t.create = function(r, n) {
976
- return new St(r, n);
1013
+ return new Ht(r, n);
977
1014
  }, t;
978
- }(Et), St = function(e) {
979
- $(t, e);
1015
+ }(Tt), Ht = function(e) {
1016
+ k(t, e);
980
1017
  function t(r, n) {
981
1018
  var i = e.call(this) || this;
982
1019
  return i.destination = r, i.source = n, i;
@@ -992,17 +1029,17 @@ var Ln = lr(function(e) {
992
1029
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
993
1030
  }, t.prototype._subscribe = function(r) {
994
1031
  var n, i;
995
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : ur;
1032
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : pr;
996
1033
  }, t;
997
- }(fr), dr = {
1034
+ }(vr), yr = {
998
1035
  now: function() {
999
- return (dr.delegate || Date).now();
1036
+ return (yr.delegate || Date).now();
1000
1037
  },
1001
1038
  delegate: void 0
1002
- }, Cn = function(e) {
1003
- $(t, e);
1039
+ }, Xn = function(e) {
1040
+ k(t, e);
1004
1041
  function t(r, n, i) {
1005
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = dr);
1042
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = yr);
1006
1043
  var o = e.call(this) || this;
1007
1044
  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;
1008
1045
  }
@@ -1022,65 +1059,65 @@ var Ln = lr(function(e) {
1022
1059
  u && o.splice(0, u + 1);
1023
1060
  }
1024
1061
  }, t;
1025
- }(fr);
1026
- const It = [], At = {}, Fn = (e, t = 0) => {
1027
- if (It.indexOf(e) == -1) {
1028
- const r = new Cn(t);
1029
- At[e] = r, It.push(e);
1062
+ }(vr);
1063
+ const Mt = [], Ot = {}, zn = (e, t = 0) => {
1064
+ if (Mt.indexOf(e) == -1) {
1065
+ const r = new Xn(t);
1066
+ Ot[e] = r, Mt.push(e);
1030
1067
  }
1031
- return At[e];
1032
- }, J = [];
1033
- function Rn(e, t) {
1068
+ return Ot[e];
1069
+ }, q = [];
1070
+ function Zn(e, t) {
1034
1071
  return {
1035
- subscribe: Oe(e, t).subscribe
1072
+ subscribe: Le(e, t).subscribe
1036
1073
  };
1037
1074
  }
1038
- function Oe(e, t = R) {
1075
+ function Le(e, t = D) {
1039
1076
  let r;
1040
1077
  const n = /* @__PURE__ */ new Set();
1041
1078
  function i(s) {
1042
- if (tr(e, s) && (e = s, r)) {
1043
- const l = !J.length;
1079
+ if (sr(e, s) && (e = s, r)) {
1080
+ const l = !q.length;
1044
1081
  for (const u of n)
1045
- u[1](), J.push(u, e);
1082
+ u[1](), q.push(u, e);
1046
1083
  if (l) {
1047
- for (let u = 0; u < J.length; u += 2)
1048
- J[u][0](J[u + 1]);
1049
- J.length = 0;
1084
+ for (let u = 0; u < q.length; u += 2)
1085
+ q[u][0](q[u + 1]);
1086
+ q.length = 0;
1050
1087
  }
1051
1088
  }
1052
1089
  }
1053
1090
  function o(s) {
1054
1091
  i(s(e));
1055
1092
  }
1056
- function a(s, l = R) {
1093
+ function a(s, l = D) {
1057
1094
  const u = [s, l];
1058
- return n.add(u), n.size === 1 && (r = t(i, o) || R), s(e), () => {
1095
+ return n.add(u), n.size === 1 && (r = t(i, o) || D), s(e), () => {
1059
1096
  n.delete(u), n.size === 0 && r && (r(), r = null);
1060
1097
  };
1061
1098
  }
1062
1099
  return { set: i, update: o, subscribe: a };
1063
1100
  }
1064
- function se(e, t, r) {
1101
+ function le(e, t, r) {
1065
1102
  const n = !Array.isArray(e), i = n ? [e] : e;
1066
1103
  if (!i.every(Boolean))
1067
1104
  throw new Error("derived() expects stores as input, got a falsy value");
1068
1105
  const o = t.length < 2;
1069
- return Rn(r, (a, s) => {
1106
+ return Zn(r, (a, s) => {
1070
1107
  let l = !1;
1071
1108
  const u = [];
1072
- let h = 0, d = R;
1109
+ let h = 0, d = D;
1073
1110
  const f = () => {
1074
1111
  if (h)
1075
1112
  return;
1076
1113
  d();
1077
1114
  const g = t(n ? u[0] : u, a, s);
1078
- o ? a(g) : d = ut(g) ? g : R;
1115
+ o ? a(g) : d = ct(g) ? g : D;
1079
1116
  }, p = i.map(
1080
- (g, b) => rr(
1117
+ (g, b) => lr(
1081
1118
  g,
1082
- (B) => {
1083
- u[b] = B, h &= ~(1 << b), l && f();
1119
+ (P) => {
1120
+ u[b] = P, h &= ~(1 << b), l && f();
1084
1121
  },
1085
1122
  () => {
1086
1123
  h |= 1 << b;
@@ -1088,118 +1125,118 @@ function se(e, t, r) {
1088
1125
  )
1089
1126
  );
1090
1127
  return l = !0, f(), function() {
1091
- ae(p), d(), l = !1;
1128
+ se(p), d(), l = !1;
1092
1129
  };
1093
1130
  });
1094
1131
  }
1095
- function Un(e) {
1132
+ function Qn(e) {
1096
1133
  return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1097
1134
  }
1098
- var Dn = function(t) {
1099
- return Gn(t) && !$n(t);
1135
+ var Yn = function(t) {
1136
+ return Jn(t) && !qn(t);
1100
1137
  };
1101
- function Gn(e) {
1138
+ function Jn(e) {
1102
1139
  return !!e && typeof e == "object";
1103
1140
  }
1104
- function $n(e) {
1141
+ function qn(e) {
1105
1142
  var t = Object.prototype.toString.call(e);
1106
- return t === "[object RegExp]" || t === "[object Date]" || Wn(e);
1143
+ return t === "[object RegExp]" || t === "[object Date]" || ti(e);
1107
1144
  }
1108
- var kn = typeof Symbol == "function" && Symbol.for, jn = kn ? Symbol.for("react.element") : 60103;
1109
- function Wn(e) {
1110
- return e.$$typeof === jn;
1145
+ var Kn = typeof Symbol == "function" && Symbol.for, ei = Kn ? Symbol.for("react.element") : 60103;
1146
+ function ti(e) {
1147
+ return e.$$typeof === ei;
1111
1148
  }
1112
- function Vn(e) {
1149
+ function ri(e) {
1113
1150
  return Array.isArray(e) ? [] : {};
1114
1151
  }
1115
- function pe(e, t) {
1116
- return t.clone !== !1 && t.isMergeableObject(e) ? re(Vn(e), e, t) : e;
1152
+ function ge(e, t) {
1153
+ return t.clone !== !1 && t.isMergeableObject(e) ? ne(ri(e), e, t) : e;
1117
1154
  }
1118
- function Xn(e, t, r) {
1155
+ function ni(e, t, r) {
1119
1156
  return e.concat(t).map(function(n) {
1120
- return pe(n, r);
1157
+ return ge(n, r);
1121
1158
  });
1122
1159
  }
1123
- function zn(e, t) {
1160
+ function ii(e, t) {
1124
1161
  if (!t.customMerge)
1125
- return re;
1162
+ return ne;
1126
1163
  var r = t.customMerge(e);
1127
- return typeof r == "function" ? r : re;
1164
+ return typeof r == "function" ? r : ne;
1128
1165
  }
1129
- function Zn(e) {
1166
+ function oi(e) {
1130
1167
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1131
1168
  return Object.propertyIsEnumerable.call(e, t);
1132
1169
  }) : [];
1133
1170
  }
1134
- function Bt(e) {
1135
- return Object.keys(e).concat(Zn(e));
1171
+ function Lt(e) {
1172
+ return Object.keys(e).concat(oi(e));
1136
1173
  }
1137
- function mr(e, t) {
1174
+ function _r(e, t) {
1138
1175
  try {
1139
1176
  return t in e;
1140
- } catch {
1177
+ } catch (r) {
1141
1178
  return !1;
1142
1179
  }
1143
1180
  }
1144
- function Qn(e, t) {
1145
- return mr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1181
+ function ai(e, t) {
1182
+ return _r(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1146
1183
  }
1147
- function Yn(e, t, r) {
1184
+ function si(e, t, r) {
1148
1185
  var n = {};
1149
- return r.isMergeableObject(e) && Bt(e).forEach(function(i) {
1150
- n[i] = pe(e[i], r);
1151
- }), Bt(t).forEach(function(i) {
1152
- Qn(e, i) || (mr(e, i) && r.isMergeableObject(t[i]) ? n[i] = zn(i, r)(e[i], t[i], r) : n[i] = pe(t[i], r));
1186
+ return r.isMergeableObject(e) && Lt(e).forEach(function(i) {
1187
+ n[i] = ge(e[i], r);
1188
+ }), Lt(t).forEach(function(i) {
1189
+ ai(e, i) || (_r(e, i) && r.isMergeableObject(t[i]) ? n[i] = ii(i, r)(e[i], t[i], r) : n[i] = ge(t[i], r));
1153
1190
  }), n;
1154
1191
  }
1155
- function re(e, t, r) {
1156
- r = r || {}, r.arrayMerge = r.arrayMerge || Xn, r.isMergeableObject = r.isMergeableObject || Dn, r.cloneUnlessOtherwiseSpecified = pe;
1192
+ function ne(e, t, r) {
1193
+ r = r || {}, r.arrayMerge = r.arrayMerge || ni, r.isMergeableObject = r.isMergeableObject || Yn, r.cloneUnlessOtherwiseSpecified = ge;
1157
1194
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1158
- return o ? n ? r.arrayMerge(e, t, r) : Yn(e, t, r) : pe(t, r);
1195
+ return o ? n ? r.arrayMerge(e, t, r) : si(e, t, r) : ge(t, r);
1159
1196
  }
1160
- re.all = function(t, r) {
1197
+ ne.all = function(t, r) {
1161
1198
  if (!Array.isArray(t))
1162
1199
  throw new Error("first argument should be an array");
1163
1200
  return t.reduce(function(n, i) {
1164
- return re(n, i, r);
1201
+ return ne(n, i, r);
1165
1202
  }, {});
1166
1203
  };
1167
- var Jn = re, qn = Jn;
1168
- const Kn = /* @__PURE__ */ Un(qn);
1169
- function ke(e, t) {
1170
- var r = t && t.cache ? t.cache : ai, n = t && t.serializer ? t.serializer : ii, i = t && t.strategy ? t.strategy : ti;
1204
+ var li = ne, ui = li;
1205
+ const hi = /* @__PURE__ */ Qn(ui);
1206
+ function We(e, t) {
1207
+ var r = t && t.cache ? t.cache : bi, n = t && t.serializer ? t.serializer : pi, i = t && t.strategy ? t.strategy : fi;
1171
1208
  return i(e, {
1172
1209
  cache: r,
1173
1210
  serializer: n
1174
1211
  });
1175
1212
  }
1176
- function ei(e) {
1213
+ function ci(e) {
1177
1214
  return e == null || typeof e == "number" || typeof e == "boolean";
1178
1215
  }
1179
- function pr(e, t, r, n) {
1180
- var i = ei(n) ? n : r(n), o = t.get(i);
1181
- return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1216
+ function xr(e, t, r, n) {
1217
+ var i = ci(n) ? n : r(n), o = t.get(i);
1218
+ return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1182
1219
  }
1183
- function gr(e, t, r) {
1220
+ function wr(e, t, r) {
1184
1221
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1185
- return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1222
+ return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1186
1223
  }
1187
- function ct(e, t, r, n, i) {
1224
+ function dt(e, t, r, n, i) {
1188
1225
  return r.bind(t, e, n, i);
1189
1226
  }
1190
- function ti(e, t) {
1191
- var r = e.length === 1 ? pr : gr;
1192
- return ct(e, this, r, t.cache.create(), t.serializer);
1227
+ function fi(e, t) {
1228
+ var r = e.length === 1 ? xr : wr;
1229
+ return dt(e, this, r, t.cache.create(), t.serializer);
1193
1230
  }
1194
- function ri(e, t) {
1195
- return ct(e, this, gr, t.cache.create(), t.serializer);
1231
+ function di(e, t) {
1232
+ return dt(e, this, wr, t.cache.create(), t.serializer);
1196
1233
  }
1197
- function ni(e, t) {
1198
- return ct(e, this, pr, t.cache.create(), t.serializer);
1234
+ function mi(e, t) {
1235
+ return dt(e, this, xr, t.cache.create(), t.serializer);
1199
1236
  }
1200
- var ii = function() {
1237
+ var pi = function() {
1201
1238
  return JSON.stringify(arguments);
1202
- }, oi = (
1239
+ }, gi = (
1203
1240
  /** @class */
1204
1241
  function() {
1205
1242
  function e() {
@@ -1211,62 +1248,62 @@ var ii = function() {
1211
1248
  this.cache[t] = r;
1212
1249
  }, e;
1213
1250
  }()
1214
- ), ai = {
1251
+ ), bi = {
1215
1252
  create: function() {
1216
- return new oi();
1253
+ return new gi();
1217
1254
  }
1218
- }, je = {
1219
- variadic: ri,
1220
- monadic: ni
1255
+ }, Ve = {
1256
+ variadic: di,
1257
+ monadic: mi
1221
1258
  }, _;
1222
1259
  (function(e) {
1223
1260
  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";
1224
1261
  })(_ || (_ = {}));
1225
- var S;
1262
+ var I;
1226
1263
  (function(e) {
1227
1264
  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";
1228
- })(S || (S = {}));
1229
- var ne;
1265
+ })(I || (I = {}));
1266
+ var ie;
1230
1267
  (function(e) {
1231
1268
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1232
- })(ne || (ne = {}));
1233
- function Tt(e) {
1234
- return e.type === S.literal;
1269
+ })(ie || (ie = {}));
1270
+ function Ct(e) {
1271
+ return e.type === I.literal;
1235
1272
  }
1236
- function si(e) {
1237
- return e.type === S.argument;
1273
+ function vi(e) {
1274
+ return e.type === I.argument;
1238
1275
  }
1239
- function br(e) {
1240
- return e.type === S.number;
1276
+ function Er(e) {
1277
+ return e.type === I.number;
1241
1278
  }
1242
- function vr(e) {
1243
- return e.type === S.date;
1279
+ function Nr(e) {
1280
+ return e.type === I.date;
1244
1281
  }
1245
- function yr(e) {
1246
- return e.type === S.time;
1282
+ function Sr(e) {
1283
+ return e.type === I.time;
1247
1284
  }
1248
- function _r(e) {
1249
- return e.type === S.select;
1285
+ function Ir(e) {
1286
+ return e.type === I.select;
1250
1287
  }
1251
- function xr(e) {
1252
- return e.type === S.plural;
1288
+ function Ar(e) {
1289
+ return e.type === I.plural;
1253
1290
  }
1254
- function li(e) {
1255
- return e.type === S.pound;
1291
+ function yi(e) {
1292
+ return e.type === I.pound;
1256
1293
  }
1257
- function wr(e) {
1258
- return e.type === S.tag;
1294
+ function Br(e) {
1295
+ return e.type === I.tag;
1259
1296
  }
1260
- function Er(e) {
1261
- return !!(e && typeof e == "object" && e.type === ne.number);
1297
+ function Tr(e) {
1298
+ return !!(e && typeof e == "object" && e.type === ie.number);
1262
1299
  }
1263
- function tt(e) {
1264
- return !!(e && typeof e == "object" && e.type === ne.dateTime);
1300
+ function nt(e) {
1301
+ return !!(e && typeof e == "object" && e.type === ie.dateTime);
1265
1302
  }
1266
- var Nr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ui = /(?:[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;
1267
- function hi(e) {
1303
+ var Pr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, _i = /(?:[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;
1304
+ function xi(e) {
1268
1305
  var t = {};
1269
- return e.replace(ui, function(r) {
1306
+ return e.replace(_i, function(r) {
1270
1307
  var n = r.length;
1271
1308
  switch (r[0]) {
1272
1309
  case "G":
@@ -1355,11 +1392,11 @@ function hi(e) {
1355
1392
  return "";
1356
1393
  }), t;
1357
1394
  }
1358
- var ci = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1359
- function fi(e) {
1395
+ var wi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1396
+ function Ei(e) {
1360
1397
  if (e.length === 0)
1361
1398
  throw new Error("Number skeleton cannot be empty");
1362
- for (var t = e.split(ci).filter(function(f) {
1399
+ for (var t = e.split(wi).filter(function(f) {
1363
1400
  return f.length > 0;
1364
1401
  }), r = [], n = 0, i = t; n < i.length; n++) {
1365
1402
  var o = i[n], a = o.split("/");
@@ -1374,17 +1411,17 @@ function fi(e) {
1374
1411
  }
1375
1412
  return r;
1376
1413
  }
1377
- function di(e) {
1414
+ function Ni(e) {
1378
1415
  return e.replace(/^(.*?)-/, "");
1379
1416
  }
1380
- var Pt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Sr = /^(@+)?(\+|#+)?[rs]?$/g, mi = /(\*)(0+)|(#+)(0+)|(0+)/g, Ir = /^(0+)$/;
1381
- function Ht(e) {
1417
+ var Ft = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Hr = /^(@+)?(\+|#+)?[rs]?$/g, Si = /(\*)(0+)|(#+)(0+)|(0+)/g, Mr = /^(0+)$/;
1418
+ function Rt(e) {
1382
1419
  var t = {};
1383
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Sr, function(r, n, i) {
1420
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Hr, function(r, n, i) {
1384
1421
  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)), "";
1385
1422
  }), t;
1386
1423
  }
1387
- function Ar(e) {
1424
+ function Or(e) {
1388
1425
  switch (e) {
1389
1426
  case "sign-auto":
1390
1427
  return {
@@ -1424,7 +1461,7 @@ function Ar(e) {
1424
1461
  };
1425
1462
  }
1426
1463
  }
1427
- function pi(e) {
1464
+ function Ii(e) {
1428
1465
  var t;
1429
1466
  if (e[0] === "E" && e[1] === "E" ? (t = {
1430
1467
  notation: "engineering"
@@ -1432,17 +1469,17 @@ function pi(e) {
1432
1469
  notation: "scientific"
1433
1470
  }, e = e.slice(1)), t) {
1434
1471
  var r = e.slice(0, 2);
1435
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Ir.test(e))
1472
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Mr.test(e))
1436
1473
  throw new Error("Malformed concise eng/scientific notation");
1437
1474
  t.minimumIntegerDigits = e.length;
1438
1475
  }
1439
1476
  return t;
1440
1477
  }
1441
- function Mt(e) {
1442
- var t = {}, r = Ar(e);
1478
+ function Ut(e) {
1479
+ var t = {}, r = Or(e);
1443
1480
  return r || t;
1444
1481
  }
1445
- function gi(e) {
1482
+ function Ai(e) {
1446
1483
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1447
1484
  var i = n[r];
1448
1485
  switch (i.stem) {
@@ -1466,7 +1503,7 @@ function gi(e) {
1466
1503
  continue;
1467
1504
  case "measure-unit":
1468
1505
  case "unit":
1469
- t.style = "unit", t.unit = di(i.options[0]);
1506
+ t.style = "unit", t.unit = Ni(i.options[0]);
1470
1507
  continue;
1471
1508
  case "compact-short":
1472
1509
  case "K":
@@ -1478,12 +1515,12 @@ function gi(e) {
1478
1515
  continue;
1479
1516
  case "scientific":
1480
1517
  t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1481
- return E(E({}, l), Mt(u));
1518
+ return E(E({}, l), Ut(u));
1482
1519
  }, {}));
1483
1520
  continue;
1484
1521
  case "engineering":
1485
1522
  t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1486
- return E(E({}, l), Mt(u));
1523
+ return E(E({}, l), Ut(u));
1487
1524
  }, {}));
1488
1525
  continue;
1489
1526
  case "notation-simple":
@@ -1528,7 +1565,7 @@ function gi(e) {
1528
1565
  case "integer-width":
1529
1566
  if (i.options.length > 1)
1530
1567
  throw new RangeError("integer-width stems only accept a single optional option");
1531
- i.options[0].replace(mi, function(l, u, h, d, f, p) {
1568
+ i.options[0].replace(Si, function(l, u, h, d, f, p) {
1532
1569
  if (u)
1533
1570
  t.minimumIntegerDigits = h.length;
1534
1571
  else {
@@ -1541,32 +1578,32 @@ function gi(e) {
1541
1578
  });
1542
1579
  continue;
1543
1580
  }
1544
- if (Ir.test(i.stem)) {
1581
+ if (Mr.test(i.stem)) {
1545
1582
  t.minimumIntegerDigits = i.stem.length;
1546
1583
  continue;
1547
1584
  }
1548
- if (Pt.test(i.stem)) {
1585
+ if (Ft.test(i.stem)) {
1549
1586
  if (i.options.length > 1)
1550
1587
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1551
- i.stem.replace(Pt, function(l, u, h, d, f, p) {
1588
+ i.stem.replace(Ft, function(l, u, h, d, f, p) {
1552
1589
  return h === "*" ? t.minimumFractionDigits = u.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1553
1590
  });
1554
1591
  var o = i.options[0];
1555
- o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t), Ht(o)));
1592
+ o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t), Rt(o)));
1556
1593
  continue;
1557
1594
  }
1558
- if (Sr.test(i.stem)) {
1559
- t = E(E({}, t), Ht(i.stem));
1595
+ if (Hr.test(i.stem)) {
1596
+ t = E(E({}, t), Rt(i.stem));
1560
1597
  continue;
1561
1598
  }
1562
- var a = Ar(i.stem);
1599
+ var a = Or(i.stem);
1563
1600
  a && (t = E(E({}, t), a));
1564
- var s = pi(i.stem);
1601
+ var s = Ii(i.stem);
1565
1602
  s && (t = E(E({}, t), s));
1566
1603
  }
1567
1604
  return t;
1568
1605
  }
1569
- var we = {
1606
+ var Ee = {
1570
1607
  "001": [
1571
1608
  "H",
1572
1609
  "h"
@@ -2981,13 +3018,13 @@ var we = {
2981
3018
  "h"
2982
3019
  ]
2983
3020
  };
2984
- function bi(e, t) {
3021
+ function Bi(e, t) {
2985
3022
  for (var r = "", n = 0; n < e.length; n++) {
2986
3023
  var i = e.charAt(n);
2987
3024
  if (i === "j") {
2988
3025
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2989
3026
  o++, n++;
2990
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = vi(t);
3027
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Ti(t);
2991
3028
  for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
2992
3029
  r += l;
2993
3030
  for (; a-- > 0; )
@@ -2996,7 +3033,7 @@ function bi(e, t) {
2996
3033
  }
2997
3034
  return r;
2998
3035
  }
2999
- function vi(e) {
3036
+ function Ti(e) {
3000
3037
  var t = e.hourCycle;
3001
3038
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3002
3039
  e.hourCycles && // @ts-ignore
@@ -3015,23 +3052,23 @@ function vi(e) {
3015
3052
  }
3016
3053
  var r = e.language, n;
3017
3054
  r !== "root" && (n = e.maximize().region);
3018
- var i = we[n || ""] || we[r || ""] || we["".concat(r, "-001")] || we["001"];
3055
+ var i = Ee[n || ""] || Ee[r || ""] || Ee["".concat(r, "-001")] || Ee["001"];
3019
3056
  return i[0];
3020
3057
  }
3021
- var We, yi = new RegExp("^".concat(Nr.source, "*")), _i = new RegExp("".concat(Nr.source, "*$"));
3058
+ var Xe, Pi = new RegExp("^".concat(Pr.source, "*")), Hi = new RegExp("".concat(Pr.source, "*$"));
3022
3059
  function w(e, t) {
3023
3060
  return { start: e, end: t };
3024
3061
  }
3025
- var xi = !!String.prototype.startsWith && "_a".startsWith("a", 1), wi = !!String.fromCodePoint, Ei = !!Object.fromEntries, Ni = !!String.prototype.codePointAt, Si = !!String.prototype.trimStart, Ii = !!String.prototype.trimEnd, Ai = !!Number.isSafeInteger, Bi = Ai ? Number.isSafeInteger : function(e) {
3062
+ var Mi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Oi = !!String.fromCodePoint, Li = !!Object.fromEntries, Ci = !!String.prototype.codePointAt, Fi = !!String.prototype.trimStart, Ri = !!String.prototype.trimEnd, Ui = !!Number.isSafeInteger, Di = Ui ? Number.isSafeInteger : function(e) {
3026
3063
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3027
- }, rt = !0;
3064
+ }, it = !0;
3028
3065
  try {
3029
- var Ti = Tr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3030
- rt = ((We = Ti.exec("a")) === null || We === void 0 ? void 0 : We[0]) === "a";
3031
- } catch {
3032
- rt = !1;
3066
+ var Gi = Cr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3067
+ it = ((Xe = Gi.exec("a")) === null || Xe === void 0 ? void 0 : Xe[0]) === "a";
3068
+ } catch (e) {
3069
+ it = !1;
3033
3070
  }
3034
- var Ot = xi ? (
3071
+ var Dt = Mi ? (
3035
3072
  // Native
3036
3073
  function(t, r, n) {
3037
3074
  return t.startsWith(r, n);
@@ -3041,7 +3078,7 @@ var Ot = xi ? (
3041
3078
  function(t, r, n) {
3042
3079
  return t.slice(n, n + r.length) === r;
3043
3080
  }
3044
- ), nt = wi ? String.fromCodePoint : (
3081
+ ), ot = Oi ? String.fromCodePoint : (
3045
3082
  // IE11
3046
3083
  function() {
3047
3084
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3053,9 +3090,9 @@ var Ot = xi ? (
3053
3090
  }
3054
3091
  return n;
3055
3092
  }
3056
- ), Lt = (
3093
+ ), Gt = (
3057
3094
  // native
3058
- Ei ? Object.fromEntries : (
3095
+ Li ? Object.fromEntries : (
3059
3096
  // Ponyfill
3060
3097
  function(t) {
3061
3098
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3065,7 +3102,7 @@ var Ot = xi ? (
3065
3102
  return r;
3066
3103
  }
3067
3104
  )
3068
- ), Br = Ni ? (
3105
+ ), Lr = Ci ? (
3069
3106
  // Native
3070
3107
  function(t, r) {
3071
3108
  return t.codePointAt(r);
@@ -3079,7 +3116,7 @@ var Ot = xi ? (
3079
3116
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3080
3117
  }
3081
3118
  }
3082
- ), Pi = Si ? (
3119
+ ), $i = Fi ? (
3083
3120
  // Native
3084
3121
  function(t) {
3085
3122
  return t.trimStart();
@@ -3087,9 +3124,9 @@ var Ot = xi ? (
3087
3124
  ) : (
3088
3125
  // Ponyfill
3089
3126
  function(t) {
3090
- return t.replace(yi, "");
3127
+ return t.replace(Pi, "");
3091
3128
  }
3092
- ), Hi = Ii ? (
3129
+ ), ki = Ri ? (
3093
3130
  // Native
3094
3131
  function(t) {
3095
3132
  return t.trimEnd();
@@ -3097,32 +3134,32 @@ var Ot = xi ? (
3097
3134
  ) : (
3098
3135
  // Ponyfill
3099
3136
  function(t) {
3100
- return t.replace(_i, "");
3137
+ return t.replace(Hi, "");
3101
3138
  }
3102
3139
  );
3103
- function Tr(e, t) {
3140
+ function Cr(e, t) {
3104
3141
  return new RegExp(e, t);
3105
3142
  }
3106
- var it;
3107
- if (rt) {
3108
- var Ct = Tr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3109
- it = function(t, r) {
3143
+ var at;
3144
+ if (it) {
3145
+ var $t = Cr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3146
+ at = function(t, r) {
3110
3147
  var n;
3111
- Ct.lastIndex = r;
3112
- var i = Ct.exec(t);
3148
+ $t.lastIndex = r;
3149
+ var i = $t.exec(t);
3113
3150
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3114
3151
  };
3115
3152
  } else
3116
- it = function(t, r) {
3153
+ at = function(t, r) {
3117
3154
  for (var n = []; ; ) {
3118
- var i = Br(t, r);
3119
- if (i === void 0 || Pr(i) || Ci(i))
3155
+ var i = Lr(t, r);
3156
+ if (i === void 0 || Fr(i) || Xi(i))
3120
3157
  break;
3121
3158
  n.push(i), r += i >= 65536 ? 2 : 1;
3122
3159
  }
3123
- return nt.apply(void 0, n);
3160
+ return ot.apply(void 0, n);
3124
3161
  };
3125
- var Mi = (
3162
+ var ji = (
3126
3163
  /** @class */
3127
3164
  function() {
3128
3165
  function e(t, r) {
@@ -3146,14 +3183,14 @@ var Mi = (
3146
3183
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3147
3184
  var s = this.clonePosition();
3148
3185
  this.bump(), i.push({
3149
- type: S.pound,
3186
+ type: I.pound,
3150
3187
  location: w(s, this.clonePosition())
3151
3188
  });
3152
3189
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3153
3190
  if (n)
3154
3191
  break;
3155
3192
  return this.error(_.UNMATCHED_CLOSING_TAG, w(this.clonePosition(), this.clonePosition()));
3156
- } else if (o === 60 && !this.ignoreTag && ot(this.peek() || 0)) {
3193
+ } else if (o === 60 && !this.ignoreTag && st(this.peek() || 0)) {
3157
3194
  var a = this.parseTag(t, r);
3158
3195
  if (a.err)
3159
3196
  return a;
@@ -3174,7 +3211,7 @@ var Mi = (
3174
3211
  if (this.bumpSpace(), this.bumpIf("/>"))
3175
3212
  return {
3176
3213
  val: {
3177
- type: S.literal,
3214
+ type: I.literal,
3178
3215
  value: "<".concat(i, "/>"),
3179
3216
  location: w(n, this.clonePosition())
3180
3217
  },
@@ -3186,12 +3223,12 @@ var Mi = (
3186
3223
  return o;
3187
3224
  var a = o.val, s = this.clonePosition();
3188
3225
  if (this.bumpIf("</")) {
3189
- if (this.isEOF() || !ot(this.char()))
3226
+ if (this.isEOF() || !st(this.char()))
3190
3227
  return this.error(_.INVALID_TAG, w(s, this.clonePosition()));
3191
3228
  var l = this.clonePosition(), u = this.parseTagName();
3192
3229
  return i !== u ? this.error(_.UNMATCHED_CLOSING_TAG, w(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3193
3230
  val: {
3194
- type: S.tag,
3231
+ type: I.tag,
3195
3232
  value: i,
3196
3233
  children: a,
3197
3234
  location: w(n, this.clonePosition())
@@ -3204,7 +3241,7 @@ var Mi = (
3204
3241
  return this.error(_.INVALID_TAG, w(n, this.clonePosition()));
3205
3242
  }, e.prototype.parseTagName = function() {
3206
3243
  var t = this.offset();
3207
- for (this.bump(); !this.isEOF() && Li(this.char()); )
3244
+ for (this.bump(); !this.isEOF() && Vi(this.char()); )
3208
3245
  this.bump();
3209
3246
  return this.message.slice(t, this.offset());
3210
3247
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3228,12 +3265,12 @@ var Mi = (
3228
3265
  }
3229
3266
  var l = w(n, this.clonePosition());
3230
3267
  return {
3231
- val: { type: S.literal, value: i, location: l },
3268
+ val: { type: I.literal, value: i, location: l },
3232
3269
  err: null
3233
3270
  };
3234
3271
  }, e.prototype.tryParseLeftAngleBracket = function() {
3235
3272
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3236
- !Oi(this.peek() || 0)) ? (this.bump(), "<") : null;
3273
+ !Wi(this.peek() || 0)) ? (this.bump(), "<") : null;
3237
3274
  }, e.prototype.tryParseQuote = function(t) {
3238
3275
  if (this.isEOF() || this.char() !== 39)
3239
3276
  return null;
@@ -3267,12 +3304,12 @@ var Mi = (
3267
3304
  r.push(n);
3268
3305
  this.bump();
3269
3306
  }
3270
- return nt.apply(void 0, r);
3307
+ return ot.apply(void 0, r);
3271
3308
  }, e.prototype.tryParseUnquoted = function(t, r) {
3272
3309
  if (this.isEOF())
3273
3310
  return null;
3274
3311
  var n = this.char();
3275
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), nt(n));
3312
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ot(n));
3276
3313
  }, e.prototype.parseArgument = function(t, r) {
3277
3314
  var n = this.clonePosition();
3278
3315
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3288,7 +3325,7 @@ var Mi = (
3288
3325
  case 125:
3289
3326
  return this.bump(), {
3290
3327
  val: {
3291
- type: S.argument,
3328
+ type: I.argument,
3292
3329
  // value does not include the opening and closing braces.
3293
3330
  value: i,
3294
3331
  location: w(n, this.clonePosition())
@@ -3301,7 +3338,7 @@ var Mi = (
3301
3338
  return this.error(_.MALFORMED_ARGUMENT, w(n, this.clonePosition()));
3302
3339
  }
3303
3340
  }, e.prototype.parseIdentifierIfPossible = function() {
3304
- var t = this.clonePosition(), r = this.offset(), n = it(this.message, r), i = r + n.length;
3341
+ var t = this.clonePosition(), r = this.offset(), n = at(this.message, r), i = r + n.length;
3305
3342
  this.bumpTo(i);
3306
3343
  var o = this.clonePosition(), a = w(t, o);
3307
3344
  return { value: n, location: a };
@@ -3320,7 +3357,7 @@ var Mi = (
3320
3357
  var h = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
3321
3358
  if (d.err)
3322
3359
  return d;
3323
- var f = Hi(d.val);
3360
+ var f = ki(d.val);
3324
3361
  if (f.length === 0)
3325
3362
  return this.error(_.EXPECT_ARGUMENT_STYLE, w(this.clonePosition(), this.clonePosition()));
3326
3363
  var p = w(h, this.clonePosition());
@@ -3330,25 +3367,25 @@ var Mi = (
3330
3367
  if (g.err)
3331
3368
  return g;
3332
3369
  var b = w(i, this.clonePosition());
3333
- if (u && Ot(u?.style, "::", 0)) {
3334
- var B = Pi(u.style.slice(2));
3370
+ if (u && Dt(u == null ? void 0 : u.style, "::", 0)) {
3371
+ var P = $i(u.style.slice(2));
3335
3372
  if (s === "number") {
3336
- var d = this.parseNumberSkeletonFromString(B, u.styleLocation);
3373
+ var d = this.parseNumberSkeletonFromString(P, u.styleLocation);
3337
3374
  return d.err ? d : {
3338
- val: { type: S.number, value: n, location: b, style: d.val },
3375
+ val: { type: I.number, value: n, location: b, style: d.val },
3339
3376
  err: null
3340
3377
  };
3341
3378
  } else {
3342
- if (B.length === 0)
3379
+ if (P.length === 0)
3343
3380
  return this.error(_.EXPECT_DATE_TIME_SKELETON, b);
3344
- var N = B;
3345
- this.locale && (N = bi(B, this.locale));
3381
+ var N = P;
3382
+ this.locale && (N = Bi(P, this.locale));
3346
3383
  var f = {
3347
- type: ne.dateTime,
3384
+ type: ie.dateTime,
3348
3385
  pattern: N,
3349
3386
  location: u.styleLocation,
3350
- parsedOptions: this.shouldParseSkeletons ? hi(N) : {}
3351
- }, v = s === "date" ? S.date : S.time;
3387
+ parsedOptions: this.shouldParseSkeletons ? xi(N) : {}
3388
+ }, v = s === "date" ? I.date : I.time;
3352
3389
  return {
3353
3390
  val: { type: v, value: n, location: b, style: f },
3354
3391
  err: null
@@ -3357,10 +3394,10 @@ var Mi = (
3357
3394
  }
3358
3395
  return {
3359
3396
  val: {
3360
- type: s === "number" ? S.number : s === "date" ? S.date : S.time,
3397
+ type: s === "number" ? I.number : s === "date" ? I.date : I.time,
3361
3398
  value: n,
3362
3399
  location: b,
3363
- style: (o = u?.style) !== null && o !== void 0 ? o : null
3400
+ style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
3364
3401
  },
3365
3402
  err: null
3366
3403
  };
@@ -3368,9 +3405,9 @@ var Mi = (
3368
3405
  case "plural":
3369
3406
  case "selectordinal":
3370
3407
  case "select": {
3371
- var A = this.clonePosition();
3408
+ var T = this.clonePosition();
3372
3409
  if (this.bumpSpace(), !this.bumpIf(","))
3373
- return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, w(A, E({}, A)));
3410
+ return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, w(T, E({}, T)));
3374
3411
  this.bumpSpace();
3375
3412
  var x = this.parseIdentifierIfPossible(), C = 0;
3376
3413
  if (s !== "select" && x.value === "offset") {
@@ -3382,29 +3419,29 @@ var Mi = (
3382
3419
  return d;
3383
3420
  this.bumpSpace(), x = this.parseIdentifierIfPossible(), C = d.val;
3384
3421
  }
3385
- var k = this.tryParsePluralOrSelectOptions(t, s, r, x);
3386
- if (k.err)
3387
- return k;
3422
+ var j = this.tryParsePluralOrSelectOptions(t, s, r, x);
3423
+ if (j.err)
3424
+ return j;
3388
3425
  var g = this.tryParseArgumentClose(i);
3389
3426
  if (g.err)
3390
3427
  return g;
3391
- var Q = w(i, this.clonePosition());
3428
+ var Y = w(i, this.clonePosition());
3392
3429
  return s === "select" ? {
3393
3430
  val: {
3394
- type: S.select,
3431
+ type: I.select,
3395
3432
  value: n,
3396
- options: Lt(k.val),
3397
- location: Q
3433
+ options: Gt(j.val),
3434
+ location: Y
3398
3435
  },
3399
3436
  err: null
3400
3437
  } : {
3401
3438
  val: {
3402
- type: S.plural,
3439
+ type: I.plural,
3403
3440
  value: n,
3404
- options: Lt(k.val),
3441
+ options: Gt(j.val),
3405
3442
  offset: C,
3406
3443
  pluralType: s === "plural" ? "cardinal" : "ordinal",
3407
- location: Q
3444
+ location: Y
3408
3445
  },
3409
3446
  err: null
3410
3447
  };
@@ -3452,16 +3489,16 @@ var Mi = (
3452
3489
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3453
3490
  var n = [];
3454
3491
  try {
3455
- n = fi(t);
3456
- } catch {
3492
+ n = Ei(t);
3493
+ } catch (i) {
3457
3494
  return this.error(_.INVALID_NUMBER_SKELETON, r);
3458
3495
  }
3459
3496
  return {
3460
3497
  val: {
3461
- type: ne.number,
3498
+ type: ie.number,
3462
3499
  tokens: n,
3463
3500
  location: r,
3464
- parsedOptions: this.shouldParseSkeletons ? gi(n) : {}
3501
+ parsedOptions: this.shouldParseSkeletons ? Ai(n) : {}
3465
3502
  },
3466
3503
  err: null
3467
3504
  };
@@ -3509,7 +3546,7 @@ var Mi = (
3509
3546
  break;
3510
3547
  }
3511
3548
  var l = w(i, this.clonePosition());
3512
- return o ? (a *= n, Bi(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3549
+ return o ? (a *= n, Di(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3513
3550
  }, e.prototype.offset = function() {
3514
3551
  return this.position.offset;
3515
3552
  }, e.prototype.isEOF = function() {
@@ -3524,7 +3561,7 @@ var Mi = (
3524
3561
  var t = this.position.offset;
3525
3562
  if (t >= this.message.length)
3526
3563
  throw Error("out of bound");
3527
- var r = Br(this.message, t);
3564
+ var r = Lr(this.message, t);
3528
3565
  if (r === void 0)
3529
3566
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3530
3567
  return r;
@@ -3543,7 +3580,7 @@ var Mi = (
3543
3580
  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);
3544
3581
  }
3545
3582
  }, e.prototype.bumpIf = function(t) {
3546
- if (Ot(this.message, t, this.offset())) {
3583
+ if (Dt(this.message, t, this.offset())) {
3547
3584
  for (var r = 0; r < t.length; r++)
3548
3585
  this.bump();
3549
3586
  return !0;
@@ -3565,56 +3602,56 @@ var Mi = (
3565
3602
  break;
3566
3603
  }
3567
3604
  }, e.prototype.bumpSpace = function() {
3568
- for (; !this.isEOF() && Pr(this.char()); )
3605
+ for (; !this.isEOF() && Fr(this.char()); )
3569
3606
  this.bump();
3570
3607
  }, e.prototype.peek = function() {
3571
3608
  if (this.isEOF())
3572
3609
  return null;
3573
3610
  var t = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
3574
- return n ?? null;
3611
+ return n != null ? n : null;
3575
3612
  }, e;
3576
3613
  }()
3577
3614
  );
3578
- function ot(e) {
3615
+ function st(e) {
3579
3616
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3580
3617
  }
3581
- function Oi(e) {
3582
- return ot(e) || e === 47;
3618
+ function Wi(e) {
3619
+ return st(e) || e === 47;
3583
3620
  }
3584
- function Li(e) {
3621
+ function Vi(e) {
3585
3622
  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;
3586
3623
  }
3587
- function Pr(e) {
3624
+ function Fr(e) {
3588
3625
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3589
3626
  }
3590
- function Ci(e) {
3627
+ function Xi(e) {
3591
3628
  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;
3592
3629
  }
3593
- function at(e) {
3630
+ function lt(e) {
3594
3631
  e.forEach(function(t) {
3595
- if (delete t.location, _r(t) || xr(t))
3632
+ if (delete t.location, Ir(t) || Ar(t))
3596
3633
  for (var r in t.options)
3597
- delete t.options[r].location, at(t.options[r].value);
3598
- else br(t) && Er(t.style) || (vr(t) || yr(t)) && tt(t.style) ? delete t.style.location : wr(t) && at(t.children);
3634
+ delete t.options[r].location, lt(t.options[r].value);
3635
+ else Er(t) && Tr(t.style) || (Nr(t) || Sr(t)) && nt(t.style) ? delete t.style.location : Br(t) && lt(t.children);
3599
3636
  });
3600
3637
  }
3601
- function Fi(e, t) {
3638
+ function zi(e, t) {
3602
3639
  t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3603
- var r = new Mi(e, t).parse();
3640
+ var r = new ji(e, t).parse();
3604
3641
  if (r.err) {
3605
3642
  var n = SyntaxError(_[r.err.kind]);
3606
3643
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3607
3644
  }
3608
- return t?.captureLocation || at(r.val), r.val;
3645
+ return t != null && t.captureLocation || lt(r.val), r.val;
3609
3646
  }
3610
- var ie;
3647
+ var oe;
3611
3648
  (function(e) {
3612
3649
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3613
- })(ie || (ie = {}));
3614
- var Le = (
3650
+ })(oe || (oe = {}));
3651
+ var Ce = (
3615
3652
  /** @class */
3616
3653
  function(e) {
3617
- $(t, e);
3654
+ k(t, e);
3618
3655
  function t(r, n, i) {
3619
3656
  var o = e.call(this, r) || this;
3620
3657
  return o.code = n, o.originalMessage = i, o;
@@ -3623,48 +3660,48 @@ var Le = (
3623
3660
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3624
3661
  }, t;
3625
3662
  }(Error)
3626
- ), Ft = (
3663
+ ), kt = (
3627
3664
  /** @class */
3628
3665
  function(e) {
3629
- $(t, e);
3666
+ k(t, e);
3630
3667
  function t(r, n, i, o) {
3631
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ie.INVALID_VALUE, o) || this;
3668
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), oe.INVALID_VALUE, o) || this;
3632
3669
  }
3633
3670
  return t;
3634
- }(Le)
3635
- ), Ri = (
3671
+ }(Ce)
3672
+ ), Zi = (
3636
3673
  /** @class */
3637
3674
  function(e) {
3638
- $(t, e);
3675
+ k(t, e);
3639
3676
  function t(r, n, i) {
3640
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ie.INVALID_VALUE, i) || this;
3677
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), oe.INVALID_VALUE, i) || this;
3641
3678
  }
3642
3679
  return t;
3643
- }(Le)
3644
- ), Ui = (
3680
+ }(Ce)
3681
+ ), Qi = (
3645
3682
  /** @class */
3646
3683
  function(e) {
3647
- $(t, e);
3684
+ k(t, e);
3648
3685
  function t(r, n) {
3649
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ie.MISSING_VALUE, n) || this;
3686
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), oe.MISSING_VALUE, n) || this;
3650
3687
  }
3651
3688
  return t;
3652
- }(Le)
3689
+ }(Ce)
3653
3690
  ), M;
3654
3691
  (function(e) {
3655
3692
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3656
3693
  })(M || (M = {}));
3657
- function Di(e) {
3694
+ function Yi(e) {
3658
3695
  return e.length < 2 ? e : e.reduce(function(t, r) {
3659
3696
  var n = t[t.length - 1];
3660
3697
  return !n || n.type !== M.literal || r.type !== M.literal ? t.push(r) : n.value += r.value, t;
3661
3698
  }, []);
3662
3699
  }
3663
- function Gi(e) {
3700
+ function Ji(e) {
3664
3701
  return typeof e == "function";
3665
3702
  }
3666
- function Ie(e, t, r, n, i, o, a) {
3667
- if (e.length === 1 && Tt(e[0]))
3703
+ function Ae(e, t, r, n, i, o, a) {
3704
+ if (e.length === 1 && Ct(e[0]))
3668
3705
  return [
3669
3706
  {
3670
3707
  type: M.literal,
@@ -3673,14 +3710,14 @@ function Ie(e, t, r, n, i, o, a) {
3673
3710
  ];
3674
3711
  for (var s = [], l = 0, u = e; l < u.length; l++) {
3675
3712
  var h = u[l];
3676
- if (Tt(h)) {
3713
+ if (Ct(h)) {
3677
3714
  s.push({
3678
3715
  type: M.literal,
3679
3716
  value: h.value
3680
3717
  });
3681
3718
  continue;
3682
3719
  }
3683
- if (li(h)) {
3720
+ if (yi(h)) {
3684
3721
  typeof o == "number" && s.push({
3685
3722
  type: M.literal,
3686
3723
  value: r.getNumberFormat(t).format(o)
@@ -3689,44 +3726,44 @@ function Ie(e, t, r, n, i, o, a) {
3689
3726
  }
3690
3727
  var d = h.value;
3691
3728
  if (!(i && d in i))
3692
- throw new Ui(d, a);
3729
+ throw new Qi(d, a);
3693
3730
  var f = i[d];
3694
- if (si(h)) {
3731
+ if (vi(h)) {
3695
3732
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
3696
3733
  type: typeof f == "string" ? M.literal : M.object,
3697
3734
  value: f
3698
3735
  });
3699
3736
  continue;
3700
3737
  }
3701
- if (vr(h)) {
3702
- var p = typeof h.style == "string" ? n.date[h.style] : tt(h.style) ? h.style.parsedOptions : void 0;
3738
+ if (Nr(h)) {
3739
+ var p = typeof h.style == "string" ? n.date[h.style] : nt(h.style) ? h.style.parsedOptions : void 0;
3703
3740
  s.push({
3704
3741
  type: M.literal,
3705
3742
  value: r.getDateTimeFormat(t, p).format(f)
3706
3743
  });
3707
3744
  continue;
3708
3745
  }
3709
- if (yr(h)) {
3710
- var p = typeof h.style == "string" ? n.time[h.style] : tt(h.style) ? h.style.parsedOptions : n.time.medium;
3746
+ if (Sr(h)) {
3747
+ var p = typeof h.style == "string" ? n.time[h.style] : nt(h.style) ? h.style.parsedOptions : n.time.medium;
3711
3748
  s.push({
3712
3749
  type: M.literal,
3713
3750
  value: r.getDateTimeFormat(t, p).format(f)
3714
3751
  });
3715
3752
  continue;
3716
3753
  }
3717
- if (br(h)) {
3718
- var p = typeof h.style == "string" ? n.number[h.style] : Er(h.style) ? h.style.parsedOptions : void 0;
3754
+ if (Er(h)) {
3755
+ var p = typeof h.style == "string" ? n.number[h.style] : Tr(h.style) ? h.style.parsedOptions : void 0;
3719
3756
  p && p.scale && (f = f * (p.scale || 1)), s.push({
3720
3757
  type: M.literal,
3721
3758
  value: r.getNumberFormat(t, p).format(f)
3722
3759
  });
3723
3760
  continue;
3724
3761
  }
3725
- if (wr(h)) {
3726
- var g = h.children, b = h.value, B = i[b];
3727
- if (!Gi(B))
3728
- throw new Ri(b, "function", a);
3729
- var N = Ie(g, t, r, n, i, o), v = B(N.map(function(C) {
3762
+ if (Br(h)) {
3763
+ var g = h.children, b = h.value, P = i[b];
3764
+ if (!Ji(P))
3765
+ throw new Zi(b, "function", a);
3766
+ var N = Ae(g, t, r, n, i, o), v = P(N.map(function(C) {
3730
3767
  return C.value;
3731
3768
  }));
3732
3769
  Array.isArray(v) || (v = [v]), s.push.apply(s, v.map(function(C) {
@@ -3736,42 +3773,42 @@ function Ie(e, t, r, n, i, o, a) {
3736
3773
  };
3737
3774
  }));
3738
3775
  }
3739
- if (_r(h)) {
3740
- var A = h.options[f] || h.options.other;
3741
- if (!A)
3742
- throw new Ft(h.value, f, Object.keys(h.options), a);
3743
- s.push.apply(s, Ie(A.value, t, r, n, i));
3776
+ if (Ir(h)) {
3777
+ var T = h.options[f] || h.options.other;
3778
+ if (!T)
3779
+ throw new kt(h.value, f, Object.keys(h.options), a);
3780
+ s.push.apply(s, Ae(T.value, t, r, n, i));
3744
3781
  continue;
3745
3782
  }
3746
- if (xr(h)) {
3747
- var A = h.options["=".concat(f)];
3748
- if (!A) {
3783
+ if (Ar(h)) {
3784
+ var T = h.options["=".concat(f)];
3785
+ if (!T) {
3749
3786
  if (!Intl.PluralRules)
3750
- throw new Le(`Intl.PluralRules is not available in this environment.
3787
+ throw new Ce(`Intl.PluralRules is not available in this environment.
3751
3788
  Try polyfilling it using "@formatjs/intl-pluralrules"
3752
- `, ie.MISSING_INTL_API, a);
3789
+ `, oe.MISSING_INTL_API, a);
3753
3790
  var x = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3754
- A = h.options[x] || h.options.other;
3791
+ T = h.options[x] || h.options.other;
3755
3792
  }
3756
- if (!A)
3757
- throw new Ft(h.value, f, Object.keys(h.options), a);
3758
- s.push.apply(s, Ie(A.value, t, r, n, i, f - (h.offset || 0)));
3793
+ if (!T)
3794
+ throw new kt(h.value, f, Object.keys(h.options), a);
3795
+ s.push.apply(s, Ae(T.value, t, r, n, i, f - (h.offset || 0)));
3759
3796
  continue;
3760
3797
  }
3761
3798
  }
3762
- return Di(s);
3799
+ return Yi(s);
3763
3800
  }
3764
- function $i(e, t) {
3801
+ function qi(e, t) {
3765
3802
  return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3766
3803
  return r[n] = E(E({}, e[n]), t[n] || {}), r;
3767
3804
  }, {})) : e;
3768
3805
  }
3769
- function ki(e, t) {
3806
+ function Ki(e, t) {
3770
3807
  return t ? Object.keys(e).reduce(function(r, n) {
3771
- return r[n] = $i(e[n], t[n]), r;
3808
+ return r[n] = qi(e[n], t[n]), r;
3772
3809
  }, E({}, e)) : e;
3773
3810
  }
3774
- function Ve(e) {
3811
+ function ze(e) {
3775
3812
  return {
3776
3813
  create: function() {
3777
3814
  return {
@@ -3785,39 +3822,39 @@ function Ve(e) {
3785
3822
  }
3786
3823
  };
3787
3824
  }
3788
- function ji(e) {
3825
+ function eo(e) {
3789
3826
  return e === void 0 && (e = {
3790
3827
  number: {},
3791
3828
  dateTime: {},
3792
3829
  pluralRules: {}
3793
3830
  }), {
3794
- getNumberFormat: ke(function() {
3831
+ getNumberFormat: We(function() {
3795
3832
  for (var t, r = [], n = 0; n < arguments.length; n++)
3796
3833
  r[n] = arguments[n];
3797
- return new ((t = Intl.NumberFormat).bind.apply(t, ee([void 0], r, !1)))();
3834
+ return new ((t = Intl.NumberFormat).bind.apply(t, te([void 0], r, !1)))();
3798
3835
  }, {
3799
- cache: Ve(e.number),
3800
- strategy: je.variadic
3836
+ cache: ze(e.number),
3837
+ strategy: Ve.variadic
3801
3838
  }),
3802
- getDateTimeFormat: ke(function() {
3839
+ getDateTimeFormat: We(function() {
3803
3840
  for (var t, r = [], n = 0; n < arguments.length; n++)
3804
3841
  r[n] = arguments[n];
3805
- return new ((t = Intl.DateTimeFormat).bind.apply(t, ee([void 0], r, !1)))();
3842
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, te([void 0], r, !1)))();
3806
3843
  }, {
3807
- cache: Ve(e.dateTime),
3808
- strategy: je.variadic
3844
+ cache: ze(e.dateTime),
3845
+ strategy: Ve.variadic
3809
3846
  }),
3810
- getPluralRules: ke(function() {
3847
+ getPluralRules: We(function() {
3811
3848
  for (var t, r = [], n = 0; n < arguments.length; n++)
3812
3849
  r[n] = arguments[n];
3813
- return new ((t = Intl.PluralRules).bind.apply(t, ee([void 0], r, !1)))();
3850
+ return new ((t = Intl.PluralRules).bind.apply(t, te([void 0], r, !1)))();
3814
3851
  }, {
3815
- cache: Ve(e.pluralRules),
3816
- strategy: je.variadic
3852
+ cache: ze(e.pluralRules),
3853
+ strategy: Ve.variadic
3817
3854
  })
3818
3855
  };
3819
3856
  }
3820
- var Wi = (
3857
+ var to = (
3821
3858
  /** @class */
3822
3859
  function() {
3823
3860
  function e(t, r, n, i) {
@@ -3836,7 +3873,7 @@ var Wi = (
3836
3873
  }, []);
3837
3874
  return h.length <= 1 ? h[0] || "" : h;
3838
3875
  }, this.formatToParts = function(l) {
3839
- return Ie(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3876
+ return Ae(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3840
3877
  }, this.resolvedOptions = function() {
3841
3878
  var l;
3842
3879
  return {
@@ -3849,13 +3886,13 @@ var Wi = (
3849
3886
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3850
3887
  var a = i || {};
3851
3888
  a.formatters;
3852
- var s = wn(a, ["formatters"]);
3889
+ var s = On(a, ["formatters"]);
3853
3890
  this.ast = e.__parse(t, E(E({}, s), { locale: this.resolvedLocale }));
3854
3891
  } else
3855
3892
  this.ast = t;
3856
3893
  if (!Array.isArray(this.ast))
3857
3894
  throw new TypeError("A message must be provided as a String or AST.");
3858
- this.formats = ki(e.formats, n), this.formatters = i && i.formatters || ji(this.formatterCache);
3895
+ this.formats = Ki(e.formats, n), this.formatters = i && i.formatters || eo(this.formatterCache);
3859
3896
  }
3860
3897
  return Object.defineProperty(e, "defaultLocale", {
3861
3898
  get: function() {
@@ -3864,11 +3901,11 @@ var Wi = (
3864
3901
  enumerable: !1,
3865
3902
  configurable: !0
3866
3903
  }), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
3867
- if (!(typeof Intl.Locale > "u")) {
3904
+ if (typeof Intl.Locale != "undefined") {
3868
3905
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3869
3906
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3870
3907
  }
3871
- }, e.__parse = Fi, e.formats = {
3908
+ }, e.__parse = zi, e.formats = {
3872
3909
  number: {
3873
3910
  integer: {
3874
3911
  maximumFractionDigits: 0
@@ -3929,7 +3966,7 @@ var Wi = (
3929
3966
  }, e;
3930
3967
  }()
3931
3968
  );
3932
- function Vi(e, t) {
3969
+ function ro(e, t) {
3933
3970
  if (t == null)
3934
3971
  return;
3935
3972
  if (t in e)
@@ -3950,92 +3987,92 @@ function Vi(e, t) {
3950
3987
  n = void 0;
3951
3988
  return n;
3952
3989
  }
3953
- const V = {}, Xi = (e, t, r) => r && (t in V || (V[t] = {}), e in V[t] || (V[t][e] = r), r), Hr = (e, t) => {
3990
+ const X = {}, no = (e, t, r) => r && (t in X || (X[t] = {}), e in X[t] || (X[t][e] = r), r), Rr = (e, t) => {
3954
3991
  if (t == null)
3955
3992
  return;
3956
- if (t in V && e in V[t])
3957
- return V[t][e];
3958
- const r = Ce(t);
3993
+ if (t in X && e in X[t])
3994
+ return X[t][e];
3995
+ const r = Fe(t);
3959
3996
  for (let n = 0; n < r.length; n++) {
3960
- const i = r[n], o = Zi(i, e);
3997
+ const i = r[n], o = oo(i, e);
3961
3998
  if (o)
3962
- return Xi(e, t, o);
3999
+ return no(e, t, o);
3963
4000
  }
3964
4001
  };
3965
- let ft;
3966
- const ve = Oe({});
3967
- function zi(e) {
3968
- return ft[e] || null;
4002
+ let mt;
4003
+ const ye = Le({});
4004
+ function io(e) {
4005
+ return mt[e] || null;
3969
4006
  }
3970
- function Mr(e) {
3971
- return e in ft;
4007
+ function Ur(e) {
4008
+ return e in mt;
3972
4009
  }
3973
- function Zi(e, t) {
3974
- if (!Mr(e))
4010
+ function oo(e, t) {
4011
+ if (!Ur(e))
3975
4012
  return null;
3976
- const r = zi(e);
3977
- return Vi(r, t);
4013
+ const r = io(e);
4014
+ return ro(r, t);
3978
4015
  }
3979
- function Qi(e) {
4016
+ function ao(e) {
3980
4017
  if (e == null)
3981
4018
  return;
3982
- const t = Ce(e);
4019
+ const t = Fe(e);
3983
4020
  for (let r = 0; r < t.length; r++) {
3984
4021
  const n = t[r];
3985
- if (Mr(n))
4022
+ if (Ur(n))
3986
4023
  return n;
3987
4024
  }
3988
4025
  }
3989
- function Or(e, ...t) {
3990
- delete V[e], ve.update((r) => (r[e] = Kn.all([r[e] || {}, ...t]), r));
4026
+ function Dr(e, ...t) {
4027
+ delete X[e], ye.update((r) => (r[e] = hi.all([r[e] || {}, ...t]), r));
3991
4028
  }
3992
- se(
3993
- [ve],
4029
+ le(
4030
+ [ye],
3994
4031
  ([e]) => Object.keys(e)
3995
4032
  );
3996
- ve.subscribe((e) => ft = e);
3997
- const Ae = {};
3998
- function Yi(e, t) {
3999
- Ae[e].delete(t), Ae[e].size === 0 && delete Ae[e];
4033
+ ye.subscribe((e) => mt = e);
4034
+ const Be = {};
4035
+ function so(e, t) {
4036
+ Be[e].delete(t), Be[e].size === 0 && delete Be[e];
4000
4037
  }
4001
- function Lr(e) {
4002
- return Ae[e];
4038
+ function Gr(e) {
4039
+ return Be[e];
4003
4040
  }
4004
- function Ji(e) {
4005
- return Ce(e).map((t) => {
4006
- const r = Lr(t);
4041
+ function lo(e) {
4042
+ return Fe(e).map((t) => {
4043
+ const r = Gr(t);
4007
4044
  return [t, r ? [...r] : []];
4008
4045
  }).filter(([, t]) => t.length > 0);
4009
4046
  }
4010
- function st(e) {
4011
- return e == null ? !1 : Ce(e).some(
4047
+ function ut(e) {
4048
+ return e == null ? !1 : Fe(e).some(
4012
4049
  (t) => {
4013
4050
  var r;
4014
- return (r = Lr(t)) == null ? void 0 : r.size;
4051
+ return (r = Gr(t)) == null ? void 0 : r.size;
4015
4052
  }
4016
4053
  );
4017
4054
  }
4018
- function qi(e, t) {
4055
+ function uo(e, t) {
4019
4056
  return Promise.all(
4020
- t.map((n) => (Yi(e, n), n().then((i) => i.default || i)))
4021
- ).then((n) => Or(e, ...n));
4022
- }
4023
- const ce = {};
4024
- function Cr(e) {
4025
- if (!st(e))
4026
- return e in ce ? ce[e] : Promise.resolve();
4027
- const t = Ji(e);
4028
- return ce[e] = Promise.all(
4057
+ t.map((n) => (so(e, n), n().then((i) => i.default || i)))
4058
+ ).then((n) => Dr(e, ...n));
4059
+ }
4060
+ const fe = {};
4061
+ function $r(e) {
4062
+ if (!ut(e))
4063
+ return e in fe ? fe[e] : Promise.resolve();
4064
+ const t = lo(e);
4065
+ return fe[e] = Promise.all(
4029
4066
  t.map(
4030
- ([r, n]) => qi(r, n)
4067
+ ([r, n]) => uo(r, n)
4031
4068
  )
4032
4069
  ).then(() => {
4033
- if (st(e))
4034
- return Cr(e);
4035
- delete ce[e];
4036
- }), ce[e];
4070
+ if (ut(e))
4071
+ return $r(e);
4072
+ delete fe[e];
4073
+ }), fe[e];
4037
4074
  }
4038
- const Ki = {
4075
+ const ho = {
4039
4076
  number: {
4040
4077
  scientific: { notation: "scientific" },
4041
4078
  engineering: { notation: "engineering" },
@@ -4064,150 +4101,150 @@ const Ki = {
4064
4101
  timeZoneName: "short"
4065
4102
  }
4066
4103
  }
4067
- }, eo = {
4104
+ }, co = {
4068
4105
  fallbackLocale: null,
4069
4106
  loadingDelay: 200,
4070
- formats: Ki,
4107
+ formats: ho,
4071
4108
  warnOnMissingMessages: !0,
4072
4109
  handleMissingMessage: void 0,
4073
4110
  ignoreTag: !0
4074
- }, to = eo;
4075
- function oe() {
4076
- return to;
4111
+ }, fo = co;
4112
+ function ae() {
4113
+ return fo;
4077
4114
  }
4078
- const Xe = Oe(!1);
4079
- var ro = Object.defineProperty, no = Object.defineProperties, io = Object.getOwnPropertyDescriptors, Rt = Object.getOwnPropertySymbols, oo = Object.prototype.hasOwnProperty, ao = Object.prototype.propertyIsEnumerable, Ut = (e, t, r) => t in e ? ro(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, so = (e, t) => {
4115
+ const Ze = Le(!1);
4116
+ var mo = Object.defineProperty, po = Object.defineProperties, go = Object.getOwnPropertyDescriptors, jt = Object.getOwnPropertySymbols, bo = Object.prototype.hasOwnProperty, vo = Object.prototype.propertyIsEnumerable, Wt = (e, t, r) => t in e ? mo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, yo = (e, t) => {
4080
4117
  for (var r in t)
4081
- oo.call(t, r) && Ut(e, r, t[r]);
4082
- if (Rt)
4083
- for (var r of Rt(t))
4084
- ao.call(t, r) && Ut(e, r, t[r]);
4118
+ bo.call(t, r) && Wt(e, r, t[r]);
4119
+ if (jt)
4120
+ for (var r of jt(t))
4121
+ vo.call(t, r) && Wt(e, r, t[r]);
4085
4122
  return e;
4086
- }, lo = (e, t) => no(e, io(t));
4087
- let lt;
4088
- const Te = Oe(null);
4089
- function Dt(e) {
4123
+ }, _o = (e, t) => po(e, go(t));
4124
+ let ht;
4125
+ const Pe = Le(null);
4126
+ function Vt(e) {
4090
4127
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4091
4128
  }
4092
- function Ce(e, t = oe().fallbackLocale) {
4093
- const r = Dt(e);
4094
- return t ? [.../* @__PURE__ */ new Set([...r, ...Dt(t)])] : r;
4129
+ function Fe(e, t = ae().fallbackLocale) {
4130
+ const r = Vt(e);
4131
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Vt(t)])] : r;
4095
4132
  }
4096
- function Z() {
4097
- return lt ?? void 0;
4133
+ function Q() {
4134
+ return ht != null ? ht : void 0;
4098
4135
  }
4099
- Te.subscribe((e) => {
4100
- lt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4136
+ Pe.subscribe((e) => {
4137
+ ht = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4101
4138
  });
4102
- const uo = (e) => {
4103
- if (e && Qi(e) && st(e)) {
4104
- const { loadingDelay: t } = oe();
4139
+ const xo = (e) => {
4140
+ if (e && ao(e) && ut(e)) {
4141
+ const { loadingDelay: t } = ae();
4105
4142
  let r;
4106
- return typeof window < "u" && Z() != null && t ? r = window.setTimeout(
4107
- () => Xe.set(!0),
4143
+ return typeof window != "undefined" && Q() != null && t ? r = window.setTimeout(
4144
+ () => Ze.set(!0),
4108
4145
  t
4109
- ) : Xe.set(!0), Cr(e).then(() => {
4110
- Te.set(e);
4146
+ ) : Ze.set(!0), $r(e).then(() => {
4147
+ Pe.set(e);
4111
4148
  }).finally(() => {
4112
- clearTimeout(r), Xe.set(!1);
4149
+ clearTimeout(r), Ze.set(!1);
4113
4150
  });
4114
4151
  }
4115
- return Te.set(e);
4116
- }, le = lo(so({}, Te), {
4117
- set: uo
4118
- }), Fe = (e) => {
4152
+ return Pe.set(e);
4153
+ }, ue = _o(yo({}, Pe), {
4154
+ set: xo
4155
+ }), Re = (e) => {
4119
4156
  const t = /* @__PURE__ */ Object.create(null);
4120
4157
  return (n) => {
4121
4158
  const i = JSON.stringify(n);
4122
4159
  return i in t ? t[i] : t[i] = e(n);
4123
4160
  };
4124
4161
  };
4125
- var ho = Object.defineProperty, Pe = Object.getOwnPropertySymbols, Fr = Object.prototype.hasOwnProperty, Rr = Object.prototype.propertyIsEnumerable, Gt = (e, t, r) => t in e ? ho(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, dt = (e, t) => {
4162
+ var wo = Object.defineProperty, He = Object.getOwnPropertySymbols, kr = Object.prototype.hasOwnProperty, jr = Object.prototype.propertyIsEnumerable, Xt = (e, t, r) => t in e ? wo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, pt = (e, t) => {
4126
4163
  for (var r in t || (t = {}))
4127
- Fr.call(t, r) && Gt(e, r, t[r]);
4128
- if (Pe)
4129
- for (var r of Pe(t))
4130
- Rr.call(t, r) && Gt(e, r, t[r]);
4164
+ kr.call(t, r) && Xt(e, r, t[r]);
4165
+ if (He)
4166
+ for (var r of He(t))
4167
+ jr.call(t, r) && Xt(e, r, t[r]);
4131
4168
  return e;
4132
- }, ue = (e, t) => {
4169
+ }, he = (e, t) => {
4133
4170
  var r = {};
4134
4171
  for (var n in e)
4135
- Fr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4136
- if (e != null && Pe)
4137
- for (var n of Pe(e))
4138
- t.indexOf(n) < 0 && Rr.call(e, n) && (r[n] = e[n]);
4172
+ kr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4173
+ if (e != null && He)
4174
+ for (var n of He(e))
4175
+ t.indexOf(n) < 0 && jr.call(e, n) && (r[n] = e[n]);
4139
4176
  return r;
4140
4177
  };
4141
- const ge = (e, t) => {
4142
- const { formats: r } = oe();
4178
+ const be = (e, t) => {
4179
+ const { formats: r } = ae();
4143
4180
  if (e in r && t in r[e])
4144
4181
  return r[e][t];
4145
4182
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4146
- }, co = Fe(
4183
+ }, Eo = Re(
4147
4184
  (e) => {
4148
- var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
4185
+ var t = e, { locale: r, format: n } = t, i = he(t, ["locale", "format"]);
4149
4186
  if (r == null)
4150
4187
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4151
- return n && (i = ge("number", n)), new Intl.NumberFormat(r, i);
4188
+ return n && (i = be("number", n)), new Intl.NumberFormat(r, i);
4152
4189
  }
4153
- ), fo = Fe(
4190
+ ), No = Re(
4154
4191
  (e) => {
4155
- var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
4192
+ var t = e, { locale: r, format: n } = t, i = he(t, ["locale", "format"]);
4156
4193
  if (r == null)
4157
4194
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4158
- return n ? i = ge("date", n) : Object.keys(i).length === 0 && (i = ge("date", "short")), new Intl.DateTimeFormat(r, i);
4195
+ return n ? i = be("date", n) : Object.keys(i).length === 0 && (i = be("date", "short")), new Intl.DateTimeFormat(r, i);
4159
4196
  }
4160
- ), mo = Fe(
4197
+ ), So = Re(
4161
4198
  (e) => {
4162
- var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
4199
+ var t = e, { locale: r, format: n } = t, i = he(t, ["locale", "format"]);
4163
4200
  if (r == null)
4164
4201
  throw new Error(
4165
4202
  '[svelte-i18n] A "locale" must be set to format time values'
4166
4203
  );
4167
- return n ? i = ge("time", n) : Object.keys(i).length === 0 && (i = ge("time", "short")), new Intl.DateTimeFormat(r, i);
4204
+ return n ? i = be("time", n) : Object.keys(i).length === 0 && (i = be("time", "short")), new Intl.DateTimeFormat(r, i);
4168
4205
  }
4169
- ), po = (e = {}) => {
4206
+ ), Io = (e = {}) => {
4170
4207
  var t = e, {
4171
- locale: r = Z()
4172
- } = t, n = ue(t, [
4208
+ locale: r = Q()
4209
+ } = t, n = he(t, [
4173
4210
  "locale"
4174
4211
  ]);
4175
- return co(dt({ locale: r }, n));
4176
- }, go = (e = {}) => {
4212
+ return Eo(pt({ locale: r }, n));
4213
+ }, Ao = (e = {}) => {
4177
4214
  var t = e, {
4178
- locale: r = Z()
4179
- } = t, n = ue(t, [
4215
+ locale: r = Q()
4216
+ } = t, n = he(t, [
4180
4217
  "locale"
4181
4218
  ]);
4182
- return fo(dt({ locale: r }, n));
4183
- }, bo = (e = {}) => {
4219
+ return No(pt({ locale: r }, n));
4220
+ }, Bo = (e = {}) => {
4184
4221
  var t = e, {
4185
- locale: r = Z()
4186
- } = t, n = ue(t, [
4222
+ locale: r = Q()
4223
+ } = t, n = he(t, [
4187
4224
  "locale"
4188
4225
  ]);
4189
- return mo(dt({ locale: r }, n));
4190
- }, vo = Fe(
4226
+ return So(pt({ locale: r }, n));
4227
+ }, To = Re(
4191
4228
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4192
- (e, t = Z()) => new Wi(e, t, oe().formats, {
4193
- ignoreTag: oe().ignoreTag
4229
+ (e, t = Q()) => new to(e, t, ae().formats, {
4230
+ ignoreTag: ae().ignoreTag
4194
4231
  })
4195
- ), yo = (e, t = {}) => {
4232
+ ), Po = (e, t = {}) => {
4196
4233
  var r, n, i, o;
4197
4234
  let a = t;
4198
4235
  typeof e == "object" && (a = e, e = a.id);
4199
4236
  const {
4200
4237
  values: s,
4201
- locale: l = Z(),
4238
+ locale: l = Q(),
4202
4239
  default: u
4203
4240
  } = a;
4204
4241
  if (l == null)
4205
4242
  throw new Error(
4206
4243
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4207
4244
  );
4208
- let h = Hr(e, l);
4245
+ let h = Rr(e, l);
4209
4246
  if (!h)
4210
- 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;
4247
+ h = (o = (i = (n = (r = ae()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4211
4248
  else if (typeof h != "string")
4212
4249
  return console.warn(
4213
4250
  `[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.`
@@ -4216,7 +4253,7 @@ const ge = (e, t) => {
4216
4253
  return h;
4217
4254
  let d = h;
4218
4255
  try {
4219
- d = vo(h, l).format(s);
4256
+ d = To(h, l).format(s);
4220
4257
  } catch (f) {
4221
4258
  f instanceof Error && console.warn(
4222
4259
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4224,20 +4261,20 @@ const ge = (e, t) => {
4224
4261
  );
4225
4262
  }
4226
4263
  return d;
4227
- }, _o = (e, t) => bo(t).format(e), xo = (e, t) => go(t).format(e), wo = (e, t) => po(t).format(e), Eo = (e, t = Z()) => Hr(e, t), No = se([le, ve], () => yo);
4228
- se([le], () => _o);
4229
- se([le], () => xo);
4230
- se([le], () => wo);
4231
- se([le, ve], () => Eo);
4232
- window.emWidgets = { topic: Fn };
4233
- const $t = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4234
- function kt(e, t) {
4235
- Or(e, t);
4236
- }
4237
- function So(e) {
4238
- le.set(e);
4239
- }
4240
- const jt = {
4264
+ }, Ho = (e, t) => Bo(t).format(e), Mo = (e, t) => Ao(t).format(e), Oo = (e, t) => Io(t).format(e), Lo = (e, t = Q()) => Rr(e, t), Co = le([ue, ye], () => Po);
4265
+ le([ue], () => Ho);
4266
+ le([ue], () => Mo);
4267
+ le([ue], () => Oo);
4268
+ le([ue, ye], () => Lo);
4269
+ window.emWidgets = { topic: zn };
4270
+ const zt = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4271
+ function Zt(e, t) {
4272
+ Dr(e, t);
4273
+ }
4274
+ function Fo(e) {
4275
+ ue.set(e);
4276
+ }
4277
+ const Qt = {
4241
4278
  en: {
4242
4279
  secondaryMenuTitle: "Categories"
4243
4280
  },
@@ -4272,34 +4309,34 @@ const jt = {
4272
4309
  secondaryMenuTitle: "Categories"
4273
4310
  }
4274
4311
  };
4275
- function Io(e) {
4276
- rn(e, "svelte-4cf7h3", '.NavigationWrapper{background:var(--emw--color-gray-50, #F9F8F8);width:100%;height:100px}.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, #D0046C);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, #D0046C))}.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, #D0046C));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}');
4312
+ function Ro(e) {
4313
+ mn(e, "svelte-4cf7h3", '.NavigationWrapper{background:var(--emw--color-gray-50, #F9F8F8);width:100%;height:100px}.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, #D0046C);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, #D0046C))}.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, #D0046C));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}');
4277
4314
  }
4278
- function Wt(e, t, r) {
4315
+ function Yt(e, t, r) {
4279
4316
  const n = e.slice();
4280
4317
  return n[44] = t[r], n[46] = r, n;
4281
4318
  }
4282
- function Vt(e, t, r) {
4319
+ function Jt(e, t, r) {
4283
4320
  const n = e.slice();
4284
4321
  return n[44] = t[r], n;
4285
4322
  }
4286
- const Ao = (e) => ({}), Xt = (e) => ({});
4287
- function zt(e) {
4323
+ const Uo = (e) => ({}), qt = (e) => ({});
4324
+ function Kt(e) {
4288
4325
  let t, r, n, i, o, a, s, l = !/*navigationBarSimple*/
4289
- e[6] && Zt(e), u = Be(
4326
+ e[6] && er(e), u = Te(
4290
4327
  /*primaryMenuSpliced*/
4291
4328
  e[7]
4292
4329
  ), h = [];
4293
4330
  for (let f = 0; f < u.length; f += 1)
4294
- h[f] = qt(Wt(e, u, f));
4331
+ h[f] = ir(Yt(e, u, f));
4295
4332
  let d = !/*navigationBarSimple*/
4296
- e[6] && Kt(e);
4333
+ e[6] && or(e);
4297
4334
  return {
4298
4335
  c() {
4299
- t = I("div"), l && l.c(), r = G(), n = I("div");
4336
+ t = A("div"), l && l.c(), r = $(), n = A("div");
4300
4337
  for (let f = 0; f < h.length; f += 1)
4301
4338
  h[f].c();
4302
- i = G(), d && d.c(), c(n, "class", o = "NavigationBar " + /*navigationWindowOpened*/
4339
+ i = $(), d && d.c(), c(n, "class", o = "NavigationBar " + /*navigationWindowOpened*/
4303
4340
  (e[4] ? "NavigationBarOpened" : "") + " " + /*navigationBarSimple*/
4304
4341
  (e[6] ? "NavigationBarSimple" : "")), c(n, "part", a = "NavigationBar " + /*navigationWindowOpened*/
4305
4342
  (e[4] ? "NavigationBarOpened" : "") + " " + /*navigationBarSimple*/
@@ -4313,26 +4350,26 @@ function zt(e) {
4313
4350
  },
4314
4351
  p(f, p) {
4315
4352
  if (/*navigationBarSimple*/
4316
- f[6] ? l && (or(), me(l, 1, 1, () => {
4353
+ f[6] ? l && (cr(), pe(l, 1, 1, () => {
4317
4354
  l = null;
4318
- }), ar()) : l ? (l.p(f, p), p[0] & /*navigationBarSimple*/
4319
- 64 && X(l, 1)) : (l = Zt(f), l.c(), X(l, 1), l.m(t, r)), p[0] & /*activeMenuItemId, primaryMenuSpliced, triggerNavigation*/
4355
+ }), fr()) : l ? (l.p(f, p), p[0] & /*navigationBarSimple*/
4356
+ 64 && z(l, 1)) : (l = er(f), l.c(), z(l, 1), l.m(t, r)), p[0] & /*activeMenuItemId, primaryMenuSpliced, triggerNavigation*/
4320
4357
  32928) {
4321
- u = Be(
4358
+ u = Te(
4322
4359
  /*primaryMenuSpliced*/
4323
4360
  f[7]
4324
4361
  );
4325
4362
  let g;
4326
4363
  for (g = 0; g < u.length; g += 1) {
4327
- const b = Wt(f, u, g);
4328
- h[g] ? h[g].p(b, p) : (h[g] = qt(b), h[g].c(), h[g].m(n, i));
4364
+ const b = Yt(f, u, g);
4365
+ h[g] ? h[g].p(b, p) : (h[g] = ir(b), h[g].c(), h[g].m(n, i));
4329
4366
  }
4330
4367
  for (; g < h.length; g += 1)
4331
4368
  h[g].d(1);
4332
4369
  h.length = u.length;
4333
4370
  }
4334
4371
  /*navigationBarSimple*/
4335
- f[6] ? d && (d.d(1), d = null) : d ? d.p(f, p) : (d = Kt(f), d.c(), d.m(n, null)), (!s || p[0] & /*navigationWindowOpened, navigationBarSimple*/
4372
+ f[6] ? d && (d.d(1), d = null) : d ? d.p(f, p) : (d = or(f), d.c(), d.m(n, null)), (!s || p[0] & /*navigationWindowOpened, navigationBarSimple*/
4336
4373
  80 && o !== (o = "NavigationBar " + /*navigationWindowOpened*/
4337
4374
  (f[4] ? "NavigationBarOpened" : "") + " " + /*navigationBarSimple*/
4338
4375
  (f[6] ? "NavigationBarSimple" : ""))) && c(n, "class", o), (!s || p[0] & /*navigationWindowOpened, navigationBarSimple*/
@@ -4341,17 +4378,17 @@ function zt(e) {
4341
4378
  (f[6] ? "NavigationBarSimple" : ""))) && c(n, "part", a);
4342
4379
  },
4343
4380
  i(f) {
4344
- s || (X(l), s = !0);
4381
+ s || (z(l), s = !0);
4345
4382
  },
4346
4383
  o(f) {
4347
- me(l), s = !1;
4384
+ pe(l), s = !1;
4348
4385
  },
4349
4386
  d(f) {
4350
- f && O(t), l && l.d(), ir(h, f), d && d.d();
4387
+ f && O(t), l && l.d(), hr(h, f), d && d.d();
4351
4388
  }
4352
4389
  };
4353
4390
  }
4354
- function Zt(e) {
4391
+ function er(e) {
4355
4392
  let t, r, n, i, o = (
4356
4393
  /*secondarymenutitle*/
4357
4394
  (e[0] || /*$_*/
@@ -4360,91 +4397,91 @@ function Zt(e) {
4360
4397
  const p = (
4361
4398
  /*#slots*/
4362
4399
  e[26].close
4363
- ), g = qr(
4400
+ ), g = hn(
4364
4401
  p,
4365
4402
  e,
4366
4403
  /*$$scope*/
4367
4404
  e[25],
4368
- Xt
4369
- ), b = g || Bo();
4370
- let B = Be(
4405
+ qt
4406
+ ), b = g || Do();
4407
+ let P = Te(
4371
4408
  /*secondaryMenu*/
4372
4409
  e[8]
4373
4410
  ), N = [];
4374
- for (let v = 0; v < B.length; v += 1)
4375
- N[v] = Yt(Vt(e, B, v));
4411
+ for (let v = 0; v < P.length; v += 1)
4412
+ N[v] = rr(Jt(e, P, v));
4376
4413
  return {
4377
4414
  c() {
4378
- t = I("div"), r = I("span"), b.c(), n = G(), i = I("h3"), a = be(o), s = G(), l = I("div");
4415
+ t = A("div"), r = A("span"), b.c(), n = $(), i = A("h3"), a = ve(o), s = $(), l = A("div");
4379
4416
  for (let v = 0; v < N.length; v += 1)
4380
4417
  N[v].c();
4381
4418
  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*/
4382
4419
  (e[4] ? "NavigationWindowOpened" : ""));
4383
4420
  },
4384
- m(v, A) {
4385
- L(v, t, A), y(t, r), b.m(r, null), y(t, n), y(t, i), y(i, a), y(t, s), y(t, l);
4421
+ m(v, T) {
4422
+ L(v, t, T), y(t, r), b.m(r, null), y(t, n), y(t, i), y(i, a), y(t, s), y(t, l);
4386
4423
  for (let x = 0; x < N.length; x += 1)
4387
4424
  N[x] && N[x].m(l, null);
4388
- h = !0, d || (f = He(
4425
+ h = !0, d || (f = Me(
4389
4426
  r,
4390
4427
  "click",
4391
4428
  /*navigationWindowToggle*/
4392
4429
  e[14]
4393
4430
  ), d = !0);
4394
4431
  },
4395
- p(v, A) {
4396
- if (g && g.p && (!h || A[0] & /*$$scope*/
4397
- 33554432) && en(
4432
+ p(v, T) {
4433
+ if (g && g.p && (!h || T[0] & /*$$scope*/
4434
+ 33554432) && fn(
4398
4435
  g,
4399
4436
  p,
4400
4437
  v,
4401
4438
  /*$$scope*/
4402
4439
  v[25],
4403
- h ? Kr(
4440
+ h ? cn(
4404
4441
  p,
4405
4442
  /*$$scope*/
4406
4443
  v[25],
4407
- A,
4408
- Ao
4409
- ) : tn(
4444
+ T,
4445
+ Uo
4446
+ ) : dn(
4410
4447
  /*$$scope*/
4411
4448
  v[25]
4412
4449
  ),
4413
- Xt
4414
- ), (!h || A[0] & /*secondarymenutitle, $_*/
4450
+ qt
4451
+ ), (!h || T[0] & /*secondarymenutitle, $_*/
4415
4452
  4097) && o !== (o = /*secondarymenutitle*/
4416
4453
  (v[0] || /*$_*/
4417
- v[12]("secondaryMenuTitle")) + "") && ht(a, o), A[0] & /*activeMenuItemId, secondaryMenu, triggerNavigation*/
4454
+ v[12]("secondaryMenuTitle")) + "") && ft(a, o), T[0] & /*activeMenuItemId, secondaryMenu, triggerNavigation*/
4418
4455
  33056) {
4419
- B = Be(
4456
+ P = Te(
4420
4457
  /*secondaryMenu*/
4421
4458
  v[8]
4422
4459
  );
4423
4460
  let x;
4424
- for (x = 0; x < B.length; x += 1) {
4425
- const C = Vt(v, B, x);
4426
- N[x] ? N[x].p(C, A) : (N[x] = Yt(C), N[x].c(), N[x].m(l, null));
4461
+ for (x = 0; x < P.length; x += 1) {
4462
+ const C = Jt(v, P, x);
4463
+ N[x] ? N[x].p(C, T) : (N[x] = rr(C), N[x].c(), N[x].m(l, null));
4427
4464
  }
4428
4465
  for (; x < N.length; x += 1)
4429
4466
  N[x].d(1);
4430
- N.length = B.length;
4467
+ N.length = P.length;
4431
4468
  }
4432
- (!h || A[0] & /*navigationWindowOpened*/
4469
+ (!h || T[0] & /*navigationWindowOpened*/
4433
4470
  16 && u !== (u = "NavigationWindow " + /*navigationWindowOpened*/
4434
4471
  (v[4] ? "NavigationWindowOpened" : ""))) && c(t, "class", u);
4435
4472
  },
4436
4473
  i(v) {
4437
- h || (X(b, v), h = !0);
4474
+ h || (z(b, v), h = !0);
4438
4475
  },
4439
4476
  o(v) {
4440
- me(b, v), h = !1;
4477
+ pe(b, v), h = !1;
4441
4478
  },
4442
4479
  d(v) {
4443
- v && O(t), b.d(v), ir(N, v), d = !1, f();
4480
+ v && O(t), b.d(v), hr(N, v), d = !1, f();
4444
4481
  }
4445
4482
  };
4446
4483
  }
4447
- function Bo(e) {
4484
+ function Do(e) {
4448
4485
  let t, r;
4449
4486
  return {
4450
4487
  c() {
@@ -4453,17 +4490,17 @@ function Bo(e) {
4453
4490
  m(n, i) {
4454
4491
  L(n, t, i), y(t, r);
4455
4492
  },
4456
- p: R,
4493
+ p: D,
4457
4494
  d(n) {
4458
4495
  n && O(t);
4459
4496
  }
4460
4497
  };
4461
4498
  }
4462
- function Qt(e) {
4499
+ function tr(e) {
4463
4500
  let t, r, n, i;
4464
4501
  return {
4465
4502
  c() {
4466
- t = I("div"), r = I("img"), c(r, "class", "NavigationSecondaryItemImg"), c(r, "part", "NavigationSecondaryItemImg"), te(r.src, n = /*item*/
4503
+ t = A("div"), r = A("img"), c(r, "class", "NavigationSecondaryItemImg"), c(r, "part", "NavigationSecondaryItemImg"), re(r.src, n = /*item*/
4467
4504
  e[44].img) || c(r, "src", n), c(r, "alt", i = /*item*/
4468
4505
  e[44].label), c(t, "class", "NavigationSecondaryItemImgWrapper"), c(t, "part", "NavigationSecondaryItemImgWrapper");
4469
4506
  },
@@ -4472,7 +4509,7 @@ function Qt(e) {
4472
4509
  },
4473
4510
  p(o, a) {
4474
4511
  a[0] & /*secondaryMenu*/
4475
- 256 && !te(r.src, n = /*item*/
4512
+ 256 && !re(r.src, n = /*item*/
4476
4513
  o[44].img) && c(r, "src", n), a[0] & /*secondaryMenu*/
4477
4514
  256 && i !== (i = /*item*/
4478
4515
  o[44].label) && c(r, "alt", i);
@@ -4482,13 +4519,13 @@ function Qt(e) {
4482
4519
  }
4483
4520
  };
4484
4521
  }
4485
- function Yt(e) {
4522
+ function rr(e) {
4486
4523
  let t, r, n, i = (
4487
4524
  /*item*/
4488
4525
  e[44].label + ""
4489
4526
  ), o, a, s, l, u, h = (
4490
4527
  /*item*/
4491
- e[44].img && Qt(e)
4528
+ e[44].img && tr(e)
4492
4529
  );
4493
4530
  function d() {
4494
4531
  return (
@@ -4501,18 +4538,18 @@ function Yt(e) {
4501
4538
  }
4502
4539
  return {
4503
4540
  c() {
4504
- t = I("div"), h && h.c(), r = G(), n = I("p"), o = be(i), a = G(), c(n, "class", "NavigationSecondaryItemLabel"), c(n, "part", "NavigationSecondaryItemLabel"), c(t, "class", s = "NavigationSecondaryItemAnchor " + /*activeMenuItemId*/
4541
+ t = A("div"), h && h.c(), r = $(), n = A("p"), o = ve(i), a = $(), c(n, "class", "NavigationSecondaryItemLabel"), c(n, "part", "NavigationSecondaryItemLabel"), c(t, "class", s = "NavigationSecondaryItemAnchor " + /*activeMenuItemId*/
4505
4542
  (e[5] === /*item*/
4506
4543
  e[44].id ? "ActiveItem" : ""));
4507
4544
  },
4508
4545
  m(f, p) {
4509
- L(f, t, p), h && h.m(t, null), y(t, r), y(t, n), y(n, o), y(t, a), l || (u = He(t, "click", d), l = !0);
4546
+ L(f, t, p), h && h.m(t, null), y(t, r), y(t, n), y(n, o), y(t, a), l || (u = Me(t, "click", d), l = !0);
4510
4547
  },
4511
4548
  p(f, p) {
4512
4549
  e = f, /*item*/
4513
- e[44].img ? h ? h.p(e, p) : (h = Qt(e), h.c(), h.m(t, r)) : h && (h.d(1), h = null), p[0] & /*secondaryMenu*/
4550
+ e[44].img ? h ? h.p(e, p) : (h = tr(e), h.c(), h.m(t, r)) : h && (h.d(1), h = null), p[0] & /*secondaryMenu*/
4514
4551
  256 && i !== (i = /*item*/
4515
- e[44].label + "") && ht(o, i), p[0] & /*activeMenuItemId, secondaryMenu*/
4552
+ e[44].label + "") && ft(o, i), p[0] & /*activeMenuItemId, secondaryMenu*/
4516
4553
  288 && s !== (s = "NavigationSecondaryItemAnchor " + /*activeMenuItemId*/
4517
4554
  (e[5] === /*item*/
4518
4555
  e[44].id ? "ActiveItem" : "")) && c(t, "class", s);
@@ -4522,11 +4559,11 @@ function Yt(e) {
4522
4559
  }
4523
4560
  };
4524
4561
  }
4525
- function Jt(e) {
4562
+ function nr(e) {
4526
4563
  let t, r, n, i;
4527
4564
  return {
4528
4565
  c() {
4529
- t = I("div"), r = I("img"), c(r, "class", "NavigationPrimaryItemImg"), te(r.src, n = /*item*/
4566
+ t = A("div"), r = A("img"), c(r, "class", "NavigationPrimaryItemImg"), re(r.src, n = /*item*/
4530
4567
  e[44].img) || c(r, "src", n), c(r, "alt", i = /*item*/
4531
4568
  e[44].label), c(t, "class", "NavigationPrimaryItemImgWrapper");
4532
4569
  },
@@ -4535,7 +4572,7 @@ function Jt(e) {
4535
4572
  },
4536
4573
  p(o, a) {
4537
4574
  a[0] & /*primaryMenuSpliced*/
4538
- 128 && !te(r.src, n = /*item*/
4575
+ 128 && !re(r.src, n = /*item*/
4539
4576
  o[44].img) && c(r, "src", n), a[0] & /*primaryMenuSpliced*/
4540
4577
  128 && i !== (i = /*item*/
4541
4578
  o[44].label) && c(r, "alt", i);
@@ -4545,13 +4582,13 @@ function Jt(e) {
4545
4582
  }
4546
4583
  };
4547
4584
  }
4548
- function qt(e) {
4585
+ function ir(e) {
4549
4586
  let t, r, n, i = (
4550
4587
  /*item*/
4551
4588
  e[44].label + ""
4552
4589
  ), o, a, s, l, u = (
4553
4590
  /*item*/
4554
- e[44].img && Jt(e)
4591
+ e[44].img && nr(e)
4555
4592
  );
4556
4593
  function h() {
4557
4594
  return (
@@ -4564,19 +4601,19 @@ function qt(e) {
4564
4601
  }
4565
4602
  return {
4566
4603
  c() {
4567
- t = I("div"), u && u.c(), r = G(), n = I("p"), o = be(i), c(n, "class", "NavigationPrimaryItemLabel"), c(t, "class", a = "NavigationPrimaryItemAnchor NavItem" + /*i*/
4604
+ t = A("div"), u && u.c(), r = $(), n = A("p"), o = ve(i), c(n, "class", "NavigationPrimaryItemLabel"), c(t, "class", a = "NavigationPrimaryItemAnchor NavItem" + /*i*/
4568
4605
  e[46] + " " + /*activeMenuItemId*/
4569
4606
  (e[5] === /*item*/
4570
4607
  e[44].id ? "ActiveItem" : ""));
4571
4608
  },
4572
4609
  m(d, f) {
4573
- L(d, t, f), u && u.m(t, null), y(t, r), y(t, n), y(n, o), s || (l = He(t, "click", h), s = !0);
4610
+ L(d, t, f), u && u.m(t, null), y(t, r), y(t, n), y(n, o), s || (l = Me(t, "click", h), s = !0);
4574
4611
  },
4575
4612
  p(d, f) {
4576
4613
  e = d, /*item*/
4577
- e[44].img ? u ? u.p(e, f) : (u = Jt(e), u.c(), u.m(t, r)) : u && (u.d(1), u = null), f[0] & /*primaryMenuSpliced*/
4614
+ e[44].img ? u ? u.p(e, f) : (u = nr(e), u.c(), u.m(t, r)) : u && (u.d(1), u = null), f[0] & /*primaryMenuSpliced*/
4578
4615
  128 && i !== (i = /*item*/
4579
- e[44].label + "") && ht(o, i), f[0] & /*activeMenuItemId, primaryMenuSpliced*/
4616
+ e[44].label + "") && ft(o, i), f[0] & /*activeMenuItemId, primaryMenuSpliced*/
4580
4617
  160 && a !== (a = "NavigationPrimaryItemAnchor NavItem" + /*i*/
4581
4618
  e[46] + " " + /*activeMenuItemId*/
4582
4619
  (e[5] === /*item*/
@@ -4587,22 +4624,22 @@ function qt(e) {
4587
4624
  }
4588
4625
  };
4589
4626
  }
4590
- function Kt(e) {
4627
+ function or(e) {
4591
4628
  let t, r, n, i, o;
4592
4629
  function a(u, h) {
4593
4630
  return (
4594
4631
  /*isFlowerMenu*/
4595
- u[11] ? To : Po
4632
+ u[11] ? Go : $o
4596
4633
  );
4597
4634
  }
4598
4635
  let s = a(e), l = s(e);
4599
4636
  return {
4600
4637
  c() {
4601
- t = I("button"), r = I("span"), l.c(), c(r, "class", "NavigationButtonSpan"), c(r, "part", "NavigationButtonSpan"), c(t, "class", n = "NavigationButton " + /*navigationWindowOpened*/
4638
+ t = A("button"), r = A("span"), l.c(), c(r, "class", "NavigationButtonSpan"), c(r, "part", "NavigationButtonSpan"), c(t, "class", n = "NavigationButton " + /*navigationWindowOpened*/
4602
4639
  (e[4] ? "NavigationButtonActive" : ""));
4603
4640
  },
4604
4641
  m(u, h) {
4605
- L(u, t, h), y(t, r), l.m(r, null), i || (o = He(
4642
+ L(u, t, h), y(t, r), l.m(r, null), i || (o = Me(
4606
4643
  t,
4607
4644
  "click",
4608
4645
  /*navigationWindowToggle*/
@@ -4619,11 +4656,11 @@ function Kt(e) {
4619
4656
  }
4620
4657
  };
4621
4658
  }
4622
- function To(e) {
4659
+ function Go(e) {
4623
4660
  let t, r, n, i, o, a, s;
4624
4661
  return {
4625
4662
  c() {
4626
- t = I("div"), r = I("span"), n = G(), i = I("span"), o = G(), a = I("span"), c(r, "class", "middleIconLine"), c(i, "class", "middleIconLine"), c(a, "class", "middleIconLine"), c(t, "class", s = "labelMiddleIcon " + /*navigationWindowOpened*/
4663
+ t = A("div"), r = A("span"), n = $(), i = A("span"), o = $(), a = A("span"), c(r, "class", "middleIconLine"), c(i, "class", "middleIconLine"), c(a, "class", "middleIconLine"), c(t, "class", s = "labelMiddleIcon " + /*navigationWindowOpened*/
4627
4664
  (e[4] ? "labelMiddleIconActive" : ""));
4628
4665
  },
4629
4666
  m(l, u) {
@@ -4639,18 +4676,18 @@ function To(e) {
4639
4676
  }
4640
4677
  };
4641
4678
  }
4642
- function Po(e) {
4679
+ function $o(e) {
4643
4680
  let t;
4644
4681
  function r(o, a) {
4645
4682
  return (
4646
4683
  /*imageIconUrl*/
4647
- o[9] ? Mo : Ho
4684
+ o[9] ? jo : ko
4648
4685
  );
4649
4686
  }
4650
4687
  let n = r(e), i = n(e);
4651
4688
  return {
4652
4689
  c() {
4653
- i.c(), t = an();
4690
+ i.c(), t = bn();
4654
4691
  },
4655
4692
  m(o, a) {
4656
4693
  i.m(o, a), L(o, t, a);
@@ -4663,26 +4700,26 @@ function Po(e) {
4663
4700
  }
4664
4701
  };
4665
4702
  }
4666
- function Ho(e) {
4703
+ function ko(e) {
4667
4704
  let t, r, n, i, o, a, s, l, u, h, d, f, p, g;
4668
4705
  return {
4669
4706
  c() {
4670
4707
  t = H("svg"), r = H("g"), n = H("g"), i = H("rect"), o = H("rect"), a = H("g"), s = H("rect"), l = H("rect"), u = H("g"), h = H("rect"), d = H("rect"), f = H("g"), p = H("rect"), g = H("rect"), c(i, "class", "b"), c(i, "part", "b"), c(i, "width", "10"), c(i, "height", "10"), c(i, "rx", "2"), c(o, "class", "c"), c(o, "part", "c"), c(o, "x", "0.5"), c(o, "y", "0.5"), c(o, "width", "9"), c(o, "height", "9"), c(o, "rx", "1.5"), c(n, "class", "a"), c(n, "part", "a"), c(n, "transform", "translate(150 514)"), c(s, "class", "b"), c(s, "part", "b"), c(s, "width", "10"), c(s, "height", "10"), c(s, "rx", "2"), c(l, "class", "c"), c(l, "part", "c"), c(l, "x", "0.5"), c(l, "y", "0.5"), c(l, "width", "9"), c(l, "height", "9"), c(l, "rx", "1.5"), c(a, "class", "a"), c(a, "part", "a"), c(a, "transform", "translate(161 514)"), c(h, "class", "b"), c(h, "part", "b"), c(h, "width", "10"), c(h, "height", "10"), c(h, "rx", "2"), c(d, "class", "c"), c(d, "part", "c"), c(d, "x", "0.5"), c(d, "y", "0.5"), c(d, "width", "9"), c(d, "height", "9"), c(d, "rx", "1.5"), c(u, "class", "a"), c(u, "part", "a"), c(u, "transform", "translate(161 525)"), c(p, "class", "b"), c(p, "part", "b"), c(p, "width", "10"), c(p, "height", "10"), c(p, "rx", "2"), c(g, "class", "c"), c(g, "part", "c"), c(g, "x", "0.5"), c(g, "y", "0.5"), c(g, "width", "9"), c(g, "height", "9"), c(g, "rx", "1.5"), c(f, "class", "a"), c(f, "part", "a"), c(f, "transform", "translate(150 525)"), c(r, "transform", "translate(-150 -514)"), c(t, "class", "middleIcon"), c(t, "xmlns", "http://www.w3.org/2000/svg"), c(t, "width", "21"), c(t, "height", "21"), c(t, "viewBox", "0 0 21 21");
4671
4708
  },
4672
- m(b, B) {
4673
- L(b, 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, p), y(f, g);
4709
+ m(b, P) {
4710
+ L(b, t, P), y(t, r), y(r, n), y(n, i), y(n, o), y(r, a), y(a, s), y(a, l), y(r, u), y(u, h), y(u, d), y(r, f), y(f, p), y(f, g);
4674
4711
  },
4675
- p: R,
4712
+ p: D,
4676
4713
  d(b) {
4677
4714
  b && O(t);
4678
4715
  }
4679
4716
  };
4680
4717
  }
4681
- function Mo(e) {
4718
+ function jo(e) {
4682
4719
  let t, r;
4683
4720
  return {
4684
4721
  c() {
4685
- t = I("img"), te(t.src, r = /*imageIconUrl*/
4722
+ t = A("img"), re(t.src, r = /*imageIconUrl*/
4686
4723
  e[9]) || c(t, "src", r), c(t, "class", "middleIcon"), c(
4687
4724
  t,
4688
4725
  "alt",
@@ -4695,7 +4732,7 @@ function Mo(e) {
4695
4732
  },
4696
4733
  p(n, i) {
4697
4734
  i[0] & /*imageIconUrl*/
4698
- 512 && !te(t.src, r = /*imageIconUrl*/
4735
+ 512 && !re(t.src, r = /*imageIconUrl*/
4699
4736
  n[9]) && c(t, "src", r), i[0] & /*imageIconUrl*/
4700
4737
  512 && c(
4701
4738
  t,
@@ -4709,14 +4746,14 @@ function Mo(e) {
4709
4746
  }
4710
4747
  };
4711
4748
  }
4712
- function Oo(e) {
4749
+ function Wo(e) {
4713
4750
  let t, r, n, i = !/*isLoading*/
4714
4751
  e[1] && /*isMobile*/
4715
4752
  e[13] && /*showNavigation*/
4716
- e[3] && zt(e);
4753
+ e[3] && Kt(e);
4717
4754
  return {
4718
4755
  c() {
4719
- t = I("div"), i && i.c(), c(t, "class", r = /*isFlowerMenu*/
4756
+ t = A("div"), i && i.c(), c(t, "class", r = /*isFlowerMenu*/
4720
4757
  (e[11] ? "FlowerMenu" : "") + " NavigationWrapper " + /*mobileLandscapeView*/
4721
4758
  (e[10] ? "NavigationWrapperLandScape" : ""));
4722
4759
  },
@@ -4728,41 +4765,41 @@ function Oo(e) {
4728
4765
  o[1] && /*isMobile*/
4729
4766
  o[13] && /*showNavigation*/
4730
4767
  o[3] ? i ? (i.p(o, a), a[0] & /*isLoading, showNavigation*/
4731
- 10 && X(i, 1)) : (i = zt(o), i.c(), X(i, 1), i.m(t, null)) : i && (or(), me(i, 1, 1, () => {
4768
+ 10 && z(i, 1)) : (i = Kt(o), i.c(), z(i, 1), i.m(t, null)) : i && (cr(), pe(i, 1, 1, () => {
4732
4769
  i = null;
4733
- }), ar()), (!n || a[0] & /*isFlowerMenu, mobileLandscapeView*/
4770
+ }), fr()), (!n || a[0] & /*isFlowerMenu, mobileLandscapeView*/
4734
4771
  3072 && r !== (r = /*isFlowerMenu*/
4735
4772
  (o[11] ? "FlowerMenu" : "") + " NavigationWrapper " + /*mobileLandscapeView*/
4736
4773
  (o[10] ? "NavigationWrapperLandScape" : ""))) && c(t, "class", r);
4737
4774
  },
4738
4775
  i(o) {
4739
- n || (X(i), n = !0);
4776
+ n || (z(i), n = !0);
4740
4777
  },
4741
4778
  o(o) {
4742
- me(i), n = !1;
4779
+ pe(i), n = !1;
4743
4780
  },
4744
4781
  d(o) {
4745
4782
  o && O(t), i && i.d(), e[29](null);
4746
4783
  }
4747
4784
  };
4748
4785
  }
4749
- function Lo(e, t, r) {
4786
+ function Vo(e, t, r) {
4750
4787
  let n;
4751
- Jr(e, No, (m) => r(12, n = m));
4752
- let { $$slots: i = {}, $$scope: o } = t, { cmsendpoint: a = "" } = t, { lang: s = "" } = t, { env: l = "" } = t, { secondarymenutitle: u = "" } = t, { userroles: h = "" } = t, { clientstyling: d = "" } = t, { clientstylingurl: f = "" } = t, { translationurl: p = "" } = t, { activecategory: g = "" } = t, { flowermenustyle: b = "false" } = t, B = window.navigator.userAgent, N = $t(B) !== "PC", v = !0, A = !1, x = !1, C = "", k = !1, Q = [], ye = [], j = [], W, mt = "", Re = {}, pt, Ue = !1;
4753
- const Ur = () => {
4754
- fetch(p).then((T) => T.json()).then((T) => {
4755
- Object.keys(T).forEach((P) => {
4756
- kt(P, T[P]);
4788
+ un(e, Co, (m) => r(12, n = m));
4789
+ let { $$slots: i = {}, $$scope: o } = t, { cmsendpoint: a = "" } = t, { lang: s = "" } = t, { env: l = "" } = t, { secondarymenutitle: u = "" } = t, { userroles: h = "" } = t, { clientstyling: d = "" } = t, { clientstylingurl: f = "" } = t, { translationurl: p = "" } = t, { activecategory: g = "" } = t, { flowermenustyle: b = "false" } = t, P = window.navigator.userAgent, N = zt(P) !== "PC", v = !0, T = !1, x = !1, C = "", j = !1, Y = [], _e = [], W = [], V, gt = "", Ue = {}, bt, De = !1;
4790
+ const Wr = () => {
4791
+ fetch(p).then((S) => S.json()).then((S) => {
4792
+ Object.keys(S).forEach((B) => {
4793
+ Zt(B, S[B]);
4757
4794
  });
4758
- }).catch((T) => {
4759
- console.log(T);
4795
+ }).catch((S) => {
4796
+ console.log(S);
4760
4797
  });
4761
4798
  };
4762
- Object.keys(jt).forEach((m) => {
4763
- kt(m, jt[m]);
4799
+ Object.keys(Qt).forEach((m) => {
4800
+ Zt(m, Qt[m]);
4764
4801
  });
4765
- const gt = (m) => {
4802
+ const vt = (m) => {
4766
4803
  if (m.data)
4767
4804
  switch (m.data.type) {
4768
4805
  case "PlayerAccountMenuActive":
@@ -4775,9 +4812,9 @@ function Lo(e, t, r) {
4775
4812
  r(4, x = !1);
4776
4813
  break;
4777
4814
  }
4778
- }, Dr = () => {
4779
- r(11, Ue = b.toLowerCase() === "true");
4780
- }, Gr = () => {
4815
+ }, Vr = () => {
4816
+ r(11, De = b.toLowerCase() === "true");
4817
+ }, Xr = () => {
4781
4818
  r(4, x = !x), window.postMessage(
4782
4819
  {
4783
4820
  type: "MobileBottomNav",
@@ -4785,101 +4822,103 @@ function Lo(e, t, r) {
4785
4822
  },
4786
4823
  window.location.href
4787
4824
  );
4788
- }, $r = (m) => {
4789
- r(7, ye = []), r(7, ye = k ? m.splice(0, 5) : m.splice(0, 4)), g && bt();
4790
- }, kr = () => {
4791
- De(), r(1, v = !0);
4792
- let m = $t(B), T = new URL(`${a}/${s}/bottom-mobile-menu?env=${l}`);
4793
- T.searchParams.append("userRoles", h), m && T.searchParams.append("device", "mtWeb"), fetch(T.href).then((P) => P.json()).then((P) => {
4794
- Q = [], r(8, j = []), r(3, A = P.length > 0), P.forEach((U) => {
4795
- Re[U.label] = U.eventTrigger ? U.path : null, U.path == "/menu-item" ? (r(9, mt = U?.img), r(8, j = U.children)) : Q.push(U);
4796
- }), r(6, k = j.length == 0), j.length >= 5 && Ue && r(8, j = j.splice(0, 5)), $r(Q), r(1, v = !1);
4797
- }).catch((P) => {
4798
- r(1, v = !1), console.error(P);
4825
+ }, zr = (m) => {
4826
+ r(7, _e = []), r(7, _e = j ? m.splice(0, 5) : m.splice(0, 4)), g && yt();
4827
+ }, Zr = () => {
4828
+ Ge(), r(1, v = !0);
4829
+ let m = zt(P), S = new URL(`${a}/${s}/bottom-mobile-menu?env=${l}`);
4830
+ S.searchParams.append("userRoles", h), m && S.searchParams.append("device", "mtWeb"), fetch(S.href).then((B) => B.json()).then((B) => {
4831
+ Y = [], r(8, W = []), r(3, T = B.length > 0), B.forEach((F) => {
4832
+ Ue[F.label] = F.eventTrigger ? F.path : null, F.path == "/menu-item" ? (r(9, gt = F == null ? void 0 : F.img), r(8, W = F.children)) : Y.push(F);
4833
+ }), r(6, j = W.length == 0), W.length >= 5 && De && r(8, W = W.splice(0, 5)), zr(Y), r(1, v = !1);
4834
+ }).catch((B) => {
4835
+ r(1, v = !1), console.error(B);
4799
4836
  });
4800
- }, bt = () => {
4801
- const T = ye.concat(j).find((P) => P.path.includes(g));
4802
- T && r(5, C = T.id);
4803
- }, he = (m, T, P, U) => {
4804
- Re[U] ? window.postMessage(
4837
+ }, yt = () => {
4838
+ const S = _e.concat(W).find((B) => B.path.includes(g));
4839
+ S && r(5, C = S.id);
4840
+ }, ce = (m, S, B, F) => {
4841
+ Ue[F] ? window.postMessage(
4805
4842
  {
4806
4843
  type: "MobileBottomNavigationEvent",
4807
- event: Re[U]
4844
+ event: Ue[F]
4808
4845
  },
4809
4846
  window.location.href
4810
4847
  ) : window.postMessage(
4811
4848
  {
4812
4849
  type: "NavigateTo",
4813
4850
  path: m,
4814
- target: T || null,
4815
- externalLink: P || !1
4851
+ target: S || null,
4852
+ externalLink: B || !1
4816
4853
  },
4817
4854
  window.location.href
4818
4855
  ), r(4, x = !1), typeof gtag == "function" && gtag("event", "ChangeMenu", {
4819
4856
  context: "MobileBottomNavigation",
4820
4857
  menuItem: `${m}`
4821
4858
  });
4822
- }, jr = () => {
4859
+ }, Qr = () => {
4823
4860
  let m = document.createElement("style");
4824
- d && W && (m.innerHTML = d, W.appendChild(m));
4825
- }, Wr = () => {
4826
- let m = new URL(f), T = document.createElement("style");
4827
- fetch(m.href).then((P) => P.text()).then((P) => {
4828
- T.innerHTML = P, setTimeout(
4861
+ d && V && (m.innerHTML = d, V.appendChild(m));
4862
+ }, Yr = () => {
4863
+ let m = new URL(f), S = document.createElement("style");
4864
+ fetch(m.href).then((B) => B.text()).then((B) => {
4865
+ S.innerHTML = B, setTimeout(
4829
4866
  () => {
4830
- W.appendChild(T);
4867
+ V.appendChild(S);
4831
4868
  },
4832
4869
  1
4833
4870
  );
4834
4871
  });
4835
- }, Vr = () => {
4836
- So(s);
4837
- }, De = () => {
4838
- r(10, pt = N && window.innerHeight / window.innerWidth < 1);
4839
- }, vt = () => {
4872
+ }, Jr = () => {
4873
+ Fo(s);
4874
+ }, Ge = () => {
4875
+ r(10, bt = N && window.innerHeight / window.innerWidth < 1);
4876
+ }, _t = () => {
4840
4877
  x && r(4, x = !1);
4841
4878
  };
4842
- hn(() => (window.addEventListener("message", gt, !1), document.addEventListener("focusin", vt), N && window.screen.orientation.addEventListener("change", De), () => {
4843
- window.removeEventListener("message", gt), document.removeEventListener("focusin", vt), N && window.screen.orientation.removeEventListener("change", De);
4879
+ xn(() => (window.addEventListener("message", vt, !1), document.addEventListener("focusin", _t), N && window.screen.orientation.addEventListener("change", Ge), () => {
4880
+ window.removeEventListener("message", vt), document.removeEventListener("focusin", _t), N && window.screen.orientation.removeEventListener("change", Ge);
4844
4881
  }));
4845
- const Xr = (m) => {
4846
- m.attrs?.target ? he(m.path, m.attrs?.target, m?.externalLink, m.label) : he(m.path, null, m?.externalLink, m.label);
4847
- }, zr = (m) => {
4848
- m.attrs?.target ? he(m.path, m.attrs?.target, m?.externalLink, m.label) : he(m.path, null, m?.externalLink, m.label);
4882
+ const qr = (m) => {
4883
+ var S, B;
4884
+ (S = m.attrs) != null && S.target ? ce(m.path, (B = m.attrs) == null ? void 0 : B.target, m == null ? void 0 : m.externalLink, m.label) : ce(m.path, null, m == null ? void 0 : m.externalLink, m.label);
4885
+ }, Kr = (m) => {
4886
+ var S, B;
4887
+ (S = m.attrs) != null && S.target ? ce(m.path, (B = m.attrs) == null ? void 0 : B.target, m == null ? void 0 : m.externalLink, m.label) : ce(m.path, null, m == null ? void 0 : m.externalLink, m.label);
4849
4888
  };
4850
- function Zr(m) {
4851
- ze[m ? "unshift" : "push"](() => {
4852
- W = m, r(2, W);
4889
+ function en(m) {
4890
+ Qe[m ? "unshift" : "push"](() => {
4891
+ V = m, r(2, V);
4853
4892
  });
4854
4893
  }
4855
4894
  return e.$$set = (m) => {
4856
4895
  "cmsendpoint" in m && r(16, a = m.cmsendpoint), "lang" in m && r(17, s = m.lang), "env" in m && r(18, l = m.env), "secondarymenutitle" in m && r(0, u = m.secondarymenutitle), "userroles" in m && r(19, h = m.userroles), "clientstyling" in m && r(20, d = m.clientstyling), "clientstylingurl" in m && r(21, f = m.clientstylingurl), "translationurl" in m && r(22, p = m.translationurl), "activecategory" in m && r(23, g = m.activecategory), "flowermenustyle" in m && r(24, b = m.flowermenustyle), "$$scope" in m && r(25, o = m.$$scope);
4857
4896
  }, e.$$.update = () => {
4858
4897
  e.$$.dirty[0] & /*flowermenustyle*/
4859
- 16777216 && b && Dr(), e.$$.dirty[0] & /*activecategory, isLoading*/
4860
- 8388610 && g && !v && bt(), e.$$.dirty[0] & /*lang*/
4861
- 131072 && s && Vr(), e.$$.dirty[0] & /*cmsendpoint, lang, env, userroles*/
4862
- 983040 && a && s && l && h && kr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4863
- 1048580 && d && W && jr(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4864
- 2097156 && f && W && Wr(), e.$$.dirty[0] & /*translationurl*/
4865
- 4194304 && p && Ur();
4898
+ 16777216 && b && Vr(), e.$$.dirty[0] & /*activecategory, isLoading*/
4899
+ 8388610 && g && !v && yt(), e.$$.dirty[0] & /*lang*/
4900
+ 131072 && s && Jr(), e.$$.dirty[0] & /*cmsendpoint, lang, env, userroles*/
4901
+ 983040 && a && s && l && h && Zr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4902
+ 1048580 && d && V && Qr(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4903
+ 2097156 && f && V && Yr(), e.$$.dirty[0] & /*translationurl*/
4904
+ 4194304 && p && Wr();
4866
4905
  }, [
4867
4906
  u,
4868
4907
  v,
4869
- W,
4870
- A,
4908
+ V,
4909
+ T,
4871
4910
  x,
4872
4911
  C,
4873
- k,
4874
- ye,
4875
4912
  j,
4876
- mt,
4877
- pt,
4878
- Ue,
4913
+ _e,
4914
+ W,
4915
+ gt,
4916
+ bt,
4917
+ De,
4879
4918
  n,
4880
4919
  N,
4881
- Gr,
4882
- he,
4920
+ Xr,
4921
+ ce,
4883
4922
  a,
4884
4923
  s,
4885
4924
  l,
@@ -4891,19 +4930,19 @@ function Lo(e, t, r) {
4891
4930
  b,
4892
4931
  o,
4893
4932
  i,
4894
- Xr,
4895
- zr,
4896
- Zr
4933
+ qr,
4934
+ Kr,
4935
+ en
4897
4936
  ];
4898
4937
  }
4899
- class Co extends _n {
4938
+ class Xo extends Hn {
4900
4939
  constructor(t) {
4901
- super(), vn(
4940
+ super(), Tn(
4902
4941
  this,
4903
4942
  t,
4904
- Lo,
4905
- Oo,
4906
- tr,
4943
+ Vo,
4944
+ Wo,
4945
+ sr,
4907
4946
  {
4908
4947
  cmsendpoint: 16,
4909
4948
  lang: 17,
@@ -4916,7 +4955,7 @@ class Co extends _n {
4916
4955
  activecategory: 23,
4917
4956
  flowermenustyle: 24
4918
4957
  },
4919
- Io,
4958
+ Ro,
4920
4959
  [-1, -1]
4921
4960
  );
4922
4961
  }
@@ -4924,64 +4963,64 @@ class Co extends _n {
4924
4963
  return this.$$.ctx[16];
4925
4964
  }
4926
4965
  set cmsendpoint(t) {
4927
- this.$$set({ cmsendpoint: t }), F();
4966
+ this.$$set({ cmsendpoint: t }), U();
4928
4967
  }
4929
4968
  get lang() {
4930
4969
  return this.$$.ctx[17];
4931
4970
  }
4932
4971
  set lang(t) {
4933
- this.$$set({ lang: t }), F();
4972
+ this.$$set({ lang: t }), U();
4934
4973
  }
4935
4974
  get env() {
4936
4975
  return this.$$.ctx[18];
4937
4976
  }
4938
4977
  set env(t) {
4939
- this.$$set({ env: t }), F();
4978
+ this.$$set({ env: t }), U();
4940
4979
  }
4941
4980
  get secondarymenutitle() {
4942
4981
  return this.$$.ctx[0];
4943
4982
  }
4944
4983
  set secondarymenutitle(t) {
4945
- this.$$set({ secondarymenutitle: t }), F();
4984
+ this.$$set({ secondarymenutitle: t }), U();
4946
4985
  }
4947
4986
  get userroles() {
4948
4987
  return this.$$.ctx[19];
4949
4988
  }
4950
4989
  set userroles(t) {
4951
- this.$$set({ userroles: t }), F();
4990
+ this.$$set({ userroles: t }), U();
4952
4991
  }
4953
4992
  get clientstyling() {
4954
4993
  return this.$$.ctx[20];
4955
4994
  }
4956
4995
  set clientstyling(t) {
4957
- this.$$set({ clientstyling: t }), F();
4996
+ this.$$set({ clientstyling: t }), U();
4958
4997
  }
4959
4998
  get clientstylingurl() {
4960
4999
  return this.$$.ctx[21];
4961
5000
  }
4962
5001
  set clientstylingurl(t) {
4963
- this.$$set({ clientstylingurl: t }), F();
5002
+ this.$$set({ clientstylingurl: t }), U();
4964
5003
  }
4965
5004
  get translationurl() {
4966
5005
  return this.$$.ctx[22];
4967
5006
  }
4968
5007
  set translationurl(t) {
4969
- this.$$set({ translationurl: t }), F();
5008
+ this.$$set({ translationurl: t }), U();
4970
5009
  }
4971
5010
  get activecategory() {
4972
5011
  return this.$$.ctx[23];
4973
5012
  }
4974
5013
  set activecategory(t) {
4975
- this.$$set({ activecategory: t }), F();
5014
+ this.$$set({ activecategory: t }), U();
4976
5015
  }
4977
5016
  get flowermenustyle() {
4978
5017
  return this.$$.ctx[24];
4979
5018
  }
4980
5019
  set flowermenustyle(t) {
4981
- this.$$set({ flowermenustyle: t }), F();
5020
+ this.$$set({ flowermenustyle: t }), U();
4982
5021
  }
4983
5022
  }
4984
- yn(Co, { cmsendpoint: {}, lang: {}, env: {}, secondarymenutitle: {}, userroles: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, activecategory: {}, flowermenustyle: {} }, ["close"], [], !0);
5023
+ Pn(Xo, { cmsendpoint: {}, lang: {}, env: {}, secondarymenutitle: {}, userroles: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, activecategory: {}, flowermenustyle: {} }, ["close"], [], !0);
4985
5024
  export {
4986
- Co as G
5025
+ Xo as default
4987
5026
  };