@everymatrix/cashier-video-modal 1.72.2 → 1.73.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,4479 @@
1
+ var cr = Object.defineProperty, pr = Object.defineProperties;
2
+ var dr = Object.getOwnPropertyDescriptors;
3
+ var Ke = Object.getOwnPropertySymbols;
4
+ var mr = Object.prototype.hasOwnProperty, br = Object.prototype.propertyIsEnumerable;
5
+ var xe = (e, t, r) => t in e ? cr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, et = (e, t) => {
6
+ for (var r in t || (t = {}))
7
+ mr.call(t, r) && xe(e, r, t[r]);
8
+ if (Ke)
9
+ for (var r of Ke(t))
10
+ br.call(t, r) && xe(e, r, t[r]);
11
+ return e;
12
+ }, tt = (e, t) => pr(e, dr(t));
13
+ var w = (e, t, r) => (xe(e, typeof t != "symbol" ? t + "" : t, r), 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 S() {
31
+ }
32
+ function Lt(e) {
33
+ return e();
34
+ }
35
+ function nt() {
36
+ return /* @__PURE__ */ Object.create(null);
37
+ }
38
+ function K(e) {
39
+ e.forEach(Lt);
40
+ }
41
+ function Qe(e) {
42
+ return typeof e == "function";
43
+ }
44
+ function It(e, t) {
45
+ return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
+ }
47
+ let oe;
48
+ function it(e, t) {
49
+ return e === t ? !0 : (oe || (oe = document.createElement("a")), oe.href = t, e === oe.href);
50
+ }
51
+ function vr(e) {
52
+ return Object.keys(e).length === 0;
53
+ }
54
+ function gr(e, ...t) {
55
+ if (e == null) {
56
+ for (const n of t)
57
+ n(void 0);
58
+ return S;
59
+ }
60
+ const r = e.subscribe(...t);
61
+ return r.unsubscribe ? () => r.unsubscribe() : r;
62
+ }
63
+ function A(e, t) {
64
+ e.appendChild(t);
65
+ }
66
+ function yr(e, t, r) {
67
+ const n = _r(e);
68
+ if (!n.getElementById(t)) {
69
+ const i = N("style");
70
+ i.id = t, i.textContent = r, Er(n, i);
71
+ }
72
+ }
73
+ function _r(e) {
74
+ if (!e)
75
+ return document;
76
+ const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
77
+ return t && /** @type {ShadowRoot} */
78
+ t.host ? (
79
+ /** @type {ShadowRoot} */
80
+ t
81
+ ) : e.ownerDocument;
82
+ }
83
+ function Er(e, t) {
84
+ return A(
85
+ /** @type {Document} */
86
+ e.head || e,
87
+ t
88
+ ), t.sheet;
89
+ }
90
+ function ee(e, t, r) {
91
+ e.insertBefore(t, r || null);
92
+ }
93
+ function k(e) {
94
+ e.parentNode && e.parentNode.removeChild(e);
95
+ }
96
+ function N(e) {
97
+ return document.createElement(e);
98
+ }
99
+ function ce(e) {
100
+ return document.createElementNS("http://www.w3.org/2000/svg", e);
101
+ }
102
+ function Nt(e) {
103
+ return document.createTextNode(e);
104
+ }
105
+ function ot() {
106
+ return Nt(" ");
107
+ }
108
+ function xr() {
109
+ return Nt("");
110
+ }
111
+ function Mt(e, t, r, n) {
112
+ return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
113
+ }
114
+ function E(e, t, r) {
115
+ r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
116
+ }
117
+ function Sr(e) {
118
+ return Array.from(e.childNodes);
119
+ }
120
+ function st(e, t, r) {
121
+ e.classList.toggle(t, !!r);
122
+ }
123
+ function wr(e) {
124
+ const t = {};
125
+ return e.childNodes.forEach(
126
+ /** @param {Element} node */
127
+ (r) => {
128
+ t[r.slot || "default"] = !0;
129
+ }
130
+ ), t;
131
+ }
132
+ let J;
133
+ function Q(e) {
134
+ J = e;
135
+ }
136
+ function Hr() {
137
+ if (!J)
138
+ throw new Error("Function called outside component initialization");
139
+ return J;
140
+ }
141
+ function Tr(e) {
142
+ Hr().$$.on_mount.push(e);
143
+ }
144
+ const U = [], Ce = [];
145
+ let D = [];
146
+ const at = [], Br = /* @__PURE__ */ Promise.resolve();
147
+ let Le = !1;
148
+ function Ar() {
149
+ Le || (Le = !0, Br.then(I));
150
+ }
151
+ function Ie(e) {
152
+ D.push(e);
153
+ }
154
+ const Se = /* @__PURE__ */ new Set();
155
+ let $ = 0;
156
+ function I() {
157
+ if ($ !== 0)
158
+ return;
159
+ const e = J;
160
+ do {
161
+ try {
162
+ for (; $ < U.length; ) {
163
+ const t = U[$];
164
+ $++, Q(t), Pr(t.$$);
165
+ }
166
+ } catch (t) {
167
+ throw U.length = 0, $ = 0, t;
168
+ }
169
+ for (Q(null), U.length = 0, $ = 0; Ce.length; )
170
+ Ce.pop()();
171
+ for (let t = 0; t < D.length; t += 1) {
172
+ const r = D[t];
173
+ Se.has(r) || (Se.add(r), r());
174
+ }
175
+ D.length = 0;
176
+ } while (U.length);
177
+ for (; at.length; )
178
+ at.pop()();
179
+ Le = !1, Se.clear(), Q(e);
180
+ }
181
+ function Pr(e) {
182
+ if (e.fragment !== null) {
183
+ e.update(), K(e.before_update);
184
+ const t = e.dirty;
185
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ie);
186
+ }
187
+ }
188
+ function Or(e) {
189
+ const t = [], r = [];
190
+ D.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), D = t;
191
+ }
192
+ const Cr = /* @__PURE__ */ new Set();
193
+ function Lr(e, t) {
194
+ e && e.i && (Cr.delete(e), e.i(t));
195
+ }
196
+ function Ir(e, t, r) {
197
+ const { fragment: n, after_update: i } = e.$$;
198
+ n && n.m(t, r), Ie(() => {
199
+ const o = e.$$.on_mount.map(Lt).filter(Qe);
200
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : K(o), e.$$.on_mount = [];
201
+ }), i.forEach(Ie);
202
+ }
203
+ function Nr(e, t) {
204
+ const r = e.$$;
205
+ r.fragment !== null && (Or(r.after_update), K(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
206
+ }
207
+ function Mr(e, t) {
208
+ e.$$.dirty[0] === -1 && (U.push(e), Ar(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
209
+ }
210
+ function $r(e, t, r, n, i, o, s = null, a = [-1]) {
211
+ const h = J;
212
+ Q(e);
213
+ const u = e.$$ = {
214
+ fragment: null,
215
+ ctx: [],
216
+ // state
217
+ props: o,
218
+ update: S,
219
+ not_equal: i,
220
+ bound: nt(),
221
+ // lifecycle
222
+ on_mount: [],
223
+ on_destroy: [],
224
+ on_disconnect: [],
225
+ before_update: [],
226
+ after_update: [],
227
+ context: new Map(t.context || (h ? h.$$.context : [])),
228
+ // everything else
229
+ callbacks: nt(),
230
+ dirty: a,
231
+ skip_bound: !1,
232
+ root: t.target || h.$$.root
233
+ };
234
+ s && s(u.root);
235
+ let l = !1;
236
+ if (u.ctx = r ? r(e, t.props || {}, (f, c, ...m) => {
237
+ const v = m.length ? m[0] : c;
238
+ return u.ctx && i(u.ctx[f], u.ctx[f] = v) && (!u.skip_bound && u.bound[f] && u.bound[f](v), l && Mr(e, f)), c;
239
+ }) : [], u.update(), l = !0, K(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
240
+ if (t.hydrate) {
241
+ const f = Sr(t.target);
242
+ u.fragment && u.fragment.l(f), f.forEach(k);
243
+ } else
244
+ u.fragment && u.fragment.c();
245
+ t.intro && Lr(e.$$.fragment), Ir(e, t.target, t.anchor), I();
246
+ }
247
+ Q(h);
248
+ }
249
+ let $t;
250
+ typeof HTMLElement == "function" && ($t = class extends HTMLElement {
251
+ constructor(t, r, n) {
252
+ super();
253
+ /** The Svelte component constructor */
254
+ w(this, "$$ctor");
255
+ /** Slots */
256
+ w(this, "$$s");
257
+ /** The Svelte component instance */
258
+ w(this, "$$c");
259
+ /** Whether or not the custom element is connected */
260
+ w(this, "$$cn", !1);
261
+ /** Component props data */
262
+ w(this, "$$d", {});
263
+ /** `true` if currently in the process of reflecting component props back to attributes */
264
+ w(this, "$$r", !1);
265
+ /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
266
+ w(this, "$$p_d", {});
267
+ /** @type {Record<string, Function[]>} Event listeners */
268
+ w(this, "$$l", {});
269
+ /** @type {Map<Function, Function>} Event listener unsubscribe functions */
270
+ w(this, "$$l_u", /* @__PURE__ */ new Map());
271
+ this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
272
+ }
273
+ addEventListener(t, r, n) {
274
+ if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(r), this.$$c) {
275
+ const i = this.$$c.$on(t, r);
276
+ this.$$l_u.set(r, i);
277
+ }
278
+ super.addEventListener(t, r, n);
279
+ }
280
+ removeEventListener(t, r, n) {
281
+ if (super.removeEventListener(t, r, n), this.$$c) {
282
+ const i = this.$$l_u.get(r);
283
+ i && (i(), this.$$l_u.delete(r));
284
+ }
285
+ }
286
+ connectedCallback() {
287
+ return rt(this, null, function* () {
288
+ if (this.$$cn = !0, !this.$$c) {
289
+ let t = function(o) {
290
+ return () => {
291
+ let s;
292
+ return {
293
+ c: function() {
294
+ s = N("slot"), o !== "default" && E(s, "name", o);
295
+ },
296
+ /**
297
+ * @param {HTMLElement} target
298
+ * @param {HTMLElement} [anchor]
299
+ */
300
+ m: function(u, l) {
301
+ ee(u, s, l);
302
+ },
303
+ d: function(u) {
304
+ u && k(s);
305
+ }
306
+ };
307
+ };
308
+ };
309
+ if (yield Promise.resolve(), !this.$$cn || this.$$c)
310
+ return;
311
+ const r = {}, n = wr(this);
312
+ for (const o of this.$$s)
313
+ o in n && (r[o] = [t(o)]);
314
+ for (const o of this.attributes) {
315
+ const s = this.$$g_p(o.name);
316
+ s in this.$$d || (this.$$d[s] = ue(s, o.value, this.$$p_d, "toProp"));
317
+ }
318
+ for (const o in this.$$p_d)
319
+ !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
320
+ this.$$c = new this.$$ctor({
321
+ target: this.shadowRoot || this,
322
+ props: tt(et({}, this.$$d), {
323
+ $$slots: r,
324
+ $$scope: {
325
+ ctx: []
326
+ }
327
+ })
328
+ });
329
+ const i = () => {
330
+ this.$$r = !0;
331
+ for (const o in this.$$p_d)
332
+ if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
333
+ const s = ue(
334
+ o,
335
+ this.$$d[o],
336
+ this.$$p_d,
337
+ "toAttribute"
338
+ );
339
+ s == null ? this.removeAttribute(this.$$p_d[o].attribute || o) : this.setAttribute(this.$$p_d[o].attribute || o, s);
340
+ }
341
+ this.$$r = !1;
342
+ };
343
+ this.$$c.$$.after_update.push(i), i();
344
+ for (const o in this.$$l)
345
+ for (const s of this.$$l[o]) {
346
+ const a = this.$$c.$on(o, s);
347
+ this.$$l_u.set(s, a);
348
+ }
349
+ this.$$l = {};
350
+ }
351
+ });
352
+ }
353
+ // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
354
+ // and setting attributes through setAttribute etc, this is helpful
355
+ attributeChangedCallback(t, r, n) {
356
+ var i;
357
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = ue(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
358
+ }
359
+ disconnectedCallback() {
360
+ this.$$cn = !1, Promise.resolve().then(() => {
361
+ !this.$$cn && this.$$c && (this.$$c.$destroy(), this.$$c = void 0);
362
+ });
363
+ }
364
+ $$g_p(t) {
365
+ return Object.keys(this.$$p_d).find(
366
+ (r) => this.$$p_d[r].attribute === t || !this.$$p_d[r].attribute && r.toLowerCase() === t
367
+ ) || t;
368
+ }
369
+ });
370
+ function ue(e, t, r, n) {
371
+ var o;
372
+ const i = (o = r[e]) == null ? void 0 : o.type;
373
+ if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
374
+ return t;
375
+ if (n === "toAttribute")
376
+ switch (i) {
377
+ case "Object":
378
+ case "Array":
379
+ return t == null ? null : JSON.stringify(t);
380
+ case "Boolean":
381
+ return t ? "" : null;
382
+ case "Number":
383
+ return t == null ? null : t;
384
+ default:
385
+ return t;
386
+ }
387
+ else
388
+ switch (i) {
389
+ case "Object":
390
+ case "Array":
391
+ return t && JSON.parse(t);
392
+ case "Boolean":
393
+ return t;
394
+ case "Number":
395
+ return t != null ? +t : t;
396
+ default:
397
+ return t;
398
+ }
399
+ }
400
+ function Rr(e, t, r, n, i, o) {
401
+ let s = class extends $t {
402
+ constructor() {
403
+ super(e, r, i), this.$$p_d = t;
404
+ }
405
+ static get observedAttributes() {
406
+ return Object.keys(t).map(
407
+ (a) => (t[a].attribute || a).toLowerCase()
408
+ );
409
+ }
410
+ };
411
+ return Object.keys(t).forEach((a) => {
412
+ Object.defineProperty(s.prototype, a, {
413
+ get() {
414
+ return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
415
+ },
416
+ set(h) {
417
+ var u;
418
+ h = ue(a, h, t), this.$$d[a] = h, (u = this.$$c) == null || u.$set({ [a]: h });
419
+ }
420
+ });
421
+ }), n.forEach((a) => {
422
+ Object.defineProperty(s.prototype, a, {
423
+ get() {
424
+ var h;
425
+ return (h = this.$$c) == null ? void 0 : h[a];
426
+ }
427
+ });
428
+ }), e.element = /** @type {any} */
429
+ s, s;
430
+ }
431
+ class Ur {
432
+ constructor() {
433
+ /**
434
+ * ### PRIVATE API
435
+ *
436
+ * Do not use, may change at any time
437
+ *
438
+ * @type {any}
439
+ */
440
+ w(this, "$$");
441
+ /**
442
+ * ### PRIVATE API
443
+ *
444
+ * Do not use, may change at any time
445
+ *
446
+ * @type {any}
447
+ */
448
+ w(this, "$$set");
449
+ }
450
+ /** @returns {void} */
451
+ $destroy() {
452
+ Nr(this, 1), this.$destroy = S;
453
+ }
454
+ /**
455
+ * @template {Extract<keyof Events, string>} K
456
+ * @param {K} type
457
+ * @param {((e: Events[K]) => void) | null | undefined} callback
458
+ * @returns {() => void}
459
+ */
460
+ $on(t, r) {
461
+ if (!Qe(r))
462
+ return S;
463
+ const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
464
+ return n.push(r), () => {
465
+ const i = n.indexOf(r);
466
+ i !== -1 && n.splice(i, 1);
467
+ };
468
+ }
469
+ /**
470
+ * @param {Partial<Props>} props
471
+ * @returns {void}
472
+ */
473
+ $set(t) {
474
+ this.$$set && !vr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
475
+ }
476
+ }
477
+ const Dr = "4";
478
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Dr);
479
+ function Gr(e, t) {
480
+ if (e) {
481
+ const r = document.createElement("style");
482
+ r.innerHTML = t, e.appendChild(r);
483
+ }
484
+ }
485
+ function Fr(e, t) {
486
+ const r = new URL(t);
487
+ fetch(r.href).then((n) => n.text()).then((n) => {
488
+ const i = document.createElement("style");
489
+ i.innerHTML = n, e && e.appendChild(i);
490
+ }).catch((n) => {
491
+ console.error("There was an error while trying to load client styling from URL", n);
492
+ });
493
+ }
494
+ function jr(e, t, r) {
495
+ if (window.emMessageBus) {
496
+ const n = document.createElement("style");
497
+ window.emMessageBus.subscribe(t, (i) => {
498
+ n.innerHTML = i, e && e.appendChild(n);
499
+ });
500
+ }
501
+ }
502
+ /*! *****************************************************************************
503
+ Copyright (c) Microsoft Corporation.
504
+
505
+ Permission to use, copy, modify, and/or distribute this software for any
506
+ purpose with or without fee is hereby granted.
507
+
508
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
509
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
510
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
511
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
512
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
513
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
514
+ PERFORMANCE OF THIS SOFTWARE.
515
+ ***************************************************************************** */
516
+ var Ne = function(e, t) {
517
+ return Ne = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
518
+ r.__proto__ = n;
519
+ } || function(r, n) {
520
+ for (var i in n)
521
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
522
+ }, Ne(e, t);
523
+ };
524
+ function te(e, t) {
525
+ if (typeof t != "function" && t !== null)
526
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
527
+ Ne(e, t);
528
+ function r() {
529
+ this.constructor = e;
530
+ }
531
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
532
+ }
533
+ function Me(e) {
534
+ var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
535
+ if (r)
536
+ return r.call(e);
537
+ if (e && typeof e.length == "number")
538
+ return {
539
+ next: function() {
540
+ return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
541
+ }
542
+ };
543
+ throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
544
+ }
545
+ function $e(e, t) {
546
+ var r = typeof Symbol == "function" && e[Symbol.iterator];
547
+ if (!r)
548
+ return e;
549
+ var n = r.call(e), i, o = [], s;
550
+ try {
551
+ for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
552
+ o.push(i.value);
553
+ } catch (a) {
554
+ s = { error: a };
555
+ } finally {
556
+ try {
557
+ i && !i.done && (r = n.return) && r.call(n);
558
+ } finally {
559
+ if (s)
560
+ throw s.error;
561
+ }
562
+ }
563
+ return o;
564
+ }
565
+ function Re(e, t, r) {
566
+ if (arguments.length === 2)
567
+ for (var n = 0, i = t.length, o; n < i; n++)
568
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
569
+ return e.concat(o || t);
570
+ }
571
+ function P(e) {
572
+ return typeof e == "function";
573
+ }
574
+ function Rt(e) {
575
+ var t = function(n) {
576
+ Error.call(n), n.stack = new Error().stack;
577
+ }, r = e(t);
578
+ return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
579
+ }
580
+ var we = Rt(function(e) {
581
+ return function(r) {
582
+ e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
583
+ ` + r.map(function(n, i) {
584
+ return i + 1 + ") " + n.toString();
585
+ }).join(`
586
+ `) : "", this.name = "UnsubscriptionError", this.errors = r;
587
+ };
588
+ });
589
+ function Ue(e, t) {
590
+ if (e) {
591
+ var r = e.indexOf(t);
592
+ 0 <= r && e.splice(r, 1);
593
+ }
594
+ }
595
+ var be = function() {
596
+ function e(t) {
597
+ this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
598
+ }
599
+ return e.prototype.unsubscribe = function() {
600
+ var t, r, n, i, o;
601
+ if (!this.closed) {
602
+ this.closed = !0;
603
+ var s = this._parentage;
604
+ if (s)
605
+ if (this._parentage = null, Array.isArray(s))
606
+ try {
607
+ for (var a = Me(s), h = a.next(); !h.done; h = a.next()) {
608
+ var u = h.value;
609
+ u.remove(this);
610
+ }
611
+ } catch (b) {
612
+ t = { error: b };
613
+ } finally {
614
+ try {
615
+ h && !h.done && (r = a.return) && r.call(a);
616
+ } finally {
617
+ if (t)
618
+ throw t.error;
619
+ }
620
+ }
621
+ else
622
+ s.remove(this);
623
+ var l = this.initialTeardown;
624
+ if (P(l))
625
+ try {
626
+ l();
627
+ } catch (b) {
628
+ o = b instanceof we ? b.errors : [b];
629
+ }
630
+ var f = this._finalizers;
631
+ if (f) {
632
+ this._finalizers = null;
633
+ try {
634
+ for (var c = Me(f), m = c.next(); !m.done; m = c.next()) {
635
+ var v = m.value;
636
+ try {
637
+ ut(v);
638
+ } catch (b) {
639
+ o = o != null ? o : [], b instanceof we ? o = Re(Re([], $e(o)), $e(b.errors)) : o.push(b);
640
+ }
641
+ }
642
+ } catch (b) {
643
+ n = { error: b };
644
+ } finally {
645
+ try {
646
+ m && !m.done && (i = c.return) && i.call(c);
647
+ } finally {
648
+ if (n)
649
+ throw n.error;
650
+ }
651
+ }
652
+ }
653
+ if (o)
654
+ throw new we(o);
655
+ }
656
+ }, e.prototype.add = function(t) {
657
+ var r;
658
+ if (t && t !== this)
659
+ if (this.closed)
660
+ ut(t);
661
+ else {
662
+ if (t instanceof e) {
663
+ if (t.closed || t._hasParent(this))
664
+ return;
665
+ t._addParent(this);
666
+ }
667
+ (this._finalizers = (r = this._finalizers) !== null && r !== void 0 ? r : []).push(t);
668
+ }
669
+ }, e.prototype._hasParent = function(t) {
670
+ var r = this._parentage;
671
+ return r === t || Array.isArray(r) && r.includes(t);
672
+ }, e.prototype._addParent = function(t) {
673
+ var r = this._parentage;
674
+ this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
675
+ }, e.prototype._removeParent = function(t) {
676
+ var r = this._parentage;
677
+ r === t ? this._parentage = null : Array.isArray(r) && Ue(r, t);
678
+ }, e.prototype.remove = function(t) {
679
+ var r = this._finalizers;
680
+ r && Ue(r, t), t instanceof e && t._removeParent(this);
681
+ }, e.EMPTY = function() {
682
+ var t = new e();
683
+ return t.closed = !0, t;
684
+ }(), e;
685
+ }(), Ut = be.EMPTY;
686
+ function Dt(e) {
687
+ return e instanceof be || e && "closed" in e && P(e.remove) && P(e.add) && P(e.unsubscribe);
688
+ }
689
+ function ut(e) {
690
+ P(e) ? e() : e.unsubscribe();
691
+ }
692
+ var Vr = {
693
+ Promise: void 0
694
+ }, kr = {
695
+ setTimeout: function(e, t) {
696
+ for (var r = [], n = 2; n < arguments.length; n++)
697
+ r[n - 2] = arguments[n];
698
+ return setTimeout.apply(void 0, Re([e, t], $e(r)));
699
+ },
700
+ clearTimeout: function(e) {
701
+ return clearTimeout(e);
702
+ },
703
+ delegate: void 0
704
+ };
705
+ function Xr(e) {
706
+ kr.setTimeout(function() {
707
+ throw e;
708
+ });
709
+ }
710
+ function ht() {
711
+ }
712
+ function he(e) {
713
+ e();
714
+ }
715
+ var Gt = function(e) {
716
+ te(t, e);
717
+ function t(r) {
718
+ var n = e.call(this) || this;
719
+ return n.isStopped = !1, r ? (n.destination = r, Dt(r) && r.add(n)) : n.destination = Zr, n;
720
+ }
721
+ return t.create = function(r, n, i) {
722
+ return new De(r, n, i);
723
+ }, t.prototype.next = function(r) {
724
+ this.isStopped || this._next(r);
725
+ }, t.prototype.error = function(r) {
726
+ this.isStopped || (this.isStopped = !0, this._error(r));
727
+ }, t.prototype.complete = function() {
728
+ this.isStopped || (this.isStopped = !0, this._complete());
729
+ }, t.prototype.unsubscribe = function() {
730
+ this.closed || (this.isStopped = !0, e.prototype.unsubscribe.call(this), this.destination = null);
731
+ }, t.prototype._next = function(r) {
732
+ this.destination.next(r);
733
+ }, t.prototype._error = function(r) {
734
+ try {
735
+ this.destination.error(r);
736
+ } finally {
737
+ this.unsubscribe();
738
+ }
739
+ }, t.prototype._complete = function() {
740
+ try {
741
+ this.destination.complete();
742
+ } finally {
743
+ this.unsubscribe();
744
+ }
745
+ }, t;
746
+ }(be), Wr = function() {
747
+ function e(t) {
748
+ this.partialObserver = t;
749
+ }
750
+ return e.prototype.next = function(t) {
751
+ var r = this.partialObserver;
752
+ if (r.next)
753
+ try {
754
+ r.next(t);
755
+ } catch (n) {
756
+ se(n);
757
+ }
758
+ }, e.prototype.error = function(t) {
759
+ var r = this.partialObserver;
760
+ if (r.error)
761
+ try {
762
+ r.error(t);
763
+ } catch (n) {
764
+ se(n);
765
+ }
766
+ else
767
+ se(t);
768
+ }, e.prototype.complete = function() {
769
+ var t = this.partialObserver;
770
+ if (t.complete)
771
+ try {
772
+ t.complete();
773
+ } catch (r) {
774
+ se(r);
775
+ }
776
+ }, e;
777
+ }(), De = function(e) {
778
+ te(t, e);
779
+ function t(r, n, i) {
780
+ var o = e.call(this) || this, s;
781
+ return P(r) || !r ? s = {
782
+ next: r != null ? r : void 0,
783
+ error: n != null ? n : void 0,
784
+ complete: i != null ? i : void 0
785
+ } : s = r, o.destination = new Wr(s), o;
786
+ }
787
+ return t;
788
+ }(Gt);
789
+ function se(e) {
790
+ Xr(e);
791
+ }
792
+ function zr(e) {
793
+ throw e;
794
+ }
795
+ var Zr = {
796
+ closed: !0,
797
+ next: ht,
798
+ error: zr,
799
+ complete: ht
800
+ }, Qr = function() {
801
+ return typeof Symbol == "function" && Symbol.observable || "@@observable";
802
+ }();
803
+ function Jr(e) {
804
+ return e;
805
+ }
806
+ function qr(e) {
807
+ return e.length === 0 ? Jr : e.length === 1 ? e[0] : function(r) {
808
+ return e.reduce(function(n, i) {
809
+ return i(n);
810
+ }, r);
811
+ };
812
+ }
813
+ var lt = function() {
814
+ function e(t) {
815
+ t && (this._subscribe = t);
816
+ }
817
+ return e.prototype.lift = function(t) {
818
+ var r = new e();
819
+ return r.source = this, r.operator = t, r;
820
+ }, e.prototype.subscribe = function(t, r, n) {
821
+ var i = this, o = Kr(t) ? t : new De(t, r, n);
822
+ return he(function() {
823
+ var s = i, a = s.operator, h = s.source;
824
+ o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
825
+ }), o;
826
+ }, e.prototype._trySubscribe = function(t) {
827
+ try {
828
+ return this._subscribe(t);
829
+ } catch (r) {
830
+ t.error(r);
831
+ }
832
+ }, e.prototype.forEach = function(t, r) {
833
+ var n = this;
834
+ return r = ft(r), new r(function(i, o) {
835
+ var s = new De({
836
+ next: function(a) {
837
+ try {
838
+ t(a);
839
+ } catch (h) {
840
+ o(h), s.unsubscribe();
841
+ }
842
+ },
843
+ error: o,
844
+ complete: i
845
+ });
846
+ n.subscribe(s);
847
+ });
848
+ }, e.prototype._subscribe = function(t) {
849
+ var r;
850
+ return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
851
+ }, e.prototype[Qr] = function() {
852
+ return this;
853
+ }, e.prototype.pipe = function() {
854
+ for (var t = [], r = 0; r < arguments.length; r++)
855
+ t[r] = arguments[r];
856
+ return qr(t)(this);
857
+ }, e.prototype.toPromise = function(t) {
858
+ var r = this;
859
+ return t = ft(t), new t(function(n, i) {
860
+ var o;
861
+ r.subscribe(function(s) {
862
+ return o = s;
863
+ }, function(s) {
864
+ return i(s);
865
+ }, function() {
866
+ return n(o);
867
+ });
868
+ });
869
+ }, e.create = function(t) {
870
+ return new e(t);
871
+ }, e;
872
+ }();
873
+ function ft(e) {
874
+ var t;
875
+ return (t = e != null ? e : Vr.Promise) !== null && t !== void 0 ? t : Promise;
876
+ }
877
+ function Yr(e) {
878
+ return e && P(e.next) && P(e.error) && P(e.complete);
879
+ }
880
+ function Kr(e) {
881
+ return e && e instanceof Gt || Yr(e) && Dt(e);
882
+ }
883
+ var en = Rt(function(e) {
884
+ return function() {
885
+ e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
886
+ };
887
+ }), Ft = function(e) {
888
+ te(t, e);
889
+ function t() {
890
+ var r = e.call(this) || this;
891
+ return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
892
+ }
893
+ return t.prototype.lift = function(r) {
894
+ var n = new ct(this, this);
895
+ return n.operator = r, n;
896
+ }, t.prototype._throwIfClosed = function() {
897
+ if (this.closed)
898
+ throw new en();
899
+ }, t.prototype.next = function(r) {
900
+ var n = this;
901
+ he(function() {
902
+ var i, o;
903
+ if (n._throwIfClosed(), !n.isStopped) {
904
+ n.currentObservers || (n.currentObservers = Array.from(n.observers));
905
+ try {
906
+ for (var s = Me(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
907
+ var h = a.value;
908
+ h.next(r);
909
+ }
910
+ } catch (u) {
911
+ i = { error: u };
912
+ } finally {
913
+ try {
914
+ a && !a.done && (o = s.return) && o.call(s);
915
+ } finally {
916
+ if (i)
917
+ throw i.error;
918
+ }
919
+ }
920
+ }
921
+ });
922
+ }, t.prototype.error = function(r) {
923
+ var n = this;
924
+ he(function() {
925
+ if (n._throwIfClosed(), !n.isStopped) {
926
+ n.hasError = n.isStopped = !0, n.thrownError = r;
927
+ for (var i = n.observers; i.length; )
928
+ i.shift().error(r);
929
+ }
930
+ });
931
+ }, t.prototype.complete = function() {
932
+ var r = this;
933
+ he(function() {
934
+ if (r._throwIfClosed(), !r.isStopped) {
935
+ r.isStopped = !0;
936
+ for (var n = r.observers; n.length; )
937
+ n.shift().complete();
938
+ }
939
+ });
940
+ }, t.prototype.unsubscribe = function() {
941
+ this.isStopped = this.closed = !0, this.observers = this.currentObservers = null;
942
+ }, Object.defineProperty(t.prototype, "observed", {
943
+ get: function() {
944
+ var r;
945
+ return ((r = this.observers) === null || r === void 0 ? void 0 : r.length) > 0;
946
+ },
947
+ enumerable: !1,
948
+ configurable: !0
949
+ }), t.prototype._trySubscribe = function(r) {
950
+ return this._throwIfClosed(), e.prototype._trySubscribe.call(this, r);
951
+ }, t.prototype._subscribe = function(r) {
952
+ return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
953
+ }, t.prototype._innerSubscribe = function(r) {
954
+ var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
955
+ return o || s ? Ut : (this.currentObservers = null, a.push(r), new be(function() {
956
+ n.currentObservers = null, Ue(a, r);
957
+ }));
958
+ }, t.prototype._checkFinalizedStatuses = function(r) {
959
+ var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
960
+ i ? r.error(o) : s && r.complete();
961
+ }, t.prototype.asObservable = function() {
962
+ var r = new lt();
963
+ return r.source = this, r;
964
+ }, t.create = function(r, n) {
965
+ return new ct(r, n);
966
+ }, t;
967
+ }(lt), ct = function(e) {
968
+ te(t, e);
969
+ function t(r, n) {
970
+ var i = e.call(this) || this;
971
+ return i.destination = r, i.source = n, i;
972
+ }
973
+ return t.prototype.next = function(r) {
974
+ var n, i;
975
+ (i = (n = this.destination) === null || n === void 0 ? void 0 : n.next) === null || i === void 0 || i.call(n, r);
976
+ }, t.prototype.error = function(r) {
977
+ var n, i;
978
+ (i = (n = this.destination) === null || n === void 0 ? void 0 : n.error) === null || i === void 0 || i.call(n, r);
979
+ }, t.prototype.complete = function() {
980
+ var r, n;
981
+ (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
982
+ }, t.prototype._subscribe = function(r) {
983
+ var n, i;
984
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Ut;
985
+ }, t;
986
+ }(Ft), jt = {
987
+ now: function() {
988
+ return (jt.delegate || Date).now();
989
+ },
990
+ delegate: void 0
991
+ }, tn = function(e) {
992
+ te(t, e);
993
+ function t(r, n, i) {
994
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = jt);
995
+ var o = e.call(this) || this;
996
+ 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;
997
+ }
998
+ return t.prototype.next = function(r) {
999
+ var n = this, i = n.isStopped, o = n._buffer, s = n._infiniteTimeWindow, a = n._timestampProvider, h = n._windowTime;
1000
+ i || (o.push(r), !s && o.push(a.now() + h)), this._trimBuffer(), e.prototype.next.call(this, r);
1001
+ }, t.prototype._subscribe = function(r) {
1002
+ this._throwIfClosed(), this._trimBuffer();
1003
+ for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, s = i._buffer, a = s.slice(), h = 0; h < a.length && !r.closed; h += o ? 1 : 2)
1004
+ r.next(a[h]);
1005
+ return this._checkFinalizedStatuses(r), n;
1006
+ }, t.prototype._trimBuffer = function() {
1007
+ var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, s = r._infiniteTimeWindow, a = (s ? 1 : 2) * n;
1008
+ if (n < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
1009
+ for (var h = i.now(), u = 0, l = 1; l < o.length && o[l] <= h; l += 2)
1010
+ u = l;
1011
+ u && o.splice(0, u + 1);
1012
+ }
1013
+ }, t;
1014
+ }(Ft);
1015
+ const pt = [], dt = {}, rn = (e, t = 0) => {
1016
+ if (pt.indexOf(e) == -1) {
1017
+ const r = new tn(t);
1018
+ dt[e] = r, pt.push(e);
1019
+ }
1020
+ return dt[e];
1021
+ }, R = [];
1022
+ function nn(e, t) {
1023
+ return {
1024
+ subscribe: ve(e, t).subscribe
1025
+ };
1026
+ }
1027
+ function ve(e, t = S) {
1028
+ let r;
1029
+ const n = /* @__PURE__ */ new Set();
1030
+ function i(a) {
1031
+ if (It(e, a) && (e = a, r)) {
1032
+ const h = !R.length;
1033
+ for (const u of n)
1034
+ u[1](), R.push(u, e);
1035
+ if (h) {
1036
+ for (let u = 0; u < R.length; u += 2)
1037
+ R[u][0](R[u + 1]);
1038
+ R.length = 0;
1039
+ }
1040
+ }
1041
+ }
1042
+ function o(a) {
1043
+ i(a(e));
1044
+ }
1045
+ function s(a, h = S) {
1046
+ const u = [a, h];
1047
+ return n.add(u), n.size === 1 && (r = t(i, o) || S), a(e), () => {
1048
+ n.delete(u), n.size === 0 && r && (r(), r = null);
1049
+ };
1050
+ }
1051
+ return { set: i, update: o, subscribe: s };
1052
+ }
1053
+ function X(e, t, r) {
1054
+ const n = !Array.isArray(e), i = n ? [e] : e;
1055
+ if (!i.every(Boolean))
1056
+ throw new Error("derived() expects stores as input, got a falsy value");
1057
+ const o = t.length < 2;
1058
+ return nn(r, (s, a) => {
1059
+ let h = !1;
1060
+ const u = [];
1061
+ let l = 0, f = S;
1062
+ const c = () => {
1063
+ if (l)
1064
+ return;
1065
+ f();
1066
+ const v = t(n ? u[0] : u, s, a);
1067
+ o ? s(v) : f = Qe(v) ? v : S;
1068
+ }, m = i.map(
1069
+ (v, b) => gr(
1070
+ v,
1071
+ (H) => {
1072
+ u[b] = H, l &= ~(1 << b), h && c();
1073
+ },
1074
+ () => {
1075
+ l |= 1 << b;
1076
+ }
1077
+ )
1078
+ );
1079
+ return h = !0, c(), function() {
1080
+ K(m), f(), h = !1;
1081
+ };
1082
+ });
1083
+ }
1084
+ function on(e) {
1085
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1086
+ }
1087
+ var sn = function(t) {
1088
+ return an(t) && !un(t);
1089
+ };
1090
+ function an(e) {
1091
+ return !!e && typeof e == "object";
1092
+ }
1093
+ function un(e) {
1094
+ var t = Object.prototype.toString.call(e);
1095
+ return t === "[object RegExp]" || t === "[object Date]" || fn(e);
1096
+ }
1097
+ var hn = typeof Symbol == "function" && Symbol.for, ln = hn ? Symbol.for("react.element") : 60103;
1098
+ function fn(e) {
1099
+ return e.$$typeof === ln;
1100
+ }
1101
+ function cn(e) {
1102
+ return Array.isArray(e) ? [] : {};
1103
+ }
1104
+ function q(e, t) {
1105
+ return t.clone !== !1 && t.isMergeableObject(e) ? G(cn(e), e, t) : e;
1106
+ }
1107
+ function pn(e, t, r) {
1108
+ return e.concat(t).map(function(n) {
1109
+ return q(n, r);
1110
+ });
1111
+ }
1112
+ function dn(e, t) {
1113
+ if (!t.customMerge)
1114
+ return G;
1115
+ var r = t.customMerge(e);
1116
+ return typeof r == "function" ? r : G;
1117
+ }
1118
+ function mn(e) {
1119
+ return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1120
+ return Object.propertyIsEnumerable.call(e, t);
1121
+ }) : [];
1122
+ }
1123
+ function mt(e) {
1124
+ return Object.keys(e).concat(mn(e));
1125
+ }
1126
+ function Vt(e, t) {
1127
+ try {
1128
+ return t in e;
1129
+ } catch (r) {
1130
+ return !1;
1131
+ }
1132
+ }
1133
+ function bn(e, t) {
1134
+ return Vt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1135
+ }
1136
+ function vn(e, t, r) {
1137
+ var n = {};
1138
+ return r.isMergeableObject(e) && mt(e).forEach(function(i) {
1139
+ n[i] = q(e[i], r);
1140
+ }), mt(t).forEach(function(i) {
1141
+ bn(e, i) || (Vt(e, i) && r.isMergeableObject(t[i]) ? n[i] = dn(i, r)(e[i], t[i], r) : n[i] = q(t[i], r));
1142
+ }), n;
1143
+ }
1144
+ function G(e, t, r) {
1145
+ r = r || {}, r.arrayMerge = r.arrayMerge || pn, r.isMergeableObject = r.isMergeableObject || sn, r.cloneUnlessOtherwiseSpecified = q;
1146
+ var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1147
+ return o ? n ? r.arrayMerge(e, t, r) : vn(e, t, r) : q(t, r);
1148
+ }
1149
+ G.all = function(t, r) {
1150
+ if (!Array.isArray(t))
1151
+ throw new Error("first argument should be an array");
1152
+ return t.reduce(function(n, i) {
1153
+ return G(n, i, r);
1154
+ }, {});
1155
+ };
1156
+ var gn = G, yn = gn;
1157
+ const _n = /* @__PURE__ */ on(yn);
1158
+ var Ge = function(e, t) {
1159
+ return Ge = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1160
+ r.__proto__ = n;
1161
+ } || function(r, n) {
1162
+ for (var i in n)
1163
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1164
+ }, Ge(e, t);
1165
+ };
1166
+ function ge(e, t) {
1167
+ if (typeof t != "function" && t !== null)
1168
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1169
+ Ge(e, t);
1170
+ function r() {
1171
+ this.constructor = e;
1172
+ }
1173
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1174
+ }
1175
+ var B = function() {
1176
+ return B = Object.assign || function(t) {
1177
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1178
+ r = arguments[n];
1179
+ for (var o in r)
1180
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1181
+ }
1182
+ return t;
1183
+ }, B.apply(this, arguments);
1184
+ };
1185
+ function En(e, t) {
1186
+ var r = {};
1187
+ for (var n in e)
1188
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1189
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
1190
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1191
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1192
+ return r;
1193
+ }
1194
+ function He(e, t, r) {
1195
+ if (r || arguments.length === 2)
1196
+ for (var n = 0, i = t.length, o; n < i; n++)
1197
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1198
+ return e.concat(o || Array.prototype.slice.call(t));
1199
+ }
1200
+ function Te(e, t) {
1201
+ var r = t && t.cache ? t.cache : An, n = t && t.serializer ? t.serializer : Tn, i = t && t.strategy ? t.strategy : wn;
1202
+ return i(e, {
1203
+ cache: r,
1204
+ serializer: n
1205
+ });
1206
+ }
1207
+ function xn(e) {
1208
+ return e == null || typeof e == "number" || typeof e == "boolean";
1209
+ }
1210
+ function Sn(e, t, r, n) {
1211
+ var i = xn(n) ? n : r(n), o = t.get(i);
1212
+ return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1213
+ }
1214
+ function kt(e, t, r) {
1215
+ var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1216
+ return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1217
+ }
1218
+ function Xt(e, t, r, n, i) {
1219
+ return r.bind(t, e, n, i);
1220
+ }
1221
+ function wn(e, t) {
1222
+ var r = e.length === 1 ? Sn : kt;
1223
+ return Xt(e, this, r, t.cache.create(), t.serializer);
1224
+ }
1225
+ function Hn(e, t) {
1226
+ return Xt(e, this, kt, t.cache.create(), t.serializer);
1227
+ }
1228
+ var Tn = function() {
1229
+ return JSON.stringify(arguments);
1230
+ }, Bn = (
1231
+ /** @class */
1232
+ function() {
1233
+ function e() {
1234
+ this.cache = /* @__PURE__ */ Object.create(null);
1235
+ }
1236
+ return e.prototype.get = function(t) {
1237
+ return this.cache[t];
1238
+ }, e.prototype.set = function(t, r) {
1239
+ this.cache[t] = r;
1240
+ }, e;
1241
+ }()
1242
+ ), An = {
1243
+ create: function() {
1244
+ return new Bn();
1245
+ }
1246
+ }, Be = {
1247
+ variadic: Hn
1248
+ }, pe = function() {
1249
+ return pe = Object.assign || function(t) {
1250
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1251
+ r = arguments[n];
1252
+ for (var o in r)
1253
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1254
+ }
1255
+ return t;
1256
+ }, pe.apply(this, arguments);
1257
+ };
1258
+ var p;
1259
+ (function(e) {
1260
+ 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";
1261
+ })(p || (p = {}));
1262
+ var g;
1263
+ (function(e) {
1264
+ 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";
1265
+ })(g || (g = {}));
1266
+ var F;
1267
+ (function(e) {
1268
+ e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1269
+ })(F || (F = {}));
1270
+ function bt(e) {
1271
+ return e.type === g.literal;
1272
+ }
1273
+ function Pn(e) {
1274
+ return e.type === g.argument;
1275
+ }
1276
+ function Wt(e) {
1277
+ return e.type === g.number;
1278
+ }
1279
+ function zt(e) {
1280
+ return e.type === g.date;
1281
+ }
1282
+ function Zt(e) {
1283
+ return e.type === g.time;
1284
+ }
1285
+ function Qt(e) {
1286
+ return e.type === g.select;
1287
+ }
1288
+ function Jt(e) {
1289
+ return e.type === g.plural;
1290
+ }
1291
+ function On(e) {
1292
+ return e.type === g.pound;
1293
+ }
1294
+ function qt(e) {
1295
+ return e.type === g.tag;
1296
+ }
1297
+ function Yt(e) {
1298
+ return !!(e && typeof e == "object" && e.type === F.number);
1299
+ }
1300
+ function Fe(e) {
1301
+ return !!(e && typeof e == "object" && e.type === F.dateTime);
1302
+ }
1303
+ var Kt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Cn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1304
+ function Ln(e) {
1305
+ var t = {};
1306
+ return e.replace(Cn, function(r) {
1307
+ var n = r.length;
1308
+ switch (r[0]) {
1309
+ case "G":
1310
+ t.era = n === 4 ? "long" : n === 5 ? "narrow" : "short";
1311
+ break;
1312
+ case "y":
1313
+ t.year = n === 2 ? "2-digit" : "numeric";
1314
+ break;
1315
+ case "Y":
1316
+ case "u":
1317
+ case "U":
1318
+ case "r":
1319
+ throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");
1320
+ case "q":
1321
+ case "Q":
1322
+ throw new RangeError("`q/Q` (quarter) patterns are not supported");
1323
+ case "M":
1324
+ case "L":
1325
+ t.month = ["numeric", "2-digit", "short", "long", "narrow"][n - 1];
1326
+ break;
1327
+ case "w":
1328
+ case "W":
1329
+ throw new RangeError("`w/W` (week) patterns are not supported");
1330
+ case "d":
1331
+ t.day = ["numeric", "2-digit"][n - 1];
1332
+ break;
1333
+ case "D":
1334
+ case "F":
1335
+ case "g":
1336
+ throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");
1337
+ case "E":
1338
+ t.weekday = n === 4 ? "long" : n === 5 ? "narrow" : "short";
1339
+ break;
1340
+ case "e":
1341
+ if (n < 4)
1342
+ throw new RangeError("`e..eee` (weekday) patterns are not supported");
1343
+ t.weekday = ["short", "long", "narrow", "short"][n - 4];
1344
+ break;
1345
+ case "c":
1346
+ if (n < 4)
1347
+ throw new RangeError("`c..ccc` (weekday) patterns are not supported");
1348
+ t.weekday = ["short", "long", "narrow", "short"][n - 4];
1349
+ break;
1350
+ case "a":
1351
+ t.hour12 = !0;
1352
+ break;
1353
+ case "b":
1354
+ case "B":
1355
+ throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");
1356
+ case "h":
1357
+ t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][n - 1];
1358
+ break;
1359
+ case "H":
1360
+ t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][n - 1];
1361
+ break;
1362
+ case "K":
1363
+ t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][n - 1];
1364
+ break;
1365
+ case "k":
1366
+ t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][n - 1];
1367
+ break;
1368
+ case "j":
1369
+ case "J":
1370
+ case "C":
1371
+ throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");
1372
+ case "m":
1373
+ t.minute = ["numeric", "2-digit"][n - 1];
1374
+ break;
1375
+ case "s":
1376
+ t.second = ["numeric", "2-digit"][n - 1];
1377
+ break;
1378
+ case "S":
1379
+ case "A":
1380
+ throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");
1381
+ case "z":
1382
+ t.timeZoneName = n < 4 ? "short" : "long";
1383
+ break;
1384
+ case "Z":
1385
+ case "O":
1386
+ case "v":
1387
+ case "V":
1388
+ case "X":
1389
+ case "x":
1390
+ throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead");
1391
+ }
1392
+ return "";
1393
+ }), t;
1394
+ }
1395
+ var _ = function() {
1396
+ return _ = Object.assign || function(t) {
1397
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1398
+ r = arguments[n];
1399
+ for (var o in r)
1400
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1401
+ }
1402
+ return t;
1403
+ }, _.apply(this, arguments);
1404
+ };
1405
+ var In = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1406
+ function Nn(e) {
1407
+ if (e.length === 0)
1408
+ throw new Error("Number skeleton cannot be empty");
1409
+ for (var t = e.split(In).filter(function(c) {
1410
+ return c.length > 0;
1411
+ }), r = [], n = 0, i = t; n < i.length; n++) {
1412
+ var o = i[n], s = o.split("/");
1413
+ if (s.length === 0)
1414
+ throw new Error("Invalid number skeleton");
1415
+ for (var a = s[0], h = s.slice(1), u = 0, l = h; u < l.length; u++) {
1416
+ var f = l[u];
1417
+ if (f.length === 0)
1418
+ throw new Error("Invalid number skeleton");
1419
+ }
1420
+ r.push({ stem: a, options: h });
1421
+ }
1422
+ return r;
1423
+ }
1424
+ function Mn(e) {
1425
+ return e.replace(/^(.*?)-/, "");
1426
+ }
1427
+ var vt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, er = /^(@+)?(\+|#+)?[rs]?$/g, $n = /(\*)(0+)|(#+)(0+)|(0+)/g, tr = /^(0+)$/;
1428
+ function gt(e) {
1429
+ var t = {};
1430
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(er, function(r, n, i) {
1431
+ 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)), "";
1432
+ }), t;
1433
+ }
1434
+ function rr(e) {
1435
+ switch (e) {
1436
+ case "sign-auto":
1437
+ return {
1438
+ signDisplay: "auto"
1439
+ };
1440
+ case "sign-accounting":
1441
+ case "()":
1442
+ return {
1443
+ currencySign: "accounting"
1444
+ };
1445
+ case "sign-always":
1446
+ case "+!":
1447
+ return {
1448
+ signDisplay: "always"
1449
+ };
1450
+ case "sign-accounting-always":
1451
+ case "()!":
1452
+ return {
1453
+ signDisplay: "always",
1454
+ currencySign: "accounting"
1455
+ };
1456
+ case "sign-except-zero":
1457
+ case "+?":
1458
+ return {
1459
+ signDisplay: "exceptZero"
1460
+ };
1461
+ case "sign-accounting-except-zero":
1462
+ case "()?":
1463
+ return {
1464
+ signDisplay: "exceptZero",
1465
+ currencySign: "accounting"
1466
+ };
1467
+ case "sign-never":
1468
+ case "+_":
1469
+ return {
1470
+ signDisplay: "never"
1471
+ };
1472
+ }
1473
+ }
1474
+ function Rn(e) {
1475
+ var t;
1476
+ if (e[0] === "E" && e[1] === "E" ? (t = {
1477
+ notation: "engineering"
1478
+ }, e = e.slice(2)) : e[0] === "E" && (t = {
1479
+ notation: "scientific"
1480
+ }, e = e.slice(1)), t) {
1481
+ var r = e.slice(0, 2);
1482
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !tr.test(e))
1483
+ throw new Error("Malformed concise eng/scientific notation");
1484
+ t.minimumIntegerDigits = e.length;
1485
+ }
1486
+ return t;
1487
+ }
1488
+ function yt(e) {
1489
+ var t = {}, r = rr(e);
1490
+ return r || t;
1491
+ }
1492
+ function Un(e) {
1493
+ for (var t = {}, r = 0, n = e; r < n.length; r++) {
1494
+ var i = n[r];
1495
+ switch (i.stem) {
1496
+ case "percent":
1497
+ case "%":
1498
+ t.style = "percent";
1499
+ continue;
1500
+ case "%x100":
1501
+ t.style = "percent", t.scale = 100;
1502
+ continue;
1503
+ case "currency":
1504
+ t.style = "currency", t.currency = i.options[0];
1505
+ continue;
1506
+ case "group-off":
1507
+ case ",_":
1508
+ t.useGrouping = !1;
1509
+ continue;
1510
+ case "precision-integer":
1511
+ case ".":
1512
+ t.maximumFractionDigits = 0;
1513
+ continue;
1514
+ case "measure-unit":
1515
+ case "unit":
1516
+ t.style = "unit", t.unit = Mn(i.options[0]);
1517
+ continue;
1518
+ case "compact-short":
1519
+ case "K":
1520
+ t.notation = "compact", t.compactDisplay = "short";
1521
+ continue;
1522
+ case "compact-long":
1523
+ case "KK":
1524
+ t.notation = "compact", t.compactDisplay = "long";
1525
+ continue;
1526
+ case "scientific":
1527
+ t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1528
+ return _(_({}, h), yt(u));
1529
+ }, {}));
1530
+ continue;
1531
+ case "engineering":
1532
+ t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1533
+ return _(_({}, h), yt(u));
1534
+ }, {}));
1535
+ continue;
1536
+ case "notation-simple":
1537
+ t.notation = "standard";
1538
+ continue;
1539
+ case "unit-width-narrow":
1540
+ t.currencyDisplay = "narrowSymbol", t.unitDisplay = "narrow";
1541
+ continue;
1542
+ case "unit-width-short":
1543
+ t.currencyDisplay = "code", t.unitDisplay = "short";
1544
+ continue;
1545
+ case "unit-width-full-name":
1546
+ t.currencyDisplay = "name", t.unitDisplay = "long";
1547
+ continue;
1548
+ case "unit-width-iso-code":
1549
+ t.currencyDisplay = "symbol";
1550
+ continue;
1551
+ case "scale":
1552
+ t.scale = parseFloat(i.options[0]);
1553
+ continue;
1554
+ case "rounding-mode-floor":
1555
+ t.roundingMode = "floor";
1556
+ continue;
1557
+ case "rounding-mode-ceiling":
1558
+ t.roundingMode = "ceil";
1559
+ continue;
1560
+ case "rounding-mode-down":
1561
+ t.roundingMode = "trunc";
1562
+ continue;
1563
+ case "rounding-mode-up":
1564
+ t.roundingMode = "expand";
1565
+ continue;
1566
+ case "rounding-mode-half-even":
1567
+ t.roundingMode = "halfEven";
1568
+ continue;
1569
+ case "rounding-mode-half-down":
1570
+ t.roundingMode = "halfTrunc";
1571
+ continue;
1572
+ case "rounding-mode-half-up":
1573
+ t.roundingMode = "halfExpand";
1574
+ continue;
1575
+ case "integer-width":
1576
+ if (i.options.length > 1)
1577
+ throw new RangeError("integer-width stems only accept a single optional option");
1578
+ i.options[0].replace($n, function(h, u, l, f, c, m) {
1579
+ if (u)
1580
+ t.minimumIntegerDigits = l.length;
1581
+ else {
1582
+ if (f && c)
1583
+ throw new Error("We currently do not support maximum integer digits");
1584
+ if (m)
1585
+ throw new Error("We currently do not support exact integer digits");
1586
+ }
1587
+ return "";
1588
+ });
1589
+ continue;
1590
+ }
1591
+ if (tr.test(i.stem)) {
1592
+ t.minimumIntegerDigits = i.stem.length;
1593
+ continue;
1594
+ }
1595
+ if (vt.test(i.stem)) {
1596
+ if (i.options.length > 1)
1597
+ throw new RangeError("Fraction-precision stems only accept a single optional option");
1598
+ i.stem.replace(vt, function(h, u, l, f, c, m) {
1599
+ return l === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && m ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + m.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1600
+ });
1601
+ var o = i.options[0];
1602
+ o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), gt(o)));
1603
+ continue;
1604
+ }
1605
+ if (er.test(i.stem)) {
1606
+ t = _(_({}, t), gt(i.stem));
1607
+ continue;
1608
+ }
1609
+ var s = rr(i.stem);
1610
+ s && (t = _(_({}, t), s));
1611
+ var a = Rn(i.stem);
1612
+ a && (t = _(_({}, t), a));
1613
+ }
1614
+ return t;
1615
+ }
1616
+ var ae = {
1617
+ "001": [
1618
+ "H",
1619
+ "h"
1620
+ ],
1621
+ 419: [
1622
+ "h",
1623
+ "H",
1624
+ "hB",
1625
+ "hb"
1626
+ ],
1627
+ AC: [
1628
+ "H",
1629
+ "h",
1630
+ "hb",
1631
+ "hB"
1632
+ ],
1633
+ AD: [
1634
+ "H",
1635
+ "hB"
1636
+ ],
1637
+ AE: [
1638
+ "h",
1639
+ "hB",
1640
+ "hb",
1641
+ "H"
1642
+ ],
1643
+ AF: [
1644
+ "H",
1645
+ "hb",
1646
+ "hB",
1647
+ "h"
1648
+ ],
1649
+ AG: [
1650
+ "h",
1651
+ "hb",
1652
+ "H",
1653
+ "hB"
1654
+ ],
1655
+ AI: [
1656
+ "H",
1657
+ "h",
1658
+ "hb",
1659
+ "hB"
1660
+ ],
1661
+ AL: [
1662
+ "h",
1663
+ "H",
1664
+ "hB"
1665
+ ],
1666
+ AM: [
1667
+ "H",
1668
+ "hB"
1669
+ ],
1670
+ AO: [
1671
+ "H",
1672
+ "hB"
1673
+ ],
1674
+ AR: [
1675
+ "h",
1676
+ "H",
1677
+ "hB",
1678
+ "hb"
1679
+ ],
1680
+ AS: [
1681
+ "h",
1682
+ "H"
1683
+ ],
1684
+ AT: [
1685
+ "H",
1686
+ "hB"
1687
+ ],
1688
+ AU: [
1689
+ "h",
1690
+ "hb",
1691
+ "H",
1692
+ "hB"
1693
+ ],
1694
+ AW: [
1695
+ "H",
1696
+ "hB"
1697
+ ],
1698
+ AX: [
1699
+ "H"
1700
+ ],
1701
+ AZ: [
1702
+ "H",
1703
+ "hB",
1704
+ "h"
1705
+ ],
1706
+ BA: [
1707
+ "H",
1708
+ "hB",
1709
+ "h"
1710
+ ],
1711
+ BB: [
1712
+ "h",
1713
+ "hb",
1714
+ "H",
1715
+ "hB"
1716
+ ],
1717
+ BD: [
1718
+ "h",
1719
+ "hB",
1720
+ "H"
1721
+ ],
1722
+ BE: [
1723
+ "H",
1724
+ "hB"
1725
+ ],
1726
+ BF: [
1727
+ "H",
1728
+ "hB"
1729
+ ],
1730
+ BG: [
1731
+ "H",
1732
+ "hB",
1733
+ "h"
1734
+ ],
1735
+ BH: [
1736
+ "h",
1737
+ "hB",
1738
+ "hb",
1739
+ "H"
1740
+ ],
1741
+ BI: [
1742
+ "H",
1743
+ "h"
1744
+ ],
1745
+ BJ: [
1746
+ "H",
1747
+ "hB"
1748
+ ],
1749
+ BL: [
1750
+ "H",
1751
+ "hB"
1752
+ ],
1753
+ BM: [
1754
+ "h",
1755
+ "hb",
1756
+ "H",
1757
+ "hB"
1758
+ ],
1759
+ BN: [
1760
+ "hb",
1761
+ "hB",
1762
+ "h",
1763
+ "H"
1764
+ ],
1765
+ BO: [
1766
+ "h",
1767
+ "H",
1768
+ "hB",
1769
+ "hb"
1770
+ ],
1771
+ BQ: [
1772
+ "H"
1773
+ ],
1774
+ BR: [
1775
+ "H",
1776
+ "hB"
1777
+ ],
1778
+ BS: [
1779
+ "h",
1780
+ "hb",
1781
+ "H",
1782
+ "hB"
1783
+ ],
1784
+ BT: [
1785
+ "h",
1786
+ "H"
1787
+ ],
1788
+ BW: [
1789
+ "H",
1790
+ "h",
1791
+ "hb",
1792
+ "hB"
1793
+ ],
1794
+ BY: [
1795
+ "H",
1796
+ "h"
1797
+ ],
1798
+ BZ: [
1799
+ "H",
1800
+ "h",
1801
+ "hb",
1802
+ "hB"
1803
+ ],
1804
+ CA: [
1805
+ "h",
1806
+ "hb",
1807
+ "H",
1808
+ "hB"
1809
+ ],
1810
+ CC: [
1811
+ "H",
1812
+ "h",
1813
+ "hb",
1814
+ "hB"
1815
+ ],
1816
+ CD: [
1817
+ "hB",
1818
+ "H"
1819
+ ],
1820
+ CF: [
1821
+ "H",
1822
+ "h",
1823
+ "hB"
1824
+ ],
1825
+ CG: [
1826
+ "H",
1827
+ "hB"
1828
+ ],
1829
+ CH: [
1830
+ "H",
1831
+ "hB",
1832
+ "h"
1833
+ ],
1834
+ CI: [
1835
+ "H",
1836
+ "hB"
1837
+ ],
1838
+ CK: [
1839
+ "H",
1840
+ "h",
1841
+ "hb",
1842
+ "hB"
1843
+ ],
1844
+ CL: [
1845
+ "h",
1846
+ "H",
1847
+ "hB",
1848
+ "hb"
1849
+ ],
1850
+ CM: [
1851
+ "H",
1852
+ "h",
1853
+ "hB"
1854
+ ],
1855
+ CN: [
1856
+ "H",
1857
+ "hB",
1858
+ "hb",
1859
+ "h"
1860
+ ],
1861
+ CO: [
1862
+ "h",
1863
+ "H",
1864
+ "hB",
1865
+ "hb"
1866
+ ],
1867
+ CP: [
1868
+ "H"
1869
+ ],
1870
+ CR: [
1871
+ "h",
1872
+ "H",
1873
+ "hB",
1874
+ "hb"
1875
+ ],
1876
+ CU: [
1877
+ "h",
1878
+ "H",
1879
+ "hB",
1880
+ "hb"
1881
+ ],
1882
+ CV: [
1883
+ "H",
1884
+ "hB"
1885
+ ],
1886
+ CW: [
1887
+ "H",
1888
+ "hB"
1889
+ ],
1890
+ CX: [
1891
+ "H",
1892
+ "h",
1893
+ "hb",
1894
+ "hB"
1895
+ ],
1896
+ CY: [
1897
+ "h",
1898
+ "H",
1899
+ "hb",
1900
+ "hB"
1901
+ ],
1902
+ CZ: [
1903
+ "H"
1904
+ ],
1905
+ DE: [
1906
+ "H",
1907
+ "hB"
1908
+ ],
1909
+ DG: [
1910
+ "H",
1911
+ "h",
1912
+ "hb",
1913
+ "hB"
1914
+ ],
1915
+ DJ: [
1916
+ "h",
1917
+ "H"
1918
+ ],
1919
+ DK: [
1920
+ "H"
1921
+ ],
1922
+ DM: [
1923
+ "h",
1924
+ "hb",
1925
+ "H",
1926
+ "hB"
1927
+ ],
1928
+ DO: [
1929
+ "h",
1930
+ "H",
1931
+ "hB",
1932
+ "hb"
1933
+ ],
1934
+ DZ: [
1935
+ "h",
1936
+ "hB",
1937
+ "hb",
1938
+ "H"
1939
+ ],
1940
+ EA: [
1941
+ "H",
1942
+ "h",
1943
+ "hB",
1944
+ "hb"
1945
+ ],
1946
+ EC: [
1947
+ "h",
1948
+ "H",
1949
+ "hB",
1950
+ "hb"
1951
+ ],
1952
+ EE: [
1953
+ "H",
1954
+ "hB"
1955
+ ],
1956
+ EG: [
1957
+ "h",
1958
+ "hB",
1959
+ "hb",
1960
+ "H"
1961
+ ],
1962
+ EH: [
1963
+ "h",
1964
+ "hB",
1965
+ "hb",
1966
+ "H"
1967
+ ],
1968
+ ER: [
1969
+ "h",
1970
+ "H"
1971
+ ],
1972
+ ES: [
1973
+ "H",
1974
+ "hB",
1975
+ "h",
1976
+ "hb"
1977
+ ],
1978
+ ET: [
1979
+ "hB",
1980
+ "hb",
1981
+ "h",
1982
+ "H"
1983
+ ],
1984
+ FI: [
1985
+ "H"
1986
+ ],
1987
+ FJ: [
1988
+ "h",
1989
+ "hb",
1990
+ "H",
1991
+ "hB"
1992
+ ],
1993
+ FK: [
1994
+ "H",
1995
+ "h",
1996
+ "hb",
1997
+ "hB"
1998
+ ],
1999
+ FM: [
2000
+ "h",
2001
+ "hb",
2002
+ "H",
2003
+ "hB"
2004
+ ],
2005
+ FO: [
2006
+ "H",
2007
+ "h"
2008
+ ],
2009
+ FR: [
2010
+ "H",
2011
+ "hB"
2012
+ ],
2013
+ GA: [
2014
+ "H",
2015
+ "hB"
2016
+ ],
2017
+ GB: [
2018
+ "H",
2019
+ "h",
2020
+ "hb",
2021
+ "hB"
2022
+ ],
2023
+ GD: [
2024
+ "h",
2025
+ "hb",
2026
+ "H",
2027
+ "hB"
2028
+ ],
2029
+ GE: [
2030
+ "H",
2031
+ "hB",
2032
+ "h"
2033
+ ],
2034
+ GF: [
2035
+ "H",
2036
+ "hB"
2037
+ ],
2038
+ GG: [
2039
+ "H",
2040
+ "h",
2041
+ "hb",
2042
+ "hB"
2043
+ ],
2044
+ GH: [
2045
+ "h",
2046
+ "H"
2047
+ ],
2048
+ GI: [
2049
+ "H",
2050
+ "h",
2051
+ "hb",
2052
+ "hB"
2053
+ ],
2054
+ GL: [
2055
+ "H",
2056
+ "h"
2057
+ ],
2058
+ GM: [
2059
+ "h",
2060
+ "hb",
2061
+ "H",
2062
+ "hB"
2063
+ ],
2064
+ GN: [
2065
+ "H",
2066
+ "hB"
2067
+ ],
2068
+ GP: [
2069
+ "H",
2070
+ "hB"
2071
+ ],
2072
+ GQ: [
2073
+ "H",
2074
+ "hB",
2075
+ "h",
2076
+ "hb"
2077
+ ],
2078
+ GR: [
2079
+ "h",
2080
+ "H",
2081
+ "hb",
2082
+ "hB"
2083
+ ],
2084
+ GT: [
2085
+ "h",
2086
+ "H",
2087
+ "hB",
2088
+ "hb"
2089
+ ],
2090
+ GU: [
2091
+ "h",
2092
+ "hb",
2093
+ "H",
2094
+ "hB"
2095
+ ],
2096
+ GW: [
2097
+ "H",
2098
+ "hB"
2099
+ ],
2100
+ GY: [
2101
+ "h",
2102
+ "hb",
2103
+ "H",
2104
+ "hB"
2105
+ ],
2106
+ HK: [
2107
+ "h",
2108
+ "hB",
2109
+ "hb",
2110
+ "H"
2111
+ ],
2112
+ HN: [
2113
+ "h",
2114
+ "H",
2115
+ "hB",
2116
+ "hb"
2117
+ ],
2118
+ HR: [
2119
+ "H",
2120
+ "hB"
2121
+ ],
2122
+ HU: [
2123
+ "H",
2124
+ "h"
2125
+ ],
2126
+ IC: [
2127
+ "H",
2128
+ "h",
2129
+ "hB",
2130
+ "hb"
2131
+ ],
2132
+ ID: [
2133
+ "H"
2134
+ ],
2135
+ IE: [
2136
+ "H",
2137
+ "h",
2138
+ "hb",
2139
+ "hB"
2140
+ ],
2141
+ IL: [
2142
+ "H",
2143
+ "hB"
2144
+ ],
2145
+ IM: [
2146
+ "H",
2147
+ "h",
2148
+ "hb",
2149
+ "hB"
2150
+ ],
2151
+ IN: [
2152
+ "h",
2153
+ "H"
2154
+ ],
2155
+ IO: [
2156
+ "H",
2157
+ "h",
2158
+ "hb",
2159
+ "hB"
2160
+ ],
2161
+ IQ: [
2162
+ "h",
2163
+ "hB",
2164
+ "hb",
2165
+ "H"
2166
+ ],
2167
+ IR: [
2168
+ "hB",
2169
+ "H"
2170
+ ],
2171
+ IS: [
2172
+ "H"
2173
+ ],
2174
+ IT: [
2175
+ "H",
2176
+ "hB"
2177
+ ],
2178
+ JE: [
2179
+ "H",
2180
+ "h",
2181
+ "hb",
2182
+ "hB"
2183
+ ],
2184
+ JM: [
2185
+ "h",
2186
+ "hb",
2187
+ "H",
2188
+ "hB"
2189
+ ],
2190
+ JO: [
2191
+ "h",
2192
+ "hB",
2193
+ "hb",
2194
+ "H"
2195
+ ],
2196
+ JP: [
2197
+ "H",
2198
+ "K",
2199
+ "h"
2200
+ ],
2201
+ KE: [
2202
+ "hB",
2203
+ "hb",
2204
+ "H",
2205
+ "h"
2206
+ ],
2207
+ KG: [
2208
+ "H",
2209
+ "h",
2210
+ "hB",
2211
+ "hb"
2212
+ ],
2213
+ KH: [
2214
+ "hB",
2215
+ "h",
2216
+ "H",
2217
+ "hb"
2218
+ ],
2219
+ KI: [
2220
+ "h",
2221
+ "hb",
2222
+ "H",
2223
+ "hB"
2224
+ ],
2225
+ KM: [
2226
+ "H",
2227
+ "h",
2228
+ "hB",
2229
+ "hb"
2230
+ ],
2231
+ KN: [
2232
+ "h",
2233
+ "hb",
2234
+ "H",
2235
+ "hB"
2236
+ ],
2237
+ KP: [
2238
+ "h",
2239
+ "H",
2240
+ "hB",
2241
+ "hb"
2242
+ ],
2243
+ KR: [
2244
+ "h",
2245
+ "H",
2246
+ "hB",
2247
+ "hb"
2248
+ ],
2249
+ KW: [
2250
+ "h",
2251
+ "hB",
2252
+ "hb",
2253
+ "H"
2254
+ ],
2255
+ KY: [
2256
+ "h",
2257
+ "hb",
2258
+ "H",
2259
+ "hB"
2260
+ ],
2261
+ KZ: [
2262
+ "H",
2263
+ "hB"
2264
+ ],
2265
+ LA: [
2266
+ "H",
2267
+ "hb",
2268
+ "hB",
2269
+ "h"
2270
+ ],
2271
+ LB: [
2272
+ "h",
2273
+ "hB",
2274
+ "hb",
2275
+ "H"
2276
+ ],
2277
+ LC: [
2278
+ "h",
2279
+ "hb",
2280
+ "H",
2281
+ "hB"
2282
+ ],
2283
+ LI: [
2284
+ "H",
2285
+ "hB",
2286
+ "h"
2287
+ ],
2288
+ LK: [
2289
+ "H",
2290
+ "h",
2291
+ "hB",
2292
+ "hb"
2293
+ ],
2294
+ LR: [
2295
+ "h",
2296
+ "hb",
2297
+ "H",
2298
+ "hB"
2299
+ ],
2300
+ LS: [
2301
+ "h",
2302
+ "H"
2303
+ ],
2304
+ LT: [
2305
+ "H",
2306
+ "h",
2307
+ "hb",
2308
+ "hB"
2309
+ ],
2310
+ LU: [
2311
+ "H",
2312
+ "h",
2313
+ "hB"
2314
+ ],
2315
+ LV: [
2316
+ "H",
2317
+ "hB",
2318
+ "hb",
2319
+ "h"
2320
+ ],
2321
+ LY: [
2322
+ "h",
2323
+ "hB",
2324
+ "hb",
2325
+ "H"
2326
+ ],
2327
+ MA: [
2328
+ "H",
2329
+ "h",
2330
+ "hB",
2331
+ "hb"
2332
+ ],
2333
+ MC: [
2334
+ "H",
2335
+ "hB"
2336
+ ],
2337
+ MD: [
2338
+ "H",
2339
+ "hB"
2340
+ ],
2341
+ ME: [
2342
+ "H",
2343
+ "hB",
2344
+ "h"
2345
+ ],
2346
+ MF: [
2347
+ "H",
2348
+ "hB"
2349
+ ],
2350
+ MG: [
2351
+ "H",
2352
+ "h"
2353
+ ],
2354
+ MH: [
2355
+ "h",
2356
+ "hb",
2357
+ "H",
2358
+ "hB"
2359
+ ],
2360
+ MK: [
2361
+ "H",
2362
+ "h",
2363
+ "hb",
2364
+ "hB"
2365
+ ],
2366
+ ML: [
2367
+ "H"
2368
+ ],
2369
+ MM: [
2370
+ "hB",
2371
+ "hb",
2372
+ "H",
2373
+ "h"
2374
+ ],
2375
+ MN: [
2376
+ "H",
2377
+ "h",
2378
+ "hb",
2379
+ "hB"
2380
+ ],
2381
+ MO: [
2382
+ "h",
2383
+ "hB",
2384
+ "hb",
2385
+ "H"
2386
+ ],
2387
+ MP: [
2388
+ "h",
2389
+ "hb",
2390
+ "H",
2391
+ "hB"
2392
+ ],
2393
+ MQ: [
2394
+ "H",
2395
+ "hB"
2396
+ ],
2397
+ MR: [
2398
+ "h",
2399
+ "hB",
2400
+ "hb",
2401
+ "H"
2402
+ ],
2403
+ MS: [
2404
+ "H",
2405
+ "h",
2406
+ "hb",
2407
+ "hB"
2408
+ ],
2409
+ MT: [
2410
+ "H",
2411
+ "h"
2412
+ ],
2413
+ MU: [
2414
+ "H",
2415
+ "h"
2416
+ ],
2417
+ MV: [
2418
+ "H",
2419
+ "h"
2420
+ ],
2421
+ MW: [
2422
+ "h",
2423
+ "hb",
2424
+ "H",
2425
+ "hB"
2426
+ ],
2427
+ MX: [
2428
+ "h",
2429
+ "H",
2430
+ "hB",
2431
+ "hb"
2432
+ ],
2433
+ MY: [
2434
+ "hb",
2435
+ "hB",
2436
+ "h",
2437
+ "H"
2438
+ ],
2439
+ MZ: [
2440
+ "H",
2441
+ "hB"
2442
+ ],
2443
+ NA: [
2444
+ "h",
2445
+ "H",
2446
+ "hB",
2447
+ "hb"
2448
+ ],
2449
+ NC: [
2450
+ "H",
2451
+ "hB"
2452
+ ],
2453
+ NE: [
2454
+ "H"
2455
+ ],
2456
+ NF: [
2457
+ "H",
2458
+ "h",
2459
+ "hb",
2460
+ "hB"
2461
+ ],
2462
+ NG: [
2463
+ "H",
2464
+ "h",
2465
+ "hb",
2466
+ "hB"
2467
+ ],
2468
+ NI: [
2469
+ "h",
2470
+ "H",
2471
+ "hB",
2472
+ "hb"
2473
+ ],
2474
+ NL: [
2475
+ "H",
2476
+ "hB"
2477
+ ],
2478
+ NO: [
2479
+ "H",
2480
+ "h"
2481
+ ],
2482
+ NP: [
2483
+ "H",
2484
+ "h",
2485
+ "hB"
2486
+ ],
2487
+ NR: [
2488
+ "H",
2489
+ "h",
2490
+ "hb",
2491
+ "hB"
2492
+ ],
2493
+ NU: [
2494
+ "H",
2495
+ "h",
2496
+ "hb",
2497
+ "hB"
2498
+ ],
2499
+ NZ: [
2500
+ "h",
2501
+ "hb",
2502
+ "H",
2503
+ "hB"
2504
+ ],
2505
+ OM: [
2506
+ "h",
2507
+ "hB",
2508
+ "hb",
2509
+ "H"
2510
+ ],
2511
+ PA: [
2512
+ "h",
2513
+ "H",
2514
+ "hB",
2515
+ "hb"
2516
+ ],
2517
+ PE: [
2518
+ "h",
2519
+ "H",
2520
+ "hB",
2521
+ "hb"
2522
+ ],
2523
+ PF: [
2524
+ "H",
2525
+ "h",
2526
+ "hB"
2527
+ ],
2528
+ PG: [
2529
+ "h",
2530
+ "H"
2531
+ ],
2532
+ PH: [
2533
+ "h",
2534
+ "hB",
2535
+ "hb",
2536
+ "H"
2537
+ ],
2538
+ PK: [
2539
+ "h",
2540
+ "hB",
2541
+ "H"
2542
+ ],
2543
+ PL: [
2544
+ "H",
2545
+ "h"
2546
+ ],
2547
+ PM: [
2548
+ "H",
2549
+ "hB"
2550
+ ],
2551
+ PN: [
2552
+ "H",
2553
+ "h",
2554
+ "hb",
2555
+ "hB"
2556
+ ],
2557
+ PR: [
2558
+ "h",
2559
+ "H",
2560
+ "hB",
2561
+ "hb"
2562
+ ],
2563
+ PS: [
2564
+ "h",
2565
+ "hB",
2566
+ "hb",
2567
+ "H"
2568
+ ],
2569
+ PT: [
2570
+ "H",
2571
+ "hB"
2572
+ ],
2573
+ PW: [
2574
+ "h",
2575
+ "H"
2576
+ ],
2577
+ PY: [
2578
+ "h",
2579
+ "H",
2580
+ "hB",
2581
+ "hb"
2582
+ ],
2583
+ QA: [
2584
+ "h",
2585
+ "hB",
2586
+ "hb",
2587
+ "H"
2588
+ ],
2589
+ RE: [
2590
+ "H",
2591
+ "hB"
2592
+ ],
2593
+ RO: [
2594
+ "H",
2595
+ "hB"
2596
+ ],
2597
+ RS: [
2598
+ "H",
2599
+ "hB",
2600
+ "h"
2601
+ ],
2602
+ RU: [
2603
+ "H"
2604
+ ],
2605
+ RW: [
2606
+ "H",
2607
+ "h"
2608
+ ],
2609
+ SA: [
2610
+ "h",
2611
+ "hB",
2612
+ "hb",
2613
+ "H"
2614
+ ],
2615
+ SB: [
2616
+ "h",
2617
+ "hb",
2618
+ "H",
2619
+ "hB"
2620
+ ],
2621
+ SC: [
2622
+ "H",
2623
+ "h",
2624
+ "hB"
2625
+ ],
2626
+ SD: [
2627
+ "h",
2628
+ "hB",
2629
+ "hb",
2630
+ "H"
2631
+ ],
2632
+ SE: [
2633
+ "H"
2634
+ ],
2635
+ SG: [
2636
+ "h",
2637
+ "hb",
2638
+ "H",
2639
+ "hB"
2640
+ ],
2641
+ SH: [
2642
+ "H",
2643
+ "h",
2644
+ "hb",
2645
+ "hB"
2646
+ ],
2647
+ SI: [
2648
+ "H",
2649
+ "hB"
2650
+ ],
2651
+ SJ: [
2652
+ "H"
2653
+ ],
2654
+ SK: [
2655
+ "H"
2656
+ ],
2657
+ SL: [
2658
+ "h",
2659
+ "hb",
2660
+ "H",
2661
+ "hB"
2662
+ ],
2663
+ SM: [
2664
+ "H",
2665
+ "h",
2666
+ "hB"
2667
+ ],
2668
+ SN: [
2669
+ "H",
2670
+ "h",
2671
+ "hB"
2672
+ ],
2673
+ SO: [
2674
+ "h",
2675
+ "H"
2676
+ ],
2677
+ SR: [
2678
+ "H",
2679
+ "hB"
2680
+ ],
2681
+ SS: [
2682
+ "h",
2683
+ "hb",
2684
+ "H",
2685
+ "hB"
2686
+ ],
2687
+ ST: [
2688
+ "H",
2689
+ "hB"
2690
+ ],
2691
+ SV: [
2692
+ "h",
2693
+ "H",
2694
+ "hB",
2695
+ "hb"
2696
+ ],
2697
+ SX: [
2698
+ "H",
2699
+ "h",
2700
+ "hb",
2701
+ "hB"
2702
+ ],
2703
+ SY: [
2704
+ "h",
2705
+ "hB",
2706
+ "hb",
2707
+ "H"
2708
+ ],
2709
+ SZ: [
2710
+ "h",
2711
+ "hb",
2712
+ "H",
2713
+ "hB"
2714
+ ],
2715
+ TA: [
2716
+ "H",
2717
+ "h",
2718
+ "hb",
2719
+ "hB"
2720
+ ],
2721
+ TC: [
2722
+ "h",
2723
+ "hb",
2724
+ "H",
2725
+ "hB"
2726
+ ],
2727
+ TD: [
2728
+ "h",
2729
+ "H",
2730
+ "hB"
2731
+ ],
2732
+ TF: [
2733
+ "H",
2734
+ "h",
2735
+ "hB"
2736
+ ],
2737
+ TG: [
2738
+ "H",
2739
+ "hB"
2740
+ ],
2741
+ TH: [
2742
+ "H",
2743
+ "h"
2744
+ ],
2745
+ TJ: [
2746
+ "H",
2747
+ "h"
2748
+ ],
2749
+ TL: [
2750
+ "H",
2751
+ "hB",
2752
+ "hb",
2753
+ "h"
2754
+ ],
2755
+ TM: [
2756
+ "H",
2757
+ "h"
2758
+ ],
2759
+ TN: [
2760
+ "h",
2761
+ "hB",
2762
+ "hb",
2763
+ "H"
2764
+ ],
2765
+ TO: [
2766
+ "h",
2767
+ "H"
2768
+ ],
2769
+ TR: [
2770
+ "H",
2771
+ "hB"
2772
+ ],
2773
+ TT: [
2774
+ "h",
2775
+ "hb",
2776
+ "H",
2777
+ "hB"
2778
+ ],
2779
+ TW: [
2780
+ "hB",
2781
+ "hb",
2782
+ "h",
2783
+ "H"
2784
+ ],
2785
+ TZ: [
2786
+ "hB",
2787
+ "hb",
2788
+ "H",
2789
+ "h"
2790
+ ],
2791
+ UA: [
2792
+ "H",
2793
+ "hB",
2794
+ "h"
2795
+ ],
2796
+ UG: [
2797
+ "hB",
2798
+ "hb",
2799
+ "H",
2800
+ "h"
2801
+ ],
2802
+ UM: [
2803
+ "h",
2804
+ "hb",
2805
+ "H",
2806
+ "hB"
2807
+ ],
2808
+ US: [
2809
+ "h",
2810
+ "hb",
2811
+ "H",
2812
+ "hB"
2813
+ ],
2814
+ UY: [
2815
+ "h",
2816
+ "H",
2817
+ "hB",
2818
+ "hb"
2819
+ ],
2820
+ UZ: [
2821
+ "H",
2822
+ "hB",
2823
+ "h"
2824
+ ],
2825
+ VA: [
2826
+ "H",
2827
+ "h",
2828
+ "hB"
2829
+ ],
2830
+ VC: [
2831
+ "h",
2832
+ "hb",
2833
+ "H",
2834
+ "hB"
2835
+ ],
2836
+ VE: [
2837
+ "h",
2838
+ "H",
2839
+ "hB",
2840
+ "hb"
2841
+ ],
2842
+ VG: [
2843
+ "h",
2844
+ "hb",
2845
+ "H",
2846
+ "hB"
2847
+ ],
2848
+ VI: [
2849
+ "h",
2850
+ "hb",
2851
+ "H",
2852
+ "hB"
2853
+ ],
2854
+ VN: [
2855
+ "H",
2856
+ "h"
2857
+ ],
2858
+ VU: [
2859
+ "h",
2860
+ "H"
2861
+ ],
2862
+ WF: [
2863
+ "H",
2864
+ "hB"
2865
+ ],
2866
+ WS: [
2867
+ "h",
2868
+ "H"
2869
+ ],
2870
+ XK: [
2871
+ "H",
2872
+ "hB",
2873
+ "h"
2874
+ ],
2875
+ YE: [
2876
+ "h",
2877
+ "hB",
2878
+ "hb",
2879
+ "H"
2880
+ ],
2881
+ YT: [
2882
+ "H",
2883
+ "hB"
2884
+ ],
2885
+ ZA: [
2886
+ "H",
2887
+ "h",
2888
+ "hb",
2889
+ "hB"
2890
+ ],
2891
+ ZM: [
2892
+ "h",
2893
+ "hb",
2894
+ "H",
2895
+ "hB"
2896
+ ],
2897
+ ZW: [
2898
+ "H",
2899
+ "h"
2900
+ ],
2901
+ "af-ZA": [
2902
+ "H",
2903
+ "h",
2904
+ "hB",
2905
+ "hb"
2906
+ ],
2907
+ "ar-001": [
2908
+ "h",
2909
+ "hB",
2910
+ "hb",
2911
+ "H"
2912
+ ],
2913
+ "ca-ES": [
2914
+ "H",
2915
+ "h",
2916
+ "hB"
2917
+ ],
2918
+ "en-001": [
2919
+ "h",
2920
+ "hb",
2921
+ "H",
2922
+ "hB"
2923
+ ],
2924
+ "en-HK": [
2925
+ "h",
2926
+ "hb",
2927
+ "H",
2928
+ "hB"
2929
+ ],
2930
+ "en-IL": [
2931
+ "H",
2932
+ "h",
2933
+ "hb",
2934
+ "hB"
2935
+ ],
2936
+ "en-MY": [
2937
+ "h",
2938
+ "hb",
2939
+ "H",
2940
+ "hB"
2941
+ ],
2942
+ "es-BR": [
2943
+ "H",
2944
+ "h",
2945
+ "hB",
2946
+ "hb"
2947
+ ],
2948
+ "es-ES": [
2949
+ "H",
2950
+ "h",
2951
+ "hB",
2952
+ "hb"
2953
+ ],
2954
+ "es-GQ": [
2955
+ "H",
2956
+ "h",
2957
+ "hB",
2958
+ "hb"
2959
+ ],
2960
+ "fr-CA": [
2961
+ "H",
2962
+ "h",
2963
+ "hB"
2964
+ ],
2965
+ "gl-ES": [
2966
+ "H",
2967
+ "h",
2968
+ "hB"
2969
+ ],
2970
+ "gu-IN": [
2971
+ "hB",
2972
+ "hb",
2973
+ "h",
2974
+ "H"
2975
+ ],
2976
+ "hi-IN": [
2977
+ "hB",
2978
+ "h",
2979
+ "H"
2980
+ ],
2981
+ "it-CH": [
2982
+ "H",
2983
+ "h",
2984
+ "hB"
2985
+ ],
2986
+ "it-IT": [
2987
+ "H",
2988
+ "h",
2989
+ "hB"
2990
+ ],
2991
+ "kn-IN": [
2992
+ "hB",
2993
+ "h",
2994
+ "H"
2995
+ ],
2996
+ "ml-IN": [
2997
+ "hB",
2998
+ "h",
2999
+ "H"
3000
+ ],
3001
+ "mr-IN": [
3002
+ "hB",
3003
+ "hb",
3004
+ "h",
3005
+ "H"
3006
+ ],
3007
+ "pa-IN": [
3008
+ "hB",
3009
+ "hb",
3010
+ "h",
3011
+ "H"
3012
+ ],
3013
+ "ta-IN": [
3014
+ "hB",
3015
+ "h",
3016
+ "hb",
3017
+ "H"
3018
+ ],
3019
+ "te-IN": [
3020
+ "hB",
3021
+ "h",
3022
+ "H"
3023
+ ],
3024
+ "zu-ZA": [
3025
+ "H",
3026
+ "hB",
3027
+ "hb",
3028
+ "h"
3029
+ ]
3030
+ };
3031
+ function Dn(e, t) {
3032
+ for (var r = "", n = 0; n < e.length; n++) {
3033
+ var i = e.charAt(n);
3034
+ if (i === "j") {
3035
+ for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3036
+ o++, n++;
3037
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Gn(t);
3038
+ for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
3039
+ r += h;
3040
+ for (; s-- > 0; )
3041
+ r = u + r;
3042
+ } else
3043
+ i === "J" ? r += "H" : r += i;
3044
+ }
3045
+ return r;
3046
+ }
3047
+ function Gn(e) {
3048
+ var t = e.hourCycle;
3049
+ if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3050
+ e.hourCycles && // @ts-ignore
3051
+ e.hourCycles.length && (t = e.hourCycles[0]), t)
3052
+ switch (t) {
3053
+ case "h24":
3054
+ return "k";
3055
+ case "h23":
3056
+ return "H";
3057
+ case "h12":
3058
+ return "h";
3059
+ case "h11":
3060
+ return "K";
3061
+ default:
3062
+ throw new Error("Invalid hourCycle");
3063
+ }
3064
+ var r = e.language, n;
3065
+ r !== "root" && (n = e.maximize().region);
3066
+ var i = ae[n || ""] || ae[r || ""] || ae["".concat(r, "-001")] || ae["001"];
3067
+ return i[0];
3068
+ }
3069
+ var Ae, Fn = new RegExp("^".concat(Kt.source, "*")), jn = new RegExp("".concat(Kt.source, "*$"));
3070
+ function d(e, t) {
3071
+ return { start: e, end: t };
3072
+ }
3073
+ var Vn = !!String.prototype.startsWith && "_a".startsWith("a", 1), kn = !!String.fromCodePoint, Xn = !!Object.fromEntries, Wn = !!String.prototype.codePointAt, zn = !!String.prototype.trimStart, Zn = !!String.prototype.trimEnd, Qn = !!Number.isSafeInteger, Jn = Qn ? Number.isSafeInteger : function(e) {
3074
+ return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3075
+ }, je = !0;
3076
+ try {
3077
+ var qn = ir("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3078
+ je = ((Ae = qn.exec("a")) === null || Ae === void 0 ? void 0 : Ae[0]) === "a";
3079
+ } catch (e) {
3080
+ je = !1;
3081
+ }
3082
+ var _t = Vn ? (
3083
+ // Native
3084
+ function(t, r, n) {
3085
+ return t.startsWith(r, n);
3086
+ }
3087
+ ) : (
3088
+ // For IE11
3089
+ function(t, r, n) {
3090
+ return t.slice(n, n + r.length) === r;
3091
+ }
3092
+ ), Ve = kn ? String.fromCodePoint : (
3093
+ // IE11
3094
+ function() {
3095
+ for (var t = [], r = 0; r < arguments.length; r++)
3096
+ t[r] = arguments[r];
3097
+ for (var n = "", i = t.length, o = 0, s; i > o; ) {
3098
+ if (s = t[o++], s > 1114111)
3099
+ throw RangeError(s + " is not a valid code point");
3100
+ n += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
3101
+ }
3102
+ return n;
3103
+ }
3104
+ ), Et = (
3105
+ // native
3106
+ Xn ? Object.fromEntries : (
3107
+ // Ponyfill
3108
+ function(t) {
3109
+ for (var r = {}, n = 0, i = t; n < i.length; n++) {
3110
+ var o = i[n], s = o[0], a = o[1];
3111
+ r[s] = a;
3112
+ }
3113
+ return r;
3114
+ }
3115
+ )
3116
+ ), nr = Wn ? (
3117
+ // Native
3118
+ function(t, r) {
3119
+ return t.codePointAt(r);
3120
+ }
3121
+ ) : (
3122
+ // IE 11
3123
+ function(t, r) {
3124
+ var n = t.length;
3125
+ if (!(r < 0 || r >= n)) {
3126
+ var i = t.charCodeAt(r), o;
3127
+ return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3128
+ }
3129
+ }
3130
+ ), Yn = zn ? (
3131
+ // Native
3132
+ function(t) {
3133
+ return t.trimStart();
3134
+ }
3135
+ ) : (
3136
+ // Ponyfill
3137
+ function(t) {
3138
+ return t.replace(Fn, "");
3139
+ }
3140
+ ), Kn = Zn ? (
3141
+ // Native
3142
+ function(t) {
3143
+ return t.trimEnd();
3144
+ }
3145
+ ) : (
3146
+ // Ponyfill
3147
+ function(t) {
3148
+ return t.replace(jn, "");
3149
+ }
3150
+ );
3151
+ function ir(e, t) {
3152
+ return new RegExp(e, t);
3153
+ }
3154
+ var ke;
3155
+ if (je) {
3156
+ var xt = ir("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3157
+ ke = function(t, r) {
3158
+ var n;
3159
+ xt.lastIndex = r;
3160
+ var i = xt.exec(t);
3161
+ return (n = i[1]) !== null && n !== void 0 ? n : "";
3162
+ };
3163
+ } else
3164
+ ke = function(t, r) {
3165
+ for (var n = []; ; ) {
3166
+ var i = nr(t, r);
3167
+ if (i === void 0 || or(i) || ni(i))
3168
+ break;
3169
+ n.push(i), r += i >= 65536 ? 2 : 1;
3170
+ }
3171
+ return Ve.apply(void 0, n);
3172
+ };
3173
+ var ei = (
3174
+ /** @class */
3175
+ function() {
3176
+ function e(t, r) {
3177
+ r === void 0 && (r = {}), this.message = t, this.position = { offset: 0, line: 1, column: 1 }, this.ignoreTag = !!r.ignoreTag, this.locale = r.locale, this.requiresOtherClause = !!r.requiresOtherClause, this.shouldParseSkeletons = !!r.shouldParseSkeletons;
3178
+ }
3179
+ return e.prototype.parse = function() {
3180
+ if (this.offset() !== 0)
3181
+ throw Error("parser can only be used once");
3182
+ return this.parseMessage(0, "", !1);
3183
+ }, e.prototype.parseMessage = function(t, r, n) {
3184
+ for (var i = []; !this.isEOF(); ) {
3185
+ var o = this.char();
3186
+ if (o === 123) {
3187
+ var s = this.parseArgument(t, n);
3188
+ if (s.err)
3189
+ return s;
3190
+ i.push(s.val);
3191
+ } else {
3192
+ if (o === 125 && t > 0)
3193
+ break;
3194
+ if (o === 35 && (r === "plural" || r === "selectordinal")) {
3195
+ var a = this.clonePosition();
3196
+ this.bump(), i.push({
3197
+ type: g.pound,
3198
+ location: d(a, this.clonePosition())
3199
+ });
3200
+ } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3201
+ if (n)
3202
+ break;
3203
+ return this.error(p.UNMATCHED_CLOSING_TAG, d(this.clonePosition(), this.clonePosition()));
3204
+ } else if (o === 60 && !this.ignoreTag && Xe(this.peek() || 0)) {
3205
+ var s = this.parseTag(t, r);
3206
+ if (s.err)
3207
+ return s;
3208
+ i.push(s.val);
3209
+ } else {
3210
+ var s = this.parseLiteral(t, r);
3211
+ if (s.err)
3212
+ return s;
3213
+ i.push(s.val);
3214
+ }
3215
+ }
3216
+ }
3217
+ return { val: i, err: null };
3218
+ }, e.prototype.parseTag = function(t, r) {
3219
+ var n = this.clonePosition();
3220
+ this.bump();
3221
+ var i = this.parseTagName();
3222
+ if (this.bumpSpace(), this.bumpIf("/>"))
3223
+ return {
3224
+ val: {
3225
+ type: g.literal,
3226
+ value: "<".concat(i, "/>"),
3227
+ location: d(n, this.clonePosition())
3228
+ },
3229
+ err: null
3230
+ };
3231
+ if (this.bumpIf(">")) {
3232
+ var o = this.parseMessage(t + 1, r, !0);
3233
+ if (o.err)
3234
+ return o;
3235
+ var s = o.val, a = this.clonePosition();
3236
+ if (this.bumpIf("</")) {
3237
+ if (this.isEOF() || !Xe(this.char()))
3238
+ return this.error(p.INVALID_TAG, d(a, this.clonePosition()));
3239
+ var h = this.clonePosition(), u = this.parseTagName();
3240
+ return i !== u ? this.error(p.UNMATCHED_CLOSING_TAG, d(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3241
+ val: {
3242
+ type: g.tag,
3243
+ value: i,
3244
+ children: s,
3245
+ location: d(n, this.clonePosition())
3246
+ },
3247
+ err: null
3248
+ } : this.error(p.INVALID_TAG, d(a, this.clonePosition())));
3249
+ } else
3250
+ return this.error(p.UNCLOSED_TAG, d(n, this.clonePosition()));
3251
+ } else
3252
+ return this.error(p.INVALID_TAG, d(n, this.clonePosition()));
3253
+ }, e.prototype.parseTagName = function() {
3254
+ var t = this.offset();
3255
+ for (this.bump(); !this.isEOF() && ri(this.char()); )
3256
+ this.bump();
3257
+ return this.message.slice(t, this.offset());
3258
+ }, e.prototype.parseLiteral = function(t, r) {
3259
+ for (var n = this.clonePosition(), i = ""; ; ) {
3260
+ var o = this.tryParseQuote(r);
3261
+ if (o) {
3262
+ i += o;
3263
+ continue;
3264
+ }
3265
+ var s = this.tryParseUnquoted(t, r);
3266
+ if (s) {
3267
+ i += s;
3268
+ continue;
3269
+ }
3270
+ var a = this.tryParseLeftAngleBracket();
3271
+ if (a) {
3272
+ i += a;
3273
+ continue;
3274
+ }
3275
+ break;
3276
+ }
3277
+ var h = d(n, this.clonePosition());
3278
+ return {
3279
+ val: { type: g.literal, value: i, location: h },
3280
+ err: null
3281
+ };
3282
+ }, e.prototype.tryParseLeftAngleBracket = function() {
3283
+ return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3284
+ !ti(this.peek() || 0)) ? (this.bump(), "<") : null;
3285
+ }, e.prototype.tryParseQuote = function(t) {
3286
+ if (this.isEOF() || this.char() !== 39)
3287
+ return null;
3288
+ switch (this.peek()) {
3289
+ case 39:
3290
+ return this.bump(), this.bump(), "'";
3291
+ case 123:
3292
+ case 60:
3293
+ case 62:
3294
+ case 125:
3295
+ break;
3296
+ case 35:
3297
+ if (t === "plural" || t === "selectordinal")
3298
+ break;
3299
+ return null;
3300
+ default:
3301
+ return null;
3302
+ }
3303
+ this.bump();
3304
+ var r = [this.char()];
3305
+ for (this.bump(); !this.isEOF(); ) {
3306
+ var n = this.char();
3307
+ if (n === 39)
3308
+ if (this.peek() === 39)
3309
+ r.push(39), this.bump();
3310
+ else {
3311
+ this.bump();
3312
+ break;
3313
+ }
3314
+ else
3315
+ r.push(n);
3316
+ this.bump();
3317
+ }
3318
+ return Ve.apply(void 0, r);
3319
+ }, e.prototype.tryParseUnquoted = function(t, r) {
3320
+ if (this.isEOF())
3321
+ return null;
3322
+ var n = this.char();
3323
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ve(n));
3324
+ }, e.prototype.parseArgument = function(t, r) {
3325
+ var n = this.clonePosition();
3326
+ if (this.bump(), this.bumpSpace(), this.isEOF())
3327
+ return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, d(n, this.clonePosition()));
3328
+ if (this.char() === 125)
3329
+ return this.bump(), this.error(p.EMPTY_ARGUMENT, d(n, this.clonePosition()));
3330
+ var i = this.parseIdentifierIfPossible().value;
3331
+ if (!i)
3332
+ return this.error(p.MALFORMED_ARGUMENT, d(n, this.clonePosition()));
3333
+ if (this.bumpSpace(), this.isEOF())
3334
+ return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, d(n, this.clonePosition()));
3335
+ switch (this.char()) {
3336
+ case 125:
3337
+ return this.bump(), {
3338
+ val: {
3339
+ type: g.argument,
3340
+ // value does not include the opening and closing braces.
3341
+ value: i,
3342
+ location: d(n, this.clonePosition())
3343
+ },
3344
+ err: null
3345
+ };
3346
+ case 44:
3347
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, d(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3348
+ default:
3349
+ return this.error(p.MALFORMED_ARGUMENT, d(n, this.clonePosition()));
3350
+ }
3351
+ }, e.prototype.parseIdentifierIfPossible = function() {
3352
+ var t = this.clonePosition(), r = this.offset(), n = ke(this.message, r), i = r + n.length;
3353
+ this.bumpTo(i);
3354
+ var o = this.clonePosition(), s = d(t, o);
3355
+ return { value: n, location: s };
3356
+ }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3357
+ var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
3358
+ switch (a) {
3359
+ case "":
3360
+ return this.error(p.EXPECT_ARGUMENT_TYPE, d(s, h));
3361
+ case "number":
3362
+ case "date":
3363
+ case "time": {
3364
+ this.bumpSpace();
3365
+ var u = null;
3366
+ if (this.bumpIf(",")) {
3367
+ this.bumpSpace();
3368
+ var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3369
+ if (f.err)
3370
+ return f;
3371
+ var c = Kn(f.val);
3372
+ if (c.length === 0)
3373
+ return this.error(p.EXPECT_ARGUMENT_STYLE, d(this.clonePosition(), this.clonePosition()));
3374
+ var m = d(l, this.clonePosition());
3375
+ u = { style: c, styleLocation: m };
3376
+ }
3377
+ var v = this.tryParseArgumentClose(i);
3378
+ if (v.err)
3379
+ return v;
3380
+ var b = d(i, this.clonePosition());
3381
+ if (u && _t(u == null ? void 0 : u.style, "::", 0)) {
3382
+ var H = Yn(u.style.slice(2));
3383
+ if (a === "number") {
3384
+ var f = this.parseNumberSkeletonFromString(H, u.styleLocation);
3385
+ return f.err ? f : {
3386
+ val: { type: g.number, value: n, location: b, style: f.val },
3387
+ err: null
3388
+ };
3389
+ } else {
3390
+ if (H.length === 0)
3391
+ return this.error(p.EXPECT_DATE_TIME_SKELETON, b);
3392
+ var C = H;
3393
+ this.locale && (C = Dn(H, this.locale));
3394
+ var c = {
3395
+ type: F.dateTime,
3396
+ pattern: C,
3397
+ location: u.styleLocation,
3398
+ parsedOptions: this.shouldParseSkeletons ? Ln(C) : {}
3399
+ }, y = a === "date" ? g.date : g.time;
3400
+ return {
3401
+ val: { type: y, value: n, location: b, style: c },
3402
+ err: null
3403
+ };
3404
+ }
3405
+ }
3406
+ return {
3407
+ val: {
3408
+ type: a === "number" ? g.number : a === "date" ? g.date : g.time,
3409
+ value: n,
3410
+ location: b,
3411
+ style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
3412
+ },
3413
+ err: null
3414
+ };
3415
+ }
3416
+ case "plural":
3417
+ case "selectordinal":
3418
+ case "select": {
3419
+ var T = this.clonePosition();
3420
+ if (this.bumpSpace(), !this.bumpIf(","))
3421
+ return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, d(T, pe({}, T)));
3422
+ this.bumpSpace();
3423
+ var z = this.parseIdentifierIfPossible(), L = 0;
3424
+ if (a !== "select" && z.value === "offset") {
3425
+ if (!this.bumpIf(":"))
3426
+ return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d(this.clonePosition(), this.clonePosition()));
3427
+ this.bumpSpace();
3428
+ var f = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3429
+ if (f.err)
3430
+ return f;
3431
+ this.bumpSpace(), z = this.parseIdentifierIfPossible(), L = f.val;
3432
+ }
3433
+ var ie = this.tryParsePluralOrSelectOptions(t, a, r, z);
3434
+ if (ie.err)
3435
+ return ie;
3436
+ var v = this.tryParseArgumentClose(i);
3437
+ if (v.err)
3438
+ return v;
3439
+ var Ye = d(i, this.clonePosition());
3440
+ return a === "select" ? {
3441
+ val: {
3442
+ type: g.select,
3443
+ value: n,
3444
+ options: Et(ie.val),
3445
+ location: Ye
3446
+ },
3447
+ err: null
3448
+ } : {
3449
+ val: {
3450
+ type: g.plural,
3451
+ value: n,
3452
+ options: Et(ie.val),
3453
+ offset: L,
3454
+ pluralType: a === "plural" ? "cardinal" : "ordinal",
3455
+ location: Ye
3456
+ },
3457
+ err: null
3458
+ };
3459
+ }
3460
+ default:
3461
+ return this.error(p.INVALID_ARGUMENT_TYPE, d(s, h));
3462
+ }
3463
+ }, e.prototype.tryParseArgumentClose = function(t) {
3464
+ return this.isEOF() || this.char() !== 125 ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, d(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3465
+ }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3466
+ for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3467
+ var n = this.char();
3468
+ switch (n) {
3469
+ case 39: {
3470
+ this.bump();
3471
+ var i = this.clonePosition();
3472
+ if (!this.bumpUntil("'"))
3473
+ return this.error(p.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, d(i, this.clonePosition()));
3474
+ this.bump();
3475
+ break;
3476
+ }
3477
+ case 123: {
3478
+ t += 1, this.bump();
3479
+ break;
3480
+ }
3481
+ case 125: {
3482
+ if (t > 0)
3483
+ t -= 1;
3484
+ else
3485
+ return {
3486
+ val: this.message.slice(r.offset, this.offset()),
3487
+ err: null
3488
+ };
3489
+ break;
3490
+ }
3491
+ default:
3492
+ this.bump();
3493
+ break;
3494
+ }
3495
+ }
3496
+ return {
3497
+ val: this.message.slice(r.offset, this.offset()),
3498
+ err: null
3499
+ };
3500
+ }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3501
+ var n = [];
3502
+ try {
3503
+ n = Nn(t);
3504
+ } catch (i) {
3505
+ return this.error(p.INVALID_NUMBER_SKELETON, r);
3506
+ }
3507
+ return {
3508
+ val: {
3509
+ type: F.number,
3510
+ tokens: n,
3511
+ location: r,
3512
+ parsedOptions: this.shouldParseSkeletons ? Un(n) : {}
3513
+ },
3514
+ err: null
3515
+ };
3516
+ }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3517
+ for (var o, s = !1, a = [], h = /* @__PURE__ */ new Set(), u = i.value, l = i.location; ; ) {
3518
+ if (u.length === 0) {
3519
+ var f = this.clonePosition();
3520
+ if (r !== "select" && this.bumpIf("=")) {
3521
+ var c = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_SELECTOR, p.INVALID_PLURAL_ARGUMENT_SELECTOR);
3522
+ if (c.err)
3523
+ return c;
3524
+ l = d(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3525
+ } else
3526
+ break;
3527
+ }
3528
+ if (h.has(u))
3529
+ return this.error(r === "select" ? p.DUPLICATE_SELECT_ARGUMENT_SELECTOR : p.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3530
+ u === "other" && (s = !0), this.bumpSpace();
3531
+ var m = this.clonePosition();
3532
+ if (!this.bumpIf("{"))
3533
+ return this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, d(this.clonePosition(), this.clonePosition()));
3534
+ var v = this.parseMessage(t + 1, r, n);
3535
+ if (v.err)
3536
+ return v;
3537
+ var b = this.tryParseArgumentClose(m);
3538
+ if (b.err)
3539
+ return b;
3540
+ a.push([
3541
+ u,
3542
+ {
3543
+ value: v.val,
3544
+ location: d(m, this.clonePosition())
3545
+ }
3546
+ ]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
3547
+ }
3548
+ return a.length === 0 ? this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR : p.EXPECT_PLURAL_ARGUMENT_SELECTOR, d(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(p.MISSING_OTHER_CLAUSE, d(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3549
+ }, e.prototype.tryParseDecimalInteger = function(t, r) {
3550
+ var n = 1, i = this.clonePosition();
3551
+ this.bumpIf("+") || this.bumpIf("-") && (n = -1);
3552
+ for (var o = !1, s = 0; !this.isEOF(); ) {
3553
+ var a = this.char();
3554
+ if (a >= 48 && a <= 57)
3555
+ o = !0, s = s * 10 + (a - 48), this.bump();
3556
+ else
3557
+ break;
3558
+ }
3559
+ var h = d(i, this.clonePosition());
3560
+ return o ? (s *= n, Jn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3561
+ }, e.prototype.offset = function() {
3562
+ return this.position.offset;
3563
+ }, e.prototype.isEOF = function() {
3564
+ return this.offset() === this.message.length;
3565
+ }, e.prototype.clonePosition = function() {
3566
+ return {
3567
+ offset: this.position.offset,
3568
+ line: this.position.line,
3569
+ column: this.position.column
3570
+ };
3571
+ }, e.prototype.char = function() {
3572
+ var t = this.position.offset;
3573
+ if (t >= this.message.length)
3574
+ throw Error("out of bound");
3575
+ var r = nr(this.message, t);
3576
+ if (r === void 0)
3577
+ throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3578
+ return r;
3579
+ }, e.prototype.error = function(t, r) {
3580
+ return {
3581
+ val: null,
3582
+ err: {
3583
+ kind: t,
3584
+ message: this.message,
3585
+ location: r
3586
+ }
3587
+ };
3588
+ }, e.prototype.bump = function() {
3589
+ if (!this.isEOF()) {
3590
+ var t = this.char();
3591
+ 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);
3592
+ }
3593
+ }, e.prototype.bumpIf = function(t) {
3594
+ if (_t(this.message, t, this.offset())) {
3595
+ for (var r = 0; r < t.length; r++)
3596
+ this.bump();
3597
+ return !0;
3598
+ }
3599
+ return !1;
3600
+ }, e.prototype.bumpUntil = function(t) {
3601
+ var r = this.offset(), n = this.message.indexOf(t, r);
3602
+ return n >= 0 ? (this.bumpTo(n), !0) : (this.bumpTo(this.message.length), !1);
3603
+ }, e.prototype.bumpTo = function(t) {
3604
+ if (this.offset() > t)
3605
+ throw Error("targetOffset ".concat(t, " must be greater than or equal to the current offset ").concat(this.offset()));
3606
+ for (t = Math.min(t, this.message.length); ; ) {
3607
+ var r = this.offset();
3608
+ if (r === t)
3609
+ break;
3610
+ if (r > t)
3611
+ throw Error("targetOffset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3612
+ if (this.bump(), this.isEOF())
3613
+ break;
3614
+ }
3615
+ }, e.prototype.bumpSpace = function() {
3616
+ for (; !this.isEOF() && or(this.char()); )
3617
+ this.bump();
3618
+ }, e.prototype.peek = function() {
3619
+ if (this.isEOF())
3620
+ return null;
3621
+ var t = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
3622
+ return n != null ? n : null;
3623
+ }, e;
3624
+ }()
3625
+ );
3626
+ function Xe(e) {
3627
+ return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3628
+ }
3629
+ function ti(e) {
3630
+ return Xe(e) || e === 47;
3631
+ }
3632
+ function ri(e) {
3633
+ 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;
3634
+ }
3635
+ function or(e) {
3636
+ return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3637
+ }
3638
+ function ni(e) {
3639
+ 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;
3640
+ }
3641
+ function We(e) {
3642
+ e.forEach(function(t) {
3643
+ if (delete t.location, Qt(t) || Jt(t))
3644
+ for (var r in t.options)
3645
+ delete t.options[r].location, We(t.options[r].value);
3646
+ else
3647
+ Wt(t) && Yt(t.style) || (zt(t) || Zt(t)) && Fe(t.style) ? delete t.style.location : qt(t) && We(t.children);
3648
+ });
3649
+ }
3650
+ function ii(e, t) {
3651
+ t === void 0 && (t = {}), t = pe({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3652
+ var r = new ei(e, t).parse();
3653
+ if (r.err) {
3654
+ var n = SyntaxError(p[r.err.kind]);
3655
+ throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3656
+ }
3657
+ return t != null && t.captureLocation || We(r.val), r.val;
3658
+ }
3659
+ var j;
3660
+ (function(e) {
3661
+ e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3662
+ })(j || (j = {}));
3663
+ var ye = (
3664
+ /** @class */
3665
+ function(e) {
3666
+ ge(t, e);
3667
+ function t(r, n, i) {
3668
+ var o = e.call(this, r) || this;
3669
+ return o.code = n, o.originalMessage = i, o;
3670
+ }
3671
+ return t.prototype.toString = function() {
3672
+ return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3673
+ }, t;
3674
+ }(Error)
3675
+ ), St = (
3676
+ /** @class */
3677
+ function(e) {
3678
+ ge(t, e);
3679
+ function t(r, n, i, o) {
3680
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), j.INVALID_VALUE, o) || this;
3681
+ }
3682
+ return t;
3683
+ }(ye)
3684
+ ), oi = (
3685
+ /** @class */
3686
+ function(e) {
3687
+ ge(t, e);
3688
+ function t(r, n, i) {
3689
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), j.INVALID_VALUE, i) || this;
3690
+ }
3691
+ return t;
3692
+ }(ye)
3693
+ ), si = (
3694
+ /** @class */
3695
+ function(e) {
3696
+ ge(t, e);
3697
+ function t(r, n) {
3698
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), j.MISSING_VALUE, n) || this;
3699
+ }
3700
+ return t;
3701
+ }(ye)
3702
+ ), x;
3703
+ (function(e) {
3704
+ e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3705
+ })(x || (x = {}));
3706
+ function ai(e) {
3707
+ return e.length < 2 ? e : e.reduce(function(t, r) {
3708
+ var n = t[t.length - 1];
3709
+ return !n || n.type !== x.literal || r.type !== x.literal ? t.push(r) : n.value += r.value, t;
3710
+ }, []);
3711
+ }
3712
+ function ui(e) {
3713
+ return typeof e == "function";
3714
+ }
3715
+ function le(e, t, r, n, i, o, s) {
3716
+ if (e.length === 1 && bt(e[0]))
3717
+ return [
3718
+ {
3719
+ type: x.literal,
3720
+ value: e[0].value
3721
+ }
3722
+ ];
3723
+ for (var a = [], h = 0, u = e; h < u.length; h++) {
3724
+ var l = u[h];
3725
+ if (bt(l)) {
3726
+ a.push({
3727
+ type: x.literal,
3728
+ value: l.value
3729
+ });
3730
+ continue;
3731
+ }
3732
+ if (On(l)) {
3733
+ typeof o == "number" && a.push({
3734
+ type: x.literal,
3735
+ value: r.getNumberFormat(t).format(o)
3736
+ });
3737
+ continue;
3738
+ }
3739
+ var f = l.value;
3740
+ if (!(i && f in i))
3741
+ throw new si(f, s);
3742
+ var c = i[f];
3743
+ if (Pn(l)) {
3744
+ (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3745
+ type: typeof c == "string" ? x.literal : x.object,
3746
+ value: c
3747
+ });
3748
+ continue;
3749
+ }
3750
+ if (zt(l)) {
3751
+ var m = typeof l.style == "string" ? n.date[l.style] : Fe(l.style) ? l.style.parsedOptions : void 0;
3752
+ a.push({
3753
+ type: x.literal,
3754
+ value: r.getDateTimeFormat(t, m).format(c)
3755
+ });
3756
+ continue;
3757
+ }
3758
+ if (Zt(l)) {
3759
+ var m = typeof l.style == "string" ? n.time[l.style] : Fe(l.style) ? l.style.parsedOptions : n.time.medium;
3760
+ a.push({
3761
+ type: x.literal,
3762
+ value: r.getDateTimeFormat(t, m).format(c)
3763
+ });
3764
+ continue;
3765
+ }
3766
+ if (Wt(l)) {
3767
+ var m = typeof l.style == "string" ? n.number[l.style] : Yt(l.style) ? l.style.parsedOptions : void 0;
3768
+ m && m.scale && (c = c * (m.scale || 1)), a.push({
3769
+ type: x.literal,
3770
+ value: r.getNumberFormat(t, m).format(c)
3771
+ });
3772
+ continue;
3773
+ }
3774
+ if (qt(l)) {
3775
+ var v = l.children, b = l.value, H = i[b];
3776
+ if (!ui(H))
3777
+ throw new oi(b, "function", s);
3778
+ var C = le(v, t, r, n, i, o), y = H(C.map(function(L) {
3779
+ return L.value;
3780
+ }));
3781
+ Array.isArray(y) || (y = [y]), a.push.apply(a, y.map(function(L) {
3782
+ return {
3783
+ type: typeof L == "string" ? x.literal : x.object,
3784
+ value: L
3785
+ };
3786
+ }));
3787
+ }
3788
+ if (Qt(l)) {
3789
+ var T = l.options[c] || l.options.other;
3790
+ if (!T)
3791
+ throw new St(l.value, c, Object.keys(l.options), s);
3792
+ a.push.apply(a, le(T.value, t, r, n, i));
3793
+ continue;
3794
+ }
3795
+ if (Jt(l)) {
3796
+ var T = l.options["=".concat(c)];
3797
+ if (!T) {
3798
+ if (!Intl.PluralRules)
3799
+ throw new ye(`Intl.PluralRules is not available in this environment.
3800
+ Try polyfilling it using "@formatjs/intl-pluralrules"
3801
+ `, j.MISSING_INTL_API, s);
3802
+ var z = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3803
+ T = l.options[z] || l.options.other;
3804
+ }
3805
+ if (!T)
3806
+ throw new St(l.value, c, Object.keys(l.options), s);
3807
+ a.push.apply(a, le(T.value, t, r, n, i, c - (l.offset || 0)));
3808
+ continue;
3809
+ }
3810
+ }
3811
+ return ai(a);
3812
+ }
3813
+ function hi(e, t) {
3814
+ return t ? B(B(B({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3815
+ return r[n] = B(B({}, e[n]), t[n] || {}), r;
3816
+ }, {})) : e;
3817
+ }
3818
+ function li(e, t) {
3819
+ return t ? Object.keys(e).reduce(function(r, n) {
3820
+ return r[n] = hi(e[n], t[n]), r;
3821
+ }, B({}, e)) : e;
3822
+ }
3823
+ function Pe(e) {
3824
+ return {
3825
+ create: function() {
3826
+ return {
3827
+ get: function(t) {
3828
+ return e[t];
3829
+ },
3830
+ set: function(t, r) {
3831
+ e[t] = r;
3832
+ }
3833
+ };
3834
+ }
3835
+ };
3836
+ }
3837
+ function fi(e) {
3838
+ return e === void 0 && (e = {
3839
+ number: {},
3840
+ dateTime: {},
3841
+ pluralRules: {}
3842
+ }), {
3843
+ getNumberFormat: Te(function() {
3844
+ for (var t, r = [], n = 0; n < arguments.length; n++)
3845
+ r[n] = arguments[n];
3846
+ return new ((t = Intl.NumberFormat).bind.apply(t, He([void 0], r, !1)))();
3847
+ }, {
3848
+ cache: Pe(e.number),
3849
+ strategy: Be.variadic
3850
+ }),
3851
+ getDateTimeFormat: Te(function() {
3852
+ for (var t, r = [], n = 0; n < arguments.length; n++)
3853
+ r[n] = arguments[n];
3854
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, He([void 0], r, !1)))();
3855
+ }, {
3856
+ cache: Pe(e.dateTime),
3857
+ strategy: Be.variadic
3858
+ }),
3859
+ getPluralRules: Te(function() {
3860
+ for (var t, r = [], n = 0; n < arguments.length; n++)
3861
+ r[n] = arguments[n];
3862
+ return new ((t = Intl.PluralRules).bind.apply(t, He([void 0], r, !1)))();
3863
+ }, {
3864
+ cache: Pe(e.pluralRules),
3865
+ strategy: Be.variadic
3866
+ })
3867
+ };
3868
+ }
3869
+ var ci = (
3870
+ /** @class */
3871
+ function() {
3872
+ function e(t, r, n, i) {
3873
+ r === void 0 && (r = e.defaultLocale);
3874
+ var o = this;
3875
+ if (this.formatterCache = {
3876
+ number: {},
3877
+ dateTime: {},
3878
+ pluralRules: {}
3879
+ }, this.format = function(h) {
3880
+ var u = o.formatToParts(h);
3881
+ if (u.length === 1)
3882
+ return u[0].value;
3883
+ var l = u.reduce(function(f, c) {
3884
+ return !f.length || c.type !== x.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3885
+ }, []);
3886
+ return l.length <= 1 ? l[0] || "" : l;
3887
+ }, this.formatToParts = function(h) {
3888
+ return le(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3889
+ }, this.resolvedOptions = function() {
3890
+ var h;
3891
+ return {
3892
+ locale: ((h = o.resolvedLocale) === null || h === void 0 ? void 0 : h.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
3893
+ };
3894
+ }, this.getAst = function() {
3895
+ return o.ast;
3896
+ }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
3897
+ if (this.message = t, !e.__parse)
3898
+ throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3899
+ var s = i || {};
3900
+ s.formatters;
3901
+ var a = En(s, ["formatters"]);
3902
+ this.ast = e.__parse(t, B(B({}, a), { locale: this.resolvedLocale }));
3903
+ } else
3904
+ this.ast = t;
3905
+ if (!Array.isArray(this.ast))
3906
+ throw new TypeError("A message must be provided as a String or AST.");
3907
+ this.formats = li(e.formats, n), this.formatters = i && i.formatters || fi(this.formatterCache);
3908
+ }
3909
+ return Object.defineProperty(e, "defaultLocale", {
3910
+ get: function() {
3911
+ return e.memoizedDefaultLocale || (e.memoizedDefaultLocale = new Intl.NumberFormat().resolvedOptions().locale), e.memoizedDefaultLocale;
3912
+ },
3913
+ enumerable: !1,
3914
+ configurable: !0
3915
+ }), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
3916
+ if (typeof Intl.Locale != "undefined") {
3917
+ var r = Intl.NumberFormat.supportedLocalesOf(t);
3918
+ return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3919
+ }
3920
+ }, e.__parse = ii, e.formats = {
3921
+ number: {
3922
+ integer: {
3923
+ maximumFractionDigits: 0
3924
+ },
3925
+ currency: {
3926
+ style: "currency"
3927
+ },
3928
+ percent: {
3929
+ style: "percent"
3930
+ }
3931
+ },
3932
+ date: {
3933
+ short: {
3934
+ month: "numeric",
3935
+ day: "numeric",
3936
+ year: "2-digit"
3937
+ },
3938
+ medium: {
3939
+ month: "short",
3940
+ day: "numeric",
3941
+ year: "numeric"
3942
+ },
3943
+ long: {
3944
+ month: "long",
3945
+ day: "numeric",
3946
+ year: "numeric"
3947
+ },
3948
+ full: {
3949
+ weekday: "long",
3950
+ month: "long",
3951
+ day: "numeric",
3952
+ year: "numeric"
3953
+ }
3954
+ },
3955
+ time: {
3956
+ short: {
3957
+ hour: "numeric",
3958
+ minute: "numeric"
3959
+ },
3960
+ medium: {
3961
+ hour: "numeric",
3962
+ minute: "numeric",
3963
+ second: "numeric"
3964
+ },
3965
+ long: {
3966
+ hour: "numeric",
3967
+ minute: "numeric",
3968
+ second: "numeric",
3969
+ timeZoneName: "short"
3970
+ },
3971
+ full: {
3972
+ hour: "numeric",
3973
+ minute: "numeric",
3974
+ second: "numeric",
3975
+ timeZoneName: "short"
3976
+ }
3977
+ }
3978
+ }, e;
3979
+ }()
3980
+ );
3981
+ function pi(e, t) {
3982
+ if (t == null)
3983
+ return;
3984
+ if (t in e)
3985
+ return e[t];
3986
+ const r = t.split(".");
3987
+ let n = e;
3988
+ for (let i = 0; i < r.length; i++)
3989
+ if (typeof n == "object") {
3990
+ if (i > 0) {
3991
+ const o = r.slice(i, r.length).join(".");
3992
+ if (o in n) {
3993
+ n = n[o];
3994
+ break;
3995
+ }
3996
+ }
3997
+ n = n[r[i]];
3998
+ } else
3999
+ n = void 0;
4000
+ return n;
4001
+ }
4002
+ const O = {}, di = (e, t, r) => r && (t in O || (O[t] = {}), e in O[t] || (O[t][e] = r), r), sr = (e, t) => {
4003
+ if (t == null)
4004
+ return;
4005
+ if (t in O && e in O[t])
4006
+ return O[t][e];
4007
+ const r = _e(t);
4008
+ for (let n = 0; n < r.length; n++) {
4009
+ const i = r[n], o = bi(i, e);
4010
+ if (o)
4011
+ return di(e, t, o);
4012
+ }
4013
+ };
4014
+ let Je;
4015
+ const re = ve({});
4016
+ function mi(e) {
4017
+ return Je[e] || null;
4018
+ }
4019
+ function ar(e) {
4020
+ return e in Je;
4021
+ }
4022
+ function bi(e, t) {
4023
+ if (!ar(e))
4024
+ return null;
4025
+ const r = mi(e);
4026
+ return pi(r, t);
4027
+ }
4028
+ function vi(e) {
4029
+ if (e == null)
4030
+ return;
4031
+ const t = _e(e);
4032
+ for (let r = 0; r < t.length; r++) {
4033
+ const n = t[r];
4034
+ if (ar(n))
4035
+ return n;
4036
+ }
4037
+ }
4038
+ function gi(e, ...t) {
4039
+ delete O[e], re.update((r) => (r[e] = _n.all([r[e] || {}, ...t]), r));
4040
+ }
4041
+ X(
4042
+ [re],
4043
+ ([e]) => Object.keys(e)
4044
+ );
4045
+ re.subscribe((e) => Je = e);
4046
+ const fe = {};
4047
+ function yi(e, t) {
4048
+ fe[e].delete(t), fe[e].size === 0 && delete fe[e];
4049
+ }
4050
+ function ur(e) {
4051
+ return fe[e];
4052
+ }
4053
+ function _i(e) {
4054
+ return _e(e).map((t) => {
4055
+ const r = ur(t);
4056
+ return [t, r ? [...r] : []];
4057
+ }).filter(([, t]) => t.length > 0);
4058
+ }
4059
+ function ze(e) {
4060
+ return e == null ? !1 : _e(e).some(
4061
+ (t) => {
4062
+ var r;
4063
+ return (r = ur(t)) == null ? void 0 : r.size;
4064
+ }
4065
+ );
4066
+ }
4067
+ function Ei(e, t) {
4068
+ return Promise.all(
4069
+ t.map((n) => (yi(e, n), n().then((i) => i.default || i)))
4070
+ ).then((n) => gi(e, ...n));
4071
+ }
4072
+ const Z = {};
4073
+ function hr(e) {
4074
+ if (!ze(e))
4075
+ return e in Z ? Z[e] : Promise.resolve();
4076
+ const t = _i(e);
4077
+ return Z[e] = Promise.all(
4078
+ t.map(
4079
+ ([r, n]) => Ei(r, n)
4080
+ )
4081
+ ).then(() => {
4082
+ if (ze(e))
4083
+ return hr(e);
4084
+ delete Z[e];
4085
+ }), Z[e];
4086
+ }
4087
+ const xi = {
4088
+ number: {
4089
+ scientific: { notation: "scientific" },
4090
+ engineering: { notation: "engineering" },
4091
+ compactLong: { notation: "compact", compactDisplay: "long" },
4092
+ compactShort: { notation: "compact", compactDisplay: "short" }
4093
+ },
4094
+ date: {
4095
+ short: { month: "numeric", day: "numeric", year: "2-digit" },
4096
+ medium: { month: "short", day: "numeric", year: "numeric" },
4097
+ long: { month: "long", day: "numeric", year: "numeric" },
4098
+ full: { weekday: "long", month: "long", day: "numeric", year: "numeric" }
4099
+ },
4100
+ time: {
4101
+ short: { hour: "numeric", minute: "numeric" },
4102
+ medium: { hour: "numeric", minute: "numeric", second: "numeric" },
4103
+ long: {
4104
+ hour: "numeric",
4105
+ minute: "numeric",
4106
+ second: "numeric",
4107
+ timeZoneName: "short"
4108
+ },
4109
+ full: {
4110
+ hour: "numeric",
4111
+ minute: "numeric",
4112
+ second: "numeric",
4113
+ timeZoneName: "short"
4114
+ }
4115
+ }
4116
+ }, Si = {
4117
+ fallbackLocale: null,
4118
+ loadingDelay: 200,
4119
+ formats: xi,
4120
+ warnOnMissingMessages: !0,
4121
+ handleMissingMessage: void 0,
4122
+ ignoreTag: !0
4123
+ }, wi = Si;
4124
+ function V() {
4125
+ return wi;
4126
+ }
4127
+ const Oe = ve(!1);
4128
+ var Hi = Object.defineProperty, Ti = Object.defineProperties, Bi = Object.getOwnPropertyDescriptors, wt = Object.getOwnPropertySymbols, Ai = Object.prototype.hasOwnProperty, Pi = Object.prototype.propertyIsEnumerable, Ht = (e, t, r) => t in e ? Hi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Oi = (e, t) => {
4129
+ for (var r in t || (t = {}))
4130
+ Ai.call(t, r) && Ht(e, r, t[r]);
4131
+ if (wt)
4132
+ for (var r of wt(t))
4133
+ Pi.call(t, r) && Ht(e, r, t[r]);
4134
+ return e;
4135
+ }, Ci = (e, t) => Ti(e, Bi(t));
4136
+ let Ze;
4137
+ const de = ve(null);
4138
+ function Tt(e) {
4139
+ return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4140
+ }
4141
+ function _e(e, t = V().fallbackLocale) {
4142
+ const r = Tt(e);
4143
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Tt(t)])] : r;
4144
+ }
4145
+ function M() {
4146
+ return Ze != null ? Ze : void 0;
4147
+ }
4148
+ de.subscribe((e) => {
4149
+ Ze = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4150
+ });
4151
+ const Li = (e) => {
4152
+ if (e && vi(e) && ze(e)) {
4153
+ const { loadingDelay: t } = V();
4154
+ let r;
4155
+ return typeof window != "undefined" && M() != null && t ? r = window.setTimeout(
4156
+ () => Oe.set(!0),
4157
+ t
4158
+ ) : Oe.set(!0), hr(e).then(() => {
4159
+ de.set(e);
4160
+ }).finally(() => {
4161
+ clearTimeout(r), Oe.set(!1);
4162
+ });
4163
+ }
4164
+ return de.set(e);
4165
+ }, ne = Ci(Oi({}, de), {
4166
+ set: Li
4167
+ }), Ee = (e) => {
4168
+ const t = /* @__PURE__ */ Object.create(null);
4169
+ return (n) => {
4170
+ const i = JSON.stringify(n);
4171
+ return i in t ? t[i] : t[i] = e(n);
4172
+ };
4173
+ };
4174
+ var Ii = Object.defineProperty, me = Object.getOwnPropertySymbols, lr = Object.prototype.hasOwnProperty, fr = Object.prototype.propertyIsEnumerable, Bt = (e, t, r) => t in e ? Ii(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, qe = (e, t) => {
4175
+ for (var r in t || (t = {}))
4176
+ lr.call(t, r) && Bt(e, r, t[r]);
4177
+ if (me)
4178
+ for (var r of me(t))
4179
+ fr.call(t, r) && Bt(e, r, t[r]);
4180
+ return e;
4181
+ }, W = (e, t) => {
4182
+ var r = {};
4183
+ for (var n in e)
4184
+ lr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4185
+ if (e != null && me)
4186
+ for (var n of me(e))
4187
+ t.indexOf(n) < 0 && fr.call(e, n) && (r[n] = e[n]);
4188
+ return r;
4189
+ };
4190
+ const Y = (e, t) => {
4191
+ const { formats: r } = V();
4192
+ if (e in r && t in r[e])
4193
+ return r[e][t];
4194
+ throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4195
+ }, Ni = Ee(
4196
+ (e) => {
4197
+ var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
4198
+ if (r == null)
4199
+ throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4200
+ return n && (i = Y("number", n)), new Intl.NumberFormat(r, i);
4201
+ }
4202
+ ), Mi = Ee(
4203
+ (e) => {
4204
+ var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
4205
+ if (r == null)
4206
+ throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4207
+ return n ? i = Y("date", n) : Object.keys(i).length === 0 && (i = Y("date", "short")), new Intl.DateTimeFormat(r, i);
4208
+ }
4209
+ ), $i = Ee(
4210
+ (e) => {
4211
+ var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
4212
+ if (r == null)
4213
+ throw new Error(
4214
+ '[svelte-i18n] A "locale" must be set to format time values'
4215
+ );
4216
+ return n ? i = Y("time", n) : Object.keys(i).length === 0 && (i = Y("time", "short")), new Intl.DateTimeFormat(r, i);
4217
+ }
4218
+ ), Ri = (e = {}) => {
4219
+ var t = e, {
4220
+ locale: r = M()
4221
+ } = t, n = W(t, [
4222
+ "locale"
4223
+ ]);
4224
+ return Ni(qe({ locale: r }, n));
4225
+ }, Ui = (e = {}) => {
4226
+ var t = e, {
4227
+ locale: r = M()
4228
+ } = t, n = W(t, [
4229
+ "locale"
4230
+ ]);
4231
+ return Mi(qe({ locale: r }, n));
4232
+ }, Di = (e = {}) => {
4233
+ var t = e, {
4234
+ locale: r = M()
4235
+ } = t, n = W(t, [
4236
+ "locale"
4237
+ ]);
4238
+ return $i(qe({ locale: r }, n));
4239
+ }, Gi = Ee(
4240
+ // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4241
+ (e, t = M()) => new ci(e, t, V().formats, {
4242
+ ignoreTag: V().ignoreTag
4243
+ })
4244
+ ), Fi = (e, t = {}) => {
4245
+ var r, n, i, o;
4246
+ let s = t;
4247
+ typeof e == "object" && (s = e, e = s.id);
4248
+ const {
4249
+ values: a,
4250
+ locale: h = M(),
4251
+ default: u
4252
+ } = s;
4253
+ if (h == null)
4254
+ throw new Error(
4255
+ "[svelte-i18n] Cannot format a message without first setting the initial locale."
4256
+ );
4257
+ let l = sr(e, h);
4258
+ if (!l)
4259
+ l = (o = (i = (n = (r = V()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4260
+ else if (typeof l != "string")
4261
+ return console.warn(
4262
+ `[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.`
4263
+ ), l;
4264
+ if (!a)
4265
+ return l;
4266
+ let f = l;
4267
+ try {
4268
+ f = Gi(l, h).format(a);
4269
+ } catch (c) {
4270
+ c instanceof Error && console.warn(
4271
+ `[svelte-i18n] Message "${e}" has syntax error:`,
4272
+ c.message
4273
+ );
4274
+ }
4275
+ return f;
4276
+ }, ji = (e, t) => Di(t).format(e), Vi = (e, t) => Ui(t).format(e), ki = (e, t) => Ri(t).format(e), Xi = (e, t = M()) => sr(e, t);
4277
+ X([ne, re], () => Fi);
4278
+ X([ne], () => ji);
4279
+ X([ne], () => Vi);
4280
+ X([ne], () => ki);
4281
+ X([ne, re], () => Xi);
4282
+ window.emWidgets = { topic: rn };
4283
+ const At = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4284
+ function Wi(e) {
4285
+ yr(e, "svelte-1d17c9c", ".CashierVideoWrapper{position:absolute;width:100%;height:100%;left:0;top:0;z-index:8;background-color:var(--mmw--color-grey-light, #f3f6f9)}.CashierVideoHeader{width:100%;height:29px;position:relative;text-transform:uppercase;text-align:right;background-color:var(--mmw--color-grey-light, #f3f6f9);font-size:var(--emw--font-size-medium, 16px);z-index:6}.CashierVideoHeader svg{padding:8px 8px 8px 15px}.CashierVideo video{object-fit:contain;width:100%;height:100%;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.CashierVideo svg{cursor:pointer;margin-left:auto;position:absolute;right:0;z-index:6;padding:5px 13px}");
4286
+ }
4287
+ function Pt(e) {
4288
+ let t, r, n, i, o, s, a, h = !/*desktopView*/
4289
+ e[2] && Ot(e), u = (
4290
+ /*desktopView*/
4291
+ e[2] && Ct(e)
4292
+ );
4293
+ return {
4294
+ c() {
4295
+ t = N("div"), h && h.c(), r = ot(), n = N("div"), u && u.c(), i = ot(), o = N("video"), s = N("source"), it(s.src, a = /*videosrc*/
4296
+ e[0]) || E(s, "src", a), o.autoplay = !0, o.controls = !0, E(o, "controlslist", "nodownload"), E(o, "disablepictureinpicture", ""), E(n, "class", "CashierVideo"), E(t, "class", "CashierVideoWrapper"), st(
4297
+ t,
4298
+ "CashierVideoWrapperDesktop",
4299
+ /*desktopView*/
4300
+ e[2]
4301
+ );
4302
+ },
4303
+ m(l, f) {
4304
+ ee(l, t, f), h && h.m(t, null), A(t, r), A(t, n), u && u.m(n, null), A(n, i), A(n, o), A(o, s), e[11](t);
4305
+ },
4306
+ p(l, f) {
4307
+ /*desktopView*/
4308
+ l[2] ? h && (h.d(1), h = null) : h ? h.p(l, f) : (h = Ot(l), h.c(), h.m(t, r)), /*desktopView*/
4309
+ l[2] ? u ? u.p(l, f) : (u = Ct(l), u.c(), u.m(n, i)) : u && (u.d(1), u = null), f & /*videosrc*/
4310
+ 1 && !it(s.src, a = /*videosrc*/
4311
+ l[0]) && E(s, "src", a), f & /*desktopView*/
4312
+ 4 && st(
4313
+ t,
4314
+ "CashierVideoWrapperDesktop",
4315
+ /*desktopView*/
4316
+ l[2]
4317
+ );
4318
+ },
4319
+ d(l) {
4320
+ l && k(t), h && h.d(), u && u.d(), e[11](null);
4321
+ }
4322
+ };
4323
+ }
4324
+ function Ot(e) {
4325
+ let t, r, n, i, o;
4326
+ return {
4327
+ c() {
4328
+ t = N("div"), r = ce("svg"), n = ce("path"), E(n, "d", "M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z"), E(n, "fill", "#111111"), E(r, "xmlns", "http://www.w3.org/2000/svg"), E(r, "width", "13"), E(r, "height", "13"), E(r, "viewBox", "0 0 13 13"), E(r, "fill", "none"), E(t, "class", "CashierVideoHeader");
4329
+ },
4330
+ m(s, a) {
4331
+ ee(s, t, a), A(t, r), A(r, n), i || (o = Mt(
4332
+ r,
4333
+ "click",
4334
+ /*click_handler*/
4335
+ e[9]
4336
+ ), i = !0);
4337
+ },
4338
+ p: S,
4339
+ d(s) {
4340
+ s && k(t), i = !1, o();
4341
+ }
4342
+ };
4343
+ }
4344
+ function Ct(e) {
4345
+ let t, r, n, i;
4346
+ return {
4347
+ c() {
4348
+ t = ce("svg"), r = ce("path"), E(r, "d", "M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z"), E(r, "fill", "#111111"), E(t, "xmlns", "http://www.w3.org/2000/svg"), E(t, "width", "13"), E(t, "height", "13"), E(t, "viewBox", "0 0 13 13"), E(t, "fill", "none");
4349
+ },
4350
+ m(o, s) {
4351
+ ee(o, t, s), A(t, r), n || (i = Mt(
4352
+ t,
4353
+ "click",
4354
+ /*click_handler_1*/
4355
+ e[10]
4356
+ ), n = !0);
4357
+ },
4358
+ p: S,
4359
+ d(o) {
4360
+ o && k(t), n = !1, i();
4361
+ }
4362
+ };
4363
+ }
4364
+ function zi(e) {
4365
+ let t, r = (
4366
+ /*show*/
4367
+ e[3] && Pt(e)
4368
+ );
4369
+ return {
4370
+ c() {
4371
+ r && r.c(), t = xr();
4372
+ },
4373
+ m(n, i) {
4374
+ r && r.m(n, i), ee(n, t, i);
4375
+ },
4376
+ p(n, [i]) {
4377
+ /*show*/
4378
+ n[3] ? r ? r.p(n, i) : (r = Pt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
4379
+ },
4380
+ i: S,
4381
+ o: S,
4382
+ d(n) {
4383
+ n && k(t), r && r.d(n);
4384
+ }
4385
+ };
4386
+ }
4387
+ function Zi(e, t, r) {
4388
+ let { clientstyling: n = "" } = t, { clientstylingurl: i = "" } = t, { ismobileview: o } = t, { videosrc: s } = t, { mbsource: a = "" } = t, h = window.navigator.userAgent, u = !0, l = !1, f;
4389
+ const c = () => {
4390
+ r(3, l = !1), window.postMessage({ type: "ClosedCashierVideoModal" }, window.location.href), window.postMessage({ type: "EnableScroll" }, window.location.href);
4391
+ }, m = (y) => {
4392
+ y.data.type == "ShowCashierVideoModal" && (r(3, l = !0), window.postMessage({ type: "DisableScroll" }, window.location.href)), y.data.type == "HideCashierVideoModal" && c();
4393
+ }, v = () => {
4394
+ r(2, u = !At(h));
4395
+ };
4396
+ Tr(() => (window.addEventListener("message", m, !1), () => {
4397
+ window.removeEventListener("message", m);
4398
+ }));
4399
+ const b = () => c(), H = () => c();
4400
+ function C(y) {
4401
+ Ce[y ? "unshift" : "push"](() => {
4402
+ f = y, r(1, f);
4403
+ });
4404
+ }
4405
+ return e.$$set = (y) => {
4406
+ "clientstyling" in y && r(5, n = y.clientstyling), "clientstylingurl" in y && r(6, i = y.clientstylingurl), "ismobileview" in y && r(7, o = y.ismobileview), "videosrc" in y && r(0, s = y.videosrc), "mbsource" in y && r(8, a = y.mbsource);
4407
+ }, e.$$.update = () => {
4408
+ e.$$.dirty & /*clientstyling, customStylingContainer*/
4409
+ 34 && n && f && Gr(f, n), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4410
+ 66 && i && f && Fr(f, i), e.$$.dirty & /*mbsource, customStylingContainer*/
4411
+ 258 && a && f && jr(f, `${a}.Style`);
4412
+ }, At(h) && v(), [
4413
+ s,
4414
+ f,
4415
+ u,
4416
+ l,
4417
+ c,
4418
+ n,
4419
+ i,
4420
+ o,
4421
+ a,
4422
+ b,
4423
+ H,
4424
+ C
4425
+ ];
4426
+ }
4427
+ class Qi extends Ur {
4428
+ constructor(t) {
4429
+ super(), $r(
4430
+ this,
4431
+ t,
4432
+ Zi,
4433
+ zi,
4434
+ It,
4435
+ {
4436
+ clientstyling: 5,
4437
+ clientstylingurl: 6,
4438
+ ismobileview: 7,
4439
+ videosrc: 0,
4440
+ mbsource: 8
4441
+ },
4442
+ Wi
4443
+ );
4444
+ }
4445
+ get clientstyling() {
4446
+ return this.$$.ctx[5];
4447
+ }
4448
+ set clientstyling(t) {
4449
+ this.$$set({ clientstyling: t }), I();
4450
+ }
4451
+ get clientstylingurl() {
4452
+ return this.$$.ctx[6];
4453
+ }
4454
+ set clientstylingurl(t) {
4455
+ this.$$set({ clientstylingurl: t }), I();
4456
+ }
4457
+ get ismobileview() {
4458
+ return this.$$.ctx[7];
4459
+ }
4460
+ set ismobileview(t) {
4461
+ this.$$set({ ismobileview: t }), I();
4462
+ }
4463
+ get videosrc() {
4464
+ return this.$$.ctx[0];
4465
+ }
4466
+ set videosrc(t) {
4467
+ this.$$set({ videosrc: t }), I();
4468
+ }
4469
+ get mbsource() {
4470
+ return this.$$.ctx[8];
4471
+ }
4472
+ set mbsource(t) {
4473
+ this.$$set({ mbsource: t }), I();
4474
+ }
4475
+ }
4476
+ Rr(Qi, { clientstyling: {}, clientstylingurl: {}, ismobileview: {}, videosrc: {}, mbsource: {} }, [], [], !0);
4477
+ export {
4478
+ Qi as default
4479
+ };