@everymatrix/casino-404 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,75 +1,75 @@
1
- var Ut = Object.defineProperty, jt = Object.defineProperties;
2
- var kt = Object.getOwnPropertyDescriptors;
3
- var Xe = Object.getOwnPropertySymbols;
4
- var Vt = Object.prototype.hasOwnProperty, Xt = Object.prototype.propertyIsEnumerable;
5
- var ge = (e, t, r) => t in e ? Ut(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ze = (e, t) => {
1
+ var Gt = Object.defineProperty, Dt = Object.defineProperties;
2
+ var Ut = Object.getOwnPropertyDescriptors;
3
+ var ke = Object.getOwnPropertySymbols;
4
+ var jt = Object.prototype.hasOwnProperty, kt = Object.prototype.propertyIsEnumerable;
5
+ var de = (e, t, r) => t in e ? Gt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ve = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- Vt.call(t, r) && ge(e, r, t[r]);
8
- if (Xe)
9
- for (var r of Xe(t))
10
- Xt.call(t, r) && ge(e, r, t[r]);
7
+ jt.call(t, r) && de(e, r, t[r]);
8
+ if (ke)
9
+ for (var r of ke(t))
10
+ kt.call(t, r) && de(e, r, t[r]);
11
11
  return e;
12
- }, Ze = (e, t) => jt(e, kt(t));
13
- var S = (e, t, r) => ge(e, typeof t != "symbol" ? t + "" : t, r);
14
- var We = (e, t, r) => new Promise((n, i) => {
12
+ }, Xe = (e, t) => Dt(e, Ut(t));
13
+ var N = (e, t, r) => de(e, typeof t != "symbol" ? t + "" : t, r);
14
+ var ze = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (h) => {
16
16
  try {
17
17
  u(r.next(h));
18
- } catch (s) {
19
- i(s);
18
+ } catch (a) {
19
+ i(a);
20
20
  }
21
- }, a = (h) => {
21
+ }, s = (h) => {
22
22
  try {
23
23
  u(r.throw(h));
24
- } catch (s) {
25
- i(s);
24
+ } catch (a) {
25
+ i(a);
26
26
  }
27
- }, u = (h) => h.done ? n(h.value) : Promise.resolve(h.value).then(o, a);
27
+ }, u = (h) => h.done ? n(h.value) : Promise.resolve(h.value).then(o, s);
28
28
  u((r = r.apply(e, t)).next());
29
29
  });
