@everymatrix/player-account-gaming-limits-history-2-nd 1.87.25 → 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,17 +1,17 @@
1
- var Gr = Object.defineProperty, Fr = Object.defineProperties;
2
- var jr = Object.getOwnPropertyDescriptors;
3
- var gt = Object.getOwnPropertySymbols;
4
- var kr = Object.prototype.hasOwnProperty, Vr = Object.prototype.propertyIsEnumerable;
5
- var $e = (e, t, r) => t in e ? Gr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ge = (e, t) => {
1
+ var jr = Object.defineProperty, kr = Object.defineProperties;
2
+ var Vr = Object.getOwnPropertyDescriptors;
3
+ var vt = Object.getOwnPropertySymbols;
4
+ var Wr = Object.prototype.hasOwnProperty, zr = Object.prototype.propertyIsEnumerable;
5
+ var Ge = (e, t, r) => t in e ? jr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ve = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- kr.call(t, r) && $e(e, r, t[r]);
8
- if (gt)
9
- for (var r of gt(t))
10
- Vr.call(t, r) && $e(e, r, t[r]);
7
+ Wr.call(t, r) && Ge(e, r, t[r]);
8
+ if (vt)
9
+ for (var r of vt(t))
10
+ zr.call(t, r) && Ge(e, r, t[r]);
11
11
  return e;
12
- }, bt = (e, t) => Fr(e, jr(t));
13
- var N = (e, t, r) => ($e(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var vt = (e, t, r) => new Promise((i, n) => {
12
+ }, _t = (e, t) => kr(e, Vr(t));
13
+ var M = (e, t, r) => (Ge(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var Et = (e, t, r) => new Promise((i, n) => {
15
15
  var o = (l) => {
16
16
  try {
17
17
  a(r.next(l));
@@ -29,25 +29,25 @@ var vt = (e, t, r) => new Promise((i, n) => {
29
29
  });
30
30
  function O() {
31
31
  }
32
- function Xt(e) {
32
+ function Qt(e) {
33
33
  return e();
34
34
  }
35
- function _t() {
35
+ function xt() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
- function ce(e) {
39
- e.forEach(Xt);
38
+ function fe(e) {
39
+ e.forEach(Qt);
40
40
  }
41
- function mt(e) {
41
+ function dt(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function Zt(e, t) {
44
+ function Yt(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
- function Wr(e) {
47
+ function Xr(e) {
48
48
  return Object.keys(e).length === 0;
49
49
  }
50
- function Qt(e, ...t) {
50
+ function Jt(e, ...t) {
51
51
  if (e == null) {
52
52
  for (const i of t)
53
53
  i(void 0);
@@ -56,23 +56,23 @@ function Qt(e, ...t) {
56
56
  const r = e.subscribe(...t);
57
57
  return r.unsubscribe ? () => r.unsubscribe() : r;
58
58
  }
59
- function zr(e, t, r) {
60
- e.$$.on_destroy.push(Qt(t, r));
59
+ function Zr(e, t, r) {
60
+ e.$$.on_destroy.push(Jt(t, r));
61
61
  }
62
- function Et(e) {
62
+ function wt(e) {
63
63
  return e == null ? "" : e;
64
64
  }
65
65
  function x(e, t) {
66
66
  e.appendChild(t);
67
67
  }
68
- function Xr(e, t, r) {
69
- const i = Zr(e);
68
+ function Qr(e, t, r) {
69
+ const i = Yr(e);
70
70
  if (!i.getElementById(t)) {
71
- const n = H("style");
72
- n.id = t, n.textContent = r, Qr(i, n);
71
+ const n = A("style");
72
+ n.id = t, n.textContent = r, Jr(i, n);
73
73
  }
74
74
  }
75
- function Zr(e) {
75
+ function Yr(e) {
76
76
  if (!e)
77
77
  return document;
78
78
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -82,7 +82,7 @@ function Zr(e) {
82
82
  t
83
83
  ) : e.ownerDocument;
84
84
  }
85
- function Qr(e, t) {
85
+ function Jr(e, t) {
86
86
  return x(
87
87
  /** @type {Document} */
88
88
  e.head || e,
@@ -95,42 +95,42 @@ function z(e, t, r) {
95
95
  function V(e) {
96
96
  e.parentNode && e.parentNode.removeChild(e);
97
97
  }
98
- function Yr(e, t) {
98
+ function qr(e, t) {
99
99
  for (let r = 0; r < e.length; r += 1)
100
100
  e[r] && e[r].d(t);
101
101
  }
102
- function H(e) {
102
+ function A(e) {
103
103
  return document.createElement(e);
104
104
  }
105
- function Ue(e) {
105
+ function Fe(e) {
106
106
  return document.createElementNS("http://www.w3.org/2000/svg", e);
107
107
  }
108
- function G(e) {
108
+ function U(e) {
109
109
  return document.createTextNode(e);
110
110
  }
111
- function Qe() {
112
- return G(" ");
111
+ function Je() {
112
+ return U(" ");
113
113
  }
114
- function Jr(e, t, r, i) {
114
+ function Kr(e, t, r, i) {
115
115
  return e.addEventListener(t, r, i), () => e.removeEventListener(t, r, i);
116
116
  }
117
117
  function E(e, t, r) {
118
118
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
119
119
  }
120
- function qr(e) {
120
+ function ei(e) {
121
121
  return Array.from(e.childNodes);
122
122
  }
123
123
  function k(e, t) {
124
124
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
125
125
  t);
126
126
  }
127
- function Kr(e, t, r, i) {
127
+ function ti(e, t, r, i) {
128
128
  e.style.setProperty(t, r, "");
129
129
  }
130
- function be(e, t, r) {
130
+ function _e(e, t, r) {
131
131
  e.classList.toggle(t, !!r);
132
132
  }
133
- function ei(e) {
133
+ function ri(e) {
134
134
  const t = {};
135
135
  return e.childNodes.forEach(
136
136
  /** @param {Element} node */
@@ -139,90 +139,90 @@ function ei(e) {
139
139
  }
140
140
  ), t;
141
141
  }
142
- let ue;
143
- function ae(e) {
144
- ue = e;
142
+ let le;
143
+ function ue(e) {
144
+ le = e;
145
145
  }
146
- function ti() {
147
- if (!ue)
146
+ function ii() {
147
+ if (!le)
148
148
  throw new Error("Function called outside component initialization");
149
- return ue;
149
+ return le;
150
150
  }
151
- function ri(e) {
152
- ti().$$.on_mount.push(e);
151
+ function ni(e) {
152
+ ii().$$.on_mount.push(e);
153
153
  }
154
- const Y = [], Se = [];
155
- let J = [];
156
- const xt = [], ii = /* @__PURE__ */ Promise.resolve();
157
- let Ye = !1;
158
- function ni() {
159
- Ye || (Ye = !0, ii.then(C));
154
+ const Y = [], Ae = [];
155
+ let q = [];
156
+ const St = [], oi = /* @__PURE__ */ Promise.resolve();
157
+ let qe = !1;
158
+ function si() {
159
+ qe || (qe = !0, oi.then(I));
160
160
  }
161
- function Je(e) {
162
- J.push(e);
161
+ function Ke(e) {
162
+ q.push(e);
163
163
  }
164
- const Ge = /* @__PURE__ */ new Set();
164
+ const je = /* @__PURE__ */ new Set();
165
165
  let Z = 0;
166
- function C() {
166
+ function I() {
167
167
  if (Z !== 0)
168
168
  return;
169
- const e = ue;
169
+ const e = le;
170
170
  do {
171
171
  try {
172
172
  for (; Z < Y.length; ) {
173
173
  const t = Y[Z];
174
- Z++, ae(t), oi(t.$$);
174
+ Z++, ue(t), ai(t.$$);
175
175
  }
176
176
  } catch (t) {
177
177
  throw Y.length = 0, Z = 0, t;
178
178
  }
179
- for (ae(null), Y.length = 0, Z = 0; Se.length; )
180
- Se.pop()();
181
- for (let t = 0; t < J.length; t += 1) {
182
- const r = J[t];
183
- Ge.has(r) || (Ge.add(r), r());
179
+ for (ue(null), Y.length = 0, Z = 0; Ae.length; )
180
+ Ae.pop()();
181
+ for (let t = 0; t < q.length; t += 1) {
182
+ const r = q[t];
183
+ je.has(r) || (je.add(r), r());
184
184
  }
185
- J.length = 0;
185
+ q.length = 0;
186
186
  } while (Y.length);
187
- for (; xt.length; )
188
- xt.pop()();
189
- Ye = !1, Ge.clear(), ae(e);
187
+ for (; St.length; )
188
+ St.pop()();
189
+ qe = !1, je.clear(), ue(e);
190
190
  }
191
- function oi(e) {
191
+ function ai(e) {
192
192
  if (e.fragment !== null) {
193
- e.update(), ce(e.before_update);
193
+ e.update(), fe(e.before_update);
194
194
  const t = e.dirty;
195
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Je);
195
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ke);
196
196
  }
197
197
  }
198
- function si(e) {
198
+ function ui(e) {
199
199
  const t = [], r = [];
200
- J.forEach((i) => e.indexOf(i) === -1 ? t.push(i) : r.push(i)), r.forEach((i) => i()), J = t;
200
+ q.forEach((i) => e.indexOf(i) === -1 ? t.push(i) : r.push(i)), r.forEach((i) => i()), q = t;
201
201
  }
202
- const ai = /* @__PURE__ */ new Set();
203
- function ui(e, t) {
204
- e && e.i && (ai.delete(e), e.i(t));
202
+ const li = /* @__PURE__ */ new Set();
203
+ function hi(e, t) {
204
+ e && e.i && (li.delete(e), e.i(t));
205
205
  }
206
- function wt(e) {
206
+ function Tt(e) {
207
207
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
208
208
  }
209
- function li(e, t, r) {
209
+ function ci(e, t, r) {
210
210
  const { fragment: i, after_update: n } = e.$$;
211
- i && i.m(t, r), Je(() => {
212
- const o = e.$$.on_mount.map(Xt).filter(mt);
213
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ce(o), e.$$.on_mount = [];
214
- }), n.forEach(Je);
211
+ i && i.m(t, r), Ke(() => {
212
+ const o = e.$$.on_mount.map(Qt).filter(dt);
213
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : fe(o), e.$$.on_mount = [];
214
+ }), n.forEach(Ke);
215
215
  }
216
- function hi(e, t) {
216
+ function fi(e, t) {
217
217
  const r = e.$$;
218
- r.fragment !== null && (si(r.after_update), ce(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
218
+ r.fragment !== null && (ui(r.after_update), fe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
219
219
  }
220
- function ci(e, t) {
221
- e.$$.dirty[0] === -1 && (Y.push(e), ni(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
220
+ function mi(e, t) {
221
+ e.$$.dirty[0] === -1 && (Y.push(e), si(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
222
222
  }
223
- function fi(e, t, r, i, n, o, s = null, a = [-1]) {
224
- const l = ue;
225
- ae(e);
223
+ function pi(e, t, r, i, n, o, s = null, a = [-1]) {
224
+ const l = le;
225
+ ue(e);
226
226
  const u = e.$$ = {
227
227
  fragment: null,
228
228
  ctx: [],
@@ -230,7 +230,7 @@ function fi(e, t, r, i, n, o, s = null, a = [-1]) {
230
230
  props: o,
231
231
  update: O,
232
232
  not_equal: n,
233
- bound: _t(),
233
+ bound: xt(),
234
234
  // lifecycle
235
235
  on_mount: [],
236
236
  on_destroy: [],
@@ -239,7 +239,7 @@ function fi(e, t, r, i, n, o, s = null, a = [-1]) {
239
239
  after_update: [],
240
240
  context: new Map(t.context || (l ? l.$$.context : [])),
241
241
  // everything else
242
- callbacks: _t(),
242
+ callbacks: xt(),
243
243
  dirty: a,
244
244
  skip_bound: !1,
245
245
  root: t.target || l.$$.root
@@ -248,39 +248,39 @@ function fi(e, t, r, i, n, o, s = null, a = [-1]) {
248
248
  let h = !1;
249
249
  if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
250
250
  const y = p.length ? p[0] : f;
251
- return u.ctx && n(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), h && ci(e, c)), f;
252
- }) : [], u.update(), h = !0, ce(u.before_update), u.fragment = i ? i(u.ctx) : !1, t.target) {
251
+ return u.ctx && n(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), h && mi(e, c)), f;
252
+ }) : [], u.update(), h = !0, fe(u.before_update), u.fragment = i ? i(u.ctx) : !1, t.target) {
253
253
  if (t.hydrate) {
254
- const c = qr(t.target);
254
+ const c = ei(t.target);
255
255
  u.fragment && u.fragment.l(c), c.forEach(V);
256
256
  } else
257
257
  u.fragment && u.fragment.c();
258
- t.intro && ui(e.$$.fragment), li(e, t.target, t.anchor), C();
258
+ t.intro && hi(e.$$.fragment), ci(e, t.target, t.anchor), I();
259
259
  }
260
- ae(l);
260
+ ue(l);
261
261
  }
262
- let Yt;
263
- typeof HTMLElement == "function" && (Yt = class extends HTMLElement {
262
+ let qt;
263
+ typeof HTMLElement == "function" && (qt = class extends HTMLElement {
264
264
  constructor(t, r, i) {
265
265
  super();
266
266
  /** The Svelte component constructor */
267
- N(this, "$$ctor");
267
+ M(this, "$$ctor");
268
268
  /** Slots */
269
- N(this, "$$s");
269
+ M(this, "$$s");
270
270
  /** The Svelte component instance */
271
- N(this, "$$c");
271
+ M(this, "$$c");
272
272
  /** Whether or not the custom element is connected */
273
- N(this, "$$cn", !1);
273
+ M(this, "$$cn", !1);
274
274
  /** Component props data */
275
- N(this, "$$d", {});
275
+ M(this, "$$d", {});
276
276
  /** `true` if currently in the process of reflecting component props back to attributes */
277
- N(this, "$$r", !1);
277
+ M(this, "$$r", !1);
278
278
  /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
279
- N(this, "$$p_d", {});
279
+ M(this, "$$p_d", {});
280
280
  /** @type {Record<string, Function[]>} Event listeners */
281
- N(this, "$$l", {});
281
+ M(this, "$$l", {});
282
282
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
283
- N(this, "$$l_u", /* @__PURE__ */ new Map());
283
+ M(this, "$$l_u", /* @__PURE__ */ new Map());
284
284
  this.$$ctor = t, this.$$s = r, i && this.attachShadow({ mode: "open" });
285
285
  }
286
286
  addEventListener(t, r, i) {
@@ -297,14 +297,14 @@ typeof HTMLElement == "function" && (Yt = class extends HTMLElement {
297
297
  }
298
298
  }
299
299
  connectedCallback() {
300
- return vt(this, null, function* () {
300
+ return Et(this, null, function* () {
301
301
  if (this.$$cn = !0, !this.$$c) {
302
302
  let t = function(o) {
303
303
  return () => {
304
304
  let s;
305
305
  return {
306
306
  c: function() {
307
- s = H("slot"), o !== "default" && E(s, "name", o);
307
+ s = A("slot"), o !== "default" && E(s, "name", o);
308
308
  },
309
309
  /**
310
310
  * @param {HTMLElement} target
@@ -321,18 +321,18 @@ typeof HTMLElement == "function" && (Yt = class extends HTMLElement {
321
321
  };
322
322
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
323
323
  return;
324
- const r = {}, i = ei(this);
324
+ const r = {}, i = ri(this);
325
325
  for (const o of this.$$s)
326
326
  o in i && (r[o] = [t(o)]);
327
327
  for (const o of this.attributes) {
328
328
  const s = this.$$g_p(o.name);
329
- s in this.$$d || (this.$$d[s] = Ee(s, o.value, this.$$p_d, "toProp"));
329
+ s in this.$$d || (this.$$d[s] = we(s, o.value, this.$$p_d, "toProp"));
330
330
  }
331
331
  for (const o in this.$$p_d)
332
332
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
333
333
  this.$$c = new this.$$ctor({
334
334
  target: this.shadowRoot || this,
335
- props: bt(ge({}, this.$$d), {
335
+ props: _t(ve({}, this.$$d), {
336
336
  $$slots: r,
337
337
  $$scope: {
338
338
  ctx: []
@@ -343,7 +343,7 @@ typeof HTMLElement == "function" && (Yt = class extends HTMLElement {
343
343
  this.$$r = !0;
344
344
  for (const o in this.$$p_d)
345
345
  if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
346
- const s = Ee(
346
+ const s = we(
347
347
  o,
348
348
  this.$$d[o],
349
349
  this.$$p_d,
@@ -367,7 +367,7 @@ typeof HTMLElement == "function" && (Yt = class extends HTMLElement {
367
367
  // and setting attributes through setAttribute etc, this is helpful
368
368
  attributeChangedCallback(t, r, i) {
369
369
  var n;
370
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = Ee(t, i, this.$$p_d, "toProp"), (n = this.$$c) == null || n.$set({ [t]: this.$$d[t] }));
370
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = we(t, i, this.$$p_d, "toProp"), (n = this.$$c) == null || n.$set({ [t]: this.$$d[t] }));
371
371
  }
372
372
  disconnectedCallback() {
373
373
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -380,7 +380,7 @@ typeof HTMLElement == "function" && (Yt = class extends HTMLElement {
380
380
  ) || t;
381
381
  }
382
382
  });
383
- function Ee(e, t, r, i) {
383
+ function we(e, t, r, i) {
384
384
  var o;
385
385
  const n = (o = r[e]) == null ? void 0 : o.type;
386
386
  if (t = n === "Boolean" && typeof t != "boolean" ? t != null : t, !i || !r[e])
@@ -410,8 +410,8 @@ function Ee(e, t, r, i) {
410
410
  return t;
411
411
  }
412
412
  }
413
- function mi(e, t, r, i, n, o) {
414
- let s = class extends Yt {
413
+ function di(e, t, r, i, n, o) {
414
+ let s = class extends qt {
415
415
  constructor() {
416
416
  super(e, r, n), this.$$p_d = t;
417
417
  }
@@ -428,7 +428,7 @@ function mi(e, t, r, i, n, o) {
428
428
  },
429
429
  set(l) {
430
430
  var u;
431
- l = Ee(a, l, t), this.$$d[a] = l, (u = this.$$c) == null || u.$set({ [a]: l });
431
+ l = we(a, l, t), this.$$d[a] = l, (u = this.$$c) == null || u.$set({ [a]: l });
432
432
  }
433
433
  });
434
434
  }), i.forEach((a) => {
@@ -441,7 +441,7 @@ function mi(e, t, r, i, n, o) {
441
441
  }), e.element = /** @type {any} */
442
442
  s, s;
443
443
  }
444
- class pi {
444
+ class yi {
445
445
  constructor() {
446
446
  /**
447
447
  * ### PRIVATE API
@@ -450,7 +450,7 @@ class pi {
450
450
  *
451
451
  * @type {any}
452
452
  */
453
- N(this, "$$");
453
+ M(this, "$$");
454
454
  /**
455
455
  * ### PRIVATE API
456
456
  *
@@ -458,11 +458,11 @@ class pi {
458
458
  *
459
459
  * @type {any}
460
460
  */
461
- N(this, "$$set");
461
+ M(this, "$$set");
462
462
  }
463
463
  /** @returns {void} */
464
464
  $destroy() {
465
- hi(this, 1), this.$destroy = O;
465
+ fi(this, 1), this.$destroy = O;
466
466
  }
467
467
  /**
468
468
  * @template {Extract<keyof Events, string>} K
@@ -471,7 +471,7 @@ class pi {
471
471
  * @returns {() => void}
472
472
  */
473
473
  $on(t, r) {
474
- if (!mt(r))
474
+ if (!dt(r))
475
475
  return O;
476
476
  const i = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
477
477
  return i.push(r), () => {
@@ -484,22 +484,22 @@ class pi {
484
484
  * @returns {void}
485
485
  */
486
486
  $set(t) {
487
- this.$$set && !Wr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
487
+ this.$$set && !Xr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
488
488
  }
489
489
  }
490
- const di = "4";
491
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(di);
490
+ const bi = "4";
491
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(bi);
492
492
  const Q = [];
493
- function yi(e, t) {
493
+ function gi(e, t) {
494
494
  return {
495
- subscribe: Pe(e, t).subscribe
495
+ subscribe: Oe(e, t).subscribe
496
496
  };
497
497
  }
498
- function Pe(e, t = O) {
498
+ function Oe(e, t = O) {
499
499
  let r;
500
500
  const i = /* @__PURE__ */ new Set();
501
501
  function n(a) {
502
- if (Zt(e, a) && (e = a, r)) {
502
+ if (Yt(e, a) && (e = a, r)) {
503
503
  const l = !Q.length;
504
504
  for (const u of i)
505
505
  u[1](), Q.push(u, e);
@@ -521,12 +521,12 @@ function Pe(e, t = O) {
521
521
  }
522
522
  return { set: n, update: o, subscribe: s };
523
523
  }
524
- function re(e, t, r) {
524
+ function ie(e, t, r) {
525
525
  const i = !Array.isArray(e), n = i ? [e] : e;
526
526
  if (!n.every(Boolean))
527
527
  throw new Error("derived() expects stores as input, got a falsy value");
528
528
  const o = t.length < 2;
529
- return yi(r, (s, a) => {
529
+ return gi(r, (s, a) => {
530
530
  let l = !1;
531
531
  const u = [];
532
532
  let h = 0, c = O;
@@ -535,9 +535,9 @@ function re(e, t, r) {
535
535
  return;
536
536
  c();
537
537
  const y = t(i ? u[0] : u, s, a);
538
- o ? s(y) : c = mt(y) ? y : O;
538
+ o ? s(y) : c = dt(y) ? y : O;
539
539
  }, p = n.map(
540
- (y, d) => Qt(
540
+ (y, d) => Jt(
541
541
  y,
542
542
  (v) => {
543
543
  u[d] = v, h &= ~(1 << d), l && f();
@@ -548,112 +548,112 @@ function re(e, t, r) {
548
548
  )
549
549
  );
550
550
  return l = !0, f(), function() {
551
- ce(p), c(), l = !1;
551
+ fe(p), c(), l = !1;
552
552
  };
553
553
  });
554
554
  }
555
- function gi(e) {
555
+ function vi(e) {
556
556
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
557
557
  }
558
- var bi = function(t) {
559
- return vi(t) && !_i(t);
558
+ var _i = function(t) {
559
+ return Ei(t) && !xi(t);
560
560
  };
561
- function vi(e) {
561
+ function Ei(e) {
562
562
  return !!e && typeof e == "object";
563
563
  }
564
- function _i(e) {
564
+ function xi(e) {
565
565
  var t = Object.prototype.toString.call(e);
566
- return t === "[object RegExp]" || t === "[object Date]" || wi(e);
567
- }
568
- var Ei = typeof Symbol == "function" && Symbol.for, xi = Ei ? Symbol.for("react.element") : 60103;
569
- function wi(e) {
570
- return e.$$typeof === xi;
566
+ return t === "[object RegExp]" || t === "[object Date]" || Ti(e);
571
567
  }
568
+ var wi = typeof Symbol == "function" && Symbol.for, Si = wi ? Symbol.for("react.element") : 60103;
572
569
  function Ti(e) {
570
+ return e.$$typeof === Si;
571
+ }
572
+ function Li(e) {
573
573
  return Array.isArray(e) ? [] : {};
574
574
  }
575
- function le(e, t) {
576
- return t.clone !== !1 && t.isMergeableObject(e) ? q(Ti(e), e, t) : e;
575
+ function he(e, t) {
576
+ return t.clone !== !1 && t.isMergeableObject(e) ? K(Li(e), e, t) : e;
577
577
  }
578
- function Si(e, t, r) {
578
+ function Ai(e, t, r) {
579
579
  return e.concat(t).map(function(i) {
580
- return le(i, r);
580
+ return he(i, r);
581
581
  });
582
582
  }
583
- function Li(e, t) {
583
+ function Hi(e, t) {
584
584
  if (!t.customMerge)
585
- return q;
585
+ return K;
586
586
  var r = t.customMerge(e);
587
- return typeof r == "function" ? r : q;
587
+ return typeof r == "function" ? r : K;
588
588
  }
589
- function Ai(e) {
589
+ function Pi(e) {
590
590
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
591
591
  return Object.propertyIsEnumerable.call(e, t);
592
592
  }) : [];
593
593
  }
594
- function Tt(e) {
595
- return Object.keys(e).concat(Ai(e));
594
+ function Lt(e) {
595
+ return Object.keys(e).concat(Pi(e));
596
596
  }
597
- function Jt(e, t) {
597
+ function Kt(e, t) {
598
598
  try {
599
599
  return t in e;
600
600
  } catch (r) {
601
601
  return !1;
602
602
  }
603
603
  }
604
- function Hi(e, t) {
605
- return Jt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
604
+ function Bi(e, t) {
605
+ return Kt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
606
606
  }
607
- function Pi(e, t, r) {
607
+ function Oi(e, t, r) {
608
608
  var i = {};
609
- return r.isMergeableObject(e) && Tt(e).forEach(function(n) {
610
- i[n] = le(e[n], r);
611
- }), Tt(t).forEach(function(n) {
612
- Hi(e, n) || (Jt(e, n) && r.isMergeableObject(t[n]) ? i[n] = Li(n, r)(e[n], t[n], r) : i[n] = le(t[n], r));
609
+ return r.isMergeableObject(e) && Lt(e).forEach(function(n) {
610
+ i[n] = he(e[n], r);
611
+ }), Lt(t).forEach(function(n) {
612
+ Bi(e, n) || (Kt(e, n) && r.isMergeableObject(t[n]) ? i[n] = Hi(n, r)(e[n], t[n], r) : i[n] = he(t[n], r));
613
613
  }), i;
614
614
  }
615
- function q(e, t, r) {
616
- r = r || {}, r.arrayMerge = r.arrayMerge || Si, r.isMergeableObject = r.isMergeableObject || bi, r.cloneUnlessOtherwiseSpecified = le;
615
+ function K(e, t, r) {
616
+ r = r || {}, r.arrayMerge = r.arrayMerge || Ai, r.isMergeableObject = r.isMergeableObject || _i, r.cloneUnlessOtherwiseSpecified = he;
617
617
  var i = Array.isArray(t), n = Array.isArray(e), o = i === n;
618
- return o ? i ? r.arrayMerge(e, t, r) : Pi(e, t, r) : le(t, r);
618
+ return o ? i ? r.arrayMerge(e, t, r) : Oi(e, t, r) : he(t, r);
619
619
  }
620
- q.all = function(t, r) {
620
+ K.all = function(t, r) {
621
621
  if (!Array.isArray(t))
622
622
  throw new Error("first argument should be an array");
623
623
  return t.reduce(function(i, n) {
624
- return q(i, n, r);
624
+ return K(i, n, r);
625
625
  }, {});
626
626
  };
627
- var Bi = q, Oi = Bi;
628
- const Ci = /* @__PURE__ */ gi(Oi);
629
- var qe = function(e, t) {
630
- return qe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
627
+ var Ci = K, Ii = Ci;
628
+ const Ni = /* @__PURE__ */ vi(Ii);
629
+ var et = function(e, t) {
630
+ return et = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
631
631
  r.__proto__ = i;
632
632
  } || function(r, i) {
633
633
  for (var n in i)
634
634
  Object.prototype.hasOwnProperty.call(i, n) && (r[n] = i[n]);
635
- }, qe(e, t);
635
+ }, et(e, t);
636
636
  };
637
- function Be(e, t) {
637
+ function Ce(e, t) {
638
638
  if (typeof t != "function" && t !== null)
639
639
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
640
- qe(e, t);
640
+ et(e, t);
641
641
  function r() {
642
642
  this.constructor = e;
643
643
  }
644
644
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
645
645
  }
646
- var R = function() {
647
- return R = Object.assign || function(t) {
646
+ var D = function() {
647
+ return D = Object.assign || function(t) {
648
648
  for (var r, i = 1, n = arguments.length; i < n; i++) {
649
649
  r = arguments[i];
650
650
  for (var o in r)
651
651
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
652
652
  }
653
653
  return t;
654
- }, R.apply(this, arguments);
654
+ }, D.apply(this, arguments);
655
655
  };
656
- function Ii(e, t) {
656
+ function Mi(e, t) {
657
657
  var r = {};
658
658
  for (var i in e)
659
659
  Object.prototype.hasOwnProperty.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
@@ -662,43 +662,43 @@ function Ii(e, t) {
662
662
  t.indexOf(i[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, i[n]) && (r[i[n]] = e[i[n]]);
663
663
  return r;
664
664
  }
665
- function Fe(e, t, r) {
665
+ function ke(e, t, r) {
666
666
  if (r || arguments.length === 2)
667
667
  for (var i = 0, n = t.length, o; i < n; i++)
668
668
  (o || !(i in t)) && (o || (o = Array.prototype.slice.call(t, 0, i)), o[i] = t[i]);
669
669
  return e.concat(o || Array.prototype.slice.call(t));
670
670
  }
671
- function je(e, t) {
672
- var r = t && t.cache ? t.cache : Gi, i = t && t.serializer ? t.serializer : $i, n = t && t.strategy ? t.strategy : Ri;
671
+ function Ve(e, t) {
672
+ var r = t && t.cache ? t.cache : ji, i = t && t.serializer ? t.serializer : Gi, n = t && t.strategy ? t.strategy : $i;
673
673
  return n(e, {
674
674
  cache: r,
675
675
  serializer: i
676
676
  });
677
677
  }
678
- function Ni(e) {
678
+ function Ri(e) {
679
679
  return e == null || typeof e == "number" || typeof e == "boolean";
680
680
  }
681
- function Mi(e, t, r, i) {
682
- var n = Ni(i) ? i : r(i), o = t.get(n);
681
+ function Di(e, t, r, i) {
682
+ var n = Ri(i) ? i : r(i), o = t.get(n);
683
683
  return typeof o == "undefined" && (o = e.call(this, i), t.set(n, o)), o;
684
684
  }
685
- function qt(e, t, r) {
685
+ function er(e, t, r) {
686
686
  var i = Array.prototype.slice.call(arguments, 3), n = r(i), o = t.get(n);
687
687
  return typeof o == "undefined" && (o = e.apply(this, i), t.set(n, o)), o;
688
688
  }
689
- function Kt(e, t, r, i, n) {
689
+ function tr(e, t, r, i, n) {
690
690
  return r.bind(t, e, i, n);
691
691
  }
692
- function Ri(e, t) {
693
- var r = e.length === 1 ? Mi : qt;
694
- return Kt(e, this, r, t.cache.create(), t.serializer);
692
+ function $i(e, t) {
693
+ var r = e.length === 1 ? Di : er;
694
+ return tr(e, this, r, t.cache.create(), t.serializer);
695
695
  }
696
- function Di(e, t) {
697
- return Kt(e, this, qt, t.cache.create(), t.serializer);
696
+ function Ui(e, t) {
697
+ return tr(e, this, er, t.cache.create(), t.serializer);
698
698
  }
699
- var $i = function() {
699
+ var Gi = function() {
700
700
  return JSON.stringify(arguments);
701
- }, Ui = (
701
+ }, Fi = (
702
702
  /** @class */
703
703
  function() {
704
704
  function e() {
@@ -710,71 +710,71 @@ var $i = function() {
710
710
  this.cache[t] = r;
711
711
  }, e;
712
712
  }()
713
- ), Gi = {
713
+ ), ji = {
714
714
  create: function() {
715
- return new Ui();
715
+ return new Fi();
716
716
  }
717
- }, ke = {
718
- variadic: Di
719
- }, Le = function() {
720
- return Le = Object.assign || function(t) {
717
+ }, We = {
718
+ variadic: Ui
719
+ }, He = function() {
720
+ return He = Object.assign || function(t) {
721
721
  for (var r, i = 1, n = arguments.length; i < n; i++) {
722
722
  r = arguments[i];
723
723
  for (var o in r)
724
724
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
725
725
  }
726
726
  return t;
727
- }, Le.apply(this, arguments);
727
+ }, He.apply(this, arguments);
728
728
  };
729
- var b;
729
+ var g;
730
730
  (function(e) {
731
731
  e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
732
- })(b || (b = {}));
733
- var T;
732
+ })(g || (g = {}));
733
+ var S;
734
734
  (function(e) {
735
735
  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";
736
- })(T || (T = {}));
737
- var K;
736
+ })(S || (S = {}));
737
+ var ee;
738
738
  (function(e) {
739
739
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
740
- })(K || (K = {}));
741
- function St(e) {
742
- return e.type === T.literal;
743
- }
744
- function Fi(e) {
745
- return e.type === T.argument;
746
- }
747
- function er(e) {
748
- return e.type === T.number;
740
+ })(ee || (ee = {}));
741
+ function At(e) {
742
+ return e.type === S.literal;
749
743
  }
750
- function tr(e) {
751
- return e.type === T.date;
744
+ function ki(e) {
745
+ return e.type === S.argument;
752
746
  }
753
747
  function rr(e) {
754
- return e.type === T.time;
748
+ return e.type === S.number;
755
749
  }
756
750
  function ir(e) {
757
- return e.type === T.select;
751
+ return e.type === S.date;
758
752
  }
759
753
  function nr(e) {
760
- return e.type === T.plural;
761
- }
762
- function ji(e) {
763
- return e.type === T.pound;
754
+ return e.type === S.time;
764
755
  }
765
756
  function or(e) {
766
- return e.type === T.tag;
757
+ return e.type === S.select;
767
758
  }
768
759
  function sr(e) {
769
- return !!(e && typeof e == "object" && e.type === K.number);
770
- }
771
- function Ke(e) {
772
- return !!(e && typeof e == "object" && e.type === K.dateTime);
760
+ return e.type === S.plural;
773
761
  }
774
- var ar = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ki = /(?:[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;
775
762
  function Vi(e) {
763
+ return e.type === S.pound;
764
+ }
765
+ function ar(e) {
766
+ return e.type === S.tag;
767
+ }
768
+ function ur(e) {
769
+ return !!(e && typeof e == "object" && e.type === ee.number);
770
+ }
771
+ function tt(e) {
772
+ return !!(e && typeof e == "object" && e.type === ee.dateTime);
773
+ }
774
+ var lr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Wi = /(?:[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;
775
+ function zi(e) {
776
776
  var t = {};
777
- return e.replace(ki, function(r) {
777
+ return e.replace(Wi, function(r) {
778
778
  var i = r.length;
779
779
  switch (r[0]) {
780
780
  case "G":
@@ -863,21 +863,21 @@ function Vi(e) {
863
863
  return "";
864
864
  }), t;
865
865
  }
866
- var L = function() {
867
- return L = Object.assign || function(t) {
866
+ var T = function() {
867
+ return T = Object.assign || function(t) {
868
868
  for (var r, i = 1, n = arguments.length; i < n; i++) {
869
869
  r = arguments[i];
870
870
  for (var o in r)
871
871
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
872
872
  }
873
873
  return t;
874
- }, L.apply(this, arguments);
874
+ }, T.apply(this, arguments);
875
875
  };
876
- var Wi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
877
- function zi(e) {
876
+ var Xi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
877
+ function Zi(e) {
878
878
  if (e.length === 0)
879
879
  throw new Error("Number skeleton cannot be empty");
880
- for (var t = e.split(Wi).filter(function(f) {
880
+ for (var t = e.split(Xi).filter(function(f) {
881
881
  return f.length > 0;
882
882
  }), r = [], i = 0, n = t; i < n.length; i++) {
883
883
  var o = n[i], s = o.split("/");
@@ -892,17 +892,17 @@ function zi(e) {
892
892
  }
893
893
  return r;
894
894
  }
895
- function Xi(e) {
895
+ function Qi(e) {
896
896
  return e.replace(/^(.*?)-/, "");
897
897
  }
898
- var Lt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, ur = /^(@+)?(\+|#+)?[rs]?$/g, Zi = /(\*)(0+)|(#+)(0+)|(0+)/g, lr = /^(0+)$/;
899
- function At(e) {
898
+ var Ht = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, hr = /^(@+)?(\+|#+)?[rs]?$/g, Yi = /(\*)(0+)|(#+)(0+)|(0+)/g, cr = /^(0+)$/;
899
+ function Pt(e) {
900
900
  var t = {};
901
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(ur, function(r, i, n) {
901
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(hr, function(r, i, n) {
902
902
  return typeof n != "string" ? (t.minimumSignificantDigits = i.length, t.maximumSignificantDigits = i.length) : n === "+" ? t.minimumSignificantDigits = i.length : i[0] === "#" ? t.maximumSignificantDigits = i.length : (t.minimumSignificantDigits = i.length, t.maximumSignificantDigits = i.length + (typeof n == "string" ? n.length : 0)), "";
903
903
  }), t;
904
904
  }
905
- function hr(e) {
905
+ function fr(e) {
906
906
  switch (e) {
907
907
  case "sign-auto":
908
908
  return {
@@ -942,7 +942,7 @@ function hr(e) {
942
942
  };
943
943
  }
944
944
  }
945
- function Qi(e) {
945
+ function Ji(e) {
946
946
  var t;
947
947
  if (e[0] === "E" && e[1] === "E" ? (t = {
948
948
  notation: "engineering"
@@ -950,17 +950,17 @@ function Qi(e) {
950
950
  notation: "scientific"
951
951
  }, e = e.slice(1)), t) {
952
952
  var r = e.slice(0, 2);
953
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !lr.test(e))
953
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !cr.test(e))
954
954
  throw new Error("Malformed concise eng/scientific notation");
955
955
  t.minimumIntegerDigits = e.length;
956
956
  }
957
957
  return t;
958
958
  }
959
- function Ht(e) {
960
- var t = {}, r = hr(e);
959
+ function Bt(e) {
960
+ var t = {}, r = fr(e);
961
961
  return r || t;
962
962
  }
963
- function Yi(e) {
963
+ function qi(e) {
964
964
  for (var t = {}, r = 0, i = e; r < i.length; r++) {
965
965
  var n = i[r];
966
966
  switch (n.stem) {
@@ -984,7 +984,7 @@ function Yi(e) {
984
984
  continue;
985
985
  case "measure-unit":
986
986
  case "unit":
987
- t.style = "unit", t.unit = Xi(n.options[0]);
987
+ t.style = "unit", t.unit = Qi(n.options[0]);
988
988
  continue;
989
989
  case "compact-short":
990
990
  case "K":
@@ -995,13 +995,13 @@ function Yi(e) {
995
995
  t.notation = "compact", t.compactDisplay = "long";
996
996
  continue;
997
997
  case "scientific":
998
- t = L(L(L({}, t), { notation: "scientific" }), n.options.reduce(function(l, u) {
999
- return L(L({}, l), Ht(u));
998
+ t = T(T(T({}, t), { notation: "scientific" }), n.options.reduce(function(l, u) {
999
+ return T(T({}, l), Bt(u));
1000
1000
  }, {}));
1001
1001
  continue;
1002
1002
  case "engineering":
1003
- t = L(L(L({}, t), { notation: "engineering" }), n.options.reduce(function(l, u) {
1004
- return L(L({}, l), Ht(u));
1003
+ t = T(T(T({}, t), { notation: "engineering" }), n.options.reduce(function(l, u) {
1004
+ return T(T({}, l), Bt(u));
1005
1005
  }, {}));
1006
1006
  continue;
1007
1007
  case "notation-simple":
@@ -1046,7 +1046,7 @@ function Yi(e) {
1046
1046
  case "integer-width":
1047
1047
  if (n.options.length > 1)
1048
1048
  throw new RangeError("integer-width stems only accept a single optional option");
1049
- n.options[0].replace(Zi, function(l, u, h, c, f, p) {
1049
+ n.options[0].replace(Yi, function(l, u, h, c, f, p) {
1050
1050
  if (u)
1051
1051
  t.minimumIntegerDigits = h.length;
1052
1052
  else {
@@ -1059,32 +1059,32 @@ function Yi(e) {
1059
1059
  });
1060
1060
  continue;
1061
1061
  }
1062
- if (lr.test(n.stem)) {
1062
+ if (cr.test(n.stem)) {
1063
1063
  t.minimumIntegerDigits = n.stem.length;
1064
1064
  continue;
1065
1065
  }
1066
- if (Lt.test(n.stem)) {
1066
+ if (Ht.test(n.stem)) {
1067
1067
  if (n.options.length > 1)
1068
1068
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1069
- n.stem.replace(Lt, function(l, u, h, c, f, p) {
1069
+ n.stem.replace(Ht, function(l, u, h, c, f, p) {
1070
1070
  return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1071
1071
  });
1072
1072
  var o = n.options[0];
1073
- o === "w" ? t = L(L({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = L(L({}, t), At(o)));
1073
+ o === "w" ? t = T(T({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = T(T({}, t), Pt(o)));
1074
1074
  continue;
1075
1075
  }
1076
- if (ur.test(n.stem)) {
1077
- t = L(L({}, t), At(n.stem));
1076
+ if (hr.test(n.stem)) {
1077
+ t = T(T({}, t), Pt(n.stem));
1078
1078
  continue;
1079
1079
  }
1080
- var s = hr(n.stem);
1081
- s && (t = L(L({}, t), s));
1082
- var a = Qi(n.stem);
1083
- a && (t = L(L({}, t), a));
1080
+ var s = fr(n.stem);
1081
+ s && (t = T(T({}, t), s));
1082
+ var a = Ji(n.stem);
1083
+ a && (t = T(T({}, t), a));
1084
1084
  }
1085
1085
  return t;
1086
1086
  }
1087
- var ve = {
1087
+ var Ee = {
1088
1088
  "001": [
1089
1089
  "H",
1090
1090
  "h"
@@ -2499,13 +2499,13 @@ var ve = {
2499
2499
  "h"
2500
2500
  ]
2501
2501
  };
2502
- function Ji(e, t) {
2502
+ function Ki(e, t) {
2503
2503
  for (var r = "", i = 0; i < e.length; i++) {
2504
2504
  var n = e.charAt(i);
2505
2505
  if (n === "j") {
2506
2506
  for (var o = 0; i + 1 < e.length && e.charAt(i + 1) === n; )
2507
2507
  o++, i++;
2508
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = qi(t);
2508
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = en(t);
2509
2509
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2510
2510
  r += l;
2511
2511
  for (; s-- > 0; )
@@ -2515,7 +2515,7 @@ function Ji(e, t) {
2515
2515
  }
2516
2516
  return r;
2517
2517
  }
2518
- function qi(e) {
2518
+ function en(e) {
2519
2519
  var t = e.hourCycle;
2520
2520
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2521
2521
  e.hourCycles && // @ts-ignore
@@ -2534,23 +2534,23 @@ function qi(e) {
2534
2534
  }
2535
2535
  var r = e.language, i;
2536
2536
  r !== "root" && (i = e.maximize().region);
2537
- var n = ve[i || ""] || ve[r || ""] || ve["".concat(r, "-001")] || ve["001"];
2537
+ var n = Ee[i || ""] || Ee[r || ""] || Ee["".concat(r, "-001")] || Ee["001"];
2538
2538
  return n[0];
2539
2539
  }
2540
- var Ve, Ki = new RegExp("^".concat(ar.source, "*")), en = new RegExp("".concat(ar.source, "*$"));
2540
+ var ze, tn = new RegExp("^".concat(lr.source, "*")), rn = new RegExp("".concat(lr.source, "*$"));
2541
2541
  function _(e, t) {
2542
2542
  return { start: e, end: t };
2543
2543
  }
2544
- var tn = !!String.prototype.startsWith && "_a".startsWith("a", 1), rn = !!String.fromCodePoint, nn = !!Object.fromEntries, on = !!String.prototype.codePointAt, sn = !!String.prototype.trimStart, an = !!String.prototype.trimEnd, un = !!Number.isSafeInteger, ln = un ? Number.isSafeInteger : function(e) {
2544
+ var nn = !!String.prototype.startsWith && "_a".startsWith("a", 1), on = !!String.fromCodePoint, sn = !!Object.fromEntries, an = !!String.prototype.codePointAt, un = !!String.prototype.trimStart, ln = !!String.prototype.trimEnd, hn = !!Number.isSafeInteger, cn = hn ? Number.isSafeInteger : function(e) {
2545
2545
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2546
- }, et = !0;
2546
+ }, rt = !0;
2547
2547
  try {
2548
- var hn = fr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2549
- et = ((Ve = hn.exec("a")) === null || Ve === void 0 ? void 0 : Ve[0]) === "a";
2548
+ var fn = pr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2549
+ rt = ((ze = fn.exec("a")) === null || ze === void 0 ? void 0 : ze[0]) === "a";
2550
2550
  } catch (e) {
2551
- et = !1;
2551
+ rt = !1;
2552
2552
  }
2553
- var Pt = tn ? (
2553
+ var Ot = nn ? (
2554
2554
  // Native
2555
2555
  function(t, r, i) {
2556
2556
  return t.startsWith(r, i);
@@ -2560,7 +2560,7 @@ var Pt = tn ? (
2560
2560
  function(t, r, i) {
2561
2561
  return t.slice(i, i + r.length) === r;
2562
2562
  }
2563
- ), tt = rn ? String.fromCodePoint : (
2563
+ ), it = on ? String.fromCodePoint : (
2564
2564
  // IE11
2565
2565
  function() {
2566
2566
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2572,9 +2572,9 @@ var Pt = tn ? (
2572
2572
  }
2573
2573
  return i;
2574
2574
  }
2575
- ), Bt = (
2575
+ ), Ct = (
2576
2576
  // native
2577
- nn ? Object.fromEntries : (
2577
+ sn ? Object.fromEntries : (
2578
2578
  // Ponyfill
2579
2579
  function(t) {
2580
2580
  for (var r = {}, i = 0, n = t; i < n.length; i++) {
@@ -2584,7 +2584,7 @@ var Pt = tn ? (
2584
2584
  return r;
2585
2585
  }
2586
2586
  )
2587
- ), cr = on ? (
2587
+ ), mr = an ? (
2588
2588
  // Native
2589
2589
  function(t, r) {
2590
2590
  return t.codePointAt(r);
@@ -2598,7 +2598,7 @@ var Pt = tn ? (
2598
2598
  return n < 55296 || n > 56319 || r + 1 === i || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? n : (n - 55296 << 10) + (o - 56320) + 65536;
2599
2599
  }
2600
2600
  }
2601
- ), cn = sn ? (
2601
+ ), mn = un ? (
2602
2602
  // Native
2603
2603
  function(t) {
2604
2604
  return t.trimStart();
@@ -2606,9 +2606,9 @@ var Pt = tn ? (
2606
2606
  ) : (
2607
2607
  // Ponyfill
2608
2608
  function(t) {
2609
- return t.replace(Ki, "");
2609
+ return t.replace(tn, "");
2610
2610
  }
2611
- ), fn = an ? (
2611
+ ), pn = ln ? (
2612
2612
  // Native
2613
2613
  function(t) {
2614
2614
  return t.trimEnd();
@@ -2616,32 +2616,32 @@ var Pt = tn ? (
2616
2616
  ) : (
2617
2617
  // Ponyfill
2618
2618
  function(t) {
2619
- return t.replace(en, "");
2619
+ return t.replace(rn, "");
2620
2620
  }
2621
2621
  );
2622
- function fr(e, t) {
2622
+ function pr(e, t) {
2623
2623
  return new RegExp(e, t);
2624
2624
  }
2625
- var rt;
2626
- if (et) {
2627
- var Ot = fr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2628
- rt = function(t, r) {
2625
+ var nt;
2626
+ if (rt) {
2627
+ var It = pr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2628
+ nt = function(t, r) {
2629
2629
  var i;
2630
- Ot.lastIndex = r;
2631
- var n = Ot.exec(t);
2630
+ It.lastIndex = r;
2631
+ var n = It.exec(t);
2632
2632
  return (i = n[1]) !== null && i !== void 0 ? i : "";
2633
2633
  };
2634
2634
  } else
2635
- rt = function(t, r) {
2635
+ nt = function(t, r) {
2636
2636
  for (var i = []; ; ) {
2637
- var n = cr(t, r);
2638
- if (n === void 0 || mr(n) || yn(n))
2637
+ var n = mr(t, r);
2638
+ if (n === void 0 || dr(n) || gn(n))
2639
2639
  break;
2640
2640
  i.push(n), r += n >= 65536 ? 2 : 1;
2641
2641
  }
2642
- return tt.apply(void 0, i);
2642
+ return it.apply(void 0, i);
2643
2643
  };
2644
- var mn = (
2644
+ var dn = (
2645
2645
  /** @class */
2646
2646
  function() {
2647
2647
  function e(t, r) {
@@ -2665,14 +2665,14 @@ var mn = (
2665
2665
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
2666
2666
  var a = this.clonePosition();
2667
2667
  this.bump(), n.push({
2668
- type: T.pound,
2668
+ type: S.pound,
2669
2669
  location: _(a, this.clonePosition())
2670
2670
  });
2671
2671
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
2672
2672
  if (i)
2673
2673
  break;
2674
- return this.error(b.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
2675
- } else if (o === 60 && !this.ignoreTag && it(this.peek() || 0)) {
2674
+ return this.error(g.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
2675
+ } else if (o === 60 && !this.ignoreTag && ot(this.peek() || 0)) {
2676
2676
  var s = this.parseTag(t, r);
2677
2677
  if (s.err)
2678
2678
  return s;
@@ -2693,7 +2693,7 @@ var mn = (
2693
2693
  if (this.bumpSpace(), this.bumpIf("/>"))
2694
2694
  return {
2695
2695
  val: {
2696
- type: T.literal,
2696
+ type: S.literal,
2697
2697
  value: "<".concat(n, "/>"),
2698
2698
  location: _(i, this.clonePosition())
2699
2699
  },
@@ -2705,25 +2705,25 @@ var mn = (
2705
2705
  return o;
2706
2706
  var s = o.val, a = this.clonePosition();
2707
2707
  if (this.bumpIf("</")) {
2708
- if (this.isEOF() || !it(this.char()))
2709
- return this.error(b.INVALID_TAG, _(a, this.clonePosition()));
2708
+ if (this.isEOF() || !ot(this.char()))
2709
+ return this.error(g.INVALID_TAG, _(a, this.clonePosition()));
2710
2710
  var l = this.clonePosition(), u = this.parseTagName();
2711
- return n !== u ? this.error(b.UNMATCHED_CLOSING_TAG, _(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2711
+ return n !== u ? this.error(g.UNMATCHED_CLOSING_TAG, _(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2712
2712
  val: {
2713
- type: T.tag,
2713
+ type: S.tag,
2714
2714
  value: n,
2715
2715
  children: s,
2716
2716
  location: _(i, this.clonePosition())
2717
2717
  },
2718
2718
  err: null
2719
- } : this.error(b.INVALID_TAG, _(a, this.clonePosition())));
2719
+ } : this.error(g.INVALID_TAG, _(a, this.clonePosition())));
2720
2720
  } else
2721
- return this.error(b.UNCLOSED_TAG, _(i, this.clonePosition()));
2721
+ return this.error(g.UNCLOSED_TAG, _(i, this.clonePosition()));
2722
2722
  } else
2723
- return this.error(b.INVALID_TAG, _(i, this.clonePosition()));
2723
+ return this.error(g.INVALID_TAG, _(i, this.clonePosition()));
2724
2724
  }, e.prototype.parseTagName = function() {
2725
2725
  var t = this.offset();
2726
- for (this.bump(); !this.isEOF() && dn(this.char()); )
2726
+ for (this.bump(); !this.isEOF() && bn(this.char()); )
2727
2727
  this.bump();
2728
2728
  return this.message.slice(t, this.offset());
2729
2729
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2747,12 +2747,12 @@ var mn = (
2747
2747
  }
2748
2748
  var l = _(i, this.clonePosition());
2749
2749
  return {
2750
- val: { type: T.literal, value: n, location: l },
2750
+ val: { type: S.literal, value: n, location: l },
2751
2751
  err: null
2752
2752
  };
2753
2753
  }, e.prototype.tryParseLeftAngleBracket = function() {
2754
2754
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2755
- !pn(this.peek() || 0)) ? (this.bump(), "<") : null;
2755
+ !yn(this.peek() || 0)) ? (this.bump(), "<") : null;
2756
2756
  }, e.prototype.tryParseQuote = function(t) {
2757
2757
  if (this.isEOF() || this.char() !== 39)
2758
2758
  return null;
@@ -2786,28 +2786,28 @@ var mn = (
2786
2786
  r.push(i);
2787
2787
  this.bump();
2788
2788
  }
2789
- return tt.apply(void 0, r);
2789
+ return it.apply(void 0, r);
2790
2790
  }, e.prototype.tryParseUnquoted = function(t, r) {
2791
2791
  if (this.isEOF())
2792
2792
  return null;
2793
2793
  var i = this.char();
2794
- return i === 60 || i === 123 || i === 35 && (r === "plural" || r === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(), tt(i));
2794
+ return i === 60 || i === 123 || i === 35 && (r === "plural" || r === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(), it(i));
2795
2795
  }, e.prototype.parseArgument = function(t, r) {
2796
2796
  var i = this.clonePosition();
2797
2797
  if (this.bump(), this.bumpSpace(), this.isEOF())
2798
- return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, _(i, this.clonePosition()));
2798
+ return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, _(i, this.clonePosition()));
2799
2799
  if (this.char() === 125)
2800
- return this.bump(), this.error(b.EMPTY_ARGUMENT, _(i, this.clonePosition()));
2800
+ return this.bump(), this.error(g.EMPTY_ARGUMENT, _(i, this.clonePosition()));
2801
2801
  var n = this.parseIdentifierIfPossible().value;
2802
2802
  if (!n)
2803
- return this.error(b.MALFORMED_ARGUMENT, _(i, this.clonePosition()));
2803
+ return this.error(g.MALFORMED_ARGUMENT, _(i, this.clonePosition()));
2804
2804
  if (this.bumpSpace(), this.isEOF())
2805
- return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, _(i, this.clonePosition()));
2805
+ return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, _(i, this.clonePosition()));
2806
2806
  switch (this.char()) {
2807
2807
  case 125:
2808
2808
  return this.bump(), {
2809
2809
  val: {
2810
- type: T.argument,
2810
+ type: S.argument,
2811
2811
  // value does not include the opening and closing braces.
2812
2812
  value: n,
2813
2813
  location: _(i, this.clonePosition())
@@ -2815,12 +2815,12 @@ var mn = (
2815
2815
  err: null
2816
2816
  };
2817
2817
  case 44:
2818
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, _(i, this.clonePosition())) : this.parseArgumentOptions(t, r, n, i);
2818
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, _(i, this.clonePosition())) : this.parseArgumentOptions(t, r, n, i);
2819
2819
  default:
2820
- return this.error(b.MALFORMED_ARGUMENT, _(i, this.clonePosition()));
2820
+ return this.error(g.MALFORMED_ARGUMENT, _(i, this.clonePosition()));
2821
2821
  }
2822
2822
  }, e.prototype.parseIdentifierIfPossible = function() {
2823
- var t = this.clonePosition(), r = this.offset(), i = rt(this.message, r), n = r + i.length;
2823
+ var t = this.clonePosition(), r = this.offset(), i = nt(this.message, r), n = r + i.length;
2824
2824
  this.bumpTo(n);
2825
2825
  var o = this.clonePosition(), s = _(t, o);
2826
2826
  return { value: i, location: s };
@@ -2828,7 +2828,7 @@ var mn = (
2828
2828
  var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
2829
2829
  switch (a) {
2830
2830
  case "":
2831
- return this.error(b.EXPECT_ARGUMENT_TYPE, _(s, l));
2831
+ return this.error(g.EXPECT_ARGUMENT_TYPE, _(s, l));
2832
2832
  case "number":
2833
2833
  case "date":
2834
2834
  case "time": {
@@ -2839,9 +2839,9 @@ var mn = (
2839
2839
  var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2840
2840
  if (c.err)
2841
2841
  return c;
2842
- var f = fn(c.val);
2842
+ var f = pn(c.val);
2843
2843
  if (f.length === 0)
2844
- return this.error(b.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
2844
+ return this.error(g.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
2845
2845
  var p = _(h, this.clonePosition());
2846
2846
  u = { style: f, styleLocation: p };
2847
2847
  }
@@ -2849,34 +2849,34 @@ var mn = (
2849
2849
  if (y.err)
2850
2850
  return y;
2851
2851
  var d = _(n, this.clonePosition());
2852
- if (u && Pt(u == null ? void 0 : u.style, "::", 0)) {
2853
- var v = cn(u.style.slice(2));
2852
+ if (u && Ot(u == null ? void 0 : u.style, "::", 0)) {
2853
+ var v = mn(u.style.slice(2));
2854
2854
  if (a === "number") {
2855
2855
  var c = this.parseNumberSkeletonFromString(v, u.styleLocation);
2856
2856
  return c.err ? c : {
2857
- val: { type: T.number, value: i, location: d, style: c.val },
2857
+ val: { type: S.number, value: i, location: d, style: c.val },
2858
2858
  err: null
2859
2859
  };
2860
2860
  } else {
2861
2861
  if (v.length === 0)
2862
- return this.error(b.EXPECT_DATE_TIME_SKELETON, d);
2863
- var P = v;
2864
- this.locale && (P = Ji(v, this.locale));
2862
+ return this.error(g.EXPECT_DATE_TIME_SKELETON, d);
2863
+ var H = v;
2864
+ this.locale && (H = Ki(v, this.locale));
2865
2865
  var f = {
2866
- type: K.dateTime,
2867
- pattern: P,
2866
+ type: ee.dateTime,
2867
+ pattern: H,
2868
2868
  location: u.styleLocation,
2869
- parsedOptions: this.shouldParseSkeletons ? Vi(P) : {}
2870
- }, g = a === "date" ? T.date : T.time;
2869
+ parsedOptions: this.shouldParseSkeletons ? zi(H) : {}
2870
+ }, b = a === "date" ? S.date : S.time;
2871
2871
  return {
2872
- val: { type: g, value: i, location: d, style: f },
2872
+ val: { type: b, value: i, location: d, style: f },
2873
2873
  err: null
2874
2874
  };
2875
2875
  }
2876
2876
  }
2877
2877
  return {
2878
2878
  val: {
2879
- type: a === "number" ? T.number : a === "date" ? T.date : T.time,
2879
+ type: a === "number" ? S.number : a === "date" ? S.date : S.time,
2880
2880
  value: i,
2881
2881
  location: d,
2882
2882
  style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
@@ -2887,41 +2887,41 @@ var mn = (
2887
2887
  case "plural":
2888
2888
  case "selectordinal":
2889
2889
  case "select": {
2890
- var S = this.clonePosition();
2890
+ var P = this.clonePosition();
2891
2891
  if (this.bumpSpace(), !this.bumpIf(","))
2892
- return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, _(S, Le({}, S)));
2892
+ return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS, _(P, He({}, P)));
2893
2893
  this.bumpSpace();
2894
- var D = this.parseIdentifierIfPossible(), M = 0;
2895
- if (a !== "select" && D.value === "offset") {
2894
+ var C = this.parseIdentifierIfPossible(), R = 0;
2895
+ if (a !== "select" && C.value === "offset") {
2896
2896
  if (!this.bumpIf(":"))
2897
- return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
2897
+ return this.error(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
2898
2898
  this.bumpSpace();
2899
- var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2899
+ var c = this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2900
2900
  if (c.err)
2901
2901
  return c;
2902
- this.bumpSpace(), D = this.parseIdentifierIfPossible(), M = c.val;
2902
+ this.bumpSpace(), C = this.parseIdentifierIfPossible(), R = c.val;
2903
2903
  }
2904
- var $ = this.tryParsePluralOrSelectOptions(t, a, r, D);
2905
- if ($.err)
2906
- return $;
2904
+ var F = this.tryParsePluralOrSelectOptions(t, a, r, C);
2905
+ if (F.err)
2906
+ return F;
2907
2907
  var y = this.tryParseArgumentClose(n);
2908
2908
  if (y.err)
2909
2909
  return y;
2910
2910
  var W = _(n, this.clonePosition());
2911
2911
  return a === "select" ? {
2912
2912
  val: {
2913
- type: T.select,
2913
+ type: S.select,
2914
2914
  value: i,
2915
- options: Bt($.val),
2915
+ options: Ct(F.val),
2916
2916
  location: W
2917
2917
  },
2918
2918
  err: null
2919
2919
  } : {
2920
2920
  val: {
2921
- type: T.plural,
2921
+ type: S.plural,
2922
2922
  value: i,
2923
- options: Bt($.val),
2924
- offset: M,
2923
+ options: Ct(F.val),
2924
+ offset: R,
2925
2925
  pluralType: a === "plural" ? "cardinal" : "ordinal",
2926
2926
  location: W
2927
2927
  },
@@ -2929,10 +2929,10 @@ var mn = (
2929
2929
  };
2930
2930
  }
2931
2931
  default:
2932
- return this.error(b.INVALID_ARGUMENT_TYPE, _(s, l));
2932
+ return this.error(g.INVALID_ARGUMENT_TYPE, _(s, l));
2933
2933
  }
2934
2934
  }, e.prototype.tryParseArgumentClose = function(t) {
2935
- return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, _(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2935
+ return this.isEOF() || this.char() !== 125 ? this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, _(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2936
2936
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
2937
2937
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
2938
2938
  var i = this.char();
@@ -2941,7 +2941,7 @@ var mn = (
2941
2941
  this.bump();
2942
2942
  var n = this.clonePosition();
2943
2943
  if (!this.bumpUntil("'"))
2944
- return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, _(n, this.clonePosition()));
2944
+ return this.error(g.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, _(n, this.clonePosition()));
2945
2945
  this.bump();
2946
2946
  break;
2947
2947
  }
@@ -2971,16 +2971,16 @@ var mn = (
2971
2971
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2972
2972
  var i = [];
2973
2973
  try {
2974
- i = zi(t);
2974
+ i = Zi(t);
2975
2975
  } catch (n) {
2976
- return this.error(b.INVALID_NUMBER_SKELETON, r);
2976
+ return this.error(g.INVALID_NUMBER_SKELETON, r);
2977
2977
  }
2978
2978
  return {
2979
2979
  val: {
2980
- type: K.number,
2980
+ type: ee.number,
2981
2981
  tokens: i,
2982
2982
  location: r,
2983
- parsedOptions: this.shouldParseSkeletons ? Yi(i) : {}
2983
+ parsedOptions: this.shouldParseSkeletons ? qi(i) : {}
2984
2984
  },
2985
2985
  err: null
2986
2986
  };
@@ -2989,7 +2989,7 @@ var mn = (
2989
2989
  if (u.length === 0) {
2990
2990
  var c = this.clonePosition();
2991
2991
  if (r !== "select" && this.bumpIf("=")) {
2992
- var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
2992
+ var f = this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_SELECTOR, g.INVALID_PLURAL_ARGUMENT_SELECTOR);
2993
2993
  if (f.err)
2994
2994
  return f;
2995
2995
  h = _(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
@@ -2997,11 +2997,11 @@ var mn = (
2997
2997
  break;
2998
2998
  }
2999
2999
  if (l.has(u))
3000
- return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3000
+ return this.error(r === "select" ? g.DUPLICATE_SELECT_ARGUMENT_SELECTOR : g.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3001
3001
  u === "other" && (s = !0), this.bumpSpace();
3002
3002
  var p = this.clonePosition();
3003
3003
  if (!this.bumpIf("{"))
3004
- return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
3004
+ return this.error(r === "select" ? g.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : g.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
3005
3005
  var y = this.parseMessage(t + 1, r, i);
3006
3006
  if (y.err)
3007
3007
  return y;
@@ -3016,7 +3016,7 @@ var mn = (
3016
3016
  }
3017
3017
  ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
3018
3018
  }
3019
- return a.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, _(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(b.MISSING_OTHER_CLAUSE, _(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3019
+ return a.length === 0 ? this.error(r === "select" ? g.EXPECT_SELECT_ARGUMENT_SELECTOR : g.EXPECT_PLURAL_ARGUMENT_SELECTOR, _(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(g.MISSING_OTHER_CLAUSE, _(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3020
3020
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3021
3021
  var i = 1, n = this.clonePosition();
3022
3022
  this.bumpIf("+") || this.bumpIf("-") && (i = -1);
@@ -3028,7 +3028,7 @@ var mn = (
3028
3028
  break;
3029
3029
  }
3030
3030
  var l = _(n, this.clonePosition());
3031
- return o ? (s *= i, ln(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3031
+ return o ? (s *= i, cn(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3032
3032
  }, e.prototype.offset = function() {
3033
3033
  return this.position.offset;
3034
3034
  }, e.prototype.isEOF = function() {
@@ -3043,7 +3043,7 @@ var mn = (
3043
3043
  var t = this.position.offset;
3044
3044
  if (t >= this.message.length)
3045
3045
  throw Error("out of bound");
3046
- var r = cr(this.message, t);
3046
+ var r = mr(this.message, t);
3047
3047
  if (r === void 0)
3048
3048
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3049
3049
  return r;
@@ -3062,7 +3062,7 @@ var mn = (
3062
3062
  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);
3063
3063
  }
3064
3064
  }, e.prototype.bumpIf = function(t) {
3065
- if (Pt(this.message, t, this.offset())) {
3065
+ if (Ot(this.message, t, this.offset())) {
3066
3066
  for (var r = 0; r < t.length; r++)
3067
3067
  this.bump();
3068
3068
  return !0;
@@ -3084,7 +3084,7 @@ var mn = (
3084
3084
  break;
3085
3085
  }
3086
3086
  }, e.prototype.bumpSpace = function() {
3087
- for (; !this.isEOF() && mr(this.char()); )
3087
+ for (; !this.isEOF() && dr(this.char()); )
3088
3088
  this.bump();
3089
3089
  }, e.prototype.peek = function() {
3090
3090
  if (this.isEOF())
@@ -3094,47 +3094,47 @@ var mn = (
3094
3094
  }, e;
3095
3095
  }()
3096
3096
  );
3097
- function it(e) {
3097
+ function ot(e) {
3098
3098
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3099
3099
  }
3100
- function pn(e) {
3101
- return it(e) || e === 47;
3100
+ function yn(e) {
3101
+ return ot(e) || e === 47;
3102
3102
  }
3103
- function dn(e) {
3103
+ function bn(e) {
3104
3104
  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;
3105
3105
  }
3106
- function mr(e) {
3106
+ function dr(e) {
3107
3107
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3108
3108
  }
3109
- function yn(e) {
3109
+ function gn(e) {
3110
3110
  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;
3111
3111
  }
3112
- function nt(e) {
3112
+ function st(e) {
3113
3113
  e.forEach(function(t) {
3114
- if (delete t.location, ir(t) || nr(t))
3114
+ if (delete t.location, or(t) || sr(t))
3115
3115
  for (var r in t.options)
3116
- delete t.options[r].location, nt(t.options[r].value);
3116
+ delete t.options[r].location, st(t.options[r].value);
3117
3117
  else
3118
- er(t) && sr(t.style) || (tr(t) || rr(t)) && Ke(t.style) ? delete t.style.location : or(t) && nt(t.children);
3118
+ rr(t) && ur(t.style) || (ir(t) || nr(t)) && tt(t.style) ? delete t.style.location : ar(t) && st(t.children);
3119
3119
  });
3120
3120
  }
3121
- function gn(e, t) {
3122
- t === void 0 && (t = {}), t = Le({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3123
- var r = new mn(e, t).parse();
3121
+ function vn(e, t) {
3122
+ t === void 0 && (t = {}), t = He({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3123
+ var r = new dn(e, t).parse();
3124
3124
  if (r.err) {
3125
- var i = SyntaxError(b[r.err.kind]);
3125
+ var i = SyntaxError(g[r.err.kind]);
3126
3126
  throw i.location = r.err.location, i.originalMessage = r.err.message, i;
3127
3127
  }
3128
- return t != null && t.captureLocation || nt(r.val), r.val;
3128
+ return t != null && t.captureLocation || st(r.val), r.val;
3129
3129
  }
3130
- var ee;
3130
+ var te;
3131
3131
  (function(e) {
3132
3132
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3133
- })(ee || (ee = {}));
3134
- var Oe = (
3133
+ })(te || (te = {}));
3134
+ var Ie = (
3135
3135
  /** @class */
3136
3136
  function(e) {
3137
- Be(t, e);
3137
+ Ce(t, e);
3138
3138
  function t(r, i, n) {
3139
3139
  var o = e.call(this, r) || this;
3140
3140
  return o.code = i, o.originalMessage = n, o;
@@ -3143,48 +3143,48 @@ var Oe = (
3143
3143
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3144
3144
  }, t;
3145
3145
  }(Error)
3146
- ), Ct = (
3146
+ ), Nt = (
3147
3147
  /** @class */
3148
3148
  function(e) {
3149
- Be(t, e);
3149
+ Ce(t, e);
3150
3150
  function t(r, i, n, o) {
3151
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'), ee.INVALID_VALUE, o) || this;
3151
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'), te.INVALID_VALUE, o) || this;
3152
3152
  }
3153
3153
  return t;
3154
- }(Oe)
3155
- ), bn = (
3154
+ }(Ie)
3155
+ ), _n = (
3156
3156
  /** @class */
3157
3157
  function(e) {
3158
- Be(t, e);
3158
+ Ce(t, e);
3159
3159
  function t(r, i, n) {
3160
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(i), ee.INVALID_VALUE, n) || this;
3160
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(i), te.INVALID_VALUE, n) || this;
3161
3161
  }
3162
3162
  return t;
3163
- }(Oe)
3164
- ), vn = (
3163
+ }(Ie)
3164
+ ), En = (
3165
3165
  /** @class */
3166
3166
  function(e) {
3167
- Be(t, e);
3167
+ Ce(t, e);
3168
3168
  function t(r, i) {
3169
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(i, '"'), ee.MISSING_VALUE, i) || this;
3169
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(i, '"'), te.MISSING_VALUE, i) || this;
3170
3170
  }
3171
3171
  return t;
3172
- }(Oe)
3172
+ }(Ie)
3173
3173
  ), B;
3174
3174
  (function(e) {
3175
3175
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3176
3176
  })(B || (B = {}));
3177
- function _n(e) {
3177
+ function xn(e) {
3178
3178
  return e.length < 2 ? e : e.reduce(function(t, r) {
3179
3179
  var i = t[t.length - 1];
3180
3180
  return !i || i.type !== B.literal || r.type !== B.literal ? t.push(r) : i.value += r.value, t;
3181
3181
  }, []);
3182
3182
  }
3183
- function En(e) {
3183
+ function wn(e) {
3184
3184
  return typeof e == "function";
3185
3185
  }
3186
- function xe(e, t, r, i, n, o, s) {
3187
- if (e.length === 1 && St(e[0]))
3186
+ function Se(e, t, r, i, n, o, s) {
3187
+ if (e.length === 1 && At(e[0]))
3188
3188
  return [
3189
3189
  {
3190
3190
  type: B.literal,
@@ -3193,14 +3193,14 @@ function xe(e, t, r, i, n, o, s) {
3193
3193
  ];
3194
3194
  for (var a = [], l = 0, u = e; l < u.length; l++) {
3195
3195
  var h = u[l];
3196
- if (St(h)) {
3196
+ if (At(h)) {
3197
3197
  a.push({
3198
3198
  type: B.literal,
3199
3199
  value: h.value
3200
3200
  });
3201
3201
  continue;
3202
3202
  }
3203
- if (ji(h)) {
3203
+ if (Vi(h)) {
3204
3204
  typeof o == "number" && a.push({
3205
3205
  type: B.literal,
3206
3206
  value: r.getNumberFormat(t).format(o)
@@ -3209,89 +3209,89 @@ function xe(e, t, r, i, n, o, s) {
3209
3209
  }
3210
3210
  var c = h.value;
3211
3211
  if (!(n && c in n))
3212
- throw new vn(c, s);
3212
+ throw new En(c, s);
3213
3213
  var f = n[c];
3214
- if (Fi(h)) {
3214
+ if (ki(h)) {
3215
3215
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3216
3216
  type: typeof f == "string" ? B.literal : B.object,
3217
3217
  value: f
3218
3218
  });
3219
3219
  continue;
3220
3220
  }
3221
- if (tr(h)) {
3222
- var p = typeof h.style == "string" ? i.date[h.style] : Ke(h.style) ? h.style.parsedOptions : void 0;
3221
+ if (ir(h)) {
3222
+ var p = typeof h.style == "string" ? i.date[h.style] : tt(h.style) ? h.style.parsedOptions : void 0;
3223
3223
  a.push({
3224
3224
  type: B.literal,
3225
3225
  value: r.getDateTimeFormat(t, p).format(f)
3226
3226
  });
3227
3227
  continue;
3228
3228
  }
3229
- if (rr(h)) {
3230
- var p = typeof h.style == "string" ? i.time[h.style] : Ke(h.style) ? h.style.parsedOptions : i.time.medium;
3229
+ if (nr(h)) {
3230
+ var p = typeof h.style == "string" ? i.time[h.style] : tt(h.style) ? h.style.parsedOptions : i.time.medium;
3231
3231
  a.push({
3232
3232
  type: B.literal,
3233
3233
  value: r.getDateTimeFormat(t, p).format(f)
3234
3234
  });
3235
3235
  continue;
3236
3236
  }
3237
- if (er(h)) {
3238
- var p = typeof h.style == "string" ? i.number[h.style] : sr(h.style) ? h.style.parsedOptions : void 0;
3237
+ if (rr(h)) {
3238
+ var p = typeof h.style == "string" ? i.number[h.style] : ur(h.style) ? h.style.parsedOptions : void 0;
3239
3239
  p && p.scale && (f = f * (p.scale || 1)), a.push({
3240
3240
  type: B.literal,
3241
3241
  value: r.getNumberFormat(t, p).format(f)
3242
3242
  });
3243
3243
  continue;
3244
3244
  }
3245
- if (or(h)) {
3245
+ if (ar(h)) {
3246
3246
  var y = h.children, d = h.value, v = n[d];
3247
- if (!En(v))
3248
- throw new bn(d, "function", s);
3249
- var P = xe(y, t, r, i, n, o), g = v(P.map(function(M) {
3250
- return M.value;
3247
+ if (!wn(v))
3248
+ throw new _n(d, "function", s);
3249
+ var H = Se(y, t, r, i, n, o), b = v(H.map(function(R) {
3250
+ return R.value;
3251
3251
  }));
3252
- Array.isArray(g) || (g = [g]), a.push.apply(a, g.map(function(M) {
3252
+ Array.isArray(b) || (b = [b]), a.push.apply(a, b.map(function(R) {
3253
3253
  return {
3254
- type: typeof M == "string" ? B.literal : B.object,
3255
- value: M
3254
+ type: typeof R == "string" ? B.literal : B.object,
3255
+ value: R
3256
3256
  };
3257
3257
  }));
3258
3258
  }
3259
- if (ir(h)) {
3260
- var S = h.options[f] || h.options.other;
3261
- if (!S)
3262
- throw new Ct(h.value, f, Object.keys(h.options), s);
3263
- a.push.apply(a, xe(S.value, t, r, i, n));
3259
+ if (or(h)) {
3260
+ var P = h.options[f] || h.options.other;
3261
+ if (!P)
3262
+ throw new Nt(h.value, f, Object.keys(h.options), s);
3263
+ a.push.apply(a, Se(P.value, t, r, i, n));
3264
3264
  continue;
3265
3265
  }
3266
- if (nr(h)) {
3267
- var S = h.options["=".concat(f)];
3268
- if (!S) {
3266
+ if (sr(h)) {
3267
+ var P = h.options["=".concat(f)];
3268
+ if (!P) {
3269
3269
  if (!Intl.PluralRules)
3270
- throw new Oe(`Intl.PluralRules is not available in this environment.
3270
+ throw new Ie(`Intl.PluralRules is not available in this environment.
3271
3271
  Try polyfilling it using "@formatjs/intl-pluralrules"
3272
- `, ee.MISSING_INTL_API, s);
3273
- var D = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3274
- S = h.options[D] || h.options.other;
3272
+ `, te.MISSING_INTL_API, s);
3273
+ var C = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3274
+ P = h.options[C] || h.options.other;
3275
3275
  }
3276
- if (!S)
3277
- throw new Ct(h.value, f, Object.keys(h.options), s);
3278
- a.push.apply(a, xe(S.value, t, r, i, n, f - (h.offset || 0)));
3276
+ if (!P)
3277
+ throw new Nt(h.value, f, Object.keys(h.options), s);
3278
+ a.push.apply(a, Se(P.value, t, r, i, n, f - (h.offset || 0)));
3279
3279
  continue;
3280
3280
  }
3281
3281
  }
3282
- return _n(a);
3282
+ return xn(a);
3283
3283
  }
3284
- function xn(e, t) {
3285
- return t ? R(R(R({}, e || {}), t || {}), Object.keys(e).reduce(function(r, i) {
3286
- return r[i] = R(R({}, e[i]), t[i] || {}), r;
3284
+ function Sn(e, t) {
3285
+ return t ? D(D(D({}, e || {}), t || {}), Object.keys(e).reduce(function(r, i) {
3286
+ return r[i] = D(D({}, e[i]), t[i] || {}), r;
3287
3287
  }, {})) : e;
3288
3288
  }
3289
- function wn(e, t) {
3289
+ function Tn(e, t) {
3290
3290
  return t ? Object.keys(e).reduce(function(r, i) {
3291
- return r[i] = xn(e[i], t[i]), r;
3292
- }, R({}, e)) : e;
3291
+ return r[i] = Sn(e[i], t[i]), r;
3292
+ }, D({}, e)) : e;
3293
3293
  }
3294
- function We(e) {
3294
+ function Xe(e) {
3295
3295
  return {
3296
3296
  create: function() {
3297
3297
  return {
@@ -3305,39 +3305,39 @@ function We(e) {
3305
3305
  }
3306
3306
  };
3307
3307
  }
3308
- function Tn(e) {
3308
+ function Ln(e) {
3309
3309
  return e === void 0 && (e = {
3310
3310
  number: {},
3311
3311
  dateTime: {},
3312
3312
  pluralRules: {}
3313
3313
  }), {
3314
- getNumberFormat: je(function() {
3314
+ getNumberFormat: Ve(function() {
3315
3315
  for (var t, r = [], i = 0; i < arguments.length; i++)
3316
3316
  r[i] = arguments[i];
3317
- return new ((t = Intl.NumberFormat).bind.apply(t, Fe([void 0], r, !1)))();
3317
+ return new ((t = Intl.NumberFormat).bind.apply(t, ke([void 0], r, !1)))();
3318
3318
  }, {
3319
- cache: We(e.number),
3320
- strategy: ke.variadic
3319
+ cache: Xe(e.number),
3320
+ strategy: We.variadic
3321
3321
  }),
3322
- getDateTimeFormat: je(function() {
3322
+ getDateTimeFormat: Ve(function() {
3323
3323
  for (var t, r = [], i = 0; i < arguments.length; i++)
3324
3324
  r[i] = arguments[i];
3325
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Fe([void 0], r, !1)))();
3325
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, ke([void 0], r, !1)))();
3326
3326
  }, {
3327
- cache: We(e.dateTime),
3328
- strategy: ke.variadic
3327
+ cache: Xe(e.dateTime),
3328
+ strategy: We.variadic
3329
3329
  }),
3330
- getPluralRules: je(function() {
3330
+ getPluralRules: Ve(function() {
3331
3331
  for (var t, r = [], i = 0; i < arguments.length; i++)
3332
3332
  r[i] = arguments[i];
3333
- return new ((t = Intl.PluralRules).bind.apply(t, Fe([void 0], r, !1)))();
3333
+ return new ((t = Intl.PluralRules).bind.apply(t, ke([void 0], r, !1)))();
3334
3334
  }, {
3335
- cache: We(e.pluralRules),
3336
- strategy: ke.variadic
3335
+ cache: Xe(e.pluralRules),
3336
+ strategy: We.variadic
3337
3337
  })
3338
3338
  };
3339
3339
  }
3340
- var Sn = (
3340
+ var An = (
3341
3341
  /** @class */
3342
3342
  function() {
3343
3343
  function e(t, r, i, n) {
@@ -3356,7 +3356,7 @@ var Sn = (
3356
3356
  }, []);
3357
3357
  return h.length <= 1 ? h[0] || "" : h;
3358
3358
  }, this.formatToParts = function(l) {
3359
- return xe(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3359
+ return Se(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3360
3360
  }, this.resolvedOptions = function() {
3361
3361
  var l;
3362
3362
  return {
@@ -3369,13 +3369,13 @@ var Sn = (
3369
3369
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3370
3370
  var s = n || {};
3371
3371
  s.formatters;
3372
- var a = Ii(s, ["formatters"]);
3373
- this.ast = e.__parse(t, R(R({}, a), { locale: this.resolvedLocale }));
3372
+ var a = Mi(s, ["formatters"]);
3373
+ this.ast = e.__parse(t, D(D({}, a), { locale: this.resolvedLocale }));
3374
3374
  } else
3375
3375
  this.ast = t;
3376
3376
  if (!Array.isArray(this.ast))
3377
3377
  throw new TypeError("A message must be provided as a String or AST.");
3378
- this.formats = wn(e.formats, i), this.formatters = n && n.formatters || Tn(this.formatterCache);
3378
+ this.formats = Tn(e.formats, i), this.formatters = n && n.formatters || Ln(this.formatterCache);
3379
3379
  }
3380
3380
  return Object.defineProperty(e, "defaultLocale", {
3381
3381
  get: function() {
@@ -3388,7 +3388,7 @@ var Sn = (
3388
3388
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3389
3389
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3390
3390
  }
3391
- }, e.__parse = gn, e.formats = {
3391
+ }, e.__parse = vn, e.formats = {
3392
3392
  number: {
3393
3393
  integer: {
3394
3394
  maximumFractionDigits: 0
@@ -3449,7 +3449,7 @@ var Sn = (
3449
3449
  }, e;
3450
3450
  }()
3451
3451
  );
3452
- function Ln(e, t) {
3452
+ function Hn(e, t) {
3453
3453
  if (t == null)
3454
3454
  return;
3455
3455
  if (t in e)
@@ -3470,92 +3470,92 @@ function Ln(e, t) {
3470
3470
  i = void 0;
3471
3471
  return i;
3472
3472
  }
3473
- const j = {}, An = (e, t, r) => r && (t in j || (j[t] = {}), e in j[t] || (j[t][e] = r), r), pr = (e, t) => {
3473
+ const j = {}, Pn = (e, t, r) => r && (t in j || (j[t] = {}), e in j[t] || (j[t][e] = r), r), yr = (e, t) => {
3474
3474
  if (t == null)
3475
3475
  return;
3476
3476
  if (t in j && e in j[t])
3477
3477
  return j[t][e];
3478
- const r = Ce(t);
3478
+ const r = Ne(t);
3479
3479
  for (let i = 0; i < r.length; i++) {
3480
- const n = r[i], o = Pn(n, e);
3480
+ const n = r[i], o = On(n, e);
3481
3481
  if (o)
3482
- return An(e, t, o);
3482
+ return Pn(e, t, o);
3483
3483
  }
3484
3484
  };
3485
- let pt;
3486
- const fe = Pe({});
3487
- function Hn(e) {
3488
- return pt[e] || null;
3485
+ let yt;
3486
+ const me = Oe({});
3487
+ function Bn(e) {
3488
+ return yt[e] || null;
3489
3489
  }
3490
- function dr(e) {
3491
- return e in pt;
3490
+ function br(e) {
3491
+ return e in yt;
3492
3492
  }
3493
- function Pn(e, t) {
3494
- if (!dr(e))
3493
+ function On(e, t) {
3494
+ if (!br(e))
3495
3495
  return null;
3496
- const r = Hn(e);
3497
- return Ln(r, t);
3496
+ const r = Bn(e);
3497
+ return Hn(r, t);
3498
3498
  }
3499
- function Bn(e) {
3499
+ function Cn(e) {
3500
3500
  if (e == null)
3501
3501
  return;
3502
- const t = Ce(e);
3502
+ const t = Ne(e);
3503
3503
  for (let r = 0; r < t.length; r++) {
3504
3504
  const i = t[r];
3505
- if (dr(i))
3505
+ if (br(i))
3506
3506
  return i;
3507
3507
  }
3508
3508
  }
3509
- function yr(e, ...t) {
3510
- delete j[e], fe.update((r) => (r[e] = Ci.all([r[e] || {}, ...t]), r));
3509
+ function gr(e, ...t) {
3510
+ delete j[e], me.update((r) => (r[e] = Ni.all([r[e] || {}, ...t]), r));
3511
3511
  }
3512
- re(
3513
- [fe],
3512
+ ie(
3513
+ [me],
3514
3514
  ([e]) => Object.keys(e)
3515
3515
  );
3516
- fe.subscribe((e) => pt = e);
3517
- const we = {};
3518
- function On(e, t) {
3519
- we[e].delete(t), we[e].size === 0 && delete we[e];
3516
+ me.subscribe((e) => yt = e);
3517
+ const Te = {};
3518
+ function In(e, t) {
3519
+ Te[e].delete(t), Te[e].size === 0 && delete Te[e];
3520
3520
  }
3521
- function gr(e) {
3522
- return we[e];
3521
+ function vr(e) {
3522
+ return Te[e];
3523
3523
  }
3524
- function Cn(e) {
3525
- return Ce(e).map((t) => {
3526
- const r = gr(t);
3524
+ function Nn(e) {
3525
+ return Ne(e).map((t) => {
3526
+ const r = vr(t);
3527
3527
  return [t, r ? [...r] : []];
3528
3528
  }).filter(([, t]) => t.length > 0);
3529
3529
  }
3530
- function ot(e) {
3531
- return e == null ? !1 : Ce(e).some(
3530
+ function at(e) {
3531
+ return e == null ? !1 : Ne(e).some(
3532
3532
  (t) => {
3533
3533
  var r;
3534
- return (r = gr(t)) == null ? void 0 : r.size;
3534
+ return (r = vr(t)) == null ? void 0 : r.size;
3535
3535
  }
3536
3536
  );
3537
3537
  }
3538
- function In(e, t) {
3538
+ function Mn(e, t) {
3539
3539
  return Promise.all(
3540
- t.map((i) => (On(e, i), i().then((n) => n.default || n)))
3541
- ).then((i) => yr(e, ...i));
3542
- }
3543
- const se = {};
3544
- function br(e) {
3545
- if (!ot(e))
3546
- return e in se ? se[e] : Promise.resolve();
3547
- const t = Cn(e);
3548
- return se[e] = Promise.all(
3540
+ t.map((i) => (In(e, i), i().then((n) => n.default || n)))
3541
+ ).then((i) => gr(e, ...i));
3542
+ }
3543
+ const ae = {};
3544
+ function _r(e) {
3545
+ if (!at(e))
3546
+ return e in ae ? ae[e] : Promise.resolve();
3547
+ const t = Nn(e);
3548
+ return ae[e] = Promise.all(
3549
3549
  t.map(
3550
- ([r, i]) => In(r, i)
3550
+ ([r, i]) => Mn(r, i)
3551
3551
  )
3552
3552
  ).then(() => {
3553
- if (ot(e))
3554
- return br(e);
3555
- delete se[e];
3556
- }), se[e];
3553
+ if (at(e))
3554
+ return _r(e);
3555
+ delete ae[e];
3556
+ }), ae[e];
3557
3557
  }
3558
- const Nn = {
3558
+ const Rn = {
3559
3559
  number: {
3560
3560
  scientific: { notation: "scientific" },
3561
3561
  engineering: { notation: "engineering" },
@@ -3584,135 +3584,135 @@ const Nn = {
3584
3584
  timeZoneName: "short"
3585
3585
  }
3586
3586
  }
3587
- }, Mn = {
3587
+ }, Dn = {
3588
3588
  fallbackLocale: null,
3589
3589
  loadingDelay: 200,
3590
- formats: Nn,
3590
+ formats: Rn,
3591
3591
  warnOnMissingMessages: !0,
3592
3592
  handleMissingMessage: void 0,
3593
3593
  ignoreTag: !0
3594
- }, Rn = Mn;
3595
- function te() {
3596
- return Rn;
3594
+ }, $n = Dn;
3595
+ function re() {
3596
+ return $n;
3597
3597
  }
3598
- const ze = Pe(!1);
3599
- var Dn = Object.defineProperty, $n = Object.defineProperties, Un = Object.getOwnPropertyDescriptors, It = Object.getOwnPropertySymbols, Gn = Object.prototype.hasOwnProperty, Fn = Object.prototype.propertyIsEnumerable, Nt = (e, t, r) => t in e ? Dn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, jn = (e, t) => {
3598
+ const Ze = Oe(!1);
3599
+ var Un = Object.defineProperty, Gn = Object.defineProperties, Fn = Object.getOwnPropertyDescriptors, Mt = Object.getOwnPropertySymbols, jn = Object.prototype.hasOwnProperty, kn = Object.prototype.propertyIsEnumerable, Rt = (e, t, r) => t in e ? Un(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Vn = (e, t) => {
3600
3600
  for (var r in t || (t = {}))
3601
- Gn.call(t, r) && Nt(e, r, t[r]);
3602
- if (It)
3603
- for (var r of It(t))
3604
- Fn.call(t, r) && Nt(e, r, t[r]);
3601
+ jn.call(t, r) && Rt(e, r, t[r]);
3602
+ if (Mt)
3603
+ for (var r of Mt(t))
3604
+ kn.call(t, r) && Rt(e, r, t[r]);
3605
3605
  return e;
3606
- }, kn = (e, t) => $n(e, Un(t));
3607
- let st;
3608
- const Ae = Pe(null);
3609
- function Mt(e) {
3606
+ }, Wn = (e, t) => Gn(e, Fn(t));
3607
+ let ut;
3608
+ const Pe = Oe(null);
3609
+ function Dt(e) {
3610
3610
  return e.split("-").map((t, r, i) => i.slice(0, r + 1).join("-")).reverse();
3611
3611
  }
3612
- function Ce(e, t = te().fallbackLocale) {
3613
- const r = Mt(e);
3614
- return t ? [.../* @__PURE__ */ new Set([...r, ...Mt(t)])] : r;
3612
+ function Ne(e, t = re().fallbackLocale) {
3613
+ const r = Dt(e);
3614
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Dt(t)])] : r;
3615
3615
  }
3616
3616
  function X() {
3617
- return st != null ? st : void 0;
3617
+ return ut != null ? ut : void 0;
3618
3618
  }
3619
- Ae.subscribe((e) => {
3620
- st = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3619
+ Pe.subscribe((e) => {
3620
+ ut = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3621
3621
  });
3622
- const Vn = (e) => {
3623
- if (e && Bn(e) && ot(e)) {
3624
- const { loadingDelay: t } = te();
3622
+ const zn = (e) => {
3623
+ if (e && Cn(e) && at(e)) {
3624
+ const { loadingDelay: t } = re();
3625
3625
  let r;
3626
3626
  return typeof window != "undefined" && X() != null && t ? r = window.setTimeout(
3627
- () => ze.set(!0),
3627
+ () => Ze.set(!0),
3628
3628
  t
3629
- ) : ze.set(!0), br(e).then(() => {
3630
- Ae.set(e);
3629
+ ) : Ze.set(!0), _r(e).then(() => {
3630
+ Pe.set(e);
3631
3631
  }).finally(() => {
3632
- clearTimeout(r), ze.set(!1);
3632
+ clearTimeout(r), Ze.set(!1);
3633
3633
  });
3634
3634
  }
3635
- return Ae.set(e);
3636
- }, ie = kn(jn({}, Ae), {
3637
- set: Vn
3638
- }), Ie = (e) => {
3635
+ return Pe.set(e);
3636
+ }, ne = Wn(Vn({}, Pe), {
3637
+ set: zn
3638
+ }), Me = (e) => {
3639
3639
  const t = /* @__PURE__ */ Object.create(null);
3640
3640
  return (i) => {
3641
3641
  const n = JSON.stringify(i);
3642
3642
  return n in t ? t[n] : t[n] = e(i);
3643
3643
  };
3644
3644
  };
3645
- var Wn = Object.defineProperty, He = Object.getOwnPropertySymbols, vr = Object.prototype.hasOwnProperty, _r = Object.prototype.propertyIsEnumerable, Rt = (e, t, r) => t in e ? Wn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, dt = (e, t) => {
3645
+ var Xn = Object.defineProperty, Be = Object.getOwnPropertySymbols, Er = Object.prototype.hasOwnProperty, xr = Object.prototype.propertyIsEnumerable, $t = (e, t, r) => t in e ? Xn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, bt = (e, t) => {
3646
3646
  for (var r in t || (t = {}))
3647
- vr.call(t, r) && Rt(e, r, t[r]);
3648
- if (He)
3649
- for (var r of He(t))
3650
- _r.call(t, r) && Rt(e, r, t[r]);
3647
+ Er.call(t, r) && $t(e, r, t[r]);
3648
+ if (Be)
3649
+ for (var r of Be(t))
3650
+ xr.call(t, r) && $t(e, r, t[r]);
3651
3651
  return e;
3652
- }, ne = (e, t) => {
3652
+ }, oe = (e, t) => {
3653
3653
  var r = {};
3654
3654
  for (var i in e)
3655
- vr.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3656
- if (e != null && He)
3657
- for (var i of He(e))
3658
- t.indexOf(i) < 0 && _r.call(e, i) && (r[i] = e[i]);
3655
+ Er.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3656
+ if (e != null && Be)
3657
+ for (var i of Be(e))
3658
+ t.indexOf(i) < 0 && xr.call(e, i) && (r[i] = e[i]);
3659
3659
  return r;
3660
3660
  };
3661
- const he = (e, t) => {
3662
- const { formats: r } = te();
3661
+ const ce = (e, t) => {
3662
+ const { formats: r } = re();
3663
3663
  if (e in r && t in r[e])
3664
3664
  return r[e][t];
3665
3665
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3666
- }, zn = Ie(
3666
+ }, Zn = Me(
3667
3667
  (e) => {
3668
- var t = e, { locale: r, format: i } = t, n = ne(t, ["locale", "format"]);
3668
+ var t = e, { locale: r, format: i } = t, n = oe(t, ["locale", "format"]);
3669
3669
  if (r == null)
3670
3670
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3671
- return i && (n = he("number", i)), new Intl.NumberFormat(r, n);
3671
+ return i && (n = ce("number", i)), new Intl.NumberFormat(r, n);
3672
3672
  }
3673
- ), Xn = Ie(
3673
+ ), Qn = Me(
3674
3674
  (e) => {
3675
- var t = e, { locale: r, format: i } = t, n = ne(t, ["locale", "format"]);
3675
+ var t = e, { locale: r, format: i } = t, n = oe(t, ["locale", "format"]);
3676
3676
  if (r == null)
3677
3677
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3678
- return i ? n = he("date", i) : Object.keys(n).length === 0 && (n = he("date", "short")), new Intl.DateTimeFormat(r, n);
3678
+ return i ? n = ce("date", i) : Object.keys(n).length === 0 && (n = ce("date", "short")), new Intl.DateTimeFormat(r, n);
3679
3679
  }
3680
- ), Zn = Ie(
3680
+ ), Yn = Me(
3681
3681
  (e) => {
3682
- var t = e, { locale: r, format: i } = t, n = ne(t, ["locale", "format"]);
3682
+ var t = e, { locale: r, format: i } = t, n = oe(t, ["locale", "format"]);
3683
3683
  if (r == null)
3684
3684
  throw new Error(
3685
3685
  '[svelte-i18n] A "locale" must be set to format time values'
3686
3686
  );
3687
- return i ? n = he("time", i) : Object.keys(n).length === 0 && (n = he("time", "short")), new Intl.DateTimeFormat(r, n);
3687
+ return i ? n = ce("time", i) : Object.keys(n).length === 0 && (n = ce("time", "short")), new Intl.DateTimeFormat(r, n);
3688
3688
  }
3689
- ), Qn = (e = {}) => {
3689
+ ), Jn = (e = {}) => {
3690
3690
  var t = e, {
3691
3691
  locale: r = X()
3692
- } = t, i = ne(t, [
3692
+ } = t, i = oe(t, [
3693
3693
  "locale"
3694
3694
  ]);
3695
- return zn(dt({ locale: r }, i));
3696
- }, Yn = (e = {}) => {
3695
+ return Zn(bt({ locale: r }, i));
3696
+ }, qn = (e = {}) => {
3697
3697
  var t = e, {
3698
3698
  locale: r = X()
3699
- } = t, i = ne(t, [
3699
+ } = t, i = oe(t, [
3700
3700
  "locale"
3701
3701
  ]);
3702
- return Xn(dt({ locale: r }, i));
3703
- }, Jn = (e = {}) => {
3702
+ return Qn(bt({ locale: r }, i));
3703
+ }, Kn = (e = {}) => {
3704
3704
  var t = e, {
3705
3705
  locale: r = X()
3706
- } = t, i = ne(t, [
3706
+ } = t, i = oe(t, [
3707
3707
  "locale"
3708
3708
  ]);
3709
- return Zn(dt({ locale: r }, i));
3710
- }, qn = Ie(
3709
+ return Yn(bt({ locale: r }, i));
3710
+ }, eo = Me(
3711
3711
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3712
- (e, t = X()) => new Sn(e, t, te().formats, {
3713
- ignoreTag: te().ignoreTag
3712
+ (e, t = X()) => new An(e, t, re().formats, {
3713
+ ignoreTag: re().ignoreTag
3714
3714
  })
3715
- ), Kn = (e, t = {}) => {
3715
+ ), to = (e, t = {}) => {
3716
3716
  var r, i, n, o;
3717
3717
  let s = t;
3718
3718
  typeof e == "object" && (s = e, e = s.id);
@@ -3725,9 +3725,9 @@ const he = (e, t) => {
3725
3725
  throw new Error(
3726
3726
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3727
3727
  );
3728
- let h = pr(e, l);
3728
+ let h = yr(e, l);
3729
3729
  if (!h)
3730
- h = (o = (n = (i = (r = te()).handleMissingMessage) == null ? void 0 : i.call(r, { locale: l, id: e, defaultValue: u })) != null ? n : u) != null ? o : e;
3730
+ h = (o = (n = (i = (r = re()).handleMissingMessage) == null ? void 0 : i.call(r, { locale: l, id: e, defaultValue: u })) != null ? n : u) != null ? o : e;
3731
3731
  else if (typeof h != "string")
3732
3732
  return console.warn(
3733
3733
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -3736,7 +3736,7 @@ const he = (e, t) => {
3736
3736
  return h;
3737
3737
  let c = h;
3738
3738
  try {
3739
- c = qn(h, l).format(a);
3739
+ c = eo(h, l).format(a);
3740
3740
  } catch (f) {
3741
3741
  f instanceof Error && console.warn(
3742
3742
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3744,18 +3744,18 @@ const he = (e, t) => {
3744
3744
  );
3745
3745
  }
3746
3746
  return c;
3747
- }, eo = (e, t) => Jn(t).format(e), to = (e, t) => Yn(t).format(e), ro = (e, t) => Qn(t).format(e), io = (e, t = X()) => pr(e, t), no = re([ie, fe], () => Kn);
3748
- re([ie], () => eo);
3749
- re([ie], () => to);
3750
- re([ie], () => ro);
3751
- re([ie, fe], () => io);
3752
- function Dt(e, t) {
3753
- yr(e, t);
3754
- }
3755
- function oo(e) {
3756
- ie.set(e);
3757
- }
3758
- const Xe = {
3747
+ }, ro = (e, t) => Kn(t).format(e), io = (e, t) => qn(t).format(e), no = (e, t) => Jn(t).format(e), oo = (e, t = X()) => yr(e, t), so = ie([ne, me], () => to);
3748
+ ie([ne], () => ro);
3749
+ ie([ne], () => io);
3750
+ ie([ne], () => no);
3751
+ ie([ne, me], () => oo);
3752
+ function Ut(e, t) {
3753
+ gr(e, t);
3754
+ }
3755
+ function ao(e) {
3756
+ ne.set(e);
3757
+ }
3758
+ const Qe = {
3759
3759
  en: {
3760
3760
  expandLimits: "Limit history",
3761
3761
  daily: "per day",
@@ -4000,24 +4000,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
4000
4000
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
4001
4001
  PERFORMANCE OF THIS SOFTWARE.
4002
4002
  ***************************************************************************** */
4003
- var at = function(e, t) {
4004
- return at = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
4003
+ var lt = function(e, t) {
4004
+ return lt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
4005
4005
  r.__proto__ = i;
4006
4006
  } || function(r, i) {
4007
4007
  for (var n in i)
4008
4008
  Object.prototype.hasOwnProperty.call(i, n) && (r[n] = i[n]);
4009
- }, at(e, t);
4009
+ }, lt(e, t);
4010
4010
  };
4011
- function me(e, t) {
4011
+ function pe(e, t) {
4012
4012
  if (typeof t != "function" && t !== null)
4013
4013
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
4014
- at(e, t);
4014
+ lt(e, t);
4015
4015
  function r() {
4016
4016
  this.constructor = e;
4017
4017
  }
4018
4018
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
4019
4019
  }
4020
- function ut(e) {
4020
+ function ht(e) {
4021
4021
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], i = 0;
4022
4022
  if (r)
4023
4023
  return r.call(e);
@@ -4029,7 +4029,7 @@ function ut(e) {
4029
4029
  };
4030
4030
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
4031
4031
  }
4032
- function lt(e, t) {
4032
+ function ct(e, t) {
4033
4033
  var r = typeof Symbol == "function" && e[Symbol.iterator];
4034
4034
  if (!r)
4035
4035
  return e;
@@ -4049,22 +4049,22 @@ function lt(e, t) {
4049
4049
  }
4050
4050
  return o;
4051
4051
  }
4052
- function ht(e, t, r) {
4052
+ function ft(e, t, r) {
4053
4053
  if (arguments.length === 2)
4054
4054
  for (var i = 0, n = t.length, o; i < n; i++)
4055
4055
  (o || !(i in t)) && (o || (o = Array.prototype.slice.call(t, 0, i)), o[i] = t[i]);
4056
4056
  return e.concat(o || t);
4057
4057
  }
4058
- function F(e) {
4058
+ function G(e) {
4059
4059
  return typeof e == "function";
4060
4060
  }
4061
- function Er(e) {
4061
+ function wr(e) {
4062
4062
  var t = function(i) {
4063
4063
  Error.call(i), i.stack = new Error().stack;
4064
4064
  }, r = e(t);
4065
4065
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
4066
4066
  }
4067
- var Ze = Er(function(e) {
4067
+ var Ye = wr(function(e) {
4068
4068
  return function(r) {
4069
4069
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
4070
4070
  ` + r.map(function(i, n) {
@@ -4073,13 +4073,13 @@ var Ze = Er(function(e) {
4073
4073
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
4074
4074
  };
4075
4075
  });
4076
- function ct(e, t) {
4076
+ function mt(e, t) {
4077
4077
  if (e) {
4078
4078
  var r = e.indexOf(t);
4079
4079
  0 <= r && e.splice(r, 1);
4080
4080
  }
4081
4081
  }
4082
- var Ne = function() {
4082
+ var Re = function() {
4083
4083
  function e(t) {
4084
4084
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
4085
4085
  }
@@ -4091,7 +4091,7 @@ var Ne = function() {
4091
4091
  if (s)
4092
4092
  if (this._parentage = null, Array.isArray(s))
4093
4093
  try {
4094
- for (var a = ut(s), l = a.next(); !l.done; l = a.next()) {
4094
+ for (var a = ht(s), l = a.next(); !l.done; l = a.next()) {
4095
4095
  var u = l.value;
4096
4096
  u.remove(this);
4097
4097
  }
@@ -4108,22 +4108,22 @@ var Ne = function() {
4108
4108
  else
4109
4109
  s.remove(this);
4110
4110
  var h = this.initialTeardown;
4111
- if (F(h))
4111
+ if (G(h))
4112
4112
  try {
4113
4113
  h();
4114
4114
  } catch (d) {
4115
- o = d instanceof Ze ? d.errors : [d];
4115
+ o = d instanceof Ye ? d.errors : [d];
4116
4116
  }
4117
4117
  var c = this._finalizers;
4118
4118
  if (c) {
4119
4119
  this._finalizers = null;
4120
4120
  try {
4121
- for (var f = ut(c), p = f.next(); !p.done; p = f.next()) {
4121
+ for (var f = ht(c), p = f.next(); !p.done; p = f.next()) {
4122
4122
  var y = p.value;
4123
4123
  try {
4124
- $t(y);
4124
+ Gt(y);
4125
4125
  } catch (d) {
4126
- o = o != null ? o : [], d instanceof Ze ? o = ht(ht([], lt(o)), lt(d.errors)) : o.push(d);
4126
+ o = o != null ? o : [], d instanceof Ye ? o = ft(ft([], ct(o)), ct(d.errors)) : o.push(d);
4127
4127
  }
4128
4128
  }
4129
4129
  } catch (d) {
@@ -4138,13 +4138,13 @@ var Ne = function() {
4138
4138
  }
4139
4139
  }
4140
4140
  if (o)
4141
- throw new Ze(o);
4141
+ throw new Ye(o);
4142
4142
  }
4143
4143
  }, e.prototype.add = function(t) {
4144
4144
  var r;
4145
4145
  if (t && t !== this)
4146
4146
  if (this.closed)
4147
- $t(t);
4147
+ Gt(t);
4148
4148
  else {
4149
4149
  if (t instanceof e) {
4150
4150
  if (t.closed || t._hasParent(this))
@@ -4161,52 +4161,52 @@ var Ne = function() {
4161
4161
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
4162
4162
  }, e.prototype._removeParent = function(t) {
4163
4163
  var r = this._parentage;
4164
- r === t ? this._parentage = null : Array.isArray(r) && ct(r, t);
4164
+ r === t ? this._parentage = null : Array.isArray(r) && mt(r, t);
4165
4165
  }, e.prototype.remove = function(t) {
4166
4166
  var r = this._finalizers;
4167
- r && ct(r, t), t instanceof e && t._removeParent(this);
4167
+ r && mt(r, t), t instanceof e && t._removeParent(this);
4168
4168
  }, e.EMPTY = function() {
4169
4169
  var t = new e();
4170
4170
  return t.closed = !0, t;
4171
4171
  }(), e;
4172
- }(), xr = Ne.EMPTY;
4173
- function wr(e) {
4174
- return e instanceof Ne || e && "closed" in e && F(e.remove) && F(e.add) && F(e.unsubscribe);
4172
+ }(), Sr = Re.EMPTY;
4173
+ function Tr(e) {
4174
+ return e instanceof Re || e && "closed" in e && G(e.remove) && G(e.add) && G(e.unsubscribe);
4175
4175
  }
4176
- function $t(e) {
4177
- F(e) ? e() : e.unsubscribe();
4176
+ function Gt(e) {
4177
+ G(e) ? e() : e.unsubscribe();
4178
4178
  }
4179
- var so = {
4179
+ var uo = {
4180
4180
  Promise: void 0
4181
- }, ao = {
4181
+ }, lo = {
4182
4182
  setTimeout: function(e, t) {
4183
4183
  for (var r = [], i = 2; i < arguments.length; i++)
4184
4184
  r[i - 2] = arguments[i];
4185
- return setTimeout.apply(void 0, ht([e, t], lt(r)));
4185
+ return setTimeout.apply(void 0, ft([e, t], ct(r)));
4186
4186
  },
4187
4187
  clearTimeout: function(e) {
4188
4188
  return clearTimeout(e);
4189
4189
  },
4190
4190
  delegate: void 0
4191
4191
  };
4192
- function uo(e) {
4193
- ao.setTimeout(function() {
4192
+ function ho(e) {
4193
+ lo.setTimeout(function() {
4194
4194
  throw e;
4195
4195
  });
4196
4196
  }
4197
- function Ut() {
4197
+ function Ft() {
4198
4198
  }
4199
- function Te(e) {
4199
+ function Le(e) {
4200
4200
  e();
4201
4201
  }
4202
- var Tr = function(e) {
4203
- me(t, e);
4202
+ var Lr = function(e) {
4203
+ pe(t, e);
4204
4204
  function t(r) {
4205
4205
  var i = e.call(this) || this;
4206
- return i.isStopped = !1, r ? (i.destination = r, wr(r) && r.add(i)) : i.destination = co, i;
4206
+ return i.isStopped = !1, r ? (i.destination = r, Tr(r) && r.add(i)) : i.destination = mo, i;
4207
4207
  }
4208
4208
  return t.create = function(r, i, n) {
4209
- return new ft(r, i, n);
4209
+ return new pt(r, i, n);
4210
4210
  }, t.prototype.next = function(r) {
4211
4211
  this.isStopped || this._next(r);
4212
4212
  }, t.prototype.error = function(r) {
@@ -4230,7 +4230,7 @@ var Tr = function(e) {
4230
4230
  this.unsubscribe();
4231
4231
  }
4232
4232
  }, t;
4233
- }(Ne), lo = function() {
4233
+ }(Re), co = function() {
4234
4234
  function e(t) {
4235
4235
  this.partialObserver = t;
4236
4236
  }
@@ -4240,7 +4240,7 @@ var Tr = function(e) {
4240
4240
  try {
4241
4241
  r.next(t);
4242
4242
  } catch (i) {
4243
- _e(i);
4243
+ xe(i);
4244
4244
  }
4245
4245
  }, e.prototype.error = function(t) {
4246
4246
  var r = this.partialObserver;
@@ -4248,56 +4248,56 @@ var Tr = function(e) {
4248
4248
  try {
4249
4249
  r.error(t);
4250
4250
  } catch (i) {
4251
- _e(i);
4251
+ xe(i);
4252
4252
  }
4253
4253
  else
4254
- _e(t);
4254
+ xe(t);
4255
4255
  }, e.prototype.complete = function() {
4256
4256
  var t = this.partialObserver;
4257
4257
  if (t.complete)
4258
4258
  try {
4259
4259
  t.complete();
4260
4260
  } catch (r) {
4261
- _e(r);
4261
+ xe(r);
4262
4262
  }
4263
4263
  }, e;
4264
- }(), ft = function(e) {
4265
- me(t, e);
4264
+ }(), pt = function(e) {
4265
+ pe(t, e);
4266
4266
  function t(r, i, n) {
4267
4267
  var o = e.call(this) || this, s;
4268
- return F(r) || !r ? s = {
4268
+ return G(r) || !r ? s = {
4269
4269
  next: r != null ? r : void 0,
4270
4270
  error: i != null ? i : void 0,
4271
4271
  complete: n != null ? n : void 0
4272
- } : s = r, o.destination = new lo(s), o;
4272
+ } : s = r, o.destination = new co(s), o;
4273
4273
  }
4274
4274
  return t;
4275
- }(Tr);
4276
- function _e(e) {
4277
- uo(e);
4275
+ }(Lr);
4276
+ function xe(e) {
4277
+ ho(e);
4278
4278
  }
4279
- function ho(e) {
4279
+ function fo(e) {
4280
4280
  throw e;
4281
4281
  }
4282
- var co = {
4282
+ var mo = {
4283
4283
  closed: !0,
4284
- next: Ut,
4285
- error: ho,
4286
- complete: Ut
4287
- }, fo = function() {
4284
+ next: Ft,
4285
+ error: fo,
4286
+ complete: Ft
4287
+ }, po = function() {
4288
4288
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
4289
4289
  }();
4290
- function mo(e) {
4290
+ function yo(e) {
4291
4291
  return e;
4292
4292
  }
4293
- function po(e) {
4294
- return e.length === 0 ? mo : e.length === 1 ? e[0] : function(r) {
4293
+ function bo(e) {
4294
+ return e.length === 0 ? yo : e.length === 1 ? e[0] : function(r) {
4295
4295
  return e.reduce(function(i, n) {
4296
4296
  return n(i);
4297
4297
  }, r);
4298
4298
  };
4299
4299
  }
4300
- var Gt = function() {
4300
+ var jt = function() {
4301
4301
  function e(t) {
4302
4302
  t && (this._subscribe = t);
4303
4303
  }
@@ -4305,8 +4305,8 @@ var Gt = function() {
4305
4305
  var r = new e();
4306
4306
  return r.source = this, r.operator = t, r;
4307
4307
  }, e.prototype.subscribe = function(t, r, i) {
4308
- var n = this, o = go(t) ? t : new ft(t, r, i);
4309
- return Te(function() {
4308
+ var n = this, o = vo(t) ? t : new pt(t, r, i);
4309
+ return Le(function() {
4310
4310
  var s = n, a = s.operator, l = s.source;
4311
4311
  o.add(a ? a.call(o, l) : l ? n._subscribe(o) : n._trySubscribe(o));
4312
4312
  }), o;
@@ -4318,8 +4318,8 @@ var Gt = function() {
4318
4318
  }
4319
4319
  }, e.prototype.forEach = function(t, r) {
4320
4320
  var i = this;
4321
- return r = Ft(r), new r(function(n, o) {
4322
- var s = new ft({
4321
+ return r = kt(r), new r(function(n, o) {
4322
+ var s = new pt({
4323
4323
  next: function(a) {
4324
4324
  try {
4325
4325
  t(a);
@@ -4335,15 +4335,15 @@ var Gt = function() {
4335
4335
  }, e.prototype._subscribe = function(t) {
4336
4336
  var r;
4337
4337
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
4338
- }, e.prototype[fo] = function() {
4338
+ }, e.prototype[po] = function() {
4339
4339
  return this;
4340
4340
  }, e.prototype.pipe = function() {
4341
4341
  for (var t = [], r = 0; r < arguments.length; r++)
4342
4342
  t[r] = arguments[r];
4343
- return po(t)(this);
4343
+ return bo(t)(this);
4344
4344
  }, e.prototype.toPromise = function(t) {
4345
4345
  var r = this;
4346
- return t = Ft(t), new t(function(i, n) {
4346
+ return t = kt(t), new t(function(i, n) {
4347
4347
  var o;
4348
4348
  r.subscribe(function(s) {
4349
4349
  return o = s;
@@ -4357,40 +4357,40 @@ var Gt = function() {
4357
4357
  return new e(t);
4358
4358
  }, e;
4359
4359
  }();
4360
- function Ft(e) {
4360
+ function kt(e) {
4361
4361
  var t;
4362
- return (t = e != null ? e : so.Promise) !== null && t !== void 0 ? t : Promise;
4363
- }
4364
- function yo(e) {
4365
- return e && F(e.next) && F(e.error) && F(e.complete);
4362
+ return (t = e != null ? e : uo.Promise) !== null && t !== void 0 ? t : Promise;
4366
4363
  }
4367
4364
  function go(e) {
4368
- return e && e instanceof Tr || yo(e) && wr(e);
4365
+ return e && G(e.next) && G(e.error) && G(e.complete);
4369
4366
  }
4370
- var bo = Er(function(e) {
4367
+ function vo(e) {
4368
+ return e && e instanceof Lr || go(e) && Tr(e);
4369
+ }
4370
+ var _o = wr(function(e) {
4371
4371
  return function() {
4372
4372
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
4373
4373
  };
4374
- }), Sr = function(e) {
4375
- me(t, e);
4374
+ }), Ar = function(e) {
4375
+ pe(t, e);
4376
4376
  function t() {
4377
4377
  var r = e.call(this) || this;
4378
4378
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
4379
4379
  }
4380
4380
  return t.prototype.lift = function(r) {
4381
- var i = new jt(this, this);
4381
+ var i = new Vt(this, this);
4382
4382
  return i.operator = r, i;
4383
4383
  }, t.prototype._throwIfClosed = function() {
4384
4384
  if (this.closed)
4385
- throw new bo();
4385
+ throw new _o();
4386
4386
  }, t.prototype.next = function(r) {
4387
4387
  var i = this;
4388
- Te(function() {
4388
+ Le(function() {
4389
4389
  var n, o;
4390
4390
  if (i._throwIfClosed(), !i.isStopped) {
4391
4391
  i.currentObservers || (i.currentObservers = Array.from(i.observers));
4392
4392
  try {
4393
- for (var s = ut(i.currentObservers), a = s.next(); !a.done; a = s.next()) {
4393
+ for (var s = ht(i.currentObservers), a = s.next(); !a.done; a = s.next()) {
4394
4394
  var l = a.value;
4395
4395
  l.next(r);
4396
4396
  }
@@ -4408,7 +4408,7 @@ var bo = Er(function(e) {
4408
4408
  });
4409
4409
  }, t.prototype.error = function(r) {
4410
4410
  var i = this;
4411
- Te(function() {
4411
+ Le(function() {
4412
4412
  if (i._throwIfClosed(), !i.isStopped) {
4413
4413
  i.hasError = i.isStopped = !0, i.thrownError = r;
4414
4414
  for (var n = i.observers; n.length; )
@@ -4417,7 +4417,7 @@ var bo = Er(function(e) {
4417
4417
  });
4418
4418
  }, t.prototype.complete = function() {
4419
4419
  var r = this;
4420
- Te(function() {
4420
+ Le(function() {
4421
4421
  if (r._throwIfClosed(), !r.isStopped) {
4422
4422
  r.isStopped = !0;
4423
4423
  for (var i = r.observers; i.length; )
@@ -4439,20 +4439,20 @@ var bo = Er(function(e) {
4439
4439
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
4440
4440
  }, t.prototype._innerSubscribe = function(r) {
4441
4441
  var i = this, n = this, o = n.hasError, s = n.isStopped, a = n.observers;
4442
- return o || s ? xr : (this.currentObservers = null, a.push(r), new Ne(function() {
4443
- i.currentObservers = null, ct(a, r);
4442
+ return o || s ? Sr : (this.currentObservers = null, a.push(r), new Re(function() {
4443
+ i.currentObservers = null, mt(a, r);
4444
4444
  }));
4445
4445
  }, t.prototype._checkFinalizedStatuses = function(r) {
4446
4446
  var i = this, n = i.hasError, o = i.thrownError, s = i.isStopped;
4447
4447
  n ? r.error(o) : s && r.complete();
4448
4448
  }, t.prototype.asObservable = function() {
4449
- var r = new Gt();
4449
+ var r = new jt();
4450
4450
  return r.source = this, r;
4451
4451
  }, t.create = function(r, i) {
4452
- return new jt(r, i);
4452
+ return new Vt(r, i);
4453
4453
  }, t;
4454
- }(Gt), jt = function(e) {
4455
- me(t, e);
4454
+ }(jt), Vt = function(e) {
4455
+ pe(t, e);
4456
4456
  function t(r, i) {
4457
4457
  var n = e.call(this) || this;
4458
4458
  return n.destination = r, n.source = i, n;
@@ -4468,17 +4468,17 @@ var bo = Er(function(e) {
4468
4468
  (i = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || i === void 0 || i.call(r);
4469
4469
  }, t.prototype._subscribe = function(r) {
4470
4470
  var i, n;
4471
- return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(r)) !== null && n !== void 0 ? n : xr;
4471
+ return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(r)) !== null && n !== void 0 ? n : Sr;
4472
4472
  }, t;
4473
- }(Sr), Lr = {
4473
+ }(Ar), Hr = {
4474
4474
  now: function() {
4475
- return (Lr.delegate || Date).now();
4475
+ return (Hr.delegate || Date).now();
4476
4476
  },
4477
4477
  delegate: void 0
4478
- }, vo = function(e) {
4479
- me(t, e);
4478
+ }, Eo = function(e) {
4479
+ pe(t, e);
4480
4480
  function t(r, i, n) {
4481
- r === void 0 && (r = 1 / 0), i === void 0 && (i = 1 / 0), n === void 0 && (n = Lr);
4481
+ r === void 0 && (r = 1 / 0), i === void 0 && (i = 1 / 0), n === void 0 && (n = Hr);
4482
4482
  var o = e.call(this) || this;
4483
4483
  return o._bufferSize = r, o._windowTime = i, o._timestampProvider = n, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = i === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, i), o;
4484
4484
  }
@@ -4498,24 +4498,25 @@ var bo = Er(function(e) {
4498
4498
  u && o.splice(0, u + 1);
4499
4499
  }
4500
4500
  }, t;
4501
- }(Sr);
4502
- const kt = [], Vt = {}, _o = (e, t = 0) => {
4503
- if (kt.indexOf(e) == -1) {
4504
- const r = new vo(t);
4505
- Vt[e] = r, kt.push(e);
4501
+ }(Ar);
4502
+ const Wt = [], zt = {}, xo = (e, t = 0) => {
4503
+ if (Wt.indexOf(e) == -1) {
4504
+ const r = new Eo(t);
4505
+ zt[e] = r, Wt.push(e);
4506
4506
  }
4507
- return Vt[e];
4507
+ return zt[e];
4508
4508
  };
4509
- window.emWidgets = { topic: _o };
4510
- const Eo = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4509
+ window.emWidgets = { topic: xo };
4510
+ const wo = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4511
4511
  String(Number.MAX_SAFE_INTEGER).length;
4512
- function xo(e, t) {
4512
+ const J = "__WIDGET_GLOBAL_STYLE_CACHE__";
4513
+ function So(e, t) {
4513
4514
  if (e) {
4514
4515
  const r = document.createElement("style");
4515
4516
  r.innerHTML = t, e.appendChild(r);
4516
4517
  }
4517
4518
  }
4518
- function wo(e, t) {
4519
+ function To(e, t) {
4519
4520
  if (!e || !t)
4520
4521
  return;
4521
4522
  const r = new URL(t);
@@ -4526,88 +4527,116 @@ function wo(e, t) {
4526
4527
  console.error("There was an error while trying to load client styling from URL", i);
4527
4528
  });
4528
4529
  }
4529
- function To(e, t, r) {
4530
- if (window.emMessageBus) {
4531
- const i = document.createElement("style");
4532
- window.emMessageBus.subscribe(t, (n) => {
4533
- i.innerHTML = n, e && e.appendChild(i);
4530
+ function Lo(e, t, r, i = !1) {
4531
+ if (!window.emMessageBus)
4532
+ return;
4533
+ if (!("adoptedStyleSheets" in Document.prototype) || !i)
4534
+ return r = Ao(e, t), r;
4535
+ window[J] || (window[J] = {}), r = Ho(e, t);
4536
+ const o = r.unsubscribe.bind(r), s = () => {
4537
+ if (window[J][t]) {
4538
+ const a = window[J][t];
4539
+ a.refCount > 1 ? a.refCount = a.refCount - 1 : delete window[J][t];
4540
+ }
4541
+ o();
4542
+ };
4543
+ return r.unsubscribe = s, r;
4544
+ }
4545
+ function Ao(e, t) {
4546
+ const r = document.createElement("style");
4547
+ return window.emMessageBus.subscribe(t, (i) => {
4548
+ e && (r.innerHTML = i, e.appendChild(r));
4549
+ });
4550
+ }
4551
+ function Ho(e, t) {
4552
+ return window.emMessageBus.subscribe(t, (r) => {
4553
+ var a;
4554
+ if (!e)
4555
+ return;
4556
+ const i = e.getRootNode(), n = window[J];
4557
+ let o = (a = n[t]) == null ? void 0 : a.sheet;
4558
+ o ? n[t].refCount = n[t].refCount + 1 : (o = new CSSStyleSheet(), o.replaceSync(r), n[t] = {
4559
+ sheet: o,
4560
+ refCount: 1
4534
4561
  });
4535
- }
4562
+ const s = i.adoptedStyleSheets || [];
4563
+ s.includes(o) || (i.adoptedStyleSheets = [...s, o]);
4564
+ });
4536
4565
  }
4537
- function So(e) {
4538
- Xr(e, "svelte-1wi0iai", ':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-size:1.3rem}.svelte-1wi0iai.svelte-1wi0iai,.svelte-1wi0iai.svelte-1wi0iai::before,.svelte-1wi0iai.svelte-1wi0iai::after{color:var(--emw--color-typography-contrast, #444444);margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.player-account-gaming-limits-history-2.svelte-1wi0iai.svelte-1wi0iai{color:var(--emw--color-white, #FFFFFF)}button.svelte-1wi0iai.svelte-1wi0iai{font-size:1rem;border:0;padding:0}.ExpandButton.svelte-1wi0iai.svelte-1wi0iai{display:flex;align-items:center;margin-right:-14px;background:transparent;border:none;color:var(--emw--color-primary, #22B04E);font-size:var(--emw--font-size-large, 20px);text-transform:capitalize;font-weight:var(--emw--font-weight-bold, 700)}.ExpandButton.Mobile.svelte-1wi0iai.svelte-1wi0iai{font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-bold, 700)}.ExpandButton.svelte-1wi0iai svg.svelte-1wi0iai{width:40px;height:auto;margin-left:-4px}.extended.svelte-1wi0iai.svelte-1wi0iai{transform:rotate(180deg)}.HistoryWrapper.svelte-1wi0iai.svelte-1wi0iai{display:flex;flex-direction:column;width:320px;padding:0 12px;margin:12px auto}.HistoryWrapper.svelte-1wi0iai .HistoryDisplayArea.svelte-1wi0iai{width:inherit;background-color:var(--emw--color-typpgraphy, #FFFFFF);border-radius:var(--emw--border-radius-large, 10px);box-shadow:0px 3px 19px 0px rgba(0, 0, 0, 0.3);padding:30px 20px}.HistoryWrapper.svelte-1wi0iai .HistoryDisplayArea .LimitType.svelte-1wi0iai{font-size:var(--emw--font-size-medium, 16px);color:color-mix(in srgb, var(--emw--color-secondary, #E1A749) 80%, black 10%)}.HistoryWrapper.svelte-1wi0iai .HistoryDisplayArea.Mobile.svelte-1wi0iai{width:auto;font-size:var(--emw--font-size-x-small, 12px);padding:15px}.hidden.svelte-1wi0iai.svelte-1wi0iai{display:none}.HistoryRow.svelte-1wi0iai.svelte-1wi0iai{padding:12px 0;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--emw--color-gray-100, #E6E6E6)}.GeneralLimitInformation.svelte-1wi0iai.svelte-1wi0iai{display:flex;flex-direction:column;gap:4px;color:var(--emw--color-grey-150, #C0CBC3)}.LimitAmountPeriod.svelte-1wi0iai.svelte-1wi0iai{color:var(--emw--color-grey-150, #C0CBC3)}.LimitContainer.svelte-1wi0iai.svelte-1wi0iai{animation:svelte-1wi0iai-animateEntry 0.7s ease-in}@keyframes svelte-1wi0iai-animateEntry{0%{opacity:0;transform:translateX(500px)}100%{opacity:1;transform:translateX(0)}}');
4566
+ function Po(e) {
4567
+ Qr(e, "svelte-1wi0iai", ':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-size:1.3rem}.svelte-1wi0iai.svelte-1wi0iai,.svelte-1wi0iai.svelte-1wi0iai::before,.svelte-1wi0iai.svelte-1wi0iai::after{color:var(--emw--color-typography-contrast, #444444);margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.player-account-gaming-limits-history-2.svelte-1wi0iai.svelte-1wi0iai{color:var(--emw--color-white, #FFFFFF)}button.svelte-1wi0iai.svelte-1wi0iai{font-size:1rem;border:0;padding:0}.ExpandButton.svelte-1wi0iai.svelte-1wi0iai{display:flex;align-items:center;margin-right:-14px;background:transparent;border:none;color:var(--emw--color-primary, #22B04E);font-size:var(--emw--font-size-large, 20px);text-transform:capitalize;font-weight:var(--emw--font-weight-bold, 700)}.ExpandButton.Mobile.svelte-1wi0iai.svelte-1wi0iai{font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-bold, 700)}.ExpandButton.svelte-1wi0iai svg.svelte-1wi0iai{width:40px;height:auto;margin-left:-4px}.extended.svelte-1wi0iai.svelte-1wi0iai{transform:rotate(180deg)}.HistoryWrapper.svelte-1wi0iai.svelte-1wi0iai{display:flex;flex-direction:column;width:320px;padding:0 12px;margin:12px auto}.HistoryWrapper.svelte-1wi0iai .HistoryDisplayArea.svelte-1wi0iai{width:inherit;background-color:var(--emw--color-typpgraphy, #FFFFFF);border-radius:var(--emw--border-radius-large, 10px);box-shadow:0px 3px 19px 0px rgba(0, 0, 0, 0.3);padding:30px 20px}.HistoryWrapper.svelte-1wi0iai .HistoryDisplayArea .LimitType.svelte-1wi0iai{font-size:var(--emw--font-size-medium, 16px);color:color-mix(in srgb, var(--emw--color-secondary, #E1A749) 80%, black 10%)}.HistoryWrapper.svelte-1wi0iai .HistoryDisplayArea.Mobile.svelte-1wi0iai{width:auto;font-size:var(--emw--font-size-x-small, 12px);padding:15px}.hidden.svelte-1wi0iai.svelte-1wi0iai{display:none}.HistoryRow.svelte-1wi0iai.svelte-1wi0iai{padding:12px 0;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--emw--color-gray-100, #E6E6E6)}.GeneralLimitInformation.svelte-1wi0iai.svelte-1wi0iai{display:flex;flex-direction:column;gap:4px;color:var(--emw--color-grey-150, #C0CBC3)}.LimitAmountPeriod.svelte-1wi0iai.svelte-1wi0iai{color:var(--emw--color-grey-150, #C0CBC3)}.LimitContainer.svelte-1wi0iai.svelte-1wi0iai{animation:svelte-1wi0iai-animateEntry 0.7s ease-in}@keyframes svelte-1wi0iai-animateEntry{0%{opacity:0;transform:translateX(500px)}100%{opacity:1;transform:translateX(0)}}');
4539
4568
  }
4540
- function Wt(e, t, r) {
4569
+ function Xt(e, t, r) {
4541
4570
  const i = e.slice();
4542
4571
  return i[37] = t[r], i[38] = t, i[39] = r, i;
4543
4572
  }
4544
- function Lo(e) {
4573
+ function Bo(e) {
4545
4574
  let t, r, i, n = (
4546
4575
  /*$_*/
4547
4576
  e[9]("expandLimits") + ""
4548
- ), o, s, a, l, u, h, c, f, p, y = wt(
4577
+ ), o, s, a, l, u, h, c, f, p, y = Tt(
4549
4578
  /*lazyShowedHistoryArray*/
4550
4579
  e[7]
4551
4580
  ), d = [];
4552
4581
  for (let v = 0; v < y.length; v += 1)
4553
- d[v] = zt(Wt(e, y, v));
4582
+ d[v] = Zt(Xt(e, y, v));
4554
4583
  return {
4555
4584
  c() {
4556
- t = H("div"), r = H("div"), i = H("button"), o = G(n), s = Qe(), a = Ue("svg"), l = Ue("path"), u = Ue("path"), h = Qe(), c = H("div");
4585
+ t = A("div"), r = A("div"), i = A("button"), o = U(n), s = Je(), a = Fe("svg"), l = Fe("path"), u = Fe("path"), h = Je(), c = A("div");
4557
4586
  for (let v = 0; v < d.length; v += 1)
4558
4587
  d[v].c();
4559
4588
  E(l, "d", "M10.5 15l7.5 7.5 7.5-7.5z"), E(l, "class", "svelte-1wi0iai"), E(u, "d", "M0 0h36v36h-36z"), E(u, "fill", "none"), E(u, "class", "svelte-1wi0iai"), E(a, "class", "ExpandArrow " + (/*isDesktop*/
4560
- e[10] ? "" : "Mobile") + " svelte-1wi0iai"), E(a, "xmlns", "http://www.w3.org/2000/svg"), E(a, "width", "36"), E(a, "height", "36"), E(a, "viewBox", "0 0 36 36"), Kr(a, "fill", "var(--emw--color-primary, #22B04E)"), be(
4589
+ e[10] ? "" : "Mobile") + " svelte-1wi0iai"), E(a, "xmlns", "http://www.w3.org/2000/svg"), E(a, "width", "36"), E(a, "height", "36"), E(a, "viewBox", "0 0 36 36"), ti(a, "fill", "var(--emw--color-primary, #22B04E)"), _e(
4561
4590
  a,
4562
4591
  "extended",
4563
4592
  /*extended*/
4564
4593
  e[8]
4565
4594
  ), E(i, "class", "ExpandButton " + (/*isDesktop*/
4566
4595
  e[10] ? "" : "Mobile") + " svelte-1wi0iai"), E(c, "class", "HistoryDisplayArea " + (/*isDesktop*/
4567
- e[10] ? "" : "Mobile") + " svelte-1wi0iai"), be(
4596
+ e[10] ? "" : "Mobile") + " svelte-1wi0iai"), _e(
4568
4597
  c,
4569
4598
  "hidden",
4570
4599
  /*hidden*/
4571
4600
  e[5]
4572
4601
  ), E(r, "class", "HistoryWrapper svelte-1wi0iai"), E(t, "class", "player-account-gaming-limits-history-2 svelte-1wi0iai");
4573
4602
  },
4574
- m(v, P) {
4575
- z(v, t, P), x(t, r), x(r, i), x(i, o), x(i, s), x(i, a), x(a, l), x(a, u), x(r, h), x(r, c);
4576
- for (let g = 0; g < d.length; g += 1)
4577
- d[g] && d[g].m(c, null);
4578
- f || (p = Jr(
4603
+ m(v, H) {
4604
+ z(v, t, H), x(t, r), x(r, i), x(i, o), x(i, s), x(i, a), x(a, l), x(a, u), x(r, h), x(r, c);
4605
+ for (let b = 0; b < d.length; b += 1)
4606
+ d[b] && d[b].m(c, null);
4607
+ f || (p = Kr(
4579
4608
  i,
4580
4609
  "click",
4581
4610
  /*toggleHistoryDisplayArea*/
4582
4611
  e[11]
4583
4612
  ), f = !0);
4584
4613
  },
4585
- p(v, P) {
4586
- if (P[0] & /*$_*/
4614
+ p(v, H) {
4615
+ if (H[0] & /*$_*/
4587
4616
  512 && n !== (n = /*$_*/
4588
- v[9]("expandLimits") + "") && k(o, n), P[0] & /*extended*/
4589
- 256 && be(
4617
+ v[9]("expandLimits") + "") && k(o, n), H[0] & /*extended*/
4618
+ 256 && _e(
4590
4619
  a,
4591
4620
  "extended",
4592
4621
  /*extended*/
4593
4622
  v[8]
4594
- ), P[0] & /*numberofentries, limitContainer, lazyShowedHistoryArray, $_*/
4623
+ ), H[0] & /*numberofentries, limitContainer, lazyShowedHistoryArray, $_*/
4595
4624
  650) {
4596
- y = wt(
4625
+ y = Tt(
4597
4626
  /*lazyShowedHistoryArray*/
4598
4627
  v[7]
4599
4628
  );
4600
- let g;
4601
- for (g = 0; g < y.length; g += 1) {
4602
- const S = Wt(v, y, g);
4603
- d[g] ? d[g].p(S, P) : (d[g] = zt(S), d[g].c(), d[g].m(c, null));
4629
+ let b;
4630
+ for (b = 0; b < y.length; b += 1) {
4631
+ const P = Xt(v, y, b);
4632
+ d[b] ? d[b].p(P, H) : (d[b] = Zt(P), d[b].c(), d[b].m(c, null));
4604
4633
  }
4605
- for (; g < d.length; g += 1)
4606
- d[g].d(1);
4634
+ for (; b < d.length; b += 1)
4635
+ d[b].d(1);
4607
4636
  d.length = y.length;
4608
4637
  }
4609
- P[0] & /*hidden*/
4610
- 32 && be(
4638
+ H[0] & /*hidden*/
4639
+ 32 && _e(
4611
4640
  c,
4612
4641
  "hidden",
4613
4642
  /*hidden*/
@@ -4615,14 +4644,14 @@ function Lo(e) {
4615
4644
  );
4616
4645
  },
4617
4646
  d(v) {
4618
- v && V(t), Yr(d, v), f = !1, p();
4647
+ v && V(t), qr(d, v), f = !1, p();
4619
4648
  }
4620
4649
  };
4621
4650
  }
4622
- function Ao(e) {
4651
+ function Oo(e) {
4623
4652
  return { c: O, m: O, p: O, d: O };
4624
4653
  }
4625
- function Ho(e) {
4654
+ function Co(e) {
4626
4655
  let t, r = (
4627
4656
  /*lang*/
4628
4657
  (e[0] ? (
@@ -4632,7 +4661,7 @@ function Ho(e) {
4632
4661
  ), i;
4633
4662
  return {
4634
4663
  c() {
4635
- t = H("p"), i = G(r), E(t, "class", "svelte-1wi0iai");
4664
+ t = A("p"), i = U(r), E(t, "class", "svelte-1wi0iai");
4636
4665
  },
4637
4666
  m(n, o) {
4638
4667
  z(n, t, o), x(t, i);
@@ -4650,7 +4679,7 @@ function Ho(e) {
4650
4679
  }
4651
4680
  };
4652
4681
  }
4653
- function Po(e) {
4682
+ function Io(e) {
4654
4683
  let t, r, i, n = (
4655
4684
  /*history*/
4656
4685
  e[37].type + ""
@@ -4663,7 +4692,7 @@ function Po(e) {
4663
4692
  ), c;
4664
4693
  return {
4665
4694
  c() {
4666
- t = H("div"), r = H("span"), i = H("span"), o = G(n), s = H("span"), l = G(a), u = H("span"), c = G(h), E(i, "class", "LimitType svelte-1wi0iai"), E(s, "class", "LimitAmountPeriod svelte-1wi0iai"), E(r, "class", "GeneralLimitInformation svelte-1wi0iai"), E(u, "class", "DateLimitInformation svelte-1wi0iai"), E(t, "class", "HistoryRow svelte-1wi0iai");
4695
+ t = A("div"), r = A("span"), i = A("span"), o = U(n), s = A("span"), l = U(a), u = A("span"), c = U(h), E(i, "class", "LimitType svelte-1wi0iai"), E(s, "class", "LimitAmountPeriod svelte-1wi0iai"), E(r, "class", "GeneralLimitInformation svelte-1wi0iai"), E(u, "class", "DateLimitInformation svelte-1wi0iai"), E(t, "class", "HistoryRow svelte-1wi0iai");
4667
4696
  },
4668
4697
  m(f, p) {
4669
4698
  z(f, t, p), x(t, r), x(r, i), x(i, o), x(r, s), x(s, l), x(t, u), x(u, c);
@@ -4682,7 +4711,7 @@ function Po(e) {
4682
4711
  }
4683
4712
  };
4684
4713
  }
4685
- function Bo(e) {
4714
+ function No(e) {
4686
4715
  let t, r, i, n = (
4687
4716
  /*history*/
4688
4717
  e[37].type + ""
@@ -4695,7 +4724,7 @@ function Bo(e) {
4695
4724
  ), c;
4696
4725
  return {
4697
4726
  c() {
4698
- t = H("div"), r = H("span"), i = H("span"), o = G(n), s = H("span"), l = G(a), u = H("span"), c = G(h), E(i, "class", "LimitType svelte-1wi0iai"), E(s, "class", "LimitAmountPeriod svelte-1wi0iai"), E(r, "class", "GeneralLimitInformation svelte-1wi0iai"), E(u, "class", "DateLimitInformation svelte-1wi0iai"), E(t, "class", "HistoryRow svelte-1wi0iai");
4727
+ t = A("div"), r = A("span"), i = A("span"), o = U(n), s = A("span"), l = U(a), u = A("span"), c = U(h), E(i, "class", "LimitType svelte-1wi0iai"), E(s, "class", "LimitAmountPeriod svelte-1wi0iai"), E(r, "class", "GeneralLimitInformation svelte-1wi0iai"), E(u, "class", "DateLimitInformation svelte-1wi0iai"), E(t, "class", "HistoryRow svelte-1wi0iai");
4699
4728
  },
4700
4729
  m(f, p) {
4701
4730
  z(f, t, p), x(t, r), x(r, i), x(i, o), x(r, s), x(s, l), x(t, u), x(u, c);
@@ -4714,7 +4743,7 @@ function Bo(e) {
4714
4743
  }
4715
4744
  };
4716
4745
  }
4717
- function zt(e) {
4746
+ function Zt(e) {
4718
4747
  let t, r, i, n = (
4719
4748
  /*index*/
4720
4749
  e[39]
@@ -4722,7 +4751,7 @@ function zt(e) {
4722
4751
  function o(h, c) {
4723
4752
  return (
4724
4753
  /*history*/
4725
- h[37].removed ? Bo : Po
4754
+ h[37].removed ? No : Io
4726
4755
  );
4727
4756
  }
4728
4757
  let s = o(e), a = s(e);
@@ -4735,7 +4764,7 @@ function zt(e) {
4735
4764
  );
4736
4765
  return {
4737
4766
  c() {
4738
- t = H("div"), a.c(), r = Qe(), E(t, "class", i = Et(
4767
+ t = A("div"), a.c(), r = Je(), E(t, "class", i = wt(
4739
4768
  /*index*/
4740
4769
  e[39] > +/*numberofentries*/
4741
4770
  e[1] ? "LimitContainer" : ""
@@ -4746,7 +4775,7 @@ function zt(e) {
4746
4775
  },
4747
4776
  p(h, c) {
4748
4777
  e = h, s === (s = o(e)) && a ? a.p(e, c) : (a.d(1), a = s(e), a && (a.c(), a.m(t, r))), c[0] & /*numberofentries*/
4749
- 2 && i !== (i = Et(
4778
+ 2 && i !== (i = wt(
4750
4779
  /*index*/
4751
4780
  e[39] > +/*numberofentries*/
4752
4781
  e[1] ? "LimitContainer" : ""
@@ -4759,21 +4788,21 @@ function zt(e) {
4759
4788
  }
4760
4789
  };
4761
4790
  }
4762
- function Oo(e) {
4791
+ function Mo(e) {
4763
4792
  let t;
4764
4793
  function r(o, s) {
4765
4794
  return (
4766
4795
  /*hasErrors*/
4767
- o[6] ? Ho : (
4796
+ o[6] ? Co : (
4768
4797
  /*isLoading*/
4769
- o[4] ? Ao : Lo
4798
+ o[4] ? Oo : Bo
4770
4799
  )
4771
4800
  );
4772
4801
  }
4773
4802
  let i = r(e), n = i(e);
4774
4803
  return {
4775
4804
  c() {
4776
- t = H("div"), n.c(), E(t, "class", "svelte-1wi0iai");
4805
+ t = A("div"), n.c(), E(t, "class", "svelte-1wi0iai");
4777
4806
  },
4778
4807
  m(o, s) {
4779
4808
  z(o, t, s), n.m(t, null), e[23](t);
@@ -4788,45 +4817,45 @@ function Oo(e) {
4788
4817
  }
4789
4818
  };
4790
4819
  }
4791
- function Co(e, t, r) {
4820
+ function Ro(e, t, r) {
4792
4821
  let i;
4793
- zr(e, no, (m) => r(9, i = m));
4794
- let n = window.navigator.userAgent, o = !Eo(n), { lang: s = "" } = t, { userid: a = "" } = t, { session: l = "" } = t, { endpoint: u = "" } = t, { apiversion: h = "" } = t, { numberofentries: c = "10" } = t, { customcurrencysymbols: f = "" } = t, { limitformat: p = "" } = t, { clientstyling: y = "" } = t, { clientstylingurl: d = "" } = t, { mbsource: v } = t, { translationurl: P = "" } = t, g, S = new Array(), D = parseInt(c, 10), M = !1, $ = !0, W = [], pe = [], de = !0, Me = !1, oe = { EUR: "€", RON: "lei", TRY: "₺" };
4795
- const Ar = () => {
4796
- fetch(P).then((w) => w.json()).then((w) => {
4797
- Object.keys(w).forEach((I) => {
4798
- Dt(I, w[I]);
4822
+ Zr(e, so, (m) => r(9, i = m));
4823
+ let n = window.navigator.userAgent, o = !wo(n), { lang: s = "" } = t, { userid: a = "" } = t, { session: l = "" } = t, { endpoint: u = "" } = t, { apiversion: h = "" } = t, { numberofentries: c = "10" } = t, { customcurrencysymbols: f = "" } = t, { limitformat: p = "" } = t, { clientstyling: y = "" } = t, { clientstylingurl: d = "" } = t, { mbsource: v } = t, { translationurl: H = "" } = t, b, P, C = new Array(), R = parseInt(c, 10), F = !1, W = !0, de = [], ye = [], be = !0, De = !1, se = { EUR: "€", RON: "lei", TRY: "₺" };
4824
+ const Pr = () => {
4825
+ fetch(H).then((w) => w.json()).then((w) => {
4826
+ Object.keys(w).forEach((N) => {
4827
+ Ut(N, w[N]);
4799
4828
  });
4800
4829
  }).catch((w) => {
4801
4830
  console.log(w);
4802
4831
  });
4803
4832
  };
4804
- Object.keys(Xe).forEach((m) => {
4805
- Dt(m, Xe[m]);
4833
+ Object.keys(Qe).forEach((m) => {
4834
+ Ut(m, Qe[m]);
4806
4835
  });
4807
- const Hr = () => {
4836
+ const Br = () => {
4808
4837
  let m = h === "gmcore" ? `/v2/player/${a}/transactions/limit` : `/v1/player/${a}/limits/monetary/history`, w = new URL(`${u}${m}`);
4809
4838
  w.searchParams.append("startDate", `${(/* @__PURE__ */ new Date("2022")).toISOString()}`), w.searchParams.append("endDate", `${(/* @__PURE__ */ new Date("2099")).toISOString()}`), w.searchParams.append("limit", "10000");
4810
- let I = {
4839
+ let N = {
4811
4840
  method: "GET",
4812
4841
  headers: { "X-SessionID": l }
4813
4842
  };
4814
- fetch(w.href, I).then((A) => {
4815
- if (A.status >= 300)
4816
- throw r(4, $ = !1), r(6, M = !0), new Error("There was an error fetching the limits");
4817
- return A.json();
4843
+ fetch(w.href, N).then((L) => {
4844
+ if (L.status >= 300)
4845
+ throw r(4, W = !1), r(6, F = !0), new Error("There was an error fetching the limits");
4846
+ return L.json();
4818
4847
  }).then(
4819
- (A) => {
4820
- A.length && (W = Pr(A), r(7, pe = W.slice(0, D))), r(4, $ = !1);
4848
+ (L) => {
4849
+ L.length && (de = Or(L), r(7, ye = de.slice(0, R))), r(4, W = !1);
4821
4850
  },
4822
- (A) => {
4823
- console.error("There was an error", A), r(6, M = !0);
4851
+ (L) => {
4852
+ console.error("There was an error", L), r(6, F = !0);
4824
4853
  }
4825
4854
  );
4826
- }, Pr = (m) => {
4827
- const w = !!Xe[s];
4828
- return m.map((A) => {
4829
- let U = {
4855
+ }, Or = (m) => {
4856
+ const w = !!Qe[s];
4857
+ return m.map((L) => {
4858
+ let $ = {
4830
4859
  amount: "",
4831
4860
  currency: "",
4832
4861
  date: "",
@@ -4834,82 +4863,82 @@ function Co(e, t, r) {
4834
4863
  type: "",
4835
4864
  removed: !1
4836
4865
  };
4837
- return U.amount = Br(A), U.currency = w ? oe[A.limitCurrencyCode] : A.limitCurrencyCode, U.date = new Intl.DateTimeFormat("de", { dateStyle: "medium" }).format(new Date(A.limitDate)), U.period = i(`${A.limitPeriod.toLowerCase()}`), U.type = h === "gmcore" ? i(`historyLimitType${A.limitType.split(" ")[0]}`) : i(`historyLimitType${A.limitType.split(" ")[0]}`) + " " + i(`historyProductType${A.limitProductType}`), U.removed = A.limitAmount === -1, U;
4866
+ return $.amount = Cr(L), $.currency = w ? se[L.limitCurrencyCode] : L.limitCurrencyCode, $.date = new Intl.DateTimeFormat("de", { dateStyle: "medium" }).format(new Date(L.limitDate)), $.period = i(`${L.limitPeriod.toLowerCase()}`), $.type = h === "gmcore" ? i(`historyLimitType${L.limitType.split(" ")[0]}`) : i(`historyLimitType${L.limitType.split(" ")[0]}`) + " " + i(`historyProductType${L.limitProductType}`), $.removed = L.limitAmount === -1, $;
4838
4867
  });
4839
- }, Br = (m) => {
4868
+ }, Cr = (m) => {
4840
4869
  let w = p || Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(m.limitAmount);
4841
4870
  if (!p) {
4842
- let Ur = oe[m.limitCurrencyCode] || m.limitCurrencyCode;
4843
- return `${w}${Ur}`;
4871
+ let Fr = se[m.limitCurrencyCode] || m.limitCurrencyCode;
4872
+ return `${w}${Fr}`;
4844
4873
  }
4845
4874
  typeof m.limitAmount == "string" && m.limitAmount.includes(",") && (m.limitAmount = m.limitAmount.replaceAll(",", ""));
4846
- const I = w.match(/\{(\d+)decimals\}/), A = I ? parseInt(I[1], 10) : 2, U = I ? new RegExp("\\{\\d+decimals\\}", "g") : "{decimals}";
4847
- let ye = parseFloat(m.limitAmount).toFixed(A);
4848
- const [Dr, Re] = p.includes(".") ? [",", "."] : [".", ","];
4849
- let [De, $r] = ye.split(".");
4850
- return De = De.replace(/\B(?=(\d{3})+(?!\d))/g, Dr), ye = `${De}${Re}${$r}`, w = w.replace("{currency}", oe[m.limitCurrencyCode] || m.limitCurrencyCode).replace("{amount}", ye.split(Re)[0]).replace(
4851
- U,
4852
- ye.split(Re)[1]
4875
+ const N = w.match(/\{(\d+)decimals\}/), L = N ? parseInt(N[1], 10) : 2, $ = N ? new RegExp("\\{\\d+decimals\\}", "g") : "{decimals}";
4876
+ let ge = parseFloat(m.limitAmount).toFixed(L);
4877
+ const [Ur, $e] = p.includes(".") ? [",", "."] : [".", ","];
4878
+ let [Ue, Gr] = ge.split(".");
4879
+ return Ue = Ue.replace(/\B(?=(\d{3})+(?!\d))/g, Ur), ge = `${Ue}${$e}${Gr}`, w = w.replace("{currency}", se[m.limitCurrencyCode] || m.limitCurrencyCode).replace("{amount}", ge.split($e)[0]).replace(
4880
+ $,
4881
+ ge.split($e)[1]
4853
4882
  ), w;
4854
- }, Or = () => {
4855
- r(5, de = !de), r(8, Me = !Me);
4883
+ }, Ir = () => {
4884
+ r(5, be = !be), r(8, De = !De);
4856
4885
  };
4857
- let yt = new IntersectionObserver((m) => {
4886
+ let gt = new IntersectionObserver((m) => {
4858
4887
  m.forEach((w) => {
4859
- w.isIntersecting && (D += parseInt(c, 10) || 10, pe.length < W.length && r(7, pe = W.slice(0, D)));
4888
+ w.isIntersecting && (R += parseInt(c, 10) || 10, ye.length < de.length && r(7, ye = de.slice(0, R)));
4860
4889
  });
4861
4890
  });
4862
- const Cr = () => {
4863
- yt.observe(S[S.length - 1]);
4864
- }, Ir = () => {
4891
+ const Nr = () => {
4892
+ gt.observe(C[C.length - 1]);
4893
+ }, Mr = () => {
4865
4894
  if (!f)
4866
4895
  return;
4867
4896
  let m = {};
4868
4897
  f.split(",").forEach((w) => {
4869
- let I = w.split(":");
4870
- m[I[0].trim()] = I[1].trim();
4871
- }), oe = ge(ge({}, oe), m);
4872
- }, Nr = () => {
4873
- oo(s);
4898
+ let N = w.split(":");
4899
+ m[N[0].trim()] = N[1].trim();
4900
+ }), se = ve(ve({}, se), m);
4901
+ }, Rr = () => {
4902
+ ao(s);
4874
4903
  };
4875
- ri(() => () => {
4876
- yt.unobserve(S[S.length - 1]);
4904
+ ni(() => () => {
4905
+ gt.unobserve(C[C.length - 1]);
4877
4906
  });
4878
- function Mr(m, w) {
4879
- Se[m ? "unshift" : "push"](() => {
4880
- S[w] = m, r(3, S);
4907
+ function Dr(m, w) {
4908
+ Ae[m ? "unshift" : "push"](() => {
4909
+ C[w] = m, r(3, C);
4881
4910
  });
4882
4911
  }
4883
- function Rr(m) {
4884
- Se[m ? "unshift" : "push"](() => {
4885
- g = m, r(2, g);
4912
+ function $r(m) {
4913
+ Ae[m ? "unshift" : "push"](() => {
4914
+ b = m, r(2, b);
4886
4915
  });
4887
4916
  }
4888
4917
  return e.$$set = (m) => {
4889
- "lang" in m && r(0, s = m.lang), "userid" in m && r(12, a = m.userid), "session" in m && r(13, l = m.session), "endpoint" in m && r(14, u = m.endpoint), "apiversion" in m && r(15, h = m.apiversion), "numberofentries" in m && r(1, c = m.numberofentries), "customcurrencysymbols" in m && r(16, f = m.customcurrencysymbols), "limitformat" in m && r(17, p = m.limitformat), "clientstyling" in m && r(18, y = m.clientstyling), "clientstylingurl" in m && r(19, d = m.clientstylingurl), "mbsource" in m && r(20, v = m.mbsource), "translationurl" in m && r(21, P = m.translationurl);
4918
+ "lang" in m && r(0, s = m.lang), "userid" in m && r(12, a = m.userid), "session" in m && r(13, l = m.session), "endpoint" in m && r(14, u = m.endpoint), "apiversion" in m && r(15, h = m.apiversion), "numberofentries" in m && r(1, c = m.numberofentries), "customcurrencysymbols" in m && r(16, f = m.customcurrencysymbols), "limitformat" in m && r(17, p = m.limitformat), "clientstyling" in m && r(18, y = m.clientstyling), "clientstylingurl" in m && r(19, d = m.clientstylingurl), "mbsource" in m && r(20, v = m.mbsource), "translationurl" in m && r(21, H = m.translationurl);
4890
4919
  }, e.$$.update = () => {
4891
4920
  e.$$.dirty[0] & /*customcurrencysymbols*/
4892
- 65536 && f && Ir(), e.$$.dirty[0] & /*endpoint, userid, session, apiversion*/
4893
- 61440 && u && a && l && h && Hr(), e.$$.dirty[0] & /*limitContainer, isLoading, hidden*/
4894
- 56 && S[0] && !$ && !de && Cr(), e.$$.dirty[0] & /*lang*/
4895
- 1 && s && Nr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4896
- 262148 && y && g && xo(g, y), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4897
- 524292 && d && g && wo(g, d), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4898
- 1048580 && v && g && To(g, `${v}.Style`), e.$$.dirty[0] & /*translationurl, customStylingContainer*/
4899
- 2097156 && P && g && Ar();
4921
+ 65536 && f && Mr(), e.$$.dirty[0] & /*endpoint, userid, session, apiversion*/
4922
+ 61440 && u && a && l && h && Br(), e.$$.dirty[0] & /*limitContainer, isLoading, hidden*/
4923
+ 56 && C[0] && !W && !be && Nr(), e.$$.dirty[0] & /*lang*/
4924
+ 1 && s && Rr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4925
+ 262148 && y && b && So(b, y), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4926
+ 524292 && d && b && To(b, d), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4927
+ 1048580 && v && b && Lo(b, `${v}.Style`, P), e.$$.dirty[0] & /*translationurl, customStylingContainer*/
4928
+ 2097156 && H && b && Pr();
4900
4929
  }, [
4901
4930
  s,
4902
4931
  c,
4903
- g,
4904
- S,
4905
- $,
4906
- de,
4907
- M,
4908
- pe,
4909
- Me,
4932
+ b,
4933
+ C,
4934
+ W,
4935
+ be,
4936
+ F,
4937
+ ye,
4938
+ De,
4910
4939
  i,
4911
4940
  o,
4912
- Or,
4941
+ Ir,
4913
4942
  a,
4914
4943
  l,
4915
4944
  u,
@@ -4919,19 +4948,19 @@ function Co(e, t, r) {
4919
4948
  y,
4920
4949
  d,
4921
4950
  v,
4922
- P,
4923
- Mr,
4924
- Rr
4951
+ H,
4952
+ Dr,
4953
+ $r
4925
4954
  ];
4926
4955
  }
4927
- class Io extends pi {
4956
+ class Do extends yi {
4928
4957
  constructor(t) {
4929
- super(), fi(
4958
+ super(), pi(
4930
4959
  this,
4931
4960
  t,
4932
- Co,
4933
- Oo,
4934
- Zt,
4961
+ Ro,
4962
+ Mo,
4963
+ Yt,
4935
4964
  {
4936
4965
  lang: 0,
4937
4966
  userid: 12,
@@ -4946,7 +4975,7 @@ class Io extends pi {
4946
4975
  mbsource: 20,
4947
4976
  translationurl: 21
4948
4977
  },
4949
- So,
4978
+ Po,
4950
4979
  [-1, -1]
4951
4980
  );
4952
4981
  }
@@ -4954,76 +4983,76 @@ class Io extends pi {
4954
4983
  return this.$$.ctx[0];
4955
4984
  }
4956
4985
  set lang(t) {
4957
- this.$$set({ lang: t }), C();
4986
+ this.$$set({ lang: t }), I();
4958
4987
  }
4959
4988
  get userid() {
4960
4989
  return this.$$.ctx[12];
4961
4990
  }
4962
4991
  set userid(t) {
4963
- this.$$set({ userid: t }), C();
4992
+ this.$$set({ userid: t }), I();
4964
4993
  }
4965
4994
  get session() {
4966
4995
  return this.$$.ctx[13];
4967
4996
  }
4968
4997
  set session(t) {
4969
- this.$$set({ session: t }), C();
4998
+ this.$$set({ session: t }), I();
4970
4999
  }
4971
5000
  get endpoint() {
4972
5001
  return this.$$.ctx[14];
4973
5002
  }
4974
5003
  set endpoint(t) {
4975
- this.$$set({ endpoint: t }), C();
5004
+ this.$$set({ endpoint: t }), I();
4976
5005
  }
4977
5006
  get apiversion() {
4978
5007
  return this.$$.ctx[15];
4979
5008
  }
4980
5009
  set apiversion(t) {
4981
- this.$$set({ apiversion: t }), C();
5010
+ this.$$set({ apiversion: t }), I();
4982
5011
  }
4983
5012
  get numberofentries() {
4984
5013
  return this.$$.ctx[1];
4985
5014
  }
4986
5015
  set numberofentries(t) {
4987
- this.$$set({ numberofentries: t }), C();
5016
+ this.$$set({ numberofentries: t }), I();
4988
5017
  }
4989
5018
  get customcurrencysymbols() {
4990
5019
  return this.$$.ctx[16];
4991
5020
  }
4992
5021
  set customcurrencysymbols(t) {
4993
- this.$$set({ customcurrencysymbols: t }), C();
5022
+ this.$$set({ customcurrencysymbols: t }), I();
4994
5023
  }
4995
5024
  get limitformat() {
4996
5025
  return this.$$.ctx[17];
4997
5026
  }
4998
5027
  set limitformat(t) {
4999
- this.$$set({ limitformat: t }), C();
5028
+ this.$$set({ limitformat: t }), I();
5000
5029
  }
5001
5030
  get clientstyling() {
5002
5031
  return this.$$.ctx[18];
5003
5032
  }
5004
5033
  set clientstyling(t) {
5005
- this.$$set({ clientstyling: t }), C();
5034
+ this.$$set({ clientstyling: t }), I();
5006
5035
  }
5007
5036
  get clientstylingurl() {
5008
5037
  return this.$$.ctx[19];
5009
5038
  }
5010
5039
  set clientstylingurl(t) {
5011
- this.$$set({ clientstylingurl: t }), C();
5040
+ this.$$set({ clientstylingurl: t }), I();
5012
5041
  }
5013
5042
  get mbsource() {
5014
5043
  return this.$$.ctx[20];
5015
5044
  }
5016
5045
  set mbsource(t) {
5017
- this.$$set({ mbsource: t }), C();
5046
+ this.$$set({ mbsource: t }), I();
5018
5047
  }
5019
5048
  get translationurl() {
5020
5049
  return this.$$.ctx[21];
5021
5050
  }
5022
5051
  set translationurl(t) {
5023
- this.$$set({ translationurl: t }), C();
5052
+ this.$$set({ translationurl: t }), I();
5024
5053
  }
5025
5054
  }
5026
- mi(Io, { lang: {}, userid: {}, session: {}, endpoint: {}, apiversion: {}, numberofentries: {}, customcurrencysymbols: {}, limitformat: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
5055
+ di(Do, { lang: {}, userid: {}, session: {}, endpoint: {}, apiversion: {}, numberofentries: {}, customcurrencysymbols: {}, limitformat: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
5027
5056
  export {
5028
- Io as default
5057
+ Do as default
5029
5058
  };