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