@everymatrix/casino-403 1.61.1 → 1.62.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,17 +1,17 @@
1
- var Rt = Object.defineProperty, Dt = Object.defineProperties;
2
- var Ut = Object.getOwnPropertyDescriptors;
3
- var Fe = Object.getOwnPropertySymbols;
4
- var Gt = Object.prototype.hasOwnProperty, Ft = Object.prototype.propertyIsEnumerable;
5
- var ge = (e, t, r) => t in e ? Rt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, je = (e, t) => {
1
+ var Ut = Object.defineProperty, Gt = Object.defineProperties;
2
+ var Ft = Object.getOwnPropertyDescriptors;
3
+ var Ve = Object.getOwnPropertySymbols;
4
+ var jt = Object.prototype.hasOwnProperty, Vt = Object.prototype.propertyIsEnumerable;
5
+ var be = (e, t, r) => t in e ? Ut(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ke = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- Gt.call(t, r) && ge(e, r, t[r]);
8
- if (Fe)
9
- for (var r of Fe(t))
10
- Ft.call(t, r) && ge(e, r, t[r]);
7
+ jt.call(t, r) && be(e, r, t[r]);
8
+ if (Ve)
9
+ for (var r of Ve(t))
10
+ Vt.call(t, r) && be(e, r, t[r]);
11
11
  return e;
12
- }, Ve = (e, t) => Dt(e, Ut(t));
13
- var S = (e, t, r) => (ge(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var ke = (e, t, r) => new Promise((n, i) => {
12
+ }, Xe = (e, t) => Gt(e, Ft(t));
13
+ var B = (e, t, r) => (be(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var ze = (e, t, r) => new Promise((n, i) => {
15
15
  var s = (h) => {
16
16
  try {
17
17
  u(r.next(h));
@@ -29,25 +29,25 @@ var ke = (e, t, r) => new Promise((n, i) => {
29
29
  });
30
30
  function w() {
31
31
  }
32
- function ut(e) {
32
+ function lt(e) {
33
33
  return e();
34
34
  }
35
- function Xe() {
35
+ function We() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
- function te(e) {
39
- e.forEach(ut);
38
+ function re(e) {
39
+ e.forEach(lt);
40
40
  }
41
- function Re(e) {
41
+ function Ue(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function ht(e, t) {
44
+ function ct(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
- function jt(e) {
47
+ function kt(e) {
48
48
  return Object.keys(e).length === 0;
49
49
  }
50
- function lt(e, ...t) {
50
+ function ft(e, ...t) {
51
51
  if (e == null) {
52
52
  for (const n of t)
53
53
  n(void 0);
@@ -56,20 +56,20 @@ function lt(e, ...t) {
56
56
  const r = e.subscribe(...t);
57
57
  return r.unsubscribe ? () => r.unsubscribe() : r;
58
58
  }
59
- function Vt(e, t, r) {
60
- e.$$.on_destroy.push(lt(t, r));
59
+ function Xt(e, t, r) {
60
+ e.$$.on_destroy.push(ft(t, r));
61
61
  }
62
62
  function _(e, t) {
63
63
  e.appendChild(t);
64
64
  }
65
- function kt(e, t, r) {
66
- const n = Xt(e);
65
+ function zt(e, t, r) {
66
+ const n = Wt(e);
67
67
  if (!n.getElementById(t)) {
68
- const i = C("style");
69
- i.id = t, i.textContent = r, zt(n, i);
68
+ const i = $("style");
69
+ i.id = t, i.textContent = r, Zt(n, i);
70
70
  }
71
71
  }
72
- function Xt(e) {
72
+ function Wt(e) {
73
73
  if (!e)
74
74
  return document;
75
75
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -79,45 +79,45 @@ function Xt(e) {
79
79
  t
80
80
  ) : e.ownerDocument;
81
81
  }
82
- function zt(e, t) {
82
+ function Zt(e, t) {
83
83
  return _(
84
84
  /** @type {Document} */
85
85
  e.head || e,
86
86
  t
87
87
  ), t.sheet;
88
88
  }
89
- function ct(e, t, r) {
89
+ function mt(e, t, r) {
90
90
  e.insertBefore(t, r || null);
91
91
  }
92
- function De(e) {
92
+ function Ge(e) {
93
93
  e.parentNode && e.parentNode.removeChild(e);
94
94
  }
95
- function C(e) {
95
+ function $(e) {
96
96
  return document.createElement(e);
97
97
  }
98
- function R(e) {
98
+ function D(e) {
99
99
  return document.createElementNS("http://www.w3.org/2000/svg", e);
100
100
  }
101
- function ie(e) {
101
+ function se(e) {
102
102
  return document.createTextNode(e);
103
103
  }
104
- function de() {
105
- return ie(" ");
104
+ function ye() {
105
+ return se(" ");
106
106
  }
107
- function Wt(e, t, r, n) {
107
+ function qt(e, t, r, n) {
108
108
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
109
109
  }
110
- function v(e, t, r) {
110
+ function x(e, t, r) {
111
111
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
112
112
  }
113
- function Zt(e) {
113
+ function Qt(e) {
114
114
  return Array.from(e.childNodes);
115
115
  }
116
- function be(e, t) {
116
+ function xe(e, t) {
117
117
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
118
118
  t);
119
119
  }
120
- function qt(e) {
120
+ function Jt(e) {
121
121
  const t = {};
122
122
  return e.childNodes.forEach(
123
123
  /** @param {Element} node */
@@ -126,87 +126,87 @@ function qt(e) {
126
126
  }
127
127
  ), t;
128
128
  }
129
- let Y;
130
- function J(e) {
131
- Y = e;
129
+ let K;
130
+ function Y(e) {
131
+ K = e;
132
132
  }
133
- function Qt() {
134
- if (!Y)
133
+ function Yt() {
134
+ if (!K)
135
135
  throw new Error("Function called outside component initialization");
136
- return Y;
136
+ return K;
137
137
  }
138
- function Jt(e) {
139
- Qt().$$.on_mount.push(e);
140
- }
141
- const G = [], Be = [];
142
- let F = [];
143
- const ze = [], Yt = /* @__PURE__ */ Promise.resolve();
144
- let Se = !1;
145
- function Kt() {
146
- Se || (Se = !0, Yt.then($));
147
- }
148
- function Pe(e) {
149
- F.push(e);
150
- }
151
- const ye = /* @__PURE__ */ new Set();
152
- let D = 0;
153
- function $() {
154
- if (D !== 0)
138
+ function Kt(e) {
139
+ Yt().$$.on_mount.push(e);
140
+ }
141
+ const F = [], Pe = [];
142
+ let j = [];
143
+ const Ze = [], er = /* @__PURE__ */ Promise.resolve();
144
+ let Ae = !1;
145
+ function tr() {
146
+ Ae || (Ae = !0, er.then(M));
147
+ }
148
+ function we(e) {
149
+ j.push(e);
150
+ }
151
+ const ve = /* @__PURE__ */ new Set();
152
+ let U = 0;
153
+ function M() {
154
+ if (U !== 0)
155
155
  return;
156
- const e = Y;
156
+ const e = K;
157
157
  do {
158
158
  try {
159
- for (; D < G.length; ) {
160
- const t = G[D];
161
- D++, J(t), er(t.$$);
159
+ for (; U < F.length; ) {
160
+ const t = F[U];
161
+ U++, Y(t), rr(t.$$);
162
162
  }
163
163
  } catch (t) {
164
- throw G.length = 0, D = 0, t;
164
+ throw F.length = 0, U = 0, t;
165
165
  }
166
- for (J(null), G.length = 0, D = 0; Be.length; )
167
- Be.pop()();
168
- for (let t = 0; t < F.length; t += 1) {
169
- const r = F[t];
170
- ye.has(r) || (ye.add(r), r());
166
+ for (Y(null), F.length = 0, U = 0; Pe.length; )
167
+ Pe.pop()();
168
+ for (let t = 0; t < j.length; t += 1) {
169
+ const r = j[t];
170
+ ve.has(r) || (ve.add(r), r());
171
171
  }
172
- F.length = 0;
173
- } while (G.length);
174
- for (; ze.length; )
175
- ze.pop()();
176
- Se = !1, ye.clear(), J(e);
172
+ j.length = 0;
173
+ } while (F.length);
174
+ for (; Ze.length; )
175
+ Ze.pop()();
176
+ Ae = !1, ve.clear(), Y(e);
177
177
  }
178
- function er(e) {
178
+ function rr(e) {
179
179
  if (e.fragment !== null) {
180
- e.update(), te(e.before_update);
180
+ e.update(), re(e.before_update);
181
181
  const t = e.dirty;
182
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Pe);
182
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(we);
183
183
  }
184
184
  }
185
- function tr(e) {
185
+ function nr(e) {
186
186
  const t = [], r = [];
187
- F.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), F = t;
187
+ j.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), j = t;
188
188
  }
189
- const rr = /* @__PURE__ */ new Set();
190
- function nr(e, t) {
191
- e && e.i && (rr.delete(e), e.i(t));
189
+ const ir = /* @__PURE__ */ new Set();
190
+ function sr(e, t) {
191
+ e && e.i && (ir.delete(e), e.i(t));
192
192
  }
193
- function ir(e, t, r) {
193
+ function or(e, t, r) {
194
194
  const { fragment: n, after_update: i } = e.$$;
195
- n && n.m(t, r), Pe(() => {
196
- const s = e.$$.on_mount.map(ut).filter(Re);
197
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : te(s), e.$$.on_mount = [];
198
- }), i.forEach(Pe);
195
+ n && n.m(t, r), we(() => {
196
+ const s = e.$$.on_mount.map(lt).filter(Ue);
197
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : re(s), e.$$.on_mount = [];
198
+ }), i.forEach(we);
199
199
  }
200
- function sr(e, t) {
200
+ function ar(e, t) {
201
201
  const r = e.$$;
202
- r.fragment !== null && (tr(r.after_update), te(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
202
+ 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 = []);
203
203
  }
204
- function or(e, t) {
205
- e.$$.dirty[0] === -1 && (G.push(e), Kt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
204
+ function ur(e, t) {
205
+ e.$$.dirty[0] === -1 && (F.push(e), tr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
206
206
  }
207
- function ar(e, t, r, n, i, s, a = null, u = [-1]) {
208
- const h = Y;
209
- J(e);
207
+ function hr(e, t, r, n, i, s, a = null, u = [-1]) {
208
+ const h = K;
209
+ Y(e);
210
210
  const o = e.$$ = {
211
211
  fragment: null,
212
212
  ctx: [],
@@ -214,7 +214,7 @@ function ar(e, t, r, n, i, s, a = null, u = [-1]) {
214
214
  props: s,
215
215
  update: w,
216
216
  not_equal: i,
217
- bound: Xe(),
217
+ bound: We(),
218
218
  // lifecycle
219
219
  on_mount: [],
220
220
  on_destroy: [],
@@ -223,48 +223,48 @@ function ar(e, t, r, n, i, s, a = null, u = [-1]) {
223
223
  after_update: [],
224
224
  context: new Map(t.context || (h ? h.$$.context : [])),
225
225
  // everything else
226
- callbacks: Xe(),
226
+ callbacks: We(),
227
227
  dirty: u,
228
228
  skip_bound: !1,
229
229
  root: t.target || h.$$.root
230
230
  };
231
231
  a && a(o.root);
232
232
  let l = !1;
233
- if (o.ctx = r ? r(e, t.props || {}, (c, f, ...b) => {
234
- const y = b.length ? b[0] : f;
235
- return o.ctx && i(o.ctx[c], o.ctx[c] = y) && (!o.skip_bound && o.bound[c] && o.bound[c](y), l && or(e, c)), f;
236
- }) : [], o.update(), l = !0, te(o.before_update), o.fragment = n ? n(o.ctx) : !1, t.target) {
233
+ if (o.ctx = r ? r(e, t.props || {}, (c, f, ...d) => {
234
+ const b = d.length ? d[0] : f;
235
+ return o.ctx && i(o.ctx[c], o.ctx[c] = b) && (!o.skip_bound && o.bound[c] && o.bound[c](b), l && ur(e, c)), f;
236
+ }) : [], o.update(), l = !0, re(o.before_update), o.fragment = n ? n(o.ctx) : !1, t.target) {
237
237
  if (t.hydrate) {
238
- const c = Zt(t.target);
239
- o.fragment && o.fragment.l(c), c.forEach(De);
238
+ const c = Qt(t.target);
239
+ o.fragment && o.fragment.l(c), c.forEach(Ge);
240
240
  } else
241
241
  o.fragment && o.fragment.c();
242
- t.intro && nr(e.$$.fragment), ir(e, t.target, t.anchor), $();
242
+ t.intro && sr(e.$$.fragment), or(e, t.target, t.anchor), M();
243
243
  }
244
- J(h);
244
+ Y(h);
245
245
  }
246
- let ft;
247
- typeof HTMLElement == "function" && (ft = class extends HTMLElement {
246
+ let pt;
247
+ typeof HTMLElement == "function" && (pt = class extends HTMLElement {
248
248
  constructor(t, r, n) {
249
249
  super();
250
250
  /** The Svelte component constructor */
251
- S(this, "$$ctor");
251
+ B(this, "$$ctor");
252
252
  /** Slots */
253
- S(this, "$$s");
253
+ B(this, "$$s");
254
254
  /** The Svelte component instance */
255
- S(this, "$$c");
255
+ B(this, "$$c");
256
256
  /** Whether or not the custom element is connected */
257
- S(this, "$$cn", !1);
257
+ B(this, "$$cn", !1);
258
258
  /** Component props data */
259
- S(this, "$$d", {});
259
+ B(this, "$$d", {});
260
260
  /** `true` if currently in the process of reflecting component props back to attributes */
261
- S(this, "$$r", !1);
261
+ B(this, "$$r", !1);
262
262
  /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
263
- S(this, "$$p_d", {});
263
+ B(this, "$$p_d", {});
264
264
  /** @type {Record<string, Function[]>} Event listeners */
265
- S(this, "$$l", {});
265
+ B(this, "$$l", {});
266
266
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
267
- S(this, "$$l_u", /* @__PURE__ */ new Map());
267
+ B(this, "$$l_u", /* @__PURE__ */ new Map());
268
268
  this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
269
269
  }
270
270
  addEventListener(t, r, n) {
@@ -281,42 +281,42 @@ typeof HTMLElement == "function" && (ft = class extends HTMLElement {
281
281
  }
282
282
  }
283
283
  connectedCallback() {
284
- return ke(this, null, function* () {
284
+ return ze(this, null, function* () {
285
285
  if (this.$$cn = !0, !this.$$c) {
286
286
  let t = function(s) {
287
287
  return () => {
288
288
  let a;
289
289
  return {
290
290
  c: function() {
291
- a = C("slot"), s !== "default" && v(a, "name", s);
291
+ a = $("slot"), s !== "default" && x(a, "name", s);
292
292
  },
293
293
  /**
294
294
  * @param {HTMLElement} target
295
295
  * @param {HTMLElement} [anchor]
296
296
  */
297
297
  m: function(o, l) {
298
- ct(o, a, l);
298
+ mt(o, a, l);
299
299
  },
300
300
  d: function(o) {
301
- o && De(a);
301
+ o && Ge(a);
302
302
  }
303
303
  };
304
304
  };
305
305
  };
306
306
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
307
307
  return;
308
- const r = {}, n = qt(this);
308
+ const r = {}, n = Jt(this);
309
309
  for (const s of this.$$s)
310
310
  s in n && (r[s] = [t(s)]);
311
311
  for (const s of this.attributes) {
312
312
  const a = this.$$g_p(s.name);
313
- a in this.$$d || (this.$$d[a] = se(a, s.value, this.$$p_d, "toProp"));
313
+ a in this.$$d || (this.$$d[a] = oe(a, s.value, this.$$p_d, "toProp"));
314
314
  }
315
315
  for (const s in this.$$p_d)
316
316
  !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
317
317
  this.$$c = new this.$$ctor({
318
318
  target: this.shadowRoot || this,
319
- props: Ve(je({}, this.$$d), {
319
+ props: Xe(ke({}, this.$$d), {
320
320
  $$slots: r,
321
321
  $$scope: {
322
322
  ctx: []
@@ -327,7 +327,7 @@ typeof HTMLElement == "function" && (ft = class extends HTMLElement {
327
327
  this.$$r = !0;
328
328
  for (const s in this.$$p_d)
329
329
  if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
330
- const a = se(
330
+ const a = oe(
331
331
  s,
332
332
  this.$$d[s],
333
333
  this.$$p_d,
@@ -351,7 +351,7 @@ typeof HTMLElement == "function" && (ft = class extends HTMLElement {
351
351
  // and setting attributes through setAttribute etc, this is helpful
352
352
  attributeChangedCallback(t, r, n) {
353
353
  var i;
354
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = se(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
354
+ 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] }));
355
355
  }
356
356
  disconnectedCallback() {
357
357
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -364,7 +364,7 @@ typeof HTMLElement == "function" && (ft = class extends HTMLElement {
364
364
  ) || t;
365
365
  }
366
366
  });
367
- function se(e, t, r, n) {
367
+ function oe(e, t, r, n) {
368
368
  var s;
369
369
  const i = (s = r[e]) == null ? void 0 : s.type;
370
370
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
@@ -394,8 +394,8 @@ function se(e, t, r, n) {
394
394
  return t;
395
395
  }
396
396
  }
397
- function ur(e, t, r, n, i, s) {
398
- let a = class extends ft {
397
+ function lr(e, t, r, n, i, s) {
398
+ let a = class extends pt {
399
399
  constructor() {
400
400
  super(e, r, i), this.$$p_d = t;
401
401
  }
@@ -412,7 +412,7 @@ function ur(e, t, r, n, i, s) {
412
412
  },
413
413
  set(h) {
414
414
  var o;
415
- h = se(u, h, t), this.$$d[u] = h, (o = this.$$c) == null || o.$set({ [u]: h });
415
+ h = oe(u, h, t), this.$$d[u] = h, (o = this.$$c) == null || o.$set({ [u]: h });
416
416
  }
417
417
  });
418
418
  }), n.forEach((u) => {
@@ -425,7 +425,7 @@ function ur(e, t, r, n, i, s) {
425
425
  }), e.element = /** @type {any} */
426
426
  a, a;
427
427
  }
428
- class hr {
428
+ class cr {
429
429
  constructor() {
430
430
  /**
431
431
  * ### PRIVATE API
@@ -434,7 +434,7 @@ class hr {
434
434
  *
435
435
  * @type {any}
436
436
  */
437
- S(this, "$$");
437
+ B(this, "$$");
438
438
  /**
439
439
  * ### PRIVATE API
440
440
  *
@@ -442,11 +442,11 @@ class hr {
442
442
  *
443
443
  * @type {any}
444
444
  */
445
- S(this, "$$set");
445
+ B(this, "$$set");
446
446
  }
447
447
  /** @returns {void} */
448
448
  $destroy() {
449
- sr(this, 1), this.$destroy = w;
449
+ ar(this, 1), this.$destroy = w;
450
450
  }
451
451
  /**
452
452
  * @template {Extract<keyof Events, string>} K
@@ -455,7 +455,7 @@ class hr {
455
455
  * @returns {() => void}
456
456
  */
457
457
  $on(t, r) {
458
- if (!Re(r))
458
+ if (!Ue(r))
459
459
  return w;
460
460
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
461
461
  return n.push(r), () => {
@@ -468,29 +468,29 @@ class hr {
468
468
  * @returns {void}
469
469
  */
470
470
  $set(t) {
471
- this.$$set && !jt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
471
+ this.$$set && !kt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
472
472
  }
473
473
  }
474
- const lr = "4";
475
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(lr);
476
- const U = [];
477
- function cr(e, t) {
474
+ const fr = "4";
475
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(fr);
476
+ const G = [];
477
+ function mr(e, t) {
478
478
  return {
479
- subscribe: le(e, t).subscribe
479
+ subscribe: fe(e, t).subscribe
480
480
  };
481
481
  }
482
- function le(e, t = w) {
482
+ function fe(e, t = w) {
483
483
  let r;
484
484
  const n = /* @__PURE__ */ new Set();
485
485
  function i(u) {
486
- if (ht(e, u) && (e = u, r)) {
487
- const h = !U.length;
486
+ if (ct(e, u) && (e = u, r)) {
487
+ const h = !G.length;
488
488
  for (const o of n)
489
- o[1](), U.push(o, e);
489
+ o[1](), G.push(o, e);
490
490
  if (h) {
491
- for (let o = 0; o < U.length; o += 2)
492
- U[o][0](U[o + 1]);
493
- U.length = 0;
491
+ for (let o = 0; o < G.length; o += 2)
492
+ G[o][0](G[o + 1]);
493
+ G.length = 0;
494
494
  }
495
495
  }
496
496
  }
@@ -505,12 +505,12 @@ function le(e, t = w) {
505
505
  }
506
506
  return { set: i, update: s, subscribe: a };
507
507
  }
508
- function z(e, t, r) {
508
+ function W(e, t, r) {
509
509
  const n = !Array.isArray(e), i = n ? [e] : e;
510
510
  if (!i.every(Boolean))
511
511
  throw new Error("derived() expects stores as input, got a falsy value");
512
512
  const s = t.length < 2;
513
- return cr(r, (a, u) => {
513
+ return mr(r, (a, u) => {
514
514
  let h = !1;
515
515
  const o = [];
516
516
  let l = 0, c = w;
@@ -518,11 +518,11 @@ function z(e, t, r) {
518
518
  if (l)
519
519
  return;
520
520
  c();
521
- const y = t(n ? o[0] : o, a, u);
522
- s ? a(y) : c = Re(y) ? y : w;
523
- }, b = i.map(
524
- (y, m) => lt(
525
- y,
521
+ const b = t(n ? o[0] : o, a, u);
522
+ s ? a(b) : c = Ue(b) ? b : w;
523
+ }, d = i.map(
524
+ (b, m) => ft(
525
+ b,
526
526
  (E) => {
527
527
  o[m] = E, l &= ~(1 << m), h && f();
528
528
  },
@@ -532,126 +532,112 @@ function z(e, t, r) {
532
532
  )
533
533
  );
534
534
  return h = !0, f(), function() {
535
- te(b), c(), h = !1;
535
+ re(d), c(), h = !1;
536
536
  };
537
537
  });
538
538
  }
539
- function fr(e) {
539
+ function pr(e) {
540
540
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
541
541
  }
542
- var mr = function(t) {
543
- return pr(t) && !gr(t);
542
+ var gr = function(t) {
543
+ return dr(t) && !br(t);
544
544
  };
545
- function pr(e) {
545
+ function dr(e) {
546
546
  return !!e && typeof e == "object";
547
547
  }
548
- function gr(e) {
548
+ function br(e) {
549
549
  var t = Object.prototype.toString.call(e);
550
- return t === "[object RegExp]" || t === "[object Date]" || yr(e);
550
+ return t === "[object RegExp]" || t === "[object Date]" || vr(e);
551
551
  }
552
- var dr = typeof Symbol == "function" && Symbol.for, br = dr ? Symbol.for("react.element") : 60103;
553
- function yr(e) {
554
- return e.$$typeof === br;
552
+ var yr = typeof Symbol == "function" && Symbol.for, xr = yr ? Symbol.for("react.element") : 60103;
553
+ function vr(e) {
554
+ return e.$$typeof === xr;
555
555
  }
556
- function xr(e) {
556
+ function Er(e) {
557
557
  return Array.isArray(e) ? [] : {};
558
558
  }
559
- function K(e, t) {
560
- return t.clone !== !1 && t.isMergeableObject(e) ? j(xr(e), e, t) : e;
559
+ function ee(e, t) {
560
+ return t.clone !== !1 && t.isMergeableObject(e) ? V(Er(e), e, t) : e;
561
561
  }
562
- function vr(e, t, r) {
562
+ function _r(e, t, r) {
563
563
  return e.concat(t).map(function(n) {
564
- return K(n, r);
564
+ return ee(n, r);
565
565
  });
566
566
  }
567
- function Er(e, t) {
567
+ function Hr(e, t) {
568
568
  if (!t.customMerge)
569
- return j;
569
+ return V;
570
570
  var r = t.customMerge(e);
571
- return typeof r == "function" ? r : j;
571
+ return typeof r == "function" ? r : V;
572
572
  }
573
- function _r(e) {
573
+ function Tr(e) {
574
574
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
575
575
  return Object.propertyIsEnumerable.call(e, t);
576
576
  }) : [];
577
577
  }
578
- function We(e) {
579
- return Object.keys(e).concat(_r(e));
578
+ function qe(e) {
579
+ return Object.keys(e).concat(Tr(e));
580
580
  }
581
- function mt(e, t) {
581
+ function gt(e, t) {
582
582
  try {
583
583
  return t in e;
584
584
  } catch (r) {
585
585
  return !1;
586
586
  }
587
587
  }
588
- function Hr(e, t) {
589
- return mt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
588
+ function Sr(e, t) {
589
+ return gt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
590
590
  }
591
- function Tr(e, t, r) {
591
+ function Br(e, t, r) {
592
592
  var n = {};
593
- return r.isMergeableObject(e) && We(e).forEach(function(i) {
594
- n[i] = K(e[i], r);
595
- }), We(t).forEach(function(i) {
596
- Hr(e, i) || (mt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Er(i, r)(e[i], t[i], r) : n[i] = K(t[i], r));
593
+ return r.isMergeableObject(e) && qe(e).forEach(function(i) {
594
+ n[i] = ee(e[i], r);
595
+ }), qe(t).forEach(function(i) {
596
+ Sr(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));
597
597
  }), n;
598
598
  }
599
- function j(e, t, r) {
600
- r = r || {}, r.arrayMerge = r.arrayMerge || vr, r.isMergeableObject = r.isMergeableObject || mr, r.cloneUnlessOtherwiseSpecified = K;
599
+ function V(e, t, r) {
600
+ r = r || {}, r.arrayMerge = r.arrayMerge || _r, r.isMergeableObject = r.isMergeableObject || gr, r.cloneUnlessOtherwiseSpecified = ee;
601
601
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
602
- return s ? n ? r.arrayMerge(e, t, r) : Tr(e, t, r) : K(t, r);
602
+ return s ? n ? r.arrayMerge(e, t, r) : Br(e, t, r) : ee(t, r);
603
603
  }
604
- j.all = function(t, r) {
604
+ V.all = function(t, r) {
605
605
  if (!Array.isArray(t))
606
606
  throw new Error("first argument should be an array");
607
607
  return t.reduce(function(n, i) {
608
- return j(n, i, r);
608
+ return V(n, i, r);
609
609
  }, {});
610
610
  };
611
- var Br = j, Sr = Br;
612
- const Pr = /* @__PURE__ */ fr(Sr);
613
- /*! *****************************************************************************
614
- Copyright (c) Microsoft Corporation.
615
-
616
- Permission to use, copy, modify, and/or distribute this software for any
617
- purpose with or without fee is hereby granted.
618
-
619
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
620
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
621
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
622
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
623
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
624
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
625
- PERFORMANCE OF THIS SOFTWARE.
626
- ***************************************************************************** */
627
- var Ae = function(e, t) {
628
- return Ae = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
611
+ var Pr = V, Ar = Pr;
612
+ const wr = /* @__PURE__ */ pr(Ar);
613
+ var Ne = function(e, t) {
614
+ return Ne = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
629
615
  r.__proto__ = n;
630
616
  } || function(r, n) {
631
617
  for (var i in n)
632
618
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
633
- }, Ae(e, t);
619
+ }, Ne(e, t);
634
620
  };
635
- function ce(e, t) {
621
+ function me(e, t) {
636
622
  if (typeof t != "function" && t !== null)
637
623
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
638
- Ae(e, t);
624
+ Ne(e, t);
639
625
  function r() {
640
626
  this.constructor = e;
641
627
  }
642
628
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
643
629
  }
644
- var d = function() {
645
- return d = Object.assign || function(t) {
630
+ var O = function() {
631
+ return O = Object.assign || function(t) {
646
632
  for (var r, n = 1, i = arguments.length; n < i; n++) {
647
633
  r = arguments[n];
648
634
  for (var s in r)
649
635
  Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
650
636
  }
651
637
  return t;
652
- }, d.apply(this, arguments);
638
+ }, O.apply(this, arguments);
653
639
  };
654
- function Ar(e, t) {
640
+ function Nr(e, t) {
655
641
  var r = {};
656
642
  for (var n in e)
657
643
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -660,43 +646,43 @@ function Ar(e, t) {
660
646
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
661
647
  return r;
662
648
  }
663
- function xe(e, t, r) {
664
- if (arguments.length === 2)
649
+ function Ee(e, t, r) {
650
+ if (r || arguments.length === 2)
665
651
  for (var n = 0, i = t.length, s; n < i; n++)
666
652
  (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
667
- return e.concat(s || t);
653
+ return e.concat(s || Array.prototype.slice.call(t));
668
654
  }
669
- function ve(e, t) {
670
- var r = t && t.cache ? t.cache : $r, n = t && t.serializer ? t.serializer : Ir, i = t && t.strategy ? t.strategy : Lr;
655
+ function _e(e, t) {
656
+ var r = t && t.cache ? t.cache : Rr, n = t && t.serializer ? t.serializer : $r, i = t && t.strategy ? t.strategy : Ir;
671
657
  return i(e, {
672
658
  cache: r,
673
659
  serializer: n
674
660
  });
675
661
  }
676
- function wr(e) {
662
+ function Or(e) {
677
663
  return e == null || typeof e == "number" || typeof e == "boolean";
678
664
  }
679
- function Nr(e, t, r, n) {
680
- var i = wr(n) ? n : r(n), s = t.get(i);
665
+ function Lr(e, t, r, n) {
666
+ var i = Or(n) ? n : r(n), s = t.get(i);
681
667
  return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
682
668
  }
683
- function pt(e, t, r) {
669
+ function dt(e, t, r) {
684
670
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
685
671
  return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
686
672
  }
687
- function gt(e, t, r, n, i) {
673
+ function bt(e, t, r, n, i) {
688
674
  return r.bind(t, e, n, i);
689
675
  }
690
- function Lr(e, t) {
691
- var r = e.length === 1 ? Nr : pt;
692
- return gt(e, this, r, t.cache.create(), t.serializer);
676
+ function Ir(e, t) {
677
+ var r = e.length === 1 ? Lr : dt;
678
+ return bt(e, this, r, t.cache.create(), t.serializer);
693
679
  }
694
- function Or(e, t) {
695
- return gt(e, this, pt, t.cache.create(), t.serializer);
680
+ function Cr(e, t) {
681
+ return bt(e, this, dt, t.cache.create(), t.serializer);
696
682
  }
697
- var Ir = function() {
683
+ var $r = function() {
698
684
  return JSON.stringify(arguments);
699
- }, Cr = (
685
+ }, Mr = (
700
686
  /** @class */
701
687
  function() {
702
688
  function e() {
@@ -708,61 +694,71 @@ var Ir = function() {
708
694
  this.cache[t] = r;
709
695
  }, e;
710
696
  }()
711
- ), $r = {
697
+ ), Rr = {
712
698
  create: function() {
713
- return new Cr();
699
+ return new Mr();
714
700
  }
715
- }, Ee = {
716
- variadic: Or
717
- }, p;
701
+ }, He = {
702
+ variadic: Cr
703
+ }, he = function() {
704
+ return he = Object.assign || function(t) {
705
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
706
+ r = arguments[n];
707
+ for (var s in r)
708
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
709
+ }
710
+ return t;
711
+ }, he.apply(this, arguments);
712
+ };
713
+ var p;
718
714
  (function(e) {
719
715
  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";
720
716
  })(p || (p = {}));
721
- var x;
717
+ var y;
722
718
  (function(e) {
723
719
  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";
724
- })(x || (x = {}));
725
- var V;
720
+ })(y || (y = {}));
721
+ var k;
726
722
  (function(e) {
727
723
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
728
- })(V || (V = {}));
729
- function Ze(e) {
730
- return e.type === x.literal;
731
- }
732
- function Mr(e) {
733
- return e.type === x.argument;
734
- }
735
- function dt(e) {
736
- return e.type === x.number;
724
+ })(k || (k = {}));
725
+ function Qe(e) {
726
+ return e.type === y.literal;
737
727
  }
738
- function bt(e) {
739
- return e.type === x.date;
728
+ function Dr(e) {
729
+ return e.type === y.argument;
740
730
  }
741
731
  function yt(e) {
742
- return e.type === x.time;
732
+ return e.type === y.number;
743
733
  }
744
734
  function xt(e) {
745
- return e.type === x.select;
735
+ return e.type === y.date;
746
736
  }
747
737
  function vt(e) {
748
- return e.type === x.plural;
749
- }
750
- function Rr(e) {
751
- return e.type === x.pound;
738
+ return e.type === y.time;
752
739
  }
753
740
  function Et(e) {
754
- return e.type === x.tag;
741
+ return e.type === y.select;
755
742
  }
756
743
  function _t(e) {
757
- return !!(e && typeof e == "object" && e.type === V.number);
758
- }
759
- function we(e) {
760
- return !!(e && typeof e == "object" && e.type === V.dateTime);
744
+ return e.type === y.plural;
761
745
  }
762
- var Ht = /[ \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;
763
746
  function Ur(e) {
747
+ return e.type === y.pound;
748
+ }
749
+ function Ht(e) {
750
+ return e.type === y.tag;
751
+ }
752
+ function Tt(e) {
753
+ return !!(e && typeof e == "object" && e.type === k.number);
754
+ }
755
+ function Oe(e) {
756
+ return !!(e && typeof e == "object" && e.type === k.dateTime);
757
+ }
758
+ var St = /[ \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;
759
+ function Fr(e) {
764
760
  var t = {};
765
- return e.replace(Dr, function(r) {
761
+ return e.replace(Gr, function(r) {
766
762
  var n = r.length;
767
763
  switch (r[0]) {
768
764
  case "G":
@@ -851,11 +847,21 @@ function Ur(e) {
851
847
  return "";
852
848
  }), t;
853
849
  }
854
- var Gr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
855
- function Fr(e) {
850
+ var v = function() {
851
+ return v = Object.assign || function(t) {
852
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
853
+ r = arguments[n];
854
+ for (var s in r)
855
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
856
+ }
857
+ return t;
858
+ }, v.apply(this, arguments);
859
+ };
860
+ var jr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
861
+ function Vr(e) {
856
862
  if (e.length === 0)
857
863
  throw new Error("Number skeleton cannot be empty");
858
- for (var t = e.split(Gr).filter(function(f) {
864
+ for (var t = e.split(jr).filter(function(f) {
859
865
  return f.length > 0;
860
866
  }), r = [], n = 0, i = t; n < i.length; n++) {
861
867
  var s = i[n], a = s.split("/");
@@ -870,17 +876,17 @@ function Fr(e) {
870
876
  }
871
877
  return r;
872
878
  }
873
- function jr(e) {
879
+ function kr(e) {
874
880
  return e.replace(/^(.*?)-/, "");
875
881
  }
876
- var qe = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Tt = /^(@+)?(\+|#+)?[rs]?$/g, Vr = /(\*)(0+)|(#+)(0+)|(0+)/g, Bt = /^(0+)$/;
877
- function Qe(e) {
882
+ var Je = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Bt = /^(@+)?(\+|#+)?[rs]?$/g, Xr = /(\*)(0+)|(#+)(0+)|(0+)/g, Pt = /^(0+)$/;
883
+ function Ye(e) {
878
884
  var t = {};
879
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Tt, function(r, n, i) {
885
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Bt, function(r, n, i) {
880
886
  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)), "";
881
887
  }), t;
882
888
  }
883
- function St(e) {
889
+ function At(e) {
884
890
  switch (e) {
885
891
  case "sign-auto":
886
892
  return {
@@ -920,7 +926,7 @@ function St(e) {
920
926
  };
921
927
  }
922
928
  }
923
- function kr(e) {
929
+ function zr(e) {
924
930
  var t;
925
931
  if (e[0] === "E" && e[1] === "E" ? (t = {
926
932
  notation: "engineering"
@@ -928,17 +934,17 @@ function kr(e) {
928
934
  notation: "scientific"
929
935
  }, e = e.slice(1)), t) {
930
936
  var r = e.slice(0, 2);
931
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Bt.test(e))
937
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Pt.test(e))
932
938
  throw new Error("Malformed concise eng/scientific notation");
933
939
  t.minimumIntegerDigits = e.length;
934
940
  }
935
941
  return t;
936
942
  }
937
- function Je(e) {
938
- var t = {}, r = St(e);
943
+ function Ke(e) {
944
+ var t = {}, r = At(e);
939
945
  return r || t;
940
946
  }
941
- function Xr(e) {
947
+ function Wr(e) {
942
948
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
943
949
  var i = n[r];
944
950
  switch (i.stem) {
@@ -962,7 +968,7 @@ function Xr(e) {
962
968
  continue;
963
969
  case "measure-unit":
964
970
  case "unit":
965
- t.style = "unit", t.unit = jr(i.options[0]);
971
+ t.style = "unit", t.unit = kr(i.options[0]);
966
972
  continue;
967
973
  case "compact-short":
968
974
  case "K":
@@ -973,13 +979,13 @@ function Xr(e) {
973
979
  t.notation = "compact", t.compactDisplay = "long";
974
980
  continue;
975
981
  case "scientific":
976
- t = d(d(d({}, t), { notation: "scientific" }), i.options.reduce(function(h, o) {
977
- return d(d({}, h), Je(o));
982
+ t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(h, o) {
983
+ return v(v({}, h), Ke(o));
978
984
  }, {}));
979
985
  continue;
980
986
  case "engineering":
981
- t = d(d(d({}, t), { notation: "engineering" }), i.options.reduce(function(h, o) {
982
- return d(d({}, h), Je(o));
987
+ t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(h, o) {
988
+ return v(v({}, h), Ke(o));
983
989
  }, {}));
984
990
  continue;
985
991
  case "notation-simple":
@@ -1024,45 +1030,45 @@ function Xr(e) {
1024
1030
  case "integer-width":
1025
1031
  if (i.options.length > 1)
1026
1032
  throw new RangeError("integer-width stems only accept a single optional option");
1027
- i.options[0].replace(Vr, function(h, o, l, c, f, b) {
1033
+ i.options[0].replace(Xr, function(h, o, l, c, f, d) {
1028
1034
  if (o)
1029
1035
  t.minimumIntegerDigits = l.length;
1030
1036
  else {
1031
1037
  if (c && f)
1032
1038
  throw new Error("We currently do not support maximum integer digits");
1033
- if (b)
1039
+ if (d)
1034
1040
  throw new Error("We currently do not support exact integer digits");
1035
1041
  }
1036
1042
  return "";
1037
1043
  });
1038
1044
  continue;
1039
1045
  }
1040
- if (Bt.test(i.stem)) {
1046
+ if (Pt.test(i.stem)) {
1041
1047
  t.minimumIntegerDigits = i.stem.length;
1042
1048
  continue;
1043
1049
  }
1044
- if (qe.test(i.stem)) {
1050
+ if (Je.test(i.stem)) {
1045
1051
  if (i.options.length > 1)
1046
1052
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1047
- i.stem.replace(qe, function(h, o, l, c, f, b) {
1048
- return l === "*" ? t.minimumFractionDigits = o.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && b ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + b.length) : (t.minimumFractionDigits = o.length, t.maximumFractionDigits = o.length), "";
1053
+ i.stem.replace(Je, function(h, o, l, c, f, d) {
1054
+ return l === "*" ? t.minimumFractionDigits = o.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && d ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + d.length) : (t.minimumFractionDigits = o.length, t.maximumFractionDigits = o.length), "";
1049
1055
  });
1050
1056
  var s = i.options[0];
1051
- s === "w" ? t = d(d({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = d(d({}, t), Qe(s)));
1057
+ s === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = v(v({}, t), Ye(s)));
1052
1058
  continue;
1053
1059
  }
1054
- if (Tt.test(i.stem)) {
1055
- t = d(d({}, t), Qe(i.stem));
1060
+ if (Bt.test(i.stem)) {
1061
+ t = v(v({}, t), Ye(i.stem));
1056
1062
  continue;
1057
1063
  }
1058
- var a = St(i.stem);
1059
- a && (t = d(d({}, t), a));
1060
- var u = kr(i.stem);
1061
- u && (t = d(d({}, t), u));
1064
+ var a = At(i.stem);
1065
+ a && (t = v(v({}, t), a));
1066
+ var u = zr(i.stem);
1067
+ u && (t = v(v({}, t), u));
1062
1068
  }
1063
1069
  return t;
1064
1070
  }
1065
- var ne = {
1071
+ var ie = {
1066
1072
  "001": [
1067
1073
  "H",
1068
1074
  "h"
@@ -2477,13 +2483,13 @@ var ne = {
2477
2483
  "h"
2478
2484
  ]
2479
2485
  };
2480
- function zr(e, t) {
2486
+ function Zr(e, t) {
2481
2487
  for (var r = "", n = 0; n < e.length; n++) {
2482
2488
  var i = e.charAt(n);
2483
2489
  if (i === "j") {
2484
2490
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2485
2491
  s++, n++;
2486
- var a = 1 + (s & 1), u = s < 2 ? 1 : 3 + (s >> 1), h = "a", o = Wr(t);
2492
+ var a = 1 + (s & 1), u = s < 2 ? 1 : 3 + (s >> 1), h = "a", o = qr(t);
2487
2493
  for ((o == "H" || o == "k") && (u = 0); u-- > 0; )
2488
2494
  r += h;
2489
2495
  for (; a-- > 0; )
@@ -2493,7 +2499,7 @@ function zr(e, t) {
2493
2499
  }
2494
2500
  return r;
2495
2501
  }
2496
- function Wr(e) {
2502
+ function qr(e) {
2497
2503
  var t = e.hourCycle;
2498
2504
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2499
2505
  e.hourCycles && // @ts-ignore
@@ -2512,23 +2518,23 @@ function Wr(e) {
2512
2518
  }
2513
2519
  var r = e.language, n;
2514
2520
  r !== "root" && (n = e.maximize().region);
2515
- var i = ne[n || ""] || ne[r || ""] || ne["".concat(r, "-001")] || ne["001"];
2521
+ var i = ie[n || ""] || ie[r || ""] || ie["".concat(r, "-001")] || ie["001"];
2516
2522
  return i[0];
2517
2523
  }
2518
- var _e, Zr = new RegExp("^".concat(Ht.source, "*")), qr = new RegExp("".concat(Ht.source, "*$"));
2524
+ var Te, Qr = new RegExp("^".concat(St.source, "*")), Jr = new RegExp("".concat(St.source, "*$"));
2519
2525
  function g(e, t) {
2520
2526
  return { start: e, end: t };
2521
2527
  }
2522
- var Qr = !!String.prototype.startsWith && "_a".startsWith("a", 1), Jr = !!String.fromCodePoint, Yr = !!Object.fromEntries, Kr = !!String.prototype.codePointAt, en = !!String.prototype.trimStart, tn = !!String.prototype.trimEnd, rn = !!Number.isSafeInteger, nn = rn ? Number.isSafeInteger : function(e) {
2528
+ 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, sn = !!Number.isSafeInteger, on = sn ? Number.isSafeInteger : function(e) {
2523
2529
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2524
- }, Ne = !0;
2530
+ }, Le = !0;
2525
2531
  try {
2526
- var sn = At("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2527
- Ne = ((_e = sn.exec("a")) === null || _e === void 0 ? void 0 : _e[0]) === "a";
2532
+ var an = Nt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2533
+ Le = ((Te = an.exec("a")) === null || Te === void 0 ? void 0 : Te[0]) === "a";
2528
2534
  } catch (e) {
2529
- Ne = !1;
2535
+ Le = !1;
2530
2536
  }
2531
- var Ye = Qr ? (
2537
+ var et = Yr ? (
2532
2538
  // Native
2533
2539
  function(t, r, n) {
2534
2540
  return t.startsWith(r, n);
@@ -2538,7 +2544,7 @@ var Ye = Qr ? (
2538
2544
  function(t, r, n) {
2539
2545
  return t.slice(n, n + r.length) === r;
2540
2546
  }
2541
- ), Le = Jr ? String.fromCodePoint : (
2547
+ ), Ie = Kr ? String.fromCodePoint : (
2542
2548
  // IE11
2543
2549
  function() {
2544
2550
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2550,9 +2556,9 @@ var Ye = Qr ? (
2550
2556
  }
2551
2557
  return n;
2552
2558
  }
2553
- ), Ke = (
2559
+ ), tt = (
2554
2560
  // native
2555
- Yr ? Object.fromEntries : (
2561
+ en ? Object.fromEntries : (
2556
2562
  // Ponyfill
2557
2563
  function(t) {
2558
2564
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2562,7 +2568,7 @@ var Ye = Qr ? (
2562
2568
  return r;
2563
2569
  }
2564
2570
  )
2565
- ), Pt = Kr ? (
2571
+ ), wt = tn ? (
2566
2572
  // Native
2567
2573
  function(t, r) {
2568
2574
  return t.codePointAt(r);
@@ -2576,7 +2582,7 @@ var Ye = Qr ? (
2576
2582
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2577
2583
  }
2578
2584
  }
2579
- ), on = en ? (
2585
+ ), un = rn ? (
2580
2586
  // Native
2581
2587
  function(t) {
2582
2588
  return t.trimStart();
@@ -2584,9 +2590,9 @@ var Ye = Qr ? (
2584
2590
  ) : (
2585
2591
  // Ponyfill
2586
2592
  function(t) {
2587
- return t.replace(Zr, "");
2593
+ return t.replace(Qr, "");
2588
2594
  }
2589
- ), an = tn ? (
2595
+ ), hn = nn ? (
2590
2596
  // Native
2591
2597
  function(t) {
2592
2598
  return t.trimEnd();
@@ -2594,32 +2600,32 @@ var Ye = Qr ? (
2594
2600
  ) : (
2595
2601
  // Ponyfill
2596
2602
  function(t) {
2597
- return t.replace(qr, "");
2603
+ return t.replace(Jr, "");
2598
2604
  }
2599
2605
  );
2600
- function At(e, t) {
2606
+ function Nt(e, t) {
2601
2607
  return new RegExp(e, t);
2602
2608
  }
2603
- var Oe;
2604
- if (Ne) {
2605
- var et = At("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2606
- Oe = function(t, r) {
2609
+ var Ce;
2610
+ if (Le) {
2611
+ var rt = Nt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2612
+ Ce = function(t, r) {
2607
2613
  var n;
2608
- et.lastIndex = r;
2609
- var i = et.exec(t);
2614
+ rt.lastIndex = r;
2615
+ var i = rt.exec(t);
2610
2616
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2611
2617
  };
2612
2618
  } else
2613
- Oe = function(t, r) {
2619
+ Ce = function(t, r) {
2614
2620
  for (var n = []; ; ) {
2615
- var i = Pt(t, r);
2616
- if (i === void 0 || wt(i) || cn(i))
2621
+ var i = wt(t, r);
2622
+ if (i === void 0 || Ot(i) || mn(i))
2617
2623
  break;
2618
2624
  n.push(i), r += i >= 65536 ? 2 : 1;
2619
2625
  }
2620
- return Le.apply(void 0, n);
2626
+ return Ie.apply(void 0, n);
2621
2627
  };
2622
- var un = (
2628
+ var ln = (
2623
2629
  /** @class */
2624
2630
  function() {
2625
2631
  function e(t, r) {
@@ -2643,14 +2649,14 @@ var un = (
2643
2649
  if (s === 35 && (r === "plural" || r === "selectordinal")) {
2644
2650
  var u = this.clonePosition();
2645
2651
  this.bump(), i.push({
2646
- type: x.pound,
2652
+ type: y.pound,
2647
2653
  location: g(u, this.clonePosition())
2648
2654
  });
2649
2655
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2650
2656
  if (n)
2651
2657
  break;
2652
2658
  return this.error(p.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
2653
- } else if (s === 60 && !this.ignoreTag && Ie(this.peek() || 0)) {
2659
+ } else if (s === 60 && !this.ignoreTag && $e(this.peek() || 0)) {
2654
2660
  var a = this.parseTag(t, r);
2655
2661
  if (a.err)
2656
2662
  return a;
@@ -2671,7 +2677,7 @@ var un = (
2671
2677
  if (this.bumpSpace(), this.bumpIf("/>"))
2672
2678
  return {
2673
2679
  val: {
2674
- type: x.literal,
2680
+ type: y.literal,
2675
2681
  value: "<".concat(i, "/>"),
2676
2682
  location: g(n, this.clonePosition())
2677
2683
  },
@@ -2683,12 +2689,12 @@ var un = (
2683
2689
  return s;
2684
2690
  var a = s.val, u = this.clonePosition();
2685
2691
  if (this.bumpIf("</")) {
2686
- if (this.isEOF() || !Ie(this.char()))
2692
+ if (this.isEOF() || !$e(this.char()))
2687
2693
  return this.error(p.INVALID_TAG, g(u, this.clonePosition()));
2688
2694
  var h = this.clonePosition(), o = this.parseTagName();
2689
2695
  return i !== o ? this.error(p.UNMATCHED_CLOSING_TAG, g(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2690
2696
  val: {
2691
- type: x.tag,
2697
+ type: y.tag,
2692
2698
  value: i,
2693
2699
  children: a,
2694
2700
  location: g(n, this.clonePosition())
@@ -2701,7 +2707,7 @@ var un = (
2701
2707
  return this.error(p.INVALID_TAG, g(n, this.clonePosition()));
2702
2708
  }, e.prototype.parseTagName = function() {
2703
2709
  var t = this.offset();
2704
- for (this.bump(); !this.isEOF() && ln(this.char()); )
2710
+ for (this.bump(); !this.isEOF() && fn(this.char()); )
2705
2711
  this.bump();
2706
2712
  return this.message.slice(t, this.offset());
2707
2713
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2725,12 +2731,12 @@ var un = (
2725
2731
  }
2726
2732
  var h = g(n, this.clonePosition());
2727
2733
  return {
2728
- val: { type: x.literal, value: i, location: h },
2734
+ val: { type: y.literal, value: i, location: h },
2729
2735
  err: null
2730
2736
  };
2731
2737
  }, e.prototype.tryParseLeftAngleBracket = function() {
2732
2738
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2733
- !hn(this.peek() || 0)) ? (this.bump(), "<") : null;
2739
+ !cn(this.peek() || 0)) ? (this.bump(), "<") : null;
2734
2740
  }, e.prototype.tryParseQuote = function(t) {
2735
2741
  if (this.isEOF() || this.char() !== 39)
2736
2742
  return null;
@@ -2764,12 +2770,12 @@ var un = (
2764
2770
  r.push(n);
2765
2771
  this.bump();
2766
2772
  }
2767
- return Le.apply(void 0, r);
2773
+ return Ie.apply(void 0, r);
2768
2774
  }, e.prototype.tryParseUnquoted = function(t, r) {
2769
2775
  if (this.isEOF())
2770
2776
  return null;
2771
2777
  var n = this.char();
2772
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Le(n));
2778
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ie(n));
2773
2779
  }, e.prototype.parseArgument = function(t, r) {
2774
2780
  var n = this.clonePosition();
2775
2781
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -2785,7 +2791,7 @@ var un = (
2785
2791
  case 125:
2786
2792
  return this.bump(), {
2787
2793
  val: {
2788
- type: x.argument,
2794
+ type: y.argument,
2789
2795
  // value does not include the opening and closing braces.
2790
2796
  value: i,
2791
2797
  location: g(n, this.clonePosition())
@@ -2798,7 +2804,7 @@ var un = (
2798
2804
  return this.error(p.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
2799
2805
  }
2800
2806
  }, e.prototype.parseIdentifierIfPossible = function() {
2801
- var t = this.clonePosition(), r = this.offset(), n = Oe(this.message, r), i = r + n.length;
2807
+ var t = this.clonePosition(), r = this.offset(), n = Ce(this.message, r), i = r + n.length;
2802
2808
  this.bumpTo(i);
2803
2809
  var s = this.clonePosition(), a = g(t, s);
2804
2810
  return { value: n, location: a };
@@ -2817,44 +2823,44 @@ var un = (
2817
2823
  var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2818
2824
  if (c.err)
2819
2825
  return c;
2820
- var f = an(c.val);
2826
+ var f = hn(c.val);
2821
2827
  if (f.length === 0)
2822
2828
  return this.error(p.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
2823
- var b = g(l, this.clonePosition());
2824
- o = { style: f, styleLocation: b };
2829
+ var d = g(l, this.clonePosition());
2830
+ o = { style: f, styleLocation: d };
2825
2831
  }
2826
- var y = this.tryParseArgumentClose(i);
2827
- if (y.err)
2828
- return y;
2832
+ var b = this.tryParseArgumentClose(i);
2833
+ if (b.err)
2834
+ return b;
2829
2835
  var m = g(i, this.clonePosition());
2830
- if (o && Ye(o == null ? void 0 : o.style, "::", 0)) {
2831
- var E = on(o.style.slice(2));
2836
+ if (o && et(o == null ? void 0 : o.style, "::", 0)) {
2837
+ var E = un(o.style.slice(2));
2832
2838
  if (u === "number") {
2833
2839
  var c = this.parseNumberSkeletonFromString(E, o.styleLocation);
2834
2840
  return c.err ? c : {
2835
- val: { type: x.number, value: n, location: m, style: c.val },
2841
+ val: { type: y.number, value: n, location: m, style: c.val },
2836
2842
  err: null
2837
2843
  };
2838
2844
  } else {
2839
2845
  if (E.length === 0)
2840
2846
  return this.error(p.EXPECT_DATE_TIME_SKELETON, m);
2841
2847
  var P = E;
2842
- this.locale && (P = zr(E, this.locale));
2848
+ this.locale && (P = Zr(E, this.locale));
2843
2849
  var f = {
2844
- type: V.dateTime,
2850
+ type: k.dateTime,
2845
2851
  pattern: P,
2846
2852
  location: o.styleLocation,
2847
- parsedOptions: this.shouldParseSkeletons ? Ur(P) : {}
2848
- }, B = u === "date" ? x.date : x.time;
2853
+ parsedOptions: this.shouldParseSkeletons ? Fr(P) : {}
2854
+ }, S = u === "date" ? y.date : y.time;
2849
2855
  return {
2850
- val: { type: B, value: n, location: m, style: f },
2856
+ val: { type: S, value: n, location: m, style: f },
2851
2857
  err: null
2852
2858
  };
2853
2859
  }
2854
2860
  }
2855
2861
  return {
2856
2862
  val: {
2857
- type: u === "number" ? x.number : u === "date" ? x.date : x.time,
2863
+ type: u === "number" ? y.number : u === "date" ? y.date : y.time,
2858
2864
  value: n,
2859
2865
  location: m,
2860
2866
  style: (s = o == null ? void 0 : o.style) !== null && s !== void 0 ? s : null
@@ -2867,7 +2873,7 @@ var un = (
2867
2873
  case "select": {
2868
2874
  var H = this.clonePosition();
2869
2875
  if (this.bumpSpace(), !this.bumpIf(","))
2870
- return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, g(H, d({}, H)));
2876
+ return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, g(H, he({}, H)));
2871
2877
  this.bumpSpace();
2872
2878
  var L = this.parseIdentifierIfPossible(), A = 0;
2873
2879
  if (u !== "select" && L.value === "offset") {
@@ -2879,26 +2885,26 @@ var un = (
2879
2885
  return c;
2880
2886
  this.bumpSpace(), L = this.parseIdentifierIfPossible(), A = c.val;
2881
2887
  }
2882
- var I = this.tryParsePluralOrSelectOptions(t, u, r, L);
2883
- if (I.err)
2884
- return I;
2885
- var y = this.tryParseArgumentClose(i);
2886
- if (y.err)
2887
- return y;
2888
+ var C = this.tryParsePluralOrSelectOptions(t, u, r, L);
2889
+ if (C.err)
2890
+ return C;
2891
+ var b = this.tryParseArgumentClose(i);
2892
+ if (b.err)
2893
+ return b;
2888
2894
  var N = g(i, this.clonePosition());
2889
2895
  return u === "select" ? {
2890
2896
  val: {
2891
- type: x.select,
2897
+ type: y.select,
2892
2898
  value: n,
2893
- options: Ke(I.val),
2899
+ options: tt(C.val),
2894
2900
  location: N
2895
2901
  },
2896
2902
  err: null
2897
2903
  } : {
2898
2904
  val: {
2899
- type: x.plural,
2905
+ type: y.plural,
2900
2906
  value: n,
2901
- options: Ke(I.val),
2907
+ options: tt(C.val),
2902
2908
  offset: A,
2903
2909
  pluralType: u === "plural" ? "cardinal" : "ordinal",
2904
2910
  location: N
@@ -2949,16 +2955,16 @@ var un = (
2949
2955
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2950
2956
  var n = [];
2951
2957
  try {
2952
- n = Fr(t);
2958
+ n = Vr(t);
2953
2959
  } catch (i) {
2954
2960
  return this.error(p.INVALID_NUMBER_SKELETON, r);
2955
2961
  }
2956
2962
  return {
2957
2963
  val: {
2958
- type: V.number,
2964
+ type: k.number,
2959
2965
  tokens: n,
2960
2966
  location: r,
2961
- parsedOptions: this.shouldParseSkeletons ? Xr(n) : {}
2967
+ parsedOptions: this.shouldParseSkeletons ? Wr(n) : {}
2962
2968
  },
2963
2969
  err: null
2964
2970
  };
@@ -2977,20 +2983,20 @@ var un = (
2977
2983
  if (h.has(o))
2978
2984
  return this.error(r === "select" ? p.DUPLICATE_SELECT_ARGUMENT_SELECTOR : p.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
2979
2985
  o === "other" && (a = !0), this.bumpSpace();
2980
- var b = this.clonePosition();
2986
+ var d = this.clonePosition();
2981
2987
  if (!this.bumpIf("{"))
2982
2988
  return this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
2983
- var y = this.parseMessage(t + 1, r, n);
2984
- if (y.err)
2985
- return y;
2986
- var m = this.tryParseArgumentClose(b);
2989
+ var b = this.parseMessage(t + 1, r, n);
2990
+ if (b.err)
2991
+ return b;
2992
+ var m = this.tryParseArgumentClose(d);
2987
2993
  if (m.err)
2988
2994
  return m;
2989
2995
  u.push([
2990
2996
  o,
2991
2997
  {
2992
- value: y.val,
2993
- location: g(b, this.clonePosition())
2998
+ value: b.val,
2999
+ location: g(d, this.clonePosition())
2994
3000
  }
2995
3001
  ]), h.add(o), this.bumpSpace(), s = this.parseIdentifierIfPossible(), o = s.value, l = s.location;
2996
3002
  }
@@ -3006,7 +3012,7 @@ var un = (
3006
3012
  break;
3007
3013
  }
3008
3014
  var h = g(i, this.clonePosition());
3009
- return s ? (a *= n, nn(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
3015
+ return s ? (a *= n, on(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
3010
3016
  }, e.prototype.offset = function() {
3011
3017
  return this.position.offset;
3012
3018
  }, e.prototype.isEOF = function() {
@@ -3021,7 +3027,7 @@ var un = (
3021
3027
  var t = this.position.offset;
3022
3028
  if (t >= this.message.length)
3023
3029
  throw Error("out of bound");
3024
- var r = Pt(this.message, t);
3030
+ var r = wt(this.message, t);
3025
3031
  if (r === void 0)
3026
3032
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3027
3033
  return r;
@@ -3040,7 +3046,7 @@ var un = (
3040
3046
  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);
3041
3047
  }
3042
3048
  }, e.prototype.bumpIf = function(t) {
3043
- if (Ye(this.message, t, this.offset())) {
3049
+ if (et(this.message, t, this.offset())) {
3044
3050
  for (var r = 0; r < t.length; r++)
3045
3051
  this.bump();
3046
3052
  return !0;
@@ -3062,7 +3068,7 @@ var un = (
3062
3068
  break;
3063
3069
  }
3064
3070
  }, e.prototype.bumpSpace = function() {
3065
- for (; !this.isEOF() && wt(this.char()); )
3071
+ for (; !this.isEOF() && Ot(this.char()); )
3066
3072
  this.bump();
3067
3073
  }, e.prototype.peek = function() {
3068
3074
  if (this.isEOF())
@@ -3072,47 +3078,47 @@ var un = (
3072
3078
  }, e;
3073
3079
  }()
3074
3080
  );
3075
- function Ie(e) {
3081
+ function $e(e) {
3076
3082
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3077
3083
  }
3078
- function hn(e) {
3079
- return Ie(e) || e === 47;
3084
+ function cn(e) {
3085
+ return $e(e) || e === 47;
3080
3086
  }
3081
- function ln(e) {
3087
+ function fn(e) {
3082
3088
  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;
3083
3089
  }
3084
- function wt(e) {
3090
+ function Ot(e) {
3085
3091
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3086
3092
  }
3087
- function cn(e) {
3093
+ function mn(e) {
3088
3094
  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;
3089
3095
  }
3090
- function Ce(e) {
3096
+ function Me(e) {
3091
3097
  e.forEach(function(t) {
3092
- if (delete t.location, xt(t) || vt(t))
3098
+ if (delete t.location, Et(t) || _t(t))
3093
3099
  for (var r in t.options)
3094
- delete t.options[r].location, Ce(t.options[r].value);
3100
+ delete t.options[r].location, Me(t.options[r].value);
3095
3101
  else
3096
- dt(t) && _t(t.style) || (bt(t) || yt(t)) && we(t.style) ? delete t.style.location : Et(t) && Ce(t.children);
3102
+ yt(t) && Tt(t.style) || (xt(t) || vt(t)) && Oe(t.style) ? delete t.style.location : Ht(t) && Me(t.children);
3097
3103
  });
3098
3104
  }
3099
- function fn(e, t) {
3100
- t === void 0 && (t = {}), t = d({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3101
- var r = new un(e, t).parse();
3105
+ function pn(e, t) {
3106
+ t === void 0 && (t = {}), t = he({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3107
+ var r = new ln(e, t).parse();
3102
3108
  if (r.err) {
3103
3109
  var n = SyntaxError(p[r.err.kind]);
3104
3110
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3105
3111
  }
3106
- return t != null && t.captureLocation || Ce(r.val), r.val;
3112
+ return t != null && t.captureLocation || Me(r.val), r.val;
3107
3113
  }
3108
- var k;
3114
+ var X;
3109
3115
  (function(e) {
3110
3116
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3111
- })(k || (k = {}));
3112
- var fe = (
3117
+ })(X || (X = {}));
3118
+ var pe = (
3113
3119
  /** @class */
3114
3120
  function(e) {
3115
- ce(t, e);
3121
+ me(t, e);
3116
3122
  function t(r, n, i) {
3117
3123
  var s = e.call(this, r) || this;
3118
3124
  return s.code = n, s.originalMessage = i, s;
@@ -3121,48 +3127,48 @@ var fe = (
3121
3127
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3122
3128
  }, t;
3123
3129
  }(Error)
3124
- ), tt = (
3130
+ ), nt = (
3125
3131
  /** @class */
3126
3132
  function(e) {
3127
- ce(t, e);
3133
+ me(t, e);
3128
3134
  function t(r, n, i, s) {
3129
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), k.INVALID_VALUE, s) || this;
3135
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), X.INVALID_VALUE, s) || this;
3130
3136
  }
3131
3137
  return t;
3132
- }(fe)
3133
- ), mn = (
3138
+ }(pe)
3139
+ ), gn = (
3134
3140
  /** @class */
3135
3141
  function(e) {
3136
- ce(t, e);
3142
+ me(t, e);
3137
3143
  function t(r, n, i) {
3138
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), k.INVALID_VALUE, i) || this;
3144
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), X.INVALID_VALUE, i) || this;
3139
3145
  }
3140
3146
  return t;
3141
- }(fe)
3142
- ), pn = (
3147
+ }(pe)
3148
+ ), dn = (
3143
3149
  /** @class */
3144
3150
  function(e) {
3145
- ce(t, e);
3151
+ me(t, e);
3146
3152
  function t(r, n) {
3147
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), k.MISSING_VALUE, n) || this;
3153
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), X.MISSING_VALUE, n) || this;
3148
3154
  }
3149
3155
  return t;
3150
- }(fe)
3156
+ }(pe)
3151
3157
  ), T;
3152
3158
  (function(e) {
3153
3159
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3154
3160
  })(T || (T = {}));
3155
- function gn(e) {
3161
+ function bn(e) {
3156
3162
  return e.length < 2 ? e : e.reduce(function(t, r) {
3157
3163
  var n = t[t.length - 1];
3158
3164
  return !n || n.type !== T.literal || r.type !== T.literal ? t.push(r) : n.value += r.value, t;
3159
3165
  }, []);
3160
3166
  }
3161
- function dn(e) {
3167
+ function yn(e) {
3162
3168
  return typeof e == "function";
3163
3169
  }
3164
- function oe(e, t, r, n, i, s, a) {
3165
- if (e.length === 1 && Ze(e[0]))
3170
+ function ae(e, t, r, n, i, s, a) {
3171
+ if (e.length === 1 && Qe(e[0]))
3166
3172
  return [
3167
3173
  {
3168
3174
  type: T.literal,
@@ -3171,14 +3177,14 @@ function oe(e, t, r, n, i, s, a) {
3171
3177
  ];
3172
3178
  for (var u = [], h = 0, o = e; h < o.length; h++) {
3173
3179
  var l = o[h];
3174
- if (Ze(l)) {
3180
+ if (Qe(l)) {
3175
3181
  u.push({
3176
3182
  type: T.literal,
3177
3183
  value: l.value
3178
3184
  });
3179
3185
  continue;
3180
3186
  }
3181
- if (Rr(l)) {
3187
+ if (Ur(l)) {
3182
3188
  typeof s == "number" && u.push({
3183
3189
  type: T.literal,
3184
3190
  value: r.getNumberFormat(t).format(s)
@@ -3187,89 +3193,89 @@ function oe(e, t, r, n, i, s, a) {
3187
3193
  }
3188
3194
  var c = l.value;
3189
3195
  if (!(i && c in i))
3190
- throw new pn(c, a);
3196
+ throw new dn(c, a);
3191
3197
  var f = i[c];
3192
- if (Mr(l)) {
3198
+ if (Dr(l)) {
3193
3199
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), u.push({
3194
3200
  type: typeof f == "string" ? T.literal : T.object,
3195
3201
  value: f
3196
3202
  });
3197
3203
  continue;
3198
3204
  }
3199
- if (bt(l)) {
3200
- var b = typeof l.style == "string" ? n.date[l.style] : we(l.style) ? l.style.parsedOptions : void 0;
3205
+ if (xt(l)) {
3206
+ var d = typeof l.style == "string" ? n.date[l.style] : Oe(l.style) ? l.style.parsedOptions : void 0;
3201
3207
  u.push({
3202
3208
  type: T.literal,
3203
- value: r.getDateTimeFormat(t, b).format(f)
3209
+ value: r.getDateTimeFormat(t, d).format(f)
3204
3210
  });
3205
3211
  continue;
3206
3212
  }
3207
- if (yt(l)) {
3208
- var b = typeof l.style == "string" ? n.time[l.style] : we(l.style) ? l.style.parsedOptions : n.time.medium;
3213
+ if (vt(l)) {
3214
+ var d = typeof l.style == "string" ? n.time[l.style] : Oe(l.style) ? l.style.parsedOptions : n.time.medium;
3209
3215
  u.push({
3210
3216
  type: T.literal,
3211
- value: r.getDateTimeFormat(t, b).format(f)
3217
+ value: r.getDateTimeFormat(t, d).format(f)
3212
3218
  });
3213
3219
  continue;
3214
3220
  }
3215
- if (dt(l)) {
3216
- var b = typeof l.style == "string" ? n.number[l.style] : _t(l.style) ? l.style.parsedOptions : void 0;
3217
- b && b.scale && (f = f * (b.scale || 1)), u.push({
3221
+ if (yt(l)) {
3222
+ var d = typeof l.style == "string" ? n.number[l.style] : Tt(l.style) ? l.style.parsedOptions : void 0;
3223
+ d && d.scale && (f = f * (d.scale || 1)), u.push({
3218
3224
  type: T.literal,
3219
- value: r.getNumberFormat(t, b).format(f)
3225
+ value: r.getNumberFormat(t, d).format(f)
3220
3226
  });
3221
3227
  continue;
3222
3228
  }
3223
- if (Et(l)) {
3224
- var y = l.children, m = l.value, E = i[m];
3225
- if (!dn(E))
3226
- throw new mn(m, "function", a);
3227
- var P = oe(y, t, r, n, i, s), B = E(P.map(function(A) {
3229
+ if (Ht(l)) {
3230
+ var b = l.children, m = l.value, E = i[m];
3231
+ if (!yn(E))
3232
+ throw new gn(m, "function", a);
3233
+ var P = ae(b, t, r, n, i, s), S = E(P.map(function(A) {
3228
3234
  return A.value;
3229
3235
  }));
3230
- Array.isArray(B) || (B = [B]), u.push.apply(u, B.map(function(A) {
3236
+ Array.isArray(S) || (S = [S]), u.push.apply(u, S.map(function(A) {
3231
3237
  return {
3232
3238
  type: typeof A == "string" ? T.literal : T.object,
3233
3239
  value: A
3234
3240
  };
3235
3241
  }));
3236
3242
  }
3237
- if (xt(l)) {
3243
+ if (Et(l)) {
3238
3244
  var H = l.options[f] || l.options.other;
3239
3245
  if (!H)
3240
- throw new tt(l.value, f, Object.keys(l.options), a);
3241
- u.push.apply(u, oe(H.value, t, r, n, i));
3246
+ throw new nt(l.value, f, Object.keys(l.options), a);
3247
+ u.push.apply(u, ae(H.value, t, r, n, i));
3242
3248
  continue;
3243
3249
  }
3244
- if (vt(l)) {
3250
+ if (_t(l)) {
3245
3251
  var H = l.options["=".concat(f)];
3246
3252
  if (!H) {
3247
3253
  if (!Intl.PluralRules)
3248
- throw new fe(`Intl.PluralRules is not available in this environment.
3254
+ throw new pe(`Intl.PluralRules is not available in this environment.
3249
3255
  Try polyfilling it using "@formatjs/intl-pluralrules"
3250
- `, k.MISSING_INTL_API, a);
3256
+ `, X.MISSING_INTL_API, a);
3251
3257
  var L = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
3252
3258
  H = l.options[L] || l.options.other;
3253
3259
  }
3254
3260
  if (!H)
3255
- throw new tt(l.value, f, Object.keys(l.options), a);
3256
- u.push.apply(u, oe(H.value, t, r, n, i, f - (l.offset || 0)));
3261
+ throw new nt(l.value, f, Object.keys(l.options), a);
3262
+ u.push.apply(u, ae(H.value, t, r, n, i, f - (l.offset || 0)));
3257
3263
  continue;
3258
3264
  }
3259
3265
  }
3260
- return gn(u);
3266
+ return bn(u);
3261
3267
  }
3262
- function bn(e, t) {
3263
- return t ? d(d(d({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3264
- return r[n] = d(d({}, e[n]), t[n] || {}), r;
3268
+ function xn(e, t) {
3269
+ return t ? O(O(O({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3270
+ return r[n] = O(O({}, e[n]), t[n] || {}), r;
3265
3271
  }, {})) : e;
3266
3272
  }
3267
- function yn(e, t) {
3273
+ function vn(e, t) {
3268
3274
  return t ? Object.keys(e).reduce(function(r, n) {
3269
- return r[n] = bn(e[n], t[n]), r;
3270
- }, d({}, e)) : e;
3275
+ return r[n] = xn(e[n], t[n]), r;
3276
+ }, O({}, e)) : e;
3271
3277
  }
3272
- function He(e) {
3278
+ function Se(e) {
3273
3279
  return {
3274
3280
  create: function() {
3275
3281
  return {
@@ -3283,39 +3289,39 @@ function He(e) {
3283
3289
  }
3284
3290
  };
3285
3291
  }
3286
- function xn(e) {
3292
+ function En(e) {
3287
3293
  return e === void 0 && (e = {
3288
3294
  number: {},
3289
3295
  dateTime: {},
3290
3296
  pluralRules: {}
3291
3297
  }), {
3292
- getNumberFormat: ve(function() {
3298
+ getNumberFormat: _e(function() {
3293
3299
  for (var t, r = [], n = 0; n < arguments.length; n++)
3294
3300
  r[n] = arguments[n];
3295
- return new ((t = Intl.NumberFormat).bind.apply(t, xe([void 0], r, !1)))();
3301
+ return new ((t = Intl.NumberFormat).bind.apply(t, Ee([void 0], r, !1)))();
3296
3302
  }, {
3297
- cache: He(e.number),
3298
- strategy: Ee.variadic
3303
+ cache: Se(e.number),
3304
+ strategy: He.variadic
3299
3305
  }),
3300
- getDateTimeFormat: ve(function() {
3306
+ getDateTimeFormat: _e(function() {
3301
3307
  for (var t, r = [], n = 0; n < arguments.length; n++)
3302
3308
  r[n] = arguments[n];
3303
- return new ((t = Intl.DateTimeFormat).bind.apply(t, xe([void 0], r, !1)))();
3309
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Ee([void 0], r, !1)))();
3304
3310
  }, {
3305
- cache: He(e.dateTime),
3306
- strategy: Ee.variadic
3311
+ cache: Se(e.dateTime),
3312
+ strategy: He.variadic
3307
3313
  }),
3308
- getPluralRules: ve(function() {
3314
+ getPluralRules: _e(function() {
3309
3315
  for (var t, r = [], n = 0; n < arguments.length; n++)
3310
3316
  r[n] = arguments[n];
3311
- return new ((t = Intl.PluralRules).bind.apply(t, xe([void 0], r, !1)))();
3317
+ return new ((t = Intl.PluralRules).bind.apply(t, Ee([void 0], r, !1)))();
3312
3318
  }, {
3313
- cache: He(e.pluralRules),
3314
- strategy: Ee.variadic
3319
+ cache: Se(e.pluralRules),
3320
+ strategy: He.variadic
3315
3321
  })
3316
3322
  };
3317
3323
  }
3318
- var vn = (
3324
+ var _n = (
3319
3325
  /** @class */
3320
3326
  function() {
3321
3327
  function e(t, r, n, i) {
@@ -3334,7 +3340,7 @@ var vn = (
3334
3340
  }, []);
3335
3341
  return l.length <= 1 ? l[0] || "" : l;
3336
3342
  }, this.formatToParts = function(h) {
3337
- return oe(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
3343
+ return ae(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
3338
3344
  }, this.resolvedOptions = function() {
3339
3345
  var h;
3340
3346
  return {
@@ -3347,13 +3353,13 @@ var vn = (
3347
3353
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3348
3354
  var a = i || {};
3349
3355
  a.formatters;
3350
- var u = Ar(a, ["formatters"]);
3351
- this.ast = e.__parse(t, d(d({}, u), { locale: this.resolvedLocale }));
3356
+ var u = Nr(a, ["formatters"]);
3357
+ this.ast = e.__parse(t, O(O({}, u), { locale: this.resolvedLocale }));
3352
3358
  } else
3353
3359
  this.ast = t;
3354
3360
  if (!Array.isArray(this.ast))
3355
3361
  throw new TypeError("A message must be provided as a String or AST.");
3356
- this.formats = yn(e.formats, n), this.formatters = i && i.formatters || xn(this.formatterCache);
3362
+ this.formats = vn(e.formats, n), this.formatters = i && i.formatters || En(this.formatterCache);
3357
3363
  }
3358
3364
  return Object.defineProperty(e, "defaultLocale", {
3359
3365
  get: function() {
@@ -3366,7 +3372,7 @@ var vn = (
3366
3372
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3367
3373
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3368
3374
  }
3369
- }, e.__parse = fn, e.formats = {
3375
+ }, e.__parse = pn, e.formats = {
3370
3376
  number: {
3371
3377
  integer: {
3372
3378
  maximumFractionDigits: 0
@@ -3427,7 +3433,7 @@ var vn = (
3427
3433
  }, e;
3428
3434
  }()
3429
3435
  );
3430
- function En(e, t) {
3436
+ function Hn(e, t) {
3431
3437
  if (t == null)
3432
3438
  return;
3433
3439
  if (t in e)
@@ -3448,92 +3454,92 @@ function En(e, t) {
3448
3454
  n = void 0;
3449
3455
  return n;
3450
3456
  }
3451
- const O = {}, _n = (e, t, r) => r && (t in O || (O[t] = {}), e in O[t] || (O[t][e] = r), r), Nt = (e, t) => {
3457
+ const I = {}, Tn = (e, t, r) => r && (t in I || (I[t] = {}), e in I[t] || (I[t][e] = r), r), Lt = (e, t) => {
3452
3458
  if (t == null)
3453
3459
  return;
3454
- if (t in O && e in O[t])
3455
- return O[t][e];
3456
- const r = me(t);
3460
+ if (t in I && e in I[t])
3461
+ return I[t][e];
3462
+ const r = ge(t);
3457
3463
  for (let n = 0; n < r.length; n++) {
3458
- const i = r[n], s = Tn(i, e);
3464
+ const i = r[n], s = Bn(i, e);
3459
3465
  if (s)
3460
- return _n(e, t, s);
3466
+ return Tn(e, t, s);
3461
3467
  }
3462
3468
  };
3463
- let Ue;
3464
- const re = le({});
3465
- function Hn(e) {
3466
- return Ue[e] || null;
3469
+ let Fe;
3470
+ const ne = fe({});
3471
+ function Sn(e) {
3472
+ return Fe[e] || null;
3467
3473
  }
3468
- function Lt(e) {
3469
- return e in Ue;
3474
+ function It(e) {
3475
+ return e in Fe;
3470
3476
  }
3471
- function Tn(e, t) {
3472
- if (!Lt(e))
3477
+ function Bn(e, t) {
3478
+ if (!It(e))
3473
3479
  return null;
3474
- const r = Hn(e);
3475
- return En(r, t);
3480
+ const r = Sn(e);
3481
+ return Hn(r, t);
3476
3482
  }
3477
- function Bn(e) {
3483
+ function Pn(e) {
3478
3484
  if (e == null)
3479
3485
  return;
3480
- const t = me(e);
3486
+ const t = ge(e);
3481
3487
  for (let r = 0; r < t.length; r++) {
3482
3488
  const n = t[r];
3483
- if (Lt(n))
3489
+ if (It(n))
3484
3490
  return n;
3485
3491
  }
3486
3492
  }
3487
- function Ot(e, ...t) {
3488
- delete O[e], re.update((r) => (r[e] = Pr.all([r[e] || {}, ...t]), r));
3493
+ function Ct(e, ...t) {
3494
+ delete I[e], ne.update((r) => (r[e] = wr.all([r[e] || {}, ...t]), r));
3489
3495
  }
3490
- z(
3491
- [re],
3496
+ W(
3497
+ [ne],
3492
3498
  ([e]) => Object.keys(e)
3493
3499
  );
3494
- re.subscribe((e) => Ue = e);
3495
- const ae = {};
3496
- function Sn(e, t) {
3497
- ae[e].delete(t), ae[e].size === 0 && delete ae[e];
3500
+ ne.subscribe((e) => Fe = e);
3501
+ const ue = {};
3502
+ function An(e, t) {
3503
+ ue[e].delete(t), ue[e].size === 0 && delete ue[e];
3498
3504
  }
3499
- function It(e) {
3500
- return ae[e];
3505
+ function $t(e) {
3506
+ return ue[e];
3501
3507
  }
3502
- function Pn(e) {
3503
- return me(e).map((t) => {
3504
- const r = It(t);
3508
+ function wn(e) {
3509
+ return ge(e).map((t) => {
3510
+ const r = $t(t);
3505
3511
  return [t, r ? [...r] : []];
3506
3512
  }).filter(([, t]) => t.length > 0);
3507
3513
  }
3508
- function $e(e) {
3509
- return e == null ? !1 : me(e).some(
3514
+ function Re(e) {
3515
+ return e == null ? !1 : ge(e).some(
3510
3516
  (t) => {
3511
3517
  var r;
3512
- return (r = It(t)) == null ? void 0 : r.size;
3518
+ return (r = $t(t)) == null ? void 0 : r.size;
3513
3519
  }
3514
3520
  );
3515
3521
  }
3516
- function An(e, t) {
3522
+ function Nn(e, t) {
3517
3523
  return Promise.all(
3518
- t.map((n) => (Sn(e, n), n().then((i) => i.default || i)))
3519
- ).then((n) => Ot(e, ...n));
3520
- }
3521
- const Q = {};
3522
- function Ct(e) {
3523
- if (!$e(e))
3524
- return e in Q ? Q[e] : Promise.resolve();
3525
- const t = Pn(e);
3526
- return Q[e] = Promise.all(
3524
+ t.map((n) => (An(e, n), n().then((i) => i.default || i)))
3525
+ ).then((n) => Ct(e, ...n));
3526
+ }
3527
+ const J = {};
3528
+ function Mt(e) {
3529
+ if (!Re(e))
3530
+ return e in J ? J[e] : Promise.resolve();
3531
+ const t = wn(e);
3532
+ return J[e] = Promise.all(
3527
3533
  t.map(
3528
- ([r, n]) => An(r, n)
3534
+ ([r, n]) => Nn(r, n)
3529
3535
  )
3530
3536
  ).then(() => {
3531
- if ($e(e))
3532
- return Ct(e);
3533
- delete Q[e];
3534
- }), Q[e];
3537
+ if (Re(e))
3538
+ return Mt(e);
3539
+ delete J[e];
3540
+ }), J[e];
3535
3541
  }
3536
- const wn = {
3542
+ const On = {
3537
3543
  number: {
3538
3544
  scientific: { notation: "scientific" },
3539
3545
  engineering: { notation: "engineering" },
@@ -3562,150 +3568,150 @@ const wn = {
3562
3568
  timeZoneName: "short"
3563
3569
  }
3564
3570
  }
3565
- }, Nn = {
3571
+ }, Ln = {
3566
3572
  fallbackLocale: null,
3567
3573
  loadingDelay: 200,
3568
- formats: wn,
3574
+ formats: On,
3569
3575
  warnOnMissingMessages: !0,
3570
3576
  handleMissingMessage: void 0,
3571
3577
  ignoreTag: !0
3572
- }, Ln = Nn;
3573
- function X() {
3574
- return Ln;
3578
+ }, In = Ln;
3579
+ function z() {
3580
+ return In;
3575
3581
  }
3576
- const Te = le(!1);
3577
- var On = Object.defineProperty, In = Object.defineProperties, Cn = Object.getOwnPropertyDescriptors, rt = Object.getOwnPropertySymbols, $n = Object.prototype.hasOwnProperty, Mn = Object.prototype.propertyIsEnumerable, nt = (e, t, r) => t in e ? On(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Rn = (e, t) => {
3582
+ const Be = fe(!1);
3583
+ var Cn = Object.defineProperty, $n = Object.defineProperties, Mn = Object.getOwnPropertyDescriptors, it = Object.getOwnPropertySymbols, Rn = Object.prototype.hasOwnProperty, Dn = Object.prototype.propertyIsEnumerable, st = (e, t, r) => t in e ? Cn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Un = (e, t) => {
3578
3584
  for (var r in t || (t = {}))
3579
- $n.call(t, r) && nt(e, r, t[r]);
3580
- if (rt)
3581
- for (var r of rt(t))
3582
- Mn.call(t, r) && nt(e, r, t[r]);
3585
+ Rn.call(t, r) && st(e, r, t[r]);
3586
+ if (it)
3587
+ for (var r of it(t))
3588
+ Dn.call(t, r) && st(e, r, t[r]);
3583
3589
  return e;
3584
- }, Dn = (e, t) => In(e, Cn(t));
3585
- let Me;
3586
- const ue = le(null);
3587
- function it(e) {
3590
+ }, Gn = (e, t) => $n(e, Mn(t));
3591
+ let De;
3592
+ const le = fe(null);
3593
+ function ot(e) {
3588
3594
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3589
3595
  }
3590
- function me(e, t = X().fallbackLocale) {
3591
- const r = it(e);
3592
- return t ? [.../* @__PURE__ */ new Set([...r, ...it(t)])] : r;
3596
+ function ge(e, t = z().fallbackLocale) {
3597
+ const r = ot(e);
3598
+ return t ? [.../* @__PURE__ */ new Set([...r, ...ot(t)])] : r;
3593
3599
  }
3594
- function M() {
3595
- return Me != null ? Me : void 0;
3600
+ function R() {
3601
+ return De != null ? De : void 0;
3596
3602
  }
3597
- ue.subscribe((e) => {
3598
- Me = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3603
+ le.subscribe((e) => {
3604
+ De = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3599
3605
  });
3600
- const Un = (e) => {
3601
- if (e && Bn(e) && $e(e)) {
3602
- const { loadingDelay: t } = X();
3606
+ const Fn = (e) => {
3607
+ if (e && Pn(e) && Re(e)) {
3608
+ const { loadingDelay: t } = z();
3603
3609
  let r;
3604
- return typeof window != "undefined" && M() != null && t ? r = window.setTimeout(
3605
- () => Te.set(!0),
3610
+ return typeof window != "undefined" && R() != null && t ? r = window.setTimeout(
3611
+ () => Be.set(!0),
3606
3612
  t
3607
- ) : Te.set(!0), Ct(e).then(() => {
3608
- ue.set(e);
3613
+ ) : Be.set(!0), Mt(e).then(() => {
3614
+ le.set(e);
3609
3615
  }).finally(() => {
3610
- clearTimeout(r), Te.set(!1);
3616
+ clearTimeout(r), Be.set(!1);
3611
3617
  });
3612
3618
  }
3613
- return ue.set(e);
3614
- }, W = Dn(Rn({}, ue), {
3615
- set: Un
3616
- }), pe = (e) => {
3619
+ return le.set(e);
3620
+ }, Z = Gn(Un({}, le), {
3621
+ set: Fn
3622
+ }), de = (e) => {
3617
3623
  const t = /* @__PURE__ */ Object.create(null);
3618
3624
  return (n) => {
3619
3625
  const i = JSON.stringify(n);
3620
3626
  return i in t ? t[i] : t[i] = e(n);
3621
3627
  };
3622
3628
  };
3623
- var Gn = Object.defineProperty, he = Object.getOwnPropertySymbols, $t = Object.prototype.hasOwnProperty, Mt = Object.prototype.propertyIsEnumerable, st = (e, t, r) => t in e ? Gn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ge = (e, t) => {
3629
+ var jn = Object.defineProperty, ce = Object.getOwnPropertySymbols, Rt = Object.prototype.hasOwnProperty, Dt = Object.prototype.propertyIsEnumerable, at = (e, t, r) => t in e ? jn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, je = (e, t) => {
3624
3630
  for (var r in t || (t = {}))
3625
- $t.call(t, r) && st(e, r, t[r]);
3626
- if (he)
3627
- for (var r of he(t))
3628
- Mt.call(t, r) && st(e, r, t[r]);
3631
+ Rt.call(t, r) && at(e, r, t[r]);
3632
+ if (ce)
3633
+ for (var r of ce(t))
3634
+ Dt.call(t, r) && at(e, r, t[r]);
3629
3635
  return e;
3630
- }, Z = (e, t) => {
3636
+ }, q = (e, t) => {
3631
3637
  var r = {};
3632
3638
  for (var n in e)
3633
- $t.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3634
- if (e != null && he)
3635
- for (var n of he(e))
3636
- t.indexOf(n) < 0 && Mt.call(e, n) && (r[n] = e[n]);
3639
+ Rt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3640
+ if (e != null && ce)
3641
+ for (var n of ce(e))
3642
+ t.indexOf(n) < 0 && Dt.call(e, n) && (r[n] = e[n]);
3637
3643
  return r;
3638
3644
  };
3639
- const ee = (e, t) => {
3640
- const { formats: r } = X();
3645
+ const te = (e, t) => {
3646
+ const { formats: r } = z();
3641
3647
  if (e in r && t in r[e])
3642
3648
  return r[e][t];
3643
3649
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3644
- }, Fn = pe(
3650
+ }, Vn = de(
3645
3651
  (e) => {
3646
- var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
3652
+ var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
3647
3653
  if (r == null)
3648
3654
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3649
- return n && (i = ee("number", n)), new Intl.NumberFormat(r, i);
3655
+ return n && (i = te("number", n)), new Intl.NumberFormat(r, i);
3650
3656
  }
3651
- ), jn = pe(
3657
+ ), kn = de(
3652
3658
  (e) => {
3653
- var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
3659
+ var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
3654
3660
  if (r == null)
3655
3661
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3656
- return n ? i = ee("date", n) : Object.keys(i).length === 0 && (i = ee("date", "short")), new Intl.DateTimeFormat(r, i);
3662
+ return n ? i = te("date", n) : Object.keys(i).length === 0 && (i = te("date", "short")), new Intl.DateTimeFormat(r, i);
3657
3663
  }
3658
- ), Vn = pe(
3664
+ ), Xn = de(
3659
3665
  (e) => {
3660
- var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
3666
+ var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
3661
3667
  if (r == null)
3662
3668
  throw new Error(
3663
3669
  '[svelte-i18n] A "locale" must be set to format time values'
3664
3670
  );
3665
- return n ? i = ee("time", n) : Object.keys(i).length === 0 && (i = ee("time", "short")), new Intl.DateTimeFormat(r, i);
3671
+ return n ? i = te("time", n) : Object.keys(i).length === 0 && (i = te("time", "short")), new Intl.DateTimeFormat(r, i);
3666
3672
  }
3667
- ), kn = (e = {}) => {
3673
+ ), zn = (e = {}) => {
3668
3674
  var t = e, {
3669
- locale: r = M()
3670
- } = t, n = Z(t, [
3675
+ locale: r = R()
3676
+ } = t, n = q(t, [
3671
3677
  "locale"
3672
3678
  ]);
3673
- return Fn(Ge({ locale: r }, n));
3674
- }, Xn = (e = {}) => {
3679
+ return Vn(je({ locale: r }, n));
3680
+ }, Wn = (e = {}) => {
3675
3681
  var t = e, {
3676
- locale: r = M()
3677
- } = t, n = Z(t, [
3682
+ locale: r = R()
3683
+ } = t, n = q(t, [
3678
3684
  "locale"
3679
3685
  ]);
3680
- return jn(Ge({ locale: r }, n));
3681
- }, zn = (e = {}) => {
3686
+ return kn(je({ locale: r }, n));
3687
+ }, Zn = (e = {}) => {
3682
3688
  var t = e, {
3683
- locale: r = M()
3684
- } = t, n = Z(t, [
3689
+ locale: r = R()
3690
+ } = t, n = q(t, [
3685
3691
  "locale"
3686
3692
  ]);
3687
- return Vn(Ge({ locale: r }, n));
3688
- }, Wn = pe(
3693
+ return Xn(je({ locale: r }, n));
3694
+ }, qn = de(
3689
3695
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3690
- (e, t = M()) => new vn(e, t, X().formats, {
3691
- ignoreTag: X().ignoreTag
3696
+ (e, t = R()) => new _n(e, t, z().formats, {
3697
+ ignoreTag: z().ignoreTag
3692
3698
  })
3693
- ), Zn = (e, t = {}) => {
3699
+ ), Qn = (e, t = {}) => {
3694
3700
  var r, n, i, s;
3695
3701
  let a = t;
3696
3702
  typeof e == "object" && (a = e, e = a.id);
3697
3703
  const {
3698
3704
  values: u,
3699
- locale: h = M(),
3705
+ locale: h = R(),
3700
3706
  default: o
3701
3707
  } = a;
3702
3708
  if (h == null)
3703
3709
  throw new Error(
3704
3710
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3705
3711
  );
3706
- let l = Nt(e, h);
3712
+ let l = Lt(e, h);
3707
3713
  if (!l)
3708
- l = (s = (i = (n = (r = X()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: o })) != null ? i : o) != null ? s : e;
3714
+ l = (s = (i = (n = (r = z()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: o })) != null ? i : o) != null ? s : e;
3709
3715
  else if (typeof l != "string")
3710
3716
  return console.warn(
3711
3717
  `[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.`
@@ -3714,7 +3720,7 @@ const ee = (e, t) => {
3714
3720
  return l;
3715
3721
  let c = l;
3716
3722
  try {
3717
- c = Wn(l, h).format(u);
3723
+ c = qn(l, h).format(u);
3718
3724
  } catch (f) {
3719
3725
  f instanceof Error && console.warn(
3720
3726
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3722,18 +3728,18 @@ const ee = (e, t) => {
3722
3728
  );
3723
3729
  }
3724
3730
  return c;
3725
- }, qn = (e, t) => zn(t).format(e), Qn = (e, t) => Xn(t).format(e), Jn = (e, t) => kn(t).format(e), Yn = (e, t = M()) => Nt(e, t), Kn = z([W, re], () => Zn);
3726
- z([W], () => qn);
3727
- z([W], () => Qn);
3728
- z([W], () => Jn);
3729
- z([W, re], () => Yn);
3730
- function ot(e, t) {
3731
- Ot(e, t);
3732
- }
3733
- function ei(e) {
3734
- W.set(e);
3735
- }
3736
- const at = {
3731
+ }, Jn = (e, t) => Zn(t).format(e), Yn = (e, t) => Wn(t).format(e), Kn = (e, t) => zn(t).format(e), ei = (e, t = R()) => Lt(e, t), ti = W([Z, ne], () => Qn);
3732
+ W([Z], () => Jn);
3733
+ W([Z], () => Yn);
3734
+ W([Z], () => Kn);
3735
+ W([Z, ne], () => ei);
3736
+ function ut(e, t) {
3737
+ Ct(e, t);
3738
+ }
3739
+ function ri(e) {
3740
+ Z.set(e);
3741
+ }
3742
+ const ht = {
3737
3743
  en: {
3738
3744
  sorry: "We are sorry",
3739
3745
  access: "The page you are trying to access is available for logged-in users only. Please login.",
@@ -3825,13 +3831,13 @@ const at = {
3825
3831
  login: "Login"
3826
3832
  }
3827
3833
  };
3828
- function ti(e, t) {
3834
+ function ni(e, t) {
3829
3835
  if (e) {
3830
3836
  const r = document.createElement("style");
3831
3837
  r.innerHTML = t, e.appendChild(r);
3832
3838
  }
3833
3839
  }
3834
- function ri(e, t) {
3840
+ function ii(e, t) {
3835
3841
  const r = new URL(t);
3836
3842
  fetch(r.href).then((n) => n.text()).then((n) => {
3837
3843
  const i = document.createElement("style");
@@ -3840,7 +3846,7 @@ function ri(e, t) {
3840
3846
  console.error("There was an error while trying to load client styling from URL", n);
3841
3847
  });
3842
3848
  }
3843
- function ni(e, t, r) {
3849
+ function si(e, t, r) {
3844
3850
  if (window.emMessageBus) {
3845
3851
  const n = document.createElement("style");
3846
3852
  window.emMessageBus.subscribe(t, (i) => {
@@ -3848,74 +3854,74 @@ function ni(e, t, r) {
3848
3854
  });
3849
3855
  }
3850
3856
  }
3851
- function ii(e) {
3852
- kt(e, "svelte-1osslvo", "*,*::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%;font-size:12px;padding:20px}.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}}");
3857
+ function oi(e) {
3858
+ zt(e, "svelte-1osslvo", "*,*::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%;font-size:12px;padding:20px}.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}}");
3853
3859
  }
3854
- function si(e) {
3860
+ function ai(e) {
3855
3861
  let t, r, n, i, s, a, u, h, o, l, c = (
3856
3862
  /*$_*/
3857
3863
  e[1]("sorry") + ""
3858
- ), f, b, y, m = (
3864
+ ), f, d, b, m = (
3859
3865
  /*$_*/
3860
3866
  e[1]("access") + ""
3861
- ), E, P, B, H = (
3867
+ ), E, P, S, H = (
3862
3868
  /*$_*/
3863
3869
  e[1]("login") + ""
3864
- ), L, A, I;
3870
+ ), L, A, C;
3865
3871
  return {
3866
3872
  c() {
3867
- t = C("div"), r = C("div"), n = R("svg"), i = R("g"), s = R("path"), a = R("path"), u = R("path"), h = R("path"), o = de(), l = C("p"), f = ie(c), b = de(), y = C("p"), E = ie(m), P = de(), B = C("button"), L = ie(H), v(s, "class", "a"), v(s, "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"), v(a, "class", "a"), v(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"), v(a, "transform", "translate(-116.772 -116.794)"), v(u, "class", "a"), v(u, "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"), v(u, "transform", "translate(-250.22 -116.794)"), v(h, "class", "a"), v(h, "d", "M199.816,81.307h-1.765V74.5c0-8.132-5.863-14.5-14.247-14.5s-14.12,6.493-14.12,14.5v6.745h-1.765a7.156,7.156,0,0,0-7.123,7.123v21.307a7.156,7.156,0,0,0,7.123,7.123h31.9a7.156,7.156,0,0,0,7.123-7.123V88.367a7.1,7.1,0,0,0-7.123-7.06Zm-26.6,0V74.5c0-6.052,4.16-10.969,10.59-10.969,6.367,0,10.716,4.791,10.716,10.969v6.745H173.215v.063Zm30.132,28.367a3.524,3.524,0,0,1-3.53,3.53h-31.9a3.524,3.524,0,0,1-3.53-3.53V88.367a3.524,3.524,0,0,1,3.53-3.53h31.9a3.524,3.524,0,0,1,3.53,3.53ZM187.4,95.49a3.548,3.548,0,0,1-1.765,3.089h0v5.8a1.765,1.765,0,1,1-3.53,0v-5.8h0a3.55,3.55,0,0,1,1.765-6.619,3.447,3.447,0,0,1,3.53,3.53Z"), v(h, "transform", "translate(-109.326 -3.172)"), v(i, "transform", "translate(-9.37 -9.34)"), v(n, "xmlns", "http://www.w3.org/2000/svg"), v(n, "width", "130.345"), v(n, "height", "130.345"), v(n, "viewBox", "0 0 130.345 130.345"), v(l, "class", "PageTitle"), v(y, "class", "PageContent"), v(B, "class", "ButtonDefaultSmall"), v(r, "class", "NotFoundPage"), v(t, "class", "PageWrapper");
3873
+ t = $("div"), r = $("div"), n = D("svg"), i = D("g"), s = D("path"), a = D("path"), u = D("path"), h = D("path"), o = ye(), l = $("p"), f = se(c), d = ye(), b = $("p"), E = se(m), P = ye(), S = $("button"), L = se(H), x(s, "class", "a"), x(s, "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(u, "class", "a"), x(u, "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(u, "transform", "translate(-250.22 -116.794)"), x(h, "class", "a"), x(h, "d", "M199.816,81.307h-1.765V74.5c0-8.132-5.863-14.5-14.247-14.5s-14.12,6.493-14.12,14.5v6.745h-1.765a7.156,7.156,0,0,0-7.123,7.123v21.307a7.156,7.156,0,0,0,7.123,7.123h31.9a7.156,7.156,0,0,0,7.123-7.123V88.367a7.1,7.1,0,0,0-7.123-7.06Zm-26.6,0V74.5c0-6.052,4.16-10.969,10.59-10.969,6.367,0,10.716,4.791,10.716,10.969v6.745H173.215v.063Zm30.132,28.367a3.524,3.524,0,0,1-3.53,3.53h-31.9a3.524,3.524,0,0,1-3.53-3.53V88.367a3.524,3.524,0,0,1,3.53-3.53h31.9a3.524,3.524,0,0,1,3.53,3.53ZM187.4,95.49a3.548,3.548,0,0,1-1.765,3.089h0v5.8a1.765,1.765,0,1,1-3.53,0v-5.8h0a3.55,3.55,0,0,1,1.765-6.619,3.447,3.447,0,0,1,3.53,3.53Z"), x(h, "transform", "translate(-109.326 -3.172)"), x(i, "transform", "translate(-9.37 -9.34)"), 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(l, "class", "PageTitle"), x(b, "class", "PageContent"), x(S, "class", "ButtonDefaultSmall"), x(r, "class", "NotFoundPage"), x(t, "class", "PageWrapper");
3868
3874
  },
3869
- m(N, q) {
3870
- ct(N, t, q), _(t, r), _(r, n), _(n, i), _(i, s), _(i, a), _(i, u), _(i, h), _(r, o), _(r, l), _(l, f), _(r, b), _(r, y), _(y, E), _(r, P), _(r, B), _(B, L), e[9](t), A || (I = Wt(
3871
- B,
3875
+ m(N, Q) {
3876
+ mt(N, t, Q), _(t, r), _(r, n), _(n, i), _(i, s), _(i, a), _(i, u), _(i, h), _(r, o), _(r, l), _(l, f), _(r, d), _(r, b), _(b, E), _(r, P), _(r, S), _(S, L), e[9](t), A || (C = qt(
3877
+ S,
3872
3878
  "click",
3873
3879
  /*click_handler*/
3874
3880
  e[8]
3875
3881
  ), A = !0);
3876
3882
  },
3877
- p(N, [q]) {
3878
- q & /*$_*/
3883
+ p(N, [Q]) {
3884
+ Q & /*$_*/
3879
3885
  2 && c !== (c = /*$_*/
3880
- N[1]("sorry") + "") && be(f, c), q & /*$_*/
3886
+ N[1]("sorry") + "") && xe(f, c), Q & /*$_*/
3881
3887
  2 && m !== (m = /*$_*/
3882
- N[1]("access") + "") && be(E, m), q & /*$_*/
3888
+ N[1]("access") + "") && xe(E, m), Q & /*$_*/
3883
3889
  2 && H !== (H = /*$_*/
3884
- N[1]("login") + "") && be(L, H);
3890
+ N[1]("login") + "") && xe(L, H);
3885
3891
  },
3886
3892
  i: w,
3887
3893
  o: w,
3888
3894
  d(N) {
3889
- N && De(t), e[9](null), A = !1, I();
3895
+ N && Ge(t), e[9](null), A = !1, C();
3890
3896
  }
3891
3897
  };
3892
3898
  }
3893
- function oi(e, t, r) {
3899
+ function ui(e, t, r) {
3894
3900
  let n;
3895
- Vt(e, Kn, (m) => r(1, n = m));
3901
+ Xt(e, ti, (m) => r(1, n = m));
3896
3902
  let { lang: i = "en" } = t, { clientstyling: s = "" } = t, { clientstylingurl: a = "" } = t, { translationurl: u = "" } = t, { mbsource: h } = t, o;
3897
3903
  const l = () => {
3898
3904
  fetch(u).then((E) => E.json()).then((E) => {
3899
3905
  Object.keys(E).forEach((P) => {
3900
- ot(P, E[P]);
3906
+ ut(P, E[P]);
3901
3907
  });
3902
3908
  }).catch((E) => {
3903
3909
  console.log(E);
3904
3910
  });
3905
3911
  };
3906
- Object.keys(at).forEach((m) => {
3907
- ot(m, at[m]);
3912
+ Object.keys(ht).forEach((m) => {
3913
+ ut(m, ht[m]);
3908
3914
  });
3909
3915
  const c = () => {
3910
3916
  window.postMessage({ type: "403ActionButton" }, window.location.href);
3911
3917
  }, f = () => {
3912
- ei(i);
3918
+ ri(i);
3913
3919
  };
3914
- Jt(() => () => {
3920
+ Kt(() => () => {
3915
3921
  });
3916
- const b = () => c();
3917
- function y(m) {
3918
- Be[m ? "unshift" : "push"](() => {
3922
+ const d = () => c();
3923
+ function b(m) {
3924
+ Pe[m ? "unshift" : "push"](() => {
3919
3925
  o = m, r(0, o);
3920
3926
  });
3921
3927
  }
@@ -3924,10 +3930,10 @@ function oi(e, t, r) {
3924
3930
  }, e.$$.update = () => {
3925
3931
  e.$$.dirty & /*lang*/
3926
3932
  8 && i && f(), e.$$.dirty & /*clientstyling, customStylingContainer*/
3927
- 17 && s && o && ti(o, s), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
3928
- 33 && a && o && ri(o, a), e.$$.dirty & /*translationurl*/
3933
+ 17 && s && o && ni(o, s), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
3934
+ 33 && a && o && ii(o, a), e.$$.dirty & /*translationurl*/
3929
3935
  64 && u && l(), e.$$.dirty & /*mbsource, customStylingContainer*/
3930
- 129 && h && o && ni(o, `${h}.Style`);
3936
+ 129 && h && o && si(o, `${h}.Style`);
3931
3937
  }, [
3932
3938
  o,
3933
3939
  n,
@@ -3937,18 +3943,18 @@ function oi(e, t, r) {
3937
3943
  a,
3938
3944
  u,
3939
3945
  h,
3940
- b,
3941
- y
3946
+ d,
3947
+ b
3942
3948
  ];
3943
3949
  }
3944
- class ai extends hr {
3950
+ class hi extends cr {
3945
3951
  constructor(t) {
3946
- super(), ar(
3952
+ super(), hr(
3947
3953
  this,
3948
3954
  t,
3949
- oi,
3950
- si,
3951
- ht,
3955
+ ui,
3956
+ ai,
3957
+ ct,
3952
3958
  {
3953
3959
  lang: 3,
3954
3960
  clientstyling: 4,
@@ -3956,41 +3962,41 @@ class ai extends hr {
3956
3962
  translationurl: 6,
3957
3963
  mbsource: 7
3958
3964
  },
3959
- ii
3965
+ oi
3960
3966
  );
3961
3967
  }
3962
3968
  get lang() {
3963
3969
  return this.$$.ctx[3];
3964
3970
  }
3965
3971
  set lang(t) {
3966
- this.$$set({ lang: t }), $();
3972
+ this.$$set({ lang: t }), M();
3967
3973
  }
3968
3974
  get clientstyling() {
3969
3975
  return this.$$.ctx[4];
3970
3976
  }
3971
3977
  set clientstyling(t) {
3972
- this.$$set({ clientstyling: t }), $();
3978
+ this.$$set({ clientstyling: t }), M();
3973
3979
  }
3974
3980
  get clientstylingurl() {
3975
3981
  return this.$$.ctx[5];
3976
3982
  }
3977
3983
  set clientstylingurl(t) {
3978
- this.$$set({ clientstylingurl: t }), $();
3984
+ this.$$set({ clientstylingurl: t }), M();
3979
3985
  }
3980
3986
  get translationurl() {
3981
3987
  return this.$$.ctx[6];
3982
3988
  }
3983
3989
  set translationurl(t) {
3984
- this.$$set({ translationurl: t }), $();
3990
+ this.$$set({ translationurl: t }), M();
3985
3991
  }
3986
3992
  get mbsource() {
3987
3993
  return this.$$.ctx[7];
3988
3994
  }
3989
3995
  set mbsource(t) {
3990
- this.$$set({ mbsource: t }), $();
3996
+ this.$$set({ mbsource: t }), M();
3991
3997
  }
3992
3998
  }
3993
- ur(ai, { lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
3999
+ lr(hi, { lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
3994
4000
  export {
3995
- ai as default
4001
+ hi as default
3996
4002
  };