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