@everymatrix/player-account-biometrics 1.54.0 → 1.54.2

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