@everymatrix/player-account-gaming-limits-popup-2 1.87.26 → 1.87.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,46 +1,46 @@
1
- function te() {
1
+ function ee() {
2
2
  }
3
- function zt(e) {
3
+ function Ft(e) {
4
4
  return e();
5
5
  }
6
- function wt() {
6
+ function St() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
9
  function ue(e) {
10
- e.forEach(zt);
10
+ e.forEach(Ft);
11
11
  }
12
- function Et(e) {
12
+ function _t(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function Ft(e, t) {
15
+ function Vt(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
- function yi(e) {
18
+ function En(e) {
19
19
  return Object.keys(e).length === 0;
20
20
  }
21
- function Vt(e, ...t) {
21
+ function Xt(e, ...t) {
22
22
  if (e == null) {
23
- for (const n of t)
24
- n(void 0);
25
- return te;
23
+ for (const i of t)
24
+ i(void 0);
25
+ return ee;
26
26
  }
27
- const i = e.subscribe(...t);
28
- return i.unsubscribe ? () => i.unsubscribe() : i;
27
+ const n = e.subscribe(...t);
28
+ return n.unsubscribe ? () => n.unsubscribe() : n;
29
29
  }
30
- function vi(e, t, i) {
31
- e.$$.on_destroy.push(Vt(t, i));
30
+ function _n(e, t, n) {
31
+ e.$$.on_destroy.push(Xt(t, n));
32
32
  }
33
33
  function f(e, t) {
34
34
  e.appendChild(t);
35
35
  }
36
- function Ei(e, t, i) {
37
- const n = _i(e);
38
- if (!n.getElementById(t)) {
39
- const r = b("style");
40
- r.id = t, r.textContent = i, xi(n, r);
36
+ function xn(e, t, n) {
37
+ const i = wn(e);
38
+ if (!i.getElementById(t)) {
39
+ const r = g("style");
40
+ r.id = t, r.textContent = n, Tn(i, r);
41
41
  }
42
42
  }
43
- function _i(e) {
43
+ function wn(e) {
44
44
  if (!e)
45
45
  return document;
46
46
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -50,154 +50,154 @@ function _i(e) {
50
50
  t
51
51
  ) : e.ownerDocument;
52
52
  }
53
- function xi(e, t) {
53
+ function Tn(e, t) {
54
54
  return f(
55
55
  /** @type {Document} */
56
56
  e.head || e,
57
57
  t
58
58
  ), t.sheet;
59
59
  }
60
- function T(e, t, i) {
61
- e.insertBefore(t, i || null);
60
+ function x(e, t, n) {
61
+ e.insertBefore(t, n || null);
62
62
  }
63
- function x(e) {
63
+ function E(e) {
64
64
  e.parentNode && e.parentNode.removeChild(e);
65
65
  }
66
- function b(e) {
66
+ function g(e) {
67
67
  return document.createElement(e);
68
68
  }
69
- function Y(e) {
69
+ function Z(e) {
70
70
  return document.createElementNS("http://www.w3.org/2000/svg", e);
71
71
  }
72
- function L(e) {
72
+ function S(e) {
73
73
  return document.createTextNode(e);
74
74
  }
75
- function N() {
76
- return L(" ");
75
+ function M() {
76
+ return S(" ");
77
77
  }
78
- function Z(e, t, i, n) {
79
- return e.addEventListener(t, i, n), () => e.removeEventListener(t, i, n);
78
+ function W(e, t, n, i) {
79
+ return e.addEventListener(t, n, i), () => e.removeEventListener(t, n, i);
80
80
  }
81
- function h(e, t, i) {
82
- i == null ? e.removeAttribute(t) : e.getAttribute(t) !== i && e.setAttribute(t, i);
81
+ function h(e, t, n) {
82
+ n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
83
83
  }
84
- function Xt(e) {
84
+ function qt(e) {
85
85
  return e === "" ? null : +e;
86
86
  }
87
- function Ti(e) {
87
+ function Pn(e) {
88
88
  return Array.from(e.childNodes);
89
89
  }
90
- function k(e, t) {
90
+ function C(e, t) {
91
91
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
92
92
  t);
93
93
  }
94
94
  function Bt(e, t) {
95
95
  e.value = t ?? "";
96
96
  }
97
- function He(e, t, i, n) {
98
- i == null ? e.style.removeProperty(t) : e.style.setProperty(t, i, "");
97
+ function Ne(e, t, n, i) {
98
+ n == null ? e.style.removeProperty(t) : e.style.setProperty(t, n, "");
99
99
  }
100
- function Ge(e, t, i) {
101
- e.classList.toggle(t, !!i);
100
+ function $e(e, t, n) {
101
+ e.classList.toggle(t, !!n);
102
102
  }
103
- function Pi(e) {
103
+ function Sn(e) {
104
104
  const t = {};
105
105
  return e.childNodes.forEach(
106
106
  /** @param {Element} node */
107
- (i) => {
108
- t[i.slot || "default"] = !0;
107
+ (n) => {
108
+ t[n.slot || "default"] = !0;
109
109
  }
110
110
  ), t;
111
111
  }
112
- let Ne;
113
- function Ce(e) {
114
- Ne = e;
112
+ let Me;
113
+ function Oe(e) {
114
+ Me = e;
115
115
  }
116
- function wi() {
117
- if (!Ne)
116
+ function Bn() {
117
+ if (!Me)
118
118
  throw new Error("Function called outside component initialization");
119
- return Ne;
119
+ return Me;
120
120
  }
121
- function Bi(e) {
122
- wi().$$.on_mount.push(e);
121
+ function Ln(e) {
122
+ Bn().$$.on_mount.push(e);
123
123
  }
124
- const be = [], ye = [];
125
- let ve = [];
126
- const Lt = [], Li = /* @__PURE__ */ Promise.resolve();
127
- let ut = !1;
128
- function Si() {
129
- ut || (ut = !0, Li.then(ee));
124
+ const ye = [], Ee = [];
125
+ let _e = [];
126
+ const Lt = [], An = /* @__PURE__ */ Promise.resolve();
127
+ let ct = !1;
128
+ function In() {
129
+ ct || (ct = !0, An.then(K));
130
130
  }
131
- function ct(e) {
132
- ve.push(e);
131
+ function ht(e) {
132
+ _e.push(e);
133
133
  }
134
134
  const it = /* @__PURE__ */ new Set();
135
- let de = 0;
136
- function ee() {
137
- if (de !== 0)
135
+ let be = 0;
136
+ function K() {
137
+ if (be !== 0)
138
138
  return;
139
- const e = Ne;
139
+ const e = Me;
140
140
  do {
141
141
  try {
142
- for (; de < be.length; ) {
143
- const t = be[de];
144
- de++, Ce(t), Ai(t.$$);
142
+ for (; be < ye.length; ) {
143
+ const t = ye[be];
144
+ be++, Oe(t), kn(t.$$);
145
145
  }
146
146
  } catch (t) {
147
- throw be.length = 0, de = 0, t;
147
+ throw ye.length = 0, be = 0, t;
148
148
  }
149
- for (Ce(null), be.length = 0, de = 0; ye.length; )
150
- ye.pop()();
151
- for (let t = 0; t < ve.length; t += 1) {
152
- const i = ve[t];
153
- it.has(i) || (it.add(i), i());
149
+ for (Oe(null), ye.length = 0, be = 0; Ee.length; )
150
+ Ee.pop()();
151
+ for (let t = 0; t < _e.length; t += 1) {
152
+ const n = _e[t];
153
+ it.has(n) || (it.add(n), n());
154
154
  }
155
- ve.length = 0;
156
- } while (be.length);
155
+ _e.length = 0;
156
+ } while (ye.length);
157
157
  for (; Lt.length; )
158
158
  Lt.pop()();
159
- ut = !1, it.clear(), Ce(e);
159
+ ct = !1, it.clear(), Oe(e);
160
160
  }
161
- function Ai(e) {
161
+ function kn(e) {
162
162
  if (e.fragment !== null) {
163
163
  e.update(), ue(e.before_update);
164
164
  const t = e.dirty;
165
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ct);
165
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ht);
166
166
  }
167
167
  }
168
- function Ii(e) {
169
- const t = [], i = [];
170
- ve.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : i.push(n)), i.forEach((n) => n()), ve = t;
168
+ function Cn(e) {
169
+ const t = [], n = [];
170
+ _e.forEach((i) => e.indexOf(i) === -1 ? t.push(i) : n.push(i)), n.forEach((i) => i()), _e = t;
171
171
  }
172
- const ki = /* @__PURE__ */ new Set();
173
- function Hi(e, t) {
174
- e && e.i && (ki.delete(e), e.i(t));
172
+ const Hn = /* @__PURE__ */ new Set();
173
+ function Nn(e, t) {
174
+ e && e.i && (Hn.delete(e), e.i(t));
175
175
  }
176
- function Ci(e, t, i) {
177
- const { fragment: n, after_update: r } = e.$$;
178
- n && n.m(t, i), ct(() => {
179
- const o = e.$$.on_mount.map(zt).filter(Et);
176
+ function On(e, t, n) {
177
+ const { fragment: i, after_update: r } = e.$$;
178
+ i && i.m(t, n), ht(() => {
179
+ const o = e.$$.on_mount.map(Ft).filter(_t);
180
180
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ue(o), e.$$.on_mount = [];
181
- }), r.forEach(ct);
181
+ }), r.forEach(ht);
182
182
  }
183
- function Ni(e, t) {
184
- const i = e.$$;
185
- i.fragment !== null && (Ii(i.after_update), ue(i.on_destroy), i.fragment && i.fragment.d(t), i.on_destroy = i.fragment = null, i.ctx = []);
183
+ function Mn(e, t) {
184
+ const n = e.$$;
185
+ n.fragment !== null && (Cn(n.after_update), ue(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
186
186
  }
187
- function Oi(e, t) {
188
- e.$$.dirty[0] === -1 && (be.push(e), Si(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
187
+ function Dn(e, t) {
188
+ e.$$.dirty[0] === -1 && (ye.push(e), In(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
189
189
  }
190
- function Mi(e, t, i, n, r, o, a = null, s = [-1]) {
191
- const u = Ne;
192
- Ce(e);
190
+ function Rn(e, t, n, i, r, o, a = null, s = [-1]) {
191
+ const u = Me;
192
+ Oe(e);
193
193
  const l = e.$$ = {
194
194
  fragment: null,
195
195
  ctx: [],
196
196
  // state
197
197
  props: o,
198
- update: te,
198
+ update: ee,
199
199
  not_equal: r,
200
- bound: wt(),
200
+ bound: St(),
201
201
  // lifecycle
202
202
  on_mount: [],
203
203
  on_destroy: [],
@@ -206,28 +206,28 @@ function Mi(e, t, i, n, r, o, a = null, s = [-1]) {
206
206
  after_update: [],
207
207
  context: new Map(t.context || (u ? u.$$.context : [])),
208
208
  // everything else
209
- callbacks: wt(),
209
+ callbacks: St(),
210
210
  dirty: s,
211
211
  skip_bound: !1,
212
212
  root: t.target || u.$$.root
213
213
  };
214
214
  a && a(l.root);
215
215
  let c = !1;
216
- if (l.ctx = i ? i(e, t.props || {}, (p, m, ...d) => {
217
- const E = d.length ? d[0] : m;
218
- return l.ctx && r(l.ctx[p], l.ctx[p] = E) && (!l.skip_bound && l.bound[p] && l.bound[p](E), c && Oi(e, p)), m;
219
- }) : [], l.update(), c = !0, ue(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
216
+ if (l.ctx = n ? n(e, t.props || {}, (p, m, ...d) => {
217
+ const w = d.length ? d[0] : m;
218
+ return l.ctx && r(l.ctx[p], l.ctx[p] = w) && (!l.skip_bound && l.bound[p] && l.bound[p](w), c && Dn(e, p)), m;
219
+ }) : [], l.update(), c = !0, ue(l.before_update), l.fragment = i ? i(l.ctx) : !1, t.target) {
220
220
  if (t.hydrate) {
221
- const p = Ti(t.target);
222
- l.fragment && l.fragment.l(p), p.forEach(x);
221
+ const p = Pn(t.target);
222
+ l.fragment && l.fragment.l(p), p.forEach(E);
223
223
  } else
224
224
  l.fragment && l.fragment.c();
225
- t.intro && Hi(e.$$.fragment), Ci(e, t.target, t.anchor), ee();
225
+ t.intro && Nn(e.$$.fragment), On(e, t.target, t.anchor), K();
226
226
  }
227
- Ce(u);
227
+ Oe(u);
228
228
  }
229
- let qt;
230
- typeof HTMLElement == "function" && (qt = class extends HTMLElement {
229
+ let Wt;
230
+ typeof HTMLElement == "function" && (Wt = class extends HTMLElement {
231
231
  /** The Svelte component constructor */
232
232
  $$ctor;
233
233
  /** Slots */
@@ -246,20 +246,20 @@ typeof HTMLElement == "function" && (qt = class extends HTMLElement {
246
246
  $$l = {};
247
247
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
248
248
  $$l_u = /* @__PURE__ */ new Map();
249
- constructor(e, t, i) {
250
- super(), this.$$ctor = e, this.$$s = t, i && this.attachShadow({ mode: "open" });
249
+ constructor(e, t, n) {
250
+ super(), this.$$ctor = e, this.$$s = t, n && this.attachShadow({ mode: "open" });
251
251
  }
252
- addEventListener(e, t, i) {
252
+ addEventListener(e, t, n) {
253
253
  if (this.$$l[e] = this.$$l[e] || [], this.$$l[e].push(t), this.$$c) {
254
- const n = this.$$c.$on(e, t);
255
- this.$$l_u.set(t, n);
254
+ const i = this.$$c.$on(e, t);
255
+ this.$$l_u.set(t, i);
256
256
  }
257
- super.addEventListener(e, t, i);
257
+ super.addEventListener(e, t, n);
258
258
  }
259
- removeEventListener(e, t, i) {
260
- if (super.removeEventListener(e, t, i), this.$$c) {
261
- const n = this.$$l_u.get(t);
262
- n && (n(), this.$$l_u.delete(t));
259
+ removeEventListener(e, t, n) {
260
+ if (super.removeEventListener(e, t, n), this.$$c) {
261
+ const i = this.$$l_u.get(t);
262
+ i && (i(), this.$$l_u.delete(t));
263
263
  }
264
264
  }
265
265
  async connectedCallback() {
@@ -269,29 +269,29 @@ typeof HTMLElement == "function" && (qt = class extends HTMLElement {
269
269
  let o;
270
270
  return {
271
271
  c: function() {
272
- o = b("slot"), r !== "default" && h(o, "name", r);
272
+ o = g("slot"), r !== "default" && h(o, "name", r);
273
273
  },
274
274
  /**
275
275
  * @param {HTMLElement} target
276
276
  * @param {HTMLElement} [anchor]
277
277
  */
278
278
  m: function(u, l) {
279
- T(u, o, l);
279
+ x(u, o, l);
280
280
  },
281
281
  d: function(u) {
282
- u && x(o);
282
+ u && E(o);
283
283
  }
284
284
  };
285
285
  };
286
286
  };
287
287
  if (await Promise.resolve(), !this.$$cn || this.$$c)
288
288
  return;
289
- const t = {}, i = Pi(this);
289
+ const t = {}, n = Sn(this);
290
290
  for (const r of this.$$s)
291
- r in i && (t[r] = [e(r)]);
291
+ r in n && (t[r] = [e(r)]);
292
292
  for (const r of this.attributes) {
293
293
  const o = this.$$g_p(r.name);
294
- o in this.$$d || (this.$$d[o] = ze(o, r.value, this.$$p_d, "toProp"));
294
+ o in this.$$d || (this.$$d[o] = Fe(o, r.value, this.$$p_d, "toProp"));
295
295
  }
296
296
  for (const r in this.$$p_d)
297
297
  !(r in this.$$d) && this[r] !== void 0 && (this.$$d[r] = this[r], delete this[r]);
@@ -305,11 +305,11 @@ typeof HTMLElement == "function" && (qt = class extends HTMLElement {
305
305
  }
306
306
  }
307
307
  });
308
- const n = () => {
308
+ const i = () => {
309
309
  this.$$r = !0;
310
310
  for (const r in this.$$p_d)
311
311
  if (this.$$d[r] = this.$$c.$$.ctx[this.$$c.$$.props[r]], this.$$p_d[r].reflect) {
312
- const o = ze(
312
+ const o = Fe(
313
313
  r,
314
314
  this.$$d[r],
315
315
  this.$$p_d,
@@ -319,7 +319,7 @@ typeof HTMLElement == "function" && (qt = class extends HTMLElement {
319
319
  }
320
320
  this.$$r = !1;
321
321
  };
322
- this.$$c.$$.after_update.push(n), n();
322
+ this.$$c.$$.after_update.push(i), i();
323
323
  for (const r in this.$$l)
324
324
  for (const o of this.$$l[r]) {
325
325
  const a = this.$$c.$on(r, o);
@@ -330,8 +330,8 @@ typeof HTMLElement == "function" && (qt = class extends HTMLElement {
330
330
  }
331
331
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
332
332
  // and setting attributes through setAttribute etc, this is helpful
333
- attributeChangedCallback(e, t, i) {
334
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = ze(e, i, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
333
+ attributeChangedCallback(e, t, n) {
334
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = Fe(e, n, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
335
335
  }
336
336
  disconnectedCallback() {
337
337
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -344,11 +344,11 @@ typeof HTMLElement == "function" && (qt = class extends HTMLElement {
344
344
  ) || e;
345
345
  }
346
346
  });
347
- function ze(e, t, i, n) {
348
- const r = i[e]?.type;
349
- if (t = r === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !i[e])
347
+ function Fe(e, t, n, i) {
348
+ const r = n[e]?.type;
349
+ if (t = r === "Boolean" && typeof t != "boolean" ? t != null : t, !i || !n[e])
350
350
  return t;
351
- if (n === "toAttribute")
351
+ if (i === "toAttribute")
352
352
  switch (r) {
353
353
  case "Object":
354
354
  case "Array":
@@ -373,10 +373,10 @@ function ze(e, t, i, n) {
373
373
  return t;
374
374
  }
375
375
  }
376
- function Di(e, t, i, n, r, o) {
377
- let a = class extends qt {
376
+ function Un(e, t, n, i, r, o) {
377
+ let a = class extends Wt {
378
378
  constructor() {
379
- super(e, i, r), this.$$p_d = t;
379
+ super(e, n, r), this.$$p_d = t;
380
380
  }
381
381
  static get observedAttributes() {
382
382
  return Object.keys(t).map(
@@ -390,10 +390,10 @@ function Di(e, t, i, n, r, o) {
390
390
  return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
391
391
  },
392
392
  set(u) {
393
- u = ze(s, u, t), this.$$d[s] = u, this.$$c?.$set({ [s]: u });
393
+ u = Fe(s, u, t), this.$$d[s] = u, this.$$c?.$set({ [s]: u });
394
394
  }
395
395
  });
396
- }), n.forEach((s) => {
396
+ }), i.forEach((s) => {
397
397
  Object.defineProperty(a.prototype, s, {
398
398
  get() {
399
399
  return this.$$c?.[s];
@@ -402,7 +402,7 @@ function Di(e, t, i, n, r, o) {
402
402
  }), e.element = /** @type {any} */
403
403
  a, a;
404
404
  }
405
- class Ri {
405
+ class jn {
406
406
  /**
407
407
  * ### PRIVATE API
408
408
  *
@@ -421,7 +421,7 @@ class Ri {
421
421
  $$set = void 0;
422
422
  /** @returns {void} */
423
423
  $destroy() {
424
- Ni(this, 1), this.$destroy = te;
424
+ Mn(this, 1), this.$destroy = ee;
425
425
  }
426
426
  /**
427
427
  * @template {Extract<keyof Events, string>} K
@@ -429,13 +429,13 @@ class Ri {
429
429
  * @param {((e: Events[K]) => void) | null | undefined} callback
430
430
  * @returns {() => void}
431
431
  */
432
- $on(t, i) {
433
- if (!Et(i))
434
- return te;
435
- const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
436
- return n.push(i), () => {
437
- const r = n.indexOf(i);
438
- r !== -1 && n.splice(r, 1);
432
+ $on(t, n) {
433
+ if (!_t(n))
434
+ return ee;
435
+ const i = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
436
+ return i.push(n), () => {
437
+ const r = i.indexOf(n);
438
+ r !== -1 && i.splice(r, 1);
439
439
  };
440
440
  }
441
441
  /**
@@ -443,24 +443,24 @@ class Ri {
443
443
  * @returns {void}
444
444
  */
445
445
  $set(t) {
446
- this.$$set && !yi(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
446
+ this.$$set && !En(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
447
447
  }
448
448
  }
449
- const Ui = "4";
450
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Ui);
449
+ const Gn = "4";
450
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Gn);
451
451
  const ge = [];
452
- function ji(e, t) {
452
+ function $n(e, t) {
453
453
  return {
454
- subscribe: Ze(e, t).subscribe
454
+ subscribe: Ye(e, t).subscribe
455
455
  };
456
456
  }
457
- function Ze(e, t = te) {
458
- let i;
459
- const n = /* @__PURE__ */ new Set();
457
+ function Ye(e, t = ee) {
458
+ let n;
459
+ const i = /* @__PURE__ */ new Set();
460
460
  function r(s) {
461
- if (Ft(e, s) && (e = s, i)) {
461
+ if (Vt(e, s) && (e = s, n)) {
462
462
  const u = !ge.length;
463
- for (const l of n)
463
+ for (const l of i)
464
464
  l[1](), ge.push(l, e);
465
465
  if (u) {
466
466
  for (let l = 0; l < ge.length; l += 2)
@@ -472,37 +472,37 @@ function Ze(e, t = te) {
472
472
  function o(s) {
473
473
  r(s(e));
474
474
  }
475
- function a(s, u = te) {
475
+ function a(s, u = ee) {
476
476
  const l = [s, u];
477
- return n.add(l), n.size === 1 && (i = t(r, o) || te), s(e), () => {
478
- n.delete(l), n.size === 0 && i && (i(), i = null);
477
+ return i.add(l), i.size === 1 && (n = t(r, o) || ee), s(e), () => {
478
+ i.delete(l), i.size === 0 && n && (n(), n = null);
479
479
  };
480
480
  }
481
481
  return { set: r, update: o, subscribe: a };
482
482
  }
483
- function Pe(e, t, i) {
484
- const n = !Array.isArray(e), r = n ? [e] : e;
483
+ function Se(e, t, n) {
484
+ const i = !Array.isArray(e), r = i ? [e] : e;
485
485
  if (!r.every(Boolean))
486
486
  throw new Error("derived() expects stores as input, got a falsy value");
487
487
  const o = t.length < 2;
488
- return ji(i, (a, s) => {
488
+ return $n(n, (a, s) => {
489
489
  let u = !1;
490
490
  const l = [];
491
- let c = 0, p = te;
491
+ let c = 0, p = ee;
492
492
  const m = () => {
493
493
  if (c)
494
494
  return;
495
495
  p();
496
- const E = t(n ? l[0] : l, a, s);
497
- o ? a(E) : p = Et(E) ? E : te;
496
+ const w = t(i ? l[0] : l, a, s);
497
+ o ? a(w) : p = _t(w) ? w : ee;
498
498
  }, d = r.map(
499
- (E, _) => Vt(
500
- E,
499
+ (w, v) => Xt(
500
+ w,
501
501
  (y) => {
502
- l[_] = y, c &= ~(1 << _), u && m();
502
+ l[v] = y, c &= ~(1 << v), u && m();
503
503
  },
504
504
  () => {
505
- c |= 1 << _;
505
+ c |= 1 << v;
506
506
  }
507
507
  )
508
508
  );
@@ -511,153 +511,153 @@ function Pe(e, t, i) {
511
511
  };
512
512
  });
513
513
  }
514
- function Gi(e) {
514
+ function zn(e) {
515
515
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
516
516
  }
517
- var $i = function(t) {
518
- return zi(t) && !Fi(t);
517
+ var Fn = function(t) {
518
+ return Vn(t) && !Xn(t);
519
519
  };
520
- function zi(e) {
520
+ function Vn(e) {
521
521
  return !!e && typeof e == "object";
522
522
  }
523
- function Fi(e) {
523
+ function Xn(e) {
524
524
  var t = Object.prototype.toString.call(e);
525
- return t === "[object RegExp]" || t === "[object Date]" || qi(e);
525
+ return t === "[object RegExp]" || t === "[object Date]" || Zn(e);
526
526
  }
527
- var Vi = typeof Symbol == "function" && Symbol.for, Xi = Vi ? Symbol.for("react.element") : 60103;
528
- function qi(e) {
529
- return e.$$typeof === Xi;
527
+ var qn = typeof Symbol == "function" && Symbol.for, Wn = qn ? Symbol.for("react.element") : 60103;
528
+ function Zn(e) {
529
+ return e.$$typeof === Wn;
530
530
  }
531
- function Wi(e) {
531
+ function Yn(e) {
532
532
  return Array.isArray(e) ? [] : {};
533
533
  }
534
- function Oe(e, t) {
535
- return t.clone !== !1 && t.isMergeableObject(e) ? Ee(Wi(e), e, t) : e;
534
+ function De(e, t) {
535
+ return t.clone !== !1 && t.isMergeableObject(e) ? xe(Yn(e), e, t) : e;
536
536
  }
537
- function Zi(e, t, i) {
538
- return e.concat(t).map(function(n) {
539
- return Oe(n, i);
537
+ function Jn(e, t, n) {
538
+ return e.concat(t).map(function(i) {
539
+ return De(i, n);
540
540
  });
541
541
  }
542
- function Yi(e, t) {
542
+ function Qn(e, t) {
543
543
  if (!t.customMerge)
544
- return Ee;
545
- var i = t.customMerge(e);
546
- return typeof i == "function" ? i : Ee;
544
+ return xe;
545
+ var n = t.customMerge(e);
546
+ return typeof n == "function" ? n : xe;
547
547
  }
548
- function Ji(e) {
548
+ function Kn(e) {
549
549
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
550
550
  return Object.propertyIsEnumerable.call(e, t);
551
551
  }) : [];
552
552
  }
553
- function St(e) {
554
- return Object.keys(e).concat(Ji(e));
553
+ function At(e) {
554
+ return Object.keys(e).concat(Kn(e));
555
555
  }
556
- function Wt(e, t) {
556
+ function Zt(e, t) {
557
557
  try {
558
558
  return t in e;
559
559
  } catch {
560
560
  return !1;
561
561
  }
562
562
  }
563
- function Qi(e, t) {
564
- return Wt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
563
+ function ei(e, t) {
564
+ return Zt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
565
565
  }
566
- function Ki(e, t, i) {
567
- var n = {};
568
- return i.isMergeableObject(e) && St(e).forEach(function(r) {
569
- n[r] = Oe(e[r], i);
570
- }), St(t).forEach(function(r) {
571
- Qi(e, r) || (Wt(e, r) && i.isMergeableObject(t[r]) ? n[r] = Yi(r, i)(e[r], t[r], i) : n[r] = Oe(t[r], i));
572
- }), n;
573
- }
574
- function Ee(e, t, i) {
575
- i = i || {}, i.arrayMerge = i.arrayMerge || Zi, i.isMergeableObject = i.isMergeableObject || $i, i.cloneUnlessOtherwiseSpecified = Oe;
576
- var n = Array.isArray(t), r = Array.isArray(e), o = n === r;
577
- return o ? n ? i.arrayMerge(e, t, i) : Ki(e, t, i) : Oe(t, i);
578
- }
579
- Ee.all = function(t, i) {
566
+ function ti(e, t, n) {
567
+ var i = {};
568
+ return n.isMergeableObject(e) && At(e).forEach(function(r) {
569
+ i[r] = De(e[r], n);
570
+ }), At(t).forEach(function(r) {
571
+ ei(e, r) || (Zt(e, r) && n.isMergeableObject(t[r]) ? i[r] = Qn(r, n)(e[r], t[r], n) : i[r] = De(t[r], n));
572
+ }), i;
573
+ }
574
+ function xe(e, t, n) {
575
+ n = n || {}, n.arrayMerge = n.arrayMerge || Jn, n.isMergeableObject = n.isMergeableObject || Fn, n.cloneUnlessOtherwiseSpecified = De;
576
+ var i = Array.isArray(t), r = Array.isArray(e), o = i === r;
577
+ return o ? i ? n.arrayMerge(e, t, n) : ti(e, t, n) : De(t, n);
578
+ }
579
+ xe.all = function(t, n) {
580
580
  if (!Array.isArray(t))
581
581
  throw new Error("first argument should be an array");
582
- return t.reduce(function(n, r) {
583
- return Ee(n, r, i);
582
+ return t.reduce(function(i, r) {
583
+ return xe(i, r, n);
584
584
  }, {});
585
585
  };
586
- var en = Ee, tn = en;
587
- const nn = /* @__PURE__ */ Gi(tn);
588
- var ht = function(e, t) {
589
- return ht = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(i, n) {
590
- i.__proto__ = n;
591
- } || function(i, n) {
592
- for (var r in n)
593
- Object.prototype.hasOwnProperty.call(n, r) && (i[r] = n[r]);
594
- }, ht(e, t);
586
+ var ni = xe, ii = ni;
587
+ const ri = /* @__PURE__ */ zn(ii);
588
+ var ft = function(e, t) {
589
+ return ft = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
590
+ n.__proto__ = i;
591
+ } || function(n, i) {
592
+ for (var r in i)
593
+ Object.prototype.hasOwnProperty.call(i, r) && (n[r] = i[r]);
594
+ }, ft(e, t);
595
595
  };
596
- function Ye(e, t) {
596
+ function Je(e, t) {
597
597
  if (typeof t != "function" && t !== null)
598
598
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
599
- ht(e, t);
600
- function i() {
599
+ ft(e, t);
600
+ function n() {
601
601
  this.constructor = e;
602
602
  }
603
- e.prototype = t === null ? Object.create(t) : (i.prototype = t.prototype, new i());
603
+ e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
604
604
  }
605
605
  var oe = function() {
606
606
  return oe = Object.assign || function(t) {
607
- for (var i, n = 1, r = arguments.length; n < r; n++) {
608
- i = arguments[n];
609
- for (var o in i)
610
- Object.prototype.hasOwnProperty.call(i, o) && (t[o] = i[o]);
607
+ for (var n, i = 1, r = arguments.length; i < r; i++) {
608
+ n = arguments[i];
609
+ for (var o in n)
610
+ Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
611
611
  }
612
612
  return t;
613
613
  }, oe.apply(this, arguments);
614
614
  };
615
- function rn(e, t) {
616
- var i = {};
617
- for (var n in e)
618
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (i[n] = e[n]);
615
+ function oi(e, t) {
616
+ var n = {};
617
+ for (var i in e)
618
+ Object.prototype.hasOwnProperty.call(e, i) && t.indexOf(i) < 0 && (n[i] = e[i]);
619
619
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
620
- for (var r = 0, n = Object.getOwnPropertySymbols(e); r < n.length; r++)
621
- t.indexOf(n[r]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[r]) && (i[n[r]] = e[n[r]]);
622
- return i;
620
+ for (var r = 0, i = Object.getOwnPropertySymbols(e); r < i.length; r++)
621
+ t.indexOf(i[r]) < 0 && Object.prototype.propertyIsEnumerable.call(e, i[r]) && (n[i[r]] = e[i[r]]);
622
+ return n;
623
623
  }
624
- function nt(e, t, i) {
625
- if (i || arguments.length === 2)
626
- for (var n = 0, r = t.length, o; n < r; n++)
627
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
624
+ function rt(e, t, n) {
625
+ if (n || arguments.length === 2)
626
+ for (var i = 0, r = t.length, o; i < r; i++)
627
+ (o || !(i in t)) && (o || (o = Array.prototype.slice.call(t, 0, i)), o[i] = t[i]);
628
628
  return e.concat(o || Array.prototype.slice.call(t));
629
629
  }
630
- function rt(e, t) {
631
- var i = t && t.cache ? t.cache : hn, n = t && t.serializer ? t.serializer : un, r = t && t.strategy ? t.strategy : an;
630
+ function ot(e, t) {
631
+ var n = t && t.cache ? t.cache : fi, i = t && t.serializer ? t.serializer : ci, r = t && t.strategy ? t.strategy : li;
632
632
  return r(e, {
633
- cache: i,
634
- serializer: n
633
+ cache: n,
634
+ serializer: i
635
635
  });
636
636
  }
637
- function on(e) {
637
+ function si(e) {
638
638
  return e == null || typeof e == "number" || typeof e == "boolean";
639
639
  }
640
- function sn(e, t, i, n) {
641
- var r = on(n) ? n : i(n), o = t.get(r);
642
- return typeof o > "u" && (o = e.call(this, n), t.set(r, o)), o;
640
+ function ai(e, t, n, i) {
641
+ var r = si(i) ? i : n(i), o = t.get(r);
642
+ return typeof o > "u" && (o = e.call(this, i), t.set(r, o)), o;
643
643
  }
644
- function Zt(e, t, i) {
645
- var n = Array.prototype.slice.call(arguments, 3), r = i(n), o = t.get(r);
646
- return typeof o > "u" && (o = e.apply(this, n), t.set(r, o)), o;
644
+ function Yt(e, t, n) {
645
+ var i = Array.prototype.slice.call(arguments, 3), r = n(i), o = t.get(r);
646
+ return typeof o > "u" && (o = e.apply(this, i), t.set(r, o)), o;
647
647
  }
648
- function Yt(e, t, i, n, r) {
649
- return i.bind(t, e, n, r);
648
+ function Jt(e, t, n, i, r) {
649
+ return n.bind(t, e, i, r);
650
650
  }
651
- function an(e, t) {
652
- var i = e.length === 1 ? sn : Zt;
653
- return Yt(e, this, i, t.cache.create(), t.serializer);
651
+ function li(e, t) {
652
+ var n = e.length === 1 ? ai : Yt;
653
+ return Jt(e, this, n, t.cache.create(), t.serializer);
654
654
  }
655
- function ln(e, t) {
656
- return Yt(e, this, Zt, t.cache.create(), t.serializer);
655
+ function ui(e, t) {
656
+ return Jt(e, this, Yt, t.cache.create(), t.serializer);
657
657
  }
658
- var un = function() {
658
+ var ci = function() {
659
659
  return JSON.stringify(arguments);
660
- }, cn = (
660
+ }, hi = (
661
661
  /** @class */
662
662
  function() {
663
663
  function e() {
@@ -665,82 +665,82 @@ var un = function() {
665
665
  }
666
666
  return e.prototype.get = function(t) {
667
667
  return this.cache[t];
668
- }, e.prototype.set = function(t, i) {
669
- this.cache[t] = i;
668
+ }, e.prototype.set = function(t, n) {
669
+ this.cache[t] = n;
670
670
  }, e;
671
671
  }()
672
- ), hn = {
672
+ ), fi = {
673
673
  create: function() {
674
- return new cn();
674
+ return new hi();
675
675
  }
676
- }, ot = {
677
- variadic: ln
678
- }, Xe = function() {
679
- return Xe = Object.assign || function(t) {
680
- for (var i, n = 1, r = arguments.length; n < r; n++) {
681
- i = arguments[n];
682
- for (var o in i)
683
- Object.prototype.hasOwnProperty.call(i, o) && (t[o] = i[o]);
676
+ }, st = {
677
+ variadic: ui
678
+ }, qe = function() {
679
+ return qe = Object.assign || function(t) {
680
+ for (var n, i = 1, r = arguments.length; i < r; i++) {
681
+ n = arguments[i];
682
+ for (var o in n)
683
+ Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
684
684
  }
685
685
  return t;
686
- }, Xe.apply(this, arguments);
686
+ }, qe.apply(this, arguments);
687
687
  };
688
- var B;
688
+ var P;
689
689
  (function(e) {
690
690
  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";
691
- })(B || (B = {}));
692
- var $;
691
+ })(P || (P = {}));
692
+ var z;
693
693
  (function(e) {
694
694
  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";
695
- })($ || ($ = {}));
696
- var _e;
695
+ })(z || (z = {}));
696
+ var we;
697
697
  (function(e) {
698
698
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
699
- })(_e || (_e = {}));
700
- function At(e) {
701
- return e.type === $.literal;
702
- }
703
- function fn(e) {
704
- return e.type === $.argument;
699
+ })(we || (we = {}));
700
+ function It(e) {
701
+ return e.type === z.literal;
705
702
  }
706
- function Jt(e) {
707
- return e.type === $.number;
703
+ function pi(e) {
704
+ return e.type === z.argument;
708
705
  }
709
706
  function Qt(e) {
710
- return e.type === $.date;
707
+ return e.type === z.number;
711
708
  }
712
709
  function Kt(e) {
713
- return e.type === $.time;
710
+ return e.type === z.date;
714
711
  }
715
- function ei(e) {
716
- return e.type === $.select;
712
+ function en(e) {
713
+ return e.type === z.time;
717
714
  }
718
- function ti(e) {
719
- return e.type === $.plural;
715
+ function tn(e) {
716
+ return e.type === z.select;
720
717
  }
721
- function pn(e) {
722
- return e.type === $.pound;
718
+ function nn(e) {
719
+ return e.type === z.plural;
723
720
  }
724
- function ii(e) {
725
- return e.type === $.tag;
721
+ function mi(e) {
722
+ return e.type === z.pound;
726
723
  }
727
- function ni(e) {
728
- return !!(e && typeof e == "object" && e.type === _e.number);
724
+ function rn(e) {
725
+ return e.type === z.tag;
729
726
  }
730
- function ft(e) {
731
- return !!(e && typeof e == "object" && e.type === _e.dateTime);
727
+ function on(e) {
728
+ return !!(e && typeof e == "object" && e.type === we.number);
729
+ }
730
+ function pt(e) {
731
+ return !!(e && typeof e == "object" && e.type === we.dateTime);
732
732
  }
733
- var ri = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, mn = /(?:[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;
734
- function dn(e) {
733
+ var sn = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, di = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
734
+ function bi(e) {
735
735
  var t = {};
736
- return e.replace(mn, function(i) {
737
- var n = i.length;
738
- switch (i[0]) {
736
+ return e.replace(di, function(n) {
737
+ var i = n.length;
738
+ switch (n[0]) {
739
739
  case "G":
740
- t.era = n === 4 ? "long" : n === 5 ? "narrow" : "short";
740
+ t.era = i === 4 ? "long" : i === 5 ? "narrow" : "short";
741
741
  break;
742
742
  case "y":
743
- t.year = n === 2 ? "2-digit" : "numeric";
743
+ t.year = i === 2 ? "2-digit" : "numeric";
744
744
  break;
745
745
  case "Y":
746
746
  case "u":
@@ -752,30 +752,30 @@ function dn(e) {
752
752
  throw new RangeError("`q/Q` (quarter) patterns are not supported");
753
753
  case "M":
754
754
  case "L":
755
- t.month = ["numeric", "2-digit", "short", "long", "narrow"][n - 1];
755
+ t.month = ["numeric", "2-digit", "short", "long", "narrow"][i - 1];
756
756
  break;
757
757
  case "w":
758
758
  case "W":
759
759
  throw new RangeError("`w/W` (week) patterns are not supported");
760
760
  case "d":
761
- t.day = ["numeric", "2-digit"][n - 1];
761
+ t.day = ["numeric", "2-digit"][i - 1];
762
762
  break;
763
763
  case "D":
764
764
  case "F":
765
765
  case "g":
766
766
  throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");
767
767
  case "E":
768
- t.weekday = n === 4 ? "long" : n === 5 ? "narrow" : "short";
768
+ t.weekday = i === 4 ? "long" : i === 5 ? "narrow" : "short";
769
769
  break;
770
770
  case "e":
771
- if (n < 4)
771
+ if (i < 4)
772
772
  throw new RangeError("`e..eee` (weekday) patterns are not supported");
773
- t.weekday = ["short", "long", "narrow", "short"][n - 4];
773
+ t.weekday = ["short", "long", "narrow", "short"][i - 4];
774
774
  break;
775
775
  case "c":
776
- if (n < 4)
776
+ if (i < 4)
777
777
  throw new RangeError("`c..ccc` (weekday) patterns are not supported");
778
- t.weekday = ["short", "long", "narrow", "short"][n - 4];
778
+ t.weekday = ["short", "long", "narrow", "short"][i - 4];
779
779
  break;
780
780
  case "a":
781
781
  t.hour12 = !0;
@@ -784,32 +784,32 @@ function dn(e) {
784
784
  case "B":
785
785
  throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");
786
786
  case "h":
787
- t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][n - 1];
787
+ t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][i - 1];
788
788
  break;
789
789
  case "H":
790
- t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][n - 1];
790
+ t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][i - 1];
791
791
  break;
792
792
  case "K":
793
- t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][n - 1];
793
+ t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][i - 1];
794
794
  break;
795
795
  case "k":
796
- t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][n - 1];
796
+ t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][i - 1];
797
797
  break;
798
798
  case "j":
799
799
  case "J":
800
800
  case "C":
801
801
  throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");
802
802
  case "m":
803
- t.minute = ["numeric", "2-digit"][n - 1];
803
+ t.minute = ["numeric", "2-digit"][i - 1];
804
804
  break;
805
805
  case "s":
806
- t.second = ["numeric", "2-digit"][n - 1];
806
+ t.second = ["numeric", "2-digit"][i - 1];
807
807
  break;
808
808
  case "S":
809
809
  case "A":
810
810
  throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");
811
811
  case "z":
812
- t.timeZoneName = n < 4 ? "short" : "long";
812
+ t.timeZoneName = i < 4 ? "short" : "long";
813
813
  break;
814
814
  case "Z":
815
815
  case "O":
@@ -824,22 +824,22 @@ function dn(e) {
824
824
  }
825
825
  var V = function() {
826
826
  return V = Object.assign || function(t) {
827
- for (var i, n = 1, r = arguments.length; n < r; n++) {
828
- i = arguments[n];
829
- for (var o in i)
830
- Object.prototype.hasOwnProperty.call(i, o) && (t[o] = i[o]);
827
+ for (var n, i = 1, r = arguments.length; i < r; i++) {
828
+ n = arguments[i];
829
+ for (var o in n)
830
+ Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
831
831
  }
832
832
  return t;
833
833
  }, V.apply(this, arguments);
834
834
  };
835
- var gn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
836
- function bn(e) {
835
+ var gi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
836
+ function yi(e) {
837
837
  if (e.length === 0)
838
838
  throw new Error("Number skeleton cannot be empty");
839
- for (var t = e.split(gn).filter(function(m) {
839
+ for (var t = e.split(gi).filter(function(m) {
840
840
  return m.length > 0;
841
- }), i = [], n = 0, r = t; n < r.length; n++) {
842
- var o = r[n], a = o.split("/");
841
+ }), n = [], i = 0, r = t; i < r.length; i++) {
842
+ var o = r[i], a = o.split("/");
843
843
  if (a.length === 0)
844
844
  throw new Error("Invalid number skeleton");
845
845
  for (var s = a[0], u = a.slice(1), l = 0, c = u; l < c.length; l++) {
@@ -847,21 +847,21 @@ function bn(e) {
847
847
  if (p.length === 0)
848
848
  throw new Error("Invalid number skeleton");
849
849
  }
850
- i.push({ stem: s, options: u });
850
+ n.push({ stem: s, options: u });
851
851
  }
852
- return i;
852
+ return n;
853
853
  }
854
- function yn(e) {
854
+ function vi(e) {
855
855
  return e.replace(/^(.*?)-/, "");
856
856
  }
857
- var It = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, oi = /^(@+)?(\+|#+)?[rs]?$/g, vn = /(\*)(0+)|(#+)(0+)|(0+)/g, si = /^(0+)$/;
858
- function kt(e) {
857
+ var kt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, an = /^(@+)?(\+|#+)?[rs]?$/g, Ei = /(\*)(0+)|(#+)(0+)|(0+)/g, ln = /^(0+)$/;
858
+ function Ct(e) {
859
859
  var t = {};
860
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(oi, function(i, n, r) {
861
- return typeof r != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : r === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof r == "string" ? r.length : 0)), "";
860
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(an, function(n, i, r) {
861
+ return typeof r != "string" ? (t.minimumSignificantDigits = i.length, t.maximumSignificantDigits = i.length) : r === "+" ? t.minimumSignificantDigits = i.length : i[0] === "#" ? t.maximumSignificantDigits = i.length : (t.minimumSignificantDigits = i.length, t.maximumSignificantDigits = i.length + (typeof r == "string" ? r.length : 0)), "";
862
862
  }), t;
863
863
  }
864
- function ai(e) {
864
+ function un(e) {
865
865
  switch (e) {
866
866
  case "sign-auto":
867
867
  return {
@@ -901,27 +901,27 @@ function ai(e) {
901
901
  };
902
902
  }
903
903
  }
904
- function En(e) {
904
+ function _i(e) {
905
905
  var t;
906
906
  if (e[0] === "E" && e[1] === "E" ? (t = {
907
907
  notation: "engineering"
908
908
  }, e = e.slice(2)) : e[0] === "E" && (t = {
909
909
  notation: "scientific"
910
910
  }, e = e.slice(1)), t) {
911
- var i = e.slice(0, 2);
912
- if (i === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : i === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !si.test(e))
911
+ var n = e.slice(0, 2);
912
+ if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !ln.test(e))
913
913
  throw new Error("Malformed concise eng/scientific notation");
914
914
  t.minimumIntegerDigits = e.length;
915
915
  }
916
916
  return t;
917
917
  }
918
918
  function Ht(e) {
919
- var t = {}, i = ai(e);
920
- return i || t;
919
+ var t = {}, n = un(e);
920
+ return n || t;
921
921
  }
922
- function _n(e) {
923
- for (var t = {}, i = 0, n = e; i < n.length; i++) {
924
- var r = n[i];
922
+ function xi(e) {
923
+ for (var t = {}, n = 0, i = e; n < i.length; n++) {
924
+ var r = i[n];
925
925
  switch (r.stem) {
926
926
  case "percent":
927
927
  case "%":
@@ -943,7 +943,7 @@ function _n(e) {
943
943
  continue;
944
944
  case "measure-unit":
945
945
  case "unit":
946
- t.style = "unit", t.unit = yn(r.options[0]);
946
+ t.style = "unit", t.unit = vi(r.options[0]);
947
947
  continue;
948
948
  case "compact-short":
949
949
  case "K":
@@ -1005,7 +1005,7 @@ function _n(e) {
1005
1005
  case "integer-width":
1006
1006
  if (r.options.length > 1)
1007
1007
  throw new RangeError("integer-width stems only accept a single optional option");
1008
- r.options[0].replace(vn, function(u, l, c, p, m, d) {
1008
+ r.options[0].replace(Ei, function(u, l, c, p, m, d) {
1009
1009
  if (l)
1010
1010
  t.minimumIntegerDigits = c.length;
1011
1011
  else {
@@ -1018,32 +1018,32 @@ function _n(e) {
1018
1018
  });
1019
1019
  continue;
1020
1020
  }
1021
- if (si.test(r.stem)) {
1021
+ if (ln.test(r.stem)) {
1022
1022
  t.minimumIntegerDigits = r.stem.length;
1023
1023
  continue;
1024
1024
  }
1025
- if (It.test(r.stem)) {
1025
+ if (kt.test(r.stem)) {
1026
1026
  if (r.options.length > 1)
1027
1027
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1028
- r.stem.replace(It, function(u, l, c, p, m, d) {
1028
+ r.stem.replace(kt, function(u, l, c, p, m, d) {
1029
1029
  return c === "*" ? t.minimumFractionDigits = l.length : p && p[0] === "#" ? t.maximumFractionDigits = p.length : m && d ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + d.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1030
1030
  });
1031
1031
  var o = r.options[0];
1032
- o === "w" ? t = V(V({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = V(V({}, t), kt(o)));
1032
+ o === "w" ? t = V(V({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = V(V({}, t), Ct(o)));
1033
1033
  continue;
1034
1034
  }
1035
- if (oi.test(r.stem)) {
1036
- t = V(V({}, t), kt(r.stem));
1035
+ if (an.test(r.stem)) {
1036
+ t = V(V({}, t), Ct(r.stem));
1037
1037
  continue;
1038
1038
  }
1039
- var a = ai(r.stem);
1039
+ var a = un(r.stem);
1040
1040
  a && (t = V(V({}, t), a));
1041
- var s = En(r.stem);
1041
+ var s = _i(r.stem);
1042
1042
  s && (t = V(V({}, t), s));
1043
1043
  }
1044
1044
  return t;
1045
1045
  }
1046
- var $e = {
1046
+ var ze = {
1047
1047
  "001": [
1048
1048
  "H",
1049
1049
  "h"
@@ -2458,23 +2458,23 @@ var $e = {
2458
2458
  "h"
2459
2459
  ]
2460
2460
  };
2461
- function xn(e, t) {
2462
- for (var i = "", n = 0; n < e.length; n++) {
2463
- var r = e.charAt(n);
2461
+ function wi(e, t) {
2462
+ for (var n = "", i = 0; i < e.length; i++) {
2463
+ var r = e.charAt(i);
2464
2464
  if (r === "j") {
2465
- for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === r; )
2466
- o++, n++;
2467
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = Tn(t);
2465
+ for (var o = 0; i + 1 < e.length && e.charAt(i + 1) === r; )
2466
+ o++, i++;
2467
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = Ti(t);
2468
2468
  for ((l == "H" || l == "k") && (s = 0); s-- > 0; )
2469
- i += u;
2469
+ n += u;
2470
2470
  for (; a-- > 0; )
2471
- i = l + i;
2471
+ n = l + n;
2472
2472
  } else
2473
- r === "J" ? i += "H" : i += r;
2473
+ r === "J" ? n += "H" : n += r;
2474
2474
  }
2475
- return i;
2475
+ return n;
2476
2476
  }
2477
- function Tn(e) {
2477
+ function Ti(e) {
2478
2478
  var t = e.hourCycle;
2479
2479
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2480
2480
  e.hourCycles && // @ts-ignore
@@ -2491,73 +2491,73 @@ function Tn(e) {
2491
2491
  default:
2492
2492
  throw new Error("Invalid hourCycle");
2493
2493
  }
2494
- var i = e.language, n;
2495
- i !== "root" && (n = e.maximize().region);
2496
- var r = $e[n || ""] || $e[i || ""] || $e["".concat(i, "-001")] || $e["001"];
2494
+ var n = e.language, i;
2495
+ n !== "root" && (i = e.maximize().region);
2496
+ var r = ze[i || ""] || ze[n || ""] || ze["".concat(n, "-001")] || ze["001"];
2497
2497
  return r[0];
2498
2498
  }
2499
- var st, Pn = new RegExp("^".concat(ri.source, "*")), wn = new RegExp("".concat(ri.source, "*$"));
2499
+ var at, Pi = new RegExp("^".concat(sn.source, "*")), Si = new RegExp("".concat(sn.source, "*$"));
2500
2500
  function A(e, t) {
2501
2501
  return { start: e, end: t };
2502
2502
  }
2503
- var Bn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ln = !!String.fromCodePoint, Sn = !!Object.fromEntries, An = !!String.prototype.codePointAt, In = !!String.prototype.trimStart, kn = !!String.prototype.trimEnd, Hn = !!Number.isSafeInteger, Cn = Hn ? Number.isSafeInteger : function(e) {
2503
+ var Bi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Li = !!String.fromCodePoint, Ai = !!Object.fromEntries, Ii = !!String.prototype.codePointAt, ki = !!String.prototype.trimStart, Ci = !!String.prototype.trimEnd, Hi = !!Number.isSafeInteger, Ni = Hi ? Number.isSafeInteger : function(e) {
2504
2504
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2505
- }, pt = !0;
2505
+ }, mt = !0;
2506
2506
  try {
2507
- var Nn = ui("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2508
- pt = ((st = Nn.exec("a")) === null || st === void 0 ? void 0 : st[0]) === "a";
2507
+ var Oi = hn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2508
+ mt = ((at = Oi.exec("a")) === null || at === void 0 ? void 0 : at[0]) === "a";
2509
2509
  } catch {
2510
- pt = !1;
2510
+ mt = !1;
2511
2511
  }
2512
- var Ct = Bn ? (
2512
+ var Nt = Bi ? (
2513
2513
  // Native
2514
- function(t, i, n) {
2515
- return t.startsWith(i, n);
2514
+ function(t, n, i) {
2515
+ return t.startsWith(n, i);
2516
2516
  }
2517
2517
  ) : (
2518
2518
  // For IE11
2519
- function(t, i, n) {
2520
- return t.slice(n, n + i.length) === i;
2519
+ function(t, n, i) {
2520
+ return t.slice(i, i + n.length) === n;
2521
2521
  }
2522
- ), mt = Ln ? String.fromCodePoint : (
2522
+ ), dt = Li ? String.fromCodePoint : (
2523
2523
  // IE11
2524
2524
  function() {
2525
- for (var t = [], i = 0; i < arguments.length; i++)
2526
- t[i] = arguments[i];
2527
- for (var n = "", r = t.length, o = 0, a; r > o; ) {
2525
+ for (var t = [], n = 0; n < arguments.length; n++)
2526
+ t[n] = arguments[n];
2527
+ for (var i = "", r = t.length, o = 0, a; r > o; ) {
2528
2528
  if (a = t[o++], a > 1114111)
2529
2529
  throw RangeError(a + " is not a valid code point");
2530
- n += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
2530
+ i += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
2531
2531
  }
2532
- return n;
2532
+ return i;
2533
2533
  }
2534
- ), Nt = (
2534
+ ), Ot = (
2535
2535
  // native
2536
- Sn ? Object.fromEntries : (
2536
+ Ai ? Object.fromEntries : (
2537
2537
  // Ponyfill
2538
2538
  function(t) {
2539
- for (var i = {}, n = 0, r = t; n < r.length; n++) {
2540
- var o = r[n], a = o[0], s = o[1];
2541
- i[a] = s;
2539
+ for (var n = {}, i = 0, r = t; i < r.length; i++) {
2540
+ var o = r[i], a = o[0], s = o[1];
2541
+ n[a] = s;
2542
2542
  }
2543
- return i;
2543
+ return n;
2544
2544
  }
2545
2545
  )
2546
- ), li = An ? (
2546
+ ), cn = Ii ? (
2547
2547
  // Native
2548
- function(t, i) {
2549
- return t.codePointAt(i);
2548
+ function(t, n) {
2549
+ return t.codePointAt(n);
2550
2550
  }
2551
2551
  ) : (
2552
2552
  // IE 11
2553
- function(t, i) {
2554
- var n = t.length;
2555
- if (!(i < 0 || i >= n)) {
2556
- var r = t.charCodeAt(i), o;
2557
- return r < 55296 || r > 56319 || i + 1 === n || (o = t.charCodeAt(i + 1)) < 56320 || o > 57343 ? r : (r - 55296 << 10) + (o - 56320) + 65536;
2553
+ function(t, n) {
2554
+ var i = t.length;
2555
+ if (!(n < 0 || n >= i)) {
2556
+ var r = t.charCodeAt(n), o;
2557
+ return r < 55296 || r > 56319 || n + 1 === i || (o = t.charCodeAt(n + 1)) < 56320 || o > 57343 ? r : (r - 55296 << 10) + (o - 56320) + 65536;
2558
2558
  }
2559
2559
  }
2560
- ), On = In ? (
2560
+ ), Mi = ki ? (
2561
2561
  // Native
2562
2562
  function(t) {
2563
2563
  return t.trimStart();
@@ -2565,9 +2565,9 @@ var Ct = Bn ? (
2565
2565
  ) : (
2566
2566
  // Ponyfill
2567
2567
  function(t) {
2568
- return t.replace(Pn, "");
2568
+ return t.replace(Pi, "");
2569
2569
  }
2570
- ), Mn = kn ? (
2570
+ ), Di = Ci ? (
2571
2571
  // Native
2572
2572
  function(t) {
2573
2573
  return t.trimEnd();
@@ -2575,69 +2575,69 @@ var Ct = Bn ? (
2575
2575
  ) : (
2576
2576
  // Ponyfill
2577
2577
  function(t) {
2578
- return t.replace(wn, "");
2578
+ return t.replace(Si, "");
2579
2579
  }
2580
2580
  );
2581
- function ui(e, t) {
2581
+ function hn(e, t) {
2582
2582
  return new RegExp(e, t);
2583
2583
  }
2584
- var dt;
2585
- if (pt) {
2586
- var Ot = ui("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2587
- dt = function(t, i) {
2588
- var n;
2589
- Ot.lastIndex = i;
2590
- var r = Ot.exec(t);
2591
- return (n = r[1]) !== null && n !== void 0 ? n : "";
2584
+ var bt;
2585
+ if (mt) {
2586
+ var Mt = hn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2587
+ bt = function(t, n) {
2588
+ var i;
2589
+ Mt.lastIndex = n;
2590
+ var r = Mt.exec(t);
2591
+ return (i = r[1]) !== null && i !== void 0 ? i : "";
2592
2592
  };
2593
2593
  } else
2594
- dt = function(t, i) {
2595
- for (var n = []; ; ) {
2596
- var r = li(t, i);
2597
- if (r === void 0 || ci(r) || jn(r))
2594
+ bt = function(t, n) {
2595
+ for (var i = []; ; ) {
2596
+ var r = cn(t, n);
2597
+ if (r === void 0 || fn(r) || Gi(r))
2598
2598
  break;
2599
- n.push(r), i += r >= 65536 ? 2 : 1;
2599
+ i.push(r), n += r >= 65536 ? 2 : 1;
2600
2600
  }
2601
- return mt.apply(void 0, n);
2601
+ return dt.apply(void 0, i);
2602
2602
  };
2603
- var Dn = (
2603
+ var Ri = (
2604
2604
  /** @class */
2605
2605
  function() {
2606
- function e(t, i) {
2607
- i === void 0 && (i = {}), this.message = t, this.position = { offset: 0, line: 1, column: 1 }, this.ignoreTag = !!i.ignoreTag, this.locale = i.locale, this.requiresOtherClause = !!i.requiresOtherClause, this.shouldParseSkeletons = !!i.shouldParseSkeletons;
2606
+ function e(t, n) {
2607
+ n === void 0 && (n = {}), this.message = t, this.position = { offset: 0, line: 1, column: 1 }, this.ignoreTag = !!n.ignoreTag, this.locale = n.locale, this.requiresOtherClause = !!n.requiresOtherClause, this.shouldParseSkeletons = !!n.shouldParseSkeletons;
2608
2608
  }
2609
2609
  return e.prototype.parse = function() {
2610
2610
  if (this.offset() !== 0)
2611
2611
  throw Error("parser can only be used once");
2612
2612
  return this.parseMessage(0, "", !1);
2613
- }, e.prototype.parseMessage = function(t, i, n) {
2613
+ }, e.prototype.parseMessage = function(t, n, i) {
2614
2614
  for (var r = []; !this.isEOF(); ) {
2615
2615
  var o = this.char();
2616
2616
  if (o === 123) {
2617
- var a = this.parseArgument(t, n);
2617
+ var a = this.parseArgument(t, i);
2618
2618
  if (a.err)
2619
2619
  return a;
2620
2620
  r.push(a.val);
2621
2621
  } else {
2622
2622
  if (o === 125 && t > 0)
2623
2623
  break;
2624
- if (o === 35 && (i === "plural" || i === "selectordinal")) {
2624
+ if (o === 35 && (n === "plural" || n === "selectordinal")) {
2625
2625
  var s = this.clonePosition();
2626
2626
  this.bump(), r.push({
2627
- type: $.pound,
2627
+ type: z.pound,
2628
2628
  location: A(s, this.clonePosition())
2629
2629
  });
2630
2630
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
2631
- if (n)
2631
+ if (i)
2632
2632
  break;
2633
- return this.error(B.UNMATCHED_CLOSING_TAG, A(this.clonePosition(), this.clonePosition()));
2633
+ return this.error(P.UNMATCHED_CLOSING_TAG, A(this.clonePosition(), this.clonePosition()));
2634
2634
  } else if (o === 60 && !this.ignoreTag && gt(this.peek() || 0)) {
2635
- var a = this.parseTag(t, i);
2635
+ var a = this.parseTag(t, n);
2636
2636
  if (a.err)
2637
2637
  return a;
2638
2638
  r.push(a.val);
2639
2639
  } else {
2640
- var a = this.parseLiteral(t, i);
2640
+ var a = this.parseLiteral(t, n);
2641
2641
  if (a.err)
2642
2642
  return a;
2643
2643
  r.push(a.val);
@@ -2645,54 +2645,54 @@ var Dn = (
2645
2645
  }
2646
2646
  }
2647
2647
  return { val: r, err: null };
2648
- }, e.prototype.parseTag = function(t, i) {
2649
- var n = this.clonePosition();
2648
+ }, e.prototype.parseTag = function(t, n) {
2649
+ var i = this.clonePosition();
2650
2650
  this.bump();
2651
2651
  var r = this.parseTagName();
2652
2652
  if (this.bumpSpace(), this.bumpIf("/>"))
2653
2653
  return {
2654
2654
  val: {
2655
- type: $.literal,
2655
+ type: z.literal,
2656
2656
  value: "<".concat(r, "/>"),
2657
- location: A(n, this.clonePosition())
2657
+ location: A(i, this.clonePosition())
2658
2658
  },
2659
2659
  err: null
2660
2660
  };
2661
2661
  if (this.bumpIf(">")) {
2662
- var o = this.parseMessage(t + 1, i, !0);
2662
+ var o = this.parseMessage(t + 1, n, !0);
2663
2663
  if (o.err)
2664
2664
  return o;
2665
2665
  var a = o.val, s = this.clonePosition();
2666
2666
  if (this.bumpIf("</")) {
2667
2667
  if (this.isEOF() || !gt(this.char()))
2668
- return this.error(B.INVALID_TAG, A(s, this.clonePosition()));
2668
+ return this.error(P.INVALID_TAG, A(s, this.clonePosition()));
2669
2669
  var u = this.clonePosition(), l = this.parseTagName();
2670
- return r !== l ? this.error(B.UNMATCHED_CLOSING_TAG, A(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2670
+ return r !== l ? this.error(P.UNMATCHED_CLOSING_TAG, A(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2671
2671
  val: {
2672
- type: $.tag,
2672
+ type: z.tag,
2673
2673
  value: r,
2674
2674
  children: a,
2675
- location: A(n, this.clonePosition())
2675
+ location: A(i, this.clonePosition())
2676
2676
  },
2677
2677
  err: null
2678
- } : this.error(B.INVALID_TAG, A(s, this.clonePosition())));
2678
+ } : this.error(P.INVALID_TAG, A(s, this.clonePosition())));
2679
2679
  } else
2680
- return this.error(B.UNCLOSED_TAG, A(n, this.clonePosition()));
2680
+ return this.error(P.UNCLOSED_TAG, A(i, this.clonePosition()));
2681
2681
  } else
2682
- return this.error(B.INVALID_TAG, A(n, this.clonePosition()));
2682
+ return this.error(P.INVALID_TAG, A(i, this.clonePosition()));
2683
2683
  }, e.prototype.parseTagName = function() {
2684
2684
  var t = this.offset();
2685
- for (this.bump(); !this.isEOF() && Un(this.char()); )
2685
+ for (this.bump(); !this.isEOF() && ji(this.char()); )
2686
2686
  this.bump();
2687
2687
  return this.message.slice(t, this.offset());
2688
- }, e.prototype.parseLiteral = function(t, i) {
2689
- for (var n = this.clonePosition(), r = ""; ; ) {
2690
- var o = this.tryParseQuote(i);
2688
+ }, e.prototype.parseLiteral = function(t, n) {
2689
+ for (var i = this.clonePosition(), r = ""; ; ) {
2690
+ var o = this.tryParseQuote(n);
2691
2691
  if (o) {
2692
2692
  r += o;
2693
2693
  continue;
2694
2694
  }
2695
- var a = this.tryParseUnquoted(t, i);
2695
+ var a = this.tryParseUnquoted(t, n);
2696
2696
  if (a) {
2697
2697
  r += a;
2698
2698
  continue;
@@ -2704,14 +2704,14 @@ var Dn = (
2704
2704
  }
2705
2705
  break;
2706
2706
  }
2707
- var u = A(n, this.clonePosition());
2707
+ var u = A(i, this.clonePosition());
2708
2708
  return {
2709
- val: { type: $.literal, value: r, location: u },
2709
+ val: { type: z.literal, value: r, location: u },
2710
2710
  err: null
2711
2711
  };
2712
2712
  }, e.prototype.tryParseLeftAngleBracket = function() {
2713
2713
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2714
- !Rn(this.peek() || 0)) ? (this.bump(), "<") : null;
2714
+ !Ui(this.peek() || 0)) ? (this.bump(), "<") : null;
2715
2715
  }, e.prototype.tryParseQuote = function(t) {
2716
2716
  if (this.isEOF() || this.char() !== 39)
2717
2717
  return null;
@@ -2731,63 +2731,63 @@ var Dn = (
2731
2731
  return null;
2732
2732
  }
2733
2733
  this.bump();
2734
- var i = [this.char()];
2734
+ var n = [this.char()];
2735
2735
  for (this.bump(); !this.isEOF(); ) {
2736
- var n = this.char();
2737
- if (n === 39)
2736
+ var i = this.char();
2737
+ if (i === 39)
2738
2738
  if (this.peek() === 39)
2739
- i.push(39), this.bump();
2739
+ n.push(39), this.bump();
2740
2740
  else {
2741
2741
  this.bump();
2742
2742
  break;
2743
2743
  }
2744
2744
  else
2745
- i.push(n);
2745
+ n.push(i);
2746
2746
  this.bump();
2747
2747
  }
2748
- return mt.apply(void 0, i);
2749
- }, e.prototype.tryParseUnquoted = function(t, i) {
2748
+ return dt.apply(void 0, n);
2749
+ }, e.prototype.tryParseUnquoted = function(t, n) {
2750
2750
  if (this.isEOF())
2751
2751
  return null;
2752
- var n = this.char();
2753
- return n === 60 || n === 123 || n === 35 && (i === "plural" || i === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), mt(n));
2754
- }, e.prototype.parseArgument = function(t, i) {
2755
- var n = this.clonePosition();
2752
+ var i = this.char();
2753
+ return i === 60 || i === 123 || i === 35 && (n === "plural" || n === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(), dt(i));
2754
+ }, e.prototype.parseArgument = function(t, n) {
2755
+ var i = this.clonePosition();
2756
2756
  if (this.bump(), this.bumpSpace(), this.isEOF())
2757
- return this.error(B.EXPECT_ARGUMENT_CLOSING_BRACE, A(n, this.clonePosition()));
2757
+ return this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE, A(i, this.clonePosition()));
2758
2758
  if (this.char() === 125)
2759
- return this.bump(), this.error(B.EMPTY_ARGUMENT, A(n, this.clonePosition()));
2759
+ return this.bump(), this.error(P.EMPTY_ARGUMENT, A(i, this.clonePosition()));
2760
2760
  var r = this.parseIdentifierIfPossible().value;
2761
2761
  if (!r)
2762
- return this.error(B.MALFORMED_ARGUMENT, A(n, this.clonePosition()));
2762
+ return this.error(P.MALFORMED_ARGUMENT, A(i, this.clonePosition()));
2763
2763
  if (this.bumpSpace(), this.isEOF())
2764
- return this.error(B.EXPECT_ARGUMENT_CLOSING_BRACE, A(n, this.clonePosition()));
2764
+ return this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE, A(i, this.clonePosition()));
2765
2765
  switch (this.char()) {
2766
2766
  case 125:
2767
2767
  return this.bump(), {
2768
2768
  val: {
2769
- type: $.argument,
2769
+ type: z.argument,
2770
2770
  // value does not include the opening and closing braces.
2771
2771
  value: r,
2772
- location: A(n, this.clonePosition())
2772
+ location: A(i, this.clonePosition())
2773
2773
  },
2774
2774
  err: null
2775
2775
  };
2776
2776
  case 44:
2777
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(B.EXPECT_ARGUMENT_CLOSING_BRACE, A(n, this.clonePosition())) : this.parseArgumentOptions(t, i, r, n);
2777
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE, A(i, this.clonePosition())) : this.parseArgumentOptions(t, n, r, i);
2778
2778
  default:
2779
- return this.error(B.MALFORMED_ARGUMENT, A(n, this.clonePosition()));
2779
+ return this.error(P.MALFORMED_ARGUMENT, A(i, this.clonePosition()));
2780
2780
  }
2781
2781
  }, e.prototype.parseIdentifierIfPossible = function() {
2782
- var t = this.clonePosition(), i = this.offset(), n = dt(this.message, i), r = i + n.length;
2782
+ var t = this.clonePosition(), n = this.offset(), i = bt(this.message, n), r = n + i.length;
2783
2783
  this.bumpTo(r);
2784
2784
  var o = this.clonePosition(), a = A(t, o);
2785
- return { value: n, location: a };
2786
- }, e.prototype.parseArgumentOptions = function(t, i, n, r) {
2785
+ return { value: i, location: a };
2786
+ }, e.prototype.parseArgumentOptions = function(t, n, i, r) {
2787
2787
  var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, u = this.clonePosition();
2788
2788
  switch (s) {
2789
2789
  case "":
2790
- return this.error(B.EXPECT_ARGUMENT_TYPE, A(a, u));
2790
+ return this.error(P.EXPECT_ARGUMENT_TYPE, A(a, u));
2791
2791
  case "number":
2792
2792
  case "date":
2793
2793
  case "time": {
@@ -2798,46 +2798,46 @@ var Dn = (
2798
2798
  var c = this.clonePosition(), p = this.parseSimpleArgStyleIfPossible();
2799
2799
  if (p.err)
2800
2800
  return p;
2801
- var m = Mn(p.val);
2801
+ var m = Di(p.val);
2802
2802
  if (m.length === 0)
2803
- return this.error(B.EXPECT_ARGUMENT_STYLE, A(this.clonePosition(), this.clonePosition()));
2803
+ return this.error(P.EXPECT_ARGUMENT_STYLE, A(this.clonePosition(), this.clonePosition()));
2804
2804
  var d = A(c, this.clonePosition());
2805
2805
  l = { style: m, styleLocation: d };
2806
2806
  }
2807
- var E = this.tryParseArgumentClose(r);
2808
- if (E.err)
2809
- return E;
2810
- var _ = A(r, this.clonePosition());
2811
- if (l && Ct(l?.style, "::", 0)) {
2812
- var y = On(l.style.slice(2));
2807
+ var w = this.tryParseArgumentClose(r);
2808
+ if (w.err)
2809
+ return w;
2810
+ var v = A(r, this.clonePosition());
2811
+ if (l && Nt(l?.style, "::", 0)) {
2812
+ var y = Mi(l.style.slice(2));
2813
2813
  if (s === "number") {
2814
2814
  var p = this.parseNumberSkeletonFromString(y, l.styleLocation);
2815
2815
  return p.err ? p : {
2816
- val: { type: $.number, value: n, location: _, style: p.val },
2816
+ val: { type: z.number, value: i, location: v, style: p.val },
2817
2817
  err: null
2818
2818
  };
2819
2819
  } else {
2820
2820
  if (y.length === 0)
2821
- return this.error(B.EXPECT_DATE_TIME_SKELETON, _);
2822
- var v = y;
2823
- this.locale && (v = xn(y, this.locale));
2821
+ return this.error(P.EXPECT_DATE_TIME_SKELETON, v);
2822
+ var T = y;
2823
+ this.locale && (T = wi(y, this.locale));
2824
2824
  var m = {
2825
- type: _e.dateTime,
2826
- pattern: v,
2825
+ type: we.dateTime,
2826
+ pattern: T,
2827
2827
  location: l.styleLocation,
2828
- parsedOptions: this.shouldParseSkeletons ? dn(v) : {}
2829
- }, O = s === "date" ? $.date : $.time;
2828
+ parsedOptions: this.shouldParseSkeletons ? bi(T) : {}
2829
+ }, B = s === "date" ? z.date : z.time;
2830
2830
  return {
2831
- val: { type: O, value: n, location: _, style: m },
2831
+ val: { type: B, value: i, location: v, style: m },
2832
2832
  err: null
2833
2833
  };
2834
2834
  }
2835
2835
  }
2836
2836
  return {
2837
2837
  val: {
2838
- type: s === "number" ? $.number : s === "date" ? $.date : $.time,
2839
- value: n,
2840
- location: _,
2838
+ type: s === "number" ? z.number : s === "date" ? z.date : z.time,
2839
+ value: i,
2840
+ location: v,
2841
2841
  style: (o = l?.style) !== null && o !== void 0 ? o : null
2842
2842
  },
2843
2843
  err: null
@@ -2846,61 +2846,61 @@ var Dn = (
2846
2846
  case "plural":
2847
2847
  case "selectordinal":
2848
2848
  case "select": {
2849
- var w = this.clonePosition();
2849
+ var I = this.clonePosition();
2850
2850
  if (this.bumpSpace(), !this.bumpIf(","))
2851
- return this.error(B.EXPECT_SELECT_ARGUMENT_OPTIONS, A(w, Xe({}, w)));
2851
+ return this.error(P.EXPECT_SELECT_ARGUMENT_OPTIONS, A(I, qe({}, I)));
2852
2852
  this.bumpSpace();
2853
- var M = this.parseIdentifierIfPossible(), S = 0;
2854
- if (s !== "select" && M.value === "offset") {
2853
+ var D = this.parseIdentifierIfPossible(), L = 0;
2854
+ if (s !== "select" && D.value === "offset") {
2855
2855
  if (!this.bumpIf(":"))
2856
- return this.error(B.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, A(this.clonePosition(), this.clonePosition()));
2856
+ return this.error(P.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, A(this.clonePosition(), this.clonePosition()));
2857
2857
  this.bumpSpace();
2858
- var p = this.tryParseDecimalInteger(B.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, B.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2858
+ var p = this.tryParseDecimalInteger(P.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, P.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2859
2859
  if (p.err)
2860
2860
  return p;
2861
- this.bumpSpace(), M = this.parseIdentifierIfPossible(), S = p.val;
2861
+ this.bumpSpace(), D = this.parseIdentifierIfPossible(), L = p.val;
2862
2862
  }
2863
- var D = this.tryParsePluralOrSelectOptions(t, s, i, M);
2864
- if (D.err)
2865
- return D;
2866
- var E = this.tryParseArgumentClose(r);
2867
- if (E.err)
2868
- return E;
2869
- var z = A(r, this.clonePosition());
2863
+ var H = this.tryParsePluralOrSelectOptions(t, s, n, D);
2864
+ if (H.err)
2865
+ return H;
2866
+ var w = this.tryParseArgumentClose(r);
2867
+ if (w.err)
2868
+ return w;
2869
+ var G = A(r, this.clonePosition());
2870
2870
  return s === "select" ? {
2871
2871
  val: {
2872
- type: $.select,
2873
- value: n,
2874
- options: Nt(D.val),
2875
- location: z
2872
+ type: z.select,
2873
+ value: i,
2874
+ options: Ot(H.val),
2875
+ location: G
2876
2876
  },
2877
2877
  err: null
2878
2878
  } : {
2879
2879
  val: {
2880
- type: $.plural,
2881
- value: n,
2882
- options: Nt(D.val),
2883
- offset: S,
2880
+ type: z.plural,
2881
+ value: i,
2882
+ options: Ot(H.val),
2883
+ offset: L,
2884
2884
  pluralType: s === "plural" ? "cardinal" : "ordinal",
2885
- location: z
2885
+ location: G
2886
2886
  },
2887
2887
  err: null
2888
2888
  };
2889
2889
  }
2890
2890
  default:
2891
- return this.error(B.INVALID_ARGUMENT_TYPE, A(a, u));
2891
+ return this.error(P.INVALID_ARGUMENT_TYPE, A(a, u));
2892
2892
  }
2893
2893
  }, e.prototype.tryParseArgumentClose = function(t) {
2894
- return this.isEOF() || this.char() !== 125 ? this.error(B.EXPECT_ARGUMENT_CLOSING_BRACE, A(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2894
+ return this.isEOF() || this.char() !== 125 ? this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE, A(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2895
2895
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
2896
- for (var t = 0, i = this.clonePosition(); !this.isEOF(); ) {
2897
- var n = this.char();
2898
- switch (n) {
2896
+ for (var t = 0, n = this.clonePosition(); !this.isEOF(); ) {
2897
+ var i = this.char();
2898
+ switch (i) {
2899
2899
  case 39: {
2900
2900
  this.bump();
2901
2901
  var r = this.clonePosition();
2902
2902
  if (!this.bumpUntil("'"))
2903
- return this.error(B.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, A(r, this.clonePosition()));
2903
+ return this.error(P.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, A(r, this.clonePosition()));
2904
2904
  this.bump();
2905
2905
  break;
2906
2906
  }
@@ -2913,7 +2913,7 @@ var Dn = (
2913
2913
  t -= 1;
2914
2914
  else
2915
2915
  return {
2916
- val: this.message.slice(i.offset, this.offset()),
2916
+ val: this.message.slice(n.offset, this.offset()),
2917
2917
  err: null
2918
2918
  };
2919
2919
  break;
@@ -2924,31 +2924,31 @@ var Dn = (
2924
2924
  }
2925
2925
  }
2926
2926
  return {
2927
- val: this.message.slice(i.offset, this.offset()),
2927
+ val: this.message.slice(n.offset, this.offset()),
2928
2928
  err: null
2929
2929
  };
2930
- }, e.prototype.parseNumberSkeletonFromString = function(t, i) {
2931
- var n = [];
2930
+ }, e.prototype.parseNumberSkeletonFromString = function(t, n) {
2931
+ var i = [];
2932
2932
  try {
2933
- n = bn(t);
2933
+ i = yi(t);
2934
2934
  } catch {
2935
- return this.error(B.INVALID_NUMBER_SKELETON, i);
2935
+ return this.error(P.INVALID_NUMBER_SKELETON, n);
2936
2936
  }
2937
2937
  return {
2938
2938
  val: {
2939
- type: _e.number,
2940
- tokens: n,
2941
- location: i,
2942
- parsedOptions: this.shouldParseSkeletons ? _n(n) : {}
2939
+ type: we.number,
2940
+ tokens: i,
2941
+ location: n,
2942
+ parsedOptions: this.shouldParseSkeletons ? xi(i) : {}
2943
2943
  },
2944
2944
  err: null
2945
2945
  };
2946
- }, e.prototype.tryParsePluralOrSelectOptions = function(t, i, n, r) {
2946
+ }, e.prototype.tryParsePluralOrSelectOptions = function(t, n, i, r) {
2947
2947
  for (var o, a = !1, s = [], u = /* @__PURE__ */ new Set(), l = r.value, c = r.location; ; ) {
2948
2948
  if (l.length === 0) {
2949
2949
  var p = this.clonePosition();
2950
- if (i !== "select" && this.bumpIf("=")) {
2951
- var m = this.tryParseDecimalInteger(B.EXPECT_PLURAL_ARGUMENT_SELECTOR, B.INVALID_PLURAL_ARGUMENT_SELECTOR);
2950
+ if (n !== "select" && this.bumpIf("=")) {
2951
+ var m = this.tryParseDecimalInteger(P.EXPECT_PLURAL_ARGUMENT_SELECTOR, P.INVALID_PLURAL_ARGUMENT_SELECTOR);
2952
2952
  if (m.err)
2953
2953
  return m;
2954
2954
  c = A(p, this.clonePosition()), l = this.message.slice(p.offset, this.offset());
@@ -2956,29 +2956,29 @@ var Dn = (
2956
2956
  break;
2957
2957
  }
2958
2958
  if (u.has(l))
2959
- return this.error(i === "select" ? B.DUPLICATE_SELECT_ARGUMENT_SELECTOR : B.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
2959
+ return this.error(n === "select" ? P.DUPLICATE_SELECT_ARGUMENT_SELECTOR : P.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
2960
2960
  l === "other" && (a = !0), this.bumpSpace();
2961
2961
  var d = this.clonePosition();
2962
2962
  if (!this.bumpIf("{"))
2963
- return this.error(i === "select" ? B.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : B.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, A(this.clonePosition(), this.clonePosition()));
2964
- var E = this.parseMessage(t + 1, i, n);
2965
- if (E.err)
2966
- return E;
2967
- var _ = this.tryParseArgumentClose(d);
2968
- if (_.err)
2969
- return _;
2963
+ return this.error(n === "select" ? P.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : P.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, A(this.clonePosition(), this.clonePosition()));
2964
+ var w = this.parseMessage(t + 1, n, i);
2965
+ if (w.err)
2966
+ return w;
2967
+ var v = this.tryParseArgumentClose(d);
2968
+ if (v.err)
2969
+ return v;
2970
2970
  s.push([
2971
2971
  l,
2972
2972
  {
2973
- value: E.val,
2973
+ value: w.val,
2974
2974
  location: A(d, this.clonePosition())
2975
2975
  }
2976
2976
  ]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, c = o.location;
2977
2977
  }
2978
- return s.length === 0 ? this.error(i === "select" ? B.EXPECT_SELECT_ARGUMENT_SELECTOR : B.EXPECT_PLURAL_ARGUMENT_SELECTOR, A(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(B.MISSING_OTHER_CLAUSE, A(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
2979
- }, e.prototype.tryParseDecimalInteger = function(t, i) {
2980
- var n = 1, r = this.clonePosition();
2981
- this.bumpIf("+") || this.bumpIf("-") && (n = -1);
2978
+ return s.length === 0 ? this.error(n === "select" ? P.EXPECT_SELECT_ARGUMENT_SELECTOR : P.EXPECT_PLURAL_ARGUMENT_SELECTOR, A(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(P.MISSING_OTHER_CLAUSE, A(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
2979
+ }, e.prototype.tryParseDecimalInteger = function(t, n) {
2980
+ var i = 1, r = this.clonePosition();
2981
+ this.bumpIf("+") || this.bumpIf("-") && (i = -1);
2982
2982
  for (var o = !1, a = 0; !this.isEOF(); ) {
2983
2983
  var s = this.char();
2984
2984
  if (s >= 48 && s <= 57)
@@ -2987,7 +2987,7 @@ var Dn = (
2987
2987
  break;
2988
2988
  }
2989
2989
  var u = A(r, this.clonePosition());
2990
- return o ? (a *= n, Cn(a) ? { val: a, err: null } : this.error(i, u)) : this.error(t, u);
2990
+ return o ? (a *= i, Ni(a) ? { val: a, err: null } : this.error(n, u)) : this.error(t, u);
2991
2991
  }, e.prototype.offset = function() {
2992
2992
  return this.position.offset;
2993
2993
  }, e.prototype.isEOF = function() {
@@ -3002,17 +3002,17 @@ var Dn = (
3002
3002
  var t = this.position.offset;
3003
3003
  if (t >= this.message.length)
3004
3004
  throw Error("out of bound");
3005
- var i = li(this.message, t);
3006
- if (i === void 0)
3005
+ var n = cn(this.message, t);
3006
+ if (n === void 0)
3007
3007
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3008
- return i;
3009
- }, e.prototype.error = function(t, i) {
3008
+ return n;
3009
+ }, e.prototype.error = function(t, n) {
3010
3010
  return {
3011
3011
  val: null,
3012
3012
  err: {
3013
3013
  kind: t,
3014
3014
  message: this.message,
3015
- location: i
3015
+ location: n
3016
3016
  }
3017
3017
  };
3018
3018
  }, e.prototype.bump = function() {
@@ -3021,286 +3021,286 @@ var Dn = (
3021
3021
  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);
3022
3022
  }
3023
3023
  }, e.prototype.bumpIf = function(t) {
3024
- if (Ct(this.message, t, this.offset())) {
3025
- for (var i = 0; i < t.length; i++)
3024
+ if (Nt(this.message, t, this.offset())) {
3025
+ for (var n = 0; n < t.length; n++)
3026
3026
  this.bump();
3027
3027
  return !0;
3028
3028
  }
3029
3029
  return !1;
3030
3030
  }, e.prototype.bumpUntil = function(t) {
3031
- var i = this.offset(), n = this.message.indexOf(t, i);
3032
- return n >= 0 ? (this.bumpTo(n), !0) : (this.bumpTo(this.message.length), !1);
3031
+ var n = this.offset(), i = this.message.indexOf(t, n);
3032
+ return i >= 0 ? (this.bumpTo(i), !0) : (this.bumpTo(this.message.length), !1);
3033
3033
  }, e.prototype.bumpTo = function(t) {
3034
3034
  if (this.offset() > t)
3035
3035
  throw Error("targetOffset ".concat(t, " must be greater than or equal to the current offset ").concat(this.offset()));
3036
3036
  for (t = Math.min(t, this.message.length); ; ) {
3037
- var i = this.offset();
3038
- if (i === t)
3037
+ var n = this.offset();
3038
+ if (n === t)
3039
3039
  break;
3040
- if (i > t)
3040
+ if (n > t)
3041
3041
  throw Error("targetOffset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3042
3042
  if (this.bump(), this.isEOF())
3043
3043
  break;
3044
3044
  }
3045
3045
  }, e.prototype.bumpSpace = function() {
3046
- for (; !this.isEOF() && ci(this.char()); )
3046
+ for (; !this.isEOF() && fn(this.char()); )
3047
3047
  this.bump();
3048
3048
  }, e.prototype.peek = function() {
3049
3049
  if (this.isEOF())
3050
3050
  return null;
3051
- var t = this.char(), i = this.offset(), n = this.message.charCodeAt(i + (t >= 65536 ? 2 : 1));
3052
- return n ?? null;
3051
+ var t = this.char(), n = this.offset(), i = this.message.charCodeAt(n + (t >= 65536 ? 2 : 1));
3052
+ return i ?? null;
3053
3053
  }, e;
3054
3054
  }()
3055
3055
  );
3056
3056
  function gt(e) {
3057
3057
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3058
3058
  }
3059
- function Rn(e) {
3059
+ function Ui(e) {
3060
3060
  return gt(e) || e === 47;
3061
3061
  }
3062
- function Un(e) {
3062
+ function ji(e) {
3063
3063
  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;
3064
3064
  }
3065
- function ci(e) {
3065
+ function fn(e) {
3066
3066
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3067
3067
  }
3068
- function jn(e) {
3068
+ function Gi(e) {
3069
3069
  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;
3070
3070
  }
3071
- function bt(e) {
3071
+ function yt(e) {
3072
3072
  e.forEach(function(t) {
3073
- if (delete t.location, ei(t) || ti(t))
3074
- for (var i in t.options)
3075
- delete t.options[i].location, bt(t.options[i].value);
3073
+ if (delete t.location, tn(t) || nn(t))
3074
+ for (var n in t.options)
3075
+ delete t.options[n].location, yt(t.options[n].value);
3076
3076
  else
3077
- Jt(t) && ni(t.style) || (Qt(t) || Kt(t)) && ft(t.style) ? delete t.style.location : ii(t) && bt(t.children);
3077
+ Qt(t) && on(t.style) || (Kt(t) || en(t)) && pt(t.style) ? delete t.style.location : rn(t) && yt(t.children);
3078
3078
  });
3079
3079
  }
3080
- function Gn(e, t) {
3081
- t === void 0 && (t = {}), t = Xe({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3082
- var i = new Dn(e, t).parse();
3083
- if (i.err) {
3084
- var n = SyntaxError(B[i.err.kind]);
3085
- throw n.location = i.err.location, n.originalMessage = i.err.message, n;
3080
+ function $i(e, t) {
3081
+ t === void 0 && (t = {}), t = qe({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3082
+ var n = new Ri(e, t).parse();
3083
+ if (n.err) {
3084
+ var i = SyntaxError(P[n.err.kind]);
3085
+ throw i.location = n.err.location, i.originalMessage = n.err.message, i;
3086
3086
  }
3087
- return t?.captureLocation || bt(i.val), i.val;
3087
+ return t?.captureLocation || yt(n.val), n.val;
3088
3088
  }
3089
- var xe;
3089
+ var Te;
3090
3090
  (function(e) {
3091
3091
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3092
- })(xe || (xe = {}));
3093
- var Je = (
3092
+ })(Te || (Te = {}));
3093
+ var Qe = (
3094
3094
  /** @class */
3095
3095
  function(e) {
3096
- Ye(t, e);
3097
- function t(i, n, r) {
3098
- var o = e.call(this, i) || this;
3099
- return o.code = n, o.originalMessage = r, o;
3096
+ Je(t, e);
3097
+ function t(n, i, r) {
3098
+ var o = e.call(this, n) || this;
3099
+ return o.code = i, o.originalMessage = r, o;
3100
3100
  }
3101
3101
  return t.prototype.toString = function() {
3102
3102
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3103
3103
  }, t;
3104
3104
  }(Error)
3105
- ), Mt = (
3105
+ ), Dt = (
3106
3106
  /** @class */
3107
3107
  function(e) {
3108
- Ye(t, e);
3109
- function t(i, n, r, o) {
3110
- return e.call(this, 'Invalid values for "'.concat(i, '": "').concat(n, '". Options are "').concat(Object.keys(r).join('", "'), '"'), xe.INVALID_VALUE, o) || this;
3108
+ Je(t, e);
3109
+ function t(n, i, r, o) {
3110
+ return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(i, '". Options are "').concat(Object.keys(r).join('", "'), '"'), Te.INVALID_VALUE, o) || this;
3111
3111
  }
3112
3112
  return t;
3113
- }(Je)
3114
- ), $n = (
3113
+ }(Qe)
3114
+ ), zi = (
3115
3115
  /** @class */
3116
3116
  function(e) {
3117
- Ye(t, e);
3118
- function t(i, n, r) {
3119
- return e.call(this, 'Value for "'.concat(i, '" must be of type ').concat(n), xe.INVALID_VALUE, r) || this;
3117
+ Je(t, e);
3118
+ function t(n, i, r) {
3119
+ return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(i), Te.INVALID_VALUE, r) || this;
3120
3120
  }
3121
3121
  return t;
3122
- }(Je)
3123
- ), zn = (
3122
+ }(Qe)
3123
+ ), Fi = (
3124
3124
  /** @class */
3125
3125
  function(e) {
3126
- Ye(t, e);
3127
- function t(i, n) {
3128
- return e.call(this, 'The intl string context variable "'.concat(i, '" was not provided to the string "').concat(n, '"'), xe.MISSING_VALUE, n) || this;
3126
+ Je(t, e);
3127
+ function t(n, i) {
3128
+ return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(i, '"'), Te.MISSING_VALUE, i) || this;
3129
3129
  }
3130
3130
  return t;
3131
- }(Je)
3132
- ), W;
3131
+ }(Qe)
3132
+ ), q;
3133
3133
  (function(e) {
3134
3134
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3135
- })(W || (W = {}));
3136
- function Fn(e) {
3137
- return e.length < 2 ? e : e.reduce(function(t, i) {
3138
- var n = t[t.length - 1];
3139
- return !n || n.type !== W.literal || i.type !== W.literal ? t.push(i) : n.value += i.value, t;
3135
+ })(q || (q = {}));
3136
+ function Vi(e) {
3137
+ return e.length < 2 ? e : e.reduce(function(t, n) {
3138
+ var i = t[t.length - 1];
3139
+ return !i || i.type !== q.literal || n.type !== q.literal ? t.push(n) : i.value += n.value, t;
3140
3140
  }, []);
3141
3141
  }
3142
- function Vn(e) {
3142
+ function Xi(e) {
3143
3143
  return typeof e == "function";
3144
3144
  }
3145
- function Fe(e, t, i, n, r, o, a) {
3146
- if (e.length === 1 && At(e[0]))
3145
+ function Ve(e, t, n, i, r, o, a) {
3146
+ if (e.length === 1 && It(e[0]))
3147
3147
  return [
3148
3148
  {
3149
- type: W.literal,
3149
+ type: q.literal,
3150
3150
  value: e[0].value
3151
3151
  }
3152
3152
  ];
3153
3153
  for (var s = [], u = 0, l = e; u < l.length; u++) {
3154
3154
  var c = l[u];
3155
- if (At(c)) {
3155
+ if (It(c)) {
3156
3156
  s.push({
3157
- type: W.literal,
3157
+ type: q.literal,
3158
3158
  value: c.value
3159
3159
  });
3160
3160
  continue;
3161
3161
  }
3162
- if (pn(c)) {
3162
+ if (mi(c)) {
3163
3163
  typeof o == "number" && s.push({
3164
- type: W.literal,
3165
- value: i.getNumberFormat(t).format(o)
3164
+ type: q.literal,
3165
+ value: n.getNumberFormat(t).format(o)
3166
3166
  });
3167
3167
  continue;
3168
3168
  }
3169
3169
  var p = c.value;
3170
3170
  if (!(r && p in r))
3171
- throw new zn(p, a);
3171
+ throw new Fi(p, a);
3172
3172
  var m = r[p];
3173
- if (fn(c)) {
3173
+ if (pi(c)) {
3174
3174
  (!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), s.push({
3175
- type: typeof m == "string" ? W.literal : W.object,
3175
+ type: typeof m == "string" ? q.literal : q.object,
3176
3176
  value: m
3177
3177
  });
3178
3178
  continue;
3179
3179
  }
3180
- if (Qt(c)) {
3181
- var d = typeof c.style == "string" ? n.date[c.style] : ft(c.style) ? c.style.parsedOptions : void 0;
3180
+ if (Kt(c)) {
3181
+ var d = typeof c.style == "string" ? i.date[c.style] : pt(c.style) ? c.style.parsedOptions : void 0;
3182
3182
  s.push({
3183
- type: W.literal,
3184
- value: i.getDateTimeFormat(t, d).format(m)
3183
+ type: q.literal,
3184
+ value: n.getDateTimeFormat(t, d).format(m)
3185
3185
  });
3186
3186
  continue;
3187
3187
  }
3188
- if (Kt(c)) {
3189
- var d = typeof c.style == "string" ? n.time[c.style] : ft(c.style) ? c.style.parsedOptions : n.time.medium;
3188
+ if (en(c)) {
3189
+ var d = typeof c.style == "string" ? i.time[c.style] : pt(c.style) ? c.style.parsedOptions : i.time.medium;
3190
3190
  s.push({
3191
- type: W.literal,
3192
- value: i.getDateTimeFormat(t, d).format(m)
3191
+ type: q.literal,
3192
+ value: n.getDateTimeFormat(t, d).format(m)
3193
3193
  });
3194
3194
  continue;
3195
3195
  }
3196
- if (Jt(c)) {
3197
- var d = typeof c.style == "string" ? n.number[c.style] : ni(c.style) ? c.style.parsedOptions : void 0;
3196
+ if (Qt(c)) {
3197
+ var d = typeof c.style == "string" ? i.number[c.style] : on(c.style) ? c.style.parsedOptions : void 0;
3198
3198
  d && d.scale && (m = m * (d.scale || 1)), s.push({
3199
- type: W.literal,
3200
- value: i.getNumberFormat(t, d).format(m)
3199
+ type: q.literal,
3200
+ value: n.getNumberFormat(t, d).format(m)
3201
3201
  });
3202
3202
  continue;
3203
3203
  }
3204
- if (ii(c)) {
3205
- var E = c.children, _ = c.value, y = r[_];
3206
- if (!Vn(y))
3207
- throw new $n(_, "function", a);
3208
- var v = Fe(E, t, i, n, r, o), O = y(v.map(function(S) {
3209
- return S.value;
3204
+ if (rn(c)) {
3205
+ var w = c.children, v = c.value, y = r[v];
3206
+ if (!Xi(y))
3207
+ throw new zi(v, "function", a);
3208
+ var T = Ve(w, t, n, i, r, o), B = y(T.map(function(L) {
3209
+ return L.value;
3210
3210
  }));
3211
- Array.isArray(O) || (O = [O]), s.push.apply(s, O.map(function(S) {
3211
+ Array.isArray(B) || (B = [B]), s.push.apply(s, B.map(function(L) {
3212
3212
  return {
3213
- type: typeof S == "string" ? W.literal : W.object,
3214
- value: S
3213
+ type: typeof L == "string" ? q.literal : q.object,
3214
+ value: L
3215
3215
  };
3216
3216
  }));
3217
3217
  }
3218
- if (ei(c)) {
3219
- var w = c.options[m] || c.options.other;
3220
- if (!w)
3221
- throw new Mt(c.value, m, Object.keys(c.options), a);
3222
- s.push.apply(s, Fe(w.value, t, i, n, r));
3218
+ if (tn(c)) {
3219
+ var I = c.options[m] || c.options.other;
3220
+ if (!I)
3221
+ throw new Dt(c.value, m, Object.keys(c.options), a);
3222
+ s.push.apply(s, Ve(I.value, t, n, i, r));
3223
3223
  continue;
3224
3224
  }
3225
- if (ti(c)) {
3226
- var w = c.options["=".concat(m)];
3227
- if (!w) {
3225
+ if (nn(c)) {
3226
+ var I = c.options["=".concat(m)];
3227
+ if (!I) {
3228
3228
  if (!Intl.PluralRules)
3229
- throw new Je(`Intl.PluralRules is not available in this environment.
3229
+ throw new Qe(`Intl.PluralRules is not available in this environment.
3230
3230
  Try polyfilling it using "@formatjs/intl-pluralrules"
3231
- `, xe.MISSING_INTL_API, a);
3232
- var M = i.getPluralRules(t, { type: c.pluralType }).select(m - (c.offset || 0));
3233
- w = c.options[M] || c.options.other;
3231
+ `, Te.MISSING_INTL_API, a);
3232
+ var D = n.getPluralRules(t, { type: c.pluralType }).select(m - (c.offset || 0));
3233
+ I = c.options[D] || c.options.other;
3234
3234
  }
3235
- if (!w)
3236
- throw new Mt(c.value, m, Object.keys(c.options), a);
3237
- s.push.apply(s, Fe(w.value, t, i, n, r, m - (c.offset || 0)));
3235
+ if (!I)
3236
+ throw new Dt(c.value, m, Object.keys(c.options), a);
3237
+ s.push.apply(s, Ve(I.value, t, n, i, r, m - (c.offset || 0)));
3238
3238
  continue;
3239
3239
  }
3240
3240
  }
3241
- return Fn(s);
3241
+ return Vi(s);
3242
3242
  }
3243
- function Xn(e, t) {
3244
- return t ? oe(oe(oe({}, e || {}), t || {}), Object.keys(e).reduce(function(i, n) {
3245
- return i[n] = oe(oe({}, e[n]), t[n] || {}), i;
3243
+ function qi(e, t) {
3244
+ return t ? oe(oe(oe({}, e || {}), t || {}), Object.keys(e).reduce(function(n, i) {
3245
+ return n[i] = oe(oe({}, e[i]), t[i] || {}), n;
3246
3246
  }, {})) : e;
3247
3247
  }
3248
- function qn(e, t) {
3249
- return t ? Object.keys(e).reduce(function(i, n) {
3250
- return i[n] = Xn(e[n], t[n]), i;
3248
+ function Wi(e, t) {
3249
+ return t ? Object.keys(e).reduce(function(n, i) {
3250
+ return n[i] = qi(e[i], t[i]), n;
3251
3251
  }, oe({}, e)) : e;
3252
3252
  }
3253
- function at(e) {
3253
+ function lt(e) {
3254
3254
  return {
3255
3255
  create: function() {
3256
3256
  return {
3257
3257
  get: function(t) {
3258
3258
  return e[t];
3259
3259
  },
3260
- set: function(t, i) {
3261
- e[t] = i;
3260
+ set: function(t, n) {
3261
+ e[t] = n;
3262
3262
  }
3263
3263
  };
3264
3264
  }
3265
3265
  };
3266
3266
  }
3267
- function Wn(e) {
3267
+ function Zi(e) {
3268
3268
  return e === void 0 && (e = {
3269
3269
  number: {},
3270
3270
  dateTime: {},
3271
3271
  pluralRules: {}
3272
3272
  }), {
3273
- getNumberFormat: rt(function() {
3274
- for (var t, i = [], n = 0; n < arguments.length; n++)
3275
- i[n] = arguments[n];
3276
- return new ((t = Intl.NumberFormat).bind.apply(t, nt([void 0], i, !1)))();
3273
+ getNumberFormat: ot(function() {
3274
+ for (var t, n = [], i = 0; i < arguments.length; i++)
3275
+ n[i] = arguments[i];
3276
+ return new ((t = Intl.NumberFormat).bind.apply(t, rt([void 0], n, !1)))();
3277
3277
  }, {
3278
- cache: at(e.number),
3279
- strategy: ot.variadic
3278
+ cache: lt(e.number),
3279
+ strategy: st.variadic
3280
3280
  }),
3281
- getDateTimeFormat: rt(function() {
3282
- for (var t, i = [], n = 0; n < arguments.length; n++)
3283
- i[n] = arguments[n];
3284
- return new ((t = Intl.DateTimeFormat).bind.apply(t, nt([void 0], i, !1)))();
3281
+ getDateTimeFormat: ot(function() {
3282
+ for (var t, n = [], i = 0; i < arguments.length; i++)
3283
+ n[i] = arguments[i];
3284
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, rt([void 0], n, !1)))();
3285
3285
  }, {
3286
- cache: at(e.dateTime),
3287
- strategy: ot.variadic
3286
+ cache: lt(e.dateTime),
3287
+ strategy: st.variadic
3288
3288
  }),
3289
- getPluralRules: rt(function() {
3290
- for (var t, i = [], n = 0; n < arguments.length; n++)
3291
- i[n] = arguments[n];
3292
- return new ((t = Intl.PluralRules).bind.apply(t, nt([void 0], i, !1)))();
3289
+ getPluralRules: ot(function() {
3290
+ for (var t, n = [], i = 0; i < arguments.length; i++)
3291
+ n[i] = arguments[i];
3292
+ return new ((t = Intl.PluralRules).bind.apply(t, rt([void 0], n, !1)))();
3293
3293
  }, {
3294
- cache: at(e.pluralRules),
3295
- strategy: ot.variadic
3294
+ cache: lt(e.pluralRules),
3295
+ strategy: st.variadic
3296
3296
  })
3297
3297
  };
3298
3298
  }
3299
- var Zn = (
3299
+ var Yi = (
3300
3300
  /** @class */
3301
3301
  function() {
3302
- function e(t, i, n, r) {
3303
- i === void 0 && (i = e.defaultLocale);
3302
+ function e(t, n, i, r) {
3303
+ n === void 0 && (n = e.defaultLocale);
3304
3304
  var o = this;
3305
3305
  if (this.formatterCache = {
3306
3306
  number: {},
@@ -3311,11 +3311,11 @@ var Zn = (
3311
3311
  if (l.length === 1)
3312
3312
  return l[0].value;
3313
3313
  var c = l.reduce(function(p, m) {
3314
- return !p.length || m.type !== W.literal || typeof p[p.length - 1] != "string" ? p.push(m.value) : p[p.length - 1] += m.value, p;
3314
+ return !p.length || m.type !== q.literal || typeof p[p.length - 1] != "string" ? p.push(m.value) : p[p.length - 1] += m.value, p;
3315
3315
  }, []);
3316
3316
  return c.length <= 1 ? c[0] || "" : c;
3317
3317
  }, this.formatToParts = function(u) {
3318
- return Fe(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
3318
+ return Ve(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
3319
3319
  }, this.resolvedOptions = function() {
3320
3320
  var u;
3321
3321
  return {
@@ -3323,18 +3323,18 @@ var Zn = (
3323
3323
  };
3324
3324
  }, this.getAst = function() {
3325
3325
  return o.ast;
3326
- }, this.locales = i, this.resolvedLocale = e.resolveLocale(i), typeof t == "string") {
3326
+ }, this.locales = n, this.resolvedLocale = e.resolveLocale(n), typeof t == "string") {
3327
3327
  if (this.message = t, !e.__parse)
3328
3328
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3329
3329
  var a = r || {};
3330
3330
  a.formatters;
3331
- var s = rn(a, ["formatters"]);
3331
+ var s = oi(a, ["formatters"]);
3332
3332
  this.ast = e.__parse(t, oe(oe({}, s), { locale: this.resolvedLocale }));
3333
3333
  } else
3334
3334
  this.ast = t;
3335
3335
  if (!Array.isArray(this.ast))
3336
3336
  throw new TypeError("A message must be provided as a String or AST.");
3337
- this.formats = qn(e.formats, n), this.formatters = r && r.formatters || Wn(this.formatterCache);
3337
+ this.formats = Wi(e.formats, i), this.formatters = r && r.formatters || Zi(this.formatterCache);
3338
3338
  }
3339
3339
  return Object.defineProperty(e, "defaultLocale", {
3340
3340
  get: function() {
@@ -3344,10 +3344,10 @@ var Zn = (
3344
3344
  configurable: !0
3345
3345
  }), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
3346
3346
  if (!(typeof Intl.Locale > "u")) {
3347
- var i = Intl.NumberFormat.supportedLocalesOf(t);
3348
- return i.length > 0 ? new Intl.Locale(i[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3347
+ var n = Intl.NumberFormat.supportedLocalesOf(t);
3348
+ return n.length > 0 ? new Intl.Locale(n[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3349
3349
  }
3350
- }, e.__parse = Gn, e.formats = {
3350
+ }, e.__parse = $i, e.formats = {
3351
3351
  number: {
3352
3352
  integer: {
3353
3353
  maximumFractionDigits: 0
@@ -3408,113 +3408,113 @@ var Zn = (
3408
3408
  }, e;
3409
3409
  }()
3410
3410
  );
3411
- function Yn(e, t) {
3411
+ function Ji(e, t) {
3412
3412
  if (t == null)
3413
3413
  return;
3414
3414
  if (t in e)
3415
3415
  return e[t];
3416
- const i = t.split(".");
3417
- let n = e;
3418
- for (let r = 0; r < i.length; r++)
3419
- if (typeof n == "object") {
3416
+ const n = t.split(".");
3417
+ let i = e;
3418
+ for (let r = 0; r < n.length; r++)
3419
+ if (typeof i == "object") {
3420
3420
  if (r > 0) {
3421
- const o = i.slice(r, i.length).join(".");
3422
- if (o in n) {
3423
- n = n[o];
3421
+ const o = n.slice(r, n.length).join(".");
3422
+ if (o in i) {
3423
+ i = i[o];
3424
3424
  break;
3425
3425
  }
3426
3426
  }
3427
- n = n[i[r]];
3427
+ i = i[n[r]];
3428
3428
  } else
3429
- n = void 0;
3430
- return n;
3429
+ i = void 0;
3430
+ return i;
3431
3431
  }
3432
- const le = {}, Jn = (e, t, i) => i && (t in le || (le[t] = {}), e in le[t] || (le[t][e] = i), i), hi = (e, t) => {
3432
+ const le = {}, Qi = (e, t, n) => n && (t in le || (le[t] = {}), e in le[t] || (le[t][e] = n), n), pn = (e, t) => {
3433
3433
  if (t == null)
3434
3434
  return;
3435
3435
  if (t in le && e in le[t])
3436
3436
  return le[t][e];
3437
- const i = Qe(t);
3438
- for (let n = 0; n < i.length; n++) {
3439
- const r = i[n], o = Kn(r, e);
3437
+ const n = Ke(t);
3438
+ for (let i = 0; i < n.length; i++) {
3439
+ const r = n[i], o = er(r, e);
3440
3440
  if (o)
3441
- return Jn(e, t, o);
3441
+ return Qi(e, t, o);
3442
3442
  }
3443
3443
  };
3444
- let _t;
3445
- const De = Ze({});
3446
- function Qn(e) {
3447
- return _t[e] || null;
3444
+ let xt;
3445
+ const Ue = Ye({});
3446
+ function Ki(e) {
3447
+ return xt[e] || null;
3448
3448
  }
3449
- function fi(e) {
3450
- return e in _t;
3449
+ function mn(e) {
3450
+ return e in xt;
3451
3451
  }
3452
- function Kn(e, t) {
3453
- if (!fi(e))
3452
+ function er(e, t) {
3453
+ if (!mn(e))
3454
3454
  return null;
3455
- const i = Qn(e);
3456
- return Yn(i, t);
3455
+ const n = Ki(e);
3456
+ return Ji(n, t);
3457
3457
  }
3458
- function er(e) {
3458
+ function tr(e) {
3459
3459
  if (e == null)
3460
3460
  return;
3461
- const t = Qe(e);
3462
- for (let i = 0; i < t.length; i++) {
3463
- const n = t[i];
3464
- if (fi(n))
3465
- return n;
3461
+ const t = Ke(e);
3462
+ for (let n = 0; n < t.length; n++) {
3463
+ const i = t[n];
3464
+ if (mn(i))
3465
+ return i;
3466
3466
  }
3467
3467
  }
3468
- function pi(e, ...t) {
3469
- delete le[e], De.update((i) => (i[e] = nn.all([i[e] || {}, ...t]), i));
3468
+ function dn(e, ...t) {
3469
+ delete le[e], Ue.update((n) => (n[e] = ri.all([n[e] || {}, ...t]), n));
3470
3470
  }
3471
- Pe(
3472
- [De],
3471
+ Se(
3472
+ [Ue],
3473
3473
  ([e]) => Object.keys(e)
3474
3474
  );
3475
- De.subscribe((e) => _t = e);
3476
- const Ve = {};
3477
- function tr(e, t) {
3478
- Ve[e].delete(t), Ve[e].size === 0 && delete Ve[e];
3475
+ Ue.subscribe((e) => xt = e);
3476
+ const Xe = {};
3477
+ function nr(e, t) {
3478
+ Xe[e].delete(t), Xe[e].size === 0 && delete Xe[e];
3479
3479
  }
3480
- function mi(e) {
3481
- return Ve[e];
3480
+ function bn(e) {
3481
+ return Xe[e];
3482
3482
  }
3483
3483
  function ir(e) {
3484
- return Qe(e).map((t) => {
3485
- const i = mi(t);
3486
- return [t, i ? [...i] : []];
3484
+ return Ke(e).map((t) => {
3485
+ const n = bn(t);
3486
+ return [t, n ? [...n] : []];
3487
3487
  }).filter(([, t]) => t.length > 0);
3488
3488
  }
3489
- function yt(e) {
3490
- return e == null ? !1 : Qe(e).some(
3489
+ function vt(e) {
3490
+ return e == null ? !1 : Ke(e).some(
3491
3491
  (t) => {
3492
- var i;
3493
- return (i = mi(t)) == null ? void 0 : i.size;
3492
+ var n;
3493
+ return (n = bn(t)) == null ? void 0 : n.size;
3494
3494
  }
3495
3495
  );
3496
3496
  }
3497
- function nr(e, t) {
3497
+ function rr(e, t) {
3498
3498
  return Promise.all(
3499
- t.map((n) => (tr(e, n), n().then((r) => r.default || r)))
3500
- ).then((n) => pi(e, ...n));
3499
+ t.map((i) => (nr(e, i), i().then((r) => r.default || r)))
3500
+ ).then((i) => dn(e, ...i));
3501
3501
  }
3502
- const ke = {};
3503
- function di(e) {
3504
- if (!yt(e))
3505
- return e in ke ? ke[e] : Promise.resolve();
3502
+ const He = {};
3503
+ function gn(e) {
3504
+ if (!vt(e))
3505
+ return e in He ? He[e] : Promise.resolve();
3506
3506
  const t = ir(e);
3507
- return ke[e] = Promise.all(
3507
+ return He[e] = Promise.all(
3508
3508
  t.map(
3509
- ([i, n]) => nr(i, n)
3509
+ ([n, i]) => rr(n, i)
3510
3510
  )
3511
3511
  ).then(() => {
3512
- if (yt(e))
3513
- return di(e);
3514
- delete ke[e];
3515
- }), ke[e];
3512
+ if (vt(e))
3513
+ return gn(e);
3514
+ delete He[e];
3515
+ }), He[e];
3516
3516
  }
3517
- const rr = {
3517
+ const or = {
3518
3518
  number: {
3519
3519
  scientific: { notation: "scientific" },
3520
3520
  engineering: { notation: "engineering" },
@@ -3543,150 +3543,150 @@ const rr = {
3543
3543
  timeZoneName: "short"
3544
3544
  }
3545
3545
  }
3546
- }, or = {
3546
+ }, sr = {
3547
3547
  fallbackLocale: null,
3548
3548
  loadingDelay: 200,
3549
- formats: rr,
3549
+ formats: or,
3550
3550
  warnOnMissingMessages: !0,
3551
3551
  handleMissingMessage: void 0,
3552
3552
  ignoreTag: !0
3553
- }, sr = or;
3554
- function Te() {
3555
- return sr;
3556
- }
3557
- const lt = Ze(!1);
3558
- var ar = Object.defineProperty, lr = Object.defineProperties, ur = Object.getOwnPropertyDescriptors, Dt = Object.getOwnPropertySymbols, cr = Object.prototype.hasOwnProperty, hr = Object.prototype.propertyIsEnumerable, Rt = (e, t, i) => t in e ? ar(e, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[t] = i, fr = (e, t) => {
3559
- for (var i in t || (t = {}))
3560
- cr.call(t, i) && Rt(e, i, t[i]);
3561
- if (Dt)
3562
- for (var i of Dt(t))
3563
- hr.call(t, i) && Rt(e, i, t[i]);
3553
+ }, ar = sr;
3554
+ function Pe() {
3555
+ return ar;
3556
+ }
3557
+ const ut = Ye(!1);
3558
+ var lr = Object.defineProperty, ur = Object.defineProperties, cr = Object.getOwnPropertyDescriptors, Rt = Object.getOwnPropertySymbols, hr = Object.prototype.hasOwnProperty, fr = Object.prototype.propertyIsEnumerable, Ut = (e, t, n) => t in e ? lr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, pr = (e, t) => {
3559
+ for (var n in t || (t = {}))
3560
+ hr.call(t, n) && Ut(e, n, t[n]);
3561
+ if (Rt)
3562
+ for (var n of Rt(t))
3563
+ fr.call(t, n) && Ut(e, n, t[n]);
3564
3564
  return e;
3565
- }, pr = (e, t) => lr(e, ur(t));
3566
- let vt;
3567
- const qe = Ze(null);
3568
- function Ut(e) {
3569
- return e.split("-").map((t, i, n) => n.slice(0, i + 1).join("-")).reverse();
3565
+ }, mr = (e, t) => ur(e, cr(t));
3566
+ let Et;
3567
+ const We = Ye(null);
3568
+ function jt(e) {
3569
+ return e.split("-").map((t, n, i) => i.slice(0, n + 1).join("-")).reverse();
3570
3570
  }
3571
- function Qe(e, t = Te().fallbackLocale) {
3572
- const i = Ut(e);
3573
- return t ? [.../* @__PURE__ */ new Set([...i, ...Ut(t)])] : i;
3571
+ function Ke(e, t = Pe().fallbackLocale) {
3572
+ const n = jt(e);
3573
+ return t ? [.../* @__PURE__ */ new Set([...n, ...jt(t)])] : n;
3574
3574
  }
3575
- function he() {
3576
- return vt ?? void 0;
3575
+ function fe() {
3576
+ return Et ?? void 0;
3577
3577
  }
3578
- qe.subscribe((e) => {
3579
- vt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3578
+ We.subscribe((e) => {
3579
+ Et = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3580
3580
  });
3581
- const mr = (e) => {
3582
- if (e && er(e) && yt(e)) {
3583
- const { loadingDelay: t } = Te();
3584
- let i;
3585
- return typeof window < "u" && he() != null && t ? i = window.setTimeout(
3586
- () => lt.set(!0),
3581
+ const dr = (e) => {
3582
+ if (e && tr(e) && vt(e)) {
3583
+ const { loadingDelay: t } = Pe();
3584
+ let n;
3585
+ return typeof window < "u" && fe() != null && t ? n = window.setTimeout(
3586
+ () => ut.set(!0),
3587
3587
  t
3588
- ) : lt.set(!0), di(e).then(() => {
3589
- qe.set(e);
3588
+ ) : ut.set(!0), gn(e).then(() => {
3589
+ We.set(e);
3590
3590
  }).finally(() => {
3591
- clearTimeout(i), lt.set(!1);
3591
+ clearTimeout(n), ut.set(!1);
3592
3592
  });
3593
3593
  }
3594
- return qe.set(e);
3595
- }, we = pr(fr({}, qe), {
3596
- set: mr
3597
- }), Ke = (e) => {
3594
+ return We.set(e);
3595
+ }, Be = mr(pr({}, We), {
3596
+ set: dr
3597
+ }), et = (e) => {
3598
3598
  const t = /* @__PURE__ */ Object.create(null);
3599
- return (n) => {
3600
- const r = JSON.stringify(n);
3601
- return r in t ? t[r] : t[r] = e(n);
3599
+ return (i) => {
3600
+ const r = JSON.stringify(i);
3601
+ return r in t ? t[r] : t[r] = e(i);
3602
3602
  };
3603
3603
  };
3604
- var dr = Object.defineProperty, We = Object.getOwnPropertySymbols, gi = Object.prototype.hasOwnProperty, bi = Object.prototype.propertyIsEnumerable, jt = (e, t, i) => t in e ? dr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[t] = i, xt = (e, t) => {
3605
- for (var i in t || (t = {}))
3606
- gi.call(t, i) && jt(e, i, t[i]);
3607
- if (We)
3608
- for (var i of We(t))
3609
- bi.call(t, i) && jt(e, i, t[i]);
3604
+ var br = Object.defineProperty, Ze = Object.getOwnPropertySymbols, yn = Object.prototype.hasOwnProperty, vn = Object.prototype.propertyIsEnumerable, Gt = (e, t, n) => t in e ? br(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, wt = (e, t) => {
3605
+ for (var n in t || (t = {}))
3606
+ yn.call(t, n) && Gt(e, n, t[n]);
3607
+ if (Ze)
3608
+ for (var n of Ze(t))
3609
+ vn.call(t, n) && Gt(e, n, t[n]);
3610
3610
  return e;
3611
- }, Be = (e, t) => {
3612
- var i = {};
3613
- for (var n in e)
3614
- gi.call(e, n) && t.indexOf(n) < 0 && (i[n] = e[n]);
3615
- if (e != null && We)
3616
- for (var n of We(e))
3617
- t.indexOf(n) < 0 && bi.call(e, n) && (i[n] = e[n]);
3618
- return i;
3611
+ }, Le = (e, t) => {
3612
+ var n = {};
3613
+ for (var i in e)
3614
+ yn.call(e, i) && t.indexOf(i) < 0 && (n[i] = e[i]);
3615
+ if (e != null && Ze)
3616
+ for (var i of Ze(e))
3617
+ t.indexOf(i) < 0 && vn.call(e, i) && (n[i] = e[i]);
3618
+ return n;
3619
3619
  };
3620
- const Me = (e, t) => {
3621
- const { formats: i } = Te();
3622
- if (e in i && t in i[e])
3623
- return i[e][t];
3620
+ const Re = (e, t) => {
3621
+ const { formats: n } = Pe();
3622
+ if (e in n && t in n[e])
3623
+ return n[e][t];
3624
3624
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3625
- }, gr = Ke(
3625
+ }, gr = et(
3626
3626
  (e) => {
3627
- var t = e, { locale: i, format: n } = t, r = Be(t, ["locale", "format"]);
3628
- if (i == null)
3627
+ var t = e, { locale: n, format: i } = t, r = Le(t, ["locale", "format"]);
3628
+ if (n == null)
3629
3629
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3630
- return n && (r = Me("number", n)), new Intl.NumberFormat(i, r);
3630
+ return i && (r = Re("number", i)), new Intl.NumberFormat(n, r);
3631
3631
  }
3632
- ), br = Ke(
3632
+ ), yr = et(
3633
3633
  (e) => {
3634
- var t = e, { locale: i, format: n } = t, r = Be(t, ["locale", "format"]);
3635
- if (i == null)
3634
+ var t = e, { locale: n, format: i } = t, r = Le(t, ["locale", "format"]);
3635
+ if (n == null)
3636
3636
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3637
- return n ? r = Me("date", n) : Object.keys(r).length === 0 && (r = Me("date", "short")), new Intl.DateTimeFormat(i, r);
3637
+ return i ? r = Re("date", i) : Object.keys(r).length === 0 && (r = Re("date", "short")), new Intl.DateTimeFormat(n, r);
3638
3638
  }
3639
- ), yr = Ke(
3639
+ ), vr = et(
3640
3640
  (e) => {
3641
- var t = e, { locale: i, format: n } = t, r = Be(t, ["locale", "format"]);
3642
- if (i == null)
3641
+ var t = e, { locale: n, format: i } = t, r = Le(t, ["locale", "format"]);
3642
+ if (n == null)
3643
3643
  throw new Error(
3644
3644
  '[svelte-i18n] A "locale" must be set to format time values'
3645
3645
  );
3646
- return n ? r = Me("time", n) : Object.keys(r).length === 0 && (r = Me("time", "short")), new Intl.DateTimeFormat(i, r);
3646
+ return i ? r = Re("time", i) : Object.keys(r).length === 0 && (r = Re("time", "short")), new Intl.DateTimeFormat(n, r);
3647
3647
  }
3648
- ), vr = (e = {}) => {
3648
+ ), Er = (e = {}) => {
3649
3649
  var t = e, {
3650
- locale: i = he()
3651
- } = t, n = Be(t, [
3650
+ locale: n = fe()
3651
+ } = t, i = Le(t, [
3652
3652
  "locale"
3653
3653
  ]);
3654
- return gr(xt({ locale: i }, n));
3655
- }, Er = (e = {}) => {
3654
+ return gr(wt({ locale: n }, i));
3655
+ }, _r = (e = {}) => {
3656
3656
  var t = e, {
3657
- locale: i = he()
3658
- } = t, n = Be(t, [
3657
+ locale: n = fe()
3658
+ } = t, i = Le(t, [
3659
3659
  "locale"
3660
3660
  ]);
3661
- return br(xt({ locale: i }, n));
3662
- }, _r = (e = {}) => {
3661
+ return yr(wt({ locale: n }, i));
3662
+ }, xr = (e = {}) => {
3663
3663
  var t = e, {
3664
- locale: i = he()
3665
- } = t, n = Be(t, [
3664
+ locale: n = fe()
3665
+ } = t, i = Le(t, [
3666
3666
  "locale"
3667
3667
  ]);
3668
- return yr(xt({ locale: i }, n));
3669
- }, xr = Ke(
3668
+ return vr(wt({ locale: n }, i));
3669
+ }, wr = et(
3670
3670
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3671
- (e, t = he()) => new Zn(e, t, Te().formats, {
3672
- ignoreTag: Te().ignoreTag
3671
+ (e, t = fe()) => new Yi(e, t, Pe().formats, {
3672
+ ignoreTag: Pe().ignoreTag
3673
3673
  })
3674
3674
  ), Tr = (e, t = {}) => {
3675
- var i, n, r, o;
3675
+ var n, i, r, o;
3676
3676
  let a = t;
3677
3677
  typeof e == "object" && (a = e, e = a.id);
3678
3678
  const {
3679
3679
  values: s,
3680
- locale: u = he(),
3680
+ locale: u = fe(),
3681
3681
  default: l
3682
3682
  } = a;
3683
3683
  if (u == null)
3684
3684
  throw new Error(
3685
3685
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3686
3686
  );
3687
- let c = hi(e, u);
3687
+ let c = pn(e, u);
3688
3688
  if (!c)
3689
- c = (o = (r = (n = (i = Te()).handleMissingMessage) == null ? void 0 : n.call(i, { locale: u, id: e, defaultValue: l })) != null ? r : l) != null ? o : e;
3689
+ c = (o = (r = (i = (n = Pe()).handleMissingMessage) == null ? void 0 : i.call(n, { locale: u, id: e, defaultValue: l })) != null ? r : l) != null ? o : e;
3690
3690
  else if (typeof c != "string")
3691
3691
  return console.warn(
3692
3692
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -3695,7 +3695,7 @@ const Me = (e, t) => {
3695
3695
  return c;
3696
3696
  let p = c;
3697
3697
  try {
3698
- p = xr(c, u).format(s);
3698
+ p = wr(c, u).format(s);
3699
3699
  } catch (m) {
3700
3700
  m instanceof Error && console.warn(
3701
3701
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3703,18 +3703,18 @@ const Me = (e, t) => {
3703
3703
  );
3704
3704
  }
3705
3705
  return p;
3706
- }, Pr = (e, t) => _r(t).format(e), wr = (e, t) => Er(t).format(e), Br = (e, t) => vr(t).format(e), Lr = (e, t = he()) => hi(e, t), Sr = Pe([we, De], () => Tr);
3707
- Pe([we], () => Pr);
3708
- Pe([we], () => wr);
3709
- Pe([we], () => Br);
3710
- Pe([we, De], () => Lr);
3711
- function Gt(e, t) {
3712
- pi(e, t);
3713
- }
3714
- function Ar(e) {
3715
- we.set(e);
3716
- }
3717
- const $t = {
3706
+ }, Pr = (e, t) => xr(t).format(e), Sr = (e, t) => _r(t).format(e), Br = (e, t) => Er(t).format(e), Lr = (e, t = fe()) => pn(e, t), Ar = Se([Be, Ue], () => Tr);
3707
+ Se([Be], () => Pr);
3708
+ Se([Be], () => Sr);
3709
+ Se([Be], () => Br);
3710
+ Se([Be, Ue], () => Lr);
3711
+ function $t(e, t) {
3712
+ dn(e, t);
3713
+ }
3714
+ function Ir(e) {
3715
+ Be.set(e);
3716
+ }
3717
+ const zt = {
3718
3718
  en: {
3719
3719
  loading: "Loading, please wait...",
3720
3720
  setLimit: "Set a limit",
@@ -3974,240 +3974,267 @@ const $t = {
3974
3974
  docsRequired: "Documents required!",
3975
3975
  kyc2: "For the selected limit, we require documents that show your financial situation. Please upload your last payslip as well as a current bank statement, that shows the account balance as well as that you received the salary payment."
3976
3976
  }
3977
- };
3978
- function Ir(e, t) {
3977
+ }, ve = "__WIDGET_GLOBAL_STYLE_CACHE__";
3978
+ function kr(e, t) {
3979
3979
  if (e) {
3980
- const i = document.createElement("style");
3981
- i.innerHTML = t, e.appendChild(i);
3980
+ const n = document.createElement("style");
3981
+ n.innerHTML = t, e.appendChild(n);
3982
3982
  }
3983
3983
  }
3984
- function kr(e, t) {
3984
+ function Cr(e, t) {
3985
3985
  if (!e || !t)
3986
3986
  return;
3987
- const i = new URL(t);
3988
- fetch(i.href).then((n) => n.text()).then((n) => {
3987
+ const n = new URL(t);
3988
+ fetch(n.href).then((i) => i.text()).then((i) => {
3989
3989
  const r = document.createElement("style");
3990
- r.innerHTML = n, e && e.appendChild(r);
3991
- }).catch((n) => {
3992
- console.error("There was an error while trying to load client styling from URL", n);
3990
+ r.innerHTML = i, e && e.appendChild(r);
3991
+ }).catch((i) => {
3992
+ console.error("There was an error while trying to load client styling from URL", i);
3993
3993
  });
3994
3994
  }
3995
- function Hr(e, t, i) {
3996
- if (window.emMessageBus) {
3997
- const n = document.createElement("style");
3998
- window.emMessageBus.subscribe(t, (r) => {
3999
- n.innerHTML = r, e && e.appendChild(n);
3995
+ function Hr(e, t, n, i = !1) {
3996
+ if (!window.emMessageBus)
3997
+ return;
3998
+ if (!("adoptedStyleSheets" in Document.prototype) || !i)
3999
+ return n = Nr(e, t), n;
4000
+ window[ve] || (window[ve] = {}), n = Or(e, t);
4001
+ const o = n.unsubscribe.bind(n), a = () => {
4002
+ if (window[ve][t]) {
4003
+ const s = window[ve][t];
4004
+ s.refCount > 1 ? s.refCount = s.refCount - 1 : delete window[ve][t];
4005
+ }
4006
+ o();
4007
+ };
4008
+ return n.unsubscribe = a, n;
4009
+ }
4010
+ function Nr(e, t) {
4011
+ const n = document.createElement("style");
4012
+ return window.emMessageBus.subscribe(t, (i) => {
4013
+ e && (n.innerHTML = i, e.appendChild(n));
4014
+ });
4015
+ }
4016
+ function Or(e, t) {
4017
+ return window.emMessageBus.subscribe(t, (n) => {
4018
+ if (!e)
4019
+ return;
4020
+ const i = e.getRootNode(), r = window[ve];
4021
+ let o = r[t]?.sheet;
4022
+ o ? r[t].refCount = r[t].refCount + 1 : (o = new CSSStyleSheet(), o.replaceSync(n), r[t] = {
4023
+ sheet: o,
4024
+ refCount: 1
4000
4025
  });
4001
- }
4026
+ const a = i.adoptedStyleSheets || [];
4027
+ a.includes(o) || (i.adoptedStyleSheets = [...a, o]);
4028
+ });
4002
4029
  }
4003
- function Cr(e) {
4004
- Ei(e, "svelte-1a4l86f", ':host{font-family:"Roboto", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-size:0.8rem}*,*::before,*::after{margin:0;padding:0;list-style:none;outline:none;box-sizing:border-box}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}.player-account-gaming-limits-popup-2{background:var(--emw--color-black, #000000);color:var(--emw--color-white, #000)}.Title{font-weight:800;font-size:18px}button{display:block;font-size:0.75rem;padding:12px 0;border:0;border-radius:2px;cursor:pointer}button.PrimaryButtonStyle{font-size:14px;color:#fff;background:rgb(122, 195, 23)}button.SecondaryButtonStyle{border:1px solid #999;color:#666;background:#fff}.LinkButton{display:inline;padding:0;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));text-decoration:underline;background-color:rgba(0, 0, 0, 0)}.ResultIconWrapper{display:flex;flex-direction:column;align-items:center;margin:12px 0}.ResultIconWrapper svg{height:auto;width:60px;margin:12px}.ResultIconWrapper p{color:#666}.Overlay{position:absolute;top:0;left:0;width:100vw;height:100vh;background-color:rgba(0, 0, 0, 0.5);display:flex;justify-content:center;align-items:center}.ModalContainer{position:fixed;top:30vh;width:320px;height:auto;padding:18px 14px;background:#fff;border-radius:4px}.InitialWrapper{display:flex;flex-direction:column;gap:12px}.AdditionalInformation{margin:10px 0;font-size:14px}.TermsConditions{font-size:12px}.ExpandButton{font-size:14px;background-color:var(--emw--color-white, #FFFFFF);border:0;padding:0;margin-top:-10px;color:var(--emw--color-black, #000000);display:flex;justify-content:center;align-items:center;cursor:pointer}.ExpandButton svg{width:28px;height:auto;margin-left:-4px}.LeftAlign{text-align:left;font-size:16px}.CenterAlign{text-align:center}.SetLimitSection{display:flex;flex-direction:column;gap:6px}.DepositTextSection{display:flex;justify-content:space-between}.DepositInputSection{height:32px;display:flex;gap:4px}.DepositInput{flex-grow:1;padding:0 6px}.SubmitDepositButton{flex-grow:1;font-size:0.75rem;padding:0}.SubmitDepositButton[disabled]{align-items:center;color:var(--emw--color-gray-100, #E6E6E6);cursor:not-allowed;background:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-300, #58586B)}.Hidden{display:none}.Extended{transform:rotate(180deg)}');
4030
+ function Mr(e) {
4031
+ xn(e, "svelte-1a4l86f", ':host{font-family:"Roboto", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-size:0.8rem}*,*::before,*::after{margin:0;padding:0;list-style:none;outline:none;box-sizing:border-box}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}.player-account-gaming-limits-popup-2{background:var(--emw--color-black, #000000);color:var(--emw--color-white, #000)}.Title{font-weight:800;font-size:18px}button{display:block;font-size:0.75rem;padding:12px 0;border:0;border-radius:2px;cursor:pointer}button.PrimaryButtonStyle{font-size:14px;color:#fff;background:rgb(122, 195, 23)}button.SecondaryButtonStyle{border:1px solid #999;color:#666;background:#fff}.LinkButton{display:inline;padding:0;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));text-decoration:underline;background-color:rgba(0, 0, 0, 0)}.ResultIconWrapper{display:flex;flex-direction:column;align-items:center;margin:12px 0}.ResultIconWrapper svg{height:auto;width:60px;margin:12px}.ResultIconWrapper p{color:#666}.Overlay{position:absolute;top:0;left:0;width:100vw;height:100vh;background-color:rgba(0, 0, 0, 0.5);display:flex;justify-content:center;align-items:center}.ModalContainer{position:fixed;top:30vh;width:320px;height:auto;padding:18px 14px;background:#fff;border-radius:4px}.InitialWrapper{display:flex;flex-direction:column;gap:12px}.AdditionalInformation{margin:10px 0;font-size:14px}.TermsConditions{font-size:12px}.ExpandButton{font-size:14px;background-color:var(--emw--color-white, #FFFFFF);border:0;padding:0;margin-top:-10px;color:var(--emw--color-black, #000000);display:flex;justify-content:center;align-items:center;cursor:pointer}.ExpandButton svg{width:28px;height:auto;margin-left:-4px}.LeftAlign{text-align:left;font-size:16px}.CenterAlign{text-align:center}.SetLimitSection{display:flex;flex-direction:column;gap:6px}.DepositTextSection{display:flex;justify-content:space-between}.DepositInputSection{height:32px;display:flex;gap:4px}.DepositInput{flex-grow:1;padding:0 6px}.SubmitDepositButton{flex-grow:1;font-size:0.75rem;padding:0}.SubmitDepositButton[disabled]{align-items:center;color:var(--emw--color-gray-100, #E6E6E6);cursor:not-allowed;background:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-300, #58586B)}.Hidden{display:none}.Extended{transform:rotate(180deg)}');
4005
4032
  }
4006
- function Nr(e) {
4033
+ function Dr(e) {
4007
4034
  let t;
4008
- function i(o, a) {
4035
+ function n(o, a) {
4009
4036
  if (
4010
4037
  /*popupState*/
4011
4038
  o[10] === "initial"
4012
4039
  )
4013
- return jr;
4040
+ return zr;
4014
4041
  if (
4015
4042
  /*popupState*/
4016
4043
  o[10] === "successful"
4017
4044
  )
4018
- return Ur;
4045
+ return $r;
4019
4046
  if (
4020
4047
  /*popupState*/
4021
4048
  o[10] === "KYC"
4022
4049
  )
4023
- return Rr;
4050
+ return Gr;
4024
4051
  if (
4025
4052
  /*popupState*/
4026
4053
  o[10] === "KYC2"
4027
4054
  )
4028
- return Dr;
4055
+ return jr;
4029
4056
  if (
4030
4057
  /*popupState*/
4031
4058
  o[10] === "error"
4032
4059
  )
4033
- return Mr;
4060
+ return Ur;
4034
4061
  }
4035
- let n = i(e), r = n && n(e);
4062
+ let i = n(e), r = i && i(e);
4036
4063
  return {
4037
4064
  c() {
4038
- t = b("div"), r && r.c(), h(t, "class", "InitialWrapper");
4065
+ t = g("div"), r && r.c(), h(t, "class", "InitialWrapper");
4039
4066
  },
4040
4067
  m(o, a) {
4041
- T(o, t, a), r && r.m(t, null);
4068
+ x(o, t, a), r && r.m(t, null);
4042
4069
  },
4043
4070
  p(o, a) {
4044
- n === (n = i(o)) && r ? r.p(o, a) : (r && r.d(1), r = n && n(o), r && (r.c(), r.m(t, null)));
4071
+ i === (i = n(o)) && r ? r.p(o, a) : (r && r.d(1), r = i && i(o), r && (r.c(), r.m(t, null)));
4045
4072
  },
4046
4073
  d(o) {
4047
- o && x(t), r && r.d();
4074
+ o && E(t), r && r.d();
4048
4075
  }
4049
4076
  };
4050
4077
  }
4051
- function Or(e) {
4052
- let t, i = (
4078
+ function Rr(e) {
4079
+ let t, n = (
4053
4080
  /*$_*/
4054
4081
  e[12]("loading") + ""
4055
- ), n;
4082
+ ), i;
4056
4083
  return {
4057
4084
  c() {
4058
- t = b("p"), n = L(i);
4085
+ t = g("p"), i = S(n);
4059
4086
  },
4060
4087
  m(r, o) {
4061
- T(r, t, o), f(t, n);
4088
+ x(r, t, o), f(t, i);
4062
4089
  },
4063
4090
  p(r, o) {
4064
4091
  o[0] & /*$_*/
4065
- 4096 && i !== (i = /*$_*/
4066
- r[12]("loading") + "") && k(n, i);
4092
+ 4096 && n !== (n = /*$_*/
4093
+ r[12]("loading") + "") && C(i, n);
4067
4094
  },
4068
4095
  d(r) {
4069
- r && x(t);
4096
+ r && E(t);
4070
4097
  }
4071
4098
  };
4072
4099
  }
4073
- function Mr(e) {
4074
- let t, i = (
4100
+ function Ur(e) {
4101
+ let t, n = (
4075
4102
  /*$_*/
4076
4103
  e[12]("depositError") + ""
4077
- ), n, r, o, a, s, u = (
4104
+ ), i, r, o, a, s, u = (
4078
4105
  /*$_*/
4079
4106
  e[12]("errorDescription") + ""
4080
4107
  ), l, c, p, m = (
4081
4108
  /*$_*/
4082
4109
  e[12]("closeButton") + ""
4083
- ), d, E, _;
4110
+ ), d, w, v;
4084
4111
  return {
4085
4112
  c() {
4086
- t = b("p"), n = L(i), r = N(), o = b("div"), o.innerHTML = '<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 1000 1000" enable-background="new 0 0 1000 1000" xml:space="preserve"><metadata>Svg Vector Icons : http://www.onlinewebfonts.com/icon </metadata><g><path d="M500,100.9c220,0,399.1,179,399.1,399.1S720.1,899.1,500,899.1c-220.1,0-399.1-179-399.1-399.1C100.9,279.9,279.9,100.9,500,100.9 M500,10C229.4,10,10,229.4,10,500c0,270.6,219.4,490,490,490c270.6,0,490-219.4,490-490C990,229.4,770.6,10,500,10L500,10z"></path><path d="M658.7,734.5L272.2,348l75-75l386.4,386.4L658.7,734.5z"></path><path d="M347.2,734.5l-75-75L658.7,273l75,75L347.2,734.5z"></path></g></svg>', a = N(), s = b("p"), l = L(u), c = N(), p = b("button"), d = L(m), h(t, "class", "Title"), h(o, "class", "ResultIconWrapper"), h(s, "class", "Description CenterAlign"), h(p, "class", "ConfirmButton SecondaryButtonStyle");
4113
+ t = g("p"), i = S(n), r = M(), o = g("div"), o.innerHTML = '<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 1000 1000" enable-background="new 0 0 1000 1000" xml:space="preserve"><metadata>Svg Vector Icons : http://www.onlinewebfonts.com/icon </metadata><g><path d="M500,100.9c220,0,399.1,179,399.1,399.1S720.1,899.1,500,899.1c-220.1,0-399.1-179-399.1-399.1C100.9,279.9,279.9,100.9,500,100.9 M500,10C229.4,10,10,229.4,10,500c0,270.6,219.4,490,490,490c270.6,0,490-219.4,490-490C990,229.4,770.6,10,500,10L500,10z"></path><path d="M658.7,734.5L272.2,348l75-75l386.4,386.4L658.7,734.5z"></path><path d="M347.2,734.5l-75-75L658.7,273l75,75L347.2,734.5z"></path></g></svg>', a = M(), s = g("p"), l = S(u), c = M(), p = g("button"), d = S(m), h(t, "class", "Title"), h(o, "class", "ResultIconWrapper"), h(s, "class", "Description CenterAlign"), h(p, "class", "ConfirmButton SecondaryButtonStyle");
4087
4114
  },
4088
- m(y, v) {
4089
- T(y, t, v), f(t, n), T(y, r, v), T(y, o, v), T(y, a, v), T(y, s, v), f(s, l), T(y, c, v), T(y, p, v), f(p, d), E || (_ = Z(
4115
+ m(y, T) {
4116
+ x(y, t, T), f(t, i), x(y, r, T), x(y, o, T), x(y, a, T), x(y, s, T), f(s, l), x(y, c, T), x(y, p, T), f(p, d), w || (v = W(
4090
4117
  p,
4091
4118
  "click",
4092
4119
  /*click_handler_10*/
4093
4120
  e[37]
4094
- ), E = !0);
4121
+ ), w = !0);
4095
4122
  },
4096
- p(y, v) {
4097
- v[0] & /*$_*/
4098
- 4096 && i !== (i = /*$_*/
4099
- y[12]("depositError") + "") && k(n, i), v[0] & /*$_*/
4123
+ p(y, T) {
4124
+ T[0] & /*$_*/
4125
+ 4096 && n !== (n = /*$_*/
4126
+ y[12]("depositError") + "") && C(i, n), T[0] & /*$_*/
4100
4127
  4096 && u !== (u = /*$_*/
4101
- y[12]("errorDescription") + "") && k(l, u), v[0] & /*$_*/
4128
+ y[12]("errorDescription") + "") && C(l, u), T[0] & /*$_*/
4102
4129
  4096 && m !== (m = /*$_*/
4103
- y[12]("closeButton") + "") && k(d, m);
4130
+ y[12]("closeButton") + "") && C(d, m);
4104
4131
  },
4105
4132
  d(y) {
4106
- y && (x(t), x(r), x(o), x(a), x(s), x(c), x(p)), E = !1, _();
4133
+ y && (E(t), E(r), E(o), E(a), E(s), E(c), E(p)), w = !1, v();
4107
4134
  }
4108
4135
  };
4109
4136
  }
4110
- function Dr(e) {
4111
- let t, i = (
4137
+ function jr(e) {
4138
+ let t, n = (
4112
4139
  /*$_*/
4113
4140
  e[12]("docsRequired") + ""
4114
- ), n, r, o, a, s, u, l, c, p, m = (
4141
+ ), i, r, o, a, s, u, l, c, p, m = (
4115
4142
  /*$_*/
4116
4143
  e[12]("docsRequired") + ""
4117
- ), d, E, _, y = (
4144
+ ), d, w, v, y = (
4118
4145
  /*$_*/
4119
4146
  e[12]("kyc2") + ""
4120
- ), v, O, w, M = (
4147
+ ), T, B, I, D = (
4121
4148
  /*$_*/
4122
4149
  e[12]("kycButton") + ""
4123
- ), S, D, z, H = (
4150
+ ), L, H, G, N = (
4124
4151
  /*$_*/
4125
4152
  e[12]("closeButton") + ""
4126
- ), R, G, X;
4153
+ ), U, $, J;
4127
4154
  return {
4128
4155
  c() {
4129
- t = b("p"), n = L(i), r = N(), o = b("div"), a = b("div"), s = Y("svg"), u = Y("g"), l = Y("path"), c = N(), p = b("p"), d = L(m), E = N(), _ = b("p"), v = L(y), O = N(), w = b("button"), S = L(M), D = N(), z = b("button"), R = L(H), h(t, "class", "Title"), h(l, "id", "XMLID_6_"), h(l, "d", `M426.2,55h-99.8C318,23.3,290,0,255.5,0S193,23.3,184.7,55H84.9c-27,0-48.5,22.4-48.5,48.5v360
4156
+ t = g("p"), i = S(n), r = M(), o = g("div"), a = g("div"), s = Z("svg"), u = Z("g"), l = Z("path"), c = M(), p = g("p"), d = S(m), w = M(), v = g("p"), T = S(y), B = M(), I = g("button"), L = S(D), H = M(), G = g("button"), U = S(N), h(t, "class", "Title"), h(l, "id", "XMLID_6_"), h(l, "d", `M426.2,55h-99.8C318,23.3,290,0,255.5,0S193,23.3,184.7,55H84.9c-27,0-48.5,22.4-48.5,48.5v360
4130
4157
  c0,27,22.4,48.5,48.5,48.5h342.3c27,0,48.5-22.4,48.5-48.5v-360C475.6,76.5,453.2,55,426.2,55z M255.5,55
4131
4158
  c13.1,0,24.2,11.2,24.2,24.2s-11.2,24.2-24.2,24.2s-24.2-11.2-24.2-24.2S242.5,55,255.5,55z M429.9,467.2H81.1V100.7h45.7v82.1
4132
- h256.5v-82.1H429v366.5H429.9z`), h(u, "id", "XMLID_1_"), h(s, "version", "1.1"), h(s, "id", "Layer_1"), h(s, "xmlns", "http://www.w3.org/2000/svg"), h(s, "xmlns:xlink", "http://www.w3.org/1999/xlink"), h(s, "x", "0px"), h(s, "y", "0px"), h(s, "viewBox", "0 0 512 512"), He(s, "enable-background", "new 0 0 512 512"), h(s, "xml:space", "preserve"), h(a, "class", "ResultIconWrapper"), h(_, "class", "Description CenterAlign"), h(o, "class", "DescriptionWrapper"), h(w, "class", "KycButton PrimaryButtonStyle"), h(z, "class", "ConfirmButton SecondaryButtonStyle");
4159
+ h256.5v-82.1H429v366.5H429.9z`), h(u, "id", "XMLID_1_"), h(s, "version", "1.1"), h(s, "id", "Layer_1"), h(s, "xmlns", "http://www.w3.org/2000/svg"), h(s, "xmlns:xlink", "http://www.w3.org/1999/xlink"), h(s, "x", "0px"), h(s, "y", "0px"), h(s, "viewBox", "0 0 512 512"), Ne(s, "enable-background", "new 0 0 512 512"), h(s, "xml:space", "preserve"), h(a, "class", "ResultIconWrapper"), h(v, "class", "Description CenterAlign"), h(o, "class", "DescriptionWrapper"), h(I, "class", "KycButton PrimaryButtonStyle"), h(G, "class", "ConfirmButton SecondaryButtonStyle");
4133
4160
  },
4134
- m(P, U) {
4135
- T(P, t, U), f(t, n), T(P, r, U), T(P, o, U), f(o, a), f(a, s), f(s, u), f(u, l), f(a, c), f(a, p), f(p, d), f(o, E), f(o, _), f(_, v), T(P, O, U), T(P, w, U), f(w, S), T(P, D, U), T(P, z, U), f(z, R), G || (X = [
4136
- Z(
4137
- w,
4161
+ m(_, R) {
4162
+ x(_, t, R), f(t, i), x(_, r, R), x(_, o, R), f(o, a), f(a, s), f(s, u), f(u, l), f(a, c), f(a, p), f(p, d), f(o, w), f(o, v), f(v, T), x(_, B, R), x(_, I, R), f(I, L), x(_, H, R), x(_, G, R), f(G, U), $ || (J = [
4163
+ W(
4164
+ I,
4138
4165
  "click",
4139
4166
  /*click_handler_8*/
4140
4167
  e[35]
4141
4168
  ),
4142
- Z(
4143
- z,
4169
+ W(
4170
+ G,
4144
4171
  "click",
4145
4172
  /*click_handler_9*/
4146
4173
  e[36]
4147
4174
  )
4148
- ], G = !0);
4175
+ ], $ = !0);
4149
4176
  },
4150
- p(P, U) {
4151
- U[0] & /*$_*/
4152
- 4096 && i !== (i = /*$_*/
4153
- P[12]("docsRequired") + "") && k(n, i), U[0] & /*$_*/
4177
+ p(_, R) {
4178
+ R[0] & /*$_*/
4179
+ 4096 && n !== (n = /*$_*/
4180
+ _[12]("docsRequired") + "") && C(i, n), R[0] & /*$_*/
4154
4181
  4096 && m !== (m = /*$_*/
4155
- P[12]("docsRequired") + "") && k(d, m), U[0] & /*$_*/
4182
+ _[12]("docsRequired") + "") && C(d, m), R[0] & /*$_*/
4156
4183
  4096 && y !== (y = /*$_*/
4157
- P[12]("kyc2") + "") && k(v, y), U[0] & /*$_*/
4158
- 4096 && M !== (M = /*$_*/
4159
- P[12]("kycButton") + "") && k(S, M), U[0] & /*$_*/
4160
- 4096 && H !== (H = /*$_*/
4161
- P[12]("closeButton") + "") && k(R, H);
4184
+ _[12]("kyc2") + "") && C(T, y), R[0] & /*$_*/
4185
+ 4096 && D !== (D = /*$_*/
4186
+ _[12]("kycButton") + "") && C(L, D), R[0] & /*$_*/
4187
+ 4096 && N !== (N = /*$_*/
4188
+ _[12]("closeButton") + "") && C(U, N);
4162
4189
  },
4163
- d(P) {
4164
- P && (x(t), x(r), x(o), x(O), x(w), x(D), x(z)), G = !1, ue(X);
4190
+ d(_) {
4191
+ _ && (E(t), E(r), E(o), E(B), E(I), E(H), E(G)), $ = !1, ue(J);
4165
4192
  }
4166
4193
  };
4167
4194
  }
4168
- function Rr(e) {
4169
- let t, i = (
4195
+ function Gr(e) {
4196
+ let t, n = (
4170
4197
  /*$_*/
4171
4198
  e[12]("depositLimit") + ""
4172
- ), n, r, o, a, s, u, l, c, p, m = (
4199
+ ), i, r, o, a, s, u, l, c, p, m = (
4173
4200
  /*$_*/
4174
4201
  e[12]("successful") + ""
4175
- ), d, E, _, y = (
4202
+ ), d, w, v, y = (
4176
4203
  /*$_*/
4177
4204
  e[12]("kyc1Part1") + ""
4178
- ), v, O, w, M, S = (
4205
+ ), T, B, I, D, L = (
4179
4206
  /*$_*/
4180
4207
  e[12]("kyc1Part2") + ""
4181
- ), D, z, H, R = (
4208
+ ), H, G, N, U = (
4182
4209
  /*$_*/
4183
4210
  e[12]("kycButton") + ""
4184
- ), G, X, P, U = (
4211
+ ), $, J, _, R = (
4185
4212
  /*$_*/
4186
4213
  e[12]("closeButton") + ""
4187
- ), ie, ne, ae;
4214
+ ), te, ne, se;
4188
4215
  return {
4189
4216
  c() {
4190
- t = b("p"), n = L(i), r = N(), o = b("div"), a = b("div"), s = Y("svg"), u = Y("g"), l = Y("path"), c = N(), p = b("p"), d = L(m), E = N(), _ = b("p"), v = L(y), O = L(
4217
+ t = g("p"), i = S(n), r = M(), o = g("div"), a = g("div"), s = Z("svg"), u = Z("g"), l = Z("path"), c = M(), p = g("p"), d = S(m), w = M(), v = g("p"), T = S(y), B = S(
4191
4218
  /*legislatorLimitValue*/
4192
4219
  e[11]
4193
- ), w = N(), M = L(
4220
+ ), I = M(), D = S(
4194
4221
  /*currency*/
4195
4222
  e[0]
4196
- ), D = L(S), z = N(), H = b("button"), G = L(R), X = N(), P = b("button"), ie = L(U), h(t, "class", "Title"), h(l, "id", "XMLID_6_"), h(l, "d", `M426.2,55h-99.8C318,23.3,290,0,255.5,0S193,23.3,184.7,55H84.9c-27,0-48.5,22.4-48.5,48.5v360
4223
+ ), H = S(L), G = M(), N = g("button"), $ = S(U), J = M(), _ = g("button"), te = S(R), h(t, "class", "Title"), h(l, "id", "XMLID_6_"), h(l, "d", `M426.2,55h-99.8C318,23.3,290,0,255.5,0S193,23.3,184.7,55H84.9c-27,0-48.5,22.4-48.5,48.5v360
4197
4224
  c0,27,22.4,48.5,48.5,48.5h342.3c27,0,48.5-22.4,48.5-48.5v-360C475.6,76.5,453.2,55,426.2,55z M255.5,55
4198
4225
  c13.1,0,24.2,11.2,24.2,24.2s-11.2,24.2-24.2,24.2s-24.2-11.2-24.2-24.2S242.5,55,255.5,55z M429.9,467.2H81.1V100.7h45.7v82.1
4199
- h256.5v-82.1H429v366.5H429.9z`), h(u, "id", "XMLID_1_"), h(s, "version", "1.1"), h(s, "id", "Layer_1"), h(s, "xmlns", "http://www.w3.org/2000/svg"), h(s, "xmlns:xlink", "http://www.w3.org/1999/xlink"), h(s, "x", "0px"), h(s, "y", "0px"), h(s, "viewBox", "0 0 512 512"), He(s, "enable-background", "new 0 0 512 512"), h(s, "xml:space", "preserve"), h(a, "class", "ResultIconWrapper"), h(_, "class", "Description CenterAlign"), h(o, "class", "DescriptionWrapper"), h(H, "class", "KycButton PrimaryButtonStyle"), h(P, "class", "ConfirmButton SecondaryButtonStyle");
4226
+ h256.5v-82.1H429v366.5H429.9z`), h(u, "id", "XMLID_1_"), h(s, "version", "1.1"), h(s, "id", "Layer_1"), h(s, "xmlns", "http://www.w3.org/2000/svg"), h(s, "xmlns:xlink", "http://www.w3.org/1999/xlink"), h(s, "x", "0px"), h(s, "y", "0px"), h(s, "viewBox", "0 0 512 512"), Ne(s, "enable-background", "new 0 0 512 512"), h(s, "xml:space", "preserve"), h(a, "class", "ResultIconWrapper"), h(v, "class", "Description CenterAlign"), h(o, "class", "DescriptionWrapper"), h(N, "class", "KycButton PrimaryButtonStyle"), h(_, "class", "ConfirmButton SecondaryButtonStyle");
4200
4227
  },
4201
4228
  m(F, j) {
4202
- T(F, t, j), f(t, n), T(F, r, j), T(F, o, j), f(o, a), f(a, s), f(s, u), f(u, l), f(a, c), f(a, p), f(p, d), f(o, E), f(o, _), f(_, v), f(_, O), f(_, w), f(_, M), f(_, D), T(F, z, j), T(F, H, j), f(H, G), T(F, X, j), T(F, P, j), f(P, ie), ne || (ae = [
4203
- Z(
4204
- H,
4229
+ x(F, t, j), f(t, i), x(F, r, j), x(F, o, j), f(o, a), f(a, s), f(s, u), f(u, l), f(a, c), f(a, p), f(p, d), f(o, w), f(o, v), f(v, T), f(v, B), f(v, I), f(v, D), f(v, H), x(F, G, j), x(F, N, j), f(N, $), x(F, J, j), x(F, _, j), f(_, te), ne || (se = [
4230
+ W(
4231
+ N,
4205
4232
  "click",
4206
4233
  /*click_handler_6*/
4207
4234
  e[33]
4208
4235
  ),
4209
- Z(
4210
- P,
4236
+ W(
4237
+ _,
4211
4238
  "click",
4212
4239
  /*click_handler_7*/
4213
4240
  e[34]
@@ -4216,385 +4243,385 @@ function Rr(e) {
4216
4243
  },
4217
4244
  p(F, j) {
4218
4245
  j[0] & /*$_*/
4219
- 4096 && i !== (i = /*$_*/
4220
- F[12]("depositLimit") + "") && k(n, i), j[0] & /*$_*/
4246
+ 4096 && n !== (n = /*$_*/
4247
+ F[12]("depositLimit") + "") && C(i, n), j[0] & /*$_*/
4221
4248
  4096 && m !== (m = /*$_*/
4222
- F[12]("successful") + "") && k(d, m), j[0] & /*$_*/
4249
+ F[12]("successful") + "") && C(d, m), j[0] & /*$_*/
4223
4250
  4096 && y !== (y = /*$_*/
4224
- F[12]("kyc1Part1") + "") && k(v, y), j[0] & /*legislatorLimitValue*/
4225
- 2048 && k(
4226
- O,
4251
+ F[12]("kyc1Part1") + "") && C(T, y), j[0] & /*legislatorLimitValue*/
4252
+ 2048 && C(
4253
+ B,
4227
4254
  /*legislatorLimitValue*/
4228
4255
  F[11]
4229
4256
  ), j[0] & /*currency*/
4230
- 1 && k(
4231
- M,
4257
+ 1 && C(
4258
+ D,
4232
4259
  /*currency*/
4233
4260
  F[0]
4234
4261
  ), j[0] & /*$_*/
4235
- 4096 && S !== (S = /*$_*/
4236
- F[12]("kyc1Part2") + "") && k(D, S), j[0] & /*$_*/
4237
- 4096 && R !== (R = /*$_*/
4238
- F[12]("kycButton") + "") && k(G, R), j[0] & /*$_*/
4262
+ 4096 && L !== (L = /*$_*/
4263
+ F[12]("kyc1Part2") + "") && C(H, L), j[0] & /*$_*/
4239
4264
  4096 && U !== (U = /*$_*/
4240
- F[12]("closeButton") + "") && k(ie, U);
4265
+ F[12]("kycButton") + "") && C($, U), j[0] & /*$_*/
4266
+ 4096 && R !== (R = /*$_*/
4267
+ F[12]("closeButton") + "") && C(te, R);
4241
4268
  },
4242
4269
  d(F) {
4243
- F && (x(t), x(r), x(o), x(z), x(H), x(X), x(P)), ne = !1, ue(ae);
4270
+ F && (E(t), E(r), E(o), E(G), E(N), E(J), E(_)), ne = !1, ue(se);
4244
4271
  }
4245
4272
  };
4246
4273
  }
4247
- function Ur(e) {
4248
- let t, i = (
4274
+ function $r(e) {
4275
+ let t, n = (
4249
4276
  /*$_*/
4250
4277
  e[12]("depositLimit") + ""
4251
- ), n, r, o, a, s, u, l, c, p, m, d, E, _ = (
4278
+ ), i, r, o, a, s, u, l, c, p, m, d, w, v = (
4252
4279
  /*$_*/
4253
4280
  e[12]("successful") + ""
4254
- ), y, v, O, w = (
4281
+ ), y, T, B, I = (
4255
4282
  /*$_*/
4256
4283
  e[12]("successDescription") + ""
4257
- ), M, S, D, z, H;
4284
+ ), D, L, H, G, N;
4258
4285
  return {
4259
4286
  c() {
4260
- t = b("p"), n = L(i), r = N(), o = b("div"), a = b("div"), s = Y("svg"), u = Y("defs"), l = Y("style"), c = L(`.fil0 {fill:black;fill-rule:nonzero}
4261
- `), p = Y("g"), m = Y("polygon"), d = N(), E = b("p"), y = L(_), v = N(), O = b("p"), M = L(w), S = N(), D = b("button"), D.textContent = "OK", h(t, "class", "Title"), h(l, "type", "text/css"), h(m, "class", "fil0"), h(m, "points", "0,38 10,25 36,47 78,0 90,11 37,69 "), h(s, "xmlns", "http://www.w3.org/2000/svg"), h(s, "xmlns:xlink", "http://www.w3.org/1999/xlink"), h(s, "xml:space", "preserve"), h(s, "version", "1.1"), He(s, "shape-rendering", "geometricPrecision"), He(s, "text-rendering", "geometricPrecision"), He(s, "image-rendering", "optimizeQuality"), h(s, "viewBox", "0 0 90 69"), h(s, "x", "0px"), h(s, "y", "0px"), h(s, "fill-rule", "evenodd"), h(s, "clip-rule", "evenodd"), h(a, "class", "ResultIconWrapper"), h(O, "class", "Description CenterAlign"), h(o, "class", "DescriptionWrapper"), h(D, "class", "ConfirmButton PrimaryButtonStyle");
4287
+ t = g("p"), i = S(n), r = M(), o = g("div"), a = g("div"), s = Z("svg"), u = Z("defs"), l = Z("style"), c = S(`.fil0 {fill:black;fill-rule:nonzero}
4288
+ `), p = Z("g"), m = Z("polygon"), d = M(), w = g("p"), y = S(v), T = M(), B = g("p"), D = S(I), L = M(), H = g("button"), H.textContent = "OK", h(t, "class", "Title"), h(l, "type", "text/css"), h(m, "class", "fil0"), h(m, "points", "0,38 10,25 36,47 78,0 90,11 37,69 "), h(s, "xmlns", "http://www.w3.org/2000/svg"), h(s, "xmlns:xlink", "http://www.w3.org/1999/xlink"), h(s, "xml:space", "preserve"), h(s, "version", "1.1"), Ne(s, "shape-rendering", "geometricPrecision"), Ne(s, "text-rendering", "geometricPrecision"), Ne(s, "image-rendering", "optimizeQuality"), h(s, "viewBox", "0 0 90 69"), h(s, "x", "0px"), h(s, "y", "0px"), h(s, "fill-rule", "evenodd"), h(s, "clip-rule", "evenodd"), h(a, "class", "ResultIconWrapper"), h(B, "class", "Description CenterAlign"), h(o, "class", "DescriptionWrapper"), h(H, "class", "ConfirmButton PrimaryButtonStyle");
4262
4289
  },
4263
- m(R, G) {
4264
- T(R, t, G), f(t, n), T(R, r, G), T(R, o, G), f(o, a), f(a, s), f(s, u), f(u, l), f(l, c), f(s, p), f(p, m), f(a, d), f(a, E), f(E, y), f(o, v), f(o, O), f(O, M), T(R, S, G), T(R, D, G), z || (H = Z(
4265
- D,
4290
+ m(U, $) {
4291
+ x(U, t, $), f(t, i), x(U, r, $), x(U, o, $), f(o, a), f(a, s), f(s, u), f(u, l), f(l, c), f(s, p), f(p, m), f(a, d), f(a, w), f(w, y), f(o, T), f(o, B), f(B, D), x(U, L, $), x(U, H, $), G || (N = W(
4292
+ H,
4266
4293
  "click",
4267
4294
  /*click_handler_5*/
4268
4295
  e[32]
4269
- ), z = !0);
4296
+ ), G = !0);
4270
4297
  },
4271
- p(R, G) {
4272
- G[0] & /*$_*/
4273
- 4096 && i !== (i = /*$_*/
4274
- R[12]("depositLimit") + "") && k(n, i), G[0] & /*$_*/
4275
- 4096 && _ !== (_ = /*$_*/
4276
- R[12]("successful") + "") && k(y, _), G[0] & /*$_*/
4277
- 4096 && w !== (w = /*$_*/
4278
- R[12]("successDescription") + "") && k(M, w);
4298
+ p(U, $) {
4299
+ $[0] & /*$_*/
4300
+ 4096 && n !== (n = /*$_*/
4301
+ U[12]("depositLimit") + "") && C(i, n), $[0] & /*$_*/
4302
+ 4096 && v !== (v = /*$_*/
4303
+ U[12]("successful") + "") && C(y, v), $[0] & /*$_*/
4304
+ 4096 && I !== (I = /*$_*/
4305
+ U[12]("successDescription") + "") && C(D, I);
4279
4306
  },
4280
- d(R) {
4281
- R && (x(t), x(r), x(o), x(S), x(D)), z = !1, H();
4307
+ d(U) {
4308
+ U && (E(t), E(r), E(o), E(L), E(H)), G = !1, N();
4282
4309
  }
4283
4310
  };
4284
4311
  }
4285
- function jr(e) {
4286
- let t, i = (
4312
+ function zr(e) {
4313
+ let t, n = (
4287
4314
  /*$_*/
4288
4315
  e[12]("setLimit") + ""
4289
- ), n, r, o, a = (
4316
+ ), i, r, o, a = (
4290
4317
  /*$_*/
4291
4318
  e[12]("setLimitDescription") + ""
4292
4319
  ), s, u, l, c = (
4293
4320
  /*$_*/
4294
4321
  e[12]("lugasInfo1") + ""
4295
- ), p, m, d, E = (
4322
+ ), p, m, d, w = (
4296
4323
  /*$_*/
4297
4324
  e[12]("lugasInfo2") + ""
4298
- ), _, y, v, O = (
4325
+ ), v, y, T, B = (
4299
4326
  /*$_*/
4300
4327
  e[12]("keepCurrentLimit") + ""
4301
- ), w, M, S, D = (
4328
+ ), I, D, L, H = (
4302
4329
  /*$_*/
4303
4330
  e[12]("keepCurrentLimitButton") + ""
4304
- ), z, H, R, G, X, P, U, ie, ne = (
4331
+ ), G, N, U, $, J, _, R, te, ne = (
4305
4332
  /*$_*/
4306
4333
  e[12]("depositPeriod") + ""
4307
- ), ae, F, j, Q, Re, re, fe = (
4334
+ ), se, F, j, Q, je, ie, pe = (
4308
4335
  /*$_*/
4309
4336
  e[12]("applyButton") + ""
4310
- ), Le, Se, J, pe = (
4337
+ ), Ae, Ie, Y, me = (
4311
4338
  /*$_*/
4312
4339
  e[12]("TCpart1") + ""
4313
- ), Ae, ce, me = (
4340
+ ), ke, ce, de = (
4314
4341
  /*$_*/
4315
4342
  e[12]("TClink") + ""
4316
- ), Ie, g, q = (
4343
+ ), Ce, Ge, b = (
4317
4344
  /*$_*/
4318
4345
  e[12]("TCpart2") + ""
4319
- ), se, Ue, K, je = (
4346
+ ), X, ae, he, re = (
4320
4347
  /*$_*/
4321
4348
  e[12]("PPlink") + ""
4322
- ), et, Tt, tt, Pt;
4349
+ ), tt, Tt, nt, Pt;
4323
4350
  return {
4324
4351
  c() {
4325
- t = b("p"), n = L(i), r = N(), o = b("p"), s = L(a), u = N(), l = b("p"), p = L(c), m = N(), d = b("button"), _ = L(E), y = N(), v = b("button"), w = L(O), M = N(), S = b("button"), z = L(D), H = Y("svg"), R = Y("path"), G = Y("path"), X = N(), P = b("div"), U = b("div"), ie = b("span"), ae = L(ne), F = N(), j = b("div"), Q = b("input"), Re = N(), re = b("button"), Le = L(fe), Se = N(), J = b("p"), Ae = L(pe), ce = b("button"), Ie = L(me), g = N(), se = L(q), Ue = N(), K = b("button"), et = L(je), Tt = L("."), h(t, "class", "Title"), h(o, "class", "Description LeftAlign"), h(d, "class", "LinkButton"), h(l, "class", "AdditionalInformation"), h(v, "class", "KeepCurrentButton PrimaryButtonStyle"), h(R, "d", "M10.5 15l7.5 7.5 7.5-7.5z"), h(G, "d", "M0 0h36v36h-36z"), h(G, "fill", "none"), h(H, "class", "ExpandArrow"), h(H, "xmlns", "http://www.w3.org/2000/svg"), h(H, "width", "36"), h(H, "height", "36"), h(H, "viewBox", "0 0 36 36"), h(H, "fill", "#999"), Ge(
4326
- H,
4352
+ t = g("p"), i = S(n), r = M(), o = g("p"), s = S(a), u = M(), l = g("p"), p = S(c), m = M(), d = g("button"), v = S(w), y = M(), T = g("button"), I = S(B), D = M(), L = g("button"), G = S(H), N = Z("svg"), U = Z("path"), $ = Z("path"), J = M(), _ = g("div"), R = g("div"), te = g("span"), se = S(ne), F = M(), j = g("div"), Q = g("input"), je = M(), ie = g("button"), Ae = S(pe), Ie = M(), Y = g("p"), ke = S(me), ce = g("button"), Ce = S(de), Ge = M(), X = S(b), ae = M(), he = g("button"), tt = S(re), Tt = S("."), h(t, "class", "Title"), h(o, "class", "Description LeftAlign"), h(d, "class", "LinkButton"), h(l, "class", "AdditionalInformation"), h(T, "class", "KeepCurrentButton PrimaryButtonStyle"), h(U, "d", "M10.5 15l7.5 7.5 7.5-7.5z"), h($, "d", "M0 0h36v36h-36z"), h($, "fill", "none"), h(N, "class", "ExpandArrow"), h(N, "xmlns", "http://www.w3.org/2000/svg"), h(N, "width", "36"), h(N, "height", "36"), h(N, "viewBox", "0 0 36 36"), h(N, "fill", "#999"), $e(
4353
+ N,
4327
4354
  "Extended",
4328
4355
  /*extended*/
4329
4356
  e[5]
4330
- ), h(S, "class", "ExpandButton"), h(ie, "class", "DepositPeriodText"), h(U, "class", "DepositTextSection"), h(Q, "type", "number"), h(Q, "class", "DepositInput"), h(re, "type", "submit"), h(re, "class", "SubmitDepositButton PrimaryButtonStyle"), re.disabled = !0, h(j, "class", "DepositInputSection"), h(P, "class", "SetLimitSection"), Ge(
4331
- P,
4357
+ ), h(L, "class", "ExpandButton"), h(te, "class", "DepositPeriodText"), h(R, "class", "DepositTextSection"), h(Q, "type", "number"), h(Q, "class", "DepositInput"), h(ie, "type", "submit"), h(ie, "class", "SubmitDepositButton PrimaryButtonStyle"), ie.disabled = !0, h(j, "class", "DepositInputSection"), h(_, "class", "SetLimitSection"), $e(
4358
+ _,
4332
4359
  "Hidden",
4333
4360
  /*hidden*/
4334
4361
  e[4]
4335
- ), h(ce, "class", "LinkButton"), h(K, "class", "LinkButton"), h(J, "class", "TermsConditions");
4362
+ ), h(ce, "class", "LinkButton"), h(he, "class", "LinkButton"), h(Y, "class", "TermsConditions");
4336
4363
  },
4337
- m(I, C) {
4338
- T(I, t, C), f(t, n), T(I, r, C), T(I, o, C), f(o, s), T(I, u, C), T(I, l, C), f(l, p), f(l, m), f(l, d), f(d, _), T(I, y, C), T(I, v, C), f(v, w), T(I, M, C), T(I, S, C), f(S, z), f(S, H), f(H, R), f(H, G), e[26](H), T(I, X, C), T(I, P, C), f(P, U), f(U, ie), f(ie, ae), f(P, F), f(P, j), f(j, Q), Bt(
4364
+ m(k, O) {
4365
+ x(k, t, O), f(t, i), x(k, r, O), x(k, o, O), f(o, s), x(k, u, O), x(k, l, O), f(l, p), f(l, m), f(l, d), f(d, v), x(k, y, O), x(k, T, O), f(T, I), x(k, D, O), x(k, L, O), f(L, G), f(L, N), f(N, U), f(N, $), e[26](N), x(k, J, O), x(k, _, O), f(_, R), f(R, te), f(te, se), f(_, F), f(_, j), f(j, Q), Bt(
4339
4366
  Q,
4340
4367
  /*inputAmount*/
4341
4368
  e[6]
4342
- ), f(j, Re), f(j, re), f(re, Le), e[28](re), T(I, Se, C), T(I, J, C), f(J, Ae), f(J, ce), f(ce, Ie), f(J, g), f(J, se), f(J, Ue), f(J, K), f(K, et), f(J, Tt), tt || (Pt = [
4343
- Z(
4369
+ ), f(j, je), f(j, ie), f(ie, Ae), e[28](ie), x(k, Ie, O), x(k, Y, O), f(Y, ke), f(Y, ce), f(ce, Ce), f(Y, Ge), f(Y, X), f(Y, ae), f(Y, he), f(he, tt), f(Y, Tt), nt || (Pt = [
4370
+ W(
4344
4371
  d,
4345
4372
  "click",
4346
4373
  /*click_handler*/
4347
4374
  e[24]
4348
4375
  ),
4349
- Z(
4350
- v,
4376
+ W(
4377
+ T,
4351
4378
  "click",
4352
4379
  /*click_handler_1*/
4353
4380
  e[25]
4354
4381
  ),
4355
- Z(
4356
- S,
4382
+ W(
4383
+ L,
4357
4384
  "click",
4358
4385
  /*toggleNewLimitArea*/
4359
4386
  e[13]
4360
4387
  ),
4361
- Z(
4388
+ W(
4362
4389
  Q,
4363
4390
  "input",
4364
4391
  /*input_input_handler*/
4365
4392
  e[27]
4366
4393
  ),
4367
- Z(
4394
+ W(
4368
4395
  Q,
4369
4396
  "keyup",
4370
4397
  /*updateInputValue*/
4371
4398
  e[14]
4372
4399
  ),
4373
- Z(
4374
- re,
4400
+ W(
4401
+ ie,
4375
4402
  "click",
4376
4403
  /*click_handler_2*/
4377
4404
  e[29]
4378
4405
  ),
4379
- Z(
4406
+ W(
4380
4407
  ce,
4381
4408
  "click",
4382
4409
  /*click_handler_3*/
4383
4410
  e[30]
4384
4411
  ),
4385
- Z(
4386
- K,
4412
+ W(
4413
+ he,
4387
4414
  "click",
4388
4415
  /*click_handler_4*/
4389
4416
  e[31]
4390
4417
  )
4391
- ], tt = !0);
4418
+ ], nt = !0);
4392
4419
  },
4393
- p(I, C) {
4394
- C[0] & /*$_*/
4395
- 4096 && i !== (i = /*$_*/
4396
- I[12]("setLimit") + "") && k(n, i), C[0] & /*$_*/
4420
+ p(k, O) {
4421
+ O[0] & /*$_*/
4422
+ 4096 && n !== (n = /*$_*/
4423
+ k[12]("setLimit") + "") && C(i, n), O[0] & /*$_*/
4397
4424
  4096 && a !== (a = /*$_*/
4398
- I[12]("setLimitDescription") + "") && k(s, a), C[0] & /*$_*/
4425
+ k[12]("setLimitDescription") + "") && C(s, a), O[0] & /*$_*/
4399
4426
  4096 && c !== (c = /*$_*/
4400
- I[12]("lugasInfo1") + "") && k(p, c), C[0] & /*$_*/
4401
- 4096 && E !== (E = /*$_*/
4402
- I[12]("lugasInfo2") + "") && k(_, E), C[0] & /*$_*/
4403
- 4096 && O !== (O = /*$_*/
4404
- I[12]("keepCurrentLimit") + "") && k(w, O), C[0] & /*$_*/
4405
- 4096 && D !== (D = /*$_*/
4406
- I[12]("keepCurrentLimitButton") + "") && k(z, D), C[0] & /*extended*/
4407
- 32 && Ge(
4408
- H,
4427
+ k[12]("lugasInfo1") + "") && C(p, c), O[0] & /*$_*/
4428
+ 4096 && w !== (w = /*$_*/
4429
+ k[12]("lugasInfo2") + "") && C(v, w), O[0] & /*$_*/
4430
+ 4096 && B !== (B = /*$_*/
4431
+ k[12]("keepCurrentLimit") + "") && C(I, B), O[0] & /*$_*/
4432
+ 4096 && H !== (H = /*$_*/
4433
+ k[12]("keepCurrentLimitButton") + "") && C(G, H), O[0] & /*extended*/
4434
+ 32 && $e(
4435
+ N,
4409
4436
  "Extended",
4410
4437
  /*extended*/
4411
- I[5]
4412
- ), C[0] & /*$_*/
4438
+ k[5]
4439
+ ), O[0] & /*$_*/
4413
4440
  4096 && ne !== (ne = /*$_*/
4414
- I[12]("depositPeriod") + "") && k(ae, ne), C[0] & /*inputAmount*/
4415
- 64 && Xt(Q.value) !== /*inputAmount*/
4416
- I[6] && Bt(
4441
+ k[12]("depositPeriod") + "") && C(se, ne), O[0] & /*inputAmount*/
4442
+ 64 && qt(Q.value) !== /*inputAmount*/
4443
+ k[6] && Bt(
4417
4444
  Q,
4418
4445
  /*inputAmount*/
4419
- I[6]
4420
- ), C[0] & /*$_*/
4421
- 4096 && fe !== (fe = /*$_*/
4422
- I[12]("applyButton") + "") && k(Le, fe), C[0] & /*hidden*/
4423
- 16 && Ge(
4424
- P,
4446
+ k[6]
4447
+ ), O[0] & /*$_*/
4448
+ 4096 && pe !== (pe = /*$_*/
4449
+ k[12]("applyButton") + "") && C(Ae, pe), O[0] & /*hidden*/
4450
+ 16 && $e(
4451
+ _,
4425
4452
  "Hidden",
4426
4453
  /*hidden*/
4427
- I[4]
4428
- ), C[0] & /*$_*/
4429
- 4096 && pe !== (pe = /*$_*/
4430
- I[12]("TCpart1") + "") && k(Ae, pe), C[0] & /*$_*/
4454
+ k[4]
4455
+ ), O[0] & /*$_*/
4431
4456
  4096 && me !== (me = /*$_*/
4432
- I[12]("TClink") + "") && k(Ie, me), C[0] & /*$_*/
4433
- 4096 && q !== (q = /*$_*/
4434
- I[12]("TCpart2") + "") && k(se, q), C[0] & /*$_*/
4435
- 4096 && je !== (je = /*$_*/
4436
- I[12]("PPlink") + "") && k(et, je);
4457
+ k[12]("TCpart1") + "") && C(ke, me), O[0] & /*$_*/
4458
+ 4096 && de !== (de = /*$_*/
4459
+ k[12]("TClink") + "") && C(Ce, de), O[0] & /*$_*/
4460
+ 4096 && b !== (b = /*$_*/
4461
+ k[12]("TCpart2") + "") && C(X, b), O[0] & /*$_*/
4462
+ 4096 && re !== (re = /*$_*/
4463
+ k[12]("PPlink") + "") && C(tt, re);
4437
4464
  },
4438
- d(I) {
4439
- I && (x(t), x(r), x(o), x(u), x(l), x(y), x(v), x(M), x(S), x(X), x(P), x(Se), x(J)), e[26](null), e[28](null), tt = !1, ue(Pt);
4465
+ d(k) {
4466
+ k && (E(t), E(r), E(o), E(u), E(l), E(y), E(T), E(D), E(L), E(J), E(_), E(Ie), E(Y)), e[26](null), e[28](null), nt = !1, ue(Pt);
4440
4467
  }
4441
4468
  };
4442
4469
  }
4443
- function Gr(e) {
4444
- let t, i, n, r;
4470
+ function Fr(e) {
4471
+ let t, n, i, r;
4445
4472
  function o(u, l) {
4446
4473
  if (
4447
4474
  /*isLoading*/
4448
4475
  u[7]
4449
4476
  )
4450
- return Or;
4477
+ return Rr;
4451
4478
  if (
4452
4479
  /*lang*/
4453
4480
  u[1]
4454
4481
  )
4455
- return Nr;
4482
+ return Dr;
4456
4483
  }
4457
4484
  let a = o(e), s = a && a(e);
4458
4485
  return {
4459
4486
  c() {
4460
- t = b("div"), i = b("div"), n = b("div"), r = b("div"), s && s.c(), h(r, "class", "ModalContainer"), h(n, "class", "Overlay"), h(i, "class", "player-account-gaming-limits-popup-2");
4487
+ t = g("div"), n = g("div"), i = g("div"), r = g("div"), s && s.c(), h(r, "class", "ModalContainer"), h(i, "class", "Overlay"), h(n, "class", "player-account-gaming-limits-popup-2");
4461
4488
  },
4462
4489
  m(u, l) {
4463
- T(u, t, l), f(t, i), f(i, n), f(n, r), s && s.m(r, null), e[38](i), e[39](t);
4490
+ x(u, t, l), f(t, n), f(n, i), f(i, r), s && s.m(r, null), e[38](n), e[39](t);
4464
4491
  },
4465
4492
  p(u, l) {
4466
4493
  a === (a = o(u)) && s ? s.p(u, l) : (s && s.d(1), s = a && a(u), s && (s.c(), s.m(r, null)));
4467
4494
  },
4468
- i: te,
4469
- o: te,
4495
+ i: ee,
4496
+ o: ee,
4470
4497
  d(u) {
4471
- u && x(t), s && s.d(), e[38](null), e[39](null);
4498
+ u && E(t), s && s.d(), e[38](null), e[39](null);
4472
4499
  }
4473
4500
  };
4474
4501
  }
4475
- function $r(e, t, i) {
4476
- let n;
4477
- vi(e, Sr, (g) => i(12, n = g));
4478
- let { userid: r = "" } = t, { session: o = "" } = t, { endpoint: a = "" } = t, { currency: s = "" } = t, { lang: u = "" } = t, { translationurl: l = "" } = t, { clientstyling: c = "" } = t, { clientstylingurl: p = "" } = t, { mbsource: m } = t, d, E, _ = !0, y = !1, v, O = !1, w, M, S = "initial", D;
4479
- const z = () => {
4480
- fetch(l).then((q) => q.json()).then((q) => {
4481
- Object.keys(q).forEach((se) => {
4482
- Gt(se, q[se]);
4502
+ function Vr(e, t, n) {
4503
+ let i;
4504
+ _n(e, Ar, (b) => n(12, i = b));
4505
+ let { userid: r = "" } = t, { session: o = "" } = t, { endpoint: a = "" } = t, { currency: s = "" } = t, { lang: u = "" } = t, { translationurl: l = "" } = t, { clientstyling: c = "" } = t, { clientstylingurl: p = "" } = t, { mbsource: m } = t, d, w, v, y = !0, T = !1, B, I = !1, D, L, H = "initial", G;
4506
+ const N = () => {
4507
+ fetch(l).then((X) => X.json()).then((X) => {
4508
+ Object.keys(X).forEach((ae) => {
4509
+ $t(ae, X[ae]);
4483
4510
  });
4484
- }).catch((q) => {
4485
- console.log(q);
4511
+ }).catch((X) => {
4512
+ console.log(X);
4486
4513
  });
4487
4514
  };
4488
- Object.keys($t).forEach((g) => {
4489
- Gt(g, $t[g]);
4515
+ Object.keys(zt).forEach((b) => {
4516
+ $t(b, zt[b]);
4490
4517
  });
4491
- const H = () => {
4492
- i(5, y = !y), i(4, _ = !_);
4493
- }, R = () => {
4494
- M.parentNode.removeChild(M);
4495
- }, G = () => {
4496
- v > 999999999999999 && i(6, v = 999999999999999);
4497
- const q = v - Math.floor(v) === 0;
4498
- v > 0 && q ? w.removeAttribute("disabled") : w.setAttribute("disabled", "true");
4499
- }, X = (g) => {
4500
- switch (window.postMessage({ type: g }, window.location.href), g) {
4518
+ const U = () => {
4519
+ n(5, T = !T), n(4, y = !y);
4520
+ }, $ = () => {
4521
+ L.parentNode.removeChild(L);
4522
+ }, J = () => {
4523
+ B > 999999999999999 && n(6, B = 999999999999999);
4524
+ const X = B - Math.floor(B) === 0;
4525
+ B > 0 && X ? D.removeAttribute("disabled") : D.setAttribute("disabled", "true");
4526
+ }, _ = (b) => {
4527
+ switch (window.postMessage({ type: b }, window.location.href), b) {
4501
4528
  case "closePopup":
4502
4529
  case "uploadDocuments":
4503
- R();
4530
+ $();
4504
4531
  break;
4505
4532
  }
4506
- }, P = (g) => {
4507
- const q = new URL(`/v1/player/${r}/limit/lugas`, a);
4508
- let se = {};
4509
- i(7, O = !0), se = g === "custom" ? { amount: v } : {};
4510
- let Ue = {
4533
+ }, R = (b) => {
4534
+ const X = new URL(`/v1/player/${r}/limit/lugas`, a);
4535
+ let ae = {};
4536
+ n(7, I = !0), ae = b === "custom" ? { amount: B } : {};
4537
+ let he = {
4511
4538
  method: "POST",
4512
4539
  headers: {
4513
4540
  "X-SessionID": o,
4514
4541
  "Content-Type": "application/json",
4515
4542
  Accept: "application/json"
4516
4543
  },
4517
- body: JSON.stringify(se)
4544
+ body: JSON.stringify(ae)
4518
4545
  };
4519
- fetch(q.href, Ue).then((K) => K.json()).then((K) => {
4520
- U(K);
4521
- }).catch((K) => {
4522
- console.log(K);
4546
+ fetch(X.href, he).then((re) => re.json()).then((re) => {
4547
+ te(re);
4548
+ }).catch((re) => {
4549
+ console.log(re);
4523
4550
  }).finally(() => {
4524
- i(7, O = !1);
4551
+ n(7, I = !1);
4525
4552
  });
4526
- }, U = (g) => {
4527
- if (g.hasOwnProperty("kycNeeded"))
4528
- switch (g.popup) {
4553
+ }, te = (b) => {
4554
+ if (b.hasOwnProperty("kycNeeded"))
4555
+ switch (b.popup) {
4529
4556
  case 1:
4530
- i(10, S = "KYC"), i(11, D = Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(g.operatorDepositLimitAmount));
4557
+ n(10, H = "KYC"), n(11, G = Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(b.operatorDepositLimitAmount));
4531
4558
  break;
4532
4559
  case 2:
4533
- i(10, S = "successful");
4560
+ n(10, H = "successful");
4534
4561
  break;
4535
4562
  case 3:
4536
- i(10, S = "KYC2");
4563
+ n(10, H = "KYC2");
4537
4564
  break;
4538
4565
  }
4539
4566
  else
4540
- i(10, S = "error");
4541
- }, ie = () => {
4542
- Ar(u);
4567
+ n(10, H = "error");
4568
+ }, ne = () => {
4569
+ Ir(u);
4543
4570
  };
4544
- Bi(() => () => {
4571
+ Ln(() => () => {
4545
4572
  });
4546
- const ne = () => X("lugasInformation"), ae = () => P("default");
4547
- function F(g) {
4548
- ye[g ? "unshift" : "push"](() => {
4549
- E = g, i(3, E);
4573
+ const se = () => _("lugasInformation"), F = () => R("default");
4574
+ function j(b) {
4575
+ Ee[b ? "unshift" : "push"](() => {
4576
+ v = b, n(3, v);
4550
4577
  });
4551
4578
  }
4552
- function j() {
4553
- v = Xt(this.value), i(6, v);
4579
+ function Q() {
4580
+ B = qt(this.value), n(6, B);
4554
4581
  }
4555
- function Q(g) {
4556
- ye[g ? "unshift" : "push"](() => {
4557
- w = g, i(8, w);
4582
+ function je(b) {
4583
+ Ee[b ? "unshift" : "push"](() => {
4584
+ D = b, n(8, D);
4558
4585
  });
4559
4586
  }
4560
- const Re = () => P("custom"), re = () => X("termsConditions"), fe = () => X("privacyPolicy"), Le = () => X("closePopup"), Se = () => X("uploadDocuments"), J = () => X("closePopup"), pe = () => X("uploadDocuments"), Ae = () => X("closePopup"), ce = () => X("closePopup");
4561
- function me(g) {
4562
- ye[g ? "unshift" : "push"](() => {
4563
- M = g, i(9, M);
4587
+ const ie = () => R("custom"), pe = () => _("termsConditions"), Ae = () => _("privacyPolicy"), Ie = () => _("closePopup"), Y = () => _("uploadDocuments"), me = () => _("closePopup"), ke = () => _("uploadDocuments"), ce = () => _("closePopup"), de = () => _("closePopup");
4588
+ function Ce(b) {
4589
+ Ee[b ? "unshift" : "push"](() => {
4590
+ L = b, n(9, L);
4564
4591
  });
4565
4592
  }
4566
- function Ie(g) {
4567
- ye[g ? "unshift" : "push"](() => {
4568
- d = g, i(2, d);
4593
+ function Ge(b) {
4594
+ Ee[b ? "unshift" : "push"](() => {
4595
+ d = b, n(2, d);
4569
4596
  });
4570
4597
  }
4571
- return e.$$set = (g) => {
4572
- "userid" in g && i(17, r = g.userid), "session" in g && i(18, o = g.session), "endpoint" in g && i(19, a = g.endpoint), "currency" in g && i(0, s = g.currency), "lang" in g && i(1, u = g.lang), "translationurl" in g && i(20, l = g.translationurl), "clientstyling" in g && i(21, c = g.clientstyling), "clientstylingurl" in g && i(22, p = g.clientstylingurl), "mbsource" in g && i(23, m = g.mbsource);
4598
+ return e.$$set = (b) => {
4599
+ "userid" in b && n(17, r = b.userid), "session" in b && n(18, o = b.session), "endpoint" in b && n(19, a = b.endpoint), "currency" in b && n(0, s = b.currency), "lang" in b && n(1, u = b.lang), "translationurl" in b && n(20, l = b.translationurl), "clientstyling" in b && n(21, c = b.clientstyling), "clientstylingurl" in b && n(22, p = b.clientstylingurl), "mbsource" in b && n(23, m = b.mbsource);
4573
4600
  }, e.$$.update = () => {
4574
4601
  e.$$.dirty[0] & /*lang*/
4575
- 2 && u && ie(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4576
- 2097156 && c && d && Ir(d, c), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4577
- 4194308 && p && d && kr(d, p), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4578
- 8388612 && m && d && Hr(d, `${m}.Style`), e.$$.dirty[0] & /*translationurl*/
4579
- 1048576 && l && z();
4602
+ 2 && u && ne(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4603
+ 2097156 && c && d && kr(d, c), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4604
+ 4194308 && p && d && Cr(d, p), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4605
+ 8388612 && m && d && Hr(d, `${m}.Style`, w), e.$$.dirty[0] & /*translationurl*/
4606
+ 1048576 && l && N();
4580
4607
  }, [
4581
4608
  s,
4582
4609
  u,
4583
4610
  d,
4584
- E,
4585
- _,
4586
- y,
4587
4611
  v,
4588
- O,
4589
- w,
4590
- M,
4591
- S,
4612
+ y,
4613
+ T,
4614
+ B,
4615
+ I,
4592
4616
  D,
4593
- n,
4617
+ L,
4594
4618
  H,
4595
4619
  G,
4596
- X,
4597
- P,
4620
+ i,
4621
+ U,
4622
+ J,
4623
+ _,
4624
+ R,
4598
4625
  r,
4599
4626
  o,
4600
4627
  a,
@@ -4602,32 +4629,32 @@ function $r(e, t, i) {
4602
4629
  c,
4603
4630
  p,
4604
4631
  m,
4605
- ne,
4606
- ae,
4632
+ se,
4607
4633
  F,
4608
4634
  j,
4609
4635
  Q,
4610
- Re,
4611
- re,
4612
- fe,
4613
- Le,
4614
- Se,
4615
- J,
4636
+ je,
4637
+ ie,
4616
4638
  pe,
4617
4639
  Ae,
4618
- ce,
4640
+ Ie,
4641
+ Y,
4619
4642
  me,
4620
- Ie
4643
+ ke,
4644
+ ce,
4645
+ de,
4646
+ Ce,
4647
+ Ge
4621
4648
  ];
4622
4649
  }
4623
- class zr extends Ri {
4650
+ class Xr extends jn {
4624
4651
  constructor(t) {
4625
- super(), Mi(
4652
+ super(), Rn(
4626
4653
  this,
4627
4654
  t,
4628
- $r,
4629
- Gr,
4630
- Ft,
4655
+ Vr,
4656
+ Fr,
4657
+ Vt,
4631
4658
  {
4632
4659
  userid: 17,
4633
4660
  session: 18,
@@ -4639,7 +4666,7 @@ class zr extends Ri {
4639
4666
  clientstylingurl: 22,
4640
4667
  mbsource: 23
4641
4668
  },
4642
- Cr,
4669
+ Mr,
4643
4670
  [-1, -1]
4644
4671
  );
4645
4672
  }
@@ -4647,58 +4674,58 @@ class zr extends Ri {
4647
4674
  return this.$$.ctx[17];
4648
4675
  }
4649
4676
  set userid(t) {
4650
- this.$$set({ userid: t }), ee();
4677
+ this.$$set({ userid: t }), K();
4651
4678
  }
4652
4679
  get session() {
4653
4680
  return this.$$.ctx[18];
4654
4681
  }
4655
4682
  set session(t) {
4656
- this.$$set({ session: t }), ee();
4683
+ this.$$set({ session: t }), K();
4657
4684
  }
4658
4685
  get endpoint() {
4659
4686
  return this.$$.ctx[19];
4660
4687
  }
4661
4688
  set endpoint(t) {
4662
- this.$$set({ endpoint: t }), ee();
4689
+ this.$$set({ endpoint: t }), K();
4663
4690
  }
4664
4691
  get currency() {
4665
4692
  return this.$$.ctx[0];
4666
4693
  }
4667
4694
  set currency(t) {
4668
- this.$$set({ currency: t }), ee();
4695
+ this.$$set({ currency: t }), K();
4669
4696
  }
4670
4697
  get lang() {
4671
4698
  return this.$$.ctx[1];
4672
4699
  }
4673
4700
  set lang(t) {
4674
- this.$$set({ lang: t }), ee();
4701
+ this.$$set({ lang: t }), K();
4675
4702
  }
4676
4703
  get translationurl() {
4677
4704
  return this.$$.ctx[20];
4678
4705
  }
4679
4706
  set translationurl(t) {
4680
- this.$$set({ translationurl: t }), ee();
4707
+ this.$$set({ translationurl: t }), K();
4681
4708
  }
4682
4709
  get clientstyling() {
4683
4710
  return this.$$.ctx[21];
4684
4711
  }
4685
4712
  set clientstyling(t) {
4686
- this.$$set({ clientstyling: t }), ee();
4713
+ this.$$set({ clientstyling: t }), K();
4687
4714
  }
4688
4715
  get clientstylingurl() {
4689
4716
  return this.$$.ctx[22];
4690
4717
  }
4691
4718
  set clientstylingurl(t) {
4692
- this.$$set({ clientstylingurl: t }), ee();
4719
+ this.$$set({ clientstylingurl: t }), K();
4693
4720
  }
4694
4721
  get mbsource() {
4695
4722
  return this.$$.ctx[23];
4696
4723
  }
4697
4724
  set mbsource(t) {
4698
- this.$$set({ mbsource: t }), ee();
4725
+ this.$$set({ mbsource: t }), K();
4699
4726
  }
4700
4727
  }
4701
- Di(zr, { userid: {}, session: {}, endpoint: {}, currency: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
4728
+ Un(Xr, { userid: {}, session: {}, endpoint: {}, currency: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
4702
4729
  export {
4703
- zr as P
4730
+ Xr as P
4704
4731
  };