@everymatrix/player-panic-button 1.60.1 → 1.60.2
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-CMxIa9tY.js → PlayerPanicButton-B81Deafd.js} +544 -566
- package/components/{PlayerPanicButton-XcPPb-PX.js → PlayerPanicButton-DmbYaasU.js} +667 -689
- package/components/PlayerPanicButton-DnRJP4zq.cjs +18 -0
- 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-zVpAbTil.cjs +0 -18
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var Ee = (e, t, r) => t in e ?
|
|
1
|
+
var or = Object.defineProperty, sr = Object.defineProperties;
|
|
2
|
+
var ar = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var Qe = Object.getOwnPropertySymbols;
|
|
4
|
+
var ur = Object.prototype.hasOwnProperty, hr = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var Ee = (e, t, r) => t in e ? or(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Je = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var r of
|
|
10
|
-
|
|
7
|
+
ur.call(t, r) && Ee(e, r, t[r]);
|
|
8
|
+
if (Qe)
|
|
9
|
+
for (var r of Qe(t))
|
|
10
|
+
hr.call(t, r) && Ee(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
12
|
+
}, Ye = (e, t) => sr(e, ar(t));
|
|
13
13
|
var T = (e, t, r) => (Ee(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
|
-
var
|
|
14
|
+
var qe = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var o = (u) => {
|
|
16
16
|
try {
|
|
17
17
|
a(r.next(u));
|
|
@@ -29,25 +29,25 @@ var tt = (e, t, r) => new Promise((n, i) => {
|
|
|
29
29
|
});
|
|
30
30
|
function H() {
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function Tt(e) {
|
|
33
33
|
return e();
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function Ke() {
|
|
36
36
|
return /* @__PURE__ */ Object.create(null);
|
|
37
37
|
}
|
|
38
38
|
function re(e) {
|
|
39
|
-
e.forEach(
|
|
39
|
+
e.forEach(Tt);
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function Ve(e) {
|
|
42
42
|
return typeof e == "function";
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function wt(e, t) {
|
|
45
45
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
46
46
|
}
|
|
47
|
-
function
|
|
47
|
+
function lr(e) {
|
|
48
48
|
return Object.keys(e).length === 0;
|
|
49
49
|
}
|
|
50
|
-
function
|
|
50
|
+
function Ht(e, ...t) {
|
|
51
51
|
if (e == null) {
|
|
52
52
|
for (const n of t)
|
|
53
53
|
n(void 0);
|
|
@@ -56,20 +56,20 @@ function At(e, ...t) {
|
|
|
56
56
|
const r = e.subscribe(...t);
|
|
57
57
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
58
58
|
}
|
|
59
|
-
function
|
|
60
|
-
e.$$.on_destroy.push(
|
|
59
|
+
function cr(e, t, r) {
|
|
60
|
+
e.$$.on_destroy.push(Ht(t, r));
|
|
61
61
|
}
|
|
62
62
|
function ue(e, t) {
|
|
63
63
|
e.appendChild(t);
|
|
64
64
|
}
|
|
65
|
-
function
|
|
66
|
-
const n =
|
|
65
|
+
function fr(e, t, r) {
|
|
66
|
+
const n = pr(e);
|
|
67
67
|
if (!n.getElementById(t)) {
|
|
68
68
|
const i = Y("style");
|
|
69
|
-
i.id = t, i.textContent = r,
|
|
69
|
+
i.id = t, i.textContent = r, mr(n, i);
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
|
-
function
|
|
72
|
+
function pr(e) {
|
|
73
73
|
if (!e)
|
|
74
74
|
return document;
|
|
75
75
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -79,14 +79,14 @@ function gr(e) {
|
|
|
79
79
|
t
|
|
80
80
|
) : e.ownerDocument;
|
|
81
81
|
}
|
|
82
|
-
function
|
|
82
|
+
function mr(e, t) {
|
|
83
83
|
return ue(
|
|
84
84
|
/** @type {Document} */
|
|
85
85
|
e.head || e,
|
|
86
86
|
t
|
|
87
87
|
), t.sheet;
|
|
88
88
|
}
|
|
89
|
-
function
|
|
89
|
+
function Pt(e, t, r) {
|
|
90
90
|
e.insertBefore(t, r || null);
|
|
91
91
|
}
|
|
92
92
|
function Xe(e) {
|
|
@@ -95,23 +95,23 @@ function Xe(e) {
|
|
|
95
95
|
function Y(e) {
|
|
96
96
|
return document.createElement(e);
|
|
97
97
|
}
|
|
98
|
-
function
|
|
98
|
+
function dr(e) {
|
|
99
99
|
return document.createTextNode(e);
|
|
100
100
|
}
|
|
101
|
-
function
|
|
101
|
+
function L(e, t, r) {
|
|
102
102
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
103
103
|
}
|
|
104
|
-
function
|
|
104
|
+
function br(e) {
|
|
105
105
|
return Array.from(e.childNodes);
|
|
106
106
|
}
|
|
107
|
-
function
|
|
107
|
+
function gr(e, t) {
|
|
108
108
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
109
109
|
t);
|
|
110
110
|
}
|
|
111
|
-
function
|
|
111
|
+
function et(e, t, r) {
|
|
112
112
|
e.classList.toggle(t, !!r);
|
|
113
113
|
}
|
|
114
|
-
function
|
|
114
|
+
function vr(e) {
|
|
115
115
|
const t = {};
|
|
116
116
|
return e.childNodes.forEach(
|
|
117
117
|
/** @param {Element} node */
|
|
@@ -124,23 +124,23 @@ let K;
|
|
|
124
124
|
function q(e) {
|
|
125
125
|
K = e;
|
|
126
126
|
}
|
|
127
|
-
function
|
|
127
|
+
function yr() {
|
|
128
128
|
if (!K)
|
|
129
129
|
throw new Error("Function called outside component initialization");
|
|
130
130
|
return K;
|
|
131
131
|
}
|
|
132
|
-
function
|
|
133
|
-
|
|
132
|
+
function xr(e) {
|
|
133
|
+
yr().$$.on_mount.push(e);
|
|
134
134
|
}
|
|
135
|
-
const
|
|
136
|
-
let
|
|
137
|
-
const
|
|
138
|
-
let
|
|
139
|
-
function
|
|
140
|
-
|
|
135
|
+
const G = [], pe = [];
|
|
136
|
+
let F = [];
|
|
137
|
+
const tt = [], Er = /* @__PURE__ */ Promise.resolve();
|
|
138
|
+
let Ae = !1;
|
|
139
|
+
function _r() {
|
|
140
|
+
Ae || (Ae = !0, Er.then(B));
|
|
141
141
|
}
|
|
142
|
-
function
|
|
143
|
-
|
|
142
|
+
function Oe(e) {
|
|
143
|
+
F.push(e);
|
|
144
144
|
}
|
|
145
145
|
const _e = /* @__PURE__ */ new Set();
|
|
146
146
|
let D = 0;
|
|
@@ -150,55 +150,55 @@ function B() {
|
|
|
150
150
|
const e = K;
|
|
151
151
|
do {
|
|
152
152
|
try {
|
|
153
|
-
for (; D <
|
|
154
|
-
const t =
|
|
155
|
-
D++, q(t),
|
|
153
|
+
for (; D < G.length; ) {
|
|
154
|
+
const t = G[D];
|
|
155
|
+
D++, q(t), Sr(t.$$);
|
|
156
156
|
}
|
|
157
157
|
} catch (t) {
|
|
158
|
-
throw
|
|
158
|
+
throw G.length = 0, D = 0, t;
|
|
159
159
|
}
|
|
160
|
-
for (q(null),
|
|
160
|
+
for (q(null), G.length = 0, D = 0; pe.length; )
|
|
161
161
|
pe.pop()();
|
|
162
|
-
for (let t = 0; t <
|
|
163
|
-
const r =
|
|
162
|
+
for (let t = 0; t < F.length; t += 1) {
|
|
163
|
+
const r = F[t];
|
|
164
164
|
_e.has(r) || (_e.add(r), r());
|
|
165
165
|
}
|
|
166
|
-
|
|
167
|
-
} while (
|
|
168
|
-
for (;
|
|
169
|
-
|
|
170
|
-
|
|
166
|
+
F.length = 0;
|
|
167
|
+
} while (G.length);
|
|
168
|
+
for (; tt.length; )
|
|
169
|
+
tt.pop()();
|
|
170
|
+
Ae = !1, _e.clear(), q(e);
|
|
171
171
|
}
|
|
172
|
-
function
|
|
172
|
+
function Sr(e) {
|
|
173
173
|
if (e.fragment !== null) {
|
|
174
174
|
e.update(), re(e.before_update);
|
|
175
175
|
const t = e.dirty;
|
|
176
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
176
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Oe);
|
|
177
177
|
}
|
|
178
178
|
}
|
|
179
|
-
function
|
|
179
|
+
function Tr(e) {
|
|
180
180
|
const t = [], r = [];
|
|
181
|
-
|
|
181
|
+
F.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), F = t;
|
|
182
182
|
}
|
|
183
|
-
const
|
|
184
|
-
function
|
|
185
|
-
e && e.i && (
|
|
183
|
+
const wr = /* @__PURE__ */ new Set();
|
|
184
|
+
function Hr(e, t) {
|
|
185
|
+
e && e.i && (wr.delete(e), e.i(t));
|
|
186
186
|
}
|
|
187
|
-
function
|
|
187
|
+
function Pr(e, t, r) {
|
|
188
188
|
const { fragment: n, after_update: i } = e.$$;
|
|
189
|
-
n && n.m(t, r),
|
|
190
|
-
const o = e.$$.on_mount.map(
|
|
189
|
+
n && n.m(t, r), Oe(() => {
|
|
190
|
+
const o = e.$$.on_mount.map(Tt).filter(Ve);
|
|
191
191
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : re(o), e.$$.on_mount = [];
|
|
192
|
-
}), i.forEach(
|
|
192
|
+
}), i.forEach(Oe);
|
|
193
193
|
}
|
|
194
|
-
function
|
|
194
|
+
function Br(e, t) {
|
|
195
195
|
const r = e.$$;
|
|
196
|
-
r.fragment !== null && (
|
|
196
|
+
r.fragment !== null && (Tr(r.after_update), re(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
197
197
|
}
|
|
198
|
-
function
|
|
199
|
-
e.$$.dirty[0] === -1 && (
|
|
198
|
+
function Ar(e, t) {
|
|
199
|
+
e.$$.dirty[0] === -1 && (G.push(e), _r(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
200
200
|
}
|
|
201
|
-
function
|
|
201
|
+
function Or(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
202
202
|
const u = K;
|
|
203
203
|
q(e);
|
|
204
204
|
const h = e.$$ = {
|
|
@@ -208,7 +208,7 @@ function Nr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
208
208
|
props: o,
|
|
209
209
|
update: H,
|
|
210
210
|
not_equal: i,
|
|
211
|
-
bound:
|
|
211
|
+
bound: Ke(),
|
|
212
212
|
// lifecycle
|
|
213
213
|
on_mount: [],
|
|
214
214
|
on_destroy: [],
|
|
@@ -217,7 +217,7 @@ function Nr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
217
217
|
after_update: [],
|
|
218
218
|
context: new Map(t.context || (u ? u.$$.context : [])),
|
|
219
219
|
// everything else
|
|
220
|
-
callbacks:
|
|
220
|
+
callbacks: Ke(),
|
|
221
221
|
dirty: a,
|
|
222
222
|
skip_bound: !1,
|
|
223
223
|
root: t.target || u.$$.root
|
|
@@ -225,20 +225,20 @@ function Nr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
225
225
|
s && s(h.root);
|
|
226
226
|
let l = !1;
|
|
227
227
|
if (h.ctx = r ? r(e, t.props || {}, (c, f, ...m) => {
|
|
228
|
-
const
|
|
229
|
-
return h.ctx && i(h.ctx[c], h.ctx[c] =
|
|
228
|
+
const v = m.length ? m[0] : f;
|
|
229
|
+
return h.ctx && i(h.ctx[c], h.ctx[c] = v) && (!h.skip_bound && h.bound[c] && h.bound[c](v), l && Ar(e, c)), f;
|
|
230
230
|
}) : [], h.update(), l = !0, re(h.before_update), h.fragment = n ? n(h.ctx) : !1, t.target) {
|
|
231
231
|
if (t.hydrate) {
|
|
232
|
-
const c =
|
|
232
|
+
const c = br(t.target);
|
|
233
233
|
h.fragment && h.fragment.l(c), c.forEach(Xe);
|
|
234
234
|
} else
|
|
235
235
|
h.fragment && h.fragment.c();
|
|
236
|
-
t.intro &&
|
|
236
|
+
t.intro && Hr(e.$$.fragment), Pr(e, t.target, t.anchor), B();
|
|
237
237
|
}
|
|
238
238
|
q(u);
|
|
239
239
|
}
|
|
240
|
-
let
|
|
241
|
-
typeof HTMLElement == "function" && (
|
|
240
|
+
let Bt;
|
|
241
|
+
typeof HTMLElement == "function" && (Bt = class extends HTMLElement {
|
|
242
242
|
constructor(t, r, n) {
|
|
243
243
|
super();
|
|
244
244
|
/** The Svelte component constructor */
|
|
@@ -275,21 +275,21 @@ typeof HTMLElement == "function" && (It = class extends HTMLElement {
|
|
|
275
275
|
}
|
|
276
276
|
}
|
|
277
277
|
connectedCallback() {
|
|
278
|
-
return
|
|
278
|
+
return qe(this, null, function* () {
|
|
279
279
|
if (this.$$cn = !0, !this.$$c) {
|
|
280
280
|
let t = function(o) {
|
|
281
281
|
return () => {
|
|
282
282
|
let s;
|
|
283
283
|
return {
|
|
284
284
|
c: function() {
|
|
285
|
-
s = Y("slot"), o !== "default" &&
|
|
285
|
+
s = Y("slot"), o !== "default" && L(s, "name", o);
|
|
286
286
|
},
|
|
287
287
|
/**
|
|
288
288
|
* @param {HTMLElement} target
|
|
289
289
|
* @param {HTMLElement} [anchor]
|
|
290
290
|
*/
|
|
291
291
|
m: function(h, l) {
|
|
292
|
-
|
|
292
|
+
Pt(h, s, l);
|
|
293
293
|
},
|
|
294
294
|
d: function(h) {
|
|
295
295
|
h && Xe(s);
|
|
@@ -299,7 +299,7 @@ typeof HTMLElement == "function" && (It = class extends HTMLElement {
|
|
|
299
299
|
};
|
|
300
300
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
301
301
|
return;
|
|
302
|
-
const r = {}, n =
|
|
302
|
+
const r = {}, n = vr(this);
|
|
303
303
|
for (const o of this.$$s)
|
|
304
304
|
o in n && (r[o] = [t(o)]);
|
|
305
305
|
for (const o of this.attributes) {
|
|
@@ -310,7 +310,7 @@ typeof HTMLElement == "function" && (It = class extends HTMLElement {
|
|
|
310
310
|
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
|
311
311
|
this.$$c = new this.$$ctor({
|
|
312
312
|
target: this.shadowRoot || this,
|
|
313
|
-
props:
|
|
313
|
+
props: Ye(Je({}, this.$$d), {
|
|
314
314
|
$$slots: r,
|
|
315
315
|
$$scope: {
|
|
316
316
|
ctx: []
|
|
@@ -388,8 +388,8 @@ function he(e, t, r, n) {
|
|
|
388
388
|
return t;
|
|
389
389
|
}
|
|
390
390
|
}
|
|
391
|
-
function
|
|
392
|
-
let s = class extends
|
|
391
|
+
function Ir(e, t, r, n, i, o) {
|
|
392
|
+
let s = class extends Bt {
|
|
393
393
|
constructor() {
|
|
394
394
|
super(e, r, i), this.$$p_d = t;
|
|
395
395
|
}
|
|
@@ -419,7 +419,7 @@ function Mr(e, t, r, n, i, o) {
|
|
|
419
419
|
}), e.element = /** @type {any} */
|
|
420
420
|
s, s;
|
|
421
421
|
}
|
|
422
|
-
class
|
|
422
|
+
class Cr {
|
|
423
423
|
constructor() {
|
|
424
424
|
/**
|
|
425
425
|
* ### PRIVATE API
|
|
@@ -440,7 +440,7 @@ class $r {
|
|
|
440
440
|
}
|
|
441
441
|
/** @returns {void} */
|
|
442
442
|
$destroy() {
|
|
443
|
-
|
|
443
|
+
Br(this, 1), this.$destroy = H;
|
|
444
444
|
}
|
|
445
445
|
/**
|
|
446
446
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -449,7 +449,7 @@ class $r {
|
|
|
449
449
|
* @returns {() => void}
|
|
450
450
|
*/
|
|
451
451
|
$on(t, r) {
|
|
452
|
-
if (!
|
|
452
|
+
if (!Ve(r))
|
|
453
453
|
return H;
|
|
454
454
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
455
455
|
return n.push(r), () => {
|
|
@@ -462,18 +462,18 @@ class $r {
|
|
|
462
462
|
* @returns {void}
|
|
463
463
|
*/
|
|
464
464
|
$set(t) {
|
|
465
|
-
this.$$set && !
|
|
465
|
+
this.$$set && !lr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
466
466
|
}
|
|
467
467
|
}
|
|
468
|
-
const
|
|
469
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
470
|
-
function
|
|
468
|
+
const Nr = "4";
|
|
469
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Nr);
|
|
470
|
+
function Lr(e, t) {
|
|
471
471
|
if (e) {
|
|
472
472
|
const r = document.createElement("style");
|
|
473
473
|
r.innerHTML = t, e.appendChild(r);
|
|
474
474
|
}
|
|
475
475
|
}
|
|
476
|
-
function
|
|
476
|
+
function Mr(e, t) {
|
|
477
477
|
const r = new URL(t);
|
|
478
478
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
479
479
|
const i = document.createElement("style");
|
|
@@ -482,7 +482,7 @@ function Ur(e, t) {
|
|
|
482
482
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
483
483
|
});
|
|
484
484
|
}
|
|
485
|
-
function
|
|
485
|
+
function $r(e, t, r) {
|
|
486
486
|
if (window.emMessageBus) {
|
|
487
487
|
const n = document.createElement("style");
|
|
488
488
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -504,18 +504,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
504
504
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
505
505
|
PERFORMANCE OF THIS SOFTWARE.
|
|
506
506
|
***************************************************************************** */
|
|
507
|
-
var
|
|
508
|
-
return
|
|
507
|
+
var Ie = function(e, t) {
|
|
508
|
+
return Ie = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
509
509
|
r.__proto__ = n;
|
|
510
510
|
} || function(r, n) {
|
|
511
511
|
for (var i in n)
|
|
512
512
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
513
|
-
},
|
|
513
|
+
}, Ie(e, t);
|
|
514
514
|
};
|
|
515
515
|
function O(e, t) {
|
|
516
516
|
if (typeof t != "function" && t !== null)
|
|
517
517
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
518
|
-
|
|
518
|
+
Ie(e, t);
|
|
519
519
|
function r() {
|
|
520
520
|
this.constructor = e;
|
|
521
521
|
}
|
|
@@ -531,7 +531,7 @@ var b = function() {
|
|
|
531
531
|
return t;
|
|
532
532
|
}, b.apply(this, arguments);
|
|
533
533
|
};
|
|
534
|
-
function
|
|
534
|
+
function Rr(e, t) {
|
|
535
535
|
var r = {};
|
|
536
536
|
for (var n in e)
|
|
537
537
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -540,7 +540,7 @@ function Gr(e, t) {
|
|
|
540
540
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
541
541
|
return r;
|
|
542
542
|
}
|
|
543
|
-
function
|
|
543
|
+
function Ce(e) {
|
|
544
544
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
545
545
|
if (r)
|
|
546
546
|
return r.call(e);
|
|
@@ -581,13 +581,13 @@ function j(e, t, r) {
|
|
|
581
581
|
function A(e) {
|
|
582
582
|
return typeof e == "function";
|
|
583
583
|
}
|
|
584
|
-
function
|
|
584
|
+
function At(e) {
|
|
585
585
|
var t = function(n) {
|
|
586
586
|
Error.call(n), n.stack = new Error().stack;
|
|
587
587
|
}, r = e(t);
|
|
588
588
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
589
589
|
}
|
|
590
|
-
var Se =
|
|
590
|
+
var Se = At(function(e) {
|
|
591
591
|
return function(r) {
|
|
592
592
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
593
593
|
` + r.map(function(n, i) {
|
|
@@ -596,7 +596,7 @@ var Se = Ct(function(e) {
|
|
|
596
596
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
597
597
|
};
|
|
598
598
|
});
|
|
599
|
-
function
|
|
599
|
+
function Le(e, t) {
|
|
600
600
|
if (e) {
|
|
601
601
|
var r = e.indexOf(t);
|
|
602
602
|
0 <= r && e.splice(r, 1);
|
|
@@ -614,7 +614,7 @@ var be = function() {
|
|
|
614
614
|
if (s)
|
|
615
615
|
if (this._parentage = null, Array.isArray(s))
|
|
616
616
|
try {
|
|
617
|
-
for (var a =
|
|
617
|
+
for (var a = Ce(s), u = a.next(); !u.done; u = a.next()) {
|
|
618
618
|
var h = u.value;
|
|
619
619
|
h.remove(this);
|
|
620
620
|
}
|
|
@@ -641,10 +641,10 @@ var be = function() {
|
|
|
641
641
|
if (c) {
|
|
642
642
|
this._finalizers = null;
|
|
643
643
|
try {
|
|
644
|
-
for (var f =
|
|
645
|
-
var
|
|
644
|
+
for (var f = Ce(c), m = f.next(); !m.done; m = f.next()) {
|
|
645
|
+
var v = m.value;
|
|
646
646
|
try {
|
|
647
|
-
|
|
647
|
+
rt(v);
|
|
648
648
|
} catch (g) {
|
|
649
649
|
o = o != null ? o : [], g instanceof Se ? o = j(j([], Ne(o)), Ne(g.errors)) : o.push(g);
|
|
650
650
|
}
|
|
@@ -667,7 +667,7 @@ var be = function() {
|
|
|
667
667
|
var r;
|
|
668
668
|
if (t && t !== this)
|
|
669
669
|
if (this.closed)
|
|
670
|
-
|
|
670
|
+
rt(t);
|
|
671
671
|
else {
|
|
672
672
|
if (t instanceof e) {
|
|
673
673
|
if (t.closed || t._hasParent(this))
|
|
@@ -684,28 +684,24 @@ var be = function() {
|
|
|
684
684
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
685
685
|
}, e.prototype._removeParent = function(t) {
|
|
686
686
|
var r = this._parentage;
|
|
687
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
687
|
+
r === t ? this._parentage = null : Array.isArray(r) && Le(r, t);
|
|
688
688
|
}, e.prototype.remove = function(t) {
|
|
689
689
|
var r = this._finalizers;
|
|
690
|
-
r &&
|
|
690
|
+
r && Le(r, t), t instanceof e && t._removeParent(this);
|
|
691
691
|
}, e.EMPTY = function() {
|
|
692
692
|
var t = new e();
|
|
693
693
|
return t.closed = !0, t;
|
|
694
694
|
}(), e;
|
|
695
|
-
}(),
|
|
696
|
-
function
|
|
695
|
+
}(), Ot = be.EMPTY;
|
|
696
|
+
function It(e) {
|
|
697
697
|
return e instanceof be || e && "closed" in e && A(e.remove) && A(e.add) && A(e.unsubscribe);
|
|
698
698
|
}
|
|
699
|
-
function
|
|
699
|
+
function rt(e) {
|
|
700
700
|
A(e) ? e() : e.unsubscribe();
|
|
701
701
|
}
|
|
702
|
-
var
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
Promise: void 0,
|
|
706
|
-
useDeprecatedSynchronousErrorHandling: !1,
|
|
707
|
-
useDeprecatedNextContext: !1
|
|
708
|
-
}, jr = {
|
|
702
|
+
var Dr = {
|
|
703
|
+
Promise: void 0
|
|
704
|
+
}, Ur = {
|
|
709
705
|
setTimeout: function(e, t) {
|
|
710
706
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
711
707
|
r[n - 2] = arguments[n];
|
|
@@ -716,24 +712,24 @@ var Mt = {
|
|
|
716
712
|
},
|
|
717
713
|
delegate: void 0
|
|
718
714
|
};
|
|
719
|
-
function
|
|
720
|
-
|
|
715
|
+
function Gr(e) {
|
|
716
|
+
Ur.setTimeout(function() {
|
|
721
717
|
throw e;
|
|
722
718
|
});
|
|
723
719
|
}
|
|
724
|
-
function
|
|
720
|
+
function nt() {
|
|
725
721
|
}
|
|
726
722
|
function le(e) {
|
|
727
723
|
e();
|
|
728
724
|
}
|
|
729
|
-
var
|
|
725
|
+
var Ct = function(e) {
|
|
730
726
|
O(t, e);
|
|
731
727
|
function t(r) {
|
|
732
728
|
var n = e.call(this) || this;
|
|
733
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
729
|
+
return n.isStopped = !1, r ? (n.destination = r, It(r) && r.add(n)) : n.destination = kr, n;
|
|
734
730
|
}
|
|
735
731
|
return t.create = function(r, n, i) {
|
|
736
|
-
return new
|
|
732
|
+
return new Me(r, n, i);
|
|
737
733
|
}, t.prototype.next = function(r) {
|
|
738
734
|
this.isStopped || this._next(r);
|
|
739
735
|
}, t.prototype.error = function(r) {
|
|
@@ -757,11 +753,7 @@ var $t = function(e) {
|
|
|
757
753
|
this.unsubscribe();
|
|
758
754
|
}
|
|
759
755
|
}, t;
|
|
760
|
-
}(be),
|
|
761
|
-
function Te(e, t) {
|
|
762
|
-
return Vr.call(e, t);
|
|
763
|
-
}
|
|
764
|
-
var zr = function() {
|
|
756
|
+
}(be), Fr = function() {
|
|
765
757
|
function e(t) {
|
|
766
758
|
this.partialObserver = t;
|
|
767
759
|
}
|
|
@@ -792,55 +784,43 @@ var zr = function() {
|
|
|
792
784
|
oe(r);
|
|
793
785
|
}
|
|
794
786
|
}, e;
|
|
795
|
-
}(),
|
|
787
|
+
}(), Me = function(e) {
|
|
796
788
|
O(t, e);
|
|
797
789
|
function t(r, n, i) {
|
|
798
790
|
var o = e.call(this) || this, s;
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
};
|
|
805
|
-
else {
|
|
806
|
-
var a;
|
|
807
|
-
o && Mt.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
|
|
808
|
-
return o.unsubscribe();
|
|
809
|
-
}, s = {
|
|
810
|
-
next: r.next && Te(r.next, a),
|
|
811
|
-
error: r.error && Te(r.error, a),
|
|
812
|
-
complete: r.complete && Te(r.complete, a)
|
|
813
|
-
}) : s = r;
|
|
814
|
-
}
|
|
815
|
-
return o.destination = new zr(s), o;
|
|
791
|
+
return A(r) || !r ? s = {
|
|
792
|
+
next: r != null ? r : void 0,
|
|
793
|
+
error: n != null ? n : void 0,
|
|
794
|
+
complete: i != null ? i : void 0
|
|
795
|
+
} : s = r, o.destination = new Fr(s), o;
|
|
816
796
|
}
|
|
817
797
|
return t;
|
|
818
|
-
}(
|
|
798
|
+
}(Ct);
|
|
819
799
|
function oe(e) {
|
|
820
|
-
|
|
800
|
+
Gr(e);
|
|
821
801
|
}
|
|
822
|
-
function
|
|
802
|
+
function jr(e) {
|
|
823
803
|
throw e;
|
|
824
804
|
}
|
|
825
|
-
var
|
|
805
|
+
var kr = {
|
|
826
806
|
closed: !0,
|
|
827
|
-
next:
|
|
828
|
-
error:
|
|
829
|
-
complete:
|
|
830
|
-
},
|
|
807
|
+
next: nt,
|
|
808
|
+
error: jr,
|
|
809
|
+
complete: nt
|
|
810
|
+
}, Vr = function() {
|
|
831
811
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
832
812
|
}();
|
|
833
|
-
function
|
|
813
|
+
function Xr(e) {
|
|
834
814
|
return e;
|
|
835
815
|
}
|
|
836
|
-
function
|
|
837
|
-
return e.length === 0 ?
|
|
816
|
+
function zr(e) {
|
|
817
|
+
return e.length === 0 ? Xr : e.length === 1 ? e[0] : function(r) {
|
|
838
818
|
return e.reduce(function(n, i) {
|
|
839
819
|
return i(n);
|
|
840
820
|
}, r);
|
|
841
821
|
};
|
|
842
822
|
}
|
|
843
|
-
var
|
|
823
|
+
var it = function() {
|
|
844
824
|
function e(t) {
|
|
845
825
|
t && (this._subscribe = t);
|
|
846
826
|
}
|
|
@@ -848,7 +828,7 @@ var at = function() {
|
|
|
848
828
|
var r = new e();
|
|
849
829
|
return r.source = this, r.operator = t, r;
|
|
850
830
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
851
|
-
var i = this, o =
|
|
831
|
+
var i = this, o = Zr(t) ? t : new Me(t, r, n);
|
|
852
832
|
return le(function() {
|
|
853
833
|
var s = i, a = s.operator, u = s.source;
|
|
854
834
|
o.add(a ? a.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -861,8 +841,8 @@ var at = function() {
|
|
|
861
841
|
}
|
|
862
842
|
}, e.prototype.forEach = function(t, r) {
|
|
863
843
|
var n = this;
|
|
864
|
-
return r =
|
|
865
|
-
var s = new
|
|
844
|
+
return r = ot(r), new r(function(i, o) {
|
|
845
|
+
var s = new Me({
|
|
866
846
|
next: function(a) {
|
|
867
847
|
try {
|
|
868
848
|
t(a);
|
|
@@ -878,15 +858,15 @@ var at = function() {
|
|
|
878
858
|
}, e.prototype._subscribe = function(t) {
|
|
879
859
|
var r;
|
|
880
860
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
881
|
-
}, e.prototype[
|
|
861
|
+
}, e.prototype[Vr] = function() {
|
|
882
862
|
return this;
|
|
883
863
|
}, e.prototype.pipe = function() {
|
|
884
864
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
885
865
|
t[r] = arguments[r];
|
|
886
|
-
return
|
|
866
|
+
return zr(t)(this);
|
|
887
867
|
}, e.prototype.toPromise = function(t) {
|
|
888
868
|
var r = this;
|
|
889
|
-
return t =
|
|
869
|
+
return t = ot(t), new t(function(n, i) {
|
|
890
870
|
var o;
|
|
891
871
|
r.subscribe(function(s) {
|
|
892
872
|
return o = s;
|
|
@@ -900,32 +880,32 @@ var at = function() {
|
|
|
900
880
|
return new e(t);
|
|
901
881
|
}, e;
|
|
902
882
|
}();
|
|
903
|
-
function
|
|
883
|
+
function ot(e) {
|
|
904
884
|
var t;
|
|
905
|
-
return (t = e != null ? e :
|
|
885
|
+
return (t = e != null ? e : Dr.Promise) !== null && t !== void 0 ? t : Promise;
|
|
906
886
|
}
|
|
907
|
-
function
|
|
887
|
+
function Wr(e) {
|
|
908
888
|
return e && A(e.next) && A(e.error) && A(e.complete);
|
|
909
889
|
}
|
|
910
|
-
function
|
|
911
|
-
return e && e instanceof
|
|
890
|
+
function Zr(e) {
|
|
891
|
+
return e && e instanceof Ct || Wr(e) && It(e);
|
|
912
892
|
}
|
|
913
|
-
var
|
|
893
|
+
var Qr = At(function(e) {
|
|
914
894
|
return function() {
|
|
915
895
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
916
896
|
};
|
|
917
|
-
}),
|
|
897
|
+
}), Nt = function(e) {
|
|
918
898
|
O(t, e);
|
|
919
899
|
function t() {
|
|
920
900
|
var r = e.call(this) || this;
|
|
921
901
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
922
902
|
}
|
|
923
903
|
return t.prototype.lift = function(r) {
|
|
924
|
-
var n = new
|
|
904
|
+
var n = new st(this, this);
|
|
925
905
|
return n.operator = r, n;
|
|
926
906
|
}, t.prototype._throwIfClosed = function() {
|
|
927
907
|
if (this.closed)
|
|
928
|
-
throw new
|
|
908
|
+
throw new Qr();
|
|
929
909
|
}, t.prototype.next = function(r) {
|
|
930
910
|
var n = this;
|
|
931
911
|
le(function() {
|
|
@@ -933,7 +913,7 @@ var Kr = Ct(function(e) {
|
|
|
933
913
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
934
914
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
935
915
|
try {
|
|
936
|
-
for (var s =
|
|
916
|
+
for (var s = Ce(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
937
917
|
var u = a.value;
|
|
938
918
|
u.next(r);
|
|
939
919
|
}
|
|
@@ -982,19 +962,19 @@ var Kr = Ct(function(e) {
|
|
|
982
962
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
983
963
|
}, t.prototype._innerSubscribe = function(r) {
|
|
984
964
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
985
|
-
return o || s ?
|
|
986
|
-
n.currentObservers = null,
|
|
965
|
+
return o || s ? Ot : (this.currentObservers = null, a.push(r), new be(function() {
|
|
966
|
+
n.currentObservers = null, Le(a, r);
|
|
987
967
|
}));
|
|
988
968
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
989
969
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
990
970
|
i ? r.error(o) : s && r.complete();
|
|
991
971
|
}, t.prototype.asObservable = function() {
|
|
992
|
-
var r = new
|
|
972
|
+
var r = new it();
|
|
993
973
|
return r.source = this, r;
|
|
994
974
|
}, t.create = function(r, n) {
|
|
995
|
-
return new
|
|
975
|
+
return new st(r, n);
|
|
996
976
|
}, t;
|
|
997
|
-
}(
|
|
977
|
+
}(it), st = function(e) {
|
|
998
978
|
O(t, e);
|
|
999
979
|
function t(r, n) {
|
|
1000
980
|
var i = e.call(this) || this;
|
|
@@ -1011,17 +991,17 @@ var Kr = Ct(function(e) {
|
|
|
1011
991
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
1012
992
|
}, t.prototype._subscribe = function(r) {
|
|
1013
993
|
var n, i;
|
|
1014
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
994
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Ot;
|
|
1015
995
|
}, t;
|
|
1016
|
-
}(
|
|
996
|
+
}(Nt), Lt = {
|
|
1017
997
|
now: function() {
|
|
1018
|
-
return (
|
|
998
|
+
return (Lt.delegate || Date).now();
|
|
1019
999
|
},
|
|
1020
1000
|
delegate: void 0
|
|
1021
|
-
},
|
|
1001
|
+
}, Jr = function(e) {
|
|
1022
1002
|
O(t, e);
|
|
1023
1003
|
function t(r, n, i) {
|
|
1024
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
1004
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Lt);
|
|
1025
1005
|
var o = e.call(this) || this;
|
|
1026
1006
|
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;
|
|
1027
1007
|
}
|
|
@@ -1041,15 +1021,15 @@ var Kr = Ct(function(e) {
|
|
|
1041
1021
|
h && o.splice(0, h + 1);
|
|
1042
1022
|
}
|
|
1043
1023
|
}, t;
|
|
1044
|
-
}(
|
|
1045
|
-
const
|
|
1046
|
-
if (
|
|
1047
|
-
const r = new
|
|
1048
|
-
|
|
1024
|
+
}(Nt);
|
|
1025
|
+
const at = [], ut = {}, Yr = (e, t = 0) => {
|
|
1026
|
+
if (at.indexOf(e) == -1) {
|
|
1027
|
+
const r = new Jr(t);
|
|
1028
|
+
ut[e] = r, at.push(e);
|
|
1049
1029
|
}
|
|
1050
|
-
return
|
|
1030
|
+
return ut[e];
|
|
1051
1031
|
}, U = [];
|
|
1052
|
-
function
|
|
1032
|
+
function qr(e, t) {
|
|
1053
1033
|
return {
|
|
1054
1034
|
subscribe: ge(e, t).subscribe
|
|
1055
1035
|
};
|
|
@@ -1058,7 +1038,7 @@ function ge(e, t = H) {
|
|
|
1058
1038
|
let r;
|
|
1059
1039
|
const n = /* @__PURE__ */ new Set();
|
|
1060
1040
|
function i(a) {
|
|
1061
|
-
if (
|
|
1041
|
+
if (wt(e, a) && (e = a, r)) {
|
|
1062
1042
|
const u = !U.length;
|
|
1063
1043
|
for (const h of n)
|
|
1064
1044
|
h[1](), U.push(h, e);
|
|
@@ -1085,7 +1065,7 @@ function W(e, t, r) {
|
|
|
1085
1065
|
if (!i.every(Boolean))
|
|
1086
1066
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1087
1067
|
const o = t.length < 2;
|
|
1088
|
-
return
|
|
1068
|
+
return qr(r, (s, a) => {
|
|
1089
1069
|
let u = !1;
|
|
1090
1070
|
const h = [];
|
|
1091
1071
|
let l = 0, c = H;
|
|
@@ -1093,11 +1073,11 @@ function W(e, t, r) {
|
|
|
1093
1073
|
if (l)
|
|
1094
1074
|
return;
|
|
1095
1075
|
c();
|
|
1096
|
-
const
|
|
1097
|
-
o ? s(
|
|
1076
|
+
const v = t(n ? h[0] : h, s, a);
|
|
1077
|
+
o ? s(v) : c = Ve(v) ? v : H;
|
|
1098
1078
|
}, m = i.map(
|
|
1099
|
-
(
|
|
1100
|
-
|
|
1079
|
+
(v, g) => Ht(
|
|
1080
|
+
v,
|
|
1101
1081
|
(w) => {
|
|
1102
1082
|
h[g] = w, l &= ~(1 << g), u && f();
|
|
1103
1083
|
},
|
|
@@ -1111,70 +1091,70 @@ function W(e, t, r) {
|
|
|
1111
1091
|
};
|
|
1112
1092
|
});
|
|
1113
1093
|
}
|
|
1114
|
-
function
|
|
1094
|
+
function Kr(e) {
|
|
1115
1095
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1116
1096
|
}
|
|
1117
|
-
var
|
|
1118
|
-
return
|
|
1097
|
+
var en = function(t) {
|
|
1098
|
+
return tn(t) && !rn(t);
|
|
1119
1099
|
};
|
|
1120
|
-
function
|
|
1100
|
+
function tn(e) {
|
|
1121
1101
|
return !!e && typeof e == "object";
|
|
1122
1102
|
}
|
|
1123
|
-
function
|
|
1103
|
+
function rn(e) {
|
|
1124
1104
|
var t = Object.prototype.toString.call(e);
|
|
1125
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1105
|
+
return t === "[object RegExp]" || t === "[object Date]" || sn(e);
|
|
1126
1106
|
}
|
|
1127
|
-
var
|
|
1128
|
-
function
|
|
1129
|
-
return e.$$typeof ===
|
|
1107
|
+
var nn = typeof Symbol == "function" && Symbol.for, on = nn ? Symbol.for("react.element") : 60103;
|
|
1108
|
+
function sn(e) {
|
|
1109
|
+
return e.$$typeof === on;
|
|
1130
1110
|
}
|
|
1131
|
-
function
|
|
1111
|
+
function an(e) {
|
|
1132
1112
|
return Array.isArray(e) ? [] : {};
|
|
1133
1113
|
}
|
|
1134
1114
|
function ee(e, t) {
|
|
1135
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? k(
|
|
1115
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? k(an(e), e, t) : e;
|
|
1136
1116
|
}
|
|
1137
|
-
function
|
|
1117
|
+
function un(e, t, r) {
|
|
1138
1118
|
return e.concat(t).map(function(n) {
|
|
1139
1119
|
return ee(n, r);
|
|
1140
1120
|
});
|
|
1141
1121
|
}
|
|
1142
|
-
function
|
|
1122
|
+
function hn(e, t) {
|
|
1143
1123
|
if (!t.customMerge)
|
|
1144
1124
|
return k;
|
|
1145
1125
|
var r = t.customMerge(e);
|
|
1146
1126
|
return typeof r == "function" ? r : k;
|
|
1147
1127
|
}
|
|
1148
|
-
function
|
|
1128
|
+
function ln(e) {
|
|
1149
1129
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1150
1130
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1151
1131
|
}) : [];
|
|
1152
1132
|
}
|
|
1153
|
-
function
|
|
1154
|
-
return Object.keys(e).concat(
|
|
1133
|
+
function ht(e) {
|
|
1134
|
+
return Object.keys(e).concat(ln(e));
|
|
1155
1135
|
}
|
|
1156
|
-
function
|
|
1136
|
+
function Mt(e, t) {
|
|
1157
1137
|
try {
|
|
1158
1138
|
return t in e;
|
|
1159
1139
|
} catch (r) {
|
|
1160
1140
|
return !1;
|
|
1161
1141
|
}
|
|
1162
1142
|
}
|
|
1163
|
-
function
|
|
1164
|
-
return
|
|
1143
|
+
function cn(e, t) {
|
|
1144
|
+
return Mt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1165
1145
|
}
|
|
1166
|
-
function
|
|
1146
|
+
function fn(e, t, r) {
|
|
1167
1147
|
var n = {};
|
|
1168
|
-
return r.isMergeableObject(e) &&
|
|
1148
|
+
return r.isMergeableObject(e) && ht(e).forEach(function(i) {
|
|
1169
1149
|
n[i] = ee(e[i], r);
|
|
1170
|
-
}),
|
|
1171
|
-
|
|
1150
|
+
}), ht(t).forEach(function(i) {
|
|
1151
|
+
cn(e, i) || (Mt(e, i) && r.isMergeableObject(t[i]) ? n[i] = hn(i, r)(e[i], t[i], r) : n[i] = ee(t[i], r));
|
|
1172
1152
|
}), n;
|
|
1173
1153
|
}
|
|
1174
1154
|
function k(e, t, r) {
|
|
1175
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1155
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || un, r.isMergeableObject = r.isMergeableObject || en, r.cloneUnlessOtherwiseSpecified = ee;
|
|
1176
1156
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1177
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1157
|
+
return o ? n ? r.arrayMerge(e, t, r) : fn(e, t, r) : ee(t, r);
|
|
1178
1158
|
}
|
|
1179
1159
|
k.all = function(t, r) {
|
|
1180
1160
|
if (!Array.isArray(t))
|
|
@@ -1183,58 +1163,56 @@ k.all = function(t, r) {
|
|
|
1183
1163
|
return k(n, i, r);
|
|
1184
1164
|
}, {});
|
|
1185
1165
|
};
|
|
1186
|
-
var
|
|
1187
|
-
const
|
|
1188
|
-
function
|
|
1189
|
-
var r = t && t.cache ? t.cache :
|
|
1166
|
+
var pn = k, mn = pn;
|
|
1167
|
+
const dn = /* @__PURE__ */ Kr(mn);
|
|
1168
|
+
function Te(e, t) {
|
|
1169
|
+
var r = t && t.cache ? t.cache : _n, n = t && t.serializer ? t.serializer : xn, i = t && t.strategy ? t.strategy : vn;
|
|
1190
1170
|
return i(e, {
|
|
1191
1171
|
cache: r,
|
|
1192
1172
|
serializer: n
|
|
1193
1173
|
});
|
|
1194
1174
|
}
|
|
1195
|
-
function
|
|
1175
|
+
function bn(e) {
|
|
1196
1176
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1197
1177
|
}
|
|
1198
|
-
function
|
|
1199
|
-
var i =
|
|
1178
|
+
function gn(e, t, r, n) {
|
|
1179
|
+
var i = bn(n) ? n : r(n), o = t.get(i);
|
|
1200
1180
|
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1201
1181
|
}
|
|
1202
|
-
function
|
|
1182
|
+
function $t(e, t, r) {
|
|
1203
1183
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1204
1184
|
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1205
1185
|
}
|
|
1206
|
-
function
|
|
1186
|
+
function Rt(e, t, r, n, i) {
|
|
1207
1187
|
return r.bind(t, e, n, i);
|
|
1208
1188
|
}
|
|
1209
|
-
function
|
|
1210
|
-
var r = e.length === 1 ?
|
|
1211
|
-
return
|
|
1189
|
+
function vn(e, t) {
|
|
1190
|
+
var r = e.length === 1 ? gn : $t;
|
|
1191
|
+
return Rt(e, this, r, t.cache.create(), t.serializer);
|
|
1212
1192
|
}
|
|
1213
|
-
function
|
|
1214
|
-
return
|
|
1193
|
+
function yn(e, t) {
|
|
1194
|
+
return Rt(e, this, $t, t.cache.create(), t.serializer);
|
|
1215
1195
|
}
|
|
1216
|
-
function
|
|
1217
|
-
return We(e, this, Ft, t.cache.create(), t.serializer);
|
|
1218
|
-
}
|
|
1219
|
-
var Tn = function() {
|
|
1196
|
+
var xn = function() {
|
|
1220
1197
|
return JSON.stringify(arguments);
|
|
1221
|
-
}
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1198
|
+
}, En = (
|
|
1199
|
+
/** @class */
|
|
1200
|
+
function() {
|
|
1201
|
+
function e() {
|
|
1202
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1203
|
+
}
|
|
1204
|
+
return e.prototype.get = function(t) {
|
|
1205
|
+
return this.cache[t];
|
|
1206
|
+
}, e.prototype.set = function(t, r) {
|
|
1207
|
+
this.cache[t] = r;
|
|
1208
|
+
}, e;
|
|
1209
|
+
}()
|
|
1210
|
+
), _n = {
|
|
1232
1211
|
create: function() {
|
|
1233
|
-
return new
|
|
1212
|
+
return new En();
|
|
1234
1213
|
}
|
|
1235
|
-
},
|
|
1236
|
-
variadic:
|
|
1237
|
-
monadic: Sn
|
|
1214
|
+
}, we = {
|
|
1215
|
+
variadic: yn
|
|
1238
1216
|
}, p;
|
|
1239
1217
|
(function(e) {
|
|
1240
1218
|
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";
|
|
@@ -1247,43 +1225,43 @@ var V;
|
|
|
1247
1225
|
(function(e) {
|
|
1248
1226
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1249
1227
|
})(V || (V = {}));
|
|
1250
|
-
function
|
|
1228
|
+
function lt(e) {
|
|
1251
1229
|
return e.type === x.literal;
|
|
1252
1230
|
}
|
|
1253
|
-
function
|
|
1231
|
+
function Sn(e) {
|
|
1254
1232
|
return e.type === x.argument;
|
|
1255
1233
|
}
|
|
1256
|
-
function
|
|
1234
|
+
function Dt(e) {
|
|
1257
1235
|
return e.type === x.number;
|
|
1258
1236
|
}
|
|
1259
|
-
function
|
|
1237
|
+
function Ut(e) {
|
|
1260
1238
|
return e.type === x.date;
|
|
1261
1239
|
}
|
|
1262
|
-
function
|
|
1240
|
+
function Gt(e) {
|
|
1263
1241
|
return e.type === x.time;
|
|
1264
1242
|
}
|
|
1265
|
-
function
|
|
1243
|
+
function Ft(e) {
|
|
1266
1244
|
return e.type === x.select;
|
|
1267
1245
|
}
|
|
1268
|
-
function
|
|
1246
|
+
function jt(e) {
|
|
1269
1247
|
return e.type === x.plural;
|
|
1270
1248
|
}
|
|
1271
|
-
function
|
|
1249
|
+
function Tn(e) {
|
|
1272
1250
|
return e.type === x.pound;
|
|
1273
1251
|
}
|
|
1274
|
-
function
|
|
1252
|
+
function kt(e) {
|
|
1275
1253
|
return e.type === x.tag;
|
|
1276
1254
|
}
|
|
1277
|
-
function
|
|
1255
|
+
function Vt(e) {
|
|
1278
1256
|
return !!(e && typeof e == "object" && e.type === V.number);
|
|
1279
1257
|
}
|
|
1280
|
-
function
|
|
1258
|
+
function $e(e) {
|
|
1281
1259
|
return !!(e && typeof e == "object" && e.type === V.dateTime);
|
|
1282
1260
|
}
|
|
1283
|
-
var
|
|
1284
|
-
function
|
|
1261
|
+
var Xt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, wn = /(?:[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;
|
|
1262
|
+
function Hn(e) {
|
|
1285
1263
|
var t = {};
|
|
1286
|
-
return e.replace(
|
|
1264
|
+
return e.replace(wn, function(r) {
|
|
1287
1265
|
var n = r.length;
|
|
1288
1266
|
switch (r[0]) {
|
|
1289
1267
|
case "G":
|
|
@@ -1372,11 +1350,11 @@ function An(e) {
|
|
|
1372
1350
|
return "";
|
|
1373
1351
|
}), t;
|
|
1374
1352
|
}
|
|
1375
|
-
var
|
|
1376
|
-
function
|
|
1353
|
+
var Pn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1354
|
+
function Bn(e) {
|
|
1377
1355
|
if (e.length === 0)
|
|
1378
1356
|
throw new Error("Number skeleton cannot be empty");
|
|
1379
|
-
for (var t = e.split(
|
|
1357
|
+
for (var t = e.split(Pn).filter(function(f) {
|
|
1380
1358
|
return f.length > 0;
|
|
1381
1359
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1382
1360
|
var o = i[n], s = o.split("/");
|
|
@@ -1391,17 +1369,17 @@ function In(e) {
|
|
|
1391
1369
|
}
|
|
1392
1370
|
return r;
|
|
1393
1371
|
}
|
|
1394
|
-
function
|
|
1372
|
+
function An(e) {
|
|
1395
1373
|
return e.replace(/^(.*?)-/, "");
|
|
1396
1374
|
}
|
|
1397
|
-
var
|
|
1398
|
-
function
|
|
1375
|
+
var ct = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, zt = /^(@+)?(\+|#+)?[rs]?$/g, On = /(\*)(0+)|(#+)(0+)|(0+)/g, Wt = /^(0+)$/;
|
|
1376
|
+
function ft(e) {
|
|
1399
1377
|
var t = {};
|
|
1400
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1378
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(zt, function(r, n, i) {
|
|
1401
1379
|
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)), "";
|
|
1402
1380
|
}), t;
|
|
1403
1381
|
}
|
|
1404
|
-
function
|
|
1382
|
+
function Zt(e) {
|
|
1405
1383
|
switch (e) {
|
|
1406
1384
|
case "sign-auto":
|
|
1407
1385
|
return {
|
|
@@ -1441,7 +1419,7 @@ function qt(e) {
|
|
|
1441
1419
|
};
|
|
1442
1420
|
}
|
|
1443
1421
|
}
|
|
1444
|
-
function
|
|
1422
|
+
function In(e) {
|
|
1445
1423
|
var t;
|
|
1446
1424
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1447
1425
|
notation: "engineering"
|
|
@@ -1449,17 +1427,17 @@ function Nn(e) {
|
|
|
1449
1427
|
notation: "scientific"
|
|
1450
1428
|
}, e = e.slice(1)), t) {
|
|
1451
1429
|
var r = e.slice(0, 2);
|
|
1452
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1430
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Wt.test(e))
|
|
1453
1431
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1454
1432
|
t.minimumIntegerDigits = e.length;
|
|
1455
1433
|
}
|
|
1456
1434
|
return t;
|
|
1457
1435
|
}
|
|
1458
|
-
function
|
|
1459
|
-
var t = {}, r =
|
|
1436
|
+
function pt(e) {
|
|
1437
|
+
var t = {}, r = Zt(e);
|
|
1460
1438
|
return r || t;
|
|
1461
1439
|
}
|
|
1462
|
-
function
|
|
1440
|
+
function Cn(e) {
|
|
1463
1441
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1464
1442
|
var i = n[r];
|
|
1465
1443
|
switch (i.stem) {
|
|
@@ -1483,7 +1461,7 @@ function Mn(e) {
|
|
|
1483
1461
|
continue;
|
|
1484
1462
|
case "measure-unit":
|
|
1485
1463
|
case "unit":
|
|
1486
|
-
t.style = "unit", t.unit =
|
|
1464
|
+
t.style = "unit", t.unit = An(i.options[0]);
|
|
1487
1465
|
continue;
|
|
1488
1466
|
case "compact-short":
|
|
1489
1467
|
case "K":
|
|
@@ -1495,12 +1473,12 @@ function Mn(e) {
|
|
|
1495
1473
|
continue;
|
|
1496
1474
|
case "scientific":
|
|
1497
1475
|
t = b(b(b({}, t), { notation: "scientific" }), i.options.reduce(function(u, h) {
|
|
1498
|
-
return b(b({}, u),
|
|
1476
|
+
return b(b({}, u), pt(h));
|
|
1499
1477
|
}, {}));
|
|
1500
1478
|
continue;
|
|
1501
1479
|
case "engineering":
|
|
1502
1480
|
t = b(b(b({}, t), { notation: "engineering" }), i.options.reduce(function(u, h) {
|
|
1503
|
-
return b(b({}, u),
|
|
1481
|
+
return b(b({}, u), pt(h));
|
|
1504
1482
|
}, {}));
|
|
1505
1483
|
continue;
|
|
1506
1484
|
case "notation-simple":
|
|
@@ -1545,7 +1523,7 @@ function Mn(e) {
|
|
|
1545
1523
|
case "integer-width":
|
|
1546
1524
|
if (i.options.length > 1)
|
|
1547
1525
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1548
|
-
i.options[0].replace(
|
|
1526
|
+
i.options[0].replace(On, function(u, h, l, c, f, m) {
|
|
1549
1527
|
if (h)
|
|
1550
1528
|
t.minimumIntegerDigits = l.length;
|
|
1551
1529
|
else {
|
|
@@ -1558,27 +1536,27 @@ function Mn(e) {
|
|
|
1558
1536
|
});
|
|
1559
1537
|
continue;
|
|
1560
1538
|
}
|
|
1561
|
-
if (
|
|
1539
|
+
if (Wt.test(i.stem)) {
|
|
1562
1540
|
t.minimumIntegerDigits = i.stem.length;
|
|
1563
1541
|
continue;
|
|
1564
1542
|
}
|
|
1565
|
-
if (
|
|
1543
|
+
if (ct.test(i.stem)) {
|
|
1566
1544
|
if (i.options.length > 1)
|
|
1567
1545
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1568
|
-
i.stem.replace(
|
|
1546
|
+
i.stem.replace(ct, function(u, h, l, c, f, m) {
|
|
1569
1547
|
return l === "*" ? t.minimumFractionDigits = h.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && m ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + m.length) : (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length), "";
|
|
1570
1548
|
});
|
|
1571
1549
|
var o = i.options[0];
|
|
1572
|
-
o === "w" ? t = b(b({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = b(b({}, t),
|
|
1550
|
+
o === "w" ? t = b(b({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = b(b({}, t), ft(o)));
|
|
1573
1551
|
continue;
|
|
1574
1552
|
}
|
|
1575
|
-
if (
|
|
1576
|
-
t = b(b({}, t),
|
|
1553
|
+
if (zt.test(i.stem)) {
|
|
1554
|
+
t = b(b({}, t), ft(i.stem));
|
|
1577
1555
|
continue;
|
|
1578
1556
|
}
|
|
1579
|
-
var s =
|
|
1557
|
+
var s = Zt(i.stem);
|
|
1580
1558
|
s && (t = b(b({}, t), s));
|
|
1581
|
-
var a =
|
|
1559
|
+
var a = In(i.stem);
|
|
1582
1560
|
a && (t = b(b({}, t), a));
|
|
1583
1561
|
}
|
|
1584
1562
|
return t;
|
|
@@ -2998,13 +2976,13 @@ var se = {
|
|
|
2998
2976
|
"h"
|
|
2999
2977
|
]
|
|
3000
2978
|
};
|
|
3001
|
-
function
|
|
2979
|
+
function Nn(e, t) {
|
|
3002
2980
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3003
2981
|
var i = e.charAt(n);
|
|
3004
2982
|
if (i === "j") {
|
|
3005
2983
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3006
2984
|
o++, n++;
|
|
3007
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", h =
|
|
2985
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", h = Ln(t);
|
|
3008
2986
|
for ((h == "H" || h == "k") && (a = 0); a-- > 0; )
|
|
3009
2987
|
r += u;
|
|
3010
2988
|
for (; s-- > 0; )
|
|
@@ -3014,7 +2992,7 @@ function $n(e, t) {
|
|
|
3014
2992
|
}
|
|
3015
2993
|
return r;
|
|
3016
2994
|
}
|
|
3017
|
-
function
|
|
2995
|
+
function Ln(e) {
|
|
3018
2996
|
var t = e.hourCycle;
|
|
3019
2997
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3020
2998
|
e.hourCycles && // @ts-ignore
|
|
@@ -3036,20 +3014,20 @@ function Rn(e) {
|
|
|
3036
3014
|
var i = se[n || ""] || se[r || ""] || se["".concat(r, "-001")] || se["001"];
|
|
3037
3015
|
return i[0];
|
|
3038
3016
|
}
|
|
3039
|
-
var
|
|
3017
|
+
var He, Mn = new RegExp("^".concat(Xt.source, "*")), $n = new RegExp("".concat(Xt.source, "*$"));
|
|
3040
3018
|
function d(e, t) {
|
|
3041
3019
|
return { start: e, end: t };
|
|
3042
3020
|
}
|
|
3043
|
-
var
|
|
3021
|
+
var Rn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Dn = !!String.fromCodePoint, Un = !!Object.fromEntries, Gn = !!String.prototype.codePointAt, Fn = !!String.prototype.trimStart, jn = !!String.prototype.trimEnd, kn = !!Number.isSafeInteger, Vn = kn ? Number.isSafeInteger : function(e) {
|
|
3044
3022
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3045
|
-
},
|
|
3023
|
+
}, Re = !0;
|
|
3046
3024
|
try {
|
|
3047
|
-
var
|
|
3048
|
-
|
|
3025
|
+
var Xn = Jt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3026
|
+
Re = ((He = Xn.exec("a")) === null || He === void 0 ? void 0 : He[0]) === "a";
|
|
3049
3027
|
} catch (e) {
|
|
3050
|
-
|
|
3028
|
+
Re = !1;
|
|
3051
3029
|
}
|
|
3052
|
-
var
|
|
3030
|
+
var mt = Rn ? (
|
|
3053
3031
|
// Native
|
|
3054
3032
|
function(t, r, n) {
|
|
3055
3033
|
return t.startsWith(r, n);
|
|
@@ -3059,7 +3037,7 @@ var gt = Fn ? (
|
|
|
3059
3037
|
function(t, r, n) {
|
|
3060
3038
|
return t.slice(n, n + r.length) === r;
|
|
3061
3039
|
}
|
|
3062
|
-
),
|
|
3040
|
+
), De = Dn ? String.fromCodePoint : (
|
|
3063
3041
|
// IE11
|
|
3064
3042
|
function() {
|
|
3065
3043
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3071,9 +3049,9 @@ var gt = Fn ? (
|
|
|
3071
3049
|
}
|
|
3072
3050
|
return n;
|
|
3073
3051
|
}
|
|
3074
|
-
),
|
|
3052
|
+
), dt = (
|
|
3075
3053
|
// native
|
|
3076
|
-
|
|
3054
|
+
Un ? Object.fromEntries : (
|
|
3077
3055
|
// Ponyfill
|
|
3078
3056
|
function(t) {
|
|
3079
3057
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3083,7 +3061,7 @@ var gt = Fn ? (
|
|
|
3083
3061
|
return r;
|
|
3084
3062
|
}
|
|
3085
3063
|
)
|
|
3086
|
-
),
|
|
3064
|
+
), Qt = Gn ? (
|
|
3087
3065
|
// Native
|
|
3088
3066
|
function(t, r) {
|
|
3089
3067
|
return t.codePointAt(r);
|
|
@@ -3097,7 +3075,7 @@ var gt = Fn ? (
|
|
|
3097
3075
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3098
3076
|
}
|
|
3099
3077
|
}
|
|
3100
|
-
),
|
|
3078
|
+
), zn = Fn ? (
|
|
3101
3079
|
// Native
|
|
3102
3080
|
function(t) {
|
|
3103
3081
|
return t.trimStart();
|
|
@@ -3105,9 +3083,9 @@ var gt = Fn ? (
|
|
|
3105
3083
|
) : (
|
|
3106
3084
|
// Ponyfill
|
|
3107
3085
|
function(t) {
|
|
3108
|
-
return t.replace(
|
|
3086
|
+
return t.replace(Mn, "");
|
|
3109
3087
|
}
|
|
3110
|
-
),
|
|
3088
|
+
), Wn = jn ? (
|
|
3111
3089
|
// Native
|
|
3112
3090
|
function(t) {
|
|
3113
3091
|
return t.trimEnd();
|
|
@@ -3115,32 +3093,32 @@ var gt = Fn ? (
|
|
|
3115
3093
|
) : (
|
|
3116
3094
|
// Ponyfill
|
|
3117
3095
|
function(t) {
|
|
3118
|
-
return t.replace(
|
|
3096
|
+
return t.replace($n, "");
|
|
3119
3097
|
}
|
|
3120
3098
|
);
|
|
3121
|
-
function
|
|
3099
|
+
function Jt(e, t) {
|
|
3122
3100
|
return new RegExp(e, t);
|
|
3123
3101
|
}
|
|
3124
|
-
var
|
|
3125
|
-
if (
|
|
3126
|
-
var
|
|
3127
|
-
|
|
3102
|
+
var Ue;
|
|
3103
|
+
if (Re) {
|
|
3104
|
+
var bt = Jt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3105
|
+
Ue = function(t, r) {
|
|
3128
3106
|
var n;
|
|
3129
|
-
|
|
3130
|
-
var i =
|
|
3107
|
+
bt.lastIndex = r;
|
|
3108
|
+
var i = bt.exec(t);
|
|
3131
3109
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3132
3110
|
};
|
|
3133
3111
|
} else
|
|
3134
|
-
|
|
3112
|
+
Ue = function(t, r) {
|
|
3135
3113
|
for (var n = []; ; ) {
|
|
3136
|
-
var i =
|
|
3137
|
-
if (i === void 0 ||
|
|
3114
|
+
var i = Qt(t, r);
|
|
3115
|
+
if (i === void 0 || Yt(i) || Yn(i))
|
|
3138
3116
|
break;
|
|
3139
3117
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3140
3118
|
}
|
|
3141
|
-
return
|
|
3119
|
+
return De.apply(void 0, n);
|
|
3142
3120
|
};
|
|
3143
|
-
var
|
|
3121
|
+
var Zn = (
|
|
3144
3122
|
/** @class */
|
|
3145
3123
|
function() {
|
|
3146
3124
|
function e(t, r) {
|
|
@@ -3222,7 +3200,7 @@ var Yn = (
|
|
|
3222
3200
|
return this.error(p.INVALID_TAG, d(n, this.clonePosition()));
|
|
3223
3201
|
}, e.prototype.parseTagName = function() {
|
|
3224
3202
|
var t = this.offset();
|
|
3225
|
-
for (this.bump(); !this.isEOF() &&
|
|
3203
|
+
for (this.bump(); !this.isEOF() && Jn(this.char()); )
|
|
3226
3204
|
this.bump();
|
|
3227
3205
|
return this.message.slice(t, this.offset());
|
|
3228
3206
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3251,7 +3229,7 @@ var Yn = (
|
|
|
3251
3229
|
};
|
|
3252
3230
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3253
3231
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3254
|
-
!
|
|
3232
|
+
!Qn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3255
3233
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3256
3234
|
if (this.isEOF() || this.char() !== 39)
|
|
3257
3235
|
return null;
|
|
@@ -3285,12 +3263,12 @@ var Yn = (
|
|
|
3285
3263
|
r.push(n);
|
|
3286
3264
|
this.bump();
|
|
3287
3265
|
}
|
|
3288
|
-
return
|
|
3266
|
+
return De.apply(void 0, r);
|
|
3289
3267
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3290
3268
|
if (this.isEOF())
|
|
3291
3269
|
return null;
|
|
3292
3270
|
var n = this.char();
|
|
3293
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3271
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), De(n));
|
|
3294
3272
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3295
3273
|
var n = this.clonePosition();
|
|
3296
3274
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3319,7 +3297,7 @@ var Yn = (
|
|
|
3319
3297
|
return this.error(p.MALFORMED_ARGUMENT, d(n, this.clonePosition()));
|
|
3320
3298
|
}
|
|
3321
3299
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3322
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3300
|
+
var t = this.clonePosition(), r = this.offset(), n = Ue(this.message, r), i = r + n.length;
|
|
3323
3301
|
this.bumpTo(i);
|
|
3324
3302
|
var o = this.clonePosition(), s = d(t, o);
|
|
3325
3303
|
return { value: n, location: s };
|
|
@@ -3338,18 +3316,18 @@ var Yn = (
|
|
|
3338
3316
|
var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
3339
3317
|
if (c.err)
|
|
3340
3318
|
return c;
|
|
3341
|
-
var f =
|
|
3319
|
+
var f = Wn(c.val);
|
|
3342
3320
|
if (f.length === 0)
|
|
3343
3321
|
return this.error(p.EXPECT_ARGUMENT_STYLE, d(this.clonePosition(), this.clonePosition()));
|
|
3344
3322
|
var m = d(l, this.clonePosition());
|
|
3345
3323
|
h = { style: f, styleLocation: m };
|
|
3346
3324
|
}
|
|
3347
|
-
var
|
|
3348
|
-
if (
|
|
3349
|
-
return
|
|
3325
|
+
var v = this.tryParseArgumentClose(i);
|
|
3326
|
+
if (v.err)
|
|
3327
|
+
return v;
|
|
3350
3328
|
var g = d(i, this.clonePosition());
|
|
3351
|
-
if (h &&
|
|
3352
|
-
var w =
|
|
3329
|
+
if (h && mt(h == null ? void 0 : h.style, "::", 0)) {
|
|
3330
|
+
var w = zn(h.style.slice(2));
|
|
3353
3331
|
if (a === "number") {
|
|
3354
3332
|
var c = this.parseNumberSkeletonFromString(w, h.styleLocation);
|
|
3355
3333
|
return c.err ? c : {
|
|
@@ -3359,13 +3337,13 @@ var Yn = (
|
|
|
3359
3337
|
} else {
|
|
3360
3338
|
if (w.length === 0)
|
|
3361
3339
|
return this.error(p.EXPECT_DATE_TIME_SKELETON, g);
|
|
3362
|
-
var
|
|
3363
|
-
this.locale && (
|
|
3340
|
+
var N = w;
|
|
3341
|
+
this.locale && (N = Nn(w, this.locale));
|
|
3364
3342
|
var f = {
|
|
3365
3343
|
type: V.dateTime,
|
|
3366
|
-
pattern:
|
|
3344
|
+
pattern: N,
|
|
3367
3345
|
location: h.styleLocation,
|
|
3368
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3346
|
+
parsedOptions: this.shouldParseSkeletons ? Hn(N) : {}
|
|
3369
3347
|
}, I = a === "date" ? x.date : x.time;
|
|
3370
3348
|
return {
|
|
3371
3349
|
val: { type: I, value: n, location: g, style: f },
|
|
@@ -3403,15 +3381,15 @@ var Yn = (
|
|
|
3403
3381
|
var $ = this.tryParsePluralOrSelectOptions(t, a, r, P);
|
|
3404
3382
|
if ($.err)
|
|
3405
3383
|
return $;
|
|
3406
|
-
var
|
|
3407
|
-
if (
|
|
3408
|
-
return
|
|
3384
|
+
var v = this.tryParseArgumentClose(i);
|
|
3385
|
+
if (v.err)
|
|
3386
|
+
return v;
|
|
3409
3387
|
var ie = d(i, this.clonePosition());
|
|
3410
3388
|
return a === "select" ? {
|
|
3411
3389
|
val: {
|
|
3412
3390
|
type: x.select,
|
|
3413
3391
|
value: n,
|
|
3414
|
-
options:
|
|
3392
|
+
options: dt($.val),
|
|
3415
3393
|
location: ie
|
|
3416
3394
|
},
|
|
3417
3395
|
err: null
|
|
@@ -3419,7 +3397,7 @@ var Yn = (
|
|
|
3419
3397
|
val: {
|
|
3420
3398
|
type: x.plural,
|
|
3421
3399
|
value: n,
|
|
3422
|
-
options:
|
|
3400
|
+
options: dt($.val),
|
|
3423
3401
|
offset: S,
|
|
3424
3402
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3425
3403
|
location: ie
|
|
@@ -3470,7 +3448,7 @@ var Yn = (
|
|
|
3470
3448
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3471
3449
|
var n = [];
|
|
3472
3450
|
try {
|
|
3473
|
-
n =
|
|
3451
|
+
n = Bn(t);
|
|
3474
3452
|
} catch (i) {
|
|
3475
3453
|
return this.error(p.INVALID_NUMBER_SKELETON, r);
|
|
3476
3454
|
}
|
|
@@ -3479,7 +3457,7 @@ var Yn = (
|
|
|
3479
3457
|
type: V.number,
|
|
3480
3458
|
tokens: n,
|
|
3481
3459
|
location: r,
|
|
3482
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3460
|
+
parsedOptions: this.shouldParseSkeletons ? Cn(n) : {}
|
|
3483
3461
|
},
|
|
3484
3462
|
err: null
|
|
3485
3463
|
};
|
|
@@ -3501,16 +3479,16 @@ var Yn = (
|
|
|
3501
3479
|
var m = this.clonePosition();
|
|
3502
3480
|
if (!this.bumpIf("{"))
|
|
3503
3481
|
return this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, d(this.clonePosition(), this.clonePosition()));
|
|
3504
|
-
var
|
|
3505
|
-
if (
|
|
3506
|
-
return
|
|
3482
|
+
var v = this.parseMessage(t + 1, r, n);
|
|
3483
|
+
if (v.err)
|
|
3484
|
+
return v;
|
|
3507
3485
|
var g = this.tryParseArgumentClose(m);
|
|
3508
3486
|
if (g.err)
|
|
3509
3487
|
return g;
|
|
3510
3488
|
a.push([
|
|
3511
3489
|
h,
|
|
3512
3490
|
{
|
|
3513
|
-
value:
|
|
3491
|
+
value: v.val,
|
|
3514
3492
|
location: d(m, this.clonePosition())
|
|
3515
3493
|
}
|
|
3516
3494
|
]), u.add(h), this.bumpSpace(), o = this.parseIdentifierIfPossible(), h = o.value, l = o.location;
|
|
@@ -3527,7 +3505,7 @@ var Yn = (
|
|
|
3527
3505
|
break;
|
|
3528
3506
|
}
|
|
3529
3507
|
var u = d(i, this.clonePosition());
|
|
3530
|
-
return o ? (s *= n,
|
|
3508
|
+
return o ? (s *= n, Vn(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
|
|
3531
3509
|
}, e.prototype.offset = function() {
|
|
3532
3510
|
return this.position.offset;
|
|
3533
3511
|
}, e.prototype.isEOF = function() {
|
|
@@ -3542,7 +3520,7 @@ var Yn = (
|
|
|
3542
3520
|
var t = this.position.offset;
|
|
3543
3521
|
if (t >= this.message.length)
|
|
3544
3522
|
throw Error("out of bound");
|
|
3545
|
-
var r =
|
|
3523
|
+
var r = Qt(this.message, t);
|
|
3546
3524
|
if (r === void 0)
|
|
3547
3525
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3548
3526
|
return r;
|
|
@@ -3561,7 +3539,7 @@ var Yn = (
|
|
|
3561
3539
|
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);
|
|
3562
3540
|
}
|
|
3563
3541
|
}, e.prototype.bumpIf = function(t) {
|
|
3564
|
-
if (
|
|
3542
|
+
if (mt(this.message, t, this.offset())) {
|
|
3565
3543
|
for (var r = 0; r < t.length; r++)
|
|
3566
3544
|
this.bump();
|
|
3567
3545
|
return !0;
|
|
@@ -3583,7 +3561,7 @@ var Yn = (
|
|
|
3583
3561
|
break;
|
|
3584
3562
|
}
|
|
3585
3563
|
}, e.prototype.bumpSpace = function() {
|
|
3586
|
-
for (; !this.isEOF() &&
|
|
3564
|
+
for (; !this.isEOF() && Yt(this.char()); )
|
|
3587
3565
|
this.bump();
|
|
3588
3566
|
}, e.prototype.peek = function() {
|
|
3589
3567
|
if (this.isEOF())
|
|
@@ -3596,41 +3574,41 @@ var Yn = (
|
|
|
3596
3574
|
function Ge(e) {
|
|
3597
3575
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3598
3576
|
}
|
|
3599
|
-
function
|
|
3577
|
+
function Qn(e) {
|
|
3600
3578
|
return Ge(e) || e === 47;
|
|
3601
3579
|
}
|
|
3602
|
-
function
|
|
3580
|
+
function Jn(e) {
|
|
3603
3581
|
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;
|
|
3604
3582
|
}
|
|
3605
|
-
function
|
|
3583
|
+
function Yt(e) {
|
|
3606
3584
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3607
3585
|
}
|
|
3608
|
-
function
|
|
3586
|
+
function Yn(e) {
|
|
3609
3587
|
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;
|
|
3610
3588
|
}
|
|
3611
|
-
function
|
|
3589
|
+
function Fe(e) {
|
|
3612
3590
|
e.forEach(function(t) {
|
|
3613
|
-
if (delete t.location,
|
|
3591
|
+
if (delete t.location, Ft(t) || jt(t))
|
|
3614
3592
|
for (var r in t.options)
|
|
3615
|
-
delete t.options[r].location,
|
|
3593
|
+
delete t.options[r].location, Fe(t.options[r].value);
|
|
3616
3594
|
else
|
|
3617
|
-
|
|
3595
|
+
Dt(t) && Vt(t.style) || (Ut(t) || Gt(t)) && $e(t.style) ? delete t.style.location : kt(t) && Fe(t.children);
|
|
3618
3596
|
});
|
|
3619
3597
|
}
|
|
3620
|
-
function
|
|
3598
|
+
function qn(e, t) {
|
|
3621
3599
|
t === void 0 && (t = {}), t = b({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3622
|
-
var r = new
|
|
3600
|
+
var r = new Zn(e, t).parse();
|
|
3623
3601
|
if (r.err) {
|
|
3624
3602
|
var n = SyntaxError(p[r.err.kind]);
|
|
3625
3603
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3626
3604
|
}
|
|
3627
|
-
return t != null && t.captureLocation ||
|
|
3605
|
+
return t != null && t.captureLocation || Fe(r.val), r.val;
|
|
3628
3606
|
}
|
|
3629
|
-
var
|
|
3607
|
+
var X;
|
|
3630
3608
|
(function(e) {
|
|
3631
3609
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3632
|
-
})(
|
|
3633
|
-
var
|
|
3610
|
+
})(X || (X = {}));
|
|
3611
|
+
var ve = (
|
|
3634
3612
|
/** @class */
|
|
3635
3613
|
function(e) {
|
|
3636
3614
|
O(t, e);
|
|
@@ -3642,48 +3620,48 @@ var ye = (
|
|
|
3642
3620
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3643
3621
|
}, t;
|
|
3644
3622
|
}(Error)
|
|
3645
|
-
),
|
|
3623
|
+
), gt = (
|
|
3646
3624
|
/** @class */
|
|
3647
3625
|
function(e) {
|
|
3648
3626
|
O(t, e);
|
|
3649
3627
|
function t(r, n, i, o) {
|
|
3650
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3628
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), X.INVALID_VALUE, o) || this;
|
|
3651
3629
|
}
|
|
3652
3630
|
return t;
|
|
3653
|
-
}(
|
|
3654
|
-
),
|
|
3631
|
+
}(ve)
|
|
3632
|
+
), Kn = (
|
|
3655
3633
|
/** @class */
|
|
3656
3634
|
function(e) {
|
|
3657
3635
|
O(t, e);
|
|
3658
3636
|
function t(r, n, i) {
|
|
3659
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3637
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), X.INVALID_VALUE, i) || this;
|
|
3660
3638
|
}
|
|
3661
3639
|
return t;
|
|
3662
|
-
}(
|
|
3663
|
-
),
|
|
3640
|
+
}(ve)
|
|
3641
|
+
), ei = (
|
|
3664
3642
|
/** @class */
|
|
3665
3643
|
function(e) {
|
|
3666
3644
|
O(t, e);
|
|
3667
3645
|
function t(r, n) {
|
|
3668
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3646
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), X.MISSING_VALUE, n) || this;
|
|
3669
3647
|
}
|
|
3670
3648
|
return t;
|
|
3671
|
-
}(
|
|
3649
|
+
}(ve)
|
|
3672
3650
|
), E;
|
|
3673
3651
|
(function(e) {
|
|
3674
3652
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3675
3653
|
})(E || (E = {}));
|
|
3676
|
-
function
|
|
3654
|
+
function ti(e) {
|
|
3677
3655
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3678
3656
|
var n = t[t.length - 1];
|
|
3679
3657
|
return !n || n.type !== E.literal || r.type !== E.literal ? t.push(r) : n.value += r.value, t;
|
|
3680
3658
|
}, []);
|
|
3681
3659
|
}
|
|
3682
|
-
function
|
|
3660
|
+
function ri(e) {
|
|
3683
3661
|
return typeof e == "function";
|
|
3684
3662
|
}
|
|
3685
3663
|
function ce(e, t, r, n, i, o, s) {
|
|
3686
|
-
if (e.length === 1 &&
|
|
3664
|
+
if (e.length === 1 && lt(e[0]))
|
|
3687
3665
|
return [
|
|
3688
3666
|
{
|
|
3689
3667
|
type: E.literal,
|
|
@@ -3692,14 +3670,14 @@ function ce(e, t, r, n, i, o, s) {
|
|
|
3692
3670
|
];
|
|
3693
3671
|
for (var a = [], u = 0, h = e; u < h.length; u++) {
|
|
3694
3672
|
var l = h[u];
|
|
3695
|
-
if (
|
|
3673
|
+
if (lt(l)) {
|
|
3696
3674
|
a.push({
|
|
3697
3675
|
type: E.literal,
|
|
3698
3676
|
value: l.value
|
|
3699
3677
|
});
|
|
3700
3678
|
continue;
|
|
3701
3679
|
}
|
|
3702
|
-
if (
|
|
3680
|
+
if (Tn(l)) {
|
|
3703
3681
|
typeof o == "number" && a.push({
|
|
3704
3682
|
type: E.literal,
|
|
3705
3683
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3708,44 +3686,44 @@ function ce(e, t, r, n, i, o, s) {
|
|
|
3708
3686
|
}
|
|
3709
3687
|
var c = l.value;
|
|
3710
3688
|
if (!(i && c in i))
|
|
3711
|
-
throw new
|
|
3689
|
+
throw new ei(c, s);
|
|
3712
3690
|
var f = i[c];
|
|
3713
|
-
if (
|
|
3691
|
+
if (Sn(l)) {
|
|
3714
3692
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
|
|
3715
3693
|
type: typeof f == "string" ? E.literal : E.object,
|
|
3716
3694
|
value: f
|
|
3717
3695
|
});
|
|
3718
3696
|
continue;
|
|
3719
3697
|
}
|
|
3720
|
-
if (
|
|
3721
|
-
var m = typeof l.style == "string" ? n.date[l.style] :
|
|
3698
|
+
if (Ut(l)) {
|
|
3699
|
+
var m = typeof l.style == "string" ? n.date[l.style] : $e(l.style) ? l.style.parsedOptions : void 0;
|
|
3722
3700
|
a.push({
|
|
3723
3701
|
type: E.literal,
|
|
3724
3702
|
value: r.getDateTimeFormat(t, m).format(f)
|
|
3725
3703
|
});
|
|
3726
3704
|
continue;
|
|
3727
3705
|
}
|
|
3728
|
-
if (
|
|
3729
|
-
var m = typeof l.style == "string" ? n.time[l.style] :
|
|
3706
|
+
if (Gt(l)) {
|
|
3707
|
+
var m = typeof l.style == "string" ? n.time[l.style] : $e(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
3730
3708
|
a.push({
|
|
3731
3709
|
type: E.literal,
|
|
3732
3710
|
value: r.getDateTimeFormat(t, m).format(f)
|
|
3733
3711
|
});
|
|
3734
3712
|
continue;
|
|
3735
3713
|
}
|
|
3736
|
-
if (
|
|
3737
|
-
var m = typeof l.style == "string" ? n.number[l.style] :
|
|
3714
|
+
if (Dt(l)) {
|
|
3715
|
+
var m = typeof l.style == "string" ? n.number[l.style] : Vt(l.style) ? l.style.parsedOptions : void 0;
|
|
3738
3716
|
m && m.scale && (f = f * (m.scale || 1)), a.push({
|
|
3739
3717
|
type: E.literal,
|
|
3740
3718
|
value: r.getNumberFormat(t, m).format(f)
|
|
3741
3719
|
});
|
|
3742
3720
|
continue;
|
|
3743
3721
|
}
|
|
3744
|
-
if (
|
|
3745
|
-
var
|
|
3746
|
-
if (!
|
|
3747
|
-
throw new
|
|
3748
|
-
var
|
|
3722
|
+
if (kt(l)) {
|
|
3723
|
+
var v = l.children, g = l.value, w = i[g];
|
|
3724
|
+
if (!ri(w))
|
|
3725
|
+
throw new Kn(g, "function", s);
|
|
3726
|
+
var N = ce(v, t, r, n, i, o), I = w(N.map(function(S) {
|
|
3749
3727
|
return S.value;
|
|
3750
3728
|
}));
|
|
3751
3729
|
Array.isArray(I) || (I = [I]), a.push.apply(a, I.map(function(S) {
|
|
@@ -3755,42 +3733,42 @@ function ce(e, t, r, n, i, o, s) {
|
|
|
3755
3733
|
};
|
|
3756
3734
|
}));
|
|
3757
3735
|
}
|
|
3758
|
-
if (
|
|
3736
|
+
if (Ft(l)) {
|
|
3759
3737
|
var _ = l.options[f] || l.options.other;
|
|
3760
3738
|
if (!_)
|
|
3761
|
-
throw new
|
|
3739
|
+
throw new gt(l.value, f, Object.keys(l.options), s);
|
|
3762
3740
|
a.push.apply(a, ce(_.value, t, r, n, i));
|
|
3763
3741
|
continue;
|
|
3764
3742
|
}
|
|
3765
|
-
if (
|
|
3743
|
+
if (jt(l)) {
|
|
3766
3744
|
var _ = l.options["=".concat(f)];
|
|
3767
3745
|
if (!_) {
|
|
3768
3746
|
if (!Intl.PluralRules)
|
|
3769
|
-
throw new
|
|
3747
|
+
throw new ve(`Intl.PluralRules is not available in this environment.
|
|
3770
3748
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3771
|
-
`,
|
|
3749
|
+
`, X.MISSING_INTL_API, s);
|
|
3772
3750
|
var P = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
|
|
3773
3751
|
_ = l.options[P] || l.options.other;
|
|
3774
3752
|
}
|
|
3775
3753
|
if (!_)
|
|
3776
|
-
throw new
|
|
3754
|
+
throw new gt(l.value, f, Object.keys(l.options), s);
|
|
3777
3755
|
a.push.apply(a, ce(_.value, t, r, n, i, f - (l.offset || 0)));
|
|
3778
3756
|
continue;
|
|
3779
3757
|
}
|
|
3780
3758
|
}
|
|
3781
|
-
return
|
|
3759
|
+
return ti(a);
|
|
3782
3760
|
}
|
|
3783
|
-
function
|
|
3761
|
+
function ni(e, t) {
|
|
3784
3762
|
return t ? b(b(b({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3785
3763
|
return r[n] = b(b({}, e[n]), t[n] || {}), r;
|
|
3786
3764
|
}, {})) : e;
|
|
3787
3765
|
}
|
|
3788
|
-
function
|
|
3766
|
+
function ii(e, t) {
|
|
3789
3767
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3790
|
-
return r[n] =
|
|
3768
|
+
return r[n] = ni(e[n], t[n]), r;
|
|
3791
3769
|
}, b({}, e)) : e;
|
|
3792
3770
|
}
|
|
3793
|
-
function
|
|
3771
|
+
function Pe(e) {
|
|
3794
3772
|
return {
|
|
3795
3773
|
create: function() {
|
|
3796
3774
|
return {
|
|
@@ -3804,39 +3782,39 @@ function Be(e) {
|
|
|
3804
3782
|
}
|
|
3805
3783
|
};
|
|
3806
3784
|
}
|
|
3807
|
-
function
|
|
3785
|
+
function oi(e) {
|
|
3808
3786
|
return e === void 0 && (e = {
|
|
3809
3787
|
number: {},
|
|
3810
3788
|
dateTime: {},
|
|
3811
3789
|
pluralRules: {}
|
|
3812
3790
|
}), {
|
|
3813
|
-
getNumberFormat:
|
|
3791
|
+
getNumberFormat: Te(function() {
|
|
3814
3792
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3815
3793
|
r[n] = arguments[n];
|
|
3816
3794
|
return new ((t = Intl.NumberFormat).bind.apply(t, j([void 0], r, !1)))();
|
|
3817
3795
|
}, {
|
|
3818
|
-
cache:
|
|
3819
|
-
strategy:
|
|
3796
|
+
cache: Pe(e.number),
|
|
3797
|
+
strategy: we.variadic
|
|
3820
3798
|
}),
|
|
3821
|
-
getDateTimeFormat:
|
|
3799
|
+
getDateTimeFormat: Te(function() {
|
|
3822
3800
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3823
3801
|
r[n] = arguments[n];
|
|
3824
3802
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, j([void 0], r, !1)))();
|
|
3825
3803
|
}, {
|
|
3826
|
-
cache:
|
|
3827
|
-
strategy:
|
|
3804
|
+
cache: Pe(e.dateTime),
|
|
3805
|
+
strategy: we.variadic
|
|
3828
3806
|
}),
|
|
3829
|
-
getPluralRules:
|
|
3807
|
+
getPluralRules: Te(function() {
|
|
3830
3808
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3831
3809
|
r[n] = arguments[n];
|
|
3832
3810
|
return new ((t = Intl.PluralRules).bind.apply(t, j([void 0], r, !1)))();
|
|
3833
3811
|
}, {
|
|
3834
|
-
cache:
|
|
3835
|
-
strategy:
|
|
3812
|
+
cache: Pe(e.pluralRules),
|
|
3813
|
+
strategy: we.variadic
|
|
3836
3814
|
})
|
|
3837
3815
|
};
|
|
3838
3816
|
}
|
|
3839
|
-
var
|
|
3817
|
+
var si = (
|
|
3840
3818
|
/** @class */
|
|
3841
3819
|
function() {
|
|
3842
3820
|
function e(t, r, n, i) {
|
|
@@ -3868,13 +3846,13 @@ var hi = (
|
|
|
3868
3846
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3869
3847
|
var s = i || {};
|
|
3870
3848
|
s.formatters;
|
|
3871
|
-
var a =
|
|
3849
|
+
var a = Rr(s, ["formatters"]);
|
|
3872
3850
|
this.ast = e.__parse(t, b(b({}, a), { locale: this.resolvedLocale }));
|
|
3873
3851
|
} else
|
|
3874
3852
|
this.ast = t;
|
|
3875
3853
|
if (!Array.isArray(this.ast))
|
|
3876
3854
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3877
|
-
this.formats =
|
|
3855
|
+
this.formats = ii(e.formats, n), this.formatters = i && i.formatters || oi(this.formatterCache);
|
|
3878
3856
|
}
|
|
3879
3857
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3880
3858
|
get: function() {
|
|
@@ -3887,7 +3865,7 @@ var hi = (
|
|
|
3887
3865
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3888
3866
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3889
3867
|
}
|
|
3890
|
-
}, e.__parse =
|
|
3868
|
+
}, e.__parse = qn, e.formats = {
|
|
3891
3869
|
number: {
|
|
3892
3870
|
integer: {
|
|
3893
3871
|
maximumFractionDigits: 0
|
|
@@ -3948,7 +3926,7 @@ var hi = (
|
|
|
3948
3926
|
}, e;
|
|
3949
3927
|
}()
|
|
3950
3928
|
);
|
|
3951
|
-
function
|
|
3929
|
+
function ai(e, t) {
|
|
3952
3930
|
if (t == null)
|
|
3953
3931
|
return;
|
|
3954
3932
|
if (t in e)
|
|
@@ -3969,92 +3947,92 @@ function li(e, t) {
|
|
|
3969
3947
|
n = void 0;
|
|
3970
3948
|
return n;
|
|
3971
3949
|
}
|
|
3972
|
-
const C = {},
|
|
3950
|
+
const C = {}, ui = (e, t, r) => r && (t in C || (C[t] = {}), e in C[t] || (C[t][e] = r), r), qt = (e, t) => {
|
|
3973
3951
|
if (t == null)
|
|
3974
3952
|
return;
|
|
3975
3953
|
if (t in C && e in C[t])
|
|
3976
3954
|
return C[t][e];
|
|
3977
|
-
const r =
|
|
3955
|
+
const r = ye(t);
|
|
3978
3956
|
for (let n = 0; n < r.length; n++) {
|
|
3979
|
-
const i = r[n], o =
|
|
3957
|
+
const i = r[n], o = li(i, e);
|
|
3980
3958
|
if (o)
|
|
3981
|
-
return
|
|
3959
|
+
return ui(e, t, o);
|
|
3982
3960
|
}
|
|
3983
3961
|
};
|
|
3984
|
-
let
|
|
3962
|
+
let ze;
|
|
3985
3963
|
const ne = ge({});
|
|
3986
|
-
function
|
|
3987
|
-
return
|
|
3964
|
+
function hi(e) {
|
|
3965
|
+
return ze[e] || null;
|
|
3988
3966
|
}
|
|
3989
|
-
function
|
|
3990
|
-
return e in
|
|
3967
|
+
function Kt(e) {
|
|
3968
|
+
return e in ze;
|
|
3991
3969
|
}
|
|
3992
|
-
function
|
|
3993
|
-
if (!
|
|
3970
|
+
function li(e, t) {
|
|
3971
|
+
if (!Kt(e))
|
|
3994
3972
|
return null;
|
|
3995
|
-
const r =
|
|
3996
|
-
return
|
|
3973
|
+
const r = hi(e);
|
|
3974
|
+
return ai(r, t);
|
|
3997
3975
|
}
|
|
3998
|
-
function
|
|
3976
|
+
function ci(e) {
|
|
3999
3977
|
if (e == null)
|
|
4000
3978
|
return;
|
|
4001
|
-
const t =
|
|
3979
|
+
const t = ye(e);
|
|
4002
3980
|
for (let r = 0; r < t.length; r++) {
|
|
4003
3981
|
const n = t[r];
|
|
4004
|
-
if (
|
|
3982
|
+
if (Kt(n))
|
|
4005
3983
|
return n;
|
|
4006
3984
|
}
|
|
4007
3985
|
}
|
|
4008
|
-
function
|
|
4009
|
-
delete C[e], ne.update((r) => (r[e] =
|
|
3986
|
+
function er(e, ...t) {
|
|
3987
|
+
delete C[e], ne.update((r) => (r[e] = dn.all([r[e] || {}, ...t]), r));
|
|
4010
3988
|
}
|
|
4011
3989
|
W(
|
|
4012
3990
|
[ne],
|
|
4013
3991
|
([e]) => Object.keys(e)
|
|
4014
3992
|
);
|
|
4015
|
-
ne.subscribe((e) =>
|
|
3993
|
+
ne.subscribe((e) => ze = e);
|
|
4016
3994
|
const fe = {};
|
|
4017
|
-
function
|
|
3995
|
+
function fi(e, t) {
|
|
4018
3996
|
fe[e].delete(t), fe[e].size === 0 && delete fe[e];
|
|
4019
3997
|
}
|
|
4020
|
-
function
|
|
3998
|
+
function tr(e) {
|
|
4021
3999
|
return fe[e];
|
|
4022
4000
|
}
|
|
4023
|
-
function
|
|
4024
|
-
return
|
|
4025
|
-
const r =
|
|
4001
|
+
function pi(e) {
|
|
4002
|
+
return ye(e).map((t) => {
|
|
4003
|
+
const r = tr(t);
|
|
4026
4004
|
return [t, r ? [...r] : []];
|
|
4027
4005
|
}).filter(([, t]) => t.length > 0);
|
|
4028
4006
|
}
|
|
4029
|
-
function
|
|
4030
|
-
return e == null ? !1 :
|
|
4007
|
+
function je(e) {
|
|
4008
|
+
return e == null ? !1 : ye(e).some(
|
|
4031
4009
|
(t) => {
|
|
4032
4010
|
var r;
|
|
4033
|
-
return (r =
|
|
4011
|
+
return (r = tr(t)) == null ? void 0 : r.size;
|
|
4034
4012
|
}
|
|
4035
4013
|
);
|
|
4036
4014
|
}
|
|
4037
|
-
function
|
|
4015
|
+
function mi(e, t) {
|
|
4038
4016
|
return Promise.all(
|
|
4039
|
-
t.map((n) => (
|
|
4040
|
-
).then((n) =>
|
|
4017
|
+
t.map((n) => (fi(e, n), n().then((i) => i.default || i)))
|
|
4018
|
+
).then((n) => er(e, ...n));
|
|
4041
4019
|
}
|
|
4042
4020
|
const J = {};
|
|
4043
|
-
function
|
|
4044
|
-
if (!
|
|
4021
|
+
function rr(e) {
|
|
4022
|
+
if (!je(e))
|
|
4045
4023
|
return e in J ? J[e] : Promise.resolve();
|
|
4046
|
-
const t =
|
|
4024
|
+
const t = pi(e);
|
|
4047
4025
|
return J[e] = Promise.all(
|
|
4048
4026
|
t.map(
|
|
4049
|
-
([r, n]) =>
|
|
4027
|
+
([r, n]) => mi(r, n)
|
|
4050
4028
|
)
|
|
4051
4029
|
).then(() => {
|
|
4052
|
-
if (
|
|
4053
|
-
return
|
|
4030
|
+
if (je(e))
|
|
4031
|
+
return rr(e);
|
|
4054
4032
|
delete J[e];
|
|
4055
4033
|
}), J[e];
|
|
4056
4034
|
}
|
|
4057
|
-
const
|
|
4035
|
+
const di = {
|
|
4058
4036
|
number: {
|
|
4059
4037
|
scientific: { notation: "scientific" },
|
|
4060
4038
|
engineering: { notation: "engineering" },
|
|
@@ -4083,57 +4061,57 @@ const yi = {
|
|
|
4083
4061
|
timeZoneName: "short"
|
|
4084
4062
|
}
|
|
4085
4063
|
}
|
|
4086
|
-
},
|
|
4064
|
+
}, bi = {
|
|
4087
4065
|
fallbackLocale: null,
|
|
4088
4066
|
loadingDelay: 200,
|
|
4089
|
-
formats:
|
|
4067
|
+
formats: di,
|
|
4090
4068
|
warnOnMissingMessages: !0,
|
|
4091
4069
|
handleMissingMessage: void 0,
|
|
4092
4070
|
ignoreTag: !0
|
|
4093
|
-
},
|
|
4094
|
-
function
|
|
4095
|
-
return
|
|
4071
|
+
}, gi = bi;
|
|
4072
|
+
function z() {
|
|
4073
|
+
return gi;
|
|
4096
4074
|
}
|
|
4097
|
-
const
|
|
4098
|
-
var
|
|
4075
|
+
const Be = ge(!1);
|
|
4076
|
+
var vi = Object.defineProperty, yi = Object.defineProperties, xi = Object.getOwnPropertyDescriptors, vt = Object.getOwnPropertySymbols, Ei = Object.prototype.hasOwnProperty, _i = Object.prototype.propertyIsEnumerable, yt = (e, t, r) => t in e ? vi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Si = (e, t) => {
|
|
4099
4077
|
for (var r in t || (t = {}))
|
|
4100
|
-
|
|
4101
|
-
if (
|
|
4102
|
-
for (var r of
|
|
4103
|
-
|
|
4078
|
+
Ei.call(t, r) && yt(e, r, t[r]);
|
|
4079
|
+
if (vt)
|
|
4080
|
+
for (var r of vt(t))
|
|
4081
|
+
_i.call(t, r) && yt(e, r, t[r]);
|
|
4104
4082
|
return e;
|
|
4105
|
-
},
|
|
4106
|
-
let
|
|
4083
|
+
}, Ti = (e, t) => yi(e, xi(t));
|
|
4084
|
+
let ke;
|
|
4107
4085
|
const me = ge(null);
|
|
4108
|
-
function
|
|
4086
|
+
function xt(e) {
|
|
4109
4087
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4110
4088
|
}
|
|
4111
|
-
function
|
|
4112
|
-
const r =
|
|
4113
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4089
|
+
function ye(e, t = z().fallbackLocale) {
|
|
4090
|
+
const r = xt(e);
|
|
4091
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...xt(t)])] : r;
|
|
4114
4092
|
}
|
|
4115
4093
|
function M() {
|
|
4116
|
-
return
|
|
4094
|
+
return ke != null ? ke : void 0;
|
|
4117
4095
|
}
|
|
4118
4096
|
me.subscribe((e) => {
|
|
4119
|
-
|
|
4097
|
+
ke = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4120
4098
|
});
|
|
4121
|
-
const
|
|
4122
|
-
if (e &&
|
|
4123
|
-
const { loadingDelay: t } =
|
|
4099
|
+
const wi = (e) => {
|
|
4100
|
+
if (e && ci(e) && je(e)) {
|
|
4101
|
+
const { loadingDelay: t } = z();
|
|
4124
4102
|
let r;
|
|
4125
4103
|
return typeof window != "undefined" && M() != null && t ? r = window.setTimeout(
|
|
4126
|
-
() =>
|
|
4104
|
+
() => Be.set(!0),
|
|
4127
4105
|
t
|
|
4128
|
-
) :
|
|
4106
|
+
) : Be.set(!0), rr(e).then(() => {
|
|
4129
4107
|
me.set(e);
|
|
4130
4108
|
}).finally(() => {
|
|
4131
|
-
clearTimeout(r),
|
|
4109
|
+
clearTimeout(r), Be.set(!1);
|
|
4132
4110
|
});
|
|
4133
4111
|
}
|
|
4134
4112
|
return me.set(e);
|
|
4135
|
-
}, Z =
|
|
4136
|
-
set:
|
|
4113
|
+
}, Z = Ti(Si({}, me), {
|
|
4114
|
+
set: wi
|
|
4137
4115
|
}), xe = (e) => {
|
|
4138
4116
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4139
4117
|
return (n) => {
|
|
@@ -4141,42 +4119,42 @@ const Bi = (e) => {
|
|
|
4141
4119
|
return i in t ? t[i] : t[i] = e(n);
|
|
4142
4120
|
};
|
|
4143
4121
|
};
|
|
4144
|
-
var
|
|
4122
|
+
var Hi = Object.defineProperty, de = Object.getOwnPropertySymbols, nr = Object.prototype.hasOwnProperty, ir = Object.prototype.propertyIsEnumerable, Et = (e, t, r) => t in e ? Hi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, We = (e, t) => {
|
|
4145
4123
|
for (var r in t || (t = {}))
|
|
4146
|
-
|
|
4124
|
+
nr.call(t, r) && Et(e, r, t[r]);
|
|
4147
4125
|
if (de)
|
|
4148
4126
|
for (var r of de(t))
|
|
4149
|
-
|
|
4127
|
+
ir.call(t, r) && Et(e, r, t[r]);
|
|
4150
4128
|
return e;
|
|
4151
4129
|
}, Q = (e, t) => {
|
|
4152
4130
|
var r = {};
|
|
4153
4131
|
for (var n in e)
|
|
4154
|
-
|
|
4132
|
+
nr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4155
4133
|
if (e != null && de)
|
|
4156
4134
|
for (var n of de(e))
|
|
4157
|
-
t.indexOf(n) < 0 &&
|
|
4135
|
+
t.indexOf(n) < 0 && ir.call(e, n) && (r[n] = e[n]);
|
|
4158
4136
|
return r;
|
|
4159
4137
|
};
|
|
4160
4138
|
const te = (e, t) => {
|
|
4161
|
-
const { formats: r } =
|
|
4139
|
+
const { formats: r } = z();
|
|
4162
4140
|
if (e in r && t in r[e])
|
|
4163
4141
|
return r[e][t];
|
|
4164
4142
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4165
|
-
},
|
|
4143
|
+
}, Pi = xe(
|
|
4166
4144
|
(e) => {
|
|
4167
4145
|
var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
|
|
4168
4146
|
if (r == null)
|
|
4169
4147
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4170
4148
|
return n && (i = te("number", n)), new Intl.NumberFormat(r, i);
|
|
4171
4149
|
}
|
|
4172
|
-
),
|
|
4150
|
+
), Bi = xe(
|
|
4173
4151
|
(e) => {
|
|
4174
4152
|
var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
|
|
4175
4153
|
if (r == null)
|
|
4176
4154
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4177
4155
|
return n ? i = te("date", n) : Object.keys(i).length === 0 && (i = te("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4178
4156
|
}
|
|
4179
|
-
),
|
|
4157
|
+
), Ai = xe(
|
|
4180
4158
|
(e) => {
|
|
4181
4159
|
var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
|
|
4182
4160
|
if (r == null)
|
|
@@ -4185,33 +4163,33 @@ const te = (e, t) => {
|
|
|
4185
4163
|
);
|
|
4186
4164
|
return n ? i = te("time", n) : Object.keys(i).length === 0 && (i = te("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4187
4165
|
}
|
|
4188
|
-
),
|
|
4166
|
+
), Oi = (e = {}) => {
|
|
4189
4167
|
var t = e, {
|
|
4190
4168
|
locale: r = M()
|
|
4191
4169
|
} = t, n = Q(t, [
|
|
4192
4170
|
"locale"
|
|
4193
4171
|
]);
|
|
4194
|
-
return
|
|
4195
|
-
},
|
|
4172
|
+
return Pi(We({ locale: r }, n));
|
|
4173
|
+
}, Ii = (e = {}) => {
|
|
4196
4174
|
var t = e, {
|
|
4197
4175
|
locale: r = M()
|
|
4198
4176
|
} = t, n = Q(t, [
|
|
4199
4177
|
"locale"
|
|
4200
4178
|
]);
|
|
4201
|
-
return
|
|
4202
|
-
},
|
|
4179
|
+
return Bi(We({ locale: r }, n));
|
|
4180
|
+
}, Ci = (e = {}) => {
|
|
4203
4181
|
var t = e, {
|
|
4204
4182
|
locale: r = M()
|
|
4205
4183
|
} = t, n = Q(t, [
|
|
4206
4184
|
"locale"
|
|
4207
4185
|
]);
|
|
4208
|
-
return
|
|
4209
|
-
},
|
|
4186
|
+
return Ai(We({ locale: r }, n));
|
|
4187
|
+
}, Ni = xe(
|
|
4210
4188
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4211
|
-
(e, t = M()) => new
|
|
4212
|
-
ignoreTag:
|
|
4189
|
+
(e, t = M()) => new si(e, t, z().formats, {
|
|
4190
|
+
ignoreTag: z().ignoreTag
|
|
4213
4191
|
})
|
|
4214
|
-
),
|
|
4192
|
+
), Li = (e, t = {}) => {
|
|
4215
4193
|
var r, n, i, o;
|
|
4216
4194
|
let s = t;
|
|
4217
4195
|
typeof e == "object" && (s = e, e = s.id);
|
|
@@ -4224,9 +4202,9 @@ const te = (e, t) => {
|
|
|
4224
4202
|
throw new Error(
|
|
4225
4203
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4226
4204
|
);
|
|
4227
|
-
let l =
|
|
4205
|
+
let l = qt(e, u);
|
|
4228
4206
|
if (!l)
|
|
4229
|
-
l = (o = (i = (n = (r =
|
|
4207
|
+
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;
|
|
4230
4208
|
else if (typeof l != "string")
|
|
4231
4209
|
return console.warn(
|
|
4232
4210
|
`[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.`
|
|
@@ -4235,7 +4213,7 @@ const te = (e, t) => {
|
|
|
4235
4213
|
return l;
|
|
4236
4214
|
let c = l;
|
|
4237
4215
|
try {
|
|
4238
|
-
c =
|
|
4216
|
+
c = Ni(l, u).format(a);
|
|
4239
4217
|
} catch (f) {
|
|
4240
4218
|
f instanceof Error && console.warn(
|
|
4241
4219
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4243,20 +4221,20 @@ const te = (e, t) => {
|
|
|
4243
4221
|
);
|
|
4244
4222
|
}
|
|
4245
4223
|
return c;
|
|
4246
|
-
},
|
|
4247
|
-
W([Z], () =>
|
|
4248
|
-
W([Z], () =>
|
|
4249
|
-
W([Z], () =>
|
|
4250
|
-
W([Z, ne], () =>
|
|
4251
|
-
window.emWidgets = { topic:
|
|
4224
|
+
}, Mi = (e, t) => Ci(t).format(e), $i = (e, t) => Ii(t).format(e), Ri = (e, t) => Oi(t).format(e), Di = (e, t = M()) => qt(e, t), Ui = W([Z, ne], () => Li);
|
|
4225
|
+
W([Z], () => Mi);
|
|
4226
|
+
W([Z], () => $i);
|
|
4227
|
+
W([Z], () => Ri);
|
|
4228
|
+
W([Z, ne], () => Di);
|
|
4229
|
+
window.emWidgets = { topic: Yr };
|
|
4252
4230
|
const ae = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4253
|
-
function
|
|
4254
|
-
|
|
4231
|
+
function _t(e, t) {
|
|
4232
|
+
er(e, t);
|
|
4255
4233
|
}
|
|
4256
|
-
function
|
|
4234
|
+
function Gi(e) {
|
|
4257
4235
|
Z.set(e);
|
|
4258
4236
|
}
|
|
4259
|
-
const
|
|
4237
|
+
const St = {
|
|
4260
4238
|
en: {
|
|
4261
4239
|
panicButtonString: "Hold button for 3 seconds to take 24-hour timeout"
|
|
4262
4240
|
},
|
|
@@ -4297,10 +4275,10 @@ const Ht = {
|
|
|
4297
4275
|
panicButtonString: "Hold button for 3 seconds to take 24-hour timeout"
|
|
4298
4276
|
}
|
|
4299
4277
|
};
|
|
4300
|
-
function
|
|
4301
|
-
|
|
4278
|
+
function Fi(e) {
|
|
4279
|
+
fr(e, "svelte-1v7b25v", "*,*::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, #D0046C));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));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, #D0046C));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));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, #D0046C));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, #D0046C));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));width:388px;font-size:12px}.PanicButtonV2 .PanicButtonMobile{border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));font-size:10px}.PanicButtonV2 .PanicButtonAnimation{background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));width:388px}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:388px}}");
|
|
4302
4280
|
}
|
|
4303
|
-
function
|
|
4281
|
+
function ji(e) {
|
|
4304
4282
|
let t, r, n, i = (
|
|
4305
4283
|
/*customtext*/
|
|
4306
4284
|
(e[0] || /*$_*/
|
|
@@ -4308,42 +4286,42 @@ function zi(e) {
|
|
|
4308
4286
|
), o, s;
|
|
4309
4287
|
return {
|
|
4310
4288
|
c() {
|
|
4311
|
-
t = Y("div"), r = Y("div"), n = Y("button"), o =
|
|
4289
|
+
t = Y("div"), r = Y("div"), n = Y("button"), o = dr(i), L(n, "class", "PanicButton " + (ae(
|
|
4312
4290
|
/*userAgent*/
|
|
4313
4291
|
e[6]
|
|
4314
|
-
) !== "PC" ? "PanicButtonMobile" : "")),
|
|
4292
|
+
) !== "PC" ? "PanicButtonMobile" : "")), L(n, "part", "PanicButton " + (ae(
|
|
4315
4293
|
/*userAgent*/
|
|
4316
4294
|
e[6]
|
|
4317
|
-
) !== "PC" ? "PanicButtonMobile" : "")),
|
|
4295
|
+
) !== "PC" ? "PanicButtonMobile" : "")), et(
|
|
4318
4296
|
n,
|
|
4319
4297
|
"PanicButtonAnimation",
|
|
4320
4298
|
/*panicLoading*/
|
|
4321
4299
|
e[4]
|
|
4322
|
-
),
|
|
4300
|
+
), L(r, "class", "PanicSection " + (ae(
|
|
4323
4301
|
/*userAgent*/
|
|
4324
4302
|
e[6]
|
|
4325
|
-
) !== "PC" ? "PanicSectionMobile" : "")),
|
|
4303
|
+
) !== "PC" ? "PanicSectionMobile" : "")), L(r, "part", "PanicSection " + (ae(
|
|
4326
4304
|
/*userAgent*/
|
|
4327
4305
|
e[6]
|
|
4328
|
-
) !== "PC" ? "PanicSectionMobile" : "")),
|
|
4306
|
+
) !== "PC" ? "PanicSectionMobile" : "")), L(t, "class", s = /*alternativestyling*/
|
|
4329
4307
|
e[1] == "true" ? "PanicButtonV2" : "");
|
|
4330
4308
|
},
|
|
4331
4309
|
m(a, u) {
|
|
4332
|
-
|
|
4310
|
+
Pt(a, t, u), ue(t, r), ue(r, n), ue(n, o), e[12](n), e[13](t);
|
|
4333
4311
|
},
|
|
4334
4312
|
p(a, [u]) {
|
|
4335
4313
|
u & /*customtext, $_*/
|
|
4336
4314
|
33 && i !== (i = /*customtext*/
|
|
4337
4315
|
(a[0] || /*$_*/
|
|
4338
|
-
a[5]("panicButtonString")) + "") &&
|
|
4339
|
-
16 &&
|
|
4316
|
+
a[5]("panicButtonString")) + "") && gr(o, i), u & /*panicLoading*/
|
|
4317
|
+
16 && et(
|
|
4340
4318
|
n,
|
|
4341
4319
|
"PanicButtonAnimation",
|
|
4342
4320
|
/*panicLoading*/
|
|
4343
4321
|
a[4]
|
|
4344
4322
|
), u & /*alternativestyling*/
|
|
4345
4323
|
2 && s !== (s = /*alternativestyling*/
|
|
4346
|
-
a[1] == "true" ? "PanicButtonV2" : "") &&
|
|
4324
|
+
a[1] == "true" ? "PanicButtonV2" : "") && L(t, "class", s);
|
|
4347
4325
|
},
|
|
4348
4326
|
i: H,
|
|
4349
4327
|
o: H,
|
|
@@ -4352,59 +4330,59 @@ function zi(e) {
|
|
|
4352
4330
|
}
|
|
4353
4331
|
};
|
|
4354
4332
|
}
|
|
4355
|
-
function
|
|
4333
|
+
function ki(e, t, r) {
|
|
4356
4334
|
let n;
|
|
4357
|
-
|
|
4358
|
-
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, m = !1,
|
|
4359
|
-
const
|
|
4335
|
+
cr(e, Ui, (y) => r(5, n = y));
|
|
4336
|
+
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, m = !1, v = 0, g, w = window.navigator.userAgent;
|
|
4337
|
+
const N = () => {
|
|
4360
4338
|
fetch(l).then((R) => R.json()).then((R) => {
|
|
4361
|
-
Object.keys(R).forEach((
|
|
4362
|
-
|
|
4339
|
+
Object.keys(R).forEach((Ze) => {
|
|
4340
|
+
_t(Ze, R[Ze]);
|
|
4363
4341
|
});
|
|
4364
4342
|
}).catch((R) => {
|
|
4365
4343
|
console.log(R);
|
|
4366
4344
|
});
|
|
4367
4345
|
};
|
|
4368
|
-
Object.keys(
|
|
4369
|
-
|
|
4346
|
+
Object.keys(St).forEach((y) => {
|
|
4347
|
+
_t(y, St[y]);
|
|
4370
4348
|
});
|
|
4371
4349
|
const I = () => {
|
|
4372
4350
|
c == null || c.addEventListener("mousedown", P, !1), c == null || c.addEventListener("touchstart", P, !1), c == null || c.addEventListener("mouseup", S, !1), c == null || c.addEventListener("touchend", S, !1);
|
|
4373
4351
|
}, _ = () => {
|
|
4374
4352
|
r(4, m = !1), c == null || c.removeEventListener("mousedown", P), c == null || c.removeEventListener("touchstart", P), c == null || c.removeEventListener("mouseup", S), c == null || c.removeEventListener("touchend", S);
|
|
4375
4353
|
}, P = () => {
|
|
4376
|
-
|
|
4354
|
+
v = 0, r(4, m = !0), g = setInterval(
|
|
4377
4355
|
() => {
|
|
4378
|
-
|
|
4356
|
+
v++, v >= 2 && (window.postMessage({ type: "PanicButtonClicked" }, window.location.href), clearInterval(g), typeof gtag == "function" && gtag("event", "PanicButtonClicked", { context: "PanicButton" }));
|
|
4379
4357
|
},
|
|
4380
4358
|
1e3
|
|
4381
4359
|
);
|
|
4382
4360
|
}, S = () => {
|
|
4383
4361
|
r(4, m = !1), clearInterval(g);
|
|
4384
4362
|
};
|
|
4385
|
-
|
|
4363
|
+
xr(() => () => {
|
|
4386
4364
|
_();
|
|
4387
4365
|
});
|
|
4388
|
-
function $(
|
|
4389
|
-
pe[
|
|
4390
|
-
c =
|
|
4366
|
+
function $(y) {
|
|
4367
|
+
pe[y ? "unshift" : "push"](() => {
|
|
4368
|
+
c = y, r(2, c);
|
|
4391
4369
|
});
|
|
4392
4370
|
}
|
|
4393
|
-
function ie(
|
|
4394
|
-
pe[
|
|
4395
|
-
f =
|
|
4371
|
+
function ie(y) {
|
|
4372
|
+
pe[y ? "unshift" : "push"](() => {
|
|
4373
|
+
f = y, r(3, f);
|
|
4396
4374
|
});
|
|
4397
4375
|
}
|
|
4398
|
-
return e.$$set = (
|
|
4399
|
-
"lang" in
|
|
4376
|
+
return e.$$set = (y) => {
|
|
4377
|
+
"lang" in y && r(7, i = y.lang), "customtext" in y && r(0, o = y.customtext), "clientstyling" in y && r(8, s = y.clientstyling), "clientstylingurl" in y && r(9, a = y.clientstylingurl), "mbsource" in y && r(10, u = y.mbsource), "alternativestyling" in y && r(1, h = y.alternativestyling), "translationurl" in y && r(11, l = y.translationurl);
|
|
4400
4378
|
}, e.$$.update = () => {
|
|
4401
4379
|
e.$$.dirty & /*panicButton*/
|
|
4402
4380
|
4 && c && I(), e.$$.dirty & /*lang*/
|
|
4403
|
-
128 && i &&
|
|
4404
|
-
264 && s && f &&
|
|
4405
|
-
520 && a && f &&
|
|
4406
|
-
1032 && u && f &&
|
|
4407
|
-
2048 && l &&
|
|
4381
|
+
128 && i && Gi(i), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4382
|
+
264 && s && f && Lr(f, s), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4383
|
+
520 && a && f && Mr(f, a), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4384
|
+
1032 && u && f && $r(f, `${u}.Style`), e.$$.dirty & /*translationurl*/
|
|
4385
|
+
2048 && l && N();
|
|
4408
4386
|
}, [
|
|
4409
4387
|
o,
|
|
4410
4388
|
h,
|
|
@@ -4422,14 +4400,14 @@ function Xi(e, t, r) {
|
|
|
4422
4400
|
ie
|
|
4423
4401
|
];
|
|
4424
4402
|
}
|
|
4425
|
-
class
|
|
4403
|
+
class Vi extends Cr {
|
|
4426
4404
|
constructor(t) {
|
|
4427
|
-
super(),
|
|
4405
|
+
super(), Or(
|
|
4428
4406
|
this,
|
|
4429
4407
|
t,
|
|
4430
|
-
|
|
4431
|
-
|
|
4432
|
-
|
|
4408
|
+
ki,
|
|
4409
|
+
ji,
|
|
4410
|
+
wt,
|
|
4433
4411
|
{
|
|
4434
4412
|
lang: 7,
|
|
4435
4413
|
customtext: 0,
|
|
@@ -4439,7 +4417,7 @@ class Wi extends $r {
|
|
|
4439
4417
|
alternativestyling: 1,
|
|
4440
4418
|
translationurl: 11
|
|
4441
4419
|
},
|
|
4442
|
-
|
|
4420
|
+
Fi
|
|
4443
4421
|
);
|
|
4444
4422
|
}
|
|
4445
4423
|
get lang() {
|
|
@@ -4485,7 +4463,7 @@ class Wi extends $r {
|
|
|
4485
4463
|
this.$$set({ translationurl: t }), B();
|
|
4486
4464
|
}
|
|
4487
4465
|
}
|
|
4488
|
-
|
|
4466
|
+
Ir(Vi, { lang: {}, customtext: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, alternativestyling: {}, translationurl: {} }, [], [], !0);
|
|
4489
4467
|
export {
|
|
4490
|
-
|
|
4468
|
+
Vi as default
|
|
4491
4469
|
};
|