@everymatrix/casino-403 1.52.6 → 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.
@@ -1,75 +1,46 @@
|
|
1
|
-
|
2
|
-
var Ft = Object.getOwnPropertyDescriptors;
|
3
|
-
var Ve = Object.getOwnPropertySymbols;
|
4
|
-
var jt = Object.prototype.hasOwnProperty, Vt = Object.prototype.propertyIsEnumerable;
|
5
|
-
var pe = (e, t, r) => t in e ? Ut(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ke = (e, t) => {
|
6
|
-
for (var r in t || (t = {}))
|
7
|
-
jt.call(t, r) && pe(e, r, t[r]);
|
8
|
-
if (Ve)
|
9
|
-
for (var r of Ve(t))
|
10
|
-
Vt.call(t, r) && pe(e, r, t[r]);
|
11
|
-
return e;
|
12
|
-
}, Xe = (e, t) => Gt(e, Ft(t));
|
13
|
-
var A = (e, t, r) => pe(e, typeof t != "symbol" ? t + "" : t, r);
|
14
|
-
var ze = (e, t, r) => new Promise((n, i) => {
|
15
|
-
var s = (h) => {
|
16
|
-
try {
|
17
|
-
a(r.next(h));
|
18
|
-
} catch (u) {
|
19
|
-
i(u);
|
20
|
-
}
|
21
|
-
}, o = (h) => {
|
22
|
-
try {
|
23
|
-
a(r.throw(h));
|
24
|
-
} catch (u) {
|
25
|
-
i(u);
|
26
|
-
}
|
27
|
-
}, a = (h) => h.done ? n(h.value) : Promise.resolve(h.value).then(s, o);
|
28
|
-
a((r = r.apply(e, t)).next());
|
29
|
-
});
|
30
|
-
function w() {
|
1
|
+
function A() {
|
31
2
|
}
|
32
|
-
function
|
3
|
+
function nt(e) {
|
33
4
|
return e();
|
34
5
|
}
|
35
|
-
function
|
6
|
+
function Ge() {
|
36
7
|
return /* @__PURE__ */ Object.create(null);
|
37
8
|
}
|
38
|
-
function
|
39
|
-
e.forEach(
|
9
|
+
function K(e) {
|
10
|
+
e.forEach(nt);
|
40
11
|
}
|
41
|
-
function
|
12
|
+
function Ce(e) {
|
42
13
|
return typeof e == "function";
|
43
14
|
}
|
44
|
-
function
|
15
|
+
function it(e, t) {
|
45
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
46
17
|
}
|
47
|
-
function
|
18
|
+
function Lt(e) {
|
48
19
|
return Object.keys(e).length === 0;
|
49
20
|
}
|
50
|
-
function
|
21
|
+
function st(e, ...t) {
|
51
22
|
if (e == null) {
|
52
23
|
for (const n of t)
|
53
24
|
n(void 0);
|
54
|
-
return
|
25
|
+
return A;
|
55
26
|
}
|
56
27
|
const r = e.subscribe(...t);
|
57
28
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
58
29
|
}
|
59
|
-
function
|
60
|
-
e.$$.on_destroy.push(
|
30
|
+
function It(e, t, r) {
|
31
|
+
e.$$.on_destroy.push(st(t, r));
|
61
32
|
}
|
62
33
|
function T(e, t) {
|
63
34
|
e.appendChild(t);
|
64
35
|
}
|
65
|
-
function
|
66
|
-
const n =
|
36
|
+
function Ct(e, t, r) {
|
37
|
+
const n = $t(e);
|
67
38
|
if (!n.getElementById(t)) {
|
68
|
-
const i =
|
69
|
-
i.id = t, i.textContent = r,
|
39
|
+
const i = I("style");
|
40
|
+
i.id = t, i.textContent = r, Mt(n, i);
|
70
41
|
}
|
71
42
|
}
|
72
|
-
function
|
43
|
+
function $t(e) {
|
73
44
|
if (!e) return document;
|
74
45
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
75
46
|
return t && /** @type {ShadowRoot} */
|
@@ -78,45 +49,45 @@ function Wt(e) {
|
|
78
49
|
t
|
79
50
|
) : e.ownerDocument;
|
80
51
|
}
|
81
|
-
function
|
52
|
+
function Mt(e, t) {
|
82
53
|
return T(
|
83
54
|
/** @type {Document} */
|
84
55
|
e.head || e,
|
85
56
|
t
|
86
57
|
), t.sheet;
|
87
58
|
}
|
88
|
-
function
|
59
|
+
function ot(e, t, r) {
|
89
60
|
e.insertBefore(t, r || null);
|
90
61
|
}
|
91
|
-
function
|
62
|
+
function $e(e) {
|
92
63
|
e.parentNode && e.parentNode.removeChild(e);
|
93
64
|
}
|
94
|
-
function
|
65
|
+
function I(e) {
|
95
66
|
return document.createElement(e);
|
96
67
|
}
|
97
|
-
function
|
68
|
+
function $(e) {
|
98
69
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
99
70
|
}
|
100
|
-
function
|
71
|
+
function re(e) {
|
101
72
|
return document.createTextNode(e);
|
102
73
|
}
|
103
|
-
function
|
104
|
-
return
|
74
|
+
function me() {
|
75
|
+
return re(" ");
|
105
76
|
}
|
106
|
-
function
|
77
|
+
function Rt(e, t, r, n) {
|
107
78
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
108
79
|
}
|
109
|
-
function
|
80
|
+
function E(e, t, r) {
|
110
81
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
111
82
|
}
|
112
|
-
function
|
83
|
+
function Dt(e) {
|
113
84
|
return Array.from(e.childNodes);
|
114
85
|
}
|
115
|
-
function
|
86
|
+
function pe(e, t) {
|
116
87
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
117
88
|
t);
|
118
89
|
}
|
119
|
-
function
|
90
|
+
function Ut(e) {
|
120
91
|
const t = {};
|
121
92
|
return e.childNodes.forEach(
|
122
93
|
/** @param {Element} node */
|
@@ -125,238 +96,234 @@ function Jt(e) {
|
|
125
96
|
}
|
126
97
|
), t;
|
127
98
|
}
|
128
|
-
let
|
129
|
-
function
|
130
|
-
|
99
|
+
let Me;
|
100
|
+
function Q(e) {
|
101
|
+
Me = e;
|
131
102
|
}
|
132
|
-
const
|
133
|
-
let
|
134
|
-
const
|
135
|
-
let
|
136
|
-
function
|
137
|
-
|
103
|
+
const D = [], _e = [];
|
104
|
+
let G = [];
|
105
|
+
const Fe = [], Gt = /* @__PURE__ */ Promise.resolve();
|
106
|
+
let He = !1;
|
107
|
+
function Ft() {
|
108
|
+
He || (He = !0, Gt.then(U));
|
138
109
|
}
|
139
|
-
function
|
140
|
-
|
110
|
+
function Te(e) {
|
111
|
+
G.push(e);
|
141
112
|
}
|
142
|
-
const
|
143
|
-
let
|
144
|
-
function
|
145
|
-
if (
|
113
|
+
const ge = /* @__PURE__ */ new Set();
|
114
|
+
let M = 0;
|
115
|
+
function U() {
|
116
|
+
if (M !== 0)
|
146
117
|
return;
|
147
|
-
const e =
|
118
|
+
const e = Me;
|
148
119
|
do {
|
149
120
|
try {
|
150
|
-
for (;
|
151
|
-
const t =
|
152
|
-
|
121
|
+
for (; M < D.length; ) {
|
122
|
+
const t = D[M];
|
123
|
+
M++, Q(t), jt(t.$$);
|
153
124
|
}
|
154
125
|
} catch (t) {
|
155
|
-
throw
|
126
|
+
throw D.length = 0, M = 0, t;
|
156
127
|
}
|
157
|
-
for (
|
158
|
-
for (let t = 0; t <
|
159
|
-
const r =
|
160
|
-
|
128
|
+
for (Q(null), D.length = 0, M = 0; _e.length; ) _e.pop()();
|
129
|
+
for (let t = 0; t < G.length; t += 1) {
|
130
|
+
const r = G[t];
|
131
|
+
ge.has(r) || (ge.add(r), r());
|
161
132
|
}
|
162
|
-
|
163
|
-
} while (
|
164
|
-
for (;
|
165
|
-
|
166
|
-
|
133
|
+
G.length = 0;
|
134
|
+
} while (D.length);
|
135
|
+
for (; Fe.length; )
|
136
|
+
Fe.pop()();
|
137
|
+
He = !1, ge.clear(), Q(e);
|
167
138
|
}
|
168
|
-
function
|
139
|
+
function jt(e) {
|
169
140
|
if (e.fragment !== null) {
|
170
|
-
e.update(),
|
141
|
+
e.update(), K(e.before_update);
|
171
142
|
const t = e.dirty;
|
172
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
143
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Te);
|
173
144
|
}
|
174
145
|
}
|
175
|
-
function
|
146
|
+
function Vt(e) {
|
176
147
|
const t = [], r = [];
|
177
|
-
|
148
|
+
G.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), G = t;
|
178
149
|
}
|
179
|
-
const
|
180
|
-
function
|
181
|
-
e && e.i && (
|
150
|
+
const kt = /* @__PURE__ */ new Set();
|
151
|
+
function Xt(e, t) {
|
152
|
+
e && e.i && (kt.delete(e), e.i(t));
|
182
153
|
}
|
183
|
-
function
|
154
|
+
function zt(e, t, r) {
|
184
155
|
const { fragment: n, after_update: i } = e.$$;
|
185
|
-
n && n.m(t, r),
|
186
|
-
const s = e.$$.on_mount.map(
|
187
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...s) :
|
188
|
-
}), i.forEach(
|
156
|
+
n && n.m(t, r), Te(() => {
|
157
|
+
const s = e.$$.on_mount.map(nt).filter(Ce);
|
158
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : K(s), e.$$.on_mount = [];
|
159
|
+
}), i.forEach(Te);
|
189
160
|
}
|
190
|
-
function
|
161
|
+
function Wt(e, t) {
|
191
162
|
const r = e.$$;
|
192
|
-
r.fragment !== null && (
|
163
|
+
r.fragment !== null && (Vt(r.after_update), K(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
193
164
|
}
|
194
|
-
function
|
195
|
-
e.$$.dirty[0] === -1 && (
|
165
|
+
function Zt(e, t) {
|
166
|
+
e.$$.dirty[0] === -1 && (D.push(e), Ft(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
196
167
|
}
|
197
|
-
function
|
198
|
-
const
|
199
|
-
|
168
|
+
function qt(e, t, r, n, i, s, a = null, o = [-1]) {
|
169
|
+
const l = Me;
|
170
|
+
Q(e);
|
200
171
|
const u = e.$$ = {
|
201
172
|
fragment: null,
|
202
173
|
ctx: [],
|
203
174
|
// state
|
204
175
|
props: s,
|
205
|
-
update:
|
176
|
+
update: A,
|
206
177
|
not_equal: i,
|
207
|
-
bound:
|
178
|
+
bound: Ge(),
|
208
179
|
// lifecycle
|
209
180
|
on_mount: [],
|
210
181
|
on_destroy: [],
|
211
182
|
on_disconnect: [],
|
212
183
|
before_update: [],
|
213
184
|
after_update: [],
|
214
|
-
context: new Map(t.context || (
|
185
|
+
context: new Map(t.context || (l ? l.$$.context : [])),
|
215
186
|
// everything else
|
216
|
-
callbacks:
|
217
|
-
dirty:
|
187
|
+
callbacks: Ge(),
|
188
|
+
dirty: o,
|
218
189
|
skip_bound: !1,
|
219
|
-
root: t.target ||
|
190
|
+
root: t.target || l.$$.root
|
220
191
|
};
|
221
|
-
|
222
|
-
let
|
223
|
-
if (u.ctx = r
|
192
|
+
a && a(u.root);
|
193
|
+
let h = !1;
|
194
|
+
if (u.ctx = r(e, t.props || {}, (c, f, ...b) => {
|
224
195
|
const y = b.length ? b[0] : f;
|
225
|
-
return u.ctx && i(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y),
|
226
|
-
})
|
196
|
+
return u.ctx && i(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), h && Zt(e, c)), f;
|
197
|
+
}), u.update(), h = !0, K(u.before_update), u.fragment = n(u.ctx), t.target) {
|
227
198
|
if (t.hydrate) {
|
228
|
-
const c =
|
229
|
-
u.fragment && u.fragment.l(c), c.forEach(
|
199
|
+
const c = Dt(t.target);
|
200
|
+
u.fragment && u.fragment.l(c), c.forEach($e);
|
230
201
|
} else
|
231
202
|
u.fragment && u.fragment.c();
|
232
|
-
t.intro &&
|
203
|
+
t.intro && Xt(e.$$.fragment), zt(e, t.target, t.anchor), U();
|
233
204
|
}
|
234
|
-
|
235
|
-
}
|
236
|
-
let
|
237
|
-
typeof HTMLElement == "function" && (
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
|
205
|
+
Q(l);
|
206
|
+
}
|
207
|
+
let at;
|
208
|
+
typeof HTMLElement == "function" && (at = class extends HTMLElement {
|
209
|
+
/** The Svelte component constructor */
|
210
|
+
$$ctor;
|
211
|
+
/** Slots */
|
212
|
+
$$s;
|
213
|
+
/** The Svelte component instance */
|
214
|
+
$$c;
|
215
|
+
/** Whether or not the custom element is connected */
|
216
|
+
$$cn = !1;
|
217
|
+
/** Component props data */
|
218
|
+
$$d = {};
|
219
|
+
/** `true` if currently in the process of reflecting component props back to attributes */
|
220
|
+
$$r = !1;
|
221
|
+
/** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
|
222
|
+
$$p_d = {};
|
223
|
+
/** @type {Record<string, Function[]>} Event listeners */
|
224
|
+
$$l = {};
|
225
|
+
/** @type {Map<Function, Function>} Event listener unsubscribe functions */
|
226
|
+
$$l_u = /* @__PURE__ */ new Map();
|
227
|
+
constructor(e, t, r) {
|
228
|
+
super(), this.$$ctor = e, this.$$s = t, r && this.attachShadow({ mode: "open" });
|
259
229
|
}
|
260
|
-
addEventListener(t, r
|
261
|
-
if (this.$$l[
|
262
|
-
const
|
263
|
-
this.$$l_u.set(
|
230
|
+
addEventListener(e, t, r) {
|
231
|
+
if (this.$$l[e] = this.$$l[e] || [], this.$$l[e].push(t), this.$$c) {
|
232
|
+
const n = this.$$c.$on(e, t);
|
233
|
+
this.$$l_u.set(t, n);
|
264
234
|
}
|
265
|
-
super.addEventListener(t, r
|
235
|
+
super.addEventListener(e, t, r);
|
266
236
|
}
|
267
|
-
removeEventListener(t, r
|
268
|
-
if (super.removeEventListener(t, r
|
269
|
-
const
|
270
|
-
|
237
|
+
removeEventListener(e, t, r) {
|
238
|
+
if (super.removeEventListener(e, t, r), this.$$c) {
|
239
|
+
const n = this.$$l_u.get(t);
|
240
|
+
n && (n(), this.$$l_u.delete(t));
|
271
241
|
}
|
272
242
|
}
|
273
|
-
connectedCallback() {
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
}
|
293
|
-
};
|
243
|
+
async connectedCallback() {
|
244
|
+
if (this.$$cn = !0, !this.$$c) {
|
245
|
+
let e = function(i) {
|
246
|
+
return () => {
|
247
|
+
let s;
|
248
|
+
return {
|
249
|
+
c: function() {
|
250
|
+
s = I("slot"), i !== "default" && E(s, "name", i);
|
251
|
+
},
|
252
|
+
/**
|
253
|
+
* @param {HTMLElement} target
|
254
|
+
* @param {HTMLElement} [anchor]
|
255
|
+
*/
|
256
|
+
m: function(l, u) {
|
257
|
+
ot(l, s, u);
|
258
|
+
},
|
259
|
+
d: function(l) {
|
260
|
+
l && $e(s);
|
261
|
+
}
|
294
262
|
};
|
295
263
|
};
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
264
|
+
};
|
265
|
+
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
266
|
+
return;
|
267
|
+
const t = {}, r = Ut(this);
|
268
|
+
for (const i of this.$$s)
|
269
|
+
i in r && (t[i] = [e(i)]);
|
270
|
+
for (const i of this.attributes) {
|
271
|
+
const s = this.$$g_p(i.name);
|
272
|
+
s in this.$$d || (this.$$d[s] = ne(s, i.value, this.$$p_d, "toProp"));
|
273
|
+
}
|
274
|
+
for (const i in this.$$p_d)
|
275
|
+
!(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
|
276
|
+
this.$$c = new this.$$ctor({
|
277
|
+
target: this.shadowRoot || this,
|
278
|
+
props: {
|
279
|
+
...this.$$d,
|
280
|
+
$$slots: t,
|
281
|
+
$$scope: {
|
282
|
+
ctx: []
|
283
|
+
}
|
304
284
|
}
|
305
|
-
|
306
|
-
|
307
|
-
this.$$
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
this.$$r = !0;
|
318
|
-
for (const s in this.$$p_d)
|
319
|
-
if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
|
320
|
-
const o = ie(
|
321
|
-
s,
|
322
|
-
this.$$d[s],
|
323
|
-
this.$$p_d,
|
324
|
-
"toAttribute"
|
325
|
-
);
|
326
|
-
o == null ? this.removeAttribute(this.$$p_d[s].attribute || s) : this.setAttribute(this.$$p_d[s].attribute || s, o);
|
327
|
-
}
|
328
|
-
this.$$r = !1;
|
329
|
-
};
|
330
|
-
this.$$c.$$.after_update.push(i), i();
|
331
|
-
for (const s in this.$$l)
|
332
|
-
for (const o of this.$$l[s]) {
|
333
|
-
const a = this.$$c.$on(s, o);
|
334
|
-
this.$$l_u.set(o, a);
|
285
|
+
});
|
286
|
+
const n = () => {
|
287
|
+
this.$$r = !0;
|
288
|
+
for (const i in this.$$p_d)
|
289
|
+
if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
|
290
|
+
const s = ne(
|
291
|
+
i,
|
292
|
+
this.$$d[i],
|
293
|
+
this.$$p_d,
|
294
|
+
"toAttribute"
|
295
|
+
);
|
296
|
+
s == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, s);
|
335
297
|
}
|
336
|
-
this.$$
|
337
|
-
}
|
338
|
-
|
298
|
+
this.$$r = !1;
|
299
|
+
};
|
300
|
+
this.$$c.$$.after_update.push(n), n();
|
301
|
+
for (const i in this.$$l)
|
302
|
+
for (const s of this.$$l[i]) {
|
303
|
+
const a = this.$$c.$on(i, s);
|
304
|
+
this.$$l_u.set(s, a);
|
305
|
+
}
|
306
|
+
this.$$l = {};
|
307
|
+
}
|
339
308
|
}
|
340
309
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
341
310
|
// and setting attributes through setAttribute etc, this is helpful
|
342
|
-
attributeChangedCallback(t, r
|
343
|
-
|
344
|
-
this.$$r || (t = this.$$g_p(t), this.$$d[t] = ie(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
|
311
|
+
attributeChangedCallback(e, t, r) {
|
312
|
+
this.$$r || (e = this.$$g_p(e), this.$$d[e] = ne(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
|
345
313
|
}
|
346
314
|
disconnectedCallback() {
|
347
315
|
this.$$cn = !1, Promise.resolve().then(() => {
|
348
316
|
!this.$$cn && this.$$c && (this.$$c.$destroy(), this.$$c = void 0);
|
349
317
|
});
|
350
318
|
}
|
351
|
-
$$g_p(
|
319
|
+
$$g_p(e) {
|
352
320
|
return Object.keys(this.$$p_d).find(
|
353
|
-
(
|
354
|
-
) ||
|
321
|
+
(t) => this.$$p_d[t].attribute === e || !this.$$p_d[t].attribute && t.toLowerCase() === e
|
322
|
+
) || e;
|
355
323
|
}
|
356
324
|
});
|
357
|
-
function
|
358
|
-
|
359
|
-
const i = (s = r[e]) == null ? void 0 : s.type;
|
325
|
+
function ne(e, t, r, n) {
|
326
|
+
const i = r[e]?.type;
|
360
327
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
361
328
|
return t;
|
362
329
|
if (n === "toAttribute")
|
@@ -367,7 +334,7 @@ function ie(e, t, r, n) {
|
|
367
334
|
case "Boolean":
|
368
335
|
return t ? "" : null;
|
369
336
|
case "Number":
|
370
|
-
return t
|
337
|
+
return t ?? null;
|
371
338
|
default:
|
372
339
|
return t;
|
373
340
|
}
|
@@ -384,59 +351,55 @@ function ie(e, t, r, n) {
|
|
384
351
|
return t;
|
385
352
|
}
|
386
353
|
}
|
387
|
-
function
|
388
|
-
let
|
354
|
+
function Qt(e, t, r, n, i, s) {
|
355
|
+
let a = class extends at {
|
389
356
|
constructor() {
|
390
357
|
super(e, r, i), this.$$p_d = t;
|
391
358
|
}
|
392
359
|
static get observedAttributes() {
|
393
360
|
return Object.keys(t).map(
|
394
|
-
(
|
361
|
+
(o) => (t[o].attribute || o).toLowerCase()
|
395
362
|
);
|
396
363
|
}
|
397
364
|
};
|
398
|
-
return Object.keys(t).forEach((
|
399
|
-
Object.defineProperty(
|
365
|
+
return Object.keys(t).forEach((o) => {
|
366
|
+
Object.defineProperty(a.prototype, o, {
|
400
367
|
get() {
|
401
|
-
return this.$$c &&
|
368
|
+
return this.$$c && o in this.$$c ? this.$$c[o] : this.$$d[o];
|
402
369
|
},
|
403
|
-
set(
|
404
|
-
|
405
|
-
h = ie(a, h, t), this.$$d[a] = h, (u = this.$$c) == null || u.$set({ [a]: h });
|
370
|
+
set(l) {
|
371
|
+
l = ne(o, l, t), this.$$d[o] = l, this.$$c?.$set({ [o]: l });
|
406
372
|
}
|
407
373
|
});
|
408
|
-
}), n.forEach((
|
409
|
-
Object.defineProperty(
|
374
|
+
}), n.forEach((o) => {
|
375
|
+
Object.defineProperty(a.prototype, o, {
|
410
376
|
get() {
|
411
|
-
|
412
|
-
return (h = this.$$c) == null ? void 0 : h[a];
|
377
|
+
return this.$$c?.[o];
|
413
378
|
}
|
414
379
|
});
|
415
380
|
}), e.element = /** @type {any} */
|
416
|
-
|
417
|
-
}
|
418
|
-
class
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
A(this, "$$set");
|
436
|
-
}
|
381
|
+
a, a;
|
382
|
+
}
|
383
|
+
class Jt {
|
384
|
+
/**
|
385
|
+
* ### PRIVATE API
|
386
|
+
*
|
387
|
+
* Do not use, may change at any time
|
388
|
+
*
|
389
|
+
* @type {any}
|
390
|
+
*/
|
391
|
+
$$ = void 0;
|
392
|
+
/**
|
393
|
+
* ### PRIVATE API
|
394
|
+
*
|
395
|
+
* Do not use, may change at any time
|
396
|
+
*
|
397
|
+
* @type {any}
|
398
|
+
*/
|
399
|
+
$$set = void 0;
|
437
400
|
/** @returns {void} */
|
438
401
|
$destroy() {
|
439
|
-
|
402
|
+
Wt(this, 1), this.$destroy = A;
|
440
403
|
}
|
441
404
|
/**
|
442
405
|
* @template {Extract<keyof Events, string>} K
|
@@ -445,8 +408,8 @@ class hr {
|
|
445
408
|
* @returns {() => void}
|
446
409
|
*/
|
447
410
|
$on(t, r) {
|
448
|
-
if (!
|
449
|
-
return
|
411
|
+
if (!Ce(r))
|
412
|
+
return A;
|
450
413
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
451
414
|
return n.push(r), () => {
|
452
415
|
const i = n.indexOf(r);
|
@@ -458,159 +421,159 @@ class hr {
|
|
458
421
|
* @returns {void}
|
459
422
|
*/
|
460
423
|
$set(t) {
|
461
|
-
this.$$set && !
|
424
|
+
this.$$set && !Lt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
462
425
|
}
|
463
426
|
}
|
464
|
-
const
|
465
|
-
typeof window
|
466
|
-
const
|
467
|
-
function
|
427
|
+
const Yt = "4";
|
428
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Yt);
|
429
|
+
const R = [];
|
430
|
+
function Kt(e, t) {
|
468
431
|
return {
|
469
|
-
subscribe:
|
432
|
+
subscribe: ue(e, t).subscribe
|
470
433
|
};
|
471
434
|
}
|
472
|
-
function
|
435
|
+
function ue(e, t = A) {
|
473
436
|
let r;
|
474
437
|
const n = /* @__PURE__ */ new Set();
|
475
|
-
function i(
|
476
|
-
if (
|
477
|
-
const
|
438
|
+
function i(o) {
|
439
|
+
if (it(e, o) && (e = o, r)) {
|
440
|
+
const l = !R.length;
|
478
441
|
for (const u of n)
|
479
|
-
u[1](),
|
480
|
-
if (
|
481
|
-
for (let u = 0; u <
|
482
|
-
|
483
|
-
|
442
|
+
u[1](), R.push(u, e);
|
443
|
+
if (l) {
|
444
|
+
for (let u = 0; u < R.length; u += 2)
|
445
|
+
R[u][0](R[u + 1]);
|
446
|
+
R.length = 0;
|
484
447
|
}
|
485
448
|
}
|
486
449
|
}
|
487
|
-
function s(
|
488
|
-
i(
|
450
|
+
function s(o) {
|
451
|
+
i(o(e));
|
489
452
|
}
|
490
|
-
function o
|
491
|
-
const u = [
|
492
|
-
return n.add(u), n.size === 1 && (r = t(i, s) ||
|
453
|
+
function a(o, l = A) {
|
454
|
+
const u = [o, l];
|
455
|
+
return n.add(u), n.size === 1 && (r = t(i, s) || A), o(e), () => {
|
493
456
|
n.delete(u), n.size === 0 && r && (r(), r = null);
|
494
457
|
};
|
495
458
|
}
|
496
|
-
return { set: i, update: s, subscribe:
|
459
|
+
return { set: i, update: s, subscribe: a };
|
497
460
|
}
|
498
|
-
function
|
461
|
+
function X(e, t, r) {
|
499
462
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
500
463
|
if (!i.every(Boolean))
|
501
464
|
throw new Error("derived() expects stores as input, got a falsy value");
|
502
465
|
const s = t.length < 2;
|
503
|
-
return
|
504
|
-
let
|
466
|
+
return Kt(r, (a, o) => {
|
467
|
+
let l = !1;
|
505
468
|
const u = [];
|
506
|
-
let
|
469
|
+
let h = 0, c = A;
|
507
470
|
const f = () => {
|
508
|
-
if (
|
471
|
+
if (h)
|
509
472
|
return;
|
510
473
|
c();
|
511
|
-
const y = t(n ? u[0] : u,
|
512
|
-
s ?
|
474
|
+
const y = t(n ? u[0] : u, a, o);
|
475
|
+
s ? a(y) : c = Ce(y) ? y : A;
|
513
476
|
}, b = i.map(
|
514
|
-
(y,
|
477
|
+
(y, v) => st(
|
515
478
|
y,
|
516
479
|
(m) => {
|
517
|
-
u[
|
480
|
+
u[v] = m, h &= ~(1 << v), l && f();
|
518
481
|
},
|
519
482
|
() => {
|
520
|
-
|
483
|
+
h |= 1 << v;
|
521
484
|
}
|
522
485
|
)
|
523
486
|
);
|
524
|
-
return
|
525
|
-
|
487
|
+
return l = !0, f(), function() {
|
488
|
+
K(b), c(), l = !1;
|
526
489
|
};
|
527
490
|
});
|
528
491
|
}
|
529
|
-
function
|
530
|
-
return e
|
492
|
+
function er(e) {
|
493
|
+
return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
531
494
|
}
|
532
|
-
var
|
533
|
-
return
|
495
|
+
var tr = function(t) {
|
496
|
+
return rr(t) && !nr(t);
|
534
497
|
};
|
535
|
-
function
|
498
|
+
function rr(e) {
|
536
499
|
return !!e && typeof e == "object";
|
537
500
|
}
|
538
|
-
function
|
501
|
+
function nr(e) {
|
539
502
|
var t = Object.prototype.toString.call(e);
|
540
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
503
|
+
return t === "[object RegExp]" || t === "[object Date]" || or(e);
|
541
504
|
}
|
542
|
-
var
|
543
|
-
function
|
544
|
-
return e.$$typeof ===
|
505
|
+
var ir = typeof Symbol == "function" && Symbol.for, sr = ir ? Symbol.for("react.element") : 60103;
|
506
|
+
function or(e) {
|
507
|
+
return e.$$typeof === sr;
|
545
508
|
}
|
546
|
-
function
|
509
|
+
function ar(e) {
|
547
510
|
return Array.isArray(e) ? [] : {};
|
548
511
|
}
|
549
|
-
function
|
550
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
512
|
+
function J(e, t) {
|
513
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? F(ar(e), e, t) : e;
|
551
514
|
}
|
552
|
-
function
|
515
|
+
function ur(e, t, r) {
|
553
516
|
return e.concat(t).map(function(n) {
|
554
|
-
return
|
517
|
+
return J(n, r);
|
555
518
|
});
|
556
519
|
}
|
557
|
-
function
|
520
|
+
function hr(e, t) {
|
558
521
|
if (!t.customMerge)
|
559
|
-
return
|
522
|
+
return F;
|
560
523
|
var r = t.customMerge(e);
|
561
|
-
return typeof r == "function" ? r :
|
524
|
+
return typeof r == "function" ? r : F;
|
562
525
|
}
|
563
|
-
function
|
526
|
+
function lr(e) {
|
564
527
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
565
528
|
return Object.propertyIsEnumerable.call(e, t);
|
566
529
|
}) : [];
|
567
530
|
}
|
568
|
-
function
|
569
|
-
return Object.keys(e).concat(
|
531
|
+
function je(e) {
|
532
|
+
return Object.keys(e).concat(lr(e));
|
570
533
|
}
|
571
|
-
function
|
534
|
+
function ut(e, t) {
|
572
535
|
try {
|
573
536
|
return t in e;
|
574
|
-
} catch
|
537
|
+
} catch {
|
575
538
|
return !1;
|
576
539
|
}
|
577
540
|
}
|
578
|
-
function
|
579
|
-
return
|
541
|
+
function cr(e, t) {
|
542
|
+
return ut(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
580
543
|
}
|
581
|
-
function
|
544
|
+
function fr(e, t, r) {
|
582
545
|
var n = {};
|
583
|
-
return r.isMergeableObject(e) &&
|
584
|
-
n[i] =
|
585
|
-
}),
|
586
|
-
|
546
|
+
return r.isMergeableObject(e) && je(e).forEach(function(i) {
|
547
|
+
n[i] = J(e[i], r);
|
548
|
+
}), je(t).forEach(function(i) {
|
549
|
+
cr(e, i) || (ut(e, i) && r.isMergeableObject(t[i]) ? n[i] = hr(i, r)(e[i], t[i], r) : n[i] = J(t[i], r));
|
587
550
|
}), n;
|
588
551
|
}
|
589
|
-
function
|
590
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
552
|
+
function F(e, t, r) {
|
553
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || ur, r.isMergeableObject = r.isMergeableObject || tr, r.cloneUnlessOtherwiseSpecified = J;
|
591
554
|
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
592
|
-
return s ? n ? r.arrayMerge(e, t, r) :
|
555
|
+
return s ? n ? r.arrayMerge(e, t, r) : fr(e, t, r) : J(t, r);
|
593
556
|
}
|
594
|
-
|
557
|
+
F.all = function(t, r) {
|
595
558
|
if (!Array.isArray(t))
|
596
559
|
throw new Error("first argument should be an array");
|
597
560
|
return t.reduce(function(n, i) {
|
598
|
-
return
|
561
|
+
return F(n, i, r);
|
599
562
|
}, {});
|
600
563
|
};
|
601
|
-
var
|
602
|
-
const
|
603
|
-
var
|
604
|
-
return
|
564
|
+
var mr = F, pr = mr;
|
565
|
+
const gr = /* @__PURE__ */ er(pr);
|
566
|
+
var Be = function(e, t) {
|
567
|
+
return Be = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
605
568
|
r.__proto__ = n;
|
606
569
|
} || function(r, n) {
|
607
570
|
for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
608
|
-
},
|
571
|
+
}, Be(e, t);
|
609
572
|
};
|
610
|
-
function
|
573
|
+
function he(e, t) {
|
611
574
|
if (typeof t != "function" && t !== null)
|
612
575
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
613
|
-
|
576
|
+
Be(e, t);
|
614
577
|
function r() {
|
615
578
|
this.constructor = e;
|
616
579
|
}
|
@@ -625,7 +588,7 @@ var d = function() {
|
|
625
588
|
return t;
|
626
589
|
}, d.apply(this, arguments);
|
627
590
|
};
|
628
|
-
function
|
591
|
+
function dr(e, t) {
|
629
592
|
var r = {};
|
630
593
|
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
631
594
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
@@ -633,61 +596,63 @@ function Pr(e, t) {
|
|
633
596
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
634
597
|
return r;
|
635
598
|
}
|
636
|
-
function
|
599
|
+
function de(e, t, r) {
|
637
600
|
if (r || arguments.length === 2) for (var n = 0, i = t.length, s; n < i; n++)
|
638
601
|
(s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
|
639
602
|
return e.concat(s || Array.prototype.slice.call(t));
|
640
603
|
}
|
641
|
-
function
|
642
|
-
var r = t && t.cache ? t.cache :
|
604
|
+
function be(e, t) {
|
605
|
+
var r = t && t.cache ? t.cache : Hr, n = t && t.serializer ? t.serializer : vr, i = t && t.strategy ? t.strategy : yr;
|
643
606
|
return i(e, {
|
644
607
|
cache: r,
|
645
608
|
serializer: n
|
646
609
|
});
|
647
610
|
}
|
648
|
-
function
|
611
|
+
function br(e) {
|
649
612
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
650
613
|
}
|
651
|
-
function
|
652
|
-
var i =
|
653
|
-
return typeof s
|
614
|
+
function ht(e, t, r, n) {
|
615
|
+
var i = br(n) ? n : r(n), s = t.get(i);
|
616
|
+
return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
|
654
617
|
}
|
655
|
-
function
|
618
|
+
function lt(e, t, r) {
|
656
619
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
657
|
-
return typeof s
|
620
|
+
return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
|
658
621
|
}
|
659
|
-
function
|
622
|
+
function Re(e, t, r, n, i) {
|
660
623
|
return r.bind(t, e, n, i);
|
661
624
|
}
|
662
|
-
function
|
663
|
-
var r = e.length === 1 ?
|
664
|
-
return
|
625
|
+
function yr(e, t) {
|
626
|
+
var r = e.length === 1 ? ht : lt;
|
627
|
+
return Re(e, this, r, t.cache.create(), t.serializer);
|
665
628
|
}
|
666
|
-
function
|
667
|
-
return
|
629
|
+
function xr(e, t) {
|
630
|
+
return Re(e, this, lt, t.cache.create(), t.serializer);
|
668
631
|
}
|
669
|
-
function
|
670
|
-
return
|
632
|
+
function Er(e, t) {
|
633
|
+
return Re(e, this, ht, t.cache.create(), t.serializer);
|
671
634
|
}
|
672
|
-
var
|
635
|
+
var vr = function() {
|
673
636
|
return JSON.stringify(arguments);
|
674
|
-
}
|
675
|
-
|
676
|
-
|
677
|
-
|
678
|
-
|
679
|
-
|
680
|
-
|
681
|
-
|
682
|
-
|
683
|
-
|
684
|
-
|
637
|
+
}, _r = (
|
638
|
+
/** @class */
|
639
|
+
function() {
|
640
|
+
function e() {
|
641
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
642
|
+
}
|
643
|
+
return e.prototype.get = function(t) {
|
644
|
+
return this.cache[t];
|
645
|
+
}, e.prototype.set = function(t, r) {
|
646
|
+
this.cache[t] = r;
|
647
|
+
}, e;
|
648
|
+
}()
|
649
|
+
), Hr = {
|
685
650
|
create: function() {
|
686
|
-
return new
|
651
|
+
return new _r();
|
687
652
|
}
|
688
|
-
},
|
689
|
-
variadic:
|
690
|
-
monadic:
|
653
|
+
}, ye = {
|
654
|
+
variadic: xr,
|
655
|
+
monadic: Er
|
691
656
|
}, p;
|
692
657
|
(function(e) {
|
693
658
|
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";
|
@@ -696,47 +661,47 @@ var x;
|
|
696
661
|
(function(e) {
|
697
662
|
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";
|
698
663
|
})(x || (x = {}));
|
699
|
-
var
|
664
|
+
var j;
|
700
665
|
(function(e) {
|
701
666
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
702
|
-
})(
|
703
|
-
function
|
667
|
+
})(j || (j = {}));
|
668
|
+
function Ve(e) {
|
704
669
|
return e.type === x.literal;
|
705
670
|
}
|
706
|
-
function
|
671
|
+
function Tr(e) {
|
707
672
|
return e.type === x.argument;
|
708
673
|
}
|
709
|
-
function
|
674
|
+
function ct(e) {
|
710
675
|
return e.type === x.number;
|
711
676
|
}
|
712
|
-
function
|
677
|
+
function ft(e) {
|
713
678
|
return e.type === x.date;
|
714
679
|
}
|
715
|
-
function
|
680
|
+
function mt(e) {
|
716
681
|
return e.type === x.time;
|
717
682
|
}
|
718
|
-
function
|
683
|
+
function pt(e) {
|
719
684
|
return e.type === x.select;
|
720
685
|
}
|
721
|
-
function
|
686
|
+
function gt(e) {
|
722
687
|
return e.type === x.plural;
|
723
688
|
}
|
724
|
-
function
|
689
|
+
function Br(e) {
|
725
690
|
return e.type === x.pound;
|
726
691
|
}
|
727
|
-
function
|
692
|
+
function dt(e) {
|
728
693
|
return e.type === x.tag;
|
729
694
|
}
|
730
|
-
function
|
731
|
-
return !!(e && typeof e == "object" && e.type ===
|
695
|
+
function bt(e) {
|
696
|
+
return !!(e && typeof e == "object" && e.type === j.number);
|
732
697
|
}
|
733
|
-
function
|
734
|
-
return !!(e && typeof e == "object" && e.type ===
|
698
|
+
function Se(e) {
|
699
|
+
return !!(e && typeof e == "object" && e.type === j.dateTime);
|
735
700
|
}
|
736
|
-
var
|
737
|
-
function
|
701
|
+
var yt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Sr = /(?:[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;
|
702
|
+
function Pr(e) {
|
738
703
|
var t = {};
|
739
|
-
return e.replace(
|
704
|
+
return e.replace(Sr, function(r) {
|
740
705
|
var n = r.length;
|
741
706
|
switch (r[0]) {
|
742
707
|
case "G":
|
@@ -825,36 +790,36 @@ function Dr(e) {
|
|
825
790
|
return "";
|
826
791
|
}), t;
|
827
792
|
}
|
828
|
-
var
|
829
|
-
function
|
793
|
+
var Ar = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
794
|
+
function wr(e) {
|
830
795
|
if (e.length === 0)
|
831
796
|
throw new Error("Number skeleton cannot be empty");
|
832
|
-
for (var t = e.split(
|
797
|
+
for (var t = e.split(Ar).filter(function(f) {
|
833
798
|
return f.length > 0;
|
834
799
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
835
|
-
var s = i[n],
|
836
|
-
if (
|
800
|
+
var s = i[n], a = s.split("/");
|
801
|
+
if (a.length === 0)
|
837
802
|
throw new Error("Invalid number skeleton");
|
838
|
-
for (var
|
839
|
-
var c =
|
803
|
+
for (var o = a[0], l = a.slice(1), u = 0, h = l; u < h.length; u++) {
|
804
|
+
var c = h[u];
|
840
805
|
if (c.length === 0)
|
841
806
|
throw new Error("Invalid number skeleton");
|
842
807
|
}
|
843
|
-
r.push({ stem:
|
808
|
+
r.push({ stem: o, options: l });
|
844
809
|
}
|
845
810
|
return r;
|
846
811
|
}
|
847
|
-
function
|
812
|
+
function Nr(e) {
|
848
813
|
return e.replace(/^(.*?)-/, "");
|
849
814
|
}
|
850
|
-
var
|
851
|
-
function
|
815
|
+
var ke = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, xt = /^(@+)?(\+|#+)?[rs]?$/g, Or = /(\*)(0+)|(#+)(0+)|(0+)/g, Et = /^(0+)$/;
|
816
|
+
function Xe(e) {
|
852
817
|
var t = {};
|
853
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
818
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(xt, function(r, n, i) {
|
854
819
|
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)), "";
|
855
820
|
}), t;
|
856
821
|
}
|
857
|
-
function
|
822
|
+
function vt(e) {
|
858
823
|
switch (e) {
|
859
824
|
case "sign-auto":
|
860
825
|
return {
|
@@ -894,7 +859,7 @@ function Pt(e) {
|
|
894
859
|
};
|
895
860
|
}
|
896
861
|
}
|
897
|
-
function
|
862
|
+
function Lr(e) {
|
898
863
|
var t;
|
899
864
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
900
865
|
notation: "engineering"
|
@@ -902,17 +867,17 @@ function Vr(e) {
|
|
902
867
|
notation: "scientific"
|
903
868
|
}, e = e.slice(1)), t) {
|
904
869
|
var r = e.slice(0, 2);
|
905
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
870
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Et.test(e))
|
906
871
|
throw new Error("Malformed concise eng/scientific notation");
|
907
872
|
t.minimumIntegerDigits = e.length;
|
908
873
|
}
|
909
874
|
return t;
|
910
875
|
}
|
911
|
-
function
|
912
|
-
var t = {}, r =
|
876
|
+
function ze(e) {
|
877
|
+
var t = {}, r = vt(e);
|
913
878
|
return r || t;
|
914
879
|
}
|
915
|
-
function
|
880
|
+
function Ir(e) {
|
916
881
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
917
882
|
var i = n[r];
|
918
883
|
switch (i.stem) {
|
@@ -936,7 +901,7 @@ function kr(e) {
|
|
936
901
|
continue;
|
937
902
|
case "measure-unit":
|
938
903
|
case "unit":
|
939
|
-
t.style = "unit", t.unit =
|
904
|
+
t.style = "unit", t.unit = Nr(i.options[0]);
|
940
905
|
continue;
|
941
906
|
case "compact-short":
|
942
907
|
case "K":
|
@@ -947,13 +912,13 @@ function kr(e) {
|
|
947
912
|
t.notation = "compact", t.compactDisplay = "long";
|
948
913
|
continue;
|
949
914
|
case "scientific":
|
950
|
-
t = d(d(d({}, t), { notation: "scientific" }), i.options.reduce(function(
|
951
|
-
return d(d({},
|
915
|
+
t = d(d(d({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
916
|
+
return d(d({}, l), ze(u));
|
952
917
|
}, {}));
|
953
918
|
continue;
|
954
919
|
case "engineering":
|
955
|
-
t = d(d(d({}, t), { notation: "engineering" }), i.options.reduce(function(
|
956
|
-
return d(d({},
|
920
|
+
t = d(d(d({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
921
|
+
return d(d({}, l), ze(u));
|
957
922
|
}, {}));
|
958
923
|
continue;
|
959
924
|
case "notation-simple":
|
@@ -998,9 +963,9 @@ function kr(e) {
|
|
998
963
|
case "integer-width":
|
999
964
|
if (i.options.length > 1)
|
1000
965
|
throw new RangeError("integer-width stems only accept a single optional option");
|
1001
|
-
i.options[0].replace(
|
966
|
+
i.options[0].replace(Or, function(l, u, h, c, f, b) {
|
1002
967
|
if (u)
|
1003
|
-
t.minimumIntegerDigits =
|
968
|
+
t.minimumIntegerDigits = h.length;
|
1004
969
|
else {
|
1005
970
|
if (c && f)
|
1006
971
|
throw new Error("We currently do not support maximum integer digits");
|
@@ -1011,32 +976,32 @@ function kr(e) {
|
|
1011
976
|
});
|
1012
977
|
continue;
|
1013
978
|
}
|
1014
|
-
if (
|
979
|
+
if (Et.test(i.stem)) {
|
1015
980
|
t.minimumIntegerDigits = i.stem.length;
|
1016
981
|
continue;
|
1017
982
|
}
|
1018
|
-
if (
|
983
|
+
if (ke.test(i.stem)) {
|
1019
984
|
if (i.options.length > 1)
|
1020
985
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
1021
|
-
i.stem.replace(
|
1022
|
-
return
|
986
|
+
i.stem.replace(ke, function(l, u, h, c, f, b) {
|
987
|
+
return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && b ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + b.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
1023
988
|
});
|
1024
989
|
var s = i.options[0];
|
1025
|
-
s === "w" ? t = d(d({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = d(d({}, t),
|
990
|
+
s === "w" ? t = d(d({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = d(d({}, t), Xe(s)));
|
1026
991
|
continue;
|
1027
992
|
}
|
1028
|
-
if (
|
1029
|
-
t = d(d({}, t),
|
993
|
+
if (xt.test(i.stem)) {
|
994
|
+
t = d(d({}, t), Xe(i.stem));
|
1030
995
|
continue;
|
1031
996
|
}
|
1032
|
-
var
|
1033
|
-
o && (t = d(d({}, t), o));
|
1034
|
-
var a = Vr(i.stem);
|
997
|
+
var a = vt(i.stem);
|
1035
998
|
a && (t = d(d({}, t), a));
|
999
|
+
var o = Lr(i.stem);
|
1000
|
+
o && (t = d(d({}, t), o));
|
1036
1001
|
}
|
1037
1002
|
return t;
|
1038
1003
|
}
|
1039
|
-
var
|
1004
|
+
var te = {
|
1040
1005
|
"001": [
|
1041
1006
|
"H",
|
1042
1007
|
"h"
|
@@ -2451,22 +2416,22 @@ var re = {
|
|
2451
2416
|
"h"
|
2452
2417
|
]
|
2453
2418
|
};
|
2454
|
-
function
|
2419
|
+
function Cr(e, t) {
|
2455
2420
|
for (var r = "", n = 0; n < e.length; n++) {
|
2456
2421
|
var i = e.charAt(n);
|
2457
2422
|
if (i === "j") {
|
2458
2423
|
for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
2459
2424
|
s++, n++;
|
2460
|
-
var
|
2461
|
-
for ((u == "H" || u == "k") && (
|
2462
|
-
r +=
|
2463
|
-
for (;
|
2425
|
+
var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = $r(t);
|
2426
|
+
for ((u == "H" || u == "k") && (o = 0); o-- > 0; )
|
2427
|
+
r += l;
|
2428
|
+
for (; a-- > 0; )
|
2464
2429
|
r = u + r;
|
2465
2430
|
} else i === "J" ? r += "H" : r += i;
|
2466
2431
|
}
|
2467
2432
|
return r;
|
2468
2433
|
}
|
2469
|
-
function
|
2434
|
+
function $r(e) {
|
2470
2435
|
var t = e.hourCycle;
|
2471
2436
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
2472
2437
|
e.hourCycles && // @ts-ignore
|
@@ -2485,23 +2450,23 @@ function zr(e) {
|
|
2485
2450
|
}
|
2486
2451
|
var r = e.language, n;
|
2487
2452
|
r !== "root" && (n = e.maximize().region);
|
2488
|
-
var i =
|
2453
|
+
var i = te[n || ""] || te[r || ""] || te["".concat(r, "-001")] || te["001"];
|
2489
2454
|
return i[0];
|
2490
2455
|
}
|
2491
|
-
var
|
2456
|
+
var xe, Mr = new RegExp("^".concat(yt.source, "*")), Rr = new RegExp("".concat(yt.source, "*$"));
|
2492
2457
|
function g(e, t) {
|
2493
2458
|
return { start: e, end: t };
|
2494
2459
|
}
|
2495
|
-
var
|
2460
|
+
var Dr = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ur = !!String.fromCodePoint, Gr = !!Object.fromEntries, Fr = !!String.prototype.codePointAt, jr = !!String.prototype.trimStart, Vr = !!String.prototype.trimEnd, kr = !!Number.isSafeInteger, Xr = kr ? Number.isSafeInteger : function(e) {
|
2496
2461
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
2497
|
-
},
|
2462
|
+
}, Pe = !0;
|
2498
2463
|
try {
|
2499
|
-
var
|
2500
|
-
|
2501
|
-
} catch
|
2502
|
-
|
2464
|
+
var zr = Ht("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
2465
|
+
Pe = ((xe = zr.exec("a")) === null || xe === void 0 ? void 0 : xe[0]) === "a";
|
2466
|
+
} catch {
|
2467
|
+
Pe = !1;
|
2503
2468
|
}
|
2504
|
-
var
|
2469
|
+
var We = Dr ? (
|
2505
2470
|
// Native
|
2506
2471
|
function(t, r, n) {
|
2507
2472
|
return t.startsWith(r, n);
|
@@ -2511,31 +2476,31 @@ var et = qr ? (
|
|
2511
2476
|
function(t, r, n) {
|
2512
2477
|
return t.slice(n, n + r.length) === r;
|
2513
2478
|
}
|
2514
|
-
),
|
2479
|
+
), Ae = Ur ? String.fromCodePoint : (
|
2515
2480
|
// IE11
|
2516
2481
|
function() {
|
2517
2482
|
for (var t = [], r = 0; r < arguments.length; r++)
|
2518
2483
|
t[r] = arguments[r];
|
2519
|
-
for (var n = "", i = t.length, s = 0,
|
2520
|
-
if (
|
2521
|
-
throw RangeError(
|
2522
|
-
n +=
|
2484
|
+
for (var n = "", i = t.length, s = 0, a; i > s; ) {
|
2485
|
+
if (a = t[s++], a > 1114111)
|
2486
|
+
throw RangeError(a + " is not a valid code point");
|
2487
|
+
n += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
|
2523
2488
|
}
|
2524
2489
|
return n;
|
2525
2490
|
}
|
2526
|
-
),
|
2491
|
+
), Ze = (
|
2527
2492
|
// native
|
2528
|
-
|
2493
|
+
Gr ? Object.fromEntries : (
|
2529
2494
|
// Ponyfill
|
2530
2495
|
function(t) {
|
2531
2496
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
2532
|
-
var s = i[n],
|
2533
|
-
r[
|
2497
|
+
var s = i[n], a = s[0], o = s[1];
|
2498
|
+
r[a] = o;
|
2534
2499
|
}
|
2535
2500
|
return r;
|
2536
2501
|
}
|
2537
2502
|
)
|
2538
|
-
),
|
2503
|
+
), _t = Fr ? (
|
2539
2504
|
// Native
|
2540
2505
|
function(t, r) {
|
2541
2506
|
return t.codePointAt(r);
|
@@ -2549,7 +2514,7 @@ var et = qr ? (
|
|
2549
2514
|
return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
2550
2515
|
}
|
2551
2516
|
}
|
2552
|
-
),
|
2517
|
+
), Wr = jr ? (
|
2553
2518
|
// Native
|
2554
2519
|
function(t) {
|
2555
2520
|
return t.trimStart();
|
@@ -2557,9 +2522,9 @@ var et = qr ? (
|
|
2557
2522
|
) : (
|
2558
2523
|
// Ponyfill
|
2559
2524
|
function(t) {
|
2560
|
-
return t.replace(
|
2525
|
+
return t.replace(Mr, "");
|
2561
2526
|
}
|
2562
|
-
),
|
2527
|
+
), Zr = Vr ? (
|
2563
2528
|
// Native
|
2564
2529
|
function(t) {
|
2565
2530
|
return t.trimEnd();
|
@@ -2567,32 +2532,32 @@ var et = qr ? (
|
|
2567
2532
|
) : (
|
2568
2533
|
// Ponyfill
|
2569
2534
|
function(t) {
|
2570
|
-
return t.replace(
|
2535
|
+
return t.replace(Rr, "");
|
2571
2536
|
}
|
2572
2537
|
);
|
2573
|
-
function
|
2538
|
+
function Ht(e, t) {
|
2574
2539
|
return new RegExp(e, t);
|
2575
2540
|
}
|
2576
|
-
var
|
2577
|
-
if (
|
2578
|
-
var
|
2579
|
-
|
2541
|
+
var we;
|
2542
|
+
if (Pe) {
|
2543
|
+
var qe = Ht("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
2544
|
+
we = function(t, r) {
|
2580
2545
|
var n;
|
2581
|
-
|
2582
|
-
var i =
|
2546
|
+
qe.lastIndex = r;
|
2547
|
+
var i = qe.exec(t);
|
2583
2548
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
2584
2549
|
};
|
2585
2550
|
} else
|
2586
|
-
|
2551
|
+
we = function(t, r) {
|
2587
2552
|
for (var n = []; ; ) {
|
2588
|
-
var i =
|
2589
|
-
if (i === void 0 ||
|
2553
|
+
var i = _t(t, r);
|
2554
|
+
if (i === void 0 || Tt(i) || Yr(i))
|
2590
2555
|
break;
|
2591
2556
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
2592
2557
|
}
|
2593
|
-
return
|
2558
|
+
return Ae.apply(void 0, n);
|
2594
2559
|
};
|
2595
|
-
var
|
2560
|
+
var qr = (
|
2596
2561
|
/** @class */
|
2597
2562
|
function() {
|
2598
2563
|
function e(t, r) {
|
@@ -2606,33 +2571,33 @@ var an = (
|
|
2606
2571
|
for (var i = []; !this.isEOF(); ) {
|
2607
2572
|
var s = this.char();
|
2608
2573
|
if (s === 123) {
|
2609
|
-
var
|
2610
|
-
if (
|
2611
|
-
return
|
2612
|
-
i.push(
|
2574
|
+
var a = this.parseArgument(t, n);
|
2575
|
+
if (a.err)
|
2576
|
+
return a;
|
2577
|
+
i.push(a.val);
|
2613
2578
|
} else {
|
2614
2579
|
if (s === 125 && t > 0)
|
2615
2580
|
break;
|
2616
2581
|
if (s === 35 && (r === "plural" || r === "selectordinal")) {
|
2617
|
-
var
|
2582
|
+
var o = this.clonePosition();
|
2618
2583
|
this.bump(), i.push({
|
2619
2584
|
type: x.pound,
|
2620
|
-
location: g(
|
2585
|
+
location: g(o, this.clonePosition())
|
2621
2586
|
});
|
2622
2587
|
} else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
|
2623
2588
|
if (n)
|
2624
2589
|
break;
|
2625
2590
|
return this.error(p.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
|
2626
|
-
} else if (s === 60 && !this.ignoreTag &&
|
2627
|
-
var
|
2628
|
-
if (
|
2629
|
-
return
|
2630
|
-
i.push(
|
2591
|
+
} else if (s === 60 && !this.ignoreTag && Ne(this.peek() || 0)) {
|
2592
|
+
var a = this.parseTag(t, r);
|
2593
|
+
if (a.err)
|
2594
|
+
return a;
|
2595
|
+
i.push(a.val);
|
2631
2596
|
} else {
|
2632
|
-
var
|
2633
|
-
if (
|
2634
|
-
return
|
2635
|
-
i.push(
|
2597
|
+
var a = this.parseLiteral(t, r);
|
2598
|
+
if (a.err)
|
2599
|
+
return a;
|
2600
|
+
i.push(a.val);
|
2636
2601
|
}
|
2637
2602
|
}
|
2638
2603
|
}
|
@@ -2654,27 +2619,27 @@ var an = (
|
|
2654
2619
|
var s = this.parseMessage(t + 1, r, !0);
|
2655
2620
|
if (s.err)
|
2656
2621
|
return s;
|
2657
|
-
var
|
2622
|
+
var a = s.val, o = this.clonePosition();
|
2658
2623
|
if (this.bumpIf("</")) {
|
2659
|
-
if (this.isEOF() || !
|
2660
|
-
return this.error(p.INVALID_TAG, g(
|
2661
|
-
var
|
2662
|
-
return i !== u ? this.error(p.UNMATCHED_CLOSING_TAG, g(
|
2624
|
+
if (this.isEOF() || !Ne(this.char()))
|
2625
|
+
return this.error(p.INVALID_TAG, g(o, this.clonePosition()));
|
2626
|
+
var l = this.clonePosition(), u = this.parseTagName();
|
2627
|
+
return i !== u ? this.error(p.UNMATCHED_CLOSING_TAG, g(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
2663
2628
|
val: {
|
2664
2629
|
type: x.tag,
|
2665
2630
|
value: i,
|
2666
|
-
children:
|
2631
|
+
children: a,
|
2667
2632
|
location: g(n, this.clonePosition())
|
2668
2633
|
},
|
2669
2634
|
err: null
|
2670
|
-
} : this.error(p.INVALID_TAG, g(
|
2635
|
+
} : this.error(p.INVALID_TAG, g(o, this.clonePosition())));
|
2671
2636
|
} else
|
2672
2637
|
return this.error(p.UNCLOSED_TAG, g(n, this.clonePosition()));
|
2673
2638
|
} else
|
2674
2639
|
return this.error(p.INVALID_TAG, g(n, this.clonePosition()));
|
2675
2640
|
}, e.prototype.parseTagName = function() {
|
2676
2641
|
var t = this.offset();
|
2677
|
-
for (this.bump(); !this.isEOF() &&
|
2642
|
+
for (this.bump(); !this.isEOF() && Jr(this.char()); )
|
2678
2643
|
this.bump();
|
2679
2644
|
return this.message.slice(t, this.offset());
|
2680
2645
|
}, e.prototype.parseLiteral = function(t, r) {
|
@@ -2684,26 +2649,26 @@ var an = (
|
|
2684
2649
|
i += s;
|
2685
2650
|
continue;
|
2686
2651
|
}
|
2687
|
-
var
|
2688
|
-
if (o) {
|
2689
|
-
i += o;
|
2690
|
-
continue;
|
2691
|
-
}
|
2692
|
-
var a = this.tryParseLeftAngleBracket();
|
2652
|
+
var a = this.tryParseUnquoted(t, r);
|
2693
2653
|
if (a) {
|
2694
2654
|
i += a;
|
2695
2655
|
continue;
|
2696
2656
|
}
|
2657
|
+
var o = this.tryParseLeftAngleBracket();
|
2658
|
+
if (o) {
|
2659
|
+
i += o;
|
2660
|
+
continue;
|
2661
|
+
}
|
2697
2662
|
break;
|
2698
2663
|
}
|
2699
|
-
var
|
2664
|
+
var l = g(n, this.clonePosition());
|
2700
2665
|
return {
|
2701
|
-
val: { type: x.literal, value: i, location:
|
2666
|
+
val: { type: x.literal, value: i, location: l },
|
2702
2667
|
err: null
|
2703
2668
|
};
|
2704
2669
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
2705
2670
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
2706
|
-
!
|
2671
|
+
!Qr(this.peek() || 0)) ? (this.bump(), "<") : null;
|
2707
2672
|
}, e.prototype.tryParseQuote = function(t) {
|
2708
2673
|
if (this.isEOF() || this.char() !== 39)
|
2709
2674
|
return null;
|
@@ -2737,12 +2702,12 @@ var an = (
|
|
2737
2702
|
r.push(n);
|
2738
2703
|
this.bump();
|
2739
2704
|
}
|
2740
|
-
return
|
2705
|
+
return Ae.apply(void 0, r);
|
2741
2706
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
2742
2707
|
if (this.isEOF())
|
2743
2708
|
return null;
|
2744
2709
|
var n = this.char();
|
2745
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
2710
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ae(n));
|
2746
2711
|
}, e.prototype.parseArgument = function(t, r) {
|
2747
2712
|
var n = this.clonePosition();
|
2748
2713
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
@@ -2771,15 +2736,15 @@ var an = (
|
|
2771
2736
|
return this.error(p.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
|
2772
2737
|
}
|
2773
2738
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
2774
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
2739
|
+
var t = this.clonePosition(), r = this.offset(), n = we(this.message, r), i = r + n.length;
|
2775
2740
|
this.bumpTo(i);
|
2776
|
-
var s = this.clonePosition(),
|
2777
|
-
return { value: n, location:
|
2741
|
+
var s = this.clonePosition(), a = g(t, s);
|
2742
|
+
return { value: n, location: a };
|
2778
2743
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
2779
|
-
var s,
|
2780
|
-
switch (
|
2744
|
+
var s, a = this.clonePosition(), o = this.parseIdentifierIfPossible().value, l = this.clonePosition();
|
2745
|
+
switch (o) {
|
2781
2746
|
case "":
|
2782
|
-
return this.error(p.EXPECT_ARGUMENT_TYPE, g(
|
2747
|
+
return this.error(p.EXPECT_ARGUMENT_TYPE, g(a, l));
|
2783
2748
|
case "number":
|
2784
2749
|
case "date":
|
2785
2750
|
case "time": {
|
@@ -2787,50 +2752,50 @@ var an = (
|
|
2787
2752
|
var u = null;
|
2788
2753
|
if (this.bumpIf(",")) {
|
2789
2754
|
this.bumpSpace();
|
2790
|
-
var
|
2755
|
+
var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
2791
2756
|
if (c.err)
|
2792
2757
|
return c;
|
2793
|
-
var f =
|
2758
|
+
var f = Zr(c.val);
|
2794
2759
|
if (f.length === 0)
|
2795
2760
|
return this.error(p.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
|
2796
|
-
var b = g(
|
2761
|
+
var b = g(h, this.clonePosition());
|
2797
2762
|
u = { style: f, styleLocation: b };
|
2798
2763
|
}
|
2799
2764
|
var y = this.tryParseArgumentClose(i);
|
2800
2765
|
if (y.err)
|
2801
2766
|
return y;
|
2802
|
-
var
|
2803
|
-
if (u &&
|
2804
|
-
var m =
|
2805
|
-
if (
|
2767
|
+
var v = g(i, this.clonePosition());
|
2768
|
+
if (u && We(u?.style, "::", 0)) {
|
2769
|
+
var m = Wr(u.style.slice(2));
|
2770
|
+
if (o === "number") {
|
2806
2771
|
var c = this.parseNumberSkeletonFromString(m, u.styleLocation);
|
2807
2772
|
return c.err ? c : {
|
2808
|
-
val: { type: x.number, value: n, location:
|
2773
|
+
val: { type: x.number, value: n, location: v, style: c.val },
|
2809
2774
|
err: null
|
2810
2775
|
};
|
2811
2776
|
} else {
|
2812
2777
|
if (m.length === 0)
|
2813
|
-
return this.error(p.EXPECT_DATE_TIME_SKELETON,
|
2778
|
+
return this.error(p.EXPECT_DATE_TIME_SKELETON, v);
|
2814
2779
|
var H = m;
|
2815
|
-
this.locale && (H =
|
2780
|
+
this.locale && (H = Cr(m, this.locale));
|
2816
2781
|
var f = {
|
2817
|
-
type:
|
2782
|
+
type: j.dateTime,
|
2818
2783
|
pattern: H,
|
2819
2784
|
location: u.styleLocation,
|
2820
|
-
parsedOptions: this.shouldParseSkeletons ?
|
2821
|
-
}, _ =
|
2785
|
+
parsedOptions: this.shouldParseSkeletons ? Pr(H) : {}
|
2786
|
+
}, _ = o === "date" ? x.date : x.time;
|
2822
2787
|
return {
|
2823
|
-
val: { type: _, value: n, location:
|
2788
|
+
val: { type: _, value: n, location: v, style: f },
|
2824
2789
|
err: null
|
2825
2790
|
};
|
2826
2791
|
}
|
2827
2792
|
}
|
2828
2793
|
return {
|
2829
2794
|
val: {
|
2830
|
-
type:
|
2795
|
+
type: o === "number" ? x.number : o === "date" ? x.date : x.time,
|
2831
2796
|
value: n,
|
2832
|
-
location:
|
2833
|
-
style: (s = u
|
2797
|
+
location: v,
|
2798
|
+
style: (s = u?.style) !== null && s !== void 0 ? s : null
|
2834
2799
|
},
|
2835
2800
|
err: null
|
2836
2801
|
};
|
@@ -2842,45 +2807,45 @@ var an = (
|
|
2842
2807
|
if (this.bumpSpace(), !this.bumpIf(","))
|
2843
2808
|
return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, g(B, d({}, B)));
|
2844
2809
|
this.bumpSpace();
|
2845
|
-
var
|
2846
|
-
if (
|
2810
|
+
var N = this.parseIdentifierIfPossible(), P = 0;
|
2811
|
+
if (o !== "select" && N.value === "offset") {
|
2847
2812
|
if (!this.bumpIf(":"))
|
2848
2813
|
return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
|
2849
2814
|
this.bumpSpace();
|
2850
2815
|
var c = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
2851
2816
|
if (c.err)
|
2852
2817
|
return c;
|
2853
|
-
this.bumpSpace(),
|
2818
|
+
this.bumpSpace(), N = this.parseIdentifierIfPossible(), P = c.val;
|
2854
2819
|
}
|
2855
|
-
var
|
2856
|
-
if (
|
2857
|
-
return
|
2820
|
+
var L = this.tryParsePluralOrSelectOptions(t, o, r, N);
|
2821
|
+
if (L.err)
|
2822
|
+
return L;
|
2858
2823
|
var y = this.tryParseArgumentClose(i);
|
2859
2824
|
if (y.err)
|
2860
2825
|
return y;
|
2861
|
-
var
|
2862
|
-
return
|
2826
|
+
var w = g(i, this.clonePosition());
|
2827
|
+
return o === "select" ? {
|
2863
2828
|
val: {
|
2864
2829
|
type: x.select,
|
2865
2830
|
value: n,
|
2866
|
-
options:
|
2867
|
-
location:
|
2831
|
+
options: Ze(L.val),
|
2832
|
+
location: w
|
2868
2833
|
},
|
2869
2834
|
err: null
|
2870
2835
|
} : {
|
2871
2836
|
val: {
|
2872
2837
|
type: x.plural,
|
2873
2838
|
value: n,
|
2874
|
-
options:
|
2839
|
+
options: Ze(L.val),
|
2875
2840
|
offset: P,
|
2876
|
-
pluralType:
|
2877
|
-
location:
|
2841
|
+
pluralType: o === "plural" ? "cardinal" : "ordinal",
|
2842
|
+
location: w
|
2878
2843
|
},
|
2879
2844
|
err: null
|
2880
2845
|
};
|
2881
2846
|
}
|
2882
2847
|
default:
|
2883
|
-
return this.error(p.INVALID_ARGUMENT_TYPE, g(
|
2848
|
+
return this.error(p.INVALID_ARGUMENT_TYPE, g(a, l));
|
2884
2849
|
}
|
2885
2850
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
2886
2851
|
return this.isEOF() || this.char() !== 125 ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, g(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
@@ -2922,64 +2887,64 @@ var an = (
|
|
2922
2887
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
2923
2888
|
var n = [];
|
2924
2889
|
try {
|
2925
|
-
n =
|
2926
|
-
} catch
|
2890
|
+
n = wr(t);
|
2891
|
+
} catch {
|
2927
2892
|
return this.error(p.INVALID_NUMBER_SKELETON, r);
|
2928
2893
|
}
|
2929
2894
|
return {
|
2930
2895
|
val: {
|
2931
|
-
type:
|
2896
|
+
type: j.number,
|
2932
2897
|
tokens: n,
|
2933
2898
|
location: r,
|
2934
|
-
parsedOptions: this.shouldParseSkeletons ?
|
2899
|
+
parsedOptions: this.shouldParseSkeletons ? Ir(n) : {}
|
2935
2900
|
},
|
2936
2901
|
err: null
|
2937
2902
|
};
|
2938
2903
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
2939
|
-
for (var s,
|
2904
|
+
for (var s, a = !1, o = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
|
2940
2905
|
if (u.length === 0) {
|
2941
2906
|
var c = this.clonePosition();
|
2942
2907
|
if (r !== "select" && this.bumpIf("=")) {
|
2943
2908
|
var f = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_SELECTOR, p.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
2944
2909
|
if (f.err)
|
2945
2910
|
return f;
|
2946
|
-
|
2911
|
+
h = g(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
|
2947
2912
|
} else
|
2948
2913
|
break;
|
2949
2914
|
}
|
2950
|
-
if (
|
2951
|
-
return this.error(r === "select" ? p.DUPLICATE_SELECT_ARGUMENT_SELECTOR : p.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,
|
2952
|
-
u === "other" && (
|
2915
|
+
if (l.has(u))
|
2916
|
+
return this.error(r === "select" ? p.DUPLICATE_SELECT_ARGUMENT_SELECTOR : p.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
|
2917
|
+
u === "other" && (a = !0), this.bumpSpace();
|
2953
2918
|
var b = this.clonePosition();
|
2954
2919
|
if (!this.bumpIf("{"))
|
2955
2920
|
return this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
|
2956
2921
|
var y = this.parseMessage(t + 1, r, n);
|
2957
2922
|
if (y.err)
|
2958
2923
|
return y;
|
2959
|
-
var
|
2960
|
-
if (
|
2961
|
-
return
|
2962
|
-
|
2924
|
+
var v = this.tryParseArgumentClose(b);
|
2925
|
+
if (v.err)
|
2926
|
+
return v;
|
2927
|
+
o.push([
|
2963
2928
|
u,
|
2964
2929
|
{
|
2965
2930
|
value: y.val,
|
2966
2931
|
location: g(b, this.clonePosition())
|
2967
2932
|
}
|
2968
|
-
]),
|
2933
|
+
]), l.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, h = s.location;
|
2969
2934
|
}
|
2970
|
-
return
|
2935
|
+
return o.length === 0 ? this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR : p.EXPECT_PLURAL_ARGUMENT_SELECTOR, g(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(p.MISSING_OTHER_CLAUSE, g(this.clonePosition(), this.clonePosition())) : { val: o, err: null };
|
2971
2936
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
2972
2937
|
var n = 1, i = this.clonePosition();
|
2973
2938
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
2974
|
-
for (var s = !1,
|
2975
|
-
var
|
2976
|
-
if (
|
2977
|
-
s = !0,
|
2939
|
+
for (var s = !1, a = 0; !this.isEOF(); ) {
|
2940
|
+
var o = this.char();
|
2941
|
+
if (o >= 48 && o <= 57)
|
2942
|
+
s = !0, a = a * 10 + (o - 48), this.bump();
|
2978
2943
|
else
|
2979
2944
|
break;
|
2980
2945
|
}
|
2981
|
-
var
|
2982
|
-
return s ? (
|
2946
|
+
var l = g(i, this.clonePosition());
|
2947
|
+
return s ? (a *= n, Xr(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
|
2983
2948
|
}, e.prototype.offset = function() {
|
2984
2949
|
return this.position.offset;
|
2985
2950
|
}, e.prototype.isEOF = function() {
|
@@ -2994,7 +2959,7 @@ var an = (
|
|
2994
2959
|
var t = this.position.offset;
|
2995
2960
|
if (t >= this.message.length)
|
2996
2961
|
throw Error("out of bound");
|
2997
|
-
var r =
|
2962
|
+
var r = _t(this.message, t);
|
2998
2963
|
if (r === void 0)
|
2999
2964
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
3000
2965
|
return r;
|
@@ -3013,7 +2978,7 @@ var an = (
|
|
3013
2978
|
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);
|
3014
2979
|
}
|
3015
2980
|
}, e.prototype.bumpIf = function(t) {
|
3016
|
-
if (
|
2981
|
+
if (We(this.message, t, this.offset())) {
|
3017
2982
|
for (var r = 0; r < t.length; r++)
|
3018
2983
|
this.bump();
|
3019
2984
|
return !0;
|
@@ -3035,56 +3000,56 @@ var an = (
|
|
3035
3000
|
break;
|
3036
3001
|
}
|
3037
3002
|
}, e.prototype.bumpSpace = function() {
|
3038
|
-
for (; !this.isEOF() &&
|
3003
|
+
for (; !this.isEOF() && Tt(this.char()); )
|
3039
3004
|
this.bump();
|
3040
3005
|
}, e.prototype.peek = function() {
|
3041
3006
|
if (this.isEOF())
|
3042
3007
|
return null;
|
3043
3008
|
var t = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
|
3044
|
-
return n
|
3009
|
+
return n ?? null;
|
3045
3010
|
}, e;
|
3046
3011
|
}()
|
3047
3012
|
);
|
3048
|
-
function
|
3013
|
+
function Ne(e) {
|
3049
3014
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
3050
3015
|
}
|
3051
|
-
function
|
3052
|
-
return
|
3016
|
+
function Qr(e) {
|
3017
|
+
return Ne(e) || e === 47;
|
3053
3018
|
}
|
3054
|
-
function
|
3019
|
+
function Jr(e) {
|
3055
3020
|
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;
|
3056
3021
|
}
|
3057
|
-
function
|
3022
|
+
function Tt(e) {
|
3058
3023
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
3059
3024
|
}
|
3060
|
-
function
|
3025
|
+
function Yr(e) {
|
3061
3026
|
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;
|
3062
3027
|
}
|
3063
|
-
function
|
3028
|
+
function Oe(e) {
|
3064
3029
|
e.forEach(function(t) {
|
3065
|
-
if (delete t.location,
|
3030
|
+
if (delete t.location, pt(t) || gt(t))
|
3066
3031
|
for (var r in t.options)
|
3067
|
-
delete t.options[r].location,
|
3068
|
-
else
|
3032
|
+
delete t.options[r].location, Oe(t.options[r].value);
|
3033
|
+
else ct(t) && bt(t.style) || (ft(t) || mt(t)) && Se(t.style) ? delete t.style.location : dt(t) && Oe(t.children);
|
3069
3034
|
});
|
3070
3035
|
}
|
3071
|
-
function
|
3036
|
+
function Kr(e, t) {
|
3072
3037
|
t === void 0 && (t = {}), t = d({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
3073
|
-
var r = new
|
3038
|
+
var r = new qr(e, t).parse();
|
3074
3039
|
if (r.err) {
|
3075
3040
|
var n = SyntaxError(p[r.err.kind]);
|
3076
3041
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
3077
3042
|
}
|
3078
|
-
return t
|
3043
|
+
return t?.captureLocation || Oe(r.val), r.val;
|
3079
3044
|
}
|
3080
|
-
var
|
3045
|
+
var V;
|
3081
3046
|
(function(e) {
|
3082
3047
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
3083
|
-
})(
|
3084
|
-
var
|
3048
|
+
})(V || (V = {}));
|
3049
|
+
var le = (
|
3085
3050
|
/** @class */
|
3086
3051
|
function(e) {
|
3087
|
-
|
3052
|
+
he(t, e);
|
3088
3053
|
function t(r, n, i) {
|
3089
3054
|
var s = e.call(this, r) || this;
|
3090
3055
|
return s.code = n, s.originalMessage = i, s;
|
@@ -3093,155 +3058,155 @@ var ce = (
|
|
3093
3058
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
3094
3059
|
}, t;
|
3095
3060
|
}(Error)
|
3096
|
-
),
|
3061
|
+
), Qe = (
|
3097
3062
|
/** @class */
|
3098
3063
|
function(e) {
|
3099
|
-
|
3064
|
+
he(t, e);
|
3100
3065
|
function t(r, n, i, s) {
|
3101
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
3066
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), V.INVALID_VALUE, s) || this;
|
3102
3067
|
}
|
3103
3068
|
return t;
|
3104
|
-
}(
|
3105
|
-
),
|
3069
|
+
}(le)
|
3070
|
+
), en = (
|
3106
3071
|
/** @class */
|
3107
3072
|
function(e) {
|
3108
|
-
|
3073
|
+
he(t, e);
|
3109
3074
|
function t(r, n, i) {
|
3110
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
3075
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), V.INVALID_VALUE, i) || this;
|
3111
3076
|
}
|
3112
3077
|
return t;
|
3113
|
-
}(
|
3114
|
-
),
|
3078
|
+
}(le)
|
3079
|
+
), tn = (
|
3115
3080
|
/** @class */
|
3116
3081
|
function(e) {
|
3117
|
-
|
3082
|
+
he(t, e);
|
3118
3083
|
function t(r, n) {
|
3119
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
3084
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), V.MISSING_VALUE, n) || this;
|
3120
3085
|
}
|
3121
3086
|
return t;
|
3122
|
-
}(
|
3087
|
+
}(le)
|
3123
3088
|
), S;
|
3124
3089
|
(function(e) {
|
3125
3090
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
3126
3091
|
})(S || (S = {}));
|
3127
|
-
function
|
3092
|
+
function rn(e) {
|
3128
3093
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
3129
3094
|
var n = t[t.length - 1];
|
3130
3095
|
return !n || n.type !== S.literal || r.type !== S.literal ? t.push(r) : n.value += r.value, t;
|
3131
3096
|
}, []);
|
3132
3097
|
}
|
3133
|
-
function
|
3098
|
+
function nn(e) {
|
3134
3099
|
return typeof e == "function";
|
3135
3100
|
}
|
3136
|
-
function
|
3137
|
-
if (e.length === 1 &&
|
3101
|
+
function ie(e, t, r, n, i, s, a) {
|
3102
|
+
if (e.length === 1 && Ve(e[0]))
|
3138
3103
|
return [
|
3139
3104
|
{
|
3140
3105
|
type: S.literal,
|
3141
3106
|
value: e[0].value
|
3142
3107
|
}
|
3143
3108
|
];
|
3144
|
-
for (var
|
3145
|
-
var
|
3146
|
-
if (
|
3147
|
-
|
3109
|
+
for (var o = [], l = 0, u = e; l < u.length; l++) {
|
3110
|
+
var h = u[l];
|
3111
|
+
if (Ve(h)) {
|
3112
|
+
o.push({
|
3148
3113
|
type: S.literal,
|
3149
|
-
value:
|
3114
|
+
value: h.value
|
3150
3115
|
});
|
3151
3116
|
continue;
|
3152
3117
|
}
|
3153
|
-
if (
|
3154
|
-
typeof s == "number" &&
|
3118
|
+
if (Br(h)) {
|
3119
|
+
typeof s == "number" && o.push({
|
3155
3120
|
type: S.literal,
|
3156
3121
|
value: r.getNumberFormat(t).format(s)
|
3157
3122
|
});
|
3158
3123
|
continue;
|
3159
3124
|
}
|
3160
|
-
var c =
|
3125
|
+
var c = h.value;
|
3161
3126
|
if (!(i && c in i))
|
3162
|
-
throw new
|
3127
|
+
throw new tn(c, a);
|
3163
3128
|
var f = i[c];
|
3164
|
-
if (
|
3165
|
-
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""),
|
3129
|
+
if (Tr(h)) {
|
3130
|
+
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), o.push({
|
3166
3131
|
type: typeof f == "string" ? S.literal : S.object,
|
3167
3132
|
value: f
|
3168
3133
|
});
|
3169
3134
|
continue;
|
3170
3135
|
}
|
3171
|
-
if (
|
3172
|
-
var b = typeof
|
3173
|
-
|
3136
|
+
if (ft(h)) {
|
3137
|
+
var b = typeof h.style == "string" ? n.date[h.style] : Se(h.style) ? h.style.parsedOptions : void 0;
|
3138
|
+
o.push({
|
3174
3139
|
type: S.literal,
|
3175
3140
|
value: r.getDateTimeFormat(t, b).format(f)
|
3176
3141
|
});
|
3177
3142
|
continue;
|
3178
3143
|
}
|
3179
|
-
if (
|
3180
|
-
var b = typeof
|
3181
|
-
|
3144
|
+
if (mt(h)) {
|
3145
|
+
var b = typeof h.style == "string" ? n.time[h.style] : Se(h.style) ? h.style.parsedOptions : n.time.medium;
|
3146
|
+
o.push({
|
3182
3147
|
type: S.literal,
|
3183
3148
|
value: r.getDateTimeFormat(t, b).format(f)
|
3184
3149
|
});
|
3185
3150
|
continue;
|
3186
3151
|
}
|
3187
|
-
if (
|
3188
|
-
var b = typeof
|
3189
|
-
b && b.scale && (f = f * (b.scale || 1)),
|
3152
|
+
if (ct(h)) {
|
3153
|
+
var b = typeof h.style == "string" ? n.number[h.style] : bt(h.style) ? h.style.parsedOptions : void 0;
|
3154
|
+
b && b.scale && (f = f * (b.scale || 1)), o.push({
|
3190
3155
|
type: S.literal,
|
3191
3156
|
value: r.getNumberFormat(t, b).format(f)
|
3192
3157
|
});
|
3193
3158
|
continue;
|
3194
3159
|
}
|
3195
|
-
if (
|
3196
|
-
var y =
|
3197
|
-
if (!
|
3198
|
-
throw new
|
3199
|
-
var H =
|
3160
|
+
if (dt(h)) {
|
3161
|
+
var y = h.children, v = h.value, m = i[v];
|
3162
|
+
if (!nn(m))
|
3163
|
+
throw new en(v, "function", a);
|
3164
|
+
var H = ie(y, t, r, n, i, s), _ = m(H.map(function(P) {
|
3200
3165
|
return P.value;
|
3201
3166
|
}));
|
3202
|
-
Array.isArray(_) || (_ = [_]),
|
3167
|
+
Array.isArray(_) || (_ = [_]), o.push.apply(o, _.map(function(P) {
|
3203
3168
|
return {
|
3204
3169
|
type: typeof P == "string" ? S.literal : S.object,
|
3205
3170
|
value: P
|
3206
3171
|
};
|
3207
3172
|
}));
|
3208
3173
|
}
|
3209
|
-
if (
|
3210
|
-
var B =
|
3174
|
+
if (pt(h)) {
|
3175
|
+
var B = h.options[f] || h.options.other;
|
3211
3176
|
if (!B)
|
3212
|
-
throw new
|
3213
|
-
|
3177
|
+
throw new Qe(h.value, f, Object.keys(h.options), a);
|
3178
|
+
o.push.apply(o, ie(B.value, t, r, n, i));
|
3214
3179
|
continue;
|
3215
3180
|
}
|
3216
|
-
if (
|
3217
|
-
var B =
|
3181
|
+
if (gt(h)) {
|
3182
|
+
var B = h.options["=".concat(f)];
|
3218
3183
|
if (!B) {
|
3219
3184
|
if (!Intl.PluralRules)
|
3220
|
-
throw new
|
3185
|
+
throw new le(`Intl.PluralRules is not available in this environment.
|
3221
3186
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
3222
|
-
`,
|
3223
|
-
var
|
3224
|
-
B =
|
3187
|
+
`, V.MISSING_INTL_API, a);
|
3188
|
+
var N = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
|
3189
|
+
B = h.options[N] || h.options.other;
|
3225
3190
|
}
|
3226
3191
|
if (!B)
|
3227
|
-
throw new
|
3228
|
-
|
3192
|
+
throw new Qe(h.value, f, Object.keys(h.options), a);
|
3193
|
+
o.push.apply(o, ie(B.value, t, r, n, i, f - (h.offset || 0)));
|
3229
3194
|
continue;
|
3230
3195
|
}
|
3231
3196
|
}
|
3232
|
-
return
|
3197
|
+
return rn(o);
|
3233
3198
|
}
|
3234
|
-
function
|
3199
|
+
function sn(e, t) {
|
3235
3200
|
return t ? d(d(d({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
3236
3201
|
return r[n] = d(d({}, e[n]), t[n] || {}), r;
|
3237
3202
|
}, {})) : e;
|
3238
3203
|
}
|
3239
|
-
function
|
3204
|
+
function on(e, t) {
|
3240
3205
|
return t ? Object.keys(e).reduce(function(r, n) {
|
3241
|
-
return r[n] =
|
3206
|
+
return r[n] = sn(e[n], t[n]), r;
|
3242
3207
|
}, d({}, e)) : e;
|
3243
3208
|
}
|
3244
|
-
function
|
3209
|
+
function Ee(e) {
|
3245
3210
|
return {
|
3246
3211
|
create: function() {
|
3247
3212
|
return {
|
@@ -3255,39 +3220,39 @@ function _e(e) {
|
|
3255
3220
|
}
|
3256
3221
|
};
|
3257
3222
|
}
|
3258
|
-
function
|
3223
|
+
function an(e) {
|
3259
3224
|
return e === void 0 && (e = {
|
3260
3225
|
number: {},
|
3261
3226
|
dateTime: {},
|
3262
3227
|
pluralRules: {}
|
3263
3228
|
}), {
|
3264
|
-
getNumberFormat:
|
3229
|
+
getNumberFormat: be(function() {
|
3265
3230
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3266
3231
|
r[n] = arguments[n];
|
3267
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
3232
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, de([void 0], r, !1)))();
|
3268
3233
|
}, {
|
3269
|
-
cache:
|
3270
|
-
strategy:
|
3234
|
+
cache: Ee(e.number),
|
3235
|
+
strategy: ye.variadic
|
3271
3236
|
}),
|
3272
|
-
getDateTimeFormat:
|
3237
|
+
getDateTimeFormat: be(function() {
|
3273
3238
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3274
3239
|
r[n] = arguments[n];
|
3275
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
3240
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, de([void 0], r, !1)))();
|
3276
3241
|
}, {
|
3277
|
-
cache:
|
3278
|
-
strategy:
|
3242
|
+
cache: Ee(e.dateTime),
|
3243
|
+
strategy: ye.variadic
|
3279
3244
|
}),
|
3280
|
-
getPluralRules:
|
3245
|
+
getPluralRules: be(function() {
|
3281
3246
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3282
3247
|
r[n] = arguments[n];
|
3283
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
3248
|
+
return new ((t = Intl.PluralRules).bind.apply(t, de([void 0], r, !1)))();
|
3284
3249
|
}, {
|
3285
|
-
cache:
|
3286
|
-
strategy:
|
3250
|
+
cache: Ee(e.pluralRules),
|
3251
|
+
strategy: ye.variadic
|
3287
3252
|
})
|
3288
3253
|
};
|
3289
3254
|
}
|
3290
|
-
var
|
3255
|
+
var un = (
|
3291
3256
|
/** @class */
|
3292
3257
|
function() {
|
3293
3258
|
function e(t, r, n, i) {
|
@@ -3297,35 +3262,35 @@ var xn = (
|
|
3297
3262
|
number: {},
|
3298
3263
|
dateTime: {},
|
3299
3264
|
pluralRules: {}
|
3300
|
-
}, this.format = function(
|
3301
|
-
var u = s.formatToParts(
|
3265
|
+
}, this.format = function(l) {
|
3266
|
+
var u = s.formatToParts(l);
|
3302
3267
|
if (u.length === 1)
|
3303
3268
|
return u[0].value;
|
3304
|
-
var
|
3269
|
+
var h = u.reduce(function(c, f) {
|
3305
3270
|
return !c.length || f.type !== S.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
|
3306
3271
|
}, []);
|
3307
|
-
return
|
3308
|
-
}, this.formatToParts = function(
|
3309
|
-
return
|
3272
|
+
return h.length <= 1 ? h[0] || "" : h;
|
3273
|
+
}, this.formatToParts = function(l) {
|
3274
|
+
return ie(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
|
3310
3275
|
}, this.resolvedOptions = function() {
|
3311
|
-
var
|
3276
|
+
var l;
|
3312
3277
|
return {
|
3313
|
-
locale: ((
|
3278
|
+
locale: ((l = s.resolvedLocale) === null || l === void 0 ? void 0 : l.toString()) || Intl.NumberFormat.supportedLocalesOf(s.locales)[0]
|
3314
3279
|
};
|
3315
3280
|
}, this.getAst = function() {
|
3316
3281
|
return s.ast;
|
3317
3282
|
}, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
|
3318
3283
|
if (this.message = t, !e.__parse)
|
3319
3284
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
3320
|
-
var
|
3321
|
-
|
3322
|
-
var
|
3323
|
-
this.ast = e.__parse(t, d(d({},
|
3285
|
+
var a = i || {};
|
3286
|
+
a.formatters;
|
3287
|
+
var o = dr(a, ["formatters"]);
|
3288
|
+
this.ast = e.__parse(t, d(d({}, o), { locale: this.resolvedLocale }));
|
3324
3289
|
} else
|
3325
3290
|
this.ast = t;
|
3326
3291
|
if (!Array.isArray(this.ast))
|
3327
3292
|
throw new TypeError("A message must be provided as a String or AST.");
|
3328
|
-
this.formats =
|
3293
|
+
this.formats = on(e.formats, n), this.formatters = i && i.formatters || an(this.formatterCache);
|
3329
3294
|
}
|
3330
3295
|
return Object.defineProperty(e, "defaultLocale", {
|
3331
3296
|
get: function() {
|
@@ -3334,11 +3299,11 @@ var xn = (
|
|
3334
3299
|
enumerable: !1,
|
3335
3300
|
configurable: !0
|
3336
3301
|
}), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
|
3337
|
-
if (typeof Intl.Locale
|
3302
|
+
if (!(typeof Intl.Locale > "u")) {
|
3338
3303
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
3339
3304
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
3340
3305
|
}
|
3341
|
-
}, e.__parse =
|
3306
|
+
}, e.__parse = Kr, e.formats = {
|
3342
3307
|
number: {
|
3343
3308
|
integer: {
|
3344
3309
|
maximumFractionDigits: 0
|
@@ -3399,7 +3364,7 @@ var xn = (
|
|
3399
3364
|
}, e;
|
3400
3365
|
}()
|
3401
3366
|
);
|
3402
|
-
function
|
3367
|
+
function hn(e, t) {
|
3403
3368
|
if (t == null)
|
3404
3369
|
return;
|
3405
3370
|
if (t in e)
|
@@ -3420,92 +3385,92 @@ function vn(e, t) {
|
|
3420
3385
|
n = void 0;
|
3421
3386
|
return n;
|
3422
3387
|
}
|
3423
|
-
const
|
3388
|
+
const O = {}, ln = (e, t, r) => r && (t in O || (O[t] = {}), e in O[t] || (O[t][e] = r), r), Bt = (e, t) => {
|
3424
3389
|
if (t == null)
|
3425
3390
|
return;
|
3426
|
-
if (t in
|
3427
|
-
return
|
3428
|
-
const r =
|
3391
|
+
if (t in O && e in O[t])
|
3392
|
+
return O[t][e];
|
3393
|
+
const r = ce(t);
|
3429
3394
|
for (let n = 0; n < r.length; n++) {
|
3430
|
-
const i = r[n], s =
|
3395
|
+
const i = r[n], s = fn(i, e);
|
3431
3396
|
if (s)
|
3432
|
-
return
|
3397
|
+
return ln(e, t, s);
|
3433
3398
|
}
|
3434
3399
|
};
|
3435
|
-
let
|
3436
|
-
const
|
3437
|
-
function
|
3438
|
-
return
|
3400
|
+
let De;
|
3401
|
+
const ee = ue({});
|
3402
|
+
function cn(e) {
|
3403
|
+
return De[e] || null;
|
3439
3404
|
}
|
3440
|
-
function
|
3441
|
-
return e in
|
3405
|
+
function St(e) {
|
3406
|
+
return e in De;
|
3442
3407
|
}
|
3443
|
-
function
|
3444
|
-
if (!
|
3408
|
+
function fn(e, t) {
|
3409
|
+
if (!St(e))
|
3445
3410
|
return null;
|
3446
|
-
const r =
|
3447
|
-
return
|
3411
|
+
const r = cn(e);
|
3412
|
+
return hn(r, t);
|
3448
3413
|
}
|
3449
|
-
function
|
3414
|
+
function mn(e) {
|
3450
3415
|
if (e == null)
|
3451
3416
|
return;
|
3452
|
-
const t =
|
3417
|
+
const t = ce(e);
|
3453
3418
|
for (let r = 0; r < t.length; r++) {
|
3454
3419
|
const n = t[r];
|
3455
|
-
if (
|
3420
|
+
if (St(n))
|
3456
3421
|
return n;
|
3457
3422
|
}
|
3458
3423
|
}
|
3459
|
-
function
|
3460
|
-
delete
|
3424
|
+
function Pt(e, ...t) {
|
3425
|
+
delete O[e], ee.update((r) => (r[e] = gr.all([r[e] || {}, ...t]), r));
|
3461
3426
|
}
|
3462
|
-
|
3463
|
-
[
|
3427
|
+
X(
|
3428
|
+
[ee],
|
3464
3429
|
([e]) => Object.keys(e)
|
3465
3430
|
);
|
3466
|
-
|
3467
|
-
const
|
3468
|
-
function
|
3469
|
-
|
3431
|
+
ee.subscribe((e) => De = e);
|
3432
|
+
const se = {};
|
3433
|
+
function pn(e, t) {
|
3434
|
+
se[e].delete(t), se[e].size === 0 && delete se[e];
|
3470
3435
|
}
|
3471
|
-
function
|
3472
|
-
return
|
3436
|
+
function At(e) {
|
3437
|
+
return se[e];
|
3473
3438
|
}
|
3474
|
-
function
|
3475
|
-
return
|
3476
|
-
const r =
|
3439
|
+
function gn(e) {
|
3440
|
+
return ce(e).map((t) => {
|
3441
|
+
const r = At(t);
|
3477
3442
|
return [t, r ? [...r] : []];
|
3478
3443
|
}).filter(([, t]) => t.length > 0);
|
3479
3444
|
}
|
3480
|
-
function
|
3481
|
-
return e == null ? !1 :
|
3445
|
+
function Le(e) {
|
3446
|
+
return e == null ? !1 : ce(e).some(
|
3482
3447
|
(t) => {
|
3483
3448
|
var r;
|
3484
|
-
return (r =
|
3449
|
+
return (r = At(t)) == null ? void 0 : r.size;
|
3485
3450
|
}
|
3486
3451
|
);
|
3487
3452
|
}
|
3488
|
-
function
|
3453
|
+
function dn(e, t) {
|
3489
3454
|
return Promise.all(
|
3490
|
-
t.map((n) => (
|
3491
|
-
).then((n) =>
|
3492
|
-
}
|
3493
|
-
const
|
3494
|
-
function
|
3495
|
-
if (!
|
3496
|
-
return e in
|
3497
|
-
const t =
|
3498
|
-
return
|
3455
|
+
t.map((n) => (pn(e, n), n().then((i) => i.default || i)))
|
3456
|
+
).then((n) => Pt(e, ...n));
|
3457
|
+
}
|
3458
|
+
const q = {};
|
3459
|
+
function wt(e) {
|
3460
|
+
if (!Le(e))
|
3461
|
+
return e in q ? q[e] : Promise.resolve();
|
3462
|
+
const t = gn(e);
|
3463
|
+
return q[e] = Promise.all(
|
3499
3464
|
t.map(
|
3500
|
-
([r, n]) =>
|
3465
|
+
([r, n]) => dn(r, n)
|
3501
3466
|
)
|
3502
3467
|
).then(() => {
|
3503
|
-
if (
|
3504
|
-
return
|
3505
|
-
delete
|
3506
|
-
}),
|
3468
|
+
if (Le(e))
|
3469
|
+
return wt(e);
|
3470
|
+
delete q[e];
|
3471
|
+
}), q[e];
|
3507
3472
|
}
|
3508
|
-
const
|
3473
|
+
const bn = {
|
3509
3474
|
number: {
|
3510
3475
|
scientific: { notation: "scientific" },
|
3511
3476
|
engineering: { notation: "engineering" },
|
@@ -3534,159 +3499,159 @@ const Pn = {
|
|
3534
3499
|
timeZoneName: "short"
|
3535
3500
|
}
|
3536
3501
|
}
|
3537
|
-
},
|
3502
|
+
}, yn = {
|
3538
3503
|
fallbackLocale: null,
|
3539
3504
|
loadingDelay: 200,
|
3540
|
-
formats:
|
3505
|
+
formats: bn,
|
3541
3506
|
warnOnMissingMessages: !0,
|
3542
3507
|
handleMissingMessage: void 0,
|
3543
3508
|
ignoreTag: !0
|
3544
|
-
},
|
3545
|
-
function
|
3546
|
-
return
|
3547
|
-
}
|
3548
|
-
const
|
3549
|
-
var
|
3550
|
-
for (var r in t
|
3551
|
-
|
3552
|
-
if (
|
3553
|
-
for (var r of
|
3554
|
-
|
3509
|
+
}, xn = yn;
|
3510
|
+
function k() {
|
3511
|
+
return xn;
|
3512
|
+
}
|
3513
|
+
const ve = ue(!1);
|
3514
|
+
var En = Object.defineProperty, vn = Object.defineProperties, _n = Object.getOwnPropertyDescriptors, Je = Object.getOwnPropertySymbols, Hn = Object.prototype.hasOwnProperty, Tn = Object.prototype.propertyIsEnumerable, Ye = (e, t, r) => t in e ? En(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Bn = (e, t) => {
|
3515
|
+
for (var r in t)
|
3516
|
+
Hn.call(t, r) && Ye(e, r, t[r]);
|
3517
|
+
if (Je)
|
3518
|
+
for (var r of Je(t))
|
3519
|
+
Tn.call(t, r) && Ye(e, r, t[r]);
|
3555
3520
|
return e;
|
3556
|
-
},
|
3557
|
-
let
|
3558
|
-
const
|
3559
|
-
function
|
3521
|
+
}, Sn = (e, t) => vn(e, _n(t));
|
3522
|
+
let Ie;
|
3523
|
+
const oe = ue(null);
|
3524
|
+
function Ke(e) {
|
3560
3525
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
3561
3526
|
}
|
3562
|
-
function
|
3563
|
-
const r =
|
3564
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
3527
|
+
function ce(e, t = k().fallbackLocale) {
|
3528
|
+
const r = Ke(e);
|
3529
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Ke(t)])] : r;
|
3565
3530
|
}
|
3566
|
-
function
|
3567
|
-
return
|
3531
|
+
function C() {
|
3532
|
+
return Ie ?? void 0;
|
3568
3533
|
}
|
3569
|
-
|
3570
|
-
|
3534
|
+
oe.subscribe((e) => {
|
3535
|
+
Ie = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
3571
3536
|
});
|
3572
|
-
const
|
3573
|
-
if (e &&
|
3574
|
-
const { loadingDelay: t } =
|
3537
|
+
const Pn = (e) => {
|
3538
|
+
if (e && mn(e) && Le(e)) {
|
3539
|
+
const { loadingDelay: t } = k();
|
3575
3540
|
let r;
|
3576
|
-
return typeof window
|
3577
|
-
() =>
|
3541
|
+
return typeof window < "u" && C() != null && t ? r = window.setTimeout(
|
3542
|
+
() => ve.set(!0),
|
3578
3543
|
t
|
3579
|
-
) :
|
3580
|
-
|
3544
|
+
) : ve.set(!0), wt(e).then(() => {
|
3545
|
+
oe.set(e);
|
3581
3546
|
}).finally(() => {
|
3582
|
-
clearTimeout(r),
|
3547
|
+
clearTimeout(r), ve.set(!1);
|
3583
3548
|
});
|
3584
3549
|
}
|
3585
|
-
return
|
3586
|
-
},
|
3587
|
-
set:
|
3588
|
-
}),
|
3550
|
+
return oe.set(e);
|
3551
|
+
}, z = Sn(Bn({}, oe), {
|
3552
|
+
set: Pn
|
3553
|
+
}), fe = (e) => {
|
3589
3554
|
const t = /* @__PURE__ */ Object.create(null);
|
3590
3555
|
return (n) => {
|
3591
3556
|
const i = JSON.stringify(n);
|
3592
3557
|
return i in t ? t[i] : t[i] = e(n);
|
3593
3558
|
};
|
3594
3559
|
};
|
3595
|
-
var
|
3560
|
+
var An = Object.defineProperty, ae = Object.getOwnPropertySymbols, Nt = Object.prototype.hasOwnProperty, Ot = Object.prototype.propertyIsEnumerable, et = (e, t, r) => t in e ? An(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ue = (e, t) => {
|
3596
3561
|
for (var r in t || (t = {}))
|
3597
|
-
|
3598
|
-
if (
|
3599
|
-
for (var r of
|
3600
|
-
|
3562
|
+
Nt.call(t, r) && et(e, r, t[r]);
|
3563
|
+
if (ae)
|
3564
|
+
for (var r of ae(t))
|
3565
|
+
Ot.call(t, r) && et(e, r, t[r]);
|
3601
3566
|
return e;
|
3602
|
-
},
|
3567
|
+
}, W = (e, t) => {
|
3603
3568
|
var r = {};
|
3604
3569
|
for (var n in e)
|
3605
|
-
|
3606
|
-
if (e != null &&
|
3607
|
-
for (var n of
|
3608
|
-
t.indexOf(n) < 0 &&
|
3570
|
+
Nt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
3571
|
+
if (e != null && ae)
|
3572
|
+
for (var n of ae(e))
|
3573
|
+
t.indexOf(n) < 0 && Ot.call(e, n) && (r[n] = e[n]);
|
3609
3574
|
return r;
|
3610
3575
|
};
|
3611
|
-
const
|
3612
|
-
const { formats: r } =
|
3576
|
+
const Y = (e, t) => {
|
3577
|
+
const { formats: r } = k();
|
3613
3578
|
if (e in r && t in r[e])
|
3614
3579
|
return r[e][t];
|
3615
3580
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
3616
|
-
},
|
3581
|
+
}, wn = fe(
|
3617
3582
|
(e) => {
|
3618
|
-
var t = e, { locale: r, format: n } = t, i =
|
3583
|
+
var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
|
3619
3584
|
if (r == null)
|
3620
3585
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
3621
|
-
return n && (i =
|
3586
|
+
return n && (i = Y("number", n)), new Intl.NumberFormat(r, i);
|
3622
3587
|
}
|
3623
|
-
),
|
3588
|
+
), Nn = fe(
|
3624
3589
|
(e) => {
|
3625
|
-
var t = e, { locale: r, format: n } = t, i =
|
3590
|
+
var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
|
3626
3591
|
if (r == null)
|
3627
3592
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
3628
|
-
return n ? i =
|
3593
|
+
return n ? i = Y("date", n) : Object.keys(i).length === 0 && (i = Y("date", "short")), new Intl.DateTimeFormat(r, i);
|
3629
3594
|
}
|
3630
|
-
),
|
3595
|
+
), On = fe(
|
3631
3596
|
(e) => {
|
3632
|
-
var t = e, { locale: r, format: n } = t, i =
|
3597
|
+
var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
|
3633
3598
|
if (r == null)
|
3634
3599
|
throw new Error(
|
3635
3600
|
'[svelte-i18n] A "locale" must be set to format time values'
|
3636
3601
|
);
|
3637
|
-
return n ? i =
|
3602
|
+
return n ? i = Y("time", n) : Object.keys(i).length === 0 && (i = Y("time", "short")), new Intl.DateTimeFormat(r, i);
|
3638
3603
|
}
|
3639
|
-
),
|
3604
|
+
), Ln = (e = {}) => {
|
3640
3605
|
var t = e, {
|
3641
|
-
locale: r =
|
3642
|
-
} = t, n =
|
3606
|
+
locale: r = C()
|
3607
|
+
} = t, n = W(t, [
|
3643
3608
|
"locale"
|
3644
3609
|
]);
|
3645
|
-
return
|
3646
|
-
},
|
3610
|
+
return wn(Ue({ locale: r }, n));
|
3611
|
+
}, In = (e = {}) => {
|
3647
3612
|
var t = e, {
|
3648
|
-
locale: r =
|
3649
|
-
} = t, n =
|
3613
|
+
locale: r = C()
|
3614
|
+
} = t, n = W(t, [
|
3650
3615
|
"locale"
|
3651
3616
|
]);
|
3652
|
-
return
|
3653
|
-
},
|
3617
|
+
return Nn(Ue({ locale: r }, n));
|
3618
|
+
}, Cn = (e = {}) => {
|
3654
3619
|
var t = e, {
|
3655
|
-
locale: r =
|
3656
|
-
} = t, n =
|
3620
|
+
locale: r = C()
|
3621
|
+
} = t, n = W(t, [
|
3657
3622
|
"locale"
|
3658
3623
|
]);
|
3659
|
-
return
|
3660
|
-
},
|
3624
|
+
return On(Ue({ locale: r }, n));
|
3625
|
+
}, $n = fe(
|
3661
3626
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
3662
|
-
(e, t =
|
3663
|
-
ignoreTag:
|
3627
|
+
(e, t = C()) => new un(e, t, k().formats, {
|
3628
|
+
ignoreTag: k().ignoreTag
|
3664
3629
|
})
|
3665
|
-
),
|
3630
|
+
), Mn = (e, t = {}) => {
|
3666
3631
|
var r, n, i, s;
|
3667
|
-
let
|
3668
|
-
typeof e == "object" && (
|
3632
|
+
let a = t;
|
3633
|
+
typeof e == "object" && (a = e, e = a.id);
|
3669
3634
|
const {
|
3670
|
-
values:
|
3671
|
-
locale:
|
3635
|
+
values: o,
|
3636
|
+
locale: l = C(),
|
3672
3637
|
default: u
|
3673
|
-
} =
|
3674
|
-
if (
|
3638
|
+
} = a;
|
3639
|
+
if (l == null)
|
3675
3640
|
throw new Error(
|
3676
3641
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
3677
3642
|
);
|
3678
|
-
let
|
3679
|
-
if (!
|
3680
|
-
|
3681
|
-
else if (typeof
|
3643
|
+
let h = Bt(e, l);
|
3644
|
+
if (!h)
|
3645
|
+
h = (s = (i = (n = (r = k()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
|
3646
|
+
else if (typeof h != "string")
|
3682
3647
|
return console.warn(
|
3683
|
-
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof
|
3684
|
-
),
|
3685
|
-
if (!
|
3686
|
-
return
|
3687
|
-
let c =
|
3648
|
+
`[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.`
|
3649
|
+
), h;
|
3650
|
+
if (!o)
|
3651
|
+
return h;
|
3652
|
+
let c = h;
|
3688
3653
|
try {
|
3689
|
-
c =
|
3654
|
+
c = $n(h, l).format(o);
|
3690
3655
|
} catch (f) {
|
3691
3656
|
f instanceof Error && console.warn(
|
3692
3657
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
@@ -3694,18 +3659,18 @@ const K = (e, t) => {
|
|
3694
3659
|
);
|
3695
3660
|
}
|
3696
3661
|
return c;
|
3697
|
-
},
|
3698
|
-
|
3699
|
-
|
3700
|
-
|
3701
|
-
|
3702
|
-
function
|
3703
|
-
|
3704
|
-
}
|
3705
|
-
function
|
3706
|
-
|
3707
|
-
}
|
3708
|
-
const
|
3662
|
+
}, Rn = (e, t) => Cn(t).format(e), Dn = (e, t) => In(t).format(e), Un = (e, t) => Ln(t).format(e), Gn = (e, t = C()) => Bt(e, t), Fn = X([z, ee], () => Mn);
|
3663
|
+
X([z], () => Rn);
|
3664
|
+
X([z], () => Dn);
|
3665
|
+
X([z], () => Un);
|
3666
|
+
X([z, ee], () => Gn);
|
3667
|
+
function tt(e, t) {
|
3668
|
+
Pt(e, t);
|
3669
|
+
}
|
3670
|
+
function jn(e) {
|
3671
|
+
z.set(e);
|
3672
|
+
}
|
3673
|
+
const rt = {
|
3709
3674
|
en: {
|
3710
3675
|
sorry: "We are sorry",
|
3711
3676
|
access: "The page you are trying to access is available for logged-in users only. Please login.",
|
@@ -3797,150 +3762,150 @@ const ht = {
|
|
3797
3762
|
login: "Login"
|
3798
3763
|
}
|
3799
3764
|
};
|
3800
|
-
function
|
3801
|
-
|
3765
|
+
function Vn(e) {
|
3766
|
+
Ct(e, "svelte-17wxvp", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:"Helvetica Neue", "Helvetica", sans-serif}.PageWrapper{color:var(--emw--misc-typography, var(--emw--color-white, #FFFFFF));background:var(--emw--misc-color-bg, var(--emw--color-background, #07072A));padding:50px 0;width:100%;text-align:center}.NotFoundPage{display:flex;flex-direction:column;margin:auto;gap:40px;align-items:center;max-width:800px;padding:50px}.NotFoundPage svg{fill:var(--emw--misc-color-primary, var(--emw--color-primary, #D0046C))}.PageTitle{color:var(--emw--misc-color-primary, var(--emw--color-primary, #D0046C));font-weight:500;font-size:28px}.PageContent{color:#D1D1D1;font-size:18px;line-height:24px}.ErrorPageTitle{color:var(--emw--color-error, var(--emw--color-red, #ed0909));font-weight:500;font-size:28px}.ErrorPageContent{color:var(--emw--color-error, var(--emw--color-red, #ed0909));font-size:18px;line-height:24px}.ButtonDefaultSmall{background:var(--emw--misc-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--misc-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));border-radius:5px;width:30%;height:60px;display:flex;align-items:center;justify-content:center;font-size:16px;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box;cursor:pointer}@media only screen and (max-width: 475px){.PageWrapper{color:var(--emw--misc-typography, var(--emw--color-white, #FFFFFF));background:var(--emw--misc-color-bg, var(--emw--color-background, #07072A));padding:20px 0;width:100%;text-align:center}.NotFoundPage{text-align:center;width:100%;font-size:12px;padding:20px}.PageTitle{font-size:22px}.ButtonDefaultSmall{width:80%;height:50px;font-size:14px;grid-template-columns:1fr}.ErrorPageContent{font-size:16px;line-height:18px}.ErrorPageTitle{font-size:18px}.PageContent{font-size:16px;line-height:18px}}');
|
3802
3767
|
}
|
3803
|
-
function
|
3804
|
-
let t, r, n, i, s,
|
3768
|
+
function kn(e) {
|
3769
|
+
let t, r, n, i, s, a, o, l, u, h, c = (
|
3805
3770
|
/*$_*/
|
3806
3771
|
e[1]("sorry") + ""
|
3807
|
-
), f, b, y,
|
3772
|
+
), f, b, y, v = (
|
3808
3773
|
/*$_*/
|
3809
3774
|
e[1]("access") + ""
|
3810
3775
|
), m, H, _, B = (
|
3811
3776
|
/*$_*/
|
3812
3777
|
e[1]("login") + ""
|
3813
|
-
),
|
3778
|
+
), N, P, L;
|
3814
3779
|
return {
|
3815
3780
|
c() {
|
3816
|
-
t =
|
3781
|
+
t = I("div"), r = I("div"), n = $("svg"), i = $("g"), s = $("path"), a = $("path"), o = $("path"), l = $("path"), u = me(), h = I("p"), f = re(c), b = me(), y = I("p"), m = re(v), H = me(), _ = I("button"), N = re(B), E(s, "class", "a"), E(s, "d", "M22.819,139.685H126.266a13.422,13.422,0,0,0,13.449-13.449V22.789A13.422,13.422,0,0,0,126.266,9.34H22.819A13.422,13.422,0,0,0,9.37,22.789V126.236A13.422,13.422,0,0,0,22.819,139.685Zm-7.241-116.9a7.2,7.2,0,0,1,7.241-7.241H126.266a7.2,7.2,0,0,1,7.241,7.241V38.3H15.572Zm0,21.725H133.513v81.723a7.2,7.2,0,0,1-7.241,7.241H22.824a7.2,7.2,0,0,1-7.241-7.241Z"), E(a, "class", "a"), E(a, "d", "M147.866,140.62h-4.138a3.1,3.1,0,0,0,0,6.207h4.138a3.1,3.1,0,0,0,0-6.207Z"), E(a, "transform", "translate(-116.772 -116.794)"), E(o, "class", "a"), E(o, "d", "M297.866,140.62h-4.138a3.1,3.1,0,1,0,0,6.207h4.138a3.1,3.1,0,0,0,0-6.207Z"), E(o, "transform", "translate(-250.22 -116.794)"), E(l, "class", "a"), E(l, "d", "M199.816,81.307h-1.765V74.5c0-8.132-5.863-14.5-14.247-14.5s-14.12,6.493-14.12,14.5v6.745h-1.765a7.156,7.156,0,0,0-7.123,7.123v21.307a7.156,7.156,0,0,0,7.123,7.123h31.9a7.156,7.156,0,0,0,7.123-7.123V88.367a7.1,7.1,0,0,0-7.123-7.06Zm-26.6,0V74.5c0-6.052,4.16-10.969,10.59-10.969,6.367,0,10.716,4.791,10.716,10.969v6.745H173.215v.063Zm30.132,28.367a3.524,3.524,0,0,1-3.53,3.53h-31.9a3.524,3.524,0,0,1-3.53-3.53V88.367a3.524,3.524,0,0,1,3.53-3.53h31.9a3.524,3.524,0,0,1,3.53,3.53ZM187.4,95.49a3.548,3.548,0,0,1-1.765,3.089h0v5.8a1.765,1.765,0,1,1-3.53,0v-5.8h0a3.55,3.55,0,0,1,1.765-6.619,3.447,3.447,0,0,1,3.53,3.53Z"), E(l, "transform", "translate(-109.326 -3.172)"), E(i, "transform", "translate(-9.37 -9.34)"), E(n, "xmlns", "http://www.w3.org/2000/svg"), E(n, "width", "130.345"), E(n, "height", "130.345"), E(n, "viewBox", "0 0 130.345 130.345"), E(h, "class", "PageTitle"), E(y, "class", "PageContent"), E(_, "class", "ButtonDefaultSmall"), E(r, "class", "NotFoundPage"), E(t, "class", "PageWrapper");
|
3817
3782
|
},
|
3818
|
-
m(
|
3819
|
-
|
3783
|
+
m(w, Z) {
|
3784
|
+
ot(w, t, Z), T(t, r), T(r, n), T(n, i), T(i, s), T(i, a), T(i, o), T(i, l), T(r, u), T(r, h), T(h, f), T(r, b), T(r, y), T(y, m), T(r, H), T(r, _), T(_, N), e[8](t), P || (L = Rt(
|
3820
3785
|
_,
|
3821
3786
|
"click",
|
3822
3787
|
/*click_handler*/
|
3823
3788
|
e[7]
|
3824
3789
|
), P = !0);
|
3825
3790
|
},
|
3826
|
-
p(
|
3827
|
-
|
3791
|
+
p(w, [Z]) {
|
3792
|
+
Z & /*$_*/
|
3828
3793
|
2 && c !== (c = /*$_*/
|
3829
|
-
|
3830
|
-
2 &&
|
3831
|
-
|
3794
|
+
w[1]("sorry") + "") && pe(f, c), Z & /*$_*/
|
3795
|
+
2 && v !== (v = /*$_*/
|
3796
|
+
w[1]("access") + "") && pe(m, v), Z & /*$_*/
|
3832
3797
|
2 && B !== (B = /*$_*/
|
3833
|
-
|
3798
|
+
w[1]("login") + "") && pe(N, B);
|
3834
3799
|
},
|
3835
|
-
i:
|
3836
|
-
o:
|
3837
|
-
d(
|
3838
|
-
|
3800
|
+
i: A,
|
3801
|
+
o: A,
|
3802
|
+
d(w) {
|
3803
|
+
w && $e(t), e[8](null), P = !1, L();
|
3839
3804
|
}
|
3840
3805
|
};
|
3841
3806
|
}
|
3842
|
-
function
|
3807
|
+
function Xn(e, t, r) {
|
3843
3808
|
let n;
|
3844
|
-
|
3845
|
-
let { lang: i = "en" } = t, { clientstyling: s = "" } = t, { clientstylingurl:
|
3809
|
+
It(e, Fn, (m) => r(1, n = m));
|
3810
|
+
let { lang: i = "en" } = t, { clientstyling: s = "" } = t, { clientstylingurl: a = "" } = t, o, { translationurl: l = "" } = t;
|
3846
3811
|
const u = () => {
|
3847
|
-
fetch(
|
3812
|
+
fetch(l).then((H) => H.json()).then((H) => {
|
3848
3813
|
Object.keys(H).forEach((_) => {
|
3849
|
-
|
3814
|
+
tt(_, H[_]);
|
3850
3815
|
});
|
3851
3816
|
}).catch((H) => {
|
3852
3817
|
console.log(H);
|
3853
3818
|
});
|
3854
3819
|
};
|
3855
|
-
Object.keys(
|
3856
|
-
|
3820
|
+
Object.keys(rt).forEach((m) => {
|
3821
|
+
tt(m, rt[m]);
|
3857
3822
|
});
|
3858
|
-
const
|
3823
|
+
const h = () => {
|
3859
3824
|
window.postMessage({ type: "403ActionButton" }, window.location.href);
|
3860
3825
|
}, c = () => {
|
3861
|
-
|
3826
|
+
jn(i);
|
3862
3827
|
}, f = () => {
|
3863
3828
|
let m = document.createElement("style");
|
3864
|
-
m.innerHTML = s,
|
3829
|
+
m.innerHTML = s, o.appendChild(m);
|
3865
3830
|
}, b = () => {
|
3866
|
-
let m = new URL(
|
3831
|
+
let m = new URL(a), H = document.createElement("style");
|
3867
3832
|
fetch(m.href).then((_) => _.text()).then((_) => {
|
3868
3833
|
H.innerHTML = _, setTimeout(
|
3869
3834
|
() => {
|
3870
|
-
|
3835
|
+
o.appendChild(H);
|
3871
3836
|
},
|
3872
3837
|
1
|
3873
3838
|
);
|
3874
3839
|
});
|
3875
|
-
}, y = () =>
|
3876
|
-
function
|
3877
|
-
|
3878
|
-
|
3840
|
+
}, y = () => h();
|
3841
|
+
function v(m) {
|
3842
|
+
_e[m ? "unshift" : "push"](() => {
|
3843
|
+
o = m, r(0, o);
|
3879
3844
|
});
|
3880
3845
|
}
|
3881
3846
|
return e.$$set = (m) => {
|
3882
|
-
"lang" in m && r(3, i = m.lang), "clientstyling" in m && r(4, s = m.clientstyling), "clientstylingurl" in m && r(5,
|
3847
|
+
"lang" in m && r(3, i = m.lang), "clientstyling" in m && r(4, s = m.clientstyling), "clientstylingurl" in m && r(5, a = m.clientstylingurl), "translationurl" in m && r(6, l = m.translationurl);
|
3883
3848
|
}, e.$$.update = () => {
|
3884
3849
|
e.$$.dirty & /*lang*/
|
3885
3850
|
8 && i && c(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
3886
|
-
17 && s &&
|
3887
|
-
33 &&
|
3888
|
-
64 &&
|
3851
|
+
17 && s && o && f(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
3852
|
+
33 && a && o && b(), e.$$.dirty & /*translationurl*/
|
3853
|
+
64 && l && u();
|
3889
3854
|
}, [
|
3890
|
-
|
3855
|
+
o,
|
3891
3856
|
n,
|
3892
|
-
|
3857
|
+
h,
|
3893
3858
|
i,
|
3894
3859
|
s,
|
3895
|
-
|
3896
|
-
|
3860
|
+
a,
|
3861
|
+
l,
|
3897
3862
|
y,
|
3898
|
-
|
3863
|
+
v
|
3899
3864
|
];
|
3900
3865
|
}
|
3901
|
-
class
|
3866
|
+
class zn extends Jt {
|
3902
3867
|
constructor(t) {
|
3903
|
-
super(),
|
3868
|
+
super(), qt(
|
3904
3869
|
this,
|
3905
3870
|
t,
|
3906
|
-
|
3907
|
-
|
3908
|
-
|
3871
|
+
Xn,
|
3872
|
+
kn,
|
3873
|
+
it,
|
3909
3874
|
{
|
3910
3875
|
lang: 3,
|
3911
3876
|
clientstyling: 4,
|
3912
3877
|
clientstylingurl: 5,
|
3913
3878
|
translationurl: 6
|
3914
3879
|
},
|
3915
|
-
|
3880
|
+
Vn
|
3916
3881
|
);
|
3917
3882
|
}
|
3918
3883
|
get lang() {
|
3919
3884
|
return this.$$.ctx[3];
|
3920
3885
|
}
|
3921
3886
|
set lang(t) {
|
3922
|
-
this.$$set({ lang: t }),
|
3887
|
+
this.$$set({ lang: t }), U();
|
3923
3888
|
}
|
3924
3889
|
get clientstyling() {
|
3925
3890
|
return this.$$.ctx[4];
|
3926
3891
|
}
|
3927
3892
|
set clientstyling(t) {
|
3928
|
-
this.$$set({ clientstyling: t }),
|
3893
|
+
this.$$set({ clientstyling: t }), U();
|
3929
3894
|
}
|
3930
3895
|
get clientstylingurl() {
|
3931
3896
|
return this.$$.ctx[5];
|
3932
3897
|
}
|
3933
3898
|
set clientstylingurl(t) {
|
3934
|
-
this.$$set({ clientstylingurl: t }),
|
3899
|
+
this.$$set({ clientstylingurl: t }), U();
|
3935
3900
|
}
|
3936
3901
|
get translationurl() {
|
3937
3902
|
return this.$$.ctx[6];
|
3938
3903
|
}
|
3939
3904
|
set translationurl(t) {
|
3940
|
-
this.$$set({ translationurl: t }),
|
3905
|
+
this.$$set({ translationurl: t }), U();
|
3941
3906
|
}
|
3942
3907
|
}
|
3943
|
-
|
3908
|
+
Qt(zn, { lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
|
3944
3909
|
export {
|
3945
|
-
|
3910
|
+
zn as C
|
3946
3911
|
};
|