@everymatrix/casino-betslip-indicator 1.55.0 → 1.56.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,17 +1,17 @@
1
- var nr = Object.defineProperty, ir = Object.defineProperties;
2
- var or = Object.getOwnPropertyDescriptors;
3
- var Je = Object.getOwnPropertySymbols;
4
- var sr = Object.prototype.hasOwnProperty, ar = Object.prototype.propertyIsEnumerable;
5
- var ge = (e, t, r) => t in e ? nr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ye = (e, t) => {
1
+ var Kt = Object.defineProperty, er = Object.defineProperties;
2
+ var tr = Object.getOwnPropertyDescriptors;
3
+ var ze = Object.getOwnPropertySymbols;
4
+ var rr = Object.prototype.hasOwnProperty, nr = Object.prototype.propertyIsEnumerable;
5
+ var ge = (e, t, r) => t in e ? Kt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ze = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- sr.call(t, r) && ge(e, r, t[r]);
8
- if (Je)
9
- for (var r of Je(t))
10
- ar.call(t, r) && ge(e, r, t[r]);
7
+ rr.call(t, r) && ge(e, r, t[r]);
8
+ if (ze)
9
+ for (var r of ze(t))
10
+ nr.call(t, r) && ge(e, r, t[r]);
11
11
  return e;
12
- }, qe = (e, t) => ir(e, or(t));
13
- var T = (e, t, r) => ge(e, typeof t != "symbol" ? t + "" : t, r);
14
- var Ke = (e, t, r) => new Promise((n, i) => {
12
+ }, Qe = (e, t) => er(e, tr(t));
13
+ var w = (e, t, r) => ge(e, typeof t != "symbol" ? t + "" : t, r);
14
+ var Je = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (h) => {
16
16
  try {
17
17
  a(r.next(h));
@@ -27,46 +27,46 @@ var Ke = (e, t, r) => new Promise((n, i) => {
27
27
  }, a = (h) => h.done ? n(h.value) : Promise.resolve(h.value).then(o, s);
28
28
  a((r = r.apply(e, t)).next());
29
29
  });
30
- function B() {
30
+ function H() {
31
31
  }
32
- function St(e) {
32
+ function xt(e) {
33
33
  return e();
34
34
  }
35
- function et() {
35
+ function Ye() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
- function ee(e) {
39
- e.forEach(St);
38
+ function te(e) {
39
+ e.forEach(xt);
40
40
  }
41
- function Ve(e) {
41
+ function ke(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function wt(e, t) {
44
+ function _t(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
- function ur(e) {
47
+ function ir(e) {
48
48
  return Object.keys(e).length === 0;
49
49
  }
50
- function hr(e, ...t) {
50
+ function or(e, ...t) {
51
51
  if (e == null) {
52
52
  for (const n of t)
53
53
  n(void 0);
54
- return B;
54
+ return H;
55
55
  }
56
56
  const r = e.subscribe(...t);
57
57
  return r.unsubscribe ? () => r.unsubscribe() : r;
58
58
  }
59
- function A(e, t) {
59
+ function B(e, t) {
60
60
  e.appendChild(t);
61
61
  }
62
- function lr(e, t, r) {
63
- const n = cr(e);
62
+ function sr(e, t, r) {
63
+ const n = ar(e);
64
64
  if (!n.getElementById(t)) {
65
65
  const i = F("style");
66
- i.id = t, i.textContent = r, fr(n, i);
66
+ i.id = t, i.textContent = r, ur(n, i);
67
67
  }
68
68
  }
69
- function cr(e) {
69
+ function ar(e) {
70
70
  if (!e) return document;
71
71
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
72
72
  return t && /** @type {ShadowRoot} */
@@ -75,14 +75,14 @@ function cr(e) {
75
75
  t
76
76
  ) : e.ownerDocument;
77
77
  }
78
- function fr(e, t) {
79
- return A(
78
+ function ur(e, t) {
79
+ return B(
80
80
  /** @type {Document} */
81
81
  e.head || e,
82
82
  t
83
83
  ), t.sheet;
84
84
  }
85
- function te(e, t, r) {
85
+ function re(e, t, r) {
86
86
  e.insertBefore(t, r || null);
87
87
  }
88
88
  function X(e) {
@@ -91,32 +91,32 @@ function X(e) {
91
91
  function F(e) {
92
92
  return document.createElement(e);
93
93
  }
94
- function N(e) {
94
+ function C(e) {
95
95
  return document.createElementNS("http://www.w3.org/2000/svg", e);
96
96
  }
97
- function Ht(e) {
97
+ function Et(e) {
98
98
  return document.createTextNode(e);
99
99
  }
100
- function mr() {
101
- return Ht(" ");
100
+ function hr() {
101
+ return Et(" ");
102
102
  }
103
- function pr(e, t, r, n) {
103
+ function lr(e, t, r, n) {
104
104
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
105
105
  }
106
- function E(e, t, r) {
106
+ function _(e, t, r) {
107
107
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
108
108
  }
109
- function dr(e) {
109
+ function cr(e) {
110
110
  return Array.from(e.childNodes);
111
111
  }
112
- function br(e, t) {
112
+ function fr(e, t) {
113
113
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
114
114
  t);
115
115
  }
116
- function yr(e, t, r, n) {
116
+ function mr(e, t, r, n) {
117
117
  e.style.setProperty(t, r, "");
118
118
  }
119
- function vr(e) {
119
+ function pr(e) {
120
120
  const t = {};
121
121
  return e.childNodes.forEach(
122
122
  /** @param {Element} node */
@@ -125,93 +125,93 @@ function vr(e) {
125
125
  }
126
126
  ), t;
127
127
  }
128
- let Y;
128
+ let q;
129
129
  function J(e) {
130
- Y = e;
130
+ q = e;
131
131
  }
132
- function gr() {
133
- if (!Y) throw new Error("Function called outside component initialization");
134
- return Y;
132
+ function dr() {
133
+ if (!q) throw new Error("Function called outside component initialization");
134
+ return q;
135
135
  }
136
- function xr(e) {
137
- gr().$$.on_mount.push(e);
136
+ function br(e) {
137
+ dr().$$.on_mount.push(e);
138
138
  }
139
- const R = [], Ae = [];
139
+ const R = [], Be = [];
140
140
  let U = [];
141
- const tt = [], _r = /* @__PURE__ */ Promise.resolve();
142
- let Pe = !1;
143
- function Er() {
144
- Pe || (Pe = !0, _r.then(ce));
141
+ const qe = [], yr = /* @__PURE__ */ Promise.resolve();
142
+ let Ae = !1;
143
+ function vr() {
144
+ Ae || (Ae = !0, yr.then(Y));
145
145
  }
146
- function Oe(e) {
146
+ function Pe(e) {
147
147
  U.push(e);
148
148
  }
149
149
  const xe = /* @__PURE__ */ new Set();
150
- let $ = 0;
151
- function ce() {
152
- if ($ !== 0)
150
+ let M = 0;
151
+ function Y() {
152
+ if (M !== 0)
153
153
  return;
154
- const e = Y;
154
+ const e = q;
155
155
  do {
156
156
  try {
157
- for (; $ < R.length; ) {
158
- const t = R[$];
159
- $++, J(t), Sr(t.$$);
157
+ for (; M < R.length; ) {
158
+ const t = R[M];
159
+ M++, J(t), gr(t.$$);
160
160
  }
161
161
  } catch (t) {
162
- throw R.length = 0, $ = 0, t;
162
+ throw R.length = 0, M = 0, t;
163
163
  }
164
- for (J(null), R.length = 0, $ = 0; Ae.length; ) Ae.pop()();
164
+ for (J(null), R.length = 0, M = 0; Be.length; ) Be.pop()();
165
165
  for (let t = 0; t < U.length; t += 1) {
166
166
  const r = U[t];
167
167
  xe.has(r) || (xe.add(r), r());
168
168
  }
169
169
  U.length = 0;
170
170
  } while (R.length);
171
- for (; tt.length; )
172
- tt.pop()();
173
- Pe = !1, xe.clear(), J(e);
171
+ for (; qe.length; )
172
+ qe.pop()();
173
+ Ae = !1, xe.clear(), J(e);
174
174
  }
175
- function Sr(e) {
175
+ function gr(e) {
176
176
  if (e.fragment !== null) {
177
- e.update(), ee(e.before_update);
177
+ e.update(), te(e.before_update);
178
178
  const t = e.dirty;
179
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Oe);
179
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Pe);
180
180
  }
181
181
  }
182
- function wr(e) {
182
+ function xr(e) {
183
183
  const t = [], r = [];
184
184
  U.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), U = t;
185
185
  }
186
- const Hr = /* @__PURE__ */ new Set();
187
- function Tr(e, t) {
188
- e && e.i && (Hr.delete(e), e.i(t));
186
+ const _r = /* @__PURE__ */ new Set();
187
+ function Er(e, t) {
188
+ e && e.i && (_r.delete(e), e.i(t));
189
189
  }
190
- function Br(e, t, r) {
190
+ function Sr(e, t, r) {
191
191
  const { fragment: n, after_update: i } = e.$$;
192
- n && n.m(t, r), Oe(() => {
193
- const o = e.$$.on_mount.map(St).filter(Ve);
194
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ee(o), e.$$.on_mount = [];
195
- }), i.forEach(Oe);
192
+ n && n.m(t, r), Pe(() => {
193
+ const o = e.$$.on_mount.map(xt).filter(ke);
194
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : te(o), e.$$.on_mount = [];
195
+ }), i.forEach(Pe);
196
196
  }
197
- function Ar(e, t) {
197
+ function wr(e, t) {
198
198
  const r = e.$$;
199
- r.fragment !== null && (wr(r.after_update), ee(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
199
+ r.fragment !== null && (xr(r.after_update), te(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
200
200
  }
201
- function Pr(e, t) {
202
- e.$$.dirty[0] === -1 && (R.push(e), Er(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
201
+ function Hr(e, t) {
202
+ e.$$.dirty[0] === -1 && (R.push(e), vr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
203
203
  }
204
- function Or(e, t, r, n, i, o, s = null, a = [-1]) {
205
- const h = Y;
204
+ function Tr(e, t, r, n, i, o, s = null, a = [-1]) {
205
+ const h = q;
206
206
  J(e);
207
207
  const u = e.$$ = {
208
208
  fragment: null,
209
209
  ctx: [],
210
210
  // state
211
211
  props: o,
212
- update: B,
212
+ update: H,
213
213
  not_equal: i,
214
- bound: et(),
214
+ bound: Ye(),
215
215
  // lifecycle
216
216
  on_mount: [],
217
217
  on_destroy: [],
@@ -220,48 +220,48 @@ function Or(e, t, r, n, i, o, s = null, a = [-1]) {
220
220
  after_update: [],
221
221
  context: new Map(t.context || (h ? h.$$.context : [])),
222
222
  // everything else
223
- callbacks: et(),
223
+ callbacks: Ye(),
224
224
  dirty: a,
225
225
  skip_bound: !1,
226
226
  root: t.target || h.$$.root
227
227
  };
228
228
  s && s(u.root);
229
229
  let l = !1;
230
- if (u.ctx = r ? r(e, t.props || {}, (c, f, ...d) => {
231
- const v = d.length ? d[0] : f;
232
- return u.ctx && i(u.ctx[c], u.ctx[c] = v) && (!u.skip_bound && u.bound[c] && u.bound[c](v), l && Pr(e, c)), f;
233
- }) : [], u.update(), l = !0, ee(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
230
+ if (u.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
231
+ const g = p.length ? p[0] : c;
232
+ return u.ctx && i(u.ctx[f], u.ctx[f] = g) && (!u.skip_bound && u.bound[f] && u.bound[f](g), l && Hr(e, f)), c;
233
+ }) : [], u.update(), l = !0, te(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
234
234
  if (t.hydrate) {
235
- const c = dr(t.target);
236
- u.fragment && u.fragment.l(c), c.forEach(X);
235
+ const f = cr(t.target);
236
+ u.fragment && u.fragment.l(f), f.forEach(X);
237
237
  } else
238
238
  u.fragment && u.fragment.c();
239
- t.intro && Tr(e.$$.fragment), Br(e, t.target, t.anchor), ce();
239
+ t.intro && Er(e.$$.fragment), Sr(e, t.target, t.anchor), Y();
240
240
  }
241
241
  J(h);
242
242
  }
243
- let Tt;
244
- typeof HTMLElement == "function" && (Tt = class extends HTMLElement {
243
+ let St;
244
+ typeof HTMLElement == "function" && (St = class extends HTMLElement {
245
245
  constructor(t, r, n) {
246
246
  super();
247
247
  /** The Svelte component constructor */
248
- T(this, "$$ctor");
248
+ w(this, "$$ctor");
249
249
  /** Slots */
250
- T(this, "$$s");
250
+ w(this, "$$s");
251
251
  /** The Svelte component instance */
252
- T(this, "$$c");
252
+ w(this, "$$c");
253
253
  /** Whether or not the custom element is connected */
254
- T(this, "$$cn", !1);
254
+ w(this, "$$cn", !1);
255
255
  /** Component props data */
256
- T(this, "$$d", {});
256
+ w(this, "$$d", {});
257
257
  /** `true` if currently in the process of reflecting component props back to attributes */
258
- T(this, "$$r", !1);
258
+ w(this, "$$r", !1);
259
259
  /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
260
- T(this, "$$p_d", {});
260
+ w(this, "$$p_d", {});
261
261
  /** @type {Record<string, Function[]>} Event listeners */
262
- T(this, "$$l", {});
262
+ w(this, "$$l", {});
263
263
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
264
- T(this, "$$l_u", /* @__PURE__ */ new Map());
264
+ w(this, "$$l_u", /* @__PURE__ */ new Map());
265
265
  this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
266
266
  }
267
267
  addEventListener(t, r, n) {
@@ -278,21 +278,21 @@ typeof HTMLElement == "function" && (Tt = class extends HTMLElement {
278
278
  }
279
279
  }
280
280
  connectedCallback() {
281
- return Ke(this, null, function* () {
281
+ return Je(this, null, function* () {
282
282
  if (this.$$cn = !0, !this.$$c) {
283
283
  let t = function(o) {
284
284
  return () => {
285
285
  let s;
286
286
  return {
287
287
  c: function() {
288
- s = F("slot"), o !== "default" && E(s, "name", o);
288
+ s = F("slot"), o !== "default" && _(s, "name", o);
289
289
  },
290
290
  /**
291
291
  * @param {HTMLElement} target
292
292
  * @param {HTMLElement} [anchor]
293
293
  */
294
294
  m: function(u, l) {
295
- te(u, s, l);
295
+ re(u, s, l);
296
296
  },
297
297
  d: function(u) {
298
298
  u && X(s);
@@ -302,18 +302,18 @@ typeof HTMLElement == "function" && (Tt = class extends HTMLElement {
302
302
  };
303
303
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
304
304
  return;
305
- const r = {}, n = vr(this);
305
+ const r = {}, n = pr(this);
306
306
  for (const o of this.$$s)
307
307
  o in n && (r[o] = [t(o)]);
308
308
  for (const o of this.attributes) {
309
309
  const s = this.$$g_p(o.name);
310
- s in this.$$d || (this.$$d[s] = ae(s, o.value, this.$$p_d, "toProp"));
310
+ s in this.$$d || (this.$$d[s] = ue(s, o.value, this.$$p_d, "toProp"));
311
311
  }
312
312
  for (const o in this.$$p_d)
313
313
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
314
314
  this.$$c = new this.$$ctor({
315
315
  target: this.shadowRoot || this,
316
- props: qe(Ye({}, this.$$d), {
316
+ props: Qe(Ze({}, this.$$d), {
317
317
  $$slots: r,
318
318
  $$scope: {
319
319
  ctx: []
@@ -324,7 +324,7 @@ typeof HTMLElement == "function" && (Tt = class extends HTMLElement {
324
324
  this.$$r = !0;
325
325
  for (const o in this.$$p_d)
326
326
  if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
327
- const s = ae(
327
+ const s = ue(
328
328
  o,
329
329
  this.$$d[o],
330
330
  this.$$p_d,
@@ -348,7 +348,7 @@ typeof HTMLElement == "function" && (Tt = class extends HTMLElement {
348
348
  // and setting attributes through setAttribute etc, this is helpful
349
349
  attributeChangedCallback(t, r, n) {
350
350
  var i;
351
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = ae(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
351
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = ue(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
352
352
  }
353
353
  disconnectedCallback() {
354
354
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -361,7 +361,7 @@ typeof HTMLElement == "function" && (Tt = class extends HTMLElement {
361
361
  ) || t;
362
362
  }
363
363
  });
364
- function ae(e, t, r, n) {
364
+ function ue(e, t, r, n) {
365
365
  var o;
366
366
  const i = (o = r[e]) == null ? void 0 : o.type;
367
367
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
@@ -391,8 +391,8 @@ function ae(e, t, r, n) {
391
391
  return t;
392
392
  }
393
393
  }
394
- function Ir(e, t, r, n, i, o) {
395
- let s = class extends Tt {
394
+ function Br(e, t, r, n, i, o) {
395
+ let s = class extends St {
396
396
  constructor() {
397
397
  super(e, r, i), this.$$p_d = t;
398
398
  }
@@ -409,7 +409,7 @@ function Ir(e, t, r, n, i, o) {
409
409
  },
410
410
  set(h) {
411
411
  var u;
412
- h = ae(a, h, t), this.$$d[a] = h, (u = this.$$c) == null || u.$set({ [a]: h });
412
+ h = ue(a, h, t), this.$$d[a] = h, (u = this.$$c) == null || u.$set({ [a]: h });
413
413
  }
414
414
  });
415
415
  }), n.forEach((a) => {
@@ -422,7 +422,7 @@ function Ir(e, t, r, n, i, o) {
422
422
  }), e.element = /** @type {any} */
423
423
  s, s;
424
424
  }
425
- class Cr {
425
+ class Ar {
426
426
  constructor() {
427
427
  /**
428
428
  * ### PRIVATE API
@@ -431,7 +431,7 @@ class Cr {
431
431
  *
432
432
  * @type {any}
433
433
  */
434
- T(this, "$$");
434
+ w(this, "$$");
435
435
  /**
436
436
  * ### PRIVATE API
437
437
  *
@@ -439,11 +439,11 @@ class Cr {
439
439
  *
440
440
  * @type {any}
441
441
  */
442
- T(this, "$$set");
442
+ w(this, "$$set");
443
443
  }
444
444
  /** @returns {void} */
445
445
  $destroy() {
446
- Ar(this, 1), this.$destroy = B;
446
+ wr(this, 1), this.$destroy = H;
447
447
  }
448
448
  /**
449
449
  * @template {Extract<keyof Events, string>} K
@@ -452,8 +452,8 @@ class Cr {
452
452
  * @returns {() => void}
453
453
  */
454
454
  $on(t, r) {
455
- if (!Ve(r))
456
- return B;
455
+ if (!ke(r))
456
+ return H;
457
457
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
458
458
  return n.push(r), () => {
459
459
  const i = n.indexOf(r);
@@ -465,37 +465,37 @@ class Cr {
465
465
  * @returns {void}
466
466
  */
467
467
  $set(t) {
468
- this.$$set && !ur(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
468
+ this.$$set && !ir(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
469
469
  }
470
470
  }
471
- const Nr = "4";
472
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Nr);
473
- var Ie = function(e, t) {
474
- return Ie = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
471
+ const Pr = "4";
472
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Pr);
473
+ var Oe = function(e, t) {
474
+ return Oe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
475
475
  r.__proto__ = n;
476
476
  } || function(r, n) {
477
477
  for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
478
- }, Ie(e, t);
478
+ }, Oe(e, t);
479
479
  };
480
- function O(e, t) {
480
+ function P(e, t) {
481
481
  if (typeof t != "function" && t !== null)
482
482
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
483
- Ie(e, t);
483
+ Oe(e, t);
484
484
  function r() {
485
485
  this.constructor = e;
486
486
  }
487
487
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
488
488
  }
489
- var y = function() {
490
- return y = Object.assign || function(t) {
489
+ var v = function() {
490
+ return v = Object.assign || function(t) {
491
491
  for (var r, n = 1, i = arguments.length; n < i; n++) {
492
492
  r = arguments[n];
493
493
  for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
494
494
  }
495
495
  return t;
496
- }, y.apply(this, arguments);
496
+ }, v.apply(this, arguments);
497
497
  };
498
- function Lr(e, t) {
498
+ function Or(e, t) {
499
499
  var r = {};
500
500
  for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
501
501
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -503,7 +503,7 @@ function Lr(e, t) {
503
503
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
504
504
  return r;
505
505
  }
506
- function Ce(e) {
506
+ function Ie(e) {
507
507
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
508
508
  if (r) return r.call(e);
509
509
  if (e && typeof e.length == "number") return {
@@ -535,16 +535,16 @@ function D(e, t, r) {
535
535
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
536
536
  return e.concat(o || Array.prototype.slice.call(t));
537
537
  }
538
- function P(e) {
538
+ function A(e) {
539
539
  return typeof e == "function";
540
540
  }
541
- function Bt(e) {
541
+ function wt(e) {
542
542
  var t = function(n) {
543
543
  Error.call(n), n.stack = new Error().stack;
544
544
  }, r = e(t);
545
545
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
546
546
  }
547
- var _e = Bt(function(e) {
547
+ var _e = wt(function(e) {
548
548
  return function(r) {
549
549
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
550
550
  ` + r.map(function(n, i) {
@@ -553,7 +553,7 @@ var _e = Bt(function(e) {
553
553
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
554
554
  };
555
555
  });
556
- function Le(e, t) {
556
+ function Ce(e, t) {
557
557
  if (e) {
558
558
  var r = e.indexOf(t);
559
559
  0 <= r && e.splice(r, 1);
@@ -571,7 +571,7 @@ var pe = function() {
571
571
  if (s)
572
572
  if (this._parentage = null, Array.isArray(s))
573
573
  try {
574
- for (var a = Ce(s), h = a.next(); !h.done; h = a.next()) {
574
+ for (var a = Ie(s), h = a.next(); !h.done; h = a.next()) {
575
575
  var u = h.value;
576
576
  u.remove(this);
577
577
  }
@@ -587,20 +587,20 @@ var pe = function() {
587
587
  else
588
588
  s.remove(this);
589
589
  var l = this.initialTeardown;
590
- if (P(l))
590
+ if (A(l))
591
591
  try {
592
592
  l();
593
593
  } catch (m) {
594
594
  o = m instanceof _e ? m.errors : [m];
595
595
  }
596
- var c = this._finalizers;
597
- if (c) {
596
+ var f = this._finalizers;
597
+ if (f) {
598
598
  this._finalizers = null;
599
599
  try {
600
- for (var f = Ce(c), d = f.next(); !d.done; d = f.next()) {
601
- var v = d.value;
600
+ for (var c = Ie(f), p = c.next(); !p.done; p = c.next()) {
601
+ var g = p.value;
602
602
  try {
603
- rt(v);
603
+ Ke(g);
604
604
  } catch (m) {
605
605
  o = o != null ? o : [], m instanceof _e ? o = D(D([], Ne(o)), Ne(m.errors)) : o.push(m);
606
606
  }
@@ -609,7 +609,7 @@ var pe = function() {
609
609
  n = { error: m };
610
610
  } finally {
611
611
  try {
612
- d && !d.done && (i = f.return) && i.call(f);
612
+ p && !p.done && (i = c.return) && i.call(c);
613
613
  } finally {
614
614
  if (n) throw n.error;
615
615
  }
@@ -622,7 +622,7 @@ var pe = function() {
622
622
  var r;
623
623
  if (t && t !== this)
624
624
  if (this.closed)
625
- rt(t);
625
+ Ke(t);
626
626
  else {
627
627
  if (t instanceof e) {
628
628
  if (t.closed || t._hasParent(this))
@@ -639,28 +639,24 @@ var pe = function() {
639
639
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
640
640
  }, e.prototype._removeParent = function(t) {
641
641
  var r = this._parentage;
642
- r === t ? this._parentage = null : Array.isArray(r) && Le(r, t);
642
+ r === t ? this._parentage = null : Array.isArray(r) && Ce(r, t);
643
643
  }, e.prototype.remove = function(t) {
644
644
  var r = this._finalizers;
645
- r && Le(r, t), t instanceof e && t._removeParent(this);
645
+ r && Ce(r, t), t instanceof e && t._removeParent(this);
646
646
  }, e.EMPTY = function() {
647
647
  var t = new e();
648
648
  return t.closed = !0, t;
649
649
  }(), e;
650
- }(), At = pe.EMPTY;
651
- function Pt(e) {
652
- return e instanceof pe || e && "closed" in e && P(e.remove) && P(e.add) && P(e.unsubscribe);
650
+ }(), Ht = pe.EMPTY;
651
+ function Tt(e) {
652
+ return e instanceof pe || e && "closed" in e && A(e.remove) && A(e.add) && A(e.unsubscribe);
653
653
  }
654
- function rt(e) {
655
- P(e) ? e() : e.unsubscribe();
656
- }
657
- var Ot = {
658
- onUnhandledError: null,
659
- onStoppedNotification: null,
660
- Promise: void 0,
661
- useDeprecatedSynchronousErrorHandling: !1,
662
- useDeprecatedNextContext: !1
663
- }, $r = {
654
+ function Ke(e) {
655
+ A(e) ? e() : e.unsubscribe();
656
+ }
657
+ var Ir = {
658
+ Promise: void 0
659
+ }, Nr = {
664
660
  setTimeout: function(e, t) {
665
661
  for (var r = [], n = 2; n < arguments.length; n++)
666
662
  r[n - 2] = arguments[n];
@@ -671,24 +667,24 @@ var Ot = {
671
667
  },
672
668
  delegate: void 0
673
669
  };
674
- function Mr(e) {
675
- $r.setTimeout(function() {
670
+ function Cr(e) {
671
+ Nr.setTimeout(function() {
676
672
  throw e;
677
673
  });
678
674
  }
679
- function nt() {
675
+ function et() {
680
676
  }
681
- function ue(e) {
677
+ function he(e) {
682
678
  e();
683
679
  }
684
- var It = function(e) {
685
- O(t, e);
680
+ var Bt = function(e) {
681
+ P(t, e);
686
682
  function t(r) {
687
683
  var n = e.call(this) || this;
688
- return n.isStopped = !1, r ? (n.destination = r, Pt(r) && r.add(n)) : n.destination = Fr, n;
684
+ return n.isStopped = !1, r ? (n.destination = r, Tt(r) && r.add(n)) : n.destination = $r, n;
689
685
  }
690
686
  return t.create = function(r, n, i) {
691
- return new $e(r, n, i);
687
+ return new Le(r, n, i);
692
688
  }, t.prototype.next = function(r) {
693
689
  this.isStopped || this._next(r);
694
690
  }, t.prototype.error = function(r) {
@@ -712,11 +708,7 @@ var It = function(e) {
712
708
  this.unsubscribe();
713
709
  }
714
710
  }, t;
715
- }(pe), Rr = Function.prototype.bind;
716
- function Ee(e, t) {
717
- return Rr.call(e, t);
718
- }
719
- var Ur = function() {
711
+ }(pe), Lr = function() {
720
712
  function e(t) {
721
713
  this.partialObserver = t;
722
714
  }
@@ -726,7 +718,7 @@ var Ur = function() {
726
718
  try {
727
719
  r.next(t);
728
720
  } catch (n) {
729
- oe(n);
721
+ se(n);
730
722
  }
731
723
  }, e.prototype.error = function(t) {
732
724
  var r = this.partialObserver;
@@ -734,68 +726,56 @@ var Ur = function() {
734
726
  try {
735
727
  r.error(t);
736
728
  } catch (n) {
737
- oe(n);
729
+ se(n);
738
730
  }
739
731
  else
740
- oe(t);
732
+ se(t);
741
733
  }, e.prototype.complete = function() {
742
734
  var t = this.partialObserver;
743
735
  if (t.complete)
744
736
  try {
745
737
  t.complete();
746
738
  } catch (r) {
747
- oe(r);
739
+ se(r);
748
740
  }
749
741
  }, e;
750
- }(), $e = function(e) {
751
- O(t, e);
742
+ }(), Le = function(e) {
743
+ P(t, e);
752
744
  function t(r, n, i) {
753
745
  var o = e.call(this) || this, s;
754
- if (P(r) || !r)
755
- s = {
756
- next: r != null ? r : void 0,
757
- error: n != null ? n : void 0,
758
- complete: i != null ? i : void 0
759
- };
760
- else {
761
- var a;
762
- o && Ot.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
763
- return o.unsubscribe();
764
- }, s = {
765
- next: r.next && Ee(r.next, a),
766
- error: r.error && Ee(r.error, a),
767
- complete: r.complete && Ee(r.complete, a)
768
- }) : s = r;
769
- }
770
- return o.destination = new Ur(s), o;
746
+ return A(r) || !r ? s = {
747
+ next: r != null ? r : void 0,
748
+ error: n != null ? n : void 0,
749
+ complete: i != null ? i : void 0
750
+ } : s = r, o.destination = new Lr(s), o;
771
751
  }
772
752
  return t;
773
- }(It);
774
- function oe(e) {
775
- Mr(e);
753
+ }(Bt);
754
+ function se(e) {
755
+ Cr(e);
776
756
  }
777
- function Dr(e) {
757
+ function Mr(e) {
778
758
  throw e;
779
759
  }
780
- var Fr = {
760
+ var $r = {
781
761
  closed: !0,
782
- next: nt,
783
- error: Dr,
784
- complete: nt
785
- }, Gr = function() {
762
+ next: et,
763
+ error: Mr,
764
+ complete: et
765
+ }, Rr = function() {
786
766
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
787
767
  }();
788
- function jr(e) {
768
+ function Ur(e) {
789
769
  return e;
790
770
  }
791
- function kr(e) {
792
- return e.length === 0 ? jr : e.length === 1 ? e[0] : function(r) {
771
+ function Dr(e) {
772
+ return e.length === 0 ? Ur : e.length === 1 ? e[0] : function(r) {
793
773
  return e.reduce(function(n, i) {
794
774
  return i(n);
795
775
  }, r);
796
776
  };
797
777
  }
798
- var it = function() {
778
+ var tt = function() {
799
779
  function e(t) {
800
780
  t && (this._subscribe = t);
801
781
  }
@@ -803,8 +783,8 @@ var it = function() {
803
783
  var r = new e();
804
784
  return r.source = this, r.operator = t, r;
805
785
  }, e.prototype.subscribe = function(t, r, n) {
806
- var i = this, o = Xr(t) ? t : new $e(t, r, n);
807
- return ue(function() {
786
+ var i = this, o = Gr(t) ? t : new Le(t, r, n);
787
+ return he(function() {
808
788
  var s = i, a = s.operator, h = s.source;
809
789
  o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
810
790
  }), o;
@@ -816,8 +796,8 @@ var it = function() {
816
796
  }
817
797
  }, e.prototype.forEach = function(t, r) {
818
798
  var n = this;
819
- return r = ot(r), new r(function(i, o) {
820
- var s = new $e({
799
+ return r = rt(r), new r(function(i, o) {
800
+ var s = new Le({
821
801
  next: function(a) {
822
802
  try {
823
803
  t(a);
@@ -833,15 +813,15 @@ var it = function() {
833
813
  }, e.prototype._subscribe = function(t) {
834
814
  var r;
835
815
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
836
- }, e.prototype[Gr] = function() {
816
+ }, e.prototype[Rr] = function() {
837
817
  return this;
838
818
  }, e.prototype.pipe = function() {
839
819
  for (var t = [], r = 0; r < arguments.length; r++)
840
820
  t[r] = arguments[r];
841
- return kr(t)(this);
821
+ return Dr(t)(this);
842
822
  }, e.prototype.toPromise = function(t) {
843
823
  var r = this;
844
- return t = ot(t), new t(function(n, i) {
824
+ return t = rt(t), new t(function(n, i) {
845
825
  var o;
846
826
  r.subscribe(function(s) {
847
827
  return o = s;
@@ -855,40 +835,40 @@ var it = function() {
855
835
  return new e(t);
856
836
  }, e;
857
837
  }();
858
- function ot(e) {
838
+ function rt(e) {
859
839
  var t;
860
- return (t = e != null ? e : Ot.Promise) !== null && t !== void 0 ? t : Promise;
840
+ return (t = e != null ? e : Ir.Promise) !== null && t !== void 0 ? t : Promise;
861
841
  }
862
- function Vr(e) {
863
- return e && P(e.next) && P(e.error) && P(e.complete);
842
+ function Fr(e) {
843
+ return e && A(e.next) && A(e.error) && A(e.complete);
864
844
  }
865
- function Xr(e) {
866
- return e && e instanceof It || Vr(e) && Pt(e);
845
+ function Gr(e) {
846
+ return e && e instanceof Bt || Fr(e) && Tt(e);
867
847
  }
868
- var Wr = Bt(function(e) {
848
+ var jr = wt(function(e) {
869
849
  return function() {
870
850
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
871
851
  };
872
- }), Ct = function(e) {
873
- O(t, e);
852
+ }), At = function(e) {
853
+ P(t, e);
874
854
  function t() {
875
855
  var r = e.call(this) || this;
876
856
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
877
857
  }
878
858
  return t.prototype.lift = function(r) {
879
- var n = new st(this, this);
859
+ var n = new nt(this, this);
880
860
  return n.operator = r, n;
881
861
  }, t.prototype._throwIfClosed = function() {
882
862
  if (this.closed)
883
- throw new Wr();
863
+ throw new jr();
884
864
  }, t.prototype.next = function(r) {
885
865
  var n = this;
886
- ue(function() {
866
+ he(function() {
887
867
  var i, o;
888
868
  if (n._throwIfClosed(), !n.isStopped) {
889
869
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
890
870
  try {
891
- for (var s = Ce(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
871
+ for (var s = Ie(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
892
872
  var h = a.value;
893
873
  h.next(r);
894
874
  }
@@ -905,7 +885,7 @@ var Wr = Bt(function(e) {
905
885
  });
906
886
  }, t.prototype.error = function(r) {
907
887
  var n = this;
908
- ue(function() {
888
+ he(function() {
909
889
  if (n._throwIfClosed(), !n.isStopped) {
910
890
  n.hasError = n.isStopped = !0, n.thrownError = r;
911
891
  for (var i = n.observers; i.length; )
@@ -914,7 +894,7 @@ var Wr = Bt(function(e) {
914
894
  });
915
895
  }, t.prototype.complete = function() {
916
896
  var r = this;
917
- ue(function() {
897
+ he(function() {
918
898
  if (r._throwIfClosed(), !r.isStopped) {
919
899
  r.isStopped = !0;
920
900
  for (var n = r.observers; n.length; )
@@ -936,20 +916,20 @@ var Wr = Bt(function(e) {
936
916
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
937
917
  }, t.prototype._innerSubscribe = function(r) {
938
918
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
939
- return o || s ? At : (this.currentObservers = null, a.push(r), new pe(function() {
940
- n.currentObservers = null, Le(a, r);
919
+ return o || s ? Ht : (this.currentObservers = null, a.push(r), new pe(function() {
920
+ n.currentObservers = null, Ce(a, r);
941
921
  }));
942
922
  }, t.prototype._checkFinalizedStatuses = function(r) {
943
923
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
944
924
  i ? r.error(o) : s && r.complete();
945
925
  }, t.prototype.asObservable = function() {
946
- var r = new it();
926
+ var r = new tt();
947
927
  return r.source = this, r;
948
928
  }, t.create = function(r, n) {
949
- return new st(r, n);
929
+ return new nt(r, n);
950
930
  }, t;
951
- }(it), st = function(e) {
952
- O(t, e);
931
+ }(tt), nt = function(e) {
932
+ P(t, e);
953
933
  function t(r, n) {
954
934
  var i = e.call(this) || this;
955
935
  return i.destination = r, i.source = n, i;
@@ -965,17 +945,17 @@ var Wr = Bt(function(e) {
965
945
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
966
946
  }, t.prototype._subscribe = function(r) {
967
947
  var n, i;
968
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : At;
948
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Ht;
969
949
  }, t;
970
- }(Ct), Nt = {
950
+ }(At), Pt = {
971
951
  now: function() {
972
- return (Nt.delegate || Date).now();
952
+ return (Pt.delegate || Date).now();
973
953
  },
974
954
  delegate: void 0
975
- }, zr = function(e) {
976
- O(t, e);
955
+ }, kr = function(e) {
956
+ P(t, e);
977
957
  function t(r, n, i) {
978
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Nt);
958
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Pt);
979
959
  var o = e.call(this) || this;
980
960
  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;
981
961
  }
@@ -995,40 +975,40 @@ var Wr = Bt(function(e) {
995
975
  u && o.splice(0, u + 1);
996
976
  }
997
977
  }, t;
998
- }(Ct);
999
- const at = [], ut = {}, Zr = (e, t = 0) => {
1000
- if (at.indexOf(e) == -1) {
1001
- const r = new zr(t);
1002
- ut[e] = r, at.push(e);
978
+ }(At);
979
+ const it = [], ot = {}, Vr = (e, t = 0) => {
980
+ if (it.indexOf(e) == -1) {
981
+ const r = new kr(t);
982
+ ot[e] = r, it.push(e);
1003
983
  }
1004
- return ut[e];
1005
- }, M = [];
1006
- function Qr(e, t) {
984
+ return ot[e];
985
+ }, $ = [];
986
+ function Xr(e, t) {
1007
987
  return {
1008
988
  subscribe: de(e, t).subscribe
1009
989
  };
1010
990
  }
1011
- function de(e, t = B) {
991
+ function de(e, t = H) {
1012
992
  let r;
1013
993
  const n = /* @__PURE__ */ new Set();
1014
994
  function i(a) {
1015
- if (wt(e, a) && (e = a, r)) {
1016
- const h = !M.length;
995
+ if (_t(e, a) && (e = a, r)) {
996
+ const h = !$.length;
1017
997
  for (const u of n)
1018
- u[1](), M.push(u, e);
998
+ u[1](), $.push(u, e);
1019
999
  if (h) {
1020
- for (let u = 0; u < M.length; u += 2)
1021
- M[u][0](M[u + 1]);
1022
- M.length = 0;
1000
+ for (let u = 0; u < $.length; u += 2)
1001
+ $[u][0]($[u + 1]);
1002
+ $.length = 0;
1023
1003
  }
1024
1004
  }
1025
1005
  }
1026
1006
  function o(a) {
1027
1007
  i(a(e));
1028
1008
  }
1029
- function s(a, h = B) {
1009
+ function s(a, h = H) {
1030
1010
  const u = [a, h];
1031
- return n.add(u), n.size === 1 && (r = t(i, o) || B), a(e), () => {
1011
+ return n.add(u), n.size === 1 && (r = t(i, o) || H), a(e), () => {
1032
1012
  n.delete(u), n.size === 0 && r && (r(), r = null);
1033
1013
  };
1034
1014
  }
@@ -1039,96 +1019,96 @@ function W(e, t, r) {
1039
1019
  if (!i.every(Boolean))
1040
1020
  throw new Error("derived() expects stores as input, got a falsy value");
1041
1021
  const o = t.length < 2;
1042
- return Qr(r, (s, a) => {
1022
+ return Xr(r, (s, a) => {
1043
1023
  let h = !1;
1044
1024
  const u = [];
1045
- let l = 0, c = B;
1046
- const f = () => {
1025
+ let l = 0, f = H;
1026
+ const c = () => {
1047
1027
  if (l)
1048
1028
  return;
1049
- c();
1050
- const v = t(n ? u[0] : u, s, a);
1051
- o ? s(v) : c = Ve(v) ? v : B;
1052
- }, d = i.map(
1053
- (v, m) => hr(
1054
- v,
1055
- (_) => {
1056
- u[m] = _, l &= ~(1 << m), h && f();
1029
+ f();
1030
+ const g = t(n ? u[0] : u, s, a);
1031
+ o ? s(g) : f = ke(g) ? g : H;
1032
+ }, p = i.map(
1033
+ (g, m) => or(
1034
+ g,
1035
+ (d) => {
1036
+ u[m] = d, l &= ~(1 << m), h && c();
1057
1037
  },
1058
1038
  () => {
1059
1039
  l |= 1 << m;
1060
1040
  }
1061
1041
  )
1062
1042
  );
1063
- return h = !0, f(), function() {
1064
- ee(d), c(), h = !1;
1043
+ return h = !0, c(), function() {
1044
+ te(p), f(), h = !1;
1065
1045
  };
1066
1046
  });
1067
1047
  }
1068
- function Jr(e) {
1048
+ function Wr(e) {
1069
1049
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1070
1050
  }
1071
- var Yr = function(t) {
1072
- return qr(t) && !Kr(t);
1051
+ var zr = function(t) {
1052
+ return Zr(t) && !Qr(t);
1073
1053
  };
1074
- function qr(e) {
1054
+ function Zr(e) {
1075
1055
  return !!e && typeof e == "object";
1076
1056
  }
1077
- function Kr(e) {
1057
+ function Qr(e) {
1078
1058
  var t = Object.prototype.toString.call(e);
1079
- return t === "[object RegExp]" || t === "[object Date]" || rn(e);
1059
+ return t === "[object RegExp]" || t === "[object Date]" || qr(e);
1080
1060
  }
1081
- var en = typeof Symbol == "function" && Symbol.for, tn = en ? Symbol.for("react.element") : 60103;
1082
- function rn(e) {
1083
- return e.$$typeof === tn;
1061
+ var Jr = typeof Symbol == "function" && Symbol.for, Yr = Jr ? Symbol.for("react.element") : 60103;
1062
+ function qr(e) {
1063
+ return e.$$typeof === Yr;
1084
1064
  }
1085
- function nn(e) {
1065
+ function Kr(e) {
1086
1066
  return Array.isArray(e) ? [] : {};
1087
1067
  }
1088
- function q(e, t) {
1089
- return t.clone !== !1 && t.isMergeableObject(e) ? G(nn(e), e, t) : e;
1068
+ function K(e, t) {
1069
+ return t.clone !== !1 && t.isMergeableObject(e) ? G(Kr(e), e, t) : e;
1090
1070
  }
1091
- function on(e, t, r) {
1071
+ function en(e, t, r) {
1092
1072
  return e.concat(t).map(function(n) {
1093
- return q(n, r);
1073
+ return K(n, r);
1094
1074
  });
1095
1075
  }
1096
- function sn(e, t) {
1076
+ function tn(e, t) {
1097
1077
  if (!t.customMerge)
1098
1078
  return G;
1099
1079
  var r = t.customMerge(e);
1100
1080
  return typeof r == "function" ? r : G;
1101
1081
  }
1102
- function an(e) {
1082
+ function rn(e) {
1103
1083
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1104
1084
  return Object.propertyIsEnumerable.call(e, t);
1105
1085
  }) : [];
1106
1086
  }
1107
- function ht(e) {
1108
- return Object.keys(e).concat(an(e));
1087
+ function st(e) {
1088
+ return Object.keys(e).concat(rn(e));
1109
1089
  }
1110
- function Lt(e, t) {
1090
+ function Ot(e, t) {
1111
1091
  try {
1112
1092
  return t in e;
1113
1093
  } catch (r) {
1114
1094
  return !1;
1115
1095
  }
1116
1096
  }
1117
- function un(e, t) {
1118
- return Lt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1097
+ function nn(e, t) {
1098
+ return Ot(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1119
1099
  }
1120
- function hn(e, t, r) {
1100
+ function on(e, t, r) {
1121
1101
  var n = {};
1122
- return r.isMergeableObject(e) && ht(e).forEach(function(i) {
1123
- n[i] = q(e[i], r);
1124
- }), ht(t).forEach(function(i) {
1125
- un(e, i) || (Lt(e, i) && r.isMergeableObject(t[i]) ? n[i] = sn(i, r)(e[i], t[i], r) : n[i] = q(t[i], r));
1102
+ return r.isMergeableObject(e) && st(e).forEach(function(i) {
1103
+ n[i] = K(e[i], r);
1104
+ }), st(t).forEach(function(i) {
1105
+ nn(e, i) || (Ot(e, i) && r.isMergeableObject(t[i]) ? n[i] = tn(i, r)(e[i], t[i], r) : n[i] = K(t[i], r));
1126
1106
  }), n;
1127
1107
  }
1128
1108
  function G(e, t, r) {
1129
- r = r || {}, r.arrayMerge = r.arrayMerge || on, r.isMergeableObject = r.isMergeableObject || Yr, r.cloneUnlessOtherwiseSpecified = q;
1109
+ r = r || {}, r.arrayMerge = r.arrayMerge || en, r.isMergeableObject = r.isMergeableObject || zr, r.cloneUnlessOtherwiseSpecified = K;
1130
1110
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1131
- return o ? n ? r.arrayMerge(e, t, r) : hn(e, t, r) : q(t, r);
1111
+ return o ? n ? r.arrayMerge(e, t, r) : on(e, t, r) : K(t, r);
1132
1112
  }
1133
1113
  G.all = function(t, r) {
1134
1114
  if (!Array.isArray(t))
@@ -1137,62 +1117,60 @@ G.all = function(t, r) {
1137
1117
  return G(n, i, r);
1138
1118
  }, {});
1139
1119
  };
1140
- var ln = G, cn = ln;
1141
- const fn = /* @__PURE__ */ Jr(cn);
1142
- function Se(e, t) {
1143
- var r = t && t.cache ? t.cache : vn, n = t && t.serializer ? t.serializer : yn, i = t && t.strategy ? t.strategy : pn;
1120
+ var sn = G, an = sn;
1121
+ const un = /* @__PURE__ */ Wr(an);
1122
+ function Ee(e, t) {
1123
+ var r = t && t.cache ? t.cache : dn, n = t && t.serializer ? t.serializer : mn, i = t && t.strategy ? t.strategy : cn;
1144
1124
  return i(e, {
1145
1125
  cache: r,
1146
1126
  serializer: n
1147
1127
  });
1148
1128
  }
1149
- function mn(e) {
1129
+ function hn(e) {
1150
1130
  return e == null || typeof e == "number" || typeof e == "boolean";
1151
1131
  }
1152
- function $t(e, t, r, n) {
1153
- var i = mn(n) ? n : r(n), o = t.get(i);
1132
+ function ln(e, t, r, n) {
1133
+ var i = hn(n) ? n : r(n), o = t.get(i);
1154
1134
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1155
1135
  }
1156
- function Mt(e, t, r) {
1136
+ function It(e, t, r) {
1157
1137
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1158
1138
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1159
1139
  }
1160
- function Xe(e, t, r, n, i) {
1140
+ function Nt(e, t, r, n, i) {
1161
1141
  return r.bind(t, e, n, i);
1162
1142
  }
1163
- function pn(e, t) {
1164
- var r = e.length === 1 ? $t : Mt;
1165
- return Xe(e, this, r, t.cache.create(), t.serializer);
1143
+ function cn(e, t) {
1144
+ var r = e.length === 1 ? ln : It;
1145
+ return Nt(e, this, r, t.cache.create(), t.serializer);
1166
1146
  }
1167
- function dn(e, t) {
1168
- return Xe(e, this, Mt, t.cache.create(), t.serializer);
1147
+ function fn(e, t) {
1148
+ return Nt(e, this, It, t.cache.create(), t.serializer);
1169
1149
  }
1170
- function bn(e, t) {
1171
- return Xe(e, this, $t, t.cache.create(), t.serializer);
1172
- }
1173
- var yn = function() {
1150
+ var mn = function() {
1174
1151
  return JSON.stringify(arguments);
1175
- };
1176
- function We() {
1177
- this.cache = /* @__PURE__ */ Object.create(null);
1178
- }
1179
- We.prototype.get = function(e) {
1180
- return this.cache[e];
1181
- };
1182
- We.prototype.set = function(e, t) {
1183
- this.cache[e] = t;
1184
- };
1185
- var vn = {
1152
+ }, pn = (
1153
+ /** @class */
1154
+ function() {
1155
+ function e() {
1156
+ this.cache = /* @__PURE__ */ Object.create(null);
1157
+ }
1158
+ return e.prototype.get = function(t) {
1159
+ return this.cache[t];
1160
+ }, e.prototype.set = function(t, r) {
1161
+ this.cache[t] = r;
1162
+ }, e;
1163
+ }()
1164
+ ), dn = {
1186
1165
  create: function() {
1187
- return new We();
1166
+ return new pn();
1188
1167
  }
1189
- }, we = {
1190
- variadic: dn,
1191
- monadic: bn
1192
- }, p;
1168
+ }, Se = {
1169
+ variadic: fn
1170
+ }, b;
1193
1171
  (function(e) {
1194
1172
  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";
1195
- })(p || (p = {}));
1173
+ })(b || (b = {}));
1196
1174
  var x;
1197
1175
  (function(e) {
1198
1176
  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";
@@ -1201,43 +1179,43 @@ var j;
1201
1179
  (function(e) {
1202
1180
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1203
1181
  })(j || (j = {}));
1204
- function lt(e) {
1182
+ function at(e) {
1205
1183
  return e.type === x.literal;
1206
1184
  }
1207
- function gn(e) {
1185
+ function bn(e) {
1208
1186
  return e.type === x.argument;
1209
1187
  }
1210
- function Rt(e) {
1188
+ function Ct(e) {
1211
1189
  return e.type === x.number;
1212
1190
  }
1213
- function Ut(e) {
1191
+ function Lt(e) {
1214
1192
  return e.type === x.date;
1215
1193
  }
1216
- function Dt(e) {
1194
+ function Mt(e) {
1217
1195
  return e.type === x.time;
1218
1196
  }
1219
- function Ft(e) {
1197
+ function $t(e) {
1220
1198
  return e.type === x.select;
1221
1199
  }
1222
- function Gt(e) {
1200
+ function Rt(e) {
1223
1201
  return e.type === x.plural;
1224
1202
  }
1225
- function xn(e) {
1203
+ function yn(e) {
1226
1204
  return e.type === x.pound;
1227
1205
  }
1228
- function jt(e) {
1206
+ function Ut(e) {
1229
1207
  return e.type === x.tag;
1230
1208
  }
1231
- function kt(e) {
1209
+ function Dt(e) {
1232
1210
  return !!(e && typeof e == "object" && e.type === j.number);
1233
1211
  }
1234
1212
  function Me(e) {
1235
1213
  return !!(e && typeof e == "object" && e.type === j.dateTime);
1236
1214
  }
1237
- var Vt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, _n = /(?:[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;
1238
- function En(e) {
1215
+ var Ft = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, vn = /(?:[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;
1216
+ function gn(e) {
1239
1217
  var t = {};
1240
- return e.replace(_n, function(r) {
1218
+ return e.replace(vn, function(r) {
1241
1219
  var n = r.length;
1242
1220
  switch (r[0]) {
1243
1221
  case "G":
@@ -1326,36 +1304,36 @@ function En(e) {
1326
1304
  return "";
1327
1305
  }), t;
1328
1306
  }
1329
- var Sn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1330
- function wn(e) {
1307
+ var xn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1308
+ function _n(e) {
1331
1309
  if (e.length === 0)
1332
1310
  throw new Error("Number skeleton cannot be empty");
1333
- for (var t = e.split(Sn).filter(function(f) {
1334
- return f.length > 0;
1311
+ for (var t = e.split(xn).filter(function(c) {
1312
+ return c.length > 0;
1335
1313
  }), r = [], n = 0, i = t; n < i.length; n++) {
1336
1314
  var o = i[n], s = o.split("/");
1337
1315
  if (s.length === 0)
1338
1316
  throw new Error("Invalid number skeleton");
1339
1317
  for (var a = s[0], h = s.slice(1), u = 0, l = h; u < l.length; u++) {
1340
- var c = l[u];
1341
- if (c.length === 0)
1318
+ var f = l[u];
1319
+ if (f.length === 0)
1342
1320
  throw new Error("Invalid number skeleton");
1343
1321
  }
1344
1322
  r.push({ stem: a, options: h });
1345
1323
  }
1346
1324
  return r;
1347
1325
  }
1348
- function Hn(e) {
1326
+ function En(e) {
1349
1327
  return e.replace(/^(.*?)-/, "");
1350
1328
  }
1351
- var ct = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Xt = /^(@+)?(\+|#+)?[rs]?$/g, Tn = /(\*)(0+)|(#+)(0+)|(0+)/g, Wt = /^(0+)$/;
1352
- function ft(e) {
1329
+ var ut = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Gt = /^(@+)?(\+|#+)?[rs]?$/g, Sn = /(\*)(0+)|(#+)(0+)|(0+)/g, jt = /^(0+)$/;
1330
+ function ht(e) {
1353
1331
  var t = {};
1354
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Xt, function(r, n, i) {
1332
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Gt, function(r, n, i) {
1355
1333
  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)), "";
1356
1334
  }), t;
1357
1335
  }
1358
- function zt(e) {
1336
+ function kt(e) {
1359
1337
  switch (e) {
1360
1338
  case "sign-auto":
1361
1339
  return {
@@ -1395,7 +1373,7 @@ function zt(e) {
1395
1373
  };
1396
1374
  }
1397
1375
  }
1398
- function Bn(e) {
1376
+ function wn(e) {
1399
1377
  var t;
1400
1378
  if (e[0] === "E" && e[1] === "E" ? (t = {
1401
1379
  notation: "engineering"
@@ -1403,17 +1381,17 @@ function Bn(e) {
1403
1381
  notation: "scientific"
1404
1382
  }, e = e.slice(1)), t) {
1405
1383
  var r = e.slice(0, 2);
1406
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Wt.test(e))
1384
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !jt.test(e))
1407
1385
  throw new Error("Malformed concise eng/scientific notation");
1408
1386
  t.minimumIntegerDigits = e.length;
1409
1387
  }
1410
1388
  return t;
1411
1389
  }
1412
- function mt(e) {
1413
- var t = {}, r = zt(e);
1390
+ function lt(e) {
1391
+ var t = {}, r = kt(e);
1414
1392
  return r || t;
1415
1393
  }
1416
- function An(e) {
1394
+ function Hn(e) {
1417
1395
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1418
1396
  var i = n[r];
1419
1397
  switch (i.stem) {
@@ -1437,7 +1415,7 @@ function An(e) {
1437
1415
  continue;
1438
1416
  case "measure-unit":
1439
1417
  case "unit":
1440
- t.style = "unit", t.unit = Hn(i.options[0]);
1418
+ t.style = "unit", t.unit = En(i.options[0]);
1441
1419
  continue;
1442
1420
  case "compact-short":
1443
1421
  case "K":
@@ -1448,13 +1426,13 @@ function An(e) {
1448
1426
  t.notation = "compact", t.compactDisplay = "long";
1449
1427
  continue;
1450
1428
  case "scientific":
1451
- t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1452
- return y(y({}, h), mt(u));
1429
+ t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1430
+ return v(v({}, h), lt(u));
1453
1431
  }, {}));
1454
1432
  continue;
1455
1433
  case "engineering":
1456
- t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1457
- return y(y({}, h), mt(u));
1434
+ t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1435
+ return v(v({}, h), lt(u));
1458
1436
  }, {}));
1459
1437
  continue;
1460
1438
  case "notation-simple":
@@ -1499,45 +1477,45 @@ function An(e) {
1499
1477
  case "integer-width":
1500
1478
  if (i.options.length > 1)
1501
1479
  throw new RangeError("integer-width stems only accept a single optional option");
1502
- i.options[0].replace(Tn, function(h, u, l, c, f, d) {
1480
+ i.options[0].replace(Sn, function(h, u, l, f, c, p) {
1503
1481
  if (u)
1504
1482
  t.minimumIntegerDigits = l.length;
1505
1483
  else {
1506
- if (c && f)
1484
+ if (f && c)
1507
1485
  throw new Error("We currently do not support maximum integer digits");
1508
- if (d)
1486
+ if (p)
1509
1487
  throw new Error("We currently do not support exact integer digits");
1510
1488
  }
1511
1489
  return "";
1512
1490
  });
1513
1491
  continue;
1514
1492
  }
1515
- if (Wt.test(i.stem)) {
1493
+ if (jt.test(i.stem)) {
1516
1494
  t.minimumIntegerDigits = i.stem.length;
1517
1495
  continue;
1518
1496
  }
1519
- if (ct.test(i.stem)) {
1497
+ if (ut.test(i.stem)) {
1520
1498
  if (i.options.length > 1)
1521
1499
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1522
- i.stem.replace(ct, function(h, u, l, c, f, d) {
1523
- return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && d ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1500
+ i.stem.replace(ut, function(h, u, l, f, c, p) {
1501
+ return l === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && p ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1524
1502
  });
1525
1503
  var o = i.options[0];
1526
- o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), ft(o)));
1504
+ o === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = v(v({}, t), ht(o)));
1527
1505
  continue;
1528
1506
  }
1529
- if (Xt.test(i.stem)) {
1530
- t = y(y({}, t), ft(i.stem));
1507
+ if (Gt.test(i.stem)) {
1508
+ t = v(v({}, t), ht(i.stem));
1531
1509
  continue;
1532
1510
  }
1533
- var s = zt(i.stem);
1534
- s && (t = y(y({}, t), s));
1535
- var a = Bn(i.stem);
1536
- a && (t = y(y({}, t), a));
1511
+ var s = kt(i.stem);
1512
+ s && (t = v(v({}, t), s));
1513
+ var a = wn(i.stem);
1514
+ a && (t = v(v({}, t), a));
1537
1515
  }
1538
1516
  return t;
1539
1517
  }
1540
- var se = {
1518
+ var ae = {
1541
1519
  "001": [
1542
1520
  "H",
1543
1521
  "h"
@@ -2952,13 +2930,13 @@ var se = {
2952
2930
  "h"
2953
2931
  ]
2954
2932
  };
2955
- function Pn(e, t) {
2933
+ function Tn(e, t) {
2956
2934
  for (var r = "", n = 0; n < e.length; n++) {
2957
2935
  var i = e.charAt(n);
2958
2936
  if (i === "j") {
2959
2937
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2960
2938
  o++, n++;
2961
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = On(t);
2939
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Bn(t);
2962
2940
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2963
2941
  r += h;
2964
2942
  for (; s-- > 0; )
@@ -2967,7 +2945,7 @@ function Pn(e, t) {
2967
2945
  }
2968
2946
  return r;
2969
2947
  }
2970
- function On(e) {
2948
+ function Bn(e) {
2971
2949
  var t = e.hourCycle;
2972
2950
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2973
2951
  e.hourCycles && // @ts-ignore
@@ -2986,23 +2964,23 @@ function On(e) {
2986
2964
  }
2987
2965
  var r = e.language, n;
2988
2966
  r !== "root" && (n = e.maximize().region);
2989
- var i = se[n || ""] || se[r || ""] || se["".concat(r, "-001")] || se["001"];
2967
+ var i = ae[n || ""] || ae[r || ""] || ae["".concat(r, "-001")] || ae["001"];
2990
2968
  return i[0];
2991
2969
  }
2992
- var He, In = new RegExp("^".concat(Vt.source, "*")), Cn = new RegExp("".concat(Vt.source, "*$"));
2993
- function b(e, t) {
2970
+ var we, An = new RegExp("^".concat(Ft.source, "*")), Pn = new RegExp("".concat(Ft.source, "*$"));
2971
+ function y(e, t) {
2994
2972
  return { start: e, end: t };
2995
2973
  }
2996
- var Nn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ln = !!String.fromCodePoint, $n = !!Object.fromEntries, Mn = !!String.prototype.codePointAt, Rn = !!String.prototype.trimStart, Un = !!String.prototype.trimEnd, Dn = !!Number.isSafeInteger, Fn = Dn ? Number.isSafeInteger : function(e) {
2974
+ var On = !!String.prototype.startsWith && "_a".startsWith("a", 1), In = !!String.fromCodePoint, Nn = !!Object.fromEntries, Cn = !!String.prototype.codePointAt, Ln = !!String.prototype.trimStart, Mn = !!String.prototype.trimEnd, $n = !!Number.isSafeInteger, Rn = $n ? Number.isSafeInteger : function(e) {
2997
2975
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2998
- }, Re = !0;
2976
+ }, $e = !0;
2999
2977
  try {
3000
- var Gn = Qt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3001
- Re = ((He = Gn.exec("a")) === null || He === void 0 ? void 0 : He[0]) === "a";
2978
+ var Un = Xt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2979
+ $e = ((we = Un.exec("a")) === null || we === void 0 ? void 0 : we[0]) === "a";
3002
2980
  } catch (e) {
3003
- Re = !1;
2981
+ $e = !1;
3004
2982
  }
3005
- var pt = Nn ? (
2983
+ var ct = On ? (
3006
2984
  // Native
3007
2985
  function(t, r, n) {
3008
2986
  return t.startsWith(r, n);
@@ -3012,7 +2990,7 @@ var pt = Nn ? (
3012
2990
  function(t, r, n) {
3013
2991
  return t.slice(n, n + r.length) === r;
3014
2992
  }
3015
- ), Ue = Ln ? String.fromCodePoint : (
2993
+ ), Re = In ? String.fromCodePoint : (
3016
2994
  // IE11
3017
2995
  function() {
3018
2996
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3024,9 +3002,9 @@ var pt = Nn ? (
3024
3002
  }
3025
3003
  return n;
3026
3004
  }
3027
- ), dt = (
3005
+ ), ft = (
3028
3006
  // native
3029
- $n ? Object.fromEntries : (
3007
+ Nn ? Object.fromEntries : (
3030
3008
  // Ponyfill
3031
3009
  function(t) {
3032
3010
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3036,7 +3014,7 @@ var pt = Nn ? (
3036
3014
  return r;
3037
3015
  }
3038
3016
  )
3039
- ), Zt = Mn ? (
3017
+ ), Vt = Cn ? (
3040
3018
  // Native
3041
3019
  function(t, r) {
3042
3020
  return t.codePointAt(r);
@@ -3050,7 +3028,7 @@ var pt = Nn ? (
3050
3028
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3051
3029
  }
3052
3030
  }
3053
- ), jn = Rn ? (
3031
+ ), Dn = Ln ? (
3054
3032
  // Native
3055
3033
  function(t) {
3056
3034
  return t.trimStart();
@@ -3058,9 +3036,9 @@ var pt = Nn ? (
3058
3036
  ) : (
3059
3037
  // Ponyfill
3060
3038
  function(t) {
3061
- return t.replace(In, "");
3039
+ return t.replace(An, "");
3062
3040
  }
3063
- ), kn = Un ? (
3041
+ ), Fn = Mn ? (
3064
3042
  // Native
3065
3043
  function(t) {
3066
3044
  return t.trimEnd();
@@ -3068,32 +3046,32 @@ var pt = Nn ? (
3068
3046
  ) : (
3069
3047
  // Ponyfill
3070
3048
  function(t) {
3071
- return t.replace(Cn, "");
3049
+ return t.replace(Pn, "");
3072
3050
  }
3073
3051
  );
3074
- function Qt(e, t) {
3052
+ function Xt(e, t) {
3075
3053
  return new RegExp(e, t);
3076
3054
  }
3077
- var De;
3078
- if (Re) {
3079
- var bt = Qt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3080
- De = function(t, r) {
3055
+ var Ue;
3056
+ if ($e) {
3057
+ var mt = Xt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3058
+ Ue = function(t, r) {
3081
3059
  var n;
3082
- bt.lastIndex = r;
3083
- var i = bt.exec(t);
3060
+ mt.lastIndex = r;
3061
+ var i = mt.exec(t);
3084
3062
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3085
3063
  };
3086
3064
  } else
3087
- De = function(t, r) {
3065
+ Ue = function(t, r) {
3088
3066
  for (var n = []; ; ) {
3089
- var i = Zt(t, r);
3090
- if (i === void 0 || Jt(i) || zn(i))
3067
+ var i = Vt(t, r);
3068
+ if (i === void 0 || Wt(i) || Vn(i))
3091
3069
  break;
3092
3070
  n.push(i), r += i >= 65536 ? 2 : 1;
3093
3071
  }
3094
- return Ue.apply(void 0, n);
3072
+ return Re.apply(void 0, n);
3095
3073
  };
3096
- var Vn = (
3074
+ var Gn = (
3097
3075
  /** @class */
3098
3076
  function() {
3099
3077
  function e(t, r) {
@@ -3118,13 +3096,13 @@ var Vn = (
3118
3096
  var a = this.clonePosition();
3119
3097
  this.bump(), i.push({
3120
3098
  type: x.pound,
3121
- location: b(a, this.clonePosition())
3099
+ location: y(a, this.clonePosition())
3122
3100
  });
3123
3101
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3124
3102
  if (n)
3125
3103
  break;
3126
- return this.error(p.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
3127
- } else if (o === 60 && !this.ignoreTag && Fe(this.peek() || 0)) {
3104
+ return this.error(b.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
3105
+ } else if (o === 60 && !this.ignoreTag && De(this.peek() || 0)) {
3128
3106
  var s = this.parseTag(t, r);
3129
3107
  if (s.err)
3130
3108
  return s;
@@ -3147,7 +3125,7 @@ var Vn = (
3147
3125
  val: {
3148
3126
  type: x.literal,
3149
3127
  value: "<".concat(i, "/>"),
3150
- location: b(n, this.clonePosition())
3128
+ location: y(n, this.clonePosition())
3151
3129
  },
3152
3130
  err: null
3153
3131
  };
@@ -3157,25 +3135,25 @@ var Vn = (
3157
3135
  return o;
3158
3136
  var s = o.val, a = this.clonePosition();
3159
3137
  if (this.bumpIf("</")) {
3160
- if (this.isEOF() || !Fe(this.char()))
3161
- return this.error(p.INVALID_TAG, b(a, this.clonePosition()));
3138
+ if (this.isEOF() || !De(this.char()))
3139
+ return this.error(b.INVALID_TAG, y(a, this.clonePosition()));
3162
3140
  var h = this.clonePosition(), u = this.parseTagName();
3163
- return i !== u ? this.error(p.UNMATCHED_CLOSING_TAG, b(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3141
+ return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, y(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3164
3142
  val: {
3165
3143
  type: x.tag,
3166
3144
  value: i,
3167
3145
  children: s,
3168
- location: b(n, this.clonePosition())
3146
+ location: y(n, this.clonePosition())
3169
3147
  },
3170
3148
  err: null
3171
- } : this.error(p.INVALID_TAG, b(a, this.clonePosition())));
3149
+ } : this.error(b.INVALID_TAG, y(a, this.clonePosition())));
3172
3150
  } else
3173
- return this.error(p.UNCLOSED_TAG, b(n, this.clonePosition()));
3151
+ return this.error(b.UNCLOSED_TAG, y(n, this.clonePosition()));
3174
3152
  } else
3175
- return this.error(p.INVALID_TAG, b(n, this.clonePosition()));
3153
+ return this.error(b.INVALID_TAG, y(n, this.clonePosition()));
3176
3154
  }, e.prototype.parseTagName = function() {
3177
3155
  var t = this.offset();
3178
- for (this.bump(); !this.isEOF() && Wn(this.char()); )
3156
+ for (this.bump(); !this.isEOF() && kn(this.char()); )
3179
3157
  this.bump();
3180
3158
  return this.message.slice(t, this.offset());
3181
3159
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3197,14 +3175,14 @@ var Vn = (
3197
3175
  }
3198
3176
  break;
3199
3177
  }
3200
- var h = b(n, this.clonePosition());
3178
+ var h = y(n, this.clonePosition());
3201
3179
  return {
3202
3180
  val: { type: x.literal, value: i, location: h },
3203
3181
  err: null
3204
3182
  };
3205
3183
  }, e.prototype.tryParseLeftAngleBracket = function() {
3206
3184
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3207
- !Xn(this.peek() || 0)) ? (this.bump(), "<") : null;
3185
+ !jn(this.peek() || 0)) ? (this.bump(), "<") : null;
3208
3186
  }, e.prototype.tryParseQuote = function(t) {
3209
3187
  if (this.isEOF() || this.char() !== 39)
3210
3188
  return null;
@@ -3238,23 +3216,23 @@ var Vn = (
3238
3216
  r.push(n);
3239
3217
  this.bump();
3240
3218
  }
3241
- return Ue.apply(void 0, r);
3219
+ return Re.apply(void 0, r);
3242
3220
  }, e.prototype.tryParseUnquoted = function(t, r) {
3243
3221
  if (this.isEOF())
3244
3222
  return null;
3245
3223
  var n = this.char();
3246
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ue(n));
3224
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Re(n));
3247
3225
  }, e.prototype.parseArgument = function(t, r) {
3248
3226
  var n = this.clonePosition();
3249
3227
  if (this.bump(), this.bumpSpace(), this.isEOF())
3250
- return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
3228
+ return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
3251
3229
  if (this.char() === 125)
3252
- return this.bump(), this.error(p.EMPTY_ARGUMENT, b(n, this.clonePosition()));
3230
+ return this.bump(), this.error(b.EMPTY_ARGUMENT, y(n, this.clonePosition()));
3253
3231
  var i = this.parseIdentifierIfPossible().value;
3254
3232
  if (!i)
3255
- return this.error(p.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
3233
+ return this.error(b.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
3256
3234
  if (this.bumpSpace(), this.isEOF())
3257
- return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
3235
+ return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
3258
3236
  switch (this.char()) {
3259
3237
  case 125:
3260
3238
  return this.bump(), {
@@ -3262,25 +3240,25 @@ var Vn = (
3262
3240
  type: x.argument,
3263
3241
  // value does not include the opening and closing braces.
3264
3242
  value: i,
3265
- location: b(n, this.clonePosition())
3243
+ location: y(n, this.clonePosition())
3266
3244
  },
3267
3245
  err: null
3268
3246
  };
3269
3247
  case 44:
3270
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3248
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3271
3249
  default:
3272
- return this.error(p.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
3250
+ return this.error(b.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
3273
3251
  }
3274
3252
  }, e.prototype.parseIdentifierIfPossible = function() {
3275
- var t = this.clonePosition(), r = this.offset(), n = De(this.message, r), i = r + n.length;
3253
+ var t = this.clonePosition(), r = this.offset(), n = Ue(this.message, r), i = r + n.length;
3276
3254
  this.bumpTo(i);
3277
- var o = this.clonePosition(), s = b(t, o);
3255
+ var o = this.clonePosition(), s = y(t, o);
3278
3256
  return { value: n, location: s };
3279
3257
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3280
3258
  var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
3281
3259
  switch (a) {
3282
3260
  case "":
3283
- return this.error(p.EXPECT_ARGUMENT_TYPE, b(s, h));
3261
+ return this.error(b.EXPECT_ARGUMENT_TYPE, y(s, h));
3284
3262
  case "number":
3285
3263
  case "date":
3286
3264
  case "time": {
@@ -3288,40 +3266,40 @@ var Vn = (
3288
3266
  var u = null;
3289
3267
  if (this.bumpIf(",")) {
3290
3268
  this.bumpSpace();
3291
- var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3292
- if (c.err)
3293
- return c;
3294
- var f = kn(c.val);
3295
- if (f.length === 0)
3296
- return this.error(p.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
3297
- var d = b(l, this.clonePosition());
3298
- u = { style: f, styleLocation: d };
3269
+ var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3270
+ if (f.err)
3271
+ return f;
3272
+ var c = Fn(f.val);
3273
+ if (c.length === 0)
3274
+ return this.error(b.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
3275
+ var p = y(l, this.clonePosition());
3276
+ u = { style: c, styleLocation: p };
3299
3277
  }
3300
- var v = this.tryParseArgumentClose(i);
3301
- if (v.err)
3302
- return v;
3303
- var m = b(i, this.clonePosition());
3304
- if (u && pt(u == null ? void 0 : u.style, "::", 0)) {
3305
- var _ = jn(u.style.slice(2));
3278
+ var g = this.tryParseArgumentClose(i);
3279
+ if (g.err)
3280
+ return g;
3281
+ var m = y(i, this.clonePosition());
3282
+ if (u && ct(u == null ? void 0 : u.style, "::", 0)) {
3283
+ var d = Dn(u.style.slice(2));
3306
3284
  if (a === "number") {
3307
- var c = this.parseNumberSkeletonFromString(_, u.styleLocation);
3308
- return c.err ? c : {
3309
- val: { type: x.number, value: n, location: m, style: c.val },
3285
+ var f = this.parseNumberSkeletonFromString(d, u.styleLocation);
3286
+ return f.err ? f : {
3287
+ val: { type: x.number, value: n, location: m, style: f.val },
3310
3288
  err: null
3311
3289
  };
3312
3290
  } else {
3313
- if (_.length === 0)
3314
- return this.error(p.EXPECT_DATE_TIME_SKELETON, m);
3315
- var g = _;
3316
- this.locale && (g = Pn(_, this.locale));
3317
- var f = {
3291
+ if (d.length === 0)
3292
+ return this.error(b.EXPECT_DATE_TIME_SKELETON, m);
3293
+ var S = d;
3294
+ this.locale && (S = Tn(d, this.locale));
3295
+ var c = {
3318
3296
  type: j.dateTime,
3319
- pattern: g,
3297
+ pattern: S,
3320
3298
  location: u.styleLocation,
3321
- parsedOptions: this.shouldParseSkeletons ? En(g) : {}
3322
- }, H = a === "date" ? x.date : x.time;
3299
+ parsedOptions: this.shouldParseSkeletons ? gn(S) : {}
3300
+ }, O = a === "date" ? x.date : x.time;
3323
3301
  return {
3324
- val: { type: H, value: n, location: m, style: f },
3302
+ val: { type: O, value: n, location: m, style: c },
3325
3303
  err: null
3326
3304
  };
3327
3305
  }
@@ -3339,52 +3317,52 @@ var Vn = (
3339
3317
  case "plural":
3340
3318
  case "selectordinal":
3341
3319
  case "select": {
3342
- var S = this.clonePosition();
3320
+ var T = this.clonePosition();
3343
3321
  if (this.bumpSpace(), !this.bumpIf(","))
3344
- return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, b(S, y({}, S)));
3322
+ return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, y(T, v({}, T)));
3345
3323
  this.bumpSpace();
3346
- var Z = this.parseIdentifierIfPossible(), C = 0;
3324
+ var Z = this.parseIdentifierIfPossible(), N = 0;
3347
3325
  if (a !== "select" && Z.value === "offset") {
3348
3326
  if (!this.bumpIf(":"))
3349
- return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b(this.clonePosition(), this.clonePosition()));
3327
+ return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
3350
3328
  this.bumpSpace();
3351
- var c = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3352
- if (c.err)
3353
- return c;
3354
- this.bumpSpace(), Z = this.parseIdentifierIfPossible(), C = c.val;
3329
+ var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3330
+ if (f.err)
3331
+ return f;
3332
+ this.bumpSpace(), Z = this.parseIdentifierIfPossible(), N = f.val;
3355
3333
  }
3356
- var ie = this.tryParsePluralOrSelectOptions(t, a, r, Z);
3357
- if (ie.err)
3358
- return ie;
3359
- var v = this.tryParseArgumentClose(i);
3360
- if (v.err)
3361
- return v;
3362
- var Qe = b(i, this.clonePosition());
3334
+ var oe = this.tryParsePluralOrSelectOptions(t, a, r, Z);
3335
+ if (oe.err)
3336
+ return oe;
3337
+ var g = this.tryParseArgumentClose(i);
3338
+ if (g.err)
3339
+ return g;
3340
+ var We = y(i, this.clonePosition());
3363
3341
  return a === "select" ? {
3364
3342
  val: {
3365
3343
  type: x.select,
3366
3344
  value: n,
3367
- options: dt(ie.val),
3368
- location: Qe
3345
+ options: ft(oe.val),
3346
+ location: We
3369
3347
  },
3370
3348
  err: null
3371
3349
  } : {
3372
3350
  val: {
3373
3351
  type: x.plural,
3374
3352
  value: n,
3375
- options: dt(ie.val),
3376
- offset: C,
3353
+ options: ft(oe.val),
3354
+ offset: N,
3377
3355
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3378
- location: Qe
3356
+ location: We
3379
3357
  },
3380
3358
  err: null
3381
3359
  };
3382
3360
  }
3383
3361
  default:
3384
- return this.error(p.INVALID_ARGUMENT_TYPE, b(s, h));
3362
+ return this.error(b.INVALID_ARGUMENT_TYPE, y(s, h));
3385
3363
  }
3386
3364
  }, e.prototype.tryParseArgumentClose = function(t) {
3387
- return this.isEOF() || this.char() !== 125 ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, b(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3365
+ return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3388
3366
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3389
3367
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3390
3368
  var n = this.char();
@@ -3393,7 +3371,7 @@ var Vn = (
3393
3371
  this.bump();
3394
3372
  var i = this.clonePosition();
3395
3373
  if (!this.bumpUntil("'"))
3396
- return this.error(p.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, b(i, this.clonePosition()));
3374
+ return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, y(i, this.clonePosition()));
3397
3375
  this.bump();
3398
3376
  break;
3399
3377
  }
@@ -3423,52 +3401,52 @@ var Vn = (
3423
3401
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3424
3402
  var n = [];
3425
3403
  try {
3426
- n = wn(t);
3404
+ n = _n(t);
3427
3405
  } catch (i) {
3428
- return this.error(p.INVALID_NUMBER_SKELETON, r);
3406
+ return this.error(b.INVALID_NUMBER_SKELETON, r);
3429
3407
  }
3430
3408
  return {
3431
3409
  val: {
3432
3410
  type: j.number,
3433
3411
  tokens: n,
3434
3412
  location: r,
3435
- parsedOptions: this.shouldParseSkeletons ? An(n) : {}
3413
+ parsedOptions: this.shouldParseSkeletons ? Hn(n) : {}
3436
3414
  },
3437
3415
  err: null
3438
3416
  };
3439
3417
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3440
3418
  for (var o, s = !1, a = [], h = /* @__PURE__ */ new Set(), u = i.value, l = i.location; ; ) {
3441
3419
  if (u.length === 0) {
3442
- var c = this.clonePosition();
3420
+ var f = this.clonePosition();
3443
3421
  if (r !== "select" && this.bumpIf("=")) {
3444
- var f = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_SELECTOR, p.INVALID_PLURAL_ARGUMENT_SELECTOR);
3445
- if (f.err)
3446
- return f;
3447
- l = b(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3422
+ var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
3423
+ if (c.err)
3424
+ return c;
3425
+ l = y(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3448
3426
  } else
3449
3427
  break;
3450
3428
  }
3451
3429
  if (h.has(u))
3452
- return this.error(r === "select" ? p.DUPLICATE_SELECT_ARGUMENT_SELECTOR : p.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3430
+ return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3453
3431
  u === "other" && (s = !0), this.bumpSpace();
3454
- var d = this.clonePosition();
3432
+ var p = this.clonePosition();
3455
3433
  if (!this.bumpIf("{"))
3456
- return this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, b(this.clonePosition(), this.clonePosition()));
3457
- var v = this.parseMessage(t + 1, r, n);
3458
- if (v.err)
3459
- return v;
3460
- var m = this.tryParseArgumentClose(d);
3434
+ return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, y(this.clonePosition(), this.clonePosition()));
3435
+ var g = this.parseMessage(t + 1, r, n);
3436
+ if (g.err)
3437
+ return g;
3438
+ var m = this.tryParseArgumentClose(p);
3461
3439
  if (m.err)
3462
3440
  return m;
3463
3441
  a.push([
3464
3442
  u,
3465
3443
  {
3466
- value: v.val,
3467
- location: b(d, this.clonePosition())
3444
+ value: g.val,
3445
+ location: y(p, this.clonePosition())
3468
3446
  }
3469
3447
  ]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
3470
3448
  }
3471
- return a.length === 0 ? this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR : p.EXPECT_PLURAL_ARGUMENT_SELECTOR, b(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(p.MISSING_OTHER_CLAUSE, b(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3449
+ return a.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, y(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(b.MISSING_OTHER_CLAUSE, y(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3472
3450
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3473
3451
  var n = 1, i = this.clonePosition();
3474
3452
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3479,8 +3457,8 @@ var Vn = (
3479
3457
  else
3480
3458
  break;
3481
3459
  }
3482
- var h = b(i, this.clonePosition());
3483
- return o ? (s *= n, Fn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3460
+ var h = y(i, this.clonePosition());
3461
+ return o ? (s *= n, Rn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3484
3462
  }, e.prototype.offset = function() {
3485
3463
  return this.position.offset;
3486
3464
  }, e.prototype.isEOF = function() {
@@ -3495,7 +3473,7 @@ var Vn = (
3495
3473
  var t = this.position.offset;
3496
3474
  if (t >= this.message.length)
3497
3475
  throw Error("out of bound");
3498
- var r = Zt(this.message, t);
3476
+ var r = Vt(this.message, t);
3499
3477
  if (r === void 0)
3500
3478
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3501
3479
  return r;
@@ -3514,7 +3492,7 @@ var Vn = (
3514
3492
  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);
3515
3493
  }
3516
3494
  }, e.prototype.bumpIf = function(t) {
3517
- if (pt(this.message, t, this.offset())) {
3495
+ if (ct(this.message, t, this.offset())) {
3518
3496
  for (var r = 0; r < t.length; r++)
3519
3497
  this.bump();
3520
3498
  return !0;
@@ -3536,7 +3514,7 @@ var Vn = (
3536
3514
  break;
3537
3515
  }
3538
3516
  }, e.prototype.bumpSpace = function() {
3539
- for (; !this.isEOF() && Jt(this.char()); )
3517
+ for (; !this.isEOF() && Wt(this.char()); )
3540
3518
  this.bump();
3541
3519
  }, e.prototype.peek = function() {
3542
3520
  if (this.isEOF())
@@ -3546,37 +3524,37 @@ var Vn = (
3546
3524
  }, e;
3547
3525
  }()
3548
3526
  );
3549
- function Fe(e) {
3527
+ function De(e) {
3550
3528
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3551
3529
  }
3552
- function Xn(e) {
3553
- return Fe(e) || e === 47;
3530
+ function jn(e) {
3531
+ return De(e) || e === 47;
3554
3532
  }
3555
- function Wn(e) {
3533
+ function kn(e) {
3556
3534
  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;
3557
3535
  }
3558
- function Jt(e) {
3536
+ function Wt(e) {
3559
3537
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3560
3538
  }
3561
- function zn(e) {
3539
+ function Vn(e) {
3562
3540
  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;
3563
3541
  }
3564
- function Ge(e) {
3542
+ function Fe(e) {
3565
3543
  e.forEach(function(t) {
3566
- if (delete t.location, Ft(t) || Gt(t))
3544
+ if (delete t.location, $t(t) || Rt(t))
3567
3545
  for (var r in t.options)
3568
- delete t.options[r].location, Ge(t.options[r].value);
3569
- else Rt(t) && kt(t.style) || (Ut(t) || Dt(t)) && Me(t.style) ? delete t.style.location : jt(t) && Ge(t.children);
3546
+ delete t.options[r].location, Fe(t.options[r].value);
3547
+ else Ct(t) && Dt(t.style) || (Lt(t) || Mt(t)) && Me(t.style) ? delete t.style.location : Ut(t) && Fe(t.children);
3570
3548
  });
3571
3549
  }
3572
- function Zn(e, t) {
3573
- t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3574
- var r = new Vn(e, t).parse();
3550
+ function Xn(e, t) {
3551
+ t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3552
+ var r = new Gn(e, t).parse();
3575
3553
  if (r.err) {
3576
- var n = SyntaxError(p[r.err.kind]);
3554
+ var n = SyntaxError(b[r.err.kind]);
3577
3555
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3578
3556
  }
3579
- return t != null && t.captureLocation || Ge(r.val), r.val;
3557
+ return t != null && t.captureLocation || Fe(r.val), r.val;
3580
3558
  }
3581
3559
  var k;
3582
3560
  (function(e) {
@@ -3585,7 +3563,7 @@ var k;
3585
3563
  var be = (
3586
3564
  /** @class */
3587
3565
  function(e) {
3588
- O(t, e);
3566
+ P(t, e);
3589
3567
  function t(r, n, i) {
3590
3568
  var o = e.call(this, r) || this;
3591
3569
  return o.code = n, o.originalMessage = i, o;
@@ -3594,155 +3572,155 @@ var be = (
3594
3572
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3595
3573
  }, t;
3596
3574
  }(Error)
3597
- ), yt = (
3575
+ ), pt = (
3598
3576
  /** @class */
3599
3577
  function(e) {
3600
- O(t, e);
3578
+ P(t, e);
3601
3579
  function t(r, n, i, o) {
3602
3580
  return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), k.INVALID_VALUE, o) || this;
3603
3581
  }
3604
3582
  return t;
3605
3583
  }(be)
3606
- ), Qn = (
3584
+ ), Wn = (
3607
3585
  /** @class */
3608
3586
  function(e) {
3609
- O(t, e);
3587
+ P(t, e);
3610
3588
  function t(r, n, i) {
3611
3589
  return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), k.INVALID_VALUE, i) || this;
3612
3590
  }
3613
3591
  return t;
3614
3592
  }(be)
3615
- ), Jn = (
3593
+ ), zn = (
3616
3594
  /** @class */
3617
3595
  function(e) {
3618
- O(t, e);
3596
+ P(t, e);
3619
3597
  function t(r, n) {
3620
3598
  return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), k.MISSING_VALUE, n) || this;
3621
3599
  }
3622
3600
  return t;
3623
3601
  }(be)
3624
- ), w;
3602
+ ), E;
3625
3603
  (function(e) {
3626
3604
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3627
- })(w || (w = {}));
3628
- function Yn(e) {
3605
+ })(E || (E = {}));
3606
+ function Zn(e) {
3629
3607
  return e.length < 2 ? e : e.reduce(function(t, r) {
3630
3608
  var n = t[t.length - 1];
3631
- return !n || n.type !== w.literal || r.type !== w.literal ? t.push(r) : n.value += r.value, t;
3609
+ return !n || n.type !== E.literal || r.type !== E.literal ? t.push(r) : n.value += r.value, t;
3632
3610
  }, []);
3633
3611
  }
3634
- function qn(e) {
3612
+ function Qn(e) {
3635
3613
  return typeof e == "function";
3636
3614
  }
3637
- function he(e, t, r, n, i, o, s) {
3638
- if (e.length === 1 && lt(e[0]))
3615
+ function le(e, t, r, n, i, o, s) {
3616
+ if (e.length === 1 && at(e[0]))
3639
3617
  return [
3640
3618
  {
3641
- type: w.literal,
3619
+ type: E.literal,
3642
3620
  value: e[0].value
3643
3621
  }
3644
3622
  ];
3645
3623
  for (var a = [], h = 0, u = e; h < u.length; h++) {
3646
3624
  var l = u[h];
3647
- if (lt(l)) {
3625
+ if (at(l)) {
3648
3626
  a.push({
3649
- type: w.literal,
3627
+ type: E.literal,
3650
3628
  value: l.value
3651
3629
  });
3652
3630
  continue;
3653
3631
  }
3654
- if (xn(l)) {
3632
+ if (yn(l)) {
3655
3633
  typeof o == "number" && a.push({
3656
- type: w.literal,
3634
+ type: E.literal,
3657
3635
  value: r.getNumberFormat(t).format(o)
3658
3636
  });
3659
3637
  continue;
3660
3638
  }
3661
- var c = l.value;
3662
- if (!(i && c in i))
3663
- throw new Jn(c, s);
3664
- var f = i[c];
3665
- if (gn(l)) {
3666
- (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3667
- type: typeof f == "string" ? w.literal : w.object,
3668
- value: f
3639
+ var f = l.value;
3640
+ if (!(i && f in i))
3641
+ throw new zn(f, s);
3642
+ var c = i[f];
3643
+ if (bn(l)) {
3644
+ (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3645
+ type: typeof c == "string" ? E.literal : E.object,
3646
+ value: c
3669
3647
  });
3670
3648
  continue;
3671
3649
  }
3672
- if (Ut(l)) {
3673
- var d = typeof l.style == "string" ? n.date[l.style] : Me(l.style) ? l.style.parsedOptions : void 0;
3650
+ if (Lt(l)) {
3651
+ var p = typeof l.style == "string" ? n.date[l.style] : Me(l.style) ? l.style.parsedOptions : void 0;
3674
3652
  a.push({
3675
- type: w.literal,
3676
- value: r.getDateTimeFormat(t, d).format(f)
3653
+ type: E.literal,
3654
+ value: r.getDateTimeFormat(t, p).format(c)
3677
3655
  });
3678
3656
  continue;
3679
3657
  }
3680
- if (Dt(l)) {
3681
- var d = typeof l.style == "string" ? n.time[l.style] : Me(l.style) ? l.style.parsedOptions : n.time.medium;
3658
+ if (Mt(l)) {
3659
+ var p = typeof l.style == "string" ? n.time[l.style] : Me(l.style) ? l.style.parsedOptions : n.time.medium;
3682
3660
  a.push({
3683
- type: w.literal,
3684
- value: r.getDateTimeFormat(t, d).format(f)
3661
+ type: E.literal,
3662
+ value: r.getDateTimeFormat(t, p).format(c)
3685
3663
  });
3686
3664
  continue;
3687
3665
  }
3688
- if (Rt(l)) {
3689
- var d = typeof l.style == "string" ? n.number[l.style] : kt(l.style) ? l.style.parsedOptions : void 0;
3690
- d && d.scale && (f = f * (d.scale || 1)), a.push({
3691
- type: w.literal,
3692
- value: r.getNumberFormat(t, d).format(f)
3666
+ if (Ct(l)) {
3667
+ var p = typeof l.style == "string" ? n.number[l.style] : Dt(l.style) ? l.style.parsedOptions : void 0;
3668
+ p && p.scale && (c = c * (p.scale || 1)), a.push({
3669
+ type: E.literal,
3670
+ value: r.getNumberFormat(t, p).format(c)
3693
3671
  });
3694
3672
  continue;
3695
3673
  }
3696
- if (jt(l)) {
3697
- var v = l.children, m = l.value, _ = i[m];
3698
- if (!qn(_))
3699
- throw new Qn(m, "function", s);
3700
- var g = he(v, t, r, n, i, o), H = _(g.map(function(C) {
3701
- return C.value;
3674
+ if (Ut(l)) {
3675
+ var g = l.children, m = l.value, d = i[m];
3676
+ if (!Qn(d))
3677
+ throw new Wn(m, "function", s);
3678
+ var S = le(g, t, r, n, i, o), O = d(S.map(function(N) {
3679
+ return N.value;
3702
3680
  }));
3703
- Array.isArray(H) || (H = [H]), a.push.apply(a, H.map(function(C) {
3681
+ Array.isArray(O) || (O = [O]), a.push.apply(a, O.map(function(N) {
3704
3682
  return {
3705
- type: typeof C == "string" ? w.literal : w.object,
3706
- value: C
3683
+ type: typeof N == "string" ? E.literal : E.object,
3684
+ value: N
3707
3685
  };
3708
3686
  }));
3709
3687
  }
3710
- if (Ft(l)) {
3711
- var S = l.options[f] || l.options.other;
3712
- if (!S)
3713
- throw new yt(l.value, f, Object.keys(l.options), s);
3714
- a.push.apply(a, he(S.value, t, r, n, i));
3688
+ if ($t(l)) {
3689
+ var T = l.options[c] || l.options.other;
3690
+ if (!T)
3691
+ throw new pt(l.value, c, Object.keys(l.options), s);
3692
+ a.push.apply(a, le(T.value, t, r, n, i));
3715
3693
  continue;
3716
3694
  }
3717
- if (Gt(l)) {
3718
- var S = l.options["=".concat(f)];
3719
- if (!S) {
3695
+ if (Rt(l)) {
3696
+ var T = l.options["=".concat(c)];
3697
+ if (!T) {
3720
3698
  if (!Intl.PluralRules)
3721
3699
  throw new be(`Intl.PluralRules is not available in this environment.
3722
3700
  Try polyfilling it using "@formatjs/intl-pluralrules"
3723
3701
  `, k.MISSING_INTL_API, s);
3724
- var Z = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
3725
- S = l.options[Z] || l.options.other;
3702
+ var Z = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3703
+ T = l.options[Z] || l.options.other;
3726
3704
  }
3727
- if (!S)
3728
- throw new yt(l.value, f, Object.keys(l.options), s);
3729
- a.push.apply(a, he(S.value, t, r, n, i, f - (l.offset || 0)));
3705
+ if (!T)
3706
+ throw new pt(l.value, c, Object.keys(l.options), s);
3707
+ a.push.apply(a, le(T.value, t, r, n, i, c - (l.offset || 0)));
3730
3708
  continue;
3731
3709
  }
3732
3710
  }
3733
- return Yn(a);
3711
+ return Zn(a);
3734
3712
  }
3735
- function Kn(e, t) {
3736
- return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3737
- return r[n] = y(y({}, e[n]), t[n] || {}), r;
3713
+ function Jn(e, t) {
3714
+ return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3715
+ return r[n] = v(v({}, e[n]), t[n] || {}), r;
3738
3716
  }, {})) : e;
3739
3717
  }
3740
- function ei(e, t) {
3718
+ function Yn(e, t) {
3741
3719
  return t ? Object.keys(e).reduce(function(r, n) {
3742
- return r[n] = Kn(e[n], t[n]), r;
3743
- }, y({}, e)) : e;
3720
+ return r[n] = Jn(e[n], t[n]), r;
3721
+ }, v({}, e)) : e;
3744
3722
  }
3745
- function Te(e) {
3723
+ function He(e) {
3746
3724
  return {
3747
3725
  create: function() {
3748
3726
  return {
@@ -3756,39 +3734,39 @@ function Te(e) {
3756
3734
  }
3757
3735
  };
3758
3736
  }
3759
- function ti(e) {
3737
+ function qn(e) {
3760
3738
  return e === void 0 && (e = {
3761
3739
  number: {},
3762
3740
  dateTime: {},
3763
3741
  pluralRules: {}
3764
3742
  }), {
3765
- getNumberFormat: Se(function() {
3743
+ getNumberFormat: Ee(function() {
3766
3744
  for (var t, r = [], n = 0; n < arguments.length; n++)
3767
3745
  r[n] = arguments[n];
3768
3746
  return new ((t = Intl.NumberFormat).bind.apply(t, D([void 0], r, !1)))();
3769
3747
  }, {
3770
- cache: Te(e.number),
3771
- strategy: we.variadic
3748
+ cache: He(e.number),
3749
+ strategy: Se.variadic
3772
3750
  }),
3773
- getDateTimeFormat: Se(function() {
3751
+ getDateTimeFormat: Ee(function() {
3774
3752
  for (var t, r = [], n = 0; n < arguments.length; n++)
3775
3753
  r[n] = arguments[n];
3776
3754
  return new ((t = Intl.DateTimeFormat).bind.apply(t, D([void 0], r, !1)))();
3777
3755
  }, {
3778
- cache: Te(e.dateTime),
3779
- strategy: we.variadic
3756
+ cache: He(e.dateTime),
3757
+ strategy: Se.variadic
3780
3758
  }),
3781
- getPluralRules: Se(function() {
3759
+ getPluralRules: Ee(function() {
3782
3760
  for (var t, r = [], n = 0; n < arguments.length; n++)
3783
3761
  r[n] = arguments[n];
3784
3762
  return new ((t = Intl.PluralRules).bind.apply(t, D([void 0], r, !1)))();
3785
3763
  }, {
3786
- cache: Te(e.pluralRules),
3787
- strategy: we.variadic
3764
+ cache: He(e.pluralRules),
3765
+ strategy: Se.variadic
3788
3766
  })
3789
3767
  };
3790
3768
  }
3791
- var ri = (
3769
+ var Kn = (
3792
3770
  /** @class */
3793
3771
  function() {
3794
3772
  function e(t, r, n, i) {
@@ -3802,12 +3780,12 @@ var ri = (
3802
3780
  var u = o.formatToParts(h);
3803
3781
  if (u.length === 1)
3804
3782
  return u[0].value;
3805
- var l = u.reduce(function(c, f) {
3806
- return !c.length || f.type !== w.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3783
+ var l = u.reduce(function(f, c) {
3784
+ return !f.length || c.type !== E.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3807
3785
  }, []);
3808
3786
  return l.length <= 1 ? l[0] || "" : l;
3809
3787
  }, this.formatToParts = function(h) {
3810
- return he(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3788
+ return le(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3811
3789
  }, this.resolvedOptions = function() {
3812
3790
  var h;
3813
3791
  return {
@@ -3820,13 +3798,13 @@ var ri = (
3820
3798
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3821
3799
  var s = i || {};
3822
3800
  s.formatters;
3823
- var a = Lr(s, ["formatters"]);
3824
- this.ast = e.__parse(t, y(y({}, a), { locale: this.resolvedLocale }));
3801
+ var a = Or(s, ["formatters"]);
3802
+ this.ast = e.__parse(t, v(v({}, a), { locale: this.resolvedLocale }));
3825
3803
  } else
3826
3804
  this.ast = t;
3827
3805
  if (!Array.isArray(this.ast))
3828
3806
  throw new TypeError("A message must be provided as a String or AST.");
3829
- this.formats = ei(e.formats, n), this.formatters = i && i.formatters || ti(this.formatterCache);
3807
+ this.formats = Yn(e.formats, n), this.formatters = i && i.formatters || qn(this.formatterCache);
3830
3808
  }
3831
3809
  return Object.defineProperty(e, "defaultLocale", {
3832
3810
  get: function() {
@@ -3839,7 +3817,7 @@ var ri = (
3839
3817
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3840
3818
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3841
3819
  }
3842
- }, e.__parse = Zn, e.formats = {
3820
+ }, e.__parse = Xn, e.formats = {
3843
3821
  number: {
3844
3822
  integer: {
3845
3823
  maximumFractionDigits: 0
@@ -3900,7 +3878,7 @@ var ri = (
3900
3878
  }, e;
3901
3879
  }()
3902
3880
  );
3903
- function ni(e, t) {
3881
+ function ei(e, t) {
3904
3882
  if (t == null)
3905
3883
  return;
3906
3884
  if (t in e)
@@ -3921,92 +3899,92 @@ function ni(e, t) {
3921
3899
  n = void 0;
3922
3900
  return n;
3923
3901
  }
3924
- const I = {}, ii = (e, t, r) => r && (t in I || (I[t] = {}), e in I[t] || (I[t][e] = r), r), Yt = (e, t) => {
3902
+ const I = {}, ti = (e, t, r) => r && (t in I || (I[t] = {}), e in I[t] || (I[t][e] = r), r), zt = (e, t) => {
3925
3903
  if (t == null)
3926
3904
  return;
3927
3905
  if (t in I && e in I[t])
3928
3906
  return I[t][e];
3929
3907
  const r = ye(t);
3930
3908
  for (let n = 0; n < r.length; n++) {
3931
- const i = r[n], o = si(i, e);
3909
+ const i = r[n], o = ni(i, e);
3932
3910
  if (o)
3933
- return ii(e, t, o);
3911
+ return ti(e, t, o);
3934
3912
  }
3935
3913
  };
3936
- let ze;
3937
- const re = de({});
3938
- function oi(e) {
3939
- return ze[e] || null;
3914
+ let Ve;
3915
+ const ne = de({});
3916
+ function ri(e) {
3917
+ return Ve[e] || null;
3940
3918
  }
3941
- function qt(e) {
3942
- return e in ze;
3919
+ function Zt(e) {
3920
+ return e in Ve;
3943
3921
  }
3944
- function si(e, t) {
3945
- if (!qt(e))
3922
+ function ni(e, t) {
3923
+ if (!Zt(e))
3946
3924
  return null;
3947
- const r = oi(e);
3948
- return ni(r, t);
3925
+ const r = ri(e);
3926
+ return ei(r, t);
3949
3927
  }
3950
- function ai(e) {
3928
+ function ii(e) {
3951
3929
  if (e == null)
3952
3930
  return;
3953
3931
  const t = ye(e);
3954
3932
  for (let r = 0; r < t.length; r++) {
3955
3933
  const n = t[r];
3956
- if (qt(n))
3934
+ if (Zt(n))
3957
3935
  return n;
3958
3936
  }
3959
3937
  }
3960
- function ui(e, ...t) {
3961
- delete I[e], re.update((r) => (r[e] = fn.all([r[e] || {}, ...t]), r));
3938
+ function oi(e, ...t) {
3939
+ delete I[e], ne.update((r) => (r[e] = un.all([r[e] || {}, ...t]), r));
3962
3940
  }
3963
3941
  W(
3964
- [re],
3942
+ [ne],
3965
3943
  ([e]) => Object.keys(e)
3966
3944
  );
3967
- re.subscribe((e) => ze = e);
3968
- const le = {};
3969
- function hi(e, t) {
3970
- le[e].delete(t), le[e].size === 0 && delete le[e];
3945
+ ne.subscribe((e) => Ve = e);
3946
+ const ce = {};
3947
+ function si(e, t) {
3948
+ ce[e].delete(t), ce[e].size === 0 && delete ce[e];
3971
3949
  }
3972
- function Kt(e) {
3973
- return le[e];
3950
+ function Qt(e) {
3951
+ return ce[e];
3974
3952
  }
3975
- function li(e) {
3953
+ function ai(e) {
3976
3954
  return ye(e).map((t) => {
3977
- const r = Kt(t);
3955
+ const r = Qt(t);
3978
3956
  return [t, r ? [...r] : []];
3979
3957
  }).filter(([, t]) => t.length > 0);
3980
3958
  }
3981
- function je(e) {
3959
+ function Ge(e) {
3982
3960
  return e == null ? !1 : ye(e).some(
3983
3961
  (t) => {
3984
3962
  var r;
3985
- return (r = Kt(t)) == null ? void 0 : r.size;
3963
+ return (r = Qt(t)) == null ? void 0 : r.size;
3986
3964
  }
3987
3965
  );
3988
3966
  }
3989
- function ci(e, t) {
3967
+ function ui(e, t) {
3990
3968
  return Promise.all(
3991
- t.map((n) => (hi(e, n), n().then((i) => i.default || i)))
3992
- ).then((n) => ui(e, ...n));
3969
+ t.map((n) => (si(e, n), n().then((i) => i.default || i)))
3970
+ ).then((n) => oi(e, ...n));
3993
3971
  }
3994
3972
  const Q = {};
3995
- function er(e) {
3996
- if (!je(e))
3973
+ function Jt(e) {
3974
+ if (!Ge(e))
3997
3975
  return e in Q ? Q[e] : Promise.resolve();
3998
- const t = li(e);
3976
+ const t = ai(e);
3999
3977
  return Q[e] = Promise.all(
4000
3978
  t.map(
4001
- ([r, n]) => ci(r, n)
3979
+ ([r, n]) => ui(r, n)
4002
3980
  )
4003
3981
  ).then(() => {
4004
- if (je(e))
4005
- return er(e);
3982
+ if (Ge(e))
3983
+ return Jt(e);
4006
3984
  delete Q[e];
4007
3985
  }), Q[e];
4008
3986
  }
4009
- const fi = {
3987
+ const hi = {
4010
3988
  number: {
4011
3989
  scientific: { notation: "scientific" },
4012
3990
  engineering: { notation: "engineering" },
@@ -4035,57 +4013,57 @@ const fi = {
4035
4013
  timeZoneName: "short"
4036
4014
  }
4037
4015
  }
4038
- }, mi = {
4016
+ }, li = {
4039
4017
  fallbackLocale: null,
4040
4018
  loadingDelay: 200,
4041
- formats: fi,
4019
+ formats: hi,
4042
4020
  warnOnMissingMessages: !0,
4043
4021
  handleMissingMessage: void 0,
4044
4022
  ignoreTag: !0
4045
- }, pi = mi;
4023
+ }, ci = li;
4046
4024
  function V() {
4047
- return pi;
4025
+ return ci;
4048
4026
  }
4049
- const Be = de(!1);
4050
- var di = Object.defineProperty, bi = Object.defineProperties, yi = Object.getOwnPropertyDescriptors, vt = Object.getOwnPropertySymbols, vi = Object.prototype.hasOwnProperty, gi = Object.prototype.propertyIsEnumerable, gt = (e, t, r) => t in e ? di(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, xi = (e, t) => {
4027
+ const Te = de(!1);
4028
+ var fi = Object.defineProperty, mi = Object.defineProperties, pi = Object.getOwnPropertyDescriptors, dt = Object.getOwnPropertySymbols, di = Object.prototype.hasOwnProperty, bi = Object.prototype.propertyIsEnumerable, bt = (e, t, r) => t in e ? fi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, yi = (e, t) => {
4051
4029
  for (var r in t || (t = {}))
4052
- vi.call(t, r) && gt(e, r, t[r]);
4053
- if (vt)
4054
- for (var r of vt(t))
4055
- gi.call(t, r) && gt(e, r, t[r]);
4030
+ di.call(t, r) && bt(e, r, t[r]);
4031
+ if (dt)
4032
+ for (var r of dt(t))
4033
+ bi.call(t, r) && bt(e, r, t[r]);
4056
4034
  return e;
4057
- }, _i = (e, t) => bi(e, yi(t));
4058
- let ke;
4035
+ }, vi = (e, t) => mi(e, pi(t));
4036
+ let je;
4059
4037
  const fe = de(null);
4060
- function xt(e) {
4038
+ function yt(e) {
4061
4039
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4062
4040
  }
4063
4041
  function ye(e, t = V().fallbackLocale) {
4064
- const r = xt(e);
4065
- return t ? [.../* @__PURE__ */ new Set([...r, ...xt(t)])] : r;
4042
+ const r = yt(e);
4043
+ return t ? [.../* @__PURE__ */ new Set([...r, ...yt(t)])] : r;
4066
4044
  }
4067
4045
  function L() {
4068
- return ke != null ? ke : void 0;
4046
+ return je != null ? je : void 0;
4069
4047
  }
4070
4048
  fe.subscribe((e) => {
4071
- ke = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4049
+ je = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4072
4050
  });
4073
- const Ei = (e) => {
4074
- if (e && ai(e) && je(e)) {
4051
+ const gi = (e) => {
4052
+ if (e && ii(e) && Ge(e)) {
4075
4053
  const { loadingDelay: t } = V();
4076
4054
  let r;
4077
4055
  return typeof window != "undefined" && L() != null && t ? r = window.setTimeout(
4078
- () => Be.set(!0),
4056
+ () => Te.set(!0),
4079
4057
  t
4080
- ) : Be.set(!0), er(e).then(() => {
4058
+ ) : Te.set(!0), Jt(e).then(() => {
4081
4059
  fe.set(e);
4082
4060
  }).finally(() => {
4083
- clearTimeout(r), Be.set(!1);
4061
+ clearTimeout(r), Te.set(!1);
4084
4062
  });
4085
4063
  }
4086
4064
  return fe.set(e);
4087
- }, ne = _i(xi({}, fe), {
4088
- set: Ei
4065
+ }, ie = vi(yi({}, fe), {
4066
+ set: gi
4089
4067
  }), ve = (e) => {
4090
4068
  const t = /* @__PURE__ */ Object.create(null);
4091
4069
  return (n) => {
@@ -4093,77 +4071,77 @@ const Ei = (e) => {
4093
4071
  return i in t ? t[i] : t[i] = e(n);
4094
4072
  };
4095
4073
  };
4096
- var Si = Object.defineProperty, me = Object.getOwnPropertySymbols, tr = Object.prototype.hasOwnProperty, rr = Object.prototype.propertyIsEnumerable, _t = (e, t, r) => t in e ? Si(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ze = (e, t) => {
4074
+ var xi = Object.defineProperty, me = Object.getOwnPropertySymbols, Yt = Object.prototype.hasOwnProperty, qt = Object.prototype.propertyIsEnumerable, vt = (e, t, r) => t in e ? xi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Xe = (e, t) => {
4097
4075
  for (var r in t || (t = {}))
4098
- tr.call(t, r) && _t(e, r, t[r]);
4076
+ Yt.call(t, r) && vt(e, r, t[r]);
4099
4077
  if (me)
4100
4078
  for (var r of me(t))
4101
- rr.call(t, r) && _t(e, r, t[r]);
4079
+ qt.call(t, r) && vt(e, r, t[r]);
4102
4080
  return e;
4103
4081
  }, z = (e, t) => {
4104
4082
  var r = {};
4105
4083
  for (var n in e)
4106
- tr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4084
+ Yt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4107
4085
  if (e != null && me)
4108
4086
  for (var n of me(e))
4109
- t.indexOf(n) < 0 && rr.call(e, n) && (r[n] = e[n]);
4087
+ t.indexOf(n) < 0 && qt.call(e, n) && (r[n] = e[n]);
4110
4088
  return r;
4111
4089
  };
4112
- const K = (e, t) => {
4090
+ const ee = (e, t) => {
4113
4091
  const { formats: r } = V();
4114
4092
  if (e in r && t in r[e])
4115
4093
  return r[e][t];
4116
4094
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4117
- }, wi = ve(
4095
+ }, _i = ve(
4118
4096
  (e) => {
4119
4097
  var t = e, { locale: r, format: n } = t, i = z(t, ["locale", "format"]);
4120
4098
  if (r == null)
4121
4099
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4122
- return n && (i = K("number", n)), new Intl.NumberFormat(r, i);
4100
+ return n && (i = ee("number", n)), new Intl.NumberFormat(r, i);
4123
4101
  }
4124
- ), Hi = ve(
4102
+ ), Ei = ve(
4125
4103
  (e) => {
4126
4104
  var t = e, { locale: r, format: n } = t, i = z(t, ["locale", "format"]);
4127
4105
  if (r == null)
4128
4106
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4129
- return n ? i = K("date", n) : Object.keys(i).length === 0 && (i = K("date", "short")), new Intl.DateTimeFormat(r, i);
4107
+ return n ? i = ee("date", n) : Object.keys(i).length === 0 && (i = ee("date", "short")), new Intl.DateTimeFormat(r, i);
4130
4108
  }
4131
- ), Ti = ve(
4109
+ ), Si = ve(
4132
4110
  (e) => {
4133
4111
  var t = e, { locale: r, format: n } = t, i = z(t, ["locale", "format"]);
4134
4112
  if (r == null)
4135
4113
  throw new Error(
4136
4114
  '[svelte-i18n] A "locale" must be set to format time values'
4137
4115
  );
4138
- return n ? i = K("time", n) : Object.keys(i).length === 0 && (i = K("time", "short")), new Intl.DateTimeFormat(r, i);
4116
+ return n ? i = ee("time", n) : Object.keys(i).length === 0 && (i = ee("time", "short")), new Intl.DateTimeFormat(r, i);
4139
4117
  }
4140
- ), Bi = (e = {}) => {
4118
+ ), wi = (e = {}) => {
4141
4119
  var t = e, {
4142
4120
  locale: r = L()
4143
4121
  } = t, n = z(t, [
4144
4122
  "locale"
4145
4123
  ]);
4146
- return wi(Ze({ locale: r }, n));
4147
- }, Ai = (e = {}) => {
4124
+ return _i(Xe({ locale: r }, n));
4125
+ }, Hi = (e = {}) => {
4148
4126
  var t = e, {
4149
4127
  locale: r = L()
4150
4128
  } = t, n = z(t, [
4151
4129
  "locale"
4152
4130
  ]);
4153
- return Hi(Ze({ locale: r }, n));
4154
- }, Pi = (e = {}) => {
4131
+ return Ei(Xe({ locale: r }, n));
4132
+ }, Ti = (e = {}) => {
4155
4133
  var t = e, {
4156
4134
  locale: r = L()
4157
4135
  } = t, n = z(t, [
4158
4136
  "locale"
4159
4137
  ]);
4160
- return Ti(Ze({ locale: r }, n));
4161
- }, Oi = ve(
4138
+ return Si(Xe({ locale: r }, n));
4139
+ }, Bi = ve(
4162
4140
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4163
- (e, t = L()) => new ri(e, t, V().formats, {
4141
+ (e, t = L()) => new Kn(e, t, V().formats, {
4164
4142
  ignoreTag: V().ignoreTag
4165
4143
  })
4166
- ), Ii = (e, t = {}) => {
4144
+ ), Ai = (e, t = {}) => {
4167
4145
  var r, n, i, o;
4168
4146
  let s = t;
4169
4147
  typeof e == "object" && (s = e, e = s.id);
@@ -4176,7 +4154,7 @@ const K = (e, t) => {
4176
4154
  throw new Error(
4177
4155
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4178
4156
  );
4179
- let l = Yt(e, h);
4157
+ let l = zt(e, h);
4180
4158
  if (!l)
4181
4159
  l = (o = (i = (n = (r = V()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4182
4160
  else if (typeof l != "string")
@@ -4185,56 +4163,79 @@ const K = (e, t) => {
4185
4163
  ), l;
4186
4164
  if (!a)
4187
4165
  return l;
4188
- let c = l;
4166
+ let f = l;
4189
4167
  try {
4190
- c = Oi(l, h).format(a);
4191
- } catch (f) {
4192
- f instanceof Error && console.warn(
4168
+ f = Bi(l, h).format(a);
4169
+ } catch (c) {
4170
+ c instanceof Error && console.warn(
4193
4171
  `[svelte-i18n] Message "${e}" has syntax error:`,
4194
- f.message
4172
+ c.message
4195
4173
  );
4196
4174
  }
4197
- return c;
4198
- }, Ci = (e, t) => Pi(t).format(e), Ni = (e, t) => Ai(t).format(e), Li = (e, t) => Bi(t).format(e), $i = (e, t = L()) => Yt(e, t);
4199
- W([ne, re], () => Ii);
4200
- W([ne], () => Ci);
4201
- W([ne], () => Ni);
4202
- W([ne], () => Li);
4203
- W([ne, re], () => $i);
4204
- window.emWidgets = { topic: Zr };
4205
- const Mi = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4175
+ return f;
4176
+ }, Pi = (e, t) => Ti(t).format(e), Oi = (e, t) => Hi(t).format(e), Ii = (e, t) => wi(t).format(e), Ni = (e, t = L()) => zt(e, t);
4177
+ W([ie, ne], () => Ai);
4178
+ W([ie], () => Pi);
4179
+ W([ie], () => Oi);
4180
+ W([ie], () => Ii);
4181
+ W([ie, ne], () => Ni);
4182
+ window.emWidgets = { topic: Vr };
4183
+ const Ci = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4184
+ function Li(e, t) {
4185
+ if (e) {
4186
+ const r = document.createElement("style");
4187
+ r.innerHTML = t, e.appendChild(r);
4188
+ }
4189
+ }
4190
+ function Mi(e, t) {
4191
+ const r = new URL(t);
4192
+ fetch(r.href).then((n) => n.text()).then((n) => {
4193
+ const i = document.createElement("style");
4194
+ i.innerHTML = n, e && e.appendChild(i);
4195
+ }).catch((n) => {
4196
+ console.error("There was an error while trying to load client styling from URL", n);
4197
+ });
4198
+ }
4199
+ function $i(e, t, r) {
4200
+ if (window.emMessageBus) {
4201
+ const n = document.createElement("style");
4202
+ window.emMessageBus.subscribe(t, (i) => {
4203
+ n.innerHTML = i, e && e.appendChild(n);
4204
+ });
4205
+ }
4206
+ }
4206
4207
  function Ri(e) {
4207
- lr(e, "svelte-1mvysvb", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.betslipIndicator{display:flex;align-items:center;justify-content:center;padding:15px 20px;position:fixed;bottom:20%;right:20px;color:#fff;background:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));box-shadow:0px 5px 30px var(--emw--color-gray-100, #E6E6E6);border-radius:50%;border:none}.betslipIndicator__icon{display:flex;width:20px;fill:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.betslipIndicator__number{display:flex;align-items:center;justify-content:center;position:absolute;right:0px;top:-10px;width:25px;height:25px;background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));border-radius:50%}.loader{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:2px;margin:100px auto;width:1em;height:1em;border-radius:50%;position:relative;text-indent:-9999em;-webkit-animation:load4 1.3s infinite linear;animation:load4 1.3s infinite linear;-webkit-transform:translateZ(0);-ms-transform:translateZ(0);transform:translateZ(0)}@-webkit-keyframes load4{0%,100%{box-shadow:0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0}12.5%{box-shadow:0 -3em 0 0, 2em -2em 0 0.2em, 3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em}25%{box-shadow:0 -3em 0 -0.5em, 2em -2em 0 0, 3em 0 0 0.2em, 2em 2em 0 0, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em}37.5%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em}50%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em}62.5%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em}75%{box-shadow:0em -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0}87.5%{box-shadow:0em -3em 0 0, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em}}@keyframes load4{0%,100%{box-shadow:0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0}12.5%{box-shadow:0 -3em 0 0, 2em -2em 0 0.2em, 3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em}25%{box-shadow:0 -3em 0 -0.5em, 2em -2em 0 0, 3em 0 0 0.2em, 2em 2em 0 0, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em}37.5%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em}50%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em}62.5%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em}75%{box-shadow:0em -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0}87.5%{box-shadow:0em -3em 0 0, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em}}");
4208
+ sr(e, "svelte-mm6oz3", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.betslipIndicator{display:flex;align-items:center;justify-content:center;padding:15px 20px;position:fixed;bottom:20%;right:20px;color:#fff;background:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));box-shadow:0px 5px 30px var(--emw--color-gray-100, #E6E6E6);border-radius:50%;border:none}.betslipIndicator__icon{display:flex;width:20px;fill:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.betslipIndicator__number{display:flex;align-items:center;justify-content:center;position:absolute;right:0px;top:-10px;width:25px;height:25px;background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));border-radius:50%}.loader{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:2px;margin:100px auto;width:1em;height:1em;border-radius:50%;position:relative;text-indent:-9999em;-webkit-animation:load4 1.3s infinite linear;animation:load4 1.3s infinite linear;-webkit-transform:translateZ(0);-ms-transform:translateZ(0);transform:translateZ(0)}@-webkit-keyframes load4{0%,100%{box-shadow:0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0}12.5%{box-shadow:0 -3em 0 0, 2em -2em 0 0.2em, 3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em}25%{box-shadow:0 -3em 0 -0.5em, 2em -2em 0 0, 3em 0 0 0.2em, 2em 2em 0 0, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em}37.5%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em}50%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em}62.5%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em}75%{box-shadow:0em -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0}87.5%{box-shadow:0em -3em 0 0, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em}}@keyframes load4{0%,100%{box-shadow:0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0}12.5%{box-shadow:0 -3em 0 0, 2em -2em 0 0.2em, 3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em}25%{box-shadow:0 -3em 0 -0.5em, 2em -2em 0 0, 3em 0 0 0.2em, 2em 2em 0 0, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em}37.5%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em}50%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em}62.5%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em}75%{box-shadow:0em -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0}87.5%{box-shadow:0em -3em 0 0, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em}}");
4208
4209
  }
4209
- function Et(e) {
4210
- let t, r, n, i, o, s, a, h, u, l, c, f;
4211
- function d(_, g) {
4210
+ function gt(e) {
4211
+ let t, r, n, i, o, s, a, h, u, l, f, c;
4212
+ function p(d, S) {
4212
4213
  return (
4213
4214
  /*isLoading*/
4214
- _[3] ? Di : Ui
4215
+ d[3] ? Di : Ui
4215
4216
  );
4216
4217
  }
4217
- let v = d(e), m = v(e);
4218
+ let g = p(e), m = g(e);
4218
4219
  return {
4219
4220
  c() {
4220
- t = F("button"), r = F("small"), m.c(), n = mr(), i = N("svg"), o = N("g"), s = N("path"), a = N("path"), h = N("path"), u = N("path"), l = N("path"), E(r, "class", "betslipIndicator__number"), E(s, "d", `M45,95c0,1.1,0.9,2,2,2h11c3.3,0,6-2.7,6-6V9c0-3.3-2.7-6-6-6H47c-1.1,0-2,0.9-2,2c0,7.2-5.8,13-13,13S19,12.2,19,5
4221
+ t = F("button"), r = F("small"), m.c(), n = hr(), i = C("svg"), o = C("g"), s = C("path"), a = C("path"), h = C("path"), u = C("path"), l = C("path"), _(r, "class", "betslipIndicator__number"), _(s, "d", `M45,95c0,1.1,0.9,2,2,2h11c3.3,0,6-2.7,6-6V9c0-3.3-2.7-6-6-6H47c-1.1,0-2,0.9-2,2c0,7.2-5.8,13-13,13S19,12.2,19,5
4221
4222
  c0-1.1-0.9-2-2-2H6C2.7,3,0,5.7,0,9v82c0,3.3,2.7,6,6,6h11c1.1,0,2-0.9,2-2c0-7.2,5.8-13,13-13S45,87.8,45,95z M32,78
4222
4223
  c-8.6,0-15.9,6.4-16.9,15H6c-1.1,0-2-0.9-2-2V9c0-1.1,0.9-2,2-2h9.1c1.2,9.3,9.7,15.9,19,14.8c7.7-1,13.8-7,14.8-14.8H58
4223
- c1.1,0,2,0.9,2,2v82c0,1.1-0.9,2-2,2h-9.1C47.9,84.4,40.6,78,32,78z`), E(a, "d", "M50.9,29.5H13.1c-0.8,0-1.5,0.9-1.5,2c0,1.1,0.7,2,1.5,2h37.8c0.8,0,1.5-0.9,1.5-2C52.4,30.4,51.7,29.5,50.9,29.5z"), E(h, "d", "M50.9,41.5H13.1c-0.8,0-1.5,0.9-1.5,2s0.7,2,1.5,2h37.8c0.8,0,1.5-0.9,1.5-2S51.7,41.5,50.9,41.5z"), E(u, "d", "M50.9,53.5H13.1c-0.8,0-1.5,0.9-1.5,2s0.7,2,1.5,2h37.8c0.8,0,1.5-0.9,1.5-2S51.7,53.5,50.9,53.5z"), E(l, "d", "M50.9,66.5H13.1c-0.8,0-1.5,0.9-1.5,2s0.7,2,1.5,2h37.8c0.8,0,1.5-0.9,1.5-2S51.7,66.5,50.9,66.5z"), E(i, "version", "1.1"), E(i, "id", "Layer_1"), E(i, "class", "betslipIndicator__icon"), E(i, "xmlns", "http://www.w3.org/2000/svg"), E(i, "xmlns:xlink", "http://www.w3.org/1999/xlink"), E(i, "x", "0px"), E(i, "y", "0px"), E(i, "viewBox", "0 0 64 100"), yr(i, "enable-background", "new 0 0 64 100"), E(i, "xml:space", "preserve"), E(t, "class", "betslipIndicator");
4224
+ c1.1,0,2,0.9,2,2v82c0,1.1-0.9,2-2,2h-9.1C47.9,84.4,40.6,78,32,78z`), _(a, "d", "M50.9,29.5H13.1c-0.8,0-1.5,0.9-1.5,2c0,1.1,0.7,2,1.5,2h37.8c0.8,0,1.5-0.9,1.5-2C52.4,30.4,51.7,29.5,50.9,29.5z"), _(h, "d", "M50.9,41.5H13.1c-0.8,0-1.5,0.9-1.5,2s0.7,2,1.5,2h37.8c0.8,0,1.5-0.9,1.5-2S51.7,41.5,50.9,41.5z"), _(u, "d", "M50.9,53.5H13.1c-0.8,0-1.5,0.9-1.5,2s0.7,2,1.5,2h37.8c0.8,0,1.5-0.9,1.5-2S51.7,53.5,50.9,53.5z"), _(l, "d", "M50.9,66.5H13.1c-0.8,0-1.5,0.9-1.5,2s0.7,2,1.5,2h37.8c0.8,0,1.5-0.9,1.5-2S51.7,66.5,50.9,66.5z"), _(i, "version", "1.1"), _(i, "id", "Layer_1"), _(i, "class", "betslipIndicator__icon"), _(i, "xmlns", "http://www.w3.org/2000/svg"), _(i, "xmlns:xlink", "http://www.w3.org/1999/xlink"), _(i, "x", "0px"), _(i, "y", "0px"), _(i, "viewBox", "0 0 64 100"), mr(i, "enable-background", "new 0 0 64 100"), _(i, "xml:space", "preserve"), _(t, "class", "betslipIndicator");
4224
4225
  },
4225
- m(_, g) {
4226
- te(_, t, g), A(t, r), m.m(r, null), A(t, n), A(t, i), A(i, o), A(o, s), A(o, a), A(o, h), A(o, u), A(o, l), c || (f = pr(
4226
+ m(d, S) {
4227
+ re(d, t, S), B(t, r), m.m(r, null), B(t, n), B(t, i), B(i, o), B(o, s), B(o, a), B(o, h), B(o, u), B(o, l), f || (c = lr(
4227
4228
  t,
4228
4229
  "click",
4229
4230
  /*click_handler*/
4230
- e[7]
4231
- ), c = !0);
4231
+ e[8]
4232
+ ), f = !0);
4232
4233
  },
4233
- p(_, g) {
4234
- v === (v = d(_)) && m ? m.p(_, g) : (m.d(1), m = v(_), m && (m.c(), m.m(r, null)));
4234
+ p(d, S) {
4235
+ g === (g = p(d)) && m ? m.p(d, S) : (m.d(1), m = g(d), m && (m.c(), m.m(r, null)));
4235
4236
  },
4236
- d(_) {
4237
- _ && X(t), m.d(), c = !1, f();
4237
+ d(d) {
4238
+ d && X(t), m.d(), f = !1, c();
4238
4239
  }
4239
4240
  };
4240
4241
  }
@@ -4242,17 +4243,17 @@ function Ui(e) {
4242
4243
  let t;
4243
4244
  return {
4244
4245
  c() {
4245
- t = Ht(
4246
+ t = Et(
4246
4247
  /*betNumber*/
4247
4248
  e[1]
4248
4249
  );
4249
4250
  },
4250
4251
  m(r, n) {
4251
- te(r, t, n);
4252
+ re(r, t, n);
4252
4253
  },
4253
4254
  p(r, n) {
4254
4255
  n & /*betNumber*/
4255
- 2 && br(
4256
+ 2 && fr(
4256
4257
  t,
4257
4258
  /*betNumber*/
4258
4259
  r[1]
@@ -4267,12 +4268,12 @@ function Di(e) {
4267
4268
  let t;
4268
4269
  return {
4269
4270
  c() {
4270
- t = F("div"), t.textContent = "Loading...", E(t, "class", "loader");
4271
+ t = F("div"), t.textContent = "Loading...", _(t, "class", "loader");
4271
4272
  },
4272
4273
  m(r, n) {
4273
- te(r, t, n);
4274
+ re(r, t, n);
4274
4275
  },
4275
- p: B,
4276
+ p: H,
4276
4277
  d(r) {
4277
4278
  r && X(t);
4278
4279
  }
@@ -4282,108 +4283,115 @@ function Fi(e) {
4282
4283
  let t, r = (
4283
4284
  /*mobileView*/
4284
4285
  e[2] && /*betNumber*/
4285
- e[1] > 0 && Et(e)
4286
+ e[1] > 0 && gt(e)
4286
4287
  );
4287
4288
  return {
4288
4289
  c() {
4289
4290
  t = F("div"), r && r.c();
4290
4291
  },
4291
4292
  m(n, i) {
4292
- te(n, t, i), r && r.m(t, null), e[8](t);
4293
+ re(n, t, i), r && r.m(t, null), e[9](t);
4293
4294
  },
4294
4295
  p(n, [i]) {
4295
4296
  /*mobileView*/
4296
4297
  n[2] && /*betNumber*/
4297
- n[1] > 0 ? r ? r.p(n, i) : (r = Et(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
4298
+ n[1] > 0 ? r ? r.p(n, i) : (r = gt(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
4298
4299
  },
4299
- i: B,
4300
- o: B,
4300
+ i: H,
4301
+ o: H,
4301
4302
  d(n) {
4302
- n && X(t), r && r.d(), e[8](null);
4303
+ n && X(t), r && r.d(), e[9](null);
4303
4304
  }
4304
4305
  };
4305
4306
  }
4306
4307
  function Gi(e, t, r) {
4307
- let { clientstyling: n = "" } = t, { clientstylingurl: i = "" } = t, o, s = window.navigator.userAgent, a = null, h = !1, u = !0;
4308
- const l = () => {
4308
+ let { clientstyling: n = "" } = t, { clientstylingurl: i = "" } = t, { mbsource: o } = t, s, a = window.navigator.userAgent, h = null, u = !1, l = !0;
4309
+ const f = () => {
4309
4310
  window.postMessage({ type: "OMFE:getBetslipSelectionsCount" }, "*");
4310
- }, c = (g, H) => {
4311
- o.dispatchEvent(new CustomEvent(
4312
- g,
4311
+ }, c = (d, S) => {
4312
+ s.dispatchEvent(new CustomEvent(
4313
+ d,
4313
4314
  {
4314
- detail: H,
4315
+ detail: S,
4315
4316
  composed: !0,
4316
4317
  bubbles: !0
4317
4318
  // propagate across the shadow DOM
4318
4319
  }
4319
4320
  ));
4320
- }, f = (g) => {
4321
- const { type: H, payload: S } = g.data;
4322
- if (g.data)
4323
- switch (H) {
4321
+ }, p = (d) => {
4322
+ const { type: S, payload: O } = d.data;
4323
+ if (d.data)
4324
+ switch (S) {
4324
4325
  case "OMFE:updateBetslipSelectionsCount":
4325
- r(1, a = S.count), r(3, u = !1);
4326
+ r(1, h = O.count), r(3, l = !1);
4326
4327
  break;
4327
4328
  }
4328
- }, d = () => {
4329
- let g = document.createElement("style");
4330
- g.innerHTML = n, o.appendChild(g);
4331
- }, v = () => {
4332
- let g = new URL(i), H = document.createElement("style");
4333
- fetch(g.href).then((S) => S.text()).then((S) => {
4334
- H.innerHTML = S, setTimeout(
4335
- () => {
4336
- o.appendChild(H);
4337
- },
4338
- 1
4339
- );
4340
- });
4341
4329
  };
4342
- xr(() => (l(), window.addEventListener("message", f, !1), Mi(s) && r(2, h = !0), () => {
4343
- window.removeEventListener("message", f);
4330
+ br(() => (f(), window.addEventListener("message", p, !1), Ci(a) && r(2, u = !0), () => {
4331
+ window.removeEventListener("message", p);
4344
4332
  }));
4345
- const m = (g) => c("betslipClick", {});
4346
- function _(g) {
4347
- Ae[g ? "unshift" : "push"](() => {
4348
- o = g, r(0, o);
4333
+ const g = (d) => c("betslipClick", {});
4334
+ function m(d) {
4335
+ Be[d ? "unshift" : "push"](() => {
4336
+ s = d, r(0, s);
4349
4337
  });
4350
4338
  }
4351
- return e.$$set = (g) => {
4352
- "clientstyling" in g && r(5, n = g.clientstyling), "clientstylingurl" in g && r(6, i = g.clientstylingurl);
4339
+ return e.$$set = (d) => {
4340
+ "clientstyling" in d && r(5, n = d.clientstyling), "clientstylingurl" in d && r(6, i = d.clientstylingurl), "mbsource" in d && r(7, o = d.mbsource);
4353
4341
  }, e.$$.update = () => {
4354
- e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4355
- 65 && i && o && v(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4356
- 33 && n && o && d();
4342
+ e.$$.dirty & /*clientstyling, customStylingContainer*/
4343
+ 33 && n && s && Li(s, n), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4344
+ 65 && i && s && Mi(s, i), e.$$.dirty & /*mbsource, customStylingContainer*/
4345
+ 129 && o && s && $i(s, `${o}.Style`);
4357
4346
  }, [
4358
- o,
4359
- a,
4347
+ s,
4360
4348
  h,
4361
4349
  u,
4350
+ l,
4362
4351
  c,
4363
4352
  n,
4364
4353
  i,
4365
- m,
4366
- _
4354
+ o,
4355
+ g,
4356
+ m
4367
4357
  ];
4368
4358
  }
4369
- class ji extends Cr {
4359
+ class ji extends Ar {
4370
4360
  constructor(t) {
4371
- super(), Or(this, t, Gi, Fi, wt, { clientstyling: 5, clientstylingurl: 6 }, Ri);
4361
+ super(), Tr(
4362
+ this,
4363
+ t,
4364
+ Gi,
4365
+ Fi,
4366
+ _t,
4367
+ {
4368
+ clientstyling: 5,
4369
+ clientstylingurl: 6,
4370
+ mbsource: 7
4371
+ },
4372
+ Ri
4373
+ );
4372
4374
  }
4373
4375
  get clientstyling() {
4374
4376
  return this.$$.ctx[5];
4375
4377
  }
4376
4378
  set clientstyling(t) {
4377
- this.$$set({ clientstyling: t }), ce();
4379
+ this.$$set({ clientstyling: t }), Y();
4378
4380
  }
4379
4381
  get clientstylingurl() {
4380
4382
  return this.$$.ctx[6];
4381
4383
  }
4382
4384
  set clientstylingurl(t) {
4383
- this.$$set({ clientstylingurl: t }), ce();
4385
+ this.$$set({ clientstylingurl: t }), Y();
4386
+ }
4387
+ get mbsource() {
4388
+ return this.$$.ctx[7];
4389
+ }
4390
+ set mbsource(t) {
4391
+ this.$$set({ mbsource: t }), Y();
4384
4392
  }
4385
4393
  }
4386
- Ir(ji, { clientstyling: {}, clientstylingurl: {} }, [], [], !0);
4394
+ Br(ji, { clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
4387
4395
  export {
4388
4396
  ji as default
4389
4397
  };