@everymatrix/casino-categories 1.53.0 → 1.53.10
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-C-hyUkDQ.js → CasinoCategories-CNLlIZst.js} +863 -901
- package/esnext/casino-categories.js +14 -0
- package/package.json +8 -9
- package/components/CasinoCategories-CAqrvJdQ.cjs +0 -3
- package/es2015/casino-categories.cjs +0 -1
- package/es2015/casino-categories.js +0 -16
|
@@ -1,79 +1,50 @@
|
|
|
1
|
-
|
|
2
|
-
var nr = Object.getOwnPropertyDescriptors;
|
|
3
|
-
var qe = Object.getOwnPropertySymbols;
|
|
4
|
-
var ir = Object.prototype.hasOwnProperty, sr = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var Te = (e, t, r) => t in e ? tr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ye = (e, t) => {
|
|
6
|
-
for (var r in t || (t = {}))
|
|
7
|
-
ir.call(t, r) && Te(e, r, t[r]);
|
|
8
|
-
if (qe)
|
|
9
|
-
for (var r of qe(t))
|
|
10
|
-
sr.call(t, r) && Te(e, r, t[r]);
|
|
11
|
-
return e;
|
|
12
|
-
}, Ke = (e, t) => rr(e, nr(t));
|
|
13
|
-
var L = (e, t, r) => Te(e, typeof t != "symbol" ? t + "" : t, r);
|
|
14
|
-
var et = (e, t, r) => new Promise((n, i) => {
|
|
15
|
-
var s = (h) => {
|
|
16
|
-
try {
|
|
17
|
-
u(r.next(h));
|
|
18
|
-
} catch (a) {
|
|
19
|
-
i(a);
|
|
20
|
-
}
|
|
21
|
-
}, o = (h) => {
|
|
22
|
-
try {
|
|
23
|
-
u(r.throw(h));
|
|
24
|
-
} catch (a) {
|
|
25
|
-
i(a);
|
|
26
|
-
}
|
|
27
|
-
}, u = (h) => h.done ? n(h.value) : Promise.resolve(h.value).then(s, o);
|
|
28
|
-
u((r = r.apply(e, t)).next());
|
|
29
|
-
});
|
|
30
|
-
function M() {
|
|
1
|
+
function L() {
|
|
31
2
|
}
|
|
32
|
-
function
|
|
3
|
+
function pt(e) {
|
|
33
4
|
return e();
|
|
34
5
|
}
|
|
35
|
-
function
|
|
6
|
+
function We() {
|
|
36
7
|
return /* @__PURE__ */ Object.create(null);
|
|
37
8
|
}
|
|
38
|
-
function
|
|
39
|
-
e.forEach(
|
|
9
|
+
function oe(e) {
|
|
10
|
+
e.forEach(pt);
|
|
40
11
|
}
|
|
41
|
-
function
|
|
12
|
+
function Fe(e) {
|
|
42
13
|
return typeof e == "function";
|
|
43
14
|
}
|
|
44
|
-
function
|
|
15
|
+
function dt(e, t) {
|
|
45
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
46
17
|
}
|
|
47
|
-
let
|
|
48
|
-
function
|
|
49
|
-
return e === t ? !0 : (
|
|
18
|
+
let ue;
|
|
19
|
+
function me(e, t) {
|
|
20
|
+
return e === t ? !0 : (ue || (ue = document.createElement("a")), ue.href = t, e === ue.href);
|
|
50
21
|
}
|
|
51
|
-
function
|
|
22
|
+
function Wt(e) {
|
|
52
23
|
return Object.keys(e).length === 0;
|
|
53
24
|
}
|
|
54
|
-
function
|
|
25
|
+
function bt(e, ...t) {
|
|
55
26
|
if (e == null) {
|
|
56
27
|
for (const n of t)
|
|
57
28
|
n(void 0);
|
|
58
|
-
return
|
|
29
|
+
return L;
|
|
59
30
|
}
|
|
60
31
|
const r = e.subscribe(...t);
|
|
61
32
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
62
33
|
}
|
|
63
|
-
function
|
|
64
|
-
e.$$.on_destroy.push(
|
|
34
|
+
function Zt(e, t, r) {
|
|
35
|
+
e.$$.on_destroy.push(bt(t, r));
|
|
65
36
|
}
|
|
66
37
|
function v(e, t) {
|
|
67
38
|
e.appendChild(t);
|
|
68
39
|
}
|
|
69
|
-
function
|
|
70
|
-
const n =
|
|
40
|
+
function Qt(e, t, r) {
|
|
41
|
+
const n = Jt(e);
|
|
71
42
|
if (!n.getElementById(t)) {
|
|
72
43
|
const i = O("style");
|
|
73
|
-
i.id = t, i.textContent = r,
|
|
44
|
+
i.id = t, i.textContent = r, qt(n, i);
|
|
74
45
|
}
|
|
75
46
|
}
|
|
76
|
-
function
|
|
47
|
+
function Jt(e) {
|
|
77
48
|
if (!e) return document;
|
|
78
49
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
79
50
|
return t && /** @type {ShadowRoot} */
|
|
@@ -82,46 +53,46 @@ function hr(e) {
|
|
|
82
53
|
t
|
|
83
54
|
) : e.ownerDocument;
|
|
84
55
|
}
|
|
85
|
-
function
|
|
56
|
+
function qt(e, t) {
|
|
86
57
|
return v(
|
|
87
58
|
/** @type {Document} */
|
|
88
59
|
e.head || e,
|
|
89
60
|
t
|
|
90
61
|
), t.sheet;
|
|
91
62
|
}
|
|
92
|
-
function
|
|
63
|
+
function Y(e, t, r) {
|
|
93
64
|
e.insertBefore(t, r || null);
|
|
94
65
|
}
|
|
95
|
-
function
|
|
66
|
+
function j(e) {
|
|
96
67
|
e.parentNode && e.parentNode.removeChild(e);
|
|
97
68
|
}
|
|
98
|
-
function
|
|
69
|
+
function Ze(e, t) {
|
|
99
70
|
for (let r = 0; r < e.length; r += 1)
|
|
100
71
|
e[r] && e[r].d(t);
|
|
101
72
|
}
|
|
102
73
|
function O(e) {
|
|
103
74
|
return document.createElement(e);
|
|
104
75
|
}
|
|
105
|
-
function
|
|
76
|
+
function R(e) {
|
|
106
77
|
return document.createTextNode(e);
|
|
107
78
|
}
|
|
108
|
-
function
|
|
109
|
-
return
|
|
79
|
+
function $() {
|
|
80
|
+
return R(" ");
|
|
110
81
|
}
|
|
111
|
-
function
|
|
82
|
+
function yt(e, t, r, n) {
|
|
112
83
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
113
84
|
}
|
|
114
85
|
function B(e, t, r) {
|
|
115
86
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
116
87
|
}
|
|
117
|
-
function
|
|
88
|
+
function Yt(e) {
|
|
118
89
|
return Array.from(e.childNodes);
|
|
119
90
|
}
|
|
120
|
-
function
|
|
91
|
+
function D(e, t) {
|
|
121
92
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
122
93
|
t);
|
|
123
94
|
}
|
|
124
|
-
function
|
|
95
|
+
function Kt(e) {
|
|
125
96
|
const t = {};
|
|
126
97
|
return e.childNodes.forEach(
|
|
127
98
|
/** @param {Element} node */
|
|
@@ -130,241 +101,237 @@ function cr(e) {
|
|
|
130
101
|
}
|
|
131
102
|
), t;
|
|
132
103
|
}
|
|
133
|
-
let
|
|
134
|
-
function
|
|
135
|
-
|
|
104
|
+
let je;
|
|
105
|
+
function ne(e) {
|
|
106
|
+
je = e;
|
|
136
107
|
}
|
|
137
|
-
const
|
|
138
|
-
let
|
|
139
|
-
const
|
|
140
|
-
let
|
|
141
|
-
function
|
|
142
|
-
|
|
108
|
+
const z = [], Oe = [];
|
|
109
|
+
let W = [];
|
|
110
|
+
const Qe = [], er = /* @__PURE__ */ Promise.resolve();
|
|
111
|
+
let Pe = !1;
|
|
112
|
+
function tr() {
|
|
113
|
+
Pe || (Pe = !0, er.then(M));
|
|
143
114
|
}
|
|
144
|
-
function
|
|
145
|
-
|
|
115
|
+
function we(e) {
|
|
116
|
+
W.push(e);
|
|
146
117
|
}
|
|
147
|
-
const
|
|
148
|
-
let
|
|
149
|
-
function
|
|
150
|
-
if (
|
|
118
|
+
const ve = /* @__PURE__ */ new Set();
|
|
119
|
+
let V = 0;
|
|
120
|
+
function M() {
|
|
121
|
+
if (V !== 0)
|
|
151
122
|
return;
|
|
152
|
-
const e =
|
|
123
|
+
const e = je;
|
|
153
124
|
do {
|
|
154
125
|
try {
|
|
155
|
-
for (;
|
|
156
|
-
const t =
|
|
157
|
-
|
|
126
|
+
for (; V < z.length; ) {
|
|
127
|
+
const t = z[V];
|
|
128
|
+
V++, ne(t), rr(t.$$);
|
|
158
129
|
}
|
|
159
130
|
} catch (t) {
|
|
160
|
-
throw
|
|
131
|
+
throw z.length = 0, V = 0, t;
|
|
161
132
|
}
|
|
162
|
-
for (
|
|
163
|
-
for (let t = 0; t <
|
|
164
|
-
const r =
|
|
165
|
-
|
|
133
|
+
for (ne(null), z.length = 0, V = 0; Oe.length; ) Oe.pop()();
|
|
134
|
+
for (let t = 0; t < W.length; t += 1) {
|
|
135
|
+
const r = W[t];
|
|
136
|
+
ve.has(r) || (ve.add(r), r());
|
|
166
137
|
}
|
|
167
|
-
|
|
168
|
-
} while (
|
|
169
|
-
for (;
|
|
170
|
-
|
|
171
|
-
|
|
138
|
+
W.length = 0;
|
|
139
|
+
} while (z.length);
|
|
140
|
+
for (; Qe.length; )
|
|
141
|
+
Qe.pop()();
|
|
142
|
+
Pe = !1, ve.clear(), ne(e);
|
|
172
143
|
}
|
|
173
|
-
function
|
|
144
|
+
function rr(e) {
|
|
174
145
|
if (e.fragment !== null) {
|
|
175
|
-
e.update(),
|
|
146
|
+
e.update(), oe(e.before_update);
|
|
176
147
|
const t = e.dirty;
|
|
177
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
148
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(we);
|
|
178
149
|
}
|
|
179
150
|
}
|
|
180
|
-
function
|
|
151
|
+
function nr(e) {
|
|
181
152
|
const t = [], r = [];
|
|
182
|
-
|
|
153
|
+
W.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), W = t;
|
|
183
154
|
}
|
|
184
|
-
const
|
|
185
|
-
function
|
|
186
|
-
e && e.i && (
|
|
155
|
+
const ir = /* @__PURE__ */ new Set();
|
|
156
|
+
function sr(e, t) {
|
|
157
|
+
e && e.i && (ir.delete(e), e.i(t));
|
|
187
158
|
}
|
|
188
|
-
function
|
|
189
|
-
return
|
|
159
|
+
function he(e) {
|
|
160
|
+
return e?.length !== void 0 ? e : Array.from(e);
|
|
190
161
|
}
|
|
191
|
-
function
|
|
162
|
+
function or(e, t, r) {
|
|
192
163
|
const { fragment: n, after_update: i } = e.$$;
|
|
193
|
-
n && n.m(t, r),
|
|
194
|
-
const s = e.$$.on_mount.map(
|
|
195
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...s) :
|
|
196
|
-
}), i.forEach(
|
|
164
|
+
n && n.m(t, r), we(() => {
|
|
165
|
+
const s = e.$$.on_mount.map(pt).filter(Fe);
|
|
166
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : oe(s), e.$$.on_mount = [];
|
|
167
|
+
}), i.forEach(we);
|
|
197
168
|
}
|
|
198
|
-
function
|
|
169
|
+
function ar(e, t) {
|
|
199
170
|
const r = e.$$;
|
|
200
|
-
r.fragment !== null && (
|
|
171
|
+
r.fragment !== null && (nr(r.after_update), oe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
201
172
|
}
|
|
202
|
-
function
|
|
203
|
-
e.$$.dirty[0] === -1 && (
|
|
173
|
+
function ur(e, t) {
|
|
174
|
+
e.$$.dirty[0] === -1 && (z.push(e), tr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
204
175
|
}
|
|
205
|
-
function
|
|
206
|
-
const
|
|
207
|
-
|
|
176
|
+
function hr(e, t, r, n, i, s, o = null, u = [-1]) {
|
|
177
|
+
const f = je;
|
|
178
|
+
ne(e);
|
|
208
179
|
const a = e.$$ = {
|
|
209
180
|
fragment: null,
|
|
210
181
|
ctx: [],
|
|
211
182
|
// state
|
|
212
183
|
props: s,
|
|
213
|
-
update:
|
|
184
|
+
update: L,
|
|
214
185
|
not_equal: i,
|
|
215
|
-
bound:
|
|
186
|
+
bound: We(),
|
|
216
187
|
// lifecycle
|
|
217
188
|
on_mount: [],
|
|
218
189
|
on_destroy: [],
|
|
219
190
|
on_disconnect: [],
|
|
220
191
|
before_update: [],
|
|
221
192
|
after_update: [],
|
|
222
|
-
context: new Map(t.context || (
|
|
193
|
+
context: new Map(t.context || (f ? f.$$.context : [])),
|
|
223
194
|
// everything else
|
|
224
|
-
callbacks:
|
|
195
|
+
callbacks: We(),
|
|
225
196
|
dirty: u,
|
|
226
197
|
skip_bound: !1,
|
|
227
|
-
root: t.target ||
|
|
198
|
+
root: t.target || f.$$.root
|
|
228
199
|
};
|
|
229
200
|
o && o(a.root);
|
|
230
|
-
let
|
|
231
|
-
if (a.ctx = r
|
|
232
|
-
const p = d.length ? d[0] :
|
|
233
|
-
return a.ctx && i(a.ctx[c], a.ctx[c] = p) && (!a.skip_bound && a.bound[c] && a.bound[c](p),
|
|
234
|
-
})
|
|
201
|
+
let h = !1;
|
|
202
|
+
if (a.ctx = r(e, t.props || {}, (c, l, ...d) => {
|
|
203
|
+
const p = d.length ? d[0] : l;
|
|
204
|
+
return a.ctx && i(a.ctx[c], a.ctx[c] = p) && (!a.skip_bound && a.bound[c] && a.bound[c](p), h && ur(e, c)), l;
|
|
205
|
+
}), a.update(), h = !0, oe(a.before_update), a.fragment = n(a.ctx), t.target) {
|
|
235
206
|
if (t.hydrate) {
|
|
236
|
-
const c =
|
|
237
|
-
a.fragment && a.fragment.l(c), c.forEach(
|
|
207
|
+
const c = Yt(t.target);
|
|
208
|
+
a.fragment && a.fragment.l(c), c.forEach(j);
|
|
238
209
|
} else
|
|
239
210
|
a.fragment && a.fragment.c();
|
|
240
|
-
t.intro &&
|
|
211
|
+
t.intro && sr(e.$$.fragment), or(e, t.target, t.anchor), M();
|
|
241
212
|
}
|
|
242
|
-
|
|
243
|
-
}
|
|
244
|
-
let
|
|
245
|
-
typeof HTMLElement == "function" && (
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
|
|
213
|
+
ne(f);
|
|
214
|
+
}
|
|
215
|
+
let _t;
|
|
216
|
+
typeof HTMLElement == "function" && (_t = class extends HTMLElement {
|
|
217
|
+
/** The Svelte component constructor */
|
|
218
|
+
$$ctor;
|
|
219
|
+
/** Slots */
|
|
220
|
+
$$s;
|
|
221
|
+
/** The Svelte component instance */
|
|
222
|
+
$$c;
|
|
223
|
+
/** Whether or not the custom element is connected */
|
|
224
|
+
$$cn = !1;
|
|
225
|
+
/** Component props data */
|
|
226
|
+
$$d = {};
|
|
227
|
+
/** `true` if currently in the process of reflecting component props back to attributes */
|
|
228
|
+
$$r = !1;
|
|
229
|
+
/** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
|
|
230
|
+
$$p_d = {};
|
|
231
|
+
/** @type {Record<string, Function[]>} Event listeners */
|
|
232
|
+
$$l = {};
|
|
233
|
+
/** @type {Map<Function, Function>} Event listener unsubscribe functions */
|
|
234
|
+
$$l_u = /* @__PURE__ */ new Map();
|
|
235
|
+
constructor(e, t, r) {
|
|
236
|
+
super(), this.$$ctor = e, this.$$s = t, r && this.attachShadow({ mode: "open" });
|
|
267
237
|
}
|
|
268
|
-
addEventListener(t, r
|
|
269
|
-
if (this.$$l[
|
|
270
|
-
const
|
|
271
|
-
this.$$l_u.set(
|
|
238
|
+
addEventListener(e, t, r) {
|
|
239
|
+
if (this.$$l[e] = this.$$l[e] || [], this.$$l[e].push(t), this.$$c) {
|
|
240
|
+
const n = this.$$c.$on(e, t);
|
|
241
|
+
this.$$l_u.set(t, n);
|
|
272
242
|
}
|
|
273
|
-
super.addEventListener(t, r
|
|
243
|
+
super.addEventListener(e, t, r);
|
|
274
244
|
}
|
|
275
|
-
removeEventListener(t, r
|
|
276
|
-
if (super.removeEventListener(t, r
|
|
277
|
-
const
|
|
278
|
-
|
|
245
|
+
removeEventListener(e, t, r) {
|
|
246
|
+
if (super.removeEventListener(e, t, r), this.$$c) {
|
|
247
|
+
const n = this.$$l_u.get(t);
|
|
248
|
+
n && (n(), this.$$l_u.delete(t));
|
|
279
249
|
}
|
|
280
250
|
}
|
|
281
|
-
connectedCallback() {
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
}
|
|
301
|
-
};
|
|
251
|
+
async connectedCallback() {
|
|
252
|
+
if (this.$$cn = !0, !this.$$c) {
|
|
253
|
+
let e = function(i) {
|
|
254
|
+
return () => {
|
|
255
|
+
let s;
|
|
256
|
+
return {
|
|
257
|
+
c: function() {
|
|
258
|
+
s = O("slot"), i !== "default" && B(s, "name", i);
|
|
259
|
+
},
|
|
260
|
+
/**
|
|
261
|
+
* @param {HTMLElement} target
|
|
262
|
+
* @param {HTMLElement} [anchor]
|
|
263
|
+
*/
|
|
264
|
+
m: function(f, a) {
|
|
265
|
+
Y(f, s, a);
|
|
266
|
+
},
|
|
267
|
+
d: function(f) {
|
|
268
|
+
f && j(s);
|
|
269
|
+
}
|
|
302
270
|
};
|
|
303
271
|
};
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
272
|
+
};
|
|
273
|
+
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
274
|
+
return;
|
|
275
|
+
const t = {}, r = Kt(this);
|
|
276
|
+
for (const i of this.$$s)
|
|
277
|
+
i in r && (t[i] = [e(i)]);
|
|
278
|
+
for (const i of this.attributes) {
|
|
279
|
+
const s = this.$$g_p(i.name);
|
|
280
|
+
s in this.$$d || (this.$$d[s] = fe(s, i.value, this.$$p_d, "toProp"));
|
|
281
|
+
}
|
|
282
|
+
for (const i in this.$$p_d)
|
|
283
|
+
!(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
|
|
284
|
+
this.$$c = new this.$$ctor({
|
|
285
|
+
target: this.shadowRoot || this,
|
|
286
|
+
props: {
|
|
287
|
+
...this.$$d,
|
|
288
|
+
$$slots: t,
|
|
289
|
+
$$scope: {
|
|
290
|
+
ctx: []
|
|
291
|
+
}
|
|
312
292
|
}
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
this.$$
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
this.$$r = !0;
|
|
326
|
-
for (const s in this.$$p_d)
|
|
327
|
-
if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
|
|
328
|
-
const o = ce(
|
|
329
|
-
s,
|
|
330
|
-
this.$$d[s],
|
|
331
|
-
this.$$p_d,
|
|
332
|
-
"toAttribute"
|
|
333
|
-
);
|
|
334
|
-
o == null ? this.removeAttribute(this.$$p_d[s].attribute || s) : this.setAttribute(this.$$p_d[s].attribute || s, o);
|
|
335
|
-
}
|
|
336
|
-
this.$$r = !1;
|
|
337
|
-
};
|
|
338
|
-
this.$$c.$$.after_update.push(i), i();
|
|
339
|
-
for (const s in this.$$l)
|
|
340
|
-
for (const o of this.$$l[s]) {
|
|
341
|
-
const u = this.$$c.$on(s, o);
|
|
342
|
-
this.$$l_u.set(o, u);
|
|
293
|
+
});
|
|
294
|
+
const n = () => {
|
|
295
|
+
this.$$r = !0;
|
|
296
|
+
for (const i in this.$$p_d)
|
|
297
|
+
if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
|
|
298
|
+
const s = fe(
|
|
299
|
+
i,
|
|
300
|
+
this.$$d[i],
|
|
301
|
+
this.$$p_d,
|
|
302
|
+
"toAttribute"
|
|
303
|
+
);
|
|
304
|
+
s == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, s);
|
|
343
305
|
}
|
|
344
|
-
this.$$
|
|
345
|
-
}
|
|
346
|
-
|
|
306
|
+
this.$$r = !1;
|
|
307
|
+
};
|
|
308
|
+
this.$$c.$$.after_update.push(n), n();
|
|
309
|
+
for (const i in this.$$l)
|
|
310
|
+
for (const s of this.$$l[i]) {
|
|
311
|
+
const o = this.$$c.$on(i, s);
|
|
312
|
+
this.$$l_u.set(s, o);
|
|
313
|
+
}
|
|
314
|
+
this.$$l = {};
|
|
315
|
+
}
|
|
347
316
|
}
|
|
348
317
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
349
318
|
// and setting attributes through setAttribute etc, this is helpful
|
|
350
|
-
attributeChangedCallback(t, r
|
|
351
|
-
|
|
352
|
-
this.$$r || (t = this.$$g_p(t), this.$$d[t] = ce(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
|
|
319
|
+
attributeChangedCallback(e, t, r) {
|
|
320
|
+
this.$$r || (e = this.$$g_p(e), this.$$d[e] = fe(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
|
|
353
321
|
}
|
|
354
322
|
disconnectedCallback() {
|
|
355
323
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
356
324
|
!this.$$cn && this.$$c && (this.$$c.$destroy(), this.$$c = void 0);
|
|
357
325
|
});
|
|
358
326
|
}
|
|
359
|
-
$$g_p(
|
|
327
|
+
$$g_p(e) {
|
|
360
328
|
return Object.keys(this.$$p_d).find(
|
|
361
|
-
(
|
|
362
|
-
) ||
|
|
329
|
+
(t) => this.$$p_d[t].attribute === e || !this.$$p_d[t].attribute && t.toLowerCase() === e
|
|
330
|
+
) || e;
|
|
363
331
|
}
|
|
364
332
|
});
|
|
365
|
-
function
|
|
366
|
-
|
|
367
|
-
const i = (s = r[e]) == null ? void 0 : s.type;
|
|
333
|
+
function fe(e, t, r, n) {
|
|
334
|
+
const i = r[e]?.type;
|
|
368
335
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
369
336
|
return t;
|
|
370
337
|
if (n === "toAttribute")
|
|
@@ -375,7 +342,7 @@ function ce(e, t, r, n) {
|
|
|
375
342
|
case "Boolean":
|
|
376
343
|
return t ? "" : null;
|
|
377
344
|
case "Number":
|
|
378
|
-
return t
|
|
345
|
+
return t ?? null;
|
|
379
346
|
default:
|
|
380
347
|
return t;
|
|
381
348
|
}
|
|
@@ -392,8 +359,8 @@ function ce(e, t, r, n) {
|
|
|
392
359
|
return t;
|
|
393
360
|
}
|
|
394
361
|
}
|
|
395
|
-
function
|
|
396
|
-
let o = class extends
|
|
362
|
+
function lr(e, t, r, n, i, s) {
|
|
363
|
+
let o = class extends _t {
|
|
397
364
|
constructor() {
|
|
398
365
|
super(e, r, i), this.$$p_d = t;
|
|
399
366
|
}
|
|
@@ -408,43 +375,39 @@ function Tr(e, t, r, n, i, s) {
|
|
|
408
375
|
get() {
|
|
409
376
|
return this.$$c && u in this.$$c ? this.$$c[u] : this.$$d[u];
|
|
410
377
|
},
|
|
411
|
-
set(
|
|
412
|
-
|
|
413
|
-
h = ce(u, h, t), this.$$d[u] = h, (a = this.$$c) == null || a.$set({ [u]: h });
|
|
378
|
+
set(f) {
|
|
379
|
+
f = fe(u, f, t), this.$$d[u] = f, this.$$c?.$set({ [u]: f });
|
|
414
380
|
}
|
|
415
381
|
});
|
|
416
382
|
}), n.forEach((u) => {
|
|
417
383
|
Object.defineProperty(o.prototype, u, {
|
|
418
384
|
get() {
|
|
419
|
-
|
|
420
|
-
return (h = this.$$c) == null ? void 0 : h[u];
|
|
385
|
+
return this.$$c?.[u];
|
|
421
386
|
}
|
|
422
387
|
});
|
|
423
388
|
}), e.element = /** @type {any} */
|
|
424
389
|
o, o;
|
|
425
390
|
}
|
|
426
|
-
class
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
L(this, "$$set");
|
|
444
|
-
}
|
|
391
|
+
class fr {
|
|
392
|
+
/**
|
|
393
|
+
* ### PRIVATE API
|
|
394
|
+
*
|
|
395
|
+
* Do not use, may change at any time
|
|
396
|
+
*
|
|
397
|
+
* @type {any}
|
|
398
|
+
*/
|
|
399
|
+
$$ = void 0;
|
|
400
|
+
/**
|
|
401
|
+
* ### PRIVATE API
|
|
402
|
+
*
|
|
403
|
+
* Do not use, may change at any time
|
|
404
|
+
*
|
|
405
|
+
* @type {any}
|
|
406
|
+
*/
|
|
407
|
+
$$set = void 0;
|
|
445
408
|
/** @returns {void} */
|
|
446
409
|
$destroy() {
|
|
447
|
-
|
|
410
|
+
ar(this, 1), this.$destroy = L;
|
|
448
411
|
}
|
|
449
412
|
/**
|
|
450
413
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -453,8 +416,8 @@ class Cr {
|
|
|
453
416
|
* @returns {() => void}
|
|
454
417
|
*/
|
|
455
418
|
$on(t, r) {
|
|
456
|
-
if (!
|
|
457
|
-
return
|
|
419
|
+
if (!Fe(r))
|
|
420
|
+
return L;
|
|
458
421
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
459
422
|
return n.push(r), () => {
|
|
460
423
|
const i = n.indexOf(r);
|
|
@@ -466,159 +429,159 @@ class Cr {
|
|
|
466
429
|
* @returns {void}
|
|
467
430
|
*/
|
|
468
431
|
$set(t) {
|
|
469
|
-
this.$$set && !
|
|
432
|
+
this.$$set && !Wt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
470
433
|
}
|
|
471
434
|
}
|
|
472
|
-
const
|
|
473
|
-
typeof window
|
|
474
|
-
const
|
|
475
|
-
function
|
|
435
|
+
const cr = "4";
|
|
436
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(cr);
|
|
437
|
+
const X = [];
|
|
438
|
+
function gr(e, t) {
|
|
476
439
|
return {
|
|
477
|
-
subscribe:
|
|
440
|
+
subscribe: be(e, t).subscribe
|
|
478
441
|
};
|
|
479
442
|
}
|
|
480
|
-
function
|
|
443
|
+
function be(e, t = L) {
|
|
481
444
|
let r;
|
|
482
445
|
const n = /* @__PURE__ */ new Set();
|
|
483
446
|
function i(u) {
|
|
484
|
-
if (
|
|
485
|
-
const
|
|
447
|
+
if (dt(e, u) && (e = u, r)) {
|
|
448
|
+
const f = !X.length;
|
|
486
449
|
for (const a of n)
|
|
487
|
-
a[1](),
|
|
488
|
-
if (
|
|
489
|
-
for (let a = 0; a <
|
|
490
|
-
|
|
491
|
-
|
|
450
|
+
a[1](), X.push(a, e);
|
|
451
|
+
if (f) {
|
|
452
|
+
for (let a = 0; a < X.length; a += 2)
|
|
453
|
+
X[a][0](X[a + 1]);
|
|
454
|
+
X.length = 0;
|
|
492
455
|
}
|
|
493
456
|
}
|
|
494
457
|
}
|
|
495
458
|
function s(u) {
|
|
496
459
|
i(u(e));
|
|
497
460
|
}
|
|
498
|
-
function o(u,
|
|
499
|
-
const a = [u,
|
|
500
|
-
return n.add(a), n.size === 1 && (r = t(i, s) ||
|
|
461
|
+
function o(u, f = L) {
|
|
462
|
+
const a = [u, f];
|
|
463
|
+
return n.add(a), n.size === 1 && (r = t(i, s) || L), u(e), () => {
|
|
501
464
|
n.delete(a), n.size === 0 && r && (r(), r = null);
|
|
502
465
|
};
|
|
503
466
|
}
|
|
504
467
|
return { set: i, update: s, subscribe: o };
|
|
505
468
|
}
|
|
506
|
-
function
|
|
469
|
+
function K(e, t, r) {
|
|
507
470
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
508
471
|
if (!i.every(Boolean))
|
|
509
472
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
510
473
|
const s = t.length < 2;
|
|
511
|
-
return
|
|
512
|
-
let
|
|
474
|
+
return gr(r, (o, u) => {
|
|
475
|
+
let f = !1;
|
|
513
476
|
const a = [];
|
|
514
|
-
let
|
|
515
|
-
const
|
|
516
|
-
if (
|
|
477
|
+
let h = 0, c = L;
|
|
478
|
+
const l = () => {
|
|
479
|
+
if (h)
|
|
517
480
|
return;
|
|
518
481
|
c();
|
|
519
482
|
const p = t(n ? a[0] : a, o, u);
|
|
520
|
-
s ? o(p) : c =
|
|
483
|
+
s ? o(p) : c = Fe(p) ? p : L;
|
|
521
484
|
}, d = i.map(
|
|
522
|
-
(p, g) =>
|
|
485
|
+
(p, g) => bt(
|
|
523
486
|
p,
|
|
524
|
-
(
|
|
525
|
-
a[g] =
|
|
487
|
+
(E) => {
|
|
488
|
+
a[g] = E, h &= ~(1 << g), f && l();
|
|
526
489
|
},
|
|
527
490
|
() => {
|
|
528
|
-
|
|
491
|
+
h |= 1 << g;
|
|
529
492
|
}
|
|
530
493
|
)
|
|
531
494
|
);
|
|
532
|
-
return
|
|
533
|
-
|
|
495
|
+
return f = !0, l(), function() {
|
|
496
|
+
oe(d), c(), f = !1;
|
|
534
497
|
};
|
|
535
498
|
});
|
|
536
499
|
}
|
|
537
|
-
function
|
|
538
|
-
return e
|
|
500
|
+
function mr(e) {
|
|
501
|
+
return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
539
502
|
}
|
|
540
|
-
var
|
|
541
|
-
return
|
|
503
|
+
var pr = function(t) {
|
|
504
|
+
return dr(t) && !br(t);
|
|
542
505
|
};
|
|
543
|
-
function
|
|
506
|
+
function dr(e) {
|
|
544
507
|
return !!e && typeof e == "object";
|
|
545
508
|
}
|
|
546
|
-
function
|
|
509
|
+
function br(e) {
|
|
547
510
|
var t = Object.prototype.toString.call(e);
|
|
548
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
511
|
+
return t === "[object RegExp]" || t === "[object Date]" || xr(e);
|
|
549
512
|
}
|
|
550
|
-
var
|
|
551
|
-
function
|
|
552
|
-
return e.$$typeof ===
|
|
513
|
+
var yr = typeof Symbol == "function" && Symbol.for, _r = yr ? Symbol.for("react.element") : 60103;
|
|
514
|
+
function xr(e) {
|
|
515
|
+
return e.$$typeof === _r;
|
|
553
516
|
}
|
|
554
|
-
function
|
|
517
|
+
function Er(e) {
|
|
555
518
|
return Array.isArray(e) ? [] : {};
|
|
556
519
|
}
|
|
557
|
-
function
|
|
558
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
520
|
+
function ie(e, t) {
|
|
521
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? Z(Er(e), e, t) : e;
|
|
559
522
|
}
|
|
560
|
-
function
|
|
523
|
+
function vr(e, t, r) {
|
|
561
524
|
return e.concat(t).map(function(n) {
|
|
562
|
-
return
|
|
525
|
+
return ie(n, r);
|
|
563
526
|
});
|
|
564
527
|
}
|
|
565
|
-
function
|
|
528
|
+
function Tr(e, t) {
|
|
566
529
|
if (!t.customMerge)
|
|
567
|
-
return
|
|
530
|
+
return Z;
|
|
568
531
|
var r = t.customMerge(e);
|
|
569
|
-
return typeof r == "function" ? r :
|
|
532
|
+
return typeof r == "function" ? r : Z;
|
|
570
533
|
}
|
|
571
|
-
function
|
|
534
|
+
function Cr(e) {
|
|
572
535
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
573
536
|
return Object.propertyIsEnumerable.call(e, t);
|
|
574
537
|
}) : [];
|
|
575
538
|
}
|
|
576
|
-
function
|
|
577
|
-
return Object.keys(e).concat(
|
|
539
|
+
function Je(e) {
|
|
540
|
+
return Object.keys(e).concat(Cr(e));
|
|
578
541
|
}
|
|
579
|
-
function
|
|
542
|
+
function xt(e, t) {
|
|
580
543
|
try {
|
|
581
544
|
return t in e;
|
|
582
|
-
} catch
|
|
545
|
+
} catch {
|
|
583
546
|
return !1;
|
|
584
547
|
}
|
|
585
548
|
}
|
|
586
|
-
function
|
|
587
|
-
return
|
|
549
|
+
function Hr(e, t) {
|
|
550
|
+
return xt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
588
551
|
}
|
|
589
|
-
function
|
|
552
|
+
function Ar(e, t, r) {
|
|
590
553
|
var n = {};
|
|
591
|
-
return r.isMergeableObject(e) &&
|
|
592
|
-
n[i] =
|
|
593
|
-
}),
|
|
594
|
-
|
|
554
|
+
return r.isMergeableObject(e) && Je(e).forEach(function(i) {
|
|
555
|
+
n[i] = ie(e[i], r);
|
|
556
|
+
}), Je(t).forEach(function(i) {
|
|
557
|
+
Hr(e, i) || (xt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Tr(i, r)(e[i], t[i], r) : n[i] = ie(t[i], r));
|
|
595
558
|
}), n;
|
|
596
559
|
}
|
|
597
|
-
function
|
|
598
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
560
|
+
function Z(e, t, r) {
|
|
561
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || vr, r.isMergeableObject = r.isMergeableObject || pr, r.cloneUnlessOtherwiseSpecified = ie;
|
|
599
562
|
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
|
600
|
-
return s ? n ? r.arrayMerge(e, t, r) :
|
|
563
|
+
return s ? n ? r.arrayMerge(e, t, r) : Ar(e, t, r) : ie(t, r);
|
|
601
564
|
}
|
|
602
|
-
|
|
565
|
+
Z.all = function(t, r) {
|
|
603
566
|
if (!Array.isArray(t))
|
|
604
567
|
throw new Error("first argument should be an array");
|
|
605
568
|
return t.reduce(function(n, i) {
|
|
606
|
-
return
|
|
569
|
+
return Z(n, i, r);
|
|
607
570
|
}, {});
|
|
608
571
|
};
|
|
609
|
-
var
|
|
610
|
-
const
|
|
611
|
-
var
|
|
612
|
-
return
|
|
572
|
+
var Br = Z, Sr = Br;
|
|
573
|
+
const Or = /* @__PURE__ */ mr(Sr);
|
|
574
|
+
var Ne = function(e, t) {
|
|
575
|
+
return Ne = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
613
576
|
r.__proto__ = n;
|
|
614
577
|
} || function(r, n) {
|
|
615
578
|
for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
616
|
-
},
|
|
579
|
+
}, Ne(e, t);
|
|
617
580
|
};
|
|
618
|
-
function
|
|
581
|
+
function ye(e, t) {
|
|
619
582
|
if (typeof t != "function" && t !== null)
|
|
620
583
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
621
|
-
|
|
584
|
+
Ne(e, t);
|
|
622
585
|
function r() {
|
|
623
586
|
this.constructor = e;
|
|
624
587
|
}
|
|
@@ -633,7 +596,7 @@ var x = function() {
|
|
|
633
596
|
return t;
|
|
634
597
|
}, x.apply(this, arguments);
|
|
635
598
|
};
|
|
636
|
-
function
|
|
599
|
+
function Pr(e, t) {
|
|
637
600
|
var r = {};
|
|
638
601
|
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
639
602
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
@@ -641,61 +604,63 @@ function kr(e, t) {
|
|
|
641
604
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
642
605
|
return r;
|
|
643
606
|
}
|
|
644
|
-
function
|
|
607
|
+
function Te(e, t, r) {
|
|
645
608
|
if (r || arguments.length === 2) for (var n = 0, i = t.length, s; n < i; n++)
|
|
646
609
|
(s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
|
|
647
610
|
return e.concat(s || Array.prototype.slice.call(t));
|
|
648
611
|
}
|
|
649
|
-
function
|
|
650
|
-
var r = t && t.cache ? t.cache :
|
|
612
|
+
function Ce(e, t) {
|
|
613
|
+
var r = t && t.cache ? t.cache : Rr, n = t && t.serializer ? t.serializer : Mr, i = t && t.strategy ? t.strategy : Nr;
|
|
651
614
|
return i(e, {
|
|
652
615
|
cache: r,
|
|
653
616
|
serializer: n
|
|
654
617
|
});
|
|
655
618
|
}
|
|
656
|
-
function
|
|
619
|
+
function wr(e) {
|
|
657
620
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
658
621
|
}
|
|
659
|
-
function
|
|
660
|
-
var i =
|
|
661
|
-
return typeof s
|
|
622
|
+
function Et(e, t, r, n) {
|
|
623
|
+
var i = wr(n) ? n : r(n), s = t.get(i);
|
|
624
|
+
return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
|
|
662
625
|
}
|
|
663
|
-
function
|
|
626
|
+
function vt(e, t, r) {
|
|
664
627
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
|
665
|
-
return typeof s
|
|
628
|
+
return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
|
|
666
629
|
}
|
|
667
|
-
function
|
|
630
|
+
function ke(e, t, r, n, i) {
|
|
668
631
|
return r.bind(t, e, n, i);
|
|
669
632
|
}
|
|
670
|
-
function
|
|
671
|
-
var r = e.length === 1 ?
|
|
672
|
-
return
|
|
633
|
+
function Nr(e, t) {
|
|
634
|
+
var r = e.length === 1 ? Et : vt;
|
|
635
|
+
return ke(e, this, r, t.cache.create(), t.serializer);
|
|
673
636
|
}
|
|
674
|
-
function
|
|
675
|
-
return
|
|
637
|
+
function Ir(e, t) {
|
|
638
|
+
return ke(e, this, vt, t.cache.create(), t.serializer);
|
|
676
639
|
}
|
|
677
|
-
function
|
|
678
|
-
return
|
|
640
|
+
function Lr(e, t) {
|
|
641
|
+
return ke(e, this, Et, t.cache.create(), t.serializer);
|
|
679
642
|
}
|
|
680
|
-
var
|
|
643
|
+
var Mr = function() {
|
|
681
644
|
return JSON.stringify(arguments);
|
|
682
|
-
}
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
645
|
+
}, $r = (
|
|
646
|
+
/** @class */
|
|
647
|
+
function() {
|
|
648
|
+
function e() {
|
|
649
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
650
|
+
}
|
|
651
|
+
return e.prototype.get = function(t) {
|
|
652
|
+
return this.cache[t];
|
|
653
|
+
}, e.prototype.set = function(t, r) {
|
|
654
|
+
this.cache[t] = r;
|
|
655
|
+
}, e;
|
|
656
|
+
}()
|
|
657
|
+
), Rr = {
|
|
693
658
|
create: function() {
|
|
694
|
-
return new
|
|
659
|
+
return new $r();
|
|
695
660
|
}
|
|
696
|
-
},
|
|
697
|
-
variadic:
|
|
698
|
-
monadic:
|
|
661
|
+
}, He = {
|
|
662
|
+
variadic: Ir,
|
|
663
|
+
monadic: Lr
|
|
699
664
|
}, y;
|
|
700
665
|
(function(e) {
|
|
701
666
|
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";
|
|
@@ -704,47 +669,47 @@ var T;
|
|
|
704
669
|
(function(e) {
|
|
705
670
|
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";
|
|
706
671
|
})(T || (T = {}));
|
|
707
|
-
var
|
|
672
|
+
var Q;
|
|
708
673
|
(function(e) {
|
|
709
674
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
710
|
-
})(
|
|
711
|
-
function
|
|
675
|
+
})(Q || (Q = {}));
|
|
676
|
+
function qe(e) {
|
|
712
677
|
return e.type === T.literal;
|
|
713
678
|
}
|
|
714
|
-
function
|
|
679
|
+
function Ur(e) {
|
|
715
680
|
return e.type === T.argument;
|
|
716
681
|
}
|
|
717
|
-
function
|
|
682
|
+
function Tt(e) {
|
|
718
683
|
return e.type === T.number;
|
|
719
684
|
}
|
|
720
|
-
function
|
|
685
|
+
function Ct(e) {
|
|
721
686
|
return e.type === T.date;
|
|
722
687
|
}
|
|
723
|
-
function
|
|
688
|
+
function Ht(e) {
|
|
724
689
|
return e.type === T.time;
|
|
725
690
|
}
|
|
726
|
-
function
|
|
691
|
+
function At(e) {
|
|
727
692
|
return e.type === T.select;
|
|
728
693
|
}
|
|
729
|
-
function
|
|
694
|
+
function Bt(e) {
|
|
730
695
|
return e.type === T.plural;
|
|
731
696
|
}
|
|
732
|
-
function
|
|
697
|
+
function Gr(e) {
|
|
733
698
|
return e.type === T.pound;
|
|
734
699
|
}
|
|
735
|
-
function
|
|
700
|
+
function St(e) {
|
|
736
701
|
return e.type === T.tag;
|
|
737
702
|
}
|
|
738
|
-
function
|
|
739
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
703
|
+
function Ot(e) {
|
|
704
|
+
return !!(e && typeof e == "object" && e.type === Q.number);
|
|
740
705
|
}
|
|
741
|
-
function
|
|
742
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
706
|
+
function Ie(e) {
|
|
707
|
+
return !!(e && typeof e == "object" && e.type === Q.dateTime);
|
|
743
708
|
}
|
|
744
|
-
var
|
|
745
|
-
function
|
|
709
|
+
var Pt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Dr = /(?:[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;
|
|
710
|
+
function Fr(e) {
|
|
746
711
|
var t = {};
|
|
747
|
-
return e.replace(
|
|
712
|
+
return e.replace(Dr, function(r) {
|
|
748
713
|
var n = r.length;
|
|
749
714
|
switch (r[0]) {
|
|
750
715
|
case "G":
|
|
@@ -833,36 +798,36 @@ function Kr(e) {
|
|
|
833
798
|
return "";
|
|
834
799
|
}), t;
|
|
835
800
|
}
|
|
836
|
-
var
|
|
837
|
-
function
|
|
801
|
+
var jr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
802
|
+
function kr(e) {
|
|
838
803
|
if (e.length === 0)
|
|
839
804
|
throw new Error("Number skeleton cannot be empty");
|
|
840
|
-
for (var t = e.split(
|
|
841
|
-
return
|
|
805
|
+
for (var t = e.split(jr).filter(function(l) {
|
|
806
|
+
return l.length > 0;
|
|
842
807
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
843
808
|
var s = i[n], o = s.split("/");
|
|
844
809
|
if (o.length === 0)
|
|
845
810
|
throw new Error("Invalid number skeleton");
|
|
846
|
-
for (var u = o[0],
|
|
847
|
-
var c =
|
|
811
|
+
for (var u = o[0], f = o.slice(1), a = 0, h = f; a < h.length; a++) {
|
|
812
|
+
var c = h[a];
|
|
848
813
|
if (c.length === 0)
|
|
849
814
|
throw new Error("Invalid number skeleton");
|
|
850
815
|
}
|
|
851
|
-
r.push({ stem: u, options:
|
|
816
|
+
r.push({ stem: u, options: f });
|
|
852
817
|
}
|
|
853
818
|
return r;
|
|
854
819
|
}
|
|
855
|
-
function
|
|
820
|
+
function Vr(e) {
|
|
856
821
|
return e.replace(/^(.*?)-/, "");
|
|
857
822
|
}
|
|
858
|
-
var
|
|
859
|
-
function
|
|
823
|
+
var Ye = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, wt = /^(@+)?(\+|#+)?[rs]?$/g, Xr = /(\*)(0+)|(#+)(0+)|(0+)/g, Nt = /^(0+)$/;
|
|
824
|
+
function Ke(e) {
|
|
860
825
|
var t = {};
|
|
861
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
826
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(wt, function(r, n, i) {
|
|
862
827
|
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)), "";
|
|
863
828
|
}), t;
|
|
864
829
|
}
|
|
865
|
-
function
|
|
830
|
+
function It(e) {
|
|
866
831
|
switch (e) {
|
|
867
832
|
case "sign-auto":
|
|
868
833
|
return {
|
|
@@ -902,7 +867,7 @@ function Ft(e) {
|
|
|
902
867
|
};
|
|
903
868
|
}
|
|
904
869
|
}
|
|
905
|
-
function
|
|
870
|
+
function zr(e) {
|
|
906
871
|
var t;
|
|
907
872
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
908
873
|
notation: "engineering"
|
|
@@ -910,17 +875,17 @@ function sn(e) {
|
|
|
910
875
|
notation: "scientific"
|
|
911
876
|
}, e = e.slice(1)), t) {
|
|
912
877
|
var r = e.slice(0, 2);
|
|
913
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
878
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Nt.test(e))
|
|
914
879
|
throw new Error("Malformed concise eng/scientific notation");
|
|
915
880
|
t.minimumIntegerDigits = e.length;
|
|
916
881
|
}
|
|
917
882
|
return t;
|
|
918
883
|
}
|
|
919
|
-
function
|
|
920
|
-
var t = {}, r =
|
|
884
|
+
function et(e) {
|
|
885
|
+
var t = {}, r = It(e);
|
|
921
886
|
return r || t;
|
|
922
887
|
}
|
|
923
|
-
function
|
|
888
|
+
function Wr(e) {
|
|
924
889
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
925
890
|
var i = n[r];
|
|
926
891
|
switch (i.stem) {
|
|
@@ -944,7 +909,7 @@ function on(e) {
|
|
|
944
909
|
continue;
|
|
945
910
|
case "measure-unit":
|
|
946
911
|
case "unit":
|
|
947
|
-
t.style = "unit", t.unit =
|
|
912
|
+
t.style = "unit", t.unit = Vr(i.options[0]);
|
|
948
913
|
continue;
|
|
949
914
|
case "compact-short":
|
|
950
915
|
case "K":
|
|
@@ -955,13 +920,13 @@ function on(e) {
|
|
|
955
920
|
t.notation = "compact", t.compactDisplay = "long";
|
|
956
921
|
continue;
|
|
957
922
|
case "scientific":
|
|
958
|
-
t = x(x(x({}, t), { notation: "scientific" }), i.options.reduce(function(
|
|
959
|
-
return x(x({},
|
|
923
|
+
t = x(x(x({}, t), { notation: "scientific" }), i.options.reduce(function(f, a) {
|
|
924
|
+
return x(x({}, f), et(a));
|
|
960
925
|
}, {}));
|
|
961
926
|
continue;
|
|
962
927
|
case "engineering":
|
|
963
|
-
t = x(x(x({}, t), { notation: "engineering" }), i.options.reduce(function(
|
|
964
|
-
return x(x({},
|
|
928
|
+
t = x(x(x({}, t), { notation: "engineering" }), i.options.reduce(function(f, a) {
|
|
929
|
+
return x(x({}, f), et(a));
|
|
965
930
|
}, {}));
|
|
966
931
|
continue;
|
|
967
932
|
case "notation-simple":
|
|
@@ -1006,11 +971,11 @@ function on(e) {
|
|
|
1006
971
|
case "integer-width":
|
|
1007
972
|
if (i.options.length > 1)
|
|
1008
973
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1009
|
-
i.options[0].replace(
|
|
974
|
+
i.options[0].replace(Xr, function(f, a, h, c, l, d) {
|
|
1010
975
|
if (a)
|
|
1011
|
-
t.minimumIntegerDigits =
|
|
976
|
+
t.minimumIntegerDigits = h.length;
|
|
1012
977
|
else {
|
|
1013
|
-
if (c &&
|
|
978
|
+
if (c && l)
|
|
1014
979
|
throw new Error("We currently do not support maximum integer digits");
|
|
1015
980
|
if (d)
|
|
1016
981
|
throw new Error("We currently do not support exact integer digits");
|
|
@@ -1019,32 +984,32 @@ function on(e) {
|
|
|
1019
984
|
});
|
|
1020
985
|
continue;
|
|
1021
986
|
}
|
|
1022
|
-
if (
|
|
987
|
+
if (Nt.test(i.stem)) {
|
|
1023
988
|
t.minimumIntegerDigits = i.stem.length;
|
|
1024
989
|
continue;
|
|
1025
990
|
}
|
|
1026
|
-
if (
|
|
991
|
+
if (Ye.test(i.stem)) {
|
|
1027
992
|
if (i.options.length > 1)
|
|
1028
993
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1029
|
-
i.stem.replace(
|
|
1030
|
-
return
|
|
994
|
+
i.stem.replace(Ye, function(f, a, h, c, l, d) {
|
|
995
|
+
return h === "*" ? t.minimumFractionDigits = a.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : l && d ? (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length + d.length) : (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length), "";
|
|
1031
996
|
});
|
|
1032
997
|
var s = i.options[0];
|
|
1033
|
-
s === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = x(x({}, t),
|
|
998
|
+
s === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = x(x({}, t), Ke(s)));
|
|
1034
999
|
continue;
|
|
1035
1000
|
}
|
|
1036
|
-
if (
|
|
1037
|
-
t = x(x({}, t),
|
|
1001
|
+
if (wt.test(i.stem)) {
|
|
1002
|
+
t = x(x({}, t), Ke(i.stem));
|
|
1038
1003
|
continue;
|
|
1039
1004
|
}
|
|
1040
|
-
var o =
|
|
1005
|
+
var o = It(i.stem);
|
|
1041
1006
|
o && (t = x(x({}, t), o));
|
|
1042
|
-
var u =
|
|
1007
|
+
var u = zr(i.stem);
|
|
1043
1008
|
u && (t = x(x({}, t), u));
|
|
1044
1009
|
}
|
|
1045
1010
|
return t;
|
|
1046
1011
|
}
|
|
1047
|
-
var
|
|
1012
|
+
var le = {
|
|
1048
1013
|
"001": [
|
|
1049
1014
|
"H",
|
|
1050
1015
|
"h"
|
|
@@ -2459,22 +2424,22 @@ var fe = {
|
|
|
2459
2424
|
"h"
|
|
2460
2425
|
]
|
|
2461
2426
|
};
|
|
2462
|
-
function
|
|
2427
|
+
function Zr(e, t) {
|
|
2463
2428
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2464
2429
|
var i = e.charAt(n);
|
|
2465
2430
|
if (i === "j") {
|
|
2466
2431
|
for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2467
2432
|
s++, n++;
|
|
2468
|
-
var o = 1 + (s & 1), u = s < 2 ? 1 : 3 + (s >> 1),
|
|
2433
|
+
var o = 1 + (s & 1), u = s < 2 ? 1 : 3 + (s >> 1), f = "a", a = Qr(t);
|
|
2469
2434
|
for ((a == "H" || a == "k") && (u = 0); u-- > 0; )
|
|
2470
|
-
r +=
|
|
2435
|
+
r += f;
|
|
2471
2436
|
for (; o-- > 0; )
|
|
2472
2437
|
r = a + r;
|
|
2473
2438
|
} else i === "J" ? r += "H" : r += i;
|
|
2474
2439
|
}
|
|
2475
2440
|
return r;
|
|
2476
2441
|
}
|
|
2477
|
-
function
|
|
2442
|
+
function Qr(e) {
|
|
2478
2443
|
var t = e.hourCycle;
|
|
2479
2444
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2480
2445
|
e.hourCycles && // @ts-ignore
|
|
@@ -2493,23 +2458,23 @@ function un(e) {
|
|
|
2493
2458
|
}
|
|
2494
2459
|
var r = e.language, n;
|
|
2495
2460
|
r !== "root" && (n = e.maximize().region);
|
|
2496
|
-
var i =
|
|
2461
|
+
var i = le[n || ""] || le[r || ""] || le["".concat(r, "-001")] || le["001"];
|
|
2497
2462
|
return i[0];
|
|
2498
2463
|
}
|
|
2499
|
-
var
|
|
2500
|
-
function
|
|
2464
|
+
var Ae, Jr = new RegExp("^".concat(Pt.source, "*")), qr = new RegExp("".concat(Pt.source, "*$"));
|
|
2465
|
+
function _(e, t) {
|
|
2501
2466
|
return { start: e, end: t };
|
|
2502
2467
|
}
|
|
2503
|
-
var
|
|
2468
|
+
var Yr = !!String.prototype.startsWith && "_a".startsWith("a", 1), Kr = !!String.fromCodePoint, en = !!Object.fromEntries, tn = !!String.prototype.codePointAt, rn = !!String.prototype.trimStart, nn = !!String.prototype.trimEnd, sn = !!Number.isSafeInteger, on = sn ? Number.isSafeInteger : function(e) {
|
|
2504
2469
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2505
|
-
},
|
|
2470
|
+
}, Le = !0;
|
|
2506
2471
|
try {
|
|
2507
|
-
var
|
|
2508
|
-
|
|
2509
|
-
} catch
|
|
2510
|
-
|
|
2472
|
+
var an = Mt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2473
|
+
Le = ((Ae = an.exec("a")) === null || Ae === void 0 ? void 0 : Ae[0]) === "a";
|
|
2474
|
+
} catch {
|
|
2475
|
+
Le = !1;
|
|
2511
2476
|
}
|
|
2512
|
-
var
|
|
2477
|
+
var tt = Yr ? (
|
|
2513
2478
|
// Native
|
|
2514
2479
|
function(t, r, n) {
|
|
2515
2480
|
return t.startsWith(r, n);
|
|
@@ -2519,7 +2484,7 @@ var ht = fn ? (
|
|
|
2519
2484
|
function(t, r, n) {
|
|
2520
2485
|
return t.slice(n, n + r.length) === r;
|
|
2521
2486
|
}
|
|
2522
|
-
),
|
|
2487
|
+
), Me = Kr ? String.fromCodePoint : (
|
|
2523
2488
|
// IE11
|
|
2524
2489
|
function() {
|
|
2525
2490
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -2531,9 +2496,9 @@ var ht = fn ? (
|
|
|
2531
2496
|
}
|
|
2532
2497
|
return n;
|
|
2533
2498
|
}
|
|
2534
|
-
),
|
|
2499
|
+
), rt = (
|
|
2535
2500
|
// native
|
|
2536
|
-
|
|
2501
|
+
en ? Object.fromEntries : (
|
|
2537
2502
|
// Ponyfill
|
|
2538
2503
|
function(t) {
|
|
2539
2504
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -2543,7 +2508,7 @@ var ht = fn ? (
|
|
|
2543
2508
|
return r;
|
|
2544
2509
|
}
|
|
2545
2510
|
)
|
|
2546
|
-
),
|
|
2511
|
+
), Lt = tn ? (
|
|
2547
2512
|
// Native
|
|
2548
2513
|
function(t, r) {
|
|
2549
2514
|
return t.codePointAt(r);
|
|
@@ -2557,7 +2522,7 @@ var ht = fn ? (
|
|
|
2557
2522
|
return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
|
2558
2523
|
}
|
|
2559
2524
|
}
|
|
2560
|
-
),
|
|
2525
|
+
), un = rn ? (
|
|
2561
2526
|
// Native
|
|
2562
2527
|
function(t) {
|
|
2563
2528
|
return t.trimStart();
|
|
@@ -2565,9 +2530,9 @@ var ht = fn ? (
|
|
|
2565
2530
|
) : (
|
|
2566
2531
|
// Ponyfill
|
|
2567
2532
|
function(t) {
|
|
2568
|
-
return t.replace(
|
|
2533
|
+
return t.replace(Jr, "");
|
|
2569
2534
|
}
|
|
2570
|
-
),
|
|
2535
|
+
), hn = nn ? (
|
|
2571
2536
|
// Native
|
|
2572
2537
|
function(t) {
|
|
2573
2538
|
return t.trimEnd();
|
|
@@ -2575,32 +2540,32 @@ var ht = fn ? (
|
|
|
2575
2540
|
) : (
|
|
2576
2541
|
// Ponyfill
|
|
2577
2542
|
function(t) {
|
|
2578
|
-
return t.replace(
|
|
2543
|
+
return t.replace(qr, "");
|
|
2579
2544
|
}
|
|
2580
2545
|
);
|
|
2581
|
-
function
|
|
2546
|
+
function Mt(e, t) {
|
|
2582
2547
|
return new RegExp(e, t);
|
|
2583
2548
|
}
|
|
2584
|
-
var
|
|
2585
|
-
if (
|
|
2586
|
-
var
|
|
2587
|
-
|
|
2549
|
+
var $e;
|
|
2550
|
+
if (Le) {
|
|
2551
|
+
var nt = Mt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2552
|
+
$e = function(t, r) {
|
|
2588
2553
|
var n;
|
|
2589
|
-
|
|
2590
|
-
var i =
|
|
2554
|
+
nt.lastIndex = r;
|
|
2555
|
+
var i = nt.exec(t);
|
|
2591
2556
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
2592
2557
|
};
|
|
2593
2558
|
} else
|
|
2594
|
-
|
|
2559
|
+
$e = function(t, r) {
|
|
2595
2560
|
for (var n = []; ; ) {
|
|
2596
|
-
var i =
|
|
2597
|
-
if (i === void 0 ||
|
|
2561
|
+
var i = Lt(t, r);
|
|
2562
|
+
if (i === void 0 || $t(i) || gn(i))
|
|
2598
2563
|
break;
|
|
2599
2564
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
2600
2565
|
}
|
|
2601
|
-
return
|
|
2566
|
+
return Me.apply(void 0, n);
|
|
2602
2567
|
};
|
|
2603
|
-
var
|
|
2568
|
+
var ln = (
|
|
2604
2569
|
/** @class */
|
|
2605
2570
|
function() {
|
|
2606
2571
|
function e(t, r) {
|
|
@@ -2625,13 +2590,13 @@ var vn = (
|
|
|
2625
2590
|
var u = this.clonePosition();
|
|
2626
2591
|
this.bump(), i.push({
|
|
2627
2592
|
type: T.pound,
|
|
2628
|
-
location:
|
|
2593
|
+
location: _(u, this.clonePosition())
|
|
2629
2594
|
});
|
|
2630
2595
|
} else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
2631
2596
|
if (n)
|
|
2632
2597
|
break;
|
|
2633
|
-
return this.error(y.UNMATCHED_CLOSING_TAG,
|
|
2634
|
-
} else if (s === 60 && !this.ignoreTag &&
|
|
2598
|
+
return this.error(y.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
|
|
2599
|
+
} else if (s === 60 && !this.ignoreTag && Re(this.peek() || 0)) {
|
|
2635
2600
|
var o = this.parseTag(t, r);
|
|
2636
2601
|
if (o.err)
|
|
2637
2602
|
return o;
|
|
@@ -2654,7 +2619,7 @@ var vn = (
|
|
|
2654
2619
|
val: {
|
|
2655
2620
|
type: T.literal,
|
|
2656
2621
|
value: "<".concat(i, "/>"),
|
|
2657
|
-
location:
|
|
2622
|
+
location: _(n, this.clonePosition())
|
|
2658
2623
|
},
|
|
2659
2624
|
err: null
|
|
2660
2625
|
};
|
|
@@ -2664,25 +2629,25 @@ var vn = (
|
|
|
2664
2629
|
return s;
|
|
2665
2630
|
var o = s.val, u = this.clonePosition();
|
|
2666
2631
|
if (this.bumpIf("</")) {
|
|
2667
|
-
if (this.isEOF() || !
|
|
2668
|
-
return this.error(y.INVALID_TAG,
|
|
2669
|
-
var
|
|
2670
|
-
return i !== a ? this.error(y.UNMATCHED_CLOSING_TAG,
|
|
2632
|
+
if (this.isEOF() || !Re(this.char()))
|
|
2633
|
+
return this.error(y.INVALID_TAG, _(u, this.clonePosition()));
|
|
2634
|
+
var f = this.clonePosition(), a = this.parseTagName();
|
|
2635
|
+
return i !== a ? this.error(y.UNMATCHED_CLOSING_TAG, _(f, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2671
2636
|
val: {
|
|
2672
2637
|
type: T.tag,
|
|
2673
2638
|
value: i,
|
|
2674
2639
|
children: o,
|
|
2675
|
-
location:
|
|
2640
|
+
location: _(n, this.clonePosition())
|
|
2676
2641
|
},
|
|
2677
2642
|
err: null
|
|
2678
|
-
} : this.error(y.INVALID_TAG,
|
|
2643
|
+
} : this.error(y.INVALID_TAG, _(u, this.clonePosition())));
|
|
2679
2644
|
} else
|
|
2680
|
-
return this.error(y.UNCLOSED_TAG,
|
|
2645
|
+
return this.error(y.UNCLOSED_TAG, _(n, this.clonePosition()));
|
|
2681
2646
|
} else
|
|
2682
|
-
return this.error(y.INVALID_TAG,
|
|
2647
|
+
return this.error(y.INVALID_TAG, _(n, this.clonePosition()));
|
|
2683
2648
|
}, e.prototype.parseTagName = function() {
|
|
2684
2649
|
var t = this.offset();
|
|
2685
|
-
for (this.bump(); !this.isEOF() &&
|
|
2650
|
+
for (this.bump(); !this.isEOF() && cn(this.char()); )
|
|
2686
2651
|
this.bump();
|
|
2687
2652
|
return this.message.slice(t, this.offset());
|
|
2688
2653
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -2704,14 +2669,14 @@ var vn = (
|
|
|
2704
2669
|
}
|
|
2705
2670
|
break;
|
|
2706
2671
|
}
|
|
2707
|
-
var
|
|
2672
|
+
var f = _(n, this.clonePosition());
|
|
2708
2673
|
return {
|
|
2709
|
-
val: { type: T.literal, value: i, location:
|
|
2674
|
+
val: { type: T.literal, value: i, location: f },
|
|
2710
2675
|
err: null
|
|
2711
2676
|
};
|
|
2712
2677
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2713
2678
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2714
|
-
!
|
|
2679
|
+
!fn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2715
2680
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2716
2681
|
if (this.isEOF() || this.char() !== 39)
|
|
2717
2682
|
return null;
|
|
@@ -2745,23 +2710,23 @@ var vn = (
|
|
|
2745
2710
|
r.push(n);
|
|
2746
2711
|
this.bump();
|
|
2747
2712
|
}
|
|
2748
|
-
return
|
|
2713
|
+
return Me.apply(void 0, r);
|
|
2749
2714
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
2750
2715
|
if (this.isEOF())
|
|
2751
2716
|
return null;
|
|
2752
2717
|
var n = this.char();
|
|
2753
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
2718
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Me(n));
|
|
2754
2719
|
}, e.prototype.parseArgument = function(t, r) {
|
|
2755
2720
|
var n = this.clonePosition();
|
|
2756
2721
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
2757
|
-
return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
2722
|
+
return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
|
|
2758
2723
|
if (this.char() === 125)
|
|
2759
|
-
return this.bump(), this.error(y.EMPTY_ARGUMENT,
|
|
2724
|
+
return this.bump(), this.error(y.EMPTY_ARGUMENT, _(n, this.clonePosition()));
|
|
2760
2725
|
var i = this.parseIdentifierIfPossible().value;
|
|
2761
2726
|
if (!i)
|
|
2762
|
-
return this.error(y.MALFORMED_ARGUMENT,
|
|
2727
|
+
return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
|
|
2763
2728
|
if (this.bumpSpace(), this.isEOF())
|
|
2764
|
-
return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
2729
|
+
return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
|
|
2765
2730
|
switch (this.char()) {
|
|
2766
2731
|
case 125:
|
|
2767
2732
|
return this.bump(), {
|
|
@@ -2769,25 +2734,25 @@ var vn = (
|
|
|
2769
2734
|
type: T.argument,
|
|
2770
2735
|
// value does not include the opening and closing braces.
|
|
2771
2736
|
value: i,
|
|
2772
|
-
location:
|
|
2737
|
+
location: _(n, this.clonePosition())
|
|
2773
2738
|
},
|
|
2774
2739
|
err: null
|
|
2775
2740
|
};
|
|
2776
2741
|
case 44:
|
|
2777
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
2742
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
|
2778
2743
|
default:
|
|
2779
|
-
return this.error(y.MALFORMED_ARGUMENT,
|
|
2744
|
+
return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
|
|
2780
2745
|
}
|
|
2781
2746
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
2782
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
2747
|
+
var t = this.clonePosition(), r = this.offset(), n = $e(this.message, r), i = r + n.length;
|
|
2783
2748
|
this.bumpTo(i);
|
|
2784
|
-
var s = this.clonePosition(), o =
|
|
2749
|
+
var s = this.clonePosition(), o = _(t, s);
|
|
2785
2750
|
return { value: n, location: o };
|
|
2786
2751
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
2787
|
-
var s, o = this.clonePosition(), u = this.parseIdentifierIfPossible().value,
|
|
2752
|
+
var s, o = this.clonePosition(), u = this.parseIdentifierIfPossible().value, f = this.clonePosition();
|
|
2788
2753
|
switch (u) {
|
|
2789
2754
|
case "":
|
|
2790
|
-
return this.error(y.EXPECT_ARGUMENT_TYPE,
|
|
2755
|
+
return this.error(y.EXPECT_ARGUMENT_TYPE, _(o, f));
|
|
2791
2756
|
case "number":
|
|
2792
2757
|
case "date":
|
|
2793
2758
|
case "time": {
|
|
@@ -2795,40 +2760,40 @@ var vn = (
|
|
|
2795
2760
|
var a = null;
|
|
2796
2761
|
if (this.bumpIf(",")) {
|
|
2797
2762
|
this.bumpSpace();
|
|
2798
|
-
var
|
|
2763
|
+
var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
2799
2764
|
if (c.err)
|
|
2800
2765
|
return c;
|
|
2801
|
-
var
|
|
2802
|
-
if (
|
|
2803
|
-
return this.error(y.EXPECT_ARGUMENT_STYLE,
|
|
2804
|
-
var d =
|
|
2805
|
-
a = { style:
|
|
2766
|
+
var l = hn(c.val);
|
|
2767
|
+
if (l.length === 0)
|
|
2768
|
+
return this.error(y.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
|
|
2769
|
+
var d = _(h, this.clonePosition());
|
|
2770
|
+
a = { style: l, styleLocation: d };
|
|
2806
2771
|
}
|
|
2807
2772
|
var p = this.tryParseArgumentClose(i);
|
|
2808
2773
|
if (p.err)
|
|
2809
2774
|
return p;
|
|
2810
|
-
var g =
|
|
2811
|
-
if (a &&
|
|
2812
|
-
var
|
|
2775
|
+
var g = _(i, this.clonePosition());
|
|
2776
|
+
if (a && tt(a?.style, "::", 0)) {
|
|
2777
|
+
var E = un(a.style.slice(2));
|
|
2813
2778
|
if (u === "number") {
|
|
2814
|
-
var c = this.parseNumberSkeletonFromString(
|
|
2779
|
+
var c = this.parseNumberSkeletonFromString(E, a.styleLocation);
|
|
2815
2780
|
return c.err ? c : {
|
|
2816
2781
|
val: { type: T.number, value: n, location: g, style: c.val },
|
|
2817
2782
|
err: null
|
|
2818
2783
|
};
|
|
2819
2784
|
} else {
|
|
2820
|
-
if (
|
|
2785
|
+
if (E.length === 0)
|
|
2821
2786
|
return this.error(y.EXPECT_DATE_TIME_SKELETON, g);
|
|
2822
|
-
var m =
|
|
2823
|
-
this.locale && (m =
|
|
2824
|
-
var
|
|
2825
|
-
type:
|
|
2787
|
+
var m = E;
|
|
2788
|
+
this.locale && (m = Zr(E, this.locale));
|
|
2789
|
+
var l = {
|
|
2790
|
+
type: Q.dateTime,
|
|
2826
2791
|
pattern: m,
|
|
2827
2792
|
location: a.styleLocation,
|
|
2828
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2793
|
+
parsedOptions: this.shouldParseSkeletons ? Fr(m) : {}
|
|
2829
2794
|
}, C = u === "date" ? T.date : T.time;
|
|
2830
2795
|
return {
|
|
2831
|
-
val: { type: C, value: n, location: g, style:
|
|
2796
|
+
val: { type: C, value: n, location: g, style: l },
|
|
2832
2797
|
err: null
|
|
2833
2798
|
};
|
|
2834
2799
|
}
|
|
@@ -2838,7 +2803,7 @@ var vn = (
|
|
|
2838
2803
|
type: u === "number" ? T.number : u === "date" ? T.date : T.time,
|
|
2839
2804
|
value: n,
|
|
2840
2805
|
location: g,
|
|
2841
|
-
style: (s = a
|
|
2806
|
+
style: (s = a?.style) !== null && s !== void 0 ? s : null
|
|
2842
2807
|
},
|
|
2843
2808
|
err: null
|
|
2844
2809
|
};
|
|
@@ -2848,12 +2813,12 @@ var vn = (
|
|
|
2848
2813
|
case "select": {
|
|
2849
2814
|
var H = this.clonePosition();
|
|
2850
2815
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
2851
|
-
return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS,
|
|
2816
|
+
return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, _(H, x({}, H)));
|
|
2852
2817
|
this.bumpSpace();
|
|
2853
2818
|
var I = this.parseIdentifierIfPossible(), S = 0;
|
|
2854
2819
|
if (u !== "select" && I.value === "offset") {
|
|
2855
2820
|
if (!this.bumpIf(":"))
|
|
2856
|
-
return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,
|
|
2821
|
+
return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
|
|
2857
2822
|
this.bumpSpace();
|
|
2858
2823
|
var c = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
2859
2824
|
if (c.err)
|
|
@@ -2866,12 +2831,12 @@ var vn = (
|
|
|
2866
2831
|
var p = this.tryParseArgumentClose(i);
|
|
2867
2832
|
if (p.err)
|
|
2868
2833
|
return p;
|
|
2869
|
-
var w =
|
|
2834
|
+
var w = _(i, this.clonePosition());
|
|
2870
2835
|
return u === "select" ? {
|
|
2871
2836
|
val: {
|
|
2872
2837
|
type: T.select,
|
|
2873
2838
|
value: n,
|
|
2874
|
-
options:
|
|
2839
|
+
options: rt(A.val),
|
|
2875
2840
|
location: w
|
|
2876
2841
|
},
|
|
2877
2842
|
err: null
|
|
@@ -2879,7 +2844,7 @@ var vn = (
|
|
|
2879
2844
|
val: {
|
|
2880
2845
|
type: T.plural,
|
|
2881
2846
|
value: n,
|
|
2882
|
-
options:
|
|
2847
|
+
options: rt(A.val),
|
|
2883
2848
|
offset: S,
|
|
2884
2849
|
pluralType: u === "plural" ? "cardinal" : "ordinal",
|
|
2885
2850
|
location: w
|
|
@@ -2888,10 +2853,10 @@ var vn = (
|
|
|
2888
2853
|
};
|
|
2889
2854
|
}
|
|
2890
2855
|
default:
|
|
2891
|
-
return this.error(y.INVALID_ARGUMENT_TYPE,
|
|
2856
|
+
return this.error(y.INVALID_ARGUMENT_TYPE, _(o, f));
|
|
2892
2857
|
}
|
|
2893
2858
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
2894
|
-
return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
2859
|
+
return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
2895
2860
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
2896
2861
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
2897
2862
|
var n = this.char();
|
|
@@ -2900,7 +2865,7 @@ var vn = (
|
|
|
2900
2865
|
this.bump();
|
|
2901
2866
|
var i = this.clonePosition();
|
|
2902
2867
|
if (!this.bumpUntil("'"))
|
|
2903
|
-
return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,
|
|
2868
|
+
return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, _(i, this.clonePosition()));
|
|
2904
2869
|
this.bump();
|
|
2905
2870
|
break;
|
|
2906
2871
|
}
|
|
@@ -2930,37 +2895,37 @@ var vn = (
|
|
|
2930
2895
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
2931
2896
|
var n = [];
|
|
2932
2897
|
try {
|
|
2933
|
-
n =
|
|
2934
|
-
} catch
|
|
2898
|
+
n = kr(t);
|
|
2899
|
+
} catch {
|
|
2935
2900
|
return this.error(y.INVALID_NUMBER_SKELETON, r);
|
|
2936
2901
|
}
|
|
2937
2902
|
return {
|
|
2938
2903
|
val: {
|
|
2939
|
-
type:
|
|
2904
|
+
type: Q.number,
|
|
2940
2905
|
tokens: n,
|
|
2941
2906
|
location: r,
|
|
2942
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2907
|
+
parsedOptions: this.shouldParseSkeletons ? Wr(n) : {}
|
|
2943
2908
|
},
|
|
2944
2909
|
err: null
|
|
2945
2910
|
};
|
|
2946
2911
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
|
2947
|
-
for (var s, o = !1, u = [],
|
|
2912
|
+
for (var s, o = !1, u = [], f = /* @__PURE__ */ new Set(), a = i.value, h = i.location; ; ) {
|
|
2948
2913
|
if (a.length === 0) {
|
|
2949
2914
|
var c = this.clonePosition();
|
|
2950
2915
|
if (r !== "select" && this.bumpIf("=")) {
|
|
2951
|
-
var
|
|
2952
|
-
if (
|
|
2953
|
-
return
|
|
2954
|
-
|
|
2916
|
+
var l = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
2917
|
+
if (l.err)
|
|
2918
|
+
return l;
|
|
2919
|
+
h = _(c, this.clonePosition()), a = this.message.slice(c.offset, this.offset());
|
|
2955
2920
|
} else
|
|
2956
2921
|
break;
|
|
2957
2922
|
}
|
|
2958
|
-
if (
|
|
2959
|
-
return this.error(r === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,
|
|
2923
|
+
if (f.has(a))
|
|
2924
|
+
return this.error(r === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
|
|
2960
2925
|
a === "other" && (o = !0), this.bumpSpace();
|
|
2961
2926
|
var d = this.clonePosition();
|
|
2962
2927
|
if (!this.bumpIf("{"))
|
|
2963
|
-
return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,
|
|
2928
|
+
return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
|
|
2964
2929
|
var p = this.parseMessage(t + 1, r, n);
|
|
2965
2930
|
if (p.err)
|
|
2966
2931
|
return p;
|
|
@@ -2971,11 +2936,11 @@ var vn = (
|
|
|
2971
2936
|
a,
|
|
2972
2937
|
{
|
|
2973
2938
|
value: p.val,
|
|
2974
|
-
location:
|
|
2939
|
+
location: _(d, this.clonePosition())
|
|
2975
2940
|
}
|
|
2976
|
-
]),
|
|
2941
|
+
]), f.add(a), this.bumpSpace(), s = this.parseIdentifierIfPossible(), a = s.value, h = s.location;
|
|
2977
2942
|
}
|
|
2978
|
-
return u.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR,
|
|
2943
|
+
return u.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, _(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(y.MISSING_OTHER_CLAUSE, _(this.clonePosition(), this.clonePosition())) : { val: u, err: null };
|
|
2979
2944
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
2980
2945
|
var n = 1, i = this.clonePosition();
|
|
2981
2946
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
@@ -2986,8 +2951,8 @@ var vn = (
|
|
|
2986
2951
|
else
|
|
2987
2952
|
break;
|
|
2988
2953
|
}
|
|
2989
|
-
var
|
|
2990
|
-
return s ? (o *= n,
|
|
2954
|
+
var f = _(i, this.clonePosition());
|
|
2955
|
+
return s ? (o *= n, on(o) ? { val: o, err: null } : this.error(r, f)) : this.error(t, f);
|
|
2991
2956
|
}, e.prototype.offset = function() {
|
|
2992
2957
|
return this.position.offset;
|
|
2993
2958
|
}, e.prototype.isEOF = function() {
|
|
@@ -3002,7 +2967,7 @@ var vn = (
|
|
|
3002
2967
|
var t = this.position.offset;
|
|
3003
2968
|
if (t >= this.message.length)
|
|
3004
2969
|
throw Error("out of bound");
|
|
3005
|
-
var r =
|
|
2970
|
+
var r = Lt(this.message, t);
|
|
3006
2971
|
if (r === void 0)
|
|
3007
2972
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3008
2973
|
return r;
|
|
@@ -3021,7 +2986,7 @@ var vn = (
|
|
|
3021
2986
|
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);
|
|
3022
2987
|
}
|
|
3023
2988
|
}, e.prototype.bumpIf = function(t) {
|
|
3024
|
-
if (
|
|
2989
|
+
if (tt(this.message, t, this.offset())) {
|
|
3025
2990
|
for (var r = 0; r < t.length; r++)
|
|
3026
2991
|
this.bump();
|
|
3027
2992
|
return !0;
|
|
@@ -3043,56 +3008,56 @@ var vn = (
|
|
|
3043
3008
|
break;
|
|
3044
3009
|
}
|
|
3045
3010
|
}, e.prototype.bumpSpace = function() {
|
|
3046
|
-
for (; !this.isEOF() &&
|
|
3011
|
+
for (; !this.isEOF() && $t(this.char()); )
|
|
3047
3012
|
this.bump();
|
|
3048
3013
|
}, e.prototype.peek = function() {
|
|
3049
3014
|
if (this.isEOF())
|
|
3050
3015
|
return null;
|
|
3051
3016
|
var t = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
|
|
3052
|
-
return n
|
|
3017
|
+
return n ?? null;
|
|
3053
3018
|
}, e;
|
|
3054
3019
|
}()
|
|
3055
3020
|
);
|
|
3056
|
-
function
|
|
3021
|
+
function Re(e) {
|
|
3057
3022
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3058
3023
|
}
|
|
3059
|
-
function
|
|
3060
|
-
return
|
|
3024
|
+
function fn(e) {
|
|
3025
|
+
return Re(e) || e === 47;
|
|
3061
3026
|
}
|
|
3062
|
-
function
|
|
3027
|
+
function cn(e) {
|
|
3063
3028
|
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;
|
|
3064
3029
|
}
|
|
3065
|
-
function
|
|
3030
|
+
function $t(e) {
|
|
3066
3031
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3067
3032
|
}
|
|
3068
|
-
function
|
|
3033
|
+
function gn(e) {
|
|
3069
3034
|
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;
|
|
3070
3035
|
}
|
|
3071
|
-
function
|
|
3036
|
+
function Ue(e) {
|
|
3072
3037
|
e.forEach(function(t) {
|
|
3073
|
-
if (delete t.location,
|
|
3038
|
+
if (delete t.location, At(t) || Bt(t))
|
|
3074
3039
|
for (var r in t.options)
|
|
3075
|
-
delete t.options[r].location,
|
|
3076
|
-
else
|
|
3040
|
+
delete t.options[r].location, Ue(t.options[r].value);
|
|
3041
|
+
else Tt(t) && Ot(t.style) || (Ct(t) || Ht(t)) && Ie(t.style) ? delete t.style.location : St(t) && Ue(t.children);
|
|
3077
3042
|
});
|
|
3078
3043
|
}
|
|
3079
|
-
function
|
|
3044
|
+
function mn(e, t) {
|
|
3080
3045
|
t === void 0 && (t = {}), t = x({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3081
|
-
var r = new
|
|
3046
|
+
var r = new ln(e, t).parse();
|
|
3082
3047
|
if (r.err) {
|
|
3083
3048
|
var n = SyntaxError(y[r.err.kind]);
|
|
3084
3049
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3085
3050
|
}
|
|
3086
|
-
return t
|
|
3051
|
+
return t?.captureLocation || Ue(r.val), r.val;
|
|
3087
3052
|
}
|
|
3088
|
-
var
|
|
3053
|
+
var J;
|
|
3089
3054
|
(function(e) {
|
|
3090
3055
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3091
|
-
})(
|
|
3092
|
-
var
|
|
3056
|
+
})(J || (J = {}));
|
|
3057
|
+
var _e = (
|
|
3093
3058
|
/** @class */
|
|
3094
3059
|
function(e) {
|
|
3095
|
-
|
|
3060
|
+
ye(t, e);
|
|
3096
3061
|
function t(r, n, i) {
|
|
3097
3062
|
var s = e.call(this, r) || this;
|
|
3098
3063
|
return s.code = n, s.originalMessage = i, s;
|
|
@@ -3101,110 +3066,110 @@ var xe = (
|
|
|
3101
3066
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3102
3067
|
}, t;
|
|
3103
3068
|
}(Error)
|
|
3104
|
-
),
|
|
3069
|
+
), it = (
|
|
3105
3070
|
/** @class */
|
|
3106
3071
|
function(e) {
|
|
3107
|
-
|
|
3072
|
+
ye(t, e);
|
|
3108
3073
|
function t(r, n, i, s) {
|
|
3109
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3074
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), J.INVALID_VALUE, s) || this;
|
|
3110
3075
|
}
|
|
3111
3076
|
return t;
|
|
3112
|
-
}(
|
|
3113
|
-
),
|
|
3077
|
+
}(_e)
|
|
3078
|
+
), pn = (
|
|
3114
3079
|
/** @class */
|
|
3115
3080
|
function(e) {
|
|
3116
|
-
|
|
3081
|
+
ye(t, e);
|
|
3117
3082
|
function t(r, n, i) {
|
|
3118
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3083
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), J.INVALID_VALUE, i) || this;
|
|
3119
3084
|
}
|
|
3120
3085
|
return t;
|
|
3121
|
-
}(
|
|
3122
|
-
),
|
|
3086
|
+
}(_e)
|
|
3087
|
+
), dn = (
|
|
3123
3088
|
/** @class */
|
|
3124
3089
|
function(e) {
|
|
3125
|
-
|
|
3090
|
+
ye(t, e);
|
|
3126
3091
|
function t(r, n) {
|
|
3127
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3092
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), J.MISSING_VALUE, n) || this;
|
|
3128
3093
|
}
|
|
3129
3094
|
return t;
|
|
3130
|
-
}(
|
|
3095
|
+
}(_e)
|
|
3131
3096
|
), P;
|
|
3132
3097
|
(function(e) {
|
|
3133
3098
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3134
3099
|
})(P || (P = {}));
|
|
3135
|
-
function
|
|
3100
|
+
function bn(e) {
|
|
3136
3101
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3137
3102
|
var n = t[t.length - 1];
|
|
3138
3103
|
return !n || n.type !== P.literal || r.type !== P.literal ? t.push(r) : n.value += r.value, t;
|
|
3139
3104
|
}, []);
|
|
3140
3105
|
}
|
|
3141
|
-
function
|
|
3106
|
+
function yn(e) {
|
|
3142
3107
|
return typeof e == "function";
|
|
3143
3108
|
}
|
|
3144
|
-
function
|
|
3145
|
-
if (e.length === 1 &&
|
|
3109
|
+
function ce(e, t, r, n, i, s, o) {
|
|
3110
|
+
if (e.length === 1 && qe(e[0]))
|
|
3146
3111
|
return [
|
|
3147
3112
|
{
|
|
3148
3113
|
type: P.literal,
|
|
3149
3114
|
value: e[0].value
|
|
3150
3115
|
}
|
|
3151
3116
|
];
|
|
3152
|
-
for (var u = [],
|
|
3153
|
-
var
|
|
3154
|
-
if (
|
|
3117
|
+
for (var u = [], f = 0, a = e; f < a.length; f++) {
|
|
3118
|
+
var h = a[f];
|
|
3119
|
+
if (qe(h)) {
|
|
3155
3120
|
u.push({
|
|
3156
3121
|
type: P.literal,
|
|
3157
|
-
value:
|
|
3122
|
+
value: h.value
|
|
3158
3123
|
});
|
|
3159
3124
|
continue;
|
|
3160
3125
|
}
|
|
3161
|
-
if (
|
|
3126
|
+
if (Gr(h)) {
|
|
3162
3127
|
typeof s == "number" && u.push({
|
|
3163
3128
|
type: P.literal,
|
|
3164
3129
|
value: r.getNumberFormat(t).format(s)
|
|
3165
3130
|
});
|
|
3166
3131
|
continue;
|
|
3167
3132
|
}
|
|
3168
|
-
var c =
|
|
3133
|
+
var c = h.value;
|
|
3169
3134
|
if (!(i && c in i))
|
|
3170
|
-
throw new
|
|
3171
|
-
var
|
|
3172
|
-
if (
|
|
3173
|
-
(!
|
|
3174
|
-
type: typeof
|
|
3175
|
-
value:
|
|
3135
|
+
throw new dn(c, o);
|
|
3136
|
+
var l = i[c];
|
|
3137
|
+
if (Ur(h)) {
|
|
3138
|
+
(!l || typeof l == "string" || typeof l == "number") && (l = typeof l == "string" || typeof l == "number" ? String(l) : ""), u.push({
|
|
3139
|
+
type: typeof l == "string" ? P.literal : P.object,
|
|
3140
|
+
value: l
|
|
3176
3141
|
});
|
|
3177
3142
|
continue;
|
|
3178
3143
|
}
|
|
3179
|
-
if (
|
|
3180
|
-
var d = typeof
|
|
3144
|
+
if (Ct(h)) {
|
|
3145
|
+
var d = typeof h.style == "string" ? n.date[h.style] : Ie(h.style) ? h.style.parsedOptions : void 0;
|
|
3181
3146
|
u.push({
|
|
3182
3147
|
type: P.literal,
|
|
3183
|
-
value: r.getDateTimeFormat(t, d).format(
|
|
3148
|
+
value: r.getDateTimeFormat(t, d).format(l)
|
|
3184
3149
|
});
|
|
3185
3150
|
continue;
|
|
3186
3151
|
}
|
|
3187
|
-
if (
|
|
3188
|
-
var d = typeof
|
|
3152
|
+
if (Ht(h)) {
|
|
3153
|
+
var d = typeof h.style == "string" ? n.time[h.style] : Ie(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3189
3154
|
u.push({
|
|
3190
3155
|
type: P.literal,
|
|
3191
|
-
value: r.getDateTimeFormat(t, d).format(
|
|
3156
|
+
value: r.getDateTimeFormat(t, d).format(l)
|
|
3192
3157
|
});
|
|
3193
3158
|
continue;
|
|
3194
3159
|
}
|
|
3195
|
-
if (
|
|
3196
|
-
var d = typeof
|
|
3197
|
-
d && d.scale && (
|
|
3160
|
+
if (Tt(h)) {
|
|
3161
|
+
var d = typeof h.style == "string" ? n.number[h.style] : Ot(h.style) ? h.style.parsedOptions : void 0;
|
|
3162
|
+
d && d.scale && (l = l * (d.scale || 1)), u.push({
|
|
3198
3163
|
type: P.literal,
|
|
3199
|
-
value: r.getNumberFormat(t, d).format(
|
|
3164
|
+
value: r.getNumberFormat(t, d).format(l)
|
|
3200
3165
|
});
|
|
3201
3166
|
continue;
|
|
3202
3167
|
}
|
|
3203
|
-
if (
|
|
3204
|
-
var p =
|
|
3205
|
-
if (!
|
|
3206
|
-
throw new
|
|
3207
|
-
var m =
|
|
3168
|
+
if (St(h)) {
|
|
3169
|
+
var p = h.children, g = h.value, E = i[g];
|
|
3170
|
+
if (!yn(E))
|
|
3171
|
+
throw new pn(g, "function", o);
|
|
3172
|
+
var m = ce(p, t, r, n, i, s), C = E(m.map(function(S) {
|
|
3208
3173
|
return S.value;
|
|
3209
3174
|
}));
|
|
3210
3175
|
Array.isArray(C) || (C = [C]), u.push.apply(u, C.map(function(S) {
|
|
@@ -3214,42 +3179,42 @@ function ge(e, t, r, n, i, s, o) {
|
|
|
3214
3179
|
};
|
|
3215
3180
|
}));
|
|
3216
3181
|
}
|
|
3217
|
-
if (
|
|
3218
|
-
var H =
|
|
3182
|
+
if (At(h)) {
|
|
3183
|
+
var H = h.options[l] || h.options.other;
|
|
3219
3184
|
if (!H)
|
|
3220
|
-
throw new
|
|
3221
|
-
u.push.apply(u,
|
|
3185
|
+
throw new it(h.value, l, Object.keys(h.options), o);
|
|
3186
|
+
u.push.apply(u, ce(H.value, t, r, n, i));
|
|
3222
3187
|
continue;
|
|
3223
3188
|
}
|
|
3224
|
-
if (
|
|
3225
|
-
var H =
|
|
3189
|
+
if (Bt(h)) {
|
|
3190
|
+
var H = h.options["=".concat(l)];
|
|
3226
3191
|
if (!H) {
|
|
3227
3192
|
if (!Intl.PluralRules)
|
|
3228
|
-
throw new
|
|
3193
|
+
throw new _e(`Intl.PluralRules is not available in this environment.
|
|
3229
3194
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3230
|
-
`,
|
|
3231
|
-
var I = r.getPluralRules(t, { type:
|
|
3232
|
-
H =
|
|
3195
|
+
`, J.MISSING_INTL_API, o);
|
|
3196
|
+
var I = r.getPluralRules(t, { type: h.pluralType }).select(l - (h.offset || 0));
|
|
3197
|
+
H = h.options[I] || h.options.other;
|
|
3233
3198
|
}
|
|
3234
3199
|
if (!H)
|
|
3235
|
-
throw new
|
|
3236
|
-
u.push.apply(u,
|
|
3200
|
+
throw new it(h.value, l, Object.keys(h.options), o);
|
|
3201
|
+
u.push.apply(u, ce(H.value, t, r, n, i, l - (h.offset || 0)));
|
|
3237
3202
|
continue;
|
|
3238
3203
|
}
|
|
3239
3204
|
}
|
|
3240
|
-
return
|
|
3205
|
+
return bn(u);
|
|
3241
3206
|
}
|
|
3242
|
-
function
|
|
3207
|
+
function _n(e, t) {
|
|
3243
3208
|
return t ? x(x(x({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3244
3209
|
return r[n] = x(x({}, e[n]), t[n] || {}), r;
|
|
3245
3210
|
}, {})) : e;
|
|
3246
3211
|
}
|
|
3247
|
-
function
|
|
3212
|
+
function xn(e, t) {
|
|
3248
3213
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3249
|
-
return r[n] =
|
|
3214
|
+
return r[n] = _n(e[n], t[n]), r;
|
|
3250
3215
|
}, x({}, e)) : e;
|
|
3251
3216
|
}
|
|
3252
|
-
function
|
|
3217
|
+
function Be(e) {
|
|
3253
3218
|
return {
|
|
3254
3219
|
create: function() {
|
|
3255
3220
|
return {
|
|
@@ -3263,39 +3228,39 @@ function Oe(e) {
|
|
|
3263
3228
|
}
|
|
3264
3229
|
};
|
|
3265
3230
|
}
|
|
3266
|
-
function
|
|
3231
|
+
function En(e) {
|
|
3267
3232
|
return e === void 0 && (e = {
|
|
3268
3233
|
number: {},
|
|
3269
3234
|
dateTime: {},
|
|
3270
3235
|
pluralRules: {}
|
|
3271
3236
|
}), {
|
|
3272
|
-
getNumberFormat:
|
|
3237
|
+
getNumberFormat: Ce(function() {
|
|
3273
3238
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3274
3239
|
r[n] = arguments[n];
|
|
3275
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3240
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Te([void 0], r, !1)))();
|
|
3276
3241
|
}, {
|
|
3277
|
-
cache:
|
|
3278
|
-
strategy:
|
|
3242
|
+
cache: Be(e.number),
|
|
3243
|
+
strategy: He.variadic
|
|
3279
3244
|
}),
|
|
3280
|
-
getDateTimeFormat:
|
|
3245
|
+
getDateTimeFormat: Ce(function() {
|
|
3281
3246
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3282
3247
|
r[n] = arguments[n];
|
|
3283
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3248
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Te([void 0], r, !1)))();
|
|
3284
3249
|
}, {
|
|
3285
|
-
cache:
|
|
3286
|
-
strategy:
|
|
3250
|
+
cache: Be(e.dateTime),
|
|
3251
|
+
strategy: He.variadic
|
|
3287
3252
|
}),
|
|
3288
|
-
getPluralRules:
|
|
3253
|
+
getPluralRules: Ce(function() {
|
|
3289
3254
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3290
3255
|
r[n] = arguments[n];
|
|
3291
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3256
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Te([void 0], r, !1)))();
|
|
3292
3257
|
}, {
|
|
3293
|
-
cache:
|
|
3294
|
-
strategy:
|
|
3258
|
+
cache: Be(e.pluralRules),
|
|
3259
|
+
strategy: He.variadic
|
|
3295
3260
|
})
|
|
3296
3261
|
};
|
|
3297
3262
|
}
|
|
3298
|
-
var
|
|
3263
|
+
var vn = (
|
|
3299
3264
|
/** @class */
|
|
3300
3265
|
function() {
|
|
3301
3266
|
function e(t, r, n, i) {
|
|
@@ -3305,20 +3270,20 @@ var Ln = (
|
|
|
3305
3270
|
number: {},
|
|
3306
3271
|
dateTime: {},
|
|
3307
3272
|
pluralRules: {}
|
|
3308
|
-
}, this.format = function(
|
|
3309
|
-
var a = s.formatToParts(
|
|
3273
|
+
}, this.format = function(f) {
|
|
3274
|
+
var a = s.formatToParts(f);
|
|
3310
3275
|
if (a.length === 1)
|
|
3311
3276
|
return a[0].value;
|
|
3312
|
-
var
|
|
3313
|
-
return !c.length ||
|
|
3277
|
+
var h = a.reduce(function(c, l) {
|
|
3278
|
+
return !c.length || l.type !== P.literal || typeof c[c.length - 1] != "string" ? c.push(l.value) : c[c.length - 1] += l.value, c;
|
|
3314
3279
|
}, []);
|
|
3315
|
-
return
|
|
3316
|
-
}, this.formatToParts = function(
|
|
3317
|
-
return
|
|
3280
|
+
return h.length <= 1 ? h[0] || "" : h;
|
|
3281
|
+
}, this.formatToParts = function(f) {
|
|
3282
|
+
return ce(s.ast, s.locales, s.formatters, s.formats, f, void 0, s.message);
|
|
3318
3283
|
}, this.resolvedOptions = function() {
|
|
3319
|
-
var
|
|
3284
|
+
var f;
|
|
3320
3285
|
return {
|
|
3321
|
-
locale: ((
|
|
3286
|
+
locale: ((f = s.resolvedLocale) === null || f === void 0 ? void 0 : f.toString()) || Intl.NumberFormat.supportedLocalesOf(s.locales)[0]
|
|
3322
3287
|
};
|
|
3323
3288
|
}, this.getAst = function() {
|
|
3324
3289
|
return s.ast;
|
|
@@ -3327,13 +3292,13 @@ var Ln = (
|
|
|
3327
3292
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3328
3293
|
var o = i || {};
|
|
3329
3294
|
o.formatters;
|
|
3330
|
-
var u =
|
|
3295
|
+
var u = Pr(o, ["formatters"]);
|
|
3331
3296
|
this.ast = e.__parse(t, x(x({}, u), { locale: this.resolvedLocale }));
|
|
3332
3297
|
} else
|
|
3333
3298
|
this.ast = t;
|
|
3334
3299
|
if (!Array.isArray(this.ast))
|
|
3335
3300
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3336
|
-
this.formats =
|
|
3301
|
+
this.formats = xn(e.formats, n), this.formatters = i && i.formatters || En(this.formatterCache);
|
|
3337
3302
|
}
|
|
3338
3303
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3339
3304
|
get: function() {
|
|
@@ -3342,11 +3307,11 @@ var Ln = (
|
|
|
3342
3307
|
enumerable: !1,
|
|
3343
3308
|
configurable: !0
|
|
3344
3309
|
}), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
|
|
3345
|
-
if (typeof Intl.Locale
|
|
3310
|
+
if (!(typeof Intl.Locale > "u")) {
|
|
3346
3311
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3347
3312
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3348
3313
|
}
|
|
3349
|
-
}, e.__parse =
|
|
3314
|
+
}, e.__parse = mn, e.formats = {
|
|
3350
3315
|
number: {
|
|
3351
3316
|
integer: {
|
|
3352
3317
|
maximumFractionDigits: 0
|
|
@@ -3407,7 +3372,7 @@ var Ln = (
|
|
|
3407
3372
|
}, e;
|
|
3408
3373
|
}()
|
|
3409
3374
|
);
|
|
3410
|
-
function
|
|
3375
|
+
function Tn(e, t) {
|
|
3411
3376
|
if (t == null)
|
|
3412
3377
|
return;
|
|
3413
3378
|
if (t in e)
|
|
@@ -3428,92 +3393,92 @@ function Mn(e, t) {
|
|
|
3428
3393
|
n = void 0;
|
|
3429
3394
|
return n;
|
|
3430
3395
|
}
|
|
3431
|
-
const
|
|
3396
|
+
const G = {}, Cn = (e, t, r) => r && (t in G || (G[t] = {}), e in G[t] || (G[t][e] = r), r), Rt = (e, t) => {
|
|
3432
3397
|
if (t == null)
|
|
3433
3398
|
return;
|
|
3434
|
-
if (t in
|
|
3435
|
-
return
|
|
3436
|
-
const r =
|
|
3399
|
+
if (t in G && e in G[t])
|
|
3400
|
+
return G[t][e];
|
|
3401
|
+
const r = xe(t);
|
|
3437
3402
|
for (let n = 0; n < r.length; n++) {
|
|
3438
|
-
const i = r[n], s =
|
|
3403
|
+
const i = r[n], s = An(i, e);
|
|
3439
3404
|
if (s)
|
|
3440
|
-
return
|
|
3405
|
+
return Cn(e, t, s);
|
|
3441
3406
|
}
|
|
3442
3407
|
};
|
|
3443
|
-
let
|
|
3444
|
-
const
|
|
3445
|
-
function
|
|
3446
|
-
return
|
|
3408
|
+
let Ve;
|
|
3409
|
+
const ae = be({});
|
|
3410
|
+
function Hn(e) {
|
|
3411
|
+
return Ve[e] || null;
|
|
3447
3412
|
}
|
|
3448
|
-
function
|
|
3449
|
-
return e in
|
|
3413
|
+
function Ut(e) {
|
|
3414
|
+
return e in Ve;
|
|
3450
3415
|
}
|
|
3451
|
-
function
|
|
3452
|
-
if (!
|
|
3416
|
+
function An(e, t) {
|
|
3417
|
+
if (!Ut(e))
|
|
3453
3418
|
return null;
|
|
3454
|
-
const r =
|
|
3455
|
-
return
|
|
3419
|
+
const r = Hn(e);
|
|
3420
|
+
return Tn(r, t);
|
|
3456
3421
|
}
|
|
3457
|
-
function
|
|
3422
|
+
function Bn(e) {
|
|
3458
3423
|
if (e == null)
|
|
3459
3424
|
return;
|
|
3460
|
-
const t =
|
|
3425
|
+
const t = xe(e);
|
|
3461
3426
|
for (let r = 0; r < t.length; r++) {
|
|
3462
3427
|
const n = t[r];
|
|
3463
|
-
if (
|
|
3428
|
+
if (Ut(n))
|
|
3464
3429
|
return n;
|
|
3465
3430
|
}
|
|
3466
3431
|
}
|
|
3467
|
-
function
|
|
3468
|
-
delete
|
|
3432
|
+
function Gt(e, ...t) {
|
|
3433
|
+
delete G[e], ae.update((r) => (r[e] = Or.all([r[e] || {}, ...t]), r));
|
|
3469
3434
|
}
|
|
3470
|
-
|
|
3471
|
-
[
|
|
3435
|
+
K(
|
|
3436
|
+
[ae],
|
|
3472
3437
|
([e]) => Object.keys(e)
|
|
3473
3438
|
);
|
|
3474
|
-
|
|
3475
|
-
const
|
|
3476
|
-
function
|
|
3477
|
-
|
|
3439
|
+
ae.subscribe((e) => Ve = e);
|
|
3440
|
+
const ge = {};
|
|
3441
|
+
function Sn(e, t) {
|
|
3442
|
+
ge[e].delete(t), ge[e].size === 0 && delete ge[e];
|
|
3478
3443
|
}
|
|
3479
|
-
function
|
|
3480
|
-
return
|
|
3444
|
+
function Dt(e) {
|
|
3445
|
+
return ge[e];
|
|
3481
3446
|
}
|
|
3482
|
-
function
|
|
3483
|
-
return
|
|
3484
|
-
const r =
|
|
3447
|
+
function On(e) {
|
|
3448
|
+
return xe(e).map((t) => {
|
|
3449
|
+
const r = Dt(t);
|
|
3485
3450
|
return [t, r ? [...r] : []];
|
|
3486
3451
|
}).filter(([, t]) => t.length > 0);
|
|
3487
3452
|
}
|
|
3488
|
-
function
|
|
3489
|
-
return e == null ? !1 :
|
|
3453
|
+
function Ge(e) {
|
|
3454
|
+
return e == null ? !1 : xe(e).some(
|
|
3490
3455
|
(t) => {
|
|
3491
3456
|
var r;
|
|
3492
|
-
return (r =
|
|
3457
|
+
return (r = Dt(t)) == null ? void 0 : r.size;
|
|
3493
3458
|
}
|
|
3494
3459
|
);
|
|
3495
3460
|
}
|
|
3496
|
-
function
|
|
3461
|
+
function Pn(e, t) {
|
|
3497
3462
|
return Promise.all(
|
|
3498
|
-
t.map((n) => (
|
|
3499
|
-
).then((n) =>
|
|
3500
|
-
}
|
|
3501
|
-
const
|
|
3502
|
-
function
|
|
3503
|
-
if (!
|
|
3504
|
-
return e in
|
|
3505
|
-
const t =
|
|
3506
|
-
return
|
|
3463
|
+
t.map((n) => (Sn(e, n), n().then((i) => i.default || i)))
|
|
3464
|
+
).then((n) => Gt(e, ...n));
|
|
3465
|
+
}
|
|
3466
|
+
const re = {};
|
|
3467
|
+
function Ft(e) {
|
|
3468
|
+
if (!Ge(e))
|
|
3469
|
+
return e in re ? re[e] : Promise.resolve();
|
|
3470
|
+
const t = On(e);
|
|
3471
|
+
return re[e] = Promise.all(
|
|
3507
3472
|
t.map(
|
|
3508
|
-
([r, n]) =>
|
|
3473
|
+
([r, n]) => Pn(r, n)
|
|
3509
3474
|
)
|
|
3510
3475
|
).then(() => {
|
|
3511
|
-
if (
|
|
3512
|
-
return
|
|
3513
|
-
delete
|
|
3514
|
-
}),
|
|
3476
|
+
if (Ge(e))
|
|
3477
|
+
return Ft(e);
|
|
3478
|
+
delete re[e];
|
|
3479
|
+
}), re[e];
|
|
3515
3480
|
}
|
|
3516
|
-
const
|
|
3481
|
+
const wn = {
|
|
3517
3482
|
number: {
|
|
3518
3483
|
scientific: { notation: "scientific" },
|
|
3519
3484
|
engineering: { notation: "engineering" },
|
|
@@ -3542,178 +3507,178 @@ const kn = {
|
|
|
3542
3507
|
timeZoneName: "short"
|
|
3543
3508
|
}
|
|
3544
3509
|
}
|
|
3545
|
-
},
|
|
3510
|
+
}, Nn = {
|
|
3546
3511
|
fallbackLocale: null,
|
|
3547
3512
|
loadingDelay: 200,
|
|
3548
|
-
formats:
|
|
3513
|
+
formats: wn,
|
|
3549
3514
|
warnOnMissingMessages: !0,
|
|
3550
3515
|
handleMissingMessage: void 0,
|
|
3551
3516
|
ignoreTag: !0
|
|
3552
|
-
},
|
|
3553
|
-
function
|
|
3554
|
-
return
|
|
3555
|
-
}
|
|
3556
|
-
const
|
|
3557
|
-
var
|
|
3558
|
-
for (var r in t
|
|
3559
|
-
|
|
3560
|
-
if (
|
|
3561
|
-
for (var r of
|
|
3562
|
-
|
|
3517
|
+
}, In = Nn;
|
|
3518
|
+
function q() {
|
|
3519
|
+
return In;
|
|
3520
|
+
}
|
|
3521
|
+
const Se = be(!1);
|
|
3522
|
+
var Ln = Object.defineProperty, Mn = Object.defineProperties, $n = Object.getOwnPropertyDescriptors, st = Object.getOwnPropertySymbols, Rn = Object.prototype.hasOwnProperty, Un = Object.prototype.propertyIsEnumerable, ot = (e, t, r) => t in e ? Ln(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Gn = (e, t) => {
|
|
3523
|
+
for (var r in t)
|
|
3524
|
+
Rn.call(t, r) && ot(e, r, t[r]);
|
|
3525
|
+
if (st)
|
|
3526
|
+
for (var r of st(t))
|
|
3527
|
+
Un.call(t, r) && ot(e, r, t[r]);
|
|
3563
3528
|
return e;
|
|
3564
|
-
},
|
|
3565
|
-
let
|
|
3566
|
-
const
|
|
3567
|
-
function
|
|
3529
|
+
}, Dn = (e, t) => Mn(e, $n(t));
|
|
3530
|
+
let De;
|
|
3531
|
+
const pe = be(null);
|
|
3532
|
+
function at(e) {
|
|
3568
3533
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
3569
3534
|
}
|
|
3570
|
-
function
|
|
3571
|
-
const r =
|
|
3572
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
3535
|
+
function xe(e, t = q().fallbackLocale) {
|
|
3536
|
+
const r = at(e);
|
|
3537
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...at(t)])] : r;
|
|
3573
3538
|
}
|
|
3574
|
-
function
|
|
3575
|
-
return
|
|
3539
|
+
function k() {
|
|
3540
|
+
return De ?? void 0;
|
|
3576
3541
|
}
|
|
3577
|
-
|
|
3578
|
-
|
|
3542
|
+
pe.subscribe((e) => {
|
|
3543
|
+
De = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3579
3544
|
});
|
|
3580
|
-
const
|
|
3581
|
-
if (e &&
|
|
3582
|
-
const { loadingDelay: t } =
|
|
3545
|
+
const Fn = (e) => {
|
|
3546
|
+
if (e && Bn(e) && Ge(e)) {
|
|
3547
|
+
const { loadingDelay: t } = q();
|
|
3583
3548
|
let r;
|
|
3584
|
-
return typeof window
|
|
3585
|
-
() =>
|
|
3549
|
+
return typeof window < "u" && k() != null && t ? r = window.setTimeout(
|
|
3550
|
+
() => Se.set(!0),
|
|
3586
3551
|
t
|
|
3587
|
-
) :
|
|
3588
|
-
|
|
3552
|
+
) : Se.set(!0), Ft(e).then(() => {
|
|
3553
|
+
pe.set(e);
|
|
3589
3554
|
}).finally(() => {
|
|
3590
|
-
clearTimeout(r),
|
|
3555
|
+
clearTimeout(r), Se.set(!1);
|
|
3591
3556
|
});
|
|
3592
3557
|
}
|
|
3593
|
-
return
|
|
3594
|
-
},
|
|
3595
|
-
set:
|
|
3596
|
-
}),
|
|
3558
|
+
return pe.set(e);
|
|
3559
|
+
}, ee = Dn(Gn({}, pe), {
|
|
3560
|
+
set: Fn
|
|
3561
|
+
}), Ee = (e) => {
|
|
3597
3562
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3598
3563
|
return (n) => {
|
|
3599
3564
|
const i = JSON.stringify(n);
|
|
3600
3565
|
return i in t ? t[i] : t[i] = e(n);
|
|
3601
3566
|
};
|
|
3602
3567
|
};
|
|
3603
|
-
var
|
|
3568
|
+
var jn = Object.defineProperty, de = Object.getOwnPropertySymbols, jt = Object.prototype.hasOwnProperty, kt = Object.prototype.propertyIsEnumerable, ut = (e, t, r) => t in e ? jn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Xe = (e, t) => {
|
|
3604
3569
|
for (var r in t || (t = {}))
|
|
3605
|
-
|
|
3606
|
-
if (
|
|
3607
|
-
for (var r of
|
|
3608
|
-
|
|
3570
|
+
jt.call(t, r) && ut(e, r, t[r]);
|
|
3571
|
+
if (de)
|
|
3572
|
+
for (var r of de(t))
|
|
3573
|
+
kt.call(t, r) && ut(e, r, t[r]);
|
|
3609
3574
|
return e;
|
|
3610
|
-
},
|
|
3575
|
+
}, te = (e, t) => {
|
|
3611
3576
|
var r = {};
|
|
3612
3577
|
for (var n in e)
|
|
3613
|
-
|
|
3614
|
-
if (e != null &&
|
|
3615
|
-
for (var n of
|
|
3616
|
-
t.indexOf(n) < 0 &&
|
|
3578
|
+
jt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
3579
|
+
if (e != null && de)
|
|
3580
|
+
for (var n of de(e))
|
|
3581
|
+
t.indexOf(n) < 0 && kt.call(e, n) && (r[n] = e[n]);
|
|
3617
3582
|
return r;
|
|
3618
3583
|
};
|
|
3619
|
-
const
|
|
3620
|
-
const { formats: r } =
|
|
3584
|
+
const se = (e, t) => {
|
|
3585
|
+
const { formats: r } = q();
|
|
3621
3586
|
if (e in r && t in r[e])
|
|
3622
3587
|
return r[e][t];
|
|
3623
3588
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3624
|
-
},
|
|
3589
|
+
}, kn = Ee(
|
|
3625
3590
|
(e) => {
|
|
3626
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
3591
|
+
var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
|
|
3627
3592
|
if (r == null)
|
|
3628
3593
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3629
|
-
return n && (i =
|
|
3594
|
+
return n && (i = se("number", n)), new Intl.NumberFormat(r, i);
|
|
3630
3595
|
}
|
|
3631
|
-
),
|
|
3596
|
+
), Vn = Ee(
|
|
3632
3597
|
(e) => {
|
|
3633
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
3598
|
+
var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
|
|
3634
3599
|
if (r == null)
|
|
3635
3600
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3636
|
-
return n ? i =
|
|
3601
|
+
return n ? i = se("date", n) : Object.keys(i).length === 0 && (i = se("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
3637
3602
|
}
|
|
3638
|
-
),
|
|
3603
|
+
), Xn = Ee(
|
|
3639
3604
|
(e) => {
|
|
3640
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
3605
|
+
var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
|
|
3641
3606
|
if (r == null)
|
|
3642
3607
|
throw new Error(
|
|
3643
3608
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
3644
3609
|
);
|
|
3645
|
-
return n ? i =
|
|
3610
|
+
return n ? i = se("time", n) : Object.keys(i).length === 0 && (i = se("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
3646
3611
|
}
|
|
3647
|
-
),
|
|
3612
|
+
), zn = (e = {}) => {
|
|
3648
3613
|
var t = e, {
|
|
3649
|
-
locale: r =
|
|
3650
|
-
} = t, n =
|
|
3614
|
+
locale: r = k()
|
|
3615
|
+
} = t, n = te(t, [
|
|
3651
3616
|
"locale"
|
|
3652
3617
|
]);
|
|
3653
|
-
return
|
|
3654
|
-
},
|
|
3618
|
+
return kn(Xe({ locale: r }, n));
|
|
3619
|
+
}, Wn = (e = {}) => {
|
|
3655
3620
|
var t = e, {
|
|
3656
|
-
locale: r =
|
|
3657
|
-
} = t, n =
|
|
3621
|
+
locale: r = k()
|
|
3622
|
+
} = t, n = te(t, [
|
|
3658
3623
|
"locale"
|
|
3659
3624
|
]);
|
|
3660
|
-
return
|
|
3661
|
-
},
|
|
3625
|
+
return Vn(Xe({ locale: r }, n));
|
|
3626
|
+
}, Zn = (e = {}) => {
|
|
3662
3627
|
var t = e, {
|
|
3663
|
-
locale: r =
|
|
3664
|
-
} = t, n =
|
|
3628
|
+
locale: r = k()
|
|
3629
|
+
} = t, n = te(t, [
|
|
3665
3630
|
"locale"
|
|
3666
3631
|
]);
|
|
3667
|
-
return
|
|
3668
|
-
},
|
|
3632
|
+
return Xn(Xe({ locale: r }, n));
|
|
3633
|
+
}, Qn = Ee(
|
|
3669
3634
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3670
|
-
(e, t =
|
|
3671
|
-
ignoreTag:
|
|
3635
|
+
(e, t = k()) => new vn(e, t, q().formats, {
|
|
3636
|
+
ignoreTag: q().ignoreTag
|
|
3672
3637
|
})
|
|
3673
|
-
),
|
|
3638
|
+
), Jn = (e, t = {}) => {
|
|
3674
3639
|
var r, n, i, s;
|
|
3675
3640
|
let o = t;
|
|
3676
3641
|
typeof e == "object" && (o = e, e = o.id);
|
|
3677
3642
|
const {
|
|
3678
3643
|
values: u,
|
|
3679
|
-
locale:
|
|
3644
|
+
locale: f = k(),
|
|
3680
3645
|
default: a
|
|
3681
3646
|
} = o;
|
|
3682
|
-
if (
|
|
3647
|
+
if (f == null)
|
|
3683
3648
|
throw new Error(
|
|
3684
3649
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3685
3650
|
);
|
|
3686
|
-
let
|
|
3687
|
-
if (!
|
|
3688
|
-
|
|
3689
|
-
else if (typeof
|
|
3651
|
+
let h = Rt(e, f);
|
|
3652
|
+
if (!h)
|
|
3653
|
+
h = (s = (i = (n = (r = q()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: f, id: e, defaultValue: a })) != null ? i : a) != null ? s : e;
|
|
3654
|
+
else if (typeof h != "string")
|
|
3690
3655
|
return console.warn(
|
|
3691
|
-
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof
|
|
3692
|
-
),
|
|
3656
|
+
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
3657
|
+
), h;
|
|
3693
3658
|
if (!u)
|
|
3694
|
-
return
|
|
3695
|
-
let c =
|
|
3659
|
+
return h;
|
|
3660
|
+
let c = h;
|
|
3696
3661
|
try {
|
|
3697
|
-
c =
|
|
3698
|
-
} catch (
|
|
3699
|
-
|
|
3662
|
+
c = Qn(h, f).format(u);
|
|
3663
|
+
} catch (l) {
|
|
3664
|
+
l instanceof Error && console.warn(
|
|
3700
3665
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
3701
|
-
|
|
3666
|
+
l.message
|
|
3702
3667
|
);
|
|
3703
3668
|
}
|
|
3704
3669
|
return c;
|
|
3705
|
-
},
|
|
3706
|
-
|
|
3707
|
-
|
|
3708
|
-
|
|
3709
|
-
|
|
3710
|
-
function
|
|
3711
|
-
|
|
3712
|
-
}
|
|
3713
|
-
function
|
|
3714
|
-
|
|
3715
|
-
}
|
|
3716
|
-
const
|
|
3670
|
+
}, qn = (e, t) => Zn(t).format(e), Yn = (e, t) => Wn(t).format(e), Kn = (e, t) => zn(t).format(e), ei = (e, t = k()) => Rt(e, t), ti = K([ee, ae], () => Jn);
|
|
3671
|
+
K([ee], () => qn);
|
|
3672
|
+
K([ee], () => Yn);
|
|
3673
|
+
K([ee], () => Kn);
|
|
3674
|
+
K([ee, ae], () => ei);
|
|
3675
|
+
function ht(e, t) {
|
|
3676
|
+
Gt(e, t);
|
|
3677
|
+
}
|
|
3678
|
+
function ri(e) {
|
|
3679
|
+
ee.set(e);
|
|
3680
|
+
}
|
|
3681
|
+
const lt = {
|
|
3717
3682
|
en: {
|
|
3718
3683
|
topCategories: "Top Categories",
|
|
3719
3684
|
otherCategories: "Other Categories",
|
|
@@ -3823,84 +3788,84 @@ const yt = {
|
|
|
3823
3788
|
games: "games"
|
|
3824
3789
|
}
|
|
3825
3790
|
};
|
|
3826
|
-
function
|
|
3827
|
-
|
|
3791
|
+
function ni(e) {
|
|
3792
|
+
Qt(e, "svelte-131a9uf", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.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}");
|
|
3828
3793
|
}
|
|
3829
|
-
function
|
|
3794
|
+
function ft(e, t, r) {
|
|
3830
3795
|
const n = e.slice();
|
|
3831
3796
|
return n[24] = t[r], n;
|
|
3832
3797
|
}
|
|
3833
|
-
function
|
|
3798
|
+
function ct(e, t, r) {
|
|
3834
3799
|
const n = e.slice();
|
|
3835
3800
|
return n[24] = t[r], n;
|
|
3836
3801
|
}
|
|
3837
|
-
function
|
|
3802
|
+
function ii(e) {
|
|
3838
3803
|
let t, r, n = (
|
|
3839
3804
|
/*$_*/
|
|
3840
3805
|
e[5]("topCategories") + ""
|
|
3841
|
-
), i, s, o, u,
|
|
3806
|
+
), i, s, o, u, f = (
|
|
3842
3807
|
/*$_*/
|
|
3843
3808
|
e[5]("otherCategories") + ""
|
|
3844
|
-
), a,
|
|
3809
|
+
), a, h, c = he(
|
|
3845
3810
|
/*topCategories*/
|
|
3846
3811
|
e[3]
|
|
3847
|
-
),
|
|
3812
|
+
), l = [];
|
|
3848
3813
|
for (let g = 0; g < c.length; g += 1)
|
|
3849
|
-
|
|
3850
|
-
let d =
|
|
3814
|
+
l[g] = gt(ct(e, c, g));
|
|
3815
|
+
let d = he(
|
|
3851
3816
|
/*otherCategories*/
|
|
3852
3817
|
e[4]
|
|
3853
3818
|
), p = [];
|
|
3854
3819
|
for (let g = 0; g < d.length; g += 1)
|
|
3855
|
-
p[g] =
|
|
3820
|
+
p[g] = mt(ft(e, d, g));
|
|
3856
3821
|
return {
|
|
3857
3822
|
c() {
|
|
3858
|
-
t = O("div"), r = O("h4"), i =
|
|
3859
|
-
for (let g = 0; g <
|
|
3860
|
-
|
|
3861
|
-
o =
|
|
3823
|
+
t = O("div"), r = O("h4"), i = R(n), s = $();
|
|
3824
|
+
for (let g = 0; g < l.length; g += 1)
|
|
3825
|
+
l[g].c();
|
|
3826
|
+
o = $(), u = O("h4"), a = R(f), h = $();
|
|
3862
3827
|
for (let g = 0; g < p.length; g += 1)
|
|
3863
3828
|
p[g].c();
|
|
3864
3829
|
B(r, "class", "CategoryTitle"), B(u, "class", "CategoryTitle"), B(t, "class", "CasinoCategories");
|
|
3865
3830
|
},
|
|
3866
|
-
m(g,
|
|
3867
|
-
|
|
3868
|
-
for (let m = 0; m <
|
|
3869
|
-
|
|
3870
|
-
v(t, o), v(t, u), v(u, a), v(t,
|
|
3831
|
+
m(g, E) {
|
|
3832
|
+
Y(g, t, E), v(t, r), v(r, i), v(t, s);
|
|
3833
|
+
for (let m = 0; m < l.length; m += 1)
|
|
3834
|
+
l[m] && l[m].m(t, null);
|
|
3835
|
+
v(t, o), v(t, u), v(u, a), v(t, h);
|
|
3871
3836
|
for (let m = 0; m < p.length; m += 1)
|
|
3872
3837
|
p[m] && p[m].m(t, null);
|
|
3873
3838
|
},
|
|
3874
|
-
p(g,
|
|
3875
|
-
if (
|
|
3839
|
+
p(g, E) {
|
|
3840
|
+
if (E & /*$_*/
|
|
3876
3841
|
32 && n !== (n = /*$_*/
|
|
3877
|
-
g[5]("topCategories") + "") &&
|
|
3842
|
+
g[5]("topCategories") + "") && D(i, n), E & /*activecategory, topCategories, openGameCategory, $_*/
|
|
3878
3843
|
105) {
|
|
3879
|
-
c =
|
|
3844
|
+
c = he(
|
|
3880
3845
|
/*topCategories*/
|
|
3881
3846
|
g[3]
|
|
3882
3847
|
);
|
|
3883
3848
|
let m;
|
|
3884
3849
|
for (m = 0; m < c.length; m += 1) {
|
|
3885
|
-
const C =
|
|
3886
|
-
|
|
3850
|
+
const C = ct(g, c, m);
|
|
3851
|
+
l[m] ? l[m].p(C, E) : (l[m] = gt(C), l[m].c(), l[m].m(t, o));
|
|
3887
3852
|
}
|
|
3888
|
-
for (; m <
|
|
3889
|
-
|
|
3890
|
-
|
|
3853
|
+
for (; m < l.length; m += 1)
|
|
3854
|
+
l[m].d(1);
|
|
3855
|
+
l.length = c.length;
|
|
3891
3856
|
}
|
|
3892
|
-
if (
|
|
3893
|
-
32 &&
|
|
3894
|
-
g[5]("otherCategories") + "") &&
|
|
3857
|
+
if (E & /*$_*/
|
|
3858
|
+
32 && f !== (f = /*$_*/
|
|
3859
|
+
g[5]("otherCategories") + "") && D(a, f), E & /*activecategory, otherCategories, openGameCategory, $_*/
|
|
3895
3860
|
113) {
|
|
3896
|
-
d =
|
|
3861
|
+
d = he(
|
|
3897
3862
|
/*otherCategories*/
|
|
3898
3863
|
g[4]
|
|
3899
3864
|
);
|
|
3900
3865
|
let m;
|
|
3901
3866
|
for (m = 0; m < d.length; m += 1) {
|
|
3902
|
-
const C =
|
|
3903
|
-
p[m] ? p[m].p(C,
|
|
3867
|
+
const C = ft(g, d, m);
|
|
3868
|
+
p[m] ? p[m].p(C, E) : (p[m] = mt(C), p[m].c(), p[m].m(t, null));
|
|
3904
3869
|
}
|
|
3905
3870
|
for (; m < p.length; m += 1)
|
|
3906
3871
|
p[m].d(1);
|
|
@@ -3908,36 +3873,36 @@ function di(e) {
|
|
|
3908
3873
|
}
|
|
3909
3874
|
},
|
|
3910
3875
|
d(g) {
|
|
3911
|
-
g &&
|
|
3876
|
+
g && j(t), Ze(l, g), Ze(p, g);
|
|
3912
3877
|
}
|
|
3913
3878
|
};
|
|
3914
3879
|
}
|
|
3915
|
-
function
|
|
3880
|
+
function si(e) {
|
|
3916
3881
|
let t;
|
|
3917
3882
|
return {
|
|
3918
3883
|
c() {
|
|
3919
3884
|
t = O("p"), t.textContent = "Loading, please wait...", B(t, "class", "Message");
|
|
3920
3885
|
},
|
|
3921
3886
|
m(r, n) {
|
|
3922
|
-
|
|
3887
|
+
Y(r, t, n);
|
|
3923
3888
|
},
|
|
3924
|
-
p:
|
|
3889
|
+
p: L,
|
|
3925
3890
|
d(r) {
|
|
3926
|
-
r &&
|
|
3891
|
+
r && j(t);
|
|
3927
3892
|
}
|
|
3928
3893
|
};
|
|
3929
3894
|
}
|
|
3930
|
-
function
|
|
3931
|
-
let t, r, n, i, s, o, u,
|
|
3895
|
+
function gt(e) {
|
|
3896
|
+
let t, r, n, i, s, o, u, f = (
|
|
3932
3897
|
/*category*/
|
|
3933
3898
|
e[24].name + ""
|
|
3934
|
-
), a,
|
|
3899
|
+
), a, h, c, l = (
|
|
3935
3900
|
/*category*/
|
|
3936
3901
|
e[24].games.count + ""
|
|
3937
3902
|
), d, p, g = (
|
|
3938
3903
|
/*$_*/
|
|
3939
3904
|
e[5]("games") + ""
|
|
3940
|
-
),
|
|
3905
|
+
), E, m, C, H;
|
|
3941
3906
|
function I() {
|
|
3942
3907
|
return (
|
|
3943
3908
|
/*click_handler*/
|
|
@@ -3949,47 +3914,47 @@ function _t(e) {
|
|
|
3949
3914
|
}
|
|
3950
3915
|
return {
|
|
3951
3916
|
c() {
|
|
3952
|
-
t = O("div"), r = O("img"), s =
|
|
3917
|
+
t = O("div"), r = O("img"), s = $(), o = O("div"), u = O("p"), a = R(f), h = $(), c = O("p"), d = R(l), p = $(), E = R(g), me(r.src, n = /*category*/
|
|
3953
3918
|
e[24].icon) || B(r, "src", n), B(r, "alt", i = /*category*/
|
|
3954
3919
|
e[24].name), B(r, "class", "CategoryImage"), B(o, "class", "CategoryTextContainer"), B(t, "class", m = "Category " + /*activecategory*/
|
|
3955
3920
|
(e[0] === /*category*/
|
|
3956
3921
|
e[24].id ? "Active" : ""));
|
|
3957
3922
|
},
|
|
3958
3923
|
m(S, A) {
|
|
3959
|
-
|
|
3924
|
+
Y(S, t, A), v(t, r), v(t, s), v(t, o), v(o, u), v(u, a), v(o, h), v(o, c), v(c, d), v(c, p), v(c, E), C || (H = yt(t, "click", I), C = !0);
|
|
3960
3925
|
},
|
|
3961
3926
|
p(S, A) {
|
|
3962
3927
|
e = S, A & /*topCategories*/
|
|
3963
|
-
8 && !
|
|
3928
|
+
8 && !me(r.src, n = /*category*/
|
|
3964
3929
|
e[24].icon) && B(r, "src", n), A & /*topCategories*/
|
|
3965
3930
|
8 && i !== (i = /*category*/
|
|
3966
3931
|
e[24].name) && B(r, "alt", i), A & /*topCategories*/
|
|
3967
|
-
8 && h !== (h = /*category*/
|
|
3968
|
-
e[24].name + "") && F(a, h), A & /*topCategories*/
|
|
3969
3932
|
8 && f !== (f = /*category*/
|
|
3970
|
-
e[24].
|
|
3933
|
+
e[24].name + "") && D(a, f), A & /*topCategories*/
|
|
3934
|
+
8 && l !== (l = /*category*/
|
|
3935
|
+
e[24].games.count + "") && D(d, l), A & /*$_*/
|
|
3971
3936
|
32 && g !== (g = /*$_*/
|
|
3972
|
-
e[5]("games") + "") &&
|
|
3937
|
+
e[5]("games") + "") && D(E, g), A & /*activecategory, topCategories*/
|
|
3973
3938
|
9 && m !== (m = "Category " + /*activecategory*/
|
|
3974
3939
|
(e[0] === /*category*/
|
|
3975
3940
|
e[24].id ? "Active" : "")) && B(t, "class", m);
|
|
3976
3941
|
},
|
|
3977
3942
|
d(S) {
|
|
3978
|
-
S &&
|
|
3943
|
+
S && j(t), C = !1, H();
|
|
3979
3944
|
}
|
|
3980
3945
|
};
|
|
3981
3946
|
}
|
|
3982
|
-
function
|
|
3983
|
-
let t, r, n, i, s, o, u,
|
|
3947
|
+
function mt(e) {
|
|
3948
|
+
let t, r, n, i, s, o, u, f = (
|
|
3984
3949
|
/*category*/
|
|
3985
3950
|
e[24].name + ""
|
|
3986
|
-
), a,
|
|
3951
|
+
), a, h, c, l = (
|
|
3987
3952
|
/*category*/
|
|
3988
3953
|
e[24].games.count + ""
|
|
3989
3954
|
), d, p, g = (
|
|
3990
3955
|
/*$_*/
|
|
3991
3956
|
e[5]("games") + ""
|
|
3992
|
-
),
|
|
3957
|
+
), E, m, C, H, I;
|
|
3993
3958
|
function S() {
|
|
3994
3959
|
return (
|
|
3995
3960
|
/*click_handler_1*/
|
|
@@ -4001,42 +3966,42 @@ function vt(e) {
|
|
|
4001
3966
|
}
|
|
4002
3967
|
return {
|
|
4003
3968
|
c() {
|
|
4004
|
-
t = O("div"), r = O("img"), s =
|
|
3969
|
+
t = O("div"), r = O("img"), s = $(), o = O("div"), u = O("p"), a = R(f), h = $(), c = O("p"), d = R(l), p = $(), E = R(g), m = $(), me(r.src, n = /*category*/
|
|
4005
3970
|
e[24].icon) || B(r, "src", n), B(r, "alt", i = /*category*/
|
|
4006
3971
|
e[24].name), B(r, "class", "CategoryImage"), B(o, "class", "CategoryTextContainer"), B(t, "class", C = "Category " + /*activecategory*/
|
|
4007
3972
|
(e[0] === /*category*/
|
|
4008
3973
|
e[24].id ? "Active" : ""));
|
|
4009
3974
|
},
|
|
4010
3975
|
m(A, w) {
|
|
4011
|
-
|
|
3976
|
+
Y(A, t, w), v(t, r), v(t, s), v(t, o), v(o, u), v(u, a), v(o, h), v(o, c), v(c, d), v(c, p), v(c, E), v(t, m), H || (I = yt(t, "click", S), H = !0);
|
|
4012
3977
|
},
|
|
4013
3978
|
p(A, w) {
|
|
4014
3979
|
e = A, w & /*otherCategories*/
|
|
4015
|
-
16 && !
|
|
3980
|
+
16 && !me(r.src, n = /*category*/
|
|
4016
3981
|
e[24].icon) && B(r, "src", n), w & /*otherCategories*/
|
|
4017
3982
|
16 && i !== (i = /*category*/
|
|
4018
3983
|
e[24].name) && B(r, "alt", i), w & /*otherCategories*/
|
|
4019
|
-
16 && h !== (h = /*category*/
|
|
4020
|
-
e[24].name + "") && F(a, h), w & /*otherCategories*/
|
|
4021
3984
|
16 && f !== (f = /*category*/
|
|
4022
|
-
e[24].
|
|
3985
|
+
e[24].name + "") && D(a, f), w & /*otherCategories*/
|
|
3986
|
+
16 && l !== (l = /*category*/
|
|
3987
|
+
e[24].games.count + "") && D(d, l), w & /*$_*/
|
|
4023
3988
|
32 && g !== (g = /*$_*/
|
|
4024
|
-
e[5]("games") + "") &&
|
|
3989
|
+
e[5]("games") + "") && D(E, g), w & /*activecategory, otherCategories*/
|
|
4025
3990
|
17 && C !== (C = "Category " + /*activecategory*/
|
|
4026
3991
|
(e[0] === /*category*/
|
|
4027
3992
|
e[24].id ? "Active" : "")) && B(t, "class", C);
|
|
4028
3993
|
},
|
|
4029
3994
|
d(A) {
|
|
4030
|
-
A &&
|
|
3995
|
+
A && j(t), H = !1, I();
|
|
4031
3996
|
}
|
|
4032
3997
|
};
|
|
4033
3998
|
}
|
|
4034
|
-
function
|
|
3999
|
+
function oi(e) {
|
|
4035
4000
|
let t;
|
|
4036
4001
|
function r(s, o) {
|
|
4037
4002
|
return (
|
|
4038
4003
|
/*isLoading*/
|
|
4039
|
-
s[2] ?
|
|
4004
|
+
s[2] ? si : ii
|
|
4040
4005
|
);
|
|
4041
4006
|
}
|
|
4042
4007
|
let n = r(e), i = n(e);
|
|
@@ -4045,31 +4010,31 @@ function yi(e) {
|
|
|
4045
4010
|
t = O("div"), i.c();
|
|
4046
4011
|
},
|
|
4047
4012
|
m(s, o) {
|
|
4048
|
-
|
|
4013
|
+
Y(s, t, o), i.m(t, null), e[16](t);
|
|
4049
4014
|
},
|
|
4050
4015
|
p(s, [o]) {
|
|
4051
4016
|
n === (n = r(s)) && i ? i.p(s, o) : (i.d(1), i = n(s), i && (i.c(), i.m(t, null)));
|
|
4052
4017
|
},
|
|
4053
|
-
i:
|
|
4054
|
-
o:
|
|
4018
|
+
i: L,
|
|
4019
|
+
o: L,
|
|
4055
4020
|
d(s) {
|
|
4056
|
-
s &&
|
|
4021
|
+
s && j(t), i.d(), e[16](null);
|
|
4057
4022
|
}
|
|
4058
4023
|
};
|
|
4059
4024
|
}
|
|
4060
|
-
function
|
|
4025
|
+
function ai(e, t, r) {
|
|
4061
4026
|
let n;
|
|
4062
|
-
|
|
4063
|
-
let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "en" } = t, { activecategory: u = "" } = t, { excludedflags:
|
|
4027
|
+
Zt(e, ti, (b) => r(5, n = b));
|
|
4028
|
+
let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "en" } = t, { activecategory: u = "" } = t, { excludedflags: f = "" } = t, { clientstyling: a = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: c = "" } = t, l, d = !1;
|
|
4064
4029
|
const p = [];
|
|
4065
|
-
let g = [],
|
|
4066
|
-
Object.keys(
|
|
4067
|
-
|
|
4030
|
+
let g = [], E = [];
|
|
4031
|
+
Object.keys(lt).forEach((b) => {
|
|
4032
|
+
ht(b, lt[b]);
|
|
4068
4033
|
});
|
|
4069
4034
|
const m = () => {
|
|
4070
4035
|
fetch(c).then((N) => N.json()).then((N) => {
|
|
4071
|
-
Object.keys(N).forEach((
|
|
4072
|
-
|
|
4036
|
+
Object.keys(N).forEach((U) => {
|
|
4037
|
+
ht(U, N[U]);
|
|
4073
4038
|
});
|
|
4074
4039
|
}).catch((N) => {
|
|
4075
4040
|
console.log(N);
|
|
@@ -4079,27 +4044,24 @@ function Ei(e, t, r) {
|
|
|
4079
4044
|
const b = new URL(`${i}/v1/casino/groups/${s}`);
|
|
4080
4045
|
b.searchParams.append("language", o), fetch(b).then((N) => N.json()).then((N) => {
|
|
4081
4046
|
r(2, d = !1);
|
|
4082
|
-
const
|
|
4047
|
+
const U = f.split(",").map((F) => F.trim());
|
|
4083
4048
|
p.push(...N.items);
|
|
4084
|
-
const
|
|
4085
|
-
|
|
4086
|
-
return ((Je = j.flags) == null ? void 0 : Je.indexOf(er)) >= 0;
|
|
4087
|
-
}));
|
|
4088
|
-
r(3, g = Qe.filter((j) => j.isTopCategory === !0)), r(4, _ = Qe.filter((j) => j.isTopCategory === !1));
|
|
4049
|
+
const ze = p.filter((F) => !U.some((zt) => F.flags?.indexOf(zt) >= 0));
|
|
4050
|
+
r(3, g = ze.filter((F) => F.isTopCategory === !0)), r(4, E = ze.filter((F) => F.isTopCategory === !1));
|
|
4089
4051
|
});
|
|
4090
4052
|
}, H = (b) => {
|
|
4091
4053
|
window.postMessage({ type: "OpenGameCategory", categoryId: b }, window.location.href);
|
|
4092
4054
|
}, I = () => {
|
|
4093
|
-
|
|
4055
|
+
ri(o);
|
|
4094
4056
|
}, S = () => {
|
|
4095
4057
|
let b = document.createElement("style");
|
|
4096
|
-
b.innerHTML = a,
|
|
4058
|
+
b.innerHTML = a, l.appendChild(b);
|
|
4097
4059
|
}, A = () => {
|
|
4098
|
-
let b = new URL(
|
|
4099
|
-
fetch(b.href).then((
|
|
4100
|
-
N.innerHTML =
|
|
4060
|
+
let b = new URL(h), N = document.createElement("style");
|
|
4061
|
+
fetch(b.href).then((U) => U.text()).then((U) => {
|
|
4062
|
+
N.innerHTML = U, setTimeout(
|
|
4101
4063
|
() => {
|
|
4102
|
-
|
|
4064
|
+
l.appendChild(N);
|
|
4103
4065
|
},
|
|
4104
4066
|
1
|
|
4105
4067
|
), setTimeout(
|
|
@@ -4108,49 +4070,49 @@ function Ei(e, t, r) {
|
|
|
4108
4070
|
500
|
|
4109
4071
|
);
|
|
4110
4072
|
});
|
|
4111
|
-
}, w = (b) => H(b.id),
|
|
4112
|
-
function
|
|
4113
|
-
|
|
4114
|
-
|
|
4073
|
+
}, w = (b) => H(b.id), Vt = (b) => H(b.id);
|
|
4074
|
+
function Xt(b) {
|
|
4075
|
+
Oe[b ? "unshift" : "push"](() => {
|
|
4076
|
+
l = b, r(1, l);
|
|
4115
4077
|
});
|
|
4116
4078
|
}
|
|
4117
4079
|
return e.$$set = (b) => {
|
|
4118
|
-
"endpoint" in b && r(7, i = b.endpoint), "datasource" in b && r(8, s = b.datasource), "lang" in b && r(9, o = b.lang), "activecategory" in b && r(0, u = b.activecategory), "excludedflags" in b && r(10,
|
|
4080
|
+
"endpoint" in b && r(7, i = b.endpoint), "datasource" in b && r(8, s = b.datasource), "lang" in b && r(9, o = b.lang), "activecategory" in b && r(0, u = b.activecategory), "excludedflags" in b && r(10, f = b.excludedflags), "clientstyling" in b && r(11, a = b.clientstyling), "clientstylingurl" in b && r(12, h = b.clientstylingurl), "translationurl" in b && r(13, c = b.translationurl);
|
|
4119
4081
|
}, e.$$.update = () => {
|
|
4120
4082
|
e.$$.dirty & /*endpoint, datasource*/
|
|
4121
4083
|
384 && i && s && C(), e.$$.dirty & /*translationurl*/
|
|
4122
4084
|
8192 && c && m(), e.$$.dirty & /*lang*/
|
|
4123
4085
|
512 && o && I(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4124
|
-
2050 && a &&
|
|
4125
|
-
4098 &&
|
|
4086
|
+
2050 && a && l && S(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4087
|
+
4098 && h && l && A();
|
|
4126
4088
|
}, [
|
|
4127
4089
|
u,
|
|
4128
|
-
|
|
4090
|
+
l,
|
|
4129
4091
|
d,
|
|
4130
4092
|
g,
|
|
4131
|
-
|
|
4093
|
+
E,
|
|
4132
4094
|
n,
|
|
4133
4095
|
H,
|
|
4134
4096
|
i,
|
|
4135
4097
|
s,
|
|
4136
4098
|
o,
|
|
4137
|
-
|
|
4099
|
+
f,
|
|
4138
4100
|
a,
|
|
4139
|
-
|
|
4101
|
+
h,
|
|
4140
4102
|
c,
|
|
4141
4103
|
w,
|
|
4142
|
-
|
|
4143
|
-
|
|
4104
|
+
Vt,
|
|
4105
|
+
Xt
|
|
4144
4106
|
];
|
|
4145
4107
|
}
|
|
4146
|
-
class
|
|
4108
|
+
class ui extends fr {
|
|
4147
4109
|
constructor(t) {
|
|
4148
|
-
super(),
|
|
4110
|
+
super(), hr(
|
|
4149
4111
|
this,
|
|
4150
4112
|
t,
|
|
4151
|
-
|
|
4152
|
-
|
|
4153
|
-
|
|
4113
|
+
ai,
|
|
4114
|
+
oi,
|
|
4115
|
+
dt,
|
|
4154
4116
|
{
|
|
4155
4117
|
endpoint: 7,
|
|
4156
4118
|
datasource: 8,
|
|
@@ -4161,59 +4123,59 @@ class xi extends Cr {
|
|
|
4161
4123
|
clientstylingurl: 12,
|
|
4162
4124
|
translationurl: 13
|
|
4163
4125
|
},
|
|
4164
|
-
|
|
4126
|
+
ni
|
|
4165
4127
|
);
|
|
4166
4128
|
}
|
|
4167
4129
|
get endpoint() {
|
|
4168
4130
|
return this.$$.ctx[7];
|
|
4169
4131
|
}
|
|
4170
4132
|
set endpoint(t) {
|
|
4171
|
-
this.$$set({ endpoint: t }),
|
|
4133
|
+
this.$$set({ endpoint: t }), M();
|
|
4172
4134
|
}
|
|
4173
4135
|
get datasource() {
|
|
4174
4136
|
return this.$$.ctx[8];
|
|
4175
4137
|
}
|
|
4176
4138
|
set datasource(t) {
|
|
4177
|
-
this.$$set({ datasource: t }),
|
|
4139
|
+
this.$$set({ datasource: t }), M();
|
|
4178
4140
|
}
|
|
4179
4141
|
get lang() {
|
|
4180
4142
|
return this.$$.ctx[9];
|
|
4181
4143
|
}
|
|
4182
4144
|
set lang(t) {
|
|
4183
|
-
this.$$set({ lang: t }),
|
|
4145
|
+
this.$$set({ lang: t }), M();
|
|
4184
4146
|
}
|
|
4185
4147
|
get activecategory() {
|
|
4186
4148
|
return this.$$.ctx[0];
|
|
4187
4149
|
}
|
|
4188
4150
|
set activecategory(t) {
|
|
4189
|
-
this.$$set({ activecategory: t }),
|
|
4151
|
+
this.$$set({ activecategory: t }), M();
|
|
4190
4152
|
}
|
|
4191
4153
|
get excludedflags() {
|
|
4192
4154
|
return this.$$.ctx[10];
|
|
4193
4155
|
}
|
|
4194
4156
|
set excludedflags(t) {
|
|
4195
|
-
this.$$set({ excludedflags: t }),
|
|
4157
|
+
this.$$set({ excludedflags: t }), M();
|
|
4196
4158
|
}
|
|
4197
4159
|
get clientstyling() {
|
|
4198
4160
|
return this.$$.ctx[11];
|
|
4199
4161
|
}
|
|
4200
4162
|
set clientstyling(t) {
|
|
4201
|
-
this.$$set({ clientstyling: t }),
|
|
4163
|
+
this.$$set({ clientstyling: t }), M();
|
|
4202
4164
|
}
|
|
4203
4165
|
get clientstylingurl() {
|
|
4204
4166
|
return this.$$.ctx[12];
|
|
4205
4167
|
}
|
|
4206
4168
|
set clientstylingurl(t) {
|
|
4207
|
-
this.$$set({ clientstylingurl: t }),
|
|
4169
|
+
this.$$set({ clientstylingurl: t }), M();
|
|
4208
4170
|
}
|
|
4209
4171
|
get translationurl() {
|
|
4210
4172
|
return this.$$.ctx[13];
|
|
4211
4173
|
}
|
|
4212
4174
|
set translationurl(t) {
|
|
4213
|
-
this.$$set({ translationurl: t }),
|
|
4175
|
+
this.$$set({ translationurl: t }), M();
|
|
4214
4176
|
}
|
|
4215
4177
|
}
|
|
4216
|
-
|
|
4178
|
+
lr(ui, { endpoint: {}, datasource: {}, lang: {}, activecategory: {}, excludedflags: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
|
|
4217
4179
|
export {
|
|
4218
|
-
|
|
4180
|
+
ui as C
|
|
4219
4181
|
};
|