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