@everymatrix/player-account-general-confirmation-modal 1.76.0 → 1.76.3

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