@everymatrix/casino-404 1.64.8 → 1.65.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{Casino404-ykliX55J.js → Casino404-BkCsbCKX.js} +573 -577
- package/components/Casino404-d8Xyezwi.cjs +16 -0
- package/components/{Casino404-D8o6BpuZ.js → Casino404-tJvOUXbn.js} +561 -565
- package/es2015/casino-404.cjs +1 -1
- package/es2015/casino-404.js +1 -1
- package/esnext/casino-404.js +1 -1
- package/package.json +1 -1
- package/components/Casino404-DqG3jszq.cjs +0 -3
@@ -1,16 +1,16 @@
|
|
1
|
-
var Dt = Object.defineProperty,
|
2
|
-
var
|
1
|
+
var Dt = Object.defineProperty, kt = Object.defineProperties;
|
2
|
+
var jt = Object.getOwnPropertyDescriptors;
|
3
3
|
var Xe = Object.getOwnPropertySymbols;
|
4
4
|
var Vt = Object.prototype.hasOwnProperty, Xt = Object.prototype.propertyIsEnumerable;
|
5
|
-
var
|
5
|
+
var de = (e, t, r) => t in e ? Dt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ze = (e, t) => {
|
6
6
|
for (var r in t || (t = {}))
|
7
|
-
Vt.call(t, r) &&
|
7
|
+
Vt.call(t, r) && de(e, r, t[r]);
|
8
8
|
if (Xe)
|
9
9
|
for (var r of Xe(t))
|
10
|
-
Xt.call(t, r) &&
|
10
|
+
Xt.call(t, r) && de(e, r, t[r]);
|
11
11
|
return e;
|
12
|
-
}, Ze = (e, t) =>
|
13
|
-
var
|
12
|
+
}, Ze = (e, t) => kt(e, jt(t));
|
13
|
+
var N = (e, t, r) => (de(e, typeof t != "symbol" ? t + "" : t, r), r);
|
14
14
|
var We = (e, t, r) => new Promise((n, i) => {
|
15
15
|
var o = (h) => {
|
16
16
|
try {
|
@@ -29,16 +29,16 @@ var We = (e, t, r) => new Promise((n, i) => {
|
|
29
29
|
});
|
30
30
|
function A() {
|
31
31
|
}
|
32
|
-
function
|
32
|
+
function ft(e) {
|
33
33
|
return e();
|
34
34
|
}
|
35
35
|
function Qe() {
|
36
36
|
return /* @__PURE__ */ Object.create(null);
|
37
37
|
}
|
38
|
-
function
|
39
|
-
e.forEach(
|
38
|
+
function re(e) {
|
39
|
+
e.forEach(ft);
|
40
40
|
}
|
41
|
-
function
|
41
|
+
function Fe(e) {
|
42
42
|
return typeof e == "function";
|
43
43
|
}
|
44
44
|
function mt(e, t) {
|
@@ -65,7 +65,7 @@ function _(e, t) {
|
|
65
65
|
function Wt(e, t, r) {
|
66
66
|
const n = Qt(e);
|
67
67
|
if (!n.getElementById(t)) {
|
68
|
-
const i =
|
68
|
+
const i = $("style");
|
69
69
|
i.id = t, i.textContent = r, qt(n, i);
|
70
70
|
}
|
71
71
|
}
|
@@ -89,31 +89,31 @@ function qt(e, t) {
|
|
89
89
|
function gt(e, t, r) {
|
90
90
|
e.insertBefore(t, r || null);
|
91
91
|
}
|
92
|
-
function
|
92
|
+
function Ge(e) {
|
93
93
|
e.parentNode && e.parentNode.removeChild(e);
|
94
94
|
}
|
95
|
-
function
|
95
|
+
function $(e) {
|
96
96
|
return document.createElement(e);
|
97
97
|
}
|
98
98
|
function M(e) {
|
99
99
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
100
100
|
}
|
101
|
-
function
|
101
|
+
function oe(e) {
|
102
102
|
return document.createTextNode(e);
|
103
103
|
}
|
104
|
-
function
|
105
|
-
return
|
104
|
+
function be() {
|
105
|
+
return oe(" ");
|
106
106
|
}
|
107
107
|
function Jt(e, t, r, n) {
|
108
108
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
109
109
|
}
|
110
|
-
function
|
110
|
+
function x(e, t, r) {
|
111
111
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
112
112
|
}
|
113
113
|
function Yt(e) {
|
114
114
|
return Array.from(e.childNodes);
|
115
115
|
}
|
116
|
-
function
|
116
|
+
function xe(e, t) {
|
117
117
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
118
118
|
t);
|
119
119
|
}
|
@@ -126,60 +126,60 @@ function Kt(e) {
|
|
126
126
|
}
|
127
127
|
), t;
|
128
128
|
}
|
129
|
-
let
|
130
|
-
function
|
131
|
-
|
129
|
+
let K;
|
130
|
+
function Y(e) {
|
131
|
+
K = e;
|
132
132
|
}
|
133
133
|
function er() {
|
134
|
-
if (!
|
134
|
+
if (!K)
|
135
135
|
throw new Error("Function called outside component initialization");
|
136
|
-
return
|
136
|
+
return K;
|
137
137
|
}
|
138
138
|
function tr(e) {
|
139
139
|
er().$$.on_mount.push(e);
|
140
140
|
}
|
141
|
-
const
|
141
|
+
const D = [], Be = [];
|
142
142
|
let k = [];
|
143
143
|
const qe = [], rr = /* @__PURE__ */ Promise.resolve();
|
144
|
-
let
|
144
|
+
let Ne = !1;
|
145
145
|
function nr() {
|
146
|
-
|
146
|
+
Ne || (Ne = !0, rr.then(C));
|
147
147
|
}
|
148
|
-
function
|
148
|
+
function Se(e) {
|
149
149
|
k.push(e);
|
150
150
|
}
|
151
|
-
const
|
152
|
-
let
|
153
|
-
function
|
154
|
-
if (
|
151
|
+
const ye = /* @__PURE__ */ new Set();
|
152
|
+
let G = 0;
|
153
|
+
function C() {
|
154
|
+
if (G !== 0)
|
155
155
|
return;
|
156
|
-
const e =
|
156
|
+
const e = K;
|
157
157
|
do {
|
158
158
|
try {
|
159
|
-
for (;
|
160
|
-
const t =
|
161
|
-
|
159
|
+
for (; G < D.length; ) {
|
160
|
+
const t = D[G];
|
161
|
+
G++, Y(t), ir(t.$$);
|
162
162
|
}
|
163
163
|
} catch (t) {
|
164
|
-
throw
|
164
|
+
throw D.length = 0, G = 0, t;
|
165
165
|
}
|
166
|
-
for (
|
167
|
-
|
166
|
+
for (Y(null), D.length = 0, G = 0; Be.length; )
|
167
|
+
Be.pop()();
|
168
168
|
for (let t = 0; t < k.length; t += 1) {
|
169
169
|
const r = k[t];
|
170
|
-
|
170
|
+
ye.has(r) || (ye.add(r), r());
|
171
171
|
}
|
172
172
|
k.length = 0;
|
173
|
-
} while (
|
173
|
+
} while (D.length);
|
174
174
|
for (; qe.length; )
|
175
175
|
qe.pop()();
|
176
|
-
|
176
|
+
Ne = !1, ye.clear(), Y(e);
|
177
177
|
}
|
178
178
|
function ir(e) {
|
179
179
|
if (e.fragment !== null) {
|
180
|
-
e.update(),
|
180
|
+
e.update(), re(e.before_update);
|
181
181
|
const t = e.dirty;
|
182
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
182
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Se);
|
183
183
|
}
|
184
184
|
}
|
185
185
|
function or(e) {
|
@@ -192,21 +192,21 @@ function sr(e, t) {
|
|
192
192
|
}
|
193
193
|
function ur(e, t, r) {
|
194
194
|
const { fragment: n, after_update: i } = e.$$;
|
195
|
-
n && n.m(t, r),
|
196
|
-
const o = e.$$.on_mount.map(
|
197
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
198
|
-
}), i.forEach(
|
195
|
+
n && n.m(t, r), Se(() => {
|
196
|
+
const o = e.$$.on_mount.map(ft).filter(Fe);
|
197
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : re(o), e.$$.on_mount = [];
|
198
|
+
}), i.forEach(Se);
|
199
199
|
}
|
200
200
|
function hr(e, t) {
|
201
201
|
const r = e.$$;
|
202
|
-
r.fragment !== null && (or(r.after_update),
|
202
|
+
r.fragment !== null && (or(r.after_update), re(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
203
203
|
}
|
204
204
|
function lr(e, t) {
|
205
|
-
e.$$.dirty[0] === -1 && (
|
205
|
+
e.$$.dirty[0] === -1 && (D.push(e), nr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
206
206
|
}
|
207
|
-
function
|
208
|
-
const h =
|
209
|
-
|
207
|
+
function cr(e, t, r, n, i, o, s = null, u = [-1]) {
|
208
|
+
const h = K;
|
209
|
+
Y(e);
|
210
210
|
const a = e.$$ = {
|
211
211
|
fragment: null,
|
212
212
|
ctx: [],
|
@@ -230,41 +230,41 @@ function fr(e, t, r, n, i, o, s = null, u = [-1]) {
|
|
230
230
|
};
|
231
231
|
s && s(a.root);
|
232
232
|
let l = !1;
|
233
|
-
if (a.ctx = r ? r(e, t.props || {}, (
|
234
|
-
const
|
235
|
-
return a.ctx && i(a.ctx[
|
236
|
-
}) : [], a.update(), l = !0,
|
233
|
+
if (a.ctx = r ? r(e, t.props || {}, (c, f, ...b) => {
|
234
|
+
const y = b.length ? b[0] : f;
|
235
|
+
return a.ctx && i(a.ctx[c], a.ctx[c] = y) && (!a.skip_bound && a.bound[c] && a.bound[c](y), l && lr(e, c)), f;
|
236
|
+
}) : [], a.update(), l = !0, re(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
|
237
237
|
if (t.hydrate) {
|
238
|
-
const
|
239
|
-
a.fragment && a.fragment.l(
|
238
|
+
const c = Yt(t.target);
|
239
|
+
a.fragment && a.fragment.l(c), c.forEach(Ge);
|
240
240
|
} else
|
241
241
|
a.fragment && a.fragment.c();
|
242
|
-
t.intro && sr(e.$$.fragment), ur(e, t.target, t.anchor),
|
242
|
+
t.intro && sr(e.$$.fragment), ur(e, t.target, t.anchor), C();
|
243
243
|
}
|
244
|
-
|
244
|
+
Y(h);
|
245
245
|
}
|
246
246
|
let dt;
|
247
247
|
typeof HTMLElement == "function" && (dt = class extends HTMLElement {
|
248
248
|
constructor(t, r, n) {
|
249
249
|
super();
|
250
250
|
/** The Svelte component constructor */
|
251
|
-
|
251
|
+
N(this, "$$ctor");
|
252
252
|
/** Slots */
|
253
|
-
|
253
|
+
N(this, "$$s");
|
254
254
|
/** The Svelte component instance */
|
255
|
-
|
255
|
+
N(this, "$$c");
|
256
256
|
/** Whether or not the custom element is connected */
|
257
|
-
|
257
|
+
N(this, "$$cn", !1);
|
258
258
|
/** Component props data */
|
259
|
-
|
259
|
+
N(this, "$$d", {});
|
260
260
|
/** `true` if currently in the process of reflecting component props back to attributes */
|
261
|
-
|
261
|
+
N(this, "$$r", !1);
|
262
262
|
/** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
|
263
|
-
|
263
|
+
N(this, "$$p_d", {});
|
264
264
|
/** @type {Record<string, Function[]>} Event listeners */
|
265
|
-
|
265
|
+
N(this, "$$l", {});
|
266
266
|
/** @type {Map<Function, Function>} Event listener unsubscribe functions */
|
267
|
-
|
267
|
+
N(this, "$$l_u", /* @__PURE__ */ new Map());
|
268
268
|
this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
|
269
269
|
}
|
270
270
|
addEventListener(t, r, n) {
|
@@ -288,7 +288,7 @@ typeof HTMLElement == "function" && (dt = class extends HTMLElement {
|
|
288
288
|
let s;
|
289
289
|
return {
|
290
290
|
c: function() {
|
291
|
-
s =
|
291
|
+
s = $("slot"), o !== "default" && x(s, "name", o);
|
292
292
|
},
|
293
293
|
/**
|
294
294
|
* @param {HTMLElement} target
|
@@ -298,7 +298,7 @@ typeof HTMLElement == "function" && (dt = class extends HTMLElement {
|
|
298
298
|
gt(a, s, l);
|
299
299
|
},
|
300
300
|
d: function(a) {
|
301
|
-
a &&
|
301
|
+
a && Ge(s);
|
302
302
|
}
|
303
303
|
};
|
304
304
|
};
|
@@ -310,7 +310,7 @@ typeof HTMLElement == "function" && (dt = class extends HTMLElement {
|
|
310
310
|
o in n && (r[o] = [t(o)]);
|
311
311
|
for (const o of this.attributes) {
|
312
312
|
const s = this.$$g_p(o.name);
|
313
|
-
s in this.$$d || (this.$$d[s] =
|
313
|
+
s in this.$$d || (this.$$d[s] = ae(s, o.value, this.$$p_d, "toProp"));
|
314
314
|
}
|
315
315
|
for (const o in this.$$p_d)
|
316
316
|
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
@@ -327,7 +327,7 @@ typeof HTMLElement == "function" && (dt = class extends HTMLElement {
|
|
327
327
|
this.$$r = !0;
|
328
328
|
for (const o in this.$$p_d)
|
329
329
|
if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
|
330
|
-
const s =
|
330
|
+
const s = ae(
|
331
331
|
o,
|
332
332
|
this.$$d[o],
|
333
333
|
this.$$p_d,
|
@@ -351,7 +351,7 @@ typeof HTMLElement == "function" && (dt = class extends HTMLElement {
|
|
351
351
|
// and setting attributes through setAttribute etc, this is helpful
|
352
352
|
attributeChangedCallback(t, r, n) {
|
353
353
|
var i;
|
354
|
-
this.$$r || (t = this.$$g_p(t), this.$$d[t] =
|
354
|
+
this.$$r || (t = this.$$g_p(t), this.$$d[t] = ae(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
|
355
355
|
}
|
356
356
|
disconnectedCallback() {
|
357
357
|
this.$$cn = !1, Promise.resolve().then(() => {
|
@@ -364,7 +364,7 @@ typeof HTMLElement == "function" && (dt = class extends HTMLElement {
|
|
364
364
|
) || t;
|
365
365
|
}
|
366
366
|
});
|
367
|
-
function
|
367
|
+
function ae(e, t, r, n) {
|
368
368
|
var o;
|
369
369
|
const i = (o = r[e]) == null ? void 0 : o.type;
|
370
370
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
@@ -394,7 +394,7 @@ function se(e, t, r, n) {
|
|
394
394
|
return t;
|
395
395
|
}
|
396
396
|
}
|
397
|
-
function
|
397
|
+
function fr(e, t, r, n, i, o) {
|
398
398
|
let s = class extends dt {
|
399
399
|
constructor() {
|
400
400
|
super(e, r, i), this.$$p_d = t;
|
@@ -412,7 +412,7 @@ function cr(e, t, r, n, i, o) {
|
|
412
412
|
},
|
413
413
|
set(h) {
|
414
414
|
var a;
|
415
|
-
h =
|
415
|
+
h = ae(u, h, t), this.$$d[u] = h, (a = this.$$c) == null || a.$set({ [u]: h });
|
416
416
|
}
|
417
417
|
});
|
418
418
|
}), n.forEach((u) => {
|
@@ -434,7 +434,7 @@ class mr {
|
|
434
434
|
*
|
435
435
|
* @type {any}
|
436
436
|
*/
|
437
|
-
|
437
|
+
N(this, "$$");
|
438
438
|
/**
|
439
439
|
* ### PRIVATE API
|
440
440
|
*
|
@@ -442,7 +442,7 @@ class mr {
|
|
442
442
|
*
|
443
443
|
* @type {any}
|
444
444
|
*/
|
445
|
-
|
445
|
+
N(this, "$$set");
|
446
446
|
}
|
447
447
|
/** @returns {void} */
|
448
448
|
$destroy() {
|
@@ -455,7 +455,7 @@ class mr {
|
|
455
455
|
* @returns {() => void}
|
456
456
|
*/
|
457
457
|
$on(t, r) {
|
458
|
-
if (!
|
458
|
+
if (!Fe(r))
|
459
459
|
return A;
|
460
460
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
461
461
|
return n.push(r), () => {
|
@@ -473,24 +473,24 @@ class mr {
|
|
473
473
|
}
|
474
474
|
const pr = "4";
|
475
475
|
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(pr);
|
476
|
-
const
|
476
|
+
const U = [];
|
477
477
|
function gr(e, t) {
|
478
478
|
return {
|
479
|
-
subscribe:
|
479
|
+
subscribe: ce(e, t).subscribe
|
480
480
|
};
|
481
481
|
}
|
482
|
-
function
|
482
|
+
function ce(e, t = A) {
|
483
483
|
let r;
|
484
484
|
const n = /* @__PURE__ */ new Set();
|
485
485
|
function i(u) {
|
486
486
|
if (mt(e, u) && (e = u, r)) {
|
487
|
-
const h = !
|
487
|
+
const h = !U.length;
|
488
488
|
for (const a of n)
|
489
|
-
a[1](),
|
489
|
+
a[1](), U.push(a, e);
|
490
490
|
if (h) {
|
491
|
-
for (let a = 0; a <
|
492
|
-
|
493
|
-
|
491
|
+
for (let a = 0; a < U.length; a += 2)
|
492
|
+
U[a][0](U[a + 1]);
|
493
|
+
U.length = 0;
|
494
494
|
}
|
495
495
|
}
|
496
496
|
}
|
@@ -505,7 +505,7 @@ function me(e, t = A) {
|
|
505
505
|
}
|
506
506
|
return { set: i, update: o, subscribe: s };
|
507
507
|
}
|
508
|
-
function
|
508
|
+
function Z(e, t, r) {
|
509
509
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
510
510
|
if (!i.every(Boolean))
|
511
511
|
throw new Error("derived() expects stores as input, got a falsy value");
|
@@ -513,26 +513,26 @@ function W(e, t, r) {
|
|
513
513
|
return gr(r, (s, u) => {
|
514
514
|
let h = !1;
|
515
515
|
const a = [];
|
516
|
-
let l = 0,
|
517
|
-
const
|
516
|
+
let l = 0, c = A;
|
517
|
+
const f = () => {
|
518
518
|
if (l)
|
519
519
|
return;
|
520
|
-
|
521
|
-
const
|
522
|
-
o ? s(
|
523
|
-
},
|
524
|
-
(
|
525
|
-
|
520
|
+
c();
|
521
|
+
const y = t(n ? a[0] : a, s, u);
|
522
|
+
o ? s(y) : c = Fe(y) ? y : A;
|
523
|
+
}, b = i.map(
|
524
|
+
(y, m) => pt(
|
525
|
+
y,
|
526
526
|
(v) => {
|
527
|
-
a[m] = v, l &= ~(1 << m), h &&
|
527
|
+
a[m] = v, l &= ~(1 << m), h && f();
|
528
528
|
},
|
529
529
|
() => {
|
530
530
|
l |= 1 << m;
|
531
531
|
}
|
532
532
|
)
|
533
533
|
);
|
534
|
-
return h = !0,
|
535
|
-
|
534
|
+
return h = !0, f(), function() {
|
535
|
+
re(b), c(), h = !1;
|
536
536
|
};
|
537
537
|
});
|
538
538
|
}
|
@@ -556,27 +556,27 @@ function _r(e) {
|
|
556
556
|
function Hr(e) {
|
557
557
|
return Array.isArray(e) ? [] : {};
|
558
558
|
}
|
559
|
-
function
|
560
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
559
|
+
function ee(e, t) {
|
560
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? j(Hr(e), e, t) : e;
|
561
561
|
}
|
562
562
|
function Tr(e, t, r) {
|
563
563
|
return e.concat(t).map(function(n) {
|
564
|
-
return
|
564
|
+
return ee(n, r);
|
565
565
|
});
|
566
566
|
}
|
567
567
|
function Pr(e, t) {
|
568
568
|
if (!t.customMerge)
|
569
|
-
return
|
569
|
+
return j;
|
570
570
|
var r = t.customMerge(e);
|
571
|
-
return typeof r == "function" ? r :
|
571
|
+
return typeof r == "function" ? r : j;
|
572
572
|
}
|
573
|
-
function
|
573
|
+
function Br(e) {
|
574
574
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
575
575
|
return Object.propertyIsEnumerable.call(e, t);
|
576
576
|
}) : [];
|
577
577
|
}
|
578
578
|
function Je(e) {
|
579
|
-
return Object.keys(e).concat(
|
579
|
+
return Object.keys(e).concat(Br(e));
|
580
580
|
}
|
581
581
|
function bt(e, t) {
|
582
582
|
try {
|
@@ -585,59 +585,73 @@ function bt(e, t) {
|
|
585
585
|
return !1;
|
586
586
|
}
|
587
587
|
}
|
588
|
-
function
|
588
|
+
function Nr(e, t) {
|
589
589
|
return bt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
590
590
|
}
|
591
|
-
function
|
591
|
+
function Sr(e, t, r) {
|
592
592
|
var n = {};
|
593
593
|
return r.isMergeableObject(e) && Je(e).forEach(function(i) {
|
594
|
-
n[i] =
|
594
|
+
n[i] = ee(e[i], r);
|
595
595
|
}), Je(t).forEach(function(i) {
|
596
|
-
|
596
|
+
Nr(e, i) || (bt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Pr(i, r)(e[i], t[i], r) : n[i] = ee(t[i], r));
|
597
597
|
}), n;
|
598
598
|
}
|
599
|
-
function
|
600
|
-
r = r || {}, r.arrayMerge = r.arrayMerge || Tr, r.isMergeableObject = r.isMergeableObject || br, r.cloneUnlessOtherwiseSpecified =
|
599
|
+
function j(e, t, r) {
|
600
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Tr, r.isMergeableObject = r.isMergeableObject || br, r.cloneUnlessOtherwiseSpecified = ee;
|
601
601
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
602
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
602
|
+
return o ? n ? r.arrayMerge(e, t, r) : Sr(e, t, r) : ee(t, r);
|
603
603
|
}
|
604
|
-
|
604
|
+
j.all = function(t, r) {
|
605
605
|
if (!Array.isArray(t))
|
606
606
|
throw new Error("first argument should be an array");
|
607
607
|
return t.reduce(function(n, i) {
|
608
|
-
return
|
608
|
+
return j(n, i, r);
|
609
609
|
}, {});
|
610
610
|
};
|
611
|
-
var Ar =
|
611
|
+
var Ar = j, wr = Ar;
|
612
612
|
const Or = /* @__PURE__ */ dr(wr);
|
613
|
-
|
614
|
-
|
613
|
+
/*! *****************************************************************************
|
614
|
+
Copyright (c) Microsoft Corporation.
|
615
|
+
|
616
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
617
|
+
purpose with or without fee is hereby granted.
|
618
|
+
|
619
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
620
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
621
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
622
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
623
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
624
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
625
|
+
PERFORMANCE OF THIS SOFTWARE.
|
626
|
+
***************************************************************************** */
|
627
|
+
var Ae = function(e, t) {
|
628
|
+
return Ae = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
615
629
|
r.__proto__ = n;
|
616
630
|
} || function(r, n) {
|
617
631
|
for (var i in n)
|
618
632
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
619
|
-
},
|
633
|
+
}, Ae(e, t);
|
620
634
|
};
|
621
|
-
function
|
635
|
+
function fe(e, t) {
|
622
636
|
if (typeof t != "function" && t !== null)
|
623
637
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
624
|
-
|
638
|
+
Ae(e, t);
|
625
639
|
function r() {
|
626
640
|
this.constructor = e;
|
627
641
|
}
|
628
642
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
629
643
|
}
|
630
|
-
var
|
631
|
-
return
|
644
|
+
var d = function() {
|
645
|
+
return d = Object.assign || function(t) {
|
632
646
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
633
647
|
r = arguments[n];
|
634
648
|
for (var o in r)
|
635
649
|
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
636
650
|
}
|
637
651
|
return t;
|
638
|
-
},
|
652
|
+
}, d.apply(this, arguments);
|
639
653
|
};
|
640
|
-
function
|
654
|
+
function Mr(e, t) {
|
641
655
|
var r = {};
|
642
656
|
for (var n in e)
|
643
657
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
@@ -646,119 +660,111 @@ function Ir(e, t) {
|
|
646
660
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
647
661
|
return r;
|
648
662
|
}
|
649
|
-
function
|
650
|
-
if (
|
663
|
+
function Ee(e, t, r) {
|
664
|
+
if (arguments.length === 2)
|
651
665
|
for (var n = 0, i = t.length, o; n < i; n++)
|
652
666
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
653
|
-
return e.concat(o ||
|
667
|
+
return e.concat(o || t);
|
654
668
|
}
|
655
|
-
function
|
656
|
-
var r = t && t.cache ? t.cache :
|
669
|
+
function ve(e, t) {
|
670
|
+
var r = t && t.cache ? t.cache : Fr, n = t && t.serializer ? t.serializer : Rr, i = t && t.strategy ? t.strategy : Lr;
|
657
671
|
return i(e, {
|
658
672
|
cache: r,
|
659
673
|
serializer: n
|
660
674
|
});
|
661
675
|
}
|
662
|
-
function
|
676
|
+
function Ir(e) {
|
663
677
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
664
678
|
}
|
665
|
-
function
|
666
|
-
var i =
|
679
|
+
function xt(e, t, r, n) {
|
680
|
+
var i = Ir(n) ? n : r(n), o = t.get(i);
|
667
681
|
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
668
682
|
}
|
669
|
-
function
|
683
|
+
function yt(e, t, r) {
|
670
684
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
671
685
|
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
672
686
|
}
|
673
|
-
function
|
687
|
+
function Ue(e, t, r, n, i) {
|
674
688
|
return r.bind(t, e, n, i);
|
675
689
|
}
|
690
|
+
function Lr(e, t) {
|
691
|
+
var r = e.length === 1 ? xt : yt;
|
692
|
+
return Ue(e, this, r, t.cache.create(), t.serializer);
|
693
|
+
}
|
676
694
|
function $r(e, t) {
|
677
|
-
|
678
|
-
return yt(e, this, r, t.cache.create(), t.serializer);
|
695
|
+
return Ue(e, this, yt, t.cache.create(), t.serializer);
|
679
696
|
}
|
680
697
|
function Cr(e, t) {
|
681
|
-
return
|
698
|
+
return Ue(e, this, xt, t.cache.create(), t.serializer);
|
682
699
|
}
|
683
700
|
var Rr = function() {
|
684
701
|
return JSON.stringify(arguments);
|
685
|
-
}
|
686
|
-
|
687
|
-
|
688
|
-
|
689
|
-
|
690
|
-
|
691
|
-
|
692
|
-
|
693
|
-
|
694
|
-
|
695
|
-
|
696
|
-
}()
|
697
|
-
), Gr = {
|
702
|
+
};
|
703
|
+
function De() {
|
704
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
705
|
+
}
|
706
|
+
De.prototype.get = function(e) {
|
707
|
+
return this.cache[e];
|
708
|
+
};
|
709
|
+
De.prototype.set = function(e, t) {
|
710
|
+
this.cache[e] = t;
|
711
|
+
};
|
712
|
+
var Fr = {
|
698
713
|
create: function() {
|
699
|
-
return new
|
714
|
+
return new De();
|
700
715
|
}
|
701
|
-
},
|
702
|
-
variadic:
|
703
|
-
|
704
|
-
|
705
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
706
|
-
r = arguments[n];
|
707
|
-
for (var o in r)
|
708
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
709
|
-
}
|
710
|
-
return t;
|
711
|
-
}, le.apply(this, arguments);
|
712
|
-
};
|
713
|
-
var p;
|
716
|
+
}, _e = {
|
717
|
+
variadic: $r,
|
718
|
+
monadic: Cr
|
719
|
+
}, p;
|
714
720
|
(function(e) {
|
715
721
|
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";
|
716
722
|
})(p || (p = {}));
|
717
|
-
var
|
723
|
+
var E;
|
718
724
|
(function(e) {
|
719
725
|
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";
|
720
|
-
})(
|
721
|
-
var
|
726
|
+
})(E || (E = {}));
|
727
|
+
var V;
|
722
728
|
(function(e) {
|
723
729
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
724
|
-
})(
|
730
|
+
})(V || (V = {}));
|
725
731
|
function Ye(e) {
|
726
|
-
return e.type ===
|
732
|
+
return e.type === E.literal;
|
727
733
|
}
|
728
|
-
function
|
729
|
-
return e.type ===
|
734
|
+
function Gr(e) {
|
735
|
+
return e.type === E.argument;
|
730
736
|
}
|
731
737
|
function Et(e) {
|
732
|
-
return e.type ===
|
738
|
+
return e.type === E.number;
|
733
739
|
}
|
734
740
|
function vt(e) {
|
735
|
-
return e.type ===
|
741
|
+
return e.type === E.date;
|
736
742
|
}
|
737
743
|
function _t(e) {
|
738
|
-
return e.type ===
|
744
|
+
return e.type === E.time;
|
739
745
|
}
|
740
746
|
function Ht(e) {
|
741
|
-
return e.type ===
|
747
|
+
return e.type === E.select;
|
742
748
|
}
|
743
749
|
function Tt(e) {
|
744
|
-
return e.type ===
|
750
|
+
return e.type === E.plural;
|
745
751
|
}
|
746
|
-
function
|
747
|
-
return e.type ===
|
752
|
+
function Ur(e) {
|
753
|
+
return e.type === E.pound;
|
748
754
|
}
|
749
755
|
function Pt(e) {
|
750
|
-
return e.type ===
|
756
|
+
return e.type === E.tag;
|
751
757
|
}
|
752
|
-
function
|
753
|
-
return !!(e && typeof e == "object" && e.type ===
|
758
|
+
function Bt(e) {
|
759
|
+
return !!(e && typeof e == "object" && e.type === V.number);
|
754
760
|
}
|
755
|
-
function
|
756
|
-
return !!(e && typeof e == "object" && e.type ===
|
761
|
+
function we(e) {
|
762
|
+
return !!(e && typeof e == "object" && e.type === V.dateTime);
|
757
763
|
}
|
758
|
-
var
|
764
|
+
var Nt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Dr = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
|
759
765
|
function kr(e) {
|
760
766
|
var t = {};
|
761
|
-
return e.replace(
|
767
|
+
return e.replace(Dr, function(r) {
|
762
768
|
var n = r.length;
|
763
769
|
switch (r[0]) {
|
764
770
|
case "G":
|
@@ -847,42 +853,32 @@ function kr(e) {
|
|
847
853
|
return "";
|
848
854
|
}), t;
|
849
855
|
}
|
850
|
-
var
|
851
|
-
|
852
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
853
|
-
r = arguments[n];
|
854
|
-
for (var o in r)
|
855
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
856
|
-
}
|
857
|
-
return t;
|
858
|
-
}, E.apply(this, arguments);
|
859
|
-
};
|
860
|
-
var Vr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
861
|
-
function Xr(e) {
|
856
|
+
var jr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
857
|
+
function Vr(e) {
|
862
858
|
if (e.length === 0)
|
863
859
|
throw new Error("Number skeleton cannot be empty");
|
864
|
-
for (var t = e.split(
|
865
|
-
return
|
860
|
+
for (var t = e.split(jr).filter(function(f) {
|
861
|
+
return f.length > 0;
|
866
862
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
867
863
|
var o = i[n], s = o.split("/");
|
868
864
|
if (s.length === 0)
|
869
865
|
throw new Error("Invalid number skeleton");
|
870
866
|
for (var u = s[0], h = s.slice(1), a = 0, l = h; a < l.length; a++) {
|
871
|
-
var
|
872
|
-
if (
|
867
|
+
var c = l[a];
|
868
|
+
if (c.length === 0)
|
873
869
|
throw new Error("Invalid number skeleton");
|
874
870
|
}
|
875
871
|
r.push({ stem: u, options: h });
|
876
872
|
}
|
877
873
|
return r;
|
878
874
|
}
|
879
|
-
function
|
875
|
+
function Xr(e) {
|
880
876
|
return e.replace(/^(.*?)-/, "");
|
881
877
|
}
|
882
|
-
var Ke = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,
|
878
|
+
var Ke = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, St = /^(@+)?(\+|#+)?[rs]?$/g, zr = /(\*)(0+)|(#+)(0+)|(0+)/g, At = /^(0+)$/;
|
883
879
|
function et(e) {
|
884
880
|
var t = {};
|
885
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
881
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(St, function(r, n, i) {
|
886
882
|
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)), "";
|
887
883
|
}), t;
|
888
884
|
}
|
@@ -926,7 +922,7 @@ function wt(e) {
|
|
926
922
|
};
|
927
923
|
}
|
928
924
|
}
|
929
|
-
function
|
925
|
+
function Zr(e) {
|
930
926
|
var t;
|
931
927
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
932
928
|
notation: "engineering"
|
@@ -944,7 +940,7 @@ function tt(e) {
|
|
944
940
|
var t = {}, r = wt(e);
|
945
941
|
return r || t;
|
946
942
|
}
|
947
|
-
function
|
943
|
+
function Wr(e) {
|
948
944
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
949
945
|
var i = n[r];
|
950
946
|
switch (i.stem) {
|
@@ -968,7 +964,7 @@ function Qr(e) {
|
|
968
964
|
continue;
|
969
965
|
case "measure-unit":
|
970
966
|
case "unit":
|
971
|
-
t.style = "unit", t.unit =
|
967
|
+
t.style = "unit", t.unit = Xr(i.options[0]);
|
972
968
|
continue;
|
973
969
|
case "compact-short":
|
974
970
|
case "K":
|
@@ -979,13 +975,13 @@ function Qr(e) {
|
|
979
975
|
t.notation = "compact", t.compactDisplay = "long";
|
980
976
|
continue;
|
981
977
|
case "scientific":
|
982
|
-
t =
|
983
|
-
return
|
978
|
+
t = d(d(d({}, t), { notation: "scientific" }), i.options.reduce(function(h, a) {
|
979
|
+
return d(d({}, h), tt(a));
|
984
980
|
}, {}));
|
985
981
|
continue;
|
986
982
|
case "engineering":
|
987
|
-
t =
|
988
|
-
return
|
983
|
+
t = d(d(d({}, t), { notation: "engineering" }), i.options.reduce(function(h, a) {
|
984
|
+
return d(d({}, h), tt(a));
|
989
985
|
}, {}));
|
990
986
|
continue;
|
991
987
|
case "notation-simple":
|
@@ -1030,13 +1026,13 @@ function Qr(e) {
|
|
1030
1026
|
case "integer-width":
|
1031
1027
|
if (i.options.length > 1)
|
1032
1028
|
throw new RangeError("integer-width stems only accept a single optional option");
|
1033
|
-
i.options[0].replace(
|
1029
|
+
i.options[0].replace(zr, function(h, a, l, c, f, b) {
|
1034
1030
|
if (a)
|
1035
1031
|
t.minimumIntegerDigits = l.length;
|
1036
1032
|
else {
|
1037
|
-
if (
|
1033
|
+
if (c && f)
|
1038
1034
|
throw new Error("We currently do not support maximum integer digits");
|
1039
|
-
if (
|
1035
|
+
if (b)
|
1040
1036
|
throw new Error("We currently do not support exact integer digits");
|
1041
1037
|
}
|
1042
1038
|
return "";
|
@@ -1050,25 +1046,25 @@ function Qr(e) {
|
|
1050
1046
|
if (Ke.test(i.stem)) {
|
1051
1047
|
if (i.options.length > 1)
|
1052
1048
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
1053
|
-
i.stem.replace(Ke, function(h, a, l,
|
1054
|
-
return l === "*" ? t.minimumFractionDigits = a.length :
|
1049
|
+
i.stem.replace(Ke, function(h, a, l, c, f, b) {
|
1050
|
+
return l === "*" ? t.minimumFractionDigits = a.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && b ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + b.length) : (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length), "";
|
1055
1051
|
});
|
1056
1052
|
var o = i.options[0];
|
1057
|
-
o === "w" ? t =
|
1053
|
+
o === "w" ? t = d(d({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = d(d({}, t), et(o)));
|
1058
1054
|
continue;
|
1059
1055
|
}
|
1060
|
-
if (
|
1061
|
-
t =
|
1056
|
+
if (St.test(i.stem)) {
|
1057
|
+
t = d(d({}, t), et(i.stem));
|
1062
1058
|
continue;
|
1063
1059
|
}
|
1064
1060
|
var s = wt(i.stem);
|
1065
|
-
s && (t =
|
1066
|
-
var u =
|
1067
|
-
u && (t =
|
1061
|
+
s && (t = d(d({}, t), s));
|
1062
|
+
var u = Zr(i.stem);
|
1063
|
+
u && (t = d(d({}, t), u));
|
1068
1064
|
}
|
1069
1065
|
return t;
|
1070
1066
|
}
|
1071
|
-
var
|
1067
|
+
var ie = {
|
1072
1068
|
"001": [
|
1073
1069
|
"H",
|
1074
1070
|
"h"
|
@@ -2483,13 +2479,13 @@ var oe = {
|
|
2483
2479
|
"h"
|
2484
2480
|
]
|
2485
2481
|
};
|
2486
|
-
function
|
2482
|
+
function Qr(e, t) {
|
2487
2483
|
for (var r = "", n = 0; n < e.length; n++) {
|
2488
2484
|
var i = e.charAt(n);
|
2489
2485
|
if (i === "j") {
|
2490
2486
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
2491
2487
|
o++, n++;
|
2492
|
-
var s = 1 + (o & 1), u = o < 2 ? 1 : 3 + (o >> 1), h = "a", a =
|
2488
|
+
var s = 1 + (o & 1), u = o < 2 ? 1 : 3 + (o >> 1), h = "a", a = qr(t);
|
2493
2489
|
for ((a == "H" || a == "k") && (u = 0); u-- > 0; )
|
2494
2490
|
r += h;
|
2495
2491
|
for (; s-- > 0; )
|
@@ -2499,7 +2495,7 @@ function qr(e, t) {
|
|
2499
2495
|
}
|
2500
2496
|
return r;
|
2501
2497
|
}
|
2502
|
-
function
|
2498
|
+
function qr(e) {
|
2503
2499
|
var t = e.hourCycle;
|
2504
2500
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
2505
2501
|
e.hourCycles && // @ts-ignore
|
@@ -2518,23 +2514,23 @@ function Jr(e) {
|
|
2518
2514
|
}
|
2519
2515
|
var r = e.language, n;
|
2520
2516
|
r !== "root" && (n = e.maximize().region);
|
2521
|
-
var i =
|
2517
|
+
var i = ie[n || ""] || ie[r || ""] || ie["".concat(r, "-001")] || ie["001"];
|
2522
2518
|
return i[0];
|
2523
2519
|
}
|
2524
|
-
var
|
2520
|
+
var He, Jr = new RegExp("^".concat(Nt.source, "*")), Yr = new RegExp("".concat(Nt.source, "*$"));
|
2525
2521
|
function g(e, t) {
|
2526
2522
|
return { start: e, end: t };
|
2527
2523
|
}
|
2528
|
-
var
|
2524
|
+
var Kr = !!String.prototype.startsWith && "_a".startsWith("a", 1), en = !!String.fromCodePoint, tn = !!Object.fromEntries, rn = !!String.prototype.codePointAt, nn = !!String.prototype.trimStart, on = !!String.prototype.trimEnd, an = !!Number.isSafeInteger, sn = an ? Number.isSafeInteger : function(e) {
|
2529
2525
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
2530
|
-
},
|
2526
|
+
}, Oe = !0;
|
2531
2527
|
try {
|
2532
|
-
var
|
2533
|
-
|
2528
|
+
var un = Mt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
2529
|
+
Oe = ((He = un.exec("a")) === null || He === void 0 ? void 0 : He[0]) === "a";
|
2534
2530
|
} catch (e) {
|
2535
|
-
|
2531
|
+
Oe = !1;
|
2536
2532
|
}
|
2537
|
-
var rt =
|
2533
|
+
var rt = Kr ? (
|
2538
2534
|
// Native
|
2539
2535
|
function(t, r, n) {
|
2540
2536
|
return t.startsWith(r, n);
|
@@ -2544,7 +2540,7 @@ var rt = en ? (
|
|
2544
2540
|
function(t, r, n) {
|
2545
2541
|
return t.slice(n, n + r.length) === r;
|
2546
2542
|
}
|
2547
|
-
),
|
2543
|
+
), Me = en ? String.fromCodePoint : (
|
2548
2544
|
// IE11
|
2549
2545
|
function() {
|
2550
2546
|
for (var t = [], r = 0; r < arguments.length; r++)
|
@@ -2558,7 +2554,7 @@ var rt = en ? (
|
|
2558
2554
|
}
|
2559
2555
|
), nt = (
|
2560
2556
|
// native
|
2561
|
-
|
2557
|
+
tn ? Object.fromEntries : (
|
2562
2558
|
// Ponyfill
|
2563
2559
|
function(t) {
|
2564
2560
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
@@ -2568,7 +2564,7 @@ var rt = en ? (
|
|
2568
2564
|
return r;
|
2569
2565
|
}
|
2570
2566
|
)
|
2571
|
-
), Ot =
|
2567
|
+
), Ot = rn ? (
|
2572
2568
|
// Native
|
2573
2569
|
function(t, r) {
|
2574
2570
|
return t.codePointAt(r);
|
@@ -2582,7 +2578,7 @@ var rt = en ? (
|
|
2582
2578
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
2583
2579
|
}
|
2584
2580
|
}
|
2585
|
-
),
|
2581
|
+
), hn = nn ? (
|
2586
2582
|
// Native
|
2587
2583
|
function(t) {
|
2588
2584
|
return t.trimStart();
|
@@ -2590,9 +2586,9 @@ var rt = en ? (
|
|
2590
2586
|
) : (
|
2591
2587
|
// Ponyfill
|
2592
2588
|
function(t) {
|
2593
|
-
return t.replace(
|
2589
|
+
return t.replace(Jr, "");
|
2594
2590
|
}
|
2595
|
-
),
|
2591
|
+
), ln = on ? (
|
2596
2592
|
// Native
|
2597
2593
|
function(t) {
|
2598
2594
|
return t.trimEnd();
|
@@ -2600,30 +2596,30 @@ var rt = en ? (
|
|
2600
2596
|
) : (
|
2601
2597
|
// Ponyfill
|
2602
2598
|
function(t) {
|
2603
|
-
return t.replace(
|
2599
|
+
return t.replace(Yr, "");
|
2604
2600
|
}
|
2605
2601
|
);
|
2606
|
-
function
|
2602
|
+
function Mt(e, t) {
|
2607
2603
|
return new RegExp(e, t);
|
2608
2604
|
}
|
2609
|
-
var
|
2610
|
-
if (
|
2611
|
-
var it =
|
2612
|
-
|
2605
|
+
var Ie;
|
2606
|
+
if (Oe) {
|
2607
|
+
var it = Mt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
2608
|
+
Ie = function(t, r) {
|
2613
2609
|
var n;
|
2614
2610
|
it.lastIndex = r;
|
2615
2611
|
var i = it.exec(t);
|
2616
2612
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
2617
2613
|
};
|
2618
2614
|
} else
|
2619
|
-
|
2615
|
+
Ie = function(t, r) {
|
2620
2616
|
for (var n = []; ; ) {
|
2621
2617
|
var i = Ot(t, r);
|
2622
|
-
if (i === void 0 ||
|
2618
|
+
if (i === void 0 || It(i) || pn(i))
|
2623
2619
|
break;
|
2624
2620
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
2625
2621
|
}
|
2626
|
-
return
|
2622
|
+
return Me.apply(void 0, n);
|
2627
2623
|
};
|
2628
2624
|
var cn = (
|
2629
2625
|
/** @class */
|
@@ -2649,14 +2645,14 @@ var cn = (
|
|
2649
2645
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
2650
2646
|
var u = this.clonePosition();
|
2651
2647
|
this.bump(), i.push({
|
2652
|
-
type:
|
2648
|
+
type: E.pound,
|
2653
2649
|
location: g(u, this.clonePosition())
|
2654
2650
|
});
|
2655
2651
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
2656
2652
|
if (n)
|
2657
2653
|
break;
|
2658
2654
|
return this.error(p.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
|
2659
|
-
} else if (o === 60 && !this.ignoreTag &&
|
2655
|
+
} else if (o === 60 && !this.ignoreTag && Le(this.peek() || 0)) {
|
2660
2656
|
var s = this.parseTag(t, r);
|
2661
2657
|
if (s.err)
|
2662
2658
|
return s;
|
@@ -2677,7 +2673,7 @@ var cn = (
|
|
2677
2673
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
2678
2674
|
return {
|
2679
2675
|
val: {
|
2680
|
-
type:
|
2676
|
+
type: E.literal,
|
2681
2677
|
value: "<".concat(i, "/>"),
|
2682
2678
|
location: g(n, this.clonePosition())
|
2683
2679
|
},
|
@@ -2689,12 +2685,12 @@ var cn = (
|
|
2689
2685
|
return o;
|
2690
2686
|
var s = o.val, u = this.clonePosition();
|
2691
2687
|
if (this.bumpIf("</")) {
|
2692
|
-
if (this.isEOF() || !
|
2688
|
+
if (this.isEOF() || !Le(this.char()))
|
2693
2689
|
return this.error(p.INVALID_TAG, g(u, this.clonePosition()));
|
2694
2690
|
var h = this.clonePosition(), a = this.parseTagName();
|
2695
2691
|
return i !== a ? this.error(p.UNMATCHED_CLOSING_TAG, g(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
2696
2692
|
val: {
|
2697
|
-
type:
|
2693
|
+
type: E.tag,
|
2698
2694
|
value: i,
|
2699
2695
|
children: s,
|
2700
2696
|
location: g(n, this.clonePosition())
|
@@ -2707,7 +2703,7 @@ var cn = (
|
|
2707
2703
|
return this.error(p.INVALID_TAG, g(n, this.clonePosition()));
|
2708
2704
|
}, e.prototype.parseTagName = function() {
|
2709
2705
|
var t = this.offset();
|
2710
|
-
for (this.bump(); !this.isEOF() &&
|
2706
|
+
for (this.bump(); !this.isEOF() && mn(this.char()); )
|
2711
2707
|
this.bump();
|
2712
2708
|
return this.message.slice(t, this.offset());
|
2713
2709
|
}, e.prototype.parseLiteral = function(t, r) {
|
@@ -2731,12 +2727,12 @@ var cn = (
|
|
2731
2727
|
}
|
2732
2728
|
var h = g(n, this.clonePosition());
|
2733
2729
|
return {
|
2734
|
-
val: { type:
|
2730
|
+
val: { type: E.literal, value: i, location: h },
|
2735
2731
|
err: null
|
2736
2732
|
};
|
2737
2733
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
2738
2734
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
2739
|
-
!
|
2735
|
+
!fn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
2740
2736
|
}, e.prototype.tryParseQuote = function(t) {
|
2741
2737
|
if (this.isEOF() || this.char() !== 39)
|
2742
2738
|
return null;
|
@@ -2770,12 +2766,12 @@ var cn = (
|
|
2770
2766
|
r.push(n);
|
2771
2767
|
this.bump();
|
2772
2768
|
}
|
2773
|
-
return
|
2769
|
+
return Me.apply(void 0, r);
|
2774
2770
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
2775
2771
|
if (this.isEOF())
|
2776
2772
|
return null;
|
2777
2773
|
var n = this.char();
|
2778
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
2774
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Me(n));
|
2779
2775
|
}, e.prototype.parseArgument = function(t, r) {
|
2780
2776
|
var n = this.clonePosition();
|
2781
2777
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
@@ -2791,7 +2787,7 @@ var cn = (
|
|
2791
2787
|
case 125:
|
2792
2788
|
return this.bump(), {
|
2793
2789
|
val: {
|
2794
|
-
type:
|
2790
|
+
type: E.argument,
|
2795
2791
|
// value does not include the opening and closing braces.
|
2796
2792
|
value: i,
|
2797
2793
|
location: g(n, this.clonePosition())
|
@@ -2804,7 +2800,7 @@ var cn = (
|
|
2804
2800
|
return this.error(p.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
|
2805
2801
|
}
|
2806
2802
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
2807
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
2803
|
+
var t = this.clonePosition(), r = this.offset(), n = Ie(this.message, r), i = r + n.length;
|
2808
2804
|
this.bumpTo(i);
|
2809
2805
|
var o = this.clonePosition(), s = g(t, o);
|
2810
2806
|
return { value: n, location: s };
|
@@ -2820,47 +2816,47 @@ var cn = (
|
|
2820
2816
|
var a = null;
|
2821
2817
|
if (this.bumpIf(",")) {
|
2822
2818
|
this.bumpSpace();
|
2823
|
-
var l = this.clonePosition(),
|
2824
|
-
if (
|
2825
|
-
return
|
2826
|
-
var
|
2827
|
-
if (
|
2819
|
+
var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
2820
|
+
if (c.err)
|
2821
|
+
return c;
|
2822
|
+
var f = ln(c.val);
|
2823
|
+
if (f.length === 0)
|
2828
2824
|
return this.error(p.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
|
2829
|
-
var
|
2830
|
-
a = { style:
|
2825
|
+
var b = g(l, this.clonePosition());
|
2826
|
+
a = { style: f, styleLocation: b };
|
2831
2827
|
}
|
2832
|
-
var
|
2833
|
-
if (
|
2834
|
-
return
|
2828
|
+
var y = this.tryParseArgumentClose(i);
|
2829
|
+
if (y.err)
|
2830
|
+
return y;
|
2835
2831
|
var m = g(i, this.clonePosition());
|
2836
2832
|
if (a && rt(a == null ? void 0 : a.style, "::", 0)) {
|
2837
|
-
var v =
|
2833
|
+
var v = hn(a.style.slice(2));
|
2838
2834
|
if (u === "number") {
|
2839
|
-
var
|
2840
|
-
return
|
2841
|
-
val: { type:
|
2835
|
+
var c = this.parseNumberSkeletonFromString(v, a.styleLocation);
|
2836
|
+
return c.err ? c : {
|
2837
|
+
val: { type: E.number, value: n, location: m, style: c.val },
|
2842
2838
|
err: null
|
2843
2839
|
};
|
2844
2840
|
} else {
|
2845
2841
|
if (v.length === 0)
|
2846
2842
|
return this.error(p.EXPECT_DATE_TIME_SKELETON, m);
|
2847
2843
|
var T = v;
|
2848
|
-
this.locale && (T =
|
2849
|
-
var
|
2850
|
-
type:
|
2844
|
+
this.locale && (T = Qr(v, this.locale));
|
2845
|
+
var f = {
|
2846
|
+
type: V.dateTime,
|
2851
2847
|
pattern: T,
|
2852
2848
|
location: a.styleLocation,
|
2853
2849
|
parsedOptions: this.shouldParseSkeletons ? kr(T) : {}
|
2854
|
-
}, w = u === "date" ?
|
2850
|
+
}, w = u === "date" ? E.date : E.time;
|
2855
2851
|
return {
|
2856
|
-
val: { type: w, value: n, location: m, style:
|
2852
|
+
val: { type: w, value: n, location: m, style: f },
|
2857
2853
|
err: null
|
2858
2854
|
};
|
2859
2855
|
}
|
2860
2856
|
}
|
2861
2857
|
return {
|
2862
2858
|
val: {
|
2863
|
-
type: u === "number" ?
|
2859
|
+
type: u === "number" ? E.number : u === "date" ? E.date : E.time,
|
2864
2860
|
value: n,
|
2865
2861
|
location: m,
|
2866
2862
|
style: (o = a == null ? void 0 : a.style) !== null && o !== void 0 ? o : null
|
@@ -2873,41 +2869,41 @@ var cn = (
|
|
2873
2869
|
case "select": {
|
2874
2870
|
var P = this.clonePosition();
|
2875
2871
|
if (this.bumpSpace(), !this.bumpIf(","))
|
2876
|
-
return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, g(P,
|
2872
|
+
return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, g(P, d({}, P)));
|
2877
2873
|
this.bumpSpace();
|
2878
|
-
var
|
2879
|
-
if (u !== "select" &&
|
2874
|
+
var S = this.parseIdentifierIfPossible(), B = 0;
|
2875
|
+
if (u !== "select" && S.value === "offset") {
|
2880
2876
|
if (!this.bumpIf(":"))
|
2881
2877
|
return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
|
2882
2878
|
this.bumpSpace();
|
2883
|
-
var
|
2884
|
-
if (
|
2885
|
-
return
|
2886
|
-
this.bumpSpace(),
|
2879
|
+
var c = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
2880
|
+
if (c.err)
|
2881
|
+
return c;
|
2882
|
+
this.bumpSpace(), S = this.parseIdentifierIfPossible(), B = c.val;
|
2887
2883
|
}
|
2888
|
-
var
|
2889
|
-
if (
|
2890
|
-
return
|
2891
|
-
var
|
2892
|
-
if (
|
2893
|
-
return
|
2894
|
-
var
|
2884
|
+
var O = this.tryParsePluralOrSelectOptions(t, u, r, S);
|
2885
|
+
if (O.err)
|
2886
|
+
return O;
|
2887
|
+
var y = this.tryParseArgumentClose(i);
|
2888
|
+
if (y.err)
|
2889
|
+
return y;
|
2890
|
+
var F = g(i, this.clonePosition());
|
2895
2891
|
return u === "select" ? {
|
2896
2892
|
val: {
|
2897
|
-
type:
|
2893
|
+
type: E.select,
|
2898
2894
|
value: n,
|
2899
|
-
options: nt(
|
2900
|
-
location:
|
2895
|
+
options: nt(O.val),
|
2896
|
+
location: F
|
2901
2897
|
},
|
2902
2898
|
err: null
|
2903
2899
|
} : {
|
2904
2900
|
val: {
|
2905
|
-
type:
|
2901
|
+
type: E.plural,
|
2906
2902
|
value: n,
|
2907
|
-
options: nt(
|
2908
|
-
offset:
|
2903
|
+
options: nt(O.val),
|
2904
|
+
offset: B,
|
2909
2905
|
pluralType: u === "plural" ? "cardinal" : "ordinal",
|
2910
|
-
location:
|
2906
|
+
location: F
|
2911
2907
|
},
|
2912
2908
|
err: null
|
2913
2909
|
};
|
@@ -2955,48 +2951,48 @@ var cn = (
|
|
2955
2951
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
2956
2952
|
var n = [];
|
2957
2953
|
try {
|
2958
|
-
n =
|
2954
|
+
n = Vr(t);
|
2959
2955
|
} catch (i) {
|
2960
2956
|
return this.error(p.INVALID_NUMBER_SKELETON, r);
|
2961
2957
|
}
|
2962
2958
|
return {
|
2963
2959
|
val: {
|
2964
|
-
type:
|
2960
|
+
type: V.number,
|
2965
2961
|
tokens: n,
|
2966
2962
|
location: r,
|
2967
|
-
parsedOptions: this.shouldParseSkeletons ?
|
2963
|
+
parsedOptions: this.shouldParseSkeletons ? Wr(n) : {}
|
2968
2964
|
},
|
2969
2965
|
err: null
|
2970
2966
|
};
|
2971
2967
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
2972
2968
|
for (var o, s = !1, u = [], h = /* @__PURE__ */ new Set(), a = i.value, l = i.location; ; ) {
|
2973
2969
|
if (a.length === 0) {
|
2974
|
-
var
|
2970
|
+
var c = this.clonePosition();
|
2975
2971
|
if (r !== "select" && this.bumpIf("=")) {
|
2976
|
-
var
|
2977
|
-
if (
|
2978
|
-
return
|
2979
|
-
l = g(
|
2972
|
+
var f = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_SELECTOR, p.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
2973
|
+
if (f.err)
|
2974
|
+
return f;
|
2975
|
+
l = g(c, this.clonePosition()), a = this.message.slice(c.offset, this.offset());
|
2980
2976
|
} else
|
2981
2977
|
break;
|
2982
2978
|
}
|
2983
2979
|
if (h.has(a))
|
2984
2980
|
return this.error(r === "select" ? p.DUPLICATE_SELECT_ARGUMENT_SELECTOR : p.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
|
2985
2981
|
a === "other" && (s = !0), this.bumpSpace();
|
2986
|
-
var
|
2982
|
+
var b = this.clonePosition();
|
2987
2983
|
if (!this.bumpIf("{"))
|
2988
2984
|
return this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
|
2989
|
-
var
|
2990
|
-
if (
|
2991
|
-
return
|
2992
|
-
var m = this.tryParseArgumentClose(
|
2985
|
+
var y = this.parseMessage(t + 1, r, n);
|
2986
|
+
if (y.err)
|
2987
|
+
return y;
|
2988
|
+
var m = this.tryParseArgumentClose(b);
|
2993
2989
|
if (m.err)
|
2994
2990
|
return m;
|
2995
2991
|
u.push([
|
2996
2992
|
a,
|
2997
2993
|
{
|
2998
|
-
value:
|
2999
|
-
location: g(
|
2994
|
+
value: y.val,
|
2995
|
+
location: g(b, this.clonePosition())
|
3000
2996
|
}
|
3001
2997
|
]), h.add(a), this.bumpSpace(), o = this.parseIdentifierIfPossible(), a = o.value, l = o.location;
|
3002
2998
|
}
|
@@ -3012,7 +3008,7 @@ var cn = (
|
|
3012
3008
|
break;
|
3013
3009
|
}
|
3014
3010
|
var h = g(i, this.clonePosition());
|
3015
|
-
return o ? (s *= n,
|
3011
|
+
return o ? (s *= n, sn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
|
3016
3012
|
}, e.prototype.offset = function() {
|
3017
3013
|
return this.position.offset;
|
3018
3014
|
}, e.prototype.isEOF = function() {
|
@@ -3068,7 +3064,7 @@ var cn = (
|
|
3068
3064
|
break;
|
3069
3065
|
}
|
3070
3066
|
}, e.prototype.bumpSpace = function() {
|
3071
|
-
for (; !this.isEOF() &&
|
3067
|
+
for (; !this.isEOF() && It(this.char()); )
|
3072
3068
|
this.bump();
|
3073
3069
|
}, e.prototype.peek = function() {
|
3074
3070
|
if (this.isEOF())
|
@@ -3078,47 +3074,47 @@ var cn = (
|
|
3078
3074
|
}, e;
|
3079
3075
|
}()
|
3080
3076
|
);
|
3081
|
-
function
|
3077
|
+
function Le(e) {
|
3082
3078
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
3083
3079
|
}
|
3084
|
-
function
|
3085
|
-
return
|
3080
|
+
function fn(e) {
|
3081
|
+
return Le(e) || e === 47;
|
3086
3082
|
}
|
3087
|
-
function
|
3083
|
+
function mn(e) {
|
3088
3084
|
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;
|
3089
3085
|
}
|
3090
|
-
function
|
3086
|
+
function It(e) {
|
3091
3087
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
3092
3088
|
}
|
3093
|
-
function
|
3089
|
+
function pn(e) {
|
3094
3090
|
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;
|
3095
3091
|
}
|
3096
|
-
function
|
3092
|
+
function $e(e) {
|
3097
3093
|
e.forEach(function(t) {
|
3098
3094
|
if (delete t.location, Ht(t) || Tt(t))
|
3099
3095
|
for (var r in t.options)
|
3100
|
-
delete t.options[r].location,
|
3096
|
+
delete t.options[r].location, $e(t.options[r].value);
|
3101
3097
|
else
|
3102
|
-
Et(t) &&
|
3098
|
+
Et(t) && Bt(t.style) || (vt(t) || _t(t)) && we(t.style) ? delete t.style.location : Pt(t) && $e(t.children);
|
3103
3099
|
});
|
3104
3100
|
}
|
3105
|
-
function
|
3106
|
-
t === void 0 && (t = {}), t =
|
3101
|
+
function gn(e, t) {
|
3102
|
+
t === void 0 && (t = {}), t = d({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
3107
3103
|
var r = new cn(e, t).parse();
|
3108
3104
|
if (r.err) {
|
3109
3105
|
var n = SyntaxError(p[r.err.kind]);
|
3110
3106
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
3111
3107
|
}
|
3112
|
-
return t != null && t.captureLocation ||
|
3108
|
+
return t != null && t.captureLocation || $e(r.val), r.val;
|
3113
3109
|
}
|
3114
|
-
var
|
3110
|
+
var X;
|
3115
3111
|
(function(e) {
|
3116
3112
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
3117
|
-
})(
|
3118
|
-
var
|
3113
|
+
})(X || (X = {}));
|
3114
|
+
var me = (
|
3119
3115
|
/** @class */
|
3120
3116
|
function(e) {
|
3121
|
-
|
3117
|
+
fe(t, e);
|
3122
3118
|
function t(r, n, i) {
|
3123
3119
|
var o = e.call(this, r) || this;
|
3124
3120
|
return o.code = n, o.originalMessage = i, o;
|
@@ -3130,44 +3126,44 @@ var ge = (
|
|
3130
3126
|
), ot = (
|
3131
3127
|
/** @class */
|
3132
3128
|
function(e) {
|
3133
|
-
|
3129
|
+
fe(t, e);
|
3134
3130
|
function t(r, n, i, o) {
|
3135
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
3131
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), X.INVALID_VALUE, o) || this;
|
3136
3132
|
}
|
3137
3133
|
return t;
|
3138
|
-
}(
|
3139
|
-
),
|
3134
|
+
}(me)
|
3135
|
+
), dn = (
|
3140
3136
|
/** @class */
|
3141
3137
|
function(e) {
|
3142
|
-
|
3138
|
+
fe(t, e);
|
3143
3139
|
function t(r, n, i) {
|
3144
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
3140
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), X.INVALID_VALUE, i) || this;
|
3145
3141
|
}
|
3146
3142
|
return t;
|
3147
|
-
}(
|
3148
|
-
),
|
3143
|
+
}(me)
|
3144
|
+
), bn = (
|
3149
3145
|
/** @class */
|
3150
3146
|
function(e) {
|
3151
|
-
|
3147
|
+
fe(t, e);
|
3152
3148
|
function t(r, n) {
|
3153
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
3149
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), X.MISSING_VALUE, n) || this;
|
3154
3150
|
}
|
3155
3151
|
return t;
|
3156
|
-
}(
|
3152
|
+
}(me)
|
3157
3153
|
), H;
|
3158
3154
|
(function(e) {
|
3159
3155
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
3160
3156
|
})(H || (H = {}));
|
3161
|
-
function
|
3157
|
+
function xn(e) {
|
3162
3158
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
3163
3159
|
var n = t[t.length - 1];
|
3164
3160
|
return !n || n.type !== H.literal || r.type !== H.literal ? t.push(r) : n.value += r.value, t;
|
3165
3161
|
}, []);
|
3166
3162
|
}
|
3167
|
-
function
|
3163
|
+
function yn(e) {
|
3168
3164
|
return typeof e == "function";
|
3169
3165
|
}
|
3170
|
-
function
|
3166
|
+
function se(e, t, r, n, i, o, s) {
|
3171
3167
|
if (e.length === 1 && Ye(e[0]))
|
3172
3168
|
return [
|
3173
3169
|
{
|
@@ -3184,98 +3180,98 @@ function ue(e, t, r, n, i, o, s) {
|
|
3184
3180
|
});
|
3185
3181
|
continue;
|
3186
3182
|
}
|
3187
|
-
if (
|
3183
|
+
if (Ur(l)) {
|
3188
3184
|
typeof o == "number" && u.push({
|
3189
3185
|
type: H.literal,
|
3190
3186
|
value: r.getNumberFormat(t).format(o)
|
3191
3187
|
});
|
3192
3188
|
continue;
|
3193
3189
|
}
|
3194
|
-
var
|
3195
|
-
if (!(i &&
|
3196
|
-
throw new
|
3197
|
-
var
|
3198
|
-
if (
|
3199
|
-
(!
|
3200
|
-
type: typeof
|
3201
|
-
value:
|
3190
|
+
var c = l.value;
|
3191
|
+
if (!(i && c in i))
|
3192
|
+
throw new bn(c, s);
|
3193
|
+
var f = i[c];
|
3194
|
+
if (Gr(l)) {
|
3195
|
+
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), u.push({
|
3196
|
+
type: typeof f == "string" ? H.literal : H.object,
|
3197
|
+
value: f
|
3202
3198
|
});
|
3203
3199
|
continue;
|
3204
3200
|
}
|
3205
3201
|
if (vt(l)) {
|
3206
|
-
var
|
3202
|
+
var b = typeof l.style == "string" ? n.date[l.style] : we(l.style) ? l.style.parsedOptions : void 0;
|
3207
3203
|
u.push({
|
3208
3204
|
type: H.literal,
|
3209
|
-
value: r.getDateTimeFormat(t,
|
3205
|
+
value: r.getDateTimeFormat(t, b).format(f)
|
3210
3206
|
});
|
3211
3207
|
continue;
|
3212
3208
|
}
|
3213
3209
|
if (_t(l)) {
|
3214
|
-
var
|
3210
|
+
var b = typeof l.style == "string" ? n.time[l.style] : we(l.style) ? l.style.parsedOptions : n.time.medium;
|
3215
3211
|
u.push({
|
3216
3212
|
type: H.literal,
|
3217
|
-
value: r.getDateTimeFormat(t,
|
3213
|
+
value: r.getDateTimeFormat(t, b).format(f)
|
3218
3214
|
});
|
3219
3215
|
continue;
|
3220
3216
|
}
|
3221
3217
|
if (Et(l)) {
|
3222
|
-
var
|
3223
|
-
|
3218
|
+
var b = typeof l.style == "string" ? n.number[l.style] : Bt(l.style) ? l.style.parsedOptions : void 0;
|
3219
|
+
b && b.scale && (f = f * (b.scale || 1)), u.push({
|
3224
3220
|
type: H.literal,
|
3225
|
-
value: r.getNumberFormat(t,
|
3221
|
+
value: r.getNumberFormat(t, b).format(f)
|
3226
3222
|
});
|
3227
3223
|
continue;
|
3228
3224
|
}
|
3229
3225
|
if (Pt(l)) {
|
3230
|
-
var
|
3231
|
-
if (!
|
3232
|
-
throw new
|
3233
|
-
var T =
|
3234
|
-
return
|
3226
|
+
var y = l.children, m = l.value, v = i[m];
|
3227
|
+
if (!yn(v))
|
3228
|
+
throw new dn(m, "function", s);
|
3229
|
+
var T = se(y, t, r, n, i, o), w = v(T.map(function(B) {
|
3230
|
+
return B.value;
|
3235
3231
|
}));
|
3236
|
-
Array.isArray(w) || (w = [w]), u.push.apply(u, w.map(function(
|
3232
|
+
Array.isArray(w) || (w = [w]), u.push.apply(u, w.map(function(B) {
|
3237
3233
|
return {
|
3238
|
-
type: typeof
|
3239
|
-
value:
|
3234
|
+
type: typeof B == "string" ? H.literal : H.object,
|
3235
|
+
value: B
|
3240
3236
|
};
|
3241
3237
|
}));
|
3242
3238
|
}
|
3243
3239
|
if (Ht(l)) {
|
3244
|
-
var P = l.options[
|
3240
|
+
var P = l.options[f] || l.options.other;
|
3245
3241
|
if (!P)
|
3246
|
-
throw new ot(l.value,
|
3247
|
-
u.push.apply(u,
|
3242
|
+
throw new ot(l.value, f, Object.keys(l.options), s);
|
3243
|
+
u.push.apply(u, se(P.value, t, r, n, i));
|
3248
3244
|
continue;
|
3249
3245
|
}
|
3250
3246
|
if (Tt(l)) {
|
3251
|
-
var P = l.options["=".concat(
|
3247
|
+
var P = l.options["=".concat(f)];
|
3252
3248
|
if (!P) {
|
3253
3249
|
if (!Intl.PluralRules)
|
3254
|
-
throw new
|
3250
|
+
throw new me(`Intl.PluralRules is not available in this environment.
|
3255
3251
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
3256
|
-
`,
|
3257
|
-
var
|
3258
|
-
P = l.options[
|
3252
|
+
`, X.MISSING_INTL_API, s);
|
3253
|
+
var S = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
|
3254
|
+
P = l.options[S] || l.options.other;
|
3259
3255
|
}
|
3260
3256
|
if (!P)
|
3261
|
-
throw new ot(l.value,
|
3262
|
-
u.push.apply(u,
|
3257
|
+
throw new ot(l.value, f, Object.keys(l.options), s);
|
3258
|
+
u.push.apply(u, se(P.value, t, r, n, i, f - (l.offset || 0)));
|
3263
3259
|
continue;
|
3264
3260
|
}
|
3265
3261
|
}
|
3266
|
-
return
|
3262
|
+
return xn(u);
|
3267
3263
|
}
|
3268
|
-
function
|
3269
|
-
return t ?
|
3270
|
-
return r[n] =
|
3264
|
+
function En(e, t) {
|
3265
|
+
return t ? d(d(d({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
3266
|
+
return r[n] = d(d({}, e[n]), t[n] || {}), r;
|
3271
3267
|
}, {})) : e;
|
3272
3268
|
}
|
3273
|
-
function
|
3269
|
+
function vn(e, t) {
|
3274
3270
|
return t ? Object.keys(e).reduce(function(r, n) {
|
3275
|
-
return r[n] =
|
3276
|
-
},
|
3271
|
+
return r[n] = En(e[n], t[n]), r;
|
3272
|
+
}, d({}, e)) : e;
|
3277
3273
|
}
|
3278
|
-
function
|
3274
|
+
function Te(e) {
|
3279
3275
|
return {
|
3280
3276
|
create: function() {
|
3281
3277
|
return {
|
@@ -3289,39 +3285,39 @@ function Se(e) {
|
|
3289
3285
|
}
|
3290
3286
|
};
|
3291
3287
|
}
|
3292
|
-
function
|
3288
|
+
function _n(e) {
|
3293
3289
|
return e === void 0 && (e = {
|
3294
3290
|
number: {},
|
3295
3291
|
dateTime: {},
|
3296
3292
|
pluralRules: {}
|
3297
3293
|
}), {
|
3298
|
-
getNumberFormat:
|
3294
|
+
getNumberFormat: ve(function() {
|
3299
3295
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3300
3296
|
r[n] = arguments[n];
|
3301
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
3297
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Ee([void 0], r, !1)))();
|
3302
3298
|
}, {
|
3303
|
-
cache:
|
3304
|
-
strategy:
|
3299
|
+
cache: Te(e.number),
|
3300
|
+
strategy: _e.variadic
|
3305
3301
|
}),
|
3306
|
-
getDateTimeFormat:
|
3302
|
+
getDateTimeFormat: ve(function() {
|
3307
3303
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3308
3304
|
r[n] = arguments[n];
|
3309
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
3305
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Ee([void 0], r, !1)))();
|
3310
3306
|
}, {
|
3311
|
-
cache:
|
3312
|
-
strategy:
|
3307
|
+
cache: Te(e.dateTime),
|
3308
|
+
strategy: _e.variadic
|
3313
3309
|
}),
|
3314
|
-
getPluralRules:
|
3310
|
+
getPluralRules: ve(function() {
|
3315
3311
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3316
3312
|
r[n] = arguments[n];
|
3317
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
3313
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Ee([void 0], r, !1)))();
|
3318
3314
|
}, {
|
3319
|
-
cache:
|
3320
|
-
strategy:
|
3315
|
+
cache: Te(e.pluralRules),
|
3316
|
+
strategy: _e.variadic
|
3321
3317
|
})
|
3322
3318
|
};
|
3323
3319
|
}
|
3324
|
-
var
|
3320
|
+
var Hn = (
|
3325
3321
|
/** @class */
|
3326
3322
|
function() {
|
3327
3323
|
function e(t, r, n, i) {
|
@@ -3335,12 +3331,12 @@ var Tn = (
|
|
3335
3331
|
var a = o.formatToParts(h);
|
3336
3332
|
if (a.length === 1)
|
3337
3333
|
return a[0].value;
|
3338
|
-
var l = a.reduce(function(
|
3339
|
-
return !
|
3334
|
+
var l = a.reduce(function(c, f) {
|
3335
|
+
return !c.length || f.type !== H.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
|
3340
3336
|
}, []);
|
3341
3337
|
return l.length <= 1 ? l[0] || "" : l;
|
3342
3338
|
}, this.formatToParts = function(h) {
|
3343
|
-
return
|
3339
|
+
return se(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
|
3344
3340
|
}, this.resolvedOptions = function() {
|
3345
3341
|
var h;
|
3346
3342
|
return {
|
@@ -3353,13 +3349,13 @@ var Tn = (
|
|
3353
3349
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
3354
3350
|
var s = i || {};
|
3355
3351
|
s.formatters;
|
3356
|
-
var u =
|
3357
|
-
this.ast = e.__parse(t,
|
3352
|
+
var u = Mr(s, ["formatters"]);
|
3353
|
+
this.ast = e.__parse(t, d(d({}, u), { locale: this.resolvedLocale }));
|
3358
3354
|
} else
|
3359
3355
|
this.ast = t;
|
3360
3356
|
if (!Array.isArray(this.ast))
|
3361
3357
|
throw new TypeError("A message must be provided as a String or AST.");
|
3362
|
-
this.formats =
|
3358
|
+
this.formats = vn(e.formats, n), this.formatters = i && i.formatters || _n(this.formatterCache);
|
3363
3359
|
}
|
3364
3360
|
return Object.defineProperty(e, "defaultLocale", {
|
3365
3361
|
get: function() {
|
@@ -3372,7 +3368,7 @@ var Tn = (
|
|
3372
3368
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
3373
3369
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
3374
3370
|
}
|
3375
|
-
}, e.__parse =
|
3371
|
+
}, e.__parse = gn, e.formats = {
|
3376
3372
|
number: {
|
3377
3373
|
integer: {
|
3378
3374
|
maximumFractionDigits: 0
|
@@ -3433,7 +3429,7 @@ var Tn = (
|
|
3433
3429
|
}, e;
|
3434
3430
|
}()
|
3435
3431
|
);
|
3436
|
-
function
|
3432
|
+
function Tn(e, t) {
|
3437
3433
|
if (t == null)
|
3438
3434
|
return;
|
3439
3435
|
if (t in e)
|
@@ -3454,36 +3450,36 @@ function Pn(e, t) {
|
|
3454
3450
|
n = void 0;
|
3455
3451
|
return n;
|
3456
3452
|
}
|
3457
|
-
const
|
3453
|
+
const I = {}, Pn = (e, t, r) => r && (t in I || (I[t] = {}), e in I[t] || (I[t][e] = r), r), Lt = (e, t) => {
|
3458
3454
|
if (t == null)
|
3459
3455
|
return;
|
3460
|
-
if (t in
|
3461
|
-
return
|
3462
|
-
const r =
|
3456
|
+
if (t in I && e in I[t])
|
3457
|
+
return I[t][e];
|
3458
|
+
const r = pe(t);
|
3463
3459
|
for (let n = 0; n < r.length; n++) {
|
3464
3460
|
const i = r[n], o = Nn(i, e);
|
3465
3461
|
if (o)
|
3466
|
-
return
|
3462
|
+
return Pn(e, t, o);
|
3467
3463
|
}
|
3468
3464
|
};
|
3469
|
-
let
|
3470
|
-
const
|
3465
|
+
let ke;
|
3466
|
+
const ne = ce({});
|
3471
3467
|
function Bn(e) {
|
3472
|
-
return
|
3468
|
+
return ke[e] || null;
|
3473
3469
|
}
|
3474
3470
|
function $t(e) {
|
3475
|
-
return e in
|
3471
|
+
return e in ke;
|
3476
3472
|
}
|
3477
3473
|
function Nn(e, t) {
|
3478
3474
|
if (!$t(e))
|
3479
3475
|
return null;
|
3480
3476
|
const r = Bn(e);
|
3481
|
-
return
|
3477
|
+
return Tn(r, t);
|
3482
3478
|
}
|
3483
|
-
function
|
3479
|
+
function Sn(e) {
|
3484
3480
|
if (e == null)
|
3485
3481
|
return;
|
3486
|
-
const t =
|
3482
|
+
const t = pe(e);
|
3487
3483
|
for (let r = 0; r < t.length; r++) {
|
3488
3484
|
const n = t[r];
|
3489
3485
|
if ($t(n))
|
@@ -3491,53 +3487,53 @@ function An(e) {
|
|
3491
3487
|
}
|
3492
3488
|
}
|
3493
3489
|
function Ct(e, ...t) {
|
3494
|
-
delete
|
3490
|
+
delete I[e], ne.update((r) => (r[e] = Or.all([r[e] || {}, ...t]), r));
|
3495
3491
|
}
|
3496
|
-
|
3497
|
-
[
|
3492
|
+
Z(
|
3493
|
+
[ne],
|
3498
3494
|
([e]) => Object.keys(e)
|
3499
3495
|
);
|
3500
|
-
|
3501
|
-
const
|
3502
|
-
function
|
3503
|
-
|
3496
|
+
ne.subscribe((e) => ke = e);
|
3497
|
+
const ue = {};
|
3498
|
+
function An(e, t) {
|
3499
|
+
ue[e].delete(t), ue[e].size === 0 && delete ue[e];
|
3504
3500
|
}
|
3505
3501
|
function Rt(e) {
|
3506
|
-
return
|
3502
|
+
return ue[e];
|
3507
3503
|
}
|
3508
|
-
function
|
3509
|
-
return
|
3504
|
+
function wn(e) {
|
3505
|
+
return pe(e).map((t) => {
|
3510
3506
|
const r = Rt(t);
|
3511
3507
|
return [t, r ? [...r] : []];
|
3512
3508
|
}).filter(([, t]) => t.length > 0);
|
3513
3509
|
}
|
3514
|
-
function
|
3515
|
-
return e == null ? !1 :
|
3510
|
+
function Ce(e) {
|
3511
|
+
return e == null ? !1 : pe(e).some(
|
3516
3512
|
(t) => {
|
3517
3513
|
var r;
|
3518
3514
|
return (r = Rt(t)) == null ? void 0 : r.size;
|
3519
3515
|
}
|
3520
3516
|
);
|
3521
3517
|
}
|
3522
|
-
function
|
3518
|
+
function On(e, t) {
|
3523
3519
|
return Promise.all(
|
3524
|
-
t.map((n) => (
|
3520
|
+
t.map((n) => (An(e, n), n().then((i) => i.default || i)))
|
3525
3521
|
).then((n) => Ct(e, ...n));
|
3526
3522
|
}
|
3527
|
-
const
|
3523
|
+
const J = {};
|
3528
3524
|
function Ft(e) {
|
3529
|
-
if (!
|
3530
|
-
return e in
|
3531
|
-
const t =
|
3532
|
-
return
|
3525
|
+
if (!Ce(e))
|
3526
|
+
return e in J ? J[e] : Promise.resolve();
|
3527
|
+
const t = wn(e);
|
3528
|
+
return J[e] = Promise.all(
|
3533
3529
|
t.map(
|
3534
|
-
([r, n]) =>
|
3530
|
+
([r, n]) => On(r, n)
|
3535
3531
|
)
|
3536
3532
|
).then(() => {
|
3537
|
-
if (
|
3533
|
+
if (Ce(e))
|
3538
3534
|
return Ft(e);
|
3539
|
-
delete
|
3540
|
-
}),
|
3535
|
+
delete J[e];
|
3536
|
+
}), J[e];
|
3541
3537
|
}
|
3542
3538
|
const Mn = {
|
3543
3539
|
number: {
|
@@ -3568,141 +3564,141 @@ const Mn = {
|
|
3568
3564
|
timeZoneName: "short"
|
3569
3565
|
}
|
3570
3566
|
}
|
3571
|
-
},
|
3567
|
+
}, In = {
|
3572
3568
|
fallbackLocale: null,
|
3573
3569
|
loadingDelay: 200,
|
3574
3570
|
formats: Mn,
|
3575
3571
|
warnOnMissingMessages: !0,
|
3576
3572
|
handleMissingMessage: void 0,
|
3577
3573
|
ignoreTag: !0
|
3578
|
-
},
|
3579
|
-
function
|
3580
|
-
return
|
3574
|
+
}, Ln = In;
|
3575
|
+
function z() {
|
3576
|
+
return Ln;
|
3581
3577
|
}
|
3582
|
-
const
|
3583
|
-
var
|
3578
|
+
const Pe = ce(!1);
|
3579
|
+
var $n = Object.defineProperty, Cn = Object.defineProperties, Rn = Object.getOwnPropertyDescriptors, at = Object.getOwnPropertySymbols, Fn = Object.prototype.hasOwnProperty, Gn = Object.prototype.propertyIsEnumerable, st = (e, t, r) => t in e ? $n(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Un = (e, t) => {
|
3584
3580
|
for (var r in t || (t = {}))
|
3585
|
-
|
3581
|
+
Fn.call(t, r) && st(e, r, t[r]);
|
3586
3582
|
if (at)
|
3587
3583
|
for (var r of at(t))
|
3588
|
-
|
3584
|
+
Gn.call(t, r) && st(e, r, t[r]);
|
3589
3585
|
return e;
|
3590
|
-
},
|
3591
|
-
let
|
3592
|
-
const
|
3586
|
+
}, Dn = (e, t) => Cn(e, Rn(t));
|
3587
|
+
let Re;
|
3588
|
+
const he = ce(null);
|
3593
3589
|
function ut(e) {
|
3594
3590
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
3595
3591
|
}
|
3596
|
-
function
|
3592
|
+
function pe(e, t = z().fallbackLocale) {
|
3597
3593
|
const r = ut(e);
|
3598
3594
|
return t ? [.../* @__PURE__ */ new Set([...r, ...ut(t)])] : r;
|
3599
3595
|
}
|
3600
|
-
function
|
3601
|
-
return
|
3596
|
+
function R() {
|
3597
|
+
return Re != null ? Re : void 0;
|
3602
3598
|
}
|
3603
|
-
|
3604
|
-
|
3599
|
+
he.subscribe((e) => {
|
3600
|
+
Re = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
3605
3601
|
});
|
3606
3602
|
const kn = (e) => {
|
3607
|
-
if (e &&
|
3608
|
-
const { loadingDelay: t } =
|
3603
|
+
if (e && Sn(e) && Ce(e)) {
|
3604
|
+
const { loadingDelay: t } = z();
|
3609
3605
|
let r;
|
3610
|
-
return typeof window != "undefined" &&
|
3611
|
-
() =>
|
3606
|
+
return typeof window != "undefined" && R() != null && t ? r = window.setTimeout(
|
3607
|
+
() => Pe.set(!0),
|
3612
3608
|
t
|
3613
|
-
) :
|
3614
|
-
|
3609
|
+
) : Pe.set(!0), Ft(e).then(() => {
|
3610
|
+
he.set(e);
|
3615
3611
|
}).finally(() => {
|
3616
|
-
clearTimeout(r),
|
3612
|
+
clearTimeout(r), Pe.set(!1);
|
3617
3613
|
});
|
3618
3614
|
}
|
3619
|
-
return
|
3620
|
-
},
|
3615
|
+
return he.set(e);
|
3616
|
+
}, W = Dn(Un({}, he), {
|
3621
3617
|
set: kn
|
3622
|
-
}),
|
3618
|
+
}), ge = (e) => {
|
3623
3619
|
const t = /* @__PURE__ */ Object.create(null);
|
3624
3620
|
return (n) => {
|
3625
3621
|
const i = JSON.stringify(n);
|
3626
3622
|
return i in t ? t[i] : t[i] = e(n);
|
3627
3623
|
};
|
3628
3624
|
};
|
3629
|
-
var
|
3625
|
+
var jn = Object.defineProperty, le = Object.getOwnPropertySymbols, Gt = Object.prototype.hasOwnProperty, Ut = Object.prototype.propertyIsEnumerable, ht = (e, t, r) => t in e ? jn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, je = (e, t) => {
|
3630
3626
|
for (var r in t || (t = {}))
|
3631
3627
|
Gt.call(t, r) && ht(e, r, t[r]);
|
3632
|
-
if (
|
3633
|
-
for (var r of
|
3628
|
+
if (le)
|
3629
|
+
for (var r of le(t))
|
3634
3630
|
Ut.call(t, r) && ht(e, r, t[r]);
|
3635
3631
|
return e;
|
3636
|
-
},
|
3632
|
+
}, Q = (e, t) => {
|
3637
3633
|
var r = {};
|
3638
3634
|
for (var n in e)
|
3639
3635
|
Gt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
3640
|
-
if (e != null &&
|
3641
|
-
for (var n of
|
3636
|
+
if (e != null && le)
|
3637
|
+
for (var n of le(e))
|
3642
3638
|
t.indexOf(n) < 0 && Ut.call(e, n) && (r[n] = e[n]);
|
3643
3639
|
return r;
|
3644
3640
|
};
|
3645
|
-
const
|
3646
|
-
const { formats: r } =
|
3641
|
+
const te = (e, t) => {
|
3642
|
+
const { formats: r } = z();
|
3647
3643
|
if (e in r && t in r[e])
|
3648
3644
|
return r[e][t];
|
3649
3645
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
3650
|
-
},
|
3646
|
+
}, Vn = ge(
|
3651
3647
|
(e) => {
|
3652
|
-
var t = e, { locale: r, format: n } = t, i =
|
3648
|
+
var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
|
3653
3649
|
if (r == null)
|
3654
3650
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
3655
|
-
return n && (i =
|
3651
|
+
return n && (i = te("number", n)), new Intl.NumberFormat(r, i);
|
3656
3652
|
}
|
3657
|
-
),
|
3653
|
+
), Xn = ge(
|
3658
3654
|
(e) => {
|
3659
|
-
var t = e, { locale: r, format: n } = t, i =
|
3655
|
+
var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
|
3660
3656
|
if (r == null)
|
3661
3657
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
3662
|
-
return n ? i =
|
3658
|
+
return n ? i = te("date", n) : Object.keys(i).length === 0 && (i = te("date", "short")), new Intl.DateTimeFormat(r, i);
|
3663
3659
|
}
|
3664
|
-
),
|
3660
|
+
), zn = ge(
|
3665
3661
|
(e) => {
|
3666
|
-
var t = e, { locale: r, format: n } = t, i =
|
3662
|
+
var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
|
3667
3663
|
if (r == null)
|
3668
3664
|
throw new Error(
|
3669
3665
|
'[svelte-i18n] A "locale" must be set to format time values'
|
3670
3666
|
);
|
3671
|
-
return n ? i =
|
3667
|
+
return n ? i = te("time", n) : Object.keys(i).length === 0 && (i = te("time", "short")), new Intl.DateTimeFormat(r, i);
|
3672
3668
|
}
|
3673
|
-
),
|
3669
|
+
), Zn = (e = {}) => {
|
3674
3670
|
var t = e, {
|
3675
|
-
locale: r =
|
3676
|
-
} = t, n =
|
3671
|
+
locale: r = R()
|
3672
|
+
} = t, n = Q(t, [
|
3677
3673
|
"locale"
|
3678
3674
|
]);
|
3679
|
-
return
|
3680
|
-
},
|
3675
|
+
return Vn(je({ locale: r }, n));
|
3676
|
+
}, Wn = (e = {}) => {
|
3681
3677
|
var t = e, {
|
3682
|
-
locale: r =
|
3683
|
-
} = t, n =
|
3678
|
+
locale: r = R()
|
3679
|
+
} = t, n = Q(t, [
|
3684
3680
|
"locale"
|
3685
3681
|
]);
|
3686
|
-
return
|
3687
|
-
},
|
3682
|
+
return Xn(je({ locale: r }, n));
|
3683
|
+
}, Qn = (e = {}) => {
|
3688
3684
|
var t = e, {
|
3689
|
-
locale: r =
|
3690
|
-
} = t, n =
|
3685
|
+
locale: r = R()
|
3686
|
+
} = t, n = Q(t, [
|
3691
3687
|
"locale"
|
3692
3688
|
]);
|
3693
|
-
return
|
3694
|
-
},
|
3689
|
+
return zn(je({ locale: r }, n));
|
3690
|
+
}, qn = ge(
|
3695
3691
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
3696
|
-
(e, t =
|
3697
|
-
ignoreTag:
|
3692
|
+
(e, t = R()) => new Hn(e, t, z().formats, {
|
3693
|
+
ignoreTag: z().ignoreTag
|
3698
3694
|
})
|
3699
|
-
),
|
3695
|
+
), Jn = (e, t = {}) => {
|
3700
3696
|
var r, n, i, o;
|
3701
3697
|
let s = t;
|
3702
3698
|
typeof e == "object" && (s = e, e = s.id);
|
3703
3699
|
const {
|
3704
3700
|
values: u,
|
3705
|
-
locale: h =
|
3701
|
+
locale: h = R(),
|
3706
3702
|
default: a
|
3707
3703
|
} = s;
|
3708
3704
|
if (h == null)
|
@@ -3711,35 +3707,35 @@ const re = (e, t) => {
|
|
3711
3707
|
);
|
3712
3708
|
let l = Lt(e, h);
|
3713
3709
|
if (!l)
|
3714
|
-
l = (o = (i = (n = (r =
|
3710
|
+
l = (o = (i = (n = (r = z()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: a })) != null ? i : a) != null ? o : e;
|
3715
3711
|
else if (typeof l != "string")
|
3716
3712
|
return console.warn(
|
3717
3713
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
3718
3714
|
), l;
|
3719
3715
|
if (!u)
|
3720
3716
|
return l;
|
3721
|
-
let
|
3717
|
+
let c = l;
|
3722
3718
|
try {
|
3723
|
-
|
3724
|
-
} catch (
|
3725
|
-
|
3719
|
+
c = qn(l, h).format(u);
|
3720
|
+
} catch (f) {
|
3721
|
+
f instanceof Error && console.warn(
|
3726
3722
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
3727
|
-
|
3723
|
+
f.message
|
3728
3724
|
);
|
3729
3725
|
}
|
3730
|
-
return
|
3731
|
-
},
|
3732
|
-
|
3733
|
-
|
3734
|
-
|
3735
|
-
|
3726
|
+
return c;
|
3727
|
+
}, Yn = (e, t) => Qn(t).format(e), Kn = (e, t) => Wn(t).format(e), ei = (e, t) => Zn(t).format(e), ti = (e, t = R()) => Lt(e, t), ri = Z([W, ne], () => Jn);
|
3728
|
+
Z([W], () => Yn);
|
3729
|
+
Z([W], () => Kn);
|
3730
|
+
Z([W], () => ei);
|
3731
|
+
Z([W, ne], () => ti);
|
3736
3732
|
function lt(e, t) {
|
3737
3733
|
Ct(e, t);
|
3738
3734
|
}
|
3739
|
-
function
|
3740
|
-
|
3735
|
+
function ni(e) {
|
3736
|
+
W.set(e);
|
3741
3737
|
}
|
3742
|
-
const
|
3738
|
+
const ct = {
|
3743
3739
|
en: {
|
3744
3740
|
pageNotFound: "Page not found",
|
3745
3741
|
pageNotFoundMessage: "The page you were looking for could not be found. Please go back to our Homepage.",
|
@@ -3831,13 +3827,13 @@ const ft = {
|
|
3831
3827
|
home: "Go to homepage"
|
3832
3828
|
}
|
3833
3829
|
};
|
3834
|
-
function
|
3830
|
+
function ii(e, t) {
|
3835
3831
|
if (e) {
|
3836
3832
|
const r = document.createElement("style");
|
3837
3833
|
r.innerHTML = t, e.appendChild(r);
|
3838
3834
|
}
|
3839
3835
|
}
|
3840
|
-
function
|
3836
|
+
function oi(e, t) {
|
3841
3837
|
const r = new URL(t);
|
3842
3838
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
3843
3839
|
const i = document.createElement("style");
|
@@ -3846,7 +3842,7 @@ function ai(e, t) {
|
|
3846
3842
|
console.error("There was an error while trying to load client styling from URL", n);
|
3847
3843
|
});
|
3848
3844
|
}
|
3849
|
-
function
|
3845
|
+
function ai(e, t, r) {
|
3850
3846
|
if (window.emMessageBus) {
|
3851
3847
|
const n = document.createElement("style");
|
3852
3848
|
window.emMessageBus.subscribe(t, (i) => {
|
@@ -3854,51 +3850,51 @@ function si(e, t, r) {
|
|
3854
3850
|
});
|
3855
3851
|
}
|
3856
3852
|
}
|
3857
|
-
function
|
3853
|
+
function si(e) {
|
3858
3854
|
Wt(e, "svelte-xvkdgv", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.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, #22B04E))}.PageTitle{color:var(--emw--misc-color-primary, var(--emw--color-primary, #22B04E));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, #22B04E));border:1px solid var(--emw--misc-color-primary, var(--emw--color-primary, #22B04E));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%}.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}}");
|
3859
3855
|
}
|
3860
|
-
function
|
3861
|
-
let t, r, n, i, o, s, u, h, a, l,
|
3856
|
+
function ui(e) {
|
3857
|
+
let t, r, n, i, o, s, u, h, a, l, c, f, b = (
|
3862
3858
|
/*$_*/
|
3863
3859
|
e[1]("pageNotFound") + ""
|
3864
|
-
),
|
3860
|
+
), y, m, v, T = (
|
3865
3861
|
/*$_*/
|
3866
3862
|
e[1]("pageNotFoundMessage") + ""
|
3867
|
-
), w, P,
|
3863
|
+
), w, P, S, B = (
|
3868
3864
|
/*$_*/
|
3869
3865
|
e[1]("home") + ""
|
3870
|
-
),
|
3866
|
+
), O, F, Ve;
|
3871
3867
|
return {
|
3872
3868
|
c() {
|
3873
|
-
t =
|
3869
|
+
t = $("div"), r = $("div"), n = M("svg"), i = M("g"), o = M("path"), s = M("path"), u = M("path"), h = M("path"), a = M("path"), l = M("path"), c = be(), f = $("p"), y = oe(b), m = be(), v = $("p"), w = oe(T), P = be(), S = $("button"), O = oe(B), x(o, "class", "a"), x(o, "d", "M753.094,548.381h11.379v4.138a3.1,3.1,0,1,0,6.207,0v-4.138a3.1,3.1,0,0,0,0-6.207v-27.93a3,3,0,0,0-2.379-3,3.262,3.262,0,0,0-3.517,1.552l-14.483,26.9a3.305,3.305,0,0,0-.31,1.448v4.138a3.048,3.048,0,0,0,3.1,3.1Zm3.1-6.414,8.276-15.414v15.62H756.2Z"), x(o, "transform", "translate(-658.898 -446.452)"), x(s, "class", "a"), x(s, "d", "M508.259,555.422a11.346,11.346,0,0,0,11.379-11.379V522.319a11.379,11.379,0,1,0-22.757,0v21.725A11.346,11.346,0,0,0,508.259,555.422Zm-5.172-33.1a5.172,5.172,0,1,1,10.345,0v21.725a5.172,5.172,0,0,1-10.345,0Z"), x(s, "transform", "translate(-433.716 -446.252)"), x(u, "class", "a"), x(u, "d", "M237.474,548.381h11.379v4.138a3.1,3.1,0,1,0,6.207,0v-4.138a3.1,3.1,0,1,0,0-6.207v-27.93a3,3,0,0,0-2.379-3,3.2,3.2,0,0,0-3.517,1.552l-14.483,26.9a3.3,3.3,0,0,0-.31,1.448v4.138a3.048,3.048,0,0,0,3.1,3.1Zm3.1-6.414,8.276-15.414v15.62h-8.276Z"), x(u, "transform", "translate(-200.173 -446.452)"), x(h, "class", "a"), x(h, "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"), x(a, "class", "a"), x(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"), x(a, "transform", "translate(-116.772 -116.794)"), x(l, "class", "a"), x(l, "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"), x(l, "transform", "translate(-250.22 -116.794)"), x(i, "transform", "translate(-9.37 -9.34)"), x(n, "class", "svgColor"), x(n, "xmlns", "http://www.w3.org/2000/svg"), x(n, "width", "130.345"), x(n, "height", "130.345"), x(n, "viewBox", "0 0 130.345 130.345"), x(f, "class", "PageTitle"), x(v, "class", "PageContent"), x(S, "class", "ButtonDefaultSmall"), x(r, "class", "NotFoundPage"), x(t, "class", "PageWrapper");
|
3874
3870
|
},
|
3875
|
-
m(
|
3876
|
-
gt(
|
3877
|
-
|
3871
|
+
m(L, q) {
|
3872
|
+
gt(L, t, q), _(t, r), _(r, n), _(n, i), _(i, o), _(i, s), _(i, u), _(i, h), _(i, a), _(i, l), _(r, c), _(r, f), _(f, y), _(r, m), _(r, v), _(v, w), _(r, P), _(r, S), _(S, O), e[9](t), F || (Ve = Jt(
|
3873
|
+
S,
|
3878
3874
|
"click",
|
3879
3875
|
/*click_handler*/
|
3880
3876
|
e[8]
|
3881
|
-
),
|
3877
|
+
), F = !0);
|
3882
3878
|
},
|
3883
|
-
p(
|
3884
|
-
|
3885
|
-
2 &&
|
3886
|
-
|
3879
|
+
p(L, [q]) {
|
3880
|
+
q & /*$_*/
|
3881
|
+
2 && b !== (b = /*$_*/
|
3882
|
+
L[1]("pageNotFound") + "") && xe(y, b), q & /*$_*/
|
3887
3883
|
2 && T !== (T = /*$_*/
|
3888
|
-
|
3889
|
-
2 &&
|
3890
|
-
|
3884
|
+
L[1]("pageNotFoundMessage") + "") && xe(w, T), q & /*$_*/
|
3885
|
+
2 && B !== (B = /*$_*/
|
3886
|
+
L[1]("home") + "") && xe(O, B);
|
3891
3887
|
},
|
3892
3888
|
i: A,
|
3893
3889
|
o: A,
|
3894
|
-
d(
|
3895
|
-
|
3890
|
+
d(L) {
|
3891
|
+
L && Ge(t), e[9](null), F = !1, Ve();
|
3896
3892
|
}
|
3897
3893
|
};
|
3898
3894
|
}
|
3899
|
-
function
|
3895
|
+
function hi(e, t, r) {
|
3900
3896
|
let n;
|
3901
|
-
Zt(e,
|
3897
|
+
Zt(e, ri, (m) => r(1, n = m));
|
3902
3898
|
let { lang: i = "en" } = t, { clientstyling: o = "" } = t, { clientstylingurl: s = "" } = t, { translationurl: u = "" } = t, { mbsource: h } = t, a;
|
3903
3899
|
const l = () => {
|
3904
3900
|
fetch(u).then((v) => v.json()).then((v) => {
|
@@ -3909,19 +3905,19 @@ function li(e, t, r) {
|
|
3909
3905
|
console.log(v);
|
3910
3906
|
});
|
3911
3907
|
};
|
3912
|
-
Object.keys(
|
3913
|
-
lt(m,
|
3908
|
+
Object.keys(ct).forEach((m) => {
|
3909
|
+
lt(m, ct[m]);
|
3914
3910
|
});
|
3915
|
-
const
|
3911
|
+
const c = () => {
|
3916
3912
|
window.postMessage({ type: "GoToHomepage" }, window.location.href);
|
3917
|
-
},
|
3918
|
-
|
3913
|
+
}, f = () => {
|
3914
|
+
ni(i);
|
3919
3915
|
};
|
3920
3916
|
tr(() => () => {
|
3921
3917
|
});
|
3922
|
-
const
|
3923
|
-
function
|
3924
|
-
|
3918
|
+
const b = () => c();
|
3919
|
+
function y(m) {
|
3920
|
+
Be[m ? "unshift" : "push"](() => {
|
3925
3921
|
a = m, r(0, a);
|
3926
3922
|
});
|
3927
3923
|
}
|
@@ -3929,31 +3925,31 @@ function li(e, t, r) {
|
|
3929
3925
|
"lang" in m && r(3, i = m.lang), "clientstyling" in m && r(4, o = m.clientstyling), "clientstylingurl" in m && r(5, s = m.clientstylingurl), "translationurl" in m && r(6, u = m.translationurl), "mbsource" in m && r(7, h = m.mbsource);
|
3930
3926
|
}, e.$$.update = () => {
|
3931
3927
|
e.$$.dirty & /*lang*/
|
3932
|
-
8 && i &&
|
3928
|
+
8 && i && f(), e.$$.dirty & /*translationurl*/
|
3933
3929
|
64 && u && l(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
3934
|
-
17 && o && a &&
|
3935
|
-
33 && s && a &&
|
3936
|
-
129 && h && a &&
|
3930
|
+
17 && o && a && ii(a, o), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
3931
|
+
33 && s && a && oi(a, s), e.$$.dirty & /*mbsource, customStylingContainer*/
|
3932
|
+
129 && h && a && ai(a, `${h}.Style`);
|
3937
3933
|
}, [
|
3938
3934
|
a,
|
3939
3935
|
n,
|
3940
|
-
|
3936
|
+
c,
|
3941
3937
|
i,
|
3942
3938
|
o,
|
3943
3939
|
s,
|
3944
3940
|
u,
|
3945
3941
|
h,
|
3946
|
-
|
3947
|
-
|
3942
|
+
b,
|
3943
|
+
y
|
3948
3944
|
];
|
3949
3945
|
}
|
3950
|
-
class
|
3946
|
+
class li extends mr {
|
3951
3947
|
constructor(t) {
|
3952
|
-
super(),
|
3948
|
+
super(), cr(
|
3953
3949
|
this,
|
3954
3950
|
t,
|
3955
|
-
li,
|
3956
3951
|
hi,
|
3952
|
+
ui,
|
3957
3953
|
mt,
|
3958
3954
|
{
|
3959
3955
|
lang: 3,
|
@@ -3962,41 +3958,41 @@ class fi extends mr {
|
|
3962
3958
|
translationurl: 6,
|
3963
3959
|
mbsource: 7
|
3964
3960
|
},
|
3965
|
-
|
3961
|
+
si
|
3966
3962
|
);
|
3967
3963
|
}
|
3968
3964
|
get lang() {
|
3969
3965
|
return this.$$.ctx[3];
|
3970
3966
|
}
|
3971
3967
|
set lang(t) {
|
3972
|
-
this.$$set({ lang: t }),
|
3968
|
+
this.$$set({ lang: t }), C();
|
3973
3969
|
}
|
3974
3970
|
get clientstyling() {
|
3975
3971
|
return this.$$.ctx[4];
|
3976
3972
|
}
|
3977
3973
|
set clientstyling(t) {
|
3978
|
-
this.$$set({ clientstyling: t }),
|
3974
|
+
this.$$set({ clientstyling: t }), C();
|
3979
3975
|
}
|
3980
3976
|
get clientstylingurl() {
|
3981
3977
|
return this.$$.ctx[5];
|
3982
3978
|
}
|
3983
3979
|
set clientstylingurl(t) {
|
3984
|
-
this.$$set({ clientstylingurl: t }),
|
3980
|
+
this.$$set({ clientstylingurl: t }), C();
|
3985
3981
|
}
|
3986
3982
|
get translationurl() {
|
3987
3983
|
return this.$$.ctx[6];
|
3988
3984
|
}
|
3989
3985
|
set translationurl(t) {
|
3990
|
-
this.$$set({ translationurl: t }),
|
3986
|
+
this.$$set({ translationurl: t }), C();
|
3991
3987
|
}
|
3992
3988
|
get mbsource() {
|
3993
3989
|
return this.$$.ctx[7];
|
3994
3990
|
}
|
3995
3991
|
set mbsource(t) {
|
3996
|
-
this.$$set({ mbsource: t }),
|
3992
|
+
this.$$set({ mbsource: t }), C();
|
3997
3993
|
}
|
3998
3994
|
}
|
3999
|
-
|
3995
|
+
fr(li, { lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
|
4000
3996
|
export {
|
4001
|
-
|
3997
|
+
li as default
|
4002
3998
|
};
|