@everymatrix/general-logout 1.52.6 → 1.53.10

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