@everymatrix/player-account-gaming-limits-confirmation-modal 1.55.0 → 1.56.2

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,16 +1,16 @@
1
- var vr = Object.defineProperty, xr = Object.defineProperties;
2
- var _r = Object.getOwnPropertyDescriptors;
1
+ var yr = Object.defineProperty, vr = Object.defineProperties;
2
+ var xr = Object.getOwnPropertyDescriptors;
3
3
  var nt = Object.getOwnPropertySymbols;
4
- var Er = Object.prototype.hasOwnProperty, Sr = Object.prototype.propertyIsEnumerable;
5
- var Se = (e, t, r) => t in e ? vr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, it = (e, t) => {
4
+ var _r = Object.prototype.hasOwnProperty, Er = Object.prototype.propertyIsEnumerable;
5
+ var Ee = (e, t, r) => t in e ? yr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, it = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- Er.call(t, r) && Se(e, r, t[r]);
7
+ _r.call(t, r) && Ee(e, r, t[r]);
8
8
  if (nt)
9
9
  for (var r of nt(t))
10
- Sr.call(t, r) && Se(e, r, t[r]);
10
+ Er.call(t, r) && Ee(e, r, t[r]);
11
11
  return e;
12
- }, ot = (e, t) => xr(e, _r(t));
13
- var L = (e, t, r) => Se(e, typeof t != "symbol" ? t + "" : t, r);
12
+ }, ot = (e, t) => vr(e, xr(t));
13
+ var O = (e, t, r) => (Ee(e, typeof t != "symbol" ? t + "" : t, r), r);
14
14
  var st = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (h) => {
16
16
  try {
@@ -30,7 +30,8 @@ var st = (e, t, r) => new Promise((n, i) => {
30
30
  function I() {
31
31
  }
32
32
  function wr(e, t) {
33
- for (const r in t) e[r] = t[r];
33
+ for (const r in t)
34
+ e[r] = t[r];
34
35
  return (
35
36
  /** @type {T & S} */
36
37
  e
@@ -42,16 +43,16 @@ function It(e) {
42
43
  function at() {
43
44
  return /* @__PURE__ */ Object.create(null);
44
45
  }
45
- function Y(e) {
46
+ function J(e) {
46
47
  e.forEach(It);
47
48
  }
48
- function Ye(e) {
49
+ function Je(e) {
49
50
  return typeof e == "function";
50
51
  }
51
52
  function Mt(e, t) {
52
53
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
53
54
  }
54
- function Tr(e) {
55
+ function Sr(e) {
55
56
  return Object.keys(e).length === 0;
56
57
  }
57
58
  function Nt(e, ...t) {
@@ -63,16 +64,16 @@ function Nt(e, ...t) {
63
64
  const r = e.subscribe(...t);
64
65
  return r.unsubscribe ? () => r.unsubscribe() : r;
65
66
  }
66
- function Hr(e, t, r) {
67
+ function Tr(e, t, r) {
67
68
  e.$$.on_destroy.push(Nt(t, r));
68
69
  }
69
- function Cr(e, t, r, n) {
70
+ function Hr(e, t, r, n) {
70
71
  if (e) {
71
- const i = $t(e, t, r, n);
72
+ const i = Rt(e, t, r, n);
72
73
  return e[0](i);
73
74
  }
74
75
  }
75
- function $t(e, t, r, n) {
76
+ function Rt(e, t, r, n) {
76
77
  return e[1] && n ? wr(r.ctx.slice(), e[1](n(t))) : r.ctx;
77
78
  }
78
79
  function Br(e, t, r, n) {
@@ -90,13 +91,13 @@ function Br(e, t, r, n) {
90
91
  }
91
92
  return t.dirty;
92
93
  }
93
- function Ar(e, t, r, n, i, o) {
94
+ function Cr(e, t, r, n, i, o) {
94
95
  if (i) {
95
- const s = $t(t, r, n, o);
96
+ const s = Rt(t, r, n, o);
96
97
  e.p(s, i);
97
98
  }
98
99
  }
99
- function Pr(e) {
100
+ function Ar(e) {
100
101
  if (e.ctx.length > 32) {
101
102
  const t = [], r = e.ctx.length / 32;
102
103
  for (let n = 0; n < r; n++)
@@ -105,18 +106,19 @@ function Pr(e) {
105
106
  }
106
107
  return -1;
107
108
  }
108
- function C(e, t) {
109
+ function B(e, t) {
109
110
  e.appendChild(t);
110
111
  }
111
- function Lr(e, t, r) {
112
- const n = Or(e);
112
+ function Pr(e, t, r) {
113
+ const n = Lr(e);
113
114
  if (!n.getElementById(t)) {
114
- const i = N("style");
115
- i.id = t, i.textContent = r, Ir(n, i);
115
+ const i = M("style");
116
+ i.id = t, i.textContent = r, Or(n, i);
116
117
  }
117
118
  }
118
- function Or(e) {
119
- if (!e) return document;
119
+ function Lr(e) {
120
+ if (!e)
121
+ return document;
120
122
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
121
123
  return t && /** @type {ShadowRoot} */
122
124
  t.host ? (
@@ -124,45 +126,45 @@ function Or(e) {
124
126
  t
125
127
  ) : e.ownerDocument;
126
128
  }
127
- function Ir(e, t) {
128
- return C(
129
+ function Or(e, t) {
130
+ return B(
129
131
  /** @type {Document} */
130
132
  e.head || e,
131
133
  t
132
134
  ), t.sheet;
133
135
  }
134
- function qe(e, t, r) {
136
+ function Ye(e, t, r) {
135
137
  e.insertBefore(t, r || null);
136
138
  }
137
- function ge(e) {
139
+ function be(e) {
138
140
  e.parentNode && e.parentNode.removeChild(e);
139
141
  }
140
- function N(e) {
142
+ function M(e) {
141
143
  return document.createElement(e);
142
144
  }
143
145
  function ut(e) {
144
146
  return document.createElementNS("http://www.w3.org/2000/svg", e);
145
147
  }
146
- function he(e) {
148
+ function ue(e) {
147
149
  return document.createTextNode(e);
148
150
  }
149
151
  function we() {
150
- return he(" ");
152
+ return ue(" ");
151
153
  }
152
- function Te(e, t, r, n) {
154
+ function Se(e, t, r, n) {
153
155
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
154
156
  }
155
- function w(e, t, r) {
157
+ function S(e, t, r) {
156
158
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
157
159
  }
158
- function Mr(e) {
160
+ function Ir(e) {
159
161
  return Array.from(e.childNodes);
160
162
  }
161
- function He(e, t) {
163
+ function Te(e, t) {
162
164
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
163
165
  t);
164
166
  }
165
- function Nr(e) {
167
+ function Mr(e) {
166
168
  const t = {};
167
169
  return e.childNodes.forEach(
168
170
  /** @param {Element} node */
@@ -171,94 +173,97 @@ function Nr(e) {
171
173
  }
172
174
  ), t;
173
175
  }
174
- let ne;
175
- function re(e) {
176
- ne = e;
176
+ let re;
177
+ function te(e) {
178
+ re = e;
177
179
  }
178
- function $r() {
179
- if (!ne) throw new Error("Function called outside component initialization");
180
- return ne;
180
+ function Nr() {
181
+ if (!re)
182
+ throw new Error("Function called outside component initialization");
183
+ return re;
181
184
  }
182
185
  function Rr(e) {
183
- $r().$$.on_mount.push(e);
186
+ Nr().$$.on_mount.push(e);
184
187
  }
185
- const V = [], Ne = [];
186
- let X = [];
187
- const ht = [], Gr = /* @__PURE__ */ Promise.resolve();
188
- let $e = !1;
189
- function Ur() {
190
- $e || ($e = !0, Gr.then(G));
188
+ const k = [], Me = [];
189
+ let V = [];
190
+ const ht = [], $r = /* @__PURE__ */ Promise.resolve();
191
+ let Ne = !1;
192
+ function Gr() {
193
+ Ne || (Ne = !0, $r.then(N));
191
194
  }
192
195
  function Re(e) {
193
- X.push(e);
196
+ V.push(e);
194
197
  }
195
- const Ce = /* @__PURE__ */ new Set();
196
- let j = 0;
197
- function G() {
198
- if (j !== 0)
198
+ const He = /* @__PURE__ */ new Set();
199
+ let F = 0;
200
+ function N() {
201
+ if (F !== 0)
199
202
  return;
200
- const e = ne;
203
+ const e = re;
201
204
  do {
202
205
  try {
203
- for (; j < V.length; ) {
204
- const t = V[j];
205
- j++, re(t), Dr(t.$$);
206
+ for (; F < k.length; ) {
207
+ const t = k[F];
208
+ F++, te(t), Ur(t.$$);
206
209
  }
207
210
  } catch (t) {
208
- throw V.length = 0, j = 0, t;
211
+ throw k.length = 0, F = 0, t;
209
212
  }
210
- for (re(null), V.length = 0, j = 0; Ne.length; ) Ne.pop()();
211
- for (let t = 0; t < X.length; t += 1) {
212
- const r = X[t];
213
- Ce.has(r) || (Ce.add(r), r());
213
+ for (te(null), k.length = 0, F = 0; Me.length; )
214
+ Me.pop()();
215
+ for (let t = 0; t < V.length; t += 1) {
216
+ const r = V[t];
217
+ He.has(r) || (He.add(r), r());
214
218
  }
215
- X.length = 0;
216
- } while (V.length);
219
+ V.length = 0;
220
+ } while (k.length);
217
221
  for (; ht.length; )
218
222
  ht.pop()();
219
- $e = !1, Ce.clear(), re(e);
223
+ Ne = !1, He.clear(), te(e);
220
224
  }
221
- function Dr(e) {
225
+ function Ur(e) {
222
226
  if (e.fragment !== null) {
223
- e.update(), Y(e.before_update);
227
+ e.update(), J(e.before_update);
224
228
  const t = e.dirty;
225
229
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Re);
226
230
  }
227
231
  }
228
- function Fr(e) {
232
+ function Dr(e) {
229
233
  const t = [], r = [];
230
- X.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), X = t;
234
+ V.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), V = t;
231
235
  }
232
- const le = /* @__PURE__ */ new Set();
233
- let jr;
234
- function Rt(e, t) {
235
- e && e.i && (le.delete(e), e.i(t));
236
+ const he = /* @__PURE__ */ new Set();
237
+ let Fr;
238
+ function $t(e, t) {
239
+ e && e.i && (he.delete(e), e.i(t));
236
240
  }
237
- function kr(e, t, r, n) {
241
+ function jr(e, t, r, n) {
238
242
  if (e && e.o) {
239
- if (le.has(e)) return;
240
- le.add(e), jr.c.push(() => {
241
- le.delete(e);
243
+ if (he.has(e))
244
+ return;
245
+ he.add(e), Fr.c.push(() => {
246
+ he.delete(e);
242
247
  }), e.o(t);
243
248
  }
244
249
  }
245
- function Vr(e, t, r) {
250
+ function kr(e, t, r) {
246
251
  const { fragment: n, after_update: i } = e.$$;
247
252
  n && n.m(t, r), Re(() => {
248
- const o = e.$$.on_mount.map(It).filter(Ye);
249
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Y(o), e.$$.on_mount = [];
253
+ const o = e.$$.on_mount.map(It).filter(Je);
254
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : J(o), e.$$.on_mount = [];
250
255
  }), i.forEach(Re);
251
256
  }
252
- function Xr(e, t) {
257
+ function Vr(e, t) {
253
258
  const r = e.$$;
254
- r.fragment !== null && (Fr(r.after_update), Y(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
259
+ r.fragment !== null && (Dr(r.after_update), J(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
255
260
  }
256
- function Wr(e, t) {
257
- e.$$.dirty[0] === -1 && (V.push(e), Ur(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
261
+ function Xr(e, t) {
262
+ e.$$.dirty[0] === -1 && (k.push(e), Gr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
258
263
  }
259
- function zr(e, t, r, n, i, o, s = null, a = [-1]) {
260
- const h = ne;
261
- re(e);
264
+ function Wr(e, t, r, n, i, o, s = null, a = [-1]) {
265
+ const h = re;
266
+ te(e);
262
267
  const u = e.$$ = {
263
268
  fragment: null,
264
269
  ctx: [],
@@ -282,41 +287,41 @@ function zr(e, t, r, n, i, o, s = null, a = [-1]) {
282
287
  };
283
288
  s && s(u.root);
284
289
  let l = !1;
285
- if (u.ctx = r ? r(e, t.props || {}, (c, f, ...m) => {
286
- const v = m.length ? m[0] : f;
287
- return u.ctx && i(u.ctx[c], u.ctx[c] = v) && (!u.skip_bound && u.bound[c] && u.bound[c](v), l && Wr(e, c)), f;
288
- }) : [], u.update(), l = !0, Y(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
290
+ if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
291
+ const m = p.length ? p[0] : f;
292
+ return u.ctx && i(u.ctx[c], u.ctx[c] = m) && (!u.skip_bound && u.bound[c] && u.bound[c](m), l && Xr(e, c)), f;
293
+ }) : [], u.update(), l = !0, J(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
289
294
  if (t.hydrate) {
290
- const c = Mr(t.target);
291
- u.fragment && u.fragment.l(c), c.forEach(ge);
295
+ const c = Ir(t.target);
296
+ u.fragment && u.fragment.l(c), c.forEach(be);
292
297
  } else
293
298
  u.fragment && u.fragment.c();
294
- t.intro && Rt(e.$$.fragment), Vr(e, t.target, t.anchor), G();
299
+ t.intro && $t(e.$$.fragment), kr(e, t.target, t.anchor), N();
295
300
  }
296
- re(h);
301
+ te(h);
297
302
  }
298
303
  let Gt;
299
304
  typeof HTMLElement == "function" && (Gt = class extends HTMLElement {
300
305
  constructor(t, r, n) {
301
306
  super();
302
307
  /** The Svelte component constructor */
303
- L(this, "$$ctor");
308
+ O(this, "$$ctor");
304
309
  /** Slots */
305
- L(this, "$$s");
310
+ O(this, "$$s");
306
311
  /** The Svelte component instance */
307
- L(this, "$$c");
312
+ O(this, "$$c");
308
313
  /** Whether or not the custom element is connected */
309
- L(this, "$$cn", !1);
314
+ O(this, "$$cn", !1);
310
315
  /** Component props data */
311
- L(this, "$$d", {});
316
+ O(this, "$$d", {});
312
317
  /** `true` if currently in the process of reflecting component props back to attributes */
313
- L(this, "$$r", !1);
318
+ O(this, "$$r", !1);
314
319
  /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
315
- L(this, "$$p_d", {});
320
+ O(this, "$$p_d", {});
316
321
  /** @type {Record<string, Function[]>} Event listeners */
317
- L(this, "$$l", {});
322
+ O(this, "$$l", {});
318
323
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
319
- L(this, "$$l_u", /* @__PURE__ */ new Map());
324
+ O(this, "$$l_u", /* @__PURE__ */ new Map());
320
325
  this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
321
326
  }
322
327
  addEventListener(t, r, n) {
@@ -340,29 +345,29 @@ typeof HTMLElement == "function" && (Gt = class extends HTMLElement {
340
345
  let s;
341
346
  return {
342
347
  c: function() {
343
- s = N("slot"), o !== "default" && w(s, "name", o);
348
+ s = M("slot"), o !== "default" && S(s, "name", o);
344
349
  },
345
350
  /**
346
351
  * @param {HTMLElement} target
347
352
  * @param {HTMLElement} [anchor]
348
353
  */
349
354
  m: function(u, l) {
350
- qe(u, s, l);
355
+ Ye(u, s, l);
351
356
  },
352
357
  d: function(u) {
353
- u && ge(s);
358
+ u && be(s);
354
359
  }
355
360
  };
356
361
  };
357
362
  };
358
363
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
359
364
  return;
360
- const r = {}, n = Nr(this);
365
+ const r = {}, n = Mr(this);
361
366
  for (const o of this.$$s)
362
367
  o in n && (r[o] = [t(o)]);
363
368
  for (const o of this.attributes) {
364
369
  const s = this.$$g_p(o.name);
365
- s in this.$$d || (this.$$d[s] = ce(s, o.value, this.$$p_d, "toProp"));
370
+ s in this.$$d || (this.$$d[s] = le(s, o.value, this.$$p_d, "toProp"));
366
371
  }
367
372
  for (const o in this.$$p_d)
368
373
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
@@ -379,7 +384,7 @@ typeof HTMLElement == "function" && (Gt = class extends HTMLElement {
379
384
  this.$$r = !0;
380
385
  for (const o in this.$$p_d)
381
386
  if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
382
- const s = ce(
387
+ const s = le(
383
388
  o,
384
389
  this.$$d[o],
385
390
  this.$$p_d,
@@ -403,7 +408,7 @@ typeof HTMLElement == "function" && (Gt = class extends HTMLElement {
403
408
  // and setting attributes through setAttribute etc, this is helpful
404
409
  attributeChangedCallback(t, r, n) {
405
410
  var i;
406
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = ce(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
411
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = le(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
407
412
  }
408
413
  disconnectedCallback() {
409
414
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -416,7 +421,7 @@ typeof HTMLElement == "function" && (Gt = class extends HTMLElement {
416
421
  ) || t;
417
422
  }
418
423
  });
419
- function ce(e, t, r, n) {
424
+ function le(e, t, r, n) {
420
425
  var o;
421
426
  const i = (o = r[e]) == null ? void 0 : o.type;
422
427
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
@@ -446,7 +451,7 @@ function ce(e, t, r, n) {
446
451
  return t;
447
452
  }
448
453
  }
449
- function Zr(e, t, r, n, i, o) {
454
+ function zr(e, t, r, n, i, o) {
450
455
  let s = class extends Gt {
451
456
  constructor() {
452
457
  super(e, r, i), this.$$p_d = t;
@@ -464,7 +469,7 @@ function Zr(e, t, r, n, i, o) {
464
469
  },
465
470
  set(h) {
466
471
  var u;
467
- h = ce(a, h, t), this.$$d[a] = h, (u = this.$$c) == null || u.$set({ [a]: h });
472
+ h = le(a, h, t), this.$$d[a] = h, (u = this.$$c) == null || u.$set({ [a]: h });
468
473
  }
469
474
  });
470
475
  }), n.forEach((a) => {
@@ -477,7 +482,7 @@ function Zr(e, t, r, n, i, o) {
477
482
  }), e.element = /** @type {any} */
478
483
  s, s;
479
484
  }
480
- class Qr {
485
+ class Zr {
481
486
  constructor() {
482
487
  /**
483
488
  * ### PRIVATE API
@@ -486,7 +491,7 @@ class Qr {
486
491
  *
487
492
  * @type {any}
488
493
  */
489
- L(this, "$$");
494
+ O(this, "$$");
490
495
  /**
491
496
  * ### PRIVATE API
492
497
  *
@@ -494,11 +499,11 @@ class Qr {
494
499
  *
495
500
  * @type {any}
496
501
  */
497
- L(this, "$$set");
502
+ O(this, "$$set");
498
503
  }
499
504
  /** @returns {void} */
500
505
  $destroy() {
501
- Xr(this, 1), this.$destroy = I;
506
+ Vr(this, 1), this.$destroy = I;
502
507
  }
503
508
  /**
504
509
  * @template {Extract<keyof Events, string>} K
@@ -507,7 +512,7 @@ class Qr {
507
512
  * @returns {() => void}
508
513
  */
509
514
  $on(t, r) {
510
- if (!Ye(r))
515
+ if (!Je(r))
511
516
  return I;
512
517
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
513
518
  return n.push(r), () => {
@@ -520,77 +525,100 @@ class Qr {
520
525
  * @returns {void}
521
526
  */
522
527
  $set(t) {
523
- this.$$set && !Tr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
528
+ this.$$set && !Sr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
524
529
  }
525
530
  }
526
- const Jr = "4";
527
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Jr);
528
- var Ge = function(e, t) {
529
- return Ge = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
531
+ const Qr = "4";
532
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Qr);
533
+ /*! *****************************************************************************
534
+ Copyright (c) Microsoft Corporation.
535
+
536
+ Permission to use, copy, modify, and/or distribute this software for any
537
+ purpose with or without fee is hereby granted.
538
+
539
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
540
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
541
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
542
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
543
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
544
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
545
+ PERFORMANCE OF THIS SOFTWARE.
546
+ ***************************************************************************** */
547
+ var $e = function(e, t) {
548
+ return $e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
530
549
  r.__proto__ = n;
531
550
  } || function(r, n) {
532
- for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
533
- }, Ge(e, t);
551
+ for (var i in n)
552
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
553
+ }, $e(e, t);
534
554
  };
535
- function R(e, t) {
555
+ function $(e, t) {
536
556
  if (typeof t != "function" && t !== null)
537
557
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
538
- Ge(e, t);
558
+ $e(e, t);
539
559
  function r() {
540
560
  this.constructor = e;
541
561
  }
542
562
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
543
563
  }
544
- var y = function() {
545
- return y = Object.assign || function(t) {
564
+ var v = function() {
565
+ return v = Object.assign || function(t) {
546
566
  for (var r, n = 1, i = arguments.length; n < i; n++) {
547
567
  r = arguments[n];
548
- for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
568
+ for (var o in r)
569
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
549
570
  }
550
571
  return t;
551
- }, y.apply(this, arguments);
572
+ }, v.apply(this, arguments);
552
573
  };
553
- function Yr(e, t) {
574
+ function Jr(e, t) {
554
575
  var r = {};
555
- for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
576
+ for (var n in e)
577
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
556
578
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
557
579
  for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
558
580
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
559
581
  return r;
560
582
  }
561
- function Ue(e) {
583
+ function Ge(e) {
562
584
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
563
- if (r) return r.call(e);
564
- if (e && typeof e.length == "number") return {
565
- next: function() {
566
- return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
567
- }
568
- };
585
+ if (r)
586
+ return r.call(e);
587
+ if (e && typeof e.length == "number")
588
+ return {
589
+ next: function() {
590
+ return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
591
+ }
592
+ };
569
593
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
570
594
  }
571
- function De(e, t) {
595
+ function Ue(e, t) {
572
596
  var r = typeof Symbol == "function" && e[Symbol.iterator];
573
- if (!r) return e;
597
+ if (!r)
598
+ return e;
574
599
  var n = r.call(e), i, o = [], s;
575
600
  try {
576
- for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; ) o.push(i.value);
601
+ for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
602
+ o.push(i.value);
577
603
  } catch (a) {
578
604
  s = { error: a };
579
605
  } finally {
580
606
  try {
581
607
  i && !i.done && (r = n.return) && r.call(n);
582
608
  } finally {
583
- if (s) throw s.error;
609
+ if (s)
610
+ throw s.error;
584
611
  }
585
612
  }
586
613
  return o;
587
614
  }
588
- function W(e, t, r) {
589
- if (r || arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
590
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
591
- return e.concat(o || Array.prototype.slice.call(t));
615
+ function X(e, t, r) {
616
+ if (r || arguments.length === 2)
617
+ for (var n = 0, i = t.length, o; n < i; n++)
618
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
619
+ return e.concat(o || t);
592
620
  }
593
- function $(e) {
621
+ function R(e) {
594
622
  return typeof e == "function";
595
623
  }
596
624
  function Ut(e) {
@@ -608,13 +636,13 @@ var Be = Ut(function(e) {
608
636
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
609
637
  };
610
638
  });
611
- function Fe(e, t) {
639
+ function De(e, t) {
612
640
  if (e) {
613
641
  var r = e.indexOf(t);
614
642
  0 <= r && e.splice(r, 1);
615
643
  }
616
644
  }
617
- var ye = function() {
645
+ var ge = function() {
618
646
  function e(t) {
619
647
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
620
648
  }
@@ -626,47 +654,49 @@ var ye = function() {
626
654
  if (s)
627
655
  if (this._parentage = null, Array.isArray(s))
628
656
  try {
629
- for (var a = Ue(s), h = a.next(); !h.done; h = a.next()) {
657
+ for (var a = Ge(s), h = a.next(); !h.done; h = a.next()) {
630
658
  var u = h.value;
631
659
  u.remove(this);
632
660
  }
633
- } catch (g) {
634
- t = { error: g };
661
+ } catch (y) {
662
+ t = { error: y };
635
663
  } finally {
636
664
  try {
637
665
  h && !h.done && (r = a.return) && r.call(a);
638
666
  } finally {
639
- if (t) throw t.error;
667
+ if (t)
668
+ throw t.error;
640
669
  }
641
670
  }
642
671
  else
643
672
  s.remove(this);
644
673
  var l = this.initialTeardown;
645
- if ($(l))
674
+ if (R(l))
646
675
  try {
647
676
  l();
648
- } catch (g) {
649
- o = g instanceof Be ? g.errors : [g];
677
+ } catch (y) {
678
+ o = y instanceof Be ? y.errors : [y];
650
679
  }
651
680
  var c = this._finalizers;
652
681
  if (c) {
653
682
  this._finalizers = null;
654
683
  try {
655
- for (var f = Ue(c), m = f.next(); !m.done; m = f.next()) {
656
- var v = m.value;
684
+ for (var f = Ge(c), p = f.next(); !p.done; p = f.next()) {
685
+ var m = p.value;
657
686
  try {
658
- lt(v);
659
- } catch (g) {
660
- o = o != null ? o : [], g instanceof Be ? o = W(W([], De(o)), De(g.errors)) : o.push(g);
687
+ lt(m);
688
+ } catch (y) {
689
+ o = o != null ? o : [], y instanceof Be ? o = X(X([], Ue(o)), Ue(y.errors)) : o.push(y);
661
690
  }
662
691
  }
663
- } catch (g) {
664
- n = { error: g };
692
+ } catch (y) {
693
+ n = { error: y };
665
694
  } finally {
666
695
  try {
667
- m && !m.done && (i = f.return) && i.call(f);
696
+ p && !p.done && (i = f.return) && i.call(f);
668
697
  } finally {
669
- if (n) throw n.error;
698
+ if (n)
699
+ throw n.error;
670
700
  }
671
701
  }
672
702
  }
@@ -694,20 +724,20 @@ var ye = function() {
694
724
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
695
725
  }, e.prototype._removeParent = function(t) {
696
726
  var r = this._parentage;
697
- r === t ? this._parentage = null : Array.isArray(r) && Fe(r, t);
727
+ r === t ? this._parentage = null : Array.isArray(r) && De(r, t);
698
728
  }, e.prototype.remove = function(t) {
699
729
  var r = this._finalizers;
700
- r && Fe(r, t), t instanceof e && t._removeParent(this);
730
+ r && De(r, t), t instanceof e && t._removeParent(this);
701
731
  }, e.EMPTY = function() {
702
732
  var t = new e();
703
733
  return t.closed = !0, t;
704
734
  }(), e;
705
- }(), Dt = ye.EMPTY;
735
+ }(), Dt = ge.EMPTY;
706
736
  function Ft(e) {
707
- return e instanceof ye || e && "closed" in e && $(e.remove) && $(e.add) && $(e.unsubscribe);
737
+ return e instanceof ge || e && "closed" in e && R(e.remove) && R(e.add) && R(e.unsubscribe);
708
738
  }
709
739
  function lt(e) {
710
- $(e) ? e() : e.unsubscribe();
740
+ R(e) ? e() : e.unsubscribe();
711
741
  }
712
742
  var jt = {
713
743
  onUnhandledError: null,
@@ -715,35 +745,35 @@ var jt = {
715
745
  Promise: void 0,
716
746
  useDeprecatedSynchronousErrorHandling: !1,
717
747
  useDeprecatedNextContext: !1
718
- }, qr = {
748
+ }, Yr = {
719
749
  setTimeout: function(e, t) {
720
750
  for (var r = [], n = 2; n < arguments.length; n++)
721
751
  r[n - 2] = arguments[n];
722
- return setTimeout.apply(void 0, W([e, t], De(r)));
752
+ return setTimeout.apply(void 0, X([e, t], Ue(r)));
723
753
  },
724
754
  clearTimeout: function(e) {
725
755
  return clearTimeout(e);
726
756
  },
727
757
  delegate: void 0
728
758
  };
729
- function Kr(e) {
730
- qr.setTimeout(function() {
759
+ function qr(e) {
760
+ Yr.setTimeout(function() {
731
761
  throw e;
732
762
  });
733
763
  }
734
764
  function ct() {
735
765
  }
736
- function fe(e) {
766
+ function ce(e) {
737
767
  e();
738
768
  }
739
769
  var kt = function(e) {
740
- R(t, e);
770
+ $(t, e);
741
771
  function t(r) {
742
772
  var n = e.call(this) || this;
743
- return n.isStopped = !1, r ? (n.destination = r, Ft(r) && r.add(n)) : n.destination = nn, n;
773
+ return n.isStopped = !1, r ? (n.destination = r, Ft(r) && r.add(n)) : n.destination = rn, n;
744
774
  }
745
775
  return t.create = function(r, n, i) {
746
- return new je(r, n, i);
776
+ return new Fe(r, n, i);
747
777
  }, t.prototype.next = function(r) {
748
778
  this.isStopped || this._next(r);
749
779
  }, t.prototype.error = function(r) {
@@ -767,11 +797,11 @@ var kt = function(e) {
767
797
  this.unsubscribe();
768
798
  }
769
799
  }, t;
770
- }(ye), en = Function.prototype.bind;
771
- function Ae(e, t) {
772
- return en.call(e, t);
800
+ }(ge), Kr = Function.prototype.bind;
801
+ function Ce(e, t) {
802
+ return Kr.call(e, t);
773
803
  }
774
- var tn = function() {
804
+ var en = function() {
775
805
  function e(t) {
776
806
  this.partialObserver = t;
777
807
  }
@@ -781,7 +811,7 @@ var tn = function() {
781
811
  try {
782
812
  r.next(t);
783
813
  } catch (n) {
784
- ae(n);
814
+ se(n);
785
815
  }
786
816
  }, e.prototype.error = function(t) {
787
817
  var r = this.partialObserver;
@@ -789,24 +819,24 @@ var tn = function() {
789
819
  try {
790
820
  r.error(t);
791
821
  } catch (n) {
792
- ae(n);
822
+ se(n);
793
823
  }
794
824
  else
795
- ae(t);
825
+ se(t);
796
826
  }, e.prototype.complete = function() {
797
827
  var t = this.partialObserver;
798
828
  if (t.complete)
799
829
  try {
800
830
  t.complete();
801
831
  } catch (r) {
802
- ae(r);
832
+ se(r);
803
833
  }
804
834
  }, e;
805
- }(), je = function(e) {
806
- R(t, e);
835
+ }(), Fe = function(e) {
836
+ $(t, e);
807
837
  function t(r, n, i) {
808
838
  var o = e.call(this) || this, s;
809
- if ($(r) || !r)
839
+ if (R(r) || !r)
810
840
  s = {
811
841
  next: r != null ? r : void 0,
812
842
  error: n != null ? n : void 0,
@@ -817,34 +847,34 @@ var tn = function() {
817
847
  o && jt.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
818
848
  return o.unsubscribe();
819
849
  }, s = {
820
- next: r.next && Ae(r.next, a),
821
- error: r.error && Ae(r.error, a),
822
- complete: r.complete && Ae(r.complete, a)
850
+ next: r.next && Ce(r.next, a),
851
+ error: r.error && Ce(r.error, a),
852
+ complete: r.complete && Ce(r.complete, a)
823
853
  }) : s = r;
824
854
  }
825
- return o.destination = new tn(s), o;
855
+ return o.destination = new en(s), o;
826
856
  }
827
857
  return t;
828
858
  }(kt);
829
- function ae(e) {
830
- Kr(e);
859
+ function se(e) {
860
+ qr(e);
831
861
  }
832
- function rn(e) {
862
+ function tn(e) {
833
863
  throw e;
834
864
  }
835
- var nn = {
865
+ var rn = {
836
866
  closed: !0,
837
867
  next: ct,
838
- error: rn,
868
+ error: tn,
839
869
  complete: ct
840
- }, on = function() {
870
+ }, nn = function() {
841
871
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
842
872
  }();
843
- function sn(e) {
873
+ function on(e) {
844
874
  return e;
845
875
  }
846
- function an(e) {
847
- return e.length === 0 ? sn : e.length === 1 ? e[0] : function(r) {
876
+ function sn(e) {
877
+ return e.length === 0 ? on : e.length === 1 ? e[0] : function(r) {
848
878
  return e.reduce(function(n, i) {
849
879
  return i(n);
850
880
  }, r);
@@ -858,8 +888,8 @@ var ft = function() {
858
888
  var r = new e();
859
889
  return r.source = this, r.operator = t, r;
860
890
  }, e.prototype.subscribe = function(t, r, n) {
861
- var i = this, o = hn(t) ? t : new je(t, r, n);
862
- return fe(function() {
891
+ var i = this, o = un(t) ? t : new Fe(t, r, n);
892
+ return ce(function() {
863
893
  var s = i, a = s.operator, h = s.source;
864
894
  o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
865
895
  }), o;
@@ -872,7 +902,7 @@ var ft = function() {
872
902
  }, e.prototype.forEach = function(t, r) {
873
903
  var n = this;
874
904
  return r = mt(r), new r(function(i, o) {
875
- var s = new je({
905
+ var s = new Fe({
876
906
  next: function(a) {
877
907
  try {
878
908
  t(a);
@@ -888,12 +918,12 @@ var ft = function() {
888
918
  }, e.prototype._subscribe = function(t) {
889
919
  var r;
890
920
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
891
- }, e.prototype[on] = function() {
921
+ }, e.prototype[nn] = function() {
892
922
  return this;
893
923
  }, e.prototype.pipe = function() {
894
924
  for (var t = [], r = 0; r < arguments.length; r++)
895
925
  t[r] = arguments[r];
896
- return an(t)(this);
926
+ return sn(t)(this);
897
927
  }, e.prototype.toPromise = function(t) {
898
928
  var r = this;
899
929
  return t = mt(t), new t(function(n, i) {
@@ -914,18 +944,18 @@ function mt(e) {
914
944
  var t;
915
945
  return (t = e != null ? e : jt.Promise) !== null && t !== void 0 ? t : Promise;
916
946
  }
917
- function un(e) {
918
- return e && $(e.next) && $(e.error) && $(e.complete);
947
+ function an(e) {
948
+ return e && R(e.next) && R(e.error) && R(e.complete);
919
949
  }
920
- function hn(e) {
921
- return e && e instanceof kt || un(e) && Ft(e);
950
+ function un(e) {
951
+ return e && e instanceof kt || an(e) && Ft(e);
922
952
  }
923
- var ln = Ut(function(e) {
953
+ var hn = Ut(function(e) {
924
954
  return function() {
925
955
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
926
956
  };
927
957
  }), Vt = function(e) {
928
- R(t, e);
958
+ $(t, e);
929
959
  function t() {
930
960
  var r = e.call(this) || this;
931
961
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
@@ -935,15 +965,15 @@ var ln = Ut(function(e) {
935
965
  return n.operator = r, n;
936
966
  }, t.prototype._throwIfClosed = function() {
937
967
  if (this.closed)
938
- throw new ln();
968
+ throw new hn();
939
969
  }, t.prototype.next = function(r) {
940
970
  var n = this;
941
- fe(function() {
971
+ ce(function() {
942
972
  var i, o;
943
973
  if (n._throwIfClosed(), !n.isStopped) {
944
974
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
945
975
  try {
946
- for (var s = Ue(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
976
+ for (var s = Ge(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
947
977
  var h = a.value;
948
978
  h.next(r);
949
979
  }
@@ -953,14 +983,15 @@ var ln = Ut(function(e) {
953
983
  try {
954
984
  a && !a.done && (o = s.return) && o.call(s);
955
985
  } finally {
956
- if (i) throw i.error;
986
+ if (i)
987
+ throw i.error;
957
988
  }
958
989
  }
959
990
  }
960
991
  });
961
992
  }, t.prototype.error = function(r) {
962
993
  var n = this;
963
- fe(function() {
994
+ ce(function() {
964
995
  if (n._throwIfClosed(), !n.isStopped) {
965
996
  n.hasError = n.isStopped = !0, n.thrownError = r;
966
997
  for (var i = n.observers; i.length; )
@@ -969,7 +1000,7 @@ var ln = Ut(function(e) {
969
1000
  });
970
1001
  }, t.prototype.complete = function() {
971
1002
  var r = this;
972
- fe(function() {
1003
+ ce(function() {
973
1004
  if (r._throwIfClosed(), !r.isStopped) {
974
1005
  r.isStopped = !0;
975
1006
  for (var n = r.observers; n.length; )
@@ -991,8 +1022,8 @@ var ln = Ut(function(e) {
991
1022
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
992
1023
  }, t.prototype._innerSubscribe = function(r) {
993
1024
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
994
- return o || s ? Dt : (this.currentObservers = null, a.push(r), new ye(function() {
995
- n.currentObservers = null, Fe(a, r);
1025
+ return o || s ? Dt : (this.currentObservers = null, a.push(r), new ge(function() {
1026
+ n.currentObservers = null, De(a, r);
996
1027
  }));
997
1028
  }, t.prototype._checkFinalizedStatuses = function(r) {
998
1029
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
@@ -1004,7 +1035,7 @@ var ln = Ut(function(e) {
1004
1035
  return new pt(r, n);
1005
1036
  }, t;
1006
1037
  }(ft), pt = function(e) {
1007
- R(t, e);
1038
+ $(t, e);
1008
1039
  function t(r, n) {
1009
1040
  var i = e.call(this) || this;
1010
1041
  return i.destination = r, i.source = n, i;
@@ -1027,8 +1058,8 @@ var ln = Ut(function(e) {
1027
1058
  return (Xt.delegate || Date).now();
1028
1059
  },
1029
1060
  delegate: void 0
1030
- }, cn = function(e) {
1031
- R(t, e);
1061
+ }, ln = function(e) {
1062
+ $(t, e);
1032
1063
  function t(r, n, i) {
1033
1064
  r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Xt);
1034
1065
  var o = e.call(this) || this;
@@ -1051,30 +1082,30 @@ var ln = Ut(function(e) {
1051
1082
  }
1052
1083
  }, t;
1053
1084
  }(Vt);
1054
- const dt = [], bt = {}, fn = (e, t = 0) => {
1085
+ const dt = [], bt = {}, cn = (e, t = 0) => {
1055
1086
  if (dt.indexOf(e) == -1) {
1056
- const r = new cn(t);
1087
+ const r = new ln(t);
1057
1088
  bt[e] = r, dt.push(e);
1058
1089
  }
1059
1090
  return bt[e];
1060
- }, k = [];
1061
- function mn(e, t) {
1091
+ }, j = [];
1092
+ function fn(e, t) {
1062
1093
  return {
1063
- subscribe: ve(e, t).subscribe
1094
+ subscribe: ye(e, t).subscribe
1064
1095
  };
1065
1096
  }
1066
- function ve(e, t = I) {
1097
+ function ye(e, t = I) {
1067
1098
  let r;
1068
1099
  const n = /* @__PURE__ */ new Set();
1069
1100
  function i(a) {
1070
1101
  if (Mt(e, a) && (e = a, r)) {
1071
- const h = !k.length;
1102
+ const h = !j.length;
1072
1103
  for (const u of n)
1073
- u[1](), k.push(u, e);
1104
+ u[1](), j.push(u, e);
1074
1105
  if (h) {
1075
- for (let u = 0; u < k.length; u += 2)
1076
- k[u][0](k[u + 1]);
1077
- k.length = 0;
1106
+ for (let u = 0; u < j.length; u += 2)
1107
+ j[u][0](j[u + 1]);
1108
+ j.length = 0;
1078
1109
  }
1079
1110
  }
1080
1111
  }
@@ -1089,12 +1120,12 @@ function ve(e, t = I) {
1089
1120
  }
1090
1121
  return { set: i, update: o, subscribe: s };
1091
1122
  }
1092
- function q(e, t, r) {
1123
+ function Y(e, t, r) {
1093
1124
  const n = !Array.isArray(e), i = n ? [e] : e;
1094
1125
  if (!i.every(Boolean))
1095
1126
  throw new Error("derived() expects stores as input, got a falsy value");
1096
1127
  const o = t.length < 2;
1097
- return mn(r, (s, a) => {
1128
+ return fn(r, (s, a) => {
1098
1129
  let h = !1;
1099
1130
  const u = [];
1100
1131
  let l = 0, c = I;
@@ -1102,57 +1133,57 @@ function q(e, t, r) {
1102
1133
  if (l)
1103
1134
  return;
1104
1135
  c();
1105
- const v = t(n ? u[0] : u, s, a);
1106
- o ? s(v) : c = Ye(v) ? v : I;
1107
- }, m = i.map(
1108
- (v, g) => Nt(
1109
- v,
1136
+ const m = t(n ? u[0] : u, s, a);
1137
+ o ? s(m) : c = Je(m) ? m : I;
1138
+ }, p = i.map(
1139
+ (m, y) => Nt(
1140
+ m,
1110
1141
  (E) => {
1111
- u[g] = E, l &= ~(1 << g), h && f();
1142
+ u[y] = E, l &= ~(1 << y), h && f();
1112
1143
  },
1113
1144
  () => {
1114
- l |= 1 << g;
1145
+ l |= 1 << y;
1115
1146
  }
1116
1147
  )
1117
1148
  );
1118
1149
  return h = !0, f(), function() {
1119
- Y(m), c(), h = !1;
1150
+ J(p), c(), h = !1;
1120
1151
  };
1121
1152
  });
1122
1153
  }
1123
- function pn(e) {
1154
+ function mn(e) {
1124
1155
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1125
1156
  }
1126
- var dn = function(t) {
1127
- return bn(t) && !gn(t);
1157
+ var pn = function(t) {
1158
+ return dn(t) && !bn(t);
1128
1159
  };
1129
- function bn(e) {
1160
+ function dn(e) {
1130
1161
  return !!e && typeof e == "object";
1131
1162
  }
1132
- function gn(e) {
1163
+ function bn(e) {
1133
1164
  var t = Object.prototype.toString.call(e);
1134
- return t === "[object RegExp]" || t === "[object Date]" || xn(e);
1165
+ return t === "[object RegExp]" || t === "[object Date]" || vn(e);
1135
1166
  }
1136
- var yn = typeof Symbol == "function" && Symbol.for, vn = yn ? Symbol.for("react.element") : 60103;
1137
- function xn(e) {
1138
- return e.$$typeof === vn;
1167
+ var gn = typeof Symbol == "function" && Symbol.for, yn = gn ? Symbol.for("react.element") : 60103;
1168
+ function vn(e) {
1169
+ return e.$$typeof === yn;
1139
1170
  }
1140
- function _n(e) {
1171
+ function xn(e) {
1141
1172
  return Array.isArray(e) ? [] : {};
1142
1173
  }
1143
- function ie(e, t) {
1144
- return t.clone !== !1 && t.isMergeableObject(e) ? z(_n(e), e, t) : e;
1174
+ function ne(e, t) {
1175
+ return t.clone !== !1 && t.isMergeableObject(e) ? W(xn(e), e, t) : e;
1145
1176
  }
1146
- function En(e, t, r) {
1177
+ function _n(e, t, r) {
1147
1178
  return e.concat(t).map(function(n) {
1148
- return ie(n, r);
1179
+ return ne(n, r);
1149
1180
  });
1150
1181
  }
1151
- function Sn(e, t) {
1182
+ function En(e, t) {
1152
1183
  if (!t.customMerge)
1153
- return z;
1184
+ return W;
1154
1185
  var r = t.customMerge(e);
1155
- return typeof r == "function" ? r : z;
1186
+ return typeof r == "function" ? r : W;
1156
1187
  }
1157
1188
  function wn(e) {
1158
1189
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
@@ -1169,130 +1200,130 @@ function Wt(e, t) {
1169
1200
  return !1;
1170
1201
  }
1171
1202
  }
1172
- function Tn(e, t) {
1203
+ function Sn(e, t) {
1173
1204
  return Wt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1174
1205
  }
1175
- function Hn(e, t, r) {
1206
+ function Tn(e, t, r) {
1176
1207
  var n = {};
1177
1208
  return r.isMergeableObject(e) && gt(e).forEach(function(i) {
1178
- n[i] = ie(e[i], r);
1209
+ n[i] = ne(e[i], r);
1179
1210
  }), gt(t).forEach(function(i) {
1180
- Tn(e, i) || (Wt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Sn(i, r)(e[i], t[i], r) : n[i] = ie(t[i], r));
1211
+ Sn(e, i) || (Wt(e, i) && r.isMergeableObject(t[i]) ? n[i] = En(i, r)(e[i], t[i], r) : n[i] = ne(t[i], r));
1181
1212
  }), n;
1182
1213
  }
1183
- function z(e, t, r) {
1184
- r = r || {}, r.arrayMerge = r.arrayMerge || En, r.isMergeableObject = r.isMergeableObject || dn, r.cloneUnlessOtherwiseSpecified = ie;
1214
+ function W(e, t, r) {
1215
+ r = r || {}, r.arrayMerge = r.arrayMerge || _n, r.isMergeableObject = r.isMergeableObject || pn, r.cloneUnlessOtherwiseSpecified = ne;
1185
1216
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1186
- return o ? n ? r.arrayMerge(e, t, r) : Hn(e, t, r) : ie(t, r);
1217
+ return o ? n ? r.arrayMerge(e, t, r) : Tn(e, t, r) : ne(t, r);
1187
1218
  }
1188
- z.all = function(t, r) {
1219
+ W.all = function(t, r) {
1189
1220
  if (!Array.isArray(t))
1190
1221
  throw new Error("first argument should be an array");
1191
1222
  return t.reduce(function(n, i) {
1192
- return z(n, i, r);
1223
+ return W(n, i, r);
1193
1224
  }, {});
1194
1225
  };
1195
- var Cn = z, Bn = Cn;
1196
- const An = /* @__PURE__ */ pn(Bn);
1197
- function Pe(e, t) {
1198
- var r = t && t.cache ? t.cache : Nn, n = t && t.serializer ? t.serializer : Mn, i = t && t.strategy ? t.strategy : Ln;
1226
+ var Hn = W, Bn = Hn;
1227
+ const Cn = /* @__PURE__ */ mn(Bn);
1228
+ function Ae(e, t) {
1229
+ var r = t && t.cache ? t.cache : Mn, n = t && t.serializer ? t.serializer : In, i = t && t.strategy ? t.strategy : Pn;
1199
1230
  return i(e, {
1200
1231
  cache: r,
1201
1232
  serializer: n
1202
1233
  });
1203
1234
  }
1204
- function Pn(e) {
1235
+ function An(e) {
1205
1236
  return e == null || typeof e == "number" || typeof e == "boolean";
1206
1237
  }
1207
1238
  function zt(e, t, r, n) {
1208
- var i = Pn(n) ? n : r(n), o = t.get(i);
1239
+ var i = An(n) ? n : r(n), o = t.get(i);
1209
1240
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1210
1241
  }
1211
1242
  function Zt(e, t, r) {
1212
1243
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1213
1244
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1214
1245
  }
1215
- function Ke(e, t, r, n, i) {
1246
+ function qe(e, t, r, n, i) {
1216
1247
  return r.bind(t, e, n, i);
1217
1248
  }
1218
- function Ln(e, t) {
1249
+ function Pn(e, t) {
1219
1250
  var r = e.length === 1 ? zt : Zt;
1220
- return Ke(e, this, r, t.cache.create(), t.serializer);
1251
+ return qe(e, this, r, t.cache.create(), t.serializer);
1221
1252
  }
1222
- function On(e, t) {
1223
- return Ke(e, this, Zt, t.cache.create(), t.serializer);
1253
+ function Ln(e, t) {
1254
+ return qe(e, this, Zt, t.cache.create(), t.serializer);
1224
1255
  }
1225
- function In(e, t) {
1226
- return Ke(e, this, zt, t.cache.create(), t.serializer);
1256
+ function On(e, t) {
1257
+ return qe(e, this, zt, t.cache.create(), t.serializer);
1227
1258
  }
1228
- var Mn = function() {
1259
+ var In = function() {
1229
1260
  return JSON.stringify(arguments);
1230
1261
  };
1231
- function et() {
1262
+ function Ke() {
1232
1263
  this.cache = /* @__PURE__ */ Object.create(null);
1233
1264
  }
1234
- et.prototype.get = function(e) {
1265
+ Ke.prototype.get = function(e) {
1235
1266
  return this.cache[e];
1236
1267
  };
1237
- et.prototype.set = function(e, t) {
1268
+ Ke.prototype.set = function(e, t) {
1238
1269
  this.cache[e] = t;
1239
1270
  };
1240
- var Nn = {
1271
+ var Mn = {
1241
1272
  create: function() {
1242
- return new et();
1273
+ return new Ke();
1243
1274
  }
1244
- }, Le = {
1245
- variadic: On,
1246
- monadic: In
1275
+ }, Pe = {
1276
+ variadic: Ln,
1277
+ monadic: On
1247
1278
  }, d;
1248
1279
  (function(e) {
1249
1280
  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";
1250
1281
  })(d || (d = {}));
1251
- var _;
1282
+ var x;
1252
1283
  (function(e) {
1253
1284
  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";
1254
- })(_ || (_ = {}));
1255
- var Z;
1285
+ })(x || (x = {}));
1286
+ var z;
1256
1287
  (function(e) {
1257
1288
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1258
- })(Z || (Z = {}));
1289
+ })(z || (z = {}));
1259
1290
  function yt(e) {
1260
- return e.type === _.literal;
1291
+ return e.type === x.literal;
1261
1292
  }
1262
- function $n(e) {
1263
- return e.type === _.argument;
1293
+ function Nn(e) {
1294
+ return e.type === x.argument;
1264
1295
  }
1265
1296
  function Qt(e) {
1266
- return e.type === _.number;
1297
+ return e.type === x.number;
1267
1298
  }
1268
1299
  function Jt(e) {
1269
- return e.type === _.date;
1300
+ return e.type === x.date;
1270
1301
  }
1271
1302
  function Yt(e) {
1272
- return e.type === _.time;
1303
+ return e.type === x.time;
1273
1304
  }
1274
1305
  function qt(e) {
1275
- return e.type === _.select;
1306
+ return e.type === x.select;
1276
1307
  }
1277
1308
  function Kt(e) {
1278
- return e.type === _.plural;
1309
+ return e.type === x.plural;
1279
1310
  }
1280
1311
  function Rn(e) {
1281
- return e.type === _.pound;
1312
+ return e.type === x.pound;
1282
1313
  }
1283
1314
  function er(e) {
1284
- return e.type === _.tag;
1315
+ return e.type === x.tag;
1285
1316
  }
1286
1317
  function tr(e) {
1287
- return !!(e && typeof e == "object" && e.type === Z.number);
1318
+ return !!(e && typeof e == "object" && e.type === z.number);
1288
1319
  }
1289
- function ke(e) {
1290
- return !!(e && typeof e == "object" && e.type === Z.dateTime);
1320
+ function je(e) {
1321
+ return !!(e && typeof e == "object" && e.type === z.dateTime);
1291
1322
  }
1292
- var rr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Gn = /(?:[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;
1293
- function Un(e) {
1323
+ var rr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, $n = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1324
+ function Gn(e) {
1294
1325
  var t = {};
1295
- return e.replace(Gn, function(r) {
1326
+ return e.replace($n, function(r) {
1296
1327
  var n = r.length;
1297
1328
  switch (r[0]) {
1298
1329
  case "G":
@@ -1381,11 +1412,11 @@ function Un(e) {
1381
1412
  return "";
1382
1413
  }), t;
1383
1414
  }
1384
- var Dn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1385
- function Fn(e) {
1415
+ var Un = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1416
+ function Dn(e) {
1386
1417
  if (e.length === 0)
1387
1418
  throw new Error("Number skeleton cannot be empty");
1388
- for (var t = e.split(Dn).filter(function(f) {
1419
+ for (var t = e.split(Un).filter(function(f) {
1389
1420
  return f.length > 0;
1390
1421
  }), r = [], n = 0, i = t; n < i.length; n++) {
1391
1422
  var o = i[n], s = o.split("/");
@@ -1400,10 +1431,10 @@ function Fn(e) {
1400
1431
  }
1401
1432
  return r;
1402
1433
  }
1403
- function jn(e) {
1434
+ function Fn(e) {
1404
1435
  return e.replace(/^(.*?)-/, "");
1405
1436
  }
1406
- var vt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, nr = /^(@+)?(\+|#+)?[rs]?$/g, kn = /(\*)(0+)|(#+)(0+)|(0+)/g, ir = /^(0+)$/;
1437
+ var vt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, nr = /^(@+)?(\+|#+)?[rs]?$/g, jn = /(\*)(0+)|(#+)(0+)|(0+)/g, ir = /^(0+)$/;
1407
1438
  function xt(e) {
1408
1439
  var t = {};
1409
1440
  return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(nr, function(r, n, i) {
@@ -1450,7 +1481,7 @@ function or(e) {
1450
1481
  };
1451
1482
  }
1452
1483
  }
1453
- function Vn(e) {
1484
+ function kn(e) {
1454
1485
  var t;
1455
1486
  if (e[0] === "E" && e[1] === "E" ? (t = {
1456
1487
  notation: "engineering"
@@ -1468,7 +1499,7 @@ function _t(e) {
1468
1499
  var t = {}, r = or(e);
1469
1500
  return r || t;
1470
1501
  }
1471
- function Xn(e) {
1502
+ function Vn(e) {
1472
1503
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1473
1504
  var i = n[r];
1474
1505
  switch (i.stem) {
@@ -1492,7 +1523,7 @@ function Xn(e) {
1492
1523
  continue;
1493
1524
  case "measure-unit":
1494
1525
  case "unit":
1495
- t.style = "unit", t.unit = jn(i.options[0]);
1526
+ t.style = "unit", t.unit = Fn(i.options[0]);
1496
1527
  continue;
1497
1528
  case "compact-short":
1498
1529
  case "K":
@@ -1503,13 +1534,13 @@ function Xn(e) {
1503
1534
  t.notation = "compact", t.compactDisplay = "long";
1504
1535
  continue;
1505
1536
  case "scientific":
1506
- t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1507
- return y(y({}, h), _t(u));
1537
+ t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1538
+ return v(v({}, h), _t(u));
1508
1539
  }, {}));
1509
1540
  continue;
1510
1541
  case "engineering":
1511
- t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1512
- return y(y({}, h), _t(u));
1542
+ t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1543
+ return v(v({}, h), _t(u));
1513
1544
  }, {}));
1514
1545
  continue;
1515
1546
  case "notation-simple":
@@ -1554,13 +1585,13 @@ function Xn(e) {
1554
1585
  case "integer-width":
1555
1586
  if (i.options.length > 1)
1556
1587
  throw new RangeError("integer-width stems only accept a single optional option");
1557
- i.options[0].replace(kn, function(h, u, l, c, f, m) {
1588
+ i.options[0].replace(jn, function(h, u, l, c, f, p) {
1558
1589
  if (u)
1559
1590
  t.minimumIntegerDigits = l.length;
1560
1591
  else {
1561
1592
  if (c && f)
1562
1593
  throw new Error("We currently do not support maximum integer digits");
1563
- if (m)
1594
+ if (p)
1564
1595
  throw new Error("We currently do not support exact integer digits");
1565
1596
  }
1566
1597
  return "";
@@ -1574,25 +1605,25 @@ function Xn(e) {
1574
1605
  if (vt.test(i.stem)) {
1575
1606
  if (i.options.length > 1)
1576
1607
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1577
- i.stem.replace(vt, function(h, u, l, c, f, m) {
1578
- return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && m ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + m.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1608
+ i.stem.replace(vt, function(h, u, l, c, f, p) {
1609
+ return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1579
1610
  });
1580
1611
  var o = i.options[0];
1581
- o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), xt(o)));
1612
+ o === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = v(v({}, t), xt(o)));
1582
1613
  continue;
1583
1614
  }
1584
1615
  if (nr.test(i.stem)) {
1585
- t = y(y({}, t), xt(i.stem));
1616
+ t = v(v({}, t), xt(i.stem));
1586
1617
  continue;
1587
1618
  }
1588
1619
  var s = or(i.stem);
1589
- s && (t = y(y({}, t), s));
1590
- var a = Vn(i.stem);
1591
- a && (t = y(y({}, t), a));
1620
+ s && (t = v(v({}, t), s));
1621
+ var a = kn(i.stem);
1622
+ a && (t = v(v({}, t), a));
1592
1623
  }
1593
1624
  return t;
1594
1625
  }
1595
- var ue = {
1626
+ var ae = {
1596
1627
  "001": [
1597
1628
  "H",
1598
1629
  "h"
@@ -3007,22 +3038,23 @@ var ue = {
3007
3038
  "h"
3008
3039
  ]
3009
3040
  };
3010
- function Wn(e, t) {
3041
+ function Xn(e, t) {
3011
3042
  for (var r = "", n = 0; n < e.length; n++) {
3012
3043
  var i = e.charAt(n);
3013
3044
  if (i === "j") {
3014
3045
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3015
3046
  o++, n++;
3016
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = zn(t);
3047
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Wn(t);
3017
3048
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
3018
3049
  r += h;
3019
3050
  for (; s-- > 0; )
3020
3051
  r = u + r;
3021
- } else i === "J" ? r += "H" : r += i;
3052
+ } else
3053
+ i === "J" ? r += "H" : r += i;
3022
3054
  }
3023
3055
  return r;
3024
3056
  }
3025
- function zn(e) {
3057
+ function Wn(e) {
3026
3058
  var t = e.hourCycle;
3027
3059
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3028
3060
  e.hourCycles && // @ts-ignore
@@ -3041,23 +3073,23 @@ function zn(e) {
3041
3073
  }
3042
3074
  var r = e.language, n;
3043
3075
  r !== "root" && (n = e.maximize().region);
3044
- var i = ue[n || ""] || ue[r || ""] || ue["".concat(r, "-001")] || ue["001"];
3076
+ var i = ae[n || ""] || ae[r || ""] || ae["".concat(r, "-001")] || ae["001"];
3045
3077
  return i[0];
3046
3078
  }
3047
- var Oe, Zn = new RegExp("^".concat(rr.source, "*")), Qn = new RegExp("".concat(rr.source, "*$"));
3048
- function b(e, t) {
3079
+ var Le, zn = new RegExp("^".concat(rr.source, "*")), Zn = new RegExp("".concat(rr.source, "*$"));
3080
+ function g(e, t) {
3049
3081
  return { start: e, end: t };
3050
3082
  }
3051
- var Jn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Yn = !!String.fromCodePoint, qn = !!Object.fromEntries, Kn = !!String.prototype.codePointAt, ei = !!String.prototype.trimStart, ti = !!String.prototype.trimEnd, ri = !!Number.isSafeInteger, ni = ri ? Number.isSafeInteger : function(e) {
3083
+ var Qn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Jn = !!String.fromCodePoint, Yn = !!Object.fromEntries, qn = !!String.prototype.codePointAt, Kn = !!String.prototype.trimStart, ei = !!String.prototype.trimEnd, ti = !!Number.isSafeInteger, ri = ti ? Number.isSafeInteger : function(e) {
3052
3084
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3053
- }, Ve = !0;
3085
+ }, ke = !0;
3054
3086
  try {
3055
- var ii = ar("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3056
- Ve = ((Oe = ii.exec("a")) === null || Oe === void 0 ? void 0 : Oe[0]) === "a";
3087
+ var ni = ar("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3088
+ ke = ((Le = ni.exec("a")) === null || Le === void 0 ? void 0 : Le[0]) === "a";
3057
3089
  } catch (e) {
3058
- Ve = !1;
3090
+ ke = !1;
3059
3091
  }
3060
- var Et = Jn ? (
3092
+ var Et = Qn ? (
3061
3093
  // Native
3062
3094
  function(t, r, n) {
3063
3095
  return t.startsWith(r, n);
@@ -3067,7 +3099,7 @@ var Et = Jn ? (
3067
3099
  function(t, r, n) {
3068
3100
  return t.slice(n, n + r.length) === r;
3069
3101
  }
3070
- ), Xe = Yn ? String.fromCodePoint : (
3102
+ ), Ve = Jn ? String.fromCodePoint : (
3071
3103
  // IE11
3072
3104
  function() {
3073
3105
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3079,9 +3111,9 @@ var Et = Jn ? (
3079
3111
  }
3080
3112
  return n;
3081
3113
  }
3082
- ), St = (
3114
+ ), wt = (
3083
3115
  // native
3084
- qn ? Object.fromEntries : (
3116
+ Yn ? Object.fromEntries : (
3085
3117
  // Ponyfill
3086
3118
  function(t) {
3087
3119
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3091,7 +3123,7 @@ var Et = Jn ? (
3091
3123
  return r;
3092
3124
  }
3093
3125
  )
3094
- ), sr = Kn ? (
3126
+ ), sr = qn ? (
3095
3127
  // Native
3096
3128
  function(t, r) {
3097
3129
  return t.codePointAt(r);
@@ -3105,7 +3137,7 @@ var Et = Jn ? (
3105
3137
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3106
3138
  }
3107
3139
  }
3108
- ), oi = ei ? (
3140
+ ), ii = Kn ? (
3109
3141
  // Native
3110
3142
  function(t) {
3111
3143
  return t.trimStart();
@@ -3113,9 +3145,9 @@ var Et = Jn ? (
3113
3145
  ) : (
3114
3146
  // Ponyfill
3115
3147
  function(t) {
3116
- return t.replace(Zn, "");
3148
+ return t.replace(zn, "");
3117
3149
  }
3118
- ), si = ti ? (
3150
+ ), oi = ei ? (
3119
3151
  // Native
3120
3152
  function(t) {
3121
3153
  return t.trimEnd();
@@ -3123,32 +3155,32 @@ var Et = Jn ? (
3123
3155
  ) : (
3124
3156
  // Ponyfill
3125
3157
  function(t) {
3126
- return t.replace(Qn, "");
3158
+ return t.replace(Zn, "");
3127
3159
  }
3128
3160
  );
3129
3161
  function ar(e, t) {
3130
3162
  return new RegExp(e, t);
3131
3163
  }
3132
- var We;
3133
- if (Ve) {
3134
- var wt = ar("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3135
- We = function(t, r) {
3164
+ var Xe;
3165
+ if (ke) {
3166
+ var St = ar("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3167
+ Xe = function(t, r) {
3136
3168
  var n;
3137
- wt.lastIndex = r;
3138
- var i = wt.exec(t);
3169
+ St.lastIndex = r;
3170
+ var i = St.exec(t);
3139
3171
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3140
3172
  };
3141
3173
  } else
3142
- We = function(t, r) {
3174
+ Xe = function(t, r) {
3143
3175
  for (var n = []; ; ) {
3144
3176
  var i = sr(t, r);
3145
- if (i === void 0 || ur(i) || li(i))
3177
+ if (i === void 0 || ur(i) || hi(i))
3146
3178
  break;
3147
3179
  n.push(i), r += i >= 65536 ? 2 : 1;
3148
3180
  }
3149
- return Xe.apply(void 0, n);
3181
+ return Ve.apply(void 0, n);
3150
3182
  };
3151
- var ai = (
3183
+ var si = (
3152
3184
  /** @class */
3153
3185
  function() {
3154
3186
  function e(t, r) {
@@ -3172,14 +3204,14 @@ var ai = (
3172
3204
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3173
3205
  var a = this.clonePosition();
3174
3206
  this.bump(), i.push({
3175
- type: _.pound,
3176
- location: b(a, this.clonePosition())
3207
+ type: x.pound,
3208
+ location: g(a, this.clonePosition())
3177
3209
  });
3178
3210
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3179
3211
  if (n)
3180
3212
  break;
3181
- return this.error(d.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
3182
- } else if (o === 60 && !this.ignoreTag && ze(this.peek() || 0)) {
3213
+ return this.error(d.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
3214
+ } else if (o === 60 && !this.ignoreTag && We(this.peek() || 0)) {
3183
3215
  var s = this.parseTag(t, r);
3184
3216
  if (s.err)
3185
3217
  return s;
@@ -3200,9 +3232,9 @@ var ai = (
3200
3232
  if (this.bumpSpace(), this.bumpIf("/>"))
3201
3233
  return {
3202
3234
  val: {
3203
- type: _.literal,
3235
+ type: x.literal,
3204
3236
  value: "<".concat(i, "/>"),
3205
- location: b(n, this.clonePosition())
3237
+ location: g(n, this.clonePosition())
3206
3238
  },
3207
3239
  err: null
3208
3240
  };
@@ -3212,25 +3244,25 @@ var ai = (
3212
3244
  return o;
3213
3245
  var s = o.val, a = this.clonePosition();
3214
3246
  if (this.bumpIf("</")) {
3215
- if (this.isEOF() || !ze(this.char()))
3216
- return this.error(d.INVALID_TAG, b(a, this.clonePosition()));
3247
+ if (this.isEOF() || !We(this.char()))
3248
+ return this.error(d.INVALID_TAG, g(a, this.clonePosition()));
3217
3249
  var h = this.clonePosition(), u = this.parseTagName();
3218
- return i !== u ? this.error(d.UNMATCHED_CLOSING_TAG, b(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3250
+ return i !== u ? this.error(d.UNMATCHED_CLOSING_TAG, g(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3219
3251
  val: {
3220
- type: _.tag,
3252
+ type: x.tag,
3221
3253
  value: i,
3222
3254
  children: s,
3223
- location: b(n, this.clonePosition())
3255
+ location: g(n, this.clonePosition())
3224
3256
  },
3225
3257
  err: null
3226
- } : this.error(d.INVALID_TAG, b(a, this.clonePosition())));
3258
+ } : this.error(d.INVALID_TAG, g(a, this.clonePosition())));
3227
3259
  } else
3228
- return this.error(d.UNCLOSED_TAG, b(n, this.clonePosition()));
3260
+ return this.error(d.UNCLOSED_TAG, g(n, this.clonePosition()));
3229
3261
  } else
3230
- return this.error(d.INVALID_TAG, b(n, this.clonePosition()));
3262
+ return this.error(d.INVALID_TAG, g(n, this.clonePosition()));
3231
3263
  }, e.prototype.parseTagName = function() {
3232
3264
  var t = this.offset();
3233
- for (this.bump(); !this.isEOF() && hi(this.char()); )
3265
+ for (this.bump(); !this.isEOF() && ui(this.char()); )
3234
3266
  this.bump();
3235
3267
  return this.message.slice(t, this.offset());
3236
3268
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3252,14 +3284,14 @@ var ai = (
3252
3284
  }
3253
3285
  break;
3254
3286
  }
3255
- var h = b(n, this.clonePosition());
3287
+ var h = g(n, this.clonePosition());
3256
3288
  return {
3257
- val: { type: _.literal, value: i, location: h },
3289
+ val: { type: x.literal, value: i, location: h },
3258
3290
  err: null
3259
3291
  };
3260
3292
  }, e.prototype.tryParseLeftAngleBracket = function() {
3261
3293
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3262
- !ui(this.peek() || 0)) ? (this.bump(), "<") : null;
3294
+ !ai(this.peek() || 0)) ? (this.bump(), "<") : null;
3263
3295
  }, e.prototype.tryParseQuote = function(t) {
3264
3296
  if (this.isEOF() || this.char() !== 39)
3265
3297
  return null;
@@ -3293,49 +3325,49 @@ var ai = (
3293
3325
  r.push(n);
3294
3326
  this.bump();
3295
3327
  }
3296
- return Xe.apply(void 0, r);
3328
+ return Ve.apply(void 0, r);
3297
3329
  }, e.prototype.tryParseUnquoted = function(t, r) {
3298
3330
  if (this.isEOF())
3299
3331
  return null;
3300
3332
  var n = this.char();
3301
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Xe(n));
3333
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ve(n));
3302
3334
  }, e.prototype.parseArgument = function(t, r) {
3303
3335
  var n = this.clonePosition();
3304
3336
  if (this.bump(), this.bumpSpace(), this.isEOF())
3305
- return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
3337
+ return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
3306
3338
  if (this.char() === 125)
3307
- return this.bump(), this.error(d.EMPTY_ARGUMENT, b(n, this.clonePosition()));
3339
+ return this.bump(), this.error(d.EMPTY_ARGUMENT, g(n, this.clonePosition()));
3308
3340
  var i = this.parseIdentifierIfPossible().value;
3309
3341
  if (!i)
3310
- return this.error(d.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
3342
+ return this.error(d.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3311
3343
  if (this.bumpSpace(), this.isEOF())
3312
- return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
3344
+ return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
3313
3345
  switch (this.char()) {
3314
3346
  case 125:
3315
3347
  return this.bump(), {
3316
3348
  val: {
3317
- type: _.argument,
3349
+ type: x.argument,
3318
3350
  // value does not include the opening and closing braces.
3319
3351
  value: i,
3320
- location: b(n, this.clonePosition())
3352
+ location: g(n, this.clonePosition())
3321
3353
  },
3322
3354
  err: null
3323
3355
  };
3324
3356
  case 44:
3325
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3357
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3326
3358
  default:
3327
- return this.error(d.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
3359
+ return this.error(d.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3328
3360
  }
3329
3361
  }, e.prototype.parseIdentifierIfPossible = function() {
3330
- var t = this.clonePosition(), r = this.offset(), n = We(this.message, r), i = r + n.length;
3362
+ var t = this.clonePosition(), r = this.offset(), n = Xe(this.message, r), i = r + n.length;
3331
3363
  this.bumpTo(i);
3332
- var o = this.clonePosition(), s = b(t, o);
3364
+ var o = this.clonePosition(), s = g(t, o);
3333
3365
  return { value: n, location: s };
3334
3366
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3335
3367
  var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
3336
3368
  switch (a) {
3337
3369
  case "":
3338
- return this.error(d.EXPECT_ARGUMENT_TYPE, b(s, h));
3370
+ return this.error(d.EXPECT_ARGUMENT_TYPE, g(s, h));
3339
3371
  case "number":
3340
3372
  case "date":
3341
3373
  case "time": {
@@ -3346,46 +3378,46 @@ var ai = (
3346
3378
  var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3347
3379
  if (c.err)
3348
3380
  return c;
3349
- var f = si(c.val);
3381
+ var f = oi(c.val);
3350
3382
  if (f.length === 0)
3351
- return this.error(d.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
3352
- var m = b(l, this.clonePosition());
3353
- u = { style: f, styleLocation: m };
3383
+ return this.error(d.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
3384
+ var p = g(l, this.clonePosition());
3385
+ u = { style: f, styleLocation: p };
3354
3386
  }
3355
- var v = this.tryParseArgumentClose(i);
3356
- if (v.err)
3357
- return v;
3358
- var g = b(i, this.clonePosition());
3387
+ var m = this.tryParseArgumentClose(i);
3388
+ if (m.err)
3389
+ return m;
3390
+ var y = g(i, this.clonePosition());
3359
3391
  if (u && Et(u == null ? void 0 : u.style, "::", 0)) {
3360
- var E = oi(u.style.slice(2));
3392
+ var E = ii(u.style.slice(2));
3361
3393
  if (a === "number") {
3362
3394
  var c = this.parseNumberSkeletonFromString(E, u.styleLocation);
3363
3395
  return c.err ? c : {
3364
- val: { type: _.number, value: n, location: g, style: c.val },
3396
+ val: { type: x.number, value: n, location: y, style: c.val },
3365
3397
  err: null
3366
3398
  };
3367
3399
  } else {
3368
3400
  if (E.length === 0)
3369
- return this.error(d.EXPECT_DATE_TIME_SKELETON, g);
3370
- var B = E;
3371
- this.locale && (B = Wn(E, this.locale));
3401
+ return this.error(d.EXPECT_DATE_TIME_SKELETON, y);
3402
+ var A = E;
3403
+ this.locale && (A = Xn(E, this.locale));
3372
3404
  var f = {
3373
- type: Z.dateTime,
3374
- pattern: B,
3405
+ type: z.dateTime,
3406
+ pattern: A,
3375
3407
  location: u.styleLocation,
3376
- parsedOptions: this.shouldParseSkeletons ? Un(B) : {}
3377
- }, O = a === "date" ? _.date : _.time;
3408
+ parsedOptions: this.shouldParseSkeletons ? Gn(A) : {}
3409
+ }, P = a === "date" ? x.date : x.time;
3378
3410
  return {
3379
- val: { type: O, value: n, location: g, style: f },
3411
+ val: { type: P, value: n, location: y, style: f },
3380
3412
  err: null
3381
3413
  };
3382
3414
  }
3383
3415
  }
3384
3416
  return {
3385
3417
  val: {
3386
- type: a === "number" ? _.number : a === "date" ? _.date : _.time,
3418
+ type: a === "number" ? x.number : a === "date" ? x.date : x.time,
3387
3419
  value: n,
3388
- location: g,
3420
+ location: y,
3389
3421
  style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
3390
3422
  },
3391
3423
  err: null
@@ -3396,50 +3428,50 @@ var ai = (
3396
3428
  case "select": {
3397
3429
  var T = this.clonePosition();
3398
3430
  if (this.bumpSpace(), !this.bumpIf(","))
3399
- return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, b(T, y({}, T)));
3431
+ return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, g(T, v({}, T)));
3400
3432
  this.bumpSpace();
3401
- var A = this.parseIdentifierIfPossible(), S = 0;
3402
- if (a !== "select" && A.value === "offset") {
3433
+ var L = this.parseIdentifierIfPossible(), w = 0;
3434
+ if (a !== "select" && L.value === "offset") {
3403
3435
  if (!this.bumpIf(":"))
3404
- return this.error(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b(this.clonePosition(), this.clonePosition()));
3436
+ return this.error(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
3405
3437
  this.bumpSpace();
3406
3438
  var c = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3407
3439
  if (c.err)
3408
3440
  return c;
3409
- this.bumpSpace(), A = this.parseIdentifierIfPossible(), S = c.val;
3441
+ this.bumpSpace(), L = this.parseIdentifierIfPossible(), w = c.val;
3410
3442
  }
3411
- var x = this.tryParsePluralOrSelectOptions(t, a, r, A);
3412
- if (x.err)
3413
- return x;
3414
- var v = this.tryParseArgumentClose(i);
3415
- if (v.err)
3416
- return v;
3417
- var P = b(i, this.clonePosition());
3443
+ var _ = this.tryParsePluralOrSelectOptions(t, a, r, L);
3444
+ if (_.err)
3445
+ return _;
3446
+ var m = this.tryParseArgumentClose(i);
3447
+ if (m.err)
3448
+ return m;
3449
+ var C = g(i, this.clonePosition());
3418
3450
  return a === "select" ? {
3419
3451
  val: {
3420
- type: _.select,
3452
+ type: x.select,
3421
3453
  value: n,
3422
- options: St(x.val),
3423
- location: P
3454
+ options: wt(_.val),
3455
+ location: C
3424
3456
  },
3425
3457
  err: null
3426
3458
  } : {
3427
3459
  val: {
3428
- type: _.plural,
3460
+ type: x.plural,
3429
3461
  value: n,
3430
- options: St(x.val),
3431
- offset: S,
3462
+ options: wt(_.val),
3463
+ offset: w,
3432
3464
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3433
- location: P
3465
+ location: C
3434
3466
  },
3435
3467
  err: null
3436
3468
  };
3437
3469
  }
3438
3470
  default:
3439
- return this.error(d.INVALID_ARGUMENT_TYPE, b(s, h));
3471
+ return this.error(d.INVALID_ARGUMENT_TYPE, g(s, h));
3440
3472
  }
3441
3473
  }, e.prototype.tryParseArgumentClose = function(t) {
3442
- return this.isEOF() || this.char() !== 125 ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, b(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3474
+ return this.isEOF() || this.char() !== 125 ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, g(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3443
3475
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3444
3476
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3445
3477
  var n = this.char();
@@ -3448,7 +3480,7 @@ var ai = (
3448
3480
  this.bump();
3449
3481
  var i = this.clonePosition();
3450
3482
  if (!this.bumpUntil("'"))
3451
- return this.error(d.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, b(i, this.clonePosition()));
3483
+ return this.error(d.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, g(i, this.clonePosition()));
3452
3484
  this.bump();
3453
3485
  break;
3454
3486
  }
@@ -3478,16 +3510,16 @@ var ai = (
3478
3510
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3479
3511
  var n = [];
3480
3512
  try {
3481
- n = Fn(t);
3513
+ n = Dn(t);
3482
3514
  } catch (i) {
3483
3515
  return this.error(d.INVALID_NUMBER_SKELETON, r);
3484
3516
  }
3485
3517
  return {
3486
3518
  val: {
3487
- type: Z.number,
3519
+ type: z.number,
3488
3520
  tokens: n,
3489
3521
  location: r,
3490
- parsedOptions: this.shouldParseSkeletons ? Xn(n) : {}
3522
+ parsedOptions: this.shouldParseSkeletons ? Vn(n) : {}
3491
3523
  },
3492
3524
  err: null
3493
3525
  };
@@ -3499,31 +3531,31 @@ var ai = (
3499
3531
  var f = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_SELECTOR, d.INVALID_PLURAL_ARGUMENT_SELECTOR);
3500
3532
  if (f.err)
3501
3533
  return f;
3502
- l = b(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3534
+ l = g(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3503
3535
  } else
3504
3536
  break;
3505
3537
  }
3506
3538
  if (h.has(u))
3507
3539
  return this.error(r === "select" ? d.DUPLICATE_SELECT_ARGUMENT_SELECTOR : d.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3508
3540
  u === "other" && (s = !0), this.bumpSpace();
3509
- var m = this.clonePosition();
3541
+ var p = this.clonePosition();
3510
3542
  if (!this.bumpIf("{"))
3511
- return this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : d.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, b(this.clonePosition(), this.clonePosition()));
3512
- var v = this.parseMessage(t + 1, r, n);
3513
- if (v.err)
3514
- return v;
3515
- var g = this.tryParseArgumentClose(m);
3516
- if (g.err)
3517
- return g;
3543
+ return this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : d.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
3544
+ var m = this.parseMessage(t + 1, r, n);
3545
+ if (m.err)
3546
+ return m;
3547
+ var y = this.tryParseArgumentClose(p);
3548
+ if (y.err)
3549
+ return y;
3518
3550
  a.push([
3519
3551
  u,
3520
3552
  {
3521
- value: v.val,
3522
- location: b(m, this.clonePosition())
3553
+ value: m.val,
3554
+ location: g(p, this.clonePosition())
3523
3555
  }
3524
3556
  ]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
3525
3557
  }
3526
- return a.length === 0 ? this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR : d.EXPECT_PLURAL_ARGUMENT_SELECTOR, b(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(d.MISSING_OTHER_CLAUSE, b(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3558
+ return a.length === 0 ? this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR : d.EXPECT_PLURAL_ARGUMENT_SELECTOR, g(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(d.MISSING_OTHER_CLAUSE, g(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3527
3559
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3528
3560
  var n = 1, i = this.clonePosition();
3529
3561
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3534,8 +3566,8 @@ var ai = (
3534
3566
  else
3535
3567
  break;
3536
3568
  }
3537
- var h = b(i, this.clonePosition());
3538
- return o ? (s *= n, ni(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3569
+ var h = g(i, this.clonePosition());
3570
+ return o ? (s *= n, ri(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3539
3571
  }, e.prototype.offset = function() {
3540
3572
  return this.position.offset;
3541
3573
  }, e.prototype.isEOF = function() {
@@ -3601,46 +3633,47 @@ var ai = (
3601
3633
  }, e;
3602
3634
  }()
3603
3635
  );
3604
- function ze(e) {
3636
+ function We(e) {
3605
3637
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3606
3638
  }
3607
- function ui(e) {
3608
- return ze(e) || e === 47;
3639
+ function ai(e) {
3640
+ return We(e) || e === 47;
3609
3641
  }
3610
- function hi(e) {
3642
+ function ui(e) {
3611
3643
  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;
3612
3644
  }
3613
3645
  function ur(e) {
3614
3646
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3615
3647
  }
3616
- function li(e) {
3648
+ function hi(e) {
3617
3649
  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;
3618
3650
  }
3619
- function Ze(e) {
3651
+ function ze(e) {
3620
3652
  e.forEach(function(t) {
3621
3653
  if (delete t.location, qt(t) || Kt(t))
3622
3654
  for (var r in t.options)
3623
- delete t.options[r].location, Ze(t.options[r].value);
3624
- else Qt(t) && tr(t.style) || (Jt(t) || Yt(t)) && ke(t.style) ? delete t.style.location : er(t) && Ze(t.children);
3655
+ delete t.options[r].location, ze(t.options[r].value);
3656
+ else
3657
+ Qt(t) && tr(t.style) || (Jt(t) || Yt(t)) && je(t.style) ? delete t.style.location : er(t) && ze(t.children);
3625
3658
  });
3626
3659
  }
3627
- function ci(e, t) {
3628
- t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3629
- var r = new ai(e, t).parse();
3660
+ function li(e, t) {
3661
+ t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3662
+ var r = new si(e, t).parse();
3630
3663
  if (r.err) {
3631
3664
  var n = SyntaxError(d[r.err.kind]);
3632
3665
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3633
3666
  }
3634
- return t != null && t.captureLocation || Ze(r.val), r.val;
3667
+ return t != null && t.captureLocation || ze(r.val), r.val;
3635
3668
  }
3636
- var Q;
3669
+ var Z;
3637
3670
  (function(e) {
3638
3671
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3639
- })(Q || (Q = {}));
3640
- var xe = (
3672
+ })(Z || (Z = {}));
3673
+ var ve = (
3641
3674
  /** @class */
3642
3675
  function(e) {
3643
- R(t, e);
3676
+ $(t, e);
3644
3677
  function t(r, n, i) {
3645
3678
  var o = e.call(this, r) || this;
3646
3679
  return o.code = n, o.originalMessage = i, o;
@@ -3652,44 +3685,44 @@ var xe = (
3652
3685
  ), Tt = (
3653
3686
  /** @class */
3654
3687
  function(e) {
3655
- R(t, e);
3688
+ $(t, e);
3656
3689
  function t(r, n, i, o) {
3657
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Q.INVALID_VALUE, o) || this;
3690
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Z.INVALID_VALUE, o) || this;
3658
3691
  }
3659
3692
  return t;
3660
- }(xe)
3661
- ), fi = (
3693
+ }(ve)
3694
+ ), ci = (
3662
3695
  /** @class */
3663
3696
  function(e) {
3664
- R(t, e);
3697
+ $(t, e);
3665
3698
  function t(r, n, i) {
3666
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Q.INVALID_VALUE, i) || this;
3699
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Z.INVALID_VALUE, i) || this;
3667
3700
  }
3668
3701
  return t;
3669
- }(xe)
3670
- ), mi = (
3702
+ }(ve)
3703
+ ), fi = (
3671
3704
  /** @class */
3672
3705
  function(e) {
3673
- R(t, e);
3706
+ $(t, e);
3674
3707
  function t(r, n) {
3675
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Q.MISSING_VALUE, n) || this;
3708
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Z.MISSING_VALUE, n) || this;
3676
3709
  }
3677
3710
  return t;
3678
- }(xe)
3711
+ }(ve)
3679
3712
  ), H;
3680
3713
  (function(e) {
3681
3714
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3682
3715
  })(H || (H = {}));
3683
- function pi(e) {
3716
+ function mi(e) {
3684
3717
  return e.length < 2 ? e : e.reduce(function(t, r) {
3685
3718
  var n = t[t.length - 1];
3686
3719
  return !n || n.type !== H.literal || r.type !== H.literal ? t.push(r) : n.value += r.value, t;
3687
3720
  }, []);
3688
3721
  }
3689
- function di(e) {
3722
+ function pi(e) {
3690
3723
  return typeof e == "function";
3691
3724
  }
3692
- function me(e, t, r, n, i, o, s) {
3725
+ function fe(e, t, r, n, i, o, s) {
3693
3726
  if (e.length === 1 && yt(e[0]))
3694
3727
  return [
3695
3728
  {
@@ -3715,9 +3748,9 @@ function me(e, t, r, n, i, o, s) {
3715
3748
  }
3716
3749
  var c = l.value;
3717
3750
  if (!(i && c in i))
3718
- throw new mi(c, s);
3751
+ throw new fi(c, s);
3719
3752
  var f = i[c];
3720
- if ($n(l)) {
3753
+ if (Nn(l)) {
3721
3754
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3722
3755
  type: typeof f == "string" ? H.literal : H.object,
3723
3756
  value: f
@@ -3725,40 +3758,40 @@ function me(e, t, r, n, i, o, s) {
3725
3758
  continue;
3726
3759
  }
3727
3760
  if (Jt(l)) {
3728
- var m = typeof l.style == "string" ? n.date[l.style] : ke(l.style) ? l.style.parsedOptions : void 0;
3761
+ var p = typeof l.style == "string" ? n.date[l.style] : je(l.style) ? l.style.parsedOptions : void 0;
3729
3762
  a.push({
3730
3763
  type: H.literal,
3731
- value: r.getDateTimeFormat(t, m).format(f)
3764
+ value: r.getDateTimeFormat(t, p).format(f)
3732
3765
  });
3733
3766
  continue;
3734
3767
  }
3735
3768
  if (Yt(l)) {
3736
- var m = typeof l.style == "string" ? n.time[l.style] : ke(l.style) ? l.style.parsedOptions : n.time.medium;
3769
+ var p = typeof l.style == "string" ? n.time[l.style] : je(l.style) ? l.style.parsedOptions : n.time.medium;
3737
3770
  a.push({
3738
3771
  type: H.literal,
3739
- value: r.getDateTimeFormat(t, m).format(f)
3772
+ value: r.getDateTimeFormat(t, p).format(f)
3740
3773
  });
3741
3774
  continue;
3742
3775
  }
3743
3776
  if (Qt(l)) {
3744
- var m = typeof l.style == "string" ? n.number[l.style] : tr(l.style) ? l.style.parsedOptions : void 0;
3745
- m && m.scale && (f = f * (m.scale || 1)), a.push({
3777
+ var p = typeof l.style == "string" ? n.number[l.style] : tr(l.style) ? l.style.parsedOptions : void 0;
3778
+ p && p.scale && (f = f * (p.scale || 1)), a.push({
3746
3779
  type: H.literal,
3747
- value: r.getNumberFormat(t, m).format(f)
3780
+ value: r.getNumberFormat(t, p).format(f)
3748
3781
  });
3749
3782
  continue;
3750
3783
  }
3751
3784
  if (er(l)) {
3752
- var v = l.children, g = l.value, E = i[g];
3753
- if (!di(E))
3754
- throw new fi(g, "function", s);
3755
- var B = me(v, t, r, n, i, o), O = E(B.map(function(S) {
3756
- return S.value;
3785
+ var m = l.children, y = l.value, E = i[y];
3786
+ if (!pi(E))
3787
+ throw new ci(y, "function", s);
3788
+ var A = fe(m, t, r, n, i, o), P = E(A.map(function(w) {
3789
+ return w.value;
3757
3790
  }));
3758
- Array.isArray(O) || (O = [O]), a.push.apply(a, O.map(function(S) {
3791
+ Array.isArray(P) || (P = [P]), a.push.apply(a, P.map(function(w) {
3759
3792
  return {
3760
- type: typeof S == "string" ? H.literal : H.object,
3761
- value: S
3793
+ type: typeof w == "string" ? H.literal : H.object,
3794
+ value: w
3762
3795
  };
3763
3796
  }));
3764
3797
  }
@@ -3766,38 +3799,38 @@ function me(e, t, r, n, i, o, s) {
3766
3799
  var T = l.options[f] || l.options.other;
3767
3800
  if (!T)
3768
3801
  throw new Tt(l.value, f, Object.keys(l.options), s);
3769
- a.push.apply(a, me(T.value, t, r, n, i));
3802
+ a.push.apply(a, fe(T.value, t, r, n, i));
3770
3803
  continue;
3771
3804
  }
3772
3805
  if (Kt(l)) {
3773
3806
  var T = l.options["=".concat(f)];
3774
3807
  if (!T) {
3775
3808
  if (!Intl.PluralRules)
3776
- throw new xe(`Intl.PluralRules is not available in this environment.
3809
+ throw new ve(`Intl.PluralRules is not available in this environment.
3777
3810
  Try polyfilling it using "@formatjs/intl-pluralrules"
3778
- `, Q.MISSING_INTL_API, s);
3779
- var A = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
3780
- T = l.options[A] || l.options.other;
3811
+ `, Z.MISSING_INTL_API, s);
3812
+ var L = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
3813
+ T = l.options[L] || l.options.other;
3781
3814
  }
3782
3815
  if (!T)
3783
3816
  throw new Tt(l.value, f, Object.keys(l.options), s);
3784
- a.push.apply(a, me(T.value, t, r, n, i, f - (l.offset || 0)));
3817
+ a.push.apply(a, fe(T.value, t, r, n, i, f - (l.offset || 0)));
3785
3818
  continue;
3786
3819
  }
3787
3820
  }
3788
- return pi(a);
3821
+ return mi(a);
3789
3822
  }
3790
- function bi(e, t) {
3791
- return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3792
- return r[n] = y(y({}, e[n]), t[n] || {}), r;
3823
+ function di(e, t) {
3824
+ return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3825
+ return r[n] = v(v({}, e[n]), t[n] || {}), r;
3793
3826
  }, {})) : e;
3794
3827
  }
3795
- function gi(e, t) {
3828
+ function bi(e, t) {
3796
3829
  return t ? Object.keys(e).reduce(function(r, n) {
3797
- return r[n] = bi(e[n], t[n]), r;
3798
- }, y({}, e)) : e;
3830
+ return r[n] = di(e[n], t[n]), r;
3831
+ }, v({}, e)) : e;
3799
3832
  }
3800
- function Ie(e) {
3833
+ function Oe(e) {
3801
3834
  return {
3802
3835
  create: function() {
3803
3836
  return {
@@ -3811,39 +3844,39 @@ function Ie(e) {
3811
3844
  }
3812
3845
  };
3813
3846
  }
3814
- function yi(e) {
3847
+ function gi(e) {
3815
3848
  return e === void 0 && (e = {
3816
3849
  number: {},
3817
3850
  dateTime: {},
3818
3851
  pluralRules: {}
3819
3852
  }), {
3820
- getNumberFormat: Pe(function() {
3853
+ getNumberFormat: Ae(function() {
3821
3854
  for (var t, r = [], n = 0; n < arguments.length; n++)
3822
3855
  r[n] = arguments[n];
3823
- return new ((t = Intl.NumberFormat).bind.apply(t, W([void 0], r, !1)))();
3856
+ return new ((t = Intl.NumberFormat).bind.apply(t, X([void 0], r, !1)))();
3824
3857
  }, {
3825
- cache: Ie(e.number),
3826
- strategy: Le.variadic
3858
+ cache: Oe(e.number),
3859
+ strategy: Pe.variadic
3827
3860
  }),
3828
- getDateTimeFormat: Pe(function() {
3861
+ getDateTimeFormat: Ae(function() {
3829
3862
  for (var t, r = [], n = 0; n < arguments.length; n++)
3830
3863
  r[n] = arguments[n];
3831
- return new ((t = Intl.DateTimeFormat).bind.apply(t, W([void 0], r, !1)))();
3864
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, X([void 0], r, !1)))();
3832
3865
  }, {
3833
- cache: Ie(e.dateTime),
3834
- strategy: Le.variadic
3866
+ cache: Oe(e.dateTime),
3867
+ strategy: Pe.variadic
3835
3868
  }),
3836
- getPluralRules: Pe(function() {
3869
+ getPluralRules: Ae(function() {
3837
3870
  for (var t, r = [], n = 0; n < arguments.length; n++)
3838
3871
  r[n] = arguments[n];
3839
- return new ((t = Intl.PluralRules).bind.apply(t, W([void 0], r, !1)))();
3872
+ return new ((t = Intl.PluralRules).bind.apply(t, X([void 0], r, !1)))();
3840
3873
  }, {
3841
- cache: Ie(e.pluralRules),
3842
- strategy: Le.variadic
3874
+ cache: Oe(e.pluralRules),
3875
+ strategy: Pe.variadic
3843
3876
  })
3844
3877
  };
3845
3878
  }
3846
- var vi = (
3879
+ var yi = (
3847
3880
  /** @class */
3848
3881
  function() {
3849
3882
  function e(t, r, n, i) {
@@ -3862,7 +3895,7 @@ var vi = (
3862
3895
  }, []);
3863
3896
  return l.length <= 1 ? l[0] || "" : l;
3864
3897
  }, this.formatToParts = function(h) {
3865
- return me(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3898
+ return fe(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3866
3899
  }, this.resolvedOptions = function() {
3867
3900
  var h;
3868
3901
  return {
@@ -3875,13 +3908,13 @@ var vi = (
3875
3908
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3876
3909
  var s = i || {};
3877
3910
  s.formatters;
3878
- var a = Yr(s, ["formatters"]);
3879
- this.ast = e.__parse(t, y(y({}, a), { locale: this.resolvedLocale }));
3911
+ var a = Jr(s, ["formatters"]);
3912
+ this.ast = e.__parse(t, v(v({}, a), { locale: this.resolvedLocale }));
3880
3913
  } else
3881
3914
  this.ast = t;
3882
3915
  if (!Array.isArray(this.ast))
3883
3916
  throw new TypeError("A message must be provided as a String or AST.");
3884
- this.formats = gi(e.formats, n), this.formatters = i && i.formatters || yi(this.formatterCache);
3917
+ this.formats = bi(e.formats, n), this.formatters = i && i.formatters || gi(this.formatterCache);
3885
3918
  }
3886
3919
  return Object.defineProperty(e, "defaultLocale", {
3887
3920
  get: function() {
@@ -3894,7 +3927,7 @@ var vi = (
3894
3927
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3895
3928
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3896
3929
  }
3897
- }, e.__parse = ci, e.formats = {
3930
+ }, e.__parse = li, e.formats = {
3898
3931
  number: {
3899
3932
  integer: {
3900
3933
  maximumFractionDigits: 0
@@ -3955,7 +3988,7 @@ var vi = (
3955
3988
  }, e;
3956
3989
  }()
3957
3990
  );
3958
- function xi(e, t) {
3991
+ function vi(e, t) {
3959
3992
  if (t == null)
3960
3993
  return;
3961
3994
  if (t in e)
@@ -3976,36 +4009,36 @@ function xi(e, t) {
3976
4009
  n = void 0;
3977
4010
  return n;
3978
4011
  }
3979
- const U = {}, _i = (e, t, r) => r && (t in U || (U[t] = {}), e in U[t] || (U[t][e] = r), r), hr = (e, t) => {
4012
+ const G = {}, xi = (e, t, r) => r && (t in G || (G[t] = {}), e in G[t] || (G[t][e] = r), r), hr = (e, t) => {
3980
4013
  if (t == null)
3981
4014
  return;
3982
- if (t in U && e in U[t])
3983
- return U[t][e];
3984
- const r = _e(t);
4015
+ if (t in G && e in G[t])
4016
+ return G[t][e];
4017
+ const r = xe(t);
3985
4018
  for (let n = 0; n < r.length; n++) {
3986
- const i = r[n], o = Si(i, e);
4019
+ const i = r[n], o = Ei(i, e);
3987
4020
  if (o)
3988
- return _i(e, t, o);
4021
+ return xi(e, t, o);
3989
4022
  }
3990
4023
  };
3991
- let tt;
3992
- const se = ve({});
3993
- function Ei(e) {
3994
- return tt[e] || null;
4024
+ let et;
4025
+ const oe = ye({});
4026
+ function _i(e) {
4027
+ return et[e] || null;
3995
4028
  }
3996
4029
  function lr(e) {
3997
- return e in tt;
4030
+ return e in et;
3998
4031
  }
3999
- function Si(e, t) {
4032
+ function Ei(e, t) {
4000
4033
  if (!lr(e))
4001
4034
  return null;
4002
- const r = Ei(e);
4003
- return xi(r, t);
4035
+ const r = _i(e);
4036
+ return vi(r, t);
4004
4037
  }
4005
4038
  function wi(e) {
4006
4039
  if (e == null)
4007
4040
  return;
4008
- const t = _e(e);
4041
+ const t = xe(e);
4009
4042
  for (let r = 0; r < t.length; r++) {
4010
4043
  const n = t[r];
4011
4044
  if (lr(n))
@@ -4013,53 +4046,53 @@ function wi(e) {
4013
4046
  }
4014
4047
  }
4015
4048
  function cr(e, ...t) {
4016
- delete U[e], se.update((r) => (r[e] = An.all([r[e] || {}, ...t]), r));
4049
+ delete G[e], oe.update((r) => (r[e] = Cn.all([r[e] || {}, ...t]), r));
4017
4050
  }
4018
- q(
4019
- [se],
4051
+ Y(
4052
+ [oe],
4020
4053
  ([e]) => Object.keys(e)
4021
4054
  );
4022
- se.subscribe((e) => tt = e);
4023
- const pe = {};
4024
- function Ti(e, t) {
4025
- pe[e].delete(t), pe[e].size === 0 && delete pe[e];
4055
+ oe.subscribe((e) => et = e);
4056
+ const me = {};
4057
+ function Si(e, t) {
4058
+ me[e].delete(t), me[e].size === 0 && delete me[e];
4026
4059
  }
4027
4060
  function fr(e) {
4028
- return pe[e];
4061
+ return me[e];
4029
4062
  }
4030
- function Hi(e) {
4031
- return _e(e).map((t) => {
4063
+ function Ti(e) {
4064
+ return xe(e).map((t) => {
4032
4065
  const r = fr(t);
4033
4066
  return [t, r ? [...r] : []];
4034
4067
  }).filter(([, t]) => t.length > 0);
4035
4068
  }
4036
- function Qe(e) {
4037
- return e == null ? !1 : _e(e).some(
4069
+ function Ze(e) {
4070
+ return e == null ? !1 : xe(e).some(
4038
4071
  (t) => {
4039
4072
  var r;
4040
4073
  return (r = fr(t)) == null ? void 0 : r.size;
4041
4074
  }
4042
4075
  );
4043
4076
  }
4044
- function Ci(e, t) {
4077
+ function Hi(e, t) {
4045
4078
  return Promise.all(
4046
- t.map((n) => (Ti(e, n), n().then((i) => i.default || i)))
4079
+ t.map((n) => (Si(e, n), n().then((i) => i.default || i)))
4047
4080
  ).then((n) => cr(e, ...n));
4048
4081
  }
4049
- const te = {};
4082
+ const ee = {};
4050
4083
  function mr(e) {
4051
- if (!Qe(e))
4052
- return e in te ? te[e] : Promise.resolve();
4053
- const t = Hi(e);
4054
- return te[e] = Promise.all(
4084
+ if (!Ze(e))
4085
+ return e in ee ? ee[e] : Promise.resolve();
4086
+ const t = Ti(e);
4087
+ return ee[e] = Promise.all(
4055
4088
  t.map(
4056
- ([r, n]) => Ci(r, n)
4089
+ ([r, n]) => Hi(r, n)
4057
4090
  )
4058
4091
  ).then(() => {
4059
- if (Qe(e))
4092
+ if (Ze(e))
4060
4093
  return mr(e);
4061
- delete te[e];
4062
- }), te[e];
4094
+ delete ee[e];
4095
+ }), ee[e];
4063
4096
  }
4064
4097
  const Bi = {
4065
4098
  number: {
@@ -4090,141 +4123,141 @@ const Bi = {
4090
4123
  timeZoneName: "short"
4091
4124
  }
4092
4125
  }
4093
- }, Ai = {
4126
+ }, Ci = {
4094
4127
  fallbackLocale: null,
4095
4128
  loadingDelay: 200,
4096
4129
  formats: Bi,
4097
4130
  warnOnMissingMessages: !0,
4098
4131
  handleMissingMessage: void 0,
4099
4132
  ignoreTag: !0
4100
- }, Pi = Ai;
4101
- function J() {
4102
- return Pi;
4133
+ }, Ai = Ci;
4134
+ function Q() {
4135
+ return Ai;
4103
4136
  }
4104
- const Me = ve(!1);
4105
- var Li = Object.defineProperty, Oi = Object.defineProperties, Ii = Object.getOwnPropertyDescriptors, Ht = Object.getOwnPropertySymbols, Mi = Object.prototype.hasOwnProperty, Ni = Object.prototype.propertyIsEnumerable, Ct = (e, t, r) => t in e ? Li(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, $i = (e, t) => {
4137
+ const Ie = ye(!1);
4138
+ var Pi = Object.defineProperty, Li = Object.defineProperties, Oi = Object.getOwnPropertyDescriptors, Ht = Object.getOwnPropertySymbols, Ii = Object.prototype.hasOwnProperty, Mi = Object.prototype.propertyIsEnumerable, Bt = (e, t, r) => t in e ? Pi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ni = (e, t) => {
4106
4139
  for (var r in t || (t = {}))
4107
- Mi.call(t, r) && Ct(e, r, t[r]);
4140
+ Ii.call(t, r) && Bt(e, r, t[r]);
4108
4141
  if (Ht)
4109
4142
  for (var r of Ht(t))
4110
- Ni.call(t, r) && Ct(e, r, t[r]);
4143
+ Mi.call(t, r) && Bt(e, r, t[r]);
4111
4144
  return e;
4112
- }, Ri = (e, t) => Oi(e, Ii(t));
4113
- let Je;
4114
- const de = ve(null);
4115
- function Bt(e) {
4145
+ }, Ri = (e, t) => Li(e, Oi(t));
4146
+ let Qe;
4147
+ const pe = ye(null);
4148
+ function Ct(e) {
4116
4149
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4117
4150
  }
4118
- function _e(e, t = J().fallbackLocale) {
4119
- const r = Bt(e);
4120
- return t ? [.../* @__PURE__ */ new Set([...r, ...Bt(t)])] : r;
4151
+ function xe(e, t = Q().fallbackLocale) {
4152
+ const r = Ct(e);
4153
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Ct(t)])] : r;
4121
4154
  }
4122
- function D() {
4123
- return Je != null ? Je : void 0;
4155
+ function U() {
4156
+ return Qe != null ? Qe : void 0;
4124
4157
  }
4125
- de.subscribe((e) => {
4126
- Je = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4158
+ pe.subscribe((e) => {
4159
+ Qe = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4127
4160
  });
4128
- const Gi = (e) => {
4129
- if (e && wi(e) && Qe(e)) {
4130
- const { loadingDelay: t } = J();
4161
+ const $i = (e) => {
4162
+ if (e && wi(e) && Ze(e)) {
4163
+ const { loadingDelay: t } = Q();
4131
4164
  let r;
4132
- return typeof window != "undefined" && D() != null && t ? r = window.setTimeout(
4133
- () => Me.set(!0),
4165
+ return typeof window != "undefined" && U() != null && t ? r = window.setTimeout(
4166
+ () => Ie.set(!0),
4134
4167
  t
4135
- ) : Me.set(!0), mr(e).then(() => {
4136
- de.set(e);
4168
+ ) : Ie.set(!0), mr(e).then(() => {
4169
+ pe.set(e);
4137
4170
  }).finally(() => {
4138
- clearTimeout(r), Me.set(!1);
4171
+ clearTimeout(r), Ie.set(!1);
4139
4172
  });
4140
4173
  }
4141
- return de.set(e);
4142
- }, K = Ri($i({}, de), {
4143
- set: Gi
4144
- }), Ee = (e) => {
4174
+ return pe.set(e);
4175
+ }, q = Ri(Ni({}, pe), {
4176
+ set: $i
4177
+ }), _e = (e) => {
4145
4178
  const t = /* @__PURE__ */ Object.create(null);
4146
4179
  return (n) => {
4147
4180
  const i = JSON.stringify(n);
4148
4181
  return i in t ? t[i] : t[i] = e(n);
4149
4182
  };
4150
4183
  };
4151
- var Ui = Object.defineProperty, be = Object.getOwnPropertySymbols, pr = Object.prototype.hasOwnProperty, dr = Object.prototype.propertyIsEnumerable, At = (e, t, r) => t in e ? Ui(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, rt = (e, t) => {
4184
+ var Gi = Object.defineProperty, de = Object.getOwnPropertySymbols, pr = Object.prototype.hasOwnProperty, dr = Object.prototype.propertyIsEnumerable, At = (e, t, r) => t in e ? Gi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, tt = (e, t) => {
4152
4185
  for (var r in t || (t = {}))
4153
4186
  pr.call(t, r) && At(e, r, t[r]);
4154
- if (be)
4155
- for (var r of be(t))
4187
+ if (de)
4188
+ for (var r of de(t))
4156
4189
  dr.call(t, r) && At(e, r, t[r]);
4157
4190
  return e;
4158
- }, ee = (e, t) => {
4191
+ }, K = (e, t) => {
4159
4192
  var r = {};
4160
4193
  for (var n in e)
4161
4194
  pr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4162
- if (e != null && be)
4163
- for (var n of be(e))
4195
+ if (e != null && de)
4196
+ for (var n of de(e))
4164
4197
  t.indexOf(n) < 0 && dr.call(e, n) && (r[n] = e[n]);
4165
4198
  return r;
4166
4199
  };
4167
- const oe = (e, t) => {
4168
- const { formats: r } = J();
4200
+ const ie = (e, t) => {
4201
+ const { formats: r } = Q();
4169
4202
  if (e in r && t in r[e])
4170
4203
  return r[e][t];
4171
4204
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4172
- }, Di = Ee(
4205
+ }, Ui = _e(
4173
4206
  (e) => {
4174
- var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4207
+ var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
4175
4208
  if (r == null)
4176
4209
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4177
- return n && (i = oe("number", n)), new Intl.NumberFormat(r, i);
4210
+ return n && (i = ie("number", n)), new Intl.NumberFormat(r, i);
4178
4211
  }
4179
- ), Fi = Ee(
4212
+ ), Di = _e(
4180
4213
  (e) => {
4181
- var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4214
+ var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
4182
4215
  if (r == null)
4183
4216
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4184
- return n ? i = oe("date", n) : Object.keys(i).length === 0 && (i = oe("date", "short")), new Intl.DateTimeFormat(r, i);
4217
+ return n ? i = ie("date", n) : Object.keys(i).length === 0 && (i = ie("date", "short")), new Intl.DateTimeFormat(r, i);
4185
4218
  }
4186
- ), ji = Ee(
4219
+ ), Fi = _e(
4187
4220
  (e) => {
4188
- var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4221
+ var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
4189
4222
  if (r == null)
4190
4223
  throw new Error(
4191
4224
  '[svelte-i18n] A "locale" must be set to format time values'
4192
4225
  );
4193
- return n ? i = oe("time", n) : Object.keys(i).length === 0 && (i = oe("time", "short")), new Intl.DateTimeFormat(r, i);
4226
+ return n ? i = ie("time", n) : Object.keys(i).length === 0 && (i = ie("time", "short")), new Intl.DateTimeFormat(r, i);
4194
4227
  }
4195
- ), ki = (e = {}) => {
4228
+ ), ji = (e = {}) => {
4196
4229
  var t = e, {
4197
- locale: r = D()
4198
- } = t, n = ee(t, [
4230
+ locale: r = U()
4231
+ } = t, n = K(t, [
4199
4232
  "locale"
4200
4233
  ]);
4201
- return Di(rt({ locale: r }, n));
4202
- }, Vi = (e = {}) => {
4234
+ return Ui(tt({ locale: r }, n));
4235
+ }, ki = (e = {}) => {
4203
4236
  var t = e, {
4204
- locale: r = D()
4205
- } = t, n = ee(t, [
4237
+ locale: r = U()
4238
+ } = t, n = K(t, [
4206
4239
  "locale"
4207
4240
  ]);
4208
- return Fi(rt({ locale: r }, n));
4209
- }, Xi = (e = {}) => {
4241
+ return Di(tt({ locale: r }, n));
4242
+ }, Vi = (e = {}) => {
4210
4243
  var t = e, {
4211
- locale: r = D()
4212
- } = t, n = ee(t, [
4244
+ locale: r = U()
4245
+ } = t, n = K(t, [
4213
4246
  "locale"
4214
4247
  ]);
4215
- return ji(rt({ locale: r }, n));
4216
- }, Wi = Ee(
4248
+ return Fi(tt({ locale: r }, n));
4249
+ }, Xi = _e(
4217
4250
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4218
- (e, t = D()) => new vi(e, t, J().formats, {
4219
- ignoreTag: J().ignoreTag
4251
+ (e, t = U()) => new yi(e, t, Q().formats, {
4252
+ ignoreTag: Q().ignoreTag
4220
4253
  })
4221
- ), zi = (e, t = {}) => {
4254
+ ), Wi = (e, t = {}) => {
4222
4255
  var r, n, i, o;
4223
4256
  let s = t;
4224
4257
  typeof e == "object" && (s = e, e = s.id);
4225
4258
  const {
4226
4259
  values: a,
4227
- locale: h = D(),
4260
+ locale: h = U(),
4228
4261
  default: u
4229
4262
  } = s;
4230
4263
  if (h == null)
@@ -4233,7 +4266,7 @@ const oe = (e, t) => {
4233
4266
  );
4234
4267
  let l = hr(e, h);
4235
4268
  if (!l)
4236
- l = (o = (i = (n = (r = J()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4269
+ l = (o = (i = (n = (r = Q()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4237
4270
  else if (typeof l != "string")
4238
4271
  return console.warn(
4239
4272
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -4242,7 +4275,7 @@ const oe = (e, t) => {
4242
4275
  return l;
4243
4276
  let c = l;
4244
4277
  try {
4245
- c = Wi(l, h).format(a);
4278
+ c = Xi(l, h).format(a);
4246
4279
  } catch (f) {
4247
4280
  f instanceof Error && console.warn(
4248
4281
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4250,18 +4283,18 @@ const oe = (e, t) => {
4250
4283
  );
4251
4284
  }
4252
4285
  return c;
4253
- }, Zi = (e, t) => Xi(t).format(e), Qi = (e, t) => Vi(t).format(e), Ji = (e, t) => ki(t).format(e), Yi = (e, t = D()) => hr(e, t), qi = q([K, se], () => zi);
4254
- q([K], () => Zi);
4255
- q([K], () => Qi);
4256
- q([K], () => Ji);
4257
- q([K, se], () => Yi);
4258
- window.emWidgets = { topic: fn };
4259
- const Ki = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4286
+ }, zi = (e, t) => Vi(t).format(e), Zi = (e, t) => ki(t).format(e), Qi = (e, t) => ji(t).format(e), Ji = (e, t = U()) => hr(e, t), Yi = Y([q, oe], () => Wi);
4287
+ Y([q], () => zi);
4288
+ Y([q], () => Zi);
4289
+ Y([q], () => Qi);
4290
+ Y([q, oe], () => Ji);
4291
+ window.emWidgets = { topic: cn };
4292
+ const qi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4260
4293
  function Pt(e, t) {
4261
4294
  cr(e, t);
4262
4295
  }
4263
- function eo(e) {
4264
- K.set(e);
4296
+ function Ki(e) {
4297
+ q.set(e);
4265
4298
  }
4266
4299
  const Lt = {
4267
4300
  en: {
@@ -4309,210 +4342,222 @@ const Lt = {
4309
4342
  confirm: "Confirm"
4310
4343
  }
4311
4344
  };
4312
- function to(e) {
4313
- Lr(e, "svelte-1pkvhrt", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GamingLimitsConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0, 0, 0, 0.7);display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #FFFFFF)}.GamingLimitsConfirmationContainer{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013E5C));border:5px solid transparent;padding:60px 30px 30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 20px)}.GamingLimitsConfirmationContainer::before{content:"";position:absolute;top:-4px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-secondary, #E98B0F) 80%, black 20%), #22B04E);opacity:0.5;border-radius:inherit;filter:blur(6px)}.GamingLimitsConfirmationContainer::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013E5C) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 20px)}.GamingLimitsConfirmationContainerMobile{padding:40px;max-width:330px}.GamingLimitsConfirmationContainerMobile .GamingLimitsConfirmationControlAreaMobile .GamingLimitsCancelButton,.GamingLimitsConfirmationContainerMobile .GamingLimitsConfirmationControlAreaMobile .GamingLimitsConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GamingLimitsConfirmationContent{font-size:18px;font-weight:300}.GamingLimitsConfirmationControlArea{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px;direction:ltr;margin-top:30px}.GamingLimitsConfirmationControlArea .GamingLimitsCancelButton,.GamingLimitsConfirmationControlArea .GamingLimitsConfirmButton{background:transparent;border:1px solid #BFCBC3;color:#BFCBC3;cursor:pointer;border-radius:var(--emw--button-border-radius, 50px);width:200px;height:50px;font-size:var(--emw--font-size-medium, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GamingLimitsConfirmationControlArea .GamingLimitsConfirmButton{background-color:var(--emw--color-primary, #22B04E);border:2px solid var(--emw--button-border-color, #063B17);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:35px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GamingLimitsConfirmationMobileWrapper{border:none;padding:0}');
4345
+ function eo(e, t) {
4346
+ if (e) {
4347
+ const r = document.createElement("style");
4348
+ r.innerHTML = t, e.appendChild(r);
4349
+ }
4350
+ }
4351
+ function to(e, t) {
4352
+ const r = new URL(t);
4353
+ fetch(r.href).then((n) => n.text()).then((n) => {
4354
+ const i = document.createElement("style");
4355
+ i.innerHTML = n, e && e.appendChild(i);
4356
+ }).catch((n) => {
4357
+ console.error("There was an error while trying to load client styling from URL", n);
4358
+ });
4359
+ }
4360
+ function ro(e, t, r) {
4361
+ if (window.emMessageBus) {
4362
+ const n = document.createElement("style");
4363
+ window.emMessageBus.subscribe(t, (i) => {
4364
+ n.innerHTML = i, e && e.appendChild(n);
4365
+ });
4366
+ }
4314
4367
  }
4315
- const ro = (e) => ({}), Ot = (e) => ({});
4316
4368
  function no(e) {
4369
+ Pr(e, "svelte-1pkvhrt", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GamingLimitsConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0, 0, 0, 0.7);display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #FFFFFF)}.GamingLimitsConfirmationContainer{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013E5C));border:5px solid transparent;padding:60px 30px 30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 20px)}.GamingLimitsConfirmationContainer::before{content:"";position:absolute;top:-4px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-secondary, #E98B0F) 80%, black 20%), #22B04E);opacity:0.5;border-radius:inherit;filter:blur(6px)}.GamingLimitsConfirmationContainer::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013E5C) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 20px)}.GamingLimitsConfirmationContainerMobile{padding:40px;max-width:330px}.GamingLimitsConfirmationContainerMobile .GamingLimitsConfirmationControlAreaMobile .GamingLimitsCancelButton,.GamingLimitsConfirmationContainerMobile .GamingLimitsConfirmationControlAreaMobile .GamingLimitsConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GamingLimitsConfirmationContent{font-size:18px;font-weight:300}.GamingLimitsConfirmationControlArea{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px;direction:ltr;margin-top:30px}.GamingLimitsConfirmationControlArea .GamingLimitsCancelButton,.GamingLimitsConfirmationControlArea .GamingLimitsConfirmButton{background:transparent;border:1px solid #BFCBC3;color:#BFCBC3;cursor:pointer;border-radius:var(--emw--button-border-radius, 50px);width:200px;height:50px;font-size:var(--emw--font-size-medium, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GamingLimitsConfirmationControlArea .GamingLimitsConfirmButton{background-color:var(--emw--color-primary, #22B04E);border:2px solid var(--emw--button-border-color, #063B17);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:35px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GamingLimitsConfirmationMobileWrapper{border:none;padding:0}');
4370
+ }
4371
+ const io = (e) => ({}), Ot = (e) => ({});
4372
+ function oo(e) {
4317
4373
  let t, r;
4318
4374
  return {
4319
4375
  c() {
4320
- t = ut("svg"), r = ut("path"), w(r, "stroke-linecap", "round"), w(r, "stroke-linejoin", "round"), w(r, "stroke-width", "2"), w(r, "d", "M6 18L18 6M6 6l12 12"), w(t, "class", "w-6 h-6"), w(t, "fill", "none"), w(t, "stroke", "currentColor"), w(t, "viewBox", "0 0 24 24"), w(t, "xmlns", "http://www.w3.org/2000/svg");
4376
+ t = ut("svg"), r = ut("path"), S(r, "stroke-linecap", "round"), S(r, "stroke-linejoin", "round"), S(r, "stroke-width", "2"), S(r, "d", "M6 18L18 6M6 6l12 12"), S(t, "class", "w-6 h-6"), S(t, "fill", "none"), S(t, "stroke", "currentColor"), S(t, "viewBox", "0 0 24 24"), S(t, "xmlns", "http://www.w3.org/2000/svg");
4321
4377
  },
4322
4378
  m(n, i) {
4323
- qe(n, t, i), C(t, r);
4379
+ Ye(n, t, i), B(t, r);
4324
4380
  },
4325
4381
  p: I,
4326
4382
  d(n) {
4327
- n && ge(t);
4383
+ n && be(t);
4328
4384
  }
4329
4385
  };
4330
4386
  }
4331
- function io(e) {
4387
+ function so(e) {
4332
4388
  let t, r, n, i, o, s, a, h, u, l = (
4333
4389
  /*$_*/
4334
4390
  e[2]("cancel") + ""
4335
- ), c, f, m, v = (
4391
+ ), c, f, p, m = (
4336
4392
  /*$_*/
4337
4393
  e[2]("confirm") + ""
4338
- ), g, E, B, O;
4394
+ ), y, E, A, P;
4339
4395
  const T = (
4340
4396
  /*#slots*/
4341
- e[13].close
4342
- ), A = Cr(
4397
+ e[14].close
4398
+ ), L = Hr(
4343
4399
  T,
4344
4400
  e,
4345
4401
  /*$$scope*/
4346
- e[12],
4402
+ e[13],
4347
4403
  Ot
4348
- ), S = A || no();
4404
+ ), w = L || oo();
4349
4405
  return {
4350
4406
  c() {
4351
- t = N("div"), r = N("div"), n = N("span"), S && S.c(), i = we(), o = N("div"), s = he(
4407
+ t = M("div"), r = M("div"), n = M("span"), w && w.c(), i = we(), o = M("div"), s = ue(
4352
4408
  /*modaltext*/
4353
4409
  e[0]
4354
- ), a = we(), h = N("div"), u = N("button"), c = he(l), f = we(), m = N("button"), g = he(v), w(n, "class", "ModalCloseBtn"), w(n, "role", "button"), w(o, "class", "GamingLimitsConfirmationContent"), w(u, "class", "GamingLimitsCancelButton"), w(m, "class", "GamingLimitsConfirmButton"), w(h, "class", "GamingLimitsConfirmationControlArea " + /*isMobile*/
4355
- (e[3] ? "GamingLimitsConfirmationControlAreaMobile" : "")), w(r, "class", "GamingLimitsConfirmationContainer " + /*isMobile*/
4356
- (e[3] ? "GamingLimitsConfirmationContainerMobile" : "")), w(t, "class", "GamingLimitsConfirmationWrapper " + /*isMobile*/
4410
+ ), a = we(), h = M("div"), u = M("button"), c = ue(l), f = we(), p = M("button"), y = ue(m), S(n, "class", "ModalCloseBtn"), S(n, "role", "button"), S(o, "class", "GamingLimitsConfirmationContent"), S(u, "class", "GamingLimitsCancelButton"), S(p, "class", "GamingLimitsConfirmButton"), S(h, "class", "GamingLimitsConfirmationControlArea " + /*isMobile*/
4411
+ (e[3] ? "GamingLimitsConfirmationControlAreaMobile" : "")), S(r, "class", "GamingLimitsConfirmationContainer " + /*isMobile*/
4412
+ (e[3] ? "GamingLimitsConfirmationContainerMobile" : "")), S(t, "class", "GamingLimitsConfirmationWrapper " + /*isMobile*/
4357
4413
  (e[3] ? "GamingLimitsConfirmationMobileWrapper" : ""));
4358
4414
  },
4359
- m(x, P) {
4360
- qe(x, t, P), C(t, r), C(r, n), S && S.m(n, null), C(r, i), C(r, o), C(o, s), C(r, a), C(r, h), C(h, u), C(u, c), C(h, f), C(h, m), C(m, g), e[14](t), E = !0, B || (O = [
4361
- Te(
4415
+ m(_, C) {
4416
+ Ye(_, t, C), B(t, r), B(r, n), w && w.m(n, null), B(r, i), B(r, o), B(o, s), B(r, a), B(r, h), B(h, u), B(u, c), B(h, f), B(h, p), B(p, y), e[15](t), E = !0, A || (P = [
4417
+ Se(
4362
4418
  n,
4363
4419
  "click",
4364
4420
  /*close*/
4365
4421
  e[4]
4366
4422
  ),
4367
- Te(
4423
+ Se(
4368
4424
  u,
4369
4425
  "click",
4370
4426
  /*cancelChanges*/
4371
4427
  e[6]
4372
4428
  ),
4373
- Te(
4374
- m,
4429
+ Se(
4430
+ p,
4375
4431
  "click",
4376
4432
  /*confirmChanges*/
4377
4433
  e[5]
4378
4434
  )
4379
- ], B = !0);
4435
+ ], A = !0);
4380
4436
  },
4381
- p(x, [P]) {
4382
- A && A.p && (!E || P & /*$$scope*/
4383
- 4096) && Ar(
4384
- A,
4437
+ p(_, [C]) {
4438
+ L && L.p && (!E || C & /*$$scope*/
4439
+ 8192) && Cr(
4440
+ L,
4385
4441
  T,
4386
- x,
4442
+ _,
4387
4443
  /*$$scope*/
4388
- x[12],
4444
+ _[13],
4389
4445
  E ? Br(
4390
4446
  T,
4391
4447
  /*$$scope*/
4392
- x[12],
4393
- P,
4394
- ro
4395
- ) : Pr(
4448
+ _[13],
4449
+ C,
4450
+ io
4451
+ ) : Ar(
4396
4452
  /*$$scope*/
4397
- x[12]
4453
+ _[13]
4398
4454
  ),
4399
4455
  Ot
4400
- ), (!E || P & /*modaltext*/
4401
- 1) && He(
4456
+ ), (!E || C & /*modaltext*/
4457
+ 1) && Te(
4402
4458
  s,
4403
4459
  /*modaltext*/
4404
- x[0]
4405
- ), (!E || P & /*$_*/
4460
+ _[0]
4461
+ ), (!E || C & /*$_*/
4406
4462
  4) && l !== (l = /*$_*/
4407
- x[2]("cancel") + "") && He(c, l), (!E || P & /*$_*/
4408
- 4) && v !== (v = /*$_*/
4409
- x[2]("confirm") + "") && He(g, v);
4463
+ _[2]("cancel") + "") && Te(c, l), (!E || C & /*$_*/
4464
+ 4) && m !== (m = /*$_*/
4465
+ _[2]("confirm") + "") && Te(y, m);
4410
4466
  },
4411
- i(x) {
4412
- E || (Rt(S, x), E = !0);
4467
+ i(_) {
4468
+ E || ($t(w, _), E = !0);
4413
4469
  },
4414
- o(x) {
4415
- kr(S, x), E = !1;
4470
+ o(_) {
4471
+ jr(w, _), E = !1;
4416
4472
  },
4417
- d(x) {
4418
- x && ge(t), S && S.d(x), e[14](null), B = !1, Y(O);
4473
+ d(_) {
4474
+ _ && be(t), w && w.d(_), e[15](null), A = !1, J(P);
4419
4475
  }
4420
4476
  };
4421
4477
  }
4422
- function oo(e, t, r) {
4478
+ function ao(e, t, r) {
4423
4479
  let n;
4424
- Hr(e, qi, (p) => r(2, n = p));
4425
- let { $$slots: i = {}, $$scope: o } = t, { modaltext: s = "Are you sure that you want to perform this action?" } = t, { modalsource: a = "" } = t, { lang: h = "en" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: c = "" } = t;
4426
- const f = () => {
4427
- fetch(c).then((M) => M.json()).then((M) => {
4428
- Object.keys(M).forEach((F) => {
4429
- Pt(F, M[F]);
4480
+ Tr(e, Yi, (b) => r(2, n = b));
4481
+ let { $$slots: i = {}, $$scope: o } = t, { modaltext: s = "Are you sure that you want to perform this action?" } = t, { modalsource: a = "" } = t, { lang: h = "en" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { mbsource: c } = t, { translationurl: f = "" } = t;
4482
+ const p = () => {
4483
+ fetch(f).then((D) => D.json()).then((D) => {
4484
+ Object.keys(D).forEach((rt) => {
4485
+ Pt(rt, D[rt]);
4430
4486
  });
4431
- }).catch((M) => {
4432
- console.log(M);
4487
+ }).catch((D) => {
4488
+ console.log(D);
4433
4489
  });
4434
4490
  };
4435
- Object.keys(Lt).forEach((p) => {
4436
- Pt(p, Lt[p]);
4491
+ Object.keys(Lt).forEach((b) => {
4492
+ Pt(b, Lt[b]);
4437
4493
  });
4438
- let m, v = window.navigator.userAgent, g = Ki(v) !== "PC", E = {}, B = "";
4439
- const O = () => {
4494
+ let m, y = window.navigator.userAgent, E = qi(y) !== "PC", A = {}, P = "";
4495
+ const T = () => {
4440
4496
  window.postMessage({ type: "ModalClosed" }, window.location.href);
4441
- }, T = () => {
4497
+ }, L = () => {
4442
4498
  a === "groupEdit" ? window.postMessage({ type: "GamingLimitsConfirmChanges" }, window.location.href) : a === "infoCard" && window.postMessage(
4443
4499
  {
4444
4500
  type: "PlayerAccountGamingLimitDelete",
4445
- limit: E,
4446
- name: B
4501
+ limit: A,
4502
+ name: P
4447
4503
  },
4448
4504
  window.location.href
4449
4505
  ), window.postMessage({ type: "ModalClosed" }, window.location.href);
4450
- }, A = () => {
4506
+ }, w = () => {
4451
4507
  a === "groupEdit" ? window.postMessage({ type: "CancelGamingLimitsChanges" }, window.location.href) : a === "infoCard" && window.postMessage({ type: "CancelGamingLimitsRemove" }, window.location.href), window.postMessage({ type: "ModalClosed" }, window.location.href);
4452
- }, S = (p) => p === "Time Limit" ? "cumulativeSessionLimits" : p === "Deposit Limit" ? "depositLimits" : p === "Wagering Limit" ? "wageringLimit" : "lossLimit", x = (p) => {
4453
- if (p.data)
4454
- switch (p.data.type) {
4508
+ }, _ = (b) => b === "Time Limit" ? "cumulativeSessionLimits" : b === "Deposit Limit" ? "depositLimits" : b === "Wagering Limit" ? "wageringLimit" : "lossLimit", C = (b) => {
4509
+ if (b.data)
4510
+ switch (b.data.type) {
4455
4511
  case "DeleteLimitsItem":
4456
- E = p.data.removeData, B = S(p.data.removeName);
4512
+ A = b.data.removeData, P = _(b.data.removeName);
4457
4513
  break;
4458
4514
  }
4459
- }, P = () => {
4460
- eo(h);
4461
4515
  }, br = () => {
4462
- let p = document.createElement("style");
4463
- p.innerHTML = u, m.appendChild(p);
4464
- }, gr = () => {
4465
- let p = new URL(l), M = document.createElement("style");
4466
- fetch(p.href).then((F) => F.text()).then((F) => {
4467
- M.innerHTML = F, setTimeout(
4468
- () => {
4469
- m.appendChild(M);
4470
- },
4471
- 1
4472
- );
4473
- });
4516
+ Ki(h);
4474
4517
  };
4475
- Rr(() => (window.addEventListener("message", x, !1), () => {
4476
- window.removeEventListener("message", x);
4518
+ Rr(() => (window.addEventListener("message", C, !1), () => {
4519
+ window.removeEventListener("message", C);
4477
4520
  }));
4478
- function yr(p) {
4479
- Ne[p ? "unshift" : "push"](() => {
4480
- m = p, r(1, m);
4521
+ function gr(b) {
4522
+ Me[b ? "unshift" : "push"](() => {
4523
+ m = b, r(1, m);
4481
4524
  });
4482
4525
  }
4483
- return e.$$set = (p) => {
4484
- "modaltext" in p && r(0, s = p.modaltext), "modalsource" in p && r(7, a = p.modalsource), "lang" in p && r(8, h = p.lang), "clientstyling" in p && r(9, u = p.clientstyling), "clientstylingurl" in p && r(10, l = p.clientstylingurl), "translationurl" in p && r(11, c = p.translationurl), "$$scope" in p && r(12, o = p.$$scope);
4526
+ return e.$$set = (b) => {
4527
+ "modaltext" in b && r(0, s = b.modaltext), "modalsource" in b && r(7, a = b.modalsource), "lang" in b && r(8, h = b.lang), "clientstyling" in b && r(9, u = b.clientstyling), "clientstylingurl" in b && r(10, l = b.clientstylingurl), "mbsource" in b && r(11, c = b.mbsource), "translationurl" in b && r(12, f = b.translationurl), "$$scope" in b && r(13, o = b.$$scope);
4485
4528
  }, e.$$.update = () => {
4486
4529
  e.$$.dirty & /*modaltext, modalsource, lang*/
4487
- 385 && s && a && h && P(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4488
- 514 && u && m && br(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4489
- 1026 && l && m && gr(), e.$$.dirty & /*translationurl*/
4490
- 2048 && c && f();
4530
+ 385 && s && a && h && br(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4531
+ 514 && u && m && eo(m, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4532
+ 1026 && l && m && to(m, l), e.$$.dirty & /*mbsource, customStylingContainer*/
4533
+ 2050 && c && m && ro(m, `${c}.Style`), e.$$.dirty & /*translationurl*/
4534
+ 4096 && f && p();
4491
4535
  }, [
4492
4536
  s,
4493
4537
  m,
4494
4538
  n,
4495
- g,
4496
- O,
4539
+ E,
4497
4540
  T,
4498
- A,
4541
+ L,
4542
+ w,
4499
4543
  a,
4500
4544
  h,
4501
4545
  u,
4502
4546
  l,
4503
4547
  c,
4548
+ f,
4504
4549
  o,
4505
4550
  i,
4506
- yr
4551
+ gr
4507
4552
  ];
4508
4553
  }
4509
- class so extends Qr {
4554
+ class uo extends Zr {
4510
4555
  constructor(t) {
4511
- super(), zr(
4556
+ super(), Wr(
4512
4557
  this,
4513
4558
  t,
4514
- oo,
4515
- io,
4559
+ ao,
4560
+ so,
4516
4561
  Mt,
4517
4562
  {
4518
4563
  modaltext: 0,
@@ -4520,49 +4565,56 @@ class so extends Qr {
4520
4565
  lang: 8,
4521
4566
  clientstyling: 9,
4522
4567
  clientstylingurl: 10,
4523
- translationurl: 11
4568
+ mbsource: 11,
4569
+ translationurl: 12
4524
4570
  },
4525
- to
4571
+ no
4526
4572
  );
4527
4573
  }
4528
4574
  get modaltext() {
4529
4575
  return this.$$.ctx[0];
4530
4576
  }
4531
4577
  set modaltext(t) {
4532
- this.$$set({ modaltext: t }), G();
4578
+ this.$$set({ modaltext: t }), N();
4533
4579
  }
4534
4580
  get modalsource() {
4535
4581
  return this.$$.ctx[7];
4536
4582
  }
4537
4583
  set modalsource(t) {
4538
- this.$$set({ modalsource: t }), G();
4584
+ this.$$set({ modalsource: t }), N();
4539
4585
  }
4540
4586
  get lang() {
4541
4587
  return this.$$.ctx[8];
4542
4588
  }
4543
4589
  set lang(t) {
4544
- this.$$set({ lang: t }), G();
4590
+ this.$$set({ lang: t }), N();
4545
4591
  }
4546
4592
  get clientstyling() {
4547
4593
  return this.$$.ctx[9];
4548
4594
  }
4549
4595
  set clientstyling(t) {
4550
- this.$$set({ clientstyling: t }), G();
4596
+ this.$$set({ clientstyling: t }), N();
4551
4597
  }
4552
4598
  get clientstylingurl() {
4553
4599
  return this.$$.ctx[10];
4554
4600
  }
4555
4601
  set clientstylingurl(t) {
4556
- this.$$set({ clientstylingurl: t }), G();
4602
+ this.$$set({ clientstylingurl: t }), N();
4557
4603
  }
4558
- get translationurl() {
4604
+ get mbsource() {
4559
4605
  return this.$$.ctx[11];
4560
4606
  }
4607
+ set mbsource(t) {
4608
+ this.$$set({ mbsource: t }), N();
4609
+ }
4610
+ get translationurl() {
4611
+ return this.$$.ctx[12];
4612
+ }
4561
4613
  set translationurl(t) {
4562
- this.$$set({ translationurl: t }), G();
4614
+ this.$$set({ translationurl: t }), N();
4563
4615
  }
4564
4616
  }
4565
- Zr(so, { modaltext: {}, modalsource: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, ["close"], [], !0);
4617
+ zr(uo, { modaltext: {}, modalsource: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, ["close"], [], !0);
4566
4618
  export {
4567
- so as default
4619
+ uo as default
4568
4620
  };