@everymatrix/player-account-timeout 1.55.0 → 1.56.0

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.
Files changed (23) hide show
  1. package/components/PlayerAccountGeneralConfirmationModal-BFNeYxW-.cjs +5 -0
  2. package/components/{PlayerAccountGeneralConfirmationModal-ChB7aHS1.js → PlayerAccountGeneralConfirmationModal-BMfVGVNy.js} +884 -873
  3. package/components/{PlayerAccountGeneralConfirmationModal-0bB89rMF.js → PlayerAccountGeneralConfirmationModal-CHHl3cC2.js} +894 -883
  4. package/components/{PlayerAccountTimeout-kakTUp8_.js → PlayerAccountTimeout-CWUvNaQm.js} +10576 -10800
  5. package/components/PlayerAccountTimeout-DZUYC3Pl.cjs +3557 -0
  6. package/components/{PlayerAccountTimeout-DdqP9yaE.js → PlayerAccountTimeout-XQj4Cdw_.js} +10565 -10835
  7. package/es2015/player-account-timeout.cjs +1 -1
  8. package/es2015/player-account-timeout.js +1 -1
  9. package/esnext/player-account-timeout.js +1 -1
  10. package/package.json +1 -1
  11. package/stencil/app-globals-0f993ce5-D-kw1sls.js +5 -0
  12. package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +1 -0
  13. package/stencil/index-db5752f9--Bvt52z2.js +610 -0
  14. package/stencil/index-db5752f9-CAzJb5N3.js +594 -0
  15. package/stencil/index-db5752f9-CEbtfUsZ.cjs +1 -0
  16. package/stencil/ui-skeleton-982450d2-BH4FIF5y.js +122 -0
  17. package/stencil/ui-skeleton-982450d2-BYrWGs9b.cjs +1 -0
  18. package/stencil/ui-skeleton-982450d2-DGJAETMx.js +122 -0
  19. package/stencil/ui-skeleton-DlfwJJb1.js +29 -0
  20. package/stencil/ui-skeleton-DtnYQAt6.cjs +1 -0
  21. package/stencil/ui-skeleton-rqI1NmdA.js +11 -0
  22. package/components/PlayerAccountGeneralConfirmationModal-DMLHphU8.cjs +0 -5
  23. package/components/PlayerAccountTimeout-4d7gE7Sk.cjs +0 -4171
@@ -1,31 +1,31 @@
1
1
  function N() {
2
2
  }
