@everymatrix/casino-promotions 1.53.0 → 1.53.10

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,93 +1,64 @@
1
- var yn = Object.defineProperty, xn = Object.defineProperties;
2
- var En = Object.getOwnPropertyDescriptors;
3
- var Pt = Object.getOwnPropertySymbols;
4
- var wn = Object.prototype.hasOwnProperty, Tn = Object.prototype.propertyIsEnumerable;
5
- var Qe = (e, t, r) => t in e ? yn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, At = (e, t) => {
6
- for (var r in t || (t = {}))
7
- wn.call(t, r) && Qe(e, r, t[r]);
8
- if (Pt)
9
- for (var r of Pt(t))
10
- Tn.call(t, r) && Qe(e, r, t[r]);
11
- return e;
12
- }, Ct = (e, t) => xn(e, En(t));
13
- var Z = (e, t, r) => Qe(e, typeof t != "symbol" ? t + "" : t, r);
14
- var Je = (e, t, r) => new Promise((n, i) => {
15
- var o = (l) => {
16
- try {
17
- a(r.next(l));
18
- } catch (u) {
19
- i(u);
20
- }
21
- }, s = (l) => {
22
- try {
23
- a(r.throw(l));
24
- } catch (u) {
25
- i(u);
26
- }
27
- }, a = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(o, s);
28
- a((r = r.apply(e, t)).next());
29
- });
30
- function Y() {
1
+ function J() {
31
2
  }
32
- function Er(e) {
3
+ function mr(e) {
33
4
  return e();
34
5
  }
35
- function Ot() {
6
+ function wt() {
36
7
  return /* @__PURE__ */ Object.create(null);
37
8
  }
38
- function we(e) {
39
- e.forEach(Er);
9
+ function Ee(e) {
10
+ e.forEach(mr);
40
11
  }
41
- function Ie(e) {
12
+ function Ne(e) {
42
13
  return typeof e == "function";
43
14
  }
44
- function wr(e, t) {
15
+ function dr(e, t) {
45
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
17
  }
47
- let Ne;
48
- function le(e, t) {
49
- return e === t ? !0 : (Ne || (Ne = document.createElement("a")), Ne.href = t, e === Ne.href);
18
+ let Le;
19
+ function ae(e, t) {
20
+ return e === t ? !0 : (Le || (Le = document.createElement("a")), Le.href = t, e === Le.href);
50
21
  }
51
- function Lt(e) {
22
+ function Tt(e) {
52
23
  return e.split(",").map((t) => t.trim().split(" ").filter(Boolean));
53
24
  }
54
- function yt(e, t) {
55
- const r = Lt(e.srcset), n = Lt(t || "");
25
+ function bt(e, t) {
26
+ const r = Tt(e.srcset), n = Tt(t || "");
56
27
  return n.length === r.length && n.every(
57
28
  ([i, o], s) => o === r[s][1] && // We need to test both ways because Vite will create an a full URL with
58
29
  // `new URL(asset, import.meta.url).href` for the client when `base: './'`, and the
59
30
  // relative URLs inside srcset are not automatically resolved to absolute URLs by
60
31
  // browsers (in contrast to img.src). This means both SSR and DOM code could
61
32
  // contain relative or absolute URLs.
62
- (le(r[s][0], i) || le(i, r[s][0]))
33
+ (ae(r[s][0], i) || ae(i, r[s][0]))
63
34
  );
64
35
  }
65
- function Sn(e) {
36
+ function cn(e) {
66
37
  return Object.keys(e).length === 0;
67
38
  }
68
- function Tr(e, ...t) {
39
+ function br(e, ...t) {
69
40
  if (e == null) {
70
41
  for (const n of t)
71
42
  n(void 0);
72
- return Y;
43
+ return J;
73
44
  }
74
45
  const r = e.subscribe(...t);
75
46
  return r.unsubscribe ? () => r.unsubscribe() : r;
76
47
  }
77
- function Hn(e, t, r) {
78
- e.$$.on_destroy.push(Tr(t, r));
48
+ function fn(e, t, r) {
49
+ e.$$.on_destroy.push(br(t, r));
79
50
  }
80
51
  function d(e, t) {
81
52
  e.appendChild(t);
82
53
  }
83
- function Bn(e, t, r) {
84
- const n = Pn(e);
54
+ function pn(e, t, r) {
55
+ const n = mn(e);
85
56
  if (!n.getElementById(t)) {
86
57
  const i = g("style");
87
- i.id = t, i.textContent = r, An(n, i);
58
+ i.id = t, i.textContent = r, dn(n, i);
88
59
  }
89
60
  }
90
- function Pn(e) {
61
+ function mn(e) {
91
62
  if (!e) return document;
92
63
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
93
64
  return t && /** @type {ShadowRoot} */
@@ -96,7 +67,7 @@ function Pn(e) {
96
67
  t
97
68
  ) : e.ownerDocument;
98
69
  }
99
- function An(e, t) {
70
+ function dn(e, t) {
100
71
  return d(
101
72
  /** @type {Document} */
102
73
  e.head || e,
@@ -109,57 +80,57 @@ function D(e, t, r) {
109
80
  function M(e) {
110
81
  e.parentNode && e.parentNode.removeChild(e);
111
82
  }
112
- function ge(e, t) {
83
+ function _e(e, t) {
113
84
  for (let r = 0; r < e.length; r += 1)
114
85
  e[r] && e[r].d(t);
115
86
  }
116
87
  function g(e) {
117
88
  return document.createElement(e);
118
89
  }
119
- function te(e) {
90
+ function ee(e) {
120
91
  return document.createTextNode(e);
121
92
  }
122
93
  function F() {
123
- return te(" ");
94
+ return ee(" ");
124
95
  }
125
- function xt() {
126
- return te("");
96
+ function _t() {
97
+ return ee("");
127
98
  }
128
- function ne(e, t, r, n) {
99
+ function re(e, t, r, n) {
129
100
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
130
101
  }
131
102
  function m(e, t, r) {
132
103
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
133
104
  }
134
- function Cn(e) {
105
+ function bn(e) {
135
106
  return Array.from(e.childNodes);
136
107
  }
137
- function he(e, t) {
108
+ function ue(e, t) {
138
109
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
139
110
  t);
140
111
  }
141
- let Me;
142
- function On() {
143
- if (Me === void 0) {
144
- Me = !1;
112
+ let Ie;
113
+ function _n() {
114
+ if (Ie === void 0) {
115
+ Ie = !1;
145
116
  try {
146
- typeof window != "undefined" && window.parent && window.parent.document;
147
- } catch (e) {
148
- Me = !0;
117
+ typeof window < "u" && window.parent && window.parent.document;
118
+ } catch {
119
+ Ie = !0;
149
120
  }
150
121
  }
151
- return Me;
122
+ return Ie;
152
123
  }
153
- function Ln(e, t) {
124
+ function gn(e, t) {
154
125
  getComputedStyle(e).position === "static" && (e.style.position = "relative");
155
126
  const n = g("iframe");
156
127
  n.setAttribute(
157
128
  "style",
158
129
  "display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"
159
130
  ), n.setAttribute("aria-hidden", "true"), n.tabIndex = -1;
160
- const i = On();
131
+ const i = _n();
161
132
  let o;
162
- return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", o = ne(
133
+ return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", o = re(
163
134
  window,
164
135
  "message",
165
136
  /** @param {MessageEvent} event */
@@ -167,15 +138,15 @@ function Ln(e, t) {
167
138
  s.source === n.contentWindow && t();
168
139
  }
169
140
  )) : (n.src = "about:blank", n.onload = () => {
170
- o = ne(n.contentWindow, "resize", t), t();
141
+ o = re(n.contentWindow, "resize", t), t();
171
142
  }), d(e, n), () => {
172
143
  (i || o && n.contentWindow) && o(), M(n);
173
144
  };
174
145
  }
175
- function It(e, t, r) {
146
+ function St(e, t, r) {
176
147
  e.classList.toggle(t, !!r);
177
148
  }
178
- function In(e) {
149
+ function vn(e) {
179
150
  const t = {};
180
151
  return e.childNodes.forEach(
181
152
  /** @param {Element} node */
@@ -184,99 +155,99 @@ function In(e) {
184
155
  }
185
156
  ), t;
186
157
  }
187
- let Ce;
188
- function Ae(e) {
189
- Ce = e;
158
+ let Ae;
159
+ function Pe(e) {
160
+ Ae = e;
190
161
  }
191
- function Nn() {
192
- if (!Ce) throw new Error("Function called outside component initialization");
193
- return Ce;
162
+ function yn() {
163
+ if (!Ae) throw new Error("Function called outside component initialization");
164
+ return Ae;
194
165
  }
195
- function Mn(e) {
196
- Nn().$$.on_mount.push(e);
166
+ function xn(e) {
167
+ yn().$$.on_mount.push(e);
197
168
  }
198
- const me = [], de = [];
199
- let be = [];
200
- const Nt = [], Sr = /* @__PURE__ */ Promise.resolve();
201
- let st = !1;
202
- function Hr() {
203
- st || (st = !0, Sr.then(J));
169
+ const pe = [], me = [];
170
+ let de = [];
171
+ const Ht = [], _r = /* @__PURE__ */ Promise.resolve();
172
+ let rt = !1;
173
+ function gr() {
174
+ rt || (rt = !0, _r.then(Q));
204
175
  }
205
- function Rn() {
206
- return Hr(), Sr;
176
+ function En() {
177
+ return gr(), _r;
207
178
  }
208
- function $e(e) {
209
- be.push(e);
179
+ function Ge(e) {
180
+ de.push(e);
210
181
  }
211
- const Ye = /* @__PURE__ */ new Set();
212
- let fe = 0;
213
- function J() {
214
- if (fe !== 0)
182
+ const qe = /* @__PURE__ */ new Set();
183
+ let ce = 0;
184
+ function Q() {
185
+ if (ce !== 0)
215
186
  return;
216
- const e = Ce;
187
+ const e = Ae;
217
188
  do {
218
189
  try {
219
- for (; fe < me.length; ) {
220
- const t = me[fe];
221
- fe++, Ae(t), Dn(t.$$);
190
+ for (; ce < pe.length; ) {
191
+ const t = pe[ce];
192
+ ce++, Pe(t), wn(t.$$);
222
193
  }
223
194
  } catch (t) {
224
- throw me.length = 0, fe = 0, t;
195
+ throw pe.length = 0, ce = 0, t;
225
196
  }
226
- for (Ae(null), me.length = 0, fe = 0; de.length; ) de.pop()();
227
- for (let t = 0; t < be.length; t += 1) {
228
- const r = be[t];
229
- Ye.has(r) || (Ye.add(r), r());
197
+ for (Pe(null), pe.length = 0, ce = 0; me.length; ) me.pop()();
198
+ for (let t = 0; t < de.length; t += 1) {
199
+ const r = de[t];
200
+ qe.has(r) || (qe.add(r), r());
230
201
  }
231
- be.length = 0;
232
- } while (me.length);
233
- for (; Nt.length; )
234
- Nt.pop()();
235
- st = !1, Ye.clear(), Ae(e);
202
+ de.length = 0;
203
+ } while (pe.length);
204
+ for (; Ht.length; )
205
+ Ht.pop()();
206
+ rt = !1, qe.clear(), Pe(e);
236
207
  }
237
- function Dn(e) {
208
+ function wn(e) {
238
209
  if (e.fragment !== null) {
239
- e.update(), we(e.before_update);
210
+ e.update(), Ee(e.before_update);
240
211
  const t = e.dirty;
241
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach($e);
212
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ge);
242
213
  }
243
214
  }
244
- function Fn(e) {
215
+ function Tn(e) {
245
216
  const t = [], r = [];
246
- be.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), be = t;
217
+ de.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), de = t;
247
218
  }
248
- const Un = /* @__PURE__ */ new Set();
249
- function kn(e, t) {
250
- e && e.i && (Un.delete(e), e.i(t));
219
+ const Sn = /* @__PURE__ */ new Set();
220
+ function Hn(e, t) {
221
+ e && e.i && (Sn.delete(e), e.i(t));
251
222
  }
252
- function q(e) {
253
- return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
223
+ function Z(e) {
224
+ return e?.length !== void 0 ? e : Array.from(e);
254
225
  }
255
- function Gn(e, t, r) {
226
+ function Bn(e, t, r) {
256
227
  const { fragment: n, after_update: i } = e.$$;
257
- n && n.m(t, r), $e(() => {
258
- const o = e.$$.on_mount.map(Er).filter(Ie);
259
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : we(o), e.$$.on_mount = [];
260
- }), i.forEach($e);
228
+ n && n.m(t, r), Ge(() => {
229
+ const o = e.$$.on_mount.map(mr).filter(Ne);
230
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Ee(o), e.$$.on_mount = [];
231
+ }), i.forEach(Ge);
261
232
  }
262
- function $n(e, t) {
233
+ function Pn(e, t) {
263
234
  const r = e.$$;
264
- r.fragment !== null && (Fn(r.after_update), we(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
235
+ r.fragment !== null && (Tn(r.after_update), Ee(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
265
236
  }
266
- function jn(e, t) {
267
- e.$$.dirty[0] === -1 && (me.push(e), Hr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
237
+ function An(e, t) {
238
+ e.$$.dirty[0] === -1 && (pe.push(e), gr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
268
239
  }
269
- function Vn(e, t, r, n, i, o, s = null, a = [-1]) {
270
- const l = Ce;
271
- Ae(e);
240
+ function On(e, t, r, n, i, o, s = null, a = [-1]) {
241
+ const l = Ae;
242
+ Pe(e);
272
243
  const u = e.$$ = {
273
244
  fragment: null,
274
245
  ctx: [],
275
246
  // state
276
247
  props: o,
277
- update: Y,
248
+ update: J,
278
249
  not_equal: i,
279
- bound: Ot(),
250
+ bound: wt(),
280
251
  // lifecycle
281
252
  on_mount: [],
282
253
  on_destroy: [],
@@ -285,150 +256,146 @@ function Vn(e, t, r, n, i, o, s = null, a = [-1]) {
285
256
  after_update: [],
286
257
  context: new Map(t.context || (l ? l.$$.context : [])),
287
258
  // everything else
288
- callbacks: Ot(),
259
+ callbacks: wt(),
289
260
  dirty: a,
290
261
  skip_bound: !1,
291
262
  root: t.target || l.$$.root
292
263
  };
293
264
  s && s(u.root);
294
265
  let h = !1;
295
- if (u.ctx = r ? r(e, t.props || {}, (c, f, ...b) => {
266
+ if (u.ctx = r(e, t.props || {}, (c, f, ...b) => {
296
267
  const v = b.length ? b[0] : f;
297
- return u.ctx && i(u.ctx[c], u.ctx[c] = v) && (!u.skip_bound && u.bound[c] && u.bound[c](v), h && jn(e, c)), f;
298
- }) : [], u.update(), h = !0, we(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
268
+ return u.ctx && i(u.ctx[c], u.ctx[c] = v) && (!u.skip_bound && u.bound[c] && u.bound[c](v), h && An(e, c)), f;
269
+ }), u.update(), h = !0, Ee(u.before_update), u.fragment = n(u.ctx), t.target) {
299
270
  if (t.hydrate) {
300
- const c = Cn(t.target);
271
+ const c = bn(t.target);
301
272
  u.fragment && u.fragment.l(c), c.forEach(M);
302
273
  } else
303
274
  u.fragment && u.fragment.c();
304
- t.intro && kn(e.$$.fragment), Gn(e, t.target, t.anchor), J();
275
+ t.intro && Hn(e.$$.fragment), Bn(e, t.target, t.anchor), Q();
305
276
  }
306
- Ae(l);
307
- }
308
- let Br;
309
- typeof HTMLElement == "function" && (Br = class extends HTMLElement {
310
- constructor(t, r, n) {
311
- super();
312
- /** The Svelte component constructor */
313
- Z(this, "$$ctor");
314
- /** Slots */
315
- Z(this, "$$s");
316
- /** The Svelte component instance */
317
- Z(this, "$$c");
318
- /** Whether or not the custom element is connected */
319
- Z(this, "$$cn", !1);
320
- /** Component props data */
321
- Z(this, "$$d", {});
322
- /** `true` if currently in the process of reflecting component props back to attributes */
323
- Z(this, "$$r", !1);
324
- /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
325
- Z(this, "$$p_d", {});
326
- /** @type {Record<string, Function[]>} Event listeners */
327
- Z(this, "$$l", {});
328
- /** @type {Map<Function, Function>} Event listener unsubscribe functions */
329
- Z(this, "$$l_u", /* @__PURE__ */ new Map());
330
- this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
277
+ Pe(l);
278
+ }
279
+ let vr;
280
+ typeof HTMLElement == "function" && (vr = class extends HTMLElement {
281
+ /** The Svelte component constructor */
282
+ $$ctor;
283
+ /** Slots */
284
+ $$s;
285
+ /** The Svelte component instance */
286
+ $$c;
287
+ /** Whether or not the custom element is connected */
288
+ $$cn = !1;
289
+ /** Component props data */
290
+ $$d = {};
291
+ /** `true` if currently in the process of reflecting component props back to attributes */
292
+ $$r = !1;
293
+ /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
294
+ $$p_d = {};
295
+ /** @type {Record<string, Function[]>} Event listeners */
296
+ $$l = {};
297
+ /** @type {Map<Function, Function>} Event listener unsubscribe functions */
298
+ $$l_u = /* @__PURE__ */ new Map();
299
+ constructor(e, t, r) {
300
+ super(), this.$$ctor = e, this.$$s = t, r && this.attachShadow({ mode: "open" });
331
301
  }
332
- addEventListener(t, r, n) {
333
- if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(r), this.$$c) {
334
- const i = this.$$c.$on(t, r);
335
- this.$$l_u.set(r, i);
302
+ addEventListener(e, t, r) {
303
+ if (this.$$l[e] = this.$$l[e] || [], this.$$l[e].push(t), this.$$c) {
304
+ const n = this.$$c.$on(e, t);
305
+ this.$$l_u.set(t, n);
336
306
  }
337
- super.addEventListener(t, r, n);
307
+ super.addEventListener(e, t, r);
338
308
  }
339
- removeEventListener(t, r, n) {
340
- if (super.removeEventListener(t, r, n), this.$$c) {
341
- const i = this.$$l_u.get(r);
342
- i && (i(), this.$$l_u.delete(r));
309
+ removeEventListener(e, t, r) {
310
+ if (super.removeEventListener(e, t, r), this.$$c) {
311
+ const n = this.$$l_u.get(t);
312
+ n && (n(), this.$$l_u.delete(t));
343
313
  }
344
314
  }
345
- connectedCallback() {
346
- return Je(this, null, function* () {
347
- if (this.$$cn = !0, !this.$$c) {
348
- let t = function(o) {
349
- return () => {
350
- let s;
351
- return {
352
- c: function() {
353
- s = g("slot"), o !== "default" && m(s, "name", o);
354
- },
355
- /**
356
- * @param {HTMLElement} target
357
- * @param {HTMLElement} [anchor]
358
- */
359
- m: function(u, h) {
360
- D(u, s, h);
361
- },
362
- d: function(u) {
363
- u && M(s);
364
- }
365
- };
315
+ async connectedCallback() {
316
+ if (this.$$cn = !0, !this.$$c) {
317
+ let e = function(i) {
318
+ return () => {
319
+ let o;
320
+ return {
321
+ c: function() {
322
+ o = g("slot"), i !== "default" && m(o, "name", i);
323
+ },
324
+ /**
325
+ * @param {HTMLElement} target
326
+ * @param {HTMLElement} [anchor]
327
+ */
328
+ m: function(l, u) {
329
+ D(l, o, u);
330
+ },
331
+ d: function(l) {
332
+ l && M(o);
333
+ }
366
334
  };
367
335
  };
368
- if (yield Promise.resolve(), !this.$$cn || this.$$c)
369
- return;
370
- const r = {}, n = In(this);
371
- for (const o of this.$$s)
372
- o in n && (r[o] = [t(o)]);
373
- for (const o of this.attributes) {
374
- const s = this.$$g_p(o.name);
375
- s in this.$$d || (this.$$d[s] = Fe(s, o.value, this.$$p_d, "toProp"));
336
+ };
337
+ if (await Promise.resolve(), !this.$$cn || this.$$c)
338
+ return;
339
+ const t = {}, r = vn(this);
340
+ for (const i of this.$$s)
341
+ i in r && (t[i] = [e(i)]);
342
+ for (const i of this.attributes) {
343
+ const o = this.$$g_p(i.name);
344
+ o in this.$$d || (this.$$d[o] = De(o, i.value, this.$$p_d, "toProp"));
345
+ }
346
+ for (const i in this.$$p_d)
347
+ !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
348
+ this.$$c = new this.$$ctor({
349
+ target: this.shadowRoot || this,
350
+ props: {
351
+ ...this.$$d,
352
+ $$slots: t,
353
+ $$scope: {
354
+ ctx: []
355
+ }
376
356
  }
377
- for (const o in this.$$p_d)
378
- !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
379
- this.$$c = new this.$$ctor({
380
- target: this.shadowRoot || this,
381
- props: Ct(At({}, this.$$d), {
382
- $$slots: r,
383
- $$scope: {
384
- ctx: []
385
- }
386
- })
387
- });
388
- const i = () => {
389
- this.$$r = !0;
390
- for (const o in this.$$p_d)
391
- if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
392
- const s = Fe(
393
- o,
394
- this.$$d[o],
395
- this.$$p_d,
396
- "toAttribute"
397
- );
398
- s == null ? this.removeAttribute(this.$$p_d[o].attribute || o) : this.setAttribute(this.$$p_d[o].attribute || o, s);
399
- }
400
- this.$$r = !1;
401
- };
402
- this.$$c.$$.after_update.push(i), i();
403
- for (const o in this.$$l)
404
- for (const s of this.$$l[o]) {
405
- const a = this.$$c.$on(o, s);
406
- this.$$l_u.set(s, a);
357
+ });
358
+ const n = () => {
359
+ this.$$r = !0;
360
+ for (const i in this.$$p_d)
361
+ if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
362
+ const o = De(
363
+ i,
364
+ this.$$d[i],
365
+ this.$$p_d,
366
+ "toAttribute"
367
+ );
368
+ o == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, o);
407
369
  }
408
- this.$$l = {};
409
- }
410
- });
370
+ this.$$r = !1;
371
+ };
372
+ this.$$c.$$.after_update.push(n), n();
373
+ for (const i in this.$$l)
374
+ for (const o of this.$$l[i]) {
375
+ const s = this.$$c.$on(i, o);
376
+ this.$$l_u.set(o, s);
377
+ }
378
+ this.$$l = {};
379
+ }
411
380
  }
412
381
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
413
382
  // and setting attributes through setAttribute etc, this is helpful
414
- attributeChangedCallback(t, r, n) {
415
- var i;
416
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = Fe(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
383
+ attributeChangedCallback(e, t, r) {
384
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = De(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
417
385
  }
418
386
  disconnectedCallback() {
419
387
  this.$$cn = !1, Promise.resolve().then(() => {
420
388
  !this.$$cn && this.$$c && (this.$$c.$destroy(), this.$$c = void 0);
421
389
  });
422
390
  }
423
- $$g_p(t) {
391
+ $$g_p(e) {
424
392
  return Object.keys(this.$$p_d).find(
425
- (r) => this.$$p_d[r].attribute === t || !this.$$p_d[r].attribute && r.toLowerCase() === t
426
- ) || t;
393
+ (t) => this.$$p_d[t].attribute === e || !this.$$p_d[t].attribute && t.toLowerCase() === e
394
+ ) || e;
427
395
  }
428
396
  });
429
- function Fe(e, t, r, n) {
430
- var o;
431
- const i = (o = r[e]) == null ? void 0 : o.type;
397
+ function De(e, t, r, n) {
398
+ const i = r[e]?.type;
432
399
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
433
400
  return t;
434
401
  if (n === "toAttribute")
@@ -439,7 +406,7 @@ function Fe(e, t, r, n) {
439
406
  case "Boolean":
440
407
  return t ? "" : null;
441
408
  case "Number":
442
- return t == null ? null : t;
409
+ return t ?? null;
443
410
  default:
444
411
  return t;
445
412
  }
@@ -456,8 +423,8 @@ function Fe(e, t, r, n) {
456
423
  return t;
457
424
  }
458
425
  }
459
- function zn(e, t, r, n, i, o) {
460
- let s = class extends Br {
426
+ function Cn(e, t, r, n, i, o) {
427
+ let s = class extends vr {
461
428
  constructor() {
462
429
  super(e, r, i), this.$$p_d = t;
463
430
  }
@@ -473,42 +440,38 @@ function zn(e, t, r, n, i, o) {
473
440
  return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
474
441
  },
475
442
  set(l) {
476
- var u;
477
- l = Fe(a, l, t), this.$$d[a] = l, (u = this.$$c) == null || u.$set({ [a]: l });
443
+ l = De(a, l, t), this.$$d[a] = l, this.$$c?.$set({ [a]: l });
478
444
  }
479
445
  });
480
446
  }), n.forEach((a) => {
481
447
  Object.defineProperty(s.prototype, a, {
482
448
  get() {
483
- var l;
484
- return (l = this.$$c) == null ? void 0 : l[a];
449
+ return this.$$c?.[a];
485
450
  }
486
451
  });
487
452
  }), e.element = /** @type {any} */
488
453
  s, s;
489
454
  }
490
- class Xn {
491
- constructor() {
492
- /**
493
- * ### PRIVATE API
494
- *
495
- * Do not use, may change at any time
496
- *
497
- * @type {any}
498
- */
499
- Z(this, "$$");
500
- /**
501
- * ### PRIVATE API
502
- *
503
- * Do not use, may change at any time
504
- *
505
- * @type {any}
506
- */
507
- Z(this, "$$set");
508
- }
455
+ class Nn {
456
+ /**
457
+ * ### PRIVATE API
458
+ *
459
+ * Do not use, may change at any time
460
+ *
461
+ * @type {any}
462
+ */
463
+ $$ = void 0;
464
+ /**
465
+ * ### PRIVATE API
466
+ *
467
+ * Do not use, may change at any time
468
+ *
469
+ * @type {any}
470
+ */
471
+ $$set = void 0;
509
472
  /** @returns {void} */
510
473
  $destroy() {
511
- $n(this, 1), this.$destroy = Y;
474
+ Pn(this, 1), this.$destroy = J;
512
475
  }
513
476
  /**
514
477
  * @template {Extract<keyof Events, string>} K
@@ -517,8 +480,8 @@ class Xn {
517
480
  * @returns {() => void}
518
481
  */
519
482
  $on(t, r) {
520
- if (!Ie(r))
521
- return Y;
483
+ if (!Ne(r))
484
+ return J;
522
485
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
523
486
  return n.push(r), () => {
524
487
  const i = n.indexOf(r);
@@ -530,63 +493,63 @@ class Xn {
530
493
  * @returns {void}
531
494
  */
532
495
  $set(t) {
533
- this.$$set && !Sn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
496
+ this.$$set && !cn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
534
497
  }
535
498
  }
536
- const Wn = "4";
537
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Wn);
538
- const pe = [];
539
- function Zn(e, t) {
499
+ const Ln = "4";
500
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Ln);
501
+ const fe = [];
502
+ function In(e, t) {
540
503
  return {
541
- subscribe: ze(e, t).subscribe
504
+ subscribe: Ve(e, t).subscribe
542
505
  };
543
506
  }
544
- function ze(e, t = Y) {
507
+ function Ve(e, t = J) {
545
508
  let r;
546
509
  const n = /* @__PURE__ */ new Set();
547
510
  function i(a) {
548
- if (wr(e, a) && (e = a, r)) {
549
- const l = !pe.length;
511
+ if (dr(e, a) && (e = a, r)) {
512
+ const l = !fe.length;
550
513
  for (const u of n)
551
- u[1](), pe.push(u, e);
514
+ u[1](), fe.push(u, e);
552
515
  if (l) {
553
- for (let u = 0; u < pe.length; u += 2)
554
- pe[u][0](pe[u + 1]);
555
- pe.length = 0;
516
+ for (let u = 0; u < fe.length; u += 2)
517
+ fe[u][0](fe[u + 1]);
518
+ fe.length = 0;
556
519
  }
557
520
  }
558
521
  }
559
522
  function o(a) {
560
523
  i(a(e));
561
524
  }
562
- function s(a, l = Y) {
525
+ function s(a, l = J) {
563
526
  const u = [a, l];
564
- return n.add(u), n.size === 1 && (r = t(i, o) || Y), a(e), () => {
527
+ return n.add(u), n.size === 1 && (r = t(i, o) || J), a(e), () => {
565
528
  n.delete(u), n.size === 0 && r && (r(), r = null);
566
529
  };
567
530
  }
568
531
  return { set: i, update: o, subscribe: s };
569
532
  }
570
- function Te(e, t, r) {
533
+ function we(e, t, r) {
571
534
  const n = !Array.isArray(e), i = n ? [e] : e;
572
535
  if (!i.every(Boolean))
573
536
  throw new Error("derived() expects stores as input, got a falsy value");
574
537
  const o = t.length < 2;
575
- return Zn(r, (s, a) => {
538
+ return In(r, (s, a) => {
576
539
  let l = !1;
577
540
  const u = [];
578
- let h = 0, c = Y;
541
+ let h = 0, c = J;
579
542
  const f = () => {
580
543
  if (h)
581
544
  return;
582
545
  c();
583
546
  const v = t(n ? u[0] : u, s, a);
584
- o ? s(v) : c = Ie(v) ? v : Y;
547
+ o ? s(v) : c = Ne(v) ? v : J;
585
548
  }, b = i.map(
586
- (v, _) => Tr(
549
+ (v, _) => br(
587
550
  v,
588
- (C) => {
589
- u[_] = C, h &= ~(1 << _), l && f();
551
+ (O) => {
552
+ u[_] = O, h &= ~(1 << _), l && f();
590
553
  },
591
554
  () => {
592
555
  h |= 1 << _;
@@ -594,95 +557,95 @@ function Te(e, t, r) {
594
557
  )
595
558
  );
596
559
  return l = !0, f(), function() {
597
- we(b), c(), l = !1;
560
+ Ee(b), c(), l = !1;
598
561
  };
599
562
  });
600
563
  }
601
- function qn(e) {
602
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
564
+ function Mn(e) {
565
+ return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
603
566
  }
604
- var Qn = function(t) {
605
- return Jn(t) && !Yn(t);
567
+ var Rn = function(t) {
568
+ return Dn(t) && !Fn(t);
606
569
  };
607
- function Jn(e) {
570
+ function Dn(e) {
608
571
  return !!e && typeof e == "object";
609
572
  }
610
- function Yn(e) {
573
+ function Fn(e) {
611
574
  var t = Object.prototype.toString.call(e);
612
- return t === "[object RegExp]" || t === "[object Date]" || ti(e);
575
+ return t === "[object RegExp]" || t === "[object Date]" || Gn(e);
613
576
  }
614
- var Kn = typeof Symbol == "function" && Symbol.for, ei = Kn ? Symbol.for("react.element") : 60103;
615
- function ti(e) {
616
- return e.$$typeof === ei;
577
+ var kn = typeof Symbol == "function" && Symbol.for, Un = kn ? Symbol.for("react.element") : 60103;
578
+ function Gn(e) {
579
+ return e.$$typeof === Un;
617
580
  }
618
- function ri(e) {
581
+ function $n(e) {
619
582
  return Array.isArray(e) ? [] : {};
620
583
  }
621
584
  function Oe(e, t) {
622
- return t.clone !== !1 && t.isMergeableObject(e) ? ve(ri(e), e, t) : e;
585
+ return t.clone !== !1 && t.isMergeableObject(e) ? ge($n(e), e, t) : e;
623
586
  }
624
- function ni(e, t, r) {
587
+ function jn(e, t, r) {
625
588
  return e.concat(t).map(function(n) {
626
589
  return Oe(n, r);
627
590
  });
628
591
  }
629
- function ii(e, t) {
592
+ function Vn(e, t) {
630
593
  if (!t.customMerge)
631
- return ve;
594
+ return ge;
632
595
  var r = t.customMerge(e);
633
- return typeof r == "function" ? r : ve;
596
+ return typeof r == "function" ? r : ge;
634
597
  }
635
- function oi(e) {
598
+ function zn(e) {
636
599
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
637
600
  return Object.propertyIsEnumerable.call(e, t);
638
601
  }) : [];
639
602
  }
640
- function Mt(e) {
641
- return Object.keys(e).concat(oi(e));
603
+ function Bt(e) {
604
+ return Object.keys(e).concat(zn(e));
642
605
  }
643
- function Pr(e, t) {
606
+ function yr(e, t) {
644
607
  try {
645
608
  return t in e;
646
- } catch (r) {
609
+ } catch {
647
610
  return !1;
648
611
  }
649
612
  }
650
- function si(e, t) {
651
- return Pr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
613
+ function Xn(e, t) {
614
+ return yr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
652
615
  }
653
- function ai(e, t, r) {
616
+ function Wn(e, t, r) {
654
617
  var n = {};
655
- return r.isMergeableObject(e) && Mt(e).forEach(function(i) {
618
+ return r.isMergeableObject(e) && Bt(e).forEach(function(i) {
656
619
  n[i] = Oe(e[i], r);
657
- }), Mt(t).forEach(function(i) {
658
- si(e, i) || (Pr(e, i) && r.isMergeableObject(t[i]) ? n[i] = ii(i, r)(e[i], t[i], r) : n[i] = Oe(t[i], r));
620
+ }), Bt(t).forEach(function(i) {
621
+ Xn(e, i) || (yr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Vn(i, r)(e[i], t[i], r) : n[i] = Oe(t[i], r));
659
622
  }), n;
660
623
  }
661
- function ve(e, t, r) {
662
- r = r || {}, r.arrayMerge = r.arrayMerge || ni, r.isMergeableObject = r.isMergeableObject || Qn, r.cloneUnlessOtherwiseSpecified = Oe;
624
+ function ge(e, t, r) {
625
+ r = r || {}, r.arrayMerge = r.arrayMerge || jn, r.isMergeableObject = r.isMergeableObject || Rn, r.cloneUnlessOtherwiseSpecified = Oe;
663
626
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
664
- return o ? n ? r.arrayMerge(e, t, r) : ai(e, t, r) : Oe(t, r);
627
+ return o ? n ? r.arrayMerge(e, t, r) : Wn(e, t, r) : Oe(t, r);
665
628
  }
666
- ve.all = function(t, r) {
629
+ ge.all = function(t, r) {
667
630
  if (!Array.isArray(t))
668
631
  throw new Error("first argument should be an array");
669
632
  return t.reduce(function(n, i) {
670
- return ve(n, i, r);
633
+ return ge(n, i, r);
671
634
  }, {});
672
635
  };
673
- var li = ve, ui = li;
674
- const hi = /* @__PURE__ */ qn(ui);
675
- var at = function(e, t) {
676
- return at = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
636
+ var Zn = ge, qn = Zn;
637
+ const Qn = /* @__PURE__ */ Mn(qn);
638
+ var nt = function(e, t) {
639
+ return nt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
677
640
  r.__proto__ = n;
678
641
  } || function(r, n) {
679
642
  for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
680
- }, at(e, t);
643
+ }, nt(e, t);
681
644
  };
682
- function ie(e, t) {
645
+ function ne(e, t) {
683
646
  if (typeof t != "function" && t !== null)
684
647
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
685
- at(e, t);
648
+ nt(e, t);
686
649
  function r() {
687
650
  this.constructor = e;
688
651
  }
@@ -697,7 +660,7 @@ var A = function() {
697
660
  return t;
698
661
  }, A.apply(this, arguments);
699
662
  };
700
- function ci(e, t) {
663
+ function Jn(e, t) {
701
664
  var r = {};
702
665
  for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
703
666
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -705,7 +668,7 @@ function ci(e, t) {
705
668
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
706
669
  return r;
707
670
  }
708
- function lt(e) {
671
+ function it(e) {
709
672
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
710
673
  if (r) return r.call(e);
711
674
  if (e && typeof e.length == "number") return {
@@ -715,7 +678,7 @@ function lt(e) {
715
678
  };
716
679
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
717
680
  }
718
- function ut(e, t) {
681
+ function ot(e, t) {
719
682
  var r = typeof Symbol == "function" && e[Symbol.iterator];
720
683
  if (!r) return e;
721
684
  var n = r.call(e), i, o = [], s;
@@ -732,61 +695,63 @@ function ut(e, t) {
732
695
  }
733
696
  return o;
734
697
  }
735
- function _e(e, t, r) {
698
+ function be(e, t, r) {
736
699
  if (r || arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
737
700
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
738
701
  return e.concat(o || Array.prototype.slice.call(t));
739
702
  }
740
- function Ke(e, t) {
741
- var r = t && t.cache ? t.cache : _i, n = t && t.serializer ? t.serializer : bi, i = t && t.strategy ? t.strategy : pi;
703
+ function Qe(e, t) {
704
+ var r = t && t.cache ? t.cache : ii, n = t && t.serializer ? t.serializer : ri, i = t && t.strategy ? t.strategy : Kn;
742
705
  return i(e, {
743
706
  cache: r,
744
707
  serializer: n
745
708
  });
746
709
  }
747
- function fi(e) {
710
+ function Yn(e) {
748
711
  return e == null || typeof e == "number" || typeof e == "boolean";
749
712
  }
750
- function Ar(e, t, r, n) {
751
- var i = fi(n) ? n : r(n), o = t.get(i);
752
- return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
713
+ function xr(e, t, r, n) {
714
+ var i = Yn(n) ? n : r(n), o = t.get(i);
715
+ return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
753
716
  }
754
- function Cr(e, t, r) {
717
+ function Er(e, t, r) {
755
718
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
756
- return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
719
+ return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
757
720
  }
758
- function Et(e, t, r, n, i) {
721
+ function gt(e, t, r, n, i) {
759
722
  return r.bind(t, e, n, i);
760
723
  }
761
- function pi(e, t) {
762
- var r = e.length === 1 ? Ar : Cr;
763
- return Et(e, this, r, t.cache.create(), t.serializer);
724
+ function Kn(e, t) {
725
+ var r = e.length === 1 ? xr : Er;
726
+ return gt(e, this, r, t.cache.create(), t.serializer);
764
727
  }
765
- function mi(e, t) {
766
- return Et(e, this, Cr, t.cache.create(), t.serializer);
728
+ function ei(e, t) {
729
+ return gt(e, this, Er, t.cache.create(), t.serializer);
767
730
  }
768
- function di(e, t) {
769
- return Et(e, this, Ar, t.cache.create(), t.serializer);
731
+ function ti(e, t) {
732
+ return gt(e, this, xr, t.cache.create(), t.serializer);
770
733
  }
771
- var bi = function() {
734
+ var ri = function() {
772
735
  return JSON.stringify(arguments);
773
- };
774
- function wt() {
775
- this.cache = /* @__PURE__ */ Object.create(null);
776
- }
777
- wt.prototype.get = function(e) {
778
- return this.cache[e];
779
- };
780
- wt.prototype.set = function(e, t) {
781
- this.cache[e] = t;
782
- };
783
- var _i = {
736
+ }, ni = (
737
+ /** @class */
738
+ function() {
739
+ function e() {
740
+ this.cache = /* @__PURE__ */ Object.create(null);
741
+ }
742
+ return e.prototype.get = function(t) {
743
+ return this.cache[t];
744
+ }, e.prototype.set = function(t, r) {
745
+ this.cache[t] = r;
746
+ }, e;
747
+ }()
748
+ ), ii = {
784
749
  create: function() {
785
- return new wt();
750
+ return new ni();
786
751
  }
787
- }, et = {
788
- variadic: mi,
789
- monadic: di
752
+ }, Je = {
753
+ variadic: ei,
754
+ monadic: ti
790
755
  }, H;
791
756
  (function(e) {
792
757
  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";
@@ -795,47 +760,47 @@ var R;
795
760
  (function(e) {
796
761
  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";
797
762
  })(R || (R = {}));
798
- var ye;
763
+ var ve;
799
764
  (function(e) {
800
765
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
801
- })(ye || (ye = {}));
802
- function Rt(e) {
766
+ })(ve || (ve = {}));
767
+ function Pt(e) {
803
768
  return e.type === R.literal;
804
769
  }
805
- function gi(e) {
770
+ function oi(e) {
806
771
  return e.type === R.argument;
807
772
  }
808
- function Or(e) {
773
+ function wr(e) {
809
774
  return e.type === R.number;
810
775
  }
811
- function Lr(e) {
776
+ function Tr(e) {
812
777
  return e.type === R.date;
813
778
  }
814
- function Ir(e) {
779
+ function Sr(e) {
815
780
  return e.type === R.time;
816
781
  }
817
- function Nr(e) {
782
+ function Hr(e) {
818
783
  return e.type === R.select;
819
784
  }
820
- function Mr(e) {
785
+ function Br(e) {
821
786
  return e.type === R.plural;
822
787
  }
823
- function vi(e) {
788
+ function si(e) {
824
789
  return e.type === R.pound;
825
790
  }
826
- function Rr(e) {
791
+ function Pr(e) {
827
792
  return e.type === R.tag;
828
793
  }
829
- function Dr(e) {
830
- return !!(e && typeof e == "object" && e.type === ye.number);
794
+ function Ar(e) {
795
+ return !!(e && typeof e == "object" && e.type === ve.number);
831
796
  }
832
- function ht(e) {
833
- return !!(e && typeof e == "object" && e.type === ye.dateTime);
797
+ function st(e) {
798
+ return !!(e && typeof e == "object" && e.type === ve.dateTime);
834
799
  }
835
- var Fr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, yi = /(?:[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;
836
- function xi(e) {
800
+ var Or = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ai = /(?:[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;
801
+ function li(e) {
837
802
  var t = {};
838
- return e.replace(yi, function(r) {
803
+ return e.replace(ai, function(r) {
839
804
  var n = r.length;
840
805
  switch (r[0]) {
841
806
  case "G":
@@ -924,11 +889,11 @@ function xi(e) {
924
889
  return "";
925
890
  }), t;
926
891
  }
927
- var Ei = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
928
- function wi(e) {
892
+ var ui = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
893
+ function hi(e) {
929
894
  if (e.length === 0)
930
895
  throw new Error("Number skeleton cannot be empty");
931
- for (var t = e.split(Ei).filter(function(f) {
896
+ for (var t = e.split(ui).filter(function(f) {
932
897
  return f.length > 0;
933
898
  }), r = [], n = 0, i = t; n < i.length; n++) {
934
899
  var o = i[n], s = o.split("/");
@@ -943,17 +908,17 @@ function wi(e) {
943
908
  }
944
909
  return r;
945
910
  }
946
- function Ti(e) {
911
+ function ci(e) {
947
912
  return e.replace(/^(.*?)-/, "");
948
913
  }
949
- var Dt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Ur = /^(@+)?(\+|#+)?[rs]?$/g, Si = /(\*)(0+)|(#+)(0+)|(0+)/g, kr = /^(0+)$/;
950
- function Ft(e) {
914
+ var At = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Cr = /^(@+)?(\+|#+)?[rs]?$/g, fi = /(\*)(0+)|(#+)(0+)|(0+)/g, Nr = /^(0+)$/;
915
+ function Ot(e) {
951
916
  var t = {};
952
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Ur, function(r, n, i) {
917
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Cr, function(r, n, i) {
953
918
  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)), "";
954
919
  }), t;
955
920
  }
956
- function Gr(e) {
921
+ function Lr(e) {
957
922
  switch (e) {
958
923
  case "sign-auto":
959
924
  return {
@@ -993,7 +958,7 @@ function Gr(e) {
993
958
  };
994
959
  }
995
960
  }
996
- function Hi(e) {
961
+ function pi(e) {
997
962
  var t;
998
963
  if (e[0] === "E" && e[1] === "E" ? (t = {
999
964
  notation: "engineering"
@@ -1001,17 +966,17 @@ function Hi(e) {
1001
966
  notation: "scientific"
1002
967
  }, e = e.slice(1)), t) {
1003
968
  var r = e.slice(0, 2);
1004
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !kr.test(e))
969
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Nr.test(e))
1005
970
  throw new Error("Malformed concise eng/scientific notation");
1006
971
  t.minimumIntegerDigits = e.length;
1007
972
  }
1008
973
  return t;
1009
974
  }
1010
- function Ut(e) {
1011
- var t = {}, r = Gr(e);
975
+ function Ct(e) {
976
+ var t = {}, r = Lr(e);
1012
977
  return r || t;
1013
978
  }
1014
- function Bi(e) {
979
+ function mi(e) {
1015
980
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1016
981
  var i = n[r];
1017
982
  switch (i.stem) {
@@ -1035,7 +1000,7 @@ function Bi(e) {
1035
1000
  continue;
1036
1001
  case "measure-unit":
1037
1002
  case "unit":
1038
- t.style = "unit", t.unit = Ti(i.options[0]);
1003
+ t.style = "unit", t.unit = ci(i.options[0]);
1039
1004
  continue;
1040
1005
  case "compact-short":
1041
1006
  case "K":
@@ -1047,12 +1012,12 @@ function Bi(e) {
1047
1012
  continue;
1048
1013
  case "scientific":
1049
1014
  t = A(A(A({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1050
- return A(A({}, l), Ut(u));
1015
+ return A(A({}, l), Ct(u));
1051
1016
  }, {}));
1052
1017
  continue;
1053
1018
  case "engineering":
1054
1019
  t = A(A(A({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1055
- return A(A({}, l), Ut(u));
1020
+ return A(A({}, l), Ct(u));
1056
1021
  }, {}));
1057
1022
  continue;
1058
1023
  case "notation-simple":
@@ -1097,7 +1062,7 @@ function Bi(e) {
1097
1062
  case "integer-width":
1098
1063
  if (i.options.length > 1)
1099
1064
  throw new RangeError("integer-width stems only accept a single optional option");
1100
- i.options[0].replace(Si, function(l, u, h, c, f, b) {
1065
+ i.options[0].replace(fi, function(l, u, h, c, f, b) {
1101
1066
  if (u)
1102
1067
  t.minimumIntegerDigits = h.length;
1103
1068
  else {
@@ -1110,32 +1075,32 @@ function Bi(e) {
1110
1075
  });
1111
1076
  continue;
1112
1077
  }
1113
- if (kr.test(i.stem)) {
1078
+ if (Nr.test(i.stem)) {
1114
1079
  t.minimumIntegerDigits = i.stem.length;
1115
1080
  continue;
1116
1081
  }
1117
- if (Dt.test(i.stem)) {
1082
+ if (At.test(i.stem)) {
1118
1083
  if (i.options.length > 1)
1119
1084
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1120
- i.stem.replace(Dt, function(l, u, h, c, f, b) {
1085
+ i.stem.replace(At, function(l, u, h, c, f, b) {
1121
1086
  return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && b ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + b.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1122
1087
  });
1123
1088
  var o = i.options[0];
1124
- o === "w" ? t = A(A({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = A(A({}, t), Ft(o)));
1089
+ o === "w" ? t = A(A({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = A(A({}, t), Ot(o)));
1125
1090
  continue;
1126
1091
  }
1127
- if (Ur.test(i.stem)) {
1128
- t = A(A({}, t), Ft(i.stem));
1092
+ if (Cr.test(i.stem)) {
1093
+ t = A(A({}, t), Ot(i.stem));
1129
1094
  continue;
1130
1095
  }
1131
- var s = Gr(i.stem);
1096
+ var s = Lr(i.stem);
1132
1097
  s && (t = A(A({}, t), s));
1133
- var a = Hi(i.stem);
1098
+ var a = pi(i.stem);
1134
1099
  a && (t = A(A({}, t), a));
1135
1100
  }
1136
1101
  return t;
1137
1102
  }
1138
- var Re = {
1103
+ var Me = {
1139
1104
  "001": [
1140
1105
  "H",
1141
1106
  "h"
@@ -2550,13 +2515,13 @@ var Re = {
2550
2515
  "h"
2551
2516
  ]
2552
2517
  };
2553
- function Pi(e, t) {
2518
+ function di(e, t) {
2554
2519
  for (var r = "", n = 0; n < e.length; n++) {
2555
2520
  var i = e.charAt(n);
2556
2521
  if (i === "j") {
2557
2522
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2558
2523
  o++, n++;
2559
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Ai(t);
2524
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = bi(t);
2560
2525
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2561
2526
  r += l;
2562
2527
  for (; s-- > 0; )
@@ -2565,7 +2530,7 @@ function Pi(e, t) {
2565
2530
  }
2566
2531
  return r;
2567
2532
  }
2568
- function Ai(e) {
2533
+ function bi(e) {
2569
2534
  var t = e.hourCycle;
2570
2535
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2571
2536
  e.hourCycles && // @ts-ignore
@@ -2584,23 +2549,23 @@ function Ai(e) {
2584
2549
  }
2585
2550
  var r = e.language, n;
2586
2551
  r !== "root" && (n = e.maximize().region);
2587
- var i = Re[n || ""] || Re[r || ""] || Re["".concat(r, "-001")] || Re["001"];
2552
+ var i = Me[n || ""] || Me[r || ""] || Me["".concat(r, "-001")] || Me["001"];
2588
2553
  return i[0];
2589
2554
  }
2590
- var tt, Ci = new RegExp("^".concat(Fr.source, "*")), Oi = new RegExp("".concat(Fr.source, "*$"));
2555
+ var Ye, _i = new RegExp("^".concat(Or.source, "*")), gi = new RegExp("".concat(Or.source, "*$"));
2591
2556
  function B(e, t) {
2592
2557
  return { start: e, end: t };
2593
2558
  }
2594
- var Li = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ii = !!String.fromCodePoint, Ni = !!Object.fromEntries, Mi = !!String.prototype.codePointAt, Ri = !!String.prototype.trimStart, Di = !!String.prototype.trimEnd, Fi = !!Number.isSafeInteger, Ui = Fi ? Number.isSafeInteger : function(e) {
2559
+ var vi = !!String.prototype.startsWith && "_a".startsWith("a", 1), yi = !!String.fromCodePoint, xi = !!Object.fromEntries, Ei = !!String.prototype.codePointAt, wi = !!String.prototype.trimStart, Ti = !!String.prototype.trimEnd, Si = !!Number.isSafeInteger, Hi = Si ? Number.isSafeInteger : function(e) {
2595
2560
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2596
- }, ct = !0;
2561
+ }, at = !0;
2597
2562
  try {
2598
- var ki = jr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2599
- ct = ((tt = ki.exec("a")) === null || tt === void 0 ? void 0 : tt[0]) === "a";
2600
- } catch (e) {
2601
- ct = !1;
2563
+ var Bi = Mr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2564
+ at = ((Ye = Bi.exec("a")) === null || Ye === void 0 ? void 0 : Ye[0]) === "a";
2565
+ } catch {
2566
+ at = !1;
2602
2567
  }
2603
- var kt = Li ? (
2568
+ var Nt = vi ? (
2604
2569
  // Native
2605
2570
  function(t, r, n) {
2606
2571
  return t.startsWith(r, n);
@@ -2610,7 +2575,7 @@ var kt = Li ? (
2610
2575
  function(t, r, n) {
2611
2576
  return t.slice(n, n + r.length) === r;
2612
2577
  }
2613
- ), ft = Ii ? String.fromCodePoint : (
2578
+ ), lt = yi ? String.fromCodePoint : (
2614
2579
  // IE11
2615
2580
  function() {
2616
2581
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2622,9 +2587,9 @@ var kt = Li ? (
2622
2587
  }
2623
2588
  return n;
2624
2589
  }
2625
- ), Gt = (
2590
+ ), Lt = (
2626
2591
  // native
2627
- Ni ? Object.fromEntries : (
2592
+ xi ? Object.fromEntries : (
2628
2593
  // Ponyfill
2629
2594
  function(t) {
2630
2595
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2634,7 +2599,7 @@ var kt = Li ? (
2634
2599
  return r;
2635
2600
  }
2636
2601
  )
2637
- ), $r = Mi ? (
2602
+ ), Ir = Ei ? (
2638
2603
  // Native
2639
2604
  function(t, r) {
2640
2605
  return t.codePointAt(r);
@@ -2648,7 +2613,7 @@ var kt = Li ? (
2648
2613
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2649
2614
  }
2650
2615
  }
2651
- ), Gi = Ri ? (
2616
+ ), Pi = wi ? (
2652
2617
  // Native
2653
2618
  function(t) {
2654
2619
  return t.trimStart();
@@ -2656,9 +2621,9 @@ var kt = Li ? (
2656
2621
  ) : (
2657
2622
  // Ponyfill
2658
2623
  function(t) {
2659
- return t.replace(Ci, "");
2624
+ return t.replace(_i, "");
2660
2625
  }
2661
- ), $i = Di ? (
2626
+ ), Ai = Ti ? (
2662
2627
  // Native
2663
2628
  function(t) {
2664
2629
  return t.trimEnd();
@@ -2666,32 +2631,32 @@ var kt = Li ? (
2666
2631
  ) : (
2667
2632
  // Ponyfill
2668
2633
  function(t) {
2669
- return t.replace(Oi, "");
2634
+ return t.replace(gi, "");
2670
2635
  }
2671
2636
  );
2672
- function jr(e, t) {
2637
+ function Mr(e, t) {
2673
2638
  return new RegExp(e, t);
2674
2639
  }
2675
- var pt;
2676
- if (ct) {
2677
- var $t = jr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2678
- pt = function(t, r) {
2640
+ var ut;
2641
+ if (at) {
2642
+ var It = Mr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2643
+ ut = function(t, r) {
2679
2644
  var n;
2680
- $t.lastIndex = r;
2681
- var i = $t.exec(t);
2645
+ It.lastIndex = r;
2646
+ var i = It.exec(t);
2682
2647
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2683
2648
  };
2684
2649
  } else
2685
- pt = function(t, r) {
2650
+ ut = function(t, r) {
2686
2651
  for (var n = []; ; ) {
2687
- var i = $r(t, r);
2688
- if (i === void 0 || Vr(i) || Xi(i))
2652
+ var i = Ir(t, r);
2653
+ if (i === void 0 || Rr(i) || Li(i))
2689
2654
  break;
2690
2655
  n.push(i), r += i >= 65536 ? 2 : 1;
2691
2656
  }
2692
- return ft.apply(void 0, n);
2657
+ return lt.apply(void 0, n);
2693
2658
  };
2694
- var ji = (
2659
+ var Oi = (
2695
2660
  /** @class */
2696
2661
  function() {
2697
2662
  function e(t, r) {
@@ -2722,7 +2687,7 @@ var ji = (
2722
2687
  if (n)
2723
2688
  break;
2724
2689
  return this.error(H.UNMATCHED_CLOSING_TAG, B(this.clonePosition(), this.clonePosition()));
2725
- } else if (o === 60 && !this.ignoreTag && mt(this.peek() || 0)) {
2690
+ } else if (o === 60 && !this.ignoreTag && ht(this.peek() || 0)) {
2726
2691
  var s = this.parseTag(t, r);
2727
2692
  if (s.err)
2728
2693
  return s;
@@ -2755,7 +2720,7 @@ var ji = (
2755
2720
  return o;
2756
2721
  var s = o.val, a = this.clonePosition();
2757
2722
  if (this.bumpIf("</")) {
2758
- if (this.isEOF() || !mt(this.char()))
2723
+ if (this.isEOF() || !ht(this.char()))
2759
2724
  return this.error(H.INVALID_TAG, B(a, this.clonePosition()));
2760
2725
  var l = this.clonePosition(), u = this.parseTagName();
2761
2726
  return i !== u ? this.error(H.UNMATCHED_CLOSING_TAG, B(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
@@ -2773,7 +2738,7 @@ var ji = (
2773
2738
  return this.error(H.INVALID_TAG, B(n, this.clonePosition()));
2774
2739
  }, e.prototype.parseTagName = function() {
2775
2740
  var t = this.offset();
2776
- for (this.bump(); !this.isEOF() && zi(this.char()); )
2741
+ for (this.bump(); !this.isEOF() && Ni(this.char()); )
2777
2742
  this.bump();
2778
2743
  return this.message.slice(t, this.offset());
2779
2744
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2802,7 +2767,7 @@ var ji = (
2802
2767
  };
2803
2768
  }, e.prototype.tryParseLeftAngleBracket = function() {
2804
2769
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2805
- !Vi(this.peek() || 0)) ? (this.bump(), "<") : null;
2770
+ !Ci(this.peek() || 0)) ? (this.bump(), "<") : null;
2806
2771
  }, e.prototype.tryParseQuote = function(t) {
2807
2772
  if (this.isEOF() || this.char() !== 39)
2808
2773
  return null;
@@ -2836,12 +2801,12 @@ var ji = (
2836
2801
  r.push(n);
2837
2802
  this.bump();
2838
2803
  }
2839
- return ft.apply(void 0, r);
2804
+ return lt.apply(void 0, r);
2840
2805
  }, e.prototype.tryParseUnquoted = function(t, r) {
2841
2806
  if (this.isEOF())
2842
2807
  return null;
2843
2808
  var n = this.char();
2844
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ft(n));
2809
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), lt(n));
2845
2810
  }, e.prototype.parseArgument = function(t, r) {
2846
2811
  var n = this.clonePosition();
2847
2812
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -2870,7 +2835,7 @@ var ji = (
2870
2835
  return this.error(H.MALFORMED_ARGUMENT, B(n, this.clonePosition()));
2871
2836
  }
2872
2837
  }, e.prototype.parseIdentifierIfPossible = function() {
2873
- var t = this.clonePosition(), r = this.offset(), n = pt(this.message, r), i = r + n.length;
2838
+ var t = this.clonePosition(), r = this.offset(), n = ut(this.message, r), i = r + n.length;
2874
2839
  this.bumpTo(i);
2875
2840
  var o = this.clonePosition(), s = B(t, o);
2876
2841
  return { value: n, location: s };
@@ -2889,7 +2854,7 @@ var ji = (
2889
2854
  var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2890
2855
  if (c.err)
2891
2856
  return c;
2892
- var f = $i(c.val);
2857
+ var f = Ai(c.val);
2893
2858
  if (f.length === 0)
2894
2859
  return this.error(H.EXPECT_ARGUMENT_STYLE, B(this.clonePosition(), this.clonePosition()));
2895
2860
  var b = B(h, this.clonePosition());
@@ -2899,27 +2864,27 @@ var ji = (
2899
2864
  if (v.err)
2900
2865
  return v;
2901
2866
  var _ = B(i, this.clonePosition());
2902
- if (u && kt(u == null ? void 0 : u.style, "::", 0)) {
2903
- var C = Gi(u.style.slice(2));
2867
+ if (u && Nt(u?.style, "::", 0)) {
2868
+ var O = Pi(u.style.slice(2));
2904
2869
  if (a === "number") {
2905
- var c = this.parseNumberSkeletonFromString(C, u.styleLocation);
2870
+ var c = this.parseNumberSkeletonFromString(O, u.styleLocation);
2906
2871
  return c.err ? c : {
2907
2872
  val: { type: R.number, value: n, location: _, style: c.val },
2908
2873
  err: null
2909
2874
  };
2910
2875
  } else {
2911
- if (C.length === 0)
2876
+ if (O.length === 0)
2912
2877
  return this.error(H.EXPECT_DATE_TIME_SKELETON, _);
2913
- var N = C;
2914
- this.locale && (N = Pi(C, this.locale));
2878
+ var I = O;
2879
+ this.locale && (I = di(O, this.locale));
2915
2880
  var f = {
2916
- type: ye.dateTime,
2917
- pattern: N,
2881
+ type: ve.dateTime,
2882
+ pattern: I,
2918
2883
  location: u.styleLocation,
2919
- parsedOptions: this.shouldParseSkeletons ? xi(N) : {}
2920
- }, O = a === "date" ? R.date : R.time;
2884
+ parsedOptions: this.shouldParseSkeletons ? li(I) : {}
2885
+ }, C = a === "date" ? R.date : R.time;
2921
2886
  return {
2922
- val: { type: O, value: n, location: _, style: f },
2887
+ val: { type: C, value: n, location: _, style: f },
2923
2888
  err: null
2924
2889
  };
2925
2890
  }
@@ -2929,7 +2894,7 @@ var ji = (
2929
2894
  type: a === "number" ? R.number : a === "date" ? R.date : R.time,
2930
2895
  value: n,
2931
2896
  location: _,
2932
- style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
2897
+ style: (o = u?.style) !== null && o !== void 0 ? o : null
2933
2898
  },
2934
2899
  err: null
2935
2900
  };
@@ -2937,21 +2902,21 @@ var ji = (
2937
2902
  case "plural":
2938
2903
  case "selectordinal":
2939
2904
  case "select": {
2940
- var L = this.clonePosition();
2905
+ var N = this.clonePosition();
2941
2906
  if (this.bumpSpace(), !this.bumpIf(","))
2942
- return this.error(H.EXPECT_SELECT_ARGUMENT_OPTIONS, B(L, A({}, L)));
2907
+ return this.error(H.EXPECT_SELECT_ARGUMENT_OPTIONS, B(N, A({}, N)));
2943
2908
  this.bumpSpace();
2944
- var k = this.parseIdentifierIfPossible(), P = 0;
2945
- if (a !== "select" && k.value === "offset") {
2909
+ var U = this.parseIdentifierIfPossible(), P = 0;
2910
+ if (a !== "select" && U.value === "offset") {
2946
2911
  if (!this.bumpIf(":"))
2947
2912
  return this.error(H.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, B(this.clonePosition(), this.clonePosition()));
2948
2913
  this.bumpSpace();
2949
2914
  var c = this.tryParseDecimalInteger(H.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, H.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2950
2915
  if (c.err)
2951
2916
  return c;
2952
- this.bumpSpace(), k = this.parseIdentifierIfPossible(), P = c.val;
2917
+ this.bumpSpace(), U = this.parseIdentifierIfPossible(), P = c.val;
2953
2918
  }
2954
- var y = this.tryParsePluralOrSelectOptions(t, a, r, k);
2919
+ var y = this.tryParsePluralOrSelectOptions(t, a, r, U);
2955
2920
  if (y.err)
2956
2921
  return y;
2957
2922
  var v = this.tryParseArgumentClose(i);
@@ -2962,7 +2927,7 @@ var ji = (
2962
2927
  val: {
2963
2928
  type: R.select,
2964
2929
  value: n,
2965
- options: Gt(y.val),
2930
+ options: Lt(y.val),
2966
2931
  location: x
2967
2932
  },
2968
2933
  err: null
@@ -2970,7 +2935,7 @@ var ji = (
2970
2935
  val: {
2971
2936
  type: R.plural,
2972
2937
  value: n,
2973
- options: Gt(y.val),
2938
+ options: Lt(y.val),
2974
2939
  offset: P,
2975
2940
  pluralType: a === "plural" ? "cardinal" : "ordinal",
2976
2941
  location: x
@@ -3021,16 +2986,16 @@ var ji = (
3021
2986
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3022
2987
  var n = [];
3023
2988
  try {
3024
- n = wi(t);
3025
- } catch (i) {
2989
+ n = hi(t);
2990
+ } catch {
3026
2991
  return this.error(H.INVALID_NUMBER_SKELETON, r);
3027
2992
  }
3028
2993
  return {
3029
2994
  val: {
3030
- type: ye.number,
2995
+ type: ve.number,
3031
2996
  tokens: n,
3032
2997
  location: r,
3033
- parsedOptions: this.shouldParseSkeletons ? Bi(n) : {}
2998
+ parsedOptions: this.shouldParseSkeletons ? mi(n) : {}
3034
2999
  },
3035
3000
  err: null
3036
3001
  };
@@ -3078,7 +3043,7 @@ var ji = (
3078
3043
  break;
3079
3044
  }
3080
3045
  var l = B(i, this.clonePosition());
3081
- return o ? (s *= n, Ui(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3046
+ return o ? (s *= n, Hi(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3082
3047
  }, e.prototype.offset = function() {
3083
3048
  return this.position.offset;
3084
3049
  }, e.prototype.isEOF = function() {
@@ -3093,7 +3058,7 @@ var ji = (
3093
3058
  var t = this.position.offset;
3094
3059
  if (t >= this.message.length)
3095
3060
  throw Error("out of bound");
3096
- var r = $r(this.message, t);
3061
+ var r = Ir(this.message, t);
3097
3062
  if (r === void 0)
3098
3063
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3099
3064
  return r;
@@ -3112,7 +3077,7 @@ var ji = (
3112
3077
  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);
3113
3078
  }
3114
3079
  }, e.prototype.bumpIf = function(t) {
3115
- if (kt(this.message, t, this.offset())) {
3080
+ if (Nt(this.message, t, this.offset())) {
3116
3081
  for (var r = 0; r < t.length; r++)
3117
3082
  this.bump();
3118
3083
  return !0;
@@ -3134,56 +3099,56 @@ var ji = (
3134
3099
  break;
3135
3100
  }
3136
3101
  }, e.prototype.bumpSpace = function() {
3137
- for (; !this.isEOF() && Vr(this.char()); )
3102
+ for (; !this.isEOF() && Rr(this.char()); )
3138
3103
  this.bump();
3139
3104
  }, e.prototype.peek = function() {
3140
3105
  if (this.isEOF())
3141
3106
  return null;
3142
3107
  var t = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
3143
- return n != null ? n : null;
3108
+ return n ?? null;
3144
3109
  }, e;
3145
3110
  }()
3146
3111
  );
3147
- function mt(e) {
3112
+ function ht(e) {
3148
3113
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3149
3114
  }
3150
- function Vi(e) {
3151
- return mt(e) || e === 47;
3115
+ function Ci(e) {
3116
+ return ht(e) || e === 47;
3152
3117
  }
3153
- function zi(e) {
3118
+ function Ni(e) {
3154
3119
  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;
3155
3120
  }
3156
- function Vr(e) {
3121
+ function Rr(e) {
3157
3122
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3158
3123
  }
3159
- function Xi(e) {
3124
+ function Li(e) {
3160
3125
  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;
3161
3126
  }
3162
- function dt(e) {
3127
+ function ct(e) {
3163
3128
  e.forEach(function(t) {
3164
- if (delete t.location, Nr(t) || Mr(t))
3129
+ if (delete t.location, Hr(t) || Br(t))
3165
3130
  for (var r in t.options)
3166
- delete t.options[r].location, dt(t.options[r].value);
3167
- else Or(t) && Dr(t.style) || (Lr(t) || Ir(t)) && ht(t.style) ? delete t.style.location : Rr(t) && dt(t.children);
3131
+ delete t.options[r].location, ct(t.options[r].value);
3132
+ else wr(t) && Ar(t.style) || (Tr(t) || Sr(t)) && st(t.style) ? delete t.style.location : Pr(t) && ct(t.children);
3168
3133
  });
3169
3134
  }
3170
- function Wi(e, t) {
3135
+ function Ii(e, t) {
3171
3136
  t === void 0 && (t = {}), t = A({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3172
- var r = new ji(e, t).parse();
3137
+ var r = new Oi(e, t).parse();
3173
3138
  if (r.err) {
3174
3139
  var n = SyntaxError(H[r.err.kind]);
3175
3140
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3176
3141
  }
3177
- return t != null && t.captureLocation || dt(r.val), r.val;
3142
+ return t?.captureLocation || ct(r.val), r.val;
3178
3143
  }
3179
- var xe;
3144
+ var ye;
3180
3145
  (function(e) {
3181
3146
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3182
- })(xe || (xe = {}));
3183
- var Xe = (
3147
+ })(ye || (ye = {}));
3148
+ var ze = (
3184
3149
  /** @class */
3185
3150
  function(e) {
3186
- ie(t, e);
3151
+ ne(t, e);
3187
3152
  function t(r, n, i) {
3188
3153
  var o = e.call(this, r) || this;
3189
3154
  return o.code = n, o.originalMessage = i, o;
@@ -3192,48 +3157,48 @@ var Xe = (
3192
3157
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3193
3158
  }, t;
3194
3159
  }(Error)
3195
- ), jt = (
3160
+ ), Mt = (
3196
3161
  /** @class */
3197
3162
  function(e) {
3198
- ie(t, e);
3163
+ ne(t, e);
3199
3164
  function t(r, n, i, o) {
3200
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), xe.INVALID_VALUE, o) || this;
3165
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ye.INVALID_VALUE, o) || this;
3201
3166
  }
3202
3167
  return t;
3203
- }(Xe)
3204
- ), Zi = (
3168
+ }(ze)
3169
+ ), Mi = (
3205
3170
  /** @class */
3206
3171
  function(e) {
3207
- ie(t, e);
3172
+ ne(t, e);
3208
3173
  function t(r, n, i) {
3209
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), xe.INVALID_VALUE, i) || this;
3174
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ye.INVALID_VALUE, i) || this;
3210
3175
  }
3211
3176
  return t;
3212
- }(Xe)
3213
- ), qi = (
3177
+ }(ze)
3178
+ ), Ri = (
3214
3179
  /** @class */
3215
3180
  function(e) {
3216
- ie(t, e);
3181
+ ne(t, e);
3217
3182
  function t(r, n) {
3218
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), xe.MISSING_VALUE, n) || this;
3183
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ye.MISSING_VALUE, n) || this;
3219
3184
  }
3220
3185
  return t;
3221
- }(Xe)
3186
+ }(ze)
3222
3187
  ), X;
3223
3188
  (function(e) {
3224
3189
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3225
3190
  })(X || (X = {}));
3226
- function Qi(e) {
3191
+ function Di(e) {
3227
3192
  return e.length < 2 ? e : e.reduce(function(t, r) {
3228
3193
  var n = t[t.length - 1];
3229
3194
  return !n || n.type !== X.literal || r.type !== X.literal ? t.push(r) : n.value += r.value, t;
3230
3195
  }, []);
3231
3196
  }
3232
- function Ji(e) {
3197
+ function Fi(e) {
3233
3198
  return typeof e == "function";
3234
3199
  }
3235
- function Ue(e, t, r, n, i, o, s) {
3236
- if (e.length === 1 && Rt(e[0]))
3200
+ function Fe(e, t, r, n, i, o, s) {
3201
+ if (e.length === 1 && Pt(e[0]))
3237
3202
  return [
3238
3203
  {
3239
3204
  type: X.literal,
@@ -3242,14 +3207,14 @@ function Ue(e, t, r, n, i, o, s) {
3242
3207
  ];
3243
3208
  for (var a = [], l = 0, u = e; l < u.length; l++) {
3244
3209
  var h = u[l];
3245
- if (Rt(h)) {
3210
+ if (Pt(h)) {
3246
3211
  a.push({
3247
3212
  type: X.literal,
3248
3213
  value: h.value
3249
3214
  });
3250
3215
  continue;
3251
3216
  }
3252
- if (vi(h)) {
3217
+ if (si(h)) {
3253
3218
  typeof o == "number" && a.push({
3254
3219
  type: X.literal,
3255
3220
  value: r.getNumberFormat(t).format(o)
@@ -3258,89 +3223,89 @@ function Ue(e, t, r, n, i, o, s) {
3258
3223
  }
3259
3224
  var c = h.value;
3260
3225
  if (!(i && c in i))
3261
- throw new qi(c, s);
3226
+ throw new Ri(c, s);
3262
3227
  var f = i[c];
3263
- if (gi(h)) {
3228
+ if (oi(h)) {
3264
3229
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3265
3230
  type: typeof f == "string" ? X.literal : X.object,
3266
3231
  value: f
3267
3232
  });
3268
3233
  continue;
3269
3234
  }
3270
- if (Lr(h)) {
3271
- var b = typeof h.style == "string" ? n.date[h.style] : ht(h.style) ? h.style.parsedOptions : void 0;
3235
+ if (Tr(h)) {
3236
+ var b = typeof h.style == "string" ? n.date[h.style] : st(h.style) ? h.style.parsedOptions : void 0;
3272
3237
  a.push({
3273
3238
  type: X.literal,
3274
3239
  value: r.getDateTimeFormat(t, b).format(f)
3275
3240
  });
3276
3241
  continue;
3277
3242
  }
3278
- if (Ir(h)) {
3279
- var b = typeof h.style == "string" ? n.time[h.style] : ht(h.style) ? h.style.parsedOptions : n.time.medium;
3243
+ if (Sr(h)) {
3244
+ var b = typeof h.style == "string" ? n.time[h.style] : st(h.style) ? h.style.parsedOptions : n.time.medium;
3280
3245
  a.push({
3281
3246
  type: X.literal,
3282
3247
  value: r.getDateTimeFormat(t, b).format(f)
3283
3248
  });
3284
3249
  continue;
3285
3250
  }
3286
- if (Or(h)) {
3287
- var b = typeof h.style == "string" ? n.number[h.style] : Dr(h.style) ? h.style.parsedOptions : void 0;
3251
+ if (wr(h)) {
3252
+ var b = typeof h.style == "string" ? n.number[h.style] : Ar(h.style) ? h.style.parsedOptions : void 0;
3288
3253
  b && b.scale && (f = f * (b.scale || 1)), a.push({
3289
3254
  type: X.literal,
3290
3255
  value: r.getNumberFormat(t, b).format(f)
3291
3256
  });
3292
3257
  continue;
3293
3258
  }
3294
- if (Rr(h)) {
3295
- var v = h.children, _ = h.value, C = i[_];
3296
- if (!Ji(C))
3297
- throw new Zi(_, "function", s);
3298
- var N = Ue(v, t, r, n, i, o), O = C(N.map(function(P) {
3259
+ if (Pr(h)) {
3260
+ var v = h.children, _ = h.value, O = i[_];
3261
+ if (!Fi(O))
3262
+ throw new Mi(_, "function", s);
3263
+ var I = Fe(v, t, r, n, i, o), C = O(I.map(function(P) {
3299
3264
  return P.value;
3300
3265
  }));
3301
- Array.isArray(O) || (O = [O]), a.push.apply(a, O.map(function(P) {
3266
+ Array.isArray(C) || (C = [C]), a.push.apply(a, C.map(function(P) {
3302
3267
  return {
3303
3268
  type: typeof P == "string" ? X.literal : X.object,
3304
3269
  value: P
3305
3270
  };
3306
3271
  }));
3307
3272
  }
3308
- if (Nr(h)) {
3309
- var L = h.options[f] || h.options.other;
3310
- if (!L)
3311
- throw new jt(h.value, f, Object.keys(h.options), s);
3312
- a.push.apply(a, Ue(L.value, t, r, n, i));
3273
+ if (Hr(h)) {
3274
+ var N = h.options[f] || h.options.other;
3275
+ if (!N)
3276
+ throw new Mt(h.value, f, Object.keys(h.options), s);
3277
+ a.push.apply(a, Fe(N.value, t, r, n, i));
3313
3278
  continue;
3314
3279
  }
3315
- if (Mr(h)) {
3316
- var L = h.options["=".concat(f)];
3317
- if (!L) {
3280
+ if (Br(h)) {
3281
+ var N = h.options["=".concat(f)];
3282
+ if (!N) {
3318
3283
  if (!Intl.PluralRules)
3319
- throw new Xe(`Intl.PluralRules is not available in this environment.
3284
+ throw new ze(`Intl.PluralRules is not available in this environment.
3320
3285
  Try polyfilling it using "@formatjs/intl-pluralrules"
3321
- `, xe.MISSING_INTL_API, s);
3322
- var k = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3323
- L = h.options[k] || h.options.other;
3286
+ `, ye.MISSING_INTL_API, s);
3287
+ var U = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3288
+ N = h.options[U] || h.options.other;
3324
3289
  }
3325
- if (!L)
3326
- throw new jt(h.value, f, Object.keys(h.options), s);
3327
- a.push.apply(a, Ue(L.value, t, r, n, i, f - (h.offset || 0)));
3290
+ if (!N)
3291
+ throw new Mt(h.value, f, Object.keys(h.options), s);
3292
+ a.push.apply(a, Fe(N.value, t, r, n, i, f - (h.offset || 0)));
3328
3293
  continue;
3329
3294
  }
3330
3295
  }
3331
- return Qi(a);
3296
+ return Di(a);
3332
3297
  }
3333
- function Yi(e, t) {
3298
+ function ki(e, t) {
3334
3299
  return t ? A(A(A({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3335
3300
  return r[n] = A(A({}, e[n]), t[n] || {}), r;
3336
3301
  }, {})) : e;
3337
3302
  }
3338
- function Ki(e, t) {
3303
+ function Ui(e, t) {
3339
3304
  return t ? Object.keys(e).reduce(function(r, n) {
3340
- return r[n] = Yi(e[n], t[n]), r;
3305
+ return r[n] = ki(e[n], t[n]), r;
3341
3306
  }, A({}, e)) : e;
3342
3307
  }
3343
- function rt(e) {
3308
+ function Ke(e) {
3344
3309
  return {
3345
3310
  create: function() {
3346
3311
  return {
@@ -3354,39 +3319,39 @@ function rt(e) {
3354
3319
  }
3355
3320
  };
3356
3321
  }
3357
- function eo(e) {
3322
+ function Gi(e) {
3358
3323
  return e === void 0 && (e = {
3359
3324
  number: {},
3360
3325
  dateTime: {},
3361
3326
  pluralRules: {}
3362
3327
  }), {
3363
- getNumberFormat: Ke(function() {
3328
+ getNumberFormat: Qe(function() {
3364
3329
  for (var t, r = [], n = 0; n < arguments.length; n++)
3365
3330
  r[n] = arguments[n];
3366
- return new ((t = Intl.NumberFormat).bind.apply(t, _e([void 0], r, !1)))();
3331
+ return new ((t = Intl.NumberFormat).bind.apply(t, be([void 0], r, !1)))();
3367
3332
  }, {
3368
- cache: rt(e.number),
3369
- strategy: et.variadic
3333
+ cache: Ke(e.number),
3334
+ strategy: Je.variadic
3370
3335
  }),
3371
- getDateTimeFormat: Ke(function() {
3336
+ getDateTimeFormat: Qe(function() {
3372
3337
  for (var t, r = [], n = 0; n < arguments.length; n++)
3373
3338
  r[n] = arguments[n];
3374
- return new ((t = Intl.DateTimeFormat).bind.apply(t, _e([void 0], r, !1)))();
3339
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, be([void 0], r, !1)))();
3375
3340
  }, {
3376
- cache: rt(e.dateTime),
3377
- strategy: et.variadic
3341
+ cache: Ke(e.dateTime),
3342
+ strategy: Je.variadic
3378
3343
  }),
3379
- getPluralRules: Ke(function() {
3344
+ getPluralRules: Qe(function() {
3380
3345
  for (var t, r = [], n = 0; n < arguments.length; n++)
3381
3346
  r[n] = arguments[n];
3382
- return new ((t = Intl.PluralRules).bind.apply(t, _e([void 0], r, !1)))();
3347
+ return new ((t = Intl.PluralRules).bind.apply(t, be([void 0], r, !1)))();
3383
3348
  }, {
3384
- cache: rt(e.pluralRules),
3385
- strategy: et.variadic
3349
+ cache: Ke(e.pluralRules),
3350
+ strategy: Je.variadic
3386
3351
  })
3387
3352
  };
3388
3353
  }
3389
- var to = (
3354
+ var $i = (
3390
3355
  /** @class */
3391
3356
  function() {
3392
3357
  function e(t, r, n, i) {
@@ -3405,7 +3370,7 @@ var to = (
3405
3370
  }, []);
3406
3371
  return h.length <= 1 ? h[0] || "" : h;
3407
3372
  }, this.formatToParts = function(l) {
3408
- return Ue(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3373
+ return Fe(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3409
3374
  }, this.resolvedOptions = function() {
3410
3375
  var l;
3411
3376
  return {
@@ -3418,13 +3383,13 @@ var to = (
3418
3383
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3419
3384
  var s = i || {};
3420
3385
  s.formatters;
3421
- var a = ci(s, ["formatters"]);
3386
+ var a = Jn(s, ["formatters"]);
3422
3387
  this.ast = e.__parse(t, A(A({}, a), { locale: this.resolvedLocale }));
3423
3388
  } else
3424
3389
  this.ast = t;
3425
3390
  if (!Array.isArray(this.ast))
3426
3391
  throw new TypeError("A message must be provided as a String or AST.");
3427
- this.formats = Ki(e.formats, n), this.formatters = i && i.formatters || eo(this.formatterCache);
3392
+ this.formats = Ui(e.formats, n), this.formatters = i && i.formatters || Gi(this.formatterCache);
3428
3393
  }
3429
3394
  return Object.defineProperty(e, "defaultLocale", {
3430
3395
  get: function() {
@@ -3433,11 +3398,11 @@ var to = (
3433
3398
  enumerable: !1,
3434
3399
  configurable: !0
3435
3400
  }), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
3436
- if (typeof Intl.Locale != "undefined") {
3401
+ if (!(typeof Intl.Locale > "u")) {
3437
3402
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3438
3403
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3439
3404
  }
3440
- }, e.__parse = Wi, e.formats = {
3405
+ }, e.__parse = Ii, e.formats = {
3441
3406
  number: {
3442
3407
  integer: {
3443
3408
  maximumFractionDigits: 0
@@ -3498,7 +3463,7 @@ var to = (
3498
3463
  }, e;
3499
3464
  }()
3500
3465
  );
3501
- function ro(e, t) {
3466
+ function ji(e, t) {
3502
3467
  if (t == null)
3503
3468
  return;
3504
3469
  if (t in e)
@@ -3519,92 +3484,92 @@ function ro(e, t) {
3519
3484
  n = void 0;
3520
3485
  return n;
3521
3486
  }
3522
- const ae = {}, no = (e, t, r) => r && (t in ae || (ae[t] = {}), e in ae[t] || (ae[t][e] = r), r), zr = (e, t) => {
3487
+ const se = {}, Vi = (e, t, r) => r && (t in se || (se[t] = {}), e in se[t] || (se[t][e] = r), r), Dr = (e, t) => {
3523
3488
  if (t == null)
3524
3489
  return;
3525
- if (t in ae && e in ae[t])
3526
- return ae[t][e];
3527
- const r = We(t);
3490
+ if (t in se && e in se[t])
3491
+ return se[t][e];
3492
+ const r = Xe(t);
3528
3493
  for (let n = 0; n < r.length; n++) {
3529
- const i = r[n], o = oo(i, e);
3494
+ const i = r[n], o = Xi(i, e);
3530
3495
  if (o)
3531
- return no(e, t, o);
3496
+ return Vi(e, t, o);
3532
3497
  }
3533
3498
  };
3534
- let Tt;
3535
- const Se = ze({});
3536
- function io(e) {
3537
- return Tt[e] || null;
3499
+ let vt;
3500
+ const Te = Ve({});
3501
+ function zi(e) {
3502
+ return vt[e] || null;
3538
3503
  }
3539
- function Xr(e) {
3540
- return e in Tt;
3504
+ function Fr(e) {
3505
+ return e in vt;
3541
3506
  }
3542
- function oo(e, t) {
3543
- if (!Xr(e))
3507
+ function Xi(e, t) {
3508
+ if (!Fr(e))
3544
3509
  return null;
3545
- const r = io(e);
3546
- return ro(r, t);
3510
+ const r = zi(e);
3511
+ return ji(r, t);
3547
3512
  }
3548
- function so(e) {
3513
+ function Wi(e) {
3549
3514
  if (e == null)
3550
3515
  return;
3551
- const t = We(e);
3516
+ const t = Xe(e);
3552
3517
  for (let r = 0; r < t.length; r++) {
3553
3518
  const n = t[r];
3554
- if (Xr(n))
3519
+ if (Fr(n))
3555
3520
  return n;
3556
3521
  }
3557
3522
  }
3558
- function Wr(e, ...t) {
3559
- delete ae[e], Se.update((r) => (r[e] = hi.all([r[e] || {}, ...t]), r));
3523
+ function kr(e, ...t) {
3524
+ delete se[e], Te.update((r) => (r[e] = Qn.all([r[e] || {}, ...t]), r));
3560
3525
  }
3561
- Te(
3562
- [Se],
3526
+ we(
3527
+ [Te],
3563
3528
  ([e]) => Object.keys(e)
3564
3529
  );
3565
- Se.subscribe((e) => Tt = e);
3530
+ Te.subscribe((e) => vt = e);
3566
3531
  const ke = {};
3567
- function ao(e, t) {
3532
+ function Zi(e, t) {
3568
3533
  ke[e].delete(t), ke[e].size === 0 && delete ke[e];
3569
3534
  }
3570
- function Zr(e) {
3535
+ function Ur(e) {
3571
3536
  return ke[e];
3572
3537
  }
3573
- function lo(e) {
3574
- return We(e).map((t) => {
3575
- const r = Zr(t);
3538
+ function qi(e) {
3539
+ return Xe(e).map((t) => {
3540
+ const r = Ur(t);
3576
3541
  return [t, r ? [...r] : []];
3577
3542
  }).filter(([, t]) => t.length > 0);
3578
3543
  }
3579
- function bt(e) {
3580
- return e == null ? !1 : We(e).some(
3544
+ function ft(e) {
3545
+ return e == null ? !1 : Xe(e).some(
3581
3546
  (t) => {
3582
3547
  var r;
3583
- return (r = Zr(t)) == null ? void 0 : r.size;
3548
+ return (r = Ur(t)) == null ? void 0 : r.size;
3584
3549
  }
3585
3550
  );
3586
3551
  }
3587
- function uo(e, t) {
3552
+ function Qi(e, t) {
3588
3553
  return Promise.all(
3589
- t.map((n) => (ao(e, n), n().then((i) => i.default || i)))
3590
- ).then((n) => Wr(e, ...n));
3591
- }
3592
- const Pe = {};
3593
- function qr(e) {
3594
- if (!bt(e))
3595
- return e in Pe ? Pe[e] : Promise.resolve();
3596
- const t = lo(e);
3597
- return Pe[e] = Promise.all(
3554
+ t.map((n) => (Zi(e, n), n().then((i) => i.default || i)))
3555
+ ).then((n) => kr(e, ...n));
3556
+ }
3557
+ const Be = {};
3558
+ function Gr(e) {
3559
+ if (!ft(e))
3560
+ return e in Be ? Be[e] : Promise.resolve();
3561
+ const t = qi(e);
3562
+ return Be[e] = Promise.all(
3598
3563
  t.map(
3599
- ([r, n]) => uo(r, n)
3564
+ ([r, n]) => Qi(r, n)
3600
3565
  )
3601
3566
  ).then(() => {
3602
- if (bt(e))
3603
- return qr(e);
3604
- delete Pe[e];
3605
- }), Pe[e];
3567
+ if (ft(e))
3568
+ return Gr(e);
3569
+ delete Be[e];
3570
+ }), Be[e];
3606
3571
  }
3607
- const ho = {
3572
+ const Ji = {
3608
3573
  number: {
3609
3574
  scientific: { notation: "scientific" },
3610
3575
  engineering: { notation: "engineering" },
@@ -3633,150 +3598,150 @@ const ho = {
3633
3598
  timeZoneName: "short"
3634
3599
  }
3635
3600
  }
3636
- }, co = {
3601
+ }, Yi = {
3637
3602
  fallbackLocale: null,
3638
3603
  loadingDelay: 200,
3639
- formats: ho,
3604
+ formats: Ji,
3640
3605
  warnOnMissingMessages: !0,
3641
3606
  handleMissingMessage: void 0,
3642
3607
  ignoreTag: !0
3643
- }, fo = co;
3644
- function Ee() {
3645
- return fo;
3646
- }
3647
- const nt = ze(!1);
3648
- var po = Object.defineProperty, mo = Object.defineProperties, bo = Object.getOwnPropertyDescriptors, Vt = Object.getOwnPropertySymbols, _o = Object.prototype.hasOwnProperty, go = Object.prototype.propertyIsEnumerable, zt = (e, t, r) => t in e ? po(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, vo = (e, t) => {
3649
- for (var r in t || (t = {}))
3650
- _o.call(t, r) && zt(e, r, t[r]);
3651
- if (Vt)
3652
- for (var r of Vt(t))
3653
- go.call(t, r) && zt(e, r, t[r]);
3608
+ }, Ki = Yi;
3609
+ function xe() {
3610
+ return Ki;
3611
+ }
3612
+ const et = Ve(!1);
3613
+ var eo = Object.defineProperty, to = Object.defineProperties, ro = Object.getOwnPropertyDescriptors, Rt = Object.getOwnPropertySymbols, no = Object.prototype.hasOwnProperty, io = Object.prototype.propertyIsEnumerable, Dt = (e, t, r) => t in e ? eo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, oo = (e, t) => {
3614
+ for (var r in t)
3615
+ no.call(t, r) && Dt(e, r, t[r]);
3616
+ if (Rt)
3617
+ for (var r of Rt(t))
3618
+ io.call(t, r) && Dt(e, r, t[r]);
3654
3619
  return e;
3655
- }, yo = (e, t) => mo(e, bo(t));
3656
- let _t;
3657
- const je = ze(null);
3658
- function Xt(e) {
3620
+ }, so = (e, t) => to(e, ro(t));
3621
+ let pt;
3622
+ const $e = Ve(null);
3623
+ function Ft(e) {
3659
3624
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3660
3625
  }
3661
- function We(e, t = Ee().fallbackLocale) {
3662
- const r = Xt(e);
3663
- return t ? [.../* @__PURE__ */ new Set([...r, ...Xt(t)])] : r;
3626
+ function Xe(e, t = xe().fallbackLocale) {
3627
+ const r = Ft(e);
3628
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Ft(t)])] : r;
3664
3629
  }
3665
- function ce() {
3666
- return _t != null ? _t : void 0;
3630
+ function he() {
3631
+ return pt ?? void 0;
3667
3632
  }
3668
- je.subscribe((e) => {
3669
- _t = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3633
+ $e.subscribe((e) => {
3634
+ pt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3670
3635
  });
3671
- const xo = (e) => {
3672
- if (e && so(e) && bt(e)) {
3673
- const { loadingDelay: t } = Ee();
3636
+ const ao = (e) => {
3637
+ if (e && Wi(e) && ft(e)) {
3638
+ const { loadingDelay: t } = xe();
3674
3639
  let r;
3675
- return typeof window != "undefined" && ce() != null && t ? r = window.setTimeout(
3676
- () => nt.set(!0),
3640
+ return typeof window < "u" && he() != null && t ? r = window.setTimeout(
3641
+ () => et.set(!0),
3677
3642
  t
3678
- ) : nt.set(!0), qr(e).then(() => {
3679
- je.set(e);
3643
+ ) : et.set(!0), Gr(e).then(() => {
3644
+ $e.set(e);
3680
3645
  }).finally(() => {
3681
- clearTimeout(r), nt.set(!1);
3646
+ clearTimeout(r), et.set(!1);
3682
3647
  });
3683
3648
  }
3684
- return je.set(e);
3685
- }, ue = yo(vo({}, je), {
3686
- set: xo
3687
- }), Ze = (e) => {
3649
+ return $e.set(e);
3650
+ }, le = so(oo({}, $e), {
3651
+ set: ao
3652
+ }), We = (e) => {
3688
3653
  const t = /* @__PURE__ */ Object.create(null);
3689
3654
  return (n) => {
3690
3655
  const i = JSON.stringify(n);
3691
3656
  return i in t ? t[i] : t[i] = e(n);
3692
3657
  };
3693
3658
  };
3694
- var Eo = Object.defineProperty, Ve = Object.getOwnPropertySymbols, Qr = Object.prototype.hasOwnProperty, Jr = Object.prototype.propertyIsEnumerable, Wt = (e, t, r) => t in e ? Eo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, St = (e, t) => {
3659
+ var lo = Object.defineProperty, je = Object.getOwnPropertySymbols, $r = Object.prototype.hasOwnProperty, jr = Object.prototype.propertyIsEnumerable, kt = (e, t, r) => t in e ? lo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, yt = (e, t) => {
3695
3660
  for (var r in t || (t = {}))
3696
- Qr.call(t, r) && Wt(e, r, t[r]);
3697
- if (Ve)
3698
- for (var r of Ve(t))
3699
- Jr.call(t, r) && Wt(e, r, t[r]);
3661
+ $r.call(t, r) && kt(e, r, t[r]);
3662
+ if (je)
3663
+ for (var r of je(t))
3664
+ jr.call(t, r) && kt(e, r, t[r]);
3700
3665
  return e;
3701
- }, He = (e, t) => {
3666
+ }, Se = (e, t) => {
3702
3667
  var r = {};
3703
3668
  for (var n in e)
3704
- Qr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3705
- if (e != null && Ve)
3706
- for (var n of Ve(e))
3707
- t.indexOf(n) < 0 && Jr.call(e, n) && (r[n] = e[n]);
3669
+ $r.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3670
+ if (e != null && je)
3671
+ for (var n of je(e))
3672
+ t.indexOf(n) < 0 && jr.call(e, n) && (r[n] = e[n]);
3708
3673
  return r;
3709
3674
  };
3710
- const Le = (e, t) => {
3711
- const { formats: r } = Ee();
3675
+ const Ce = (e, t) => {
3676
+ const { formats: r } = xe();
3712
3677
  if (e in r && t in r[e])
3713
3678
  return r[e][t];
3714
3679
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3715
- }, wo = Ze(
3680
+ }, uo = We(
3716
3681
  (e) => {
3717
- var t = e, { locale: r, format: n } = t, i = He(t, ["locale", "format"]);
3682
+ var t = e, { locale: r, format: n } = t, i = Se(t, ["locale", "format"]);
3718
3683
  if (r == null)
3719
3684
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3720
- return n && (i = Le("number", n)), new Intl.NumberFormat(r, i);
3685
+ return n && (i = Ce("number", n)), new Intl.NumberFormat(r, i);
3721
3686
  }
3722
- ), To = Ze(
3687
+ ), ho = We(
3723
3688
  (e) => {
3724
- var t = e, { locale: r, format: n } = t, i = He(t, ["locale", "format"]);
3689
+ var t = e, { locale: r, format: n } = t, i = Se(t, ["locale", "format"]);
3725
3690
  if (r == null)
3726
3691
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3727
- return n ? i = Le("date", n) : Object.keys(i).length === 0 && (i = Le("date", "short")), new Intl.DateTimeFormat(r, i);
3692
+ return n ? i = Ce("date", n) : Object.keys(i).length === 0 && (i = Ce("date", "short")), new Intl.DateTimeFormat(r, i);
3728
3693
  }
3729
- ), So = Ze(
3694
+ ), co = We(
3730
3695
  (e) => {
3731
- var t = e, { locale: r, format: n } = t, i = He(t, ["locale", "format"]);
3696
+ var t = e, { locale: r, format: n } = t, i = Se(t, ["locale", "format"]);
3732
3697
  if (r == null)
3733
3698
  throw new Error(
3734
3699
  '[svelte-i18n] A "locale" must be set to format time values'
3735
3700
  );
3736
- return n ? i = Le("time", n) : Object.keys(i).length === 0 && (i = Le("time", "short")), new Intl.DateTimeFormat(r, i);
3701
+ return n ? i = Ce("time", n) : Object.keys(i).length === 0 && (i = Ce("time", "short")), new Intl.DateTimeFormat(r, i);
3737
3702
  }
3738
- ), Ho = (e = {}) => {
3703
+ ), fo = (e = {}) => {
3739
3704
  var t = e, {
3740
- locale: r = ce()
3741
- } = t, n = He(t, [
3705
+ locale: r = he()
3706
+ } = t, n = Se(t, [
3742
3707
  "locale"
3743
3708
  ]);
3744
- return wo(St({ locale: r }, n));
3745
- }, Bo = (e = {}) => {
3709
+ return uo(yt({ locale: r }, n));
3710
+ }, po = (e = {}) => {
3746
3711
  var t = e, {
3747
- locale: r = ce()
3748
- } = t, n = He(t, [
3712
+ locale: r = he()
3713
+ } = t, n = Se(t, [
3749
3714
  "locale"
3750
3715
  ]);
3751
- return To(St({ locale: r }, n));
3752
- }, Po = (e = {}) => {
3716
+ return ho(yt({ locale: r }, n));
3717
+ }, mo = (e = {}) => {
3753
3718
  var t = e, {
3754
- locale: r = ce()
3755
- } = t, n = He(t, [
3719
+ locale: r = he()
3720
+ } = t, n = Se(t, [
3756
3721
  "locale"
3757
3722
  ]);
3758
- return So(St({ locale: r }, n));
3759
- }, Ao = Ze(
3723
+ return co(yt({ locale: r }, n));
3724
+ }, bo = We(
3760
3725
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3761
- (e, t = ce()) => new to(e, t, Ee().formats, {
3762
- ignoreTag: Ee().ignoreTag
3726
+ (e, t = he()) => new $i(e, t, xe().formats, {
3727
+ ignoreTag: xe().ignoreTag
3763
3728
  })
3764
- ), Co = (e, t = {}) => {
3729
+ ), _o = (e, t = {}) => {
3765
3730
  var r, n, i, o;
3766
3731
  let s = t;
3767
3732
  typeof e == "object" && (s = e, e = s.id);
3768
3733
  const {
3769
3734
  values: a,
3770
- locale: l = ce(),
3735
+ locale: l = he(),
3771
3736
  default: u
3772
3737
  } = s;
3773
3738
  if (l == null)
3774
3739
  throw new Error(
3775
3740
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3776
3741
  );
3777
- let h = zr(e, l);
3742
+ let h = Dr(e, l);
3778
3743
  if (!h)
3779
- h = (o = (i = (n = (r = Ee()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
3744
+ h = (o = (i = (n = (r = xe()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
3780
3745
  else if (typeof h != "string")
3781
3746
  return console.warn(
3782
3747
  `[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.`
@@ -3785,7 +3750,7 @@ const Le = (e, t) => {
3785
3750
  return h;
3786
3751
  let c = h;
3787
3752
  try {
3788
- c = Ao(h, l).format(a);
3753
+ c = bo(h, l).format(a);
3789
3754
  } catch (f) {
3790
3755
  f instanceof Error && console.warn(
3791
3756
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3793,32 +3758,32 @@ const Le = (e, t) => {
3793
3758
  );
3794
3759
  }
3795
3760
  return c;
3796
- }, Oo = (e, t) => Po(t).format(e), Lo = (e, t) => Bo(t).format(e), Io = (e, t) => Ho(t).format(e), No = (e, t = ce()) => zr(e, t), Mo = Te([ue, Se], () => Co);
3797
- Te([ue], () => Oo);
3798
- Te([ue], () => Lo);
3799
- Te([ue], () => Io);
3800
- Te([ue, Se], () => No);
3801
- function Ro({ withLocale: e, translations: t }) {
3802
- ue.subscribe((r) => {
3803
- r == null && (Se.set(t), ue.set(e));
3761
+ }, go = (e, t) => mo(t).format(e), vo = (e, t) => po(t).format(e), yo = (e, t) => fo(t).format(e), xo = (e, t = he()) => Dr(e, t), Eo = we([le, Te], () => _o);
3762
+ we([le], () => go);
3763
+ we([le], () => vo);
3764
+ we([le], () => yo);
3765
+ we([le, Te], () => xo);
3766
+ function wo({ withLocale: e, translations: t }) {
3767
+ le.subscribe((r) => {
3768
+ r == null && (Te.set(t), le.set(e));
3804
3769
  });
3805
3770
  }
3806
- function Zt(e, t) {
3807
- Wr(e, t);
3771
+ function Ut(e, t) {
3772
+ kr(e, t);
3808
3773
  }
3809
- function Do(e) {
3810
- ue.set(e);
3774
+ function To(e) {
3775
+ le.set(e);
3811
3776
  }
3812
- function re(e) {
3777
+ function te(e) {
3813
3778
  return typeof e == "function";
3814
3779
  }
3815
- function Yr(e) {
3780
+ function Vr(e) {
3816
3781
  var t = function(n) {
3817
3782
  Error.call(n), n.stack = new Error().stack;
3818
3783
  }, r = e(t);
3819
3784
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
3820
3785
  }
3821
- var it = Yr(function(e) {
3786
+ var tt = Vr(function(e) {
3822
3787
  return function(r) {
3823
3788
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
3824
3789
  ` + r.map(function(n, i) {
@@ -3827,13 +3792,13 @@ var it = Yr(function(e) {
3827
3792
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
3828
3793
  };
3829
3794
  });
3830
- function gt(e, t) {
3795
+ function mt(e, t) {
3831
3796
  if (e) {
3832
3797
  var r = e.indexOf(t);
3833
3798
  0 <= r && e.splice(r, 1);
3834
3799
  }
3835
3800
  }
3836
- var qe = function() {
3801
+ var Ze = function() {
3837
3802
  function e(t) {
3838
3803
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
3839
3804
  }
@@ -3845,7 +3810,7 @@ var qe = function() {
3845
3810
  if (s)
3846
3811
  if (this._parentage = null, Array.isArray(s))
3847
3812
  try {
3848
- for (var a = lt(s), l = a.next(); !l.done; l = a.next()) {
3813
+ for (var a = it(s), l = a.next(); !l.done; l = a.next()) {
3849
3814
  var u = l.value;
3850
3815
  u.remove(this);
3851
3816
  }
@@ -3861,22 +3826,22 @@ var qe = function() {
3861
3826
  else
3862
3827
  s.remove(this);
3863
3828
  var h = this.initialTeardown;
3864
- if (re(h))
3829
+ if (te(h))
3865
3830
  try {
3866
3831
  h();
3867
3832
  } catch (_) {
3868
- o = _ instanceof it ? _.errors : [_];
3833
+ o = _ instanceof tt ? _.errors : [_];
3869
3834
  }
3870
3835
  var c = this._finalizers;
3871
3836
  if (c) {
3872
3837
  this._finalizers = null;
3873
3838
  try {
3874
- for (var f = lt(c), b = f.next(); !b.done; b = f.next()) {
3839
+ for (var f = it(c), b = f.next(); !b.done; b = f.next()) {
3875
3840
  var v = b.value;
3876
3841
  try {
3877
- qt(v);
3842
+ Gt(v);
3878
3843
  } catch (_) {
3879
- o = o != null ? o : [], _ instanceof it ? o = _e(_e([], ut(o)), ut(_.errors)) : o.push(_);
3844
+ o = o ?? [], _ instanceof tt ? o = be(be([], ot(o)), ot(_.errors)) : o.push(_);
3880
3845
  }
3881
3846
  }
3882
3847
  } catch (_) {
@@ -3890,13 +3855,13 @@ var qe = function() {
3890
3855
  }
3891
3856
  }
3892
3857
  if (o)
3893
- throw new it(o);
3858
+ throw new tt(o);
3894
3859
  }
3895
3860
  }, e.prototype.add = function(t) {
3896
3861
  var r;
3897
3862
  if (t && t !== this)
3898
3863
  if (this.closed)
3899
- qt(t);
3864
+ Gt(t);
3900
3865
  else {
3901
3866
  if (t instanceof e) {
3902
3867
  if (t.closed || t._hasParent(this))
@@ -3913,56 +3878,56 @@ var qe = function() {
3913
3878
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
3914
3879
  }, e.prototype._removeParent = function(t) {
3915
3880
  var r = this._parentage;
3916
- r === t ? this._parentage = null : Array.isArray(r) && gt(r, t);
3881
+ r === t ? this._parentage = null : Array.isArray(r) && mt(r, t);
3917
3882
  }, e.prototype.remove = function(t) {
3918
3883
  var r = this._finalizers;
3919
- r && gt(r, t), t instanceof e && t._removeParent(this);
3884
+ r && mt(r, t), t instanceof e && t._removeParent(this);
3920
3885
  }, e.EMPTY = function() {
3921
3886
  var t = new e();
3922
3887
  return t.closed = !0, t;
3923
3888
  }(), e;
3924
- }(), Kr = qe.EMPTY;
3925
- function en(e) {
3926
- return e instanceof qe || e && "closed" in e && re(e.remove) && re(e.add) && re(e.unsubscribe);
3889
+ }(), zr = Ze.EMPTY;
3890
+ function Xr(e) {
3891
+ return e instanceof Ze || e && "closed" in e && te(e.remove) && te(e.add) && te(e.unsubscribe);
3927
3892
  }
3928
- function qt(e) {
3929
- re(e) ? e() : e.unsubscribe();
3893
+ function Gt(e) {
3894
+ te(e) ? e() : e.unsubscribe();
3930
3895
  }
3931
- var tn = {
3896
+ var So = {
3932
3897
  onUnhandledError: null,
3933
3898
  onStoppedNotification: null,
3934
3899
  Promise: void 0,
3935
3900
  useDeprecatedSynchronousErrorHandling: !1,
3936
3901
  useDeprecatedNextContext: !1
3937
- }, Fo = {
3902
+ }, Ho = {
3938
3903
  setTimeout: function(e, t) {
3939
3904
  for (var r = [], n = 2; n < arguments.length; n++)
3940
3905
  r[n - 2] = arguments[n];
3941
- return setTimeout.apply(void 0, _e([e, t], ut(r)));
3906
+ return setTimeout.apply(void 0, be([e, t], ot(r)));
3942
3907
  },
3943
3908
  clearTimeout: function(e) {
3944
3909
  return clearTimeout(e);
3945
3910
  },
3946
3911
  delegate: void 0
3947
3912
  };
3948
- function Uo(e) {
3949
- Fo.setTimeout(function() {
3913
+ function Bo(e) {
3914
+ Ho.setTimeout(function() {
3950
3915
  throw e;
3951
3916
  });
3952
3917
  }
3953
- function Qt() {
3918
+ function $t() {
3954
3919
  }
3955
- function Ge(e) {
3920
+ function Ue(e) {
3956
3921
  e();
3957
3922
  }
3958
- var rn = function(e) {
3959
- ie(t, e);
3923
+ var Wr = function(e) {
3924
+ ne(t, e);
3960
3925
  function t(r) {
3961
3926
  var n = e.call(this) || this;
3962
- return n.isStopped = !1, r ? (n.destination = r, en(r) && r.add(n)) : n.destination = jo, n;
3927
+ return n.isStopped = !1, r ? (n.destination = r, Xr(r) && r.add(n)) : n.destination = Oo, n;
3963
3928
  }
3964
3929
  return t.create = function(r, n, i) {
3965
- return new vt(r, n, i);
3930
+ return new dt(r, n, i);
3966
3931
  }, t.prototype.next = function(r) {
3967
3932
  this.isStopped || this._next(r);
3968
3933
  }, t.prototype.error = function(r) {
@@ -3986,11 +3951,7 @@ var rn = function(e) {
3986
3951
  this.unsubscribe();
3987
3952
  }
3988
3953
  }, t;
3989
- }(qe), ko = Function.prototype.bind;
3990
- function ot(e, t) {
3991
- return ko.call(e, t);
3992
- }
3993
- var Go = function() {
3954
+ }(Ze), Po = function() {
3994
3955
  function e(t) {
3995
3956
  this.partialObserver = t;
3996
3957
  }
@@ -4000,7 +3961,7 @@ var Go = function() {
4000
3961
  try {
4001
3962
  r.next(t);
4002
3963
  } catch (n) {
4003
- De(n);
3964
+ Re(n);
4004
3965
  }
4005
3966
  }, e.prototype.error = function(t) {
4006
3967
  var r = this.partialObserver;
@@ -4008,68 +3969,56 @@ var Go = function() {
4008
3969
  try {
4009
3970
  r.error(t);
4010
3971
  } catch (n) {
4011
- De(n);
3972
+ Re(n);
4012
3973
  }
4013
3974
  else
4014
- De(t);
3975
+ Re(t);
4015
3976
  }, e.prototype.complete = function() {
4016
3977
  var t = this.partialObserver;
4017
3978
  if (t.complete)
4018
3979
  try {
4019
3980
  t.complete();
4020
3981
  } catch (r) {
4021
- De(r);
3982
+ Re(r);
4022
3983
  }
4023
3984
  }, e;
4024
- }(), vt = function(e) {
4025
- ie(t, e);
3985
+ }(), dt = function(e) {
3986
+ ne(t, e);
4026
3987
  function t(r, n, i) {
4027
3988
  var o = e.call(this) || this, s;
4028
- if (re(r) || !r)
4029
- s = {
4030
- next: r != null ? r : void 0,
4031
- error: n != null ? n : void 0,
4032
- complete: i != null ? i : void 0
4033
- };
4034
- else {
4035
- var a;
4036
- o && tn.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
4037
- return o.unsubscribe();
4038
- }, s = {
4039
- next: r.next && ot(r.next, a),
4040
- error: r.error && ot(r.error, a),
4041
- complete: r.complete && ot(r.complete, a)
4042
- }) : s = r;
4043
- }
4044
- return o.destination = new Go(s), o;
3989
+ return te(r) || !r ? s = {
3990
+ next: r ?? void 0,
3991
+ error: n ?? void 0,
3992
+ complete: i ?? void 0
3993
+ } : s = r, o.destination = new Po(s), o;
4045
3994
  }
4046
3995
  return t;
4047
- }(rn);
4048
- function De(e) {
4049
- Uo(e);
3996
+ }(Wr);
3997
+ function Re(e) {
3998
+ Bo(e);
4050
3999
  }
4051
- function $o(e) {
4000
+ function Ao(e) {
4052
4001
  throw e;
4053
4002
  }
4054
- var jo = {
4003
+ var Oo = {
4055
4004
  closed: !0,
4056
- next: Qt,
4057
- error: $o,
4058
- complete: Qt
4059
- }, Vo = function() {
4005
+ next: $t,
4006
+ error: Ao,
4007
+ complete: $t
4008
+ }, Co = function() {
4060
4009
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
4061
4010
  }();
4062
- function zo(e) {
4011
+ function No(e) {
4063
4012
  return e;
4064
4013
  }
4065
- function Xo(e) {
4066
- return e.length === 0 ? zo : e.length === 1 ? e[0] : function(r) {
4014
+ function Lo(e) {
4015
+ return e.length === 0 ? No : e.length === 1 ? e[0] : function(r) {
4067
4016
  return e.reduce(function(n, i) {
4068
4017
  return i(n);
4069
4018
  }, r);
4070
4019
  };
4071
4020
  }
4072
- var Jt = function() {
4021
+ var jt = function() {
4073
4022
  function e(t) {
4074
4023
  t && (this._subscribe = t);
4075
4024
  }
@@ -4077,8 +4026,8 @@ var Jt = function() {
4077
4026
  var r = new e();
4078
4027
  return r.source = this, r.operator = t, r;
4079
4028
  }, e.prototype.subscribe = function(t, r, n) {
4080
- var i = this, o = Zo(t) ? t : new vt(t, r, n);
4081
- return Ge(function() {
4029
+ var i = this, o = Mo(t) ? t : new dt(t, r, n);
4030
+ return Ue(function() {
4082
4031
  var s = i, a = s.operator, l = s.source;
4083
4032
  o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
4084
4033
  }), o;
@@ -4090,8 +4039,8 @@ var Jt = function() {
4090
4039
  }
4091
4040
  }, e.prototype.forEach = function(t, r) {
4092
4041
  var n = this;
4093
- return r = Yt(r), new r(function(i, o) {
4094
- var s = new vt({
4042
+ return r = Vt(r), new r(function(i, o) {
4043
+ var s = new dt({
4095
4044
  next: function(a) {
4096
4045
  try {
4097
4046
  t(a);
@@ -4107,15 +4056,15 @@ var Jt = function() {
4107
4056
  }, e.prototype._subscribe = function(t) {
4108
4057
  var r;
4109
4058
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
4110
- }, e.prototype[Vo] = function() {
4059
+ }, e.prototype[Co] = function() {
4111
4060
  return this;
4112
4061
  }, e.prototype.pipe = function() {
4113
4062
  for (var t = [], r = 0; r < arguments.length; r++)
4114
4063
  t[r] = arguments[r];
4115
- return Xo(t)(this);
4064
+ return Lo(t)(this);
4116
4065
  }, e.prototype.toPromise = function(t) {
4117
4066
  var r = this;
4118
- return t = Yt(t), new t(function(n, i) {
4067
+ return t = Vt(t), new t(function(n, i) {
4119
4068
  var o;
4120
4069
  r.subscribe(function(s) {
4121
4070
  return o = s;
@@ -4129,40 +4078,40 @@ var Jt = function() {
4129
4078
  return new e(t);
4130
4079
  }, e;
4131
4080
  }();
4132
- function Yt(e) {
4081
+ function Vt(e) {
4133
4082
  var t;
4134
- return (t = e != null ? e : tn.Promise) !== null && t !== void 0 ? t : Promise;
4083
+ return (t = e ?? So.Promise) !== null && t !== void 0 ? t : Promise;
4135
4084
  }
4136
- function Wo(e) {
4137
- return e && re(e.next) && re(e.error) && re(e.complete);
4085
+ function Io(e) {
4086
+ return e && te(e.next) && te(e.error) && te(e.complete);
4138
4087
  }
4139
- function Zo(e) {
4140
- return e && e instanceof rn || Wo(e) && en(e);
4088
+ function Mo(e) {
4089
+ return e && e instanceof Wr || Io(e) && Xr(e);
4141
4090
  }
4142
- var qo = Yr(function(e) {
4091
+ var Ro = Vr(function(e) {
4143
4092
  return function() {
4144
4093
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
4145
4094
  };
4146
- }), nn = function(e) {
4147
- ie(t, e);
4095
+ }), Zr = function(e) {
4096
+ ne(t, e);
4148
4097
  function t() {
4149
4098
  var r = e.call(this) || this;
4150
4099
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
4151
4100
  }
4152
4101
  return t.prototype.lift = function(r) {
4153
- var n = new Kt(this, this);
4102
+ var n = new zt(this, this);
4154
4103
  return n.operator = r, n;
4155
4104
  }, t.prototype._throwIfClosed = function() {
4156
4105
  if (this.closed)
4157
- throw new qo();
4106
+ throw new Ro();
4158
4107
  }, t.prototype.next = function(r) {
4159
4108
  var n = this;
4160
- Ge(function() {
4109
+ Ue(function() {
4161
4110
  var i, o;
4162
4111
  if (n._throwIfClosed(), !n.isStopped) {
4163
4112
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
4164
4113
  try {
4165
- for (var s = lt(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
4114
+ for (var s = it(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
4166
4115
  var l = a.value;
4167
4116
  l.next(r);
4168
4117
  }
@@ -4179,7 +4128,7 @@ var qo = Yr(function(e) {
4179
4128
  });
4180
4129
  }, t.prototype.error = function(r) {
4181
4130
  var n = this;
4182
- Ge(function() {
4131
+ Ue(function() {
4183
4132
  if (n._throwIfClosed(), !n.isStopped) {
4184
4133
  n.hasError = n.isStopped = !0, n.thrownError = r;
4185
4134
  for (var i = n.observers; i.length; )
@@ -4188,7 +4137,7 @@ var qo = Yr(function(e) {
4188
4137
  });
4189
4138
  }, t.prototype.complete = function() {
4190
4139
  var r = this;
4191
- Ge(function() {
4140
+ Ue(function() {
4192
4141
  if (r._throwIfClosed(), !r.isStopped) {
4193
4142
  r.isStopped = !0;
4194
4143
  for (var n = r.observers; n.length; )
@@ -4210,20 +4159,20 @@ var qo = Yr(function(e) {
4210
4159
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
4211
4160
  }, t.prototype._innerSubscribe = function(r) {
4212
4161
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
4213
- return o || s ? Kr : (this.currentObservers = null, a.push(r), new qe(function() {
4214
- n.currentObservers = null, gt(a, r);
4162
+ return o || s ? zr : (this.currentObservers = null, a.push(r), new Ze(function() {
4163
+ n.currentObservers = null, mt(a, r);
4215
4164
  }));
4216
4165
  }, t.prototype._checkFinalizedStatuses = function(r) {
4217
4166
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
4218
4167
  i ? r.error(o) : s && r.complete();
4219
4168
  }, t.prototype.asObservable = function() {
4220
- var r = new Jt();
4169
+ var r = new jt();
4221
4170
  return r.source = this, r;
4222
4171
  }, t.create = function(r, n) {
4223
- return new Kt(r, n);
4172
+ return new zt(r, n);
4224
4173
  }, t;
4225
- }(Jt), Kt = function(e) {
4226
- ie(t, e);
4174
+ }(jt), zt = function(e) {
4175
+ ne(t, e);
4227
4176
  function t(r, n) {
4228
4177
  var i = e.call(this) || this;
4229
4178
  return i.destination = r, i.source = n, i;
@@ -4239,17 +4188,17 @@ var qo = Yr(function(e) {
4239
4188
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
4240
4189
  }, t.prototype._subscribe = function(r) {
4241
4190
  var n, i;
4242
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Kr;
4191
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : zr;
4243
4192
  }, t;
4244
- }(nn), on = {
4193
+ }(Zr), qr = {
4245
4194
  now: function() {
4246
- return (on.delegate || Date).now();
4195
+ return (qr.delegate || Date).now();
4247
4196
  },
4248
4197
  delegate: void 0
4249
- }, Qo = function(e) {
4250
- ie(t, e);
4198
+ }, Do = function(e) {
4199
+ ne(t, e);
4251
4200
  function t(r, n, i) {
4252
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = on);
4201
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = qr);
4253
4202
  var o = e.call(this) || this;
4254
4203
  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;
4255
4204
  }
@@ -4269,16 +4218,16 @@ var qo = Yr(function(e) {
4269
4218
  u && o.splice(0, u + 1);
4270
4219
  }
4271
4220
  }, t;
4272
- }(nn);
4273
- const er = [], tr = {}, Jo = (e, t = 0) => {
4274
- if (er.indexOf(e) == -1) {
4275
- const r = new Qo(t);
4276
- tr[e] = r, er.push(e);
4221
+ }(Zr);
4222
+ const Xt = [], Wt = {}, Fo = (e, t = 0) => {
4223
+ if (Xt.indexOf(e) == -1) {
4224
+ const r = new Do(t);
4225
+ Wt[e] = r, Xt.push(e);
4277
4226
  }
4278
- return tr[e];
4227
+ return Wt[e];
4279
4228
  };
4280
- window.emWidgets = { topic: Jo };
4281
- const Yo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC", rr = {
4229
+ window.emWidgets = { topic: Fo };
4230
+ const ko = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC", Zt = {
4282
4231
  en: {
4283
4232
  promotionsTitle: "Promotions",
4284
4233
  promotionsButton: "More Info",
@@ -4357,120 +4306,120 @@ const Yo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase(
4357
4306
  promotionsTerms: "Terms and Conditions"
4358
4307
  }
4359
4308
  };
4360
- function Ko(e) {
4361
- Bn(e, "svelte-13skimd", '*,*::before,*::after{padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.text--ellipsis>*{width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.promotion__filter{background-color:var(--emw--color-700, #003D5D);padding:6px 80px;border-radius:var(--emw--border-radius-medium, 10px);display:flex;justify-content:center;width:max-content;margin:0 auto;margin-bottom:20px;margin-top:20px}@media screen and (max-width: 1200px){.promotion__filter{width:100%;justify-content:unset;overflow-x:scroll;overflow-y:hidden;scrollbar-width:none;margin:0 auto;margin-bottom:20px;margin-top:20px}}.promotion__filter .tab-list{list-style:none;margin:0;padding:0;display:flex;gap:60px}@media screen and (max-width: 1200px){.promotion__filter .tab-list{margin:0 auto}}.promotion__filter .tab-item{position:relative;cursor:pointer}.promotion__filter .tab-item button{text-decoration:none;color:var(--emw--color-white, white);font-size:var(--emw--font-size-medium, 20px);display:inline-block;margin:8px 0px;background-color:transparent;border:0;cursor:pointer}.promotion__filter .tab-item button:hover{color:var(--emw--color-primary, #22B04E)}.promotion__filter .tab-item.active button{color:var(--emw--color-primary, #22B04E)}.promotion__filter .tab-item.active::after{content:"";position:absolute;left:50%;bottom:-5px;transform:translateX(-50%);width:50px;height:2px;background-color:var(--emw--color-white, white)}.promotion__wrapper{min-height:100vh;background-color:var(--emw--casino-color-bg, var(--emw--color-background, #07072A))}.promotion__section{min-height:100vh;width:100%;background-color:var(--emw--casino-color-bg, var(--emw--color-background, #07072A))}.promotions{margin:0 auto;max-width:1300px;padding:24px 0;color:var(--emw--color-white, #FFFFFF)}@media screen and (max-width: 1300px){.promotions{padding:24px 2.4%}}.promotions__title{font-size:22px;font-weight:normal;margin-bottom:18px;color:var(--emw--color-contrast)}.promotions__grid{display:grid;grid-auto-rows:220px;grid-template-columns:1fr;grid-row-gap:16px}.md .promotions__grid{grid-auto-rows:260px;grid-template-columns:repeat(2, 1fr);grid-gap:20px}.xl .promotions__grid{grid-auto-rows:260px;grid-template-columns:repeat(3, 1fr);grid-gap:30px}.promotions__none{padding:50px 0;text-align:center;font-size:30px}.promo{display:flex;position:relative;flex-direction:column;justify-content:flex-end;width:100%;height:auto;padding:12px 8px;border:1px solid var(--emw--color-gray-300, #58586B);border-radius:5px;overflow:hidden;transition:all 150ms ease}.promo:hover{border:1px solid var(--emw--color-white, #FFFFFF)}.promo__picture{position:absolute;width:100%;height:100%;top:0;left:0;z-index:0}.promo__picture img{width:100%;height:100%;object-fit:cover;border-radius:5px}.promo__picture::before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background:rgb(0, 0, 0);background:linear-gradient(0deg, rgb(0, 0, 0) 0%, rgba(7, 7, 42, 0.2) 90%)}.promo__details{padding:0 10px 13px 17px;z-index:5}.promo__title{display:inline-block;margin-bottom:6px;font-size:18px;font-weight:normal}.promo__content{margin-bottom:15px;font-size:14px}.promo__button{font-size:14px;text-transform:uppercase;padding:10px 20px;background:none;color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-white, #FFFFFF);border-radius:5px;cursor:pointer;transition:all 150ms ease}.promo__button:hover{background:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.page{display:none;margin:0 auto;width:80%;margin-bottom:40px}.page__body_title{color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.page--open{max-width:1000px;flex-direction:column;display:flex;position:relative;justify-content:center}.page__header{align-items:stretch;text-decoration:underline;text-align:center}.page__header img{width:90%;margin:2%;border-radius:5px;box-shadow:rgba(220, 220, 220, 0.414) 0px 8px 24px}.page__tab{padding:0px 30px;background-color:grey;border-radius:5px;cursor:pointer;margin:35px 0px;display:flex;justify-content:space-between;align-items:center;transition:all 150ms ease}.page__tab .active{-moz-transform:rotate(180deg);-webkit-transform:rotate(180deg);transform:rotate(180deg);-moz-transition:all 0.5s linear;-webkit-transition:all 0.5s linear;transition:all 0.5s linear}.page__tab p{font-size:20px;outline:0}.page__tab p:focus{-webkit-transform:rotate(95deg);-ms-transform:rotate(95deg);transform:rotate(95deg)}.page__tab:hover{background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.page__tabContentWrapper.hidden{display:none}.page__close{height:40px;cursor:pointer;transition:all 150ms ease;color:var(--emw--color-contrast, #FFFFFF);background-color:rgba(20, 20, 32, 0.3);border-radius:50%;width:max-content;font-size:75%}.page__close:hover{color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.modal{display:none;justify-content:center;align-items:center;position:fixed;top:0;left:0;width:100vw;height:100vh;z-index:100}.modal--open{display:flex}.modal__backdrop{position:absolute;background-color:var(--emw--casino-contrast, var(--emw--color-background, #07072A));opacity:0.6;width:100%;height:100%;z-index:105}.modal__content{position:relative;display:flex;flex-direction:column;width:100%;background-color:var(--emw--color-gray-50, #F9F8F8);z-index:110;border-radius:5px}.md .modal__content{width:700px;height:70%}.modal__close{position:absolute;width:36px;height:36px;top:10px;right:10px;z-index:110;cursor:pointer;transition:all 150ms ease;color:var(--emw--color-white, #FFFFFF);background-color:rgba(20, 20, 32, 0.3);border-radius:50%}.modal__close:hover{color:var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839))}.modal__picture img{width:100%;height:200px;object-fit:cover;border-top:3px solid var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839));border-top-left-radius:5px;border-top-right-radius:5px}.md .modal__picture img{height:300px}.modal__body{padding:16px 8px;color:var(--emw--color-black, #000000);height:calc(100vh - 200px);overflow-y:auto;border-top-left-radius:5px;border-top-right-radius:5px}.modal__body_title{font-size:18px;margin-bottom:10px;color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.modal__body_content{font-size:14px;line-height:1.3}.modal__body_content *{margin-bottom:8px}.md .modal__body{height:calc(100vh - 300px);padding:22px 8%}.lg .modal__body{padding:30px 40px}.modal__tabs{position:relative;display:inline-flex;width:100%;flex-wrap:nowrap;gap:14px;white-space:nowrap;overflow-x:auto;margin-bottom:20px}.modal__tabs::before{content:"";position:absolute;bottom:4px;left:0;width:100%;height:2px;background-color:var(--emw--color-gray-100, #E6E6E6);z-index:125}.modal__tab{background:none;border:none;padding:8px 0;color:var(--emw--color-gray-150, #828282);font-size:14px;cursor:pointer;transition:all 150ms ease}.modal__tab--active{position:relative;color:var(--emw--casino-contrast, var(--emw--color-contrast, #07072A));z-index:130}.modal__tab--active:before{content:"";left:0;bottom:-4px;position:absolute;width:100%;height:2px;background-color:var(--emw--casino-contrast, var(--emw--color-background, #07072A))}.modal__tab:hover{color:var(--emw--casino-contrast, var(--emw--color-contrast, #07072A))}');
4309
+ function Uo(e) {
4310
+ pn(e, "svelte-13skimd", '*,*::before,*::after{padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.text--ellipsis>*{width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.promotion__filter{background-color:var(--emw--color-700, #003D5D);padding:6px 80px;border-radius:var(--emw--border-radius-medium, 10px);display:flex;justify-content:center;width:max-content;margin:0 auto;margin-bottom:20px;margin-top:20px}@media screen and (max-width: 1200px){.promotion__filter{width:100%;justify-content:unset;overflow-x:scroll;overflow-y:hidden;scrollbar-width:none;margin:0 auto;margin-bottom:20px;margin-top:20px}}.promotion__filter .tab-list{list-style:none;margin:0;padding:0;display:flex;gap:60px}@media screen and (max-width: 1200px){.promotion__filter .tab-list{margin:0 auto}}.promotion__filter .tab-item{position:relative;cursor:pointer}.promotion__filter .tab-item button{text-decoration:none;color:var(--emw--color-white, white);font-size:var(--emw--font-size-medium, 20px);display:inline-block;margin:8px 0px;background-color:transparent;border:0;cursor:pointer}.promotion__filter .tab-item button:hover{color:var(--emw--color-primary, #22B04E)}.promotion__filter .tab-item.active button{color:var(--emw--color-primary, #22B04E)}.promotion__filter .tab-item.active::after{content:"";position:absolute;left:50%;bottom:-5px;transform:translateX(-50%);width:50px;height:2px;background-color:var(--emw--color-white, white)}.promotion__wrapper{min-height:100vh;background-color:var(--emw--casino-color-bg, var(--emw--color-background, #07072A))}.promotion__section{min-height:100vh;width:100%;background-color:var(--emw--casino-color-bg, var(--emw--color-background, #07072A))}.promotions{margin:0 auto;max-width:1300px;padding:24px 0;color:var(--emw--color-white, #FFFFFF)}@media screen and (max-width: 1300px){.promotions{padding:24px 2.4%}}.promotions__title{font-size:22px;font-weight:normal;margin-bottom:18px;color:var(--emw--color-contrast)}.promotions__grid{display:grid;grid-auto-rows:220px;grid-template-columns:1fr;grid-row-gap:16px}.md .promotions__grid{grid-auto-rows:260px;grid-template-columns:repeat(2, 1fr);grid-gap:20px}.xl .promotions__grid{grid-auto-rows:260px;grid-template-columns:repeat(3, 1fr);grid-gap:30px}.promotions__none{padding:50px 0;text-align:center;font-size:30px}.promo{display:flex;position:relative;flex-direction:column;justify-content:flex-end;width:100%;height:auto;padding:12px 8px;border:1px solid var(--emw--color-gray-300, #58586B);border-radius:5px;overflow:hidden;transition:all 150ms ease}.promo:hover{border:1px solid var(--emw--color-white, #FFFFFF)}.promo__picture{position:absolute;width:100%;height:100%;top:0;left:0;z-index:0}.promo__picture img{width:100%;height:100%;object-fit:cover;border-radius:5px}.promo__picture::before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background:rgb(0, 0, 0);background:linear-gradient(0deg, rgb(0, 0, 0) 0%, rgba(7, 7, 42, 0.2) 90%)}.promo__details{padding:0 10px 13px 17px;z-index:5}.promo__title{display:inline-block;margin-bottom:6px;font-size:18px;font-weight:normal}.promo__content{margin-bottom:15px;font-size:14px}.promo__button{font-size:14px;text-transform:uppercase;padding:10px 20px;background:none;color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-white, #FFFFFF);border-radius:5px;cursor:pointer;transition:all 150ms ease}.promo__button:hover{background:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.page{display:none;margin:0 auto;width:80%;margin-bottom:40px}.page__body_title{color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.page--open{max-width:1000px;flex-direction:column;display:flex;position:relative;justify-content:center}.page__header{align-items:stretch;text-decoration:underline;text-align:center}.page__header img{width:90%;margin:2%;border-radius:5px;box-shadow:rgba(220, 220, 220, 0.414) 0px 8px 24px}.page__tab{padding:0px 30px;background-color:grey;border-radius:5px;cursor:pointer;margin:35px 0px;display:flex;justify-content:space-between;align-items:center;transition:all 150ms ease}.page__tab .active{-moz-transform:rotate(180deg);-webkit-transform:rotate(180deg);transform:rotate(180deg);-moz-transition:all 0.5s linear;-webkit-transition:all 0.5s linear;transition:all 0.5s linear}.page__tab p{font-size:20px;outline:0}.page__tab p:focus{-webkit-transform:rotate(95deg);-ms-transform:rotate(95deg);transform:rotate(95deg)}.page__tab:hover{background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.page__tabContentWrapper.hidden{display:none}.page__close{height:40px;cursor:pointer;transition:all 150ms ease;color:var(--emw--color-contrast, #FFFFFF);background-color:rgba(20, 20, 32, 0.3);border-radius:50%;width:max-content;font-size:75%}.page__close:hover{color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.modal{display:none;justify-content:center;align-items:center;position:fixed;top:0;left:0;width:100vw;height:100vh;z-index:100}.modal--open{display:flex}.modal__backdrop{position:absolute;background-color:var(--emw--casino-contrast, var(--emw--color-background, #07072A));opacity:0.6;width:100%;height:100%;z-index:105}.modal__content{position:relative;display:flex;flex-direction:column;width:100%;background-color:var(--emw--color-gray-50, #F9F8F8);z-index:110;border-radius:5px}.md .modal__content{width:700px;height:70%}.modal__close{position:absolute;width:36px;height:36px;top:10px;right:10px;z-index:110;cursor:pointer;transition:all 150ms ease;color:var(--emw--color-white, #FFFFFF);background-color:rgba(20, 20, 32, 0.3);border-radius:50%}.modal__close:hover{color:var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839))}.modal__picture img{width:100%;height:200px;object-fit:cover;border-top:3px solid var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839));border-top-left-radius:5px;border-top-right-radius:5px}.md .modal__picture img{height:300px}.modal__body{padding:16px 8px;color:var(--emw--color-black, #000000);height:calc(100vh - 200px);overflow-y:auto;border-top-left-radius:5px;border-top-right-radius:5px}.modal__body_title{font-size:18px;margin-bottom:10px;color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.modal__body_content{font-size:14px;line-height:1.3}.modal__body_content *{margin-bottom:8px}.md .modal__body{height:calc(100vh - 300px);padding:22px 8%}.lg .modal__body{padding:30px 40px}.modal__tabs{position:relative;display:inline-flex;width:100%;flex-wrap:nowrap;gap:14px;white-space:nowrap;overflow-x:auto;margin-bottom:20px}.modal__tabs::before{content:"";position:absolute;bottom:4px;left:0;width:100%;height:2px;background-color:var(--emw--color-gray-100, #E6E6E6);z-index:125}.modal__tab{background:none;border:none;padding:8px 0;color:var(--emw--color-gray-150, #828282);font-size:14px;cursor:pointer;transition:all 150ms ease}.modal__tab--active{position:relative;color:var(--emw--casino-contrast, var(--emw--color-contrast, #07072A));z-index:130}.modal__tab--active:before{content:"";left:0;bottom:-4px;position:absolute;width:100%;height:2px;background-color:var(--emw--casino-contrast, var(--emw--color-background, #07072A))}.modal__tab:hover{color:var(--emw--casino-contrast, var(--emw--color-contrast, #07072A))}');
4362
4311
  }
4363
- function nr(e, t, r) {
4312
+ function qt(e, t, r) {
4364
4313
  const n = e.slice();
4365
4314
  return n[52] = t[r], n;
4366
4315
  }
4367
- function ir(e, t, r) {
4316
+ function Qt(e, t, r) {
4368
4317
  const n = e.slice();
4369
4318
  return n[55] = t[r], n[57] = r, n;
4370
4319
  }
4371
- function or(e, t, r) {
4320
+ function Jt(e, t, r) {
4372
4321
  const n = e.slice();
4373
4322
  return n[52] = t[r], n;
4374
4323
  }
4375
- function sr(e, t, r) {
4324
+ function Yt(e, t, r) {
4376
4325
  const n = e.slice();
4377
4326
  return n[60] = t[r], n;
4378
4327
  }
4379
- function ar(e, t, r) {
4328
+ function Kt(e, t, r) {
4380
4329
  const n = e.slice();
4381
4330
  return n[52] = t[r], n;
4382
4331
  }
4383
- function lr(e, t, r) {
4332
+ function er(e, t, r) {
4384
4333
  const n = e.slice();
4385
4334
  return n[65] = t[r], n;
4386
4335
  }
4387
- function ur(e) {
4388
- let t, r, n, i, o, s, a, l, u, h, c, f, b, v, _, C, N, O, L, k, P, y, x, E, S, I, Q, Be, j = (
4336
+ function tr(e) {
4337
+ let t, r, n, i, o, s, a, l, u, h, c, f, b, v, _, O, I, C, N, U, P, y, x, E, S, L, q, He, j = (
4389
4338
  /*isPageOpen*/
4390
- e[7] !== !0 && hr(e)
4391
- ), K = q(
4339
+ e[7] !== !0 && rr(e)
4340
+ ), Y = Z(
4392
4341
  /*promoDetailsSources*/
4393
4342
  e[11]
4394
- ), U = [];
4395
- for (let w = 0; w < K.length; w += 1)
4396
- U[w] = br(or(e, K, w));
4397
- let ee = q(
4343
+ ), k = [];
4344
+ for (let w = 0; w < Y.length; w += 1)
4345
+ k[w] = lr(Jt(e, Y, w));
4346
+ let K = Z(
4398
4347
  /*promoDetailsTabs*/
4399
4348
  e[12]
4400
4349
  ), G = [];
4401
- for (let w = 0; w < ee.length; w += 1)
4402
- G[w] = _r(ir(e, ee, w));
4350
+ for (let w = 0; w < K.length; w += 1)
4351
+ G[w] = ur(Qt(e, K, w));
4403
4352
  let V = (
4404
4353
  /*isPageOpen*/
4405
- e[7] == !0 && gr(e)
4354
+ e[7] == !0 && hr(e)
4406
4355
  );
4407
4356
  return {
4408
4357
  c() {
4409
4358
  t = g("section"), r = g("div"), j && j.c(), n = F(), i = g("div"), o = g("div"), s = F(), a = g("div"), l = g("div"), l.innerHTML = '<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg>', u = F(), h = g("div"), c = g("picture");
4410
- for (let w = 0; w < U.length; w += 1)
4411
- U[w].c();
4412
- f = F(), b = g("img"), _ = F(), C = g("div"), N = g("div"), O = g("ul");
4359
+ for (let w = 0; w < k.length; w += 1)
4360
+ k[w].c();
4361
+ f = F(), b = g("img"), _ = F(), O = g("div"), I = g("div"), C = g("ul");
4413
4362
  for (let w = 0; w < G.length; w += 1)
4414
4363
  G[w].c();
4415
- L = F(), k = g("div"), P = g("h3"), y = F(), x = g("div"), E = F(), V && V.c(), m(o, "class", "modal__backdrop"), m(l, "class", "modal__close"), le(b.src, v = /*promoDetailsImage*/
4364
+ N = F(), U = g("div"), P = g("h3"), y = F(), x = g("div"), E = F(), V && V.c(), m(o, "class", "modal__backdrop"), m(l, "class", "modal__close"), ae(b.src, v = /*promoDetailsImage*/
4416
4365
  e[10]) || m(b, "src", v), m(
4417
4366
  b,
4418
4367
  "alt",
4419
4368
  /*promoDetailsTitle*/
4420
4369
  e[8]
4421
- ), m(c, "class", "modal__picture"), m(h, "class", "modal__header"), m(O, "class", "modal__tabs"), m(P, "class", "modal__body_title"), m(x, "class", "modal__tab_content"), m(k, "class", "modal__tabContentWrapper"), m(N, "class", "modal__body_content"), m(C, "class", "modal__body"), m(a, "class", "modal__content"), m(i, "class", "promo__modal modal"), m(r, "class", S = "promotions " + /*currentBreakpoint*/
4422
- e[5]), $e(() => (
4370
+ ), m(c, "class", "modal__picture"), m(h, "class", "modal__header"), m(C, "class", "modal__tabs"), m(P, "class", "modal__body_title"), m(x, "class", "modal__tab_content"), m(U, "class", "modal__tabContentWrapper"), m(I, "class", "modal__body_content"), m(O, "class", "modal__body"), m(a, "class", "modal__content"), m(i, "class", "promo__modal modal"), m(r, "class", S = "promotions " + /*currentBreakpoint*/
4371
+ e[5]), Ge(() => (
4423
4372
  /*div9_elementresize_handler*/
4424
4373
  e[37].call(r)
4425
4374
  )), m(t, "class", "promotion__section");
4426
4375
  },
4427
4376
  m(w, z) {
4428
4377
  D(w, t, z), d(t, r), j && j.m(r, null), d(r, n), d(r, i), d(i, o), d(i, s), d(i, a), d(a, l), d(a, u), d(a, h), d(h, c);
4429
- for (let T = 0; T < U.length; T += 1)
4430
- U[T] && U[T].m(c, null);
4431
- d(c, f), d(c, b), d(a, _), d(a, C), d(C, N), d(N, O);
4378
+ for (let T = 0; T < k.length; T += 1)
4379
+ k[T] && k[T].m(c, null);
4380
+ d(c, f), d(c, b), d(a, _), d(a, O), d(O, I), d(I, C);
4432
4381
  for (let T = 0; T < G.length; T += 1)
4433
- G[T] && G[T].m(O, null);
4434
- d(N, L), d(N, k), d(k, P), P.innerHTML = /*promoDetailsTitle*/
4435
- e[8], d(k, y), d(k, x), x.innerHTML = /*promoDetailsContent*/
4436
- e[9], e[34](N), d(r, E), V && V.m(r, null), I = Ln(
4382
+ G[T] && G[T].m(C, null);
4383
+ d(I, N), d(I, U), d(U, P), P.innerHTML = /*promoDetailsTitle*/
4384
+ e[8], d(U, y), d(U, x), x.innerHTML = /*promoDetailsContent*/
4385
+ e[9], e[34](I), d(r, E), V && V.m(r, null), L = gn(
4437
4386
  r,
4438
4387
  /*div9_elementresize_handler*/
4439
4388
  e[37].bind(r)
4440
- ), e[38](r), Q || (Be = [
4441
- ne(
4389
+ ), e[38](r), q || (He = [
4390
+ re(
4442
4391
  o,
4443
4392
  "click",
4444
4393
  /*closePromo*/
4445
4394
  e[21]
4446
4395
  ),
4447
- ne(
4396
+ re(
4448
4397
  l,
4449
4398
  "click",
4450
4399
  /*closePromo*/
4451
4400
  e[21]
4452
4401
  )
4453
- ], Q = !0);
4402
+ ], q = !0);
4454
4403
  },
4455
4404
  p(w, z) {
4456
4405
  if (/*isPageOpen*/
4457
- w[7] !== !0 ? j ? j.p(w, z) : (j = hr(w), j.c(), j.m(r, n)) : j && (j.d(1), j = null), z[0] & /*promoDetailsSources*/
4406
+ w[7] !== !0 ? j ? j.p(w, z) : (j = rr(w), j.c(), j.m(r, n)) : j && (j.d(1), j = null), z[0] & /*promoDetailsSources*/
4458
4407
  2048) {
4459
- K = q(
4408
+ Y = Z(
4460
4409
  /*promoDetailsSources*/
4461
4410
  w[11]
4462
4411
  );
4463
4412
  let T;
4464
- for (T = 0; T < K.length; T += 1) {
4465
- const oe = or(w, K, T);
4466
- U[T] ? U[T].p(oe, z) : (U[T] = br(oe), U[T].c(), U[T].m(c, f));
4413
+ for (T = 0; T < Y.length; T += 1) {
4414
+ const ie = Jt(w, Y, T);
4415
+ k[T] ? k[T].p(ie, z) : (k[T] = lr(ie), k[T].c(), k[T].m(c, f));
4467
4416
  }
4468
- for (; T < U.length; T += 1)
4469
- U[T].d(1);
4470
- U.length = K.length;
4417
+ for (; T < k.length; T += 1)
4418
+ k[T].d(1);
4419
+ k.length = Y.length;
4471
4420
  }
4472
4421
  if (z[0] & /*promoDetailsImage*/
4473
- 1024 && !le(b.src, v = /*promoDetailsImage*/
4422
+ 1024 && !ae(b.src, v = /*promoDetailsImage*/
4474
4423
  w[10]) && m(b, "src", v), z[0] & /*promoDetailsTitle*/
4475
4424
  256 && m(
4476
4425
  b,
@@ -4479,51 +4428,51 @@ function ur(e) {
4479
4428
  w[8]
4480
4429
  ), z[0] & /*switchTabContent, promoDetailsTabs*/
4481
4430
  4198400) {
4482
- ee = q(
4431
+ K = Z(
4483
4432
  /*promoDetailsTabs*/
4484
4433
  w[12]
4485
4434
  );
4486
4435
  let T;
4487
- for (T = 0; T < ee.length; T += 1) {
4488
- const oe = ir(w, ee, T);
4489
- G[T] ? G[T].p(oe, z) : (G[T] = _r(oe), G[T].c(), G[T].m(O, null));
4436
+ for (T = 0; T < K.length; T += 1) {
4437
+ const ie = Qt(w, K, T);
4438
+ G[T] ? G[T].p(ie, z) : (G[T] = ur(ie), G[T].c(), G[T].m(C, null));
4490
4439
  }
4491
4440
  for (; T < G.length; T += 1)
4492
4441
  G[T].d(1);
4493
- G.length = ee.length;
4442
+ G.length = K.length;
4494
4443
  }
4495
4444
  z[0] & /*promoDetailsTitle*/
4496
4445
  256 && (P.innerHTML = /*promoDetailsTitle*/
4497
4446
  w[8]), z[0] & /*promoDetailsContent*/
4498
4447
  512 && (x.innerHTML = /*promoDetailsContent*/
4499
4448
  w[9]), /*isPageOpen*/
4500
- w[7] == !0 ? V ? V.p(w, z) : (V = gr(w), V.c(), V.m(r, null)) : V && (V.d(1), V = null), z[0] & /*currentBreakpoint*/
4449
+ w[7] == !0 ? V ? V.p(w, z) : (V = hr(w), V.c(), V.m(r, null)) : V && (V.d(1), V = null), z[0] & /*currentBreakpoint*/
4501
4450
  32 && S !== (S = "promotions " + /*currentBreakpoint*/
4502
4451
  w[5]) && m(r, "class", S);
4503
4452
  },
4504
4453
  d(w) {
4505
- w && M(t), j && j.d(), ge(U, w), ge(G, w), e[34](null), V && V.d(), I(), e[38](null), Q = !1, we(Be);
4454
+ w && M(t), j && j.d(), _e(k, w), _e(G, w), e[34](null), V && V.d(), L(), e[38](null), q = !1, Ee(He);
4506
4455
  }
4507
4456
  };
4508
4457
  }
4509
- function hr(e) {
4458
+ function rr(e) {
4510
4459
  let t, r = (
4511
4460
  /*$_*/
4512
4461
  e[19]("promotionsTitle") + ""
4513
4462
  ), n, i, o, s, a = (
4514
4463
  /*promotionsfilter*/
4515
- e[0] === "true" && cr(e)
4464
+ e[0] === "true" && nr(e)
4516
4465
  );
4517
4466
  function l(c, f) {
4518
4467
  return (
4519
4468
  /*promotions*/
4520
- c[2].length > 0 ? ts : es
4469
+ c[2].length > 0 ? $o : Go
4521
4470
  );
4522
4471
  }
4523
4472
  let u = l(e), h = u(e);
4524
4473
  return {
4525
4474
  c() {
4526
- t = g("h1"), n = te(r), i = F(), a && a.c(), o = F(), h.c(), s = xt(), m(t, "class", "promotions__title");
4475
+ t = g("h1"), n = ee(r), i = F(), a && a.c(), o = F(), h.c(), s = _t(), m(t, "class", "promotions__title");
4527
4476
  },
4528
4477
  m(c, f) {
4529
4478
  D(c, t, f), d(t, n), D(c, i, f), a && a.m(c, f), D(c, o, f), h.m(c, f), D(c, s, f);
@@ -4531,21 +4480,21 @@ function hr(e) {
4531
4480
  p(c, f) {
4532
4481
  f[0] & /*$_*/
4533
4482
  524288 && r !== (r = /*$_*/
4534
- c[19]("promotionsTitle") + "") && he(n, r), /*promotionsfilter*/
4535
- c[0] === "true" ? a ? a.p(c, f) : (a = cr(c), a.c(), a.m(o.parentNode, o)) : a && (a.d(1), a = null), u === (u = l(c)) && h ? h.p(c, f) : (h.d(1), h = u(c), h && (h.c(), h.m(s.parentNode, s)));
4483
+ c[19]("promotionsTitle") + "") && ue(n, r), /*promotionsfilter*/
4484
+ c[0] === "true" ? a ? a.p(c, f) : (a = nr(c), a.c(), a.m(o.parentNode, o)) : a && (a.d(1), a = null), u === (u = l(c)) && h ? h.p(c, f) : (h.d(1), h = u(c), h && (h.c(), h.m(s.parentNode, s)));
4536
4485
  },
4537
4486
  d(c) {
4538
4487
  c && (M(t), M(i), M(o), M(s)), a && a.d(c), h.d(c);
4539
4488
  }
4540
4489
  };
4541
4490
  }
4542
- function cr(e) {
4543
- let t, r, n = q(
4491
+ function nr(e) {
4492
+ let t, r, n = Z(
4544
4493
  /*availableCategories*/
4545
4494
  e[14]
4546
4495
  ), i = [];
4547
4496
  for (let o = 0; o < n.length; o += 1)
4548
- i[o] = fr(lr(e, n, o));
4497
+ i[o] = ir(er(e, n, o));
4549
4498
  return {
4550
4499
  c() {
4551
4500
  t = g("div"), r = g("ul");
@@ -4561,14 +4510,14 @@ function cr(e) {
4561
4510
  p(o, s) {
4562
4511
  if (s[0] & /*activeTab, availableCategories, handleFilter*/
4563
4512
  8413184) {
4564
- n = q(
4513
+ n = Z(
4565
4514
  /*availableCategories*/
4566
4515
  o[14]
4567
4516
  );
4568
4517
  let a;
4569
4518
  for (a = 0; a < n.length; a += 1) {
4570
- const l = lr(o, n, a);
4571
- i[a] ? i[a].p(l, s) : (i[a] = fr(l), i[a].c(), i[a].m(r, null));
4519
+ const l = er(o, n, a);
4520
+ i[a] ? i[a].p(l, s) : (i[a] = ir(l), i[a].c(), i[a].m(r, null));
4572
4521
  }
4573
4522
  for (; a < i.length; a += 1)
4574
4523
  i[a].d(1);
@@ -4576,11 +4525,11 @@ function cr(e) {
4576
4525
  }
4577
4526
  },
4578
4527
  d(o) {
4579
- o && M(t), ge(i, o);
4528
+ o && M(t), _e(i, o);
4580
4529
  }
4581
4530
  };
4582
4531
  }
4583
- function fr(e) {
4532
+ function ir(e) {
4584
4533
  let t, r, n = (
4585
4534
  /*category*/
4586
4535
  e[65].charAt(0).toUpperCase() + /*category*/
@@ -4597,18 +4546,18 @@ function fr(e) {
4597
4546
  }
4598
4547
  return {
4599
4548
  c() {
4600
- t = g("li"), r = g("button"), i = te(n), o = F(), m(t, "class", s = "tab-item " + /*activeTab*/
4549
+ t = g("li"), r = g("button"), i = ee(n), o = F(), m(t, "class", s = "tab-item " + /*activeTab*/
4601
4550
  (e[13] === /*category*/
4602
4551
  e[65] ? "active" : ""));
4603
4552
  },
4604
4553
  m(h, c) {
4605
- D(h, t, c), d(t, r), d(r, i), d(t, o), a || (l = ne(r, "click", u), a = !0);
4554
+ D(h, t, c), d(t, r), d(r, i), d(t, o), a || (l = re(r, "click", u), a = !0);
4606
4555
  },
4607
4556
  p(h, c) {
4608
4557
  e = h, c[0] & /*availableCategories*/
4609
4558
  16384 && n !== (n = /*category*/
4610
4559
  e[65].charAt(0).toUpperCase() + /*category*/
4611
- e[65].slice(1).toLowerCase() + "") && he(i, n), c[0] & /*activeTab, availableCategories*/
4560
+ e[65].slice(1).toLowerCase() + "") && ue(i, n), c[0] & /*activeTab, availableCategories*/
4612
4561
  24576 && s !== (s = "tab-item " + /*activeTab*/
4613
4562
  (e[13] === /*category*/
4614
4563
  e[65] ? "active" : "")) && m(t, "class", s);
@@ -4618,14 +4567,14 @@ function fr(e) {
4618
4567
  }
4619
4568
  };
4620
4569
  }
4621
- function es(e) {
4570
+ function Go(e) {
4622
4571
  let t, r = (
4623
4572
  /*$_*/
4624
4573
  e[19]("promotionsNone") + ""
4625
4574
  ), n;
4626
4575
  return {
4627
4576
  c() {
4628
- t = g("p"), n = te(r), m(t, "class", "promotions__none");
4577
+ t = g("p"), n = ee(r), m(t, "class", "promotions__none");
4629
4578
  },
4630
4579
  m(i, o) {
4631
4580
  D(i, t, o), d(t, n);
@@ -4633,20 +4582,20 @@ function es(e) {
4633
4582
  p(i, o) {
4634
4583
  o[0] & /*$_*/
4635
4584
  524288 && r !== (r = /*$_*/
4636
- i[19]("promotionsNone") + "") && he(n, r);
4585
+ i[19]("promotionsNone") + "") && ue(n, r);
4637
4586
  },
4638
4587
  d(i) {
4639
4588
  i && M(t);
4640
4589
  }
4641
4590
  };
4642
4591
  }
4643
- function ts(e) {
4644
- let t, r = q(
4592
+ function $o(e) {
4593
+ let t, r = Z(
4645
4594
  /*promotions*/
4646
4595
  e[2]
4647
4596
  ), n = [];
4648
4597
  for (let i = 0; i < r.length; i += 1)
4649
- n[i] = dr(sr(e, r, i));
4598
+ n[i] = ar(Yt(e, r, i));
4650
4599
  return {
4651
4600
  c() {
4652
4601
  t = g("div");
@@ -4662,14 +4611,14 @@ function ts(e) {
4662
4611
  p(i, o) {
4663
4612
  if (o[0] & /*openPromo, promotions, $_, activeTab*/
4664
4613
  1581060) {
4665
- r = q(
4614
+ r = Z(
4666
4615
  /*promotions*/
4667
4616
  i[2]
4668
4617
  );
4669
4618
  let s;
4670
4619
  for (s = 0; s < r.length; s += 1) {
4671
- const a = sr(i, r, s);
4672
- n[s] ? n[s].p(a, o) : (n[s] = dr(a), n[s].c(), n[s].m(t, null));
4620
+ const a = Yt(i, r, s);
4621
+ n[s] ? n[s].p(a, o) : (n[s] = ar(a), n[s].c(), n[s].m(t, null));
4673
4622
  }
4674
4623
  for (; s < n.length; s += 1)
4675
4624
  n[s].d(1);
@@ -4677,32 +4626,32 @@ function ts(e) {
4677
4626
  }
4678
4627
  },
4679
4628
  d(i) {
4680
- i && M(t), ge(n, i);
4629
+ i && M(t), _e(n, i);
4681
4630
  }
4682
4631
  };
4683
4632
  }
4684
- function pr(e) {
4633
+ function or(e) {
4685
4634
  let t, r, n, i, o, s, a, l, u, h = (
4686
4635
  /*promotion*/
4687
4636
  e[60].title + ""
4688
4637
  ), c, f, b = (
4689
4638
  /*promotion*/
4690
4639
  e[60].content.split("</p>")[0] + ""
4691
- ), v, _, C = (
4640
+ ), v, _, O = (
4692
4641
  /*$_*/
4693
4642
  e[19]("promotionsButton") + ""
4694
- ), N, O, L, k, P = q(
4643
+ ), I, C, N, U, P = Z(
4695
4644
  /*promotion*/
4696
4645
  e[60].image.sources
4697
4646
  ), y = [];
4698
4647
  for (let x = 0; x < P.length; x += 1)
4699
- y[x] = mr(ar(e, P, x));
4648
+ y[x] = sr(Kt(e, P, x));
4700
4649
  return {
4701
4650
  c() {
4702
4651
  t = g("div"), r = g("picture");
4703
4652
  for (let x = 0; x < y.length; x += 1)
4704
4653
  y[x].c();
4705
- n = F(), i = g("img"), a = F(), l = g("div"), u = g("h2"), c = F(), f = g("div"), v = F(), _ = g("button"), N = te(C), O = F(), le(i.src, o = /*promotion*/
4654
+ n = F(), i = g("img"), a = F(), l = g("div"), u = g("h2"), c = F(), f = g("div"), v = F(), _ = g("button"), I = ee(O), C = F(), ae(i.src, o = /*promotion*/
4706
4655
  e[60].image.src) || m(i, "src", o), m(i, "alt", s = /*promotion*/
4707
4656
  e[60].title), m(r, "class", "promo__picture"), m(u, "class", "promo__title"), m(f, "class", "promo__content text--ellipsis"), m(_, "class", "promo__button"), m(_, "part", "promo__button"), m(l, "class", "promo__details"), m(t, "class", "promo"), m(t, "part", "promo");
4708
4657
  },
@@ -4710,8 +4659,8 @@ function pr(e) {
4710
4659
  D(x, t, E), d(t, r);
4711
4660
  for (let S = 0; S < y.length; S += 1)
4712
4661
  y[S] && y[S].m(r, null);
4713
- d(r, n), d(r, i), d(t, a), d(t, l), d(l, u), u.innerHTML = h, d(l, c), d(l, f), f.innerHTML = b, d(l, v), d(l, _), d(_, N), d(t, O), L || (k = ne(_, "click", function() {
4714
- Ie(
4662
+ d(r, n), d(r, i), d(t, a), d(t, l), d(l, u), u.innerHTML = h, d(l, c), d(l, f), f.innerHTML = b, d(l, v), d(l, _), d(_, I), d(t, C), N || (U = re(_, "click", function() {
4663
+ Ne(
4715
4664
  /*openPromo*/
4716
4665
  e[20](
4717
4666
  /*promotion*/
@@ -4721,26 +4670,26 @@ function pr(e) {
4721
4670
  /*promotion*/
4722
4671
  e[60]
4723
4672
  ).apply(this, arguments);
4724
- }), L = !0);
4673
+ }), N = !0);
4725
4674
  },
4726
4675
  p(x, E) {
4727
4676
  if (e = x, E[0] & /*promotions*/
4728
4677
  4) {
4729
- P = q(
4678
+ P = Z(
4730
4679
  /*promotion*/
4731
4680
  e[60].image.sources
4732
4681
  );
4733
4682
  let S;
4734
4683
  for (S = 0; S < P.length; S += 1) {
4735
- const I = ar(e, P, S);
4736
- y[S] ? y[S].p(I, E) : (y[S] = mr(I), y[S].c(), y[S].m(r, n));
4684
+ const L = Kt(e, P, S);
4685
+ y[S] ? y[S].p(L, E) : (y[S] = sr(L), y[S].c(), y[S].m(r, n));
4737
4686
  }
4738
4687
  for (; S < y.length; S += 1)
4739
4688
  y[S].d(1);
4740
4689
  y.length = P.length;
4741
4690
  }
4742
4691
  E[0] & /*promotions*/
4743
- 4 && !le(i.src, o = /*promotion*/
4692
+ 4 && !ae(i.src, o = /*promotion*/
4744
4693
  e[60].image.src) && m(i, "src", o), E[0] & /*promotions*/
4745
4694
  4 && s !== (s = /*promotion*/
4746
4695
  e[60].title) && m(i, "alt", s), E[0] & /*promotions*/
@@ -4748,19 +4697,19 @@ function pr(e) {
4748
4697
  e[60].title + "") && (u.innerHTML = h), E[0] & /*promotions*/
4749
4698
  4 && b !== (b = /*promotion*/
4750
4699
  e[60].content.split("</p>")[0] + "") && (f.innerHTML = b), E[0] & /*$_*/
4751
- 524288 && C !== (C = /*$_*/
4752
- e[19]("promotionsButton") + "") && he(N, C);
4700
+ 524288 && O !== (O = /*$_*/
4701
+ e[19]("promotionsButton") + "") && ue(I, O);
4753
4702
  },
4754
4703
  d(x) {
4755
- x && M(t), ge(y, x), L = !1, k();
4704
+ x && M(t), _e(y, x), N = !1, U();
4756
4705
  }
4757
4706
  };
4758
4707
  }
4759
- function mr(e) {
4708
+ function sr(e) {
4760
4709
  let t, r, n;
4761
4710
  return {
4762
4711
  c() {
4763
- t = g("source"), yt(t, r = /*imgSource*/
4712
+ t = g("source"), bt(t, r = /*imgSource*/
4764
4713
  e[52].pictureSource) || m(t, "srcset", r), m(t, "media", n = "(" + /*imgSource*/
4765
4714
  e[52].media + ")");
4766
4715
  },
@@ -4779,7 +4728,7 @@ function mr(e) {
4779
4728
  }
4780
4729
  };
4781
4730
  }
4782
- function dr(e) {
4731
+ function ar(e) {
4783
4732
  let t = (
4784
4733
  /*promotion*/
4785
4734
  e[60].categories.includes(
@@ -4787,10 +4736,10 @@ function dr(e) {
4787
4736
  e[13]
4788
4737
  ) || /*activeTab*/
4789
4738
  e[13] === "all"
4790
- ), r, n = t && pr(e);
4739
+ ), r, n = t && or(e);
4791
4740
  return {
4792
4741
  c() {
4793
- n && n.c(), r = xt();
4742
+ n && n.c(), r = _t();
4794
4743
  },
4795
4744
  m(i, o) {
4796
4745
  n && n.m(i, o), D(i, r, o);
@@ -4802,18 +4751,18 @@ function dr(e) {
4802
4751
  /*activeTab*/
4803
4752
  i[13]
4804
4753
  ) || /*activeTab*/
4805
- i[13] === "all"), t ? n ? n.p(i, o) : (n = pr(i), n.c(), n.m(r.parentNode, r)) : n && (n.d(1), n = null);
4754
+ i[13] === "all"), t ? n ? n.p(i, o) : (n = or(i), n.c(), n.m(r.parentNode, r)) : n && (n.d(1), n = null);
4806
4755
  },
4807
4756
  d(i) {
4808
4757
  i && M(r), n && n.d(i);
4809
4758
  }
4810
4759
  };
4811
4760
  }
4812
- function br(e) {
4761
+ function lr(e) {
4813
4762
  let t, r, n;
4814
4763
  return {
4815
4764
  c() {
4816
- t = g("source"), yt(t, r = /*imgSource*/
4765
+ t = g("source"), bt(t, r = /*imgSource*/
4817
4766
  e[52].pictureSource) || m(t, "srcset", r), m(t, "media", n = "(" + /*imgSource*/
4818
4767
  e[52].media + ")");
4819
4768
  },
@@ -4832,19 +4781,19 @@ function br(e) {
4832
4781
  }
4833
4782
  };
4834
4783
  }
4835
- function _r(e) {
4784
+ function ur(e) {
4836
4785
  let t, r = (
4837
4786
  /*tab*/
4838
4787
  e[55].tabDesc + ""
4839
4788
  ), n, i, o;
4840
4789
  return {
4841
4790
  c() {
4842
- t = g("li"), n = te(r), m(t, "class", "modal__tab"), m(t, "id", `tab-${/*index*/
4791
+ t = g("li"), n = ee(r), m(t, "class", "modal__tab"), m(t, "id", `tab-${/*index*/
4843
4792
  e[57]}`);
4844
4793
  },
4845
4794
  m(s, a) {
4846
- D(s, t, a), d(t, n), i || (o = ne(t, "click", function() {
4847
- Ie(
4795
+ D(s, t, a), d(t, n), i || (o = re(t, "click", function() {
4796
+ Ne(
4848
4797
  /*switchTabContent*/
4849
4798
  e[22](
4850
4799
  /*tab*/
@@ -4863,74 +4812,74 @@ function _r(e) {
4863
4812
  p(s, a) {
4864
4813
  e = s, a[0] & /*promoDetailsTabs*/
4865
4814
  4096 && r !== (r = /*tab*/
4866
- e[55].tabDesc + "") && he(n, r);
4815
+ e[55].tabDesc + "") && ue(n, r);
4867
4816
  },
4868
4817
  d(s) {
4869
4818
  s && M(t), i = !1, o();
4870
4819
  }
4871
4820
  };
4872
4821
  }
4873
- function gr(e) {
4822
+ function hr(e) {
4874
4823
  let t, r, n, i, o = (
4875
4824
  /*$_*/
4876
4825
  e[19]("promotionsBack") + ""
4877
- ), s, a, l, u, h, c, f, b, v, _, C, N, O, L, k, P = q(
4826
+ ), s, a, l, u, h, c, f, b, v, _, O, I, C, N, U, P = Z(
4878
4827
  /*promoDetailsSources*/
4879
4828
  e[11]
4880
4829
  ), y = [];
4881
4830
  for (let E = 0; E < P.length; E += 1)
4882
- y[E] = vr(nr(e, P, E));
4831
+ y[E] = cr(qt(e, P, E));
4883
4832
  let x = (
4884
4833
  /*promoDetailsTabs*/
4885
- e[12].length > 0 && yr(e)
4834
+ e[12].length > 0 && fr(e)
4886
4835
  );
4887
4836
  return {
4888
4837
  c() {
4889
- t = g("div"), r = g("div"), n = g("h1"), i = te("< "), s = te(o), a = F(), l = g("div"), u = g("h1"), h = F(), c = g("picture");
4838
+ t = g("div"), r = g("div"), n = g("h1"), i = ee("< "), s = ee(o), a = F(), l = g("div"), u = g("h1"), h = F(), c = g("picture");
4890
4839
  for (let E = 0; E < y.length; E += 1)
4891
4840
  y[E].c();
4892
- f = F(), b = g("img"), _ = F(), C = g("div"), N = g("div"), O = g("ul"), x && x.c(), m(r, "class", "page__close"), m(u, "class", "page__body_title"), le(b.src, v = /*promoDetailsImage*/
4841
+ f = F(), b = g("img"), _ = F(), O = g("div"), I = g("div"), C = g("ul"), x && x.c(), m(r, "class", "page__close"), m(u, "class", "page__body_title"), ae(b.src, v = /*promoDetailsImage*/
4893
4842
  e[10]) || m(b, "src", v), m(
4894
4843
  b,
4895
4844
  "alt",
4896
4845
  /*promoDetailsTitle*/
4897
4846
  e[8]
4898
- ), m(c, "class", "page__picture"), m(l, "class", "page__header"), m(O, "class", "page__tabs"), m(N, "class", "page__body_content"), m(C, "class", "page__body"), m(t, "class", "promo__page page page--open");
4847
+ ), m(c, "class", "page__picture"), m(l, "class", "page__header"), m(C, "class", "page__tabs"), m(I, "class", "page__body_content"), m(O, "class", "page__body"), m(t, "class", "promo__page page page--open");
4899
4848
  },
4900
4849
  m(E, S) {
4901
4850
  D(E, t, S), d(t, r), d(r, n), d(n, i), d(n, s), d(t, a), d(t, l), d(l, u), u.innerHTML = /*promoDetailsTitle*/
4902
4851
  e[8], d(l, h), d(l, c);
4903
- for (let I = 0; I < y.length; I += 1)
4904
- y[I] && y[I].m(c, null);
4905
- d(c, f), d(c, b), d(t, _), d(t, C), d(C, N), d(N, O), x && x.m(O, null), e[36](N), L || (k = ne(
4852
+ for (let L = 0; L < y.length; L += 1)
4853
+ y[L] && y[L].m(c, null);
4854
+ d(c, f), d(c, b), d(t, _), d(t, O), d(O, I), d(I, C), x && x.m(C, null), e[36](I), N || (U = re(
4906
4855
  r,
4907
4856
  "click",
4908
4857
  /*closePromo*/
4909
4858
  e[21]
4910
- ), L = !0);
4859
+ ), N = !0);
4911
4860
  },
4912
4861
  p(E, S) {
4913
4862
  if (S[0] & /*$_*/
4914
4863
  524288 && o !== (o = /*$_*/
4915
- E[19]("promotionsBack") + "") && he(s, o), S[0] & /*promoDetailsTitle*/
4864
+ E[19]("promotionsBack") + "") && ue(s, o), S[0] & /*promoDetailsTitle*/
4916
4865
  256 && (u.innerHTML = /*promoDetailsTitle*/
4917
4866
  E[8]), S[0] & /*promoDetailsSources*/
4918
4867
  2048) {
4919
- P = q(
4868
+ P = Z(
4920
4869
  /*promoDetailsSources*/
4921
4870
  E[11]
4922
4871
  );
4923
- let I;
4924
- for (I = 0; I < P.length; I += 1) {
4925
- const Q = nr(E, P, I);
4926
- y[I] ? y[I].p(Q, S) : (y[I] = vr(Q), y[I].c(), y[I].m(c, f));
4872
+ let L;
4873
+ for (L = 0; L < P.length; L += 1) {
4874
+ const q = qt(E, P, L);
4875
+ y[L] ? y[L].p(q, S) : (y[L] = cr(q), y[L].c(), y[L].m(c, f));
4927
4876
  }
4928
- for (; I < y.length; I += 1)
4929
- y[I].d(1);
4877
+ for (; L < y.length; L += 1)
4878
+ y[L].d(1);
4930
4879
  y.length = P.length;
4931
4880
  }
4932
4881
  S[0] & /*promoDetailsImage*/
4933
- 1024 && !le(b.src, v = /*promoDetailsImage*/
4882
+ 1024 && !ae(b.src, v = /*promoDetailsImage*/
4934
4883
  E[10]) && m(b, "src", v), S[0] & /*promoDetailsTitle*/
4935
4884
  256 && m(
4936
4885
  b,
@@ -4938,18 +4887,18 @@ function gr(e) {
4938
4887
  /*promoDetailsTitle*/
4939
4888
  E[8]
4940
4889
  ), /*promoDetailsTabs*/
4941
- E[12].length > 0 ? x ? x.p(E, S) : (x = yr(E), x.c(), x.m(O, null)) : x && (x.d(1), x = null);
4890
+ E[12].length > 0 ? x ? x.p(E, S) : (x = fr(E), x.c(), x.m(C, null)) : x && (x.d(1), x = null);
4942
4891
  },
4943
4892
  d(E) {
4944
- E && M(t), ge(y, E), x && x.d(), e[36](null), L = !1, k();
4893
+ E && M(t), _e(y, E), x && x.d(), e[36](null), N = !1, U();
4945
4894
  }
4946
4895
  };
4947
4896
  }
4948
- function vr(e) {
4897
+ function cr(e) {
4949
4898
  let t, r, n;
4950
4899
  return {
4951
4900
  c() {
4952
- t = g("source"), yt(t, r = /*imgSource*/
4901
+ t = g("source"), bt(t, r = /*imgSource*/
4953
4902
  e[52].pictureSource) || m(t, "srcset", r), m(t, "media", n = "(" + /*imgSource*/
4954
4903
  e[52].media + ")");
4955
4904
  },
@@ -4968,17 +4917,17 @@ function vr(e) {
4968
4917
  }
4969
4918
  };
4970
4919
  }
4971
- function yr(e) {
4920
+ function fr(e) {
4972
4921
  let t, r, n = (
4973
4922
  /*promoDetailsTabs*/
4974
4923
  e[12][0].tabContent + ""
4975
4924
  ), i, o, s = (
4976
4925
  /*promoDetailsTabs*/
4977
- e[12][1] && xr(e)
4926
+ e[12][1] && pr(e)
4978
4927
  );
4979
4928
  return {
4980
4929
  c() {
4981
- t = g("div"), r = g("div"), i = F(), s && s.c(), o = xt(), m(r, "class", "page__tab_content"), m(t, "class", "page__tabContentWrapper");
4930
+ t = g("div"), r = g("div"), i = F(), s && s.c(), o = _t(), m(r, "class", "page__tab_content"), m(t, "class", "page__tabContentWrapper");
4982
4931
  },
4983
4932
  m(a, l) {
4984
4933
  D(a, t, l), d(t, r), r.innerHTML = n, D(a, i, l), s && s.m(a, l), D(a, o, l);
@@ -4987,14 +4936,14 @@ function yr(e) {
4987
4936
  l[0] & /*promoDetailsTabs*/
4988
4937
  4096 && n !== (n = /*promoDetailsTabs*/
4989
4938
  a[12][0].tabContent + "") && (r.innerHTML = n), /*promoDetailsTabs*/
4990
- a[12][1] ? s ? s.p(a, l) : (s = xr(a), s.c(), s.m(o.parentNode, o)) : s && (s.d(1), s = null);
4939
+ a[12][1] ? s ? s.p(a, l) : (s = pr(a), s.c(), s.m(o.parentNode, o)) : s && (s.d(1), s = null);
4991
4940
  },
4992
4941
  d(a) {
4993
4942
  a && (M(t), M(i), M(o)), s && s.d(a);
4994
4943
  }
4995
4944
  };
4996
4945
  }
4997
- function xr(e) {
4946
+ function pr(e) {
4998
4947
  let t, r, n = (
4999
4948
  /*$_*/
5000
4949
  e[19]("promotionsTerms") + ""
@@ -5004,7 +4953,7 @@ function xr(e) {
5004
4953
  ), c, f, b;
5005
4954
  return {
5006
4955
  c() {
5007
- t = g("div"), r = g("h4"), i = te(n), o = F(), s = g("p"), s.textContent = "∇", a = F(), l = g("div"), u = g("div"), It(
4956
+ t = g("div"), r = g("h4"), i = ee(n), o = F(), s = g("p"), s.textContent = "∇", a = F(), l = g("div"), u = g("div"), St(
5008
4957
  s,
5009
4958
  "active",
5010
4959
  /*active*/
@@ -5013,7 +4962,7 @@ function xr(e) {
5013
4962
  (e[15] ? "" : "hidden"));
5014
4963
  },
5015
4964
  m(v, _) {
5016
- D(v, t, _), d(t, r), d(r, i), d(t, o), d(t, s), D(v, a, _), D(v, l, _), d(l, u), u.innerHTML = h, f || (b = ne(
4965
+ D(v, t, _), d(t, r), d(r, i), d(t, o), d(t, s), D(v, a, _), D(v, l, _), d(l, u), u.innerHTML = h, f || (b = re(
5017
4966
  t,
5018
4967
  "click",
5019
4968
  /*click_handler_1*/
@@ -5023,8 +4972,8 @@ function xr(e) {
5023
4972
  p(v, _) {
5024
4973
  _[0] & /*$_*/
5025
4974
  524288 && n !== (n = /*$_*/
5026
- v[19]("promotionsTerms") + "") && he(i, n), _[0] & /*active*/
5027
- 262144 && It(
4975
+ v[19]("promotionsTerms") + "") && ue(i, n), _[0] & /*active*/
4976
+ 262144 && St(
5028
4977
  s,
5029
4978
  "active",
5030
4979
  /*active*/
@@ -5040,10 +4989,10 @@ function xr(e) {
5040
4989
  }
5041
4990
  };
5042
4991
  }
5043
- function rs(e) {
4992
+ function jo(e) {
5044
4993
  let t, r = (
5045
4994
  /*isLoading*/
5046
- e[4] !== !0 && ur(e)
4995
+ e[4] !== !0 && tr(e)
5047
4996
  );
5048
4997
  return {
5049
4998
  c() {
@@ -5054,45 +5003,45 @@ function rs(e) {
5054
5003
  },
5055
5004
  p(n, i) {
5056
5005
  /*isLoading*/
5057
- n[4] !== !0 ? r ? r.p(n, i) : (r = ur(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
5006
+ n[4] !== !0 ? r ? r.p(n, i) : (r = tr(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
5058
5007
  },
5059
- i: Y,
5060
- o: Y,
5008
+ i: J,
5009
+ o: J,
5061
5010
  d(n) {
5062
5011
  n && M(t), r && r.d(), e[39](null);
5063
5012
  }
5064
5013
  };
5065
5014
  }
5066
- function ns(e, t, r) {
5015
+ function Vo(e, t, r) {
5067
5016
  let n;
5068
- Hn(e, Mo, (p) => r(19, n = p));
5069
- let { endpoint: i = "" } = t, { lang: o = "" } = t, { env: s = "" } = t, { userroles: a = "" } = t, { promotionsfilter: l = "true" } = t, { translationurl: u = "" } = t, { clientstyling: h = "" } = t, { clientstylingurl: c = "" } = t, { modalpromotion: f = "" } = t, b, v = !1, _ = [], C, N, O, L = "", k = window.navigator.userAgent, P = !1, y, x = "", E = "", S = {}, I = [], Q = [], Be = "all", j = [], K = !1, U, ee, G;
5070
- Ro({ withLocale: "en", translations: {} });
5017
+ fn(e, Eo, (p) => r(19, n = p));
5018
+ let { endpoint: i = "" } = t, { lang: o = "" } = t, { env: s = "" } = t, { userroles: a = "" } = t, { promotionsfilter: l = "true" } = t, { translationurl: u = "" } = t, { clientstyling: h = "" } = t, { clientstylingurl: c = "" } = t, { modalpromotion: f = "" } = t, b, v = !1, _ = [], O, I, C, N = "", U = window.navigator.userAgent, P = !1, y, x = "", E = "", S = {}, L = [], q = [], He = "all", j = [], Y = !1, k, K, G;
5019
+ wo({ withLocale: "en", translations: {} });
5071
5020
  const V = () => {
5072
5021
  fetch(u).then(($) => $.json()).then(($) => {
5073
5022
  Object.keys($).forEach((W) => {
5074
- Zt(W, $[W]);
5023
+ Ut(W, $[W]);
5075
5024
  });
5076
5025
  }).catch(($) => {
5077
5026
  console.log($);
5078
5027
  });
5079
5028
  };
5080
- Object.keys(rr).forEach((p) => {
5081
- Zt(p, rr[p]);
5029
+ Object.keys(Zt).forEach((p) => {
5030
+ Ut(p, Zt[p]);
5082
5031
  });
5083
5032
  const w = () => {
5084
5033
  r(4, v = !0);
5085
5034
  let p = new URL(`${i}/${o}/promotions?env=${s}`);
5086
5035
  p.searchParams.append("userRoles", a);
5087
- let $ = Yo(k);
5036
+ let $ = ko(U);
5088
5037
  $ && ($ === "PC" ? p.searchParams.append("device", "dk") : p.searchParams.append("device", "mtWeb")), fetch(p.href).then((W) => W.json()).then((W) => {
5089
5038
  r(4, v = !1), r(2, _ = W);
5090
- let se = /* @__PURE__ */ new Set();
5091
- _.forEach((gn) => {
5092
- gn.categories.forEach((vn) => {
5093
- se.add(vn);
5039
+ let oe = /* @__PURE__ */ new Set();
5040
+ _.forEach((un) => {
5041
+ un.categories.forEach((hn) => {
5042
+ oe.add(hn);
5094
5043
  });
5095
- }), r(14, j = Array.from(se)), j.unshift("all");
5044
+ }), r(14, j = Array.from(oe)), j.unshift("all");
5096
5045
  }).catch((W) => {
5097
5046
  r(4, v = !1), console.error(W);
5098
5047
  });
@@ -5100,20 +5049,20 @@ function ns(e, t, r) {
5100
5049
  if (p.data)
5101
5050
  switch (p.data.type) {
5102
5051
  case "promotionPath":
5103
- r(32, L = p.data.id), L == null && r(7, P = !1);
5052
+ r(32, N = p.data.id), N == null && r(7, P = !1);
5104
5053
  break;
5105
5054
  }
5106
5055
  }, T = () => {
5107
- oe(_.find((p) => p.slug == L));
5108
- }, oe = (p) => Je(this, null, function* () {
5109
- f == "true" ? (r(8, x = p.title), r(9, E = p.content), r(10, S = p.image.src), r(11, I = p.image.sources), r(12, Q = [
5056
+ ie(_.find((p) => p.slug == N));
5057
+ }, ie = async (p) => {
5058
+ f == "true" ? (r(8, x = p.title), r(9, E = p.content), r(10, S = p.image.src), r(11, L = p.image.sources), r(12, q = [
5110
5059
  {
5111
5060
  order: "0",
5112
5061
  tabContent: E,
5113
5062
  tabDesc: "Description"
5114
5063
  },
5115
5064
  ...p.tabs
5116
- ]), y = O.querySelector(".modal"), window.document.querySelector("body"), y.classList.add("modal--open"), window.postMessage({ type: "DisableScroll" }, window.location.href), yield Rn(), Ht(Q[0], 0)) : (r(7, P = !0), r(8, x = p.title), r(9, E = p.content), r(10, S = p.image.src), r(11, I = p.image.sources), r(12, Q = [
5065
+ ]), y = C.querySelector(".modal"), window.document.querySelector("body"), y.classList.add("modal--open"), window.postMessage({ type: "DisableScroll" }, window.location.href), await En(), xt(q[0], 0)) : (r(7, P = !0), r(8, x = p.title), r(9, E = p.content), r(10, S = p.image.src), r(11, L = p.image.sources), r(12, q = [
5117
5066
  {
5118
5067
  order: "0",
5119
5068
  tabContent: E,
@@ -5128,34 +5077,34 @@ function ns(e, t, r) {
5128
5077
  },
5129
5078
  window.location.href
5130
5079
  )), typeof gtag == "function" && gtag("event", "MoreInfo", { context: "PromotionsWidget" });
5131
- }), sn = () => {
5132
- f == "true" ? (y = O.querySelector(".modal"), window.document.querySelector("body"), y.classList.remove("modal--open"), window.postMessage({ type: "EnableScroll" }, window.location.href)) : (r(7, P = !1), window.postMessage(
5080
+ }, Qr = () => {
5081
+ f == "true" ? (y = C.querySelector(".modal"), window.document.querySelector("body"), y.classList.remove("modal--open"), window.postMessage({ type: "EnableScroll" }, window.location.href)) : (r(7, P = !1), window.postMessage(
5133
5082
  {
5134
5083
  type: "handlePromotionPage",
5135
5084
  pageHandler: "back"
5136
5085
  },
5137
5086
  window.location.href
5138
5087
  ));
5139
- }, Ht = (p, $) => {
5140
- U.querySelector(".modal__tab_content").innerHTML = p.tabContent;
5141
- let W = U.querySelectorAll(".modal__tab");
5142
- for (let se = 0; se < W.length; se++)
5143
- W[se].classList.remove("modal__tab--active");
5144
- U.querySelector(`#tab-${$}`).classList.add("modal__tab--active");
5145
- }, an = {
5088
+ }, xt = (p, $) => {
5089
+ k.querySelector(".modal__tab_content").innerHTML = p.tabContent;
5090
+ let W = k.querySelectorAll(".modal__tab");
5091
+ for (let oe = 0; oe < W.length; oe++)
5092
+ W[oe].classList.remove("modal__tab--active");
5093
+ k.querySelector(`#tab-${$}`).classList.add("modal__tab--active");
5094
+ }, Jr = {
5146
5095
  sm: 640,
5147
5096
  md: 768,
5148
5097
  lg: 1024,
5149
5098
  xl: 1280,
5150
5099
  xxl: 1536
5151
- }, Bt = (p) => {
5152
- r(13, Be = p);
5153
- }, ln = () => {
5154
- Do(o);
5155
- }, un = () => {
5100
+ }, Et = (p) => {
5101
+ r(13, He = p);
5102
+ }, Yr = () => {
5103
+ To(o);
5104
+ }, Kr = () => {
5156
5105
  let p = document.createElement("style");
5157
5106
  p.innerHTML = h, b.appendChild(p);
5158
- }, hn = () => {
5107
+ }, en = () => {
5159
5108
  let p = document.createElement("style");
5160
5109
  fetch(new URL(c)).then(($) => $.text()).then(($) => {
5161
5110
  p.innerHTML = $, setTimeout(
@@ -5166,33 +5115,33 @@ function ns(e, t, r) {
5166
5115
  );
5167
5116
  });
5168
5117
  };
5169
- Mn(() => (window.addEventListener("message", z, !1), () => {
5118
+ xn(() => (window.addEventListener("message", z, !1), () => {
5170
5119
  window.removeEventListener("message", z);
5171
5120
  }));
5172
- const cn = (p) => Bt(p);
5173
- function fn(p) {
5174
- de[p ? "unshift" : "push"](() => {
5175
- U = p, r(16, U);
5121
+ const tn = (p) => Et(p);
5122
+ function rn(p) {
5123
+ me[p ? "unshift" : "push"](() => {
5124
+ k = p, r(16, k);
5176
5125
  });
5177
5126
  }
5178
- const pn = () => {
5179
- r(15, K = !K), r(18, G = !G);
5127
+ const nn = () => {
5128
+ r(15, Y = !Y), r(18, G = !G);
5180
5129
  };
5181
- function mn(p) {
5182
- de[p ? "unshift" : "push"](() => {
5183
- ee = p, r(17, ee);
5130
+ function on(p) {
5131
+ me[p ? "unshift" : "push"](() => {
5132
+ K = p, r(17, K);
5184
5133
  });
5185
5134
  }
5186
- function dn() {
5187
- C = this.clientWidth, r(3, C);
5135
+ function sn() {
5136
+ O = this.clientWidth, r(3, O);
5188
5137
  }
5189
- function bn(p) {
5190
- de[p ? "unshift" : "push"](() => {
5191
- O = p, r(6, O);
5138
+ function an(p) {
5139
+ me[p ? "unshift" : "push"](() => {
5140
+ C = p, r(6, C);
5192
5141
  });
5193
5142
  }
5194
- function _n(p) {
5195
- de[p ? "unshift" : "push"](() => {
5143
+ function ln(p) {
5144
+ me[p ? "unshift" : "push"](() => {
5196
5145
  b = p, r(1, b);
5197
5146
  });
5198
5147
  }
@@ -5200,45 +5149,45 @@ function ns(e, t, r) {
5200
5149
  "endpoint" in p && r(24, i = p.endpoint), "lang" in p && r(25, o = p.lang), "env" in p && r(26, s = p.env), "userroles" in p && r(27, a = p.userroles), "promotionsfilter" in p && r(0, l = p.promotionsfilter), "translationurl" in p && r(28, u = p.translationurl), "clientstyling" in p && r(29, h = p.clientstyling), "clientstylingurl" in p && r(30, c = p.clientstylingurl), "modalpromotion" in p && r(31, f = p.modalpromotion);
5201
5150
  }, e.$$.update = () => {
5202
5151
  e.$$.dirty[0] & /*elementWidth*/
5203
- 8 && r(5, N = Object.entries(an).reduce(
5152
+ 8 && r(5, I = Object.entries(Jr).reduce(
5204
5153
  (p, [$, W]) => {
5205
- const se = C >= W ? $ : "";
5206
- return [...p, se];
5154
+ const oe = O >= W ? $ : "";
5155
+ return [...p, oe];
5207
5156
  },
5208
5157
  []
5209
5158
  ).join(" ")), e.$$.dirty[0] & /*lang*/
5210
- 33554432 && o && ln(), e.$$.dirty[0] & /*translationurl*/
5159
+ 33554432 && o && Yr(), e.$$.dirty[0] & /*translationurl*/
5211
5160
  268435456 && u && V(), e.$$.dirty[0] & /*promotions*/
5212
5161
  4 | e.$$.dirty[1] & /*promotionPath*/
5213
- 2 && L && _ && T(), e.$$.dirty[0] & /*endpoint, lang, env, userroles*/
5162
+ 2 && N && _ && T(), e.$$.dirty[0] & /*endpoint, lang, env, userroles*/
5214
5163
  251658240 && i && o && s && a && w(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5215
- 536870914 && h && b && un(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5216
- 1073741826 && c && b && hn();
5164
+ 536870914 && h && b && Kr(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5165
+ 1073741826 && c && b && en();
5217
5166
  }, [
5218
5167
  l,
5219
5168
  b,
5220
5169
  _,
5221
- C,
5222
- v,
5223
- N,
5224
5170
  O,
5171
+ v,
5172
+ I,
5173
+ C,
5225
5174
  P,
5226
5175
  x,
5227
5176
  E,
5228
5177
  S,
5229
- I,
5230
- Q,
5231
- Be,
5178
+ L,
5179
+ q,
5180
+ He,
5232
5181
  j,
5182
+ Y,
5183
+ k,
5233
5184
  K,
5234
- U,
5235
- ee,
5236
5185
  G,
5237
5186
  n,
5238
- oe,
5239
- sn,
5240
- Ht,
5241
- Bt,
5187
+ ie,
5188
+ Qr,
5189
+ xt,
5190
+ Et,
5242
5191
  i,
5243
5192
  o,
5244
5193
  s,
@@ -5247,24 +5196,24 @@ function ns(e, t, r) {
5247
5196
  h,
5248
5197
  c,
5249
5198
  f,
5250
- L,
5251
- cn,
5252
- fn,
5253
- pn,
5254
- mn,
5255
- dn,
5256
- bn,
5257
- _n
5199
+ N,
5200
+ tn,
5201
+ rn,
5202
+ nn,
5203
+ on,
5204
+ sn,
5205
+ an,
5206
+ ln
5258
5207
  ];
5259
5208
  }
5260
- class is extends Xn {
5209
+ class zo extends Nn {
5261
5210
  constructor(t) {
5262
- super(), Vn(
5211
+ super(), On(
5263
5212
  this,
5264
5213
  t,
5265
- ns,
5266
- rs,
5267
- wr,
5214
+ Vo,
5215
+ jo,
5216
+ dr,
5268
5217
  {
5269
5218
  endpoint: 24,
5270
5219
  lang: 25,
@@ -5276,7 +5225,7 @@ class is extends Xn {
5276
5225
  clientstylingurl: 30,
5277
5226
  modalpromotion: 31
5278
5227
  },
5279
- Ko,
5228
+ Uo,
5280
5229
  [-1, -1, -1]
5281
5230
  );
5282
5231
  }
@@ -5284,58 +5233,58 @@ class is extends Xn {
5284
5233
  return this.$$.ctx[24];
5285
5234
  }
5286
5235
  set endpoint(t) {
5287
- this.$$set({ endpoint: t }), J();
5236
+ this.$$set({ endpoint: t }), Q();
5288
5237
  }
5289
5238
  get lang() {
5290
5239
  return this.$$.ctx[25];
5291
5240
  }
5292
5241
  set lang(t) {
5293
- this.$$set({ lang: t }), J();
5242
+ this.$$set({ lang: t }), Q();
5294
5243
  }
5295
5244
  get env() {
5296
5245
  return this.$$.ctx[26];
5297
5246
  }
5298
5247
  set env(t) {
5299
- this.$$set({ env: t }), J();
5248
+ this.$$set({ env: t }), Q();
5300
5249
  }
5301
5250
  get userroles() {
5302
5251
  return this.$$.ctx[27];
5303
5252
  }
5304
5253
  set userroles(t) {
5305
- this.$$set({ userroles: t }), J();
5254
+ this.$$set({ userroles: t }), Q();
5306
5255
  }
5307
5256
  get promotionsfilter() {
5308
5257
  return this.$$.ctx[0];
5309
5258
  }
5310
5259
  set promotionsfilter(t) {
5311
- this.$$set({ promotionsfilter: t }), J();
5260
+ this.$$set({ promotionsfilter: t }), Q();
5312
5261
  }
5313
5262
  get translationurl() {
5314
5263
  return this.$$.ctx[28];
5315
5264
  }
5316
5265
  set translationurl(t) {
5317
- this.$$set({ translationurl: t }), J();
5266
+ this.$$set({ translationurl: t }), Q();
5318
5267
  }
5319
5268
  get clientstyling() {
5320
5269
  return this.$$.ctx[29];
5321
5270
  }
5322
5271
  set clientstyling(t) {
5323
- this.$$set({ clientstyling: t }), J();
5272
+ this.$$set({ clientstyling: t }), Q();
5324
5273
  }
5325
5274
  get clientstylingurl() {
5326
5275
  return this.$$.ctx[30];
5327
5276
  }
5328
5277
  set clientstylingurl(t) {
5329
- this.$$set({ clientstylingurl: t }), J();
5278
+ this.$$set({ clientstylingurl: t }), Q();
5330
5279
  }
5331
5280
  get modalpromotion() {
5332
5281
  return this.$$.ctx[31];
5333
5282
  }
5334
5283
  set modalpromotion(t) {
5335
- this.$$set({ modalpromotion: t }), J();
5284
+ this.$$set({ modalpromotion: t }), Q();
5336
5285
  }
5337
5286
  }
5338
- zn(is, { endpoint: {}, lang: {}, env: {}, userroles: {}, promotionsfilter: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, modalpromotion: {} }, [], [], !0);
5287
+ Cn(zo, { endpoint: {}, lang: {}, env: {}, userroles: {}, promotionsfilter: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, modalpromotion: {} }, [], [], !0);
5339
5288
  export {
5340
- is as default
5289
+ zo as C
5341
5290
  };