@everymatrix/player-account-balance-modal 1.87.26 → 1.87.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,75 +1,75 @@
1
- var ur = Object.defineProperty, lr = Object.defineProperties;
2
- var hr = Object.getOwnPropertyDescriptors;
3
- var sn = Object.getOwnPropertySymbols;
4
- var cr = Object.prototype.hasOwnProperty, fr = Object.prototype.propertyIsEnumerable;
5
- var Rt = Math.pow, Lt = (e, t, n) => t in e ? ur(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Nt = (e, t) => {
1
+ var lr = Object.defineProperty, hr = Object.defineProperties;
2
+ var cr = Object.getOwnPropertyDescriptors;
3
+ var un = Object.getOwnPropertySymbols;
4
+ var fr = Object.prototype.hasOwnProperty, dr = Object.prototype.propertyIsEnumerable;
5
+ var Nt = Math.pow, Rt = (e, t, n) => t in e ? lr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Mt = (e, t) => {
6
6
  for (var n in t || (t = {}))
7
- cr.call(t, n) && Lt(e, n, t[n]);
8
- if (sn)
9
- for (var n of sn(t))
10
- fr.call(t, n) && Lt(e, n, t[n]);
7
+ fr.call(t, n) && Rt(e, n, t[n]);
8
+ if (un)
9
+ for (var n of un(t))
10
+ dr.call(t, n) && Rt(e, n, t[n]);
11
11
  return e;
12
- }, Mt = (e, t) => lr(e, hr(t));
13
- var oe = (e, t, n) => (Lt(e, typeof t != "symbol" ? t + "" : t, n), n);
14
- var Pt = (e, t, n) => new Promise((r, i) => {
15
- var o = (f) => {
12
+ }, Pt = (e, t) => hr(e, cr(t));
13
+ var se = (e, t, n) => (Rt(e, typeof t != "symbol" ? t + "" : t, n), n);
14
+ var It = (e, t, n) => new Promise((r, o) => {
15
+ var i = (f) => {
16
16
  try {
17
- s(n.next(f));
17
+ a(n.next(f));
18
18
  } catch (l) {
19
- i(l);
19
+ o(l);
20
20
  }
21
21
  }, u = (f) => {
22
22
  try {
23
- s(n.throw(f));
23
+ a(n.throw(f));
24
24
  } catch (l) {
25
- i(l);
25
+ o(l);
26
26
  }
27
- }, s = (f) => f.done ? r(f.value) : Promise.resolve(f.value).then(o, u);
28
- s((n = n.apply(e, t)).next());
27
+ }, a = (f) => f.done ? r(f.value) : Promise.resolve(f.value).then(i, u);
28
+ a((n = n.apply(e, t)).next());
29
29
  });
30
- function ae() {
30
+ function ue() {
31
31
  }
32
- function Ln(e) {
32
+ function Rn(e) {
33
33
  return e();
34
34
  }
35
- function un() {
35
+ function ln() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
- function $e(e) {
39
- e.forEach(Ln);
38
+ function ke(e) {
39
+ e.forEach(Rn);
40
40
  }
41
- function nn(e) {
41
+ function rn(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function Rn(e, t) {
44
+ function Nn(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
- function dr(e) {
47
+ function pr(e) {
48
48
  return Object.keys(e).length === 0;
49
49
  }
50
- function Nn(e, ...t) {
50
+ function Mn(e, ...t) {
51
51
  if (e == null) {
52
52
  for (const r of t)
53
53
  r(void 0);
54
- return ae;
54
+ return ue;
55
55
  }
56
56
  const n = e.subscribe(...t);
57
57
  return n.unsubscribe ? () => n.unsubscribe() : n;
58
58
  }
59
- function pr(e, t, n) {
60
- e.$$.on_destroy.push(Nn(t, n));
59
+ function mr(e, t, n) {
60
+ e.$$.on_destroy.push(Mn(t, n));
61
61
  }
62
- function M(e, t) {
62
+ function R(e, t) {
63
63
  e.appendChild(t);
64
64
  }
65
- function mr(e, t, n) {
66
- const r = gr(e);
65
+ function gr(e, t, n) {
66
+ const r = br(e);
67
67
  if (!r.getElementById(t)) {
68
- const i = G("style");
69
- i.id = t, i.textContent = n, br(r, i);
68
+ const o = G("style");
69
+ o.id = t, o.textContent = n, yr(r, o);
70
70
  }
71
71
  }
72
- function gr(e) {
72
+ function br(e) {
73
73
  if (!e)
74
74
  return document;
75
75
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -79,8 +79,8 @@ function gr(e) {
79
79
  t
80
80
  ) : e.ownerDocument;
81
81
  }
82
- function br(e, t) {
83
- return M(
82
+ function yr(e, t) {
83
+ return R(
84
84
  /** @type {Document} */
85
85
  e.head || e,
86
86
  t
@@ -92,36 +92,36 @@ function de(e, t, n) {
92
92
  function he(e) {
93
93
  e.parentNode && e.parentNode.removeChild(e);
94
94
  }
95
- function Mn(e, t) {
95
+ function Pn(e, t) {
96
96
  for (let n = 0; n < e.length; n += 1)
97
97
  e[n] && e[n].d(t);
98
98
  }
99
99
  function G(e) {
100
100
  return document.createElement(e);
101
101
  }
102
- function Ee(e) {
102
+ function ye(e) {
103
103
  return document.createTextNode(e);
104
104
  }
105
- function xe() {
106
- return Ee(" ");
105
+ function ve() {
106
+ return ye(" ");
107
107
  }
108
- function yr() {
109
- return Ee("");
108
+ function vr() {
109
+ return ye("");
110
110
  }
111
- function pt(e, t, n, r) {
111
+ function bt(e, t, n, r) {
112
112
  return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);
113
113
  }
114
114
  function z(e, t, n) {
115
115
  n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
116
116
  }
117
- function vr(e) {
117
+ function Er(e) {
118
118
  return Array.from(e.childNodes);
119
119
  }
120
120
  function He(e, t) {
121
121
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
122
122
  t);
123
123
  }
124
- function Er(e) {
124
+ function xr(e) {
125
125
  const t = {};
126
126
  return e.childNodes.forEach(
127
127
  /** @param {Element} node */
@@ -130,98 +130,98 @@ function Er(e) {
130
130
  }
131
131
  ), t;
132
132
  }
133
- let et;
134
- function Ke(e) {
135
- et = e;
133
+ let nt;
134
+ function tt(e) {
135
+ nt = e;
136
136
  }
137
- function xr() {
138
- if (!et)
137
+ function _r() {
138
+ if (!nt)
139
139
  throw new Error("Function called outside component initialization");
140
- return et;
140
+ return nt;
141
141
  }
142
- function _r(e) {
143
- xr().$$.on_mount.push(e);
142
+ function Tr(e) {
143
+ _r().$$.on_mount.push(e);
144
144
  }
145
- const Ie = [], kt = [];
146
- let De = [];
147
- const ln = [], Tr = /* @__PURE__ */ Promise.resolve();
148
- let Vt = !1;
145
+ const Ie = [], Vt = [];
146
+ let Fe = [];
147
+ const hn = [], Sr = /* @__PURE__ */ Promise.resolve();
148
+ let Xt = !1;
149
149
  function Br() {
150
- Vt || (Vt = !0, Tr.then(k));
150
+ Xt || (Xt = !0, Sr.then(k));
151
151
  }
152
- function Xt(e) {
153
- De.push(e);
152
+ function zt(e) {
153
+ Fe.push(e);
154
154
  }
155
- const It = /* @__PURE__ */ new Set();
155
+ const Dt = /* @__PURE__ */ new Set();
156
156
  let Me = 0;
157
157
  function k() {
158
158
  if (Me !== 0)
159
159
  return;
160
- const e = et;
160
+ const e = nt;
161
161
  do {
162
162
  try {
163
163
  for (; Me < Ie.length; ) {
164
164
  const t = Ie[Me];
165
- Me++, Ke(t), Sr(t.$$);
165
+ Me++, tt(t), wr(t.$$);
166
166
  }
167
167
  } catch (t) {
168
168
  throw Ie.length = 0, Me = 0, t;
169
169
  }
170
- for (Ke(null), Ie.length = 0, Me = 0; kt.length; )
171
- kt.pop()();
172
- for (let t = 0; t < De.length; t += 1) {
173
- const n = De[t];
174
- It.has(n) || (It.add(n), n());
170
+ for (tt(null), Ie.length = 0, Me = 0; Vt.length; )
171
+ Vt.pop()();
172
+ for (let t = 0; t < Fe.length; t += 1) {
173
+ const n = Fe[t];
174
+ Dt.has(n) || (Dt.add(n), n());
175
175
  }
176
- De.length = 0;
176
+ Fe.length = 0;
177
177
  } while (Ie.length);
178
- for (; ln.length; )
179
- ln.pop()();
180
- Vt = !1, It.clear(), Ke(e);
178
+ for (; hn.length; )
179
+ hn.pop()();
180
+ Xt = !1, Dt.clear(), tt(e);
181
181
  }
182
- function Sr(e) {
182
+ function wr(e) {
183
183
  if (e.fragment !== null) {
184
- e.update(), $e(e.before_update);
184
+ e.update(), ke(e.before_update);
185
185
  const t = e.dirty;
186
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Xt);
186
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(zt);
187
187
  }
188
188
  }
189
- function wr(e) {
189
+ function Ar(e) {
190
190
  const t = [], n = [];
191
- De.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), De = t;
191
+ Fe.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), Fe = t;
192
192
  }
193
- const Ar = /* @__PURE__ */ new Set();
194
- function Cr(e, t) {
195
- e && e.i && (Ar.delete(e), e.i(t));
193
+ const Cr = /* @__PURE__ */ new Set();
194
+ function Hr(e, t) {
195
+ e && e.i && (Cr.delete(e), e.i(t));
196
196
  }
197
- function mt(e) {
197
+ function yt(e) {
198
198
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
199
199
  }
200
- function Hr(e, t, n) {
201
- const { fragment: r, after_update: i } = e.$$;
202
- r && r.m(t, n), Xt(() => {
203
- const o = e.$$.on_mount.map(Ln).filter(nn);
204
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : $e(o), e.$$.on_mount = [];
205
- }), i.forEach(Xt);
200
+ function Or(e, t, n) {
201
+ const { fragment: r, after_update: o } = e.$$;
202
+ r && r.m(t, n), zt(() => {
203
+ const i = e.$$.on_mount.map(Rn).filter(rn);
204
+ e.$$.on_destroy ? e.$$.on_destroy.push(...i) : ke(i), e.$$.on_mount = [];
205
+ }), o.forEach(zt);
206
206
  }
207
- function Or(e, t) {
207
+ function Lr(e, t) {
208
208
  const n = e.$$;
209
- n.fragment !== null && (wr(n.after_update), $e(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
209
+ n.fragment !== null && (Ar(n.after_update), ke(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
210
210
  }
211
- function Lr(e, t) {
211
+ function Rr(e, t) {
212
212
  e.$$.dirty[0] === -1 && (Ie.push(e), Br(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
213
213
  }
214
- function Rr(e, t, n, r, i, o, u = null, s = [-1]) {
215
- const f = et;
216
- Ke(e);
214
+ function Nr(e, t, n, r, o, i, u = null, a = [-1]) {
215
+ const f = nt;
216
+ tt(e);
217
217
  const l = e.$$ = {
218
218
  fragment: null,
219
219
  ctx: [],
220
220
  // state
221
- props: o,
222
- update: ae,
223
- not_equal: i,
224
- bound: un(),
221
+ props: i,
222
+ update: ue,
223
+ not_equal: o,
224
+ bound: ln(),
225
225
  // lifecycle
226
226
  on_mount: [],
227
227
  on_destroy: [],
@@ -230,72 +230,72 @@ function Rr(e, t, n, r, i, o, u = null, s = [-1]) {
230
230
  after_update: [],
231
231
  context: new Map(t.context || (f ? f.$$.context : [])),
232
232
  // everything else
233
- callbacks: un(),
234
- dirty: s,
233
+ callbacks: ln(),
234
+ dirty: a,
235
235
  skip_bound: !1,
236
236
  root: t.target || f.$$.root
237
237
  };
238
238
  u && u(l.root);
239
239
  let d = !1;
240
- if (l.ctx = n ? n(e, t.props || {}, (m, b, ..._) => {
241
- const B = _.length ? _[0] : b;
242
- return l.ctx && i(l.ctx[m], l.ctx[m] = B) && (!l.skip_bound && l.bound[m] && l.bound[m](B), d && Lr(e, m)), b;
243
- }) : [], l.update(), d = !0, $e(l.before_update), l.fragment = r ? r(l.ctx) : !1, t.target) {
240
+ if (l.ctx = n ? n(e, t.props || {}, (g, y, ..._) => {
241
+ const B = _.length ? _[0] : y;
242
+ return l.ctx && o(l.ctx[g], l.ctx[g] = B) && (!l.skip_bound && l.bound[g] && l.bound[g](B), d && Rr(e, g)), y;
243
+ }) : [], l.update(), d = !0, ke(l.before_update), l.fragment = r ? r(l.ctx) : !1, t.target) {
244
244
  if (t.hydrate) {
245
- const m = vr(t.target);
246
- l.fragment && l.fragment.l(m), m.forEach(he);
245
+ const g = Er(t.target);
246
+ l.fragment && l.fragment.l(g), g.forEach(he);
247
247
  } else
248
248
  l.fragment && l.fragment.c();
249
- t.intro && Cr(e.$$.fragment), Hr(e, t.target, t.anchor), k();
249
+ t.intro && Hr(e.$$.fragment), Or(e, t.target, t.anchor), k();
250
250
  }
251
- Ke(f);
251
+ tt(f);
252
252
  }
253
- let Pn;
254
- typeof HTMLElement == "function" && (Pn = class extends HTMLElement {
253
+ let In;
254
+ typeof HTMLElement == "function" && (In = class extends HTMLElement {
255
255
  constructor(t, n, r) {
256
256
  super();
257
257
  /** The Svelte component constructor */
258
- oe(this, "$$ctor");
258
+ se(this, "$$ctor");
259
259
  /** Slots */
260
- oe(this, "$$s");
260
+ se(this, "$$s");
261
261
  /** The Svelte component instance */
262
- oe(this, "$$c");
262
+ se(this, "$$c");
263
263
  /** Whether or not the custom element is connected */
264
- oe(this, "$$cn", !1);
264
+ se(this, "$$cn", !1);
265
265
  /** Component props data */
266
- oe(this, "$$d", {});
266
+ se(this, "$$d", {});
267
267
  /** `true` if currently in the process of reflecting component props back to attributes */
268
- oe(this, "$$r", !1);
268
+ se(this, "$$r", !1);
269
269
  /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
270
- oe(this, "$$p_d", {});
270
+ se(this, "$$p_d", {});
271
271
  /** @type {Record<string, Function[]>} Event listeners */
272
- oe(this, "$$l", {});
272
+ se(this, "$$l", {});
273
273
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
274
- oe(this, "$$l_u", /* @__PURE__ */ new Map());
274
+ se(this, "$$l_u", /* @__PURE__ */ new Map());
275
275
  this.$$ctor = t, this.$$s = n, r && this.attachShadow({ mode: "open" });
276
276
  }
277
277
  addEventListener(t, n, r) {
278
278
  if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(n), this.$$c) {
279
- const i = this.$$c.$on(t, n);
280
- this.$$l_u.set(n, i);
279
+ const o = this.$$c.$on(t, n);
280
+ this.$$l_u.set(n, o);
281
281
  }
282
282
  super.addEventListener(t, n, r);
283
283
  }
284
284
  removeEventListener(t, n, r) {
285
285
  if (super.removeEventListener(t, n, r), this.$$c) {
286
- const i = this.$$l_u.get(n);
287
- i && (i(), this.$$l_u.delete(n));
286
+ const o = this.$$l_u.get(n);
287
+ o && (o(), this.$$l_u.delete(n));
288
288
  }
289
289
  }
290
290
  connectedCallback() {
291
- return Pt(this, null, function* () {
291
+ return It(this, null, function* () {
292
292
  if (this.$$cn = !0, !this.$$c) {
293
- let t = function(o) {
293
+ let t = function(i) {
294
294
  return () => {
295
295
  let u;
296
296
  return {
297
297
  c: function() {
298
- u = G("slot"), o !== "default" && z(u, "name", o);
298
+ u = G("slot"), i !== "default" && z(u, "name", i);
299
299
  },
300
300
  /**
301
301
  * @param {HTMLElement} target
@@ -312,43 +312,43 @@ typeof HTMLElement == "function" && (Pn = class extends HTMLElement {
312
312
  };
313
313
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
314
314
  return;
315
- const n = {}, r = Er(this);
316
- for (const o of this.$$s)
317
- o in r && (n[o] = [t(o)]);
318
- for (const o of this.attributes) {
319
- const u = this.$$g_p(o.name);
320
- u in this.$$d || (this.$$d[u] = ct(u, o.value, this.$$p_d, "toProp"));
315
+ const n = {}, r = xr(this);
316
+ for (const i of this.$$s)
317
+ i in r && (n[i] = [t(i)]);
318
+ for (const i of this.attributes) {
319
+ const u = this.$$g_p(i.name);
320
+ u in this.$$d || (this.$$d[u] = pt(u, i.value, this.$$p_d, "toProp"));
321
321
  }
322
- for (const o in this.$$p_d)
323
- !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
322
+ for (const i in this.$$p_d)
323
+ !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
324
324
  this.$$c = new this.$$ctor({
325
325
  target: this.shadowRoot || this,
326
- props: Mt(Nt({}, this.$$d), {
326
+ props: Pt(Mt({}, this.$$d), {
327
327
  $$slots: n,
328
328
  $$scope: {
329
329
  ctx: []
330
330
  }
331
331
  })
332
332
  });
333
- const i = () => {
333
+ const o = () => {
334
334
  this.$$r = !0;
335
- for (const o in this.$$p_d)
336
- if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
337
- const u = ct(
338
- o,
339
- this.$$d[o],
335
+ for (const i in this.$$p_d)
336
+ if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
337
+ const u = pt(
338
+ i,
339
+ this.$$d[i],
340
340
  this.$$p_d,
341
341
  "toAttribute"
342
342
  );
343
- u == null ? this.removeAttribute(this.$$p_d[o].attribute || o) : this.setAttribute(this.$$p_d[o].attribute || o, u);
343
+ u == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, u);
344
344
  }
345
345
  this.$$r = !1;
346
346
  };
347
- this.$$c.$$.after_update.push(i), i();
348
- for (const o in this.$$l)
349
- for (const u of this.$$l[o]) {
350
- const s = this.$$c.$on(o, u);
351
- this.$$l_u.set(u, s);
347
+ this.$$c.$$.after_update.push(o), o();
348
+ for (const i in this.$$l)
349
+ for (const u of this.$$l[i]) {
350
+ const a = this.$$c.$on(i, u);
351
+ this.$$l_u.set(u, a);
352
352
  }
353
353
  this.$$l = {};
354
354
  }
@@ -357,8 +357,8 @@ typeof HTMLElement == "function" && (Pn = class extends HTMLElement {
357
357
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
358
358
  // and setting attributes through setAttribute etc, this is helpful
359
359
  attributeChangedCallback(t, n, r) {
360
- var i;
361
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = ct(t, r, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
360
+ var o;
361
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = pt(t, r, this.$$p_d, "toProp"), (o = this.$$c) == null || o.$set({ [t]: this.$$d[t] }));
362
362
  }
363
363
  disconnectedCallback() {
364
364
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -371,13 +371,13 @@ typeof HTMLElement == "function" && (Pn = class extends HTMLElement {
371
371
  ) || t;
372
372
  }
373
373
  });
374
- function ct(e, t, n, r) {
375
- var o;
376
- const i = (o = n[e]) == null ? void 0 : o.type;
377
- if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !r || !n[e])
374
+ function pt(e, t, n, r) {
375
+ var i;
376
+ const o = (i = n[e]) == null ? void 0 : i.type;
377
+ if (t = o === "Boolean" && typeof t != "boolean" ? t != null : t, !r || !n[e])
378
378
  return t;
379
379
  if (r === "toAttribute")
380
- switch (i) {
380
+ switch (o) {
381
381
  case "Object":
382
382
  case "Array":
383
383
  return t == null ? null : JSON.stringify(t);
@@ -389,7 +389,7 @@ function ct(e, t, n, r) {
389
389
  return t;
390
390
  }
391
391
  else
392
- switch (i) {
392
+ switch (o) {
393
393
  case "Object":
394
394
  case "Array":
395
395
  return t && JSON.parse(t);
@@ -401,38 +401,38 @@ function ct(e, t, n, r) {
401
401
  return t;
402
402
  }
403
403
  }
404
- function Nr(e, t, n, r, i, o) {
405
- let u = class extends Pn {
404
+ function Mr(e, t, n, r, o, i) {
405
+ let u = class extends In {
406
406
  constructor() {
407
- super(e, n, i), this.$$p_d = t;
407
+ super(e, n, o), this.$$p_d = t;
408
408
  }
409
409
  static get observedAttributes() {
410
410
  return Object.keys(t).map(
411
- (s) => (t[s].attribute || s).toLowerCase()
411
+ (a) => (t[a].attribute || a).toLowerCase()
412
412
  );
413
413
  }
414
414
  };
415
- return Object.keys(t).forEach((s) => {
416
- Object.defineProperty(u.prototype, s, {
415
+ return Object.keys(t).forEach((a) => {
416
+ Object.defineProperty(u.prototype, a, {
417
417
  get() {
418
- return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
418
+ return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
419
419
  },
420
420
  set(f) {
421
421
  var l;
422
- f = ct(s, f, t), this.$$d[s] = f, (l = this.$$c) == null || l.$set({ [s]: f });
422
+ f = pt(a, f, t), this.$$d[a] = f, (l = this.$$c) == null || l.$set({ [a]: f });
423
423
  }
424
424
  });
425
- }), r.forEach((s) => {
426
- Object.defineProperty(u.prototype, s, {
425
+ }), r.forEach((a) => {
426
+ Object.defineProperty(u.prototype, a, {
427
427
  get() {
428
428
  var f;
429
- return (f = this.$$c) == null ? void 0 : f[s];
429
+ return (f = this.$$c) == null ? void 0 : f[a];
430
430
  }
431
431
  });
432
432
  }), e.element = /** @type {any} */
433
433
  u, u;
434
434
  }
435
- class Mr {
435
+ class Pr {
436
436
  constructor() {
437
437
  /**
438
438
  * ### PRIVATE API
@@ -441,7 +441,7 @@ class Mr {
441
441
  *
442
442
  * @type {any}
443
443
  */
444
- oe(this, "$$");
444
+ se(this, "$$");
445
445
  /**
446
446
  * ### PRIVATE API
447
447
  *
@@ -449,11 +449,11 @@ class Mr {
449
449
  *
450
450
  * @type {any}
451
451
  */
452
- oe(this, "$$set");
452
+ se(this, "$$set");
453
453
  }
454
454
  /** @returns {void} */
455
455
  $destroy() {
456
- Or(this, 1), this.$destroy = ae;
456
+ Lr(this, 1), this.$destroy = ue;
457
457
  }
458
458
  /**
459
459
  * @template {Extract<keyof Events, string>} K
@@ -462,12 +462,12 @@ class Mr {
462
462
  * @returns {() => void}
463
463
  */
464
464
  $on(t, n) {
465
- if (!nn(n))
466
- return ae;
465
+ if (!rn(n))
466
+ return ue;
467
467
  const r = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
468
468
  return r.push(n), () => {
469
- const i = r.indexOf(n);
470
- i !== -1 && r.splice(i, 1);
469
+ const o = r.indexOf(n);
470
+ o !== -1 && r.splice(o, 1);
471
471
  };
472
472
  }
473
473
  /**
@@ -475,47 +475,76 @@ class Mr {
475
475
  * @returns {void}
476
476
  */
477
477
  $set(t) {
478
- this.$$set && !dr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
478
+ this.$$set && !pr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
479
479
  }
480
480
  }
481
- const Pr = "4";
482
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Pr);
483
- function Ir(e, t) {
481
+ const Ir = "4";
482
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Ir);
483
+ const De = "__WIDGET_GLOBAL_STYLE_CACHE__";
484
+ function Dr(e, t) {
484
485
  if (e) {
485
486
  const n = document.createElement("style");
486
487
  n.innerHTML = t, e.appendChild(n);
487
488
  }
488
489
  }
489
- function Dr(e, t) {
490
+ function Fr(e, t) {
490
491
  if (!e || !t)
491
492
  return;
492
493
  const n = new URL(t);
493
494
  fetch(n.href).then((r) => r.text()).then((r) => {
494
- const i = document.createElement("style");
495
- i.innerHTML = r, e && e.appendChild(i);
495
+ const o = document.createElement("style");
496
+ o.innerHTML = r, e && e.appendChild(o);
496
497
  }).catch((r) => {
497
498
  console.error("There was an error while trying to load client styling from URL", r);
498
499
  });
499
500
  }
500
- function Fr(e, t, n) {
501
- if (window.emMessageBus) {
502
- const r = document.createElement("style");
503
- window.emMessageBus.subscribe(t, (i) => {
504
- r.innerHTML = i, e && e.appendChild(r);
501
+ function Ur(e, t, n, r = !1) {
502
+ if (!window.emMessageBus)
503
+ return;
504
+ if (!("adoptedStyleSheets" in Document.prototype) || !r)
505
+ return n = Gr(e, t), n;
506
+ window[De] || (window[De] = {}), n = jr(e, t);
507
+ const i = n.unsubscribe.bind(n), u = () => {
508
+ if (window[De][t]) {
509
+ const a = window[De][t];
510
+ a.refCount > 1 ? a.refCount = a.refCount - 1 : delete window[De][t];
511
+ }
512
+ i();
513
+ };
514
+ return n.unsubscribe = u, n;
515
+ }
516
+ function Gr(e, t) {
517
+ const n = document.createElement("style");
518
+ return window.emMessageBus.subscribe(t, (r) => {
519
+ e && (n.innerHTML = r, e.appendChild(n));
520
+ });
521
+ }
522
+ function jr(e, t) {
523
+ return window.emMessageBus.subscribe(t, (n) => {
524
+ var a;
525
+ if (!e)
526
+ return;
527
+ const r = e.getRootNode(), o = window[De];
528
+ let i = (a = o[t]) == null ? void 0 : a.sheet;
529
+ i ? o[t].refCount = o[t].refCount + 1 : (i = new CSSStyleSheet(), i.replaceSync(n), o[t] = {
530
+ sheet: i,
531
+ refCount: 1
505
532
  });
506
- }
533
+ const u = r.adoptedStyleSheets || [];
534
+ u.includes(i) || (r.adoptedStyleSheets = [...u, i]);
535
+ });
507
536
  }
508
537
  const Pe = [];
509
- function Ur(e, t) {
538
+ function $r(e, t) {
510
539
  return {
511
- subscribe: vt(e, t).subscribe
540
+ subscribe: _t(e, t).subscribe
512
541
  };
513
542
  }
514
- function vt(e, t = ae) {
543
+ function _t(e, t = ue) {
515
544
  let n;
516
545
  const r = /* @__PURE__ */ new Set();
517
- function i(s) {
518
- if (Rn(e, s) && (e = s, n)) {
546
+ function o(a) {
547
+ if (Nn(e, a) && (e = a, n)) {
519
548
  const f = !Pe.length;
520
549
  for (const l of r)
521
550
  l[1](), Pe.push(l, e);
@@ -526,135 +555,135 @@ function vt(e, t = ae) {
526
555
  }
527
556
  }
528
557
  }
529
- function o(s) {
530
- i(s(e));
558
+ function i(a) {
559
+ o(a(e));
531
560
  }
532
- function u(s, f = ae) {
533
- const l = [s, f];
534
- return r.add(l), r.size === 1 && (n = t(i, o) || ae), s(e), () => {
561
+ function u(a, f = ue) {
562
+ const l = [a, f];
563
+ return r.add(l), r.size === 1 && (n = t(o, i) || ue), a(e), () => {
535
564
  r.delete(l), r.size === 0 && n && (n(), n = null);
536
565
  };
537
566
  }
538
- return { set: i, update: o, subscribe: u };
567
+ return { set: o, update: i, subscribe: u };
539
568
  }
540
- function ke(e, t, n) {
541
- const r = !Array.isArray(e), i = r ? [e] : e;
542
- if (!i.every(Boolean))
569
+ function Ve(e, t, n) {
570
+ const r = !Array.isArray(e), o = r ? [e] : e;
571
+ if (!o.every(Boolean))
543
572
  throw new Error("derived() expects stores as input, got a falsy value");
544
- const o = t.length < 2;
545
- return Ur(n, (u, s) => {
573
+ const i = t.length < 2;
574
+ return $r(n, (u, a) => {
546
575
  let f = !1;
547
576
  const l = [];
548
- let d = 0, m = ae;
549
- const b = () => {
577
+ let d = 0, g = ue;
578
+ const y = () => {
550
579
  if (d)
551
580
  return;
552
- m();
553
- const B = t(r ? l[0] : l, u, s);
554
- o ? u(B) : m = nn(B) ? B : ae;
555
- }, _ = i.map(
556
- (B, I) => Nn(
581
+ g();
582
+ const B = t(r ? l[0] : l, u, a);
583
+ i ? u(B) : g = rn(B) ? B : ue;
584
+ }, _ = o.map(
585
+ (B, P) => Mn(
557
586
  B,
558
587
  (j) => {
559
- l[I] = j, d &= ~(1 << I), f && b();
588
+ l[P] = j, d &= ~(1 << P), f && y();
560
589
  },
561
590
  () => {
562
- d |= 1 << I;
591
+ d |= 1 << P;
563
592
  }
564
593
  )
565
594
  );
566
- return f = !0, b(), function() {
567
- $e(_), m(), f = !1;
595
+ return f = !0, y(), function() {
596
+ ke(_), g(), f = !1;
568
597
  };
569
598
  });
570
599
  }
571
- var Gr = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
572
- function jr(e) {
600
+ var kr = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
601
+ function Vr(e) {
573
602
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
574
603
  }
575
- var $r = function(t) {
576
- return kr(t) && !Vr(t);
604
+ var Xr = function(t) {
605
+ return zr(t) && !Wr(t);
577
606
  };
578
- function kr(e) {
607
+ function zr(e) {
579
608
  return !!e && typeof e == "object";
580
609
  }
581
- function Vr(e) {
610
+ function Wr(e) {
582
611
  var t = Object.prototype.toString.call(e);
583
- return t === "[object RegExp]" || t === "[object Date]" || Wr(e);
612
+ return t === "[object RegExp]" || t === "[object Date]" || Qr(e);
584
613
  }
585
- var Xr = typeof Symbol == "function" && Symbol.for, zr = Xr ? Symbol.for("react.element") : 60103;
586
- function Wr(e) {
587
- return e.$$typeof === zr;
614
+ var Zr = typeof Symbol == "function" && Symbol.for, qr = Zr ? Symbol.for("react.element") : 60103;
615
+ function Qr(e) {
616
+ return e.$$typeof === qr;
588
617
  }
589
- function Zr(e) {
618
+ function Jr(e) {
590
619
  return Array.isArray(e) ? [] : {};
591
620
  }
592
- function tt(e, t) {
593
- return t.clone !== !1 && t.isMergeableObject(e) ? Fe(Zr(e), e, t) : e;
621
+ function rt(e, t) {
622
+ return t.clone !== !1 && t.isMergeableObject(e) ? Ue(Jr(e), e, t) : e;
594
623
  }
595
- function qr(e, t, n) {
624
+ function Yr(e, t, n) {
596
625
  return e.concat(t).map(function(r) {
597
- return tt(r, n);
626
+ return rt(r, n);
598
627
  });
599
628
  }
600
- function Qr(e, t) {
629
+ function Kr(e, t) {
601
630
  if (!t.customMerge)
602
- return Fe;
631
+ return Ue;
603
632
  var n = t.customMerge(e);
604
- return typeof n == "function" ? n : Fe;
633
+ return typeof n == "function" ? n : Ue;
605
634
  }
606
- function Jr(e) {
635
+ function eo(e) {
607
636
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
608
637
  return Object.propertyIsEnumerable.call(e, t);
609
638
  }) : [];
610
639
  }
611
- function hn(e) {
612
- return Object.keys(e).concat(Jr(e));
640
+ function cn(e) {
641
+ return Object.keys(e).concat(eo(e));
613
642
  }
614
- function In(e, t) {
643
+ function Dn(e, t) {
615
644
  try {
616
645
  return t in e;
617
646
  } catch (n) {
618
647
  return !1;
619
648
  }
620
649
  }
621
- function Yr(e, t) {
622
- return In(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
650
+ function to(e, t) {
651
+ return Dn(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
623
652
  }
624
- function Kr(e, t, n) {
653
+ function no(e, t, n) {
625
654
  var r = {};
626
- return n.isMergeableObject(e) && hn(e).forEach(function(i) {
627
- r[i] = tt(e[i], n);
628
- }), hn(t).forEach(function(i) {
629
- Yr(e, i) || (In(e, i) && n.isMergeableObject(t[i]) ? r[i] = Qr(i, n)(e[i], t[i], n) : r[i] = tt(t[i], n));
655
+ return n.isMergeableObject(e) && cn(e).forEach(function(o) {
656
+ r[o] = rt(e[o], n);
657
+ }), cn(t).forEach(function(o) {
658
+ to(e, o) || (Dn(e, o) && n.isMergeableObject(t[o]) ? r[o] = Kr(o, n)(e[o], t[o], n) : r[o] = rt(t[o], n));
630
659
  }), r;
631
660
  }
632
- function Fe(e, t, n) {
633
- n = n || {}, n.arrayMerge = n.arrayMerge || qr, n.isMergeableObject = n.isMergeableObject || $r, n.cloneUnlessOtherwiseSpecified = tt;
634
- var r = Array.isArray(t), i = Array.isArray(e), o = r === i;
635
- return o ? r ? n.arrayMerge(e, t, n) : Kr(e, t, n) : tt(t, n);
661
+ function Ue(e, t, n) {
662
+ n = n || {}, n.arrayMerge = n.arrayMerge || Yr, n.isMergeableObject = n.isMergeableObject || Xr, n.cloneUnlessOtherwiseSpecified = rt;
663
+ var r = Array.isArray(t), o = Array.isArray(e), i = r === o;
664
+ return i ? r ? n.arrayMerge(e, t, n) : no(e, t, n) : rt(t, n);
636
665
  }
637
- Fe.all = function(t, n) {
666
+ Ue.all = function(t, n) {
638
667
  if (!Array.isArray(t))
639
668
  throw new Error("first argument should be an array");
640
- return t.reduce(function(r, i) {
641
- return Fe(r, i, n);
669
+ return t.reduce(function(r, o) {
670
+ return Ue(r, o, n);
642
671
  }, {});
643
672
  };
644
- var ei = Fe, ti = ei;
645
- const ni = /* @__PURE__ */ jr(ti);
646
- var zt = function(e, t) {
647
- return zt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
673
+ var ro = Ue, oo = ro;
674
+ const io = /* @__PURE__ */ Vr(oo);
675
+ var Wt = function(e, t) {
676
+ return Wt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
648
677
  n.__proto__ = r;
649
678
  } || function(n, r) {
650
- for (var i in r)
651
- Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]);
652
- }, zt(e, t);
679
+ for (var o in r)
680
+ Object.prototype.hasOwnProperty.call(r, o) && (n[o] = r[o]);
681
+ }, Wt(e, t);
653
682
  };
654
- function Et(e, t) {
683
+ function Tt(e, t) {
655
684
  if (typeof t != "function" && t !== null)
656
685
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
657
- zt(e, t);
686
+ Wt(e, t);
658
687
  function n() {
659
688
  this.constructor = e;
660
689
  }
@@ -662,60 +691,60 @@ function Et(e, t) {
662
691
  }
663
692
  var fe = function() {
664
693
  return fe = Object.assign || function(t) {
665
- for (var n, r = 1, i = arguments.length; r < i; r++) {
694
+ for (var n, r = 1, o = arguments.length; r < o; r++) {
666
695
  n = arguments[r];
667
- for (var o in n)
668
- Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
696
+ for (var i in n)
697
+ Object.prototype.hasOwnProperty.call(n, i) && (t[i] = n[i]);
669
698
  }
670
699
  return t;
671
700
  }, fe.apply(this, arguments);
672
701
  };
673
- function ri(e, t) {
702
+ function ao(e, t) {
674
703
  var n = {};
675
704
  for (var r in e)
676
705
  Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
677
706
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
678
- for (var i = 0, r = Object.getOwnPropertySymbols(e); i < r.length; i++)
679
- t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
707
+ for (var o = 0, r = Object.getOwnPropertySymbols(e); o < r.length; o++)
708
+ t.indexOf(r[o]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[o]) && (n[r[o]] = e[r[o]]);
680
709
  return n;
681
710
  }
682
- function Dt(e, t, n) {
711
+ function Ft(e, t, n) {
683
712
  if (n || arguments.length === 2)
684
- for (var r = 0, i = t.length, o; r < i; r++)
685
- (o || !(r in t)) && (o || (o = Array.prototype.slice.call(t, 0, r)), o[r] = t[r]);
686
- return e.concat(o || Array.prototype.slice.call(t));
713
+ for (var r = 0, o = t.length, i; r < o; r++)
714
+ (i || !(r in t)) && (i || (i = Array.prototype.slice.call(t, 0, r)), i[r] = t[r]);
715
+ return e.concat(i || Array.prototype.slice.call(t));
687
716
  }
688
- function Ft(e, t) {
689
- var n = t && t.cache ? t.cache : hi, r = t && t.serializer ? t.serializer : ui, i = t && t.strategy ? t.strategy : ai;
690
- return i(e, {
717
+ function Ut(e, t) {
718
+ var n = t && t.cache ? t.cache : po, r = t && t.serializer ? t.serializer : co, o = t && t.strategy ? t.strategy : lo;
719
+ return o(e, {
691
720
  cache: n,
692
721
  serializer: r
693
722
  });
694
723
  }
695
- function ii(e) {
724
+ function so(e) {
696
725
  return e == null || typeof e == "number" || typeof e == "boolean";
697
726
  }
698
- function oi(e, t, n, r) {
699
- var i = ii(r) ? r : n(r), o = t.get(i);
700
- return typeof o == "undefined" && (o = e.call(this, r), t.set(i, o)), o;
727
+ function uo(e, t, n, r) {
728
+ var o = so(r) ? r : n(r), i = t.get(o);
729
+ return typeof i == "undefined" && (i = e.call(this, r), t.set(o, i)), i;
701
730
  }
702
- function Dn(e, t, n) {
703
- var r = Array.prototype.slice.call(arguments, 3), i = n(r), o = t.get(i);
704
- return typeof o == "undefined" && (o = e.apply(this, r), t.set(i, o)), o;
731
+ function Fn(e, t, n) {
732
+ var r = Array.prototype.slice.call(arguments, 3), o = n(r), i = t.get(o);
733
+ return typeof i == "undefined" && (i = e.apply(this, r), t.set(o, i)), i;
705
734
  }
706
- function Fn(e, t, n, r, i) {
707
- return n.bind(t, e, r, i);
735
+ function Un(e, t, n, r, o) {
736
+ return n.bind(t, e, r, o);
708
737
  }
709
- function ai(e, t) {
710
- var n = e.length === 1 ? oi : Dn;
711
- return Fn(e, this, n, t.cache.create(), t.serializer);
738
+ function lo(e, t) {
739
+ var n = e.length === 1 ? uo : Fn;
740
+ return Un(e, this, n, t.cache.create(), t.serializer);
712
741
  }
713
- function si(e, t) {
714
- return Fn(e, this, Dn, t.cache.create(), t.serializer);
742
+ function ho(e, t) {
743
+ return Un(e, this, Fn, t.cache.create(), t.serializer);
715
744
  }
716
- var ui = function() {
745
+ var co = function() {
717
746
  return JSON.stringify(arguments);
718
- }, li = (
747
+ }, fo = (
719
748
  /** @class */
720
749
  function() {
721
750
  function e() {
@@ -727,21 +756,21 @@ var ui = function() {
727
756
  this.cache[t] = n;
728
757
  }, e;
729
758
  }()
730
- ), hi = {
759
+ ), po = {
731
760
  create: function() {
732
- return new li();
761
+ return new fo();
733
762
  }
734
- }, Ut = {
735
- variadic: si
736
- }, gt = function() {
737
- return gt = Object.assign || function(t) {
738
- for (var n, r = 1, i = arguments.length; r < i; r++) {
763
+ }, Gt = {
764
+ variadic: ho
765
+ }, vt = function() {
766
+ return vt = Object.assign || function(t) {
767
+ for (var n, r = 1, o = arguments.length; r < o; r++) {
739
768
  n = arguments[r];
740
- for (var o in n)
741
- Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
769
+ for (var i in n)
770
+ Object.prototype.hasOwnProperty.call(n, i) && (t[i] = n[i]);
742
771
  }
743
772
  return t;
744
- }, gt.apply(this, arguments);
773
+ }, vt.apply(this, arguments);
745
774
  };
746
775
  var H;
747
776
  (function(e) {
@@ -751,47 +780,47 @@ var D;
751
780
  (function(e) {
752
781
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
753
782
  })(D || (D = {}));
754
- var Ue;
783
+ var Ge;
755
784
  (function(e) {
756
785
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
757
- })(Ue || (Ue = {}));
758
- function cn(e) {
786
+ })(Ge || (Ge = {}));
787
+ function fn(e) {
759
788
  return e.type === D.literal;
760
789
  }
761
- function ci(e) {
790
+ function mo(e) {
762
791
  return e.type === D.argument;
763
792
  }
764
- function Un(e) {
793
+ function Gn(e) {
765
794
  return e.type === D.number;
766
795
  }
767
- function Gn(e) {
796
+ function jn(e) {
768
797
  return e.type === D.date;
769
798
  }
770
- function jn(e) {
799
+ function $n(e) {
771
800
  return e.type === D.time;
772
801
  }
773
- function $n(e) {
802
+ function kn(e) {
774
803
  return e.type === D.select;
775
804
  }
776
- function kn(e) {
805
+ function Vn(e) {
777
806
  return e.type === D.plural;
778
807
  }
779
- function fi(e) {
808
+ function go(e) {
780
809
  return e.type === D.pound;
781
810
  }
782
- function Vn(e) {
811
+ function Xn(e) {
783
812
  return e.type === D.tag;
784
813
  }
785
- function Xn(e) {
786
- return !!(e && typeof e == "object" && e.type === Ue.number);
814
+ function zn(e) {
815
+ return !!(e && typeof e == "object" && e.type === Ge.number);
787
816
  }
788
- function Wt(e) {
789
- return !!(e && typeof e == "object" && e.type === Ue.dateTime);
817
+ function Zt(e) {
818
+ return !!(e && typeof e == "object" && e.type === Ge.dateTime);
790
819
  }
791
- var zn = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, di = /(?:[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;
792
- function pi(e) {
820
+ var Wn = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, bo = /(?:[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;
821
+ function yo(e) {
793
822
  var t = {};
794
- return e.replace(di, function(n) {
823
+ return e.replace(bo, function(n) {
795
824
  var r = n.length;
796
825
  switch (n[0]) {
797
826
  case "G":
@@ -882,44 +911,44 @@ function pi(e) {
882
911
  }
883
912
  var F = function() {
884
913
  return F = Object.assign || function(t) {
885
- for (var n, r = 1, i = arguments.length; r < i; r++) {
914
+ for (var n, r = 1, o = arguments.length; r < o; r++) {
886
915
  n = arguments[r];
887
- for (var o in n)
888
- Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
916
+ for (var i in n)
917
+ Object.prototype.hasOwnProperty.call(n, i) && (t[i] = n[i]);
889
918
  }
890
919
  return t;
891
920
  }, F.apply(this, arguments);
892
921
  };
893
- var mi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
894
- function gi(e) {
922
+ var vo = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
923
+ function Eo(e) {
895
924
  if (e.length === 0)
896
925
  throw new Error("Number skeleton cannot be empty");
897
- for (var t = e.split(mi).filter(function(b) {
898
- return b.length > 0;
899
- }), n = [], r = 0, i = t; r < i.length; r++) {
900
- var o = i[r], u = o.split("/");
926
+ for (var t = e.split(vo).filter(function(y) {
927
+ return y.length > 0;
928
+ }), n = [], r = 0, o = t; r < o.length; r++) {
929
+ var i = o[r], u = i.split("/");
901
930
  if (u.length === 0)
902
931
  throw new Error("Invalid number skeleton");
903
- for (var s = u[0], f = u.slice(1), l = 0, d = f; l < d.length; l++) {
904
- var m = d[l];
905
- if (m.length === 0)
932
+ for (var a = u[0], f = u.slice(1), l = 0, d = f; l < d.length; l++) {
933
+ var g = d[l];
934
+ if (g.length === 0)
906
935
  throw new Error("Invalid number skeleton");
907
936
  }
908
- n.push({ stem: s, options: f });
937
+ n.push({ stem: a, options: f });
909
938
  }
910
939
  return n;
911
940
  }
912
- function bi(e) {
941
+ function xo(e) {
913
942
  return e.replace(/^(.*?)-/, "");
914
943
  }
915
- var fn = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Wn = /^(@+)?(\+|#+)?[rs]?$/g, yi = /(\*)(0+)|(#+)(0+)|(0+)/g, Zn = /^(0+)$/;
916
- function dn(e) {
944
+ var dn = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Zn = /^(@+)?(\+|#+)?[rs]?$/g, _o = /(\*)(0+)|(#+)(0+)|(0+)/g, qn = /^(0+)$/;
945
+ function pn(e) {
917
946
  var t = {};
918
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Wn, function(n, r, i) {
919
- 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)), "";
947
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Zn, function(n, r, o) {
948
+ return typeof o != "string" ? (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length) : o === "+" ? t.minimumSignificantDigits = r.length : r[0] === "#" ? t.maximumSignificantDigits = r.length : (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length + (typeof o == "string" ? o.length : 0)), "";
920
949
  }), t;
921
950
  }
922
- function qn(e) {
951
+ function Qn(e) {
923
952
  switch (e) {
924
953
  case "sign-auto":
925
954
  return {
@@ -959,7 +988,7 @@ function qn(e) {
959
988
  };
960
989
  }
961
990
  }
962
- function vi(e) {
991
+ function To(e) {
963
992
  var t;
964
993
  if (e[0] === "E" && e[1] === "E" ? (t = {
965
994
  notation: "engineering"
@@ -967,20 +996,20 @@ function vi(e) {
967
996
  notation: "scientific"
968
997
  }, e = e.slice(1)), t) {
969
998
  var n = e.slice(0, 2);
970
- if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Zn.test(e))
999
+ if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !qn.test(e))
971
1000
  throw new Error("Malformed concise eng/scientific notation");
972
1001
  t.minimumIntegerDigits = e.length;
973
1002
  }
974
1003
  return t;
975
1004
  }
976
- function pn(e) {
977
- var t = {}, n = qn(e);
1005
+ function mn(e) {
1006
+ var t = {}, n = Qn(e);
978
1007
  return n || t;
979
1008
  }
980
- function Ei(e) {
1009
+ function So(e) {
981
1010
  for (var t = {}, n = 0, r = e; n < r.length; n++) {
982
- var i = r[n];
983
- switch (i.stem) {
1011
+ var o = r[n];
1012
+ switch (o.stem) {
984
1013
  case "percent":
985
1014
  case "%":
986
1015
  t.style = "percent";
@@ -989,7 +1018,7 @@ function Ei(e) {
989
1018
  t.style = "percent", t.scale = 100;
990
1019
  continue;
991
1020
  case "currency":
992
- t.style = "currency", t.currency = i.options[0];
1021
+ t.style = "currency", t.currency = o.options[0];
993
1022
  continue;
994
1023
  case "group-off":
995
1024
  case ",_":
@@ -1001,7 +1030,7 @@ function Ei(e) {
1001
1030
  continue;
1002
1031
  case "measure-unit":
1003
1032
  case "unit":
1004
- t.style = "unit", t.unit = bi(i.options[0]);
1033
+ t.style = "unit", t.unit = xo(o.options[0]);
1005
1034
  continue;
1006
1035
  case "compact-short":
1007
1036
  case "K":
@@ -1012,13 +1041,13 @@ function Ei(e) {
1012
1041
  t.notation = "compact", t.compactDisplay = "long";
1013
1042
  continue;
1014
1043
  case "scientific":
1015
- t = F(F(F({}, t), { notation: "scientific" }), i.options.reduce(function(f, l) {
1016
- return F(F({}, f), pn(l));
1044
+ t = F(F(F({}, t), { notation: "scientific" }), o.options.reduce(function(f, l) {
1045
+ return F(F({}, f), mn(l));
1017
1046
  }, {}));
1018
1047
  continue;
1019
1048
  case "engineering":
1020
- t = F(F(F({}, t), { notation: "engineering" }), i.options.reduce(function(f, l) {
1021
- return F(F({}, f), pn(l));
1049
+ t = F(F(F({}, t), { notation: "engineering" }), o.options.reduce(function(f, l) {
1050
+ return F(F({}, f), mn(l));
1022
1051
  }, {}));
1023
1052
  continue;
1024
1053
  case "notation-simple":
@@ -1037,7 +1066,7 @@ function Ei(e) {
1037
1066
  t.currencyDisplay = "symbol";
1038
1067
  continue;
1039
1068
  case "scale":
1040
- t.scale = parseFloat(i.options[0]);
1069
+ t.scale = parseFloat(o.options[0]);
1041
1070
  continue;
1042
1071
  case "rounding-mode-floor":
1043
1072
  t.roundingMode = "floor";
@@ -1061,13 +1090,13 @@ function Ei(e) {
1061
1090
  t.roundingMode = "halfExpand";
1062
1091
  continue;
1063
1092
  case "integer-width":
1064
- if (i.options.length > 1)
1093
+ if (o.options.length > 1)
1065
1094
  throw new RangeError("integer-width stems only accept a single optional option");
1066
- i.options[0].replace(yi, function(f, l, d, m, b, _) {
1095
+ o.options[0].replace(_o, function(f, l, d, g, y, _) {
1067
1096
  if (l)
1068
1097
  t.minimumIntegerDigits = d.length;
1069
1098
  else {
1070
- if (m && b)
1099
+ if (g && y)
1071
1100
  throw new Error("We currently do not support maximum integer digits");
1072
1101
  if (_)
1073
1102
  throw new Error("We currently do not support exact integer digits");
@@ -1076,32 +1105,32 @@ function Ei(e) {
1076
1105
  });
1077
1106
  continue;
1078
1107
  }
1079
- if (Zn.test(i.stem)) {
1080
- t.minimumIntegerDigits = i.stem.length;
1108
+ if (qn.test(o.stem)) {
1109
+ t.minimumIntegerDigits = o.stem.length;
1081
1110
  continue;
1082
1111
  }
1083
- if (fn.test(i.stem)) {
1084
- if (i.options.length > 1)
1112
+ if (dn.test(o.stem)) {
1113
+ if (o.options.length > 1)
1085
1114
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1086
- i.stem.replace(fn, function(f, l, d, m, b, _) {
1087
- return d === "*" ? t.minimumFractionDigits = l.length : m && m[0] === "#" ? t.maximumFractionDigits = m.length : b && _ ? (t.minimumFractionDigits = b.length, t.maximumFractionDigits = b.length + _.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1115
+ o.stem.replace(dn, function(f, l, d, g, y, _) {
1116
+ return d === "*" ? t.minimumFractionDigits = l.length : g && g[0] === "#" ? t.maximumFractionDigits = g.length : y && _ ? (t.minimumFractionDigits = y.length, t.maximumFractionDigits = y.length + _.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1088
1117
  });
1089
- var o = i.options[0];
1090
- o === "w" ? t = F(F({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = F(F({}, t), dn(o)));
1118
+ var i = o.options[0];
1119
+ i === "w" ? t = F(F({}, t), { trailingZeroDisplay: "stripIfInteger" }) : i && (t = F(F({}, t), pn(i)));
1091
1120
  continue;
1092
1121
  }
1093
- if (Wn.test(i.stem)) {
1094
- t = F(F({}, t), dn(i.stem));
1122
+ if (Zn.test(o.stem)) {
1123
+ t = F(F({}, t), pn(o.stem));
1095
1124
  continue;
1096
1125
  }
1097
- var u = qn(i.stem);
1126
+ var u = Qn(o.stem);
1098
1127
  u && (t = F(F({}, t), u));
1099
- var s = vi(i.stem);
1100
- s && (t = F(F({}, t), s));
1128
+ var a = To(o.stem);
1129
+ a && (t = F(F({}, t), a));
1101
1130
  }
1102
1131
  return t;
1103
1132
  }
1104
- var ht = {
1133
+ var dt = {
1105
1134
  "001": [
1106
1135
  "H",
1107
1136
  "h"
@@ -2516,23 +2545,23 @@ var ht = {
2516
2545
  "h"
2517
2546
  ]
2518
2547
  };
2519
- function xi(e, t) {
2548
+ function Bo(e, t) {
2520
2549
  for (var n = "", r = 0; r < e.length; r++) {
2521
- var i = e.charAt(r);
2522
- if (i === "j") {
2523
- for (var o = 0; r + 1 < e.length && e.charAt(r + 1) === i; )
2524
- o++, r++;
2525
- var u = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), f = "a", l = _i(t);
2526
- for ((l == "H" || l == "k") && (s = 0); s-- > 0; )
2550
+ var o = e.charAt(r);
2551
+ if (o === "j") {
2552
+ for (var i = 0; r + 1 < e.length && e.charAt(r + 1) === o; )
2553
+ i++, r++;
2554
+ var u = 1 + (i & 1), a = i < 2 ? 1 : 3 + (i >> 1), f = "a", l = wo(t);
2555
+ for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
2527
2556
  n += f;
2528
2557
  for (; u-- > 0; )
2529
2558
  n = l + n;
2530
2559
  } else
2531
- i === "J" ? n += "H" : n += i;
2560
+ o === "J" ? n += "H" : n += o;
2532
2561
  }
2533
2562
  return n;
2534
2563
  }
2535
- function _i(e) {
2564
+ function wo(e) {
2536
2565
  var t = e.hourCycle;
2537
2566
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2538
2567
  e.hourCycles && // @ts-ignore
@@ -2551,23 +2580,23 @@ function _i(e) {
2551
2580
  }
2552
2581
  var n = e.language, r;
2553
2582
  n !== "root" && (r = e.maximize().region);
2554
- var i = ht[r || ""] || ht[n || ""] || ht["".concat(n, "-001")] || ht["001"];
2555
- return i[0];
2583
+ var o = dt[r || ""] || dt[n || ""] || dt["".concat(n, "-001")] || dt["001"];
2584
+ return o[0];
2556
2585
  }
2557
- var Gt, Ti = new RegExp("^".concat(zn.source, "*")), Bi = new RegExp("".concat(zn.source, "*$"));
2558
- function O(e, t) {
2586
+ var jt, Ao = new RegExp("^".concat(Wn.source, "*")), Co = new RegExp("".concat(Wn.source, "*$"));
2587
+ function L(e, t) {
2559
2588
  return { start: e, end: t };
2560
2589
  }
2561
- var Si = !!String.prototype.startsWith && "_a".startsWith("a", 1), wi = !!String.fromCodePoint, Ai = !!Object.fromEntries, Ci = !!String.prototype.codePointAt, Hi = !!String.prototype.trimStart, Oi = !!String.prototype.trimEnd, Li = !!Number.isSafeInteger, Ri = Li ? Number.isSafeInteger : function(e) {
2590
+ var Ho = !!String.prototype.startsWith && "_a".startsWith("a", 1), Oo = !!String.fromCodePoint, Lo = !!Object.fromEntries, Ro = !!String.prototype.codePointAt, No = !!String.prototype.trimStart, Mo = !!String.prototype.trimEnd, Po = !!Number.isSafeInteger, Io = Po ? Number.isSafeInteger : function(e) {
2562
2591
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2563
- }, Zt = !0;
2592
+ }, qt = !0;
2564
2593
  try {
2565
- var Ni = Jn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2566
- Zt = ((Gt = Ni.exec("a")) === null || Gt === void 0 ? void 0 : Gt[0]) === "a";
2594
+ var Do = Yn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2595
+ qt = ((jt = Do.exec("a")) === null || jt === void 0 ? void 0 : jt[0]) === "a";
2567
2596
  } catch (e) {
2568
- Zt = !1;
2597
+ qt = !1;
2569
2598
  }
2570
- var mn = Si ? (
2599
+ var gn = Ho ? (
2571
2600
  // Native
2572
2601
  function(t, n, r) {
2573
2602
  return t.startsWith(n, r);
@@ -2577,31 +2606,31 @@ var mn = Si ? (
2577
2606
  function(t, n, r) {
2578
2607
  return t.slice(r, r + n.length) === n;
2579
2608
  }
2580
- ), qt = wi ? String.fromCodePoint : (
2609
+ ), Qt = Oo ? String.fromCodePoint : (
2581
2610
  // IE11
2582
2611
  function() {
2583
2612
  for (var t = [], n = 0; n < arguments.length; n++)
2584
2613
  t[n] = arguments[n];
2585
- for (var r = "", i = t.length, o = 0, u; i > o; ) {
2586
- if (u = t[o++], u > 1114111)
2614
+ for (var r = "", o = t.length, i = 0, u; o > i; ) {
2615
+ if (u = t[i++], u > 1114111)
2587
2616
  throw RangeError(u + " is not a valid code point");
2588
2617
  r += u < 65536 ? String.fromCharCode(u) : String.fromCharCode(((u -= 65536) >> 10) + 55296, u % 1024 + 56320);
2589
2618
  }
2590
2619
  return r;
2591
2620
  }
2592
- ), gn = (
2621
+ ), bn = (
2593
2622
  // native
2594
- Ai ? Object.fromEntries : (
2623
+ Lo ? Object.fromEntries : (
2595
2624
  // Ponyfill
2596
2625
  function(t) {
2597
- for (var n = {}, r = 0, i = t; r < i.length; r++) {
2598
- var o = i[r], u = o[0], s = o[1];
2599
- n[u] = s;
2626
+ for (var n = {}, r = 0, o = t; r < o.length; r++) {
2627
+ var i = o[r], u = i[0], a = i[1];
2628
+ n[u] = a;
2600
2629
  }
2601
2630
  return n;
2602
2631
  }
2603
2632
  )
2604
- ), Qn = Ci ? (
2633
+ ), Jn = Ro ? (
2605
2634
  // Native
2606
2635
  function(t, n) {
2607
2636
  return t.codePointAt(n);
@@ -2611,11 +2640,11 @@ var mn = Si ? (
2611
2640
  function(t, n) {
2612
2641
  var r = t.length;
2613
2642
  if (!(n < 0 || n >= r)) {
2614
- var i = t.charCodeAt(n), o;
2615
- return i < 55296 || i > 56319 || n + 1 === r || (o = t.charCodeAt(n + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2643
+ var o = t.charCodeAt(n), i;
2644
+ return o < 55296 || o > 56319 || n + 1 === r || (i = t.charCodeAt(n + 1)) < 56320 || i > 57343 ? o : (o - 55296 << 10) + (i - 56320) + 65536;
2616
2645
  }
2617
2646
  }
2618
- ), Mi = Hi ? (
2647
+ ), Fo = No ? (
2619
2648
  // Native
2620
2649
  function(t) {
2621
2650
  return t.trimStart();
@@ -2623,9 +2652,9 @@ var mn = Si ? (
2623
2652
  ) : (
2624
2653
  // Ponyfill
2625
2654
  function(t) {
2626
- return t.replace(Ti, "");
2655
+ return t.replace(Ao, "");
2627
2656
  }
2628
- ), Pi = Oi ? (
2657
+ ), Uo = Mo ? (
2629
2658
  // Native
2630
2659
  function(t) {
2631
2660
  return t.trimEnd();
@@ -2633,32 +2662,32 @@ var mn = Si ? (
2633
2662
  ) : (
2634
2663
  // Ponyfill
2635
2664
  function(t) {
2636
- return t.replace(Bi, "");
2665
+ return t.replace(Co, "");
2637
2666
  }
2638
2667
  );
2639
- function Jn(e, t) {
2668
+ function Yn(e, t) {
2640
2669
  return new RegExp(e, t);
2641
2670
  }
2642
- var Qt;
2643
- if (Zt) {
2644
- var bn = Jn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2645
- Qt = function(t, n) {
2671
+ var Jt;
2672
+ if (qt) {
2673
+ var yn = Yn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2674
+ Jt = function(t, n) {
2646
2675
  var r;
2647
- bn.lastIndex = n;
2648
- var i = bn.exec(t);
2649
- return (r = i[1]) !== null && r !== void 0 ? r : "";
2676
+ yn.lastIndex = n;
2677
+ var o = yn.exec(t);
2678
+ return (r = o[1]) !== null && r !== void 0 ? r : "";
2650
2679
  };
2651
2680
  } else
2652
- Qt = function(t, n) {
2681
+ Jt = function(t, n) {
2653
2682
  for (var r = []; ; ) {
2654
- var i = Qn(t, n);
2655
- if (i === void 0 || Yn(i) || Ui(i))
2683
+ var o = Jn(t, n);
2684
+ if (o === void 0 || Kn(o) || ko(o))
2656
2685
  break;
2657
- r.push(i), n += i >= 65536 ? 2 : 1;
2686
+ r.push(o), n += o >= 65536 ? 2 : 1;
2658
2687
  }
2659
- return qt.apply(void 0, r);
2688
+ return Qt.apply(void 0, r);
2660
2689
  };
2661
- var Ii = (
2690
+ var Go = (
2662
2691
  /** @class */
2663
2692
  function() {
2664
2693
  function e(t, n) {
@@ -2669,107 +2698,107 @@ var Ii = (
2669
2698
  throw Error("parser can only be used once");
2670
2699
  return this.parseMessage(0, "", !1);
2671
2700
  }, e.prototype.parseMessage = function(t, n, r) {
2672
- for (var i = []; !this.isEOF(); ) {
2673
- var o = this.char();
2674
- if (o === 123) {
2701
+ for (var o = []; !this.isEOF(); ) {
2702
+ var i = this.char();
2703
+ if (i === 123) {
2675
2704
  var u = this.parseArgument(t, r);
2676
2705
  if (u.err)
2677
2706
  return u;
2678
- i.push(u.val);
2707
+ o.push(u.val);
2679
2708
  } else {
2680
- if (o === 125 && t > 0)
2709
+ if (i === 125 && t > 0)
2681
2710
  break;
2682
- if (o === 35 && (n === "plural" || n === "selectordinal")) {
2683
- var s = this.clonePosition();
2684
- this.bump(), i.push({
2711
+ if (i === 35 && (n === "plural" || n === "selectordinal")) {
2712
+ var a = this.clonePosition();
2713
+ this.bump(), o.push({
2685
2714
  type: D.pound,
2686
- location: O(s, this.clonePosition())
2715
+ location: L(a, this.clonePosition())
2687
2716
  });
2688
- } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
2717
+ } else if (i === 60 && !this.ignoreTag && this.peek() === 47) {
2689
2718
  if (r)
2690
2719
  break;
2691
- return this.error(H.UNMATCHED_CLOSING_TAG, O(this.clonePosition(), this.clonePosition()));
2692
- } else if (o === 60 && !this.ignoreTag && Jt(this.peek() || 0)) {
2720
+ return this.error(H.UNMATCHED_CLOSING_TAG, L(this.clonePosition(), this.clonePosition()));
2721
+ } else if (i === 60 && !this.ignoreTag && Yt(this.peek() || 0)) {
2693
2722
  var u = this.parseTag(t, n);
2694
2723
  if (u.err)
2695
2724
  return u;
2696
- i.push(u.val);
2725
+ o.push(u.val);
2697
2726
  } else {
2698
2727
  var u = this.parseLiteral(t, n);
2699
2728
  if (u.err)
2700
2729
  return u;
2701
- i.push(u.val);
2730
+ o.push(u.val);
2702
2731
  }
2703
2732
  }
2704
2733
  }
2705
- return { val: i, err: null };
2734
+ return { val: o, err: null };
2706
2735
  }, e.prototype.parseTag = function(t, n) {
2707
2736
  var r = this.clonePosition();
2708
2737
  this.bump();
2709
- var i = this.parseTagName();
2738
+ var o = this.parseTagName();
2710
2739
  if (this.bumpSpace(), this.bumpIf("/>"))
2711
2740
  return {
2712
2741
  val: {
2713
2742
  type: D.literal,
2714
- value: "<".concat(i, "/>"),
2715
- location: O(r, this.clonePosition())
2743
+ value: "<".concat(o, "/>"),
2744
+ location: L(r, this.clonePosition())
2716
2745
  },
2717
2746
  err: null
2718
2747
  };
2719
2748
  if (this.bumpIf(">")) {
2720
- var o = this.parseMessage(t + 1, n, !0);
2721
- if (o.err)
2722
- return o;
2723
- var u = o.val, s = this.clonePosition();
2749
+ var i = this.parseMessage(t + 1, n, !0);
2750
+ if (i.err)
2751
+ return i;
2752
+ var u = i.val, a = this.clonePosition();
2724
2753
  if (this.bumpIf("</")) {
2725
- if (this.isEOF() || !Jt(this.char()))
2726
- return this.error(H.INVALID_TAG, O(s, this.clonePosition()));
2754
+ if (this.isEOF() || !Yt(this.char()))
2755
+ return this.error(H.INVALID_TAG, L(a, this.clonePosition()));
2727
2756
  var f = this.clonePosition(), l = this.parseTagName();
2728
- return i !== l ? this.error(H.UNMATCHED_CLOSING_TAG, O(f, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2757
+ return o !== l ? this.error(H.UNMATCHED_CLOSING_TAG, L(f, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2729
2758
  val: {
2730
2759
  type: D.tag,
2731
- value: i,
2760
+ value: o,
2732
2761
  children: u,
2733
- location: O(r, this.clonePosition())
2762
+ location: L(r, this.clonePosition())
2734
2763
  },
2735
2764
  err: null
2736
- } : this.error(H.INVALID_TAG, O(s, this.clonePosition())));
2765
+ } : this.error(H.INVALID_TAG, L(a, this.clonePosition())));
2737
2766
  } else
2738
- return this.error(H.UNCLOSED_TAG, O(r, this.clonePosition()));
2767
+ return this.error(H.UNCLOSED_TAG, L(r, this.clonePosition()));
2739
2768
  } else
2740
- return this.error(H.INVALID_TAG, O(r, this.clonePosition()));
2769
+ return this.error(H.INVALID_TAG, L(r, this.clonePosition()));
2741
2770
  }, e.prototype.parseTagName = function() {
2742
2771
  var t = this.offset();
2743
- for (this.bump(); !this.isEOF() && Fi(this.char()); )
2772
+ for (this.bump(); !this.isEOF() && $o(this.char()); )
2744
2773
  this.bump();
2745
2774
  return this.message.slice(t, this.offset());
2746
2775
  }, e.prototype.parseLiteral = function(t, n) {
2747
- for (var r = this.clonePosition(), i = ""; ; ) {
2748
- var o = this.tryParseQuote(n);
2749
- if (o) {
2750
- i += o;
2776
+ for (var r = this.clonePosition(), o = ""; ; ) {
2777
+ var i = this.tryParseQuote(n);
2778
+ if (i) {
2779
+ o += i;
2751
2780
  continue;
2752
2781
  }
2753
2782
  var u = this.tryParseUnquoted(t, n);
2754
2783
  if (u) {
2755
- i += u;
2784
+ o += u;
2756
2785
  continue;
2757
2786
  }
2758
- var s = this.tryParseLeftAngleBracket();
2759
- if (s) {
2760
- i += s;
2787
+ var a = this.tryParseLeftAngleBracket();
2788
+ if (a) {
2789
+ o += a;
2761
2790
  continue;
2762
2791
  }
2763
2792
  break;
2764
2793
  }
2765
- var f = O(r, this.clonePosition());
2794
+ var f = L(r, this.clonePosition());
2766
2795
  return {
2767
- val: { type: D.literal, value: i, location: f },
2796
+ val: { type: D.literal, value: o, location: f },
2768
2797
  err: null
2769
2798
  };
2770
2799
  }, e.prototype.tryParseLeftAngleBracket = function() {
2771
2800
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2772
- !Di(this.peek() || 0)) ? (this.bump(), "<") : null;
2801
+ !jo(this.peek() || 0)) ? (this.bump(), "<") : null;
2773
2802
  }, e.prototype.tryParseQuote = function(t) {
2774
2803
  if (this.isEOF() || this.char() !== 39)
2775
2804
  return null;
@@ -2803,49 +2832,49 @@ var Ii = (
2803
2832
  n.push(r);
2804
2833
  this.bump();
2805
2834
  }
2806
- return qt.apply(void 0, n);
2835
+ return Qt.apply(void 0, n);
2807
2836
  }, e.prototype.tryParseUnquoted = function(t, n) {
2808
2837
  if (this.isEOF())
2809
2838
  return null;
2810
2839
  var r = this.char();
2811
- return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), qt(r));
2840
+ return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), Qt(r));
2812
2841
  }, e.prototype.parseArgument = function(t, n) {
2813
2842
  var r = this.clonePosition();
2814
2843
  if (this.bump(), this.bumpSpace(), this.isEOF())
2815
- return this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, O(r, this.clonePosition()));
2844
+ return this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, L(r, this.clonePosition()));
2816
2845
  if (this.char() === 125)
2817
- return this.bump(), this.error(H.EMPTY_ARGUMENT, O(r, this.clonePosition()));
2818
- var i = this.parseIdentifierIfPossible().value;
2819
- if (!i)
2820
- return this.error(H.MALFORMED_ARGUMENT, O(r, this.clonePosition()));
2846
+ return this.bump(), this.error(H.EMPTY_ARGUMENT, L(r, this.clonePosition()));
2847
+ var o = this.parseIdentifierIfPossible().value;
2848
+ if (!o)
2849
+ return this.error(H.MALFORMED_ARGUMENT, L(r, this.clonePosition()));
2821
2850
  if (this.bumpSpace(), this.isEOF())
2822
- return this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, O(r, this.clonePosition()));
2851
+ return this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, L(r, this.clonePosition()));
2823
2852
  switch (this.char()) {
2824
2853
  case 125:
2825
2854
  return this.bump(), {
2826
2855
  val: {
2827
2856
  type: D.argument,
2828
2857
  // value does not include the opening and closing braces.
2829
- value: i,
2830
- location: O(r, this.clonePosition())
2858
+ value: o,
2859
+ location: L(r, this.clonePosition())
2831
2860
  },
2832
2861
  err: null
2833
2862
  };
2834
2863
  case 44:
2835
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, O(r, this.clonePosition())) : this.parseArgumentOptions(t, n, i, r);
2864
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, L(r, this.clonePosition())) : this.parseArgumentOptions(t, n, o, r);
2836
2865
  default:
2837
- return this.error(H.MALFORMED_ARGUMENT, O(r, this.clonePosition()));
2866
+ return this.error(H.MALFORMED_ARGUMENT, L(r, this.clonePosition()));
2838
2867
  }
2839
2868
  }, e.prototype.parseIdentifierIfPossible = function() {
2840
- var t = this.clonePosition(), n = this.offset(), r = Qt(this.message, n), i = n + r.length;
2841
- this.bumpTo(i);
2842
- var o = this.clonePosition(), u = O(t, o);
2869
+ var t = this.clonePosition(), n = this.offset(), r = Jt(this.message, n), o = n + r.length;
2870
+ this.bumpTo(o);
2871
+ var i = this.clonePosition(), u = L(t, i);
2843
2872
  return { value: r, location: u };
2844
- }, e.prototype.parseArgumentOptions = function(t, n, r, i) {
2845
- var o, u = this.clonePosition(), s = this.parseIdentifierIfPossible().value, f = this.clonePosition();
2846
- switch (s) {
2873
+ }, e.prototype.parseArgumentOptions = function(t, n, r, o) {
2874
+ var i, u = this.clonePosition(), a = this.parseIdentifierIfPossible().value, f = this.clonePosition();
2875
+ switch (a) {
2847
2876
  case "":
2848
- return this.error(H.EXPECT_ARGUMENT_TYPE, O(u, f));
2877
+ return this.error(H.EXPECT_ARGUMENT_TYPE, L(u, f));
2849
2878
  case "number":
2850
2879
  case "date":
2851
2880
  case "time": {
@@ -2853,50 +2882,50 @@ var Ii = (
2853
2882
  var l = null;
2854
2883
  if (this.bumpIf(",")) {
2855
2884
  this.bumpSpace();
2856
- var d = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
2857
- if (m.err)
2858
- return m;
2859
- var b = Pi(m.val);
2860
- if (b.length === 0)
2861
- return this.error(H.EXPECT_ARGUMENT_STYLE, O(this.clonePosition(), this.clonePosition()));
2862
- var _ = O(d, this.clonePosition());
2863
- l = { style: b, styleLocation: _ };
2885
+ var d = this.clonePosition(), g = this.parseSimpleArgStyleIfPossible();
2886
+ if (g.err)
2887
+ return g;
2888
+ var y = Uo(g.val);
2889
+ if (y.length === 0)
2890
+ return this.error(H.EXPECT_ARGUMENT_STYLE, L(this.clonePosition(), this.clonePosition()));
2891
+ var _ = L(d, this.clonePosition());
2892
+ l = { style: y, styleLocation: _ };
2864
2893
  }
2865
- var B = this.tryParseArgumentClose(i);
2894
+ var B = this.tryParseArgumentClose(o);
2866
2895
  if (B.err)
2867
2896
  return B;
2868
- var I = O(i, this.clonePosition());
2869
- if (l && mn(l == null ? void 0 : l.style, "::", 0)) {
2870
- var j = Mi(l.style.slice(2));
2871
- if (s === "number") {
2872
- var m = this.parseNumberSkeletonFromString(j, l.styleLocation);
2873
- return m.err ? m : {
2874
- val: { type: D.number, value: r, location: I, style: m.val },
2897
+ var P = L(o, this.clonePosition());
2898
+ if (l && gn(l == null ? void 0 : l.style, "::", 0)) {
2899
+ var j = Fo(l.style.slice(2));
2900
+ if (a === "number") {
2901
+ var g = this.parseNumberSkeletonFromString(j, l.styleLocation);
2902
+ return g.err ? g : {
2903
+ val: { type: D.number, value: r, location: P, style: g.val },
2875
2904
  err: null
2876
2905
  };
2877
2906
  } else {
2878
2907
  if (j.length === 0)
2879
- return this.error(H.EXPECT_DATE_TIME_SKELETON, I);
2880
- var W = j;
2881
- this.locale && (W = xi(j, this.locale));
2882
- var b = {
2883
- type: Ue.dateTime,
2884
- pattern: W,
2908
+ return this.error(H.EXPECT_DATE_TIME_SKELETON, P);
2909
+ var Z = j;
2910
+ this.locale && (Z = Bo(j, this.locale));
2911
+ var y = {
2912
+ type: Ge.dateTime,
2913
+ pattern: Z,
2885
2914
  location: l.styleLocation,
2886
- parsedOptions: this.shouldParseSkeletons ? pi(W) : {}
2887
- }, U = s === "date" ? D.date : D.time;
2915
+ parsedOptions: this.shouldParseSkeletons ? yo(Z) : {}
2916
+ }, U = a === "date" ? D.date : D.time;
2888
2917
  return {
2889
- val: { type: U, value: r, location: I, style: b },
2918
+ val: { type: U, value: r, location: P, style: y },
2890
2919
  err: null
2891
2920
  };
2892
2921
  }
2893
2922
  }
2894
2923
  return {
2895
2924
  val: {
2896
- type: s === "number" ? D.number : s === "date" ? D.date : D.time,
2925
+ type: a === "number" ? D.number : a === "date" ? D.date : D.time,
2897
2926
  value: r,
2898
- location: I,
2899
- style: (o = l == null ? void 0 : l.style) !== null && o !== void 0 ? o : null
2927
+ location: P,
2928
+ style: (i = l == null ? void 0 : l.style) !== null && i !== void 0 ? i : null
2900
2929
  },
2901
2930
  err: null
2902
2931
  };
@@ -2906,59 +2935,59 @@ var Ii = (
2906
2935
  case "select": {
2907
2936
  var w = this.clonePosition();
2908
2937
  if (this.bumpSpace(), !this.bumpIf(","))
2909
- return this.error(H.EXPECT_SELECT_ARGUMENT_OPTIONS, O(w, gt({}, w)));
2938
+ return this.error(H.EXPECT_SELECT_ARGUMENT_OPTIONS, L(w, vt({}, w)));
2910
2939
  this.bumpSpace();
2911
- var A = this.parseIdentifierIfPossible(), P = 0;
2912
- if (s !== "select" && A.value === "offset") {
2940
+ var C = this.parseIdentifierIfPossible(), N = 0;
2941
+ if (a !== "select" && C.value === "offset") {
2913
2942
  if (!this.bumpIf(":"))
2914
- return this.error(H.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, O(this.clonePosition(), this.clonePosition()));
2943
+ return this.error(H.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, L(this.clonePosition(), this.clonePosition()));
2915
2944
  this.bumpSpace();
2916
- var m = this.tryParseDecimalInteger(H.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, H.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2917
- if (m.err)
2918
- return m;
2919
- this.bumpSpace(), A = this.parseIdentifierIfPossible(), P = m.val;
2945
+ var g = this.tryParseDecimalInteger(H.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, H.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2946
+ if (g.err)
2947
+ return g;
2948
+ this.bumpSpace(), C = this.parseIdentifierIfPossible(), N = g.val;
2920
2949
  }
2921
- var L = this.tryParsePluralOrSelectOptions(t, s, n, A);
2922
- if (L.err)
2923
- return L;
2924
- var B = this.tryParseArgumentClose(i);
2950
+ var M = this.tryParsePluralOrSelectOptions(t, a, n, C);
2951
+ if (M.err)
2952
+ return M;
2953
+ var B = this.tryParseArgumentClose(o);
2925
2954
  if (B.err)
2926
2955
  return B;
2927
- var Y = O(i, this.clonePosition());
2928
- return s === "select" ? {
2956
+ var W = L(o, this.clonePosition());
2957
+ return a === "select" ? {
2929
2958
  val: {
2930
2959
  type: D.select,
2931
2960
  value: r,
2932
- options: gn(L.val),
2933
- location: Y
2961
+ options: bn(M.val),
2962
+ location: W
2934
2963
  },
2935
2964
  err: null
2936
2965
  } : {
2937
2966
  val: {
2938
2967
  type: D.plural,
2939
2968
  value: r,
2940
- options: gn(L.val),
2941
- offset: P,
2942
- pluralType: s === "plural" ? "cardinal" : "ordinal",
2943
- location: Y
2969
+ options: bn(M.val),
2970
+ offset: N,
2971
+ pluralType: a === "plural" ? "cardinal" : "ordinal",
2972
+ location: W
2944
2973
  },
2945
2974
  err: null
2946
2975
  };
2947
2976
  }
2948
2977
  default:
2949
- return this.error(H.INVALID_ARGUMENT_TYPE, O(u, f));
2978
+ return this.error(H.INVALID_ARGUMENT_TYPE, L(u, f));
2950
2979
  }
2951
2980
  }, e.prototype.tryParseArgumentClose = function(t) {
2952
- return this.isEOF() || this.char() !== 125 ? this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, O(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2981
+ return this.isEOF() || this.char() !== 125 ? this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, L(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2953
2982
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
2954
2983
  for (var t = 0, n = this.clonePosition(); !this.isEOF(); ) {
2955
2984
  var r = this.char();
2956
2985
  switch (r) {
2957
2986
  case 39: {
2958
2987
  this.bump();
2959
- var i = this.clonePosition();
2988
+ var o = this.clonePosition();
2960
2989
  if (!this.bumpUntil("'"))
2961
- return this.error(H.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, O(i, this.clonePosition()));
2990
+ return this.error(H.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, L(o, this.clonePosition()));
2962
2991
  this.bump();
2963
2992
  break;
2964
2993
  }
@@ -2988,28 +3017,28 @@ var Ii = (
2988
3017
  }, e.prototype.parseNumberSkeletonFromString = function(t, n) {
2989
3018
  var r = [];
2990
3019
  try {
2991
- r = gi(t);
2992
- } catch (i) {
3020
+ r = Eo(t);
3021
+ } catch (o) {
2993
3022
  return this.error(H.INVALID_NUMBER_SKELETON, n);
2994
3023
  }
2995
3024
  return {
2996
3025
  val: {
2997
- type: Ue.number,
3026
+ type: Ge.number,
2998
3027
  tokens: r,
2999
3028
  location: n,
3000
- parsedOptions: this.shouldParseSkeletons ? Ei(r) : {}
3029
+ parsedOptions: this.shouldParseSkeletons ? So(r) : {}
3001
3030
  },
3002
3031
  err: null
3003
3032
  };
3004
- }, e.prototype.tryParsePluralOrSelectOptions = function(t, n, r, i) {
3005
- for (var o, u = !1, s = [], f = /* @__PURE__ */ new Set(), l = i.value, d = i.location; ; ) {
3033
+ }, e.prototype.tryParsePluralOrSelectOptions = function(t, n, r, o) {
3034
+ for (var i, u = !1, a = [], f = /* @__PURE__ */ new Set(), l = o.value, d = o.location; ; ) {
3006
3035
  if (l.length === 0) {
3007
- var m = this.clonePosition();
3036
+ var g = this.clonePosition();
3008
3037
  if (n !== "select" && this.bumpIf("=")) {
3009
- var b = this.tryParseDecimalInteger(H.EXPECT_PLURAL_ARGUMENT_SELECTOR, H.INVALID_PLURAL_ARGUMENT_SELECTOR);
3010
- if (b.err)
3011
- return b;
3012
- d = O(m, this.clonePosition()), l = this.message.slice(m.offset, this.offset());
3038
+ var y = this.tryParseDecimalInteger(H.EXPECT_PLURAL_ARGUMENT_SELECTOR, H.INVALID_PLURAL_ARGUMENT_SELECTOR);
3039
+ if (y.err)
3040
+ return y;
3041
+ d = L(g, this.clonePosition()), l = this.message.slice(g.offset, this.offset());
3013
3042
  } else
3014
3043
  break;
3015
3044
  }
@@ -3018,34 +3047,34 @@ var Ii = (
3018
3047
  l === "other" && (u = !0), this.bumpSpace();
3019
3048
  var _ = this.clonePosition();
3020
3049
  if (!this.bumpIf("{"))
3021
- return this.error(n === "select" ? H.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : H.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, O(this.clonePosition(), this.clonePosition()));
3050
+ return this.error(n === "select" ? H.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : H.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, L(this.clonePosition(), this.clonePosition()));
3022
3051
  var B = this.parseMessage(t + 1, n, r);
3023
3052
  if (B.err)
3024
3053
  return B;
3025
- var I = this.tryParseArgumentClose(_);
3026
- if (I.err)
3027
- return I;
3028
- s.push([
3054
+ var P = this.tryParseArgumentClose(_);
3055
+ if (P.err)
3056
+ return P;
3057
+ a.push([
3029
3058
  l,
3030
3059
  {
3031
3060
  value: B.val,
3032
- location: O(_, this.clonePosition())
3061
+ location: L(_, this.clonePosition())
3033
3062
  }
3034
- ]), f.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, d = o.location;
3063
+ ]), f.add(l), this.bumpSpace(), i = this.parseIdentifierIfPossible(), l = i.value, d = i.location;
3035
3064
  }
3036
- return s.length === 0 ? this.error(n === "select" ? H.EXPECT_SELECT_ARGUMENT_SELECTOR : H.EXPECT_PLURAL_ARGUMENT_SELECTOR, O(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !u ? this.error(H.MISSING_OTHER_CLAUSE, O(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3065
+ return a.length === 0 ? this.error(n === "select" ? H.EXPECT_SELECT_ARGUMENT_SELECTOR : H.EXPECT_PLURAL_ARGUMENT_SELECTOR, L(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !u ? this.error(H.MISSING_OTHER_CLAUSE, L(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3037
3066
  }, e.prototype.tryParseDecimalInteger = function(t, n) {
3038
- var r = 1, i = this.clonePosition();
3067
+ var r = 1, o = this.clonePosition();
3039
3068
  this.bumpIf("+") || this.bumpIf("-") && (r = -1);
3040
- for (var o = !1, u = 0; !this.isEOF(); ) {
3041
- var s = this.char();
3042
- if (s >= 48 && s <= 57)
3043
- o = !0, u = u * 10 + (s - 48), this.bump();
3069
+ for (var i = !1, u = 0; !this.isEOF(); ) {
3070
+ var a = this.char();
3071
+ if (a >= 48 && a <= 57)
3072
+ i = !0, u = u * 10 + (a - 48), this.bump();
3044
3073
  else
3045
3074
  break;
3046
3075
  }
3047
- var f = O(i, this.clonePosition());
3048
- return o ? (u *= r, Ri(u) ? { val: u, err: null } : this.error(n, f)) : this.error(t, f);
3076
+ var f = L(o, this.clonePosition());
3077
+ return i ? (u *= r, Io(u) ? { val: u, err: null } : this.error(n, f)) : this.error(t, f);
3049
3078
  }, e.prototype.offset = function() {
3050
3079
  return this.position.offset;
3051
3080
  }, e.prototype.isEOF = function() {
@@ -3060,7 +3089,7 @@ var Ii = (
3060
3089
  var t = this.position.offset;
3061
3090
  if (t >= this.message.length)
3062
3091
  throw Error("out of bound");
3063
- var n = Qn(this.message, t);
3092
+ var n = Jn(this.message, t);
3064
3093
  if (n === void 0)
3065
3094
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3066
3095
  return n;
@@ -3079,7 +3108,7 @@ var Ii = (
3079
3108
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
3080
3109
  }
3081
3110
  }, e.prototype.bumpIf = function(t) {
3082
- if (mn(this.message, t, this.offset())) {
3111
+ if (gn(this.message, t, this.offset())) {
3083
3112
  for (var n = 0; n < t.length; n++)
3084
3113
  this.bump();
3085
3114
  return !0;
@@ -3101,7 +3130,7 @@ var Ii = (
3101
3130
  break;
3102
3131
  }
3103
3132
  }, e.prototype.bumpSpace = function() {
3104
- for (; !this.isEOF() && Yn(this.char()); )
3133
+ for (; !this.isEOF() && Kn(this.char()); )
3105
3134
  this.bump();
3106
3135
  }, e.prototype.peek = function() {
3107
3136
  if (this.isEOF())
@@ -3111,204 +3140,204 @@ var Ii = (
3111
3140
  }, e;
3112
3141
  }()
3113
3142
  );
3114
- function Jt(e) {
3143
+ function Yt(e) {
3115
3144
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3116
3145
  }
3117
- function Di(e) {
3118
- return Jt(e) || e === 47;
3146
+ function jo(e) {
3147
+ return Yt(e) || e === 47;
3119
3148
  }
3120
- function Fi(e) {
3149
+ function $o(e) {
3121
3150
  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;
3122
3151
  }
3123
- function Yn(e) {
3152
+ function Kn(e) {
3124
3153
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3125
3154
  }
3126
- function Ui(e) {
3155
+ function ko(e) {
3127
3156
  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;
3128
3157
  }
3129
- function Yt(e) {
3158
+ function Kt(e) {
3130
3159
  e.forEach(function(t) {
3131
- if (delete t.location, $n(t) || kn(t))
3160
+ if (delete t.location, kn(t) || Vn(t))
3132
3161
  for (var n in t.options)
3133
- delete t.options[n].location, Yt(t.options[n].value);
3162
+ delete t.options[n].location, Kt(t.options[n].value);
3134
3163
  else
3135
- Un(t) && Xn(t.style) || (Gn(t) || jn(t)) && Wt(t.style) ? delete t.style.location : Vn(t) && Yt(t.children);
3164
+ Gn(t) && zn(t.style) || (jn(t) || $n(t)) && Zt(t.style) ? delete t.style.location : Xn(t) && Kt(t.children);
3136
3165
  });
3137
3166
  }
3138
- function Gi(e, t) {
3139
- t === void 0 && (t = {}), t = gt({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3140
- var n = new Ii(e, t).parse();
3167
+ function Vo(e, t) {
3168
+ t === void 0 && (t = {}), t = vt({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3169
+ var n = new Go(e, t).parse();
3141
3170
  if (n.err) {
3142
3171
  var r = SyntaxError(H[n.err.kind]);
3143
3172
  throw r.location = n.err.location, r.originalMessage = n.err.message, r;
3144
3173
  }
3145
- return t != null && t.captureLocation || Yt(n.val), n.val;
3174
+ return t != null && t.captureLocation || Kt(n.val), n.val;
3146
3175
  }
3147
- var Ge;
3176
+ var je;
3148
3177
  (function(e) {
3149
3178
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3150
- })(Ge || (Ge = {}));
3151
- var xt = (
3179
+ })(je || (je = {}));
3180
+ var St = (
3152
3181
  /** @class */
3153
3182
  function(e) {
3154
- Et(t, e);
3155
- function t(n, r, i) {
3156
- var o = e.call(this, n) || this;
3157
- return o.code = r, o.originalMessage = i, o;
3183
+ Tt(t, e);
3184
+ function t(n, r, o) {
3185
+ var i = e.call(this, n) || this;
3186
+ return i.code = r, i.originalMessage = o, i;
3158
3187
  }
3159
3188
  return t.prototype.toString = function() {
3160
3189
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3161
3190
  }, t;
3162
3191
  }(Error)
3163
- ), yn = (
3192
+ ), vn = (
3164
3193
  /** @class */
3165
3194
  function(e) {
3166
- Et(t, e);
3167
- function t(n, r, i, o) {
3168
- return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Ge.INVALID_VALUE, o) || this;
3195
+ Tt(t, e);
3196
+ function t(n, r, o, i) {
3197
+ return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(o).join('", "'), '"'), je.INVALID_VALUE, i) || this;
3169
3198
  }
3170
3199
  return t;
3171
- }(xt)
3172
- ), ji = (
3200
+ }(St)
3201
+ ), Xo = (
3173
3202
  /** @class */
3174
3203
  function(e) {
3175
- Et(t, e);
3176
- function t(n, r, i) {
3177
- return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), Ge.INVALID_VALUE, i) || this;
3204
+ Tt(t, e);
3205
+ function t(n, r, o) {
3206
+ return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), je.INVALID_VALUE, o) || this;
3178
3207
  }
3179
3208
  return t;
3180
- }(xt)
3181
- ), $i = (
3209
+ }(St)
3210
+ ), zo = (
3182
3211
  /** @class */
3183
3212
  function(e) {
3184
- Et(t, e);
3213
+ Tt(t, e);
3185
3214
  function t(n, r) {
3186
- return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), Ge.MISSING_VALUE, r) || this;
3215
+ return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), je.MISSING_VALUE, r) || this;
3187
3216
  }
3188
3217
  return t;
3189
- }(xt)
3190
- ), J;
3218
+ }(St)
3219
+ ), ee;
3191
3220
  (function(e) {
3192
3221
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3193
- })(J || (J = {}));
3194
- function ki(e) {
3222
+ })(ee || (ee = {}));
3223
+ function Wo(e) {
3195
3224
  return e.length < 2 ? e : e.reduce(function(t, n) {
3196
3225
  var r = t[t.length - 1];
3197
- return !r || r.type !== J.literal || n.type !== J.literal ? t.push(n) : r.value += n.value, t;
3226
+ return !r || r.type !== ee.literal || n.type !== ee.literal ? t.push(n) : r.value += n.value, t;
3198
3227
  }, []);
3199
3228
  }
3200
- function Vi(e) {
3229
+ function Zo(e) {
3201
3230
  return typeof e == "function";
3202
3231
  }
3203
- function ft(e, t, n, r, i, o, u) {
3204
- if (e.length === 1 && cn(e[0]))
3232
+ function mt(e, t, n, r, o, i, u) {
3233
+ if (e.length === 1 && fn(e[0]))
3205
3234
  return [
3206
3235
  {
3207
- type: J.literal,
3236
+ type: ee.literal,
3208
3237
  value: e[0].value
3209
3238
  }
3210
3239
  ];
3211
- for (var s = [], f = 0, l = e; f < l.length; f++) {
3240
+ for (var a = [], f = 0, l = e; f < l.length; f++) {
3212
3241
  var d = l[f];
3213
- if (cn(d)) {
3214
- s.push({
3215
- type: J.literal,
3242
+ if (fn(d)) {
3243
+ a.push({
3244
+ type: ee.literal,
3216
3245
  value: d.value
3217
3246
  });
3218
3247
  continue;
3219
3248
  }
3220
- if (fi(d)) {
3221
- typeof o == "number" && s.push({
3222
- type: J.literal,
3223
- value: n.getNumberFormat(t).format(o)
3249
+ if (go(d)) {
3250
+ typeof i == "number" && a.push({
3251
+ type: ee.literal,
3252
+ value: n.getNumberFormat(t).format(i)
3224
3253
  });
3225
3254
  continue;
3226
3255
  }
3227
- var m = d.value;
3228
- if (!(i && m in i))
3229
- throw new $i(m, u);
3230
- var b = i[m];
3231
- if (ci(d)) {
3232
- (!b || typeof b == "string" || typeof b == "number") && (b = typeof b == "string" || typeof b == "number" ? String(b) : ""), s.push({
3233
- type: typeof b == "string" ? J.literal : J.object,
3234
- value: b
3256
+ var g = d.value;
3257
+ if (!(o && g in o))
3258
+ throw new zo(g, u);
3259
+ var y = o[g];
3260
+ if (mo(d)) {
3261
+ (!y || typeof y == "string" || typeof y == "number") && (y = typeof y == "string" || typeof y == "number" ? String(y) : ""), a.push({
3262
+ type: typeof y == "string" ? ee.literal : ee.object,
3263
+ value: y
3235
3264
  });
3236
3265
  continue;
3237
3266
  }
3238
- if (Gn(d)) {
3239
- var _ = typeof d.style == "string" ? r.date[d.style] : Wt(d.style) ? d.style.parsedOptions : void 0;
3240
- s.push({
3241
- type: J.literal,
3242
- value: n.getDateTimeFormat(t, _).format(b)
3267
+ if (jn(d)) {
3268
+ var _ = typeof d.style == "string" ? r.date[d.style] : Zt(d.style) ? d.style.parsedOptions : void 0;
3269
+ a.push({
3270
+ type: ee.literal,
3271
+ value: n.getDateTimeFormat(t, _).format(y)
3243
3272
  });
3244
3273
  continue;
3245
3274
  }
3246
- if (jn(d)) {
3247
- var _ = typeof d.style == "string" ? r.time[d.style] : Wt(d.style) ? d.style.parsedOptions : r.time.medium;
3248
- s.push({
3249
- type: J.literal,
3250
- value: n.getDateTimeFormat(t, _).format(b)
3275
+ if ($n(d)) {
3276
+ var _ = typeof d.style == "string" ? r.time[d.style] : Zt(d.style) ? d.style.parsedOptions : r.time.medium;
3277
+ a.push({
3278
+ type: ee.literal,
3279
+ value: n.getDateTimeFormat(t, _).format(y)
3251
3280
  });
3252
3281
  continue;
3253
3282
  }
3254
- if (Un(d)) {
3255
- var _ = typeof d.style == "string" ? r.number[d.style] : Xn(d.style) ? d.style.parsedOptions : void 0;
3256
- _ && _.scale && (b = b * (_.scale || 1)), s.push({
3257
- type: J.literal,
3258
- value: n.getNumberFormat(t, _).format(b)
3283
+ if (Gn(d)) {
3284
+ var _ = typeof d.style == "string" ? r.number[d.style] : zn(d.style) ? d.style.parsedOptions : void 0;
3285
+ _ && _.scale && (y = y * (_.scale || 1)), a.push({
3286
+ type: ee.literal,
3287
+ value: n.getNumberFormat(t, _).format(y)
3259
3288
  });
3260
3289
  continue;
3261
3290
  }
3262
- if (Vn(d)) {
3263
- var B = d.children, I = d.value, j = i[I];
3264
- if (!Vi(j))
3265
- throw new ji(I, "function", u);
3266
- var W = ft(B, t, n, r, i, o), U = j(W.map(function(P) {
3267
- return P.value;
3291
+ if (Xn(d)) {
3292
+ var B = d.children, P = d.value, j = o[P];
3293
+ if (!Zo(j))
3294
+ throw new Xo(P, "function", u);
3295
+ var Z = mt(B, t, n, r, o, i), U = j(Z.map(function(N) {
3296
+ return N.value;
3268
3297
  }));
3269
- Array.isArray(U) || (U = [U]), s.push.apply(s, U.map(function(P) {
3298
+ Array.isArray(U) || (U = [U]), a.push.apply(a, U.map(function(N) {
3270
3299
  return {
3271
- type: typeof P == "string" ? J.literal : J.object,
3272
- value: P
3300
+ type: typeof N == "string" ? ee.literal : ee.object,
3301
+ value: N
3273
3302
  };
3274
3303
  }));
3275
3304
  }
3276
- if ($n(d)) {
3277
- var w = d.options[b] || d.options.other;
3305
+ if (kn(d)) {
3306
+ var w = d.options[y] || d.options.other;
3278
3307
  if (!w)
3279
- throw new yn(d.value, b, Object.keys(d.options), u);
3280
- s.push.apply(s, ft(w.value, t, n, r, i));
3308
+ throw new vn(d.value, y, Object.keys(d.options), u);
3309
+ a.push.apply(a, mt(w.value, t, n, r, o));
3281
3310
  continue;
3282
3311
  }
3283
- if (kn(d)) {
3284
- var w = d.options["=".concat(b)];
3312
+ if (Vn(d)) {
3313
+ var w = d.options["=".concat(y)];
3285
3314
  if (!w) {
3286
3315
  if (!Intl.PluralRules)
3287
- throw new xt(`Intl.PluralRules is not available in this environment.
3316
+ throw new St(`Intl.PluralRules is not available in this environment.
3288
3317
  Try polyfilling it using "@formatjs/intl-pluralrules"
3289
- `, Ge.MISSING_INTL_API, u);
3290
- var A = n.getPluralRules(t, { type: d.pluralType }).select(b - (d.offset || 0));
3291
- w = d.options[A] || d.options.other;
3318
+ `, je.MISSING_INTL_API, u);
3319
+ var C = n.getPluralRules(t, { type: d.pluralType }).select(y - (d.offset || 0));
3320
+ w = d.options[C] || d.options.other;
3292
3321
  }
3293
3322
  if (!w)
3294
- throw new yn(d.value, b, Object.keys(d.options), u);
3295
- s.push.apply(s, ft(w.value, t, n, r, i, b - (d.offset || 0)));
3323
+ throw new vn(d.value, y, Object.keys(d.options), u);
3324
+ a.push.apply(a, mt(w.value, t, n, r, o, y - (d.offset || 0)));
3296
3325
  continue;
3297
3326
  }
3298
3327
  }
3299
- return ki(s);
3328
+ return Wo(a);
3300
3329
  }
3301
- function Xi(e, t) {
3330
+ function qo(e, t) {
3302
3331
  return t ? fe(fe(fe({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
3303
3332
  return n[r] = fe(fe({}, e[r]), t[r] || {}), n;
3304
3333
  }, {})) : e;
3305
3334
  }
3306
- function zi(e, t) {
3335
+ function Qo(e, t) {
3307
3336
  return t ? Object.keys(e).reduce(function(n, r) {
3308
- return n[r] = Xi(e[r], t[r]), n;
3337
+ return n[r] = qo(e[r], t[r]), n;
3309
3338
  }, fe({}, e)) : e;
3310
3339
  }
3311
- function jt(e) {
3340
+ function $t(e) {
3312
3341
  return {
3313
3342
  create: function() {
3314
3343
  return {
@@ -3322,77 +3351,77 @@ function jt(e) {
3322
3351
  }
3323
3352
  };
3324
3353
  }
3325
- function Wi(e) {
3354
+ function Jo(e) {
3326
3355
  return e === void 0 && (e = {
3327
3356
  number: {},
3328
3357
  dateTime: {},
3329
3358
  pluralRules: {}
3330
3359
  }), {
3331
- getNumberFormat: Ft(function() {
3360
+ getNumberFormat: Ut(function() {
3332
3361
  for (var t, n = [], r = 0; r < arguments.length; r++)
3333
3362
  n[r] = arguments[r];
3334
- return new ((t = Intl.NumberFormat).bind.apply(t, Dt([void 0], n, !1)))();
3363
+ return new ((t = Intl.NumberFormat).bind.apply(t, Ft([void 0], n, !1)))();
3335
3364
  }, {
3336
- cache: jt(e.number),
3337
- strategy: Ut.variadic
3365
+ cache: $t(e.number),
3366
+ strategy: Gt.variadic
3338
3367
  }),
3339
- getDateTimeFormat: Ft(function() {
3368
+ getDateTimeFormat: Ut(function() {
3340
3369
  for (var t, n = [], r = 0; r < arguments.length; r++)
3341
3370
  n[r] = arguments[r];
3342
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Dt([void 0], n, !1)))();
3371
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Ft([void 0], n, !1)))();
3343
3372
  }, {
3344
- cache: jt(e.dateTime),
3345
- strategy: Ut.variadic
3373
+ cache: $t(e.dateTime),
3374
+ strategy: Gt.variadic
3346
3375
  }),
3347
- getPluralRules: Ft(function() {
3376
+ getPluralRules: Ut(function() {
3348
3377
  for (var t, n = [], r = 0; r < arguments.length; r++)
3349
3378
  n[r] = arguments[r];
3350
- return new ((t = Intl.PluralRules).bind.apply(t, Dt([void 0], n, !1)))();
3379
+ return new ((t = Intl.PluralRules).bind.apply(t, Ft([void 0], n, !1)))();
3351
3380
  }, {
3352
- cache: jt(e.pluralRules),
3353
- strategy: Ut.variadic
3381
+ cache: $t(e.pluralRules),
3382
+ strategy: Gt.variadic
3354
3383
  })
3355
3384
  };
3356
3385
  }
3357
- var Zi = (
3386
+ var Yo = (
3358
3387
  /** @class */
3359
3388
  function() {
3360
- function e(t, n, r, i) {
3389
+ function e(t, n, r, o) {
3361
3390
  n === void 0 && (n = e.defaultLocale);
3362
- var o = this;
3391
+ var i = this;
3363
3392
  if (this.formatterCache = {
3364
3393
  number: {},
3365
3394
  dateTime: {},
3366
3395
  pluralRules: {}
3367
3396
  }, this.format = function(f) {
3368
- var l = o.formatToParts(f);
3397
+ var l = i.formatToParts(f);
3369
3398
  if (l.length === 1)
3370
3399
  return l[0].value;
3371
- var d = l.reduce(function(m, b) {
3372
- return !m.length || b.type !== J.literal || typeof m[m.length - 1] != "string" ? m.push(b.value) : m[m.length - 1] += b.value, m;
3400
+ var d = l.reduce(function(g, y) {
3401
+ return !g.length || y.type !== ee.literal || typeof g[g.length - 1] != "string" ? g.push(y.value) : g[g.length - 1] += y.value, g;
3373
3402
  }, []);
3374
3403
  return d.length <= 1 ? d[0] || "" : d;
3375
3404
  }, this.formatToParts = function(f) {
3376
- return ft(o.ast, o.locales, o.formatters, o.formats, f, void 0, o.message);
3405
+ return mt(i.ast, i.locales, i.formatters, i.formats, f, void 0, i.message);
3377
3406
  }, this.resolvedOptions = function() {
3378
3407
  var f;
3379
3408
  return {
3380
- locale: ((f = o.resolvedLocale) === null || f === void 0 ? void 0 : f.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
3409
+ locale: ((f = i.resolvedLocale) === null || f === void 0 ? void 0 : f.toString()) || Intl.NumberFormat.supportedLocalesOf(i.locales)[0]
3381
3410
  };
3382
3411
  }, this.getAst = function() {
3383
- return o.ast;
3412
+ return i.ast;
3384
3413
  }, this.locales = n, this.resolvedLocale = e.resolveLocale(n), typeof t == "string") {
3385
3414
  if (this.message = t, !e.__parse)
3386
3415
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3387
- var u = i || {};
3416
+ var u = o || {};
3388
3417
  u.formatters;
3389
- var s = ri(u, ["formatters"]);
3390
- this.ast = e.__parse(t, fe(fe({}, s), { locale: this.resolvedLocale }));
3418
+ var a = ao(u, ["formatters"]);
3419
+ this.ast = e.__parse(t, fe(fe({}, a), { locale: this.resolvedLocale }));
3391
3420
  } else
3392
3421
  this.ast = t;
3393
3422
  if (!Array.isArray(this.ast))
3394
3423
  throw new TypeError("A message must be provided as a String or AST.");
3395
- this.formats = zi(e.formats, r), this.formatters = i && i.formatters || Wi(this.formatterCache);
3424
+ this.formats = Qo(e.formats, r), this.formatters = o && o.formatters || Jo(this.formatterCache);
3396
3425
  }
3397
3426
  return Object.defineProperty(e, "defaultLocale", {
3398
3427
  get: function() {
@@ -3405,7 +3434,7 @@ var Zi = (
3405
3434
  var n = Intl.NumberFormat.supportedLocalesOf(t);
3406
3435
  return n.length > 0 ? new Intl.Locale(n[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3407
3436
  }
3408
- }, e.__parse = Gi, e.formats = {
3437
+ }, e.__parse = Vo, e.formats = {
3409
3438
  number: {
3410
3439
  integer: {
3411
3440
  maximumFractionDigits: 0
@@ -3466,113 +3495,113 @@ var Zi = (
3466
3495
  }, e;
3467
3496
  }()
3468
3497
  );
3469
- function qi(e, t) {
3498
+ function Ko(e, t) {
3470
3499
  if (t == null)
3471
3500
  return;
3472
3501
  if (t in e)
3473
3502
  return e[t];
3474
3503
  const n = t.split(".");
3475
3504
  let r = e;
3476
- for (let i = 0; i < n.length; i++)
3505
+ for (let o = 0; o < n.length; o++)
3477
3506
  if (typeof r == "object") {
3478
- if (i > 0) {
3479
- const o = n.slice(i, n.length).join(".");
3480
- if (o in r) {
3481
- r = r[o];
3507
+ if (o > 0) {
3508
+ const i = n.slice(o, n.length).join(".");
3509
+ if (i in r) {
3510
+ r = r[i];
3482
3511
  break;
3483
3512
  }
3484
3513
  }
3485
- r = r[n[i]];
3514
+ r = r[n[o]];
3486
3515
  } else
3487
3516
  r = void 0;
3488
3517
  return r;
3489
3518
  }
3490
- const Se = {}, Qi = (e, t, n) => n && (t in Se || (Se[t] = {}), e in Se[t] || (Se[t][e] = n), n), Kn = (e, t) => {
3519
+ const we = {}, ei = (e, t, n) => n && (t in we || (we[t] = {}), e in we[t] || (we[t][e] = n), n), er = (e, t) => {
3491
3520
  if (t == null)
3492
3521
  return;
3493
- if (t in Se && e in Se[t])
3494
- return Se[t][e];
3495
- const n = _t(t);
3522
+ if (t in we && e in we[t])
3523
+ return we[t][e];
3524
+ const n = Bt(t);
3496
3525
  for (let r = 0; r < n.length; r++) {
3497
- const i = n[r], o = Yi(i, e);
3498
- if (o)
3499
- return Qi(e, t, o);
3526
+ const o = n[r], i = ni(o, e);
3527
+ if (i)
3528
+ return ei(e, t, i);
3500
3529
  }
3501
3530
  };
3502
- let rn;
3503
- const rt = vt({});
3504
- function Ji(e) {
3505
- return rn[e] || null;
3531
+ let on;
3532
+ const it = _t({});
3533
+ function ti(e) {
3534
+ return on[e] || null;
3506
3535
  }
3507
- function er(e) {
3508
- return e in rn;
3536
+ function tr(e) {
3537
+ return e in on;
3509
3538
  }
3510
- function Yi(e, t) {
3511
- if (!er(e))
3539
+ function ni(e, t) {
3540
+ if (!tr(e))
3512
3541
  return null;
3513
- const n = Ji(e);
3514
- return qi(n, t);
3542
+ const n = ti(e);
3543
+ return Ko(n, t);
3515
3544
  }
3516
- function Ki(e) {
3545
+ function ri(e) {
3517
3546
  if (e == null)
3518
3547
  return;
3519
- const t = _t(e);
3548
+ const t = Bt(e);
3520
3549
  for (let n = 0; n < t.length; n++) {
3521
3550
  const r = t[n];
3522
- if (er(r))
3551
+ if (tr(r))
3523
3552
  return r;
3524
3553
  }
3525
3554
  }
3526
- function tr(e, ...t) {
3527
- delete Se[e], rt.update((n) => (n[e] = ni.all([n[e] || {}, ...t]), n));
3555
+ function nr(e, ...t) {
3556
+ delete we[e], it.update((n) => (n[e] = io.all([n[e] || {}, ...t]), n));
3528
3557
  }
3529
- ke(
3530
- [rt],
3558
+ Ve(
3559
+ [it],
3531
3560
  ([e]) => Object.keys(e)
3532
3561
  );
3533
- rt.subscribe((e) => rn = e);
3534
- const dt = {};
3535
- function eo(e, t) {
3536
- dt[e].delete(t), dt[e].size === 0 && delete dt[e];
3562
+ it.subscribe((e) => on = e);
3563
+ const gt = {};
3564
+ function oi(e, t) {
3565
+ gt[e].delete(t), gt[e].size === 0 && delete gt[e];
3537
3566
  }
3538
- function nr(e) {
3539
- return dt[e];
3567
+ function rr(e) {
3568
+ return gt[e];
3540
3569
  }
3541
- function to(e) {
3542
- return _t(e).map((t) => {
3543
- const n = nr(t);
3570
+ function ii(e) {
3571
+ return Bt(e).map((t) => {
3572
+ const n = rr(t);
3544
3573
  return [t, n ? [...n] : []];
3545
3574
  }).filter(([, t]) => t.length > 0);
3546
3575
  }
3547
- function Kt(e) {
3548
- return e == null ? !1 : _t(e).some(
3576
+ function en(e) {
3577
+ return e == null ? !1 : Bt(e).some(
3549
3578
  (t) => {
3550
3579
  var n;
3551
- return (n = nr(t)) == null ? void 0 : n.size;
3580
+ return (n = rr(t)) == null ? void 0 : n.size;
3552
3581
  }
3553
3582
  );
3554
3583
  }
3555
- function no(e, t) {
3584
+ function ai(e, t) {
3556
3585
  return Promise.all(
3557
- t.map((r) => (eo(e, r), r().then((i) => i.default || i)))
3558
- ).then((r) => tr(e, ...r));
3559
- }
3560
- const Ye = {};
3561
- function rr(e) {
3562
- if (!Kt(e))
3563
- return e in Ye ? Ye[e] : Promise.resolve();
3564
- const t = to(e);
3565
- return Ye[e] = Promise.all(
3586
+ t.map((r) => (oi(e, r), r().then((o) => o.default || o)))
3587
+ ).then((r) => nr(e, ...r));
3588
+ }
3589
+ const et = {};
3590
+ function or(e) {
3591
+ if (!en(e))
3592
+ return e in et ? et[e] : Promise.resolve();
3593
+ const t = ii(e);
3594
+ return et[e] = Promise.all(
3566
3595
  t.map(
3567
- ([n, r]) => no(n, r)
3596
+ ([n, r]) => ai(n, r)
3568
3597
  )
3569
3598
  ).then(() => {
3570
- if (Kt(e))
3571
- return rr(e);
3572
- delete Ye[e];
3573
- }), Ye[e];
3599
+ if (en(e))
3600
+ return or(e);
3601
+ delete et[e];
3602
+ }), et[e];
3574
3603
  }
3575
- const ro = {
3604
+ const si = {
3576
3605
  number: {
3577
3606
  scientific: { notation: "scientific" },
3578
3607
  engineering: { notation: "engineering" },
@@ -3601,140 +3630,140 @@ const ro = {
3601
3630
  timeZoneName: "short"
3602
3631
  }
3603
3632
  }
3604
- }, io = {
3633
+ }, ui = {
3605
3634
  fallbackLocale: null,
3606
3635
  loadingDelay: 200,
3607
- formats: ro,
3636
+ formats: si,
3608
3637
  warnOnMissingMessages: !0,
3609
3638
  handleMissingMessage: void 0,
3610
3639
  ignoreTag: !0
3611
- }, oo = io;
3612
- function je() {
3613
- return oo;
3640
+ }, li = ui;
3641
+ function $e() {
3642
+ return li;
3614
3643
  }
3615
- const $t = vt(!1);
3616
- var ao = Object.defineProperty, so = Object.defineProperties, uo = Object.getOwnPropertyDescriptors, vn = Object.getOwnPropertySymbols, lo = Object.prototype.hasOwnProperty, ho = Object.prototype.propertyIsEnumerable, En = (e, t, n) => t in e ? ao(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, co = (e, t) => {
3644
+ const kt = _t(!1);
3645
+ var hi = Object.defineProperty, ci = Object.defineProperties, fi = Object.getOwnPropertyDescriptors, En = Object.getOwnPropertySymbols, di = Object.prototype.hasOwnProperty, pi = Object.prototype.propertyIsEnumerable, xn = (e, t, n) => t in e ? hi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, mi = (e, t) => {
3617
3646
  for (var n in t || (t = {}))
3618
- lo.call(t, n) && En(e, n, t[n]);
3619
- if (vn)
3620
- for (var n of vn(t))
3621
- ho.call(t, n) && En(e, n, t[n]);
3647
+ di.call(t, n) && xn(e, n, t[n]);
3648
+ if (En)
3649
+ for (var n of En(t))
3650
+ pi.call(t, n) && xn(e, n, t[n]);
3622
3651
  return e;
3623
- }, fo = (e, t) => so(e, uo(t));
3624
- let en;
3625
- const bt = vt(null);
3626
- function xn(e) {
3652
+ }, gi = (e, t) => ci(e, fi(t));
3653
+ let tn;
3654
+ const Et = _t(null);
3655
+ function _n(e) {
3627
3656
  return e.split("-").map((t, n, r) => r.slice(0, n + 1).join("-")).reverse();
3628
3657
  }
3629
- function _t(e, t = je().fallbackLocale) {
3630
- const n = xn(e);
3631
- return t ? [.../* @__PURE__ */ new Set([...n, ...xn(t)])] : n;
3658
+ function Bt(e, t = $e().fallbackLocale) {
3659
+ const n = _n(e);
3660
+ return t ? [.../* @__PURE__ */ new Set([...n, ..._n(t)])] : n;
3632
3661
  }
3633
3662
  function Oe() {
3634
- return en != null ? en : void 0;
3663
+ return tn != null ? tn : void 0;
3635
3664
  }
3636
- bt.subscribe((e) => {
3637
- en = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3665
+ Et.subscribe((e) => {
3666
+ tn = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3638
3667
  });
3639
- const po = (e) => {
3640
- if (e && Ki(e) && Kt(e)) {
3641
- const { loadingDelay: t } = je();
3668
+ const bi = (e) => {
3669
+ if (e && ri(e) && en(e)) {
3670
+ const { loadingDelay: t } = $e();
3642
3671
  let n;
3643
3672
  return typeof window != "undefined" && Oe() != null && t ? n = window.setTimeout(
3644
- () => $t.set(!0),
3673
+ () => kt.set(!0),
3645
3674
  t
3646
- ) : $t.set(!0), rr(e).then(() => {
3647
- bt.set(e);
3675
+ ) : kt.set(!0), or(e).then(() => {
3676
+ Et.set(e);
3648
3677
  }).finally(() => {
3649
- clearTimeout(n), $t.set(!1);
3678
+ clearTimeout(n), kt.set(!1);
3650
3679
  });
3651
3680
  }
3652
- return bt.set(e);
3653
- }, Ve = fo(co({}, bt), {
3654
- set: po
3655
- }), Tt = (e) => {
3681
+ return Et.set(e);
3682
+ }, Xe = gi(mi({}, Et), {
3683
+ set: bi
3684
+ }), wt = (e) => {
3656
3685
  const t = /* @__PURE__ */ Object.create(null);
3657
3686
  return (r) => {
3658
- const i = JSON.stringify(r);
3659
- return i in t ? t[i] : t[i] = e(r);
3687
+ const o = JSON.stringify(r);
3688
+ return o in t ? t[o] : t[o] = e(r);
3660
3689
  };
3661
3690
  };
3662
- var mo = Object.defineProperty, yt = Object.getOwnPropertySymbols, ir = Object.prototype.hasOwnProperty, or = Object.prototype.propertyIsEnumerable, _n = (e, t, n) => t in e ? mo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, on = (e, t) => {
3691
+ var yi = Object.defineProperty, xt = Object.getOwnPropertySymbols, ir = Object.prototype.hasOwnProperty, ar = Object.prototype.propertyIsEnumerable, Tn = (e, t, n) => t in e ? yi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, an = (e, t) => {
3663
3692
  for (var n in t || (t = {}))
3664
- ir.call(t, n) && _n(e, n, t[n]);
3665
- if (yt)
3666
- for (var n of yt(t))
3667
- or.call(t, n) && _n(e, n, t[n]);
3693
+ ir.call(t, n) && Tn(e, n, t[n]);
3694
+ if (xt)
3695
+ for (var n of xt(t))
3696
+ ar.call(t, n) && Tn(e, n, t[n]);
3668
3697
  return e;
3669
- }, Xe = (e, t) => {
3698
+ }, ze = (e, t) => {
3670
3699
  var n = {};
3671
3700
  for (var r in e)
3672
3701
  ir.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
3673
- if (e != null && yt)
3674
- for (var r of yt(e))
3675
- t.indexOf(r) < 0 && or.call(e, r) && (n[r] = e[r]);
3702
+ if (e != null && xt)
3703
+ for (var r of xt(e))
3704
+ t.indexOf(r) < 0 && ar.call(e, r) && (n[r] = e[r]);
3676
3705
  return n;
3677
3706
  };
3678
- const nt = (e, t) => {
3679
- const { formats: n } = je();
3707
+ const ot = (e, t) => {
3708
+ const { formats: n } = $e();
3680
3709
  if (e in n && t in n[e])
3681
3710
  return n[e][t];
3682
3711
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3683
- }, go = Tt(
3712
+ }, vi = wt(
3684
3713
  (e) => {
3685
- var t = e, { locale: n, format: r } = t, i = Xe(t, ["locale", "format"]);
3714
+ var t = e, { locale: n, format: r } = t, o = ze(t, ["locale", "format"]);
3686
3715
  if (n == null)
3687
3716
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3688
- return r && (i = nt("number", r)), new Intl.NumberFormat(n, i);
3717
+ return r && (o = ot("number", r)), new Intl.NumberFormat(n, o);
3689
3718
  }
3690
- ), bo = Tt(
3719
+ ), Ei = wt(
3691
3720
  (e) => {
3692
- var t = e, { locale: n, format: r } = t, i = Xe(t, ["locale", "format"]);
3721
+ var t = e, { locale: n, format: r } = t, o = ze(t, ["locale", "format"]);
3693
3722
  if (n == null)
3694
3723
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3695
- return r ? i = nt("date", r) : Object.keys(i).length === 0 && (i = nt("date", "short")), new Intl.DateTimeFormat(n, i);
3724
+ return r ? o = ot("date", r) : Object.keys(o).length === 0 && (o = ot("date", "short")), new Intl.DateTimeFormat(n, o);
3696
3725
  }
3697
- ), yo = Tt(
3726
+ ), xi = wt(
3698
3727
  (e) => {
3699
- var t = e, { locale: n, format: r } = t, i = Xe(t, ["locale", "format"]);
3728
+ var t = e, { locale: n, format: r } = t, o = ze(t, ["locale", "format"]);
3700
3729
  if (n == null)
3701
3730
  throw new Error(
3702
3731
  '[svelte-i18n] A "locale" must be set to format time values'
3703
3732
  );
3704
- return r ? i = nt("time", r) : Object.keys(i).length === 0 && (i = nt("time", "short")), new Intl.DateTimeFormat(n, i);
3733
+ return r ? o = ot("time", r) : Object.keys(o).length === 0 && (o = ot("time", "short")), new Intl.DateTimeFormat(n, o);
3705
3734
  }
3706
- ), vo = (e = {}) => {
3735
+ ), _i = (e = {}) => {
3707
3736
  var t = e, {
3708
3737
  locale: n = Oe()
3709
- } = t, r = Xe(t, [
3738
+ } = t, r = ze(t, [
3710
3739
  "locale"
3711
3740
  ]);
3712
- return go(on({ locale: n }, r));
3713
- }, Eo = (e = {}) => {
3741
+ return vi(an({ locale: n }, r));
3742
+ }, Ti = (e = {}) => {
3714
3743
  var t = e, {
3715
3744
  locale: n = Oe()
3716
- } = t, r = Xe(t, [
3745
+ } = t, r = ze(t, [
3717
3746
  "locale"
3718
3747
  ]);
3719
- return bo(on({ locale: n }, r));
3720
- }, xo = (e = {}) => {
3748
+ return Ei(an({ locale: n }, r));
3749
+ }, Si = (e = {}) => {
3721
3750
  var t = e, {
3722
3751
  locale: n = Oe()
3723
- } = t, r = Xe(t, [
3752
+ } = t, r = ze(t, [
3724
3753
  "locale"
3725
3754
  ]);
3726
- return yo(on({ locale: n }, r));
3727
- }, _o = Tt(
3755
+ return xi(an({ locale: n }, r));
3756
+ }, Bi = wt(
3728
3757
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3729
- (e, t = Oe()) => new Zi(e, t, je().formats, {
3730
- ignoreTag: je().ignoreTag
3758
+ (e, t = Oe()) => new Yo(e, t, $e().formats, {
3759
+ ignoreTag: $e().ignoreTag
3731
3760
  })
3732
- ), To = (e, t = {}) => {
3733
- var n, r, i, o;
3761
+ ), wi = (e, t = {}) => {
3762
+ var n, r, o, i;
3734
3763
  let u = t;
3735
3764
  typeof e == "object" && (u = e, e = u.id);
3736
3765
  const {
3737
- values: s,
3766
+ values: a,
3738
3767
  locale: f = Oe(),
3739
3768
  default: l
3740
3769
  } = u;
@@ -3742,35 +3771,35 @@ const nt = (e, t) => {
3742
3771
  throw new Error(
3743
3772
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3744
3773
  );
3745
- let d = Kn(e, f);
3774
+ let d = er(e, f);
3746
3775
  if (!d)
3747
- d = (o = (i = (r = (n = je()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: f, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
3776
+ d = (i = (o = (r = (n = $e()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: f, id: e, defaultValue: l })) != null ? o : l) != null ? i : e;
3748
3777
  else if (typeof d != "string")
3749
3778
  return console.warn(
3750
3779
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof d}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
3751
3780
  ), d;
3752
- if (!s)
3781
+ if (!a)
3753
3782
  return d;
3754
- let m = d;
3783
+ let g = d;
3755
3784
  try {
3756
- m = _o(d, f).format(s);
3757
- } catch (b) {
3758
- b instanceof Error && console.warn(
3785
+ g = Bi(d, f).format(a);
3786
+ } catch (y) {
3787
+ y instanceof Error && console.warn(
3759
3788
  `[svelte-i18n] Message "${e}" has syntax error:`,
3760
- b.message
3789
+ y.message
3761
3790
  );
3762
3791
  }
3763
- return m;
3764
- }, Bo = (e, t) => xo(t).format(e), So = (e, t) => Eo(t).format(e), wo = (e, t) => vo(t).format(e), Ao = (e, t = Oe()) => Kn(e, t), Co = ke([Ve, rt], () => To);
3765
- ke([Ve], () => Bo);
3766
- ke([Ve], () => So);
3767
- ke([Ve], () => wo);
3768
- ke([Ve, rt], () => Ao);
3769
- function Tn(e, t) {
3770
- tr(e, t);
3771
- }
3772
- function Ho(e) {
3773
- Ve.set(e);
3792
+ return g;
3793
+ }, Ai = (e, t) => Si(t).format(e), Ci = (e, t) => Ti(t).format(e), Hi = (e, t) => _i(t).format(e), Oi = (e, t = Oe()) => er(e, t), Li = Ve([Xe, it], () => wi);
3794
+ Ve([Xe], () => Ai);
3795
+ Ve([Xe], () => Ci);
3796
+ Ve([Xe], () => Hi);
3797
+ Ve([Xe, it], () => Oi);
3798
+ function Sn(e, t) {
3799
+ nr(e, t);
3800
+ }
3801
+ function Ri(e) {
3802
+ Xe.set(e);
3774
3803
  }
3775
3804
  const Bn = {
3776
3805
  en: {
@@ -3972,7 +4001,7 @@ const Bn = {
3972
4001
  Loading: "Loading ..."
3973
4002
  }
3974
4003
  };
3975
- var tn = { exports: {} };
4004
+ var nn = { exports: {} };
3976
4005
  /** @license
3977
4006
  * eventsource.js
3978
4007
  * Available under MIT License (MIT)
@@ -3980,35 +4009,35 @@ var tn = { exports: {} };
3980
4009
  */
3981
4010
  (function(e, t) {
3982
4011
  (function(n) {
3983
- var r = n.setTimeout, i = n.clearTimeout, o = n.XMLHttpRequest, u = n.XDomainRequest, s = n.ActiveXObject, f = n.EventSource, l = n.document, d = n.Promise, m = n.fetch, b = n.Response, _ = n.TextDecoder, B = n.TextEncoder, I = n.AbortController;
3984
- if (typeof window != "undefined" && typeof l != "undefined" && !("readyState" in l) && l.body == null && (l.readyState = "loading", window.addEventListener("load", function(c) {
4012
+ var r = n.setTimeout, o = n.clearTimeout, i = n.XMLHttpRequest, u = n.XDomainRequest, a = n.ActiveXObject, f = n.EventSource, l = n.document, d = n.Promise, g = n.fetch, y = n.Response, _ = n.TextDecoder, B = n.TextEncoder, P = n.AbortController;
4013
+ if (typeof window != "undefined" && typeof l != "undefined" && !("readyState" in l) && l.body == null && (l.readyState = "loading", window.addEventListener("load", function(h) {
3985
4014
  l.readyState = "complete";
3986
- }, !1)), o == null && s != null && (o = function() {
3987
- return new s("Microsoft.XMLHTTP");
3988
- }), Object.create == null && (Object.create = function(c) {
3989
- function a() {
4015
+ }, !1)), i == null && a != null && (i = function() {
4016
+ return new a("Microsoft.XMLHTTP");
4017
+ }), Object.create == null && (Object.create = function(h) {
4018
+ function v() {
3990
4019
  }
3991
- return a.prototype = c, new a();
4020
+ return v.prototype = h, new v();
3992
4021
  }), Date.now || (Date.now = function() {
3993
4022
  return (/* @__PURE__ */ new Date()).getTime();
3994
- }), I == null) {
3995
- var j = m;
3996
- m = function(c, a) {
3997
- var p = a.signal;
3998
- return j(c, { headers: a.headers, credentials: a.credentials, cache: a.cache }).then(function(h) {
3999
- var g = h.body.getReader();
4000
- return p._reader = g, p._aborted && p._reader.cancel(), {
4001
- status: h.status,
4002
- statusText: h.statusText,
4003
- headers: h.headers,
4023
+ }), P == null) {
4024
+ var j = g;
4025
+ g = function(h, v) {
4026
+ var s = v.signal;
4027
+ return j(h, { headers: v.headers, credentials: v.credentials, cache: v.cache }).then(function(c) {
4028
+ var p = c.body.getReader();
4029
+ return s._reader = p, s._aborted && s._reader.cancel(), {
4030
+ status: c.status,
4031
+ statusText: c.statusText,
4032
+ headers: c.headers,
4004
4033
  body: {
4005
4034
  getReader: function() {
4006
- return g;
4035
+ return p;
4007
4036
  }
4008
4037
  }
4009
4038
  };
4010
4039
  });
4011
- }, I = function() {
4040
+ }, P = function() {
4012
4041
  this.signal = {
4013
4042
  _reader: null,
4014
4043
  _aborted: !1
@@ -4017,419 +4046,419 @@ var tn = { exports: {} };
4017
4046
  };
4018
4047
  };
4019
4048
  }
4020
- function W() {
4049
+ function Z() {
4021
4050
  this.bitsNeeded = 0, this.codePoint = 0;
4022
4051
  }
4023
- W.prototype.decode = function(c) {
4024
- function a(C, R, S) {
4025
- if (S === 1)
4026
- return C >= 128 >> R && C << R <= 2047;
4027
- if (S === 2)
4028
- return C >= 2048 >> R && C << R <= 55295 || C >= 57344 >> R && C << R <= 65535;
4029
- if (S === 3)
4030
- return C >= 65536 >> R && C << R <= 1114111;
4052
+ Z.prototype.decode = function(h) {
4053
+ function v(A, O, T) {
4054
+ if (T === 1)
4055
+ return A >= 128 >> O && A << O <= 2047;
4056
+ if (T === 2)
4057
+ return A >= 2048 >> O && A << O <= 55295 || A >= 57344 >> O && A << O <= 65535;
4058
+ if (T === 3)
4059
+ return A >= 65536 >> O && A << O <= 1114111;
4031
4060
  throw new Error();
4032
4061
  }
4033
- function p(C, R) {
4034
- if (C === 6 * 1)
4035
- return R >> 6 > 15 ? 3 : R > 31 ? 2 : 1;
4036
- if (C === 6 * 2)
4037
- return R > 15 ? 3 : 2;
4038
- if (C === 6 * 3)
4062
+ function s(A, O) {
4063
+ if (A === 6 * 1)
4064
+ return O >> 6 > 15 ? 3 : O > 31 ? 2 : 1;
4065
+ if (A === 6 * 2)
4066
+ return O > 15 ? 3 : 2;
4067
+ if (A === 6 * 3)
4039
4068
  return 3;
4040
4069
  throw new Error();
4041
4070
  }
4042
- for (var h = 65533, g = "", y = this.bitsNeeded, E = this.codePoint, v = 0; v < c.length; v += 1) {
4043
- var T = c[v];
4044
- y !== 0 && (T < 128 || T > 191 || !a(E << 6 | T & 63, y - 6, p(y, E))) && (y = 0, E = h, g += String.fromCharCode(E)), y === 0 ? (T >= 0 && T <= 127 ? (y = 0, E = T) : T >= 192 && T <= 223 ? (y = 6 * 1, E = T & 31) : T >= 224 && T <= 239 ? (y = 6 * 2, E = T & 15) : T >= 240 && T <= 247 ? (y = 6 * 3, E = T & 7) : (y = 0, E = h), y !== 0 && !a(E, y, p(y, E)) && (y = 0, E = h)) : (y -= 6, E = E << 6 | T & 63), y === 0 && (E <= 65535 ? g += String.fromCharCode(E) : (g += String.fromCharCode(55296 + (E - 65535 - 1 >> 10)), g += String.fromCharCode(56320 + (E - 65535 - 1 & 1023))));
4071
+ for (var c = 65533, p = "", m = this.bitsNeeded, E = this.codePoint, S = 0; S < h.length; S += 1) {
4072
+ var b = h[S];
4073
+ m !== 0 && (b < 128 || b > 191 || !v(E << 6 | b & 63, m - 6, s(m, E))) && (m = 0, E = c, p += String.fromCharCode(E)), m === 0 ? (b >= 0 && b <= 127 ? (m = 0, E = b) : b >= 192 && b <= 223 ? (m = 6 * 1, E = b & 31) : b >= 224 && b <= 239 ? (m = 6 * 2, E = b & 15) : b >= 240 && b <= 247 ? (m = 6 * 3, E = b & 7) : (m = 0, E = c), m !== 0 && !v(E, m, s(m, E)) && (m = 0, E = c)) : (m -= 6, E = E << 6 | b & 63), m === 0 && (E <= 65535 ? p += String.fromCharCode(E) : (p += String.fromCharCode(55296 + (E - 65535 - 1 >> 10)), p += String.fromCharCode(56320 + (E - 65535 - 1 & 1023))));
4045
4074
  }
4046
- return this.bitsNeeded = y, this.codePoint = E, g;
4075
+ return this.bitsNeeded = m, this.codePoint = E, p;
4047
4076
  };
4048
4077
  var U = function() {
4049
4078
  try {
4050
4079
  return new _().decode(new B().encode("test"), { stream: !0 }) === "test";
4051
- } catch (c) {
4052
- console.debug("TextDecoder does not support streaming option. Using polyfill instead: " + c);
4080
+ } catch (h) {
4081
+ console.debug("TextDecoder does not support streaming option. Using polyfill instead: " + h);
4053
4082
  }
4054
4083
  return !1;
4055
4084
  };
4056
- (_ == null || B == null || !U()) && (_ = W);
4085
+ (_ == null || B == null || !U()) && (_ = Z);
4057
4086
  var w = function() {
4058
4087
  };
4059
- function A(c) {
4060
- this.withCredentials = !1, this.readyState = 0, this.status = 0, this.statusText = "", this.responseText = "", this.onprogress = w, this.onload = w, this.onerror = w, this.onreadystatechange = w, this._contentType = "", this._xhr = c, this._sendTimeout = 0, this._abort = w;
4088
+ function C(h) {
4089
+ this.withCredentials = !1, this.readyState = 0, this.status = 0, this.statusText = "", this.responseText = "", this.onprogress = w, this.onload = w, this.onerror = w, this.onreadystatechange = w, this._contentType = "", this._xhr = h, this._sendTimeout = 0, this._abort = w;
4061
4090
  }
4062
- A.prototype.open = function(c, a) {
4091
+ C.prototype.open = function(h, v) {
4063
4092
  this._abort(!0);
4064
- var p = this, h = this._xhr, g = 1, y = 0;
4065
- this._abort = function(S) {
4066
- p._sendTimeout !== 0 && (i(p._sendTimeout), p._sendTimeout = 0), (g === 1 || g === 2 || g === 3) && (g = 4, h.onload = w, h.onerror = w, h.onabort = w, h.onprogress = w, h.onreadystatechange = w, h.abort(), y !== 0 && (i(y), y = 0), S || (p.readyState = 4, p.onabort(null), p.onreadystatechange())), g = 0;
4093
+ var s = this, c = this._xhr, p = 1, m = 0;
4094
+ this._abort = function(T) {
4095
+ s._sendTimeout !== 0 && (o(s._sendTimeout), s._sendTimeout = 0), (p === 1 || p === 2 || p === 3) && (p = 4, c.onload = w, c.onerror = w, c.onabort = w, c.onprogress = w, c.onreadystatechange = w, c.abort(), m !== 0 && (o(m), m = 0), T || (s.readyState = 4, s.onabort(null), s.onreadystatechange())), p = 0;
4067
4096
  };
4068
4097
  var E = function() {
4069
- if (g === 1) {
4070
- var S = 0, N = "", ge = void 0;
4071
- if ("contentType" in h)
4072
- S = 200, N = "OK", ge = h.contentType;
4098
+ if (p === 1) {
4099
+ var T = 0, I = "", Q = void 0;
4100
+ if ("contentType" in c)
4101
+ T = 200, I = "OK", Q = c.contentType;
4073
4102
  else
4074
4103
  try {
4075
- S = h.status, N = h.statusText, ge = h.getResponseHeader("Content-Type");
4076
- } catch (Qe) {
4077
- S = 0, N = "", ge = void 0;
4104
+ T = c.status, I = c.statusText, Q = c.getResponseHeader("Content-Type");
4105
+ } catch (Ye) {
4106
+ T = 0, I = "", Q = void 0;
4078
4107
  }
4079
- S !== 0 && (g = 2, p.readyState = 2, p.status = S, p.statusText = N, p._contentType = ge, p.onreadystatechange());
4108
+ T !== 0 && (p = 2, s.readyState = 2, s.status = T, s.statusText = I, s._contentType = Q, s.onreadystatechange());
4080
4109
  }
4081
- }, v = function() {
4082
- if (E(), g === 2 || g === 3) {
4083
- g = 3;
4084
- var S = "";
4110
+ }, S = function() {
4111
+ if (E(), p === 2 || p === 3) {
4112
+ p = 3;
4113
+ var T = "";
4085
4114
  try {
4086
- S = h.responseText;
4087
- } catch (N) {
4115
+ T = c.responseText;
4116
+ } catch (I) {
4088
4117
  }
4089
- p.readyState = 3, p.responseText = S, p.onprogress();
4118
+ s.readyState = 3, s.responseText = T, s.onprogress();
4090
4119
  }
4091
- }, T = function(S, N) {
4092
- if ((N == null || N.preventDefault == null) && (N = {
4120
+ }, b = function(T, I) {
4121
+ if ((I == null || I.preventDefault == null) && (I = {
4093
4122
  preventDefault: w
4094
- }), v(), g === 1 || g === 2 || g === 3) {
4095
- if (g = 4, y !== 0 && (i(y), y = 0), p.readyState = 4, S === "load")
4096
- p.onload(N);
4097
- else if (S === "error")
4098
- p.onerror(N);
4099
- else if (S === "abort")
4100
- p.onabort(N);
4123
+ }), S(), p === 1 || p === 2 || p === 3) {
4124
+ if (p = 4, m !== 0 && (o(m), m = 0), s.readyState = 4, T === "load")
4125
+ s.onload(I);
4126
+ else if (T === "error")
4127
+ s.onerror(I);
4128
+ else if (T === "abort")
4129
+ s.onabort(I);
4101
4130
  else
4102
4131
  throw new TypeError();
4103
- p.onreadystatechange();
4132
+ s.onreadystatechange();
4104
4133
  }
4105
- }, C = function(S) {
4106
- h != null && (h.readyState === 4 ? (!("onload" in h) || !("onerror" in h) || !("onabort" in h)) && T(h.responseText === "" ? "error" : "load", S) : h.readyState === 3 ? "onprogress" in h || v() : h.readyState === 2 && E());
4107
- }, R = function() {
4108
- y = r(function() {
4109
- R();
4110
- }, 500), h.readyState === 3 && v();
4134
+ }, A = function(T) {
4135
+ c != null && (c.readyState === 4 ? (!("onload" in c) || !("onerror" in c) || !("onabort" in c)) && b(c.responseText === "" ? "error" : "load", T) : c.readyState === 3 ? "onprogress" in c || S() : c.readyState === 2 && E());
4136
+ }, O = function() {
4137
+ m = r(function() {
4138
+ O();
4139
+ }, 500), c.readyState === 3 && S();
4111
4140
  };
4112
- "onload" in h && (h.onload = function(S) {
4113
- T("load", S);
4114
- }), "onerror" in h && (h.onerror = function(S) {
4115
- T("error", S);
4116
- }), "onabort" in h && (h.onabort = function(S) {
4117
- T("abort", S);
4118
- }), "onprogress" in h && (h.onprogress = v), "onreadystatechange" in h && (h.onreadystatechange = function(S) {
4119
- C(S);
4120
- }), ("contentType" in h || !("ontimeout" in o.prototype)) && (a += (a.indexOf("?") === -1 ? "?" : "&") + "padding=true"), h.open(c, a, !0), "readyState" in h && (y = r(function() {
4121
- R();
4141
+ "onload" in c && (c.onload = function(T) {
4142
+ b("load", T);
4143
+ }), "onerror" in c && (c.onerror = function(T) {
4144
+ b("error", T);
4145
+ }), "onabort" in c && (c.onabort = function(T) {
4146
+ b("abort", T);
4147
+ }), "onprogress" in c && (c.onprogress = S), "onreadystatechange" in c && (c.onreadystatechange = function(T) {
4148
+ A(T);
4149
+ }), ("contentType" in c || !("ontimeout" in i.prototype)) && (v += (v.indexOf("?") === -1 ? "?" : "&") + "padding=true"), c.open(h, v, !0), "readyState" in c && (m = r(function() {
4150
+ O();
4122
4151
  }, 0));
4123
- }, A.prototype.abort = function() {
4152
+ }, C.prototype.abort = function() {
4124
4153
  this._abort(!1);
4125
- }, A.prototype.getResponseHeader = function(c) {
4154
+ }, C.prototype.getResponseHeader = function(h) {
4126
4155
  return this._contentType;
4127
- }, A.prototype.setRequestHeader = function(c, a) {
4128
- var p = this._xhr;
4129
- "setRequestHeader" in p && p.setRequestHeader(c, a);
4130
- }, A.prototype.getAllResponseHeaders = function() {
4156
+ }, C.prototype.setRequestHeader = function(h, v) {
4157
+ var s = this._xhr;
4158
+ "setRequestHeader" in s && s.setRequestHeader(h, v);
4159
+ }, C.prototype.getAllResponseHeaders = function() {
4131
4160
  return this._xhr.getAllResponseHeaders != null && this._xhr.getAllResponseHeaders() || "";
4132
- }, A.prototype.send = function() {
4133
- if ((!("ontimeout" in o.prototype) || !("sendAsBinary" in o.prototype) && !("mozAnon" in o.prototype)) && l != null && l.readyState != null && l.readyState !== "complete") {
4134
- var c = this;
4135
- c._sendTimeout = r(function() {
4136
- c._sendTimeout = 0, c.send();
4161
+ }, C.prototype.send = function() {
4162
+ if ((!("ontimeout" in i.prototype) || !("sendAsBinary" in i.prototype) && !("mozAnon" in i.prototype)) && l != null && l.readyState != null && l.readyState !== "complete") {
4163
+ var h = this;
4164
+ h._sendTimeout = r(function() {
4165
+ h._sendTimeout = 0, h.send();
4137
4166
  }, 4);
4138
4167
  return;
4139
4168
  }
4140
- var a = this._xhr;
4141
- "withCredentials" in a && (a.withCredentials = this.withCredentials);
4169
+ var v = this._xhr;
4170
+ "withCredentials" in v && (v.withCredentials = this.withCredentials);
4142
4171
  try {
4143
- a.send(void 0);
4144
- } catch (p) {
4145
- throw p;
4172
+ v.send(void 0);
4173
+ } catch (s) {
4174
+ throw s;
4146
4175
  }
4147
4176
  };
4148
- function P(c) {
4149
- return c.replace(/[A-Z]/g, function(a) {
4150
- return String.fromCharCode(a.charCodeAt(0) + 32);
4177
+ function N(h) {
4178
+ return h.replace(/[A-Z]/g, function(v) {
4179
+ return String.fromCharCode(v.charCodeAt(0) + 32);
4151
4180
  });
4152
4181
  }
4153
- function L(c) {
4154
- for (var a = /* @__PURE__ */ Object.create(null), p = c.split(`\r
4155
- `), h = 0; h < p.length; h += 1) {
4156
- var g = p[h], y = g.split(": "), E = y.shift(), v = y.join(": ");
4157
- a[P(E)] = v;
4182
+ function M(h) {
4183
+ for (var v = /* @__PURE__ */ Object.create(null), s = h.split(`\r
4184
+ `), c = 0; c < s.length; c += 1) {
4185
+ var p = s[c], m = p.split(": "), E = m.shift(), S = m.join(": ");
4186
+ v[N(E)] = S;
4158
4187
  }
4159
- this._map = a;
4188
+ this._map = v;
4160
4189
  }
4161
- L.prototype.get = function(c) {
4162
- return this._map[P(c)];
4163
- }, o != null && o.HEADERS_RECEIVED == null && (o.HEADERS_RECEIVED = 2);
4164
- function Y() {
4190
+ M.prototype.get = function(h) {
4191
+ return this._map[N(h)];
4192
+ }, i != null && i.HEADERS_RECEIVED == null && (i.HEADERS_RECEIVED = 2);
4193
+ function W() {
4165
4194
  }
4166
- Y.prototype.open = function(c, a, p, h, g, y, E) {
4167
- c.open("GET", g);
4168
- var v = 0;
4169
- c.onprogress = function() {
4170
- var C = c.responseText, R = C.slice(v);
4171
- v += R.length, p(R);
4172
- }, c.onerror = function(C) {
4173
- C.preventDefault(), h(new Error("NetworkError"));
4174
- }, c.onload = function() {
4175
- h(null);
4176
- }, c.onabort = function() {
4177
- h(null);
4178
- }, c.onreadystatechange = function() {
4179
- if (c.readyState === o.HEADERS_RECEIVED) {
4180
- var C = c.status, R = c.statusText, S = c.getResponseHeader("Content-Type"), N = c.getAllResponseHeaders();
4181
- a(C, R, S, new L(N));
4195
+ W.prototype.open = function(h, v, s, c, p, m, E) {
4196
+ h.open("GET", p);
4197
+ var S = 0;
4198
+ h.onprogress = function() {
4199
+ var A = h.responseText, O = A.slice(S);
4200
+ S += O.length, s(O);
4201
+ }, h.onerror = function(A) {
4202
+ A.preventDefault(), c(new Error("NetworkError"));
4203
+ }, h.onload = function() {
4204
+ c(null);
4205
+ }, h.onabort = function() {
4206
+ c(null);
4207
+ }, h.onreadystatechange = function() {
4208
+ if (h.readyState === i.HEADERS_RECEIVED) {
4209
+ var A = h.status, O = h.statusText, T = h.getResponseHeader("Content-Type"), I = h.getAllResponseHeaders();
4210
+ v(A, O, T, new M(I));
4182
4211
  }
4183
- }, c.withCredentials = y;
4184
- for (var T in E)
4185
- Object.prototype.hasOwnProperty.call(E, T) && c.setRequestHeader(T, E[T]);
4186
- return c.send(), c;
4212
+ }, h.withCredentials = m;
4213
+ for (var b in E)
4214
+ Object.prototype.hasOwnProperty.call(E, b) && h.setRequestHeader(b, E[b]);
4215
+ return h.send(), h;
4187
4216
  };
4188
- function _e(c) {
4189
- this._headers = c;
4217
+ function Ee(h) {
4218
+ this._headers = h;
4190
4219
  }
4191
- _e.prototype.get = function(c) {
4192
- return this._headers.get(c);
4220
+ Ee.prototype.get = function(h) {
4221
+ return this._headers.get(h);
4193
4222
  };
4194
- function pe() {
4223
+ function xe() {
4195
4224
  }
4196
- pe.prototype.open = function(c, a, p, h, g, y, E) {
4197
- var v = null, T = new I(), C = T.signal, R = new _();
4198
- return m(g, {
4225
+ xe.prototype.open = function(h, v, s, c, p, m, E) {
4226
+ var S = null, b = new P(), A = b.signal, O = new _();
4227
+ return g(p, {
4199
4228
  headers: E,
4200
- credentials: y ? "include" : "same-origin",
4201
- signal: C,
4229
+ credentials: m ? "include" : "same-origin",
4230
+ signal: A,
4202
4231
  cache: "no-store"
4203
- }).then(function(S) {
4204
- return v = S.body.getReader(), a(S.status, S.statusText, S.headers.get("Content-Type"), new _e(S.headers)), new d(function(N, ge) {
4205
- var Qe = function() {
4206
- v.read().then(function(ee) {
4207
- if (ee.done)
4208
- N(void 0);
4232
+ }).then(function(T) {
4233
+ return S = T.body.getReader(), v(T.status, T.statusText, T.headers.get("Content-Type"), new Ee(T.headers)), new d(function(I, Q) {
4234
+ var Ye = function() {
4235
+ S.read().then(function(ne) {
4236
+ if (ne.done)
4237
+ I(void 0);
4209
4238
  else {
4210
- var Z = R.decode(ee.value, { stream: !0 });
4211
- p(Z), Qe();
4239
+ var J = O.decode(ne.value, { stream: !0 });
4240
+ s(J), Ye();
4212
4241
  }
4213
- }).catch(function(ee) {
4214
- ge(ee);
4242
+ }).catch(function(ne) {
4243
+ Q(ne);
4215
4244
  });
4216
4245
  };
4217
- Qe();
4246
+ Ye();
4218
4247
  });
4219
- }).catch(function(S) {
4220
- if (S.name !== "AbortError")
4221
- return S;
4222
- }).then(function(S) {
4223
- h(S);
4248
+ }).catch(function(T) {
4249
+ if (T.name !== "AbortError")
4250
+ return T;
4251
+ }).then(function(T) {
4252
+ c(T);
4224
4253
  }), {
4225
4254
  abort: function() {
4226
- v != null && v.cancel(), T.abort();
4255
+ S != null && S.cancel(), b.abort();
4227
4256
  }
4228
4257
  };
4229
4258
  };
4230
- function re() {
4259
+ function ie() {
4231
4260
  this._listeners = /* @__PURE__ */ Object.create(null);
4232
4261
  }
4233
- function se(c) {
4262
+ function pe(h) {
4234
4263
  r(function() {
4235
- throw c;
4264
+ throw h;
4236
4265
  }, 0);
4237
4266
  }
4238
- re.prototype.dispatchEvent = function(c) {
4239
- c.target = this;
4240
- var a = this._listeners[c.type];
4241
- if (a != null)
4242
- for (var p = a.length, h = 0; h < p; h += 1) {
4243
- var g = a[h];
4267
+ ie.prototype.dispatchEvent = function(h) {
4268
+ h.target = this;
4269
+ var v = this._listeners[h.type];
4270
+ if (v != null)
4271
+ for (var s = v.length, c = 0; c < s; c += 1) {
4272
+ var p = v[c];
4244
4273
  try {
4245
- typeof g.handleEvent == "function" ? g.handleEvent(c) : g.call(this, c);
4246
- } catch (y) {
4247
- se(y);
4274
+ typeof p.handleEvent == "function" ? p.handleEvent(h) : p.call(this, h);
4275
+ } catch (m) {
4276
+ pe(m);
4248
4277
  }
4249
4278
  }
4250
- }, re.prototype.addEventListener = function(c, a) {
4251
- c = String(c);
4252
- var p = this._listeners, h = p[c];
4253
- h == null && (h = [], p[c] = h);
4254
- for (var g = !1, y = 0; y < h.length; y += 1)
4255
- h[y] === a && (g = !0);
4256
- g || h.push(a);
4257
- }, re.prototype.removeEventListener = function(c, a) {
4258
- c = String(c);
4259
- var p = this._listeners, h = p[c];
4260
- if (h != null) {
4261
- for (var g = [], y = 0; y < h.length; y += 1)
4262
- h[y] !== a && g.push(h[y]);
4263
- g.length === 0 ? delete p[c] : p[c] = g;
4279
+ }, ie.prototype.addEventListener = function(h, v) {
4280
+ h = String(h);
4281
+ var s = this._listeners, c = s[h];
4282
+ c == null && (c = [], s[h] = c);
4283
+ for (var p = !1, m = 0; m < c.length; m += 1)
4284
+ c[m] === v && (p = !0);
4285
+ p || c.push(v);
4286
+ }, ie.prototype.removeEventListener = function(h, v) {
4287
+ h = String(h);
4288
+ var s = this._listeners, c = s[h];
4289
+ if (c != null) {
4290
+ for (var p = [], m = 0; m < c.length; m += 1)
4291
+ c[m] !== v && p.push(c[m]);
4292
+ p.length === 0 ? delete s[h] : s[h] = p;
4264
4293
  }
4265
4294
  };
4266
- function ie(c) {
4267
- this.type = c, this.target = void 0;
4295
+ function q(h) {
4296
+ this.type = h, this.target = void 0;
4268
4297
  }
4269
- function x(c, a) {
4270
- ie.call(this, c), this.data = a.data, this.lastEventId = a.lastEventId;
4298
+ function _e(h, v) {
4299
+ q.call(this, h), this.data = v.data, this.lastEventId = v.lastEventId;
4271
4300
  }
4272
- x.prototype = Object.create(ie.prototype);
4273
- function me(c, a) {
4274
- ie.call(this, c), this.status = a.status, this.statusText = a.statusText, this.headers = a.headers;
4301
+ _e.prototype = Object.create(q.prototype);
4302
+ function x(h, v) {
4303
+ q.call(this, h), this.status = v.status, this.statusText = v.statusText, this.headers = v.headers;
4275
4304
  }
4276
- me.prototype = Object.create(ie.prototype);
4277
- function it(c, a) {
4278
- ie.call(this, c), this.error = a.error;
4305
+ x.prototype = Object.create(q.prototype);
4306
+ function Te(h, v) {
4307
+ q.call(this, h), this.error = v.error;
4279
4308
  }
4280
- it.prototype = Object.create(ie.prototype);
4281
- var ze = -1, ce = 0, Te = 1, we = 2, Ae = -1, ue = 0, We = 1, Le = 2, ot = 3, Bt = /^text\/event\-stream(;.*)?$/i, at = 1e3, St = 18e6, Ze = function(c, a) {
4282
- var p = c == null ? a : parseInt(c, 10);
4283
- return p !== p && (p = a), qe(p);
4284
- }, qe = function(c) {
4285
- return Math.min(Math.max(c, at), St);
4286
- }, Be = function(c, a, p) {
4309
+ Te.prototype = Object.create(q.prototype);
4310
+ var We = -1, ce = 0, Se = 1, Ae = 2, Ze = -1, ae = 0, Le = 1, at = 2, qe = 3, st = /^text\/event\-stream(;.*)?$/i, At = 1e3, ut = 18e6, Qe = function(h, v) {
4311
+ var s = h == null ? v : parseInt(h, 10);
4312
+ return s !== s && (s = v), Je(s);
4313
+ }, Je = function(h) {
4314
+ return Math.min(Math.max(h, At), ut);
4315
+ }, Be = function(h, v, s) {
4287
4316
  try {
4288
- typeof a == "function" && a.call(c, p);
4289
- } catch (h) {
4290
- se(h);
4317
+ typeof v == "function" && v.call(h, s);
4318
+ } catch (c) {
4319
+ pe(c);
4291
4320
  }
4292
4321
  };
4293
- function K(c, a) {
4294
- re.call(this), a = a || {}, this.onopen = void 0, this.onmessage = void 0, this.onerror = void 0, this.url = void 0, this.readyState = void 0, this.withCredentials = void 0, this.headers = void 0, this._close = void 0, Ct(this, c, a);
4322
+ function te(h, v) {
4323
+ ie.call(this), v = v || {}, this.onopen = void 0, this.onmessage = void 0, this.onerror = void 0, this.url = void 0, this.readyState = void 0, this.withCredentials = void 0, this.headers = void 0, this._close = void 0, Ht(this, h, v);
4295
4324
  }
4296
- function wt() {
4297
- return o != null && "withCredentials" in o.prototype || u == null ? new o() : new u();
4325
+ function lt() {
4326
+ return i != null && "withCredentials" in i.prototype || u == null ? new i() : new u();
4298
4327
  }
4299
- var At = m != null && b != null && "body" in b.prototype;
4300
- function Ct(c, a, p) {
4301
- a = String(a);
4302
- var h = !!p.withCredentials, g = p.lastEventIdQueryParameterName || "lastEventId", y = qe(1e3), E = Ze(p.heartbeatTimeout, 45e3), v = "", T = y, C = !1, R = 0, S = p.headers || {}, N = p.Transport, ge = At && N == null ? void 0 : new A(N != null ? new N() : wt()), Qe = N != null && typeof N != "string" ? new N() : ge == null ? new pe() : new Y(), ee = void 0, Z = 0, le = ze, Re = "", ut = "", be = "", lt = "", q = ue, Ht = 0, Ce = 0, ar = function(V, $, te, ne) {
4328
+ var Ct = g != null && y != null && "body" in y.prototype;
4329
+ function Ht(h, v, s) {
4330
+ v = String(v);
4331
+ var c = !!s.withCredentials, p = s.lastEventIdQueryParameterName || "lastEventId", m = Je(1e3), E = Qe(s.heartbeatTimeout, 45e3), S = "", b = m, A = !1, O = 0, T = s.headers || {}, I = s.Transport, Q = Ct && I == null ? void 0 : new C(I != null ? new I() : lt()), Ye = I != null && typeof I != "string" ? new I() : Q == null ? new xe() : new W(), ne = void 0, J = 0, le = We, Re = "", ct = "", me = "", ft = "", Y = ae, Ot = 0, Ce = 0, sr = function(V, $, re, oe) {
4303
4332
  if (le === ce)
4304
- if (V === 200 && te != null && Bt.test(te)) {
4305
- le = Te, C = Date.now(), T = y, c.readyState = Te;
4306
- var Q = new me("open", {
4333
+ if (V === 200 && re != null && st.test(re)) {
4334
+ le = Se, A = Date.now(), b = m, h.readyState = Se;
4335
+ var K = new x("open", {
4307
4336
  status: V,
4308
4337
  statusText: $,
4309
- headers: ne
4338
+ headers: oe
4310
4339
  });
4311
- c.dispatchEvent(Q), Be(c, c.onopen, Q);
4340
+ h.dispatchEvent(K), Be(h, h.onopen, K);
4312
4341
  } else {
4313
4342
  var X = "";
4314
- V !== 200 ? ($ && ($ = $.replace(/\s+/g, " ")), X = "EventSource's response has a status " + V + " " + $ + " that is not 200. Aborting the connection.") : X = "EventSource's response has a Content-Type specifying an unsupported type: " + (te == null ? "-" : te.replace(/\s+/g, " ")) + ". Aborting the connection.", Ot();
4315
- var Q = new me("error", {
4343
+ V !== 200 ? ($ && ($ = $.replace(/\s+/g, " ")), X = "EventSource's response has a status " + V + " " + $ + " that is not 200. Aborting the connection.") : X = "EventSource's response has a Content-Type specifying an unsupported type: " + (re == null ? "-" : re.replace(/\s+/g, " ")) + ". Aborting the connection.", Lt();
4344
+ var K = new x("error", {
4316
4345
  status: V,
4317
4346
  statusText: $,
4318
- headers: ne
4347
+ headers: oe
4319
4348
  });
4320
- c.dispatchEvent(Q), Be(c, c.onerror, Q), console.error(X);
4349
+ h.dispatchEvent(K), Be(h, h.onerror, K), console.error(X);
4321
4350
  }
4322
- }, sr = function(V) {
4323
- if (le === Te) {
4324
- for (var $ = -1, te = 0; te < V.length; te += 1) {
4325
- var ne = V.charCodeAt(te);
4326
- (ne === 10 || ne === 13) && ($ = te);
4351
+ }, ur = function(V) {
4352
+ if (le === Se) {
4353
+ for (var $ = -1, re = 0; re < V.length; re += 1) {
4354
+ var oe = V.charCodeAt(re);
4355
+ (oe === 10 || oe === 13) && ($ = re);
4327
4356
  }
4328
- var Q = ($ !== -1 ? lt : "") + V.slice(0, $ + 1);
4329
- lt = ($ === -1 ? lt : "") + V.slice($ + 1), V !== "" && (C = Date.now(), R += V.length);
4330
- for (var X = 0; X < Q.length; X += 1) {
4331
- var ne = Q.charCodeAt(X);
4332
- if (q === Ae && ne === 10)
4333
- q = ue;
4334
- else if (q === Ae && (q = ue), ne === 13 || ne === 10) {
4335
- if (q !== ue) {
4336
- q === We && (Ce = X + 1);
4337
- var ye = Q.slice(Ht, Ce - 1), ve = Q.slice(Ce + (Ce < X && Q.charCodeAt(Ce) === 32 ? 1 : 0), X);
4338
- ye === "data" ? (Re += `
4339
- `, Re += ve) : ye === "id" ? ut = ve : ye === "event" ? be = ve : ye === "retry" ? (y = Ze(ve, y), T = y) : ye === "heartbeatTimeout" && (E = Ze(ve, E), Z !== 0 && (i(Z), Z = r(function() {
4340
- Je();
4357
+ var K = ($ !== -1 ? ft : "") + V.slice(0, $ + 1);
4358
+ ft = ($ === -1 ? ft : "") + V.slice($ + 1), V !== "" && (A = Date.now(), O += V.length);
4359
+ for (var X = 0; X < K.length; X += 1) {
4360
+ var oe = K.charCodeAt(X);
4361
+ if (Y === Ze && oe === 10)
4362
+ Y = ae;
4363
+ else if (Y === Ze && (Y = ae), oe === 13 || oe === 10) {
4364
+ if (Y !== ae) {
4365
+ Y === Le && (Ce = X + 1);
4366
+ var ge = K.slice(Ot, Ce - 1), be = K.slice(Ce + (Ce < X && K.charCodeAt(Ce) === 32 ? 1 : 0), X);
4367
+ ge === "data" ? (Re += `
4368
+ `, Re += be) : ge === "id" ? ct = be : ge === "event" ? me = be : ge === "retry" ? (m = Qe(be, m), b = m) : ge === "heartbeatTimeout" && (E = Qe(be, E), J !== 0 && (o(J), J = r(function() {
4369
+ Ke();
4341
4370
  }, E)));
4342
4371
  }
4343
- if (q === ue) {
4372
+ if (Y === ae) {
4344
4373
  if (Re !== "") {
4345
- v = ut, be === "" && (be = "message");
4346
- var Ne = new x(be, {
4374
+ S = ct, me === "" && (me = "message");
4375
+ var Ne = new _e(me, {
4347
4376
  data: Re.slice(1),
4348
- lastEventId: ut
4377
+ lastEventId: ct
4349
4378
  });
4350
- if (c.dispatchEvent(Ne), be === "open" ? Be(c, c.onopen, Ne) : be === "message" ? Be(c, c.onmessage, Ne) : be === "error" && Be(c, c.onerror, Ne), le === we)
4379
+ if (h.dispatchEvent(Ne), me === "open" ? Be(h, h.onopen, Ne) : me === "message" ? Be(h, h.onmessage, Ne) : me === "error" && Be(h, h.onerror, Ne), le === Ae)
4351
4380
  return;
4352
4381
  }
4353
- Re = "", be = "";
4382
+ Re = "", me = "";
4354
4383
  }
4355
- q = ne === 13 ? Ae : ue;
4384
+ Y = oe === 13 ? Ze : ae;
4356
4385
  } else
4357
- q === ue && (Ht = X, q = We), q === We ? ne === 58 && (Ce = X + 1, q = Le) : q === Le && (q = ot);
4386
+ Y === ae && (Ot = X, Y = Le), Y === Le ? oe === 58 && (Ce = X + 1, Y = at) : Y === at && (Y = qe);
4358
4387
  }
4359
4388
  }
4360
- }, an = function(V) {
4361
- if (le === Te || le === ce) {
4362
- le = ze, Z !== 0 && (i(Z), Z = 0), Z = r(function() {
4363
- Je();
4364
- }, T), T = qe(Math.min(y * 16, T * 2)), c.readyState = ce;
4365
- var $ = new it("error", { error: V });
4366
- c.dispatchEvent($), Be(c, c.onerror, $), V != null && console.error(V);
4389
+ }, sn = function(V) {
4390
+ if (le === Se || le === ce) {
4391
+ le = We, J !== 0 && (o(J), J = 0), J = r(function() {
4392
+ Ke();
4393
+ }, b), b = Je(Math.min(m * 16, b * 2)), h.readyState = ce;
4394
+ var $ = new Te("error", { error: V });
4395
+ h.dispatchEvent($), Be(h, h.onerror, $), V != null && console.error(V);
4367
4396
  }
4368
- }, Ot = function() {
4369
- le = we, ee != null && (ee.abort(), ee = void 0), Z !== 0 && (i(Z), Z = 0), c.readyState = we;
4370
- }, Je = function() {
4371
- if (Z = 0, le !== ze) {
4372
- if (!C && ee != null)
4373
- an(new Error("No activity within " + E + " milliseconds. " + (le === ce ? "No response received." : R + " chars received.") + " Reconnecting.")), ee != null && (ee.abort(), ee = void 0);
4397
+ }, Lt = function() {
4398
+ le = Ae, ne != null && (ne.abort(), ne = void 0), J !== 0 && (o(J), J = 0), h.readyState = Ae;
4399
+ }, Ke = function() {
4400
+ if (J = 0, le !== We) {
4401
+ if (!A && ne != null)
4402
+ sn(new Error("No activity within " + E + " milliseconds. " + (le === ce ? "No response received." : O + " chars received.") + " Reconnecting.")), ne != null && (ne.abort(), ne = void 0);
4374
4403
  else {
4375
- var V = Math.max((C || Date.now()) + E - Date.now(), 1);
4376
- C = !1, Z = r(function() {
4377
- Je();
4404
+ var V = Math.max((A || Date.now()) + E - Date.now(), 1);
4405
+ A = !1, J = r(function() {
4406
+ Ke();
4378
4407
  }, V);
4379
4408
  }
4380
4409
  return;
4381
4410
  }
4382
- C = !1, R = 0, Z = r(function() {
4383
- Je();
4384
- }, E), le = ce, Re = "", be = "", ut = v, lt = "", Ht = 0, Ce = 0, q = ue;
4385
- var $ = a;
4386
- if (a.slice(0, 5) !== "data:" && a.slice(0, 5) !== "blob:" && v !== "") {
4387
- var te = a.indexOf("?");
4388
- $ = te === -1 ? a : a.slice(0, te + 1) + a.slice(te + 1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g, function(ve, Ne) {
4389
- return Ne === g ? "" : ve;
4390
- }), $ += (a.indexOf("?") === -1 ? "?" : "&") + g + "=" + encodeURIComponent(v);
4411
+ A = !1, O = 0, J = r(function() {
4412
+ Ke();
4413
+ }, E), le = ce, Re = "", me = "", ct = S, ft = "", Ot = 0, Ce = 0, Y = ae;
4414
+ var $ = v;
4415
+ if (v.slice(0, 5) !== "data:" && v.slice(0, 5) !== "blob:" && S !== "") {
4416
+ var re = v.indexOf("?");
4417
+ $ = re === -1 ? v : v.slice(0, re + 1) + v.slice(re + 1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g, function(be, Ne) {
4418
+ return Ne === p ? "" : be;
4419
+ }), $ += (v.indexOf("?") === -1 ? "?" : "&") + p + "=" + encodeURIComponent(S);
4391
4420
  }
4392
- var ne = c.withCredentials, Q = {};
4393
- Q.Accept = "text/event-stream";
4394
- var X = c.headers;
4421
+ var oe = h.withCredentials, K = {};
4422
+ K.Accept = "text/event-stream";
4423
+ var X = h.headers;
4395
4424
  if (X != null)
4396
- for (var ye in X)
4397
- Object.prototype.hasOwnProperty.call(X, ye) && (Q[ye] = X[ye]);
4425
+ for (var ge in X)
4426
+ Object.prototype.hasOwnProperty.call(X, ge) && (K[ge] = X[ge]);
4398
4427
  try {
4399
- ee = Qe.open(ge, ar, sr, an, $, ne, Q);
4400
- } catch (ve) {
4401
- throw Ot(), ve;
4428
+ ne = Ye.open(Q, sr, ur, sn, $, oe, K);
4429
+ } catch (be) {
4430
+ throw Lt(), be;
4402
4431
  }
4403
4432
  };
4404
- c.url = a, c.readyState = ce, c.withCredentials = h, c.headers = S, c._close = Ot, Je();
4433
+ h.url = v, h.readyState = ce, h.withCredentials = c, h.headers = T, h._close = Lt, Ke();
4405
4434
  }
4406
- K.prototype = Object.create(re.prototype), K.prototype.CONNECTING = ce, K.prototype.OPEN = Te, K.prototype.CLOSED = we, K.prototype.close = function() {
4435
+ te.prototype = Object.create(ie.prototype), te.prototype.CONNECTING = ce, te.prototype.OPEN = Se, te.prototype.CLOSED = Ae, te.prototype.close = function() {
4407
4436
  this._close();
4408
- }, K.CONNECTING = ce, K.OPEN = Te, K.CLOSED = we, K.prototype.withCredentials = void 0;
4409
- var st = f;
4410
- o != null && (f == null || !("withCredentials" in f.prototype)) && (st = K), function(c) {
4437
+ }, te.CONNECTING = ce, te.OPEN = Se, te.CLOSED = Ae, te.prototype.withCredentials = void 0;
4438
+ var ht = f;
4439
+ i != null && (f == null || !("withCredentials" in f.prototype)) && (ht = te), function(h) {
4411
4440
  {
4412
- var a = c(t);
4413
- a !== void 0 && (e.exports = a);
4441
+ var v = h(t);
4442
+ v !== void 0 && (e.exports = v);
4414
4443
  }
4415
- }(function(c) {
4416
- c.EventSourcePolyfill = K, c.NativeEventSource = f, c.EventSource = st;
4444
+ }(function(h) {
4445
+ h.EventSourcePolyfill = te, h.NativeEventSource = f, h.EventSource = ht;
4417
4446
  });
4418
- })(typeof globalThis == "undefined" ? typeof window != "undefined" ? window : typeof self != "undefined" ? self : Gr : globalThis);
4419
- })(tn, tn.exports);
4420
- var Oo = tn.exports;
4421
- function Lo(e) {
4422
- mr(e, "svelte-gv6dm2", '*,*::before,*::after{font-family:inherit}:host{font-family:inherit}input,textarea,button{font-family:inherit}p{padding:0;margin:0}.ShowBalance{position:relative}.ShowBalance .Loading{font-size:14px;white-space:nowrap;padding-right:10px}.ShowBalance .BalanceValue{font-size:14px;cursor:pointer;display:flex;flex-wrap:nowrap;white-space:nowrap;background:transparent;border:none;font:inherit;color:inherit}.ShowBalance .BalanceValue svg{width:16px}.ShowBalance .BalanceValue span{padding-left:8px}@media only screen and (max-width: 360px){.ShowBalance .BalanceValue{font-size:12px}.ShowBalance .BalanceValue svg{width:12px}}.BalanceModalWrapper{background-color:var(--emw--color-white, #FFFFFF);position:absolute;top:45px;left:50%;transform:translateX(-60%);padding:10px;box-shadow:0px 30px 30px var(--emw--header-color-primary, var(--emw--color-primary, #22B04E));border-radius:5px;z-index:17;box-shadow:0px 5px 20px 0px #191919}.BalanceModalWrapper:before{content:"";background:var(--emw--color-white, #FFFFFF);clip-path:polygon(50% 0, 0% 100%, 100% 100%);position:absolute;top:-8px;left:60%;width:25px;height:10px;transform:translateX(-50%);z-index:1}.BalanceModalClose{position:absolute;top:5px;right:5px;width:20px;height:20px;z-index:1;cursor:pointer;font:inherit}.BalanceModalClose:before{content:"";background:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));position:absolute;top:8px;left:0;width:20px;height:2px;transform:rotate(45deg)}.BalanceModalClose:after{content:"";background:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));position:absolute;top:8px;left:0;width:20px;height:2px;transform:rotate(-45deg)}.BalanceModal{position:relative;width:280px}.BalanceModalHeader{display:flex;align-items:center;justify-content:center;padding:20px 0}.BalanceModalHeader .BalanceModalTitle{font-size:16px;font-weight:bold;color:var(--emw--header-contrast, var(--emw--color-contrast, #07072A))}.BalanceModalRowBoth{display:flex;flex-direction:column;gap:5px;padding:20px 0;border-bottom:1px solid var(--emw--color-gray-100, #E6E6E6)}.BalanceModalRowBoth:last-child{border-bottom:none}.BalanceModalRowBoth .BalanceModalRowLine{display:flex;width:100%;justify-content:space-between}.BalanceModalRowBoth .BalanceModalText{color:var(--emw--header-contrast, var(--emw--color-contrast, #07072A));font-size:14px;text-transform:capitalize}.BalanceModalRowBoth .BalanceModalValue{font-size:14px;font-weight:bold;color:var(--emw--header-contrast, var(--emw--color-contrast, #07072A))}.BalanceModalFooter{display:flex;align-items:center;padding:20px 0 10px}.BalanceModalFooter .BalanceModalAction{background:var(--emw--header-color-primary, var(--emw--color-primary, #22B04E));font-size:12px;color:white;text-transform:uppercase;width:100%;border-radius:5px;border:none;padding:10px 0;cursor:pointer}.BalanceModalFooter .BalanceModalAction:hover,.BalanceModalFooter .BalanceModalActionactive{background:var(--emw--header-contrast, var(--emw--color-background, #07072A))}.ShowBalanceModalOverlay{background-color:rgba(0, 0, 0, 0.7);position:fixed;top:0;bottom:0;left:0;right:0;z-index:16}');
4447
+ })(typeof globalThis == "undefined" ? typeof window != "undefined" ? window : typeof self != "undefined" ? self : kr : globalThis);
4448
+ })(nn, nn.exports);
4449
+ var Ni = nn.exports;
4450
+ function Mi(e) {
4451
+ gr(e, "svelte-gv6dm2", '*,*::before,*::after{font-family:inherit}:host{font-family:inherit}input,textarea,button{font-family:inherit}p{padding:0;margin:0}.ShowBalance{position:relative}.ShowBalance .Loading{font-size:14px;white-space:nowrap;padding-right:10px}.ShowBalance .BalanceValue{font-size:14px;cursor:pointer;display:flex;flex-wrap:nowrap;white-space:nowrap;background:transparent;border:none;font:inherit;color:inherit}.ShowBalance .BalanceValue svg{width:16px}.ShowBalance .BalanceValue span{padding-left:8px}@media only screen and (max-width: 360px){.ShowBalance .BalanceValue{font-size:12px}.ShowBalance .BalanceValue svg{width:12px}}.BalanceModalWrapper{background-color:var(--emw--color-white, #FFFFFF);position:absolute;top:45px;left:50%;transform:translateX(-60%);padding:10px;box-shadow:0px 30px 30px var(--emw--header-color-primary, var(--emw--color-primary, #22B04E));border-radius:5px;z-index:17;box-shadow:0px 5px 20px 0px #191919}.BalanceModalWrapper:before{content:"";background:var(--emw--color-white, #FFFFFF);clip-path:polygon(50% 0, 0% 100%, 100% 100%);position:absolute;top:-8px;left:60%;width:25px;height:10px;transform:translateX(-50%);z-index:1}.BalanceModalClose{position:absolute;top:5px;right:5px;width:20px;height:20px;z-index:1;cursor:pointer;font:inherit}.BalanceModalClose:before{content:"";background:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));position:absolute;top:8px;left:0;width:20px;height:2px;transform:rotate(45deg)}.BalanceModalClose:after{content:"";background:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));position:absolute;top:8px;left:0;width:20px;height:2px;transform:rotate(-45deg)}.BalanceModal{position:relative;width:280px}.BalanceModalHeader{display:flex;align-items:center;justify-content:center;padding:20px 0}.BalanceModalHeader .BalanceModalTitle{font-size:16px;font-weight:bold;color:var(--emw--header-contrast, var(--emw--color-contrast, #07072A))}.BalanceModalRowBoth{display:flex;flex-direction:column;gap:5px;padding:20px 0;border-bottom:1px solid var(--emw--color-gray-100, #E6E6E6)}.BalanceModalRowBoth:last-child{border-bottom:none}.BalanceModalRowBoth .BalanceModalRowLine{display:flex;width:100%;justify-content:space-between}.BalanceModalRowBoth .BalanceModalText{color:var(--emw--header-contrast, var(--emw--color-contrast, #07072A));font-size:14px;text-transform:capitalize}.BalanceModalRowBoth .BalanceModalValue{font-size:14px;font-weight:bold;color:var(--emw--header-contrast, var(--emw--color-contrast, #07072A))}.BalanceModalFooter{display:flex;align-items:center;padding:20px 0 10px}.BalanceModalFooter .BalanceModalAction{background:var(--emw--header-color-primary, var(--emw--color-primary, #22B04E));font-size:12px;color:white;text-transform:uppercase;width:100%;border-radius:5px;border:none;padding:10px 0;cursor:pointer}.BalanceModalFooter .BalanceModalAction:hover,.BalanceModalFooter .BalanceModalActionactive{background:var(--emw--header-contrast, var(--emw--color-background, #07072A))}.ShowBalanceModalOverlay{background-color:rgba(0, 0, 0, 0.7);position:fixed;top:0;bottom:0;left:0;right:0;z-index:16}');
4423
4452
  }
4424
- function Sn(e, t, n) {
4453
+ function wn(e, t, n) {
4425
4454
  const r = e.slice();
4426
4455
  return r[51] = t[n], r;
4427
4456
  }
4428
- function wn(e, t, n) {
4457
+ function An(e, t, n) {
4429
4458
  const r = e.slice();
4430
4459
  return r[54] = t[n], r;
4431
4460
  }
4432
- function Ro(e) {
4461
+ function Pi(e) {
4433
4462
  let t, n = (
4434
4463
  /*balances*/
4435
4464
  (e[3].Total ? (
@@ -4439,93 +4468,93 @@ function Ro(e) {
4439
4468
  e[3].Total[0].amount
4440
4469
  )
4441
4470
  ) : "0") + ""
4442
- ), r, i, o, u, s, f, l, d = (
4471
+ ), r, o, i, u, a, f, l, d = (
4443
4472
  /*isModalDisplayed*/
4444
- e[2] && An(e)
4473
+ e[2] && Cn(e)
4445
4474
  );
4446
4475
  return {
4447
4476
  c() {
4448
- t = G("button"), r = Ee(n), i = xe(), o = G("span"), o.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 11.435"><defs><style>.a{fill:var(--emw--color-white, #FFFFFF);}</style></defs><path class="a" d="M16.191,19.235l7.562-7.568a1.423,1.423,0,0,1,2.019,0,1.441,1.441,0,0,1,0,2.025L17.2,22.265a1.427,1.427,0,0,1-1.971.042L6.6,13.7a1.429,1.429,0,0,1,2.019-2.025Z" transform="translate(-6.188 -11.246)"></path></svg>', u = xe(), d && d.c(), s = yr(), z(t, "class", "BalanceValue");
4477
+ t = G("button"), r = ye(n), o = ve(), i = G("span"), i.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 11.435"><defs><style>.a{fill:var(--emw--color-white, #FFFFFF);}</style></defs><path class="a" d="M16.191,19.235l7.562-7.568a1.423,1.423,0,0,1,2.019,0,1.441,1.441,0,0,1,0,2.025L17.2,22.265a1.427,1.427,0,0,1-1.971.042L6.6,13.7a1.429,1.429,0,0,1,2.019-2.025Z" transform="translate(-6.188 -11.246)"></path></svg>', u = ve(), d && d.c(), a = vr(), z(t, "class", "BalanceValue");
4449
4478
  },
4450
- m(m, b) {
4451
- de(m, t, b), M(t, r), M(t, i), M(t, o), de(m, u, b), d && d.m(m, b), de(m, s, b), f || (l = pt(
4479
+ m(g, y) {
4480
+ de(g, t, y), R(t, r), R(t, o), R(t, i), de(g, u, y), d && d.m(g, y), de(g, a, y), f || (l = bt(
4452
4481
  t,
4453
4482
  "click",
4454
4483
  /*click_handler*/
4455
4484
  e[25]
4456
4485
  ), f = !0);
4457
4486
  },
4458
- p(m, b) {
4459
- b[0] & /*balances*/
4487
+ p(g, y) {
4488
+ y[0] & /*balances*/
4460
4489
  8 && n !== (n = /*balances*/
4461
- (m[3].Total ? (
4490
+ (g[3].Total ? (
4462
4491
  /*formatBalance*/
4463
- m[5](
4492
+ g[5](
4464
4493
  /*balances*/
4465
- m[3].Total[0].amount
4494
+ g[3].Total[0].amount
4466
4495
  )
4467
4496
  ) : "0") + "") && He(r, n), /*isModalDisplayed*/
4468
- m[2] ? d ? d.p(m, b) : (d = An(m), d.c(), d.m(s.parentNode, s)) : d && (d.d(1), d = null);
4497
+ g[2] ? d ? d.p(g, y) : (d = Cn(g), d.c(), d.m(a.parentNode, a)) : d && (d.d(1), d = null);
4469
4498
  },
4470
- d(m) {
4471
- m && (he(t), he(u), he(s)), d && d.d(m), f = !1, l();
4499
+ d(g) {
4500
+ g && (he(t), he(u), he(a)), d && d.d(g), f = !1, l();
4472
4501
  }
4473
4502
  };
4474
4503
  }
4475
- function No(e) {
4504
+ function Ii(e) {
4476
4505
  let t, n = (
4477
4506
  /*$_*/
4478
4507
  e[4]("Loading") + ""
4479
4508
  ), r;
4480
4509
  return {
4481
4510
  c() {
4482
- t = G("p"), r = Ee(n);
4511
+ t = G("p"), r = ye(n);
4483
4512
  },
4484
- m(i, o) {
4485
- de(i, t, o), M(t, r);
4513
+ m(o, i) {
4514
+ de(o, t, i), R(t, r);
4486
4515
  },
4487
- p(i, o) {
4488
- o[0] & /*$_*/
4516
+ p(o, i) {
4517
+ i[0] & /*$_*/
4489
4518
  16 && n !== (n = /*$_*/
4490
- i[4]("Loading") + "") && He(r, n);
4519
+ o[4]("Loading") + "") && He(r, n);
4491
4520
  },
4492
- d(i) {
4493
- i && he(t);
4521
+ d(o) {
4522
+ o && he(t);
4494
4523
  }
4495
4524
  };
4496
4525
  }
4497
- function An(e) {
4498
- let t, n, r, i, o, u, s = (
4526
+ function Cn(e) {
4527
+ let t, n, r, o, i, u, a = (
4499
4528
  /*$_*/
4500
4529
  e[4]("Title") + ""
4501
- ), f, l, d, m, b, _, B = (
4530
+ ), f, l, d, g, y, _, B = (
4502
4531
  /*$_*/
4503
4532
  e[4]("DepositButton") + ""
4504
- ), I, j, W, U = mt(Object.keys(
4533
+ ), P, j, Z, U = yt(Object.keys(
4505
4534
  /*balances*/
4506
4535
  e[3]
4507
4536
  )), w = [];
4508
- for (let A = 0; A < U.length; A += 1)
4509
- w[A] = Hn(Sn(e, U, A));
4537
+ for (let C = 0; C < U.length; C += 1)
4538
+ w[C] = On(wn(e, U, C));
4510
4539
  return {
4511
4540
  c() {
4512
- t = G("div"), n = G("button"), r = xe(), i = G("div"), o = G("div"), u = G("p"), f = Ee(s), l = xe(), d = G("div");
4513
- for (let A = 0; A < w.length; A += 1)
4514
- w[A].c();
4515
- m = xe(), b = G("div"), _ = G("button"), I = Ee(B), z(n, "class", "BalanceModalClose"), z(u, "class", "BalanceModalTitle"), z(o, "class", "BalanceModalHeader"), z(d, "class", "BalanceModalBody"), z(_, "class", "BalanceModalAction"), z(b, "class", "BalanceModalFooter"), z(i, "class", "BalanceModal"), z(t, "class", "BalanceModalWrapper");
4541
+ t = G("div"), n = G("button"), r = ve(), o = G("div"), i = G("div"), u = G("p"), f = ye(a), l = ve(), d = G("div");
4542
+ for (let C = 0; C < w.length; C += 1)
4543
+ w[C].c();
4544
+ g = ve(), y = G("div"), _ = G("button"), P = ye(B), z(n, "class", "BalanceModalClose"), z(u, "class", "BalanceModalTitle"), z(i, "class", "BalanceModalHeader"), z(d, "class", "BalanceModalBody"), z(_, "class", "BalanceModalAction"), z(y, "class", "BalanceModalFooter"), z(o, "class", "BalanceModal"), z(t, "class", "BalanceModalWrapper");
4516
4545
  },
4517
- m(A, P) {
4518
- de(A, t, P), M(t, n), M(t, r), M(t, i), M(i, o), M(o, u), M(u, f), M(i, l), M(i, d);
4519
- for (let L = 0; L < w.length; L += 1)
4520
- w[L] && w[L].m(d, null);
4521
- M(i, m), M(i, b), M(b, _), M(_, I), j || (W = [
4522
- pt(
4546
+ m(C, N) {
4547
+ de(C, t, N), R(t, n), R(t, r), R(t, o), R(o, i), R(i, u), R(u, f), R(o, l), R(o, d);
4548
+ for (let M = 0; M < w.length; M += 1)
4549
+ w[M] && w[M].m(d, null);
4550
+ R(o, g), R(o, y), R(y, _), R(_, P), j || (Z = [
4551
+ bt(
4523
4552
  n,
4524
4553
  "click",
4525
4554
  /*click_handler_1*/
4526
4555
  e[26]
4527
4556
  ),
4528
- pt(
4557
+ bt(
4529
4558
  _,
4530
4559
  "click",
4531
4560
  /*click_handler_2*/
@@ -4533,59 +4562,59 @@ function An(e) {
4533
4562
  )
4534
4563
  ], j = !0);
4535
4564
  },
4536
- p(A, P) {
4537
- if (P[0] & /*$_*/
4538
- 16 && s !== (s = /*$_*/
4539
- A[4]("Title") + "") && He(f, s), P[0] & /*balances, formatBalance, getProductType, $_*/
4565
+ p(C, N) {
4566
+ if (N[0] & /*$_*/
4567
+ 16 && a !== (a = /*$_*/
4568
+ C[4]("Title") + "") && He(f, a), N[0] & /*balances, formatBalance, getProductType, $_*/
4540
4569
  184) {
4541
- U = mt(Object.keys(
4570
+ U = yt(Object.keys(
4542
4571
  /*balances*/
4543
- A[3]
4572
+ C[3]
4544
4573
  ));
4545
- let L;
4546
- for (L = 0; L < U.length; L += 1) {
4547
- const Y = Sn(A, U, L);
4548
- w[L] ? w[L].p(Y, P) : (w[L] = Hn(Y), w[L].c(), w[L].m(d, null));
4574
+ let M;
4575
+ for (M = 0; M < U.length; M += 1) {
4576
+ const W = wn(C, U, M);
4577
+ w[M] ? w[M].p(W, N) : (w[M] = On(W), w[M].c(), w[M].m(d, null));
4549
4578
  }
4550
- for (; L < w.length; L += 1)
4551
- w[L].d(1);
4579
+ for (; M < w.length; M += 1)
4580
+ w[M].d(1);
4552
4581
  w.length = U.length;
4553
4582
  }
4554
- P[0] & /*$_*/
4583
+ N[0] & /*$_*/
4555
4584
  16 && B !== (B = /*$_*/
4556
- A[4]("DepositButton") + "") && He(I, B);
4585
+ C[4]("DepositButton") + "") && He(P, B);
4557
4586
  },
4558
- d(A) {
4559
- A && he(t), Mn(w, A), j = !1, $e(W);
4587
+ d(C) {
4588
+ C && he(t), Pn(w, C), j = !1, ke(Z);
4560
4589
  }
4561
4590
  };
4562
4591
  }
4563
- function Cn(e) {
4592
+ function Hn(e) {
4564
4593
  let t, n, r = (
4565
4594
  /*$_*/
4566
4595
  e[4](
4567
4596
  /*k*/
4568
4597
  e[51]
4569
4598
  ) + ""
4570
- ), i, o, u = (
4599
+ ), o, i, u = (
4571
4600
  /*getProductType*/
4572
4601
  e[7](
4573
4602
  /*balance*/
4574
4603
  e[54]
4575
4604
  ) + ""
4576
- ), s, f, l, d, m = (
4605
+ ), a, f, l, d, g = (
4577
4606
  /*formatBalance*/
4578
4607
  e[5](
4579
4608
  /*balance*/
4580
4609
  e[54].amount
4581
4610
  ) + ""
4582
- ), b;
4611
+ ), y;
4583
4612
  return {
4584
4613
  c() {
4585
- t = G("div"), n = G("p"), i = Ee(r), o = xe(), s = Ee(u), f = xe(), l = G("p"), d = G("span"), b = Ee(m), z(n, "class", "BalanceModalText"), z(d, "class", "BalanceModalAmount"), z(l, "class", "BalanceModalValue"), z(t, "class", "BalanceModalRowLine");
4614
+ t = G("div"), n = G("p"), o = ye(r), i = ve(), a = ye(u), f = ve(), l = G("p"), d = G("span"), y = ye(g), z(n, "class", "BalanceModalText"), z(d, "class", "BalanceModalAmount"), z(l, "class", "BalanceModalValue"), z(t, "class", "BalanceModalRowLine");
4586
4615
  },
4587
4616
  m(_, B) {
4588
- de(_, t, B), M(t, n), M(n, i), M(n, o), M(n, s), M(t, f), M(t, l), M(l, d), M(d, b);
4617
+ de(_, t, B), R(t, n), R(n, o), R(n, i), R(n, a), R(t, f), R(t, l), R(l, d), R(d, y);
4589
4618
  },
4590
4619
  p(_, B) {
4591
4620
  B[0] & /*$_, balances*/
@@ -4593,184 +4622,184 @@ function Cn(e) {
4593
4622
  _[4](
4594
4623
  /*k*/
4595
4624
  _[51]
4596
- ) + "") && He(i, r), B[0] & /*balances*/
4625
+ ) + "") && He(o, r), B[0] & /*balances*/
4597
4626
  8 && u !== (u = /*getProductType*/
4598
4627
  _[7](
4599
4628
  /*balance*/
4600
4629
  _[54]
4601
- ) + "") && He(s, u), B[0] & /*balances*/
4602
- 8 && m !== (m = /*formatBalance*/
4630
+ ) + "") && He(a, u), B[0] & /*balances*/
4631
+ 8 && g !== (g = /*formatBalance*/
4603
4632
  _[5](
4604
4633
  /*balance*/
4605
4634
  _[54].amount
4606
- ) + "") && He(b, m);
4635
+ ) + "") && He(y, g);
4607
4636
  },
4608
4637
  d(_) {
4609
4638
  _ && he(t);
4610
4639
  }
4611
4640
  };
4612
4641
  }
4613
- function Hn(e) {
4614
- let t, n, r = mt(
4642
+ function On(e) {
4643
+ let t, n, r = yt(
4615
4644
  /*balances*/
4616
4645
  e[3][
4617
4646
  /*k*/
4618
4647
  e[51]
4619
4648
  ]
4620
- ), i = [];
4621
- for (let o = 0; o < r.length; o += 1)
4622
- i[o] = Cn(wn(e, r, o));
4649
+ ), o = [];
4650
+ for (let i = 0; i < r.length; i += 1)
4651
+ o[i] = Hn(An(e, r, i));
4623
4652
  return {
4624
4653
  c() {
4625
4654
  t = G("div");
4626
- for (let o = 0; o < i.length; o += 1)
4627
- i[o].c();
4628
- n = xe(), z(t, "class", "BalanceModalRowBoth");
4655
+ for (let i = 0; i < o.length; i += 1)
4656
+ o[i].c();
4657
+ n = ve(), z(t, "class", "BalanceModalRowBoth");
4629
4658
  },
4630
- m(o, u) {
4631
- de(o, t, u);
4632
- for (let s = 0; s < i.length; s += 1)
4633
- i[s] && i[s].m(t, null);
4634
- M(t, n);
4659
+ m(i, u) {
4660
+ de(i, t, u);
4661
+ for (let a = 0; a < o.length; a += 1)
4662
+ o[a] && o[a].m(t, null);
4663
+ R(t, n);
4635
4664
  },
4636
- p(o, u) {
4665
+ p(i, u) {
4637
4666
  if (u[0] & /*formatBalance, balances, getProductType, $_*/
4638
4667
  184) {
4639
- r = mt(
4668
+ r = yt(
4640
4669
  /*balances*/
4641
- o[3][
4670
+ i[3][
4642
4671
  /*k*/
4643
- o[51]
4672
+ i[51]
4644
4673
  ]
4645
4674
  );
4646
- let s;
4647
- for (s = 0; s < r.length; s += 1) {
4648
- const f = wn(o, r, s);
4649
- i[s] ? i[s].p(f, u) : (i[s] = Cn(f), i[s].c(), i[s].m(t, n));
4675
+ let a;
4676
+ for (a = 0; a < r.length; a += 1) {
4677
+ const f = An(i, r, a);
4678
+ o[a] ? o[a].p(f, u) : (o[a] = Hn(f), o[a].c(), o[a].m(t, n));
4650
4679
  }
4651
- for (; s < i.length; s += 1)
4652
- i[s].d(1);
4653
- i.length = r.length;
4680
+ for (; a < o.length; a += 1)
4681
+ o[a].d(1);
4682
+ o.length = r.length;
4654
4683
  }
4655
4684
  },
4656
- d(o) {
4657
- o && he(t), Mn(i, o);
4685
+ d(i) {
4686
+ i && he(t), Pn(o, i);
4658
4687
  }
4659
4688
  };
4660
4689
  }
4661
- function On(e) {
4690
+ function Ln(e) {
4662
4691
  let t, n, r;
4663
4692
  return {
4664
4693
  c() {
4665
4694
  t = G("button"), z(t, "class", "ShowBalanceModalOverlay");
4666
4695
  },
4667
- m(i, o) {
4668
- de(i, t, o), n || (r = pt(
4696
+ m(o, i) {
4697
+ de(o, t, i), n || (r = bt(
4669
4698
  t,
4670
4699
  "click",
4671
4700
  /*click_handler_3*/
4672
4701
  e[28]
4673
4702
  ), n = !0);
4674
4703
  },
4675
- p: ae,
4676
- d(i) {
4677
- i && he(t), n = !1, r();
4704
+ p: ue,
4705
+ d(o) {
4706
+ o && he(t), n = !1, r();
4678
4707
  }
4679
4708
  };
4680
4709
  }
4681
- function Mo(e) {
4710
+ function Di(e) {
4682
4711
  let t, n, r;
4683
- function i(f, l) {
4712
+ function o(f, l) {
4684
4713
  return (
4685
4714
  /*isLoading*/
4686
- f[1] ? No : Ro
4715
+ f[1] ? Ii : Pi
4687
4716
  );
4688
4717
  }
4689
- let o = i(e), u = o(e), s = (
4718
+ let i = o(e), u = i(e), a = (
4690
4719
  /*isModalDisplayed*/
4691
- e[2] && On(e)
4720
+ e[2] && Ln(e)
4692
4721
  );
4693
4722
  return {
4694
4723
  c() {
4695
- t = G("div"), n = G("div"), u.c(), r = xe(), s && s.c(), z(n, "class", "ShowBalance");
4724
+ t = G("div"), n = G("div"), u.c(), r = ve(), a && a.c(), z(n, "class", "ShowBalance");
4696
4725
  },
4697
4726
  m(f, l) {
4698
- de(f, t, l), M(t, n), u.m(n, null), M(t, r), s && s.m(t, null), e[29](t);
4727
+ de(f, t, l), R(t, n), u.m(n, null), R(t, r), a && a.m(t, null), e[29](t);
4699
4728
  },
4700
4729
  p(f, l) {
4701
- o === (o = i(f)) && u ? u.p(f, l) : (u.d(1), u = o(f), u && (u.c(), u.m(n, null))), /*isModalDisplayed*/
4702
- f[2] ? s ? s.p(f, l) : (s = On(f), s.c(), s.m(t, null)) : s && (s.d(1), s = null);
4730
+ i === (i = o(f)) && u ? u.p(f, l) : (u.d(1), u = i(f), u && (u.c(), u.m(n, null))), /*isModalDisplayed*/
4731
+ f[2] ? a ? a.p(f, l) : (a = Ln(f), a.c(), a.m(t, null)) : a && (a.d(1), a = null);
4703
4732
  },
4704
- i: ae,
4705
- o: ae,
4733
+ i: ue,
4734
+ o: ue,
4706
4735
  d(f) {
4707
- f && he(t), u.d(), s && s.d(), e[29](null);
4736
+ f && he(t), u.d(), a && a.d(), e[29](null);
4708
4737
  }
4709
4738
  };
4710
4739
  }
4711
- function Po(e, t, n) {
4740
+ function Fi(e, t, n) {
4712
4741
  let r;
4713
- pr(e, Co, (a) => n(4, r = a));
4714
- let { userid: i = "" } = t, { session: o = "" } = t, { endpoint: u = "" } = t, { lang: s = "en" } = t, { mbsource: f = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: d = "" } = t, { translationurl: m = "" } = t, { gmversion: b = "gm16" } = t, { displaybalanceoption: _ = "All" } = t, { totalcalculationmode: B = "totalCashAmount" } = t, { hideproducttype: I = "" } = t, { currencylocale: j = "en" } = t, { currencydisplay: W = "symbol" } = t, { maximumfractiondigits: U = "2" } = t, { minimumfractiondigits: w = "0" } = t, { customdisplayformat: A = "" } = t, P, L = !0, Y = !1, _e = !1, pe, re = "", se = [], ie;
4715
- const x = {}, me = ["totalCashAmount", "totalRealAmount"], it = () => {
4716
- fetch(m).then((a) => a.json()).then((a) => Object.keys(a).forEach((p) => Tn(p, a[p]))).catch((a) => console.log(a));
4742
+ mr(e, Li, (s) => n(4, r = s));
4743
+ let { userid: o = "" } = t, { session: i = "" } = t, { endpoint: u = "" } = t, { lang: a = "en" } = t, { mbsource: f = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: d = "" } = t, { translationurl: g = "" } = t, { gmversion: y = "gm16" } = t, { displaybalanceoption: _ = "All" } = t, { totalcalculationmode: B = "totalCashAmount" } = t, { hideproducttype: P = "" } = t, { currencylocale: j = "en" } = t, { currencydisplay: Z = "symbol" } = t, { maximumfractiondigits: U = "2" } = t, { minimumfractiondigits: w = "0" } = t, { customdisplayformat: C = "" } = t, N, M, W = !0, Ee = !1, xe = !1, ie, pe = "", q = [], _e;
4744
+ const x = {}, Te = ["totalCashAmount", "totalRealAmount"], We = () => {
4745
+ fetch(g).then((s) => s.json()).then((s) => Object.keys(s).forEach((c) => Sn(c, s[c]))).catch((s) => console.log(s));
4717
4746
  };
4718
- Object.keys(Bn).forEach((a) => Tn(a, Bn[a]));
4719
- const ze = (a) => {
4720
- if (A)
4721
- return ce(a);
4722
- const p = j || s, h = {
4747
+ Object.keys(Bn).forEach((s) => Sn(s, Bn[s]));
4748
+ const ce = (s) => {
4749
+ if (C)
4750
+ return Se(s);
4751
+ const c = j || a, p = {
4723
4752
  style: "currency",
4724
- currency: re,
4753
+ currency: pe,
4725
4754
  useGrouping: !0,
4726
- currencyDisplay: W || "code",
4755
+ currencyDisplay: Z || "code",
4727
4756
  maximumFractionDigits: U === "" || isNaN(Number(U)) ? 2 : Number(U),
4728
4757
  minimumFractionDigits: w === "" || isNaN(Number(w)) ? 0 : Number(w)
4729
4758
  };
4730
- return new Intl.NumberFormat(p, h).format(a);
4731
- }, ce = (a) => {
4732
- const p = [];
4733
- let h = "";
4734
- for (const g of A)
4735
- switch (g) {
4759
+ return new Intl.NumberFormat(c, p).format(s);
4760
+ }, Se = (s) => {
4761
+ const c = [];
4762
+ let p = "";
4763
+ for (const m of C)
4764
+ switch (m) {
4736
4765
  default:
4737
- h += g;
4766
+ p += m;
4738
4767
  break;
4739
4768
  case "{":
4740
- h && p.push(h), h = "";
4769
+ p && c.push(p), p = "";
4741
4770
  break;
4742
4771
  case "}":
4743
- const [y, E] = h.split("|");
4744
- if (h = "", y.toLowerCase() === "currency")
4745
- h = re;
4746
- else if (y.toLowerCase() === "amount") {
4747
- let v = ",", T = ".", C = 2;
4748
- E && (E[0] !== " " && (v = E[0]), E[1] !== " " && (T = E[1]), E[2] !== " " && !isNaN(Number(E[2])) && (C = Number(E[2])));
4749
- let [R, S] = String(Math.floor(a * Rt(10, C)) / Rt(10, C)).split(".");
4750
- h += R[0];
4751
- for (let N = 1; N < R.length; ++N)
4752
- (R.length - N) % 3 === 0 ? h += v + R[N] : h += R[N];
4753
- S && (h += T + S);
4772
+ const [E, S] = p.split("|");
4773
+ if (p = "", E.toLowerCase() === "currency")
4774
+ p = pe;
4775
+ else if (E.toLowerCase() === "amount") {
4776
+ let b = ",", A = ".", O = 2;
4777
+ S && (S[0] !== " " && (b = S[0]), S[1] !== " " && (A = S[1]), S[2] !== " " && !isNaN(Number(S[2])) && (O = Number(S[2])));
4778
+ let [T, I] = String(Math.floor(s * Nt(10, O)) / Nt(10, O)).split(".");
4779
+ p += T[0];
4780
+ for (let Q = 1; Q < T.length; ++Q)
4781
+ (T.length - Q) % 3 === 0 ? p += b + T[Q] : p += T[Q];
4782
+ I && (p += A + I);
4754
4783
  }
4755
- h && p.push(h), h = "";
4784
+ p && c.push(p), p = "";
4756
4785
  break;
4757
4786
  }
4758
- return p.push(h), p.join("");
4759
- }, Te = () => Pt(this, null, function* () {
4760
- var p, h, g;
4761
- n(1, L = !0);
4762
- const a = new URL(`${u}/v1/player/${i}/account`);
4787
+ return c.push(p), c.join("");
4788
+ }, Ae = () => It(this, null, function* () {
4789
+ var c, p, m;
4790
+ n(1, W = !0);
4791
+ const s = new URL(`${u}/v1/player/${o}/account`);
4763
4792
  try {
4764
- const y = yield fetch(a, {
4793
+ const E = yield fetch(s, {
4765
4794
  method: "GET",
4766
- headers: { "X-SessionID": o }
4767
- }), E = yield y.json();
4768
- if (y.ok)
4769
- se = E.items, re = (p = se.find((v) => v.displayName === "Casino")) == null ? void 0 : p.currency, n(3, x.Total = [{ amount: E.totalAmount[re] }], x), n(
4795
+ headers: { "X-SessionID": i }
4796
+ }), S = yield E.json();
4797
+ if (E.ok)
4798
+ q = S.items, pe = (c = q.find((b) => b.displayName === "Casino")) == null ? void 0 : c.currency, n(3, x.Total = [{ amount: S.totalAmount[pe] }], x), n(
4770
4799
  3,
4771
4800
  x.Real = [
4772
4801
  {
4773
- amount: (h = se.find((v) => v.displayName === "Casino")) == null ? void 0 : h.balanceAmount
4802
+ amount: (p = q.find((b) => b.displayName === "Casino")) == null ? void 0 : p.balanceAmount
4774
4803
  }
4775
4804
  ],
4776
4805
  x
@@ -4778,46 +4807,46 @@ function Po(e, t, n) {
4778
4807
  3,
4779
4808
  x.Bonus = [
4780
4809
  {
4781
- amount: (g = se.find((v) => v.displayName === "UBS")) == null ? void 0 : g.balanceAmount
4810
+ amount: (m = q.find((b) => b.displayName === "UBS")) == null ? void 0 : m.balanceAmount
4782
4811
  }
4783
4812
  ],
4784
4813
  x
4785
4814
  );
4786
4815
  else
4787
4816
  throw new Error("Failed to fetch balance data !");
4788
- } catch (y) {
4789
- console.log("Balance error: ", y);
4817
+ } catch (E) {
4818
+ console.log("Balance error: ", E);
4790
4819
  } finally {
4791
- n(1, L = !1);
4820
+ n(1, W = !1);
4792
4821
  }
4793
- }), we = () => {
4794
- n(1, L = !0);
4795
- const a = new URL(`${u}/v2/player/${i}/balance`), p = new Headers();
4796
- p.append("X-SessionID", o), fetch(a, { method: "GET", headers: p }).then((g) => g.json()).then((g) => {
4797
- g[B] || n(8, B = me[0]);
4798
- const y = g.items.find((v) => v.type === "Real" && v.walletAccountType === "Ordinary");
4799
- if (re = y.currency, _e = !!y.productType, n(3, x.Total = [{ amount: 0 }], x), n(3, x.Real = [], x), n(3, x.Bonus = [], x), n(3, x.Credit = [], x), !_e) {
4800
- ie = {
4822
+ }), Ze = () => {
4823
+ n(1, W = !0);
4824
+ const s = new URL(`${u}/v2/player/${o}/balance`), c = new Headers();
4825
+ c.append("X-SessionID", i), fetch(s, { method: "GET", headers: c }).then((m) => m.json()).then((m) => {
4826
+ m[B] || n(8, B = Te[0]);
4827
+ const E = m.items.find((b) => b.type === "Real" && b.walletAccountType === "Ordinary");
4828
+ if (pe = E.currency, xe = !!E.productType, n(3, x.Total = [{ amount: 0 }], x), n(3, x.Real = [], x), n(3, x.Bonus = [], x), n(3, x.Credit = [], x), !xe) {
4829
+ _e = {
4801
4830
  lastOrdinaryAfterAmount: 0,
4802
4831
  showCreditLineAfterAmount: !1
4803
- }, n(3, x.Total[0].amount = g[B][re], x);
4804
- for (const v of g.items)
4805
- switch (v.type) {
4832
+ }, n(3, x.Total[0].amount = m[B][pe], x);
4833
+ for (const b of m.items)
4834
+ switch (b.type) {
4806
4835
  case "Bonus":
4807
- x.Bonus.length === 0 ? x.Bonus.push({ amount: v.amount }) : n(3, x.Bonus[0].amount += v.amount, x);
4836
+ x.Bonus.length === 0 ? x.Bonus.push({ amount: b.amount }) : n(3, x.Bonus[0].amount += b.amount, x);
4808
4837
  break;
4809
4838
  case "Real":
4810
- if (v.creditLine && x.Credit.length === 0 && x.Credit.push({ amount: v.creditLine }), B === "totalRealAmount")
4839
+ if (b.creditLine && x.Credit.length === 0 && x.Credit.push({ amount: b.creditLine }), B === "totalRealAmount")
4811
4840
  continue;
4812
- x.Real.length === 0 ? x.Real.push({ amount: v.amount }) : n(3, x.Real[0].amount += v.amount, x);
4841
+ x.Real.length === 0 ? x.Real.push({ amount: b.amount }) : n(3, x.Real[0].amount += b.amount, x);
4813
4842
  break;
4814
4843
  }
4815
- for (const [v, T] of Object.entries(x))
4816
- T.length < 1 && delete x[v];
4817
- n(1, L = !1);
4844
+ for (const [b, A] of Object.entries(x))
4845
+ A.length < 1 && delete x[b];
4846
+ n(1, W = !1);
4818
4847
  return;
4819
4848
  }
4820
- ie = {
4849
+ _e = {
4821
4850
  Casino: {
4822
4851
  lastOrdinaryAfterAmount: 0,
4823
4852
  showCreditLineAfterAmount: !1
@@ -4827,201 +4856,201 @@ function Po(e, t, n) {
4827
4856
  showCreditLineAfterAmount: !1
4828
4857
  }
4829
4858
  };
4830
- let E = g.items;
4831
- _ && _ !== "All" && (E = g.items.filter((v) => v.productType === _));
4832
- for (const v of E) {
4833
- let T;
4834
- switch (v.type) {
4859
+ let S = m.items;
4860
+ _ && _ !== "All" && (S = m.items.filter((b) => b.productType === _));
4861
+ for (const b of S) {
4862
+ let A;
4863
+ switch (b.type) {
4835
4864
  case "Bonus":
4836
- T = x.Bonus.findIndex((C) => C.productType === v.productType), T > 0 ? n(3, x.Bonus[T].amount += v.amount, x) : x.Bonus.push({
4837
- amount: v.amount,
4838
- productType: v.productType
4865
+ A = x.Bonus.findIndex((O) => O.productType === b.productType), A > 0 ? n(3, x.Bonus[A].amount += b.amount, x) : x.Bonus.push({
4866
+ amount: b.amount,
4867
+ productType: b.productType
4839
4868
  });
4840
4869
  break;
4841
4870
  case "Real":
4842
- v.creditLine && x.Credit.push({
4843
- amount: v.creditLine,
4844
- productType: v.productType
4845
- }), T = x.Real.findIndex((C) => C.productType === v.productType), T > 0 ? n(3, x.Real[T].amount += v.amount, x) : x.Real.push({
4846
- amount: v.amount,
4847
- productType: v.productType
4871
+ b.creditLine && x.Credit.push({
4872
+ amount: b.creditLine,
4873
+ productType: b.productType
4874
+ }), A = x.Real.findIndex((O) => O.productType === b.productType), A > 0 ? n(3, x.Real[A].amount += b.amount, x) : x.Real.push({
4875
+ amount: b.amount,
4876
+ productType: b.productType
4848
4877
  });
4849
4878
  break;
4850
4879
  }
4851
4880
  }
4852
- ot();
4853
- for (const [v, T] of Object.entries(x))
4854
- T.length < 1 && delete x[v];
4855
- window.postMessage({ type: "playerBalanceInfo", balance: g }, window.location.href), n(1, L = !1);
4881
+ st();
4882
+ for (const [b, A] of Object.entries(x))
4883
+ A.length < 1 && delete x[b];
4884
+ window.postMessage({ type: "playerBalanceInfo", balance: m }, window.location.href), n(1, W = !1);
4856
4885
  }).catch(() => {
4857
- throw n(1, L = !1), new Error("Failed to fetch balance data !");
4886
+ throw n(1, W = !1), new Error("Failed to fetch balance data !");
4858
4887
  });
4859
- }, Ae = () => {
4860
- if (pe && pe.close(), o.length < 1)
4888
+ }, ae = () => {
4889
+ if (ie && ie.close(), i.length < 1)
4861
4890
  return;
4862
- let a, p;
4863
- switch (b) {
4891
+ let s, c;
4892
+ switch (y) {
4864
4893
  case "gm16":
4865
- a = new URL(`${u}/v2/player/${i}/information/updates`), p = (y) => Bt(y);
4894
+ s = new URL(`${u}/v2/player/${o}/information/updates`), c = (E) => At(E);
4866
4895
  break;
4867
4896
  case "gmcore":
4868
- a = new URL(`${u}/v1/player/${i}/balance/updates`), p = (y) => We(y);
4897
+ s = new URL(`${u}/v1/player/${o}/balance/updates`), c = (E) => at(E);
4869
4898
  break;
4870
4899
  }
4871
- const h = {
4900
+ const p = {
4872
4901
  accept: "text/event-stream",
4873
- "X-SessionId": o
4874
- }, g = new Oo.EventSourcePolyfill(a, { headers: h });
4875
- pe = g, g.addEventListener("message", p);
4876
- }, ue = (a) => {
4877
- let p;
4902
+ "X-SessionId": i
4903
+ }, m = new Ni.EventSourcePolyfill(s, { headers: p });
4904
+ ie = m, m.addEventListener("message", c);
4905
+ }, Le = (s) => {
4906
+ let c;
4878
4907
  try {
4879
- p = JSON.parse(a);
4880
- } catch (h) {
4881
- console.log("Balance stream failed: ", h);
4908
+ c = JSON.parse(s);
4909
+ } catch (p) {
4910
+ console.log("Balance stream failed: ", p);
4882
4911
  return;
4883
4912
  }
4884
- return p;
4885
- }, We = (a) => {
4886
- var y, E;
4887
- const p = ue(a.data);
4888
- if (!p) {
4889
- Ae();
4913
+ return c;
4914
+ }, at = (s) => {
4915
+ var E, S;
4916
+ const c = Le(s.data);
4917
+ if (!c) {
4918
+ ae();
4890
4919
  return;
4891
4920
  }
4892
- let h = "0";
4893
- const g = p.balanceChange;
4894
- se = se.map((v) => (g && g[v.id] && (v = Mt(Nt({}, v), {
4895
- balanceAmount: g[v.id].afterAmount
4896
- })), h = (parseFloat(v == null ? void 0 : v.balanceAmount) + parseFloat(h)).toString(), v)), n(3, x.Real = [{ amount: (y = se[0]) == null ? void 0 : y.balanceAmount }], x), n(3, x.Bonus = [{ amount: (E = se[1]) == null ? void 0 : E.balanceAmount }], x), n(3, x.Total = [{ amount: Number(h) }], x);
4897
- }, Le = (a, p, h) => {
4898
- let g = null;
4899
- switch (h.walletAccountType) {
4921
+ let p = "0";
4922
+ const m = c.balanceChange;
4923
+ q = q.map((b) => (m && m[b.id] && (b = Pt(Mt({}, b), {
4924
+ balanceAmount: m[b.id].afterAmount
4925
+ })), p = (parseFloat(b == null ? void 0 : b.balanceAmount) + parseFloat(p)).toString(), b)), n(3, x.Real = [{ amount: (E = q[0]) == null ? void 0 : E.balanceAmount }], x), n(3, x.Bonus = [{ amount: (S = q[1]) == null ? void 0 : S.balanceAmount }], x), n(3, x.Total = [{ amount: Number(p) }], x);
4926
+ }, qe = (s, c, p) => {
4927
+ let m = null;
4928
+ switch (p.walletAccountType) {
4900
4929
  case "Ordinary":
4901
- (h.afterAmount !== h.affectedAmount || p.lastOrdinaryAfterAmount === 0) && (p.lastOrdinaryAfterAmount = h.afterAmount, p.showCreditLineAfterAmount || (g = h.afterAmount));
4930
+ (p.afterAmount !== p.affectedAmount || c.lastOrdinaryAfterAmount === 0) && (c.lastOrdinaryAfterAmount = p.afterAmount, c.showCreditLineAfterAmount || (m = p.afterAmount));
4902
4931
  break;
4903
4932
  case "CreditLine":
4904
- h.afterAmount !== 0 ? (g = h.afterAmount, p.showCreditLineAfterAmount = !0) : (g = p.lastOrdinaryAfterAmount, p.showCreditLineAfterAmount = !1);
4933
+ p.afterAmount !== 0 ? (m = p.afterAmount, c.showCreditLineAfterAmount = !0) : (m = c.lastOrdinaryAfterAmount, c.showCreditLineAfterAmount = !1);
4905
4934
  break;
4906
4935
  default:
4907
- g = h.afterAmount;
4936
+ m = p.afterAmount;
4908
4937
  }
4909
- return g === null ? a : g;
4910
- }, ot = () => {
4938
+ return m === null ? s : m;
4939
+ }, st = () => {
4911
4940
  switch (B) {
4912
4941
  case "totalCashAmount":
4913
- let a = 0;
4914
- for (const h of ["Real", "Bonus"])
4915
- for (const g of x[h])
4916
- a += Math.max(g.amount, 0);
4917
- n(3, x.Total[0].amount = a, x);
4942
+ let s = 0;
4943
+ for (const p of ["Real", "Bonus"])
4944
+ for (const m of x[p])
4945
+ s += Math.max(m.amount, 0);
4946
+ n(3, x.Total[0].amount = s, x);
4918
4947
  break;
4919
4948
  case "totalRealAmount":
4920
- if (!_e)
4949
+ if (!xe)
4921
4950
  return;
4922
- let p = 0;
4923
- for (const h of x.Real)
4924
- p += h.amount;
4925
- n(3, x.Total[0].amount = p, x);
4951
+ let c = 0;
4952
+ for (const p of x.Real)
4953
+ c += p.amount;
4954
+ n(3, x.Total[0].amount = c, x);
4926
4955
  }
4927
- }, Bt = (a) => {
4928
- const p = ue(a.data);
4929
- if (!p) {
4930
- Ae();
4956
+ }, At = (s) => {
4957
+ const c = Le(s.data);
4958
+ if (!c) {
4959
+ ae();
4931
4960
  return;
4932
4961
  }
4933
- if (St(p == null ? void 0 : p.type) || p.type !== "BALANCE_UPDATE_V2")
4962
+ if (Qe(c == null ? void 0 : c.type) || c.type !== "BALANCE_UPDATE_V2")
4934
4963
  return;
4935
- const h = p.body.balanceChange;
4936
- for (const [g, y] of Object.entries(h))
4937
- if (B === "totalRealAmount" && g === "Real" && !_e && n(3, x.Total[0].amount = Le(x.Total[0].amount, ie, y), x), !!x[g])
4938
- for (const E of x[g]) {
4939
- if (!_e) {
4940
- E.amount = g === "Real" ? Le(E.amount, ie, y) : y.afterAmount;
4964
+ const p = c.body.balanceChange;
4965
+ for (const [m, E] of Object.entries(p))
4966
+ if (B === "totalRealAmount" && m === "Real" && !xe && n(3, x.Total[0].amount = qe(x.Total[0].amount, _e, E), x), !!x[m])
4967
+ for (const S of x[m]) {
4968
+ if (!xe) {
4969
+ S.amount = m === "Real" ? qe(S.amount, _e, E) : E.afterAmount;
4941
4970
  continue;
4942
4971
  }
4943
- y.productType === E.productType && (E.amount = g === "Real" ? Le(E.amount, ie[E.productType], y) : y.afterAmount);
4972
+ E.productType === S.productType && (S.amount = m === "Real" ? qe(S.amount, _e[S.productType], E) : E.afterAmount);
4944
4973
  }
4945
- ot();
4946
- }, at = () => {
4947
- n(2, Y = !1), window.postMessage({ type: "GoToDeposit" }, window.location.href), typeof gtag == "function" && gtag("event", "GoToDeposit", { context: "PlayerAccountBalanceModal" });
4948
- }, St = (a) => a === "SESSION_EXPIRATION" ? (window.postMessage({ type: "SessionExpiration" }, window.location.href), !0) : !1, Ze = () => {
4949
- me.includes(B) || (console.error(`Unsupported value ('${B}') for totalcalculationmode parameter. Only the following values are supported ${me}. Using default value ('${me[0]}').`), n(8, B = me[0]));
4950
- }, qe = (a) => {
4951
- const p = I.split(",").map((h) => h.trim());
4952
- return !a.productType || p.includes(a.productType) ? "" : r(a.productType);
4953
- }, Be = () => {
4954
- switch (Ho(s), Ze(), b) {
4974
+ st();
4975
+ }, ut = () => {
4976
+ n(2, Ee = !1), window.postMessage({ type: "GoToDeposit" }, window.location.href), typeof gtag == "function" && gtag("event", "GoToDeposit", { context: "PlayerAccountBalanceModal" });
4977
+ }, Qe = (s) => s === "SESSION_EXPIRATION" ? (window.postMessage({ type: "SessionExpiration" }, window.location.href), !0) : !1, Je = () => {
4978
+ Te.includes(B) || (console.error(`Unsupported value ('${B}') for totalcalculationmode parameter. Only the following values are supported ${Te}. Using default value ('${Te[0]}').`), n(8, B = Te[0]));
4979
+ }, Be = (s) => {
4980
+ const c = P.split(",").map((p) => p.trim());
4981
+ return !s.productType || c.includes(s.productType) ? "" : r(s.productType);
4982
+ }, te = () => {
4983
+ switch (Ri(a), Je(), y) {
4955
4984
  case "gmcore":
4956
- Te();
4985
+ Ae();
4957
4986
  break;
4958
4987
  case "gm16":
4959
- we();
4988
+ Ze();
4960
4989
  break;
4961
4990
  default:
4962
- throw Error(`Invalid apiversion attribute: ${b}`);
4991
+ throw Error(`Invalid apiversion attribute: ${y}`);
4963
4992
  }
4964
- }, K = (a) => a.data && a.data.type === "LogoutSuccessfull" && pe.close();
4965
- _r(() => (window.addEventListener("message", K, !1), () => {
4966
- window.removeEventListener("message", K), pe && pe.close();
4993
+ }, lt = (s) => s.data && s.data.type === "LogoutSuccessfull" && ie.close();
4994
+ Tr(() => (window.addEventListener("message", lt, !1), () => {
4995
+ window.removeEventListener("message", lt), ie && ie.close();
4967
4996
  }));
4968
- const wt = () => n(2, Y = !0), At = () => n(2, Y = !1), Ct = () => at(), st = () => n(2, Y = !1);
4969
- function c(a) {
4970
- kt[a ? "unshift" : "push"](() => {
4971
- P = a, n(0, P);
4997
+ const Ct = () => n(2, Ee = !0), Ht = () => n(2, Ee = !1), ht = () => ut(), h = () => n(2, Ee = !1);
4998
+ function v(s) {
4999
+ Vt[s ? "unshift" : "push"](() => {
5000
+ N = s, n(0, N);
4972
5001
  });
4973
5002
  }
4974
- return e.$$set = (a) => {
4975
- "userid" in a && n(9, i = a.userid), "session" in a && n(10, o = a.session), "endpoint" in a && n(11, u = a.endpoint), "lang" in a && n(12, s = a.lang), "mbsource" in a && n(13, f = a.mbsource), "clientstyling" in a && n(14, l = a.clientstyling), "clientstylingurl" in a && n(15, d = a.clientstylingurl), "translationurl" in a && n(16, m = a.translationurl), "gmversion" in a && n(17, b = a.gmversion), "displaybalanceoption" in a && n(18, _ = a.displaybalanceoption), "totalcalculationmode" in a && n(8, B = a.totalcalculationmode), "hideproducttype" in a && n(19, I = a.hideproducttype), "currencylocale" in a && n(20, j = a.currencylocale), "currencydisplay" in a && n(21, W = a.currencydisplay), "maximumfractiondigits" in a && n(22, U = a.maximumfractiondigits), "minimumfractiondigits" in a && n(23, w = a.minimumfractiondigits), "customdisplayformat" in a && n(24, A = a.customdisplayformat);
5003
+ return e.$$set = (s) => {
5004
+ "userid" in s && n(9, o = s.userid), "session" in s && n(10, i = s.session), "endpoint" in s && n(11, u = s.endpoint), "lang" in s && n(12, a = s.lang), "mbsource" in s && n(13, f = s.mbsource), "clientstyling" in s && n(14, l = s.clientstyling), "clientstylingurl" in s && n(15, d = s.clientstylingurl), "translationurl" in s && n(16, g = s.translationurl), "gmversion" in s && n(17, y = s.gmversion), "displaybalanceoption" in s && n(18, _ = s.displaybalanceoption), "totalcalculationmode" in s && n(8, B = s.totalcalculationmode), "hideproducttype" in s && n(19, P = s.hideproducttype), "currencylocale" in s && n(20, j = s.currencylocale), "currencydisplay" in s && n(21, Z = s.currencydisplay), "maximumfractiondigits" in s && n(22, U = s.maximumfractiondigits), "minimumfractiondigits" in s && n(23, w = s.minimumfractiondigits), "customdisplayformat" in s && n(24, C = s.customdisplayformat);
4976
5005
  }, e.$$.update = () => {
4977
5006
  e.$$.dirty[0] & /*endpoint, userid, session, lang, gmversion, displaybalanceoption*/
4978
- 400896 && u && i && o && s && b && _ && Be(), e.$$.dirty[0] & /*endpoint, userid, session, gmversion*/
4979
- 134656 && u && i && o && b && Ae(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4980
- 16385 && l && P && Ir(P, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4981
- 32769 && d && P && Dr(P, d), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
4982
- 8193 && P && Fr(P, `${f}.Style`), e.$$.dirty[0] & /*translationurl*/
4983
- 65536 && m && it();
5007
+ 400896 && u && o && i && a && y && _ && te(), e.$$.dirty[0] & /*endpoint, userid, session, gmversion*/
5008
+ 134656 && u && o && i && y && ae(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5009
+ 16385 && l && N && Dr(N, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5010
+ 32769 && d && N && Fr(N, d), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
5011
+ 8193 && N && Ur(N, `${f}.Style`, M), e.$$.dirty[0] & /*translationurl*/
5012
+ 65536 && g && We();
4984
5013
  }, [
4985
- P,
4986
- L,
4987
- Y,
5014
+ N,
5015
+ W,
5016
+ Ee,
4988
5017
  x,
4989
5018
  r,
4990
- ze,
4991
- at,
4992
- qe,
5019
+ ce,
5020
+ ut,
5021
+ Be,
4993
5022
  B,
4994
- i,
4995
5023
  o,
5024
+ i,
4996
5025
  u,
4997
- s,
5026
+ a,
4998
5027
  f,
4999
5028
  l,
5000
5029
  d,
5001
- m,
5002
- b,
5030
+ g,
5031
+ y,
5003
5032
  _,
5004
- I,
5033
+ P,
5005
5034
  j,
5006
- W,
5035
+ Z,
5007
5036
  U,
5008
5037
  w,
5009
- A,
5010
- wt,
5011
- At,
5038
+ C,
5012
5039
  Ct,
5013
- st,
5014
- c
5040
+ Ht,
5041
+ ht,
5042
+ h,
5043
+ v
5015
5044
  ];
5016
5045
  }
5017
- class Io extends Mr {
5046
+ class Ui extends Pr {
5018
5047
  constructor(t) {
5019
- super(), Rr(
5048
+ super(), Nr(
5020
5049
  this,
5021
5050
  t,
5022
- Po,
5023
- Mo,
5024
- Rn,
5051
+ Fi,
5052
+ Di,
5053
+ Nn,
5025
5054
  {
5026
5055
  userid: 9,
5027
5056
  session: 10,
@@ -5041,7 +5070,7 @@ class Io extends Mr {
5041
5070
  minimumfractiondigits: 23,
5042
5071
  customdisplayformat: 24
5043
5072
  },
5044
- Lo,
5073
+ Mi,
5045
5074
  [-1, -1]
5046
5075
  );
5047
5076
  }
@@ -5148,7 +5177,7 @@ class Io extends Mr {
5148
5177
  this.$$set({ customdisplayformat: t }), k();
5149
5178
  }
5150
5179
  }
5151
- Nr(Io, { userid: {}, session: {}, endpoint: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, gmversion: {}, displaybalanceoption: {}, totalcalculationmode: {}, hideproducttype: {}, currencylocale: {}, currencydisplay: {}, maximumfractiondigits: {}, minimumfractiondigits: {}, customdisplayformat: {} }, [], [], !0);
5180
+ Mr(Ui, { userid: {}, session: {}, endpoint: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, gmversion: {}, displaybalanceoption: {}, totalcalculationmode: {}, hideproducttype: {}, currencylocale: {}, currencydisplay: {}, maximumfractiondigits: {}, minimumfractiondigits: {}, customdisplayformat: {} }, [], [], !0);
5152
5181
  export {
5153
- Io as default
5182
+ Ui as default
5154
5183
  };