@everymatrix/cashier-receipt-page 1.76.3 → 1.76.5

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