@everymatrix/player-account-gaming-limits-popup 1.87.25 → 1.87.27
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/{PlayerAccountGamingLimitsPopup-C5YoXENK.cjs → PlayerAccountGamingLimitsPopup-BdSHXCoH.cjs} +4 -4
- package/components/{PlayerAccountGamingLimitsPopup-DrZbor7u.js → PlayerAccountGamingLimitsPopup-D6um3k8S.js} +813 -786
- package/components/{PlayerAccountGamingLimitsPopup-DZrFAZfJ.js → PlayerAccountGamingLimitsPopup-hYQKgM7w.js} +834 -806
- package/es2015/player-account-gaming-limits-popup.cjs +1 -1
- package/es2015/player-account-gaming-limits-popup.js +1 -1
- package/esnext/player-account-gaming-limits-popup.js +1 -1
- package/package.json +1 -1
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
1
|
+
var cr = Object.defineProperty, fr = Object.defineProperties;
|
|
2
|
+
var pr = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var rt = Object.getOwnPropertySymbols;
|
|
4
|
+
var dr = Object.prototype.hasOwnProperty, mr = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var Se = (e, t, r) => t in e ? cr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, nt = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var r of
|
|
10
|
-
|
|
7
|
+
dr.call(t, r) && Se(e, r, t[r]);
|
|
8
|
+
if (rt)
|
|
9
|
+
for (var r of rt(t))
|
|
10
|
+
mr.call(t, r) && Se(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
13
|
-
var
|
|
14
|
-
var
|
|
12
|
+
}, it = (e, t) => fr(e, pr(t));
|
|
13
|
+
var C = (e, t, r) => (Se(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
|
+
var ot = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var o = (l) => {
|
|
16
16
|
try {
|
|
17
17
|
s(r.next(l));
|
|
@@ -27,49 +27,49 @@ var nt = (e, t, r) => new Promise((n, i) => {
|
|
|
27
27
|
}, s = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(o, a);
|
|
28
28
|
s((r = r.apply(e, t)).next());
|
|
29
29
|
});
|
|
30
|
-
function
|
|
30
|
+
function B() {
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function Bt(e) {
|
|
33
33
|
return e();
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function at() {
|
|
36
36
|
return /* @__PURE__ */ Object.create(null);
|
|
37
37
|
}
|
|
38
|
-
function
|
|
39
|
-
e.forEach(
|
|
38
|
+
function ne(e) {
|
|
39
|
+
e.forEach(Bt);
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function Qe(e) {
|
|
42
42
|
return typeof e == "function";
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function Ot(e, t) {
|
|
45
45
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
46
46
|
}
|
|
47
|
-
function
|
|
47
|
+
function br(e) {
|
|
48
48
|
return Object.keys(e).length === 0;
|
|
49
49
|
}
|
|
50
|
-
function
|
|
50
|
+
function Lt(e, ...t) {
|
|
51
51
|
if (e == null) {
|
|
52
52
|
for (const n of t)
|
|
53
53
|
n(void 0);
|
|
54
|
-
return
|
|
54
|
+
return B;
|
|
55
55
|
}
|
|
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 vr(e, t, r) {
|
|
60
|
+
e.$$.on_destroy.push(Lt(t, r));
|
|
61
61
|
}
|
|
62
62
|
function P(e, t) {
|
|
63
63
|
e.appendChild(t);
|
|
64
64
|
}
|
|
65
|
-
function
|
|
66
|
-
const n =
|
|
65
|
+
function yr(e, t, r) {
|
|
66
|
+
const n = gr(e);
|
|
67
67
|
if (!n.getElementById(t)) {
|
|
68
|
-
const i =
|
|
69
|
-
i.id = t, i.textContent = r,
|
|
68
|
+
const i = I("style");
|
|
69
|
+
i.id = t, i.textContent = r, xr(n, i);
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
|
-
function
|
|
72
|
+
function gr(e) {
|
|
73
73
|
if (!e)
|
|
74
74
|
return document;
|
|
75
75
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -79,46 +79,46 @@ function vr(e) {
|
|
|
79
79
|
t
|
|
80
80
|
) : e.ownerDocument;
|
|
81
81
|
}
|
|
82
|
-
function
|
|
82
|
+
function xr(e, t) {
|
|
83
83
|
return P(
|
|
84
84
|
/** @type {Document} */
|
|
85
85
|
e.head || e,
|
|
86
86
|
t
|
|
87
87
|
), t.sheet;
|
|
88
88
|
}
|
|
89
|
-
function
|
|
89
|
+
function ie(e, t, r) {
|
|
90
90
|
e.insertBefore(t, r || null);
|
|
91
91
|
}
|
|
92
|
-
function
|
|
92
|
+
function q(e) {
|
|
93
93
|
e.parentNode && e.parentNode.removeChild(e);
|
|
94
94
|
}
|
|
95
|
-
function
|
|
95
|
+
function I(e) {
|
|
96
96
|
return document.createElement(e);
|
|
97
97
|
}
|
|
98
|
-
function
|
|
98
|
+
function oe(e) {
|
|
99
99
|
return document.createTextNode(e);
|
|
100
100
|
}
|
|
101
|
-
function
|
|
102
|
-
return
|
|
101
|
+
function we() {
|
|
102
|
+
return oe(" ");
|
|
103
103
|
}
|
|
104
|
-
function
|
|
105
|
-
return
|
|
104
|
+
function _r() {
|
|
105
|
+
return oe("");
|
|
106
106
|
}
|
|
107
|
-
function
|
|
107
|
+
function Er(e, t, r, n) {
|
|
108
108
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
109
109
|
}
|
|
110
|
-
function
|
|
110
|
+
function Sr(e) {
|
|
111
111
|
return function(t) {
|
|
112
112
|
return t.preventDefault(), e.call(this, t);
|
|
113
113
|
};
|
|
114
114
|
}
|
|
115
|
-
function
|
|
115
|
+
function A(e, t, r) {
|
|
116
116
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
117
117
|
}
|
|
118
|
-
function
|
|
118
|
+
function wr(e) {
|
|
119
119
|
return Array.from(e.childNodes);
|
|
120
120
|
}
|
|
121
|
-
function
|
|
121
|
+
function Je(e, t) {
|
|
122
122
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
123
123
|
t);
|
|
124
124
|
}
|
|
@@ -131,95 +131,95 @@ function Tr(e) {
|
|
|
131
131
|
}
|
|
132
132
|
), t;
|
|
133
133
|
}
|
|
134
|
-
let
|
|
135
|
-
function
|
|
136
|
-
|
|
134
|
+
let ee;
|
|
135
|
+
function K(e) {
|
|
136
|
+
ee = e;
|
|
137
137
|
}
|
|
138
|
-
function
|
|
139
|
-
if (!
|
|
138
|
+
function Pr() {
|
|
139
|
+
if (!ee)
|
|
140
140
|
throw new Error("Function called outside component initialization");
|
|
141
|
-
return
|
|
141
|
+
return ee;
|
|
142
142
|
}
|
|
143
|
-
function
|
|
144
|
-
|
|
145
|
-
}
|
|
146
|
-
const
|
|
147
|
-
let
|
|
148
|
-
const
|
|
149
|
-
let
|
|
150
|
-
function
|
|
151
|
-
|
|
152
|
-
}
|
|
153
|
-
function
|
|
154
|
-
|
|
155
|
-
}
|
|
156
|
-
const
|
|
157
|
-
let
|
|
158
|
-
function
|
|
159
|
-
if (
|
|
143
|
+
function Hr(e) {
|
|
144
|
+
Pr().$$.on_mount.push(e);
|
|
145
|
+
}
|
|
146
|
+
const F = [], Le = [];
|
|
147
|
+
let k = [];
|
|
148
|
+
const st = [], Cr = /* @__PURE__ */ Promise.resolve();
|
|
149
|
+
let Me = !1;
|
|
150
|
+
function Ar() {
|
|
151
|
+
Me || (Me = !0, Cr.then(O));
|
|
152
|
+
}
|
|
153
|
+
function Ne(e) {
|
|
154
|
+
k.push(e);
|
|
155
|
+
}
|
|
156
|
+
const Te = /* @__PURE__ */ new Set();
|
|
157
|
+
let G = 0;
|
|
158
|
+
function O() {
|
|
159
|
+
if (G !== 0)
|
|
160
160
|
return;
|
|
161
|
-
const e =
|
|
161
|
+
const e = ee;
|
|
162
162
|
do {
|
|
163
163
|
try {
|
|
164
|
-
for (;
|
|
165
|
-
const t =
|
|
166
|
-
|
|
164
|
+
for (; G < F.length; ) {
|
|
165
|
+
const t = F[G];
|
|
166
|
+
G++, K(t), Ir(t.$$);
|
|
167
167
|
}
|
|
168
168
|
} catch (t) {
|
|
169
|
-
throw
|
|
169
|
+
throw F.length = 0, G = 0, t;
|
|
170
170
|
}
|
|
171
|
-
for (
|
|
172
|
-
|
|
173
|
-
for (let t = 0; t <
|
|
174
|
-
const r =
|
|
175
|
-
|
|
171
|
+
for (K(null), F.length = 0, G = 0; Le.length; )
|
|
172
|
+
Le.pop()();
|
|
173
|
+
for (let t = 0; t < k.length; t += 1) {
|
|
174
|
+
const r = k[t];
|
|
175
|
+
Te.has(r) || (Te.add(r), r());
|
|
176
176
|
}
|
|
177
|
-
|
|
178
|
-
} while (
|
|
179
|
-
for (;
|
|
180
|
-
|
|
181
|
-
|
|
177
|
+
k.length = 0;
|
|
178
|
+
} while (F.length);
|
|
179
|
+
for (; st.length; )
|
|
180
|
+
st.pop()();
|
|
181
|
+
Me = !1, Te.clear(), K(e);
|
|
182
182
|
}
|
|
183
183
|
function Ir(e) {
|
|
184
184
|
if (e.fragment !== null) {
|
|
185
|
-
e.update(),
|
|
185
|
+
e.update(), ne(e.before_update);
|
|
186
186
|
const t = e.dirty;
|
|
187
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
187
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ne);
|
|
188
188
|
}
|
|
189
189
|
}
|
|
190
|
-
function
|
|
190
|
+
function Br(e) {
|
|
191
191
|
const t = [], r = [];
|
|
192
|
-
|
|
192
|
+
k.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), k = t;
|
|
193
193
|
}
|
|
194
|
-
const
|
|
195
|
-
function
|
|
196
|
-
e && e.i && (
|
|
194
|
+
const Or = /* @__PURE__ */ new Set();
|
|
195
|
+
function Lr(e, t) {
|
|
196
|
+
e && e.i && (Or.delete(e), e.i(t));
|
|
197
197
|
}
|
|
198
|
-
function
|
|
198
|
+
function Mr(e, t, r) {
|
|
199
199
|
const { fragment: n, after_update: i } = e.$$;
|
|
200
|
-
n && n.m(t, r),
|
|
201
|
-
const o = e.$$.on_mount.map(
|
|
202
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
|
203
|
-
}), i.forEach(
|
|
200
|
+
n && n.m(t, r), Ne(() => {
|
|
201
|
+
const o = e.$$.on_mount.map(Bt).filter(Qe);
|
|
202
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ne(o), e.$$.on_mount = [];
|
|
203
|
+
}), i.forEach(Ne);
|
|
204
204
|
}
|
|
205
|
-
function
|
|
205
|
+
function Nr(e, t) {
|
|
206
206
|
const r = e.$$;
|
|
207
|
-
r.fragment !== null && (
|
|
207
|
+
r.fragment !== null && (Br(r.after_update), ne(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
208
208
|
}
|
|
209
|
-
function
|
|
210
|
-
e.$$.dirty[0] === -1 && (
|
|
209
|
+
function $r(e, t) {
|
|
210
|
+
e.$$.dirty[0] === -1 && (F.push(e), Ar(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
211
211
|
}
|
|
212
|
-
function
|
|
213
|
-
const l =
|
|
214
|
-
|
|
212
|
+
function Rr(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
213
|
+
const l = ee;
|
|
214
|
+
K(e);
|
|
215
215
|
const u = e.$$ = {
|
|
216
216
|
fragment: null,
|
|
217
217
|
ctx: [],
|
|
218
218
|
// state
|
|
219
219
|
props: o,
|
|
220
|
-
update:
|
|
220
|
+
update: B,
|
|
221
221
|
not_equal: i,
|
|
222
|
-
bound:
|
|
222
|
+
bound: at(),
|
|
223
223
|
// lifecycle
|
|
224
224
|
on_mount: [],
|
|
225
225
|
on_destroy: [],
|
|
@@ -228,7 +228,7 @@ function Nr(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
228
228
|
after_update: [],
|
|
229
229
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
230
230
|
// everything else
|
|
231
|
-
callbacks:
|
|
231
|
+
callbacks: at(),
|
|
232
232
|
dirty: s,
|
|
233
233
|
skip_bound: !1,
|
|
234
234
|
root: t.target || l.$$.root
|
|
@@ -237,39 +237,39 @@ function Nr(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
237
237
|
let h = !1;
|
|
238
238
|
if (u.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
|
|
239
239
|
const d = p.length ? p[0] : c;
|
|
240
|
-
return u.ctx && i(u.ctx[f], u.ctx[f] = d) && (!u.skip_bound && u.bound[f] && u.bound[f](d), h &&
|
|
241
|
-
}) : [], u.update(), h = !0,
|
|
240
|
+
return u.ctx && i(u.ctx[f], u.ctx[f] = d) && (!u.skip_bound && u.bound[f] && u.bound[f](d), h && $r(e, f)), c;
|
|
241
|
+
}) : [], u.update(), h = !0, ne(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
242
242
|
if (t.hydrate) {
|
|
243
|
-
const f =
|
|
244
|
-
u.fragment && u.fragment.l(f), f.forEach(
|
|
243
|
+
const f = wr(t.target);
|
|
244
|
+
u.fragment && u.fragment.l(f), f.forEach(q);
|
|
245
245
|
} else
|
|
246
246
|
u.fragment && u.fragment.c();
|
|
247
|
-
t.intro &&
|
|
247
|
+
t.intro && Lr(e.$$.fragment), Mr(e, t.target, t.anchor), O();
|
|
248
248
|
}
|
|
249
|
-
|
|
249
|
+
K(l);
|
|
250
250
|
}
|
|
251
|
-
let
|
|
252
|
-
typeof HTMLElement == "function" && (
|
|
251
|
+
let Mt;
|
|
252
|
+
typeof HTMLElement == "function" && (Mt = class extends HTMLElement {
|
|
253
253
|
constructor(t, r, n) {
|
|
254
254
|
super();
|
|
255
255
|
/** The Svelte component constructor */
|
|
256
|
-
|
|
256
|
+
C(this, "$$ctor");
|
|
257
257
|
/** Slots */
|
|
258
|
-
|
|
258
|
+
C(this, "$$s");
|
|
259
259
|
/** The Svelte component instance */
|
|
260
|
-
|
|
260
|
+
C(this, "$$c");
|
|
261
261
|
/** Whether or not the custom element is connected */
|
|
262
|
-
|
|
262
|
+
C(this, "$$cn", !1);
|
|
263
263
|
/** Component props data */
|
|
264
|
-
|
|
264
|
+
C(this, "$$d", {});
|
|
265
265
|
/** `true` if currently in the process of reflecting component props back to attributes */
|
|
266
|
-
|
|
266
|
+
C(this, "$$r", !1);
|
|
267
267
|
/** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
|
|
268
|
-
|
|
268
|
+
C(this, "$$p_d", {});
|
|
269
269
|
/** @type {Record<string, Function[]>} Event listeners */
|
|
270
|
-
|
|
270
|
+
C(this, "$$l", {});
|
|
271
271
|
/** @type {Map<Function, Function>} Event listener unsubscribe functions */
|
|
272
|
-
|
|
272
|
+
C(this, "$$l_u", /* @__PURE__ */ new Map());
|
|
273
273
|
this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
|
|
274
274
|
}
|
|
275
275
|
addEventListener(t, r, n) {
|
|
@@ -286,24 +286,24 @@ typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
|
|
|
286
286
|
}
|
|
287
287
|
}
|
|
288
288
|
connectedCallback() {
|
|
289
|
-
return
|
|
289
|
+
return ot(this, null, function* () {
|
|
290
290
|
if (this.$$cn = !0, !this.$$c) {
|
|
291
291
|
let t = function(o) {
|
|
292
292
|
return () => {
|
|
293
293
|
let a;
|
|
294
294
|
return {
|
|
295
295
|
c: function() {
|
|
296
|
-
a =
|
|
296
|
+
a = I("slot"), o !== "default" && A(a, "name", o);
|
|
297
297
|
},
|
|
298
298
|
/**
|
|
299
299
|
* @param {HTMLElement} target
|
|
300
300
|
* @param {HTMLElement} [anchor]
|
|
301
301
|
*/
|
|
302
302
|
m: function(u, h) {
|
|
303
|
-
|
|
303
|
+
ie(u, a, h);
|
|
304
304
|
},
|
|
305
305
|
d: function(u) {
|
|
306
|
-
u &&
|
|
306
|
+
u && q(a);
|
|
307
307
|
}
|
|
308
308
|
};
|
|
309
309
|
};
|
|
@@ -315,13 +315,13 @@ typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
|
|
|
315
315
|
o in n && (r[o] = [t(o)]);
|
|
316
316
|
for (const o of this.attributes) {
|
|
317
317
|
const a = this.$$g_p(o.name);
|
|
318
|
-
a in this.$$d || (this.$$d[a] =
|
|
318
|
+
a in this.$$d || (this.$$d[a] = he(a, o.value, this.$$p_d, "toProp"));
|
|
319
319
|
}
|
|
320
320
|
for (const o in this.$$p_d)
|
|
321
321
|
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
|
322
322
|
this.$$c = new this.$$ctor({
|
|
323
323
|
target: this.shadowRoot || this,
|
|
324
|
-
props:
|
|
324
|
+
props: it(nt({}, this.$$d), {
|
|
325
325
|
$$slots: r,
|
|
326
326
|
$$scope: {
|
|
327
327
|
ctx: []
|
|
@@ -332,7 +332,7 @@ typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
|
|
|
332
332
|
this.$$r = !0;
|
|
333
333
|
for (const o in this.$$p_d)
|
|
334
334
|
if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
|
|
335
|
-
const a =
|
|
335
|
+
const a = he(
|
|
336
336
|
o,
|
|
337
337
|
this.$$d[o],
|
|
338
338
|
this.$$p_d,
|
|
@@ -356,7 +356,7 @@ typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
|
|
|
356
356
|
// and setting attributes through setAttribute etc, this is helpful
|
|
357
357
|
attributeChangedCallback(t, r, n) {
|
|
358
358
|
var i;
|
|
359
|
-
this.$$r || (t = this.$$g_p(t), this.$$d[t] =
|
|
359
|
+
this.$$r || (t = this.$$g_p(t), this.$$d[t] = he(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
|
|
360
360
|
}
|
|
361
361
|
disconnectedCallback() {
|
|
362
362
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -369,7 +369,7 @@ typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
|
|
|
369
369
|
) || t;
|
|
370
370
|
}
|
|
371
371
|
});
|
|
372
|
-
function
|
|
372
|
+
function he(e, t, r, n) {
|
|
373
373
|
var o;
|
|
374
374
|
const i = (o = r[e]) == null ? void 0 : o.type;
|
|
375
375
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
@@ -399,8 +399,8 @@ function le(e, t, r, n) {
|
|
|
399
399
|
return t;
|
|
400
400
|
}
|
|
401
401
|
}
|
|
402
|
-
function
|
|
403
|
-
let a = class extends
|
|
402
|
+
function Ur(e, t, r, n, i, o) {
|
|
403
|
+
let a = class extends Mt {
|
|
404
404
|
constructor() {
|
|
405
405
|
super(e, r, i), this.$$p_d = t;
|
|
406
406
|
}
|
|
@@ -417,7 +417,7 @@ function $r(e, t, r, n, i, o) {
|
|
|
417
417
|
},
|
|
418
418
|
set(l) {
|
|
419
419
|
var u;
|
|
420
|
-
l =
|
|
420
|
+
l = he(s, l, t), this.$$d[s] = l, (u = this.$$c) == null || u.$set({ [s]: l });
|
|
421
421
|
}
|
|
422
422
|
});
|
|
423
423
|
}), n.forEach((s) => {
|
|
@@ -430,7 +430,7 @@ function $r(e, t, r, n, i, o) {
|
|
|
430
430
|
}), e.element = /** @type {any} */
|
|
431
431
|
a, a;
|
|
432
432
|
}
|
|
433
|
-
class
|
|
433
|
+
class Gr {
|
|
434
434
|
constructor() {
|
|
435
435
|
/**
|
|
436
436
|
* ### PRIVATE API
|
|
@@ -439,7 +439,7 @@ class Rr {
|
|
|
439
439
|
*
|
|
440
440
|
* @type {any}
|
|
441
441
|
*/
|
|
442
|
-
|
|
442
|
+
C(this, "$$");
|
|
443
443
|
/**
|
|
444
444
|
* ### PRIVATE API
|
|
445
445
|
*
|
|
@@ -447,11 +447,11 @@ class Rr {
|
|
|
447
447
|
*
|
|
448
448
|
* @type {any}
|
|
449
449
|
*/
|
|
450
|
-
|
|
450
|
+
C(this, "$$set");
|
|
451
451
|
}
|
|
452
452
|
/** @returns {void} */
|
|
453
453
|
$destroy() {
|
|
454
|
-
|
|
454
|
+
Nr(this, 1), this.$destroy = B;
|
|
455
455
|
}
|
|
456
456
|
/**
|
|
457
457
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -460,8 +460,8 @@ class Rr {
|
|
|
460
460
|
* @returns {() => void}
|
|
461
461
|
*/
|
|
462
462
|
$on(t, r) {
|
|
463
|
-
if (!
|
|
464
|
-
return
|
|
463
|
+
if (!Qe(r))
|
|
464
|
+
return B;
|
|
465
465
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
466
466
|
return n.push(r), () => {
|
|
467
467
|
const i = n.indexOf(r);
|
|
@@ -473,11 +473,11 @@ class Rr {
|
|
|
473
473
|
* @returns {void}
|
|
474
474
|
*/
|
|
475
475
|
$set(t) {
|
|
476
|
-
this.$$set && !
|
|
476
|
+
this.$$set && !br(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
477
477
|
}
|
|
478
478
|
}
|
|
479
|
-
const
|
|
480
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
479
|
+
const Dr = "4";
|
|
480
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Dr);
|
|
481
481
|
/*! *****************************************************************************
|
|
482
482
|
Copyright (c) Microsoft Corporation.
|
|
483
483
|
|
|
@@ -492,24 +492,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
492
492
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
493
493
|
PERFORMANCE OF THIS SOFTWARE.
|
|
494
494
|
***************************************************************************** */
|
|
495
|
-
var
|
|
496
|
-
return
|
|
495
|
+
var $e = function(e, t) {
|
|
496
|
+
return $e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
497
497
|
r.__proto__ = n;
|
|
498
498
|
} || function(r, n) {
|
|
499
499
|
for (var i in n)
|
|
500
500
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
501
|
-
},
|
|
501
|
+
}, $e(e, t);
|
|
502
502
|
};
|
|
503
|
-
function
|
|
503
|
+
function ae(e, t) {
|
|
504
504
|
if (typeof t != "function" && t !== null)
|
|
505
505
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
506
|
-
|
|
506
|
+
$e(e, t);
|
|
507
507
|
function r() {
|
|
508
508
|
this.constructor = e;
|
|
509
509
|
}
|
|
510
510
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
511
511
|
}
|
|
512
|
-
function
|
|
512
|
+
function Re(e) {
|
|
513
513
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
514
514
|
if (r)
|
|
515
515
|
return r.call(e);
|
|
@@ -521,7 +521,7 @@ function $e(e) {
|
|
|
521
521
|
};
|
|
522
522
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
523
523
|
}
|
|
524
|
-
function
|
|
524
|
+
function Ue(e, t) {
|
|
525
525
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
526
526
|
if (!r)
|
|
527
527
|
return e;
|
|
@@ -541,22 +541,22 @@ function Re(e, t) {
|
|
|
541
541
|
}
|
|
542
542
|
return o;
|
|
543
543
|
}
|
|
544
|
-
function
|
|
544
|
+
function Ge(e, t, r) {
|
|
545
545
|
if (arguments.length === 2)
|
|
546
546
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
547
547
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
548
548
|
return e.concat(o || t);
|
|
549
549
|
}
|
|
550
|
-
function
|
|
550
|
+
function $(e) {
|
|
551
551
|
return typeof e == "function";
|
|
552
552
|
}
|
|
553
|
-
function
|
|
553
|
+
function Nt(e) {
|
|
554
554
|
var t = function(n) {
|
|
555
555
|
Error.call(n), n.stack = new Error().stack;
|
|
556
556
|
}, r = e(t);
|
|
557
557
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
558
558
|
}
|
|
559
|
-
var
|
|
559
|
+
var Pe = Nt(function(e) {
|
|
560
560
|
return function(r) {
|
|
561
561
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
562
562
|
` + r.map(function(n, i) {
|
|
@@ -565,13 +565,13 @@ var we = Lt(function(e) {
|
|
|
565
565
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
566
566
|
};
|
|
567
567
|
});
|
|
568
|
-
function
|
|
568
|
+
function De(e, t) {
|
|
569
569
|
if (e) {
|
|
570
570
|
var r = e.indexOf(t);
|
|
571
571
|
0 <= r && e.splice(r, 1);
|
|
572
572
|
}
|
|
573
573
|
}
|
|
574
|
-
var
|
|
574
|
+
var ve = function() {
|
|
575
575
|
function e(t) {
|
|
576
576
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
577
577
|
}
|
|
@@ -583,12 +583,12 @@ var be = function() {
|
|
|
583
583
|
if (a)
|
|
584
584
|
if (this._parentage = null, Array.isArray(a))
|
|
585
585
|
try {
|
|
586
|
-
for (var s =
|
|
586
|
+
for (var s = Re(a), l = s.next(); !l.done; l = s.next()) {
|
|
587
587
|
var u = l.value;
|
|
588
588
|
u.remove(this);
|
|
589
589
|
}
|
|
590
|
-
} catch (
|
|
591
|
-
t = { error:
|
|
590
|
+
} catch (y) {
|
|
591
|
+
t = { error: y };
|
|
592
592
|
} finally {
|
|
593
593
|
try {
|
|
594
594
|
l && !l.done && (r = s.return) && r.call(s);
|
|
@@ -600,26 +600,26 @@ var be = function() {
|
|
|
600
600
|
else
|
|
601
601
|
a.remove(this);
|
|
602
602
|
var h = this.initialTeardown;
|
|
603
|
-
if (
|
|
603
|
+
if ($(h))
|
|
604
604
|
try {
|
|
605
605
|
h();
|
|
606
|
-
} catch (
|
|
607
|
-
o =
|
|
606
|
+
} catch (y) {
|
|
607
|
+
o = y instanceof Pe ? y.errors : [y];
|
|
608
608
|
}
|
|
609
609
|
var f = this._finalizers;
|
|
610
610
|
if (f) {
|
|
611
611
|
this._finalizers = null;
|
|
612
612
|
try {
|
|
613
|
-
for (var c =
|
|
613
|
+
for (var c = Re(f), p = c.next(); !p.done; p = c.next()) {
|
|
614
614
|
var d = p.value;
|
|
615
615
|
try {
|
|
616
|
-
|
|
617
|
-
} catch (
|
|
618
|
-
o = o != null ? o : [],
|
|
616
|
+
ut(d);
|
|
617
|
+
} catch (y) {
|
|
618
|
+
o = o != null ? o : [], y instanceof Pe ? o = Ge(Ge([], Ue(o)), Ue(y.errors)) : o.push(y);
|
|
619
619
|
}
|
|
620
620
|
}
|
|
621
|
-
} catch (
|
|
622
|
-
n = { error:
|
|
621
|
+
} catch (y) {
|
|
622
|
+
n = { error: y };
|
|
623
623
|
} finally {
|
|
624
624
|
try {
|
|
625
625
|
p && !p.done && (i = c.return) && i.call(c);
|
|
@@ -630,13 +630,13 @@ var be = function() {
|
|
|
630
630
|
}
|
|
631
631
|
}
|
|
632
632
|
if (o)
|
|
633
|
-
throw new
|
|
633
|
+
throw new Pe(o);
|
|
634
634
|
}
|
|
635
635
|
}, e.prototype.add = function(t) {
|
|
636
636
|
var r;
|
|
637
637
|
if (t && t !== this)
|
|
638
638
|
if (this.closed)
|
|
639
|
-
|
|
639
|
+
ut(t);
|
|
640
640
|
else {
|
|
641
641
|
if (t instanceof e) {
|
|
642
642
|
if (t.closed || t._hasParent(this))
|
|
@@ -653,52 +653,52 @@ var be = function() {
|
|
|
653
653
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
654
654
|
}, e.prototype._removeParent = function(t) {
|
|
655
655
|
var r = this._parentage;
|
|
656
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
656
|
+
r === t ? this._parentage = null : Array.isArray(r) && De(r, t);
|
|
657
657
|
}, e.prototype.remove = function(t) {
|
|
658
658
|
var r = this._finalizers;
|
|
659
|
-
r &&
|
|
659
|
+
r && De(r, t), t instanceof e && t._removeParent(this);
|
|
660
660
|
}, e.EMPTY = function() {
|
|
661
661
|
var t = new e();
|
|
662
662
|
return t.closed = !0, t;
|
|
663
663
|
}(), e;
|
|
664
|
-
}(),
|
|
665
|
-
function
|
|
666
|
-
return e instanceof
|
|
664
|
+
}(), $t = ve.EMPTY;
|
|
665
|
+
function Rt(e) {
|
|
666
|
+
return e instanceof ve || e && "closed" in e && $(e.remove) && $(e.add) && $(e.unsubscribe);
|
|
667
667
|
}
|
|
668
|
-
function
|
|
669
|
-
|
|
668
|
+
function ut(e) {
|
|
669
|
+
$(e) ? e() : e.unsubscribe();
|
|
670
670
|
}
|
|
671
|
-
var
|
|
671
|
+
var Fr = {
|
|
672
672
|
Promise: void 0
|
|
673
|
-
},
|
|
673
|
+
}, jr = {
|
|
674
674
|
setTimeout: function(e, t) {
|
|
675
675
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
676
676
|
r[n - 2] = arguments[n];
|
|
677
|
-
return setTimeout.apply(void 0,
|
|
677
|
+
return setTimeout.apply(void 0, Ge([e, t], Ue(r)));
|
|
678
678
|
},
|
|
679
679
|
clearTimeout: function(e) {
|
|
680
680
|
return clearTimeout(e);
|
|
681
681
|
},
|
|
682
682
|
delegate: void 0
|
|
683
683
|
};
|
|
684
|
-
function
|
|
685
|
-
|
|
684
|
+
function kr(e) {
|
|
685
|
+
jr.setTimeout(function() {
|
|
686
686
|
throw e;
|
|
687
687
|
});
|
|
688
688
|
}
|
|
689
|
-
function
|
|
689
|
+
function lt() {
|
|
690
690
|
}
|
|
691
|
-
function
|
|
691
|
+
function ce(e) {
|
|
692
692
|
e();
|
|
693
693
|
}
|
|
694
|
-
var
|
|
695
|
-
|
|
694
|
+
var Ut = function(e) {
|
|
695
|
+
ae(t, e);
|
|
696
696
|
function t(r) {
|
|
697
697
|
var n = e.call(this) || this;
|
|
698
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
698
|
+
return n.isStopped = !1, r ? (n.destination = r, Rt(r) && r.add(n)) : n.destination = zr, n;
|
|
699
699
|
}
|
|
700
700
|
return t.create = function(r, n, i) {
|
|
701
|
-
return new
|
|
701
|
+
return new Fe(r, n, i);
|
|
702
702
|
}, t.prototype.next = function(r) {
|
|
703
703
|
this.isStopped || this._next(r);
|
|
704
704
|
}, t.prototype.error = function(r) {
|
|
@@ -722,7 +722,7 @@ var $t = function(e) {
|
|
|
722
722
|
this.unsubscribe();
|
|
723
723
|
}
|
|
724
724
|
}, t;
|
|
725
|
-
}(
|
|
725
|
+
}(ve), Vr = function() {
|
|
726
726
|
function e(t) {
|
|
727
727
|
this.partialObserver = t;
|
|
728
728
|
}
|
|
@@ -732,7 +732,7 @@ var $t = function(e) {
|
|
|
732
732
|
try {
|
|
733
733
|
r.next(t);
|
|
734
734
|
} catch (n) {
|
|
735
|
-
|
|
735
|
+
ue(n);
|
|
736
736
|
}
|
|
737
737
|
}, e.prototype.error = function(t) {
|
|
738
738
|
var r = this.partialObserver;
|
|
@@ -740,56 +740,56 @@ var $t = function(e) {
|
|
|
740
740
|
try {
|
|
741
741
|
r.error(t);
|
|
742
742
|
} catch (n) {
|
|
743
|
-
|
|
743
|
+
ue(n);
|
|
744
744
|
}
|
|
745
745
|
else
|
|
746
|
-
|
|
746
|
+
ue(t);
|
|
747
747
|
}, e.prototype.complete = function() {
|
|
748
748
|
var t = this.partialObserver;
|
|
749
749
|
if (t.complete)
|
|
750
750
|
try {
|
|
751
751
|
t.complete();
|
|
752
752
|
} catch (r) {
|
|
753
|
-
|
|
753
|
+
ue(r);
|
|
754
754
|
}
|
|
755
755
|
}, e;
|
|
756
|
-
}(),
|
|
757
|
-
|
|
756
|
+
}(), Fe = function(e) {
|
|
757
|
+
ae(t, e);
|
|
758
758
|
function t(r, n, i) {
|
|
759
759
|
var o = e.call(this) || this, a;
|
|
760
|
-
return
|
|
760
|
+
return $(r) || !r ? a = {
|
|
761
761
|
next: r != null ? r : void 0,
|
|
762
762
|
error: n != null ? n : void 0,
|
|
763
763
|
complete: i != null ? i : void 0
|
|
764
|
-
} : a = r, o.destination = new
|
|
764
|
+
} : a = r, o.destination = new Vr(a), o;
|
|
765
765
|
}
|
|
766
766
|
return t;
|
|
767
|
-
}(
|
|
768
|
-
function
|
|
769
|
-
|
|
767
|
+
}(Ut);
|
|
768
|
+
function ue(e) {
|
|
769
|
+
kr(e);
|
|
770
770
|
}
|
|
771
|
-
function
|
|
771
|
+
function Wr(e) {
|
|
772
772
|
throw e;
|
|
773
773
|
}
|
|
774
|
-
var
|
|
774
|
+
var zr = {
|
|
775
775
|
closed: !0,
|
|
776
|
-
next:
|
|
777
|
-
error:
|
|
778
|
-
complete:
|
|
779
|
-
},
|
|
776
|
+
next: lt,
|
|
777
|
+
error: Wr,
|
|
778
|
+
complete: lt
|
|
779
|
+
}, Xr = function() {
|
|
780
780
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
781
781
|
}();
|
|
782
|
-
function
|
|
782
|
+
function qr(e) {
|
|
783
783
|
return e;
|
|
784
784
|
}
|
|
785
|
-
function
|
|
786
|
-
return e.length === 0 ?
|
|
785
|
+
function Zr(e) {
|
|
786
|
+
return e.length === 0 ? qr : e.length === 1 ? e[0] : function(r) {
|
|
787
787
|
return e.reduce(function(n, i) {
|
|
788
788
|
return i(n);
|
|
789
789
|
}, r);
|
|
790
790
|
};
|
|
791
791
|
}
|
|
792
|
-
var
|
|
792
|
+
var ht = function() {
|
|
793
793
|
function e(t) {
|
|
794
794
|
t && (this._subscribe = t);
|
|
795
795
|
}
|
|
@@ -797,8 +797,8 @@ var ut = function() {
|
|
|
797
797
|
var r = new e();
|
|
798
798
|
return r.source = this, r.operator = t, r;
|
|
799
799
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
800
|
-
var i = this, o =
|
|
801
|
-
return
|
|
800
|
+
var i = this, o = Qr(t) ? t : new Fe(t, r, n);
|
|
801
|
+
return ce(function() {
|
|
802
802
|
var a = i, s = a.operator, l = a.source;
|
|
803
803
|
o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
|
804
804
|
}), o;
|
|
@@ -810,8 +810,8 @@ var ut = function() {
|
|
|
810
810
|
}
|
|
811
811
|
}, e.prototype.forEach = function(t, r) {
|
|
812
812
|
var n = this;
|
|
813
|
-
return r =
|
|
814
|
-
var a = new
|
|
813
|
+
return r = ct(r), new r(function(i, o) {
|
|
814
|
+
var a = new Fe({
|
|
815
815
|
next: function(s) {
|
|
816
816
|
try {
|
|
817
817
|
t(s);
|
|
@@ -827,15 +827,15 @@ var ut = function() {
|
|
|
827
827
|
}, e.prototype._subscribe = function(t) {
|
|
828
828
|
var r;
|
|
829
829
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
830
|
-
}, e.prototype[
|
|
830
|
+
}, e.prototype[Xr] = function() {
|
|
831
831
|
return this;
|
|
832
832
|
}, e.prototype.pipe = function() {
|
|
833
833
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
834
834
|
t[r] = arguments[r];
|
|
835
|
-
return
|
|
835
|
+
return Zr(t)(this);
|
|
836
836
|
}, e.prototype.toPromise = function(t) {
|
|
837
837
|
var r = this;
|
|
838
|
-
return t =
|
|
838
|
+
return t = ct(t), new t(function(n, i) {
|
|
839
839
|
var o;
|
|
840
840
|
r.subscribe(function(a) {
|
|
841
841
|
return o = a;
|
|
@@ -849,40 +849,40 @@ var ut = function() {
|
|
|
849
849
|
return new e(t);
|
|
850
850
|
}, e;
|
|
851
851
|
}();
|
|
852
|
-
function
|
|
852
|
+
function ct(e) {
|
|
853
853
|
var t;
|
|
854
|
-
return (t = e != null ? e :
|
|
854
|
+
return (t = e != null ? e : Fr.Promise) !== null && t !== void 0 ? t : Promise;
|
|
855
855
|
}
|
|
856
|
-
function
|
|
857
|
-
return e &&
|
|
856
|
+
function Yr(e) {
|
|
857
|
+
return e && $(e.next) && $(e.error) && $(e.complete);
|
|
858
858
|
}
|
|
859
|
-
function
|
|
860
|
-
return e && e instanceof
|
|
859
|
+
function Qr(e) {
|
|
860
|
+
return e && e instanceof Ut || Yr(e) && Rt(e);
|
|
861
861
|
}
|
|
862
|
-
var
|
|
862
|
+
var Jr = Nt(function(e) {
|
|
863
863
|
return function() {
|
|
864
864
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
865
865
|
};
|
|
866
|
-
}),
|
|
867
|
-
|
|
866
|
+
}), Gt = function(e) {
|
|
867
|
+
ae(t, e);
|
|
868
868
|
function t() {
|
|
869
869
|
var r = e.call(this) || this;
|
|
870
870
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
871
871
|
}
|
|
872
872
|
return t.prototype.lift = function(r) {
|
|
873
|
-
var n = new
|
|
873
|
+
var n = new ft(this, this);
|
|
874
874
|
return n.operator = r, n;
|
|
875
875
|
}, t.prototype._throwIfClosed = function() {
|
|
876
876
|
if (this.closed)
|
|
877
|
-
throw new
|
|
877
|
+
throw new Jr();
|
|
878
878
|
}, t.prototype.next = function(r) {
|
|
879
879
|
var n = this;
|
|
880
|
-
|
|
880
|
+
ce(function() {
|
|
881
881
|
var i, o;
|
|
882
882
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
883
883
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
884
884
|
try {
|
|
885
|
-
for (var a =
|
|
885
|
+
for (var a = Re(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
|
|
886
886
|
var l = s.value;
|
|
887
887
|
l.next(r);
|
|
888
888
|
}
|
|
@@ -900,7 +900,7 @@ var Yr = Lt(function(e) {
|
|
|
900
900
|
});
|
|
901
901
|
}, t.prototype.error = function(r) {
|
|
902
902
|
var n = this;
|
|
903
|
-
|
|
903
|
+
ce(function() {
|
|
904
904
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
905
905
|
n.hasError = n.isStopped = !0, n.thrownError = r;
|
|
906
906
|
for (var i = n.observers; i.length; )
|
|
@@ -909,7 +909,7 @@ var Yr = Lt(function(e) {
|
|
|
909
909
|
});
|
|
910
910
|
}, t.prototype.complete = function() {
|
|
911
911
|
var r = this;
|
|
912
|
-
|
|
912
|
+
ce(function() {
|
|
913
913
|
if (r._throwIfClosed(), !r.isStopped) {
|
|
914
914
|
r.isStopped = !0;
|
|
915
915
|
for (var n = r.observers; n.length; )
|
|
@@ -931,20 +931,20 @@ var Yr = Lt(function(e) {
|
|
|
931
931
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
932
932
|
}, t.prototype._innerSubscribe = function(r) {
|
|
933
933
|
var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
|
|
934
|
-
return o || a ?
|
|
935
|
-
n.currentObservers = null,
|
|
934
|
+
return o || a ? $t : (this.currentObservers = null, s.push(r), new ve(function() {
|
|
935
|
+
n.currentObservers = null, De(s, r);
|
|
936
936
|
}));
|
|
937
937
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
938
938
|
var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
|
|
939
939
|
i ? r.error(o) : a && r.complete();
|
|
940
940
|
}, t.prototype.asObservable = function() {
|
|
941
|
-
var r = new
|
|
941
|
+
var r = new ht();
|
|
942
942
|
return r.source = this, r;
|
|
943
943
|
}, t.create = function(r, n) {
|
|
944
|
-
return new
|
|
944
|
+
return new ft(r, n);
|
|
945
945
|
}, t;
|
|
946
|
-
}(
|
|
947
|
-
|
|
946
|
+
}(ht), ft = function(e) {
|
|
947
|
+
ae(t, e);
|
|
948
948
|
function t(r, n) {
|
|
949
949
|
var i = e.call(this) || this;
|
|
950
950
|
return i.destination = r, i.source = n, i;
|
|
@@ -960,17 +960,17 @@ var Yr = Lt(function(e) {
|
|
|
960
960
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
961
961
|
}, t.prototype._subscribe = function(r) {
|
|
962
962
|
var n, i;
|
|
963
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
963
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : $t;
|
|
964
964
|
}, t;
|
|
965
|
-
}(
|
|
965
|
+
}(Gt), Dt = {
|
|
966
966
|
now: function() {
|
|
967
|
-
return (
|
|
967
|
+
return (Dt.delegate || Date).now();
|
|
968
968
|
},
|
|
969
969
|
delegate: void 0
|
|
970
|
-
},
|
|
971
|
-
|
|
970
|
+
}, Kr = function(e) {
|
|
971
|
+
ae(t, e);
|
|
972
972
|
function t(r, n, i) {
|
|
973
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
973
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Dt);
|
|
974
974
|
var o = e.call(this) || this;
|
|
975
975
|
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;
|
|
976
976
|
}
|
|
@@ -990,178 +990,178 @@ var Yr = Lt(function(e) {
|
|
|
990
990
|
u && o.splice(0, u + 1);
|
|
991
991
|
}
|
|
992
992
|
}, t;
|
|
993
|
-
}(
|
|
994
|
-
const
|
|
995
|
-
if (
|
|
996
|
-
const r = new
|
|
997
|
-
|
|
993
|
+
}(Gt);
|
|
994
|
+
const pt = [], dt = {}, en = (e, t = 0) => {
|
|
995
|
+
if (pt.indexOf(e) == -1) {
|
|
996
|
+
const r = new Kr(t);
|
|
997
|
+
dt[e] = r, pt.push(e);
|
|
998
998
|
}
|
|
999
|
-
return
|
|
1000
|
-
},
|
|
1001
|
-
function
|
|
999
|
+
return dt[e];
|
|
1000
|
+
}, D = [];
|
|
1001
|
+
function tn(e, t) {
|
|
1002
1002
|
return {
|
|
1003
|
-
subscribe:
|
|
1003
|
+
subscribe: ye(e, t).subscribe
|
|
1004
1004
|
};
|
|
1005
1005
|
}
|
|
1006
|
-
function
|
|
1006
|
+
function ye(e, t = B) {
|
|
1007
1007
|
let r;
|
|
1008
1008
|
const n = /* @__PURE__ */ new Set();
|
|
1009
1009
|
function i(s) {
|
|
1010
|
-
if (
|
|
1011
|
-
const l = !
|
|
1010
|
+
if (Ot(e, s) && (e = s, r)) {
|
|
1011
|
+
const l = !D.length;
|
|
1012
1012
|
for (const u of n)
|
|
1013
|
-
u[1](),
|
|
1013
|
+
u[1](), D.push(u, e);
|
|
1014
1014
|
if (l) {
|
|
1015
|
-
for (let u = 0; u <
|
|
1016
|
-
|
|
1017
|
-
|
|
1015
|
+
for (let u = 0; u < D.length; u += 2)
|
|
1016
|
+
D[u][0](D[u + 1]);
|
|
1017
|
+
D.length = 0;
|
|
1018
1018
|
}
|
|
1019
1019
|
}
|
|
1020
1020
|
}
|
|
1021
1021
|
function o(s) {
|
|
1022
1022
|
i(s(e));
|
|
1023
1023
|
}
|
|
1024
|
-
function a(s, l =
|
|
1024
|
+
function a(s, l = B) {
|
|
1025
1025
|
const u = [s, l];
|
|
1026
|
-
return n.add(u), n.size === 1 && (r = t(i, o) ||
|
|
1026
|
+
return n.add(u), n.size === 1 && (r = t(i, o) || B), s(e), () => {
|
|
1027
1027
|
n.delete(u), n.size === 0 && r && (r(), r = null);
|
|
1028
1028
|
};
|
|
1029
1029
|
}
|
|
1030
1030
|
return { set: i, update: o, subscribe: a };
|
|
1031
1031
|
}
|
|
1032
|
-
function
|
|
1032
|
+
function Z(e, t, r) {
|
|
1033
1033
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1034
1034
|
if (!i.every(Boolean))
|
|
1035
1035
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1036
1036
|
const o = t.length < 2;
|
|
1037
|
-
return
|
|
1037
|
+
return tn(r, (a, s) => {
|
|
1038
1038
|
let l = !1;
|
|
1039
1039
|
const u = [];
|
|
1040
|
-
let h = 0, f =
|
|
1040
|
+
let h = 0, f = B;
|
|
1041
1041
|
const c = () => {
|
|
1042
1042
|
if (h)
|
|
1043
1043
|
return;
|
|
1044
1044
|
f();
|
|
1045
1045
|
const d = t(n ? u[0] : u, a, s);
|
|
1046
|
-
o ? a(d) : f =
|
|
1046
|
+
o ? a(d) : f = Qe(d) ? d : B;
|
|
1047
1047
|
}, p = i.map(
|
|
1048
|
-
(d,
|
|
1048
|
+
(d, y) => Lt(
|
|
1049
1049
|
d,
|
|
1050
|
-
(
|
|
1051
|
-
u[
|
|
1050
|
+
(w) => {
|
|
1051
|
+
u[y] = w, h &= ~(1 << y), l && c();
|
|
1052
1052
|
},
|
|
1053
1053
|
() => {
|
|
1054
|
-
h |= 1 <<
|
|
1054
|
+
h |= 1 << y;
|
|
1055
1055
|
}
|
|
1056
1056
|
)
|
|
1057
1057
|
);
|
|
1058
1058
|
return l = !0, c(), function() {
|
|
1059
|
-
|
|
1059
|
+
ne(p), f(), l = !1;
|
|
1060
1060
|
};
|
|
1061
1061
|
});
|
|
1062
1062
|
}
|
|
1063
|
-
function
|
|
1063
|
+
function rn(e) {
|
|
1064
1064
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1065
1065
|
}
|
|
1066
|
-
var
|
|
1067
|
-
return
|
|
1066
|
+
var nn = function(t) {
|
|
1067
|
+
return on(t) && !an(t);
|
|
1068
1068
|
};
|
|
1069
|
-
function
|
|
1069
|
+
function on(e) {
|
|
1070
1070
|
return !!e && typeof e == "object";
|
|
1071
1071
|
}
|
|
1072
|
-
function
|
|
1072
|
+
function an(e) {
|
|
1073
1073
|
var t = Object.prototype.toString.call(e);
|
|
1074
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1074
|
+
return t === "[object RegExp]" || t === "[object Date]" || ln(e);
|
|
1075
1075
|
}
|
|
1076
|
-
var
|
|
1077
|
-
function
|
|
1078
|
-
return e.$$typeof ===
|
|
1076
|
+
var sn = typeof Symbol == "function" && Symbol.for, un = sn ? Symbol.for("react.element") : 60103;
|
|
1077
|
+
function ln(e) {
|
|
1078
|
+
return e.$$typeof === un;
|
|
1079
1079
|
}
|
|
1080
|
-
function
|
|
1080
|
+
function hn(e) {
|
|
1081
1081
|
return Array.isArray(e) ? [] : {};
|
|
1082
1082
|
}
|
|
1083
|
-
function
|
|
1084
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1083
|
+
function te(e, t) {
|
|
1084
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? V(hn(e), e, t) : e;
|
|
1085
1085
|
}
|
|
1086
|
-
function
|
|
1086
|
+
function cn(e, t, r) {
|
|
1087
1087
|
return e.concat(t).map(function(n) {
|
|
1088
|
-
return
|
|
1088
|
+
return te(n, r);
|
|
1089
1089
|
});
|
|
1090
1090
|
}
|
|
1091
|
-
function
|
|
1091
|
+
function fn(e, t) {
|
|
1092
1092
|
if (!t.customMerge)
|
|
1093
|
-
return
|
|
1093
|
+
return V;
|
|
1094
1094
|
var r = t.customMerge(e);
|
|
1095
|
-
return typeof r == "function" ? r :
|
|
1095
|
+
return typeof r == "function" ? r : V;
|
|
1096
1096
|
}
|
|
1097
|
-
function
|
|
1097
|
+
function pn(e) {
|
|
1098
1098
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1099
1099
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1100
1100
|
}) : [];
|
|
1101
1101
|
}
|
|
1102
|
-
function
|
|
1103
|
-
return Object.keys(e).concat(
|
|
1102
|
+
function mt(e) {
|
|
1103
|
+
return Object.keys(e).concat(pn(e));
|
|
1104
1104
|
}
|
|
1105
|
-
function
|
|
1105
|
+
function Ft(e, t) {
|
|
1106
1106
|
try {
|
|
1107
1107
|
return t in e;
|
|
1108
1108
|
} catch (r) {
|
|
1109
1109
|
return !1;
|
|
1110
1110
|
}
|
|
1111
1111
|
}
|
|
1112
|
-
function
|
|
1113
|
-
return
|
|
1112
|
+
function dn(e, t) {
|
|
1113
|
+
return Ft(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1114
1114
|
}
|
|
1115
|
-
function
|
|
1115
|
+
function mn(e, t, r) {
|
|
1116
1116
|
var n = {};
|
|
1117
|
-
return r.isMergeableObject(e) &&
|
|
1118
|
-
n[i] =
|
|
1119
|
-
}),
|
|
1120
|
-
|
|
1117
|
+
return r.isMergeableObject(e) && mt(e).forEach(function(i) {
|
|
1118
|
+
n[i] = te(e[i], r);
|
|
1119
|
+
}), mt(t).forEach(function(i) {
|
|
1120
|
+
dn(e, i) || (Ft(e, i) && r.isMergeableObject(t[i]) ? n[i] = fn(i, r)(e[i], t[i], r) : n[i] = te(t[i], r));
|
|
1121
1121
|
}), n;
|
|
1122
1122
|
}
|
|
1123
|
-
function
|
|
1124
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1123
|
+
function V(e, t, r) {
|
|
1124
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || cn, r.isMergeableObject = r.isMergeableObject || nn, r.cloneUnlessOtherwiseSpecified = te;
|
|
1125
1125
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1126
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1126
|
+
return o ? n ? r.arrayMerge(e, t, r) : mn(e, t, r) : te(t, r);
|
|
1127
1127
|
}
|
|
1128
|
-
|
|
1128
|
+
V.all = function(t, r) {
|
|
1129
1129
|
if (!Array.isArray(t))
|
|
1130
1130
|
throw new Error("first argument should be an array");
|
|
1131
1131
|
return t.reduce(function(n, i) {
|
|
1132
|
-
return
|
|
1132
|
+
return V(n, i, r);
|
|
1133
1133
|
}, {});
|
|
1134
1134
|
};
|
|
1135
|
-
var
|
|
1136
|
-
const
|
|
1137
|
-
var
|
|
1138
|
-
return
|
|
1135
|
+
var bn = V, vn = bn;
|
|
1136
|
+
const yn = /* @__PURE__ */ rn(vn);
|
|
1137
|
+
var je = function(e, t) {
|
|
1138
|
+
return je = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
1139
1139
|
r.__proto__ = n;
|
|
1140
1140
|
} || function(r, n) {
|
|
1141
1141
|
for (var i in n)
|
|
1142
1142
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1143
|
-
},
|
|
1143
|
+
}, je(e, t);
|
|
1144
1144
|
};
|
|
1145
1145
|
function ge(e, t) {
|
|
1146
1146
|
if (typeof t != "function" && t !== null)
|
|
1147
1147
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1148
|
-
|
|
1148
|
+
je(e, t);
|
|
1149
1149
|
function r() {
|
|
1150
1150
|
this.constructor = e;
|
|
1151
1151
|
}
|
|
1152
1152
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
1153
1153
|
}
|
|
1154
|
-
var
|
|
1155
|
-
return
|
|
1154
|
+
var L = function() {
|
|
1155
|
+
return L = Object.assign || function(t) {
|
|
1156
1156
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1157
1157
|
r = arguments[n];
|
|
1158
1158
|
for (var o in r)
|
|
1159
1159
|
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1160
1160
|
}
|
|
1161
1161
|
return t;
|
|
1162
|
-
},
|
|
1162
|
+
}, L.apply(this, arguments);
|
|
1163
1163
|
};
|
|
1164
|
-
function
|
|
1164
|
+
function gn(e, t) {
|
|
1165
1165
|
var r = {};
|
|
1166
1166
|
for (var n in e)
|
|
1167
1167
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -1170,41 +1170,41 @@ function vn(e, t) {
|
|
|
1170
1170
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
1171
1171
|
return r;
|
|
1172
1172
|
}
|
|
1173
|
-
function
|
|
1173
|
+
function He(e, t, r) {
|
|
1174
1174
|
if (r || arguments.length === 2)
|
|
1175
1175
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
1176
1176
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
1177
1177
|
return e.concat(o || Array.prototype.slice.call(t));
|
|
1178
1178
|
}
|
|
1179
|
-
function
|
|
1180
|
-
var r = t && t.cache ? t.cache :
|
|
1179
|
+
function Ce(e, t) {
|
|
1180
|
+
var r = t && t.cache ? t.cache : Pn, n = t && t.serializer ? t.serializer : wn, i = t && t.strategy ? t.strategy : En;
|
|
1181
1181
|
return i(e, {
|
|
1182
1182
|
cache: r,
|
|
1183
1183
|
serializer: n
|
|
1184
1184
|
});
|
|
1185
1185
|
}
|
|
1186
|
-
function
|
|
1186
|
+
function xn(e) {
|
|
1187
1187
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1188
1188
|
}
|
|
1189
|
-
function
|
|
1190
|
-
var i =
|
|
1189
|
+
function _n(e, t, r, n) {
|
|
1190
|
+
var i = xn(n) ? n : r(n), o = t.get(i);
|
|
1191
1191
|
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1192
1192
|
}
|
|
1193
|
-
function
|
|
1193
|
+
function jt(e, t, r) {
|
|
1194
1194
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1195
1195
|
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1196
1196
|
}
|
|
1197
|
-
function
|
|
1197
|
+
function kt(e, t, r, n, i) {
|
|
1198
1198
|
return r.bind(t, e, n, i);
|
|
1199
1199
|
}
|
|
1200
|
-
function
|
|
1201
|
-
var r = e.length === 1 ?
|
|
1202
|
-
return
|
|
1200
|
+
function En(e, t) {
|
|
1201
|
+
var r = e.length === 1 ? _n : jt;
|
|
1202
|
+
return kt(e, this, r, t.cache.create(), t.serializer);
|
|
1203
1203
|
}
|
|
1204
|
-
function
|
|
1205
|
-
return
|
|
1204
|
+
function Sn(e, t) {
|
|
1205
|
+
return kt(e, this, jt, t.cache.create(), t.serializer);
|
|
1206
1206
|
}
|
|
1207
|
-
var
|
|
1207
|
+
var wn = function() {
|
|
1208
1208
|
return JSON.stringify(arguments);
|
|
1209
1209
|
}, Tn = (
|
|
1210
1210
|
/** @class */
|
|
@@ -1218,71 +1218,71 @@ var En = function() {
|
|
|
1218
1218
|
this.cache[t] = r;
|
|
1219
1219
|
}, e;
|
|
1220
1220
|
}()
|
|
1221
|
-
),
|
|
1221
|
+
), Pn = {
|
|
1222
1222
|
create: function() {
|
|
1223
1223
|
return new Tn();
|
|
1224
1224
|
}
|
|
1225
|
-
},
|
|
1226
|
-
variadic:
|
|
1227
|
-
},
|
|
1228
|
-
return
|
|
1225
|
+
}, Ae = {
|
|
1226
|
+
variadic: Sn
|
|
1227
|
+
}, de = function() {
|
|
1228
|
+
return de = Object.assign || function(t) {
|
|
1229
1229
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1230
1230
|
r = arguments[n];
|
|
1231
1231
|
for (var o in r)
|
|
1232
1232
|
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1233
1233
|
}
|
|
1234
1234
|
return t;
|
|
1235
|
-
},
|
|
1235
|
+
}, de.apply(this, arguments);
|
|
1236
1236
|
};
|
|
1237
|
-
var
|
|
1237
|
+
var m;
|
|
1238
1238
|
(function(e) {
|
|
1239
1239
|
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";
|
|
1240
|
-
})(
|
|
1240
|
+
})(m || (m = {}));
|
|
1241
1241
|
var x;
|
|
1242
1242
|
(function(e) {
|
|
1243
1243
|
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";
|
|
1244
1244
|
})(x || (x = {}));
|
|
1245
|
-
var
|
|
1245
|
+
var W;
|
|
1246
1246
|
(function(e) {
|
|
1247
1247
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1248
|
-
})(
|
|
1249
|
-
function
|
|
1248
|
+
})(W || (W = {}));
|
|
1249
|
+
function bt(e) {
|
|
1250
1250
|
return e.type === x.literal;
|
|
1251
1251
|
}
|
|
1252
|
-
function
|
|
1252
|
+
function Hn(e) {
|
|
1253
1253
|
return e.type === x.argument;
|
|
1254
1254
|
}
|
|
1255
|
-
function
|
|
1255
|
+
function Vt(e) {
|
|
1256
1256
|
return e.type === x.number;
|
|
1257
1257
|
}
|
|
1258
|
-
function
|
|
1258
|
+
function Wt(e) {
|
|
1259
1259
|
return e.type === x.date;
|
|
1260
1260
|
}
|
|
1261
|
-
function
|
|
1261
|
+
function zt(e) {
|
|
1262
1262
|
return e.type === x.time;
|
|
1263
1263
|
}
|
|
1264
|
-
function
|
|
1264
|
+
function Xt(e) {
|
|
1265
1265
|
return e.type === x.select;
|
|
1266
1266
|
}
|
|
1267
|
-
function
|
|
1267
|
+
function qt(e) {
|
|
1268
1268
|
return e.type === x.plural;
|
|
1269
1269
|
}
|
|
1270
|
-
function
|
|
1270
|
+
function Cn(e) {
|
|
1271
1271
|
return e.type === x.pound;
|
|
1272
1272
|
}
|
|
1273
|
-
function
|
|
1273
|
+
function Zt(e) {
|
|
1274
1274
|
return e.type === x.tag;
|
|
1275
1275
|
}
|
|
1276
|
-
function
|
|
1277
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1276
|
+
function Yt(e) {
|
|
1277
|
+
return !!(e && typeof e == "object" && e.type === W.number);
|
|
1278
1278
|
}
|
|
1279
|
-
function
|
|
1280
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1279
|
+
function ke(e) {
|
|
1280
|
+
return !!(e && typeof e == "object" && e.type === W.dateTime);
|
|
1281
1281
|
}
|
|
1282
|
-
var
|
|
1282
|
+
var Qt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, An = /(?:[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;
|
|
1283
1283
|
function In(e) {
|
|
1284
1284
|
var t = {};
|
|
1285
|
-
return e.replace(
|
|
1285
|
+
return e.replace(An, function(r) {
|
|
1286
1286
|
var n = r.length;
|
|
1287
1287
|
switch (r[0]) {
|
|
1288
1288
|
case "G":
|
|
@@ -1381,11 +1381,11 @@ var _ = function() {
|
|
|
1381
1381
|
return t;
|
|
1382
1382
|
}, _.apply(this, arguments);
|
|
1383
1383
|
};
|
|
1384
|
-
var
|
|
1385
|
-
function
|
|
1384
|
+
var Bn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1385
|
+
function On(e) {
|
|
1386
1386
|
if (e.length === 0)
|
|
1387
1387
|
throw new Error("Number skeleton cannot be empty");
|
|
1388
|
-
for (var t = e.split(
|
|
1388
|
+
for (var t = e.split(Bn).filter(function(c) {
|
|
1389
1389
|
return c.length > 0;
|
|
1390
1390
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1391
1391
|
var o = i[n], a = o.split("/");
|
|
@@ -1400,17 +1400,17 @@ function Bn(e) {
|
|
|
1400
1400
|
}
|
|
1401
1401
|
return r;
|
|
1402
1402
|
}
|
|
1403
|
-
function
|
|
1403
|
+
function Ln(e) {
|
|
1404
1404
|
return e.replace(/^(.*?)-/, "");
|
|
1405
1405
|
}
|
|
1406
|
-
var
|
|
1407
|
-
function
|
|
1406
|
+
var vt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Jt = /^(@+)?(\+|#+)?[rs]?$/g, Mn = /(\*)(0+)|(#+)(0+)|(0+)/g, Kt = /^(0+)$/;
|
|
1407
|
+
function yt(e) {
|
|
1408
1408
|
var t = {};
|
|
1409
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1409
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Jt, function(r, n, i) {
|
|
1410
1410
|
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)), "";
|
|
1411
1411
|
}), t;
|
|
1412
1412
|
}
|
|
1413
|
-
function
|
|
1413
|
+
function er(e) {
|
|
1414
1414
|
switch (e) {
|
|
1415
1415
|
case "sign-auto":
|
|
1416
1416
|
return {
|
|
@@ -1450,7 +1450,7 @@ function Jt(e) {
|
|
|
1450
1450
|
};
|
|
1451
1451
|
}
|
|
1452
1452
|
}
|
|
1453
|
-
function
|
|
1453
|
+
function Nn(e) {
|
|
1454
1454
|
var t;
|
|
1455
1455
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1456
1456
|
notation: "engineering"
|
|
@@ -1458,17 +1458,17 @@ function Ln(e) {
|
|
|
1458
1458
|
notation: "scientific"
|
|
1459
1459
|
}, e = e.slice(1)), t) {
|
|
1460
1460
|
var r = e.slice(0, 2);
|
|
1461
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1461
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Kt.test(e))
|
|
1462
1462
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1463
1463
|
t.minimumIntegerDigits = e.length;
|
|
1464
1464
|
}
|
|
1465
1465
|
return t;
|
|
1466
1466
|
}
|
|
1467
|
-
function
|
|
1468
|
-
var t = {}, r =
|
|
1467
|
+
function gt(e) {
|
|
1468
|
+
var t = {}, r = er(e);
|
|
1469
1469
|
return r || t;
|
|
1470
1470
|
}
|
|
1471
|
-
function
|
|
1471
|
+
function $n(e) {
|
|
1472
1472
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1473
1473
|
var i = n[r];
|
|
1474
1474
|
switch (i.stem) {
|
|
@@ -1492,7 +1492,7 @@ function Mn(e) {
|
|
|
1492
1492
|
continue;
|
|
1493
1493
|
case "measure-unit":
|
|
1494
1494
|
case "unit":
|
|
1495
|
-
t.style = "unit", t.unit =
|
|
1495
|
+
t.style = "unit", t.unit = Ln(i.options[0]);
|
|
1496
1496
|
continue;
|
|
1497
1497
|
case "compact-short":
|
|
1498
1498
|
case "K":
|
|
@@ -1504,12 +1504,12 @@ function Mn(e) {
|
|
|
1504
1504
|
continue;
|
|
1505
1505
|
case "scientific":
|
|
1506
1506
|
t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1507
|
-
return _(_({}, l),
|
|
1507
|
+
return _(_({}, l), gt(u));
|
|
1508
1508
|
}, {}));
|
|
1509
1509
|
continue;
|
|
1510
1510
|
case "engineering":
|
|
1511
1511
|
t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1512
|
-
return _(_({}, l),
|
|
1512
|
+
return _(_({}, l), gt(u));
|
|
1513
1513
|
}, {}));
|
|
1514
1514
|
continue;
|
|
1515
1515
|
case "notation-simple":
|
|
@@ -1554,7 +1554,7 @@ function Mn(e) {
|
|
|
1554
1554
|
case "integer-width":
|
|
1555
1555
|
if (i.options.length > 1)
|
|
1556
1556
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1557
|
-
i.options[0].replace(
|
|
1557
|
+
i.options[0].replace(Mn, function(l, u, h, f, c, p) {
|
|
1558
1558
|
if (u)
|
|
1559
1559
|
t.minimumIntegerDigits = h.length;
|
|
1560
1560
|
else {
|
|
@@ -1567,32 +1567,32 @@ function Mn(e) {
|
|
|
1567
1567
|
});
|
|
1568
1568
|
continue;
|
|
1569
1569
|
}
|
|
1570
|
-
if (
|
|
1570
|
+
if (Kt.test(i.stem)) {
|
|
1571
1571
|
t.minimumIntegerDigits = i.stem.length;
|
|
1572
1572
|
continue;
|
|
1573
1573
|
}
|
|
1574
|
-
if (
|
|
1574
|
+
if (vt.test(i.stem)) {
|
|
1575
1575
|
if (i.options.length > 1)
|
|
1576
1576
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1577
|
-
i.stem.replace(
|
|
1577
|
+
i.stem.replace(vt, function(l, u, h, f, c, p) {
|
|
1578
1578
|
return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && p ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1579
1579
|
});
|
|
1580
1580
|
var o = i.options[0];
|
|
1581
|
-
o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t),
|
|
1581
|
+
o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), yt(o)));
|
|
1582
1582
|
continue;
|
|
1583
1583
|
}
|
|
1584
|
-
if (
|
|
1585
|
-
t = _(_({}, t),
|
|
1584
|
+
if (Jt.test(i.stem)) {
|
|
1585
|
+
t = _(_({}, t), yt(i.stem));
|
|
1586
1586
|
continue;
|
|
1587
1587
|
}
|
|
1588
|
-
var a =
|
|
1588
|
+
var a = er(i.stem);
|
|
1589
1589
|
a && (t = _(_({}, t), a));
|
|
1590
|
-
var s =
|
|
1590
|
+
var s = Nn(i.stem);
|
|
1591
1591
|
s && (t = _(_({}, t), s));
|
|
1592
1592
|
}
|
|
1593
1593
|
return t;
|
|
1594
1594
|
}
|
|
1595
|
-
var
|
|
1595
|
+
var le = {
|
|
1596
1596
|
"001": [
|
|
1597
1597
|
"H",
|
|
1598
1598
|
"h"
|
|
@@ -3007,13 +3007,13 @@ var ue = {
|
|
|
3007
3007
|
"h"
|
|
3008
3008
|
]
|
|
3009
3009
|
};
|
|
3010
|
-
function
|
|
3010
|
+
function Rn(e, t) {
|
|
3011
3011
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3012
3012
|
var i = e.charAt(n);
|
|
3013
3013
|
if (i === "j") {
|
|
3014
3014
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3015
3015
|
o++, n++;
|
|
3016
|
-
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u =
|
|
3016
|
+
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Un(t);
|
|
3017
3017
|
for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
|
|
3018
3018
|
r += l;
|
|
3019
3019
|
for (; a-- > 0; )
|
|
@@ -3023,7 +3023,7 @@ function Nn(e, t) {
|
|
|
3023
3023
|
}
|
|
3024
3024
|
return r;
|
|
3025
3025
|
}
|
|
3026
|
-
function
|
|
3026
|
+
function Un(e) {
|
|
3027
3027
|
var t = e.hourCycle;
|
|
3028
3028
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3029
3029
|
e.hourCycles && // @ts-ignore
|
|
@@ -3042,23 +3042,23 @@ function $n(e) {
|
|
|
3042
3042
|
}
|
|
3043
3043
|
var r = e.language, n;
|
|
3044
3044
|
r !== "root" && (n = e.maximize().region);
|
|
3045
|
-
var i =
|
|
3045
|
+
var i = le[n || ""] || le[r || ""] || le["".concat(r, "-001")] || le["001"];
|
|
3046
3046
|
return i[0];
|
|
3047
3047
|
}
|
|
3048
|
-
var
|
|
3049
|
-
function
|
|
3048
|
+
var Ie, Gn = new RegExp("^".concat(Qt.source, "*")), Dn = new RegExp("".concat(Qt.source, "*$"));
|
|
3049
|
+
function b(e, t) {
|
|
3050
3050
|
return { start: e, end: t };
|
|
3051
3051
|
}
|
|
3052
|
-
var
|
|
3052
|
+
var Fn = !!String.prototype.startsWith && "_a".startsWith("a", 1), jn = !!String.fromCodePoint, kn = !!Object.fromEntries, Vn = !!String.prototype.codePointAt, Wn = !!String.prototype.trimStart, zn = !!String.prototype.trimEnd, Xn = !!Number.isSafeInteger, qn = Xn ? Number.isSafeInteger : function(e) {
|
|
3053
3053
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3054
|
-
},
|
|
3054
|
+
}, Ve = !0;
|
|
3055
3055
|
try {
|
|
3056
|
-
var
|
|
3057
|
-
|
|
3056
|
+
var Zn = rr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3057
|
+
Ve = ((Ie = Zn.exec("a")) === null || Ie === void 0 ? void 0 : Ie[0]) === "a";
|
|
3058
3058
|
} catch (e) {
|
|
3059
|
-
|
|
3059
|
+
Ve = !1;
|
|
3060
3060
|
}
|
|
3061
|
-
var
|
|
3061
|
+
var xt = Fn ? (
|
|
3062
3062
|
// Native
|
|
3063
3063
|
function(t, r, n) {
|
|
3064
3064
|
return t.startsWith(r, n);
|
|
@@ -3068,7 +3068,7 @@ var gt = Gn ? (
|
|
|
3068
3068
|
function(t, r, n) {
|
|
3069
3069
|
return t.slice(n, n + r.length) === r;
|
|
3070
3070
|
}
|
|
3071
|
-
),
|
|
3071
|
+
), We = jn ? String.fromCodePoint : (
|
|
3072
3072
|
// IE11
|
|
3073
3073
|
function() {
|
|
3074
3074
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3080,9 +3080,9 @@ var gt = Gn ? (
|
|
|
3080
3080
|
}
|
|
3081
3081
|
return n;
|
|
3082
3082
|
}
|
|
3083
|
-
),
|
|
3083
|
+
), _t = (
|
|
3084
3084
|
// native
|
|
3085
|
-
|
|
3085
|
+
kn ? Object.fromEntries : (
|
|
3086
3086
|
// Ponyfill
|
|
3087
3087
|
function(t) {
|
|
3088
3088
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3092,7 +3092,7 @@ var gt = Gn ? (
|
|
|
3092
3092
|
return r;
|
|
3093
3093
|
}
|
|
3094
3094
|
)
|
|
3095
|
-
),
|
|
3095
|
+
), tr = Vn ? (
|
|
3096
3096
|
// Native
|
|
3097
3097
|
function(t, r) {
|
|
3098
3098
|
return t.codePointAt(r);
|
|
@@ -3106,7 +3106,7 @@ var gt = Gn ? (
|
|
|
3106
3106
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3107
3107
|
}
|
|
3108
3108
|
}
|
|
3109
|
-
),
|
|
3109
|
+
), Yn = Wn ? (
|
|
3110
3110
|
// Native
|
|
3111
3111
|
function(t) {
|
|
3112
3112
|
return t.trimStart();
|
|
@@ -3114,9 +3114,9 @@ var gt = Gn ? (
|
|
|
3114
3114
|
) : (
|
|
3115
3115
|
// Ponyfill
|
|
3116
3116
|
function(t) {
|
|
3117
|
-
return t.replace(
|
|
3117
|
+
return t.replace(Gn, "");
|
|
3118
3118
|
}
|
|
3119
|
-
),
|
|
3119
|
+
), Qn = zn ? (
|
|
3120
3120
|
// Native
|
|
3121
3121
|
function(t) {
|
|
3122
3122
|
return t.trimEnd();
|
|
@@ -3124,32 +3124,32 @@ var gt = Gn ? (
|
|
|
3124
3124
|
) : (
|
|
3125
3125
|
// Ponyfill
|
|
3126
3126
|
function(t) {
|
|
3127
|
-
return t.replace(
|
|
3127
|
+
return t.replace(Dn, "");
|
|
3128
3128
|
}
|
|
3129
3129
|
);
|
|
3130
|
-
function
|
|
3130
|
+
function rr(e, t) {
|
|
3131
3131
|
return new RegExp(e, t);
|
|
3132
3132
|
}
|
|
3133
3133
|
var ze;
|
|
3134
|
-
if (
|
|
3135
|
-
var
|
|
3134
|
+
if (Ve) {
|
|
3135
|
+
var Et = rr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3136
3136
|
ze = function(t, r) {
|
|
3137
3137
|
var n;
|
|
3138
|
-
|
|
3139
|
-
var i =
|
|
3138
|
+
Et.lastIndex = r;
|
|
3139
|
+
var i = Et.exec(t);
|
|
3140
3140
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3141
3141
|
};
|
|
3142
3142
|
} else
|
|
3143
3143
|
ze = function(t, r) {
|
|
3144
3144
|
for (var n = []; ; ) {
|
|
3145
|
-
var i =
|
|
3146
|
-
if (i === void 0 ||
|
|
3145
|
+
var i = tr(t, r);
|
|
3146
|
+
if (i === void 0 || nr(i) || ti(i))
|
|
3147
3147
|
break;
|
|
3148
3148
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3149
3149
|
}
|
|
3150
|
-
return
|
|
3150
|
+
return We.apply(void 0, n);
|
|
3151
3151
|
};
|
|
3152
|
-
var
|
|
3152
|
+
var Jn = (
|
|
3153
3153
|
/** @class */
|
|
3154
3154
|
function() {
|
|
3155
3155
|
function e(t, r) {
|
|
@@ -3174,13 +3174,13 @@ var Yn = (
|
|
|
3174
3174
|
var s = this.clonePosition();
|
|
3175
3175
|
this.bump(), i.push({
|
|
3176
3176
|
type: x.pound,
|
|
3177
|
-
location:
|
|
3177
|
+
location: b(s, this.clonePosition())
|
|
3178
3178
|
});
|
|
3179
3179
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3180
3180
|
if (n)
|
|
3181
3181
|
break;
|
|
3182
|
-
return this.error(
|
|
3183
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3182
|
+
return this.error(m.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
|
|
3183
|
+
} else if (o === 60 && !this.ignoreTag && Xe(this.peek() || 0)) {
|
|
3184
3184
|
var a = this.parseTag(t, r);
|
|
3185
3185
|
if (a.err)
|
|
3186
3186
|
return a;
|
|
@@ -3203,7 +3203,7 @@ var Yn = (
|
|
|
3203
3203
|
val: {
|
|
3204
3204
|
type: x.literal,
|
|
3205
3205
|
value: "<".concat(i, "/>"),
|
|
3206
|
-
location:
|
|
3206
|
+
location: b(n, this.clonePosition())
|
|
3207
3207
|
},
|
|
3208
3208
|
err: null
|
|
3209
3209
|
};
|
|
@@ -3213,25 +3213,25 @@ var Yn = (
|
|
|
3213
3213
|
return o;
|
|
3214
3214
|
var a = o.val, s = this.clonePosition();
|
|
3215
3215
|
if (this.bumpIf("</")) {
|
|
3216
|
-
if (this.isEOF() || !
|
|
3217
|
-
return this.error(
|
|
3216
|
+
if (this.isEOF() || !Xe(this.char()))
|
|
3217
|
+
return this.error(m.INVALID_TAG, b(s, this.clonePosition()));
|
|
3218
3218
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
3219
|
-
return i !== u ? this.error(
|
|
3219
|
+
return i !== u ? this.error(m.UNMATCHED_CLOSING_TAG, b(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3220
3220
|
val: {
|
|
3221
3221
|
type: x.tag,
|
|
3222
3222
|
value: i,
|
|
3223
3223
|
children: a,
|
|
3224
|
-
location:
|
|
3224
|
+
location: b(n, this.clonePosition())
|
|
3225
3225
|
},
|
|
3226
3226
|
err: null
|
|
3227
|
-
} : this.error(
|
|
3227
|
+
} : this.error(m.INVALID_TAG, b(s, this.clonePosition())));
|
|
3228
3228
|
} else
|
|
3229
|
-
return this.error(
|
|
3229
|
+
return this.error(m.UNCLOSED_TAG, b(n, this.clonePosition()));
|
|
3230
3230
|
} else
|
|
3231
|
-
return this.error(
|
|
3231
|
+
return this.error(m.INVALID_TAG, b(n, this.clonePosition()));
|
|
3232
3232
|
}, e.prototype.parseTagName = function() {
|
|
3233
3233
|
var t = this.offset();
|
|
3234
|
-
for (this.bump(); !this.isEOF() &&
|
|
3234
|
+
for (this.bump(); !this.isEOF() && ei(this.char()); )
|
|
3235
3235
|
this.bump();
|
|
3236
3236
|
return this.message.slice(t, this.offset());
|
|
3237
3237
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3253,14 +3253,14 @@ var Yn = (
|
|
|
3253
3253
|
}
|
|
3254
3254
|
break;
|
|
3255
3255
|
}
|
|
3256
|
-
var l =
|
|
3256
|
+
var l = b(n, this.clonePosition());
|
|
3257
3257
|
return {
|
|
3258
3258
|
val: { type: x.literal, value: i, location: l },
|
|
3259
3259
|
err: null
|
|
3260
3260
|
};
|
|
3261
3261
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3262
3262
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3263
|
-
!
|
|
3263
|
+
!Kn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3264
3264
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3265
3265
|
if (this.isEOF() || this.char() !== 39)
|
|
3266
3266
|
return null;
|
|
@@ -3294,23 +3294,23 @@ var Yn = (
|
|
|
3294
3294
|
r.push(n);
|
|
3295
3295
|
this.bump();
|
|
3296
3296
|
}
|
|
3297
|
-
return
|
|
3297
|
+
return We.apply(void 0, r);
|
|
3298
3298
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3299
3299
|
if (this.isEOF())
|
|
3300
3300
|
return null;
|
|
3301
3301
|
var n = this.char();
|
|
3302
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3302
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), We(n));
|
|
3303
3303
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3304
3304
|
var n = this.clonePosition();
|
|
3305
3305
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
3306
|
-
return this.error(
|
|
3306
|
+
return this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
|
|
3307
3307
|
if (this.char() === 125)
|
|
3308
|
-
return this.bump(), this.error(
|
|
3308
|
+
return this.bump(), this.error(m.EMPTY_ARGUMENT, b(n, this.clonePosition()));
|
|
3309
3309
|
var i = this.parseIdentifierIfPossible().value;
|
|
3310
3310
|
if (!i)
|
|
3311
|
-
return this.error(
|
|
3311
|
+
return this.error(m.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
|
|
3312
3312
|
if (this.bumpSpace(), this.isEOF())
|
|
3313
|
-
return this.error(
|
|
3313
|
+
return this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
|
|
3314
3314
|
switch (this.char()) {
|
|
3315
3315
|
case 125:
|
|
3316
3316
|
return this.bump(), {
|
|
@@ -3318,25 +3318,25 @@ var Yn = (
|
|
|
3318
3318
|
type: x.argument,
|
|
3319
3319
|
// value does not include the opening and closing braces.
|
|
3320
3320
|
value: i,
|
|
3321
|
-
location:
|
|
3321
|
+
location: b(n, this.clonePosition())
|
|
3322
3322
|
},
|
|
3323
3323
|
err: null
|
|
3324
3324
|
};
|
|
3325
3325
|
case 44:
|
|
3326
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(
|
|
3326
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
|
3327
3327
|
default:
|
|
3328
|
-
return this.error(
|
|
3328
|
+
return this.error(m.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
|
|
3329
3329
|
}
|
|
3330
3330
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3331
3331
|
var t = this.clonePosition(), r = this.offset(), n = ze(this.message, r), i = r + n.length;
|
|
3332
3332
|
this.bumpTo(i);
|
|
3333
|
-
var o = this.clonePosition(), a =
|
|
3333
|
+
var o = this.clonePosition(), a = b(t, o);
|
|
3334
3334
|
return { value: n, location: a };
|
|
3335
3335
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
3336
3336
|
var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, l = this.clonePosition();
|
|
3337
3337
|
switch (s) {
|
|
3338
3338
|
case "":
|
|
3339
|
-
return this.error(
|
|
3339
|
+
return this.error(m.EXPECT_ARGUMENT_TYPE, b(a, l));
|
|
3340
3340
|
case "number":
|
|
3341
3341
|
case "date":
|
|
3342
3342
|
case "time": {
|
|
@@ -3347,37 +3347,37 @@ var Yn = (
|
|
|
3347
3347
|
var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
3348
3348
|
if (f.err)
|
|
3349
3349
|
return f;
|
|
3350
|
-
var c =
|
|
3350
|
+
var c = Qn(f.val);
|
|
3351
3351
|
if (c.length === 0)
|
|
3352
|
-
return this.error(
|
|
3353
|
-
var p =
|
|
3352
|
+
return this.error(m.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
|
|
3353
|
+
var p = b(h, this.clonePosition());
|
|
3354
3354
|
u = { style: c, styleLocation: p };
|
|
3355
3355
|
}
|
|
3356
3356
|
var d = this.tryParseArgumentClose(i);
|
|
3357
3357
|
if (d.err)
|
|
3358
3358
|
return d;
|
|
3359
|
-
var
|
|
3360
|
-
if (u &&
|
|
3361
|
-
var
|
|
3359
|
+
var y = b(i, this.clonePosition());
|
|
3360
|
+
if (u && xt(u == null ? void 0 : u.style, "::", 0)) {
|
|
3361
|
+
var w = Yn(u.style.slice(2));
|
|
3362
3362
|
if (s === "number") {
|
|
3363
|
-
var f = this.parseNumberSkeletonFromString(
|
|
3363
|
+
var f = this.parseNumberSkeletonFromString(w, u.styleLocation);
|
|
3364
3364
|
return f.err ? f : {
|
|
3365
|
-
val: { type: x.number, value: n, location:
|
|
3365
|
+
val: { type: x.number, value: n, location: y, style: f.val },
|
|
3366
3366
|
err: null
|
|
3367
3367
|
};
|
|
3368
3368
|
} else {
|
|
3369
|
-
if (
|
|
3370
|
-
return this.error(
|
|
3371
|
-
var H =
|
|
3372
|
-
this.locale && (H =
|
|
3369
|
+
if (w.length === 0)
|
|
3370
|
+
return this.error(m.EXPECT_DATE_TIME_SKELETON, y);
|
|
3371
|
+
var H = w;
|
|
3372
|
+
this.locale && (H = Rn(w, this.locale));
|
|
3373
3373
|
var c = {
|
|
3374
|
-
type:
|
|
3374
|
+
type: W.dateTime,
|
|
3375
3375
|
pattern: H,
|
|
3376
3376
|
location: u.styleLocation,
|
|
3377
3377
|
parsedOptions: this.shouldParseSkeletons ? In(H) : {}
|
|
3378
3378
|
}, E = s === "date" ? x.date : x.time;
|
|
3379
3379
|
return {
|
|
3380
|
-
val: { type: E, value: n, location:
|
|
3380
|
+
val: { type: E, value: n, location: y, style: c },
|
|
3381
3381
|
err: null
|
|
3382
3382
|
};
|
|
3383
3383
|
}
|
|
@@ -3386,7 +3386,7 @@ var Yn = (
|
|
|
3386
3386
|
val: {
|
|
3387
3387
|
type: s === "number" ? x.number : s === "date" ? x.date : x.time,
|
|
3388
3388
|
value: n,
|
|
3389
|
-
location:
|
|
3389
|
+
location: y,
|
|
3390
3390
|
style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
|
|
3391
3391
|
},
|
|
3392
3392
|
err: null
|
|
@@ -3395,52 +3395,52 @@ var Yn = (
|
|
|
3395
3395
|
case "plural":
|
|
3396
3396
|
case "selectordinal":
|
|
3397
3397
|
case "select": {
|
|
3398
|
-
var
|
|
3398
|
+
var g = this.clonePosition();
|
|
3399
3399
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3400
|
-
return this.error(
|
|
3400
|
+
return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS, b(g, de({}, g)));
|
|
3401
3401
|
this.bumpSpace();
|
|
3402
|
-
var
|
|
3403
|
-
if (s !== "select" &&
|
|
3402
|
+
var T = this.parseIdentifierIfPossible(), M = 0;
|
|
3403
|
+
if (s !== "select" && T.value === "offset") {
|
|
3404
3404
|
if (!this.bumpIf(":"))
|
|
3405
|
-
return this.error(
|
|
3405
|
+
return this.error(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b(this.clonePosition(), this.clonePosition()));
|
|
3406
3406
|
this.bumpSpace();
|
|
3407
|
-
var f = this.tryParseDecimalInteger(
|
|
3407
|
+
var f = this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, m.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3408
3408
|
if (f.err)
|
|
3409
3409
|
return f;
|
|
3410
|
-
this.bumpSpace(),
|
|
3410
|
+
this.bumpSpace(), T = this.parseIdentifierIfPossible(), M = f.val;
|
|
3411
3411
|
}
|
|
3412
|
-
var
|
|
3413
|
-
if (
|
|
3414
|
-
return
|
|
3412
|
+
var v = this.tryParsePluralOrSelectOptions(t, s, r, T);
|
|
3413
|
+
if (v.err)
|
|
3414
|
+
return v;
|
|
3415
3415
|
var d = this.tryParseArgumentClose(i);
|
|
3416
3416
|
if (d.err)
|
|
3417
3417
|
return d;
|
|
3418
|
-
var
|
|
3418
|
+
var N = b(i, this.clonePosition());
|
|
3419
3419
|
return s === "select" ? {
|
|
3420
3420
|
val: {
|
|
3421
3421
|
type: x.select,
|
|
3422
3422
|
value: n,
|
|
3423
|
-
options:
|
|
3424
|
-
location:
|
|
3423
|
+
options: _t(v.val),
|
|
3424
|
+
location: N
|
|
3425
3425
|
},
|
|
3426
3426
|
err: null
|
|
3427
3427
|
} : {
|
|
3428
3428
|
val: {
|
|
3429
3429
|
type: x.plural,
|
|
3430
3430
|
value: n,
|
|
3431
|
-
options:
|
|
3432
|
-
offset:
|
|
3431
|
+
options: _t(v.val),
|
|
3432
|
+
offset: M,
|
|
3433
3433
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
3434
|
-
location:
|
|
3434
|
+
location: N
|
|
3435
3435
|
},
|
|
3436
3436
|
err: null
|
|
3437
3437
|
};
|
|
3438
3438
|
}
|
|
3439
3439
|
default:
|
|
3440
|
-
return this.error(
|
|
3440
|
+
return this.error(m.INVALID_ARGUMENT_TYPE, b(a, l));
|
|
3441
3441
|
}
|
|
3442
3442
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3443
|
-
return this.isEOF() || this.char() !== 125 ? this.error(
|
|
3443
|
+
return this.isEOF() || this.char() !== 125 ? this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, b(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
3444
3444
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
3445
3445
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
3446
3446
|
var n = this.char();
|
|
@@ -3449,7 +3449,7 @@ var Yn = (
|
|
|
3449
3449
|
this.bump();
|
|
3450
3450
|
var i = this.clonePosition();
|
|
3451
3451
|
if (!this.bumpUntil("'"))
|
|
3452
|
-
return this.error(
|
|
3452
|
+
return this.error(m.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, b(i, this.clonePosition()));
|
|
3453
3453
|
this.bump();
|
|
3454
3454
|
break;
|
|
3455
3455
|
}
|
|
@@ -3479,16 +3479,16 @@ var Yn = (
|
|
|
3479
3479
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3480
3480
|
var n = [];
|
|
3481
3481
|
try {
|
|
3482
|
-
n =
|
|
3482
|
+
n = On(t);
|
|
3483
3483
|
} catch (i) {
|
|
3484
|
-
return this.error(
|
|
3484
|
+
return this.error(m.INVALID_NUMBER_SKELETON, r);
|
|
3485
3485
|
}
|
|
3486
3486
|
return {
|
|
3487
3487
|
val: {
|
|
3488
|
-
type:
|
|
3488
|
+
type: W.number,
|
|
3489
3489
|
tokens: n,
|
|
3490
3490
|
location: r,
|
|
3491
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3491
|
+
parsedOptions: this.shouldParseSkeletons ? $n(n) : {}
|
|
3492
3492
|
},
|
|
3493
3493
|
err: null
|
|
3494
3494
|
};
|
|
@@ -3497,34 +3497,34 @@ var Yn = (
|
|
|
3497
3497
|
if (u.length === 0) {
|
|
3498
3498
|
var f = this.clonePosition();
|
|
3499
3499
|
if (r !== "select" && this.bumpIf("=")) {
|
|
3500
|
-
var c = this.tryParseDecimalInteger(
|
|
3500
|
+
var c = this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_SELECTOR, m.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3501
3501
|
if (c.err)
|
|
3502
3502
|
return c;
|
|
3503
|
-
h =
|
|
3503
|
+
h = b(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
|
|
3504
3504
|
} else
|
|
3505
3505
|
break;
|
|
3506
3506
|
}
|
|
3507
3507
|
if (l.has(u))
|
|
3508
|
-
return this.error(r === "select" ?
|
|
3508
|
+
return this.error(r === "select" ? m.DUPLICATE_SELECT_ARGUMENT_SELECTOR : m.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
|
|
3509
3509
|
u === "other" && (a = !0), this.bumpSpace();
|
|
3510
3510
|
var p = this.clonePosition();
|
|
3511
3511
|
if (!this.bumpIf("{"))
|
|
3512
|
-
return this.error(r === "select" ?
|
|
3512
|
+
return this.error(r === "select" ? m.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : m.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, b(this.clonePosition(), this.clonePosition()));
|
|
3513
3513
|
var d = this.parseMessage(t + 1, r, n);
|
|
3514
3514
|
if (d.err)
|
|
3515
3515
|
return d;
|
|
3516
|
-
var
|
|
3517
|
-
if (
|
|
3518
|
-
return
|
|
3516
|
+
var y = this.tryParseArgumentClose(p);
|
|
3517
|
+
if (y.err)
|
|
3518
|
+
return y;
|
|
3519
3519
|
s.push([
|
|
3520
3520
|
u,
|
|
3521
3521
|
{
|
|
3522
3522
|
value: d.val,
|
|
3523
|
-
location:
|
|
3523
|
+
location: b(p, this.clonePosition())
|
|
3524
3524
|
}
|
|
3525
3525
|
]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
|
|
3526
3526
|
}
|
|
3527
|
-
return s.length === 0 ? this.error(r === "select" ?
|
|
3527
|
+
return s.length === 0 ? this.error(r === "select" ? m.EXPECT_SELECT_ARGUMENT_SELECTOR : m.EXPECT_PLURAL_ARGUMENT_SELECTOR, b(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(m.MISSING_OTHER_CLAUSE, b(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
|
|
3528
3528
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3529
3529
|
var n = 1, i = this.clonePosition();
|
|
3530
3530
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
@@ -3535,8 +3535,8 @@ var Yn = (
|
|
|
3535
3535
|
else
|
|
3536
3536
|
break;
|
|
3537
3537
|
}
|
|
3538
|
-
var l =
|
|
3539
|
-
return o ? (a *= n,
|
|
3538
|
+
var l = b(i, this.clonePosition());
|
|
3539
|
+
return o ? (a *= n, qn(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3540
3540
|
}, e.prototype.offset = function() {
|
|
3541
3541
|
return this.position.offset;
|
|
3542
3542
|
}, e.prototype.isEOF = function() {
|
|
@@ -3551,7 +3551,7 @@ var Yn = (
|
|
|
3551
3551
|
var t = this.position.offset;
|
|
3552
3552
|
if (t >= this.message.length)
|
|
3553
3553
|
throw Error("out of bound");
|
|
3554
|
-
var r =
|
|
3554
|
+
var r = tr(this.message, t);
|
|
3555
3555
|
if (r === void 0)
|
|
3556
3556
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3557
3557
|
return r;
|
|
@@ -3570,7 +3570,7 @@ var Yn = (
|
|
|
3570
3570
|
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);
|
|
3571
3571
|
}
|
|
3572
3572
|
}, e.prototype.bumpIf = function(t) {
|
|
3573
|
-
if (
|
|
3573
|
+
if (xt(this.message, t, this.offset())) {
|
|
3574
3574
|
for (var r = 0; r < t.length; r++)
|
|
3575
3575
|
this.bump();
|
|
3576
3576
|
return !0;
|
|
@@ -3592,7 +3592,7 @@ var Yn = (
|
|
|
3592
3592
|
break;
|
|
3593
3593
|
}
|
|
3594
3594
|
}, e.prototype.bumpSpace = function() {
|
|
3595
|
-
for (; !this.isEOF() &&
|
|
3595
|
+
for (; !this.isEOF() && nr(this.char()); )
|
|
3596
3596
|
this.bump();
|
|
3597
3597
|
}, e.prototype.peek = function() {
|
|
3598
3598
|
if (this.isEOF())
|
|
@@ -3602,44 +3602,44 @@ var Yn = (
|
|
|
3602
3602
|
}, e;
|
|
3603
3603
|
}()
|
|
3604
3604
|
);
|
|
3605
|
-
function
|
|
3605
|
+
function Xe(e) {
|
|
3606
3606
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3607
3607
|
}
|
|
3608
|
-
function
|
|
3609
|
-
return
|
|
3608
|
+
function Kn(e) {
|
|
3609
|
+
return Xe(e) || e === 47;
|
|
3610
3610
|
}
|
|
3611
|
-
function
|
|
3611
|
+
function ei(e) {
|
|
3612
3612
|
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;
|
|
3613
3613
|
}
|
|
3614
|
-
function
|
|
3614
|
+
function nr(e) {
|
|
3615
3615
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3616
3616
|
}
|
|
3617
|
-
function
|
|
3617
|
+
function ti(e) {
|
|
3618
3618
|
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;
|
|
3619
3619
|
}
|
|
3620
|
-
function
|
|
3620
|
+
function qe(e) {
|
|
3621
3621
|
e.forEach(function(t) {
|
|
3622
|
-
if (delete t.location,
|
|
3622
|
+
if (delete t.location, Xt(t) || qt(t))
|
|
3623
3623
|
for (var r in t.options)
|
|
3624
|
-
delete t.options[r].location,
|
|
3624
|
+
delete t.options[r].location, qe(t.options[r].value);
|
|
3625
3625
|
else
|
|
3626
|
-
|
|
3626
|
+
Vt(t) && Yt(t.style) || (Wt(t) || zt(t)) && ke(t.style) ? delete t.style.location : Zt(t) && qe(t.children);
|
|
3627
3627
|
});
|
|
3628
3628
|
}
|
|
3629
|
-
function
|
|
3630
|
-
t === void 0 && (t = {}), t =
|
|
3631
|
-
var r = new
|
|
3629
|
+
function ri(e, t) {
|
|
3630
|
+
t === void 0 && (t = {}), t = de({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3631
|
+
var r = new Jn(e, t).parse();
|
|
3632
3632
|
if (r.err) {
|
|
3633
|
-
var n = SyntaxError(
|
|
3633
|
+
var n = SyntaxError(m[r.err.kind]);
|
|
3634
3634
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3635
3635
|
}
|
|
3636
|
-
return t != null && t.captureLocation ||
|
|
3636
|
+
return t != null && t.captureLocation || qe(r.val), r.val;
|
|
3637
3637
|
}
|
|
3638
|
-
var
|
|
3638
|
+
var z;
|
|
3639
3639
|
(function(e) {
|
|
3640
3640
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3641
|
-
})(
|
|
3642
|
-
var
|
|
3641
|
+
})(z || (z = {}));
|
|
3642
|
+
var xe = (
|
|
3643
3643
|
/** @class */
|
|
3644
3644
|
function(e) {
|
|
3645
3645
|
ge(t, e);
|
|
@@ -3651,153 +3651,153 @@ var ye = (
|
|
|
3651
3651
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3652
3652
|
}, t;
|
|
3653
3653
|
}(Error)
|
|
3654
|
-
),
|
|
3654
|
+
), St = (
|
|
3655
3655
|
/** @class */
|
|
3656
3656
|
function(e) {
|
|
3657
3657
|
ge(t, e);
|
|
3658
3658
|
function t(r, n, i, o) {
|
|
3659
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3659
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), z.INVALID_VALUE, o) || this;
|
|
3660
3660
|
}
|
|
3661
3661
|
return t;
|
|
3662
|
-
}(
|
|
3663
|
-
),
|
|
3662
|
+
}(xe)
|
|
3663
|
+
), ni = (
|
|
3664
3664
|
/** @class */
|
|
3665
3665
|
function(e) {
|
|
3666
3666
|
ge(t, e);
|
|
3667
3667
|
function t(r, n, i) {
|
|
3668
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3668
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), z.INVALID_VALUE, i) || this;
|
|
3669
3669
|
}
|
|
3670
3670
|
return t;
|
|
3671
|
-
}(
|
|
3672
|
-
),
|
|
3671
|
+
}(xe)
|
|
3672
|
+
), ii = (
|
|
3673
3673
|
/** @class */
|
|
3674
3674
|
function(e) {
|
|
3675
3675
|
ge(t, e);
|
|
3676
3676
|
function t(r, n) {
|
|
3677
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3677
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), z.MISSING_VALUE, n) || this;
|
|
3678
3678
|
}
|
|
3679
3679
|
return t;
|
|
3680
|
-
}(
|
|
3681
|
-
),
|
|
3680
|
+
}(xe)
|
|
3681
|
+
), S;
|
|
3682
3682
|
(function(e) {
|
|
3683
3683
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3684
|
-
})(
|
|
3685
|
-
function
|
|
3684
|
+
})(S || (S = {}));
|
|
3685
|
+
function oi(e) {
|
|
3686
3686
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3687
3687
|
var n = t[t.length - 1];
|
|
3688
|
-
return !n || n.type !==
|
|
3688
|
+
return !n || n.type !== S.literal || r.type !== S.literal ? t.push(r) : n.value += r.value, t;
|
|
3689
3689
|
}, []);
|
|
3690
3690
|
}
|
|
3691
|
-
function
|
|
3691
|
+
function ai(e) {
|
|
3692
3692
|
return typeof e == "function";
|
|
3693
3693
|
}
|
|
3694
|
-
function
|
|
3695
|
-
if (e.length === 1 &&
|
|
3694
|
+
function fe(e, t, r, n, i, o, a) {
|
|
3695
|
+
if (e.length === 1 && bt(e[0]))
|
|
3696
3696
|
return [
|
|
3697
3697
|
{
|
|
3698
|
-
type:
|
|
3698
|
+
type: S.literal,
|
|
3699
3699
|
value: e[0].value
|
|
3700
3700
|
}
|
|
3701
3701
|
];
|
|
3702
3702
|
for (var s = [], l = 0, u = e; l < u.length; l++) {
|
|
3703
3703
|
var h = u[l];
|
|
3704
|
-
if (
|
|
3704
|
+
if (bt(h)) {
|
|
3705
3705
|
s.push({
|
|
3706
|
-
type:
|
|
3706
|
+
type: S.literal,
|
|
3707
3707
|
value: h.value
|
|
3708
3708
|
});
|
|
3709
3709
|
continue;
|
|
3710
3710
|
}
|
|
3711
|
-
if (
|
|
3711
|
+
if (Cn(h)) {
|
|
3712
3712
|
typeof o == "number" && s.push({
|
|
3713
|
-
type:
|
|
3713
|
+
type: S.literal,
|
|
3714
3714
|
value: r.getNumberFormat(t).format(o)
|
|
3715
3715
|
});
|
|
3716
3716
|
continue;
|
|
3717
3717
|
}
|
|
3718
3718
|
var f = h.value;
|
|
3719
3719
|
if (!(i && f in i))
|
|
3720
|
-
throw new
|
|
3720
|
+
throw new ii(f, a);
|
|
3721
3721
|
var c = i[f];
|
|
3722
|
-
if (
|
|
3722
|
+
if (Hn(h)) {
|
|
3723
3723
|
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), s.push({
|
|
3724
|
-
type: typeof c == "string" ?
|
|
3724
|
+
type: typeof c == "string" ? S.literal : S.object,
|
|
3725
3725
|
value: c
|
|
3726
3726
|
});
|
|
3727
3727
|
continue;
|
|
3728
3728
|
}
|
|
3729
|
-
if (
|
|
3730
|
-
var p = typeof h.style == "string" ? n.date[h.style] :
|
|
3729
|
+
if (Wt(h)) {
|
|
3730
|
+
var p = typeof h.style == "string" ? n.date[h.style] : ke(h.style) ? h.style.parsedOptions : void 0;
|
|
3731
3731
|
s.push({
|
|
3732
|
-
type:
|
|
3732
|
+
type: S.literal,
|
|
3733
3733
|
value: r.getDateTimeFormat(t, p).format(c)
|
|
3734
3734
|
});
|
|
3735
3735
|
continue;
|
|
3736
3736
|
}
|
|
3737
|
-
if (
|
|
3738
|
-
var p = typeof h.style == "string" ? n.time[h.style] :
|
|
3737
|
+
if (zt(h)) {
|
|
3738
|
+
var p = typeof h.style == "string" ? n.time[h.style] : ke(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3739
3739
|
s.push({
|
|
3740
|
-
type:
|
|
3740
|
+
type: S.literal,
|
|
3741
3741
|
value: r.getDateTimeFormat(t, p).format(c)
|
|
3742
3742
|
});
|
|
3743
3743
|
continue;
|
|
3744
3744
|
}
|
|
3745
|
-
if (
|
|
3746
|
-
var p = typeof h.style == "string" ? n.number[h.style] :
|
|
3745
|
+
if (Vt(h)) {
|
|
3746
|
+
var p = typeof h.style == "string" ? n.number[h.style] : Yt(h.style) ? h.style.parsedOptions : void 0;
|
|
3747
3747
|
p && p.scale && (c = c * (p.scale || 1)), s.push({
|
|
3748
|
-
type:
|
|
3748
|
+
type: S.literal,
|
|
3749
3749
|
value: r.getNumberFormat(t, p).format(c)
|
|
3750
3750
|
});
|
|
3751
3751
|
continue;
|
|
3752
3752
|
}
|
|
3753
|
-
if (
|
|
3754
|
-
var d = h.children,
|
|
3755
|
-
if (!
|
|
3756
|
-
throw new
|
|
3757
|
-
var H =
|
|
3758
|
-
return
|
|
3753
|
+
if (Zt(h)) {
|
|
3754
|
+
var d = h.children, y = h.value, w = i[y];
|
|
3755
|
+
if (!ai(w))
|
|
3756
|
+
throw new ni(y, "function", a);
|
|
3757
|
+
var H = fe(d, t, r, n, i, o), E = w(H.map(function(M) {
|
|
3758
|
+
return M.value;
|
|
3759
3759
|
}));
|
|
3760
|
-
Array.isArray(E) || (E = [E]), s.push.apply(s, E.map(function(
|
|
3760
|
+
Array.isArray(E) || (E = [E]), s.push.apply(s, E.map(function(M) {
|
|
3761
3761
|
return {
|
|
3762
|
-
type: typeof
|
|
3763
|
-
value:
|
|
3762
|
+
type: typeof M == "string" ? S.literal : S.object,
|
|
3763
|
+
value: M
|
|
3764
3764
|
};
|
|
3765
3765
|
}));
|
|
3766
3766
|
}
|
|
3767
|
-
if (
|
|
3768
|
-
var
|
|
3769
|
-
if (!
|
|
3770
|
-
throw new
|
|
3771
|
-
s.push.apply(s,
|
|
3767
|
+
if (Xt(h)) {
|
|
3768
|
+
var g = h.options[c] || h.options.other;
|
|
3769
|
+
if (!g)
|
|
3770
|
+
throw new St(h.value, c, Object.keys(h.options), a);
|
|
3771
|
+
s.push.apply(s, fe(g.value, t, r, n, i));
|
|
3772
3772
|
continue;
|
|
3773
3773
|
}
|
|
3774
|
-
if (
|
|
3775
|
-
var
|
|
3776
|
-
if (!
|
|
3774
|
+
if (qt(h)) {
|
|
3775
|
+
var g = h.options["=".concat(c)];
|
|
3776
|
+
if (!g) {
|
|
3777
3777
|
if (!Intl.PluralRules)
|
|
3778
|
-
throw new
|
|
3778
|
+
throw new xe(`Intl.PluralRules is not available in this environment.
|
|
3779
3779
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3780
|
-
`,
|
|
3781
|
-
var
|
|
3782
|
-
|
|
3780
|
+
`, z.MISSING_INTL_API, a);
|
|
3781
|
+
var T = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
|
|
3782
|
+
g = h.options[T] || h.options.other;
|
|
3783
3783
|
}
|
|
3784
|
-
if (!
|
|
3785
|
-
throw new
|
|
3786
|
-
s.push.apply(s,
|
|
3784
|
+
if (!g)
|
|
3785
|
+
throw new St(h.value, c, Object.keys(h.options), a);
|
|
3786
|
+
s.push.apply(s, fe(g.value, t, r, n, i, c - (h.offset || 0)));
|
|
3787
3787
|
continue;
|
|
3788
3788
|
}
|
|
3789
3789
|
}
|
|
3790
|
-
return
|
|
3790
|
+
return oi(s);
|
|
3791
3791
|
}
|
|
3792
|
-
function
|
|
3793
|
-
return t ?
|
|
3794
|
-
return r[n] =
|
|
3792
|
+
function si(e, t) {
|
|
3793
|
+
return t ? L(L(L({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3794
|
+
return r[n] = L(L({}, e[n]), t[n] || {}), r;
|
|
3795
3795
|
}, {})) : e;
|
|
3796
3796
|
}
|
|
3797
|
-
function
|
|
3797
|
+
function ui(e, t) {
|
|
3798
3798
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3799
|
-
return r[n] =
|
|
3800
|
-
},
|
|
3799
|
+
return r[n] = si(e[n], t[n]), r;
|
|
3800
|
+
}, L({}, e)) : e;
|
|
3801
3801
|
}
|
|
3802
3802
|
function Be(e) {
|
|
3803
3803
|
return {
|
|
@@ -3813,39 +3813,39 @@ function Be(e) {
|
|
|
3813
3813
|
}
|
|
3814
3814
|
};
|
|
3815
3815
|
}
|
|
3816
|
-
function
|
|
3816
|
+
function li(e) {
|
|
3817
3817
|
return e === void 0 && (e = {
|
|
3818
3818
|
number: {},
|
|
3819
3819
|
dateTime: {},
|
|
3820
3820
|
pluralRules: {}
|
|
3821
3821
|
}), {
|
|
3822
|
-
getNumberFormat:
|
|
3822
|
+
getNumberFormat: Ce(function() {
|
|
3823
3823
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3824
3824
|
r[n] = arguments[n];
|
|
3825
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3825
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, He([void 0], r, !1)))();
|
|
3826
3826
|
}, {
|
|
3827
3827
|
cache: Be(e.number),
|
|
3828
|
-
strategy:
|
|
3828
|
+
strategy: Ae.variadic
|
|
3829
3829
|
}),
|
|
3830
|
-
getDateTimeFormat:
|
|
3830
|
+
getDateTimeFormat: Ce(function() {
|
|
3831
3831
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3832
3832
|
r[n] = arguments[n];
|
|
3833
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3833
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, He([void 0], r, !1)))();
|
|
3834
3834
|
}, {
|
|
3835
3835
|
cache: Be(e.dateTime),
|
|
3836
|
-
strategy:
|
|
3836
|
+
strategy: Ae.variadic
|
|
3837
3837
|
}),
|
|
3838
|
-
getPluralRules:
|
|
3838
|
+
getPluralRules: Ce(function() {
|
|
3839
3839
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3840
3840
|
r[n] = arguments[n];
|
|
3841
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3841
|
+
return new ((t = Intl.PluralRules).bind.apply(t, He([void 0], r, !1)))();
|
|
3842
3842
|
}, {
|
|
3843
3843
|
cache: Be(e.pluralRules),
|
|
3844
|
-
strategy:
|
|
3844
|
+
strategy: Ae.variadic
|
|
3845
3845
|
})
|
|
3846
3846
|
};
|
|
3847
3847
|
}
|
|
3848
|
-
var
|
|
3848
|
+
var hi = (
|
|
3849
3849
|
/** @class */
|
|
3850
3850
|
function() {
|
|
3851
3851
|
function e(t, r, n, i) {
|
|
@@ -3860,11 +3860,11 @@ var ui = (
|
|
|
3860
3860
|
if (u.length === 1)
|
|
3861
3861
|
return u[0].value;
|
|
3862
3862
|
var h = u.reduce(function(f, c) {
|
|
3863
|
-
return !f.length || c.type !==
|
|
3863
|
+
return !f.length || c.type !== S.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
|
|
3864
3864
|
}, []);
|
|
3865
3865
|
return h.length <= 1 ? h[0] || "" : h;
|
|
3866
3866
|
}, this.formatToParts = function(l) {
|
|
3867
|
-
return
|
|
3867
|
+
return fe(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
|
|
3868
3868
|
}, this.resolvedOptions = function() {
|
|
3869
3869
|
var l;
|
|
3870
3870
|
return {
|
|
@@ -3877,13 +3877,13 @@ var ui = (
|
|
|
3877
3877
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3878
3878
|
var a = i || {};
|
|
3879
3879
|
a.formatters;
|
|
3880
|
-
var s =
|
|
3881
|
-
this.ast = e.__parse(t,
|
|
3880
|
+
var s = gn(a, ["formatters"]);
|
|
3881
|
+
this.ast = e.__parse(t, L(L({}, s), { locale: this.resolvedLocale }));
|
|
3882
3882
|
} else
|
|
3883
3883
|
this.ast = t;
|
|
3884
3884
|
if (!Array.isArray(this.ast))
|
|
3885
3885
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3886
|
-
this.formats =
|
|
3886
|
+
this.formats = ui(e.formats, n), this.formatters = i && i.formatters || li(this.formatterCache);
|
|
3887
3887
|
}
|
|
3888
3888
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3889
3889
|
get: function() {
|
|
@@ -3896,7 +3896,7 @@ var ui = (
|
|
|
3896
3896
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3897
3897
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3898
3898
|
}
|
|
3899
|
-
}, e.__parse =
|
|
3899
|
+
}, e.__parse = ri, e.formats = {
|
|
3900
3900
|
number: {
|
|
3901
3901
|
integer: {
|
|
3902
3902
|
maximumFractionDigits: 0
|
|
@@ -3957,7 +3957,7 @@ var ui = (
|
|
|
3957
3957
|
}, e;
|
|
3958
3958
|
}()
|
|
3959
3959
|
);
|
|
3960
|
-
function
|
|
3960
|
+
function ci(e, t) {
|
|
3961
3961
|
if (t == null)
|
|
3962
3962
|
return;
|
|
3963
3963
|
if (t in e)
|
|
@@ -3978,92 +3978,92 @@ function li(e, t) {
|
|
|
3978
3978
|
n = void 0;
|
|
3979
3979
|
return n;
|
|
3980
3980
|
}
|
|
3981
|
-
const
|
|
3981
|
+
const R = {}, fi = (e, t, r) => r && (t in R || (R[t] = {}), e in R[t] || (R[t][e] = r), r), ir = (e, t) => {
|
|
3982
3982
|
if (t == null)
|
|
3983
3983
|
return;
|
|
3984
|
-
if (t in
|
|
3985
|
-
return
|
|
3986
|
-
const r =
|
|
3984
|
+
if (t in R && e in R[t])
|
|
3985
|
+
return R[t][e];
|
|
3986
|
+
const r = _e(t);
|
|
3987
3987
|
for (let n = 0; n < r.length; n++) {
|
|
3988
|
-
const i = r[n], o =
|
|
3988
|
+
const i = r[n], o = di(i, e);
|
|
3989
3989
|
if (o)
|
|
3990
|
-
return
|
|
3990
|
+
return fi(e, t, o);
|
|
3991
3991
|
}
|
|
3992
3992
|
};
|
|
3993
|
-
let
|
|
3994
|
-
const
|
|
3995
|
-
function
|
|
3996
|
-
return
|
|
3993
|
+
let Ke;
|
|
3994
|
+
const se = ye({});
|
|
3995
|
+
function pi(e) {
|
|
3996
|
+
return Ke[e] || null;
|
|
3997
3997
|
}
|
|
3998
|
-
function
|
|
3999
|
-
return e in
|
|
3998
|
+
function or(e) {
|
|
3999
|
+
return e in Ke;
|
|
4000
4000
|
}
|
|
4001
|
-
function
|
|
4002
|
-
if (!
|
|
4001
|
+
function di(e, t) {
|
|
4002
|
+
if (!or(e))
|
|
4003
4003
|
return null;
|
|
4004
|
-
const r =
|
|
4005
|
-
return
|
|
4004
|
+
const r = pi(e);
|
|
4005
|
+
return ci(r, t);
|
|
4006
4006
|
}
|
|
4007
|
-
function
|
|
4007
|
+
function mi(e) {
|
|
4008
4008
|
if (e == null)
|
|
4009
4009
|
return;
|
|
4010
|
-
const t =
|
|
4010
|
+
const t = _e(e);
|
|
4011
4011
|
for (let r = 0; r < t.length; r++) {
|
|
4012
4012
|
const n = t[r];
|
|
4013
|
-
if (
|
|
4013
|
+
if (or(n))
|
|
4014
4014
|
return n;
|
|
4015
4015
|
}
|
|
4016
4016
|
}
|
|
4017
|
-
function
|
|
4018
|
-
delete
|
|
4017
|
+
function ar(e, ...t) {
|
|
4018
|
+
delete R[e], se.update((r) => (r[e] = yn.all([r[e] || {}, ...t]), r));
|
|
4019
4019
|
}
|
|
4020
|
-
|
|
4021
|
-
[
|
|
4020
|
+
Z(
|
|
4021
|
+
[se],
|
|
4022
4022
|
([e]) => Object.keys(e)
|
|
4023
4023
|
);
|
|
4024
|
-
|
|
4025
|
-
const
|
|
4026
|
-
function
|
|
4027
|
-
|
|
4024
|
+
se.subscribe((e) => Ke = e);
|
|
4025
|
+
const pe = {};
|
|
4026
|
+
function bi(e, t) {
|
|
4027
|
+
pe[e].delete(t), pe[e].size === 0 && delete pe[e];
|
|
4028
4028
|
}
|
|
4029
|
-
function
|
|
4030
|
-
return
|
|
4029
|
+
function sr(e) {
|
|
4030
|
+
return pe[e];
|
|
4031
4031
|
}
|
|
4032
|
-
function
|
|
4033
|
-
return
|
|
4034
|
-
const r =
|
|
4032
|
+
function vi(e) {
|
|
4033
|
+
return _e(e).map((t) => {
|
|
4034
|
+
const r = sr(t);
|
|
4035
4035
|
return [t, r ? [...r] : []];
|
|
4036
4036
|
}).filter(([, t]) => t.length > 0);
|
|
4037
4037
|
}
|
|
4038
|
-
function
|
|
4039
|
-
return e == null ? !1 :
|
|
4038
|
+
function Ze(e) {
|
|
4039
|
+
return e == null ? !1 : _e(e).some(
|
|
4040
4040
|
(t) => {
|
|
4041
4041
|
var r;
|
|
4042
|
-
return (r =
|
|
4042
|
+
return (r = sr(t)) == null ? void 0 : r.size;
|
|
4043
4043
|
}
|
|
4044
4044
|
);
|
|
4045
4045
|
}
|
|
4046
|
-
function
|
|
4046
|
+
function yi(e, t) {
|
|
4047
4047
|
return Promise.all(
|
|
4048
|
-
t.map((n) => (
|
|
4049
|
-
).then((n) =>
|
|
4050
|
-
}
|
|
4051
|
-
const
|
|
4052
|
-
function
|
|
4053
|
-
if (!
|
|
4054
|
-
return e in
|
|
4055
|
-
const t =
|
|
4056
|
-
return
|
|
4048
|
+
t.map((n) => (bi(e, n), n().then((i) => i.default || i)))
|
|
4049
|
+
).then((n) => ar(e, ...n));
|
|
4050
|
+
}
|
|
4051
|
+
const J = {};
|
|
4052
|
+
function ur(e) {
|
|
4053
|
+
if (!Ze(e))
|
|
4054
|
+
return e in J ? J[e] : Promise.resolve();
|
|
4055
|
+
const t = vi(e);
|
|
4056
|
+
return J[e] = Promise.all(
|
|
4057
4057
|
t.map(
|
|
4058
|
-
([r, n]) =>
|
|
4058
|
+
([r, n]) => yi(r, n)
|
|
4059
4059
|
)
|
|
4060
4060
|
).then(() => {
|
|
4061
|
-
if (
|
|
4062
|
-
return
|
|
4063
|
-
delete
|
|
4064
|
-
}),
|
|
4061
|
+
if (Ze(e))
|
|
4062
|
+
return ur(e);
|
|
4063
|
+
delete J[e];
|
|
4064
|
+
}), J[e];
|
|
4065
4065
|
}
|
|
4066
|
-
const
|
|
4066
|
+
const gi = {
|
|
4067
4067
|
number: {
|
|
4068
4068
|
scientific: { notation: "scientific" },
|
|
4069
4069
|
engineering: { notation: "engineering" },
|
|
@@ -4092,150 +4092,150 @@ const vi = {
|
|
|
4092
4092
|
timeZoneName: "short"
|
|
4093
4093
|
}
|
|
4094
4094
|
}
|
|
4095
|
-
},
|
|
4095
|
+
}, xi = {
|
|
4096
4096
|
fallbackLocale: null,
|
|
4097
4097
|
loadingDelay: 200,
|
|
4098
|
-
formats:
|
|
4098
|
+
formats: gi,
|
|
4099
4099
|
warnOnMissingMessages: !0,
|
|
4100
4100
|
handleMissingMessage: void 0,
|
|
4101
4101
|
ignoreTag: !0
|
|
4102
|
-
},
|
|
4103
|
-
function
|
|
4104
|
-
return
|
|
4102
|
+
}, _i = xi;
|
|
4103
|
+
function X() {
|
|
4104
|
+
return _i;
|
|
4105
4105
|
}
|
|
4106
|
-
const
|
|
4107
|
-
var
|
|
4106
|
+
const Oe = ye(!1);
|
|
4107
|
+
var Ei = Object.defineProperty, Si = Object.defineProperties, wi = Object.getOwnPropertyDescriptors, wt = Object.getOwnPropertySymbols, Ti = Object.prototype.hasOwnProperty, Pi = Object.prototype.propertyIsEnumerable, Tt = (e, t, r) => t in e ? Ei(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Hi = (e, t) => {
|
|
4108
4108
|
for (var r in t || (t = {}))
|
|
4109
4109
|
Ti.call(t, r) && Tt(e, r, t[r]);
|
|
4110
|
-
if (
|
|
4111
|
-
for (var r of
|
|
4112
|
-
|
|
4110
|
+
if (wt)
|
|
4111
|
+
for (var r of wt(t))
|
|
4112
|
+
Pi.call(t, r) && Tt(e, r, t[r]);
|
|
4113
4113
|
return e;
|
|
4114
|
-
},
|
|
4115
|
-
let
|
|
4116
|
-
const
|
|
4117
|
-
function
|
|
4114
|
+
}, Ci = (e, t) => Si(e, wi(t));
|
|
4115
|
+
let Ye;
|
|
4116
|
+
const me = ye(null);
|
|
4117
|
+
function Pt(e) {
|
|
4118
4118
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4119
4119
|
}
|
|
4120
|
-
function
|
|
4121
|
-
const r =
|
|
4122
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4120
|
+
function _e(e, t = X().fallbackLocale) {
|
|
4121
|
+
const r = Pt(e);
|
|
4122
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Pt(t)])] : r;
|
|
4123
4123
|
}
|
|
4124
|
-
function
|
|
4125
|
-
return
|
|
4124
|
+
function U() {
|
|
4125
|
+
return Ye != null ? Ye : void 0;
|
|
4126
4126
|
}
|
|
4127
|
-
|
|
4128
|
-
|
|
4127
|
+
me.subscribe((e) => {
|
|
4128
|
+
Ye = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4129
4129
|
});
|
|
4130
|
-
const
|
|
4131
|
-
if (e &&
|
|
4132
|
-
const { loadingDelay: t } =
|
|
4130
|
+
const Ai = (e) => {
|
|
4131
|
+
if (e && mi(e) && Ze(e)) {
|
|
4132
|
+
const { loadingDelay: t } = X();
|
|
4133
4133
|
let r;
|
|
4134
|
-
return typeof window != "undefined" &&
|
|
4135
|
-
() =>
|
|
4134
|
+
return typeof window != "undefined" && U() != null && t ? r = window.setTimeout(
|
|
4135
|
+
() => Oe.set(!0),
|
|
4136
4136
|
t
|
|
4137
|
-
) :
|
|
4138
|
-
|
|
4137
|
+
) : Oe.set(!0), ur(e).then(() => {
|
|
4138
|
+
me.set(e);
|
|
4139
4139
|
}).finally(() => {
|
|
4140
|
-
clearTimeout(r),
|
|
4140
|
+
clearTimeout(r), Oe.set(!1);
|
|
4141
4141
|
});
|
|
4142
4142
|
}
|
|
4143
|
-
return
|
|
4144
|
-
},
|
|
4145
|
-
set:
|
|
4146
|
-
}),
|
|
4143
|
+
return me.set(e);
|
|
4144
|
+
}, Y = Ci(Hi({}, me), {
|
|
4145
|
+
set: Ai
|
|
4146
|
+
}), Ee = (e) => {
|
|
4147
4147
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4148
4148
|
return (n) => {
|
|
4149
4149
|
const i = JSON.stringify(n);
|
|
4150
4150
|
return i in t ? t[i] : t[i] = e(n);
|
|
4151
4151
|
};
|
|
4152
4152
|
};
|
|
4153
|
-
var Ii = Object.defineProperty,
|
|
4153
|
+
var Ii = Object.defineProperty, be = Object.getOwnPropertySymbols, lr = Object.prototype.hasOwnProperty, hr = Object.prototype.propertyIsEnumerable, Ht = (e, t, r) => t in e ? Ii(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, et = (e, t) => {
|
|
4154
4154
|
for (var r in t || (t = {}))
|
|
4155
|
-
|
|
4156
|
-
if (
|
|
4157
|
-
for (var r of
|
|
4158
|
-
|
|
4155
|
+
lr.call(t, r) && Ht(e, r, t[r]);
|
|
4156
|
+
if (be)
|
|
4157
|
+
for (var r of be(t))
|
|
4158
|
+
hr.call(t, r) && Ht(e, r, t[r]);
|
|
4159
4159
|
return e;
|
|
4160
|
-
},
|
|
4160
|
+
}, Q = (e, t) => {
|
|
4161
4161
|
var r = {};
|
|
4162
4162
|
for (var n in e)
|
|
4163
|
-
|
|
4164
|
-
if (e != null &&
|
|
4165
|
-
for (var n of
|
|
4166
|
-
t.indexOf(n) < 0 &&
|
|
4163
|
+
lr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4164
|
+
if (e != null && be)
|
|
4165
|
+
for (var n of be(e))
|
|
4166
|
+
t.indexOf(n) < 0 && hr.call(e, n) && (r[n] = e[n]);
|
|
4167
4167
|
return r;
|
|
4168
4168
|
};
|
|
4169
|
-
const
|
|
4170
|
-
const { formats: r } =
|
|
4169
|
+
const re = (e, t) => {
|
|
4170
|
+
const { formats: r } = X();
|
|
4171
4171
|
if (e in r && t in r[e])
|
|
4172
4172
|
return r[e][t];
|
|
4173
4173
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4174
|
-
},
|
|
4174
|
+
}, Bi = Ee(
|
|
4175
4175
|
(e) => {
|
|
4176
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4176
|
+
var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
|
|
4177
4177
|
if (r == null)
|
|
4178
4178
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4179
|
-
return n && (i =
|
|
4179
|
+
return n && (i = re("number", n)), new Intl.NumberFormat(r, i);
|
|
4180
4180
|
}
|
|
4181
|
-
),
|
|
4181
|
+
), Oi = Ee(
|
|
4182
4182
|
(e) => {
|
|
4183
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4183
|
+
var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
|
|
4184
4184
|
if (r == null)
|
|
4185
4185
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4186
|
-
return n ? i =
|
|
4186
|
+
return n ? i = re("date", n) : Object.keys(i).length === 0 && (i = re("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4187
4187
|
}
|
|
4188
|
-
),
|
|
4188
|
+
), Li = Ee(
|
|
4189
4189
|
(e) => {
|
|
4190
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4190
|
+
var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
|
|
4191
4191
|
if (r == null)
|
|
4192
4192
|
throw new Error(
|
|
4193
4193
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4194
4194
|
);
|
|
4195
|
-
return n ? i =
|
|
4195
|
+
return n ? i = re("time", n) : Object.keys(i).length === 0 && (i = re("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4196
4196
|
}
|
|
4197
|
-
),
|
|
4197
|
+
), Mi = (e = {}) => {
|
|
4198
4198
|
var t = e, {
|
|
4199
|
-
locale: r =
|
|
4200
|
-
} = t, n =
|
|
4199
|
+
locale: r = U()
|
|
4200
|
+
} = t, n = Q(t, [
|
|
4201
4201
|
"locale"
|
|
4202
4202
|
]);
|
|
4203
|
-
return
|
|
4204
|
-
},
|
|
4203
|
+
return Bi(et({ locale: r }, n));
|
|
4204
|
+
}, Ni = (e = {}) => {
|
|
4205
4205
|
var t = e, {
|
|
4206
|
-
locale: r =
|
|
4207
|
-
} = t, n =
|
|
4206
|
+
locale: r = U()
|
|
4207
|
+
} = t, n = Q(t, [
|
|
4208
4208
|
"locale"
|
|
4209
4209
|
]);
|
|
4210
|
-
return
|
|
4211
|
-
},
|
|
4210
|
+
return Oi(et({ locale: r }, n));
|
|
4211
|
+
}, $i = (e = {}) => {
|
|
4212
4212
|
var t = e, {
|
|
4213
|
-
locale: r =
|
|
4214
|
-
} = t, n =
|
|
4213
|
+
locale: r = U()
|
|
4214
|
+
} = t, n = Q(t, [
|
|
4215
4215
|
"locale"
|
|
4216
4216
|
]);
|
|
4217
|
-
return
|
|
4218
|
-
},
|
|
4217
|
+
return Li(et({ locale: r }, n));
|
|
4218
|
+
}, Ri = Ee(
|
|
4219
4219
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4220
|
-
(e, t =
|
|
4221
|
-
ignoreTag:
|
|
4220
|
+
(e, t = U()) => new hi(e, t, X().formats, {
|
|
4221
|
+
ignoreTag: X().ignoreTag
|
|
4222
4222
|
})
|
|
4223
|
-
),
|
|
4223
|
+
), Ui = (e, t = {}) => {
|
|
4224
4224
|
var r, n, i, o;
|
|
4225
4225
|
let a = t;
|
|
4226
4226
|
typeof e == "object" && (a = e, e = a.id);
|
|
4227
4227
|
const {
|
|
4228
4228
|
values: s,
|
|
4229
|
-
locale: l =
|
|
4229
|
+
locale: l = U(),
|
|
4230
4230
|
default: u
|
|
4231
4231
|
} = a;
|
|
4232
4232
|
if (l == null)
|
|
4233
4233
|
throw new Error(
|
|
4234
4234
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4235
4235
|
);
|
|
4236
|
-
let h =
|
|
4236
|
+
let h = ir(e, l);
|
|
4237
4237
|
if (!h)
|
|
4238
|
-
h = (o = (i = (n = (r =
|
|
4238
|
+
h = (o = (i = (n = (r = X()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4239
4239
|
else if (typeof h != "string")
|
|
4240
4240
|
return console.warn(
|
|
4241
4241
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
@@ -4244,7 +4244,7 @@ const te = (e, t) => {
|
|
|
4244
4244
|
return h;
|
|
4245
4245
|
let f = h;
|
|
4246
4246
|
try {
|
|
4247
|
-
f =
|
|
4247
|
+
f = Ri(h, l).format(s);
|
|
4248
4248
|
} catch (c) {
|
|
4249
4249
|
c instanceof Error && console.warn(
|
|
4250
4250
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4252,21 +4252,21 @@ const te = (e, t) => {
|
|
|
4252
4252
|
);
|
|
4253
4253
|
}
|
|
4254
4254
|
return f;
|
|
4255
|
-
},
|
|
4256
|
-
|
|
4257
|
-
|
|
4258
|
-
|
|
4259
|
-
|
|
4260
|
-
window.emWidgets = { topic:
|
|
4261
|
-
const
|
|
4255
|
+
}, Gi = (e, t) => $i(t).format(e), Di = (e, t) => Ni(t).format(e), Fi = (e, t) => Mi(t).format(e), ji = (e, t = U()) => ir(e, t), ki = Z([Y, se], () => Ui);
|
|
4256
|
+
Z([Y], () => Gi);
|
|
4257
|
+
Z([Y], () => Di);
|
|
4258
|
+
Z([Y], () => Fi);
|
|
4259
|
+
Z([Y, se], () => ji);
|
|
4260
|
+
window.emWidgets = { topic: en };
|
|
4261
|
+
const Vi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4262
4262
|
String(Number.MAX_SAFE_INTEGER).length;
|
|
4263
|
-
function
|
|
4264
|
-
|
|
4263
|
+
function Ct(e, t) {
|
|
4264
|
+
ar(e, t);
|
|
4265
4265
|
}
|
|
4266
|
-
function
|
|
4267
|
-
|
|
4266
|
+
function Wi(e) {
|
|
4267
|
+
Y.set(e);
|
|
4268
4268
|
}
|
|
4269
|
-
const
|
|
4269
|
+
const At = {
|
|
4270
4270
|
en: {
|
|
4271
4271
|
name: "Info",
|
|
4272
4272
|
amountChanged: "Your limit has been changed or increased: {amount} {currency}. You will have to wait for the expiration date for your new limit to take effect:",
|
|
@@ -4327,14 +4327,14 @@ const Ht = {
|
|
|
4327
4327
|
amountChanged: "Your limit has been changed or increased: {amount} {currency}. You will have to wait for the expiration date for your new limit to take effect:",
|
|
4328
4328
|
defaultText: "When you set a game limit, it takes effect from the moment you activate it and lasts until the end of the selected period. Therefore, if you set a daily limit at 14.00, the 24-hour period that counts is from its activation until 00:00 GMT. The limit is then valid for 24 days. you can lower a limit at any time with immediate effect. however, increasing or removing a limit will not apply until the current limit expires."
|
|
4329
4329
|
}
|
|
4330
|
-
};
|
|
4331
|
-
function
|
|
4330
|
+
}, j = "__WIDGET_GLOBAL_STYLE_CACHE__";
|
|
4331
|
+
function zi(e, t) {
|
|
4332
4332
|
if (e) {
|
|
4333
4333
|
const r = document.createElement("style");
|
|
4334
4334
|
r.innerHTML = t, e.appendChild(r);
|
|
4335
4335
|
}
|
|
4336
4336
|
}
|
|
4337
|
-
function
|
|
4337
|
+
function Xi(e, t) {
|
|
4338
4338
|
if (!e || !t)
|
|
4339
4339
|
return;
|
|
4340
4340
|
const r = new URL(t);
|
|
@@ -4345,82 +4345,110 @@ function zi(e, t) {
|
|
|
4345
4345
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4346
4346
|
});
|
|
4347
4347
|
}
|
|
4348
|
-
function
|
|
4349
|
-
if (window.emMessageBus)
|
|
4350
|
-
|
|
4351
|
-
|
|
4352
|
-
|
|
4348
|
+
function qi(e, t, r, n = !1) {
|
|
4349
|
+
if (!window.emMessageBus)
|
|
4350
|
+
return;
|
|
4351
|
+
if (!("adoptedStyleSheets" in Document.prototype) || !n)
|
|
4352
|
+
return r = Zi(e, t), r;
|
|
4353
|
+
window[j] || (window[j] = {}), r = Yi(e, t);
|
|
4354
|
+
const o = r.unsubscribe.bind(r), a = () => {
|
|
4355
|
+
if (window[j][t]) {
|
|
4356
|
+
const s = window[j][t];
|
|
4357
|
+
s.refCount > 1 ? s.refCount = s.refCount - 1 : delete window[j][t];
|
|
4358
|
+
}
|
|
4359
|
+
o();
|
|
4360
|
+
};
|
|
4361
|
+
return r.unsubscribe = a, r;
|
|
4362
|
+
}
|
|
4363
|
+
function Zi(e, t) {
|
|
4364
|
+
const r = document.createElement("style");
|
|
4365
|
+
return window.emMessageBus.subscribe(t, (n) => {
|
|
4366
|
+
e && (r.innerHTML = n, e.appendChild(r));
|
|
4367
|
+
});
|
|
4368
|
+
}
|
|
4369
|
+
function Yi(e, t) {
|
|
4370
|
+
return window.emMessageBus.subscribe(t, (r) => {
|
|
4371
|
+
var s;
|
|
4372
|
+
if (!e)
|
|
4373
|
+
return;
|
|
4374
|
+
const n = e.getRootNode(), i = window[j];
|
|
4375
|
+
let o = (s = i[t]) == null ? void 0 : s.sheet;
|
|
4376
|
+
o ? i[t].refCount = i[t].refCount + 1 : (o = new CSSStyleSheet(), o.replaceSync(r), i[t] = {
|
|
4377
|
+
sheet: o,
|
|
4378
|
+
refCount: 1
|
|
4353
4379
|
});
|
|
4354
|
-
|
|
4380
|
+
const a = n.adoptedStyleSheets || [];
|
|
4381
|
+
a.includes(o) || (n.adoptedStyleSheets = [...a, o]);
|
|
4382
|
+
});
|
|
4355
4383
|
}
|
|
4356
|
-
function
|
|
4357
|
-
|
|
4384
|
+
function Qi(e) {
|
|
4385
|
+
yr(e, "svelte-11p58yq", '.InfoCardPopupMobileModal:after{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0, 0, 0, 0.5);z-index:101;content:""}.InfoCardPopupLimitChanged{background:var(--emw--color-gray-50, #F9F8F8)}.InfoCardPopupWrapper{width:200px;padding:20px;color:var(--emw--color-black, #000000);background:var(--emw--color-white, #FFFFFF);box-shadow:0 4px 12px var(--emw--color-gray-100, #E6E6E6);border-radius:5px;display:block;position:absolute;top:32px;left:-84px;z-index:9}.InfoCardPopupWrapper:before{content:"";position:absolute;top:-7px;left:104px;border-style:solid;border-width:0 7px 7px;border-color:var(--emw--color-white, #FFFFFF) transparent;display:block;width:0;z-index:1}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper{width:70%;position:fixed;top:50%;left:50%;transform:translate(-50%, -50%);z-index:300}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper .InfoCardPopupTitle{font-size:18px}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper .InfoCardPopupCloseButton{width:30px}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper .InfoCardPopupContent{font-size:16px}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper:before{content:none}.InfoCardPopupHeader{display:inline-flex}.InfoCardPopupHeader .InfoCardPopupTitle{line-height:24px;font-size:16px;font-weight:400;padding-left:10px}.InfoCardPopupIcon{display:flex;font-size:24px;width:24px;height:24px;background:transparent;border:1px solid var(--emw--color-black, #000000);align-items:center;justify-content:center;border-radius:30px}.InfoCardPopupContent{font-size:14px;font-weight:300}.InfoCardPopupCloseButton{width:20px;position:absolute;right:10px;top:10px;cursor:pointer;transition-duration:0.3s}.InfoCardPopupCloseButton:hover{color:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));fill:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:32px;right:32px;padding:16px;border-radius:50%;color:var(--emw--color-white, #FFFFFF);cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:32px;height:32px;fill:var(--emw--color-black, #000000)}');
|
|
4358
4386
|
}
|
|
4359
4387
|
function It(e) {
|
|
4360
4388
|
let t, r, n, i, o, a, s = (
|
|
4361
4389
|
/*$_*/
|
|
4362
4390
|
e[4]("name") + ""
|
|
4363
|
-
), l, u, h, f, c, p, d,
|
|
4364
|
-
function
|
|
4391
|
+
), l, u, h, f, c, p, d, y;
|
|
4392
|
+
function w(g, T) {
|
|
4365
4393
|
return (
|
|
4366
4394
|
/*iteminfoamount*/
|
|
4367
|
-
|
|
4395
|
+
g[0] ? Ki : Ji
|
|
4368
4396
|
);
|
|
4369
4397
|
}
|
|
4370
|
-
let H =
|
|
4398
|
+
let H = w(e), E = H(e);
|
|
4371
4399
|
return {
|
|
4372
4400
|
c() {
|
|
4373
|
-
t =
|
|
4401
|
+
t = I("section"), r = I("div"), n = I("div"), i = I("div"), i.textContent = "i", o = we(), a = I("div"), l = oe(s), u = we(), h = I("div"), h.innerHTML = '<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg>', f = we(), c = I("div"), E.c(), A(i, "class", "InfoCardPopupIcon"), A(a, "class", "InfoCardPopupTitle"), A(h, "class", "InfoCardPopupCloseButton"), A(n, "class", "InfoCardPopupHeader"), A(c, "class", "InfoCardPopupContentArea"), A(r, "class", p = "InfoCardPopupWrapper " + /*isMobile*/
|
|
4374
4402
|
(e[5] ? "InfoCardPopupMobileWrapper" : "") + " " + /*iteminfoamount*/
|
|
4375
|
-
(e[0] ? "InfoCardPopupLimitChanged" : "")),
|
|
4403
|
+
(e[0] ? "InfoCardPopupLimitChanged" : "")), A(
|
|
4376
4404
|
t,
|
|
4377
4405
|
"class",
|
|
4378
4406
|
/*isMobile*/
|
|
4379
4407
|
e[5] ? "InfoCardPopupMobileModal" : ""
|
|
4380
4408
|
);
|
|
4381
4409
|
},
|
|
4382
|
-
m(
|
|
4383
|
-
|
|
4410
|
+
m(g, T) {
|
|
4411
|
+
ie(g, t, T), P(t, r), P(r, n), P(n, i), P(n, o), P(n, a), P(a, l), P(n, u), P(n, h), P(r, f), P(r, c), E.m(c, null), e[13](t), d || (y = Er(h, "click", Sr(
|
|
4384
4412
|
/*closeInfoPopup*/
|
|
4385
4413
|
e[6]
|
|
4386
4414
|
)), d = !0);
|
|
4387
4415
|
},
|
|
4388
|
-
p(
|
|
4389
|
-
|
|
4416
|
+
p(g, T) {
|
|
4417
|
+
T & /*$_*/
|
|
4390
4418
|
16 && s !== (s = /*$_*/
|
|
4391
|
-
|
|
4419
|
+
g[4]("name") + "") && Je(l, s), H === (H = w(g)) && E ? E.p(g, T) : (E.d(1), E = H(g), E && (E.c(), E.m(c, null))), T & /*iteminfoamount*/
|
|
4392
4420
|
1 && p !== (p = "InfoCardPopupWrapper " + /*isMobile*/
|
|
4393
|
-
(
|
|
4394
|
-
(
|
|
4421
|
+
(g[5] ? "InfoCardPopupMobileWrapper" : "") + " " + /*iteminfoamount*/
|
|
4422
|
+
(g[0] ? "InfoCardPopupLimitChanged" : "")) && A(r, "class", p);
|
|
4395
4423
|
},
|
|
4396
|
-
d(
|
|
4397
|
-
|
|
4424
|
+
d(g) {
|
|
4425
|
+
g && q(t), E.d(), e[13](null), d = !1, y();
|
|
4398
4426
|
}
|
|
4399
4427
|
};
|
|
4400
4428
|
}
|
|
4401
|
-
function
|
|
4429
|
+
function Ji(e) {
|
|
4402
4430
|
let t, r = (
|
|
4403
4431
|
/*$_*/
|
|
4404
4432
|
e[4]("defaultText") + ""
|
|
4405
4433
|
), n;
|
|
4406
4434
|
return {
|
|
4407
4435
|
c() {
|
|
4408
|
-
t =
|
|
4436
|
+
t = I("p"), n = oe(r), A(t, "class", "InfoCardPopupContent");
|
|
4409
4437
|
},
|
|
4410
4438
|
m(i, o) {
|
|
4411
|
-
|
|
4439
|
+
ie(i, t, o), P(t, n);
|
|
4412
4440
|
},
|
|
4413
4441
|
p(i, o) {
|
|
4414
4442
|
o & /*$_*/
|
|
4415
4443
|
16 && r !== (r = /*$_*/
|
|
4416
|
-
i[4]("defaultText") + "") &&
|
|
4444
|
+
i[4]("defaultText") + "") && Je(n, r);
|
|
4417
4445
|
},
|
|
4418
4446
|
d(i) {
|
|
4419
|
-
i &&
|
|
4447
|
+
i && q(t);
|
|
4420
4448
|
}
|
|
4421
4449
|
};
|
|
4422
4450
|
}
|
|
4423
|
-
function
|
|
4451
|
+
function Ki(e) {
|
|
4424
4452
|
let t, r = (
|
|
4425
4453
|
/*$_*/
|
|
4426
4454
|
e[4]("amountChanged", {
|
|
@@ -4438,10 +4466,10 @@ function Zi(e) {
|
|
|
4438
4466
|
), n;
|
|
4439
4467
|
return {
|
|
4440
4468
|
c() {
|
|
4441
|
-
t =
|
|
4469
|
+
t = I("p"), n = oe(r), A(t, "class", "InfoCardPopupContent");
|
|
4442
4470
|
},
|
|
4443
4471
|
m(i, o) {
|
|
4444
|
-
|
|
4472
|
+
ie(i, t, o), P(t, n);
|
|
4445
4473
|
},
|
|
4446
4474
|
p(i, o) {
|
|
4447
4475
|
o & /*$_, iteminfoamount, currency*/
|
|
@@ -4457,81 +4485,81 @@ function Zi(e) {
|
|
|
4457
4485
|
i[1]
|
|
4458
4486
|
)
|
|
4459
4487
|
}
|
|
4460
|
-
}) + "") &&
|
|
4488
|
+
}) + "") && Je(n, r);
|
|
4461
4489
|
},
|
|
4462
4490
|
d(i) {
|
|
4463
|
-
i &&
|
|
4491
|
+
i && q(t);
|
|
4464
4492
|
}
|
|
4465
4493
|
};
|
|
4466
4494
|
}
|
|
4467
|
-
function
|
|
4495
|
+
function eo(e) {
|
|
4468
4496
|
let t, r = (
|
|
4469
4497
|
/*showPopup*/
|
|
4470
4498
|
e[3] && It(e)
|
|
4471
4499
|
);
|
|
4472
4500
|
return {
|
|
4473
4501
|
c() {
|
|
4474
|
-
r && r.c(), t =
|
|
4502
|
+
r && r.c(), t = _r();
|
|
4475
4503
|
},
|
|
4476
4504
|
m(n, i) {
|
|
4477
|
-
r && r.m(n, i),
|
|
4505
|
+
r && r.m(n, i), ie(n, t, i);
|
|
4478
4506
|
},
|
|
4479
4507
|
p(n, [i]) {
|
|
4480
4508
|
/*showPopup*/
|
|
4481
4509
|
n[3] ? r ? r.p(n, i) : (r = It(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
|
|
4482
4510
|
},
|
|
4483
|
-
i:
|
|
4484
|
-
o:
|
|
4511
|
+
i: B,
|
|
4512
|
+
o: B,
|
|
4485
4513
|
d(n) {
|
|
4486
|
-
n &&
|
|
4514
|
+
n && q(t), r && r.d(n);
|
|
4487
4515
|
}
|
|
4488
4516
|
};
|
|
4489
4517
|
}
|
|
4490
|
-
function
|
|
4518
|
+
function to(e, t, r) {
|
|
4491
4519
|
let n;
|
|
4492
|
-
|
|
4520
|
+
vr(e, ki, (v) => r(4, n = v));
|
|
4493
4521
|
let { showpopup: i = "" } = t, { iteminfoamount: o = "" } = t, { lang: a = "en" } = t, { currency: s = "USD" } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: h = "" } = t, { mbsource: f } = t;
|
|
4494
4522
|
const c = () => {
|
|
4495
|
-
fetch(h).then((
|
|
4496
|
-
Object.keys(
|
|
4497
|
-
|
|
4523
|
+
fetch(h).then((N) => N.json()).then((N) => {
|
|
4524
|
+
Object.keys(N).forEach((tt) => {
|
|
4525
|
+
Ct(tt, N[tt]);
|
|
4498
4526
|
});
|
|
4499
|
-
}).catch((
|
|
4500
|
-
console.log(
|
|
4527
|
+
}).catch((N) => {
|
|
4528
|
+
console.log(N);
|
|
4501
4529
|
});
|
|
4502
4530
|
};
|
|
4503
|
-
Object.keys(
|
|
4504
|
-
|
|
4531
|
+
Object.keys(At).forEach((v) => {
|
|
4532
|
+
Ct(v, At[v]);
|
|
4505
4533
|
});
|
|
4506
|
-
let p = !1, d,
|
|
4507
|
-
const
|
|
4534
|
+
let p = !1, d, y, w = window.navigator.userAgent, H = Vi(w) !== "PC";
|
|
4535
|
+
const E = () => {
|
|
4508
4536
|
r(3, p = !1), window.postMessage(
|
|
4509
4537
|
{
|
|
4510
4538
|
type: "ClosePlayerAccountGamingLimitsPopup"
|
|
4511
4539
|
},
|
|
4512
4540
|
window.location.href
|
|
4513
4541
|
);
|
|
4514
|
-
},
|
|
4515
|
-
|
|
4516
|
-
},
|
|
4517
|
-
|
|
4542
|
+
}, g = (v) => {
|
|
4543
|
+
v.data && v.data.type == "ClosePlayerAccountGamingLimitsPopup" && r(3, p = !1);
|
|
4544
|
+
}, T = () => {
|
|
4545
|
+
Wi(a), o < 0 && r(0, o = "0"), r(3, p = i);
|
|
4518
4546
|
};
|
|
4519
|
-
|
|
4520
|
-
window.removeEventListener("message",
|
|
4547
|
+
Hr(() => (window.addEventListener("message", g, !1), () => {
|
|
4548
|
+
window.removeEventListener("message", g);
|
|
4521
4549
|
}));
|
|
4522
|
-
function
|
|
4523
|
-
|
|
4524
|
-
d =
|
|
4550
|
+
function M(v) {
|
|
4551
|
+
Le[v ? "unshift" : "push"](() => {
|
|
4552
|
+
d = v, r(2, d);
|
|
4525
4553
|
});
|
|
4526
4554
|
}
|
|
4527
|
-
return e.$$set = (
|
|
4528
|
-
"showpopup" in
|
|
4555
|
+
return e.$$set = (v) => {
|
|
4556
|
+
"showpopup" in v && r(7, i = v.showpopup), "iteminfoamount" in v && r(0, o = v.iteminfoamount), "lang" in v && r(8, a = v.lang), "currency" in v && r(1, s = v.currency), "clientstyling" in v && r(9, l = v.clientstyling), "clientstylingurl" in v && r(10, u = v.clientstylingurl), "translationurl" in v && r(11, h = v.translationurl), "mbsource" in v && r(12, f = v.mbsource);
|
|
4529
4557
|
}, e.$$.update = () => {
|
|
4530
4558
|
e.$$.dirty & /*showpopup, lang*/
|
|
4531
|
-
384 && i && a &&
|
|
4532
|
-
516 && l && d &&
|
|
4533
|
-
1028 && u && d &&
|
|
4534
|
-
4100 && f && d &&
|
|
4559
|
+
384 && i && a && T(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4560
|
+
516 && l && d && zi(d, l), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4561
|
+
1028 && u && d && Xi(d, u), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4562
|
+
4100 && f && d && qi(d, `${f}.Style`, y), e.$$.dirty & /*translationurl*/
|
|
4535
4563
|
2048 && h && c();
|
|
4536
4564
|
}, [
|
|
4537
4565
|
o,
|
|
@@ -4539,25 +4567,25 @@ function Qi(e, t, r) {
|
|
|
4539
4567
|
d,
|
|
4540
4568
|
p,
|
|
4541
4569
|
n,
|
|
4542
|
-
S,
|
|
4543
4570
|
H,
|
|
4571
|
+
E,
|
|
4544
4572
|
i,
|
|
4545
4573
|
a,
|
|
4546
4574
|
l,
|
|
4547
4575
|
u,
|
|
4548
4576
|
h,
|
|
4549
4577
|
f,
|
|
4550
|
-
|
|
4578
|
+
M
|
|
4551
4579
|
];
|
|
4552
4580
|
}
|
|
4553
|
-
class
|
|
4581
|
+
class ro extends Gr {
|
|
4554
4582
|
constructor(t) {
|
|
4555
|
-
super(),
|
|
4583
|
+
super(), Rr(
|
|
4556
4584
|
this,
|
|
4557
4585
|
t,
|
|
4558
|
-
|
|
4559
|
-
|
|
4560
|
-
|
|
4586
|
+
to,
|
|
4587
|
+
eo,
|
|
4588
|
+
Ot,
|
|
4561
4589
|
{
|
|
4562
4590
|
showpopup: 7,
|
|
4563
4591
|
iteminfoamount: 0,
|
|
@@ -4568,59 +4596,59 @@ class Ji extends Rr {
|
|
|
4568
4596
|
translationurl: 11,
|
|
4569
4597
|
mbsource: 12
|
|
4570
4598
|
},
|
|
4571
|
-
|
|
4599
|
+
Qi
|
|
4572
4600
|
);
|
|
4573
4601
|
}
|
|
4574
4602
|
get showpopup() {
|
|
4575
4603
|
return this.$$.ctx[7];
|
|
4576
4604
|
}
|
|
4577
4605
|
set showpopup(t) {
|
|
4578
|
-
this.$$set({ showpopup: t }),
|
|
4606
|
+
this.$$set({ showpopup: t }), O();
|
|
4579
4607
|
}
|
|
4580
4608
|
get iteminfoamount() {
|
|
4581
4609
|
return this.$$.ctx[0];
|
|
4582
4610
|
}
|
|
4583
4611
|
set iteminfoamount(t) {
|
|
4584
|
-
this.$$set({ iteminfoamount: t }),
|
|
4612
|
+
this.$$set({ iteminfoamount: t }), O();
|
|
4585
4613
|
}
|
|
4586
4614
|
get lang() {
|
|
4587
4615
|
return this.$$.ctx[8];
|
|
4588
4616
|
}
|
|
4589
4617
|
set lang(t) {
|
|
4590
|
-
this.$$set({ lang: t }),
|
|
4618
|
+
this.$$set({ lang: t }), O();
|
|
4591
4619
|
}
|
|
4592
4620
|
get currency() {
|
|
4593
4621
|
return this.$$.ctx[1];
|
|
4594
4622
|
}
|
|
4595
4623
|
set currency(t) {
|
|
4596
|
-
this.$$set({ currency: t }),
|
|
4624
|
+
this.$$set({ currency: t }), O();
|
|
4597
4625
|
}
|
|
4598
4626
|
get clientstyling() {
|
|
4599
4627
|
return this.$$.ctx[9];
|
|
4600
4628
|
}
|
|
4601
4629
|
set clientstyling(t) {
|
|
4602
|
-
this.$$set({ clientstyling: t }),
|
|
4630
|
+
this.$$set({ clientstyling: t }), O();
|
|
4603
4631
|
}
|
|
4604
4632
|
get clientstylingurl() {
|
|
4605
4633
|
return this.$$.ctx[10];
|
|
4606
4634
|
}
|
|
4607
4635
|
set clientstylingurl(t) {
|
|
4608
|
-
this.$$set({ clientstylingurl: t }),
|
|
4636
|
+
this.$$set({ clientstylingurl: t }), O();
|
|
4609
4637
|
}
|
|
4610
4638
|
get translationurl() {
|
|
4611
4639
|
return this.$$.ctx[11];
|
|
4612
4640
|
}
|
|
4613
4641
|
set translationurl(t) {
|
|
4614
|
-
this.$$set({ translationurl: t }),
|
|
4642
|
+
this.$$set({ translationurl: t }), O();
|
|
4615
4643
|
}
|
|
4616
4644
|
get mbsource() {
|
|
4617
4645
|
return this.$$.ctx[12];
|
|
4618
4646
|
}
|
|
4619
4647
|
set mbsource(t) {
|
|
4620
|
-
this.$$set({ mbsource: t }),
|
|
4648
|
+
this.$$set({ mbsource: t }), O();
|
|
4621
4649
|
}
|
|
4622
4650
|
}
|
|
4623
|
-
|
|
4651
|
+
Ur(ro, { showpopup: {}, iteminfoamount: {}, lang: {}, currency: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
|
|
4624
4652
|
export {
|
|
4625
|
-
|
|
4653
|
+
ro as default
|
|
4626
4654
|
};
|