@everymatrix/player-account-notifications 1.53.12 → 1.54.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{PlayerAccountNotifications-CUk5mA0f.js → PlayerAccountNotifications-C24hqsbj.js} +853 -816
- package/components/PlayerAccountNotifications-CVXKPj82.cjs +5 -0
- package/es2015/player-account-notifications.cjs +1 -0
- package/es2015/player-account-notifications.js +16 -0
- package/package.json +8 -12
- package/esnext/player-account-notifications.js +0 -14
package/components/{PlayerAccountNotifications-CUk5mA0f.js → PlayerAccountNotifications-C24hqsbj.js}
RENAMED
|
@@ -1,47 +1,76 @@
|
|
|
1
|
-
|
|
1
|
+
var ur = Object.defineProperty, hr = Object.defineProperties;
|
|
2
|
+
var lr = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var qe = Object.getOwnPropertySymbols;
|
|
4
|
+
var cr = Object.prototype.hasOwnProperty, fr = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var _e = (e, t, r) => t in e ? ur(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ye = (e, t) => {
|
|
6
|
+
for (var r in t || (t = {}))
|
|
7
|
+
cr.call(t, r) && _e(e, r, t[r]);
|
|
8
|
+
if (qe)
|
|
9
|
+
for (var r of qe(t))
|
|
10
|
+
fr.call(t, r) && _e(e, r, t[r]);
|
|
11
|
+
return e;
|
|
12
|
+
}, Ke = (e, t) => hr(e, lr(t));
|
|
13
|
+
var S = (e, t, r) => _e(e, typeof t != "symbol" ? t + "" : t, r);
|
|
14
|
+
var et = (e, t, r) => new Promise((n, i) => {
|
|
15
|
+
var o = (h) => {
|
|
16
|
+
try {
|
|
17
|
+
a(r.next(h));
|
|
18
|
+
} catch (u) {
|
|
19
|
+
i(u);
|
|
20
|
+
}
|
|
21
|
+
}, s = (h) => {
|
|
22
|
+
try {
|
|
23
|
+
a(r.throw(h));
|
|
24
|
+
} catch (u) {
|
|
25
|
+
i(u);
|
|
26
|
+
}
|
|
27
|
+
}, a = (h) => h.done ? n(h.value) : Promise.resolve(h.value).then(o, s);
|
|
28
|
+
a((r = r.apply(e, t)).next());
|
|
29
|
+
});
|
|
30
|
+
function A() {
|
|
2
31
|
}
|
|
3
|
-
function
|
|
32
|
+
function wt(e) {
|
|
4
33
|
return e();
|
|
5
34
|
}
|
|
6
|
-
function
|
|
35
|
+
function tt() {
|
|
7
36
|
return /* @__PURE__ */ Object.create(null);
|
|
8
37
|
}
|
|
9
|
-
function
|
|
10
|
-
e.forEach(
|
|
38
|
+
function re(e) {
|
|
39
|
+
e.forEach(wt);
|
|
11
40
|
}
|
|
12
|
-
function
|
|
41
|
+
function We(e) {
|
|
13
42
|
return typeof e == "function";
|
|
14
43
|
}
|
|
15
|
-
function
|
|
44
|
+
function Nt(e, t) {
|
|
16
45
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
17
46
|
}
|
|
18
|
-
let
|
|
19
|
-
function
|
|
20
|
-
return e === t ? !0 : (
|
|
47
|
+
let se;
|
|
48
|
+
function rt(e, t) {
|
|
49
|
+
return e === t ? !0 : (se || (se = document.createElement("a")), se.href = t, e === se.href);
|
|
21
50
|
}
|
|
22
|
-
function
|
|
51
|
+
function dr(e) {
|
|
23
52
|
return Object.keys(e).length === 0;
|
|
24
53
|
}
|
|
25
|
-
function
|
|
54
|
+
function pr(e, ...t) {
|
|
26
55
|
if (e == null) {
|
|
27
56
|
for (const n of t)
|
|
28
57
|
n(void 0);
|
|
29
|
-
return
|
|
58
|
+
return A;
|
|
30
59
|
}
|
|
31
60
|
const r = e.subscribe(...t);
|
|
32
61
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
33
62
|
}
|
|
34
|
-
function
|
|
63
|
+
function w(e, t) {
|
|
35
64
|
e.appendChild(t);
|
|
36
65
|
}
|
|
37
|
-
function
|
|
38
|
-
const n =
|
|
66
|
+
function mr(e, t, r) {
|
|
67
|
+
const n = br(e);
|
|
39
68
|
if (!n.getElementById(t)) {
|
|
40
|
-
const i =
|
|
41
|
-
i.id = t, i.textContent = r,
|
|
69
|
+
const i = O("style");
|
|
70
|
+
i.id = t, i.textContent = r, gr(n, i);
|
|
42
71
|
}
|
|
43
72
|
}
|
|
44
|
-
function
|
|
73
|
+
function br(e) {
|
|
45
74
|
if (!e) return document;
|
|
46
75
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
47
76
|
return t && /** @type {ShadowRoot} */
|
|
@@ -50,46 +79,46 @@ function or(e) {
|
|
|
50
79
|
t
|
|
51
80
|
) : e.ownerDocument;
|
|
52
81
|
}
|
|
53
|
-
function
|
|
54
|
-
return
|
|
82
|
+
function gr(e, t) {
|
|
83
|
+
return w(
|
|
55
84
|
/** @type {Document} */
|
|
56
85
|
e.head || e,
|
|
57
86
|
t
|
|
58
87
|
), t.sheet;
|
|
59
88
|
}
|
|
60
|
-
function
|
|
89
|
+
function me(e, t, r) {
|
|
61
90
|
e.insertBefore(t, r || null);
|
|
62
91
|
}
|
|
63
|
-
function
|
|
92
|
+
function ne(e) {
|
|
64
93
|
e.parentNode && e.parentNode.removeChild(e);
|
|
65
94
|
}
|
|
66
|
-
function
|
|
95
|
+
function yr(e, t) {
|
|
67
96
|
for (let r = 0; r < e.length; r += 1)
|
|
68
97
|
e[r] && e[r].d(t);
|
|
69
98
|
}
|
|
70
|
-
function
|
|
99
|
+
function O(e) {
|
|
71
100
|
return document.createElement(e);
|
|
72
101
|
}
|
|
73
|
-
function
|
|
102
|
+
function Ot(e) {
|
|
74
103
|
return document.createTextNode(e);
|
|
75
104
|
}
|
|
76
|
-
function
|
|
77
|
-
return
|
|
105
|
+
function Ee() {
|
|
106
|
+
return Ot(" ");
|
|
78
107
|
}
|
|
79
|
-
function
|
|
108
|
+
function T(e, t, r) {
|
|
80
109
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
81
110
|
}
|
|
82
|
-
function
|
|
111
|
+
function vr(e) {
|
|
83
112
|
return Array.from(e.childNodes);
|
|
84
113
|
}
|
|
85
|
-
function
|
|
114
|
+
function xr(e, t) {
|
|
86
115
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
87
116
|
t);
|
|
88
117
|
}
|
|
89
|
-
function
|
|
118
|
+
function nt(e, t, r, n) {
|
|
90
119
|
r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
|
|
91
120
|
}
|
|
92
|
-
function
|
|
121
|
+
function _r(e) {
|
|
93
122
|
const t = {};
|
|
94
123
|
return e.childNodes.forEach(
|
|
95
124
|
/** @param {Element} node */
|
|
@@ -98,89 +127,89 @@ function lr(e) {
|
|
|
98
127
|
}
|
|
99
128
|
), t;
|
|
100
129
|
}
|
|
101
|
-
let
|
|
102
|
-
function
|
|
103
|
-
|
|
104
|
-
}
|
|
105
|
-
const
|
|
106
|
-
let
|
|
107
|
-
const
|
|
108
|
-
let
|
|
109
|
-
function
|
|
110
|
-
|
|
111
|
-
}
|
|
112
|
-
function
|
|
113
|
-
|
|
114
|
-
}
|
|
115
|
-
const
|
|
116
|
-
let
|
|
117
|
-
function
|
|
118
|
-
if (
|
|
130
|
+
let ze;
|
|
131
|
+
function K(e) {
|
|
132
|
+
ze = e;
|
|
133
|
+
}
|
|
134
|
+
const j = [], Ne = [];
|
|
135
|
+
let k = [];
|
|
136
|
+
const it = [], Er = /* @__PURE__ */ Promise.resolve();
|
|
137
|
+
let Oe = !1;
|
|
138
|
+
function Sr() {
|
|
139
|
+
Oe || (Oe = !0, Er.then(N));
|
|
140
|
+
}
|
|
141
|
+
function Ie(e) {
|
|
142
|
+
k.push(e);
|
|
143
|
+
}
|
|
144
|
+
const Se = /* @__PURE__ */ new Set();
|
|
145
|
+
let G = 0;
|
|
146
|
+
function N() {
|
|
147
|
+
if (G !== 0)
|
|
119
148
|
return;
|
|
120
|
-
const e =
|
|
149
|
+
const e = ze;
|
|
121
150
|
do {
|
|
122
151
|
try {
|
|
123
|
-
for (;
|
|
124
|
-
const t =
|
|
125
|
-
|
|
152
|
+
for (; G < j.length; ) {
|
|
153
|
+
const t = j[G];
|
|
154
|
+
G++, K(t), Tr(t.$$);
|
|
126
155
|
}
|
|
127
156
|
} catch (t) {
|
|
128
|
-
throw
|
|
157
|
+
throw j.length = 0, G = 0, t;
|
|
129
158
|
}
|
|
130
|
-
for (
|
|
131
|
-
for (let t = 0; t <
|
|
132
|
-
const r =
|
|
133
|
-
|
|
159
|
+
for (K(null), j.length = 0, G = 0; Ne.length; ) Ne.pop()();
|
|
160
|
+
for (let t = 0; t < k.length; t += 1) {
|
|
161
|
+
const r = k[t];
|
|
162
|
+
Se.has(r) || (Se.add(r), r());
|
|
134
163
|
}
|
|
135
|
-
|
|
136
|
-
} while (
|
|
137
|
-
for (;
|
|
138
|
-
|
|
139
|
-
|
|
164
|
+
k.length = 0;
|
|
165
|
+
} while (j.length);
|
|
166
|
+
for (; it.length; )
|
|
167
|
+
it.pop()();
|
|
168
|
+
Oe = !1, Se.clear(), K(e);
|
|
140
169
|
}
|
|
141
|
-
function
|
|
170
|
+
function Tr(e) {
|
|
142
171
|
if (e.fragment !== null) {
|
|
143
|
-
e.update(),
|
|
172
|
+
e.update(), re(e.before_update);
|
|
144
173
|
const t = e.dirty;
|
|
145
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
174
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ie);
|
|
146
175
|
}
|
|
147
176
|
}
|
|
148
|
-
function
|
|
177
|
+
function Hr(e) {
|
|
149
178
|
const t = [], r = [];
|
|
150
|
-
|
|
179
|
+
k.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), k = t;
|
|
151
180
|
}
|
|
152
|
-
const
|
|
153
|
-
function
|
|
154
|
-
e && e.i && (
|
|
181
|
+
const Ar = /* @__PURE__ */ new Set();
|
|
182
|
+
function Pr(e, t) {
|
|
183
|
+
e && e.i && (Ar.delete(e), e.i(t));
|
|
155
184
|
}
|
|
156
|
-
function
|
|
157
|
-
return e
|
|
185
|
+
function ot(e) {
|
|
186
|
+
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
158
187
|
}
|
|
159
|
-
function
|
|
188
|
+
function Br(e, t, r) {
|
|
160
189
|
const { fragment: n, after_update: i } = e.$$;
|
|
161
|
-
n && n.m(t, r),
|
|
162
|
-
const o = e.$$.on_mount.map(
|
|
163
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
|
164
|
-
}), i.forEach(
|
|
190
|
+
n && n.m(t, r), Ie(() => {
|
|
191
|
+
const o = e.$$.on_mount.map(wt).filter(We);
|
|
192
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : re(o), e.$$.on_mount = [];
|
|
193
|
+
}), i.forEach(Ie);
|
|
165
194
|
}
|
|
166
|
-
function
|
|
195
|
+
function wr(e, t) {
|
|
167
196
|
const r = e.$$;
|
|
168
|
-
r.fragment !== null && (
|
|
197
|
+
r.fragment !== null && (Hr(r.after_update), re(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
169
198
|
}
|
|
170
|
-
function
|
|
171
|
-
e.$$.dirty[0] === -1 && (
|
|
199
|
+
function Nr(e, t) {
|
|
200
|
+
e.$$.dirty[0] === -1 && (j.push(e), Sr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
172
201
|
}
|
|
173
|
-
function
|
|
174
|
-
const h =
|
|
175
|
-
|
|
202
|
+
function Or(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
203
|
+
const h = ze;
|
|
204
|
+
K(e);
|
|
176
205
|
const u = e.$$ = {
|
|
177
206
|
fragment: null,
|
|
178
207
|
ctx: [],
|
|
179
208
|
// state
|
|
180
209
|
props: o,
|
|
181
|
-
update:
|
|
210
|
+
update: A,
|
|
182
211
|
not_equal: i,
|
|
183
|
-
bound:
|
|
212
|
+
bound: tt(),
|
|
184
213
|
// lifecycle
|
|
185
214
|
on_mount: [],
|
|
186
215
|
on_destroy: [],
|
|
@@ -189,7 +218,7 @@ function xr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
189
218
|
after_update: [],
|
|
190
219
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
|
191
220
|
// everything else
|
|
192
|
-
callbacks:
|
|
221
|
+
callbacks: tt(),
|
|
193
222
|
dirty: a,
|
|
194
223
|
skip_bound: !1,
|
|
195
224
|
root: t.target || h.$$.root
|
|
@@ -198,137 +227,141 @@ function xr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
198
227
|
let l = !1;
|
|
199
228
|
if (u.ctx = r(e, t.props || {}, (c, f, ...p) => {
|
|
200
229
|
const d = p.length ? p[0] : f;
|
|
201
|
-
return u.ctx && i(u.ctx[c], u.ctx[c] = d) && (!u.skip_bound && u.bound[c] && u.bound[c](d), l &&
|
|
202
|
-
}), u.update(), l = !0,
|
|
230
|
+
return u.ctx && i(u.ctx[c], u.ctx[c] = d) && (!u.skip_bound && u.bound[c] && u.bound[c](d), l && Nr(e, c)), f;
|
|
231
|
+
}), u.update(), l = !0, re(u.before_update), u.fragment = n(u.ctx), t.target) {
|
|
203
232
|
if (t.hydrate) {
|
|
204
|
-
const c =
|
|
205
|
-
u.fragment && u.fragment.l(c), c.forEach(
|
|
233
|
+
const c = vr(t.target);
|
|
234
|
+
u.fragment && u.fragment.l(c), c.forEach(ne);
|
|
206
235
|
} else
|
|
207
236
|
u.fragment && u.fragment.c();
|
|
208
|
-
t.intro &&
|
|
237
|
+
t.intro && Pr(e.$$.fragment), Br(e, t.target, t.anchor), N();
|
|
209
238
|
}
|
|
210
|
-
|
|
211
|
-
}
|
|
212
|
-
let
|
|
213
|
-
typeof HTMLElement == "function" && (
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
239
|
+
K(h);
|
|
240
|
+
}
|
|
241
|
+
let It;
|
|
242
|
+
typeof HTMLElement == "function" && (It = class extends HTMLElement {
|
|
243
|
+
constructor(t, r, n) {
|
|
244
|
+
super();
|
|
245
|
+
/** The Svelte component constructor */
|
|
246
|
+
S(this, "$$ctor");
|
|
247
|
+
/** Slots */
|
|
248
|
+
S(this, "$$s");
|
|
249
|
+
/** The Svelte component instance */
|
|
250
|
+
S(this, "$$c");
|
|
251
|
+
/** Whether or not the custom element is connected */
|
|
252
|
+
S(this, "$$cn", !1);
|
|
253
|
+
/** Component props data */
|
|
254
|
+
S(this, "$$d", {});
|
|
255
|
+
/** `true` if currently in the process of reflecting component props back to attributes */
|
|
256
|
+
S(this, "$$r", !1);
|
|
257
|
+
/** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
|
|
258
|
+
S(this, "$$p_d", {});
|
|
259
|
+
/** @type {Record<string, Function[]>} Event listeners */
|
|
260
|
+
S(this, "$$l", {});
|
|
261
|
+
/** @type {Map<Function, Function>} Event listener unsubscribe functions */
|
|
262
|
+
S(this, "$$l_u", /* @__PURE__ */ new Map());
|
|
263
|
+
this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
|
|
234
264
|
}
|
|
235
|
-
addEventListener(
|
|
236
|
-
if (this.$$l[
|
|
237
|
-
const
|
|
238
|
-
this.$$l_u.set(
|
|
265
|
+
addEventListener(t, r, n) {
|
|
266
|
+
if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(r), this.$$c) {
|
|
267
|
+
const i = this.$$c.$on(t, r);
|
|
268
|
+
this.$$l_u.set(r, i);
|
|
239
269
|
}
|
|
240
|
-
super.addEventListener(
|
|
270
|
+
super.addEventListener(t, r, n);
|
|
241
271
|
}
|
|
242
|
-
removeEventListener(
|
|
243
|
-
if (super.removeEventListener(
|
|
244
|
-
const
|
|
245
|
-
|
|
272
|
+
removeEventListener(t, r, n) {
|
|
273
|
+
if (super.removeEventListener(t, r, n), this.$$c) {
|
|
274
|
+
const i = this.$$l_u.get(r);
|
|
275
|
+
i && (i(), this.$$l_u.delete(r));
|
|
246
276
|
}
|
|
247
277
|
}
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
278
|
+
connectedCallback() {
|
|
279
|
+
return et(this, null, function* () {
|
|
280
|
+
if (this.$$cn = !0, !this.$$c) {
|
|
281
|
+
let t = function(o) {
|
|
282
|
+
return () => {
|
|
283
|
+
let s;
|
|
284
|
+
return {
|
|
285
|
+
c: function() {
|
|
286
|
+
s = O("slot"), o !== "default" && T(s, "name", o);
|
|
287
|
+
},
|
|
288
|
+
/**
|
|
289
|
+
* @param {HTMLElement} target
|
|
290
|
+
* @param {HTMLElement} [anchor]
|
|
291
|
+
*/
|
|
292
|
+
m: function(u, l) {
|
|
293
|
+
me(u, s, l);
|
|
294
|
+
},
|
|
295
|
+
d: function(u) {
|
|
296
|
+
u && ne(s);
|
|
297
|
+
}
|
|
298
|
+
};
|
|
267
299
|
};
|
|
268
300
|
};
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
o in this.$$d || (this.$$d[o] = ue(o, i.value, this.$$p_d, "toProp"));
|
|
278
|
-
}
|
|
279
|
-
for (const i in this.$$p_d)
|
|
280
|
-
!(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
|
|
281
|
-
this.$$c = new this.$$ctor({
|
|
282
|
-
target: this.shadowRoot || this,
|
|
283
|
-
props: {
|
|
284
|
-
...this.$$d,
|
|
285
|
-
$$slots: t,
|
|
286
|
-
$$scope: {
|
|
287
|
-
ctx: []
|
|
288
|
-
}
|
|
301
|
+
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
302
|
+
return;
|
|
303
|
+
const r = {}, n = _r(this);
|
|
304
|
+
for (const o of this.$$s)
|
|
305
|
+
o in n && (r[o] = [t(o)]);
|
|
306
|
+
for (const o of this.attributes) {
|
|
307
|
+
const s = this.$$g_p(o.name);
|
|
308
|
+
s in this.$$d || (this.$$d[s] = he(s, o.value, this.$$p_d, "toProp"));
|
|
289
309
|
}
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
this.$$
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
310
|
+
for (const o in this.$$p_d)
|
|
311
|
+
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
|
312
|
+
this.$$c = new this.$$ctor({
|
|
313
|
+
target: this.shadowRoot || this,
|
|
314
|
+
props: Ke(Ye({}, this.$$d), {
|
|
315
|
+
$$slots: r,
|
|
316
|
+
$$scope: {
|
|
317
|
+
ctx: []
|
|
318
|
+
}
|
|
319
|
+
})
|
|
320
|
+
});
|
|
321
|
+
const i = () => {
|
|
322
|
+
this.$$r = !0;
|
|
323
|
+
for (const o in this.$$p_d)
|
|
324
|
+
if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
|
|
325
|
+
const s = he(
|
|
326
|
+
o,
|
|
327
|
+
this.$$d[o],
|
|
328
|
+
this.$$p_d,
|
|
329
|
+
"toAttribute"
|
|
330
|
+
);
|
|
331
|
+
s == null ? this.removeAttribute(this.$$p_d[o].attribute || o) : this.setAttribute(this.$$p_d[o].attribute || o, s);
|
|
332
|
+
}
|
|
333
|
+
this.$$r = !1;
|
|
334
|
+
};
|
|
335
|
+
this.$$c.$$.after_update.push(i), i();
|
|
336
|
+
for (const o in this.$$l)
|
|
337
|
+
for (const s of this.$$l[o]) {
|
|
338
|
+
const a = this.$$c.$on(o, s);
|
|
339
|
+
this.$$l_u.set(s, a);
|
|
302
340
|
}
|
|
303
|
-
this.$$
|
|
304
|
-
}
|
|
305
|
-
|
|
306
|
-
for (const i in this.$$l)
|
|
307
|
-
for (const o of this.$$l[i]) {
|
|
308
|
-
const s = this.$$c.$on(i, o);
|
|
309
|
-
this.$$l_u.set(o, s);
|
|
310
|
-
}
|
|
311
|
-
this.$$l = {};
|
|
312
|
-
}
|
|
341
|
+
this.$$l = {};
|
|
342
|
+
}
|
|
343
|
+
});
|
|
313
344
|
}
|
|
314
345
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
315
346
|
// and setting attributes through setAttribute etc, this is helpful
|
|
316
|
-
attributeChangedCallback(
|
|
317
|
-
|
|
347
|
+
attributeChangedCallback(t, r, n) {
|
|
348
|
+
var i;
|
|
349
|
+
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] }));
|
|
318
350
|
}
|
|
319
351
|
disconnectedCallback() {
|
|
320
352
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
321
353
|
!this.$$cn && this.$$c && (this.$$c.$destroy(), this.$$c = void 0);
|
|
322
354
|
});
|
|
323
355
|
}
|
|
324
|
-
$$g_p(
|
|
356
|
+
$$g_p(t) {
|
|
325
357
|
return Object.keys(this.$$p_d).find(
|
|
326
|
-
(
|
|
327
|
-
) ||
|
|
358
|
+
(r) => this.$$p_d[r].attribute === t || !this.$$p_d[r].attribute && r.toLowerCase() === t
|
|
359
|
+
) || t;
|
|
328
360
|
}
|
|
329
361
|
});
|
|
330
|
-
function
|
|
331
|
-
|
|
362
|
+
function he(e, t, r, n) {
|
|
363
|
+
var o;
|
|
364
|
+
const i = (o = r[e]) == null ? void 0 : o.type;
|
|
332
365
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
333
366
|
return t;
|
|
334
367
|
if (n === "toAttribute")
|
|
@@ -339,7 +372,7 @@ function ue(e, t, r, n) {
|
|
|
339
372
|
case "Boolean":
|
|
340
373
|
return t ? "" : null;
|
|
341
374
|
case "Number":
|
|
342
|
-
return t
|
|
375
|
+
return t == null ? null : t;
|
|
343
376
|
default:
|
|
344
377
|
return t;
|
|
345
378
|
}
|
|
@@ -356,8 +389,8 @@ function ue(e, t, r, n) {
|
|
|
356
389
|
return t;
|
|
357
390
|
}
|
|
358
391
|
}
|
|
359
|
-
function
|
|
360
|
-
let s = class extends
|
|
392
|
+
function Ir(e, t, r, n, i, o) {
|
|
393
|
+
let s = class extends It {
|
|
361
394
|
constructor() {
|
|
362
395
|
super(e, r, i), this.$$p_d = t;
|
|
363
396
|
}
|
|
@@ -373,38 +406,42 @@ function _r(e, t, r, n, i, o) {
|
|
|
373
406
|
return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
|
|
374
407
|
},
|
|
375
408
|
set(h) {
|
|
376
|
-
|
|
409
|
+
var u;
|
|
410
|
+
h = he(a, h, t), this.$$d[a] = h, (u = this.$$c) == null || u.$set({ [a]: h });
|
|
377
411
|
}
|
|
378
412
|
});
|
|
379
413
|
}), n.forEach((a) => {
|
|
380
414
|
Object.defineProperty(s.prototype, a, {
|
|
381
415
|
get() {
|
|
382
|
-
|
|
416
|
+
var h;
|
|
417
|
+
return (h = this.$$c) == null ? void 0 : h[a];
|
|
383
418
|
}
|
|
384
419
|
});
|
|
385
420
|
}), e.element = /** @type {any} */
|
|
386
421
|
s, s;
|
|
387
422
|
}
|
|
388
|
-
class
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
423
|
+
class Cr {
|
|
424
|
+
constructor() {
|
|
425
|
+
/**
|
|
426
|
+
* ### PRIVATE API
|
|
427
|
+
*
|
|
428
|
+
* Do not use, may change at any time
|
|
429
|
+
*
|
|
430
|
+
* @type {any}
|
|
431
|
+
*/
|
|
432
|
+
S(this, "$$");
|
|
433
|
+
/**
|
|
434
|
+
* ### PRIVATE API
|
|
435
|
+
*
|
|
436
|
+
* Do not use, may change at any time
|
|
437
|
+
*
|
|
438
|
+
* @type {any}
|
|
439
|
+
*/
|
|
440
|
+
S(this, "$$set");
|
|
441
|
+
}
|
|
405
442
|
/** @returns {void} */
|
|
406
443
|
$destroy() {
|
|
407
|
-
|
|
444
|
+
wr(this, 1), this.$destroy = A;
|
|
408
445
|
}
|
|
409
446
|
/**
|
|
410
447
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -413,8 +450,8 @@ class Er {
|
|
|
413
450
|
* @returns {() => void}
|
|
414
451
|
*/
|
|
415
452
|
$on(t, r) {
|
|
416
|
-
if (!
|
|
417
|
-
return
|
|
453
|
+
if (!We(r))
|
|
454
|
+
return A;
|
|
418
455
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
419
456
|
return n.push(r), () => {
|
|
420
457
|
const i = n.indexOf(r);
|
|
@@ -426,22 +463,22 @@ class Er {
|
|
|
426
463
|
* @returns {void}
|
|
427
464
|
*/
|
|
428
465
|
$set(t) {
|
|
429
|
-
this.$$set && !
|
|
466
|
+
this.$$set && !dr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
430
467
|
}
|
|
431
468
|
}
|
|
432
|
-
const
|
|
433
|
-
typeof window
|
|
434
|
-
var
|
|
435
|
-
return
|
|
469
|
+
const Lr = "4";
|
|
470
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Lr);
|
|
471
|
+
var Ce = function(e, t) {
|
|
472
|
+
return Ce = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
436
473
|
r.__proto__ = n;
|
|
437
474
|
} || function(r, n) {
|
|
438
475
|
for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
439
|
-
},
|
|
476
|
+
}, Ce(e, t);
|
|
440
477
|
};
|
|
441
|
-
function
|
|
478
|
+
function C(e, t) {
|
|
442
479
|
if (typeof t != "function" && t !== null)
|
|
443
480
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
444
|
-
|
|
481
|
+
Ce(e, t);
|
|
445
482
|
function r() {
|
|
446
483
|
this.constructor = e;
|
|
447
484
|
}
|
|
@@ -456,7 +493,7 @@ var v = function() {
|
|
|
456
493
|
return t;
|
|
457
494
|
}, v.apply(this, arguments);
|
|
458
495
|
};
|
|
459
|
-
function
|
|
496
|
+
function Mr(e, t) {
|
|
460
497
|
var r = {};
|
|
461
498
|
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
462
499
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
@@ -464,7 +501,7 @@ function Tr(e, t) {
|
|
|
464
501
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
465
502
|
return r;
|
|
466
503
|
}
|
|
467
|
-
function
|
|
504
|
+
function Le(e) {
|
|
468
505
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
469
506
|
if (r) return r.call(e);
|
|
470
507
|
if (e && typeof e.length == "number") return {
|
|
@@ -474,7 +511,7 @@ function Ie(e) {
|
|
|
474
511
|
};
|
|
475
512
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
476
513
|
}
|
|
477
|
-
function
|
|
514
|
+
function Me(e, t) {
|
|
478
515
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
479
516
|
if (!r) return e;
|
|
480
517
|
var n = r.call(e), i, o = [], s;
|
|
@@ -491,21 +528,21 @@ function Ce(e, t) {
|
|
|
491
528
|
}
|
|
492
529
|
return o;
|
|
493
530
|
}
|
|
494
|
-
function
|
|
531
|
+
function V(e, t, r) {
|
|
495
532
|
if (r || arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
|
|
496
533
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
497
534
|
return e.concat(o || Array.prototype.slice.call(t));
|
|
498
535
|
}
|
|
499
|
-
function
|
|
536
|
+
function I(e) {
|
|
500
537
|
return typeof e == "function";
|
|
501
538
|
}
|
|
502
|
-
function
|
|
539
|
+
function Ct(e) {
|
|
503
540
|
var t = function(n) {
|
|
504
541
|
Error.call(n), n.stack = new Error().stack;
|
|
505
542
|
}, r = e(t);
|
|
506
543
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
507
544
|
}
|
|
508
|
-
var
|
|
545
|
+
var Te = Ct(function(e) {
|
|
509
546
|
return function(r) {
|
|
510
547
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
511
548
|
` + r.map(function(n, i) {
|
|
@@ -514,13 +551,13 @@ var Ee = Pt(function(e) {
|
|
|
514
551
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
515
552
|
};
|
|
516
553
|
});
|
|
517
|
-
function
|
|
554
|
+
function $e(e, t) {
|
|
518
555
|
if (e) {
|
|
519
556
|
var r = e.indexOf(t);
|
|
520
557
|
0 <= r && e.splice(r, 1);
|
|
521
558
|
}
|
|
522
559
|
}
|
|
523
|
-
var
|
|
560
|
+
var be = function() {
|
|
524
561
|
function e(t) {
|
|
525
562
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
526
563
|
}
|
|
@@ -532,7 +569,7 @@ var me = function() {
|
|
|
532
569
|
if (s)
|
|
533
570
|
if (this._parentage = null, Array.isArray(s))
|
|
534
571
|
try {
|
|
535
|
-
for (var a =
|
|
572
|
+
for (var a = Le(s), h = a.next(); !h.done; h = a.next()) {
|
|
536
573
|
var u = h.value;
|
|
537
574
|
u.remove(this);
|
|
538
575
|
}
|
|
@@ -548,22 +585,22 @@ var me = function() {
|
|
|
548
585
|
else
|
|
549
586
|
s.remove(this);
|
|
550
587
|
var l = this.initialTeardown;
|
|
551
|
-
if (
|
|
588
|
+
if (I(l))
|
|
552
589
|
try {
|
|
553
590
|
l();
|
|
554
591
|
} catch (m) {
|
|
555
|
-
o = m instanceof
|
|
592
|
+
o = m instanceof Te ? m.errors : [m];
|
|
556
593
|
}
|
|
557
594
|
var c = this._finalizers;
|
|
558
595
|
if (c) {
|
|
559
596
|
this._finalizers = null;
|
|
560
597
|
try {
|
|
561
|
-
for (var f =
|
|
598
|
+
for (var f = Le(c), p = f.next(); !p.done; p = f.next()) {
|
|
562
599
|
var d = p.value;
|
|
563
600
|
try {
|
|
564
|
-
|
|
601
|
+
st(d);
|
|
565
602
|
} catch (m) {
|
|
566
|
-
o = o
|
|
603
|
+
o = o != null ? o : [], m instanceof Te ? o = V(V([], Me(o)), Me(m.errors)) : o.push(m);
|
|
567
604
|
}
|
|
568
605
|
}
|
|
569
606
|
} catch (m) {
|
|
@@ -577,13 +614,13 @@ var me = function() {
|
|
|
577
614
|
}
|
|
578
615
|
}
|
|
579
616
|
if (o)
|
|
580
|
-
throw new
|
|
617
|
+
throw new Te(o);
|
|
581
618
|
}
|
|
582
619
|
}, e.prototype.add = function(t) {
|
|
583
620
|
var r;
|
|
584
621
|
if (t && t !== this)
|
|
585
622
|
if (this.closed)
|
|
586
|
-
|
|
623
|
+
st(t);
|
|
587
624
|
else {
|
|
588
625
|
if (t instanceof e) {
|
|
589
626
|
if (t.closed || t._hasParent(this))
|
|
@@ -600,56 +637,56 @@ var me = function() {
|
|
|
600
637
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
601
638
|
}, e.prototype._removeParent = function(t) {
|
|
602
639
|
var r = this._parentage;
|
|
603
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
640
|
+
r === t ? this._parentage = null : Array.isArray(r) && $e(r, t);
|
|
604
641
|
}, e.prototype.remove = function(t) {
|
|
605
642
|
var r = this._finalizers;
|
|
606
|
-
r &&
|
|
643
|
+
r && $e(r, t), t instanceof e && t._removeParent(this);
|
|
607
644
|
}, e.EMPTY = function() {
|
|
608
645
|
var t = new e();
|
|
609
646
|
return t.closed = !0, t;
|
|
610
647
|
}(), e;
|
|
611
|
-
}(),
|
|
612
|
-
function
|
|
613
|
-
return e instanceof
|
|
648
|
+
}(), Lt = be.EMPTY;
|
|
649
|
+
function Mt(e) {
|
|
650
|
+
return e instanceof be || e && "closed" in e && I(e.remove) && I(e.add) && I(e.unsubscribe);
|
|
614
651
|
}
|
|
615
|
-
function
|
|
616
|
-
|
|
652
|
+
function st(e) {
|
|
653
|
+
I(e) ? e() : e.unsubscribe();
|
|
617
654
|
}
|
|
618
|
-
var
|
|
655
|
+
var $r = {
|
|
619
656
|
onUnhandledError: null,
|
|
620
657
|
onStoppedNotification: null,
|
|
621
658
|
Promise: void 0,
|
|
622
659
|
useDeprecatedSynchronousErrorHandling: !1,
|
|
623
660
|
useDeprecatedNextContext: !1
|
|
624
|
-
},
|
|
661
|
+
}, Rr = {
|
|
625
662
|
setTimeout: function(e, t) {
|
|
626
663
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
627
664
|
r[n - 2] = arguments[n];
|
|
628
|
-
return setTimeout.apply(void 0,
|
|
665
|
+
return setTimeout.apply(void 0, V([e, t], Me(r)));
|
|
629
666
|
},
|
|
630
667
|
clearTimeout: function(e) {
|
|
631
668
|
return clearTimeout(e);
|
|
632
669
|
},
|
|
633
670
|
delegate: void 0
|
|
634
671
|
};
|
|
635
|
-
function
|
|
636
|
-
|
|
672
|
+
function Ur(e) {
|
|
673
|
+
Rr.setTimeout(function() {
|
|
637
674
|
throw e;
|
|
638
675
|
});
|
|
639
676
|
}
|
|
640
|
-
function
|
|
677
|
+
function at() {
|
|
641
678
|
}
|
|
642
|
-
function
|
|
679
|
+
function le(e) {
|
|
643
680
|
e();
|
|
644
681
|
}
|
|
645
|
-
var
|
|
646
|
-
|
|
682
|
+
var $t = function(e) {
|
|
683
|
+
C(t, e);
|
|
647
684
|
function t(r) {
|
|
648
685
|
var n = e.call(this) || this;
|
|
649
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
686
|
+
return n.isStopped = !1, r ? (n.destination = r, Mt(r) && r.add(n)) : n.destination = Fr, n;
|
|
650
687
|
}
|
|
651
688
|
return t.create = function(r, n, i) {
|
|
652
|
-
return new
|
|
689
|
+
return new Re(r, n, i);
|
|
653
690
|
}, t.prototype.next = function(r) {
|
|
654
691
|
this.isStopped || this._next(r);
|
|
655
692
|
}, t.prototype.error = function(r) {
|
|
@@ -673,7 +710,7 @@ var Nt = function(e) {
|
|
|
673
710
|
this.unsubscribe();
|
|
674
711
|
}
|
|
675
712
|
}, t;
|
|
676
|
-
}(
|
|
713
|
+
}(be), Dr = function() {
|
|
677
714
|
function e(t) {
|
|
678
715
|
this.partialObserver = t;
|
|
679
716
|
}
|
|
@@ -683,7 +720,7 @@ var Nt = function(e) {
|
|
|
683
720
|
try {
|
|
684
721
|
r.next(t);
|
|
685
722
|
} catch (n) {
|
|
686
|
-
|
|
723
|
+
ae(n);
|
|
687
724
|
}
|
|
688
725
|
}, e.prototype.error = function(t) {
|
|
689
726
|
var r = this.partialObserver;
|
|
@@ -691,56 +728,56 @@ var Nt = function(e) {
|
|
|
691
728
|
try {
|
|
692
729
|
r.error(t);
|
|
693
730
|
} catch (n) {
|
|
694
|
-
|
|
731
|
+
ae(n);
|
|
695
732
|
}
|
|
696
733
|
else
|
|
697
|
-
|
|
734
|
+
ae(t);
|
|
698
735
|
}, e.prototype.complete = function() {
|
|
699
736
|
var t = this.partialObserver;
|
|
700
737
|
if (t.complete)
|
|
701
738
|
try {
|
|
702
739
|
t.complete();
|
|
703
740
|
} catch (r) {
|
|
704
|
-
|
|
741
|
+
ae(r);
|
|
705
742
|
}
|
|
706
743
|
}, e;
|
|
707
|
-
}(),
|
|
708
|
-
|
|
744
|
+
}(), Re = function(e) {
|
|
745
|
+
C(t, e);
|
|
709
746
|
function t(r, n, i) {
|
|
710
747
|
var o = e.call(this) || this, s;
|
|
711
|
-
return
|
|
712
|
-
next: r
|
|
713
|
-
error: n
|
|
714
|
-
complete: i
|
|
715
|
-
} : s = r, o.destination = new
|
|
748
|
+
return I(r) || !r ? s = {
|
|
749
|
+
next: r != null ? r : void 0,
|
|
750
|
+
error: n != null ? n : void 0,
|
|
751
|
+
complete: i != null ? i : void 0
|
|
752
|
+
} : s = r, o.destination = new Dr(s), o;
|
|
716
753
|
}
|
|
717
754
|
return t;
|
|
718
|
-
}(
|
|
719
|
-
function
|
|
720
|
-
|
|
755
|
+
}($t);
|
|
756
|
+
function ae(e) {
|
|
757
|
+
Ur(e);
|
|
721
758
|
}
|
|
722
|
-
function
|
|
759
|
+
function Gr(e) {
|
|
723
760
|
throw e;
|
|
724
761
|
}
|
|
725
|
-
var
|
|
762
|
+
var Fr = {
|
|
726
763
|
closed: !0,
|
|
727
|
-
next:
|
|
728
|
-
error:
|
|
729
|
-
complete:
|
|
730
|
-
},
|
|
764
|
+
next: at,
|
|
765
|
+
error: Gr,
|
|
766
|
+
complete: at
|
|
767
|
+
}, jr = function() {
|
|
731
768
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
732
769
|
}();
|
|
733
|
-
function
|
|
770
|
+
function kr(e) {
|
|
734
771
|
return e;
|
|
735
772
|
}
|
|
736
|
-
function
|
|
737
|
-
return e.length === 0 ?
|
|
773
|
+
function Vr(e) {
|
|
774
|
+
return e.length === 0 ? kr : e.length === 1 ? e[0] : function(r) {
|
|
738
775
|
return e.reduce(function(n, i) {
|
|
739
776
|
return i(n);
|
|
740
777
|
}, r);
|
|
741
778
|
};
|
|
742
779
|
}
|
|
743
|
-
var
|
|
780
|
+
var ut = function() {
|
|
744
781
|
function e(t) {
|
|
745
782
|
t && (this._subscribe = t);
|
|
746
783
|
}
|
|
@@ -748,8 +785,8 @@ var rt = function() {
|
|
|
748
785
|
var r = new e();
|
|
749
786
|
return r.source = this, r.operator = t, r;
|
|
750
787
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
751
|
-
var i = this, o =
|
|
752
|
-
return
|
|
788
|
+
var i = this, o = Wr(t) ? t : new Re(t, r, n);
|
|
789
|
+
return le(function() {
|
|
753
790
|
var s = i, a = s.operator, h = s.source;
|
|
754
791
|
o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
|
|
755
792
|
}), o;
|
|
@@ -761,8 +798,8 @@ var rt = function() {
|
|
|
761
798
|
}
|
|
762
799
|
}, e.prototype.forEach = function(t, r) {
|
|
763
800
|
var n = this;
|
|
764
|
-
return r =
|
|
765
|
-
var s = new
|
|
801
|
+
return r = ht(r), new r(function(i, o) {
|
|
802
|
+
var s = new Re({
|
|
766
803
|
next: function(a) {
|
|
767
804
|
try {
|
|
768
805
|
t(a);
|
|
@@ -778,15 +815,15 @@ var rt = function() {
|
|
|
778
815
|
}, e.prototype._subscribe = function(t) {
|
|
779
816
|
var r;
|
|
780
817
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
781
|
-
}, e.prototype[
|
|
818
|
+
}, e.prototype[jr] = function() {
|
|
782
819
|
return this;
|
|
783
820
|
}, e.prototype.pipe = function() {
|
|
784
821
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
785
822
|
t[r] = arguments[r];
|
|
786
|
-
return
|
|
823
|
+
return Vr(t)(this);
|
|
787
824
|
}, e.prototype.toPromise = function(t) {
|
|
788
825
|
var r = this;
|
|
789
|
-
return t =
|
|
826
|
+
return t = ht(t), new t(function(n, i) {
|
|
790
827
|
var o;
|
|
791
828
|
r.subscribe(function(s) {
|
|
792
829
|
return o = s;
|
|
@@ -800,40 +837,40 @@ var rt = function() {
|
|
|
800
837
|
return new e(t);
|
|
801
838
|
}, e;
|
|
802
839
|
}();
|
|
803
|
-
function
|
|
840
|
+
function ht(e) {
|
|
804
841
|
var t;
|
|
805
|
-
return (t = e
|
|
842
|
+
return (t = e != null ? e : $r.Promise) !== null && t !== void 0 ? t : Promise;
|
|
806
843
|
}
|
|
807
|
-
function
|
|
808
|
-
return e &&
|
|
844
|
+
function Xr(e) {
|
|
845
|
+
return e && I(e.next) && I(e.error) && I(e.complete);
|
|
809
846
|
}
|
|
810
|
-
function
|
|
811
|
-
return e && e instanceof
|
|
847
|
+
function Wr(e) {
|
|
848
|
+
return e && e instanceof $t || Xr(e) && Mt(e);
|
|
812
849
|
}
|
|
813
|
-
var
|
|
850
|
+
var zr = Ct(function(e) {
|
|
814
851
|
return function() {
|
|
815
852
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
816
853
|
};
|
|
817
|
-
}),
|
|
818
|
-
|
|
854
|
+
}), Rt = function(e) {
|
|
855
|
+
C(t, e);
|
|
819
856
|
function t() {
|
|
820
857
|
var r = e.call(this) || this;
|
|
821
858
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
822
859
|
}
|
|
823
860
|
return t.prototype.lift = function(r) {
|
|
824
|
-
var n = new
|
|
861
|
+
var n = new lt(this, this);
|
|
825
862
|
return n.operator = r, n;
|
|
826
863
|
}, t.prototype._throwIfClosed = function() {
|
|
827
864
|
if (this.closed)
|
|
828
|
-
throw new
|
|
865
|
+
throw new zr();
|
|
829
866
|
}, t.prototype.next = function(r) {
|
|
830
867
|
var n = this;
|
|
831
|
-
|
|
868
|
+
le(function() {
|
|
832
869
|
var i, o;
|
|
833
870
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
834
871
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
835
872
|
try {
|
|
836
|
-
for (var s =
|
|
873
|
+
for (var s = Le(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
837
874
|
var h = a.value;
|
|
838
875
|
h.next(r);
|
|
839
876
|
}
|
|
@@ -850,7 +887,7 @@ var $r = Pt(function(e) {
|
|
|
850
887
|
});
|
|
851
888
|
}, t.prototype.error = function(r) {
|
|
852
889
|
var n = this;
|
|
853
|
-
|
|
890
|
+
le(function() {
|
|
854
891
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
855
892
|
n.hasError = n.isStopped = !0, n.thrownError = r;
|
|
856
893
|
for (var i = n.observers; i.length; )
|
|
@@ -859,7 +896,7 @@ var $r = Pt(function(e) {
|
|
|
859
896
|
});
|
|
860
897
|
}, t.prototype.complete = function() {
|
|
861
898
|
var r = this;
|
|
862
|
-
|
|
899
|
+
le(function() {
|
|
863
900
|
if (r._throwIfClosed(), !r.isStopped) {
|
|
864
901
|
r.isStopped = !0;
|
|
865
902
|
for (var n = r.observers; n.length; )
|
|
@@ -881,20 +918,20 @@ var $r = Pt(function(e) {
|
|
|
881
918
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
882
919
|
}, t.prototype._innerSubscribe = function(r) {
|
|
883
920
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
884
|
-
return o || s ?
|
|
885
|
-
n.currentObservers = null,
|
|
921
|
+
return o || s ? Lt : (this.currentObservers = null, a.push(r), new be(function() {
|
|
922
|
+
n.currentObservers = null, $e(a, r);
|
|
886
923
|
}));
|
|
887
924
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
888
925
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
889
926
|
i ? r.error(o) : s && r.complete();
|
|
890
927
|
}, t.prototype.asObservable = function() {
|
|
891
|
-
var r = new
|
|
928
|
+
var r = new ut();
|
|
892
929
|
return r.source = this, r;
|
|
893
930
|
}, t.create = function(r, n) {
|
|
894
|
-
return new
|
|
931
|
+
return new lt(r, n);
|
|
895
932
|
}, t;
|
|
896
|
-
}(
|
|
897
|
-
|
|
933
|
+
}(ut), lt = function(e) {
|
|
934
|
+
C(t, e);
|
|
898
935
|
function t(r, n) {
|
|
899
936
|
var i = e.call(this) || this;
|
|
900
937
|
return i.destination = r, i.source = n, i;
|
|
@@ -910,17 +947,17 @@ var $r = Pt(function(e) {
|
|
|
910
947
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
911
948
|
}, t.prototype._subscribe = function(r) {
|
|
912
949
|
var n, i;
|
|
913
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
950
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Lt;
|
|
914
951
|
}, t;
|
|
915
|
-
}(
|
|
952
|
+
}(Rt), Ut = {
|
|
916
953
|
now: function() {
|
|
917
|
-
return (
|
|
954
|
+
return (Ut.delegate || Date).now();
|
|
918
955
|
},
|
|
919
956
|
delegate: void 0
|
|
920
|
-
},
|
|
921
|
-
|
|
957
|
+
}, Zr = function(e) {
|
|
958
|
+
C(t, e);
|
|
922
959
|
function t(r, n, i) {
|
|
923
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
960
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ut);
|
|
924
961
|
var o = e.call(this) || this;
|
|
925
962
|
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;
|
|
926
963
|
}
|
|
@@ -940,65 +977,65 @@ var $r = Pt(function(e) {
|
|
|
940
977
|
u && o.splice(0, u + 1);
|
|
941
978
|
}
|
|
942
979
|
}, t;
|
|
943
|
-
}(
|
|
944
|
-
const
|
|
945
|
-
if (
|
|
946
|
-
const r = new
|
|
947
|
-
|
|
980
|
+
}(Rt);
|
|
981
|
+
const ct = [], ft = {}, Qr = (e, t = 0) => {
|
|
982
|
+
if (ct.indexOf(e) == -1) {
|
|
983
|
+
const r = new Zr(t);
|
|
984
|
+
ft[e] = r, ct.push(e);
|
|
948
985
|
}
|
|
949
|
-
return
|
|
950
|
-
},
|
|
951
|
-
function
|
|
986
|
+
return ft[e];
|
|
987
|
+
}, F = [];
|
|
988
|
+
function Jr(e, t) {
|
|
952
989
|
return {
|
|
953
|
-
subscribe:
|
|
990
|
+
subscribe: ge(e, t).subscribe
|
|
954
991
|
};
|
|
955
992
|
}
|
|
956
|
-
function
|
|
993
|
+
function ge(e, t = A) {
|
|
957
994
|
let r;
|
|
958
995
|
const n = /* @__PURE__ */ new Set();
|
|
959
996
|
function i(a) {
|
|
960
|
-
if (
|
|
961
|
-
const h = !
|
|
997
|
+
if (Nt(e, a) && (e = a, r)) {
|
|
998
|
+
const h = !F.length;
|
|
962
999
|
for (const u of n)
|
|
963
|
-
u[1](),
|
|
1000
|
+
u[1](), F.push(u, e);
|
|
964
1001
|
if (h) {
|
|
965
|
-
for (let u = 0; u <
|
|
966
|
-
|
|
967
|
-
|
|
1002
|
+
for (let u = 0; u < F.length; u += 2)
|
|
1003
|
+
F[u][0](F[u + 1]);
|
|
1004
|
+
F.length = 0;
|
|
968
1005
|
}
|
|
969
1006
|
}
|
|
970
1007
|
}
|
|
971
1008
|
function o(a) {
|
|
972
1009
|
i(a(e));
|
|
973
1010
|
}
|
|
974
|
-
function s(a, h =
|
|
1011
|
+
function s(a, h = A) {
|
|
975
1012
|
const u = [a, h];
|
|
976
|
-
return n.add(u), n.size === 1 && (r = t(i, o) ||
|
|
1013
|
+
return n.add(u), n.size === 1 && (r = t(i, o) || A), a(e), () => {
|
|
977
1014
|
n.delete(u), n.size === 0 && r && (r(), r = null);
|
|
978
1015
|
};
|
|
979
1016
|
}
|
|
980
1017
|
return { set: i, update: o, subscribe: s };
|
|
981
1018
|
}
|
|
982
|
-
function
|
|
1019
|
+
function Q(e, t, r) {
|
|
983
1020
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
984
1021
|
if (!i.every(Boolean))
|
|
985
1022
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
986
1023
|
const o = t.length < 2;
|
|
987
|
-
return
|
|
1024
|
+
return Jr(r, (s, a) => {
|
|
988
1025
|
let h = !1;
|
|
989
1026
|
const u = [];
|
|
990
|
-
let l = 0, c =
|
|
1027
|
+
let l = 0, c = A;
|
|
991
1028
|
const f = () => {
|
|
992
1029
|
if (l)
|
|
993
1030
|
return;
|
|
994
1031
|
c();
|
|
995
1032
|
const d = t(n ? u[0] : u, s, a);
|
|
996
|
-
o ? s(d) : c =
|
|
1033
|
+
o ? s(d) : c = We(d) ? d : A;
|
|
997
1034
|
}, p = i.map(
|
|
998
|
-
(d, m) =>
|
|
1035
|
+
(d, m) => pr(
|
|
999
1036
|
d,
|
|
1000
|
-
(
|
|
1001
|
-
u[m] =
|
|
1037
|
+
(H) => {
|
|
1038
|
+
u[m] = H, l &= ~(1 << m), h && f();
|
|
1002
1039
|
},
|
|
1003
1040
|
() => {
|
|
1004
1041
|
l |= 1 << m;
|
|
@@ -1006,118 +1043,118 @@ function Z(e, t, r) {
|
|
|
1006
1043
|
)
|
|
1007
1044
|
);
|
|
1008
1045
|
return h = !0, f(), function() {
|
|
1009
|
-
|
|
1046
|
+
re(p), c(), h = !1;
|
|
1010
1047
|
};
|
|
1011
1048
|
});
|
|
1012
1049
|
}
|
|
1013
|
-
function
|
|
1050
|
+
function qr(e) {
|
|
1014
1051
|
return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1015
1052
|
}
|
|
1016
|
-
var
|
|
1017
|
-
return
|
|
1053
|
+
var Yr = function(t) {
|
|
1054
|
+
return Kr(t) && !en(t);
|
|
1018
1055
|
};
|
|
1019
|
-
function
|
|
1056
|
+
function Kr(e) {
|
|
1020
1057
|
return !!e && typeof e == "object";
|
|
1021
1058
|
}
|
|
1022
|
-
function
|
|
1059
|
+
function en(e) {
|
|
1023
1060
|
var t = Object.prototype.toString.call(e);
|
|
1024
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1061
|
+
return t === "[object RegExp]" || t === "[object Date]" || nn(e);
|
|
1025
1062
|
}
|
|
1026
|
-
var
|
|
1027
|
-
function
|
|
1028
|
-
return e.$$typeof ===
|
|
1063
|
+
var tn = typeof Symbol == "function" && Symbol.for, rn = tn ? Symbol.for("react.element") : 60103;
|
|
1064
|
+
function nn(e) {
|
|
1065
|
+
return e.$$typeof === rn;
|
|
1029
1066
|
}
|
|
1030
|
-
function
|
|
1067
|
+
function on(e) {
|
|
1031
1068
|
return Array.isArray(e) ? [] : {};
|
|
1032
1069
|
}
|
|
1033
|
-
function
|
|
1034
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1070
|
+
function ee(e, t) {
|
|
1071
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? X(on(e), e, t) : e;
|
|
1035
1072
|
}
|
|
1036
|
-
function
|
|
1073
|
+
function sn(e, t, r) {
|
|
1037
1074
|
return e.concat(t).map(function(n) {
|
|
1038
|
-
return
|
|
1075
|
+
return ee(n, r);
|
|
1039
1076
|
});
|
|
1040
1077
|
}
|
|
1041
|
-
function
|
|
1078
|
+
function an(e, t) {
|
|
1042
1079
|
if (!t.customMerge)
|
|
1043
|
-
return
|
|
1080
|
+
return X;
|
|
1044
1081
|
var r = t.customMerge(e);
|
|
1045
|
-
return typeof r == "function" ? r :
|
|
1082
|
+
return typeof r == "function" ? r : X;
|
|
1046
1083
|
}
|
|
1047
|
-
function
|
|
1084
|
+
function un(e) {
|
|
1048
1085
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1049
1086
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1050
1087
|
}) : [];
|
|
1051
1088
|
}
|
|
1052
|
-
function
|
|
1053
|
-
return Object.keys(e).concat(
|
|
1089
|
+
function dt(e) {
|
|
1090
|
+
return Object.keys(e).concat(un(e));
|
|
1054
1091
|
}
|
|
1055
|
-
function
|
|
1092
|
+
function Dt(e, t) {
|
|
1056
1093
|
try {
|
|
1057
1094
|
return t in e;
|
|
1058
|
-
} catch {
|
|
1095
|
+
} catch (r) {
|
|
1059
1096
|
return !1;
|
|
1060
1097
|
}
|
|
1061
1098
|
}
|
|
1062
|
-
function
|
|
1063
|
-
return
|
|
1099
|
+
function hn(e, t) {
|
|
1100
|
+
return Dt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1064
1101
|
}
|
|
1065
|
-
function
|
|
1102
|
+
function ln(e, t, r) {
|
|
1066
1103
|
var n = {};
|
|
1067
|
-
return r.isMergeableObject(e) &&
|
|
1068
|
-
n[i] =
|
|
1069
|
-
}),
|
|
1070
|
-
|
|
1104
|
+
return r.isMergeableObject(e) && dt(e).forEach(function(i) {
|
|
1105
|
+
n[i] = ee(e[i], r);
|
|
1106
|
+
}), dt(t).forEach(function(i) {
|
|
1107
|
+
hn(e, i) || (Dt(e, i) && r.isMergeableObject(t[i]) ? n[i] = an(i, r)(e[i], t[i], r) : n[i] = ee(t[i], r));
|
|
1071
1108
|
}), n;
|
|
1072
1109
|
}
|
|
1073
|
-
function
|
|
1074
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1110
|
+
function X(e, t, r) {
|
|
1111
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || sn, r.isMergeableObject = r.isMergeableObject || Yr, r.cloneUnlessOtherwiseSpecified = ee;
|
|
1075
1112
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1076
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1113
|
+
return o ? n ? r.arrayMerge(e, t, r) : ln(e, t, r) : ee(t, r);
|
|
1077
1114
|
}
|
|
1078
|
-
|
|
1115
|
+
X.all = function(t, r) {
|
|
1079
1116
|
if (!Array.isArray(t))
|
|
1080
1117
|
throw new Error("first argument should be an array");
|
|
1081
1118
|
return t.reduce(function(n, i) {
|
|
1082
|
-
return
|
|
1119
|
+
return X(n, i, r);
|
|
1083
1120
|
}, {});
|
|
1084
1121
|
};
|
|
1085
|
-
var
|
|
1086
|
-
const
|
|
1087
|
-
function
|
|
1088
|
-
var r = t && t.cache ? t.cache :
|
|
1122
|
+
var cn = X, fn = cn;
|
|
1123
|
+
const dn = /* @__PURE__ */ qr(fn);
|
|
1124
|
+
function He(e, t) {
|
|
1125
|
+
var r = t && t.cache ? t.cache : xn, n = t && t.serializer ? t.serializer : yn, i = t && t.strategy ? t.strategy : mn;
|
|
1089
1126
|
return i(e, {
|
|
1090
1127
|
cache: r,
|
|
1091
1128
|
serializer: n
|
|
1092
1129
|
});
|
|
1093
1130
|
}
|
|
1094
|
-
function
|
|
1131
|
+
function pn(e) {
|
|
1095
1132
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1096
1133
|
}
|
|
1097
|
-
function
|
|
1098
|
-
var i =
|
|
1099
|
-
return typeof o
|
|
1134
|
+
function Gt(e, t, r, n) {
|
|
1135
|
+
var i = pn(n) ? n : r(n), o = t.get(i);
|
|
1136
|
+
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1100
1137
|
}
|
|
1101
|
-
function
|
|
1138
|
+
function Ft(e, t, r) {
|
|
1102
1139
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1103
|
-
return typeof o
|
|
1140
|
+
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1104
1141
|
}
|
|
1105
|
-
function
|
|
1142
|
+
function Ze(e, t, r, n, i) {
|
|
1106
1143
|
return r.bind(t, e, n, i);
|
|
1107
1144
|
}
|
|
1108
|
-
function
|
|
1109
|
-
var r = e.length === 1 ?
|
|
1110
|
-
return
|
|
1145
|
+
function mn(e, t) {
|
|
1146
|
+
var r = e.length === 1 ? Gt : Ft;
|
|
1147
|
+
return Ze(e, this, r, t.cache.create(), t.serializer);
|
|
1111
1148
|
}
|
|
1112
|
-
function
|
|
1113
|
-
return
|
|
1149
|
+
function bn(e, t) {
|
|
1150
|
+
return Ze(e, this, Ft, t.cache.create(), t.serializer);
|
|
1114
1151
|
}
|
|
1115
|
-
function
|
|
1116
|
-
return
|
|
1152
|
+
function gn(e, t) {
|
|
1153
|
+
return Ze(e, this, Gt, t.cache.create(), t.serializer);
|
|
1117
1154
|
}
|
|
1118
|
-
var
|
|
1155
|
+
var yn = function() {
|
|
1119
1156
|
return JSON.stringify(arguments);
|
|
1120
|
-
},
|
|
1157
|
+
}, vn = (
|
|
1121
1158
|
/** @class */
|
|
1122
1159
|
function() {
|
|
1123
1160
|
function e() {
|
|
@@ -1129,13 +1166,13 @@ var an = function() {
|
|
|
1129
1166
|
this.cache[t] = r;
|
|
1130
1167
|
}, e;
|
|
1131
1168
|
}()
|
|
1132
|
-
),
|
|
1169
|
+
), xn = {
|
|
1133
1170
|
create: function() {
|
|
1134
|
-
return new
|
|
1171
|
+
return new vn();
|
|
1135
1172
|
}
|
|
1136
|
-
},
|
|
1137
|
-
variadic:
|
|
1138
|
-
monadic:
|
|
1173
|
+
}, Ae = {
|
|
1174
|
+
variadic: bn,
|
|
1175
|
+
monadic: gn
|
|
1139
1176
|
}, g;
|
|
1140
1177
|
(function(e) {
|
|
1141
1178
|
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";
|
|
@@ -1144,47 +1181,47 @@ var x;
|
|
|
1144
1181
|
(function(e) {
|
|
1145
1182
|
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";
|
|
1146
1183
|
})(x || (x = {}));
|
|
1147
|
-
var
|
|
1184
|
+
var W;
|
|
1148
1185
|
(function(e) {
|
|
1149
1186
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1150
|
-
})(
|
|
1151
|
-
function
|
|
1187
|
+
})(W || (W = {}));
|
|
1188
|
+
function pt(e) {
|
|
1152
1189
|
return e.type === x.literal;
|
|
1153
1190
|
}
|
|
1154
|
-
function
|
|
1191
|
+
function _n(e) {
|
|
1155
1192
|
return e.type === x.argument;
|
|
1156
1193
|
}
|
|
1157
|
-
function
|
|
1194
|
+
function jt(e) {
|
|
1158
1195
|
return e.type === x.number;
|
|
1159
1196
|
}
|
|
1160
|
-
function
|
|
1197
|
+
function kt(e) {
|
|
1161
1198
|
return e.type === x.date;
|
|
1162
1199
|
}
|
|
1163
|
-
function
|
|
1200
|
+
function Vt(e) {
|
|
1164
1201
|
return e.type === x.time;
|
|
1165
1202
|
}
|
|
1166
|
-
function
|
|
1203
|
+
function Xt(e) {
|
|
1167
1204
|
return e.type === x.select;
|
|
1168
1205
|
}
|
|
1169
|
-
function
|
|
1206
|
+
function Wt(e) {
|
|
1170
1207
|
return e.type === x.plural;
|
|
1171
1208
|
}
|
|
1172
|
-
function
|
|
1209
|
+
function En(e) {
|
|
1173
1210
|
return e.type === x.pound;
|
|
1174
1211
|
}
|
|
1175
|
-
function
|
|
1212
|
+
function zt(e) {
|
|
1176
1213
|
return e.type === x.tag;
|
|
1177
1214
|
}
|
|
1178
|
-
function
|
|
1179
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1215
|
+
function Zt(e) {
|
|
1216
|
+
return !!(e && typeof e == "object" && e.type === W.number);
|
|
1180
1217
|
}
|
|
1181
|
-
function
|
|
1182
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1218
|
+
function Ue(e) {
|
|
1219
|
+
return !!(e && typeof e == "object" && e.type === W.dateTime);
|
|
1183
1220
|
}
|
|
1184
|
-
var
|
|
1185
|
-
function
|
|
1221
|
+
var Qt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Sn = /(?:[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;
|
|
1222
|
+
function Tn(e) {
|
|
1186
1223
|
var t = {};
|
|
1187
|
-
return e.replace(
|
|
1224
|
+
return e.replace(Sn, function(r) {
|
|
1188
1225
|
var n = r.length;
|
|
1189
1226
|
switch (r[0]) {
|
|
1190
1227
|
case "G":
|
|
@@ -1273,11 +1310,11 @@ function dn(e) {
|
|
|
1273
1310
|
return "";
|
|
1274
1311
|
}), t;
|
|
1275
1312
|
}
|
|
1276
|
-
var
|
|
1277
|
-
function
|
|
1313
|
+
var Hn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1314
|
+
function An(e) {
|
|
1278
1315
|
if (e.length === 0)
|
|
1279
1316
|
throw new Error("Number skeleton cannot be empty");
|
|
1280
|
-
for (var t = e.split(
|
|
1317
|
+
for (var t = e.split(Hn).filter(function(f) {
|
|
1281
1318
|
return f.length > 0;
|
|
1282
1319
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1283
1320
|
var o = i[n], s = o.split("/");
|
|
@@ -1292,17 +1329,17 @@ function mn(e) {
|
|
|
1292
1329
|
}
|
|
1293
1330
|
return r;
|
|
1294
1331
|
}
|
|
1295
|
-
function
|
|
1332
|
+
function Pn(e) {
|
|
1296
1333
|
return e.replace(/^(.*?)-/, "");
|
|
1297
1334
|
}
|
|
1298
|
-
var
|
|
1299
|
-
function
|
|
1335
|
+
var mt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Jt = /^(@+)?(\+|#+)?[rs]?$/g, Bn = /(\*)(0+)|(#+)(0+)|(0+)/g, qt = /^(0+)$/;
|
|
1336
|
+
function bt(e) {
|
|
1300
1337
|
var t = {};
|
|
1301
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1338
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Jt, function(r, n, i) {
|
|
1302
1339
|
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)), "";
|
|
1303
1340
|
}), t;
|
|
1304
1341
|
}
|
|
1305
|
-
function
|
|
1342
|
+
function Yt(e) {
|
|
1306
1343
|
switch (e) {
|
|
1307
1344
|
case "sign-auto":
|
|
1308
1345
|
return {
|
|
@@ -1342,7 +1379,7 @@ function Wt(e) {
|
|
|
1342
1379
|
};
|
|
1343
1380
|
}
|
|
1344
1381
|
}
|
|
1345
|
-
function
|
|
1382
|
+
function wn(e) {
|
|
1346
1383
|
var t;
|
|
1347
1384
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1348
1385
|
notation: "engineering"
|
|
@@ -1350,17 +1387,17 @@ function yn(e) {
|
|
|
1350
1387
|
notation: "scientific"
|
|
1351
1388
|
}, e = e.slice(1)), t) {
|
|
1352
1389
|
var r = e.slice(0, 2);
|
|
1353
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1390
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !qt.test(e))
|
|
1354
1391
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1355
1392
|
t.minimumIntegerDigits = e.length;
|
|
1356
1393
|
}
|
|
1357
1394
|
return t;
|
|
1358
1395
|
}
|
|
1359
|
-
function
|
|
1360
|
-
var t = {}, r =
|
|
1396
|
+
function gt(e) {
|
|
1397
|
+
var t = {}, r = Yt(e);
|
|
1361
1398
|
return r || t;
|
|
1362
1399
|
}
|
|
1363
|
-
function
|
|
1400
|
+
function Nn(e) {
|
|
1364
1401
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1365
1402
|
var i = n[r];
|
|
1366
1403
|
switch (i.stem) {
|
|
@@ -1384,7 +1421,7 @@ function vn(e) {
|
|
|
1384
1421
|
continue;
|
|
1385
1422
|
case "measure-unit":
|
|
1386
1423
|
case "unit":
|
|
1387
|
-
t.style = "unit", t.unit =
|
|
1424
|
+
t.style = "unit", t.unit = Pn(i.options[0]);
|
|
1388
1425
|
continue;
|
|
1389
1426
|
case "compact-short":
|
|
1390
1427
|
case "K":
|
|
@@ -1396,12 +1433,12 @@ function vn(e) {
|
|
|
1396
1433
|
continue;
|
|
1397
1434
|
case "scientific":
|
|
1398
1435
|
t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
|
|
1399
|
-
return v(v({}, h),
|
|
1436
|
+
return v(v({}, h), gt(u));
|
|
1400
1437
|
}, {}));
|
|
1401
1438
|
continue;
|
|
1402
1439
|
case "engineering":
|
|
1403
1440
|
t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
|
|
1404
|
-
return v(v({}, h),
|
|
1441
|
+
return v(v({}, h), gt(u));
|
|
1405
1442
|
}, {}));
|
|
1406
1443
|
continue;
|
|
1407
1444
|
case "notation-simple":
|
|
@@ -1446,7 +1483,7 @@ function vn(e) {
|
|
|
1446
1483
|
case "integer-width":
|
|
1447
1484
|
if (i.options.length > 1)
|
|
1448
1485
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1449
|
-
i.options[0].replace(
|
|
1486
|
+
i.options[0].replace(Bn, function(h, u, l, c, f, p) {
|
|
1450
1487
|
if (u)
|
|
1451
1488
|
t.minimumIntegerDigits = l.length;
|
|
1452
1489
|
else {
|
|
@@ -1459,32 +1496,32 @@ function vn(e) {
|
|
|
1459
1496
|
});
|
|
1460
1497
|
continue;
|
|
1461
1498
|
}
|
|
1462
|
-
if (
|
|
1499
|
+
if (qt.test(i.stem)) {
|
|
1463
1500
|
t.minimumIntegerDigits = i.stem.length;
|
|
1464
1501
|
continue;
|
|
1465
1502
|
}
|
|
1466
|
-
if (
|
|
1503
|
+
if (mt.test(i.stem)) {
|
|
1467
1504
|
if (i.options.length > 1)
|
|
1468
1505
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1469
|
-
i.stem.replace(
|
|
1506
|
+
i.stem.replace(mt, function(h, u, l, c, f, p) {
|
|
1470
1507
|
return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1471
1508
|
});
|
|
1472
1509
|
var o = i.options[0];
|
|
1473
|
-
o === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = v(v({}, t),
|
|
1510
|
+
o === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = v(v({}, t), bt(o)));
|
|
1474
1511
|
continue;
|
|
1475
1512
|
}
|
|
1476
|
-
if (
|
|
1477
|
-
t = v(v({}, t),
|
|
1513
|
+
if (Jt.test(i.stem)) {
|
|
1514
|
+
t = v(v({}, t), bt(i.stem));
|
|
1478
1515
|
continue;
|
|
1479
1516
|
}
|
|
1480
|
-
var s =
|
|
1517
|
+
var s = Yt(i.stem);
|
|
1481
1518
|
s && (t = v(v({}, t), s));
|
|
1482
|
-
var a =
|
|
1519
|
+
var a = wn(i.stem);
|
|
1483
1520
|
a && (t = v(v({}, t), a));
|
|
1484
1521
|
}
|
|
1485
1522
|
return t;
|
|
1486
1523
|
}
|
|
1487
|
-
var
|
|
1524
|
+
var ue = {
|
|
1488
1525
|
"001": [
|
|
1489
1526
|
"H",
|
|
1490
1527
|
"h"
|
|
@@ -2899,13 +2936,13 @@ var ae = {
|
|
|
2899
2936
|
"h"
|
|
2900
2937
|
]
|
|
2901
2938
|
};
|
|
2902
|
-
function
|
|
2939
|
+
function On(e, t) {
|
|
2903
2940
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2904
2941
|
var i = e.charAt(n);
|
|
2905
2942
|
if (i === "j") {
|
|
2906
2943
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2907
2944
|
o++, n++;
|
|
2908
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u =
|
|
2945
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = In(t);
|
|
2909
2946
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
2910
2947
|
r += h;
|
|
2911
2948
|
for (; s-- > 0; )
|
|
@@ -2914,7 +2951,7 @@ function xn(e, t) {
|
|
|
2914
2951
|
}
|
|
2915
2952
|
return r;
|
|
2916
2953
|
}
|
|
2917
|
-
function
|
|
2954
|
+
function In(e) {
|
|
2918
2955
|
var t = e.hourCycle;
|
|
2919
2956
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2920
2957
|
e.hourCycles && // @ts-ignore
|
|
@@ -2933,23 +2970,23 @@ function _n(e) {
|
|
|
2933
2970
|
}
|
|
2934
2971
|
var r = e.language, n;
|
|
2935
2972
|
r !== "root" && (n = e.maximize().region);
|
|
2936
|
-
var i =
|
|
2973
|
+
var i = ue[n || ""] || ue[r || ""] || ue["".concat(r, "-001")] || ue["001"];
|
|
2937
2974
|
return i[0];
|
|
2938
2975
|
}
|
|
2939
|
-
var
|
|
2976
|
+
var Pe, Cn = new RegExp("^".concat(Qt.source, "*")), Ln = new RegExp("".concat(Qt.source, "*$"));
|
|
2940
2977
|
function y(e, t) {
|
|
2941
2978
|
return { start: e, end: t };
|
|
2942
2979
|
}
|
|
2943
|
-
var
|
|
2980
|
+
var Mn = !!String.prototype.startsWith && "_a".startsWith("a", 1), $n = !!String.fromCodePoint, Rn = !!Object.fromEntries, Un = !!String.prototype.codePointAt, Dn = !!String.prototype.trimStart, Gn = !!String.prototype.trimEnd, Fn = !!Number.isSafeInteger, jn = Fn ? Number.isSafeInteger : function(e) {
|
|
2944
2981
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2945
|
-
},
|
|
2982
|
+
}, De = !0;
|
|
2946
2983
|
try {
|
|
2947
|
-
var
|
|
2948
|
-
|
|
2949
|
-
} catch {
|
|
2950
|
-
|
|
2984
|
+
var kn = er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2985
|
+
De = ((Pe = kn.exec("a")) === null || Pe === void 0 ? void 0 : Pe[0]) === "a";
|
|
2986
|
+
} catch (e) {
|
|
2987
|
+
De = !1;
|
|
2951
2988
|
}
|
|
2952
|
-
var
|
|
2989
|
+
var yt = Mn ? (
|
|
2953
2990
|
// Native
|
|
2954
2991
|
function(t, r, n) {
|
|
2955
2992
|
return t.startsWith(r, n);
|
|
@@ -2959,7 +2996,7 @@ var ft = Tn ? (
|
|
|
2959
2996
|
function(t, r, n) {
|
|
2960
2997
|
return t.slice(n, n + r.length) === r;
|
|
2961
2998
|
}
|
|
2962
|
-
),
|
|
2999
|
+
), Ge = $n ? String.fromCodePoint : (
|
|
2963
3000
|
// IE11
|
|
2964
3001
|
function() {
|
|
2965
3002
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -2971,9 +3008,9 @@ var ft = Tn ? (
|
|
|
2971
3008
|
}
|
|
2972
3009
|
return n;
|
|
2973
3010
|
}
|
|
2974
|
-
),
|
|
3011
|
+
), vt = (
|
|
2975
3012
|
// native
|
|
2976
|
-
|
|
3013
|
+
Rn ? Object.fromEntries : (
|
|
2977
3014
|
// Ponyfill
|
|
2978
3015
|
function(t) {
|
|
2979
3016
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -2983,7 +3020,7 @@ var ft = Tn ? (
|
|
|
2983
3020
|
return r;
|
|
2984
3021
|
}
|
|
2985
3022
|
)
|
|
2986
|
-
),
|
|
3023
|
+
), Kt = Un ? (
|
|
2987
3024
|
// Native
|
|
2988
3025
|
function(t, r) {
|
|
2989
3026
|
return t.codePointAt(r);
|
|
@@ -2997,7 +3034,7 @@ var ft = Tn ? (
|
|
|
2997
3034
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
2998
3035
|
}
|
|
2999
3036
|
}
|
|
3000
|
-
),
|
|
3037
|
+
), Vn = Dn ? (
|
|
3001
3038
|
// Native
|
|
3002
3039
|
function(t) {
|
|
3003
3040
|
return t.trimStart();
|
|
@@ -3005,9 +3042,9 @@ var ft = Tn ? (
|
|
|
3005
3042
|
) : (
|
|
3006
3043
|
// Ponyfill
|
|
3007
3044
|
function(t) {
|
|
3008
|
-
return t.replace(
|
|
3045
|
+
return t.replace(Cn, "");
|
|
3009
3046
|
}
|
|
3010
|
-
),
|
|
3047
|
+
), Xn = Gn ? (
|
|
3011
3048
|
// Native
|
|
3012
3049
|
function(t) {
|
|
3013
3050
|
return t.trimEnd();
|
|
@@ -3015,32 +3052,32 @@ var ft = Tn ? (
|
|
|
3015
3052
|
) : (
|
|
3016
3053
|
// Ponyfill
|
|
3017
3054
|
function(t) {
|
|
3018
|
-
return t.replace(
|
|
3055
|
+
return t.replace(Ln, "");
|
|
3019
3056
|
}
|
|
3020
3057
|
);
|
|
3021
|
-
function
|
|
3058
|
+
function er(e, t) {
|
|
3022
3059
|
return new RegExp(e, t);
|
|
3023
3060
|
}
|
|
3024
|
-
var
|
|
3025
|
-
if (
|
|
3026
|
-
var
|
|
3027
|
-
|
|
3061
|
+
var Fe;
|
|
3062
|
+
if (De) {
|
|
3063
|
+
var xt = er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3064
|
+
Fe = function(t, r) {
|
|
3028
3065
|
var n;
|
|
3029
|
-
|
|
3030
|
-
var i =
|
|
3066
|
+
xt.lastIndex = r;
|
|
3067
|
+
var i = xt.exec(t);
|
|
3031
3068
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3032
3069
|
};
|
|
3033
3070
|
} else
|
|
3034
|
-
|
|
3071
|
+
Fe = function(t, r) {
|
|
3035
3072
|
for (var n = []; ; ) {
|
|
3036
|
-
var i =
|
|
3037
|
-
if (i === void 0 ||
|
|
3073
|
+
var i = Kt(t, r);
|
|
3074
|
+
if (i === void 0 || tr(i) || Qn(i))
|
|
3038
3075
|
break;
|
|
3039
3076
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3040
3077
|
}
|
|
3041
|
-
return
|
|
3078
|
+
return Ge.apply(void 0, n);
|
|
3042
3079
|
};
|
|
3043
|
-
var
|
|
3080
|
+
var Wn = (
|
|
3044
3081
|
/** @class */
|
|
3045
3082
|
function() {
|
|
3046
3083
|
function e(t, r) {
|
|
@@ -3071,7 +3108,7 @@ var Mn = (
|
|
|
3071
3108
|
if (n)
|
|
3072
3109
|
break;
|
|
3073
3110
|
return this.error(g.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
|
|
3074
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3111
|
+
} else if (o === 60 && !this.ignoreTag && je(this.peek() || 0)) {
|
|
3075
3112
|
var s = this.parseTag(t, r);
|
|
3076
3113
|
if (s.err)
|
|
3077
3114
|
return s;
|
|
@@ -3104,7 +3141,7 @@ var Mn = (
|
|
|
3104
3141
|
return o;
|
|
3105
3142
|
var s = o.val, a = this.clonePosition();
|
|
3106
3143
|
if (this.bumpIf("</")) {
|
|
3107
|
-
if (this.isEOF() || !
|
|
3144
|
+
if (this.isEOF() || !je(this.char()))
|
|
3108
3145
|
return this.error(g.INVALID_TAG, y(a, this.clonePosition()));
|
|
3109
3146
|
var h = this.clonePosition(), u = this.parseTagName();
|
|
3110
3147
|
return i !== u ? this.error(g.UNMATCHED_CLOSING_TAG, y(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
@@ -3122,7 +3159,7 @@ var Mn = (
|
|
|
3122
3159
|
return this.error(g.INVALID_TAG, y(n, this.clonePosition()));
|
|
3123
3160
|
}, e.prototype.parseTagName = function() {
|
|
3124
3161
|
var t = this.offset();
|
|
3125
|
-
for (this.bump(); !this.isEOF() &&
|
|
3162
|
+
for (this.bump(); !this.isEOF() && Zn(this.char()); )
|
|
3126
3163
|
this.bump();
|
|
3127
3164
|
return this.message.slice(t, this.offset());
|
|
3128
3165
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3151,7 +3188,7 @@ var Mn = (
|
|
|
3151
3188
|
};
|
|
3152
3189
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3153
3190
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3154
|
-
|
|
3191
|
+
!zn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3155
3192
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3156
3193
|
if (this.isEOF() || this.char() !== 39)
|
|
3157
3194
|
return null;
|
|
@@ -3185,12 +3222,12 @@ var Mn = (
|
|
|
3185
3222
|
r.push(n);
|
|
3186
3223
|
this.bump();
|
|
3187
3224
|
}
|
|
3188
|
-
return
|
|
3225
|
+
return Ge.apply(void 0, r);
|
|
3189
3226
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3190
3227
|
if (this.isEOF())
|
|
3191
3228
|
return null;
|
|
3192
3229
|
var n = this.char();
|
|
3193
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3230
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ge(n));
|
|
3194
3231
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3195
3232
|
var n = this.clonePosition();
|
|
3196
3233
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3219,7 +3256,7 @@ var Mn = (
|
|
|
3219
3256
|
return this.error(g.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
|
|
3220
3257
|
}
|
|
3221
3258
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3222
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3259
|
+
var t = this.clonePosition(), r = this.offset(), n = Fe(this.message, r), i = r + n.length;
|
|
3223
3260
|
this.bumpTo(i);
|
|
3224
3261
|
var o = this.clonePosition(), s = y(t, o);
|
|
3225
3262
|
return { value: n, location: s };
|
|
@@ -3238,7 +3275,7 @@ var Mn = (
|
|
|
3238
3275
|
var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
3239
3276
|
if (c.err)
|
|
3240
3277
|
return c;
|
|
3241
|
-
var f =
|
|
3278
|
+
var f = Xn(c.val);
|
|
3242
3279
|
if (f.length === 0)
|
|
3243
3280
|
return this.error(g.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
|
|
3244
3281
|
var p = y(l, this.clonePosition());
|
|
@@ -3248,27 +3285,27 @@ var Mn = (
|
|
|
3248
3285
|
if (d.err)
|
|
3249
3286
|
return d;
|
|
3250
3287
|
var m = y(i, this.clonePosition());
|
|
3251
|
-
if (u &&
|
|
3252
|
-
var
|
|
3288
|
+
if (u && yt(u == null ? void 0 : u.style, "::", 0)) {
|
|
3289
|
+
var H = Vn(u.style.slice(2));
|
|
3253
3290
|
if (a === "number") {
|
|
3254
|
-
var c = this.parseNumberSkeletonFromString(
|
|
3291
|
+
var c = this.parseNumberSkeletonFromString(H, u.styleLocation);
|
|
3255
3292
|
return c.err ? c : {
|
|
3256
3293
|
val: { type: x.number, value: n, location: m, style: c.val },
|
|
3257
3294
|
err: null
|
|
3258
3295
|
};
|
|
3259
3296
|
} else {
|
|
3260
|
-
if (
|
|
3297
|
+
if (H.length === 0)
|
|
3261
3298
|
return this.error(g.EXPECT_DATE_TIME_SKELETON, m);
|
|
3262
|
-
var
|
|
3263
|
-
this.locale && (
|
|
3299
|
+
var $ = H;
|
|
3300
|
+
this.locale && ($ = On(H, this.locale));
|
|
3264
3301
|
var f = {
|
|
3265
|
-
type:
|
|
3266
|
-
pattern:
|
|
3302
|
+
type: W.dateTime,
|
|
3303
|
+
pattern: $,
|
|
3267
3304
|
location: u.styleLocation,
|
|
3268
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3269
|
-
},
|
|
3305
|
+
parsedOptions: this.shouldParseSkeletons ? Tn($) : {}
|
|
3306
|
+
}, L = a === "date" ? x.date : x.time;
|
|
3270
3307
|
return {
|
|
3271
|
-
val: { type:
|
|
3308
|
+
val: { type: L, value: n, location: m, style: f },
|
|
3272
3309
|
err: null
|
|
3273
3310
|
};
|
|
3274
3311
|
}
|
|
@@ -3278,7 +3315,7 @@ var Mn = (
|
|
|
3278
3315
|
type: a === "number" ? x.number : a === "date" ? x.date : x.time,
|
|
3279
3316
|
value: n,
|
|
3280
3317
|
location: m,
|
|
3281
|
-
style: (o = u
|
|
3318
|
+
style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
|
|
3282
3319
|
},
|
|
3283
3320
|
err: null
|
|
3284
3321
|
};
|
|
@@ -3290,19 +3327,19 @@ var Mn = (
|
|
|
3290
3327
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3291
3328
|
return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS, y(E, v({}, E)));
|
|
3292
3329
|
this.bumpSpace();
|
|
3293
|
-
var
|
|
3294
|
-
if (a !== "select" &&
|
|
3330
|
+
var R = this.parseIdentifierIfPossible(), P = 0;
|
|
3331
|
+
if (a !== "select" && R.value === "offset") {
|
|
3295
3332
|
if (!this.bumpIf(":"))
|
|
3296
3333
|
return this.error(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
|
|
3297
3334
|
this.bumpSpace();
|
|
3298
3335
|
var c = this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3299
3336
|
if (c.err)
|
|
3300
3337
|
return c;
|
|
3301
|
-
this.bumpSpace(),
|
|
3338
|
+
this.bumpSpace(), R = this.parseIdentifierIfPossible(), P = c.val;
|
|
3302
3339
|
}
|
|
3303
|
-
var
|
|
3304
|
-
if (
|
|
3305
|
-
return
|
|
3340
|
+
var D = this.tryParsePluralOrSelectOptions(t, a, r, R);
|
|
3341
|
+
if (D.err)
|
|
3342
|
+
return D;
|
|
3306
3343
|
var d = this.tryParseArgumentClose(i);
|
|
3307
3344
|
if (d.err)
|
|
3308
3345
|
return d;
|
|
@@ -3311,7 +3348,7 @@ var Mn = (
|
|
|
3311
3348
|
val: {
|
|
3312
3349
|
type: x.select,
|
|
3313
3350
|
value: n,
|
|
3314
|
-
options:
|
|
3351
|
+
options: vt(D.val),
|
|
3315
3352
|
location: b
|
|
3316
3353
|
},
|
|
3317
3354
|
err: null
|
|
@@ -3319,8 +3356,8 @@ var Mn = (
|
|
|
3319
3356
|
val: {
|
|
3320
3357
|
type: x.plural,
|
|
3321
3358
|
value: n,
|
|
3322
|
-
options:
|
|
3323
|
-
offset:
|
|
3359
|
+
options: vt(D.val),
|
|
3360
|
+
offset: P,
|
|
3324
3361
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3325
3362
|
location: b
|
|
3326
3363
|
},
|
|
@@ -3370,16 +3407,16 @@ var Mn = (
|
|
|
3370
3407
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3371
3408
|
var n = [];
|
|
3372
3409
|
try {
|
|
3373
|
-
n =
|
|
3374
|
-
} catch {
|
|
3410
|
+
n = An(t);
|
|
3411
|
+
} catch (i) {
|
|
3375
3412
|
return this.error(g.INVALID_NUMBER_SKELETON, r);
|
|
3376
3413
|
}
|
|
3377
3414
|
return {
|
|
3378
3415
|
val: {
|
|
3379
|
-
type:
|
|
3416
|
+
type: W.number,
|
|
3380
3417
|
tokens: n,
|
|
3381
3418
|
location: r,
|
|
3382
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3419
|
+
parsedOptions: this.shouldParseSkeletons ? Nn(n) : {}
|
|
3383
3420
|
},
|
|
3384
3421
|
err: null
|
|
3385
3422
|
};
|
|
@@ -3427,7 +3464,7 @@ var Mn = (
|
|
|
3427
3464
|
break;
|
|
3428
3465
|
}
|
|
3429
3466
|
var h = y(i, this.clonePosition());
|
|
3430
|
-
return o ? (s *= n,
|
|
3467
|
+
return o ? (s *= n, jn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
|
|
3431
3468
|
}, e.prototype.offset = function() {
|
|
3432
3469
|
return this.position.offset;
|
|
3433
3470
|
}, e.prototype.isEOF = function() {
|
|
@@ -3442,7 +3479,7 @@ var Mn = (
|
|
|
3442
3479
|
var t = this.position.offset;
|
|
3443
3480
|
if (t >= this.message.length)
|
|
3444
3481
|
throw Error("out of bound");
|
|
3445
|
-
var r =
|
|
3482
|
+
var r = Kt(this.message, t);
|
|
3446
3483
|
if (r === void 0)
|
|
3447
3484
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3448
3485
|
return r;
|
|
@@ -3461,7 +3498,7 @@ var Mn = (
|
|
|
3461
3498
|
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);
|
|
3462
3499
|
}
|
|
3463
3500
|
}, e.prototype.bumpIf = function(t) {
|
|
3464
|
-
if (
|
|
3501
|
+
if (yt(this.message, t, this.offset())) {
|
|
3465
3502
|
for (var r = 0; r < t.length; r++)
|
|
3466
3503
|
this.bump();
|
|
3467
3504
|
return !0;
|
|
@@ -3483,56 +3520,56 @@ var Mn = (
|
|
|
3483
3520
|
break;
|
|
3484
3521
|
}
|
|
3485
3522
|
}, e.prototype.bumpSpace = function() {
|
|
3486
|
-
for (; !this.isEOF() &&
|
|
3523
|
+
for (; !this.isEOF() && tr(this.char()); )
|
|
3487
3524
|
this.bump();
|
|
3488
3525
|
}, e.prototype.peek = function() {
|
|
3489
3526
|
if (this.isEOF())
|
|
3490
3527
|
return null;
|
|
3491
3528
|
var t = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
|
|
3492
|
-
return n
|
|
3529
|
+
return n != null ? n : null;
|
|
3493
3530
|
}, e;
|
|
3494
3531
|
}()
|
|
3495
3532
|
);
|
|
3496
|
-
function
|
|
3533
|
+
function je(e) {
|
|
3497
3534
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3498
3535
|
}
|
|
3499
|
-
function
|
|
3500
|
-
return
|
|
3536
|
+
function zn(e) {
|
|
3537
|
+
return je(e) || e === 47;
|
|
3501
3538
|
}
|
|
3502
|
-
function
|
|
3539
|
+
function Zn(e) {
|
|
3503
3540
|
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;
|
|
3504
3541
|
}
|
|
3505
|
-
function
|
|
3542
|
+
function tr(e) {
|
|
3506
3543
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3507
3544
|
}
|
|
3508
|
-
function
|
|
3545
|
+
function Qn(e) {
|
|
3509
3546
|
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;
|
|
3510
3547
|
}
|
|
3511
|
-
function
|
|
3548
|
+
function ke(e) {
|
|
3512
3549
|
e.forEach(function(t) {
|
|
3513
|
-
if (delete t.location,
|
|
3550
|
+
if (delete t.location, Xt(t) || Wt(t))
|
|
3514
3551
|
for (var r in t.options)
|
|
3515
|
-
delete t.options[r].location,
|
|
3516
|
-
else
|
|
3552
|
+
delete t.options[r].location, ke(t.options[r].value);
|
|
3553
|
+
else jt(t) && Zt(t.style) || (kt(t) || Vt(t)) && Ue(t.style) ? delete t.style.location : zt(t) && ke(t.children);
|
|
3517
3554
|
});
|
|
3518
3555
|
}
|
|
3519
|
-
function
|
|
3556
|
+
function Jn(e, t) {
|
|
3520
3557
|
t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3521
|
-
var r = new
|
|
3558
|
+
var r = new Wn(e, t).parse();
|
|
3522
3559
|
if (r.err) {
|
|
3523
3560
|
var n = SyntaxError(g[r.err.kind]);
|
|
3524
3561
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3525
3562
|
}
|
|
3526
|
-
return t
|
|
3563
|
+
return t != null && t.captureLocation || ke(r.val), r.val;
|
|
3527
3564
|
}
|
|
3528
|
-
var
|
|
3565
|
+
var z;
|
|
3529
3566
|
(function(e) {
|
|
3530
3567
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3531
|
-
})(
|
|
3532
|
-
var
|
|
3568
|
+
})(z || (z = {}));
|
|
3569
|
+
var ye = (
|
|
3533
3570
|
/** @class */
|
|
3534
3571
|
function(e) {
|
|
3535
|
-
|
|
3572
|
+
C(t, e);
|
|
3536
3573
|
function t(r, n, i) {
|
|
3537
3574
|
var o = e.call(this, r) || this;
|
|
3538
3575
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3541,48 +3578,48 @@ var ge = (
|
|
|
3541
3578
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3542
3579
|
}, t;
|
|
3543
3580
|
}(Error)
|
|
3544
|
-
),
|
|
3581
|
+
), _t = (
|
|
3545
3582
|
/** @class */
|
|
3546
3583
|
function(e) {
|
|
3547
|
-
|
|
3584
|
+
C(t, e);
|
|
3548
3585
|
function t(r, n, i, o) {
|
|
3549
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3586
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), z.INVALID_VALUE, o) || this;
|
|
3550
3587
|
}
|
|
3551
3588
|
return t;
|
|
3552
|
-
}(
|
|
3553
|
-
),
|
|
3589
|
+
}(ye)
|
|
3590
|
+
), qn = (
|
|
3554
3591
|
/** @class */
|
|
3555
3592
|
function(e) {
|
|
3556
|
-
|
|
3593
|
+
C(t, e);
|
|
3557
3594
|
function t(r, n, i) {
|
|
3558
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3595
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), z.INVALID_VALUE, i) || this;
|
|
3559
3596
|
}
|
|
3560
3597
|
return t;
|
|
3561
|
-
}(
|
|
3562
|
-
),
|
|
3598
|
+
}(ye)
|
|
3599
|
+
), Yn = (
|
|
3563
3600
|
/** @class */
|
|
3564
3601
|
function(e) {
|
|
3565
|
-
|
|
3602
|
+
C(t, e);
|
|
3566
3603
|
function t(r, n) {
|
|
3567
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3604
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), z.MISSING_VALUE, n) || this;
|
|
3568
3605
|
}
|
|
3569
3606
|
return t;
|
|
3570
|
-
}(
|
|
3607
|
+
}(ye)
|
|
3571
3608
|
), _;
|
|
3572
3609
|
(function(e) {
|
|
3573
3610
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3574
3611
|
})(_ || (_ = {}));
|
|
3575
|
-
function
|
|
3612
|
+
function Kn(e) {
|
|
3576
3613
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3577
3614
|
var n = t[t.length - 1];
|
|
3578
3615
|
return !n || n.type !== _.literal || r.type !== _.literal ? t.push(r) : n.value += r.value, t;
|
|
3579
3616
|
}, []);
|
|
3580
3617
|
}
|
|
3581
|
-
function
|
|
3618
|
+
function ei(e) {
|
|
3582
3619
|
return typeof e == "function";
|
|
3583
3620
|
}
|
|
3584
|
-
function
|
|
3585
|
-
if (e.length === 1 &&
|
|
3621
|
+
function ce(e, t, r, n, i, o, s) {
|
|
3622
|
+
if (e.length === 1 && pt(e[0]))
|
|
3586
3623
|
return [
|
|
3587
3624
|
{
|
|
3588
3625
|
type: _.literal,
|
|
@@ -3591,14 +3628,14 @@ function le(e, t, r, n, i, o, s) {
|
|
|
3591
3628
|
];
|
|
3592
3629
|
for (var a = [], h = 0, u = e; h < u.length; h++) {
|
|
3593
3630
|
var l = u[h];
|
|
3594
|
-
if (
|
|
3631
|
+
if (pt(l)) {
|
|
3595
3632
|
a.push({
|
|
3596
3633
|
type: _.literal,
|
|
3597
3634
|
value: l.value
|
|
3598
3635
|
});
|
|
3599
3636
|
continue;
|
|
3600
3637
|
}
|
|
3601
|
-
if (
|
|
3638
|
+
if (En(l)) {
|
|
3602
3639
|
typeof o == "number" && a.push({
|
|
3603
3640
|
type: _.literal,
|
|
3604
3641
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3607,89 +3644,89 @@ function le(e, t, r, n, i, o, s) {
|
|
|
3607
3644
|
}
|
|
3608
3645
|
var c = l.value;
|
|
3609
3646
|
if (!(i && c in i))
|
|
3610
|
-
throw new
|
|
3647
|
+
throw new Yn(c, s);
|
|
3611
3648
|
var f = i[c];
|
|
3612
|
-
if (
|
|
3649
|
+
if (_n(l)) {
|
|
3613
3650
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
|
|
3614
3651
|
type: typeof f == "string" ? _.literal : _.object,
|
|
3615
3652
|
value: f
|
|
3616
3653
|
});
|
|
3617
3654
|
continue;
|
|
3618
3655
|
}
|
|
3619
|
-
if (
|
|
3620
|
-
var p = typeof l.style == "string" ? n.date[l.style] :
|
|
3656
|
+
if (kt(l)) {
|
|
3657
|
+
var p = typeof l.style == "string" ? n.date[l.style] : Ue(l.style) ? l.style.parsedOptions : void 0;
|
|
3621
3658
|
a.push({
|
|
3622
3659
|
type: _.literal,
|
|
3623
3660
|
value: r.getDateTimeFormat(t, p).format(f)
|
|
3624
3661
|
});
|
|
3625
3662
|
continue;
|
|
3626
3663
|
}
|
|
3627
|
-
if (
|
|
3628
|
-
var p = typeof l.style == "string" ? n.time[l.style] :
|
|
3664
|
+
if (Vt(l)) {
|
|
3665
|
+
var p = typeof l.style == "string" ? n.time[l.style] : Ue(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
3629
3666
|
a.push({
|
|
3630
3667
|
type: _.literal,
|
|
3631
3668
|
value: r.getDateTimeFormat(t, p).format(f)
|
|
3632
3669
|
});
|
|
3633
3670
|
continue;
|
|
3634
3671
|
}
|
|
3635
|
-
if (
|
|
3636
|
-
var p = typeof l.style == "string" ? n.number[l.style] :
|
|
3672
|
+
if (jt(l)) {
|
|
3673
|
+
var p = typeof l.style == "string" ? n.number[l.style] : Zt(l.style) ? l.style.parsedOptions : void 0;
|
|
3637
3674
|
p && p.scale && (f = f * (p.scale || 1)), a.push({
|
|
3638
3675
|
type: _.literal,
|
|
3639
3676
|
value: r.getNumberFormat(t, p).format(f)
|
|
3640
3677
|
});
|
|
3641
3678
|
continue;
|
|
3642
3679
|
}
|
|
3643
|
-
if (
|
|
3644
|
-
var d = l.children, m = l.value,
|
|
3645
|
-
if (!
|
|
3646
|
-
throw new
|
|
3647
|
-
var
|
|
3648
|
-
return
|
|
3680
|
+
if (zt(l)) {
|
|
3681
|
+
var d = l.children, m = l.value, H = i[m];
|
|
3682
|
+
if (!ei(H))
|
|
3683
|
+
throw new qn(m, "function", s);
|
|
3684
|
+
var $ = ce(d, t, r, n, i, o), L = H($.map(function(P) {
|
|
3685
|
+
return P.value;
|
|
3649
3686
|
}));
|
|
3650
|
-
Array.isArray(
|
|
3687
|
+
Array.isArray(L) || (L = [L]), a.push.apply(a, L.map(function(P) {
|
|
3651
3688
|
return {
|
|
3652
|
-
type: typeof
|
|
3653
|
-
value:
|
|
3689
|
+
type: typeof P == "string" ? _.literal : _.object,
|
|
3690
|
+
value: P
|
|
3654
3691
|
};
|
|
3655
3692
|
}));
|
|
3656
3693
|
}
|
|
3657
|
-
if (
|
|
3694
|
+
if (Xt(l)) {
|
|
3658
3695
|
var E = l.options[f] || l.options.other;
|
|
3659
3696
|
if (!E)
|
|
3660
|
-
throw new
|
|
3661
|
-
a.push.apply(a,
|
|
3697
|
+
throw new _t(l.value, f, Object.keys(l.options), s);
|
|
3698
|
+
a.push.apply(a, ce(E.value, t, r, n, i));
|
|
3662
3699
|
continue;
|
|
3663
3700
|
}
|
|
3664
|
-
if (
|
|
3701
|
+
if (Wt(l)) {
|
|
3665
3702
|
var E = l.options["=".concat(f)];
|
|
3666
3703
|
if (!E) {
|
|
3667
3704
|
if (!Intl.PluralRules)
|
|
3668
|
-
throw new
|
|
3705
|
+
throw new ye(`Intl.PluralRules is not available in this environment.
|
|
3669
3706
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3670
|
-
`,
|
|
3671
|
-
var
|
|
3672
|
-
E = l.options[
|
|
3707
|
+
`, z.MISSING_INTL_API, s);
|
|
3708
|
+
var R = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
|
|
3709
|
+
E = l.options[R] || l.options.other;
|
|
3673
3710
|
}
|
|
3674
3711
|
if (!E)
|
|
3675
|
-
throw new
|
|
3676
|
-
a.push.apply(a,
|
|
3712
|
+
throw new _t(l.value, f, Object.keys(l.options), s);
|
|
3713
|
+
a.push.apply(a, ce(E.value, t, r, n, i, f - (l.offset || 0)));
|
|
3677
3714
|
continue;
|
|
3678
3715
|
}
|
|
3679
3716
|
}
|
|
3680
|
-
return
|
|
3717
|
+
return Kn(a);
|
|
3681
3718
|
}
|
|
3682
|
-
function
|
|
3719
|
+
function ti(e, t) {
|
|
3683
3720
|
return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3684
3721
|
return r[n] = v(v({}, e[n]), t[n] || {}), r;
|
|
3685
3722
|
}, {})) : e;
|
|
3686
3723
|
}
|
|
3687
|
-
function
|
|
3724
|
+
function ri(e, t) {
|
|
3688
3725
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3689
|
-
return r[n] =
|
|
3726
|
+
return r[n] = ti(e[n], t[n]), r;
|
|
3690
3727
|
}, v({}, e)) : e;
|
|
3691
3728
|
}
|
|
3692
|
-
function
|
|
3729
|
+
function Be(e) {
|
|
3693
3730
|
return {
|
|
3694
3731
|
create: function() {
|
|
3695
3732
|
return {
|
|
@@ -3703,39 +3740,39 @@ function Ae(e) {
|
|
|
3703
3740
|
}
|
|
3704
3741
|
};
|
|
3705
3742
|
}
|
|
3706
|
-
function
|
|
3743
|
+
function ni(e) {
|
|
3707
3744
|
return e === void 0 && (e = {
|
|
3708
3745
|
number: {},
|
|
3709
3746
|
dateTime: {},
|
|
3710
3747
|
pluralRules: {}
|
|
3711
3748
|
}), {
|
|
3712
|
-
getNumberFormat:
|
|
3749
|
+
getNumberFormat: He(function() {
|
|
3713
3750
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3714
3751
|
r[n] = arguments[n];
|
|
3715
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3752
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, V([void 0], r, !1)))();
|
|
3716
3753
|
}, {
|
|
3717
|
-
cache:
|
|
3718
|
-
strategy:
|
|
3754
|
+
cache: Be(e.number),
|
|
3755
|
+
strategy: Ae.variadic
|
|
3719
3756
|
}),
|
|
3720
|
-
getDateTimeFormat:
|
|
3757
|
+
getDateTimeFormat: He(function() {
|
|
3721
3758
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3722
3759
|
r[n] = arguments[n];
|
|
3723
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3760
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, V([void 0], r, !1)))();
|
|
3724
3761
|
}, {
|
|
3725
|
-
cache:
|
|
3726
|
-
strategy:
|
|
3762
|
+
cache: Be(e.dateTime),
|
|
3763
|
+
strategy: Ae.variadic
|
|
3727
3764
|
}),
|
|
3728
|
-
getPluralRules:
|
|
3765
|
+
getPluralRules: He(function() {
|
|
3729
3766
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3730
3767
|
r[n] = arguments[n];
|
|
3731
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3768
|
+
return new ((t = Intl.PluralRules).bind.apply(t, V([void 0], r, !1)))();
|
|
3732
3769
|
}, {
|
|
3733
|
-
cache:
|
|
3734
|
-
strategy:
|
|
3770
|
+
cache: Be(e.pluralRules),
|
|
3771
|
+
strategy: Ae.variadic
|
|
3735
3772
|
})
|
|
3736
3773
|
};
|
|
3737
3774
|
}
|
|
3738
|
-
var
|
|
3775
|
+
var ii = (
|
|
3739
3776
|
/** @class */
|
|
3740
3777
|
function() {
|
|
3741
3778
|
function e(t, r, n, i) {
|
|
@@ -3754,7 +3791,7 @@ var zn = (
|
|
|
3754
3791
|
}, []);
|
|
3755
3792
|
return l.length <= 1 ? l[0] || "" : l;
|
|
3756
3793
|
}, this.formatToParts = function(h) {
|
|
3757
|
-
return
|
|
3794
|
+
return ce(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
|
|
3758
3795
|
}, this.resolvedOptions = function() {
|
|
3759
3796
|
var h;
|
|
3760
3797
|
return {
|
|
@@ -3767,13 +3804,13 @@ var zn = (
|
|
|
3767
3804
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3768
3805
|
var s = i || {};
|
|
3769
3806
|
s.formatters;
|
|
3770
|
-
var a =
|
|
3807
|
+
var a = Mr(s, ["formatters"]);
|
|
3771
3808
|
this.ast = e.__parse(t, v(v({}, a), { locale: this.resolvedLocale }));
|
|
3772
3809
|
} else
|
|
3773
3810
|
this.ast = t;
|
|
3774
3811
|
if (!Array.isArray(this.ast))
|
|
3775
3812
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3776
|
-
this.formats =
|
|
3813
|
+
this.formats = ri(e.formats, n), this.formatters = i && i.formatters || ni(this.formatterCache);
|
|
3777
3814
|
}
|
|
3778
3815
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3779
3816
|
get: function() {
|
|
@@ -3782,11 +3819,11 @@ var zn = (
|
|
|
3782
3819
|
enumerable: !1,
|
|
3783
3820
|
configurable: !0
|
|
3784
3821
|
}), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
|
|
3785
|
-
if (
|
|
3822
|
+
if (typeof Intl.Locale != "undefined") {
|
|
3786
3823
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3787
3824
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3788
3825
|
}
|
|
3789
|
-
}, e.__parse =
|
|
3826
|
+
}, e.__parse = Jn, e.formats = {
|
|
3790
3827
|
number: {
|
|
3791
3828
|
integer: {
|
|
3792
3829
|
maximumFractionDigits: 0
|
|
@@ -3847,7 +3884,7 @@ var zn = (
|
|
|
3847
3884
|
}, e;
|
|
3848
3885
|
}()
|
|
3849
3886
|
);
|
|
3850
|
-
function
|
|
3887
|
+
function oi(e, t) {
|
|
3851
3888
|
if (t == null)
|
|
3852
3889
|
return;
|
|
3853
3890
|
if (t in e)
|
|
@@ -3868,92 +3905,92 @@ function Zn(e, t) {
|
|
|
3868
3905
|
n = void 0;
|
|
3869
3906
|
return n;
|
|
3870
3907
|
}
|
|
3871
|
-
const
|
|
3908
|
+
const M = {}, si = (e, t, r) => r && (t in M || (M[t] = {}), e in M[t] || (M[t][e] = r), r), rr = (e, t) => {
|
|
3872
3909
|
if (t == null)
|
|
3873
3910
|
return;
|
|
3874
|
-
if (t in
|
|
3875
|
-
return
|
|
3876
|
-
const r =
|
|
3911
|
+
if (t in M && e in M[t])
|
|
3912
|
+
return M[t][e];
|
|
3913
|
+
const r = ve(t);
|
|
3877
3914
|
for (let n = 0; n < r.length; n++) {
|
|
3878
|
-
const i = r[n], o =
|
|
3915
|
+
const i = r[n], o = ui(i, e);
|
|
3879
3916
|
if (o)
|
|
3880
|
-
return
|
|
3917
|
+
return si(e, t, o);
|
|
3881
3918
|
}
|
|
3882
3919
|
};
|
|
3883
|
-
let
|
|
3884
|
-
const
|
|
3885
|
-
function
|
|
3886
|
-
return
|
|
3920
|
+
let Qe;
|
|
3921
|
+
const ie = ge({});
|
|
3922
|
+
function ai(e) {
|
|
3923
|
+
return Qe[e] || null;
|
|
3887
3924
|
}
|
|
3888
|
-
function
|
|
3889
|
-
return e in
|
|
3925
|
+
function nr(e) {
|
|
3926
|
+
return e in Qe;
|
|
3890
3927
|
}
|
|
3891
|
-
function
|
|
3892
|
-
if (!
|
|
3928
|
+
function ui(e, t) {
|
|
3929
|
+
if (!nr(e))
|
|
3893
3930
|
return null;
|
|
3894
|
-
const r =
|
|
3895
|
-
return
|
|
3931
|
+
const r = ai(e);
|
|
3932
|
+
return oi(r, t);
|
|
3896
3933
|
}
|
|
3897
|
-
function
|
|
3934
|
+
function hi(e) {
|
|
3898
3935
|
if (e == null)
|
|
3899
3936
|
return;
|
|
3900
|
-
const t =
|
|
3937
|
+
const t = ve(e);
|
|
3901
3938
|
for (let r = 0; r < t.length; r++) {
|
|
3902
3939
|
const n = t[r];
|
|
3903
|
-
if (
|
|
3940
|
+
if (nr(n))
|
|
3904
3941
|
return n;
|
|
3905
3942
|
}
|
|
3906
3943
|
}
|
|
3907
|
-
function
|
|
3908
|
-
delete
|
|
3944
|
+
function li(e, ...t) {
|
|
3945
|
+
delete M[e], ie.update((r) => (r[e] = dn.all([r[e] || {}, ...t]), r));
|
|
3909
3946
|
}
|
|
3910
|
-
|
|
3911
|
-
[
|
|
3947
|
+
Q(
|
|
3948
|
+
[ie],
|
|
3912
3949
|
([e]) => Object.keys(e)
|
|
3913
3950
|
);
|
|
3914
|
-
|
|
3915
|
-
const
|
|
3916
|
-
function
|
|
3917
|
-
|
|
3951
|
+
ie.subscribe((e) => Qe = e);
|
|
3952
|
+
const fe = {};
|
|
3953
|
+
function ci(e, t) {
|
|
3954
|
+
fe[e].delete(t), fe[e].size === 0 && delete fe[e];
|
|
3918
3955
|
}
|
|
3919
|
-
function
|
|
3920
|
-
return
|
|
3956
|
+
function ir(e) {
|
|
3957
|
+
return fe[e];
|
|
3921
3958
|
}
|
|
3922
|
-
function
|
|
3923
|
-
return
|
|
3924
|
-
const r =
|
|
3959
|
+
function fi(e) {
|
|
3960
|
+
return ve(e).map((t) => {
|
|
3961
|
+
const r = ir(t);
|
|
3925
3962
|
return [t, r ? [...r] : []];
|
|
3926
3963
|
}).filter(([, t]) => t.length > 0);
|
|
3927
3964
|
}
|
|
3928
|
-
function
|
|
3929
|
-
return e == null ? !1 :
|
|
3965
|
+
function Ve(e) {
|
|
3966
|
+
return e == null ? !1 : ve(e).some(
|
|
3930
3967
|
(t) => {
|
|
3931
3968
|
var r;
|
|
3932
|
-
return (r =
|
|
3969
|
+
return (r = ir(t)) == null ? void 0 : r.size;
|
|
3933
3970
|
}
|
|
3934
3971
|
);
|
|
3935
3972
|
}
|
|
3936
|
-
function
|
|
3973
|
+
function di(e, t) {
|
|
3937
3974
|
return Promise.all(
|
|
3938
|
-
t.map((n) => (
|
|
3939
|
-
).then((n) =>
|
|
3940
|
-
}
|
|
3941
|
-
const
|
|
3942
|
-
function
|
|
3943
|
-
if (!
|
|
3944
|
-
return e in
|
|
3945
|
-
const t =
|
|
3946
|
-
return
|
|
3975
|
+
t.map((n) => (ci(e, n), n().then((i) => i.default || i)))
|
|
3976
|
+
).then((n) => li(e, ...n));
|
|
3977
|
+
}
|
|
3978
|
+
const Y = {};
|
|
3979
|
+
function or(e) {
|
|
3980
|
+
if (!Ve(e))
|
|
3981
|
+
return e in Y ? Y[e] : Promise.resolve();
|
|
3982
|
+
const t = fi(e);
|
|
3983
|
+
return Y[e] = Promise.all(
|
|
3947
3984
|
t.map(
|
|
3948
|
-
([r, n]) =>
|
|
3985
|
+
([r, n]) => di(r, n)
|
|
3949
3986
|
)
|
|
3950
3987
|
).then(() => {
|
|
3951
|
-
if (
|
|
3952
|
-
return
|
|
3953
|
-
delete
|
|
3954
|
-
}),
|
|
3988
|
+
if (Ve(e))
|
|
3989
|
+
return or(e);
|
|
3990
|
+
delete Y[e];
|
|
3991
|
+
}), Y[e];
|
|
3955
3992
|
}
|
|
3956
|
-
const
|
|
3993
|
+
const pi = {
|
|
3957
3994
|
number: {
|
|
3958
3995
|
scientific: { notation: "scientific" },
|
|
3959
3996
|
engineering: { notation: "engineering" },
|
|
@@ -3982,150 +4019,150 @@ const ni = {
|
|
|
3982
4019
|
timeZoneName: "short"
|
|
3983
4020
|
}
|
|
3984
4021
|
}
|
|
3985
|
-
},
|
|
4022
|
+
}, mi = {
|
|
3986
4023
|
fallbackLocale: null,
|
|
3987
4024
|
loadingDelay: 200,
|
|
3988
|
-
formats:
|
|
4025
|
+
formats: pi,
|
|
3989
4026
|
warnOnMissingMessages: !0,
|
|
3990
4027
|
handleMissingMessage: void 0,
|
|
3991
4028
|
ignoreTag: !0
|
|
3992
|
-
},
|
|
3993
|
-
function
|
|
3994
|
-
return
|
|
4029
|
+
}, bi = mi;
|
|
4030
|
+
function Z() {
|
|
4031
|
+
return bi;
|
|
3995
4032
|
}
|
|
3996
|
-
const
|
|
3997
|
-
var
|
|
4033
|
+
const we = ge(!1);
|
|
4034
|
+
var gi = Object.defineProperty, yi = Object.defineProperties, vi = Object.getOwnPropertyDescriptors, Et = Object.getOwnPropertySymbols, xi = Object.prototype.hasOwnProperty, _i = Object.prototype.propertyIsEnumerable, St = (e, t, r) => t in e ? gi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ei = (e, t) => {
|
|
3998
4035
|
for (var r in t)
|
|
3999
|
-
|
|
4000
|
-
if (
|
|
4001
|
-
for (var r of
|
|
4002
|
-
|
|
4036
|
+
xi.call(t, r) && St(e, r, t[r]);
|
|
4037
|
+
if (Et)
|
|
4038
|
+
for (var r of Et(t))
|
|
4039
|
+
_i.call(t, r) && St(e, r, t[r]);
|
|
4003
4040
|
return e;
|
|
4004
|
-
},
|
|
4005
|
-
let
|
|
4006
|
-
const
|
|
4007
|
-
function
|
|
4041
|
+
}, Si = (e, t) => yi(e, vi(t));
|
|
4042
|
+
let Xe;
|
|
4043
|
+
const de = ge(null);
|
|
4044
|
+
function Tt(e) {
|
|
4008
4045
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4009
4046
|
}
|
|
4010
|
-
function
|
|
4011
|
-
const r =
|
|
4012
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4047
|
+
function ve(e, t = Z().fallbackLocale) {
|
|
4048
|
+
const r = Tt(e);
|
|
4049
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Tt(t)])] : r;
|
|
4013
4050
|
}
|
|
4014
|
-
function
|
|
4015
|
-
return
|
|
4051
|
+
function U() {
|
|
4052
|
+
return Xe != null ? Xe : void 0;
|
|
4016
4053
|
}
|
|
4017
|
-
|
|
4018
|
-
|
|
4054
|
+
de.subscribe((e) => {
|
|
4055
|
+
Xe = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4019
4056
|
});
|
|
4020
|
-
const
|
|
4021
|
-
if (e &&
|
|
4022
|
-
const { loadingDelay: t } =
|
|
4057
|
+
const Ti = (e) => {
|
|
4058
|
+
if (e && hi(e) && Ve(e)) {
|
|
4059
|
+
const { loadingDelay: t } = Z();
|
|
4023
4060
|
let r;
|
|
4024
|
-
return typeof window
|
|
4025
|
-
() =>
|
|
4061
|
+
return typeof window != "undefined" && U() != null && t ? r = window.setTimeout(
|
|
4062
|
+
() => we.set(!0),
|
|
4026
4063
|
t
|
|
4027
|
-
) :
|
|
4028
|
-
|
|
4064
|
+
) : we.set(!0), or(e).then(() => {
|
|
4065
|
+
de.set(e);
|
|
4029
4066
|
}).finally(() => {
|
|
4030
|
-
clearTimeout(r),
|
|
4067
|
+
clearTimeout(r), we.set(!1);
|
|
4031
4068
|
});
|
|
4032
4069
|
}
|
|
4033
|
-
return
|
|
4034
|
-
},
|
|
4035
|
-
set:
|
|
4036
|
-
}),
|
|
4070
|
+
return de.set(e);
|
|
4071
|
+
}, oe = Si(Ei({}, de), {
|
|
4072
|
+
set: Ti
|
|
4073
|
+
}), xe = (e) => {
|
|
4037
4074
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4038
4075
|
return (n) => {
|
|
4039
4076
|
const i = JSON.stringify(n);
|
|
4040
4077
|
return i in t ? t[i] : t[i] = e(n);
|
|
4041
4078
|
};
|
|
4042
4079
|
};
|
|
4043
|
-
var
|
|
4080
|
+
var Hi = Object.defineProperty, pe = Object.getOwnPropertySymbols, sr = Object.prototype.hasOwnProperty, ar = Object.prototype.propertyIsEnumerable, Ht = (e, t, r) => t in e ? Hi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Je = (e, t) => {
|
|
4044
4081
|
for (var r in t || (t = {}))
|
|
4045
|
-
|
|
4046
|
-
if (
|
|
4047
|
-
for (var r of
|
|
4048
|
-
|
|
4082
|
+
sr.call(t, r) && Ht(e, r, t[r]);
|
|
4083
|
+
if (pe)
|
|
4084
|
+
for (var r of pe(t))
|
|
4085
|
+
ar.call(t, r) && Ht(e, r, t[r]);
|
|
4049
4086
|
return e;
|
|
4050
|
-
},
|
|
4087
|
+
}, J = (e, t) => {
|
|
4051
4088
|
var r = {};
|
|
4052
4089
|
for (var n in e)
|
|
4053
|
-
|
|
4054
|
-
if (e != null &&
|
|
4055
|
-
for (var n of
|
|
4056
|
-
t.indexOf(n) < 0 &&
|
|
4090
|
+
sr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4091
|
+
if (e != null && pe)
|
|
4092
|
+
for (var n of pe(e))
|
|
4093
|
+
t.indexOf(n) < 0 && ar.call(e, n) && (r[n] = e[n]);
|
|
4057
4094
|
return r;
|
|
4058
4095
|
};
|
|
4059
|
-
const
|
|
4060
|
-
const { formats: r } =
|
|
4096
|
+
const te = (e, t) => {
|
|
4097
|
+
const { formats: r } = Z();
|
|
4061
4098
|
if (e in r && t in r[e])
|
|
4062
4099
|
return r[e][t];
|
|
4063
4100
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4064
|
-
},
|
|
4101
|
+
}, Ai = xe(
|
|
4065
4102
|
(e) => {
|
|
4066
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4103
|
+
var t = e, { locale: r, format: n } = t, i = J(t, ["locale", "format"]);
|
|
4067
4104
|
if (r == null)
|
|
4068
4105
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4069
|
-
return n && (i =
|
|
4106
|
+
return n && (i = te("number", n)), new Intl.NumberFormat(r, i);
|
|
4070
4107
|
}
|
|
4071
|
-
),
|
|
4108
|
+
), Pi = xe(
|
|
4072
4109
|
(e) => {
|
|
4073
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4110
|
+
var t = e, { locale: r, format: n } = t, i = J(t, ["locale", "format"]);
|
|
4074
4111
|
if (r == null)
|
|
4075
4112
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4076
|
-
return n ? i =
|
|
4113
|
+
return n ? i = te("date", n) : Object.keys(i).length === 0 && (i = te("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4077
4114
|
}
|
|
4078
|
-
),
|
|
4115
|
+
), Bi = xe(
|
|
4079
4116
|
(e) => {
|
|
4080
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4117
|
+
var t = e, { locale: r, format: n } = t, i = J(t, ["locale", "format"]);
|
|
4081
4118
|
if (r == null)
|
|
4082
4119
|
throw new Error(
|
|
4083
4120
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4084
4121
|
);
|
|
4085
|
-
return n ? i =
|
|
4122
|
+
return n ? i = te("time", n) : Object.keys(i).length === 0 && (i = te("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4086
4123
|
}
|
|
4087
|
-
),
|
|
4124
|
+
), wi = (e = {}) => {
|
|
4088
4125
|
var t = e, {
|
|
4089
|
-
locale: r =
|
|
4090
|
-
} = t, n =
|
|
4126
|
+
locale: r = U()
|
|
4127
|
+
} = t, n = J(t, [
|
|
4091
4128
|
"locale"
|
|
4092
4129
|
]);
|
|
4093
|
-
return
|
|
4094
|
-
},
|
|
4130
|
+
return Ai(Je({ locale: r }, n));
|
|
4131
|
+
}, Ni = (e = {}) => {
|
|
4095
4132
|
var t = e, {
|
|
4096
|
-
locale: r =
|
|
4097
|
-
} = t, n =
|
|
4133
|
+
locale: r = U()
|
|
4134
|
+
} = t, n = J(t, [
|
|
4098
4135
|
"locale"
|
|
4099
4136
|
]);
|
|
4100
|
-
return
|
|
4101
|
-
},
|
|
4137
|
+
return Pi(Je({ locale: r }, n));
|
|
4138
|
+
}, Oi = (e = {}) => {
|
|
4102
4139
|
var t = e, {
|
|
4103
|
-
locale: r =
|
|
4104
|
-
} = t, n =
|
|
4140
|
+
locale: r = U()
|
|
4141
|
+
} = t, n = J(t, [
|
|
4105
4142
|
"locale"
|
|
4106
4143
|
]);
|
|
4107
|
-
return
|
|
4108
|
-
},
|
|
4144
|
+
return Bi(Je({ locale: r }, n));
|
|
4145
|
+
}, Ii = xe(
|
|
4109
4146
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4110
|
-
(e, t =
|
|
4111
|
-
ignoreTag:
|
|
4147
|
+
(e, t = U()) => new ii(e, t, Z().formats, {
|
|
4148
|
+
ignoreTag: Z().ignoreTag
|
|
4112
4149
|
})
|
|
4113
|
-
),
|
|
4150
|
+
), Ci = (e, t = {}) => {
|
|
4114
4151
|
var r, n, i, o;
|
|
4115
4152
|
let s = t;
|
|
4116
4153
|
typeof e == "object" && (s = e, e = s.id);
|
|
4117
4154
|
const {
|
|
4118
4155
|
values: a,
|
|
4119
|
-
locale: h =
|
|
4156
|
+
locale: h = U(),
|
|
4120
4157
|
default: u
|
|
4121
4158
|
} = s;
|
|
4122
4159
|
if (h == null)
|
|
4123
4160
|
throw new Error(
|
|
4124
4161
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4125
4162
|
);
|
|
4126
|
-
let l =
|
|
4163
|
+
let l = rr(e, h);
|
|
4127
4164
|
if (!l)
|
|
4128
|
-
l = (o = (i = (n = (r =
|
|
4165
|
+
l = (o = (i = (n = (r = Z()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4129
4166
|
else if (typeof l != "string")
|
|
4130
4167
|
return console.warn(
|
|
4131
4168
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
@@ -4134,7 +4171,7 @@ const ee = (e, t) => {
|
|
|
4134
4171
|
return l;
|
|
4135
4172
|
let c = l;
|
|
4136
4173
|
try {
|
|
4137
|
-
c =
|
|
4174
|
+
c = Ii(l, h).format(a);
|
|
4138
4175
|
} catch (f) {
|
|
4139
4176
|
f instanceof Error && console.warn(
|
|
4140
4177
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4142,39 +4179,39 @@ const ee = (e, t) => {
|
|
|
4142
4179
|
);
|
|
4143
4180
|
}
|
|
4144
4181
|
return c;
|
|
4145
|
-
},
|
|
4146
|
-
|
|
4147
|
-
|
|
4148
|
-
|
|
4149
|
-
|
|
4150
|
-
|
|
4151
|
-
window.emWidgets = { topic:
|
|
4152
|
-
const
|
|
4153
|
-
function
|
|
4154
|
-
|
|
4155
|
-
}
|
|
4156
|
-
function
|
|
4182
|
+
}, Li = (e, t) => Oi(t).format(e), Mi = (e, t) => Ni(t).format(e), $i = (e, t) => wi(t).format(e), Ri = (e, t = U()) => rr(e, t);
|
|
4183
|
+
Q([oe, ie], () => Ci);
|
|
4184
|
+
Q([oe], () => Li);
|
|
4185
|
+
Q([oe], () => Mi);
|
|
4186
|
+
Q([oe], () => $i);
|
|
4187
|
+
Q([oe, ie], () => Ri);
|
|
4188
|
+
window.emWidgets = { topic: Qr };
|
|
4189
|
+
const At = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4190
|
+
function Ui(e) {
|
|
4191
|
+
mr(e, "svelte-8rjudp", '.PlayerAccountNotificationsContainer{padding:0 5px}.PlayerAccountNotificationBox{display:block;padding:20px;margin:20px auto 10px auto;border-radius:5px;width:100%;background:var(--emw--color-gray-300, #58586B);color:var(--emw--color-white, #FFFFFF);box-sizing:border-box;text-decoration:none;word-break:break-all}.PlayerAccountNotificationBoxHeader{display:grid;width:100%;grid-template-areas:"nav main aside";grid-template-rows:auto;grid-template-columns:34px calc(100% - 34px);align-items:center}.PlayerAccountNotificationBoxHeader .PlayerAccountNotificationIcon{width:24px;margin-right:10px;flex:1}.PlayerAccountNotificationBoxHeader .PlayerAccountNotificationTitle{font-size:16px;flex:2}.PlayerAccountNotificationText{margin:0;font-size:14px;font-weight:300}.PlayerAccountNotificationText a{text-decoration:none;color:var(--emw--color-white, #FFFFFF)}.PlayerAccountNotificationsMobileContainer{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px;padding:20px}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationBoxHeader{grid-template-columns:40px calc(100% - 40px)}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationTitle{font-size:14px}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationIcon{width:30px;margin-right:10px}.PlayerAccountNotificationsTabletContainer{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px;padding:20px 40px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationBoxHeader{grid-template-columns:80px calc(100% - 80px)}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationTitle{font-size:24px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationText{font-size:16px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationIcon{width:60px;margin-right:20px}');
|
|
4192
|
+
}
|
|
4193
|
+
function Pt(e, t, r) {
|
|
4157
4194
|
const n = e.slice();
|
|
4158
4195
|
return n[20] = t[r], n;
|
|
4159
4196
|
}
|
|
4160
|
-
function
|
|
4161
|
-
let t, r =
|
|
4197
|
+
function Di(e) {
|
|
4198
|
+
let t, r = ot(
|
|
4162
4199
|
/*notificationsData*/
|
|
4163
4200
|
e[1]
|
|
4164
4201
|
), n = [];
|
|
4165
4202
|
for (let i = 0; i < r.length; i += 1)
|
|
4166
|
-
n[i] =
|
|
4203
|
+
n[i] = Bt(Pt(e, r, i));
|
|
4167
4204
|
return {
|
|
4168
4205
|
c() {
|
|
4169
|
-
t =
|
|
4206
|
+
t = O("div");
|
|
4170
4207
|
for (let i = 0; i < n.length; i += 1)
|
|
4171
4208
|
n[i].c();
|
|
4172
|
-
|
|
4209
|
+
T(t, "class", "PlayerAccountNotificationsContainer " + /*isMobile*/
|
|
4173
4210
|
(e[2] && /*mediaQuery*/
|
|
4174
4211
|
e[3].matches ? "PlayerAccountNotificationsTabletContainer" : (
|
|
4175
4212
|
/*isMobile*/
|
|
4176
4213
|
e[2] ? "PlayerAccountNotificationsMobileContainer" : ""
|
|
4177
|
-
))),
|
|
4214
|
+
))), T(t, "part", "PlayerAccountNotificationsContainer " + /*isMobile*/
|
|
4178
4215
|
(e[2] && /*mediaQuery*/
|
|
4179
4216
|
e[3].matches ? "PlayerAccountNotificationsTabletContainer" : (
|
|
4180
4217
|
/*isMobile*/
|
|
@@ -4182,21 +4219,21 @@ function Bi(e) {
|
|
|
4182
4219
|
)));
|
|
4183
4220
|
},
|
|
4184
4221
|
m(i, o) {
|
|
4185
|
-
|
|
4222
|
+
me(i, t, o);
|
|
4186
4223
|
for (let s = 0; s < n.length; s += 1)
|
|
4187
4224
|
n[s] && n[s].m(t, null);
|
|
4188
4225
|
},
|
|
4189
4226
|
p(i, o) {
|
|
4190
4227
|
if (o & /*notificationsData*/
|
|
4191
4228
|
2) {
|
|
4192
|
-
r =
|
|
4229
|
+
r = ot(
|
|
4193
4230
|
/*notificationsData*/
|
|
4194
4231
|
i[1]
|
|
4195
4232
|
);
|
|
4196
4233
|
let s;
|
|
4197
4234
|
for (s = 0; s < r.length; s += 1) {
|
|
4198
|
-
const a =
|
|
4199
|
-
n[s] ? n[s].p(a, o) : (n[s] =
|
|
4235
|
+
const a = Pt(i, r, s);
|
|
4236
|
+
n[s] ? n[s].p(a, o) : (n[s] = Bt(a), n[s].c(), n[s].m(t, null));
|
|
4200
4237
|
}
|
|
4201
4238
|
for (; s < n.length; s += 1)
|
|
4202
4239
|
n[s].d(1);
|
|
@@ -4204,11 +4241,11 @@ function Bi(e) {
|
|
|
4204
4241
|
}
|
|
4205
4242
|
},
|
|
4206
4243
|
d(i) {
|
|
4207
|
-
i &&
|
|
4244
|
+
i && ne(t), yr(n, i);
|
|
4208
4245
|
}
|
|
4209
4246
|
};
|
|
4210
4247
|
}
|
|
4211
|
-
function
|
|
4248
|
+
function Bt(e) {
|
|
4212
4249
|
let t, r, n, i, o, s, a, h = (
|
|
4213
4250
|
/*notification*/
|
|
4214
4251
|
e[20].title + ""
|
|
@@ -4218,9 +4255,9 @@ function Et(e) {
|
|
|
4218
4255
|
), p;
|
|
4219
4256
|
return {
|
|
4220
4257
|
c() {
|
|
4221
|
-
t =
|
|
4222
|
-
e[20].icon) ||
|
|
4223
|
-
e[20].title),
|
|
4258
|
+
t = O("div"), r = O("div"), n = O("img"), s = Ee(), a = O("p"), u = Ot(h), l = Ee(), c = O("p"), p = Ee(), T(n, "class", "PlayerAccountNotificationIcon"), rt(n.src, i = /*notification*/
|
|
4259
|
+
e[20].icon) || T(n, "src", i), T(n, "alt", o = /*notification*/
|
|
4260
|
+
e[20].title), T(a, "class", "PlayerAccountNotificationTitle"), T(r, "class", "PlayerAccountNotificationBoxHeader"), T(c, "class", "PlayerAccountNotificationText"), T(t, "class", "PlayerAccountNotificationBox"), nt(
|
|
4224
4261
|
t,
|
|
4225
4262
|
"background",
|
|
4226
4263
|
/*notification*/
|
|
@@ -4228,19 +4265,19 @@ function Et(e) {
|
|
|
4228
4265
|
);
|
|
4229
4266
|
},
|
|
4230
4267
|
m(d, m) {
|
|
4231
|
-
|
|
4268
|
+
me(d, t, m), w(t, r), w(r, n), w(r, s), w(r, a), w(a, u), w(t, l), w(t, c), c.innerHTML = f, w(t, p);
|
|
4232
4269
|
},
|
|
4233
4270
|
p(d, m) {
|
|
4234
4271
|
m & /*notificationsData*/
|
|
4235
|
-
2 && !
|
|
4236
|
-
d[20].icon) &&
|
|
4272
|
+
2 && !rt(n.src, i = /*notification*/
|
|
4273
|
+
d[20].icon) && T(n, "src", i), m & /*notificationsData*/
|
|
4237
4274
|
2 && o !== (o = /*notification*/
|
|
4238
|
-
d[20].title) &&
|
|
4275
|
+
d[20].title) && T(n, "alt", o), m & /*notificationsData*/
|
|
4239
4276
|
2 && h !== (h = /*notification*/
|
|
4240
|
-
d[20].title + "") &&
|
|
4277
|
+
d[20].title + "") && xr(u, h), m & /*notificationsData*/
|
|
4241
4278
|
2 && f !== (f = /*notification*/
|
|
4242
4279
|
d[20].description + "") && (c.innerHTML = f), m & /*notificationsData*/
|
|
4243
|
-
2 &&
|
|
4280
|
+
2 && nt(
|
|
4244
4281
|
t,
|
|
4245
4282
|
"background",
|
|
4246
4283
|
/*notification*/
|
|
@@ -4248,74 +4285,74 @@ function Et(e) {
|
|
|
4248
4285
|
);
|
|
4249
4286
|
},
|
|
4250
4287
|
d(d) {
|
|
4251
|
-
d &&
|
|
4288
|
+
d && ne(t);
|
|
4252
4289
|
}
|
|
4253
4290
|
};
|
|
4254
4291
|
}
|
|
4255
|
-
function
|
|
4292
|
+
function Gi(e) {
|
|
4256
4293
|
let t;
|
|
4257
4294
|
function r(o, s) {
|
|
4258
4295
|
if (
|
|
4259
4296
|
/*notificationsData*/
|
|
4260
4297
|
o[1].length
|
|
4261
|
-
) return
|
|
4298
|
+
) return Di;
|
|
4262
4299
|
}
|
|
4263
4300
|
let n = r(e), i = n && n(e);
|
|
4264
4301
|
return {
|
|
4265
4302
|
c() {
|
|
4266
|
-
t =
|
|
4303
|
+
t = O("div"), i && i.c();
|
|
4267
4304
|
},
|
|
4268
4305
|
m(o, s) {
|
|
4269
|
-
|
|
4306
|
+
me(o, t, s), i && i.m(t, null), e[11](t);
|
|
4270
4307
|
},
|
|
4271
4308
|
p(o, [s]) {
|
|
4272
4309
|
n === (n = r(o)) && i ? i.p(o, s) : (i && i.d(1), i = n && n(o), i && (i.c(), i.m(t, null)));
|
|
4273
4310
|
},
|
|
4274
|
-
i:
|
|
4275
|
-
o:
|
|
4311
|
+
i: A,
|
|
4312
|
+
o: A,
|
|
4276
4313
|
d(o) {
|
|
4277
|
-
o &&
|
|
4314
|
+
o && ne(t), i && i.d(), e[11](null);
|
|
4278
4315
|
}
|
|
4279
4316
|
};
|
|
4280
4317
|
}
|
|
4281
|
-
function
|
|
4282
|
-
let { lang: n = "" } = t, { cmsendpoint: i = "" } = t, { env: o = "" } = t, { userroles: s = "" } = t, { customnotif: a = "" } = t, { clientstyling: h = "" } = t, { clientstylingurl: u = "" } = t, l, c = window.navigator.userAgent, f =
|
|
4283
|
-
const
|
|
4284
|
-
function
|
|
4285
|
-
const b =
|
|
4318
|
+
function Fi(e, t, r) {
|
|
4319
|
+
let { lang: n = "" } = t, { cmsendpoint: i = "" } = t, { env: o = "" } = t, { userroles: s = "" } = t, { customnotif: a = "" } = t, { clientstyling: h = "" } = t, { clientstylingurl: u = "" } = t, l, c = window.navigator.userAgent, f = At(c) !== "PC", p = [], d = [], m = $();
|
|
4320
|
+
const H = window.matchMedia("(min-width: 768px)");
|
|
4321
|
+
function $() {
|
|
4322
|
+
const b = At(c);
|
|
4286
4323
|
if (b)
|
|
4287
4324
|
return b === "PC" ? "dk" : "mtWeb";
|
|
4288
4325
|
}
|
|
4289
|
-
const
|
|
4326
|
+
const L = () => {
|
|
4290
4327
|
const b = new URL(`${i}/${n}/support-information`);
|
|
4291
|
-
b.searchParams.append("env", o), b.searchParams.append("userRoles", s), b.searchParams.append("device", m), fetch(b.href).then((
|
|
4292
|
-
(
|
|
4293
|
-
|
|
4294
|
-
d.length && (
|
|
4328
|
+
b.searchParams.append("env", o), b.searchParams.append("userRoles", s), b.searchParams.append("device", m), fetch(b.href).then((B) => B.json()).then(
|
|
4329
|
+
(B) => {
|
|
4330
|
+
B.length && (r(1, p = B[0].children), p.forEach((q) => {
|
|
4331
|
+
d.length && (q.backgroundColor = d[0], d.shift());
|
|
4295
4332
|
}));
|
|
4296
4333
|
},
|
|
4297
|
-
(
|
|
4298
|
-
console.error(
|
|
4334
|
+
(B) => {
|
|
4335
|
+
console.error(B);
|
|
4299
4336
|
}
|
|
4300
4337
|
);
|
|
4301
4338
|
}, E = () => {
|
|
4302
4339
|
a.replace(" ", ""), d = a.split(",");
|
|
4303
|
-
},
|
|
4340
|
+
}, R = () => {
|
|
4304
4341
|
let b = document.createElement("style");
|
|
4305
4342
|
b.innerHTML = h, l.appendChild(b);
|
|
4306
|
-
},
|
|
4307
|
-
let b = new URL(u),
|
|
4308
|
-
fetch(b.href).then((
|
|
4309
|
-
|
|
4343
|
+
}, P = () => {
|
|
4344
|
+
let b = new URL(u), B = document.createElement("style");
|
|
4345
|
+
fetch(b.href).then((q) => q.text()).then((q) => {
|
|
4346
|
+
B.innerHTML = q, setTimeout(
|
|
4310
4347
|
() => {
|
|
4311
|
-
l.appendChild(
|
|
4348
|
+
l.appendChild(B);
|
|
4312
4349
|
},
|
|
4313
4350
|
1
|
|
4314
4351
|
);
|
|
4315
4352
|
});
|
|
4316
4353
|
};
|
|
4317
|
-
function
|
|
4318
|
-
|
|
4354
|
+
function D(b) {
|
|
4355
|
+
Ne[b ? "unshift" : "push"](() => {
|
|
4319
4356
|
l = b, r(0, l);
|
|
4320
4357
|
});
|
|
4321
4358
|
}
|
|
@@ -4325,14 +4362,14 @@ function Ni(e, t, r) {
|
|
|
4325
4362
|
e.$$.dirty & /*customnotif*/
|
|
4326
4363
|
256 && a && E(), e.$$.dirty & /*notificationsData*/
|
|
4327
4364
|
2 && p && E(), e.$$.dirty & /*userroles, cmsendpoint, env, lang*/
|
|
4328
|
-
240 && s && i && o && n &&
|
|
4329
|
-
1025 && u && l &&
|
|
4330
|
-
513 && h && l &&
|
|
4365
|
+
240 && s && i && o && n && L(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4366
|
+
1025 && u && l && P(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4367
|
+
513 && h && l && R();
|
|
4331
4368
|
}, [
|
|
4332
4369
|
l,
|
|
4333
4370
|
p,
|
|
4334
4371
|
f,
|
|
4335
|
-
|
|
4372
|
+
H,
|
|
4336
4373
|
n,
|
|
4337
4374
|
i,
|
|
4338
4375
|
o,
|
|
@@ -4340,17 +4377,17 @@ function Ni(e, t, r) {
|
|
|
4340
4377
|
a,
|
|
4341
4378
|
h,
|
|
4342
4379
|
u,
|
|
4343
|
-
|
|
4380
|
+
D
|
|
4344
4381
|
];
|
|
4345
4382
|
}
|
|
4346
|
-
class
|
|
4383
|
+
class ji extends Cr {
|
|
4347
4384
|
constructor(t) {
|
|
4348
|
-
super(),
|
|
4385
|
+
super(), Or(
|
|
4349
4386
|
this,
|
|
4350
4387
|
t,
|
|
4351
|
-
|
|
4352
|
-
|
|
4353
|
-
|
|
4388
|
+
Fi,
|
|
4389
|
+
Gi,
|
|
4390
|
+
Nt,
|
|
4354
4391
|
{
|
|
4355
4392
|
lang: 4,
|
|
4356
4393
|
cmsendpoint: 5,
|
|
@@ -4360,53 +4397,53 @@ class Oi extends Er {
|
|
|
4360
4397
|
clientstyling: 9,
|
|
4361
4398
|
clientstylingurl: 10
|
|
4362
4399
|
},
|
|
4363
|
-
|
|
4400
|
+
Ui
|
|
4364
4401
|
);
|
|
4365
4402
|
}
|
|
4366
4403
|
get lang() {
|
|
4367
4404
|
return this.$$.ctx[4];
|
|
4368
4405
|
}
|
|
4369
4406
|
set lang(t) {
|
|
4370
|
-
this.$$set({ lang: t }),
|
|
4407
|
+
this.$$set({ lang: t }), N();
|
|
4371
4408
|
}
|
|
4372
4409
|
get cmsendpoint() {
|
|
4373
4410
|
return this.$$.ctx[5];
|
|
4374
4411
|
}
|
|
4375
4412
|
set cmsendpoint(t) {
|
|
4376
|
-
this.$$set({ cmsendpoint: t }),
|
|
4413
|
+
this.$$set({ cmsendpoint: t }), N();
|
|
4377
4414
|
}
|
|
4378
4415
|
get env() {
|
|
4379
4416
|
return this.$$.ctx[6];
|
|
4380
4417
|
}
|
|
4381
4418
|
set env(t) {
|
|
4382
|
-
this.$$set({ env: t }),
|
|
4419
|
+
this.$$set({ env: t }), N();
|
|
4383
4420
|
}
|
|
4384
4421
|
get userroles() {
|
|
4385
4422
|
return this.$$.ctx[7];
|
|
4386
4423
|
}
|
|
4387
4424
|
set userroles(t) {
|
|
4388
|
-
this.$$set({ userroles: t }),
|
|
4425
|
+
this.$$set({ userroles: t }), N();
|
|
4389
4426
|
}
|
|
4390
4427
|
get customnotif() {
|
|
4391
4428
|
return this.$$.ctx[8];
|
|
4392
4429
|
}
|
|
4393
4430
|
set customnotif(t) {
|
|
4394
|
-
this.$$set({ customnotif: t }),
|
|
4431
|
+
this.$$set({ customnotif: t }), N();
|
|
4395
4432
|
}
|
|
4396
4433
|
get clientstyling() {
|
|
4397
4434
|
return this.$$.ctx[9];
|
|
4398
4435
|
}
|
|
4399
4436
|
set clientstyling(t) {
|
|
4400
|
-
this.$$set({ clientstyling: t }),
|
|
4437
|
+
this.$$set({ clientstyling: t }), N();
|
|
4401
4438
|
}
|
|
4402
4439
|
get clientstylingurl() {
|
|
4403
4440
|
return this.$$.ctx[10];
|
|
4404
4441
|
}
|
|
4405
4442
|
set clientstylingurl(t) {
|
|
4406
|
-
this.$$set({ clientstylingurl: t }),
|
|
4443
|
+
this.$$set({ clientstylingurl: t }), N();
|
|
4407
4444
|
}
|
|
4408
4445
|
}
|
|
4409
|
-
|
|
4446
|
+
Ir(ji, { lang: {}, cmsendpoint: {}, env: {}, userroles: {}, customnotif: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
|
|
4410
4447
|
export {
|
|
4411
|
-
|
|
4448
|
+
ji as default
|
|
4412
4449
|
};
|