@everymatrix/casino-403 1.54.12 → 1.55.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/{Casino403-GcqBU6My.js → Casino403-DJGq5-eq.js} +344 -342
- package/components/Casino403-DRqaOHTH.cjs +3 -0
- package/components/{Casino403-Bzcam7OJ.js → Casino403-k0y6zIsX.js} +359 -357
- package/es2015/casino-403.cjs +1 -1
- package/es2015/casino-403.js +1 -1
- package/esnext/casino-403.js +1 -1
- package/package.json +1 -1
- package/components/Casino403-fgCwrPVp.cjs +0 -3
@@ -1,17 +1,17 @@
|
|
1
|
-
var
|
2
|
-
var
|
3
|
-
var
|
4
|
-
var
|
5
|
-
var pe = (e, t, r) => t in e ?
|
1
|
+
var Ut = Object.defineProperty, Gt = Object.defineProperties;
|
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
6
|
for (var r in t || (t = {}))
|
7
|
-
|
8
|
-
if (
|
9
|
-
for (var r of
|
10
|
-
|
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
11
|
return e;
|
12
|
-
},
|
13
|
-
var
|
14
|
-
var
|
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
15
|
var s = (h) => {
|
16
16
|
try {
|
17
17
|
a(r.next(h));
|
@@ -29,25 +29,25 @@ var ke = (e, t, r) => new Promise((n, i) => {
|
|
29
29
|
});
|
30
30
|
function w() {
|
31
31
|
}
|
32
|
-
function
|
32
|
+
function lt(e) {
|
33
33
|
return e();
|
34
34
|
}
|
35
|
-
function
|
35
|
+
function We() {
|
36
36
|
return /* @__PURE__ */ Object.create(null);
|
37
37
|
}
|
38
38
|
function ee(e) {
|
39
|
-
e.forEach(
|
39
|
+
e.forEach(lt);
|
40
40
|
}
|
41
41
|
function Me(e) {
|
42
42
|
return typeof e == "function";
|
43
43
|
}
|
44
|
-
function
|
44
|
+
function ct(e, t) {
|
45
45
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
46
46
|
}
|
47
|
-
function
|
47
|
+
function kt(e) {
|
48
48
|
return Object.keys(e).length === 0;
|
49
49
|
}
|
50
|
-
function
|
50
|
+
function ft(e, ...t) {
|
51
51
|
if (e == null) {
|
52
52
|
for (const n of t)
|
53
53
|
n(void 0);
|
@@ -56,20 +56,20 @@ function lt(e, ...t) {
|
|
56
56
|
const r = e.subscribe(...t);
|
57
57
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
58
58
|
}
|
59
|
-
function
|
60
|
-
e.$$.on_destroy.push(
|
59
|
+
function Xt(e, t, r) {
|
60
|
+
e.$$.on_destroy.push(ft(t, r));
|
61
61
|
}
|
62
62
|
function T(e, t) {
|
63
63
|
e.appendChild(t);
|
64
64
|
}
|
65
|
-
function
|
66
|
-
const n =
|
65
|
+
function zt(e, t, r) {
|
66
|
+
const n = Wt(e);
|
67
67
|
if (!n.getElementById(t)) {
|
68
68
|
const i = C("style");
|
69
|
-
i.id = t, i.textContent = r,
|
69
|
+
i.id = t, i.textContent = r, Zt(n, i);
|
70
70
|
}
|
71
71
|
}
|
72
|
-
function
|
72
|
+
function Wt(e) {
|
73
73
|
if (!e) return document;
|
74
74
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
75
75
|
return t && /** @type {ShadowRoot} */
|
@@ -78,14 +78,14 @@ function Xt(e) {
|
|
78
78
|
t
|
79
79
|
) : e.ownerDocument;
|
80
80
|
}
|
81
|
-
function
|
81
|
+
function Zt(e, t) {
|
82
82
|
return T(
|
83
83
|
/** @type {Document} */
|
84
84
|
e.head || e,
|
85
85
|
t
|
86
86
|
), t.sheet;
|
87
87
|
}
|
88
|
-
function
|
88
|
+
function mt(e, t, r) {
|
89
89
|
e.insertBefore(t, r || null);
|
90
90
|
}
|
91
91
|
function Re(e) {
|
@@ -103,20 +103,20 @@ function ne(e) {
|
|
103
103
|
function ge() {
|
104
104
|
return ne(" ");
|
105
105
|
}
|
106
|
-
function
|
106
|
+
function qt(e, t, r, n) {
|
107
107
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
108
108
|
}
|
109
109
|
function v(e, t, r) {
|
110
110
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
111
111
|
}
|
112
|
-
function
|
112
|
+
function Qt(e) {
|
113
113
|
return Array.from(e.childNodes);
|
114
114
|
}
|
115
115
|
function de(e, t) {
|
116
116
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
117
117
|
t);
|
118
118
|
}
|
119
|
-
function
|
119
|
+
function Jt(e) {
|
120
120
|
const t = {};
|
121
121
|
return e.childNodes.forEach(
|
122
122
|
/** @param {Element} node */
|
@@ -131,10 +131,10 @@ function J(e) {
|
|
131
131
|
}
|
132
132
|
const U = [], Te = [];
|
133
133
|
let F = [];
|
134
|
-
const
|
134
|
+
const Ze = [], Yt = /* @__PURE__ */ Promise.resolve();
|
135
135
|
let Be = !1;
|
136
|
-
function
|
137
|
-
Be || (Be = !0,
|
136
|
+
function Kt() {
|
137
|
+
Be || (Be = !0, Yt.then(G));
|
138
138
|
}
|
139
139
|
function Se(e) {
|
140
140
|
F.push(e);
|
@@ -149,7 +149,7 @@ function G() {
|
|
149
149
|
try {
|
150
150
|
for (; R < U.length; ) {
|
151
151
|
const t = U[R];
|
152
|
-
R++, J(t),
|
152
|
+
R++, J(t), er(t.$$);
|
153
153
|
}
|
154
154
|
} catch (t) {
|
155
155
|
throw U.length = 0, R = 0, t;
|
@@ -161,40 +161,40 @@ function G() {
|
|
161
161
|
}
|
162
162
|
F.length = 0;
|
163
163
|
} while (U.length);
|
164
|
-
for (;
|
165
|
-
|
164
|
+
for (; Ze.length; )
|
165
|
+
Ze.pop()();
|
166
166
|
Be = !1, be.clear(), J(e);
|
167
167
|
}
|
168
|
-
function
|
168
|
+
function er(e) {
|
169
169
|
if (e.fragment !== null) {
|
170
170
|
e.update(), ee(e.before_update);
|
171
171
|
const t = e.dirty;
|
172
172
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Se);
|
173
173
|
}
|
174
174
|
}
|
175
|
-
function
|
175
|
+
function tr(e) {
|
176
176
|
const t = [], r = [];
|
177
177
|
F.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), F = t;
|
178
178
|
}
|
179
|
-
const
|
180
|
-
function
|
181
|
-
e && e.i && (
|
179
|
+
const rr = /* @__PURE__ */ new Set();
|
180
|
+
function nr(e, t) {
|
181
|
+
e && e.i && (rr.delete(e), e.i(t));
|
182
182
|
}
|
183
|
-
function
|
183
|
+
function ir(e, t, r) {
|
184
184
|
const { fragment: n, after_update: i } = e.$$;
|
185
185
|
n && n.m(t, r), Se(() => {
|
186
|
-
const s = e.$$.on_mount.map(
|
186
|
+
const s = e.$$.on_mount.map(lt).filter(Me);
|
187
187
|
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ee(s), e.$$.on_mount = [];
|
188
188
|
}), i.forEach(Se);
|
189
189
|
}
|
190
|
-
function
|
190
|
+
function sr(e, t) {
|
191
191
|
const r = e.$$;
|
192
|
-
r.fragment !== null && (
|
192
|
+
r.fragment !== null && (tr(r.after_update), ee(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
193
193
|
}
|
194
|
-
function
|
195
|
-
e.$$.dirty[0] === -1 && (U.push(e),
|
194
|
+
function or(e, t) {
|
195
|
+
e.$$.dirty[0] === -1 && (U.push(e), Kt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
196
196
|
}
|
197
|
-
function
|
197
|
+
function ar(e, t, r, n, i, s, o = null, a = [-1]) {
|
198
198
|
const h = De;
|
199
199
|
J(e);
|
200
200
|
const u = e.$$ = {
|
@@ -204,7 +204,7 @@ function sr(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
204
204
|
props: s,
|
205
205
|
update: w,
|
206
206
|
not_equal: i,
|
207
|
-
bound:
|
207
|
+
bound: We(),
|
208
208
|
// lifecycle
|
209
209
|
on_mount: [],
|
210
210
|
on_destroy: [],
|
@@ -213,7 +213,7 @@ function sr(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
213
213
|
after_update: [],
|
214
214
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
215
215
|
// everything else
|
216
|
-
callbacks:
|
216
|
+
callbacks: We(),
|
217
217
|
dirty: a,
|
218
218
|
skip_bound: !1,
|
219
219
|
root: t.target || h.$$.root
|
@@ -222,39 +222,39 @@ function sr(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
222
222
|
let l = !1;
|
223
223
|
if (u.ctx = r ? r(e, t.props || {}, (c, f, ...b) => {
|
224
224
|
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), l &&
|
225
|
+
return u.ctx && i(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), l && or(e, c)), f;
|
226
226
|
}) : [], u.update(), l = !0, ee(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
227
227
|
if (t.hydrate) {
|
228
|
-
const c =
|
228
|
+
const c = Qt(t.target);
|
229
229
|
u.fragment && u.fragment.l(c), c.forEach(Re);
|
230
230
|
} else
|
231
231
|
u.fragment && u.fragment.c();
|
232
|
-
t.intro &&
|
232
|
+
t.intro && nr(e.$$.fragment), ir(e, t.target, t.anchor), G();
|
233
233
|
}
|
234
234
|
J(h);
|
235
235
|
}
|
236
|
-
let
|
237
|
-
typeof HTMLElement == "function" && (
|
236
|
+
let pt;
|
237
|
+
typeof HTMLElement == "function" && (pt = class extends HTMLElement {
|
238
238
|
constructor(t, r, n) {
|
239
239
|
super();
|
240
240
|
/** The Svelte component constructor */
|
241
|
-
|
241
|
+
A(this, "$$ctor");
|
242
242
|
/** Slots */
|
243
|
-
|
243
|
+
A(this, "$$s");
|
244
244
|
/** The Svelte component instance */
|
245
|
-
|
245
|
+
A(this, "$$c");
|
246
246
|
/** Whether or not the custom element is connected */
|
247
|
-
|
247
|
+
A(this, "$$cn", !1);
|
248
248
|
/** Component props data */
|
249
|
-
|
249
|
+
A(this, "$$d", {});
|
250
250
|
/** `true` if currently in the process of reflecting component props back to attributes */
|
251
|
-
|
251
|
+
A(this, "$$r", !1);
|
252
252
|
/** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
|
253
|
-
|
253
|
+
A(this, "$$p_d", {});
|
254
254
|
/** @type {Record<string, Function[]>} Event listeners */
|
255
|
-
|
255
|
+
A(this, "$$l", {});
|
256
256
|
/** @type {Map<Function, Function>} Event listener unsubscribe functions */
|
257
|
-
|
257
|
+
A(this, "$$l_u", /* @__PURE__ */ new Map());
|
258
258
|
this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
|
259
259
|
}
|
260
260
|
addEventListener(t, r, n) {
|
@@ -271,7 +271,7 @@ typeof HTMLElement == "function" && (ft = class extends HTMLElement {
|
|
271
271
|
}
|
272
272
|
}
|
273
273
|
connectedCallback() {
|
274
|
-
return
|
274
|
+
return ze(this, null, function* () {
|
275
275
|
if (this.$$cn = !0, !this.$$c) {
|
276
276
|
let t = function(s) {
|
277
277
|
return () => {
|
@@ -285,7 +285,7 @@ typeof HTMLElement == "function" && (ft = class extends HTMLElement {
|
|
285
285
|
* @param {HTMLElement} [anchor]
|
286
286
|
*/
|
287
287
|
m: function(u, l) {
|
288
|
-
|
288
|
+
mt(u, o, l);
|
289
289
|
},
|
290
290
|
d: function(u) {
|
291
291
|
u && Re(o);
|
@@ -295,7 +295,7 @@ typeof HTMLElement == "function" && (ft = class extends HTMLElement {
|
|
295
295
|
};
|
296
296
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
297
297
|
return;
|
298
|
-
const r = {}, n =
|
298
|
+
const r = {}, n = Jt(this);
|
299
299
|
for (const s of this.$$s)
|
300
300
|
s in n && (r[s] = [t(s)]);
|
301
301
|
for (const s of this.attributes) {
|
@@ -306,7 +306,7 @@ typeof HTMLElement == "function" && (ft = class extends HTMLElement {
|
|
306
306
|
!(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
|
307
307
|
this.$$c = new this.$$ctor({
|
308
308
|
target: this.shadowRoot || this,
|
309
|
-
props:
|
309
|
+
props: Xe(ke({}, this.$$d), {
|
310
310
|
$$slots: r,
|
311
311
|
$$scope: {
|
312
312
|
ctx: []
|
@@ -384,8 +384,8 @@ function ie(e, t, r, n) {
|
|
384
384
|
return t;
|
385
385
|
}
|
386
386
|
}
|
387
|
-
function
|
388
|
-
let o = class extends
|
387
|
+
function ur(e, t, r, n, i, s) {
|
388
|
+
let o = class extends pt {
|
389
389
|
constructor() {
|
390
390
|
super(e, r, i), this.$$p_d = t;
|
391
391
|
}
|
@@ -415,7 +415,7 @@ function or(e, t, r, n, i, s) {
|
|
415
415
|
}), e.element = /** @type {any} */
|
416
416
|
o, o;
|
417
417
|
}
|
418
|
-
class
|
418
|
+
class hr {
|
419
419
|
constructor() {
|
420
420
|
/**
|
421
421
|
* ### PRIVATE API
|
@@ -424,7 +424,7 @@ class ar {
|
|
424
424
|
*
|
425
425
|
* @type {any}
|
426
426
|
*/
|
427
|
-
|
427
|
+
A(this, "$$");
|
428
428
|
/**
|
429
429
|
* ### PRIVATE API
|
430
430
|
*
|
@@ -432,11 +432,11 @@ class ar {
|
|
432
432
|
*
|
433
433
|
* @type {any}
|
434
434
|
*/
|
435
|
-
|
435
|
+
A(this, "$$set");
|
436
436
|
}
|
437
437
|
/** @returns {void} */
|
438
438
|
$destroy() {
|
439
|
-
|
439
|
+
sr(this, 1), this.$destroy = w;
|
440
440
|
}
|
441
441
|
/**
|
442
442
|
* @template {Extract<keyof Events, string>} K
|
@@ -458,13 +458,13 @@ class ar {
|
|
458
458
|
* @returns {void}
|
459
459
|
*/
|
460
460
|
$set(t) {
|
461
|
-
this.$$set && !
|
461
|
+
this.$$set && !kt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
462
462
|
}
|
463
463
|
}
|
464
|
-
const
|
465
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
464
|
+
const lr = "4";
|
465
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(lr);
|
466
466
|
const D = [];
|
467
|
-
function
|
467
|
+
function cr(e, t) {
|
468
468
|
return {
|
469
469
|
subscribe: he(e, t).subscribe
|
470
470
|
};
|
@@ -473,7 +473,7 @@ function he(e, t = w) {
|
|
473
473
|
let r;
|
474
474
|
const n = /* @__PURE__ */ new Set();
|
475
475
|
function i(a) {
|
476
|
-
if (
|
476
|
+
if (ct(e, a) && (e = a, r)) {
|
477
477
|
const h = !D.length;
|
478
478
|
for (const u of n)
|
479
479
|
u[1](), D.push(u, e);
|
@@ -500,7 +500,7 @@ function z(e, t, r) {
|
|
500
500
|
if (!i.every(Boolean))
|
501
501
|
throw new Error("derived() expects stores as input, got a falsy value");
|
502
502
|
const s = t.length < 2;
|
503
|
-
return
|
503
|
+
return cr(r, (o, a) => {
|
504
504
|
let h = !1;
|
505
505
|
const u = [];
|
506
506
|
let l = 0, c = w;
|
@@ -511,7 +511,7 @@ function z(e, t, r) {
|
|
511
511
|
const y = t(n ? u[0] : u, o, a);
|
512
512
|
s ? o(y) : c = Me(y) ? y : w;
|
513
513
|
}, b = i.map(
|
514
|
-
(y, E) =>
|
514
|
+
(y, E) => ft(
|
515
515
|
y,
|
516
516
|
(m) => {
|
517
517
|
u[E] = m, l &= ~(1 << E), h && f();
|
@@ -526,70 +526,70 @@ function z(e, t, r) {
|
|
526
526
|
};
|
527
527
|
});
|
528
528
|
}
|
529
|
-
function
|
529
|
+
function fr(e) {
|
530
530
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
531
531
|
}
|
532
|
-
var
|
533
|
-
return
|
532
|
+
var mr = function(t) {
|
533
|
+
return pr(t) && !gr(t);
|
534
534
|
};
|
535
|
-
function
|
535
|
+
function pr(e) {
|
536
536
|
return !!e && typeof e == "object";
|
537
537
|
}
|
538
|
-
function
|
538
|
+
function gr(e) {
|
539
539
|
var t = Object.prototype.toString.call(e);
|
540
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
540
|
+
return t === "[object RegExp]" || t === "[object Date]" || yr(e);
|
541
541
|
}
|
542
|
-
var
|
543
|
-
function
|
544
|
-
return e.$$typeof ===
|
542
|
+
var dr = typeof Symbol == "function" && Symbol.for, br = dr ? Symbol.for("react.element") : 60103;
|
543
|
+
function yr(e) {
|
544
|
+
return e.$$typeof === br;
|
545
545
|
}
|
546
|
-
function
|
546
|
+
function xr(e) {
|
547
547
|
return Array.isArray(e) ? [] : {};
|
548
548
|
}
|
549
549
|
function Y(e, t) {
|
550
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? j(
|
550
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? j(xr(e), e, t) : e;
|
551
551
|
}
|
552
|
-
function
|
552
|
+
function vr(e, t, r) {
|
553
553
|
return e.concat(t).map(function(n) {
|
554
554
|
return Y(n, r);
|
555
555
|
});
|
556
556
|
}
|
557
|
-
function
|
557
|
+
function Er(e, t) {
|
558
558
|
if (!t.customMerge)
|
559
559
|
return j;
|
560
560
|
var r = t.customMerge(e);
|
561
561
|
return typeof r == "function" ? r : j;
|
562
562
|
}
|
563
|
-
function
|
563
|
+
function _r(e) {
|
564
564
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
565
565
|
return Object.propertyIsEnumerable.call(e, t);
|
566
566
|
}) : [];
|
567
567
|
}
|
568
|
-
function
|
569
|
-
return Object.keys(e).concat(
|
568
|
+
function qe(e) {
|
569
|
+
return Object.keys(e).concat(_r(e));
|
570
570
|
}
|
571
|
-
function
|
571
|
+
function gt(e, t) {
|
572
572
|
try {
|
573
573
|
return t in e;
|
574
574
|
} catch (r) {
|
575
575
|
return !1;
|
576
576
|
}
|
577
577
|
}
|
578
|
-
function
|
579
|
-
return
|
578
|
+
function Hr(e, t) {
|
579
|
+
return gt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
580
580
|
}
|
581
|
-
function
|
581
|
+
function Tr(e, t, r) {
|
582
582
|
var n = {};
|
583
|
-
return r.isMergeableObject(e) &&
|
583
|
+
return r.isMergeableObject(e) && qe(e).forEach(function(i) {
|
584
584
|
n[i] = Y(e[i], r);
|
585
|
-
}),
|
586
|
-
|
585
|
+
}), qe(t).forEach(function(i) {
|
586
|
+
Hr(e, i) || (gt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Er(i, r)(e[i], t[i], r) : n[i] = Y(t[i], r));
|
587
587
|
}), n;
|
588
588
|
}
|
589
589
|
function j(e, t, r) {
|
590
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
590
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || vr, r.isMergeableObject = r.isMergeableObject || mr, r.cloneUnlessOtherwiseSpecified = Y;
|
591
591
|
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
592
|
-
return s ? n ? r.arrayMerge(e, t, r) :
|
592
|
+
return s ? n ? r.arrayMerge(e, t, r) : Tr(e, t, r) : Y(t, r);
|
593
593
|
}
|
594
594
|
j.all = function(t, r) {
|
595
595
|
if (!Array.isArray(t))
|
@@ -598,19 +598,19 @@ j.all = function(t, r) {
|
|
598
598
|
return j(n, i, r);
|
599
599
|
}, {});
|
600
600
|
};
|
601
|
-
var
|
602
|
-
const
|
603
|
-
var
|
604
|
-
return
|
601
|
+
var Br = j, Sr = Br;
|
602
|
+
const Ar = /* @__PURE__ */ fr(Sr);
|
603
|
+
var Ae = function(e, t) {
|
604
|
+
return Ae = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
605
605
|
r.__proto__ = n;
|
606
606
|
} || function(r, n) {
|
607
607
|
for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
608
|
-
},
|
608
|
+
}, Ae(e, t);
|
609
609
|
};
|
610
610
|
function le(e, t) {
|
611
611
|
if (typeof t != "function" && t !== null)
|
612
612
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
613
|
-
|
613
|
+
Ae(e, t);
|
614
614
|
function r() {
|
615
615
|
this.constructor = e;
|
616
616
|
}
|
@@ -625,7 +625,7 @@ var d = function() {
|
|
625
625
|
return t;
|
626
626
|
}, d.apply(this, arguments);
|
627
627
|
};
|
628
|
-
function
|
628
|
+
function Pr(e, t) {
|
629
629
|
var r = {};
|
630
630
|
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
631
631
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
@@ -639,53 +639,55 @@ function ye(e, t, r) {
|
|
639
639
|
return e.concat(s || Array.prototype.slice.call(t));
|
640
640
|
}
|
641
641
|
function xe(e, t) {
|
642
|
-
var r = t && t.cache ? t.cache :
|
642
|
+
var r = t && t.cache ? t.cache : Cr, n = t && t.serializer ? t.serializer : Ir, i = t && t.strategy ? t.strategy : Nr;
|
643
643
|
return i(e, {
|
644
644
|
cache: r,
|
645
645
|
serializer: n
|
646
646
|
});
|
647
647
|
}
|
648
|
-
function
|
648
|
+
function wr(e) {
|
649
649
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
650
650
|
}
|
651
|
-
function
|
652
|
-
var i =
|
651
|
+
function dt(e, t, r, n) {
|
652
|
+
var i = wr(n) ? n : r(n), s = t.get(i);
|
653
653
|
return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
|
654
654
|
}
|
655
|
-
function
|
655
|
+
function bt(e, t, r) {
|
656
656
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
657
657
|
return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
|
658
658
|
}
|
659
|
-
function
|
659
|
+
function Ue(e, t, r, n, i) {
|
660
660
|
return r.bind(t, e, n, i);
|
661
661
|
}
|
662
|
-
function wr(e, t) {
|
663
|
-
var r = e.length === 1 ? Ar : pt;
|
664
|
-
return gt(e, this, r, t.cache.create(), t.serializer);
|
665
|
-
}
|
666
662
|
function Nr(e, t) {
|
667
|
-
|
663
|
+
var r = e.length === 1 ? dt : bt;
|
664
|
+
return Ue(e, this, r, t.cache.create(), t.serializer);
|
665
|
+
}
|
666
|
+
function Or(e, t) {
|
667
|
+
return Ue(e, this, bt, t.cache.create(), t.serializer);
|
668
668
|
}
|
669
|
-
|
669
|
+
function Lr(e, t) {
|
670
|
+
return Ue(e, this, dt, t.cache.create(), t.serializer);
|
671
|
+
}
|
672
|
+
var Ir = function() {
|
670
673
|
return JSON.stringify(arguments);
|
671
|
-
}
|
672
|
-
|
673
|
-
|
674
|
-
|
675
|
-
|
676
|
-
|
677
|
-
|
678
|
-
|
679
|
-
|
680
|
-
|
681
|
-
|
682
|
-
}()
|
683
|
-
), Ir = {
|
674
|
+
};
|
675
|
+
function Ge() {
|
676
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
677
|
+
}
|
678
|
+
Ge.prototype.get = function(e) {
|
679
|
+
return this.cache[e];
|
680
|
+
};
|
681
|
+
Ge.prototype.set = function(e, t) {
|
682
|
+
this.cache[e] = t;
|
683
|
+
};
|
684
|
+
var Cr = {
|
684
685
|
create: function() {
|
685
|
-
return new
|
686
|
+
return new Ge();
|
686
687
|
}
|
687
688
|
}, ve = {
|
688
|
-
variadic:
|
689
|
+
variadic: Or,
|
690
|
+
monadic: Lr
|
689
691
|
}, p;
|
690
692
|
(function(e) {
|
691
693
|
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";
|
@@ -698,43 +700,43 @@ var V;
|
|
698
700
|
(function(e) {
|
699
701
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
700
702
|
})(V || (V = {}));
|
701
|
-
function
|
703
|
+
function Qe(e) {
|
702
704
|
return e.type === x.literal;
|
703
705
|
}
|
704
|
-
function
|
706
|
+
function $r(e) {
|
705
707
|
return e.type === x.argument;
|
706
708
|
}
|
707
|
-
function
|
709
|
+
function yt(e) {
|
708
710
|
return e.type === x.number;
|
709
711
|
}
|
710
|
-
function
|
712
|
+
function xt(e) {
|
711
713
|
return e.type === x.date;
|
712
714
|
}
|
713
|
-
function
|
715
|
+
function vt(e) {
|
714
716
|
return e.type === x.time;
|
715
717
|
}
|
716
|
-
function
|
718
|
+
function Et(e) {
|
717
719
|
return e.type === x.select;
|
718
720
|
}
|
719
|
-
function
|
721
|
+
function _t(e) {
|
720
722
|
return e.type === x.plural;
|
721
723
|
}
|
722
|
-
function
|
724
|
+
function Mr(e) {
|
723
725
|
return e.type === x.pound;
|
724
726
|
}
|
725
|
-
function
|
727
|
+
function Ht(e) {
|
726
728
|
return e.type === x.tag;
|
727
729
|
}
|
728
|
-
function
|
730
|
+
function Tt(e) {
|
729
731
|
return !!(e && typeof e == "object" && e.type === V.number);
|
730
732
|
}
|
731
|
-
function
|
733
|
+
function Pe(e) {
|
732
734
|
return !!(e && typeof e == "object" && e.type === V.dateTime);
|
733
735
|
}
|
734
|
-
var
|
735
|
-
function
|
736
|
+
var Bt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Rr = /(?:[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;
|
737
|
+
function Dr(e) {
|
736
738
|
var t = {};
|
737
|
-
return e.replace(
|
739
|
+
return e.replace(Rr, function(r) {
|
738
740
|
var n = r.length;
|
739
741
|
switch (r[0]) {
|
740
742
|
case "G":
|
@@ -823,11 +825,11 @@ function Rr(e) {
|
|
823
825
|
return "";
|
824
826
|
}), t;
|
825
827
|
}
|
826
|
-
var
|
827
|
-
function
|
828
|
+
var Ur = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
829
|
+
function Gr(e) {
|
828
830
|
if (e.length === 0)
|
829
831
|
throw new Error("Number skeleton cannot be empty");
|
830
|
-
for (var t = e.split(
|
832
|
+
for (var t = e.split(Ur).filter(function(f) {
|
831
833
|
return f.length > 0;
|
832
834
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
833
835
|
var s = i[n], o = s.split("/");
|
@@ -842,17 +844,17 @@ function Ur(e) {
|
|
842
844
|
}
|
843
845
|
return r;
|
844
846
|
}
|
845
|
-
function
|
847
|
+
function Fr(e) {
|
846
848
|
return e.replace(/^(.*?)-/, "");
|
847
849
|
}
|
848
|
-
var
|
849
|
-
function
|
850
|
+
var Je = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, St = /^(@+)?(\+|#+)?[rs]?$/g, jr = /(\*)(0+)|(#+)(0+)|(0+)/g, At = /^(0+)$/;
|
851
|
+
function Ye(e) {
|
850
852
|
var t = {};
|
851
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
853
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(St, function(r, n, i) {
|
852
854
|
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)), "";
|
853
855
|
}), t;
|
854
856
|
}
|
855
|
-
function
|
857
|
+
function Pt(e) {
|
856
858
|
switch (e) {
|
857
859
|
case "sign-auto":
|
858
860
|
return {
|
@@ -892,7 +894,7 @@ function St(e) {
|
|
892
894
|
};
|
893
895
|
}
|
894
896
|
}
|
895
|
-
function
|
897
|
+
function Vr(e) {
|
896
898
|
var t;
|
897
899
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
898
900
|
notation: "engineering"
|
@@ -900,17 +902,17 @@ function jr(e) {
|
|
900
902
|
notation: "scientific"
|
901
903
|
}, e = e.slice(1)), t) {
|
902
904
|
var r = e.slice(0, 2);
|
903
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
905
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !At.test(e))
|
904
906
|
throw new Error("Malformed concise eng/scientific notation");
|
905
907
|
t.minimumIntegerDigits = e.length;
|
906
908
|
}
|
907
909
|
return t;
|
908
910
|
}
|
909
|
-
function
|
910
|
-
var t = {}, r =
|
911
|
+
function Ke(e) {
|
912
|
+
var t = {}, r = Pt(e);
|
911
913
|
return r || t;
|
912
914
|
}
|
913
|
-
function
|
915
|
+
function kr(e) {
|
914
916
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
915
917
|
var i = n[r];
|
916
918
|
switch (i.stem) {
|
@@ -934,7 +936,7 @@ function Vr(e) {
|
|
934
936
|
continue;
|
935
937
|
case "measure-unit":
|
936
938
|
case "unit":
|
937
|
-
t.style = "unit", t.unit =
|
939
|
+
t.style = "unit", t.unit = Fr(i.options[0]);
|
938
940
|
continue;
|
939
941
|
case "compact-short":
|
940
942
|
case "K":
|
@@ -946,12 +948,12 @@ function Vr(e) {
|
|
946
948
|
continue;
|
947
949
|
case "scientific":
|
948
950
|
t = d(d(d({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
|
949
|
-
return d(d({}, h),
|
951
|
+
return d(d({}, h), Ke(u));
|
950
952
|
}, {}));
|
951
953
|
continue;
|
952
954
|
case "engineering":
|
953
955
|
t = d(d(d({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
|
954
|
-
return d(d({}, h),
|
956
|
+
return d(d({}, h), Ke(u));
|
955
957
|
}, {}));
|
956
958
|
continue;
|
957
959
|
case "notation-simple":
|
@@ -996,7 +998,7 @@ function Vr(e) {
|
|
996
998
|
case "integer-width":
|
997
999
|
if (i.options.length > 1)
|
998
1000
|
throw new RangeError("integer-width stems only accept a single optional option");
|
999
|
-
i.options[0].replace(
|
1001
|
+
i.options[0].replace(jr, function(h, u, l, c, f, b) {
|
1000
1002
|
if (u)
|
1001
1003
|
t.minimumIntegerDigits = l.length;
|
1002
1004
|
else {
|
@@ -1009,27 +1011,27 @@ function Vr(e) {
|
|
1009
1011
|
});
|
1010
1012
|
continue;
|
1011
1013
|
}
|
1012
|
-
if (
|
1014
|
+
if (At.test(i.stem)) {
|
1013
1015
|
t.minimumIntegerDigits = i.stem.length;
|
1014
1016
|
continue;
|
1015
1017
|
}
|
1016
|
-
if (
|
1018
|
+
if (Je.test(i.stem)) {
|
1017
1019
|
if (i.options.length > 1)
|
1018
1020
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
1019
|
-
i.stem.replace(
|
1021
|
+
i.stem.replace(Je, function(h, u, l, c, f, b) {
|
1020
1022
|
return l === "*" ? 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), "";
|
1021
1023
|
});
|
1022
1024
|
var s = i.options[0];
|
1023
|
-
s === "w" ? t = d(d({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = d(d({}, t),
|
1025
|
+
s === "w" ? t = d(d({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = d(d({}, t), Ye(s)));
|
1024
1026
|
continue;
|
1025
1027
|
}
|
1026
|
-
if (
|
1027
|
-
t = d(d({}, t),
|
1028
|
+
if (St.test(i.stem)) {
|
1029
|
+
t = d(d({}, t), Ye(i.stem));
|
1028
1030
|
continue;
|
1029
1031
|
}
|
1030
|
-
var o =
|
1032
|
+
var o = Pt(i.stem);
|
1031
1033
|
o && (t = d(d({}, t), o));
|
1032
|
-
var a =
|
1034
|
+
var a = Vr(i.stem);
|
1033
1035
|
a && (t = d(d({}, t), a));
|
1034
1036
|
}
|
1035
1037
|
return t;
|
@@ -2449,13 +2451,13 @@ var re = {
|
|
2449
2451
|
"h"
|
2450
2452
|
]
|
2451
2453
|
};
|
2452
|
-
function
|
2454
|
+
function Xr(e, t) {
|
2453
2455
|
for (var r = "", n = 0; n < e.length; n++) {
|
2454
2456
|
var i = e.charAt(n);
|
2455
2457
|
if (i === "j") {
|
2456
2458
|
for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
2457
2459
|
s++, n++;
|
2458
|
-
var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", u =
|
2460
|
+
var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", u = zr(t);
|
2459
2461
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
2460
2462
|
r += h;
|
2461
2463
|
for (; o-- > 0; )
|
@@ -2464,7 +2466,7 @@ function kr(e, t) {
|
|
2464
2466
|
}
|
2465
2467
|
return r;
|
2466
2468
|
}
|
2467
|
-
function
|
2469
|
+
function zr(e) {
|
2468
2470
|
var t = e.hourCycle;
|
2469
2471
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
2470
2472
|
e.hourCycles && // @ts-ignore
|
@@ -2486,20 +2488,20 @@ function Xr(e) {
|
|
2486
2488
|
var i = re[n || ""] || re[r || ""] || re["".concat(r, "-001")] || re["001"];
|
2487
2489
|
return i[0];
|
2488
2490
|
}
|
2489
|
-
var Ee,
|
2491
|
+
var Ee, Wr = new RegExp("^".concat(Bt.source, "*")), Zr = new RegExp("".concat(Bt.source, "*$"));
|
2490
2492
|
function g(e, t) {
|
2491
2493
|
return { start: e, end: t };
|
2492
2494
|
}
|
2493
|
-
var
|
2495
|
+
var qr = !!String.prototype.startsWith && "_a".startsWith("a", 1), Qr = !!String.fromCodePoint, Jr = !!Object.fromEntries, Yr = !!String.prototype.codePointAt, Kr = !!String.prototype.trimStart, en = !!String.prototype.trimEnd, tn = !!Number.isSafeInteger, rn = tn ? Number.isSafeInteger : function(e) {
|
2494
2496
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
2495
2497
|
}, we = !0;
|
2496
2498
|
try {
|
2497
|
-
var
|
2498
|
-
we = ((Ee =
|
2499
|
+
var nn = Nt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
2500
|
+
we = ((Ee = nn.exec("a")) === null || Ee === void 0 ? void 0 : Ee[0]) === "a";
|
2499
2501
|
} catch (e) {
|
2500
2502
|
we = !1;
|
2501
2503
|
}
|
2502
|
-
var
|
2504
|
+
var et = qr ? (
|
2503
2505
|
// Native
|
2504
2506
|
function(t, r, n) {
|
2505
2507
|
return t.startsWith(r, n);
|
@@ -2509,7 +2511,7 @@ var Ye = Zr ? (
|
|
2509
2511
|
function(t, r, n) {
|
2510
2512
|
return t.slice(n, n + r.length) === r;
|
2511
2513
|
}
|
2512
|
-
), Ne =
|
2514
|
+
), Ne = Qr ? String.fromCodePoint : (
|
2513
2515
|
// IE11
|
2514
2516
|
function() {
|
2515
2517
|
for (var t = [], r = 0; r < arguments.length; r++)
|
@@ -2521,9 +2523,9 @@ var Ye = Zr ? (
|
|
2521
2523
|
}
|
2522
2524
|
return n;
|
2523
2525
|
}
|
2524
|
-
),
|
2526
|
+
), tt = (
|
2525
2527
|
// native
|
2526
|
-
|
2528
|
+
Jr ? Object.fromEntries : (
|
2527
2529
|
// Ponyfill
|
2528
2530
|
function(t) {
|
2529
2531
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
@@ -2533,7 +2535,7 @@ var Ye = Zr ? (
|
|
2533
2535
|
return r;
|
2534
2536
|
}
|
2535
2537
|
)
|
2536
|
-
),
|
2538
|
+
), wt = Yr ? (
|
2537
2539
|
// Native
|
2538
2540
|
function(t, r) {
|
2539
2541
|
return t.codePointAt(r);
|
@@ -2547,7 +2549,7 @@ var Ye = Zr ? (
|
|
2547
2549
|
return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
2548
2550
|
}
|
2549
2551
|
}
|
2550
|
-
),
|
2552
|
+
), sn = Kr ? (
|
2551
2553
|
// Native
|
2552
2554
|
function(t) {
|
2553
2555
|
return t.trimStart();
|
@@ -2555,9 +2557,9 @@ var Ye = Zr ? (
|
|
2555
2557
|
) : (
|
2556
2558
|
// Ponyfill
|
2557
2559
|
function(t) {
|
2558
|
-
return t.replace(
|
2560
|
+
return t.replace(Wr, "");
|
2559
2561
|
}
|
2560
|
-
),
|
2562
|
+
), on = en ? (
|
2561
2563
|
// Native
|
2562
2564
|
function(t) {
|
2563
2565
|
return t.trimEnd();
|
@@ -2565,32 +2567,32 @@ var Ye = Zr ? (
|
|
2565
2567
|
) : (
|
2566
2568
|
// Ponyfill
|
2567
2569
|
function(t) {
|
2568
|
-
return t.replace(
|
2570
|
+
return t.replace(Zr, "");
|
2569
2571
|
}
|
2570
2572
|
);
|
2571
|
-
function
|
2573
|
+
function Nt(e, t) {
|
2572
2574
|
return new RegExp(e, t);
|
2573
2575
|
}
|
2574
2576
|
var Oe;
|
2575
2577
|
if (we) {
|
2576
|
-
var
|
2578
|
+
var rt = Nt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
2577
2579
|
Oe = function(t, r) {
|
2578
2580
|
var n;
|
2579
|
-
|
2580
|
-
var i =
|
2581
|
+
rt.lastIndex = r;
|
2582
|
+
var i = rt.exec(t);
|
2581
2583
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
2582
2584
|
};
|
2583
2585
|
} else
|
2584
2586
|
Oe = function(t, r) {
|
2585
2587
|
for (var n = []; ; ) {
|
2586
|
-
var i =
|
2587
|
-
if (i === void 0 ||
|
2588
|
+
var i = wt(t, r);
|
2589
|
+
if (i === void 0 || Ot(i) || ln(i))
|
2588
2590
|
break;
|
2589
2591
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
2590
2592
|
}
|
2591
2593
|
return Ne.apply(void 0, n);
|
2592
2594
|
};
|
2593
|
-
var
|
2595
|
+
var an = (
|
2594
2596
|
/** @class */
|
2595
2597
|
function() {
|
2596
2598
|
function e(t, r) {
|
@@ -2672,7 +2674,7 @@ var on = (
|
|
2672
2674
|
return this.error(p.INVALID_TAG, g(n, this.clonePosition()));
|
2673
2675
|
}, e.prototype.parseTagName = function() {
|
2674
2676
|
var t = this.offset();
|
2675
|
-
for (this.bump(); !this.isEOF() &&
|
2677
|
+
for (this.bump(); !this.isEOF() && hn(this.char()); )
|
2676
2678
|
this.bump();
|
2677
2679
|
return this.message.slice(t, this.offset());
|
2678
2680
|
}, e.prototype.parseLiteral = function(t, r) {
|
@@ -2701,7 +2703,7 @@ var on = (
|
|
2701
2703
|
};
|
2702
2704
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
2703
2705
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
2704
|
-
!
|
2706
|
+
!un(this.peek() || 0)) ? (this.bump(), "<") : null;
|
2705
2707
|
}, e.prototype.tryParseQuote = function(t) {
|
2706
2708
|
if (this.isEOF() || this.char() !== 39)
|
2707
2709
|
return null;
|
@@ -2788,7 +2790,7 @@ var on = (
|
|
2788
2790
|
var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
2789
2791
|
if (c.err)
|
2790
2792
|
return c;
|
2791
|
-
var f =
|
2793
|
+
var f = on(c.val);
|
2792
2794
|
if (f.length === 0)
|
2793
2795
|
return this.error(p.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
|
2794
2796
|
var b = g(l, this.clonePosition());
|
@@ -2798,8 +2800,8 @@ var on = (
|
|
2798
2800
|
if (y.err)
|
2799
2801
|
return y;
|
2800
2802
|
var E = g(i, this.clonePosition());
|
2801
|
-
if (u &&
|
2802
|
-
var m =
|
2803
|
+
if (u && et(u == null ? void 0 : u.style, "::", 0)) {
|
2804
|
+
var m = sn(u.style.slice(2));
|
2803
2805
|
if (a === "number") {
|
2804
2806
|
var c = this.parseNumberSkeletonFromString(m, u.styleLocation);
|
2805
2807
|
return c.err ? c : {
|
@@ -2810,12 +2812,12 @@ var on = (
|
|
2810
2812
|
if (m.length === 0)
|
2811
2813
|
return this.error(p.EXPECT_DATE_TIME_SKELETON, E);
|
2812
2814
|
var H = m;
|
2813
|
-
this.locale && (H =
|
2815
|
+
this.locale && (H = Xr(m, this.locale));
|
2814
2816
|
var f = {
|
2815
2817
|
type: V.dateTime,
|
2816
2818
|
pattern: H,
|
2817
2819
|
location: u.styleLocation,
|
2818
|
-
parsedOptions: this.shouldParseSkeletons ?
|
2820
|
+
parsedOptions: this.shouldParseSkeletons ? Dr(H) : {}
|
2819
2821
|
}, _ = a === "date" ? x.date : x.time;
|
2820
2822
|
return {
|
2821
2823
|
val: { type: _, value: n, location: E, style: f },
|
@@ -2840,7 +2842,7 @@ var on = (
|
|
2840
2842
|
if (this.bumpSpace(), !this.bumpIf(","))
|
2841
2843
|
return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, g(B, d({}, B)));
|
2842
2844
|
this.bumpSpace();
|
2843
|
-
var O = this.parseIdentifierIfPossible(),
|
2845
|
+
var O = this.parseIdentifierIfPossible(), P = 0;
|
2844
2846
|
if (a !== "select" && O.value === "offset") {
|
2845
2847
|
if (!this.bumpIf(":"))
|
2846
2848
|
return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
|
@@ -2848,7 +2850,7 @@ var on = (
|
|
2848
2850
|
var c = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
2849
2851
|
if (c.err)
|
2850
2852
|
return c;
|
2851
|
-
this.bumpSpace(), O = this.parseIdentifierIfPossible(),
|
2853
|
+
this.bumpSpace(), O = this.parseIdentifierIfPossible(), P = c.val;
|
2852
2854
|
}
|
2853
2855
|
var I = this.tryParsePluralOrSelectOptions(t, a, r, O);
|
2854
2856
|
if (I.err)
|
@@ -2861,7 +2863,7 @@ var on = (
|
|
2861
2863
|
val: {
|
2862
2864
|
type: x.select,
|
2863
2865
|
value: n,
|
2864
|
-
options:
|
2866
|
+
options: tt(I.val),
|
2865
2867
|
location: N
|
2866
2868
|
},
|
2867
2869
|
err: null
|
@@ -2869,8 +2871,8 @@ var on = (
|
|
2869
2871
|
val: {
|
2870
2872
|
type: x.plural,
|
2871
2873
|
value: n,
|
2872
|
-
options:
|
2873
|
-
offset:
|
2874
|
+
options: tt(I.val),
|
2875
|
+
offset: P,
|
2874
2876
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
2875
2877
|
location: N
|
2876
2878
|
},
|
@@ -2920,7 +2922,7 @@ var on = (
|
|
2920
2922
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
2921
2923
|
var n = [];
|
2922
2924
|
try {
|
2923
|
-
n =
|
2925
|
+
n = Gr(t);
|
2924
2926
|
} catch (i) {
|
2925
2927
|
return this.error(p.INVALID_NUMBER_SKELETON, r);
|
2926
2928
|
}
|
@@ -2929,7 +2931,7 @@ var on = (
|
|
2929
2931
|
type: V.number,
|
2930
2932
|
tokens: n,
|
2931
2933
|
location: r,
|
2932
|
-
parsedOptions: this.shouldParseSkeletons ?
|
2934
|
+
parsedOptions: this.shouldParseSkeletons ? kr(n) : {}
|
2933
2935
|
},
|
2934
2936
|
err: null
|
2935
2937
|
};
|
@@ -2977,7 +2979,7 @@ var on = (
|
|
2977
2979
|
break;
|
2978
2980
|
}
|
2979
2981
|
var h = g(i, this.clonePosition());
|
2980
|
-
return s ? (o *= n,
|
2982
|
+
return s ? (o *= n, rn(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
|
2981
2983
|
}, e.prototype.offset = function() {
|
2982
2984
|
return this.position.offset;
|
2983
2985
|
}, e.prototype.isEOF = function() {
|
@@ -2992,7 +2994,7 @@ var on = (
|
|
2992
2994
|
var t = this.position.offset;
|
2993
2995
|
if (t >= this.message.length)
|
2994
2996
|
throw Error("out of bound");
|
2995
|
-
var r =
|
2997
|
+
var r = wt(this.message, t);
|
2996
2998
|
if (r === void 0)
|
2997
2999
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
2998
3000
|
return r;
|
@@ -3011,7 +3013,7 @@ var on = (
|
|
3011
3013
|
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);
|
3012
3014
|
}
|
3013
3015
|
}, e.prototype.bumpIf = function(t) {
|
3014
|
-
if (
|
3016
|
+
if (et(this.message, t, this.offset())) {
|
3015
3017
|
for (var r = 0; r < t.length; r++)
|
3016
3018
|
this.bump();
|
3017
3019
|
return !0;
|
@@ -3033,7 +3035,7 @@ var on = (
|
|
3033
3035
|
break;
|
3034
3036
|
}
|
3035
3037
|
}, e.prototype.bumpSpace = function() {
|
3036
|
-
for (; !this.isEOF() &&
|
3038
|
+
for (; !this.isEOF() && Ot(this.char()); )
|
3037
3039
|
this.bump();
|
3038
3040
|
}, e.prototype.peek = function() {
|
3039
3041
|
if (this.isEOF())
|
@@ -3046,29 +3048,29 @@ var on = (
|
|
3046
3048
|
function Le(e) {
|
3047
3049
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
3048
3050
|
}
|
3049
|
-
function
|
3051
|
+
function un(e) {
|
3050
3052
|
return Le(e) || e === 47;
|
3051
3053
|
}
|
3052
|
-
function
|
3054
|
+
function hn(e) {
|
3053
3055
|
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;
|
3054
3056
|
}
|
3055
|
-
function
|
3057
|
+
function Ot(e) {
|
3056
3058
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
3057
3059
|
}
|
3058
|
-
function
|
3060
|
+
function ln(e) {
|
3059
3061
|
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;
|
3060
3062
|
}
|
3061
3063
|
function Ie(e) {
|
3062
3064
|
e.forEach(function(t) {
|
3063
|
-
if (delete t.location,
|
3065
|
+
if (delete t.location, Et(t) || _t(t))
|
3064
3066
|
for (var r in t.options)
|
3065
3067
|
delete t.options[r].location, Ie(t.options[r].value);
|
3066
|
-
else
|
3068
|
+
else yt(t) && Tt(t.style) || (xt(t) || vt(t)) && Pe(t.style) ? delete t.style.location : Ht(t) && Ie(t.children);
|
3067
3069
|
});
|
3068
3070
|
}
|
3069
|
-
function
|
3071
|
+
function cn(e, t) {
|
3070
3072
|
t === void 0 && (t = {}), t = d({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
3071
|
-
var r = new
|
3073
|
+
var r = new an(e, t).parse();
|
3072
3074
|
if (r.err) {
|
3073
3075
|
var n = SyntaxError(p[r.err.kind]);
|
3074
3076
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
@@ -3091,7 +3093,7 @@ var ce = (
|
|
3091
3093
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
3092
3094
|
}, t;
|
3093
3095
|
}(Error)
|
3094
|
-
),
|
3096
|
+
), nt = (
|
3095
3097
|
/** @class */
|
3096
3098
|
function(e) {
|
3097
3099
|
le(t, e);
|
@@ -3100,7 +3102,7 @@ var ce = (
|
|
3100
3102
|
}
|
3101
3103
|
return t;
|
3102
3104
|
}(ce)
|
3103
|
-
),
|
3105
|
+
), fn = (
|
3104
3106
|
/** @class */
|
3105
3107
|
function(e) {
|
3106
3108
|
le(t, e);
|
@@ -3109,7 +3111,7 @@ var ce = (
|
|
3109
3111
|
}
|
3110
3112
|
return t;
|
3111
3113
|
}(ce)
|
3112
|
-
),
|
3114
|
+
), mn = (
|
3113
3115
|
/** @class */
|
3114
3116
|
function(e) {
|
3115
3117
|
le(t, e);
|
@@ -3122,17 +3124,17 @@ var ce = (
|
|
3122
3124
|
(function(e) {
|
3123
3125
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
3124
3126
|
})(S || (S = {}));
|
3125
|
-
function
|
3127
|
+
function pn(e) {
|
3126
3128
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
3127
3129
|
var n = t[t.length - 1];
|
3128
3130
|
return !n || n.type !== S.literal || r.type !== S.literal ? t.push(r) : n.value += r.value, t;
|
3129
3131
|
}, []);
|
3130
3132
|
}
|
3131
|
-
function
|
3133
|
+
function gn(e) {
|
3132
3134
|
return typeof e == "function";
|
3133
3135
|
}
|
3134
3136
|
function se(e, t, r, n, i, s, o) {
|
3135
|
-
if (e.length === 1 &&
|
3137
|
+
if (e.length === 1 && Qe(e[0]))
|
3136
3138
|
return [
|
3137
3139
|
{
|
3138
3140
|
type: S.literal,
|
@@ -3141,14 +3143,14 @@ function se(e, t, r, n, i, s, o) {
|
|
3141
3143
|
];
|
3142
3144
|
for (var a = [], h = 0, u = e; h < u.length; h++) {
|
3143
3145
|
var l = u[h];
|
3144
|
-
if (
|
3146
|
+
if (Qe(l)) {
|
3145
3147
|
a.push({
|
3146
3148
|
type: S.literal,
|
3147
3149
|
value: l.value
|
3148
3150
|
});
|
3149
3151
|
continue;
|
3150
3152
|
}
|
3151
|
-
if (
|
3153
|
+
if (Mr(l)) {
|
3152
3154
|
typeof s == "number" && a.push({
|
3153
3155
|
type: S.literal,
|
3154
3156
|
value: r.getNumberFormat(t).format(s)
|
@@ -3157,61 +3159,61 @@ function se(e, t, r, n, i, s, o) {
|
|
3157
3159
|
}
|
3158
3160
|
var c = l.value;
|
3159
3161
|
if (!(i && c in i))
|
3160
|
-
throw new
|
3162
|
+
throw new mn(c, o);
|
3161
3163
|
var f = i[c];
|
3162
|
-
if (
|
3164
|
+
if ($r(l)) {
|
3163
3165
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
|
3164
3166
|
type: typeof f == "string" ? S.literal : S.object,
|
3165
3167
|
value: f
|
3166
3168
|
});
|
3167
3169
|
continue;
|
3168
3170
|
}
|
3169
|
-
if (
|
3170
|
-
var b = typeof l.style == "string" ? n.date[l.style] :
|
3171
|
+
if (xt(l)) {
|
3172
|
+
var b = typeof l.style == "string" ? n.date[l.style] : Pe(l.style) ? l.style.parsedOptions : void 0;
|
3171
3173
|
a.push({
|
3172
3174
|
type: S.literal,
|
3173
3175
|
value: r.getDateTimeFormat(t, b).format(f)
|
3174
3176
|
});
|
3175
3177
|
continue;
|
3176
3178
|
}
|
3177
|
-
if (
|
3178
|
-
var b = typeof l.style == "string" ? n.time[l.style] :
|
3179
|
+
if (vt(l)) {
|
3180
|
+
var b = typeof l.style == "string" ? n.time[l.style] : Pe(l.style) ? l.style.parsedOptions : n.time.medium;
|
3179
3181
|
a.push({
|
3180
3182
|
type: S.literal,
|
3181
3183
|
value: r.getDateTimeFormat(t, b).format(f)
|
3182
3184
|
});
|
3183
3185
|
continue;
|
3184
3186
|
}
|
3185
|
-
if (
|
3186
|
-
var b = typeof l.style == "string" ? n.number[l.style] :
|
3187
|
+
if (yt(l)) {
|
3188
|
+
var b = typeof l.style == "string" ? n.number[l.style] : Tt(l.style) ? l.style.parsedOptions : void 0;
|
3187
3189
|
b && b.scale && (f = f * (b.scale || 1)), a.push({
|
3188
3190
|
type: S.literal,
|
3189
3191
|
value: r.getNumberFormat(t, b).format(f)
|
3190
3192
|
});
|
3191
3193
|
continue;
|
3192
3194
|
}
|
3193
|
-
if (
|
3195
|
+
if (Ht(l)) {
|
3194
3196
|
var y = l.children, E = l.value, m = i[E];
|
3195
|
-
if (!
|
3196
|
-
throw new
|
3197
|
-
var H = se(y, t, r, n, i, s), _ = m(H.map(function(
|
3198
|
-
return
|
3197
|
+
if (!gn(m))
|
3198
|
+
throw new fn(E, "function", o);
|
3199
|
+
var H = se(y, t, r, n, i, s), _ = m(H.map(function(P) {
|
3200
|
+
return P.value;
|
3199
3201
|
}));
|
3200
|
-
Array.isArray(_) || (_ = [_]), a.push.apply(a, _.map(function(
|
3202
|
+
Array.isArray(_) || (_ = [_]), a.push.apply(a, _.map(function(P) {
|
3201
3203
|
return {
|
3202
|
-
type: typeof
|
3203
|
-
value:
|
3204
|
+
type: typeof P == "string" ? S.literal : S.object,
|
3205
|
+
value: P
|
3204
3206
|
};
|
3205
3207
|
}));
|
3206
3208
|
}
|
3207
|
-
if (
|
3209
|
+
if (Et(l)) {
|
3208
3210
|
var B = l.options[f] || l.options.other;
|
3209
3211
|
if (!B)
|
3210
|
-
throw new
|
3212
|
+
throw new nt(l.value, f, Object.keys(l.options), o);
|
3211
3213
|
a.push.apply(a, se(B.value, t, r, n, i));
|
3212
3214
|
continue;
|
3213
3215
|
}
|
3214
|
-
if (
|
3216
|
+
if (_t(l)) {
|
3215
3217
|
var B = l.options["=".concat(f)];
|
3216
3218
|
if (!B) {
|
3217
3219
|
if (!Intl.PluralRules)
|
@@ -3222,21 +3224,21 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3222
3224
|
B = l.options[O] || l.options.other;
|
3223
3225
|
}
|
3224
3226
|
if (!B)
|
3225
|
-
throw new
|
3227
|
+
throw new nt(l.value, f, Object.keys(l.options), o);
|
3226
3228
|
a.push.apply(a, se(B.value, t, r, n, i, f - (l.offset || 0)));
|
3227
3229
|
continue;
|
3228
3230
|
}
|
3229
3231
|
}
|
3230
|
-
return
|
3232
|
+
return pn(a);
|
3231
3233
|
}
|
3232
|
-
function
|
3234
|
+
function dn(e, t) {
|
3233
3235
|
return t ? d(d(d({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
3234
3236
|
return r[n] = d(d({}, e[n]), t[n] || {}), r;
|
3235
3237
|
}, {})) : e;
|
3236
3238
|
}
|
3237
|
-
function
|
3239
|
+
function bn(e, t) {
|
3238
3240
|
return t ? Object.keys(e).reduce(function(r, n) {
|
3239
|
-
return r[n] =
|
3241
|
+
return r[n] = dn(e[n], t[n]), r;
|
3240
3242
|
}, d({}, e)) : e;
|
3241
3243
|
}
|
3242
3244
|
function _e(e) {
|
@@ -3253,7 +3255,7 @@ function _e(e) {
|
|
3253
3255
|
}
|
3254
3256
|
};
|
3255
3257
|
}
|
3256
|
-
function
|
3258
|
+
function yn(e) {
|
3257
3259
|
return e === void 0 && (e = {
|
3258
3260
|
number: {},
|
3259
3261
|
dateTime: {},
|
@@ -3285,7 +3287,7 @@ function bn(e) {
|
|
3285
3287
|
})
|
3286
3288
|
};
|
3287
3289
|
}
|
3288
|
-
var
|
3290
|
+
var xn = (
|
3289
3291
|
/** @class */
|
3290
3292
|
function() {
|
3291
3293
|
function e(t, r, n, i) {
|
@@ -3317,13 +3319,13 @@ var yn = (
|
|
3317
3319
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
3318
3320
|
var o = i || {};
|
3319
3321
|
o.formatters;
|
3320
|
-
var a =
|
3322
|
+
var a = Pr(o, ["formatters"]);
|
3321
3323
|
this.ast = e.__parse(t, d(d({}, a), { locale: this.resolvedLocale }));
|
3322
3324
|
} else
|
3323
3325
|
this.ast = t;
|
3324
3326
|
if (!Array.isArray(this.ast))
|
3325
3327
|
throw new TypeError("A message must be provided as a String or AST.");
|
3326
|
-
this.formats =
|
3328
|
+
this.formats = bn(e.formats, n), this.formatters = i && i.formatters || yn(this.formatterCache);
|
3327
3329
|
}
|
3328
3330
|
return Object.defineProperty(e, "defaultLocale", {
|
3329
3331
|
get: function() {
|
@@ -3336,7 +3338,7 @@ var yn = (
|
|
3336
3338
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
3337
3339
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
3338
3340
|
}
|
3339
|
-
}, e.__parse =
|
3341
|
+
}, e.__parse = cn, e.formats = {
|
3340
3342
|
number: {
|
3341
3343
|
integer: {
|
3342
3344
|
maximumFractionDigits: 0
|
@@ -3397,7 +3399,7 @@ var yn = (
|
|
3397
3399
|
}, e;
|
3398
3400
|
}()
|
3399
3401
|
);
|
3400
|
-
function
|
3402
|
+
function vn(e, t) {
|
3401
3403
|
if (t == null)
|
3402
3404
|
return;
|
3403
3405
|
if (t in e)
|
@@ -3418,60 +3420,60 @@ function xn(e, t) {
|
|
3418
3420
|
n = void 0;
|
3419
3421
|
return n;
|
3420
3422
|
}
|
3421
|
-
const L = {},
|
3423
|
+
const L = {}, En = (e, t, r) => r && (t in L || (L[t] = {}), e in L[t] || (L[t][e] = r), r), Lt = (e, t) => {
|
3422
3424
|
if (t == null)
|
3423
3425
|
return;
|
3424
3426
|
if (t in L && e in L[t])
|
3425
3427
|
return L[t][e];
|
3426
3428
|
const r = fe(t);
|
3427
3429
|
for (let n = 0; n < r.length; n++) {
|
3428
|
-
const i = r[n], s =
|
3430
|
+
const i = r[n], s = Hn(i, e);
|
3429
3431
|
if (s)
|
3430
|
-
return
|
3432
|
+
return En(e, t, s);
|
3431
3433
|
}
|
3432
3434
|
};
|
3433
|
-
let
|
3435
|
+
let Fe;
|
3434
3436
|
const te = he({});
|
3435
|
-
function
|
3436
|
-
return
|
3437
|
+
function _n(e) {
|
3438
|
+
return Fe[e] || null;
|
3437
3439
|
}
|
3438
|
-
function
|
3439
|
-
return e in
|
3440
|
+
function It(e) {
|
3441
|
+
return e in Fe;
|
3440
3442
|
}
|
3441
|
-
function
|
3442
|
-
if (!
|
3443
|
+
function Hn(e, t) {
|
3444
|
+
if (!It(e))
|
3443
3445
|
return null;
|
3444
|
-
const r =
|
3445
|
-
return
|
3446
|
+
const r = _n(e);
|
3447
|
+
return vn(r, t);
|
3446
3448
|
}
|
3447
|
-
function
|
3449
|
+
function Tn(e) {
|
3448
3450
|
if (e == null)
|
3449
3451
|
return;
|
3450
3452
|
const t = fe(e);
|
3451
3453
|
for (let r = 0; r < t.length; r++) {
|
3452
3454
|
const n = t[r];
|
3453
|
-
if (
|
3455
|
+
if (It(n))
|
3454
3456
|
return n;
|
3455
3457
|
}
|
3456
3458
|
}
|
3457
|
-
function
|
3458
|
-
delete L[e], te.update((r) => (r[e] =
|
3459
|
+
function Ct(e, ...t) {
|
3460
|
+
delete L[e], te.update((r) => (r[e] = Ar.all([r[e] || {}, ...t]), r));
|
3459
3461
|
}
|
3460
3462
|
z(
|
3461
3463
|
[te],
|
3462
3464
|
([e]) => Object.keys(e)
|
3463
3465
|
);
|
3464
|
-
te.subscribe((e) =>
|
3466
|
+
te.subscribe((e) => Fe = e);
|
3465
3467
|
const oe = {};
|
3466
|
-
function
|
3468
|
+
function Bn(e, t) {
|
3467
3469
|
oe[e].delete(t), oe[e].size === 0 && delete oe[e];
|
3468
3470
|
}
|
3469
|
-
function
|
3471
|
+
function $t(e) {
|
3470
3472
|
return oe[e];
|
3471
3473
|
}
|
3472
|
-
function
|
3474
|
+
function Sn(e) {
|
3473
3475
|
return fe(e).map((t) => {
|
3474
|
-
const r =
|
3476
|
+
const r = $t(t);
|
3475
3477
|
return [t, r ? [...r] : []];
|
3476
3478
|
}).filter(([, t]) => t.length > 0);
|
3477
3479
|
}
|
@@ -3479,27 +3481,27 @@ function Ce(e) {
|
|
3479
3481
|
return e == null ? !1 : fe(e).some(
|
3480
3482
|
(t) => {
|
3481
3483
|
var r;
|
3482
|
-
return (r =
|
3484
|
+
return (r = $t(t)) == null ? void 0 : r.size;
|
3483
3485
|
}
|
3484
3486
|
);
|
3485
3487
|
}
|
3486
|
-
function
|
3488
|
+
function An(e, t) {
|
3487
3489
|
return Promise.all(
|
3488
|
-
t.map((n) => (
|
3489
|
-
).then((n) =>
|
3490
|
+
t.map((n) => (Bn(e, n), n().then((i) => i.default || i)))
|
3491
|
+
).then((n) => Ct(e, ...n));
|
3490
3492
|
}
|
3491
3493
|
const Q = {};
|
3492
|
-
function
|
3494
|
+
function Mt(e) {
|
3493
3495
|
if (!Ce(e))
|
3494
3496
|
return e in Q ? Q[e] : Promise.resolve();
|
3495
|
-
const t =
|
3497
|
+
const t = Sn(e);
|
3496
3498
|
return Q[e] = Promise.all(
|
3497
3499
|
t.map(
|
3498
|
-
([r, n]) =>
|
3500
|
+
([r, n]) => An(r, n)
|
3499
3501
|
)
|
3500
3502
|
).then(() => {
|
3501
3503
|
if (Ce(e))
|
3502
|
-
return
|
3504
|
+
return Mt(e);
|
3503
3505
|
delete Q[e];
|
3504
3506
|
}), Q[e];
|
3505
3507
|
}
|
@@ -3532,34 +3534,34 @@ const Pn = {
|
|
3532
3534
|
timeZoneName: "short"
|
3533
3535
|
}
|
3534
3536
|
}
|
3535
|
-
},
|
3537
|
+
}, wn = {
|
3536
3538
|
fallbackLocale: null,
|
3537
3539
|
loadingDelay: 200,
|
3538
3540
|
formats: Pn,
|
3539
3541
|
warnOnMissingMessages: !0,
|
3540
3542
|
handleMissingMessage: void 0,
|
3541
3543
|
ignoreTag: !0
|
3542
|
-
},
|
3544
|
+
}, Nn = wn;
|
3543
3545
|
function X() {
|
3544
|
-
return
|
3546
|
+
return Nn;
|
3545
3547
|
}
|
3546
3548
|
const He = he(!1);
|
3547
|
-
var
|
3549
|
+
var On = Object.defineProperty, Ln = Object.defineProperties, In = Object.getOwnPropertyDescriptors, it = Object.getOwnPropertySymbols, Cn = Object.prototype.hasOwnProperty, $n = Object.prototype.propertyIsEnumerable, st = (e, t, r) => t in e ? On(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Mn = (e, t) => {
|
3548
3550
|
for (var r in t || (t = {}))
|
3549
|
-
|
3550
|
-
if (
|
3551
|
-
for (var r of
|
3552
|
-
|
3551
|
+
Cn.call(t, r) && st(e, r, t[r]);
|
3552
|
+
if (it)
|
3553
|
+
for (var r of it(t))
|
3554
|
+
$n.call(t, r) && st(e, r, t[r]);
|
3553
3555
|
return e;
|
3554
|
-
},
|
3556
|
+
}, Rn = (e, t) => Ln(e, In(t));
|
3555
3557
|
let $e;
|
3556
3558
|
const ae = he(null);
|
3557
|
-
function
|
3559
|
+
function ot(e) {
|
3558
3560
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
3559
3561
|
}
|
3560
3562
|
function fe(e, t = X().fallbackLocale) {
|
3561
|
-
const r =
|
3562
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
3563
|
+
const r = ot(e);
|
3564
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...ot(t)])] : r;
|
3563
3565
|
}
|
3564
3566
|
function $() {
|
3565
3567
|
return $e != null ? $e : void 0;
|
@@ -3567,22 +3569,22 @@ function $() {
|
|
3567
3569
|
ae.subscribe((e) => {
|
3568
3570
|
$e = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
3569
3571
|
});
|
3570
|
-
const
|
3571
|
-
if (e &&
|
3572
|
+
const Dn = (e) => {
|
3573
|
+
if (e && Tn(e) && Ce(e)) {
|
3572
3574
|
const { loadingDelay: t } = X();
|
3573
3575
|
let r;
|
3574
3576
|
return typeof window != "undefined" && $() != null && t ? r = window.setTimeout(
|
3575
3577
|
() => He.set(!0),
|
3576
3578
|
t
|
3577
|
-
) : He.set(!0),
|
3579
|
+
) : He.set(!0), Mt(e).then(() => {
|
3578
3580
|
ae.set(e);
|
3579
3581
|
}).finally(() => {
|
3580
3582
|
clearTimeout(r), He.set(!1);
|
3581
3583
|
});
|
3582
3584
|
}
|
3583
3585
|
return ae.set(e);
|
3584
|
-
}, W = Mn(
|
3585
|
-
set:
|
3586
|
+
}, W = Rn(Mn({}, ae), {
|
3587
|
+
set: Dn
|
3586
3588
|
}), me = (e) => {
|
3587
3589
|
const t = /* @__PURE__ */ Object.create(null);
|
3588
3590
|
return (n) => {
|
@@ -3590,20 +3592,20 @@ const Rn = (e) => {
|
|
3590
3592
|
return i in t ? t[i] : t[i] = e(n);
|
3591
3593
|
};
|
3592
3594
|
};
|
3593
|
-
var
|
3595
|
+
var Un = Object.defineProperty, ue = Object.getOwnPropertySymbols, Rt = Object.prototype.hasOwnProperty, Dt = Object.prototype.propertyIsEnumerable, at = (e, t, r) => t in e ? Un(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, je = (e, t) => {
|
3594
3596
|
for (var r in t || (t = {}))
|
3595
|
-
|
3597
|
+
Rt.call(t, r) && at(e, r, t[r]);
|
3596
3598
|
if (ue)
|
3597
3599
|
for (var r of ue(t))
|
3598
|
-
|
3600
|
+
Dt.call(t, r) && at(e, r, t[r]);
|
3599
3601
|
return e;
|
3600
3602
|
}, Z = (e, t) => {
|
3601
3603
|
var r = {};
|
3602
3604
|
for (var n in e)
|
3603
|
-
|
3605
|
+
Rt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
3604
3606
|
if (e != null && ue)
|
3605
3607
|
for (var n of ue(e))
|
3606
|
-
t.indexOf(n) < 0 &&
|
3608
|
+
t.indexOf(n) < 0 && Dt.call(e, n) && (r[n] = e[n]);
|
3607
3609
|
return r;
|
3608
3610
|
};
|
3609
3611
|
const K = (e, t) => {
|
@@ -3611,21 +3613,21 @@ const K = (e, t) => {
|
|
3611
3613
|
if (e in r && t in r[e])
|
3612
3614
|
return r[e][t];
|
3613
3615
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
3614
|
-
},
|
3616
|
+
}, Gn = me(
|
3615
3617
|
(e) => {
|
3616
3618
|
var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
|
3617
3619
|
if (r == null)
|
3618
3620
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
3619
3621
|
return n && (i = K("number", n)), new Intl.NumberFormat(r, i);
|
3620
3622
|
}
|
3621
|
-
),
|
3623
|
+
), Fn = me(
|
3622
3624
|
(e) => {
|
3623
3625
|
var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
|
3624
3626
|
if (r == null)
|
3625
3627
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
3626
3628
|
return n ? i = K("date", n) : Object.keys(i).length === 0 && (i = K("date", "short")), new Intl.DateTimeFormat(r, i);
|
3627
3629
|
}
|
3628
|
-
),
|
3630
|
+
), jn = me(
|
3629
3631
|
(e) => {
|
3630
3632
|
var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
|
3631
3633
|
if (r == null)
|
@@ -3634,33 +3636,33 @@ const K = (e, t) => {
|
|
3634
3636
|
);
|
3635
3637
|
return n ? i = K("time", n) : Object.keys(i).length === 0 && (i = K("time", "short")), new Intl.DateTimeFormat(r, i);
|
3636
3638
|
}
|
3637
|
-
),
|
3639
|
+
), Vn = (e = {}) => {
|
3638
3640
|
var t = e, {
|
3639
3641
|
locale: r = $()
|
3640
3642
|
} = t, n = Z(t, [
|
3641
3643
|
"locale"
|
3642
3644
|
]);
|
3643
|
-
return
|
3644
|
-
},
|
3645
|
+
return Gn(je({ locale: r }, n));
|
3646
|
+
}, kn = (e = {}) => {
|
3645
3647
|
var t = e, {
|
3646
3648
|
locale: r = $()
|
3647
3649
|
} = t, n = Z(t, [
|
3648
3650
|
"locale"
|
3649
3651
|
]);
|
3650
|
-
return
|
3651
|
-
},
|
3652
|
+
return Fn(je({ locale: r }, n));
|
3653
|
+
}, Xn = (e = {}) => {
|
3652
3654
|
var t = e, {
|
3653
3655
|
locale: r = $()
|
3654
3656
|
} = t, n = Z(t, [
|
3655
3657
|
"locale"
|
3656
3658
|
]);
|
3657
|
-
return
|
3658
|
-
},
|
3659
|
+
return jn(je({ locale: r }, n));
|
3660
|
+
}, zn = me(
|
3659
3661
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
3660
|
-
(e, t = $()) => new
|
3662
|
+
(e, t = $()) => new xn(e, t, X().formats, {
|
3661
3663
|
ignoreTag: X().ignoreTag
|
3662
3664
|
})
|
3663
|
-
),
|
3665
|
+
), Wn = (e, t = {}) => {
|
3664
3666
|
var r, n, i, s;
|
3665
3667
|
let o = t;
|
3666
3668
|
typeof e == "object" && (o = e, e = o.id);
|
@@ -3673,7 +3675,7 @@ const K = (e, t) => {
|
|
3673
3675
|
throw new Error(
|
3674
3676
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
3675
3677
|
);
|
3676
|
-
let l =
|
3678
|
+
let l = Lt(e, h);
|
3677
3679
|
if (!l)
|
3678
3680
|
l = (s = (i = (n = (r = X()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
|
3679
3681
|
else if (typeof l != "string")
|
@@ -3684,7 +3686,7 @@ const K = (e, t) => {
|
|
3684
3686
|
return l;
|
3685
3687
|
let c = l;
|
3686
3688
|
try {
|
3687
|
-
c =
|
3689
|
+
c = zn(l, h).format(a);
|
3688
3690
|
} catch (f) {
|
3689
3691
|
f instanceof Error && console.warn(
|
3690
3692
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
@@ -3692,18 +3694,18 @@ const K = (e, t) => {
|
|
3692
3694
|
);
|
3693
3695
|
}
|
3694
3696
|
return c;
|
3695
|
-
},
|
3696
|
-
z([W], () => Wn);
|
3697
|
+
}, Zn = (e, t) => Xn(t).format(e), qn = (e, t) => kn(t).format(e), Qn = (e, t) => Vn(t).format(e), Jn = (e, t = $()) => Lt(e, t), Yn = z([W, te], () => Wn);
|
3697
3698
|
z([W], () => Zn);
|
3698
3699
|
z([W], () => qn);
|
3699
|
-
z([W
|
3700
|
-
|
3701
|
-
|
3700
|
+
z([W], () => Qn);
|
3701
|
+
z([W, te], () => Jn);
|
3702
|
+
function ut(e, t) {
|
3703
|
+
Ct(e, t);
|
3702
3704
|
}
|
3703
|
-
function
|
3705
|
+
function Kn(e) {
|
3704
3706
|
W.set(e);
|
3705
3707
|
}
|
3706
|
-
const
|
3708
|
+
const ht = {
|
3707
3709
|
en: {
|
3708
3710
|
sorry: "We are sorry",
|
3709
3711
|
access: "The page you are trying to access is available for logged-in users only. Please login.",
|
@@ -3795,10 +3797,10 @@ const at = {
|
|
3795
3797
|
login: "Login"
|
3796
3798
|
}
|
3797
3799
|
};
|
3798
|
-
function Kn(e) {
|
3799
|
-
kt(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}}');
|
3800
|
-
}
|
3801
3800
|
function ei(e) {
|
3801
|
+
zt(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
|
+
}
|
3803
|
+
function ti(e) {
|
3802
3804
|
let t, r, n, i, s, o, a, h, u, l, c = (
|
3803
3805
|
/*$_*/
|
3804
3806
|
e[1]("sorry") + ""
|
@@ -3808,18 +3810,18 @@ function ei(e) {
|
|
3808
3810
|
), m, H, _, B = (
|
3809
3811
|
/*$_*/
|
3810
3812
|
e[1]("login") + ""
|
3811
|
-
), O,
|
3813
|
+
), O, P, I;
|
3812
3814
|
return {
|
3813
3815
|
c() {
|
3814
3816
|
t = C("div"), r = C("div"), n = M("svg"), i = M("g"), s = M("path"), o = M("path"), a = M("path"), h = M("path"), u = ge(), l = C("p"), f = ne(c), b = ge(), y = C("p"), m = ne(E), H = ge(), _ = C("button"), O = ne(B), v(s, "class", "a"), v(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"), v(o, "class", "a"), v(o, "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"), v(o, "transform", "translate(-116.772 -116.794)"), v(a, "class", "a"), v(a, "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"), v(a, "transform", "translate(-250.22 -116.794)"), v(h, "class", "a"), v(h, "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"), v(h, "transform", "translate(-109.326 -3.172)"), v(i, "transform", "translate(-9.37 -9.34)"), v(n, "xmlns", "http://www.w3.org/2000/svg"), v(n, "width", "130.345"), v(n, "height", "130.345"), v(n, "viewBox", "0 0 130.345 130.345"), v(l, "class", "PageTitle"), v(y, "class", "PageContent"), v(_, "class", "ButtonDefaultSmall"), v(r, "class", "NotFoundPage"), v(t, "class", "PageWrapper");
|
3815
3817
|
},
|
3816
3818
|
m(N, q) {
|
3817
|
-
|
3819
|
+
mt(N, t, q), T(t, r), T(r, n), T(n, i), T(i, s), T(i, o), T(i, a), T(i, h), T(r, u), T(r, l), T(l, f), T(r, b), T(r, y), T(y, m), T(r, H), T(r, _), T(_, O), e[8](t), P || (I = qt(
|
3818
3820
|
_,
|
3819
3821
|
"click",
|
3820
3822
|
/*click_handler*/
|
3821
3823
|
e[7]
|
3822
|
-
),
|
3824
|
+
), P = !0);
|
3823
3825
|
},
|
3824
3826
|
p(N, [q]) {
|
3825
3827
|
q & /*$_*/
|
@@ -3833,30 +3835,30 @@ function ei(e) {
|
|
3833
3835
|
i: w,
|
3834
3836
|
o: w,
|
3835
3837
|
d(N) {
|
3836
|
-
N && Re(t), e[8](null),
|
3838
|
+
N && Re(t), e[8](null), P = !1, I();
|
3837
3839
|
}
|
3838
3840
|
};
|
3839
3841
|
}
|
3840
|
-
function
|
3842
|
+
function ri(e, t, r) {
|
3841
3843
|
let n;
|
3842
|
-
|
3844
|
+
Xt(e, Yn, (m) => r(1, n = m));
|
3843
3845
|
let { lang: i = "en" } = t, { clientstyling: s = "" } = t, { clientstylingurl: o = "" } = t, a, { translationurl: h = "" } = t;
|
3844
3846
|
const u = () => {
|
3845
3847
|
fetch(h).then((H) => H.json()).then((H) => {
|
3846
3848
|
Object.keys(H).forEach((_) => {
|
3847
|
-
|
3849
|
+
ut(_, H[_]);
|
3848
3850
|
});
|
3849
3851
|
}).catch((H) => {
|
3850
3852
|
console.log(H);
|
3851
3853
|
});
|
3852
3854
|
};
|
3853
|
-
Object.keys(
|
3854
|
-
|
3855
|
+
Object.keys(ht).forEach((m) => {
|
3856
|
+
ut(m, ht[m]);
|
3855
3857
|
});
|
3856
3858
|
const l = () => {
|
3857
3859
|
window.postMessage({ type: "403ActionButton" }, window.location.href);
|
3858
3860
|
}, c = () => {
|
3859
|
-
|
3861
|
+
Kn(i);
|
3860
3862
|
}, f = () => {
|
3861
3863
|
let m = document.createElement("style");
|
3862
3864
|
m.innerHTML = s, a.appendChild(m);
|
@@ -3896,21 +3898,21 @@ function ti(e, t, r) {
|
|
3896
3898
|
E
|
3897
3899
|
];
|
3898
3900
|
}
|
3899
|
-
class
|
3901
|
+
class ni extends hr {
|
3900
3902
|
constructor(t) {
|
3901
|
-
super(),
|
3903
|
+
super(), ar(
|
3902
3904
|
this,
|
3903
3905
|
t,
|
3906
|
+
ri,
|
3904
3907
|
ti,
|
3905
|
-
|
3906
|
-
ht,
|
3908
|
+
ct,
|
3907
3909
|
{
|
3908
3910
|
lang: 3,
|
3909
3911
|
clientstyling: 4,
|
3910
3912
|
clientstylingurl: 5,
|
3911
3913
|
translationurl: 6
|
3912
3914
|
},
|
3913
|
-
|
3915
|
+
ei
|
3914
3916
|
);
|
3915
3917
|
}
|
3916
3918
|
get lang() {
|
@@ -3938,7 +3940,7 @@ class ri extends ar {
|
|
3938
3940
|
this.$$set({ translationurl: t }), G();
|
3939
3941
|
}
|
3940
3942
|
}
|
3941
|
-
|
3943
|
+
ur(ni, { lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
|
3942
3944
|
export {
|
3943
|
-
|
3945
|
+
ni as default
|
3944
3946
|
};
|