mn-video-player 1.2.4 → 1.2.6
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/dist/mn-video-player.es.js +211 -212
- package/dist/mn-video-player.es.js.map +1 -1
- package/dist/mn-video-player.umd.js +4 -4
- package/dist/mn-video-player.umd.js.map +1 -1
- package/dist/{mn-worker-77FNHtgn.js → mn-worker-Daq7nMxd.js} +2 -2
- package/dist/{mn-worker-77FNHtgn.js.map → mn-worker-Daq7nMxd.js.map} +1 -1
- package/package.json +1 -1
|
@@ -47,8 +47,8 @@ Je.prototype.initGL = function(R) {
|
|
|
47
47
|
" gl_FragColor = vec4(texture2D(YTexture, vTextureCoord).x, texture2D(UTexture, vTextureCoord).x, texture2D(VTexture, vTextureCoord).x, 1) * YUV2RGB;",
|
|
48
48
|
"}"
|
|
49
49
|
].join(`
|
|
50
|
-
`),
|
|
51
|
-
a.shaderSource(
|
|
50
|
+
`), A = a.createShader(a.FRAGMENT_SHADER);
|
|
51
|
+
a.shaderSource(A, w), a.compileShader(A), a.attachShader(p, k), a.attachShader(p, A), a.linkProgram(p), a.useProgram(p), a.getProgramParameter(p, a.LINK_STATUS) || console.log("[ER] Shader link failed.");
|
|
52
52
|
var $ = a.getAttribLocation(p, "aVertexPosition");
|
|
53
53
|
a.enableVertexAttribArray($);
|
|
54
54
|
var q = a.getAttribLocation(p, "aTextureCoord");
|
|
@@ -166,7 +166,7 @@ class Qn {
|
|
|
166
166
|
let w = 0;
|
|
167
167
|
for (const L of p)
|
|
168
168
|
k.set(L.data, w), w += L.data.length;
|
|
169
|
-
const
|
|
169
|
+
const A = this.audioCtx.createBufferSource(), $ = k.length / this.option.channels, q = this.audioCtx.createBuffer(
|
|
170
170
|
this.option.channels,
|
|
171
171
|
$,
|
|
172
172
|
this.option.sampleRate
|
|
@@ -175,19 +175,19 @@ class Qn {
|
|
|
175
175
|
for (re = 0; re < this.option.channels; re++)
|
|
176
176
|
for (F = q.getChannelData(re), Z = re, de = 50, ie = 0; ie < $; ie++)
|
|
177
177
|
F[ie] = k[Z], ie < 50 && (F[ie] = F[ie] * ie / 50), ie >= $ - 51 && (F[ie] = F[ie] * de-- / 50), Z += this.option.channels;
|
|
178
|
-
let
|
|
179
|
-
p[0].timestamp !== null ?
|
|
178
|
+
let j;
|
|
179
|
+
p[0].timestamp !== null ? j = Math.max(p[0].timestamp, this.startTime) : j = Math.max(a, this.startTime), A.buffer = q, A.connect(this.gainNode), A.playbackRate.value = this.playbackRate;
|
|
180
180
|
const W = {
|
|
181
|
-
bufferSource:
|
|
181
|
+
bufferSource: A,
|
|
182
182
|
buffer: q,
|
|
183
|
-
startTime:
|
|
184
|
-
endTime:
|
|
183
|
+
startTime: j,
|
|
184
|
+
endTime: j + q.duration / this.playbackRate,
|
|
185
185
|
rawData: p
|
|
186
186
|
};
|
|
187
|
-
this.playingBuffers.push(W),
|
|
188
|
-
const L = this.playingBuffers.findIndex((Le) => Le.bufferSource ===
|
|
187
|
+
this.playingBuffers.push(W), A.onended = () => {
|
|
188
|
+
const L = this.playingBuffers.findIndex((Le) => Le.bufferSource === A);
|
|
189
189
|
L !== -1 && this.playingBuffers.splice(L, 1);
|
|
190
|
-
},
|
|
190
|
+
}, A.start(j), this.startTime = j + q.duration / this.playbackRate;
|
|
191
191
|
const Ne = new Set(p.map(
|
|
192
192
|
(L, Le) => this.cacheDataList.findIndex(
|
|
193
193
|
(Ke) => Ke.data === L.data && Ke.timestamp === L.timestamp
|
|
@@ -208,10 +208,10 @@ class Qn {
|
|
|
208
208
|
k,
|
|
209
209
|
this.option.sampleRate
|
|
210
210
|
);
|
|
211
|
-
let
|
|
211
|
+
let A, $, q, F, re;
|
|
212
212
|
for ($ = 0; $ < this.option.channels; $++)
|
|
213
|
-
for (
|
|
214
|
-
|
|
213
|
+
for (A = w.getChannelData($), q = $, re = 50, F = 0; F < k; F++)
|
|
214
|
+
A[F] = a[q], F < 50 && (A[F] = A[F] * F / 50), F >= k - 51 && (A[F] = A[F] * re-- / 50), q += this.option.channels;
|
|
215
215
|
let Z;
|
|
216
216
|
p !== null ? this.baseTime !== null ? Z = this.baseAudioTime + (p - this.baseTime) : Z = this.audioCtx.currentTime : Z = Math.max(this.audioCtx.currentTime, this.startTime), m.buffer = w, m.connect(this.gainNode), m.playbackRate.value = this.playbackRate;
|
|
217
217
|
const ie = {
|
|
@@ -222,7 +222,7 @@ class Qn {
|
|
|
222
222
|
rawData: [{ data: a, timestamp: p }]
|
|
223
223
|
};
|
|
224
224
|
this.playingBuffers.push(ie), m.onended = () => {
|
|
225
|
-
const de = this.playingBuffers.findIndex((
|
|
225
|
+
const de = this.playingBuffers.findIndex((j) => j.bufferSource === m);
|
|
226
226
|
de !== -1 && this.playingBuffers.splice(de, 1);
|
|
227
227
|
}, m.start(Z), this.startTime = Z + w.duration / this.playbackRate;
|
|
228
228
|
}
|
|
@@ -233,7 +233,6 @@ class Qn {
|
|
|
233
233
|
this.audioCtx.state === "suspended" && this.audioCtx.resume();
|
|
234
234
|
}
|
|
235
235
|
}
|
|
236
|
-
console.log("innercommon");
|
|
237
236
|
const Jn = 2, Kn = 1, Zn = 3, er = 4, tr = 5, ir = 6, nr = 7, rr = 9, sr = 10, or = 11, ar = 12, ur = 13, fr = 2, lr = 4, cr = 5, dr = 6, hr = 7, pr = 8, gr = 13, yr = 14, mr = 15, vr = 16;
|
|
238
237
|
class xr {
|
|
239
238
|
constructor(a) {
|
|
@@ -252,8 +251,8 @@ class xr {
|
|
|
252
251
|
console.log("[" + this.currentTimeStr() + "][" + this.module + "][DT] " + a);
|
|
253
252
|
}
|
|
254
253
|
currentTimeStr() {
|
|
255
|
-
const a = new Date(Date.now()), p = a.getFullYear(), m = a.getMonth() + 1, k = a.getDate(), w = a.getHours(),
|
|
256
|
-
return p + "-" + m + "-" + k + " " + w + ":" +
|
|
254
|
+
const a = new Date(Date.now()), p = a.getFullYear(), m = a.getMonth() + 1, k = a.getDate(), w = a.getHours(), A = a.getMinutes(), $ = a.getSeconds(), q = a.getMilliseconds();
|
|
255
|
+
return p + "-" + m + "-" + k + " " + w + ":" + A + ":" + $ + ":" + q;
|
|
257
256
|
}
|
|
258
257
|
}
|
|
259
258
|
const G = {
|
|
@@ -283,7 +282,7 @@ const G = {
|
|
|
283
282
|
}, br = "data:image/svg+xml,%3c!--%20By%20Sam%20Herbert%20(@sherb),%20for%20everyone.%20More%20@%20http://goo.gl/7AJzbL%20--%3e%3c!--%20Todo:%20add%20easing%20--%3e%3csvg%20width='57'%20height='57'%20viewBox='0%200%2057%2057'%20xmlns='http://www.w3.org/2000/svg'%20stroke='%23fff'%3e%3cg%20fill='none'%20fill-rule='evenodd'%3e%3cg%20transform='translate(1%201)'%20stroke-width='2'%3e%3ccircle%20cx='5'%20cy='50'%20r='5'%3e%3canimate%20attributeName='cy'%20begin='0s'%20dur='2.2s'%20values='50;5;50;50'%20calcMode='linear'%20repeatCount='indefinite'%20/%3e%3canimate%20attributeName='cx'%20begin='0s'%20dur='2.2s'%20values='5;27;49;5'%20calcMode='linear'%20repeatCount='indefinite'%20/%3e%3c/circle%3e%3ccircle%20cx='27'%20cy='5'%20r='5'%3e%3canimate%20attributeName='cy'%20begin='0s'%20dur='2.2s'%20from='5'%20to='5'%20values='5;50;50;5'%20calcMode='linear'%20repeatCount='indefinite'%20/%3e%3canimate%20attributeName='cx'%20begin='0s'%20dur='2.2s'%20from='27'%20to='27'%20values='27;49;5;27'%20calcMode='linear'%20repeatCount='indefinite'%20/%3e%3c/circle%3e%3ccircle%20cx='49'%20cy='50'%20r='5'%3e%3canimate%20attributeName='cy'%20begin='0s'%20dur='2.2s'%20values='50;50;5;50'%20calcMode='linear'%20repeatCount='indefinite'%20/%3e%3canimate%20attributeName='cx'%20from='49'%20to='49'%20begin='0s'%20dur='2.2s'%20values='49;5;27;49'%20calcMode='linear'%20repeatCount='indefinite'%20/%3e%3c/circle%3e%3c/g%3e%3c/g%3e%3c/svg%3e";
|
|
284
283
|
function Tr(R) {
|
|
285
284
|
return new Worker(
|
|
286
|
-
"" + new URL("mn-worker-
|
|
285
|
+
"" + new URL("mn-worker-Daq7nMxd.js", import.meta.url).href,
|
|
287
286
|
{
|
|
288
287
|
name: R?.name
|
|
289
288
|
}
|
|
@@ -304,8 +303,8 @@ class ee {
|
|
|
304
303
|
static frameCache = [];
|
|
305
304
|
static intervalTimer = null;
|
|
306
305
|
static onlyWasm = !1;
|
|
307
|
-
constructor(a, p, m, k, w,
|
|
308
|
-
this.phone = a, this.channel = p, this.div = m, this.chlId = "chlId", this.spedId = "spedId", this.loadId = null, this.hintId = null, this.loading = !0, this.canvas = k, this.lang = w, this.streamTime = null, this.replayTimer = null, this.isFirstLoad = !1, this.frameCache = [], this.intervalTimer = null, this.onlyWasm =
|
|
306
|
+
constructor(a, p, m, k, w, A) {
|
|
307
|
+
this.phone = a, this.channel = p, this.div = m, this.chlId = "chlId", this.spedId = "spedId", this.loadId = null, this.hintId = null, this.loading = !0, this.canvas = k, this.lang = w, this.streamTime = null, this.replayTimer = null, this.isFirstLoad = !1, this.frameCache = [], this.intervalTimer = null, this.onlyWasm = A, this.messageId = 0, this.mediaType = -1, this.streamType = -1, this.beginTime = "", this.timeout = 3e4, this.playbackMode = null, this.width = 0, this.height = 0, this.yLength = 0, this.uvLength = 0, this.mnVideo = null, this.mnAudio = null, this.mnWorker = null, this.playAudio = !1, this.playerState = Kt, this.decoderState = Wi, this.audioEncoding = "16bitInt", this.audioChannels = 1, this.audioSampleRate = 8e3, this.supportH264 = !1, this.supportH265 = !1, this.logger = new G.Logger("MnPlayer"), this.mnAudio = new Qn({
|
|
309
308
|
encoding: this.audioEncoding,
|
|
310
309
|
channels: this.audioChannels,
|
|
311
310
|
sampleRate: this.audioSampleRate,
|
|
@@ -796,7 +795,7 @@ class ee {
|
|
|
796
795
|
return a.byteLength <= 16 ? new ArrayBuffer(0) : a.slice(0, a.byteLength - 16);
|
|
797
796
|
}
|
|
798
797
|
annexBToAvcc(a) {
|
|
799
|
-
const p = a.reduce((w,
|
|
798
|
+
const p = a.reduce((w, A) => w + 4 + A.length, 0), m = new Uint8Array(p);
|
|
800
799
|
let k = 0;
|
|
801
800
|
for (const w of a)
|
|
802
801
|
m[k++] = w.length >>> 24 & 255, m[k++] = w.length >>> 16 & 255, m[k++] = w.length >>> 8 & 255, m[k++] = w.length & 255, m.set(w, k), k += w.length;
|
|
@@ -815,9 +814,9 @@ class ee {
|
|
|
815
814
|
}
|
|
816
815
|
a[m + (a[m + 2] === 1 ? 3 : 4)];
|
|
817
816
|
const w = m + (a[m + 2] === 1 ? 3 : 4);
|
|
818
|
-
let
|
|
819
|
-
for (;
|
|
820
|
-
p.push(a.subarray(w,
|
|
817
|
+
let A = w;
|
|
818
|
+
for (; A < a.length && !k(A); ) A++;
|
|
819
|
+
p.push(a.subarray(w, A)), m = A;
|
|
821
820
|
}
|
|
822
821
|
return p;
|
|
823
822
|
}
|
|
@@ -825,11 +824,11 @@ class ee {
|
|
|
825
824
|
let p = null, m = null, k = 0;
|
|
826
825
|
for (; k + 4 < a.length; )
|
|
827
826
|
if (a[k] === 0 && a[k + 1] === 0 && (a[k + 2] === 1 || a[k + 2] === 0 && a[k + 3] === 1)) {
|
|
828
|
-
const w = a[k + 2] === 1 ? 3 : 4,
|
|
829
|
-
let q =
|
|
827
|
+
const w = a[k + 2] === 1 ? 3 : 4, A = k + w, $ = a[A] & 31;
|
|
828
|
+
let q = A + 1;
|
|
830
829
|
for (; q + 3 < a.length && !(a[q] === 0 && a[q + 1] === 0 && (a[q + 2] === 1 || a[q + 2] === 0 && a[q + 3] === 1)); )
|
|
831
830
|
q++;
|
|
832
|
-
const F = a.slice(
|
|
831
|
+
const F = a.slice(A, q);
|
|
833
832
|
if ($ === 7 && !p && (p = F), $ === 8 && !m && (m = F), $ === 32 && !p && (p = F), $ === 33 && !m && (m = F), p && m) break;
|
|
834
833
|
k = q;
|
|
835
834
|
} else
|
|
@@ -853,8 +852,8 @@ class ee {
|
|
|
853
852
|
const ie = a.subarray(re, Z), de = ie[0] >> 1 & 63;
|
|
854
853
|
(de === 32 || de === 33 || de === 34) && p.push({ type: de, data: ie }), m = Z;
|
|
855
854
|
}
|
|
856
|
-
const w = p.find((q) => q.type === 32)?.data,
|
|
857
|
-
return { vps: w, sps:
|
|
855
|
+
const w = p.find((q) => q.type === 32)?.data, A = p.find((q) => q.type === 33)?.data, $ = p.find((q) => q.type === 34)?.data;
|
|
856
|
+
return { vps: w, sps: A, pps: $ };
|
|
858
857
|
}
|
|
859
858
|
guessCodec(a) {
|
|
860
859
|
if (a.length < 1) return null;
|
|
@@ -893,8 +892,8 @@ class ee {
|
|
|
893
892
|
}
|
|
894
893
|
makeAvcC(a, p) {
|
|
895
894
|
const m = a.length, k = p.length, w = new Uint8Array(8 + m + 3 + k);
|
|
896
|
-
let
|
|
897
|
-
return w[
|
|
895
|
+
let A = 0;
|
|
896
|
+
return w[A++] = 1, w[A++] = a[1], w[A++] = a[2], w[A++] = a[3], w[A++] = 255, w[A++] = 225, w[A++] = m >> 8 & 255, w[A++] = m & 255, w.set(a, A), A += m, w[A++] = 1, w[A++] = k >> 8 & 255, w[A++] = k & 255, w.set(p, A), w;
|
|
898
897
|
}
|
|
899
898
|
/**
|
|
900
899
|
* 解码视频帧
|
|
@@ -915,9 +914,9 @@ class ee {
|
|
|
915
914
|
return `avc1.${re.toString(16).padStart(2, "0")}${Z.toString(16).padStart(2, "0")}${ie.toString(16).padStart(2, "0")}`;
|
|
916
915
|
};
|
|
917
916
|
this.frameType = "h264";
|
|
918
|
-
const { sps: w, pps:
|
|
919
|
-
if (!w || !
|
|
920
|
-
this.sps = w, this.pps =
|
|
917
|
+
const { sps: w, pps: A } = this.extractSpsPps(a);
|
|
918
|
+
if (!w || !A) return;
|
|
919
|
+
this.sps = w, this.pps = A, this.avcC = this.makeAvcC(w, A), console.warn("avcC", this.avcC);
|
|
921
920
|
let q = $(w);
|
|
922
921
|
if (this.videoDecoder.configure({
|
|
923
922
|
codec: q,
|
|
@@ -931,8 +930,8 @@ class ee {
|
|
|
931
930
|
return;
|
|
932
931
|
} else {
|
|
933
932
|
this.frameType = "h265";
|
|
934
|
-
const { vps: w, sps:
|
|
935
|
-
if (this.vps = w, this.sps =
|
|
933
|
+
const { vps: w, sps: A, pps: $ } = this.extractVpsSpsPps(a);
|
|
934
|
+
if (this.vps = w, this.sps = A, this.pps = $, !w || !A || !$) return;
|
|
936
935
|
if (this.videoDecoder.configure({
|
|
937
936
|
codec: "hev1.1.6.L93.B0"
|
|
938
937
|
// codedWidth: this.width || 640,
|
|
@@ -945,7 +944,7 @@ class ee {
|
|
|
945
944
|
}
|
|
946
945
|
if (this.frameType == "h264") {
|
|
947
946
|
let k = this.annexBToAvcc(this.splitAnnexBNalus(a)), w = 33333;
|
|
948
|
-
const
|
|
947
|
+
const A = new EncodedVideoChunk({
|
|
949
948
|
type: m ? "key" : "delta",
|
|
950
949
|
// 根据是否关键帧设置类型
|
|
951
950
|
// type: "key", // 根据是否关键帧设置类型
|
|
@@ -956,7 +955,7 @@ class ee {
|
|
|
956
955
|
duration: w
|
|
957
956
|
// 假设30fps,约33.33ms
|
|
958
957
|
});
|
|
959
|
-
this.videoDecoder.decode(
|
|
958
|
+
this.videoDecoder.decode(A);
|
|
960
959
|
} else {
|
|
961
960
|
let k = 33333;
|
|
962
961
|
const w = new EncodedVideoChunk({
|
|
@@ -1016,11 +1015,11 @@ function Cr() {
|
|
|
1016
1015
|
return p(m);
|
|
1017
1016
|
};
|
|
1018
1017
|
})(typeof window < "u" ? window : Sr, function(a, p) {
|
|
1019
|
-
var m = [], k = Object.getPrototypeOf, w = m.slice,
|
|
1018
|
+
var m = [], k = Object.getPrototypeOf, w = m.slice, A = m.flat ? function(e) {
|
|
1020
1019
|
return m.flat.call(e);
|
|
1021
1020
|
} : function(e) {
|
|
1022
1021
|
return m.concat.apply([], e);
|
|
1023
|
-
}, $ = m.push, q = m.indexOf, F = {}, re = F.toString, Z = F.hasOwnProperty, ie = Z.toString, de = ie.call(Object),
|
|
1022
|
+
}, $ = m.push, q = m.indexOf, F = {}, re = F.toString, Z = F.hasOwnProperty, ie = Z.toString, de = ie.call(Object), j = {}, W = function(t) {
|
|
1024
1023
|
return typeof t == "function" && typeof t.nodeType != "number" && typeof t.item != "function";
|
|
1025
1024
|
}, Ne = function(t) {
|
|
1026
1025
|
return t != null && t === t.window;
|
|
@@ -1191,13 +1190,13 @@ function Cr() {
|
|
|
1191
1190
|
else
|
|
1192
1191
|
for (o in e)
|
|
1193
1192
|
s = t(e[o], o, i), s != null && u.push(s);
|
|
1194
|
-
return
|
|
1193
|
+
return A(u);
|
|
1195
1194
|
},
|
|
1196
1195
|
// A global GUID counter for objects
|
|
1197
1196
|
guid: 1,
|
|
1198
1197
|
// jQuery.support is not used in Core but other projects attach their
|
|
1199
1198
|
// properties to it so it needs to exist.
|
|
1200
|
-
support:
|
|
1199
|
+
support: j
|
|
1201
1200
|
}), typeof Symbol == "function" && (r.fn[Symbol.iterator] = m[Symbol.iterator]), r.each(
|
|
1202
1201
|
"Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),
|
|
1203
1202
|
function(e, t) {
|
|
@@ -1228,9 +1227,9 @@ function Cr() {
|
|
|
1228
1227
|
r.escapeSelector = function(e) {
|
|
1229
1228
|
return (e + "").replace(zi, Xi);
|
|
1230
1229
|
};
|
|
1231
|
-
var ke = L,
|
|
1230
|
+
var ke = L, Dt = $;
|
|
1232
1231
|
(function() {
|
|
1233
|
-
var e, t, i, n, s, o =
|
|
1232
|
+
var e, t, i, n, s, o = Dt, u, c, l, h, x, T = r.expando, y = 0, S = 0, P = bt(), z = bt(), _ = bt(), se = bt(), ne = function(f, d) {
|
|
1234
1233
|
return f === d && (s = !0), 0;
|
|
1235
1234
|
}, be = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped", Te = "(?:\\\\[\\da-fA-F]{1,6}" + Q + "?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+", U = "\\[" + Q + "*(" + Te + ")(?:" + Q + // Operator (capture 2)
|
|
1236
1235
|
"*([*^$|!~]?=)" + Q + // "Attribute values must be CSS identifiers [capture 5] or strings [capture 3 or capture 4]"
|
|
@@ -1248,11 +1247,11 @@ function Cr() {
|
|
|
1248
1247
|
// For use in libraries implementing .is()
|
|
1249
1248
|
// We use this for POS matching in `select`
|
|
1250
1249
|
needsContext: new RegExp("^" + Q + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + Q + "*((?:-\\d)?\\d*)" + Q + "*\\)|)(?=[^-]|$)", "i")
|
|
1251
|
-
}, Ie = /^(?:input|select|textarea|button)$/i, qe = /^h\d$/i, pe = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, $t = /[+~]/,
|
|
1250
|
+
}, Ie = /^(?:input|select|textarea|button)$/i, qe = /^h\d$/i, pe = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, $t = /[+~]/, Ae = new RegExp("\\\\[\\da-fA-F]{1,6}" + Q + "?|\\\\([^\\r\\n\\f])", "g"), Re = function(f, d) {
|
|
1252
1251
|
var g = "0x" + f.slice(1) - 65536;
|
|
1253
1252
|
return d || (g < 0 ? String.fromCharCode(g + 65536) : String.fromCharCode(g >> 10 | 55296, g & 1023 | 56320));
|
|
1254
1253
|
}, Vn = function() {
|
|
1255
|
-
|
|
1254
|
+
Me();
|
|
1256
1255
|
}, Un = wt(
|
|
1257
1256
|
function(f) {
|
|
1258
1257
|
return f.disabled === !0 && K(f, "fieldset");
|
|
@@ -1273,20 +1272,20 @@ function Cr() {
|
|
|
1273
1272
|
} catch {
|
|
1274
1273
|
o = {
|
|
1275
1274
|
apply: function(d, g) {
|
|
1276
|
-
|
|
1275
|
+
Dt.apply(d, w.call(g));
|
|
1277
1276
|
},
|
|
1278
1277
|
call: function(d) {
|
|
1279
|
-
|
|
1278
|
+
Dt.apply(d, w.call(arguments, 1));
|
|
1280
1279
|
}
|
|
1281
1280
|
};
|
|
1282
1281
|
}
|
|
1283
1282
|
function Y(f, d, g, v) {
|
|
1284
|
-
var b, C, E, N,
|
|
1283
|
+
var b, C, E, N, D, B, H, O = d && d.ownerDocument, V = d ? d.nodeType : 9;
|
|
1285
1284
|
if (g = g || [], typeof f != "string" || !f || V !== 1 && V !== 9 && V !== 11)
|
|
1286
1285
|
return g;
|
|
1287
|
-
if (!v && (
|
|
1288
|
-
if (V !== 11 && (
|
|
1289
|
-
if (b =
|
|
1286
|
+
if (!v && (Me(d), d = d || u, l)) {
|
|
1287
|
+
if (V !== 11 && (D = pe.exec(f)))
|
|
1288
|
+
if (b = D[1]) {
|
|
1290
1289
|
if (V === 9)
|
|
1291
1290
|
if (E = d.getElementById(b)) {
|
|
1292
1291
|
if (E.id === b)
|
|
@@ -1296,14 +1295,14 @@ function Cr() {
|
|
|
1296
1295
|
else if (O && (E = O.getElementById(b)) && Y.contains(d, E) && E.id === b)
|
|
1297
1296
|
return o.call(g, E), g;
|
|
1298
1297
|
} else {
|
|
1299
|
-
if (
|
|
1298
|
+
if (D[2])
|
|
1300
1299
|
return o.apply(g, d.getElementsByTagName(f)), g;
|
|
1301
|
-
if ((b =
|
|
1300
|
+
if ((b = D[3]) && d.getElementsByClassName)
|
|
1302
1301
|
return o.apply(g, d.getElementsByClassName(b)), g;
|
|
1303
1302
|
}
|
|
1304
1303
|
if (!se[f + " "] && (!h || !h.test(f))) {
|
|
1305
1304
|
if (H = f, O = d, V === 1 && (Ut.test(f) || ut.test(f))) {
|
|
1306
|
-
for (O = $t.test(f) && zt(d.parentNode) || d, (O != d || !
|
|
1305
|
+
for (O = $t.test(f) && zt(d.parentNode) || d, (O != d || !j.scope) && ((N = d.getAttribute("id")) ? N = r.escapeSelector(N) : d.setAttribute("id", N = T)), B = lt(f), C = B.length; C--; )
|
|
1307
1306
|
B[C] = (N ? "#" + N : ":scope") + " " + Tt(B[C]);
|
|
1308
1307
|
H = B.join(",");
|
|
1309
1308
|
}
|
|
@@ -1368,26 +1367,26 @@ function Cr() {
|
|
|
1368
1367
|
function zt(f) {
|
|
1369
1368
|
return f && typeof f.getElementsByTagName < "u" && f;
|
|
1370
1369
|
}
|
|
1371
|
-
function
|
|
1370
|
+
function Me(f) {
|
|
1372
1371
|
var d, g = f ? f.ownerDocument || f : ke;
|
|
1373
1372
|
return g == u || g.nodeType !== 9 || !g.documentElement || (u = g, c = u.documentElement, l = !r.isXMLDoc(u), x = c.matches || c.webkitMatchesSelector || c.msMatchesSelector, c.msMatchesSelector && // Support: IE 11+, Edge 17 - 18+
|
|
1374
1373
|
// IE/Edge sometimes throw a "Permission denied" error when strict-comparing
|
|
1375
1374
|
// two documents; shallow comparisons work.
|
|
1376
1375
|
// eslint-disable-next-line eqeqeq
|
|
1377
|
-
ke != u && (d = u.defaultView) && d.top !== d && d.addEventListener("unload", Vn),
|
|
1376
|
+
ke != u && (d = u.defaultView) && d.top !== d && d.addEventListener("unload", Vn), j.getById = Ye(function(v) {
|
|
1378
1377
|
return c.appendChild(v).id = r.expando, !u.getElementsByName || !u.getElementsByName(r.expando).length;
|
|
1379
|
-
}),
|
|
1378
|
+
}), j.disconnectedMatch = Ye(function(v) {
|
|
1380
1379
|
return x.call(v, "*");
|
|
1381
|
-
}),
|
|
1380
|
+
}), j.scope = Ye(function() {
|
|
1382
1381
|
return u.querySelectorAll(":scope");
|
|
1383
|
-
}),
|
|
1382
|
+
}), j.cssHas = Ye(function() {
|
|
1384
1383
|
try {
|
|
1385
1384
|
return u.querySelector(":has(*,:jqfake)"), !1;
|
|
1386
1385
|
} catch {
|
|
1387
1386
|
return !0;
|
|
1388
1387
|
}
|
|
1389
|
-
}),
|
|
1390
|
-
var b = v.replace(
|
|
1388
|
+
}), j.getById ? (t.filter.ID = function(v) {
|
|
1389
|
+
var b = v.replace(Ae, Re);
|
|
1391
1390
|
return function(C) {
|
|
1392
1391
|
return C.getAttribute("id") === b;
|
|
1393
1392
|
};
|
|
@@ -1397,20 +1396,20 @@ function Cr() {
|
|
|
1397
1396
|
return C ? [C] : [];
|
|
1398
1397
|
}
|
|
1399
1398
|
}) : (t.filter.ID = function(v) {
|
|
1400
|
-
var b = v.replace(
|
|
1399
|
+
var b = v.replace(Ae, Re);
|
|
1401
1400
|
return function(C) {
|
|
1402
1401
|
var E = typeof C.getAttributeNode < "u" && C.getAttributeNode("id");
|
|
1403
1402
|
return E && E.value === b;
|
|
1404
1403
|
};
|
|
1405
1404
|
}, t.find.ID = function(v, b) {
|
|
1406
1405
|
if (typeof b.getElementById < "u" && l) {
|
|
1407
|
-
var C, E, N,
|
|
1408
|
-
if (
|
|
1409
|
-
if (C =
|
|
1410
|
-
return [
|
|
1411
|
-
for (N = b.getElementsByName(v), E = 0;
|
|
1412
|
-
if (C =
|
|
1413
|
-
return [
|
|
1406
|
+
var C, E, N, D = b.getElementById(v);
|
|
1407
|
+
if (D) {
|
|
1408
|
+
if (C = D.getAttributeNode("id"), C && C.value === v)
|
|
1409
|
+
return [D];
|
|
1410
|
+
for (N = b.getElementsByName(v), E = 0; D = N[E++]; )
|
|
1411
|
+
if (C = D.getAttributeNode("id"), C && C.value === v)
|
|
1412
|
+
return [D];
|
|
1414
1413
|
}
|
|
1415
1414
|
return [];
|
|
1416
1415
|
}
|
|
@@ -1422,23 +1421,23 @@ function Cr() {
|
|
|
1422
1421
|
}, h = [], Ye(function(v) {
|
|
1423
1422
|
var b;
|
|
1424
1423
|
c.appendChild(v).innerHTML = "<a id='" + T + "' href='' disabled='disabled'></a><select id='" + T + "-\r\\' disabled='disabled'><option selected=''></option></select>", v.querySelectorAll("[selected]").length || h.push("\\[" + Q + "*(?:value|" + be + ")"), v.querySelectorAll("[id~=" + T + "-]").length || h.push("~="), v.querySelectorAll("a#" + T + "+*").length || h.push(".#.+[+~]"), v.querySelectorAll(":checked").length || h.push(":checked"), b = u.createElement("input"), b.setAttribute("type", "hidden"), v.appendChild(b).setAttribute("name", "D"), c.appendChild(v).disabled = !0, v.querySelectorAll(":disabled").length !== 2 && h.push(":enabled", ":disabled"), b = u.createElement("input"), b.setAttribute("name", ""), v.appendChild(b), v.querySelectorAll("[name='']").length || h.push("\\[" + Q + "*name" + Q + "*=" + Q + `*(?:''|"")`);
|
|
1425
|
-
}),
|
|
1424
|
+
}), j.cssHas || h.push(":has"), h = h.length && new RegExp(h.join("|")), ne = function(v, b) {
|
|
1426
1425
|
if (v === b)
|
|
1427
1426
|
return s = !0, 0;
|
|
1428
1427
|
var C = !v.compareDocumentPosition - !b.compareDocumentPosition;
|
|
1429
1428
|
return C || (C = (v.ownerDocument || v) == (b.ownerDocument || b) ? v.compareDocumentPosition(b) : (
|
|
1430
1429
|
// Otherwise we know they are disconnected
|
|
1431
1430
|
1
|
|
1432
|
-
), C & 1 || !
|
|
1431
|
+
), C & 1 || !j.sortDetached && b.compareDocumentPosition(v) === C ? v === u || v.ownerDocument == ke && Y.contains(ke, v) ? -1 : b === u || b.ownerDocument == ke && Y.contains(ke, b) ? 1 : n ? q.call(n, v) - q.call(n, b) : 0 : C & 4 ? -1 : 1);
|
|
1433
1432
|
}), u;
|
|
1434
1433
|
}
|
|
1435
1434
|
Y.matches = function(f, d) {
|
|
1436
1435
|
return Y(f, null, null, d);
|
|
1437
1436
|
}, Y.matchesSelector = function(f, d) {
|
|
1438
|
-
if (
|
|
1437
|
+
if (Me(f), l && !se[d + " "] && (!h || !h.test(d)))
|
|
1439
1438
|
try {
|
|
1440
1439
|
var g = x.call(f, d);
|
|
1441
|
-
if (g ||
|
|
1440
|
+
if (g || j.disconnectedMatch || // As well, disconnected nodes are said to be in a document
|
|
1442
1441
|
// fragment in IE 9
|
|
1443
1442
|
f.document && f.document.nodeType !== 11)
|
|
1444
1443
|
return g;
|
|
@@ -1447,16 +1446,16 @@ function Cr() {
|
|
|
1447
1446
|
}
|
|
1448
1447
|
return Y(d, u, null, [f]).length > 0;
|
|
1449
1448
|
}, Y.contains = function(f, d) {
|
|
1450
|
-
return (f.ownerDocument || f) != u &&
|
|
1449
|
+
return (f.ownerDocument || f) != u && Me(f), r.contains(f, d);
|
|
1451
1450
|
}, Y.attr = function(f, d) {
|
|
1452
|
-
(f.ownerDocument || f) != u &&
|
|
1451
|
+
(f.ownerDocument || f) != u && Me(f);
|
|
1453
1452
|
var g = t.attrHandle[d.toLowerCase()], v = g && Z.call(t.attrHandle, d.toLowerCase()) ? g(f, d, !l) : void 0;
|
|
1454
1453
|
return v !== void 0 ? v : f.getAttribute(d);
|
|
1455
1454
|
}, Y.error = function(f) {
|
|
1456
1455
|
throw new Error("Syntax error, unrecognized expression: " + f);
|
|
1457
1456
|
}, r.uniqueSort = function(f) {
|
|
1458
1457
|
var d, g = [], v = 0, b = 0;
|
|
1459
|
-
if (s = !
|
|
1458
|
+
if (s = !j.sortStable, n = !j.sortStable && w.call(f, 0), Ui.call(f, ne), s) {
|
|
1460
1459
|
for (; d = f[b++]; )
|
|
1461
1460
|
d === f[b] && (v = g.push(b));
|
|
1462
1461
|
for (; v--; )
|
|
@@ -1480,7 +1479,7 @@ function Cr() {
|
|
|
1480
1479
|
},
|
|
1481
1480
|
preFilter: {
|
|
1482
1481
|
ATTR: function(f) {
|
|
1483
|
-
return f[1] = f[1].replace(
|
|
1482
|
+
return f[1] = f[1].replace(Ae, Re), f[3] = (f[3] || f[4] || f[5] || "").replace(Ae, Re), f[2] === "~=" && (f[3] = " " + f[3] + " "), f.slice(0, 4);
|
|
1484
1483
|
},
|
|
1485
1484
|
CHILD: function(f) {
|
|
1486
1485
|
return f[1] = f[1].toLowerCase(), f[1].slice(0, 3) === "nth" ? (f[3] || Y.error(f[0]), f[4] = +(f[4] ? f[5] + (f[6] || 1) : 2 * (f[3] === "even" || f[3] === "odd")), f[5] = +(f[7] + f[8] || f[3] === "odd")) : f[3] && Y.error(f[0]), f;
|
|
@@ -1494,7 +1493,7 @@ function Cr() {
|
|
|
1494
1493
|
},
|
|
1495
1494
|
filter: {
|
|
1496
1495
|
TAG: function(f) {
|
|
1497
|
-
var d = f.replace(
|
|
1496
|
+
var d = f.replace(Ae, Re).toLowerCase();
|
|
1498
1497
|
return f === "*" ? function() {
|
|
1499
1498
|
return !0;
|
|
1500
1499
|
} : function(g) {
|
|
@@ -1519,30 +1518,30 @@ function Cr() {
|
|
|
1519
1518
|
var C = f.slice(0, 3) !== "nth", E = f.slice(-4) !== "last", N = d === "of-type";
|
|
1520
1519
|
return v === 1 && b === 0 ? (
|
|
1521
1520
|
// Shortcut for :nth-*(n)
|
|
1522
|
-
function(
|
|
1523
|
-
return !!
|
|
1521
|
+
function(D) {
|
|
1522
|
+
return !!D.parentNode;
|
|
1524
1523
|
}
|
|
1525
|
-
) : function(
|
|
1526
|
-
var O, V,
|
|
1524
|
+
) : function(D, B, H) {
|
|
1525
|
+
var O, V, M, J, ce, oe = C !== E ? "nextSibling" : "previousSibling", ge = D.parentNode, Ce = N && D.nodeName.toLowerCase(), Qe = !H && !N, ae = !1;
|
|
1527
1526
|
if (ge) {
|
|
1528
1527
|
if (C) {
|
|
1529
1528
|
for (; oe; ) {
|
|
1530
|
-
for (
|
|
1531
|
-
if (N ? K(
|
|
1529
|
+
for (M = D; M = M[oe]; )
|
|
1530
|
+
if (N ? K(M, Ce) : M.nodeType === 1)
|
|
1532
1531
|
return !1;
|
|
1533
1532
|
ce = oe = f === "only" && !ce && "nextSibling";
|
|
1534
1533
|
}
|
|
1535
1534
|
return !0;
|
|
1536
1535
|
}
|
|
1537
1536
|
if (ce = [E ? ge.firstChild : ge.lastChild], E && Qe) {
|
|
1538
|
-
for (V = ge[T] || (ge[T] = {}), O = V[f] || [], J = O[0] === y && O[1], ae = J && O[2],
|
|
1537
|
+
for (V = ge[T] || (ge[T] = {}), O = V[f] || [], J = O[0] === y && O[1], ae = J && O[2], M = J && ge.childNodes[J]; M = ++J && M && M[oe] || // Fallback to seeking `elem` from the start
|
|
1539
1538
|
(ae = J = 0) || ce.pop(); )
|
|
1540
|
-
if (
|
|
1539
|
+
if (M.nodeType === 1 && ++ae && M === D) {
|
|
1541
1540
|
V[f] = [y, J, ae];
|
|
1542
1541
|
break;
|
|
1543
1542
|
}
|
|
1544
|
-
} else if (Qe && (V =
|
|
1545
|
-
for (; (
|
|
1543
|
+
} else if (Qe && (V = D[T] || (D[T] = {}), O = V[f] || [], J = O[0] === y && O[1], ae = J), ae === !1)
|
|
1544
|
+
for (; (M = ++J && M && M[oe] || (ae = J = 0) || ce.pop()) && !((N ? K(M, Ce) : M.nodeType === 1) && ++ae && (Qe && (V = M[T] || (M[T] = {}), V[f] = [y, ae]), M === D)); )
|
|
1546
1545
|
;
|
|
1547
1546
|
return ae -= b, ae === v || ae % v === 0 && ae / v >= 0;
|
|
1548
1547
|
}
|
|
@@ -1551,8 +1550,8 @@ function Cr() {
|
|
|
1551
1550
|
PSEUDO: function(f, d) {
|
|
1552
1551
|
var g, v = t.pseudos[f] || t.setFilters[f.toLowerCase()] || Y.error("unsupported pseudo: " + f);
|
|
1553
1552
|
return v[T] ? v(d) : v.length > 1 ? (g = [f, f, "", d], t.setFilters.hasOwnProperty(f.toLowerCase()) ? me(function(b, C) {
|
|
1554
|
-
for (var E, N = v(b, d),
|
|
1555
|
-
E = q.call(b, N[
|
|
1553
|
+
for (var E, N = v(b, d), D = N.length; D--; )
|
|
1554
|
+
E = q.call(b, N[D]), b[E] = !(C[E] = N[D]);
|
|
1556
1555
|
}) : function(b) {
|
|
1557
1556
|
return v(b, 0, g);
|
|
1558
1557
|
}) : v;
|
|
@@ -1563,8 +1562,8 @@ function Cr() {
|
|
|
1563
1562
|
not: me(function(f) {
|
|
1564
1563
|
var d = [], g = [], v = Qt(f.replace(Ze, "$1"));
|
|
1565
1564
|
return v[T] ? me(function(b, C, E, N) {
|
|
1566
|
-
for (var
|
|
1567
|
-
(
|
|
1565
|
+
for (var D, B = v(b, null, N, []), H = b.length; H--; )
|
|
1566
|
+
(D = B[H]) && (b[H] = !(C[H] = D));
|
|
1568
1567
|
}) : function(b, C, E) {
|
|
1569
1568
|
return d[0] = b, v(d, null, E, g), d[0] = null, !g.pop();
|
|
1570
1569
|
};
|
|
@@ -1575,7 +1574,7 @@ function Cr() {
|
|
|
1575
1574
|
};
|
|
1576
1575
|
}),
|
|
1577
1576
|
contains: me(function(f) {
|
|
1578
|
-
return f = f.replace(
|
|
1577
|
+
return f = f.replace(Ae, Re), function(d) {
|
|
1579
1578
|
return (d.textContent || r.text(d)).indexOf(f) > -1;
|
|
1580
1579
|
};
|
|
1581
1580
|
}),
|
|
@@ -1587,7 +1586,7 @@ function Cr() {
|
|
|
1587
1586
|
// The identifier C does not have to be a valid language name."
|
|
1588
1587
|
// https://www.w3.org/TR/selectors/#lang-pseudo
|
|
1589
1588
|
lang: me(function(f) {
|
|
1590
|
-
return ft.test(f || "") || Y.error("unsupported lang: " + f), f = f.replace(
|
|
1589
|
+
return ft.test(f || "") || Y.error("unsupported lang: " + f), f = f.replace(Ae, Re).toLowerCase(), function(d) {
|
|
1591
1590
|
var g;
|
|
1592
1591
|
do
|
|
1593
1592
|
if (g = l ? d.lang : d.getAttribute("xml:lang") || d.getAttribute("lang"))
|
|
@@ -1684,17 +1683,17 @@ function Cr() {
|
|
|
1684
1683
|
}
|
|
1685
1684
|
Fi.prototype = t.filters = t.pseudos, t.setFilters = new Fi();
|
|
1686
1685
|
function lt(f, d) {
|
|
1687
|
-
var g, v, b, C, E, N,
|
|
1686
|
+
var g, v, b, C, E, N, D, B = z[f + " "];
|
|
1688
1687
|
if (B)
|
|
1689
1688
|
return d ? 0 : B.slice(0);
|
|
1690
|
-
for (E = f, N = [],
|
|
1689
|
+
for (E = f, N = [], D = t.preFilter; E; ) {
|
|
1691
1690
|
(!g || (v = te.exec(E))) && (v && (E = E.slice(v[0].length) || E), N.push(b = [])), g = !1, (v = ut.exec(E)) && (g = v.shift(), b.push({
|
|
1692
1691
|
value: g,
|
|
1693
1692
|
// Cast descendant combinators to space
|
|
1694
1693
|
type: v[0].replace(Ze, " ")
|
|
1695
1694
|
}), E = E.slice(g.length));
|
|
1696
1695
|
for (C in t.filter)
|
|
1697
|
-
(v = Se[C].exec(E)) && (!
|
|
1696
|
+
(v = Se[C].exec(E)) && (!D[C] || (v = D[C](v))) && (g = v.shift(), b.push({
|
|
1698
1697
|
value: g,
|
|
1699
1698
|
type: C,
|
|
1700
1699
|
matches: v
|
|
@@ -1716,29 +1715,29 @@ function Cr() {
|
|
|
1716
1715
|
var v = d.dir, b = d.next, C = b || v, E = g && C === "parentNode", N = S++;
|
|
1717
1716
|
return d.first ? (
|
|
1718
1717
|
// Check against closest ancestor/preceding element
|
|
1719
|
-
function(
|
|
1720
|
-
for (;
|
|
1721
|
-
if (
|
|
1722
|
-
return f(
|
|
1718
|
+
function(D, B, H) {
|
|
1719
|
+
for (; D = D[v]; )
|
|
1720
|
+
if (D.nodeType === 1 || E)
|
|
1721
|
+
return f(D, B, H);
|
|
1723
1722
|
return !1;
|
|
1724
1723
|
}
|
|
1725
1724
|
) : (
|
|
1726
1725
|
// Check against all ancestor/preceding elements
|
|
1727
|
-
function(
|
|
1728
|
-
var O, V,
|
|
1726
|
+
function(D, B, H) {
|
|
1727
|
+
var O, V, M = [y, N];
|
|
1729
1728
|
if (H) {
|
|
1730
|
-
for (;
|
|
1731
|
-
if ((
|
|
1729
|
+
for (; D = D[v]; )
|
|
1730
|
+
if ((D.nodeType === 1 || E) && f(D, B, H))
|
|
1732
1731
|
return !0;
|
|
1733
1732
|
} else
|
|
1734
|
-
for (;
|
|
1735
|
-
if (
|
|
1736
|
-
if (V =
|
|
1737
|
-
|
|
1733
|
+
for (; D = D[v]; )
|
|
1734
|
+
if (D.nodeType === 1 || E)
|
|
1735
|
+
if (V = D[T] || (D[T] = {}), b && K(D, b))
|
|
1736
|
+
D = D[v] || D;
|
|
1738
1737
|
else {
|
|
1739
1738
|
if ((O = V[C]) && O[0] === y && O[1] === N)
|
|
1740
|
-
return
|
|
1741
|
-
if (V[C] =
|
|
1739
|
+
return M[2] = O[2];
|
|
1740
|
+
if (V[C] = M, M[2] = f(D, B, H))
|
|
1742
1741
|
return !0;
|
|
1743
1742
|
}
|
|
1744
1743
|
return !1;
|
|
@@ -1759,49 +1758,49 @@ function Cr() {
|
|
|
1759
1758
|
return g;
|
|
1760
1759
|
}
|
|
1761
1760
|
function St(f, d, g, v, b) {
|
|
1762
|
-
for (var C, E = [], N = 0,
|
|
1761
|
+
for (var C, E = [], N = 0, D = f.length, B = d != null; N < D; N++)
|
|
1763
1762
|
(C = f[N]) && (!g || g(C, v, b)) && (E.push(C), B && d.push(N));
|
|
1764
1763
|
return E;
|
|
1765
1764
|
}
|
|
1766
1765
|
function Gt(f, d, g, v, b, C) {
|
|
1767
|
-
return v && !v[T] && (v = Gt(v)), b && !b[T] && (b = Gt(b, C)), me(function(E, N,
|
|
1768
|
-
var H, O, V,
|
|
1766
|
+
return v && !v[T] && (v = Gt(v)), b && !b[T] && (b = Gt(b, C)), me(function(E, N, D, B) {
|
|
1767
|
+
var H, O, V, M, J = [], ce = [], oe = N.length, ge = E || Gn(
|
|
1769
1768
|
d || "*",
|
|
1770
|
-
|
|
1769
|
+
D.nodeType ? [D] : D,
|
|
1771
1770
|
[]
|
|
1772
|
-
), Ce = f && (E || !d) ? St(ge, J, f,
|
|
1773
|
-
if (g ? (
|
|
1771
|
+
), Ce = f && (E || !d) ? St(ge, J, f, D, B) : ge;
|
|
1772
|
+
if (g ? (M = b || (E ? f : oe || v) ? (
|
|
1774
1773
|
// ...intermediate processing is necessary
|
|
1775
1774
|
[]
|
|
1776
1775
|
) : (
|
|
1777
1776
|
// ...otherwise use results directly
|
|
1778
1777
|
N
|
|
1779
|
-
), g(Ce,
|
|
1780
|
-
for (H = St(
|
|
1781
|
-
(V = H[O]) && (
|
|
1778
|
+
), g(Ce, M, D, B)) : M = Ce, v)
|
|
1779
|
+
for (H = St(M, ce), v(H, [], D, B), O = H.length; O--; )
|
|
1780
|
+
(V = H[O]) && (M[ce[O]] = !(Ce[ce[O]] = V));
|
|
1782
1781
|
if (E) {
|
|
1783
1782
|
if (b || f) {
|
|
1784
1783
|
if (b) {
|
|
1785
|
-
for (H = [], O =
|
|
1786
|
-
(V =
|
|
1787
|
-
b(null,
|
|
1784
|
+
for (H = [], O = M.length; O--; )
|
|
1785
|
+
(V = M[O]) && H.push(Ce[O] = V);
|
|
1786
|
+
b(null, M = [], H, B);
|
|
1788
1787
|
}
|
|
1789
|
-
for (O =
|
|
1790
|
-
(V =
|
|
1788
|
+
for (O = M.length; O--; )
|
|
1789
|
+
(V = M[O]) && (H = b ? q.call(E, V) : J[O]) > -1 && (E[H] = !(N[H] = V));
|
|
1791
1790
|
}
|
|
1792
1791
|
} else
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
), b ? b(null, N,
|
|
1792
|
+
M = St(
|
|
1793
|
+
M === N ? M.splice(oe, M.length) : M
|
|
1794
|
+
), b ? b(null, N, M, B) : o.apply(N, M);
|
|
1796
1795
|
});
|
|
1797
1796
|
}
|
|
1798
1797
|
function Yt(f) {
|
|
1799
|
-
for (var d, g, v, b = f.length, C = t.relative[f[0].type], E = C || t.relative[" "], N = C ? 1 : 0,
|
|
1798
|
+
for (var d, g, v, b = f.length, C = t.relative[f[0].type], E = C || t.relative[" "], N = C ? 1 : 0, D = wt(function(O) {
|
|
1800
1799
|
return O === d;
|
|
1801
1800
|
}, E, !0), B = wt(function(O) {
|
|
1802
1801
|
return q.call(d, O) > -1;
|
|
1803
|
-
}, E, !0), H = [function(O, V,
|
|
1804
|
-
var J = !C && (
|
|
1802
|
+
}, E, !0), H = [function(O, V, M) {
|
|
1803
|
+
var J = !C && (M || V != i) || ((d = V).nodeType ? D(O, V, M) : B(O, V, M));
|
|
1805
1804
|
return d = null, J;
|
|
1806
1805
|
}]; N < b; N++)
|
|
1807
1806
|
if (g = t.relative[f[N].type])
|
|
@@ -1827,29 +1826,29 @@ function Cr() {
|
|
|
1827
1826
|
return Xt(H);
|
|
1828
1827
|
}
|
|
1829
1828
|
function Yn(f, d) {
|
|
1830
|
-
var g = d.length > 0, v = f.length > 0, b = function(C, E, N,
|
|
1831
|
-
var H, O, V,
|
|
1829
|
+
var g = d.length > 0, v = f.length > 0, b = function(C, E, N, D, B) {
|
|
1830
|
+
var H, O, V, M = 0, J = "0", ce = C && [], oe = [], ge = i, Ce = C || v && t.find.TAG("*", B), Qe = y += ge == null ? 1 : Math.random() || 0.1, ae = Ce.length;
|
|
1832
1831
|
for (B && (i = E == u || E || B); J !== ae && (H = Ce[J]) != null; J++) {
|
|
1833
1832
|
if (v && H) {
|
|
1834
|
-
for (O = 0, !E && H.ownerDocument != u && (
|
|
1833
|
+
for (O = 0, !E && H.ownerDocument != u && (Me(H), N = !l); V = f[O++]; )
|
|
1835
1834
|
if (V(H, E || u, N)) {
|
|
1836
|
-
o.call(
|
|
1835
|
+
o.call(D, H);
|
|
1837
1836
|
break;
|
|
1838
1837
|
}
|
|
1839
1838
|
B && (y = Qe);
|
|
1840
1839
|
}
|
|
1841
|
-
g && ((H = !V && H) &&
|
|
1840
|
+
g && ((H = !V && H) && M--, C && ce.push(H));
|
|
1842
1841
|
}
|
|
1843
|
-
if (
|
|
1842
|
+
if (M += J, g && J !== M) {
|
|
1844
1843
|
for (O = 0; V = d[O++]; )
|
|
1845
1844
|
V(ce, oe, E, N);
|
|
1846
1845
|
if (C) {
|
|
1847
|
-
if (
|
|
1846
|
+
if (M > 0)
|
|
1848
1847
|
for (; J--; )
|
|
1849
|
-
ce[J] || oe[J] || (oe[J] = Vi.call(
|
|
1848
|
+
ce[J] || oe[J] || (oe[J] = Vi.call(D));
|
|
1850
1849
|
oe = St(oe);
|
|
1851
1850
|
}
|
|
1852
|
-
o.apply(
|
|
1851
|
+
o.apply(D, oe), B && !C && oe.length > 0 && M + d.length > 1 && r.uniqueSort(D);
|
|
1853
1852
|
}
|
|
1854
1853
|
return B && (y = Qe, i = ge), ce;
|
|
1855
1854
|
};
|
|
@@ -1868,11 +1867,11 @@ function Cr() {
|
|
|
1868
1867
|
return C;
|
|
1869
1868
|
}
|
|
1870
1869
|
function Oi(f, d, g, v) {
|
|
1871
|
-
var b, C, E, N,
|
|
1870
|
+
var b, C, E, N, D, B = typeof f == "function" && f, H = !v && lt(f = B.selector || f);
|
|
1872
1871
|
if (g = g || [], H.length === 1) {
|
|
1873
1872
|
if (C = H[0] = H[0].slice(0), C.length > 2 && (E = C[0]).type === "ID" && d.nodeType === 9 && l && t.relative[C[1].type]) {
|
|
1874
1873
|
if (d = (t.find.ID(
|
|
1875
|
-
E.matches[0].replace(
|
|
1874
|
+
E.matches[0].replace(Ae, Re),
|
|
1876
1875
|
d
|
|
1877
1876
|
) || [])[0], d)
|
|
1878
1877
|
B && (d = d.parentNode);
|
|
@@ -1880,8 +1879,8 @@ function Cr() {
|
|
|
1880
1879
|
f = f.slice(C.shift().value.length);
|
|
1881
1880
|
}
|
|
1882
1881
|
for (b = Se.needsContext.test(f) ? 0 : C.length; b-- && (E = C[b], !t.relative[N = E.type]); )
|
|
1883
|
-
if ((
|
|
1884
|
-
E.matches[0].replace(
|
|
1882
|
+
if ((D = t.find[N]) && (v = D(
|
|
1883
|
+
E.matches[0].replace(Ae, Re),
|
|
1885
1884
|
$t.test(C[0].type) && zt(d.parentNode) || d
|
|
1886
1885
|
))) {
|
|
1887
1886
|
if (C.splice(b, 1), f = v.length && Tt(C), !f)
|
|
@@ -1897,9 +1896,9 @@ function Cr() {
|
|
|
1897
1896
|
!d || $t.test(f) && zt(d.parentNode) || d
|
|
1898
1897
|
), g;
|
|
1899
1898
|
}
|
|
1900
|
-
|
|
1899
|
+
j.sortStable = T.split("").sort(ne).join("") === T, Me(), j.sortDetached = Ye(function(f) {
|
|
1901
1900
|
return f.compareDocumentPosition(u.createElement("fieldset")) & 1;
|
|
1902
|
-
}), r.find = Y, r.expr[":"] = r.expr.pseudos, r.unique = r.uniqueSort, Y.compile = Qt, Y.select = Oi, Y.setDocument =
|
|
1901
|
+
}), r.find = Y, r.expr[":"] = r.expr.pseudos, r.unique = r.uniqueSort, Y.compile = Qt, Y.select = Oi, Y.setDocument = Me, Y.tokenize = lt, Y.escape = r.escapeSelector, Y.getText = r.text, Y.isXML = r.isXMLDoc, Y.selectors = r.expr, Y.support = r.support, Y.uniqueSort = r.uniqueSort;
|
|
1903
1902
|
})();
|
|
1904
1903
|
var _e = function(e, t, i) {
|
|
1905
1904
|
for (var n = [], s = i !== void 0; (e = e[t]) && e.nodeType !== 9; )
|
|
@@ -1914,7 +1913,7 @@ function Cr() {
|
|
|
1914
1913
|
e.nodeType === 1 && e !== t && i.push(e);
|
|
1915
1914
|
return i;
|
|
1916
1915
|
}, ti = r.expr.match.needsContext, ii = /^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;
|
|
1917
|
-
function
|
|
1916
|
+
function At(e, t, i) {
|
|
1918
1917
|
return W(t) ? r.grep(e, function(n, s) {
|
|
1919
1918
|
return !!t.call(n, s, n) !== i;
|
|
1920
1919
|
}) : t.nodeType ? r.grep(e, function(n) {
|
|
@@ -1942,13 +1941,13 @@ function Cr() {
|
|
|
1942
1941
|
return n > 1 ? r.uniqueSort(i) : i;
|
|
1943
1942
|
},
|
|
1944
1943
|
filter: function(e) {
|
|
1945
|
-
return this.pushStack(
|
|
1944
|
+
return this.pushStack(At(this, e || [], !1));
|
|
1946
1945
|
},
|
|
1947
1946
|
not: function(e) {
|
|
1948
|
-
return this.pushStack(
|
|
1947
|
+
return this.pushStack(At(this, e || [], !0));
|
|
1949
1948
|
},
|
|
1950
1949
|
is: function(e) {
|
|
1951
|
-
return !!
|
|
1950
|
+
return !!At(
|
|
1952
1951
|
this,
|
|
1953
1952
|
// If this is a positional/relative selector, check membership in the returned set
|
|
1954
1953
|
// so $("p:first").is("p:last") won't return true for a doc with two "p".
|
|
@@ -2552,10 +2551,10 @@ function Cr() {
|
|
|
2552
2551
|
return c(), s.promise(t);
|
|
2553
2552
|
}
|
|
2554
2553
|
});
|
|
2555
|
-
var ai = /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source, it = new RegExp("^(?:([+-])=|)(" + ai + ")([a-z%]*)$", "i"),
|
|
2554
|
+
var ai = /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source, it = new RegExp("^(?:([+-])=|)(" + ai + ")([a-z%]*)$", "i"), De = ["Top", "Right", "Bottom", "Left"], je = L.documentElement, Ve = function(e) {
|
|
2556
2555
|
return r.contains(e.ownerDocument, e);
|
|
2557
2556
|
}, an = { composed: !0 };
|
|
2558
|
-
|
|
2557
|
+
je.getRootNode && (Ve = function(e) {
|
|
2559
2558
|
return r.contains(e.ownerDocument, e) || e.getRootNode(an) === e.ownerDocument;
|
|
2560
2559
|
});
|
|
2561
2560
|
var gt = function(e, t) {
|
|
@@ -2606,7 +2605,7 @@ function Cr() {
|
|
|
2606
2605
|
var nt = /^(?:checkbox|radio)$/i, li = /<([a-z][^\/\0>\x20\t\r\n\f]*)/i, ci = /^$|^module$|\/(?:java|ecma)script/i;
|
|
2607
2606
|
(function() {
|
|
2608
2607
|
var e = L.createDocumentFragment(), t = e.appendChild(L.createElement("div")), i = L.createElement("input");
|
|
2609
|
-
i.setAttribute("type", "radio"), i.setAttribute("checked", "checked"), i.setAttribute("name", "t"), t.appendChild(i),
|
|
2608
|
+
i.setAttribute("type", "radio"), i.setAttribute("checked", "checked"), i.setAttribute("name", "t"), t.appendChild(i), j.checkClone = t.cloneNode(!0).cloneNode(!0).lastChild.checked, t.innerHTML = "<textarea>x</textarea>", j.noCloneChecked = !!t.cloneNode(!0).lastChild.defaultValue, t.innerHTML = "<option></option>", j.option = !!t.lastChild;
|
|
2610
2609
|
})();
|
|
2611
2610
|
var he = {
|
|
2612
2611
|
// XHTML parsers do not magically insert elements in the
|
|
@@ -2618,7 +2617,7 @@ function Cr() {
|
|
|
2618
2617
|
td: [3, "<table><tbody><tr>", "</tr></tbody></table>"],
|
|
2619
2618
|
_default: [0, "", ""]
|
|
2620
2619
|
};
|
|
2621
|
-
he.tbody = he.tfoot = he.colgroup = he.caption = he.thead, he.th = he.td,
|
|
2620
|
+
he.tbody = he.tfoot = he.colgroup = he.caption = he.thead, he.th = he.td, j.option || (he.optgroup = he.option = [1, "<select multiple='multiple'>", "</select>"]);
|
|
2622
2621
|
function fe(e, t) {
|
|
2623
2622
|
var i;
|
|
2624
2623
|
return typeof e.getElementsByTagName < "u" ? i = e.getElementsByTagName(t || "*") : typeof e.querySelectorAll < "u" ? i = e.querySelectorAll(t || "*") : i = [], t === void 0 || t && K(e, t) ? r.merge([e], i) : i;
|
|
@@ -2685,7 +2684,7 @@ function Cr() {
|
|
|
2685
2684
|
add: function(e, t, i, n, s) {
|
|
2686
2685
|
var o, u, c, l, h, x, T, y, S, P, z, _ = I.get(e);
|
|
2687
2686
|
if (et(e))
|
|
2688
|
-
for (i.handler && (o = i, i = o.handler, s = o.selector), s && r.find.matchesSelector(
|
|
2687
|
+
for (i.handler && (o = i, i = o.handler, s = o.selector), s && r.find.matchesSelector(je, s), i.guid || (i.guid = r.guid++), (l = _.events) || (l = _.events = /* @__PURE__ */ Object.create(null)), (u = _.handle) || (u = _.handle = function(se) {
|
|
2689
2688
|
return typeof r < "u" && r.event.triggered !== se.type ? r.event.dispatch.apply(e, arguments) : void 0;
|
|
2690
2689
|
}), t = (t || "").match(ve) || [""], h = t.length; h--; )
|
|
2691
2690
|
c = hi.exec(t[h]) || [], S = z = c[1], P = (c[2] || "").split(".").sort(), S && (T = r.event.special[S] || {}, S = (s ? T.delegateType : T.bindType) || S, T = r.event.special[S] || {}, x = r.extend({
|
|
@@ -2991,9 +2990,9 @@ function Cr() {
|
|
|
2991
2990
|
i === "input" && nt.test(e.type) ? t.checked = e.checked : (i === "input" || i === "textarea") && (t.defaultValue = e.defaultValue);
|
|
2992
2991
|
}
|
|
2993
2992
|
function Xe(e, t, i, n) {
|
|
2994
|
-
t =
|
|
2993
|
+
t = A(t);
|
|
2995
2994
|
var s, o, u, c, l, h, x = 0, T = e.length, y = T - 1, S = t[0], P = W(S);
|
|
2996
|
-
if (P || T > 1 && typeof S == "string" && !
|
|
2995
|
+
if (P || T > 1 && typeof S == "string" && !j.checkClone && cn.test(S))
|
|
2997
2996
|
return e.each(function(z) {
|
|
2998
2997
|
var _ = e.eq(z);
|
|
2999
2998
|
P && (t[0] = S.call(this, z, _.html())), Xe(_, t, i, n);
|
|
@@ -3020,7 +3019,7 @@ function Cr() {
|
|
|
3020
3019
|
},
|
|
3021
3020
|
clone: function(e, t, i) {
|
|
3022
3021
|
var n, s, o, u, c = e.cloneNode(!0), l = Ve(e);
|
|
3023
|
-
if (!
|
|
3022
|
+
if (!j.noCloneChecked && (e.nodeType === 1 || e.nodeType === 11) && !r.isXMLDoc(e))
|
|
3024
3023
|
for (u = fe(c), o = fe(e), n = 0, s = o.length; n < s; n++)
|
|
3025
3024
|
gn(o[n], u[n]);
|
|
3026
3025
|
if (t)
|
|
@@ -3141,20 +3140,20 @@ function Cr() {
|
|
|
3141
3140
|
for (s in t)
|
|
3142
3141
|
e.style[s] = o[s];
|
|
3143
3142
|
return n;
|
|
3144
|
-
}, yn = new RegExp(
|
|
3143
|
+
}, yn = new RegExp(De.join("|"), "i");
|
|
3145
3144
|
(function() {
|
|
3146
3145
|
function e() {
|
|
3147
3146
|
if (h) {
|
|
3148
|
-
l.style.cssText = "position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0", h.style.cssText = "position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",
|
|
3147
|
+
l.style.cssText = "position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0", h.style.cssText = "position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%", je.appendChild(l).appendChild(h);
|
|
3149
3148
|
var x = a.getComputedStyle(h);
|
|
3150
|
-
i = x.top !== "1%", c = t(x.marginLeft) === 12, h.style.right = "60%", o = t(x.right) === 36, n = t(x.width) === 36, h.style.position = "absolute", s = t(h.offsetWidth / 3) === 12,
|
|
3149
|
+
i = x.top !== "1%", c = t(x.marginLeft) === 12, h.style.right = "60%", o = t(x.right) === 36, n = t(x.width) === 36, h.style.position = "absolute", s = t(h.offsetWidth / 3) === 12, je.removeChild(l), h = null;
|
|
3151
3150
|
}
|
|
3152
3151
|
}
|
|
3153
3152
|
function t(x) {
|
|
3154
3153
|
return Math.round(parseFloat(x));
|
|
3155
3154
|
}
|
|
3156
3155
|
var i, n, s, o, u, c, l = L.createElement("div"), h = L.createElement("div");
|
|
3157
|
-
h.style && (h.style.backgroundClip = "content-box", h.cloneNode(!0).style.backgroundClip = "",
|
|
3156
|
+
h.style && (h.style.backgroundClip = "content-box", h.cloneNode(!0).style.backgroundClip = "", j.clearCloneStyle = h.style.backgroundClip === "content-box", r.extend(j, {
|
|
3158
3157
|
boxSizingReliable: function() {
|
|
3159
3158
|
return e(), n;
|
|
3160
3159
|
},
|
|
@@ -3181,13 +3180,13 @@ function Cr() {
|
|
|
3181
3180
|
// in computed dimensions. (gh-4529)
|
|
3182
3181
|
reliableTrDimensions: function() {
|
|
3183
3182
|
var x, T, y, S;
|
|
3184
|
-
return u == null && (x = L.createElement("table"), T = L.createElement("tr"), y = L.createElement("div"), x.style.cssText = "position:absolute;left:-11111px;border-collapse:separate", T.style.cssText = "box-sizing:content-box;border:1px solid", T.style.height = "1px", y.style.height = "9px", y.style.display = "block",
|
|
3183
|
+
return u == null && (x = L.createElement("table"), T = L.createElement("tr"), y = L.createElement("div"), x.style.cssText = "position:absolute;left:-11111px;border-collapse:separate", T.style.cssText = "box-sizing:content-box;border:1px solid", T.style.height = "1px", y.style.height = "9px", y.style.display = "block", je.appendChild(x).appendChild(T).appendChild(y), S = a.getComputedStyle(T), u = parseInt(S.height, 10) + parseInt(S.borderTopWidth, 10) + parseInt(S.borderBottomWidth, 10) === T.offsetHeight, je.removeChild(x)), u;
|
|
3185
3184
|
}
|
|
3186
3185
|
}));
|
|
3187
3186
|
})();
|
|
3188
3187
|
function rt(e, t, i) {
|
|
3189
3188
|
var n, s, o, u, c = qt.test(t), l = e.style;
|
|
3190
|
-
return i = i || mt(e), i && (u = i.getPropertyValue(t) || i[t], c && u && (u = u.replace(Ze, "$1") || void 0), u === "" && !Ve(e) && (u = r.style(e, t)), !
|
|
3189
|
+
return i = i || mt(e), i && (u = i.getPropertyValue(t) || i[t], c && u && (u = u.replace(Ze, "$1") || void 0), u === "" && !Ve(e) && (u = r.style(e, t)), !j.pixelBoxStyles() && It.test(u) && yn.test(t) && (n = l.width, s = l.minWidth, o = l.maxWidth, l.minWidth = l.maxWidth = l.width = u, u = i.width, l.width = n, l.minWidth = s, l.maxWidth = o)), u !== void 0 ? (
|
|
3191
3190
|
// Support: IE <=9 - 11 only
|
|
3192
3191
|
// IE returns zIndex value as an integer.
|
|
3193
3192
|
u + ""
|
|
@@ -3210,7 +3209,7 @@ function Cr() {
|
|
|
3210
3209
|
if (e = xi[i] + t, e in bi)
|
|
3211
3210
|
return e;
|
|
3212
3211
|
}
|
|
3213
|
-
function
|
|
3212
|
+
function Mt(e) {
|
|
3214
3213
|
var t = r.cssProps[e] || Ti[e];
|
|
3215
3214
|
return t || (e in bi ? e : Ti[e] = mn(e) || e);
|
|
3216
3215
|
}
|
|
@@ -3225,12 +3224,12 @@ function Cr() {
|
|
|
3225
3224
|
Math.max(0, n[2] - (i || 0)) + (n[3] || "px")
|
|
3226
3225
|
) : t;
|
|
3227
3226
|
}
|
|
3228
|
-
function
|
|
3227
|
+
function jt(e, t, i, n, s, o) {
|
|
3229
3228
|
var u = t === "width" ? 1 : 0, c = 0, l = 0, h = 0;
|
|
3230
3229
|
if (i === (n ? "border" : "content"))
|
|
3231
3230
|
return 0;
|
|
3232
3231
|
for (; u < 4; u += 2)
|
|
3233
|
-
i === "margin" && (h += r.css(e, i +
|
|
3232
|
+
i === "margin" && (h += r.css(e, i + De[u], !0, s)), n ? (i === "content" && (l -= r.css(e, "padding" + De[u], !0, s)), i !== "margin" && (l -= r.css(e, "border" + De[u] + "Width", !0, s))) : (l += r.css(e, "padding" + De[u], !0, s), i !== "padding" ? l += r.css(e, "border" + De[u] + "Width", !0, s) : c += r.css(e, "border" + De[u] + "Width", !0, s));
|
|
3234
3233
|
return !n && o >= 0 && (l += Math.max(0, Math.ceil(
|
|
3235
3234
|
e["offset" + t[0].toUpperCase() + t.slice(1)] - o - l - c - 0.5
|
|
3236
3235
|
// If offsetWidth/offsetHeight is unknown, then we can't determine content-box scroll gutter
|
|
@@ -3238,22 +3237,22 @@ function Cr() {
|
|
|
3238
3237
|
)) || 0), l + h;
|
|
3239
3238
|
}
|
|
3240
3239
|
function Ci(e, t, i) {
|
|
3241
|
-
var n = mt(e), s = !
|
|
3240
|
+
var n = mt(e), s = !j.boxSizingReliable() || i, o = s && r.css(e, "boxSizing", !1, n) === "border-box", u = o, c = rt(e, t, n), l = "offset" + t[0].toUpperCase() + t.slice(1);
|
|
3242
3241
|
if (It.test(c)) {
|
|
3243
3242
|
if (!i)
|
|
3244
3243
|
return c;
|
|
3245
3244
|
c = "auto";
|
|
3246
3245
|
}
|
|
3247
|
-
return (!
|
|
3246
|
+
return (!j.boxSizingReliable() && o || // Support: IE 10 - 11+, Edge 15 - 18+
|
|
3248
3247
|
// IE/Edge misreport `getComputedStyle` of table rows with width/height
|
|
3249
3248
|
// set in CSS while `offset*` properties report correct values.
|
|
3250
3249
|
// Interestingly, in some cases IE 9 doesn't suffer from this issue.
|
|
3251
|
-
!
|
|
3250
|
+
!j.reliableTrDimensions() && K(e, "tr") || // Fall back to offsetWidth/offsetHeight when value is "auto"
|
|
3252
3251
|
// This happens for inline elements with no explicit setting (gh-3571)
|
|
3253
3252
|
c === "auto" || // Support: Android <=4.1 - 4.3 only
|
|
3254
3253
|
// Also use offsetWidth/offsetHeight for misreported inline dimensions (gh-3602)
|
|
3255
3254
|
!parseFloat(c) && r.css(e, "display", !1, n) === "inline") && // Make sure the element is visible & connected
|
|
3256
|
-
e.getClientRects().length && (o = r.css(e, "boxSizing", !1, n) === "border-box", u = l in e, u && (c = e[l])), c = parseFloat(c) || 0, c +
|
|
3255
|
+
e.getClientRects().length && (o = r.css(e, "boxSizing", !1, n) === "border-box", u = l in e, u && (c = e[l])), c = parseFloat(c) || 0, c + jt(
|
|
3257
3256
|
e,
|
|
3258
3257
|
t,
|
|
3259
3258
|
i || (o ? "border" : "content"),
|
|
@@ -3314,17 +3313,17 @@ function Cr() {
|
|
|
3314
3313
|
style: function(e, t, i, n) {
|
|
3315
3314
|
if (!(!e || e.nodeType === 3 || e.nodeType === 8 || !e.style)) {
|
|
3316
3315
|
var s, o, u, c = xe(t), l = qt.test(t), h = e.style;
|
|
3317
|
-
if (l || (t =
|
|
3316
|
+
if (l || (t = Mt(c)), u = r.cssHooks[t] || r.cssHooks[c], i !== void 0) {
|
|
3318
3317
|
if (o = typeof i, o === "string" && (s = it.exec(i)) && s[1] && (i = ui(e, t, s), o = "number"), i == null || i !== i)
|
|
3319
3318
|
return;
|
|
3320
|
-
o === "number" && !l && (i += s && s[3] || (r.cssNumber[c] ? "" : "px")), !
|
|
3319
|
+
o === "number" && !l && (i += s && s[3] || (r.cssNumber[c] ? "" : "px")), !j.clearCloneStyle && i === "" && t.indexOf("background") === 0 && (h[t] = "inherit"), (!u || !("set" in u) || (i = u.set(e, i, n)) !== void 0) && (l ? h.setProperty(t, i) : h[t] = i);
|
|
3321
3320
|
} else
|
|
3322
3321
|
return u && "get" in u && (s = u.get(e, !1, n)) !== void 0 ? s : h[t];
|
|
3323
3322
|
}
|
|
3324
3323
|
},
|
|
3325
3324
|
css: function(e, t, i, n) {
|
|
3326
3325
|
var s, o, u, c = xe(t), l = qt.test(t);
|
|
3327
|
-
return l || (t =
|
|
3326
|
+
return l || (t = Mt(c)), u = r.cssHooks[t] || r.cssHooks[c], u && "get" in u && (s = u.get(e, !0, i)), s === void 0 && (s = rt(e, t, n)), s === "normal" && t in wi && (s = wi[t]), i === "" || i ? (o = parseFloat(s), i === !0 || isFinite(o) ? o || 0 : s) : s;
|
|
3328
3327
|
}
|
|
3329
3328
|
}), r.each(["height", "width"], function(e, t) {
|
|
3330
3329
|
r.cssHooks[t] = {
|
|
@@ -3341,7 +3340,7 @@ function Cr() {
|
|
|
3341
3340
|
}) : Ci(i, t, s);
|
|
3342
3341
|
},
|
|
3343
3342
|
set: function(i, n, s) {
|
|
3344
|
-
var o, u = mt(i), c = !
|
|
3343
|
+
var o, u = mt(i), c = !j.scrollboxSize() && u.position === "absolute", l = c || s, h = l && r.css(i, "boxSizing", !1, u) === "border-box", x = s ? jt(
|
|
3345
3344
|
i,
|
|
3346
3345
|
t,
|
|
3347
3346
|
s,
|
|
@@ -3349,12 +3348,12 @@ function Cr() {
|
|
|
3349
3348
|
u
|
|
3350
3349
|
) : 0;
|
|
3351
3350
|
return h && c && (x -= Math.ceil(
|
|
3352
|
-
i["offset" + t[0].toUpperCase() + t.slice(1)] - parseFloat(u[t]) -
|
|
3351
|
+
i["offset" + t[0].toUpperCase() + t.slice(1)] - parseFloat(u[t]) - jt(i, t, "border", !1, u) - 0.5
|
|
3353
3352
|
)), x && (o = it.exec(n)) && (o[3] || "px") !== "px" && (i.style[t] = n, n = r.css(i, t)), Si(i, n, x);
|
|
3354
3353
|
}
|
|
3355
3354
|
};
|
|
3356
3355
|
}), r.cssHooks.marginLeft = vi(
|
|
3357
|
-
|
|
3356
|
+
j.reliableMarginLeft,
|
|
3358
3357
|
function(e, t) {
|
|
3359
3358
|
if (t)
|
|
3360
3359
|
return (parseFloat(rt(e, "marginLeft")) || e.getBoundingClientRect().left - mi(e, { marginLeft: 0 }, function() {
|
|
@@ -3369,7 +3368,7 @@ function Cr() {
|
|
|
3369
3368
|
r.cssHooks[e + t] = {
|
|
3370
3369
|
expand: function(i) {
|
|
3371
3370
|
for (var n = 0, s = {}, o = typeof i == "string" ? i.split(" ") : [i]; n < 4; n++)
|
|
3372
|
-
s[e +
|
|
3371
|
+
s[e + De[n] + t] = o[n] || o[n - 2] || o[0];
|
|
3373
3372
|
return s;
|
|
3374
3373
|
}
|
|
3375
3374
|
}, e !== "margin" && (r.cssHooks[e + t].set = Si);
|
|
@@ -3415,7 +3414,7 @@ function Cr() {
|
|
|
3415
3414
|
return e.elem.nodeType !== 1 || e.elem[e.prop] != null && e.elem.style[e.prop] == null ? e.elem[e.prop] : (t = r.css(e.elem, e.prop, ""), !t || t === "auto" ? 0 : t);
|
|
3416
3415
|
},
|
|
3417
3416
|
set: function(e) {
|
|
3418
|
-
r.fx.step[e.prop] ? r.fx.step[e.prop](e) : e.elem.nodeType === 1 && (r.cssHooks[e.prop] || e.elem.style[
|
|
3417
|
+
r.fx.step[e.prop] ? r.fx.step[e.prop](e) : e.elem.nodeType === 1 && (r.cssHooks[e.prop] || e.elem.style[Mt(e.prop)] != null) ? r.style(e.elem, e.prop, e.now + e.unit) : e.elem[e.prop] = e.now;
|
|
3419
3418
|
}
|
|
3420
3419
|
}
|
|
3421
3420
|
}, le.propHooks.scrollTop = le.propHooks.scrollLeft = {
|
|
@@ -3443,7 +3442,7 @@ function Cr() {
|
|
|
3443
3442
|
function xt(e, t) {
|
|
3444
3443
|
var i, n = 0, s = { height: e };
|
|
3445
3444
|
for (t = t ? 1 : 0; n < 4; n += 2 - t)
|
|
3446
|
-
i =
|
|
3445
|
+
i = De[n], s["margin" + i] = s["padding" + i] = e;
|
|
3447
3446
|
return t && (s.opacity = s.width = e), s;
|
|
3448
3447
|
}
|
|
3449
3448
|
function Ei(e, t, i) {
|
|
@@ -3648,9 +3647,9 @@ function Cr() {
|
|
|
3648
3647
|
});
|
|
3649
3648
|
}, (function() {
|
|
3650
3649
|
var e = L.createElement("input"), t = L.createElement("select"), i = t.appendChild(L.createElement("option"));
|
|
3651
|
-
e.type = "checkbox",
|
|
3650
|
+
e.type = "checkbox", j.checkOn = e.value !== "", j.optSelected = i.selected, e = L.createElement("input"), e.value = "t", e.type = "radio", j.radioValue = e.value === "t";
|
|
3652
3651
|
})();
|
|
3653
|
-
var
|
|
3652
|
+
var Di, st = r.expr.attrHandle;
|
|
3654
3653
|
r.fn.extend({
|
|
3655
3654
|
attr: function(e, t) {
|
|
3656
3655
|
return Ee(this, r.attr, e, t, arguments.length > 1);
|
|
@@ -3666,7 +3665,7 @@ function Cr() {
|
|
|
3666
3665
|
if (!(o === 3 || o === 8 || o === 2)) {
|
|
3667
3666
|
if (typeof e.getAttribute > "u")
|
|
3668
3667
|
return r.prop(e, t, i);
|
|
3669
|
-
if ((o !== 1 || !r.isXMLDoc(e)) && (s = r.attrHooks[t.toLowerCase()] || (r.expr.match.bool.test(t) ?
|
|
3668
|
+
if ((o !== 1 || !r.isXMLDoc(e)) && (s = r.attrHooks[t.toLowerCase()] || (r.expr.match.bool.test(t) ? Di : void 0)), i !== void 0) {
|
|
3670
3669
|
if (i === null) {
|
|
3671
3670
|
r.removeAttr(e, t);
|
|
3672
3671
|
return;
|
|
@@ -3679,7 +3678,7 @@ function Cr() {
|
|
|
3679
3678
|
attrHooks: {
|
|
3680
3679
|
type: {
|
|
3681
3680
|
set: function(e, t) {
|
|
3682
|
-
if (!
|
|
3681
|
+
if (!j.radioValue && t === "radio" && K(e, "input")) {
|
|
3683
3682
|
var i = e.value;
|
|
3684
3683
|
return e.setAttribute("type", t), i && (e.value = i), t;
|
|
3685
3684
|
}
|
|
@@ -3692,7 +3691,7 @@ function Cr() {
|
|
|
3692
3691
|
for (; i = s[n++]; )
|
|
3693
3692
|
e.removeAttribute(i);
|
|
3694
3693
|
}
|
|
3695
|
-
}),
|
|
3694
|
+
}), Di = {
|
|
3696
3695
|
set: function(e, t, i) {
|
|
3697
3696
|
return t === !1 ? r.removeAttr(e, i) : e.setAttribute(i, i), i;
|
|
3698
3697
|
}
|
|
@@ -3731,7 +3730,7 @@ function Cr() {
|
|
|
3731
3730
|
for: "htmlFor",
|
|
3732
3731
|
class: "className"
|
|
3733
3732
|
}
|
|
3734
|
-
}),
|
|
3733
|
+
}), j.optSelected || (r.propHooks.selected = {
|
|
3735
3734
|
get: function(e) {
|
|
3736
3735
|
var t = e.parentNode;
|
|
3737
3736
|
return t && t.parentNode && t.parentNode.selectedIndex, null;
|
|
@@ -3863,11 +3862,11 @@ function Cr() {
|
|
|
3863
3862
|
if (Array.isArray(t))
|
|
3864
3863
|
return e.checked = r.inArray(r(e).val(), t) > -1;
|
|
3865
3864
|
}
|
|
3866
|
-
},
|
|
3865
|
+
}, j.checkOn || (r.valHooks[this].get = function(e) {
|
|
3867
3866
|
return e.getAttribute("value") === null ? "on" : e.value;
|
|
3868
3867
|
});
|
|
3869
3868
|
});
|
|
3870
|
-
var ot = a.location,
|
|
3869
|
+
var ot = a.location, Ai = { guid: Date.now() }, Ft = /\?/;
|
|
3871
3870
|
r.parseXML = function(e) {
|
|
3872
3871
|
var t, i;
|
|
3873
3872
|
if (!e || typeof e != "string")
|
|
@@ -3923,12 +3922,12 @@ function Cr() {
|
|
|
3923
3922
|
return r.event.trigger(e, t, i, !0);
|
|
3924
3923
|
}
|
|
3925
3924
|
});
|
|
3926
|
-
var
|
|
3925
|
+
var Dn = /\[\]$/, Li = /\r?\n/g, An = /^(?:submit|button|image|reset|file)$/i, Rn = /^(?:input|select|textarea|keygen)/i;
|
|
3927
3926
|
function Ot(e, t, i, n) {
|
|
3928
3927
|
var s;
|
|
3929
3928
|
if (Array.isArray(t))
|
|
3930
3929
|
r.each(t, function(o, u) {
|
|
3931
|
-
i ||
|
|
3930
|
+
i || Dn.test(e) ? n(e, u) : Ot(
|
|
3932
3931
|
e + "[" + (typeof u == "object" && u != null ? o : "") + "]",
|
|
3933
3932
|
u,
|
|
3934
3933
|
i,
|
|
@@ -3966,7 +3965,7 @@ function Cr() {
|
|
|
3966
3965
|
return e ? r.makeArray(e) : this;
|
|
3967
3966
|
}).filter(function() {
|
|
3968
3967
|
var e = this.type;
|
|
3969
|
-
return this.name && !r(this).is(":disabled") && Rn.test(this.nodeName) && !
|
|
3968
|
+
return this.name && !r(this).is(":disabled") && Rn.test(this.nodeName) && !An.test(e) && (this.checked || !nt.test(e));
|
|
3970
3969
|
}).map(function(e, t) {
|
|
3971
3970
|
var i = r(this).val();
|
|
3972
3971
|
return i == null ? null : Array.isArray(i) ? r.map(i, function(n) {
|
|
@@ -3977,9 +3976,9 @@ function Cr() {
|
|
|
3977
3976
|
}).get();
|
|
3978
3977
|
}
|
|
3979
3978
|
});
|
|
3980
|
-
var Nn = /%20/g, Ln = /#.*$/, In = /([?&])_=[^&]*/, qn = /^(.*?):[ \t]*([^\r\n]*)$/mg,
|
|
3979
|
+
var Nn = /%20/g, Ln = /#.*$/, In = /([?&])_=[^&]*/, qn = /^(.*?):[ \t]*([^\r\n]*)$/mg, Mn = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/, jn = /^(?:GET|HEAD)$/, Hn = /^\/\//, Ii = {}, Wt = {}, qi = "*/".concat("*"), _t = L.createElement("a");
|
|
3981
3980
|
_t.href = ot.href;
|
|
3982
|
-
function
|
|
3981
|
+
function Mi(e) {
|
|
3983
3982
|
return function(t, i) {
|
|
3984
3983
|
typeof t != "string" && (i = t, t = "*");
|
|
3985
3984
|
var n, s = 0, o = t.toLowerCase().match(ve) || [];
|
|
@@ -3988,7 +3987,7 @@ function Cr() {
|
|
|
3988
3987
|
n[0] === "+" ? (n = n.slice(1) || "*", (e[n] = e[n] || []).unshift(i)) : (e[n] = e[n] || []).push(i);
|
|
3989
3988
|
};
|
|
3990
3989
|
}
|
|
3991
|
-
function
|
|
3990
|
+
function ji(e, t, i, n) {
|
|
3992
3991
|
var s = {}, o = e === Wt;
|
|
3993
3992
|
function u(c) {
|
|
3994
3993
|
var l;
|
|
@@ -4075,7 +4074,7 @@ function Cr() {
|
|
|
4075
4074
|
ajaxSettings: {
|
|
4076
4075
|
url: ot.href,
|
|
4077
4076
|
type: "GET",
|
|
4078
|
-
isLocal:
|
|
4077
|
+
isLocal: Mn.test(ot.protocol),
|
|
4079
4078
|
global: !0,
|
|
4080
4079
|
processData: !0,
|
|
4081
4080
|
async: !0,
|
|
@@ -4141,8 +4140,8 @@ function Cr() {
|
|
|
4141
4140
|
Bt(r.ajaxSettings, e)
|
|
4142
4141
|
);
|
|
4143
4142
|
},
|
|
4144
|
-
ajaxPrefilter:
|
|
4145
|
-
ajaxTransport:
|
|
4143
|
+
ajaxPrefilter: Mi(Ii),
|
|
4144
|
+
ajaxTransport: Mi(Wt),
|
|
4146
4145
|
// Main method
|
|
4147
4146
|
ajax: function(e, t) {
|
|
4148
4147
|
typeof e == "object" && (t = e, e = void 0), t = t || {};
|
|
@@ -4196,9 +4195,9 @@ function Cr() {
|
|
|
4196
4195
|
y.crossDomain = !0;
|
|
4197
4196
|
}
|
|
4198
4197
|
}
|
|
4199
|
-
if (y.data && y.processData && typeof y.data != "string" && (y.data = r.param(y.data, y.traditional)),
|
|
4198
|
+
if (y.data && y.processData && typeof y.data != "string" && (y.data = r.param(y.data, y.traditional)), ji(Ii, y, t, U), l)
|
|
4200
4199
|
return U;
|
|
4201
|
-
h = r.event && y.global, h && r.active++ === 0 && r.event.trigger("ajaxStart"), y.type = y.type.toUpperCase(), y.hasContent = !
|
|
4200
|
+
h = r.event && y.global, h && r.active++ === 0 && r.event.trigger("ajaxStart"), y.type = y.type.toUpperCase(), y.hasContent = !jn.test(y.type), n = y.url.replace(Ln, ""), y.hasContent ? y.data && y.processData && (y.contentType || "").indexOf("application/x-www-form-urlencoded") === 0 && (y.data = y.data.replace(Nn, "+")) : (T = y.url.slice(n.length), y.data && (y.processData || typeof y.data == "string") && (n += (Ft.test(n) ? "&" : "?") + y.data, delete y.data), y.cache === !1 && (n = n.replace(In, "$1"), T = (Ft.test(n) ? "&" : "?") + "_=" + Ai.guid++ + T), y.url = n + T), y.ifModified && (r.lastModified[n] && U.setRequestHeader("If-Modified-Since", r.lastModified[n]), r.etag[n] && U.setRequestHeader("If-None-Match", r.etag[n])), (y.data && y.hasContent && y.contentType !== !1 || t.contentType) && U.setRequestHeader("Content-Type", y.contentType), U.setRequestHeader(
|
|
4202
4201
|
"Accept",
|
|
4203
4202
|
y.dataTypes[0] && y.accepts[y.dataTypes[0]] ? y.accepts[y.dataTypes[0]] + (y.dataTypes[0] !== "*" ? ", " + qi + "; q=0.01" : "") : y.accepts["*"]
|
|
4204
4203
|
);
|
|
@@ -4206,7 +4205,7 @@ function Cr() {
|
|
|
4206
4205
|
U.setRequestHeader(x, y.headers[x]);
|
|
4207
4206
|
if (y.beforeSend && (y.beforeSend.call(S, U, y) === !1 || l))
|
|
4208
4207
|
return U.abort();
|
|
4209
|
-
if (Te = "abort", _.add(y.complete), U.done(y.success), U.fail(y.error), i =
|
|
4208
|
+
if (Te = "abort", _.add(y.complete), U.done(y.success), U.fail(y.error), i = ji(Wt, y, t, U), !i)
|
|
4210
4209
|
Fe(-1, "No Transport");
|
|
4211
4210
|
else {
|
|
4212
4211
|
if (U.readyState = 1, h && P.trigger("ajaxSend", [U, y]), l)
|
|
@@ -4317,9 +4316,9 @@ function Cr() {
|
|
|
4317
4316
|
// trac-1450: sometimes IE returns 1223 when it should be 204
|
|
4318
4317
|
1223: 204
|
|
4319
4318
|
}, at = r.ajaxSettings.xhr();
|
|
4320
|
-
|
|
4319
|
+
j.cors = !!at && "withCredentials" in at, j.ajax = at = !!at, r.ajaxTransport(function(e) {
|
|
4321
4320
|
var t, i;
|
|
4322
|
-
if (
|
|
4321
|
+
if (j.cors || at && !e.crossDomain)
|
|
4323
4322
|
return {
|
|
4324
4323
|
send: function(n, s) {
|
|
4325
4324
|
var o, u = e.xhr();
|
|
@@ -4402,7 +4401,7 @@ function Cr() {
|
|
|
4402
4401
|
r.ajaxSetup({
|
|
4403
4402
|
jsonp: "callback",
|
|
4404
4403
|
jsonpCallback: function() {
|
|
4405
|
-
var e = Hi.pop() || r.expando + "_" +
|
|
4404
|
+
var e = Hi.pop() || r.expando + "_" + Ai.guid++;
|
|
4406
4405
|
return this[e] = !0, e;
|
|
4407
4406
|
}
|
|
4408
4407
|
}), r.ajaxPrefilter("json jsonp", function(e, t, i) {
|
|
@@ -4415,7 +4414,7 @@ function Cr() {
|
|
|
4415
4414
|
}, i.always(function() {
|
|
4416
4415
|
s === void 0 ? r(a).removeProp(n) : a[n] = s, e[n] && (e.jsonpCallback = t.jsonpCallback, Hi.push(n)), o && W(s) && s(o[0]), o = s = void 0;
|
|
4417
4416
|
}), "script";
|
|
4418
|
-
}),
|
|
4417
|
+
}), j.createHTMLDocument = (function() {
|
|
4419
4418
|
var e = L.implementation.createHTMLDocument("").body;
|
|
4420
4419
|
return e.innerHTML = "<form></form><form></form>", e.childNodes.length === 2;
|
|
4421
4420
|
})(), r.parseHTML = function(e, t, i) {
|
|
@@ -4423,7 +4422,7 @@ function Cr() {
|
|
|
4423
4422
|
return [];
|
|
4424
4423
|
typeof t == "boolean" && (i = t, t = !1);
|
|
4425
4424
|
var n, s, o;
|
|
4426
|
-
return t || (
|
|
4425
|
+
return t || (j.createHTMLDocument ? (t = L.implementation.createHTMLDocument(""), n = t.createElement("base"), n.href = L.location.href, t.head.appendChild(n)) : t = L), s = ii.exec(e), o = !i && [], s ? [t.createElement(s[1])] : (s = di([e], t, o), o && o.length && r(o).remove(), r.merge([], s.childNodes));
|
|
4427
4426
|
}, r.fn.load = function(e, t, i) {
|
|
4428
4427
|
var n, s, o, u = this, c = e.indexOf(" ");
|
|
4429
4428
|
return c > -1 && (n = He(e.slice(c)), e = e.slice(0, c)), W(t) ? (i = t, t = void 0) : t && typeof t == "object" && (s = "POST"), u.length > 0 && r.ajax({
|
|
@@ -4503,7 +4502,7 @@ function Cr() {
|
|
|
4503
4502
|
return this.map(function() {
|
|
4504
4503
|
for (var e = this.offsetParent; e && r.css(e, "position") === "static"; )
|
|
4505
4504
|
e = e.offsetParent;
|
|
4506
|
-
return e ||
|
|
4505
|
+
return e || je;
|
|
4507
4506
|
});
|
|
4508
4507
|
}
|
|
4509
4508
|
}), r.each({ scrollLeft: "pageXOffset", scrollTop: "pageYOffset" }, function(e, t) {
|
|
@@ -4521,7 +4520,7 @@ function Cr() {
|
|
|
4521
4520
|
};
|
|
4522
4521
|
}), r.each(["top", "left"], function(e, t) {
|
|
4523
4522
|
r.cssHooks[t] = vi(
|
|
4524
|
-
|
|
4523
|
+
j.pixelPosition,
|
|
4525
4524
|
function(i, n) {
|
|
4526
4525
|
if (n)
|
|
4527
4526
|
return n = rt(i, t), It.test(n) ? r(i).position()[t] + "px" : n;
|
|
@@ -4615,7 +4614,7 @@ function Cr() {
|
|
|
4615
4614
|
}
|
|
4616
4615
|
var kr = Cr();
|
|
4617
4616
|
const Er = /* @__PURE__ */ wr(kr);
|
|
4618
|
-
class
|
|
4617
|
+
class Dr {
|
|
4619
4618
|
constructor() {
|
|
4620
4619
|
this.canvasEl = null, this.opt = null, this.el = null, this.$el = null, this.player = null, console.log("MnPlayer constructor");
|
|
4621
4620
|
}
|
|
@@ -4698,7 +4697,7 @@ class Ar {
|
|
|
4698
4697
|
}
|
|
4699
4698
|
}
|
|
4700
4699
|
export {
|
|
4701
|
-
|
|
4702
|
-
|
|
4700
|
+
Dr as MnVideoPlayer,
|
|
4701
|
+
Dr as default
|
|
4703
4702
|
};
|
|
4704
4703
|
//# sourceMappingURL=mn-video-player.es.js.map
|