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