@opentiny/vue-runtime 3.24.0 → 3.25.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist2/tailwind.css +33 -37
- package/dist2/tiny-vue-all.mjs +29683 -30202
- package/dist2/tiny-vue-common.mjs +427 -430
- package/dist2/tiny-vue-directive.mjs +56 -53
- package/dist2/tiny-vue-huicharts.mjs +1 -1
- package/dist2/tiny-vue-icon-saas.mjs +4264 -4158
- package/dist2/tiny-vue-icon.mjs +4262 -4156
- package/dist2/tiny-vue-locale.mjs +2 -2
- package/dist2/tiny-vue-mobile-first.mjs +1115 -1086
- package/dist2/tiny-vue-pc.mjs +31613 -32153
- package/dist2/tiny-vue-saas-common.mjs +1038 -1042
- package/dist2/tiny-vue-simple.mjs +34289 -34831
- package/dist3/tailwind.css +33 -37
- package/dist3/tiny-vue-all.mjs +33546 -34081
- package/dist3/tiny-vue-common.mjs +615 -618
- package/dist3/tiny-vue-directive.mjs +62 -59
- package/dist3/tiny-vue-huicharts.mjs +1 -1
- package/dist3/tiny-vue-icon-saas.mjs +6201 -5821
- package/dist3/tiny-vue-icon.mjs +6364 -6025
- package/dist3/tiny-vue-locale.mjs +2 -2
- package/dist3/tiny-vue-mobile-first.mjs +2791 -2754
- package/dist3/tiny-vue-pc.mjs +29100 -29664
- package/dist3/tiny-vue-saas-common.mjs +847 -851
- package/dist3/tiny-vue-simple.mjs +20230 -20796
- package/package.json +1 -1
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _e from "vue";
|
|
2
2
|
import X from "vue";
|
|
3
|
-
import * as
|
|
3
|
+
import * as dr from "@vue/composition-api";
|
|
4
4
|
import { t as qe } from "@opentiny/vue-locale";
|
|
5
|
-
function
|
|
5
|
+
function Te(e, t) {
|
|
6
6
|
(t == null || t > e.length) && (t = e.length);
|
|
7
7
|
for (var r = 0, n = Array(t); r < t; r++) n[r] = e[r];
|
|
8
8
|
return n;
|
|
9
9
|
}
|
|
10
|
-
function
|
|
11
|
-
if (Array.isArray(e)) return
|
|
10
|
+
function vr(e) {
|
|
11
|
+
if (Array.isArray(e)) return Te(e);
|
|
12
12
|
}
|
|
13
13
|
function lt(e, t) {
|
|
14
14
|
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
|
|
15
15
|
}
|
|
16
|
-
function
|
|
16
|
+
function pr(e, t) {
|
|
17
17
|
for (var r = 0; r < t.length; r++) {
|
|
18
18
|
var n = t[r];
|
|
19
19
|
n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, ft(n.key), n);
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
function ut(e, t, r) {
|
|
23
|
-
return t &&
|
|
23
|
+
return t && pr(e.prototype, t), Object.defineProperty(e, "prototype", {
|
|
24
24
|
writable: !1
|
|
25
25
|
}), e;
|
|
26
26
|
}
|
|
27
|
-
function
|
|
27
|
+
function re(e, t, r) {
|
|
28
28
|
return (t = ft(t)) in e ? Object.defineProperty(e, t, {
|
|
29
29
|
value: r,
|
|
30
30
|
enumerable: !0,
|
|
@@ -32,10 +32,10 @@ function te(e, t, r) {
|
|
|
32
32
|
writable: !0
|
|
33
33
|
}) : e[t] = r, e;
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function gr(e) {
|
|
36
36
|
if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
|
|
37
37
|
}
|
|
38
|
-
function
|
|
38
|
+
function mr() {
|
|
39
39
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
40
40
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
41
41
|
}
|
|
@@ -49,11 +49,11 @@ function Ke(e, t) {
|
|
|
49
49
|
}
|
|
50
50
|
return r;
|
|
51
51
|
}
|
|
52
|
-
function
|
|
52
|
+
function $(e) {
|
|
53
53
|
for (var t = 1; t < arguments.length; t++) {
|
|
54
54
|
var r = arguments[t] != null ? arguments[t] : {};
|
|
55
55
|
t % 2 ? Ke(Object(r), !0).forEach(function(n) {
|
|
56
|
-
|
|
56
|
+
re(e, n, r[n]);
|
|
57
57
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : Ke(Object(r)).forEach(function(n) {
|
|
58
58
|
Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));
|
|
59
59
|
});
|
|
@@ -61,9 +61,9 @@ function D(e) {
|
|
|
61
61
|
return e;
|
|
62
62
|
}
|
|
63
63
|
function de(e) {
|
|
64
|
-
return
|
|
64
|
+
return vr(e) || gr(e) || yr(e) || mr();
|
|
65
65
|
}
|
|
66
|
-
function
|
|
66
|
+
function hr(e, t) {
|
|
67
67
|
if (typeof e != "object" || !e) return e;
|
|
68
68
|
var r = e[Symbol.toPrimitive];
|
|
69
69
|
if (r !== void 0) {
|
|
@@ -74,7 +74,7 @@ function mr(e, t) {
|
|
|
74
74
|
return String(e);
|
|
75
75
|
}
|
|
76
76
|
function ft(e) {
|
|
77
|
-
var t =
|
|
77
|
+
var t = hr(e, "string");
|
|
78
78
|
return typeof t == "symbol" ? t : t + "";
|
|
79
79
|
}
|
|
80
80
|
function z(e) {
|
|
@@ -85,11 +85,11 @@ function z(e) {
|
|
|
85
85
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
86
86
|
}, z(e);
|
|
87
87
|
}
|
|
88
|
-
function
|
|
88
|
+
function yr(e, t) {
|
|
89
89
|
if (e) {
|
|
90
|
-
if (typeof e == "string") return
|
|
90
|
+
if (typeof e == "string") return Te(e, t);
|
|
91
91
|
var r = {}.toString.call(e).slice(8, -1);
|
|
92
|
-
return r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set" ? Array.from(e) : r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ?
|
|
92
|
+
return r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set" ? Array.from(e) : r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? Te(e, t) : void 0;
|
|
93
93
|
}
|
|
94
94
|
}
|
|
95
95
|
var ct = function() {
|
|
@@ -123,14 +123,14 @@ var ct = function() {
|
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
return n;
|
|
126
|
-
},
|
|
126
|
+
}, br = function(t) {
|
|
127
127
|
var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = {};
|
|
128
128
|
for (var i in t)
|
|
129
129
|
i.indexOf("_") !== 0 && (n[i] = t[i]);
|
|
130
130
|
for (var a in r)
|
|
131
131
|
n[a] = r[a];
|
|
132
132
|
return n;
|
|
133
|
-
},
|
|
133
|
+
}, wr = function(t, r) {
|
|
134
134
|
if (!(!t || !r)) {
|
|
135
135
|
var n = [];
|
|
136
136
|
typeof t == "string" ? n.push(t) : Array.isArray(t) && (n = t);
|
|
@@ -143,7 +143,7 @@ var ct = function() {
|
|
|
143
143
|
});
|
|
144
144
|
}), n.concat(a).join(" ");
|
|
145
145
|
}
|
|
146
|
-
},
|
|
146
|
+
}, Cr = function() {
|
|
147
147
|
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, r = arguments.length > 1 ? arguments[1] : void 0;
|
|
148
148
|
if (z(r) === "object") {
|
|
149
149
|
var n = Array.isArray(r) ? r : Object.keys(r).filter(function(a) {
|
|
@@ -154,13 +154,13 @@ var ct = function() {
|
|
|
154
154
|
}), i;
|
|
155
155
|
} else
|
|
156
156
|
return t[r] || "";
|
|
157
|
-
},
|
|
157
|
+
}, xr = 0, Ar = function(t) {
|
|
158
158
|
return function(r) {
|
|
159
159
|
for (var n = t.parent ? Array.from(t.parent.childNodes) : [], i = 0; i < n.length; i++)
|
|
160
160
|
if (n[i].textContent === r)
|
|
161
161
|
return !0;
|
|
162
162
|
};
|
|
163
|
-
},
|
|
163
|
+
}, Er = function(t) {
|
|
164
164
|
var r = t.hasComment, n = t.startComment, i = t.state, a = t.endComment;
|
|
165
165
|
return function(o) {
|
|
166
166
|
var s = document.createDocumentFragment();
|
|
@@ -184,7 +184,7 @@ var ct = function() {
|
|
|
184
184
|
}
|
|
185
185
|
return s;
|
|
186
186
|
};
|
|
187
|
-
},
|
|
187
|
+
}, Or = function(t) {
|
|
188
188
|
var r = t.instance, n = t.getFragment, i = t.state, a = t.startComment, o = t.endComment;
|
|
189
189
|
return function() {
|
|
190
190
|
r.$el.appendChild(n());
|
|
@@ -197,7 +197,7 @@ var ct = function() {
|
|
|
197
197
|
return i.parent && i.parent.removeChild(f);
|
|
198
198
|
}), i.parent = null;
|
|
199
199
|
};
|
|
200
|
-
},
|
|
200
|
+
}, _r = function(t) {
|
|
201
201
|
var r = t.state, n = t.props, i = t.disable, a = t.getFragment;
|
|
202
202
|
return function() {
|
|
203
203
|
if (r.waiting = !1, r.parent = document.querySelector(n.to), !r.parent) {
|
|
@@ -221,7 +221,7 @@ var ct = function() {
|
|
|
221
221
|
}
|
|
222
222
|
s && a();
|
|
223
223
|
};
|
|
224
|
-
},
|
|
224
|
+
}, Sr = function(t) {
|
|
225
225
|
var r = t.state, n = t.onMutations;
|
|
226
226
|
return function() {
|
|
227
227
|
r.observer || (r.observer = new MutationObserver(function(i) {
|
|
@@ -233,12 +233,12 @@ var ct = function() {
|
|
|
233
233
|
subtree: !0
|
|
234
234
|
}));
|
|
235
235
|
};
|
|
236
|
-
},
|
|
236
|
+
}, Ir = function(t) {
|
|
237
237
|
var r = t.state, n = t.instance, i = t.props, a = t.bootObserver, o = t.maybeMove;
|
|
238
238
|
return function() {
|
|
239
239
|
r.nodes = Array.from(n.$el.childNodes), !i.disabled && a(), o();
|
|
240
240
|
};
|
|
241
|
-
},
|
|
241
|
+
}, Mr = function(t) {
|
|
242
242
|
var r = t.disable, n = t.teardownObserver, i = t.bootObserver, a = t.move;
|
|
243
243
|
return function(o) {
|
|
244
244
|
if (o) {
|
|
@@ -248,7 +248,7 @@ var ct = function() {
|
|
|
248
248
|
i(), a();
|
|
249
249
|
};
|
|
250
250
|
};
|
|
251
|
-
const
|
|
251
|
+
const Pr = function(e) {
|
|
252
252
|
var t = e.reactive, r = e.watch, n = e.getCurrentInstance, i = e.onUpdated, a = e.onMounted, o = e.onBeforeUnmount, s = e.h, l = e.defineComponent;
|
|
253
253
|
return l({
|
|
254
254
|
name: "Vue2Teleport",
|
|
@@ -269,44 +269,44 @@ const Mr = function(e) {
|
|
|
269
269
|
waiting: !1,
|
|
270
270
|
observer: null,
|
|
271
271
|
parent: null,
|
|
272
|
-
id: ++
|
|
273
|
-
}), v = (f = n()) === null || f === void 0 ? void 0 : f.proxy, p = "[".concat(d.id, "]vue2-teleporter-start"), m = "[".concat(d.id, "]vue2-teleporter-end"), g =
|
|
272
|
+
id: ++xr
|
|
273
|
+
}), v = (f = n()) === null || f === void 0 ? void 0 : f.proxy, p = "[".concat(d.id, "]vue2-teleporter-start"), m = "[".concat(d.id, "]vue2-teleporter-end"), g = Ar(d), w = Er({
|
|
274
274
|
hasComment: g,
|
|
275
275
|
startComment: p,
|
|
276
276
|
state: d,
|
|
277
277
|
endComment: m
|
|
278
|
-
}), b =
|
|
278
|
+
}), b = Or({
|
|
279
279
|
instance: v,
|
|
280
280
|
getFragment: w,
|
|
281
281
|
state: d,
|
|
282
282
|
startComment: p,
|
|
283
283
|
endComment: m
|
|
284
|
-
}),
|
|
284
|
+
}), E = _r({
|
|
285
285
|
state: d,
|
|
286
286
|
props: c,
|
|
287
287
|
disable: b,
|
|
288
288
|
getFragment: w
|
|
289
289
|
}), y = function() {
|
|
290
|
-
return !c.disabled &&
|
|
291
|
-
}, x = Tr(d),
|
|
290
|
+
return !c.disabled && E();
|
|
291
|
+
}, x = Tr(d), T = kr({
|
|
292
292
|
state: d,
|
|
293
293
|
disable: b,
|
|
294
294
|
props: c,
|
|
295
|
-
move:
|
|
296
|
-
}),
|
|
295
|
+
move: E
|
|
296
|
+
}), A = Sr({
|
|
297
297
|
state: d,
|
|
298
|
-
onMutations:
|
|
299
|
-
}),
|
|
298
|
+
onMutations: T
|
|
299
|
+
}), S = Ir({
|
|
300
300
|
state: d,
|
|
301
301
|
instance: v,
|
|
302
302
|
props: c,
|
|
303
|
-
bootObserver:
|
|
303
|
+
bootObserver: A,
|
|
304
304
|
maybeMove: y
|
|
305
|
-
}),
|
|
305
|
+
}), P = Mr({
|
|
306
306
|
disable: b,
|
|
307
307
|
teardownObserver: x,
|
|
308
|
-
bootObserver:
|
|
309
|
-
move:
|
|
308
|
+
bootObserver: A,
|
|
309
|
+
move: E
|
|
310
310
|
});
|
|
311
311
|
return r(function() {
|
|
312
312
|
return c.to;
|
|
@@ -314,7 +314,7 @@ const Mr = function(e) {
|
|
|
314
314
|
return c.where;
|
|
315
315
|
}, y), r(function() {
|
|
316
316
|
return c.disabled;
|
|
317
|
-
},
|
|
317
|
+
}, P), i(S), a(S), o(function() {
|
|
318
318
|
b(), x();
|
|
319
319
|
}), function() {
|
|
320
320
|
return s("div", {
|
|
@@ -327,7 +327,7 @@ const Mr = function(e) {
|
|
|
327
327
|
}
|
|
328
328
|
});
|
|
329
329
|
};
|
|
330
|
-
var xe, dt = !!(!((xe = X.version) === null || xe === void 0) && xe.includes("2.7")), h = dt ?
|
|
330
|
+
var te = typeof window > "u" ? null : window.__Longque__, xe, dt = !!(!((xe = X.version) === null || xe === void 0) && xe.includes("2.7")), h = dt ? _e : dr, ba = Pr(h);
|
|
331
331
|
!h.default.__composition_api_installed__ && !dt && X.use(h.default);
|
|
332
332
|
var vt = function(t) {
|
|
333
333
|
var r = t.loader, n = t.loadingComponent, i = t.errorComponent, a = t.delay, o = t.timeout;
|
|
@@ -340,15 +340,15 @@ var vt = function(t) {
|
|
|
340
340
|
timeout: o
|
|
341
341
|
};
|
|
342
342
|
};
|
|
343
|
-
},
|
|
343
|
+
}, Rr = function(t) {
|
|
344
344
|
return t;
|
|
345
345
|
}, pt = function(t) {
|
|
346
346
|
var r = t.view, n = r === void 0 ? null : r, i = t.component, a = i === void 0 ? null : i, o = t.props, s = t.customDesignProps, l = t.context, u = l.attrs, c = l.listeners, f = l.slots, d = t.extend, v = d === void 0 ? {} : d;
|
|
347
347
|
return function() {
|
|
348
|
-
return h.h(n && n.value || a, Object.assign(
|
|
349
|
-
props:
|
|
348
|
+
return h.h(n && n.value || a, Object.assign(re(re(re({
|
|
349
|
+
props: $($({}, o), s),
|
|
350
350
|
attrs: u
|
|
351
|
-
}, v.isSvg ? "nativeOn" : "on", c), "ref", "modeTemplate"), "scopedSlots",
|
|
351
|
+
}, v.isSvg ? "nativeOn" : "on", c), "ref", "modeTemplate"), "scopedSlots", $({}, f)), v));
|
|
352
352
|
};
|
|
353
353
|
}, Ne = function() {
|
|
354
354
|
var t;
|
|
@@ -363,9 +363,9 @@ var vt = function(t) {
|
|
|
363
363
|
o = a == null || (s = a.parent) === null || s === void 0 || (l = s.vnode) === null || l === void 0 || (u = l.componentOptions) === null || u === void 0 || (c = u.Ctor) === null || c === void 0 || (f = c.extendOptions) === null || f === void 0 ? void 0 : f.name;
|
|
364
364
|
}
|
|
365
365
|
return o || "";
|
|
366
|
-
}, Rr = function() {
|
|
367
|
-
return X;
|
|
368
366
|
}, Dr = function() {
|
|
367
|
+
return X;
|
|
368
|
+
}, Fr = function() {
|
|
369
369
|
return X.prototype;
|
|
370
370
|
}, mt = function() {
|
|
371
371
|
var t, r = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : (t = h.getCurrentInstance()) === null || t === void 0 ? void 0 : t.proxy;
|
|
@@ -373,7 +373,7 @@ var vt = function(t) {
|
|
|
373
373
|
route: r == null ? void 0 : r.$route,
|
|
374
374
|
router: r == null ? void 0 : r.$router
|
|
375
375
|
};
|
|
376
|
-
},
|
|
376
|
+
}, Lr = function(t) {
|
|
377
377
|
var r = function(i, a, o, s) {
|
|
378
378
|
i.$children.forEach(function(l) {
|
|
379
379
|
var u = l.$options.componentName;
|
|
@@ -390,7 +390,7 @@ var vt = function(t) {
|
|
|
390
390
|
r(t, i, a, o);
|
|
391
391
|
}
|
|
392
392
|
};
|
|
393
|
-
},
|
|
393
|
+
}, jr = function(t) {
|
|
394
394
|
return function(r) {
|
|
395
395
|
var n = t.$parent, i = 0, a = function(s) {
|
|
396
396
|
return {
|
|
@@ -404,7 +404,7 @@ var vt = function(t) {
|
|
|
404
404
|
for (i++; n && !r(a(n)); )
|
|
405
405
|
n = n.$parent, i++;
|
|
406
406
|
};
|
|
407
|
-
},
|
|
407
|
+
}, Nr = function(t) {
|
|
408
408
|
return function(r) {
|
|
409
409
|
if (typeof r != "function") return ht(t.$children);
|
|
410
410
|
var n = 1, i = function(o) {
|
|
@@ -429,7 +429,7 @@ var vt = function(t) {
|
|
|
429
429
|
var i = q({}, n);
|
|
430
430
|
r.push(i), n.$vnode.data.ref && (r.refs[n.$vnode.data.ref] = i);
|
|
431
431
|
}), r;
|
|
432
|
-
},
|
|
432
|
+
}, zr = function(t, r, n) {
|
|
433
433
|
var i = function(s) {
|
|
434
434
|
if (typeof n == "function" && n(s)) return 1;
|
|
435
435
|
Object.defineProperty(t, s, {
|
|
@@ -446,7 +446,10 @@ var vt = function(t) {
|
|
|
446
446
|
for (var a in r)
|
|
447
447
|
i(a);
|
|
448
448
|
return t;
|
|
449
|
-
},
|
|
449
|
+
}, Br = function(t, r) {
|
|
450
|
+
var n = te.SKIP_PREFIX_UNDERSCORE | te.SKIP_PREFIX_DOLLAR | te.SKIP_CONSTRUCTOR;
|
|
451
|
+
te.createDelegate(r, t, n);
|
|
452
|
+
}, yt = te ? Br : zr, bt = function(t) {
|
|
450
453
|
return t.indexOf("$") === 0 || t.indexOf("_") === 0 || t === "constructor";
|
|
451
454
|
}, q = function(t, r) {
|
|
452
455
|
var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : void 0;
|
|
@@ -549,23 +552,23 @@ var vt = function(t) {
|
|
|
549
552
|
}
|
|
550
553
|
}
|
|
551
554
|
}), t;
|
|
552
|
-
},
|
|
555
|
+
}, Vr = function(t, r) {
|
|
553
556
|
Object.keys(t.$refs).forEach(function(n) {
|
|
554
557
|
r[n] = t.$refs[n];
|
|
555
558
|
});
|
|
556
|
-
},
|
|
557
|
-
var n, i = (n = h.getCurrentInstance()) === null || n === void 0 ? void 0 : n.proxy, a = i == null ? void 0 : i.$root, o = mt(i), s = o.route, l = o.router, u = a == null ? void 0 : a.$i18n, c =
|
|
558
|
-
var
|
|
559
|
-
i.$parent[
|
|
560
|
-
}, y = function(
|
|
561
|
-
Object.defineProperties(m,
|
|
562
|
-
}, x = function(
|
|
563
|
-
b && Object.defineProperties(b,
|
|
559
|
+
}, Wr = function(t, r) {
|
|
560
|
+
var n, i = (n = h.getCurrentInstance()) === null || n === void 0 ? void 0 : n.proxy, a = i == null ? void 0 : i.$root, o = mt(i), s = o.route, l = o.router, u = a == null ? void 0 : a.$i18n, c = Lr(i), f = c.dispatch, d = c.broadcast, v = jr(i), p = Nr(i), m = q({}, i, t), g = t.emit, w = {}, b = i.$parent ? q({}, i.$parent) : null, E = function(A) {
|
|
561
|
+
var S = A.name, P = A.value;
|
|
562
|
+
i.$parent[S] = P, b[S] = P;
|
|
563
|
+
}, y = function(A) {
|
|
564
|
+
Object.defineProperties(m, A), Object.defineProperties(i, A);
|
|
565
|
+
}, x = function(A) {
|
|
566
|
+
b && Object.defineProperties(b, A);
|
|
564
567
|
};
|
|
565
568
|
return h.onBeforeMount(function() {
|
|
566
569
|
return yt(m, i, bt);
|
|
567
|
-
}),
|
|
568
|
-
return
|
|
570
|
+
}), _e && h.onMounted(function() {
|
|
571
|
+
return Vr(i, w);
|
|
569
572
|
}), {
|
|
570
573
|
framework: "vue2",
|
|
571
574
|
vm: m,
|
|
@@ -578,7 +581,7 @@ var vt = function(t) {
|
|
|
578
581
|
parentHandler: v,
|
|
579
582
|
childrenHandler: p,
|
|
580
583
|
// 因为vue2.6版本context.refs是有值的,但是vue2.7版本是undefined所以这里需要做个兼容
|
|
581
|
-
refs:
|
|
584
|
+
refs: _e ? w : t.refs,
|
|
582
585
|
i18n: u,
|
|
583
586
|
slots: t.slots,
|
|
584
587
|
scopedSlots: t.slots,
|
|
@@ -593,7 +596,7 @@ var vt = function(t) {
|
|
|
593
596
|
getService: function() {
|
|
594
597
|
return i == null ? void 0 : i.$getService(m);
|
|
595
598
|
},
|
|
596
|
-
setParentAttribute:
|
|
599
|
+
setParentAttribute: E,
|
|
597
600
|
defineInstanceProperties: y,
|
|
598
601
|
defineParentInstanceProperties: x
|
|
599
602
|
};
|
|
@@ -604,13 +607,13 @@ var vt = function(t) {
|
|
|
604
607
|
o.instance = s.context, i(a, o, s);
|
|
605
608
|
}, delete t[r];
|
|
606
609
|
}
|
|
607
|
-
},
|
|
610
|
+
}, Ur = function(t) {
|
|
608
611
|
for (var r in t) {
|
|
609
612
|
var n = t[r];
|
|
610
613
|
ae(n, "mounted", "inserted"), ae(n, "beforeMount", "bind"), ae(n, "updated", "update"), ae(n, "unmounted", "unbind");
|
|
611
614
|
}
|
|
612
615
|
return t;
|
|
613
|
-
},
|
|
616
|
+
}, Gr = function(t) {
|
|
614
617
|
var r = t.props, n = t.data, i = t.name, a = t.attr, o = a === void 0 ? i : a;
|
|
615
618
|
Object.defineProperty(r, o, {
|
|
616
619
|
get: function() {
|
|
@@ -620,9 +623,9 @@ var vt = function(t) {
|
|
|
620
623
|
return n[i] = l;
|
|
621
624
|
}
|
|
622
625
|
});
|
|
623
|
-
},
|
|
626
|
+
}, Hr = function(t) {
|
|
624
627
|
var r = {}, n = t.componentOptions && t.componentOptions.propsData || {};
|
|
625
|
-
for (var i in n)
|
|
628
|
+
for (var i in n) Gr({
|
|
626
629
|
props: r,
|
|
627
630
|
data: n,
|
|
628
631
|
name: i
|
|
@@ -630,31 +633,31 @@ var vt = function(t) {
|
|
|
630
633
|
return t.props = r, t.type = {
|
|
631
634
|
name: t.componentOptions && t.componentOptions.tag
|
|
632
635
|
}, t;
|
|
633
|
-
},
|
|
636
|
+
}, qr = function(t) {
|
|
634
637
|
return !t || !t.tag;
|
|
635
|
-
},
|
|
638
|
+
}, Kr = h.h, Xr = function(t) {
|
|
636
639
|
return function(r) {
|
|
637
640
|
var n = r.component, i = r.propsData, a = r.el, o = Object.assign(n, {
|
|
638
|
-
provide:
|
|
641
|
+
provide: re({}, t.configKey, t.configInstance)
|
|
639
642
|
});
|
|
640
643
|
return new (X.extend(o))({
|
|
641
644
|
propsData: i,
|
|
642
645
|
el: a
|
|
643
646
|
}).$mount();
|
|
644
647
|
};
|
|
645
|
-
},
|
|
648
|
+
}, Yr = h.defineComponent, wt = !0, wa = !1, Qr = function(t) {
|
|
646
649
|
return ["isStatic", "isRootInsert", "isComment", "isCloned", "isOnce"].every(function(r) {
|
|
647
650
|
return typeof t[r] < "u";
|
|
648
651
|
});
|
|
649
|
-
},
|
|
652
|
+
}, Ca = X.component("KeepAlive"), ke = function(t) {
|
|
650
653
|
var r = [];
|
|
651
654
|
return Object.keys(t).forEach(function(n) {
|
|
652
655
|
return t[n] && r.push(n);
|
|
653
656
|
}), r.join(" ");
|
|
654
|
-
},
|
|
657
|
+
}, Zr = function(t) {
|
|
655
658
|
var r = [];
|
|
656
659
|
return t.forEach(function(n) {
|
|
657
|
-
typeof n == "string" ? r.push(n) : z(n) === "object" && r.push(
|
|
660
|
+
typeof n == "string" ? r.push(n) : z(n) === "object" && r.push(ke(n));
|
|
658
661
|
}), r.join(" ");
|
|
659
662
|
}, Se = function(t) {
|
|
660
663
|
if (!t)
|
|
@@ -664,11 +667,11 @@ var vt = function(t) {
|
|
|
664
667
|
if (Array.isArray(t) && t.length > 0) {
|
|
665
668
|
var r = [];
|
|
666
669
|
return t.forEach(function(n) {
|
|
667
|
-
n && (typeof n == "string" ? r.push(n) : Array.isArray(n) ? r.push(
|
|
670
|
+
n && (typeof n == "string" ? r.push(n) : Array.isArray(n) ? r.push(Zr(n)) : z(n) === "object" && r.push(ke(n)));
|
|
668
671
|
}), r.join(" ");
|
|
669
672
|
}
|
|
670
|
-
return z(t) === "object" ?
|
|
671
|
-
},
|
|
673
|
+
return z(t) === "object" ? ke(t) : "";
|
|
674
|
+
}, xa = function(t) {
|
|
672
675
|
var r = Se(t), n = Array.from(new Set(r.split(" "))).filter(function(i) {
|
|
673
676
|
return i;
|
|
674
677
|
});
|
|
@@ -678,20 +681,20 @@ function Ct() {
|
|
|
678
681
|
var e = {};
|
|
679
682
|
return e["align-content"] = !1, e["align-items"] = !1, e["align-self"] = !1, e["alignment-adjust"] = !1, e["alignment-baseline"] = !1, e.all = !1, e["anchor-point"] = !1, e.animation = !1, e["animation-delay"] = !1, e["animation-direction"] = !1, e["animation-duration"] = !1, e["animation-fill-mode"] = !1, e["animation-iteration-count"] = !1, e["animation-name"] = !1, e["animation-play-state"] = !1, e["animation-timing-function"] = !1, e.azimuth = !1, e["backface-visibility"] = !1, e.background = !0, e["background-attachment"] = !0, e["background-clip"] = !0, e["background-color"] = !0, e["background-image"] = !0, e["background-origin"] = !0, e["background-position"] = !0, e["background-repeat"] = !0, e["background-size"] = !0, e["baseline-shift"] = !1, e.binding = !1, e.bleed = !1, e["bookmark-label"] = !1, e["bookmark-level"] = !1, e["bookmark-state"] = !1, e.border = !0, e["border-bottom"] = !0, e["border-bottom-color"] = !0, e["border-bottom-left-radius"] = !0, e["border-bottom-right-radius"] = !0, e["border-bottom-style"] = !0, e["border-bottom-width"] = !0, e["border-collapse"] = !0, e["border-color"] = !0, e["border-image"] = !0, e["border-image-outset"] = !0, e["border-image-repeat"] = !0, e["border-image-slice"] = !0, e["border-image-source"] = !0, e["border-image-width"] = !0, e["border-left"] = !0, e["border-left-color"] = !0, e["border-left-style"] = !0, e["border-left-width"] = !0, e["border-radius"] = !0, e["border-right"] = !0, e["border-right-color"] = !0, e["border-right-style"] = !0, e["border-right-width"] = !0, e["border-spacing"] = !0, e["border-style"] = !0, e["border-top"] = !0, e["border-top-color"] = !0, e["border-top-left-radius"] = !0, e["border-top-right-radius"] = !0, e["border-top-style"] = !0, e["border-top-width"] = !0, e["border-width"] = !0, e.bottom = !1, e["box-decoration-break"] = !0, e["box-shadow"] = !0, e["box-sizing"] = !0, e["box-snap"] = !0, e["box-suppress"] = !0, e["break-after"] = !0, e["break-before"] = !0, e["break-inside"] = !0, e["caption-side"] = !1, e.chains = !1, e.clear = !0, e.clip = !1, e["clip-path"] = !1, e["clip-rule"] = !1, e.color = !0, e["color-interpolation-filters"] = !0, e["column-count"] = !1, e["column-fill"] = !1, e["column-gap"] = !1, e["column-rule"] = !1, e["column-rule-color"] = !1, e["column-rule-style"] = !1, e["column-rule-width"] = !1, e["column-span"] = !1, e["column-width"] = !1, e.columns = !1, e.contain = !1, e.content = !1, e["counter-increment"] = !1, e["counter-reset"] = !1, e["counter-set"] = !1, e.crop = !1, e.cue = !1, e["cue-after"] = !1, e["cue-before"] = !1, e.cursor = !1, e.direction = !1, e.display = !0, e["display-inside"] = !0, e["display-list"] = !0, e["display-outside"] = !0, e["dominant-baseline"] = !1, e.elevation = !1, e["empty-cells"] = !1, e.filter = !1, e.flex = !1, e["flex-basis"] = !1, e["flex-direction"] = !1, e["flex-flow"] = !1, e["flex-grow"] = !1, e["flex-shrink"] = !1, e["flex-wrap"] = !1, e.float = !1, e["float-offset"] = !1, e["flood-color"] = !1, e["flood-opacity"] = !1, e["flow-from"] = !1, e["flow-into"] = !1, e.font = !0, e["font-family"] = !0, e["font-feature-settings"] = !0, e["font-kerning"] = !0, e["font-language-override"] = !0, e["font-size"] = !0, e["font-size-adjust"] = !0, e["font-stretch"] = !0, e["font-style"] = !0, e["font-synthesis"] = !0, e["font-variant"] = !0, e["font-variant-alternates"] = !0, e["font-variant-caps"] = !0, e["font-variant-east-asian"] = !0, e["font-variant-ligatures"] = !0, e["font-variant-numeric"] = !0, e["font-variant-position"] = !0, e["font-weight"] = !0, e.grid = !1, e["grid-area"] = !1, e["grid-auto-columns"] = !1, e["grid-auto-flow"] = !1, e["grid-auto-rows"] = !1, e["grid-column"] = !1, e["grid-column-end"] = !1, e["grid-column-start"] = !1, e["grid-row"] = !1, e["grid-row-end"] = !1, e["grid-row-start"] = !1, e["grid-template"] = !1, e["grid-template-areas"] = !1, e["grid-template-columns"] = !1, e["grid-template-rows"] = !1, e["hanging-punctuation"] = !1, e.height = !0, e.hyphens = !1, e.icon = !1, e["image-orientation"] = !1, e["image-resolution"] = !1, e["ime-mode"] = !1, e["initial-letters"] = !1, e["inline-box-align"] = !1, e["justify-content"] = !1, e["justify-items"] = !1, e["justify-self"] = !1, e.left = !1, e["letter-spacing"] = !0, e["lighting-color"] = !0, e["line-box-contain"] = !1, e["line-break"] = !1, e["line-grid"] = !1, e["line-height"] = !1, e["line-snap"] = !1, e["line-stacking"] = !1, e["line-stacking-ruby"] = !1, e["line-stacking-shift"] = !1, e["line-stacking-strategy"] = !1, e["list-style"] = !0, e["list-style-image"] = !0, e["list-style-position"] = !0, e["list-style-type"] = !0, e.margin = !0, e["margin-bottom"] = !0, e["margin-left"] = !0, e["margin-right"] = !0, e["margin-top"] = !0, e["marker-offset"] = !1, e["marker-side"] = !1, e.marks = !1, e.mask = !1, e["mask-box"] = !1, e["mask-box-outset"] = !1, e["mask-box-repeat"] = !1, e["mask-box-slice"] = !1, e["mask-box-source"] = !1, e["mask-box-width"] = !1, e["mask-clip"] = !1, e["mask-image"] = !1, e["mask-origin"] = !1, e["mask-position"] = !1, e["mask-repeat"] = !1, e["mask-size"] = !1, e["mask-source-type"] = !1, e["mask-type"] = !1, e["max-height"] = !0, e["max-lines"] = !1, e["max-width"] = !0, e["min-height"] = !0, e["min-width"] = !0, e["move-to"] = !1, e["nav-down"] = !1, e["nav-index"] = !1, e["nav-left"] = !1, e["nav-right"] = !1, e["nav-up"] = !1, e["object-fit"] = !1, e["object-position"] = !1, e.opacity = !1, e.order = !1, e.orphans = !1, e.outline = !1, e["outline-color"] = !1, e["outline-offset"] = !1, e["outline-style"] = !1, e["outline-width"] = !1, e.overflow = !1, e["overflow-wrap"] = !1, e["overflow-x"] = !1, e["overflow-y"] = !1, e.padding = !0, e["padding-bottom"] = !0, e["padding-left"] = !0, e["padding-right"] = !0, e["padding-top"] = !0, e.page = !1, e["page-break-after"] = !1, e["page-break-before"] = !1, e["page-break-inside"] = !1, e["page-policy"] = !1, e.pause = !1, e["pause-after"] = !1, e["pause-before"] = !1, e.perspective = !1, e["perspective-origin"] = !1, e.pitch = !1, e["pitch-range"] = !1, e["play-during"] = !1, e.position = !1, e["presentation-level"] = !1, e.quotes = !1, e["region-fragment"] = !1, e.resize = !1, e.rest = !1, e["rest-after"] = !1, e["rest-before"] = !1, e.richness = !1, e.right = !1, e.rotation = !1, e["rotation-point"] = !1, e["ruby-align"] = !1, e["ruby-merge"] = !1, e["ruby-position"] = !1, e["shape-image-threshold"] = !1, e["shape-outside"] = !1, e["shape-margin"] = !1, e.size = !1, e.speak = !1, e["speak-as"] = !1, e["speak-header"] = !1, e["speak-numeral"] = !1, e["speak-punctuation"] = !1, e["speech-rate"] = !1, e.stress = !1, e["string-set"] = !1, e["tab-size"] = !1, e["table-layout"] = !1, e["text-align"] = !0, e["text-align-last"] = !0, e["text-combine-upright"] = !0, e["text-decoration"] = !0, e["text-decoration-color"] = !0, e["text-decoration-line"] = !0, e["text-decoration-skip"] = !0, e["text-decoration-style"] = !0, e["text-emphasis"] = !0, e["text-emphasis-color"] = !0, e["text-emphasis-position"] = !0, e["text-emphasis-style"] = !0, e["text-height"] = !0, e["text-indent"] = !0, e["text-justify"] = !0, e["text-orientation"] = !0, e["text-overflow"] = !0, e["text-shadow"] = !0, e["text-space-collapse"] = !0, e["text-transform"] = !0, e["text-underline-position"] = !0, e["text-wrap"] = !0, e.top = !1, e.transform = !1, e["transform-origin"] = !1, e["transform-style"] = !1, e.transition = !1, e["transition-delay"] = !1, e["transition-duration"] = !1, e["transition-property"] = !1, e["transition-timing-function"] = !1, e["unicode-bidi"] = !1, e["vertical-align"] = !1, e.visibility = !1, e["voice-balance"] = !1, e["voice-duration"] = !1, e["voice-family"] = !1, e["voice-pitch"] = !1, e["voice-range"] = !1, e["voice-rate"] = !1, e["voice-stress"] = !1, e["voice-volume"] = !1, e.volume = !1, e["white-space"] = !1, e.widows = !1, e.width = !0, e["will-change"] = !1, e["word-break"] = !0, e["word-spacing"] = !0, e["word-wrap"] = !0, e["wrap-flow"] = !1, e["wrap-through"] = !1, e["writing-mode"] = !1, e["z-index"] = !1, e;
|
|
680
683
|
}
|
|
681
|
-
function
|
|
684
|
+
function Jr(e, t, r) {
|
|
682
685
|
}
|
|
683
|
-
function
|
|
686
|
+
function en(e, t, r) {
|
|
684
687
|
}
|
|
685
|
-
var
|
|
686
|
-
function
|
|
687
|
-
return
|
|
688
|
+
var tn = /javascript\s*\:/img;
|
|
689
|
+
function rn(e, t) {
|
|
690
|
+
return tn.test(t) ? "" : t;
|
|
688
691
|
}
|
|
689
692
|
U.whiteList = Ct();
|
|
690
693
|
U.getDefaultWhiteList = Ct;
|
|
691
|
-
U.onAttr =
|
|
692
|
-
U.onIgnoreAttr =
|
|
693
|
-
U.safeAttrValue =
|
|
694
|
-
var
|
|
694
|
+
U.onAttr = Jr;
|
|
695
|
+
U.onIgnoreAttr = en;
|
|
696
|
+
U.safeAttrValue = rn;
|
|
697
|
+
var nn = {
|
|
695
698
|
indexOf: function(t, r) {
|
|
696
699
|
var n, i;
|
|
697
700
|
if (Array.prototype.indexOf)
|
|
@@ -714,8 +717,8 @@ var en = {
|
|
|
714
717
|
trimRight: function(t) {
|
|
715
718
|
return String.prototype.trimRight ? t.trimRight() : t.replace(/(\s*$)/g, "");
|
|
716
719
|
}
|
|
717
|
-
}, Z =
|
|
718
|
-
function
|
|
720
|
+
}, Z = nn;
|
|
721
|
+
function an(e, t) {
|
|
719
722
|
e = Z.trimRight(e), e[e.length - 1] !== ";" && (e += ";");
|
|
720
723
|
var r = e.length, n = !1, i = 0, a = 0, o = "";
|
|
721
724
|
function s() {
|
|
@@ -742,22 +745,22 @@ function tn(e, t) {
|
|
|
742
745
|
}
|
|
743
746
|
return Z.trim(o);
|
|
744
747
|
}
|
|
745
|
-
var
|
|
748
|
+
var on = an, oe = U, sn = on;
|
|
746
749
|
function Xe(e) {
|
|
747
750
|
return e == null;
|
|
748
751
|
}
|
|
749
|
-
function
|
|
752
|
+
function ln(e) {
|
|
750
753
|
var t = {};
|
|
751
754
|
for (var r in e)
|
|
752
755
|
t[r] = e[r];
|
|
753
756
|
return t;
|
|
754
757
|
}
|
|
755
758
|
function xt(e) {
|
|
756
|
-
e =
|
|
759
|
+
e = ln(e || {}), e.whiteList = e.whiteList || oe.whiteList, e.onAttr = e.onAttr || oe.onAttr, e.onIgnoreAttr = e.onIgnoreAttr || oe.onIgnoreAttr, e.safeAttrValue = e.safeAttrValue || oe.safeAttrValue, this.options = e;
|
|
757
760
|
}
|
|
758
761
|
xt.prototype.process = function(e) {
|
|
759
762
|
if (e = e || "", e = e.toString(), !e) return "";
|
|
760
|
-
var t = this, r = t.options, n = r.whiteList, i = r.onAttr, a = r.onIgnoreAttr, o = r.safeAttrValue, s =
|
|
763
|
+
var t = this, r = t.options, n = r.whiteList, i = r.onAttr, a = r.onIgnoreAttr, o = r.safeAttrValue, s = sn(e, function(l, u, c, f, d) {
|
|
761
764
|
var v = n[c], p = !1;
|
|
762
765
|
if (v === !0 ? p = v : typeof v == "function" ? p = v(f) : v instanceof RegExp && (p = v.test(f)), p !== !0 && (p = !1), f = o(c, f), !!f) {
|
|
763
766
|
var m = {
|
|
@@ -778,9 +781,9 @@ xt.prototype.process = function(e) {
|
|
|
778
781
|
});
|
|
779
782
|
return s;
|
|
780
783
|
};
|
|
781
|
-
var
|
|
784
|
+
var un = xt;
|
|
782
785
|
(function(e, t) {
|
|
783
|
-
var r = U, n =
|
|
786
|
+
var r = U, n = un;
|
|
784
787
|
function i(o, s) {
|
|
785
788
|
var l = new n(s);
|
|
786
789
|
return l.process(o);
|
|
@@ -813,7 +816,7 @@ var ze = Me.exports, Be = {
|
|
|
813
816
|
var r = /\s|\n|\t/, n = r.exec(t);
|
|
814
817
|
return n ? n.index : -1;
|
|
815
818
|
}
|
|
816
|
-
},
|
|
819
|
+
}, fn = ze.FilterCSS, cn = ze.getDefaultWhiteList, me = Be;
|
|
817
820
|
function At() {
|
|
818
821
|
return {
|
|
819
822
|
a: ["target", "href", "title"],
|
|
@@ -885,19 +888,19 @@ function At() {
|
|
|
885
888
|
video: ["autoplay", "controls", "crossorigin", "loop", "muted", "playsinline", "poster", "preload", "src", "height", "width"]
|
|
886
889
|
};
|
|
887
890
|
}
|
|
888
|
-
var Et = new
|
|
889
|
-
function
|
|
891
|
+
var Et = new fn();
|
|
892
|
+
function dn(e, t, r) {
|
|
890
893
|
}
|
|
891
|
-
function
|
|
894
|
+
function vn(e, t, r) {
|
|
892
895
|
}
|
|
893
|
-
function
|
|
896
|
+
function pn(e, t, r) {
|
|
894
897
|
}
|
|
895
|
-
function
|
|
898
|
+
function gn(e, t, r) {
|
|
896
899
|
}
|
|
897
900
|
function Ot(e) {
|
|
898
|
-
return e.replace(
|
|
901
|
+
return e.replace(hn, "<").replace(yn, ">");
|
|
899
902
|
}
|
|
900
|
-
function
|
|
903
|
+
function mn(e, t, r, n) {
|
|
901
904
|
if (r = Mt(r), t === "href" || t === "src") {
|
|
902
905
|
if (r = me.trim(r), r === "#") return "#";
|
|
903
906
|
if (!(r.substr(0, 7) === "http://" || r.substr(0, 8) === "https://" || r.substr(0, 7) === "mailto:" || r.substr(0, 4) === "tel:" || r.substr(0, 11) === "data:image/" || r.substr(0, 6) === "ftp://" || r.substr(0, 2) === "./" || r.substr(0, 3) === "../" || r[0] === "#" || r[0] === "/"))
|
|
@@ -912,20 +915,20 @@ function vn(e, t, r, n) {
|
|
|
912
915
|
}
|
|
913
916
|
return r = Pt(r), r;
|
|
914
917
|
}
|
|
915
|
-
var
|
|
918
|
+
var hn = /</g, yn = />/g, bn = /"/g, wn = /"/g, Cn = /&#([a-zA-Z0-9]*);?/gim, xn = /:?/gim, An = /&newline;?/gim, se = /((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a):/gi, Ye = /e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi, Qe = /u\s*r\s*l\s*\(.*/gi;
|
|
919
|
+
function _t(e) {
|
|
920
|
+
return e.replace(bn, """);
|
|
921
|
+
}
|
|
916
922
|
function Tt(e) {
|
|
917
|
-
return e.replace(
|
|
923
|
+
return e.replace(wn, '"');
|
|
918
924
|
}
|
|
919
925
|
function kt(e) {
|
|
920
|
-
return e.replace(
|
|
921
|
-
}
|
|
922
|
-
function _t(e) {
|
|
923
|
-
return e.replace(yn, function(r, n) {
|
|
926
|
+
return e.replace(Cn, function(r, n) {
|
|
924
927
|
return n[0] === "x" || n[0] === "X" ? String.fromCharCode(parseInt(n.substr(1), 16)) : String.fromCharCode(parseInt(n, 10));
|
|
925
928
|
});
|
|
926
929
|
}
|
|
927
930
|
function St(e) {
|
|
928
|
-
return e.replace(
|
|
931
|
+
return e.replace(xn, ":").replace(An, " ");
|
|
929
932
|
}
|
|
930
933
|
function It(e) {
|
|
931
934
|
for (var t = "", r = 0, n = e.length; r < n; r++)
|
|
@@ -933,15 +936,15 @@ function It(e) {
|
|
|
933
936
|
return me.trim(t);
|
|
934
937
|
}
|
|
935
938
|
function Mt(e) {
|
|
936
|
-
return e =
|
|
939
|
+
return e = Tt(e), e = kt(e), e = St(e), e = It(e), e;
|
|
937
940
|
}
|
|
938
941
|
function Pt(e) {
|
|
939
|
-
return e =
|
|
942
|
+
return e = _t(e), e = Ot(e), e;
|
|
940
943
|
}
|
|
941
|
-
function
|
|
944
|
+
function En() {
|
|
942
945
|
return "";
|
|
943
946
|
}
|
|
944
|
-
function
|
|
947
|
+
function On(e, t) {
|
|
945
948
|
typeof t != "function" && (t = function() {
|
|
946
949
|
});
|
|
947
950
|
var r = !Array.isArray(e);
|
|
@@ -968,7 +971,7 @@ function xn(e, t) {
|
|
|
968
971
|
}
|
|
969
972
|
};
|
|
970
973
|
}
|
|
971
|
-
function
|
|
974
|
+
function _n(e) {
|
|
972
975
|
for (var t = "", r = 0; r < e.length; ) {
|
|
973
976
|
var n = e.indexOf("<!--", r);
|
|
974
977
|
if (n === -1) {
|
|
@@ -983,7 +986,7 @@ function An(e) {
|
|
|
983
986
|
}
|
|
984
987
|
return t;
|
|
985
988
|
}
|
|
986
|
-
function
|
|
989
|
+
function Tn(e) {
|
|
987
990
|
var t = e.split("");
|
|
988
991
|
return t = t.filter(function(r) {
|
|
989
992
|
var n = r.charCodeAt(0);
|
|
@@ -992,34 +995,34 @@ function En(e) {
|
|
|
992
995
|
}
|
|
993
996
|
C.whiteList = At();
|
|
994
997
|
C.getDefaultWhiteList = At;
|
|
995
|
-
C.onTag =
|
|
996
|
-
C.onIgnoreTag =
|
|
997
|
-
C.onTagAttr =
|
|
998
|
-
C.onIgnoreTagAttr =
|
|
999
|
-
C.safeAttrValue =
|
|
998
|
+
C.onTag = dn;
|
|
999
|
+
C.onIgnoreTag = vn;
|
|
1000
|
+
C.onTagAttr = pn;
|
|
1001
|
+
C.onIgnoreTagAttr = gn;
|
|
1002
|
+
C.safeAttrValue = mn;
|
|
1000
1003
|
C.escapeHtml = Ot;
|
|
1001
|
-
C.escapeQuote =
|
|
1002
|
-
C.unescapeQuote =
|
|
1003
|
-
C.escapeHtmlEntities =
|
|
1004
|
+
C.escapeQuote = _t;
|
|
1005
|
+
C.unescapeQuote = Tt;
|
|
1006
|
+
C.escapeHtmlEntities = kt;
|
|
1004
1007
|
C.escapeDangerHtml5Entities = St;
|
|
1005
1008
|
C.clearNonPrintableCharacter = It;
|
|
1006
1009
|
C.friendlyAttrValue = Mt;
|
|
1007
1010
|
C.escapeAttrValue = Pt;
|
|
1008
|
-
C.onIgnoreTagStripAll =
|
|
1009
|
-
C.StripTagBody =
|
|
1010
|
-
C.stripCommentTag =
|
|
1011
|
-
C.stripBlankChar =
|
|
1011
|
+
C.onIgnoreTagStripAll = En;
|
|
1012
|
+
C.StripTagBody = On;
|
|
1013
|
+
C.stripCommentTag = _n;
|
|
1014
|
+
C.stripBlankChar = Tn;
|
|
1012
1015
|
C.cssFilter = Et;
|
|
1013
|
-
C.getDefaultCSSWhiteList =
|
|
1016
|
+
C.getDefaultCSSWhiteList = cn;
|
|
1014
1017
|
var we = {}, N = Be;
|
|
1015
|
-
function
|
|
1018
|
+
function kn(e) {
|
|
1016
1019
|
var t = N.spaceIndex(e), r;
|
|
1017
1020
|
return t === -1 ? r = e.slice(1, -1) : r = e.slice(1, t + 1), r = N.trim(r).toLowerCase(), r.slice(0, 1) === "/" && (r = r.slice(1)), r.slice(-1) === "/" && (r = r.slice(0, -1)), r;
|
|
1018
1021
|
}
|
|
1019
|
-
function
|
|
1022
|
+
function Sn(e) {
|
|
1020
1023
|
return e.slice(0, 2) === "</";
|
|
1021
1024
|
}
|
|
1022
|
-
function
|
|
1025
|
+
function In(e, t, r) {
|
|
1023
1026
|
var n = "", i = 0, a = !1, o = !1, s = 0, l = e.length, u = "", c = "";
|
|
1024
1027
|
e: for (s = 0; s < l; s++) {
|
|
1025
1028
|
var f = e.charAt(s);
|
|
@@ -1034,7 +1037,7 @@ function kn(e, t, r) {
|
|
|
1034
1037
|
continue;
|
|
1035
1038
|
}
|
|
1036
1039
|
if (f === ">" || s === l - 1) {
|
|
1037
|
-
n += r(e.slice(i, a)), c = e.slice(a, s + 1), u =
|
|
1040
|
+
n += r(e.slice(i, a)), c = e.slice(a, s + 1), u = kn(c), n += t(a, n.length, u, c, Sn(c)), i = s + 1, a = !1;
|
|
1038
1041
|
continue;
|
|
1039
1042
|
}
|
|
1040
1043
|
if (f === '"' || f === "'")
|
|
@@ -1052,11 +1055,11 @@ function kn(e, t, r) {
|
|
|
1052
1055
|
}
|
|
1053
1056
|
return i < l && (n += r(e.substr(i))), n;
|
|
1054
1057
|
}
|
|
1055
|
-
var
|
|
1056
|
-
function
|
|
1058
|
+
var Mn = /[^a-zA-Z0-9\\_:.-]/gim;
|
|
1059
|
+
function Pn(e, t) {
|
|
1057
1060
|
var r = 0, n = 0, i = [], a = !1, o = e.length;
|
|
1058
1061
|
function s(d, v) {
|
|
1059
|
-
if (d = N.trim(d), d = d.replace(
|
|
1062
|
+
if (d = N.trim(d), d = d.replace(Mn, "").toLowerCase(), !(d.length < 1)) {
|
|
1060
1063
|
var p = t(d, v || "");
|
|
1061
1064
|
p && i.push(p);
|
|
1062
1065
|
}
|
|
@@ -1064,7 +1067,7 @@ function Sn(e, t) {
|
|
|
1064
1067
|
for (var l = 0; l < o; l++) {
|
|
1065
1068
|
var u = e.charAt(l), c, f;
|
|
1066
1069
|
if (a === !1 && u === "=") {
|
|
1067
|
-
a = e.slice(r, l), r = l + 1, n = e.charAt(r) === '"' || e.charAt(r) === "'" ? r :
|
|
1070
|
+
a = e.slice(r, l), r = l + 1, n = e.charAt(r) === '"' || e.charAt(r) === "'" ? r : $n(e, l + 1);
|
|
1068
1071
|
continue;
|
|
1069
1072
|
}
|
|
1070
1073
|
if (a !== !1 && l === n) {
|
|
@@ -1075,14 +1078,14 @@ function Sn(e, t) {
|
|
|
1075
1078
|
}
|
|
1076
1079
|
if (/\s|\n|\t/.test(u))
|
|
1077
1080
|
if (e = e.replace(/\s|\n|\t/g, " "), a === !1)
|
|
1078
|
-
if (f =
|
|
1081
|
+
if (f = Rn(e, l), f === -1) {
|
|
1079
1082
|
c = N.trim(e.slice(r, l)), s(c), a = !1, r = l + 1;
|
|
1080
1083
|
continue;
|
|
1081
1084
|
} else {
|
|
1082
1085
|
l = f - 1;
|
|
1083
1086
|
continue;
|
|
1084
1087
|
}
|
|
1085
|
-
else if (f =
|
|
1088
|
+
else if (f = Dn(e, l - 1), f === -1) {
|
|
1086
1089
|
c = N.trim(e.slice(r, l)), c = Ze(c), s(a, c), a = !1, r = l + 1;
|
|
1087
1090
|
continue;
|
|
1088
1091
|
} else
|
|
@@ -1090,40 +1093,40 @@ function Sn(e, t) {
|
|
|
1090
1093
|
}
|
|
1091
1094
|
return r < e.length && (a === !1 ? s(e.slice(r)) : s(a, Ze(N.trim(e.slice(r))))), N.trim(i.join(" "));
|
|
1092
1095
|
}
|
|
1093
|
-
function
|
|
1096
|
+
function Rn(e, t) {
|
|
1094
1097
|
for (; t < e.length; t++) {
|
|
1095
1098
|
var r = e[t];
|
|
1096
1099
|
if (r !== " ")
|
|
1097
1100
|
return r === "=" ? t : -1;
|
|
1098
1101
|
}
|
|
1099
1102
|
}
|
|
1100
|
-
function
|
|
1103
|
+
function $n(e, t) {
|
|
1101
1104
|
for (; t < e.length; t++) {
|
|
1102
1105
|
var r = e[t];
|
|
1103
1106
|
if (r !== " ")
|
|
1104
1107
|
return r === "'" || r === '"' ? t : -1;
|
|
1105
1108
|
}
|
|
1106
1109
|
}
|
|
1107
|
-
function
|
|
1110
|
+
function Dn(e, t) {
|
|
1108
1111
|
for (; t > 0; t--) {
|
|
1109
1112
|
var r = e[t];
|
|
1110
1113
|
if (r !== " ")
|
|
1111
1114
|
return r === "=" ? t : -1;
|
|
1112
1115
|
}
|
|
1113
1116
|
}
|
|
1114
|
-
function
|
|
1117
|
+
function Fn(e) {
|
|
1115
1118
|
return e[0] === '"' && e[e.length - 1] === '"' || e[0] === "'" && e[e.length - 1] === "'";
|
|
1116
1119
|
}
|
|
1117
1120
|
function Ze(e) {
|
|
1118
|
-
return
|
|
1121
|
+
return Fn(e) ? e.substr(1, e.length - 2) : e;
|
|
1119
1122
|
}
|
|
1120
|
-
we.parseTag =
|
|
1121
|
-
we.parseAttr =
|
|
1122
|
-
var
|
|
1123
|
+
we.parseTag = In;
|
|
1124
|
+
we.parseAttr = Pn;
|
|
1125
|
+
var Ln = ze.FilterCSS, M = C, Rt = we, jn = Rt.parseTag, Nn = Rt.parseAttr, ve = Be;
|
|
1123
1126
|
function le(e) {
|
|
1124
1127
|
return e == null;
|
|
1125
1128
|
}
|
|
1126
|
-
function
|
|
1129
|
+
function zn(e) {
|
|
1127
1130
|
var t = ve.spaceIndex(e);
|
|
1128
1131
|
if (t === -1)
|
|
1129
1132
|
return {
|
|
@@ -1137,13 +1140,13 @@ function Ln(e) {
|
|
|
1137
1140
|
closing: r
|
|
1138
1141
|
};
|
|
1139
1142
|
}
|
|
1140
|
-
function
|
|
1143
|
+
function Bn(e) {
|
|
1141
1144
|
var t = {};
|
|
1142
1145
|
for (var r in e)
|
|
1143
1146
|
t[r] = e[r];
|
|
1144
1147
|
return t;
|
|
1145
1148
|
}
|
|
1146
|
-
function
|
|
1149
|
+
function Vn(e) {
|
|
1147
1150
|
var t = {};
|
|
1148
1151
|
for (var r in e)
|
|
1149
1152
|
Array.isArray(e[r]) ? t[r.toLowerCase()] = e[r].map(function(n) {
|
|
@@ -1151,39 +1154,39 @@ function Nn(e) {
|
|
|
1151
1154
|
}) : t[r.toLowerCase()] = e[r];
|
|
1152
1155
|
return t;
|
|
1153
1156
|
}
|
|
1154
|
-
function
|
|
1155
|
-
e =
|
|
1157
|
+
function $t(e) {
|
|
1158
|
+
e = Bn(e || {}), e.stripIgnoreTag && (e.onIgnoreTag && console.error('Notes: cannot use these two options "stripIgnoreTag" and "onIgnoreTag" at the same time'), e.onIgnoreTag = M.onIgnoreTagStripAll), e.whiteList || e.allowList ? e.whiteList = Vn(e.whiteList || e.allowList) : e.whiteList = M.whiteList, e.onTag = e.onTag || M.onTag, e.onTagAttr = e.onTagAttr || M.onTagAttr, e.onIgnoreTag = e.onIgnoreTag || M.onIgnoreTag, e.onIgnoreTagAttr = e.onIgnoreTagAttr || M.onIgnoreTagAttr, e.safeAttrValue = e.safeAttrValue || M.safeAttrValue, e.escapeHtml = e.escapeHtml || M.escapeHtml, this.options = e, e.css === !1 ? this.cssFilter = !1 : (e.css = e.css || {}, this.cssFilter = new Ln(e.css));
|
|
1156
1159
|
}
|
|
1157
|
-
|
|
1160
|
+
$t.prototype.process = function(e) {
|
|
1158
1161
|
if (e = e || "", e = e.toString(), !e) return "";
|
|
1159
1162
|
var t = this, r = t.options, n = r.whiteList, i = r.onTag, a = r.onIgnoreTag, o = r.onTagAttr, s = r.onIgnoreTagAttr, l = r.safeAttrValue, u = r.escapeHtml, c = t.cssFilter;
|
|
1160
|
-
r.stripBlankChar && (e =
|
|
1163
|
+
r.stripBlankChar && (e = M.stripBlankChar(e)), r.allowCommentTag || (e = M.stripCommentTag(e));
|
|
1161
1164
|
var f = !1;
|
|
1162
|
-
r.stripIgnoreTagBody && (f =
|
|
1163
|
-
var d =
|
|
1165
|
+
r.stripIgnoreTagBody && (f = M.StripTagBody(r.stripIgnoreTagBody, a), a = f.onIgnoreTag);
|
|
1166
|
+
var d = jn(e, function(v, p, m, g, w) {
|
|
1164
1167
|
var b = {
|
|
1165
1168
|
sourcePosition: v,
|
|
1166
1169
|
position: p,
|
|
1167
1170
|
isClosing: w,
|
|
1168
1171
|
isWhite: Object.prototype.hasOwnProperty.call(n, m)
|
|
1169
|
-
},
|
|
1170
|
-
if (!le(
|
|
1172
|
+
}, E = i(m, g, b);
|
|
1173
|
+
if (!le(E)) return E;
|
|
1171
1174
|
if (b.isWhite) {
|
|
1172
1175
|
if (b.isClosing)
|
|
1173
1176
|
return "</" + m + ">";
|
|
1174
|
-
var y =
|
|
1175
|
-
var
|
|
1176
|
-
return le(
|
|
1177
|
+
var y = zn(g), x = n[m], T = Nn(y.html, function(A, S) {
|
|
1178
|
+
var P = ve.indexOf(x, A) !== -1, F = o(m, A, S, P);
|
|
1179
|
+
return le(F) ? P ? (S = l(m, A, S, c), S ? A + '="' + S + '"' : A) : (F = s(m, A, S, P), le(F) ? void 0 : F) : F;
|
|
1177
1180
|
});
|
|
1178
|
-
return g = "<" + m,
|
|
1181
|
+
return g = "<" + m, T && (g += " " + T), y.closing && (g += " /"), g += ">", g;
|
|
1179
1182
|
} else
|
|
1180
|
-
return
|
|
1183
|
+
return E = a(m, g, b), le(E) ? u(g) : E;
|
|
1181
1184
|
}, u);
|
|
1182
1185
|
return f && (d = f.remove(d)), d;
|
|
1183
1186
|
};
|
|
1184
|
-
var
|
|
1187
|
+
var Wn = $t;
|
|
1185
1188
|
(function(e, t) {
|
|
1186
|
-
var r = C, n = we, i =
|
|
1189
|
+
var r = C, n = we, i = Wn;
|
|
1187
1190
|
function a(s, l) {
|
|
1188
1191
|
var u = new i(l);
|
|
1189
1192
|
return u.process(s);
|
|
@@ -1199,7 +1202,7 @@ var zn = Rt;
|
|
|
1199
1202
|
}
|
|
1200
1203
|
o() && (self.filterXSS = e.exports);
|
|
1201
1204
|
})(Ie, Ie.exports);
|
|
1202
|
-
var Pe = Ie.exports,
|
|
1205
|
+
var Pe = Ie.exports, Re = {
|
|
1203
1206
|
html: {
|
|
1204
1207
|
whiteList: {
|
|
1205
1208
|
a: ["class", "style", "contenteditable", "data-id", "data-title", "data-size", "href", "data-last-modified"],
|
|
@@ -1273,26 +1276,26 @@ var Pe = Ie.exports, $e = {
|
|
|
1273
1276
|
video: ["class", "style"]
|
|
1274
1277
|
}
|
|
1275
1278
|
}
|
|
1276
|
-
},
|
|
1277
|
-
|
|
1278
|
-
new Pe.FilterXSS(
|
|
1279
|
-
var
|
|
1280
|
-
|
|
1281
|
-
var
|
|
1279
|
+
}, Un = Pe.getDefaultWhiteList && Pe.getDefaultWhiteList() || {};
|
|
1280
|
+
Re.html.whiteList = Object.assign(Un, Re.html.whiteList);
|
|
1281
|
+
new Pe.FilterXSS(Re.html);
|
|
1282
|
+
var Gn = Object.prototype.hasOwnProperty, Hn = Gn.toString;
|
|
1283
|
+
Hn.call(Object);
|
|
1284
|
+
var _ = typeof window > "u", qn = function() {
|
|
1282
1285
|
var t = 8;
|
|
1283
1286
|
return document.addEventListener && window.performance && (t = 9, window.atob && window.matchMedia && (t = 10, !window.attachEvent && !document.all && (t = 11))), t;
|
|
1284
|
-
},
|
|
1287
|
+
}, Kn = function(t) {
|
|
1285
1288
|
t.chrome && ~navigator.userAgent.indexOf("Edg") ? (t.name = "edge", t.edge = !0, delete t.chrome) : !document.documentMode && window.StyleMedia && (t.name = "edge", t.edge = !0);
|
|
1286
1289
|
};
|
|
1287
1290
|
(function() {
|
|
1288
|
-
if (
|
|
1291
|
+
if (_) return null;
|
|
1289
1292
|
var e = {
|
|
1290
1293
|
name: "",
|
|
1291
1294
|
version: 0,
|
|
1292
1295
|
isDoc: typeof document < "u",
|
|
1293
1296
|
isMobile: !1,
|
|
1294
1297
|
isPC: !0,
|
|
1295
|
-
isNode:
|
|
1298
|
+
isNode: _,
|
|
1296
1299
|
chrome: !1,
|
|
1297
1300
|
ie: !1,
|
|
1298
1301
|
firefox: !1,
|
|
@@ -1302,7 +1305,7 @@ var T = typeof window > "u", Un = function() {
|
|
|
1302
1305
|
}, t = /(Android|webOS|iPhone|iPad|iPod|SymbianOS|BlackBerry|Windows Phone)/.test(navigator.userAgent);
|
|
1303
1306
|
e.isMobile = t, e.isPC = !t;
|
|
1304
1307
|
var r;
|
|
1305
|
-
if (window.chrome && (window.chrome.webstore || /^Google\b/.test(window.navigator.vendor)) ? (e.name = "chrome", e.chrome = !0, r = navigator.userAgent.match(/chrome\/(\d+)/i), e.version = !!r && !!r[1] && parseInt(r[1], 10), r = void 0) : document.all || document.documentMode ? (e.name = "ie", e.version =
|
|
1308
|
+
if (window.chrome && (window.chrome.webstore || /^Google\b/.test(window.navigator.vendor)) ? (e.name = "chrome", e.chrome = !0, r = navigator.userAgent.match(/chrome\/(\d+)/i), e.version = !!r && !!r[1] && parseInt(r[1], 10), r = void 0) : document.all || document.documentMode ? (e.name = "ie", e.version = qn(), e.ie = !0) : typeof window.InstallTrigger < "u" ? (e.name = "firefox", e.firefox = !0) : Object.prototype.toString.call(window.HTMLElement).indexOf("Constructor") > 0 ? (e.name = "safari", e.safari = !0) : (window.opr && window.opr.addons || window.opera) && (e.name = "opera", e.opera = !0), Kn(e), !~["ie", "chrome"].indexOf(e.name)) {
|
|
1306
1309
|
var n = e.name + "/(\\d+)";
|
|
1307
1310
|
r = navigator.userAgent.match(new RegExp(n, "i")), e.version = !!r && !!r[1] && parseInt(r[1], 10), r = void 0;
|
|
1308
1311
|
}
|
|
@@ -1379,28 +1382,28 @@ var H = function(t, r, n) {
|
|
|
1379
1382
|
}
|
|
1380
1383
|
}, t;
|
|
1381
1384
|
}();
|
|
1382
|
-
}(),
|
|
1385
|
+
}(), Xn = globalThis.Function, he = function() {
|
|
1383
1386
|
var e = function(r) {
|
|
1384
1387
|
return r.Math === Math;
|
|
1385
1388
|
};
|
|
1386
|
-
return typeof global < "u" && e(global) ? global : typeof self < "u" && e(self) ? self : typeof window < "u" && e(window) ? window :
|
|
1387
|
-
}(),
|
|
1389
|
+
return typeof global < "u" && e(global) ? global : typeof self < "u" && e(self) ? self : typeof window < "u" && e(window) ? window : Xn("return this")();
|
|
1390
|
+
}(), Yn = function() {
|
|
1388
1391
|
return typeof requestAnimationFrame == "function" ? requestAnimationFrame.bind(he) : function(e) {
|
|
1389
1392
|
return setTimeout(function() {
|
|
1390
1393
|
return e(Date.now());
|
|
1391
1394
|
}, 1e3 / 60);
|
|
1392
1395
|
};
|
|
1393
|
-
}(),
|
|
1394
|
-
function
|
|
1396
|
+
}(), Qn = 2;
|
|
1397
|
+
function Zn(e, t) {
|
|
1395
1398
|
var r = !1, n = !1, i = 0, a, o = function() {
|
|
1396
1399
|
r && (r = !1, e()), n && a();
|
|
1397
1400
|
}, s = function() {
|
|
1398
|
-
|
|
1401
|
+
Yn(o);
|
|
1399
1402
|
};
|
|
1400
1403
|
return a = function() {
|
|
1401
1404
|
var u = Date.now();
|
|
1402
1405
|
if (r) {
|
|
1403
|
-
if (u - i <
|
|
1406
|
+
if (u - i < Qn)
|
|
1404
1407
|
return;
|
|
1405
1408
|
n = !0;
|
|
1406
1409
|
} else
|
|
@@ -1408,9 +1411,9 @@ function Xn(e, t) {
|
|
|
1408
1411
|
i = u;
|
|
1409
1412
|
}, a;
|
|
1410
1413
|
}
|
|
1411
|
-
var
|
|
1414
|
+
var Jn = 20, ei = ["top", "right", "bottom", "left", "width", "height", "size", "weight"], ti = typeof MutationObserver < "u", ri = function() {
|
|
1412
1415
|
function e() {
|
|
1413
|
-
this.observers_ = [], this.connected_ = !1, this.mutationEventsAdded_ = !1, this.mutationsObserver_ = null, this.onTransitionEnd_ = this.onTransitionEnd_.bind(this), this.refresh =
|
|
1416
|
+
this.observers_ = [], this.connected_ = !1, this.mutationEventsAdded_ = !1, this.mutationsObserver_ = null, this.onTransitionEnd_ = this.onTransitionEnd_.bind(this), this.refresh = Zn(this.refresh.bind(this), Jn);
|
|
1414
1417
|
}
|
|
1415
1418
|
return e.prototype.addObserver = function(t) {
|
|
1416
1419
|
!~this.observers_.indexOf(t) && this.observers_.push(t), !this.connected_ && this.connect_();
|
|
@@ -1428,8 +1431,8 @@ var Yn = 20, Qn = ["top", "right", "bottom", "left", "width", "height", "size",
|
|
|
1428
1431
|
return r.broadcastActive();
|
|
1429
1432
|
}), t.length > 0;
|
|
1430
1433
|
}, e.prototype.connect_ = function() {
|
|
1431
|
-
if (!(
|
|
1432
|
-
if (H(document, "transitionend", this.onTransitionEnd_), H(window, "resize", this.refresh),
|
|
1434
|
+
if (!(_ || this.connected_)) {
|
|
1435
|
+
if (H(document, "transitionend", this.onTransitionEnd_), H(window, "resize", this.refresh), ti) {
|
|
1433
1436
|
this.mutationsObserver_ = new MutationObserver(this.refresh);
|
|
1434
1437
|
var t = {
|
|
1435
1438
|
attributes: !0,
|
|
@@ -1443,9 +1446,9 @@ var Yn = 20, Qn = ["top", "right", "bottom", "left", "width", "height", "size",
|
|
|
1443
1446
|
this.connected_ = !0;
|
|
1444
1447
|
}
|
|
1445
1448
|
}, e.prototype.disconnect_ = function() {
|
|
1446
|
-
|
|
1449
|
+
_ || !this.connected_ || (pe(document, "transitionend", this.onTransitionEnd_), pe(window, "resize", this.refresh), this.mutationsObserver_ && this.mutationsObserver_.disconnect(), this.mutationEventsAdded_ && pe(document, "DOMSubtreeModified", this.refresh), this.mutationsObserver_ = null, this.mutationEventsAdded_ = !1, this.connected_ = !1);
|
|
1447
1450
|
}, e.prototype.onTransitionEnd_ = function(t) {
|
|
1448
|
-
var r = t.propertyName, n = r === void 0 ? "" : r, i =
|
|
1451
|
+
var r = t.propertyName, n = r === void 0 ? "" : r, i = ei.some(function(a) {
|
|
1449
1452
|
return !!~n.indexOf(a);
|
|
1450
1453
|
});
|
|
1451
1454
|
i && this.refresh();
|
|
@@ -1482,36 +1485,36 @@ var Yn = 20, Qn = ["top", "right", "bottom", "left", "width", "height", "size",
|
|
|
1482
1485
|
var o = t["border-".concat(a, "-width")];
|
|
1483
1486
|
return i + ye(o);
|
|
1484
1487
|
}, 0);
|
|
1485
|
-
},
|
|
1488
|
+
}, ni = function(t) {
|
|
1486
1489
|
for (var r = ["top", "right", "bottom", "left"], n = {}, i = 0, a = r; i < a.length; i++) {
|
|
1487
1490
|
var o = a[i], s = t["padding-".concat(o)];
|
|
1488
1491
|
n[o] = ye(s);
|
|
1489
1492
|
}
|
|
1490
1493
|
return n;
|
|
1491
|
-
},
|
|
1494
|
+
}, ii = function(t) {
|
|
1492
1495
|
var r = t.getBBox();
|
|
1493
1496
|
return Ce(0, 0, r.width, r.height);
|
|
1494
|
-
},
|
|
1497
|
+
}, ai = function(t) {
|
|
1495
1498
|
return t === K(t).document.documentElement;
|
|
1496
|
-
},
|
|
1499
|
+
}, oi = function(t) {
|
|
1497
1500
|
var r = t.clientWidth, n = t.clientHeight;
|
|
1498
1501
|
if (!n && !r)
|
|
1499
1502
|
return Lt;
|
|
1500
|
-
var i = K(t).getComputedStyle(t), a =
|
|
1501
|
-
if (i.boxSizing === "border-box" && (Math.round(u + o) !== n && (u -= Je(i, "top", "bottom") + o), Math.round(l + s) !== r && (l -= Je(i, "left", "right") + s)), !
|
|
1503
|
+
var i = K(t).getComputedStyle(t), a = ni(i), o = a.top + a.bottom, s = a.left + a.right, l = ye(i.width), u = ye(i.height);
|
|
1504
|
+
if (i.boxSizing === "border-box" && (Math.round(u + o) !== n && (u -= Je(i, "top", "bottom") + o), Math.round(l + s) !== r && (l -= Je(i, "left", "right") + s)), !ai(t)) {
|
|
1502
1505
|
var c = Math.round(u + o) - n, f = Math.round(l + s) - r;
|
|
1503
1506
|
Math.abs(c) !== 1 && (u -= c), Math.abs(f) !== 1 && (l -= f);
|
|
1504
1507
|
}
|
|
1505
1508
|
return Ce(a.left, a.top, l, u);
|
|
1506
|
-
},
|
|
1509
|
+
}, si = /* @__PURE__ */ function() {
|
|
1507
1510
|
return typeof SVGGraphicsElement < "u" ? function(e) {
|
|
1508
1511
|
return e instanceof K(e).SVGGraphicsElement;
|
|
1509
1512
|
} : function(e) {
|
|
1510
1513
|
return e instanceof K(e).SVGElement && typeof e.getBBox == "function";
|
|
1511
1514
|
};
|
|
1512
|
-
}(),
|
|
1513
|
-
return
|
|
1514
|
-
},
|
|
1515
|
+
}(), li = function(t) {
|
|
1516
|
+
return _ ? Lt : si(t) ? ii(t) : oi(t);
|
|
1517
|
+
}, ui = function(t) {
|
|
1515
1518
|
var r = t.x, n = t.y, i = t.width, a = t.height, o = typeof DOMRectReadOnly < "u" ? DOMRectReadOnly : Object, s = Object.create(o.prototype);
|
|
1516
1519
|
return Ft(s, {
|
|
1517
1520
|
x: r,
|
|
@@ -1523,7 +1526,7 @@ var Yn = 20, Qn = ["top", "right", "bottom", "left", "width", "height", "size",
|
|
|
1523
1526
|
bottom: a + n,
|
|
1524
1527
|
left: r
|
|
1525
1528
|
}), s;
|
|
1526
|
-
},
|
|
1529
|
+
}, fi = function() {
|
|
1527
1530
|
function e(t) {
|
|
1528
1531
|
this.broadcastWidth = 0, this.broadcastHeight = 0, this.contentRect_ = Ce(0, 0, 0, 0), this.target = t;
|
|
1529
1532
|
}
|
|
@@ -1531,19 +1534,19 @@ var Yn = 20, Qn = ["top", "right", "bottom", "left", "width", "height", "size",
|
|
|
1531
1534
|
var t = this.contentRect_;
|
|
1532
1535
|
return this.broadcastWidth = t.width, this.broadcastHeight = t.height, t;
|
|
1533
1536
|
}, e.prototype.isActive = function() {
|
|
1534
|
-
var t =
|
|
1537
|
+
var t = li(this.target);
|
|
1535
1538
|
return this.contentRect_ = t, t.width !== this.broadcastWidth || t.height !== this.broadcastHeight;
|
|
1536
1539
|
}, e;
|
|
1537
|
-
}(),
|
|
1540
|
+
}(), ci = /* @__PURE__ */ function() {
|
|
1538
1541
|
function e(t, r) {
|
|
1539
|
-
var n =
|
|
1542
|
+
var n = ui(r);
|
|
1540
1543
|
Ft(this, {
|
|
1541
1544
|
target: t,
|
|
1542
1545
|
contentRect: n
|
|
1543
1546
|
});
|
|
1544
1547
|
}
|
|
1545
1548
|
return e;
|
|
1546
|
-
}(),
|
|
1549
|
+
}(), di = function() {
|
|
1547
1550
|
function e(t, r, n) {
|
|
1548
1551
|
if (this.observations_ = new Dt(), this.activeObservations_ = [], typeof t != "function")
|
|
1549
1552
|
throw new TypeError("[TINY-Resize] The callback provided as parameter 1 is not a function.");
|
|
@@ -1556,7 +1559,7 @@ var Yn = 20, Qn = ["top", "right", "bottom", "left", "width", "height", "size",
|
|
|
1556
1559
|
if (!(t instanceof K(t).Element))
|
|
1557
1560
|
throw new TypeError('[TINY-Resize] parameter 1 is not of type "Element".');
|
|
1558
1561
|
var r = this.observations_;
|
|
1559
|
-
r.has(t) || (r.set(t, new
|
|
1562
|
+
r.has(t) || (r.set(t, new fi(t)), this.controller_.addObserver(this), this.controller_.refresh());
|
|
1560
1563
|
}
|
|
1561
1564
|
}, e.prototype.unobserve = function(t) {
|
|
1562
1565
|
if (!arguments.length)
|
|
@@ -1577,7 +1580,7 @@ var Yn = 20, Qn = ["top", "right", "bottom", "left", "width", "height", "size",
|
|
|
1577
1580
|
}, e.prototype.broadcastActive = function() {
|
|
1578
1581
|
if (this.hasActive()) {
|
|
1579
1582
|
var t = this.callbackCtx_, r = this.activeObservations_.map(function(n) {
|
|
1580
|
-
return new
|
|
1583
|
+
return new ci(n.target, n.broadcastRect());
|
|
1581
1584
|
});
|
|
1582
1585
|
this.callback_.call(t, r, t), this.clearActive();
|
|
1583
1586
|
}
|
|
@@ -1592,7 +1595,7 @@ var Yn = 20, Qn = ["top", "right", "bottom", "left", "width", "height", "size",
|
|
|
1592
1595
|
throw new TypeError("[TINY-Resize] Cannot call a class as a function.");
|
|
1593
1596
|
if (!arguments.length)
|
|
1594
1597
|
throw new TypeError("[TINY-Resize] 1 argument required, but only 0 present.");
|
|
1595
|
-
var r =
|
|
1598
|
+
var r = ri.getInstance(), n = new di(t, r, this);
|
|
1596
1599
|
jt.set(this, n);
|
|
1597
1600
|
}
|
|
1598
1601
|
return e;
|
|
@@ -1606,13 +1609,13 @@ var Yn = 20, Qn = ["top", "right", "bottom", "left", "width", "height", "size",
|
|
|
1606
1609
|
(function() {
|
|
1607
1610
|
return typeof he.ResizeObserver < "u" ? he.ResizeObserver : Nt;
|
|
1608
1611
|
})();
|
|
1609
|
-
var
|
|
1610
|
-
|
|
1611
|
-
function
|
|
1612
|
-
return !
|
|
1612
|
+
var vi = "tcirzywvqlkjhgfbZQG_FLOWHSUBDNIMYREVKCAJxp57XP043891T62-modnaesu";
|
|
1613
|
+
vi.split("").reverse().join("");
|
|
1614
|
+
function pi(e) {
|
|
1615
|
+
return !_ && (e.document.all || e.document.documentMode) && !e.crypto && e.msCrypto;
|
|
1613
1616
|
}
|
|
1614
|
-
function
|
|
1615
|
-
if (
|
|
1617
|
+
function gi(e) {
|
|
1618
|
+
if (pi(e)) {
|
|
1616
1619
|
e.crypto = e.msCrypto;
|
|
1617
1620
|
var t = e.crypto.getRandomValues;
|
|
1618
1621
|
e.crypto.getRandomValues = function(r) {
|
|
@@ -1622,16 +1625,16 @@ function di(e) {
|
|
|
1622
1625
|
};
|
|
1623
1626
|
}
|
|
1624
1627
|
}
|
|
1625
|
-
var
|
|
1626
|
-
|
|
1627
|
-
var
|
|
1628
|
-
[].concat(de(
|
|
1629
|
-
var
|
|
1628
|
+
var mi = globalThis;
|
|
1629
|
+
gi(mi);
|
|
1630
|
+
var hi = "-12:00,-11:00,-10:00,-09:30,-08:00,-07:00,-06:00,-05:00,-04:30,-04:00,-03:30,-02:00,-01:00", yi = "-00:00,+00:00,+01:00,+02:00,+03:00,+03:30,+04:00,+04:30,+05:00,+05:30,+05:45,+06:00", bi = "+06:30,+07:00,+08:00,+09:00,+10:00,+10:30,+11:00,+11:30,+12:00,+12:45,+13:00,+14:00";
|
|
1631
|
+
[].concat(de(hi.split(",")), de(yi.split(",")), de(bi.split(",")));
|
|
1632
|
+
var wi = {
|
|
1630
1633
|
Escape: 27
|
|
1631
1634
|
}, zt = {
|
|
1632
1635
|
fullMonths: "January,February,March,April,May,June,July,August,September,October,November,December".split(","),
|
|
1633
1636
|
fullWeeks: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"]
|
|
1634
|
-
}, Ve = ["\\d\\d?", "\\d{3}", "\\d{4}"], j = Ve[0],
|
|
1637
|
+
}, Ve = ["\\d\\d?", "\\d{3}", "\\d{4}"], j = Ve[0], Ci = Ve[1], xi = Ve[2], J = "[^\\s]+", et = function() {
|
|
1635
1638
|
}, Bt = function(t, r) {
|
|
1636
1639
|
for (var n = [], i = 0, a = t.length; i < a; i++)
|
|
1637
1640
|
n.push(t[i].substr(0, r));
|
|
@@ -1641,9 +1644,9 @@ var hi = {
|
|
|
1641
1644
|
var a = i[t].indexOf(n.charAt(0).toUpperCase() + n.substr(1).toLowerCase());
|
|
1642
1645
|
~a && (r.month = a);
|
|
1643
1646
|
};
|
|
1644
|
-
},
|
|
1645
|
-
Bt(
|
|
1646
|
-
Bt(
|
|
1647
|
+
}, Ai = zt.fullWeeks, Ei = zt.fullMonths;
|
|
1648
|
+
Bt(Ei, 3);
|
|
1649
|
+
Bt(Ai, 3);
|
|
1647
1650
|
var G = {
|
|
1648
1651
|
d: [j, function(e, t) {
|
|
1649
1652
|
e.day = t;
|
|
@@ -1667,7 +1670,7 @@ var G = {
|
|
|
1667
1670
|
s: [j, function(e, t) {
|
|
1668
1671
|
e.second = t;
|
|
1669
1672
|
}],
|
|
1670
|
-
yyyy: [
|
|
1673
|
+
yyyy: [xi, function(e, t) {
|
|
1671
1674
|
e.year = t;
|
|
1672
1675
|
}],
|
|
1673
1676
|
S: ["\\d", function(e, t) {
|
|
@@ -1676,7 +1679,7 @@ var G = {
|
|
|
1676
1679
|
SS: ["\\d{2}", function(e, t) {
|
|
1677
1680
|
e.millisecond = t * 10;
|
|
1678
1681
|
}],
|
|
1679
|
-
SSS: [
|
|
1682
|
+
SSS: [Ci, function(e, t) {
|
|
1680
1683
|
e.millisecond = t;
|
|
1681
1684
|
}],
|
|
1682
1685
|
D: [j, et],
|
|
@@ -1691,28 +1694,28 @@ var G = {
|
|
|
1691
1694
|
var r = String(t).match(/([+-]|\d\d)/gi), n;
|
|
1692
1695
|
r && (n = Number(r[1] * 60) + parseInt(r[2], 10), e.timezoneOffset = r[0] === "+" ? n : -n);
|
|
1693
1696
|
}]
|
|
1694
|
-
},
|
|
1697
|
+
}, Oi = ["A", "DD", "dd", "mm", "hh", "MM", "ss", "hh", "H", "HH"];
|
|
1695
1698
|
G.dddd = G.ddd;
|
|
1696
|
-
|
|
1699
|
+
Oi.forEach(function(e) {
|
|
1697
1700
|
e === "MM" ? G[e] = G[e.substr(0, 1)] : G[e] = G[e.substr(0, 1).toLowerCase()];
|
|
1698
1701
|
});
|
|
1699
|
-
var
|
|
1700
|
-
},
|
|
1701
|
-
return
|
|
1702
|
+
var _i = function() {
|
|
1703
|
+
}, Ti = function() {
|
|
1704
|
+
return _ ? function(e) {
|
|
1702
1705
|
setTimeout(function() {
|
|
1703
1706
|
return e(Date.now());
|
|
1704
1707
|
}, 1e3 / 60);
|
|
1705
1708
|
} : window.requestAnimationFrame.bind(window);
|
|
1706
|
-
}(),
|
|
1707
|
-
t.scheduled || (t.scheduled = !0, t.raf(
|
|
1708
|
-
},
|
|
1709
|
+
}(), $e = function(t) {
|
|
1710
|
+
t.scheduled || (t.scheduled = !0, t.raf(ki.bind(null, t)));
|
|
1711
|
+
}, ki = function(t) {
|
|
1709
1712
|
var r = t.reads, n = t.writes, i;
|
|
1710
1713
|
try {
|
|
1711
1714
|
t.runTasks(r), t.runTasks(n);
|
|
1712
1715
|
} catch (a) {
|
|
1713
1716
|
i = a;
|
|
1714
1717
|
}
|
|
1715
|
-
if (t.scheduled = !1, (r.length || n.length) &&
|
|
1718
|
+
if (t.scheduled = !1, (r.length || n.length) && $e(t), i)
|
|
1716
1719
|
if (t.catch)
|
|
1717
1720
|
t.catch(i);
|
|
1718
1721
|
else
|
|
@@ -1720,12 +1723,12 @@ var Ai = function() {
|
|
|
1720
1723
|
}, rt = function(t, r) {
|
|
1721
1724
|
var n = t.indexOf(r);
|
|
1722
1725
|
return !!~n && !!t.splice(n, 1);
|
|
1723
|
-
},
|
|
1726
|
+
}, Si = function(t, r) {
|
|
1724
1727
|
for (var n in r)
|
|
1725
1728
|
Object.hasOwnProperty.call(r, n) && (t[n] = r[n]);
|
|
1726
|
-
},
|
|
1729
|
+
}, Ii = /* @__PURE__ */ function() {
|
|
1727
1730
|
function e() {
|
|
1728
|
-
lt(this, e), this.reads = [], this.writes = [], this.raf =
|
|
1731
|
+
lt(this, e), this.reads = [], this.writes = [], this.raf = Ti.bind(window);
|
|
1729
1732
|
}
|
|
1730
1733
|
return ut(e, [{
|
|
1731
1734
|
key: "runTasks",
|
|
@@ -1736,13 +1739,13 @@ var Ai = function() {
|
|
|
1736
1739
|
key: "measure",
|
|
1737
1740
|
value: function(r, n) {
|
|
1738
1741
|
var i = n ? r.bind(n) : r;
|
|
1739
|
-
return this.reads.push(i),
|
|
1742
|
+
return this.reads.push(i), $e(this), i;
|
|
1740
1743
|
}
|
|
1741
1744
|
}, {
|
|
1742
1745
|
key: "mutate",
|
|
1743
1746
|
value: function(r, n) {
|
|
1744
1747
|
var i = n ? r.bind(n) : r;
|
|
1745
|
-
return this.writes.push(i),
|
|
1748
|
+
return this.writes.push(i), $e(this), i;
|
|
1746
1749
|
}
|
|
1747
1750
|
}, {
|
|
1748
1751
|
key: "clear",
|
|
@@ -1754,10 +1757,10 @@ var Ai = function() {
|
|
|
1754
1757
|
value: function(r) {
|
|
1755
1758
|
if (!r || z(r) !== "object") throw new Error("[TINY][FastDom] expected object");
|
|
1756
1759
|
var n = Object.create(this);
|
|
1757
|
-
return
|
|
1760
|
+
return Si(n, r), n.fastdom = this, n.initialize && n.initialize(), n;
|
|
1758
1761
|
}
|
|
1759
1762
|
}]);
|
|
1760
|
-
}(), Vt = new
|
|
1763
|
+
}(), Vt = new Ii(), nt = function(t, r, n, i) {
|
|
1761
1764
|
var a = t._tasks, o = t.fastdom, s, l = new Promise(function(u, c) {
|
|
1762
1765
|
s = o[r](function() {
|
|
1763
1766
|
a.delete(l);
|
|
@@ -1769,7 +1772,7 @@ var Ai = function() {
|
|
|
1769
1772
|
}, i);
|
|
1770
1773
|
});
|
|
1771
1774
|
return a.set(l, s), l;
|
|
1772
|
-
},
|
|
1775
|
+
}, Mi = {
|
|
1773
1776
|
initialize: function() {
|
|
1774
1777
|
this._tasks = /* @__PURE__ */ new Map();
|
|
1775
1778
|
},
|
|
@@ -1784,14 +1787,14 @@ var Ai = function() {
|
|
|
1784
1787
|
this.fastdom.clear(n), r.delete(t);
|
|
1785
1788
|
}
|
|
1786
1789
|
};
|
|
1787
|
-
Vt.extend(
|
|
1788
|
-
var
|
|
1790
|
+
Vt.extend(Mi);
|
|
1791
|
+
var Pi = function(t, r) {
|
|
1789
1792
|
for (var n = r.length; n--; )
|
|
1790
1793
|
t.clear(r[n]), r.splice(n, 1);
|
|
1791
|
-
},
|
|
1794
|
+
}, Ri = function(t, r) {
|
|
1792
1795
|
var n = t.indexOf(r);
|
|
1793
1796
|
return !!~n && !!t.splice(n, 1);
|
|
1794
|
-
},
|
|
1797
|
+
}, $i = /* @__PURE__ */ function() {
|
|
1795
1798
|
function e(t) {
|
|
1796
1799
|
lt(this, e), this.fastdom = t, this.tasks = [];
|
|
1797
1800
|
}
|
|
@@ -1814,17 +1817,17 @@ var Si = function(t, r) {
|
|
|
1814
1817
|
}, {
|
|
1815
1818
|
key: "clear",
|
|
1816
1819
|
value: function(r) {
|
|
1817
|
-
return arguments.length ||
|
|
1820
|
+
return arguments.length || Pi(this.fastdom, this.tasks), Ri(this.tasks, r), this.fastdom.clear(r);
|
|
1818
1821
|
}
|
|
1819
1822
|
}]);
|
|
1820
|
-
}(),
|
|
1823
|
+
}(), Di = {
|
|
1821
1824
|
sandbox: function() {
|
|
1822
|
-
return new
|
|
1825
|
+
return new $i(this.fastdom);
|
|
1823
1826
|
}
|
|
1824
1827
|
};
|
|
1825
|
-
Vt.extend(
|
|
1826
|
-
var
|
|
1827
|
-
if (!
|
|
1828
|
+
Vt.extend(Di);
|
|
1829
|
+
var Fi = ["fullscreenElement", "fullscreenEnabled", "requestFullscreen", "exitFullscreen", "fullscreenchange", "fullscreenerror"], Li = ["mozFullScreenElement", "mozFullScreenEnabled", "mozRequestFullScreen", "mozCancelFullScreen", "mozfullscreenchange", "mozfullscreenerror"], ji = ["webkitFullscreenElement", "webkitFullscreenEnabled", "webkitRequestFullscreen", "webkitExitFullscreen", "webkitfullscreenchange", "webkitfullscreenerror"], Ni = ["msFullscreenElement", "msFullscreenEnabled", "msRequestFullscreen", "msExitFullscreen", "MSFullscreenChange", "MSFullscreenError"], Ae = [Fi, ji, Li, Ni], R = typeof window < "u" && typeof window.document < "u" ? window.document : {}, O = null, zi = function() {
|
|
1830
|
+
if (!_)
|
|
1828
1831
|
for (var t = 0, r = Ae.length; t < r; t++) {
|
|
1829
1832
|
var n = Ae[t];
|
|
1830
1833
|
if (n && n[1] in R) {
|
|
@@ -1834,7 +1837,7 @@ var $i = ["fullscreenElement", "fullscreenEnabled", "requestFullscreen", "exitFu
|
|
|
1834
1837
|
}
|
|
1835
1838
|
}
|
|
1836
1839
|
};
|
|
1837
|
-
|
|
1840
|
+
zi();
|
|
1838
1841
|
var it = {
|
|
1839
1842
|
change: O && O.fullscreenchange,
|
|
1840
1843
|
error: O && O.fullscreenerror
|
|
@@ -1845,7 +1848,7 @@ var it = {
|
|
|
1845
1848
|
var o = function() {
|
|
1846
1849
|
n.off("change", o), i();
|
|
1847
1850
|
};
|
|
1848
|
-
if (n.on("change", o), t = t || (
|
|
1851
|
+
if (n.on("change", o), t = t || (_ ? null : R.documentElement), t && O && t[O.requestFullscreen]) {
|
|
1849
1852
|
var s = t[O.requestFullscreen](r);
|
|
1850
1853
|
s instanceof Promise && s.then(o).catch(a);
|
|
1851
1854
|
} else
|
|
@@ -1862,7 +1865,7 @@ var it = {
|
|
|
1862
1865
|
var i = function() {
|
|
1863
1866
|
t.off("change", i), r();
|
|
1864
1867
|
};
|
|
1865
|
-
if (t.on("change", i), !
|
|
1868
|
+
if (t.on("change", i), !_ && O && R[O.exitFullscreen]) {
|
|
1866
1869
|
var a = R[O.exitFullscreen]();
|
|
1867
1870
|
a instanceof Promise && a.then(i).catch(n);
|
|
1868
1871
|
} else
|
|
@@ -1880,15 +1883,15 @@ var it = {
|
|
|
1880
1883
|
},
|
|
1881
1884
|
on: function(t, r) {
|
|
1882
1885
|
var n = it[t];
|
|
1883
|
-
n && !
|
|
1886
|
+
n && !_ && H(R, n, r);
|
|
1884
1887
|
},
|
|
1885
1888
|
off: function(t, r) {
|
|
1886
1889
|
var n = it[t];
|
|
1887
|
-
n && !
|
|
1890
|
+
n && !_ && pe(R, n, r);
|
|
1888
1891
|
},
|
|
1889
1892
|
raw: O || {}
|
|
1890
1893
|
};
|
|
1891
|
-
|
|
1894
|
+
_ ? Object.defineProperties(De, {
|
|
1892
1895
|
isFullscreen: {
|
|
1893
1896
|
get: function() {
|
|
1894
1897
|
return !1;
|
|
@@ -1926,7 +1929,7 @@ T ? Object.defineProperties(De, {
|
|
|
1926
1929
|
}
|
|
1927
1930
|
});
|
|
1928
1931
|
De.isEnabled;
|
|
1929
|
-
function
|
|
1932
|
+
function Bi(e, t, r, n) {
|
|
1930
1933
|
var i, a = 0;
|
|
1931
1934
|
typeof t != "boolean" && (n = r, r = t, t = void 0);
|
|
1932
1935
|
function o() {
|
|
@@ -1946,19 +1949,19 @@ function ji(e, t, r, n) {
|
|
|
1946
1949
|
}
|
|
1947
1950
|
return o._cancel = s, o;
|
|
1948
1951
|
}
|
|
1949
|
-
function
|
|
1950
|
-
return
|
|
1952
|
+
function Vi(e, t, r) {
|
|
1953
|
+
return Bi(e, t, !1);
|
|
1951
1954
|
}
|
|
1952
|
-
var V = null,
|
|
1955
|
+
var V = null, Wi = "ws://localhost", at = [27197, 27198, 27199], Ee = 0, W, Wt = 1e3, Ut = 3e4, Ui = 0, We = {}, Gt, Gi = 20 * 1e3, ot = null, Ht = null, Fe = {}, qt = {}, k = {}, Kt = function() {
|
|
1953
1956
|
}, Xt = function() {
|
|
1954
1957
|
}, Yt = function(t) {
|
|
1955
1958
|
clearTimeout(Fe[t]), delete We[t], delete Fe[t];
|
|
1956
|
-
},
|
|
1959
|
+
}, Hi = function() {
|
|
1957
1960
|
Ht = setTimeout(function() {
|
|
1958
1961
|
V.close();
|
|
1959
1962
|
}, 5e3);
|
|
1960
|
-
},
|
|
1961
|
-
var n =
|
|
1963
|
+
}, D = function(t, r) {
|
|
1964
|
+
var n = Ui++;
|
|
1962
1965
|
if (n = String(n), t.cid = n, !W) {
|
|
1963
1966
|
r && setTimeout(r, 0, {
|
|
1964
1967
|
ok: !1,
|
|
@@ -1974,15 +1977,15 @@ var V = null, zi = "ws://localhost", at = [27197, 27198, 27199], Ee = 0, W, Wt =
|
|
|
1974
1977
|
}, Ut)), V.send(JSON.stringify(t));
|
|
1975
1978
|
}, Qt = function() {
|
|
1976
1979
|
ot = setTimeout(function() {
|
|
1977
|
-
W ?
|
|
1980
|
+
W ? D({
|
|
1978
1981
|
type: "heartbeat"
|
|
1979
1982
|
}, function() {
|
|
1980
1983
|
Qt();
|
|
1981
1984
|
}) : clearTimeout(ot);
|
|
1982
|
-
},
|
|
1983
|
-
},
|
|
1985
|
+
}, Gi);
|
|
1986
|
+
}, qi = function(t) {
|
|
1984
1987
|
W = !0, Qt(), clearTimeout(Gt), clearTimeout(Ht), Xt(t);
|
|
1985
|
-
},
|
|
1988
|
+
}, Ki = function(t) {
|
|
1986
1989
|
var r = t.data;
|
|
1987
1990
|
if (typeof r == "string" && (r = r.replace(/^\d+/, ""), !!r)) {
|
|
1988
1991
|
try {
|
|
@@ -1999,24 +2002,24 @@ var V = null, zi = "ws://localhost", at = [27197, 27198, 27199], Ee = 0, W, Wt =
|
|
|
1999
2002
|
ok: r.ok
|
|
2000
2003
|
}), Yt(i));
|
|
2001
2004
|
} else
|
|
2002
|
-
r.type === "eSpace-ctrl-connection-success" ?
|
|
2005
|
+
r.type === "eSpace-ctrl-connection-success" ? qi(r.data) : V.close();
|
|
2003
2006
|
}
|
|
2004
|
-
},
|
|
2005
|
-
V.onopen =
|
|
2007
|
+
}, Xi = function() {
|
|
2008
|
+
V.onopen = Hi, V.onclose = Yi, V.onmessage = Ki;
|
|
2006
2009
|
}, Zt = function(t) {
|
|
2007
2010
|
Gt = setTimeout(function() {
|
|
2008
|
-
Ee >= at.length && (Ee = 0), V = new WebSocket(
|
|
2011
|
+
Ee >= at.length && (Ee = 0), V = new WebSocket(Wi + ":" + at[Ee++]), Xi();
|
|
2009
2012
|
}, t || 0);
|
|
2010
|
-
},
|
|
2013
|
+
}, Yi = function() {
|
|
2011
2014
|
(W || typeof W > "u") && (W = !1, Kt()), Zt(Wt);
|
|
2012
2015
|
};
|
|
2013
|
-
|
|
2016
|
+
k.init = function(e) {
|
|
2014
2017
|
e && (Ut = e.timeout || 3e4, Wt = e.pollingInterval || 0), Zt();
|
|
2015
2018
|
};
|
|
2016
|
-
|
|
2019
|
+
k.ready = function(e) {
|
|
2017
2020
|
Xt = e;
|
|
2018
2021
|
};
|
|
2019
|
-
|
|
2022
|
+
k.error = function(e) {
|
|
2020
2023
|
Kt = e;
|
|
2021
2024
|
};
|
|
2022
2025
|
var st = function(t, r, n) {
|
|
@@ -2028,10 +2031,10 @@ var st = function(t, r, n) {
|
|
|
2028
2031
|
}
|
|
2029
2032
|
return i;
|
|
2030
2033
|
};
|
|
2031
|
-
|
|
2034
|
+
k.on = function(e, t) {
|
|
2032
2035
|
qt[e] = t;
|
|
2033
2036
|
};
|
|
2034
|
-
|
|
2037
|
+
k.getUserInfo = function(e, t) {
|
|
2035
2038
|
var r = function(i, a) {
|
|
2036
2039
|
if (i)
|
|
2037
2040
|
return t(i);
|
|
@@ -2058,20 +2061,20 @@ S.getUserInfo = function(e, t) {
|
|
|
2058
2061
|
t(null, s);
|
|
2059
2062
|
}
|
|
2060
2063
|
};
|
|
2061
|
-
|
|
2064
|
+
D({
|
|
2062
2065
|
type: "get-user-info",
|
|
2063
2066
|
param: e
|
|
2064
2067
|
}, r);
|
|
2065
2068
|
};
|
|
2066
|
-
|
|
2069
|
+
k.subscribeUserStatus = function(e, t) {
|
|
2067
2070
|
Array.isArray(e) && e.forEach(function(r) {
|
|
2068
|
-
}),
|
|
2071
|
+
}), D({
|
|
2069
2072
|
type: "subscribe-user-status",
|
|
2070
2073
|
param: e
|
|
2071
2074
|
}, t);
|
|
2072
2075
|
};
|
|
2073
|
-
|
|
2074
|
-
|
|
2076
|
+
k.eSpaceCall = function(e, t, r) {
|
|
2077
|
+
D({
|
|
2075
2078
|
type: "espace-call",
|
|
2076
2079
|
param: {
|
|
2077
2080
|
account: e,
|
|
@@ -2079,54 +2082,54 @@ S.eSpaceCall = function(e, t, r) {
|
|
|
2079
2082
|
}
|
|
2080
2083
|
}, r);
|
|
2081
2084
|
};
|
|
2082
|
-
|
|
2083
|
-
|
|
2085
|
+
k.eSpaceCallByAccount = function(e, t) {
|
|
2086
|
+
D({
|
|
2084
2087
|
type: "espace-call",
|
|
2085
2088
|
param: {
|
|
2086
2089
|
account: e
|
|
2087
2090
|
}
|
|
2088
2091
|
}, t);
|
|
2089
2092
|
};
|
|
2090
|
-
|
|
2091
|
-
|
|
2093
|
+
k.eSpaceCallByNumber = function(e, t) {
|
|
2094
|
+
D({
|
|
2092
2095
|
type: "espace-call",
|
|
2093
2096
|
param: {
|
|
2094
2097
|
number: e
|
|
2095
2098
|
}
|
|
2096
2099
|
}, t);
|
|
2097
2100
|
};
|
|
2098
|
-
|
|
2099
|
-
|
|
2101
|
+
k.showImDialog = function(e, t) {
|
|
2102
|
+
D({
|
|
2100
2103
|
type: "show-espace-im-dialog",
|
|
2101
2104
|
param: e
|
|
2102
2105
|
}, t);
|
|
2103
2106
|
};
|
|
2104
|
-
|
|
2105
|
-
|
|
2107
|
+
k.showGroupDialog = function(e, t) {
|
|
2108
|
+
D({
|
|
2106
2109
|
type: "show-espace-im-group-dialog",
|
|
2107
2110
|
param: e
|
|
2108
2111
|
}, t);
|
|
2109
2112
|
};
|
|
2110
|
-
|
|
2111
|
-
|
|
2113
|
+
k.addContactList = function(e, t) {
|
|
2114
|
+
D({
|
|
2112
2115
|
type: "add-contact-list",
|
|
2113
2116
|
param: e
|
|
2114
2117
|
}, t);
|
|
2115
2118
|
};
|
|
2116
|
-
if (
|
|
2117
|
-
var
|
|
2119
|
+
if (_ || !window.WebSocket) {
|
|
2120
|
+
var Qi = function() {
|
|
2118
2121
|
};
|
|
2119
|
-
for (var Oe in
|
|
2120
|
-
if (Object.prototype.hasOwnProperty.call(
|
|
2121
|
-
var
|
|
2122
|
-
typeof
|
|
2122
|
+
for (var Oe in k)
|
|
2123
|
+
if (Object.prototype.hasOwnProperty.call(k, Oe)) {
|
|
2124
|
+
var Zi = k[Oe];
|
|
2125
|
+
typeof Zi == "function" && (k[Oe] = Qi);
|
|
2123
2126
|
}
|
|
2124
2127
|
}
|
|
2125
2128
|
var ce = {}, ee = {
|
|
2126
2129
|
leave: "v-modal-leave",
|
|
2127
2130
|
enter: "v-modal-enter",
|
|
2128
2131
|
modal: "v-modal"
|
|
2129
|
-
},
|
|
2132
|
+
}, Ji = function(t, r) {
|
|
2130
2133
|
for (var n = t.length - 1; n >= 0; n--)
|
|
2131
2134
|
if (t[n].id === r) {
|
|
2132
2135
|
t.splice(n, 1);
|
|
@@ -2171,7 +2174,7 @@ var ce = {}, ee = {
|
|
|
2171
2174
|
},
|
|
2172
2175
|
/** 打开遮罩层, 仅vue-popup.ts中使用。 dom = vm.$el 或者 undefined (appendtoBody时) */
|
|
2173
2176
|
openModal: function(t, r, n, i, a) {
|
|
2174
|
-
if (!
|
|
2177
|
+
if (!_ && !(!t || r === void 0)) {
|
|
2175
2178
|
this.modalFade = a;
|
|
2176
2179
|
for (var o = 0, s = this.modalStack.length; o < s; o++) {
|
|
2177
2180
|
var l = this.modalStack[o];
|
|
@@ -2219,7 +2222,7 @@ var ce = {}, ee = {
|
|
|
2219
2222
|
var o = r.length;
|
|
2220
2223
|
o > 0 && (n.style.zIndex = r[o - 1].zIndex.toString());
|
|
2221
2224
|
} else
|
|
2222
|
-
|
|
2225
|
+
Ji(r, t);
|
|
2223
2226
|
}
|
|
2224
2227
|
r.length === 0 && (this.modalFade && ue(n, ee.leave), fe(document.body, this.popLockClass), this.resetBodyBorder(), setTimeout(function() {
|
|
2225
2228
|
r.length === 0 && (n.parentNode && n.parentNode.removeChild(n), n.style.display = "none", I.modalDom = null), fe(n, ee.leave);
|
|
@@ -2227,7 +2230,7 @@ var ce = {}, ee = {
|
|
|
2227
2230
|
}
|
|
2228
2231
|
};
|
|
2229
2232
|
Le = function() {
|
|
2230
|
-
if (
|
|
2233
|
+
if (_)
|
|
2231
2234
|
return null;
|
|
2232
2235
|
var t = I.modalDom;
|
|
2233
2236
|
return t ? I.hasModal = !0 : (I.hasModal = !1, t = document.createElement("div"), I.modalDom = t, t.addEventListener("touchmove", function(r) {
|
|
@@ -2238,8 +2241,8 @@ Le = function() {
|
|
|
2238
2241
|
I.doOnModalClick();
|
|
2239
2242
|
})), t;
|
|
2240
2243
|
};
|
|
2241
|
-
|
|
2242
|
-
if (e.keyCode ===
|
|
2244
|
+
_ || H(window, "keydown", function(e) {
|
|
2245
|
+
if (e.keyCode === wi.Escape) {
|
|
2243
2246
|
var t = I.modalStack;
|
|
2244
2247
|
if (t.length > 0) {
|
|
2245
2248
|
var r = t[t.length - 1];
|
|
@@ -2250,14 +2253,14 @@ T || H(window, "keydown", function(e) {
|
|
|
2250
2253
|
}
|
|
2251
2254
|
}
|
|
2252
2255
|
});
|
|
2253
|
-
!
|
|
2256
|
+
!_ && typeof ResizeObserver == "function" && new ResizeObserver(function(e) {
|
|
2254
2257
|
e.forEach(function(t) {
|
|
2255
2258
|
t.target.popperVm && t.contentRect.height > 50 && t.target.popperVm.update();
|
|
2256
2259
|
});
|
|
2257
2260
|
});
|
|
2258
|
-
var
|
|
2261
|
+
var ea = function() {
|
|
2259
2262
|
var t = h.ref(""), r = ["2xl", "xl", "lg", "md", "sm"], n = function(l) {
|
|
2260
|
-
return
|
|
2263
|
+
return _ || typeof matchMedia != "function" ? {
|
|
2261
2264
|
matches: !1,
|
|
2262
2265
|
media: l,
|
|
2263
2266
|
addEventListener: function() {
|
|
@@ -2280,7 +2283,7 @@ var Qi = function() {
|
|
|
2280
2283
|
}
|
|
2281
2284
|
}
|
|
2282
2285
|
t.value = "default";
|
|
2283
|
-
}, o =
|
|
2286
|
+
}, o = Vi(0, function() {
|
|
2284
2287
|
return a();
|
|
2285
2288
|
});
|
|
2286
2289
|
return a(), r.forEach(function(s) {
|
|
@@ -2293,7 +2296,7 @@ var Qi = function() {
|
|
|
2293
2296
|
current: t
|
|
2294
2297
|
};
|
|
2295
2298
|
};
|
|
2296
|
-
function
|
|
2299
|
+
function Aa() {
|
|
2297
2300
|
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 100, t = h.ref(0), r;
|
|
2298
2301
|
function n() {
|
|
2299
2302
|
r = requestAnimationFrame(function() {
|
|
@@ -2315,7 +2318,7 @@ function wa() {
|
|
|
2315
2318
|
cancel: i
|
|
2316
2319
|
};
|
|
2317
2320
|
}
|
|
2318
|
-
var
|
|
2321
|
+
var ta = ["IconLoadingShadow", "IconNoData"], Jt = 0, er = function(t, r) {
|
|
2319
2322
|
{
|
|
2320
2323
|
var n, i;
|
|
2321
2324
|
if ((n = t.data) !== null && n !== void 0 && (i = n.attrs) !== null && i !== void 0 && i.id) {
|
|
@@ -2339,12 +2342,12 @@ var Zi = ["IconLoadingShadow", "IconNoData"], Jt = 0, er = function(t, r) {
|
|
|
2339
2342
|
}), Array.isArray(t == null ? void 0 : t.children) && t.children.forEach(function(i) {
|
|
2340
2343
|
tr(i, r);
|
|
2341
2344
|
});
|
|
2342
|
-
},
|
|
2345
|
+
}, ra = function(t) {
|
|
2343
2346
|
if (t) {
|
|
2344
2347
|
var r = {};
|
|
2345
2348
|
er(t, r), tr(t, r), Jt++;
|
|
2346
2349
|
}
|
|
2347
|
-
},
|
|
2350
|
+
}, na = function(t) {
|
|
2348
2351
|
var r = t.onMounted, n = t.onActivated, i = t.nextTick;
|
|
2349
2352
|
return function(a) {
|
|
2350
2353
|
var o;
|
|
@@ -2356,7 +2359,7 @@ var Zi = ["IconLoadingShadow", "IconNoData"], Jt = 0, er = function(t, r) {
|
|
|
2356
2359
|
return o && a();
|
|
2357
2360
|
});
|
|
2358
2361
|
};
|
|
2359
|
-
},
|
|
2362
|
+
}, ia = function(t) {
|
|
2360
2363
|
var r = t.getCurrentInstance, n = t.isVue2, i = t.nextTick, a = t.onUnmounted;
|
|
2361
2364
|
return function() {
|
|
2362
2365
|
var o = r().proxy;
|
|
@@ -2374,72 +2377,72 @@ var Zi = ["IconLoadingShadow", "IconNoData"], Jt = 0, er = function(t, r) {
|
|
|
2374
2377
|
});
|
|
2375
2378
|
});
|
|
2376
2379
|
};
|
|
2377
|
-
},
|
|
2380
|
+
}, aa = function(t) {
|
|
2378
2381
|
var r = t.computed, n = t.getCurrentInstance, i = t.inject, a = t.markRaw, o = t.nextTick, s = t.onMounted, l = t.onActivated, u = t.onUnmounted, c = t.provide, f = t.reactive, d = t.toRef;
|
|
2379
2382
|
return function() {
|
|
2380
2383
|
var v = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, p = v.relationKey, m = v.relationContainer, g = v.onChange, w = v.childrenKey, b = v.delivery;
|
|
2381
2384
|
if (!p)
|
|
2382
2385
|
throw new Error("[TINY Error]<relationKey> must exist.");
|
|
2383
|
-
var
|
|
2386
|
+
var E = n(), y = f({
|
|
2384
2387
|
children: [],
|
|
2385
2388
|
indexInParent: -1
|
|
2386
|
-
}), x = i(p, null),
|
|
2389
|
+
}), x = i(p, null), T = [];
|
|
2387
2390
|
if (x) {
|
|
2388
|
-
var
|
|
2389
|
-
|
|
2390
|
-
return
|
|
2391
|
+
var A = x.link, S = x.unlink, P = x.callbacks, F = x.childrenKey, sr = x.delivery;
|
|
2392
|
+
T = P, w = w || F || "instanceChildren", b = sr, y.indexInParent = A(E), u(function() {
|
|
2393
|
+
return S(E);
|
|
2391
2394
|
});
|
|
2392
2395
|
} else {
|
|
2393
2396
|
w = w || "instanceChildren";
|
|
2394
|
-
var
|
|
2397
|
+
var lr = na({
|
|
2395
2398
|
onMounted: s,
|
|
2396
2399
|
onActivated: l,
|
|
2397
2400
|
nextTick: o
|
|
2398
2401
|
}), Ge = g ? function() {
|
|
2399
2402
|
return o(g);
|
|
2400
|
-
} :
|
|
2403
|
+
} : _i, Y;
|
|
2401
2404
|
o(function() {
|
|
2402
2405
|
var L = typeof m == "function" ? m() : m;
|
|
2403
2406
|
L && (Y = new MutationObserver(function(Q, B) {
|
|
2404
2407
|
var He = [];
|
|
2405
|
-
rr(L.childNodes, He),
|
|
2406
|
-
return
|
|
2408
|
+
rr(L.childNodes, He), T.forEach(function(cr) {
|
|
2409
|
+
return cr(He, Q, B);
|
|
2407
2410
|
}), Ge();
|
|
2408
2411
|
}), Y.observe(L, {
|
|
2409
2412
|
attributes: !0,
|
|
2410
2413
|
childList: !0,
|
|
2411
2414
|
subtree: !0
|
|
2412
2415
|
}));
|
|
2413
|
-
}),
|
|
2416
|
+
}), lr(function() {
|
|
2414
2417
|
return Ge();
|
|
2415
2418
|
}), u(function() {
|
|
2416
|
-
Y && (Y.disconnect(), Y = null),
|
|
2419
|
+
Y && (Y.disconnect(), Y = null), T = null;
|
|
2417
2420
|
});
|
|
2418
2421
|
}
|
|
2419
|
-
var
|
|
2422
|
+
var ur = function(Q) {
|
|
2420
2423
|
var B = Q.proxy;
|
|
2421
2424
|
return y.children.push(a(B)), r(function() {
|
|
2422
2425
|
return y.children.indexOf(B);
|
|
2423
2426
|
});
|
|
2424
|
-
},
|
|
2427
|
+
}, fr = function(Q) {
|
|
2425
2428
|
var B = y.children.indexOf(Q.proxy);
|
|
2426
2429
|
B > -1 && y.children.splice(B, 1);
|
|
2427
2430
|
};
|
|
2428
|
-
return
|
|
2429
|
-
return
|
|
2431
|
+
return T.push(function(L) {
|
|
2432
|
+
return oa(y.children, L);
|
|
2430
2433
|
}), c(p, {
|
|
2431
|
-
link:
|
|
2432
|
-
unlink:
|
|
2433
|
-
callbacks:
|
|
2434
|
+
link: ur,
|
|
2435
|
+
unlink: fr,
|
|
2436
|
+
callbacks: T,
|
|
2434
2437
|
childrenKey: w,
|
|
2435
2438
|
delivery: b
|
|
2436
|
-
}), Object.defineProperty(
|
|
2439
|
+
}), Object.defineProperty(E.proxy, w, {
|
|
2437
2440
|
configurable: !0,
|
|
2438
2441
|
get: function() {
|
|
2439
2442
|
return y.children;
|
|
2440
2443
|
}
|
|
2441
2444
|
}), u(function() {
|
|
2442
|
-
return delete
|
|
2445
|
+
return delete E.proxy[w];
|
|
2443
2446
|
}), {
|
|
2444
2447
|
children: d(y, "children"),
|
|
2445
2448
|
index: d(y, "indexInParent"),
|
|
@@ -2450,17 +2453,17 @@ var Zi = ["IconLoadingShadow", "IconNoData"], Jt = 0, er = function(t, r) {
|
|
|
2450
2453
|
t.length && t.forEach(function(n) {
|
|
2451
2454
|
r.push(n), n.childNodes && rr(n.childNodes, r);
|
|
2452
2455
|
});
|
|
2453
|
-
},
|
|
2456
|
+
}, oa = function(t, r) {
|
|
2454
2457
|
t.sort(function(n, i) {
|
|
2455
2458
|
return r.indexOf(n.$el) - r.indexOf(i.$el);
|
|
2456
2459
|
});
|
|
2457
2460
|
};
|
|
2458
|
-
const
|
|
2459
|
-
var
|
|
2461
|
+
const Ea = "3.25.0";
|
|
2462
|
+
var Oa = ia($($({}, h), {}, {
|
|
2460
2463
|
isVue2: wt
|
|
2461
|
-
})),
|
|
2464
|
+
})), _a = aa($($({}, h), {}, {
|
|
2462
2465
|
isVue2: wt
|
|
2463
|
-
})),
|
|
2466
|
+
})), ie = "Tiny", sa = {
|
|
2464
2467
|
tiny_mode: String,
|
|
2465
2468
|
tiny_mode_root: Boolean,
|
|
2466
2469
|
tiny_template: [Function, Object],
|
|
@@ -2468,7 +2471,7 @@ var xa = ta(D(D({}, h), {}, {
|
|
|
2468
2471
|
tiny_theme: String,
|
|
2469
2472
|
tiny_mcp_config: Object,
|
|
2470
2473
|
tiny_chart_theme: Object
|
|
2471
|
-
},
|
|
2474
|
+
}, la = ["tiny_mode", "tiny_mode_root", "tiny_template", "tiny_renderless", "_constants", "tiny_theme", "tiny_chart_theme", "tiny_mcp_config"], Ue = function(t, r) {
|
|
2472
2475
|
var n = function(f) {
|
|
2473
2476
|
return ~["pc", "mobile", "mobile-first"].indexOf(f);
|
|
2474
2477
|
}, i = Ne(), a = typeof t.tiny_mode == "string" ? t.tiny_mode : null, o = h.inject("TinyMode", null), s;
|
|
@@ -2479,22 +2482,22 @@ var xa = ta(D(D({}, h), {}, {
|
|
|
2479
2482
|
return u = u.proxy, Object.defineProperty(u, "_tiny_mode", {
|
|
2480
2483
|
value: l
|
|
2481
2484
|
}), l;
|
|
2482
|
-
},
|
|
2485
|
+
}, ua = function(t, r) {
|
|
2483
2486
|
var n = function(c) {
|
|
2484
2487
|
return ~["tiny", "saas"].indexOf(c);
|
|
2485
2488
|
}, i = Ne(), a = typeof t.tiny_theme == "string" ? t.tiny_theme : null, o = h.inject("TinyTheme", null), s = i.tiny_theme && i.tiny_theme.value;
|
|
2486
2489
|
n(a) || (a = null), n(o) || (o = null), n(s) || (s = null);
|
|
2487
2490
|
var l = a || o || s || "tiny";
|
|
2488
2491
|
return l;
|
|
2489
|
-
},
|
|
2492
|
+
}, fa = function(t, r) {
|
|
2490
2493
|
var n = Ne(), i = z(t.tiny_chart_theme) === "object" ? t.tiny_chart_theme : null, a = h.inject("TinyChartTheme", null), o = n.tiny_chart_theme && n.tiny_chart_theme.value, s = i || a || o || null;
|
|
2491
2494
|
return s;
|
|
2492
2495
|
}, be = {
|
|
2493
2496
|
configKey: Symbol("designConfigKey"),
|
|
2494
2497
|
configInstance: null
|
|
2495
|
-
},
|
|
2498
|
+
}, Ta = function(t) {
|
|
2496
2499
|
Object.keys(t).length && (h.provide(be.configKey, t), be.configInstance = t);
|
|
2497
|
-
},
|
|
2500
|
+
}, ca = Xr(be), nr = {
|
|
2498
2501
|
designConfig: null,
|
|
2499
2502
|
twMerge: function() {
|
|
2500
2503
|
return "";
|
|
@@ -2502,20 +2505,20 @@ var xa = ta(D(D({}, h), {}, {
|
|
|
2502
2505
|
}, ir = function() {
|
|
2503
2506
|
var t, r, n, i = nr.designConfig || h.inject(be.configKey, {});
|
|
2504
2507
|
i = ((t = i) === null || t === void 0 ? void 0 : t.value) || i || {};
|
|
2505
|
-
var a = (r = i) === null || r === void 0 || (n = r.components) === null || n === void 0 ? void 0 : n[gt().replace(
|
|
2508
|
+
var a = (r = i) === null || r === void 0 || (n = r.components) === null || n === void 0 ? void 0 : n[gt().replace(ie, "")];
|
|
2506
2509
|
return {
|
|
2507
2510
|
designConfig: a,
|
|
2508
2511
|
globalDesignConfig: i
|
|
2509
2512
|
};
|
|
2510
|
-
},
|
|
2511
|
-
var t, r =
|
|
2513
|
+
}, da = function() {
|
|
2514
|
+
var t, r = ne.mcpConfig, n = gt().replace(ie, "");
|
|
2512
2515
|
return r == null || (t = r.components) === null || t === void 0 ? void 0 : t[n];
|
|
2513
|
-
},
|
|
2516
|
+
}, ne = {
|
|
2514
2517
|
mcpConfig: null,
|
|
2515
2518
|
createMcpTools: null
|
|
2516
|
-
},
|
|
2517
|
-
|
|
2518
|
-
},
|
|
2519
|
+
}, ka = function(t, r) {
|
|
2520
|
+
ne.mcpConfig = t, ne.createMcpTools = r;
|
|
2521
|
+
}, va = function(t) {
|
|
2519
2522
|
var r = t.props, n = t.context, i = t.template, a = t.extend, o = a === void 0 ? {} : a, s = Ue(r), l = h.computed(function() {
|
|
2520
2523
|
if (typeof r.tiny_template < "u") return r.tiny_template;
|
|
2521
2524
|
var p = i(s, r);
|
|
@@ -2541,28 +2544,28 @@ var xa = ta(D(D({}, h), {}, {
|
|
|
2541
2544
|
for (var t = arguments.length, r = new Array(t), n = 0; n < t; n++)
|
|
2542
2545
|
r[n] = arguments[n];
|
|
2543
2546
|
return nr.twMerge(Se(r));
|
|
2544
|
-
},
|
|
2545
|
-
var r = t.props, n = t.context, i = t.renderless, a = t.api, o = t.extendOptions, s = o === void 0 ? {} : o, l = t.mono, u = l === void 0 ? !1 : l, c = t.classes, f = c === void 0 ? {} : c, d = typeof r.tiny_renderless == "function" ? r.tiny_renderless : i, v = ir(), p = v.designConfig, m = v.globalDesignConfig, g =
|
|
2546
|
-
$prefix:
|
|
2547
|
+
}, pa = function(t) {
|
|
2548
|
+
var r = t.props, n = t.context, i = t.renderless, a = t.api, o = t.extendOptions, s = o === void 0 ? {} : o, l = t.mono, u = l === void 0 ? !1 : l, c = t.classes, f = c === void 0 ? {} : c, d = typeof r.tiny_renderless == "function" ? r.tiny_renderless : i, v = ir(), p = v.designConfig, m = v.globalDesignConfig, g = $($({
|
|
2549
|
+
$prefix: ie,
|
|
2547
2550
|
t: qe
|
|
2548
|
-
},
|
|
2551
|
+
}, Wr(n, Ue(r))), {}, {
|
|
2549
2552
|
designConfig: p,
|
|
2550
2553
|
globalDesignConfig: m,
|
|
2551
|
-
useBreakpoint:
|
|
2554
|
+
useBreakpoint: ea,
|
|
2552
2555
|
mergeClass: je
|
|
2553
2556
|
});
|
|
2554
|
-
g.vm.theme =
|
|
2557
|
+
g.vm.theme = ua(r), g.vm.chartTheme = fa(r);
|
|
2555
2558
|
var w = d(r, h, g, s);
|
|
2556
2559
|
typeof (p == null ? void 0 : p.renderless) == "function" && Object.assign(w, p.renderless(r, h, g, w));
|
|
2557
2560
|
var b = {
|
|
2558
2561
|
t: qe,
|
|
2559
2562
|
vm: g.vm,
|
|
2560
|
-
f:
|
|
2563
|
+
f: br,
|
|
2561
2564
|
a: ar,
|
|
2562
2565
|
d: g.defineInstanceProperties,
|
|
2563
2566
|
dp: g.defineParentInstanceProperties,
|
|
2564
2567
|
gcls: function(x) {
|
|
2565
|
-
return
|
|
2568
|
+
return Cr(f, x);
|
|
2566
2569
|
},
|
|
2567
2570
|
m: je
|
|
2568
2571
|
};
|
|
@@ -2599,18 +2602,18 @@ var xa = ta(D(D({}, h), {}, {
|
|
|
2599
2602
|
value: x
|
|
2600
2603
|
}));
|
|
2601
2604
|
}));
|
|
2602
|
-
var
|
|
2603
|
-
return
|
|
2605
|
+
var E = da();
|
|
2606
|
+
return E && r.tiny_mcp_config && ne.createMcpTools && ne.createMcpTools(b.vm, r.tiny_mcp_config, E), b;
|
|
2604
2607
|
};
|
|
2605
|
-
function
|
|
2608
|
+
function ga(e) {
|
|
2606
2609
|
var t = e.name, r = t === void 0 ? "Icon" : t, n = e.component;
|
|
2607
2610
|
return function(i) {
|
|
2608
|
-
return
|
|
2609
|
-
name:
|
|
2611
|
+
return Rr(Yr({
|
|
2612
|
+
name: ie + r,
|
|
2610
2613
|
setup: function(o, s) {
|
|
2611
2614
|
var l = s.attrs || {}, u = l.fill, c = l.width, f = l.height, d = l["custom-class"], v = l["first-color"], p = l["second-color"], m = Object.assign({}, o, i || null), g = Ue(m), w = g === "mobile-first", b = {
|
|
2612
2615
|
"data-tag": w ? "tiny-svg" : null
|
|
2613
|
-
},
|
|
2616
|
+
}, E = {
|
|
2614
2617
|
attrs: b
|
|
2615
2618
|
}, y = "tiny-svg";
|
|
2616
2619
|
w && (y = je("h-4 w-4 inline-block", d || "", m.class || ""));
|
|
@@ -2624,17 +2627,11 @@ function da(e) {
|
|
|
2624
2627
|
},
|
|
2625
2628
|
class: y,
|
|
2626
2629
|
isSvg: !0
|
|
2627
|
-
},
|
|
2628
|
-
|
|
2629
|
-
var
|
|
2630
|
-
|
|
2631
|
-
|
|
2632
|
-
M[P] = arguments[P];
|
|
2633
|
-
var ie = E(M);
|
|
2634
|
-
return Ji(ie), ie;
|
|
2635
|
-
};
|
|
2636
|
-
}
|
|
2637
|
-
return pt({
|
|
2630
|
+
}, E);
|
|
2631
|
+
return x.nativeOn = s.listeners, ta.includes(r) && (n.__raw_render || (n.__raw_render = n.render), n.render = function() {
|
|
2632
|
+
var T = n.__raw_render.bind(this), A = T.apply(void 0, arguments);
|
|
2633
|
+
return ra(A), A;
|
|
2634
|
+
}), pt({
|
|
2638
2635
|
component: n,
|
|
2639
2636
|
props: m,
|
|
2640
2637
|
context: s,
|
|
@@ -2657,80 +2654,80 @@ var ar = function(t, r, n) {
|
|
|
2657
2654
|
}, ge = {}, or = function() {
|
|
2658
2655
|
for (var t in ge) {
|
|
2659
2656
|
var r = ge[t];
|
|
2660
|
-
typeof r.install == "function" && r.install(
|
|
2657
|
+
typeof r.install == "function" && r.install(Dr()), typeof r.init == "function" && r.init(Fr());
|
|
2661
2658
|
}
|
|
2662
2659
|
ge = {};
|
|
2663
|
-
},
|
|
2660
|
+
}, ma = function(t) {
|
|
2664
2661
|
t.install = function(r) {
|
|
2665
2662
|
r.component(t.name, t);
|
|
2666
2663
|
};
|
|
2667
2664
|
};
|
|
2668
|
-
const
|
|
2669
|
-
h:
|
|
2670
|
-
directive:
|
|
2671
|
-
parseVnode:
|
|
2672
|
-
isEmptyVnode:
|
|
2665
|
+
const Sa = {
|
|
2666
|
+
h: Kr,
|
|
2667
|
+
directive: Ur,
|
|
2668
|
+
parseVnode: Hr,
|
|
2669
|
+
isEmptyVnode: qr,
|
|
2673
2670
|
useRouter: mt,
|
|
2674
2671
|
emitter: ct,
|
|
2675
|
-
createComponent:
|
|
2672
|
+
createComponent: ca,
|
|
2676
2673
|
defineAsyncComponent: vt,
|
|
2677
2674
|
filterAttrs: ar,
|
|
2678
2675
|
initComponent: or,
|
|
2679
2676
|
setupComponent: ge,
|
|
2680
|
-
svg:
|
|
2681
|
-
$prefix:
|
|
2682
|
-
$props:
|
|
2683
|
-
props:
|
|
2684
|
-
$setup:
|
|
2685
|
-
setup:
|
|
2677
|
+
svg: ga,
|
|
2678
|
+
$prefix: ie,
|
|
2679
|
+
$props: sa,
|
|
2680
|
+
props: la,
|
|
2681
|
+
$setup: va,
|
|
2682
|
+
setup: pa,
|
|
2686
2683
|
hooks: h,
|
|
2687
|
-
getElementStatusClass:
|
|
2688
|
-
$install:
|
|
2689
|
-
isVnode:
|
|
2684
|
+
getElementStatusClass: wr,
|
|
2685
|
+
$install: ma,
|
|
2686
|
+
isVnode: Qr
|
|
2690
2687
|
};
|
|
2691
2688
|
export {
|
|
2692
|
-
|
|
2693
|
-
|
|
2694
|
-
|
|
2695
|
-
|
|
2696
|
-
|
|
2697
|
-
|
|
2698
|
-
|
|
2699
|
-
|
|
2689
|
+
ma as $install,
|
|
2690
|
+
ie as $prefix,
|
|
2691
|
+
sa as $props,
|
|
2692
|
+
va as $setup,
|
|
2693
|
+
Ca as KeepAlive,
|
|
2694
|
+
ba as Teleport,
|
|
2695
|
+
Fr as appProperties,
|
|
2696
|
+
ca as createComponent,
|
|
2700
2697
|
nr as customDesignConfig,
|
|
2701
|
-
|
|
2702
|
-
|
|
2698
|
+
xa as deduplicateCssClass,
|
|
2699
|
+
Sa as default,
|
|
2703
2700
|
vt as defineAsyncComponent,
|
|
2704
|
-
|
|
2701
|
+
Yr as defineComponent,
|
|
2705
2702
|
be as design,
|
|
2706
|
-
|
|
2703
|
+
Ur as directive,
|
|
2707
2704
|
ct as emitter,
|
|
2708
2705
|
ar as filterAttrs,
|
|
2709
|
-
|
|
2710
|
-
|
|
2706
|
+
wr as getElementStatusClass,
|
|
2707
|
+
Kr as h,
|
|
2711
2708
|
h as hooks,
|
|
2712
2709
|
or as initComponent,
|
|
2713
|
-
|
|
2714
|
-
|
|
2710
|
+
qr as isEmptyVnode,
|
|
2711
|
+
Qr as isVnode,
|
|
2715
2712
|
wt as isVue2,
|
|
2716
|
-
|
|
2713
|
+
wa as isVue3,
|
|
2717
2714
|
je as mergeClass,
|
|
2718
|
-
|
|
2719
|
-
|
|
2720
|
-
|
|
2721
|
-
|
|
2715
|
+
Hr as parseVnode,
|
|
2716
|
+
la as props,
|
|
2717
|
+
Ta as provideDesignConfig,
|
|
2718
|
+
ka as registerMcpConfig,
|
|
2722
2719
|
Ue as resolveMode,
|
|
2723
|
-
|
|
2724
|
-
|
|
2720
|
+
ua as resolveTheme,
|
|
2721
|
+
pa as setup,
|
|
2725
2722
|
ge as setupComponent,
|
|
2726
2723
|
Se as stringifyCssClass,
|
|
2727
|
-
|
|
2728
|
-
|
|
2729
|
-
|
|
2730
|
-
|
|
2731
|
-
|
|
2732
|
-
|
|
2733
|
-
|
|
2724
|
+
Zr as stringifyCssClassArray,
|
|
2725
|
+
ke as stringifyCssClassObject,
|
|
2726
|
+
ga as svg,
|
|
2727
|
+
ea as useBreakpoint,
|
|
2728
|
+
Aa as useDefer,
|
|
2729
|
+
Oa as useInstanceSlots,
|
|
2730
|
+
_a as useRelation,
|
|
2734
2731
|
mt as useRouter,
|
|
2735
|
-
|
|
2732
|
+
Ea as version
|
|
2736
2733
|
};
|