@everymatrix/cashier-page 1.76.1 → 1.76.4

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