@everymatrix/player-panic-button 1.74.1 → 1.74.3
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/PlayerPanicButton-ClwDjGaA.cjs +18 -0
- package/components/{PlayerPanicButton-BRhdV4bT.js → PlayerPanicButton-DpaxzQmz.js} +757 -792
- package/components/{PlayerPanicButton-Z0b_0GW0.js → PlayerPanicButton-kvRbaraB.js} +780 -815
- package/es2015/player-panic-button.cjs +1 -1
- package/es2015/player-panic-button.js +1 -1
- package/esnext/player-panic-button.js +1 -1
- package/package.json +1 -1
- package/components/PlayerPanicButton-B3N7_pDz.cjs +0 -18
|
@@ -1,46 +1,46 @@
|
|
|
1
|
-
function
|
|
1
|
+
function T() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function vt(e) {
|
|
4
4
|
return e();
|
|
5
5
|
}
|
|
6
|
-
function
|
|
6
|
+
function Ze() {
|
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
|
8
8
|
}
|
|
9
|
-
function
|
|
10
|
-
e.forEach(
|
|
9
|
+
function te(e) {
|
|
10
|
+
e.forEach(vt);
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function je(e) {
|
|
13
13
|
return typeof e == "function";
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function Et(e, t) {
|
|
16
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
17
17
|
}
|
|
18
|
-
function
|
|
18
|
+
function er(e) {
|
|
19
19
|
return Object.keys(e).length === 0;
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function xt(e, ...t) {
|
|
22
22
|
if (e == null) {
|
|
23
23
|
for (const n of t)
|
|
24
24
|
n(void 0);
|
|
25
|
-
return
|
|
25
|
+
return T;
|
|
26
26
|
}
|
|
27
27
|
const r = e.subscribe(...t);
|
|
28
28
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
29
29
|
}
|
|
30
|
-
function
|
|
31
|
-
e.$$.on_destroy.push(
|
|
30
|
+
function tr(e, t, r) {
|
|
31
|
+
e.$$.on_destroy.push(xt(t, r));
|
|
32
32
|
}
|
|
33
33
|
function ae(e, t) {
|
|
34
34
|
e.appendChild(t);
|
|
35
35
|
}
|
|
36
|
-
function
|
|
37
|
-
const n =
|
|
36
|
+
function rr(e, t, r) {
|
|
37
|
+
const n = nr(e);
|
|
38
38
|
if (!n.getElementById(t)) {
|
|
39
|
-
const i =
|
|
40
|
-
i.id = t, i.textContent = r,
|
|
39
|
+
const i = J("style");
|
|
40
|
+
i.id = t, i.textContent = r, ir(n, i);
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
|
-
function
|
|
43
|
+
function nr(e) {
|
|
44
44
|
if (!e)
|
|
45
45
|
return document;
|
|
46
46
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -50,39 +50,39 @@ function ar(e) {
|
|
|
50
50
|
t
|
|
51
51
|
) : e.ownerDocument;
|
|
52
52
|
}
|
|
53
|
-
function
|
|
53
|
+
function ir(e, t) {
|
|
54
54
|
return ae(
|
|
55
55
|
/** @type {Document} */
|
|
56
56
|
e.head || e,
|
|
57
57
|
t
|
|
58
58
|
), t.sheet;
|
|
59
59
|
}
|
|
60
|
-
function
|
|
60
|
+
function _t(e, t, r) {
|
|
61
61
|
e.insertBefore(t, r || null);
|
|
62
62
|
}
|
|
63
|
-
function
|
|
63
|
+
function ke(e) {
|
|
64
64
|
e.parentNode && e.parentNode.removeChild(e);
|
|
65
65
|
}
|
|
66
|
-
function
|
|
66
|
+
function J(e) {
|
|
67
67
|
return document.createElement(e);
|
|
68
68
|
}
|
|
69
|
-
function
|
|
69
|
+
function or(e) {
|
|
70
70
|
return document.createTextNode(e);
|
|
71
71
|
}
|
|
72
72
|
function L(e, t, r) {
|
|
73
73
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
74
74
|
}
|
|
75
|
-
function
|
|
75
|
+
function sr(e) {
|
|
76
76
|
return Array.from(e.childNodes);
|
|
77
77
|
}
|
|
78
|
-
function
|
|
78
|
+
function ar(e, t) {
|
|
79
79
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
80
80
|
t);
|
|
81
81
|
}
|
|
82
|
-
function
|
|
82
|
+
function Qe(e, t, r) {
|
|
83
83
|
e.classList.toggle(t, !!r);
|
|
84
84
|
}
|
|
85
|
-
function
|
|
85
|
+
function ur(e) {
|
|
86
86
|
const t = {};
|
|
87
87
|
return e.childNodes.forEach(
|
|
88
88
|
/** @param {Element} node */
|
|
@@ -91,95 +91,95 @@ function fr(e) {
|
|
|
91
91
|
}
|
|
92
92
|
), t;
|
|
93
93
|
}
|
|
94
|
-
let
|
|
95
|
-
function
|
|
96
|
-
|
|
94
|
+
let q;
|
|
95
|
+
function Y(e) {
|
|
96
|
+
q = e;
|
|
97
97
|
}
|
|
98
|
-
function
|
|
99
|
-
if (!
|
|
98
|
+
function hr() {
|
|
99
|
+
if (!q)
|
|
100
100
|
throw new Error("Function called outside component initialization");
|
|
101
|
-
return
|
|
101
|
+
return q;
|
|
102
102
|
}
|
|
103
|
-
function
|
|
104
|
-
|
|
103
|
+
function lr(e) {
|
|
104
|
+
hr().$$.on_mount.push(e);
|
|
105
105
|
}
|
|
106
106
|
const D = [], fe = [];
|
|
107
107
|
let G = [];
|
|
108
|
-
const
|
|
109
|
-
let
|
|
110
|
-
function
|
|
111
|
-
|
|
108
|
+
const Je = [], cr = /* @__PURE__ */ Promise.resolve();
|
|
109
|
+
let He = !1;
|
|
110
|
+
function fr() {
|
|
111
|
+
He || (He = !0, cr.then(H));
|
|
112
112
|
}
|
|
113
|
-
function
|
|
113
|
+
function Pe(e) {
|
|
114
114
|
G.push(e);
|
|
115
115
|
}
|
|
116
|
-
const
|
|
116
|
+
const Ee = /* @__PURE__ */ new Set();
|
|
117
117
|
let R = 0;
|
|
118
|
-
function
|
|
118
|
+
function H() {
|
|
119
119
|
if (R !== 0)
|
|
120
120
|
return;
|
|
121
|
-
const e =
|
|
121
|
+
const e = q;
|
|
122
122
|
do {
|
|
123
123
|
try {
|
|
124
124
|
for (; R < D.length; ) {
|
|
125
125
|
const t = D[R];
|
|
126
|
-
R++,
|
|
126
|
+
R++, Y(t), pr(t.$$);
|
|
127
127
|
}
|
|
128
128
|
} catch (t) {
|
|
129
129
|
throw D.length = 0, R = 0, t;
|
|
130
130
|
}
|
|
131
|
-
for (
|
|
131
|
+
for (Y(null), D.length = 0, R = 0; fe.length; )
|
|
132
132
|
fe.pop()();
|
|
133
133
|
for (let t = 0; t < G.length; t += 1) {
|
|
134
134
|
const r = G[t];
|
|
135
|
-
|
|
135
|
+
Ee.has(r) || (Ee.add(r), r());
|
|
136
136
|
}
|
|
137
137
|
G.length = 0;
|
|
138
138
|
} while (D.length);
|
|
139
|
-
for (;
|
|
140
|
-
|
|
141
|
-
|
|
139
|
+
for (; Je.length; )
|
|
140
|
+
Je.pop()();
|
|
141
|
+
He = !1, Ee.clear(), Y(e);
|
|
142
142
|
}
|
|
143
|
-
function
|
|
143
|
+
function pr(e) {
|
|
144
144
|
if (e.fragment !== null) {
|
|
145
|
-
e.update(),
|
|
145
|
+
e.update(), te(e.before_update);
|
|
146
146
|
const t = e.dirty;
|
|
147
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
147
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Pe);
|
|
148
148
|
}
|
|
149
149
|
}
|
|
150
|
-
function
|
|
150
|
+
function dr(e) {
|
|
151
151
|
const t = [], r = [];
|
|
152
152
|
G.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), G = t;
|
|
153
153
|
}
|
|
154
|
-
const
|
|
155
|
-
function
|
|
156
|
-
e && e.i && (
|
|
154
|
+
const mr = /* @__PURE__ */ new Set();
|
|
155
|
+
function br(e, t) {
|
|
156
|
+
e && e.i && (mr.delete(e), e.i(t));
|
|
157
157
|
}
|
|
158
|
-
function
|
|
158
|
+
function gr(e, t, r) {
|
|
159
159
|
const { fragment: n, after_update: i } = e.$$;
|
|
160
|
-
n && n.m(t, r),
|
|
161
|
-
const o = e.$$.on_mount.map(
|
|
162
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
|
163
|
-
}), i.forEach(
|
|
160
|
+
n && n.m(t, r), Pe(() => {
|
|
161
|
+
const o = e.$$.on_mount.map(vt).filter(je);
|
|
162
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : te(o), e.$$.on_mount = [];
|
|
163
|
+
}), i.forEach(Pe);
|
|
164
164
|
}
|
|
165
|
-
function
|
|
165
|
+
function yr(e, t) {
|
|
166
166
|
const r = e.$$;
|
|
167
|
-
r.fragment !== null && (
|
|
167
|
+
r.fragment !== null && (dr(r.after_update), te(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
168
168
|
}
|
|
169
|
-
function
|
|
170
|
-
e.$$.dirty[0] === -1 && (D.push(e),
|
|
169
|
+
function vr(e, t) {
|
|
170
|
+
e.$$.dirty[0] === -1 && (D.push(e), fr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
171
171
|
}
|
|
172
|
-
function
|
|
173
|
-
const u =
|
|
174
|
-
|
|
172
|
+
function Er(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
173
|
+
const u = q;
|
|
174
|
+
Y(e);
|
|
175
175
|
const h = e.$$ = {
|
|
176
176
|
fragment: null,
|
|
177
177
|
ctx: [],
|
|
178
178
|
// state
|
|
179
179
|
props: o,
|
|
180
|
-
update:
|
|
180
|
+
update: T,
|
|
181
181
|
not_equal: i,
|
|
182
|
-
bound:
|
|
182
|
+
bound: Ze(),
|
|
183
183
|
// lifecycle
|
|
184
184
|
on_mount: [],
|
|
185
185
|
on_destroy: [],
|
|
@@ -188,28 +188,28 @@ function Br(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
188
188
|
after_update: [],
|
|
189
189
|
context: new Map(t.context || (u ? u.$$.context : [])),
|
|
190
190
|
// everything else
|
|
191
|
-
callbacks:
|
|
191
|
+
callbacks: Ze(),
|
|
192
192
|
dirty: a,
|
|
193
193
|
skip_bound: !1,
|
|
194
194
|
root: t.target || u.$$.root
|
|
195
195
|
};
|
|
196
196
|
s && s(h.root);
|
|
197
197
|
let l = !1;
|
|
198
|
-
if (h.ctx = r
|
|
199
|
-
const
|
|
200
|
-
return h.ctx && i(h.ctx[c], h.ctx[c] =
|
|
201
|
-
})
|
|
198
|
+
if (h.ctx = r(e, t.props || {}, (c, f, ...d) => {
|
|
199
|
+
const y = d.length ? d[0] : f;
|
|
200
|
+
return h.ctx && i(h.ctx[c], h.ctx[c] = y) && (!h.skip_bound && h.bound[c] && h.bound[c](y), l && vr(e, c)), f;
|
|
201
|
+
}), h.update(), l = !0, te(h.before_update), h.fragment = n(h.ctx), t.target) {
|
|
202
202
|
if (t.hydrate) {
|
|
203
|
-
const c =
|
|
204
|
-
h.fragment && h.fragment.l(c), c.forEach(
|
|
203
|
+
const c = sr(t.target);
|
|
204
|
+
h.fragment && h.fragment.l(c), c.forEach(ke);
|
|
205
205
|
} else
|
|
206
206
|
h.fragment && h.fragment.c();
|
|
207
|
-
t.intro &&
|
|
207
|
+
t.intro && br(e.$$.fragment), gr(e, t.target, t.anchor), H();
|
|
208
208
|
}
|
|
209
|
-
|
|
209
|
+
Y(u);
|
|
210
210
|
}
|
|
211
|
-
let
|
|
212
|
-
typeof HTMLElement == "function" && (
|
|
211
|
+
let St;
|
|
212
|
+
typeof HTMLElement == "function" && (St = class extends HTMLElement {
|
|
213
213
|
/** The Svelte component constructor */
|
|
214
214
|
$$ctor;
|
|
215
215
|
/** Slots */
|
|
@@ -251,24 +251,24 @@ typeof HTMLElement == "function" && (Ht = class extends HTMLElement {
|
|
|
251
251
|
let o;
|
|
252
252
|
return {
|
|
253
253
|
c: function() {
|
|
254
|
-
o =
|
|
254
|
+
o = J("slot"), i !== "default" && L(o, "name", i);
|
|
255
255
|
},
|
|
256
256
|
/**
|
|
257
257
|
* @param {HTMLElement} target
|
|
258
258
|
* @param {HTMLElement} [anchor]
|
|
259
259
|
*/
|
|
260
260
|
m: function(u, h) {
|
|
261
|
-
|
|
261
|
+
_t(u, o, h);
|
|
262
262
|
},
|
|
263
263
|
d: function(u) {
|
|
264
|
-
u &&
|
|
264
|
+
u && ke(o);
|
|
265
265
|
}
|
|
266
266
|
};
|
|
267
267
|
};
|
|
268
268
|
};
|
|
269
269
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
270
270
|
return;
|
|
271
|
-
const t = {}, r =
|
|
271
|
+
const t = {}, r = ur(this);
|
|
272
272
|
for (const i of this.$$s)
|
|
273
273
|
i in r && (t[i] = [e(i)]);
|
|
274
274
|
for (const i of this.attributes) {
|
|
@@ -355,8 +355,8 @@ function ue(e, t, r, n) {
|
|
|
355
355
|
return t;
|
|
356
356
|
}
|
|
357
357
|
}
|
|
358
|
-
function
|
|
359
|
-
let s = class extends
|
|
358
|
+
function xr(e, t, r, n, i, o) {
|
|
359
|
+
let s = class extends St {
|
|
360
360
|
constructor() {
|
|
361
361
|
super(e, r, i), this.$$p_d = t;
|
|
362
362
|
}
|
|
@@ -384,7 +384,7 @@ function wr(e, t, r, n, i, o) {
|
|
|
384
384
|
}), e.element = /** @type {any} */
|
|
385
385
|
s, s;
|
|
386
386
|
}
|
|
387
|
-
class
|
|
387
|
+
class _r {
|
|
388
388
|
/**
|
|
389
389
|
* ### PRIVATE API
|
|
390
390
|
*
|
|
@@ -403,7 +403,7 @@ class Tr {
|
|
|
403
403
|
$$set = void 0;
|
|
404
404
|
/** @returns {void} */
|
|
405
405
|
$destroy() {
|
|
406
|
-
|
|
406
|
+
yr(this, 1), this.$destroy = T;
|
|
407
407
|
}
|
|
408
408
|
/**
|
|
409
409
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -412,8 +412,8 @@ class Tr {
|
|
|
412
412
|
* @returns {() => void}
|
|
413
413
|
*/
|
|
414
414
|
$on(t, r) {
|
|
415
|
-
if (!
|
|
416
|
-
return
|
|
415
|
+
if (!je(r))
|
|
416
|
+
return T;
|
|
417
417
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
418
418
|
return n.push(r), () => {
|
|
419
419
|
const i = n.indexOf(r);
|
|
@@ -425,18 +425,18 @@ class Tr {
|
|
|
425
425
|
* @returns {void}
|
|
426
426
|
*/
|
|
427
427
|
$set(t) {
|
|
428
|
-
this.$$set && !
|
|
428
|
+
this.$$set && !er(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
429
429
|
}
|
|
430
430
|
}
|
|
431
|
-
const
|
|
432
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
433
|
-
function
|
|
431
|
+
const Sr = "4";
|
|
432
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Sr);
|
|
433
|
+
function Br(e, t) {
|
|
434
434
|
if (e) {
|
|
435
435
|
const r = document.createElement("style");
|
|
436
436
|
r.innerHTML = t, e.appendChild(r);
|
|
437
437
|
}
|
|
438
438
|
}
|
|
439
|
-
function
|
|
439
|
+
function Tr(e, t) {
|
|
440
440
|
const r = new URL(t);
|
|
441
441
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
442
442
|
const i = document.createElement("style");
|
|
@@ -445,7 +445,7 @@ function Ar(e, t) {
|
|
|
445
445
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
446
446
|
});
|
|
447
447
|
}
|
|
448
|
-
function
|
|
448
|
+
function wr(e, t, r) {
|
|
449
449
|
if (window.emMessageBus) {
|
|
450
450
|
const n = document.createElement("style");
|
|
451
451
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -467,24 +467,43 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
467
467
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
468
468
|
PERFORMANCE OF THIS SOFTWARE.
|
|
469
469
|
***************************************************************************** */
|
|
470
|
-
var
|
|
471
|
-
return
|
|
470
|
+
var Ae = function(e, t) {
|
|
471
|
+
return Ae = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
472
472
|
r.__proto__ = n;
|
|
473
473
|
} || function(r, n) {
|
|
474
474
|
for (var i in n)
|
|
475
475
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
476
|
-
},
|
|
476
|
+
}, Ae(e, t);
|
|
477
477
|
};
|
|
478
|
-
function
|
|
478
|
+
function A(e, t) {
|
|
479
479
|
if (typeof t != "function" && t !== null)
|
|
480
480
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
481
|
-
|
|
481
|
+
Ae(e, t);
|
|
482
482
|
function r() {
|
|
483
483
|
this.constructor = e;
|
|
484
484
|
}
|
|
485
485
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
486
486
|
}
|
|
487
|
-
function
|
|
487
|
+
var b = function() {
|
|
488
|
+
return b = Object.assign || function(t) {
|
|
489
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
490
|
+
r = arguments[n];
|
|
491
|
+
for (var o in r)
|
|
492
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
493
|
+
}
|
|
494
|
+
return t;
|
|
495
|
+
}, b.apply(this, arguments);
|
|
496
|
+
};
|
|
497
|
+
function Hr(e, t) {
|
|
498
|
+
var r = {};
|
|
499
|
+
for (var n in e)
|
|
500
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
501
|
+
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
502
|
+
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
503
|
+
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
504
|
+
return r;
|
|
505
|
+
}
|
|
506
|
+
function Oe(e) {
|
|
488
507
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
489
508
|
if (r)
|
|
490
509
|
return r.call(e);
|
|
@@ -496,7 +515,7 @@ function Le(e) {
|
|
|
496
515
|
};
|
|
497
516
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
498
517
|
}
|
|
499
|
-
function
|
|
518
|
+
function Ie(e, t) {
|
|
500
519
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
501
520
|
if (!r)
|
|
502
521
|
return e;
|
|
@@ -516,22 +535,22 @@ function Ce(e, t) {
|
|
|
516
535
|
}
|
|
517
536
|
return o;
|
|
518
537
|
}
|
|
519
|
-
function
|
|
520
|
-
if (arguments.length === 2)
|
|
538
|
+
function F(e, t, r) {
|
|
539
|
+
if (r || arguments.length === 2)
|
|
521
540
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
522
541
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
523
542
|
return e.concat(o || t);
|
|
524
543
|
}
|
|
525
|
-
function
|
|
544
|
+
function P(e) {
|
|
526
545
|
return typeof e == "function";
|
|
527
546
|
}
|
|
528
|
-
function
|
|
547
|
+
function Bt(e) {
|
|
529
548
|
var t = function(n) {
|
|
530
549
|
Error.call(n), n.stack = new Error().stack;
|
|
531
550
|
}, r = e(t);
|
|
532
551
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
533
552
|
}
|
|
534
|
-
var
|
|
553
|
+
var xe = Bt(function(e) {
|
|
535
554
|
return function(r) {
|
|
536
555
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
537
556
|
` + r.map(function(n, i) {
|
|
@@ -540,13 +559,13 @@ var Se = Pt(function(e) {
|
|
|
540
559
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
541
560
|
};
|
|
542
561
|
});
|
|
543
|
-
function
|
|
562
|
+
function Ne(e, t) {
|
|
544
563
|
if (e) {
|
|
545
564
|
var r = e.indexOf(t);
|
|
546
565
|
0 <= r && e.splice(r, 1);
|
|
547
566
|
}
|
|
548
567
|
}
|
|
549
|
-
var
|
|
568
|
+
var me = function() {
|
|
550
569
|
function e(t) {
|
|
551
570
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
552
571
|
}
|
|
@@ -558,12 +577,12 @@ var be = function() {
|
|
|
558
577
|
if (s)
|
|
559
578
|
if (this._parentage = null, Array.isArray(s))
|
|
560
579
|
try {
|
|
561
|
-
for (var a =
|
|
580
|
+
for (var a = Oe(s), u = a.next(); !u.done; u = a.next()) {
|
|
562
581
|
var h = u.value;
|
|
563
582
|
h.remove(this);
|
|
564
583
|
}
|
|
565
|
-
} catch (
|
|
566
|
-
t = { error:
|
|
584
|
+
} catch (g) {
|
|
585
|
+
t = { error: g };
|
|
567
586
|
} finally {
|
|
568
587
|
try {
|
|
569
588
|
u && !u.done && (r = a.return) && r.call(a);
|
|
@@ -575,29 +594,29 @@ var be = function() {
|
|
|
575
594
|
else
|
|
576
595
|
s.remove(this);
|
|
577
596
|
var l = this.initialTeardown;
|
|
578
|
-
if (
|
|
597
|
+
if (P(l))
|
|
579
598
|
try {
|
|
580
599
|
l();
|
|
581
|
-
} catch (
|
|
582
|
-
o =
|
|
600
|
+
} catch (g) {
|
|
601
|
+
o = g instanceof xe ? g.errors : [g];
|
|
583
602
|
}
|
|
584
603
|
var c = this._finalizers;
|
|
585
604
|
if (c) {
|
|
586
605
|
this._finalizers = null;
|
|
587
606
|
try {
|
|
588
|
-
for (var f =
|
|
589
|
-
var
|
|
607
|
+
for (var f = Oe(c), d = f.next(); !d.done; d = f.next()) {
|
|
608
|
+
var y = d.value;
|
|
590
609
|
try {
|
|
591
|
-
|
|
592
|
-
} catch (
|
|
593
|
-
o = o ?? [],
|
|
610
|
+
Ye(y);
|
|
611
|
+
} catch (g) {
|
|
612
|
+
o = o ?? [], g instanceof xe ? o = F(F([], Ie(o)), Ie(g.errors)) : o.push(g);
|
|
594
613
|
}
|
|
595
614
|
}
|
|
596
|
-
} catch (
|
|
597
|
-
n = { error:
|
|
615
|
+
} catch (g) {
|
|
616
|
+
n = { error: g };
|
|
598
617
|
} finally {
|
|
599
618
|
try {
|
|
600
|
-
|
|
619
|
+
d && !d.done && (i = f.return) && i.call(f);
|
|
601
620
|
} finally {
|
|
602
621
|
if (n)
|
|
603
622
|
throw n.error;
|
|
@@ -605,13 +624,13 @@ var be = function() {
|
|
|
605
624
|
}
|
|
606
625
|
}
|
|
607
626
|
if (o)
|
|
608
|
-
throw new
|
|
627
|
+
throw new xe(o);
|
|
609
628
|
}
|
|
610
629
|
}, e.prototype.add = function(t) {
|
|
611
630
|
var r;
|
|
612
631
|
if (t && t !== this)
|
|
613
632
|
if (this.closed)
|
|
614
|
-
|
|
633
|
+
Ye(t);
|
|
615
634
|
else {
|
|
616
635
|
if (t instanceof e) {
|
|
617
636
|
if (t.closed || t._hasParent(this))
|
|
@@ -628,52 +647,56 @@ var be = function() {
|
|
|
628
647
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
629
648
|
}, e.prototype._removeParent = function(t) {
|
|
630
649
|
var r = this._parentage;
|
|
631
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
650
|
+
r === t ? this._parentage = null : Array.isArray(r) && Ne(r, t);
|
|
632
651
|
}, e.prototype.remove = function(t) {
|
|
633
652
|
var r = this._finalizers;
|
|
634
|
-
r &&
|
|
653
|
+
r && Ne(r, t), t instanceof e && t._removeParent(this);
|
|
635
654
|
}, e.EMPTY = function() {
|
|
636
655
|
var t = new e();
|
|
637
656
|
return t.closed = !0, t;
|
|
638
657
|
}(), e;
|
|
639
|
-
}(),
|
|
640
|
-
function
|
|
641
|
-
return e instanceof
|
|
642
|
-
}
|
|
643
|
-
function
|
|
644
|
-
|
|
645
|
-
}
|
|
646
|
-
var
|
|
647
|
-
|
|
648
|
-
|
|
658
|
+
}(), Tt = me.EMPTY;
|
|
659
|
+
function wt(e) {
|
|
660
|
+
return e instanceof me || e && "closed" in e && P(e.remove) && P(e.add) && P(e.unsubscribe);
|
|
661
|
+
}
|
|
662
|
+
function Ye(e) {
|
|
663
|
+
P(e) ? e() : e.unsubscribe();
|
|
664
|
+
}
|
|
665
|
+
var Pr = {
|
|
666
|
+
onUnhandledError: null,
|
|
667
|
+
onStoppedNotification: null,
|
|
668
|
+
Promise: void 0,
|
|
669
|
+
useDeprecatedSynchronousErrorHandling: !1,
|
|
670
|
+
useDeprecatedNextContext: !1
|
|
671
|
+
}, Ar = {
|
|
649
672
|
setTimeout: function(e, t) {
|
|
650
673
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
651
674
|
r[n - 2] = arguments[n];
|
|
652
|
-
return setTimeout.apply(void 0,
|
|
675
|
+
return setTimeout.apply(void 0, F([e, t], Ie(r)));
|
|
653
676
|
},
|
|
654
677
|
clearTimeout: function(e) {
|
|
655
678
|
return clearTimeout(e);
|
|
656
679
|
},
|
|
657
680
|
delegate: void 0
|
|
658
681
|
};
|
|
659
|
-
function
|
|
660
|
-
|
|
682
|
+
function Or(e) {
|
|
683
|
+
Ar.setTimeout(function() {
|
|
661
684
|
throw e;
|
|
662
685
|
});
|
|
663
686
|
}
|
|
664
|
-
function
|
|
687
|
+
function qe() {
|
|
665
688
|
}
|
|
666
689
|
function he(e) {
|
|
667
690
|
e();
|
|
668
691
|
}
|
|
669
|
-
var
|
|
670
|
-
|
|
692
|
+
var Ht = function(e) {
|
|
693
|
+
A(t, e);
|
|
671
694
|
function t(r) {
|
|
672
695
|
var n = e.call(this) || this;
|
|
673
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
696
|
+
return n.isStopped = !1, r ? (n.destination = r, wt(r) && r.add(n)) : n.destination = Lr, n;
|
|
674
697
|
}
|
|
675
698
|
return t.create = function(r, n, i) {
|
|
676
|
-
return new
|
|
699
|
+
return new Le(r, n, i);
|
|
677
700
|
}, t.prototype.next = function(r) {
|
|
678
701
|
this.isStopped || this._next(r);
|
|
679
702
|
}, t.prototype.error = function(r) {
|
|
@@ -697,7 +720,7 @@ var It = function(e) {
|
|
|
697
720
|
this.unsubscribe();
|
|
698
721
|
}
|
|
699
722
|
}, t;
|
|
700
|
-
}(
|
|
723
|
+
}(me), Ir = function() {
|
|
701
724
|
function e(t) {
|
|
702
725
|
this.partialObserver = t;
|
|
703
726
|
}
|
|
@@ -728,43 +751,43 @@ var It = function(e) {
|
|
|
728
751
|
ie(r);
|
|
729
752
|
}
|
|
730
753
|
}, e;
|
|
731
|
-
}(),
|
|
732
|
-
|
|
754
|
+
}(), Le = function(e) {
|
|
755
|
+
A(t, e);
|
|
733
756
|
function t(r, n, i) {
|
|
734
757
|
var o = e.call(this) || this, s;
|
|
735
|
-
return
|
|
758
|
+
return P(r) || !r ? s = {
|
|
736
759
|
next: r ?? void 0,
|
|
737
760
|
error: n ?? void 0,
|
|
738
761
|
complete: i ?? void 0
|
|
739
|
-
} : s = r, o.destination = new
|
|
762
|
+
} : s = r, o.destination = new Ir(s), o;
|
|
740
763
|
}
|
|
741
764
|
return t;
|
|
742
|
-
}(
|
|
765
|
+
}(Ht);
|
|
743
766
|
function ie(e) {
|
|
744
|
-
|
|
767
|
+
Or(e);
|
|
745
768
|
}
|
|
746
|
-
function
|
|
769
|
+
function Nr(e) {
|
|
747
770
|
throw e;
|
|
748
771
|
}
|
|
749
|
-
var
|
|
772
|
+
var Lr = {
|
|
750
773
|
closed: !0,
|
|
751
|
-
next:
|
|
752
|
-
error:
|
|
753
|
-
complete:
|
|
754
|
-
},
|
|
774
|
+
next: qe,
|
|
775
|
+
error: Nr,
|
|
776
|
+
complete: qe
|
|
777
|
+
}, Cr = function() {
|
|
755
778
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
756
779
|
}();
|
|
757
|
-
function
|
|
780
|
+
function Mr(e) {
|
|
758
781
|
return e;
|
|
759
782
|
}
|
|
760
|
-
function
|
|
761
|
-
return e.length === 0 ?
|
|
783
|
+
function $r(e) {
|
|
784
|
+
return e.length === 0 ? Mr : e.length === 1 ? e[0] : function(r) {
|
|
762
785
|
return e.reduce(function(n, i) {
|
|
763
786
|
return i(n);
|
|
764
787
|
}, r);
|
|
765
788
|
};
|
|
766
789
|
}
|
|
767
|
-
var
|
|
790
|
+
var Ke = function() {
|
|
768
791
|
function e(t) {
|
|
769
792
|
t && (this._subscribe = t);
|
|
770
793
|
}
|
|
@@ -772,7 +795,7 @@ var nt = function() {
|
|
|
772
795
|
var r = new e();
|
|
773
796
|
return r.source = this, r.operator = t, r;
|
|
774
797
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
775
|
-
var i = this, o =
|
|
798
|
+
var i = this, o = Ur(t) ? t : new Le(t, r, n);
|
|
776
799
|
return he(function() {
|
|
777
800
|
var s = i, a = s.operator, u = s.source;
|
|
778
801
|
o.add(a ? a.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -785,8 +808,8 @@ var nt = function() {
|
|
|
785
808
|
}
|
|
786
809
|
}, e.prototype.forEach = function(t, r) {
|
|
787
810
|
var n = this;
|
|
788
|
-
return r =
|
|
789
|
-
var s = new
|
|
811
|
+
return r = et(r), new r(function(i, o) {
|
|
812
|
+
var s = new Le({
|
|
790
813
|
next: function(a) {
|
|
791
814
|
try {
|
|
792
815
|
t(a);
|
|
@@ -802,15 +825,15 @@ var nt = function() {
|
|
|
802
825
|
}, e.prototype._subscribe = function(t) {
|
|
803
826
|
var r;
|
|
804
827
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
805
|
-
}, e.prototype[
|
|
828
|
+
}, e.prototype[Cr] = function() {
|
|
806
829
|
return this;
|
|
807
830
|
}, e.prototype.pipe = function() {
|
|
808
831
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
809
832
|
t[r] = arguments[r];
|
|
810
|
-
return
|
|
833
|
+
return $r(t)(this);
|
|
811
834
|
}, e.prototype.toPromise = function(t) {
|
|
812
835
|
var r = this;
|
|
813
|
-
return t =
|
|
836
|
+
return t = et(t), new t(function(n, i) {
|
|
814
837
|
var o;
|
|
815
838
|
r.subscribe(function(s) {
|
|
816
839
|
return o = s;
|
|
@@ -824,32 +847,32 @@ var nt = function() {
|
|
|
824
847
|
return new e(t);
|
|
825
848
|
}, e;
|
|
826
849
|
}();
|
|
827
|
-
function
|
|
850
|
+
function et(e) {
|
|
828
851
|
var t;
|
|
829
|
-
return (t = e ??
|
|
852
|
+
return (t = e ?? Pr.Promise) !== null && t !== void 0 ? t : Promise;
|
|
830
853
|
}
|
|
831
|
-
function
|
|
832
|
-
return e &&
|
|
854
|
+
function Rr(e) {
|
|
855
|
+
return e && P(e.next) && P(e.error) && P(e.complete);
|
|
833
856
|
}
|
|
834
|
-
function
|
|
835
|
-
return e && e instanceof
|
|
857
|
+
function Ur(e) {
|
|
858
|
+
return e && e instanceof Ht || Rr(e) && wt(e);
|
|
836
859
|
}
|
|
837
|
-
var
|
|
860
|
+
var Dr = Bt(function(e) {
|
|
838
861
|
return function() {
|
|
839
862
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
840
863
|
};
|
|
841
|
-
}),
|
|
842
|
-
|
|
864
|
+
}), Pt = function(e) {
|
|
865
|
+
A(t, e);
|
|
843
866
|
function t() {
|
|
844
867
|
var r = e.call(this) || this;
|
|
845
868
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
846
869
|
}
|
|
847
870
|
return t.prototype.lift = function(r) {
|
|
848
|
-
var n = new
|
|
871
|
+
var n = new tt(this, this);
|
|
849
872
|
return n.operator = r, n;
|
|
850
873
|
}, t.prototype._throwIfClosed = function() {
|
|
851
874
|
if (this.closed)
|
|
852
|
-
throw new
|
|
875
|
+
throw new Dr();
|
|
853
876
|
}, t.prototype.next = function(r) {
|
|
854
877
|
var n = this;
|
|
855
878
|
he(function() {
|
|
@@ -857,7 +880,7 @@ var jr = Pt(function(e) {
|
|
|
857
880
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
858
881
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
859
882
|
try {
|
|
860
|
-
for (var s =
|
|
883
|
+
for (var s = Oe(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
861
884
|
var u = a.value;
|
|
862
885
|
u.next(r);
|
|
863
886
|
}
|
|
@@ -906,20 +929,20 @@ var jr = Pt(function(e) {
|
|
|
906
929
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
907
930
|
}, t.prototype._innerSubscribe = function(r) {
|
|
908
931
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
909
|
-
return o || s ?
|
|
910
|
-
n.currentObservers = null,
|
|
932
|
+
return o || s ? Tt : (this.currentObservers = null, a.push(r), new me(function() {
|
|
933
|
+
n.currentObservers = null, Ne(a, r);
|
|
911
934
|
}));
|
|
912
935
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
913
936
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
914
937
|
i ? r.error(o) : s && r.complete();
|
|
915
938
|
}, t.prototype.asObservable = function() {
|
|
916
|
-
var r = new
|
|
939
|
+
var r = new Ke();
|
|
917
940
|
return r.source = this, r;
|
|
918
941
|
}, t.create = function(r, n) {
|
|
919
|
-
return new
|
|
942
|
+
return new tt(r, n);
|
|
920
943
|
}, t;
|
|
921
|
-
}(
|
|
922
|
-
|
|
944
|
+
}(Ke), tt = function(e) {
|
|
945
|
+
A(t, e);
|
|
923
946
|
function t(r, n) {
|
|
924
947
|
var i = e.call(this) || this;
|
|
925
948
|
return i.destination = r, i.source = n, i;
|
|
@@ -935,17 +958,17 @@ var jr = Pt(function(e) {
|
|
|
935
958
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
936
959
|
}, t.prototype._subscribe = function(r) {
|
|
937
960
|
var n, i;
|
|
938
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
961
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Tt;
|
|
939
962
|
}, t;
|
|
940
|
-
}(
|
|
963
|
+
}(Pt), At = {
|
|
941
964
|
now: function() {
|
|
942
|
-
return (
|
|
965
|
+
return (At.delegate || Date).now();
|
|
943
966
|
},
|
|
944
967
|
delegate: void 0
|
|
945
|
-
},
|
|
946
|
-
|
|
968
|
+
}, Gr = function(e) {
|
|
969
|
+
A(t, e);
|
|
947
970
|
function t(r, n, i) {
|
|
948
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
971
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = At);
|
|
949
972
|
var o = e.call(this) || this;
|
|
950
973
|
return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
|
|
951
974
|
}
|
|
@@ -965,24 +988,24 @@ var jr = Pt(function(e) {
|
|
|
965
988
|
h && o.splice(0, h + 1);
|
|
966
989
|
}
|
|
967
990
|
}, t;
|
|
968
|
-
}(
|
|
969
|
-
const
|
|
970
|
-
if (
|
|
971
|
-
const r = new
|
|
972
|
-
|
|
991
|
+
}(Pt);
|
|
992
|
+
const rt = [], nt = {}, Fr = (e, t = 0) => {
|
|
993
|
+
if (rt.indexOf(e) == -1) {
|
|
994
|
+
const r = new Gr(t);
|
|
995
|
+
nt[e] = r, rt.push(e);
|
|
973
996
|
}
|
|
974
|
-
return
|
|
997
|
+
return nt[e];
|
|
975
998
|
}, U = [];
|
|
976
|
-
function
|
|
999
|
+
function jr(e, t) {
|
|
977
1000
|
return {
|
|
978
|
-
subscribe:
|
|
1001
|
+
subscribe: be(e, t).subscribe
|
|
979
1002
|
};
|
|
980
1003
|
}
|
|
981
|
-
function
|
|
1004
|
+
function be(e, t = T) {
|
|
982
1005
|
let r;
|
|
983
1006
|
const n = /* @__PURE__ */ new Set();
|
|
984
1007
|
function i(a) {
|
|
985
|
-
if (
|
|
1008
|
+
if (Et(e, a) && (e = a, r)) {
|
|
986
1009
|
const u = !U.length;
|
|
987
1010
|
for (const h of n)
|
|
988
1011
|
h[1](), U.push(h, e);
|
|
@@ -996,9 +1019,9 @@ function ge(e, t = w) {
|
|
|
996
1019
|
function o(a) {
|
|
997
1020
|
i(a(e));
|
|
998
1021
|
}
|
|
999
|
-
function s(a, u =
|
|
1022
|
+
function s(a, u = T) {
|
|
1000
1023
|
const h = [a, u];
|
|
1001
|
-
return n.add(h), n.size === 1 && (r = t(i, o) ||
|
|
1024
|
+
return n.add(h), n.size === 1 && (r = t(i, o) || T), a(e), () => {
|
|
1002
1025
|
n.delete(h), n.size === 0 && r && (r(), r = null);
|
|
1003
1026
|
};
|
|
1004
1027
|
}
|
|
@@ -1009,179 +1032,140 @@ function X(e, t, r) {
|
|
|
1009
1032
|
if (!i.every(Boolean))
|
|
1010
1033
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1011
1034
|
const o = t.length < 2;
|
|
1012
|
-
return
|
|
1035
|
+
return jr(r, (s, a) => {
|
|
1013
1036
|
let u = !1;
|
|
1014
1037
|
const h = [];
|
|
1015
|
-
let l = 0, c =
|
|
1038
|
+
let l = 0, c = T;
|
|
1016
1039
|
const f = () => {
|
|
1017
1040
|
if (l)
|
|
1018
1041
|
return;
|
|
1019
1042
|
c();
|
|
1020
|
-
const
|
|
1021
|
-
o ? s(
|
|
1022
|
-
},
|
|
1023
|
-
(
|
|
1024
|
-
|
|
1043
|
+
const y = t(n ? h[0] : h, s, a);
|
|
1044
|
+
o ? s(y) : c = je(y) ? y : T;
|
|
1045
|
+
}, d = i.map(
|
|
1046
|
+
(y, g) => xt(
|
|
1047
|
+
y,
|
|
1025
1048
|
(B) => {
|
|
1026
|
-
h[
|
|
1049
|
+
h[g] = B, l &= ~(1 << g), u && f();
|
|
1027
1050
|
},
|
|
1028
1051
|
() => {
|
|
1029
|
-
l |= 1 <<
|
|
1052
|
+
l |= 1 << g;
|
|
1030
1053
|
}
|
|
1031
1054
|
)
|
|
1032
1055
|
);
|
|
1033
1056
|
return u = !0, f(), function() {
|
|
1034
|
-
|
|
1057
|
+
te(d), c(), u = !1;
|
|
1035
1058
|
};
|
|
1036
1059
|
});
|
|
1037
1060
|
}
|
|
1038
|
-
function
|
|
1039
|
-
return e
|
|
1061
|
+
function kr(e) {
|
|
1062
|
+
return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1040
1063
|
}
|
|
1041
|
-
var
|
|
1042
|
-
return
|
|
1064
|
+
var Vr = function(t) {
|
|
1065
|
+
return zr(t) && !Xr(t);
|
|
1043
1066
|
};
|
|
1044
|
-
function
|
|
1067
|
+
function zr(e) {
|
|
1045
1068
|
return !!e && typeof e == "object";
|
|
1046
1069
|
}
|
|
1047
|
-
function
|
|
1070
|
+
function Xr(e) {
|
|
1048
1071
|
var t = Object.prototype.toString.call(e);
|
|
1049
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1072
|
+
return t === "[object RegExp]" || t === "[object Date]" || Qr(e);
|
|
1050
1073
|
}
|
|
1051
|
-
var
|
|
1052
|
-
function
|
|
1053
|
-
return e.$$typeof ===
|
|
1074
|
+
var Wr = typeof Symbol == "function" && Symbol.for, Zr = Wr ? Symbol.for("react.element") : 60103;
|
|
1075
|
+
function Qr(e) {
|
|
1076
|
+
return e.$$typeof === Zr;
|
|
1054
1077
|
}
|
|
1055
|
-
function
|
|
1078
|
+
function Jr(e) {
|
|
1056
1079
|
return Array.isArray(e) ? [] : {};
|
|
1057
1080
|
}
|
|
1058
|
-
function
|
|
1059
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1081
|
+
function K(e, t) {
|
|
1082
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? j(Jr(e), e, t) : e;
|
|
1060
1083
|
}
|
|
1061
|
-
function
|
|
1084
|
+
function Yr(e, t, r) {
|
|
1062
1085
|
return e.concat(t).map(function(n) {
|
|
1063
|
-
return
|
|
1086
|
+
return K(n, r);
|
|
1064
1087
|
});
|
|
1065
1088
|
}
|
|
1066
|
-
function
|
|
1089
|
+
function qr(e, t) {
|
|
1067
1090
|
if (!t.customMerge)
|
|
1068
|
-
return
|
|
1091
|
+
return j;
|
|
1069
1092
|
var r = t.customMerge(e);
|
|
1070
|
-
return typeof r == "function" ? r :
|
|
1093
|
+
return typeof r == "function" ? r : j;
|
|
1071
1094
|
}
|
|
1072
|
-
function
|
|
1095
|
+
function Kr(e) {
|
|
1073
1096
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1074
1097
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1075
1098
|
}) : [];
|
|
1076
1099
|
}
|
|
1077
|
-
function
|
|
1078
|
-
return Object.keys(e).concat(
|
|
1100
|
+
function it(e) {
|
|
1101
|
+
return Object.keys(e).concat(Kr(e));
|
|
1079
1102
|
}
|
|
1080
|
-
function
|
|
1103
|
+
function Ot(e, t) {
|
|
1081
1104
|
try {
|
|
1082
1105
|
return t in e;
|
|
1083
1106
|
} catch {
|
|
1084
1107
|
return !1;
|
|
1085
1108
|
}
|
|
1086
1109
|
}
|
|
1087
|
-
function
|
|
1088
|
-
return
|
|
1110
|
+
function en(e, t) {
|
|
1111
|
+
return Ot(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1089
1112
|
}
|
|
1090
|
-
function
|
|
1113
|
+
function tn(e, t, r) {
|
|
1091
1114
|
var n = {};
|
|
1092
|
-
return r.isMergeableObject(e) &&
|
|
1093
|
-
n[i] =
|
|
1094
|
-
}),
|
|
1095
|
-
|
|
1115
|
+
return r.isMergeableObject(e) && it(e).forEach(function(i) {
|
|
1116
|
+
n[i] = K(e[i], r);
|
|
1117
|
+
}), it(t).forEach(function(i) {
|
|
1118
|
+
en(e, i) || (Ot(e, i) && r.isMergeableObject(t[i]) ? n[i] = qr(i, r)(e[i], t[i], r) : n[i] = K(t[i], r));
|
|
1096
1119
|
}), n;
|
|
1097
1120
|
}
|
|
1098
|
-
function
|
|
1099
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1121
|
+
function j(e, t, r) {
|
|
1122
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Yr, r.isMergeableObject = r.isMergeableObject || Vr, r.cloneUnlessOtherwiseSpecified = K;
|
|
1100
1123
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1101
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1124
|
+
return o ? n ? r.arrayMerge(e, t, r) : tn(e, t, r) : K(t, r);
|
|
1102
1125
|
}
|
|
1103
|
-
|
|
1126
|
+
j.all = function(t, r) {
|
|
1104
1127
|
if (!Array.isArray(t))
|
|
1105
1128
|
throw new Error("first argument should be an array");
|
|
1106
1129
|
return t.reduce(function(n, i) {
|
|
1107
|
-
return
|
|
1130
|
+
return j(n, i, r);
|
|
1108
1131
|
}, {});
|
|
1109
1132
|
};
|
|
1110
|
-
var
|
|
1111
|
-
const
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
r.__proto__ = n;
|
|
1115
|
-
} || function(r, n) {
|
|
1116
|
-
for (var i in n)
|
|
1117
|
-
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1118
|
-
}, Ue(e, t);
|
|
1119
|
-
};
|
|
1120
|
-
function ye(e, t) {
|
|
1121
|
-
if (typeof t != "function" && t !== null)
|
|
1122
|
-
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1123
|
-
Ue(e, t);
|
|
1124
|
-
function r() {
|
|
1125
|
-
this.constructor = e;
|
|
1126
|
-
}
|
|
1127
|
-
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
1128
|
-
}
|
|
1129
|
-
var H = function() {
|
|
1130
|
-
return H = Object.assign || function(t) {
|
|
1131
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1132
|
-
r = arguments[n];
|
|
1133
|
-
for (var o in r)
|
|
1134
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1135
|
-
}
|
|
1136
|
-
return t;
|
|
1137
|
-
}, H.apply(this, arguments);
|
|
1138
|
-
};
|
|
1139
|
-
function hn(e, t) {
|
|
1140
|
-
var r = {};
|
|
1141
|
-
for (var n in e)
|
|
1142
|
-
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
1143
|
-
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
1144
|
-
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
1145
|
-
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
1146
|
-
return r;
|
|
1147
|
-
}
|
|
1148
|
-
function Be(e, t, r) {
|
|
1149
|
-
if (r || arguments.length === 2)
|
|
1150
|
-
for (var n = 0, i = t.length, o; n < i; n++)
|
|
1151
|
-
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
1152
|
-
return e.concat(o || Array.prototype.slice.call(t));
|
|
1153
|
-
}
|
|
1154
|
-
function we(e, t) {
|
|
1155
|
-
var r = t && t.cache ? t.cache : bn, n = t && t.serializer ? t.serializer : mn, i = t && t.strategy ? t.strategy : fn;
|
|
1133
|
+
var rn = j, nn = rn;
|
|
1134
|
+
const on = /* @__PURE__ */ kr(nn);
|
|
1135
|
+
function _e(e, t) {
|
|
1136
|
+
var r = t && t.cache ? t.cache : fn, n = t && t.serializer ? t.serializer : ln, i = t && t.strategy ? t.strategy : an;
|
|
1156
1137
|
return i(e, {
|
|
1157
1138
|
cache: r,
|
|
1158
1139
|
serializer: n
|
|
1159
1140
|
});
|
|
1160
1141
|
}
|
|
1161
|
-
function
|
|
1142
|
+
function sn(e) {
|
|
1162
1143
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1163
1144
|
}
|
|
1164
|
-
function
|
|
1165
|
-
var i =
|
|
1145
|
+
function It(e, t, r, n) {
|
|
1146
|
+
var i = sn(n) ? n : r(n), o = t.get(i);
|
|
1166
1147
|
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1167
1148
|
}
|
|
1168
|
-
function
|
|
1149
|
+
function Nt(e, t, r) {
|
|
1169
1150
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1170
1151
|
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1171
1152
|
}
|
|
1172
|
-
function
|
|
1153
|
+
function Ve(e, t, r, n, i) {
|
|
1173
1154
|
return r.bind(t, e, n, i);
|
|
1174
1155
|
}
|
|
1175
|
-
function
|
|
1176
|
-
var r = e.length === 1 ?
|
|
1177
|
-
return
|
|
1156
|
+
function an(e, t) {
|
|
1157
|
+
var r = e.length === 1 ? It : Nt;
|
|
1158
|
+
return Ve(e, this, r, t.cache.create(), t.serializer);
|
|
1178
1159
|
}
|
|
1179
|
-
function
|
|
1180
|
-
return
|
|
1160
|
+
function un(e, t) {
|
|
1161
|
+
return Ve(e, this, Nt, t.cache.create(), t.serializer);
|
|
1162
|
+
}
|
|
1163
|
+
function hn(e, t) {
|
|
1164
|
+
return Ve(e, this, It, t.cache.create(), t.serializer);
|
|
1181
1165
|
}
|
|
1182
|
-
var
|
|
1166
|
+
var ln = function() {
|
|
1183
1167
|
return JSON.stringify(arguments);
|
|
1184
|
-
},
|
|
1168
|
+
}, cn = (
|
|
1185
1169
|
/** @class */
|
|
1186
1170
|
function() {
|
|
1187
1171
|
function e() {
|
|
@@ -1193,71 +1177,62 @@ var mn = function() {
|
|
|
1193
1177
|
this.cache[t] = r;
|
|
1194
1178
|
}, e;
|
|
1195
1179
|
}()
|
|
1196
|
-
),
|
|
1180
|
+
), fn = {
|
|
1197
1181
|
create: function() {
|
|
1198
|
-
return new
|
|
1182
|
+
return new cn();
|
|
1199
1183
|
}
|
|
1200
|
-
},
|
|
1201
|
-
variadic:
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1205
|
-
r = arguments[n];
|
|
1206
|
-
for (var o in r)
|
|
1207
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1208
|
-
}
|
|
1209
|
-
return t;
|
|
1210
|
-
}, pe.apply(this, arguments);
|
|
1211
|
-
};
|
|
1212
|
-
var p;
|
|
1184
|
+
}, Se = {
|
|
1185
|
+
variadic: un,
|
|
1186
|
+
monadic: hn
|
|
1187
|
+
}, p;
|
|
1213
1188
|
(function(e) {
|
|
1214
1189
|
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";
|
|
1215
1190
|
})(p || (p = {}));
|
|
1216
|
-
var
|
|
1191
|
+
var E;
|
|
1217
1192
|
(function(e) {
|
|
1218
1193
|
e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
|
|
1219
|
-
})(
|
|
1220
|
-
var
|
|
1194
|
+
})(E || (E = {}));
|
|
1195
|
+
var k;
|
|
1221
1196
|
(function(e) {
|
|
1222
1197
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1223
|
-
})(
|
|
1224
|
-
function
|
|
1225
|
-
return e.type ===
|
|
1198
|
+
})(k || (k = {}));
|
|
1199
|
+
function ot(e) {
|
|
1200
|
+
return e.type === E.literal;
|
|
1226
1201
|
}
|
|
1227
|
-
function
|
|
1228
|
-
return e.type ===
|
|
1202
|
+
function pn(e) {
|
|
1203
|
+
return e.type === E.argument;
|
|
1229
1204
|
}
|
|
1230
|
-
function
|
|
1231
|
-
return e.type ===
|
|
1205
|
+
function Lt(e) {
|
|
1206
|
+
return e.type === E.number;
|
|
1232
1207
|
}
|
|
1233
|
-
function
|
|
1234
|
-
return e.type ===
|
|
1208
|
+
function Ct(e) {
|
|
1209
|
+
return e.type === E.date;
|
|
1235
1210
|
}
|
|
1236
|
-
function
|
|
1237
|
-
return e.type ===
|
|
1211
|
+
function Mt(e) {
|
|
1212
|
+
return e.type === E.time;
|
|
1238
1213
|
}
|
|
1239
|
-
function
|
|
1240
|
-
return e.type ===
|
|
1214
|
+
function $t(e) {
|
|
1215
|
+
return e.type === E.select;
|
|
1241
1216
|
}
|
|
1242
|
-
function
|
|
1243
|
-
return e.type ===
|
|
1217
|
+
function Rt(e) {
|
|
1218
|
+
return e.type === E.plural;
|
|
1244
1219
|
}
|
|
1245
|
-
function
|
|
1246
|
-
return e.type ===
|
|
1220
|
+
function dn(e) {
|
|
1221
|
+
return e.type === E.pound;
|
|
1247
1222
|
}
|
|
1248
|
-
function
|
|
1249
|
-
return e.type ===
|
|
1223
|
+
function Ut(e) {
|
|
1224
|
+
return e.type === E.tag;
|
|
1250
1225
|
}
|
|
1251
|
-
function
|
|
1252
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1226
|
+
function Dt(e) {
|
|
1227
|
+
return !!(e && typeof e == "object" && e.type === k.number);
|
|
1253
1228
|
}
|
|
1254
|
-
function
|
|
1255
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1229
|
+
function Ce(e) {
|
|
1230
|
+
return !!(e && typeof e == "object" && e.type === k.dateTime);
|
|
1256
1231
|
}
|
|
1257
|
-
var
|
|
1258
|
-
function
|
|
1232
|
+
var Gt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, mn = /(?:[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;
|
|
1233
|
+
function bn(e) {
|
|
1259
1234
|
var t = {};
|
|
1260
|
-
return e.replace(
|
|
1235
|
+
return e.replace(mn, function(r) {
|
|
1261
1236
|
var n = r.length;
|
|
1262
1237
|
switch (r[0]) {
|
|
1263
1238
|
case "G":
|
|
@@ -1346,21 +1321,11 @@ function En(e) {
|
|
|
1346
1321
|
return "";
|
|
1347
1322
|
}), t;
|
|
1348
1323
|
}
|
|
1349
|
-
var
|
|
1350
|
-
|
|
1351
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1352
|
-
r = arguments[n];
|
|
1353
|
-
for (var o in r)
|
|
1354
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1355
|
-
}
|
|
1356
|
-
return t;
|
|
1357
|
-
}, E.apply(this, arguments);
|
|
1358
|
-
};
|
|
1359
|
-
var _n = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1360
|
-
function xn(e) {
|
|
1324
|
+
var gn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1325
|
+
function yn(e) {
|
|
1361
1326
|
if (e.length === 0)
|
|
1362
1327
|
throw new Error("Number skeleton cannot be empty");
|
|
1363
|
-
for (var t = e.split(
|
|
1328
|
+
for (var t = e.split(gn).filter(function(f) {
|
|
1364
1329
|
return f.length > 0;
|
|
1365
1330
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1366
1331
|
var o = i[n], s = o.split("/");
|
|
@@ -1375,17 +1340,17 @@ function xn(e) {
|
|
|
1375
1340
|
}
|
|
1376
1341
|
return r;
|
|
1377
1342
|
}
|
|
1378
|
-
function
|
|
1343
|
+
function vn(e) {
|
|
1379
1344
|
return e.replace(/^(.*?)-/, "");
|
|
1380
1345
|
}
|
|
1381
|
-
var
|
|
1382
|
-
function
|
|
1346
|
+
var st = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Ft = /^(@+)?(\+|#+)?[rs]?$/g, En = /(\*)(0+)|(#+)(0+)|(0+)/g, jt = /^(0+)$/;
|
|
1347
|
+
function at(e) {
|
|
1383
1348
|
var t = {};
|
|
1384
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1349
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Ft, function(r, n, i) {
|
|
1385
1350
|
return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
|
|
1386
1351
|
}), t;
|
|
1387
1352
|
}
|
|
1388
|
-
function
|
|
1353
|
+
function kt(e) {
|
|
1389
1354
|
switch (e) {
|
|
1390
1355
|
case "sign-auto":
|
|
1391
1356
|
return {
|
|
@@ -1425,7 +1390,7 @@ function Wt(e) {
|
|
|
1425
1390
|
};
|
|
1426
1391
|
}
|
|
1427
1392
|
}
|
|
1428
|
-
function
|
|
1393
|
+
function xn(e) {
|
|
1429
1394
|
var t;
|
|
1430
1395
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1431
1396
|
notation: "engineering"
|
|
@@ -1433,17 +1398,17 @@ function wn(e) {
|
|
|
1433
1398
|
notation: "scientific"
|
|
1434
1399
|
}, e = e.slice(1)), t) {
|
|
1435
1400
|
var r = e.slice(0, 2);
|
|
1436
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1401
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !jt.test(e))
|
|
1437
1402
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1438
1403
|
t.minimumIntegerDigits = e.length;
|
|
1439
1404
|
}
|
|
1440
1405
|
return t;
|
|
1441
1406
|
}
|
|
1442
|
-
function
|
|
1443
|
-
var t = {}, r =
|
|
1407
|
+
function ut(e) {
|
|
1408
|
+
var t = {}, r = kt(e);
|
|
1444
1409
|
return r || t;
|
|
1445
1410
|
}
|
|
1446
|
-
function
|
|
1411
|
+
function _n(e) {
|
|
1447
1412
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1448
1413
|
var i = n[r];
|
|
1449
1414
|
switch (i.stem) {
|
|
@@ -1467,7 +1432,7 @@ function Tn(e) {
|
|
|
1467
1432
|
continue;
|
|
1468
1433
|
case "measure-unit":
|
|
1469
1434
|
case "unit":
|
|
1470
|
-
t.style = "unit", t.unit =
|
|
1435
|
+
t.style = "unit", t.unit = vn(i.options[0]);
|
|
1471
1436
|
continue;
|
|
1472
1437
|
case "compact-short":
|
|
1473
1438
|
case "K":
|
|
@@ -1478,13 +1443,13 @@ function Tn(e) {
|
|
|
1478
1443
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1479
1444
|
continue;
|
|
1480
1445
|
case "scientific":
|
|
1481
|
-
t =
|
|
1482
|
-
return
|
|
1446
|
+
t = b(b(b({}, t), { notation: "scientific" }), i.options.reduce(function(u, h) {
|
|
1447
|
+
return b(b({}, u), ut(h));
|
|
1483
1448
|
}, {}));
|
|
1484
1449
|
continue;
|
|
1485
1450
|
case "engineering":
|
|
1486
|
-
t =
|
|
1487
|
-
return
|
|
1451
|
+
t = b(b(b({}, t), { notation: "engineering" }), i.options.reduce(function(u, h) {
|
|
1452
|
+
return b(b({}, u), ut(h));
|
|
1488
1453
|
}, {}));
|
|
1489
1454
|
continue;
|
|
1490
1455
|
case "notation-simple":
|
|
@@ -1529,41 +1494,41 @@ function Tn(e) {
|
|
|
1529
1494
|
case "integer-width":
|
|
1530
1495
|
if (i.options.length > 1)
|
|
1531
1496
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1532
|
-
i.options[0].replace(
|
|
1497
|
+
i.options[0].replace(En, function(u, h, l, c, f, d) {
|
|
1533
1498
|
if (h)
|
|
1534
1499
|
t.minimumIntegerDigits = l.length;
|
|
1535
1500
|
else {
|
|
1536
1501
|
if (c && f)
|
|
1537
1502
|
throw new Error("We currently do not support maximum integer digits");
|
|
1538
|
-
if (
|
|
1503
|
+
if (d)
|
|
1539
1504
|
throw new Error("We currently do not support exact integer digits");
|
|
1540
1505
|
}
|
|
1541
1506
|
return "";
|
|
1542
1507
|
});
|
|
1543
1508
|
continue;
|
|
1544
1509
|
}
|
|
1545
|
-
if (
|
|
1510
|
+
if (jt.test(i.stem)) {
|
|
1546
1511
|
t.minimumIntegerDigits = i.stem.length;
|
|
1547
1512
|
continue;
|
|
1548
1513
|
}
|
|
1549
|
-
if (
|
|
1514
|
+
if (st.test(i.stem)) {
|
|
1550
1515
|
if (i.options.length > 1)
|
|
1551
1516
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1552
|
-
i.stem.replace(
|
|
1553
|
-
return l === "*" ? t.minimumFractionDigits = h.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f &&
|
|
1517
|
+
i.stem.replace(st, function(u, h, l, c, f, d) {
|
|
1518
|
+
return l === "*" ? t.minimumFractionDigits = h.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && d ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + d.length) : (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length), "";
|
|
1554
1519
|
});
|
|
1555
1520
|
var o = i.options[0];
|
|
1556
|
-
o === "w" ? t =
|
|
1521
|
+
o === "w" ? t = b(b({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = b(b({}, t), at(o)));
|
|
1557
1522
|
continue;
|
|
1558
1523
|
}
|
|
1559
|
-
if (
|
|
1560
|
-
t =
|
|
1524
|
+
if (Ft.test(i.stem)) {
|
|
1525
|
+
t = b(b({}, t), at(i.stem));
|
|
1561
1526
|
continue;
|
|
1562
1527
|
}
|
|
1563
|
-
var s =
|
|
1564
|
-
s && (t =
|
|
1565
|
-
var a =
|
|
1566
|
-
a && (t =
|
|
1528
|
+
var s = kt(i.stem);
|
|
1529
|
+
s && (t = b(b({}, t), s));
|
|
1530
|
+
var a = xn(i.stem);
|
|
1531
|
+
a && (t = b(b({}, t), a));
|
|
1567
1532
|
}
|
|
1568
1533
|
return t;
|
|
1569
1534
|
}
|
|
@@ -2982,13 +2947,13 @@ var oe = {
|
|
|
2982
2947
|
"h"
|
|
2983
2948
|
]
|
|
2984
2949
|
};
|
|
2985
|
-
function
|
|
2950
|
+
function Sn(e, t) {
|
|
2986
2951
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2987
2952
|
var i = e.charAt(n);
|
|
2988
2953
|
if (i === "j") {
|
|
2989
2954
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2990
2955
|
o++, n++;
|
|
2991
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", h =
|
|
2956
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", h = Bn(t);
|
|
2992
2957
|
for ((h == "H" || h == "k") && (a = 0); a-- > 0; )
|
|
2993
2958
|
r += u;
|
|
2994
2959
|
for (; s-- > 0; )
|
|
@@ -2998,7 +2963,7 @@ function Hn(e, t) {
|
|
|
2998
2963
|
}
|
|
2999
2964
|
return r;
|
|
3000
2965
|
}
|
|
3001
|
-
function
|
|
2966
|
+
function Bn(e) {
|
|
3002
2967
|
var t = e.hourCycle;
|
|
3003
2968
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3004
2969
|
e.hourCycles && // @ts-ignore
|
|
@@ -3020,20 +2985,20 @@ function Pn(e) {
|
|
|
3020
2985
|
var i = oe[n || ""] || oe[r || ""] || oe["".concat(r, "-001")] || oe["001"];
|
|
3021
2986
|
return i[0];
|
|
3022
2987
|
}
|
|
3023
|
-
var
|
|
3024
|
-
function
|
|
2988
|
+
var Be, Tn = new RegExp("^".concat(Gt.source, "*")), wn = new RegExp("".concat(Gt.source, "*$"));
|
|
2989
|
+
function m(e, t) {
|
|
3025
2990
|
return { start: e, end: t };
|
|
3026
2991
|
}
|
|
3027
|
-
var
|
|
2992
|
+
var Hn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Pn = !!String.fromCodePoint, An = !!Object.fromEntries, On = !!String.prototype.codePointAt, In = !!String.prototype.trimStart, Nn = !!String.prototype.trimEnd, Ln = !!Number.isSafeInteger, Cn = Ln ? Number.isSafeInteger : function(e) {
|
|
3028
2993
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3029
|
-
},
|
|
2994
|
+
}, Me = !0;
|
|
3030
2995
|
try {
|
|
3031
|
-
var
|
|
3032
|
-
|
|
2996
|
+
var Mn = zt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2997
|
+
Me = ((Be = Mn.exec("a")) === null || Be === void 0 ? void 0 : Be[0]) === "a";
|
|
3033
2998
|
} catch {
|
|
3034
|
-
|
|
2999
|
+
Me = !1;
|
|
3035
3000
|
}
|
|
3036
|
-
var
|
|
3001
|
+
var ht = Hn ? (
|
|
3037
3002
|
// Native
|
|
3038
3003
|
function(t, r, n) {
|
|
3039
3004
|
return t.startsWith(r, n);
|
|
@@ -3043,7 +3008,7 @@ var pt = In ? (
|
|
|
3043
3008
|
function(t, r, n) {
|
|
3044
3009
|
return t.slice(n, n + r.length) === r;
|
|
3045
3010
|
}
|
|
3046
|
-
),
|
|
3011
|
+
), $e = Pn ? String.fromCodePoint : (
|
|
3047
3012
|
// IE11
|
|
3048
3013
|
function() {
|
|
3049
3014
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3055,9 +3020,9 @@ var pt = In ? (
|
|
|
3055
3020
|
}
|
|
3056
3021
|
return n;
|
|
3057
3022
|
}
|
|
3058
|
-
),
|
|
3023
|
+
), lt = (
|
|
3059
3024
|
// native
|
|
3060
|
-
|
|
3025
|
+
An ? Object.fromEntries : (
|
|
3061
3026
|
// Ponyfill
|
|
3062
3027
|
function(t) {
|
|
3063
3028
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3067,7 +3032,7 @@ var pt = In ? (
|
|
|
3067
3032
|
return r;
|
|
3068
3033
|
}
|
|
3069
3034
|
)
|
|
3070
|
-
),
|
|
3035
|
+
), Vt = On ? (
|
|
3071
3036
|
// Native
|
|
3072
3037
|
function(t, r) {
|
|
3073
3038
|
return t.codePointAt(r);
|
|
@@ -3081,7 +3046,7 @@ var pt = In ? (
|
|
|
3081
3046
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3082
3047
|
}
|
|
3083
3048
|
}
|
|
3084
|
-
),
|
|
3049
|
+
), $n = In ? (
|
|
3085
3050
|
// Native
|
|
3086
3051
|
function(t) {
|
|
3087
3052
|
return t.trimStart();
|
|
@@ -3089,9 +3054,9 @@ var pt = In ? (
|
|
|
3089
3054
|
) : (
|
|
3090
3055
|
// Ponyfill
|
|
3091
3056
|
function(t) {
|
|
3092
|
-
return t.replace(
|
|
3057
|
+
return t.replace(Tn, "");
|
|
3093
3058
|
}
|
|
3094
|
-
),
|
|
3059
|
+
), Rn = Nn ? (
|
|
3095
3060
|
// Native
|
|
3096
3061
|
function(t) {
|
|
3097
3062
|
return t.trimEnd();
|
|
@@ -3099,32 +3064,32 @@ var pt = In ? (
|
|
|
3099
3064
|
) : (
|
|
3100
3065
|
// Ponyfill
|
|
3101
3066
|
function(t) {
|
|
3102
|
-
return t.replace(
|
|
3067
|
+
return t.replace(wn, "");
|
|
3103
3068
|
}
|
|
3104
3069
|
);
|
|
3105
|
-
function
|
|
3070
|
+
function zt(e, t) {
|
|
3106
3071
|
return new RegExp(e, t);
|
|
3107
3072
|
}
|
|
3108
|
-
var
|
|
3109
|
-
if (
|
|
3110
|
-
var
|
|
3111
|
-
|
|
3073
|
+
var Re;
|
|
3074
|
+
if (Me) {
|
|
3075
|
+
var ct = zt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3076
|
+
Re = function(t, r) {
|
|
3112
3077
|
var n;
|
|
3113
|
-
|
|
3114
|
-
var i =
|
|
3078
|
+
ct.lastIndex = r;
|
|
3079
|
+
var i = ct.exec(t);
|
|
3115
3080
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3116
3081
|
};
|
|
3117
3082
|
} else
|
|
3118
|
-
|
|
3083
|
+
Re = function(t, r) {
|
|
3119
3084
|
for (var n = []; ; ) {
|
|
3120
|
-
var i =
|
|
3121
|
-
if (i === void 0 ||
|
|
3085
|
+
var i = Vt(t, r);
|
|
3086
|
+
if (i === void 0 || Xt(i) || Fn(i))
|
|
3122
3087
|
break;
|
|
3123
3088
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3124
3089
|
}
|
|
3125
|
-
return
|
|
3090
|
+
return $e.apply(void 0, n);
|
|
3126
3091
|
};
|
|
3127
|
-
var
|
|
3092
|
+
var Un = (
|
|
3128
3093
|
/** @class */
|
|
3129
3094
|
function() {
|
|
3130
3095
|
function e(t, r) {
|
|
@@ -3148,14 +3113,14 @@ var jn = (
|
|
|
3148
3113
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3149
3114
|
var a = this.clonePosition();
|
|
3150
3115
|
this.bump(), i.push({
|
|
3151
|
-
type:
|
|
3152
|
-
location:
|
|
3116
|
+
type: E.pound,
|
|
3117
|
+
location: m(a, this.clonePosition())
|
|
3153
3118
|
});
|
|
3154
3119
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3155
3120
|
if (n)
|
|
3156
3121
|
break;
|
|
3157
|
-
return this.error(p.UNMATCHED_CLOSING_TAG,
|
|
3158
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3122
|
+
return this.error(p.UNMATCHED_CLOSING_TAG, m(this.clonePosition(), this.clonePosition()));
|
|
3123
|
+
} else if (o === 60 && !this.ignoreTag && Ue(this.peek() || 0)) {
|
|
3159
3124
|
var s = this.parseTag(t, r);
|
|
3160
3125
|
if (s.err)
|
|
3161
3126
|
return s;
|
|
@@ -3176,9 +3141,9 @@ var jn = (
|
|
|
3176
3141
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3177
3142
|
return {
|
|
3178
3143
|
val: {
|
|
3179
|
-
type:
|
|
3144
|
+
type: E.literal,
|
|
3180
3145
|
value: "<".concat(i, "/>"),
|
|
3181
|
-
location:
|
|
3146
|
+
location: m(n, this.clonePosition())
|
|
3182
3147
|
},
|
|
3183
3148
|
err: null
|
|
3184
3149
|
};
|
|
@@ -3188,25 +3153,25 @@ var jn = (
|
|
|
3188
3153
|
return o;
|
|
3189
3154
|
var s = o.val, a = this.clonePosition();
|
|
3190
3155
|
if (this.bumpIf("</")) {
|
|
3191
|
-
if (this.isEOF() || !
|
|
3192
|
-
return this.error(p.INVALID_TAG,
|
|
3156
|
+
if (this.isEOF() || !Ue(this.char()))
|
|
3157
|
+
return this.error(p.INVALID_TAG, m(a, this.clonePosition()));
|
|
3193
3158
|
var u = this.clonePosition(), h = this.parseTagName();
|
|
3194
|
-
return i !== h ? this.error(p.UNMATCHED_CLOSING_TAG,
|
|
3159
|
+
return i !== h ? this.error(p.UNMATCHED_CLOSING_TAG, m(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3195
3160
|
val: {
|
|
3196
|
-
type:
|
|
3161
|
+
type: E.tag,
|
|
3197
3162
|
value: i,
|
|
3198
3163
|
children: s,
|
|
3199
|
-
location:
|
|
3164
|
+
location: m(n, this.clonePosition())
|
|
3200
3165
|
},
|
|
3201
3166
|
err: null
|
|
3202
|
-
} : this.error(p.INVALID_TAG,
|
|
3167
|
+
} : this.error(p.INVALID_TAG, m(a, this.clonePosition())));
|
|
3203
3168
|
} else
|
|
3204
|
-
return this.error(p.UNCLOSED_TAG,
|
|
3169
|
+
return this.error(p.UNCLOSED_TAG, m(n, this.clonePosition()));
|
|
3205
3170
|
} else
|
|
3206
|
-
return this.error(p.INVALID_TAG,
|
|
3171
|
+
return this.error(p.INVALID_TAG, m(n, this.clonePosition()));
|
|
3207
3172
|
}, e.prototype.parseTagName = function() {
|
|
3208
3173
|
var t = this.offset();
|
|
3209
|
-
for (this.bump(); !this.isEOF() &&
|
|
3174
|
+
for (this.bump(); !this.isEOF() && Gn(this.char()); )
|
|
3210
3175
|
this.bump();
|
|
3211
3176
|
return this.message.slice(t, this.offset());
|
|
3212
3177
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3228,14 +3193,14 @@ var jn = (
|
|
|
3228
3193
|
}
|
|
3229
3194
|
break;
|
|
3230
3195
|
}
|
|
3231
|
-
var u =
|
|
3196
|
+
var u = m(n, this.clonePosition());
|
|
3232
3197
|
return {
|
|
3233
|
-
val: { type:
|
|
3198
|
+
val: { type: E.literal, value: i, location: u },
|
|
3234
3199
|
err: null
|
|
3235
3200
|
};
|
|
3236
3201
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3237
3202
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3238
|
-
!
|
|
3203
|
+
!Dn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3239
3204
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3240
3205
|
if (this.isEOF() || this.char() !== 39)
|
|
3241
3206
|
return null;
|
|
@@ -3269,49 +3234,49 @@ var jn = (
|
|
|
3269
3234
|
r.push(n);
|
|
3270
3235
|
this.bump();
|
|
3271
3236
|
}
|
|
3272
|
-
return
|
|
3237
|
+
return $e.apply(void 0, r);
|
|
3273
3238
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3274
3239
|
if (this.isEOF())
|
|
3275
3240
|
return null;
|
|
3276
3241
|
var n = this.char();
|
|
3277
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3242
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), $e(n));
|
|
3278
3243
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3279
3244
|
var n = this.clonePosition();
|
|
3280
3245
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
3281
|
-
return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3246
|
+
return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, m(n, this.clonePosition()));
|
|
3282
3247
|
if (this.char() === 125)
|
|
3283
|
-
return this.bump(), this.error(p.EMPTY_ARGUMENT,
|
|
3248
|
+
return this.bump(), this.error(p.EMPTY_ARGUMENT, m(n, this.clonePosition()));
|
|
3284
3249
|
var i = this.parseIdentifierIfPossible().value;
|
|
3285
3250
|
if (!i)
|
|
3286
|
-
return this.error(p.MALFORMED_ARGUMENT,
|
|
3251
|
+
return this.error(p.MALFORMED_ARGUMENT, m(n, this.clonePosition()));
|
|
3287
3252
|
if (this.bumpSpace(), this.isEOF())
|
|
3288
|
-
return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3253
|
+
return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, m(n, this.clonePosition()));
|
|
3289
3254
|
switch (this.char()) {
|
|
3290
3255
|
case 125:
|
|
3291
3256
|
return this.bump(), {
|
|
3292
3257
|
val: {
|
|
3293
|
-
type:
|
|
3258
|
+
type: E.argument,
|
|
3294
3259
|
// value does not include the opening and closing braces.
|
|
3295
3260
|
value: i,
|
|
3296
|
-
location:
|
|
3261
|
+
location: m(n, this.clonePosition())
|
|
3297
3262
|
},
|
|
3298
3263
|
err: null
|
|
3299
3264
|
};
|
|
3300
3265
|
case 44:
|
|
3301
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3266
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, m(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
|
3302
3267
|
default:
|
|
3303
|
-
return this.error(p.MALFORMED_ARGUMENT,
|
|
3268
|
+
return this.error(p.MALFORMED_ARGUMENT, m(n, this.clonePosition()));
|
|
3304
3269
|
}
|
|
3305
3270
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3306
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3271
|
+
var t = this.clonePosition(), r = this.offset(), n = Re(this.message, r), i = r + n.length;
|
|
3307
3272
|
this.bumpTo(i);
|
|
3308
|
-
var o = this.clonePosition(), s =
|
|
3273
|
+
var o = this.clonePosition(), s = m(t, o);
|
|
3309
3274
|
return { value: n, location: s };
|
|
3310
3275
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
3311
3276
|
var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, u = this.clonePosition();
|
|
3312
3277
|
switch (a) {
|
|
3313
3278
|
case "":
|
|
3314
|
-
return this.error(p.EXPECT_ARGUMENT_TYPE,
|
|
3279
|
+
return this.error(p.EXPECT_ARGUMENT_TYPE, m(s, u));
|
|
3315
3280
|
case "number":
|
|
3316
3281
|
case "date":
|
|
3317
3282
|
case "time": {
|
|
@@ -3322,46 +3287,46 @@ var jn = (
|
|
|
3322
3287
|
var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
3323
3288
|
if (c.err)
|
|
3324
3289
|
return c;
|
|
3325
|
-
var f =
|
|
3290
|
+
var f = Rn(c.val);
|
|
3326
3291
|
if (f.length === 0)
|
|
3327
|
-
return this.error(p.EXPECT_ARGUMENT_STYLE,
|
|
3328
|
-
var
|
|
3329
|
-
h = { style: f, styleLocation:
|
|
3292
|
+
return this.error(p.EXPECT_ARGUMENT_STYLE, m(this.clonePosition(), this.clonePosition()));
|
|
3293
|
+
var d = m(l, this.clonePosition());
|
|
3294
|
+
h = { style: f, styleLocation: d };
|
|
3330
3295
|
}
|
|
3331
|
-
var
|
|
3332
|
-
if (
|
|
3333
|
-
return
|
|
3334
|
-
var
|
|
3335
|
-
if (h &&
|
|
3336
|
-
var B =
|
|
3296
|
+
var y = this.tryParseArgumentClose(i);
|
|
3297
|
+
if (y.err)
|
|
3298
|
+
return y;
|
|
3299
|
+
var g = m(i, this.clonePosition());
|
|
3300
|
+
if (h && ht(h?.style, "::", 0)) {
|
|
3301
|
+
var B = $n(h.style.slice(2));
|
|
3337
3302
|
if (a === "number") {
|
|
3338
3303
|
var c = this.parseNumberSkeletonFromString(B, h.styleLocation);
|
|
3339
3304
|
return c.err ? c : {
|
|
3340
|
-
val: { type:
|
|
3305
|
+
val: { type: E.number, value: n, location: g, style: c.val },
|
|
3341
3306
|
err: null
|
|
3342
3307
|
};
|
|
3343
3308
|
} else {
|
|
3344
3309
|
if (B.length === 0)
|
|
3345
|
-
return this.error(p.EXPECT_DATE_TIME_SKELETON,
|
|
3310
|
+
return this.error(p.EXPECT_DATE_TIME_SKELETON, g);
|
|
3346
3311
|
var N = B;
|
|
3347
|
-
this.locale && (N =
|
|
3312
|
+
this.locale && (N = Sn(B, this.locale));
|
|
3348
3313
|
var f = {
|
|
3349
|
-
type:
|
|
3314
|
+
type: k.dateTime,
|
|
3350
3315
|
pattern: N,
|
|
3351
3316
|
location: h.styleLocation,
|
|
3352
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3353
|
-
}, O = a === "date" ?
|
|
3317
|
+
parsedOptions: this.shouldParseSkeletons ? bn(N) : {}
|
|
3318
|
+
}, O = a === "date" ? E.date : E.time;
|
|
3354
3319
|
return {
|
|
3355
|
-
val: { type: O, value: n, location:
|
|
3320
|
+
val: { type: O, value: n, location: g, style: f },
|
|
3356
3321
|
err: null
|
|
3357
3322
|
};
|
|
3358
3323
|
}
|
|
3359
3324
|
}
|
|
3360
3325
|
return {
|
|
3361
3326
|
val: {
|
|
3362
|
-
type: a === "number" ?
|
|
3327
|
+
type: a === "number" ? E.number : a === "date" ? E.date : E.time,
|
|
3363
3328
|
value: n,
|
|
3364
|
-
location:
|
|
3329
|
+
location: g,
|
|
3365
3330
|
style: (o = h?.style) !== null && o !== void 0 ? o : null
|
|
3366
3331
|
},
|
|
3367
3332
|
err: null
|
|
@@ -3370,40 +3335,40 @@ var jn = (
|
|
|
3370
3335
|
case "plural":
|
|
3371
3336
|
case "selectordinal":
|
|
3372
3337
|
case "select": {
|
|
3373
|
-
var
|
|
3338
|
+
var _ = this.clonePosition();
|
|
3374
3339
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3375
|
-
return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS,
|
|
3340
|
+
return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, m(_, b({}, _)));
|
|
3376
3341
|
this.bumpSpace();
|
|
3377
|
-
var
|
|
3378
|
-
if (a !== "select" &&
|
|
3342
|
+
var w = this.parseIdentifierIfPossible(), S = 0;
|
|
3343
|
+
if (a !== "select" && w.value === "offset") {
|
|
3379
3344
|
if (!this.bumpIf(":"))
|
|
3380
|
-
return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,
|
|
3345
|
+
return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, m(this.clonePosition(), this.clonePosition()));
|
|
3381
3346
|
this.bumpSpace();
|
|
3382
3347
|
var c = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3383
3348
|
if (c.err)
|
|
3384
3349
|
return c;
|
|
3385
|
-
this.bumpSpace(),
|
|
3350
|
+
this.bumpSpace(), w = this.parseIdentifierIfPossible(), S = c.val;
|
|
3386
3351
|
}
|
|
3387
|
-
var M = this.tryParsePluralOrSelectOptions(t, a, r,
|
|
3352
|
+
var M = this.tryParsePluralOrSelectOptions(t, a, r, w);
|
|
3388
3353
|
if (M.err)
|
|
3389
3354
|
return M;
|
|
3390
|
-
var
|
|
3391
|
-
if (
|
|
3392
|
-
return
|
|
3393
|
-
var ne =
|
|
3355
|
+
var y = this.tryParseArgumentClose(i);
|
|
3356
|
+
if (y.err)
|
|
3357
|
+
return y;
|
|
3358
|
+
var ne = m(i, this.clonePosition());
|
|
3394
3359
|
return a === "select" ? {
|
|
3395
3360
|
val: {
|
|
3396
|
-
type:
|
|
3361
|
+
type: E.select,
|
|
3397
3362
|
value: n,
|
|
3398
|
-
options:
|
|
3363
|
+
options: lt(M.val),
|
|
3399
3364
|
location: ne
|
|
3400
3365
|
},
|
|
3401
3366
|
err: null
|
|
3402
3367
|
} : {
|
|
3403
3368
|
val: {
|
|
3404
|
-
type:
|
|
3369
|
+
type: E.plural,
|
|
3405
3370
|
value: n,
|
|
3406
|
-
options:
|
|
3371
|
+
options: lt(M.val),
|
|
3407
3372
|
offset: S,
|
|
3408
3373
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3409
3374
|
location: ne
|
|
@@ -3412,10 +3377,10 @@ var jn = (
|
|
|
3412
3377
|
};
|
|
3413
3378
|
}
|
|
3414
3379
|
default:
|
|
3415
|
-
return this.error(p.INVALID_ARGUMENT_TYPE,
|
|
3380
|
+
return this.error(p.INVALID_ARGUMENT_TYPE, m(s, u));
|
|
3416
3381
|
}
|
|
3417
3382
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3418
|
-
return this.isEOF() || this.char() !== 125 ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3383
|
+
return this.isEOF() || this.char() !== 125 ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, m(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
3419
3384
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
3420
3385
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
3421
3386
|
var n = this.char();
|
|
@@ -3424,7 +3389,7 @@ var jn = (
|
|
|
3424
3389
|
this.bump();
|
|
3425
3390
|
var i = this.clonePosition();
|
|
3426
3391
|
if (!this.bumpUntil("'"))
|
|
3427
|
-
return this.error(p.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,
|
|
3392
|
+
return this.error(p.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, m(i, this.clonePosition()));
|
|
3428
3393
|
this.bump();
|
|
3429
3394
|
break;
|
|
3430
3395
|
}
|
|
@@ -3454,16 +3419,16 @@ var jn = (
|
|
|
3454
3419
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3455
3420
|
var n = [];
|
|
3456
3421
|
try {
|
|
3457
|
-
n =
|
|
3422
|
+
n = yn(t);
|
|
3458
3423
|
} catch {
|
|
3459
3424
|
return this.error(p.INVALID_NUMBER_SKELETON, r);
|
|
3460
3425
|
}
|
|
3461
3426
|
return {
|
|
3462
3427
|
val: {
|
|
3463
|
-
type:
|
|
3428
|
+
type: k.number,
|
|
3464
3429
|
tokens: n,
|
|
3465
3430
|
location: r,
|
|
3466
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3431
|
+
parsedOptions: this.shouldParseSkeletons ? _n(n) : {}
|
|
3467
3432
|
},
|
|
3468
3433
|
err: null
|
|
3469
3434
|
};
|
|
@@ -3475,31 +3440,31 @@ var jn = (
|
|
|
3475
3440
|
var f = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_SELECTOR, p.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3476
3441
|
if (f.err)
|
|
3477
3442
|
return f;
|
|
3478
|
-
l =
|
|
3443
|
+
l = m(c, this.clonePosition()), h = this.message.slice(c.offset, this.offset());
|
|
3479
3444
|
} else
|
|
3480
3445
|
break;
|
|
3481
3446
|
}
|
|
3482
3447
|
if (u.has(h))
|
|
3483
3448
|
return this.error(r === "select" ? p.DUPLICATE_SELECT_ARGUMENT_SELECTOR : p.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
|
|
3484
3449
|
h === "other" && (s = !0), this.bumpSpace();
|
|
3485
|
-
var
|
|
3450
|
+
var d = this.clonePosition();
|
|
3486
3451
|
if (!this.bumpIf("{"))
|
|
3487
|
-
return this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,
|
|
3488
|
-
var
|
|
3452
|
+
return this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, m(this.clonePosition(), this.clonePosition()));
|
|
3453
|
+
var y = this.parseMessage(t + 1, r, n);
|
|
3454
|
+
if (y.err)
|
|
3455
|
+
return y;
|
|
3456
|
+
var g = this.tryParseArgumentClose(d);
|
|
3489
3457
|
if (g.err)
|
|
3490
3458
|
return g;
|
|
3491
|
-
var b = this.tryParseArgumentClose(m);
|
|
3492
|
-
if (b.err)
|
|
3493
|
-
return b;
|
|
3494
3459
|
a.push([
|
|
3495
3460
|
h,
|
|
3496
3461
|
{
|
|
3497
|
-
value:
|
|
3498
|
-
location: d
|
|
3462
|
+
value: y.val,
|
|
3463
|
+
location: m(d, this.clonePosition())
|
|
3499
3464
|
}
|
|
3500
3465
|
]), u.add(h), this.bumpSpace(), o = this.parseIdentifierIfPossible(), h = o.value, l = o.location;
|
|
3501
3466
|
}
|
|
3502
|
-
return a.length === 0 ? this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR : p.EXPECT_PLURAL_ARGUMENT_SELECTOR,
|
|
3467
|
+
return a.length === 0 ? this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR : p.EXPECT_PLURAL_ARGUMENT_SELECTOR, m(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(p.MISSING_OTHER_CLAUSE, m(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
|
|
3503
3468
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3504
3469
|
var n = 1, i = this.clonePosition();
|
|
3505
3470
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
@@ -3510,8 +3475,8 @@ var jn = (
|
|
|
3510
3475
|
else
|
|
3511
3476
|
break;
|
|
3512
3477
|
}
|
|
3513
|
-
var u =
|
|
3514
|
-
return o ? (s *= n,
|
|
3478
|
+
var u = m(i, this.clonePosition());
|
|
3479
|
+
return o ? (s *= n, Cn(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
|
|
3515
3480
|
}, e.prototype.offset = function() {
|
|
3516
3481
|
return this.position.offset;
|
|
3517
3482
|
}, e.prototype.isEOF = function() {
|
|
@@ -3526,7 +3491,7 @@ var jn = (
|
|
|
3526
3491
|
var t = this.position.offset;
|
|
3527
3492
|
if (t >= this.message.length)
|
|
3528
3493
|
throw Error("out of bound");
|
|
3529
|
-
var r =
|
|
3494
|
+
var r = Vt(this.message, t);
|
|
3530
3495
|
if (r === void 0)
|
|
3531
3496
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3532
3497
|
return r;
|
|
@@ -3545,7 +3510,7 @@ var jn = (
|
|
|
3545
3510
|
t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
|
|
3546
3511
|
}
|
|
3547
3512
|
}, e.prototype.bumpIf = function(t) {
|
|
3548
|
-
if (
|
|
3513
|
+
if (ht(this.message, t, this.offset())) {
|
|
3549
3514
|
for (var r = 0; r < t.length; r++)
|
|
3550
3515
|
this.bump();
|
|
3551
3516
|
return !0;
|
|
@@ -3567,7 +3532,7 @@ var jn = (
|
|
|
3567
3532
|
break;
|
|
3568
3533
|
}
|
|
3569
3534
|
}, e.prototype.bumpSpace = function() {
|
|
3570
|
-
for (; !this.isEOF() &&
|
|
3535
|
+
for (; !this.isEOF() && Xt(this.char()); )
|
|
3571
3536
|
this.bump();
|
|
3572
3537
|
}, e.prototype.peek = function() {
|
|
3573
3538
|
if (this.isEOF())
|
|
@@ -3577,47 +3542,47 @@ var jn = (
|
|
|
3577
3542
|
}, e;
|
|
3578
3543
|
}()
|
|
3579
3544
|
);
|
|
3580
|
-
function
|
|
3545
|
+
function Ue(e) {
|
|
3581
3546
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3582
3547
|
}
|
|
3583
|
-
function
|
|
3584
|
-
return
|
|
3548
|
+
function Dn(e) {
|
|
3549
|
+
return Ue(e) || e === 47;
|
|
3585
3550
|
}
|
|
3586
|
-
function
|
|
3551
|
+
function Gn(e) {
|
|
3587
3552
|
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;
|
|
3588
3553
|
}
|
|
3589
|
-
function
|
|
3554
|
+
function Xt(e) {
|
|
3590
3555
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3591
3556
|
}
|
|
3592
|
-
function
|
|
3557
|
+
function Fn(e) {
|
|
3593
3558
|
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;
|
|
3594
3559
|
}
|
|
3595
|
-
function
|
|
3560
|
+
function De(e) {
|
|
3596
3561
|
e.forEach(function(t) {
|
|
3597
|
-
if (delete t.location,
|
|
3562
|
+
if (delete t.location, $t(t) || Rt(t))
|
|
3598
3563
|
for (var r in t.options)
|
|
3599
|
-
delete t.options[r].location,
|
|
3564
|
+
delete t.options[r].location, De(t.options[r].value);
|
|
3600
3565
|
else
|
|
3601
|
-
|
|
3566
|
+
Lt(t) && Dt(t.style) || (Ct(t) || Mt(t)) && Ce(t.style) ? delete t.style.location : Ut(t) && De(t.children);
|
|
3602
3567
|
});
|
|
3603
3568
|
}
|
|
3604
|
-
function
|
|
3605
|
-
t === void 0 && (t = {}), t =
|
|
3606
|
-
var r = new
|
|
3569
|
+
function jn(e, t) {
|
|
3570
|
+
t === void 0 && (t = {}), t = b({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3571
|
+
var r = new Un(e, t).parse();
|
|
3607
3572
|
if (r.err) {
|
|
3608
3573
|
var n = SyntaxError(p[r.err.kind]);
|
|
3609
3574
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3610
3575
|
}
|
|
3611
|
-
return t?.captureLocation ||
|
|
3576
|
+
return t?.captureLocation || De(r.val), r.val;
|
|
3612
3577
|
}
|
|
3613
|
-
var
|
|
3578
|
+
var V;
|
|
3614
3579
|
(function(e) {
|
|
3615
3580
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3616
|
-
})(
|
|
3617
|
-
var
|
|
3581
|
+
})(V || (V = {}));
|
|
3582
|
+
var ge = (
|
|
3618
3583
|
/** @class */
|
|
3619
3584
|
function(e) {
|
|
3620
|
-
|
|
3585
|
+
A(t, e);
|
|
3621
3586
|
function t(r, n, i) {
|
|
3622
3587
|
var o = e.call(this, r) || this;
|
|
3623
3588
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3626,155 +3591,155 @@ var ve = (
|
|
|
3626
3591
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3627
3592
|
}, t;
|
|
3628
3593
|
}(Error)
|
|
3629
|
-
),
|
|
3594
|
+
), ft = (
|
|
3630
3595
|
/** @class */
|
|
3631
3596
|
function(e) {
|
|
3632
|
-
|
|
3597
|
+
A(t, e);
|
|
3633
3598
|
function t(r, n, i, o) {
|
|
3634
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3599
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), V.INVALID_VALUE, o) || this;
|
|
3635
3600
|
}
|
|
3636
3601
|
return t;
|
|
3637
|
-
}(
|
|
3638
|
-
),
|
|
3602
|
+
}(ge)
|
|
3603
|
+
), kn = (
|
|
3639
3604
|
/** @class */
|
|
3640
3605
|
function(e) {
|
|
3641
|
-
|
|
3606
|
+
A(t, e);
|
|
3642
3607
|
function t(r, n, i) {
|
|
3643
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3608
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), V.INVALID_VALUE, i) || this;
|
|
3644
3609
|
}
|
|
3645
3610
|
return t;
|
|
3646
|
-
}(
|
|
3647
|
-
),
|
|
3611
|
+
}(ge)
|
|
3612
|
+
), Vn = (
|
|
3648
3613
|
/** @class */
|
|
3649
3614
|
function(e) {
|
|
3650
|
-
|
|
3615
|
+
A(t, e);
|
|
3651
3616
|
function t(r, n) {
|
|
3652
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3617
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), V.MISSING_VALUE, n) || this;
|
|
3653
3618
|
}
|
|
3654
3619
|
return t;
|
|
3655
|
-
}(
|
|
3656
|
-
),
|
|
3620
|
+
}(ge)
|
|
3621
|
+
), x;
|
|
3657
3622
|
(function(e) {
|
|
3658
3623
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3659
|
-
})(
|
|
3660
|
-
function
|
|
3624
|
+
})(x || (x = {}));
|
|
3625
|
+
function zn(e) {
|
|
3661
3626
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3662
3627
|
var n = t[t.length - 1];
|
|
3663
|
-
return !n || n.type !==
|
|
3628
|
+
return !n || n.type !== x.literal || r.type !== x.literal ? t.push(r) : n.value += r.value, t;
|
|
3664
3629
|
}, []);
|
|
3665
3630
|
}
|
|
3666
|
-
function
|
|
3631
|
+
function Xn(e) {
|
|
3667
3632
|
return typeof e == "function";
|
|
3668
3633
|
}
|
|
3669
3634
|
function le(e, t, r, n, i, o, s) {
|
|
3670
|
-
if (e.length === 1 &&
|
|
3635
|
+
if (e.length === 1 && ot(e[0]))
|
|
3671
3636
|
return [
|
|
3672
3637
|
{
|
|
3673
|
-
type:
|
|
3638
|
+
type: x.literal,
|
|
3674
3639
|
value: e[0].value
|
|
3675
3640
|
}
|
|
3676
3641
|
];
|
|
3677
3642
|
for (var a = [], u = 0, h = e; u < h.length; u++) {
|
|
3678
3643
|
var l = h[u];
|
|
3679
|
-
if (
|
|
3644
|
+
if (ot(l)) {
|
|
3680
3645
|
a.push({
|
|
3681
|
-
type:
|
|
3646
|
+
type: x.literal,
|
|
3682
3647
|
value: l.value
|
|
3683
3648
|
});
|
|
3684
3649
|
continue;
|
|
3685
3650
|
}
|
|
3686
|
-
if (
|
|
3651
|
+
if (dn(l)) {
|
|
3687
3652
|
typeof o == "number" && a.push({
|
|
3688
|
-
type:
|
|
3653
|
+
type: x.literal,
|
|
3689
3654
|
value: r.getNumberFormat(t).format(o)
|
|
3690
3655
|
});
|
|
3691
3656
|
continue;
|
|
3692
3657
|
}
|
|
3693
3658
|
var c = l.value;
|
|
3694
3659
|
if (!(i && c in i))
|
|
3695
|
-
throw new
|
|
3660
|
+
throw new Vn(c, s);
|
|
3696
3661
|
var f = i[c];
|
|
3697
|
-
if (
|
|
3662
|
+
if (pn(l)) {
|
|
3698
3663
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
|
|
3699
|
-
type: typeof f == "string" ?
|
|
3664
|
+
type: typeof f == "string" ? x.literal : x.object,
|
|
3700
3665
|
value: f
|
|
3701
3666
|
});
|
|
3702
3667
|
continue;
|
|
3703
3668
|
}
|
|
3704
|
-
if (
|
|
3705
|
-
var
|
|
3669
|
+
if (Ct(l)) {
|
|
3670
|
+
var d = typeof l.style == "string" ? n.date[l.style] : Ce(l.style) ? l.style.parsedOptions : void 0;
|
|
3706
3671
|
a.push({
|
|
3707
|
-
type:
|
|
3708
|
-
value: r.getDateTimeFormat(t,
|
|
3672
|
+
type: x.literal,
|
|
3673
|
+
value: r.getDateTimeFormat(t, d).format(f)
|
|
3709
3674
|
});
|
|
3710
3675
|
continue;
|
|
3711
3676
|
}
|
|
3712
|
-
if (
|
|
3713
|
-
var
|
|
3677
|
+
if (Mt(l)) {
|
|
3678
|
+
var d = typeof l.style == "string" ? n.time[l.style] : Ce(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
3714
3679
|
a.push({
|
|
3715
|
-
type:
|
|
3716
|
-
value: r.getDateTimeFormat(t,
|
|
3680
|
+
type: x.literal,
|
|
3681
|
+
value: r.getDateTimeFormat(t, d).format(f)
|
|
3717
3682
|
});
|
|
3718
3683
|
continue;
|
|
3719
3684
|
}
|
|
3720
|
-
if (
|
|
3721
|
-
var
|
|
3722
|
-
|
|
3723
|
-
type:
|
|
3724
|
-
value: r.getNumberFormat(t,
|
|
3685
|
+
if (Lt(l)) {
|
|
3686
|
+
var d = typeof l.style == "string" ? n.number[l.style] : Dt(l.style) ? l.style.parsedOptions : void 0;
|
|
3687
|
+
d && d.scale && (f = f * (d.scale || 1)), a.push({
|
|
3688
|
+
type: x.literal,
|
|
3689
|
+
value: r.getNumberFormat(t, d).format(f)
|
|
3725
3690
|
});
|
|
3726
3691
|
continue;
|
|
3727
3692
|
}
|
|
3728
|
-
if (
|
|
3729
|
-
var
|
|
3730
|
-
if (!
|
|
3731
|
-
throw new
|
|
3732
|
-
var N = le(
|
|
3693
|
+
if (Ut(l)) {
|
|
3694
|
+
var y = l.children, g = l.value, B = i[g];
|
|
3695
|
+
if (!Xn(B))
|
|
3696
|
+
throw new kn(g, "function", s);
|
|
3697
|
+
var N = le(y, t, r, n, i, o), O = B(N.map(function(S) {
|
|
3733
3698
|
return S.value;
|
|
3734
3699
|
}));
|
|
3735
3700
|
Array.isArray(O) || (O = [O]), a.push.apply(a, O.map(function(S) {
|
|
3736
3701
|
return {
|
|
3737
|
-
type: typeof S == "string" ?
|
|
3702
|
+
type: typeof S == "string" ? x.literal : x.object,
|
|
3738
3703
|
value: S
|
|
3739
3704
|
};
|
|
3740
3705
|
}));
|
|
3741
3706
|
}
|
|
3742
|
-
if (
|
|
3743
|
-
var
|
|
3744
|
-
if (!
|
|
3745
|
-
throw new
|
|
3746
|
-
a.push.apply(a, le(
|
|
3707
|
+
if ($t(l)) {
|
|
3708
|
+
var _ = l.options[f] || l.options.other;
|
|
3709
|
+
if (!_)
|
|
3710
|
+
throw new ft(l.value, f, Object.keys(l.options), s);
|
|
3711
|
+
a.push.apply(a, le(_.value, t, r, n, i));
|
|
3747
3712
|
continue;
|
|
3748
3713
|
}
|
|
3749
|
-
if (
|
|
3750
|
-
var
|
|
3751
|
-
if (!
|
|
3714
|
+
if (Rt(l)) {
|
|
3715
|
+
var _ = l.options["=".concat(f)];
|
|
3716
|
+
if (!_) {
|
|
3752
3717
|
if (!Intl.PluralRules)
|
|
3753
|
-
throw new
|
|
3718
|
+
throw new ge(`Intl.PluralRules is not available in this environment.
|
|
3754
3719
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3755
|
-
`,
|
|
3756
|
-
var
|
|
3757
|
-
|
|
3720
|
+
`, V.MISSING_INTL_API, s);
|
|
3721
|
+
var w = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
|
|
3722
|
+
_ = l.options[w] || l.options.other;
|
|
3758
3723
|
}
|
|
3759
|
-
if (!
|
|
3760
|
-
throw new
|
|
3761
|
-
a.push.apply(a, le(
|
|
3724
|
+
if (!_)
|
|
3725
|
+
throw new ft(l.value, f, Object.keys(l.options), s);
|
|
3726
|
+
a.push.apply(a, le(_.value, t, r, n, i, f - (l.offset || 0)));
|
|
3762
3727
|
continue;
|
|
3763
3728
|
}
|
|
3764
3729
|
}
|
|
3765
|
-
return
|
|
3730
|
+
return zn(a);
|
|
3766
3731
|
}
|
|
3767
|
-
function
|
|
3768
|
-
return t ?
|
|
3769
|
-
return r[n] =
|
|
3732
|
+
function Wn(e, t) {
|
|
3733
|
+
return t ? b(b(b({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3734
|
+
return r[n] = b(b({}, e[n]), t[n] || {}), r;
|
|
3770
3735
|
}, {})) : e;
|
|
3771
3736
|
}
|
|
3772
|
-
function
|
|
3737
|
+
function Zn(e, t) {
|
|
3773
3738
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3774
|
-
return r[n] =
|
|
3775
|
-
},
|
|
3739
|
+
return r[n] = Wn(e[n], t[n]), r;
|
|
3740
|
+
}, b({}, e)) : e;
|
|
3776
3741
|
}
|
|
3777
|
-
function
|
|
3742
|
+
function Te(e) {
|
|
3778
3743
|
return {
|
|
3779
3744
|
create: function() {
|
|
3780
3745
|
return {
|
|
@@ -3788,39 +3753,39 @@ function Pe(e) {
|
|
|
3788
3753
|
}
|
|
3789
3754
|
};
|
|
3790
3755
|
}
|
|
3791
|
-
function
|
|
3756
|
+
function Qn(e) {
|
|
3792
3757
|
return e === void 0 && (e = {
|
|
3793
3758
|
number: {},
|
|
3794
3759
|
dateTime: {},
|
|
3795
3760
|
pluralRules: {}
|
|
3796
3761
|
}), {
|
|
3797
|
-
getNumberFormat:
|
|
3762
|
+
getNumberFormat: _e(function() {
|
|
3798
3763
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3799
3764
|
r[n] = arguments[n];
|
|
3800
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3765
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, F([void 0], r, !1)))();
|
|
3801
3766
|
}, {
|
|
3802
|
-
cache:
|
|
3803
|
-
strategy:
|
|
3767
|
+
cache: Te(e.number),
|
|
3768
|
+
strategy: Se.variadic
|
|
3804
3769
|
}),
|
|
3805
|
-
getDateTimeFormat:
|
|
3770
|
+
getDateTimeFormat: _e(function() {
|
|
3806
3771
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3807
3772
|
r[n] = arguments[n];
|
|
3808
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3773
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, F([void 0], r, !1)))();
|
|
3809
3774
|
}, {
|
|
3810
|
-
cache:
|
|
3811
|
-
strategy:
|
|
3775
|
+
cache: Te(e.dateTime),
|
|
3776
|
+
strategy: Se.variadic
|
|
3812
3777
|
}),
|
|
3813
|
-
getPluralRules:
|
|
3778
|
+
getPluralRules: _e(function() {
|
|
3814
3779
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3815
3780
|
r[n] = arguments[n];
|
|
3816
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3781
|
+
return new ((t = Intl.PluralRules).bind.apply(t, F([void 0], r, !1)))();
|
|
3817
3782
|
}, {
|
|
3818
|
-
cache:
|
|
3819
|
-
strategy:
|
|
3783
|
+
cache: Te(e.pluralRules),
|
|
3784
|
+
strategy: Se.variadic
|
|
3820
3785
|
})
|
|
3821
3786
|
};
|
|
3822
3787
|
}
|
|
3823
|
-
var
|
|
3788
|
+
var Jn = (
|
|
3824
3789
|
/** @class */
|
|
3825
3790
|
function() {
|
|
3826
3791
|
function e(t, r, n, i) {
|
|
@@ -3835,7 +3800,7 @@ var ei = (
|
|
|
3835
3800
|
if (h.length === 1)
|
|
3836
3801
|
return h[0].value;
|
|
3837
3802
|
var l = h.reduce(function(c, f) {
|
|
3838
|
-
return !c.length || f.type !==
|
|
3803
|
+
return !c.length || f.type !== x.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
|
|
3839
3804
|
}, []);
|
|
3840
3805
|
return l.length <= 1 ? l[0] || "" : l;
|
|
3841
3806
|
}, this.formatToParts = function(u) {
|
|
@@ -3852,13 +3817,13 @@ var ei = (
|
|
|
3852
3817
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3853
3818
|
var s = i || {};
|
|
3854
3819
|
s.formatters;
|
|
3855
|
-
var a =
|
|
3856
|
-
this.ast = e.__parse(t,
|
|
3820
|
+
var a = Hr(s, ["formatters"]);
|
|
3821
|
+
this.ast = e.__parse(t, b(b({}, a), { locale: this.resolvedLocale }));
|
|
3857
3822
|
} else
|
|
3858
3823
|
this.ast = t;
|
|
3859
3824
|
if (!Array.isArray(this.ast))
|
|
3860
3825
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3861
|
-
this.formats =
|
|
3826
|
+
this.formats = Zn(e.formats, n), this.formatters = i && i.formatters || Qn(this.formatterCache);
|
|
3862
3827
|
}
|
|
3863
3828
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3864
3829
|
get: function() {
|
|
@@ -3871,7 +3836,7 @@ var ei = (
|
|
|
3871
3836
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3872
3837
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3873
3838
|
}
|
|
3874
|
-
}, e.__parse =
|
|
3839
|
+
}, e.__parse = jn, e.formats = {
|
|
3875
3840
|
number: {
|
|
3876
3841
|
integer: {
|
|
3877
3842
|
maximumFractionDigits: 0
|
|
@@ -3932,7 +3897,7 @@ var ei = (
|
|
|
3932
3897
|
}, e;
|
|
3933
3898
|
}()
|
|
3934
3899
|
);
|
|
3935
|
-
function
|
|
3900
|
+
function Yn(e, t) {
|
|
3936
3901
|
if (t == null)
|
|
3937
3902
|
return;
|
|
3938
3903
|
if (t in e)
|
|
@@ -3953,92 +3918,92 @@ function ti(e, t) {
|
|
|
3953
3918
|
n = void 0;
|
|
3954
3919
|
return n;
|
|
3955
3920
|
}
|
|
3956
|
-
const I = {},
|
|
3921
|
+
const I = {}, qn = (e, t, r) => r && (t in I || (I[t] = {}), e in I[t] || (I[t][e] = r), r), Wt = (e, t) => {
|
|
3957
3922
|
if (t == null)
|
|
3958
3923
|
return;
|
|
3959
3924
|
if (t in I && e in I[t])
|
|
3960
3925
|
return I[t][e];
|
|
3961
|
-
const r =
|
|
3926
|
+
const r = ye(t);
|
|
3962
3927
|
for (let n = 0; n < r.length; n++) {
|
|
3963
|
-
const i = r[n], o =
|
|
3928
|
+
const i = r[n], o = ei(i, e);
|
|
3964
3929
|
if (o)
|
|
3965
|
-
return
|
|
3930
|
+
return qn(e, t, o);
|
|
3966
3931
|
}
|
|
3967
3932
|
};
|
|
3968
|
-
let
|
|
3969
|
-
const re =
|
|
3970
|
-
function
|
|
3971
|
-
return
|
|
3933
|
+
let ze;
|
|
3934
|
+
const re = be({});
|
|
3935
|
+
function Kn(e) {
|
|
3936
|
+
return ze[e] || null;
|
|
3972
3937
|
}
|
|
3973
|
-
function
|
|
3974
|
-
return e in
|
|
3938
|
+
function Zt(e) {
|
|
3939
|
+
return e in ze;
|
|
3975
3940
|
}
|
|
3976
|
-
function
|
|
3977
|
-
if (!
|
|
3941
|
+
function ei(e, t) {
|
|
3942
|
+
if (!Zt(e))
|
|
3978
3943
|
return null;
|
|
3979
|
-
const r =
|
|
3980
|
-
return
|
|
3944
|
+
const r = Kn(e);
|
|
3945
|
+
return Yn(r, t);
|
|
3981
3946
|
}
|
|
3982
|
-
function
|
|
3947
|
+
function ti(e) {
|
|
3983
3948
|
if (e == null)
|
|
3984
3949
|
return;
|
|
3985
|
-
const t =
|
|
3950
|
+
const t = ye(e);
|
|
3986
3951
|
for (let r = 0; r < t.length; r++) {
|
|
3987
3952
|
const n = t[r];
|
|
3988
|
-
if (
|
|
3953
|
+
if (Zt(n))
|
|
3989
3954
|
return n;
|
|
3990
3955
|
}
|
|
3991
3956
|
}
|
|
3992
|
-
function
|
|
3993
|
-
delete I[e], re.update((r) => (r[e] =
|
|
3957
|
+
function Qt(e, ...t) {
|
|
3958
|
+
delete I[e], re.update((r) => (r[e] = on.all([r[e] || {}, ...t]), r));
|
|
3994
3959
|
}
|
|
3995
3960
|
X(
|
|
3996
3961
|
[re],
|
|
3997
3962
|
([e]) => Object.keys(e)
|
|
3998
3963
|
);
|
|
3999
|
-
re.subscribe((e) =>
|
|
3964
|
+
re.subscribe((e) => ze = e);
|
|
4000
3965
|
const ce = {};
|
|
4001
|
-
function
|
|
3966
|
+
function ri(e, t) {
|
|
4002
3967
|
ce[e].delete(t), ce[e].size === 0 && delete ce[e];
|
|
4003
3968
|
}
|
|
4004
|
-
function
|
|
3969
|
+
function Jt(e) {
|
|
4005
3970
|
return ce[e];
|
|
4006
3971
|
}
|
|
4007
|
-
function
|
|
4008
|
-
return
|
|
4009
|
-
const r =
|
|
3972
|
+
function ni(e) {
|
|
3973
|
+
return ye(e).map((t) => {
|
|
3974
|
+
const r = Jt(t);
|
|
4010
3975
|
return [t, r ? [...r] : []];
|
|
4011
3976
|
}).filter(([, t]) => t.length > 0);
|
|
4012
3977
|
}
|
|
4013
|
-
function
|
|
4014
|
-
return e == null ? !1 :
|
|
3978
|
+
function Ge(e) {
|
|
3979
|
+
return e == null ? !1 : ye(e).some(
|
|
4015
3980
|
(t) => {
|
|
4016
3981
|
var r;
|
|
4017
|
-
return (r =
|
|
3982
|
+
return (r = Jt(t)) == null ? void 0 : r.size;
|
|
4018
3983
|
}
|
|
4019
3984
|
);
|
|
4020
3985
|
}
|
|
4021
|
-
function
|
|
3986
|
+
function ii(e, t) {
|
|
4022
3987
|
return Promise.all(
|
|
4023
|
-
t.map((n) => (
|
|
4024
|
-
).then((n) =>
|
|
4025
|
-
}
|
|
4026
|
-
const
|
|
4027
|
-
function
|
|
4028
|
-
if (!
|
|
4029
|
-
return e in
|
|
4030
|
-
const t =
|
|
4031
|
-
return
|
|
3988
|
+
t.map((n) => (ri(e, n), n().then((i) => i.default || i)))
|
|
3989
|
+
).then((n) => Qt(e, ...n));
|
|
3990
|
+
}
|
|
3991
|
+
const Q = {};
|
|
3992
|
+
function Yt(e) {
|
|
3993
|
+
if (!Ge(e))
|
|
3994
|
+
return e in Q ? Q[e] : Promise.resolve();
|
|
3995
|
+
const t = ni(e);
|
|
3996
|
+
return Q[e] = Promise.all(
|
|
4032
3997
|
t.map(
|
|
4033
|
-
([r, n]) =>
|
|
3998
|
+
([r, n]) => ii(r, n)
|
|
4034
3999
|
)
|
|
4035
4000
|
).then(() => {
|
|
4036
|
-
if (
|
|
4037
|
-
return
|
|
4038
|
-
delete
|
|
4039
|
-
}),
|
|
4001
|
+
if (Ge(e))
|
|
4002
|
+
return Yt(e);
|
|
4003
|
+
delete Q[e];
|
|
4004
|
+
}), Q[e];
|
|
4040
4005
|
}
|
|
4041
|
-
const
|
|
4006
|
+
const oi = {
|
|
4042
4007
|
number: {
|
|
4043
4008
|
scientific: { notation: "scientific" },
|
|
4044
4009
|
engineering: { notation: "engineering" },
|
|
@@ -4067,135 +4032,135 @@ const hi = {
|
|
|
4067
4032
|
timeZoneName: "short"
|
|
4068
4033
|
}
|
|
4069
4034
|
}
|
|
4070
|
-
},
|
|
4035
|
+
}, si = {
|
|
4071
4036
|
fallbackLocale: null,
|
|
4072
4037
|
loadingDelay: 200,
|
|
4073
|
-
formats:
|
|
4038
|
+
formats: oi,
|
|
4074
4039
|
warnOnMissingMessages: !0,
|
|
4075
4040
|
handleMissingMessage: void 0,
|
|
4076
4041
|
ignoreTag: !0
|
|
4077
|
-
},
|
|
4078
|
-
function
|
|
4079
|
-
return
|
|
4080
|
-
}
|
|
4081
|
-
const
|
|
4082
|
-
var
|
|
4083
|
-
for (var r in t
|
|
4084
|
-
|
|
4085
|
-
if (
|
|
4086
|
-
for (var r of
|
|
4087
|
-
|
|
4042
|
+
}, ai = si;
|
|
4043
|
+
function z() {
|
|
4044
|
+
return ai;
|
|
4045
|
+
}
|
|
4046
|
+
const we = be(!1);
|
|
4047
|
+
var ui = Object.defineProperty, hi = Object.defineProperties, li = Object.getOwnPropertyDescriptors, pt = Object.getOwnPropertySymbols, ci = Object.prototype.hasOwnProperty, fi = Object.prototype.propertyIsEnumerable, dt = (e, t, r) => t in e ? ui(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, pi = (e, t) => {
|
|
4048
|
+
for (var r in t)
|
|
4049
|
+
ci.call(t, r) && dt(e, r, t[r]);
|
|
4050
|
+
if (pt)
|
|
4051
|
+
for (var r of pt(t))
|
|
4052
|
+
fi.call(t, r) && dt(e, r, t[r]);
|
|
4088
4053
|
return e;
|
|
4089
|
-
},
|
|
4090
|
-
let
|
|
4091
|
-
const
|
|
4092
|
-
function
|
|
4054
|
+
}, di = (e, t) => hi(e, li(t));
|
|
4055
|
+
let Fe;
|
|
4056
|
+
const pe = be(null);
|
|
4057
|
+
function mt(e) {
|
|
4093
4058
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4094
4059
|
}
|
|
4095
|
-
function
|
|
4096
|
-
const r =
|
|
4097
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4060
|
+
function ye(e, t = z().fallbackLocale) {
|
|
4061
|
+
const r = mt(e);
|
|
4062
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...mt(t)])] : r;
|
|
4098
4063
|
}
|
|
4099
4064
|
function C() {
|
|
4100
|
-
return
|
|
4065
|
+
return Fe ?? void 0;
|
|
4101
4066
|
}
|
|
4102
|
-
|
|
4103
|
-
|
|
4067
|
+
pe.subscribe((e) => {
|
|
4068
|
+
Fe = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4104
4069
|
});
|
|
4105
|
-
const
|
|
4106
|
-
if (e &&
|
|
4107
|
-
const { loadingDelay: t } =
|
|
4070
|
+
const mi = (e) => {
|
|
4071
|
+
if (e && ti(e) && Ge(e)) {
|
|
4072
|
+
const { loadingDelay: t } = z();
|
|
4108
4073
|
let r;
|
|
4109
4074
|
return typeof window < "u" && C() != null && t ? r = window.setTimeout(
|
|
4110
|
-
() =>
|
|
4075
|
+
() => we.set(!0),
|
|
4111
4076
|
t
|
|
4112
|
-
) :
|
|
4113
|
-
|
|
4077
|
+
) : we.set(!0), Yt(e).then(() => {
|
|
4078
|
+
pe.set(e);
|
|
4114
4079
|
}).finally(() => {
|
|
4115
|
-
clearTimeout(r),
|
|
4080
|
+
clearTimeout(r), we.set(!1);
|
|
4116
4081
|
});
|
|
4117
4082
|
}
|
|
4118
|
-
return
|
|
4119
|
-
},
|
|
4120
|
-
set:
|
|
4121
|
-
}),
|
|
4083
|
+
return pe.set(e);
|
|
4084
|
+
}, W = di(pi({}, pe), {
|
|
4085
|
+
set: mi
|
|
4086
|
+
}), ve = (e) => {
|
|
4122
4087
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4123
4088
|
return (n) => {
|
|
4124
4089
|
const i = JSON.stringify(n);
|
|
4125
4090
|
return i in t ? t[i] : t[i] = e(n);
|
|
4126
4091
|
};
|
|
4127
4092
|
};
|
|
4128
|
-
var
|
|
4093
|
+
var bi = Object.defineProperty, de = Object.getOwnPropertySymbols, qt = Object.prototype.hasOwnProperty, Kt = Object.prototype.propertyIsEnumerable, bt = (e, t, r) => t in e ? bi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Xe = (e, t) => {
|
|
4129
4094
|
for (var r in t || (t = {}))
|
|
4130
|
-
|
|
4095
|
+
qt.call(t, r) && bt(e, r, t[r]);
|
|
4131
4096
|
if (de)
|
|
4132
4097
|
for (var r of de(t))
|
|
4133
|
-
|
|
4098
|
+
Kt.call(t, r) && bt(e, r, t[r]);
|
|
4134
4099
|
return e;
|
|
4135
|
-
},
|
|
4100
|
+
}, Z = (e, t) => {
|
|
4136
4101
|
var r = {};
|
|
4137
4102
|
for (var n in e)
|
|
4138
|
-
|
|
4103
|
+
qt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4139
4104
|
if (e != null && de)
|
|
4140
4105
|
for (var n of de(e))
|
|
4141
|
-
t.indexOf(n) < 0 &&
|
|
4106
|
+
t.indexOf(n) < 0 && Kt.call(e, n) && (r[n] = e[n]);
|
|
4142
4107
|
return r;
|
|
4143
4108
|
};
|
|
4144
|
-
const
|
|
4145
|
-
const { formats: r } =
|
|
4109
|
+
const ee = (e, t) => {
|
|
4110
|
+
const { formats: r } = z();
|
|
4146
4111
|
if (e in r && t in r[e])
|
|
4147
4112
|
return r[e][t];
|
|
4148
4113
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4149
|
-
},
|
|
4114
|
+
}, gi = ve(
|
|
4150
4115
|
(e) => {
|
|
4151
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4116
|
+
var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
|
|
4152
4117
|
if (r == null)
|
|
4153
4118
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4154
|
-
return n && (i =
|
|
4119
|
+
return n && (i = ee("number", n)), new Intl.NumberFormat(r, i);
|
|
4155
4120
|
}
|
|
4156
|
-
),
|
|
4121
|
+
), yi = ve(
|
|
4157
4122
|
(e) => {
|
|
4158
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4123
|
+
var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
|
|
4159
4124
|
if (r == null)
|
|
4160
4125
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4161
|
-
return n ? i =
|
|
4126
|
+
return n ? i = ee("date", n) : Object.keys(i).length === 0 && (i = ee("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4162
4127
|
}
|
|
4163
|
-
),
|
|
4128
|
+
), vi = ve(
|
|
4164
4129
|
(e) => {
|
|
4165
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4130
|
+
var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
|
|
4166
4131
|
if (r == null)
|
|
4167
4132
|
throw new Error(
|
|
4168
4133
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4169
4134
|
);
|
|
4170
|
-
return n ? i =
|
|
4135
|
+
return n ? i = ee("time", n) : Object.keys(i).length === 0 && (i = ee("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4171
4136
|
}
|
|
4172
|
-
),
|
|
4137
|
+
), Ei = (e = {}) => {
|
|
4173
4138
|
var t = e, {
|
|
4174
4139
|
locale: r = C()
|
|
4175
|
-
} = t, n =
|
|
4140
|
+
} = t, n = Z(t, [
|
|
4176
4141
|
"locale"
|
|
4177
4142
|
]);
|
|
4178
|
-
return
|
|
4179
|
-
},
|
|
4143
|
+
return gi(Xe({ locale: r }, n));
|
|
4144
|
+
}, xi = (e = {}) => {
|
|
4180
4145
|
var t = e, {
|
|
4181
4146
|
locale: r = C()
|
|
4182
|
-
} = t, n =
|
|
4147
|
+
} = t, n = Z(t, [
|
|
4183
4148
|
"locale"
|
|
4184
4149
|
]);
|
|
4185
|
-
return
|
|
4186
|
-
},
|
|
4150
|
+
return yi(Xe({ locale: r }, n));
|
|
4151
|
+
}, _i = (e = {}) => {
|
|
4187
4152
|
var t = e, {
|
|
4188
4153
|
locale: r = C()
|
|
4189
|
-
} = t, n =
|
|
4154
|
+
} = t, n = Z(t, [
|
|
4190
4155
|
"locale"
|
|
4191
4156
|
]);
|
|
4192
|
-
return
|
|
4193
|
-
},
|
|
4157
|
+
return vi(Xe({ locale: r }, n));
|
|
4158
|
+
}, Si = ve(
|
|
4194
4159
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4195
|
-
(e, t = C()) => new
|
|
4196
|
-
ignoreTag:
|
|
4160
|
+
(e, t = C()) => new Jn(e, t, z().formats, {
|
|
4161
|
+
ignoreTag: z().ignoreTag
|
|
4197
4162
|
})
|
|
4198
|
-
),
|
|
4163
|
+
), Bi = (e, t = {}) => {
|
|
4199
4164
|
var r, n, i, o;
|
|
4200
4165
|
let s = t;
|
|
4201
4166
|
typeof e == "object" && (s = e, e = s.id);
|
|
@@ -4208,9 +4173,9 @@ const K = (e, t) => {
|
|
|
4208
4173
|
throw new Error(
|
|
4209
4174
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4210
4175
|
);
|
|
4211
|
-
let l =
|
|
4176
|
+
let l = Wt(e, u);
|
|
4212
4177
|
if (!l)
|
|
4213
|
-
l = (o = (i = (n = (r =
|
|
4178
|
+
l = (o = (i = (n = (r = z()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: h })) != null ? i : h) != null ? o : e;
|
|
4214
4179
|
else if (typeof l != "string")
|
|
4215
4180
|
return console.warn(
|
|
4216
4181
|
`[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.`
|
|
@@ -4219,7 +4184,7 @@ const K = (e, t) => {
|
|
|
4219
4184
|
return l;
|
|
4220
4185
|
let c = l;
|
|
4221
4186
|
try {
|
|
4222
|
-
c =
|
|
4187
|
+
c = Si(l, u).format(a);
|
|
4223
4188
|
} catch (f) {
|
|
4224
4189
|
f instanceof Error && console.warn(
|
|
4225
4190
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4227,20 +4192,20 @@ const K = (e, t) => {
|
|
|
4227
4192
|
);
|
|
4228
4193
|
}
|
|
4229
4194
|
return c;
|
|
4230
|
-
},
|
|
4231
|
-
X([
|
|
4232
|
-
X([
|
|
4233
|
-
X([
|
|
4234
|
-
X([
|
|
4235
|
-
window.emWidgets = { topic:
|
|
4195
|
+
}, Ti = (e, t) => _i(t).format(e), wi = (e, t) => xi(t).format(e), Hi = (e, t) => Ei(t).format(e), Pi = (e, t = C()) => Wt(e, t), Ai = X([W, re], () => Bi);
|
|
4196
|
+
X([W], () => Ti);
|
|
4197
|
+
X([W], () => wi);
|
|
4198
|
+
X([W], () => Hi);
|
|
4199
|
+
X([W, re], () => Pi);
|
|
4200
|
+
window.emWidgets = { topic: Fr };
|
|
4236
4201
|
const se = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4237
|
-
function
|
|
4238
|
-
|
|
4202
|
+
function gt(e, t) {
|
|
4203
|
+
Qt(e, t);
|
|
4239
4204
|
}
|
|
4240
|
-
function
|
|
4241
|
-
|
|
4205
|
+
function Oi(e) {
|
|
4206
|
+
W.set(e);
|
|
4242
4207
|
}
|
|
4243
|
-
const
|
|
4208
|
+
const yt = {
|
|
4244
4209
|
en: {
|
|
4245
4210
|
panicButtonString: "Hold button for 3 seconds to take 24-hour timeout"
|
|
4246
4211
|
},
|
|
@@ -4281,10 +4246,10 @@ const xt = {
|
|
|
4281
4246
|
panicButtonString: "Hold button for 3 seconds to take 24-hour timeout"
|
|
4282
4247
|
}
|
|
4283
4248
|
};
|
|
4284
|
-
function
|
|
4285
|
-
|
|
4249
|
+
function Ii(e) {
|
|
4250
|
+
rr(e, "svelte-1mifytr", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.PanicSection{display:flex;align-items:center;gap:10px;margin:20px 0}.PanicSection .PanicButton{border-radius:5px;border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));font-size:10px;width:280px;height:fit-content;padding:15px;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));cursor:pointer}.PanicSectionMobile{position:absolute;top:0;left:0;width:100%;text-align:center;margin:20px 0 0 0 !important}.PanicButtonMobile{border-radius:5px;margin:0 10px;border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));width:100% !important;height:30px;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.PanicButtonAnimation{background:-webkit-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-moz-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-o-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));width:280px;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));-webkit-animation:bar-animation 2s linear}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:280px}}.PanicButtonV2 .PanicButton{border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));width:388px;font-size:12px}.PanicButtonV2 .PanicButtonMobile{border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));font-size:10px}.PanicButtonV2 .PanicButtonAnimation{background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));width:388px}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:388px}}");
|
|
4286
4251
|
}
|
|
4287
|
-
function
|
|
4252
|
+
function Ni(e) {
|
|
4288
4253
|
let t, r, n, i = (
|
|
4289
4254
|
/*customtext*/
|
|
4290
4255
|
(e[0] || /*$_*/
|
|
@@ -4292,13 +4257,13 @@ function $i(e) {
|
|
|
4292
4257
|
), o, s;
|
|
4293
4258
|
return {
|
|
4294
4259
|
c() {
|
|
4295
|
-
t =
|
|
4260
|
+
t = J("div"), r = J("div"), n = J("button"), o = or(i), L(n, "class", "PanicButton " + (se(
|
|
4296
4261
|
/*userAgent*/
|
|
4297
4262
|
e[6]
|
|
4298
4263
|
) !== "PC" ? "PanicButtonMobile" : "")), L(n, "part", "PanicButton " + (se(
|
|
4299
4264
|
/*userAgent*/
|
|
4300
4265
|
e[6]
|
|
4301
|
-
) !== "PC" ? "PanicButtonMobile" : "")),
|
|
4266
|
+
) !== "PC" ? "PanicButtonMobile" : "")), Qe(
|
|
4302
4267
|
n,
|
|
4303
4268
|
"PanicButtonAnimation",
|
|
4304
4269
|
/*panicLoading*/
|
|
@@ -4313,14 +4278,14 @@ function $i(e) {
|
|
|
4313
4278
|
e[1] == "true" ? "PanicButtonV2" : "");
|
|
4314
4279
|
},
|
|
4315
4280
|
m(a, u) {
|
|
4316
|
-
|
|
4281
|
+
_t(a, t, u), ae(t, r), ae(r, n), ae(n, o), e[12](n), e[13](t);
|
|
4317
4282
|
},
|
|
4318
4283
|
p(a, [u]) {
|
|
4319
4284
|
u & /*customtext, $_*/
|
|
4320
4285
|
33 && i !== (i = /*customtext*/
|
|
4321
4286
|
(a[0] || /*$_*/
|
|
4322
|
-
a[5]("panicButtonString")) + "") &&
|
|
4323
|
-
16 &&
|
|
4287
|
+
a[5]("panicButtonString")) + "") && ar(o, i), u & /*panicLoading*/
|
|
4288
|
+
16 && Qe(
|
|
4324
4289
|
n,
|
|
4325
4290
|
"PanicButtonAnimation",
|
|
4326
4291
|
/*panicLoading*/
|
|
@@ -4329,72 +4294,72 @@ function $i(e) {
|
|
|
4329
4294
|
2 && s !== (s = /*alternativestyling*/
|
|
4330
4295
|
a[1] == "true" ? "PanicButtonV2" : "") && L(t, "class", s);
|
|
4331
4296
|
},
|
|
4332
|
-
i:
|
|
4333
|
-
o:
|
|
4297
|
+
i: T,
|
|
4298
|
+
o: T,
|
|
4334
4299
|
d(a) {
|
|
4335
|
-
a &&
|
|
4300
|
+
a && ke(t), e[12](null), e[13](null);
|
|
4336
4301
|
}
|
|
4337
4302
|
};
|
|
4338
4303
|
}
|
|
4339
|
-
function
|
|
4304
|
+
function Li(e, t, r) {
|
|
4340
4305
|
let n;
|
|
4341
|
-
|
|
4342
|
-
let { lang: i = "en" } = t, { customtext: o = "" } = t, { clientstyling: s = "" } = t, { clientstylingurl: a = "" } = t, { mbsource: u } = t, { alternativestyling: h = "" } = t, { translationurl: l = "" } = t, c, f,
|
|
4306
|
+
tr(e, Ai, (v) => r(5, n = v));
|
|
4307
|
+
let { lang: i = "en" } = t, { customtext: o = "" } = t, { clientstyling: s = "" } = t, { clientstylingurl: a = "" } = t, { mbsource: u } = t, { alternativestyling: h = "" } = t, { translationurl: l = "" } = t, c, f, d = !1, y = 0, g, B = window.navigator.userAgent;
|
|
4343
4308
|
const N = () => {
|
|
4344
4309
|
fetch(l).then(($) => $.json()).then(($) => {
|
|
4345
|
-
Object.keys($).forEach((
|
|
4346
|
-
|
|
4310
|
+
Object.keys($).forEach((We) => {
|
|
4311
|
+
gt(We, $[We]);
|
|
4347
4312
|
});
|
|
4348
4313
|
}).catch(($) => {
|
|
4349
4314
|
console.log($);
|
|
4350
4315
|
});
|
|
4351
4316
|
};
|
|
4352
|
-
Object.keys(
|
|
4353
|
-
|
|
4317
|
+
Object.keys(yt).forEach((v) => {
|
|
4318
|
+
gt(v, yt[v]);
|
|
4354
4319
|
});
|
|
4355
4320
|
const O = () => {
|
|
4356
|
-
c?.addEventListener("mousedown",
|
|
4357
|
-
},
|
|
4358
|
-
r(4,
|
|
4359
|
-
},
|
|
4360
|
-
|
|
4321
|
+
c?.addEventListener("mousedown", w, !1), c?.addEventListener("touchstart", w, !1), c?.addEventListener("mouseup", S, !1), c?.addEventListener("touchend", S, !1);
|
|
4322
|
+
}, _ = () => {
|
|
4323
|
+
r(4, d = !1), c?.removeEventListener("mousedown", w), c?.removeEventListener("touchstart", w), c?.removeEventListener("mouseup", S), c?.removeEventListener("touchend", S);
|
|
4324
|
+
}, w = () => {
|
|
4325
|
+
y = 0, r(4, d = !0), g = setInterval(
|
|
4361
4326
|
() => {
|
|
4362
|
-
|
|
4327
|
+
y++, y >= 2 && (window.postMessage({ type: "PanicButtonClicked" }, window.location.href), clearInterval(g), typeof gtag == "function" && gtag("event", "PanicButtonClicked", { context: "PanicButton" }));
|
|
4363
4328
|
},
|
|
4364
4329
|
1e3
|
|
4365
4330
|
);
|
|
4366
4331
|
}, S = () => {
|
|
4367
|
-
r(4,
|
|
4332
|
+
r(4, d = !1), clearInterval(g);
|
|
4368
4333
|
};
|
|
4369
|
-
|
|
4370
|
-
|
|
4334
|
+
lr(() => () => {
|
|
4335
|
+
_();
|
|
4371
4336
|
});
|
|
4372
|
-
function M(
|
|
4373
|
-
fe[
|
|
4374
|
-
c =
|
|
4337
|
+
function M(v) {
|
|
4338
|
+
fe[v ? "unshift" : "push"](() => {
|
|
4339
|
+
c = v, r(2, c);
|
|
4375
4340
|
});
|
|
4376
4341
|
}
|
|
4377
|
-
function ne(
|
|
4378
|
-
fe[
|
|
4379
|
-
f =
|
|
4342
|
+
function ne(v) {
|
|
4343
|
+
fe[v ? "unshift" : "push"](() => {
|
|
4344
|
+
f = v, r(3, f);
|
|
4380
4345
|
});
|
|
4381
4346
|
}
|
|
4382
|
-
return e.$$set = (
|
|
4383
|
-
"lang" in
|
|
4347
|
+
return e.$$set = (v) => {
|
|
4348
|
+
"lang" in v && r(7, i = v.lang), "customtext" in v && r(0, o = v.customtext), "clientstyling" in v && r(8, s = v.clientstyling), "clientstylingurl" in v && r(9, a = v.clientstylingurl), "mbsource" in v && r(10, u = v.mbsource), "alternativestyling" in v && r(1, h = v.alternativestyling), "translationurl" in v && r(11, l = v.translationurl);
|
|
4384
4349
|
}, e.$$.update = () => {
|
|
4385
4350
|
e.$$.dirty & /*panicButton*/
|
|
4386
4351
|
4 && c && O(), e.$$.dirty & /*lang*/
|
|
4387
|
-
128 && i &&
|
|
4388
|
-
264 && s && f &&
|
|
4389
|
-
520 && a && f &&
|
|
4390
|
-
1032 && u && f &&
|
|
4352
|
+
128 && i && Oi(i), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4353
|
+
264 && s && f && Br(f, s), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4354
|
+
520 && a && f && Tr(f, a), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4355
|
+
1032 && u && f && wr(f, `${u}.Style`), e.$$.dirty & /*translationurl*/
|
|
4391
4356
|
2048 && l && N();
|
|
4392
4357
|
}, [
|
|
4393
4358
|
o,
|
|
4394
4359
|
h,
|
|
4395
4360
|
c,
|
|
4396
4361
|
f,
|
|
4397
|
-
|
|
4362
|
+
d,
|
|
4398
4363
|
n,
|
|
4399
4364
|
B,
|
|
4400
4365
|
i,
|
|
@@ -4406,14 +4371,14 @@ function Ri(e, t, r) {
|
|
|
4406
4371
|
ne
|
|
4407
4372
|
];
|
|
4408
4373
|
}
|
|
4409
|
-
class
|
|
4374
|
+
class Ci extends _r {
|
|
4410
4375
|
constructor(t) {
|
|
4411
|
-
super(),
|
|
4376
|
+
super(), Er(
|
|
4412
4377
|
this,
|
|
4413
4378
|
t,
|
|
4414
|
-
|
|
4415
|
-
|
|
4416
|
-
|
|
4379
|
+
Li,
|
|
4380
|
+
Ni,
|
|
4381
|
+
Et,
|
|
4417
4382
|
{
|
|
4418
4383
|
lang: 7,
|
|
4419
4384
|
customtext: 0,
|
|
@@ -4423,53 +4388,53 @@ class Ui extends Tr {
|
|
|
4423
4388
|
alternativestyling: 1,
|
|
4424
4389
|
translationurl: 11
|
|
4425
4390
|
},
|
|
4426
|
-
|
|
4391
|
+
Ii
|
|
4427
4392
|
);
|
|
4428
4393
|
}
|
|
4429
4394
|
get lang() {
|
|
4430
4395
|
return this.$$.ctx[7];
|
|
4431
4396
|
}
|
|
4432
4397
|
set lang(t) {
|
|
4433
|
-
this.$$set({ lang: t }),
|
|
4398
|
+
this.$$set({ lang: t }), H();
|
|
4434
4399
|
}
|
|
4435
4400
|
get customtext() {
|
|
4436
4401
|
return this.$$.ctx[0];
|
|
4437
4402
|
}
|
|
4438
4403
|
set customtext(t) {
|
|
4439
|
-
this.$$set({ customtext: t }),
|
|
4404
|
+
this.$$set({ customtext: t }), H();
|
|
4440
4405
|
}
|
|
4441
4406
|
get clientstyling() {
|
|
4442
4407
|
return this.$$.ctx[8];
|
|
4443
4408
|
}
|
|
4444
4409
|
set clientstyling(t) {
|
|
4445
|
-
this.$$set({ clientstyling: t }),
|
|
4410
|
+
this.$$set({ clientstyling: t }), H();
|
|
4446
4411
|
}
|
|
4447
4412
|
get clientstylingurl() {
|
|
4448
4413
|
return this.$$.ctx[9];
|
|
4449
4414
|
}
|
|
4450
4415
|
set clientstylingurl(t) {
|
|
4451
|
-
this.$$set({ clientstylingurl: t }),
|
|
4416
|
+
this.$$set({ clientstylingurl: t }), H();
|
|
4452
4417
|
}
|
|
4453
4418
|
get mbsource() {
|
|
4454
4419
|
return this.$$.ctx[10];
|
|
4455
4420
|
}
|
|
4456
4421
|
set mbsource(t) {
|
|
4457
|
-
this.$$set({ mbsource: t }),
|
|
4422
|
+
this.$$set({ mbsource: t }), H();
|
|
4458
4423
|
}
|
|
4459
4424
|
get alternativestyling() {
|
|
4460
4425
|
return this.$$.ctx[1];
|
|
4461
4426
|
}
|
|
4462
4427
|
set alternativestyling(t) {
|
|
4463
|
-
this.$$set({ alternativestyling: t }),
|
|
4428
|
+
this.$$set({ alternativestyling: t }), H();
|
|
4464
4429
|
}
|
|
4465
4430
|
get translationurl() {
|
|
4466
4431
|
return this.$$.ctx[11];
|
|
4467
4432
|
}
|
|
4468
4433
|
set translationurl(t) {
|
|
4469
|
-
this.$$set({ translationurl: t }),
|
|
4434
|
+
this.$$set({ translationurl: t }), H();
|
|
4470
4435
|
}
|
|
4471
4436
|
}
|
|
4472
|
-
|
|
4437
|
+
xr(Ci, { lang: {}, customtext: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, alternativestyling: {}, translationurl: {} }, [], [], !0);
|
|
4473
4438
|
export {
|
|
4474
|
-
|
|
4439
|
+
Ci as P
|
|
4475
4440
|
};
|