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