@everymatrix/cashier-error 1.94.65 → 1.94.67

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,7 +1,7 @@
1
1
  import "../stencil/ui-image-Ch-GHki1.js";
2
2
  function P() {
3
3
  }
4
- function nr(e, t) {
4
+ function or(e, t) {
5
5
  for (const r in t)
6
6
  e[r] = t[r];
7
7
  return (
@@ -9,29 +9,29 @@ function nr(e, t) {
9
9
  e
10
10
  );
11
11
  }
12
- function kt(e) {
12
+ function Bt(e) {
13
13
  return e();
14
14
  }
15
- function Ye() {
15
+ function rt() {
16
16
  return /* @__PURE__ */ Object.create(null);
17
17
  }
18
- function oe(e) {
19
- e.forEach(kt);
18
+ function re(e) {
19
+ e.forEach(Bt);
20
20
  }
21
- function qe(e) {
21
+ function Ze(e) {
22
22
  return typeof e == "function";
23
23
  }
24
- function wt(e, t) {
24
+ function Ht(e, t) {
25
25
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
26
26
  }
27
- let ce;
28
- function Qe(e, t) {
29
- return e === t ? !0 : (ce || (ce = document.createElement("a")), ce.href = t, e === ce.href);
27
+ let me;
28
+ function nt(e, t) {
29
+ return e === t ? !0 : (me || (me = document.createElement("a")), me.href = t, e === me.href);
30
30
  }
31
- function ir(e) {
31
+ function lr(e) {
32
32
  return Object.keys(e).length === 0;
33
33
  }
34
- function St(e, ...t) {
34
+ function Ct(e, ...t) {
35
35
  if (e == null) {
36
36
  for (const n of t)
37
37
  n(void 0);
@@ -40,19 +40,19 @@ function St(e, ...t) {
40
40
  const r = e.subscribe(...t);
41
41
  return r.unsubscribe ? () => r.unsubscribe() : r;
42
42
  }
43
- function ar(e, t, r) {
44
- e.$$.on_destroy.push(St(t, r));
43
+ function ur(e, t, r) {
44
+ e.$$.on_destroy.push(Ct(t, r));
45
45
  }
46
- function he(e, t, r, n) {
46
+ function ge(e, t, r, n) {
47
47
  if (e) {
48
- const i = At(e, t, r, n);
48
+ const i = Lt(e, t, r, n);
49
49
  return e[0](i);
50
50
  }
51
51
  }
52
- function At(e, t, r, n) {
53
- return e[1] && n ? nr(r.ctx.slice(), e[1](n(t))) : r.ctx;
52
+ function Lt(e, t, r, n) {
53
+ return e[1] && n ? or(r.ctx.slice(), e[1](n(t))) : r.ctx;
54
54
  }
55
- function de(e, t, r, n) {
55
+ function pe(e, t, r, n) {
56
56
  if (e[2] && n) {
57
57
  const i = e[2](n(r));
58
58
  if (t.dirty === void 0)
@@ -67,13 +67,13 @@ function de(e, t, r, n) {
67
67
  }
68
68
  return t.dirty;
69
69
  }
70
- function fe(e, t, r, n, i, a) {
70
+ function be(e, t, r, n, i, a) {
71
71
  if (i) {
72
- const s = At(t, r, n, a);
72
+ const s = Lt(t, r, n, a);
73
73
  e.p(s, i);
74
74
  }
75
75
  }
76
- function me(e) {
76
+ function ve(e) {
77
77
  if (e.ctx.length > 32) {
78
78
  const t = [], r = e.ctx.length / 32;
79
79
  for (let n = 0; n < r; n++)
@@ -85,14 +85,14 @@ function me(e) {
85
85
  function I(e, t) {
86
86
  e.appendChild(t);
87
87
  }
88
- function sr(e, t, r) {
89
- const n = or(e);
88
+ function cr(e, t, r) {
89
+ const n = hr(e);
90
90
  if (!n.getElementById(t)) {
91
91
  const i = B("style");
92
- i.id = t, i.textContent = r, lr(n, i);
92
+ i.id = t, i.textContent = r, dr(n, i);
93
93
  }
94
94
  }
95
- function or(e) {
95
+ function hr(e) {
96
96
  if (!e)
97
97
  return document;
98
98
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -102,7 +102,7 @@ function or(e) {
102
102
  t
103
103
  ) : e.ownerDocument;
104
104
  }
105
- function lr(e, t) {
105
+ function dr(e, t) {
106
106
  return I(
107
107
  /** @type {Document} */
108
108
  e.head || e,
@@ -112,39 +112,39 @@ function lr(e, t) {
112
112
  function A(e, t, r) {
113
113
  e.insertBefore(t, r || null);
114
114
  }
115
- function S(e) {
115
+ function k(e) {
116
116
  e.parentNode && e.parentNode.removeChild(e);
117
117
  }
118
118
  function B(e) {
119
119
  return document.createElement(e);
120
120
  }
121
- function D(e) {
121
+ function N(e) {
122
122
  return document.createTextNode(e);
123
123
  }
124
- function V() {
125
- return D(" ");
124
+ function J() {
125
+ return N(" ");
126
126
  }
127
- function Je() {
128
- return D("");
127
+ function Ye() {
128
+ return N("");
129
129
  }
130
- function ur(e, t, r, n) {
130
+ function fr(e, t, r, n) {
131
131
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
132
132
  }
133
133
  function O(e, t, r) {
134
134
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
135
135
  }
136
- function ge(e, t, r) {
136
+ function ye(e, t, r) {
137
137
  const n = t.toLowerCase();
138
138
  n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : O(e, t, r);
139
139
  }
140
- function cr(e) {
140
+ function mr(e) {
141
141
  return Array.from(e.childNodes);
142
142
  }
143
- function X(e, t) {
143
+ function Z(e, t) {
144
144
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
145
145
  t);
146
146
  }
147
- function hr(e) {
147
+ function gr(e) {
148
148
  const t = {};
149
149
  return e.childNodes.forEach(
150
150
  /** @param {Element} node */
@@ -153,135 +153,147 @@ function hr(e) {
153
153
  }
154
154
  ), t;
155
155
  }
156
- let ie;
157
- function ne(e) {
158
- ie = e;
156
+ let ue;
157
+ function le(e) {
158
+ ue = e;
159
159
  }
160
- function dr() {
161
- if (!ie)
160
+ function pr() {
161
+ if (!ue)
162
162
  throw new Error("Function called outside component initialization");
163
- return ie;
163
+ return ue;
164
164
  }
165
- function fr(e) {
166
- dr().$$.on_mount.push(e);
167
- }
168
- const G = [], Ne = [];
169
- let W = [];
170
- const et = [], mr = /* @__PURE__ */ Promise.resolve();
171
- let Re = !1;
172
- function gr() {
173
- Re || (Re = !0, mr.then(C));
174
- }
175
- function Ue(e) {
176
- W.push(e);
177
- }
178
- const He = /* @__PURE__ */ new Set();
179
- let z = 0;
180
- function C() {
181
- if (z !== 0)
165
+ function br(e) {
166
+ pr().$$.on_mount.push(e);
167
+ }
168
+ const W = [], Fe = [];
169
+ let K = [];
170
+ const it = [], vr = /* @__PURE__ */ Promise.resolve();
171
+ let ze = !1;
172
+ function yr() {
173
+ ze || (ze = !0, vr.then(H));
174
+ }
175
+ function $e(e) {
176
+ K.push(e);
177
+ }
178
+ const Pe = /* @__PURE__ */ new Set();
179
+ let j = 0;
180
+ function H() {
181
+ if (j !== 0)
182
182
  return;
183
- const e = ie;
183
+ const e = ue;
184
184
  do {
185
185
  try {
186
- for (; z < G.length; ) {
187
- const t = G[z];
188
- z++, ne(t), pr(t.$$);
186
+ for (; j < W.length; ) {
187
+ const t = W[j];
188
+ j++, le(t), Er(t.$$);
189
189
  }
190
190
  } catch (t) {
191
- throw G.length = 0, z = 0, t;
191
+ throw W.length = 0, j = 0, t;
192
192
  }
193
- for (ne(null), G.length = 0, z = 0; Ne.length; )
194
- Ne.pop()();
195
- for (let t = 0; t < W.length; t += 1) {
196
- const r = W[t];
197
- He.has(r) || (He.add(r), r());
193
+ for (le(null), W.length = 0, j = 0; Fe.length; )
194
+ Fe.pop()();
195
+ for (let t = 0; t < K.length; t += 1) {
196
+ const r = K[t];
197
+ Pe.has(r) || (Pe.add(r), r());
198
198
  }
199
- W.length = 0;
200
- } while (G.length);
201
- for (; et.length; )
202
- et.pop()();
203
- Re = !1, He.clear(), ne(e);
199
+ K.length = 0;
200
+ } while (W.length);
201
+ for (; it.length; )
202
+ it.pop()();
203
+ ze = !1, Pe.clear(), le(e);
204
204
  }
205
- function pr(e) {
205
+ function Er(e) {
206
206
  if (e.fragment !== null) {
207
- e.update(), oe(e.before_update);
207
+ e.update(), re(e.before_update);
208
208
  const t = e.dirty;
209
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ue);
209
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach($e);
210
210
  }
211
211
  }
212
- function br(e) {
212
+ function _r(e) {
213
213
  const t = [], r = [];
214
- W.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), W = t;
214
+ K.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), K = t;
215
+ }
216
+ const _e = /* @__PURE__ */ new Set();
217
+ let F;
218
+ function xr() {
219
+ F = {
220
+ r: 0,
221
+ c: [],
222
+ p: F
223
+ // parent group
224
+ };
215
225
  }
216
- const ve = /* @__PURE__ */ new Set();
217
- let vr;
218
- function te(e, t) {
219
- e && e.i && (ve.delete(e), e.i(t));
226
+ function Tr() {
227
+ F.r || re(F.c), F = F.p;
220
228
  }
221
- function pe(e, t, r, n) {
229
+ function M(e, t) {
230
+ e && e.i && (_e.delete(e), e.i(t));
231
+ }
232
+ function q(e, t, r, n) {
222
233
  if (e && e.o) {
223
- if (ve.has(e))
234
+ if (_e.has(e))
224
235
  return;
225
- ve.add(e), vr.c.push(() => {
226
- ve.delete(e);
236
+ _e.add(e), F.c.push(() => {
237
+ _e.delete(e), n && (r && e.d(1), n());
227
238
  }), e.o(t);
228
- }
239
+ } else
240
+ n && n();
229
241
  }
230
- function yr(e, t, r) {
242
+ function kr(e, t, r) {
231
243
  const { fragment: n, after_update: i } = e.$$;
232
- n && n.m(t, r), Ue(() => {
233
- const a = e.$$.on_mount.map(kt).filter(qe);
234
- e.$$.on_destroy ? e.$$.on_destroy.push(...a) : oe(a), e.$$.on_mount = [];
235
- }), i.forEach(Ue);
244
+ n && n.m(t, r), $e(() => {
245
+ const a = e.$$.on_mount.map(Bt).filter(Ze);
246
+ e.$$.on_destroy ? e.$$.on_destroy.push(...a) : re(a), e.$$.on_mount = [];
247
+ }), i.forEach($e);
236
248
  }
237
- function Er(e, t) {
249
+ function wr(e, t) {
238
250
  const r = e.$$;
239
- r.fragment !== null && (br(r.after_update), oe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
251
+ r.fragment !== null && (_r(r.after_update), re(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
240
252
  }
241
- function _r(e, t) {
242
- e.$$.dirty[0] === -1 && (G.push(e), gr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
253
+ function Sr(e, t) {
254
+ e.$$.dirty[0] === -1 && (W.push(e), yr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
243
255
  }
244
- function xr(e, t, r, n, i, a, s = null, o = [-1]) {
245
- const u = ie;
246
- ne(e);
247
- const l = e.$$ = {
256
+ function Ar(e, t, r, n, i, a, s = null, o = [-1]) {
257
+ const l = ue;
258
+ le(e);
259
+ const u = e.$$ = {
248
260
  fragment: null,
249
261
  ctx: [],
250
262
  // state
251
263
  props: a,
252
264
  update: P,
253
265
  not_equal: i,
254
- bound: Ye(),
266
+ bound: rt(),
255
267
  // lifecycle
256
268
  on_mount: [],
257
269
  on_destroy: [],
258
270
  on_disconnect: [],
259
271
  before_update: [],
260
272
  after_update: [],
261
- context: new Map(t.context || (u ? u.$$.context : [])),
273
+ context: new Map(t.context || (l ? l.$$.context : [])),
262
274
  // everything else
263
- callbacks: Ye(),
275
+ callbacks: rt(),
264
276
  dirty: o,
265
277
  skip_bound: !1,
266
- root: t.target || u.$$.root
278
+ root: t.target || l.$$.root
267
279
  };
268
- s && s(l.root);
280
+ s && s(u.root);
269
281
  let c = !1;
270
- if (l.ctx = r ? r(e, t.props || {}, (h, d, ...v) => {
271
- const m = v.length ? v[0] : d;
272
- return l.ctx && i(l.ctx[h], l.ctx[h] = m) && (!l.skip_bound && l.bound[h] && l.bound[h](m), c && _r(e, h)), d;
273
- }) : [], l.update(), c = !0, oe(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
282
+ if (u.ctx = r ? r(e, t.props || {}, (h, d, ...m) => {
283
+ const g = m.length ? m[0] : d;
284
+ return u.ctx && i(u.ctx[h], u.ctx[h] = g) && (!u.skip_bound && u.bound[h] && u.bound[h](g), c && Sr(e, h)), d;
285
+ }) : [], u.update(), c = !0, re(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
274
286
  if (t.hydrate) {
275
- const h = cr(t.target);
276
- l.fragment && l.fragment.l(h), h.forEach(S);
287
+ const h = mr(t.target);
288
+ u.fragment && u.fragment.l(h), h.forEach(k);
277
289
  } else
278
- l.fragment && l.fragment.c();
279
- t.intro && te(e.$$.fragment), yr(e, t.target, t.anchor), C();
290
+ u.fragment && u.fragment.c();
291
+ t.intro && M(e.$$.fragment), kr(e, t.target, t.anchor), H();
280
292
  }
281
- ne(u);
293
+ le(l);
282
294
  }
283
- let It;
284
- typeof HTMLElement == "function" && (It = class extends HTMLElement {
295
+ let Pt;
296
+ typeof HTMLElement == "function" && (Pt = class extends HTMLElement {
285
297
  /** The Svelte component constructor */
286
298
  $$ctor;
287
299
  /** Slots */
@@ -329,23 +341,23 @@ typeof HTMLElement == "function" && (It = class extends HTMLElement {
329
341
  * @param {HTMLElement} target
330
342
  * @param {HTMLElement} [anchor]
331
343
  */
332
- m: function(u, l) {
333
- A(u, a, l);
344
+ m: function(l, u) {
345
+ A(l, a, u);
334
346
  },
335
- d: function(u) {
336
- u && S(a);
347
+ d: function(l) {
348
+ l && k(a);
337
349
  }
338
350
  };
339
351
  };
340
352
  };
341
353
  if (await Promise.resolve(), !this.$$cn || this.$$c)
342
354
  return;
343
- const t = {}, r = hr(this);
355
+ const t = {}, r = gr(this);
344
356
  for (const i of this.$$s)
345
357
  i in r && (t[i] = [e(i)]);
346
358
  for (const i of this.attributes) {
347
359
  const a = this.$$g_p(i.name);
348
- a in this.$$d || (this.$$d[a] = ye(a, i.value, this.$$p_d, "toProp"));
360
+ a in this.$$d || (this.$$d[a] = xe(a, i.value, this.$$p_d, "toProp"));
349
361
  }
350
362
  for (const i in this.$$p_d)
351
363
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -363,7 +375,7 @@ typeof HTMLElement == "function" && (It = class extends HTMLElement {
363
375
  this.$$r = !0;
364
376
  for (const i in this.$$p_d)
365
377
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
366
- const a = ye(
378
+ const a = xe(
367
379
  i,
368
380
  this.$$d[i],
369
381
  this.$$p_d,
@@ -385,7 +397,7 @@ typeof HTMLElement == "function" && (It = class extends HTMLElement {
385
397
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
386
398
  // and setting attributes through setAttribute etc, this is helpful
387
399
  attributeChangedCallback(e, t, r) {
388
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = ye(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
400
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = xe(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
389
401
  }
390
402
  disconnectedCallback() {
391
403
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -398,7 +410,7 @@ typeof HTMLElement == "function" && (It = class extends HTMLElement {
398
410
  ) || e;
399
411
  }
400
412
  });
401
- function ye(e, t, r, n) {
413
+ function xe(e, t, r, n) {
402
414
  const i = r[e]?.type;
403
415
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
404
416
  return t;
@@ -427,8 +439,8 @@ function ye(e, t, r, n) {
427
439
  return t;
428
440
  }
429
441
  }
430
- function Tr(e, t, r, n, i, a) {
431
- let s = class extends It {
442
+ function Ir(e, t, r, n, i, a) {
443
+ let s = class extends Pt {
432
444
  constructor() {
433
445
  super(e, r, i), this.$$p_d = t;
434
446
  }
@@ -443,8 +455,8 @@ function Tr(e, t, r, n, i, a) {
443
455
  get() {
444
456
  return this.$$c && o in this.$$c ? this.$$c[o] : this.$$d[o];
445
457
  },
446
- set(u) {
447
- u = ye(o, u, t), this.$$d[o] = u, this.$$c?.$set({ [o]: u });
458
+ set(l) {
459
+ l = xe(o, l, t), this.$$d[o] = l, this.$$c?.$set({ [o]: l });
448
460
  }
449
461
  });
450
462
  }), n.forEach((o) => {
@@ -456,7 +468,7 @@ function Tr(e, t, r, n, i, a) {
456
468
  }), e.element = /** @type {any} */
457
469
  s, s;
458
470
  }
459
- class kr {
471
+ class Br {
460
472
  /**
461
473
  * ### PRIVATE API
462
474
  *
@@ -475,7 +487,7 @@ class kr {
475
487
  $$set = void 0;
476
488
  /** @returns {void} */
477
489
  $destroy() {
478
- Er(this, 1), this.$destroy = P;
490
+ wr(this, 1), this.$destroy = P;
479
491
  }
480
492
  /**
481
493
  * @template {Extract<keyof Events, string>} K
@@ -484,7 +496,7 @@ class kr {
484
496
  * @returns {() => void}
485
497
  */
486
498
  $on(t, r) {
487
- if (!qe(r))
499
+ if (!Ze(r))
488
500
  return P;
489
501
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
490
502
  return n.push(r), () => {
@@ -497,19 +509,19 @@ class kr {
497
509
  * @returns {void}
498
510
  */
499
511
  $set(t) {
500
- this.$$set && !ir(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
512
+ this.$$set && !lr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
501
513
  }
502
514
  }
503
- const wr = "4";
504
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(wr);
505
- const j = "__WIDGET_GLOBAL_STYLE_CACHE__";
506
- function Sr(e, t) {
515
+ const Hr = "4";
516
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Hr);
517
+ const X = "__WIDGET_GLOBAL_STYLE_CACHE__";
518
+ function Cr(e, t) {
507
519
  if (e) {
508
520
  const r = document.createElement("style");
509
521
  r.innerHTML = t, e.appendChild(r);
510
522
  }
511
523
  }
512
- function Ar(e, t) {
524
+ function Lr(e, t) {
513
525
  if (!e || !t)
514
526
  return;
515
527
  const r = new URL(t);
@@ -520,32 +532,32 @@ function Ar(e, t) {
520
532
  console.error("There was an error while trying to load client styling from URL", n);
521
533
  });
522
534
  }
523
- function Ir(e, t, r, n = !1) {
535
+ function Pr(e, t, r, n = !1) {
524
536
  if (!window.emMessageBus)
525
537
  return;
526
538
  if (!("adoptedStyleSheets" in Document.prototype) || !n)
527
- return r = Br(e, t), r;
528
- window[j] || (window[j] = {}), r = Hr(e, t);
539
+ return r = Or(e, t), r;
540
+ window[X] || (window[X] = {}), r = Mr(e, t);
529
541
  const a = r.unsubscribe.bind(r), s = () => {
530
- if (window[j][t]) {
531
- const o = window[j][t];
532
- o.refCount > 1 ? o.refCount = o.refCount - 1 : delete window[j][t];
542
+ if (window[X][t]) {
543
+ const o = window[X][t];
544
+ o.refCount > 1 ? o.refCount = o.refCount - 1 : delete window[X][t];
533
545
  }
534
546
  a();
535
547
  };
536
548
  return r.unsubscribe = s, r;
537
549
  }
538
- function Br(e, t) {
550
+ function Or(e, t) {
539
551
  const r = document.createElement("style");
540
552
  return window.emMessageBus.subscribe(t, (n) => {
541
553
  e && (r.innerHTML = n, e.appendChild(r));
542
554
  });
543
555
  }
544
- function Hr(e, t) {
556
+ function Mr(e, t) {
545
557
  return window.emMessageBus.subscribe(t, (r) => {
546
558
  if (!e)
547
559
  return;
548
- const n = e.getRootNode(), i = window[j];
560
+ const n = e.getRootNode(), i = window[X];
549
561
  let a = i[t] && i[t].sheet;
550
562
  a ? i[t].refCount = i[t].refCount + 1 : (a = new CSSStyleSheet(), a.replaceSync(r), i[t] = {
551
563
  sheet: a,
@@ -555,171 +567,171 @@ function Hr(e, t) {
555
567
  s.includes(a) || (n.adoptedStyleSheets = [...s, a]);
556
568
  });
557
569
  }
558
- const $ = [];
559
- function Cr(e, t) {
570
+ const V = [];
571
+ function Dr(e, t) {
560
572
  return {
561
- subscribe: Se(e, t).subscribe
573
+ subscribe: Be(e, t).subscribe
562
574
  };
563
575
  }
564
- function Se(e, t = P) {
576
+ function Be(e, t = P) {
565
577
  let r;
566
578
  const n = /* @__PURE__ */ new Set();
567
579
  function i(o) {
568
- if (wt(e, o) && (e = o, r)) {
569
- const u = !$.length;
570
- for (const l of n)
571
- l[1](), $.push(l, e);
572
- if (u) {
573
- for (let l = 0; l < $.length; l += 2)
574
- $[l][0]($[l + 1]);
575
- $.length = 0;
580
+ if (Ht(e, o) && (e = o, r)) {
581
+ const l = !V.length;
582
+ for (const u of n)
583
+ u[1](), V.push(u, e);
584
+ if (l) {
585
+ for (let u = 0; u < V.length; u += 2)
586
+ V[u][0](V[u + 1]);
587
+ V.length = 0;
576
588
  }
577
589
  }
578
590
  }
579
591
  function a(o) {
580
592
  i(o(e));
581
593
  }
582
- function s(o, u = P) {
583
- const l = [o, u];
584
- return n.add(l), n.size === 1 && (r = t(i, a) || P), o(e), () => {
585
- n.delete(l), n.size === 0 && r && (r(), r = null);
594
+ function s(o, l = P) {
595
+ const u = [o, l];
596
+ return n.add(u), n.size === 1 && (r = t(i, a) || P), o(e), () => {
597
+ n.delete(u), n.size === 0 && r && (r(), r = null);
586
598
  };
587
599
  }
588
600
  return { set: i, update: a, subscribe: s };
589
601
  }
590
- function Y(e, t, r) {
602
+ function ne(e, t, r) {
591
603
  const n = !Array.isArray(e), i = n ? [e] : e;
592
604
  if (!i.every(Boolean))
593
605
  throw new Error("derived() expects stores as input, got a falsy value");
594
606
  const a = t.length < 2;
595
- return Cr(r, (s, o) => {
596
- let u = !1;
597
- const l = [];
607
+ return Dr(r, (s, o) => {
608
+ let l = !1;
609
+ const u = [];
598
610
  let c = 0, h = P;
599
611
  const d = () => {
600
612
  if (c)
601
613
  return;
602
614
  h();
603
- const m = t(n ? l[0] : l, s, o);
604
- a ? s(m) : h = qe(m) ? m : P;
605
- }, v = i.map(
606
- (m, x) => St(
607
- m,
608
- (k) => {
609
- l[x] = k, c &= ~(1 << x), u && d();
615
+ const g = t(n ? u[0] : u, s, o);
616
+ a ? s(g) : h = Ze(g) ? g : P;
617
+ }, m = i.map(
618
+ (g, T) => Ct(
619
+ g,
620
+ (E) => {
621
+ u[T] = E, c &= ~(1 << T), l && d();
610
622
  },
611
623
  () => {
612
- c |= 1 << x;
624
+ c |= 1 << T;
613
625
  }
614
626
  )
615
627
  );
616
- return u = !0, d(), function() {
617
- oe(v), h(), u = !1;
628
+ return l = !0, d(), function() {
629
+ re(m), h(), l = !1;
618
630
  };
619
631
  });
620
632
  }
621
- function Lr(e) {
633
+ function Nr(e) {
622
634
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
623
635
  }
624
- var Pr = function(t) {
625
- return Or(t) && !Mr(t);
636
+ var Rr = function(t) {
637
+ return Ur(t) && !Fr(t);
626
638
  };
627
- function Or(e) {
639
+ function Ur(e) {
628
640
  return !!e && typeof e == "object";
629
641
  }
630
- function Mr(e) {
642
+ function Fr(e) {
631
643
  var t = Object.prototype.toString.call(e);
632
- return t === "[object RegExp]" || t === "[object Date]" || Rr(e);
644
+ return t === "[object RegExp]" || t === "[object Date]" || Gr(e);
633
645
  }
634
- var Dr = typeof Symbol == "function" && Symbol.for, Nr = Dr ? Symbol.for("react.element") : 60103;
635
- function Rr(e) {
636
- return e.$$typeof === Nr;
646
+ var zr = typeof Symbol == "function" && Symbol.for, $r = zr ? Symbol.for("react.element") : 60103;
647
+ function Gr(e) {
648
+ return e.$$typeof === $r;
637
649
  }
638
- function Ur(e) {
650
+ function jr(e) {
639
651
  return Array.isArray(e) ? [] : {};
640
652
  }
641
- function ae(e, t) {
642
- return t.clone !== !1 && t.isMergeableObject(e) ? q(Ur(e), e, t) : e;
653
+ function ce(e, t) {
654
+ return t.clone !== !1 && t.isMergeableObject(e) ? Y(jr(e), e, t) : e;
643
655
  }
644
- function Fr(e, t, r) {
656
+ function Vr(e, t, r) {
645
657
  return e.concat(t).map(function(n) {
646
- return ae(n, r);
658
+ return ce(n, r);
647
659
  });
648
660
  }
649
- function zr(e, t) {
661
+ function Wr(e, t) {
650
662
  if (!t.customMerge)
651
- return q;
663
+ return Y;
652
664
  var r = t.customMerge(e);
653
- return typeof r == "function" ? r : q;
665
+ return typeof r == "function" ? r : Y;
654
666
  }
655
- function $r(e) {
667
+ function Xr(e) {
656
668
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
657
669
  return Object.propertyIsEnumerable.call(e, t);
658
670
  }) : [];
659
671
  }
660
- function tt(e) {
661
- return Object.keys(e).concat($r(e));
672
+ function at(e) {
673
+ return Object.keys(e).concat(Xr(e));
662
674
  }
663
- function Bt(e, t) {
675
+ function Ot(e, t) {
664
676
  try {
665
677
  return t in e;
666
678
  } catch {
667
679
  return !1;
668
680
  }
669
681
  }
670
- function Gr(e, t) {
671
- return Bt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
682
+ function qr(e, t) {
683
+ return Ot(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
672
684
  }
673
- function jr(e, t, r) {
685
+ function Jr(e, t, r) {
674
686
  var n = {};
675
- return r.isMergeableObject(e) && tt(e).forEach(function(i) {
676
- n[i] = ae(e[i], r);
677
- }), tt(t).forEach(function(i) {
678
- Gr(e, i) || (Bt(e, i) && r.isMergeableObject(t[i]) ? n[i] = zr(i, r)(e[i], t[i], r) : n[i] = ae(t[i], r));
687
+ return r.isMergeableObject(e) && at(e).forEach(function(i) {
688
+ n[i] = ce(e[i], r);
689
+ }), at(t).forEach(function(i) {
690
+ qr(e, i) || (Ot(e, i) && r.isMergeableObject(t[i]) ? n[i] = Wr(i, r)(e[i], t[i], r) : n[i] = ce(t[i], r));
679
691
  }), n;
680
692
  }
681
- function q(e, t, r) {
682
- r = r || {}, r.arrayMerge = r.arrayMerge || Fr, r.isMergeableObject = r.isMergeableObject || Pr, r.cloneUnlessOtherwiseSpecified = ae;
693
+ function Y(e, t, r) {
694
+ r = r || {}, r.arrayMerge = r.arrayMerge || Vr, r.isMergeableObject = r.isMergeableObject || Rr, r.cloneUnlessOtherwiseSpecified = ce;
683
695
  var n = Array.isArray(t), i = Array.isArray(e), a = n === i;
684
- return a ? n ? r.arrayMerge(e, t, r) : jr(e, t, r) : ae(t, r);
696
+ return a ? n ? r.arrayMerge(e, t, r) : Jr(e, t, r) : ce(t, r);
685
697
  }
686
- q.all = function(t, r) {
698
+ Y.all = function(t, r) {
687
699
  if (!Array.isArray(t))
688
700
  throw new Error("first argument should be an array");
689
701
  return t.reduce(function(n, i) {
690
- return q(n, i, r);
702
+ return Y(n, i, r);
691
703
  }, {});
692
704
  };
693
- var Vr = q, Wr = Vr;
694
- const Xr = /* @__PURE__ */ Lr(Wr);
695
- var Fe = function(e, t) {
696
- return Fe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
705
+ var Kr = Y, Zr = Kr;
706
+ const Yr = /* @__PURE__ */ Nr(Zr);
707
+ var Ge = function(e, t) {
708
+ return Ge = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
697
709
  r.__proto__ = n;
698
710
  } || function(r, n) {
699
711
  for (var i in n)
700
712
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
701
- }, Fe(e, t);
713
+ }, Ge(e, t);
702
714
  };
703
- function Ae(e, t) {
715
+ function He(e, t) {
704
716
  if (typeof t != "function" && t !== null)
705
717
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
706
- Fe(e, t);
718
+ Ge(e, t);
707
719
  function r() {
708
720
  this.constructor = e;
709
721
  }
710
722
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
711
723
  }
712
- var L = function() {
713
- return L = Object.assign || function(t) {
724
+ var C = function() {
725
+ return C = Object.assign || function(t) {
714
726
  for (var r, n = 1, i = arguments.length; n < i; n++) {
715
727
  r = arguments[n];
716
728
  for (var a in r)
717
729
  Object.prototype.hasOwnProperty.call(r, a) && (t[a] = r[a]);
718
730
  }
719
731
  return t;
720
- }, L.apply(this, arguments);
732
+ }, C.apply(this, arguments);
721
733
  };
722
- function qr(e, t) {
734
+ function Qr(e, t) {
723
735
  var r = {};
724
736
  for (var n in e)
725
737
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -728,43 +740,43 @@ function qr(e, t) {
728
740
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
729
741
  return r;
730
742
  }
731
- function Ce(e, t, r) {
743
+ function Oe(e, t, r) {
732
744
  if (r || arguments.length === 2)
733
745
  for (var n = 0, i = t.length, a; n < i; n++)
734
746
  (a || !(n in t)) && (a || (a = Array.prototype.slice.call(t, 0, n)), a[n] = t[n]);
735
747
  return e.concat(a || Array.prototype.slice.call(t));
736
748
  }
737
- function Le(e, t) {
738
- var r = t && t.cache ? t.cache : tn, n = t && t.serializer ? t.serializer : Qr, i = t && t.strategy ? t.strategy : Zr;
749
+ function Me(e, t) {
750
+ var r = t && t.cache ? t.cache : on, n = t && t.serializer ? t.serializer : an, i = t && t.strategy ? t.strategy : rn;
739
751
  return i(e, {
740
752
  cache: r,
741
753
  serializer: n
742
754
  });
743
755
  }
744
- function Jr(e) {
756
+ function en(e) {
745
757
  return e == null || typeof e == "number" || typeof e == "boolean";
746
758
  }
747
- function Kr(e, t, r, n) {
748
- var i = Jr(n) ? n : r(n), a = t.get(i);
759
+ function tn(e, t, r, n) {
760
+ var i = en(n) ? n : r(n), a = t.get(i);
749
761
  return typeof a > "u" && (a = e.call(this, n), t.set(i, a)), a;
750
762
  }
751
- function Ht(e, t, r) {
763
+ function Mt(e, t, r) {
752
764
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), a = t.get(i);
753
765
  return typeof a > "u" && (a = e.apply(this, n), t.set(i, a)), a;
754
766
  }
755
- function Ct(e, t, r, n, i) {
767
+ function Dt(e, t, r, n, i) {
756
768
  return r.bind(t, e, n, i);
757
769
  }
758
- function Zr(e, t) {
759
- var r = e.length === 1 ? Kr : Ht;
760
- return Ct(e, this, r, t.cache.create(), t.serializer);
770
+ function rn(e, t) {
771
+ var r = e.length === 1 ? tn : Mt;
772
+ return Dt(e, this, r, t.cache.create(), t.serializer);
761
773
  }
762
- function Yr(e, t) {
763
- return Ct(e, this, Ht, t.cache.create(), t.serializer);
774
+ function nn(e, t) {
775
+ return Dt(e, this, Mt, t.cache.create(), t.serializer);
764
776
  }
765
- var Qr = function() {
777
+ var an = function() {
766
778
  return JSON.stringify(arguments);
767
- }, en = (
779
+ }, sn = (
768
780
  /** @class */
769
781
  function() {
770
782
  function e() {
@@ -776,71 +788,71 @@ var Qr = function() {
776
788
  this.cache[t] = r;
777
789
  }, e;
778
790
  }()
779
- ), tn = {
791
+ ), on = {
780
792
  create: function() {
781
- return new en();
793
+ return new sn();
782
794
  }
783
- }, Pe = {
784
- variadic: Yr
785
- }, xe = function() {
786
- return xe = Object.assign || function(t) {
795
+ }, De = {
796
+ variadic: nn
797
+ }, we = function() {
798
+ return we = Object.assign || function(t) {
787
799
  for (var r, n = 1, i = arguments.length; n < i; n++) {
788
800
  r = arguments[n];
789
801
  for (var a in r)
790
802
  Object.prototype.hasOwnProperty.call(r, a) && (t[a] = r[a]);
791
803
  }
792
804
  return t;
793
- }, xe.apply(this, arguments);
805
+ }, we.apply(this, arguments);
794
806
  };
795
807
  var p;
796
808
  (function(e) {
797
809
  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";
798
810
  })(p || (p = {}));
799
- var E;
811
+ var _;
800
812
  (function(e) {
801
813
  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";
802
- })(E || (E = {}));
803
- var J;
814
+ })(_ || (_ = {}));
815
+ var Q;
804
816
  (function(e) {
805
817
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
806
- })(J || (J = {}));
807
- function rt(e) {
808
- return e.type === E.literal;
818
+ })(Q || (Q = {}));
819
+ function st(e) {
820
+ return e.type === _.literal;
809
821
  }
810
- function rn(e) {
811
- return e.type === E.argument;
822
+ function ln(e) {
823
+ return e.type === _.argument;
812
824
  }
813
- function Lt(e) {
814
- return e.type === E.number;
825
+ function Nt(e) {
826
+ return e.type === _.number;
815
827
  }
816
- function Pt(e) {
817
- return e.type === E.date;
828
+ function Rt(e) {
829
+ return e.type === _.date;
818
830
  }
819
- function Ot(e) {
820
- return e.type === E.time;
831
+ function Ut(e) {
832
+ return e.type === _.time;
821
833
  }
822
- function Mt(e) {
823
- return e.type === E.select;
834
+ function Ft(e) {
835
+ return e.type === _.select;
824
836
  }
825
- function Dt(e) {
826
- return e.type === E.plural;
837
+ function zt(e) {
838
+ return e.type === _.plural;
827
839
  }
828
- function nn(e) {
829
- return e.type === E.pound;
840
+ function un(e) {
841
+ return e.type === _.pound;
830
842
  }
831
- function Nt(e) {
832
- return e.type === E.tag;
843
+ function $t(e) {
844
+ return e.type === _.tag;
833
845
  }
834
- function Rt(e) {
835
- return !!(e && typeof e == "object" && e.type === J.number);
846
+ function Gt(e) {
847
+ return !!(e && typeof e == "object" && e.type === Q.number);
836
848
  }
837
- function ze(e) {
838
- return !!(e && typeof e == "object" && e.type === J.dateTime);
849
+ function je(e) {
850
+ return !!(e && typeof e == "object" && e.type === Q.dateTime);
839
851
  }
840
- var Ut = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, an = /(?:[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;
841
- function sn(e) {
852
+ var jt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, cn = /(?:[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;
853
+ function hn(e) {
842
854
  var t = {};
843
- return e.replace(an, function(r) {
855
+ return e.replace(cn, function(r) {
844
856
  var n = r.length;
845
857
  switch (r[0]) {
846
858
  case "G":
@@ -929,46 +941,46 @@ function sn(e) {
929
941
  return "";
930
942
  }), t;
931
943
  }
932
- var _ = function() {
933
- return _ = Object.assign || function(t) {
944
+ var x = function() {
945
+ return x = Object.assign || function(t) {
934
946
  for (var r, n = 1, i = arguments.length; n < i; n++) {
935
947
  r = arguments[n];
936
948
  for (var a in r)
937
949
  Object.prototype.hasOwnProperty.call(r, a) && (t[a] = r[a]);
938
950
  }
939
951
  return t;
940
- }, _.apply(this, arguments);
952
+ }, x.apply(this, arguments);
941
953
  };
942
- var on = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
943
- function ln(e) {
954
+ var dn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
955
+ function fn(e) {
944
956
  if (e.length === 0)
945
957
  throw new Error("Number skeleton cannot be empty");
946
- for (var t = e.split(on).filter(function(d) {
958
+ for (var t = e.split(dn).filter(function(d) {
947
959
  return d.length > 0;
948
960
  }), r = [], n = 0, i = t; n < i.length; n++) {
949
961
  var a = i[n], s = a.split("/");
950
962
  if (s.length === 0)
951
963
  throw new Error("Invalid number skeleton");
952
- for (var o = s[0], u = s.slice(1), l = 0, c = u; l < c.length; l++) {
953
- var h = c[l];
964
+ for (var o = s[0], l = s.slice(1), u = 0, c = l; u < c.length; u++) {
965
+ var h = c[u];
954
966
  if (h.length === 0)
955
967
  throw new Error("Invalid number skeleton");
956
968
  }
957
- r.push({ stem: o, options: u });
969
+ r.push({ stem: o, options: l });
958
970
  }
959
971
  return r;
960
972
  }
961
- function un(e) {
973
+ function mn(e) {
962
974
  return e.replace(/^(.*?)-/, "");
963
975
  }
964
- var nt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Ft = /^(@+)?(\+|#+)?[rs]?$/g, cn = /(\*)(0+)|(#+)(0+)|(0+)/g, zt = /^(0+)$/;
965
- function it(e) {
976
+ var ot = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Vt = /^(@+)?(\+|#+)?[rs]?$/g, gn = /(\*)(0+)|(#+)(0+)|(0+)/g, Wt = /^(0+)$/;
977
+ function lt(e) {
966
978
  var t = {};
967
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Ft, function(r, n, i) {
979
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Vt, function(r, n, i) {
968
980
  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)), "";
969
981
  }), t;
970
982
  }
971
- function $t(e) {
983
+ function Xt(e) {
972
984
  switch (e) {
973
985
  case "sign-auto":
974
986
  return {
@@ -1008,7 +1020,7 @@ function $t(e) {
1008
1020
  };
1009
1021
  }
1010
1022
  }
1011
- function hn(e) {
1023
+ function pn(e) {
1012
1024
  var t;
1013
1025
  if (e[0] === "E" && e[1] === "E" ? (t = {
1014
1026
  notation: "engineering"
@@ -1016,17 +1028,17 @@ function hn(e) {
1016
1028
  notation: "scientific"
1017
1029
  }, e = e.slice(1)), t) {
1018
1030
  var r = e.slice(0, 2);
1019
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !zt.test(e))
1031
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Wt.test(e))
1020
1032
  throw new Error("Malformed concise eng/scientific notation");
1021
1033
  t.minimumIntegerDigits = e.length;
1022
1034
  }
1023
1035
  return t;
1024
1036
  }
1025
- function at(e) {
1026
- var t = {}, r = $t(e);
1037
+ function ut(e) {
1038
+ var t = {}, r = Xt(e);
1027
1039
  return r || t;
1028
1040
  }
1029
- function dn(e) {
1041
+ function bn(e) {
1030
1042
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1031
1043
  var i = n[r];
1032
1044
  switch (i.stem) {
@@ -1050,7 +1062,7 @@ function dn(e) {
1050
1062
  continue;
1051
1063
  case "measure-unit":
1052
1064
  case "unit":
1053
- t.style = "unit", t.unit = un(i.options[0]);
1065
+ t.style = "unit", t.unit = mn(i.options[0]);
1054
1066
  continue;
1055
1067
  case "compact-short":
1056
1068
  case "K":
@@ -1061,13 +1073,13 @@ function dn(e) {
1061
1073
  t.notation = "compact", t.compactDisplay = "long";
1062
1074
  continue;
1063
1075
  case "scientific":
1064
- t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
1065
- return _(_({}, u), at(l));
1076
+ t = x(x(x({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1077
+ return x(x({}, l), ut(u));
1066
1078
  }, {}));
1067
1079
  continue;
1068
1080
  case "engineering":
1069
- t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1070
- return _(_({}, u), at(l));
1081
+ t = x(x(x({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1082
+ return x(x({}, l), ut(u));
1071
1083
  }, {}));
1072
1084
  continue;
1073
1085
  case "notation-simple":
@@ -1112,45 +1124,45 @@ function dn(e) {
1112
1124
  case "integer-width":
1113
1125
  if (i.options.length > 1)
1114
1126
  throw new RangeError("integer-width stems only accept a single optional option");
1115
- i.options[0].replace(cn, function(u, l, c, h, d, v) {
1116
- if (l)
1127
+ i.options[0].replace(gn, function(l, u, c, h, d, m) {
1128
+ if (u)
1117
1129
  t.minimumIntegerDigits = c.length;
1118
1130
  else {
1119
1131
  if (h && d)
1120
1132
  throw new Error("We currently do not support maximum integer digits");
1121
- if (v)
1133
+ if (m)
1122
1134
  throw new Error("We currently do not support exact integer digits");
1123
1135
  }
1124
1136
  return "";
1125
1137
  });
1126
1138
  continue;
1127
1139
  }
1128
- if (zt.test(i.stem)) {
1140
+ if (Wt.test(i.stem)) {
1129
1141
  t.minimumIntegerDigits = i.stem.length;
1130
1142
  continue;
1131
1143
  }
1132
- if (nt.test(i.stem)) {
1144
+ if (ot.test(i.stem)) {
1133
1145
  if (i.options.length > 1)
1134
1146
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1135
- i.stem.replace(nt, function(u, l, c, h, d, v) {
1136
- return c === "*" ? t.minimumFractionDigits = l.length : h && h[0] === "#" ? t.maximumFractionDigits = h.length : d && v ? (t.minimumFractionDigits = d.length, t.maximumFractionDigits = d.length + v.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1147
+ i.stem.replace(ot, function(l, u, c, h, d, m) {
1148
+ return c === "*" ? t.minimumFractionDigits = u.length : h && h[0] === "#" ? t.maximumFractionDigits = h.length : d && m ? (t.minimumFractionDigits = d.length, t.maximumFractionDigits = d.length + m.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1137
1149
  });
1138
1150
  var a = i.options[0];
1139
- a === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : a && (t = _(_({}, t), it(a)));
1151
+ a === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : a && (t = x(x({}, t), lt(a)));
1140
1152
  continue;
1141
1153
  }
1142
- if (Ft.test(i.stem)) {
1143
- t = _(_({}, t), it(i.stem));
1154
+ if (Vt.test(i.stem)) {
1155
+ t = x(x({}, t), lt(i.stem));
1144
1156
  continue;
1145
1157
  }
1146
- var s = $t(i.stem);
1147
- s && (t = _(_({}, t), s));
1148
- var o = hn(i.stem);
1149
- o && (t = _(_({}, t), o));
1158
+ var s = Xt(i.stem);
1159
+ s && (t = x(x({}, t), s));
1160
+ var o = pn(i.stem);
1161
+ o && (t = x(x({}, t), o));
1150
1162
  }
1151
1163
  return t;
1152
1164
  }
1153
- var be = {
1165
+ var Ee = {
1154
1166
  "001": [
1155
1167
  "H",
1156
1168
  "h"
@@ -2565,23 +2577,23 @@ var be = {
2565
2577
  "h"
2566
2578
  ]
2567
2579
  };
2568
- function fn(e, t) {
2580
+ function vn(e, t) {
2569
2581
  for (var r = "", n = 0; n < e.length; n++) {
2570
2582
  var i = e.charAt(n);
2571
2583
  if (i === "j") {
2572
2584
  for (var a = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2573
2585
  a++, n++;
2574
- var s = 1 + (a & 1), o = a < 2 ? 1 : 3 + (a >> 1), u = "a", l = mn(t);
2575
- for ((l == "H" || l == "k") && (o = 0); o-- > 0; )
2576
- r += u;
2586
+ var s = 1 + (a & 1), o = a < 2 ? 1 : 3 + (a >> 1), l = "a", u = yn(t);
2587
+ for ((u == "H" || u == "k") && (o = 0); o-- > 0; )
2588
+ r += l;
2577
2589
  for (; s-- > 0; )
2578
- r = l + r;
2590
+ r = u + r;
2579
2591
  } else
2580
2592
  i === "J" ? r += "H" : r += i;
2581
2593
  }
2582
2594
  return r;
2583
2595
  }
2584
- function mn(e) {
2596
+ function yn(e) {
2585
2597
  var t = e.hourCycle;
2586
2598
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2587
2599
  e.hourCycles && // @ts-ignore
@@ -2600,23 +2612,23 @@ function mn(e) {
2600
2612
  }
2601
2613
  var r = e.language, n;
2602
2614
  r !== "root" && (n = e.maximize().region);
2603
- var i = be[n || ""] || be[r || ""] || be["".concat(r, "-001")] || be["001"];
2615
+ var i = Ee[n || ""] || Ee[r || ""] || Ee["".concat(r, "-001")] || Ee["001"];
2604
2616
  return i[0];
2605
2617
  }
2606
- var Oe, gn = new RegExp("^".concat(Ut.source, "*")), pn = new RegExp("".concat(Ut.source, "*$"));
2607
- function b(e, t) {
2618
+ var Ne, En = new RegExp("^".concat(jt.source, "*")), _n = new RegExp("".concat(jt.source, "*$"));
2619
+ function v(e, t) {
2608
2620
  return { start: e, end: t };
2609
2621
  }
2610
- var bn = !!String.prototype.startsWith && "_a".startsWith("a", 1), vn = !!String.fromCodePoint, yn = !!Object.fromEntries, En = !!String.prototype.codePointAt, _n = !!String.prototype.trimStart, xn = !!String.prototype.trimEnd, Tn = !!Number.isSafeInteger, kn = Tn ? Number.isSafeInteger : function(e) {
2622
+ var xn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Tn = !!String.fromCodePoint, kn = !!Object.fromEntries, wn = !!String.prototype.codePointAt, Sn = !!String.prototype.trimStart, An = !!String.prototype.trimEnd, In = !!Number.isSafeInteger, Bn = In ? Number.isSafeInteger : function(e) {
2611
2623
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2612
- }, $e = !0;
2624
+ }, Ve = !0;
2613
2625
  try {
2614
- var wn = jt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2615
- $e = ((Oe = wn.exec("a")) === null || Oe === void 0 ? void 0 : Oe[0]) === "a";
2626
+ var Hn = Jt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2627
+ Ve = ((Ne = Hn.exec("a")) === null || Ne === void 0 ? void 0 : Ne[0]) === "a";
2616
2628
  } catch {
2617
- $e = !1;
2629
+ Ve = !1;
2618
2630
  }
2619
- var st = bn ? (
2631
+ var ct = xn ? (
2620
2632
  // Native
2621
2633
  function(t, r, n) {
2622
2634
  return t.startsWith(r, n);
@@ -2626,7 +2638,7 @@ var st = bn ? (
2626
2638
  function(t, r, n) {
2627
2639
  return t.slice(n, n + r.length) === r;
2628
2640
  }
2629
- ), Ge = vn ? String.fromCodePoint : (
2641
+ ), We = Tn ? String.fromCodePoint : (
2630
2642
  // IE11
2631
2643
  function() {
2632
2644
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2638,9 +2650,9 @@ var st = bn ? (
2638
2650
  }
2639
2651
  return n;
2640
2652
  }
2641
- ), ot = (
2653
+ ), ht = (
2642
2654
  // native
2643
- yn ? Object.fromEntries : (
2655
+ kn ? Object.fromEntries : (
2644
2656
  // Ponyfill
2645
2657
  function(t) {
2646
2658
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2650,7 +2662,7 @@ var st = bn ? (
2650
2662
  return r;
2651
2663
  }
2652
2664
  )
2653
- ), Gt = En ? (
2665
+ ), qt = wn ? (
2654
2666
  // Native
2655
2667
  function(t, r) {
2656
2668
  return t.codePointAt(r);
@@ -2664,7 +2676,7 @@ var st = bn ? (
2664
2676
  return i < 55296 || i > 56319 || r + 1 === n || (a = t.charCodeAt(r + 1)) < 56320 || a > 57343 ? i : (i - 55296 << 10) + (a - 56320) + 65536;
2665
2677
  }
2666
2678
  }
2667
- ), Sn = _n ? (
2679
+ ), Cn = Sn ? (
2668
2680
  // Native
2669
2681
  function(t) {
2670
2682
  return t.trimStart();
@@ -2672,9 +2684,9 @@ var st = bn ? (
2672
2684
  ) : (
2673
2685
  // Ponyfill
2674
2686
  function(t) {
2675
- return t.replace(gn, "");
2687
+ return t.replace(En, "");
2676
2688
  }
2677
- ), An = xn ? (
2689
+ ), Ln = An ? (
2678
2690
  // Native
2679
2691
  function(t) {
2680
2692
  return t.trimEnd();
@@ -2682,32 +2694,32 @@ var st = bn ? (
2682
2694
  ) : (
2683
2695
  // Ponyfill
2684
2696
  function(t) {
2685
- return t.replace(pn, "");
2697
+ return t.replace(_n, "");
2686
2698
  }
2687
2699
  );
2688
- function jt(e, t) {
2700
+ function Jt(e, t) {
2689
2701
  return new RegExp(e, t);
2690
2702
  }
2691
- var je;
2692
- if ($e) {
2693
- var lt = jt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2694
- je = function(t, r) {
2703
+ var Xe;
2704
+ if (Ve) {
2705
+ var dt = Jt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2706
+ Xe = function(t, r) {
2695
2707
  var n;
2696
- lt.lastIndex = r;
2697
- var i = lt.exec(t);
2708
+ dt.lastIndex = r;
2709
+ var i = dt.exec(t);
2698
2710
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2699
2711
  };
2700
2712
  } else
2701
- je = function(t, r) {
2713
+ Xe = function(t, r) {
2702
2714
  for (var n = []; ; ) {
2703
- var i = Gt(t, r);
2704
- if (i === void 0 || Vt(i) || Cn(i))
2715
+ var i = qt(t, r);
2716
+ if (i === void 0 || Kt(i) || Dn(i))
2705
2717
  break;
2706
2718
  n.push(i), r += i >= 65536 ? 2 : 1;
2707
2719
  }
2708
- return Ge.apply(void 0, n);
2720
+ return We.apply(void 0, n);
2709
2721
  };
2710
- var In = (
2722
+ var Pn = (
2711
2723
  /** @class */
2712
2724
  function() {
2713
2725
  function e(t, r) {
@@ -2731,14 +2743,14 @@ var In = (
2731
2743
  if (a === 35 && (r === "plural" || r === "selectordinal")) {
2732
2744
  var o = this.clonePosition();
2733
2745
  this.bump(), i.push({
2734
- type: E.pound,
2735
- location: b(o, this.clonePosition())
2746
+ type: _.pound,
2747
+ location: v(o, this.clonePosition())
2736
2748
  });
2737
2749
  } else if (a === 60 && !this.ignoreTag && this.peek() === 47) {
2738
2750
  if (n)
2739
2751
  break;
2740
- return this.error(p.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
2741
- } else if (a === 60 && !this.ignoreTag && Ve(this.peek() || 0)) {
2752
+ return this.error(p.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
2753
+ } else if (a === 60 && !this.ignoreTag && qe(this.peek() || 0)) {
2742
2754
  var s = this.parseTag(t, r);
2743
2755
  if (s.err)
2744
2756
  return s;
@@ -2759,9 +2771,9 @@ var In = (
2759
2771
  if (this.bumpSpace(), this.bumpIf("/>"))
2760
2772
  return {
2761
2773
  val: {
2762
- type: E.literal,
2774
+ type: _.literal,
2763
2775
  value: "<".concat(i, "/>"),
2764
- location: b(n, this.clonePosition())
2776
+ location: v(n, this.clonePosition())
2765
2777
  },
2766
2778
  err: null
2767
2779
  };
@@ -2771,25 +2783,25 @@ var In = (
2771
2783
  return a;
2772
2784
  var s = a.val, o = this.clonePosition();
2773
2785
  if (this.bumpIf("</")) {
2774
- if (this.isEOF() || !Ve(this.char()))
2775
- return this.error(p.INVALID_TAG, b(o, this.clonePosition()));
2776
- var u = this.clonePosition(), l = this.parseTagName();
2777
- return i !== l ? this.error(p.UNMATCHED_CLOSING_TAG, b(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2786
+ if (this.isEOF() || !qe(this.char()))
2787
+ return this.error(p.INVALID_TAG, v(o, this.clonePosition()));
2788
+ var l = this.clonePosition(), u = this.parseTagName();
2789
+ return i !== u ? this.error(p.UNMATCHED_CLOSING_TAG, v(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2778
2790
  val: {
2779
- type: E.tag,
2791
+ type: _.tag,
2780
2792
  value: i,
2781
2793
  children: s,
2782
- location: b(n, this.clonePosition())
2794
+ location: v(n, this.clonePosition())
2783
2795
  },
2784
2796
  err: null
2785
- } : this.error(p.INVALID_TAG, b(o, this.clonePosition())));
2797
+ } : this.error(p.INVALID_TAG, v(o, this.clonePosition())));
2786
2798
  } else
2787
- return this.error(p.UNCLOSED_TAG, b(n, this.clonePosition()));
2799
+ return this.error(p.UNCLOSED_TAG, v(n, this.clonePosition()));
2788
2800
  } else
2789
- return this.error(p.INVALID_TAG, b(n, this.clonePosition()));
2801
+ return this.error(p.INVALID_TAG, v(n, this.clonePosition()));
2790
2802
  }, e.prototype.parseTagName = function() {
2791
2803
  var t = this.offset();
2792
- for (this.bump(); !this.isEOF() && Hn(this.char()); )
2804
+ for (this.bump(); !this.isEOF() && Mn(this.char()); )
2793
2805
  this.bump();
2794
2806
  return this.message.slice(t, this.offset());
2795
2807
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2811,14 +2823,14 @@ var In = (
2811
2823
  }
2812
2824
  break;
2813
2825
  }
2814
- var u = b(n, this.clonePosition());
2826
+ var l = v(n, this.clonePosition());
2815
2827
  return {
2816
- val: { type: E.literal, value: i, location: u },
2828
+ val: { type: _.literal, value: i, location: l },
2817
2829
  err: null
2818
2830
  };
2819
2831
  }, e.prototype.tryParseLeftAngleBracket = function() {
2820
2832
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2821
- !Bn(this.peek() || 0)) ? (this.bump(), "<") : null;
2833
+ !On(this.peek() || 0)) ? (this.bump(), "<") : null;
2822
2834
  }, e.prototype.tryParseQuote = function(t) {
2823
2835
  if (this.isEOF() || this.char() !== 39)
2824
2836
  return null;
@@ -2852,100 +2864,100 @@ var In = (
2852
2864
  r.push(n);
2853
2865
  this.bump();
2854
2866
  }
2855
- return Ge.apply(void 0, r);
2867
+ return We.apply(void 0, r);
2856
2868
  }, e.prototype.tryParseUnquoted = function(t, r) {
2857
2869
  if (this.isEOF())
2858
2870
  return null;
2859
2871
  var n = this.char();
2860
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ge(n));
2872
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), We(n));
2861
2873
  }, e.prototype.parseArgument = function(t, r) {
2862
2874
  var n = this.clonePosition();
2863
2875
  if (this.bump(), this.bumpSpace(), this.isEOF())
2864
- return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
2876
+ return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
2865
2877
  if (this.char() === 125)
2866
- return this.bump(), this.error(p.EMPTY_ARGUMENT, b(n, this.clonePosition()));
2878
+ return this.bump(), this.error(p.EMPTY_ARGUMENT, v(n, this.clonePosition()));
2867
2879
  var i = this.parseIdentifierIfPossible().value;
2868
2880
  if (!i)
2869
- return this.error(p.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
2881
+ return this.error(p.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
2870
2882
  if (this.bumpSpace(), this.isEOF())
2871
- return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
2883
+ return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
2872
2884
  switch (this.char()) {
2873
2885
  case 125:
2874
2886
  return this.bump(), {
2875
2887
  val: {
2876
- type: E.argument,
2888
+ type: _.argument,
2877
2889
  // value does not include the opening and closing braces.
2878
2890
  value: i,
2879
- location: b(n, this.clonePosition())
2891
+ location: v(n, this.clonePosition())
2880
2892
  },
2881
2893
  err: null
2882
2894
  };
2883
2895
  case 44:
2884
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2896
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2885
2897
  default:
2886
- return this.error(p.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
2898
+ return this.error(p.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
2887
2899
  }
2888
2900
  }, e.prototype.parseIdentifierIfPossible = function() {
2889
- var t = this.clonePosition(), r = this.offset(), n = je(this.message, r), i = r + n.length;
2901
+ var t = this.clonePosition(), r = this.offset(), n = Xe(this.message, r), i = r + n.length;
2890
2902
  this.bumpTo(i);
2891
- var a = this.clonePosition(), s = b(t, a);
2903
+ var a = this.clonePosition(), s = v(t, a);
2892
2904
  return { value: n, location: s };
2893
2905
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
2894
- var a, s = this.clonePosition(), o = this.parseIdentifierIfPossible().value, u = this.clonePosition();
2906
+ var a, s = this.clonePosition(), o = this.parseIdentifierIfPossible().value, l = this.clonePosition();
2895
2907
  switch (o) {
2896
2908
  case "":
2897
- return this.error(p.EXPECT_ARGUMENT_TYPE, b(s, u));
2909
+ return this.error(p.EXPECT_ARGUMENT_TYPE, v(s, l));
2898
2910
  case "number":
2899
2911
  case "date":
2900
2912
  case "time": {
2901
2913
  this.bumpSpace();
2902
- var l = null;
2914
+ var u = null;
2903
2915
  if (this.bumpIf(",")) {
2904
2916
  this.bumpSpace();
2905
2917
  var c = this.clonePosition(), h = this.parseSimpleArgStyleIfPossible();
2906
2918
  if (h.err)
2907
2919
  return h;
2908
- var d = An(h.val);
2920
+ var d = Ln(h.val);
2909
2921
  if (d.length === 0)
2910
- return this.error(p.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
2911
- var v = b(c, this.clonePosition());
2912
- l = { style: d, styleLocation: v };
2922
+ return this.error(p.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
2923
+ var m = v(c, this.clonePosition());
2924
+ u = { style: d, styleLocation: m };
2913
2925
  }
2914
- var m = this.tryParseArgumentClose(i);
2915
- if (m.err)
2916
- return m;
2917
- var x = b(i, this.clonePosition());
2918
- if (l && st(l?.style, "::", 0)) {
2919
- var k = Sn(l.style.slice(2));
2926
+ var g = this.tryParseArgumentClose(i);
2927
+ if (g.err)
2928
+ return g;
2929
+ var T = v(i, this.clonePosition());
2930
+ if (u && ct(u?.style, "::", 0)) {
2931
+ var E = Cn(u.style.slice(2));
2920
2932
  if (o === "number") {
2921
- var h = this.parseNumberSkeletonFromString(k, l.styleLocation);
2933
+ var h = this.parseNumberSkeletonFromString(E, u.styleLocation);
2922
2934
  return h.err ? h : {
2923
- val: { type: E.number, value: n, location: x, style: h.val },
2935
+ val: { type: _.number, value: n, location: T, style: h.val },
2924
2936
  err: null
2925
2937
  };
2926
2938
  } else {
2927
- if (k.length === 0)
2928
- return this.error(p.EXPECT_DATE_TIME_SKELETON, x);
2929
- var T = k;
2930
- this.locale && (T = fn(k, this.locale));
2939
+ if (E.length === 0)
2940
+ return this.error(p.EXPECT_DATE_TIME_SKELETON, T);
2941
+ var f = E;
2942
+ this.locale && (f = vn(E, this.locale));
2931
2943
  var d = {
2932
- type: J.dateTime,
2933
- pattern: T,
2934
- location: l.styleLocation,
2935
- parsedOptions: this.shouldParseSkeletons ? sn(T) : {}
2936
- }, f = o === "date" ? E.date : E.time;
2944
+ type: Q.dateTime,
2945
+ pattern: f,
2946
+ location: u.styleLocation,
2947
+ parsedOptions: this.shouldParseSkeletons ? hn(f) : {}
2948
+ }, y = o === "date" ? _.date : _.time;
2937
2949
  return {
2938
- val: { type: f, value: n, location: x, style: d },
2950
+ val: { type: y, value: n, location: T, style: d },
2939
2951
  err: null
2940
2952
  };
2941
2953
  }
2942
2954
  }
2943
2955
  return {
2944
2956
  val: {
2945
- type: o === "number" ? E.number : o === "date" ? E.date : E.time,
2957
+ type: o === "number" ? _.number : o === "date" ? _.date : _.time,
2946
2958
  value: n,
2947
- location: x,
2948
- style: (a = l?.style) !== null && a !== void 0 ? a : null
2959
+ location: T,
2960
+ style: (a = u?.style) !== null && a !== void 0 ? a : null
2949
2961
  },
2950
2962
  err: null
2951
2963
  };
@@ -2953,52 +2965,52 @@ var In = (
2953
2965
  case "plural":
2954
2966
  case "selectordinal":
2955
2967
  case "select": {
2956
- var y = this.clonePosition();
2968
+ var w = this.clonePosition();
2957
2969
  if (this.bumpSpace(), !this.bumpIf(","))
2958
- return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, b(y, xe({}, y)));
2970
+ return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, v(w, we({}, w)));
2959
2971
  this.bumpSpace();
2960
- var R = this.parseIdentifierIfPossible(), H = 0;
2961
- if (o !== "select" && R.value === "offset") {
2972
+ var U = this.parseIdentifierIfPossible(), L = 0;
2973
+ if (o !== "select" && U.value === "offset") {
2962
2974
  if (!this.bumpIf(":"))
2963
- return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b(this.clonePosition(), this.clonePosition()));
2975
+ return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
2964
2976
  this.bumpSpace();
2965
2977
  var h = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2966
2978
  if (h.err)
2967
2979
  return h;
2968
- this.bumpSpace(), R = this.parseIdentifierIfPossible(), H = h.val;
2980
+ this.bumpSpace(), U = this.parseIdentifierIfPossible(), L = h.val;
2969
2981
  }
2970
- var F = this.tryParsePluralOrSelectOptions(t, o, r, R);
2971
- if (F.err)
2972
- return F;
2973
- var m = this.tryParseArgumentClose(i);
2974
- if (m.err)
2975
- return m;
2976
- var g = b(i, this.clonePosition());
2982
+ var $ = this.tryParsePluralOrSelectOptions(t, o, r, U);
2983
+ if ($.err)
2984
+ return $;
2985
+ var g = this.tryParseArgumentClose(i);
2986
+ if (g.err)
2987
+ return g;
2988
+ var ae = v(i, this.clonePosition());
2977
2989
  return o === "select" ? {
2978
2990
  val: {
2979
- type: E.select,
2991
+ type: _.select,
2980
2992
  value: n,
2981
- options: ot(F.val),
2982
- location: g
2993
+ options: ht($.val),
2994
+ location: ae
2983
2995
  },
2984
2996
  err: null
2985
2997
  } : {
2986
2998
  val: {
2987
- type: E.plural,
2999
+ type: _.plural,
2988
3000
  value: n,
2989
- options: ot(F.val),
2990
- offset: H,
3001
+ options: ht($.val),
3002
+ offset: L,
2991
3003
  pluralType: o === "plural" ? "cardinal" : "ordinal",
2992
- location: g
3004
+ location: ae
2993
3005
  },
2994
3006
  err: null
2995
3007
  };
2996
3008
  }
2997
3009
  default:
2998
- return this.error(p.INVALID_ARGUMENT_TYPE, b(s, u));
3010
+ return this.error(p.INVALID_ARGUMENT_TYPE, v(s, l));
2999
3011
  }
3000
3012
  }, e.prototype.tryParseArgumentClose = function(t) {
3001
- return this.isEOF() || this.char() !== 125 ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, b(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3013
+ return this.isEOF() || this.char() !== 125 ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, v(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3002
3014
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3003
3015
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3004
3016
  var n = this.char();
@@ -3007,7 +3019,7 @@ var In = (
3007
3019
  this.bump();
3008
3020
  var i = this.clonePosition();
3009
3021
  if (!this.bumpUntil("'"))
3010
- return this.error(p.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, b(i, this.clonePosition()));
3022
+ return this.error(p.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, v(i, this.clonePosition()));
3011
3023
  this.bump();
3012
3024
  break;
3013
3025
  }
@@ -3037,52 +3049,52 @@ var In = (
3037
3049
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3038
3050
  var n = [];
3039
3051
  try {
3040
- n = ln(t);
3052
+ n = fn(t);
3041
3053
  } catch {
3042
3054
  return this.error(p.INVALID_NUMBER_SKELETON, r);
3043
3055
  }
3044
3056
  return {
3045
3057
  val: {
3046
- type: J.number,
3058
+ type: Q.number,
3047
3059
  tokens: n,
3048
3060
  location: r,
3049
- parsedOptions: this.shouldParseSkeletons ? dn(n) : {}
3061
+ parsedOptions: this.shouldParseSkeletons ? bn(n) : {}
3050
3062
  },
3051
3063
  err: null
3052
3064
  };
3053
3065
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3054
- for (var a, s = !1, o = [], u = /* @__PURE__ */ new Set(), l = i.value, c = i.location; ; ) {
3055
- if (l.length === 0) {
3066
+ for (var a, s = !1, o = [], l = /* @__PURE__ */ new Set(), u = i.value, c = i.location; ; ) {
3067
+ if (u.length === 0) {
3056
3068
  var h = this.clonePosition();
3057
3069
  if (r !== "select" && this.bumpIf("=")) {
3058
3070
  var d = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_SELECTOR, p.INVALID_PLURAL_ARGUMENT_SELECTOR);
3059
3071
  if (d.err)
3060
3072
  return d;
3061
- c = b(h, this.clonePosition()), l = this.message.slice(h.offset, this.offset());
3073
+ c = v(h, this.clonePosition()), u = this.message.slice(h.offset, this.offset());
3062
3074
  } else
3063
3075
  break;
3064
3076
  }
3065
- if (u.has(l))
3077
+ if (l.has(u))
3066
3078
  return this.error(r === "select" ? p.DUPLICATE_SELECT_ARGUMENT_SELECTOR : p.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
3067
- l === "other" && (s = !0), this.bumpSpace();
3068
- var v = this.clonePosition();
3079
+ u === "other" && (s = !0), this.bumpSpace();
3080
+ var m = this.clonePosition();
3069
3081
  if (!this.bumpIf("{"))
3070
- return this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, b(this.clonePosition(), this.clonePosition()));
3071
- var m = this.parseMessage(t + 1, r, n);
3072
- if (m.err)
3073
- return m;
3074
- var x = this.tryParseArgumentClose(v);
3075
- if (x.err)
3076
- return x;
3082
+ return this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
3083
+ var g = this.parseMessage(t + 1, r, n);
3084
+ if (g.err)
3085
+ return g;
3086
+ var T = this.tryParseArgumentClose(m);
3087
+ if (T.err)
3088
+ return T;
3077
3089
  o.push([
3078
- l,
3090
+ u,
3079
3091
  {
3080
- value: m.val,
3081
- location: b(v, this.clonePosition())
3092
+ value: g.val,
3093
+ location: v(m, this.clonePosition())
3082
3094
  }
3083
- ]), u.add(l), this.bumpSpace(), a = this.parseIdentifierIfPossible(), l = a.value, c = a.location;
3095
+ ]), l.add(u), this.bumpSpace(), a = this.parseIdentifierIfPossible(), u = a.value, c = a.location;
3084
3096
  }
3085
- return o.length === 0 ? this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR : p.EXPECT_PLURAL_ARGUMENT_SELECTOR, b(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(p.MISSING_OTHER_CLAUSE, b(this.clonePosition(), this.clonePosition())) : { val: o, err: null };
3097
+ return o.length === 0 ? this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR : p.EXPECT_PLURAL_ARGUMENT_SELECTOR, v(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(p.MISSING_OTHER_CLAUSE, v(this.clonePosition(), this.clonePosition())) : { val: o, err: null };
3086
3098
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3087
3099
  var n = 1, i = this.clonePosition();
3088
3100
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3093,8 +3105,8 @@ var In = (
3093
3105
  else
3094
3106
  break;
3095
3107
  }
3096
- var u = b(i, this.clonePosition());
3097
- return a ? (s *= n, kn(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3108
+ var l = v(i, this.clonePosition());
3109
+ return a ? (s *= n, Bn(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3098
3110
  }, e.prototype.offset = function() {
3099
3111
  return this.position.offset;
3100
3112
  }, e.prototype.isEOF = function() {
@@ -3109,7 +3121,7 @@ var In = (
3109
3121
  var t = this.position.offset;
3110
3122
  if (t >= this.message.length)
3111
3123
  throw Error("out of bound");
3112
- var r = Gt(this.message, t);
3124
+ var r = qt(this.message, t);
3113
3125
  if (r === void 0)
3114
3126
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3115
3127
  return r;
@@ -3128,7 +3140,7 @@ var In = (
3128
3140
  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);
3129
3141
  }
3130
3142
  }, e.prototype.bumpIf = function(t) {
3131
- if (st(this.message, t, this.offset())) {
3143
+ if (ct(this.message, t, this.offset())) {
3132
3144
  for (var r = 0; r < t.length; r++)
3133
3145
  this.bump();
3134
3146
  return !0;
@@ -3150,7 +3162,7 @@ var In = (
3150
3162
  break;
3151
3163
  }
3152
3164
  }, e.prototype.bumpSpace = function() {
3153
- for (; !this.isEOF() && Vt(this.char()); )
3165
+ for (; !this.isEOF() && Kt(this.char()); )
3154
3166
  this.bump();
3155
3167
  }, e.prototype.peek = function() {
3156
3168
  if (this.isEOF())
@@ -3160,47 +3172,47 @@ var In = (
3160
3172
  }, e;
3161
3173
  }()
3162
3174
  );
3163
- function Ve(e) {
3175
+ function qe(e) {
3164
3176
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3165
3177
  }
3166
- function Bn(e) {
3167
- return Ve(e) || e === 47;
3178
+ function On(e) {
3179
+ return qe(e) || e === 47;
3168
3180
  }
3169
- function Hn(e) {
3181
+ function Mn(e) {
3170
3182
  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;
3171
3183
  }
3172
- function Vt(e) {
3184
+ function Kt(e) {
3173
3185
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3174
3186
  }
3175
- function Cn(e) {
3187
+ function Dn(e) {
3176
3188
  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;
3177
3189
  }
3178
- function We(e) {
3190
+ function Je(e) {
3179
3191
  e.forEach(function(t) {
3180
- if (delete t.location, Mt(t) || Dt(t))
3192
+ if (delete t.location, Ft(t) || zt(t))
3181
3193
  for (var r in t.options)
3182
- delete t.options[r].location, We(t.options[r].value);
3194
+ delete t.options[r].location, Je(t.options[r].value);
3183
3195
  else
3184
- Lt(t) && Rt(t.style) || (Pt(t) || Ot(t)) && ze(t.style) ? delete t.style.location : Nt(t) && We(t.children);
3196
+ Nt(t) && Gt(t.style) || (Rt(t) || Ut(t)) && je(t.style) ? delete t.style.location : $t(t) && Je(t.children);
3185
3197
  });
3186
3198
  }
3187
- function Ln(e, t) {
3188
- t === void 0 && (t = {}), t = xe({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3189
- var r = new In(e, t).parse();
3199
+ function Nn(e, t) {
3200
+ t === void 0 && (t = {}), t = we({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3201
+ var r = new Pn(e, t).parse();
3190
3202
  if (r.err) {
3191
3203
  var n = SyntaxError(p[r.err.kind]);
3192
3204
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3193
3205
  }
3194
- return t?.captureLocation || We(r.val), r.val;
3206
+ return t?.captureLocation || Je(r.val), r.val;
3195
3207
  }
3196
- var K;
3208
+ var ee;
3197
3209
  (function(e) {
3198
3210
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3199
- })(K || (K = {}));
3200
- var Ie = (
3211
+ })(ee || (ee = {}));
3212
+ var Ce = (
3201
3213
  /** @class */
3202
3214
  function(e) {
3203
- Ae(t, e);
3215
+ He(t, e);
3204
3216
  function t(r, n, i) {
3205
3217
  var a = e.call(this, r) || this;
3206
3218
  return a.code = n, a.originalMessage = i, a;
@@ -3209,155 +3221,155 @@ var Ie = (
3209
3221
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3210
3222
  }, t;
3211
3223
  }(Error)
3212
- ), ut = (
3224
+ ), ft = (
3213
3225
  /** @class */
3214
3226
  function(e) {
3215
- Ae(t, e);
3227
+ He(t, e);
3216
3228
  function t(r, n, i, a) {
3217
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), K.INVALID_VALUE, a) || this;
3229
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ee.INVALID_VALUE, a) || this;
3218
3230
  }
3219
3231
  return t;
3220
- }(Ie)
3221
- ), Pn = (
3232
+ }(Ce)
3233
+ ), Rn = (
3222
3234
  /** @class */
3223
3235
  function(e) {
3224
- Ae(t, e);
3236
+ He(t, e);
3225
3237
  function t(r, n, i) {
3226
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), K.INVALID_VALUE, i) || this;
3238
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ee.INVALID_VALUE, i) || this;
3227
3239
  }
3228
3240
  return t;
3229
- }(Ie)
3230
- ), On = (
3241
+ }(Ce)
3242
+ ), Un = (
3231
3243
  /** @class */
3232
3244
  function(e) {
3233
- Ae(t, e);
3245
+ He(t, e);
3234
3246
  function t(r, n) {
3235
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), K.MISSING_VALUE, n) || this;
3247
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ee.MISSING_VALUE, n) || this;
3236
3248
  }
3237
3249
  return t;
3238
- }(Ie)
3239
- ), w;
3250
+ }(Ce)
3251
+ ), S;
3240
3252
  (function(e) {
3241
3253
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3242
- })(w || (w = {}));
3243
- function Mn(e) {
3254
+ })(S || (S = {}));
3255
+ function Fn(e) {
3244
3256
  return e.length < 2 ? e : e.reduce(function(t, r) {
3245
3257
  var n = t[t.length - 1];
3246
- return !n || n.type !== w.literal || r.type !== w.literal ? t.push(r) : n.value += r.value, t;
3258
+ return !n || n.type !== S.literal || r.type !== S.literal ? t.push(r) : n.value += r.value, t;
3247
3259
  }, []);
3248
3260
  }
3249
- function Dn(e) {
3261
+ function zn(e) {
3250
3262
  return typeof e == "function";
3251
3263
  }
3252
- function Ee(e, t, r, n, i, a, s) {
3253
- if (e.length === 1 && rt(e[0]))
3264
+ function Te(e, t, r, n, i, a, s) {
3265
+ if (e.length === 1 && st(e[0]))
3254
3266
  return [
3255
3267
  {
3256
- type: w.literal,
3268
+ type: S.literal,
3257
3269
  value: e[0].value
3258
3270
  }
3259
3271
  ];
3260
- for (var o = [], u = 0, l = e; u < l.length; u++) {
3261
- var c = l[u];
3262
- if (rt(c)) {
3272
+ for (var o = [], l = 0, u = e; l < u.length; l++) {
3273
+ var c = u[l];
3274
+ if (st(c)) {
3263
3275
  o.push({
3264
- type: w.literal,
3276
+ type: S.literal,
3265
3277
  value: c.value
3266
3278
  });
3267
3279
  continue;
3268
3280
  }
3269
- if (nn(c)) {
3281
+ if (un(c)) {
3270
3282
  typeof a == "number" && o.push({
3271
- type: w.literal,
3283
+ type: S.literal,
3272
3284
  value: r.getNumberFormat(t).format(a)
3273
3285
  });
3274
3286
  continue;
3275
3287
  }
3276
3288
  var h = c.value;
3277
3289
  if (!(i && h in i))
3278
- throw new On(h, s);
3290
+ throw new Un(h, s);
3279
3291
  var d = i[h];
3280
- if (rn(c)) {
3292
+ if (ln(c)) {
3281
3293
  (!d || typeof d == "string" || typeof d == "number") && (d = typeof d == "string" || typeof d == "number" ? String(d) : ""), o.push({
3282
- type: typeof d == "string" ? w.literal : w.object,
3294
+ type: typeof d == "string" ? S.literal : S.object,
3283
3295
  value: d
3284
3296
  });
3285
3297
  continue;
3286
3298
  }
3287
- if (Pt(c)) {
3288
- var v = typeof c.style == "string" ? n.date[c.style] : ze(c.style) ? c.style.parsedOptions : void 0;
3299
+ if (Rt(c)) {
3300
+ var m = typeof c.style == "string" ? n.date[c.style] : je(c.style) ? c.style.parsedOptions : void 0;
3289
3301
  o.push({
3290
- type: w.literal,
3291
- value: r.getDateTimeFormat(t, v).format(d)
3302
+ type: S.literal,
3303
+ value: r.getDateTimeFormat(t, m).format(d)
3292
3304
  });
3293
3305
  continue;
3294
3306
  }
3295
- if (Ot(c)) {
3296
- var v = typeof c.style == "string" ? n.time[c.style] : ze(c.style) ? c.style.parsedOptions : n.time.medium;
3307
+ if (Ut(c)) {
3308
+ var m = typeof c.style == "string" ? n.time[c.style] : je(c.style) ? c.style.parsedOptions : n.time.medium;
3297
3309
  o.push({
3298
- type: w.literal,
3299
- value: r.getDateTimeFormat(t, v).format(d)
3310
+ type: S.literal,
3311
+ value: r.getDateTimeFormat(t, m).format(d)
3300
3312
  });
3301
3313
  continue;
3302
3314
  }
3303
- if (Lt(c)) {
3304
- var v = typeof c.style == "string" ? n.number[c.style] : Rt(c.style) ? c.style.parsedOptions : void 0;
3305
- v && v.scale && (d = d * (v.scale || 1)), o.push({
3306
- type: w.literal,
3307
- value: r.getNumberFormat(t, v).format(d)
3315
+ if (Nt(c)) {
3316
+ var m = typeof c.style == "string" ? n.number[c.style] : Gt(c.style) ? c.style.parsedOptions : void 0;
3317
+ m && m.scale && (d = d * (m.scale || 1)), o.push({
3318
+ type: S.literal,
3319
+ value: r.getNumberFormat(t, m).format(d)
3308
3320
  });
3309
3321
  continue;
3310
3322
  }
3311
- if (Nt(c)) {
3312
- var m = c.children, x = c.value, k = i[x];
3313
- if (!Dn(k))
3314
- throw new Pn(x, "function", s);
3315
- var T = Ee(m, t, r, n, i, a), f = k(T.map(function(H) {
3316
- return H.value;
3323
+ if ($t(c)) {
3324
+ var g = c.children, T = c.value, E = i[T];
3325
+ if (!zn(E))
3326
+ throw new Rn(T, "function", s);
3327
+ var f = Te(g, t, r, n, i, a), y = E(f.map(function(L) {
3328
+ return L.value;
3317
3329
  }));
3318
- Array.isArray(f) || (f = [f]), o.push.apply(o, f.map(function(H) {
3330
+ Array.isArray(y) || (y = [y]), o.push.apply(o, y.map(function(L) {
3319
3331
  return {
3320
- type: typeof H == "string" ? w.literal : w.object,
3321
- value: H
3332
+ type: typeof L == "string" ? S.literal : S.object,
3333
+ value: L
3322
3334
  };
3323
3335
  }));
3324
3336
  }
3325
- if (Mt(c)) {
3326
- var y = c.options[d] || c.options.other;
3327
- if (!y)
3328
- throw new ut(c.value, d, Object.keys(c.options), s);
3329
- o.push.apply(o, Ee(y.value, t, r, n, i));
3337
+ if (Ft(c)) {
3338
+ var w = c.options[d] || c.options.other;
3339
+ if (!w)
3340
+ throw new ft(c.value, d, Object.keys(c.options), s);
3341
+ o.push.apply(o, Te(w.value, t, r, n, i));
3330
3342
  continue;
3331
3343
  }
3332
- if (Dt(c)) {
3333
- var y = c.options["=".concat(d)];
3334
- if (!y) {
3344
+ if (zt(c)) {
3345
+ var w = c.options["=".concat(d)];
3346
+ if (!w) {
3335
3347
  if (!Intl.PluralRules)
3336
- throw new Ie(`Intl.PluralRules is not available in this environment.
3348
+ throw new Ce(`Intl.PluralRules is not available in this environment.
3337
3349
  Try polyfilling it using "@formatjs/intl-pluralrules"
3338
- `, K.MISSING_INTL_API, s);
3339
- var R = r.getPluralRules(t, { type: c.pluralType }).select(d - (c.offset || 0));
3340
- y = c.options[R] || c.options.other;
3350
+ `, ee.MISSING_INTL_API, s);
3351
+ var U = r.getPluralRules(t, { type: c.pluralType }).select(d - (c.offset || 0));
3352
+ w = c.options[U] || c.options.other;
3341
3353
  }
3342
- if (!y)
3343
- throw new ut(c.value, d, Object.keys(c.options), s);
3344
- o.push.apply(o, Ee(y.value, t, r, n, i, d - (c.offset || 0)));
3354
+ if (!w)
3355
+ throw new ft(c.value, d, Object.keys(c.options), s);
3356
+ o.push.apply(o, Te(w.value, t, r, n, i, d - (c.offset || 0)));
3345
3357
  continue;
3346
3358
  }
3347
3359
  }
3348
- return Mn(o);
3360
+ return Fn(o);
3349
3361
  }
3350
- function Nn(e, t) {
3351
- return t ? L(L(L({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3352
- return r[n] = L(L({}, e[n]), t[n] || {}), r;
3362
+ function $n(e, t) {
3363
+ return t ? C(C(C({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3364
+ return r[n] = C(C({}, e[n]), t[n] || {}), r;
3353
3365
  }, {})) : e;
3354
3366
  }
3355
- function Rn(e, t) {
3367
+ function Gn(e, t) {
3356
3368
  return t ? Object.keys(e).reduce(function(r, n) {
3357
- return r[n] = Nn(e[n], t[n]), r;
3358
- }, L({}, e)) : e;
3369
+ return r[n] = $n(e[n], t[n]), r;
3370
+ }, C({}, e)) : e;
3359
3371
  }
3360
- function Me(e) {
3372
+ function Re(e) {
3361
3373
  return {
3362
3374
  create: function() {
3363
3375
  return {
@@ -3371,39 +3383,39 @@ function Me(e) {
3371
3383
  }
3372
3384
  };
3373
3385
  }
3374
- function Un(e) {
3386
+ function jn(e) {
3375
3387
  return e === void 0 && (e = {
3376
3388
  number: {},
3377
3389
  dateTime: {},
3378
3390
  pluralRules: {}
3379
3391
  }), {
3380
- getNumberFormat: Le(function() {
3392
+ getNumberFormat: Me(function() {
3381
3393
  for (var t, r = [], n = 0; n < arguments.length; n++)
3382
3394
  r[n] = arguments[n];
3383
- return new ((t = Intl.NumberFormat).bind.apply(t, Ce([void 0], r, !1)))();
3395
+ return new ((t = Intl.NumberFormat).bind.apply(t, Oe([void 0], r, !1)))();
3384
3396
  }, {
3385
- cache: Me(e.number),
3386
- strategy: Pe.variadic
3397
+ cache: Re(e.number),
3398
+ strategy: De.variadic
3387
3399
  }),
3388
- getDateTimeFormat: Le(function() {
3400
+ getDateTimeFormat: Me(function() {
3389
3401
  for (var t, r = [], n = 0; n < arguments.length; n++)
3390
3402
  r[n] = arguments[n];
3391
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Ce([void 0], r, !1)))();
3403
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Oe([void 0], r, !1)))();
3392
3404
  }, {
3393
- cache: Me(e.dateTime),
3394
- strategy: Pe.variadic
3405
+ cache: Re(e.dateTime),
3406
+ strategy: De.variadic
3395
3407
  }),
3396
- getPluralRules: Le(function() {
3408
+ getPluralRules: Me(function() {
3397
3409
  for (var t, r = [], n = 0; n < arguments.length; n++)
3398
3410
  r[n] = arguments[n];
3399
- return new ((t = Intl.PluralRules).bind.apply(t, Ce([void 0], r, !1)))();
3411
+ return new ((t = Intl.PluralRules).bind.apply(t, Oe([void 0], r, !1)))();
3400
3412
  }, {
3401
- cache: Me(e.pluralRules),
3402
- strategy: Pe.variadic
3413
+ cache: Re(e.pluralRules),
3414
+ strategy: De.variadic
3403
3415
  })
3404
3416
  };
3405
3417
  }
3406
- var Wt = (
3418
+ var Zt = (
3407
3419
  /** @class */
3408
3420
  function() {
3409
3421
  function e(t, r, n, i) {
@@ -3413,20 +3425,20 @@ var Wt = (
3413
3425
  number: {},
3414
3426
  dateTime: {},
3415
3427
  pluralRules: {}
3416
- }, this.format = function(u) {
3417
- var l = a.formatToParts(u);
3418
- if (l.length === 1)
3419
- return l[0].value;
3420
- var c = l.reduce(function(h, d) {
3421
- return !h.length || d.type !== w.literal || typeof h[h.length - 1] != "string" ? h.push(d.value) : h[h.length - 1] += d.value, h;
3428
+ }, this.format = function(l) {
3429
+ var u = a.formatToParts(l);
3430
+ if (u.length === 1)
3431
+ return u[0].value;
3432
+ var c = u.reduce(function(h, d) {
3433
+ return !h.length || d.type !== S.literal || typeof h[h.length - 1] != "string" ? h.push(d.value) : h[h.length - 1] += d.value, h;
3422
3434
  }, []);
3423
3435
  return c.length <= 1 ? c[0] || "" : c;
3424
- }, this.formatToParts = function(u) {
3425
- return Ee(a.ast, a.locales, a.formatters, a.formats, u, void 0, a.message);
3436
+ }, this.formatToParts = function(l) {
3437
+ return Te(a.ast, a.locales, a.formatters, a.formats, l, void 0, a.message);
3426
3438
  }, this.resolvedOptions = function() {
3427
- var u;
3439
+ var l;
3428
3440
  return {
3429
- locale: ((u = a.resolvedLocale) === null || u === void 0 ? void 0 : u.toString()) || Intl.NumberFormat.supportedLocalesOf(a.locales)[0]
3441
+ locale: ((l = a.resolvedLocale) === null || l === void 0 ? void 0 : l.toString()) || Intl.NumberFormat.supportedLocalesOf(a.locales)[0]
3430
3442
  };
3431
3443
  }, this.getAst = function() {
3432
3444
  return a.ast;
@@ -3435,13 +3447,13 @@ var Wt = (
3435
3447
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3436
3448
  var s = i || {};
3437
3449
  s.formatters;
3438
- var o = qr(s, ["formatters"]);
3439
- this.ast = e.__parse(t, L(L({}, o), { locale: this.resolvedLocale }));
3450
+ var o = Qr(s, ["formatters"]);
3451
+ this.ast = e.__parse(t, C(C({}, o), { locale: this.resolvedLocale }));
3440
3452
  } else
3441
3453
  this.ast = t;
3442
3454
  if (!Array.isArray(this.ast))
3443
3455
  throw new TypeError("A message must be provided as a String or AST.");
3444
- this.formats = Rn(e.formats, n), this.formatters = i && i.formatters || Un(this.formatterCache);
3456
+ this.formats = Gn(e.formats, n), this.formatters = i && i.formatters || jn(this.formatterCache);
3445
3457
  }
3446
3458
  return Object.defineProperty(e, "defaultLocale", {
3447
3459
  get: function() {
@@ -3454,7 +3466,7 @@ var Wt = (
3454
3466
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3455
3467
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3456
3468
  }
3457
- }, e.__parse = Ln, e.formats = {
3469
+ }, e.__parse = Nn, e.formats = {
3458
3470
  number: {
3459
3471
  integer: {
3460
3472
  maximumFractionDigits: 0
@@ -3515,7 +3527,7 @@ var Wt = (
3515
3527
  }, e;
3516
3528
  }()
3517
3529
  );
3518
- function Fn(e, t) {
3530
+ function Vn(e, t) {
3519
3531
  if (t == null)
3520
3532
  return;
3521
3533
  if (t in e)
@@ -3536,101 +3548,101 @@ function Fn(e, t) {
3536
3548
  n = void 0;
3537
3549
  return n;
3538
3550
  }
3539
- const M = {}, zn = (e, t, r) => r && (t in M || (M[t] = {}), e in M[t] || (M[t][e] = r), r), Xt = (e, t) => {
3551
+ const D = {}, Wn = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = r), r), Yt = (e, t) => {
3540
3552
  if (t == null)
3541
3553
  return;
3542
- if (t in M && e in M[t])
3543
- return M[t][e];
3544
- const r = ue(t);
3554
+ if (t in D && e in D[t])
3555
+ return D[t][e];
3556
+ const r = fe(t);
3545
3557
  for (let n = 0; n < r.length; n++) {
3546
- const i = r[n], a = Gn(i, e);
3558
+ const i = r[n], a = qn(i, e);
3547
3559
  if (a)
3548
- return zn(e, t, a);
3560
+ return Wn(e, t, a);
3549
3561
  }
3550
3562
  };
3551
- let Ke;
3552
- const le = Se({});
3553
- function $n(e) {
3554
- return Ke[e] || null;
3563
+ let Qe;
3564
+ const de = Be({});
3565
+ function Xn(e) {
3566
+ return Qe[e] || null;
3555
3567
  }
3556
- function qt(e) {
3557
- return e in Ke;
3568
+ function Qt(e) {
3569
+ return e in Qe;
3558
3570
  }
3559
- function Gn(e, t) {
3560
- if (!qt(e))
3571
+ function qn(e, t) {
3572
+ if (!Qt(e))
3561
3573
  return null;
3562
- const r = $n(e);
3563
- return Fn(r, t);
3574
+ const r = Xn(e);
3575
+ return Vn(r, t);
3564
3576
  }
3565
- function jn(e) {
3577
+ function Jn(e) {
3566
3578
  if (e == null)
3567
3579
  return;
3568
- const t = ue(e);
3580
+ const t = fe(e);
3569
3581
  for (let r = 0; r < t.length; r++) {
3570
3582
  const n = t[r];
3571
- if (qt(n))
3583
+ if (Qt(n))
3572
3584
  return n;
3573
3585
  }
3574
3586
  }
3575
- function Jt(e, ...t) {
3576
- delete M[e], le.update((r) => (r[e] = Xr.all([r[e] || {}, ...t]), r));
3587
+ function er(e, ...t) {
3588
+ delete D[e], de.update((r) => (r[e] = Yr.all([r[e] || {}, ...t]), r));
3577
3589
  }
3578
- Y(
3579
- [le],
3590
+ ne(
3591
+ [de],
3580
3592
  ([e]) => Object.keys(e)
3581
3593
  );
3582
- le.subscribe((e) => Ke = e);
3583
- const _e = {};
3584
- function Vn(e, t) {
3585
- _e[e].delete(t), _e[e].size === 0 && delete _e[e];
3594
+ de.subscribe((e) => Qe = e);
3595
+ const ke = {};
3596
+ function Kn(e, t) {
3597
+ ke[e].delete(t), ke[e].size === 0 && delete ke[e];
3586
3598
  }
3587
- function Kt(e) {
3588
- return _e[e];
3599
+ function tr(e) {
3600
+ return ke[e];
3589
3601
  }
3590
- function Wn(e) {
3591
- return ue(e).map((t) => {
3592
- const r = Kt(t);
3602
+ function Zn(e) {
3603
+ return fe(e).map((t) => {
3604
+ const r = tr(t);
3593
3605
  return [t, r ? [...r] : []];
3594
3606
  }).filter(([, t]) => t.length > 0);
3595
3607
  }
3596
- function Te(e) {
3597
- return e == null ? !1 : ue(e).some(
3608
+ function Se(e) {
3609
+ return e == null ? !1 : fe(e).some(
3598
3610
  (t) => {
3599
3611
  var r;
3600
- return (r = Kt(t)) == null ? void 0 : r.size;
3612
+ return (r = tr(t)) == null ? void 0 : r.size;
3601
3613
  }
3602
3614
  );
3603
3615
  }
3604
- function Xn(e, t) {
3616
+ function Yn(e, t) {
3605
3617
  return Promise.all(
3606
- t.map((n) => (Vn(e, n), n().then((i) => i.default || i)))
3607
- ).then((n) => Jt(e, ...n));
3608
- }
3609
- const ee = {};
3610
- function Zt(e) {
3611
- if (!Te(e))
3612
- return e in ee ? ee[e] : Promise.resolve();
3613
- const t = Wn(e);
3614
- return ee[e] = Promise.all(
3618
+ t.map((n) => (Kn(e, n), n().then((i) => i.default || i)))
3619
+ ).then((n) => er(e, ...n));
3620
+ }
3621
+ const se = {};
3622
+ function rr(e) {
3623
+ if (!Se(e))
3624
+ return e in se ? se[e] : Promise.resolve();
3625
+ const t = Zn(e);
3626
+ return se[e] = Promise.all(
3615
3627
  t.map(
3616
- ([r, n]) => Xn(r, n)
3628
+ ([r, n]) => Yn(r, n)
3617
3629
  )
3618
3630
  ).then(() => {
3619
- if (Te(e))
3620
- return Zt(e);
3621
- delete ee[e];
3622
- }), ee[e];
3631
+ if (Se(e))
3632
+ return rr(e);
3633
+ delete se[e];
3634
+ }), se[e];
3623
3635
  }
3624
- var ct = Object.getOwnPropertySymbols, qn = Object.prototype.hasOwnProperty, Jn = Object.prototype.propertyIsEnumerable, Kn = (e, t) => {
3636
+ var mt = Object.getOwnPropertySymbols, Qn = Object.prototype.hasOwnProperty, ei = Object.prototype.propertyIsEnumerable, ti = (e, t) => {
3625
3637
  var r = {};
3626
3638
  for (var n in e)
3627
- qn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3628
- if (e != null && ct)
3629
- for (var n of ct(e))
3630
- t.indexOf(n) < 0 && Jn.call(e, n) && (r[n] = e[n]);
3639
+ Qn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3640
+ if (e != null && mt)
3641
+ for (var n of mt(e))
3642
+ t.indexOf(n) < 0 && ei.call(e, n) && (r[n] = e[n]);
3631
3643
  return r;
3632
3644
  };
3633
- const Zn = {
3645
+ const ri = {
3634
3646
  number: {
3635
3647
  scientific: { notation: "scientific" },
3636
3648
  engineering: { notation: "engineering" },
@@ -3660,174 +3672,174 @@ const Zn = {
3660
3672
  }
3661
3673
  }
3662
3674
  };
3663
- function Yn({ locale: e, id: t }) {
3675
+ function ni({ locale: e, id: t }) {
3664
3676
  console.warn(
3665
- `[svelte-i18n] The message "${t}" was not found in "${ue(
3677
+ `[svelte-i18n] The message "${t}" was not found in "${fe(
3666
3678
  e
3667
- ).join('", "')}".${Te(N()) ? `
3679
+ ).join('", "')}".${Se(R()) ? `
3668
3680
 
3669
3681
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3670
3682
  );
3671
3683
  }
3672
- const Qn = {
3684
+ const ii = {
3673
3685
  fallbackLocale: null,
3674
3686
  loadingDelay: 200,
3675
- formats: Zn,
3687
+ formats: ri,
3676
3688
  warnOnMissingMessages: !0,
3677
3689
  handleMissingMessage: void 0,
3678
3690
  ignoreTag: !0
3679
- }, re = Qn;
3680
- function Z() {
3681
- return re;
3691
+ }, oe = ii;
3692
+ function te() {
3693
+ return oe;
3682
3694
  }
3683
- function ei(e) {
3684
- const t = e, { formats: r } = t, n = Kn(t, ["formats"]);
3695
+ function ai(e) {
3696
+ const t = e, { formats: r } = t, n = ti(t, ["formats"]);
3685
3697
  let i = e.fallbackLocale;
3686
3698
  if (e.initialLocale)
3687
3699
  try {
3688
- Wt.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3700
+ Zt.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3689
3701
  } catch {
3690
3702
  console.warn(
3691
3703
  `[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
3692
3704
  );
3693
3705
  }
3694
- return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = Yn : console.warn(
3706
+ return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = ni : console.warn(
3695
3707
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3696
- )), Object.assign(re, n, { initialLocale: i }), r && ("number" in r && Object.assign(re.formats.number, r.number), "date" in r && Object.assign(re.formats.date, r.date), "time" in r && Object.assign(re.formats.time, r.time)), U.set(i);
3708
+ )), Object.assign(oe, n, { initialLocale: i }), r && ("number" in r && Object.assign(oe.formats.number, r.number), "date" in r && Object.assign(oe.formats.date, r.date), "time" in r && Object.assign(oe.formats.time, r.time)), z.set(i);
3697
3709
  }
3698
- const De = Se(!1);
3699
- var ti = Object.defineProperty, ri = Object.defineProperties, ni = Object.getOwnPropertyDescriptors, ht = Object.getOwnPropertySymbols, ii = Object.prototype.hasOwnProperty, ai = Object.prototype.propertyIsEnumerable, dt = (e, t, r) => t in e ? ti(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, si = (e, t) => {
3710
+ const Ue = Be(!1);
3711
+ var si = Object.defineProperty, oi = Object.defineProperties, li = Object.getOwnPropertyDescriptors, gt = Object.getOwnPropertySymbols, ui = Object.prototype.hasOwnProperty, ci = Object.prototype.propertyIsEnumerable, pt = (e, t, r) => t in e ? si(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, hi = (e, t) => {
3700
3712
  for (var r in t || (t = {}))
3701
- ii.call(t, r) && dt(e, r, t[r]);
3702
- if (ht)
3703
- for (var r of ht(t))
3704
- ai.call(t, r) && dt(e, r, t[r]);
3713
+ ui.call(t, r) && pt(e, r, t[r]);
3714
+ if (gt)
3715
+ for (var r of gt(t))
3716
+ ci.call(t, r) && pt(e, r, t[r]);
3705
3717
  return e;
3706
- }, oi = (e, t) => ri(e, ni(t));
3707
- let Xe;
3708
- const ke = Se(null);
3709
- function ft(e) {
3718
+ }, di = (e, t) => oi(e, li(t));
3719
+ let Ke;
3720
+ const Ae = Be(null);
3721
+ function bt(e) {
3710
3722
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3711
3723
  }
3712
- function ue(e, t = Z().fallbackLocale) {
3713
- const r = ft(e);
3714
- return t ? [.../* @__PURE__ */ new Set([...r, ...ft(t)])] : r;
3724
+ function fe(e, t = te().fallbackLocale) {
3725
+ const r = bt(e);
3726
+ return t ? [.../* @__PURE__ */ new Set([...r, ...bt(t)])] : r;
3715
3727
  }
3716
- function N() {
3717
- return Xe ?? void 0;
3728
+ function R() {
3729
+ return Ke ?? void 0;
3718
3730
  }
3719
- ke.subscribe((e) => {
3720
- Xe = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3731
+ Ae.subscribe((e) => {
3732
+ Ke = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3721
3733
  });
3722
- const li = (e) => {
3723
- if (e && jn(e) && Te(e)) {
3724
- const { loadingDelay: t } = Z();
3734
+ const fi = (e) => {
3735
+ if (e && Jn(e) && Se(e)) {
3736
+ const { loadingDelay: t } = te();
3725
3737
  let r;
3726
- return typeof window < "u" && N() != null && t ? r = window.setTimeout(
3727
- () => De.set(!0),
3738
+ return typeof window < "u" && R() != null && t ? r = window.setTimeout(
3739
+ () => Ue.set(!0),
3728
3740
  t
3729
- ) : De.set(!0), Zt(e).then(() => {
3730
- ke.set(e);
3741
+ ) : Ue.set(!0), rr(e).then(() => {
3742
+ Ae.set(e);
3731
3743
  }).finally(() => {
3732
- clearTimeout(r), De.set(!1);
3744
+ clearTimeout(r), Ue.set(!1);
3733
3745
  });
3734
3746
  }
3735
- return ke.set(e);
3736
- }, U = oi(si({}, ke), {
3737
- set: li
3738
- }), Be = (e) => {
3747
+ return Ae.set(e);
3748
+ }, z = di(hi({}, Ae), {
3749
+ set: fi
3750
+ }), Le = (e) => {
3739
3751
  const t = /* @__PURE__ */ Object.create(null);
3740
3752
  return (n) => {
3741
3753
  const i = JSON.stringify(n);
3742
3754
  return i in t ? t[i] : t[i] = e(n);
3743
3755
  };
3744
3756
  };
3745
- var ui = Object.defineProperty, we = Object.getOwnPropertySymbols, Yt = Object.prototype.hasOwnProperty, Qt = Object.prototype.propertyIsEnumerable, mt = (e, t, r) => t in e ? ui(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ze = (e, t) => {
3757
+ var mi = Object.defineProperty, Ie = Object.getOwnPropertySymbols, nr = Object.prototype.hasOwnProperty, ir = Object.prototype.propertyIsEnumerable, vt = (e, t, r) => t in e ? mi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, et = (e, t) => {
3746
3758
  for (var r in t || (t = {}))
3747
- Yt.call(t, r) && mt(e, r, t[r]);
3748
- if (we)
3749
- for (var r of we(t))
3750
- Qt.call(t, r) && mt(e, r, t[r]);
3759
+ nr.call(t, r) && vt(e, r, t[r]);
3760
+ if (Ie)
3761
+ for (var r of Ie(t))
3762
+ ir.call(t, r) && vt(e, r, t[r]);
3751
3763
  return e;
3752
- }, Q = (e, t) => {
3764
+ }, ie = (e, t) => {
3753
3765
  var r = {};
3754
3766
  for (var n in e)
3755
- Yt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3756
- if (e != null && we)
3757
- for (var n of we(e))
3758
- t.indexOf(n) < 0 && Qt.call(e, n) && (r[n] = e[n]);
3767
+ nr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3768
+ if (e != null && Ie)
3769
+ for (var n of Ie(e))
3770
+ t.indexOf(n) < 0 && ir.call(e, n) && (r[n] = e[n]);
3759
3771
  return r;
3760
3772
  };
3761
- const se = (e, t) => {
3762
- const { formats: r } = Z();
3773
+ const he = (e, t) => {
3774
+ const { formats: r } = te();
3763
3775
  if (e in r && t in r[e])
3764
3776
  return r[e][t];
3765
3777
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3766
- }, ci = Be(
3778
+ }, gi = Le(
3767
3779
  (e) => {
3768
- var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
3780
+ var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
3769
3781
  if (r == null)
3770
3782
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3771
- return n && (i = se("number", n)), new Intl.NumberFormat(r, i);
3783
+ return n && (i = he("number", n)), new Intl.NumberFormat(r, i);
3772
3784
  }
3773
- ), hi = Be(
3785
+ ), pi = Le(
3774
3786
  (e) => {
3775
- var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
3787
+ var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
3776
3788
  if (r == null)
3777
3789
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3778
- return n ? i = se("date", n) : Object.keys(i).length === 0 && (i = se("date", "short")), new Intl.DateTimeFormat(r, i);
3790
+ return n ? i = he("date", n) : Object.keys(i).length === 0 && (i = he("date", "short")), new Intl.DateTimeFormat(r, i);
3779
3791
  }
3780
- ), di = Be(
3792
+ ), bi = Le(
3781
3793
  (e) => {
3782
- var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
3794
+ var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
3783
3795
  if (r == null)
3784
3796
  throw new Error(
3785
3797
  '[svelte-i18n] A "locale" must be set to format time values'
3786
3798
  );
3787
- return n ? i = se("time", n) : Object.keys(i).length === 0 && (i = se("time", "short")), new Intl.DateTimeFormat(r, i);
3799
+ return n ? i = he("time", n) : Object.keys(i).length === 0 && (i = he("time", "short")), new Intl.DateTimeFormat(r, i);
3788
3800
  }
3789
- ), fi = (e = {}) => {
3801
+ ), vi = (e = {}) => {
3790
3802
  var t = e, {
3791
- locale: r = N()
3792
- } = t, n = Q(t, [
3803
+ locale: r = R()
3804
+ } = t, n = ie(t, [
3793
3805
  "locale"
3794
3806
  ]);
3795
- return ci(Ze({ locale: r }, n));
3796
- }, mi = (e = {}) => {
3807
+ return gi(et({ locale: r }, n));
3808
+ }, yi = (e = {}) => {
3797
3809
  var t = e, {
3798
- locale: r = N()
3799
- } = t, n = Q(t, [
3810
+ locale: r = R()
3811
+ } = t, n = ie(t, [
3800
3812
  "locale"
3801
3813
  ]);
3802
- return hi(Ze({ locale: r }, n));
3803
- }, gi = (e = {}) => {
3814
+ return pi(et({ locale: r }, n));
3815
+ }, Ei = (e = {}) => {
3804
3816
  var t = e, {
3805
- locale: r = N()
3806
- } = t, n = Q(t, [
3817
+ locale: r = R()
3818
+ } = t, n = ie(t, [
3807
3819
  "locale"
3808
3820
  ]);
3809
- return di(Ze({ locale: r }, n));
3810
- }, pi = Be(
3821
+ return bi(et({ locale: r }, n));
3822
+ }, _i = Le(
3811
3823
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3812
- (e, t = N()) => new Wt(e, t, Z().formats, {
3813
- ignoreTag: Z().ignoreTag
3824
+ (e, t = R()) => new Zt(e, t, te().formats, {
3825
+ ignoreTag: te().ignoreTag
3814
3826
  })
3815
- ), bi = (e, t = {}) => {
3827
+ ), xi = (e, t = {}) => {
3816
3828
  var r, n, i, a;
3817
3829
  let s = t;
3818
3830
  typeof e == "object" && (s = e, e = s.id);
3819
3831
  const {
3820
3832
  values: o,
3821
- locale: u = N(),
3822
- default: l
3833
+ locale: l = R(),
3834
+ default: u
3823
3835
  } = s;
3824
- if (u == null)
3836
+ if (l == null)
3825
3837
  throw new Error(
3826
3838
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3827
3839
  );
3828
- let c = Xt(e, u);
3840
+ let c = Yt(e, l);
3829
3841
  if (!c)
3830
- c = (a = (i = (n = (r = Z()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? a : e;
3842
+ c = (a = (i = (n = (r = te()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? a : e;
3831
3843
  else if (typeof c != "string")
3832
3844
  return console.warn(
3833
3845
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -3836,7 +3848,7 @@ const se = (e, t) => {
3836
3848
  return c;
3837
3849
  let h = c;
3838
3850
  try {
3839
- h = pi(c, u).format(o);
3851
+ h = _i(c, l).format(o);
3840
3852
  } catch (d) {
3841
3853
  d instanceof Error && console.warn(
3842
3854
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3844,20 +3856,20 @@ const se = (e, t) => {
3844
3856
  );
3845
3857
  }
3846
3858
  return h;
3847
- }, vi = (e, t) => gi(t).format(e), yi = (e, t) => mi(t).format(e), Ei = (e, t) => fi(t).format(e), _i = (e, t = N()) => Xt(e, t), xi = Y([U, le], () => bi);
3848
- Y([U], () => vi);
3849
- Y([U], () => yi);
3850
- Y([U], () => Ei);
3851
- Y([U, le], () => _i);
3852
- function gt(e, t) {
3853
- Jt(e, t);
3854
- }
3855
- function Ti(e) {
3856
- ei({
3859
+ }, Ti = (e, t) => Ei(t).format(e), ki = (e, t) => yi(t).format(e), wi = (e, t) => vi(t).format(e), Si = (e, t = R()) => Yt(e, t), Ai = ne([z, de], () => xi);
3860
+ ne([z], () => Ti);
3861
+ ne([z], () => ki);
3862
+ ne([z], () => wi);
3863
+ ne([z, de], () => Si);
3864
+ function yt(e, t) {
3865
+ er(e, t);
3866
+ }
3867
+ function Ii(e) {
3868
+ ai({
3857
3869
  fallbackLocale: "en"
3858
- }), U.set(e);
3870
+ }), z.set(e);
3859
3871
  }
3860
- const pt = {
3872
+ const Et = {
3861
3873
  en: {
3862
3874
  VendorMicroserviceCommunicationError: "We apologise, but your payment provider has declined to process due to a microservice communication error. Please try again later.",
3863
3875
  CustomerDocumentIdMissing: "The document ID is missing",
@@ -4169,63 +4181,198 @@ const pt = {
4169
4181
  CardTokenIsBlocked: "Kaarttoken is geblokkeerd"
4170
4182
  }
4171
4183
  };
4172
- function ki(e) {
4173
- sr(e, "svelte-y815d8", '.WageringFetch{margin:10px}.LoadingText::after{content:"";animation:dots 1.5s steps(4, end) infinite}@keyframes dots{0%{content:""}25%{content:"."}50%{content:".."}75%{content:"..."}}.CashierError{display:flex;width:100%;justify-content:center;align-items:center;overflow:hidden auto;background-color:transparent;padding:15px 0}.CashierErrorContent{display:flex;flex-direction:column;width:100%;max-width:300px;align-items:center;gap:var(--emw--spacing-large, 20px);box-sizing:border-box;padding:1px var(--emw--spacing-medium, 15px);height:inherit}.CashierErrorTitle{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-medium, 16px);line-height:125%;text-align:center}.CashierErrorText{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 14px);line-height:125%;text-align:center}.CashierErrorButton{width:100%;height:36px;color:var(--emw--color-typography-button, var(--emw--color-black, #000000));text-align:center;cursor:pointer;font-size:var(--emw--font-size-x-small, 12px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;line-height:36px;border:none;border-radius:var(--emw--border-radius-medium, 10px);background:var(--emw--color-primary, #F9C405)}.CashierErrorButton:hover{background:var(--emw--color-hover, #dbac03)}.CashierErrorButton:active{background:var(--emw--color-active, #fecd1c)}.CashierErrorContent ui-image img{width:300px}');
4184
+ function Bi(e) {
4185
+ cr(e, "svelte-y815d8", '.WageringFetch{margin:10px}.LoadingText::after{content:"";animation:dots 1.5s steps(4, end) infinite}@keyframes dots{0%{content:""}25%{content:"."}50%{content:".."}75%{content:"..."}}.CashierError{display:flex;width:100%;justify-content:center;align-items:center;overflow:hidden auto;background-color:transparent;padding:15px 0}.CashierErrorContent{display:flex;flex-direction:column;width:100%;max-width:300px;align-items:center;gap:var(--emw--spacing-large, 20px);box-sizing:border-box;padding:1px var(--emw--spacing-medium, 15px);height:inherit}.CashierErrorTitle{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-medium, 16px);line-height:125%;text-align:center}.CashierErrorText{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 14px);line-height:125%;text-align:center}.CashierErrorButton{width:100%;height:36px;color:var(--emw--color-typography-button, var(--emw--color-black, #000000));text-align:center;cursor:pointer;font-size:var(--emw--font-size-x-small, 12px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;line-height:36px;border:none;border-radius:var(--emw--border-radius-medium, 10px);background:var(--emw--color-primary, #F9C405)}.CashierErrorButton:hover{background:var(--emw--color-hover, #dbac03)}.CashierErrorButton:active{background:var(--emw--color-active, #fecd1c)}.CashierErrorContent ui-image img{width:300px}');
4174
4186
  }
4175
- const wi = (e) => ({}), bt = (e) => ({}), Si = (e) => ({}), vt = (e) => ({}), Ai = (e) => ({}), yt = (e) => ({}), Ii = (e) => ({}), Et = (e) => ({ class: "CashierErrorIcon" });
4176
- function _t(e) {
4187
+ const Hi = (e) => ({}), _t = (e) => ({}), Ci = (e) => ({}), xt = (e) => ({}), Li = (e) => ({}), Tt = (e) => ({}), Pi = (e) => ({}), kt = (e) => ({ class: "CashierErrorIcon" });
4188
+ function wt(e) {
4189
+ let t, r, n, i, a;
4190
+ const s = (
4191
+ /*#slots*/
4192
+ e[16].icon
4193
+ ), o = ge(
4194
+ s,
4195
+ e,
4196
+ /*$$scope*/
4197
+ e[15],
4198
+ kt
4199
+ ), l = o || Oi(e), u = (
4200
+ /*#slots*/
4201
+ e[16].title
4202
+ ), c = ge(
4203
+ u,
4204
+ e,
4205
+ /*$$scope*/
4206
+ e[15],
4207
+ Tt
4208
+ ), h = (
4209
+ /*#slots*/
4210
+ e[16].text
4211
+ ), d = ge(
4212
+ h,
4213
+ e,
4214
+ /*$$scope*/
4215
+ e[15],
4216
+ xt
4217
+ ), m = d || Ni(e), g = (
4218
+ /*#slots*/
4219
+ e[16].button
4220
+ ), T = ge(
4221
+ g,
4222
+ e,
4223
+ /*$$scope*/
4224
+ e[15],
4225
+ _t
4226
+ ), E = T || Ri(e);
4227
+ return {
4228
+ c() {
4229
+ t = B("div"), l && l.c(), r = J(), c && c.c(), n = J(), m && m.c(), i = J(), E && E.c(), O(t, "class", "CashierErrorContent");
4230
+ },
4231
+ m(f, y) {
4232
+ A(f, t, y), l && l.m(t, null), I(t, r), c && c.m(t, null), I(t, n), m && m.m(t, null), I(t, i), E && E.m(t, null), a = !0;
4233
+ },
4234
+ p(f, y) {
4235
+ o ? o.p && (!a || y & /*$$scope*/
4236
+ 32768) && be(
4237
+ o,
4238
+ s,
4239
+ f,
4240
+ /*$$scope*/
4241
+ f[15],
4242
+ a ? pe(
4243
+ s,
4244
+ /*$$scope*/
4245
+ f[15],
4246
+ y,
4247
+ Pi
4248
+ ) : ve(
4249
+ /*$$scope*/
4250
+ f[15]
4251
+ ),
4252
+ kt
4253
+ ) : l && l.p && (!a || y & /*assetsurl*/
4254
+ 1) && l.p(f, a ? y : -1), c && c.p && (!a || y & /*$$scope*/
4255
+ 32768) && be(
4256
+ c,
4257
+ u,
4258
+ f,
4259
+ /*$$scope*/
4260
+ f[15],
4261
+ a ? pe(
4262
+ u,
4263
+ /*$$scope*/
4264
+ f[15],
4265
+ y,
4266
+ Li
4267
+ ) : ve(
4268
+ /*$$scope*/
4269
+ f[15]
4270
+ ),
4271
+ Tt
4272
+ ), d ? d.p && (!a || y & /*$$scope*/
4273
+ 32768) && be(
4274
+ d,
4275
+ h,
4276
+ f,
4277
+ /*$$scope*/
4278
+ f[15],
4279
+ a ? pe(
4280
+ h,
4281
+ /*$$scope*/
4282
+ f[15],
4283
+ y,
4284
+ Ci
4285
+ ) : ve(
4286
+ /*$$scope*/
4287
+ f[15]
4288
+ ),
4289
+ xt
4290
+ ) : m && m.p && (!a || y & /*$_, depositWageringAmount, depositWageringCurrency, errorcode, errormessage, shownError*/
4291
+ 486) && m.p(f, a ? y : -1), T ? T.p && (!a || y & /*$$scope*/
4292
+ 32768) && be(
4293
+ T,
4294
+ g,
4295
+ f,
4296
+ /*$$scope*/
4297
+ f[15],
4298
+ a ? pe(
4299
+ g,
4300
+ /*$$scope*/
4301
+ f[15],
4302
+ y,
4303
+ Hi
4304
+ ) : ve(
4305
+ /*$$scope*/
4306
+ f[15]
4307
+ ),
4308
+ _t
4309
+ ) : E && E.p && (!a || y & /*$_*/
4310
+ 256) && E.p(f, a ? y : -1);
4311
+ },
4312
+ i(f) {
4313
+ a || (M(l, f), M(c, f), M(m, f), M(E, f), a = !0);
4314
+ },
4315
+ o(f) {
4316
+ q(l, f), q(c, f), q(m, f), q(E, f), a = !1;
4317
+ },
4318
+ d(f) {
4319
+ f && k(t), l && l.d(f), c && c.d(f), m && m.d(f), E && E.d(f);
4320
+ }
4321
+ };
4322
+ }
4323
+ function St(e) {
4177
4324
  let t, r;
4178
4325
  return {
4179
4326
  c() {
4180
- t = B("ui-image"), Qe(t.src, r = `${/*assetsurl*/
4181
- e[0]}/error-general-icon.png`) || ge(t, "src", r), ge(t, "width", "300px"), ge(t, "alt", "error");
4327
+ t = B("ui-image"), nt(t.src, r = `${/*assetsurl*/
4328
+ e[0]}/error-general-icon.png`) || ye(t, "src", r), ye(t, "width", "300px"), ye(t, "alt", "error");
4182
4329
  },
4183
4330
  m(n, i) {
4184
4331
  A(n, t, i);
4185
4332
  },
4186
4333
  p(n, i) {
4187
4334
  i & /*assetsurl*/
4188
- 1 && !Qe(t.src, r = `${/*assetsurl*/
4189
- n[0]}/error-general-icon.png`) && ge(t, "src", r);
4335
+ 1 && !nt(t.src, r = `${/*assetsurl*/
4336
+ n[0]}/error-general-icon.png`) && ye(t, "src", r);
4190
4337
  },
4191
4338
  d(n) {
4192
- n && S(t);
4339
+ n && k(t);
4193
4340
  }
4194
4341
  };
4195
4342
  }
4196
- function Bi(e) {
4343
+ function Oi(e) {
4197
4344
  let t, r = (
4198
4345
  /*assetsurl*/
4199
- e[0] && _t(e)
4346
+ e[0] && St(e)
4200
4347
  );
4201
4348
  return {
4202
4349
  c() {
4203
- r && r.c(), t = Je();
4350
+ r && r.c(), t = Ye();
4204
4351
  },
4205
4352
  m(n, i) {
4206
4353
  r && r.m(n, i), A(n, t, i);
4207
4354
  },
4208
4355
  p(n, i) {
4209
4356
  /*assetsurl*/
4210
- n[0] ? r ? r.p(n, i) : (r = _t(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
4357
+ n[0] ? r ? r.p(n, i) : (r = St(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
4211
4358
  },
4212
4359
  d(n) {
4213
- n && S(t), r && r.d(n);
4360
+ n && k(t), r && r.d(n);
4214
4361
  }
4215
4362
  };
4216
4363
  }
4217
- function xt(e) {
4364
+ function At(e) {
4218
4365
  let t;
4219
4366
  function r(a, s) {
4220
4367
  return (
4221
4368
  /*depositWageringAmount*/
4222
- a[4] < 0 ? Ci : Hi
4369
+ a[5] < 0 ? Di : Mi
4223
4370
  );
4224
4371
  }
4225
4372
  let n = r(e), i = n(e);
4226
4373
  return {
4227
4374
  c() {
4228
- i.c(), t = Je();
4375
+ i.c(), t = Ye();
4229
4376
  },
4230
4377
  m(a, s) {
4231
4378
  i.m(a, s), A(a, t, s);
@@ -4234,68 +4381,68 @@ function xt(e) {
4234
4381
  n === (n = r(a)) && i ? i.p(a, s) : (i.d(1), i = n(a), i && (i.c(), i.m(t.parentNode, t)));
4235
4382
  },
4236
4383
  d(a) {
4237
- a && S(t), i.d(a);
4384
+ a && k(t), i.d(a);
4238
4385
  }
4239
4386
  };
4240
4387
  }
4241
- function Hi(e) {
4388
+ function Mi(e) {
4242
4389
  let t, r = (
4243
4390
  /*$_*/
4244
- e[6]("DepositWageringLimitText") + ""
4391
+ e[8]("DepositWageringLimitText") + ""
4245
4392
  ), n, i, a = (
4246
4393
  /*depositWageringAmount*/
4247
- e[4] > 0 && Tt(e)
4394
+ e[5] > 0 && It(e)
4248
4395
  );
4249
4396
  return {
4250
4397
  c() {
4251
- t = B("span"), n = D(r), i = V(), a && a.c(), O(t, "class", "CashierErrorText");
4398
+ t = B("span"), n = N(r), i = J(), a && a.c(), O(t, "class", "CashierErrorText");
4252
4399
  },
4253
4400
  m(s, o) {
4254
4401
  A(s, t, o), I(t, n), I(t, i), a && a.m(t, null);
4255
4402
  },
4256
4403
  p(s, o) {
4257
4404
  o & /*$_*/
4258
- 64 && r !== (r = /*$_*/
4259
- s[6]("DepositWageringLimitText") + "") && X(n, r), /*depositWageringAmount*/
4260
- s[4] > 0 ? a ? a.p(s, o) : (a = Tt(s), a.c(), a.m(t, null)) : a && (a.d(1), a = null);
4405
+ 256 && r !== (r = /*$_*/
4406
+ s[8]("DepositWageringLimitText") + "") && Z(n, r), /*depositWageringAmount*/
4407
+ s[5] > 0 ? a ? a.p(s, o) : (a = It(s), a.c(), a.m(t, null)) : a && (a.d(1), a = null);
4261
4408
  },
4262
4409
  d(s) {
4263
- s && S(t), a && a.d();
4410
+ s && k(t), a && a.d();
4264
4411
  }
4265
4412
  };
4266
4413
  }
4267
- function Ci(e) {
4414
+ function Di(e) {
4268
4415
  let t, r, n = (
4269
4416
  /*$_*/
4270
- e[6]("DepositWageringFetching") + ""
4417
+ e[8]("DepositWageringFetching") + ""
4271
4418
  ), i;
4272
4419
  return {
4273
4420
  c() {
4274
- t = B("div"), r = B("span"), i = D(n), O(r, "class", "CashierErrorText LoadingText"), O(t, "class", "WageringFetch");
4421
+ t = B("div"), r = B("span"), i = N(n), O(r, "class", "CashierErrorText LoadingText"), O(t, "class", "WageringFetch");
4275
4422
  },
4276
4423
  m(a, s) {
4277
4424
  A(a, t, s), I(t, r), I(r, i);
4278
4425
  },
4279
4426
  p(a, s) {
4280
4427
  s & /*$_*/
4281
- 64 && n !== (n = /*$_*/
4282
- a[6]("DepositWageringFetching") + "") && X(i, n);
4428
+ 256 && n !== (n = /*$_*/
4429
+ a[8]("DepositWageringFetching") + "") && Z(i, n);
4283
4430
  },
4284
4431
  d(a) {
4285
- a && S(t);
4432
+ a && k(t);
4286
4433
  }
4287
4434
  };
4288
4435
  }
4289
- function Tt(e) {
4436
+ function It(e) {
4290
4437
  let t, r, n;
4291
4438
  return {
4292
4439
  c() {
4293
- t = D(
4440
+ t = N(
4294
4441
  /*depositWageringAmount*/
4295
- e[4]
4296
- ), r = V(), n = D(
4297
- /*depositWageringCurrency*/
4298
4442
  e[5]
4443
+ ), r = J(), n = N(
4444
+ /*depositWageringCurrency*/
4445
+ e[6]
4299
4446
  );
4300
4447
  },
4301
4448
  m(i, a) {
@@ -4303,364 +4450,260 @@ function Tt(e) {
4303
4450
  },
4304
4451
  p(i, a) {
4305
4452
  a & /*depositWageringAmount*/
4306
- 16 && X(
4453
+ 32 && Z(
4307
4454
  t,
4308
4455
  /*depositWageringAmount*/
4309
- i[4]
4456
+ i[5]
4310
4457
  ), a & /*depositWageringCurrency*/
4311
- 32 && X(
4458
+ 64 && Z(
4312
4459
  n,
4313
4460
  /*depositWageringCurrency*/
4314
- i[5]
4461
+ i[6]
4315
4462
  );
4316
4463
  },
4317
4464
  d(i) {
4318
- i && (S(t), S(r), S(n));
4465
+ i && (k(t), k(r), k(n));
4319
4466
  }
4320
4467
  };
4321
4468
  }
4322
- function Li(e) {
4469
+ function Ni(e) {
4323
4470
  let t, r = (
4324
4471
  /*errormessage*/
4325
4472
  (e[2].length > 0 ? (
4326
4473
  /*errormessage*/
4327
4474
  e[2]
4328
4475
  ) : (
4329
- /*$_*/
4330
- e[6](`${/*errorcode*/
4331
- e[1] || "errorGeneralText"}`)
4476
+ /*shownError*/
4477
+ e[7]
4332
4478
  )) + ""
4333
4479
  ), n, i, a, s = (
4334
4480
  /*errorcode*/
4335
- e[1] == "DepositWageringLimit" && xt(e)
4481
+ e[1] == "DepositWageringLimit" && At(e)
4336
4482
  );
4337
4483
  return {
4338
4484
  c() {
4339
- t = B("span"), n = D(r), i = V(), s && s.c(), a = Je(), O(t, "class", "CashierErrorText");
4485
+ t = B("span"), n = N(r), i = J(), s && s.c(), a = Ye(), O(t, "class", "CashierErrorText");
4340
4486
  },
4341
- m(o, u) {
4342
- A(o, t, u), I(t, n), A(o, i, u), s && s.m(o, u), A(o, a, u);
4487
+ m(o, l) {
4488
+ A(o, t, l), I(t, n), A(o, i, l), s && s.m(o, l), A(o, a, l);
4343
4489
  },
4344
- p(o, u) {
4345
- u & /*errormessage, $_, errorcode*/
4346
- 70 && r !== (r = /*errormessage*/
4490
+ p(o, l) {
4491
+ l & /*errormessage, shownError*/
4492
+ 132 && r !== (r = /*errormessage*/
4347
4493
  (o[2].length > 0 ? (
4348
4494
  /*errormessage*/
4349
4495
  o[2]
4350
4496
  ) : (
4351
- /*$_*/
4352
- o[6](`${/*errorcode*/
4353
- o[1] || "errorGeneralText"}`)
4354
- )) + "") && X(n, r), /*errorcode*/
4355
- o[1] == "DepositWageringLimit" ? s ? s.p(o, u) : (s = xt(o), s.c(), s.m(a.parentNode, a)) : s && (s.d(1), s = null);
4497
+ /*shownError*/
4498
+ o[7]
4499
+ )) + "") && Z(n, r), /*errorcode*/
4500
+ o[1] == "DepositWageringLimit" ? s ? s.p(o, l) : (s = At(o), s.c(), s.m(a.parentNode, a)) : s && (s.d(1), s = null);
4356
4501
  },
4357
4502
  d(o) {
4358
- o && (S(t), S(i), S(a)), s && s.d(o);
4503
+ o && (k(t), k(i), k(a)), s && s.d(o);
4359
4504
  }
4360
4505
  };
4361
4506
  }
4362
- function Pi(e) {
4507
+ function Ri(e) {
4363
4508
  let t, r, n = (
4364
4509
  /*$_*/
4365
- e[6]("errorGeneralButton") + ""
4510
+ e[8]("errorGeneralButton") + ""
4366
4511
  ), i, a, s;
4367
4512
  return {
4368
4513
  c() {
4369
- t = B("button"), r = B("span"), i = D(n), O(t, "class", "CashierErrorButton");
4514
+ t = B("button"), r = B("span"), i = N(n), O(t, "class", "CashierErrorButton");
4370
4515
  },
4371
- m(o, u) {
4372
- A(o, t, u), I(t, r), I(r, i), a || (s = ur(
4516
+ m(o, l) {
4517
+ A(o, t, l), I(t, r), I(r, i), a || (s = fr(
4373
4518
  t,
4374
4519
  "click",
4375
4520
  /*close*/
4376
- e[7]
4521
+ e[9]
4377
4522
  ), a = !0);
4378
4523
  },
4379
- p(o, u) {
4380
- u & /*$_*/
4381
- 64 && n !== (n = /*$_*/
4382
- o[6]("errorGeneralButton") + "") && X(i, n);
4524
+ p(o, l) {
4525
+ l & /*$_*/
4526
+ 256 && n !== (n = /*$_*/
4527
+ o[8]("errorGeneralButton") + "") && Z(i, n);
4383
4528
  },
4384
4529
  d(o) {
4385
- o && S(t), a = !1, s();
4530
+ o && k(t), a = !1, s();
4386
4531
  }
4387
4532
  };
4388
4533
  }
4389
- function Oi(e) {
4390
- let t, r, n, i, a, s;
4391
- const o = (
4392
- /*#slots*/
4393
- e[14].icon
4394
- ), u = he(
4395
- o,
4396
- e,
4397
- /*$$scope*/
4398
- e[13],
4399
- Et
4400
- ), l = u || Bi(e), c = (
4401
- /*#slots*/
4402
- e[14].title
4403
- ), h = he(
4404
- c,
4405
- e,
4406
- /*$$scope*/
4407
- e[13],
4408
- yt
4409
- ), d = (
4410
- /*#slots*/
4411
- e[14].text
4412
- ), v = he(
4413
- d,
4414
- e,
4415
- /*$$scope*/
4416
- e[13],
4417
- vt
4418
- ), m = v || Li(e), x = (
4419
- /*#slots*/
4420
- e[14].button
4421
- ), k = he(
4422
- x,
4423
- e,
4424
- /*$$scope*/
4425
- e[13],
4426
- bt
4427
- ), T = k || Pi(e);
4534
+ function Ui(e) {
4535
+ let t, r, n = !/*isLoading*/
4536
+ e[4] && wt(e);
4428
4537
  return {
4429
4538
  c() {
4430
- t = B("div"), r = B("div"), l && l.c(), n = V(), h && h.c(), i = V(), m && m.c(), a = V(), T && T.c(), O(r, "class", "CashierErrorContent"), O(t, "class", "CashierError");
4539
+ t = B("div"), n && n.c(), O(t, "class", "CashierError");
4431
4540
  },
4432
- m(f, y) {
4433
- A(f, t, y), I(t, r), l && l.m(r, null), I(r, n), h && h.m(r, null), I(r, i), m && m.m(r, null), I(r, a), T && T.m(r, null), e[15](t), s = !0;
4541
+ m(i, a) {
4542
+ A(i, t, a), n && n.m(t, null), e[17](t), r = !0;
4434
4543
  },
4435
- p(f, [y]) {
4436
- u ? u.p && (!s || y & /*$$scope*/
4437
- 8192) && fe(
4438
- u,
4439
- o,
4440
- f,
4441
- /*$$scope*/
4442
- f[13],
4443
- s ? de(
4444
- o,
4445
- /*$$scope*/
4446
- f[13],
4447
- y,
4448
- Ii
4449
- ) : me(
4450
- /*$$scope*/
4451
- f[13]
4452
- ),
4453
- Et
4454
- ) : l && l.p && (!s || y & /*assetsurl*/
4455
- 1) && l.p(f, s ? y : -1), h && h.p && (!s || y & /*$$scope*/
4456
- 8192) && fe(
4457
- h,
4458
- c,
4459
- f,
4460
- /*$$scope*/
4461
- f[13],
4462
- s ? de(
4463
- c,
4464
- /*$$scope*/
4465
- f[13],
4466
- y,
4467
- Ai
4468
- ) : me(
4469
- /*$$scope*/
4470
- f[13]
4471
- ),
4472
- yt
4473
- ), v ? v.p && (!s || y & /*$$scope*/
4474
- 8192) && fe(
4475
- v,
4476
- d,
4477
- f,
4478
- /*$$scope*/
4479
- f[13],
4480
- s ? de(
4481
- d,
4482
- /*$$scope*/
4483
- f[13],
4484
- y,
4485
- Si
4486
- ) : me(
4487
- /*$$scope*/
4488
- f[13]
4489
- ),
4490
- vt
4491
- ) : m && m.p && (!s || y & /*$_, depositWageringAmount, depositWageringCurrency, errorcode, errormessage*/
4492
- 118) && m.p(f, s ? y : -1), k ? k.p && (!s || y & /*$$scope*/
4493
- 8192) && fe(
4494
- k,
4495
- x,
4496
- f,
4497
- /*$$scope*/
4498
- f[13],
4499
- s ? de(
4500
- x,
4501
- /*$$scope*/
4502
- f[13],
4503
- y,
4504
- wi
4505
- ) : me(
4506
- /*$$scope*/
4507
- f[13]
4508
- ),
4509
- bt
4510
- ) : T && T.p && (!s || y & /*$_*/
4511
- 64) && T.p(f, s ? y : -1);
4544
+ p(i, [a]) {
4545
+ /*isLoading*/
4546
+ i[4] ? n && (xr(), q(n, 1, 1, () => {
4547
+ n = null;
4548
+ }), Tr()) : n ? (n.p(i, a), a & /*isLoading*/
4549
+ 16 && M(n, 1)) : (n = wt(i), n.c(), M(n, 1), n.m(t, null));
4512
4550
  },
4513
- i(f) {
4514
- s || (te(l, f), te(h, f), te(m, f), te(T, f), s = !0);
4551
+ i(i) {
4552
+ r || (M(n), r = !0);
4515
4553
  },
4516
- o(f) {
4517
- pe(l, f), pe(h, f), pe(m, f), pe(T, f), s = !1;
4554
+ o(i) {
4555
+ q(n), r = !1;
4518
4556
  },
4519
- d(f) {
4520
- f && S(t), l && l.d(f), h && h.d(f), m && m.d(f), T && T.d(f), e[15](null);
4557
+ d(i) {
4558
+ i && k(t), n && n.d(), e[17](null);
4521
4559
  }
4522
4560
  };
4523
4561
  }
4524
- function Mi(e, t, r) {
4562
+ function Fi(e, t, r) {
4525
4563
  let n;
4526
- ar(e, xi, (g) => r(6, n = g));
4527
- let { $$slots: i = {}, $$scope: a } = t, { assetsurl: s = "" } = t, { lang: o = "en" } = t, { errorcode: u = "" } = t, { errormessage: l = "" } = t, { clientstyling: c = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: d = "" } = t, { mbsource: v = "" } = t, m, x, k = -1, T;
4528
- const f = () => {
4529
- Ti(o);
4530
- }, y = async () => {
4531
- if (d)
4532
- try {
4533
- const g = await fetch(d);
4534
- if (!g.ok)
4535
- throw new Error(`HTTP error! status: ${g.status}`);
4536
- const er = await g.json();
4537
- Object.entries(er).forEach(([tr, rr]) => {
4538
- gt(tr, rr);
4564
+ ur(e, Ai, (b) => r(8, n = b));
4565
+ let { $$slots: i = {}, $$scope: a } = t, { assetsurl: s = "" } = t, { lang: o = "en" } = t, { errorcode: l = "" } = t, { errormessage: u = "" } = t, { clientstyling: c = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: d = "" } = t, { mbsource: m = "" } = t, g, T, E = -1, f, y, w = !1;
4566
+ const U = () => {
4567
+ Ii(o);
4568
+ }, L = () => {
4569
+ r(4, w = !0);
4570
+ let b = d;
4571
+ if (b)
4572
+ return fetch(b).then((G) => G.json()).then((G) => {
4573
+ Object.keys(G).forEach((tt) => {
4574
+ yt(tt, G[tt]);
4539
4575
  });
4540
- } catch (g) {
4541
- console.error(g);
4542
- }
4576
+ }).catch((G) => {
4577
+ console.log(G);
4578
+ }).finally(() => {
4579
+ r(4, w = !1);
4580
+ });
4543
4581
  };
4544
- Object.keys(pt).forEach((g) => {
4545
- gt(g, pt[g]);
4582
+ Object.keys(Et).forEach((b) => {
4583
+ yt(b, Et[b]);
4546
4584
  });
4547
- const R = () => {
4585
+ const $ = () => {
4548
4586
  window.postMessage({ type: "ErrorClose" }, window.location.href);
4549
- }, H = (g) => {
4550
- if (g.data)
4551
- switch (g.data.type) {
4587
+ }, ae = (b) => {
4588
+ if (b.data)
4589
+ switch (b.data.type) {
4552
4590
  case "DepositWageringAmount":
4553
- r(4, k = g.data.amount), r(5, T = g.data.currency);
4591
+ r(5, E = b.data.amount), r(6, f = b.data.currency);
4554
4592
  break;
4555
4593
  }
4594
+ }, ar = () => {
4595
+ r(7, y = n(`${l || "errorGeneralText"}`));
4556
4596
  };
4557
- fr(() => (window.addEventListener("message", H, !1), () => {
4558
- window.removeEventListener("message", H);
4597
+ br(() => (window.addEventListener("message", ae, !1), () => {
4598
+ window.removeEventListener("message", ae);
4559
4599
  }));
4560
- function F(g) {
4561
- Ne[g ? "unshift" : "push"](() => {
4562
- m = g, r(3, m);
4600
+ function sr(b) {
4601
+ Fe[b ? "unshift" : "push"](() => {
4602
+ g = b, r(3, g);
4563
4603
  });
4564
4604
  }
4565
- return e.$$set = (g) => {
4566
- "assetsurl" in g && r(0, s = g.assetsurl), "lang" in g && r(8, o = g.lang), "errorcode" in g && r(1, u = g.errorcode), "errormessage" in g && r(2, l = g.errormessage), "clientstyling" in g && r(9, c = g.clientstyling), "clientstylingurl" in g && r(10, h = g.clientstylingurl), "translationurl" in g && r(11, d = g.translationurl), "mbsource" in g && r(12, v = g.mbsource), "$$scope" in g && r(13, a = g.$$scope);
4605
+ return e.$$set = (b) => {
4606
+ "assetsurl" in b && r(0, s = b.assetsurl), "lang" in b && r(10, o = b.lang), "errorcode" in b && r(1, l = b.errorcode), "errormessage" in b && r(2, u = b.errormessage), "clientstyling" in b && r(11, c = b.clientstyling), "clientstylingurl" in b && r(12, h = b.clientstylingurl), "translationurl" in b && r(13, d = b.translationurl), "mbsource" in b && r(14, m = b.mbsource), "$$scope" in b && r(15, a = b.$$scope);
4567
4607
  }, e.$$.update = () => {
4568
4608
  e.$$.dirty & /*lang*/
4569
- 256 && o && f(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4570
- 520 && c && m && Sr(m, c), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4571
- 1032 && h && m && Ar(m, h), e.$$.dirty & /*mbsource, customStylingContainer*/
4572
- 4104 && v && m && Ir(m, `${v}.Style`, x), e.$$.dirty & /*translationurl*/
4573
- 2048 && d && y();
4609
+ 1024 && o && U(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4610
+ 2056 && c && g && Cr(g, c), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4611
+ 4104 && h && g && Lr(g, h), e.$$.dirty & /*mbsource, customStylingContainer*/
4612
+ 16392 && m && g && Pr(g, `${m}.Style`, T), e.$$.dirty & /*translationurl*/
4613
+ 8192 && d && L(), e.$$.dirty & /*isLoading*/
4614
+ 16 && !w && ar();
4574
4615
  }, [
4575
4616
  s,
4576
- u,
4577
4617
  l,
4578
- m,
4579
- k,
4580
- T,
4618
+ u,
4619
+ g,
4620
+ w,
4621
+ E,
4622
+ f,
4623
+ y,
4581
4624
  n,
4582
- R,
4625
+ $,
4583
4626
  o,
4584
4627
  c,
4585
4628
  h,
4586
4629
  d,
4587
- v,
4630
+ m,
4588
4631
  a,
4589
4632
  i,
4590
- F
4633
+ sr
4591
4634
  ];
4592
4635
  }
4593
- class Di extends kr {
4636
+ class zi extends Br {
4594
4637
  constructor(t) {
4595
- super(), xr(
4638
+ super(), Ar(
4596
4639
  this,
4597
4640
  t,
4598
- Mi,
4599
- Oi,
4600
- wt,
4641
+ Fi,
4642
+ Ui,
4643
+ Ht,
4601
4644
  {
4602
4645
  assetsurl: 0,
4603
- lang: 8,
4646
+ lang: 10,
4604
4647
  errorcode: 1,
4605
4648
  errormessage: 2,
4606
- clientstyling: 9,
4607
- clientstylingurl: 10,
4608
- translationurl: 11,
4609
- mbsource: 12
4649
+ clientstyling: 11,
4650
+ clientstylingurl: 12,
4651
+ translationurl: 13,
4652
+ mbsource: 14
4610
4653
  },
4611
- ki
4654
+ Bi
4612
4655
  );
4613
4656
  }
4614
4657
  get assetsurl() {
4615
4658
  return this.$$.ctx[0];
4616
4659
  }
4617
4660
  set assetsurl(t) {
4618
- this.$$set({ assetsurl: t }), C();
4661
+ this.$$set({ assetsurl: t }), H();
4619
4662
  }
4620
4663
  get lang() {
4621
- return this.$$.ctx[8];
4664
+ return this.$$.ctx[10];
4622
4665
  }
4623
4666
  set lang(t) {
4624
- this.$$set({ lang: t }), C();
4667
+ this.$$set({ lang: t }), H();
4625
4668
  }
4626
4669
  get errorcode() {
4627
4670
  return this.$$.ctx[1];
4628
4671
  }
4629
4672
  set errorcode(t) {
4630
- this.$$set({ errorcode: t }), C();
4673
+ this.$$set({ errorcode: t }), H();
4631
4674
  }
4632
4675
  get errormessage() {
4633
4676
  return this.$$.ctx[2];
4634
4677
  }
4635
4678
  set errormessage(t) {
4636
- this.$$set({ errormessage: t }), C();
4679
+ this.$$set({ errormessage: t }), H();
4637
4680
  }
4638
4681
  get clientstyling() {
4639
- return this.$$.ctx[9];
4682
+ return this.$$.ctx[11];
4640
4683
  }
4641
4684
  set clientstyling(t) {
4642
- this.$$set({ clientstyling: t }), C();
4685
+ this.$$set({ clientstyling: t }), H();
4643
4686
  }
4644
4687
  get clientstylingurl() {
4645
- return this.$$.ctx[10];
4688
+ return this.$$.ctx[12];
4646
4689
  }
4647
4690
  set clientstylingurl(t) {
4648
- this.$$set({ clientstylingurl: t }), C();
4691
+ this.$$set({ clientstylingurl: t }), H();
4649
4692
  }
4650
4693
  get translationurl() {
4651
- return this.$$.ctx[11];
4694
+ return this.$$.ctx[13];
4652
4695
  }
4653
4696
  set translationurl(t) {
4654
- this.$$set({ translationurl: t }), C();
4697
+ this.$$set({ translationurl: t }), H();
4655
4698
  }
4656
4699
  get mbsource() {
4657
- return this.$$.ctx[12];
4700
+ return this.$$.ctx[14];
4658
4701
  }
4659
4702
  set mbsource(t) {
4660
- this.$$set({ mbsource: t }), C();
4703
+ this.$$set({ mbsource: t }), H();
4661
4704
  }
4662
4705
  }
4663
- Tr(Di, { assetsurl: {}, lang: {}, errorcode: {}, errormessage: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
4706
+ Ir(zi, { assetsurl: {}, lang: {}, errorcode: {}, errormessage: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
4664
4707
  export {
4665
- Di as C
4708
+ zi as C
4666
4709
  };