@everymatrix/player-panic-button 1.54.11 → 1.55.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{PlayerPanicButton-BrBe3Lkn.js → PlayerPanicButton-BTFfd1GX.js} +735 -713
- package/components/PlayerPanicButton-DK21h8Bu.cjs +5 -0
- package/components/{PlayerPanicButton-XclxAATB.js → PlayerPanicButton-DoCQAhyl.js} +605 -583
- 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-BVEtQHiO.cjs +0 -5
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var _e = (e, t, r) => t in e ?
|
|
1
|
+
var lr = Object.defineProperty, cr = Object.defineProperties;
|
|
2
|
+
var fr = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var qe = Object.getOwnPropertySymbols;
|
|
4
|
+
var pr = Object.prototype.hasOwnProperty, mr = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var _e = (e, t, r) => t in e ? lr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ke = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var r of
|
|
10
|
-
|
|
7
|
+
pr.call(t, r) && _e(e, r, t[r]);
|
|
8
|
+
if (qe)
|
|
9
|
+
for (var r of qe(t))
|
|
10
|
+
mr.call(t, r) && _e(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
12
|
+
}, et = (e, t) => cr(e, fr(t));
|
|
13
13
|
var S = (e, t, r) => _e(e, typeof t != "symbol" ? t + "" : t, r);
|
|
14
|
-
var
|
|
14
|
+
var tt = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var o = (l) => {
|
|
16
16
|
try {
|
|
17
17
|
a(r.next(l));
|
|
@@ -29,25 +29,25 @@ var qe = (e, t, r) => new Promise((n, i) => {
|
|
|
29
29
|
});
|
|
30
30
|
function H() {
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function Pt(e) {
|
|
33
33
|
return e();
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function rt() {
|
|
36
36
|
return /* @__PURE__ */ Object.create(null);
|
|
37
37
|
}
|
|
38
38
|
function ne(e) {
|
|
39
|
-
e.forEach(
|
|
39
|
+
e.forEach(Pt);
|
|
40
40
|
}
|
|
41
41
|
function Xe(e) {
|
|
42
42
|
return typeof e == "function";
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function Bt(e, t) {
|
|
45
45
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
46
46
|
}
|
|
47
|
-
function
|
|
47
|
+
function dr(e) {
|
|
48
48
|
return Object.keys(e).length === 0;
|
|
49
49
|
}
|
|
50
|
-
function
|
|
50
|
+
function At(e, ...t) {
|
|
51
51
|
if (e == null) {
|
|
52
52
|
for (const n of t)
|
|
53
53
|
n(void 0);
|
|
@@ -56,20 +56,20 @@ function wt(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 br(e, t, r) {
|
|
60
|
+
e.$$.on_destroy.push(At(t, r));
|
|
61
61
|
}
|
|
62
62
|
function he(e, t) {
|
|
63
63
|
e.appendChild(t);
|
|
64
64
|
}
|
|
65
|
-
function
|
|
66
|
-
const n =
|
|
65
|
+
function gr(e, t, r) {
|
|
66
|
+
const n = yr(e);
|
|
67
67
|
if (!n.getElementById(t)) {
|
|
68
68
|
const i = q("style");
|
|
69
|
-
i.id = t, i.textContent = r,
|
|
69
|
+
i.id = t, i.textContent = r, vr(n, i);
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
|
-
function
|
|
72
|
+
function yr(e) {
|
|
73
73
|
if (!e) return document;
|
|
74
74
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
75
75
|
return t && /** @type {ShadowRoot} */
|
|
@@ -78,39 +78,39 @@ function mr(e) {
|
|
|
78
78
|
t
|
|
79
79
|
) : e.ownerDocument;
|
|
80
80
|
}
|
|
81
|
-
function
|
|
81
|
+
function vr(e, t) {
|
|
82
82
|
return he(
|
|
83
83
|
/** @type {Document} */
|
|
84
84
|
e.head || e,
|
|
85
85
|
t
|
|
86
86
|
), t.sheet;
|
|
87
87
|
}
|
|
88
|
-
function
|
|
88
|
+
function Ot(e, t, r) {
|
|
89
89
|
e.insertBefore(t, r || null);
|
|
90
90
|
}
|
|
91
|
-
function
|
|
91
|
+
function We(e) {
|
|
92
92
|
e.parentNode && e.parentNode.removeChild(e);
|
|
93
93
|
}
|
|
94
94
|
function q(e) {
|
|
95
95
|
return document.createElement(e);
|
|
96
96
|
}
|
|
97
|
-
function
|
|
97
|
+
function Er(e) {
|
|
98
98
|
return document.createTextNode(e);
|
|
99
99
|
}
|
|
100
100
|
function M(e, t, r) {
|
|
101
101
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
102
102
|
}
|
|
103
|
-
function
|
|
103
|
+
function xr(e) {
|
|
104
104
|
return Array.from(e.childNodes);
|
|
105
105
|
}
|
|
106
|
-
function
|
|
106
|
+
function _r(e, t) {
|
|
107
107
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
108
108
|
t);
|
|
109
109
|
}
|
|
110
|
-
function
|
|
110
|
+
function nt(e, t, r) {
|
|
111
111
|
e.classList.toggle(t, !!r);
|
|
112
112
|
}
|
|
113
|
-
function
|
|
113
|
+
function Sr(e) {
|
|
114
114
|
const t = {};
|
|
115
115
|
return e.childNodes.forEach(
|
|
116
116
|
/** @param {Element} node */
|
|
@@ -123,21 +123,21 @@ let ee;
|
|
|
123
123
|
function K(e) {
|
|
124
124
|
ee = e;
|
|
125
125
|
}
|
|
126
|
-
function
|
|
126
|
+
function Tr() {
|
|
127
127
|
if (!ee) throw new Error("Function called outside component initialization");
|
|
128
128
|
return ee;
|
|
129
129
|
}
|
|
130
|
-
function
|
|
131
|
-
|
|
130
|
+
function Hr(e) {
|
|
131
|
+
Tr().$$.on_mount.push(e);
|
|
132
132
|
}
|
|
133
|
-
const
|
|
133
|
+
const G = [], me = [];
|
|
134
134
|
let j = [];
|
|
135
|
-
const
|
|
136
|
-
let
|
|
137
|
-
function
|
|
138
|
-
|
|
135
|
+
const it = [], wr = /* @__PURE__ */ Promise.resolve();
|
|
136
|
+
let Ie = !1;
|
|
137
|
+
function Pr() {
|
|
138
|
+
Ie || (Ie = !0, wr.then(C));
|
|
139
139
|
}
|
|
140
|
-
function
|
|
140
|
+
function Ce(e) {
|
|
141
141
|
j.push(e);
|
|
142
142
|
}
|
|
143
143
|
const Se = /* @__PURE__ */ new Set();
|
|
@@ -148,54 +148,54 @@ function C() {
|
|
|
148
148
|
const e = ee;
|
|
149
149
|
do {
|
|
150
150
|
try {
|
|
151
|
-
for (; U <
|
|
152
|
-
const t =
|
|
153
|
-
U++, K(t),
|
|
151
|
+
for (; U < G.length; ) {
|
|
152
|
+
const t = G[U];
|
|
153
|
+
U++, K(t), Br(t.$$);
|
|
154
154
|
}
|
|
155
155
|
} catch (t) {
|
|
156
|
-
throw
|
|
156
|
+
throw G.length = 0, U = 0, t;
|
|
157
157
|
}
|
|
158
|
-
for (K(null),
|
|
158
|
+
for (K(null), G.length = 0, U = 0; me.length; ) me.pop()();
|
|
159
159
|
for (let t = 0; t < j.length; t += 1) {
|
|
160
160
|
const r = j[t];
|
|
161
161
|
Se.has(r) || (Se.add(r), r());
|
|
162
162
|
}
|
|
163
163
|
j.length = 0;
|
|
164
|
-
} while (
|
|
165
|
-
for (;
|
|
166
|
-
|
|
167
|
-
|
|
164
|
+
} while (G.length);
|
|
165
|
+
for (; it.length; )
|
|
166
|
+
it.pop()();
|
|
167
|
+
Ie = !1, Se.clear(), K(e);
|
|
168
168
|
}
|
|
169
|
-
function
|
|
169
|
+
function Br(e) {
|
|
170
170
|
if (e.fragment !== null) {
|
|
171
171
|
e.update(), ne(e.before_update);
|
|
172
172
|
const t = e.dirty;
|
|
173
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
173
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ce);
|
|
174
174
|
}
|
|
175
175
|
}
|
|
176
|
-
function
|
|
176
|
+
function Ar(e) {
|
|
177
177
|
const t = [], r = [];
|
|
178
178
|
j.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), j = t;
|
|
179
179
|
}
|
|
180
|
-
const
|
|
181
|
-
function
|
|
182
|
-
e && e.i && (
|
|
180
|
+
const Or = /* @__PURE__ */ new Set();
|
|
181
|
+
function Ir(e, t) {
|
|
182
|
+
e && e.i && (Or.delete(e), e.i(t));
|
|
183
183
|
}
|
|
184
|
-
function
|
|
184
|
+
function Cr(e, t, r) {
|
|
185
185
|
const { fragment: n, after_update: i } = e.$$;
|
|
186
|
-
n && n.m(t, r),
|
|
187
|
-
const o = e.$$.on_mount.map(
|
|
186
|
+
n && n.m(t, r), Ce(() => {
|
|
187
|
+
const o = e.$$.on_mount.map(Pt).filter(Xe);
|
|
188
188
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ne(o), e.$$.on_mount = [];
|
|
189
|
-
}), i.forEach(
|
|
189
|
+
}), i.forEach(Ce);
|
|
190
190
|
}
|
|
191
|
-
function
|
|
191
|
+
function Lr(e, t) {
|
|
192
192
|
const r = e.$$;
|
|
193
|
-
r.fragment !== null && (
|
|
193
|
+
r.fragment !== null && (Ar(r.after_update), ne(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
194
194
|
}
|
|
195
|
-
function
|
|
196
|
-
e.$$.dirty[0] === -1 && (
|
|
195
|
+
function Nr(e, t) {
|
|
196
|
+
e.$$.dirty[0] === -1 && (G.push(e), Pr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
197
197
|
}
|
|
198
|
-
function
|
|
198
|
+
function Mr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
199
199
|
const l = ee;
|
|
200
200
|
K(e);
|
|
201
201
|
const h = e.$$ = {
|
|
@@ -205,7 +205,7 @@ function Ir(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
205
205
|
props: o,
|
|
206
206
|
update: H,
|
|
207
207
|
not_equal: i,
|
|
208
|
-
bound:
|
|
208
|
+
bound: rt(),
|
|
209
209
|
// lifecycle
|
|
210
210
|
on_mount: [],
|
|
211
211
|
on_destroy: [],
|
|
@@ -214,7 +214,7 @@ function Ir(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
214
214
|
after_update: [],
|
|
215
215
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
216
216
|
// everything else
|
|
217
|
-
callbacks:
|
|
217
|
+
callbacks: rt(),
|
|
218
218
|
dirty: a,
|
|
219
219
|
skip_bound: !1,
|
|
220
220
|
root: t.target || l.$$.root
|
|
@@ -222,20 +222,20 @@ function Ir(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
222
222
|
s && s(h.root);
|
|
223
223
|
let u = !1;
|
|
224
224
|
if (h.ctx = r ? r(e, t.props || {}, (c, f, ...d) => {
|
|
225
|
-
const
|
|
226
|
-
return h.ctx && i(h.ctx[c], h.ctx[c] =
|
|
225
|
+
const v = d.length ? d[0] : f;
|
|
226
|
+
return h.ctx && i(h.ctx[c], h.ctx[c] = v) && (!h.skip_bound && h.bound[c] && h.bound[c](v), u && Nr(e, c)), f;
|
|
227
227
|
}) : [], h.update(), u = !0, ne(h.before_update), h.fragment = n ? n(h.ctx) : !1, t.target) {
|
|
228
228
|
if (t.hydrate) {
|
|
229
|
-
const c =
|
|
230
|
-
h.fragment && h.fragment.l(c), c.forEach(
|
|
229
|
+
const c = xr(t.target);
|
|
230
|
+
h.fragment && h.fragment.l(c), c.forEach(We);
|
|
231
231
|
} else
|
|
232
232
|
h.fragment && h.fragment.c();
|
|
233
|
-
t.intro &&
|
|
233
|
+
t.intro && Ir(e.$$.fragment), Cr(e, t.target, t.anchor), C();
|
|
234
234
|
}
|
|
235
235
|
K(l);
|
|
236
236
|
}
|
|
237
|
-
let
|
|
238
|
-
typeof HTMLElement == "function" && (
|
|
237
|
+
let It;
|
|
238
|
+
typeof HTMLElement == "function" && (It = class extends HTMLElement {
|
|
239
239
|
constructor(t, r, n) {
|
|
240
240
|
super();
|
|
241
241
|
/** The Svelte component constructor */
|
|
@@ -272,7 +272,7 @@ typeof HTMLElement == "function" && (Bt = class extends HTMLElement {
|
|
|
272
272
|
}
|
|
273
273
|
}
|
|
274
274
|
connectedCallback() {
|
|
275
|
-
return
|
|
275
|
+
return tt(this, null, function* () {
|
|
276
276
|
if (this.$$cn = !0, !this.$$c) {
|
|
277
277
|
let t = function(o) {
|
|
278
278
|
return () => {
|
|
@@ -286,17 +286,17 @@ typeof HTMLElement == "function" && (Bt = class extends HTMLElement {
|
|
|
286
286
|
* @param {HTMLElement} [anchor]
|
|
287
287
|
*/
|
|
288
288
|
m: function(h, u) {
|
|
289
|
-
|
|
289
|
+
Ot(h, s, u);
|
|
290
290
|
},
|
|
291
291
|
d: function(h) {
|
|
292
|
-
h &&
|
|
292
|
+
h && We(s);
|
|
293
293
|
}
|
|
294
294
|
};
|
|
295
295
|
};
|
|
296
296
|
};
|
|
297
297
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
298
298
|
return;
|
|
299
|
-
const r = {}, n =
|
|
299
|
+
const r = {}, n = Sr(this);
|
|
300
300
|
for (const o of this.$$s)
|
|
301
301
|
o in n && (r[o] = [t(o)]);
|
|
302
302
|
for (const o of this.attributes) {
|
|
@@ -307,7 +307,7 @@ typeof HTMLElement == "function" && (Bt = class extends HTMLElement {
|
|
|
307
307
|
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
|
308
308
|
this.$$c = new this.$$ctor({
|
|
309
309
|
target: this.shadowRoot || this,
|
|
310
|
-
props:
|
|
310
|
+
props: et(Ke({}, this.$$d), {
|
|
311
311
|
$$slots: r,
|
|
312
312
|
$$scope: {
|
|
313
313
|
ctx: []
|
|
@@ -385,8 +385,8 @@ function le(e, t, r, n) {
|
|
|
385
385
|
return t;
|
|
386
386
|
}
|
|
387
387
|
}
|
|
388
|
-
function
|
|
389
|
-
let s = class extends
|
|
388
|
+
function $r(e, t, r, n, i, o) {
|
|
389
|
+
let s = class extends It {
|
|
390
390
|
constructor() {
|
|
391
391
|
super(e, r, i), this.$$p_d = t;
|
|
392
392
|
}
|
|
@@ -416,7 +416,7 @@ function Cr(e, t, r, n, i, o) {
|
|
|
416
416
|
}), e.element = /** @type {any} */
|
|
417
417
|
s, s;
|
|
418
418
|
}
|
|
419
|
-
class
|
|
419
|
+
class Rr {
|
|
420
420
|
constructor() {
|
|
421
421
|
/**
|
|
422
422
|
* ### PRIVATE API
|
|
@@ -437,7 +437,7 @@ class Nr {
|
|
|
437
437
|
}
|
|
438
438
|
/** @returns {void} */
|
|
439
439
|
$destroy() {
|
|
440
|
-
|
|
440
|
+
Lr(this, 1), this.$destroy = H;
|
|
441
441
|
}
|
|
442
442
|
/**
|
|
443
443
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -459,22 +459,22 @@ class Nr {
|
|
|
459
459
|
* @returns {void}
|
|
460
460
|
*/
|
|
461
461
|
$set(t) {
|
|
462
|
-
this.$$set && !
|
|
462
|
+
this.$$set && !dr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
463
463
|
}
|
|
464
464
|
}
|
|
465
|
-
const
|
|
466
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
467
|
-
var
|
|
468
|
-
return
|
|
465
|
+
const Dr = "4";
|
|
466
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Dr);
|
|
467
|
+
var Le = function(e, t) {
|
|
468
|
+
return Le = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
469
469
|
r.__proto__ = n;
|
|
470
470
|
} || function(r, n) {
|
|
471
471
|
for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
472
|
-
},
|
|
472
|
+
}, Le(e, t);
|
|
473
473
|
};
|
|
474
474
|
function O(e, t) {
|
|
475
475
|
if (typeof t != "function" && t !== null)
|
|
476
476
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
477
|
-
|
|
477
|
+
Le(e, t);
|
|
478
478
|
function r() {
|
|
479
479
|
this.constructor = e;
|
|
480
480
|
}
|
|
@@ -489,7 +489,7 @@ var b = function() {
|
|
|
489
489
|
return t;
|
|
490
490
|
}, b.apply(this, arguments);
|
|
491
491
|
};
|
|
492
|
-
function
|
|
492
|
+
function Ur(e, t) {
|
|
493
493
|
var r = {};
|
|
494
494
|
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
495
495
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
@@ -507,7 +507,7 @@ function Ne(e) {
|
|
|
507
507
|
};
|
|
508
508
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
509
509
|
}
|
|
510
|
-
function
|
|
510
|
+
function Me(e, t) {
|
|
511
511
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
512
512
|
if (!r) return e;
|
|
513
513
|
var n = r.call(e), i, o = [], s;
|
|
@@ -532,13 +532,13 @@ function k(e, t, r) {
|
|
|
532
532
|
function A(e) {
|
|
533
533
|
return typeof e == "function";
|
|
534
534
|
}
|
|
535
|
-
function
|
|
535
|
+
function Ct(e) {
|
|
536
536
|
var t = function(n) {
|
|
537
537
|
Error.call(n), n.stack = new Error().stack;
|
|
538
538
|
}, r = e(t);
|
|
539
539
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
540
540
|
}
|
|
541
|
-
var Te =
|
|
541
|
+
var Te = Ct(function(e) {
|
|
542
542
|
return function(r) {
|
|
543
543
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
544
544
|
` + r.map(function(n, i) {
|
|
@@ -547,7 +547,7 @@ var Te = At(function(e) {
|
|
|
547
547
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
548
548
|
};
|
|
549
549
|
});
|
|
550
|
-
function
|
|
550
|
+
function $e(e, t) {
|
|
551
551
|
if (e) {
|
|
552
552
|
var r = e.indexOf(t);
|
|
553
553
|
0 <= r && e.splice(r, 1);
|
|
@@ -569,8 +569,8 @@ var ge = function() {
|
|
|
569
569
|
var h = l.value;
|
|
570
570
|
h.remove(this);
|
|
571
571
|
}
|
|
572
|
-
} catch (
|
|
573
|
-
t = { error:
|
|
572
|
+
} catch (y) {
|
|
573
|
+
t = { error: y };
|
|
574
574
|
} finally {
|
|
575
575
|
try {
|
|
576
576
|
l && !l.done && (r = a.return) && r.call(a);
|
|
@@ -584,23 +584,23 @@ var ge = function() {
|
|
|
584
584
|
if (A(u))
|
|
585
585
|
try {
|
|
586
586
|
u();
|
|
587
|
-
} catch (
|
|
588
|
-
o =
|
|
587
|
+
} catch (y) {
|
|
588
|
+
o = y instanceof Te ? y.errors : [y];
|
|
589
589
|
}
|
|
590
590
|
var c = this._finalizers;
|
|
591
591
|
if (c) {
|
|
592
592
|
this._finalizers = null;
|
|
593
593
|
try {
|
|
594
594
|
for (var f = Ne(c), d = f.next(); !d.done; d = f.next()) {
|
|
595
|
-
var
|
|
595
|
+
var v = d.value;
|
|
596
596
|
try {
|
|
597
|
-
|
|
598
|
-
} catch (
|
|
599
|
-
o = o != null ? o : [],
|
|
597
|
+
ot(v);
|
|
598
|
+
} catch (y) {
|
|
599
|
+
o = o != null ? o : [], y instanceof Te ? o = k(k([], Me(o)), Me(y.errors)) : o.push(y);
|
|
600
600
|
}
|
|
601
601
|
}
|
|
602
|
-
} catch (
|
|
603
|
-
n = { error:
|
|
602
|
+
} catch (y) {
|
|
603
|
+
n = { error: y };
|
|
604
604
|
} finally {
|
|
605
605
|
try {
|
|
606
606
|
d && !d.done && (i = f.return) && i.call(f);
|
|
@@ -616,7 +616,7 @@ var ge = function() {
|
|
|
616
616
|
var r;
|
|
617
617
|
if (t && t !== this)
|
|
618
618
|
if (this.closed)
|
|
619
|
-
|
|
619
|
+
ot(t);
|
|
620
620
|
else {
|
|
621
621
|
if (t instanceof e) {
|
|
622
622
|
if (t.closed || t._hasParent(this))
|
|
@@ -633,52 +633,56 @@ var ge = function() {
|
|
|
633
633
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
634
634
|
}, e.prototype._removeParent = function(t) {
|
|
635
635
|
var r = this._parentage;
|
|
636
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
636
|
+
r === t ? this._parentage = null : Array.isArray(r) && $e(r, t);
|
|
637
637
|
}, e.prototype.remove = function(t) {
|
|
638
638
|
var r = this._finalizers;
|
|
639
|
-
r &&
|
|
639
|
+
r && $e(r, t), t instanceof e && t._removeParent(this);
|
|
640
640
|
}, e.EMPTY = function() {
|
|
641
641
|
var t = new e();
|
|
642
642
|
return t.closed = !0, t;
|
|
643
643
|
}(), e;
|
|
644
|
-
}(),
|
|
645
|
-
function
|
|
644
|
+
}(), Lt = ge.EMPTY;
|
|
645
|
+
function Nt(e) {
|
|
646
646
|
return e instanceof ge || e && "closed" in e && A(e.remove) && A(e.add) && A(e.unsubscribe);
|
|
647
647
|
}
|
|
648
|
-
function
|
|
648
|
+
function ot(e) {
|
|
649
649
|
A(e) ? e() : e.unsubscribe();
|
|
650
650
|
}
|
|
651
|
-
var
|
|
652
|
-
|
|
653
|
-
|
|
651
|
+
var Mt = {
|
|
652
|
+
onUnhandledError: null,
|
|
653
|
+
onStoppedNotification: null,
|
|
654
|
+
Promise: void 0,
|
|
655
|
+
useDeprecatedSynchronousErrorHandling: !1,
|
|
656
|
+
useDeprecatedNextContext: !1
|
|
657
|
+
}, Fr = {
|
|
654
658
|
setTimeout: function(e, t) {
|
|
655
659
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
656
660
|
r[n - 2] = arguments[n];
|
|
657
|
-
return setTimeout.apply(void 0, k([e, t],
|
|
661
|
+
return setTimeout.apply(void 0, k([e, t], Me(r)));
|
|
658
662
|
},
|
|
659
663
|
clearTimeout: function(e) {
|
|
660
664
|
return clearTimeout(e);
|
|
661
665
|
},
|
|
662
666
|
delegate: void 0
|
|
663
667
|
};
|
|
664
|
-
function
|
|
665
|
-
|
|
668
|
+
function Gr(e) {
|
|
669
|
+
Fr.setTimeout(function() {
|
|
666
670
|
throw e;
|
|
667
671
|
});
|
|
668
672
|
}
|
|
669
|
-
function
|
|
673
|
+
function st() {
|
|
670
674
|
}
|
|
671
675
|
function ce(e) {
|
|
672
676
|
e();
|
|
673
677
|
}
|
|
674
|
-
var
|
|
678
|
+
var $t = function(e) {
|
|
675
679
|
O(t, e);
|
|
676
680
|
function t(r) {
|
|
677
681
|
var n = e.call(this) || this;
|
|
678
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
682
|
+
return n.isStopped = !1, r ? (n.destination = r, Nt(r) && r.add(n)) : n.destination = zr, n;
|
|
679
683
|
}
|
|
680
684
|
return t.create = function(r, n, i) {
|
|
681
|
-
return new
|
|
685
|
+
return new Re(r, n, i);
|
|
682
686
|
}, t.prototype.next = function(r) {
|
|
683
687
|
this.isStopped || this._next(r);
|
|
684
688
|
}, t.prototype.error = function(r) {
|
|
@@ -702,7 +706,11 @@ var Ct = function(e) {
|
|
|
702
706
|
this.unsubscribe();
|
|
703
707
|
}
|
|
704
708
|
}, t;
|
|
705
|
-
}(ge),
|
|
709
|
+
}(ge), jr = Function.prototype.bind;
|
|
710
|
+
function He(e, t) {
|
|
711
|
+
return jr.call(e, t);
|
|
712
|
+
}
|
|
713
|
+
var kr = function() {
|
|
706
714
|
function e(t) {
|
|
707
715
|
this.partialObserver = t;
|
|
708
716
|
}
|
|
@@ -733,43 +741,55 @@ var Ct = function(e) {
|
|
|
733
741
|
se(r);
|
|
734
742
|
}
|
|
735
743
|
}, e;
|
|
736
|
-
}(),
|
|
744
|
+
}(), Re = function(e) {
|
|
737
745
|
O(t, e);
|
|
738
746
|
function t(r, n, i) {
|
|
739
747
|
var o = e.call(this) || this, s;
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
748
|
+
if (A(r) || !r)
|
|
749
|
+
s = {
|
|
750
|
+
next: r != null ? r : void 0,
|
|
751
|
+
error: n != null ? n : void 0,
|
|
752
|
+
complete: i != null ? i : void 0
|
|
753
|
+
};
|
|
754
|
+
else {
|
|
755
|
+
var a;
|
|
756
|
+
o && Mt.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
|
|
757
|
+
return o.unsubscribe();
|
|
758
|
+
}, s = {
|
|
759
|
+
next: r.next && He(r.next, a),
|
|
760
|
+
error: r.error && He(r.error, a),
|
|
761
|
+
complete: r.complete && He(r.complete, a)
|
|
762
|
+
}) : s = r;
|
|
763
|
+
}
|
|
764
|
+
return o.destination = new kr(s), o;
|
|
745
765
|
}
|
|
746
766
|
return t;
|
|
747
|
-
}(
|
|
767
|
+
}($t);
|
|
748
768
|
function se(e) {
|
|
749
|
-
|
|
769
|
+
Gr(e);
|
|
750
770
|
}
|
|
751
|
-
function
|
|
771
|
+
function Vr(e) {
|
|
752
772
|
throw e;
|
|
753
773
|
}
|
|
754
|
-
var
|
|
774
|
+
var zr = {
|
|
755
775
|
closed: !0,
|
|
756
|
-
next:
|
|
757
|
-
error:
|
|
758
|
-
complete:
|
|
759
|
-
},
|
|
776
|
+
next: st,
|
|
777
|
+
error: Vr,
|
|
778
|
+
complete: st
|
|
779
|
+
}, Xr = function() {
|
|
760
780
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
761
781
|
}();
|
|
762
|
-
function
|
|
782
|
+
function Wr(e) {
|
|
763
783
|
return e;
|
|
764
784
|
}
|
|
765
|
-
function
|
|
766
|
-
return e.length === 0 ?
|
|
785
|
+
function Zr(e) {
|
|
786
|
+
return e.length === 0 ? Wr : e.length === 1 ? e[0] : function(r) {
|
|
767
787
|
return e.reduce(function(n, i) {
|
|
768
788
|
return i(n);
|
|
769
789
|
}, r);
|
|
770
790
|
};
|
|
771
791
|
}
|
|
772
|
-
var
|
|
792
|
+
var at = function() {
|
|
773
793
|
function e(t) {
|
|
774
794
|
t && (this._subscribe = t);
|
|
775
795
|
}
|
|
@@ -777,7 +797,7 @@ var it = function() {
|
|
|
777
797
|
var r = new e();
|
|
778
798
|
return r.source = this, r.operator = t, r;
|
|
779
799
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
780
|
-
var i = this, o =
|
|
800
|
+
var i = this, o = Jr(t) ? t : new Re(t, r, n);
|
|
781
801
|
return ce(function() {
|
|
782
802
|
var s = i, a = s.operator, l = s.source;
|
|
783
803
|
o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -790,8 +810,8 @@ var it = function() {
|
|
|
790
810
|
}
|
|
791
811
|
}, e.prototype.forEach = function(t, r) {
|
|
792
812
|
var n = this;
|
|
793
|
-
return r =
|
|
794
|
-
var s = new
|
|
813
|
+
return r = ut(r), new r(function(i, o) {
|
|
814
|
+
var s = new Re({
|
|
795
815
|
next: function(a) {
|
|
796
816
|
try {
|
|
797
817
|
t(a);
|
|
@@ -807,15 +827,15 @@ var it = function() {
|
|
|
807
827
|
}, e.prototype._subscribe = function(t) {
|
|
808
828
|
var r;
|
|
809
829
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
810
|
-
}, e.prototype[
|
|
830
|
+
}, e.prototype[Xr] = function() {
|
|
811
831
|
return this;
|
|
812
832
|
}, e.prototype.pipe = function() {
|
|
813
833
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
814
834
|
t[r] = arguments[r];
|
|
815
|
-
return
|
|
835
|
+
return Zr(t)(this);
|
|
816
836
|
}, e.prototype.toPromise = function(t) {
|
|
817
837
|
var r = this;
|
|
818
|
-
return t =
|
|
838
|
+
return t = ut(t), new t(function(n, i) {
|
|
819
839
|
var o;
|
|
820
840
|
r.subscribe(function(s) {
|
|
821
841
|
return o = s;
|
|
@@ -829,32 +849,32 @@ var it = function() {
|
|
|
829
849
|
return new e(t);
|
|
830
850
|
}, e;
|
|
831
851
|
}();
|
|
832
|
-
function
|
|
852
|
+
function ut(e) {
|
|
833
853
|
var t;
|
|
834
|
-
return (t = e != null ? e :
|
|
854
|
+
return (t = e != null ? e : Mt.Promise) !== null && t !== void 0 ? t : Promise;
|
|
835
855
|
}
|
|
836
|
-
function
|
|
856
|
+
function Qr(e) {
|
|
837
857
|
return e && A(e.next) && A(e.error) && A(e.complete);
|
|
838
858
|
}
|
|
839
|
-
function
|
|
840
|
-
return e && e instanceof
|
|
859
|
+
function Jr(e) {
|
|
860
|
+
return e && e instanceof $t || Qr(e) && Nt(e);
|
|
841
861
|
}
|
|
842
|
-
var
|
|
862
|
+
var Yr = Ct(function(e) {
|
|
843
863
|
return function() {
|
|
844
864
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
845
865
|
};
|
|
846
|
-
}),
|
|
866
|
+
}), Rt = function(e) {
|
|
847
867
|
O(t, e);
|
|
848
868
|
function t() {
|
|
849
869
|
var r = e.call(this) || this;
|
|
850
870
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
851
871
|
}
|
|
852
872
|
return t.prototype.lift = function(r) {
|
|
853
|
-
var n = new
|
|
873
|
+
var n = new ht(this, this);
|
|
854
874
|
return n.operator = r, n;
|
|
855
875
|
}, t.prototype._throwIfClosed = function() {
|
|
856
876
|
if (this.closed)
|
|
857
|
-
throw new
|
|
877
|
+
throw new Yr();
|
|
858
878
|
}, t.prototype.next = function(r) {
|
|
859
879
|
var n = this;
|
|
860
880
|
ce(function() {
|
|
@@ -910,19 +930,19 @@ var Wr = At(function(e) {
|
|
|
910
930
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
911
931
|
}, t.prototype._innerSubscribe = function(r) {
|
|
912
932
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
913
|
-
return o || s ?
|
|
914
|
-
n.currentObservers = null,
|
|
933
|
+
return o || s ? Lt : (this.currentObservers = null, a.push(r), new ge(function() {
|
|
934
|
+
n.currentObservers = null, $e(a, r);
|
|
915
935
|
}));
|
|
916
936
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
917
937
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
918
938
|
i ? r.error(o) : s && r.complete();
|
|
919
939
|
}, t.prototype.asObservable = function() {
|
|
920
|
-
var r = new
|
|
940
|
+
var r = new at();
|
|
921
941
|
return r.source = this, r;
|
|
922
942
|
}, t.create = function(r, n) {
|
|
923
|
-
return new
|
|
943
|
+
return new ht(r, n);
|
|
924
944
|
}, t;
|
|
925
|
-
}(
|
|
945
|
+
}(at), ht = function(e) {
|
|
926
946
|
O(t, e);
|
|
927
947
|
function t(r, n) {
|
|
928
948
|
var i = e.call(this) || this;
|
|
@@ -939,17 +959,17 @@ var Wr = At(function(e) {
|
|
|
939
959
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
940
960
|
}, t.prototype._subscribe = function(r) {
|
|
941
961
|
var n, i;
|
|
942
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
962
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Lt;
|
|
943
963
|
}, t;
|
|
944
|
-
}(
|
|
964
|
+
}(Rt), Dt = {
|
|
945
965
|
now: function() {
|
|
946
|
-
return (
|
|
966
|
+
return (Dt.delegate || Date).now();
|
|
947
967
|
},
|
|
948
968
|
delegate: void 0
|
|
949
|
-
},
|
|
969
|
+
}, qr = function(e) {
|
|
950
970
|
O(t, e);
|
|
951
971
|
function t(r, n, i) {
|
|
952
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
972
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Dt);
|
|
953
973
|
var o = e.call(this) || this;
|
|
954
974
|
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;
|
|
955
975
|
}
|
|
@@ -969,31 +989,31 @@ var Wr = At(function(e) {
|
|
|
969
989
|
h && o.splice(0, h + 1);
|
|
970
990
|
}
|
|
971
991
|
}, t;
|
|
972
|
-
}(
|
|
973
|
-
const
|
|
974
|
-
if (
|
|
975
|
-
const r = new
|
|
976
|
-
|
|
992
|
+
}(Rt);
|
|
993
|
+
const lt = [], ct = {}, Kr = (e, t = 0) => {
|
|
994
|
+
if (lt.indexOf(e) == -1) {
|
|
995
|
+
const r = new qr(t);
|
|
996
|
+
ct[e] = r, lt.push(e);
|
|
977
997
|
}
|
|
978
|
-
return
|
|
979
|
-
},
|
|
980
|
-
function
|
|
998
|
+
return ct[e];
|
|
999
|
+
}, F = [];
|
|
1000
|
+
function en(e, t) {
|
|
981
1001
|
return {
|
|
982
|
-
subscribe:
|
|
1002
|
+
subscribe: ye(e, t).subscribe
|
|
983
1003
|
};
|
|
984
1004
|
}
|
|
985
|
-
function
|
|
1005
|
+
function ye(e, t = H) {
|
|
986
1006
|
let r;
|
|
987
1007
|
const n = /* @__PURE__ */ new Set();
|
|
988
1008
|
function i(a) {
|
|
989
|
-
if (
|
|
990
|
-
const l = !
|
|
1009
|
+
if (Bt(e, a) && (e = a, r)) {
|
|
1010
|
+
const l = !F.length;
|
|
991
1011
|
for (const h of n)
|
|
992
|
-
h[1](),
|
|
1012
|
+
h[1](), F.push(h, e);
|
|
993
1013
|
if (l) {
|
|
994
|
-
for (let h = 0; h <
|
|
995
|
-
|
|
996
|
-
|
|
1014
|
+
for (let h = 0; h < F.length; h += 2)
|
|
1015
|
+
F[h][0](F[h + 1]);
|
|
1016
|
+
F.length = 0;
|
|
997
1017
|
}
|
|
998
1018
|
}
|
|
999
1019
|
}
|
|
@@ -1013,7 +1033,7 @@ function Z(e, t, r) {
|
|
|
1013
1033
|
if (!i.every(Boolean))
|
|
1014
1034
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1015
1035
|
const o = t.length < 2;
|
|
1016
|
-
return
|
|
1036
|
+
return en(r, (s, a) => {
|
|
1017
1037
|
let l = !1;
|
|
1018
1038
|
const h = [];
|
|
1019
1039
|
let u = 0, c = H;
|
|
@@ -1021,16 +1041,16 @@ function Z(e, t, r) {
|
|
|
1021
1041
|
if (u)
|
|
1022
1042
|
return;
|
|
1023
1043
|
c();
|
|
1024
|
-
const
|
|
1025
|
-
o ? s(
|
|
1044
|
+
const v = t(n ? h[0] : h, s, a);
|
|
1045
|
+
o ? s(v) : c = Xe(v) ? v : H;
|
|
1026
1046
|
}, d = i.map(
|
|
1027
|
-
(
|
|
1028
|
-
|
|
1047
|
+
(v, y) => At(
|
|
1048
|
+
v,
|
|
1029
1049
|
(T) => {
|
|
1030
|
-
h[
|
|
1050
|
+
h[y] = T, u &= ~(1 << y), l && f();
|
|
1031
1051
|
},
|
|
1032
1052
|
() => {
|
|
1033
|
-
u |= 1 <<
|
|
1053
|
+
u |= 1 << y;
|
|
1034
1054
|
}
|
|
1035
1055
|
)
|
|
1036
1056
|
);
|
|
@@ -1039,70 +1059,70 @@ function Z(e, t, r) {
|
|
|
1039
1059
|
};
|
|
1040
1060
|
});
|
|
1041
1061
|
}
|
|
1042
|
-
function
|
|
1062
|
+
function tn(e) {
|
|
1043
1063
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1044
1064
|
}
|
|
1045
|
-
var
|
|
1046
|
-
return
|
|
1065
|
+
var rn = function(t) {
|
|
1066
|
+
return nn(t) && !on(t);
|
|
1047
1067
|
};
|
|
1048
|
-
function
|
|
1068
|
+
function nn(e) {
|
|
1049
1069
|
return !!e && typeof e == "object";
|
|
1050
1070
|
}
|
|
1051
|
-
function
|
|
1071
|
+
function on(e) {
|
|
1052
1072
|
var t = Object.prototype.toString.call(e);
|
|
1053
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1073
|
+
return t === "[object RegExp]" || t === "[object Date]" || un(e);
|
|
1054
1074
|
}
|
|
1055
|
-
var
|
|
1056
|
-
function
|
|
1057
|
-
return e.$$typeof ===
|
|
1075
|
+
var sn = typeof Symbol == "function" && Symbol.for, an = sn ? Symbol.for("react.element") : 60103;
|
|
1076
|
+
function un(e) {
|
|
1077
|
+
return e.$$typeof === an;
|
|
1058
1078
|
}
|
|
1059
|
-
function
|
|
1079
|
+
function hn(e) {
|
|
1060
1080
|
return Array.isArray(e) ? [] : {};
|
|
1061
1081
|
}
|
|
1062
1082
|
function te(e, t) {
|
|
1063
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? V(
|
|
1083
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? V(hn(e), e, t) : e;
|
|
1064
1084
|
}
|
|
1065
|
-
function
|
|
1085
|
+
function ln(e, t, r) {
|
|
1066
1086
|
return e.concat(t).map(function(n) {
|
|
1067
1087
|
return te(n, r);
|
|
1068
1088
|
});
|
|
1069
1089
|
}
|
|
1070
|
-
function
|
|
1090
|
+
function cn(e, t) {
|
|
1071
1091
|
if (!t.customMerge)
|
|
1072
1092
|
return V;
|
|
1073
1093
|
var r = t.customMerge(e);
|
|
1074
1094
|
return typeof r == "function" ? r : V;
|
|
1075
1095
|
}
|
|
1076
|
-
function
|
|
1096
|
+
function fn(e) {
|
|
1077
1097
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1078
1098
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1079
1099
|
}) : [];
|
|
1080
1100
|
}
|
|
1081
|
-
function
|
|
1082
|
-
return Object.keys(e).concat(
|
|
1101
|
+
function ft(e) {
|
|
1102
|
+
return Object.keys(e).concat(fn(e));
|
|
1083
1103
|
}
|
|
1084
|
-
function
|
|
1104
|
+
function Ut(e, t) {
|
|
1085
1105
|
try {
|
|
1086
1106
|
return t in e;
|
|
1087
1107
|
} catch (r) {
|
|
1088
1108
|
return !1;
|
|
1089
1109
|
}
|
|
1090
1110
|
}
|
|
1091
|
-
function
|
|
1092
|
-
return
|
|
1111
|
+
function pn(e, t) {
|
|
1112
|
+
return Ut(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1093
1113
|
}
|
|
1094
|
-
function
|
|
1114
|
+
function mn(e, t, r) {
|
|
1095
1115
|
var n = {};
|
|
1096
|
-
return r.isMergeableObject(e) &&
|
|
1116
|
+
return r.isMergeableObject(e) && ft(e).forEach(function(i) {
|
|
1097
1117
|
n[i] = te(e[i], r);
|
|
1098
|
-
}),
|
|
1099
|
-
|
|
1118
|
+
}), ft(t).forEach(function(i) {
|
|
1119
|
+
pn(e, i) || (Ut(e, i) && r.isMergeableObject(t[i]) ? n[i] = cn(i, r)(e[i], t[i], r) : n[i] = te(t[i], r));
|
|
1100
1120
|
}), n;
|
|
1101
1121
|
}
|
|
1102
1122
|
function V(e, t, r) {
|
|
1103
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1123
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || ln, r.isMergeableObject = r.isMergeableObject || rn, r.cloneUnlessOtherwiseSpecified = te;
|
|
1104
1124
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1105
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1125
|
+
return o ? n ? r.arrayMerge(e, t, r) : mn(e, t, r) : te(t, r);
|
|
1106
1126
|
}
|
|
1107
1127
|
V.all = function(t, r) {
|
|
1108
1128
|
if (!Array.isArray(t))
|
|
@@ -1111,105 +1131,107 @@ V.all = function(t, r) {
|
|
|
1111
1131
|
return V(n, i, r);
|
|
1112
1132
|
}, {});
|
|
1113
1133
|
};
|
|
1114
|
-
var
|
|
1115
|
-
const
|
|
1116
|
-
function
|
|
1117
|
-
var r = t && t.cache ? t.cache :
|
|
1134
|
+
var dn = V, bn = dn;
|
|
1135
|
+
const gn = /* @__PURE__ */ tn(bn);
|
|
1136
|
+
function we(e, t) {
|
|
1137
|
+
var r = t && t.cache ? t.cache : Sn, n = t && t.serializer ? t.serializer : _n, i = t && t.strategy ? t.strategy : vn;
|
|
1118
1138
|
return i(e, {
|
|
1119
1139
|
cache: r,
|
|
1120
1140
|
serializer: n
|
|
1121
1141
|
});
|
|
1122
1142
|
}
|
|
1123
|
-
function
|
|
1143
|
+
function yn(e) {
|
|
1124
1144
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1125
1145
|
}
|
|
1126
|
-
function
|
|
1127
|
-
var i =
|
|
1146
|
+
function Ft(e, t, r, n) {
|
|
1147
|
+
var i = yn(n) ? n : r(n), o = t.get(i);
|
|
1128
1148
|
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1129
1149
|
}
|
|
1130
|
-
function
|
|
1150
|
+
function Gt(e, t, r) {
|
|
1131
1151
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1132
1152
|
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1133
1153
|
}
|
|
1134
|
-
function
|
|
1154
|
+
function Ze(e, t, r, n, i) {
|
|
1135
1155
|
return r.bind(t, e, n, i);
|
|
1136
1156
|
}
|
|
1137
|
-
function
|
|
1138
|
-
var r = e.length === 1 ?
|
|
1139
|
-
return
|
|
1157
|
+
function vn(e, t) {
|
|
1158
|
+
var r = e.length === 1 ? Ft : Gt;
|
|
1159
|
+
return Ze(e, this, r, t.cache.create(), t.serializer);
|
|
1160
|
+
}
|
|
1161
|
+
function En(e, t) {
|
|
1162
|
+
return Ze(e, this, Gt, t.cache.create(), t.serializer);
|
|
1140
1163
|
}
|
|
1141
|
-
function
|
|
1142
|
-
return
|
|
1164
|
+
function xn(e, t) {
|
|
1165
|
+
return Ze(e, this, Ft, t.cache.create(), t.serializer);
|
|
1143
1166
|
}
|
|
1144
|
-
var
|
|
1167
|
+
var _n = function() {
|
|
1145
1168
|
return JSON.stringify(arguments);
|
|
1146
|
-
}
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
}()
|
|
1158
|
-
), xn = {
|
|
1169
|
+
};
|
|
1170
|
+
function Qe() {
|
|
1171
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1172
|
+
}
|
|
1173
|
+
Qe.prototype.get = function(e) {
|
|
1174
|
+
return this.cache[e];
|
|
1175
|
+
};
|
|
1176
|
+
Qe.prototype.set = function(e, t) {
|
|
1177
|
+
this.cache[e] = t;
|
|
1178
|
+
};
|
|
1179
|
+
var Sn = {
|
|
1159
1180
|
create: function() {
|
|
1160
|
-
return new
|
|
1181
|
+
return new Qe();
|
|
1161
1182
|
}
|
|
1162
|
-
},
|
|
1163
|
-
variadic:
|
|
1183
|
+
}, Pe = {
|
|
1184
|
+
variadic: En,
|
|
1185
|
+
monadic: xn
|
|
1164
1186
|
}, p;
|
|
1165
1187
|
(function(e) {
|
|
1166
1188
|
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";
|
|
1167
1189
|
})(p || (p = {}));
|
|
1168
|
-
var
|
|
1190
|
+
var E;
|
|
1169
1191
|
(function(e) {
|
|
1170
1192
|
e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
|
|
1171
|
-
})(
|
|
1172
|
-
var
|
|
1193
|
+
})(E || (E = {}));
|
|
1194
|
+
var z;
|
|
1173
1195
|
(function(e) {
|
|
1174
1196
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1175
|
-
})(
|
|
1176
|
-
function
|
|
1177
|
-
return e.type ===
|
|
1197
|
+
})(z || (z = {}));
|
|
1198
|
+
function pt(e) {
|
|
1199
|
+
return e.type === E.literal;
|
|
1178
1200
|
}
|
|
1179
|
-
function
|
|
1180
|
-
return e.type ===
|
|
1201
|
+
function Tn(e) {
|
|
1202
|
+
return e.type === E.argument;
|
|
1181
1203
|
}
|
|
1182
|
-
function
|
|
1183
|
-
return e.type ===
|
|
1204
|
+
function jt(e) {
|
|
1205
|
+
return e.type === E.number;
|
|
1184
1206
|
}
|
|
1185
|
-
function
|
|
1186
|
-
return e.type ===
|
|
1207
|
+
function kt(e) {
|
|
1208
|
+
return e.type === E.date;
|
|
1187
1209
|
}
|
|
1188
|
-
function
|
|
1189
|
-
return e.type ===
|
|
1210
|
+
function Vt(e) {
|
|
1211
|
+
return e.type === E.time;
|
|
1190
1212
|
}
|
|
1191
|
-
function
|
|
1192
|
-
return e.type ===
|
|
1213
|
+
function zt(e) {
|
|
1214
|
+
return e.type === E.select;
|
|
1193
1215
|
}
|
|
1194
|
-
function
|
|
1195
|
-
return e.type ===
|
|
1216
|
+
function Xt(e) {
|
|
1217
|
+
return e.type === E.plural;
|
|
1196
1218
|
}
|
|
1197
|
-
function
|
|
1198
|
-
return e.type ===
|
|
1219
|
+
function Hn(e) {
|
|
1220
|
+
return e.type === E.pound;
|
|
1199
1221
|
}
|
|
1200
|
-
function
|
|
1201
|
-
return e.type ===
|
|
1222
|
+
function Wt(e) {
|
|
1223
|
+
return e.type === E.tag;
|
|
1202
1224
|
}
|
|
1203
|
-
function
|
|
1204
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1225
|
+
function Zt(e) {
|
|
1226
|
+
return !!(e && typeof e == "object" && e.type === z.number);
|
|
1205
1227
|
}
|
|
1206
|
-
function
|
|
1207
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1228
|
+
function De(e) {
|
|
1229
|
+
return !!(e && typeof e == "object" && e.type === z.dateTime);
|
|
1208
1230
|
}
|
|
1209
|
-
var
|
|
1210
|
-
function
|
|
1231
|
+
var Qt = /[ \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;
|
|
1232
|
+
function Pn(e) {
|
|
1211
1233
|
var t = {};
|
|
1212
|
-
return e.replace(
|
|
1234
|
+
return e.replace(wn, function(r) {
|
|
1213
1235
|
var n = r.length;
|
|
1214
1236
|
switch (r[0]) {
|
|
1215
1237
|
case "G":
|
|
@@ -1298,11 +1320,11 @@ function Tn(e) {
|
|
|
1298
1320
|
return "";
|
|
1299
1321
|
}), t;
|
|
1300
1322
|
}
|
|
1301
|
-
var
|
|
1302
|
-
function
|
|
1323
|
+
var Bn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1324
|
+
function An(e) {
|
|
1303
1325
|
if (e.length === 0)
|
|
1304
1326
|
throw new Error("Number skeleton cannot be empty");
|
|
1305
|
-
for (var t = e.split(
|
|
1327
|
+
for (var t = e.split(Bn).filter(function(f) {
|
|
1306
1328
|
return f.length > 0;
|
|
1307
1329
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1308
1330
|
var o = i[n], s = o.split("/");
|
|
@@ -1317,17 +1339,17 @@ function wn(e) {
|
|
|
1317
1339
|
}
|
|
1318
1340
|
return r;
|
|
1319
1341
|
}
|
|
1320
|
-
function
|
|
1342
|
+
function On(e) {
|
|
1321
1343
|
return e.replace(/^(.*?)-/, "");
|
|
1322
1344
|
}
|
|
1323
|
-
var
|
|
1324
|
-
function
|
|
1345
|
+
var mt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Jt = /^(@+)?(\+|#+)?[rs]?$/g, In = /(\*)(0+)|(#+)(0+)|(0+)/g, Yt = /^(0+)$/;
|
|
1346
|
+
function dt(e) {
|
|
1325
1347
|
var t = {};
|
|
1326
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1348
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Jt, function(r, n, i) {
|
|
1327
1349
|
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)), "";
|
|
1328
1350
|
}), t;
|
|
1329
1351
|
}
|
|
1330
|
-
function
|
|
1352
|
+
function qt(e) {
|
|
1331
1353
|
switch (e) {
|
|
1332
1354
|
case "sign-auto":
|
|
1333
1355
|
return {
|
|
@@ -1367,7 +1389,7 @@ function Zt(e) {
|
|
|
1367
1389
|
};
|
|
1368
1390
|
}
|
|
1369
1391
|
}
|
|
1370
|
-
function
|
|
1392
|
+
function Cn(e) {
|
|
1371
1393
|
var t;
|
|
1372
1394
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1373
1395
|
notation: "engineering"
|
|
@@ -1375,17 +1397,17 @@ function An(e) {
|
|
|
1375
1397
|
notation: "scientific"
|
|
1376
1398
|
}, e = e.slice(1)), t) {
|
|
1377
1399
|
var r = e.slice(0, 2);
|
|
1378
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1400
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Yt.test(e))
|
|
1379
1401
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1380
1402
|
t.minimumIntegerDigits = e.length;
|
|
1381
1403
|
}
|
|
1382
1404
|
return t;
|
|
1383
1405
|
}
|
|
1384
|
-
function
|
|
1385
|
-
var t = {}, r =
|
|
1406
|
+
function bt(e) {
|
|
1407
|
+
var t = {}, r = qt(e);
|
|
1386
1408
|
return r || t;
|
|
1387
1409
|
}
|
|
1388
|
-
function
|
|
1410
|
+
function Ln(e) {
|
|
1389
1411
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1390
1412
|
var i = n[r];
|
|
1391
1413
|
switch (i.stem) {
|
|
@@ -1409,7 +1431,7 @@ function On(e) {
|
|
|
1409
1431
|
continue;
|
|
1410
1432
|
case "measure-unit":
|
|
1411
1433
|
case "unit":
|
|
1412
|
-
t.style = "unit", t.unit =
|
|
1434
|
+
t.style = "unit", t.unit = On(i.options[0]);
|
|
1413
1435
|
continue;
|
|
1414
1436
|
case "compact-short":
|
|
1415
1437
|
case "K":
|
|
@@ -1421,12 +1443,12 @@ function On(e) {
|
|
|
1421
1443
|
continue;
|
|
1422
1444
|
case "scientific":
|
|
1423
1445
|
t = b(b(b({}, t), { notation: "scientific" }), i.options.reduce(function(l, h) {
|
|
1424
|
-
return b(b({}, l),
|
|
1446
|
+
return b(b({}, l), bt(h));
|
|
1425
1447
|
}, {}));
|
|
1426
1448
|
continue;
|
|
1427
1449
|
case "engineering":
|
|
1428
1450
|
t = b(b(b({}, t), { notation: "engineering" }), i.options.reduce(function(l, h) {
|
|
1429
|
-
return b(b({}, l),
|
|
1451
|
+
return b(b({}, l), bt(h));
|
|
1430
1452
|
}, {}));
|
|
1431
1453
|
continue;
|
|
1432
1454
|
case "notation-simple":
|
|
@@ -1471,7 +1493,7 @@ function On(e) {
|
|
|
1471
1493
|
case "integer-width":
|
|
1472
1494
|
if (i.options.length > 1)
|
|
1473
1495
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1474
|
-
i.options[0].replace(
|
|
1496
|
+
i.options[0].replace(In, function(l, h, u, c, f, d) {
|
|
1475
1497
|
if (h)
|
|
1476
1498
|
t.minimumIntegerDigits = u.length;
|
|
1477
1499
|
else {
|
|
@@ -1484,27 +1506,27 @@ function On(e) {
|
|
|
1484
1506
|
});
|
|
1485
1507
|
continue;
|
|
1486
1508
|
}
|
|
1487
|
-
if (
|
|
1509
|
+
if (Yt.test(i.stem)) {
|
|
1488
1510
|
t.minimumIntegerDigits = i.stem.length;
|
|
1489
1511
|
continue;
|
|
1490
1512
|
}
|
|
1491
|
-
if (
|
|
1513
|
+
if (mt.test(i.stem)) {
|
|
1492
1514
|
if (i.options.length > 1)
|
|
1493
1515
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1494
|
-
i.stem.replace(
|
|
1516
|
+
i.stem.replace(mt, function(l, h, u, c, f, d) {
|
|
1495
1517
|
return u === "*" ? t.minimumFractionDigits = h.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && d ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + d.length) : (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length), "";
|
|
1496
1518
|
});
|
|
1497
1519
|
var o = i.options[0];
|
|
1498
|
-
o === "w" ? t = b(b({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = b(b({}, t),
|
|
1520
|
+
o === "w" ? t = b(b({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = b(b({}, t), dt(o)));
|
|
1499
1521
|
continue;
|
|
1500
1522
|
}
|
|
1501
|
-
if (
|
|
1502
|
-
t = b(b({}, t),
|
|
1523
|
+
if (Jt.test(i.stem)) {
|
|
1524
|
+
t = b(b({}, t), dt(i.stem));
|
|
1503
1525
|
continue;
|
|
1504
1526
|
}
|
|
1505
|
-
var s =
|
|
1527
|
+
var s = qt(i.stem);
|
|
1506
1528
|
s && (t = b(b({}, t), s));
|
|
1507
|
-
var a =
|
|
1529
|
+
var a = Cn(i.stem);
|
|
1508
1530
|
a && (t = b(b({}, t), a));
|
|
1509
1531
|
}
|
|
1510
1532
|
return t;
|
|
@@ -2924,13 +2946,13 @@ var ae = {
|
|
|
2924
2946
|
"h"
|
|
2925
2947
|
]
|
|
2926
2948
|
};
|
|
2927
|
-
function
|
|
2949
|
+
function Nn(e, t) {
|
|
2928
2950
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2929
2951
|
var i = e.charAt(n);
|
|
2930
2952
|
if (i === "j") {
|
|
2931
2953
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2932
2954
|
o++, n++;
|
|
2933
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", h =
|
|
2955
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", h = Mn(t);
|
|
2934
2956
|
for ((h == "H" || h == "k") && (a = 0); a-- > 0; )
|
|
2935
2957
|
r += l;
|
|
2936
2958
|
for (; s-- > 0; )
|
|
@@ -2939,7 +2961,7 @@ function In(e, t) {
|
|
|
2939
2961
|
}
|
|
2940
2962
|
return r;
|
|
2941
2963
|
}
|
|
2942
|
-
function
|
|
2964
|
+
function Mn(e) {
|
|
2943
2965
|
var t = e.hourCycle;
|
|
2944
2966
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2945
2967
|
e.hourCycles && // @ts-ignore
|
|
@@ -2961,20 +2983,20 @@ function Cn(e) {
|
|
|
2961
2983
|
var i = ae[n || ""] || ae[r || ""] || ae["".concat(r, "-001")] || ae["001"];
|
|
2962
2984
|
return i[0];
|
|
2963
2985
|
}
|
|
2964
|
-
var
|
|
2986
|
+
var Be, $n = new RegExp("^".concat(Qt.source, "*")), Rn = new RegExp("".concat(Qt.source, "*$"));
|
|
2965
2987
|
function m(e, t) {
|
|
2966
2988
|
return { start: e, end: t };
|
|
2967
2989
|
}
|
|
2968
|
-
var
|
|
2990
|
+
var Dn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Un = !!String.fromCodePoint, Fn = !!Object.fromEntries, Gn = !!String.prototype.codePointAt, jn = !!String.prototype.trimStart, kn = !!String.prototype.trimEnd, Vn = !!Number.isSafeInteger, zn = Vn ? Number.isSafeInteger : function(e) {
|
|
2969
2991
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2970
|
-
},
|
|
2992
|
+
}, Ue = !0;
|
|
2971
2993
|
try {
|
|
2972
|
-
var
|
|
2973
|
-
|
|
2994
|
+
var Xn = er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2995
|
+
Ue = ((Be = Xn.exec("a")) === null || Be === void 0 ? void 0 : Be[0]) === "a";
|
|
2974
2996
|
} catch (e) {
|
|
2975
|
-
|
|
2997
|
+
Ue = !1;
|
|
2976
2998
|
}
|
|
2977
|
-
var
|
|
2999
|
+
var gt = Dn ? (
|
|
2978
3000
|
// Native
|
|
2979
3001
|
function(t, r, n) {
|
|
2980
3002
|
return t.startsWith(r, n);
|
|
@@ -2984,7 +3006,7 @@ var mt = Mn ? (
|
|
|
2984
3006
|
function(t, r, n) {
|
|
2985
3007
|
return t.slice(n, n + r.length) === r;
|
|
2986
3008
|
}
|
|
2987
|
-
),
|
|
3009
|
+
), Fe = Un ? String.fromCodePoint : (
|
|
2988
3010
|
// IE11
|
|
2989
3011
|
function() {
|
|
2990
3012
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -2996,9 +3018,9 @@ var mt = Mn ? (
|
|
|
2996
3018
|
}
|
|
2997
3019
|
return n;
|
|
2998
3020
|
}
|
|
2999
|
-
),
|
|
3021
|
+
), yt = (
|
|
3000
3022
|
// native
|
|
3001
|
-
|
|
3023
|
+
Fn ? Object.fromEntries : (
|
|
3002
3024
|
// Ponyfill
|
|
3003
3025
|
function(t) {
|
|
3004
3026
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3008,7 +3030,7 @@ var mt = Mn ? (
|
|
|
3008
3030
|
return r;
|
|
3009
3031
|
}
|
|
3010
3032
|
)
|
|
3011
|
-
),
|
|
3033
|
+
), Kt = Gn ? (
|
|
3012
3034
|
// Native
|
|
3013
3035
|
function(t, r) {
|
|
3014
3036
|
return t.codePointAt(r);
|
|
@@ -3022,7 +3044,7 @@ var mt = Mn ? (
|
|
|
3022
3044
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3023
3045
|
}
|
|
3024
3046
|
}
|
|
3025
|
-
),
|
|
3047
|
+
), Wn = jn ? (
|
|
3026
3048
|
// Native
|
|
3027
3049
|
function(t) {
|
|
3028
3050
|
return t.trimStart();
|
|
@@ -3030,9 +3052,9 @@ var mt = Mn ? (
|
|
|
3030
3052
|
) : (
|
|
3031
3053
|
// Ponyfill
|
|
3032
3054
|
function(t) {
|
|
3033
|
-
return t.replace(
|
|
3055
|
+
return t.replace($n, "");
|
|
3034
3056
|
}
|
|
3035
|
-
),
|
|
3057
|
+
), Zn = kn ? (
|
|
3036
3058
|
// Native
|
|
3037
3059
|
function(t) {
|
|
3038
3060
|
return t.trimEnd();
|
|
@@ -3040,32 +3062,32 @@ var mt = Mn ? (
|
|
|
3040
3062
|
) : (
|
|
3041
3063
|
// Ponyfill
|
|
3042
3064
|
function(t) {
|
|
3043
|
-
return t.replace(
|
|
3065
|
+
return t.replace(Rn, "");
|
|
3044
3066
|
}
|
|
3045
3067
|
);
|
|
3046
|
-
function
|
|
3068
|
+
function er(e, t) {
|
|
3047
3069
|
return new RegExp(e, t);
|
|
3048
3070
|
}
|
|
3049
3071
|
var Ge;
|
|
3050
|
-
if (
|
|
3051
|
-
var
|
|
3072
|
+
if (Ue) {
|
|
3073
|
+
var vt = er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3052
3074
|
Ge = function(t, r) {
|
|
3053
3075
|
var n;
|
|
3054
|
-
|
|
3055
|
-
var i =
|
|
3076
|
+
vt.lastIndex = r;
|
|
3077
|
+
var i = vt.exec(t);
|
|
3056
3078
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3057
3079
|
};
|
|
3058
3080
|
} else
|
|
3059
3081
|
Ge = function(t, r) {
|
|
3060
3082
|
for (var n = []; ; ) {
|
|
3061
|
-
var i =
|
|
3062
|
-
if (i === void 0 ||
|
|
3083
|
+
var i = Kt(t, r);
|
|
3084
|
+
if (i === void 0 || tr(i) || qn(i))
|
|
3063
3085
|
break;
|
|
3064
3086
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3065
3087
|
}
|
|
3066
|
-
return
|
|
3088
|
+
return Fe.apply(void 0, n);
|
|
3067
3089
|
};
|
|
3068
|
-
var
|
|
3090
|
+
var Qn = (
|
|
3069
3091
|
/** @class */
|
|
3070
3092
|
function() {
|
|
3071
3093
|
function e(t, r) {
|
|
@@ -3089,14 +3111,14 @@ var zn = (
|
|
|
3089
3111
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3090
3112
|
var a = this.clonePosition();
|
|
3091
3113
|
this.bump(), i.push({
|
|
3092
|
-
type:
|
|
3114
|
+
type: E.pound,
|
|
3093
3115
|
location: m(a, this.clonePosition())
|
|
3094
3116
|
});
|
|
3095
3117
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3096
3118
|
if (n)
|
|
3097
3119
|
break;
|
|
3098
3120
|
return this.error(p.UNMATCHED_CLOSING_TAG, m(this.clonePosition(), this.clonePosition()));
|
|
3099
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3121
|
+
} else if (o === 60 && !this.ignoreTag && je(this.peek() || 0)) {
|
|
3100
3122
|
var s = this.parseTag(t, r);
|
|
3101
3123
|
if (s.err)
|
|
3102
3124
|
return s;
|
|
@@ -3117,7 +3139,7 @@ var zn = (
|
|
|
3117
3139
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3118
3140
|
return {
|
|
3119
3141
|
val: {
|
|
3120
|
-
type:
|
|
3142
|
+
type: E.literal,
|
|
3121
3143
|
value: "<".concat(i, "/>"),
|
|
3122
3144
|
location: m(n, this.clonePosition())
|
|
3123
3145
|
},
|
|
@@ -3129,12 +3151,12 @@ var zn = (
|
|
|
3129
3151
|
return o;
|
|
3130
3152
|
var s = o.val, a = this.clonePosition();
|
|
3131
3153
|
if (this.bumpIf("</")) {
|
|
3132
|
-
if (this.isEOF() || !
|
|
3154
|
+
if (this.isEOF() || !je(this.char()))
|
|
3133
3155
|
return this.error(p.INVALID_TAG, m(a, this.clonePosition()));
|
|
3134
3156
|
var l = this.clonePosition(), h = this.parseTagName();
|
|
3135
3157
|
return i !== h ? this.error(p.UNMATCHED_CLOSING_TAG, m(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3136
3158
|
val: {
|
|
3137
|
-
type:
|
|
3159
|
+
type: E.tag,
|
|
3138
3160
|
value: i,
|
|
3139
3161
|
children: s,
|
|
3140
3162
|
location: m(n, this.clonePosition())
|
|
@@ -3147,7 +3169,7 @@ var zn = (
|
|
|
3147
3169
|
return this.error(p.INVALID_TAG, m(n, this.clonePosition()));
|
|
3148
3170
|
}, e.prototype.parseTagName = function() {
|
|
3149
3171
|
var t = this.offset();
|
|
3150
|
-
for (this.bump(); !this.isEOF() &&
|
|
3172
|
+
for (this.bump(); !this.isEOF() && Yn(this.char()); )
|
|
3151
3173
|
this.bump();
|
|
3152
3174
|
return this.message.slice(t, this.offset());
|
|
3153
3175
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3171,12 +3193,12 @@ var zn = (
|
|
|
3171
3193
|
}
|
|
3172
3194
|
var l = m(n, this.clonePosition());
|
|
3173
3195
|
return {
|
|
3174
|
-
val: { type:
|
|
3196
|
+
val: { type: E.literal, value: i, location: l },
|
|
3175
3197
|
err: null
|
|
3176
3198
|
};
|
|
3177
3199
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3178
3200
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3179
|
-
!
|
|
3201
|
+
!Jn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3180
3202
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3181
3203
|
if (this.isEOF() || this.char() !== 39)
|
|
3182
3204
|
return null;
|
|
@@ -3210,12 +3232,12 @@ var zn = (
|
|
|
3210
3232
|
r.push(n);
|
|
3211
3233
|
this.bump();
|
|
3212
3234
|
}
|
|
3213
|
-
return
|
|
3235
|
+
return Fe.apply(void 0, r);
|
|
3214
3236
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3215
3237
|
if (this.isEOF())
|
|
3216
3238
|
return null;
|
|
3217
3239
|
var n = this.char();
|
|
3218
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3240
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Fe(n));
|
|
3219
3241
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3220
3242
|
var n = this.clonePosition();
|
|
3221
3243
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3231,7 +3253,7 @@ var zn = (
|
|
|
3231
3253
|
case 125:
|
|
3232
3254
|
return this.bump(), {
|
|
3233
3255
|
val: {
|
|
3234
|
-
type:
|
|
3256
|
+
type: E.argument,
|
|
3235
3257
|
// value does not include the opening and closing braces.
|
|
3236
3258
|
value: i,
|
|
3237
3259
|
location: m(n, this.clonePosition())
|
|
@@ -3263,46 +3285,46 @@ var zn = (
|
|
|
3263
3285
|
var u = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
3264
3286
|
if (c.err)
|
|
3265
3287
|
return c;
|
|
3266
|
-
var f =
|
|
3288
|
+
var f = Zn(c.val);
|
|
3267
3289
|
if (f.length === 0)
|
|
3268
3290
|
return this.error(p.EXPECT_ARGUMENT_STYLE, m(this.clonePosition(), this.clonePosition()));
|
|
3269
3291
|
var d = m(u, this.clonePosition());
|
|
3270
3292
|
h = { style: f, styleLocation: d };
|
|
3271
3293
|
}
|
|
3272
|
-
var
|
|
3273
|
-
if (
|
|
3274
|
-
return
|
|
3275
|
-
var
|
|
3276
|
-
if (h &&
|
|
3277
|
-
var T =
|
|
3294
|
+
var v = this.tryParseArgumentClose(i);
|
|
3295
|
+
if (v.err)
|
|
3296
|
+
return v;
|
|
3297
|
+
var y = m(i, this.clonePosition());
|
|
3298
|
+
if (h && gt(h == null ? void 0 : h.style, "::", 0)) {
|
|
3299
|
+
var T = Wn(h.style.slice(2));
|
|
3278
3300
|
if (a === "number") {
|
|
3279
3301
|
var c = this.parseNumberSkeletonFromString(T, h.styleLocation);
|
|
3280
3302
|
return c.err ? c : {
|
|
3281
|
-
val: { type:
|
|
3303
|
+
val: { type: E.number, value: n, location: y, style: c.val },
|
|
3282
3304
|
err: null
|
|
3283
3305
|
};
|
|
3284
3306
|
} else {
|
|
3285
3307
|
if (T.length === 0)
|
|
3286
|
-
return this.error(p.EXPECT_DATE_TIME_SKELETON,
|
|
3287
|
-
var
|
|
3288
|
-
this.locale && (
|
|
3308
|
+
return this.error(p.EXPECT_DATE_TIME_SKELETON, y);
|
|
3309
|
+
var N = T;
|
|
3310
|
+
this.locale && (N = Nn(T, this.locale));
|
|
3289
3311
|
var f = {
|
|
3290
|
-
type:
|
|
3291
|
-
pattern:
|
|
3312
|
+
type: z.dateTime,
|
|
3313
|
+
pattern: N,
|
|
3292
3314
|
location: h.styleLocation,
|
|
3293
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3294
|
-
}, I = a === "date" ?
|
|
3315
|
+
parsedOptions: this.shouldParseSkeletons ? Pn(N) : {}
|
|
3316
|
+
}, I = a === "date" ? E.date : E.time;
|
|
3295
3317
|
return {
|
|
3296
|
-
val: { type: I, value: n, location:
|
|
3318
|
+
val: { type: I, value: n, location: y, style: f },
|
|
3297
3319
|
err: null
|
|
3298
3320
|
};
|
|
3299
3321
|
}
|
|
3300
3322
|
}
|
|
3301
3323
|
return {
|
|
3302
3324
|
val: {
|
|
3303
|
-
type: a === "number" ?
|
|
3325
|
+
type: a === "number" ? E.number : a === "date" ? E.date : E.time,
|
|
3304
3326
|
value: n,
|
|
3305
|
-
location:
|
|
3327
|
+
location: y,
|
|
3306
3328
|
style: (o = h == null ? void 0 : h.style) !== null && o !== void 0 ? o : null
|
|
3307
3329
|
},
|
|
3308
3330
|
err: null
|
|
@@ -3311,9 +3333,9 @@ var zn = (
|
|
|
3311
3333
|
case "plural":
|
|
3312
3334
|
case "selectordinal":
|
|
3313
3335
|
case "select": {
|
|
3314
|
-
var
|
|
3336
|
+
var x = this.clonePosition();
|
|
3315
3337
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3316
|
-
return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, m(
|
|
3338
|
+
return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, m(x, b({}, x)));
|
|
3317
3339
|
this.bumpSpace();
|
|
3318
3340
|
var w = this.parseIdentifierIfPossible(), P = 0;
|
|
3319
3341
|
if (a !== "select" && w.value === "offset") {
|
|
@@ -3328,23 +3350,23 @@ var zn = (
|
|
|
3328
3350
|
var R = this.tryParsePluralOrSelectOptions(t, a, r, w);
|
|
3329
3351
|
if (R.err)
|
|
3330
3352
|
return R;
|
|
3331
|
-
var
|
|
3332
|
-
if (
|
|
3333
|
-
return
|
|
3353
|
+
var v = this.tryParseArgumentClose(i);
|
|
3354
|
+
if (v.err)
|
|
3355
|
+
return v;
|
|
3334
3356
|
var oe = m(i, this.clonePosition());
|
|
3335
3357
|
return a === "select" ? {
|
|
3336
3358
|
val: {
|
|
3337
|
-
type:
|
|
3359
|
+
type: E.select,
|
|
3338
3360
|
value: n,
|
|
3339
|
-
options:
|
|
3361
|
+
options: yt(R.val),
|
|
3340
3362
|
location: oe
|
|
3341
3363
|
},
|
|
3342
3364
|
err: null
|
|
3343
3365
|
} : {
|
|
3344
3366
|
val: {
|
|
3345
|
-
type:
|
|
3367
|
+
type: E.plural,
|
|
3346
3368
|
value: n,
|
|
3347
|
-
options:
|
|
3369
|
+
options: yt(R.val),
|
|
3348
3370
|
offset: P,
|
|
3349
3371
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3350
3372
|
location: oe
|
|
@@ -3395,16 +3417,16 @@ var zn = (
|
|
|
3395
3417
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3396
3418
|
var n = [];
|
|
3397
3419
|
try {
|
|
3398
|
-
n =
|
|
3420
|
+
n = An(t);
|
|
3399
3421
|
} catch (i) {
|
|
3400
3422
|
return this.error(p.INVALID_NUMBER_SKELETON, r);
|
|
3401
3423
|
}
|
|
3402
3424
|
return {
|
|
3403
3425
|
val: {
|
|
3404
|
-
type:
|
|
3426
|
+
type: z.number,
|
|
3405
3427
|
tokens: n,
|
|
3406
3428
|
location: r,
|
|
3407
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3429
|
+
parsedOptions: this.shouldParseSkeletons ? Ln(n) : {}
|
|
3408
3430
|
},
|
|
3409
3431
|
err: null
|
|
3410
3432
|
};
|
|
@@ -3426,16 +3448,16 @@ var zn = (
|
|
|
3426
3448
|
var d = this.clonePosition();
|
|
3427
3449
|
if (!this.bumpIf("{"))
|
|
3428
3450
|
return this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, m(this.clonePosition(), this.clonePosition()));
|
|
3429
|
-
var
|
|
3430
|
-
if (y.err)
|
|
3431
|
-
return y;
|
|
3432
|
-
var v = this.tryParseArgumentClose(d);
|
|
3451
|
+
var v = this.parseMessage(t + 1, r, n);
|
|
3433
3452
|
if (v.err)
|
|
3434
3453
|
return v;
|
|
3454
|
+
var y = this.tryParseArgumentClose(d);
|
|
3455
|
+
if (y.err)
|
|
3456
|
+
return y;
|
|
3435
3457
|
a.push([
|
|
3436
3458
|
h,
|
|
3437
3459
|
{
|
|
3438
|
-
value:
|
|
3460
|
+
value: v.val,
|
|
3439
3461
|
location: m(d, this.clonePosition())
|
|
3440
3462
|
}
|
|
3441
3463
|
]), l.add(h), this.bumpSpace(), o = this.parseIdentifierIfPossible(), h = o.value, u = o.location;
|
|
@@ -3452,7 +3474,7 @@ var zn = (
|
|
|
3452
3474
|
break;
|
|
3453
3475
|
}
|
|
3454
3476
|
var l = m(i, this.clonePosition());
|
|
3455
|
-
return o ? (s *= n,
|
|
3477
|
+
return o ? (s *= n, zn(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3456
3478
|
}, e.prototype.offset = function() {
|
|
3457
3479
|
return this.position.offset;
|
|
3458
3480
|
}, e.prototype.isEOF = function() {
|
|
@@ -3467,7 +3489,7 @@ var zn = (
|
|
|
3467
3489
|
var t = this.position.offset;
|
|
3468
3490
|
if (t >= this.message.length)
|
|
3469
3491
|
throw Error("out of bound");
|
|
3470
|
-
var r =
|
|
3492
|
+
var r = Kt(this.message, t);
|
|
3471
3493
|
if (r === void 0)
|
|
3472
3494
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3473
3495
|
return r;
|
|
@@ -3486,7 +3508,7 @@ var zn = (
|
|
|
3486
3508
|
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);
|
|
3487
3509
|
}
|
|
3488
3510
|
}, e.prototype.bumpIf = function(t) {
|
|
3489
|
-
if (
|
|
3511
|
+
if (gt(this.message, t, this.offset())) {
|
|
3490
3512
|
for (var r = 0; r < t.length; r++)
|
|
3491
3513
|
this.bump();
|
|
3492
3514
|
return !0;
|
|
@@ -3508,7 +3530,7 @@ var zn = (
|
|
|
3508
3530
|
break;
|
|
3509
3531
|
}
|
|
3510
3532
|
}, e.prototype.bumpSpace = function() {
|
|
3511
|
-
for (; !this.isEOF() &&
|
|
3533
|
+
for (; !this.isEOF() && tr(this.char()); )
|
|
3512
3534
|
this.bump();
|
|
3513
3535
|
}, e.prototype.peek = function() {
|
|
3514
3536
|
if (this.isEOF())
|
|
@@ -3518,43 +3540,43 @@ var zn = (
|
|
|
3518
3540
|
}, e;
|
|
3519
3541
|
}()
|
|
3520
3542
|
);
|
|
3521
|
-
function
|
|
3543
|
+
function je(e) {
|
|
3522
3544
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3523
3545
|
}
|
|
3524
|
-
function
|
|
3525
|
-
return
|
|
3546
|
+
function Jn(e) {
|
|
3547
|
+
return je(e) || e === 47;
|
|
3526
3548
|
}
|
|
3527
|
-
function
|
|
3549
|
+
function Yn(e) {
|
|
3528
3550
|
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;
|
|
3529
3551
|
}
|
|
3530
|
-
function
|
|
3552
|
+
function tr(e) {
|
|
3531
3553
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3532
3554
|
}
|
|
3533
|
-
function
|
|
3555
|
+
function qn(e) {
|
|
3534
3556
|
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;
|
|
3535
3557
|
}
|
|
3536
|
-
function
|
|
3558
|
+
function ke(e) {
|
|
3537
3559
|
e.forEach(function(t) {
|
|
3538
|
-
if (delete t.location,
|
|
3560
|
+
if (delete t.location, zt(t) || Xt(t))
|
|
3539
3561
|
for (var r in t.options)
|
|
3540
|
-
delete t.options[r].location,
|
|
3541
|
-
else
|
|
3562
|
+
delete t.options[r].location, ke(t.options[r].value);
|
|
3563
|
+
else jt(t) && Zt(t.style) || (kt(t) || Vt(t)) && De(t.style) ? delete t.style.location : Wt(t) && ke(t.children);
|
|
3542
3564
|
});
|
|
3543
3565
|
}
|
|
3544
|
-
function
|
|
3566
|
+
function Kn(e, t) {
|
|
3545
3567
|
t === void 0 && (t = {}), t = b({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3546
|
-
var r = new
|
|
3568
|
+
var r = new Qn(e, t).parse();
|
|
3547
3569
|
if (r.err) {
|
|
3548
3570
|
var n = SyntaxError(p[r.err.kind]);
|
|
3549
3571
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3550
3572
|
}
|
|
3551
|
-
return t != null && t.captureLocation ||
|
|
3573
|
+
return t != null && t.captureLocation || ke(r.val), r.val;
|
|
3552
3574
|
}
|
|
3553
|
-
var
|
|
3575
|
+
var X;
|
|
3554
3576
|
(function(e) {
|
|
3555
3577
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3556
|
-
})(
|
|
3557
|
-
var
|
|
3578
|
+
})(X || (X = {}));
|
|
3579
|
+
var ve = (
|
|
3558
3580
|
/** @class */
|
|
3559
3581
|
function(e) {
|
|
3560
3582
|
O(t, e);
|
|
@@ -3566,48 +3588,48 @@ var ye = (
|
|
|
3566
3588
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3567
3589
|
}, t;
|
|
3568
3590
|
}(Error)
|
|
3569
|
-
),
|
|
3591
|
+
), Et = (
|
|
3570
3592
|
/** @class */
|
|
3571
3593
|
function(e) {
|
|
3572
3594
|
O(t, e);
|
|
3573
3595
|
function t(r, n, i, o) {
|
|
3574
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3596
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), X.INVALID_VALUE, o) || this;
|
|
3575
3597
|
}
|
|
3576
3598
|
return t;
|
|
3577
|
-
}(
|
|
3578
|
-
),
|
|
3599
|
+
}(ve)
|
|
3600
|
+
), ei = (
|
|
3579
3601
|
/** @class */
|
|
3580
3602
|
function(e) {
|
|
3581
3603
|
O(t, e);
|
|
3582
3604
|
function t(r, n, i) {
|
|
3583
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3605
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), X.INVALID_VALUE, i) || this;
|
|
3584
3606
|
}
|
|
3585
3607
|
return t;
|
|
3586
|
-
}(
|
|
3587
|
-
),
|
|
3608
|
+
}(ve)
|
|
3609
|
+
), ti = (
|
|
3588
3610
|
/** @class */
|
|
3589
3611
|
function(e) {
|
|
3590
3612
|
O(t, e);
|
|
3591
3613
|
function t(r, n) {
|
|
3592
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3614
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), X.MISSING_VALUE, n) || this;
|
|
3593
3615
|
}
|
|
3594
3616
|
return t;
|
|
3595
|
-
}(
|
|
3617
|
+
}(ve)
|
|
3596
3618
|
), _;
|
|
3597
3619
|
(function(e) {
|
|
3598
3620
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3599
3621
|
})(_ || (_ = {}));
|
|
3600
|
-
function
|
|
3622
|
+
function ri(e) {
|
|
3601
3623
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3602
3624
|
var n = t[t.length - 1];
|
|
3603
3625
|
return !n || n.type !== _.literal || r.type !== _.literal ? t.push(r) : n.value += r.value, t;
|
|
3604
3626
|
}, []);
|
|
3605
3627
|
}
|
|
3606
|
-
function
|
|
3628
|
+
function ni(e) {
|
|
3607
3629
|
return typeof e == "function";
|
|
3608
3630
|
}
|
|
3609
3631
|
function fe(e, t, r, n, i, o, s) {
|
|
3610
|
-
if (e.length === 1 &&
|
|
3632
|
+
if (e.length === 1 && pt(e[0]))
|
|
3611
3633
|
return [
|
|
3612
3634
|
{
|
|
3613
3635
|
type: _.literal,
|
|
@@ -3616,14 +3638,14 @@ function fe(e, t, r, n, i, o, s) {
|
|
|
3616
3638
|
];
|
|
3617
3639
|
for (var a = [], l = 0, h = e; l < h.length; l++) {
|
|
3618
3640
|
var u = h[l];
|
|
3619
|
-
if (
|
|
3641
|
+
if (pt(u)) {
|
|
3620
3642
|
a.push({
|
|
3621
3643
|
type: _.literal,
|
|
3622
3644
|
value: u.value
|
|
3623
3645
|
});
|
|
3624
3646
|
continue;
|
|
3625
3647
|
}
|
|
3626
|
-
if (
|
|
3648
|
+
if (Hn(u)) {
|
|
3627
3649
|
typeof o == "number" && a.push({
|
|
3628
3650
|
type: _.literal,
|
|
3629
3651
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3632,44 +3654,44 @@ function fe(e, t, r, n, i, o, s) {
|
|
|
3632
3654
|
}
|
|
3633
3655
|
var c = u.value;
|
|
3634
3656
|
if (!(i && c in i))
|
|
3635
|
-
throw new
|
|
3657
|
+
throw new ti(c, s);
|
|
3636
3658
|
var f = i[c];
|
|
3637
|
-
if (
|
|
3659
|
+
if (Tn(u)) {
|
|
3638
3660
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
|
|
3639
3661
|
type: typeof f == "string" ? _.literal : _.object,
|
|
3640
3662
|
value: f
|
|
3641
3663
|
});
|
|
3642
3664
|
continue;
|
|
3643
3665
|
}
|
|
3644
|
-
if (
|
|
3645
|
-
var d = typeof u.style == "string" ? n.date[u.style] :
|
|
3666
|
+
if (kt(u)) {
|
|
3667
|
+
var d = typeof u.style == "string" ? n.date[u.style] : De(u.style) ? u.style.parsedOptions : void 0;
|
|
3646
3668
|
a.push({
|
|
3647
3669
|
type: _.literal,
|
|
3648
3670
|
value: r.getDateTimeFormat(t, d).format(f)
|
|
3649
3671
|
});
|
|
3650
3672
|
continue;
|
|
3651
3673
|
}
|
|
3652
|
-
if (
|
|
3653
|
-
var d = typeof u.style == "string" ? n.time[u.style] :
|
|
3674
|
+
if (Vt(u)) {
|
|
3675
|
+
var d = typeof u.style == "string" ? n.time[u.style] : De(u.style) ? u.style.parsedOptions : n.time.medium;
|
|
3654
3676
|
a.push({
|
|
3655
3677
|
type: _.literal,
|
|
3656
3678
|
value: r.getDateTimeFormat(t, d).format(f)
|
|
3657
3679
|
});
|
|
3658
3680
|
continue;
|
|
3659
3681
|
}
|
|
3660
|
-
if (
|
|
3661
|
-
var d = typeof u.style == "string" ? n.number[u.style] :
|
|
3682
|
+
if (jt(u)) {
|
|
3683
|
+
var d = typeof u.style == "string" ? n.number[u.style] : Zt(u.style) ? u.style.parsedOptions : void 0;
|
|
3662
3684
|
d && d.scale && (f = f * (d.scale || 1)), a.push({
|
|
3663
3685
|
type: _.literal,
|
|
3664
3686
|
value: r.getNumberFormat(t, d).format(f)
|
|
3665
3687
|
});
|
|
3666
3688
|
continue;
|
|
3667
3689
|
}
|
|
3668
|
-
if (
|
|
3669
|
-
var
|
|
3670
|
-
if (!
|
|
3671
|
-
throw new
|
|
3672
|
-
var
|
|
3690
|
+
if (Wt(u)) {
|
|
3691
|
+
var v = u.children, y = u.value, T = i[y];
|
|
3692
|
+
if (!ni(T))
|
|
3693
|
+
throw new ei(y, "function", s);
|
|
3694
|
+
var N = fe(v, t, r, n, i, o), I = T(N.map(function(P) {
|
|
3673
3695
|
return P.value;
|
|
3674
3696
|
}));
|
|
3675
3697
|
Array.isArray(I) || (I = [I]), a.push.apply(a, I.map(function(P) {
|
|
@@ -3679,42 +3701,42 @@ function fe(e, t, r, n, i, o, s) {
|
|
|
3679
3701
|
};
|
|
3680
3702
|
}));
|
|
3681
3703
|
}
|
|
3682
|
-
if (
|
|
3683
|
-
var
|
|
3684
|
-
if (!
|
|
3685
|
-
throw new
|
|
3686
|
-
a.push.apply(a, fe(
|
|
3704
|
+
if (zt(u)) {
|
|
3705
|
+
var x = u.options[f] || u.options.other;
|
|
3706
|
+
if (!x)
|
|
3707
|
+
throw new Et(u.value, f, Object.keys(u.options), s);
|
|
3708
|
+
a.push.apply(a, fe(x.value, t, r, n, i));
|
|
3687
3709
|
continue;
|
|
3688
3710
|
}
|
|
3689
|
-
if (
|
|
3690
|
-
var
|
|
3691
|
-
if (!
|
|
3711
|
+
if (Xt(u)) {
|
|
3712
|
+
var x = u.options["=".concat(f)];
|
|
3713
|
+
if (!x) {
|
|
3692
3714
|
if (!Intl.PluralRules)
|
|
3693
|
-
throw new
|
|
3715
|
+
throw new ve(`Intl.PluralRules is not available in this environment.
|
|
3694
3716
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3695
|
-
`,
|
|
3717
|
+
`, X.MISSING_INTL_API, s);
|
|
3696
3718
|
var w = r.getPluralRules(t, { type: u.pluralType }).select(f - (u.offset || 0));
|
|
3697
|
-
|
|
3719
|
+
x = u.options[w] || u.options.other;
|
|
3698
3720
|
}
|
|
3699
|
-
if (!
|
|
3700
|
-
throw new
|
|
3701
|
-
a.push.apply(a, fe(
|
|
3721
|
+
if (!x)
|
|
3722
|
+
throw new Et(u.value, f, Object.keys(u.options), s);
|
|
3723
|
+
a.push.apply(a, fe(x.value, t, r, n, i, f - (u.offset || 0)));
|
|
3702
3724
|
continue;
|
|
3703
3725
|
}
|
|
3704
3726
|
}
|
|
3705
|
-
return
|
|
3727
|
+
return ri(a);
|
|
3706
3728
|
}
|
|
3707
|
-
function
|
|
3729
|
+
function ii(e, t) {
|
|
3708
3730
|
return t ? b(b(b({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3709
3731
|
return r[n] = b(b({}, e[n]), t[n] || {}), r;
|
|
3710
3732
|
}, {})) : e;
|
|
3711
3733
|
}
|
|
3712
|
-
function
|
|
3734
|
+
function oi(e, t) {
|
|
3713
3735
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3714
|
-
return r[n] =
|
|
3736
|
+
return r[n] = ii(e[n], t[n]), r;
|
|
3715
3737
|
}, b({}, e)) : e;
|
|
3716
3738
|
}
|
|
3717
|
-
function
|
|
3739
|
+
function Ae(e) {
|
|
3718
3740
|
return {
|
|
3719
3741
|
create: function() {
|
|
3720
3742
|
return {
|
|
@@ -3728,39 +3750,39 @@ function Be(e) {
|
|
|
3728
3750
|
}
|
|
3729
3751
|
};
|
|
3730
3752
|
}
|
|
3731
|
-
function
|
|
3753
|
+
function si(e) {
|
|
3732
3754
|
return e === void 0 && (e = {
|
|
3733
3755
|
number: {},
|
|
3734
3756
|
dateTime: {},
|
|
3735
3757
|
pluralRules: {}
|
|
3736
3758
|
}), {
|
|
3737
|
-
getNumberFormat:
|
|
3759
|
+
getNumberFormat: we(function() {
|
|
3738
3760
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3739
3761
|
r[n] = arguments[n];
|
|
3740
3762
|
return new ((t = Intl.NumberFormat).bind.apply(t, k([void 0], r, !1)))();
|
|
3741
3763
|
}, {
|
|
3742
|
-
cache:
|
|
3743
|
-
strategy:
|
|
3764
|
+
cache: Ae(e.number),
|
|
3765
|
+
strategy: Pe.variadic
|
|
3744
3766
|
}),
|
|
3745
|
-
getDateTimeFormat:
|
|
3767
|
+
getDateTimeFormat: we(function() {
|
|
3746
3768
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3747
3769
|
r[n] = arguments[n];
|
|
3748
3770
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, k([void 0], r, !1)))();
|
|
3749
3771
|
}, {
|
|
3750
|
-
cache:
|
|
3751
|
-
strategy:
|
|
3772
|
+
cache: Ae(e.dateTime),
|
|
3773
|
+
strategy: Pe.variadic
|
|
3752
3774
|
}),
|
|
3753
|
-
getPluralRules:
|
|
3775
|
+
getPluralRules: we(function() {
|
|
3754
3776
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3755
3777
|
r[n] = arguments[n];
|
|
3756
3778
|
return new ((t = Intl.PluralRules).bind.apply(t, k([void 0], r, !1)))();
|
|
3757
3779
|
}, {
|
|
3758
|
-
cache:
|
|
3759
|
-
strategy:
|
|
3780
|
+
cache: Ae(e.pluralRules),
|
|
3781
|
+
strategy: Pe.variadic
|
|
3760
3782
|
})
|
|
3761
3783
|
};
|
|
3762
3784
|
}
|
|
3763
|
-
var
|
|
3785
|
+
var ai = (
|
|
3764
3786
|
/** @class */
|
|
3765
3787
|
function() {
|
|
3766
3788
|
function e(t, r, n, i) {
|
|
@@ -3792,13 +3814,13 @@ var ii = (
|
|
|
3792
3814
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3793
3815
|
var s = i || {};
|
|
3794
3816
|
s.formatters;
|
|
3795
|
-
var a =
|
|
3817
|
+
var a = Ur(s, ["formatters"]);
|
|
3796
3818
|
this.ast = e.__parse(t, b(b({}, a), { locale: this.resolvedLocale }));
|
|
3797
3819
|
} else
|
|
3798
3820
|
this.ast = t;
|
|
3799
3821
|
if (!Array.isArray(this.ast))
|
|
3800
3822
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3801
|
-
this.formats =
|
|
3823
|
+
this.formats = oi(e.formats, n), this.formatters = i && i.formatters || si(this.formatterCache);
|
|
3802
3824
|
}
|
|
3803
3825
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3804
3826
|
get: function() {
|
|
@@ -3811,7 +3833,7 @@ var ii = (
|
|
|
3811
3833
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3812
3834
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3813
3835
|
}
|
|
3814
|
-
}, e.__parse =
|
|
3836
|
+
}, e.__parse = Kn, e.formats = {
|
|
3815
3837
|
number: {
|
|
3816
3838
|
integer: {
|
|
3817
3839
|
maximumFractionDigits: 0
|
|
@@ -3872,7 +3894,7 @@ var ii = (
|
|
|
3872
3894
|
}, e;
|
|
3873
3895
|
}()
|
|
3874
3896
|
);
|
|
3875
|
-
function
|
|
3897
|
+
function ui(e, t) {
|
|
3876
3898
|
if (t == null)
|
|
3877
3899
|
return;
|
|
3878
3900
|
if (t in e)
|
|
@@ -3893,92 +3915,92 @@ function oi(e, t) {
|
|
|
3893
3915
|
n = void 0;
|
|
3894
3916
|
return n;
|
|
3895
3917
|
}
|
|
3896
|
-
const
|
|
3918
|
+
const L = {}, hi = (e, t, r) => r && (t in L || (L[t] = {}), e in L[t] || (L[t][e] = r), r), rr = (e, t) => {
|
|
3897
3919
|
if (t == null)
|
|
3898
3920
|
return;
|
|
3899
|
-
if (t in
|
|
3900
|
-
return
|
|
3901
|
-
const r =
|
|
3921
|
+
if (t in L && e in L[t])
|
|
3922
|
+
return L[t][e];
|
|
3923
|
+
const r = Ee(t);
|
|
3902
3924
|
for (let n = 0; n < r.length; n++) {
|
|
3903
|
-
const i = r[n], o =
|
|
3925
|
+
const i = r[n], o = ci(i, e);
|
|
3904
3926
|
if (o)
|
|
3905
|
-
return
|
|
3927
|
+
return hi(e, t, o);
|
|
3906
3928
|
}
|
|
3907
3929
|
};
|
|
3908
|
-
let
|
|
3909
|
-
const ie =
|
|
3910
|
-
function
|
|
3911
|
-
return
|
|
3930
|
+
let Je;
|
|
3931
|
+
const ie = ye({});
|
|
3932
|
+
function li(e) {
|
|
3933
|
+
return Je[e] || null;
|
|
3912
3934
|
}
|
|
3913
|
-
function
|
|
3914
|
-
return e in
|
|
3935
|
+
function nr(e) {
|
|
3936
|
+
return e in Je;
|
|
3915
3937
|
}
|
|
3916
|
-
function
|
|
3917
|
-
if (!
|
|
3938
|
+
function ci(e, t) {
|
|
3939
|
+
if (!nr(e))
|
|
3918
3940
|
return null;
|
|
3919
|
-
const r =
|
|
3920
|
-
return
|
|
3941
|
+
const r = li(e);
|
|
3942
|
+
return ui(r, t);
|
|
3921
3943
|
}
|
|
3922
|
-
function
|
|
3944
|
+
function fi(e) {
|
|
3923
3945
|
if (e == null)
|
|
3924
3946
|
return;
|
|
3925
|
-
const t =
|
|
3947
|
+
const t = Ee(e);
|
|
3926
3948
|
for (let r = 0; r < t.length; r++) {
|
|
3927
3949
|
const n = t[r];
|
|
3928
|
-
if (
|
|
3950
|
+
if (nr(n))
|
|
3929
3951
|
return n;
|
|
3930
3952
|
}
|
|
3931
3953
|
}
|
|
3932
|
-
function
|
|
3933
|
-
delete
|
|
3954
|
+
function ir(e, ...t) {
|
|
3955
|
+
delete L[e], ie.update((r) => (r[e] = gn.all([r[e] || {}, ...t]), r));
|
|
3934
3956
|
}
|
|
3935
3957
|
Z(
|
|
3936
3958
|
[ie],
|
|
3937
3959
|
([e]) => Object.keys(e)
|
|
3938
3960
|
);
|
|
3939
|
-
ie.subscribe((e) =>
|
|
3961
|
+
ie.subscribe((e) => Je = e);
|
|
3940
3962
|
const pe = {};
|
|
3941
|
-
function
|
|
3963
|
+
function pi(e, t) {
|
|
3942
3964
|
pe[e].delete(t), pe[e].size === 0 && delete pe[e];
|
|
3943
3965
|
}
|
|
3944
|
-
function
|
|
3966
|
+
function or(e) {
|
|
3945
3967
|
return pe[e];
|
|
3946
3968
|
}
|
|
3947
|
-
function
|
|
3948
|
-
return
|
|
3949
|
-
const r =
|
|
3969
|
+
function mi(e) {
|
|
3970
|
+
return Ee(e).map((t) => {
|
|
3971
|
+
const r = or(t);
|
|
3950
3972
|
return [t, r ? [...r] : []];
|
|
3951
3973
|
}).filter(([, t]) => t.length > 0);
|
|
3952
3974
|
}
|
|
3953
|
-
function
|
|
3954
|
-
return e == null ? !1 :
|
|
3975
|
+
function Ve(e) {
|
|
3976
|
+
return e == null ? !1 : Ee(e).some(
|
|
3955
3977
|
(t) => {
|
|
3956
3978
|
var r;
|
|
3957
|
-
return (r =
|
|
3979
|
+
return (r = or(t)) == null ? void 0 : r.size;
|
|
3958
3980
|
}
|
|
3959
3981
|
);
|
|
3960
3982
|
}
|
|
3961
|
-
function
|
|
3983
|
+
function di(e, t) {
|
|
3962
3984
|
return Promise.all(
|
|
3963
|
-
t.map((n) => (
|
|
3964
|
-
).then((n) =>
|
|
3985
|
+
t.map((n) => (pi(e, n), n().then((i) => i.default || i)))
|
|
3986
|
+
).then((n) => ir(e, ...n));
|
|
3965
3987
|
}
|
|
3966
3988
|
const Y = {};
|
|
3967
|
-
function
|
|
3968
|
-
if (!
|
|
3989
|
+
function sr(e) {
|
|
3990
|
+
if (!Ve(e))
|
|
3969
3991
|
return e in Y ? Y[e] : Promise.resolve();
|
|
3970
|
-
const t =
|
|
3992
|
+
const t = mi(e);
|
|
3971
3993
|
return Y[e] = Promise.all(
|
|
3972
3994
|
t.map(
|
|
3973
|
-
([r, n]) =>
|
|
3995
|
+
([r, n]) => di(r, n)
|
|
3974
3996
|
)
|
|
3975
3997
|
).then(() => {
|
|
3976
|
-
if (
|
|
3977
|
-
return
|
|
3998
|
+
if (Ve(e))
|
|
3999
|
+
return sr(e);
|
|
3978
4000
|
delete Y[e];
|
|
3979
4001
|
}), Y[e];
|
|
3980
4002
|
}
|
|
3981
|
-
const
|
|
4003
|
+
const bi = {
|
|
3982
4004
|
number: {
|
|
3983
4005
|
scientific: { notation: "scientific" },
|
|
3984
4006
|
engineering: { notation: "engineering" },
|
|
@@ -4007,78 +4029,78 @@ const pi = {
|
|
|
4007
4029
|
timeZoneName: "short"
|
|
4008
4030
|
}
|
|
4009
4031
|
}
|
|
4010
|
-
},
|
|
4032
|
+
}, gi = {
|
|
4011
4033
|
fallbackLocale: null,
|
|
4012
4034
|
loadingDelay: 200,
|
|
4013
|
-
formats:
|
|
4035
|
+
formats: bi,
|
|
4014
4036
|
warnOnMissingMessages: !0,
|
|
4015
4037
|
handleMissingMessage: void 0,
|
|
4016
4038
|
ignoreTag: !0
|
|
4017
|
-
},
|
|
4039
|
+
}, yi = gi;
|
|
4018
4040
|
function W() {
|
|
4019
|
-
return
|
|
4041
|
+
return yi;
|
|
4020
4042
|
}
|
|
4021
|
-
const
|
|
4022
|
-
var
|
|
4043
|
+
const Oe = ye(!1);
|
|
4044
|
+
var vi = Object.defineProperty, Ei = Object.defineProperties, xi = Object.getOwnPropertyDescriptors, xt = Object.getOwnPropertySymbols, _i = Object.prototype.hasOwnProperty, Si = Object.prototype.propertyIsEnumerable, _t = (e, t, r) => t in e ? vi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ti = (e, t) => {
|
|
4023
4045
|
for (var r in t || (t = {}))
|
|
4024
|
-
|
|
4025
|
-
if (
|
|
4026
|
-
for (var r of
|
|
4027
|
-
|
|
4046
|
+
_i.call(t, r) && _t(e, r, t[r]);
|
|
4047
|
+
if (xt)
|
|
4048
|
+
for (var r of xt(t))
|
|
4049
|
+
Si.call(t, r) && _t(e, r, t[r]);
|
|
4028
4050
|
return e;
|
|
4029
|
-
},
|
|
4030
|
-
let
|
|
4031
|
-
const de =
|
|
4032
|
-
function
|
|
4051
|
+
}, Hi = (e, t) => Ei(e, xi(t));
|
|
4052
|
+
let ze;
|
|
4053
|
+
const de = ye(null);
|
|
4054
|
+
function St(e) {
|
|
4033
4055
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4034
4056
|
}
|
|
4035
|
-
function
|
|
4036
|
-
const r =
|
|
4037
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4057
|
+
function Ee(e, t = W().fallbackLocale) {
|
|
4058
|
+
const r = St(e);
|
|
4059
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...St(t)])] : r;
|
|
4038
4060
|
}
|
|
4039
4061
|
function $() {
|
|
4040
|
-
return
|
|
4062
|
+
return ze != null ? ze : void 0;
|
|
4041
4063
|
}
|
|
4042
4064
|
de.subscribe((e) => {
|
|
4043
|
-
|
|
4065
|
+
ze = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4044
4066
|
});
|
|
4045
|
-
const
|
|
4046
|
-
if (e &&
|
|
4067
|
+
const wi = (e) => {
|
|
4068
|
+
if (e && fi(e) && Ve(e)) {
|
|
4047
4069
|
const { loadingDelay: t } = W();
|
|
4048
4070
|
let r;
|
|
4049
4071
|
return typeof window != "undefined" && $() != null && t ? r = window.setTimeout(
|
|
4050
|
-
() =>
|
|
4072
|
+
() => Oe.set(!0),
|
|
4051
4073
|
t
|
|
4052
|
-
) :
|
|
4074
|
+
) : Oe.set(!0), sr(e).then(() => {
|
|
4053
4075
|
de.set(e);
|
|
4054
4076
|
}).finally(() => {
|
|
4055
|
-
clearTimeout(r),
|
|
4077
|
+
clearTimeout(r), Oe.set(!1);
|
|
4056
4078
|
});
|
|
4057
4079
|
}
|
|
4058
4080
|
return de.set(e);
|
|
4059
|
-
}, Q =
|
|
4060
|
-
set:
|
|
4061
|
-
}),
|
|
4081
|
+
}, Q = Hi(Ti({}, de), {
|
|
4082
|
+
set: wi
|
|
4083
|
+
}), xe = (e) => {
|
|
4062
4084
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4063
4085
|
return (n) => {
|
|
4064
4086
|
const i = JSON.stringify(n);
|
|
4065
4087
|
return i in t ? t[i] : t[i] = e(n);
|
|
4066
4088
|
};
|
|
4067
4089
|
};
|
|
4068
|
-
var
|
|
4090
|
+
var Pi = Object.defineProperty, be = Object.getOwnPropertySymbols, ar = Object.prototype.hasOwnProperty, ur = Object.prototype.propertyIsEnumerable, Tt = (e, t, r) => t in e ? Pi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ye = (e, t) => {
|
|
4069
4091
|
for (var r in t || (t = {}))
|
|
4070
|
-
|
|
4092
|
+
ar.call(t, r) && Tt(e, r, t[r]);
|
|
4071
4093
|
if (be)
|
|
4072
4094
|
for (var r of be(t))
|
|
4073
|
-
|
|
4095
|
+
ur.call(t, r) && Tt(e, r, t[r]);
|
|
4074
4096
|
return e;
|
|
4075
4097
|
}, J = (e, t) => {
|
|
4076
4098
|
var r = {};
|
|
4077
4099
|
for (var n in e)
|
|
4078
|
-
|
|
4100
|
+
ar.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4079
4101
|
if (e != null && be)
|
|
4080
4102
|
for (var n of be(e))
|
|
4081
|
-
t.indexOf(n) < 0 &&
|
|
4103
|
+
t.indexOf(n) < 0 && ur.call(e, n) && (r[n] = e[n]);
|
|
4082
4104
|
return r;
|
|
4083
4105
|
};
|
|
4084
4106
|
const re = (e, t) => {
|
|
@@ -4086,21 +4108,21 @@ const re = (e, t) => {
|
|
|
4086
4108
|
if (e in r && t in r[e])
|
|
4087
4109
|
return r[e][t];
|
|
4088
4110
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4089
|
-
},
|
|
4111
|
+
}, Bi = xe(
|
|
4090
4112
|
(e) => {
|
|
4091
4113
|
var t = e, { locale: r, format: n } = t, i = J(t, ["locale", "format"]);
|
|
4092
4114
|
if (r == null)
|
|
4093
4115
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4094
4116
|
return n && (i = re("number", n)), new Intl.NumberFormat(r, i);
|
|
4095
4117
|
}
|
|
4096
|
-
),
|
|
4118
|
+
), Ai = xe(
|
|
4097
4119
|
(e) => {
|
|
4098
4120
|
var t = e, { locale: r, format: n } = t, i = J(t, ["locale", "format"]);
|
|
4099
4121
|
if (r == null)
|
|
4100
4122
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4101
4123
|
return n ? i = re("date", n) : Object.keys(i).length === 0 && (i = re("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4102
4124
|
}
|
|
4103
|
-
),
|
|
4125
|
+
), Oi = xe(
|
|
4104
4126
|
(e) => {
|
|
4105
4127
|
var t = e, { locale: r, format: n } = t, i = J(t, ["locale", "format"]);
|
|
4106
4128
|
if (r == null)
|
|
@@ -4109,33 +4131,33 @@ const re = (e, t) => {
|
|
|
4109
4131
|
);
|
|
4110
4132
|
return n ? i = re("time", n) : Object.keys(i).length === 0 && (i = re("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4111
4133
|
}
|
|
4112
|
-
),
|
|
4134
|
+
), Ii = (e = {}) => {
|
|
4113
4135
|
var t = e, {
|
|
4114
4136
|
locale: r = $()
|
|
4115
4137
|
} = t, n = J(t, [
|
|
4116
4138
|
"locale"
|
|
4117
4139
|
]);
|
|
4118
|
-
return
|
|
4119
|
-
},
|
|
4140
|
+
return Bi(Ye({ locale: r }, n));
|
|
4141
|
+
}, Ci = (e = {}) => {
|
|
4120
4142
|
var t = e, {
|
|
4121
4143
|
locale: r = $()
|
|
4122
4144
|
} = t, n = J(t, [
|
|
4123
4145
|
"locale"
|
|
4124
4146
|
]);
|
|
4125
|
-
return
|
|
4126
|
-
},
|
|
4147
|
+
return Ai(Ye({ locale: r }, n));
|
|
4148
|
+
}, Li = (e = {}) => {
|
|
4127
4149
|
var t = e, {
|
|
4128
4150
|
locale: r = $()
|
|
4129
4151
|
} = t, n = J(t, [
|
|
4130
4152
|
"locale"
|
|
4131
4153
|
]);
|
|
4132
|
-
return
|
|
4133
|
-
},
|
|
4154
|
+
return Oi(Ye({ locale: r }, n));
|
|
4155
|
+
}, Ni = xe(
|
|
4134
4156
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4135
|
-
(e, t = $()) => new
|
|
4157
|
+
(e, t = $()) => new ai(e, t, W().formats, {
|
|
4136
4158
|
ignoreTag: W().ignoreTag
|
|
4137
4159
|
})
|
|
4138
|
-
),
|
|
4160
|
+
), Mi = (e, t = {}) => {
|
|
4139
4161
|
var r, n, i, o;
|
|
4140
4162
|
let s = t;
|
|
4141
4163
|
typeof e == "object" && (s = e, e = s.id);
|
|
@@ -4148,7 +4170,7 @@ const re = (e, t) => {
|
|
|
4148
4170
|
throw new Error(
|
|
4149
4171
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4150
4172
|
);
|
|
4151
|
-
let u =
|
|
4173
|
+
let u = rr(e, l);
|
|
4152
4174
|
if (!u)
|
|
4153
4175
|
u = (o = (i = (n = (r = W()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: h })) != null ? i : h) != null ? o : e;
|
|
4154
4176
|
else if (typeof u != "string")
|
|
@@ -4159,7 +4181,7 @@ const re = (e, t) => {
|
|
|
4159
4181
|
return u;
|
|
4160
4182
|
let c = u;
|
|
4161
4183
|
try {
|
|
4162
|
-
c =
|
|
4184
|
+
c = Ni(u, l).format(a);
|
|
4163
4185
|
} catch (f) {
|
|
4164
4186
|
f instanceof Error && console.warn(
|
|
4165
4187
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4167,20 +4189,20 @@ const re = (e, t) => {
|
|
|
4167
4189
|
);
|
|
4168
4190
|
}
|
|
4169
4191
|
return c;
|
|
4170
|
-
},
|
|
4171
|
-
Z([Q], () =>
|
|
4172
|
-
Z([Q], () =>
|
|
4173
|
-
Z([Q], () =>
|
|
4174
|
-
Z([Q, ie], () =>
|
|
4175
|
-
window.emWidgets = { topic:
|
|
4192
|
+
}, $i = (e, t) => Li(t).format(e), Ri = (e, t) => Ci(t).format(e), Di = (e, t) => Ii(t).format(e), Ui = (e, t = $()) => rr(e, t), Fi = Z([Q, ie], () => Mi);
|
|
4193
|
+
Z([Q], () => $i);
|
|
4194
|
+
Z([Q], () => Ri);
|
|
4195
|
+
Z([Q], () => Di);
|
|
4196
|
+
Z([Q, ie], () => Ui);
|
|
4197
|
+
window.emWidgets = { topic: Kr };
|
|
4176
4198
|
const ue = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4177
|
-
function
|
|
4178
|
-
|
|
4199
|
+
function Ht(e, t) {
|
|
4200
|
+
ir(e, t);
|
|
4179
4201
|
}
|
|
4180
|
-
function
|
|
4202
|
+
function Gi(e) {
|
|
4181
4203
|
Q.set(e);
|
|
4182
4204
|
}
|
|
4183
|
-
const
|
|
4205
|
+
const wt = {
|
|
4184
4206
|
en: {
|
|
4185
4207
|
panicButtonString: "Hold button for 3 seconds to take 24-hour timeout"
|
|
4186
4208
|
},
|
|
@@ -4221,10 +4243,10 @@ const St = {
|
|
|
4221
4243
|
panicButtonString: "Hold button for 3 seconds to take 24-hour timeout"
|
|
4222
4244
|
}
|
|
4223
4245
|
};
|
|
4224
|
-
function
|
|
4225
|
-
|
|
4246
|
+
function ji(e) {
|
|
4247
|
+
gr(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}}");
|
|
4226
4248
|
}
|
|
4227
|
-
function
|
|
4249
|
+
function ki(e) {
|
|
4228
4250
|
let t, r, n, i = (
|
|
4229
4251
|
/*customtext*/
|
|
4230
4252
|
(e[0] || /*$_*/
|
|
@@ -4232,13 +4254,13 @@ function Gi(e) {
|
|
|
4232
4254
|
), o, s;
|
|
4233
4255
|
return {
|
|
4234
4256
|
c() {
|
|
4235
|
-
t = q("div"), r = q("div"), n = q("button"), o =
|
|
4257
|
+
t = q("div"), r = q("div"), n = q("button"), o = Er(i), M(n, "class", "PanicButton " + (ue(
|
|
4236
4258
|
/*userAgent*/
|
|
4237
4259
|
e[6]
|
|
4238
4260
|
) !== "PC" ? "PanicButtonMobile" : "")), M(n, "part", "PanicButton " + (ue(
|
|
4239
4261
|
/*userAgent*/
|
|
4240
4262
|
e[6]
|
|
4241
|
-
) !== "PC" ? "PanicButtonMobile" : "")),
|
|
4263
|
+
) !== "PC" ? "PanicButtonMobile" : "")), nt(
|
|
4242
4264
|
n,
|
|
4243
4265
|
"PanicButtonAnimation",
|
|
4244
4266
|
/*panicLoading*/
|
|
@@ -4253,14 +4275,14 @@ function Gi(e) {
|
|
|
4253
4275
|
e[1] == "true" ? "PanicButtonV2" : "");
|
|
4254
4276
|
},
|
|
4255
4277
|
m(a, l) {
|
|
4256
|
-
|
|
4278
|
+
Ot(a, t, l), he(t, r), he(r, n), he(n, o), e[11](n), e[12](t);
|
|
4257
4279
|
},
|
|
4258
4280
|
p(a, [l]) {
|
|
4259
4281
|
l & /*customtext, $_*/
|
|
4260
4282
|
33 && i !== (i = /*customtext*/
|
|
4261
4283
|
(a[0] || /*$_*/
|
|
4262
|
-
a[5]("panicButtonString")) + "") &&
|
|
4263
|
-
16 &&
|
|
4284
|
+
a[5]("panicButtonString")) + "") && _r(o, i), l & /*panicLoading*/
|
|
4285
|
+
16 && nt(
|
|
4264
4286
|
n,
|
|
4265
4287
|
"PanicButtonAnimation",
|
|
4266
4288
|
/*panicLoading*/
|
|
@@ -4272,39 +4294,39 @@ function Gi(e) {
|
|
|
4272
4294
|
i: H,
|
|
4273
4295
|
o: H,
|
|
4274
4296
|
d(a) {
|
|
4275
|
-
a &&
|
|
4297
|
+
a && We(t), e[11](null), e[12](null);
|
|
4276
4298
|
}
|
|
4277
4299
|
};
|
|
4278
4300
|
}
|
|
4279
|
-
function
|
|
4301
|
+
function Vi(e, t, r) {
|
|
4280
4302
|
let n;
|
|
4281
|
-
|
|
4282
|
-
let { lang: i = "en" } = t, { customtext: o = "" } = t, { clientstyling: s = "" } = t, { clientstylingurl: a = "" } = t, { alternativestyling: l = "" } = t, { translationurl: h = "" } = t, u, c, f = !1, d = 0,
|
|
4303
|
+
br(e, Fi, (g) => r(5, n = g));
|
|
4304
|
+
let { lang: i = "en" } = t, { customtext: o = "" } = t, { clientstyling: s = "" } = t, { clientstylingurl: a = "" } = t, { alternativestyling: l = "" } = t, { translationurl: h = "" } = t, u, c, f = !1, d = 0, v, y = window.navigator.userAgent;
|
|
4283
4305
|
const T = () => {
|
|
4284
4306
|
fetch(h).then((B) => B.json()).then((B) => {
|
|
4285
4307
|
Object.keys(B).forEach((D) => {
|
|
4286
|
-
|
|
4308
|
+
Ht(D, B[D]);
|
|
4287
4309
|
});
|
|
4288
4310
|
}).catch((B) => {
|
|
4289
4311
|
console.log(B);
|
|
4290
4312
|
});
|
|
4291
4313
|
};
|
|
4292
|
-
Object.keys(
|
|
4293
|
-
|
|
4314
|
+
Object.keys(wt).forEach((g) => {
|
|
4315
|
+
Ht(g, wt[g]);
|
|
4294
4316
|
});
|
|
4295
|
-
const
|
|
4296
|
-
u == null || u.addEventListener("mousedown",
|
|
4317
|
+
const N = () => {
|
|
4318
|
+
u == null || u.addEventListener("mousedown", x, !1), u == null || u.addEventListener("touchstart", x, !1), u == null || u.addEventListener("mouseup", w, !1), u == null || u.addEventListener("touchend", w, !1);
|
|
4297
4319
|
}, I = () => {
|
|
4298
|
-
r(4, f = !1), u == null || u.removeEventListener("mousedown",
|
|
4299
|
-
},
|
|
4300
|
-
d = 0, r(4, f = !0),
|
|
4320
|
+
r(4, f = !1), u == null || u.removeEventListener("mousedown", x), u == null || u.removeEventListener("touchstart", x), u == null || u.removeEventListener("mouseup", w), u == null || u.removeEventListener("touchend", w);
|
|
4321
|
+
}, x = () => {
|
|
4322
|
+
d = 0, r(4, f = !0), v = setInterval(
|
|
4301
4323
|
() => {
|
|
4302
|
-
d++, d >= 2 && (window.postMessage({ type: "PanicButtonClicked" }, window.location.href), clearInterval(
|
|
4324
|
+
d++, d >= 2 && (window.postMessage({ type: "PanicButtonClicked" }, window.location.href), clearInterval(v), typeof gtag == "function" && gtag("event", "PanicButtonClicked", { context: "PanicButton" }));
|
|
4303
4325
|
},
|
|
4304
4326
|
1e3
|
|
4305
4327
|
);
|
|
4306
4328
|
}, w = () => {
|
|
4307
|
-
r(4, f = !1), clearInterval(
|
|
4329
|
+
r(4, f = !1), clearInterval(v);
|
|
4308
4330
|
}, P = () => {
|
|
4309
4331
|
let g = document.createElement("style");
|
|
4310
4332
|
g.innerHTML = s, c.appendChild(g);
|
|
@@ -4319,7 +4341,7 @@ function Fi(e, t, r) {
|
|
|
4319
4341
|
);
|
|
4320
4342
|
});
|
|
4321
4343
|
};
|
|
4322
|
-
|
|
4344
|
+
Hr(() => () => {
|
|
4323
4345
|
I();
|
|
4324
4346
|
});
|
|
4325
4347
|
function oe(g) {
|
|
@@ -4327,7 +4349,7 @@ function Fi(e, t, r) {
|
|
|
4327
4349
|
u = g, r(2, u);
|
|
4328
4350
|
});
|
|
4329
4351
|
}
|
|
4330
|
-
function
|
|
4352
|
+
function hr(g) {
|
|
4331
4353
|
me[g ? "unshift" : "push"](() => {
|
|
4332
4354
|
c = g, r(3, c);
|
|
4333
4355
|
});
|
|
@@ -4336,8 +4358,8 @@ function Fi(e, t, r) {
|
|
|
4336
4358
|
"lang" in g && r(7, i = g.lang), "customtext" in g && r(0, o = g.customtext), "clientstyling" in g && r(8, s = g.clientstyling), "clientstylingurl" in g && r(9, a = g.clientstylingurl), "alternativestyling" in g && r(1, l = g.alternativestyling), "translationurl" in g && r(10, h = g.translationurl);
|
|
4337
4359
|
}, e.$$.update = () => {
|
|
4338
4360
|
e.$$.dirty & /*panicButton*/
|
|
4339
|
-
4 && u &&
|
|
4340
|
-
128 && i &&
|
|
4361
|
+
4 && u && N(), e.$$.dirty & /*lang*/
|
|
4362
|
+
128 && i && Gi(i), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4341
4363
|
264 && s && c && P(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4342
4364
|
520 && a && c && R(), e.$$.dirty & /*translationurl*/
|
|
4343
4365
|
1024 && h && T();
|
|
@@ -4348,23 +4370,23 @@ function Fi(e, t, r) {
|
|
|
4348
4370
|
c,
|
|
4349
4371
|
f,
|
|
4350
4372
|
n,
|
|
4351
|
-
|
|
4373
|
+
y,
|
|
4352
4374
|
i,
|
|
4353
4375
|
s,
|
|
4354
4376
|
a,
|
|
4355
4377
|
h,
|
|
4356
4378
|
oe,
|
|
4357
|
-
|
|
4379
|
+
hr
|
|
4358
4380
|
];
|
|
4359
4381
|
}
|
|
4360
|
-
class
|
|
4382
|
+
class zi extends Rr {
|
|
4361
4383
|
constructor(t) {
|
|
4362
|
-
super(),
|
|
4384
|
+
super(), Mr(
|
|
4363
4385
|
this,
|
|
4364
4386
|
t,
|
|
4365
|
-
|
|
4366
|
-
|
|
4367
|
-
|
|
4387
|
+
Vi,
|
|
4388
|
+
ki,
|
|
4389
|
+
Bt,
|
|
4368
4390
|
{
|
|
4369
4391
|
lang: 7,
|
|
4370
4392
|
customtext: 0,
|
|
@@ -4373,7 +4395,7 @@ class ji extends Nr {
|
|
|
4373
4395
|
alternativestyling: 1,
|
|
4374
4396
|
translationurl: 10
|
|
4375
4397
|
},
|
|
4376
|
-
|
|
4398
|
+
ji
|
|
4377
4399
|
);
|
|
4378
4400
|
}
|
|
4379
4401
|
get lang() {
|
|
@@ -4413,7 +4435,7 @@ class ji extends Nr {
|
|
|
4413
4435
|
this.$$set({ translationurl: t }), C();
|
|
4414
4436
|
}
|
|
4415
4437
|
}
|
|
4416
|
-
|
|
4438
|
+
$r(zi, { lang: {}, customtext: {}, clientstyling: {}, clientstylingurl: {}, alternativestyling: {}, translationurl: {} }, [], [], !0);
|
|
4417
4439
|
export {
|
|
4418
|
-
|
|
4440
|
+
zi as default
|
|
4419
4441
|
};
|