@everymatrix/cashier-error 1.98.8 → 1.98.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,51 +1,51 @@
1
- var fr = Object.defineProperty, mr = Object.defineProperties;
2
- var gr = Object.getOwnPropertyDescriptors;
1
+ var fn = Object.defineProperty, gn = Object.defineProperties;
2
+ var pn = Object.getOwnPropertyDescriptors;
3
3
  var it = Object.getOwnPropertySymbols;
4
- var pr = Object.prototype.hasOwnProperty, br = Object.prototype.propertyIsEnumerable;
5
- var Oe = (e, t, r) => t in e ? fr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, at = (e, t) => {
6
- for (var r in t || (t = {}))
7
- pr.call(t, r) && Oe(e, r, t[r]);
4
+ var bn = Object.prototype.hasOwnProperty, yn = Object.prototype.propertyIsEnumerable;
5
+ var Pe = (e, t, n) => t in e ? fn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, at = (e, t) => {
6
+ for (var n in t || (t = {}))
7
+ bn.call(t, n) && Pe(e, n, t[n]);
8
8
  if (it)
9
- for (var r of it(t))
10
- br.call(t, r) && Oe(e, r, t[r]);
9
+ for (var n of it(t))
10
+ yn.call(t, n) && Pe(e, n, t[n]);
11
11
  return e;
12
- }, st = (e, t) => mr(e, gr(t));
13
- var I = (e, t, r) => (Oe(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var ot = (e, t, r) => new Promise((n, i) => {
12
+ }, st = (e, t) => gn(e, pn(t));
13
+ var S = (e, t, n) => (Pe(e, typeof t != "symbol" ? t + "" : t, n), n);
14
+ var ot = (e, t, n) => new Promise((r, i) => {
15
15
  var a = (l) => {
16
16
  try {
17
- o(r.next(l));
17
+ o(n.next(l));
18
18
  } catch (u) {
19
19
  i(u);
20
20
  }
21
21
  }, s = (l) => {
22
22
  try {
23
- o(r.throw(l));
23
+ o(n.throw(l));
24
24
  } catch (u) {
25
25
  i(u);
26
26
  }
27
- }, o = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(a, s);
28
- o((r = r.apply(e, t)).next());
27
+ }, o = (l) => l.done ? r(l.value) : Promise.resolve(l.value).then(a, s);
28
+ o((n = n.apply(e, t)).next());
29
29
  });
30
30
  import "../stencil/ui-image-CP8Lp7fB.js";
31
- function O() {
31
+ function P() {
32
32
  }
33
- function vr(e, t) {
34
- for (const r in t)
35
- e[r] = t[r];
33
+ function vn(e, t) {
34
+ for (const n in t)
35
+ e[n] = t[n];
36
36
  return (
37
37
  /** @type {T & S} */
38
38
  e
39
39
  );
40
40
  }
41
- function Mt(e) {
41
+ function Ot(e) {
42
42
  return e();
43
43
  }
44
44
  function lt() {
45
45
  return /* @__PURE__ */ Object.create(null);
46
46
  }
47
- function ne(e) {
48
- e.forEach(Mt);
47
+ function re(e) {
48
+ e.forEach(Ot);
49
49
  }
50
50
  function Qe(e) {
51
51
  return typeof e == "function";
@@ -57,33 +57,33 @@ let ge;
57
57
  function ut(e, t) {
58
58
  return e === t ? !0 : (ge || (ge = document.createElement("a")), ge.href = t, e === ge.href);
59
59
  }
60
- function yr(e) {
60
+ function En(e) {
61
61
  return Object.keys(e).length === 0;
62
62
  }
63
63
  function Nt(e, ...t) {
64
64
  if (e == null) {
65
- for (const n of t)
66
- n(void 0);
67
- return O;
65
+ for (const r of t)
66
+ r(void 0);
67
+ return P;
68
68
  }
69
- const r = e.subscribe(...t);
70
- return r.unsubscribe ? () => r.unsubscribe() : r;
69
+ const n = e.subscribe(...t);
70
+ return n.unsubscribe ? () => n.unsubscribe() : n;
71
71
  }
72
- function Er(e, t, r) {
73
- e.$$.on_destroy.push(Nt(t, r));
72
+ function _n(e, t, n) {
73
+ e.$$.on_destroy.push(Nt(t, n));
74
74
  }
75
- function pe(e, t, r, n) {
75
+ function pe(e, t, n, r) {
76
76
  if (e) {
77
- const i = Rt(e, t, r, n);
77
+ const i = Rt(e, t, n, r);
78
78
  return e[0](i);
79
79
  }
80
80
  }
81
- function Rt(e, t, r, n) {
82
- return e[1] && n ? vr(r.ctx.slice(), e[1](n(t))) : r.ctx;
81
+ function Rt(e, t, n, r) {
82
+ return e[1] && r ? vn(n.ctx.slice(), e[1](r(t))) : n.ctx;
83
83
  }
84
- function be(e, t, r, n) {
85
- if (e[2] && n) {
86
- const i = e[2](n(r));
84
+ function be(e, t, n, r) {
85
+ if (e[2] && r) {
86
+ const i = e[2](r(n));
87
87
  if (t.dirty === void 0)
88
88
  return i;
89
89
  if (typeof i == "object") {
@@ -96,17 +96,17 @@ function be(e, t, r, n) {
96
96
  }
97
97
  return t.dirty;
98
98
  }
99
- function ve(e, t, r, n, i, a) {
99
+ function ye(e, t, n, r, i, a) {
100
100
  if (i) {
101
- const s = Rt(t, r, n, a);
101
+ const s = Rt(t, n, r, a);
102
102
  e.p(s, i);
103
103
  }
104
104
  }
105
- function ye(e) {
105
+ function ve(e) {
106
106
  if (e.ctx.length > 32) {
107
- const t = [], r = e.ctx.length / 32;
108
- for (let n = 0; n < r; n++)
109
- t[n] = -1;
107
+ const t = [], n = e.ctx.length / 32;
108
+ for (let r = 0; r < n; r++)
109
+ t[r] = -1;
110
110
  return t;
111
111
  }
112
112
  return -1;
@@ -114,14 +114,14 @@ function ye(e) {
114
114
  function B(e, t) {
115
115
  e.appendChild(t);
116
116
  }
117
- function _r(e, t, r) {
118
- const n = xr(e);
119
- if (!n.getElementById(t)) {
120
- const i = H("style");
121
- i.id = t, i.textContent = r, Tr(n, i);
117
+ function xn(e, t, n) {
118
+ const r = kn(e);
119
+ if (!r.getElementById(t)) {
120
+ const i = C("style");
121
+ i.id = t, i.textContent = n, Tn(r, i);
122
122
  }
123
123
  }
124
- function xr(e) {
124
+ function kn(e) {
125
125
  if (!e)
126
126
  return document;
127
127
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -131,54 +131,54 @@ function xr(e) {
131
131
  t
132
132
  ) : e.ownerDocument;
133
133
  }
134
- function Tr(e, t) {
134
+ function Tn(e, t) {
135
135
  return B(
136
136
  /** @type {Document} */
137
137
  e.head || e,
138
138
  t
139
139
  ), t.sheet;
140
140
  }
141
- function A(e, t, r) {
142
- e.insertBefore(t, r || null);
141
+ function A(e, t, n) {
142
+ e.insertBefore(t, n || null);
143
143
  }
144
- function k(e) {
144
+ function T(e) {
145
145
  e.parentNode && e.parentNode.removeChild(e);
146
146
  }
147
- function H(e) {
147
+ function C(e) {
148
148
  return document.createElement(e);
149
149
  }
150
150
  function R(e) {
151
151
  return document.createTextNode(e);
152
152
  }
153
- function K() {
153
+ function J() {
154
154
  return R(" ");
155
155
  }
156
156
  function et() {
157
157
  return R("");
158
158
  }
159
- function kr(e, t, r, n) {
160
- return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
159
+ function wn(e, t, n, r) {
160
+ return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);
161
161
  }
162
- function M(e, t, r) {
163
- r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
162
+ function O(e, t, n) {
163
+ n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
164
164
  }
165
- function Ee(e, t, r) {
166
- const n = t.toLowerCase();
167
- n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : M(e, t, r);
165
+ function Ee(e, t, n) {
166
+ const r = t.toLowerCase();
167
+ r in e ? e[r] = typeof e[r] == "boolean" && n === "" ? !0 : n : t in e ? e[t] = typeof e[t] == "boolean" && n === "" ? !0 : n : O(e, t, n);
168
168
  }
169
- function wr(e) {
169
+ function In(e) {
170
170
  return Array.from(e.childNodes);
171
171
  }
172
172
  function Y(e, t) {
173
173
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
174
174
  t);
175
175
  }
176
- function Sr(e) {
176
+ function An(e) {
177
177
  const t = {};
178
178
  return e.childNodes.forEach(
179
179
  /** @param {Element} node */
180
- (r) => {
181
- t[r.slot || "default"] = !0;
180
+ (n) => {
181
+ t[n.slot || "default"] = !0;
182
182
  }
183
183
  ), t;
184
184
  }
@@ -186,103 +186,103 @@ let ce;
186
186
  function ue(e) {
187
187
  ce = e;
188
188
  }
189
- function Ar() {
189
+ function Sn() {
190
190
  if (!ce)
191
191
  throw new Error("Function called outside component initialization");
192
192
  return ce;
193
193
  }
194
- function Ir(e) {
195
- Ar().$$.on_mount.push(e);
194
+ function Bn(e) {
195
+ Sn().$$.on_mount.push(e);
196
196
  }
197
- const X = [], $e = [];
198
- let Z = [];
199
- const ct = [], Br = /* @__PURE__ */ Promise.resolve();
200
- let Ge = !1;
201
- function Hr() {
202
- Ge || (Ge = !0, Br.then(C));
197
+ const q = [], Ge = [];
198
+ let K = [];
199
+ const ct = [], Cn = /* @__PURE__ */ Promise.resolve();
200
+ let $e = !1;
201
+ function Ln() {
202
+ $e || ($e = !0, Cn.then(L));
203
203
  }
204
204
  function je(e) {
205
- Z.push(e);
205
+ K.push(e);
206
206
  }
207
- const Me = /* @__PURE__ */ new Set();
207
+ const Oe = /* @__PURE__ */ new Set();
208
208
  let V = 0;
209
- function C() {
209
+ function L() {
210
210
  if (V !== 0)
211
211
  return;
212
212
  const e = ce;
213
213
  do {
214
214
  try {
215
- for (; V < X.length; ) {
216
- const t = X[V];
217
- V++, ue(t), Cr(t.$$);
215
+ for (; V < q.length; ) {
216
+ const t = q[V];
217
+ V++, ue(t), Hn(t.$$);
218
218
  }
219
219
  } catch (t) {
220
- throw X.length = 0, V = 0, t;
220
+ throw q.length = 0, V = 0, t;
221
221
  }
222
- for (ue(null), X.length = 0, V = 0; $e.length; )
223
- $e.pop()();
224
- for (let t = 0; t < Z.length; t += 1) {
225
- const r = Z[t];
226
- Me.has(r) || (Me.add(r), r());
222
+ for (ue(null), q.length = 0, V = 0; Ge.length; )
223
+ Ge.pop()();
224
+ for (let t = 0; t < K.length; t += 1) {
225
+ const n = K[t];
226
+ Oe.has(n) || (Oe.add(n), n());
227
227
  }
228
- Z.length = 0;
229
- } while (X.length);
228
+ K.length = 0;
229
+ } while (q.length);
230
230
  for (; ct.length; )
231
231
  ct.pop()();
232
- Ge = !1, Me.clear(), ue(e);
232
+ $e = !1, Oe.clear(), ue(e);
233
233
  }
234
- function Cr(e) {
234
+ function Hn(e) {
235
235
  if (e.fragment !== null) {
236
- e.update(), ne(e.before_update);
236
+ e.update(), re(e.before_update);
237
237
  const t = e.dirty;
238
238
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(je);
239
239
  }
240
240
  }
241
- function Lr(e) {
242
- const t = [], r = [];
243
- Z.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Z = t;
241
+ function Mn(e) {
242
+ const t = [], n = [];
243
+ K.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), K = t;
244
244
  }
245
245
  const xe = /* @__PURE__ */ new Set();
246
- let z;
247
- function Pr() {
248
- z = {
246
+ let F;
247
+ function Pn() {
248
+ F = {
249
249
  r: 0,
250
250
  c: [],
251
- p: z
251
+ p: F
252
252
  // parent group
253
253
  };
254
254
  }
255
- function Or() {
256
- z.r || ne(z.c), z = z.p;
255
+ function On() {
256
+ F.r || re(F.c), F = F.p;
257
257
  }
258
258
  function D(e, t) {
259
259
  e && e.i && (xe.delete(e), e.i(t));
260
260
  }
261
- function J(e, t, r, n) {
261
+ function Z(e, t, n, r) {
262
262
  if (e && e.o) {
263
263
  if (xe.has(e))
264
264
  return;
265
- xe.add(e), z.c.push(() => {
266
- xe.delete(e), n && (r && e.d(1), n());
265
+ xe.add(e), F.c.push(() => {
266
+ xe.delete(e), r && (n && e.d(1), r());
267
267
  }), e.o(t);
268
268
  } else
269
- n && n();
269
+ r && r();
270
270
  }
271
- function Mr(e, t, r) {
272
- const { fragment: n, after_update: i } = e.$$;
273
- n && n.m(t, r), je(() => {
274
- const a = e.$$.on_mount.map(Mt).filter(Qe);
275
- e.$$.on_destroy ? e.$$.on_destroy.push(...a) : ne(a), e.$$.on_mount = [];
271
+ function Dn(e, t, n) {
272
+ const { fragment: r, after_update: i } = e.$$;
273
+ r && r.m(t, n), je(() => {
274
+ const a = e.$$.on_mount.map(Ot).filter(Qe);
275
+ e.$$.on_destroy ? e.$$.on_destroy.push(...a) : re(a), e.$$.on_mount = [];
276
276
  }), i.forEach(je);
277
277
  }
278
- function Dr(e, t) {
279
- const r = e.$$;
280
- r.fragment !== null && (Lr(r.after_update), ne(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
278
+ function Nn(e, t) {
279
+ const n = e.$$;
280
+ n.fragment !== null && (Mn(n.after_update), re(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
281
281
  }
282
- function Nr(e, t) {
283
- e.$$.dirty[0] === -1 && (X.push(e), Hr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
282
+ function Rn(e, t) {
283
+ e.$$.dirty[0] === -1 && (q.push(e), Ln(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
284
284
  }
285
- function Rr(e, t, r, n, i, a, s = null, o = [-1]) {
285
+ function zn(e, t, n, r, i, a, s = null, o = [-1]) {
286
286
  const l = ce;
287
287
  ue(e);
288
288
  const u = e.$$ = {
@@ -290,7 +290,7 @@ function Rr(e, t, r, n, i, a, s = null, o = [-1]) {
290
290
  ctx: [],
291
291
  // state
292
292
  props: a,
293
- update: O,
293
+ update: P,
294
294
  not_equal: i,
295
295
  bound: lt(),
296
296
  // lifecycle
@@ -308,54 +308,54 @@ function Rr(e, t, r, n, i, a, s = null, o = [-1]) {
308
308
  };
309
309
  s && s(u.root);
310
310
  let c = !1;
311
- if (u.ctx = r ? r(e, t.props || {}, (h, d, ...m) => {
312
- const g = m.length ? m[0] : d;
313
- return u.ctx && i(u.ctx[h], u.ctx[h] = g) && (!u.skip_bound && u.bound[h] && u.bound[h](g), c && Nr(e, h)), d;
314
- }) : [], u.update(), c = !0, ne(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
311
+ if (u.ctx = n ? n(e, t.props || {}, (h, d, ...f) => {
312
+ const g = f.length ? f[0] : d;
313
+ return u.ctx && i(u.ctx[h], u.ctx[h] = g) && (!u.skip_bound && u.bound[h] && u.bound[h](g), c && Rn(e, h)), d;
314
+ }) : [], u.update(), c = !0, re(u.before_update), u.fragment = r ? r(u.ctx) : !1, t.target) {
315
315
  if (t.hydrate) {
316
- const h = wr(t.target);
317
- u.fragment && u.fragment.l(h), h.forEach(k);
316
+ const h = In(t.target);
317
+ u.fragment && u.fragment.l(h), h.forEach(T);
318
318
  } else
319
319
  u.fragment && u.fragment.c();
320
- t.intro && D(e.$$.fragment), Mr(e, t.target, t.anchor), C();
320
+ t.intro && D(e.$$.fragment), Dn(e, t.target, t.anchor), L();
321
321
  }
322
322
  ue(l);
323
323
  }
324
- let Ut;
325
- typeof HTMLElement == "function" && (Ut = class extends HTMLElement {
326
- constructor(t, r, n) {
324
+ let zt;
325
+ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
326
+ constructor(t, n, r) {
327
327
  super();
328
328
  /** The Svelte component constructor */
329
- I(this, "$$ctor");
329
+ S(this, "$$ctor");
330
330
  /** Slots */
331
- I(this, "$$s");
331
+ S(this, "$$s");
332
332
  /** The Svelte component instance */
333
- I(this, "$$c");
333
+ S(this, "$$c");
334
334
  /** Whether or not the custom element is connected */
335
- I(this, "$$cn", !1);
335
+ S(this, "$$cn", !1);
336
336
  /** Component props data */
337
- I(this, "$$d", {});
337
+ S(this, "$$d", {});
338
338
  /** `true` if currently in the process of reflecting component props back to attributes */
339
- I(this, "$$r", !1);
339
+ S(this, "$$r", !1);
340
340
  /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
341
- I(this, "$$p_d", {});
341
+ S(this, "$$p_d", {});
342
342
  /** @type {Record<string, Function[]>} Event listeners */
343
- I(this, "$$l", {});
343
+ S(this, "$$l", {});
344
344
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
345
- I(this, "$$l_u", /* @__PURE__ */ new Map());
346
- this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
345
+ S(this, "$$l_u", /* @__PURE__ */ new Map());
346
+ this.$$ctor = t, this.$$s = n, r && this.attachShadow({ mode: "open" });
347
347
  }
348
- addEventListener(t, r, n) {
349
- if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(r), this.$$c) {
350
- const i = this.$$c.$on(t, r);
351
- this.$$l_u.set(r, i);
348
+ addEventListener(t, n, r) {
349
+ if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(n), this.$$c) {
350
+ const i = this.$$c.$on(t, n);
351
+ this.$$l_u.set(n, i);
352
352
  }
353
- super.addEventListener(t, r, n);
353
+ super.addEventListener(t, n, r);
354
354
  }
355
- removeEventListener(t, r, n) {
356
- if (super.removeEventListener(t, r, n), this.$$c) {
357
- const i = this.$$l_u.get(r);
358
- i && (i(), this.$$l_u.delete(r));
355
+ removeEventListener(t, n, r) {
356
+ if (super.removeEventListener(t, n, r), this.$$c) {
357
+ const i = this.$$l_u.get(n);
358
+ i && (i(), this.$$l_u.delete(n));
359
359
  }
360
360
  }
361
361
  connectedCallback() {
@@ -366,7 +366,7 @@ typeof HTMLElement == "function" && (Ut = class extends HTMLElement {
366
366
  let s;
367
367
  return {
368
368
  c: function() {
369
- s = H("slot"), a !== "default" && M(s, "name", a);
369
+ s = C("slot"), a !== "default" && O(s, "name", a);
370
370
  },
371
371
  /**
372
372
  * @param {HTMLElement} target
@@ -376,26 +376,26 @@ typeof HTMLElement == "function" && (Ut = class extends HTMLElement {
376
376
  A(u, s, c);
377
377
  },
378
378
  d: function(u) {
379
- u && k(s);
379
+ u && T(s);
380
380
  }
381
381
  };
382
382
  };
383
383
  };
384
384
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
385
385
  return;
386
- const r = {}, n = Sr(this);
386
+ const n = {}, r = An(this);
387
387
  for (const a of this.$$s)
388
- a in n && (r[a] = [t(a)]);
388
+ a in r && (n[a] = [t(a)]);
389
389
  for (const a of this.attributes) {
390
390
  const s = this.$$g_p(a.name);
391
- s in this.$$d || (this.$$d[s] = Te(s, a.value, this.$$p_d, "toProp"));
391
+ s in this.$$d || (this.$$d[s] = ke(s, a.value, this.$$p_d, "toProp"));
392
392
  }
393
393
  for (const a in this.$$p_d)
394
394
  !(a in this.$$d) && this[a] !== void 0 && (this.$$d[a] = this[a], delete this[a]);
395
395
  this.$$c = new this.$$ctor({
396
396
  target: this.shadowRoot || this,
397
397
  props: st(at({}, this.$$d), {
398
- $$slots: r,
398
+ $$slots: n,
399
399
  $$scope: {
400
400
  ctx: []
401
401
  }
@@ -405,7 +405,7 @@ typeof HTMLElement == "function" && (Ut = class extends HTMLElement {
405
405
  this.$$r = !0;
406
406
  for (const a in this.$$p_d)
407
407
  if (this.$$d[a] = this.$$c.$$.ctx[this.$$c.$$.props[a]], this.$$p_d[a].reflect) {
408
- const s = Te(
408
+ const s = ke(
409
409
  a,
410
410
  this.$$d[a],
411
411
  this.$$p_d,
@@ -427,9 +427,9 @@ typeof HTMLElement == "function" && (Ut = class extends HTMLElement {
427
427
  }
428
428
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
429
429
  // and setting attributes through setAttribute etc, this is helpful
430
- attributeChangedCallback(t, r, n) {
430
+ attributeChangedCallback(t, n, r) {
431
431
  var i;
432
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = Te(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
432
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = ke(t, r, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
433
433
  }
434
434
  disconnectedCallback() {
435
435
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -438,16 +438,16 @@ typeof HTMLElement == "function" && (Ut = class extends HTMLElement {
438
438
  }
439
439
  $$g_p(t) {
440
440
  return Object.keys(this.$$p_d).find(
441
- (r) => this.$$p_d[r].attribute === t || !this.$$p_d[r].attribute && r.toLowerCase() === t
441
+ (n) => this.$$p_d[n].attribute === t || !this.$$p_d[n].attribute && n.toLowerCase() === t
442
442
  ) || t;
443
443
  }
444
444
  });
445
- function Te(e, t, r, n) {
445
+ function ke(e, t, n, r) {
446
446
  var a;
447
- const i = (a = r[e]) == null ? void 0 : a.type;
448
- if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
447
+ const i = (a = n[e]) == null ? void 0 : a.type;
448
+ if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !r || !n[e])
449
449
  return t;
450
- if (n === "toAttribute")
450
+ if (r === "toAttribute")
451
451
  switch (i) {
452
452
  case "Object":
453
453
  case "Array":
@@ -472,10 +472,10 @@ function Te(e, t, r, n) {
472
472
  return t;
473
473
  }
474
474
  }
475
- function Ur(e, t, r, n, i, a) {
476
- let s = class extends Ut {
475
+ function Un(e, t, n, r, i, a) {
476
+ let s = class extends zt {
477
477
  constructor() {
478
- super(e, r, i), this.$$p_d = t;
478
+ super(e, n, i), this.$$p_d = t;
479
479
  }
480
480
  static get observedAttributes() {
481
481
  return Object.keys(t).map(
@@ -490,10 +490,10 @@ function Ur(e, t, r, n, i, a) {
490
490
  },
491
491
  set(l) {
492
492
  var u;
493
- l = Te(o, l, t), this.$$d[o] = l, (u = this.$$c) == null || u.$set({ [o]: l });
493
+ l = ke(o, l, t), this.$$d[o] = l, (u = this.$$c) == null || u.$set({ [o]: l });
494
494
  }
495
495
  });
496
- }), n.forEach((o) => {
496
+ }), r.forEach((o) => {
497
497
  Object.defineProperty(s.prototype, o, {
498
498
  get() {
499
499
  var l;
@@ -503,7 +503,7 @@ function Ur(e, t, r, n, i, a) {
503
503
  }), e.element = /** @type {any} */
504
504
  s, s;
505
505
  }
506
- class Fr {
506
+ class Fn {
507
507
  constructor() {
508
508
  /**
509
509
  * ### PRIVATE API
@@ -512,7 +512,7 @@ class Fr {
512
512
  *
513
513
  * @type {any}
514
514
  */
515
- I(this, "$$");
515
+ S(this, "$$");
516
516
  /**
517
517
  * ### PRIVATE API
518
518
  *
@@ -520,11 +520,11 @@ class Fr {
520
520
  *
521
521
  * @type {any}
522
522
  */
523
- I(this, "$$set");
523
+ S(this, "$$set");
524
524
  }
525
525
  /** @returns {void} */
526
526
  $destroy() {
527
- Dr(this, 1), this.$destroy = O;
527
+ Nn(this, 1), this.$destroy = P;
528
528
  }
529
529
  /**
530
530
  * @template {Extract<keyof Events, string>} K
@@ -532,13 +532,13 @@ class Fr {
532
532
  * @param {((e: Events[K]) => void) | null | undefined} callback
533
533
  * @returns {() => void}
534
534
  */
535
- $on(t, r) {
536
- if (!Qe(r))
537
- return O;
538
- const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
539
- return n.push(r), () => {
540
- const i = n.indexOf(r);
541
- i !== -1 && n.splice(i, 1);
535
+ $on(t, n) {
536
+ if (!Qe(n))
537
+ return P;
538
+ const r = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
539
+ return r.push(n), () => {
540
+ const i = r.indexOf(n);
541
+ i !== -1 && r.splice(i, 1);
542
542
  };
543
543
  }
544
544
  /**
@@ -546,77 +546,77 @@ class Fr {
546
546
  * @returns {void}
547
547
  */
548
548
  $set(t) {
549
- this.$$set && !yr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
549
+ this.$$set && !En(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
550
550
  }
551
551
  }
552
- const zr = "4";
553
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(zr);
554
- const q = "__WIDGET_GLOBAL_STYLE_CACHE__";
555
- function $r(e, t) {
552
+ const Gn = "4";
553
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Gn);
554
+ const X = "__WIDGET_GLOBAL_STYLE_CACHE__";
555
+ function $n(e, t) {
556
556
  if (e) {
557
- const r = document.createElement("style");
558
- r.innerHTML = t, e.appendChild(r);
557
+ const n = document.createElement("style");
558
+ n.innerHTML = t, e.appendChild(n);
559
559
  }
560
560
  }
561
- function Gr(e, t) {
561
+ function jn(e, t) {
562
562
  if (!e || !t)
563
563
  return;
564
- const r = new URL(t);
565
- fetch(r.href).then((n) => n.text()).then((n) => {
564
+ const n = new URL(t);
565
+ fetch(n.href).then((r) => r.text()).then((r) => {
566
566
  const i = document.createElement("style");
567
- i.innerHTML = n, e && e.appendChild(i);
568
- }).catch((n) => {
569
- console.error("There was an error while trying to load client styling from URL", n);
567
+ i.innerHTML = r, e && e.appendChild(i);
568
+ }).catch((r) => {
569
+ console.error("There was an error while trying to load client styling from URL", r);
570
570
  });
571
571
  }
572
- function jr(e, t, r, n = !1) {
572
+ function Vn(e, t, n, r = !1) {
573
573
  if (!window.emMessageBus)
574
574
  return;
575
- if (!("adoptedStyleSheets" in Document.prototype) || !n)
576
- return r = Vr(e, t), r;
577
- window[q] || (window[q] = {}), r = Wr(e, t);
578
- const a = r.unsubscribe.bind(r), s = () => {
579
- if (window[q][t]) {
580
- const o = window[q][t];
581
- o.refCount > 1 ? o.refCount = o.refCount - 1 : delete window[q][t];
575
+ if (!("adoptedStyleSheets" in Document.prototype) || !r)
576
+ return n = Wn(e, t), n;
577
+ window[X] || (window[X] = {}), n = qn(e, t);
578
+ const a = n.unsubscribe.bind(n), s = () => {
579
+ if (window[X][t]) {
580
+ const o = window[X][t];
581
+ o.refCount > 1 ? o.refCount = o.refCount - 1 : delete window[X][t];
582
582
  }
583
583
  a();
584
584
  };
585
- return r.unsubscribe = s, r;
585
+ return n.unsubscribe = s, n;
586
586
  }
587
- function Vr(e, t) {
588
- const r = document.createElement("style");
589
- return window.emMessageBus.subscribe(t, (n) => {
590
- e && (r.innerHTML = n, e.appendChild(r));
587
+ function Wn(e, t) {
588
+ const n = document.createElement("style");
589
+ return window.emMessageBus.subscribe(t, (r) => {
590
+ e && (n.innerHTML = r, e.appendChild(n));
591
591
  });
592
592
  }
593
- function Wr(e, t) {
594
- return window.emMessageBus.subscribe(t, (r) => {
593
+ function qn(e, t) {
594
+ return window.emMessageBus.subscribe(t, (n) => {
595
595
  if (!e)
596
596
  return;
597
- const n = e.getRootNode(), i = window[q];
597
+ const r = e.getRootNode(), i = window[X];
598
598
  let a = i[t] && i[t].sheet;
599
- a ? i[t].refCount = i[t].refCount + 1 : (a = new CSSStyleSheet(), a.replaceSync(r), i[t] = {
599
+ a ? i[t].refCount = i[t].refCount + 1 : (a = new CSSStyleSheet(), a.replaceSync(n), i[t] = {
600
600
  sheet: a,
601
601
  refCount: 1
602
602
  });
603
- const s = n.adoptedStyleSheets || [];
604
- s.includes(a) || (n.adoptedStyleSheets = [...s, a]);
603
+ const s = r.adoptedStyleSheets || [];
604
+ s.includes(a) || (r.adoptedStyleSheets = [...s, a]);
605
605
  });
606
606
  }
607
607
  const W = [];
608
- function Xr(e, t) {
608
+ function Xn(e, t) {
609
609
  return {
610
- subscribe: He(e, t).subscribe
610
+ subscribe: Ce(e, t).subscribe
611
611
  };
612
612
  }
613
- function He(e, t = O) {
614
- let r;
615
- const n = /* @__PURE__ */ new Set();
613
+ function Ce(e, t = P) {
614
+ let n;
615
+ const r = /* @__PURE__ */ new Set();
616
616
  function i(o) {
617
- if (Dt(e, o) && (e = o, r)) {
617
+ if (Dt(e, o) && (e = o, n)) {
618
618
  const l = !W.length;
619
- for (const u of n)
619
+ for (const u of r)
620
620
  u[1](), W.push(u, e);
621
621
  if (l) {
622
622
  for (let u = 0; u < W.length; u += 2)
@@ -628,192 +628,192 @@ function He(e, t = O) {
628
628
  function a(o) {
629
629
  i(o(e));
630
630
  }
631
- function s(o, l = O) {
631
+ function s(o, l = P) {
632
632
  const u = [o, l];
633
- return n.add(u), n.size === 1 && (r = t(i, a) || O), o(e), () => {
634
- n.delete(u), n.size === 0 && r && (r(), r = null);
633
+ return r.add(u), r.size === 1 && (n = t(i, a) || P), o(e), () => {
634
+ r.delete(u), r.size === 0 && n && (n(), n = null);
635
635
  };
636
636
  }
637
637
  return { set: i, update: a, subscribe: s };
638
638
  }
639
- function ie(e, t, r) {
640
- const n = !Array.isArray(e), i = n ? [e] : e;
639
+ function ie(e, t, n) {
640
+ const r = !Array.isArray(e), i = r ? [e] : e;
641
641
  if (!i.every(Boolean))
642
642
  throw new Error("derived() expects stores as input, got a falsy value");
643
643
  const a = t.length < 2;
644
- return Xr(r, (s, o) => {
644
+ return Xn(n, (s, o) => {
645
645
  let l = !1;
646
646
  const u = [];
647
- let c = 0, h = O;
647
+ let c = 0, h = P;
648
648
  const d = () => {
649
649
  if (c)
650
650
  return;
651
651
  h();
652
- const g = t(n ? u[0] : u, s, o);
653
- a ? s(g) : h = Qe(g) ? g : O;
654
- }, m = i.map(
655
- (g, T) => Nt(
652
+ const g = t(r ? u[0] : u, s, o);
653
+ a ? s(g) : h = Qe(g) ? g : P;
654
+ }, f = i.map(
655
+ (g, k) => Nt(
656
656
  g,
657
657
  (E) => {
658
- u[T] = E, c &= ~(1 << T), l && d();
658
+ u[k] = E, c &= ~(1 << k), l && d();
659
659
  },
660
660
  () => {
661
- c |= 1 << T;
661
+ c |= 1 << k;
662
662
  }
663
663
  )
664
664
  );
665
665
  return l = !0, d(), function() {
666
- ne(m), h(), l = !1;
666
+ re(f), h(), l = !1;
667
667
  };
668
668
  });
669
669
  }
670
- function qr(e) {
670
+ function Zn(e) {
671
671
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
672
672
  }
673
- var Jr = function(t) {
674
- return Kr(t) && !Zr(t);
673
+ var Jn = function(t) {
674
+ return Kn(t) && !Yn(t);
675
675
  };
676
- function Kr(e) {
676
+ function Kn(e) {
677
677
  return !!e && typeof e == "object";
678
678
  }
679
- function Zr(e) {
679
+ function Yn(e) {
680
680
  var t = Object.prototype.toString.call(e);
681
- return t === "[object RegExp]" || t === "[object Date]" || en(e);
681
+ return t === "[object RegExp]" || t === "[object Date]" || tr(e);
682
682
  }
683
- var Yr = typeof Symbol == "function" && Symbol.for, Qr = Yr ? Symbol.for("react.element") : 60103;
684
- function en(e) {
685
- return e.$$typeof === Qr;
683
+ var Qn = typeof Symbol == "function" && Symbol.for, er = Qn ? Symbol.for("react.element") : 60103;
684
+ function tr(e) {
685
+ return e.$$typeof === er;
686
686
  }
687
- function tn(e) {
687
+ function nr(e) {
688
688
  return Array.isArray(e) ? [] : {};
689
689
  }
690
690
  function he(e, t) {
691
- return t.clone !== !1 && t.isMergeableObject(e) ? Q(tn(e), e, t) : e;
691
+ return t.clone !== !1 && t.isMergeableObject(e) ? Q(nr(e), e, t) : e;
692
692
  }
693
- function rn(e, t, r) {
694
- return e.concat(t).map(function(n) {
695
- return he(n, r);
693
+ function rr(e, t, n) {
694
+ return e.concat(t).map(function(r) {
695
+ return he(r, n);
696
696
  });
697
697
  }
698
- function nn(e, t) {
698
+ function ir(e, t) {
699
699
  if (!t.customMerge)
700
700
  return Q;
701
- var r = t.customMerge(e);
702
- return typeof r == "function" ? r : Q;
701
+ var n = t.customMerge(e);
702
+ return typeof n == "function" ? n : Q;
703
703
  }
704
- function an(e) {
704
+ function ar(e) {
705
705
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
706
706
  return Object.propertyIsEnumerable.call(e, t);
707
707
  }) : [];
708
708
  }
709
709
  function ht(e) {
710
- return Object.keys(e).concat(an(e));
710
+ return Object.keys(e).concat(ar(e));
711
711
  }
712
- function Ft(e, t) {
712
+ function Ut(e, t) {
713
713
  try {
714
714
  return t in e;
715
- } catch (r) {
715
+ } catch (n) {
716
716
  return !1;
717
717
  }
718
718
  }
719
- function sn(e, t) {
720
- return Ft(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
719
+ function sr(e, t) {
720
+ return Ut(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
721
721
  }
722
- function on(e, t, r) {
723
- var n = {};
724
- return r.isMergeableObject(e) && ht(e).forEach(function(i) {
725
- n[i] = he(e[i], r);
722
+ function or(e, t, n) {
723
+ var r = {};
724
+ return n.isMergeableObject(e) && ht(e).forEach(function(i) {
725
+ r[i] = he(e[i], n);
726
726
  }), ht(t).forEach(function(i) {
727
- sn(e, i) || (Ft(e, i) && r.isMergeableObject(t[i]) ? n[i] = nn(i, r)(e[i], t[i], r) : n[i] = he(t[i], r));
728
- }), n;
727
+ sr(e, i) || (Ut(e, i) && n.isMergeableObject(t[i]) ? r[i] = ir(i, n)(e[i], t[i], n) : r[i] = he(t[i], n));
728
+ }), r;
729
729
  }
730
- function Q(e, t, r) {
731
- r = r || {}, r.arrayMerge = r.arrayMerge || rn, r.isMergeableObject = r.isMergeableObject || Jr, r.cloneUnlessOtherwiseSpecified = he;
732
- var n = Array.isArray(t), i = Array.isArray(e), a = n === i;
733
- return a ? n ? r.arrayMerge(e, t, r) : on(e, t, r) : he(t, r);
730
+ function Q(e, t, n) {
731
+ n = n || {}, n.arrayMerge = n.arrayMerge || rr, n.isMergeableObject = n.isMergeableObject || Jn, n.cloneUnlessOtherwiseSpecified = he;
732
+ var r = Array.isArray(t), i = Array.isArray(e), a = r === i;
733
+ return a ? r ? n.arrayMerge(e, t, n) : or(e, t, n) : he(t, n);
734
734
  }
735
- Q.all = function(t, r) {
735
+ Q.all = function(t, n) {
736
736
  if (!Array.isArray(t))
737
737
  throw new Error("first argument should be an array");
738
- return t.reduce(function(n, i) {
739
- return Q(n, i, r);
738
+ return t.reduce(function(r, i) {
739
+ return Q(r, i, n);
740
740
  }, {});
741
741
  };
742
- var ln = Q, un = ln;
743
- const cn = /* @__PURE__ */ qr(un);
742
+ var lr = Q, ur = lr;
743
+ const cr = /* @__PURE__ */ Zn(ur);
744
744
  var Ve = function(e, t) {
745
- return Ve = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
746
- r.__proto__ = n;
747
- } || function(r, n) {
748
- for (var i in n)
749
- Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
745
+ return Ve = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
746
+ n.__proto__ = r;
747
+ } || function(n, r) {
748
+ for (var i in r)
749
+ Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]);
750
750
  }, Ve(e, t);
751
751
  };
752
- function Ce(e, t) {
752
+ function Le(e, t) {
753
753
  if (typeof t != "function" && t !== null)
754
754
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
755
755
  Ve(e, t);
756
- function r() {
756
+ function n() {
757
757
  this.constructor = e;
758
758
  }
759
- e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
760
- }
761
- var L = function() {
762
- return L = Object.assign || function(t) {
763
- for (var r, n = 1, i = arguments.length; n < i; n++) {
764
- r = arguments[n];
765
- for (var a in r)
766
- Object.prototype.hasOwnProperty.call(r, a) && (t[a] = r[a]);
759
+ e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
760
+ }
761
+ var H = function() {
762
+ return H = Object.assign || function(t) {
763
+ for (var n, r = 1, i = arguments.length; r < i; r++) {
764
+ n = arguments[r];
765
+ for (var a in n)
766
+ Object.prototype.hasOwnProperty.call(n, a) && (t[a] = n[a]);
767
767
  }
768
768
  return t;
769
- }, L.apply(this, arguments);
769
+ }, H.apply(this, arguments);
770
770
  };
771
- function hn(e, t) {
772
- var r = {};
773
- for (var n in e)
774
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
771
+ function hr(e, t) {
772
+ var n = {};
773
+ for (var r in e)
774
+ Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
775
775
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
776
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
777
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
778
- return r;
776
+ for (var i = 0, r = Object.getOwnPropertySymbols(e); i < r.length; i++)
777
+ t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
778
+ return n;
779
779
  }
780
- function De(e, t, r) {
781
- if (r || arguments.length === 2)
782
- for (var n = 0, i = t.length, a; n < i; n++)
783
- (a || !(n in t)) && (a || (a = Array.prototype.slice.call(t, 0, n)), a[n] = t[n]);
780
+ function De(e, t, n) {
781
+ if (n || arguments.length === 2)
782
+ for (var r = 0, i = t.length, a; r < i; r++)
783
+ (a || !(r in t)) && (a || (a = Array.prototype.slice.call(t, 0, r)), a[r] = t[r]);
784
784
  return e.concat(a || Array.prototype.slice.call(t));
785
785
  }
786
786
  function Ne(e, t) {
787
- var r = t && t.cache ? t.cache : vn, n = t && t.serializer ? t.serializer : pn, i = t && t.strategy ? t.strategy : mn;
787
+ var n = t && t.cache ? t.cache : yr, r = t && t.serializer ? t.serializer : pr, i = t && t.strategy ? t.strategy : fr;
788
788
  return i(e, {
789
- cache: r,
790
- serializer: n
789
+ cache: n,
790
+ serializer: r
791
791
  });
792
792
  }
793
- function dn(e) {
793
+ function dr(e) {
794
794
  return e == null || typeof e == "number" || typeof e == "boolean";
795
795
  }
796
- function fn(e, t, r, n) {
797
- var i = dn(n) ? n : r(n), a = t.get(i);
798
- return typeof a == "undefined" && (a = e.call(this, n), t.set(i, a)), a;
796
+ function mr(e, t, n, r) {
797
+ var i = dr(r) ? r : n(r), a = t.get(i);
798
+ return typeof a == "undefined" && (a = e.call(this, r), t.set(i, a)), a;
799
799
  }
800
- function zt(e, t, r) {
801
- var n = Array.prototype.slice.call(arguments, 3), i = r(n), a = t.get(i);
802
- return typeof a == "undefined" && (a = e.apply(this, n), t.set(i, a)), a;
800
+ function Ft(e, t, n) {
801
+ var r = Array.prototype.slice.call(arguments, 3), i = n(r), a = t.get(i);
802
+ return typeof a == "undefined" && (a = e.apply(this, r), t.set(i, a)), a;
803
803
  }
804
- function $t(e, t, r, n, i) {
805
- return r.bind(t, e, n, i);
804
+ function Gt(e, t, n, r, i) {
805
+ return n.bind(t, e, r, i);
806
806
  }
807
- function mn(e, t) {
808
- var r = e.length === 1 ? fn : zt;
809
- return $t(e, this, r, t.cache.create(), t.serializer);
807
+ function fr(e, t) {
808
+ var n = e.length === 1 ? mr : Ft;
809
+ return Gt(e, this, n, t.cache.create(), t.serializer);
810
810
  }
811
- function gn(e, t) {
812
- return $t(e, this, zt, t.cache.create(), t.serializer);
811
+ function gr(e, t) {
812
+ return Gt(e, this, Ft, t.cache.create(), t.serializer);
813
813
  }
814
- var pn = function() {
814
+ var pr = function() {
815
815
  return JSON.stringify(arguments);
816
- }, bn = (
816
+ }, br = (
817
817
  /** @class */
818
818
  function() {
819
819
  function e() {
@@ -821,25 +821,25 @@ var pn = function() {
821
821
  }
822
822
  return e.prototype.get = function(t) {
823
823
  return this.cache[t];
824
- }, e.prototype.set = function(t, r) {
825
- this.cache[t] = r;
824
+ }, e.prototype.set = function(t, n) {
825
+ this.cache[t] = n;
826
826
  }, e;
827
827
  }()
828
- ), vn = {
828
+ ), yr = {
829
829
  create: function() {
830
- return new bn();
830
+ return new br();
831
831
  }
832
832
  }, Re = {
833
- variadic: gn
834
- }, Se = function() {
835
- return Se = Object.assign || function(t) {
836
- for (var r, n = 1, i = arguments.length; n < i; n++) {
837
- r = arguments[n];
838
- for (var a in r)
839
- Object.prototype.hasOwnProperty.call(r, a) && (t[a] = r[a]);
833
+ variadic: gr
834
+ }, Ie = function() {
835
+ return Ie = Object.assign || function(t) {
836
+ for (var n, r = 1, i = arguments.length; r < i; r++) {
837
+ n = arguments[r];
838
+ for (var a in n)
839
+ Object.prototype.hasOwnProperty.call(n, a) && (t[a] = n[a]);
840
840
  }
841
841
  return t;
842
- }, Se.apply(this, arguments);
842
+ }, Ie.apply(this, arguments);
843
843
  };
844
844
  var p;
845
845
  (function(e) {
@@ -856,10 +856,10 @@ var ee;
856
856
  function dt(e) {
857
857
  return e.type === _.literal;
858
858
  }
859
- function yn(e) {
859
+ function vr(e) {
860
860
  return e.type === _.argument;
861
861
  }
862
- function Gt(e) {
862
+ function $t(e) {
863
863
  return e.type === _.number;
864
864
  }
865
865
  function jt(e) {
@@ -871,32 +871,32 @@ function Vt(e) {
871
871
  function Wt(e) {
872
872
  return e.type === _.select;
873
873
  }
874
- function Xt(e) {
874
+ function qt(e) {
875
875
  return e.type === _.plural;
876
876
  }
877
- function En(e) {
877
+ function Er(e) {
878
878
  return e.type === _.pound;
879
879
  }
880
- function qt(e) {
880
+ function Xt(e) {
881
881
  return e.type === _.tag;
882
882
  }
883
- function Jt(e) {
883
+ function Zt(e) {
884
884
  return !!(e && typeof e == "object" && e.type === ee.number);
885
885
  }
886
886
  function We(e) {
887
887
  return !!(e && typeof e == "object" && e.type === ee.dateTime);
888
888
  }
889
- var Kt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, _n = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
890
- function xn(e) {
889
+ var Jt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, _r = /(?:[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;
890
+ function xr(e) {
891
891
  var t = {};
892
- return e.replace(_n, function(r) {
893
- var n = r.length;
894
- switch (r[0]) {
892
+ return e.replace(_r, function(n) {
893
+ var r = n.length;
894
+ switch (n[0]) {
895
895
  case "G":
896
- t.era = n === 4 ? "long" : n === 5 ? "narrow" : "short";
896
+ t.era = r === 4 ? "long" : r === 5 ? "narrow" : "short";
897
897
  break;
898
898
  case "y":
899
- t.year = n === 2 ? "2-digit" : "numeric";
899
+ t.year = r === 2 ? "2-digit" : "numeric";
900
900
  break;
901
901
  case "Y":
902
902
  case "u":
@@ -908,30 +908,30 @@ function xn(e) {
908
908
  throw new RangeError("`q/Q` (quarter) patterns are not supported");
909
909
  case "M":
910
910
  case "L":
911
- t.month = ["numeric", "2-digit", "short", "long", "narrow"][n - 1];
911
+ t.month = ["numeric", "2-digit", "short", "long", "narrow"][r - 1];
912
912
  break;
913
913
  case "w":
914
914
  case "W":
915
915
  throw new RangeError("`w/W` (week) patterns are not supported");
916
916
  case "d":
917
- t.day = ["numeric", "2-digit"][n - 1];
917
+ t.day = ["numeric", "2-digit"][r - 1];
918
918
  break;
919
919
  case "D":
920
920
  case "F":
921
921
  case "g":
922
922
  throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");
923
923
  case "E":
924
- t.weekday = n === 4 ? "long" : n === 5 ? "narrow" : "short";
924
+ t.weekday = r === 4 ? "long" : r === 5 ? "narrow" : "short";
925
925
  break;
926
926
  case "e":
927
- if (n < 4)
927
+ if (r < 4)
928
928
  throw new RangeError("`e..eee` (weekday) patterns are not supported");
929
- t.weekday = ["short", "long", "narrow", "short"][n - 4];
929
+ t.weekday = ["short", "long", "narrow", "short"][r - 4];
930
930
  break;
931
931
  case "c":
932
- if (n < 4)
932
+ if (r < 4)
933
933
  throw new RangeError("`c..ccc` (weekday) patterns are not supported");
934
- t.weekday = ["short", "long", "narrow", "short"][n - 4];
934
+ t.weekday = ["short", "long", "narrow", "short"][r - 4];
935
935
  break;
936
936
  case "a":
937
937
  t.hour12 = !0;
@@ -940,32 +940,32 @@ function xn(e) {
940
940
  case "B":
941
941
  throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");
942
942
  case "h":
943
- t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][n - 1];
943
+ t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][r - 1];
944
944
  break;
945
945
  case "H":
946
- t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][n - 1];
946
+ t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][r - 1];
947
947
  break;
948
948
  case "K":
949
- t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][n - 1];
949
+ t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][r - 1];
950
950
  break;
951
951
  case "k":
952
- t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][n - 1];
952
+ t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][r - 1];
953
953
  break;
954
954
  case "j":
955
955
  case "J":
956
956
  case "C":
957
957
  throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");
958
958
  case "m":
959
- t.minute = ["numeric", "2-digit"][n - 1];
959
+ t.minute = ["numeric", "2-digit"][r - 1];
960
960
  break;
961
961
  case "s":
962
- t.second = ["numeric", "2-digit"][n - 1];
962
+ t.second = ["numeric", "2-digit"][r - 1];
963
963
  break;
964
964
  case "S":
965
965
  case "A":
966
966
  throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");
967
967
  case "z":
968
- t.timeZoneName = n < 4 ? "short" : "long";
968
+ t.timeZoneName = r < 4 ? "short" : "long";
969
969
  break;
970
970
  case "Z":
971
971
  case "O":
@@ -980,22 +980,22 @@ function xn(e) {
980
980
  }
981
981
  var x = function() {
982
982
  return x = Object.assign || function(t) {
983
- for (var r, n = 1, i = arguments.length; n < i; n++) {
984
- r = arguments[n];
985
- for (var a in r)
986
- Object.prototype.hasOwnProperty.call(r, a) && (t[a] = r[a]);
983
+ for (var n, r = 1, i = arguments.length; r < i; r++) {
984
+ n = arguments[r];
985
+ for (var a in n)
986
+ Object.prototype.hasOwnProperty.call(n, a) && (t[a] = n[a]);
987
987
  }
988
988
  return t;
989
989
  }, x.apply(this, arguments);
990
990
  };
991
- var Tn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
992
- function kn(e) {
991
+ var kr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
992
+ function Tr(e) {
993
993
  if (e.length === 0)
994
994
  throw new Error("Number skeleton cannot be empty");
995
- for (var t = e.split(Tn).filter(function(d) {
995
+ for (var t = e.split(kr).filter(function(d) {
996
996
  return d.length > 0;
997
- }), r = [], n = 0, i = t; n < i.length; n++) {
998
- var a = i[n], s = a.split("/");
997
+ }), n = [], r = 0, i = t; r < i.length; r++) {
998
+ var a = i[r], s = a.split("/");
999
999
  if (s.length === 0)
1000
1000
  throw new Error("Invalid number skeleton");
1001
1001
  for (var o = s[0], l = s.slice(1), u = 0, c = l; u < c.length; u++) {
@@ -1003,18 +1003,18 @@ function kn(e) {
1003
1003
  if (h.length === 0)
1004
1004
  throw new Error("Invalid number skeleton");
1005
1005
  }
1006
- r.push({ stem: o, options: l });
1006
+ n.push({ stem: o, options: l });
1007
1007
  }
1008
- return r;
1008
+ return n;
1009
1009
  }
1010
- function wn(e) {
1010
+ function wr(e) {
1011
1011
  return e.replace(/^(.*?)-/, "");
1012
1012
  }
1013
- var ft = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Zt = /^(@+)?(\+|#+)?[rs]?$/g, Sn = /(\*)(0+)|(#+)(0+)|(0+)/g, Yt = /^(0+)$/;
1014
- function mt(e) {
1013
+ var mt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Kt = /^(@+)?(\+|#+)?[rs]?$/g, Ir = /(\*)(0+)|(#+)(0+)|(0+)/g, Yt = /^(0+)$/;
1014
+ function ft(e) {
1015
1015
  var t = {};
1016
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Zt, function(r, n, i) {
1017
- 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)), "";
1016
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Kt, function(n, r, i) {
1017
+ return typeof i != "string" ? (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length) : i === "+" ? t.minimumSignificantDigits = r.length : r[0] === "#" ? t.maximumSignificantDigits = r.length : (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length + (typeof i == "string" ? i.length : 0)), "";
1018
1018
  }), t;
1019
1019
  }
1020
1020
  function Qt(e) {
@@ -1057,27 +1057,27 @@ function Qt(e) {
1057
1057
  };
1058
1058
  }
1059
1059
  }
1060
- function An(e) {
1060
+ function Ar(e) {
1061
1061
  var t;
1062
1062
  if (e[0] === "E" && e[1] === "E" ? (t = {
1063
1063
  notation: "engineering"
1064
1064
  }, e = e.slice(2)) : e[0] === "E" && (t = {
1065
1065
  notation: "scientific"
1066
1066
  }, e = e.slice(1)), t) {
1067
- var r = e.slice(0, 2);
1068
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Yt.test(e))
1067
+ var n = e.slice(0, 2);
1068
+ if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Yt.test(e))
1069
1069
  throw new Error("Malformed concise eng/scientific notation");
1070
1070
  t.minimumIntegerDigits = e.length;
1071
1071
  }
1072
1072
  return t;
1073
1073
  }
1074
1074
  function gt(e) {
1075
- var t = {}, r = Qt(e);
1076
- return r || t;
1075
+ var t = {}, n = Qt(e);
1076
+ return n || t;
1077
1077
  }
1078
- function In(e) {
1079
- for (var t = {}, r = 0, n = e; r < n.length; r++) {
1080
- var i = n[r];
1078
+ function Sr(e) {
1079
+ for (var t = {}, n = 0, r = e; n < r.length; n++) {
1080
+ var i = r[n];
1081
1081
  switch (i.stem) {
1082
1082
  case "percent":
1083
1083
  case "%":
@@ -1099,7 +1099,7 @@ function In(e) {
1099
1099
  continue;
1100
1100
  case "measure-unit":
1101
1101
  case "unit":
1102
- t.style = "unit", t.unit = wn(i.options[0]);
1102
+ t.style = "unit", t.unit = wr(i.options[0]);
1103
1103
  continue;
1104
1104
  case "compact-short":
1105
1105
  case "K":
@@ -1161,13 +1161,13 @@ function In(e) {
1161
1161
  case "integer-width":
1162
1162
  if (i.options.length > 1)
1163
1163
  throw new RangeError("integer-width stems only accept a single optional option");
1164
- i.options[0].replace(Sn, function(l, u, c, h, d, m) {
1164
+ i.options[0].replace(Ir, function(l, u, c, h, d, f) {
1165
1165
  if (u)
1166
1166
  t.minimumIntegerDigits = c.length;
1167
1167
  else {
1168
1168
  if (h && d)
1169
1169
  throw new Error("We currently do not support maximum integer digits");
1170
- if (m)
1170
+ if (f)
1171
1171
  throw new Error("We currently do not support exact integer digits");
1172
1172
  }
1173
1173
  return "";
@@ -1178,23 +1178,23 @@ function In(e) {
1178
1178
  t.minimumIntegerDigits = i.stem.length;
1179
1179
  continue;
1180
1180
  }
1181
- if (ft.test(i.stem)) {
1181
+ if (mt.test(i.stem)) {
1182
1182
  if (i.options.length > 1)
1183
1183
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1184
- i.stem.replace(ft, function(l, u, c, h, d, m) {
1185
- 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), "";
1184
+ i.stem.replace(mt, function(l, u, c, h, d, f) {
1185
+ return c === "*" ? t.minimumFractionDigits = u.length : h && h[0] === "#" ? t.maximumFractionDigits = h.length : d && f ? (t.minimumFractionDigits = d.length, t.maximumFractionDigits = d.length + f.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1186
1186
  });
1187
1187
  var a = i.options[0];
1188
- a === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : a && (t = x(x({}, t), mt(a)));
1188
+ a === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : a && (t = x(x({}, t), ft(a)));
1189
1189
  continue;
1190
1190
  }
1191
- if (Zt.test(i.stem)) {
1192
- t = x(x({}, t), mt(i.stem));
1191
+ if (Kt.test(i.stem)) {
1192
+ t = x(x({}, t), ft(i.stem));
1193
1193
  continue;
1194
1194
  }
1195
1195
  var s = Qt(i.stem);
1196
1196
  s && (t = x(x({}, t), s));
1197
- var o = An(i.stem);
1197
+ var o = Ar(i.stem);
1198
1198
  o && (t = x(x({}, t), o));
1199
1199
  }
1200
1200
  return t;
@@ -2614,23 +2614,23 @@ var _e = {
2614
2614
  "h"
2615
2615
  ]
2616
2616
  };
2617
- function Bn(e, t) {
2618
- for (var r = "", n = 0; n < e.length; n++) {
2619
- var i = e.charAt(n);
2617
+ function Br(e, t) {
2618
+ for (var n = "", r = 0; r < e.length; r++) {
2619
+ var i = e.charAt(r);
2620
2620
  if (i === "j") {
2621
- for (var a = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2622
- a++, n++;
2623
- var s = 1 + (a & 1), o = a < 2 ? 1 : 3 + (a >> 1), l = "a", u = Hn(t);
2621
+ for (var a = 0; r + 1 < e.length && e.charAt(r + 1) === i; )
2622
+ a++, r++;
2623
+ var s = 1 + (a & 1), o = a < 2 ? 1 : 3 + (a >> 1), l = "a", u = Cr(t);
2624
2624
  for ((u == "H" || u == "k") && (o = 0); o-- > 0; )
2625
- r += l;
2625
+ n += l;
2626
2626
  for (; s-- > 0; )
2627
- r = u + r;
2627
+ n = u + n;
2628
2628
  } else
2629
- i === "J" ? r += "H" : r += i;
2629
+ i === "J" ? n += "H" : n += i;
2630
2630
  }
2631
- return r;
2631
+ return n;
2632
2632
  }
2633
- function Hn(e) {
2633
+ function Cr(e) {
2634
2634
  var t = e.hourCycle;
2635
2635
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2636
2636
  e.hourCycles && // @ts-ignore
@@ -2647,73 +2647,73 @@ function Hn(e) {
2647
2647
  default:
2648
2648
  throw new Error("Invalid hourCycle");
2649
2649
  }
2650
- var r = e.language, n;
2651
- r !== "root" && (n = e.maximize().region);
2652
- var i = _e[n || ""] || _e[r || ""] || _e["".concat(r, "-001")] || _e["001"];
2650
+ var n = e.language, r;
2651
+ n !== "root" && (r = e.maximize().region);
2652
+ var i = _e[r || ""] || _e[n || ""] || _e["".concat(n, "-001")] || _e["001"];
2653
2653
  return i[0];
2654
2654
  }
2655
- var Ue, Cn = new RegExp("^".concat(Kt.source, "*")), Ln = new RegExp("".concat(Kt.source, "*$"));
2656
- function v(e, t) {
2655
+ var ze, Lr = new RegExp("^".concat(Jt.source, "*")), Hr = new RegExp("".concat(Jt.source, "*$"));
2656
+ function y(e, t) {
2657
2657
  return { start: e, end: t };
2658
2658
  }
2659
- var Pn = !!String.prototype.startsWith && "_a".startsWith("a", 1), On = !!String.fromCodePoint, Mn = !!Object.fromEntries, Dn = !!String.prototype.codePointAt, Nn = !!String.prototype.trimStart, Rn = !!String.prototype.trimEnd, Un = !!Number.isSafeInteger, Fn = Un ? Number.isSafeInteger : function(e) {
2659
+ var Mr = !!String.prototype.startsWith && "_a".startsWith("a", 1), Pr = !!String.fromCodePoint, Or = !!Object.fromEntries, Dr = !!String.prototype.codePointAt, Nr = !!String.prototype.trimStart, Rr = !!String.prototype.trimEnd, zr = !!Number.isSafeInteger, Ur = zr ? Number.isSafeInteger : function(e) {
2660
2660
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2661
- }, Xe = !0;
2661
+ }, qe = !0;
2662
2662
  try {
2663
- var zn = tr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2664
- Xe = ((Ue = zn.exec("a")) === null || Ue === void 0 ? void 0 : Ue[0]) === "a";
2663
+ var Fr = tn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2664
+ qe = ((ze = Fr.exec("a")) === null || ze === void 0 ? void 0 : ze[0]) === "a";
2665
2665
  } catch (e) {
2666
- Xe = !1;
2666
+ qe = !1;
2667
2667
  }
2668
- var pt = Pn ? (
2668
+ var pt = Mr ? (
2669
2669
  // Native
2670
- function(t, r, n) {
2671
- return t.startsWith(r, n);
2670
+ function(t, n, r) {
2671
+ return t.startsWith(n, r);
2672
2672
  }
2673
2673
  ) : (
2674
2674
  // For IE11
2675
- function(t, r, n) {
2676
- return t.slice(n, n + r.length) === r;
2675
+ function(t, n, r) {
2676
+ return t.slice(r, r + n.length) === n;
2677
2677
  }
2678
- ), qe = On ? String.fromCodePoint : (
2678
+ ), Xe = Pr ? String.fromCodePoint : (
2679
2679
  // IE11
2680
2680
  function() {
2681
- for (var t = [], r = 0; r < arguments.length; r++)
2682
- t[r] = arguments[r];
2683
- for (var n = "", i = t.length, a = 0, s; i > a; ) {
2681
+ for (var t = [], n = 0; n < arguments.length; n++)
2682
+ t[n] = arguments[n];
2683
+ for (var r = "", i = t.length, a = 0, s; i > a; ) {
2684
2684
  if (s = t[a++], s > 1114111)
2685
2685
  throw RangeError(s + " is not a valid code point");
2686
- n += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
2686
+ r += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
2687
2687
  }
2688
- return n;
2688
+ return r;
2689
2689
  }
2690
2690
  ), bt = (
2691
2691
  // native
2692
- Mn ? Object.fromEntries : (
2692
+ Or ? Object.fromEntries : (
2693
2693
  // Ponyfill
2694
2694
  function(t) {
2695
- for (var r = {}, n = 0, i = t; n < i.length; n++) {
2696
- var a = i[n], s = a[0], o = a[1];
2697
- r[s] = o;
2695
+ for (var n = {}, r = 0, i = t; r < i.length; r++) {
2696
+ var a = i[r], s = a[0], o = a[1];
2697
+ n[s] = o;
2698
2698
  }
2699
- return r;
2699
+ return n;
2700
2700
  }
2701
2701
  )
2702
- ), er = Dn ? (
2702
+ ), en = Dr ? (
2703
2703
  // Native
2704
- function(t, r) {
2705
- return t.codePointAt(r);
2704
+ function(t, n) {
2705
+ return t.codePointAt(n);
2706
2706
  }
2707
2707
  ) : (
2708
2708
  // IE 11
2709
- function(t, r) {
2710
- var n = t.length;
2711
- if (!(r < 0 || r >= n)) {
2712
- var i = t.charCodeAt(r), a;
2713
- return i < 55296 || i > 56319 || r + 1 === n || (a = t.charCodeAt(r + 1)) < 56320 || a > 57343 ? i : (i - 55296 << 10) + (a - 56320) + 65536;
2709
+ function(t, n) {
2710
+ var r = t.length;
2711
+ if (!(n < 0 || n >= r)) {
2712
+ var i = t.charCodeAt(n), a;
2713
+ return i < 55296 || i > 56319 || n + 1 === r || (a = t.charCodeAt(n + 1)) < 56320 || a > 57343 ? i : (i - 55296 << 10) + (a - 56320) + 65536;
2714
2714
  }
2715
2715
  }
2716
- ), $n = Nn ? (
2716
+ ), Gr = Nr ? (
2717
2717
  // Native
2718
2718
  function(t) {
2719
2719
  return t.trimStart();
@@ -2721,9 +2721,9 @@ var pt = Pn ? (
2721
2721
  ) : (
2722
2722
  // Ponyfill
2723
2723
  function(t) {
2724
- return t.replace(Cn, "");
2724
+ return t.replace(Lr, "");
2725
2725
  }
2726
- ), Gn = Rn ? (
2726
+ ), $r = Rr ? (
2727
2727
  // Native
2728
2728
  function(t) {
2729
2729
  return t.trimEnd();
@@ -2731,69 +2731,69 @@ var pt = Pn ? (
2731
2731
  ) : (
2732
2732
  // Ponyfill
2733
2733
  function(t) {
2734
- return t.replace(Ln, "");
2734
+ return t.replace(Hr, "");
2735
2735
  }
2736
2736
  );
2737
- function tr(e, t) {
2737
+ function tn(e, t) {
2738
2738
  return new RegExp(e, t);
2739
2739
  }
2740
- var Je;
2741
- if (Xe) {
2742
- var vt = tr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2743
- Je = function(t, r) {
2744
- var n;
2745
- vt.lastIndex = r;
2746
- var i = vt.exec(t);
2747
- return (n = i[1]) !== null && n !== void 0 ? n : "";
2740
+ var Ze;
2741
+ if (qe) {
2742
+ var yt = tn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2743
+ Ze = function(t, n) {
2744
+ var r;
2745
+ yt.lastIndex = n;
2746
+ var i = yt.exec(t);
2747
+ return (r = i[1]) !== null && r !== void 0 ? r : "";
2748
2748
  };
2749
2749
  } else
2750
- Je = function(t, r) {
2751
- for (var n = []; ; ) {
2752
- var i = er(t, r);
2753
- if (i === void 0 || rr(i) || Xn(i))
2750
+ Ze = function(t, n) {
2751
+ for (var r = []; ; ) {
2752
+ var i = en(t, n);
2753
+ if (i === void 0 || nn(i) || qr(i))
2754
2754
  break;
2755
- n.push(i), r += i >= 65536 ? 2 : 1;
2755
+ r.push(i), n += i >= 65536 ? 2 : 1;
2756
2756
  }
2757
- return qe.apply(void 0, n);
2757
+ return Xe.apply(void 0, r);
2758
2758
  };
2759
- var jn = (
2759
+ var jr = (
2760
2760
  /** @class */
2761
2761
  function() {
2762
- function e(t, r) {
2763
- r === void 0 && (r = {}), this.message = t, this.position = { offset: 0, line: 1, column: 1 }, this.ignoreTag = !!r.ignoreTag, this.locale = r.locale, this.requiresOtherClause = !!r.requiresOtherClause, this.shouldParseSkeletons = !!r.shouldParseSkeletons;
2762
+ function e(t, n) {
2763
+ n === void 0 && (n = {}), this.message = t, this.position = { offset: 0, line: 1, column: 1 }, this.ignoreTag = !!n.ignoreTag, this.locale = n.locale, this.requiresOtherClause = !!n.requiresOtherClause, this.shouldParseSkeletons = !!n.shouldParseSkeletons;
2764
2764
  }
2765
2765
  return e.prototype.parse = function() {
2766
2766
  if (this.offset() !== 0)
2767
2767
  throw Error("parser can only be used once");
2768
2768
  return this.parseMessage(0, "", !1);
2769
- }, e.prototype.parseMessage = function(t, r, n) {
2769
+ }, e.prototype.parseMessage = function(t, n, r) {
2770
2770
  for (var i = []; !this.isEOF(); ) {
2771
2771
  var a = this.char();
2772
2772
  if (a === 123) {
2773
- var s = this.parseArgument(t, n);
2773
+ var s = this.parseArgument(t, r);
2774
2774
  if (s.err)
2775
2775
  return s;
2776
2776
  i.push(s.val);
2777
2777
  } else {
2778
2778
  if (a === 125 && t > 0)
2779
2779
  break;
2780
- if (a === 35 && (r === "plural" || r === "selectordinal")) {
2780
+ if (a === 35 && (n === "plural" || n === "selectordinal")) {
2781
2781
  var o = this.clonePosition();
2782
2782
  this.bump(), i.push({
2783
2783
  type: _.pound,
2784
- location: v(o, this.clonePosition())
2784
+ location: y(o, this.clonePosition())
2785
2785
  });
2786
2786
  } else if (a === 60 && !this.ignoreTag && this.peek() === 47) {
2787
- if (n)
2787
+ if (r)
2788
2788
  break;
2789
- return this.error(p.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
2790
- } else if (a === 60 && !this.ignoreTag && Ke(this.peek() || 0)) {
2791
- var s = this.parseTag(t, r);
2789
+ return this.error(p.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
2790
+ } else if (a === 60 && !this.ignoreTag && Je(this.peek() || 0)) {
2791
+ var s = this.parseTag(t, n);
2792
2792
  if (s.err)
2793
2793
  return s;
2794
2794
  i.push(s.val);
2795
2795
  } else {
2796
- var s = this.parseLiteral(t, r);
2796
+ var s = this.parseLiteral(t, n);
2797
2797
  if (s.err)
2798
2798
  return s;
2799
2799
  i.push(s.val);
@@ -2801,8 +2801,8 @@ var jn = (
2801
2801
  }
2802
2802
  }
2803
2803
  return { val: i, err: null };
2804
- }, e.prototype.parseTag = function(t, r) {
2805
- var n = this.clonePosition();
2804
+ }, e.prototype.parseTag = function(t, n) {
2805
+ var r = this.clonePosition();
2806
2806
  this.bump();
2807
2807
  var i = this.parseTagName();
2808
2808
  if (this.bumpSpace(), this.bumpIf("/>"))
@@ -2810,45 +2810,45 @@ var jn = (
2810
2810
  val: {
2811
2811
  type: _.literal,
2812
2812
  value: "<".concat(i, "/>"),
2813
- location: v(n, this.clonePosition())
2813
+ location: y(r, this.clonePosition())
2814
2814
  },
2815
2815
  err: null
2816
2816
  };
2817
2817
  if (this.bumpIf(">")) {
2818
- var a = this.parseMessage(t + 1, r, !0);
2818
+ var a = this.parseMessage(t + 1, n, !0);
2819
2819
  if (a.err)
2820
2820
  return a;
2821
2821
  var s = a.val, o = this.clonePosition();
2822
2822
  if (this.bumpIf("</")) {
2823
- if (this.isEOF() || !Ke(this.char()))
2824
- return this.error(p.INVALID_TAG, v(o, this.clonePosition()));
2823
+ if (this.isEOF() || !Je(this.char()))
2824
+ return this.error(p.INVALID_TAG, y(o, this.clonePosition()));
2825
2825
  var l = this.clonePosition(), u = this.parseTagName();
2826
- return i !== u ? this.error(p.UNMATCHED_CLOSING_TAG, v(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2826
+ return i !== u ? this.error(p.UNMATCHED_CLOSING_TAG, y(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2827
2827
  val: {
2828
2828
  type: _.tag,
2829
2829
  value: i,
2830
2830
  children: s,
2831
- location: v(n, this.clonePosition())
2831
+ location: y(r, this.clonePosition())
2832
2832
  },
2833
2833
  err: null
2834
- } : this.error(p.INVALID_TAG, v(o, this.clonePosition())));
2834
+ } : this.error(p.INVALID_TAG, y(o, this.clonePosition())));
2835
2835
  } else
2836
- return this.error(p.UNCLOSED_TAG, v(n, this.clonePosition()));
2836
+ return this.error(p.UNCLOSED_TAG, y(r, this.clonePosition()));
2837
2837
  } else
2838
- return this.error(p.INVALID_TAG, v(n, this.clonePosition()));
2838
+ return this.error(p.INVALID_TAG, y(r, this.clonePosition()));
2839
2839
  }, e.prototype.parseTagName = function() {
2840
2840
  var t = this.offset();
2841
- for (this.bump(); !this.isEOF() && Wn(this.char()); )
2841
+ for (this.bump(); !this.isEOF() && Wr(this.char()); )
2842
2842
  this.bump();
2843
2843
  return this.message.slice(t, this.offset());
2844
- }, e.prototype.parseLiteral = function(t, r) {
2845
- for (var n = this.clonePosition(), i = ""; ; ) {
2846
- var a = this.tryParseQuote(r);
2844
+ }, e.prototype.parseLiteral = function(t, n) {
2845
+ for (var r = this.clonePosition(), i = ""; ; ) {
2846
+ var a = this.tryParseQuote(n);
2847
2847
  if (a) {
2848
2848
  i += a;
2849
2849
  continue;
2850
2850
  }
2851
- var s = this.tryParseUnquoted(t, r);
2851
+ var s = this.tryParseUnquoted(t, n);
2852
2852
  if (s) {
2853
2853
  i += s;
2854
2854
  continue;
@@ -2860,14 +2860,14 @@ var jn = (
2860
2860
  }
2861
2861
  break;
2862
2862
  }
2863
- var l = v(n, this.clonePosition());
2863
+ var l = y(r, this.clonePosition());
2864
2864
  return {
2865
2865
  val: { type: _.literal, value: i, location: l },
2866
2866
  err: null
2867
2867
  };
2868
2868
  }, e.prototype.tryParseLeftAngleBracket = function() {
2869
2869
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2870
- !Vn(this.peek() || 0)) ? (this.bump(), "<") : null;
2870
+ !Vr(this.peek() || 0)) ? (this.bump(), "<") : null;
2871
2871
  }, e.prototype.tryParseQuote = function(t) {
2872
2872
  if (this.isEOF() || this.char() !== 39)
2873
2873
  return null;
@@ -2887,37 +2887,37 @@ var jn = (
2887
2887
  return null;
2888
2888
  }
2889
2889
  this.bump();
2890
- var r = [this.char()];
2890
+ var n = [this.char()];
2891
2891
  for (this.bump(); !this.isEOF(); ) {
2892
- var n = this.char();
2893
- if (n === 39)
2892
+ var r = this.char();
2893
+ if (r === 39)
2894
2894
  if (this.peek() === 39)
2895
- r.push(39), this.bump();
2895
+ n.push(39), this.bump();
2896
2896
  else {
2897
2897
  this.bump();
2898
2898
  break;
2899
2899
  }
2900
2900
  else
2901
- r.push(n);
2901
+ n.push(r);
2902
2902
  this.bump();
2903
2903
  }
2904
- return qe.apply(void 0, r);
2905
- }, e.prototype.tryParseUnquoted = function(t, r) {
2904
+ return Xe.apply(void 0, n);
2905
+ }, e.prototype.tryParseUnquoted = function(t, n) {
2906
2906
  if (this.isEOF())
2907
2907
  return null;
2908
- var n = this.char();
2909
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), qe(n));
2910
- }, e.prototype.parseArgument = function(t, r) {
2911
- var n = this.clonePosition();
2908
+ var r = this.char();
2909
+ return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), Xe(r));
2910
+ }, e.prototype.parseArgument = function(t, n) {
2911
+ var r = this.clonePosition();
2912
2912
  if (this.bump(), this.bumpSpace(), this.isEOF())
2913
- return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
2913
+ return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, y(r, this.clonePosition()));
2914
2914
  if (this.char() === 125)
2915
- return this.bump(), this.error(p.EMPTY_ARGUMENT, v(n, this.clonePosition()));
2915
+ return this.bump(), this.error(p.EMPTY_ARGUMENT, y(r, this.clonePosition()));
2916
2916
  var i = this.parseIdentifierIfPossible().value;
2917
2917
  if (!i)
2918
- return this.error(p.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
2918
+ return this.error(p.MALFORMED_ARGUMENT, y(r, this.clonePosition()));
2919
2919
  if (this.bumpSpace(), this.isEOF())
2920
- return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
2920
+ return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, y(r, this.clonePosition()));
2921
2921
  switch (this.char()) {
2922
2922
  case 125:
2923
2923
  return this.bump(), {
@@ -2925,25 +2925,25 @@ var jn = (
2925
2925
  type: _.argument,
2926
2926
  // value does not include the opening and closing braces.
2927
2927
  value: i,
2928
- location: v(n, this.clonePosition())
2928
+ location: y(r, this.clonePosition())
2929
2929
  },
2930
2930
  err: null
2931
2931
  };
2932
2932
  case 44:
2933
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2933
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, y(r, this.clonePosition())) : this.parseArgumentOptions(t, n, i, r);
2934
2934
  default:
2935
- return this.error(p.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
2935
+ return this.error(p.MALFORMED_ARGUMENT, y(r, this.clonePosition()));
2936
2936
  }
2937
2937
  }, e.prototype.parseIdentifierIfPossible = function() {
2938
- var t = this.clonePosition(), r = this.offset(), n = Je(this.message, r), i = r + n.length;
2938
+ var t = this.clonePosition(), n = this.offset(), r = Ze(this.message, n), i = n + r.length;
2939
2939
  this.bumpTo(i);
2940
- var a = this.clonePosition(), s = v(t, a);
2941
- return { value: n, location: s };
2942
- }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
2940
+ var a = this.clonePosition(), s = y(t, a);
2941
+ return { value: r, location: s };
2942
+ }, e.prototype.parseArgumentOptions = function(t, n, r, i) {
2943
2943
  var a, s = this.clonePosition(), o = this.parseIdentifierIfPossible().value, l = this.clonePosition();
2944
2944
  switch (o) {
2945
2945
  case "":
2946
- return this.error(p.EXPECT_ARGUMENT_TYPE, v(s, l));
2946
+ return this.error(p.EXPECT_ARGUMENT_TYPE, y(s, l));
2947
2947
  case "number":
2948
2948
  case "date":
2949
2949
  case "time": {
@@ -2954,37 +2954,37 @@ var jn = (
2954
2954
  var c = this.clonePosition(), h = this.parseSimpleArgStyleIfPossible();
2955
2955
  if (h.err)
2956
2956
  return h;
2957
- var d = Gn(h.val);
2957
+ var d = $r(h.val);
2958
2958
  if (d.length === 0)
2959
- return this.error(p.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
2960
- var m = v(c, this.clonePosition());
2961
- u = { style: d, styleLocation: m };
2959
+ return this.error(p.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
2960
+ var f = y(c, this.clonePosition());
2961
+ u = { style: d, styleLocation: f };
2962
2962
  }
2963
2963
  var g = this.tryParseArgumentClose(i);
2964
2964
  if (g.err)
2965
2965
  return g;
2966
- var T = v(i, this.clonePosition());
2966
+ var k = y(i, this.clonePosition());
2967
2967
  if (u && pt(u == null ? void 0 : u.style, "::", 0)) {
2968
- var E = $n(u.style.slice(2));
2968
+ var E = Gr(u.style.slice(2));
2969
2969
  if (o === "number") {
2970
2970
  var h = this.parseNumberSkeletonFromString(E, u.styleLocation);
2971
2971
  return h.err ? h : {
2972
- val: { type: _.number, value: n, location: T, style: h.val },
2972
+ val: { type: _.number, value: r, location: k, style: h.val },
2973
2973
  err: null
2974
2974
  };
2975
2975
  } else {
2976
2976
  if (E.length === 0)
2977
- return this.error(p.EXPECT_DATE_TIME_SKELETON, T);
2978
- var f = E;
2979
- this.locale && (f = Bn(E, this.locale));
2977
+ return this.error(p.EXPECT_DATE_TIME_SKELETON, k);
2978
+ var m = E;
2979
+ this.locale && (m = Br(E, this.locale));
2980
2980
  var d = {
2981
2981
  type: ee.dateTime,
2982
- pattern: f,
2982
+ pattern: m,
2983
2983
  location: u.styleLocation,
2984
- parsedOptions: this.shouldParseSkeletons ? xn(f) : {}
2985
- }, y = o === "date" ? _.date : _.time;
2984
+ parsedOptions: this.shouldParseSkeletons ? xr(m) : {}
2985
+ }, v = o === "date" ? _.date : _.time;
2986
2986
  return {
2987
- val: { type: y, value: n, location: T, style: d },
2987
+ val: { type: v, value: r, location: k, style: d },
2988
2988
  err: null
2989
2989
  };
2990
2990
  }
@@ -2992,8 +2992,8 @@ var jn = (
2992
2992
  return {
2993
2993
  val: {
2994
2994
  type: o === "number" ? _.number : o === "date" ? _.date : _.time,
2995
- value: n,
2996
- location: T,
2995
+ value: r,
2996
+ location: k,
2997
2997
  style: (a = u == null ? void 0 : u.style) !== null && a !== void 0 ? a : null
2998
2998
  },
2999
2999
  err: null
@@ -3004,39 +3004,39 @@ var jn = (
3004
3004
  case "select": {
3005
3005
  var w = this.clonePosition();
3006
3006
  if (this.bumpSpace(), !this.bumpIf(","))
3007
- return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, v(w, Se({}, w)));
3007
+ return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, y(w, Ie({}, w)));
3008
3008
  this.bumpSpace();
3009
- var F = this.parseIdentifierIfPossible(), P = 0;
3010
- if (o !== "select" && F.value === "offset") {
3009
+ var U = this.parseIdentifierIfPossible(), M = 0;
3010
+ if (o !== "select" && U.value === "offset") {
3011
3011
  if (!this.bumpIf(":"))
3012
- return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
3012
+ return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
3013
3013
  this.bumpSpace();
3014
3014
  var h = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3015
3015
  if (h.err)
3016
3016
  return h;
3017
- this.bumpSpace(), F = this.parseIdentifierIfPossible(), P = h.val;
3017
+ this.bumpSpace(), U = this.parseIdentifierIfPossible(), M = h.val;
3018
3018
  }
3019
- var G = this.tryParsePluralOrSelectOptions(t, o, r, F);
3020
- if (G.err)
3021
- return G;
3019
+ var $ = this.tryParsePluralOrSelectOptions(t, o, n, U);
3020
+ if ($.err)
3021
+ return $;
3022
3022
  var g = this.tryParseArgumentClose(i);
3023
3023
  if (g.err)
3024
3024
  return g;
3025
- var se = v(i, this.clonePosition());
3025
+ var se = y(i, this.clonePosition());
3026
3026
  return o === "select" ? {
3027
3027
  val: {
3028
3028
  type: _.select,
3029
- value: n,
3030
- options: bt(G.val),
3029
+ value: r,
3030
+ options: bt($.val),
3031
3031
  location: se
3032
3032
  },
3033
3033
  err: null
3034
3034
  } : {
3035
3035
  val: {
3036
3036
  type: _.plural,
3037
- value: n,
3038
- options: bt(G.val),
3039
- offset: P,
3037
+ value: r,
3038
+ options: bt($.val),
3039
+ offset: M,
3040
3040
  pluralType: o === "plural" ? "cardinal" : "ordinal",
3041
3041
  location: se
3042
3042
  },
@@ -3044,19 +3044,19 @@ var jn = (
3044
3044
  };
3045
3045
  }
3046
3046
  default:
3047
- return this.error(p.INVALID_ARGUMENT_TYPE, v(s, l));
3047
+ return this.error(p.INVALID_ARGUMENT_TYPE, y(s, l));
3048
3048
  }
3049
3049
  }, e.prototype.tryParseArgumentClose = function(t) {
3050
- return this.isEOF() || this.char() !== 125 ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, v(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3050
+ return this.isEOF() || this.char() !== 125 ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, y(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3051
3051
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3052
- for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3053
- var n = this.char();
3054
- switch (n) {
3052
+ for (var t = 0, n = this.clonePosition(); !this.isEOF(); ) {
3053
+ var r = this.char();
3054
+ switch (r) {
3055
3055
  case 39: {
3056
3056
  this.bump();
3057
3057
  var i = this.clonePosition();
3058
3058
  if (!this.bumpUntil("'"))
3059
- return this.error(p.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, v(i, this.clonePosition()));
3059
+ return this.error(p.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, y(i, this.clonePosition()));
3060
3060
  this.bump();
3061
3061
  break;
3062
3062
  }
@@ -3069,7 +3069,7 @@ var jn = (
3069
3069
  t -= 1;
3070
3070
  else
3071
3071
  return {
3072
- val: this.message.slice(r.offset, this.offset()),
3072
+ val: this.message.slice(n.offset, this.offset()),
3073
3073
  err: null
3074
3074
  };
3075
3075
  break;
@@ -3080,61 +3080,61 @@ var jn = (
3080
3080
  }
3081
3081
  }
3082
3082
  return {
3083
- val: this.message.slice(r.offset, this.offset()),
3083
+ val: this.message.slice(n.offset, this.offset()),
3084
3084
  err: null
3085
3085
  };
3086
- }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3087
- var n = [];
3086
+ }, e.prototype.parseNumberSkeletonFromString = function(t, n) {
3087
+ var r = [];
3088
3088
  try {
3089
- n = kn(t);
3089
+ r = Tr(t);
3090
3090
  } catch (i) {
3091
- return this.error(p.INVALID_NUMBER_SKELETON, r);
3091
+ return this.error(p.INVALID_NUMBER_SKELETON, n);
3092
3092
  }
3093
3093
  return {
3094
3094
  val: {
3095
3095
  type: ee.number,
3096
- tokens: n,
3097
- location: r,
3098
- parsedOptions: this.shouldParseSkeletons ? In(n) : {}
3096
+ tokens: r,
3097
+ location: n,
3098
+ parsedOptions: this.shouldParseSkeletons ? Sr(r) : {}
3099
3099
  },
3100
3100
  err: null
3101
3101
  };
3102
- }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3102
+ }, e.prototype.tryParsePluralOrSelectOptions = function(t, n, r, i) {
3103
3103
  for (var a, s = !1, o = [], l = /* @__PURE__ */ new Set(), u = i.value, c = i.location; ; ) {
3104
3104
  if (u.length === 0) {
3105
3105
  var h = this.clonePosition();
3106
- if (r !== "select" && this.bumpIf("=")) {
3106
+ if (n !== "select" && this.bumpIf("=")) {
3107
3107
  var d = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_SELECTOR, p.INVALID_PLURAL_ARGUMENT_SELECTOR);
3108
3108
  if (d.err)
3109
3109
  return d;
3110
- c = v(h, this.clonePosition()), u = this.message.slice(h.offset, this.offset());
3110
+ c = y(h, this.clonePosition()), u = this.message.slice(h.offset, this.offset());
3111
3111
  } else
3112
3112
  break;
3113
3113
  }
3114
3114
  if (l.has(u))
3115
- return this.error(r === "select" ? p.DUPLICATE_SELECT_ARGUMENT_SELECTOR : p.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
3115
+ return this.error(n === "select" ? p.DUPLICATE_SELECT_ARGUMENT_SELECTOR : p.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
3116
3116
  u === "other" && (s = !0), this.bumpSpace();
3117
- var m = this.clonePosition();
3117
+ var f = this.clonePosition();
3118
3118
  if (!this.bumpIf("{"))
3119
- return this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
3120
- var g = this.parseMessage(t + 1, r, n);
3119
+ return this.error(n === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, y(this.clonePosition(), this.clonePosition()));
3120
+ var g = this.parseMessage(t + 1, n, r);
3121
3121
  if (g.err)
3122
3122
  return g;
3123
- var T = this.tryParseArgumentClose(m);
3124
- if (T.err)
3125
- return T;
3123
+ var k = this.tryParseArgumentClose(f);
3124
+ if (k.err)
3125
+ return k;
3126
3126
  o.push([
3127
3127
  u,
3128
3128
  {
3129
3129
  value: g.val,
3130
- location: v(m, this.clonePosition())
3130
+ location: y(f, this.clonePosition())
3131
3131
  }
3132
3132
  ]), l.add(u), this.bumpSpace(), a = this.parseIdentifierIfPossible(), u = a.value, c = a.location;
3133
3133
  }
3134
- 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 };
3135
- }, e.prototype.tryParseDecimalInteger = function(t, r) {
3136
- var n = 1, i = this.clonePosition();
3137
- this.bumpIf("+") || this.bumpIf("-") && (n = -1);
3134
+ return o.length === 0 ? this.error(n === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR : p.EXPECT_PLURAL_ARGUMENT_SELECTOR, y(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(p.MISSING_OTHER_CLAUSE, y(this.clonePosition(), this.clonePosition())) : { val: o, err: null };
3135
+ }, e.prototype.tryParseDecimalInteger = function(t, n) {
3136
+ var r = 1, i = this.clonePosition();
3137
+ this.bumpIf("+") || this.bumpIf("-") && (r = -1);
3138
3138
  for (var a = !1, s = 0; !this.isEOF(); ) {
3139
3139
  var o = this.char();
3140
3140
  if (o >= 48 && o <= 57)
@@ -3142,8 +3142,8 @@ var jn = (
3142
3142
  else
3143
3143
  break;
3144
3144
  }
3145
- var l = v(i, this.clonePosition());
3146
- return a ? (s *= n, Fn(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3145
+ var l = y(i, this.clonePosition());
3146
+ return a ? (s *= r, Ur(s) ? { val: s, err: null } : this.error(n, l)) : this.error(t, l);
3147
3147
  }, e.prototype.offset = function() {
3148
3148
  return this.position.offset;
3149
3149
  }, e.prototype.isEOF = function() {
@@ -3158,17 +3158,17 @@ var jn = (
3158
3158
  var t = this.position.offset;
3159
3159
  if (t >= this.message.length)
3160
3160
  throw Error("out of bound");
3161
- var r = er(this.message, t);
3162
- if (r === void 0)
3161
+ var n = en(this.message, t);
3162
+ if (n === void 0)
3163
3163
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3164
- return r;
3165
- }, e.prototype.error = function(t, r) {
3164
+ return n;
3165
+ }, e.prototype.error = function(t, n) {
3166
3166
  return {
3167
3167
  val: null,
3168
3168
  err: {
3169
3169
  kind: t,
3170
3170
  message: this.message,
3171
- location: r
3171
+ location: n
3172
3172
  }
3173
3173
  };
3174
3174
  }, e.prototype.bump = function() {
@@ -3178,131 +3178,131 @@ var jn = (
3178
3178
  }
3179
3179
  }, e.prototype.bumpIf = function(t) {
3180
3180
  if (pt(this.message, t, this.offset())) {
3181
- for (var r = 0; r < t.length; r++)
3181
+ for (var n = 0; n < t.length; n++)
3182
3182
  this.bump();
3183
3183
  return !0;
3184
3184
  }
3185
3185
  return !1;
3186
3186
  }, e.prototype.bumpUntil = function(t) {
3187
- var r = this.offset(), n = this.message.indexOf(t, r);
3188
- return n >= 0 ? (this.bumpTo(n), !0) : (this.bumpTo(this.message.length), !1);
3187
+ var n = this.offset(), r = this.message.indexOf(t, n);
3188
+ return r >= 0 ? (this.bumpTo(r), !0) : (this.bumpTo(this.message.length), !1);
3189
3189
  }, e.prototype.bumpTo = function(t) {
3190
3190
  if (this.offset() > t)
3191
3191
  throw Error("targetOffset ".concat(t, " must be greater than or equal to the current offset ").concat(this.offset()));
3192
3192
  for (t = Math.min(t, this.message.length); ; ) {
3193
- var r = this.offset();
3194
- if (r === t)
3193
+ var n = this.offset();
3194
+ if (n === t)
3195
3195
  break;
3196
- if (r > t)
3196
+ if (n > t)
3197
3197
  throw Error("targetOffset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3198
3198
  if (this.bump(), this.isEOF())
3199
3199
  break;
3200
3200
  }
3201
3201
  }, e.prototype.bumpSpace = function() {
3202
- for (; !this.isEOF() && rr(this.char()); )
3202
+ for (; !this.isEOF() && nn(this.char()); )
3203
3203
  this.bump();
3204
3204
  }, e.prototype.peek = function() {
3205
3205
  if (this.isEOF())
3206
3206
  return null;
3207
- var t = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
3208
- return n != null ? n : null;
3207
+ var t = this.char(), n = this.offset(), r = this.message.charCodeAt(n + (t >= 65536 ? 2 : 1));
3208
+ return r != null ? r : null;
3209
3209
  }, e;
3210
3210
  }()
3211
3211
  );
3212
- function Ke(e) {
3212
+ function Je(e) {
3213
3213
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3214
3214
  }
3215
- function Vn(e) {
3216
- return Ke(e) || e === 47;
3215
+ function Vr(e) {
3216
+ return Je(e) || e === 47;
3217
3217
  }
3218
- function Wn(e) {
3218
+ function Wr(e) {
3219
3219
  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;
3220
3220
  }
3221
- function rr(e) {
3221
+ function nn(e) {
3222
3222
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3223
3223
  }
3224
- function Xn(e) {
3224
+ function qr(e) {
3225
3225
  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;
3226
3226
  }
3227
- function Ze(e) {
3227
+ function Ke(e) {
3228
3228
  e.forEach(function(t) {
3229
- if (delete t.location, Wt(t) || Xt(t))
3230
- for (var r in t.options)
3231
- delete t.options[r].location, Ze(t.options[r].value);
3229
+ if (delete t.location, Wt(t) || qt(t))
3230
+ for (var n in t.options)
3231
+ delete t.options[n].location, Ke(t.options[n].value);
3232
3232
  else
3233
- Gt(t) && Jt(t.style) || (jt(t) || Vt(t)) && We(t.style) ? delete t.style.location : qt(t) && Ze(t.children);
3233
+ $t(t) && Zt(t.style) || (jt(t) || Vt(t)) && We(t.style) ? delete t.style.location : Xt(t) && Ke(t.children);
3234
3234
  });
3235
3235
  }
3236
- function qn(e, t) {
3237
- t === void 0 && (t = {}), t = Se({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3238
- var r = new jn(e, t).parse();
3239
- if (r.err) {
3240
- var n = SyntaxError(p[r.err.kind]);
3241
- throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3236
+ function Xr(e, t) {
3237
+ t === void 0 && (t = {}), t = Ie({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3238
+ var n = new jr(e, t).parse();
3239
+ if (n.err) {
3240
+ var r = SyntaxError(p[n.err.kind]);
3241
+ throw r.location = n.err.location, r.originalMessage = n.err.message, r;
3242
3242
  }
3243
- return t != null && t.captureLocation || Ze(r.val), r.val;
3243
+ return t != null && t.captureLocation || Ke(n.val), n.val;
3244
3244
  }
3245
3245
  var te;
3246
3246
  (function(e) {
3247
3247
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3248
3248
  })(te || (te = {}));
3249
- var Le = (
3249
+ var He = (
3250
3250
  /** @class */
3251
3251
  function(e) {
3252
- Ce(t, e);
3253
- function t(r, n, i) {
3254
- var a = e.call(this, r) || this;
3255
- return a.code = n, a.originalMessage = i, a;
3252
+ Le(t, e);
3253
+ function t(n, r, i) {
3254
+ var a = e.call(this, n) || this;
3255
+ return a.code = r, a.originalMessage = i, a;
3256
3256
  }
3257
3257
  return t.prototype.toString = function() {
3258
3258
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3259
3259
  }, t;
3260
3260
  }(Error)
3261
- ), yt = (
3261
+ ), vt = (
3262
3262
  /** @class */
3263
3263
  function(e) {
3264
- Ce(t, e);
3265
- function t(r, n, i, a) {
3266
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), te.INVALID_VALUE, a) || this;
3264
+ Le(t, e);
3265
+ function t(n, r, i, a) {
3266
+ return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'), te.INVALID_VALUE, a) || this;
3267
3267
  }
3268
3268
  return t;
3269
- }(Le)
3270
- ), Jn = (
3269
+ }(He)
3270
+ ), Zr = (
3271
3271
  /** @class */
3272
3272
  function(e) {
3273
- Ce(t, e);
3274
- function t(r, n, i) {
3275
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), te.INVALID_VALUE, i) || this;
3273
+ Le(t, e);
3274
+ function t(n, r, i) {
3275
+ return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), te.INVALID_VALUE, i) || this;
3276
3276
  }
3277
3277
  return t;
3278
- }(Le)
3279
- ), Kn = (
3278
+ }(He)
3279
+ ), Jr = (
3280
3280
  /** @class */
3281
3281
  function(e) {
3282
- Ce(t, e);
3283
- function t(r, n) {
3284
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), te.MISSING_VALUE, n) || this;
3282
+ Le(t, e);
3283
+ function t(n, r) {
3284
+ return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), te.MISSING_VALUE, r) || this;
3285
3285
  }
3286
3286
  return t;
3287
- }(Le)
3288
- ), S;
3287
+ }(He)
3288
+ ), I;
3289
3289
  (function(e) {
3290
3290
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3291
- })(S || (S = {}));
3292
- function Zn(e) {
3293
- return e.length < 2 ? e : e.reduce(function(t, r) {
3294
- var n = t[t.length - 1];
3295
- return !n || n.type !== S.literal || r.type !== S.literal ? t.push(r) : n.value += r.value, t;
3291
+ })(I || (I = {}));
3292
+ function Kr(e) {
3293
+ return e.length < 2 ? e : e.reduce(function(t, n) {
3294
+ var r = t[t.length - 1];
3295
+ return !r || r.type !== I.literal || n.type !== I.literal ? t.push(n) : r.value += n.value, t;
3296
3296
  }, []);
3297
3297
  }
3298
- function Yn(e) {
3298
+ function Yr(e) {
3299
3299
  return typeof e == "function";
3300
3300
  }
3301
- function ke(e, t, r, n, i, a, s) {
3301
+ function Te(e, t, n, r, i, a, s) {
3302
3302
  if (e.length === 1 && dt(e[0]))
3303
3303
  return [
3304
3304
  {
3305
- type: S.literal,
3305
+ type: I.literal,
3306
3306
  value: e[0].value
3307
3307
  }
3308
3308
  ];
@@ -3310,111 +3310,111 @@ function ke(e, t, r, n, i, a, s) {
3310
3310
  var c = u[l];
3311
3311
  if (dt(c)) {
3312
3312
  o.push({
3313
- type: S.literal,
3313
+ type: I.literal,
3314
3314
  value: c.value
3315
3315
  });
3316
3316
  continue;
3317
3317
  }
3318
- if (En(c)) {
3318
+ if (Er(c)) {
3319
3319
  typeof a == "number" && o.push({
3320
- type: S.literal,
3321
- value: r.getNumberFormat(t).format(a)
3320
+ type: I.literal,
3321
+ value: n.getNumberFormat(t).format(a)
3322
3322
  });
3323
3323
  continue;
3324
3324
  }
3325
3325
  var h = c.value;
3326
3326
  if (!(i && h in i))
3327
- throw new Kn(h, s);
3327
+ throw new Jr(h, s);
3328
3328
  var d = i[h];
3329
- if (yn(c)) {
3329
+ if (vr(c)) {
3330
3330
  (!d || typeof d == "string" || typeof d == "number") && (d = typeof d == "string" || typeof d == "number" ? String(d) : ""), o.push({
3331
- type: typeof d == "string" ? S.literal : S.object,
3331
+ type: typeof d == "string" ? I.literal : I.object,
3332
3332
  value: d
3333
3333
  });
3334
3334
  continue;
3335
3335
  }
3336
3336
  if (jt(c)) {
3337
- var m = typeof c.style == "string" ? n.date[c.style] : We(c.style) ? c.style.parsedOptions : void 0;
3337
+ var f = typeof c.style == "string" ? r.date[c.style] : We(c.style) ? c.style.parsedOptions : void 0;
3338
3338
  o.push({
3339
- type: S.literal,
3340
- value: r.getDateTimeFormat(t, m).format(d)
3339
+ type: I.literal,
3340
+ value: n.getDateTimeFormat(t, f).format(d)
3341
3341
  });
3342
3342
  continue;
3343
3343
  }
3344
3344
  if (Vt(c)) {
3345
- var m = typeof c.style == "string" ? n.time[c.style] : We(c.style) ? c.style.parsedOptions : n.time.medium;
3345
+ var f = typeof c.style == "string" ? r.time[c.style] : We(c.style) ? c.style.parsedOptions : r.time.medium;
3346
3346
  o.push({
3347
- type: S.literal,
3348
- value: r.getDateTimeFormat(t, m).format(d)
3347
+ type: I.literal,
3348
+ value: n.getDateTimeFormat(t, f).format(d)
3349
3349
  });
3350
3350
  continue;
3351
3351
  }
3352
- if (Gt(c)) {
3353
- var m = typeof c.style == "string" ? n.number[c.style] : Jt(c.style) ? c.style.parsedOptions : void 0;
3354
- m && m.scale && (d = d * (m.scale || 1)), o.push({
3355
- type: S.literal,
3356
- value: r.getNumberFormat(t, m).format(d)
3352
+ if ($t(c)) {
3353
+ var f = typeof c.style == "string" ? r.number[c.style] : Zt(c.style) ? c.style.parsedOptions : void 0;
3354
+ f && f.scale && (d = d * (f.scale || 1)), o.push({
3355
+ type: I.literal,
3356
+ value: n.getNumberFormat(t, f).format(d)
3357
3357
  });
3358
3358
  continue;
3359
3359
  }
3360
- if (qt(c)) {
3361
- var g = c.children, T = c.value, E = i[T];
3362
- if (!Yn(E))
3363
- throw new Jn(T, "function", s);
3364
- var f = ke(g, t, r, n, i, a), y = E(f.map(function(P) {
3365
- return P.value;
3360
+ if (Xt(c)) {
3361
+ var g = c.children, k = c.value, E = i[k];
3362
+ if (!Yr(E))
3363
+ throw new Zr(k, "function", s);
3364
+ var m = Te(g, t, n, r, i, a), v = E(m.map(function(M) {
3365
+ return M.value;
3366
3366
  }));
3367
- Array.isArray(y) || (y = [y]), o.push.apply(o, y.map(function(P) {
3367
+ Array.isArray(v) || (v = [v]), o.push.apply(o, v.map(function(M) {
3368
3368
  return {
3369
- type: typeof P == "string" ? S.literal : S.object,
3370
- value: P
3369
+ type: typeof M == "string" ? I.literal : I.object,
3370
+ value: M
3371
3371
  };
3372
3372
  }));
3373
3373
  }
3374
3374
  if (Wt(c)) {
3375
3375
  var w = c.options[d] || c.options.other;
3376
3376
  if (!w)
3377
- throw new yt(c.value, d, Object.keys(c.options), s);
3378
- o.push.apply(o, ke(w.value, t, r, n, i));
3377
+ throw new vt(c.value, d, Object.keys(c.options), s);
3378
+ o.push.apply(o, Te(w.value, t, n, r, i));
3379
3379
  continue;
3380
3380
  }
3381
- if (Xt(c)) {
3381
+ if (qt(c)) {
3382
3382
  var w = c.options["=".concat(d)];
3383
3383
  if (!w) {
3384
3384
  if (!Intl.PluralRules)
3385
- throw new Le(`Intl.PluralRules is not available in this environment.
3385
+ throw new He(`Intl.PluralRules is not available in this environment.
3386
3386
  Try polyfilling it using "@formatjs/intl-pluralrules"
3387
3387
  `, te.MISSING_INTL_API, s);
3388
- var F = r.getPluralRules(t, { type: c.pluralType }).select(d - (c.offset || 0));
3389
- w = c.options[F] || c.options.other;
3388
+ var U = n.getPluralRules(t, { type: c.pluralType }).select(d - (c.offset || 0));
3389
+ w = c.options[U] || c.options.other;
3390
3390
  }
3391
3391
  if (!w)
3392
- throw new yt(c.value, d, Object.keys(c.options), s);
3393
- o.push.apply(o, ke(w.value, t, r, n, i, d - (c.offset || 0)));
3392
+ throw new vt(c.value, d, Object.keys(c.options), s);
3393
+ o.push.apply(o, Te(w.value, t, n, r, i, d - (c.offset || 0)));
3394
3394
  continue;
3395
3395
  }
3396
3396
  }
3397
- return Zn(o);
3397
+ return Kr(o);
3398
3398
  }
3399
- function Qn(e, t) {
3400
- return t ? L(L(L({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3401
- return r[n] = L(L({}, e[n]), t[n] || {}), r;
3399
+ function Qr(e, t) {
3400
+ return t ? H(H(H({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
3401
+ return n[r] = H(H({}, e[r]), t[r] || {}), n;
3402
3402
  }, {})) : e;
3403
3403
  }
3404
3404
  function ei(e, t) {
3405
- return t ? Object.keys(e).reduce(function(r, n) {
3406
- return r[n] = Qn(e[n], t[n]), r;
3407
- }, L({}, e)) : e;
3405
+ return t ? Object.keys(e).reduce(function(n, r) {
3406
+ return n[r] = Qr(e[r], t[r]), n;
3407
+ }, H({}, e)) : e;
3408
3408
  }
3409
- function Fe(e) {
3409
+ function Ue(e) {
3410
3410
  return {
3411
3411
  create: function() {
3412
3412
  return {
3413
3413
  get: function(t) {
3414
3414
  return e[t];
3415
3415
  },
3416
- set: function(t, r) {
3417
- e[t] = r;
3416
+ set: function(t, n) {
3417
+ e[t] = n;
3418
3418
  }
3419
3419
  };
3420
3420
  }
@@ -3427,36 +3427,36 @@ function ti(e) {
3427
3427
  pluralRules: {}
3428
3428
  }), {
3429
3429
  getNumberFormat: Ne(function() {
3430
- for (var t, r = [], n = 0; n < arguments.length; n++)
3431
- r[n] = arguments[n];
3432
- return new ((t = Intl.NumberFormat).bind.apply(t, De([void 0], r, !1)))();
3430
+ for (var t, n = [], r = 0; r < arguments.length; r++)
3431
+ n[r] = arguments[r];
3432
+ return new ((t = Intl.NumberFormat).bind.apply(t, De([void 0], n, !1)))();
3433
3433
  }, {
3434
- cache: Fe(e.number),
3434
+ cache: Ue(e.number),
3435
3435
  strategy: Re.variadic
3436
3436
  }),
3437
3437
  getDateTimeFormat: Ne(function() {
3438
- for (var t, r = [], n = 0; n < arguments.length; n++)
3439
- r[n] = arguments[n];
3440
- return new ((t = Intl.DateTimeFormat).bind.apply(t, De([void 0], r, !1)))();
3438
+ for (var t, n = [], r = 0; r < arguments.length; r++)
3439
+ n[r] = arguments[r];
3440
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, De([void 0], n, !1)))();
3441
3441
  }, {
3442
- cache: Fe(e.dateTime),
3442
+ cache: Ue(e.dateTime),
3443
3443
  strategy: Re.variadic
3444
3444
  }),
3445
3445
  getPluralRules: Ne(function() {
3446
- for (var t, r = [], n = 0; n < arguments.length; n++)
3447
- r[n] = arguments[n];
3448
- return new ((t = Intl.PluralRules).bind.apply(t, De([void 0], r, !1)))();
3446
+ for (var t, n = [], r = 0; r < arguments.length; r++)
3447
+ n[r] = arguments[r];
3448
+ return new ((t = Intl.PluralRules).bind.apply(t, De([void 0], n, !1)))();
3449
3449
  }, {
3450
- cache: Fe(e.pluralRules),
3450
+ cache: Ue(e.pluralRules),
3451
3451
  strategy: Re.variadic
3452
3452
  })
3453
3453
  };
3454
3454
  }
3455
- var nr = (
3455
+ var rn = (
3456
3456
  /** @class */
3457
3457
  function() {
3458
- function e(t, r, n, i) {
3459
- r === void 0 && (r = e.defaultLocale);
3458
+ function e(t, n, r, i) {
3459
+ n === void 0 && (n = e.defaultLocale);
3460
3460
  var a = this;
3461
3461
  if (this.formatterCache = {
3462
3462
  number: {},
@@ -3467,11 +3467,11 @@ var nr = (
3467
3467
  if (u.length === 1)
3468
3468
  return u[0].value;
3469
3469
  var c = u.reduce(function(h, d) {
3470
- return !h.length || d.type !== S.literal || typeof h[h.length - 1] != "string" ? h.push(d.value) : h[h.length - 1] += d.value, h;
3470
+ return !h.length || d.type !== I.literal || typeof h[h.length - 1] != "string" ? h.push(d.value) : h[h.length - 1] += d.value, h;
3471
3471
  }, []);
3472
3472
  return c.length <= 1 ? c[0] || "" : c;
3473
3473
  }, this.formatToParts = function(l) {
3474
- return ke(a.ast, a.locales, a.formatters, a.formats, l, void 0, a.message);
3474
+ return Te(a.ast, a.locales, a.formatters, a.formats, l, void 0, a.message);
3475
3475
  }, this.resolvedOptions = function() {
3476
3476
  var l;
3477
3477
  return {
@@ -3479,18 +3479,18 @@ var nr = (
3479
3479
  };
3480
3480
  }, this.getAst = function() {
3481
3481
  return a.ast;
3482
- }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
3482
+ }, this.locales = n, this.resolvedLocale = e.resolveLocale(n), typeof t == "string") {
3483
3483
  if (this.message = t, !e.__parse)
3484
3484
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3485
3485
  var s = i || {};
3486
3486
  s.formatters;
3487
- var o = hn(s, ["formatters"]);
3488
- this.ast = e.__parse(t, L(L({}, o), { locale: this.resolvedLocale }));
3487
+ var o = hr(s, ["formatters"]);
3488
+ this.ast = e.__parse(t, H(H({}, o), { locale: this.resolvedLocale }));
3489
3489
  } else
3490
3490
  this.ast = t;
3491
3491
  if (!Array.isArray(this.ast))
3492
3492
  throw new TypeError("A message must be provided as a String or AST.");
3493
- this.formats = ei(e.formats, n), this.formatters = i && i.formatters || ti(this.formatterCache);
3493
+ this.formats = ei(e.formats, r), this.formatters = i && i.formatters || ti(this.formatterCache);
3494
3494
  }
3495
3495
  return Object.defineProperty(e, "defaultLocale", {
3496
3496
  get: function() {
@@ -3500,10 +3500,10 @@ var nr = (
3500
3500
  configurable: !0
3501
3501
  }), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
3502
3502
  if (typeof Intl.Locale != "undefined") {
3503
- var r = Intl.NumberFormat.supportedLocalesOf(t);
3504
- return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3503
+ var n = Intl.NumberFormat.supportedLocalesOf(t);
3504
+ return n.length > 0 ? new Intl.Locale(n[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3505
3505
  }
3506
- }, e.__parse = qn, e.formats = {
3506
+ }, e.__parse = Xr, e.formats = {
3507
3507
  number: {
3508
3508
  integer: {
3509
3509
  maximumFractionDigits: 0
@@ -3564,122 +3564,122 @@ var nr = (
3564
3564
  }, e;
3565
3565
  }()
3566
3566
  );
3567
- function ri(e, t) {
3567
+ function ni(e, t) {
3568
3568
  if (t == null)
3569
3569
  return;
3570
3570
  if (t in e)
3571
3571
  return e[t];
3572
- const r = t.split(".");
3573
- let n = e;
3574
- for (let i = 0; i < r.length; i++)
3575
- if (typeof n == "object") {
3572
+ const n = t.split(".");
3573
+ let r = e;
3574
+ for (let i = 0; i < n.length; i++)
3575
+ if (typeof r == "object") {
3576
3576
  if (i > 0) {
3577
- const a = r.slice(i, r.length).join(".");
3578
- if (a in n) {
3579
- n = n[a];
3577
+ const a = n.slice(i, n.length).join(".");
3578
+ if (a in r) {
3579
+ r = r[a];
3580
3580
  break;
3581
3581
  }
3582
3582
  }
3583
- n = n[r[i]];
3583
+ r = r[n[i]];
3584
3584
  } else
3585
- n = void 0;
3586
- return n;
3585
+ r = void 0;
3586
+ return r;
3587
3587
  }
3588
- const N = {}, ni = (e, t, r) => r && (t in N || (N[t] = {}), e in N[t] || (N[t][e] = r), r), ir = (e, t) => {
3588
+ const N = {}, ri = (e, t, n) => n && (t in N || (N[t] = {}), e in N[t] || (N[t][e] = n), n), an = (e, t) => {
3589
3589
  if (t == null)
3590
3590
  return;
3591
3591
  if (t in N && e in N[t])
3592
3592
  return N[t][e];
3593
- const r = me(t);
3594
- for (let n = 0; n < r.length; n++) {
3595
- const i = r[n], a = ai(i, e);
3593
+ const n = fe(t);
3594
+ for (let r = 0; r < n.length; r++) {
3595
+ const i = n[r], a = ai(i, e);
3596
3596
  if (a)
3597
- return ni(e, t, a);
3597
+ return ri(e, t, a);
3598
3598
  }
3599
3599
  };
3600
3600
  let tt;
3601
- const fe = He({});
3601
+ const me = Ce({});
3602
3602
  function ii(e) {
3603
3603
  return tt[e] || null;
3604
3604
  }
3605
- function ar(e) {
3605
+ function sn(e) {
3606
3606
  return e in tt;
3607
3607
  }
3608
3608
  function ai(e, t) {
3609
- if (!ar(e))
3609
+ if (!sn(e))
3610
3610
  return null;
3611
- const r = ii(e);
3612
- return ri(r, t);
3611
+ const n = ii(e);
3612
+ return ni(n, t);
3613
3613
  }
3614
3614
  function si(e) {
3615
3615
  if (e == null)
3616
3616
  return;
3617
- const t = me(e);
3618
- for (let r = 0; r < t.length; r++) {
3619
- const n = t[r];
3620
- if (ar(n))
3621
- return n;
3617
+ const t = fe(e);
3618
+ for (let n = 0; n < t.length; n++) {
3619
+ const r = t[n];
3620
+ if (sn(r))
3621
+ return r;
3622
3622
  }
3623
3623
  }
3624
- function sr(e, ...t) {
3625
- delete N[e], fe.update((r) => (r[e] = cn.all([r[e] || {}, ...t]), r));
3624
+ function on(e, ...t) {
3625
+ delete N[e], me.update((n) => (n[e] = cr.all([n[e] || {}, ...t]), n));
3626
3626
  }
3627
3627
  ie(
3628
- [fe],
3628
+ [me],
3629
3629
  ([e]) => Object.keys(e)
3630
3630
  );
3631
- fe.subscribe((e) => tt = e);
3631
+ me.subscribe((e) => tt = e);
3632
3632
  const we = {};
3633
3633
  function oi(e, t) {
3634
3634
  we[e].delete(t), we[e].size === 0 && delete we[e];
3635
3635
  }
3636
- function or(e) {
3636
+ function ln(e) {
3637
3637
  return we[e];
3638
3638
  }
3639
3639
  function li(e) {
3640
- return me(e).map((t) => {
3641
- const r = or(t);
3642
- return [t, r ? [...r] : []];
3640
+ return fe(e).map((t) => {
3641
+ const n = ln(t);
3642
+ return [t, n ? [...n] : []];
3643
3643
  }).filter(([, t]) => t.length > 0);
3644
3644
  }
3645
3645
  function Ae(e) {
3646
- return e == null ? !1 : me(e).some(
3646
+ return e == null ? !1 : fe(e).some(
3647
3647
  (t) => {
3648
- var r;
3649
- return (r = or(t)) == null ? void 0 : r.size;
3648
+ var n;
3649
+ return (n = ln(t)) == null ? void 0 : n.size;
3650
3650
  }
3651
3651
  );
3652
3652
  }
3653
3653
  function ui(e, t) {
3654
3654
  return Promise.all(
3655
- t.map((n) => (oi(e, n), n().then((i) => i.default || i)))
3656
- ).then((n) => sr(e, ...n));
3655
+ t.map((r) => (oi(e, r), r().then((i) => i.default || i)))
3656
+ ).then((r) => on(e, ...r));
3657
3657
  }
3658
3658
  const oe = {};
3659
- function lr(e) {
3659
+ function un(e) {
3660
3660
  if (!Ae(e))
3661
3661
  return e in oe ? oe[e] : Promise.resolve();
3662
3662
  const t = li(e);
3663
3663
  return oe[e] = Promise.all(
3664
3664
  t.map(
3665
- ([r, n]) => ui(r, n)
3665
+ ([n, r]) => ui(n, r)
3666
3666
  )
3667
3667
  ).then(() => {
3668
3668
  if (Ae(e))
3669
- return lr(e);
3669
+ return un(e);
3670
3670
  delete oe[e];
3671
3671
  }), oe[e];
3672
3672
  }
3673
3673
  var Et = Object.getOwnPropertySymbols, ci = Object.prototype.hasOwnProperty, hi = Object.prototype.propertyIsEnumerable, di = (e, t) => {
3674
- var r = {};
3675
- for (var n in e)
3676
- ci.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3674
+ var n = {};
3675
+ for (var r in e)
3676
+ ci.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
3677
3677
  if (e != null && Et)
3678
- for (var n of Et(e))
3679
- t.indexOf(n) < 0 && hi.call(e, n) && (r[n] = e[n]);
3680
- return r;
3678
+ for (var r of Et(e))
3679
+ t.indexOf(r) < 0 && hi.call(e, r) && (n[r] = e[r]);
3680
+ return n;
3681
3681
  };
3682
- const fi = {
3682
+ const mi = {
3683
3683
  number: {
3684
3684
  scientific: { notation: "scientific" },
3685
3685
  engineering: { notation: "engineering" },
@@ -3709,11 +3709,11 @@ const fi = {
3709
3709
  }
3710
3710
  }
3711
3711
  };
3712
- function mi({ locale: e, id: t }) {
3712
+ function fi({ locale: e, id: t }) {
3713
3713
  console.warn(
3714
- `[svelte-i18n] The message "${t}" was not found in "${me(
3714
+ `[svelte-i18n] The message "${t}" was not found in "${fe(
3715
3715
  e
3716
- ).join('", "')}".${Ae(U()) ? `
3716
+ ).join('", "')}".${Ae(z()) ? `
3717
3717
 
3718
3718
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3719
3719
  );
@@ -3721,162 +3721,162 @@ Note: there are at least one loader still registered to this locale that wasn't
3721
3721
  const gi = {
3722
3722
  fallbackLocale: null,
3723
3723
  loadingDelay: 200,
3724
- formats: fi,
3724
+ formats: mi,
3725
3725
  warnOnMissingMessages: !0,
3726
3726
  handleMissingMessage: void 0,
3727
3727
  ignoreTag: !0
3728
3728
  }, le = gi;
3729
- function re() {
3729
+ function ne() {
3730
3730
  return le;
3731
3731
  }
3732
3732
  function pi(e) {
3733
- const t = e, { formats: r } = t, n = di(t, ["formats"]);
3733
+ const t = e, { formats: n } = t, r = di(t, ["formats"]);
3734
3734
  let i = e.fallbackLocale;
3735
3735
  if (e.initialLocale)
3736
3736
  try {
3737
- nr.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3737
+ rn.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3738
3738
  } catch (a) {
3739
3739
  console.warn(
3740
3740
  `[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
3741
3741
  );
3742
3742
  }
3743
- return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = mi : console.warn(
3743
+ return r.warnOnMissingMessages && (delete r.warnOnMissingMessages, r.handleMissingMessage == null ? r.handleMissingMessage = fi : console.warn(
3744
3744
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3745
- )), Object.assign(le, n, { initialLocale: i }), r && ("number" in r && Object.assign(le.formats.number, r.number), "date" in r && Object.assign(le.formats.date, r.date), "time" in r && Object.assign(le.formats.time, r.time)), $.set(i);
3745
+ )), Object.assign(le, r, { initialLocale: i }), n && ("number" in n && Object.assign(le.formats.number, n.number), "date" in n && Object.assign(le.formats.date, n.date), "time" in n && Object.assign(le.formats.time, n.time)), G.set(i);
3746
3746
  }
3747
- const ze = He(!1);
3748
- var bi = Object.defineProperty, vi = Object.defineProperties, yi = Object.getOwnPropertyDescriptors, _t = Object.getOwnPropertySymbols, Ei = Object.prototype.hasOwnProperty, _i = Object.prototype.propertyIsEnumerable, xt = (e, t, r) => t in e ? bi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, xi = (e, t) => {
3749
- for (var r in t || (t = {}))
3750
- Ei.call(t, r) && xt(e, r, t[r]);
3747
+ const Fe = Ce(!1);
3748
+ var bi = Object.defineProperty, yi = Object.defineProperties, vi = Object.getOwnPropertyDescriptors, _t = Object.getOwnPropertySymbols, Ei = Object.prototype.hasOwnProperty, _i = Object.prototype.propertyIsEnumerable, xt = (e, t, n) => t in e ? bi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, xi = (e, t) => {
3749
+ for (var n in t || (t = {}))
3750
+ Ei.call(t, n) && xt(e, n, t[n]);
3751
3751
  if (_t)
3752
- for (var r of _t(t))
3753
- _i.call(t, r) && xt(e, r, t[r]);
3752
+ for (var n of _t(t))
3753
+ _i.call(t, n) && xt(e, n, t[n]);
3754
3754
  return e;
3755
- }, Ti = (e, t) => vi(e, yi(t));
3755
+ }, ki = (e, t) => yi(e, vi(t));
3756
3756
  let Ye;
3757
- const Ie = He(null);
3758
- function Tt(e) {
3759
- return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3757
+ const Se = Ce(null);
3758
+ function kt(e) {
3759
+ return e.split("-").map((t, n, r) => r.slice(0, n + 1).join("-")).reverse();
3760
3760
  }
3761
- function me(e, t = re().fallbackLocale) {
3762
- const r = Tt(e);
3763
- return t ? [.../* @__PURE__ */ new Set([...r, ...Tt(t)])] : r;
3761
+ function fe(e, t = ne().fallbackLocale) {
3762
+ const n = kt(e);
3763
+ return t ? [.../* @__PURE__ */ new Set([...n, ...kt(t)])] : n;
3764
3764
  }
3765
- function U() {
3765
+ function z() {
3766
3766
  return Ye != null ? Ye : void 0;
3767
3767
  }
3768
- Ie.subscribe((e) => {
3768
+ Se.subscribe((e) => {
3769
3769
  Ye = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3770
3770
  });
3771
- const ki = (e) => {
3771
+ const Ti = (e) => {
3772
3772
  if (e && si(e) && Ae(e)) {
3773
- const { loadingDelay: t } = re();
3774
- let r;
3775
- return typeof window != "undefined" && U() != null && t ? r = window.setTimeout(
3776
- () => ze.set(!0),
3773
+ const { loadingDelay: t } = ne();
3774
+ let n;
3775
+ return typeof window != "undefined" && z() != null && t ? n = window.setTimeout(
3776
+ () => Fe.set(!0),
3777
3777
  t
3778
- ) : ze.set(!0), lr(e).then(() => {
3779
- Ie.set(e);
3778
+ ) : Fe.set(!0), un(e).then(() => {
3779
+ Se.set(e);
3780
3780
  }).finally(() => {
3781
- clearTimeout(r), ze.set(!1);
3781
+ clearTimeout(n), Fe.set(!1);
3782
3782
  });
3783
3783
  }
3784
- return Ie.set(e);
3785
- }, $ = Ti(xi({}, Ie), {
3786
- set: ki
3787
- }), Pe = (e) => {
3784
+ return Se.set(e);
3785
+ }, G = ki(xi({}, Se), {
3786
+ set: Ti
3787
+ }), Me = (e) => {
3788
3788
  const t = /* @__PURE__ */ Object.create(null);
3789
- return (n) => {
3790
- const i = JSON.stringify(n);
3791
- return i in t ? t[i] : t[i] = e(n);
3789
+ return (r) => {
3790
+ const i = JSON.stringify(r);
3791
+ return i in t ? t[i] : t[i] = e(r);
3792
3792
  };
3793
3793
  };
3794
- var wi = Object.defineProperty, Be = Object.getOwnPropertySymbols, ur = Object.prototype.hasOwnProperty, cr = Object.prototype.propertyIsEnumerable, kt = (e, t, r) => t in e ? wi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, rt = (e, t) => {
3795
- for (var r in t || (t = {}))
3796
- ur.call(t, r) && kt(e, r, t[r]);
3794
+ var wi = Object.defineProperty, Be = Object.getOwnPropertySymbols, cn = Object.prototype.hasOwnProperty, hn = Object.prototype.propertyIsEnumerable, Tt = (e, t, n) => t in e ? wi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, nt = (e, t) => {
3795
+ for (var n in t || (t = {}))
3796
+ cn.call(t, n) && Tt(e, n, t[n]);
3797
3797
  if (Be)
3798
- for (var r of Be(t))
3799
- cr.call(t, r) && kt(e, r, t[r]);
3798
+ for (var n of Be(t))
3799
+ hn.call(t, n) && Tt(e, n, t[n]);
3800
3800
  return e;
3801
3801
  }, ae = (e, t) => {
3802
- var r = {};
3803
- for (var n in e)
3804
- ur.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3802
+ var n = {};
3803
+ for (var r in e)
3804
+ cn.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
3805
3805
  if (e != null && Be)
3806
- for (var n of Be(e))
3807
- t.indexOf(n) < 0 && cr.call(e, n) && (r[n] = e[n]);
3808
- return r;
3806
+ for (var r of Be(e))
3807
+ t.indexOf(r) < 0 && hn.call(e, r) && (n[r] = e[r]);
3808
+ return n;
3809
3809
  };
3810
3810
  const de = (e, t) => {
3811
- const { formats: r } = re();
3812
- if (e in r && t in r[e])
3813
- return r[e][t];
3811
+ const { formats: n } = ne();
3812
+ if (e in n && t in n[e])
3813
+ return n[e][t];
3814
3814
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3815
- }, Si = Pe(
3815
+ }, Ii = Me(
3816
3816
  (e) => {
3817
- var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
3818
- if (r == null)
3817
+ var t = e, { locale: n, format: r } = t, i = ae(t, ["locale", "format"]);
3818
+ if (n == null)
3819
3819
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3820
- return n && (i = de("number", n)), new Intl.NumberFormat(r, i);
3820
+ return r && (i = de("number", r)), new Intl.NumberFormat(n, i);
3821
3821
  }
3822
- ), Ai = Pe(
3822
+ ), Ai = Me(
3823
3823
  (e) => {
3824
- var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
3825
- if (r == null)
3824
+ var t = e, { locale: n, format: r } = t, i = ae(t, ["locale", "format"]);
3825
+ if (n == null)
3826
3826
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3827
- return n ? i = de("date", n) : Object.keys(i).length === 0 && (i = de("date", "short")), new Intl.DateTimeFormat(r, i);
3827
+ return r ? i = de("date", r) : Object.keys(i).length === 0 && (i = de("date", "short")), new Intl.DateTimeFormat(n, i);
3828
3828
  }
3829
- ), Ii = Pe(
3829
+ ), Si = Me(
3830
3830
  (e) => {
3831
- var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
3832
- if (r == null)
3831
+ var t = e, { locale: n, format: r } = t, i = ae(t, ["locale", "format"]);
3832
+ if (n == null)
3833
3833
  throw new Error(
3834
3834
  '[svelte-i18n] A "locale" must be set to format time values'
3835
3835
  );
3836
- return n ? i = de("time", n) : Object.keys(i).length === 0 && (i = de("time", "short")), new Intl.DateTimeFormat(r, i);
3836
+ return r ? i = de("time", r) : Object.keys(i).length === 0 && (i = de("time", "short")), new Intl.DateTimeFormat(n, i);
3837
3837
  }
3838
3838
  ), Bi = (e = {}) => {
3839
3839
  var t = e, {
3840
- locale: r = U()
3841
- } = t, n = ae(t, [
3840
+ locale: n = z()
3841
+ } = t, r = ae(t, [
3842
3842
  "locale"
3843
3843
  ]);
3844
- return Si(rt({ locale: r }, n));
3845
- }, Hi = (e = {}) => {
3844
+ return Ii(nt({ locale: n }, r));
3845
+ }, Ci = (e = {}) => {
3846
3846
  var t = e, {
3847
- locale: r = U()
3848
- } = t, n = ae(t, [
3847
+ locale: n = z()
3848
+ } = t, r = ae(t, [
3849
3849
  "locale"
3850
3850
  ]);
3851
- return Ai(rt({ locale: r }, n));
3852
- }, Ci = (e = {}) => {
3851
+ return Ai(nt({ locale: n }, r));
3852
+ }, Li = (e = {}) => {
3853
3853
  var t = e, {
3854
- locale: r = U()
3855
- } = t, n = ae(t, [
3854
+ locale: n = z()
3855
+ } = t, r = ae(t, [
3856
3856
  "locale"
3857
3857
  ]);
3858
- return Ii(rt({ locale: r }, n));
3859
- }, Li = Pe(
3858
+ return Si(nt({ locale: n }, r));
3859
+ }, Hi = Me(
3860
3860
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3861
- (e, t = U()) => new nr(e, t, re().formats, {
3862
- ignoreTag: re().ignoreTag
3861
+ (e, t = z()) => new rn(e, t, ne().formats, {
3862
+ ignoreTag: ne().ignoreTag
3863
3863
  })
3864
- ), Pi = (e, t = {}) => {
3865
- var r, n, i, a;
3864
+ ), Mi = (e, t = {}) => {
3865
+ var n, r, i, a;
3866
3866
  let s = t;
3867
3867
  typeof e == "object" && (s = e, e = s.id);
3868
3868
  const {
3869
3869
  values: o,
3870
- locale: l = U(),
3870
+ locale: l = z(),
3871
3871
  default: u
3872
3872
  } = s;
3873
3873
  if (l == null)
3874
3874
  throw new Error(
3875
3875
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3876
3876
  );
3877
- let c = ir(e, l);
3877
+ let c = an(e, l);
3878
3878
  if (!c)
3879
- c = (a = (i = (n = (r = re()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? a : e;
3879
+ c = (a = (i = (r = (n = ne()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? a : e;
3880
3880
  else if (typeof c != "string")
3881
3881
  return console.warn(
3882
3882
  `[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.`
@@ -3885,7 +3885,7 @@ const de = (e, t) => {
3885
3885
  return c;
3886
3886
  let h = c;
3887
3887
  try {
3888
- h = Li(c, l).format(o);
3888
+ h = Hi(c, l).format(o);
3889
3889
  } catch (d) {
3890
3890
  d instanceof Error && console.warn(
3891
3891
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3893,20 +3893,20 @@ const de = (e, t) => {
3893
3893
  );
3894
3894
  }
3895
3895
  return h;
3896
- }, Oi = (e, t) => Ci(t).format(e), Mi = (e, t) => Hi(t).format(e), Di = (e, t) => Bi(t).format(e), Ni = (e, t = U()) => ir(e, t), Ri = ie([$, fe], () => Pi);
3897
- ie([$], () => Oi);
3898
- ie([$], () => Mi);
3899
- ie([$], () => Di);
3900
- ie([$, fe], () => Ni);
3896
+ }, Pi = (e, t) => Li(t).format(e), Oi = (e, t) => Ci(t).format(e), Di = (e, t) => Bi(t).format(e), Ni = (e, t = z()) => an(e, t), Ri = ie([G, me], () => Mi);
3897
+ ie([G], () => Pi);
3898
+ ie([G], () => Oi);
3899
+ ie([G], () => Di);
3900
+ ie([G, me], () => Ni);
3901
3901
  function wt(e, t) {
3902
- sr(e, t);
3902
+ on(e, t);
3903
3903
  }
3904
- function Ui(e) {
3904
+ function zi(e) {
3905
3905
  pi({
3906
3906
  fallbackLocale: "en"
3907
- }), $.set(e);
3907
+ }), G.set(e);
3908
3908
  }
3909
- const St = {
3909
+ const It = {
3910
3910
  en: {
3911
3911
  VendorMicroserviceCommunicationError: "We apologise, but your payment provider has declined to process due to a microservice communication error. Please try again later.",
3912
3912
  CustomerDocumentIdMissing: "The document ID is missing",
@@ -4216,14 +4216,118 @@ const St = {
4216
4216
  InvalidCardHolder: "Ongeldige kaarthouder",
4217
4217
  VendorInvalidCard: "Ongeldige leverancierskaart",
4218
4218
  CardTokenIsBlocked: "Kaarttoken is geblokkeerd"
4219
+ },
4220
+ ru: {
4221
+ VendorMicroserviceCommunicationError: "Приносим извинения, но ваш платёжный провайдер отклонил обработку из-за ошибки связи микросервиса. Пожалуйста, попробуйте позже.",
4222
+ CustomerDocumentIdMissing: "Отсутствует ID документа",
4223
+ InvalidTransactionStatus: "Недействительный статус операции",
4224
+ UndefinedTechnicalError: "Что-то пошло не так",
4225
+ errorGeneralTitle: "Произошла ошибка",
4226
+ errorGeneralText: "Что-то пошло не так",
4227
+ errorGeneralButton: "ЗАКРЫТЬ",
4228
+ PlayerSessionIsNotValid: "Сессия игрока недействительна",
4229
+ VendorCommunicationError: "Приносим извинения, но ваш платёжный провайдер отклонил обработку из-за технической ошибки. Пожалуйста, попробуйте позже или обратитесь к вашему платёжному провайдеру за помощью. Код ошибки 21297",
4230
+ PaymentMethodNotAllowed: "Приносим извинения, но этот способ оплаты в данный момент недоступен, пожалуйста, обратитесь в службу поддержки за помощью. Код ошибки 11402",
4231
+ InvalidPaymentDetails: "Приносим извинения, но ваши платёжные данные недействительны. Убедитесь, что вы правильно ввели все платёжные данные, и попробуйте снова или обратитесь в службу поддержки за помощью. Код ошибки 13555",
4232
+ MerchantUserHasWithdrawBlockRole: "Уважаемый игрок! Обращаем ваше внимание, что в данный момент вам не разрешено инициировать операции вывода средств с вашего игрового счёта. Код ошибки: 21122",
4233
+ MerchantUserHasDepositBlockRole: "Уважаемый игрок! Обращаем ваше внимание, что в данный момент вам не разрешено инициировать операции пополнения с вашего игрового счёта. Код ошибки: 21123",
4234
+ JwtTokenError: "IDX12741: JWT must have three segments (JWS) or five segments (JWE).",
4235
+ TransactionIsBlockedDueToNotCompletedKyc: "Приносим извинения, но мы не можем обработать операцию, так как вы не завершили KYC-проверку. Пожалуйста, подтвердите свою личность или обратитесь в службу поддержки за помощью. Код ошибки 23601",
4236
+ InsufficientCasinoFunds: " Сумма вашего вывода превышает доступный баланс. Пожалуйста, проверьте доступный баланс, чтобы скорректировать сумму вывода",
4237
+ DepositWageringLimit: "Внимание! Ваш баланс выигрыша меньше суммы, которую вы хотите вывести.",
4238
+ DepositWageringFetching: "Загрузка данных",
4239
+ DepositWageringLimitText: "Отыгрыш депозита: ",
4240
+ AmountMinLimitExceeded: "Сумма меньше минимального лимита способа оплаты",
4241
+ AmountMaxLimitExceeded: "Сумма больше максимального лимита способа оплаты",
4242
+ AmountIsMissing: "Отсутствует сумма",
4243
+ MaxCustomerTransactionsCountReached: "Похоже, вы достигли лимита частоты попыток операций в минуту. Сервер отвечает слишком долго. Пожалуйста, подождите немного и попробуйте снова через некоторое время",
4244
+ VendorTimeoutError: "Похоже, у платёжного провайдера возникли проблемы. Сервер отвечает слишком долго. Пожалуйста, подождите немного и попробуйте снова через некоторое время. Код ошибки 21292",
4245
+ MerchantUserAccountIsInactive: "Отклонено продавцом: учётная запись пользователя неактивна",
4246
+ MerchantUserHasDepositDenyRole: "Отклонено продавцом: у пользователя роль запрета депозитов",
4247
+ TransactionCodeIsInvalid: "Код операции недействителен",
4248
+ InvalidSession: "Ваша сессия истекла. Пожалуйста, попробуйте снова",
4249
+ TwoFactorAuthRequired: "Требуется двухфакторная аутентификация",
4250
+ DeclinedByMerchant: "Приносим извинения, но операция была закрыта продавцом. Пожалуйста, обратитесь в службу поддержки за помощью.",
4251
+ FraudSuspectedError: "Приносим извинения, но мы не можем обработать вашу операцию в данный момент, пожалуйста, попробуйте позже или обратитесь в службу поддержки за помощью. Код ошибки 22020",
4252
+ OnlyOnePendingTransactionPerUserlsAllowed: "Разрешена только одна ожидающая операция на пользователя",
4253
+ TransactionFrequencyLimitReached: "Достигнут лимит частоты операций",
4254
+ DailyTransactionFrequencyLimitReached: "В настоящий момент операция не может быть выполнена, пожалуйста, попробуйте позже.",
4255
+ NotMappedVendorError: "Ваш баланс недостаточен, или вы достигли лимита операций. Пожалуйста, обратитесь к вашему провайдеру телекоммуникационных услуг",
4256
+ LOW_BALANCE_OR_PAYEE_LIMIT_REACHED_OR_NOT_ALLOWED: "Ваш баланс недостаточен, или вы достигли лимита операций. Пожалуйста, обратитесь к вашему провайдеру телекоммуникационных услуг",
4257
+ CumulativeLimitExceeded: "Превышен денежный лимит",
4258
+ CumulativeLimitExceededException: "Превышен денежный лимит",
4259
+ InsufficientFunds: "Недостаточно средств",
4260
+ DeclinedByBank: "Операция отклонена банком",
4261
+ MaxNumberOfTransactionsReached: "Достигнуто максимальное количество операций",
4262
+ OnlyOnePendingTransactionPerUserIsAllowed: "На пользователя разрешена только одна ожидающая операция",
4263
+ AuthenticationFailed: "Ошибка аутентификации",
4264
+ CommunicationTimeoutError: "Тайм-аут связи",
4265
+ MissingPaymentDetails: "Отсутствуют платёжные данные",
4266
+ InvalidAccount: "Недействительный счёт",
4267
+ DuplicatePaymentAccount: "Счёт, использованный для запроса вывода средств, был признан подозрительным, и ваша операция была отменена по соображениям безопасности. Обратитесь в нашу службу поддержки для получения дополнительной информации.",
4268
+ InvalidCardHolder: "Неверное имя держателя карты",
4269
+ VendorInvalidCard: "Недействительная карта провайдера",
4270
+ CardTokenIsBlocked: "Токен карты заблокирован"
4271
+ },
4272
+ az: {
4273
+ VendorMicroserviceCommunicationError: "Üzr istəyirik, lakin ödəniş provayderiniz mikroservis əlaqə xətası səbəbindən əməliyyatı rədd etdi. Zəhmət olmasa sonra yenidən cəhd edin.",
4274
+ CustomerDocumentIdMissing: "Sənəd ID-si yoxdur",
4275
+ InvalidTransactionStatus: "Əməliyyat statusu yalnışdır",
4276
+ UndefinedTechnicalError: "Nəsə səhv getdi",
4277
+ errorGeneralTitle: "Xəta baş verdi",
4278
+ errorGeneralText: "Nəsə səhv getdi",
4279
+ errorGeneralButton: "BAĞLA",
4280
+ PlayerSessionIsNotValid: "Oyunçu sessiyası yalnışdır",
4281
+ VendorCommunicationError: "Üzr istəyirik, lakin ödəniş provayderiniz texniki xəta səbəbindən əməliyyatı rədd etdi. Zəhmət olmasa sonra cəhd edin və ya əlavə yardım üçün ödəniş həlli provayderinizlə əlaqə saxlayın. Xəta kodu 21297",
4282
+ PaymentMethodNotAllowed: "Üzr istəyirik, lakin bu ödəniş üsulu hazırda mövcud deyil, əlavə yardım üçün Müştəri Xidməti ilə əlaqə saxlayın. Xəta kodu 11402",
4283
+ InvalidPaymentDetails: "Üzr istəyirik, lakin ödəniş məlumatlarınız yalnışdır. Zəhmət olmasa bütün ödəniş məlumatlarını düzgün daxil etdiyinizə əmin olun və yenidən cəhd edin və ya əlavə yardım üçün Müştəri Xidməti ilə əlaqə saxlayın. Xəta kodu 13555",
4284
+ MerchantUserHasWithdrawBlockRole: "Əziz Oyunçu! Zəhmət olmasa nəzərə alın ki, hazırda oyunçu hesabınızdan pul çıxarma əməliyyatlarına başlamaq icazəniz yoxdur. Xəta kodu: 21122",
4285
+ MerchantUserHasDepositBlockRole: "Əziz Oyunçu! Zəhmət olmasa nəzərə alın ki, hazırda oyunçu hesabınızdan depozit əməliyyatlarına başlamaq icazəniz yoxdur. Xəta kodu: 21123",
4286
+ JwtTokenError: "IDX12741: JWT must have three segments (JWS) or five segments (JWE).",
4287
+ TransactionIsBlockedDueToNotCompletedKyc: "Üzr istəyirik, lakin KYC-ni tamamlamadığınız üçün əməliyyatı icra edə bilmirik. Zəhmət olmasa şəxsiyyətinizi təsdiqləyin və ya əlavə yardım üçün Müştəri Xidməti ilə əlaqə saxlayın. Xəta kodu 23601",
4288
+ InsufficientCasinoFunds: " Çıxarışınız mövcud balansınızdan çoxdur. Zəhmət olmasa çıxarış məbləğinizi tənzimləmək üçün balansınızı yoxlayın",
4289
+ DepositWageringLimit: "Diqqət! Uduş balansınız çıxarmaq istədiyiniz məbləğdən azdır.",
4290
+ DepositWageringFetching: "Məlumat yüklənir",
4291
+ DepositWageringLimitText: "Depozit mərcləmə: ",
4292
+ AmountMinLimitExceeded: "Məbləğ Ödəniş Üsulunun minimum limitindən azdır",
4293
+ AmountMaxLimitExceeded: "Məbləğ Ödəniş Üsulunun maksimum limitindən çoxdur",
4294
+ AmountIsMissing: "Məbləğ yoxdur",
4295
+ MaxCustomerTransactionsCountReached: "Görünür, dəqiqədə icazə verilən əməliyyat cəhdləri tezliyi limitinə çatmısınız. Server cavab vermək üçün çox uzun vaxt aparır. Zəhmət olmasa bir az gözləyin və bir müddət sonra yenidən cəhd edin",
4296
+ VendorTimeoutError: "Görünür, ödəniş provayderində problem var. Server cavab vermək üçün çox uzun vaxt aparır. Zəhmət olmasa bir az gözləyin və bir müddət sonra yenidən cəhd edin. Xəta kodu 21292",
4297
+ MerchantUserAccountIsInactive: "Satıcı tərəfindən rədd edildi, istifadəçi hesabı aktiv deyil",
4298
+ MerchantUserHasDepositDenyRole: "Satıcı tərəfindən rədd edildi, istifadəçinin depozit qadağası rolu var",
4299
+ TransactionCodeIsInvalid: "Əməliyyat kodu yalnışdır",
4300
+ InvalidSession: "Sessiyanızın müddəti bitib. Zəhmət olmasa yenidən cəhd edin",
4301
+ TwoFactorAuthRequired: "İki faktorlu autentifikasiya tələb olunur",
4302
+ DeclinedByMerchant: "Üzr istəyirik, lakin əməliyyat satıcı tərəfindən bağlanıb. Əlavə yardım üçün Müştəri Xidməti ilə əlaqə saxlayın.",
4303
+ FraudSuspectedError: "Üzr istəyirik, lakin hazırda əməliyyatınızı icra edə bilmirik, zəhmət olmasa sonra cəhd edin və ya əlavə yardım üçün Müştəri Xidməti ilə əlaqə saxlayın. Xəta kodu 22020",
4304
+ OnlyOnePendingTransactionPerUserlsAllowed: "İstifadəçi üçün yalnız bir gözləmədə əməliyyata icazə verilir",
4305
+ TransactionFrequencyLimitReached: "Əməliyyat tezliyi limitinə çatıldı",
4306
+ DailyTransactionFrequencyLimitReached: "Hazırda əməliyyat icra oluna bilmir, zəhmət olmasa sonra yenidən cəhd edin.",
4307
+ NotMappedVendorError: "Balansınız kifayət deyil və ya əməliyyat limitinizə çatmısınız. Zəhmət olmasa Telekommunikasiya xidməti provayderinizlə əlaqə saxlayın",
4308
+ LOW_BALANCE_OR_PAYEE_LIMIT_REACHED_OR_NOT_ALLOWED: "Balansınız kifayət deyil və ya əməliyyat limitinizə çatmısınız. Zəhmət olmasa Telekommunikasiya xidməti provayderinizlə əlaqə saxlayın",
4309
+ CumulativeLimitExceeded: "Pul limiti keçildi",
4310
+ CumulativeLimitExceededException: "Pul limiti keçildi",
4311
+ InsufficientFunds: "Kifayət qədər vəsait yoxdur",
4312
+ DeclinedByBank: "Əməliyyat bank tərəfindən rədd edildi",
4313
+ MaxNumberOfTransactionsReached: "Maksimum əməliyyat sayına çatıldı",
4314
+ OnlyOnePendingTransactionPerUserIsAllowed: "İstifadəçi üçün yalnız bir gözləmədə əməliyyata icazə verilir",
4315
+ AuthenticationFailed: "Autentifikasiya alınmadı",
4316
+ CommunicationTimeoutError: "Əlaqə vaxtı bitdi",
4317
+ MissingPaymentDetails: "Ödəniş məlumatları yoxdur",
4318
+ InvalidAccount: "Yalnış hesab",
4319
+ DuplicatePaymentAccount: "Pul çıxarma tələbi üçün istifadə etdiyiniz hesab şübhəli hesab edildi və əməliyyatınız təhlükəsizlik səbəbləri ilə ləğv edildi. Ətraflı məlumat üçün canlı dəstəyimizlə əlaqə saxlayın.",
4320
+ InvalidCardHolder: "Yalnış kart sahibi",
4321
+ VendorInvalidCard: "Provayder kartı yalnışdır",
4322
+ CardTokenIsBlocked: "Kart tokeni bloklanıb"
4219
4323
  }
4220
4324
  };
4221
- function Fi(e) {
4222
- _r(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}');
4325
+ function Ui(e) {
4326
+ xn(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}');
4223
4327
  }
4224
- const zi = (e) => ({}), At = (e) => ({}), $i = (e) => ({}), It = (e) => ({}), Gi = (e) => ({}), Bt = (e) => ({}), ji = (e) => ({}), Ht = (e) => ({ class: "CashierErrorIcon" });
4225
- function Ct(e) {
4226
- let t, r, n, i, a;
4328
+ const Fi = (e) => ({}), At = (e) => ({}), Gi = (e) => ({}), St = (e) => ({}), $i = (e) => ({}), Bt = (e) => ({}), ji = (e) => ({}), Ct = (e) => ({ class: "CashierErrorIcon" });
4329
+ function Lt(e) {
4330
+ let t, n, r, i, a;
4227
4331
  const s = (
4228
4332
  /*#slots*/
4229
4333
  e[16].icon
@@ -4232,7 +4336,7 @@ function Ct(e) {
4232
4336
  e,
4233
4337
  /*$$scope*/
4234
4338
  e[15],
4235
- Ht
4339
+ Ct
4236
4340
  ), l = o || Vi(e), u = (
4237
4341
  /*#slots*/
4238
4342
  e[16].title
@@ -4250,163 +4354,163 @@ function Ct(e) {
4250
4354
  e,
4251
4355
  /*$$scope*/
4252
4356
  e[15],
4253
- It
4254
- ), m = d || qi(e), g = (
4357
+ St
4358
+ ), f = d || Xi(e), g = (
4255
4359
  /*#slots*/
4256
4360
  e[16].button
4257
- ), T = pe(
4361
+ ), k = pe(
4258
4362
  g,
4259
4363
  e,
4260
4364
  /*$$scope*/
4261
4365
  e[15],
4262
4366
  At
4263
- ), E = T || Ji(e);
4367
+ ), E = k || Zi(e);
4264
4368
  return {
4265
4369
  c() {
4266
- t = H("div"), l && l.c(), r = K(), c && c.c(), n = K(), m && m.c(), i = K(), E && E.c(), M(t, "class", "CashierErrorContent");
4370
+ t = C("div"), l && l.c(), n = J(), c && c.c(), r = J(), f && f.c(), i = J(), E && E.c(), O(t, "class", "CashierErrorContent");
4267
4371
  },
4268
- m(f, y) {
4269
- A(f, t, y), l && l.m(t, null), B(t, r), c && c.m(t, null), B(t, n), m && m.m(t, null), B(t, i), E && E.m(t, null), a = !0;
4372
+ m(m, v) {
4373
+ A(m, t, v), l && l.m(t, null), B(t, n), c && c.m(t, null), B(t, r), f && f.m(t, null), B(t, i), E && E.m(t, null), a = !0;
4270
4374
  },
4271
- p(f, y) {
4272
- o ? o.p && (!a || y & /*$$scope*/
4273
- 32768) && ve(
4375
+ p(m, v) {
4376
+ o ? o.p && (!a || v & /*$$scope*/
4377
+ 32768) && ye(
4274
4378
  o,
4275
4379
  s,
4276
- f,
4380
+ m,
4277
4381
  /*$$scope*/
4278
- f[15],
4382
+ m[15],
4279
4383
  a ? be(
4280
4384
  s,
4281
4385
  /*$$scope*/
4282
- f[15],
4283
- y,
4386
+ m[15],
4387
+ v,
4284
4388
  ji
4285
- ) : ye(
4389
+ ) : ve(
4286
4390
  /*$$scope*/
4287
- f[15]
4391
+ m[15]
4288
4392
  ),
4289
- Ht
4290
- ) : l && l.p && (!a || y & /*assetsurl*/
4291
- 1) && l.p(f, a ? y : -1), c && c.p && (!a || y & /*$$scope*/
4292
- 32768) && ve(
4393
+ Ct
4394
+ ) : l && l.p && (!a || v & /*assetsurl*/
4395
+ 1) && l.p(m, a ? v : -1), c && c.p && (!a || v & /*$$scope*/
4396
+ 32768) && ye(
4293
4397
  c,
4294
4398
  u,
4295
- f,
4399
+ m,
4296
4400
  /*$$scope*/
4297
- f[15],
4401
+ m[15],
4298
4402
  a ? be(
4299
4403
  u,
4300
4404
  /*$$scope*/
4301
- f[15],
4302
- y,
4303
- Gi
4304
- ) : ye(
4405
+ m[15],
4406
+ v,
4407
+ $i
4408
+ ) : ve(
4305
4409
  /*$$scope*/
4306
- f[15]
4410
+ m[15]
4307
4411
  ),
4308
4412
  Bt
4309
- ), d ? d.p && (!a || y & /*$$scope*/
4310
- 32768) && ve(
4413
+ ), d ? d.p && (!a || v & /*$$scope*/
4414
+ 32768) && ye(
4311
4415
  d,
4312
4416
  h,
4313
- f,
4417
+ m,
4314
4418
  /*$$scope*/
4315
- f[15],
4419
+ m[15],
4316
4420
  a ? be(
4317
4421
  h,
4318
4422
  /*$$scope*/
4319
- f[15],
4320
- y,
4321
- $i
4322
- ) : ye(
4423
+ m[15],
4424
+ v,
4425
+ Gi
4426
+ ) : ve(
4323
4427
  /*$$scope*/
4324
- f[15]
4428
+ m[15]
4325
4429
  ),
4326
- It
4327
- ) : m && m.p && (!a || y & /*$_, depositWageringAmount, depositWageringCurrency, errorcode, shownError, errormessage*/
4328
- 486) && m.p(f, a ? y : -1), T ? T.p && (!a || y & /*$$scope*/
4329
- 32768) && ve(
4330
- T,
4430
+ St
4431
+ ) : f && f.p && (!a || v & /*$_, depositWageringAmount, depositWageringCurrency, errorcode, shownError, errormessage*/
4432
+ 486) && f.p(m, a ? v : -1), k ? k.p && (!a || v & /*$$scope*/
4433
+ 32768) && ye(
4434
+ k,
4331
4435
  g,
4332
- f,
4436
+ m,
4333
4437
  /*$$scope*/
4334
- f[15],
4438
+ m[15],
4335
4439
  a ? be(
4336
4440
  g,
4337
4441
  /*$$scope*/
4338
- f[15],
4339
- y,
4340
- zi
4341
- ) : ye(
4442
+ m[15],
4443
+ v,
4444
+ Fi
4445
+ ) : ve(
4342
4446
  /*$$scope*/
4343
- f[15]
4447
+ m[15]
4344
4448
  ),
4345
4449
  At
4346
- ) : E && E.p && (!a || y & /*$_*/
4347
- 256) && E.p(f, a ? y : -1);
4450
+ ) : E && E.p && (!a || v & /*$_*/
4451
+ 256) && E.p(m, a ? v : -1);
4348
4452
  },
4349
- i(f) {
4350
- a || (D(l, f), D(c, f), D(m, f), D(E, f), a = !0);
4453
+ i(m) {
4454
+ a || (D(l, m), D(c, m), D(f, m), D(E, m), a = !0);
4351
4455
  },
4352
- o(f) {
4353
- J(l, f), J(c, f), J(m, f), J(E, f), a = !1;
4456
+ o(m) {
4457
+ Z(l, m), Z(c, m), Z(f, m), Z(E, m), a = !1;
4354
4458
  },
4355
- d(f) {
4356
- f && k(t), l && l.d(f), c && c.d(f), m && m.d(f), E && E.d(f);
4459
+ d(m) {
4460
+ m && T(t), l && l.d(m), c && c.d(m), f && f.d(m), E && E.d(m);
4357
4461
  }
4358
4462
  };
4359
4463
  }
4360
- function Lt(e) {
4361
- let t, r;
4464
+ function Ht(e) {
4465
+ let t, n;
4362
4466
  return {
4363
4467
  c() {
4364
- t = H("ui-image"), ut(t.src, r = `${/*assetsurl*/
4365
- e[0]}/error-general-icon.png`) || Ee(t, "src", r), Ee(t, "width", "300px"), Ee(t, "alt", "error");
4468
+ t = C("ui-image"), ut(t.src, n = `${/*assetsurl*/
4469
+ e[0]}/error-general-icon.png`) || Ee(t, "src", n), Ee(t, "width", "300px"), Ee(t, "alt", "error");
4366
4470
  },
4367
- m(n, i) {
4368
- A(n, t, i);
4471
+ m(r, i) {
4472
+ A(r, t, i);
4369
4473
  },
4370
- p(n, i) {
4474
+ p(r, i) {
4371
4475
  i & /*assetsurl*/
4372
- 1 && !ut(t.src, r = `${/*assetsurl*/
4373
- n[0]}/error-general-icon.png`) && Ee(t, "src", r);
4476
+ 1 && !ut(t.src, n = `${/*assetsurl*/
4477
+ r[0]}/error-general-icon.png`) && Ee(t, "src", n);
4374
4478
  },
4375
- d(n) {
4376
- n && k(t);
4479
+ d(r) {
4480
+ r && T(t);
4377
4481
  }
4378
4482
  };
4379
4483
  }
4380
4484
  function Vi(e) {
4381
- let t, r = (
4485
+ let t, n = (
4382
4486
  /*assetsurl*/
4383
- e[0] && Lt(e)
4487
+ e[0] && Ht(e)
4384
4488
  );
4385
4489
  return {
4386
4490
  c() {
4387
- r && r.c(), t = et();
4491
+ n && n.c(), t = et();
4388
4492
  },
4389
- m(n, i) {
4390
- r && r.m(n, i), A(n, t, i);
4493
+ m(r, i) {
4494
+ n && n.m(r, i), A(r, t, i);
4391
4495
  },
4392
- p(n, i) {
4496
+ p(r, i) {
4393
4497
  /*assetsurl*/
4394
- n[0] ? r ? r.p(n, i) : (r = Lt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
4498
+ r[0] ? n ? n.p(r, i) : (n = Ht(r), n.c(), n.m(t.parentNode, t)) : n && (n.d(1), n = null);
4395
4499
  },
4396
- d(n) {
4397
- n && k(t), r && r.d(n);
4500
+ d(r) {
4501
+ r && T(t), n && n.d(r);
4398
4502
  }
4399
4503
  };
4400
4504
  }
4401
- function Pt(e) {
4505
+ function Mt(e) {
4402
4506
  let t;
4403
- function r(a, s) {
4507
+ function n(a, s) {
4404
4508
  return (
4405
4509
  /*depositWageringAmount*/
4406
- a[5] < 0 ? Xi : Wi
4510
+ a[5] < 0 ? qi : Wi
4407
4511
  );
4408
4512
  }
4409
- let n = r(e), i = n(e);
4513
+ let r = n(e), i = r(e);
4410
4514
  return {
4411
4515
  c() {
4412
4516
  i.c(), t = et();
@@ -4415,75 +4519,75 @@ function Pt(e) {
4415
4519
  i.m(a, s), A(a, t, s);
4416
4520
  },
4417
4521
  p(a, s) {
4418
- n === (n = r(a)) && i ? i.p(a, s) : (i.d(1), i = n(a), i && (i.c(), i.m(t.parentNode, t)));
4522
+ r === (r = n(a)) && i ? i.p(a, s) : (i.d(1), i = r(a), i && (i.c(), i.m(t.parentNode, t)));
4419
4523
  },
4420
4524
  d(a) {
4421
- a && k(t), i.d(a);
4525
+ a && T(t), i.d(a);
4422
4526
  }
4423
4527
  };
4424
4528
  }
4425
4529
  function Wi(e) {
4426
- let t, r = (
4530
+ let t, n = (
4427
4531
  /*$_*/
4428
4532
  e[8]("DepositWageringLimitText") + ""
4429
- ), n, i, a = (
4533
+ ), r, i, a = (
4430
4534
  /*depositWageringAmount*/
4431
- e[5] > 0 && Ot(e)
4535
+ e[5] > 0 && Pt(e)
4432
4536
  );
4433
4537
  return {
4434
4538
  c() {
4435
- t = H("span"), n = R(r), i = K(), a && a.c(), M(t, "class", "CashierErrorText");
4539
+ t = C("span"), r = R(n), i = J(), a && a.c(), O(t, "class", "CashierErrorText");
4436
4540
  },
4437
4541
  m(s, o) {
4438
- A(s, t, o), B(t, n), B(t, i), a && a.m(t, null);
4542
+ A(s, t, o), B(t, r), B(t, i), a && a.m(t, null);
4439
4543
  },
4440
4544
  p(s, o) {
4441
4545
  o & /*$_*/
4442
- 256 && r !== (r = /*$_*/
4443
- s[8]("DepositWageringLimitText") + "") && Y(n, r), /*depositWageringAmount*/
4444
- s[5] > 0 ? a ? a.p(s, o) : (a = Ot(s), a.c(), a.m(t, null)) : a && (a.d(1), a = null);
4546
+ 256 && n !== (n = /*$_*/
4547
+ s[8]("DepositWageringLimitText") + "") && Y(r, n), /*depositWageringAmount*/
4548
+ s[5] > 0 ? a ? a.p(s, o) : (a = Pt(s), a.c(), a.m(t, null)) : a && (a.d(1), a = null);
4445
4549
  },
4446
4550
  d(s) {
4447
- s && k(t), a && a.d();
4551
+ s && T(t), a && a.d();
4448
4552
  }
4449
4553
  };
4450
4554
  }
4451
- function Xi(e) {
4452
- let t, r, n = (
4555
+ function qi(e) {
4556
+ let t, n, r = (
4453
4557
  /*$_*/
4454
4558
  e[8]("DepositWageringFetching") + ""
4455
4559
  ), i;
4456
4560
  return {
4457
4561
  c() {
4458
- t = H("div"), r = H("span"), i = R(n), M(r, "class", "CashierErrorText LoadingText"), M(t, "class", "WageringFetch");
4562
+ t = C("div"), n = C("span"), i = R(r), O(n, "class", "CashierErrorText LoadingText"), O(t, "class", "WageringFetch");
4459
4563
  },
4460
4564
  m(a, s) {
4461
- A(a, t, s), B(t, r), B(r, i);
4565
+ A(a, t, s), B(t, n), B(n, i);
4462
4566
  },
4463
4567
  p(a, s) {
4464
4568
  s & /*$_*/
4465
- 256 && n !== (n = /*$_*/
4466
- a[8]("DepositWageringFetching") + "") && Y(i, n);
4569
+ 256 && r !== (r = /*$_*/
4570
+ a[8]("DepositWageringFetching") + "") && Y(i, r);
4467
4571
  },
4468
4572
  d(a) {
4469
- a && k(t);
4573
+ a && T(t);
4470
4574
  }
4471
4575
  };
4472
4576
  }
4473
- function Ot(e) {
4474
- let t, r, n;
4577
+ function Pt(e) {
4578
+ let t, n, r;
4475
4579
  return {
4476
4580
  c() {
4477
4581
  t = R(
4478
4582
  /*depositWageringAmount*/
4479
4583
  e[5]
4480
- ), r = K(), n = R(
4584
+ ), n = J(), r = R(
4481
4585
  /*depositWageringCurrency*/
4482
4586
  e[6]
4483
4587
  );
4484
4588
  },
4485
4589
  m(i, a) {
4486
- A(i, t, a), A(i, r, a), A(i, n, a);
4590
+ A(i, t, a), A(i, n, a), A(i, r, a);
4487
4591
  },
4488
4592
  p(i, a) {
4489
4593
  a & /*depositWageringAmount*/
@@ -4493,18 +4597,18 @@ function Ot(e) {
4493
4597
  i[5]
4494
4598
  ), a & /*depositWageringCurrency*/
4495
4599
  64 && Y(
4496
- n,
4600
+ r,
4497
4601
  /*depositWageringCurrency*/
4498
4602
  i[6]
4499
4603
  );
4500
4604
  },
4501
4605
  d(i) {
4502
- i && (k(t), k(r), k(n));
4606
+ i && (T(t), T(n), T(r));
4503
4607
  }
4504
4608
  };
4505
4609
  }
4506
- function qi(e) {
4507
- let t, r = (
4610
+ function Xi(e) {
4611
+ let t, n = (
4508
4612
  /*errorcode*/
4509
4613
  (e[1] ? (
4510
4614
  /*shownError*/
@@ -4513,45 +4617,45 @@ function qi(e) {
4513
4617
  /*errormessage*/
4514
4618
  e[2]
4515
4619
  )) + ""
4516
- ), n, i, a, s = (
4620
+ ), r, i, a, s = (
4517
4621
  /*errorcode*/
4518
- e[1] == "DepositWageringLimit" && Pt(e)
4622
+ e[1] == "DepositWageringLimit" && Mt(e)
4519
4623
  );
4520
4624
  return {
4521
4625
  c() {
4522
- t = H("span"), n = R(r), i = K(), s && s.c(), a = et(), M(t, "class", "CashierErrorText");
4626
+ t = C("span"), r = R(n), i = J(), s && s.c(), a = et(), O(t, "class", "CashierErrorText");
4523
4627
  },
4524
4628
  m(o, l) {
4525
- A(o, t, l), B(t, n), A(o, i, l), s && s.m(o, l), A(o, a, l);
4629
+ A(o, t, l), B(t, r), A(o, i, l), s && s.m(o, l), A(o, a, l);
4526
4630
  },
4527
4631
  p(o, l) {
4528
4632
  l & /*errorcode, shownError, errormessage*/
4529
- 134 && r !== (r = /*errorcode*/
4633
+ 134 && n !== (n = /*errorcode*/
4530
4634
  (o[1] ? (
4531
4635
  /*shownError*/
4532
4636
  o[7]
4533
4637
  ) : (
4534
4638
  /*errormessage*/
4535
4639
  o[2]
4536
- )) + "") && Y(n, r), /*errorcode*/
4537
- o[1] == "DepositWageringLimit" ? s ? s.p(o, l) : (s = Pt(o), s.c(), s.m(a.parentNode, a)) : s && (s.d(1), s = null);
4640
+ )) + "") && Y(r, n), /*errorcode*/
4641
+ o[1] == "DepositWageringLimit" ? s ? s.p(o, l) : (s = Mt(o), s.c(), s.m(a.parentNode, a)) : s && (s.d(1), s = null);
4538
4642
  },
4539
4643
  d(o) {
4540
- o && (k(t), k(i), k(a)), s && s.d(o);
4644
+ o && (T(t), T(i), T(a)), s && s.d(o);
4541
4645
  }
4542
4646
  };
4543
4647
  }
4544
- function Ji(e) {
4545
- let t, r, n = (
4648
+ function Zi(e) {
4649
+ let t, n, r = (
4546
4650
  /*$_*/
4547
4651
  e[8]("errorGeneralButton") + ""
4548
4652
  ), i, a, s;
4549
4653
  return {
4550
4654
  c() {
4551
- t = H("button"), r = H("span"), i = R(n), M(t, "class", "CashierErrorButton");
4655
+ t = C("button"), n = C("span"), i = R(r), O(t, "class", "CashierErrorButton");
4552
4656
  },
4553
4657
  m(o, l) {
4554
- A(o, t, l), B(t, r), B(r, i), a || (s = kr(
4658
+ A(o, t, l), B(t, n), B(n, i), a || (s = wn(
4555
4659
  t,
4556
4660
  "click",
4557
4661
  /*close*/
@@ -4560,95 +4664,95 @@ function Ji(e) {
4560
4664
  },
4561
4665
  p(o, l) {
4562
4666
  l & /*$_*/
4563
- 256 && n !== (n = /*$_*/
4564
- o[8]("errorGeneralButton") + "") && Y(i, n);
4667
+ 256 && r !== (r = /*$_*/
4668
+ o[8]("errorGeneralButton") + "") && Y(i, r);
4565
4669
  },
4566
4670
  d(o) {
4567
- o && k(t), a = !1, s();
4671
+ o && T(t), a = !1, s();
4568
4672
  }
4569
4673
  };
4570
4674
  }
4571
- function Ki(e) {
4572
- let t, r, n = !/*isLoading*/
4573
- e[4] && Ct(e);
4675
+ function Ji(e) {
4676
+ let t, n, r = !/*isLoading*/
4677
+ e[4] && Lt(e);
4574
4678
  return {
4575
4679
  c() {
4576
- t = H("div"), n && n.c(), M(t, "class", "CashierError");
4680
+ t = C("div"), r && r.c(), O(t, "class", "CashierError");
4577
4681
  },
4578
4682
  m(i, a) {
4579
- A(i, t, a), n && n.m(t, null), e[17](t), r = !0;
4683
+ A(i, t, a), r && r.m(t, null), e[17](t), n = !0;
4580
4684
  },
4581
4685
  p(i, [a]) {
4582
4686
  /*isLoading*/
4583
- i[4] ? n && (Pr(), J(n, 1, 1, () => {
4584
- n = null;
4585
- }), Or()) : n ? (n.p(i, a), a & /*isLoading*/
4586
- 16 && D(n, 1)) : (n = Ct(i), n.c(), D(n, 1), n.m(t, null));
4687
+ i[4] ? r && (Pn(), Z(r, 1, 1, () => {
4688
+ r = null;
4689
+ }), On()) : r ? (r.p(i, a), a & /*isLoading*/
4690
+ 16 && D(r, 1)) : (r = Lt(i), r.c(), D(r, 1), r.m(t, null));
4587
4691
  },
4588
4692
  i(i) {
4589
- r || (D(n), r = !0);
4693
+ n || (D(r), n = !0);
4590
4694
  },
4591
4695
  o(i) {
4592
- J(n), r = !1;
4696
+ Z(r), n = !1;
4593
4697
  },
4594
4698
  d(i) {
4595
- i && k(t), n && n.d(), e[17](null);
4699
+ i && T(t), r && r.d(), e[17](null);
4596
4700
  }
4597
4701
  };
4598
4702
  }
4599
- function Zi(e, t, r) {
4600
- let n;
4601
- Er(e, Ri, (b) => r(8, n = b));
4602
- 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;
4603
- const F = () => {
4604
- Ui(o);
4605
- }, P = () => {
4606
- r(4, w = !0);
4703
+ function Ki(e, t, n) {
4704
+ let r;
4705
+ _n(e, Ri, (b) => n(8, r = b));
4706
+ 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: f = "" } = t, g, k, E = -1, m, v, w = !1;
4707
+ const U = () => {
4708
+ zi(o);
4709
+ }, M = () => {
4710
+ n(4, w = !0);
4607
4711
  let b = d;
4608
4712
  if (b)
4609
4713
  return fetch(b).then((j) => j.json()).then((j) => {
4610
- Object.keys(j).forEach((nt) => {
4611
- wt(nt, j[nt]);
4714
+ Object.keys(j).forEach((rt) => {
4715
+ wt(rt, j[rt]);
4612
4716
  });
4613
4717
  }).catch((j) => {
4614
4718
  console.log(j);
4615
4719
  }).finally(() => {
4616
- r(4, w = !1);
4720
+ n(4, w = !1);
4617
4721
  });
4618
4722
  };
4619
- Object.keys(St).forEach((b) => {
4620
- wt(b, St[b]);
4723
+ Object.keys(It).forEach((b) => {
4724
+ wt(b, It[b]);
4621
4725
  });
4622
- const G = () => {
4726
+ const $ = () => {
4623
4727
  window.postMessage({ type: "ErrorClose" }, window.location.href);
4624
4728
  }, se = (b) => {
4625
4729
  if (b.data)
4626
4730
  switch (b.data.type) {
4627
4731
  case "DepositWageringAmount":
4628
- r(5, E = b.data.amount), r(6, f = b.data.currency);
4732
+ n(5, E = b.data.amount), n(6, m = b.data.currency);
4629
4733
  break;
4630
4734
  }
4631
- }, hr = () => {
4632
- r(7, y = n(`${l || "errorGeneralText"}`));
4735
+ }, dn = () => {
4736
+ n(7, v = r(`${l || "errorGeneralText"}`));
4633
4737
  };
4634
- Ir(() => (window.addEventListener("message", se, !1), () => {
4738
+ Bn(() => (window.addEventListener("message", se, !1), () => {
4635
4739
  window.removeEventListener("message", se);
4636
4740
  }));
4637
- function dr(b) {
4638
- $e[b ? "unshift" : "push"](() => {
4639
- g = b, r(3, g);
4741
+ function mn(b) {
4742
+ Ge[b ? "unshift" : "push"](() => {
4743
+ g = b, n(3, g);
4640
4744
  });
4641
4745
  }
4642
4746
  return e.$$set = (b) => {
4643
- "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);
4747
+ "assetsurl" in b && n(0, s = b.assetsurl), "lang" in b && n(10, o = b.lang), "errorcode" in b && n(1, l = b.errorcode), "errormessage" in b && n(2, u = b.errormessage), "clientstyling" in b && n(11, c = b.clientstyling), "clientstylingurl" in b && n(12, h = b.clientstylingurl), "translationurl" in b && n(13, d = b.translationurl), "mbsource" in b && n(14, f = b.mbsource), "$$scope" in b && n(15, a = b.$$scope);
4644
4748
  }, e.$$.update = () => {
4645
4749
  e.$$.dirty & /*lang*/
4646
- 1024 && o && F(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4647
- 2056 && c && g && $r(g, c), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4648
- 4104 && h && g && Gr(g, h), e.$$.dirty & /*mbsource, customStylingContainer*/
4649
- 16392 && m && g && jr(g, `${m}.Style`, T), e.$$.dirty & /*translationurl*/
4650
- 8192 && d && P(), e.$$.dirty & /*isLoading*/
4651
- 16 && !w && hr();
4750
+ 1024 && o && U(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4751
+ 2056 && c && g && $n(g, c), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4752
+ 4104 && h && g && jn(g, h), e.$$.dirty & /*mbsource, customStylingContainer*/
4753
+ 16392 && f && g && Vn(g, `${f}.Style`, k), e.$$.dirty & /*translationurl*/
4754
+ 8192 && d && M(), e.$$.dirty & /*isLoading*/
4755
+ 16 && !w && dn();
4652
4756
  }, [
4653
4757
  s,
4654
4758
  l,
@@ -4656,27 +4760,27 @@ function Zi(e, t, r) {
4656
4760
  g,
4657
4761
  w,
4658
4762
  E,
4659
- f,
4660
- y,
4661
- n,
4662
- G,
4763
+ m,
4764
+ v,
4765
+ r,
4766
+ $,
4663
4767
  o,
4664
4768
  c,
4665
4769
  h,
4666
4770
  d,
4667
- m,
4771
+ f,
4668
4772
  a,
4669
4773
  i,
4670
- dr
4774
+ mn
4671
4775
  ];
4672
4776
  }
4673
- class Yi extends Fr {
4777
+ class Yi extends Fn {
4674
4778
  constructor(t) {
4675
- super(), Rr(
4779
+ super(), zn(
4676
4780
  this,
4677
4781
  t,
4678
- Zi,
4679
4782
  Ki,
4783
+ Ji,
4680
4784
  Dt,
4681
4785
  {
4682
4786
  assetsurl: 0,
@@ -4688,59 +4792,59 @@ class Yi extends Fr {
4688
4792
  translationurl: 13,
4689
4793
  mbsource: 14
4690
4794
  },
4691
- Fi
4795
+ Ui
4692
4796
  );
4693
4797
  }
4694
4798
  get assetsurl() {
4695
4799
  return this.$$.ctx[0];
4696
4800
  }
4697
4801
  set assetsurl(t) {
4698
- this.$$set({ assetsurl: t }), C();
4802
+ this.$$set({ assetsurl: t }), L();
4699
4803
  }
4700
4804
  get lang() {
4701
4805
  return this.$$.ctx[10];
4702
4806
  }
4703
4807
  set lang(t) {
4704
- this.$$set({ lang: t }), C();
4808
+ this.$$set({ lang: t }), L();
4705
4809
  }
4706
4810
  get errorcode() {
4707
4811
  return this.$$.ctx[1];
4708
4812
  }
4709
4813
  set errorcode(t) {
4710
- this.$$set({ errorcode: t }), C();
4814
+ this.$$set({ errorcode: t }), L();
4711
4815
  }
4712
4816
  get errormessage() {
4713
4817
  return this.$$.ctx[2];
4714
4818
  }
4715
4819
  set errormessage(t) {
4716
- this.$$set({ errormessage: t }), C();
4820
+ this.$$set({ errormessage: t }), L();
4717
4821
  }
4718
4822
  get clientstyling() {
4719
4823
  return this.$$.ctx[11];
4720
4824
  }
4721
4825
  set clientstyling(t) {
4722
- this.$$set({ clientstyling: t }), C();
4826
+ this.$$set({ clientstyling: t }), L();
4723
4827
  }
4724
4828
  get clientstylingurl() {
4725
4829
  return this.$$.ctx[12];
4726
4830
  }
4727
4831
  set clientstylingurl(t) {
4728
- this.$$set({ clientstylingurl: t }), C();
4832
+ this.$$set({ clientstylingurl: t }), L();
4729
4833
  }
4730
4834
  get translationurl() {
4731
4835
  return this.$$.ctx[13];
4732
4836
  }
4733
4837
  set translationurl(t) {
4734
- this.$$set({ translationurl: t }), C();
4838
+ this.$$set({ translationurl: t }), L();
4735
4839
  }
4736
4840
  get mbsource() {
4737
4841
  return this.$$.ctx[14];
4738
4842
  }
4739
4843
  set mbsource(t) {
4740
- this.$$set({ mbsource: t }), C();
4844
+ this.$$set({ mbsource: t }), L();
4741
4845
  }
4742
4846
  }
4743
- Ur(Yi, { assetsurl: {}, lang: {}, errorcode: {}, errormessage: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
4847
+ Un(Yi, { assetsurl: {}, lang: {}, errorcode: {}, errormessage: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
4744
4848
  export {
4745
4849
  Yi as default
4746
4850
  };