@everymatrix/casino-categories 1.60.1 → 1.61.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CasinoCategories-m2CgVQem.js → CasinoCategories-C6gikUfx.js} +835 -832
- package/components/{CasinoCategories-CK42zzTY.js → CasinoCategories-Du3Wk9xO.js} +679 -676
- package/components/CasinoCategories-PxIDHmJF.cjs +16 -0
- package/es2015/casino-categories.cjs +1 -1
- package/es2015/casino-categories.js +1 -1
- package/esnext/casino-categories.js +1 -1
- package/package.json +1 -1
- package/stencil/app-globals-0f993ce5-D-kw1sls.js +5 -0
- package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +1 -0
- package/stencil/index-b7bbd57e-BBUBsGhp.js +550 -0
- package/stencil/index-b7bbd57e-SuDXAV6_.cjs +1 -0
- package/stencil/index-b7bbd57e-wJC_uAuk.js +534 -0
- package/stencil/ui-image-38c3c15f-ByZECnci.js +39 -0
- package/stencil/ui-image-38c3c15f-D_V48h1L.js +39 -0
- package/stencil/ui-image-38c3c15f-VguNkCIq.cjs +1 -0
- package/stencil/ui-image-BNrzgSpe.js +11 -0
- package/stencil/ui-image-CLghOqUz.cjs +1 -0
- package/stencil/ui-image-CPH6BqjQ.js +29 -0
- package/components/CasinoCategories-D_VBai82.cjs +0 -16
|
@@ -1,61 +1,62 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var He = (e, t, r) => t in e ?
|
|
1
|
+
var Kt = Object.defineProperty, er = Object.defineProperties;
|
|
2
|
+
var tr = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var Je = Object.getOwnPropertySymbols;
|
|
4
|
+
var rr = Object.prototype.hasOwnProperty, nr = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var He = (e, t, r) => t in e ? Kt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, qe = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var r of
|
|
10
|
-
|
|
7
|
+
rr.call(t, r) && He(e, r, t[r]);
|
|
8
|
+
if (Je)
|
|
9
|
+
for (var r of Je(t))
|
|
10
|
+
nr.call(t, r) && He(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
13
|
-
var
|
|
14
|
-
var
|
|
15
|
-
var
|
|
12
|
+
}, Ye = (e, t) => er(e, tr(t));
|
|
13
|
+
var N = (e, t, r) => (He(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
|
+
var Ke = (e, t, r) => new Promise((n, i) => {
|
|
15
|
+
var o = (h) => {
|
|
16
16
|
try {
|
|
17
17
|
u(r.next(h));
|
|
18
18
|
} catch (a) {
|
|
19
19
|
i(a);
|
|
20
20
|
}
|
|
21
|
-
},
|
|
21
|
+
}, s = (h) => {
|
|
22
22
|
try {
|
|
23
23
|
u(r.throw(h));
|
|
24
24
|
} catch (a) {
|
|
25
25
|
i(a);
|
|
26
26
|
}
|
|
27
|
-
}, u = (h) => h.done ? n(h.value) : Promise.resolve(h.value).then(
|
|
27
|
+
}, u = (h) => h.done ? n(h.value) : Promise.resolve(h.value).then(o, s);
|
|
28
28
|
u((r = r.apply(e, t)).next());
|
|
29
29
|
});
|
|
30
|
-
|
|
30
|
+
import "../stencil/ui-image-CPH6BqjQ.js";
|
|
31
|
+
function L() {
|
|
31
32
|
}
|
|
32
|
-
function
|
|
33
|
+
function vt(e) {
|
|
33
34
|
return e();
|
|
34
35
|
}
|
|
35
|
-
function
|
|
36
|
+
function et() {
|
|
36
37
|
return /* @__PURE__ */ Object.create(null);
|
|
37
38
|
}
|
|
38
|
-
function
|
|
39
|
-
e.forEach(
|
|
39
|
+
function ue(e) {
|
|
40
|
+
e.forEach(vt);
|
|
40
41
|
}
|
|
41
|
-
function
|
|
42
|
+
function Xe(e) {
|
|
42
43
|
return typeof e == "function";
|
|
43
44
|
}
|
|
44
|
-
function
|
|
45
|
+
function Tt(e, t) {
|
|
45
46
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
46
47
|
}
|
|
47
|
-
let
|
|
48
|
-
function
|
|
49
|
-
return e === t ? !0 : (
|
|
48
|
+
let fe;
|
|
49
|
+
function be(e, t) {
|
|
50
|
+
return e === t ? !0 : (fe || (fe = document.createElement("a")), fe.href = t, e === fe.href);
|
|
50
51
|
}
|
|
51
|
-
function
|
|
52
|
+
function ir(e) {
|
|
52
53
|
return Object.keys(e).length === 0;
|
|
53
54
|
}
|
|
54
55
|
function Ct(e, ...t) {
|
|
55
56
|
if (e == null) {
|
|
56
57
|
for (const n of t)
|
|
57
58
|
n(void 0);
|
|
58
|
-
return
|
|
59
|
+
return L;
|
|
59
60
|
}
|
|
60
61
|
const r = e.subscribe(...t);
|
|
61
62
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
@@ -66,14 +67,14 @@ function or(e, t, r) {
|
|
|
66
67
|
function v(e, t) {
|
|
67
68
|
e.appendChild(t);
|
|
68
69
|
}
|
|
69
|
-
function
|
|
70
|
-
const n =
|
|
70
|
+
function sr(e, t, r) {
|
|
71
|
+
const n = ar(e);
|
|
71
72
|
if (!n.getElementById(t)) {
|
|
72
|
-
const i =
|
|
73
|
-
i.id = t, i.textContent = r,
|
|
73
|
+
const i = S("style");
|
|
74
|
+
i.id = t, i.textContent = r, ur(n, i);
|
|
74
75
|
}
|
|
75
76
|
}
|
|
76
|
-
function
|
|
77
|
+
function ar(e) {
|
|
77
78
|
if (!e)
|
|
78
79
|
return document;
|
|
79
80
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -83,46 +84,50 @@ function ur(e) {
|
|
|
83
84
|
t
|
|
84
85
|
) : e.ownerDocument;
|
|
85
86
|
}
|
|
86
|
-
function
|
|
87
|
+
function ur(e, t) {
|
|
87
88
|
return v(
|
|
88
89
|
/** @type {Document} */
|
|
89
90
|
e.head || e,
|
|
90
91
|
t
|
|
91
92
|
), t.sheet;
|
|
92
93
|
}
|
|
93
|
-
function
|
|
94
|
+
function K(e, t, r) {
|
|
94
95
|
e.insertBefore(t, r || null);
|
|
95
96
|
}
|
|
96
|
-
function
|
|
97
|
+
function k(e) {
|
|
97
98
|
e.parentNode && e.parentNode.removeChild(e);
|
|
98
99
|
}
|
|
99
|
-
function
|
|
100
|
+
function tt(e, t) {
|
|
100
101
|
for (let r = 0; r < e.length; r += 1)
|
|
101
102
|
e[r] && e[r].d(t);
|
|
102
103
|
}
|
|
103
|
-
function
|
|
104
|
+
function S(e) {
|
|
104
105
|
return document.createElement(e);
|
|
105
106
|
}
|
|
106
|
-
function
|
|
107
|
+
function G(e) {
|
|
107
108
|
return document.createTextNode(e);
|
|
108
109
|
}
|
|
109
|
-
function
|
|
110
|
-
return
|
|
110
|
+
function U() {
|
|
111
|
+
return G(" ");
|
|
111
112
|
}
|
|
112
|
-
function
|
|
113
|
+
function Ht(e, t, r, n) {
|
|
113
114
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
114
115
|
}
|
|
115
|
-
function
|
|
116
|
+
function I(e, t, r) {
|
|
116
117
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
117
118
|
}
|
|
118
|
-
function
|
|
119
|
+
function R(e, t, r) {
|
|
120
|
+
const n = t.toLowerCase();
|
|
121
|
+
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : I(e, t, r);
|
|
122
|
+
}
|
|
123
|
+
function hr(e) {
|
|
119
124
|
return Array.from(e.childNodes);
|
|
120
125
|
}
|
|
121
|
-
function
|
|
126
|
+
function F(e, t) {
|
|
122
127
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
123
128
|
t);
|
|
124
129
|
}
|
|
125
|
-
function
|
|
130
|
+
function lr(e) {
|
|
126
131
|
const t = {};
|
|
127
132
|
return e.childNodes.forEach(
|
|
128
133
|
/** @param {Element} node */
|
|
@@ -131,98 +136,98 @@ function cr(e) {
|
|
|
131
136
|
}
|
|
132
137
|
), t;
|
|
133
138
|
}
|
|
134
|
-
let
|
|
135
|
-
function
|
|
136
|
-
|
|
139
|
+
let oe;
|
|
140
|
+
function ie(e) {
|
|
141
|
+
oe = e;
|
|
137
142
|
}
|
|
138
143
|
function fr() {
|
|
139
|
-
if (!
|
|
144
|
+
if (!oe)
|
|
140
145
|
throw new Error("Function called outside component initialization");
|
|
141
|
-
return
|
|
146
|
+
return oe;
|
|
142
147
|
}
|
|
143
|
-
function
|
|
148
|
+
function cr(e) {
|
|
144
149
|
fr().$$.on_mount.push(e);
|
|
145
150
|
}
|
|
146
|
-
const
|
|
147
|
-
let
|
|
148
|
-
const
|
|
149
|
-
let
|
|
150
|
-
function
|
|
151
|
-
|
|
151
|
+
const W = [], Le = [];
|
|
152
|
+
let Z = [];
|
|
153
|
+
const rt = [], gr = /* @__PURE__ */ Promise.resolve();
|
|
154
|
+
let Ie = !1;
|
|
155
|
+
function mr() {
|
|
156
|
+
Ie || (Ie = !0, gr.then(M));
|
|
152
157
|
}
|
|
153
|
-
function
|
|
154
|
-
|
|
158
|
+
function Me(e) {
|
|
159
|
+
Z.push(e);
|
|
155
160
|
}
|
|
156
|
-
const
|
|
157
|
-
let
|
|
161
|
+
const Ae = /* @__PURE__ */ new Set();
|
|
162
|
+
let X = 0;
|
|
158
163
|
function M() {
|
|
159
|
-
if (
|
|
164
|
+
if (X !== 0)
|
|
160
165
|
return;
|
|
161
|
-
const e =
|
|
166
|
+
const e = oe;
|
|
162
167
|
do {
|
|
163
168
|
try {
|
|
164
|
-
for (;
|
|
165
|
-
const t =
|
|
166
|
-
|
|
169
|
+
for (; X < W.length; ) {
|
|
170
|
+
const t = W[X];
|
|
171
|
+
X++, ie(t), pr(t.$$);
|
|
167
172
|
}
|
|
168
173
|
} catch (t) {
|
|
169
|
-
throw
|
|
174
|
+
throw W.length = 0, X = 0, t;
|
|
170
175
|
}
|
|
171
|
-
for (
|
|
172
|
-
|
|
173
|
-
for (let t = 0; t <
|
|
174
|
-
const r =
|
|
175
|
-
|
|
176
|
+
for (ie(null), W.length = 0, X = 0; Le.length; )
|
|
177
|
+
Le.pop()();
|
|
178
|
+
for (let t = 0; t < Z.length; t += 1) {
|
|
179
|
+
const r = Z[t];
|
|
180
|
+
Ae.has(r) || (Ae.add(r), r());
|
|
176
181
|
}
|
|
177
|
-
|
|
178
|
-
} while (
|
|
179
|
-
for (;
|
|
180
|
-
|
|
181
|
-
|
|
182
|
+
Z.length = 0;
|
|
183
|
+
} while (W.length);
|
|
184
|
+
for (; rt.length; )
|
|
185
|
+
rt.pop()();
|
|
186
|
+
Ie = !1, Ae.clear(), ie(e);
|
|
182
187
|
}
|
|
183
|
-
function
|
|
188
|
+
function pr(e) {
|
|
184
189
|
if (e.fragment !== null) {
|
|
185
|
-
e.update(),
|
|
190
|
+
e.update(), ue(e.before_update);
|
|
186
191
|
const t = e.dirty;
|
|
187
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
192
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Me);
|
|
188
193
|
}
|
|
189
194
|
}
|
|
190
|
-
function
|
|
195
|
+
function dr(e) {
|
|
191
196
|
const t = [], r = [];
|
|
192
|
-
|
|
197
|
+
Z.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Z = t;
|
|
193
198
|
}
|
|
194
|
-
const
|
|
195
|
-
function
|
|
196
|
-
e && e.i && (
|
|
199
|
+
const br = /* @__PURE__ */ new Set();
|
|
200
|
+
function yr(e, t) {
|
|
201
|
+
e && e.i && (br.delete(e), e.i(t));
|
|
197
202
|
}
|
|
198
203
|
function ce(e) {
|
|
199
204
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
200
205
|
}
|
|
201
|
-
function
|
|
206
|
+
function _r(e, t, r) {
|
|
202
207
|
const { fragment: n, after_update: i } = e.$$;
|
|
203
|
-
n && n.m(t, r),
|
|
204
|
-
const
|
|
205
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...
|
|
206
|
-
}), i.forEach(
|
|
208
|
+
n && n.m(t, r), Me(() => {
|
|
209
|
+
const o = e.$$.on_mount.map(vt).filter(Xe);
|
|
210
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ue(o), e.$$.on_mount = [];
|
|
211
|
+
}), i.forEach(Me);
|
|
207
212
|
}
|
|
208
|
-
function
|
|
213
|
+
function xr(e, t) {
|
|
209
214
|
const r = e.$$;
|
|
210
|
-
r.fragment !== null && (
|
|
215
|
+
r.fragment !== null && (dr(r.after_update), ue(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
211
216
|
}
|
|
212
|
-
function
|
|
213
|
-
e.$$.dirty[0] === -1 && (
|
|
217
|
+
function Er(e, t) {
|
|
218
|
+
e.$$.dirty[0] === -1 && (W.push(e), mr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
214
219
|
}
|
|
215
|
-
function
|
|
216
|
-
const h =
|
|
217
|
-
|
|
220
|
+
function vr(e, t, r, n, i, o, s = null, u = [-1]) {
|
|
221
|
+
const h = oe;
|
|
222
|
+
ie(e);
|
|
218
223
|
const a = e.$$ = {
|
|
219
224
|
fragment: null,
|
|
220
225
|
ctx: [],
|
|
221
226
|
// state
|
|
222
|
-
props:
|
|
223
|
-
update:
|
|
227
|
+
props: o,
|
|
228
|
+
update: L,
|
|
224
229
|
not_equal: i,
|
|
225
|
-
bound:
|
|
230
|
+
bound: et(),
|
|
226
231
|
// lifecycle
|
|
227
232
|
on_mount: [],
|
|
228
233
|
on_destroy: [],
|
|
@@ -231,48 +236,48 @@ function Tr(e, t, r, n, i, s, o = null, u = [-1]) {
|
|
|
231
236
|
after_update: [],
|
|
232
237
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
|
233
238
|
// everything else
|
|
234
|
-
callbacks:
|
|
239
|
+
callbacks: et(),
|
|
235
240
|
dirty: u,
|
|
236
241
|
skip_bound: !1,
|
|
237
242
|
root: t.target || h.$$.root
|
|
238
243
|
};
|
|
239
|
-
|
|
244
|
+
s && s(a.root);
|
|
240
245
|
let l = !1;
|
|
241
|
-
if (a.ctx = r ? r(e, t.props || {}, (
|
|
242
|
-
const d = p.length ? p[0] :
|
|
243
|
-
return a.ctx && i(a.ctx[
|
|
244
|
-
}) : [], a.update(), l = !0,
|
|
246
|
+
if (a.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
|
|
247
|
+
const d = p.length ? p[0] : f;
|
|
248
|
+
return a.ctx && i(a.ctx[c], a.ctx[c] = d) && (!a.skip_bound && a.bound[c] && a.bound[c](d), l && Er(e, c)), f;
|
|
249
|
+
}) : [], a.update(), l = !0, ue(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
|
|
245
250
|
if (t.hydrate) {
|
|
246
|
-
const
|
|
247
|
-
a.fragment && a.fragment.l(
|
|
251
|
+
const c = hr(t.target);
|
|
252
|
+
a.fragment && a.fragment.l(c), c.forEach(k);
|
|
248
253
|
} else
|
|
249
254
|
a.fragment && a.fragment.c();
|
|
250
|
-
t.intro &&
|
|
255
|
+
t.intro && yr(e.$$.fragment), _r(e, t.target, t.anchor), M();
|
|
251
256
|
}
|
|
252
|
-
|
|
257
|
+
ie(h);
|
|
253
258
|
}
|
|
254
|
-
let
|
|
255
|
-
typeof HTMLElement == "function" && (
|
|
259
|
+
let At;
|
|
260
|
+
typeof HTMLElement == "function" && (At = class extends HTMLElement {
|
|
256
261
|
constructor(t, r, n) {
|
|
257
262
|
super();
|
|
258
263
|
/** The Svelte component constructor */
|
|
259
|
-
|
|
264
|
+
N(this, "$$ctor");
|
|
260
265
|
/** Slots */
|
|
261
|
-
|
|
266
|
+
N(this, "$$s");
|
|
262
267
|
/** The Svelte component instance */
|
|
263
|
-
|
|
268
|
+
N(this, "$$c");
|
|
264
269
|
/** Whether or not the custom element is connected */
|
|
265
|
-
|
|
270
|
+
N(this, "$$cn", !1);
|
|
266
271
|
/** Component props data */
|
|
267
|
-
|
|
272
|
+
N(this, "$$d", {});
|
|
268
273
|
/** `true` if currently in the process of reflecting component props back to attributes */
|
|
269
|
-
|
|
274
|
+
N(this, "$$r", !1);
|
|
270
275
|
/** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
|
|
271
|
-
|
|
276
|
+
N(this, "$$p_d", {});
|
|
272
277
|
/** @type {Record<string, Function[]>} Event listeners */
|
|
273
|
-
|
|
278
|
+
N(this, "$$l", {});
|
|
274
279
|
/** @type {Map<Function, Function>} Event listener unsubscribe functions */
|
|
275
|
-
|
|
280
|
+
N(this, "$$l_u", /* @__PURE__ */ new Map());
|
|
276
281
|
this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
|
|
277
282
|
}
|
|
278
283
|
addEventListener(t, r, n) {
|
|
@@ -289,42 +294,42 @@ typeof HTMLElement == "function" && (Bt = class extends HTMLElement {
|
|
|
289
294
|
}
|
|
290
295
|
}
|
|
291
296
|
connectedCallback() {
|
|
292
|
-
return
|
|
297
|
+
return Ke(this, null, function* () {
|
|
293
298
|
if (this.$$cn = !0, !this.$$c) {
|
|
294
|
-
let t = function(
|
|
299
|
+
let t = function(o) {
|
|
295
300
|
return () => {
|
|
296
|
-
let
|
|
301
|
+
let s;
|
|
297
302
|
return {
|
|
298
303
|
c: function() {
|
|
299
|
-
|
|
304
|
+
s = S("slot"), o !== "default" && I(s, "name", o);
|
|
300
305
|
},
|
|
301
306
|
/**
|
|
302
307
|
* @param {HTMLElement} target
|
|
303
308
|
* @param {HTMLElement} [anchor]
|
|
304
309
|
*/
|
|
305
310
|
m: function(a, l) {
|
|
306
|
-
|
|
311
|
+
K(a, s, l);
|
|
307
312
|
},
|
|
308
313
|
d: function(a) {
|
|
309
|
-
a &&
|
|
314
|
+
a && k(s);
|
|
310
315
|
}
|
|
311
316
|
};
|
|
312
317
|
};
|
|
313
318
|
};
|
|
314
319
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
315
320
|
return;
|
|
316
|
-
const r = {}, n =
|
|
317
|
-
for (const
|
|
318
|
-
|
|
319
|
-
for (const
|
|
320
|
-
const
|
|
321
|
-
|
|
321
|
+
const r = {}, n = lr(this);
|
|
322
|
+
for (const o of this.$$s)
|
|
323
|
+
o in n && (r[o] = [t(o)]);
|
|
324
|
+
for (const o of this.attributes) {
|
|
325
|
+
const s = this.$$g_p(o.name);
|
|
326
|
+
s in this.$$d || (this.$$d[s] = me(s, o.value, this.$$p_d, "toProp"));
|
|
322
327
|
}
|
|
323
|
-
for (const
|
|
324
|
-
!(
|
|
328
|
+
for (const o in this.$$p_d)
|
|
329
|
+
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
|
325
330
|
this.$$c = new this.$$ctor({
|
|
326
331
|
target: this.shadowRoot || this,
|
|
327
|
-
props:
|
|
332
|
+
props: Ye(qe({}, this.$$d), {
|
|
328
333
|
$$slots: r,
|
|
329
334
|
$$scope: {
|
|
330
335
|
ctx: []
|
|
@@ -333,23 +338,23 @@ typeof HTMLElement == "function" && (Bt = class extends HTMLElement {
|
|
|
333
338
|
});
|
|
334
339
|
const i = () => {
|
|
335
340
|
this.$$r = !0;
|
|
336
|
-
for (const
|
|
337
|
-
if (this.$$d[
|
|
338
|
-
const
|
|
339
|
-
|
|
340
|
-
this.$$d[
|
|
341
|
+
for (const o in this.$$p_d)
|
|
342
|
+
if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
|
|
343
|
+
const s = me(
|
|
344
|
+
o,
|
|
345
|
+
this.$$d[o],
|
|
341
346
|
this.$$p_d,
|
|
342
347
|
"toAttribute"
|
|
343
348
|
);
|
|
344
|
-
|
|
349
|
+
s == null ? this.removeAttribute(this.$$p_d[o].attribute || o) : this.setAttribute(this.$$p_d[o].attribute || o, s);
|
|
345
350
|
}
|
|
346
351
|
this.$$r = !1;
|
|
347
352
|
};
|
|
348
353
|
this.$$c.$$.after_update.push(i), i();
|
|
349
|
-
for (const
|
|
350
|
-
for (const
|
|
351
|
-
const u = this.$$c.$on(
|
|
352
|
-
this.$$l_u.set(
|
|
354
|
+
for (const o in this.$$l)
|
|
355
|
+
for (const s of this.$$l[o]) {
|
|
356
|
+
const u = this.$$c.$on(o, s);
|
|
357
|
+
this.$$l_u.set(s, u);
|
|
353
358
|
}
|
|
354
359
|
this.$$l = {};
|
|
355
360
|
}
|
|
@@ -359,7 +364,7 @@ typeof HTMLElement == "function" && (Bt = class extends HTMLElement {
|
|
|
359
364
|
// and setting attributes through setAttribute etc, this is helpful
|
|
360
365
|
attributeChangedCallback(t, r, n) {
|
|
361
366
|
var i;
|
|
362
|
-
this.$$r || (t = this.$$g_p(t), this.$$d[t] =
|
|
367
|
+
this.$$r || (t = this.$$g_p(t), this.$$d[t] = me(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
|
|
363
368
|
}
|
|
364
369
|
disconnectedCallback() {
|
|
365
370
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -372,9 +377,9 @@ typeof HTMLElement == "function" && (Bt = class extends HTMLElement {
|
|
|
372
377
|
) || t;
|
|
373
378
|
}
|
|
374
379
|
});
|
|
375
|
-
function
|
|
376
|
-
var
|
|
377
|
-
const i = (
|
|
380
|
+
function me(e, t, r, n) {
|
|
381
|
+
var o;
|
|
382
|
+
const i = (o = r[e]) == null ? void 0 : o.type;
|
|
378
383
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
379
384
|
return t;
|
|
380
385
|
if (n === "toAttribute")
|
|
@@ -402,8 +407,8 @@ function ge(e, t, r, n) {
|
|
|
402
407
|
return t;
|
|
403
408
|
}
|
|
404
409
|
}
|
|
405
|
-
function
|
|
406
|
-
let
|
|
410
|
+
function Tr(e, t, r, n, i, o) {
|
|
411
|
+
let s = class extends At {
|
|
407
412
|
constructor() {
|
|
408
413
|
super(e, r, i), this.$$p_d = t;
|
|
409
414
|
}
|
|
@@ -414,24 +419,24 @@ function Hr(e, t, r, n, i, s) {
|
|
|
414
419
|
}
|
|
415
420
|
};
|
|
416
421
|
return Object.keys(t).forEach((u) => {
|
|
417
|
-
Object.defineProperty(
|
|
422
|
+
Object.defineProperty(s.prototype, u, {
|
|
418
423
|
get() {
|
|
419
424
|
return this.$$c && u in this.$$c ? this.$$c[u] : this.$$d[u];
|
|
420
425
|
},
|
|
421
426
|
set(h) {
|
|
422
427
|
var a;
|
|
423
|
-
h =
|
|
428
|
+
h = me(u, h, t), this.$$d[u] = h, (a = this.$$c) == null || a.$set({ [u]: h });
|
|
424
429
|
}
|
|
425
430
|
});
|
|
426
431
|
}), n.forEach((u) => {
|
|
427
|
-
Object.defineProperty(
|
|
432
|
+
Object.defineProperty(s.prototype, u, {
|
|
428
433
|
get() {
|
|
429
434
|
var h;
|
|
430
435
|
return (h = this.$$c) == null ? void 0 : h[u];
|
|
431
436
|
}
|
|
432
437
|
});
|
|
433
438
|
}), e.element = /** @type {any} */
|
|
434
|
-
|
|
439
|
+
s, s;
|
|
435
440
|
}
|
|
436
441
|
class Cr {
|
|
437
442
|
constructor() {
|
|
@@ -442,7 +447,7 @@ class Cr {
|
|
|
442
447
|
*
|
|
443
448
|
* @type {any}
|
|
444
449
|
*/
|
|
445
|
-
|
|
450
|
+
N(this, "$$");
|
|
446
451
|
/**
|
|
447
452
|
* ### PRIVATE API
|
|
448
453
|
*
|
|
@@ -450,11 +455,11 @@ class Cr {
|
|
|
450
455
|
*
|
|
451
456
|
* @type {any}
|
|
452
457
|
*/
|
|
453
|
-
|
|
458
|
+
N(this, "$$set");
|
|
454
459
|
}
|
|
455
460
|
/** @returns {void} */
|
|
456
461
|
$destroy() {
|
|
457
|
-
|
|
462
|
+
xr(this, 1), this.$destroy = L;
|
|
458
463
|
}
|
|
459
464
|
/**
|
|
460
465
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -463,8 +468,8 @@ class Cr {
|
|
|
463
468
|
* @returns {() => void}
|
|
464
469
|
*/
|
|
465
470
|
$on(t, r) {
|
|
466
|
-
if (!
|
|
467
|
-
return
|
|
471
|
+
if (!Xe(r))
|
|
472
|
+
return L;
|
|
468
473
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
469
474
|
return n.push(r), () => {
|
|
470
475
|
const i = n.indexOf(r);
|
|
@@ -476,148 +481,148 @@ class Cr {
|
|
|
476
481
|
* @returns {void}
|
|
477
482
|
*/
|
|
478
483
|
$set(t) {
|
|
479
|
-
this.$$set && !
|
|
484
|
+
this.$$set && !ir(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
480
485
|
}
|
|
481
486
|
}
|
|
482
|
-
const
|
|
483
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
484
|
-
const
|
|
485
|
-
function
|
|
487
|
+
const Hr = "4";
|
|
488
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Hr);
|
|
489
|
+
const z = [];
|
|
490
|
+
function Ar(e, t) {
|
|
486
491
|
return {
|
|
487
492
|
subscribe: xe(e, t).subscribe
|
|
488
493
|
};
|
|
489
494
|
}
|
|
490
|
-
function xe(e, t =
|
|
495
|
+
function xe(e, t = L) {
|
|
491
496
|
let r;
|
|
492
497
|
const n = /* @__PURE__ */ new Set();
|
|
493
498
|
function i(u) {
|
|
494
|
-
if (
|
|
495
|
-
const h = !
|
|
499
|
+
if (Tt(e, u) && (e = u, r)) {
|
|
500
|
+
const h = !z.length;
|
|
496
501
|
for (const a of n)
|
|
497
|
-
a[1](),
|
|
502
|
+
a[1](), z.push(a, e);
|
|
498
503
|
if (h) {
|
|
499
|
-
for (let a = 0; a <
|
|
500
|
-
|
|
501
|
-
|
|
504
|
+
for (let a = 0; a < z.length; a += 2)
|
|
505
|
+
z[a][0](z[a + 1]);
|
|
506
|
+
z.length = 0;
|
|
502
507
|
}
|
|
503
508
|
}
|
|
504
509
|
}
|
|
505
|
-
function
|
|
510
|
+
function o(u) {
|
|
506
511
|
i(u(e));
|
|
507
512
|
}
|
|
508
|
-
function
|
|
513
|
+
function s(u, h = L) {
|
|
509
514
|
const a = [u, h];
|
|
510
|
-
return n.add(a), n.size === 1 && (r = t(i,
|
|
515
|
+
return n.add(a), n.size === 1 && (r = t(i, o) || L), u(e), () => {
|
|
511
516
|
n.delete(a), n.size === 0 && r && (r(), r = null);
|
|
512
517
|
};
|
|
513
518
|
}
|
|
514
|
-
return { set: i, update:
|
|
519
|
+
return { set: i, update: o, subscribe: s };
|
|
515
520
|
}
|
|
516
|
-
function
|
|
521
|
+
function ee(e, t, r) {
|
|
517
522
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
518
523
|
if (!i.every(Boolean))
|
|
519
524
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
520
|
-
const
|
|
521
|
-
return
|
|
525
|
+
const o = t.length < 2;
|
|
526
|
+
return Ar(r, (s, u) => {
|
|
522
527
|
let h = !1;
|
|
523
528
|
const a = [];
|
|
524
|
-
let l = 0,
|
|
525
|
-
const
|
|
529
|
+
let l = 0, c = L;
|
|
530
|
+
const f = () => {
|
|
526
531
|
if (l)
|
|
527
532
|
return;
|
|
528
|
-
|
|
529
|
-
const d = t(n ? a[0] : a,
|
|
530
|
-
|
|
533
|
+
c();
|
|
534
|
+
const d = t(n ? a[0] : a, s, u);
|
|
535
|
+
o ? s(d) : c = Xe(d) ? d : L;
|
|
531
536
|
}, p = i.map(
|
|
532
537
|
(d, g) => Ct(
|
|
533
538
|
d,
|
|
534
|
-
(
|
|
535
|
-
a[g] =
|
|
539
|
+
(E) => {
|
|
540
|
+
a[g] = E, l &= ~(1 << g), h && f();
|
|
536
541
|
},
|
|
537
542
|
() => {
|
|
538
543
|
l |= 1 << g;
|
|
539
544
|
}
|
|
540
545
|
)
|
|
541
546
|
);
|
|
542
|
-
return h = !0,
|
|
543
|
-
|
|
547
|
+
return h = !0, f(), function() {
|
|
548
|
+
ue(p), c(), h = !1;
|
|
544
549
|
};
|
|
545
550
|
});
|
|
546
551
|
}
|
|
547
|
-
function
|
|
552
|
+
function Br(e) {
|
|
548
553
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
549
554
|
}
|
|
550
|
-
var
|
|
551
|
-
return wr(t) && !
|
|
555
|
+
var Sr = function(t) {
|
|
556
|
+
return wr(t) && !Or(t);
|
|
552
557
|
};
|
|
553
558
|
function wr(e) {
|
|
554
559
|
return !!e && typeof e == "object";
|
|
555
560
|
}
|
|
556
|
-
function
|
|
561
|
+
function Or(e) {
|
|
557
562
|
var t = Object.prototype.toString.call(e);
|
|
558
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
563
|
+
return t === "[object RegExp]" || t === "[object Date]" || Lr(e);
|
|
559
564
|
}
|
|
560
|
-
var
|
|
561
|
-
function
|
|
562
|
-
return e.$$typeof ===
|
|
565
|
+
var Pr = typeof Symbol == "function" && Symbol.for, Nr = Pr ? Symbol.for("react.element") : 60103;
|
|
566
|
+
function Lr(e) {
|
|
567
|
+
return e.$$typeof === Nr;
|
|
563
568
|
}
|
|
564
|
-
function
|
|
569
|
+
function Ir(e) {
|
|
565
570
|
return Array.isArray(e) ? [] : {};
|
|
566
571
|
}
|
|
567
572
|
function se(e, t) {
|
|
568
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
573
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? Q(Ir(e), e, t) : e;
|
|
569
574
|
}
|
|
570
|
-
function
|
|
575
|
+
function Mr(e, t, r) {
|
|
571
576
|
return e.concat(t).map(function(n) {
|
|
572
577
|
return se(n, r);
|
|
573
578
|
});
|
|
574
579
|
}
|
|
575
|
-
function
|
|
580
|
+
function $r(e, t) {
|
|
576
581
|
if (!t.customMerge)
|
|
577
|
-
return
|
|
582
|
+
return Q;
|
|
578
583
|
var r = t.customMerge(e);
|
|
579
|
-
return typeof r == "function" ? r :
|
|
584
|
+
return typeof r == "function" ? r : Q;
|
|
580
585
|
}
|
|
581
|
-
function
|
|
586
|
+
function Rr(e) {
|
|
582
587
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
583
588
|
return Object.propertyIsEnumerable.call(e, t);
|
|
584
589
|
}) : [];
|
|
585
590
|
}
|
|
586
|
-
function
|
|
587
|
-
return Object.keys(e).concat(
|
|
591
|
+
function nt(e) {
|
|
592
|
+
return Object.keys(e).concat(Rr(e));
|
|
588
593
|
}
|
|
589
|
-
function
|
|
594
|
+
function Bt(e, t) {
|
|
590
595
|
try {
|
|
591
596
|
return t in e;
|
|
592
597
|
} catch (r) {
|
|
593
598
|
return !1;
|
|
594
599
|
}
|
|
595
600
|
}
|
|
596
|
-
function
|
|
597
|
-
return
|
|
601
|
+
function Ur(e, t) {
|
|
602
|
+
return Bt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
598
603
|
}
|
|
599
|
-
function
|
|
604
|
+
function Gr(e, t, r) {
|
|
600
605
|
var n = {};
|
|
601
|
-
return r.isMergeableObject(e) &&
|
|
606
|
+
return r.isMergeableObject(e) && nt(e).forEach(function(i) {
|
|
602
607
|
n[i] = se(e[i], r);
|
|
603
|
-
}),
|
|
604
|
-
|
|
608
|
+
}), nt(t).forEach(function(i) {
|
|
609
|
+
Ur(e, i) || (Bt(e, i) && r.isMergeableObject(t[i]) ? n[i] = $r(i, r)(e[i], t[i], r) : n[i] = se(t[i], r));
|
|
605
610
|
}), n;
|
|
606
611
|
}
|
|
607
|
-
function
|
|
608
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
609
|
-
var n = Array.isArray(t), i = Array.isArray(e),
|
|
610
|
-
return
|
|
612
|
+
function Q(e, t, r) {
|
|
613
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Mr, r.isMergeableObject = r.isMergeableObject || Sr, r.cloneUnlessOtherwiseSpecified = se;
|
|
614
|
+
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
615
|
+
return o ? n ? r.arrayMerge(e, t, r) : Gr(e, t, r) : se(t, r);
|
|
611
616
|
}
|
|
612
|
-
|
|
617
|
+
Q.all = function(t, r) {
|
|
613
618
|
if (!Array.isArray(t))
|
|
614
619
|
throw new Error("first argument should be an array");
|
|
615
620
|
return t.reduce(function(n, i) {
|
|
616
|
-
return
|
|
621
|
+
return Q(n, i, r);
|
|
617
622
|
}, {});
|
|
618
623
|
};
|
|
619
|
-
var
|
|
620
|
-
const
|
|
624
|
+
var Dr = Q, Fr = Dr;
|
|
625
|
+
const jr = /* @__PURE__ */ Br(Fr);
|
|
621
626
|
/*! *****************************************************************************
|
|
622
627
|
Copyright (c) Microsoft Corporation.
|
|
623
628
|
|
|
@@ -632,34 +637,34 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
632
637
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
633
638
|
PERFORMANCE OF THIS SOFTWARE.
|
|
634
639
|
***************************************************************************** */
|
|
635
|
-
var
|
|
636
|
-
return
|
|
640
|
+
var $e = function(e, t) {
|
|
641
|
+
return $e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
637
642
|
r.__proto__ = n;
|
|
638
643
|
} || function(r, n) {
|
|
639
644
|
for (var i in n)
|
|
640
645
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
641
|
-
},
|
|
646
|
+
}, $e(e, t);
|
|
642
647
|
};
|
|
643
648
|
function Ee(e, t) {
|
|
644
649
|
if (typeof t != "function" && t !== null)
|
|
645
650
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
646
|
-
|
|
651
|
+
$e(e, t);
|
|
647
652
|
function r() {
|
|
648
653
|
this.constructor = e;
|
|
649
654
|
}
|
|
650
655
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
651
656
|
}
|
|
652
|
-
var
|
|
653
|
-
return
|
|
657
|
+
var x = function() {
|
|
658
|
+
return x = Object.assign || function(t) {
|
|
654
659
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
655
660
|
r = arguments[n];
|
|
656
|
-
for (var
|
|
657
|
-
Object.prototype.hasOwnProperty.call(r,
|
|
661
|
+
for (var o in r)
|
|
662
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
658
663
|
}
|
|
659
664
|
return t;
|
|
660
|
-
},
|
|
665
|
+
}, x.apply(this, arguments);
|
|
661
666
|
};
|
|
662
|
-
function
|
|
667
|
+
function kr(e, t) {
|
|
663
668
|
var r = {};
|
|
664
669
|
for (var n in e)
|
|
665
670
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -668,62 +673,60 @@ function Vr(e, t) {
|
|
|
668
673
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
669
674
|
return r;
|
|
670
675
|
}
|
|
671
|
-
function
|
|
676
|
+
function Be(e, t, r) {
|
|
672
677
|
if (arguments.length === 2)
|
|
673
|
-
for (var n = 0, i = t.length,
|
|
674
|
-
(
|
|
675
|
-
return e.concat(
|
|
678
|
+
for (var n = 0, i = t.length, o; n < i; n++)
|
|
679
|
+
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
680
|
+
return e.concat(o || t);
|
|
676
681
|
}
|
|
677
|
-
function
|
|
678
|
-
var r = t && t.cache ? t.cache : Jr, n = t && t.serializer ? t.serializer :
|
|
682
|
+
function Se(e, t) {
|
|
683
|
+
var r = t && t.cache ? t.cache : Jr, n = t && t.serializer ? t.serializer : Zr, i = t && t.strategy ? t.strategy : zr;
|
|
679
684
|
return i(e, {
|
|
680
685
|
cache: r,
|
|
681
686
|
serializer: n
|
|
682
687
|
});
|
|
683
688
|
}
|
|
684
|
-
function
|
|
689
|
+
function Vr(e) {
|
|
685
690
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
686
691
|
}
|
|
687
|
-
function
|
|
688
|
-
var i =
|
|
689
|
-
return typeof
|
|
692
|
+
function Xr(e, t, r, n) {
|
|
693
|
+
var i = Vr(n) ? n : r(n), o = t.get(i);
|
|
694
|
+
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
690
695
|
}
|
|
691
|
-
function
|
|
692
|
-
var n = Array.prototype.slice.call(arguments, 3), i = r(n),
|
|
693
|
-
return typeof
|
|
696
|
+
function St(e, t, r) {
|
|
697
|
+
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
698
|
+
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
694
699
|
}
|
|
695
|
-
function
|
|
700
|
+
function wt(e, t, r, n, i) {
|
|
696
701
|
return r.bind(t, e, n, i);
|
|
697
702
|
}
|
|
698
703
|
function zr(e, t) {
|
|
699
|
-
var r = e.length === 1 ?
|
|
700
|
-
return
|
|
704
|
+
var r = e.length === 1 ? Xr : St;
|
|
705
|
+
return wt(e, this, r, t.cache.create(), t.serializer);
|
|
701
706
|
}
|
|
702
707
|
function Wr(e, t) {
|
|
703
|
-
return
|
|
708
|
+
return wt(e, this, St, t.cache.create(), t.serializer);
|
|
704
709
|
}
|
|
705
|
-
|
|
706
|
-
return Xe(e, this, Ot, t.cache.create(), t.serializer);
|
|
707
|
-
}
|
|
708
|
-
var Qr = function() {
|
|
710
|
+
var Zr = function() {
|
|
709
711
|
return JSON.stringify(arguments);
|
|
710
|
-
}
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
712
|
+
}, Qr = (
|
|
713
|
+
/** @class */
|
|
714
|
+
function() {
|
|
715
|
+
function e() {
|
|
716
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
717
|
+
}
|
|
718
|
+
return e.prototype.get = function(t) {
|
|
719
|
+
return this.cache[t];
|
|
720
|
+
}, e.prototype.set = function(t, r) {
|
|
721
|
+
this.cache[t] = r;
|
|
722
|
+
}, e;
|
|
723
|
+
}()
|
|
724
|
+
), Jr = {
|
|
721
725
|
create: function() {
|
|
722
|
-
return new
|
|
726
|
+
return new Qr();
|
|
723
727
|
}
|
|
724
|
-
},
|
|
725
|
-
variadic: Wr
|
|
726
|
-
monadic: Zr
|
|
728
|
+
}, we = {
|
|
729
|
+
variadic: Wr
|
|
727
730
|
}, y;
|
|
728
731
|
(function(e) {
|
|
729
732
|
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";
|
|
@@ -732,44 +735,44 @@ var T;
|
|
|
732
735
|
(function(e) {
|
|
733
736
|
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";
|
|
734
737
|
})(T || (T = {}));
|
|
735
|
-
var
|
|
738
|
+
var J;
|
|
736
739
|
(function(e) {
|
|
737
740
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
738
|
-
})(
|
|
739
|
-
function
|
|
741
|
+
})(J || (J = {}));
|
|
742
|
+
function it(e) {
|
|
740
743
|
return e.type === T.literal;
|
|
741
744
|
}
|
|
742
745
|
function qr(e) {
|
|
743
746
|
return e.type === T.argument;
|
|
744
747
|
}
|
|
745
|
-
function
|
|
748
|
+
function Ot(e) {
|
|
746
749
|
return e.type === T.number;
|
|
747
750
|
}
|
|
748
|
-
function
|
|
751
|
+
function Pt(e) {
|
|
749
752
|
return e.type === T.date;
|
|
750
753
|
}
|
|
751
|
-
function
|
|
754
|
+
function Nt(e) {
|
|
752
755
|
return e.type === T.time;
|
|
753
756
|
}
|
|
754
|
-
function
|
|
757
|
+
function Lt(e) {
|
|
755
758
|
return e.type === T.select;
|
|
756
759
|
}
|
|
757
|
-
function
|
|
760
|
+
function It(e) {
|
|
758
761
|
return e.type === T.plural;
|
|
759
762
|
}
|
|
760
763
|
function Yr(e) {
|
|
761
764
|
return e.type === T.pound;
|
|
762
765
|
}
|
|
763
|
-
function
|
|
766
|
+
function Mt(e) {
|
|
764
767
|
return e.type === T.tag;
|
|
765
768
|
}
|
|
766
|
-
function
|
|
767
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
769
|
+
function $t(e) {
|
|
770
|
+
return !!(e && typeof e == "object" && e.type === J.number);
|
|
768
771
|
}
|
|
769
|
-
function
|
|
770
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
772
|
+
function Re(e) {
|
|
773
|
+
return !!(e && typeof e == "object" && e.type === J.dateTime);
|
|
771
774
|
}
|
|
772
|
-
var
|
|
775
|
+
var Rt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Kr = /(?:[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;
|
|
773
776
|
function en(e) {
|
|
774
777
|
var t = {};
|
|
775
778
|
return e.replace(Kr, function(r) {
|
|
@@ -865,15 +868,15 @@ var tn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
|
865
868
|
function rn(e) {
|
|
866
869
|
if (e.length === 0)
|
|
867
870
|
throw new Error("Number skeleton cannot be empty");
|
|
868
|
-
for (var t = e.split(tn).filter(function(
|
|
869
|
-
return
|
|
871
|
+
for (var t = e.split(tn).filter(function(f) {
|
|
872
|
+
return f.length > 0;
|
|
870
873
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
871
|
-
var
|
|
872
|
-
if (
|
|
874
|
+
var o = i[n], s = o.split("/");
|
|
875
|
+
if (s.length === 0)
|
|
873
876
|
throw new Error("Invalid number skeleton");
|
|
874
|
-
for (var u =
|
|
875
|
-
var
|
|
876
|
-
if (
|
|
877
|
+
for (var u = s[0], h = s.slice(1), a = 0, l = h; a < l.length; a++) {
|
|
878
|
+
var c = l[a];
|
|
879
|
+
if (c.length === 0)
|
|
877
880
|
throw new Error("Invalid number skeleton");
|
|
878
881
|
}
|
|
879
882
|
r.push({ stem: u, options: h });
|
|
@@ -883,14 +886,14 @@ function rn(e) {
|
|
|
883
886
|
function nn(e) {
|
|
884
887
|
return e.replace(/^(.*?)-/, "");
|
|
885
888
|
}
|
|
886
|
-
var ot = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,
|
|
887
|
-
function
|
|
889
|
+
var ot = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Ut = /^(@+)?(\+|#+)?[rs]?$/g, on = /(\*)(0+)|(#+)(0+)|(0+)/g, Gt = /^(0+)$/;
|
|
890
|
+
function st(e) {
|
|
888
891
|
var t = {};
|
|
889
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
892
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Ut, function(r, n, i) {
|
|
890
893
|
return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
|
|
891
894
|
}), t;
|
|
892
895
|
}
|
|
893
|
-
function
|
|
896
|
+
function Dt(e) {
|
|
894
897
|
switch (e) {
|
|
895
898
|
case "sign-auto":
|
|
896
899
|
return {
|
|
@@ -930,7 +933,7 @@ function Ft(e) {
|
|
|
930
933
|
};
|
|
931
934
|
}
|
|
932
935
|
}
|
|
933
|
-
function
|
|
936
|
+
function sn(e) {
|
|
934
937
|
var t;
|
|
935
938
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
936
939
|
notation: "engineering"
|
|
@@ -938,14 +941,14 @@ function on(e) {
|
|
|
938
941
|
notation: "scientific"
|
|
939
942
|
}, e = e.slice(1)), t) {
|
|
940
943
|
var r = e.slice(0, 2);
|
|
941
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
944
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Gt.test(e))
|
|
942
945
|
throw new Error("Malformed concise eng/scientific notation");
|
|
943
946
|
t.minimumIntegerDigits = e.length;
|
|
944
947
|
}
|
|
945
948
|
return t;
|
|
946
949
|
}
|
|
947
|
-
function
|
|
948
|
-
var t = {}, r =
|
|
950
|
+
function at(e) {
|
|
951
|
+
var t = {}, r = Dt(e);
|
|
949
952
|
return r || t;
|
|
950
953
|
}
|
|
951
954
|
function an(e) {
|
|
@@ -983,13 +986,13 @@ function an(e) {
|
|
|
983
986
|
t.notation = "compact", t.compactDisplay = "long";
|
|
984
987
|
continue;
|
|
985
988
|
case "scientific":
|
|
986
|
-
t =
|
|
987
|
-
return
|
|
989
|
+
t = x(x(x({}, t), { notation: "scientific" }), i.options.reduce(function(h, a) {
|
|
990
|
+
return x(x({}, h), at(a));
|
|
988
991
|
}, {}));
|
|
989
992
|
continue;
|
|
990
993
|
case "engineering":
|
|
991
|
-
t =
|
|
992
|
-
return
|
|
994
|
+
t = x(x(x({}, t), { notation: "engineering" }), i.options.reduce(function(h, a) {
|
|
995
|
+
return x(x({}, h), at(a));
|
|
993
996
|
}, {}));
|
|
994
997
|
continue;
|
|
995
998
|
case "notation-simple":
|
|
@@ -1034,11 +1037,11 @@ function an(e) {
|
|
|
1034
1037
|
case "integer-width":
|
|
1035
1038
|
if (i.options.length > 1)
|
|
1036
1039
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1037
|
-
i.options[0].replace(
|
|
1040
|
+
i.options[0].replace(on, function(h, a, l, c, f, p) {
|
|
1038
1041
|
if (a)
|
|
1039
1042
|
t.minimumIntegerDigits = l.length;
|
|
1040
1043
|
else {
|
|
1041
|
-
if (
|
|
1044
|
+
if (c && f)
|
|
1042
1045
|
throw new Error("We currently do not support maximum integer digits");
|
|
1043
1046
|
if (p)
|
|
1044
1047
|
throw new Error("We currently do not support exact integer digits");
|
|
@@ -1047,32 +1050,32 @@ function an(e) {
|
|
|
1047
1050
|
});
|
|
1048
1051
|
continue;
|
|
1049
1052
|
}
|
|
1050
|
-
if (
|
|
1053
|
+
if (Gt.test(i.stem)) {
|
|
1051
1054
|
t.minimumIntegerDigits = i.stem.length;
|
|
1052
1055
|
continue;
|
|
1053
1056
|
}
|
|
1054
1057
|
if (ot.test(i.stem)) {
|
|
1055
1058
|
if (i.options.length > 1)
|
|
1056
1059
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1057
|
-
i.stem.replace(ot, function(h, a, l,
|
|
1058
|
-
return l === "*" ? t.minimumFractionDigits = a.length :
|
|
1060
|
+
i.stem.replace(ot, function(h, a, l, c, f, p) {
|
|
1061
|
+
return l === "*" ? t.minimumFractionDigits = a.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length), "";
|
|
1059
1062
|
});
|
|
1060
|
-
var
|
|
1061
|
-
|
|
1063
|
+
var o = i.options[0];
|
|
1064
|
+
o === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = x(x({}, t), st(o)));
|
|
1062
1065
|
continue;
|
|
1063
1066
|
}
|
|
1064
|
-
if (
|
|
1065
|
-
t =
|
|
1067
|
+
if (Ut.test(i.stem)) {
|
|
1068
|
+
t = x(x({}, t), st(i.stem));
|
|
1066
1069
|
continue;
|
|
1067
1070
|
}
|
|
1068
|
-
var
|
|
1069
|
-
|
|
1070
|
-
var u =
|
|
1071
|
-
u && (t =
|
|
1071
|
+
var s = Dt(i.stem);
|
|
1072
|
+
s && (t = x(x({}, t), s));
|
|
1073
|
+
var u = sn(i.stem);
|
|
1074
|
+
u && (t = x(x({}, t), u));
|
|
1072
1075
|
}
|
|
1073
1076
|
return t;
|
|
1074
1077
|
}
|
|
1075
|
-
var
|
|
1078
|
+
var ge = {
|
|
1076
1079
|
"001": [
|
|
1077
1080
|
"H",
|
|
1078
1081
|
"h"
|
|
@@ -2491,12 +2494,12 @@ function un(e, t) {
|
|
|
2491
2494
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2492
2495
|
var i = e.charAt(n);
|
|
2493
2496
|
if (i === "j") {
|
|
2494
|
-
for (var
|
|
2495
|
-
|
|
2496
|
-
var
|
|
2497
|
+
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2498
|
+
o++, n++;
|
|
2499
|
+
var s = 1 + (o & 1), u = o < 2 ? 1 : 3 + (o >> 1), h = "a", a = hn(t);
|
|
2497
2500
|
for ((a == "H" || a == "k") && (u = 0); u-- > 0; )
|
|
2498
2501
|
r += h;
|
|
2499
|
-
for (;
|
|
2502
|
+
for (; s-- > 0; )
|
|
2500
2503
|
r = a + r;
|
|
2501
2504
|
} else
|
|
2502
2505
|
i === "J" ? r += "H" : r += i;
|
|
@@ -2522,23 +2525,23 @@ function hn(e) {
|
|
|
2522
2525
|
}
|
|
2523
2526
|
var r = e.language, n;
|
|
2524
2527
|
r !== "root" && (n = e.maximize().region);
|
|
2525
|
-
var i =
|
|
2528
|
+
var i = ge[n || ""] || ge[r || ""] || ge["".concat(r, "-001")] || ge["001"];
|
|
2526
2529
|
return i[0];
|
|
2527
2530
|
}
|
|
2528
|
-
var Oe, ln = new RegExp("^".concat(
|
|
2529
|
-
function
|
|
2531
|
+
var Oe, ln = new RegExp("^".concat(Rt.source, "*")), fn = new RegExp("".concat(Rt.source, "*$"));
|
|
2532
|
+
function _(e, t) {
|
|
2530
2533
|
return { start: e, end: t };
|
|
2531
2534
|
}
|
|
2532
|
-
var
|
|
2535
|
+
var cn = !!String.prototype.startsWith && "_a".startsWith("a", 1), gn = !!String.fromCodePoint, mn = !!Object.fromEntries, pn = !!String.prototype.codePointAt, dn = !!String.prototype.trimStart, bn = !!String.prototype.trimEnd, yn = !!Number.isSafeInteger, _n = yn ? Number.isSafeInteger : function(e) {
|
|
2533
2536
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2534
|
-
},
|
|
2537
|
+
}, Ue = !0;
|
|
2535
2538
|
try {
|
|
2536
|
-
var
|
|
2537
|
-
|
|
2539
|
+
var xn = jt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2540
|
+
Ue = ((Oe = xn.exec("a")) === null || Oe === void 0 ? void 0 : Oe[0]) === "a";
|
|
2538
2541
|
} catch (e) {
|
|
2539
|
-
|
|
2542
|
+
Ue = !1;
|
|
2540
2543
|
}
|
|
2541
|
-
var
|
|
2544
|
+
var ut = cn ? (
|
|
2542
2545
|
// Native
|
|
2543
2546
|
function(t, r, n) {
|
|
2544
2547
|
return t.startsWith(r, n);
|
|
@@ -2548,31 +2551,31 @@ var ht = fn ? (
|
|
|
2548
2551
|
function(t, r, n) {
|
|
2549
2552
|
return t.slice(n, n + r.length) === r;
|
|
2550
2553
|
}
|
|
2551
|
-
),
|
|
2554
|
+
), Ge = gn ? String.fromCodePoint : (
|
|
2552
2555
|
// IE11
|
|
2553
2556
|
function() {
|
|
2554
2557
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
2555
2558
|
t[r] = arguments[r];
|
|
2556
|
-
for (var n = "", i = t.length,
|
|
2557
|
-
if (
|
|
2558
|
-
throw RangeError(
|
|
2559
|
-
n +=
|
|
2559
|
+
for (var n = "", i = t.length, o = 0, s; i > o; ) {
|
|
2560
|
+
if (s = t[o++], s > 1114111)
|
|
2561
|
+
throw RangeError(s + " is not a valid code point");
|
|
2562
|
+
n += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
|
|
2560
2563
|
}
|
|
2561
2564
|
return n;
|
|
2562
2565
|
}
|
|
2563
|
-
),
|
|
2566
|
+
), ht = (
|
|
2564
2567
|
// native
|
|
2565
2568
|
mn ? Object.fromEntries : (
|
|
2566
2569
|
// Ponyfill
|
|
2567
2570
|
function(t) {
|
|
2568
2571
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
2569
|
-
var
|
|
2570
|
-
r[
|
|
2572
|
+
var o = i[n], s = o[0], u = o[1];
|
|
2573
|
+
r[s] = u;
|
|
2571
2574
|
}
|
|
2572
2575
|
return r;
|
|
2573
2576
|
}
|
|
2574
2577
|
)
|
|
2575
|
-
),
|
|
2578
|
+
), Ft = pn ? (
|
|
2576
2579
|
// Native
|
|
2577
2580
|
function(t, r) {
|
|
2578
2581
|
return t.codePointAt(r);
|
|
@@ -2582,11 +2585,11 @@ var ht = fn ? (
|
|
|
2582
2585
|
function(t, r) {
|
|
2583
2586
|
var n = t.length;
|
|
2584
2587
|
if (!(r < 0 || r >= n)) {
|
|
2585
|
-
var i = t.charCodeAt(r),
|
|
2586
|
-
return i < 55296 || i > 56319 || r + 1 === n || (
|
|
2588
|
+
var i = t.charCodeAt(r), o;
|
|
2589
|
+
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
2587
2590
|
}
|
|
2588
2591
|
}
|
|
2589
|
-
),
|
|
2592
|
+
), En = dn ? (
|
|
2590
2593
|
// Native
|
|
2591
2594
|
function(t) {
|
|
2592
2595
|
return t.trimStart();
|
|
@@ -2604,30 +2607,30 @@ var ht = fn ? (
|
|
|
2604
2607
|
) : (
|
|
2605
2608
|
// Ponyfill
|
|
2606
2609
|
function(t) {
|
|
2607
|
-
return t.replace(
|
|
2610
|
+
return t.replace(fn, "");
|
|
2608
2611
|
}
|
|
2609
2612
|
);
|
|
2610
|
-
function
|
|
2613
|
+
function jt(e, t) {
|
|
2611
2614
|
return new RegExp(e, t);
|
|
2612
2615
|
}
|
|
2613
|
-
var
|
|
2614
|
-
if (
|
|
2615
|
-
var
|
|
2616
|
-
|
|
2616
|
+
var De;
|
|
2617
|
+
if (Ue) {
|
|
2618
|
+
var lt = jt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2619
|
+
De = function(t, r) {
|
|
2617
2620
|
var n;
|
|
2618
|
-
|
|
2619
|
-
var i =
|
|
2621
|
+
lt.lastIndex = r;
|
|
2622
|
+
var i = lt.exec(t);
|
|
2620
2623
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
2621
2624
|
};
|
|
2622
2625
|
} else
|
|
2623
|
-
|
|
2626
|
+
De = function(t, r) {
|
|
2624
2627
|
for (var n = []; ; ) {
|
|
2625
|
-
var i =
|
|
2626
|
-
if (i === void 0 ||
|
|
2628
|
+
var i = Ft(t, r);
|
|
2629
|
+
if (i === void 0 || kt(i) || An(i))
|
|
2627
2630
|
break;
|
|
2628
2631
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
2629
2632
|
}
|
|
2630
|
-
return
|
|
2633
|
+
return Ge.apply(void 0, n);
|
|
2631
2634
|
};
|
|
2632
2635
|
var Tn = (
|
|
2633
2636
|
/** @class */
|
|
@@ -2641,35 +2644,35 @@ var Tn = (
|
|
|
2641
2644
|
return this.parseMessage(0, "", !1);
|
|
2642
2645
|
}, e.prototype.parseMessage = function(t, r, n) {
|
|
2643
2646
|
for (var i = []; !this.isEOF(); ) {
|
|
2644
|
-
var
|
|
2645
|
-
if (
|
|
2646
|
-
var
|
|
2647
|
-
if (
|
|
2648
|
-
return
|
|
2649
|
-
i.push(
|
|
2647
|
+
var o = this.char();
|
|
2648
|
+
if (o === 123) {
|
|
2649
|
+
var s = this.parseArgument(t, n);
|
|
2650
|
+
if (s.err)
|
|
2651
|
+
return s;
|
|
2652
|
+
i.push(s.val);
|
|
2650
2653
|
} else {
|
|
2651
|
-
if (
|
|
2654
|
+
if (o === 125 && t > 0)
|
|
2652
2655
|
break;
|
|
2653
|
-
if (
|
|
2656
|
+
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
2654
2657
|
var u = this.clonePosition();
|
|
2655
2658
|
this.bump(), i.push({
|
|
2656
2659
|
type: T.pound,
|
|
2657
|
-
location:
|
|
2660
|
+
location: _(u, this.clonePosition())
|
|
2658
2661
|
});
|
|
2659
|
-
} else if (
|
|
2662
|
+
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
2660
2663
|
if (n)
|
|
2661
2664
|
break;
|
|
2662
|
-
return this.error(y.UNMATCHED_CLOSING_TAG,
|
|
2663
|
-
} else if (
|
|
2664
|
-
var
|
|
2665
|
-
if (
|
|
2666
|
-
return
|
|
2667
|
-
i.push(
|
|
2665
|
+
return this.error(y.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
|
|
2666
|
+
} else if (o === 60 && !this.ignoreTag && Fe(this.peek() || 0)) {
|
|
2667
|
+
var s = this.parseTag(t, r);
|
|
2668
|
+
if (s.err)
|
|
2669
|
+
return s;
|
|
2670
|
+
i.push(s.val);
|
|
2668
2671
|
} else {
|
|
2669
|
-
var
|
|
2670
|
-
if (
|
|
2671
|
-
return
|
|
2672
|
-
i.push(
|
|
2672
|
+
var s = this.parseLiteral(t, r);
|
|
2673
|
+
if (s.err)
|
|
2674
|
+
return s;
|
|
2675
|
+
i.push(s.val);
|
|
2673
2676
|
}
|
|
2674
2677
|
}
|
|
2675
2678
|
}
|
|
@@ -2683,49 +2686,49 @@ var Tn = (
|
|
|
2683
2686
|
val: {
|
|
2684
2687
|
type: T.literal,
|
|
2685
2688
|
value: "<".concat(i, "/>"),
|
|
2686
|
-
location:
|
|
2689
|
+
location: _(n, this.clonePosition())
|
|
2687
2690
|
},
|
|
2688
2691
|
err: null
|
|
2689
2692
|
};
|
|
2690
2693
|
if (this.bumpIf(">")) {
|
|
2691
|
-
var
|
|
2692
|
-
if (
|
|
2693
|
-
return
|
|
2694
|
-
var
|
|
2694
|
+
var o = this.parseMessage(t + 1, r, !0);
|
|
2695
|
+
if (o.err)
|
|
2696
|
+
return o;
|
|
2697
|
+
var s = o.val, u = this.clonePosition();
|
|
2695
2698
|
if (this.bumpIf("</")) {
|
|
2696
|
-
if (this.isEOF() || !
|
|
2697
|
-
return this.error(y.INVALID_TAG,
|
|
2699
|
+
if (this.isEOF() || !Fe(this.char()))
|
|
2700
|
+
return this.error(y.INVALID_TAG, _(u, this.clonePosition()));
|
|
2698
2701
|
var h = this.clonePosition(), a = this.parseTagName();
|
|
2699
|
-
return i !== a ? this.error(y.UNMATCHED_CLOSING_TAG,
|
|
2702
|
+
return i !== a ? this.error(y.UNMATCHED_CLOSING_TAG, _(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2700
2703
|
val: {
|
|
2701
2704
|
type: T.tag,
|
|
2702
2705
|
value: i,
|
|
2703
|
-
children:
|
|
2704
|
-
location:
|
|
2706
|
+
children: s,
|
|
2707
|
+
location: _(n, this.clonePosition())
|
|
2705
2708
|
},
|
|
2706
2709
|
err: null
|
|
2707
|
-
} : this.error(y.INVALID_TAG,
|
|
2710
|
+
} : this.error(y.INVALID_TAG, _(u, this.clonePosition())));
|
|
2708
2711
|
} else
|
|
2709
|
-
return this.error(y.UNCLOSED_TAG,
|
|
2712
|
+
return this.error(y.UNCLOSED_TAG, _(n, this.clonePosition()));
|
|
2710
2713
|
} else
|
|
2711
|
-
return this.error(y.INVALID_TAG,
|
|
2714
|
+
return this.error(y.INVALID_TAG, _(n, this.clonePosition()));
|
|
2712
2715
|
}, e.prototype.parseTagName = function() {
|
|
2713
2716
|
var t = this.offset();
|
|
2714
|
-
for (this.bump(); !this.isEOF() &&
|
|
2717
|
+
for (this.bump(); !this.isEOF() && Hn(this.char()); )
|
|
2715
2718
|
this.bump();
|
|
2716
2719
|
return this.message.slice(t, this.offset());
|
|
2717
2720
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
2718
2721
|
for (var n = this.clonePosition(), i = ""; ; ) {
|
|
2719
|
-
var
|
|
2720
|
-
if (s) {
|
|
2721
|
-
i += s;
|
|
2722
|
-
continue;
|
|
2723
|
-
}
|
|
2724
|
-
var o = this.tryParseUnquoted(t, r);
|
|
2722
|
+
var o = this.tryParseQuote(r);
|
|
2725
2723
|
if (o) {
|
|
2726
2724
|
i += o;
|
|
2727
2725
|
continue;
|
|
2728
2726
|
}
|
|
2727
|
+
var s = this.tryParseUnquoted(t, r);
|
|
2728
|
+
if (s) {
|
|
2729
|
+
i += s;
|
|
2730
|
+
continue;
|
|
2731
|
+
}
|
|
2729
2732
|
var u = this.tryParseLeftAngleBracket();
|
|
2730
2733
|
if (u) {
|
|
2731
2734
|
i += u;
|
|
@@ -2733,14 +2736,14 @@ var Tn = (
|
|
|
2733
2736
|
}
|
|
2734
2737
|
break;
|
|
2735
2738
|
}
|
|
2736
|
-
var h =
|
|
2739
|
+
var h = _(n, this.clonePosition());
|
|
2737
2740
|
return {
|
|
2738
2741
|
val: { type: T.literal, value: i, location: h },
|
|
2739
2742
|
err: null
|
|
2740
2743
|
};
|
|
2741
2744
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2742
2745
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2743
|
-
!
|
|
2746
|
+
!Cn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2744
2747
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2745
2748
|
if (this.isEOF() || this.char() !== 39)
|
|
2746
2749
|
return null;
|
|
@@ -2774,23 +2777,23 @@ var Tn = (
|
|
|
2774
2777
|
r.push(n);
|
|
2775
2778
|
this.bump();
|
|
2776
2779
|
}
|
|
2777
|
-
return
|
|
2780
|
+
return Ge.apply(void 0, r);
|
|
2778
2781
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
2779
2782
|
if (this.isEOF())
|
|
2780
2783
|
return null;
|
|
2781
2784
|
var n = this.char();
|
|
2782
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
2785
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ge(n));
|
|
2783
2786
|
}, e.prototype.parseArgument = function(t, r) {
|
|
2784
2787
|
var n = this.clonePosition();
|
|
2785
2788
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
2786
|
-
return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
2789
|
+
return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
|
|
2787
2790
|
if (this.char() === 125)
|
|
2788
|
-
return this.bump(), this.error(y.EMPTY_ARGUMENT,
|
|
2791
|
+
return this.bump(), this.error(y.EMPTY_ARGUMENT, _(n, this.clonePosition()));
|
|
2789
2792
|
var i = this.parseIdentifierIfPossible().value;
|
|
2790
2793
|
if (!i)
|
|
2791
|
-
return this.error(y.MALFORMED_ARGUMENT,
|
|
2794
|
+
return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
|
|
2792
2795
|
if (this.bumpSpace(), this.isEOF())
|
|
2793
|
-
return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
2796
|
+
return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
|
|
2794
2797
|
switch (this.char()) {
|
|
2795
2798
|
case 125:
|
|
2796
2799
|
return this.bump(), {
|
|
@@ -2798,25 +2801,25 @@ var Tn = (
|
|
|
2798
2801
|
type: T.argument,
|
|
2799
2802
|
// value does not include the opening and closing braces.
|
|
2800
2803
|
value: i,
|
|
2801
|
-
location:
|
|
2804
|
+
location: _(n, this.clonePosition())
|
|
2802
2805
|
},
|
|
2803
2806
|
err: null
|
|
2804
2807
|
};
|
|
2805
2808
|
case 44:
|
|
2806
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
2809
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
|
2807
2810
|
default:
|
|
2808
|
-
return this.error(y.MALFORMED_ARGUMENT,
|
|
2811
|
+
return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
|
|
2809
2812
|
}
|
|
2810
2813
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
2811
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
2814
|
+
var t = this.clonePosition(), r = this.offset(), n = De(this.message, r), i = r + n.length;
|
|
2812
2815
|
this.bumpTo(i);
|
|
2813
|
-
var
|
|
2814
|
-
return { value: n, location:
|
|
2816
|
+
var o = this.clonePosition(), s = _(t, o);
|
|
2817
|
+
return { value: n, location: s };
|
|
2815
2818
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
2816
|
-
var
|
|
2819
|
+
var o, s = this.clonePosition(), u = this.parseIdentifierIfPossible().value, h = this.clonePosition();
|
|
2817
2820
|
switch (u) {
|
|
2818
2821
|
case "":
|
|
2819
|
-
return this.error(y.EXPECT_ARGUMENT_TYPE,
|
|
2822
|
+
return this.error(y.EXPECT_ARGUMENT_TYPE, _(s, h));
|
|
2820
2823
|
case "number":
|
|
2821
2824
|
case "date":
|
|
2822
2825
|
case "time": {
|
|
@@ -2824,40 +2827,40 @@ var Tn = (
|
|
|
2824
2827
|
var a = null;
|
|
2825
2828
|
if (this.bumpIf(",")) {
|
|
2826
2829
|
this.bumpSpace();
|
|
2827
|
-
var l = this.clonePosition(),
|
|
2828
|
-
if (
|
|
2829
|
-
return
|
|
2830
|
-
var
|
|
2831
|
-
if (
|
|
2832
|
-
return this.error(y.EXPECT_ARGUMENT_STYLE,
|
|
2833
|
-
var p =
|
|
2834
|
-
a = { style:
|
|
2830
|
+
var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
2831
|
+
if (c.err)
|
|
2832
|
+
return c;
|
|
2833
|
+
var f = vn(c.val);
|
|
2834
|
+
if (f.length === 0)
|
|
2835
|
+
return this.error(y.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
|
|
2836
|
+
var p = _(l, this.clonePosition());
|
|
2837
|
+
a = { style: f, styleLocation: p };
|
|
2835
2838
|
}
|
|
2836
2839
|
var d = this.tryParseArgumentClose(i);
|
|
2837
2840
|
if (d.err)
|
|
2838
2841
|
return d;
|
|
2839
|
-
var g =
|
|
2840
|
-
if (a &&
|
|
2841
|
-
var
|
|
2842
|
+
var g = _(i, this.clonePosition());
|
|
2843
|
+
if (a && ut(a == null ? void 0 : a.style, "::", 0)) {
|
|
2844
|
+
var E = En(a.style.slice(2));
|
|
2842
2845
|
if (u === "number") {
|
|
2843
|
-
var
|
|
2844
|
-
return
|
|
2845
|
-
val: { type: T.number, value: n, location: g, style:
|
|
2846
|
+
var c = this.parseNumberSkeletonFromString(E, a.styleLocation);
|
|
2847
|
+
return c.err ? c : {
|
|
2848
|
+
val: { type: T.number, value: n, location: g, style: c.val },
|
|
2846
2849
|
err: null
|
|
2847
2850
|
};
|
|
2848
2851
|
} else {
|
|
2849
|
-
if (
|
|
2852
|
+
if (E.length === 0)
|
|
2850
2853
|
return this.error(y.EXPECT_DATE_TIME_SKELETON, g);
|
|
2851
|
-
var m =
|
|
2852
|
-
this.locale && (m = un(
|
|
2853
|
-
var
|
|
2854
|
-
type:
|
|
2854
|
+
var m = E;
|
|
2855
|
+
this.locale && (m = un(E, this.locale));
|
|
2856
|
+
var f = {
|
|
2857
|
+
type: J.dateTime,
|
|
2855
2858
|
pattern: m,
|
|
2856
2859
|
location: a.styleLocation,
|
|
2857
2860
|
parsedOptions: this.shouldParseSkeletons ? en(m) : {}
|
|
2858
|
-
},
|
|
2861
|
+
}, C = u === "date" ? T.date : T.time;
|
|
2859
2862
|
return {
|
|
2860
|
-
val: { type:
|
|
2863
|
+
val: { type: C, value: n, location: g, style: f },
|
|
2861
2864
|
err: null
|
|
2862
2865
|
};
|
|
2863
2866
|
}
|
|
@@ -2867,7 +2870,7 @@ var Tn = (
|
|
|
2867
2870
|
type: u === "number" ? T.number : u === "date" ? T.date : T.time,
|
|
2868
2871
|
value: n,
|
|
2869
2872
|
location: g,
|
|
2870
|
-
style: (
|
|
2873
|
+
style: (o = a == null ? void 0 : a.style) !== null && o !== void 0 ? o : null
|
|
2871
2874
|
},
|
|
2872
2875
|
err: null
|
|
2873
2876
|
};
|
|
@@ -2875,52 +2878,52 @@ var Tn = (
|
|
|
2875
2878
|
case "plural":
|
|
2876
2879
|
case "selectordinal":
|
|
2877
2880
|
case "select": {
|
|
2878
|
-
var
|
|
2881
|
+
var A = this.clonePosition();
|
|
2879
2882
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
2880
|
-
return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS,
|
|
2883
|
+
return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, _(A, x({}, A)));
|
|
2881
2884
|
this.bumpSpace();
|
|
2882
|
-
var
|
|
2883
|
-
if (u !== "select" &&
|
|
2885
|
+
var O = this.parseIdentifierIfPossible(), B = 0;
|
|
2886
|
+
if (u !== "select" && O.value === "offset") {
|
|
2884
2887
|
if (!this.bumpIf(":"))
|
|
2885
|
-
return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,
|
|
2888
|
+
return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
|
|
2886
2889
|
this.bumpSpace();
|
|
2887
|
-
var
|
|
2888
|
-
if (
|
|
2889
|
-
return
|
|
2890
|
-
this.bumpSpace(),
|
|
2890
|
+
var c = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
2891
|
+
if (c.err)
|
|
2892
|
+
return c;
|
|
2893
|
+
this.bumpSpace(), O = this.parseIdentifierIfPossible(), B = c.val;
|
|
2891
2894
|
}
|
|
2892
|
-
var
|
|
2893
|
-
if (
|
|
2894
|
-
return
|
|
2895
|
+
var H = this.tryParsePluralOrSelectOptions(t, u, r, O);
|
|
2896
|
+
if (H.err)
|
|
2897
|
+
return H;
|
|
2895
2898
|
var d = this.tryParseArgumentClose(i);
|
|
2896
2899
|
if (d.err)
|
|
2897
2900
|
return d;
|
|
2898
|
-
var
|
|
2901
|
+
var P = _(i, this.clonePosition());
|
|
2899
2902
|
return u === "select" ? {
|
|
2900
2903
|
val: {
|
|
2901
2904
|
type: T.select,
|
|
2902
2905
|
value: n,
|
|
2903
|
-
options:
|
|
2904
|
-
location:
|
|
2906
|
+
options: ht(H.val),
|
|
2907
|
+
location: P
|
|
2905
2908
|
},
|
|
2906
2909
|
err: null
|
|
2907
2910
|
} : {
|
|
2908
2911
|
val: {
|
|
2909
2912
|
type: T.plural,
|
|
2910
2913
|
value: n,
|
|
2911
|
-
options:
|
|
2912
|
-
offset:
|
|
2914
|
+
options: ht(H.val),
|
|
2915
|
+
offset: B,
|
|
2913
2916
|
pluralType: u === "plural" ? "cardinal" : "ordinal",
|
|
2914
|
-
location:
|
|
2917
|
+
location: P
|
|
2915
2918
|
},
|
|
2916
2919
|
err: null
|
|
2917
2920
|
};
|
|
2918
2921
|
}
|
|
2919
2922
|
default:
|
|
2920
|
-
return this.error(y.INVALID_ARGUMENT_TYPE,
|
|
2923
|
+
return this.error(y.INVALID_ARGUMENT_TYPE, _(s, h));
|
|
2921
2924
|
}
|
|
2922
2925
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
2923
|
-
return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
2926
|
+
return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
2924
2927
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
2925
2928
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
2926
2929
|
var n = this.char();
|
|
@@ -2929,7 +2932,7 @@ var Tn = (
|
|
|
2929
2932
|
this.bump();
|
|
2930
2933
|
var i = this.clonePosition();
|
|
2931
2934
|
if (!this.bumpUntil("'"))
|
|
2932
|
-
return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,
|
|
2935
|
+
return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, _(i, this.clonePosition()));
|
|
2933
2936
|
this.bump();
|
|
2934
2937
|
break;
|
|
2935
2938
|
}
|
|
@@ -2965,7 +2968,7 @@ var Tn = (
|
|
|
2965
2968
|
}
|
|
2966
2969
|
return {
|
|
2967
2970
|
val: {
|
|
2968
|
-
type:
|
|
2971
|
+
type: J.number,
|
|
2969
2972
|
tokens: n,
|
|
2970
2973
|
location: r,
|
|
2971
2974
|
parsedOptions: this.shouldParseSkeletons ? an(n) : {}
|
|
@@ -2973,23 +2976,23 @@ var Tn = (
|
|
|
2973
2976
|
err: null
|
|
2974
2977
|
};
|
|
2975
2978
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
|
2976
|
-
for (var
|
|
2979
|
+
for (var o, s = !1, u = [], h = /* @__PURE__ */ new Set(), a = i.value, l = i.location; ; ) {
|
|
2977
2980
|
if (a.length === 0) {
|
|
2978
|
-
var
|
|
2981
|
+
var c = this.clonePosition();
|
|
2979
2982
|
if (r !== "select" && this.bumpIf("=")) {
|
|
2980
|
-
var
|
|
2981
|
-
if (
|
|
2982
|
-
return
|
|
2983
|
-
l =
|
|
2983
|
+
var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
2984
|
+
if (f.err)
|
|
2985
|
+
return f;
|
|
2986
|
+
l = _(c, this.clonePosition()), a = this.message.slice(c.offset, this.offset());
|
|
2984
2987
|
} else
|
|
2985
2988
|
break;
|
|
2986
2989
|
}
|
|
2987
2990
|
if (h.has(a))
|
|
2988
2991
|
return this.error(r === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
|
|
2989
|
-
a === "other" && (
|
|
2992
|
+
a === "other" && (s = !0), this.bumpSpace();
|
|
2990
2993
|
var p = this.clonePosition();
|
|
2991
2994
|
if (!this.bumpIf("{"))
|
|
2992
|
-
return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,
|
|
2995
|
+
return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
|
|
2993
2996
|
var d = this.parseMessage(t + 1, r, n);
|
|
2994
2997
|
if (d.err)
|
|
2995
2998
|
return d;
|
|
@@ -3000,23 +3003,23 @@ var Tn = (
|
|
|
3000
3003
|
a,
|
|
3001
3004
|
{
|
|
3002
3005
|
value: d.val,
|
|
3003
|
-
location:
|
|
3006
|
+
location: _(p, this.clonePosition())
|
|
3004
3007
|
}
|
|
3005
|
-
]), h.add(a), this.bumpSpace(),
|
|
3008
|
+
]), h.add(a), this.bumpSpace(), o = this.parseIdentifierIfPossible(), a = o.value, l = o.location;
|
|
3006
3009
|
}
|
|
3007
|
-
return u.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR,
|
|
3010
|
+
return u.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, _(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(y.MISSING_OTHER_CLAUSE, _(this.clonePosition(), this.clonePosition())) : { val: u, err: null };
|
|
3008
3011
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3009
3012
|
var n = 1, i = this.clonePosition();
|
|
3010
3013
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
3011
|
-
for (var
|
|
3014
|
+
for (var o = !1, s = 0; !this.isEOF(); ) {
|
|
3012
3015
|
var u = this.char();
|
|
3013
3016
|
if (u >= 48 && u <= 57)
|
|
3014
|
-
|
|
3017
|
+
o = !0, s = s * 10 + (u - 48), this.bump();
|
|
3015
3018
|
else
|
|
3016
3019
|
break;
|
|
3017
3020
|
}
|
|
3018
|
-
var h =
|
|
3019
|
-
return
|
|
3021
|
+
var h = _(i, this.clonePosition());
|
|
3022
|
+
return o ? (s *= n, _n(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
|
|
3020
3023
|
}, e.prototype.offset = function() {
|
|
3021
3024
|
return this.position.offset;
|
|
3022
3025
|
}, e.prototype.isEOF = function() {
|
|
@@ -3031,7 +3034,7 @@ var Tn = (
|
|
|
3031
3034
|
var t = this.position.offset;
|
|
3032
3035
|
if (t >= this.message.length)
|
|
3033
3036
|
throw Error("out of bound");
|
|
3034
|
-
var r =
|
|
3037
|
+
var r = Ft(this.message, t);
|
|
3035
3038
|
if (r === void 0)
|
|
3036
3039
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3037
3040
|
return r;
|
|
@@ -3050,7 +3053,7 @@ var Tn = (
|
|
|
3050
3053
|
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);
|
|
3051
3054
|
}
|
|
3052
3055
|
}, e.prototype.bumpIf = function(t) {
|
|
3053
|
-
if (
|
|
3056
|
+
if (ut(this.message, t, this.offset())) {
|
|
3054
3057
|
for (var r = 0; r < t.length; r++)
|
|
3055
3058
|
this.bump();
|
|
3056
3059
|
return !0;
|
|
@@ -3072,7 +3075,7 @@ var Tn = (
|
|
|
3072
3075
|
break;
|
|
3073
3076
|
}
|
|
3074
3077
|
}, e.prototype.bumpSpace = function() {
|
|
3075
|
-
for (; !this.isEOF() &&
|
|
3078
|
+
for (; !this.isEOF() && kt(this.char()); )
|
|
3076
3079
|
this.bump();
|
|
3077
3080
|
}, e.prototype.peek = function() {
|
|
3078
3081
|
if (this.isEOF())
|
|
@@ -3082,50 +3085,50 @@ var Tn = (
|
|
|
3082
3085
|
}, e;
|
|
3083
3086
|
}()
|
|
3084
3087
|
);
|
|
3085
|
-
function
|
|
3088
|
+
function Fe(e) {
|
|
3086
3089
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3087
3090
|
}
|
|
3088
|
-
function Hn(e) {
|
|
3089
|
-
return De(e) || e === 47;
|
|
3090
|
-
}
|
|
3091
3091
|
function Cn(e) {
|
|
3092
|
+
return Fe(e) || e === 47;
|
|
3093
|
+
}
|
|
3094
|
+
function Hn(e) {
|
|
3092
3095
|
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;
|
|
3093
3096
|
}
|
|
3094
|
-
function
|
|
3097
|
+
function kt(e) {
|
|
3095
3098
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3096
3099
|
}
|
|
3097
3100
|
function An(e) {
|
|
3098
3101
|
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;
|
|
3099
3102
|
}
|
|
3100
|
-
function
|
|
3103
|
+
function je(e) {
|
|
3101
3104
|
e.forEach(function(t) {
|
|
3102
|
-
if (delete t.location,
|
|
3105
|
+
if (delete t.location, Lt(t) || It(t))
|
|
3103
3106
|
for (var r in t.options)
|
|
3104
|
-
delete t.options[r].location,
|
|
3107
|
+
delete t.options[r].location, je(t.options[r].value);
|
|
3105
3108
|
else
|
|
3106
|
-
|
|
3109
|
+
Ot(t) && $t(t.style) || (Pt(t) || Nt(t)) && Re(t.style) ? delete t.style.location : Mt(t) && je(t.children);
|
|
3107
3110
|
});
|
|
3108
3111
|
}
|
|
3109
3112
|
function Bn(e, t) {
|
|
3110
|
-
t === void 0 && (t = {}), t =
|
|
3113
|
+
t === void 0 && (t = {}), t = x({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3111
3114
|
var r = new Tn(e, t).parse();
|
|
3112
3115
|
if (r.err) {
|
|
3113
3116
|
var n = SyntaxError(y[r.err.kind]);
|
|
3114
3117
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3115
3118
|
}
|
|
3116
|
-
return t != null && t.captureLocation ||
|
|
3119
|
+
return t != null && t.captureLocation || je(r.val), r.val;
|
|
3117
3120
|
}
|
|
3118
|
-
var
|
|
3121
|
+
var q;
|
|
3119
3122
|
(function(e) {
|
|
3120
3123
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3121
|
-
})(
|
|
3122
|
-
var
|
|
3124
|
+
})(q || (q = {}));
|
|
3125
|
+
var ve = (
|
|
3123
3126
|
/** @class */
|
|
3124
3127
|
function(e) {
|
|
3125
3128
|
Ee(t, e);
|
|
3126
3129
|
function t(r, n, i) {
|
|
3127
|
-
var
|
|
3128
|
-
return
|
|
3130
|
+
var o = e.call(this, r) || this;
|
|
3131
|
+
return o.code = n, o.originalMessage = i, o;
|
|
3129
3132
|
}
|
|
3130
3133
|
return t.prototype.toString = function() {
|
|
3131
3134
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
@@ -3135,34 +3138,34 @@ var _e = (
|
|
|
3135
3138
|
/** @class */
|
|
3136
3139
|
function(e) {
|
|
3137
3140
|
Ee(t, e);
|
|
3138
|
-
function t(r, n, i,
|
|
3139
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3141
|
+
function t(r, n, i, o) {
|
|
3142
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), q.INVALID_VALUE, o) || this;
|
|
3140
3143
|
}
|
|
3141
3144
|
return t;
|
|
3142
|
-
}(
|
|
3145
|
+
}(ve)
|
|
3143
3146
|
), Sn = (
|
|
3144
3147
|
/** @class */
|
|
3145
3148
|
function(e) {
|
|
3146
3149
|
Ee(t, e);
|
|
3147
3150
|
function t(r, n, i) {
|
|
3148
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3151
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), q.INVALID_VALUE, i) || this;
|
|
3149
3152
|
}
|
|
3150
3153
|
return t;
|
|
3151
|
-
}(
|
|
3152
|
-
),
|
|
3154
|
+
}(ve)
|
|
3155
|
+
), wn = (
|
|
3153
3156
|
/** @class */
|
|
3154
3157
|
function(e) {
|
|
3155
3158
|
Ee(t, e);
|
|
3156
3159
|
function t(r, n) {
|
|
3157
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3160
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), q.MISSING_VALUE, n) || this;
|
|
3158
3161
|
}
|
|
3159
3162
|
return t;
|
|
3160
|
-
}(
|
|
3163
|
+
}(ve)
|
|
3161
3164
|
), w;
|
|
3162
3165
|
(function(e) {
|
|
3163
3166
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3164
3167
|
})(w || (w = {}));
|
|
3165
|
-
function
|
|
3168
|
+
function On(e) {
|
|
3166
3169
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3167
3170
|
var n = t[t.length - 1];
|
|
3168
3171
|
return !n || n.type !== w.literal || r.type !== w.literal ? t.push(r) : n.value += r.value, t;
|
|
@@ -3171,8 +3174,8 @@ function wn(e) {
|
|
|
3171
3174
|
function Pn(e) {
|
|
3172
3175
|
return typeof e == "function";
|
|
3173
3176
|
}
|
|
3174
|
-
function
|
|
3175
|
-
if (e.length === 1 &&
|
|
3177
|
+
function pe(e, t, r, n, i, o, s) {
|
|
3178
|
+
if (e.length === 1 && it(e[0]))
|
|
3176
3179
|
return [
|
|
3177
3180
|
{
|
|
3178
3181
|
type: w.literal,
|
|
@@ -3181,7 +3184,7 @@ function me(e, t, r, n, i, s, o) {
|
|
|
3181
3184
|
];
|
|
3182
3185
|
for (var u = [], h = 0, a = e; h < a.length; h++) {
|
|
3183
3186
|
var l = a[h];
|
|
3184
|
-
if (
|
|
3187
|
+
if (it(l)) {
|
|
3185
3188
|
u.push({
|
|
3186
3189
|
type: w.literal,
|
|
3187
3190
|
value: l.value
|
|
@@ -3189,97 +3192,97 @@ function me(e, t, r, n, i, s, o) {
|
|
|
3189
3192
|
continue;
|
|
3190
3193
|
}
|
|
3191
3194
|
if (Yr(l)) {
|
|
3192
|
-
typeof
|
|
3195
|
+
typeof o == "number" && u.push({
|
|
3193
3196
|
type: w.literal,
|
|
3194
|
-
value: r.getNumberFormat(t).format(
|
|
3197
|
+
value: r.getNumberFormat(t).format(o)
|
|
3195
3198
|
});
|
|
3196
3199
|
continue;
|
|
3197
3200
|
}
|
|
3198
|
-
var
|
|
3199
|
-
if (!(i &&
|
|
3200
|
-
throw new
|
|
3201
|
-
var
|
|
3201
|
+
var c = l.value;
|
|
3202
|
+
if (!(i && c in i))
|
|
3203
|
+
throw new wn(c, s);
|
|
3204
|
+
var f = i[c];
|
|
3202
3205
|
if (qr(l)) {
|
|
3203
|
-
(!
|
|
3204
|
-
type: typeof
|
|
3205
|
-
value:
|
|
3206
|
+
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), u.push({
|
|
3207
|
+
type: typeof f == "string" ? w.literal : w.object,
|
|
3208
|
+
value: f
|
|
3206
3209
|
});
|
|
3207
3210
|
continue;
|
|
3208
3211
|
}
|
|
3209
|
-
if (
|
|
3210
|
-
var p = typeof l.style == "string" ? n.date[l.style] :
|
|
3212
|
+
if (Pt(l)) {
|
|
3213
|
+
var p = typeof l.style == "string" ? n.date[l.style] : Re(l.style) ? l.style.parsedOptions : void 0;
|
|
3211
3214
|
u.push({
|
|
3212
3215
|
type: w.literal,
|
|
3213
|
-
value: r.getDateTimeFormat(t, p).format(
|
|
3216
|
+
value: r.getDateTimeFormat(t, p).format(f)
|
|
3214
3217
|
});
|
|
3215
3218
|
continue;
|
|
3216
3219
|
}
|
|
3217
|
-
if (
|
|
3218
|
-
var p = typeof l.style == "string" ? n.time[l.style] :
|
|
3220
|
+
if (Nt(l)) {
|
|
3221
|
+
var p = typeof l.style == "string" ? n.time[l.style] : Re(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
3219
3222
|
u.push({
|
|
3220
3223
|
type: w.literal,
|
|
3221
|
-
value: r.getDateTimeFormat(t, p).format(
|
|
3224
|
+
value: r.getDateTimeFormat(t, p).format(f)
|
|
3222
3225
|
});
|
|
3223
3226
|
continue;
|
|
3224
3227
|
}
|
|
3225
|
-
if (
|
|
3226
|
-
var p = typeof l.style == "string" ? n.number[l.style] :
|
|
3227
|
-
p && p.scale && (
|
|
3228
|
+
if (Ot(l)) {
|
|
3229
|
+
var p = typeof l.style == "string" ? n.number[l.style] : $t(l.style) ? l.style.parsedOptions : void 0;
|
|
3230
|
+
p && p.scale && (f = f * (p.scale || 1)), u.push({
|
|
3228
3231
|
type: w.literal,
|
|
3229
|
-
value: r.getNumberFormat(t, p).format(
|
|
3232
|
+
value: r.getNumberFormat(t, p).format(f)
|
|
3230
3233
|
});
|
|
3231
3234
|
continue;
|
|
3232
3235
|
}
|
|
3233
|
-
if (
|
|
3234
|
-
var d = l.children, g = l.value,
|
|
3235
|
-
if (!Pn(
|
|
3236
|
-
throw new Sn(g, "function",
|
|
3237
|
-
var m =
|
|
3238
|
-
return
|
|
3236
|
+
if (Mt(l)) {
|
|
3237
|
+
var d = l.children, g = l.value, E = i[g];
|
|
3238
|
+
if (!Pn(E))
|
|
3239
|
+
throw new Sn(g, "function", s);
|
|
3240
|
+
var m = pe(d, t, r, n, i, o), C = E(m.map(function(B) {
|
|
3241
|
+
return B.value;
|
|
3239
3242
|
}));
|
|
3240
|
-
Array.isArray(
|
|
3243
|
+
Array.isArray(C) || (C = [C]), u.push.apply(u, C.map(function(B) {
|
|
3241
3244
|
return {
|
|
3242
|
-
type: typeof
|
|
3243
|
-
value:
|
|
3245
|
+
type: typeof B == "string" ? w.literal : w.object,
|
|
3246
|
+
value: B
|
|
3244
3247
|
};
|
|
3245
3248
|
}));
|
|
3246
3249
|
}
|
|
3247
|
-
if (
|
|
3248
|
-
var
|
|
3249
|
-
if (!
|
|
3250
|
-
throw new ft(l.value,
|
|
3251
|
-
u.push.apply(u,
|
|
3250
|
+
if (Lt(l)) {
|
|
3251
|
+
var A = l.options[f] || l.options.other;
|
|
3252
|
+
if (!A)
|
|
3253
|
+
throw new ft(l.value, f, Object.keys(l.options), s);
|
|
3254
|
+
u.push.apply(u, pe(A.value, t, r, n, i));
|
|
3252
3255
|
continue;
|
|
3253
3256
|
}
|
|
3254
|
-
if (
|
|
3255
|
-
var
|
|
3256
|
-
if (!
|
|
3257
|
+
if (It(l)) {
|
|
3258
|
+
var A = l.options["=".concat(f)];
|
|
3259
|
+
if (!A) {
|
|
3257
3260
|
if (!Intl.PluralRules)
|
|
3258
|
-
throw new
|
|
3261
|
+
throw new ve(`Intl.PluralRules is not available in this environment.
|
|
3259
3262
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3260
|
-
`,
|
|
3261
|
-
var
|
|
3262
|
-
|
|
3263
|
+
`, q.MISSING_INTL_API, s);
|
|
3264
|
+
var O = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
|
|
3265
|
+
A = l.options[O] || l.options.other;
|
|
3263
3266
|
}
|
|
3264
|
-
if (!
|
|
3265
|
-
throw new ft(l.value,
|
|
3266
|
-
u.push.apply(u,
|
|
3267
|
+
if (!A)
|
|
3268
|
+
throw new ft(l.value, f, Object.keys(l.options), s);
|
|
3269
|
+
u.push.apply(u, pe(A.value, t, r, n, i, f - (l.offset || 0)));
|
|
3267
3270
|
continue;
|
|
3268
3271
|
}
|
|
3269
3272
|
}
|
|
3270
|
-
return
|
|
3273
|
+
return On(u);
|
|
3271
3274
|
}
|
|
3272
3275
|
function Nn(e, t) {
|
|
3273
|
-
return t ?
|
|
3274
|
-
return r[n] =
|
|
3276
|
+
return t ? x(x(x({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3277
|
+
return r[n] = x(x({}, e[n]), t[n] || {}), r;
|
|
3275
3278
|
}, {})) : e;
|
|
3276
3279
|
}
|
|
3277
3280
|
function Ln(e, t) {
|
|
3278
3281
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3279
3282
|
return r[n] = Nn(e[n], t[n]), r;
|
|
3280
|
-
},
|
|
3283
|
+
}, x({}, e)) : e;
|
|
3281
3284
|
}
|
|
3282
|
-
function
|
|
3285
|
+
function Pe(e) {
|
|
3283
3286
|
return {
|
|
3284
3287
|
create: function() {
|
|
3285
3288
|
return {
|
|
@@ -3299,29 +3302,29 @@ function In(e) {
|
|
|
3299
3302
|
dateTime: {},
|
|
3300
3303
|
pluralRules: {}
|
|
3301
3304
|
}), {
|
|
3302
|
-
getNumberFormat:
|
|
3305
|
+
getNumberFormat: Se(function() {
|
|
3303
3306
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3304
3307
|
r[n] = arguments[n];
|
|
3305
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3308
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Be([void 0], r, !1)))();
|
|
3306
3309
|
}, {
|
|
3307
|
-
cache:
|
|
3308
|
-
strategy:
|
|
3310
|
+
cache: Pe(e.number),
|
|
3311
|
+
strategy: we.variadic
|
|
3309
3312
|
}),
|
|
3310
|
-
getDateTimeFormat:
|
|
3313
|
+
getDateTimeFormat: Se(function() {
|
|
3311
3314
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3312
3315
|
r[n] = arguments[n];
|
|
3313
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3316
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Be([void 0], r, !1)))();
|
|
3314
3317
|
}, {
|
|
3315
|
-
cache:
|
|
3316
|
-
strategy:
|
|
3318
|
+
cache: Pe(e.dateTime),
|
|
3319
|
+
strategy: we.variadic
|
|
3317
3320
|
}),
|
|
3318
|
-
getPluralRules:
|
|
3321
|
+
getPluralRules: Se(function() {
|
|
3319
3322
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3320
3323
|
r[n] = arguments[n];
|
|
3321
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3324
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Be([void 0], r, !1)))();
|
|
3322
3325
|
}, {
|
|
3323
|
-
cache:
|
|
3324
|
-
strategy:
|
|
3326
|
+
cache: Pe(e.pluralRules),
|
|
3327
|
+
strategy: we.variadic
|
|
3325
3328
|
})
|
|
3326
3329
|
};
|
|
3327
3330
|
}
|
|
@@ -3330,35 +3333,35 @@ var Mn = (
|
|
|
3330
3333
|
function() {
|
|
3331
3334
|
function e(t, r, n, i) {
|
|
3332
3335
|
r === void 0 && (r = e.defaultLocale);
|
|
3333
|
-
var
|
|
3336
|
+
var o = this;
|
|
3334
3337
|
if (this.formatterCache = {
|
|
3335
3338
|
number: {},
|
|
3336
3339
|
dateTime: {},
|
|
3337
3340
|
pluralRules: {}
|
|
3338
3341
|
}, this.format = function(h) {
|
|
3339
|
-
var a =
|
|
3342
|
+
var a = o.formatToParts(h);
|
|
3340
3343
|
if (a.length === 1)
|
|
3341
3344
|
return a[0].value;
|
|
3342
|
-
var l = a.reduce(function(
|
|
3343
|
-
return !
|
|
3345
|
+
var l = a.reduce(function(c, f) {
|
|
3346
|
+
return !c.length || f.type !== w.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
|
|
3344
3347
|
}, []);
|
|
3345
3348
|
return l.length <= 1 ? l[0] || "" : l;
|
|
3346
3349
|
}, this.formatToParts = function(h) {
|
|
3347
|
-
return
|
|
3350
|
+
return pe(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
|
|
3348
3351
|
}, this.resolvedOptions = function() {
|
|
3349
3352
|
var h;
|
|
3350
3353
|
return {
|
|
3351
|
-
locale: ((h =
|
|
3354
|
+
locale: ((h = o.resolvedLocale) === null || h === void 0 ? void 0 : h.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
|
|
3352
3355
|
};
|
|
3353
3356
|
}, this.getAst = function() {
|
|
3354
|
-
return
|
|
3357
|
+
return o.ast;
|
|
3355
3358
|
}, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
|
|
3356
3359
|
if (this.message = t, !e.__parse)
|
|
3357
3360
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3358
|
-
var
|
|
3359
|
-
|
|
3360
|
-
var u =
|
|
3361
|
-
this.ast = e.__parse(t,
|
|
3361
|
+
var s = i || {};
|
|
3362
|
+
s.formatters;
|
|
3363
|
+
var u = kr(s, ["formatters"]);
|
|
3364
|
+
this.ast = e.__parse(t, x(x({}, u), { locale: this.resolvedLocale }));
|
|
3362
3365
|
} else
|
|
3363
3366
|
this.ast = t;
|
|
3364
3367
|
if (!Array.isArray(this.ast))
|
|
@@ -3447,9 +3450,9 @@ function $n(e, t) {
|
|
|
3447
3450
|
for (let i = 0; i < r.length; i++)
|
|
3448
3451
|
if (typeof n == "object") {
|
|
3449
3452
|
if (i > 0) {
|
|
3450
|
-
const
|
|
3451
|
-
if (
|
|
3452
|
-
n = n[
|
|
3453
|
+
const o = r.slice(i, r.length).join(".");
|
|
3454
|
+
if (o in n) {
|
|
3455
|
+
n = n[o];
|
|
3453
3456
|
break;
|
|
3454
3457
|
}
|
|
3455
3458
|
}
|
|
@@ -3458,28 +3461,28 @@ function $n(e, t) {
|
|
|
3458
3461
|
n = void 0;
|
|
3459
3462
|
return n;
|
|
3460
3463
|
}
|
|
3461
|
-
const
|
|
3464
|
+
const D = {}, Rn = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = r), r), Vt = (e, t) => {
|
|
3462
3465
|
if (t == null)
|
|
3463
3466
|
return;
|
|
3464
|
-
if (t in
|
|
3465
|
-
return
|
|
3466
|
-
const r =
|
|
3467
|
+
if (t in D && e in D[t])
|
|
3468
|
+
return D[t][e];
|
|
3469
|
+
const r = Te(t);
|
|
3467
3470
|
for (let n = 0; n < r.length; n++) {
|
|
3468
|
-
const i = r[n],
|
|
3469
|
-
if (
|
|
3470
|
-
return Rn(e, t,
|
|
3471
|
+
const i = r[n], o = Gn(i, e);
|
|
3472
|
+
if (o)
|
|
3473
|
+
return Rn(e, t, o);
|
|
3471
3474
|
}
|
|
3472
3475
|
};
|
|
3473
|
-
let
|
|
3474
|
-
const
|
|
3476
|
+
let ze;
|
|
3477
|
+
const he = xe({});
|
|
3475
3478
|
function Un(e) {
|
|
3476
|
-
return
|
|
3479
|
+
return ze[e] || null;
|
|
3477
3480
|
}
|
|
3478
|
-
function
|
|
3479
|
-
return e in
|
|
3481
|
+
function Xt(e) {
|
|
3482
|
+
return e in ze;
|
|
3480
3483
|
}
|
|
3481
3484
|
function Gn(e, t) {
|
|
3482
|
-
if (!
|
|
3485
|
+
if (!Xt(e))
|
|
3483
3486
|
return null;
|
|
3484
3487
|
const r = Un(e);
|
|
3485
3488
|
return $n(r, t);
|
|
@@ -3487,61 +3490,61 @@ function Gn(e, t) {
|
|
|
3487
3490
|
function Dn(e) {
|
|
3488
3491
|
if (e == null)
|
|
3489
3492
|
return;
|
|
3490
|
-
const t =
|
|
3493
|
+
const t = Te(e);
|
|
3491
3494
|
for (let r = 0; r < t.length; r++) {
|
|
3492
3495
|
const n = t[r];
|
|
3493
|
-
if (
|
|
3496
|
+
if (Xt(n))
|
|
3494
3497
|
return n;
|
|
3495
3498
|
}
|
|
3496
3499
|
}
|
|
3497
|
-
function
|
|
3498
|
-
delete
|
|
3500
|
+
function zt(e, ...t) {
|
|
3501
|
+
delete D[e], he.update((r) => (r[e] = jr.all([r[e] || {}, ...t]), r));
|
|
3499
3502
|
}
|
|
3500
|
-
|
|
3501
|
-
[
|
|
3503
|
+
ee(
|
|
3504
|
+
[he],
|
|
3502
3505
|
([e]) => Object.keys(e)
|
|
3503
3506
|
);
|
|
3504
|
-
|
|
3505
|
-
const
|
|
3507
|
+
he.subscribe((e) => ze = e);
|
|
3508
|
+
const de = {};
|
|
3506
3509
|
function Fn(e, t) {
|
|
3507
|
-
|
|
3510
|
+
de[e].delete(t), de[e].size === 0 && delete de[e];
|
|
3508
3511
|
}
|
|
3509
|
-
function
|
|
3510
|
-
return
|
|
3512
|
+
function Wt(e) {
|
|
3513
|
+
return de[e];
|
|
3511
3514
|
}
|
|
3512
3515
|
function jn(e) {
|
|
3513
|
-
return
|
|
3514
|
-
const r =
|
|
3516
|
+
return Te(e).map((t) => {
|
|
3517
|
+
const r = Wt(t);
|
|
3515
3518
|
return [t, r ? [...r] : []];
|
|
3516
3519
|
}).filter(([, t]) => t.length > 0);
|
|
3517
3520
|
}
|
|
3518
|
-
function
|
|
3519
|
-
return e == null ? !1 :
|
|
3521
|
+
function ke(e) {
|
|
3522
|
+
return e == null ? !1 : Te(e).some(
|
|
3520
3523
|
(t) => {
|
|
3521
3524
|
var r;
|
|
3522
|
-
return (r =
|
|
3525
|
+
return (r = Wt(t)) == null ? void 0 : r.size;
|
|
3523
3526
|
}
|
|
3524
3527
|
);
|
|
3525
3528
|
}
|
|
3526
3529
|
function kn(e, t) {
|
|
3527
3530
|
return Promise.all(
|
|
3528
3531
|
t.map((n) => (Fn(e, n), n().then((i) => i.default || i)))
|
|
3529
|
-
).then((n) =>
|
|
3532
|
+
).then((n) => zt(e, ...n));
|
|
3530
3533
|
}
|
|
3531
|
-
const
|
|
3532
|
-
function
|
|
3533
|
-
if (!
|
|
3534
|
-
return e in
|
|
3534
|
+
const ne = {};
|
|
3535
|
+
function Zt(e) {
|
|
3536
|
+
if (!ke(e))
|
|
3537
|
+
return e in ne ? ne[e] : Promise.resolve();
|
|
3535
3538
|
const t = jn(e);
|
|
3536
|
-
return
|
|
3539
|
+
return ne[e] = Promise.all(
|
|
3537
3540
|
t.map(
|
|
3538
3541
|
([r, n]) => kn(r, n)
|
|
3539
3542
|
)
|
|
3540
3543
|
).then(() => {
|
|
3541
|
-
if (
|
|
3542
|
-
return
|
|
3543
|
-
delete
|
|
3544
|
-
}),
|
|
3544
|
+
if (ke(e))
|
|
3545
|
+
return Zt(e);
|
|
3546
|
+
delete ne[e];
|
|
3547
|
+
}), ne[e];
|
|
3545
3548
|
}
|
|
3546
3549
|
const Vn = {
|
|
3547
3550
|
number: {
|
|
@@ -3580,170 +3583,170 @@ const Vn = {
|
|
|
3580
3583
|
handleMissingMessage: void 0,
|
|
3581
3584
|
ignoreTag: !0
|
|
3582
3585
|
}, zn = Xn;
|
|
3583
|
-
function
|
|
3586
|
+
function Y() {
|
|
3584
3587
|
return zn;
|
|
3585
3588
|
}
|
|
3586
|
-
const
|
|
3587
|
-
var Wn = Object.defineProperty, Zn = Object.defineProperties, Qn = Object.getOwnPropertyDescriptors,
|
|
3589
|
+
const Ne = xe(!1);
|
|
3590
|
+
var Wn = Object.defineProperty, Zn = Object.defineProperties, Qn = Object.getOwnPropertyDescriptors, ct = Object.getOwnPropertySymbols, Jn = Object.prototype.hasOwnProperty, qn = Object.prototype.propertyIsEnumerable, gt = (e, t, r) => t in e ? Wn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Yn = (e, t) => {
|
|
3588
3591
|
for (var r in t || (t = {}))
|
|
3589
|
-
Jn.call(t, r) &&
|
|
3590
|
-
if (
|
|
3591
|
-
for (var r of
|
|
3592
|
-
qn.call(t, r) &&
|
|
3592
|
+
Jn.call(t, r) && gt(e, r, t[r]);
|
|
3593
|
+
if (ct)
|
|
3594
|
+
for (var r of ct(t))
|
|
3595
|
+
qn.call(t, r) && gt(e, r, t[r]);
|
|
3593
3596
|
return e;
|
|
3594
3597
|
}, Kn = (e, t) => Zn(e, Qn(t));
|
|
3595
|
-
let
|
|
3596
|
-
const
|
|
3597
|
-
function
|
|
3598
|
+
let Ve;
|
|
3599
|
+
const ye = xe(null);
|
|
3600
|
+
function mt(e) {
|
|
3598
3601
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
3599
3602
|
}
|
|
3600
|
-
function
|
|
3601
|
-
const r =
|
|
3602
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
3603
|
+
function Te(e, t = Y().fallbackLocale) {
|
|
3604
|
+
const r = mt(e);
|
|
3605
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...mt(t)])] : r;
|
|
3603
3606
|
}
|
|
3604
|
-
function
|
|
3605
|
-
return
|
|
3607
|
+
function V() {
|
|
3608
|
+
return Ve != null ? Ve : void 0;
|
|
3606
3609
|
}
|
|
3607
|
-
|
|
3608
|
-
|
|
3610
|
+
ye.subscribe((e) => {
|
|
3611
|
+
Ve = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3609
3612
|
});
|
|
3610
3613
|
const ei = (e) => {
|
|
3611
|
-
if (e && Dn(e) &&
|
|
3612
|
-
const { loadingDelay: t } =
|
|
3614
|
+
if (e && Dn(e) && ke(e)) {
|
|
3615
|
+
const { loadingDelay: t } = Y();
|
|
3613
3616
|
let r;
|
|
3614
|
-
return typeof window != "undefined" &&
|
|
3615
|
-
() =>
|
|
3617
|
+
return typeof window != "undefined" && V() != null && t ? r = window.setTimeout(
|
|
3618
|
+
() => Ne.set(!0),
|
|
3616
3619
|
t
|
|
3617
|
-
) :
|
|
3618
|
-
|
|
3620
|
+
) : Ne.set(!0), Zt(e).then(() => {
|
|
3621
|
+
ye.set(e);
|
|
3619
3622
|
}).finally(() => {
|
|
3620
|
-
clearTimeout(r),
|
|
3623
|
+
clearTimeout(r), Ne.set(!1);
|
|
3621
3624
|
});
|
|
3622
3625
|
}
|
|
3623
|
-
return
|
|
3624
|
-
},
|
|
3626
|
+
return ye.set(e);
|
|
3627
|
+
}, te = Kn(Yn({}, ye), {
|
|
3625
3628
|
set: ei
|
|
3626
|
-
}),
|
|
3629
|
+
}), Ce = (e) => {
|
|
3627
3630
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3628
3631
|
return (n) => {
|
|
3629
3632
|
const i = JSON.stringify(n);
|
|
3630
3633
|
return i in t ? t[i] : t[i] = e(n);
|
|
3631
3634
|
};
|
|
3632
3635
|
};
|
|
3633
|
-
var ti = Object.defineProperty,
|
|
3636
|
+
var ti = Object.defineProperty, _e = Object.getOwnPropertySymbols, Qt = Object.prototype.hasOwnProperty, Jt = Object.prototype.propertyIsEnumerable, pt = (e, t, r) => t in e ? ti(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, We = (e, t) => {
|
|
3634
3637
|
for (var r in t || (t = {}))
|
|
3635
|
-
|
|
3636
|
-
if (
|
|
3637
|
-
for (var r of
|
|
3638
|
-
|
|
3638
|
+
Qt.call(t, r) && pt(e, r, t[r]);
|
|
3639
|
+
if (_e)
|
|
3640
|
+
for (var r of _e(t))
|
|
3641
|
+
Jt.call(t, r) && pt(e, r, t[r]);
|
|
3639
3642
|
return e;
|
|
3640
|
-
},
|
|
3643
|
+
}, re = (e, t) => {
|
|
3641
3644
|
var r = {};
|
|
3642
3645
|
for (var n in e)
|
|
3643
|
-
|
|
3644
|
-
if (e != null &&
|
|
3645
|
-
for (var n of
|
|
3646
|
-
t.indexOf(n) < 0 &&
|
|
3646
|
+
Qt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
3647
|
+
if (e != null && _e)
|
|
3648
|
+
for (var n of _e(e))
|
|
3649
|
+
t.indexOf(n) < 0 && Jt.call(e, n) && (r[n] = e[n]);
|
|
3647
3650
|
return r;
|
|
3648
3651
|
};
|
|
3649
|
-
const
|
|
3650
|
-
const { formats: r } =
|
|
3652
|
+
const ae = (e, t) => {
|
|
3653
|
+
const { formats: r } = Y();
|
|
3651
3654
|
if (e in r && t in r[e])
|
|
3652
3655
|
return r[e][t];
|
|
3653
3656
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3654
|
-
}, ri =
|
|
3657
|
+
}, ri = Ce(
|
|
3655
3658
|
(e) => {
|
|
3656
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
3659
|
+
var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
|
|
3657
3660
|
if (r == null)
|
|
3658
3661
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3659
|
-
return n && (i =
|
|
3662
|
+
return n && (i = ae("number", n)), new Intl.NumberFormat(r, i);
|
|
3660
3663
|
}
|
|
3661
|
-
), ni =
|
|
3664
|
+
), ni = Ce(
|
|
3662
3665
|
(e) => {
|
|
3663
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
3666
|
+
var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
|
|
3664
3667
|
if (r == null)
|
|
3665
3668
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3666
|
-
return n ? i =
|
|
3669
|
+
return n ? i = ae("date", n) : Object.keys(i).length === 0 && (i = ae("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
3667
3670
|
}
|
|
3668
|
-
), ii =
|
|
3671
|
+
), ii = Ce(
|
|
3669
3672
|
(e) => {
|
|
3670
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
3673
|
+
var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
|
|
3671
3674
|
if (r == null)
|
|
3672
3675
|
throw new Error(
|
|
3673
3676
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
3674
3677
|
);
|
|
3675
|
-
return n ? i =
|
|
3678
|
+
return n ? i = ae("time", n) : Object.keys(i).length === 0 && (i = ae("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
3676
3679
|
}
|
|
3677
|
-
),
|
|
3680
|
+
), oi = (e = {}) => {
|
|
3678
3681
|
var t = e, {
|
|
3679
|
-
locale: r =
|
|
3680
|
-
} = t, n =
|
|
3682
|
+
locale: r = V()
|
|
3683
|
+
} = t, n = re(t, [
|
|
3681
3684
|
"locale"
|
|
3682
3685
|
]);
|
|
3683
|
-
return ri(
|
|
3684
|
-
},
|
|
3686
|
+
return ri(We({ locale: r }, n));
|
|
3687
|
+
}, si = (e = {}) => {
|
|
3685
3688
|
var t = e, {
|
|
3686
|
-
locale: r =
|
|
3687
|
-
} = t, n =
|
|
3689
|
+
locale: r = V()
|
|
3690
|
+
} = t, n = re(t, [
|
|
3688
3691
|
"locale"
|
|
3689
3692
|
]);
|
|
3690
|
-
return ni(
|
|
3693
|
+
return ni(We({ locale: r }, n));
|
|
3691
3694
|
}, ai = (e = {}) => {
|
|
3692
3695
|
var t = e, {
|
|
3693
|
-
locale: r =
|
|
3694
|
-
} = t, n =
|
|
3696
|
+
locale: r = V()
|
|
3697
|
+
} = t, n = re(t, [
|
|
3695
3698
|
"locale"
|
|
3696
3699
|
]);
|
|
3697
|
-
return ii(
|
|
3698
|
-
}, ui =
|
|
3700
|
+
return ii(We({ locale: r }, n));
|
|
3701
|
+
}, ui = Ce(
|
|
3699
3702
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3700
|
-
(e, t =
|
|
3701
|
-
ignoreTag:
|
|
3703
|
+
(e, t = V()) => new Mn(e, t, Y().formats, {
|
|
3704
|
+
ignoreTag: Y().ignoreTag
|
|
3702
3705
|
})
|
|
3703
3706
|
), hi = (e, t = {}) => {
|
|
3704
|
-
var r, n, i,
|
|
3705
|
-
let
|
|
3706
|
-
typeof e == "object" && (
|
|
3707
|
+
var r, n, i, o;
|
|
3708
|
+
let s = t;
|
|
3709
|
+
typeof e == "object" && (s = e, e = s.id);
|
|
3707
3710
|
const {
|
|
3708
3711
|
values: u,
|
|
3709
|
-
locale: h =
|
|
3712
|
+
locale: h = V(),
|
|
3710
3713
|
default: a
|
|
3711
|
-
} =
|
|
3714
|
+
} = s;
|
|
3712
3715
|
if (h == null)
|
|
3713
3716
|
throw new Error(
|
|
3714
3717
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3715
3718
|
);
|
|
3716
|
-
let l =
|
|
3719
|
+
let l = Vt(e, h);
|
|
3717
3720
|
if (!l)
|
|
3718
|
-
l = (
|
|
3721
|
+
l = (o = (i = (n = (r = Y()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: a })) != null ? i : a) != null ? o : e;
|
|
3719
3722
|
else if (typeof l != "string")
|
|
3720
3723
|
return console.warn(
|
|
3721
3724
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
3722
3725
|
), l;
|
|
3723
3726
|
if (!u)
|
|
3724
3727
|
return l;
|
|
3725
|
-
let
|
|
3728
|
+
let c = l;
|
|
3726
3729
|
try {
|
|
3727
|
-
|
|
3728
|
-
} catch (
|
|
3729
|
-
|
|
3730
|
+
c = ui(l, h).format(u);
|
|
3731
|
+
} catch (f) {
|
|
3732
|
+
f instanceof Error && console.warn(
|
|
3730
3733
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
3731
|
-
|
|
3734
|
+
f.message
|
|
3732
3735
|
);
|
|
3733
3736
|
}
|
|
3734
|
-
return
|
|
3735
|
-
}, li = (e, t) => ai(t).format(e),
|
|
3736
|
-
|
|
3737
|
-
|
|
3738
|
-
|
|
3739
|
-
|
|
3740
|
-
function
|
|
3741
|
-
|
|
3737
|
+
return c;
|
|
3738
|
+
}, li = (e, t) => ai(t).format(e), fi = (e, t) => si(t).format(e), ci = (e, t) => oi(t).format(e), gi = (e, t = V()) => Vt(e, t), mi = ee([te, he], () => hi);
|
|
3739
|
+
ee([te], () => li);
|
|
3740
|
+
ee([te], () => fi);
|
|
3741
|
+
ee([te], () => ci);
|
|
3742
|
+
ee([te, he], () => gi);
|
|
3743
|
+
function dt(e, t) {
|
|
3744
|
+
zt(e, t);
|
|
3742
3745
|
}
|
|
3743
3746
|
function pi(e) {
|
|
3744
|
-
|
|
3747
|
+
te.set(e);
|
|
3745
3748
|
}
|
|
3746
|
-
const
|
|
3749
|
+
const bt = {
|
|
3747
3750
|
en: {
|
|
3748
3751
|
topCategories: "Top Categories",
|
|
3749
3752
|
otherCategories: "Other Categories",
|
|
@@ -3876,75 +3879,75 @@ function yi(e, t, r) {
|
|
|
3876
3879
|
});
|
|
3877
3880
|
}
|
|
3878
3881
|
}
|
|
3879
|
-
function
|
|
3880
|
-
|
|
3882
|
+
function _i(e) {
|
|
3883
|
+
sr(e, "svelte-2l182v", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.CasinoCategories{display:flex;flex-direction:column;gap:1rem;padding:10px 60px}.CategoryTitle{font-weight:500;position:relative;right:30px;margin:10px 0;font-size:18px;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.Category{border-radius:7px;display:flex;align-items:center;gap:16px;max-width:300px}.Category.Active{box-shadow:15px 15px 30px var(--emw--color-gray-100, #E6E6E6)}.CategoryTextContainer{display:flex;flex-direction:column;justify-content:center;gap:10px;font-size:15px;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.CategoryTextContainer p:first-child{font-weight:600;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.CategoryTextContainer p:last-child{color:var(--emw--color-gray-150, #828282);font-weight:300}.CategoryImage{border-radius:4px;object-fit:cover;height:64px;width:64px;font-weight:100}.Message{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);font-weight:600}");
|
|
3881
3884
|
}
|
|
3882
|
-
function
|
|
3885
|
+
function yt(e, t, r) {
|
|
3883
3886
|
const n = e.slice();
|
|
3884
3887
|
return n[23] = t[r], n;
|
|
3885
3888
|
}
|
|
3886
|
-
function
|
|
3889
|
+
function _t(e, t, r) {
|
|
3887
3890
|
const n = e.slice();
|
|
3888
3891
|
return n[23] = t[r], n;
|
|
3889
3892
|
}
|
|
3890
|
-
function
|
|
3893
|
+
function xi(e) {
|
|
3891
3894
|
let t, r, n = (
|
|
3892
3895
|
/*$_*/
|
|
3893
3896
|
e[5]("topCategories") + ""
|
|
3894
|
-
), i,
|
|
3897
|
+
), i, o, s, u, h = (
|
|
3895
3898
|
/*$_*/
|
|
3896
3899
|
e[5]("otherCategories") + ""
|
|
3897
|
-
), a, l,
|
|
3900
|
+
), a, l, c = ce(
|
|
3898
3901
|
/*topCategories*/
|
|
3899
3902
|
e[3]
|
|
3900
|
-
),
|
|
3901
|
-
for (let g = 0; g <
|
|
3902
|
-
|
|
3903
|
+
), f = [];
|
|
3904
|
+
for (let g = 0; g < c.length; g += 1)
|
|
3905
|
+
f[g] = xt(_t(e, c, g));
|
|
3903
3906
|
let p = ce(
|
|
3904
3907
|
/*otherCategories*/
|
|
3905
3908
|
e[4]
|
|
3906
3909
|
), d = [];
|
|
3907
3910
|
for (let g = 0; g < p.length; g += 1)
|
|
3908
|
-
d[g] =
|
|
3911
|
+
d[g] = Et(yt(e, p, g));
|
|
3909
3912
|
return {
|
|
3910
3913
|
c() {
|
|
3911
|
-
t =
|
|
3912
|
-
for (let g = 0; g <
|
|
3913
|
-
|
|
3914
|
-
|
|
3914
|
+
t = S("div"), r = S("h4"), i = G(n), o = U();
|
|
3915
|
+
for (let g = 0; g < f.length; g += 1)
|
|
3916
|
+
f[g].c();
|
|
3917
|
+
s = U(), u = S("h4"), a = G(h), l = U();
|
|
3915
3918
|
for (let g = 0; g < d.length; g += 1)
|
|
3916
3919
|
d[g].c();
|
|
3917
|
-
|
|
3920
|
+
I(r, "class", "CategoryTitle"), I(u, "class", "CategoryTitle"), I(t, "class", "CasinoCategories");
|
|
3918
3921
|
},
|
|
3919
|
-
m(g,
|
|
3920
|
-
|
|
3921
|
-
for (let m = 0; m <
|
|
3922
|
-
|
|
3923
|
-
v(t,
|
|
3922
|
+
m(g, E) {
|
|
3923
|
+
K(g, t, E), v(t, r), v(r, i), v(t, o);
|
|
3924
|
+
for (let m = 0; m < f.length; m += 1)
|
|
3925
|
+
f[m] && f[m].m(t, null);
|
|
3926
|
+
v(t, s), v(t, u), v(u, a), v(t, l);
|
|
3924
3927
|
for (let m = 0; m < d.length; m += 1)
|
|
3925
3928
|
d[m] && d[m].m(t, null);
|
|
3926
3929
|
},
|
|
3927
|
-
p(g,
|
|
3928
|
-
if (
|
|
3930
|
+
p(g, E) {
|
|
3931
|
+
if (E & /*$_*/
|
|
3929
3932
|
32 && n !== (n = /*$_*/
|
|
3930
|
-
g[5]("topCategories") + "") &&
|
|
3933
|
+
g[5]("topCategories") + "") && F(i, n), E & /*activecategory, topCategories, openGameCategory, $_*/
|
|
3931
3934
|
105) {
|
|
3932
|
-
|
|
3935
|
+
c = ce(
|
|
3933
3936
|
/*topCategories*/
|
|
3934
3937
|
g[3]
|
|
3935
3938
|
);
|
|
3936
3939
|
let m;
|
|
3937
|
-
for (m = 0; m <
|
|
3938
|
-
const
|
|
3939
|
-
|
|
3940
|
+
for (m = 0; m < c.length; m += 1) {
|
|
3941
|
+
const C = _t(g, c, m);
|
|
3942
|
+
f[m] ? f[m].p(C, E) : (f[m] = xt(C), f[m].c(), f[m].m(t, s));
|
|
3940
3943
|
}
|
|
3941
|
-
for (; m <
|
|
3942
|
-
|
|
3943
|
-
|
|
3944
|
+
for (; m < f.length; m += 1)
|
|
3945
|
+
f[m].d(1);
|
|
3946
|
+
f.length = c.length;
|
|
3944
3947
|
}
|
|
3945
|
-
if (
|
|
3948
|
+
if (E & /*$_*/
|
|
3946
3949
|
32 && h !== (h = /*$_*/
|
|
3947
|
-
g[5]("otherCategories") + "") &&
|
|
3950
|
+
g[5]("otherCategories") + "") && F(a, h), E & /*activecategory, otherCategories, openGameCategory, $_*/
|
|
3948
3951
|
113) {
|
|
3949
3952
|
p = ce(
|
|
3950
3953
|
/*otherCategories*/
|
|
@@ -3952,8 +3955,8 @@ function Ei(e) {
|
|
|
3952
3955
|
);
|
|
3953
3956
|
let m;
|
|
3954
3957
|
for (m = 0; m < p.length; m += 1) {
|
|
3955
|
-
const
|
|
3956
|
-
d[m] ? d[m].p(
|
|
3958
|
+
const C = yt(g, p, m);
|
|
3959
|
+
d[m] ? d[m].p(C, E) : (d[m] = Et(C), d[m].c(), d[m].m(t, null));
|
|
3957
3960
|
}
|
|
3958
3961
|
for (; m < d.length; m += 1)
|
|
3959
3962
|
d[m].d(1);
|
|
@@ -3961,37 +3964,37 @@ function Ei(e) {
|
|
|
3961
3964
|
}
|
|
3962
3965
|
},
|
|
3963
3966
|
d(g) {
|
|
3964
|
-
g &&
|
|
3967
|
+
g && k(t), tt(f, g), tt(d, g);
|
|
3965
3968
|
}
|
|
3966
3969
|
};
|
|
3967
3970
|
}
|
|
3968
|
-
function
|
|
3971
|
+
function Ei(e) {
|
|
3969
3972
|
let t;
|
|
3970
3973
|
return {
|
|
3971
3974
|
c() {
|
|
3972
|
-
t =
|
|
3975
|
+
t = S("p"), t.textContent = "Loading, please wait...", I(t, "class", "Message");
|
|
3973
3976
|
},
|
|
3974
3977
|
m(r, n) {
|
|
3975
|
-
|
|
3978
|
+
K(r, t, n);
|
|
3976
3979
|
},
|
|
3977
|
-
p:
|
|
3980
|
+
p: L,
|
|
3978
3981
|
d(r) {
|
|
3979
|
-
r &&
|
|
3982
|
+
r && k(t);
|
|
3980
3983
|
}
|
|
3981
3984
|
};
|
|
3982
3985
|
}
|
|
3983
|
-
function
|
|
3984
|
-
let t, r, n, i,
|
|
3986
|
+
function xt(e) {
|
|
3987
|
+
let t, r, n, i, o, s, u, h = (
|
|
3985
3988
|
/*category*/
|
|
3986
3989
|
e[23].name + ""
|
|
3987
|
-
), a, l,
|
|
3990
|
+
), a, l, c, f = (
|
|
3988
3991
|
/*category*/
|
|
3989
3992
|
e[23].games.count + ""
|
|
3990
3993
|
), p, d, g = (
|
|
3991
3994
|
/*$_*/
|
|
3992
3995
|
e[5]("games") + ""
|
|
3993
|
-
),
|
|
3994
|
-
function
|
|
3996
|
+
), E, m, C, A;
|
|
3997
|
+
function O() {
|
|
3995
3998
|
return (
|
|
3996
3999
|
/*click_handler*/
|
|
3997
4000
|
e[15](
|
|
@@ -4002,48 +4005,48 @@ function _t(e) {
|
|
|
4002
4005
|
}
|
|
4003
4006
|
return {
|
|
4004
4007
|
c() {
|
|
4005
|
-
t =
|
|
4006
|
-
e[23].icon) ||
|
|
4007
|
-
e[23].name),
|
|
4008
|
+
t = S("div"), r = S("ui-image"), o = U(), s = S("div"), u = S("p"), a = G(h), l = U(), c = S("p"), p = G(f), d = U(), E = G(g), be(r.src, n = /*category*/
|
|
4009
|
+
e[23].icon) || R(r, "src", n), R(r, "alt", i = /*category*/
|
|
4010
|
+
e[23].name), R(r, "imgClass", "CategoryImage"), I(s, "class", "CategoryTextContainer"), I(t, "class", m = "Category " + /*activecategory*/
|
|
4008
4011
|
(e[0] === /*category*/
|
|
4009
4012
|
e[23].id ? "Active" : ""));
|
|
4010
4013
|
},
|
|
4011
|
-
m(
|
|
4012
|
-
|
|
4014
|
+
m(B, H) {
|
|
4015
|
+
K(B, t, H), v(t, r), v(t, o), v(t, s), v(s, u), v(u, a), v(s, l), v(s, c), v(c, p), v(c, d), v(c, E), C || (A = Ht(t, "click", O), C = !0);
|
|
4013
4016
|
},
|
|
4014
|
-
p(
|
|
4015
|
-
e =
|
|
4016
|
-
8 && !
|
|
4017
|
-
e[23].icon) &&
|
|
4017
|
+
p(B, H) {
|
|
4018
|
+
e = B, H & /*topCategories*/
|
|
4019
|
+
8 && !be(r.src, n = /*category*/
|
|
4020
|
+
e[23].icon) && R(r, "src", n), H & /*topCategories*/
|
|
4018
4021
|
8 && i !== (i = /*category*/
|
|
4019
|
-
e[23].name) &&
|
|
4022
|
+
e[23].name) && R(r, "alt", i), H & /*topCategories*/
|
|
4020
4023
|
8 && h !== (h = /*category*/
|
|
4021
|
-
e[23].name + "") &&
|
|
4022
|
-
8 &&
|
|
4023
|
-
e[23].games.count + "") &&
|
|
4024
|
+
e[23].name + "") && F(a, h), H & /*topCategories*/
|
|
4025
|
+
8 && f !== (f = /*category*/
|
|
4026
|
+
e[23].games.count + "") && F(p, f), H & /*$_*/
|
|
4024
4027
|
32 && g !== (g = /*$_*/
|
|
4025
|
-
e[5]("games") + "") &&
|
|
4028
|
+
e[5]("games") + "") && F(E, g), H & /*activecategory, topCategories*/
|
|
4026
4029
|
9 && m !== (m = "Category " + /*activecategory*/
|
|
4027
4030
|
(e[0] === /*category*/
|
|
4028
|
-
e[23].id ? "Active" : "")) &&
|
|
4031
|
+
e[23].id ? "Active" : "")) && I(t, "class", m);
|
|
4029
4032
|
},
|
|
4030
|
-
d(
|
|
4031
|
-
|
|
4033
|
+
d(B) {
|
|
4034
|
+
B && k(t), C = !1, A();
|
|
4032
4035
|
}
|
|
4033
4036
|
};
|
|
4034
4037
|
}
|
|
4035
|
-
function
|
|
4036
|
-
let t, r, n, i,
|
|
4038
|
+
function Et(e) {
|
|
4039
|
+
let t, r, n, i, o, s, u, h = (
|
|
4037
4040
|
/*category*/
|
|
4038
4041
|
e[23].name + ""
|
|
4039
|
-
), a, l,
|
|
4042
|
+
), a, l, c, f = (
|
|
4040
4043
|
/*category*/
|
|
4041
4044
|
e[23].games.count + ""
|
|
4042
4045
|
), p, d, g = (
|
|
4043
4046
|
/*$_*/
|
|
4044
4047
|
e[5]("games") + ""
|
|
4045
|
-
),
|
|
4046
|
-
function
|
|
4048
|
+
), E, m, C, A, O;
|
|
4049
|
+
function B() {
|
|
4047
4050
|
return (
|
|
4048
4051
|
/*click_handler_1*/
|
|
4049
4052
|
e[16](
|
|
@@ -4054,144 +4057,144 @@ function vt(e) {
|
|
|
4054
4057
|
}
|
|
4055
4058
|
return {
|
|
4056
4059
|
c() {
|
|
4057
|
-
t =
|
|
4058
|
-
e[23].icon) ||
|
|
4059
|
-
e[23].name),
|
|
4060
|
+
t = S("div"), r = S("ui-image"), o = U(), s = S("div"), u = S("p"), a = G(h), l = U(), c = S("p"), p = G(f), d = U(), E = G(g), m = U(), be(r.src, n = /*category*/
|
|
4061
|
+
e[23].icon) || R(r, "src", n), R(r, "alt", i = /*category*/
|
|
4062
|
+
e[23].name), R(r, "imgClass", "CategoryImage"), I(s, "class", "CategoryTextContainer"), I(t, "class", C = "Category " + /*activecategory*/
|
|
4060
4063
|
(e[0] === /*category*/
|
|
4061
4064
|
e[23].id ? "Active" : ""));
|
|
4062
4065
|
},
|
|
4063
|
-
m(
|
|
4064
|
-
|
|
4066
|
+
m(H, P) {
|
|
4067
|
+
K(H, t, P), v(t, r), v(t, o), v(t, s), v(s, u), v(u, a), v(s, l), v(s, c), v(c, p), v(c, d), v(c, E), v(t, m), A || (O = Ht(t, "click", B), A = !0);
|
|
4065
4068
|
},
|
|
4066
|
-
p(
|
|
4067
|
-
e =
|
|
4068
|
-
16 && !
|
|
4069
|
-
e[23].icon) &&
|
|
4069
|
+
p(H, P) {
|
|
4070
|
+
e = H, P & /*otherCategories*/
|
|
4071
|
+
16 && !be(r.src, n = /*category*/
|
|
4072
|
+
e[23].icon) && R(r, "src", n), P & /*otherCategories*/
|
|
4070
4073
|
16 && i !== (i = /*category*/
|
|
4071
|
-
e[23].name) &&
|
|
4074
|
+
e[23].name) && R(r, "alt", i), P & /*otherCategories*/
|
|
4072
4075
|
16 && h !== (h = /*category*/
|
|
4073
|
-
e[23].name + "") &&
|
|
4074
|
-
16 &&
|
|
4075
|
-
e[23].games.count + "") &&
|
|
4076
|
+
e[23].name + "") && F(a, h), P & /*otherCategories*/
|
|
4077
|
+
16 && f !== (f = /*category*/
|
|
4078
|
+
e[23].games.count + "") && F(p, f), P & /*$_*/
|
|
4076
4079
|
32 && g !== (g = /*$_*/
|
|
4077
|
-
e[5]("games") + "") &&
|
|
4078
|
-
17 &&
|
|
4080
|
+
e[5]("games") + "") && F(E, g), P & /*activecategory, otherCategories*/
|
|
4081
|
+
17 && C !== (C = "Category " + /*activecategory*/
|
|
4079
4082
|
(e[0] === /*category*/
|
|
4080
|
-
e[23].id ? "Active" : "")) &&
|
|
4083
|
+
e[23].id ? "Active" : "")) && I(t, "class", C);
|
|
4081
4084
|
},
|
|
4082
|
-
d(
|
|
4083
|
-
|
|
4085
|
+
d(H) {
|
|
4086
|
+
H && k(t), A = !1, O();
|
|
4084
4087
|
}
|
|
4085
4088
|
};
|
|
4086
4089
|
}
|
|
4087
4090
|
function vi(e) {
|
|
4088
4091
|
let t;
|
|
4089
|
-
function r(
|
|
4092
|
+
function r(o, s) {
|
|
4090
4093
|
return (
|
|
4091
4094
|
/*isLoading*/
|
|
4092
|
-
|
|
4095
|
+
o[2] ? Ei : xi
|
|
4093
4096
|
);
|
|
4094
4097
|
}
|
|
4095
4098
|
let n = r(e), i = n(e);
|
|
4096
4099
|
return {
|
|
4097
4100
|
c() {
|
|
4098
|
-
t =
|
|
4101
|
+
t = S("div"), i.c();
|
|
4099
4102
|
},
|
|
4100
|
-
m(
|
|
4101
|
-
|
|
4103
|
+
m(o, s) {
|
|
4104
|
+
K(o, t, s), i.m(t, null), e[17](t);
|
|
4102
4105
|
},
|
|
4103
|
-
p(
|
|
4104
|
-
n === (n = r(
|
|
4106
|
+
p(o, [s]) {
|
|
4107
|
+
n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
|
|
4105
4108
|
},
|
|
4106
|
-
i:
|
|
4107
|
-
o:
|
|
4108
|
-
d(
|
|
4109
|
-
|
|
4109
|
+
i: L,
|
|
4110
|
+
o: L,
|
|
4111
|
+
d(o) {
|
|
4112
|
+
o && k(t), i.d(), e[17](null);
|
|
4110
4113
|
}
|
|
4111
4114
|
};
|
|
4112
4115
|
}
|
|
4113
4116
|
function Ti(e, t, r) {
|
|
4114
4117
|
let n;
|
|
4115
4118
|
or(e, mi, (b) => r(5, n = b));
|
|
4116
|
-
let { endpoint: i = "" } = t, { datasource:
|
|
4119
|
+
let { endpoint: i = "" } = t, { datasource: o = "" } = t, { lang: s = "en" } = t, { activecategory: u = "" } = t, { excludedflags: h = "" } = t, { clientstyling: a = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: c = "" } = t, { mbsource: f } = t, p, d = !1;
|
|
4117
4120
|
const g = [];
|
|
4118
|
-
let
|
|
4119
|
-
Object.keys(
|
|
4120
|
-
|
|
4121
|
+
let E = [], m = [];
|
|
4122
|
+
Object.keys(bt).forEach((b) => {
|
|
4123
|
+
dt(b, bt[b]);
|
|
4121
4124
|
});
|
|
4122
|
-
const
|
|
4123
|
-
fetch(
|
|
4124
|
-
Object.keys($).forEach((
|
|
4125
|
-
|
|
4125
|
+
const C = () => {
|
|
4126
|
+
fetch(c).then(($) => $.json()).then(($) => {
|
|
4127
|
+
Object.keys($).forEach((le) => {
|
|
4128
|
+
dt(le, $[le]);
|
|
4126
4129
|
});
|
|
4127
4130
|
}).catch(($) => {
|
|
4128
4131
|
console.log($);
|
|
4129
4132
|
});
|
|
4130
|
-
},
|
|
4133
|
+
}, A = () => {
|
|
4131
4134
|
r(2, d = !0);
|
|
4132
|
-
const b = new URL(`${i}/v1/casino/groups/${
|
|
4133
|
-
b.searchParams.append("language",
|
|
4135
|
+
const b = new URL(`${i}/v1/casino/groups/${o}`);
|
|
4136
|
+
b.searchParams.append("language", s), fetch(b).then(($) => $.json()).then(($) => {
|
|
4134
4137
|
r(2, d = !1);
|
|
4135
|
-
const
|
|
4138
|
+
const le = h.split(",").map((j) => j.trim());
|
|
4136
4139
|
g.push(...$.items);
|
|
4137
|
-
const
|
|
4138
|
-
var
|
|
4139
|
-
return ((
|
|
4140
|
+
const Ze = g.filter((j) => !le.some((Yt) => {
|
|
4141
|
+
var Qe;
|
|
4142
|
+
return ((Qe = j.flags) == null ? void 0 : Qe.indexOf(Yt)) >= 0;
|
|
4140
4143
|
}));
|
|
4141
|
-
r(3,
|
|
4144
|
+
r(3, E = Ze.filter((j) => j.isTopCategory === !0)), r(4, m = Ze.filter((j) => j.isTopCategory === !1));
|
|
4142
4145
|
});
|
|
4143
|
-
},
|
|
4146
|
+
}, O = (b) => {
|
|
4144
4147
|
window.postMessage({ type: "OpenGameCategory", categoryId: b }, window.location.href);
|
|
4145
|
-
},
|
|
4146
|
-
pi(
|
|
4148
|
+
}, B = () => {
|
|
4149
|
+
pi(s);
|
|
4147
4150
|
};
|
|
4148
|
-
|
|
4151
|
+
cr(() => () => {
|
|
4149
4152
|
});
|
|
4150
|
-
const
|
|
4151
|
-
function
|
|
4152
|
-
|
|
4153
|
+
const H = (b) => O(b.id), P = (b) => O(b.id);
|
|
4154
|
+
function qt(b) {
|
|
4155
|
+
Le[b ? "unshift" : "push"](() => {
|
|
4153
4156
|
p = b, r(1, p);
|
|
4154
4157
|
});
|
|
4155
4158
|
}
|
|
4156
4159
|
return e.$$set = (b) => {
|
|
4157
|
-
"endpoint" in b && r(7, i = b.endpoint), "datasource" in b && r(8,
|
|
4160
|
+
"endpoint" in b && r(7, i = b.endpoint), "datasource" in b && r(8, o = b.datasource), "lang" in b && r(9, s = b.lang), "activecategory" in b && r(0, u = b.activecategory), "excludedflags" in b && r(10, h = b.excludedflags), "clientstyling" in b && r(11, a = b.clientstyling), "clientstylingurl" in b && r(12, l = b.clientstylingurl), "translationurl" in b && r(13, c = b.translationurl), "mbsource" in b && r(14, f = b.mbsource);
|
|
4158
4161
|
}, e.$$.update = () => {
|
|
4159
4162
|
e.$$.dirty & /*endpoint, datasource*/
|
|
4160
|
-
384 && i &&
|
|
4161
|
-
8192 &&
|
|
4162
|
-
512 &&
|
|
4163
|
+
384 && i && o && A(), e.$$.dirty & /*translationurl*/
|
|
4164
|
+
8192 && c && C(), e.$$.dirty & /*lang*/
|
|
4165
|
+
512 && s && B(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4163
4166
|
2050 && a && p && di(p, a), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4164
4167
|
4098 && l && p && bi(p, l), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4165
|
-
16386 &&
|
|
4168
|
+
16386 && f && p && yi(p, `${f}.Style`);
|
|
4166
4169
|
}, [
|
|
4167
4170
|
u,
|
|
4168
4171
|
p,
|
|
4169
4172
|
d,
|
|
4170
|
-
|
|
4173
|
+
E,
|
|
4171
4174
|
m,
|
|
4172
4175
|
n,
|
|
4173
|
-
|
|
4176
|
+
O,
|
|
4174
4177
|
i,
|
|
4175
|
-
s,
|
|
4176
4178
|
o,
|
|
4179
|
+
s,
|
|
4177
4180
|
h,
|
|
4178
4181
|
a,
|
|
4179
4182
|
l,
|
|
4180
|
-
f,
|
|
4181
4183
|
c,
|
|
4182
|
-
|
|
4183
|
-
|
|
4184
|
-
|
|
4184
|
+
f,
|
|
4185
|
+
H,
|
|
4186
|
+
P,
|
|
4187
|
+
qt
|
|
4185
4188
|
];
|
|
4186
4189
|
}
|
|
4187
|
-
class
|
|
4190
|
+
class Ci extends Cr {
|
|
4188
4191
|
constructor(t) {
|
|
4189
|
-
super(),
|
|
4192
|
+
super(), vr(
|
|
4190
4193
|
this,
|
|
4191
4194
|
t,
|
|
4192
4195
|
Ti,
|
|
4193
4196
|
vi,
|
|
4194
|
-
|
|
4197
|
+
Tt,
|
|
4195
4198
|
{
|
|
4196
4199
|
endpoint: 7,
|
|
4197
4200
|
datasource: 8,
|
|
@@ -4203,7 +4206,7 @@ class Hi extends Cr {
|
|
|
4203
4206
|
translationurl: 13,
|
|
4204
4207
|
mbsource: 14
|
|
4205
4208
|
},
|
|
4206
|
-
|
|
4209
|
+
_i
|
|
4207
4210
|
);
|
|
4208
4211
|
}
|
|
4209
4212
|
get endpoint() {
|
|
@@ -4261,7 +4264,7 @@ class Hi extends Cr {
|
|
|
4261
4264
|
this.$$set({ mbsource: t }), M();
|
|
4262
4265
|
}
|
|
4263
4266
|
}
|
|
4264
|
-
|
|
4267
|
+
Tr(Ci, { endpoint: {}, datasource: {}, lang: {}, activecategory: {}, excludedflags: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
|
|
4265
4268
|
export {
|
|
4266
|
-
|
|
4269
|
+
Ci as default
|
|
4267
4270
|
};
|