@everymatrix/casino-navigation-search 1.87.25 → 1.87.27

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