3
- function br(e, t) {
3
+ function cr(e, t) {
4
4
  for (const r in t) e[r] = t[r];
5
5
  return (
6
6
  /** @type {T & S} */
7
7
  e
8
8
  );
9
9
  }
10
- function Ct(e) {
10
+ function Ht(e) {
11
11
  return e();
12
12
  }
13
- function tt() {
13
+ function Ye() {
14
14
  return /* @__PURE__ */ Object.create(null);
15
15
  }
16
- function q(e) {
17
- e.forEach(Ct);
16
+ function J(e) {
17
+ e.forEach(Ht);
18
18
  }
19
- function qe(e) {
19
+ function Ze(e) {
20
20
  return typeof e == "function";
21
21
  }
22
- function Pt(e, t) {
22
+ function Bt(e, t) {
23
23
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
24
24
  }
25
- function gr(e) {
25
+ function fr(e) {
26
26
  return Object.keys(e).length === 0;
27
27
  }
28
- function Ot(e, ...t) {
28
+ function At(e, ...t) {
29
29
  if (e == null) {
30
30
  for (const n of t)
31
31
  n(void 0);
@@ -34,19 +34,19 @@ function Ot(e, ...t) {
34
34
  const r = e.subscribe(...t);
35
35
  return r.unsubscribe ? () => r.unsubscribe() : r;
36
36
  }
37
- function vr(e, t, r) {
38
- e.$$.on_destroy.push(Ot(t, r));
37
+ function mr(e, t, r) {
38
+ e.$$.on_destroy.push(At(t, r));
39
39
  }
40
- function yr(e, t, r, n) {
40
+ function dr(e, t, r, n) {
41
41
  if (e) {
42
- const i = It(e, t, r, n);
42
+ const i = Ct(e, t, r, n);
43
43
  return e[0](i);
44
44
  }
45
45
  }
46
- function It(e, t, r, n) {
47
- return e[1] && n ? br(r.ctx.slice(), e[1](n(t))) : r.ctx;
46
+ function Ct(e, t, r, n) {
47
+ return e[1] && n ? cr(r.ctx.slice(), e[1](n(t))) : r.ctx;
48
48
  }
49
- function xr(e, t, r, n) {
49
+ function pr(e, t, r, n) {
50
50
  if (e[2] && n) {
51
51
  const i = e[2](n(r));
52
52
  if (t.dirty === void 0)
@@ -61,13 +61,13 @@ function xr(e, t, r, n) {
61
61
  }
62
62
  return t.dirty;
63
63
  }
64
- function _r(e, t, r, n, i, o) {
64
+ function br(e, t, r, n, i, o) {
65
65
  if (i) {
66
- const s = It(t, r, n, o);
66
+ const s = Ct(t, r, n, o);
67
67
  e.p(s, i);
68
68
  }
69
69
  }
70
- function Er(e) {
70
+ function gr(e) {
71
71
  if (e.ctx.length > 32) {
72
72
  const t = [], r = e.ctx.length / 32;
73
73
  for (let n = 0; n < r; n++)
@@ -76,17 +76,17 @@ function Er(e) {
76
76
  }
77
77
  return -1;
78
78
  }
79
- function H(e, t) {
79
+ function B(e, t) {
80
80
  e.appendChild(t);
81
81
  }
82
- function Sr(e, t, r) {
83
- const n = wr(e);
82
+ function vr(e, t, r) {
83
+ const n = yr(e);
84
84
  if (!n.getElementById(t)) {
85
85
  const i = M("style");
86
- i.id = t, i.textContent = r, Tr(n, i);
86
+ i.id = t, i.textContent = r, xr(n, i);
87
87
  }
88
88
  }
89
- function wr(e) {
89
+ function yr(e) {
90
90
  if (!e) return document;
91
91
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
92
92
  return t && /** @type {ShadowRoot} */
@@ -95,56 +95,62 @@ function wr(e) {
95
95
  t
96
96
  ) : e.ownerDocument;
97
97
  }
98
- function Tr(e, t) {
99
- return H(
98
+ function xr(e, t) {
99
+ return B(
100
100
  /** @type {Document} */
101
101
  e.head || e,
102
102
  t
103
103
  ), t.sheet;
104
104
  }
105
- function ae(e, t, r) {
105
+ function se(e, t, r) {
106
106
  e.insertBefore(t, r || null);
107
107
  }
108
- function J(e) {
108
+ function q(e) {
109
109
  e.parentNode && e.parentNode.removeChild(e);
110
110
  }
111
- function Ji(e, t) {
111
+ function qi(e, t) {
112
112
  for (let r = 0; r < e.length; r += 1)
113
113
  e[r] && e[r].d(t);
114
114
  }
115
115
  function M(e) {
116
116
  return document.createElement(e);
117
117
  }
118
- function rt(e) {
118
+ function Ke(e) {
119
119
  return document.createElementNS("http://www.w3.org/2000/svg", e);
120
120
  }
121
- function ne(e) {
121
+ function X(e) {
122
122
  return document.createTextNode(e);
123
123
  }
124
- function le() {
125
- return ne(" ");
124
+ function ue() {
125
+ return X(" ");
126
+ }
127
+ function Yi() {
128
+ return X("");
126
129
  }
127
- function Me(e, t, r, n) {
130
+ function Oe(e, t, r, n) {
128
131
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
129
132
  }
130
- function T(e, t, r) {
133
+ function H(e, t, r) {
131
134
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
132
135
  }
133
- function Yi(e, t, r) {
136
+ function Ki(e, t, r) {
134
137
  const n = t.toLowerCase();
135
- n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : T(e, t, r);
138
+ n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : H(e, t, r);
136
139
  }
137
- function Hr(e) {
140
+ function _r(e) {
138
141
  return Array.from(e.childNodes);
139
142
  }
140
- function ge(e, t) {
143
+ function be(e, t) {
141
144
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
142
145
  t);
143
146
  }
144
- function Ki(e, t) {
147
+ function eo(e, t) {
145
148
  e.value = t ?? "";
146
149
  }
147
- function eo(e, t, r) {
150
+ function to(e, t, r, n) {
151
+ r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
152
+ }
153
+ function ro(e, t, r) {
148
154
  for (let n = 0; n < e.options.length; n += 1) {
149
155
  const i = e.options[n];
150
156
  if (i.__value === t) {
@@ -154,11 +160,11 @@ function eo(e, t, r) {
154
160
  }
155
161
  (!r || t !== void 0) && (e.selectedIndex = -1);
156
162
  }
157
- function to(e) {
163
+ function no(e) {
158
164
  const t = e.querySelector(":checked");
159
165
  return t && t.__value;
160
166
  }
161
- function Br(e) {
167
+ function Er(e) {
162
168
  const t = {};
163
169
  return e.childNodes.forEach(
164
170
  /** @param {Element} node */
@@ -167,96 +173,96 @@ function Br(e) {
167
173
  }
168
174
  ), t;
169
175
  }
170
- let ie;
176
+ let ne;
171
177
  function re(e) {
172
- ie = e;
173
- }
174
- function Ar() {
175
- if (!ie) throw new Error("Function called outside component initialization");
176
- return ie;
178
+ ne = e;
177
179
  }
178
- function ro(e) {
179
- Ar().$$.on_mount.push(e);
180
+ function Sr() {
181
+ if (!ne) throw new Error("Function called outside component initialization");
182
+ return ne;
180
183
  }
181
- const k = [], Ne = [];
182
- let V = [];
183
- const nt = [], Cr = /* @__PURE__ */ Promise.resolve();
184
- let Le = !1;
185
- function Pr() {
186
- Le || (Le = !0, Cr.then(I));
187
- }
188
- function Re(e) {
189
- V.push(e);
190
- }
191
- const Te = /* @__PURE__ */ new Set();
192
- let F = 0;
193
- function I() {
194
- if (F !== 0)
184
+ function wr(e) {
185
+ Sr().$$.on_mount.push(e);
186
+ }
187
+ const j = [], Ie = [];
188
+ let k = [];
189
+ const et = [], Tr = /* @__PURE__ */ Promise.resolve();
190
+ let Me = !1;
191
+ function Hr() {
192
+ Me || (Me = !0, Tr.then(O));
193
+ }
194
+ function Ne(e) {
195
+ k.push(e);
196
+ }
197
+ const we = /* @__PURE__ */ new Set();
198
+ let D = 0;
199
+ function O() {
200
+ if (D !== 0)
195
201
  return;
196
- const e = ie;
202
+ const e = ne;
197
203
  do {
198
204
  try {
199
- for (; F < k.length; ) {
200
- const t = k[F];
201
- F++, re(t), Or(t.$$);
205
+ for (; D < j.length; ) {
206
+ const t = j[D];
207
+ D++, re(t), Br(t.$$);
202
208
  }
203
209
  } catch (t) {
204
- throw k.length = 0, F = 0, t;
210
+ throw j.length = 0, D = 0, t;
205
211
  }
206
- for (re(null), k.length = 0, F = 0; Ne.length; ) Ne.pop()();
207
- for (let t = 0; t < V.length; t += 1) {
208
- const r = V[t];
209
- Te.has(r) || (Te.add(r), r());
212
+ for (re(null), j.length = 0, D = 0; Ie.length; ) Ie.pop()();
213
+ for (let t = 0; t < k.length; t += 1) {
214
+ const r = k[t];
215
+ we.has(r) || (we.add(r), r());
210
216
  }
211
- V.length = 0;
212
- } while (k.length);
213
- for (; nt.length; )
214
- nt.pop()();
215
- Le = !1, Te.clear(), re(e);
217
+ k.length = 0;
218
+ } while (j.length);
219
+ for (; et.length; )
220
+ et.pop()();
221
+ Me = !1, we.clear(), re(e);
216
222
  }
217
- function Or(e) {
223
+ function Br(e) {
218
224
  if (e.fragment !== null) {
219
- e.update(), q(e.before_update);
225
+ e.update(), J(e.before_update);
220
226
  const t = e.dirty;
221
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Re);
227
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ne);
222
228
  }
223
229
  }
224
- function Ir(e) {
230
+ function Ar(e) {
225
231
  const t = [], r = [];
226
- V.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), V = t;
232
+ k.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), k = t;
227
233
  }
228
- const fe = /* @__PURE__ */ new Set();
229
- let Mr;
230
- function Mt(e, t) {
231
- e && e.i && (fe.delete(e), e.i(t));
234
+ const ce = /* @__PURE__ */ new Set();
235
+ let Cr;
236
+ function Pt(e, t) {
237
+ e && e.i && (ce.delete(e), e.i(t));
232
238
  }
233
- function Nr(e, t, r, n) {
239
+ function Pr(e, t, r, n) {
234
240
  if (e && e.o) {
235
- if (fe.has(e)) return;
236
- fe.add(e), Mr.c.push(() => {
237
- fe.delete(e);
241
+ if (ce.has(e)) return;
242
+ ce.add(e), Cr.c.push(() => {
243
+ ce.delete(e);
238
244
  }), e.o(t);
239
245
  }
240
246
  }
241
- function no(e) {
247
+ function io(e) {
242
248
  return e?.length !== void 0 ? e : Array.from(e);
243
249
  }
244
- function Lr(e, t, r) {
250
+ function Or(e, t, r) {
245
251
  const { fragment: n, after_update: i } = e.$$;
246
- n && n.m(t, r), Re(() => {
247
- const o = e.$$.on_mount.map(Ct).filter(qe);
248
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : q(o), e.$$.on_mount = [];
249
- }), i.forEach(Re);
252
+ n && n.m(t, r), Ne(() => {
253
+ const o = e.$$.on_mount.map(Ht).filter(Ze);
254
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : J(o), e.$$.on_mount = [];
255
+ }), i.forEach(Ne);
250
256
  }
251
- function Rr(e, t) {
257
+ function Ir(e, t) {
252
258
  const r = e.$$;
253
- r.fragment !== null && (Ir(r.after_update), q(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
259
+ r.fragment !== null && (Ar(r.after_update), J(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
254
260
  }
255
- function $r(e, t) {
256
- e.$$.dirty[0] === -1 && (k.push(e), Pr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
261
+ function Mr(e, t) {
262
+ e.$$.dirty[0] === -1 && (j.push(e), Hr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
257
263
  }
258
- function Gr(e, t, r, n, i, o, s = null, a = [-1]) {
259
- const l = ie;
264
+ function Nr(e, t, r, n, i, o, s = null, a = [-1]) {
265
+ const l = ne;
260
266
  re(e);
261
267
  const u = e.$$ = {
262
268
  fragment: null,
@@ -265,7 +271,7 @@ function Gr(e, t, r, n, i, o, s = null, a = [-1]) {
265
271
  props: o,
266
272
  update: N,
267
273
  not_equal: i,
268
- bound: tt(),
274
+ bound: Ye(),
269
275
  // lifecycle
270
276
  on_mount: [],
271
277
  on_destroy: [],
@@ -274,7 +280,7 @@ function Gr(e, t, r, n, i, o, s = null, a = [-1]) {
274
280
  after_update: [],
275
281
  context: new Map(t.context || (l ? l.$$.context : [])),
276
282
  // everything else
277
- callbacks: tt(),
283
+ callbacks: Ye(),
278
284
  dirty: a,
279
285
  skip_bound: !1,
280
286
  root: t.target || l.$$.root
@@ -282,20 +288,20 @@ function Gr(e, t, r, n, i, o, s = null, a = [-1]) {
282
288
  s && s(u.root);
283
289
  let h = !1;
284
290
  if (u.ctx = r ? r(e, t.props || {}, (c, f, ...m) => {
285
- const p = m.length ? m[0] : f;
286
- return u.ctx && i(u.ctx[c], u.ctx[c] = p) && (!u.skip_bound && u.bound[c] && u.bound[c](p), h && $r(e, c)), f;
287
- }) : [], u.update(), h = !0, q(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
291
+ const d = m.length ? m[0] : f;
292
+ return u.ctx && i(u.ctx[c], u.ctx[c] = d) && (!u.skip_bound && u.bound[c] && u.bound[c](d), h && Mr(e, c)), f;
293
+ }) : [], u.update(), h = !0, J(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
288
294
  if (t.hydrate) {
289
- const c = Hr(t.target);
290
- u.fragment && u.fragment.l(c), c.forEach(J);
295
+ const c = _r(t.target);
296
+ u.fragment && u.fragment.l(c), c.forEach(q);
291
297
  } else
292
298
  u.fragment && u.fragment.c();
293
- t.intro && Mt(e.$$.fragment), Lr(e, t.target, t.anchor), I();
299
+ t.intro && Pt(e.$$.fragment), Or(e, t.target, t.anchor), O();
294
300
  }
295
301
  re(l);
296
302
  }
297
- let Nt;
298
- typeof HTMLElement == "function" && (Nt = class extends HTMLElement {
303
+ let Ot;
304
+ typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
299
305
  /** The Svelte component constructor */
300
306
  $$ctor;
301
307
  /** Slots */
@@ -337,29 +343,29 @@ typeof HTMLElement == "function" && (Nt = class extends HTMLElement {
337
343
  let o;
338
344
  return {
339
345
  c: function() {
340
- o = M("slot"), i !== "default" && T(o, "name", i);
346
+ o = M("slot"), i !== "default" && H(o, "name", i);
341
347
  },
342
348
  /**
343
349
  * @param {HTMLElement} target
344
350
  * @param {HTMLElement} [anchor]
345
351
  */
346
352
  m: function(l, u) {
347
- ae(l, o, u);
353
+ se(l, o, u);
348
354
  },
349
355
  d: function(l) {
350
- l && J(o);
356
+ l && q(o);
351
357
  }
352
358
  };
353
359
  };
354
360
  };
355
361
  if (await Promise.resolve(), !this.$$cn || this.$$c)
356
362
  return;
357
- const t = {}, r = Br(this);
363
+ const t = {}, r = Er(this);
358
364
  for (const i of this.$$s)
359
365
  i in r && (t[i] = [e(i)]);
360
366
  for (const i of this.attributes) {
361
367
  const o = this.$$g_p(i.name);
362
- o in this.$$d || (this.$$d[o] = me(o, i.value, this.$$p_d, "toProp"));
368
+ o in this.$$d || (this.$$d[o] = fe(o, i.value, this.$$p_d, "toProp"));
363
369
  }
364
370
  for (const i in this.$$p_d)
365
371
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -377,7 +383,7 @@ typeof HTMLElement == "function" && (Nt = class extends HTMLElement {
377
383
  this.$$r = !0;
378
384
  for (const i in this.$$p_d)
379
385
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
380
- const o = me(
386
+ const o = fe(
381
387
  i,
382
388
  this.$$d[i],
383
389
  this.$$p_d,
@@ -399,7 +405,7 @@ typeof HTMLElement == "function" && (Nt = class extends HTMLElement {
399
405
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
400
406
  // and setting attributes through setAttribute etc, this is helpful
401
407
  attributeChangedCallback(e, t, r) {
402
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = me(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
408
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = fe(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
403
409
  }
404
410
  disconnectedCallback() {
405
411
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -412,7 +418,7 @@ typeof HTMLElement == "function" && (Nt = class extends HTMLElement {
412
418
  ) || e;
413
419
  }
414
420
  });
415
- function me(e, t, r, n) {
421
+ function fe(e, t, r, n) {
416
422
  const i = r[e]?.type;
417
423
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
418
424
  return t;
@@ -441,8 +447,8 @@ function me(e, t, r, n) {
441
447
  return t;
442
448
  }
443
449
  }
444
- function Ur(e, t, r, n, i, o) {
445
- let s = class extends Nt {
450
+ function Lr(e, t, r, n, i, o) {
451
+ let s = class extends Ot {
446
452
  constructor() {
447
453
  super(e, r, i), this.$$p_d = t;
448
454
  }
@@ -458,7 +464,7 @@ function Ur(e, t, r, n, i, o) {
458
464
  return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
459
465
  },
460
466
  set(l) {
461
- l = me(a, l, t), this.$$d[a] = l, this.$$c?.$set({ [a]: l });
467
+ l = fe(a, l, t), this.$$d[a] = l, this.$$c?.$set({ [a]: l });
462
468
  }
463
469
  });
464
470
  }), n.forEach((a) => {
@@ -470,7 +476,7 @@ function Ur(e, t, r, n, i, o) {
470
476
  }), e.element = /** @type {any} */
471
477
  s, s;
472
478
  }
473
- class Dr {
479
+ class Rr {
474
480
  /**
475
481
  * ### PRIVATE API
476
482
  *
@@ -489,7 +495,7 @@ class Dr {
489
495
  $$set = void 0;
490
496
  /** @returns {void} */
491
497
  $destroy() {
492
- Rr(this, 1), this.$destroy = N;
498
+ Ir(this, 1), this.$destroy = N;
493
499
  }
494
500
  /**
495
501
  * @template {Extract<keyof Events, string>} K
@@ -498,7 +504,7 @@ class Dr {
498
504
  * @returns {() => void}
499
505
  */
500
506
  $on(t, r) {
501
- if (!qe(r))
507
+ if (!Ze(r))
502
508
  return N;
503
509
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
504
510
  return n.push(r), () => {
@@ -511,26 +517,26 @@ class Dr {
511
517
  * @returns {void}
512
518
  */
513
519
  $set(t) {
514
- this.$$set && !gr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
520
+ this.$$set && !fr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
515
521
  }
516
522
  }
517
- const Fr = "4";
518
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Fr);
519
- var io = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
520
- function jr(e) {
523
+ const $r = "4";
524
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add($r);
525
+ var oo = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
526
+ function Gr(e) {
521
527
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
522
528
  }
523
- var $e = function(e, t) {
524
- return $e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
529
+ var Le = function(e, t) {
530
+ return Le = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
525
531
  r.__proto__ = n;
526
532
  } || function(r, n) {
527
533
  for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
528
- }, $e(e, t);
534
+ }, Le(e, t);
529
535
  };
530
- function $(e, t) {
536
+ function R(e, t) {
531
537
  if (typeof t != "function" && t !== null)
532
538
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
533
- $e(e, t);
539
+ Le(e, t);
534
540
  function r() {
535
541
  this.constructor = e;
536
542
  }
@@ -545,7 +551,7 @@ var y = function() {
545
551
  return t;
546
552
  }, y.apply(this, arguments);
547
553
  };
548
- function kr(e, t) {
554
+ function Ur(e, t) {
549
555
  var r = {};
550
556
  for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
551
557
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -553,7 +559,7 @@ function kr(e, t) {
553
559
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
554
560
  return r;
555
561
  }
556
- function Ge(e) {
562
+ function Re(e) {
557
563
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
558
564
  if (r) return r.call(e);
559
565
  if (e && typeof e.length == "number") return {
@@ -563,7 +569,7 @@ function Ge(e) {
563
569
  };
564
570
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
565
571
  }
566
- function Ue(e, t) {
572
+ function $e(e, t) {
567
573
  var r = typeof Symbol == "function" && e[Symbol.iterator];
568
574
  if (!r) return e;
569
575
  var n = r.call(e), i, o = [], s;
@@ -580,21 +586,21 @@ function Ue(e, t) {
580
586
  }
581
587
  return o;
582
588
  }
583
- function X(e, t, r) {
589
+ function V(e, t, r) {
584
590
  if (r || arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
585
591
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
586
592
  return e.concat(o || Array.prototype.slice.call(t));
587
593
  }
588
- function R(e) {
594
+ function L(e) {
589
595
  return typeof e == "function";
590
596
  }
591
- function Lt(e) {
597
+ function It(e) {
592
598
  var t = function(n) {
593
599
  Error.call(n), n.stack = new Error().stack;
594
600
  }, r = e(t);
595
601
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
596
602
  }
597
- var He = Lt(function(e) {
603
+ var Te = It(function(e) {
598
604
  return function(r) {
599
605
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
600
606
  ` + r.map(function(n, i) {
@@ -603,13 +609,13 @@ var He = Lt(function(e) {
603
609
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
604
610
  };
605
611
  });
606
- function De(e, t) {
612
+ function Ge(e, t) {
607
613
  if (e) {
608
614
  var r = e.indexOf(t);
609
615
  0 <= r && e.splice(r, 1);
610
616
  }
611
617
  }
612
- var xe = function() {
618
+ var ye = function() {
613
619
  function e(t) {
614
620
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
615
621
  }
@@ -621,12 +627,12 @@ var xe = function() {
621
627
  if (s)
622
628
  if (this._parentage = null, Array.isArray(s))
623
629
  try {
624
- for (var a = Ge(s), l = a.next(); !l.done; l = a.next()) {
630
+ for (var a = Re(s), l = a.next(); !l.done; l = a.next()) {
625
631
  var u = l.value;
626
632
  u.remove(this);
627
633
  }
628
- } catch (d) {
629
- t = { error: d };
634
+ } catch (p) {
635
+ t = { error: p };
630
636
  } finally {
631
637
  try {
632
638
  l && !l.done && (r = a.return) && r.call(a);
@@ -637,26 +643,26 @@ var xe = function() {
637
643
  else
638
644
  s.remove(this);
639
645
  var h = this.initialTeardown;
640
- if (R(h))
646
+ if (L(h))
641
647
  try {
642
648
  h();
643
- } catch (d) {
644
- o = d instanceof He ? d.errors : [d];
649
+ } catch (p) {
650
+ o = p instanceof Te ? p.errors : [p];
645
651
  }
646
652
  var c = this._finalizers;
647
653
  if (c) {
648
654
  this._finalizers = null;
649
655
  try {
650
- for (var f = Ge(c), m = f.next(); !m.done; m = f.next()) {
651
- var p = m.value;
656
+ for (var f = Re(c), m = f.next(); !m.done; m = f.next()) {
657
+ var d = m.value;
652
658
  try {
653
- it(p);
654
- } catch (d) {
655
- o = o ?? [], d instanceof He ? o = X(X([], Ue(o)), Ue(d.errors)) : o.push(d);
659
+ tt(d);
660
+ } catch (p) {
661
+ o = o ?? [], p instanceof Te ? o = V(V([], $e(o)), $e(p.errors)) : o.push(p);
656
662
  }
657
663
  }
658
- } catch (d) {
659
- n = { error: d };
664
+ } catch (p) {
665
+ n = { error: p };
660
666
  } finally {
661
667
  try {
662
668
  m && !m.done && (i = f.return) && i.call(f);
@@ -666,13 +672,13 @@ var xe = function() {
666
672
  }
667
673
  }
668
674
  if (o)
669
- throw new He(o);
675
+ throw new Te(o);
670
676
  }
671
677
  }, e.prototype.add = function(t) {
672
678
  var r;
673
679
  if (t && t !== this)
674
680
  if (this.closed)
675
- it(t);
681
+ tt(t);
676
682
  else {
677
683
  if (t instanceof e) {
678
684
  if (t.closed || t._hasParent(this))
@@ -689,56 +695,52 @@ var xe = function() {
689
695
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
690
696
  }, e.prototype._removeParent = function(t) {
691
697
  var r = this._parentage;
692
- r === t ? this._parentage = null : Array.isArray(r) && De(r, t);
698
+ r === t ? this._parentage = null : Array.isArray(r) && Ge(r, t);
693
699
  }, e.prototype.remove = function(t) {
694
700
  var r = this._finalizers;
695
- r && De(r, t), t instanceof e && t._removeParent(this);
701
+ r && Ge(r, t), t instanceof e && t._removeParent(this);
696
702
  }, e.EMPTY = function() {
697
703
  var t = new e();
698
704
  return t.closed = !0, t;
699
705
  }(), e;
700
- }(), Rt = xe.EMPTY;
701
- function $t(e) {
702
- return e instanceof xe || e && "closed" in e && R(e.remove) && R(e.add) && R(e.unsubscribe);
706
+ }(), Mt = ye.EMPTY;
707
+ function Nt(e) {
708
+ return e instanceof ye || e && "closed" in e && L(e.remove) && L(e.add) && L(e.unsubscribe);
703
709
  }
704
- function it(e) {
705
- R(e) ? e() : e.unsubscribe();
706
- }
707
- var Gt = {
708
- onUnhandledError: null,
709
- onStoppedNotification: null,
710
- Promise: void 0,
711
- useDeprecatedSynchronousErrorHandling: !1,
712
- useDeprecatedNextContext: !1
713
- }, Vr = {
710
+ function tt(e) {
711
+ L(e) ? e() : e.unsubscribe();
712
+ }
713
+ var Dr = {
714
+ Promise: void 0
715
+ }, Fr = {
714
716
  setTimeout: function(e, t) {
715
717
  for (var r = [], n = 2; n < arguments.length; n++)
716
718
  r[n - 2] = arguments[n];
717
- return setTimeout.apply(void 0, X([e, t], Ue(r)));
719
+ return setTimeout.apply(void 0, V([e, t], $e(r)));
718
720
  },
719
721
  clearTimeout: function(e) {
720
722
  return clearTimeout(e);
721
723
  },
722
724
  delegate: void 0
723
725
  };
724
- function Xr(e) {
725
- Vr.setTimeout(function() {
726
+ function jr(e) {
727
+ Fr.setTimeout(function() {
726
728
  throw e;
727
729
  });
728
730
  }
729
- function ot() {
731
+ function rt() {
730
732
  }
731
- function de(e) {
733
+ function me(e) {
732
734
  e();
733
735
  }
734
- var Ut = function(e) {
735
- $(t, e);
736
+ var Lt = function(e) {
737
+ R(t, e);
736
738
  function t(r) {
737
739
  var n = e.call(this) || this;
738
- return n.isStopped = !1, r ? (n.destination = r, $t(r) && r.add(n)) : n.destination = Qr, n;
740
+ return n.isStopped = !1, r ? (n.destination = r, Nt(r) && r.add(n)) : n.destination = Xr, n;
739
741
  }
740
742
  return t.create = function(r, n, i) {
741
- return new Fe(r, n, i);
743
+ return new Ue(r, n, i);
742
744
  }, t.prototype.next = function(r) {
743
745
  this.isStopped || this._next(r);
744
746
  }, t.prototype.error = function(r) {
@@ -762,11 +764,7 @@ var Ut = function(e) {
762
764
  this.unsubscribe();
763
765
  }
764
766
  }, t;
765
- }(xe), zr = Function.prototype.bind;
766
- function Be(e, t) {
767
- return zr.call(e, t);
768
- }
769
- var Wr = function() {
767
+ }(ye), kr = function() {
770
768
  function e(t) {
771
769
  this.partialObserver = t;
772
770
  }
@@ -776,7 +774,7 @@ var Wr = function() {
776
774
  try {
777
775
  r.next(t);
778
776
  } catch (n) {
779
- he(n);
777
+ le(n);
780
778
  }
781
779
  }, e.prototype.error = function(t) {
782
780
  var r = this.partialObserver;
@@ -784,68 +782,56 @@ var Wr = function() {
784
782
  try {
785
783
  r.error(t);
786
784
  } catch (n) {
787
- he(n);
785
+ le(n);
788
786
  }
789
787
  else
790
- he(t);
788
+ le(t);
791
789
  }, e.prototype.complete = function() {
792
790
  var t = this.partialObserver;
793
791
  if (t.complete)
794
792
  try {
795
793
  t.complete();
796
794
  } catch (r) {
797
- he(r);
795
+ le(r);
798
796
  }
799
797
  }, e;
800
- }(), Fe = function(e) {
801
- $(t, e);
798
+ }(), Ue = function(e) {
799
+ R(t, e);
802
800
  function t(r, n, i) {
803
801
  var o = e.call(this) || this, s;
804
- if (R(r) || !r)
805
- s = {
806
- next: r ?? void 0,
807
- error: n ?? void 0,
808
- complete: i ?? void 0
809
- };
810
- else {
811
- var a;
812
- o && Gt.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
813
- return o.unsubscribe();
814
- }, s = {
815
- next: r.next && Be(r.next, a),
816
- error: r.error && Be(r.error, a),
817
- complete: r.complete && Be(r.complete, a)
818
- }) : s = r;
819
- }
820
- return o.destination = new Wr(s), o;
802
+ return L(r) || !r ? s = {
803
+ next: r ?? void 0,
804
+ error: n ?? void 0,
805
+ complete: i ?? void 0
806
+ } : s = r, o.destination = new kr(s), o;
821
807
  }
822
808
  return t;
823
- }(Ut);
824
- function he(e) {
825
- Xr(e);
809
+ }(Lt);
810
+ function le(e) {
811
+ jr(e);
826
812
  }
827
- function Zr(e) {
813
+ function Vr(e) {
828
814
  throw e;
829
815
  }
830
- var Qr = {
816
+ var Xr = {
831
817
  closed: !0,
832
- next: ot,
833
- error: Zr,
834
- complete: ot
835
- }, qr = function() {
818
+ next: rt,
819
+ error: Vr,
820
+ complete: rt
821
+ }, zr = function() {
836
822
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
837
823
  }();
838
- function Jr(e) {
824
+ function Wr(e) {
839
825
  return e;
840
826
  }
841
- function Yr(e) {
842
- return e.length === 0 ? Jr : e.length === 1 ? e[0] : function(r) {
827
+ function Zr(e) {
828
+ return e.length === 0 ? Wr : e.length === 1 ? e[0] : function(r) {
843
829
  return e.reduce(function(n, i) {
844
830
  return i(n);
845
831
  }, r);
846
832
  };
847
833
  }
848
- var st = function() {
834
+ var nt = function() {
849
835
  function e(t) {
850
836
  t && (this._subscribe = t);
851
837
  }
@@ -853,8 +839,8 @@ var st = function() {
853
839
  var r = new e();
854
840
  return r.source = this, r.operator = t, r;
855
841
  }, e.prototype.subscribe = function(t, r, n) {
856
- var i = this, o = en(t) ? t : new Fe(t, r, n);
857
- return de(function() {
842
+ var i = this, o = Jr(t) ? t : new Ue(t, r, n);
843
+ return me(function() {
858
844
  var s = i, a = s.operator, l = s.source;
859
845
  o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
860
846
  }), o;
@@ -866,8 +852,8 @@ var st = function() {
866
852
  }
867
853
  }, e.prototype.forEach = function(t, r) {
868
854
  var n = this;
869
- return r = at(r), new r(function(i, o) {
870
- var s = new Fe({
855
+ return r = it(r), new r(function(i, o) {
856
+ var s = new Ue({
871
857
  next: function(a) {
872
858
  try {
873
859
  t(a);
@@ -883,15 +869,15 @@ var st = function() {
883
869
  }, e.prototype._subscribe = function(t) {
884
870
  var r;
885
871
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
886
- }, e.prototype[qr] = function() {
872
+ }, e.prototype[zr] = function() {
887
873
  return this;
888
874
  }, e.prototype.pipe = function() {
889
875
  for (var t = [], r = 0; r < arguments.length; r++)
890
876
  t[r] = arguments[r];
891
- return Yr(t)(this);
877
+ return Zr(t)(this);
892
878
  }, e.prototype.toPromise = function(t) {
893
879
  var r = this;
894
- return t = at(t), new t(function(n, i) {
880
+ return t = it(t), new t(function(n, i) {
895
881
  var o;
896
882
  r.subscribe(function(s) {
897
883
  return o = s;
@@ -905,40 +891,40 @@ var st = function() {
905
891
  return new e(t);
906
892
  }, e;
907
893
  }();
908
- function at(e) {
894
+ function it(e) {
909
895
  var t;
910
- return (t = e ?? Gt.Promise) !== null && t !== void 0 ? t : Promise;
896
+ return (t = e ?? Dr.Promise) !== null && t !== void 0 ? t : Promise;
911
897
  }
912
- function Kr(e) {
913
- return e && R(e.next) && R(e.error) && R(e.complete);
898
+ function Qr(e) {
899
+ return e && L(e.next) && L(e.error) && L(e.complete);
914
900
  }
915
- function en(e) {
916
- return e && e instanceof Ut || Kr(e) && $t(e);
901
+ function Jr(e) {
902
+ return e && e instanceof Lt || Qr(e) && Nt(e);
917
903
  }
918
- var tn = Lt(function(e) {
904
+ var qr = It(function(e) {
919
905
  return function() {
920
906
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
921
907
  };
922
- }), Dt = function(e) {
923
- $(t, e);
908
+ }), Rt = function(e) {
909
+ R(t, e);
924
910
  function t() {
925
911
  var r = e.call(this) || this;
926
912
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
927
913
  }
928
914
  return t.prototype.lift = function(r) {
929
- var n = new ut(this, this);
915
+ var n = new ot(this, this);
930
916
  return n.operator = r, n;
931
917
  }, t.prototype._throwIfClosed = function() {
932
918
  if (this.closed)
933
- throw new tn();
919
+ throw new qr();
934
920
  }, t.prototype.next = function(r) {
935
921
  var n = this;
936
- de(function() {
922
+ me(function() {
937
923
  var i, o;
938
924
  if (n._throwIfClosed(), !n.isStopped) {
939
925
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
940
926
  try {
941
- for (var s = Ge(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
927
+ for (var s = Re(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
942
928
  var l = a.value;
943
929
  l.next(r);
944
930
  }
@@ -955,7 +941,7 @@ var tn = Lt(function(e) {
955
941
  });
956
942
  }, t.prototype.error = function(r) {
957
943
  var n = this;
958
- de(function() {
944
+ me(function() {
959
945
  if (n._throwIfClosed(), !n.isStopped) {
960
946
  n.hasError = n.isStopped = !0, n.thrownError = r;
961
947
  for (var i = n.observers; i.length; )
@@ -964,7 +950,7 @@ var tn = Lt(function(e) {
964
950
  });
965
951
  }, t.prototype.complete = function() {
966
952
  var r = this;
967
- de(function() {
953
+ me(function() {
968
954
  if (r._throwIfClosed(), !r.isStopped) {
969
955
  r.isStopped = !0;
970
956
  for (var n = r.observers; n.length; )
@@ -986,20 +972,20 @@ var tn = Lt(function(e) {
986
972
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
987
973
  }, t.prototype._innerSubscribe = function(r) {
988
974
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
989
- return o || s ? Rt : (this.currentObservers = null, a.push(r), new xe(function() {
990
- n.currentObservers = null, De(a, r);
975
+ return o || s ? Mt : (this.currentObservers = null, a.push(r), new ye(function() {
976
+ n.currentObservers = null, Ge(a, r);
991
977
  }));
992
978
  }, t.prototype._checkFinalizedStatuses = function(r) {
993
979
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
994
980
  i ? r.error(o) : s && r.complete();
995
981
  }, t.prototype.asObservable = function() {
996
- var r = new st();
982
+ var r = new nt();
997
983
  return r.source = this, r;
998
984
  }, t.create = function(r, n) {
999
- return new ut(r, n);
985
+ return new ot(r, n);
1000
986
  }, t;
1001
- }(st), ut = function(e) {
1002
- $(t, e);
987
+ }(nt), ot = function(e) {
988
+ R(t, e);
1003
989
  function t(r, n) {
1004
990
  var i = e.call(this) || this;
1005
991
  return i.destination = r, i.source = n, i;
@@ -1015,17 +1001,17 @@ var tn = Lt(function(e) {
1015
1001
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1016
1002
  }, t.prototype._subscribe = function(r) {
1017
1003
  var n, i;
1018
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Rt;
1004
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Mt;
1019
1005
  }, t;
1020
- }(Dt), Ft = {
1006
+ }(Rt), $t = {
1021
1007
  now: function() {
1022
- return (Ft.delegate || Date).now();
1008
+ return ($t.delegate || Date).now();
1023
1009
  },
1024
1010
  delegate: void 0
1025
- }, rn = function(e) {
1026
- $(t, e);
1011
+ }, Yr = function(e) {
1012
+ R(t, e);
1027
1013
  function t(r, n, i) {
1028
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ft);
1014
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = $t);
1029
1015
  var o = e.call(this) || this;
1030
1016
  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;
1031
1017
  }
@@ -1045,31 +1031,31 @@ var tn = Lt(function(e) {
1045
1031
  u && o.splice(0, u + 1);
1046
1032
  }
1047
1033
  }, t;
1048
- }(Dt);
1049
- const lt = [], ht = {}, nn = (e, t = 0) => {
1050
- if (lt.indexOf(e) == -1) {
1051
- const r = new rn(t);
1052
- ht[e] = r, lt.push(e);
1034
+ }(Rt);
1035
+ const st = [], at = {}, Kr = (e, t = 0) => {
1036
+ if (st.indexOf(e) == -1) {
1037
+ const r = new Yr(t);
1038
+ at[e] = r, st.push(e);
1053
1039
  }
1054
- return ht[e];
1055
- }, j = [];
1056
- function on(e, t) {
1040
+ return at[e];
1041
+ }, F = [];
1042
+ function en(e, t) {
1057
1043
  return {
1058
- subscribe: _e(e, t).subscribe
1044
+ subscribe: xe(e, t).subscribe
1059
1045
  };
1060
1046
  }
1061
- function _e(e, t = N) {
1047
+ function xe(e, t = N) {
1062
1048
  let r;
1063
1049
  const n = /* @__PURE__ */ new Set();
1064
1050
  function i(a) {
1065
- if (Pt(e, a) && (e = a, r)) {
1066
- const l = !j.length;
1051
+ if (Bt(e, a) && (e = a, r)) {
1052
+ const l = !F.length;
1067
1053
  for (const u of n)
1068
- u[1](), j.push(u, e);
1054
+ u[1](), F.push(u, e);
1069
1055
  if (l) {
1070
- for (let u = 0; u < j.length; u += 2)
1071
- j[u][0](j[u + 1]);
1072
- j.length = 0;
1056
+ for (let u = 0; u < F.length; u += 2)
1057
+ F[u][0](F[u + 1]);
1058
+ F.length = 0;
1073
1059
  }
1074
1060
  }
1075
1061
  }
@@ -1089,7 +1075,7 @@ function Y(e, t, r) {
1089
1075
  if (!i.every(Boolean))
1090
1076
  throw new Error("derived() expects stores as input, got a falsy value");
1091
1077
  const o = t.length < 2;
1092
- return on(r, (s, a) => {
1078
+ return en(r, (s, a) => {
1093
1079
  let l = !1;
1094
1080
  const u = [];
1095
1081
  let h = 0, c = N;
@@ -1097,85 +1083,85 @@ function Y(e, t, r) {
1097
1083
  if (h)
1098
1084
  return;
1099
1085
  c();
1100
- const p = t(n ? u[0] : u, s, a);
1101
- o ? s(p) : c = qe(p) ? p : N;
1086
+ const d = t(n ? u[0] : u, s, a);
1087
+ o ? s(d) : c = Ze(d) ? d : N;
1102
1088
  }, m = i.map(
1103
- (p, d) => Ot(
1104
- p,
1105
- (A) => {
1106
- u[d] = A, h &= ~(1 << d), l && f();
1089
+ (d, p) => At(
1090
+ d,
1091
+ (w) => {
1092
+ u[p] = w, h &= ~(1 << p), l && f();
1107
1093
  },
1108
1094
  () => {
1109
- h |= 1 << d;
1095
+ h |= 1 << p;
1110
1096
  }
1111
1097
  )
1112
1098
  );
1113
1099
  return l = !0, f(), function() {
1114
- q(m), c(), l = !1;
1100
+ J(m), c(), l = !1;
1115
1101
  };
1116
1102
  });
1117
1103
  }
1118
- var sn = function(t) {
1119
- return an(t) && !un(t);
1104
+ var tn = function(t) {
1105
+ return rn(t) && !nn(t);
1120
1106
  };
1121
- function an(e) {
1107
+ function rn(e) {
1122
1108
  return !!e && typeof e == "object";
1123
1109
  }
1124
- function un(e) {
1110
+ function nn(e) {
1125
1111
  var t = Object.prototype.toString.call(e);
1126
- return t === "[object RegExp]" || t === "[object Date]" || cn(e);
1112
+ return t === "[object RegExp]" || t === "[object Date]" || an(e);
1127
1113
  }
1128
- var ln = typeof Symbol == "function" && Symbol.for, hn = ln ? Symbol.for("react.element") : 60103;
1129
- function cn(e) {
1130
- return e.$$typeof === hn;
1114
+ var on = typeof Symbol == "function" && Symbol.for, sn = on ? Symbol.for("react.element") : 60103;
1115
+ function an(e) {
1116
+ return e.$$typeof === sn;
1131
1117
  }
1132
- function fn(e) {
1118
+ function un(e) {
1133
1119
  return Array.isArray(e) ? [] : {};
1134
1120
  }
1135
- function oe(e, t) {
1136
- return t.clone !== !1 && t.isMergeableObject(e) ? z(fn(e), e, t) : e;
1121
+ function ie(e, t) {
1122
+ return t.clone !== !1 && t.isMergeableObject(e) ? z(un(e), e, t) : e;
1137
1123
  }
1138
- function mn(e, t, r) {
1124
+ function ln(e, t, r) {
1139
1125
  return e.concat(t).map(function(n) {
1140
- return oe(n, r);
1126
+ return ie(n, r);
1141
1127
  });
1142
1128
  }
1143
- function dn(e, t) {
1129
+ function hn(e, t) {
1144
1130
  if (!t.customMerge)
1145
1131
  return z;
1146
1132
  var r = t.customMerge(e);
1147
1133
  return typeof r == "function" ? r : z;
1148
1134
  }
1149
- function pn(e) {
1135
+ function cn(e) {
1150
1136
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1151
1137
  return Object.propertyIsEnumerable.call(e, t);
1152
1138
  }) : [];
1153
1139
  }
1154
- function ct(e) {
1155
- return Object.keys(e).concat(pn(e));
1140
+ function ut(e) {
1141
+ return Object.keys(e).concat(cn(e));
1156
1142
  }
1157
- function jt(e, t) {
1143
+ function Gt(e, t) {
1158
1144
  try {
1159
1145
  return t in e;
1160
1146
  } catch {
1161
1147
  return !1;
1162
1148
  }
1163
1149
  }
1164
- function bn(e, t) {
1165
- return jt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1150
+ function fn(e, t) {
1151
+ return Gt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1166
1152
  }
1167
- function gn(e, t, r) {
1153
+ function mn(e, t, r) {
1168
1154
  var n = {};
1169
- return r.isMergeableObject(e) && ct(e).forEach(function(i) {
1170
- n[i] = oe(e[i], r);
1171
- }), ct(t).forEach(function(i) {
1172
- bn(e, i) || (jt(e, i) && r.isMergeableObject(t[i]) ? n[i] = dn(i, r)(e[i], t[i], r) : n[i] = oe(t[i], r));
1155
+ return r.isMergeableObject(e) && ut(e).forEach(function(i) {
1156
+ n[i] = ie(e[i], r);
1157
+ }), ut(t).forEach(function(i) {
1158
+ fn(e, i) || (Gt(e, i) && r.isMergeableObject(t[i]) ? n[i] = hn(i, r)(e[i], t[i], r) : n[i] = ie(t[i], r));
1173
1159
  }), n;
1174
1160
  }
1175
1161
  function z(e, t, r) {
1176
- r = r || {}, r.arrayMerge = r.arrayMerge || mn, r.isMergeableObject = r.isMergeableObject || sn, r.cloneUnlessOtherwiseSpecified = oe;
1162
+ r = r || {}, r.arrayMerge = r.arrayMerge || ln, r.isMergeableObject = r.isMergeableObject || tn, r.cloneUnlessOtherwiseSpecified = ie;
1177
1163
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1178
- return o ? n ? r.arrayMerge(e, t, r) : gn(e, t, r) : oe(t, r);
1164
+ return o ? n ? r.arrayMerge(e, t, r) : mn(e, t, r) : ie(t, r);
1179
1165
  }
1180
1166
  z.all = function(t, r) {
1181
1167
  if (!Array.isArray(t))
@@ -1184,107 +1170,105 @@ z.all = function(t, r) {
1184
1170
  return z(n, i, r);
1185
1171
  }, {});
1186
1172
  };
1187
- var vn = z, yn = vn;
1188
- const xn = /* @__PURE__ */ jr(yn);
1189
- function Ae(e, t) {
1190
- var r = t && t.cache ? t.cache : Hn, n = t && t.serializer ? t.serializer : Tn, i = t && t.strategy ? t.strategy : En;
1173
+ var dn = z, pn = dn;
1174
+ const bn = /* @__PURE__ */ Gr(pn);
1175
+ function He(e, t) {
1176
+ var r = t && t.cache ? t.cache : Sn, n = t && t.serializer ? t.serializer : _n, i = t && t.strategy ? t.strategy : yn;
1191
1177
  return i(e, {
1192
1178
  cache: r,
1193
1179
  serializer: n
1194
1180
  });
1195
1181
  }
1196
- function _n(e) {
1182
+ function gn(e) {
1197
1183
  return e == null || typeof e == "number" || typeof e == "boolean";
1198
1184
  }
1199
- function kt(e, t, r, n) {
1200
- var i = _n(n) ? n : r(n), o = t.get(i);
1185
+ function vn(e, t, r, n) {
1186
+ var i = gn(n) ? n : r(n), o = t.get(i);
1201
1187
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1202
1188
  }
1203
- function Vt(e, t, r) {
1189
+ function Ut(e, t, r) {
1204
1190
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1205
1191
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1206
1192
  }
1207
- function Je(e, t, r, n, i) {
1193
+ function Dt(e, t, r, n, i) {
1208
1194
  return r.bind(t, e, n, i);
1209
1195
  }
1210
- function En(e, t) {
1211
- var r = e.length === 1 ? kt : Vt;
1212
- return Je(e, this, r, t.cache.create(), t.serializer);
1213
- }
1214
- function Sn(e, t) {
1215
- return Je(e, this, Vt, t.cache.create(), t.serializer);
1196
+ function yn(e, t) {
1197
+ var r = e.length === 1 ? vn : Ut;
1198
+ return Dt(e, this, r, t.cache.create(), t.serializer);
1216
1199
  }
1217
- function wn(e, t) {
1218
- return Je(e, this, kt, t.cache.create(), t.serializer);
1200
+ function xn(e, t) {
1201
+ return Dt(e, this, Ut, t.cache.create(), t.serializer);
1219
1202
  }
1220
- var Tn = function() {
1203
+ var _n = function() {
1221
1204
  return JSON.stringify(arguments);
1222
- };
1223
- function Ye() {
1224
- this.cache = /* @__PURE__ */ Object.create(null);
1225
- }
1226
- Ye.prototype.get = function(e) {
1227
- return this.cache[e];
1228
- };
1229
- Ye.prototype.set = function(e, t) {
1230
- this.cache[e] = t;
1231
- };
1232
- var Hn = {
1205
+ }, En = (
1206
+ /** @class */
1207
+ function() {
1208
+ function e() {
1209
+ this.cache = /* @__PURE__ */ Object.create(null);
1210
+ }
1211
+ return e.prototype.get = function(t) {
1212
+ return this.cache[t];
1213
+ }, e.prototype.set = function(t, r) {
1214
+ this.cache[t] = r;
1215
+ }, e;
1216
+ }()
1217
+ ), Sn = {
1233
1218
  create: function() {
1234
- return new Ye();
1219
+ return new En();
1235
1220
  }
1236
- }, Ce = {
1237
- variadic: Sn,
1238
- monadic: wn
1239
- }, g;
1221
+ }, Be = {
1222
+ variadic: xn
1223
+ }, b;
1240
1224
  (function(e) {
1241
1225
  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";
1242
- })(g || (g = {}));
1243
- var E;
1226
+ })(b || (b = {}));
1227
+ var S;
1244
1228
  (function(e) {
1245
1229
  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";
1246
- })(E || (E = {}));
1230
+ })(S || (S = {}));
1247
1231
  var W;
1248
1232
  (function(e) {
1249
1233
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1250
1234
  })(W || (W = {}));
1251
- function ft(e) {
1252
- return e.type === E.literal;
1235
+ function lt(e) {
1236
+ return e.type === S.literal;
1253
1237
  }
1254
- function Bn(e) {
1255
- return e.type === E.argument;
1238
+ function wn(e) {
1239
+ return e.type === S.argument;
1256
1240
  }
1257
- function Xt(e) {
1258
- return e.type === E.number;
1241
+ function Ft(e) {
1242
+ return e.type === S.number;
1259
1243
  }
1260
- function zt(e) {
1261
- return e.type === E.date;
1244
+ function jt(e) {
1245
+ return e.type === S.date;
1262
1246
  }
1263
- function Wt(e) {
1264
- return e.type === E.time;
1247
+ function kt(e) {
1248
+ return e.type === S.time;
1265
1249
  }
1266
- function Zt(e) {
1267
- return e.type === E.select;
1250
+ function Vt(e) {
1251
+ return e.type === S.select;
1268
1252
  }
1269
- function Qt(e) {
1270
- return e.type === E.plural;
1253
+ function Xt(e) {
1254
+ return e.type === S.plural;
1271
1255
  }
1272
- function An(e) {
1273
- return e.type === E.pound;
1256
+ function Tn(e) {
1257
+ return e.type === S.pound;
1274
1258
  }
1275
- function qt(e) {
1276
- return e.type === E.tag;
1259
+ function zt(e) {
1260
+ return e.type === S.tag;
1277
1261
  }
1278
- function Jt(e) {
1262
+ function Wt(e) {
1279
1263
  return !!(e && typeof e == "object" && e.type === W.number);
1280
1264
  }
1281
- function je(e) {
1265
+ function De(e) {
1282
1266
  return !!(e && typeof e == "object" && e.type === W.dateTime);
1283
1267
  }
1284
- var Yt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Cn = /(?:[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;
1285
- function Pn(e) {
1268
+ var Zt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Hn = /(?:[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;
1269
+ function Bn(e) {
1286
1270
  var t = {};
1287
- return e.replace(Cn, function(r) {
1271
+ return e.replace(Hn, function(r) {
1288
1272
  var n = r.length;
1289
1273
  switch (r[0]) {
1290
1274
  case "G":
@@ -1373,11 +1357,11 @@ function Pn(e) {
1373
1357
  return "";
1374
1358
  }), t;
1375
1359
  }
1376
- var On = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1377
- function In(e) {
1360
+ var An = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1361
+ function Cn(e) {
1378
1362
  if (e.length === 0)
1379
1363
  throw new Error("Number skeleton cannot be empty");
1380
- for (var t = e.split(On).filter(function(f) {
1364
+ for (var t = e.split(An).filter(function(f) {
1381
1365
  return f.length > 0;
1382
1366
  }), r = [], n = 0, i = t; n < i.length; n++) {
1383
1367
  var o = i[n], s = o.split("/");
@@ -1392,17 +1376,17 @@ function In(e) {
1392
1376
  }
1393
1377
  return r;
1394
1378
  }
1395
- function Mn(e) {
1379
+ function Pn(e) {
1396
1380
  return e.replace(/^(.*?)-/, "");
1397
1381
  }
1398
- var mt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Kt = /^(@+)?(\+|#+)?[rs]?$/g, Nn = /(\*)(0+)|(#+)(0+)|(0+)/g, er = /^(0+)$/;
1399
- function dt(e) {
1382
+ var ht = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Qt = /^(@+)?(\+|#+)?[rs]?$/g, On = /(\*)(0+)|(#+)(0+)|(0+)/g, Jt = /^(0+)$/;
1383
+ function ct(e) {
1400
1384
  var t = {};
1401
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Kt, function(r, n, i) {
1385
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Qt, function(r, n, i) {
1402
1386
  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)), "";
1403
1387
  }), t;
1404
1388
  }
1405
- function tr(e) {
1389
+ function qt(e) {
1406
1390
  switch (e) {
1407
1391
  case "sign-auto":
1408
1392
  return {
@@ -1442,7 +1426,7 @@ function tr(e) {
1442
1426
  };
1443
1427
  }
1444
1428
  }
1445
- function Ln(e) {
1429
+ function In(e) {
1446
1430
  var t;
1447
1431
  if (e[0] === "E" && e[1] === "E" ? (t = {
1448
1432
  notation: "engineering"
@@ -1450,17 +1434,17 @@ function Ln(e) {
1450
1434
  notation: "scientific"
1451
1435
  }, e = e.slice(1)), t) {
1452
1436
  var r = e.slice(0, 2);
1453
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !er.test(e))
1437
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Jt.test(e))
1454
1438
  throw new Error("Malformed concise eng/scientific notation");
1455
1439
  t.minimumIntegerDigits = e.length;
1456
1440
  }
1457
1441
  return t;
1458
1442
  }
1459
- function pt(e) {
1460
- var t = {}, r = tr(e);
1443
+ function ft(e) {
1444
+ var t = {}, r = qt(e);
1461
1445
  return r || t;
1462
1446
  }
1463
- function Rn(e) {
1447
+ function Mn(e) {
1464
1448
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1465
1449
  var i = n[r];
1466
1450
  switch (i.stem) {
@@ -1484,7 +1468,7 @@ function Rn(e) {
1484
1468
  continue;
1485
1469
  case "measure-unit":
1486
1470
  case "unit":
1487
- t.style = "unit", t.unit = Mn(i.options[0]);
1471
+ t.style = "unit", t.unit = Pn(i.options[0]);
1488
1472
  continue;
1489
1473
  case "compact-short":
1490
1474
  case "K":
@@ -1496,12 +1480,12 @@ function Rn(e) {
1496
1480
  continue;
1497
1481
  case "scientific":
1498
1482
  t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1499
- return y(y({}, l), pt(u));
1483
+ return y(y({}, l), ft(u));
1500
1484
  }, {}));
1501
1485
  continue;
1502
1486
  case "engineering":
1503
1487
  t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1504
- return y(y({}, l), pt(u));
1488
+ return y(y({}, l), ft(u));
1505
1489
  }, {}));
1506
1490
  continue;
1507
1491
  case "notation-simple":
@@ -1546,7 +1530,7 @@ function Rn(e) {
1546
1530
  case "integer-width":
1547
1531
  if (i.options.length > 1)
1548
1532
  throw new RangeError("integer-width stems only accept a single optional option");
1549
- i.options[0].replace(Nn, function(l, u, h, c, f, m) {
1533
+ i.options[0].replace(On, function(l, u, h, c, f, m) {
1550
1534
  if (u)
1551
1535
  t.minimumIntegerDigits = h.length;
1552
1536
  else {
@@ -1559,32 +1543,32 @@ function Rn(e) {
1559
1543
  });
1560
1544
  continue;
1561
1545
  }
1562
- if (er.test(i.stem)) {
1546
+ if (Jt.test(i.stem)) {
1563
1547
  t.minimumIntegerDigits = i.stem.length;
1564
1548
  continue;
1565
1549
  }
1566
- if (mt.test(i.stem)) {
1550
+ if (ht.test(i.stem)) {
1567
1551
  if (i.options.length > 1)
1568
1552
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1569
- i.stem.replace(mt, function(l, u, h, c, f, m) {
1553
+ i.stem.replace(ht, function(l, u, h, c, f, m) {
1570
1554
  return h === "*" ? 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), "";
1571
1555
  });
1572
1556
  var o = i.options[0];
1573
- o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), dt(o)));
1557
+ o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), ct(o)));
1574
1558
  continue;
1575
1559
  }
1576
- if (Kt.test(i.stem)) {
1577
- t = y(y({}, t), dt(i.stem));
1560
+ if (Qt.test(i.stem)) {
1561
+ t = y(y({}, t), ct(i.stem));
1578
1562
  continue;
1579
1563
  }
1580
- var s = tr(i.stem);
1564
+ var s = qt(i.stem);
1581
1565
  s && (t = y(y({}, t), s));
1582
- var a = Ln(i.stem);
1566
+ var a = In(i.stem);
1583
1567
  a && (t = y(y({}, t), a));
1584
1568
  }
1585
1569
  return t;
1586
1570
  }
1587
- var ce = {
1571
+ var he = {
1588
1572
  "001": [
1589
1573
  "H",
1590
1574
  "h"
@@ -2999,13 +2983,13 @@ var ce = {
2999
2983
  "h"
3000
2984
  ]
3001
2985
  };
3002
- function $n(e, t) {
2986
+ function Nn(e, t) {
3003
2987
  for (var r = "", n = 0; n < e.length; n++) {
3004
2988
  var i = e.charAt(n);
3005
2989
  if (i === "j") {
3006
2990
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3007
2991
  o++, n++;
3008
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Gn(t);
2992
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Ln(t);
3009
2993
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
3010
2994
  r += l;
3011
2995
  for (; s-- > 0; )
@@ -3014,7 +2998,7 @@ function $n(e, t) {
3014
2998
  }
3015
2999
  return r;
3016
3000
  }
3017
- function Gn(e) {
3001
+ function Ln(e) {
3018
3002
  var t = e.hourCycle;
3019
3003
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3020
3004
  e.hourCycles && // @ts-ignore
@@ -3033,23 +3017,23 @@ function Gn(e) {
3033
3017
  }
3034
3018
  var r = e.language, n;
3035
3019
  r !== "root" && (n = e.maximize().region);
3036
- var i = ce[n || ""] || ce[r || ""] || ce["".concat(r, "-001")] || ce["001"];
3020
+ var i = he[n || ""] || he[r || ""] || he["".concat(r, "-001")] || he["001"];
3037
3021
  return i[0];
3038
3022
  }
3039
- var Pe, Un = new RegExp("^".concat(Yt.source, "*")), Dn = new RegExp("".concat(Yt.source, "*$"));
3023
+ var Ae, Rn = new RegExp("^".concat(Zt.source, "*")), $n = new RegExp("".concat(Zt.source, "*$"));
3040
3024
  function v(e, t) {
3041
3025
  return { start: e, end: t };
3042
3026
  }
3043
- var Fn = !!String.prototype.startsWith && "_a".startsWith("a", 1), jn = !!String.fromCodePoint, kn = !!Object.fromEntries, Vn = !!String.prototype.codePointAt, Xn = !!String.prototype.trimStart, zn = !!String.prototype.trimEnd, Wn = !!Number.isSafeInteger, Zn = Wn ? Number.isSafeInteger : function(e) {
3027
+ var Gn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Un = !!String.fromCodePoint, Dn = !!Object.fromEntries, Fn = !!String.prototype.codePointAt, jn = !!String.prototype.trimStart, kn = !!String.prototype.trimEnd, Vn = !!Number.isSafeInteger, Xn = Vn ? Number.isSafeInteger : function(e) {
3044
3028
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3045
- }, ke = !0;
3029
+ }, Fe = !0;
3046
3030
  try {
3047
- var Qn = nr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3048
- ke = ((Pe = Qn.exec("a")) === null || Pe === void 0 ? void 0 : Pe[0]) === "a";
3031
+ var zn = Kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3032
+ Fe = ((Ae = zn.exec("a")) === null || Ae === void 0 ? void 0 : Ae[0]) === "a";
3049
3033
  } catch {
3050
- ke = !1;
3034
+ Fe = !1;
3051
3035
  }
3052
- var bt = Fn ? (
3036
+ var mt = Gn ? (
3053
3037
  // Native
3054
3038
  function(t, r, n) {
3055
3039
  return t.startsWith(r, n);
@@ -3059,7 +3043,7 @@ var bt = Fn ? (
3059
3043
  function(t, r, n) {
3060
3044
  return t.slice(n, n + r.length) === r;
3061
3045
  }
3062
- ), Ve = jn ? String.fromCodePoint : (
3046
+ ), je = Un ? String.fromCodePoint : (
3063
3047
  // IE11
3064
3048
  function() {
3065
3049
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3071,9 +3055,9 @@ var bt = Fn ? (
3071
3055
  }
3072
3056
  return n;
3073
3057
  }
3074
- ), gt = (
3058
+ ), dt = (
3075
3059
  // native
3076
- kn ? Object.fromEntries : (
3060
+ Dn ? Object.fromEntries : (
3077
3061
  // Ponyfill
3078
3062
  function(t) {
3079
3063
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3083,7 +3067,7 @@ var bt = Fn ? (
3083
3067
  return r;
3084
3068
  }
3085
3069
  )
3086
- ), rr = Vn ? (
3070
+ ), Yt = Fn ? (
3087
3071
  // Native
3088
3072
  function(t, r) {
3089
3073
  return t.codePointAt(r);
@@ -3097,7 +3081,7 @@ var bt = Fn ? (
3097
3081
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3098
3082
  }
3099
3083
  }
3100
- ), qn = Xn ? (
3084
+ ), Wn = jn ? (
3101
3085
  // Native
3102
3086
  function(t) {
3103
3087
  return t.trimStart();
@@ -3105,9 +3089,9 @@ var bt = Fn ? (
3105
3089
  ) : (
3106
3090
  // Ponyfill
3107
3091
  function(t) {
3108
- return t.replace(Un, "");
3092
+ return t.replace(Rn, "");
3109
3093
  }
3110
- ), Jn = zn ? (
3094
+ ), Zn = kn ? (
3111
3095
  // Native
3112
3096
  function(t) {
3113
3097
  return t.trimEnd();
@@ -3115,32 +3099,32 @@ var bt = Fn ? (
3115
3099
  ) : (
3116
3100
  // Ponyfill
3117
3101
  function(t) {
3118
- return t.replace(Dn, "");
3102
+ return t.replace($n, "");
3119
3103
  }
3120
3104
  );
3121
- function nr(e, t) {
3105
+ function Kt(e, t) {
3122
3106
  return new RegExp(e, t);
3123
3107
  }
3124
- var Xe;
3125
- if (ke) {
3126
- var vt = nr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3127
- Xe = function(t, r) {
3108
+ var ke;
3109
+ if (Fe) {
3110
+ var pt = Kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3111
+ ke = function(t, r) {
3128
3112
  var n;
3129
- vt.lastIndex = r;
3130
- var i = vt.exec(t);
3113
+ pt.lastIndex = r;
3114
+ var i = pt.exec(t);
3131
3115
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3132
3116
  };
3133
3117
  } else
3134
- Xe = function(t, r) {
3118
+ ke = function(t, r) {
3135
3119
  for (var n = []; ; ) {
3136
- var i = rr(t, r);
3137
- if (i === void 0 || ir(i) || ti(i))
3120
+ var i = Yt(t, r);
3121
+ if (i === void 0 || er(i) || Yn(i))
3138
3122
  break;
3139
3123
  n.push(i), r += i >= 65536 ? 2 : 1;
3140
3124
  }
3141
- return Ve.apply(void 0, n);
3125
+ return je.apply(void 0, n);
3142
3126
  };
3143
- var Yn = (
3127
+ var Qn = (
3144
3128
  /** @class */
3145
3129
  function() {
3146
3130
  function e(t, r) {
@@ -3164,14 +3148,14 @@ var Yn = (
3164
3148
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3165
3149
  var a = this.clonePosition();
3166
3150
  this.bump(), i.push({
3167
- type: E.pound,
3151
+ type: S.pound,
3168
3152
  location: v(a, this.clonePosition())
3169
3153
  });
3170
3154
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3171
3155
  if (n)
3172
3156
  break;
3173
- return this.error(g.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
3174
- } else if (o === 60 && !this.ignoreTag && ze(this.peek() || 0)) {
3157
+ return this.error(b.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
3158
+ } else if (o === 60 && !this.ignoreTag && Ve(this.peek() || 0)) {
3175
3159
  var s = this.parseTag(t, r);
3176
3160
  if (s.err)
3177
3161
  return s;
@@ -3192,7 +3176,7 @@ var Yn = (
3192
3176
  if (this.bumpSpace(), this.bumpIf("/>"))
3193
3177
  return {
3194
3178
  val: {
3195
- type: E.literal,
3179
+ type: S.literal,
3196
3180
  value: "<".concat(i, "/>"),
3197
3181
  location: v(n, this.clonePosition())
3198
3182
  },
@@ -3204,25 +3188,25 @@ var Yn = (
3204
3188
  return o;
3205
3189
  var s = o.val, a = this.clonePosition();
3206
3190
  if (this.bumpIf("</")) {
3207
- if (this.isEOF() || !ze(this.char()))
3208
- return this.error(g.INVALID_TAG, v(a, this.clonePosition()));
3191
+ if (this.isEOF() || !Ve(this.char()))
3192
+ return this.error(b.INVALID_TAG, v(a, this.clonePosition()));
3209
3193
  var l = this.clonePosition(), u = this.parseTagName();
3210
- return i !== u ? this.error(g.UNMATCHED_CLOSING_TAG, v(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3194
+ return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, v(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3211
3195
  val: {
3212
- type: E.tag,
3196
+ type: S.tag,
3213
3197
  value: i,
3214
3198
  children: s,
3215
3199
  location: v(n, this.clonePosition())
3216
3200
  },
3217
3201
  err: null
3218
- } : this.error(g.INVALID_TAG, v(a, this.clonePosition())));
3202
+ } : this.error(b.INVALID_TAG, v(a, this.clonePosition())));
3219
3203
  } else
3220
- return this.error(g.UNCLOSED_TAG, v(n, this.clonePosition()));
3204
+ return this.error(b.UNCLOSED_TAG, v(n, this.clonePosition()));
3221
3205
  } else
3222
- return this.error(g.INVALID_TAG, v(n, this.clonePosition()));
3206
+ return this.error(b.INVALID_TAG, v(n, this.clonePosition()));
3223
3207
  }, e.prototype.parseTagName = function() {
3224
3208
  var t = this.offset();
3225
- for (this.bump(); !this.isEOF() && ei(this.char()); )
3209
+ for (this.bump(); !this.isEOF() && qn(this.char()); )
3226
3210
  this.bump();
3227
3211
  return this.message.slice(t, this.offset());
3228
3212
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3246,12 +3230,12 @@ var Yn = (
3246
3230
  }
3247
3231
  var l = v(n, this.clonePosition());
3248
3232
  return {
3249
- val: { type: E.literal, value: i, location: l },
3233
+ val: { type: S.literal, value: i, location: l },
3250
3234
  err: null
3251
3235
  };
3252
3236
  }, e.prototype.tryParseLeftAngleBracket = function() {
3253
3237
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3254
- !Kn(this.peek() || 0)) ? (this.bump(), "<") : null;
3238
+ !Jn(this.peek() || 0)) ? (this.bump(), "<") : null;
3255
3239
  }, e.prototype.tryParseQuote = function(t) {
3256
3240
  if (this.isEOF() || this.char() !== 39)
3257
3241
  return null;
@@ -3285,28 +3269,28 @@ var Yn = (
3285
3269
  r.push(n);
3286
3270
  this.bump();
3287
3271
  }
3288
- return Ve.apply(void 0, r);
3272
+ return je.apply(void 0, r);
3289
3273
  }, e.prototype.tryParseUnquoted = function(t, r) {
3290
3274
  if (this.isEOF())
3291
3275
  return null;
3292
3276
  var n = this.char();
3293
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ve(n));
3277
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), je(n));
3294
3278
  }, e.prototype.parseArgument = function(t, r) {
3295
3279
  var n = this.clonePosition();
3296
3280
  if (this.bump(), this.bumpSpace(), this.isEOF())
3297
- return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
3281
+ return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
3298
3282
  if (this.char() === 125)
3299
- return this.bump(), this.error(g.EMPTY_ARGUMENT, v(n, this.clonePosition()));
3283
+ return this.bump(), this.error(b.EMPTY_ARGUMENT, v(n, this.clonePosition()));
3300
3284
  var i = this.parseIdentifierIfPossible().value;
3301
3285
  if (!i)
3302
- return this.error(g.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3286
+ return this.error(b.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3303
3287
  if (this.bumpSpace(), this.isEOF())
3304
- return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
3288
+ return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
3305
3289
  switch (this.char()) {
3306
3290
  case 125:
3307
3291
  return this.bump(), {
3308
3292
  val: {
3309
- type: E.argument,
3293
+ type: S.argument,
3310
3294
  // value does not include the opening and closing braces.
3311
3295
  value: i,
3312
3296
  location: v(n, this.clonePosition())
@@ -3314,12 +3298,12 @@ var Yn = (
3314
3298
  err: null
3315
3299
  };
3316
3300
  case 44:
3317
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3301
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3318
3302
  default:
3319
- return this.error(g.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3303
+ return this.error(b.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3320
3304
  }
3321
3305
  }, e.prototype.parseIdentifierIfPossible = function() {
3322
- var t = this.clonePosition(), r = this.offset(), n = Xe(this.message, r), i = r + n.length;
3306
+ var t = this.clonePosition(), r = this.offset(), n = ke(this.message, r), i = r + n.length;
3323
3307
  this.bumpTo(i);
3324
3308
  var o = this.clonePosition(), s = v(t, o);
3325
3309
  return { value: n, location: s };
@@ -3327,7 +3311,7 @@ var Yn = (
3327
3311
  var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3328
3312
  switch (a) {
3329
3313
  case "":
3330
- return this.error(g.EXPECT_ARGUMENT_TYPE, v(s, l));
3314
+ return this.error(b.EXPECT_ARGUMENT_TYPE, v(s, l));
3331
3315
  case "number":
3332
3316
  case "date":
3333
3317
  case "time": {
@@ -3338,46 +3322,46 @@ var Yn = (
3338
3322
  var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3339
3323
  if (c.err)
3340
3324
  return c;
3341
- var f = Jn(c.val);
3325
+ var f = Zn(c.val);
3342
3326
  if (f.length === 0)
3343
- return this.error(g.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
3327
+ return this.error(b.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
3344
3328
  var m = v(h, this.clonePosition());
3345
3329
  u = { style: f, styleLocation: m };
3346
3330
  }
3347
- var p = this.tryParseArgumentClose(i);
3348
- if (p.err)
3349
- return p;
3350
- var d = v(i, this.clonePosition());
3351
- if (u && bt(u?.style, "::", 0)) {
3352
- var A = qn(u.style.slice(2));
3331
+ var d = this.tryParseArgumentClose(i);
3332
+ if (d.err)
3333
+ return d;
3334
+ var p = v(i, this.clonePosition());
3335
+ if (u && mt(u?.style, "::", 0)) {
3336
+ var w = Wn(u.style.slice(2));
3353
3337
  if (a === "number") {
3354
- var c = this.parseNumberSkeletonFromString(A, u.styleLocation);
3338
+ var c = this.parseNumberSkeletonFromString(w, u.styleLocation);
3355
3339
  return c.err ? c : {
3356
- val: { type: E.number, value: n, location: d, style: c.val },
3340
+ val: { type: S.number, value: n, location: p, style: c.val },
3357
3341
  err: null
3358
3342
  };
3359
3343
  } else {
3360
- if (A.length === 0)
3361
- return this.error(g.EXPECT_DATE_TIME_SKELETON, d);
3362
- var O = A;
3363
- this.locale && (O = $n(A, this.locale));
3344
+ if (w.length === 0)
3345
+ return this.error(b.EXPECT_DATE_TIME_SKELETON, p);
3346
+ var I = w;
3347
+ this.locale && (I = Nn(w, this.locale));
3364
3348
  var f = {
3365
3349
  type: W.dateTime,
3366
- pattern: O,
3350
+ pattern: I,
3367
3351
  location: u.styleLocation,
3368
- parsedOptions: this.shouldParseSkeletons ? Pn(O) : {}
3369
- }, C = a === "date" ? E.date : E.time;
3352
+ parsedOptions: this.shouldParseSkeletons ? Bn(I) : {}
3353
+ }, C = a === "date" ? S.date : S.time;
3370
3354
  return {
3371
- val: { type: C, value: n, location: d, style: f },
3355
+ val: { type: C, value: n, location: p, style: f },
3372
3356
  err: null
3373
3357
  };
3374
3358
  }
3375
3359
  }
3376
3360
  return {
3377
3361
  val: {
3378
- type: a === "number" ? E.number : a === "date" ? E.date : E.time,
3362
+ type: a === "number" ? S.number : a === "date" ? S.date : S.time,
3379
3363
  value: n,
3380
- location: d,
3364
+ location: p,
3381
3365
  style: (o = u?.style) !== null && o !== void 0 ? o : null
3382
3366
  },
3383
3367
  err: null
@@ -3386,41 +3370,41 @@ var Yn = (
3386
3370
  case "plural":
3387
3371
  case "selectordinal":
3388
3372
  case "select": {
3389
- var S = this.clonePosition();
3373
+ var T = this.clonePosition();
3390
3374
  if (this.bumpSpace(), !this.bumpIf(","))
3391
- return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS, v(S, y({}, S)));
3375
+ return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, v(T, y({}, T)));
3392
3376
  this.bumpSpace();
3393
- var w = this.parseIdentifierIfPossible(), _ = 0;
3394
- if (a !== "select" && w.value === "offset") {
3377
+ var _ = this.parseIdentifierIfPossible(), E = 0;
3378
+ if (a !== "select" && _.value === "offset") {
3395
3379
  if (!this.bumpIf(":"))
3396
- return this.error(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
3380
+ return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
3397
3381
  this.bumpSpace();
3398
- var c = this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3382
+ var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3399
3383
  if (c.err)
3400
3384
  return c;
3401
- this.bumpSpace(), w = this.parseIdentifierIfPossible(), _ = c.val;
3385
+ this.bumpSpace(), _ = this.parseIdentifierIfPossible(), E = c.val;
3402
3386
  }
3403
- var x = this.tryParsePluralOrSelectOptions(t, a, r, w);
3387
+ var x = this.tryParsePluralOrSelectOptions(t, a, r, _);
3404
3388
  if (x.err)
3405
3389
  return x;
3406
- var p = this.tryParseArgumentClose(i);
3407
- if (p.err)
3408
- return p;
3390
+ var d = this.tryParseArgumentClose(i);
3391
+ if (d.err)
3392
+ return d;
3409
3393
  var P = v(i, this.clonePosition());
3410
3394
  return a === "select" ? {
3411
3395
  val: {
3412
- type: E.select,
3396
+ type: S.select,
3413
3397
  value: n,
3414
- options: gt(x.val),
3398
+ options: dt(x.val),
3415
3399
  location: P
3416
3400
  },
3417
3401
  err: null
3418
3402
  } : {
3419
3403
  val: {
3420
- type: E.plural,
3404
+ type: S.plural,
3421
3405
  value: n,
3422
- options: gt(x.val),
3423
- offset: _,
3406
+ options: dt(x.val),
3407
+ offset: E,
3424
3408
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3425
3409
  location: P
3426
3410
  },
@@ -3428,10 +3412,10 @@ var Yn = (
3428
3412
  };
3429
3413
  }
3430
3414
  default:
3431
- return this.error(g.INVALID_ARGUMENT_TYPE, v(s, l));
3415
+ return this.error(b.INVALID_ARGUMENT_TYPE, v(s, l));
3432
3416
  }
3433
3417
  }, e.prototype.tryParseArgumentClose = function(t) {
3434
- return this.isEOF() || this.char() !== 125 ? this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, v(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3418
+ return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, v(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3435
3419
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3436
3420
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3437
3421
  var n = this.char();
@@ -3440,7 +3424,7 @@ var Yn = (
3440
3424
  this.bump();
3441
3425
  var i = this.clonePosition();
3442
3426
  if (!this.bumpUntil("'"))
3443
- return this.error(g.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, v(i, this.clonePosition()));
3427
+ return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, v(i, this.clonePosition()));
3444
3428
  this.bump();
3445
3429
  break;
3446
3430
  }
@@ -3470,16 +3454,16 @@ var Yn = (
3470
3454
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3471
3455
  var n = [];
3472
3456
  try {
3473
- n = In(t);
3457
+ n = Cn(t);
3474
3458
  } catch {
3475
- return this.error(g.INVALID_NUMBER_SKELETON, r);
3459
+ return this.error(b.INVALID_NUMBER_SKELETON, r);
3476
3460
  }
3477
3461
  return {
3478
3462
  val: {
3479
3463
  type: W.number,
3480
3464
  tokens: n,
3481
3465
  location: r,
3482
- parsedOptions: this.shouldParseSkeletons ? Rn(n) : {}
3466
+ parsedOptions: this.shouldParseSkeletons ? Mn(n) : {}
3483
3467
  },
3484
3468
  err: null
3485
3469
  };
@@ -3488,7 +3472,7 @@ var Yn = (
3488
3472
  if (u.length === 0) {
3489
3473
  var c = this.clonePosition();
3490
3474
  if (r !== "select" && this.bumpIf("=")) {
3491
- var f = this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_SELECTOR, g.INVALID_PLURAL_ARGUMENT_SELECTOR);
3475
+ var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
3492
3476
  if (f.err)
3493
3477
  return f;
3494
3478
  h = v(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
@@ -3496,26 +3480,26 @@ var Yn = (
3496
3480
  break;
3497
3481
  }
3498
3482
  if (l.has(u))
3499
- return this.error(r === "select" ? g.DUPLICATE_SELECT_ARGUMENT_SELECTOR : g.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3483
+ return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3500
3484
  u === "other" && (s = !0), this.bumpSpace();
3501
3485
  var m = this.clonePosition();
3502
3486
  if (!this.bumpIf("{"))
3503
- return this.error(r === "select" ? g.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : g.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
3504
- var p = this.parseMessage(t + 1, r, n);
3505
- if (p.err)
3506
- return p;
3507
- var d = this.tryParseArgumentClose(m);
3487
+ return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
3488
+ var d = this.parseMessage(t + 1, r, n);
3508
3489
  if (d.err)
3509
3490
  return d;
3491
+ var p = this.tryParseArgumentClose(m);
3492
+ if (p.err)
3493
+ return p;
3510
3494
  a.push([
3511
3495
  u,
3512
3496
  {
3513
- value: p.val,
3497
+ value: d.val,
3514
3498
  location: v(m, this.clonePosition())
3515
3499
  }
3516
3500
  ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
3517
3501
  }
3518
- return a.length === 0 ? this.error(r === "select" ? g.EXPECT_SELECT_ARGUMENT_SELECTOR : g.EXPECT_PLURAL_ARGUMENT_SELECTOR, v(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(g.MISSING_OTHER_CLAUSE, v(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3502
+ return a.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, v(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(b.MISSING_OTHER_CLAUSE, v(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3519
3503
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3520
3504
  var n = 1, i = this.clonePosition();
3521
3505
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3527,7 +3511,7 @@ var Yn = (
3527
3511
  break;
3528
3512
  }
3529
3513
  var l = v(i, this.clonePosition());
3530
- return o ? (s *= n, Zn(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3514
+ return o ? (s *= n, Xn(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3531
3515
  }, e.prototype.offset = function() {
3532
3516
  return this.position.offset;
3533
3517
  }, e.prototype.isEOF = function() {
@@ -3542,7 +3526,7 @@ var Yn = (
3542
3526
  var t = this.position.offset;
3543
3527
  if (t >= this.message.length)
3544
3528
  throw Error("out of bound");
3545
- var r = rr(this.message, t);
3529
+ var r = Yt(this.message, t);
3546
3530
  if (r === void 0)
3547
3531
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3548
3532
  return r;
@@ -3561,7 +3545,7 @@ var Yn = (
3561
3545
  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);
3562
3546
  }
3563
3547
  }, e.prototype.bumpIf = function(t) {
3564
- if (bt(this.message, t, this.offset())) {
3548
+ if (mt(this.message, t, this.offset())) {
3565
3549
  for (var r = 0; r < t.length; r++)
3566
3550
  this.bump();
3567
3551
  return !0;
@@ -3583,7 +3567,7 @@ var Yn = (
3583
3567
  break;
3584
3568
  }
3585
3569
  }, e.prototype.bumpSpace = function() {
3586
- for (; !this.isEOF() && ir(this.char()); )
3570
+ for (; !this.isEOF() && er(this.char()); )
3587
3571
  this.bump();
3588
3572
  }, e.prototype.peek = function() {
3589
3573
  if (this.isEOF())
@@ -3593,46 +3577,46 @@ var Yn = (
3593
3577
  }, e;
3594
3578
  }()
3595
3579
  );
3596
- function ze(e) {
3580
+ function Ve(e) {
3597
3581
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3598
3582
  }
3599
- function Kn(e) {
3600
- return ze(e) || e === 47;
3583
+ function Jn(e) {
3584
+ return Ve(e) || e === 47;
3601
3585
  }
3602
- function ei(e) {
3586
+ function qn(e) {
3603
3587
  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;
3604
3588
  }
3605
- function ir(e) {
3589
+ function er(e) {
3606
3590
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3607
3591
  }
3608
- function ti(e) {
3592
+ function Yn(e) {
3609
3593
  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;
3610
3594
  }
3611
- function We(e) {
3595
+ function Xe(e) {
3612
3596
  e.forEach(function(t) {
3613
- if (delete t.location, Zt(t) || Qt(t))
3597
+ if (delete t.location, Vt(t) || Xt(t))
3614
3598
  for (var r in t.options)
3615
- delete t.options[r].location, We(t.options[r].value);
3616
- else Xt(t) && Jt(t.style) || (zt(t) || Wt(t)) && je(t.style) ? delete t.style.location : qt(t) && We(t.children);
3599
+ delete t.options[r].location, Xe(t.options[r].value);
3600
+ else Ft(t) && Wt(t.style) || (jt(t) || kt(t)) && De(t.style) ? delete t.style.location : zt(t) && Xe(t.children);
3617
3601
  });
3618
3602
  }
3619
- function ri(e, t) {
3603
+ function Kn(e, t) {
3620
3604
  t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3621
- var r = new Yn(e, t).parse();
3605
+ var r = new Qn(e, t).parse();
3622
3606
  if (r.err) {
3623
- var n = SyntaxError(g[r.err.kind]);
3607
+ var n = SyntaxError(b[r.err.kind]);
3624
3608
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3625
3609
  }
3626
- return t?.captureLocation || We(r.val), r.val;
3610
+ return t?.captureLocation || Xe(r.val), r.val;
3627
3611
  }
3628
3612
  var Z;
3629
3613
  (function(e) {
3630
3614
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3631
3615
  })(Z || (Z = {}));
3632
- var Ee = (
3616
+ var _e = (
3633
3617
  /** @class */
3634
3618
  function(e) {
3635
- $(t, e);
3619
+ R(t, e);
3636
3620
  function t(r, n, i) {
3637
3621
  var o = e.call(this, r) || this;
3638
3622
  return o.code = n, o.originalMessage = i, o;
@@ -3641,155 +3625,155 @@ var Ee = (
3641
3625
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3642
3626
  }, t;
3643
3627
  }(Error)
3644
- ), yt = (
3628
+ ), bt = (
3645
3629
  /** @class */
3646
3630
  function(e) {
3647
- $(t, e);
3631
+ R(t, e);
3648
3632
  function t(r, n, i, o) {
3649
3633
  return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Z.INVALID_VALUE, o) || this;
3650
3634
  }
3651
3635
  return t;
3652
- }(Ee)
3653
- ), ni = (
3636
+ }(_e)
3637
+ ), ei = (
3654
3638
  /** @class */
3655
3639
  function(e) {
3656
- $(t, e);
3640
+ R(t, e);
3657
3641
  function t(r, n, i) {
3658
3642
  return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Z.INVALID_VALUE, i) || this;
3659
3643
  }
3660
3644
  return t;
3661
- }(Ee)
3662
- ), ii = (
3645
+ }(_e)
3646
+ ), ti = (
3663
3647
  /** @class */
3664
3648
  function(e) {
3665
- $(t, e);
3649
+ R(t, e);
3666
3650
  function t(r, n) {
3667
3651
  return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Z.MISSING_VALUE, n) || this;
3668
3652
  }
3669
3653
  return t;
3670
- }(Ee)
3671
- ), B;
3654
+ }(_e)
3655
+ ), A;
3672
3656
  (function(e) {
3673
3657
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3674
- })(B || (B = {}));
3675
- function oi(e) {
3658
+ })(A || (A = {}));
3659
+ function ri(e) {
3676
3660
  return e.length < 2 ? e : e.reduce(function(t, r) {
3677
3661
  var n = t[t.length - 1];
3678
- return !n || n.type !== B.literal || r.type !== B.literal ? t.push(r) : n.value += r.value, t;
3662
+ return !n || n.type !== A.literal || r.type !== A.literal ? t.push(r) : n.value += r.value, t;
3679
3663
  }, []);
3680
3664
  }
3681
- function si(e) {
3665
+ function ni(e) {
3682
3666
  return typeof e == "function";
3683
3667
  }
3684
- function pe(e, t, r, n, i, o, s) {
3685
- if (e.length === 1 && ft(e[0]))
3668
+ function de(e, t, r, n, i, o, s) {
3669
+ if (e.length === 1 && lt(e[0]))
3686
3670
  return [
3687
3671
  {
3688
- type: B.literal,
3672
+ type: A.literal,
3689
3673
  value: e[0].value
3690
3674
  }
3691
3675
  ];
3692
3676
  for (var a = [], l = 0, u = e; l < u.length; l++) {
3693
3677
  var h = u[l];
3694
- if (ft(h)) {
3678
+ if (lt(h)) {
3695
3679
  a.push({
3696
- type: B.literal,
3680
+ type: A.literal,
3697
3681
  value: h.value
3698
3682
  });
3699
3683
  continue;
3700
3684
  }
3701
- if (An(h)) {
3685
+ if (Tn(h)) {
3702
3686
  typeof o == "number" && a.push({
3703
- type: B.literal,
3687
+ type: A.literal,
3704
3688
  value: r.getNumberFormat(t).format(o)
3705
3689
  });
3706
3690
  continue;
3707
3691
  }
3708
3692
  var c = h.value;
3709
3693
  if (!(i && c in i))
3710
- throw new ii(c, s);
3694
+ throw new ti(c, s);
3711
3695
  var f = i[c];
3712
- if (Bn(h)) {
3696
+ if (wn(h)) {
3713
3697
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3714
- type: typeof f == "string" ? B.literal : B.object,
3698
+ type: typeof f == "string" ? A.literal : A.object,
3715
3699
  value: f
3716
3700
  });
3717
3701
  continue;
3718
3702
  }
3719
- if (zt(h)) {
3720
- var m = typeof h.style == "string" ? n.date[h.style] : je(h.style) ? h.style.parsedOptions : void 0;
3703
+ if (jt(h)) {
3704
+ var m = typeof h.style == "string" ? n.date[h.style] : De(h.style) ? h.style.parsedOptions : void 0;
3721
3705
  a.push({
3722
- type: B.literal,
3706
+ type: A.literal,
3723
3707
  value: r.getDateTimeFormat(t, m).format(f)
3724
3708
  });
3725
3709
  continue;
3726
3710
  }
3727
- if (Wt(h)) {
3728
- var m = typeof h.style == "string" ? n.time[h.style] : je(h.style) ? h.style.parsedOptions : n.time.medium;
3711
+ if (kt(h)) {
3712
+ var m = typeof h.style == "string" ? n.time[h.style] : De(h.style) ? h.style.parsedOptions : n.time.medium;
3729
3713
  a.push({
3730
- type: B.literal,
3714
+ type: A.literal,
3731
3715
  value: r.getDateTimeFormat(t, m).format(f)
3732
3716
  });
3733
3717
  continue;
3734
3718
  }
3735
- if (Xt(h)) {
3736
- var m = typeof h.style == "string" ? n.number[h.style] : Jt(h.style) ? h.style.parsedOptions : void 0;
3719
+ if (Ft(h)) {
3720
+ var m = typeof h.style == "string" ? n.number[h.style] : Wt(h.style) ? h.style.parsedOptions : void 0;
3737
3721
  m && m.scale && (f = f * (m.scale || 1)), a.push({
3738
- type: B.literal,
3722
+ type: A.literal,
3739
3723
  value: r.getNumberFormat(t, m).format(f)
3740
3724
  });
3741
3725
  continue;
3742
3726
  }
3743
- if (qt(h)) {
3744
- var p = h.children, d = h.value, A = i[d];
3745
- if (!si(A))
3746
- throw new ni(d, "function", s);
3747
- var O = pe(p, t, r, n, i, o), C = A(O.map(function(_) {
3748
- return _.value;
3727
+ if (zt(h)) {
3728
+ var d = h.children, p = h.value, w = i[p];
3729
+ if (!ni(w))
3730
+ throw new ei(p, "function", s);
3731
+ var I = de(d, t, r, n, i, o), C = w(I.map(function(E) {
3732
+ return E.value;
3749
3733
  }));
3750
- Array.isArray(C) || (C = [C]), a.push.apply(a, C.map(function(_) {
3734
+ Array.isArray(C) || (C = [C]), a.push.apply(a, C.map(function(E) {
3751
3735
  return {
3752
- type: typeof _ == "string" ? B.literal : B.object,
3753
- value: _
3736
+ type: typeof E == "string" ? A.literal : A.object,
3737
+ value: E
3754
3738
  };
3755
3739
  }));
3756
3740
  }
3757
- if (Zt(h)) {
3758
- var S = h.options[f] || h.options.other;
3759
- if (!S)
3760
- throw new yt(h.value, f, Object.keys(h.options), s);
3761
- a.push.apply(a, pe(S.value, t, r, n, i));
3741
+ if (Vt(h)) {
3742
+ var T = h.options[f] || h.options.other;
3743
+ if (!T)
3744
+ throw new bt(h.value, f, Object.keys(h.options), s);
3745
+ a.push.apply(a, de(T.value, t, r, n, i));
3762
3746
  continue;
3763
3747
  }
3764
- if (Qt(h)) {
3765
- var S = h.options["=".concat(f)];
3766
- if (!S) {
3748
+ if (Xt(h)) {
3749
+ var T = h.options["=".concat(f)];
3750
+ if (!T) {
3767
3751
  if (!Intl.PluralRules)
3768
- throw new Ee(`Intl.PluralRules is not available in this environment.
3752
+ throw new _e(`Intl.PluralRules is not available in this environment.
3769
3753
  Try polyfilling it using "@formatjs/intl-pluralrules"
3770
3754
  `, Z.MISSING_INTL_API, s);
3771
- var w = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3772
- S = h.options[w] || h.options.other;
3755
+ var _ = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3756
+ T = h.options[_] || h.options.other;
3773
3757
  }
3774
- if (!S)
3775
- throw new yt(h.value, f, Object.keys(h.options), s);
3776
- a.push.apply(a, pe(S.value, t, r, n, i, f - (h.offset || 0)));
3758
+ if (!T)
3759
+ throw new bt(h.value, f, Object.keys(h.options), s);
3760
+ a.push.apply(a, de(T.value, t, r, n, i, f - (h.offset || 0)));
3777
3761
  continue;
3778
3762
  }
3779
3763
  }
3780
- return oi(a);
3764
+ return ri(a);
3781
3765
  }
3782
- function ai(e, t) {
3766
+ function ii(e, t) {
3783
3767
  return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3784
3768
  return r[n] = y(y({}, e[n]), t[n] || {}), r;
3785
3769
  }, {})) : e;
3786
3770
  }
3787
- function ui(e, t) {
3771
+ function oi(e, t) {
3788
3772
  return t ? Object.keys(e).reduce(function(r, n) {
3789
- return r[n] = ai(e[n], t[n]), r;
3773
+ return r[n] = ii(e[n], t[n]), r;
3790
3774
  }, y({}, e)) : e;
3791
3775
  }
3792
- function Oe(e) {
3776
+ function Ce(e) {
3793
3777
  return {
3794
3778
  create: function() {
3795
3779
  return {
@@ -3803,39 +3787,39 @@ function Oe(e) {
3803
3787
  }
3804
3788
  };
3805
3789
  }
3806
- function li(e) {
3790
+ function si(e) {
3807
3791
  return e === void 0 && (e = {
3808
3792
  number: {},
3809
3793
  dateTime: {},
3810
3794
  pluralRules: {}
3811
3795
  }), {
3812
- getNumberFormat: Ae(function() {
3796
+ getNumberFormat: He(function() {
3813
3797
  for (var t, r = [], n = 0; n < arguments.length; n++)
3814
3798
  r[n] = arguments[n];
3815
- return new ((t = Intl.NumberFormat).bind.apply(t, X([void 0], r, !1)))();
3799
+ return new ((t = Intl.NumberFormat).bind.apply(t, V([void 0], r, !1)))();
3816
3800
  }, {
3817
- cache: Oe(e.number),
3818
- strategy: Ce.variadic
3801
+ cache: Ce(e.number),
3802
+ strategy: Be.variadic
3819
3803
  }),
3820
- getDateTimeFormat: Ae(function() {
3804
+ getDateTimeFormat: He(function() {
3821
3805
  for (var t, r = [], n = 0; n < arguments.length; n++)
3822
3806
  r[n] = arguments[n];
3823
- return new ((t = Intl.DateTimeFormat).bind.apply(t, X([void 0], r, !1)))();
3807
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, V([void 0], r, !1)))();
3824
3808
  }, {
3825
- cache: Oe(e.dateTime),
3826
- strategy: Ce.variadic
3809
+ cache: Ce(e.dateTime),
3810
+ strategy: Be.variadic
3827
3811
  }),
3828
- getPluralRules: Ae(function() {
3812
+ getPluralRules: He(function() {
3829
3813
  for (var t, r = [], n = 0; n < arguments.length; n++)
3830
3814
  r[n] = arguments[n];
3831
- return new ((t = Intl.PluralRules).bind.apply(t, X([void 0], r, !1)))();
3815
+ return new ((t = Intl.PluralRules).bind.apply(t, V([void 0], r, !1)))();
3832
3816
  }, {
3833
- cache: Oe(e.pluralRules),
3834
- strategy: Ce.variadic
3817
+ cache: Ce(e.pluralRules),
3818
+ strategy: Be.variadic
3835
3819
  })
3836
3820
  };
3837
3821
  }
3838
- var hi = (
3822
+ var ai = (
3839
3823
  /** @class */
3840
3824
  function() {
3841
3825
  function e(t, r, n, i) {
@@ -3850,11 +3834,11 @@ var hi = (
3850
3834
  if (u.length === 1)
3851
3835
  return u[0].value;
3852
3836
  var h = u.reduce(function(c, f) {
3853
- return !c.length || f.type !== B.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3837
+ return !c.length || f.type !== A.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3854
3838
  }, []);
3855
3839
  return h.length <= 1 ? h[0] || "" : h;
3856
3840
  }, this.formatToParts = function(l) {
3857
- return pe(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3841
+ return de(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3858
3842
  }, this.resolvedOptions = function() {
3859
3843
  var l;
3860
3844
  return {
@@ -3867,13 +3851,13 @@ var hi = (
3867
3851
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3868
3852
  var s = i || {};
3869
3853
  s.formatters;
3870
- var a = kr(s, ["formatters"]);
3854
+ var a = Ur(s, ["formatters"]);
3871
3855
  this.ast = e.__parse(t, y(y({}, a), { locale: this.resolvedLocale }));
3872
3856
  } else
3873
3857
  this.ast = t;
3874
3858
  if (!Array.isArray(this.ast))
3875
3859
  throw new TypeError("A message must be provided as a String or AST.");
3876
- this.formats = ui(e.formats, n), this.formatters = i && i.formatters || li(this.formatterCache);
3860
+ this.formats = oi(e.formats, n), this.formatters = i && i.formatters || si(this.formatterCache);
3877
3861
  }
3878
3862
  return Object.defineProperty(e, "defaultLocale", {
3879
3863
  get: function() {
@@ -3886,7 +3870,7 @@ var hi = (
3886
3870
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3887
3871
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3888
3872
  }
3889
- }, e.__parse = ri, e.formats = {
3873
+ }, e.__parse = Kn, e.formats = {
3890
3874
  number: {
3891
3875
  integer: {
3892
3876
  maximumFractionDigits: 0
@@ -3947,7 +3931,7 @@ var hi = (
3947
3931
  }, e;
3948
3932
  }()
3949
3933
  );
3950
- function ci(e, t) {
3934
+ function ui(e, t) {
3951
3935
  if (t == null)
3952
3936
  return;
3953
3937
  if (t in e)
@@ -3968,92 +3952,92 @@ function ci(e, t) {
3968
3952
  n = void 0;
3969
3953
  return n;
3970
3954
  }
3971
- const G = {}, fi = (e, t, r) => r && (t in G || (G[t] = {}), e in G[t] || (G[t][e] = r), r), or = (e, t) => {
3955
+ const $ = {}, li = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), tr = (e, t) => {
3972
3956
  if (t == null)
3973
3957
  return;
3974
- if (t in G && e in G[t])
3975
- return G[t][e];
3976
- const r = Se(t);
3958
+ if (t in $ && e in $[t])
3959
+ return $[t][e];
3960
+ const r = Ee(t);
3977
3961
  for (let n = 0; n < r.length; n++) {
3978
- const i = r[n], o = di(i, e);
3962
+ const i = r[n], o = ci(i, e);
3979
3963
  if (o)
3980
- return fi(e, t, o);
3964
+ return li(e, t, o);
3981
3965
  }
3982
3966
  };
3983
- let Ke;
3984
- const ue = _e({});
3985
- function mi(e) {
3986
- return Ke[e] || null;
3967
+ let Qe;
3968
+ const ae = xe({});
3969
+ function hi(e) {
3970
+ return Qe[e] || null;
3987
3971
  }
3988
- function sr(e) {
3989
- return e in Ke;
3972
+ function rr(e) {
3973
+ return e in Qe;
3990
3974
  }
3991
- function di(e, t) {
3992
- if (!sr(e))
3975
+ function ci(e, t) {
3976
+ if (!rr(e))
3993
3977
  return null;
3994
- const r = mi(e);
3995
- return ci(r, t);
3978
+ const r = hi(e);
3979
+ return ui(r, t);
3996
3980
  }
3997
- function pi(e) {
3981
+ function fi(e) {
3998
3982
  if (e == null)
3999
3983
  return;
4000
- const t = Se(e);
3984
+ const t = Ee(e);
4001
3985
  for (let r = 0; r < t.length; r++) {
4002
3986
  const n = t[r];
4003
- if (sr(n))
3987
+ if (rr(n))
4004
3988
  return n;
4005
3989
  }
4006
3990
  }
4007
- function ar(e, ...t) {
4008
- delete G[e], ue.update((r) => (r[e] = xn.all([r[e] || {}, ...t]), r));
3991
+ function nr(e, ...t) {
3992
+ delete $[e], ae.update((r) => (r[e] = bn.all([r[e] || {}, ...t]), r));
4009
3993
  }
4010
3994
  Y(
4011
- [ue],
3995
+ [ae],
4012
3996
  ([e]) => Object.keys(e)
4013
3997
  );
4014
- ue.subscribe((e) => Ke = e);
4015
- const be = {};
4016
- function bi(e, t) {
4017
- be[e].delete(t), be[e].size === 0 && delete be[e];
3998
+ ae.subscribe((e) => Qe = e);
3999
+ const pe = {};
4000
+ function mi(e, t) {
4001
+ pe[e].delete(t), pe[e].size === 0 && delete pe[e];
4018
4002
  }
4019
- function ur(e) {
4020
- return be[e];
4003
+ function ir(e) {
4004
+ return pe[e];
4021
4005
  }
4022
- function gi(e) {
4023
- return Se(e).map((t) => {
4024
- const r = ur(t);
4006
+ function di(e) {
4007
+ return Ee(e).map((t) => {
4008
+ const r = ir(t);
4025
4009
  return [t, r ? [...r] : []];
4026
4010
  }).filter(([, t]) => t.length > 0);
4027
4011
  }
4028
- function Ze(e) {
4029
- return e == null ? !1 : Se(e).some(
4012
+ function ze(e) {
4013
+ return e == null ? !1 : Ee(e).some(
4030
4014
  (t) => {
4031
4015
  var r;
4032
- return (r = ur(t)) == null ? void 0 : r.size;
4016
+ return (r = ir(t)) == null ? void 0 : r.size;
4033
4017
  }
4034
4018
  );
4035
4019
  }
4036
- function vi(e, t) {
4020
+ function pi(e, t) {
4037
4021
  return Promise.all(
4038
- t.map((n) => (bi(e, n), n().then((i) => i.default || i)))
4039
- ).then((n) => ar(e, ...n));
4022
+ t.map((n) => (mi(e, n), n().then((i) => i.default || i)))
4023
+ ).then((n) => nr(e, ...n));
4040
4024
  }
4041
4025
  const te = {};
4042
- function lr(e) {
4043
- if (!Ze(e))
4026
+ function or(e) {
4027
+ if (!ze(e))
4044
4028
  return e in te ? te[e] : Promise.resolve();
4045
- const t = gi(e);
4029
+ const t = di(e);
4046
4030
  return te[e] = Promise.all(
4047
4031
  t.map(
4048
- ([r, n]) => vi(r, n)
4032
+ ([r, n]) => pi(r, n)
4049
4033
  )
4050
4034
  ).then(() => {
4051
- if (Ze(e))
4052
- return lr(e);
4035
+ if (ze(e))
4036
+ return or(e);
4053
4037
  delete te[e];
4054
4038
  }), te[e];
4055
4039
  }
4056
- const yi = {
4040
+ const bi = {
4057
4041
  number: {
4058
4042
  scientific: { notation: "scientific" },
4059
4043
  engineering: { notation: "engineering" },
@@ -4082,148 +4066,148 @@ const yi = {
4082
4066
  timeZoneName: "short"
4083
4067
  }
4084
4068
  }
4085
- }, xi = {
4069
+ }, gi = {
4086
4070
  fallbackLocale: null,
4087
4071
  loadingDelay: 200,
4088
- formats: yi,
4072
+ formats: bi,
4089
4073
  warnOnMissingMessages: !0,
4090
4074
  handleMissingMessage: void 0,
4091
4075
  ignoreTag: !0
4092
- }, _i = xi;
4076
+ }, vi = gi;
4093
4077
  function Q() {
4094
- return _i;
4078
+ return vi;
4095
4079
  }
4096
- const Ie = _e(!1);
4097
- var Ei = Object.defineProperty, Si = Object.defineProperties, wi = Object.getOwnPropertyDescriptors, xt = Object.getOwnPropertySymbols, Ti = Object.prototype.hasOwnProperty, Hi = Object.prototype.propertyIsEnumerable, _t = (e, t, r) => t in e ? Ei(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Bi = (e, t) => {
4080
+ const Pe = xe(!1);
4081
+ var yi = Object.defineProperty, xi = Object.defineProperties, _i = Object.getOwnPropertyDescriptors, gt = Object.getOwnPropertySymbols, Ei = Object.prototype.hasOwnProperty, Si = Object.prototype.propertyIsEnumerable, vt = (e, t, r) => t in e ? yi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, wi = (e, t) => {
4098
4082
  for (var r in t || (t = {}))
4099
- Ti.call(t, r) && _t(e, r, t[r]);
4100
- if (xt)
4101
- for (var r of xt(t))
4102
- Hi.call(t, r) && _t(e, r, t[r]);
4083
+ Ei.call(t, r) && vt(e, r, t[r]);
4084
+ if (gt)
4085
+ for (var r of gt(t))
4086
+ Si.call(t, r) && vt(e, r, t[r]);
4103
4087
  return e;
4104
- }, Ai = (e, t) => Si(e, wi(t));
4105
- let Qe;
4106
- const ve = _e(null);
4107
- function Et(e) {
4088
+ }, Ti = (e, t) => xi(e, _i(t));
4089
+ let We;
4090
+ const ge = xe(null);
4091
+ function yt(e) {
4108
4092
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4109
4093
  }
4110
- function Se(e, t = Q().fallbackLocale) {
4111
- const r = Et(e);
4112
- return t ? [.../* @__PURE__ */ new Set([...r, ...Et(t)])] : r;
4094
+ function Ee(e, t = Q().fallbackLocale) {
4095
+ const r = yt(e);
4096
+ return t ? [.../* @__PURE__ */ new Set([...r, ...yt(t)])] : r;
4113
4097
  }
4114
- function U() {
4115
- return Qe ?? void 0;
4098
+ function G() {
4099
+ return We ?? void 0;
4116
4100
  }
4117
- ve.subscribe((e) => {
4118
- Qe = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4101
+ ge.subscribe((e) => {
4102
+ We = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4119
4103
  });
4120
- const Ci = (e) => {
4121
- if (e && pi(e) && Ze(e)) {
4104
+ const Hi = (e) => {
4105
+ if (e && fi(e) && ze(e)) {
4122
4106
  const { loadingDelay: t } = Q();
4123
4107
  let r;
4124
- return typeof window < "u" && U() != null && t ? r = window.setTimeout(
4125
- () => Ie.set(!0),
4108
+ return typeof window < "u" && G() != null && t ? r = window.setTimeout(
4109
+ () => Pe.set(!0),
4126
4110
  t
4127
- ) : Ie.set(!0), lr(e).then(() => {
4128
- ve.set(e);
4111
+ ) : Pe.set(!0), or(e).then(() => {
4112
+ ge.set(e);
4129
4113
  }).finally(() => {
4130
- clearTimeout(r), Ie.set(!1);
4114
+ clearTimeout(r), Pe.set(!1);
4131
4115
  });
4132
4116
  }
4133
- return ve.set(e);
4134
- }, K = Ai(Bi({}, ve), {
4135
- set: Ci
4136
- }), we = (e) => {
4117
+ return ge.set(e);
4118
+ }, K = Ti(wi({}, ge), {
4119
+ set: Hi
4120
+ }), Se = (e) => {
4137
4121
  const t = /* @__PURE__ */ Object.create(null);
4138
4122
  return (n) => {
4139
4123
  const i = JSON.stringify(n);
4140
4124
  return i in t ? t[i] : t[i] = e(n);
4141
4125
  };
4142
4126
  };
4143
- var Pi = Object.defineProperty, ye = Object.getOwnPropertySymbols, hr = Object.prototype.hasOwnProperty, cr = Object.prototype.propertyIsEnumerable, St = (e, t, r) => t in e ? Pi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, et = (e, t) => {
4127
+ var Bi = Object.defineProperty, ve = Object.getOwnPropertySymbols, sr = Object.prototype.hasOwnProperty, ar = Object.prototype.propertyIsEnumerable, xt = (e, t, r) => t in e ? Bi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Je = (e, t) => {
4144
4128
  for (var r in t || (t = {}))
4145
- hr.call(t, r) && St(e, r, t[r]);
4146
- if (ye)
4147
- for (var r of ye(t))
4148
- cr.call(t, r) && St(e, r, t[r]);
4129
+ sr.call(t, r) && xt(e, r, t[r]);
4130
+ if (ve)
4131
+ for (var r of ve(t))
4132
+ ar.call(t, r) && xt(e, r, t[r]);
4149
4133
  return e;
4150
4134
  }, ee = (e, t) => {
4151
4135
  var r = {};
4152
4136
  for (var n in e)
4153
- hr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4154
- if (e != null && ye)
4155
- for (var n of ye(e))
4156
- t.indexOf(n) < 0 && cr.call(e, n) && (r[n] = e[n]);
4137
+ sr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4138
+ if (e != null && ve)
4139
+ for (var n of ve(e))
4140
+ t.indexOf(n) < 0 && ar.call(e, n) && (r[n] = e[n]);
4157
4141
  return r;
4158
4142
  };
4159
- const se = (e, t) => {
4143
+ const oe = (e, t) => {
4160
4144
  const { formats: r } = Q();
4161
4145
  if (e in r && t in r[e])
4162
4146
  return r[e][t];
4163
4147
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4164
- }, Oi = we(
4148
+ }, Ai = Se(
4165
4149
  (e) => {
4166
4150
  var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4167
4151
  if (r == null)
4168
4152
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4169
- return n && (i = se("number", n)), new Intl.NumberFormat(r, i);
4153
+ return n && (i = oe("number", n)), new Intl.NumberFormat(r, i);
4170
4154
  }
4171
- ), Ii = we(
4155
+ ), Ci = Se(
4172
4156
  (e) => {
4173
4157
  var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4174
4158
  if (r == null)
4175
4159
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4176
- return n ? i = se("date", n) : Object.keys(i).length === 0 && (i = se("date", "short")), new Intl.DateTimeFormat(r, i);
4160
+ return n ? i = oe("date", n) : Object.keys(i).length === 0 && (i = oe("date", "short")), new Intl.DateTimeFormat(r, i);
4177
4161
  }
4178
- ), Mi = we(
4162
+ ), Pi = Se(
4179
4163
  (e) => {
4180
4164
  var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4181
4165
  if (r == null)
4182
4166
  throw new Error(
4183
4167
  '[svelte-i18n] A "locale" must be set to format time values'
4184
4168
  );
4185
- return n ? i = se("time", n) : Object.keys(i).length === 0 && (i = se("time", "short")), new Intl.DateTimeFormat(r, i);
4169
+ return n ? i = oe("time", n) : Object.keys(i).length === 0 && (i = oe("time", "short")), new Intl.DateTimeFormat(r, i);
4186
4170
  }
4187
- ), Ni = (e = {}) => {
4171
+ ), Oi = (e = {}) => {
4188
4172
  var t = e, {
4189
- locale: r = U()
4173
+ locale: r = G()
4190
4174
  } = t, n = ee(t, [
4191
4175
  "locale"
4192
4176
  ]);
4193
- return Oi(et({ locale: r }, n));
4194
- }, Li = (e = {}) => {
4177
+ return Ai(Je({ locale: r }, n));
4178
+ }, Ii = (e = {}) => {
4195
4179
  var t = e, {
4196
- locale: r = U()
4180
+ locale: r = G()
4197
4181
  } = t, n = ee(t, [
4198
4182
  "locale"
4199
4183
  ]);
4200
- return Ii(et({ locale: r }, n));
4201
- }, Ri = (e = {}) => {
4184
+ return Ci(Je({ locale: r }, n));
4185
+ }, Mi = (e = {}) => {
4202
4186
  var t = e, {
4203
- locale: r = U()
4187
+ locale: r = G()
4204
4188
  } = t, n = ee(t, [
4205
4189
  "locale"
4206
4190
  ]);
4207
- return Mi(et({ locale: r }, n));
4208
- }, $i = we(
4191
+ return Pi(Je({ locale: r }, n));
4192
+ }, Ni = Se(
4209
4193
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4210
- (e, t = U()) => new hi(e, t, Q().formats, {
4194
+ (e, t = G()) => new ai(e, t, Q().formats, {
4211
4195
  ignoreTag: Q().ignoreTag
4212
4196
  })
4213
- ), Gi = (e, t = {}) => {
4197
+ ), Li = (e, t = {}) => {
4214
4198
  var r, n, i, o;
4215
4199
  let s = t;
4216
4200
  typeof e == "object" && (s = e, e = s.id);
4217
4201
  const {
4218
4202
  values: a,
4219
- locale: l = U(),
4203
+ locale: l = G(),
4220
4204
  default: u
4221
4205
  } = s;
4222
4206
  if (l == null)
4223
4207
  throw new Error(
4224
4208
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4225
4209
  );
4226
- let h = or(e, l);
4210
+ let h = tr(e, l);
4227
4211
  if (!h)
4228
4212
  h = (o = (i = (n = (r = Q()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4229
4213
  else if (typeof h != "string")
@@ -4234,7 +4218,7 @@ const se = (e, t) => {
4234
4218
  return h;
4235
4219
  let c = h;
4236
4220
  try {
4237
- c = $i(h, l).format(a);
4221
+ c = Ni(h, l).format(a);
4238
4222
  } catch (f) {
4239
4223
  f instanceof Error && console.warn(
4240
4224
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4242,20 +4226,43 @@ const se = (e, t) => {
4242
4226
  );
4243
4227
  }
4244
4228
  return c;
4245
- }, Ui = (e, t) => Ri(t).format(e), Di = (e, t) => Li(t).format(e), Fi = (e, t) => Ni(t).format(e), ji = (e, t = U()) => or(e, t), ki = Y([K, ue], () => Gi);
4246
- Y([K], () => Ui);
4247
- Y([K], () => Di);
4248
- Y([K], () => Fi);
4249
- Y([K, ue], () => ji);
4250
- window.emWidgets = { topic: nn };
4251
- const Vi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4252
- function wt(e, t) {
4253
- ar(e, t);
4229
+ }, Ri = (e, t) => Mi(t).format(e), $i = (e, t) => Ii(t).format(e), Gi = (e, t) => Oi(t).format(e), Ui = (e, t = G()) => tr(e, t), Di = Y([K, ae], () => Li);
4230
+ Y([K], () => Ri);
4231
+ Y([K], () => $i);
4232
+ Y([K], () => Gi);
4233
+ Y([K, ae], () => Ui);
4234
+ window.emWidgets = { topic: Kr };
4235
+ const Fi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4236
+ function ji(e, t) {
4237
+ if (e) {
4238
+ const r = document.createElement("style");
4239
+ r.innerHTML = t, e.appendChild(r);
4240
+ }
4241
+ }
4242
+ function ki(e, t) {
4243
+ const r = new URL(t);
4244
+ fetch(r.href).then((n) => n.text()).then((n) => {
4245
+ const i = document.createElement("style");
4246
+ i.innerHTML = n, e && e.appendChild(i);
4247
+ }).catch((n) => {
4248
+ console.error("There was an error while trying to load client styling from URL", n);
4249
+ });
4250
+ }
4251
+ function Vi(e, t, r) {
4252
+ if (window.emMessageBus) {
4253
+ const n = document.createElement("style");
4254
+ window.emMessageBus.subscribe(t, (i) => {
4255
+ n.innerHTML = i, e && e.appendChild(n);
4256
+ });
4257
+ }
4258
+ }
4259
+ function _t(e, t) {
4260
+ nr(e, t);
4254
4261
  }
4255
4262
  function Xi(e) {
4256
4263
  K.set(e);
4257
4264
  }
4258
- const Tt = {
4265
+ const Et = {
4259
4266
  en: {
4260
4267
  cancel: "Cancel",
4261
4268
  confirm: "Confirm"
@@ -4302,73 +4309,73 @@ const Tt = {
4302
4309
  }
4303
4310
  };
4304
4311
  function zi(e) {
4305
- Sr(e, "svelte-1o81iqe", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GeneralConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:var(--emw--color-background, rgba(0, 0, 0, 0.7));display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #FFFFFF)}.GeneralConfirmationTitle{margin-bottom:20px}.GeneralConfirmationContainer{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);text-align:center}.GeneralConfirmationContainer::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)}.GeneralConfirmationContainer::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)}.GeneralConfirmationContainerMobile{padding:40px;max-width:330px}.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralCancelButton,.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GeneralConfirmationContent{font-size:var(--emw--font-size-medium, 18px);font-weight:300}.GeneralConfirmationControlArea{display:flex;gap:10px;direction:ltr;margin-top:30px}.GeneralConfirmationControlArea .GeneralCancelButton,.GeneralConfirmationControlArea .GeneralConfirmButton{flex:1;background:transparent;border:1px solid var(--emw--color-gray-100, #BFCBC3);color:var(--emw--color-gray-100, #BFCBC3);cursor:pointer;border-radius:var(--emw--button-border-radius, 50px);width:200px;height:50px;font-size:var(--emw--font-size-small, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GeneralConfirmationControlArea .GeneralConfirmButton{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)}.GeneralConfirmationMobileWrapper{border:none;padding:0}');
4312
+ vr(e, "svelte-1o81iqe", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GeneralConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:var(--emw--color-background, rgba(0, 0, 0, 0.7));display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #FFFFFF)}.GeneralConfirmationTitle{margin-bottom:20px}.GeneralConfirmationContainer{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);text-align:center}.GeneralConfirmationContainer::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)}.GeneralConfirmationContainer::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)}.GeneralConfirmationContainerMobile{padding:40px;max-width:330px}.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralCancelButton,.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GeneralConfirmationContent{font-size:var(--emw--font-size-medium, 18px);font-weight:300}.GeneralConfirmationControlArea{display:flex;gap:10px;direction:ltr;margin-top:30px}.GeneralConfirmationControlArea .GeneralCancelButton,.GeneralConfirmationControlArea .GeneralConfirmButton{flex:1;background:transparent;border:1px solid var(--emw--color-gray-100, #BFCBC3);color:var(--emw--color-gray-100, #BFCBC3);cursor:pointer;border-radius:var(--emw--button-border-radius, 50px);width:200px;height:50px;font-size:var(--emw--font-size-small, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GeneralConfirmationControlArea .GeneralConfirmButton{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)}.GeneralConfirmationMobileWrapper{border:none;padding:0}');
4306
4313
  }
4307
- const Wi = (e) => ({}), Ht = (e) => ({});
4314
+ const Wi = (e) => ({}), St = (e) => ({});
4308
4315
  function Zi(e) {
4309
4316
  let t, r;
4310
4317
  return {
4311
4318
  c() {
4312
- t = rt("svg"), r = rt("path"), T(r, "stroke-linecap", "round"), T(r, "stroke-linejoin", "round"), T(r, "stroke-width", "2"), T(r, "d", "M6 18L18 6M6 6l12 12"), T(t, "class", "w-6 h-6"), T(t, "fill", "none"), T(t, "stroke", "currentColor"), T(t, "viewBox", "0 0 24 24"), T(t, "xmlns", "http://www.w3.org/2000/svg");
4319
+ t = Ke("svg"), r = Ke("path"), H(r, "stroke-linecap", "round"), H(r, "stroke-linejoin", "round"), H(r, "stroke-width", "2"), H(r, "d", "M6 18L18 6M6 6l12 12"), H(t, "class", "w-6 h-6"), H(t, "fill", "none"), H(t, "stroke", "currentColor"), H(t, "viewBox", "0 0 24 24"), H(t, "xmlns", "http://www.w3.org/2000/svg");
4313
4320
  },
4314
4321
  m(n, i) {
4315
- ae(n, t, i), H(t, r);
4322
+ se(n, t, i), B(t, r);
4316
4323
  },
4317
4324
  p: N,
4318
4325
  d(n) {
4319
- n && J(t);
4326
+ n && q(t);
4320
4327
  }
4321
4328
  };
4322
4329
  }
4323
- function Bt(e) {
4330
+ function wt(e) {
4324
4331
  let t, r, n;
4325
4332
  return {
4326
4333
  c() {
4327
- t = M("div"), r = M("h2"), n = ne(
4334
+ t = M("div"), r = M("h2"), n = X(
4328
4335
  /*modaltitle*/
4329
4336
  e[1]
4330
- ), T(t, "class", "GeneralConfirmationTitle");
4337
+ ), H(t, "class", "GeneralConfirmationTitle");
4331
4338
  },
4332
4339
  m(i, o) {
4333
- ae(i, t, o), H(t, r), H(r, n);
4340
+ se(i, t, o), B(t, r), B(r, n);
4334
4341
  },
4335
4342
  p(i, o) {
4336
4343
  o & /*modaltitle*/
4337
- 2 && ge(
4344
+ 2 && be(
4338
4345
  n,
4339
4346
  /*modaltitle*/
4340
4347
  i[1]
4341
4348
  );
4342
4349
  },
4343
4350
  d(i) {
4344
- i && J(t);
4351
+ i && q(t);
4345
4352
  }
4346
4353
  };
4347
4354
  }
4348
- function At(e) {
4355
+ function Tt(e) {
4349
4356
  let t, r = (
4350
4357
  /*$_*/
4351
4358
  e[4]("cancel") + ""
4352
4359
  ), n, i, o;
4353
4360
  return {
4354
4361
  c() {
4355
- t = M("button"), n = ne(r), T(t, "class", "GeneralCancelButton");
4362
+ t = M("button"), n = X(r), H(t, "class", "GeneralCancelButton");
4356
4363
  },
4357
4364
  m(s, a) {
4358
- ae(s, t, a), H(t, n), i || (o = Me(
4365
+ se(s, t, a), B(t, n), i || (o = Oe(
4359
4366
  t,
4360
4367
  "click",
4361
4368
  /*click_handler*/
4362
- e[16]
4369
+ e[17]
4363
4370
  ), i = !0);
4364
4371
  },
4365
4372
  p(s, a) {
4366
4373
  a & /*$_*/
4367
4374
  16 && r !== (r = /*$_*/
4368
- s[4]("cancel") + "") && ge(n, r);
4375
+ s[4]("cancel") + "") && be(n, r);
4369
4376
  },
4370
4377
  d(s) {
4371
- s && J(t), i = !1, o();
4378
+ s && q(t), i = !1, o();
4372
4379
  }
4373
4380
  };
4374
4381
  }
@@ -4376,170 +4383,162 @@ function Qi(e) {
4376
4383
  let t, r, n, i, o, s, a, l, u, h, c, f = (
4377
4384
  /*$_*/
4378
4385
  e[4]("confirm") + ""
4379
- ), m, p, d, A;
4380
- const O = (
4386
+ ), m, d, p, w;
4387
+ const I = (
4381
4388
  /*#slots*/
4382
- e[15].close
4383
- ), C = yr(
4384
- O,
4389
+ e[16].close
4390
+ ), C = dr(
4391
+ I,
4385
4392
  e,
4386
4393
  /*$$scope*/
4387
- e[14],
4388
- Ht
4389
- ), S = C || Zi();
4390
- let w = (
4394
+ e[15],
4395
+ St
4396
+ ), T = C || Zi();
4397
+ let _ = (
4391
4398
  /*modaltitle*/
4392
- e[1] && Bt(e)
4393
- ), _ = (
4399
+ e[1] && wt(e)
4400
+ ), E = (
4394
4401
  /*hascancelbutton*/
4395
- e[2] && At(e)
4402
+ e[2] && Tt(e)
4396
4403
  );
4397
4404
  return {
4398
4405
  c() {
4399
- t = M("div"), r = M("div"), n = M("span"), S && S.c(), i = le(), w && w.c(), o = le(), s = M("div"), a = ne(
4406
+ t = M("div"), r = M("div"), n = M("span"), T && T.c(), i = ue(), _ && _.c(), o = ue(), s = M("div"), a = X(
4400
4407
  /*modaltext*/
4401
4408
  e[0]
4402
- ), l = le(), u = M("div"), _ && _.c(), h = le(), c = M("button"), m = ne(f), T(n, "class", "ModalCloseBtn"), T(n, "role", "button"), T(s, "class", "GeneralConfirmationContent"), T(c, "class", "GeneralConfirmButton"), T(u, "class", "GeneralConfirmationControlArea " + /*isMobile*/
4403
- (e[5] ? "GeneralConfirmationControlAreaMobile" : "")), T(r, "class", "GeneralConfirmationContainer " + /*isMobile*/
4404
- (e[5] ? "GeneralConfirmationContainerMobile" : "")), T(t, "class", "GeneralConfirmationWrapper " + /*isMobile*/
4409
+ ), l = ue(), u = M("div"), E && E.c(), h = ue(), c = M("button"), m = X(f), H(n, "class", "ModalCloseBtn"), H(n, "role", "button"), H(s, "class", "GeneralConfirmationContent"), H(c, "class", "GeneralConfirmButton"), H(u, "class", "GeneralConfirmationControlArea " + /*isMobile*/
4410
+ (e[5] ? "GeneralConfirmationControlAreaMobile" : "")), H(r, "class", "GeneralConfirmationContainer " + /*isMobile*/
4411
+ (e[5] ? "GeneralConfirmationContainerMobile" : "")), H(t, "class", "GeneralConfirmationWrapper " + /*isMobile*/
4405
4412
  (e[5] ? "GeneralConfirmationMobileWrapper" : ""));
4406
4413
  },
4407
4414
  m(x, P) {
4408
- ae(x, t, P), H(t, r), H(r, n), S && S.m(n, null), H(r, i), w && w.m(r, null), H(r, o), H(r, s), H(s, a), H(r, l), H(r, u), _ && _.m(u, null), H(u, h), H(u, c), H(c, m), e[18](t), p = !0, d || (A = [
4409
- Me(
4415
+ se(x, t, P), B(t, r), B(r, n), T && T.m(n, null), B(r, i), _ && _.m(r, null), B(r, o), B(r, s), B(s, a), B(r, l), B(r, u), E && E.m(u, null), B(u, h), B(u, c), B(c, m), e[19](t), d = !0, p || (w = [
4416
+ Oe(
4410
4417
  n,
4411
4418
  "click",
4412
4419
  /*close*/
4413
4420
  e[6]
4414
4421
  ),
4415
- Me(
4422
+ Oe(
4416
4423
  c,
4417
4424
  "click",
4418
4425
  /*click_handler_1*/
4419
- e[17]
4426
+ e[18]
4420
4427
  )
4421
- ], d = !0);
4428
+ ], p = !0);
4422
4429
  },
4423
4430
  p(x, [P]) {
4424
- C && C.p && (!p || P & /*$$scope*/
4425
- 16384) && _r(
4431
+ C && C.p && (!d || P & /*$$scope*/
4432
+ 32768) && br(
4426
4433
  C,
4427
- O,
4434
+ I,
4428
4435
  x,
4429
4436
  /*$$scope*/
4430
- x[14],
4431
- p ? xr(
4432
- O,
4437
+ x[15],
4438
+ d ? pr(
4439
+ I,
4433
4440
  /*$$scope*/
4434
- x[14],
4441
+ x[15],
4435
4442
  P,
4436
4443
  Wi
4437
- ) : Er(
4444
+ ) : gr(
4438
4445
  /*$$scope*/
4439
- x[14]
4446
+ x[15]
4440
4447
  ),
4441
- Ht
4448
+ St
4442
4449
  ), /*modaltitle*/
4443
- x[1] ? w ? w.p(x, P) : (w = Bt(x), w.c(), w.m(r, o)) : w && (w.d(1), w = null), (!p || P & /*modaltext*/
4444
- 1) && ge(
4450
+ x[1] ? _ ? _.p(x, P) : (_ = wt(x), _.c(), _.m(r, o)) : _ && (_.d(1), _ = null), (!d || P & /*modaltext*/
4451
+ 1) && be(
4445
4452
  a,
4446
4453
  /*modaltext*/
4447
4454
  x[0]
4448
4455
  ), /*hascancelbutton*/
4449
- x[2] ? _ ? _.p(x, P) : (_ = At(x), _.c(), _.m(u, h)) : _ && (_.d(1), _ = null), (!p || P & /*$_*/
4456
+ x[2] ? E ? E.p(x, P) : (E = Tt(x), E.c(), E.m(u, h)) : E && (E.d(1), E = null), (!d || P & /*$_*/
4450
4457
  16) && f !== (f = /*$_*/
4451
- x[4]("confirm") + "") && ge(m, f);
4458
+ x[4]("confirm") + "") && be(m, f);
4452
4459
  },
4453
4460
  i(x) {
4454
- p || (Mt(S, x), p = !0);
4461
+ d || (Pt(T, x), d = !0);
4455
4462
  },
4456
4463
  o(x) {
4457
- Nr(S, x), p = !1;
4464
+ Pr(T, x), d = !1;
4458
4465
  },
4459
4466
  d(x) {
4460
- x && J(t), S && S.d(x), w && w.d(), _ && _.d(), e[18](null), d = !1, q(A);
4467
+ x && q(t), T && T.d(x), _ && _.d(), E && E.d(), e[19](null), p = !1, J(w);
4461
4468
  }
4462
4469
  };
4463
4470
  }
4464
- function qi(e, t, r) {
4471
+ function Ji(e, t, r) {
4465
4472
  let n;
4466
- vr(e, ki, (b) => r(4, n = b));
4467
- let { $$slots: i = {}, $$scope: o } = t, { modaltext: s = "Are you sure that you want to perform this action?" } = t, { modaltitle: a = "" } = t, { hascancelbutton: l = !1 } = t, { modalconfirmevent: u = {} } = t, { modalcancelevent: h = {} } = t, { lang: c = "en" } = t, { clientstyling: f = "" } = t, { clientstylingurl: m = "" } = t, { translationurl: p = "" } = t, d, A = window.navigator.userAgent, O = Vi(A) !== "PC";
4468
- const C = () => {
4473
+ mr(e, Di, (g) => r(4, n = g));
4474
+ let { $$slots: i = {}, $$scope: o } = t, { modaltext: s = "Are you sure that you want to perform this action?" } = t, { modaltitle: a = "" } = t, { hascancelbutton: l = !1 } = t, { modalconfirmevent: u = {} } = t, { modalcancelevent: h = {} } = t, { lang: c = "en" } = t, { clientstyling: f = "" } = t, { clientstylingurl: m = "" } = t, { translationurl: d = "" } = t, { mbsource: p } = t, w, I = window.navigator.userAgent, C = Fi(I) !== "PC";
4475
+ const T = () => {
4469
4476
  window.postMessage({ type: "ModalClosed" }, window.location.href);
4470
- }, S = (b) => {
4471
- b === "confirm" && u && window.postMessage(u, window.location.href), b === "cancel" && h && window.postMessage(h, window.location.href), C();
4472
- }, w = () => {
4473
- let b = document.createElement("style");
4474
- b.innerHTML = f, d.appendChild(b);
4475
- }, _ = () => {
4476
- let b = new URL(m), L = document.createElement("style");
4477
- fetch(b.href).then((D) => D.text()).then((D) => {
4478
- L.innerHTML = D, setTimeout(
4479
- () => {
4480
- d.appendChild(L);
4481
- },
4482
- 1
4483
- );
4484
- });
4485
- }, x = () => {
4486
- fetch(p).then((L) => L.json()).then((L) => {
4487
- Object.keys(L).forEach((D) => {
4488
- wt(D, L[D]);
4477
+ }, _ = (g) => {
4478
+ g === "confirm" && u && window.postMessage(u, window.location.href), g === "cancel" && h && window.postMessage(h, window.location.href), T();
4479
+ }, E = () => {
4480
+ fetch(d).then((U) => U.json()).then((U) => {
4481
+ Object.keys(U).forEach((qe) => {
4482
+ _t(qe, U[qe]);
4489
4483
  });
4490
- }).catch((L) => {
4491
- console.log(L);
4484
+ }).catch((U) => {
4485
+ console.log(U);
4492
4486
  });
4493
4487
  };
4494
- Object.keys(Tt).forEach((b) => {
4495
- wt(b, Tt[b]);
4488
+ Object.keys(Et).forEach((g) => {
4489
+ _t(g, Et[g]);
4496
4490
  });
4497
- const P = () => {
4491
+ const x = () => {
4498
4492
  Xi(c);
4499
- }, mr = () => S("cancel"), dr = () => S("confirm");
4500
- function pr(b) {
4501
- Ne[b ? "unshift" : "push"](() => {
4502
- d = b, r(3, d);
4493
+ };
4494
+ wr(() => () => {
4495
+ });
4496
+ const P = () => _("cancel"), lr = () => _("confirm");
4497
+ function hr(g) {
4498
+ Ie[g ? "unshift" : "push"](() => {
4499
+ w = g, r(3, w);
4503
4500
  });
4504
4501
  }
4505
- return e.$$set = (b) => {
4506
- "modaltext" in b && r(0, s = b.modaltext), "modaltitle" in b && r(1, a = b.modaltitle), "hascancelbutton" in b && r(2, l = b.hascancelbutton), "modalconfirmevent" in b && r(8, u = b.modalconfirmevent), "modalcancelevent" in b && r(9, h = b.modalcancelevent), "lang" in b && r(10, c = b.lang), "clientstyling" in b && r(11, f = b.clientstyling), "clientstylingurl" in b && r(12, m = b.clientstylingurl), "translationurl" in b && r(13, p = b.translationurl), "$$scope" in b && r(14, o = b.$$scope);
4502
+ return e.$$set = (g) => {
4503
+ "modaltext" in g && r(0, s = g.modaltext), "modaltitle" in g && r(1, a = g.modaltitle), "hascancelbutton" in g && r(2, l = g.hascancelbutton), "modalconfirmevent" in g && r(8, u = g.modalconfirmevent), "modalcancelevent" in g && r(9, h = g.modalcancelevent), "lang" in g && r(10, c = g.lang), "clientstyling" in g && r(11, f = g.clientstyling), "clientstylingurl" in g && r(12, m = g.clientstylingurl), "translationurl" in g && r(13, d = g.translationurl), "mbsource" in g && r(14, p = g.mbsource), "$$scope" in g && r(15, o = g.$$scope);
4507
4504
  }, e.$$.update = () => {
4508
4505
  e.$$.dirty & /*modaltext, lang*/
4509
- 1025 && s && c && P(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4510
- 2056 && f && d && w(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4511
- 4104 && m && d && _(), e.$$.dirty & /*translationurl*/
4512
- 8192 && p && x();
4506
+ 1025 && s && c && x(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4507
+ 2056 && f && w && ji(w, f), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4508
+ 4104 && m && w && ki(w, m), e.$$.dirty & /*mbsource, customStylingContainer*/
4509
+ 16392 && p && w && Vi(w, `${p}.Style`), e.$$.dirty & /*translationurl*/
4510
+ 8192 && d && E();
4513
4511
  }, [
4514
4512
  s,
4515
4513
  a,
4516
4514
  l,
4517
- d,
4515
+ w,
4518
4516
  n,
4519
- O,
4520
4517
  C,
4521
- S,
4518
+ T,
4519
+ _,
4522
4520
  u,
4523
4521
  h,
4524
4522
  c,
4525
4523
  f,
4526
4524
  m,
4525
+ d,
4527
4526
  p,
4528
4527
  o,
4529
4528
  i,
4530
- mr,
4531
- dr,
4532
- pr
4529
+ P,
4530
+ lr,
4531
+ hr
4533
4532
  ];
4534
4533
  }
4535
- class fr extends Dr {
4534
+ class ur extends Rr {
4536
4535
  constructor(t) {
4537
- super(), Gr(
4536
+ super(), Nr(
4538
4537
  this,
4539
4538
  t,
4540
- qi,
4539
+ Ji,
4541
4540
  Qi,
4542
- Pt,
4541
+ Bt,
4543
4542
  {
4544
4543
  modaltext: 0,
4545
4544
  modaltitle: 1,
@@ -4549,7 +4548,8 @@ class fr extends Dr {
4549
4548
  lang: 10,
4550
4549
  clientstyling: 11,
4551
4550
  clientstylingurl: 12,
4552
- translationurl: 13
4551
+ translationurl: 13,
4552
+ mbsource: 14
4553
4553
  },
4554
4554
  zi
4555
4555
  );
@@ -4558,96 +4558,107 @@ class fr extends Dr {
4558
4558
  return this.$$.ctx[0];
4559
4559
  }
4560
4560
  set modaltext(t) {
4561
- this.$$set({ modaltext: t }), I();
4561
+ this.$$set({ modaltext: t }), O();
4562
4562
  }
4563
4563
  get modaltitle() {
4564
4564
  return this.$$.ctx[1];
4565
4565
  }
4566
4566
  set modaltitle(t) {
4567
- this.$$set({ modaltitle: t }), I();
4567
+ this.$$set({ modaltitle: t }), O();
4568
4568
  }
4569
4569
  get hascancelbutton() {
4570
4570
  return this.$$.ctx[2];
4571
4571
  }
4572
4572
  set hascancelbutton(t) {
4573
- this.$$set({ hascancelbutton: t }), I();
4573
+ this.$$set({ hascancelbutton: t }), O();
4574
4574
  }
4575
4575
  get modalconfirmevent() {
4576
4576
  return this.$$.ctx[8];
4577
4577
  }
4578
4578
  set modalconfirmevent(t) {
4579
- this.$$set({ modalconfirmevent: t }), I();
4579
+ this.$$set({ modalconfirmevent: t }), O();
4580
4580
  }
4581
4581
  get modalcancelevent() {
4582
4582
  return this.$$.ctx[9];
4583
4583
  }
4584
4584
  set modalcancelevent(t) {
4585
- this.$$set({ modalcancelevent: t }), I();
4585
+ this.$$set({ modalcancelevent: t }), O();
4586
4586
  }
4587
4587
  get lang() {
4588
4588
  return this.$$.ctx[10];
4589
4589
  }
4590
4590
  set lang(t) {
4591
- this.$$set({ lang: t }), I();
4591
+ this.$$set({ lang: t }), O();
4592
4592
  }
4593
4593
  get clientstyling() {
4594
4594
  return this.$$.ctx[11];
4595
4595
  }
4596
4596
  set clientstyling(t) {
4597
- this.$$set({ clientstyling: t }), I();
4597
+ this.$$set({ clientstyling: t }), O();
4598
4598
  }
4599
4599
  get clientstylingurl() {
4600
4600
  return this.$$.ctx[12];
4601
4601
  }
4602
4602
  set clientstylingurl(t) {
4603
- this.$$set({ clientstylingurl: t }), I();
4603
+ this.$$set({ clientstylingurl: t }), O();
4604
4604
  }
4605
4605
  get translationurl() {
4606
4606
  return this.$$.ctx[13];
4607
4607
  }
4608
4608
  set translationurl(t) {
4609
- this.$$set({ translationurl: t }), I();
4609
+ this.$$set({ translationurl: t }), O();
4610
+ }
4611
+ get mbsource() {
4612
+ return this.$$.ctx[14];
4613
+ }
4614
+ set mbsource(t) {
4615
+ this.$$set({ mbsource: t }), O();
4610
4616
  }
4611
4617
  }
4612
- Ur(fr, { modaltext: {}, modaltitle: {}, hascancelbutton: { type: "Boolean" }, modalconfirmevent: {}, modalcancelevent: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, ["close"], [], !0);
4613
- const oo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4618
+ Lr(ur, { modaltext: {}, modaltitle: {}, hascancelbutton: { type: "Boolean" }, modalconfirmevent: {}, modalcancelevent: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["close"], [], !0);
4619
+ const so = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4614
4620
  __proto__: null,
4615
- default: fr
4621
+ default: ur
4616
4622
  }, Symbol.toStringTag, { value: "Module" }));
4617
4623
  export {
4618
4624
  K as $,
4619
- rt as A,
4620
- Ki as B,
4621
- Yi as C,
4622
- to as D,
4625
+ ro as A,
4626
+ Oe as B,
4627
+ X as C,
4628
+ Yi as D,
4623
4629
  Ne as E,
4624
- ki as F,
4625
- oo as P,
4626
- Dr as S,
4627
- ar as a,
4628
- Ur as b,
4629
- io as c,
4630
- Sr as d,
4631
- no as e,
4632
- I as f,
4633
- jr as g,
4634
- M as h,
4635
- Gr as i,
4636
- le as j,
4637
- T as k,
4638
- Re as l,
4639
- ae as m,
4640
- H as n,
4641
- eo as o,
4642
- Me as p,
4643
- ge as q,
4644
- N as r,
4645
- Pt as s,
4646
- ne as t,
4647
- J as u,
4648
- Ji as v,
4649
- q as w,
4650
- vr as x,
4651
- Vi as y,
4652
- ro as z
4630
+ Ke as F,
4631
+ eo as G,
4632
+ Di as H,
4633
+ ji as I,
4634
+ ki as J,
4635
+ Vi as K,
4636
+ so as P,
4637
+ Rr as S,
4638
+ nr as a,
4639
+ Lr as b,
4640
+ oo as c,
4641
+ vr as d,
4642
+ q as e,
4643
+ O as f,
4644
+ Gr as g,
4645
+ se as h,
4646
+ Nr as i,
4647
+ M as j,
4648
+ mr as k,
4649
+ Fi as l,
4650
+ no as m,
4651
+ N as n,
4652
+ wr as o,
4653
+ Ie as p,
4654
+ B as q,
4655
+ ue as r,
4656
+ Bt as s,
4657
+ Ki as t,
4658
+ to as u,
4659
+ H as v,
4660
+ io as w,
4661
+ qi as x,
4662
+ J as y,
4663
+ be as z
4653
4664
  };