@everymatrix/player-account-gaming-limits-confirmation-modal 1.53.0 → 1.53.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,81 +1,52 @@
1
- var vr = Object.defineProperty, xr = Object.defineProperties;
2
- var _r = Object.getOwnPropertyDescriptors;
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) => {
6
- for (var r in t || (t = {}))
7
- Er.call(t, r) && Se(e, r, t[r]);
8
- if (nt)
9
- for (var r of nt(t))
10
- Sr.call(t, r) && Se(e, r, t[r]);
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);
14
- var st = (e, t, r) => new Promise((n, i) => {
15
- var o = (h) => {
16
- try {
17
- a(r.next(h));
18
- } catch (u) {
19
- i(u);
20
- }
21
- }, s = (h) => {
22
- try {
23
- a(r.throw(h));
24
- } catch (u) {
25
- i(u);
26
- }
27
- }, a = (h) => h.done ? n(h.value) : Promise.resolve(h.value).then(o, s);
28
- a((r = r.apply(e, t)).next());
29
- });
30
- function I() {
1
+ function O() {
31
2
  }
32
- function wr(e, t) {
3
+ function lr(e, t) {
33
4
  for (const r in t) e[r] = t[r];
34
5
  return (
35
6
  /** @type {T & S} */
36
7
  e
37
8
  );
38
9
  }
39
- function It(e) {
10
+ function Tt(e) {
40
11
  return e();
41
12
  }
42
- function at() {
13
+ function Ke() {
43
14
  return /* @__PURE__ */ Object.create(null);
44
15
  }
45
- function Y(e) {
46
- e.forEach(It);
16
+ function J(e) {
17
+ e.forEach(Tt);
47
18
  }
48
- function Ye(e) {
19
+ function Ze(e) {
49
20
  return typeof e == "function";
50
21
  }
51
- function Mt(e, t) {
22
+ function Ht(e, t) {
52
23
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
53
24
  }
54
- function Tr(e) {
25
+ function fr(e) {
55
26
  return Object.keys(e).length === 0;
56
27
  }
57
- function Nt(e, ...t) {
28
+ function Ct(e, ...t) {
58
29
  if (e == null) {
59
30
  for (const n of t)
60
31
  n(void 0);
61
- return I;
32
+ return O;
62
33
  }
63
34
  const r = e.subscribe(...t);
64
35
  return r.unsubscribe ? () => r.unsubscribe() : r;
65
36
  }
66
- function Hr(e, t, r) {
67
- e.$$.on_destroy.push(Nt(t, r));
37
+ function cr(e, t, r) {
38
+ e.$$.on_destroy.push(Ct(t, r));
68
39
  }
69
- function Cr(e, t, r, n) {
40
+ function mr(e, t, r, n) {
70
41
  if (e) {
71
- const i = $t(e, t, r, n);
42
+ const i = Bt(e, t, r, n);
72
43
  return e[0](i);
73
44
  }
74
45
  }
75
- function $t(e, t, r, n) {
76
- return e[1] && n ? wr(r.ctx.slice(), e[1](n(t))) : r.ctx;
46
+ function Bt(e, t, r, n) {
47
+ return e[1] && n ? lr(r.ctx.slice(), e[1](n(t))) : r.ctx;
77
48
  }
78
- function Br(e, t, r, n) {
49
+ function dr(e, t, r, n) {
79
50
  if (e[2] && n) {
80
51
  const i = e[2](n(r));
81
52
  if (t.dirty === void 0)
@@ -90,13 +61,13 @@ function Br(e, t, r, n) {
90
61
  }
91
62
  return t.dirty;
92
63
  }
93
- function Ar(e, t, r, n, i, o) {
64
+ function pr(e, t, r, n, i, o) {
94
65
  if (i) {
95
- const s = $t(t, r, n, o);
66
+ const s = Bt(t, r, n, o);
96
67
  e.p(s, i);
97
68
  }
98
69
  }
99
- function Pr(e) {
70
+ function br(e) {
100
71
  if (e.ctx.length > 32) {
101
72
  const t = [], r = e.ctx.length / 32;
102
73
  for (let n = 0; n < r; n++)
@@ -108,14 +79,14 @@ function Pr(e) {
108
79
  function C(e, t) {
109
80
  e.appendChild(t);
110
81
  }
111
- function Lr(e, t, r) {
112
- const n = Or(e);
82
+ function gr(e, t, r) {
83
+ const n = yr(e);
113
84
  if (!n.getElementById(t)) {
114
85
  const i = N("style");
115
- i.id = t, i.textContent = r, Ir(n, i);
86
+ i.id = t, i.textContent = r, vr(n, i);
116
87
  }
117
88
  }
118
- function Or(e) {
89
+ function yr(e) {
119
90
  if (!e) return document;
120
91
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
121
92
  return t && /** @type {ShadowRoot} */
@@ -124,45 +95,45 @@ function Or(e) {
124
95
  t
125
96
  ) : e.ownerDocument;
126
97
  }
127
- function Ir(e, t) {
98
+ function vr(e, t) {
128
99
  return C(
129
100
  /** @type {Document} */
130
101
  e.head || e,
131
102
  t
132
103
  ), t.sheet;
133
104
  }
134
- function qe(e, t, r) {
105
+ function Qe(e, t, r) {
135
106
  e.insertBefore(t, r || null);
136
107
  }
137
- function ge(e) {
108
+ function be(e) {
138
109
  e.parentNode && e.parentNode.removeChild(e);
139
110
  }
140
111
  function N(e) {
141
112
  return document.createElement(e);
142
113
  }
143
- function ut(e) {
114
+ function et(e) {
144
115
  return document.createElementNS("http://www.w3.org/2000/svg", e);
145
116
  }
146
- function he(e) {
117
+ function ue(e) {
147
118
  return document.createTextNode(e);
148
119
  }
149
- function we() {
150
- return he(" ");
120
+ function Ee() {
121
+ return ue(" ");
151
122
  }
152
- function Te(e, t, r, n) {
123
+ function Se(e, t, r, n) {
153
124
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
154
125
  }
155
- function w(e, t, r) {
126
+ function S(e, t, r) {
156
127
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
157
128
  }
158
- function Mr(e) {
129
+ function xr(e) {
159
130
  return Array.from(e.childNodes);
160
131
  }
161
- function He(e, t) {
132
+ function we(e, t) {
162
133
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
163
134
  t);
164
135
  }
165
- function Nr(e) {
136
+ function _r(e) {
166
137
  const t = {};
167
138
  return e.childNodes.forEach(
168
139
  /** @param {Element} node */
@@ -171,102 +142,102 @@ function Nr(e) {
171
142
  }
172
143
  ), t;
173
144
  }
174
- let ne;
175
- function re(e) {
176
- ne = e;
145
+ let re;
146
+ function te(e) {
147
+ re = e;
177
148
  }
178
- function $r() {
179
- if (!ne) throw new Error("Function called outside component initialization");
180
- return ne;
149
+ function Er() {
150
+ if (!re) throw new Error("Function called outside component initialization");
151
+ return re;
181
152
  }
182
- function Rr(e) {
183
- $r().$$.on_mount.push(e);
153
+ function Sr(e) {
154
+ Er().$$.on_mount.push(e);
184
155
  }
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));
156
+ const k = [], Oe = [];
157
+ let V = [];
158
+ const tt = [], wr = /* @__PURE__ */ Promise.resolve();
159
+ let Ie = !1;
160
+ function Tr() {
161
+ Ie || (Ie = !0, wr.then(R));
191
162
  }
192
- function Re(e) {
193
- X.push(e);
163
+ function Ne(e) {
164
+ V.push(e);
194
165
  }
195
- const Ce = /* @__PURE__ */ new Set();
196
- let j = 0;
197
- function G() {
198
- if (j !== 0)
166
+ const Te = /* @__PURE__ */ new Set();
167
+ let F = 0;
168
+ function R() {
169
+ if (F !== 0)
199
170
  return;
200
- const e = ne;
171
+ const e = re;
201
172
  do {
202
173
  try {
203
- for (; j < V.length; ) {
204
- const t = V[j];
205
- j++, re(t), Dr(t.$$);
174
+ for (; F < k.length; ) {
175
+ const t = k[F];
176
+ F++, te(t), Hr(t.$$);
206
177
  }
207
178
  } catch (t) {
208
- throw V.length = 0, j = 0, t;
179
+ throw k.length = 0, F = 0, t;
209
180
  }
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());
181
+ for (te(null), k.length = 0, F = 0; Oe.length; ) Oe.pop()();
182
+ for (let t = 0; t < V.length; t += 1) {
183
+ const r = V[t];
184
+ Te.has(r) || (Te.add(r), r());
214
185
  }
215
- X.length = 0;
216
- } while (V.length);
217
- for (; ht.length; )
218
- ht.pop()();
219
- $e = !1, Ce.clear(), re(e);
186
+ V.length = 0;
187
+ } while (k.length);
188
+ for (; tt.length; )
189
+ tt.pop()();
190
+ Ie = !1, Te.clear(), te(e);
220
191
  }
221
- function Dr(e) {
192
+ function Hr(e) {
222
193
  if (e.fragment !== null) {
223
- e.update(), Y(e.before_update);
194
+ e.update(), J(e.before_update);
224
195
  const t = e.dirty;
225
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Re);
196
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ne);
226
197
  }
227
198
  }
228
- function Fr(e) {
199
+ function Cr(e) {
229
200
  const t = [], r = [];
230
- X.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), X = t;
231
- }
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
- }
237
- function kr(e, t, r, n) {
238
- if (e && e.o) {
239
- if (le.has(e)) return;
240
- le.add(e), jr.c.push(() => {
241
- le.delete(e);
201
+ V.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), V = t;
202
+ }
203
+ const he = /* @__PURE__ */ new Set();
204
+ let Br;
205
+ function At(e, t) {
206
+ e && e.i && (he.delete(e), e.i(t));
207
+ }
208
+ function Ar(e, t, r, n) {
209
+ if (e.o) {
210
+ if (he.has(e)) return;
211
+ he.add(e), Br.c.push(() => {
212
+ he.delete(e);
242
213
  }), e.o(t);
243
214
  }
244
215
  }
245
- function Vr(e, t, r) {
216
+ function Pr(e, t, r) {
246
217
  const { fragment: n, after_update: i } = e.$$;
247
- 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 = [];
250
- }), i.forEach(Re);
218
+ n && n.m(t, r), Ne(() => {
219
+ const o = e.$$.on_mount.map(Tt).filter(Ze);
220
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : J(o), e.$$.on_mount = [];
221
+ }), i.forEach(Ne);
251
222
  }
252
- function Xr(e, t) {
223
+ function Lr(e, t) {
253
224
  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 = []);
225
+ r.fragment !== null && (Cr(r.after_update), J(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
255
226
  }
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;
227
+ function Or(e, t) {
228
+ e.$$.dirty[0] === -1 && (k.push(e), Tr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
258
229
  }
259
- function zr(e, t, r, n, i, o, s = null, a = [-1]) {
260
- const h = ne;
261
- re(e);
230
+ function Ir(e, t, r, n, i, o, s = null, a = [-1]) {
231
+ const h = re;
232
+ te(e);
262
233
  const u = e.$$ = {
263
234
  fragment: null,
264
235
  ctx: [],
265
236
  // state
266
237
  props: o,
267
- update: I,
238
+ update: O,
268
239
  not_equal: i,
269
- bound: at(),
240
+ bound: Ke(),
270
241
  // lifecycle
271
242
  on_mount: [],
272
243
  on_destroy: [],
@@ -275,150 +246,146 @@ function zr(e, t, r, n, i, o, s = null, a = [-1]) {
275
246
  after_update: [],
276
247
  context: new Map(t.context || (h ? h.$$.context : [])),
277
248
  // everything else
278
- callbacks: at(),
249
+ callbacks: Ke(),
279
250
  dirty: a,
280
251
  skip_bound: !1,
281
252
  root: t.target || h.$$.root
282
253
  };
283
254
  s && s(u.root);
284
255
  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) {
256
+ if (u.ctx = r(e, t.props || {}, (f, c, ...m) => {
257
+ const v = m.length ? m[0] : c;
258
+ return u.ctx && i(u.ctx[f], u.ctx[f] = v) && (!u.skip_bound && u.bound[f] && u.bound[f](v), l && Or(e, f)), c;
259
+ }), u.update(), l = !0, J(u.before_update), u.fragment = n(u.ctx), t.target) {
289
260
  if (t.hydrate) {
290
- const c = Mr(t.target);
291
- u.fragment && u.fragment.l(c), c.forEach(ge);
261
+ const f = xr(t.target);
262
+ u.fragment && u.fragment.l(f), f.forEach(be);
292
263
  } else
293
264
  u.fragment && u.fragment.c();
294
- t.intro && Rt(e.$$.fragment), Vr(e, t.target, t.anchor), G();
265
+ t.intro && At(e.$$.fragment), Pr(e, t.target, t.anchor), R();
295
266
  }
296
- re(h);
297
- }
298
- let Gt;
299
- typeof HTMLElement == "function" && (Gt = class extends HTMLElement {
300
- constructor(t, r, n) {
301
- super();
302
- /** The Svelte component constructor */
303
- L(this, "$$ctor");
304
- /** Slots */
305
- L(this, "$$s");
306
- /** The Svelte component instance */
307
- L(this, "$$c");
308
- /** Whether or not the custom element is connected */
309
- L(this, "$$cn", !1);
310
- /** Component props data */
311
- L(this, "$$d", {});
312
- /** `true` if currently in the process of reflecting component props back to attributes */
313
- L(this, "$$r", !1);
314
- /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
315
- L(this, "$$p_d", {});
316
- /** @type {Record<string, Function[]>} Event listeners */
317
- L(this, "$$l", {});
318
- /** @type {Map<Function, Function>} Event listener unsubscribe functions */
319
- L(this, "$$l_u", /* @__PURE__ */ new Map());
320
- this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
267
+ te(h);
268
+ }
269
+ let Pt;
270
+ typeof HTMLElement == "function" && (Pt = class extends HTMLElement {
271
+ /** The Svelte component constructor */
272
+ $$ctor;
273
+ /** Slots */
274
+ $$s;
275
+ /** The Svelte component instance */
276
+ $$c;
277
+ /** Whether or not the custom element is connected */
278
+ $$cn = !1;
279
+ /** Component props data */
280
+ $$d = {};
281
+ /** `true` if currently in the process of reflecting component props back to attributes */
282
+ $$r = !1;
283
+ /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
284
+ $$p_d = {};
285
+ /** @type {Record<string, Function[]>} Event listeners */
286
+ $$l = {};
287
+ /** @type {Map<Function, Function>} Event listener unsubscribe functions */
288
+ $$l_u = /* @__PURE__ */ new Map();
289
+ constructor(e, t, r) {
290
+ super(), this.$$ctor = e, this.$$s = t, r && this.attachShadow({ mode: "open" });
321
291
  }
322
- addEventListener(t, r, n) {
323
- if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(r), this.$$c) {
324
- const i = this.$$c.$on(t, r);
325
- this.$$l_u.set(r, i);
292
+ addEventListener(e, t, r) {
293
+ if (this.$$l[e] = this.$$l[e] || [], this.$$l[e].push(t), this.$$c) {
294
+ const n = this.$$c.$on(e, t);
295
+ this.$$l_u.set(t, n);
326
296
  }
327
- super.addEventListener(t, r, n);
297
+ super.addEventListener(e, t, r);
328
298
  }
329
- removeEventListener(t, r, n) {
330
- if (super.removeEventListener(t, r, n), this.$$c) {
331
- const i = this.$$l_u.get(r);
332
- i && (i(), this.$$l_u.delete(r));
299
+ removeEventListener(e, t, r) {
300
+ if (super.removeEventListener(e, t, r), this.$$c) {
301
+ const n = this.$$l_u.get(t);
302
+ n && (n(), this.$$l_u.delete(t));
333
303
  }
334
304
  }
335
- connectedCallback() {
336
- return st(this, null, function* () {
337
- if (this.$$cn = !0, !this.$$c) {
338
- let t = function(o) {
339
- return () => {
340
- let s;
341
- return {
342
- c: function() {
343
- s = N("slot"), o !== "default" && w(s, "name", o);
344
- },
345
- /**
346
- * @param {HTMLElement} target
347
- * @param {HTMLElement} [anchor]
348
- */
349
- m: function(u, l) {
350
- qe(u, s, l);
351
- },
352
- d: function(u) {
353
- u && ge(s);
354
- }
355
- };
305
+ async connectedCallback() {
306
+ if (this.$$cn = !0, !this.$$c) {
307
+ let e = function(i) {
308
+ return () => {
309
+ let o;
310
+ return {
311
+ c: function() {
312
+ o = N("slot"), i !== "default" && S(o, "name", i);
313
+ },
314
+ /**
315
+ * @param {HTMLElement} target
316
+ * @param {HTMLElement} [anchor]
317
+ */
318
+ m: function(h, u) {
319
+ Qe(h, o, u);
320
+ },
321
+ d: function(h) {
322
+ h && be(o);
323
+ }
356
324
  };
357
325
  };
358
- if (yield Promise.resolve(), !this.$$cn || this.$$c)
359
- return;
360
- const r = {}, n = Nr(this);
361
- for (const o of this.$$s)
362
- o in n && (r[o] = [t(o)]);
363
- for (const o of this.attributes) {
364
- const s = this.$$g_p(o.name);
365
- s in this.$$d || (this.$$d[s] = ce(s, o.value, this.$$p_d, "toProp"));
326
+ };
327
+ if (await Promise.resolve(), !this.$$cn || this.$$c)
328
+ return;
329
+ const t = {}, r = _r(this);
330
+ for (const i of this.$$s)
331
+ i in r && (t[i] = [e(i)]);
332
+ for (const i of this.attributes) {
333
+ const o = this.$$g_p(i.name);
334
+ o in this.$$d || (this.$$d[o] = le(o, i.value, this.$$p_d, "toProp"));
335
+ }
336
+ for (const i in this.$$p_d)
337
+ !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
338
+ this.$$c = new this.$$ctor({
339
+ target: this.shadowRoot || this,
340
+ props: {
341
+ ...this.$$d,
342
+ $$slots: t,
343
+ $$scope: {
344
+ ctx: []
345
+ }
366
346
  }
367
- for (const o in this.$$p_d)
368
- !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
369
- this.$$c = new this.$$ctor({
370
- target: this.shadowRoot || this,
371
- props: ot(it({}, this.$$d), {
372
- $$slots: r,
373
- $$scope: {
374
- ctx: []
375
- }
376
- })
377
- });
378
- const i = () => {
379
- this.$$r = !0;
380
- for (const o in this.$$p_d)
381
- if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
382
- const s = ce(
383
- o,
384
- this.$$d[o],
385
- this.$$p_d,
386
- "toAttribute"
387
- );
388
- s == null ? this.removeAttribute(this.$$p_d[o].attribute || o) : this.setAttribute(this.$$p_d[o].attribute || o, s);
389
- }
390
- this.$$r = !1;
391
- };
392
- this.$$c.$$.after_update.push(i), i();
393
- for (const o in this.$$l)
394
- for (const s of this.$$l[o]) {
395
- const a = this.$$c.$on(o, s);
396
- this.$$l_u.set(s, a);
347
+ });
348
+ const n = () => {
349
+ this.$$r = !0;
350
+ for (const i in this.$$p_d)
351
+ if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
352
+ const o = le(
353
+ i,
354
+ this.$$d[i],
355
+ this.$$p_d,
356
+ "toAttribute"
357
+ );
358
+ o == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, o);
397
359
  }
398
- this.$$l = {};
399
- }
400
- });
360
+ this.$$r = !1;
361
+ };
362
+ this.$$c.$$.after_update.push(n), n();
363
+ for (const i in this.$$l)
364
+ for (const o of this.$$l[i]) {
365
+ const s = this.$$c.$on(i, o);
366
+ this.$$l_u.set(o, s);
367
+ }
368
+ this.$$l = {};
369
+ }
401
370
  }
402
371
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
403
372
  // and setting attributes through setAttribute etc, this is helpful
404
- attributeChangedCallback(t, r, n) {
405
- 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] }));
373
+ attributeChangedCallback(e, t, r) {
374
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = le(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
407
375
  }
408
376
  disconnectedCallback() {
409
377
  this.$$cn = !1, Promise.resolve().then(() => {
410
378
  !this.$$cn && this.$$c && (this.$$c.$destroy(), this.$$c = void 0);
411
379
  });
412
380
  }
413
- $$g_p(t) {
381
+ $$g_p(e) {
414
382
  return Object.keys(this.$$p_d).find(
415
- (r) => this.$$p_d[r].attribute === t || !this.$$p_d[r].attribute && r.toLowerCase() === t
416
- ) || t;
383
+ (t) => this.$$p_d[t].attribute === e || !this.$$p_d[t].attribute && t.toLowerCase() === e
384
+ ) || e;
417
385
  }
418
386
  });
419
- function ce(e, t, r, n) {
420
- var o;
421
- const i = (o = r[e]) == null ? void 0 : o.type;
387
+ function le(e, t, r, n) {
388
+ const i = r[e]?.type;
422
389
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
423
390
  return t;
424
391
  if (n === "toAttribute")
@@ -429,7 +396,7 @@ function ce(e, t, r, n) {
429
396
  case "Boolean":
430
397
  return t ? "" : null;
431
398
  case "Number":
432
- return t == null ? null : t;
399
+ return t ?? null;
433
400
  default:
434
401
  return t;
435
402
  }
@@ -446,8 +413,8 @@ function ce(e, t, r, n) {
446
413
  return t;
447
414
  }
448
415
  }
449
- function Zr(e, t, r, n, i, o) {
450
- let s = class extends Gt {
416
+ function Nr(e, t, r, n, i, o) {
417
+ let s = class extends Pt {
451
418
  constructor() {
452
419
  super(e, r, i), this.$$p_d = t;
453
420
  }
@@ -463,42 +430,38 @@ function Zr(e, t, r, n, i, o) {
463
430
  return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
464
431
  },
465
432
  set(h) {
466
- var u;
467
- h = ce(a, h, t), this.$$d[a] = h, (u = this.$$c) == null || u.$set({ [a]: h });
433
+ h = le(a, h, t), this.$$d[a] = h, this.$$c?.$set({ [a]: h });
468
434
  }
469
435
  });
470
436
  }), n.forEach((a) => {
471
437
  Object.defineProperty(s.prototype, a, {
472
438
  get() {
473
- var h;
474
- return (h = this.$$c) == null ? void 0 : h[a];
439
+ return this.$$c?.[a];
475
440
  }
476
441
  });
477
442
  }), e.element = /** @type {any} */
478
443
  s, s;
479
444
  }
480
- class Qr {
481
- constructor() {
482
- /**
483
- * ### PRIVATE API
484
- *
485
- * Do not use, may change at any time
486
- *
487
- * @type {any}
488
- */
489
- L(this, "$$");
490
- /**
491
- * ### PRIVATE API
492
- *
493
- * Do not use, may change at any time
494
- *
495
- * @type {any}
496
- */
497
- L(this, "$$set");
498
- }
445
+ class Mr {
446
+ /**
447
+ * ### PRIVATE API
448
+ *
449
+ * Do not use, may change at any time
450
+ *
451
+ * @type {any}
452
+ */
453
+ $$ = void 0;
454
+ /**
455
+ * ### PRIVATE API
456
+ *
457
+ * Do not use, may change at any time
458
+ *
459
+ * @type {any}
460
+ */
461
+ $$set = void 0;
499
462
  /** @returns {void} */
500
463
  $destroy() {
501
- Xr(this, 1), this.$destroy = I;
464
+ Lr(this, 1), this.$destroy = O;
502
465
  }
503
466
  /**
504
467
  * @template {Extract<keyof Events, string>} K
@@ -507,8 +470,8 @@ class Qr {
507
470
  * @returns {() => void}
508
471
  */
509
472
  $on(t, r) {
510
- if (!Ye(r))
511
- return I;
473
+ if (!Ze(r))
474
+ return O;
512
475
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
513
476
  return n.push(r), () => {
514
477
  const i = n.indexOf(r);
@@ -520,22 +483,22 @@ class Qr {
520
483
  * @returns {void}
521
484
  */
522
485
  $set(t) {
523
- this.$$set && !Tr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
486
+ this.$$set && !fr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
524
487
  }
525
488
  }
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) {
489
+ const $r = "4";
490
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add($r);
491
+ var Me = function(e, t) {
492
+ return Me = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
530
493
  r.__proto__ = n;
531
494
  } || function(r, n) {
532
495
  for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
533
- }, Ge(e, t);
496
+ }, Me(e, t);
534
497
  };
535
- function R(e, t) {
498
+ function $(e, t) {
536
499
  if (typeof t != "function" && t !== null)
537
500
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
538
- Ge(e, t);
501
+ Me(e, t);
539
502
  function r() {
540
503
  this.constructor = e;
541
504
  }
@@ -550,7 +513,7 @@ var y = function() {
550
513
  return t;
551
514
  }, y.apply(this, arguments);
552
515
  };
553
- function Yr(e, t) {
516
+ function Rr(e, t) {
554
517
  var r = {};
555
518
  for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
556
519
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -558,7 +521,7 @@ function Yr(e, t) {
558
521
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
559
522
  return r;
560
523
  }
561
- function Ue(e) {
524
+ function $e(e) {
562
525
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
563
526
  if (r) return r.call(e);
564
527
  if (e && typeof e.length == "number") return {
@@ -568,7 +531,7 @@ function Ue(e) {
568
531
  };
569
532
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
570
533
  }
571
- function De(e, t) {
534
+ function Re(e, t) {
572
535
  var r = typeof Symbol == "function" && e[Symbol.iterator];
573
536
  if (!r) return e;
574
537
  var n = r.call(e), i, o = [], s;
@@ -585,21 +548,21 @@ function De(e, t) {
585
548
  }
586
549
  return o;
587
550
  }
588
- function W(e, t, r) {
551
+ function X(e, t, r) {
589
552
  if (r || arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
590
553
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
591
554
  return e.concat(o || Array.prototype.slice.call(t));
592
555
  }
593
- function $(e) {
556
+ function M(e) {
594
557
  return typeof e == "function";
595
558
  }
596
- function Ut(e) {
559
+ function Lt(e) {
597
560
  var t = function(n) {
598
561
  Error.call(n), n.stack = new Error().stack;
599
562
  }, r = e(t);
600
563
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
601
564
  }
602
- var Be = Ut(function(e) {
565
+ var He = Lt(function(e) {
603
566
  return function(r) {
604
567
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
605
568
  ` + r.map(function(n, i) {
@@ -608,13 +571,13 @@ var Be = Ut(function(e) {
608
571
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
609
572
  };
610
573
  });
611
- function Fe(e, t) {
574
+ function Ge(e, t) {
612
575
  if (e) {
613
576
  var r = e.indexOf(t);
614
577
  0 <= r && e.splice(r, 1);
615
578
  }
616
579
  }
617
- var ye = function() {
580
+ var ge = function() {
618
581
  function e(t) {
619
582
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
620
583
  }
@@ -626,7 +589,7 @@ var ye = function() {
626
589
  if (s)
627
590
  if (this._parentage = null, Array.isArray(s))
628
591
  try {
629
- for (var a = Ue(s), h = a.next(); !h.done; h = a.next()) {
592
+ for (var a = $e(s), h = a.next(); !h.done; h = a.next()) {
630
593
  var u = h.value;
631
594
  u.remove(this);
632
595
  }
@@ -642,42 +605,42 @@ var ye = function() {
642
605
  else
643
606
  s.remove(this);
644
607
  var l = this.initialTeardown;
645
- if ($(l))
608
+ if (M(l))
646
609
  try {
647
610
  l();
648
611
  } catch (g) {
649
- o = g instanceof Be ? g.errors : [g];
612
+ o = g instanceof He ? g.errors : [g];
650
613
  }
651
- var c = this._finalizers;
652
- if (c) {
614
+ var f = this._finalizers;
615
+ if (f) {
653
616
  this._finalizers = null;
654
617
  try {
655
- for (var f = Ue(c), m = f.next(); !m.done; m = f.next()) {
618
+ for (var c = $e(f), m = c.next(); !m.done; m = c.next()) {
656
619
  var v = m.value;
657
620
  try {
658
- lt(v);
621
+ rt(v);
659
622
  } catch (g) {
660
- o = o != null ? o : [], g instanceof Be ? o = W(W([], De(o)), De(g.errors)) : o.push(g);
623
+ o = o ?? [], g instanceof He ? o = X(X([], Re(o)), Re(g.errors)) : o.push(g);
661
624
  }
662
625
  }
663
626
  } catch (g) {
664
627
  n = { error: g };
665
628
  } finally {
666
629
  try {
667
- m && !m.done && (i = f.return) && i.call(f);
630
+ m && !m.done && (i = c.return) && i.call(c);
668
631
  } finally {
669
632
  if (n) throw n.error;
670
633
  }
671
634
  }
672
635
  }
673
636
  if (o)
674
- throw new Be(o);
637
+ throw new He(o);
675
638
  }
676
639
  }, e.prototype.add = function(t) {
677
640
  var r;
678
641
  if (t && t !== this)
679
642
  if (this.closed)
680
- lt(t);
643
+ rt(t);
681
644
  else {
682
645
  if (t instanceof e) {
683
646
  if (t.closed || t._hasParent(this))
@@ -694,56 +657,56 @@ var ye = function() {
694
657
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
695
658
  }, e.prototype._removeParent = function(t) {
696
659
  var r = this._parentage;
697
- r === t ? this._parentage = null : Array.isArray(r) && Fe(r, t);
660
+ r === t ? this._parentage = null : Array.isArray(r) && Ge(r, t);
698
661
  }, e.prototype.remove = function(t) {
699
662
  var r = this._finalizers;
700
- r && Fe(r, t), t instanceof e && t._removeParent(this);
663
+ r && Ge(r, t), t instanceof e && t._removeParent(this);
701
664
  }, e.EMPTY = function() {
702
665
  var t = new e();
703
666
  return t.closed = !0, t;
704
667
  }(), e;
705
- }(), Dt = ye.EMPTY;
706
- function Ft(e) {
707
- return e instanceof ye || e && "closed" in e && $(e.remove) && $(e.add) && $(e.unsubscribe);
668
+ }(), Ot = ge.EMPTY;
669
+ function It(e) {
670
+ return e instanceof ge || e && "closed" in e && M(e.remove) && M(e.add) && M(e.unsubscribe);
708
671
  }
709
- function lt(e) {
710
- $(e) ? e() : e.unsubscribe();
672
+ function rt(e) {
673
+ M(e) ? e() : e.unsubscribe();
711
674
  }
712
- var jt = {
675
+ var Gr = {
713
676
  onUnhandledError: null,
714
677
  onStoppedNotification: null,
715
678
  Promise: void 0,
716
679
  useDeprecatedSynchronousErrorHandling: !1,
717
680
  useDeprecatedNextContext: !1
718
- }, qr = {
681
+ }, Ur = {
719
682
  setTimeout: function(e, t) {
720
683
  for (var r = [], n = 2; n < arguments.length; n++)
721
684
  r[n - 2] = arguments[n];
722
- return setTimeout.apply(void 0, W([e, t], De(r)));
685
+ return setTimeout.apply(void 0, X([e, t], Re(r)));
723
686
  },
724
687
  clearTimeout: function(e) {
725
688
  return clearTimeout(e);
726
689
  },
727
690
  delegate: void 0
728
691
  };
729
- function Kr(e) {
730
- qr.setTimeout(function() {
692
+ function Dr(e) {
693
+ Ur.setTimeout(function() {
731
694
  throw e;
732
695
  });
733
696
  }
734
- function ct() {
697
+ function nt() {
735
698
  }
736
699
  function fe(e) {
737
700
  e();
738
701
  }
739
- var kt = function(e) {
740
- R(t, e);
702
+ var Nt = function(e) {
703
+ $(t, e);
741
704
  function t(r) {
742
705
  var n = e.call(this) || this;
743
- return n.isStopped = !1, r ? (n.destination = r, Ft(r) && r.add(n)) : n.destination = nn, n;
706
+ return n.isStopped = !1, r ? (n.destination = r, It(r) && r.add(n)) : n.destination = kr, n;
744
707
  }
745
708
  return t.create = function(r, n, i) {
746
- return new je(r, n, i);
709
+ return new Ue(r, n, i);
747
710
  }, t.prototype.next = function(r) {
748
711
  this.isStopped || this._next(r);
749
712
  }, t.prototype.error = function(r) {
@@ -767,11 +730,7 @@ var kt = function(e) {
767
730
  this.unsubscribe();
768
731
  }
769
732
  }, t;
770
- }(ye), en = Function.prototype.bind;
771
- function Ae(e, t) {
772
- return en.call(e, t);
773
- }
774
- var tn = function() {
733
+ }(ge), Fr = function() {
775
734
  function e(t) {
776
735
  this.partialObserver = t;
777
736
  }
@@ -781,7 +740,7 @@ var tn = function() {
781
740
  try {
782
741
  r.next(t);
783
742
  } catch (n) {
784
- ae(n);
743
+ se(n);
785
744
  }
786
745
  }, e.prototype.error = function(t) {
787
746
  var r = this.partialObserver;
@@ -789,68 +748,56 @@ var tn = function() {
789
748
  try {
790
749
  r.error(t);
791
750
  } catch (n) {
792
- ae(n);
751
+ se(n);
793
752
  }
794
753
  else
795
- ae(t);
754
+ se(t);
796
755
  }, e.prototype.complete = function() {
797
756
  var t = this.partialObserver;
798
757
  if (t.complete)
799
758
  try {
800
759
  t.complete();
801
760
  } catch (r) {
802
- ae(r);
761
+ se(r);
803
762
  }
804
763
  }, e;
805
- }(), je = function(e) {
806
- R(t, e);
764
+ }(), Ue = function(e) {
765
+ $(t, e);
807
766
  function t(r, n, i) {
808
767
  var o = e.call(this) || this, s;
809
- if ($(r) || !r)
810
- s = {
811
- next: r != null ? r : void 0,
812
- error: n != null ? n : void 0,
813
- complete: i != null ? i : void 0
814
- };
815
- else {
816
- var a;
817
- o && jt.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
818
- return o.unsubscribe();
819
- }, 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)
823
- }) : s = r;
824
- }
825
- return o.destination = new tn(s), o;
768
+ return M(r) || !r ? s = {
769
+ next: r ?? void 0,
770
+ error: n ?? void 0,
771
+ complete: i ?? void 0
772
+ } : s = r, o.destination = new Fr(s), o;
826
773
  }
827
774
  return t;
828
- }(kt);
829
- function ae(e) {
830
- Kr(e);
775
+ }(Nt);
776
+ function se(e) {
777
+ Dr(e);
831
778
  }
832
- function rn(e) {
779
+ function jr(e) {
833
780
  throw e;
834
781
  }
835
- var nn = {
782
+ var kr = {
836
783
  closed: !0,
837
- next: ct,
838
- error: rn,
839
- complete: ct
840
- }, on = function() {
784
+ next: nt,
785
+ error: jr,
786
+ complete: nt
787
+ }, Vr = function() {
841
788
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
842
789
  }();
843
- function sn(e) {
790
+ function Xr(e) {
844
791
  return e;
845
792
  }
846
- function an(e) {
847
- return e.length === 0 ? sn : e.length === 1 ? e[0] : function(r) {
793
+ function Wr(e) {
794
+ return e.length === 0 ? Xr : e.length === 1 ? e[0] : function(r) {
848
795
  return e.reduce(function(n, i) {
849
796
  return i(n);
850
797
  }, r);
851
798
  };
852
799
  }
853
- var ft = function() {
800
+ var it = function() {
854
801
  function e(t) {
855
802
  t && (this._subscribe = t);
856
803
  }
@@ -858,7 +805,7 @@ var ft = function() {
858
805
  var r = new e();
859
806
  return r.source = this, r.operator = t, r;
860
807
  }, e.prototype.subscribe = function(t, r, n) {
861
- var i = this, o = hn(t) ? t : new je(t, r, n);
808
+ var i = this, o = Zr(t) ? t : new Ue(t, r, n);
862
809
  return fe(function() {
863
810
  var s = i, a = s.operator, h = s.source;
864
811
  o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
@@ -871,8 +818,8 @@ var ft = function() {
871
818
  }
872
819
  }, e.prototype.forEach = function(t, r) {
873
820
  var n = this;
874
- return r = mt(r), new r(function(i, o) {
875
- var s = new je({
821
+ return r = ot(r), new r(function(i, o) {
822
+ var s = new Ue({
876
823
  next: function(a) {
877
824
  try {
878
825
  t(a);
@@ -888,15 +835,15 @@ var ft = function() {
888
835
  }, e.prototype._subscribe = function(t) {
889
836
  var r;
890
837
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
891
- }, e.prototype[on] = function() {
838
+ }, e.prototype[Vr] = function() {
892
839
  return this;
893
840
  }, e.prototype.pipe = function() {
894
841
  for (var t = [], r = 0; r < arguments.length; r++)
895
842
  t[r] = arguments[r];
896
- return an(t)(this);
843
+ return Wr(t)(this);
897
844
  }, e.prototype.toPromise = function(t) {
898
845
  var r = this;
899
- return t = mt(t), new t(function(n, i) {
846
+ return t = ot(t), new t(function(n, i) {
900
847
  var o;
901
848
  r.subscribe(function(s) {
902
849
  return o = s;
@@ -910,32 +857,32 @@ var ft = function() {
910
857
  return new e(t);
911
858
  }, e;
912
859
  }();
913
- function mt(e) {
860
+ function ot(e) {
914
861
  var t;
915
- return (t = e != null ? e : jt.Promise) !== null && t !== void 0 ? t : Promise;
862
+ return (t = e ?? Gr.Promise) !== null && t !== void 0 ? t : Promise;
916
863
  }
917
- function un(e) {
918
- return e && $(e.next) && $(e.error) && $(e.complete);
864
+ function zr(e) {
865
+ return e && M(e.next) && M(e.error) && M(e.complete);
919
866
  }
920
- function hn(e) {
921
- return e && e instanceof kt || un(e) && Ft(e);
867
+ function Zr(e) {
868
+ return e && e instanceof Nt || zr(e) && It(e);
922
869
  }
923
- var ln = Ut(function(e) {
870
+ var Qr = Lt(function(e) {
924
871
  return function() {
925
872
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
926
873
  };
927
- }), Vt = function(e) {
928
- R(t, e);
874
+ }), Mt = function(e) {
875
+ $(t, e);
929
876
  function t() {
930
877
  var r = e.call(this) || this;
931
878
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
932
879
  }
933
880
  return t.prototype.lift = function(r) {
934
- var n = new pt(this, this);
881
+ var n = new st(this, this);
935
882
  return n.operator = r, n;
936
883
  }, t.prototype._throwIfClosed = function() {
937
884
  if (this.closed)
938
- throw new ln();
885
+ throw new Qr();
939
886
  }, t.prototype.next = function(r) {
940
887
  var n = this;
941
888
  fe(function() {
@@ -943,7 +890,7 @@ var ln = Ut(function(e) {
943
890
  if (n._throwIfClosed(), !n.isStopped) {
944
891
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
945
892
  try {
946
- for (var s = Ue(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
893
+ for (var s = $e(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
947
894
  var h = a.value;
948
895
  h.next(r);
949
896
  }
@@ -991,20 +938,20 @@ var ln = Ut(function(e) {
991
938
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
992
939
  }, t.prototype._innerSubscribe = function(r) {
993
940
  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);
941
+ return o || s ? Ot : (this.currentObservers = null, a.push(r), new ge(function() {
942
+ n.currentObservers = null, Ge(a, r);
996
943
  }));
997
944
  }, t.prototype._checkFinalizedStatuses = function(r) {
998
945
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
999
946
  i ? r.error(o) : s && r.complete();
1000
947
  }, t.prototype.asObservable = function() {
1001
- var r = new ft();
948
+ var r = new it();
1002
949
  return r.source = this, r;
1003
950
  }, t.create = function(r, n) {
1004
- return new pt(r, n);
951
+ return new st(r, n);
1005
952
  }, t;
1006
- }(ft), pt = function(e) {
1007
- R(t, e);
953
+ }(it), st = function(e) {
954
+ $(t, e);
1008
955
  function t(r, n) {
1009
956
  var i = e.call(this) || this;
1010
957
  return i.destination = r, i.source = n, i;
@@ -1020,17 +967,17 @@ var ln = Ut(function(e) {
1020
967
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1021
968
  }, t.prototype._subscribe = function(r) {
1022
969
  var n, i;
1023
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Dt;
970
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Ot;
1024
971
  }, t;
1025
- }(Vt), Xt = {
972
+ }(Mt), $t = {
1026
973
  now: function() {
1027
- return (Xt.delegate || Date).now();
974
+ return ($t.delegate || Date).now();
1028
975
  },
1029
976
  delegate: void 0
1030
- }, cn = function(e) {
1031
- R(t, e);
977
+ }, Jr = function(e) {
978
+ $(t, e);
1032
979
  function t(r, n, i) {
1033
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Xt);
980
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = $t);
1034
981
  var o = e.call(this) || this;
1035
982
  return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
1036
983
  }
@@ -1050,249 +997,251 @@ var ln = Ut(function(e) {
1050
997
  u && o.splice(0, u + 1);
1051
998
  }
1052
999
  }, t;
1053
- }(Vt);
1054
- const dt = [], bt = {}, fn = (e, t = 0) => {
1055
- if (dt.indexOf(e) == -1) {
1056
- const r = new cn(t);
1057
- bt[e] = r, dt.push(e);
1000
+ }(Mt);
1001
+ const at = [], ut = {}, Yr = (e, t = 0) => {
1002
+ if (at.indexOf(e) == -1) {
1003
+ const r = new Jr(t);
1004
+ ut[e] = r, at.push(e);
1058
1005
  }
1059
- return bt[e];
1060
- }, k = [];
1061
- function mn(e, t) {
1006
+ return ut[e];
1007
+ }, j = [];
1008
+ function qr(e, t) {
1062
1009
  return {
1063
- subscribe: ve(e, t).subscribe
1010
+ subscribe: ye(e, t).subscribe
1064
1011
  };
1065
1012
  }
1066
- function ve(e, t = I) {
1013
+ function ye(e, t = O) {
1067
1014
  let r;
1068
1015
  const n = /* @__PURE__ */ new Set();
1069
1016
  function i(a) {
1070
- if (Mt(e, a) && (e = a, r)) {
1071
- const h = !k.length;
1017
+ if (Ht(e, a) && (e = a, r)) {
1018
+ const h = !j.length;
1072
1019
  for (const u of n)
1073
- u[1](), k.push(u, e);
1020
+ u[1](), j.push(u, e);
1074
1021
  if (h) {
1075
- for (let u = 0; u < k.length; u += 2)
1076
- k[u][0](k[u + 1]);
1077
- k.length = 0;
1022
+ for (let u = 0; u < j.length; u += 2)
1023
+ j[u][0](j[u + 1]);
1024
+ j.length = 0;
1078
1025
  }
1079
1026
  }
1080
1027
  }
1081
1028
  function o(a) {
1082
1029
  i(a(e));
1083
1030
  }
1084
- function s(a, h = I) {
1031
+ function s(a, h = O) {
1085
1032
  const u = [a, h];
1086
- return n.add(u), n.size === 1 && (r = t(i, o) || I), a(e), () => {
1033
+ return n.add(u), n.size === 1 && (r = t(i, o) || O), a(e), () => {
1087
1034
  n.delete(u), n.size === 0 && r && (r(), r = null);
1088
1035
  };
1089
1036
  }
1090
1037
  return { set: i, update: o, subscribe: s };
1091
1038
  }
1092
- function q(e, t, r) {
1039
+ function Y(e, t, r) {
1093
1040
  const n = !Array.isArray(e), i = n ? [e] : e;
1094
1041
  if (!i.every(Boolean))
1095
1042
  throw new Error("derived() expects stores as input, got a falsy value");
1096
1043
  const o = t.length < 2;
1097
- return mn(r, (s, a) => {
1044
+ return qr(r, (s, a) => {
1098
1045
  let h = !1;
1099
1046
  const u = [];
1100
- let l = 0, c = I;
1101
- const f = () => {
1047
+ let l = 0, f = O;
1048
+ const c = () => {
1102
1049
  if (l)
1103
1050
  return;
1104
- c();
1051
+ f();
1105
1052
  const v = t(n ? u[0] : u, s, a);
1106
- o ? s(v) : c = Ye(v) ? v : I;
1053
+ o ? s(v) : f = Ze(v) ? v : O;
1107
1054
  }, m = i.map(
1108
- (v, g) => Nt(
1055
+ (v, g) => Ct(
1109
1056
  v,
1110
1057
  (E) => {
1111
- u[g] = E, l &= ~(1 << g), h && f();
1058
+ u[g] = E, l &= ~(1 << g), h && c();
1112
1059
  },
1113
1060
  () => {
1114
1061
  l |= 1 << g;
1115
1062
  }
1116
1063
  )
1117
1064
  );
1118
- return h = !0, f(), function() {
1119
- Y(m), c(), h = !1;
1065
+ return h = !0, c(), function() {
1066
+ J(m), f(), h = !1;
1120
1067
  };
1121
1068
  });
1122
1069
  }
1123
- function pn(e) {
1124
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1070
+ function Kr(e) {
1071
+ return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1125
1072
  }
1126
- var dn = function(t) {
1127
- return bn(t) && !gn(t);
1073
+ var en = function(t) {
1074
+ return tn(t) && !rn(t);
1128
1075
  };
1129
- function bn(e) {
1076
+ function tn(e) {
1130
1077
  return !!e && typeof e == "object";
1131
1078
  }
1132
- function gn(e) {
1079
+ function rn(e) {
1133
1080
  var t = Object.prototype.toString.call(e);
1134
- return t === "[object RegExp]" || t === "[object Date]" || xn(e);
1081
+ return t === "[object RegExp]" || t === "[object Date]" || sn(e);
1135
1082
  }
1136
- var yn = typeof Symbol == "function" && Symbol.for, vn = yn ? Symbol.for("react.element") : 60103;
1137
- function xn(e) {
1138
- return e.$$typeof === vn;
1083
+ var nn = typeof Symbol == "function" && Symbol.for, on = nn ? Symbol.for("react.element") : 60103;
1084
+ function sn(e) {
1085
+ return e.$$typeof === on;
1139
1086
  }
1140
- function _n(e) {
1087
+ function an(e) {
1141
1088
  return Array.isArray(e) ? [] : {};
1142
1089
  }
1143
- function ie(e, t) {
1144
- return t.clone !== !1 && t.isMergeableObject(e) ? z(_n(e), e, t) : e;
1090
+ function ne(e, t) {
1091
+ return t.clone !== !1 && t.isMergeableObject(e) ? W(an(e), e, t) : e;
1145
1092
  }
1146
- function En(e, t, r) {
1093
+ function un(e, t, r) {
1147
1094
  return e.concat(t).map(function(n) {
1148
- return ie(n, r);
1095
+ return ne(n, r);
1149
1096
  });
1150
1097
  }
1151
- function Sn(e, t) {
1098
+ function hn(e, t) {
1152
1099
  if (!t.customMerge)
1153
- return z;
1100
+ return W;
1154
1101
  var r = t.customMerge(e);
1155
- return typeof r == "function" ? r : z;
1102
+ return typeof r == "function" ? r : W;
1156
1103
  }
1157
- function wn(e) {
1104
+ function ln(e) {
1158
1105
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1159
1106
  return Object.propertyIsEnumerable.call(e, t);
1160
1107
  }) : [];
1161
1108
  }
1162
- function gt(e) {
1163
- return Object.keys(e).concat(wn(e));
1109
+ function ht(e) {
1110
+ return Object.keys(e).concat(ln(e));
1164
1111
  }
1165
- function Wt(e, t) {
1112
+ function Rt(e, t) {
1166
1113
  try {
1167
1114
  return t in e;
1168
- } catch (r) {
1115
+ } catch {
1169
1116
  return !1;
1170
1117
  }
1171
1118
  }
1172
- function Tn(e, t) {
1173
- return Wt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1119
+ function fn(e, t) {
1120
+ return Rt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1174
1121
  }
1175
- function Hn(e, t, r) {
1122
+ function cn(e, t, r) {
1176
1123
  var n = {};
1177
- return r.isMergeableObject(e) && gt(e).forEach(function(i) {
1178
- n[i] = ie(e[i], r);
1179
- }), 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));
1124
+ return r.isMergeableObject(e) && ht(e).forEach(function(i) {
1125
+ n[i] = ne(e[i], r);
1126
+ }), ht(t).forEach(function(i) {
1127
+ fn(e, i) || (Rt(e, i) && r.isMergeableObject(t[i]) ? n[i] = hn(i, r)(e[i], t[i], r) : n[i] = ne(t[i], r));
1181
1128
  }), n;
1182
1129
  }
1183
- function z(e, t, r) {
1184
- r = r || {}, r.arrayMerge = r.arrayMerge || En, r.isMergeableObject = r.isMergeableObject || dn, r.cloneUnlessOtherwiseSpecified = ie;
1130
+ function W(e, t, r) {
1131
+ r = r || {}, r.arrayMerge = r.arrayMerge || un, r.isMergeableObject = r.isMergeableObject || en, r.cloneUnlessOtherwiseSpecified = ne;
1185
1132
  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);
1133
+ return o ? n ? r.arrayMerge(e, t, r) : cn(e, t, r) : ne(t, r);
1187
1134
  }
1188
- z.all = function(t, r) {
1135
+ W.all = function(t, r) {
1189
1136
  if (!Array.isArray(t))
1190
1137
  throw new Error("first argument should be an array");
1191
1138
  return t.reduce(function(n, i) {
1192
- return z(n, i, r);
1139
+ return W(n, i, r);
1193
1140
  }, {});
1194
1141
  };
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;
1142
+ var mn = W, dn = mn;
1143
+ const pn = /* @__PURE__ */ Kr(dn);
1144
+ function Ce(e, t) {
1145
+ var r = t && t.cache ? t.cache : En, n = t && t.serializer ? t.serializer : xn, i = t && t.strategy ? t.strategy : gn;
1199
1146
  return i(e, {
1200
1147
  cache: r,
1201
1148
  serializer: n
1202
1149
  });
1203
1150
  }
1204
- function Pn(e) {
1151
+ function bn(e) {
1205
1152
  return e == null || typeof e == "number" || typeof e == "boolean";
1206
1153
  }
1207
- function zt(e, t, r, n) {
1208
- var i = Pn(n) ? n : r(n), o = t.get(i);
1209
- return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1154
+ function Gt(e, t, r, n) {
1155
+ var i = bn(n) ? n : r(n), o = t.get(i);
1156
+ return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1210
1157
  }
1211
- function Zt(e, t, r) {
1158
+ function Ut(e, t, r) {
1212
1159
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1213
- return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1160
+ return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1214
1161
  }
1215
- function Ke(e, t, r, n, i) {
1162
+ function Je(e, t, r, n, i) {
1216
1163
  return r.bind(t, e, n, i);
1217
1164
  }
1218
- function Ln(e, t) {
1219
- var r = e.length === 1 ? zt : Zt;
1220
- return Ke(e, this, r, t.cache.create(), t.serializer);
1165
+ function gn(e, t) {
1166
+ var r = e.length === 1 ? Gt : Ut;
1167
+ return Je(e, this, r, t.cache.create(), t.serializer);
1221
1168
  }
1222
- function On(e, t) {
1223
- return Ke(e, this, Zt, t.cache.create(), t.serializer);
1169
+ function yn(e, t) {
1170
+ return Je(e, this, Ut, t.cache.create(), t.serializer);
1224
1171
  }
1225
- function In(e, t) {
1226
- return Ke(e, this, zt, t.cache.create(), t.serializer);
1172
+ function vn(e, t) {
1173
+ return Je(e, this, Gt, t.cache.create(), t.serializer);
1227
1174
  }
1228
- var Mn = function() {
1175
+ var xn = function() {
1229
1176
  return JSON.stringify(arguments);
1230
- };
1231
- function et() {
1232
- this.cache = /* @__PURE__ */ Object.create(null);
1233
- }
1234
- et.prototype.get = function(e) {
1235
- return this.cache[e];
1236
- };
1237
- et.prototype.set = function(e, t) {
1238
- this.cache[e] = t;
1239
- };
1240
- var Nn = {
1177
+ }, _n = (
1178
+ /** @class */
1179
+ function() {
1180
+ function e() {
1181
+ this.cache = /* @__PURE__ */ Object.create(null);
1182
+ }
1183
+ return e.prototype.get = function(t) {
1184
+ return this.cache[t];
1185
+ }, e.prototype.set = function(t, r) {
1186
+ this.cache[t] = r;
1187
+ }, e;
1188
+ }()
1189
+ ), En = {
1241
1190
  create: function() {
1242
- return new et();
1191
+ return new _n();
1243
1192
  }
1244
- }, Le = {
1245
- variadic: On,
1246
- monadic: In
1247
- }, d;
1193
+ }, Be = {
1194
+ variadic: yn,
1195
+ monadic: vn
1196
+ }, p;
1248
1197
  (function(e) {
1249
1198
  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
- })(d || (d = {}));
1199
+ })(p || (p = {}));
1251
1200
  var _;
1252
1201
  (function(e) {
1253
1202
  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
1203
  })(_ || (_ = {}));
1255
- var Z;
1204
+ var z;
1256
1205
  (function(e) {
1257
1206
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1258
- })(Z || (Z = {}));
1259
- function yt(e) {
1207
+ })(z || (z = {}));
1208
+ function lt(e) {
1260
1209
  return e.type === _.literal;
1261
1210
  }
1262
- function $n(e) {
1211
+ function Sn(e) {
1263
1212
  return e.type === _.argument;
1264
1213
  }
1265
- function Qt(e) {
1214
+ function Dt(e) {
1266
1215
  return e.type === _.number;
1267
1216
  }
1268
- function Jt(e) {
1217
+ function Ft(e) {
1269
1218
  return e.type === _.date;
1270
1219
  }
1271
- function Yt(e) {
1220
+ function jt(e) {
1272
1221
  return e.type === _.time;
1273
1222
  }
1274
- function qt(e) {
1223
+ function kt(e) {
1275
1224
  return e.type === _.select;
1276
1225
  }
1277
- function Kt(e) {
1226
+ function Vt(e) {
1278
1227
  return e.type === _.plural;
1279
1228
  }
1280
- function Rn(e) {
1229
+ function wn(e) {
1281
1230
  return e.type === _.pound;
1282
1231
  }
1283
- function er(e) {
1232
+ function Xt(e) {
1284
1233
  return e.type === _.tag;
1285
1234
  }
1286
- function tr(e) {
1287
- return !!(e && typeof e == "object" && e.type === Z.number);
1235
+ function Wt(e) {
1236
+ return !!(e && typeof e == "object" && e.type === z.number);
1288
1237
  }
1289
- function ke(e) {
1290
- return !!(e && typeof e == "object" && e.type === Z.dateTime);
1238
+ function De(e) {
1239
+ return !!(e && typeof e == "object" && e.type === z.dateTime);
1291
1240
  }
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) {
1241
+ var zt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Tn = /(?:[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;
1242
+ function Hn(e) {
1294
1243
  var t = {};
1295
- return e.replace(Gn, function(r) {
1244
+ return e.replace(Tn, function(r) {
1296
1245
  var n = r.length;
1297
1246
  switch (r[0]) {
1298
1247
  case "G":
@@ -1381,36 +1330,36 @@ function Un(e) {
1381
1330
  return "";
1382
1331
  }), t;
1383
1332
  }
1384
- var Dn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1385
- function Fn(e) {
1333
+ var Cn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1334
+ function Bn(e) {
1386
1335
  if (e.length === 0)
1387
1336
  throw new Error("Number skeleton cannot be empty");
1388
- for (var t = e.split(Dn).filter(function(f) {
1389
- return f.length > 0;
1337
+ for (var t = e.split(Cn).filter(function(c) {
1338
+ return c.length > 0;
1390
1339
  }), r = [], n = 0, i = t; n < i.length; n++) {
1391
1340
  var o = i[n], s = o.split("/");
1392
1341
  if (s.length === 0)
1393
1342
  throw new Error("Invalid number skeleton");
1394
1343
  for (var a = s[0], h = s.slice(1), u = 0, l = h; u < l.length; u++) {
1395
- var c = l[u];
1396
- if (c.length === 0)
1344
+ var f = l[u];
1345
+ if (f.length === 0)
1397
1346
  throw new Error("Invalid number skeleton");
1398
1347
  }
1399
1348
  r.push({ stem: a, options: h });
1400
1349
  }
1401
1350
  return r;
1402
1351
  }
1403
- function jn(e) {
1352
+ function An(e) {
1404
1353
  return e.replace(/^(.*?)-/, "");
1405
1354
  }
1406
- var vt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, nr = /^(@+)?(\+|#+)?[rs]?$/g, kn = /(\*)(0+)|(#+)(0+)|(0+)/g, ir = /^(0+)$/;
1407
- function xt(e) {
1355
+ var ft = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Zt = /^(@+)?(\+|#+)?[rs]?$/g, Pn = /(\*)(0+)|(#+)(0+)|(0+)/g, Qt = /^(0+)$/;
1356
+ function ct(e) {
1408
1357
  var t = {};
1409
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(nr, function(r, n, i) {
1358
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Zt, function(r, n, i) {
1410
1359
  return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
1411
1360
  }), t;
1412
1361
  }
1413
- function or(e) {
1362
+ function Jt(e) {
1414
1363
  switch (e) {
1415
1364
  case "sign-auto":
1416
1365
  return {
@@ -1450,7 +1399,7 @@ function or(e) {
1450
1399
  };
1451
1400
  }
1452
1401
  }
1453
- function Vn(e) {
1402
+ function Ln(e) {
1454
1403
  var t;
1455
1404
  if (e[0] === "E" && e[1] === "E" ? (t = {
1456
1405
  notation: "engineering"
@@ -1458,17 +1407,17 @@ function Vn(e) {
1458
1407
  notation: "scientific"
1459
1408
  }, e = e.slice(1)), t) {
1460
1409
  var r = e.slice(0, 2);
1461
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !ir.test(e))
1410
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Qt.test(e))
1462
1411
  throw new Error("Malformed concise eng/scientific notation");
1463
1412
  t.minimumIntegerDigits = e.length;
1464
1413
  }
1465
1414
  return t;
1466
1415
  }
1467
- function _t(e) {
1468
- var t = {}, r = or(e);
1416
+ function mt(e) {
1417
+ var t = {}, r = Jt(e);
1469
1418
  return r || t;
1470
1419
  }
1471
- function Xn(e) {
1420
+ function On(e) {
1472
1421
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1473
1422
  var i = n[r];
1474
1423
  switch (i.stem) {
@@ -1492,7 +1441,7 @@ function Xn(e) {
1492
1441
  continue;
1493
1442
  case "measure-unit":
1494
1443
  case "unit":
1495
- t.style = "unit", t.unit = jn(i.options[0]);
1444
+ t.style = "unit", t.unit = An(i.options[0]);
1496
1445
  continue;
1497
1446
  case "compact-short":
1498
1447
  case "K":
@@ -1504,12 +1453,12 @@ function Xn(e) {
1504
1453
  continue;
1505
1454
  case "scientific":
1506
1455
  t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1507
- return y(y({}, h), _t(u));
1456
+ return y(y({}, h), mt(u));
1508
1457
  }, {}));
1509
1458
  continue;
1510
1459
  case "engineering":
1511
1460
  t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1512
- return y(y({}, h), _t(u));
1461
+ return y(y({}, h), mt(u));
1513
1462
  }, {}));
1514
1463
  continue;
1515
1464
  case "notation-simple":
@@ -1554,11 +1503,11 @@ function Xn(e) {
1554
1503
  case "integer-width":
1555
1504
  if (i.options.length > 1)
1556
1505
  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) {
1506
+ i.options[0].replace(Pn, function(h, u, l, f, c, m) {
1558
1507
  if (u)
1559
1508
  t.minimumIntegerDigits = l.length;
1560
1509
  else {
1561
- if (c && f)
1510
+ if (f && c)
1562
1511
  throw new Error("We currently do not support maximum integer digits");
1563
1512
  if (m)
1564
1513
  throw new Error("We currently do not support exact integer digits");
@@ -1567,32 +1516,32 @@ function Xn(e) {
1567
1516
  });
1568
1517
  continue;
1569
1518
  }
1570
- if (ir.test(i.stem)) {
1519
+ if (Qt.test(i.stem)) {
1571
1520
  t.minimumIntegerDigits = i.stem.length;
1572
1521
  continue;
1573
1522
  }
1574
- if (vt.test(i.stem)) {
1523
+ if (ft.test(i.stem)) {
1575
1524
  if (i.options.length > 1)
1576
1525
  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), "";
1526
+ i.stem.replace(ft, function(h, u, l, f, c, m) {
1527
+ return l === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && m ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + m.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1579
1528
  });
1580
1529
  var o = i.options[0];
1581
- o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), xt(o)));
1530
+ o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), ct(o)));
1582
1531
  continue;
1583
1532
  }
1584
- if (nr.test(i.stem)) {
1585
- t = y(y({}, t), xt(i.stem));
1533
+ if (Zt.test(i.stem)) {
1534
+ t = y(y({}, t), ct(i.stem));
1586
1535
  continue;
1587
1536
  }
1588
- var s = or(i.stem);
1537
+ var s = Jt(i.stem);
1589
1538
  s && (t = y(y({}, t), s));
1590
- var a = Vn(i.stem);
1539
+ var a = Ln(i.stem);
1591
1540
  a && (t = y(y({}, t), a));
1592
1541
  }
1593
1542
  return t;
1594
1543
  }
1595
- var ue = {
1544
+ var ae = {
1596
1545
  "001": [
1597
1546
  "H",
1598
1547
  "h"
@@ -3007,13 +2956,13 @@ var ue = {
3007
2956
  "h"
3008
2957
  ]
3009
2958
  };
3010
- function Wn(e, t) {
2959
+ function In(e, t) {
3011
2960
  for (var r = "", n = 0; n < e.length; n++) {
3012
2961
  var i = e.charAt(n);
3013
2962
  if (i === "j") {
3014
2963
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3015
2964
  o++, n++;
3016
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = zn(t);
2965
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Nn(t);
3017
2966
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
3018
2967
  r += h;
3019
2968
  for (; s-- > 0; )
@@ -3022,7 +2971,7 @@ function Wn(e, t) {
3022
2971
  }
3023
2972
  return r;
3024
2973
  }
3025
- function zn(e) {
2974
+ function Nn(e) {
3026
2975
  var t = e.hourCycle;
3027
2976
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3028
2977
  e.hourCycles && // @ts-ignore
@@ -3041,23 +2990,23 @@ function zn(e) {
3041
2990
  }
3042
2991
  var r = e.language, n;
3043
2992
  r !== "root" && (n = e.maximize().region);
3044
- var i = ue[n || ""] || ue[r || ""] || ue["".concat(r, "-001")] || ue["001"];
2993
+ var i = ae[n || ""] || ae[r || ""] || ae["".concat(r, "-001")] || ae["001"];
3045
2994
  return i[0];
3046
2995
  }
3047
- var Oe, Zn = new RegExp("^".concat(rr.source, "*")), Qn = new RegExp("".concat(rr.source, "*$"));
2996
+ var Ae, Mn = new RegExp("^".concat(zt.source, "*")), $n = new RegExp("".concat(zt.source, "*$"));
3048
2997
  function b(e, t) {
3049
2998
  return { start: e, end: t };
3050
2999
  }
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) {
3000
+ var Rn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Gn = !!String.fromCodePoint, Un = !!Object.fromEntries, Dn = !!String.prototype.codePointAt, Fn = !!String.prototype.trimStart, jn = !!String.prototype.trimEnd, kn = !!Number.isSafeInteger, Vn = kn ? Number.isSafeInteger : function(e) {
3052
3001
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3053
- }, Ve = !0;
3002
+ }, Fe = !0;
3054
3003
  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";
3057
- } catch (e) {
3058
- Ve = !1;
3004
+ var Xn = qt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3005
+ Fe = ((Ae = Xn.exec("a")) === null || Ae === void 0 ? void 0 : Ae[0]) === "a";
3006
+ } catch {
3007
+ Fe = !1;
3059
3008
  }
3060
- var Et = Jn ? (
3009
+ var dt = Rn ? (
3061
3010
  // Native
3062
3011
  function(t, r, n) {
3063
3012
  return t.startsWith(r, n);
@@ -3067,7 +3016,7 @@ var Et = Jn ? (
3067
3016
  function(t, r, n) {
3068
3017
  return t.slice(n, n + r.length) === r;
3069
3018
  }
3070
- ), Xe = Yn ? String.fromCodePoint : (
3019
+ ), je = Gn ? String.fromCodePoint : (
3071
3020
  // IE11
3072
3021
  function() {
3073
3022
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3079,9 +3028,9 @@ var Et = Jn ? (
3079
3028
  }
3080
3029
  return n;
3081
3030
  }
3082
- ), St = (
3031
+ ), pt = (
3083
3032
  // native
3084
- qn ? Object.fromEntries : (
3033
+ Un ? Object.fromEntries : (
3085
3034
  // Ponyfill
3086
3035
  function(t) {
3087
3036
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3091,7 +3040,7 @@ var Et = Jn ? (
3091
3040
  return r;
3092
3041
  }
3093
3042
  )
3094
- ), sr = Kn ? (
3043
+ ), Yt = Dn ? (
3095
3044
  // Native
3096
3045
  function(t, r) {
3097
3046
  return t.codePointAt(r);
@@ -3105,7 +3054,7 @@ var Et = Jn ? (
3105
3054
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3106
3055
  }
3107
3056
  }
3108
- ), oi = ei ? (
3057
+ ), Wn = Fn ? (
3109
3058
  // Native
3110
3059
  function(t) {
3111
3060
  return t.trimStart();
@@ -3113,9 +3062,9 @@ var Et = Jn ? (
3113
3062
  ) : (
3114
3063
  // Ponyfill
3115
3064
  function(t) {
3116
- return t.replace(Zn, "");
3065
+ return t.replace(Mn, "");
3117
3066
  }
3118
- ), si = ti ? (
3067
+ ), zn = jn ? (
3119
3068
  // Native
3120
3069
  function(t) {
3121
3070
  return t.trimEnd();
@@ -3123,32 +3072,32 @@ var Et = Jn ? (
3123
3072
  ) : (
3124
3073
  // Ponyfill
3125
3074
  function(t) {
3126
- return t.replace(Qn, "");
3075
+ return t.replace($n, "");
3127
3076
  }
3128
3077
  );
3129
- function ar(e, t) {
3078
+ function qt(e, t) {
3130
3079
  return new RegExp(e, t);
3131
3080
  }
3132
- var We;
3133
- if (Ve) {
3134
- var wt = ar("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3135
- We = function(t, r) {
3081
+ var ke;
3082
+ if (Fe) {
3083
+ var bt = qt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3084
+ ke = function(t, r) {
3136
3085
  var n;
3137
- wt.lastIndex = r;
3138
- var i = wt.exec(t);
3086
+ bt.lastIndex = r;
3087
+ var i = bt.exec(t);
3139
3088
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3140
3089
  };
3141
3090
  } else
3142
- We = function(t, r) {
3091
+ ke = function(t, r) {
3143
3092
  for (var n = []; ; ) {
3144
- var i = sr(t, r);
3145
- if (i === void 0 || ur(i) || li(i))
3093
+ var i = Yt(t, r);
3094
+ if (i === void 0 || Kt(i) || Yn(i))
3146
3095
  break;
3147
3096
  n.push(i), r += i >= 65536 ? 2 : 1;
3148
3097
  }
3149
- return Xe.apply(void 0, n);
3098
+ return je.apply(void 0, n);
3150
3099
  };
3151
- var ai = (
3100
+ var Zn = (
3152
3101
  /** @class */
3153
3102
  function() {
3154
3103
  function e(t, r) {
@@ -3178,8 +3127,8 @@ var ai = (
3178
3127
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3179
3128
  if (n)
3180
3129
  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)) {
3130
+ return this.error(p.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
3131
+ } else if (o === 60 && !this.ignoreTag && Ve(this.peek() || 0)) {
3183
3132
  var s = this.parseTag(t, r);
3184
3133
  if (s.err)
3185
3134
  return s;
@@ -3212,10 +3161,10 @@ var ai = (
3212
3161
  return o;
3213
3162
  var s = o.val, a = this.clonePosition();
3214
3163
  if (this.bumpIf("</")) {
3215
- if (this.isEOF() || !ze(this.char()))
3216
- return this.error(d.INVALID_TAG, b(a, this.clonePosition()));
3164
+ if (this.isEOF() || !Ve(this.char()))
3165
+ return this.error(p.INVALID_TAG, b(a, this.clonePosition()));
3217
3166
  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(">") ? {
3167
+ return i !== u ? this.error(p.UNMATCHED_CLOSING_TAG, b(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3219
3168
  val: {
3220
3169
  type: _.tag,
3221
3170
  value: i,
@@ -3223,14 +3172,14 @@ var ai = (
3223
3172
  location: b(n, this.clonePosition())
3224
3173
  },
3225
3174
  err: null
3226
- } : this.error(d.INVALID_TAG, b(a, this.clonePosition())));
3175
+ } : this.error(p.INVALID_TAG, b(a, this.clonePosition())));
3227
3176
  } else
3228
- return this.error(d.UNCLOSED_TAG, b(n, this.clonePosition()));
3177
+ return this.error(p.UNCLOSED_TAG, b(n, this.clonePosition()));
3229
3178
  } else
3230
- return this.error(d.INVALID_TAG, b(n, this.clonePosition()));
3179
+ return this.error(p.INVALID_TAG, b(n, this.clonePosition()));
3231
3180
  }, e.prototype.parseTagName = function() {
3232
3181
  var t = this.offset();
3233
- for (this.bump(); !this.isEOF() && hi(this.char()); )
3182
+ for (this.bump(); !this.isEOF() && Jn(this.char()); )
3234
3183
  this.bump();
3235
3184
  return this.message.slice(t, this.offset());
3236
3185
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3259,7 +3208,7 @@ var ai = (
3259
3208
  };
3260
3209
  }, e.prototype.tryParseLeftAngleBracket = function() {
3261
3210
  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;
3211
+ !Qn(this.peek() || 0)) ? (this.bump(), "<") : null;
3263
3212
  }, e.prototype.tryParseQuote = function(t) {
3264
3213
  if (this.isEOF() || this.char() !== 39)
3265
3214
  return null;
@@ -3293,23 +3242,23 @@ var ai = (
3293
3242
  r.push(n);
3294
3243
  this.bump();
3295
3244
  }
3296
- return Xe.apply(void 0, r);
3245
+ return je.apply(void 0, r);
3297
3246
  }, e.prototype.tryParseUnquoted = function(t, r) {
3298
3247
  if (this.isEOF())
3299
3248
  return null;
3300
3249
  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));
3250
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), je(n));
3302
3251
  }, e.prototype.parseArgument = function(t, r) {
3303
3252
  var n = this.clonePosition();
3304
3253
  if (this.bump(), this.bumpSpace(), this.isEOF())
3305
- return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
3254
+ return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
3306
3255
  if (this.char() === 125)
3307
- return this.bump(), this.error(d.EMPTY_ARGUMENT, b(n, this.clonePosition()));
3256
+ return this.bump(), this.error(p.EMPTY_ARGUMENT, b(n, this.clonePosition()));
3308
3257
  var i = this.parseIdentifierIfPossible().value;
3309
3258
  if (!i)
3310
- return this.error(d.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
3259
+ return this.error(p.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
3311
3260
  if (this.bumpSpace(), this.isEOF())
3312
- return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
3261
+ return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
3313
3262
  switch (this.char()) {
3314
3263
  case 125:
3315
3264
  return this.bump(), {
@@ -3322,12 +3271,12 @@ var ai = (
3322
3271
  err: null
3323
3272
  };
3324
3273
  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);
3274
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3326
3275
  default:
3327
- return this.error(d.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
3276
+ return this.error(p.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
3328
3277
  }
3329
3278
  }, e.prototype.parseIdentifierIfPossible = function() {
3330
- var t = this.clonePosition(), r = this.offset(), n = We(this.message, r), i = r + n.length;
3279
+ var t = this.clonePosition(), r = this.offset(), n = ke(this.message, r), i = r + n.length;
3331
3280
  this.bumpTo(i);
3332
3281
  var o = this.clonePosition(), s = b(t, o);
3333
3282
  return { value: n, location: s };
@@ -3335,7 +3284,7 @@ var ai = (
3335
3284
  var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
3336
3285
  switch (a) {
3337
3286
  case "":
3338
- return this.error(d.EXPECT_ARGUMENT_TYPE, b(s, h));
3287
+ return this.error(p.EXPECT_ARGUMENT_TYPE, b(s, h));
3339
3288
  case "number":
3340
3289
  case "date":
3341
3290
  case "time": {
@@ -3343,40 +3292,40 @@ var ai = (
3343
3292
  var u = null;
3344
3293
  if (this.bumpIf(",")) {
3345
3294
  this.bumpSpace();
3346
- var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3347
- if (c.err)
3348
- return c;
3349
- var f = si(c.val);
3350
- if (f.length === 0)
3351
- return this.error(d.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
3295
+ var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3296
+ if (f.err)
3297
+ return f;
3298
+ var c = zn(f.val);
3299
+ if (c.length === 0)
3300
+ return this.error(p.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
3352
3301
  var m = b(l, this.clonePosition());
3353
- u = { style: f, styleLocation: m };
3302
+ u = { style: c, styleLocation: m };
3354
3303
  }
3355
3304
  var v = this.tryParseArgumentClose(i);
3356
3305
  if (v.err)
3357
3306
  return v;
3358
3307
  var g = b(i, this.clonePosition());
3359
- if (u && Et(u == null ? void 0 : u.style, "::", 0)) {
3360
- var E = oi(u.style.slice(2));
3308
+ if (u && dt(u?.style, "::", 0)) {
3309
+ var E = Wn(u.style.slice(2));
3361
3310
  if (a === "number") {
3362
- var c = this.parseNumberSkeletonFromString(E, u.styleLocation);
3363
- return c.err ? c : {
3364
- val: { type: _.number, value: n, location: g, style: c.val },
3311
+ var f = this.parseNumberSkeletonFromString(E, u.styleLocation);
3312
+ return f.err ? f : {
3313
+ val: { type: _.number, value: n, location: g, style: f.val },
3365
3314
  err: null
3366
3315
  };
3367
3316
  } else {
3368
3317
  if (E.length === 0)
3369
- return this.error(d.EXPECT_DATE_TIME_SKELETON, g);
3318
+ return this.error(p.EXPECT_DATE_TIME_SKELETON, g);
3370
3319
  var B = E;
3371
- this.locale && (B = Wn(E, this.locale));
3372
- var f = {
3373
- type: Z.dateTime,
3320
+ this.locale && (B = In(E, this.locale));
3321
+ var c = {
3322
+ type: z.dateTime,
3374
3323
  pattern: B,
3375
3324
  location: u.styleLocation,
3376
- parsedOptions: this.shouldParseSkeletons ? Un(B) : {}
3377
- }, O = a === "date" ? _.date : _.time;
3325
+ parsedOptions: this.shouldParseSkeletons ? Hn(B) : {}
3326
+ }, L = a === "date" ? _.date : _.time;
3378
3327
  return {
3379
- val: { type: O, value: n, location: g, style: f },
3328
+ val: { type: L, value: n, location: g, style: c },
3380
3329
  err: null
3381
3330
  };
3382
3331
  }
@@ -3386,7 +3335,7 @@ var ai = (
3386
3335
  type: a === "number" ? _.number : a === "date" ? _.date : _.time,
3387
3336
  value: n,
3388
3337
  location: g,
3389
- style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
3338
+ style: (o = u?.style) !== null && o !== void 0 ? o : null
3390
3339
  },
3391
3340
  err: null
3392
3341
  };
@@ -3394,19 +3343,19 @@ var ai = (
3394
3343
  case "plural":
3395
3344
  case "selectordinal":
3396
3345
  case "select": {
3397
- var T = this.clonePosition();
3346
+ var w = this.clonePosition();
3398
3347
  if (this.bumpSpace(), !this.bumpIf(","))
3399
- return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, b(T, y({}, T)));
3348
+ return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, b(w, y({}, w)));
3400
3349
  this.bumpSpace();
3401
- var A = this.parseIdentifierIfPossible(), S = 0;
3350
+ var A = this.parseIdentifierIfPossible(), T = 0;
3402
3351
  if (a !== "select" && A.value === "offset") {
3403
3352
  if (!this.bumpIf(":"))
3404
- return this.error(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b(this.clonePosition(), this.clonePosition()));
3353
+ return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b(this.clonePosition(), this.clonePosition()));
3405
3354
  this.bumpSpace();
3406
- var c = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3407
- if (c.err)
3408
- return c;
3409
- this.bumpSpace(), A = this.parseIdentifierIfPossible(), S = c.val;
3355
+ var f = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3356
+ if (f.err)
3357
+ return f;
3358
+ this.bumpSpace(), A = this.parseIdentifierIfPossible(), T = f.val;
3410
3359
  }
3411
3360
  var x = this.tryParsePluralOrSelectOptions(t, a, r, A);
3412
3361
  if (x.err)
@@ -3419,7 +3368,7 @@ var ai = (
3419
3368
  val: {
3420
3369
  type: _.select,
3421
3370
  value: n,
3422
- options: St(x.val),
3371
+ options: pt(x.val),
3423
3372
  location: P
3424
3373
  },
3425
3374
  err: null
@@ -3427,8 +3376,8 @@ var ai = (
3427
3376
  val: {
3428
3377
  type: _.plural,
3429
3378
  value: n,
3430
- options: St(x.val),
3431
- offset: S,
3379
+ options: pt(x.val),
3380
+ offset: T,
3432
3381
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3433
3382
  location: P
3434
3383
  },
@@ -3436,10 +3385,10 @@ var ai = (
3436
3385
  };
3437
3386
  }
3438
3387
  default:
3439
- return this.error(d.INVALID_ARGUMENT_TYPE, b(s, h));
3388
+ return this.error(p.INVALID_ARGUMENT_TYPE, b(s, h));
3440
3389
  }
3441
3390
  }, 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 });
3391
+ return this.isEOF() || this.char() !== 125 ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, b(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3443
3392
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3444
3393
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3445
3394
  var n = this.char();
@@ -3448,7 +3397,7 @@ var ai = (
3448
3397
  this.bump();
3449
3398
  var i = this.clonePosition();
3450
3399
  if (!this.bumpUntil("'"))
3451
- return this.error(d.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, b(i, this.clonePosition()));
3400
+ return this.error(p.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, b(i, this.clonePosition()));
3452
3401
  this.bump();
3453
3402
  break;
3454
3403
  }
@@ -3478,37 +3427,37 @@ var ai = (
3478
3427
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3479
3428
  var n = [];
3480
3429
  try {
3481
- n = Fn(t);
3482
- } catch (i) {
3483
- return this.error(d.INVALID_NUMBER_SKELETON, r);
3430
+ n = Bn(t);
3431
+ } catch {
3432
+ return this.error(p.INVALID_NUMBER_SKELETON, r);
3484
3433
  }
3485
3434
  return {
3486
3435
  val: {
3487
- type: Z.number,
3436
+ type: z.number,
3488
3437
  tokens: n,
3489
3438
  location: r,
3490
- parsedOptions: this.shouldParseSkeletons ? Xn(n) : {}
3439
+ parsedOptions: this.shouldParseSkeletons ? On(n) : {}
3491
3440
  },
3492
3441
  err: null
3493
3442
  };
3494
3443
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3495
3444
  for (var o, s = !1, a = [], h = /* @__PURE__ */ new Set(), u = i.value, l = i.location; ; ) {
3496
3445
  if (u.length === 0) {
3497
- var c = this.clonePosition();
3446
+ var f = this.clonePosition();
3498
3447
  if (r !== "select" && this.bumpIf("=")) {
3499
- var f = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_SELECTOR, d.INVALID_PLURAL_ARGUMENT_SELECTOR);
3500
- if (f.err)
3501
- return f;
3502
- l = b(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3448
+ var c = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_SELECTOR, p.INVALID_PLURAL_ARGUMENT_SELECTOR);
3449
+ if (c.err)
3450
+ return c;
3451
+ l = b(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3503
3452
  } else
3504
3453
  break;
3505
3454
  }
3506
3455
  if (h.has(u))
3507
- return this.error(r === "select" ? d.DUPLICATE_SELECT_ARGUMENT_SELECTOR : d.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3456
+ return this.error(r === "select" ? p.DUPLICATE_SELECT_ARGUMENT_SELECTOR : p.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3508
3457
  u === "other" && (s = !0), this.bumpSpace();
3509
3458
  var m = this.clonePosition();
3510
3459
  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()));
3460
+ return this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, b(this.clonePosition(), this.clonePosition()));
3512
3461
  var v = this.parseMessage(t + 1, r, n);
3513
3462
  if (v.err)
3514
3463
  return v;
@@ -3523,7 +3472,7 @@ var ai = (
3523
3472
  }
3524
3473
  ]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
3525
3474
  }
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 };
3475
+ return a.length === 0 ? this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR : p.EXPECT_PLURAL_ARGUMENT_SELECTOR, b(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(p.MISSING_OTHER_CLAUSE, b(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3527
3476
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3528
3477
  var n = 1, i = this.clonePosition();
3529
3478
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3535,7 +3484,7 @@ var ai = (
3535
3484
  break;
3536
3485
  }
3537
3486
  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);
3487
+ return o ? (s *= n, Vn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3539
3488
  }, e.prototype.offset = function() {
3540
3489
  return this.position.offset;
3541
3490
  }, e.prototype.isEOF = function() {
@@ -3550,7 +3499,7 @@ var ai = (
3550
3499
  var t = this.position.offset;
3551
3500
  if (t >= this.message.length)
3552
3501
  throw Error("out of bound");
3553
- var r = sr(this.message, t);
3502
+ var r = Yt(this.message, t);
3554
3503
  if (r === void 0)
3555
3504
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3556
3505
  return r;
@@ -3569,7 +3518,7 @@ var ai = (
3569
3518
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
3570
3519
  }
3571
3520
  }, e.prototype.bumpIf = function(t) {
3572
- if (Et(this.message, t, this.offset())) {
3521
+ if (dt(this.message, t, this.offset())) {
3573
3522
  for (var r = 0; r < t.length; r++)
3574
3523
  this.bump();
3575
3524
  return !0;
@@ -3591,56 +3540,56 @@ var ai = (
3591
3540
  break;
3592
3541
  }
3593
3542
  }, e.prototype.bumpSpace = function() {
3594
- for (; !this.isEOF() && ur(this.char()); )
3543
+ for (; !this.isEOF() && Kt(this.char()); )
3595
3544
  this.bump();
3596
3545
  }, e.prototype.peek = function() {
3597
3546
  if (this.isEOF())
3598
3547
  return null;
3599
3548
  var t = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
3600
- return n != null ? n : null;
3549
+ return n ?? null;
3601
3550
  }, e;
3602
3551
  }()
3603
3552
  );
3604
- function ze(e) {
3553
+ function Ve(e) {
3605
3554
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3606
3555
  }
3607
- function ui(e) {
3608
- return ze(e) || e === 47;
3556
+ function Qn(e) {
3557
+ return Ve(e) || e === 47;
3609
3558
  }
3610
- function hi(e) {
3559
+ function Jn(e) {
3611
3560
  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
3561
  }
3613
- function ur(e) {
3562
+ function Kt(e) {
3614
3563
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3615
3564
  }
3616
- function li(e) {
3565
+ function Yn(e) {
3617
3566
  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
3567
  }
3619
- function Ze(e) {
3568
+ function Xe(e) {
3620
3569
  e.forEach(function(t) {
3621
- if (delete t.location, qt(t) || Kt(t))
3570
+ if (delete t.location, kt(t) || Vt(t))
3622
3571
  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);
3572
+ delete t.options[r].location, Xe(t.options[r].value);
3573
+ else Dt(t) && Wt(t.style) || (Ft(t) || jt(t)) && De(t.style) ? delete t.style.location : Xt(t) && Xe(t.children);
3625
3574
  });
3626
3575
  }
3627
- function ci(e, t) {
3576
+ function qn(e, t) {
3628
3577
  t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3629
- var r = new ai(e, t).parse();
3578
+ var r = new Zn(e, t).parse();
3630
3579
  if (r.err) {
3631
- var n = SyntaxError(d[r.err.kind]);
3580
+ var n = SyntaxError(p[r.err.kind]);
3632
3581
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3633
3582
  }
3634
- return t != null && t.captureLocation || Ze(r.val), r.val;
3583
+ return t?.captureLocation || Xe(r.val), r.val;
3635
3584
  }
3636
- var Q;
3585
+ var Z;
3637
3586
  (function(e) {
3638
3587
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3639
- })(Q || (Q = {}));
3640
- var xe = (
3588
+ })(Z || (Z = {}));
3589
+ var ve = (
3641
3590
  /** @class */
3642
3591
  function(e) {
3643
- R(t, e);
3592
+ $(t, e);
3644
3593
  function t(r, n, i) {
3645
3594
  var o = e.call(this, r) || this;
3646
3595
  return o.code = n, o.originalMessage = i, o;
@@ -3649,48 +3598,48 @@ var xe = (
3649
3598
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3650
3599
  }, t;
3651
3600
  }(Error)
3652
- ), Tt = (
3601
+ ), gt = (
3653
3602
  /** @class */
3654
3603
  function(e) {
3655
- R(t, e);
3604
+ $(t, e);
3656
3605
  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;
3606
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Z.INVALID_VALUE, o) || this;
3658
3607
  }
3659
3608
  return t;
3660
- }(xe)
3661
- ), fi = (
3609
+ }(ve)
3610
+ ), Kn = (
3662
3611
  /** @class */
3663
3612
  function(e) {
3664
- R(t, e);
3613
+ $(t, e);
3665
3614
  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;
3615
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Z.INVALID_VALUE, i) || this;
3667
3616
  }
3668
3617
  return t;
3669
- }(xe)
3670
- ), mi = (
3618
+ }(ve)
3619
+ ), ei = (
3671
3620
  /** @class */
3672
3621
  function(e) {
3673
- R(t, e);
3622
+ $(t, e);
3674
3623
  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;
3624
+ 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
3625
  }
3677
3626
  return t;
3678
- }(xe)
3627
+ }(ve)
3679
3628
  ), H;
3680
3629
  (function(e) {
3681
3630
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3682
3631
  })(H || (H = {}));
3683
- function pi(e) {
3632
+ function ti(e) {
3684
3633
  return e.length < 2 ? e : e.reduce(function(t, r) {
3685
3634
  var n = t[t.length - 1];
3686
3635
  return !n || n.type !== H.literal || r.type !== H.literal ? t.push(r) : n.value += r.value, t;
3687
3636
  }, []);
3688
3637
  }
3689
- function di(e) {
3638
+ function ri(e) {
3690
3639
  return typeof e == "function";
3691
3640
  }
3692
- function me(e, t, r, n, i, o, s) {
3693
- if (e.length === 1 && yt(e[0]))
3641
+ function ce(e, t, r, n, i, o, s) {
3642
+ if (e.length === 1 && lt(e[0]))
3694
3643
  return [
3695
3644
  {
3696
3645
  type: H.literal,
@@ -3699,105 +3648,105 @@ function me(e, t, r, n, i, o, s) {
3699
3648
  ];
3700
3649
  for (var a = [], h = 0, u = e; h < u.length; h++) {
3701
3650
  var l = u[h];
3702
- if (yt(l)) {
3651
+ if (lt(l)) {
3703
3652
  a.push({
3704
3653
  type: H.literal,
3705
3654
  value: l.value
3706
3655
  });
3707
3656
  continue;
3708
3657
  }
3709
- if (Rn(l)) {
3658
+ if (wn(l)) {
3710
3659
  typeof o == "number" && a.push({
3711
3660
  type: H.literal,
3712
3661
  value: r.getNumberFormat(t).format(o)
3713
3662
  });
3714
3663
  continue;
3715
3664
  }
3716
- var c = l.value;
3717
- if (!(i && c in i))
3718
- throw new mi(c, s);
3719
- var f = i[c];
3720
- if ($n(l)) {
3721
- (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3722
- type: typeof f == "string" ? H.literal : H.object,
3723
- value: f
3665
+ var f = l.value;
3666
+ if (!(i && f in i))
3667
+ throw new ei(f, s);
3668
+ var c = i[f];
3669
+ if (Sn(l)) {
3670
+ (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3671
+ type: typeof c == "string" ? H.literal : H.object,
3672
+ value: c
3724
3673
  });
3725
3674
  continue;
3726
3675
  }
3727
- if (Jt(l)) {
3728
- var m = typeof l.style == "string" ? n.date[l.style] : ke(l.style) ? l.style.parsedOptions : void 0;
3676
+ if (Ft(l)) {
3677
+ var m = typeof l.style == "string" ? n.date[l.style] : De(l.style) ? l.style.parsedOptions : void 0;
3729
3678
  a.push({
3730
3679
  type: H.literal,
3731
- value: r.getDateTimeFormat(t, m).format(f)
3680
+ value: r.getDateTimeFormat(t, m).format(c)
3732
3681
  });
3733
3682
  continue;
3734
3683
  }
3735
- if (Yt(l)) {
3736
- var m = typeof l.style == "string" ? n.time[l.style] : ke(l.style) ? l.style.parsedOptions : n.time.medium;
3684
+ if (jt(l)) {
3685
+ var m = typeof l.style == "string" ? n.time[l.style] : De(l.style) ? l.style.parsedOptions : n.time.medium;
3737
3686
  a.push({
3738
3687
  type: H.literal,
3739
- value: r.getDateTimeFormat(t, m).format(f)
3688
+ value: r.getDateTimeFormat(t, m).format(c)
3740
3689
  });
3741
3690
  continue;
3742
3691
  }
3743
- 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({
3692
+ if (Dt(l)) {
3693
+ var m = typeof l.style == "string" ? n.number[l.style] : Wt(l.style) ? l.style.parsedOptions : void 0;
3694
+ m && m.scale && (c = c * (m.scale || 1)), a.push({
3746
3695
  type: H.literal,
3747
- value: r.getNumberFormat(t, m).format(f)
3696
+ value: r.getNumberFormat(t, m).format(c)
3748
3697
  });
3749
3698
  continue;
3750
3699
  }
3751
- if (er(l)) {
3700
+ if (Xt(l)) {
3752
3701
  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;
3702
+ if (!ri(E))
3703
+ throw new Kn(g, "function", s);
3704
+ var B = ce(v, t, r, n, i, o), L = E(B.map(function(T) {
3705
+ return T.value;
3757
3706
  }));
3758
- Array.isArray(O) || (O = [O]), a.push.apply(a, O.map(function(S) {
3707
+ Array.isArray(L) || (L = [L]), a.push.apply(a, L.map(function(T) {
3759
3708
  return {
3760
- type: typeof S == "string" ? H.literal : H.object,
3761
- value: S
3709
+ type: typeof T == "string" ? H.literal : H.object,
3710
+ value: T
3762
3711
  };
3763
3712
  }));
3764
3713
  }
3765
- if (qt(l)) {
3766
- var T = l.options[f] || l.options.other;
3767
- if (!T)
3768
- throw new Tt(l.value, f, Object.keys(l.options), s);
3769
- a.push.apply(a, me(T.value, t, r, n, i));
3714
+ if (kt(l)) {
3715
+ var w = l.options[c] || l.options.other;
3716
+ if (!w)
3717
+ throw new gt(l.value, c, Object.keys(l.options), s);
3718
+ a.push.apply(a, ce(w.value, t, r, n, i));
3770
3719
  continue;
3771
3720
  }
3772
- if (Kt(l)) {
3773
- var T = l.options["=".concat(f)];
3774
- if (!T) {
3721
+ if (Vt(l)) {
3722
+ var w = l.options["=".concat(c)];
3723
+ if (!w) {
3775
3724
  if (!Intl.PluralRules)
3776
- throw new xe(`Intl.PluralRules is not available in this environment.
3725
+ throw new ve(`Intl.PluralRules is not available in this environment.
3777
3726
  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;
3727
+ `, Z.MISSING_INTL_API, s);
3728
+ var A = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3729
+ w = l.options[A] || l.options.other;
3781
3730
  }
3782
- if (!T)
3783
- 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)));
3731
+ if (!w)
3732
+ throw new gt(l.value, c, Object.keys(l.options), s);
3733
+ a.push.apply(a, ce(w.value, t, r, n, i, c - (l.offset || 0)));
3785
3734
  continue;
3786
3735
  }
3787
3736
  }
3788
- return pi(a);
3737
+ return ti(a);
3789
3738
  }
3790
- function bi(e, t) {
3739
+ function ni(e, t) {
3791
3740
  return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3792
3741
  return r[n] = y(y({}, e[n]), t[n] || {}), r;
3793
3742
  }, {})) : e;
3794
3743
  }
3795
- function gi(e, t) {
3744
+ function ii(e, t) {
3796
3745
  return t ? Object.keys(e).reduce(function(r, n) {
3797
- return r[n] = bi(e[n], t[n]), r;
3746
+ return r[n] = ni(e[n], t[n]), r;
3798
3747
  }, y({}, e)) : e;
3799
3748
  }
3800
- function Ie(e) {
3749
+ function Pe(e) {
3801
3750
  return {
3802
3751
  create: function() {
3803
3752
  return {
@@ -3811,39 +3760,39 @@ function Ie(e) {
3811
3760
  }
3812
3761
  };
3813
3762
  }
3814
- function yi(e) {
3763
+ function oi(e) {
3815
3764
  return e === void 0 && (e = {
3816
3765
  number: {},
3817
3766
  dateTime: {},
3818
3767
  pluralRules: {}
3819
3768
  }), {
3820
- getNumberFormat: Pe(function() {
3769
+ getNumberFormat: Ce(function() {
3821
3770
  for (var t, r = [], n = 0; n < arguments.length; n++)
3822
3771
  r[n] = arguments[n];
3823
- return new ((t = Intl.NumberFormat).bind.apply(t, W([void 0], r, !1)))();
3772
+ return new ((t = Intl.NumberFormat).bind.apply(t, X([void 0], r, !1)))();
3824
3773
  }, {
3825
- cache: Ie(e.number),
3826
- strategy: Le.variadic
3774
+ cache: Pe(e.number),
3775
+ strategy: Be.variadic
3827
3776
  }),
3828
- getDateTimeFormat: Pe(function() {
3777
+ getDateTimeFormat: Ce(function() {
3829
3778
  for (var t, r = [], n = 0; n < arguments.length; n++)
3830
3779
  r[n] = arguments[n];
3831
- return new ((t = Intl.DateTimeFormat).bind.apply(t, W([void 0], r, !1)))();
3780
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, X([void 0], r, !1)))();
3832
3781
  }, {
3833
- cache: Ie(e.dateTime),
3834
- strategy: Le.variadic
3782
+ cache: Pe(e.dateTime),
3783
+ strategy: Be.variadic
3835
3784
  }),
3836
- getPluralRules: Pe(function() {
3785
+ getPluralRules: Ce(function() {
3837
3786
  for (var t, r = [], n = 0; n < arguments.length; n++)
3838
3787
  r[n] = arguments[n];
3839
- return new ((t = Intl.PluralRules).bind.apply(t, W([void 0], r, !1)))();
3788
+ return new ((t = Intl.PluralRules).bind.apply(t, X([void 0], r, !1)))();
3840
3789
  }, {
3841
- cache: Ie(e.pluralRules),
3842
- strategy: Le.variadic
3790
+ cache: Pe(e.pluralRules),
3791
+ strategy: Be.variadic
3843
3792
  })
3844
3793
  };
3845
3794
  }
3846
- var vi = (
3795
+ var si = (
3847
3796
  /** @class */
3848
3797
  function() {
3849
3798
  function e(t, r, n, i) {
@@ -3857,12 +3806,12 @@ var vi = (
3857
3806
  var u = o.formatToParts(h);
3858
3807
  if (u.length === 1)
3859
3808
  return u[0].value;
3860
- var l = u.reduce(function(c, f) {
3861
- return !c.length || f.type !== H.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3809
+ var l = u.reduce(function(f, c) {
3810
+ return !f.length || c.type !== H.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3862
3811
  }, []);
3863
3812
  return l.length <= 1 ? l[0] || "" : l;
3864
3813
  }, this.formatToParts = function(h) {
3865
- return me(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3814
+ return ce(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3866
3815
  }, this.resolvedOptions = function() {
3867
3816
  var h;
3868
3817
  return {
@@ -3875,13 +3824,13 @@ var vi = (
3875
3824
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3876
3825
  var s = i || {};
3877
3826
  s.formatters;
3878
- var a = Yr(s, ["formatters"]);
3827
+ var a = Rr(s, ["formatters"]);
3879
3828
  this.ast = e.__parse(t, y(y({}, a), { locale: this.resolvedLocale }));
3880
3829
  } else
3881
3830
  this.ast = t;
3882
3831
  if (!Array.isArray(this.ast))
3883
3832
  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);
3833
+ this.formats = ii(e.formats, n), this.formatters = i && i.formatters || oi(this.formatterCache);
3885
3834
  }
3886
3835
  return Object.defineProperty(e, "defaultLocale", {
3887
3836
  get: function() {
@@ -3890,11 +3839,11 @@ var vi = (
3890
3839
  enumerable: !1,
3891
3840
  configurable: !0
3892
3841
  }), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
3893
- if (typeof Intl.Locale != "undefined") {
3842
+ if (!(typeof Intl.Locale > "u")) {
3894
3843
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3895
3844
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3896
3845
  }
3897
- }, e.__parse = ci, e.formats = {
3846
+ }, e.__parse = qn, e.formats = {
3898
3847
  number: {
3899
3848
  integer: {
3900
3849
  maximumFractionDigits: 0
@@ -3955,7 +3904,7 @@ var vi = (
3955
3904
  }, e;
3956
3905
  }()
3957
3906
  );
3958
- function xi(e, t) {
3907
+ function ai(e, t) {
3959
3908
  if (t == null)
3960
3909
  return;
3961
3910
  if (t in e)
@@ -3976,92 +3925,92 @@ function xi(e, t) {
3976
3925
  n = void 0;
3977
3926
  return n;
3978
3927
  }
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) => {
3928
+ const G = {}, ui = (e, t, r) => r && (t in G || (G[t] = {}), e in G[t] || (G[t][e] = r), r), er = (e, t) => {
3980
3929
  if (t == null)
3981
3930
  return;
3982
- if (t in U && e in U[t])
3983
- return U[t][e];
3984
- const r = _e(t);
3931
+ if (t in G && e in G[t])
3932
+ return G[t][e];
3933
+ const r = xe(t);
3985
3934
  for (let n = 0; n < r.length; n++) {
3986
- const i = r[n], o = Si(i, e);
3935
+ const i = r[n], o = li(i, e);
3987
3936
  if (o)
3988
- return _i(e, t, o);
3937
+ return ui(e, t, o);
3989
3938
  }
3990
3939
  };
3991
- let tt;
3992
- const se = ve({});
3993
- function Ei(e) {
3994
- return tt[e] || null;
3940
+ let Ye;
3941
+ const oe = ye({});
3942
+ function hi(e) {
3943
+ return Ye[e] || null;
3995
3944
  }
3996
- function lr(e) {
3997
- return e in tt;
3945
+ function tr(e) {
3946
+ return e in Ye;
3998
3947
  }
3999
- function Si(e, t) {
4000
- if (!lr(e))
3948
+ function li(e, t) {
3949
+ if (!tr(e))
4001
3950
  return null;
4002
- const r = Ei(e);
4003
- return xi(r, t);
3951
+ const r = hi(e);
3952
+ return ai(r, t);
4004
3953
  }
4005
- function wi(e) {
3954
+ function fi(e) {
4006
3955
  if (e == null)
4007
3956
  return;
4008
- const t = _e(e);
3957
+ const t = xe(e);
4009
3958
  for (let r = 0; r < t.length; r++) {
4010
3959
  const n = t[r];
4011
- if (lr(n))
3960
+ if (tr(n))
4012
3961
  return n;
4013
3962
  }
4014
3963
  }
4015
- function cr(e, ...t) {
4016
- delete U[e], se.update((r) => (r[e] = An.all([r[e] || {}, ...t]), r));
3964
+ function rr(e, ...t) {
3965
+ delete G[e], oe.update((r) => (r[e] = pn.all([r[e] || {}, ...t]), r));
4017
3966
  }
4018
- q(
4019
- [se],
3967
+ Y(
3968
+ [oe],
4020
3969
  ([e]) => Object.keys(e)
4021
3970
  );
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];
3971
+ oe.subscribe((e) => Ye = e);
3972
+ const me = {};
3973
+ function ci(e, t) {
3974
+ me[e].delete(t), me[e].size === 0 && delete me[e];
4026
3975
  }
4027
- function fr(e) {
4028
- return pe[e];
3976
+ function nr(e) {
3977
+ return me[e];
4029
3978
  }
4030
- function Hi(e) {
4031
- return _e(e).map((t) => {
4032
- const r = fr(t);
3979
+ function mi(e) {
3980
+ return xe(e).map((t) => {
3981
+ const r = nr(t);
4033
3982
  return [t, r ? [...r] : []];
4034
3983
  }).filter(([, t]) => t.length > 0);
4035
3984
  }
4036
- function Qe(e) {
4037
- return e == null ? !1 : _e(e).some(
3985
+ function We(e) {
3986
+ return e == null ? !1 : xe(e).some(
4038
3987
  (t) => {
4039
3988
  var r;
4040
- return (r = fr(t)) == null ? void 0 : r.size;
3989
+ return (r = nr(t)) == null ? void 0 : r.size;
4041
3990
  }
4042
3991
  );
4043
3992
  }
4044
- function Ci(e, t) {
3993
+ function di(e, t) {
4045
3994
  return Promise.all(
4046
- t.map((n) => (Ti(e, n), n().then((i) => i.default || i)))
4047
- ).then((n) => cr(e, ...n));
4048
- }
4049
- const te = {};
4050
- 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(
3995
+ t.map((n) => (ci(e, n), n().then((i) => i.default || i)))
3996
+ ).then((n) => rr(e, ...n));
3997
+ }
3998
+ const ee = {};
3999
+ function ir(e) {
4000
+ if (!We(e))
4001
+ return e in ee ? ee[e] : Promise.resolve();
4002
+ const t = mi(e);
4003
+ return ee[e] = Promise.all(
4055
4004
  t.map(
4056
- ([r, n]) => Ci(r, n)
4005
+ ([r, n]) => di(r, n)
4057
4006
  )
4058
4007
  ).then(() => {
4059
- if (Qe(e))
4060
- return mr(e);
4061
- delete te[e];
4062
- }), te[e];
4008
+ if (We(e))
4009
+ return ir(e);
4010
+ delete ee[e];
4011
+ }), ee[e];
4063
4012
  }
4064
- const Bi = {
4013
+ const pi = {
4065
4014
  number: {
4066
4015
  scientific: { notation: "scientific" },
4067
4016
  engineering: { notation: "engineering" },
@@ -4090,180 +4039,180 @@ const Bi = {
4090
4039
  timeZoneName: "short"
4091
4040
  }
4092
4041
  }
4093
- }, Ai = {
4042
+ }, bi = {
4094
4043
  fallbackLocale: null,
4095
4044
  loadingDelay: 200,
4096
- formats: Bi,
4045
+ formats: pi,
4097
4046
  warnOnMissingMessages: !0,
4098
4047
  handleMissingMessage: void 0,
4099
4048
  ignoreTag: !0
4100
- }, Pi = Ai;
4101
- function J() {
4102
- return Pi;
4103
- }
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) => {
4106
- for (var r in t || (t = {}))
4107
- Mi.call(t, r) && Ct(e, r, t[r]);
4108
- if (Ht)
4109
- for (var r of Ht(t))
4110
- Ni.call(t, r) && Ct(e, r, t[r]);
4049
+ }, gi = bi;
4050
+ function Q() {
4051
+ return gi;
4052
+ }
4053
+ const Le = ye(!1);
4054
+ var yi = Object.defineProperty, vi = Object.defineProperties, xi = Object.getOwnPropertyDescriptors, yt = Object.getOwnPropertySymbols, _i = Object.prototype.hasOwnProperty, Ei = Object.prototype.propertyIsEnumerable, vt = (e, t, r) => t in e ? yi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Si = (e, t) => {
4055
+ for (var r in t)
4056
+ _i.call(t, r) && vt(e, r, t[r]);
4057
+ if (yt)
4058
+ for (var r of yt(t))
4059
+ Ei.call(t, r) && vt(e, r, t[r]);
4111
4060
  return e;
4112
- }, Ri = (e, t) => Oi(e, Ii(t));
4113
- let Je;
4114
- const de = ve(null);
4115
- function Bt(e) {
4061
+ }, wi = (e, t) => vi(e, xi(t));
4062
+ let ze;
4063
+ const de = ye(null);
4064
+ function xt(e) {
4116
4065
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4117
4066
  }
4118
- function _e(e, t = J().fallbackLocale) {
4119
- const r = Bt(e);
4120
- return t ? [.../* @__PURE__ */ new Set([...r, ...Bt(t)])] : r;
4067
+ function xe(e, t = Q().fallbackLocale) {
4068
+ const r = xt(e);
4069
+ return t ? [.../* @__PURE__ */ new Set([...r, ...xt(t)])] : r;
4121
4070
  }
4122
- function D() {
4123
- return Je != null ? Je : void 0;
4071
+ function U() {
4072
+ return ze ?? void 0;
4124
4073
  }
4125
4074
  de.subscribe((e) => {
4126
- Je = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4075
+ ze = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4127
4076
  });
4128
- const Gi = (e) => {
4129
- if (e && wi(e) && Qe(e)) {
4130
- const { loadingDelay: t } = J();
4077
+ const Ti = (e) => {
4078
+ if (e && fi(e) && We(e)) {
4079
+ const { loadingDelay: t } = Q();
4131
4080
  let r;
4132
- return typeof window != "undefined" && D() != null && t ? r = window.setTimeout(
4133
- () => Me.set(!0),
4081
+ return typeof window < "u" && U() != null && t ? r = window.setTimeout(
4082
+ () => Le.set(!0),
4134
4083
  t
4135
- ) : Me.set(!0), mr(e).then(() => {
4084
+ ) : Le.set(!0), ir(e).then(() => {
4136
4085
  de.set(e);
4137
4086
  }).finally(() => {
4138
- clearTimeout(r), Me.set(!1);
4087
+ clearTimeout(r), Le.set(!1);
4139
4088
  });
4140
4089
  }
4141
4090
  return de.set(e);
4142
- }, K = Ri($i({}, de), {
4143
- set: Gi
4144
- }), Ee = (e) => {
4091
+ }, q = wi(Si({}, de), {
4092
+ set: Ti
4093
+ }), _e = (e) => {
4145
4094
  const t = /* @__PURE__ */ Object.create(null);
4146
4095
  return (n) => {
4147
4096
  const i = JSON.stringify(n);
4148
4097
  return i in t ? t[i] : t[i] = e(n);
4149
4098
  };
4150
4099
  };
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) => {
4100
+ var Hi = Object.defineProperty, pe = Object.getOwnPropertySymbols, or = Object.prototype.hasOwnProperty, sr = Object.prototype.propertyIsEnumerable, _t = (e, t, r) => t in e ? Hi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, qe = (e, t) => {
4152
4101
  for (var r in t || (t = {}))
4153
- pr.call(t, r) && At(e, r, t[r]);
4154
- if (be)
4155
- for (var r of be(t))
4156
- dr.call(t, r) && At(e, r, t[r]);
4102
+ or.call(t, r) && _t(e, r, t[r]);
4103
+ if (pe)
4104
+ for (var r of pe(t))
4105
+ sr.call(t, r) && _t(e, r, t[r]);
4157
4106
  return e;
4158
- }, ee = (e, t) => {
4107
+ }, K = (e, t) => {
4159
4108
  var r = {};
4160
4109
  for (var n in e)
4161
- pr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4162
- if (e != null && be)
4163
- for (var n of be(e))
4164
- t.indexOf(n) < 0 && dr.call(e, n) && (r[n] = e[n]);
4110
+ or.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4111
+ if (e != null && pe)
4112
+ for (var n of pe(e))
4113
+ t.indexOf(n) < 0 && sr.call(e, n) && (r[n] = e[n]);
4165
4114
  return r;
4166
4115
  };
4167
- const oe = (e, t) => {
4168
- const { formats: r } = J();
4116
+ const ie = (e, t) => {
4117
+ const { formats: r } = Q();
4169
4118
  if (e in r && t in r[e])
4170
4119
  return r[e][t];
4171
4120
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4172
- }, Di = Ee(
4121
+ }, Ci = _e(
4173
4122
  (e) => {
4174
- var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4123
+ var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
4175
4124
  if (r == null)
4176
4125
  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);
4126
+ return n && (i = ie("number", n)), new Intl.NumberFormat(r, i);
4178
4127
  }
4179
- ), Fi = Ee(
4128
+ ), Bi = _e(
4180
4129
  (e) => {
4181
- var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4130
+ var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
4182
4131
  if (r == null)
4183
4132
  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);
4133
+ return n ? i = ie("date", n) : Object.keys(i).length === 0 && (i = ie("date", "short")), new Intl.DateTimeFormat(r, i);
4185
4134
  }
4186
- ), ji = Ee(
4135
+ ), Ai = _e(
4187
4136
  (e) => {
4188
- var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4137
+ var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
4189
4138
  if (r == null)
4190
4139
  throw new Error(
4191
4140
  '[svelte-i18n] A "locale" must be set to format time values'
4192
4141
  );
4193
- return n ? i = oe("time", n) : Object.keys(i).length === 0 && (i = oe("time", "short")), new Intl.DateTimeFormat(r, i);
4142
+ return n ? i = ie("time", n) : Object.keys(i).length === 0 && (i = ie("time", "short")), new Intl.DateTimeFormat(r, i);
4194
4143
  }
4195
- ), ki = (e = {}) => {
4144
+ ), Pi = (e = {}) => {
4196
4145
  var t = e, {
4197
- locale: r = D()
4198
- } = t, n = ee(t, [
4146
+ locale: r = U()
4147
+ } = t, n = K(t, [
4199
4148
  "locale"
4200
4149
  ]);
4201
- return Di(rt({ locale: r }, n));
4202
- }, Vi = (e = {}) => {
4150
+ return Ci(qe({ locale: r }, n));
4151
+ }, Li = (e = {}) => {
4203
4152
  var t = e, {
4204
- locale: r = D()
4205
- } = t, n = ee(t, [
4153
+ locale: r = U()
4154
+ } = t, n = K(t, [
4206
4155
  "locale"
4207
4156
  ]);
4208
- return Fi(rt({ locale: r }, n));
4209
- }, Xi = (e = {}) => {
4157
+ return Bi(qe({ locale: r }, n));
4158
+ }, Oi = (e = {}) => {
4210
4159
  var t = e, {
4211
- locale: r = D()
4212
- } = t, n = ee(t, [
4160
+ locale: r = U()
4161
+ } = t, n = K(t, [
4213
4162
  "locale"
4214
4163
  ]);
4215
- return ji(rt({ locale: r }, n));
4216
- }, Wi = Ee(
4164
+ return Ai(qe({ locale: r }, n));
4165
+ }, Ii = _e(
4217
4166
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4218
- (e, t = D()) => new vi(e, t, J().formats, {
4219
- ignoreTag: J().ignoreTag
4167
+ (e, t = U()) => new si(e, t, Q().formats, {
4168
+ ignoreTag: Q().ignoreTag
4220
4169
  })
4221
- ), zi = (e, t = {}) => {
4170
+ ), Ni = (e, t = {}) => {
4222
4171
  var r, n, i, o;
4223
4172
  let s = t;
4224
4173
  typeof e == "object" && (s = e, e = s.id);
4225
4174
  const {
4226
4175
  values: a,
4227
- locale: h = D(),
4176
+ locale: h = U(),
4228
4177
  default: u
4229
4178
  } = s;
4230
4179
  if (h == null)
4231
4180
  throw new Error(
4232
4181
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4233
4182
  );
4234
- let l = hr(e, h);
4183
+ let l = er(e, h);
4235
4184
  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;
4185
+ 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
4186
  else if (typeof l != "string")
4238
4187
  return console.warn(
4239
4188
  `[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.`
4240
4189
  ), l;
4241
4190
  if (!a)
4242
4191
  return l;
4243
- let c = l;
4192
+ let f = l;
4244
4193
  try {
4245
- c = Wi(l, h).format(a);
4246
- } catch (f) {
4247
- f instanceof Error && console.warn(
4194
+ f = Ii(l, h).format(a);
4195
+ } catch (c) {
4196
+ c instanceof Error && console.warn(
4248
4197
  `[svelte-i18n] Message "${e}" has syntax error:`,
4249
- f.message
4198
+ c.message
4250
4199
  );
4251
4200
  }
4252
- 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";
4260
- function Pt(e, t) {
4261
- cr(e, t);
4262
- }
4263
- function eo(e) {
4264
- K.set(e);
4265
- }
4266
- const Lt = {
4201
+ return f;
4202
+ }, Mi = (e, t) => Oi(t).format(e), $i = (e, t) => Li(t).format(e), Ri = (e, t) => Pi(t).format(e), Gi = (e, t = U()) => er(e, t), Ui = Y([q, oe], () => Ni);
4203
+ Y([q], () => Mi);
4204
+ Y([q], () => $i);
4205
+ Y([q], () => Ri);
4206
+ Y([q, oe], () => Gi);
4207
+ window.emWidgets = { topic: Yr };
4208
+ const Di = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4209
+ function Et(e, t) {
4210
+ rr(e, t);
4211
+ }
4212
+ function Fi(e) {
4213
+ q.set(e);
4214
+ }
4215
+ const St = {
4267
4216
  en: {
4268
4217
  cancel: "Cancel",
4269
4218
  confirm: "Confirm"
@@ -4309,68 +4258,68 @@ const Lt = {
4309
4258
  confirm: "Confirm"
4310
4259
  }
4311
4260
  };
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}');
4261
+ function ji(e) {
4262
+ gr(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}');
4314
4263
  }
4315
- const ro = (e) => ({}), Ot = (e) => ({});
4316
- function no(e) {
4264
+ const ki = (e) => ({}), wt = (e) => ({});
4265
+ function Vi(e) {
4317
4266
  let t, r;
4318
4267
  return {
4319
4268
  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");
4269
+ t = et("svg"), r = et("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
4270
  },
4322
4271
  m(n, i) {
4323
- qe(n, t, i), C(t, r);
4272
+ Qe(n, t, i), C(t, r);
4324
4273
  },
4325
- p: I,
4274
+ p: O,
4326
4275
  d(n) {
4327
- n && ge(t);
4276
+ n && be(t);
4328
4277
  }
4329
4278
  };
4330
4279
  }
4331
- function io(e) {
4280
+ function Xi(e) {
4332
4281
  let t, r, n, i, o, s, a, h, u, l = (
4333
4282
  /*$_*/
4334
4283
  e[2]("cancel") + ""
4335
- ), c, f, m, v = (
4284
+ ), f, c, m, v = (
4336
4285
  /*$_*/
4337
4286
  e[2]("confirm") + ""
4338
- ), g, E, B, O;
4339
- const T = (
4287
+ ), g, E, B, L;
4288
+ const w = (
4340
4289
  /*#slots*/
4341
4290
  e[13].close
4342
- ), A = Cr(
4343
- T,
4291
+ ), A = mr(
4292
+ w,
4344
4293
  e,
4345
4294
  /*$$scope*/
4346
4295
  e[12],
4347
- Ot
4348
- ), S = A || no();
4296
+ wt
4297
+ ), T = A || Vi();
4349
4298
  return {
4350
4299
  c() {
4351
- t = N("div"), r = N("div"), n = N("span"), S && S.c(), i = we(), o = N("div"), s = he(
4300
+ t = N("div"), r = N("div"), n = N("span"), T.c(), i = Ee(), o = N("div"), s = ue(
4352
4301
  /*modaltext*/
4353
4302
  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*/
4303
+ ), a = Ee(), h = N("div"), u = N("button"), f = ue(l), c = Ee(), m = N("button"), g = ue(v), S(n, "class", "ModalCloseBtn"), S(n, "role", "button"), S(o, "class", "GamingLimitsConfirmationContent"), S(u, "class", "GamingLimitsCancelButton"), S(m, "class", "GamingLimitsConfirmButton"), S(h, "class", "GamingLimitsConfirmationControlArea " + /*isMobile*/
4304
+ (e[3] ? "GamingLimitsConfirmationControlAreaMobile" : "")), S(r, "class", "GamingLimitsConfirmationContainer " + /*isMobile*/
4305
+ (e[3] ? "GamingLimitsConfirmationContainerMobile" : "")), S(t, "class", "GamingLimitsConfirmationWrapper " + /*isMobile*/
4357
4306
  (e[3] ? "GamingLimitsConfirmationMobileWrapper" : ""));
4358
4307
  },
4359
4308
  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(
4309
+ Qe(x, t, P), C(t, r), C(r, n), T.m(n, null), C(r, i), C(r, o), C(o, s), C(r, a), C(r, h), C(h, u), C(u, f), C(h, c), C(h, m), C(m, g), e[14](t), E = !0, B || (L = [
4310
+ Se(
4362
4311
  n,
4363
4312
  "click",
4364
4313
  /*close*/
4365
4314
  e[4]
4366
4315
  ),
4367
- Te(
4316
+ Se(
4368
4317
  u,
4369
4318
  "click",
4370
4319
  /*cancelChanges*/
4371
4320
  e[6]
4372
4321
  ),
4373
- Te(
4322
+ Se(
4374
4323
  m,
4375
4324
  "click",
4376
4325
  /*confirmChanges*/
@@ -4380,65 +4329,65 @@ function io(e) {
4380
4329
  },
4381
4330
  p(x, [P]) {
4382
4331
  A && A.p && (!E || P & /*$$scope*/
4383
- 4096) && Ar(
4332
+ 4096) && pr(
4384
4333
  A,
4385
- T,
4334
+ w,
4386
4335
  x,
4387
4336
  /*$$scope*/
4388
4337
  x[12],
4389
- E ? Br(
4390
- T,
4338
+ E ? dr(
4339
+ w,
4391
4340
  /*$$scope*/
4392
4341
  x[12],
4393
4342
  P,
4394
- ro
4395
- ) : Pr(
4343
+ ki
4344
+ ) : br(
4396
4345
  /*$$scope*/
4397
4346
  x[12]
4398
4347
  ),
4399
- Ot
4348
+ wt
4400
4349
  ), (!E || P & /*modaltext*/
4401
- 1) && He(
4350
+ 1) && we(
4402
4351
  s,
4403
4352
  /*modaltext*/
4404
4353
  x[0]
4405
4354
  ), (!E || P & /*$_*/
4406
4355
  4) && l !== (l = /*$_*/
4407
- x[2]("cancel") + "") && He(c, l), (!E || P & /*$_*/
4356
+ x[2]("cancel") + "") && we(f, l), (!E || P & /*$_*/
4408
4357
  4) && v !== (v = /*$_*/
4409
- x[2]("confirm") + "") && He(g, v);
4358
+ x[2]("confirm") + "") && we(g, v);
4410
4359
  },
4411
4360
  i(x) {
4412
- E || (Rt(S, x), E = !0);
4361
+ E || (At(T, x), E = !0);
4413
4362
  },
4414
4363
  o(x) {
4415
- kr(S, x), E = !1;
4364
+ Ar(T, x), E = !1;
4416
4365
  },
4417
4366
  d(x) {
4418
- x && ge(t), S && S.d(x), e[14](null), B = !1, Y(O);
4367
+ x && be(t), T.d(x), e[14](null), B = !1, J(L);
4419
4368
  }
4420
4369
  };
4421
4370
  }
4422
- function oo(e, t, r) {
4371
+ function Wi(e, t, r) {
4423
4372
  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]);
4373
+ cr(e, Ui, (d) => r(2, n = d));
4374
+ 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: f = "" } = t;
4375
+ const c = () => {
4376
+ fetch(f).then((I) => I.json()).then((I) => {
4377
+ Object.keys(I).forEach((D) => {
4378
+ Et(D, I[D]);
4430
4379
  });
4431
- }).catch((M) => {
4432
- console.log(M);
4380
+ }).catch((I) => {
4381
+ console.log(I);
4433
4382
  });
4434
4383
  };
4435
- Object.keys(Lt).forEach((p) => {
4436
- Pt(p, Lt[p]);
4384
+ Object.keys(St).forEach((d) => {
4385
+ Et(d, St[d]);
4437
4386
  });
4438
- let m, v = window.navigator.userAgent, g = Ki(v) !== "PC", E = {}, B = "";
4439
- const O = () => {
4387
+ let m, v = window.navigator.userAgent, g = Di(v) !== "PC", E = {}, B = "";
4388
+ const L = () => {
4440
4389
  window.postMessage({ type: "ModalClosed" }, window.location.href);
4441
- }, T = () => {
4390
+ }, w = () => {
4442
4391
  a === "groupEdit" ? window.postMessage({ type: "GamingLimitsConfirmChanges" }, window.location.href) : a === "infoCard" && window.postMessage(
4443
4392
  {
4444
4393
  type: "PlayerAccountGamingLimitDelete",
@@ -4449,71 +4398,71 @@ function oo(e, t, r) {
4449
4398
  ), window.postMessage({ type: "ModalClosed" }, window.location.href);
4450
4399
  }, A = () => {
4451
4400
  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) {
4401
+ }, T = (d) => d === "Time Limit" ? "cumulativeSessionLimits" : d === "Deposit Limit" ? "depositLimits" : d === "Wagering Limit" ? "wageringLimit" : "lossLimit", x = (d) => {
4402
+ if (d.data)
4403
+ switch (d.data.type) {
4455
4404
  case "DeleteLimitsItem":
4456
- E = p.data.removeData, B = S(p.data.removeName);
4405
+ E = d.data.removeData, B = T(d.data.removeName);
4457
4406
  break;
4458
4407
  }
4459
4408
  }, P = () => {
4460
- eo(h);
4461
- }, 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(
4409
+ Fi(h);
4410
+ }, ar = () => {
4411
+ let d = document.createElement("style");
4412
+ d.innerHTML = u, m.appendChild(d);
4413
+ }, ur = () => {
4414
+ let d = new URL(l), I = document.createElement("style");
4415
+ fetch(d.href).then((D) => D.text()).then((D) => {
4416
+ I.innerHTML = D, setTimeout(
4468
4417
  () => {
4469
- m.appendChild(M);
4418
+ m.appendChild(I);
4470
4419
  },
4471
4420
  1
4472
4421
  );
4473
4422
  });
4474
4423
  };
4475
- Rr(() => (window.addEventListener("message", x, !1), () => {
4424
+ Sr(() => (window.addEventListener("message", x, !1), () => {
4476
4425
  window.removeEventListener("message", x);
4477
4426
  }));
4478
- function yr(p) {
4479
- Ne[p ? "unshift" : "push"](() => {
4480
- m = p, r(1, m);
4427
+ function hr(d) {
4428
+ Oe[d ? "unshift" : "push"](() => {
4429
+ m = d, r(1, m);
4481
4430
  });
4482
4431
  }
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);
4432
+ return e.$$set = (d) => {
4433
+ "modaltext" in d && r(0, s = d.modaltext), "modalsource" in d && r(7, a = d.modalsource), "lang" in d && r(8, h = d.lang), "clientstyling" in d && r(9, u = d.clientstyling), "clientstylingurl" in d && r(10, l = d.clientstylingurl), "translationurl" in d && r(11, f = d.translationurl), "$$scope" in d && r(12, o = d.$$scope);
4485
4434
  }, e.$$.update = () => {
4486
4435
  e.$$.dirty & /*modaltext, modalsource, lang*/
4487
4436
  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();
4437
+ 514 && u && m && ar(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4438
+ 1026 && l && m && ur(), e.$$.dirty & /*translationurl*/
4439
+ 2048 && f && c();
4491
4440
  }, [
4492
4441
  s,
4493
4442
  m,
4494
4443
  n,
4495
4444
  g,
4496
- O,
4497
- T,
4445
+ L,
4446
+ w,
4498
4447
  A,
4499
4448
  a,
4500
4449
  h,
4501
4450
  u,
4502
4451
  l,
4503
- c,
4452
+ f,
4504
4453
  o,
4505
4454
  i,
4506
- yr
4455
+ hr
4507
4456
  ];
4508
4457
  }
4509
- class so extends Qr {
4458
+ class zi extends Mr {
4510
4459
  constructor(t) {
4511
- super(), zr(
4460
+ super(), Ir(
4512
4461
  this,
4513
4462
  t,
4514
- oo,
4515
- io,
4516
- Mt,
4463
+ Wi,
4464
+ Xi,
4465
+ Ht,
4517
4466
  {
4518
4467
  modaltext: 0,
4519
4468
  modalsource: 7,
@@ -4522,47 +4471,47 @@ class so extends Qr {
4522
4471
  clientstylingurl: 10,
4523
4472
  translationurl: 11
4524
4473
  },
4525
- to
4474
+ ji
4526
4475
  );
4527
4476
  }
4528
4477
  get modaltext() {
4529
4478
  return this.$$.ctx[0];
4530
4479
  }
4531
4480
  set modaltext(t) {
4532
- this.$$set({ modaltext: t }), G();
4481
+ this.$$set({ modaltext: t }), R();
4533
4482
  }
4534
4483
  get modalsource() {
4535
4484
  return this.$$.ctx[7];
4536
4485
  }
4537
4486
  set modalsource(t) {
4538
- this.$$set({ modalsource: t }), G();
4487
+ this.$$set({ modalsource: t }), R();
4539
4488
  }
4540
4489
  get lang() {
4541
4490
  return this.$$.ctx[8];
4542
4491
  }
4543
4492
  set lang(t) {
4544
- this.$$set({ lang: t }), G();
4493
+ this.$$set({ lang: t }), R();
4545
4494
  }
4546
4495
  get clientstyling() {
4547
4496
  return this.$$.ctx[9];
4548
4497
  }
4549
4498
  set clientstyling(t) {
4550
- this.$$set({ clientstyling: t }), G();
4499
+ this.$$set({ clientstyling: t }), R();
4551
4500
  }
4552
4501
  get clientstylingurl() {
4553
4502
  return this.$$.ctx[10];
4554
4503
  }
4555
4504
  set clientstylingurl(t) {
4556
- this.$$set({ clientstylingurl: t }), G();
4505
+ this.$$set({ clientstylingurl: t }), R();
4557
4506
  }
4558
4507
  get translationurl() {
4559
4508
  return this.$$.ctx[11];
4560
4509
  }
4561
4510
  set translationurl(t) {
4562
- this.$$set({ translationurl: t }), G();
4511
+ this.$$set({ translationurl: t }), R();
4563
4512
  }
4564
4513
  }
4565
- Zr(so, { modaltext: {}, modalsource: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, ["close"], [], !0);
4514
+ Nr(zi, { modaltext: {}, modalsource: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, ["close"], [], !0);
4566
4515
  export {
4567
- so as default
4516
+ zi as P
4568
4517
  };