30
- function w() {
30
+ function B() {
31
31
  }
32
- function ct(e) {
32
+ function lt(e) {
33
33
  return e();
34
34
  }
35
- function Qe() {
35
+ function Ze() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
- function te(e) {
39
- e.forEach(ct);
38
+ function re(e) {
39
+ e.forEach(lt);
40
40
  }
41
- function Re(e) {
41
+ function Fe(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function mt(e, t) {
44
+ function ft(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
- function zt(e) {
47
+ function Vt(e) {
48
48
  return Object.keys(e).length === 0;
49
49
  }
50
- function pt(e, ...t) {
50
+ function ct(e, ...t) {
51
51
  if (e == null) {
52
52
  for (const n of t)
53
53
  n(void 0);
54
- return w;
54
+ return B;
55
55
  }
56
56
  const r = e.subscribe(...t);
57
57
  return r.unsubscribe ? () => r.unsubscribe() : r;
58
58
  }
59
- function Zt(e, t, r) {
60
- e.$$.on_destroy.push(pt(t, r));
59
+ function Xt(e, t, r) {
60
+ e.$$.on_destroy.push(ct(t, r));
61
61
  }
62
- function H(e, t) {
62
+ function _(e, t) {
63
63
  e.appendChild(t);
64
64
  }
65
- function Wt(e, t, r) {
66
- const n = Qt(e);
65
+ function zt(e, t, r) {
66
+ const n = Zt(e);
67
67
  if (!n.getElementById(t)) {
68
68
  const i = C("style");
69
- i.id = t, i.textContent = r, qt(n, i);
69
+ i.id = t, i.textContent = r, Wt(n, i);
70
70
  }
71
71
  }
72
- function Qt(e) {
72
+ function Zt(e) {
73
73
  if (!e) return document;
74
74
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
75
75
  return t && /** @type {ShadowRoot} */
@@ -78,17 +78,17 @@ function Qt(e) {
78
78
  t
79
79
  ) : e.ownerDocument;
80
80
  }
81
- function qt(e, t) {
82
- return H(
81
+ function Wt(e, t) {
82
+ return _(
83
83
  /** @type {Document} */
84
84
  e.head || e,
85
85
  t
86
86
  ), t.sheet;
87
87
  }
88
- function gt(e, t, r) {
88
+ function mt(e, t, r) {
89
89
  e.insertBefore(t, r || null);
90
90
  }
91
- function Fe(e) {
91
+ function Ge(e) {
92
92
  e.parentNode && e.parentNode.removeChild(e);
93
93
  }
94
94
  function C(e) {
@@ -97,26 +97,26 @@ function C(e) {
97
97
  function I(e) {
98
98
  return document.createElementNS("http://www.w3.org/2000/svg", e);
99
99
  }
100
- function ie(e) {
100
+ function oe(e) {
101
101
  return document.createTextNode(e);
102
102
  }
103
- function de() {
104
- return ie(" ");
103
+ function be() {
104
+ return oe(" ");
105
105
  }
106
- function Jt(e, t, r, n) {
106
+ function Qt(e, t, r, n) {
107
107
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
108
108
  }
109
109
  function x(e, t, r) {
110
110
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
111
111
  }
112
- function Yt(e) {
112
+ function qt(e) {
113
113
  return Array.from(e.childNodes);
114
114
  }
115
- function be(e, t) {
115
+ function xe(e, t) {
116
116
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
117
117
  t);
118
118
  }
119
- function Kt(e) {
119
+ function Jt(e) {
120
120
  const t = {};
121
121
  return e.childNodes.forEach(
122
122
  /** @param {Element} node */
@@ -125,49 +125,56 @@ function Kt(e) {
125
125
  }
126
126
  ), t;
127
127
  }
128
- let Ge;
128
+ let K;
129
129
  function Y(e) {
130
- Ge = e;
130
+ K = e;
131
+ }
132
+ function Yt() {
133
+ if (!K) throw new Error("Function called outside component initialization");
134
+ return K;
131
135
  }
132
- const D = [], Pe = [];
136
+ function Kt(e) {
137
+ Yt().$$.on_mount.push(e);
138
+ }
139
+ const U = [], Se = [];
133
140
  let j = [];
134
- const qe = [], er = /* @__PURE__ */ Promise.resolve();
141
+ const We = [], er = /* @__PURE__ */ Promise.resolve();
135
142
  let Ne = !1;
136
143
  function tr() {
137
- Ne || (Ne = !0, er.then(U));
144
+ Ne || (Ne = !0, er.then($));
138
145
  }
139
146
  function Ae(e) {
140
147
  j.push(e);
141
148
  }
142
- const xe = /* @__PURE__ */ new Set();
143
- let F = 0;
144
- function U() {
145
- if (F !== 0)
149
+ const ye = /* @__PURE__ */ new Set();
150
+ let G = 0;
151
+ function $() {
152
+ if (G !== 0)
146
153
  return;
147
- const e = Ge;
154
+ const e = K;
148
155
  do {
149
156
  try {
150
- for (; F < D.length; ) {
151
- const t = D[F];
152
- F++, Y(t), rr(t.$$);
157
+ for (; G < U.length; ) {
158
+ const t = U[G];
159
+ G++, Y(t), rr(t.$$);
153
160
  }
154
161
  } catch (t) {
155
- throw D.length = 0, F = 0, t;
162
+ throw U.length = 0, G = 0, t;
156
163
  }
157
- for (Y(null), D.length = 0, F = 0; Pe.length; ) Pe.pop()();
164
+ for (Y(null), U.length = 0, G = 0; Se.length; ) Se.pop()();
158
165
  for (let t = 0; t < j.length; t += 1) {
159
166
  const r = j[t];
160
- xe.has(r) || (xe.add(r), r());
167
+ ye.has(r) || (ye.add(r), r());
161
168
  }
162
169
  j.length = 0;
163
- } while (D.length);
164
- for (; qe.length; )
165
- qe.pop()();
166
- Ne = !1, xe.clear(), Y(e);
170
+ } while (U.length);
171
+ for (; We.length; )
172
+ We.pop()();
173
+ Ne = !1, ye.clear(), Y(e);
167
174
  }
168
175
  function rr(e) {
169
176
  if (e.fragment !== null) {
170
- e.update(), te(e.before_update);
177
+ e.update(), re(e.before_update);
171
178
  const t = e.dirty;
172
179
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ae);
173
180
  }
@@ -183,28 +190,28 @@ function or(e, t) {
183
190
  function ar(e, t, r) {
184
191
  const { fragment: n, after_update: i } = e.$$;
185
192
  n && n.m(t, r), Ae(() => {
186
- const o = e.$$.on_mount.map(ct).filter(Re);
187
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : te(o), e.$$.on_mount = [];
193
+ const o = e.$$.on_mount.map(lt).filter(Fe);
194
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : re(o), e.$$.on_mount = [];
188
195
  }), i.forEach(Ae);
189
196
  }
190
197
  function sr(e, t) {
191
198
  const r = e.$$;
192
- r.fragment !== null && (nr(r.after_update), te(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
199
+ r.fragment !== null && (nr(r.after_update), re(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
193
200
  }
194
201
  function ur(e, t) {
195
- e.$$.dirty[0] === -1 && (D.push(e), tr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
202
+ e.$$.dirty[0] === -1 && (U.push(e), tr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
196
203
  }
197
- function hr(e, t, r, n, i, o, a = null, u = [-1]) {
198
- const h = Ge;
204
+ function hr(e, t, r, n, i, o, s = null, u = [-1]) {
205
+ const h = K;
199
206
  Y(e);
200
- const s = e.$$ = {
207
+ const a = e.$$ = {
201
208
  fragment: null,
202
209
  ctx: [],
203
210
  // state
204
211
  props: o,
205
- update: w,
212
+ update: B,
206
213
  not_equal: i,
207
- bound: Qe(),
214
+ bound: Ze(),
208
215
  // lifecycle
209
216
  on_mount: [],
210
217
  on_destroy: [],
@@ -213,48 +220,48 @@ function hr(e, t, r, n, i, o, a = null, u = [-1]) {
213
220
  after_update: [],
214
221
  context: new Map(t.context || (h ? h.$$.context : [])),
215
222
  // everything else
216
- callbacks: Qe(),
223
+ callbacks: Ze(),
217
224
  dirty: u,
218
225
  skip_bound: !1,
219
226
  root: t.target || h.$$.root
220
227
  };
221
- a && a(s.root);
228
+ s && s(a.root);
222
229
  let l = !1;
223
- if (s.ctx = r ? r(e, t.props || {}, (c, f, ...b) => {
224
- const y = b.length ? b[0] : f;
225
- return s.ctx && i(s.ctx[c], s.ctx[c] = y) && (!s.skip_bound && s.bound[c] && s.bound[c](y), l && ur(e, c)), f;
226
- }) : [], s.update(), l = !0, te(s.before_update), s.fragment = n ? n(s.ctx) : !1, t.target) {
230
+ if (a.ctx = r ? r(e, t.props || {}, (f, c, ...b) => {
231
+ const y = b.length ? b[0] : c;
232
+ return a.ctx && i(a.ctx[f], a.ctx[f] = y) && (!a.skip_bound && a.bound[f] && a.bound[f](y), l && ur(e, f)), c;
233
+ }) : [], a.update(), l = !0, re(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
227
234
  if (t.hydrate) {
228
- const c = Yt(t.target);
229
- s.fragment && s.fragment.l(c), c.forEach(Fe);
235
+ const f = qt(t.target);
236
+ a.fragment && a.fragment.l(f), f.forEach(Ge);
230
237
  } else
231
- s.fragment && s.fragment.c();
232
- t.intro && or(e.$$.fragment), ar(e, t.target, t.anchor), U();
238
+ a.fragment && a.fragment.c();
239
+ t.intro && or(e.$$.fragment), ar(e, t.target, t.anchor), $();
233
240
  }
234
241
  Y(h);
235
242
  }
236
- let dt;
237
- typeof HTMLElement == "function" && (dt = class extends HTMLElement {
243
+ let pt;
244
+ typeof HTMLElement == "function" && (pt = class extends HTMLElement {
238
245
  constructor(t, r, n) {
239
246
  super();
240
247
  /** The Svelte component constructor */
241
- S(this, "$$ctor");
248
+ N(this, "$$ctor");
242
249
  /** Slots */
243
- S(this, "$$s");
250
+ N(this, "$$s");
244
251
  /** The Svelte component instance */
245
- S(this, "$$c");
252
+ N(this, "$$c");
246
253
  /** Whether or not the custom element is connected */
247
- S(this, "$$cn", !1);
254
+ N(this, "$$cn", !1);
248
255
  /** Component props data */
249
- S(this, "$$d", {});
256
+ N(this, "$$d", {});
250
257
  /** `true` if currently in the process of reflecting component props back to attributes */
251
- S(this, "$$r", !1);
258
+ N(this, "$$r", !1);
252
259
  /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
253
- S(this, "$$p_d", {});
260
+ N(this, "$$p_d", {});
254
261
  /** @type {Record<string, Function[]>} Event listeners */
255
- S(this, "$$l", {});
262
+ N(this, "$$l", {});
256
263
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
257
- S(this, "$$l_u", /* @__PURE__ */ new Map());
264
+ N(this, "$$l_u", /* @__PURE__ */ new Map());
258
265
  this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
259
266
  }
260
267
  addEventListener(t, r, n) {
@@ -271,42 +278,42 @@ typeof HTMLElement == "function" && (dt = class extends HTMLElement {
271
278
  }
272
279
  }
273
280
  connectedCallback() {
274
- return We(this, null, function* () {
281
+ return ze(this, null, function* () {
275
282
  if (this.$$cn = !0, !this.$$c) {
276
283
  let t = function(o) {
277
284
  return () => {
278
- let a;
285
+ let s;
279
286
  return {
280
287
  c: function() {
281
- a = C("slot"), o !== "default" && x(a, "name", o);
288
+ s = C("slot"), o !== "default" && x(s, "name", o);
282
289
  },
283
290
  /**
284
291
  * @param {HTMLElement} target
285
292
  * @param {HTMLElement} [anchor]
286
293
  */
287
- m: function(s, l) {
288
- gt(s, a, l);
294
+ m: function(a, l) {
295
+ mt(a, s, l);
289
296
  },
290
- d: function(s) {
291
- s && Fe(a);
297
+ d: function(a) {
298
+ a && Ge(s);
292
299
  }
293
300
  };
294
301
  };
295
302
  };
296
303
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
297
304
  return;
298
- const r = {}, n = Kt(this);
305
+ const r = {}, n = Jt(this);
299
306
  for (const o of this.$$s)
300
307
  o in n && (r[o] = [t(o)]);
301
308
  for (const o of this.attributes) {
302
- const a = this.$$g_p(o.name);
303
- a in this.$$d || (this.$$d[a] = oe(a, o.value, this.$$p_d, "toProp"));
309
+ const s = this.$$g_p(o.name);
310
+ s in this.$$d || (this.$$d[s] = ae(s, o.value, this.$$p_d, "toProp"));
304
311
  }
305
312
  for (const o in this.$$p_d)
306
313
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
307
314
  this.$$c = new this.$$ctor({
308
315
  target: this.shadowRoot || this,
309
- props: Ze(ze({}, this.$$d), {
316
+ props: Xe(Ve({}, this.$$d), {
310
317
  $$slots: r,
311
318
  $$scope: {
312
319
  ctx: []
@@ -317,21 +324,21 @@ typeof HTMLElement == "function" && (dt = class extends HTMLElement {
317
324
  this.$$r = !0;
318
325
  for (const o in this.$$p_d)
319
326
  if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
320
- const a = oe(
327
+ const s = ae(
321
328
  o,
322
329
  this.$$d[o],
323
330
  this.$$p_d,
324
331
  "toAttribute"
325
332
  );
326
- a == null ? this.removeAttribute(this.$$p_d[o].attribute || o) : this.setAttribute(this.$$p_d[o].attribute || o, a);
333
+ s == null ? this.removeAttribute(this.$$p_d[o].attribute || o) : this.setAttribute(this.$$p_d[o].attribute || o, s);
327
334
  }
328
335
  this.$$r = !1;
329
336
  };
330
337
  this.$$c.$$.after_update.push(i), i();
331
338
  for (const o in this.$$l)
332
- for (const a of this.$$l[o]) {
333
- const u = this.$$c.$on(o, a);
334
- this.$$l_u.set(a, u);
339
+ for (const s of this.$$l[o]) {
340
+ const u = this.$$c.$on(o, s);
341
+ this.$$l_u.set(s, u);
335
342
  }
336
343
  this.$$l = {};
337
344
  }
@@ -341,7 +348,7 @@ typeof HTMLElement == "function" && (dt = class extends HTMLElement {
341
348
  // and setting attributes through setAttribute etc, this is helpful
342
349
  attributeChangedCallback(t, r, n) {
343
350
  var i;
344
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = oe(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] = ae(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
345
352
  }
346
353
  disconnectedCallback() {
347
354
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -354,7 +361,7 @@ typeof HTMLElement == "function" && (dt = class extends HTMLElement {
354
361
  ) || t;
355
362
  }
356
363
  });
357
- function oe(e, t, r, n) {
364
+ function ae(e, t, r, n) {
358
365
  var o;
359
366
  const i = (o = r[e]) == null ? void 0 : o.type;
360
367
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
@@ -385,7 +392,7 @@ function oe(e, t, r, n) {
385
392
  }
386
393
  }
387
394
  function lr(e, t, r, n, i, o) {
388
- let a = class extends dt {
395
+ let s = class extends pt {
389
396
  constructor() {
390
397
  super(e, r, i), this.$$p_d = t;
391
398
  }
@@ -396,24 +403,24 @@ function lr(e, t, r, n, i, o) {
396
403
  }
397
404
  };
398
405
  return Object.keys(t).forEach((u) => {
399
- Object.defineProperty(a.prototype, u, {
406
+ Object.defineProperty(s.prototype, u, {
400
407
  get() {
401
408
  return this.$$c && u in this.$$c ? this.$$c[u] : this.$$d[u];
402
409
  },
403
410
  set(h) {
404
- var s;
405
- h = oe(u, h, t), this.$$d[u] = h, (s = this.$$c) == null || s.$set({ [u]: h });
411
+ var a;
412
+ h = ae(u, h, t), this.$$d[u] = h, (a = this.$$c) == null || a.$set({ [u]: h });
406
413
  }
407
414
  });
408
415
  }), n.forEach((u) => {
409
- Object.defineProperty(a.prototype, u, {
416
+ Object.defineProperty(s.prototype, u, {
410
417
  get() {
411
418
  var h;
412
419
  return (h = this.$$c) == null ? void 0 : h[u];
413
420
  }
414
421
  });
415
422
  }), e.element = /** @type {any} */
416
- a, a;
423
+ s, s;
417
424
  }
418
425
  class fr {
419
426
  constructor() {
@@ -424,7 +431,7 @@ class fr {
424
431
  *
425
432
  * @type {any}
426
433
  */
427
- S(this, "$$");
434
+ N(this, "$$");
428
435
  /**
429
436
  * ### PRIVATE API
430
437
  *
@@ -432,11 +439,11 @@ class fr {
432
439
  *
433
440
  * @type {any}
434
441
  */
435
- S(this, "$$set");
442
+ N(this, "$$set");
436
443
  }
437
444
  /** @returns {void} */
438
445
  $destroy() {
439
- sr(this, 1), this.$destroy = w;
446
+ sr(this, 1), this.$destroy = B;
440
447
  }
441
448
  /**
442
449
  * @template {Extract<keyof Events, string>} K
@@ -445,8 +452,8 @@ class fr {
445
452
  * @returns {() => void}
446
453
  */
447
454
  $on(t, r) {
448
- if (!Re(r))
449
- return w;
455
+ if (!Fe(r))
456
+ return B;
450
457
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
451
458
  return n.push(r), () => {
452
459
  const i = n.indexOf(r);
@@ -458,71 +465,71 @@ class fr {
458
465
  * @returns {void}
459
466
  */
460
467
  $set(t) {
461
- this.$$set && !zt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
468
+ this.$$set && !Vt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
462
469
  }
463
470
  }
464
471
  const cr = "4";
465
472
  typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(cr);
466
- const G = [];
473
+ const D = [];
467
474
  function mr(e, t) {
468
475
  return {
469
- subscribe: le(e, t).subscribe
476
+ subscribe: fe(e, t).subscribe
470
477
  };
471
478
  }
472
- function le(e, t = w) {
479
+ function fe(e, t = B) {
473
480
  let r;
474
481
  const n = /* @__PURE__ */ new Set();
475
482
  function i(u) {
476
- if (mt(e, u) && (e = u, r)) {
477
- const h = !G.length;
478
- for (const s of n)
479
- s[1](), G.push(s, e);
483
+ if (ft(e, u) && (e = u, r)) {
484
+ const h = !D.length;
485
+ for (const a of n)
486
+ a[1](), D.push(a, e);
480
487
  if (h) {
481
- for (let s = 0; s < G.length; s += 2)
482
- G[s][0](G[s + 1]);
483
- G.length = 0;
488
+ for (let a = 0; a < D.length; a += 2)
489
+ D[a][0](D[a + 1]);
490
+ D.length = 0;
484
491
  }
485
492
  }
486
493
  }
487
494
  function o(u) {
488
495
  i(u(e));
489
496
  }
490
- function a(u, h = w) {
491
- const s = [u, h];
492
- return n.add(s), n.size === 1 && (r = t(i, o) || w), u(e), () => {
493
- n.delete(s), n.size === 0 && r && (r(), r = null);
497
+ function s(u, h = B) {
498
+ const a = [u, h];
499
+ return n.add(a), n.size === 1 && (r = t(i, o) || B), u(e), () => {
500
+ n.delete(a), n.size === 0 && r && (r(), r = null);
494
501
  };
495
502
  }
496
- return { set: i, update: o, subscribe: a };
503
+ return { set: i, update: o, subscribe: s };
497
504
  }
498
505
  function Z(e, t, r) {
499
506
  const n = !Array.isArray(e), i = n ? [e] : e;
500
507
  if (!i.every(Boolean))
501
508
  throw new Error("derived() expects stores as input, got a falsy value");
502
509
  const o = t.length < 2;
503
- return mr(r, (a, u) => {
510
+ return mr(r, (s, u) => {
504
511
  let h = !1;
505
- const s = [];
506
- let l = 0, c = w;
507
- const f = () => {
512
+ const a = [];
513
+ let l = 0, f = B;
514
+ const c = () => {
508
515
  if (l)
509
516
  return;
510
- c();
511
- const y = t(n ? s[0] : s, a, u);
512
- o ? a(y) : c = Re(y) ? y : w;
517
+ f();
518
+ const y = t(n ? a[0] : a, s, u);
519
+ o ? s(y) : f = Fe(y) ? y : B;
513
520
  }, b = i.map(
514
- (y, _) => pt(
521
+ (y, m) => ct(
515
522
  y,
516
- (m) => {
517
- s[_] = m, l &= ~(1 << _), h && f();
523
+ (v) => {
524
+ a[m] = v, l &= ~(1 << m), h && c();
518
525
  },
519
526
  () => {
520
- l |= 1 << _;
527
+ l |= 1 << m;
521
528
  }
522
529
  )
523
530
  );
524
- return h = !0, f(), function() {
525
- te(b), c(), h = !1;
531
+ return h = !0, c(), function() {
532
+ re(b), f(), h = !1;
526
533
  };
527
534
  });
528
535
  }
@@ -537,21 +544,21 @@ function dr(e) {
537
544
  }
538
545
  function br(e) {
539
546
  var t = Object.prototype.toString.call(e);
540
- return t === "[object RegExp]" || t === "[object Date]" || vr(e);
547
+ return t === "[object RegExp]" || t === "[object Date]" || Er(e);
541
548
  }
542
549
  var xr = typeof Symbol == "function" && Symbol.for, yr = xr ? Symbol.for("react.element") : 60103;
543
- function vr(e) {
550
+ function Er(e) {
544
551
  return e.$$typeof === yr;
545
552
  }
546
- function Er(e) {
553
+ function vr(e) {
547
554
  return Array.isArray(e) ? [] : {};
548
555
  }
549
- function K(e, t) {
550
- return t.clone !== !1 && t.isMergeableObject(e) ? k(Er(e), e, t) : e;
556
+ function ee(e, t) {
557
+ return t.clone !== !1 && t.isMergeableObject(e) ? k(vr(e), e, t) : e;
551
558
  }
552
559
  function _r(e, t, r) {
553
560
  return e.concat(t).map(function(n) {
554
- return K(n, r);
561
+ return ee(n, r);
555
562
  });
556
563
  }
557
564
  function Hr(e, t) {
@@ -565,10 +572,10 @@ function Tr(e) {
565
572
  return Object.propertyIsEnumerable.call(e, t);
566
573
  }) : [];
567
574
  }
568
- function Je(e) {
575
+ function Qe(e) {
569
576
  return Object.keys(e).concat(Tr(e));
570
577
  }
571
- function bt(e, t) {
578
+ function gt(e, t) {
572
579
  try {
573
580
  return t in e;
574
581
  } catch (r) {
@@ -576,20 +583,20 @@ function bt(e, t) {
576
583
  }
577
584
  }
578
585
  function Pr(e, t) {
579
- return bt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
586
+ return gt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
580
587
  }
581
- function Nr(e, t, r) {
588
+ function Sr(e, t, r) {
582
589
  var n = {};
583
- return r.isMergeableObject(e) && Je(e).forEach(function(i) {
584
- n[i] = K(e[i], r);
585
- }), Je(t).forEach(function(i) {
586
- Pr(e, i) || (bt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Hr(i, r)(e[i], t[i], r) : n[i] = K(t[i], r));
590
+ return r.isMergeableObject(e) && Qe(e).forEach(function(i) {
591
+ n[i] = ee(e[i], r);
592
+ }), Qe(t).forEach(function(i) {
593
+ Pr(e, i) || (gt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Hr(i, r)(e[i], t[i], r) : n[i] = ee(t[i], r));
587
594
  }), n;
588
595
  }
589
596
  function k(e, t, r) {
590
- r = r || {}, r.arrayMerge = r.arrayMerge || _r, r.isMergeableObject = r.isMergeableObject || gr, r.cloneUnlessOtherwiseSpecified = K;
597
+ r = r || {}, r.arrayMerge = r.arrayMerge || _r, r.isMergeableObject = r.isMergeableObject || gr, r.cloneUnlessOtherwiseSpecified = ee;
591
598
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
592
- return o ? n ? r.arrayMerge(e, t, r) : Nr(e, t, r) : K(t, r);
599
+ return o ? n ? r.arrayMerge(e, t, r) : Sr(e, t, r) : ee(t, r);
593
600
  }
594
601
  k.all = function(t, r) {
595
602
  if (!Array.isArray(t))
@@ -598,19 +605,19 @@ k.all = function(t, r) {
598
605
  return k(n, i, r);
599
606
  }, {});
600
607
  };
601
- var Ar = k, Sr = Ar;
602
- const Br = /* @__PURE__ */ pr(Sr);
603
- var Se = function(e, t) {
604
- return Se = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
608
+ var Nr = k, Ar = Nr;
609
+ const Br = /* @__PURE__ */ pr(Ar);
610
+ var Be = function(e, t) {
611
+ return Be = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
605
612
  r.__proto__ = n;
606
613
  } || function(r, n) {
607
614
  for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
608
- }, Se(e, t);
615
+ }, Be(e, t);
609
616
  };
610
- function fe(e, t) {
617
+ function ce(e, t) {
611
618
  if (typeof t != "function" && t !== null)
612
619
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
613
- Se(e, t);
620
+ Be(e, t);
614
621
  function r() {
615
622
  this.constructor = e;
616
623
  }
@@ -633,13 +640,13 @@ function wr(e, t) {
633
640
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
634
641
  return r;
635
642
  }
636
- function ye(e, t, r) {
643
+ function Ee(e, t, r) {
637
644
  if (r || arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
638
645
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
639
646
  return e.concat(o || Array.prototype.slice.call(t));
640
647
  }
641
648
  function ve(e, t) {
642
- var r = t && t.cache ? t.cache : $r, n = t && t.serializer ? t.serializer : Cr, i = t && t.strategy ? t.strategy : Ir;
649
+ var r = t && t.cache ? t.cache : Rr, n = t && t.serializer ? t.serializer : Cr, i = t && t.strategy ? t.strategy : Mr;
643
650
  return i(e, {
644
651
  cache: r,
645
652
  serializer: n
@@ -648,95 +655,93 @@ function ve(e, t) {
648
655
  function Or(e) {
649
656
  return e == null || typeof e == "number" || typeof e == "boolean";
650
657
  }
651
- function xt(e, t, r, n) {
658
+ function Ir(e, t, r, n) {
652
659
  var i = Or(n) ? n : r(n), o = t.get(i);
653
660
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
654
661
  }
655
- function yt(e, t, r) {
662
+ function dt(e, t, r) {
656
663
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
657
664
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
658
665
  }
659
- function De(e, t, r, n, i) {
666
+ function bt(e, t, r, n, i) {
660
667
  return r.bind(t, e, n, i);
661
668
  }
662
- function Ir(e, t) {
663
- var r = e.length === 1 ? xt : yt;
664
- return De(e, this, r, t.cache.create(), t.serializer);
665
- }
666
669
  function Mr(e, t) {
667
- return De(e, this, yt, t.cache.create(), t.serializer);
670
+ var r = e.length === 1 ? Ir : dt;
671
+ return bt(e, this, r, t.cache.create(), t.serializer);
668
672
  }
669
673
  function Lr(e, t) {
670
- return De(e, this, xt, t.cache.create(), t.serializer);
674
+ return bt(e, this, dt, t.cache.create(), t.serializer);
671
675
  }
672
676
  var Cr = function() {
673
677
  return JSON.stringify(arguments);
674
- };
675
- function Ue() {
676
- this.cache = /* @__PURE__ */ Object.create(null);
677
- }
678
- Ue.prototype.get = function(e) {
679
- return this.cache[e];
680
- };
681
- Ue.prototype.set = function(e, t) {
682
- this.cache[e] = t;
683
- };
684
- var $r = {
678
+ }, $r = (
679
+ /** @class */
680
+ function() {
681
+ function e() {
682
+ this.cache = /* @__PURE__ */ Object.create(null);
683
+ }
684
+ return e.prototype.get = function(t) {
685
+ return this.cache[t];
686
+ }, e.prototype.set = function(t, r) {
687
+ this.cache[t] = r;
688
+ }, e;
689
+ }()
690
+ ), Rr = {
685
691
  create: function() {
686
- return new Ue();
692
+ return new $r();
687
693
  }
688
- }, Ee = {
689
- variadic: Mr,
690
- monadic: Lr
694
+ }, _e = {
695
+ variadic: Lr
691
696
  }, p;
692
697
  (function(e) {
693
698
  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";
694
699
  })(p || (p = {}));
695
- var v;
700
+ var E;
696
701
  (function(e) {
697
702
  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";
698
- })(v || (v = {}));
703
+ })(E || (E = {}));
699
704
  var V;
700
705
  (function(e) {
701
706
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
702
707
  })(V || (V = {}));
703
- function Ye(e) {
704
- return e.type === v.literal;
708
+ function qe(e) {
709
+ return e.type === E.literal;
710
+ }
711
+ function Fr(e) {
712
+ return e.type === E.argument;
705
713
  }
706
- function Rr(e) {
707
- return e.type === v.argument;
714
+ function xt(e) {
715
+ return e.type === E.number;
708
716
  }
709
- function vt(e) {
710
- return e.type === v.number;
717
+ function yt(e) {
718
+ return e.type === E.date;
711
719
  }
712
720
  function Et(e) {
713
- return e.type === v.date;
721
+ return e.type === E.time;
722
+ }
723
+ function vt(e) {
724
+ return e.type === E.select;
714
725
  }
715
726
  function _t(e) {
716
- return e.type === v.time;
727
+ return e.type === E.plural;
728
+ }
729
+ function Gr(e) {
730
+ return e.type === E.pound;
717
731
  }
718
732
  function Ht(e) {
719
- return e.type === v.select;
733
+ return e.type === E.tag;
720
734
  }
721
735
  function Tt(e) {
722
- return e.type === v.plural;
723
- }
724
- function Fr(e) {
725
- return e.type === v.pound;
726
- }
727
- function Pt(e) {
728
- return e.type === v.tag;
729
- }
730
- function Nt(e) {
731
736
  return !!(e && typeof e == "object" && e.type === V.number);
732
737
  }
733
- function Be(e) {
738
+ function we(e) {
734
739
  return !!(e && typeof e == "object" && e.type === V.dateTime);
735
740
  }
736
- var At = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Gr = /(?:[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;
737
- function Dr(e) {
741
+ var Pt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Dr = /(?:[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;
742
+ function Ur(e) {
738
743
  var t = {};
739
- return e.replace(Gr, function(r) {
744
+ return e.replace(Dr, function(r) {
740
745
  var n = r.length;
741
746
  switch (r[0]) {
742
747
  case "G":
@@ -825,36 +830,36 @@ function Dr(e) {
825
830
  return "";
826
831
  }), t;
827
832
  }
828
- var Ur = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
829
- function jr(e) {
833
+ var jr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
834
+ function kr(e) {
830
835
  if (e.length === 0)
831
836
  throw new Error("Number skeleton cannot be empty");
832
- for (var t = e.split(Ur).filter(function(f) {
833
- return f.length > 0;
837
+ for (var t = e.split(jr).filter(function(c) {
838
+ return c.length > 0;
834
839
  }), r = [], n = 0, i = t; n < i.length; n++) {
835
- var o = i[n], a = o.split("/");
836
- if (a.length === 0)
840
+ var o = i[n], s = o.split("/");
841
+ if (s.length === 0)
837
842
  throw new Error("Invalid number skeleton");
838
- for (var u = a[0], h = a.slice(1), s = 0, l = h; s < l.length; s++) {
839
- var c = l[s];
840
- if (c.length === 0)
843
+ for (var u = s[0], h = s.slice(1), a = 0, l = h; a < l.length; a++) {
844
+ var f = l[a];
845
+ if (f.length === 0)
841
846
  throw new Error("Invalid number skeleton");
842
847
  }
843
848
  r.push({ stem: u, options: h });
844
849
  }
845
850
  return r;
846
851
  }
847
- function kr(e) {
852
+ function Vr(e) {
848
853
  return e.replace(/^(.*?)-/, "");
849
854
  }
850
- var Ke = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, St = /^(@+)?(\+|#+)?[rs]?$/g, Vr = /(\*)(0+)|(#+)(0+)|(0+)/g, Bt = /^(0+)$/;
851
- function et(e) {
855
+ var Je = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, St = /^(@+)?(\+|#+)?[rs]?$/g, Xr = /(\*)(0+)|(#+)(0+)|(0+)/g, Nt = /^(0+)$/;
856
+ function Ye(e) {
852
857
  var t = {};
853
858
  return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(St, function(r, n, i) {
854
859
  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)), "";
855
860
  }), t;
856
861
  }
857
- function wt(e) {
862
+ function At(e) {
858
863
  switch (e) {
859
864
  case "sign-auto":
860
865
  return {
@@ -894,7 +899,7 @@ function wt(e) {
894
899
  };
895
900
  }
896
901
  }
897
- function Xr(e) {
902
+ function zr(e) {
898
903
  var t;
899
904
  if (e[0] === "E" && e[1] === "E" ? (t = {
900
905
  notation: "engineering"
@@ -902,17 +907,17 @@ function Xr(e) {
902
907
  notation: "scientific"
903
908
  }, e = e.slice(1)), t) {
904
909
  var r = e.slice(0, 2);
905
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Bt.test(e))
910
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Nt.test(e))
906
911
  throw new Error("Malformed concise eng/scientific notation");
907
912
  t.minimumIntegerDigits = e.length;
908
913
  }
909
914
  return t;
910
915
  }
911
- function tt(e) {
912
- var t = {}, r = wt(e);
916
+ function Ke(e) {
917
+ var t = {}, r = At(e);
913
918
  return r || t;
914
919
  }
915
- function zr(e) {
920
+ function Zr(e) {
916
921
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
917
922
  var i = n[r];
918
923
  switch (i.stem) {
@@ -936,7 +941,7 @@ function zr(e) {
936
941
  continue;
937
942
  case "measure-unit":
938
943
  case "unit":
939
- t.style = "unit", t.unit = kr(i.options[0]);
944
+ t.style = "unit", t.unit = Vr(i.options[0]);
940
945
  continue;
941
946
  case "compact-short":
942
947
  case "K":
@@ -947,13 +952,13 @@ function zr(e) {
947
952
  t.notation = "compact", t.compactDisplay = "long";
948
953
  continue;
949
954
  case "scientific":
950
- t = d(d(d({}, t), { notation: "scientific" }), i.options.reduce(function(h, s) {
951
- return d(d({}, h), tt(s));
955
+ t = d(d(d({}, t), { notation: "scientific" }), i.options.reduce(function(h, a) {
956
+ return d(d({}, h), Ke(a));
952
957
  }, {}));
953
958
  continue;
954
959
  case "engineering":
955
- t = d(d(d({}, t), { notation: "engineering" }), i.options.reduce(function(h, s) {
956
- return d(d({}, h), tt(s));
960
+ t = d(d(d({}, t), { notation: "engineering" }), i.options.reduce(function(h, a) {
961
+ return d(d({}, h), Ke(a));
957
962
  }, {}));
958
963
  continue;
959
964
  case "notation-simple":
@@ -998,11 +1003,11 @@ function zr(e) {
998
1003
  case "integer-width":
999
1004
  if (i.options.length > 1)
1000
1005
  throw new RangeError("integer-width stems only accept a single optional option");
1001
- i.options[0].replace(Vr, function(h, s, l, c, f, b) {
1002
- if (s)
1006
+ i.options[0].replace(Xr, function(h, a, l, f, c, b) {
1007
+ if (a)
1003
1008
  t.minimumIntegerDigits = l.length;
1004
1009
  else {
1005
- if (c && f)
1010
+ if (f && c)
1006
1011
  throw new Error("We currently do not support maximum integer digits");
1007
1012
  if (b)
1008
1013
  throw new Error("We currently do not support exact integer digits");
@@ -1011,32 +1016,32 @@ function zr(e) {
1011
1016
  });
1012
1017
  continue;
1013
1018
  }
1014
- if (Bt.test(i.stem)) {
1019
+ if (Nt.test(i.stem)) {
1015
1020
  t.minimumIntegerDigits = i.stem.length;
1016
1021
  continue;
1017
1022
  }
1018
- if (Ke.test(i.stem)) {
1023
+ if (Je.test(i.stem)) {
1019
1024
  if (i.options.length > 1)
1020
1025
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1021
- i.stem.replace(Ke, function(h, s, l, c, f, b) {
1022
- return l === "*" ? t.minimumFractionDigits = s.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && b ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + b.length) : (t.minimumFractionDigits = s.length, t.maximumFractionDigits = s.length), "";
1026
+ i.stem.replace(Je, function(h, a, l, f, c, b) {
1027
+ return l === "*" ? t.minimumFractionDigits = a.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && b ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + b.length) : (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length), "";
1023
1028
  });
1024
1029
  var o = i.options[0];
1025
- o === "w" ? t = d(d({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = d(d({}, t), et(o)));
1030
+ o === "w" ? t = d(d({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = d(d({}, t), Ye(o)));
1026
1031
  continue;
1027
1032
  }
1028
1033
  if (St.test(i.stem)) {
1029
- t = d(d({}, t), et(i.stem));
1034
+ t = d(d({}, t), Ye(i.stem));
1030
1035
  continue;
1031
1036
  }
1032
- var a = wt(i.stem);
1033
- a && (t = d(d({}, t), a));
1034
- var u = Xr(i.stem);
1037
+ var s = At(i.stem);
1038
+ s && (t = d(d({}, t), s));
1039
+ var u = zr(i.stem);
1035
1040
  u && (t = d(d({}, t), u));
1036
1041
  }
1037
1042
  return t;
1038
1043
  }
1039
- var ne = {
1044
+ var ie = {
1040
1045
  "001": [
1041
1046
  "H",
1042
1047
  "h"
@@ -2451,22 +2456,22 @@ var ne = {
2451
2456
  "h"
2452
2457
  ]
2453
2458
  };
2454
- function Zr(e, t) {
2459
+ function Wr(e, t) {
2455
2460
  for (var r = "", n = 0; n < e.length; n++) {
2456
2461
  var i = e.charAt(n);
2457
2462
  if (i === "j") {
2458
2463
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2459
2464
  o++, n++;
2460
- var a = 1 + (o & 1), u = o < 2 ? 1 : 3 + (o >> 1), h = "a", s = Wr(t);
2461
- for ((s == "H" || s == "k") && (u = 0); u-- > 0; )
2465
+ var s = 1 + (o & 1), u = o < 2 ? 1 : 3 + (o >> 1), h = "a", a = Qr(t);
2466
+ for ((a == "H" || a == "k") && (u = 0); u-- > 0; )
2462
2467
  r += h;
2463
- for (; a-- > 0; )
2464
- r = s + r;
2468
+ for (; s-- > 0; )
2469
+ r = a + r;
2465
2470
  } else i === "J" ? r += "H" : r += i;
2466
2471
  }
2467
2472
  return r;
2468
2473
  }
2469
- function Wr(e) {
2474
+ function Qr(e) {
2470
2475
  var t = e.hourCycle;
2471
2476
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2472
2477
  e.hourCycles && // @ts-ignore
@@ -2485,23 +2490,23 @@ function Wr(e) {
2485
2490
  }
2486
2491
  var r = e.language, n;
2487
2492
  r !== "root" && (n = e.maximize().region);
2488
- var i = ne[n || ""] || ne[r || ""] || ne["".concat(r, "-001")] || ne["001"];
2493
+ var i = ie[n || ""] || ie[r || ""] || ie["".concat(r, "-001")] || ie["001"];
2489
2494
  return i[0];
2490
2495
  }
2491
- var _e, Qr = new RegExp("^".concat(At.source, "*")), qr = new RegExp("".concat(At.source, "*$"));
2496
+ var He, qr = new RegExp("^".concat(Pt.source, "*")), Jr = new RegExp("".concat(Pt.source, "*$"));
2492
2497
  function g(e, t) {
2493
2498
  return { start: e, end: t };
2494
2499
  }
2495
- var Jr = !!String.prototype.startsWith && "_a".startsWith("a", 1), Yr = !!String.fromCodePoint, Kr = !!Object.fromEntries, en = !!String.prototype.codePointAt, tn = !!String.prototype.trimStart, rn = !!String.prototype.trimEnd, nn = !!Number.isSafeInteger, on = nn ? Number.isSafeInteger : function(e) {
2500
+ var Yr = !!String.prototype.startsWith && "_a".startsWith("a", 1), Kr = !!String.fromCodePoint, en = !!Object.fromEntries, tn = !!String.prototype.codePointAt, rn = !!String.prototype.trimStart, nn = !!String.prototype.trimEnd, on = !!Number.isSafeInteger, an = on ? Number.isSafeInteger : function(e) {
2496
2501
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2497
- }, we = !0;
2502
+ }, Oe = !0;
2498
2503
  try {
2499
- var an = It("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2500
- we = ((_e = an.exec("a")) === null || _e === void 0 ? void 0 : _e[0]) === "a";
2504
+ var sn = wt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2505
+ Oe = ((He = sn.exec("a")) === null || He === void 0 ? void 0 : He[0]) === "a";
2501
2506
  } catch (e) {
2502
- we = !1;
2507
+ Oe = !1;
2503
2508
  }
2504
- var rt = Jr ? (
2509
+ var et = Yr ? (
2505
2510
  // Native
2506
2511
  function(t, r, n) {
2507
2512
  return t.startsWith(r, n);
@@ -2511,31 +2516,31 @@ var rt = Jr ? (
2511
2516
  function(t, r, n) {
2512
2517
  return t.slice(n, n + r.length) === r;
2513
2518
  }
2514
- ), Oe = Yr ? String.fromCodePoint : (
2519
+ ), Ie = Kr ? String.fromCodePoint : (
2515
2520
  // IE11
2516
2521
  function() {
2517
2522
  for (var t = [], r = 0; r < arguments.length; r++)
2518
2523
  t[r] = arguments[r];
2519
- for (var n = "", i = t.length, o = 0, a; i > o; ) {
2520
- if (a = t[o++], a > 1114111)
2521
- throw RangeError(a + " is not a valid code point");
2522
- n += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
2524
+ for (var n = "", i = t.length, o = 0, s; i > o; ) {
2525
+ if (s = t[o++], s > 1114111)
2526
+ throw RangeError(s + " is not a valid code point");
2527
+ n += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
2523
2528
  }
2524
2529
  return n;
2525
2530
  }
2526
- ), nt = (
2531
+ ), tt = (
2527
2532
  // native
2528
- Kr ? Object.fromEntries : (
2533
+ en ? Object.fromEntries : (
2529
2534
  // Ponyfill
2530
2535
  function(t) {
2531
2536
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
2532
- var o = i[n], a = o[0], u = o[1];
2533
- r[a] = u;
2537
+ var o = i[n], s = o[0], u = o[1];
2538
+ r[s] = u;
2534
2539
  }
2535
2540
  return r;
2536
2541
  }
2537
2542
  )
2538
- ), Ot = en ? (
2543
+ ), Bt = tn ? (
2539
2544
  // Native
2540
2545
  function(t, r) {
2541
2546
  return t.codePointAt(r);
@@ -2549,7 +2554,7 @@ var rt = Jr ? (
2549
2554
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2550
2555
  }
2551
2556
  }
2552
- ), sn = tn ? (
2557
+ ), un = rn ? (
2553
2558
  // Native
2554
2559
  function(t) {
2555
2560
  return t.trimStart();
@@ -2557,9 +2562,9 @@ var rt = Jr ? (
2557
2562
  ) : (
2558
2563
  // Ponyfill
2559
2564
  function(t) {
2560
- return t.replace(Qr, "");
2565
+ return t.replace(qr, "");
2561
2566
  }
2562
- ), un = rn ? (
2567
+ ), hn = nn ? (
2563
2568
  // Native
2564
2569
  function(t) {
2565
2570
  return t.trimEnd();
@@ -2567,32 +2572,32 @@ var rt = Jr ? (
2567
2572
  ) : (
2568
2573
  // Ponyfill
2569
2574
  function(t) {
2570
- return t.replace(qr, "");
2575
+ return t.replace(Jr, "");
2571
2576
  }
2572
2577
  );
2573
- function It(e, t) {
2578
+ function wt(e, t) {
2574
2579
  return new RegExp(e, t);
2575
2580
  }
2576
- var Ie;
2577
- if (we) {
2578
- var it = It("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2579
- Ie = function(t, r) {
2581
+ var Me;
2582
+ if (Oe) {
2583
+ var rt = wt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2584
+ Me = function(t, r) {
2580
2585
  var n;
2581
- it.lastIndex = r;
2582
- var i = it.exec(t);
2586
+ rt.lastIndex = r;
2587
+ var i = rt.exec(t);
2583
2588
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2584
2589
  };
2585
2590
  } else
2586
- Ie = function(t, r) {
2591
+ Me = function(t, r) {
2587
2592
  for (var n = []; ; ) {
2588
- var i = Ot(t, r);
2589
- if (i === void 0 || Mt(i) || cn(i))
2593
+ var i = Bt(t, r);
2594
+ if (i === void 0 || Ot(i) || mn(i))
2590
2595
  break;
2591
2596
  n.push(i), r += i >= 65536 ? 2 : 1;
2592
2597
  }
2593
- return Oe.apply(void 0, n);
2598
+ return Ie.apply(void 0, n);
2594
2599
  };
2595
- var hn = (
2600
+ var ln = (
2596
2601
  /** @class */
2597
2602
  function() {
2598
2603
  function e(t, r) {
@@ -2606,33 +2611,33 @@ var hn = (
2606
2611
  for (var i = []; !this.isEOF(); ) {
2607
2612
  var o = this.char();
2608
2613
  if (o === 123) {
2609
- var a = this.parseArgument(t, n);
2610
- if (a.err)
2611
- return a;
2612
- i.push(a.val);
2614
+ var s = this.parseArgument(t, n);
2615
+ if (s.err)
2616
+ return s;
2617
+ i.push(s.val);
2613
2618
  } else {
2614
2619
  if (o === 125 && t > 0)
2615
2620
  break;
2616
2621
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
2617
2622
  var u = this.clonePosition();
2618
2623
  this.bump(), i.push({
2619
- type: v.pound,
2624
+ type: E.pound,
2620
2625
  location: g(u, this.clonePosition())
2621
2626
  });
2622
2627
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
2623
2628
  if (n)
2624
2629
  break;
2625
2630
  return this.error(p.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
2626
- } else if (o === 60 && !this.ignoreTag && Me(this.peek() || 0)) {
2627
- var a = this.parseTag(t, r);
2628
- if (a.err)
2629
- return a;
2630
- i.push(a.val);
2631
+ } else if (o === 60 && !this.ignoreTag && Le(this.peek() || 0)) {
2632
+ var s = this.parseTag(t, r);
2633
+ if (s.err)
2634
+ return s;
2635
+ i.push(s.val);
2631
2636
  } else {
2632
- var a = this.parseLiteral(t, r);
2633
- if (a.err)
2634
- return a;
2635
- i.push(a.val);
2637
+ var s = this.parseLiteral(t, r);
2638
+ if (s.err)
2639
+ return s;
2640
+ i.push(s.val);
2636
2641
  }
2637
2642
  }
2638
2643
  }
@@ -2644,7 +2649,7 @@ var hn = (
2644
2649
  if (this.bumpSpace(), this.bumpIf("/>"))
2645
2650
  return {
2646
2651
  val: {
2647
- type: v.literal,
2652
+ type: E.literal,
2648
2653
  value: "<".concat(i, "/>"),
2649
2654
  location: g(n, this.clonePosition())
2650
2655
  },
@@ -2654,16 +2659,16 @@ var hn = (
2654
2659
  var o = this.parseMessage(t + 1, r, !0);
2655
2660
  if (o.err)
2656
2661
  return o;
2657
- var a = o.val, u = this.clonePosition();
2662
+ var s = o.val, u = this.clonePosition();
2658
2663
  if (this.bumpIf("</")) {
2659
- if (this.isEOF() || !Me(this.char()))
2664
+ if (this.isEOF() || !Le(this.char()))
2660
2665
  return this.error(p.INVALID_TAG, g(u, this.clonePosition()));
2661
- var h = this.clonePosition(), s = this.parseTagName();
2662
- return i !== s ? this.error(p.UNMATCHED_CLOSING_TAG, g(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2666
+ var h = this.clonePosition(), a = this.parseTagName();
2667
+ return i !== a ? this.error(p.UNMATCHED_CLOSING_TAG, g(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2663
2668
  val: {
2664
- type: v.tag,
2669
+ type: E.tag,
2665
2670
  value: i,
2666
- children: a,
2671
+ children: s,
2667
2672
  location: g(n, this.clonePosition())
2668
2673
  },
2669
2674
  err: null
@@ -2674,7 +2679,7 @@ var hn = (
2674
2679
  return this.error(p.INVALID_TAG, g(n, this.clonePosition()));
2675
2680
  }, e.prototype.parseTagName = function() {
2676
2681
  var t = this.offset();
2677
- for (this.bump(); !this.isEOF() && fn(this.char()); )
2682
+ for (this.bump(); !this.isEOF() && cn(this.char()); )
2678
2683
  this.bump();
2679
2684
  return this.message.slice(t, this.offset());
2680
2685
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2684,9 +2689,9 @@ var hn = (
2684
2689
  i += o;
2685
2690
  continue;
2686
2691
  }
2687
- var a = this.tryParseUnquoted(t, r);
2688
- if (a) {
2689
- i += a;
2692
+ var s = this.tryParseUnquoted(t, r);
2693
+ if (s) {
2694
+ i += s;
2690
2695
  continue;
2691
2696
  }
2692
2697
  var u = this.tryParseLeftAngleBracket();
@@ -2698,12 +2703,12 @@ var hn = (
2698
2703
  }
2699
2704
  var h = g(n, this.clonePosition());
2700
2705
  return {
2701
- val: { type: v.literal, value: i, location: h },
2706
+ val: { type: E.literal, value: i, location: h },
2702
2707
  err: null
2703
2708
  };
2704
2709
  }, e.prototype.tryParseLeftAngleBracket = function() {
2705
2710
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2706
- !ln(this.peek() || 0)) ? (this.bump(), "<") : null;
2711
+ !fn(this.peek() || 0)) ? (this.bump(), "<") : null;
2707
2712
  }, e.prototype.tryParseQuote = function(t) {
2708
2713
  if (this.isEOF() || this.char() !== 39)
2709
2714
  return null;
@@ -2737,12 +2742,12 @@ var hn = (
2737
2742
  r.push(n);
2738
2743
  this.bump();
2739
2744
  }
2740
- return Oe.apply(void 0, r);
2745
+ return Ie.apply(void 0, r);
2741
2746
  }, e.prototype.tryParseUnquoted = function(t, r) {
2742
2747
  if (this.isEOF())
2743
2748
  return null;
2744
2749
  var n = this.char();
2745
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Oe(n));
2750
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ie(n));
2746
2751
  }, e.prototype.parseArgument = function(t, r) {
2747
2752
  var n = this.clonePosition();
2748
2753
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -2758,7 +2763,7 @@ var hn = (
2758
2763
  case 125:
2759
2764
  return this.bump(), {
2760
2765
  val: {
2761
- type: v.argument,
2766
+ type: E.argument,
2762
2767
  // value does not include the opening and closing braces.
2763
2768
  value: i,
2764
2769
  location: g(n, this.clonePosition())
@@ -2771,66 +2776,66 @@ var hn = (
2771
2776
  return this.error(p.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
2772
2777
  }
2773
2778
  }, e.prototype.parseIdentifierIfPossible = function() {
2774
- var t = this.clonePosition(), r = this.offset(), n = Ie(this.message, r), i = r + n.length;
2779
+ var t = this.clonePosition(), r = this.offset(), n = Me(this.message, r), i = r + n.length;
2775
2780
  this.bumpTo(i);
2776
- var o = this.clonePosition(), a = g(t, o);
2777
- return { value: n, location: a };
2781
+ var o = this.clonePosition(), s = g(t, o);
2782
+ return { value: n, location: s };
2778
2783
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
2779
- var o, a = this.clonePosition(), u = this.parseIdentifierIfPossible().value, h = this.clonePosition();
2784
+ var o, s = this.clonePosition(), u = this.parseIdentifierIfPossible().value, h = this.clonePosition();
2780
2785
  switch (u) {
2781
2786
  case "":
2782
- return this.error(p.EXPECT_ARGUMENT_TYPE, g(a, h));
2787
+ return this.error(p.EXPECT_ARGUMENT_TYPE, g(s, h));
2783
2788
  case "number":
2784
2789
  case "date":
2785
2790
  case "time": {
2786
2791
  this.bumpSpace();
2787
- var s = null;
2792
+ var a = null;
2788
2793
  if (this.bumpIf(",")) {
2789
2794
  this.bumpSpace();
2790
- var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2791
- if (c.err)
2792
- return c;
2793
- var f = un(c.val);
2794
- if (f.length === 0)
2795
+ var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
2796
+ if (f.err)
2797
+ return f;
2798
+ var c = hn(f.val);
2799
+ if (c.length === 0)
2795
2800
  return this.error(p.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
2796
2801
  var b = g(l, this.clonePosition());
2797
- s = { style: f, styleLocation: b };
2802
+ a = { style: c, styleLocation: b };
2798
2803
  }
2799
2804
  var y = this.tryParseArgumentClose(i);
2800
2805
  if (y.err)
2801
2806
  return y;
2802
- var _ = g(i, this.clonePosition());
2803
- if (s && rt(s == null ? void 0 : s.style, "::", 0)) {
2804
- var m = sn(s.style.slice(2));
2807
+ var m = g(i, this.clonePosition());
2808
+ if (a && et(a == null ? void 0 : a.style, "::", 0)) {
2809
+ var v = un(a.style.slice(2));
2805
2810
  if (u === "number") {
2806
- var c = this.parseNumberSkeletonFromString(m, s.styleLocation);
2807
- return c.err ? c : {
2808
- val: { type: v.number, value: n, location: _, style: c.val },
2811
+ var f = this.parseNumberSkeletonFromString(v, a.styleLocation);
2812
+ return f.err ? f : {
2813
+ val: { type: E.number, value: n, location: m, style: f.val },
2809
2814
  err: null
2810
2815
  };
2811
2816
  } else {
2812
- if (m.length === 0)
2813
- return this.error(p.EXPECT_DATE_TIME_SKELETON, _);
2814
- var E = m;
2815
- this.locale && (E = Zr(m, this.locale));
2816
- var f = {
2817
+ if (v.length === 0)
2818
+ return this.error(p.EXPECT_DATE_TIME_SKELETON, m);
2819
+ var T = v;
2820
+ this.locale && (T = Wr(v, this.locale));
2821
+ var c = {
2817
2822
  type: V.dateTime,
2818
- pattern: E,
2819
- location: s.styleLocation,
2820
- parsedOptions: this.shouldParseSkeletons ? Dr(E) : {}
2821
- }, T = u === "date" ? v.date : v.time;
2823
+ pattern: T,
2824
+ location: a.styleLocation,
2825
+ parsedOptions: this.shouldParseSkeletons ? Ur(T) : {}
2826
+ }, w = u === "date" ? E.date : E.time;
2822
2827
  return {
2823
- val: { type: T, value: n, location: _, style: f },
2828
+ val: { type: w, value: n, location: m, style: c },
2824
2829
  err: null
2825
2830
  };
2826
2831
  }
2827
2832
  }
2828
2833
  return {
2829
2834
  val: {
2830
- type: u === "number" ? v.number : u === "date" ? v.date : v.time,
2835
+ type: u === "number" ? E.number : u === "date" ? E.date : E.time,
2831
2836
  value: n,
2832
- location: _,
2833
- style: (o = s == null ? void 0 : s.style) !== null && o !== void 0 ? o : null
2837
+ location: m,
2838
+ style: (o = a == null ? void 0 : a.style) !== null && o !== void 0 ? o : null
2834
2839
  },
2835
2840
  err: null
2836
2841
  };
@@ -2838,49 +2843,49 @@ var hn = (
2838
2843
  case "plural":
2839
2844
  case "selectordinal":
2840
2845
  case "select": {
2841
- var N = this.clonePosition();
2846
+ var P = this.clonePosition();
2842
2847
  if (this.bumpSpace(), !this.bumpIf(","))
2843
- return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, g(N, d({}, N)));
2848
+ return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, g(P, d({}, P)));
2844
2849
  this.bumpSpace();
2845
- var B = this.parseIdentifierIfPossible(), A = 0;
2846
- if (u !== "select" && B.value === "offset") {
2850
+ var A = this.parseIdentifierIfPossible(), S = 0;
2851
+ if (u !== "select" && A.value === "offset") {
2847
2852
  if (!this.bumpIf(":"))
2848
2853
  return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
2849
2854
  this.bumpSpace();
2850
- var c = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2851
- if (c.err)
2852
- return c;
2853
- this.bumpSpace(), B = this.parseIdentifierIfPossible(), A = c.val;
2855
+ var f = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2856
+ if (f.err)
2857
+ return f;
2858
+ this.bumpSpace(), A = this.parseIdentifierIfPossible(), S = f.val;
2854
2859
  }
2855
- var O = this.tryParsePluralOrSelectOptions(t, u, r, B);
2860
+ var O = this.tryParsePluralOrSelectOptions(t, u, r, A);
2856
2861
  if (O.err)
2857
2862
  return O;
2858
2863
  var y = this.tryParseArgumentClose(i);
2859
2864
  if (y.err)
2860
2865
  return y;
2861
- var R = g(i, this.clonePosition());
2866
+ var F = g(i, this.clonePosition());
2862
2867
  return u === "select" ? {
2863
2868
  val: {
2864
- type: v.select,
2869
+ type: E.select,
2865
2870
  value: n,
2866
- options: nt(O.val),
2867
- location: R
2871
+ options: tt(O.val),
2872
+ location: F
2868
2873
  },
2869
2874
  err: null
2870
2875
  } : {
2871
2876
  val: {
2872
- type: v.plural,
2877
+ type: E.plural,
2873
2878
  value: n,
2874
- options: nt(O.val),
2875
- offset: A,
2879
+ options: tt(O.val),
2880
+ offset: S,
2876
2881
  pluralType: u === "plural" ? "cardinal" : "ordinal",
2877
- location: R
2882
+ location: F
2878
2883
  },
2879
2884
  err: null
2880
2885
  };
2881
2886
  }
2882
2887
  default:
2883
- return this.error(p.INVALID_ARGUMENT_TYPE, g(a, h));
2888
+ return this.error(p.INVALID_ARGUMENT_TYPE, g(s, h));
2884
2889
  }
2885
2890
  }, e.prototype.tryParseArgumentClose = function(t) {
2886
2891
  return this.isEOF() || this.char() !== 125 ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, g(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
@@ -2922,7 +2927,7 @@ var hn = (
2922
2927
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2923
2928
  var n = [];
2924
2929
  try {
2925
- n = jr(t);
2930
+ n = kr(t);
2926
2931
  } catch (i) {
2927
2932
  return this.error(p.INVALID_NUMBER_SKELETON, r);
2928
2933
  }
@@ -2931,55 +2936,55 @@ var hn = (
2931
2936
  type: V.number,
2932
2937
  tokens: n,
2933
2938
  location: r,
2934
- parsedOptions: this.shouldParseSkeletons ? zr(n) : {}
2939
+ parsedOptions: this.shouldParseSkeletons ? Zr(n) : {}
2935
2940
  },
2936
2941
  err: null
2937
2942
  };
2938
2943
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
2939
- for (var o, a = !1, u = [], h = /* @__PURE__ */ new Set(), s = i.value, l = i.location; ; ) {
2940
- if (s.length === 0) {
2941
- var c = this.clonePosition();
2944
+ for (var o, s = !1, u = [], h = /* @__PURE__ */ new Set(), a = i.value, l = i.location; ; ) {
2945
+ if (a.length === 0) {
2946
+ var f = this.clonePosition();
2942
2947
  if (r !== "select" && this.bumpIf("=")) {
2943
- var f = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_SELECTOR, p.INVALID_PLURAL_ARGUMENT_SELECTOR);
2944
- if (f.err)
2945
- return f;
2946
- l = g(c, this.clonePosition()), s = this.message.slice(c.offset, this.offset());
2948
+ var c = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_SELECTOR, p.INVALID_PLURAL_ARGUMENT_SELECTOR);
2949
+ if (c.err)
2950
+ return c;
2951
+ l = g(f, this.clonePosition()), a = this.message.slice(f.offset, this.offset());
2947
2952
  } else
2948
2953
  break;
2949
2954
  }
2950
- if (h.has(s))
2955
+ if (h.has(a))
2951
2956
  return this.error(r === "select" ? p.DUPLICATE_SELECT_ARGUMENT_SELECTOR : p.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
2952
- s === "other" && (a = !0), this.bumpSpace();
2957
+ a === "other" && (s = !0), this.bumpSpace();
2953
2958
  var b = this.clonePosition();
2954
2959
  if (!this.bumpIf("{"))
2955
2960
  return this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
2956
2961
  var y = this.parseMessage(t + 1, r, n);
2957
2962
  if (y.err)
2958
2963
  return y;
2959
- var _ = this.tryParseArgumentClose(b);
2960
- if (_.err)
2961
- return _;
2964
+ var m = this.tryParseArgumentClose(b);
2965
+ if (m.err)
2966
+ return m;
2962
2967
  u.push([
2963
- s,
2968
+ a,
2964
2969
  {
2965
2970
  value: y.val,
2966
2971
  location: g(b, this.clonePosition())
2967
2972
  }
2968
- ]), h.add(s), this.bumpSpace(), o = this.parseIdentifierIfPossible(), s = o.value, l = o.location;
2973
+ ]), h.add(a), this.bumpSpace(), o = this.parseIdentifierIfPossible(), a = o.value, l = o.location;
2969
2974
  }
2970
- return u.length === 0 ? this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR : p.EXPECT_PLURAL_ARGUMENT_SELECTOR, g(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(p.MISSING_OTHER_CLAUSE, g(this.clonePosition(), this.clonePosition())) : { val: u, err: null };
2975
+ return u.length === 0 ? this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR : p.EXPECT_PLURAL_ARGUMENT_SELECTOR, g(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(p.MISSING_OTHER_CLAUSE, g(this.clonePosition(), this.clonePosition())) : { val: u, err: null };
2971
2976
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
2972
2977
  var n = 1, i = this.clonePosition();
2973
2978
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
2974
- for (var o = !1, a = 0; !this.isEOF(); ) {
2979
+ for (var o = !1, s = 0; !this.isEOF(); ) {
2975
2980
  var u = this.char();
2976
2981
  if (u >= 48 && u <= 57)
2977
- o = !0, a = a * 10 + (u - 48), this.bump();
2982
+ o = !0, s = s * 10 + (u - 48), this.bump();
2978
2983
  else
2979
2984
  break;
2980
2985
  }
2981
2986
  var h = g(i, this.clonePosition());
2982
- return o ? (a *= n, on(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
2987
+ return o ? (s *= n, an(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
2983
2988
  }, e.prototype.offset = function() {
2984
2989
  return this.position.offset;
2985
2990
  }, e.prototype.isEOF = function() {
@@ -2994,7 +2999,7 @@ var hn = (
2994
2999
  var t = this.position.offset;
2995
3000
  if (t >= this.message.length)
2996
3001
  throw Error("out of bound");
2997
- var r = Ot(this.message, t);
3002
+ var r = Bt(this.message, t);
2998
3003
  if (r === void 0)
2999
3004
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3000
3005
  return r;
@@ -3013,7 +3018,7 @@ var hn = (
3013
3018
  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);
3014
3019
  }
3015
3020
  }, e.prototype.bumpIf = function(t) {
3016
- if (rt(this.message, t, this.offset())) {
3021
+ if (et(this.message, t, this.offset())) {
3017
3022
  for (var r = 0; r < t.length; r++)
3018
3023
  this.bump();
3019
3024
  return !0;
@@ -3035,7 +3040,7 @@ var hn = (
3035
3040
  break;
3036
3041
  }
3037
3042
  }, e.prototype.bumpSpace = function() {
3038
- for (; !this.isEOF() && Mt(this.char()); )
3043
+ for (; !this.isEOF() && Ot(this.char()); )
3039
3044
  this.bump();
3040
3045
  }, e.prototype.peek = function() {
3041
3046
  if (this.isEOF())
@@ -3045,46 +3050,46 @@ var hn = (
3045
3050
  }, e;
3046
3051
  }()
3047
3052
  );
3048
- function Me(e) {
3053
+ function Le(e) {
3049
3054
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3050
3055
  }
3051
- function ln(e) {
3052
- return Me(e) || e === 47;
3053
- }
3054
3056
  function fn(e) {
3057
+ return Le(e) || e === 47;
3058
+ }
3059
+ function cn(e) {
3055
3060
  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;
3056
3061
  }
3057
- function Mt(e) {
3062
+ function Ot(e) {
3058
3063
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3059
3064
  }
3060
- function cn(e) {
3065
+ function mn(e) {
3061
3066
  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;
3062
3067
  }
3063
- function Le(e) {
3068
+ function Ce(e) {
3064
3069
  e.forEach(function(t) {
3065
- if (delete t.location, Ht(t) || Tt(t))
3070
+ if (delete t.location, vt(t) || _t(t))
3066
3071
  for (var r in t.options)
3067
- delete t.options[r].location, Le(t.options[r].value);
3068
- else vt(t) && Nt(t.style) || (Et(t) || _t(t)) && Be(t.style) ? delete t.style.location : Pt(t) && Le(t.children);
3072
+ delete t.options[r].location, Ce(t.options[r].value);
3073
+ else xt(t) && Tt(t.style) || (yt(t) || Et(t)) && we(t.style) ? delete t.style.location : Ht(t) && Ce(t.children);
3069
3074
  });
3070
3075
  }
3071
- function mn(e, t) {
3076
+ function pn(e, t) {
3072
3077
  t === void 0 && (t = {}), t = d({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3073
- var r = new hn(e, t).parse();
3078
+ var r = new ln(e, t).parse();
3074
3079
  if (r.err) {
3075
3080
  var n = SyntaxError(p[r.err.kind]);
3076
3081
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3077
3082
  }
3078
- return t != null && t.captureLocation || Le(r.val), r.val;
3083
+ return t != null && t.captureLocation || Ce(r.val), r.val;
3079
3084
  }
3080
3085
  var X;
3081
3086
  (function(e) {
3082
3087
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3083
3088
  })(X || (X = {}));
3084
- var ce = (
3089
+ var me = (
3085
3090
  /** @class */
3086
3091
  function(e) {
3087
- fe(t, e);
3092
+ ce(t, e);
3088
3093
  function t(r, n, i) {
3089
3094
  var o = e.call(this, r) || this;
3090
3095
  return o.code = n, o.originalMessage = i, o;
@@ -3093,155 +3098,155 @@ var ce = (
3093
3098
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3094
3099
  }, t;
3095
3100
  }(Error)
3096
- ), ot = (
3101
+ ), nt = (
3097
3102
  /** @class */
3098
3103
  function(e) {
3099
- fe(t, e);
3104
+ ce(t, e);
3100
3105
  function t(r, n, i, o) {
3101
3106
  return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), X.INVALID_VALUE, o) || this;
3102
3107
  }
3103
3108
  return t;
3104
- }(ce)
3105
- ), pn = (
3109
+ }(me)
3110
+ ), gn = (
3106
3111
  /** @class */
3107
3112
  function(e) {
3108
- fe(t, e);
3113
+ ce(t, e);
3109
3114
  function t(r, n, i) {
3110
3115
  return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), X.INVALID_VALUE, i) || this;
3111
3116
  }
3112
3117
  return t;
3113
- }(ce)
3114
- ), gn = (
3118
+ }(me)
3119
+ ), dn = (
3115
3120
  /** @class */
3116
3121
  function(e) {
3117
- fe(t, e);
3122
+ ce(t, e);
3118
3123
  function t(r, n) {
3119
3124
  return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), X.MISSING_VALUE, n) || this;
3120
3125
  }
3121
3126
  return t;
3122
- }(ce)
3123
- ), P;
3127
+ }(me)
3128
+ ), H;
3124
3129
  (function(e) {
3125
3130
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3126
- })(P || (P = {}));
3127
- function dn(e) {
3131
+ })(H || (H = {}));
3132
+ function bn(e) {
3128
3133
  return e.length < 2 ? e : e.reduce(function(t, r) {
3129
3134
  var n = t[t.length - 1];
3130
- return !n || n.type !== P.literal || r.type !== P.literal ? t.push(r) : n.value += r.value, t;
3135
+ return !n || n.type !== H.literal || r.type !== H.literal ? t.push(r) : n.value += r.value, t;
3131
3136
  }, []);
3132
3137
  }
3133
- function bn(e) {
3138
+ function xn(e) {
3134
3139
  return typeof e == "function";
3135
3140
  }
3136
- function ae(e, t, r, n, i, o, a) {
3137
- if (e.length === 1 && Ye(e[0]))
3141
+ function se(e, t, r, n, i, o, s) {
3142
+ if (e.length === 1 && qe(e[0]))
3138
3143
  return [
3139
3144
  {
3140
- type: P.literal,
3145
+ type: H.literal,
3141
3146
  value: e[0].value
3142
3147
  }
3143
3148
  ];
3144
- for (var u = [], h = 0, s = e; h < s.length; h++) {
3145
- var l = s[h];
3146
- if (Ye(l)) {
3149
+ for (var u = [], h = 0, a = e; h < a.length; h++) {
3150
+ var l = a[h];
3151
+ if (qe(l)) {
3147
3152
  u.push({
3148
- type: P.literal,
3153
+ type: H.literal,
3149
3154
  value: l.value
3150
3155
  });
3151
3156
  continue;
3152
3157
  }
3153
- if (Fr(l)) {
3158
+ if (Gr(l)) {
3154
3159
  typeof o == "number" && u.push({
3155
- type: P.literal,
3160
+ type: H.literal,
3156
3161
  value: r.getNumberFormat(t).format(o)
3157
3162
  });
3158
3163
  continue;
3159
3164
  }
3160
- var c = l.value;
3161
- if (!(i && c in i))
3162
- throw new gn(c, a);
3163
- var f = i[c];
3164
- if (Rr(l)) {
3165
- (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), u.push({
3166
- type: typeof f == "string" ? P.literal : P.object,
3167
- value: f
3165
+ var f = l.value;
3166
+ if (!(i && f in i))
3167
+ throw new dn(f, s);
3168
+ var c = i[f];
3169
+ if (Fr(l)) {
3170
+ (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), u.push({
3171
+ type: typeof c == "string" ? H.literal : H.object,
3172
+ value: c
3168
3173
  });
3169
3174
  continue;
3170
3175
  }
3171
- if (Et(l)) {
3172
- var b = typeof l.style == "string" ? n.date[l.style] : Be(l.style) ? l.style.parsedOptions : void 0;
3176
+ if (yt(l)) {
3177
+ var b = typeof l.style == "string" ? n.date[l.style] : we(l.style) ? l.style.parsedOptions : void 0;
3173
3178
  u.push({
3174
- type: P.literal,
3175
- value: r.getDateTimeFormat(t, b).format(f)
3179
+ type: H.literal,
3180
+ value: r.getDateTimeFormat(t, b).format(c)
3176
3181
  });
3177
3182
  continue;
3178
3183
  }
3179
- if (_t(l)) {
3180
- var b = typeof l.style == "string" ? n.time[l.style] : Be(l.style) ? l.style.parsedOptions : n.time.medium;
3184
+ if (Et(l)) {
3185
+ var b = typeof l.style == "string" ? n.time[l.style] : we(l.style) ? l.style.parsedOptions : n.time.medium;
3181
3186
  u.push({
3182
- type: P.literal,
3183
- value: r.getDateTimeFormat(t, b).format(f)
3187
+ type: H.literal,
3188
+ value: r.getDateTimeFormat(t, b).format(c)
3184
3189
  });
3185
3190
  continue;
3186
3191
  }
3187
- if (vt(l)) {
3188
- var b = typeof l.style == "string" ? n.number[l.style] : Nt(l.style) ? l.style.parsedOptions : void 0;
3189
- b && b.scale && (f = f * (b.scale || 1)), u.push({
3190
- type: P.literal,
3191
- value: r.getNumberFormat(t, b).format(f)
3192
+ if (xt(l)) {
3193
+ var b = typeof l.style == "string" ? n.number[l.style] : Tt(l.style) ? l.style.parsedOptions : void 0;
3194
+ b && b.scale && (c = c * (b.scale || 1)), u.push({
3195
+ type: H.literal,
3196
+ value: r.getNumberFormat(t, b).format(c)
3192
3197
  });
3193
3198
  continue;
3194
3199
  }
3195
- if (Pt(l)) {
3196
- var y = l.children, _ = l.value, m = i[_];
3197
- if (!bn(m))
3198
- throw new pn(_, "function", a);
3199
- var E = ae(y, t, r, n, i, o), T = m(E.map(function(A) {
3200
- return A.value;
3200
+ if (Ht(l)) {
3201
+ var y = l.children, m = l.value, v = i[m];
3202
+ if (!xn(v))
3203
+ throw new gn(m, "function", s);
3204
+ var T = se(y, t, r, n, i, o), w = v(T.map(function(S) {
3205
+ return S.value;
3201
3206
  }));
3202
- Array.isArray(T) || (T = [T]), u.push.apply(u, T.map(function(A) {
3207
+ Array.isArray(w) || (w = [w]), u.push.apply(u, w.map(function(S) {
3203
3208
  return {
3204
- type: typeof A == "string" ? P.literal : P.object,
3205
- value: A
3209
+ type: typeof S == "string" ? H.literal : H.object,
3210
+ value: S
3206
3211
  };
3207
3212
  }));
3208
3213
  }
3209
- if (Ht(l)) {
3210
- var N = l.options[f] || l.options.other;
3211
- if (!N)
3212
- throw new ot(l.value, f, Object.keys(l.options), a);
3213
- u.push.apply(u, ae(N.value, t, r, n, i));
3214
+ if (vt(l)) {
3215
+ var P = l.options[c] || l.options.other;
3216
+ if (!P)
3217
+ throw new nt(l.value, c, Object.keys(l.options), s);
3218
+ u.push.apply(u, se(P.value, t, r, n, i));
3214
3219
  continue;
3215
3220
  }
3216
- if (Tt(l)) {
3217
- var N = l.options["=".concat(f)];
3218
- if (!N) {
3221
+ if (_t(l)) {
3222
+ var P = l.options["=".concat(c)];
3223
+ if (!P) {
3219
3224
  if (!Intl.PluralRules)
3220
- throw new ce(`Intl.PluralRules is not available in this environment.
3225
+ throw new me(`Intl.PluralRules is not available in this environment.
3221
3226
  Try polyfilling it using "@formatjs/intl-pluralrules"
3222
- `, X.MISSING_INTL_API, a);
3223
- var B = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
3224
- N = l.options[B] || l.options.other;
3227
+ `, X.MISSING_INTL_API, s);
3228
+ var A = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3229
+ P = l.options[A] || l.options.other;
3225
3230
  }
3226
- if (!N)
3227
- throw new ot(l.value, f, Object.keys(l.options), a);
3228
- u.push.apply(u, ae(N.value, t, r, n, i, f - (l.offset || 0)));
3231
+ if (!P)
3232
+ throw new nt(l.value, c, Object.keys(l.options), s);
3233
+ u.push.apply(u, se(P.value, t, r, n, i, c - (l.offset || 0)));
3229
3234
  continue;
3230
3235
  }
3231
3236
  }
3232
- return dn(u);
3237
+ return bn(u);
3233
3238
  }
3234
- function xn(e, t) {
3239
+ function yn(e, t) {
3235
3240
  return t ? d(d(d({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3236
3241
  return r[n] = d(d({}, e[n]), t[n] || {}), r;
3237
3242
  }, {})) : e;
3238
3243
  }
3239
- function yn(e, t) {
3244
+ function En(e, t) {
3240
3245
  return t ? Object.keys(e).reduce(function(r, n) {
3241
- return r[n] = xn(e[n], t[n]), r;
3246
+ return r[n] = yn(e[n], t[n]), r;
3242
3247
  }, d({}, e)) : e;
3243
3248
  }
3244
- function He(e) {
3249
+ function Te(e) {
3245
3250
  return {
3246
3251
  create: function() {
3247
3252
  return {
@@ -3264,30 +3269,30 @@ function vn(e) {
3264
3269
  getNumberFormat: ve(function() {
3265
3270
  for (var t, r = [], n = 0; n < arguments.length; n++)
3266
3271
  r[n] = arguments[n];
3267
- return new ((t = Intl.NumberFormat).bind.apply(t, ye([void 0], r, !1)))();
3272
+ return new ((t = Intl.NumberFormat).bind.apply(t, Ee([void 0], r, !1)))();
3268
3273
  }, {
3269
- cache: He(e.number),
3270
- strategy: Ee.variadic
3274
+ cache: Te(e.number),
3275
+ strategy: _e.variadic
3271
3276
  }),
3272
3277
  getDateTimeFormat: ve(function() {
3273
3278
  for (var t, r = [], n = 0; n < arguments.length; n++)
3274
3279
  r[n] = arguments[n];
3275
- return new ((t = Intl.DateTimeFormat).bind.apply(t, ye([void 0], r, !1)))();
3280
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Ee([void 0], r, !1)))();
3276
3281
  }, {
3277
- cache: He(e.dateTime),
3278
- strategy: Ee.variadic
3282
+ cache: Te(e.dateTime),
3283
+ strategy: _e.variadic
3279
3284
  }),
3280
3285
  getPluralRules: ve(function() {
3281
3286
  for (var t, r = [], n = 0; n < arguments.length; n++)
3282
3287
  r[n] = arguments[n];
3283
- return new ((t = Intl.PluralRules).bind.apply(t, ye([void 0], r, !1)))();
3288
+ return new ((t = Intl.PluralRules).bind.apply(t, Ee([void 0], r, !1)))();
3284
3289
  }, {
3285
- cache: He(e.pluralRules),
3286
- strategy: Ee.variadic
3290
+ cache: Te(e.pluralRules),
3291
+ strategy: _e.variadic
3287
3292
  })
3288
3293
  };
3289
3294
  }
3290
- var En = (
3295
+ var _n = (
3291
3296
  /** @class */
3292
3297
  function() {
3293
3298
  function e(t, r, n, i) {
@@ -3298,15 +3303,15 @@ var En = (
3298
3303
  dateTime: {},
3299
3304
  pluralRules: {}
3300
3305
  }, this.format = function(h) {
3301
- var s = o.formatToParts(h);
3302
- if (s.length === 1)
3303
- return s[0].value;
3304
- var l = s.reduce(function(c, f) {
3305
- return !c.length || f.type !== P.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3306
+ var a = o.formatToParts(h);
3307
+ if (a.length === 1)
3308
+ return a[0].value;
3309
+ var l = a.reduce(function(f, c) {
3310
+ return !f.length || c.type !== H.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3306
3311
  }, []);
3307
3312
  return l.length <= 1 ? l[0] || "" : l;
3308
3313
  }, this.formatToParts = function(h) {
3309
- return ae(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3314
+ return se(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3310
3315
  }, this.resolvedOptions = function() {
3311
3316
  var h;
3312
3317
  return {
@@ -3317,15 +3322,15 @@ var En = (
3317
3322
  }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
3318
3323
  if (this.message = t, !e.__parse)
3319
3324
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3320
- var a = i || {};
3321
- a.formatters;
3322
- var u = wr(a, ["formatters"]);
3325
+ var s = i || {};
3326
+ s.formatters;
3327
+ var u = wr(s, ["formatters"]);
3323
3328
  this.ast = e.__parse(t, d(d({}, u), { locale: this.resolvedLocale }));
3324
3329
  } else
3325
3330
  this.ast = t;
3326
3331
  if (!Array.isArray(this.ast))
3327
3332
  throw new TypeError("A message must be provided as a String or AST.");
3328
- this.formats = yn(e.formats, n), this.formatters = i && i.formatters || vn(this.formatterCache);
3333
+ this.formats = En(e.formats, n), this.formatters = i && i.formatters || vn(this.formatterCache);
3329
3334
  }
3330
3335
  return Object.defineProperty(e, "defaultLocale", {
3331
3336
  get: function() {
@@ -3338,7 +3343,7 @@ var En = (
3338
3343
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3339
3344
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3340
3345
  }
3341
- }, e.__parse = mn, e.formats = {
3346
+ }, e.__parse = pn, e.formats = {
3342
3347
  number: {
3343
3348
  integer: {
3344
3349
  maximumFractionDigits: 0
@@ -3399,7 +3404,7 @@ var En = (
3399
3404
  }, e;
3400
3405
  }()
3401
3406
  );
3402
- function _n(e, t) {
3407
+ function Hn(e, t) {
3403
3408
  if (t == null)
3404
3409
  return;
3405
3410
  if (t in e)
@@ -3420,92 +3425,92 @@ function _n(e, t) {
3420
3425
  n = void 0;
3421
3426
  return n;
3422
3427
  }
3423
- const M = {}, Hn = (e, t, r) => r && (t in M || (M[t] = {}), e in M[t] || (M[t][e] = r), r), Lt = (e, t) => {
3428
+ const M = {}, Tn = (e, t, r) => r && (t in M || (M[t] = {}), e in M[t] || (M[t][e] = r), r), It = (e, t) => {
3424
3429
  if (t == null)
3425
3430
  return;
3426
3431
  if (t in M && e in M[t])
3427
3432
  return M[t][e];
3428
- const r = me(t);
3433
+ const r = pe(t);
3429
3434
  for (let n = 0; n < r.length; n++) {
3430
- const i = r[n], o = Pn(i, e);
3435
+ const i = r[n], o = Sn(i, e);
3431
3436
  if (o)
3432
- return Hn(e, t, o);
3437
+ return Tn(e, t, o);
3433
3438
  }
3434
3439
  };
3435
- let je;
3436
- const re = le({});
3437
- function Tn(e) {
3438
- return je[e] || null;
3440
+ let De;
3441
+ const ne = fe({});
3442
+ function Pn(e) {
3443
+ return De[e] || null;
3439
3444
  }
3440
- function Ct(e) {
3441
- return e in je;
3445
+ function Mt(e) {
3446
+ return e in De;
3442
3447
  }
3443
- function Pn(e, t) {
3444
- if (!Ct(e))
3448
+ function Sn(e, t) {
3449
+ if (!Mt(e))
3445
3450
  return null;
3446
- const r = Tn(e);
3447
- return _n(r, t);
3451
+ const r = Pn(e);
3452
+ return Hn(r, t);
3448
3453
  }
3449
3454
  function Nn(e) {
3450
3455
  if (e == null)
3451
3456
  return;
3452
- const t = me(e);
3457
+ const t = pe(e);
3453
3458
  for (let r = 0; r < t.length; r++) {
3454
3459
  const n = t[r];
3455
- if (Ct(n))
3460
+ if (Mt(n))
3456
3461
  return n;
3457
3462
  }
3458
3463
  }
3459
- function $t(e, ...t) {
3460
- delete M[e], re.update((r) => (r[e] = Br.all([r[e] || {}, ...t]), r));
3464
+ function Lt(e, ...t) {
3465
+ delete M[e], ne.update((r) => (r[e] = Br.all([r[e] || {}, ...t]), r));
3461
3466
  }
3462
3467
  Z(
3463
- [re],
3468
+ [ne],
3464
3469
  ([e]) => Object.keys(e)
3465
3470
  );
3466
- re.subscribe((e) => je = e);
3467
- const se = {};
3471
+ ne.subscribe((e) => De = e);
3472
+ const ue = {};
3468
3473
  function An(e, t) {
3469
- se[e].delete(t), se[e].size === 0 && delete se[e];
3474
+ ue[e].delete(t), ue[e].size === 0 && delete ue[e];
3470
3475
  }
3471
- function Rt(e) {
3472
- return se[e];
3476
+ function Ct(e) {
3477
+ return ue[e];
3473
3478
  }
3474
- function Sn(e) {
3475
- return me(e).map((t) => {
3476
- const r = Rt(t);
3479
+ function Bn(e) {
3480
+ return pe(e).map((t) => {
3481
+ const r = Ct(t);
3477
3482
  return [t, r ? [...r] : []];
3478
3483
  }).filter(([, t]) => t.length > 0);
3479
3484
  }
3480
- function Ce(e) {
3481
- return e == null ? !1 : me(e).some(
3485
+ function $e(e) {
3486
+ return e == null ? !1 : pe(e).some(
3482
3487
  (t) => {
3483
3488
  var r;
3484
- return (r = Rt(t)) == null ? void 0 : r.size;
3489
+ return (r = Ct(t)) == null ? void 0 : r.size;
3485
3490
  }
3486
3491
  );
3487
3492
  }
3488
- function Bn(e, t) {
3493
+ function wn(e, t) {
3489
3494
  return Promise.all(
3490
3495
  t.map((n) => (An(e, n), n().then((i) => i.default || i)))
3491
- ).then((n) => $t(e, ...n));
3496
+ ).then((n) => Lt(e, ...n));
3492
3497
  }
3493
3498
  const J = {};
3494
- function Ft(e) {
3495
- if (!Ce(e))
3499
+ function $t(e) {
3500
+ if (!$e(e))
3496
3501
  return e in J ? J[e] : Promise.resolve();
3497
- const t = Sn(e);
3502
+ const t = Bn(e);
3498
3503
  return J[e] = Promise.all(
3499
3504
  t.map(
3500
- ([r, n]) => Bn(r, n)
3505
+ ([r, n]) => wn(r, n)
3501
3506
  )
3502
3507
  ).then(() => {
3503
- if (Ce(e))
3504
- return Ft(e);
3508
+ if ($e(e))
3509
+ return $t(e);
3505
3510
  delete J[e];
3506
3511
  }), J[e];
3507
3512
  }
3508
- const wn = {
3513
+ const On = {
3509
3514
  number: {
3510
3515
  scientific: { notation: "scientific" },
3511
3516
  engineering: { notation: "engineering" },
@@ -3534,178 +3539,178 @@ const wn = {
3534
3539
  timeZoneName: "short"
3535
3540
  }
3536
3541
  }
3537
- }, On = {
3542
+ }, In = {
3538
3543
  fallbackLocale: null,
3539
3544
  loadingDelay: 200,
3540
- formats: wn,
3545
+ formats: On,
3541
3546
  warnOnMissingMessages: !0,
3542
3547
  handleMissingMessage: void 0,
3543
3548
  ignoreTag: !0
3544
- }, In = On;
3549
+ }, Mn = In;
3545
3550
  function z() {
3546
- return In;
3551
+ return Mn;
3547
3552
  }
3548
- const Te = le(!1);
3549
- var Mn = Object.defineProperty, Ln = Object.defineProperties, Cn = Object.getOwnPropertyDescriptors, at = Object.getOwnPropertySymbols, $n = Object.prototype.hasOwnProperty, Rn = Object.prototype.propertyIsEnumerable, st = (e, t, r) => t in e ? Mn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Fn = (e, t) => {
3553
+ const Pe = fe(!1);
3554
+ var Ln = Object.defineProperty, Cn = Object.defineProperties, $n = Object.getOwnPropertyDescriptors, it = Object.getOwnPropertySymbols, Rn = Object.prototype.hasOwnProperty, Fn = Object.prototype.propertyIsEnumerable, ot = (e, t, r) => t in e ? Ln(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Gn = (e, t) => {
3550
3555
  for (var r in t || (t = {}))
3551
- $n.call(t, r) && st(e, r, t[r]);
3552
- if (at)
3553
- for (var r of at(t))
3554
- Rn.call(t, r) && st(e, r, t[r]);
3556
+ Rn.call(t, r) && ot(e, r, t[r]);
3557
+ if (it)
3558
+ for (var r of it(t))
3559
+ Fn.call(t, r) && ot(e, r, t[r]);
3555
3560
  return e;
3556
- }, Gn = (e, t) => Ln(e, Cn(t));
3557
- let $e;
3558
- const ue = le(null);
3559
- function ut(e) {
3561
+ }, Dn = (e, t) => Cn(e, $n(t));
3562
+ let Re;
3563
+ const he = fe(null);
3564
+ function at(e) {
3560
3565
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3561
3566
  }
3562
- function me(e, t = z().fallbackLocale) {
3563
- const r = ut(e);
3564
- return t ? [.../* @__PURE__ */ new Set([...r, ...ut(t)])] : r;
3567
+ function pe(e, t = z().fallbackLocale) {
3568
+ const r = at(e);
3569
+ return t ? [.../* @__PURE__ */ new Set([...r, ...at(t)])] : r;
3565
3570
  }
3566
- function $() {
3567
- return $e != null ? $e : void 0;
3571
+ function R() {
3572
+ return Re != null ? Re : void 0;
3568
3573
  }
3569
- ue.subscribe((e) => {
3570
- $e = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3574
+ he.subscribe((e) => {
3575
+ Re = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3571
3576
  });
3572
- const Dn = (e) => {
3573
- if (e && Nn(e) && Ce(e)) {
3577
+ const Un = (e) => {
3578
+ if (e && Nn(e) && $e(e)) {
3574
3579
  const { loadingDelay: t } = z();
3575
3580
  let r;
3576
- return typeof window != "undefined" && $() != null && t ? r = window.setTimeout(
3577
- () => Te.set(!0),
3581
+ return typeof window != "undefined" && R() != null && t ? r = window.setTimeout(
3582
+ () => Pe.set(!0),
3578
3583
  t
3579
- ) : Te.set(!0), Ft(e).then(() => {
3580
- ue.set(e);
3584
+ ) : Pe.set(!0), $t(e).then(() => {
3585
+ he.set(e);
3581
3586
  }).finally(() => {
3582
- clearTimeout(r), Te.set(!1);
3587
+ clearTimeout(r), Pe.set(!1);
3583
3588
  });
3584
3589
  }
3585
- return ue.set(e);
3586
- }, W = Gn(Fn({}, ue), {
3587
- set: Dn
3588
- }), pe = (e) => {
3590
+ return he.set(e);
3591
+ }, W = Dn(Gn({}, he), {
3592
+ set: Un
3593
+ }), ge = (e) => {
3589
3594
  const t = /* @__PURE__ */ Object.create(null);
3590
3595
  return (n) => {
3591
3596
  const i = JSON.stringify(n);
3592
3597
  return i in t ? t[i] : t[i] = e(n);
3593
3598
  };
3594
3599
  };
3595
- var Un = Object.defineProperty, he = Object.getOwnPropertySymbols, Gt = Object.prototype.hasOwnProperty, Dt = Object.prototype.propertyIsEnumerable, ht = (e, t, r) => t in e ? Un(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ke = (e, t) => {
3600
+ var jn = Object.defineProperty, le = Object.getOwnPropertySymbols, Rt = Object.prototype.hasOwnProperty, Ft = Object.prototype.propertyIsEnumerable, st = (e, t, r) => t in e ? jn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ue = (e, t) => {
3596
3601
  for (var r in t || (t = {}))
3597
- Gt.call(t, r) && ht(e, r, t[r]);
3598
- if (he)
3599
- for (var r of he(t))
3600
- Dt.call(t, r) && ht(e, r, t[r]);
3602
+ Rt.call(t, r) && st(e, r, t[r]);
3603
+ if (le)
3604
+ for (var r of le(t))
3605
+ Ft.call(t, r) && st(e, r, t[r]);
3601
3606
  return e;
3602
3607
  }, Q = (e, t) => {
3603
3608
  var r = {};
3604
3609
  for (var n in e)
3605
- Gt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3606
- if (e != null && he)
3607
- for (var n of he(e))
3608
- t.indexOf(n) < 0 && Dt.call(e, n) && (r[n] = e[n]);
3610
+ Rt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3611
+ if (e != null && le)
3612
+ for (var n of le(e))
3613
+ t.indexOf(n) < 0 && Ft.call(e, n) && (r[n] = e[n]);
3609
3614
  return r;
3610
3615
  };
3611
- const ee = (e, t) => {
3616
+ const te = (e, t) => {
3612
3617
  const { formats: r } = z();
3613
3618
  if (e in r && t in r[e])
3614
3619
  return r[e][t];
3615
3620
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3616
- }, jn = pe(
3621
+ }, kn = ge(
3617
3622
  (e) => {
3618
3623
  var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
3619
3624
  if (r == null)
3620
3625
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3621
- return n && (i = ee("number", n)), new Intl.NumberFormat(r, i);
3626
+ return n && (i = te("number", n)), new Intl.NumberFormat(r, i);
3622
3627
  }
3623
- ), kn = pe(
3628
+ ), Vn = ge(
3624
3629
  (e) => {
3625
3630
  var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
3626
3631
  if (r == null)
3627
3632
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3628
- return n ? i = ee("date", n) : Object.keys(i).length === 0 && (i = ee("date", "short")), new Intl.DateTimeFormat(r, i);
3633
+ return n ? i = te("date", n) : Object.keys(i).length === 0 && (i = te("date", "short")), new Intl.DateTimeFormat(r, i);
3629
3634
  }
3630
- ), Vn = pe(
3635
+ ), Xn = ge(
3631
3636
  (e) => {
3632
3637
  var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
3633
3638
  if (r == null)
3634
3639
  throw new Error(
3635
3640
  '[svelte-i18n] A "locale" must be set to format time values'
3636
3641
  );
3637
- return n ? i = ee("time", n) : Object.keys(i).length === 0 && (i = ee("time", "short")), new Intl.DateTimeFormat(r, i);
3642
+ return n ? i = te("time", n) : Object.keys(i).length === 0 && (i = te("time", "short")), new Intl.DateTimeFormat(r, i);
3638
3643
  }
3639
- ), Xn = (e = {}) => {
3644
+ ), zn = (e = {}) => {
3640
3645
  var t = e, {
3641
- locale: r = $()
3646
+ locale: r = R()
3642
3647
  } = t, n = Q(t, [
3643
3648
  "locale"
3644
3649
  ]);
3645
- return jn(ke({ locale: r }, n));
3646
- }, zn = (e = {}) => {
3650
+ return kn(Ue({ locale: r }, n));
3651
+ }, Zn = (e = {}) => {
3647
3652
  var t = e, {
3648
- locale: r = $()
3653
+ locale: r = R()
3649
3654
  } = t, n = Q(t, [
3650
3655
  "locale"
3651
3656
  ]);
3652
- return kn(ke({ locale: r }, n));
3653
- }, Zn = (e = {}) => {
3657
+ return Vn(Ue({ locale: r }, n));
3658
+ }, Wn = (e = {}) => {
3654
3659
  var t = e, {
3655
- locale: r = $()
3660
+ locale: r = R()
3656
3661
  } = t, n = Q(t, [
3657
3662
  "locale"
3658
3663
  ]);
3659
- return Vn(ke({ locale: r }, n));
3660
- }, Wn = pe(
3664
+ return Xn(Ue({ locale: r }, n));
3665
+ }, Qn = ge(
3661
3666
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3662
- (e, t = $()) => new En(e, t, z().formats, {
3667
+ (e, t = R()) => new _n(e, t, z().formats, {
3663
3668
  ignoreTag: z().ignoreTag
3664
3669
  })
3665
- ), Qn = (e, t = {}) => {
3670
+ ), qn = (e, t = {}) => {
3666
3671
  var r, n, i, o;
3667
- let a = t;
3668
- typeof e == "object" && (a = e, e = a.id);
3672
+ let s = t;
3673
+ typeof e == "object" && (s = e, e = s.id);
3669
3674
  const {
3670
3675
  values: u,
3671
- locale: h = $(),
3672
- default: s
3673
- } = a;
3676
+ locale: h = R(),
3677
+ default: a
3678
+ } = s;
3674
3679
  if (h == null)
3675
3680
  throw new Error(
3676
3681
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3677
3682
  );
3678
- let l = Lt(e, h);
3683
+ let l = It(e, h);
3679
3684
  if (!l)
3680
- l = (o = (i = (n = (r = z()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: s })) != null ? i : s) != null ? o : e;
3685
+ l = (o = (i = (n = (r = z()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: a })) != null ? i : a) != null ? o : e;
3681
3686
  else if (typeof l != "string")
3682
3687
  return console.warn(
3683
3688
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
3684
3689
  ), l;
3685
3690
  if (!u)
3686
3691
  return l;
3687
- let c = l;
3692
+ let f = l;
3688
3693
  try {
3689
- c = Wn(l, h).format(u);
3690
- } catch (f) {
3691
- f instanceof Error && console.warn(
3694
+ f = Qn(l, h).format(u);
3695
+ } catch (c) {
3696
+ c instanceof Error && console.warn(
3692
3697
  `[svelte-i18n] Message "${e}" has syntax error:`,
3693
- f.message
3698
+ c.message
3694
3699
  );
3695
3700
  }
3696
- return c;
3697
- }, qn = (e, t) => Zn(t).format(e), Jn = (e, t) => zn(t).format(e), Yn = (e, t) => Xn(t).format(e), Kn = (e, t = $()) => Lt(e, t), ei = Z([W, re], () => Qn);
3698
- Z([W], () => qn);
3701
+ return f;
3702
+ }, Jn = (e, t) => Wn(t).format(e), Yn = (e, t) => Zn(t).format(e), Kn = (e, t) => zn(t).format(e), ei = (e, t = R()) => It(e, t), ti = Z([W, ne], () => qn);
3699
3703
  Z([W], () => Jn);
3700
3704
  Z([W], () => Yn);
3701
- Z([W, re], () => Kn);
3702
- function lt(e, t) {
3703
- $t(e, t);
3705
+ Z([W], () => Kn);
3706
+ Z([W, ne], () => ei);
3707
+ function ut(e, t) {
3708
+ Lt(e, t);
3704
3709
  }
3705
- function ti(e) {
3710
+ function ri(e) {
3706
3711
  W.set(e);
3707
3712
  }
3708
- const ft = {
3713
+ const ht = {
3709
3714
  en: {
3710
3715
  pageNotFound: "Page not found",
3711
3716
  pageNotFoundMessage: "The page you were looking for could not be found. Please go back to our Homepage.",
@@ -3797,150 +3802,172 @@ const ft = {
3797
3802
  home: "Go to homepage"
3798
3803
  }
3799
3804
  };
3800
- function ri(e) {
3801
- Wt(e, "svelte-3g8nw6", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:"Helvetica Neue", "Helvetica", sans-serif}.PageWrapper{color:var(--emw--misc-typography, var(--emw--color-white, #FFFFFF));background:var(--emw--misc-color-bg, var(--emw--color-background, #07072A));padding:50px 0;width:100%;text-align:center}.NotFoundPage{display:flex;flex-direction:column;margin:auto;gap:40px;align-items:center;max-width:800px;padding:50px}.NotFoundPage svg{fill:var(--emw--misc-color-primary, var(--emw--color-primary, #D0046C))}.PageTitle{color:var(--emw--misc-color-primary, var(--emw--color-primary, #D0046C));font-weight:500;font-size:28px}.PageContent{color:#D1D1D1;font-size:18px;line-height:24px}.ErrorPageTitle{color:var(--emw--color-error, var(--emw--color-red, #ed0909));font-weight:500;font-size:28px}.ErrorPageContent{color:var(--emw--color-error, var(--emw--color-red, #ed0909));font-size:18px;line-height:24px}.ButtonDefaultSmall{background:var(--emw--misc-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--misc-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));border-radius:5px;width:30%;height:60px;display:flex;align-items:center;justify-content:center;font-size:16px;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box;cursor:pointer}@media only screen and (max-width: 475px){.PageWrapper{color:var(--emw--misc-typography, var(--emw--color-white, #FFFFFF));background:var(--emw--misc-color-bg, var(--emw--color-background, #07072A));padding:20px 0;width:100%;text-align:center}.NotFoundPage{text-align:center;width:100%}.PageTitle{font-size:22px}.ButtonDefaultSmall{width:80%;height:50px;font-size:14px;grid-template-columns:1fr}.ErrorPageContent{font-size:16px;line-height:18px}.ErrorPageTitle{font-size:18px}.PageContent{font-size:16px;line-height:18px}}');
3805
+ function ni(e, t) {
3806
+ if (e) {
3807
+ const r = document.createElement("style");
3808
+ r.innerHTML = t, e.appendChild(r);
3809
+ }
3802
3810
  }
3803
- function ni(e) {
3804
- let t, r, n, i, o, a, u, h, s, l, c, f, b = (
3811
+ function ii(e, t) {
3812
+ const r = new URL(t);
3813
+ fetch(r.href).then((n) => n.text()).then((n) => {
3814
+ const i = document.createElement("style");
3815
+ i.innerHTML = n, e && e.appendChild(i);
3816
+ }).catch((n) => {
3817
+ console.error("There was an error while trying to load client styling from URL", n);
3818
+ });
3819
+ }
3820
+ function oi(e, t, r) {
3821
+ if (window.emMessageBus) {
3822
+ const n = document.createElement("style");
3823
+ window.emMessageBus.subscribe(t, (i) => {
3824
+ n.innerHTML = i, e && e.appendChild(n);
3825
+ });
3826
+ }
3827
+ }
3828
+ function ai(e) {
3829
+ zt(e, "svelte-fokx9n", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.PageWrapper{color:var(--emw--misc-typography, var(--emw--color-white, #FFFFFF));background:var(--emw--misc-color-bg, var(--emw--color-background, #07072A));padding:50px 0;width:100%;text-align:center}.NotFoundPage{display:flex;flex-direction:column;margin:auto;gap:40px;align-items:center;max-width:800px;padding:50px}.NotFoundPage svg{fill:var(--emw--misc-color-primary, var(--emw--color-primary, #D0046C))}.PageTitle{color:var(--emw--misc-color-primary, var(--emw--color-primary, #D0046C));font-weight:500;font-size:28px}.PageContent{color:#D1D1D1;font-size:18px;line-height:24px}.ErrorPageTitle{color:var(--emw--color-error, var(--emw--color-red, #ed0909));font-weight:500;font-size:28px}.ErrorPageContent{color:var(--emw--color-error, var(--emw--color-red, #ed0909));font-size:18px;line-height:24px}.ButtonDefaultSmall{background:var(--emw--misc-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--misc-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));border-radius:5px;width:30%;height:60px;display:flex;align-items:center;justify-content:center;font-size:16px;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box;cursor:pointer}@media only screen and (max-width: 475px){.PageWrapper{color:var(--emw--misc-typography, var(--emw--color-white, #FFFFFF));background:var(--emw--misc-color-bg, var(--emw--color-background, #07072A));padding:20px 0;width:100%;text-align:center}.NotFoundPage{text-align:center;width:100%}.PageTitle{font-size:22px}.ButtonDefaultSmall{width:80%;height:50px;font-size:14px;grid-template-columns:1fr}.ErrorPageContent{font-size:16px;line-height:18px}.ErrorPageTitle{font-size:18px}.PageContent{font-size:16px;line-height:18px}}");
3830
+ }
3831
+ function si(e) {
3832
+ let t, r, n, i, o, s, u, h, a, l, f, c, b = (
3805
3833
  /*$_*/
3806
3834
  e[1]("pageNotFound") + ""
3807
- ), y, _, m, E = (
3835
+ ), y, m, v, T = (
3808
3836
  /*$_*/
3809
3837
  e[1]("pageNotFoundMessage") + ""
3810
- ), T, N, B, A = (
3838
+ ), w, P, A, S = (
3811
3839
  /*$_*/
3812
3840
  e[1]("home") + ""
3813
- ), O, R, Ve;
3841
+ ), O, F, je;
3814
3842
  return {
3815
3843
  c() {
3816
- t = C("div"), r = C("div"), n = I("svg"), i = I("g"), o = I("path"), a = I("path"), u = I("path"), h = I("path"), s = I("path"), l = I("path"), c = de(), f = C("p"), y = ie(b), _ = de(), m = C("p"), T = ie(E), N = de(), B = C("button"), O = ie(A), x(o, "class", "a"), x(o, "d", "M753.094,548.381h11.379v4.138a3.1,3.1,0,1,0,6.207,0v-4.138a3.1,3.1,0,0,0,0-6.207v-27.93a3,3,0,0,0-2.379-3,3.262,3.262,0,0,0-3.517,1.552l-14.483,26.9a3.305,3.305,0,0,0-.31,1.448v4.138a3.048,3.048,0,0,0,3.1,3.1Zm3.1-6.414,8.276-15.414v15.62H756.2Z"), x(o, "transform", "translate(-658.898 -446.452)"), x(a, "class", "a"), x(a, "d", "M508.259,555.422a11.346,11.346,0,0,0,11.379-11.379V522.319a11.379,11.379,0,1,0-22.757,0v21.725A11.346,11.346,0,0,0,508.259,555.422Zm-5.172-33.1a5.172,5.172,0,1,1,10.345,0v21.725a5.172,5.172,0,0,1-10.345,0Z"), x(a, "transform", "translate(-433.716 -446.252)"), x(u, "class", "a"), x(u, "d", "M237.474,548.381h11.379v4.138a3.1,3.1,0,1,0,6.207,0v-4.138a3.1,3.1,0,1,0,0-6.207v-27.93a3,3,0,0,0-2.379-3,3.2,3.2,0,0,0-3.517,1.552l-14.483,26.9a3.3,3.3,0,0,0-.31,1.448v4.138a3.048,3.048,0,0,0,3.1,3.1Zm3.1-6.414,8.276-15.414v15.62h-8.276Z"), x(u, "transform", "translate(-200.173 -446.452)"), x(h, "class", "a"), x(h, "d", "M22.819,139.685H126.266a13.422,13.422,0,0,0,13.449-13.449V22.789A13.422,13.422,0,0,0,126.266,9.34H22.819A13.422,13.422,0,0,0,9.37,22.789V126.236A13.422,13.422,0,0,0,22.819,139.685Zm-7.241-116.9a7.2,7.2,0,0,1,7.241-7.241H126.266a7.2,7.2,0,0,1,7.241,7.241V38.3H15.572Zm0,21.725H133.513v81.723a7.2,7.2,0,0,1-7.241,7.241H22.824a7.2,7.2,0,0,1-7.241-7.241Z"), x(s, "class", "a"), x(s, "d", "M147.866,140.62h-4.138a3.1,3.1,0,0,0,0,6.207h4.138a3.1,3.1,0,0,0,0-6.207Z"), x(s, "transform", "translate(-116.772 -116.794)"), x(l, "class", "a"), x(l, "d", "M297.866,140.62h-4.138a3.1,3.1,0,1,0,0,6.207h4.138a3.1,3.1,0,0,0,0-6.207Z"), x(l, "transform", "translate(-250.22 -116.794)"), x(i, "transform", "translate(-9.37 -9.34)"), x(n, "class", "svgColor"), x(n, "xmlns", "http://www.w3.org/2000/svg"), x(n, "width", "130.345"), x(n, "height", "130.345"), x(n, "viewBox", "0 0 130.345 130.345"), x(f, "class", "PageTitle"), x(m, "class", "PageContent"), x(B, "class", "ButtonDefaultSmall"), x(r, "class", "NotFoundPage"), x(t, "class", "PageWrapper");
3844
+ t = C("div"), r = C("div"), n = I("svg"), i = I("g"), o = I("path"), s = I("path"), u = I("path"), h = I("path"), a = I("path"), l = I("path"), f = be(), c = C("p"), y = oe(b), m = be(), v = C("p"), w = oe(T), P = be(), A = C("button"), O = oe(S), x(o, "class", "a"), x(o, "d", "M753.094,548.381h11.379v4.138a3.1,3.1,0,1,0,6.207,0v-4.138a3.1,3.1,0,0,0,0-6.207v-27.93a3,3,0,0,0-2.379-3,3.262,3.262,0,0,0-3.517,1.552l-14.483,26.9a3.305,3.305,0,0,0-.31,1.448v4.138a3.048,3.048,0,0,0,3.1,3.1Zm3.1-6.414,8.276-15.414v15.62H756.2Z"), x(o, "transform", "translate(-658.898 -446.452)"), x(s, "class", "a"), x(s, "d", "M508.259,555.422a11.346,11.346,0,0,0,11.379-11.379V522.319a11.379,11.379,0,1,0-22.757,0v21.725A11.346,11.346,0,0,0,508.259,555.422Zm-5.172-33.1a5.172,5.172,0,1,1,10.345,0v21.725a5.172,5.172,0,0,1-10.345,0Z"), x(s, "transform", "translate(-433.716 -446.252)"), x(u, "class", "a"), x(u, "d", "M237.474,548.381h11.379v4.138a3.1,3.1,0,1,0,6.207,0v-4.138a3.1,3.1,0,1,0,0-6.207v-27.93a3,3,0,0,0-2.379-3,3.2,3.2,0,0,0-3.517,1.552l-14.483,26.9a3.3,3.3,0,0,0-.31,1.448v4.138a3.048,3.048,0,0,0,3.1,3.1Zm3.1-6.414,8.276-15.414v15.62h-8.276Z"), x(u, "transform", "translate(-200.173 -446.452)"), x(h, "class", "a"), x(h, "d", "M22.819,139.685H126.266a13.422,13.422,0,0,0,13.449-13.449V22.789A13.422,13.422,0,0,0,126.266,9.34H22.819A13.422,13.422,0,0,0,9.37,22.789V126.236A13.422,13.422,0,0,0,22.819,139.685Zm-7.241-116.9a7.2,7.2,0,0,1,7.241-7.241H126.266a7.2,7.2,0,0,1,7.241,7.241V38.3H15.572Zm0,21.725H133.513v81.723a7.2,7.2,0,0,1-7.241,7.241H22.824a7.2,7.2,0,0,1-7.241-7.241Z"), x(a, "class", "a"), x(a, "d", "M147.866,140.62h-4.138a3.1,3.1,0,0,0,0,6.207h4.138a3.1,3.1,0,0,0,0-6.207Z"), x(a, "transform", "translate(-116.772 -116.794)"), x(l, "class", "a"), x(l, "d", "M297.866,140.62h-4.138a3.1,3.1,0,1,0,0,6.207h4.138a3.1,3.1,0,0,0,0-6.207Z"), x(l, "transform", "translate(-250.22 -116.794)"), x(i, "transform", "translate(-9.37 -9.34)"), x(n, "class", "svgColor"), x(n, "xmlns", "http://www.w3.org/2000/svg"), x(n, "width", "130.345"), x(n, "height", "130.345"), x(n, "viewBox", "0 0 130.345 130.345"), x(c, "class", "PageTitle"), x(v, "class", "PageContent"), x(A, "class", "ButtonDefaultSmall"), x(r, "class", "NotFoundPage"), x(t, "class", "PageWrapper");
3817
3845
  },
3818
3846
  m(L, q) {
3819
- gt(L, t, q), H(t, r), H(r, n), H(n, i), H(i, o), H(i, a), H(i, u), H(i, h), H(i, s), H(i, l), H(r, c), H(r, f), H(f, y), H(r, _), H(r, m), H(m, T), H(r, N), H(r, B), H(B, O), e[8](t), R || (Ve = Jt(
3820
- B,
3847
+ mt(L, t, q), _(t, r), _(r, n), _(n, i), _(i, o), _(i, s), _(i, u), _(i, h), _(i, a), _(i, l), _(r, f), _(r, c), _(c, y), _(r, m), _(r, v), _(v, w), _(r, P), _(r, A), _(A, O), e[9](t), F || (je = Qt(
3848
+ A,
3821
3849
  "click",
3822
3850
  /*click_handler*/
3823
- e[7]
3824
- ), R = !0);
3851
+ e[8]
3852
+ ), F = !0);
3825
3853
  },
3826
3854
  p(L, [q]) {
3827
3855
  q & /*$_*/
3828
3856
  2 && b !== (b = /*$_*/
3829
- L[1]("pageNotFound") + "") && be(y, b), q & /*$_*/
3830
- 2 && E !== (E = /*$_*/
3831
- L[1]("pageNotFoundMessage") + "") && be(T, E), q & /*$_*/
3832
- 2 && A !== (A = /*$_*/
3833
- L[1]("home") + "") && be(O, A);
3857
+ L[1]("pageNotFound") + "") && xe(y, b), q & /*$_*/
3858
+ 2 && T !== (T = /*$_*/
3859
+ L[1]("pageNotFoundMessage") + "") && xe(w, T), q & /*$_*/
3860
+ 2 && S !== (S = /*$_*/
3861
+ L[1]("home") + "") && xe(O, S);
3834
3862
  },
3835
- i: w,
3836
- o: w,
3863
+ i: B,
3864
+ o: B,
3837
3865
  d(L) {
3838
- L && Fe(t), e[8](null), R = !1, Ve();
3866
+ L && Ge(t), e[9](null), F = !1, je();
3839
3867
  }
3840
3868
  };
3841
3869
  }
3842
- function ii(e, t, r) {
3870
+ function ui(e, t, r) {
3843
3871
  let n;
3844
- Zt(e, ei, (m) => r(1, n = m));
3845
- let { lang: i = "en" } = t, { clientstyling: o = "" } = t, { clientstylingurl: a = "" } = t, { translationurl: u = "" } = t, h;
3846
- const s = () => {
3847
- fetch(u).then((E) => E.json()).then((E) => {
3848
- Object.keys(E).forEach((T) => {
3849
- lt(T, E[T]);
3872
+ Xt(e, ti, (m) => r(1, n = m));
3873
+ let { lang: i = "en" } = t, { clientstyling: o = "" } = t, { clientstylingurl: s = "" } = t, { translationurl: u = "" } = t, { mbsource: h } = t, a;
3874
+ const l = () => {
3875
+ fetch(u).then((v) => v.json()).then((v) => {
3876
+ Object.keys(v).forEach((T) => {
3877
+ ut(T, v[T]);
3850
3878
  });
3851
- }).catch((E) => {
3852
- console.log(E);
3879
+ }).catch((v) => {
3880
+ console.log(v);
3853
3881
  });
3854
3882
  };
3855
- Object.keys(ft).forEach((m) => {
3856
- lt(m, ft[m]);
3883
+ Object.keys(ht).forEach((m) => {
3884
+ ut(m, ht[m]);
3857
3885
  });
3858
- const l = () => {
3886
+ const f = () => {
3859
3887
  window.postMessage({ type: "GoToHomepage" }, window.location.href);
3860
3888
  }, c = () => {
3861
- ti(i);
3862
- }, f = () => {
3863
- let m = document.createElement("style");
3864
- m.innerHTML = o, h.appendChild(m);
3865
- }, b = () => {
3866
- let m = new URL(a), E = document.createElement("style");
3867
- fetch(m.href).then((T) => T.text()).then((T) => {
3868
- E.innerHTML = T, setTimeout(
3869
- () => {
3870
- h.appendChild(E);
3871
- },
3872
- 1
3873
- );
3874
- });
3875
- }, y = () => l();
3876
- function _(m) {
3877
- Pe[m ? "unshift" : "push"](() => {
3878
- h = m, r(0, h);
3889
+ ri(i);
3890
+ };
3891
+ Kt(() => () => {
3892
+ });
3893
+ const b = () => f();
3894
+ function y(m) {
3895
+ Se[m ? "unshift" : "push"](() => {
3896
+ a = m, r(0, a);
3879
3897
  });
3880
3898
  }
3881
3899
  return e.$$set = (m) => {
3882
- "lang" in m && r(3, i = m.lang), "clientstyling" in m && r(4, o = m.clientstyling), "clientstylingurl" in m && r(5, a = m.clientstylingurl), "translationurl" in m && r(6, u = m.translationurl);
3900
+ "lang" in m && r(3, i = m.lang), "clientstyling" in m && r(4, o = m.clientstyling), "clientstylingurl" in m && r(5, s = m.clientstylingurl), "translationurl" in m && r(6, u = m.translationurl), "mbsource" in m && r(7, h = m.mbsource);
3883
3901
  }, e.$$.update = () => {
3884
3902
  e.$$.dirty & /*lang*/
3885
- 8 && i && c(), e.$$.dirty & /*clientstyling, customStylingContainer*/
3886
- 17 && o && h && f(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
3887
- 33 && a && h && b(), e.$$.dirty & /*translationurl*/
3888
- 64 && u && s();
3903
+ 8 && i && c(), e.$$.dirty & /*translationurl*/
3904
+ 64 && u && l(), e.$$.dirty & /*clientstyling, customStylingContainer*/
3905
+ 17 && o && a && ni(a, o), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
3906
+ 33 && s && a && ii(a, s), e.$$.dirty & /*mbsource, customStylingContainer*/
3907
+ 129 && h && a && oi(a, `${h}.Style`);
3889
3908
  }, [
3890
- h,
3909
+ a,
3891
3910
  n,
3892
- l,
3911
+ f,
3893
3912
  i,
3894
3913
  o,
3895
- a,
3914
+ s,
3896
3915
  u,
3897
- y,
3898
- _
3916
+ h,
3917
+ b,
3918
+ y
3899
3919
  ];
3900
3920
  }
3901
- class oi extends fr {
3921
+ class hi extends fr {
3902
3922
  constructor(t) {
3903
3923
  super(), hr(
3904
3924
  this,
3905
3925
  t,
3906
- ii,
3907
- ni,
3908
- mt,
3926
+ ui,
3927
+ si,
3928
+ ft,
3909
3929
  {
3910
3930
  lang: 3,
3911
3931
  clientstyling: 4,
3912
3932
  clientstylingurl: 5,
3913
- translationurl: 6
3933
+ translationurl: 6,
3934
+ mbsource: 7
3914
3935
  },
3915
- ri
3936
+ ai
3916
3937
  );
3917
3938
  }
3918
3939
  get lang() {
3919
3940
  return this.$$.ctx[3];
3920
3941
  }
3921
3942
  set lang(t) {
3922
- this.$$set({ lang: t }), U();
3943
+ this.$$set({ lang: t }), $();
3923
3944
  }
3924
3945
  get clientstyling() {
3925
3946
  return this.$$.ctx[4];
3926
3947
  }
3927
3948
  set clientstyling(t) {
3928
- this.$$set({ clientstyling: t }), U();
3949
+ this.$$set({ clientstyling: t }), $();
3929
3950
  }
3930
3951
  get clientstylingurl() {
3931
3952
  return this.$$.ctx[5];
3932
3953
  }
3933
3954
  set clientstylingurl(t) {
3934
- this.$$set({ clientstylingurl: t }), U();
3955
+ this.$$set({ clientstylingurl: t }), $();
3935
3956
  }
3936
3957
  get translationurl() {
3937
3958
  return this.$$.ctx[6];
3938
3959
  }
3939
3960
  set translationurl(t) {
3940
- this.$$set({ translationurl: t }), U();
3961
+ this.$$set({ translationurl: t }), $();
3962
+ }
3963
+ get mbsource() {
3964
+ return this.$$.ctx[7];
3965
+ }
3966
+ set mbsource(t) {
3967
+ this.$$set({ mbsource: t }), $();
3941
3968
  }
3942
3969
  }
3943
- lr(oi, { lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
3970
+ lr(hi, { lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
3944
3971
  export {
3945
- oi as default
3972
+ hi as default
3946
3973
  };