tona-vite 0.0.1
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/README.md +50 -0
- package/dist/index.cjs +94 -0
- package/dist/index.d.cts +27 -0
- package/dist/index.d.cts.map +1 -0
- package/dist/index.d.mts +27 -0
- package/dist/index.d.mts.map +1 -0
- package/dist/index.mjs +69 -0
- package/dist/index.mjs.map +1 -0
- package/package.json +62 -0
- package/public/css/atom-one-dark.css +96 -0
- package/public/css/atom-one-light.css +96 -0
- package/public/css/blog-common.min.css +5049 -0
- package/public/css/font-awesome-5.css +4586 -0
- package/public/css/mobile-common.min.css +226 -0
- package/public/images/1-20210309211744338-647771178.jpg +0 -0
- package/public/images/20.png +0 -0
- package/public/images/avatar-default.svg +1 -0
- package/public/images/bannerbar-aws-bg.png +0 -0
- package/public/images/cnblogs.png +0 -0
- package/public/images/default-avatar.png +0 -0
- package/public/images/downdown.gif +0 -0
- package/public/images/favicon.png +0 -0
- package/public/images/icon_addcomment.gif +0 -0
- package/public/images/icon_form.gif +0 -0
- package/public/images/icon_voice.gif +0 -0
- package/public/images/icon_weibo_24.png +0 -0
- package/public/images/lite-mode-check.svg +1 -0
- package/public/images/logo.gif +0 -0
- package/public/images/logo.svg +1 -0
- package/public/images/message.svg +4 -0
- package/public/images/myblog.svg +4 -0
- package/public/images/newpost.svg +4 -0
- package/public/images/search.svg +1 -0
- package/public/images/upup.gif +0 -0
- package/public/images/wechat.png +0 -0
- package/public/index.html +168 -0
- package/public/js/blog.common.min.js +15934 -0
- package/public/js/highlight.min.js +1488 -0
- package/public/js/highlightjs-line-numbers.min.js +134 -0
- package/public/js/jquery.min.js +4119 -0
- package/public/js/mockAPI.js +3 -0
- package/public/templates/catalog.html +842 -0
- package/public/templates/category.html +903 -0
- package/public/templates/home.html +962 -0
- package/public/templates/photos.html +898 -0
- package/public/templates/photoview.html +814 -0
- package/public/templates/post-markdown.html +2722 -0
- package/public/templates/post-tinymce.html +1891 -0
- package/public/templates/post-tinymce5.html +2304 -0
- package/public/templates/postarchive.html +1127 -0
- package/public/templates/tags.html +2281 -0
|
@@ -0,0 +1,4119 @@
|
|
|
1
|
+
/*! jQuery v2.2.0 | (c) jQuery Foundation | jquery.org/license */
|
|
2
|
+
!function(a, b) {
|
|
3
|
+
"object" == typeof module && "object" == typeof module.exports ? module.exports = a.document ? b(a, !0) : function(a) {
|
|
4
|
+
if (!a.document)
|
|
5
|
+
throw new Error("jQuery requires a window with a document");
|
|
6
|
+
return b(a)
|
|
7
|
+
}
|
|
8
|
+
: b(a)
|
|
9
|
+
}("undefined" != typeof window ? window : this, function(a, b) {
|
|
10
|
+
var c = []
|
|
11
|
+
, d = a.document
|
|
12
|
+
, e = c.slice
|
|
13
|
+
, f = c.concat
|
|
14
|
+
, g = c.push
|
|
15
|
+
, h = c.indexOf
|
|
16
|
+
, i = {}
|
|
17
|
+
, j = i.toString
|
|
18
|
+
, k = i.hasOwnProperty
|
|
19
|
+
, l = {}
|
|
20
|
+
, m = "2.2.0"
|
|
21
|
+
, n = function(a, b) {
|
|
22
|
+
return new n.fn.init(a,b)
|
|
23
|
+
}
|
|
24
|
+
, o = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g
|
|
25
|
+
, p = /^-ms-/
|
|
26
|
+
, q = /-([\da-z])/gi
|
|
27
|
+
, r = function(a, b) {
|
|
28
|
+
return b.toUpperCase()
|
|
29
|
+
};
|
|
30
|
+
n.fn = n.prototype = {
|
|
31
|
+
jquery: m,
|
|
32
|
+
constructor: n,
|
|
33
|
+
selector: "",
|
|
34
|
+
length: 0,
|
|
35
|
+
toArray: function() {
|
|
36
|
+
return e.call(this)
|
|
37
|
+
},
|
|
38
|
+
get: function(a) {
|
|
39
|
+
return null != a ? 0 > a ? this[a + this.length] : this[a] : e.call(this)
|
|
40
|
+
},
|
|
41
|
+
pushStack: function(a) {
|
|
42
|
+
var b = n.merge(this.constructor(), a);
|
|
43
|
+
return b.prevObject = this,
|
|
44
|
+
b.context = this.context,
|
|
45
|
+
b
|
|
46
|
+
},
|
|
47
|
+
each: function(a) {
|
|
48
|
+
return n.each(this, a)
|
|
49
|
+
},
|
|
50
|
+
map: function(a) {
|
|
51
|
+
return this.pushStack(n.map(this, function(b, c) {
|
|
52
|
+
return a.call(b, c, b)
|
|
53
|
+
}))
|
|
54
|
+
},
|
|
55
|
+
slice: function() {
|
|
56
|
+
return this.pushStack(e.apply(this, arguments))
|
|
57
|
+
},
|
|
58
|
+
first: function() {
|
|
59
|
+
return this.eq(0)
|
|
60
|
+
},
|
|
61
|
+
last: function() {
|
|
62
|
+
return this.eq(-1)
|
|
63
|
+
},
|
|
64
|
+
eq: function(a) {
|
|
65
|
+
var b = this.length
|
|
66
|
+
, c = +a + (0 > a ? b : 0);
|
|
67
|
+
return this.pushStack(c >= 0 && b > c ? [this[c]] : [])
|
|
68
|
+
},
|
|
69
|
+
end: function() {
|
|
70
|
+
return this.prevObject || this.constructor()
|
|
71
|
+
},
|
|
72
|
+
push: g,
|
|
73
|
+
sort: c.sort,
|
|
74
|
+
splice: c.splice
|
|
75
|
+
},
|
|
76
|
+
n.extend = n.fn.extend = function() {
|
|
77
|
+
var a, b, c, d, e, f, g = arguments[0] || {}, h = 1, i = arguments.length, j = !1;
|
|
78
|
+
for ("boolean" == typeof g && (j = g,
|
|
79
|
+
g = arguments[h] || {},
|
|
80
|
+
h++),
|
|
81
|
+
"object" == typeof g || n.isFunction(g) || (g = {}),
|
|
82
|
+
h === i && (g = this,
|
|
83
|
+
h--); i > h; h++)
|
|
84
|
+
if (null != (a = arguments[h]))
|
|
85
|
+
for (b in a)
|
|
86
|
+
c = g[b],
|
|
87
|
+
d = a[b],
|
|
88
|
+
g !== d && (j && d && (n.isPlainObject(d) || (e = n.isArray(d))) ? (e ? (e = !1,
|
|
89
|
+
f = c && n.isArray(c) ? c : []) : f = c && n.isPlainObject(c) ? c : {},
|
|
90
|
+
g[b] = n.extend(j, f, d)) : void 0 !== d && (g[b] = d));
|
|
91
|
+
return g
|
|
92
|
+
}
|
|
93
|
+
,
|
|
94
|
+
n.extend({
|
|
95
|
+
expando: "jQuery" + (m + Math.random()).replace(/\D/g, ""),
|
|
96
|
+
isReady: !0,
|
|
97
|
+
error: function(a) {
|
|
98
|
+
throw new Error(a)
|
|
99
|
+
},
|
|
100
|
+
noop: function() {},
|
|
101
|
+
isFunction: function(a) {
|
|
102
|
+
return "function" === n.type(a)
|
|
103
|
+
},
|
|
104
|
+
isArray: Array.isArray,
|
|
105
|
+
isWindow: function(a) {
|
|
106
|
+
return null != a && a === a.window
|
|
107
|
+
},
|
|
108
|
+
isNumeric: function(a) {
|
|
109
|
+
var b = a && a.toString();
|
|
110
|
+
return !n.isArray(a) && b - parseFloat(b) + 1 >= 0
|
|
111
|
+
},
|
|
112
|
+
isPlainObject: function(a) {
|
|
113
|
+
return "object" !== n.type(a) || a.nodeType || n.isWindow(a) ? !1 : a.constructor && !k.call(a.constructor.prototype, "isPrototypeOf") ? !1 : !0
|
|
114
|
+
},
|
|
115
|
+
isEmptyObject: function(a) {
|
|
116
|
+
var b;
|
|
117
|
+
for (b in a)
|
|
118
|
+
return !1;
|
|
119
|
+
return !0
|
|
120
|
+
},
|
|
121
|
+
type: function(a) {
|
|
122
|
+
return null == a ? a + "" : "object" == typeof a || "function" == typeof a ? i[j.call(a)] || "object" : typeof a
|
|
123
|
+
},
|
|
124
|
+
globalEval: function(a) {
|
|
125
|
+
var b, c = eval;
|
|
126
|
+
a = n.trim(a),
|
|
127
|
+
a && (1 === a.indexOf("use strict") ? (b = d.createElement("script"),
|
|
128
|
+
b.text = a,
|
|
129
|
+
d.head.appendChild(b).parentNode.removeChild(b)) : c(a))
|
|
130
|
+
},
|
|
131
|
+
camelCase: function(a) {
|
|
132
|
+
return a.replace(p, "ms-").replace(q, r)
|
|
133
|
+
},
|
|
134
|
+
nodeName: function(a, b) {
|
|
135
|
+
return a.nodeName && a.nodeName.toLowerCase() === b.toLowerCase()
|
|
136
|
+
},
|
|
137
|
+
each: function(a, b) {
|
|
138
|
+
var c, d = 0;
|
|
139
|
+
if (s(a)) {
|
|
140
|
+
for (c = a.length; c > d; d++)
|
|
141
|
+
if (b.call(a[d], d, a[d]) === !1)
|
|
142
|
+
break
|
|
143
|
+
} else
|
|
144
|
+
for (d in a)
|
|
145
|
+
if (b.call(a[d], d, a[d]) === !1)
|
|
146
|
+
break;
|
|
147
|
+
return a
|
|
148
|
+
},
|
|
149
|
+
trim: function(a) {
|
|
150
|
+
return null == a ? "" : (a + "").replace(o, "")
|
|
151
|
+
},
|
|
152
|
+
makeArray: function(a, b) {
|
|
153
|
+
var c = b || [];
|
|
154
|
+
return null != a && (s(Object(a)) ? n.merge(c, "string" == typeof a ? [a] : a) : g.call(c, a)),
|
|
155
|
+
c
|
|
156
|
+
},
|
|
157
|
+
inArray: function(a, b, c) {
|
|
158
|
+
return null == b ? -1 : h.call(b, a, c)
|
|
159
|
+
},
|
|
160
|
+
merge: function(a, b) {
|
|
161
|
+
for (var c = +b.length, d = 0, e = a.length; c > d; d++)
|
|
162
|
+
a[e++] = b[d];
|
|
163
|
+
return a.length = e,
|
|
164
|
+
a
|
|
165
|
+
},
|
|
166
|
+
grep: function(a, b, c) {
|
|
167
|
+
for (var d, e = [], f = 0, g = a.length, h = !c; g > f; f++)
|
|
168
|
+
d = !b(a[f], f),
|
|
169
|
+
d !== h && e.push(a[f]);
|
|
170
|
+
return e
|
|
171
|
+
},
|
|
172
|
+
map: function(a, b, c) {
|
|
173
|
+
var d, e, g = 0, h = [];
|
|
174
|
+
if (s(a))
|
|
175
|
+
for (d = a.length; d > g; g++)
|
|
176
|
+
e = b(a[g], g, c),
|
|
177
|
+
null != e && h.push(e);
|
|
178
|
+
else
|
|
179
|
+
for (g in a)
|
|
180
|
+
e = b(a[g], g, c),
|
|
181
|
+
null != e && h.push(e);
|
|
182
|
+
return f.apply([], h)
|
|
183
|
+
},
|
|
184
|
+
guid: 1,
|
|
185
|
+
proxy: function(a, b) {
|
|
186
|
+
var c, d, f;
|
|
187
|
+
return "string" == typeof b && (c = a[b],
|
|
188
|
+
b = a,
|
|
189
|
+
a = c),
|
|
190
|
+
n.isFunction(a) ? (d = e.call(arguments, 2),
|
|
191
|
+
f = function() {
|
|
192
|
+
return a.apply(b || this, d.concat(e.call(arguments)))
|
|
193
|
+
}
|
|
194
|
+
,
|
|
195
|
+
f.guid = a.guid = a.guid || n.guid++,
|
|
196
|
+
f) : void 0
|
|
197
|
+
},
|
|
198
|
+
now: Date.now,
|
|
199
|
+
support: l
|
|
200
|
+
}),
|
|
201
|
+
"function" == typeof Symbol && (n.fn[Symbol.iterator] = c[Symbol.iterator]),
|
|
202
|
+
n.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "), function(a, b) {
|
|
203
|
+
i["[object " + b + "]"] = b.toLowerCase()
|
|
204
|
+
});
|
|
205
|
+
function s(a) {
|
|
206
|
+
var b = !!a && "length"in a && a.length
|
|
207
|
+
, c = n.type(a);
|
|
208
|
+
return "function" === c || n.isWindow(a) ? !1 : "array" === c || 0 === b || "number" == typeof b && b > 0 && b - 1 in a
|
|
209
|
+
}
|
|
210
|
+
var t = function(a) {
|
|
211
|
+
var b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u = "sizzle" + 1 * new Date, v = a.document, w = 0, x = 0, y = ga(), z = ga(), A = ga(), B = function(a, b) {
|
|
212
|
+
return a === b && (l = !0),
|
|
213
|
+
0
|
|
214
|
+
}, C = 1 << 31, D = {}.hasOwnProperty, E = [], F = E.pop, G = E.push, H = E.push, I = E.slice, J = function(a, b) {
|
|
215
|
+
for (var c = 0, d = a.length; d > c; c++)
|
|
216
|
+
if (a[c] === b)
|
|
217
|
+
return c;
|
|
218
|
+
return -1
|
|
219
|
+
}, K = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped", L = "[\\x20\\t\\r\\n\\f]", M = "(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+", N = "\\[" + L + "*(" + M + ")(?:" + L + "*([*^$|!~]?=)" + L + "*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|(" + M + "))|)" + L + "*\\]", O = ":(" + M + ")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|" + N + ")*)|.*)\\)|)", P = new RegExp(L + "+","g"), Q = new RegExp("^" + L + "+|((?:^|[^\\\\])(?:\\\\.)*)" + L + "+$","g"), R = new RegExp("^" + L + "*," + L + "*"), S = new RegExp("^" + L + "*([>+~]|" + L + ")" + L + "*"), T = new RegExp("=" + L + "*([^\\]'\"]*?)" + L + "*\\]","g"), U = new RegExp(O), V = new RegExp("^" + M + "$"), W = {
|
|
220
|
+
ID: new RegExp("^#(" + M + ")"),
|
|
221
|
+
CLASS: new RegExp("^\\.(" + M + ")"),
|
|
222
|
+
TAG: new RegExp("^(" + M + "|[*])"),
|
|
223
|
+
ATTR: new RegExp("^" + N),
|
|
224
|
+
PSEUDO: new RegExp("^" + O),
|
|
225
|
+
CHILD: new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + L + "*(even|odd|(([+-]|)(\\d*)n|)" + L + "*(?:([+-]|)" + L + "*(\\d+)|))" + L + "*\\)|)","i"),
|
|
226
|
+
bool: new RegExp("^(?:" + K + ")$","i"),
|
|
227
|
+
needsContext: new RegExp("^" + L + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + L + "*((?:-\\d)?\\d*)" + L + "*\\)|)(?=[^-]|$)","i")
|
|
228
|
+
}, X = /^(?:input|select|textarea|button)$/i, Y = /^h\d$/i, Z = /^[^{]+\{\s*\[native \w/, $ = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, _ = /[+~]/, aa = /'|\\/g, ba = new RegExp("\\\\([\\da-f]{1,6}" + L + "?|(" + L + ")|.)","ig"), ca = function(a, b, c) {
|
|
229
|
+
var d = "0x" + b - 65536;
|
|
230
|
+
return d !== d || c ? b : 0 > d ? String.fromCharCode(d + 65536) : String.fromCharCode(d >> 10 | 55296, 1023 & d | 56320)
|
|
231
|
+
}, da = function() {
|
|
232
|
+
m()
|
|
233
|
+
};
|
|
234
|
+
try {
|
|
235
|
+
H.apply(E = I.call(v.childNodes), v.childNodes),
|
|
236
|
+
E[v.childNodes.length].nodeType
|
|
237
|
+
} catch (ea) {
|
|
238
|
+
H = {
|
|
239
|
+
apply: E.length ? function(a, b) {
|
|
240
|
+
G.apply(a, I.call(b))
|
|
241
|
+
}
|
|
242
|
+
: function(a, b) {
|
|
243
|
+
var c = a.length
|
|
244
|
+
, d = 0;
|
|
245
|
+
while (a[c++] = b[d++])
|
|
246
|
+
;
|
|
247
|
+
a.length = c - 1
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
function fa(a, b, d, e) {
|
|
252
|
+
var f, h, j, k, l, o, r, s, w = b && b.ownerDocument, x = b ? b.nodeType : 9;
|
|
253
|
+
if (d = d || [],
|
|
254
|
+
"string" != typeof a || !a || 1 !== x && 9 !== x && 11 !== x)
|
|
255
|
+
return d;
|
|
256
|
+
if (!e && ((b ? b.ownerDocument || b : v) !== n && m(b),
|
|
257
|
+
b = b || n,
|
|
258
|
+
p)) {
|
|
259
|
+
if (11 !== x && (o = $.exec(a)))
|
|
260
|
+
if (f = o[1]) {
|
|
261
|
+
if (9 === x) {
|
|
262
|
+
if (!(j = b.getElementById(f)))
|
|
263
|
+
return d;
|
|
264
|
+
if (j.id === f)
|
|
265
|
+
return d.push(j),
|
|
266
|
+
d
|
|
267
|
+
} else if (w && (j = w.getElementById(f)) && t(b, j) && j.id === f)
|
|
268
|
+
return d.push(j),
|
|
269
|
+
d
|
|
270
|
+
} else {
|
|
271
|
+
if (o[2])
|
|
272
|
+
return H.apply(d, b.getElementsByTagName(a)),
|
|
273
|
+
d;
|
|
274
|
+
if ((f = o[3]) && c.getElementsByClassName && b.getElementsByClassName)
|
|
275
|
+
return H.apply(d, b.getElementsByClassName(f)),
|
|
276
|
+
d
|
|
277
|
+
}
|
|
278
|
+
if (c.qsa && !A[a + " "] && (!q || !q.test(a))) {
|
|
279
|
+
if (1 !== x)
|
|
280
|
+
w = b,
|
|
281
|
+
s = a;
|
|
282
|
+
else if ("object" !== b.nodeName.toLowerCase()) {
|
|
283
|
+
(k = b.getAttribute("id")) ? k = k.replace(aa, "\\$&") : b.setAttribute("id", k = u),
|
|
284
|
+
r = g(a),
|
|
285
|
+
h = r.length,
|
|
286
|
+
l = V.test(k) ? "#" + k : "[id='" + k + "']";
|
|
287
|
+
while (h--)
|
|
288
|
+
r[h] = l + " " + qa(r[h]);
|
|
289
|
+
s = r.join(","),
|
|
290
|
+
w = _.test(a) && oa(b.parentNode) || b
|
|
291
|
+
}
|
|
292
|
+
if (s)
|
|
293
|
+
try {
|
|
294
|
+
return H.apply(d, w.querySelectorAll(s)),
|
|
295
|
+
d
|
|
296
|
+
} catch (y) {} finally {
|
|
297
|
+
k === u && b.removeAttribute("id")
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
return i(a.replace(Q, "$1"), b, d, e)
|
|
302
|
+
}
|
|
303
|
+
function ga() {
|
|
304
|
+
var a = [];
|
|
305
|
+
function b(c, e) {
|
|
306
|
+
return a.push(c + " ") > d.cacheLength && delete b[a.shift()],
|
|
307
|
+
b[c + " "] = e
|
|
308
|
+
}
|
|
309
|
+
return b
|
|
310
|
+
}
|
|
311
|
+
function ha(a) {
|
|
312
|
+
return a[u] = !0,
|
|
313
|
+
a
|
|
314
|
+
}
|
|
315
|
+
function ia(a) {
|
|
316
|
+
var b = n.createElement("div");
|
|
317
|
+
try {
|
|
318
|
+
return !!a(b)
|
|
319
|
+
} catch (c) {
|
|
320
|
+
return !1
|
|
321
|
+
} finally {
|
|
322
|
+
b.parentNode && b.parentNode.removeChild(b),
|
|
323
|
+
b = null
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
function ja(a, b) {
|
|
327
|
+
var c = a.split("|")
|
|
328
|
+
, e = c.length;
|
|
329
|
+
while (e--)
|
|
330
|
+
d.attrHandle[c[e]] = b
|
|
331
|
+
}
|
|
332
|
+
function ka(a, b) {
|
|
333
|
+
var c = b && a
|
|
334
|
+
, d = c && 1 === a.nodeType && 1 === b.nodeType && (~b.sourceIndex || C) - (~a.sourceIndex || C);
|
|
335
|
+
if (d)
|
|
336
|
+
return d;
|
|
337
|
+
if (c)
|
|
338
|
+
while (c = c.nextSibling)
|
|
339
|
+
if (c === b)
|
|
340
|
+
return -1;
|
|
341
|
+
return a ? 1 : -1
|
|
342
|
+
}
|
|
343
|
+
function la(a) {
|
|
344
|
+
return function(b) {
|
|
345
|
+
var c = b.nodeName.toLowerCase();
|
|
346
|
+
return "input" === c && b.type === a
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
function ma(a) {
|
|
350
|
+
return function(b) {
|
|
351
|
+
var c = b.nodeName.toLowerCase();
|
|
352
|
+
return ("input" === c || "button" === c) && b.type === a
|
|
353
|
+
}
|
|
354
|
+
}
|
|
355
|
+
function na(a) {
|
|
356
|
+
return ha(function(b) {
|
|
357
|
+
return b = +b,
|
|
358
|
+
ha(function(c, d) {
|
|
359
|
+
var e, f = a([], c.length, b), g = f.length;
|
|
360
|
+
while (g--)
|
|
361
|
+
c[e = f[g]] && (c[e] = !(d[e] = c[e]))
|
|
362
|
+
})
|
|
363
|
+
})
|
|
364
|
+
}
|
|
365
|
+
function oa(a) {
|
|
366
|
+
return a && "undefined" != typeof a.getElementsByTagName && a
|
|
367
|
+
}
|
|
368
|
+
c = fa.support = {},
|
|
369
|
+
f = fa.isXML = function(a) {
|
|
370
|
+
var b = a && (a.ownerDocument || a).documentElement;
|
|
371
|
+
return b ? "HTML" !== b.nodeName : !1
|
|
372
|
+
}
|
|
373
|
+
,
|
|
374
|
+
m = fa.setDocument = function(a) {
|
|
375
|
+
var b, e, g = a ? a.ownerDocument || a : v;
|
|
376
|
+
return g !== n && 9 === g.nodeType && g.documentElement ? (n = g,
|
|
377
|
+
o = n.documentElement,
|
|
378
|
+
p = !f(n),
|
|
379
|
+
(e = n.defaultView) && e.top !== e && (e.addEventListener ? e.addEventListener("unload", da, !1) : e.attachEvent && e.attachEvent("onunload", da)),
|
|
380
|
+
c.attributes = ia(function(a) {
|
|
381
|
+
return a.className = "i",
|
|
382
|
+
!a.getAttribute("className")
|
|
383
|
+
}),
|
|
384
|
+
c.getElementsByTagName = ia(function(a) {
|
|
385
|
+
return a.appendChild(n.createComment("")),
|
|
386
|
+
!a.getElementsByTagName("*").length
|
|
387
|
+
}),
|
|
388
|
+
c.getElementsByClassName = Z.test(n.getElementsByClassName),
|
|
389
|
+
c.getById = ia(function(a) {
|
|
390
|
+
return o.appendChild(a).id = u,
|
|
391
|
+
!n.getElementsByName || !n.getElementsByName(u).length
|
|
392
|
+
}),
|
|
393
|
+
c.getById ? (d.find.ID = function(a, b) {
|
|
394
|
+
if ("undefined" != typeof b.getElementById && p) {
|
|
395
|
+
var c = b.getElementById(a);
|
|
396
|
+
return c ? [c] : []
|
|
397
|
+
}
|
|
398
|
+
}
|
|
399
|
+
,
|
|
400
|
+
d.filter.ID = function(a) {
|
|
401
|
+
var b = a.replace(ba, ca);
|
|
402
|
+
return function(a) {
|
|
403
|
+
return a.getAttribute("id") === b
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
) : (delete d.find.ID,
|
|
407
|
+
d.filter.ID = function(a) {
|
|
408
|
+
var b = a.replace(ba, ca);
|
|
409
|
+
return function(a) {
|
|
410
|
+
var c = "undefined" != typeof a.getAttributeNode && a.getAttributeNode("id");
|
|
411
|
+
return c && c.value === b
|
|
412
|
+
}
|
|
413
|
+
}
|
|
414
|
+
),
|
|
415
|
+
d.find.TAG = c.getElementsByTagName ? function(a, b) {
|
|
416
|
+
return "undefined" != typeof b.getElementsByTagName ? b.getElementsByTagName(a) : c.qsa ? b.querySelectorAll(a) : void 0
|
|
417
|
+
}
|
|
418
|
+
: function(a, b) {
|
|
419
|
+
var c, d = [], e = 0, f = b.getElementsByTagName(a);
|
|
420
|
+
if ("*" === a) {
|
|
421
|
+
while (c = f[e++])
|
|
422
|
+
1 === c.nodeType && d.push(c);
|
|
423
|
+
return d
|
|
424
|
+
}
|
|
425
|
+
return f
|
|
426
|
+
}
|
|
427
|
+
,
|
|
428
|
+
d.find.CLASS = c.getElementsByClassName && function(a, b) {
|
|
429
|
+
return "undefined" != typeof b.getElementsByClassName && p ? b.getElementsByClassName(a) : void 0
|
|
430
|
+
}
|
|
431
|
+
,
|
|
432
|
+
r = [],
|
|
433
|
+
q = [],
|
|
434
|
+
(c.qsa = Z.test(n.querySelectorAll)) && (ia(function(a) {
|
|
435
|
+
o.appendChild(a).innerHTML = "<a id='" + u + "'></a><select id='" + u + "-\r\\' msallowcapture=''><option selected=''></option></select>",
|
|
436
|
+
a.querySelectorAll("[msallowcapture^='']").length && q.push("[*^$]=" + L + "*(?:''|\"\")"),
|
|
437
|
+
a.querySelectorAll("[selected]").length || q.push("\\[" + L + "*(?:value|" + K + ")"),
|
|
438
|
+
a.querySelectorAll("[id~=" + u + "-]").length || q.push("~="),
|
|
439
|
+
a.querySelectorAll(":checked").length || q.push(":checked"),
|
|
440
|
+
a.querySelectorAll("a#" + u + "+*").length || q.push(".#.+[+~]")
|
|
441
|
+
}),
|
|
442
|
+
ia(function(a) {
|
|
443
|
+
var b = n.createElement("input");
|
|
444
|
+
b.setAttribute("type", "hidden"),
|
|
445
|
+
a.appendChild(b).setAttribute("name", "D"),
|
|
446
|
+
a.querySelectorAll("[name=d]").length && q.push("name" + L + "*[*^$|!~]?="),
|
|
447
|
+
a.querySelectorAll(":enabled").length || q.push(":enabled", ":disabled"),
|
|
448
|
+
a.querySelectorAll("*,:x"),
|
|
449
|
+
q.push(",.*:")
|
|
450
|
+
})),
|
|
451
|
+
(c.matchesSelector = Z.test(s = o.matches || o.webkitMatchesSelector || o.mozMatchesSelector || o.oMatchesSelector || o.msMatchesSelector)) && ia(function(a) {
|
|
452
|
+
c.disconnectedMatch = s.call(a, "div"),
|
|
453
|
+
s.call(a, "[s!='']:x"),
|
|
454
|
+
r.push("!=", O)
|
|
455
|
+
}),
|
|
456
|
+
q = q.length && new RegExp(q.join("|")),
|
|
457
|
+
r = r.length && new RegExp(r.join("|")),
|
|
458
|
+
b = Z.test(o.compareDocumentPosition),
|
|
459
|
+
t = b || Z.test(o.contains) ? function(a, b) {
|
|
460
|
+
var c = 9 === a.nodeType ? a.documentElement : a
|
|
461
|
+
, d = b && b.parentNode;
|
|
462
|
+
return a === d || !(!d || 1 !== d.nodeType || !(c.contains ? c.contains(d) : a.compareDocumentPosition && 16 & a.compareDocumentPosition(d)))
|
|
463
|
+
}
|
|
464
|
+
: function(a, b) {
|
|
465
|
+
if (b)
|
|
466
|
+
while (b = b.parentNode)
|
|
467
|
+
if (b === a)
|
|
468
|
+
return !0;
|
|
469
|
+
return !1
|
|
470
|
+
}
|
|
471
|
+
,
|
|
472
|
+
B = b ? function(a, b) {
|
|
473
|
+
if (a === b)
|
|
474
|
+
return l = !0,
|
|
475
|
+
0;
|
|
476
|
+
var d = !a.compareDocumentPosition - !b.compareDocumentPosition;
|
|
477
|
+
return d ? d : (d = (a.ownerDocument || a) === (b.ownerDocument || b) ? a.compareDocumentPosition(b) : 1,
|
|
478
|
+
1 & d || !c.sortDetached && b.compareDocumentPosition(a) === d ? a === n || a.ownerDocument === v && t(v, a) ? -1 : b === n || b.ownerDocument === v && t(v, b) ? 1 : k ? J(k, a) - J(k, b) : 0 : 4 & d ? -1 : 1)
|
|
479
|
+
}
|
|
480
|
+
: function(a, b) {
|
|
481
|
+
if (a === b)
|
|
482
|
+
return l = !0,
|
|
483
|
+
0;
|
|
484
|
+
var c, d = 0, e = a.parentNode, f = b.parentNode, g = [a], h = [b];
|
|
485
|
+
if (!e || !f)
|
|
486
|
+
return a === n ? -1 : b === n ? 1 : e ? -1 : f ? 1 : k ? J(k, a) - J(k, b) : 0;
|
|
487
|
+
if (e === f)
|
|
488
|
+
return ka(a, b);
|
|
489
|
+
c = a;
|
|
490
|
+
while (c = c.parentNode)
|
|
491
|
+
g.unshift(c);
|
|
492
|
+
c = b;
|
|
493
|
+
while (c = c.parentNode)
|
|
494
|
+
h.unshift(c);
|
|
495
|
+
while (g[d] === h[d])
|
|
496
|
+
d++;
|
|
497
|
+
return d ? ka(g[d], h[d]) : g[d] === v ? -1 : h[d] === v ? 1 : 0
|
|
498
|
+
}
|
|
499
|
+
,
|
|
500
|
+
n) : n
|
|
501
|
+
}
|
|
502
|
+
,
|
|
503
|
+
fa.matches = function(a, b) {
|
|
504
|
+
return fa(a, null, null, b)
|
|
505
|
+
}
|
|
506
|
+
,
|
|
507
|
+
fa.matchesSelector = function(a, b) {
|
|
508
|
+
if ((a.ownerDocument || a) !== n && m(a),
|
|
509
|
+
b = b.replace(T, "='$1']"),
|
|
510
|
+
c.matchesSelector && p && !A[b + " "] && (!r || !r.test(b)) && (!q || !q.test(b)))
|
|
511
|
+
try {
|
|
512
|
+
var d = s.call(a, b);
|
|
513
|
+
if (d || c.disconnectedMatch || a.document && 11 !== a.document.nodeType)
|
|
514
|
+
return d
|
|
515
|
+
} catch (e) {}
|
|
516
|
+
return fa(b, n, null, [a]).length > 0
|
|
517
|
+
}
|
|
518
|
+
,
|
|
519
|
+
fa.contains = function(a, b) {
|
|
520
|
+
return (a.ownerDocument || a) !== n && m(a),
|
|
521
|
+
t(a, b)
|
|
522
|
+
}
|
|
523
|
+
,
|
|
524
|
+
fa.attr = function(a, b) {
|
|
525
|
+
(a.ownerDocument || a) !== n && m(a);
|
|
526
|
+
var e = d.attrHandle[b.toLowerCase()]
|
|
527
|
+
, f = e && D.call(d.attrHandle, b.toLowerCase()) ? e(a, b, !p) : void 0;
|
|
528
|
+
return void 0 !== f ? f : c.attributes || !p ? a.getAttribute(b) : (f = a.getAttributeNode(b)) && f.specified ? f.value : null
|
|
529
|
+
}
|
|
530
|
+
,
|
|
531
|
+
fa.error = function(a) {
|
|
532
|
+
throw new Error("Syntax error, unrecognized expression: " + a)
|
|
533
|
+
}
|
|
534
|
+
,
|
|
535
|
+
fa.uniqueSort = function(a) {
|
|
536
|
+
var b, d = [], e = 0, f = 0;
|
|
537
|
+
if (l = !c.detectDuplicates,
|
|
538
|
+
k = !c.sortStable && a.slice(0),
|
|
539
|
+
a.sort(B),
|
|
540
|
+
l) {
|
|
541
|
+
while (b = a[f++])
|
|
542
|
+
b === a[f] && (e = d.push(f));
|
|
543
|
+
while (e--)
|
|
544
|
+
a.splice(d[e], 1)
|
|
545
|
+
}
|
|
546
|
+
return k = null,
|
|
547
|
+
a
|
|
548
|
+
}
|
|
549
|
+
,
|
|
550
|
+
e = fa.getText = function(a) {
|
|
551
|
+
var b, c = "", d = 0, f = a.nodeType;
|
|
552
|
+
if (f) {
|
|
553
|
+
if (1 === f || 9 === f || 11 === f) {
|
|
554
|
+
if ("string" == typeof a.textContent)
|
|
555
|
+
return a.textContent;
|
|
556
|
+
for (a = a.firstChild; a; a = a.nextSibling)
|
|
557
|
+
c += e(a)
|
|
558
|
+
} else if (3 === f || 4 === f)
|
|
559
|
+
return a.nodeValue
|
|
560
|
+
} else
|
|
561
|
+
while (b = a[d++])
|
|
562
|
+
c += e(b);
|
|
563
|
+
return c
|
|
564
|
+
}
|
|
565
|
+
,
|
|
566
|
+
d = fa.selectors = {
|
|
567
|
+
cacheLength: 50,
|
|
568
|
+
createPseudo: ha,
|
|
569
|
+
match: W,
|
|
570
|
+
attrHandle: {},
|
|
571
|
+
find: {},
|
|
572
|
+
relative: {
|
|
573
|
+
">": {
|
|
574
|
+
dir: "parentNode",
|
|
575
|
+
first: !0
|
|
576
|
+
},
|
|
577
|
+
" ": {
|
|
578
|
+
dir: "parentNode"
|
|
579
|
+
},
|
|
580
|
+
"+": {
|
|
581
|
+
dir: "previousSibling",
|
|
582
|
+
first: !0
|
|
583
|
+
},
|
|
584
|
+
"~": {
|
|
585
|
+
dir: "previousSibling"
|
|
586
|
+
}
|
|
587
|
+
},
|
|
588
|
+
preFilter: {
|
|
589
|
+
ATTR: function(a) {
|
|
590
|
+
return a[1] = a[1].replace(ba, ca),
|
|
591
|
+
a[3] = (a[3] || a[4] || a[5] || "").replace(ba, ca),
|
|
592
|
+
"~=" === a[2] && (a[3] = " " + a[3] + " "),
|
|
593
|
+
a.slice(0, 4)
|
|
594
|
+
},
|
|
595
|
+
CHILD: function(a) {
|
|
596
|
+
return a[1] = a[1].toLowerCase(),
|
|
597
|
+
"nth" === a[1].slice(0, 3) ? (a[3] || fa.error(a[0]),
|
|
598
|
+
a[4] = +(a[4] ? a[5] + (a[6] || 1) : 2 * ("even" === a[3] || "odd" === a[3])),
|
|
599
|
+
a[5] = +(a[7] + a[8] || "odd" === a[3])) : a[3] && fa.error(a[0]),
|
|
600
|
+
a
|
|
601
|
+
},
|
|
602
|
+
PSEUDO: function(a) {
|
|
603
|
+
var b, c = !a[6] && a[2];
|
|
604
|
+
return W.CHILD.test(a[0]) ? null : (a[3] ? a[2] = a[4] || a[5] || "" : c && U.test(c) && (b = g(c, !0)) && (b = c.indexOf(")", c.length - b) - c.length) && (a[0] = a[0].slice(0, b),
|
|
605
|
+
a[2] = c.slice(0, b)),
|
|
606
|
+
a.slice(0, 3))
|
|
607
|
+
}
|
|
608
|
+
},
|
|
609
|
+
filter: {
|
|
610
|
+
TAG: function(a) {
|
|
611
|
+
var b = a.replace(ba, ca).toLowerCase();
|
|
612
|
+
return "*" === a ? function() {
|
|
613
|
+
return !0
|
|
614
|
+
}
|
|
615
|
+
: function(a) {
|
|
616
|
+
return a.nodeName && a.nodeName.toLowerCase() === b
|
|
617
|
+
}
|
|
618
|
+
},
|
|
619
|
+
CLASS: function(a) {
|
|
620
|
+
var b = y[a + " "];
|
|
621
|
+
return b || (b = new RegExp("(^|" + L + ")" + a + "(" + L + "|$)")) && y(a, function(a) {
|
|
622
|
+
return b.test("string" == typeof a.className && a.className || "undefined" != typeof a.getAttribute && a.getAttribute("class") || "")
|
|
623
|
+
})
|
|
624
|
+
},
|
|
625
|
+
ATTR: function(a, b, c) {
|
|
626
|
+
return function(d) {
|
|
627
|
+
var e = fa.attr(d, a);
|
|
628
|
+
return null == e ? "!=" === b : b ? (e += "",
|
|
629
|
+
"=" === b ? e === c : "!=" === b ? e !== c : "^=" === b ? c && 0 === e.indexOf(c) : "*=" === b ? c && e.indexOf(c) > -1 : "$=" === b ? c && e.slice(-c.length) === c : "~=" === b ? (" " + e.replace(P, " ") + " ").indexOf(c) > -1 : "|=" === b ? e === c || e.slice(0, c.length + 1) === c + "-" : !1) : !0
|
|
630
|
+
}
|
|
631
|
+
},
|
|
632
|
+
CHILD: function(a, b, c, d, e) {
|
|
633
|
+
var f = "nth" !== a.slice(0, 3)
|
|
634
|
+
, g = "last" !== a.slice(-4)
|
|
635
|
+
, h = "of-type" === b;
|
|
636
|
+
return 1 === d && 0 === e ? function(a) {
|
|
637
|
+
return !!a.parentNode
|
|
638
|
+
}
|
|
639
|
+
: function(b, c, i) {
|
|
640
|
+
var j, k, l, m, n, o, p = f !== g ? "nextSibling" : "previousSibling", q = b.parentNode, r = h && b.nodeName.toLowerCase(), s = !i && !h, t = !1;
|
|
641
|
+
if (q) {
|
|
642
|
+
if (f) {
|
|
643
|
+
while (p) {
|
|
644
|
+
m = b;
|
|
645
|
+
while (m = m[p])
|
|
646
|
+
if (h ? m.nodeName.toLowerCase() === r : 1 === m.nodeType)
|
|
647
|
+
return !1;
|
|
648
|
+
o = p = "only" === a && !o && "nextSibling"
|
|
649
|
+
}
|
|
650
|
+
return !0
|
|
651
|
+
}
|
|
652
|
+
if (o = [g ? q.firstChild : q.lastChild],
|
|
653
|
+
g && s) {
|
|
654
|
+
m = q,
|
|
655
|
+
l = m[u] || (m[u] = {}),
|
|
656
|
+
k = l[m.uniqueID] || (l[m.uniqueID] = {}),
|
|
657
|
+
j = k[a] || [],
|
|
658
|
+
n = j[0] === w && j[1],
|
|
659
|
+
t = n && j[2],
|
|
660
|
+
m = n && q.childNodes[n];
|
|
661
|
+
while (m = ++n && m && m[p] || (t = n = 0) || o.pop())
|
|
662
|
+
if (1 === m.nodeType && ++t && m === b) {
|
|
663
|
+
k[a] = [w, n, t];
|
|
664
|
+
break
|
|
665
|
+
}
|
|
666
|
+
} else if (s && (m = b,
|
|
667
|
+
l = m[u] || (m[u] = {}),
|
|
668
|
+
k = l[m.uniqueID] || (l[m.uniqueID] = {}),
|
|
669
|
+
j = k[a] || [],
|
|
670
|
+
n = j[0] === w && j[1],
|
|
671
|
+
t = n),
|
|
672
|
+
t === !1)
|
|
673
|
+
while (m = ++n && m && m[p] || (t = n = 0) || o.pop())
|
|
674
|
+
if ((h ? m.nodeName.toLowerCase() === r : 1 === m.nodeType) && ++t && (s && (l = m[u] || (m[u] = {}),
|
|
675
|
+
k = l[m.uniqueID] || (l[m.uniqueID] = {}),
|
|
676
|
+
k[a] = [w, t]),
|
|
677
|
+
m === b))
|
|
678
|
+
break;
|
|
679
|
+
return t -= e,
|
|
680
|
+
t === d || t % d === 0 && t / d >= 0
|
|
681
|
+
}
|
|
682
|
+
}
|
|
683
|
+
},
|
|
684
|
+
PSEUDO: function(a, b) {
|
|
685
|
+
var c, e = d.pseudos[a] || d.setFilters[a.toLowerCase()] || fa.error("unsupported pseudo: " + a);
|
|
686
|
+
return e[u] ? e(b) : e.length > 1 ? (c = [a, a, "", b],
|
|
687
|
+
d.setFilters.hasOwnProperty(a.toLowerCase()) ? ha(function(a, c) {
|
|
688
|
+
var d, f = e(a, b), g = f.length;
|
|
689
|
+
while (g--)
|
|
690
|
+
d = J(a, f[g]),
|
|
691
|
+
a[d] = !(c[d] = f[g])
|
|
692
|
+
}) : function(a) {
|
|
693
|
+
return e(a, 0, c)
|
|
694
|
+
}
|
|
695
|
+
) : e
|
|
696
|
+
}
|
|
697
|
+
},
|
|
698
|
+
pseudos: {
|
|
699
|
+
not: ha(function(a) {
|
|
700
|
+
var b = []
|
|
701
|
+
, c = []
|
|
702
|
+
, d = h(a.replace(Q, "$1"));
|
|
703
|
+
return d[u] ? ha(function(a, b, c, e) {
|
|
704
|
+
var f, g = d(a, null, e, []), h = a.length;
|
|
705
|
+
while (h--)
|
|
706
|
+
(f = g[h]) && (a[h] = !(b[h] = f))
|
|
707
|
+
}) : function(a, e, f) {
|
|
708
|
+
return b[0] = a,
|
|
709
|
+
d(b, null, f, c),
|
|
710
|
+
b[0] = null,
|
|
711
|
+
!c.pop()
|
|
712
|
+
}
|
|
713
|
+
}),
|
|
714
|
+
has: ha(function(a) {
|
|
715
|
+
return function(b) {
|
|
716
|
+
return fa(a, b).length > 0
|
|
717
|
+
}
|
|
718
|
+
}),
|
|
719
|
+
contains: ha(function(a) {
|
|
720
|
+
return a = a.replace(ba, ca),
|
|
721
|
+
function(b) {
|
|
722
|
+
return (b.textContent || b.innerText || e(b)).indexOf(a) > -1
|
|
723
|
+
}
|
|
724
|
+
}),
|
|
725
|
+
lang: ha(function(a) {
|
|
726
|
+
return V.test(a || "") || fa.error("unsupported lang: " + a),
|
|
727
|
+
a = a.replace(ba, ca).toLowerCase(),
|
|
728
|
+
function(b) {
|
|
729
|
+
var c;
|
|
730
|
+
do
|
|
731
|
+
if (c = p ? b.lang : b.getAttribute("xml:lang") || b.getAttribute("lang"))
|
|
732
|
+
return c = c.toLowerCase(),
|
|
733
|
+
c === a || 0 === c.indexOf(a + "-");
|
|
734
|
+
while ((b = b.parentNode) && 1 === b.nodeType);
|
|
735
|
+
return !1
|
|
736
|
+
}
|
|
737
|
+
}),
|
|
738
|
+
target: function(b) {
|
|
739
|
+
var c = a.location && a.location.hash;
|
|
740
|
+
return c && c.slice(1) === b.id
|
|
741
|
+
},
|
|
742
|
+
root: function(a) {
|
|
743
|
+
return a === o
|
|
744
|
+
},
|
|
745
|
+
focus: function(a) {
|
|
746
|
+
return a === n.activeElement && (!n.hasFocus || n.hasFocus()) && !!(a.type || a.href || ~a.tabIndex)
|
|
747
|
+
},
|
|
748
|
+
enabled: function(a) {
|
|
749
|
+
return a.disabled === !1
|
|
750
|
+
},
|
|
751
|
+
disabled: function(a) {
|
|
752
|
+
return a.disabled === !0
|
|
753
|
+
},
|
|
754
|
+
checked: function(a) {
|
|
755
|
+
var b = a.nodeName.toLowerCase();
|
|
756
|
+
return "input" === b && !!a.checked || "option" === b && !!a.selected
|
|
757
|
+
},
|
|
758
|
+
selected: function(a) {
|
|
759
|
+
return a.parentNode && a.parentNode.selectedIndex,
|
|
760
|
+
a.selected === !0
|
|
761
|
+
},
|
|
762
|
+
empty: function(a) {
|
|
763
|
+
for (a = a.firstChild; a; a = a.nextSibling)
|
|
764
|
+
if (a.nodeType < 6)
|
|
765
|
+
return !1;
|
|
766
|
+
return !0
|
|
767
|
+
},
|
|
768
|
+
parent: function(a) {
|
|
769
|
+
return !d.pseudos.empty(a)
|
|
770
|
+
},
|
|
771
|
+
header: function(a) {
|
|
772
|
+
return Y.test(a.nodeName)
|
|
773
|
+
},
|
|
774
|
+
input: function(a) {
|
|
775
|
+
return X.test(a.nodeName)
|
|
776
|
+
},
|
|
777
|
+
button: function(a) {
|
|
778
|
+
var b = a.nodeName.toLowerCase();
|
|
779
|
+
return "input" === b && "button" === a.type || "button" === b
|
|
780
|
+
},
|
|
781
|
+
text: function(a) {
|
|
782
|
+
var b;
|
|
783
|
+
return "input" === a.nodeName.toLowerCase() && "text" === a.type && (null == (b = a.getAttribute("type")) || "text" === b.toLowerCase())
|
|
784
|
+
},
|
|
785
|
+
first: na(function() {
|
|
786
|
+
return [0]
|
|
787
|
+
}),
|
|
788
|
+
last: na(function(a, b) {
|
|
789
|
+
return [b - 1]
|
|
790
|
+
}),
|
|
791
|
+
eq: na(function(a, b, c) {
|
|
792
|
+
return [0 > c ? c + b : c]
|
|
793
|
+
}),
|
|
794
|
+
even: na(function(a, b) {
|
|
795
|
+
for (var c = 0; b > c; c += 2)
|
|
796
|
+
a.push(c);
|
|
797
|
+
return a
|
|
798
|
+
}),
|
|
799
|
+
odd: na(function(a, b) {
|
|
800
|
+
for (var c = 1; b > c; c += 2)
|
|
801
|
+
a.push(c);
|
|
802
|
+
return a
|
|
803
|
+
}),
|
|
804
|
+
lt: na(function(a, b, c) {
|
|
805
|
+
for (var d = 0 > c ? c + b : c; --d >= 0; )
|
|
806
|
+
a.push(d);
|
|
807
|
+
return a
|
|
808
|
+
}),
|
|
809
|
+
gt: na(function(a, b, c) {
|
|
810
|
+
for (var d = 0 > c ? c + b : c; ++d < b; )
|
|
811
|
+
a.push(d);
|
|
812
|
+
return a
|
|
813
|
+
})
|
|
814
|
+
}
|
|
815
|
+
},
|
|
816
|
+
d.pseudos.nth = d.pseudos.eq;
|
|
817
|
+
for (b in {
|
|
818
|
+
radio: !0,
|
|
819
|
+
checkbox: !0,
|
|
820
|
+
file: !0,
|
|
821
|
+
password: !0,
|
|
822
|
+
image: !0
|
|
823
|
+
})
|
|
824
|
+
d.pseudos[b] = la(b);
|
|
825
|
+
for (b in {
|
|
826
|
+
submit: !0,
|
|
827
|
+
reset: !0
|
|
828
|
+
})
|
|
829
|
+
d.pseudos[b] = ma(b);
|
|
830
|
+
function pa() {}
|
|
831
|
+
pa.prototype = d.filters = d.pseudos,
|
|
832
|
+
d.setFilters = new pa,
|
|
833
|
+
g = fa.tokenize = function(a, b) {
|
|
834
|
+
var c, e, f, g, h, i, j, k = z[a + " "];
|
|
835
|
+
if (k)
|
|
836
|
+
return b ? 0 : k.slice(0);
|
|
837
|
+
h = a,
|
|
838
|
+
i = [],
|
|
839
|
+
j = d.preFilter;
|
|
840
|
+
while (h) {
|
|
841
|
+
(!c || (e = R.exec(h))) && (e && (h = h.slice(e[0].length) || h),
|
|
842
|
+
i.push(f = [])),
|
|
843
|
+
c = !1,
|
|
844
|
+
(e = S.exec(h)) && (c = e.shift(),
|
|
845
|
+
f.push({
|
|
846
|
+
value: c,
|
|
847
|
+
type: e[0].replace(Q, " ")
|
|
848
|
+
}),
|
|
849
|
+
h = h.slice(c.length));
|
|
850
|
+
for (g in d.filter)
|
|
851
|
+
!(e = W[g].exec(h)) || j[g] && !(e = j[g](e)) || (c = e.shift(),
|
|
852
|
+
f.push({
|
|
853
|
+
value: c,
|
|
854
|
+
type: g,
|
|
855
|
+
matches: e
|
|
856
|
+
}),
|
|
857
|
+
h = h.slice(c.length));
|
|
858
|
+
if (!c)
|
|
859
|
+
break
|
|
860
|
+
}
|
|
861
|
+
return b ? h.length : h ? fa.error(a) : z(a, i).slice(0)
|
|
862
|
+
}
|
|
863
|
+
;
|
|
864
|
+
function qa(a) {
|
|
865
|
+
for (var b = 0, c = a.length, d = ""; c > b; b++)
|
|
866
|
+
d += a[b].value;
|
|
867
|
+
return d
|
|
868
|
+
}
|
|
869
|
+
function ra(a, b, c) {
|
|
870
|
+
var d = b.dir
|
|
871
|
+
, e = c && "parentNode" === d
|
|
872
|
+
, f = x++;
|
|
873
|
+
return b.first ? function(b, c, f) {
|
|
874
|
+
while (b = b[d])
|
|
875
|
+
if (1 === b.nodeType || e)
|
|
876
|
+
return a(b, c, f)
|
|
877
|
+
}
|
|
878
|
+
: function(b, c, g) {
|
|
879
|
+
var h, i, j, k = [w, f];
|
|
880
|
+
if (g) {
|
|
881
|
+
while (b = b[d])
|
|
882
|
+
if ((1 === b.nodeType || e) && a(b, c, g))
|
|
883
|
+
return !0
|
|
884
|
+
} else
|
|
885
|
+
while (b = b[d])
|
|
886
|
+
if (1 === b.nodeType || e) {
|
|
887
|
+
if (j = b[u] || (b[u] = {}),
|
|
888
|
+
i = j[b.uniqueID] || (j[b.uniqueID] = {}),
|
|
889
|
+
(h = i[d]) && h[0] === w && h[1] === f)
|
|
890
|
+
return k[2] = h[2];
|
|
891
|
+
if (i[d] = k,
|
|
892
|
+
k[2] = a(b, c, g))
|
|
893
|
+
return !0
|
|
894
|
+
}
|
|
895
|
+
}
|
|
896
|
+
}
|
|
897
|
+
function sa(a) {
|
|
898
|
+
return a.length > 1 ? function(b, c, d) {
|
|
899
|
+
var e = a.length;
|
|
900
|
+
while (e--)
|
|
901
|
+
if (!a[e](b, c, d))
|
|
902
|
+
return !1;
|
|
903
|
+
return !0
|
|
904
|
+
}
|
|
905
|
+
: a[0]
|
|
906
|
+
}
|
|
907
|
+
function ta(a, b, c) {
|
|
908
|
+
for (var d = 0, e = b.length; e > d; d++)
|
|
909
|
+
fa(a, b[d], c);
|
|
910
|
+
return c
|
|
911
|
+
}
|
|
912
|
+
function ua(a, b, c, d, e) {
|
|
913
|
+
for (var f, g = [], h = 0, i = a.length, j = null != b; i > h; h++)
|
|
914
|
+
(f = a[h]) && (!c || c(f, d, e)) && (g.push(f),
|
|
915
|
+
j && b.push(h));
|
|
916
|
+
return g
|
|
917
|
+
}
|
|
918
|
+
function va(a, b, c, d, e, f) {
|
|
919
|
+
return d && !d[u] && (d = va(d)),
|
|
920
|
+
e && !e[u] && (e = va(e, f)),
|
|
921
|
+
ha(function(f, g, h, i) {
|
|
922
|
+
var j, k, l, m = [], n = [], o = g.length, p = f || ta(b || "*", h.nodeType ? [h] : h, []), q = !a || !f && b ? p : ua(p, m, a, h, i), r = c ? e || (f ? a : o || d) ? [] : g : q;
|
|
923
|
+
if (c && c(q, r, h, i),
|
|
924
|
+
d) {
|
|
925
|
+
j = ua(r, n),
|
|
926
|
+
d(j, [], h, i),
|
|
927
|
+
k = j.length;
|
|
928
|
+
while (k--)
|
|
929
|
+
(l = j[k]) && (r[n[k]] = !(q[n[k]] = l))
|
|
930
|
+
}
|
|
931
|
+
if (f) {
|
|
932
|
+
if (e || a) {
|
|
933
|
+
if (e) {
|
|
934
|
+
j = [],
|
|
935
|
+
k = r.length;
|
|
936
|
+
while (k--)
|
|
937
|
+
(l = r[k]) && j.push(q[k] = l);
|
|
938
|
+
e(null, r = [], j, i)
|
|
939
|
+
}
|
|
940
|
+
k = r.length;
|
|
941
|
+
while (k--)
|
|
942
|
+
(l = r[k]) && (j = e ? J(f, l) : m[k]) > -1 && (f[j] = !(g[j] = l))
|
|
943
|
+
}
|
|
944
|
+
} else
|
|
945
|
+
r = ua(r === g ? r.splice(o, r.length) : r),
|
|
946
|
+
e ? e(null, g, r, i) : H.apply(g, r)
|
|
947
|
+
})
|
|
948
|
+
}
|
|
949
|
+
function wa(a) {
|
|
950
|
+
for (var b, c, e, f = a.length, g = d.relative[a[0].type], h = g || d.relative[" "], i = g ? 1 : 0, k = ra(function(a) {
|
|
951
|
+
return a === b
|
|
952
|
+
}, h, !0), l = ra(function(a) {
|
|
953
|
+
return J(b, a) > -1
|
|
954
|
+
}, h, !0), m = [function(a, c, d) {
|
|
955
|
+
var e = !g && (d || c !== j) || ((b = c).nodeType ? k(a, c, d) : l(a, c, d));
|
|
956
|
+
return b = null,
|
|
957
|
+
e
|
|
958
|
+
}
|
|
959
|
+
]; f > i; i++)
|
|
960
|
+
if (c = d.relative[a[i].type])
|
|
961
|
+
m = [ra(sa(m), c)];
|
|
962
|
+
else {
|
|
963
|
+
if (c = d.filter[a[i].type].apply(null, a[i].matches),
|
|
964
|
+
c[u]) {
|
|
965
|
+
for (e = ++i; f > e; e++)
|
|
966
|
+
if (d.relative[a[e].type])
|
|
967
|
+
break;
|
|
968
|
+
return va(i > 1 && sa(m), i > 1 && qa(a.slice(0, i - 1).concat({
|
|
969
|
+
value: " " === a[i - 2].type ? "*" : ""
|
|
970
|
+
})).replace(Q, "$1"), c, e > i && wa(a.slice(i, e)), f > e && wa(a = a.slice(e)), f > e && qa(a))
|
|
971
|
+
}
|
|
972
|
+
m.push(c)
|
|
973
|
+
}
|
|
974
|
+
return sa(m)
|
|
975
|
+
}
|
|
976
|
+
function xa(a, b) {
|
|
977
|
+
var c = b.length > 0
|
|
978
|
+
, e = a.length > 0
|
|
979
|
+
, f = function(f, g, h, i, k) {
|
|
980
|
+
var l, o, q, r = 0, s = "0", t = f && [], u = [], v = j, x = f || e && d.find.TAG("*", k), y = w += null == v ? 1 : Math.random() || .1, z = x.length;
|
|
981
|
+
for (k && (j = g === n || g || k); s !== z && null != (l = x[s]); s++) {
|
|
982
|
+
if (e && l) {
|
|
983
|
+
o = 0,
|
|
984
|
+
g || l.ownerDocument === n || (m(l),
|
|
985
|
+
h = !p);
|
|
986
|
+
while (q = a[o++])
|
|
987
|
+
if (q(l, g || n, h)) {
|
|
988
|
+
i.push(l);
|
|
989
|
+
break
|
|
990
|
+
}
|
|
991
|
+
k && (w = y)
|
|
992
|
+
}
|
|
993
|
+
c && ((l = !q && l) && r--,
|
|
994
|
+
f && t.push(l))
|
|
995
|
+
}
|
|
996
|
+
if (r += s,
|
|
997
|
+
c && s !== r) {
|
|
998
|
+
o = 0;
|
|
999
|
+
while (q = b[o++])
|
|
1000
|
+
q(t, u, g, h);
|
|
1001
|
+
if (f) {
|
|
1002
|
+
if (r > 0)
|
|
1003
|
+
while (s--)
|
|
1004
|
+
t[s] || u[s] || (u[s] = F.call(i));
|
|
1005
|
+
u = ua(u)
|
|
1006
|
+
}
|
|
1007
|
+
H.apply(i, u),
|
|
1008
|
+
k && !f && u.length > 0 && r + b.length > 1 && fa.uniqueSort(i)
|
|
1009
|
+
}
|
|
1010
|
+
return k && (w = y,
|
|
1011
|
+
j = v),
|
|
1012
|
+
t
|
|
1013
|
+
};
|
|
1014
|
+
return c ? ha(f) : f
|
|
1015
|
+
}
|
|
1016
|
+
return h = fa.compile = function(a, b) {
|
|
1017
|
+
var c, d = [], e = [], f = A[a + " "];
|
|
1018
|
+
if (!f) {
|
|
1019
|
+
b || (b = g(a)),
|
|
1020
|
+
c = b.length;
|
|
1021
|
+
while (c--)
|
|
1022
|
+
f = wa(b[c]),
|
|
1023
|
+
f[u] ? d.push(f) : e.push(f);
|
|
1024
|
+
f = A(a, xa(e, d)),
|
|
1025
|
+
f.selector = a
|
|
1026
|
+
}
|
|
1027
|
+
return f
|
|
1028
|
+
}
|
|
1029
|
+
,
|
|
1030
|
+
i = fa.select = function(a, b, e, f) {
|
|
1031
|
+
var i, j, k, l, m, n = "function" == typeof a && a, o = !f && g(a = n.selector || a);
|
|
1032
|
+
if (e = e || [],
|
|
1033
|
+
1 === o.length) {
|
|
1034
|
+
if (j = o[0] = o[0].slice(0),
|
|
1035
|
+
j.length > 2 && "ID" === (k = j[0]).type && c.getById && 9 === b.nodeType && p && d.relative[j[1].type]) {
|
|
1036
|
+
if (b = (d.find.ID(k.matches[0].replace(ba, ca), b) || [])[0],
|
|
1037
|
+
!b)
|
|
1038
|
+
return e;
|
|
1039
|
+
n && (b = b.parentNode),
|
|
1040
|
+
a = a.slice(j.shift().value.length)
|
|
1041
|
+
}
|
|
1042
|
+
i = W.needsContext.test(a) ? 0 : j.length;
|
|
1043
|
+
while (i--) {
|
|
1044
|
+
if (k = j[i],
|
|
1045
|
+
d.relative[l = k.type])
|
|
1046
|
+
break;
|
|
1047
|
+
if ((m = d.find[l]) && (f = m(k.matches[0].replace(ba, ca), _.test(j[0].type) && oa(b.parentNode) || b))) {
|
|
1048
|
+
if (j.splice(i, 1),
|
|
1049
|
+
a = f.length && qa(j),
|
|
1050
|
+
!a)
|
|
1051
|
+
return H.apply(e, f),
|
|
1052
|
+
e;
|
|
1053
|
+
break
|
|
1054
|
+
}
|
|
1055
|
+
}
|
|
1056
|
+
}
|
|
1057
|
+
return (n || h(a, o))(f, b, !p, e, !b || _.test(a) && oa(b.parentNode) || b),
|
|
1058
|
+
e
|
|
1059
|
+
}
|
|
1060
|
+
,
|
|
1061
|
+
c.sortStable = u.split("").sort(B).join("") === u,
|
|
1062
|
+
c.detectDuplicates = !!l,
|
|
1063
|
+
m(),
|
|
1064
|
+
c.sortDetached = ia(function(a) {
|
|
1065
|
+
return 1 & a.compareDocumentPosition(n.createElement("div"))
|
|
1066
|
+
}),
|
|
1067
|
+
ia(function(a) {
|
|
1068
|
+
return a.innerHTML = "<a href='#'></a>",
|
|
1069
|
+
"#" === a.firstChild.getAttribute("href")
|
|
1070
|
+
}) || ja("type|href|height|width", function(a, b, c) {
|
|
1071
|
+
return c ? void 0 : a.getAttribute(b, "type" === b.toLowerCase() ? 1 : 2)
|
|
1072
|
+
}),
|
|
1073
|
+
c.attributes && ia(function(a) {
|
|
1074
|
+
return a.innerHTML = "<input/>",
|
|
1075
|
+
a.firstChild.setAttribute("value", ""),
|
|
1076
|
+
"" === a.firstChild.getAttribute("value")
|
|
1077
|
+
}) || ja("value", function(a, b, c) {
|
|
1078
|
+
return c || "input" !== a.nodeName.toLowerCase() ? void 0 : a.defaultValue
|
|
1079
|
+
}),
|
|
1080
|
+
ia(function(a) {
|
|
1081
|
+
return null == a.getAttribute("disabled")
|
|
1082
|
+
}) || ja(K, function(a, b, c) {
|
|
1083
|
+
var d;
|
|
1084
|
+
return c ? void 0 : a[b] === !0 ? b.toLowerCase() : (d = a.getAttributeNode(b)) && d.specified ? d.value : null
|
|
1085
|
+
}),
|
|
1086
|
+
fa
|
|
1087
|
+
}(a);
|
|
1088
|
+
n.find = t,
|
|
1089
|
+
n.expr = t.selectors,
|
|
1090
|
+
n.expr[":"] = n.expr.pseudos,
|
|
1091
|
+
n.uniqueSort = n.unique = t.uniqueSort,
|
|
1092
|
+
n.text = t.getText,
|
|
1093
|
+
n.isXMLDoc = t.isXML,
|
|
1094
|
+
n.contains = t.contains;
|
|
1095
|
+
var u = function(a, b, c) {
|
|
1096
|
+
var d = []
|
|
1097
|
+
, e = void 0 !== c;
|
|
1098
|
+
while ((a = a[b]) && 9 !== a.nodeType)
|
|
1099
|
+
if (1 === a.nodeType) {
|
|
1100
|
+
if (e && n(a).is(c))
|
|
1101
|
+
break;
|
|
1102
|
+
d.push(a)
|
|
1103
|
+
}
|
|
1104
|
+
return d
|
|
1105
|
+
}
|
|
1106
|
+
, v = function(a, b) {
|
|
1107
|
+
for (var c = []; a; a = a.nextSibling)
|
|
1108
|
+
1 === a.nodeType && a !== b && c.push(a);
|
|
1109
|
+
return c
|
|
1110
|
+
}
|
|
1111
|
+
, w = n.expr.match.needsContext
|
|
1112
|
+
, x = /^<([\w-]+)\s*\/?>(?:<\/\1>|)$/
|
|
1113
|
+
, y = /^.[^:#\[\.,]*$/;
|
|
1114
|
+
function z(a, b, c) {
|
|
1115
|
+
if (n.isFunction(b))
|
|
1116
|
+
return n.grep(a, function(a, d) {
|
|
1117
|
+
return !!b.call(a, d, a) !== c
|
|
1118
|
+
});
|
|
1119
|
+
if (b.nodeType)
|
|
1120
|
+
return n.grep(a, function(a) {
|
|
1121
|
+
return a === b !== c
|
|
1122
|
+
});
|
|
1123
|
+
if ("string" == typeof b) {
|
|
1124
|
+
if (y.test(b))
|
|
1125
|
+
return n.filter(b, a, c);
|
|
1126
|
+
b = n.filter(b, a)
|
|
1127
|
+
}
|
|
1128
|
+
return n.grep(a, function(a) {
|
|
1129
|
+
return h.call(b, a) > -1 !== c
|
|
1130
|
+
})
|
|
1131
|
+
}
|
|
1132
|
+
n.filter = function(a, b, c) {
|
|
1133
|
+
var d = b[0];
|
|
1134
|
+
return c && (a = ":not(" + a + ")"),
|
|
1135
|
+
1 === b.length && 1 === d.nodeType ? n.find.matchesSelector(d, a) ? [d] : [] : n.find.matches(a, n.grep(b, function(a) {
|
|
1136
|
+
return 1 === a.nodeType
|
|
1137
|
+
}))
|
|
1138
|
+
}
|
|
1139
|
+
,
|
|
1140
|
+
n.fn.extend({
|
|
1141
|
+
find: function(a) {
|
|
1142
|
+
var b, c = this.length, d = [], e = this;
|
|
1143
|
+
if ("string" != typeof a)
|
|
1144
|
+
return this.pushStack(n(a).filter(function() {
|
|
1145
|
+
for (b = 0; c > b; b++)
|
|
1146
|
+
if (n.contains(e[b], this))
|
|
1147
|
+
return !0
|
|
1148
|
+
}));
|
|
1149
|
+
for (b = 0; c > b; b++)
|
|
1150
|
+
n.find(a, e[b], d);
|
|
1151
|
+
return d = this.pushStack(c > 1 ? n.unique(d) : d),
|
|
1152
|
+
d.selector = this.selector ? this.selector + " " + a : a,
|
|
1153
|
+
d
|
|
1154
|
+
},
|
|
1155
|
+
filter: function(a) {
|
|
1156
|
+
return this.pushStack(z(this, a || [], !1))
|
|
1157
|
+
},
|
|
1158
|
+
not: function(a) {
|
|
1159
|
+
return this.pushStack(z(this, a || [], !0))
|
|
1160
|
+
},
|
|
1161
|
+
is: function(a) {
|
|
1162
|
+
return !!z(this, "string" == typeof a && w.test(a) ? n(a) : a || [], !1).length
|
|
1163
|
+
}
|
|
1164
|
+
});
|
|
1165
|
+
var A, B = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/, C = n.fn.init = function(a, b, c) {
|
|
1166
|
+
var e, f;
|
|
1167
|
+
if (!a)
|
|
1168
|
+
return this;
|
|
1169
|
+
if (c = c || A,
|
|
1170
|
+
"string" == typeof a) {
|
|
1171
|
+
if (e = "<" === a[0] && ">" === a[a.length - 1] && a.length >= 3 ? [null, a, null] : B.exec(a),
|
|
1172
|
+
!e || !e[1] && b)
|
|
1173
|
+
return !b || b.jquery ? (b || c).find(a) : this.constructor(b).find(a);
|
|
1174
|
+
if (e[1]) {
|
|
1175
|
+
if (b = b instanceof n ? b[0] : b,
|
|
1176
|
+
n.merge(this, n.parseHTML(e[1], b && b.nodeType ? b.ownerDocument || b : d, !0)),
|
|
1177
|
+
x.test(e[1]) && n.isPlainObject(b))
|
|
1178
|
+
for (e in b)
|
|
1179
|
+
n.isFunction(this[e]) ? this[e](b[e]) : this.attr(e, b[e]);
|
|
1180
|
+
return this
|
|
1181
|
+
}
|
|
1182
|
+
return f = d.getElementById(e[2]),
|
|
1183
|
+
f && f.parentNode && (this.length = 1,
|
|
1184
|
+
this[0] = f),
|
|
1185
|
+
this.context = d,
|
|
1186
|
+
this.selector = a,
|
|
1187
|
+
this
|
|
1188
|
+
}
|
|
1189
|
+
return a.nodeType ? (this.context = this[0] = a,
|
|
1190
|
+
this.length = 1,
|
|
1191
|
+
this) : n.isFunction(a) ? void 0 !== c.ready ? c.ready(a) : a(n) : (void 0 !== a.selector && (this.selector = a.selector,
|
|
1192
|
+
this.context = a.context),
|
|
1193
|
+
n.makeArray(a, this))
|
|
1194
|
+
}
|
|
1195
|
+
;
|
|
1196
|
+
C.prototype = n.fn,
|
|
1197
|
+
A = n(d);
|
|
1198
|
+
var D = /^(?:parents|prev(?:Until|All))/
|
|
1199
|
+
, E = {
|
|
1200
|
+
children: !0,
|
|
1201
|
+
contents: !0,
|
|
1202
|
+
next: !0,
|
|
1203
|
+
prev: !0
|
|
1204
|
+
};
|
|
1205
|
+
n.fn.extend({
|
|
1206
|
+
has: function(a) {
|
|
1207
|
+
var b = n(a, this)
|
|
1208
|
+
, c = b.length;
|
|
1209
|
+
return this.filter(function() {
|
|
1210
|
+
for (var a = 0; c > a; a++)
|
|
1211
|
+
if (n.contains(this, b[a]))
|
|
1212
|
+
return !0
|
|
1213
|
+
})
|
|
1214
|
+
},
|
|
1215
|
+
closest: function(a, b) {
|
|
1216
|
+
for (var c, d = 0, e = this.length, f = [], g = w.test(a) || "string" != typeof a ? n(a, b || this.context) : 0; e > d; d++)
|
|
1217
|
+
for (c = this[d]; c && c !== b; c = c.parentNode)
|
|
1218
|
+
if (c.nodeType < 11 && (g ? g.index(c) > -1 : 1 === c.nodeType && n.find.matchesSelector(c, a))) {
|
|
1219
|
+
f.push(c);
|
|
1220
|
+
break
|
|
1221
|
+
}
|
|
1222
|
+
return this.pushStack(f.length > 1 ? n.uniqueSort(f) : f)
|
|
1223
|
+
},
|
|
1224
|
+
index: function(a) {
|
|
1225
|
+
return a ? "string" == typeof a ? h.call(n(a), this[0]) : h.call(this, a.jquery ? a[0] : a) : this[0] && this[0].parentNode ? this.first().prevAll().length : -1
|
|
1226
|
+
},
|
|
1227
|
+
add: function(a, b) {
|
|
1228
|
+
return this.pushStack(n.uniqueSort(n.merge(this.get(), n(a, b))))
|
|
1229
|
+
},
|
|
1230
|
+
addBack: function(a) {
|
|
1231
|
+
return this.add(null == a ? this.prevObject : this.prevObject.filter(a))
|
|
1232
|
+
}
|
|
1233
|
+
});
|
|
1234
|
+
function F(a, b) {
|
|
1235
|
+
while ((a = a[b]) && 1 !== a.nodeType)
|
|
1236
|
+
;
|
|
1237
|
+
return a
|
|
1238
|
+
}
|
|
1239
|
+
n.each({
|
|
1240
|
+
parent: function(a) {
|
|
1241
|
+
var b = a.parentNode;
|
|
1242
|
+
return b && 11 !== b.nodeType ? b : null
|
|
1243
|
+
},
|
|
1244
|
+
parents: function(a) {
|
|
1245
|
+
return u(a, "parentNode")
|
|
1246
|
+
},
|
|
1247
|
+
parentsUntil: function(a, b, c) {
|
|
1248
|
+
return u(a, "parentNode", c)
|
|
1249
|
+
},
|
|
1250
|
+
next: function(a) {
|
|
1251
|
+
return F(a, "nextSibling")
|
|
1252
|
+
},
|
|
1253
|
+
prev: function(a) {
|
|
1254
|
+
return F(a, "previousSibling")
|
|
1255
|
+
},
|
|
1256
|
+
nextAll: function(a) {
|
|
1257
|
+
return u(a, "nextSibling")
|
|
1258
|
+
},
|
|
1259
|
+
prevAll: function(a) {
|
|
1260
|
+
return u(a, "previousSibling")
|
|
1261
|
+
},
|
|
1262
|
+
nextUntil: function(a, b, c) {
|
|
1263
|
+
return u(a, "nextSibling", c)
|
|
1264
|
+
},
|
|
1265
|
+
prevUntil: function(a, b, c) {
|
|
1266
|
+
return u(a, "previousSibling", c)
|
|
1267
|
+
},
|
|
1268
|
+
siblings: function(a) {
|
|
1269
|
+
return v((a.parentNode || {}).firstChild, a)
|
|
1270
|
+
},
|
|
1271
|
+
children: function(a) {
|
|
1272
|
+
return v(a.firstChild)
|
|
1273
|
+
},
|
|
1274
|
+
contents: function(a) {
|
|
1275
|
+
return a.contentDocument || n.merge([], a.childNodes)
|
|
1276
|
+
}
|
|
1277
|
+
}, function(a, b) {
|
|
1278
|
+
n.fn[a] = function(c, d) {
|
|
1279
|
+
var e = n.map(this, b, c);
|
|
1280
|
+
return "Until" !== a.slice(-5) && (d = c),
|
|
1281
|
+
d && "string" == typeof d && (e = n.filter(d, e)),
|
|
1282
|
+
this.length > 1 && (E[a] || n.uniqueSort(e),
|
|
1283
|
+
D.test(a) && e.reverse()),
|
|
1284
|
+
this.pushStack(e)
|
|
1285
|
+
}
|
|
1286
|
+
});
|
|
1287
|
+
var G = /\S+/g;
|
|
1288
|
+
function H(a) {
|
|
1289
|
+
var b = {};
|
|
1290
|
+
return n.each(a.match(G) || [], function(a, c) {
|
|
1291
|
+
b[c] = !0
|
|
1292
|
+
}),
|
|
1293
|
+
b
|
|
1294
|
+
}
|
|
1295
|
+
n.Callbacks = function(a) {
|
|
1296
|
+
a = "string" == typeof a ? H(a) : n.extend({}, a);
|
|
1297
|
+
var b, c, d, e, f = [], g = [], h = -1, i = function() {
|
|
1298
|
+
for (e = a.once,
|
|
1299
|
+
d = b = !0; g.length; h = -1) {
|
|
1300
|
+
c = g.shift();
|
|
1301
|
+
while (++h < f.length)
|
|
1302
|
+
f[h].apply(c[0], c[1]) === !1 && a.stopOnFalse && (h = f.length,
|
|
1303
|
+
c = !1)
|
|
1304
|
+
}
|
|
1305
|
+
a.memory || (c = !1),
|
|
1306
|
+
b = !1,
|
|
1307
|
+
e && (f = c ? [] : "")
|
|
1308
|
+
}, j = {
|
|
1309
|
+
add: function() {
|
|
1310
|
+
return f && (c && !b && (h = f.length - 1,
|
|
1311
|
+
g.push(c)),
|
|
1312
|
+
function d(b) {
|
|
1313
|
+
n.each(b, function(b, c) {
|
|
1314
|
+
n.isFunction(c) ? a.unique && j.has(c) || f.push(c) : c && c.length && "string" !== n.type(c) && d(c)
|
|
1315
|
+
})
|
|
1316
|
+
}(arguments),
|
|
1317
|
+
c && !b && i()),
|
|
1318
|
+
this
|
|
1319
|
+
},
|
|
1320
|
+
remove: function() {
|
|
1321
|
+
return n.each(arguments, function(a, b) {
|
|
1322
|
+
var c;
|
|
1323
|
+
while ((c = n.inArray(b, f, c)) > -1)
|
|
1324
|
+
f.splice(c, 1),
|
|
1325
|
+
h >= c && h--
|
|
1326
|
+
}),
|
|
1327
|
+
this
|
|
1328
|
+
},
|
|
1329
|
+
has: function(a) {
|
|
1330
|
+
return a ? n.inArray(a, f) > -1 : f.length > 0
|
|
1331
|
+
},
|
|
1332
|
+
empty: function() {
|
|
1333
|
+
return f && (f = []),
|
|
1334
|
+
this
|
|
1335
|
+
},
|
|
1336
|
+
disable: function() {
|
|
1337
|
+
return e = g = [],
|
|
1338
|
+
f = c = "",
|
|
1339
|
+
this
|
|
1340
|
+
},
|
|
1341
|
+
disabled: function() {
|
|
1342
|
+
return !f
|
|
1343
|
+
},
|
|
1344
|
+
lock: function() {
|
|
1345
|
+
return e = g = [],
|
|
1346
|
+
c || (f = c = ""),
|
|
1347
|
+
this
|
|
1348
|
+
},
|
|
1349
|
+
locked: function() {
|
|
1350
|
+
return !!e
|
|
1351
|
+
},
|
|
1352
|
+
fireWith: function(a, c) {
|
|
1353
|
+
return e || (c = c || [],
|
|
1354
|
+
c = [a, c.slice ? c.slice() : c],
|
|
1355
|
+
g.push(c),
|
|
1356
|
+
b || i()),
|
|
1357
|
+
this
|
|
1358
|
+
},
|
|
1359
|
+
fire: function() {
|
|
1360
|
+
return j.fireWith(this, arguments),
|
|
1361
|
+
this
|
|
1362
|
+
},
|
|
1363
|
+
fired: function() {
|
|
1364
|
+
return !!d
|
|
1365
|
+
}
|
|
1366
|
+
};
|
|
1367
|
+
return j
|
|
1368
|
+
}
|
|
1369
|
+
,
|
|
1370
|
+
n.extend({
|
|
1371
|
+
Deferred: function(a) {
|
|
1372
|
+
var b = [["resolve", "done", n.Callbacks("once memory"), "resolved"], ["reject", "fail", n.Callbacks("once memory"), "rejected"], ["notify", "progress", n.Callbacks("memory")]]
|
|
1373
|
+
, c = "pending"
|
|
1374
|
+
, d = {
|
|
1375
|
+
state: function() {
|
|
1376
|
+
return c
|
|
1377
|
+
},
|
|
1378
|
+
always: function() {
|
|
1379
|
+
return e.done(arguments).fail(arguments),
|
|
1380
|
+
this
|
|
1381
|
+
},
|
|
1382
|
+
then: function() {
|
|
1383
|
+
var a = arguments;
|
|
1384
|
+
return n.Deferred(function(c) {
|
|
1385
|
+
n.each(b, function(b, f) {
|
|
1386
|
+
var g = n.isFunction(a[b]) && a[b];
|
|
1387
|
+
e[f[1]](function() {
|
|
1388
|
+
var a = g && g.apply(this, arguments);
|
|
1389
|
+
a && n.isFunction(a.promise) ? a.promise().progress(c.notify).done(c.resolve).fail(c.reject) : c[f[0] + "With"](this === d ? c.promise() : this, g ? [a] : arguments)
|
|
1390
|
+
})
|
|
1391
|
+
}),
|
|
1392
|
+
a = null
|
|
1393
|
+
}).promise()
|
|
1394
|
+
},
|
|
1395
|
+
promise: function(a) {
|
|
1396
|
+
return null != a ? n.extend(a, d) : d
|
|
1397
|
+
}
|
|
1398
|
+
}
|
|
1399
|
+
, e = {};
|
|
1400
|
+
return d.pipe = d.then,
|
|
1401
|
+
n.each(b, function(a, f) {
|
|
1402
|
+
var g = f[2]
|
|
1403
|
+
, h = f[3];
|
|
1404
|
+
d[f[1]] = g.add,
|
|
1405
|
+
h && g.add(function() {
|
|
1406
|
+
c = h
|
|
1407
|
+
}, b[1 ^ a][2].disable, b[2][2].lock),
|
|
1408
|
+
e[f[0]] = function() {
|
|
1409
|
+
return e[f[0] + "With"](this === e ? d : this, arguments),
|
|
1410
|
+
this
|
|
1411
|
+
}
|
|
1412
|
+
,
|
|
1413
|
+
e[f[0] + "With"] = g.fireWith
|
|
1414
|
+
}),
|
|
1415
|
+
d.promise(e),
|
|
1416
|
+
a && a.call(e, e),
|
|
1417
|
+
e
|
|
1418
|
+
},
|
|
1419
|
+
when: function(a) {
|
|
1420
|
+
var b = 0, c = e.call(arguments), d = c.length, f = 1 !== d || a && n.isFunction(a.promise) ? d : 0, g = 1 === f ? a : n.Deferred(), h = function(a, b, c) {
|
|
1421
|
+
return function(d) {
|
|
1422
|
+
b[a] = this,
|
|
1423
|
+
c[a] = arguments.length > 1 ? e.call(arguments) : d,
|
|
1424
|
+
c === i ? g.notifyWith(b, c) : --f || g.resolveWith(b, c)
|
|
1425
|
+
}
|
|
1426
|
+
}, i, j, k;
|
|
1427
|
+
if (d > 1)
|
|
1428
|
+
for (i = new Array(d),
|
|
1429
|
+
j = new Array(d),
|
|
1430
|
+
k = new Array(d); d > b; b++)
|
|
1431
|
+
c[b] && n.isFunction(c[b].promise) ? c[b].promise().progress(h(b, j, i)).done(h(b, k, c)).fail(g.reject) : --f;
|
|
1432
|
+
return f || g.resolveWith(k, c),
|
|
1433
|
+
g.promise()
|
|
1434
|
+
}
|
|
1435
|
+
});
|
|
1436
|
+
var I;
|
|
1437
|
+
n.fn.ready = function(a) {
|
|
1438
|
+
return n.ready.promise().done(a),
|
|
1439
|
+
this
|
|
1440
|
+
}
|
|
1441
|
+
,
|
|
1442
|
+
n.extend({
|
|
1443
|
+
isReady: !1,
|
|
1444
|
+
readyWait: 1,
|
|
1445
|
+
holdReady: function(a) {
|
|
1446
|
+
a ? n.readyWait++ : n.ready(!0)
|
|
1447
|
+
},
|
|
1448
|
+
ready: function(a) {
|
|
1449
|
+
(a === !0 ? --n.readyWait : n.isReady) || (n.isReady = !0,
|
|
1450
|
+
a !== !0 && --n.readyWait > 0 || (I.resolveWith(d, [n]),
|
|
1451
|
+
n.fn.triggerHandler && (n(d).triggerHandler("ready"),
|
|
1452
|
+
n(d).off("ready"))))
|
|
1453
|
+
}
|
|
1454
|
+
});
|
|
1455
|
+
function J() {
|
|
1456
|
+
d.removeEventListener("DOMContentLoaded", J),
|
|
1457
|
+
a.removeEventListener("load", J),
|
|
1458
|
+
n.ready()
|
|
1459
|
+
}
|
|
1460
|
+
n.ready.promise = function(b) {
|
|
1461
|
+
return I || (I = n.Deferred(),
|
|
1462
|
+
"complete" === d.readyState || "loading" !== d.readyState && !d.documentElement.doScroll ? a.setTimeout(n.ready) : (d.addEventListener("DOMContentLoaded", J),
|
|
1463
|
+
a.addEventListener("load", J))),
|
|
1464
|
+
I.promise(b)
|
|
1465
|
+
}
|
|
1466
|
+
,
|
|
1467
|
+
n.ready.promise();
|
|
1468
|
+
var K = function(a, b, c, d, e, f, g) {
|
|
1469
|
+
var h = 0
|
|
1470
|
+
, i = a.length
|
|
1471
|
+
, j = null == c;
|
|
1472
|
+
if ("object" === n.type(c)) {
|
|
1473
|
+
e = !0;
|
|
1474
|
+
for (h in c)
|
|
1475
|
+
K(a, b, h, c[h], !0, f, g)
|
|
1476
|
+
} else if (void 0 !== d && (e = !0,
|
|
1477
|
+
n.isFunction(d) || (g = !0),
|
|
1478
|
+
j && (g ? (b.call(a, d),
|
|
1479
|
+
b = null) : (j = b,
|
|
1480
|
+
b = function(a, b, c) {
|
|
1481
|
+
return j.call(n(a), c)
|
|
1482
|
+
}
|
|
1483
|
+
)),
|
|
1484
|
+
b))
|
|
1485
|
+
for (; i > h; h++)
|
|
1486
|
+
b(a[h], c, g ? d : d.call(a[h], h, b(a[h], c)));
|
|
1487
|
+
return e ? a : j ? b.call(a) : i ? b(a[0], c) : f
|
|
1488
|
+
}
|
|
1489
|
+
, L = function(a) {
|
|
1490
|
+
return 1 === a.nodeType || 9 === a.nodeType || !+a.nodeType
|
|
1491
|
+
};
|
|
1492
|
+
function M() {
|
|
1493
|
+
this.expando = n.expando + M.uid++
|
|
1494
|
+
}
|
|
1495
|
+
M.uid = 1,
|
|
1496
|
+
M.prototype = {
|
|
1497
|
+
register: function(a, b) {
|
|
1498
|
+
var c = b || {};
|
|
1499
|
+
return a.nodeType ? a[this.expando] = c : Object.defineProperty(a, this.expando, {
|
|
1500
|
+
value: c,
|
|
1501
|
+
writable: !0,
|
|
1502
|
+
configurable: !0
|
|
1503
|
+
}),
|
|
1504
|
+
a[this.expando]
|
|
1505
|
+
},
|
|
1506
|
+
cache: function(a) {
|
|
1507
|
+
if (!L(a))
|
|
1508
|
+
return {};
|
|
1509
|
+
var b = a[this.expando];
|
|
1510
|
+
return b || (b = {},
|
|
1511
|
+
L(a) && (a.nodeType ? a[this.expando] = b : Object.defineProperty(a, this.expando, {
|
|
1512
|
+
value: b,
|
|
1513
|
+
configurable: !0
|
|
1514
|
+
}))),
|
|
1515
|
+
b
|
|
1516
|
+
},
|
|
1517
|
+
set: function(a, b, c) {
|
|
1518
|
+
var d, e = this.cache(a);
|
|
1519
|
+
if ("string" == typeof b)
|
|
1520
|
+
e[b] = c;
|
|
1521
|
+
else
|
|
1522
|
+
for (d in b)
|
|
1523
|
+
e[d] = b[d];
|
|
1524
|
+
return e
|
|
1525
|
+
},
|
|
1526
|
+
get: function(a, b) {
|
|
1527
|
+
return void 0 === b ? this.cache(a) : a[this.expando] && a[this.expando][b]
|
|
1528
|
+
},
|
|
1529
|
+
access: function(a, b, c) {
|
|
1530
|
+
var d;
|
|
1531
|
+
return void 0 === b || b && "string" == typeof b && void 0 === c ? (d = this.get(a, b),
|
|
1532
|
+
void 0 !== d ? d : this.get(a, n.camelCase(b))) : (this.set(a, b, c),
|
|
1533
|
+
void 0 !== c ? c : b)
|
|
1534
|
+
},
|
|
1535
|
+
remove: function(a, b) {
|
|
1536
|
+
var c, d, e, f = a[this.expando];
|
|
1537
|
+
if (void 0 !== f) {
|
|
1538
|
+
if (void 0 === b)
|
|
1539
|
+
this.register(a);
|
|
1540
|
+
else {
|
|
1541
|
+
n.isArray(b) ? d = b.concat(b.map(n.camelCase)) : (e = n.camelCase(b),
|
|
1542
|
+
b in f ? d = [b, e] : (d = e,
|
|
1543
|
+
d = d in f ? [d] : d.match(G) || [])),
|
|
1544
|
+
c = d.length;
|
|
1545
|
+
while (c--)
|
|
1546
|
+
delete f[d[c]]
|
|
1547
|
+
}
|
|
1548
|
+
(void 0 === b || n.isEmptyObject(f)) && (a.nodeType ? a[this.expando] = void 0 : delete a[this.expando])
|
|
1549
|
+
}
|
|
1550
|
+
},
|
|
1551
|
+
hasData: function(a) {
|
|
1552
|
+
var b = a[this.expando];
|
|
1553
|
+
return void 0 !== b && !n.isEmptyObject(b)
|
|
1554
|
+
}
|
|
1555
|
+
};
|
|
1556
|
+
var N = new M
|
|
1557
|
+
, O = new M
|
|
1558
|
+
, P = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/
|
|
1559
|
+
, Q = /[A-Z]/g;
|
|
1560
|
+
function R(a, b, c) {
|
|
1561
|
+
var d;
|
|
1562
|
+
if (void 0 === c && 1 === a.nodeType)
|
|
1563
|
+
if (d = "data-" + b.replace(Q, "-$&").toLowerCase(),
|
|
1564
|
+
c = a.getAttribute(d),
|
|
1565
|
+
"string" == typeof c) {
|
|
1566
|
+
try {
|
|
1567
|
+
c = "true" === c ? !0 : "false" === c ? !1 : "null" === c ? null : +c + "" === c ? +c : P.test(c) ? n.parseJSON(c) : c
|
|
1568
|
+
} catch (e) {}
|
|
1569
|
+
O.set(a, b, c);
|
|
1570
|
+
} else
|
|
1571
|
+
c = void 0;
|
|
1572
|
+
return c
|
|
1573
|
+
}
|
|
1574
|
+
n.extend({
|
|
1575
|
+
hasData: function(a) {
|
|
1576
|
+
return O.hasData(a) || N.hasData(a)
|
|
1577
|
+
},
|
|
1578
|
+
data: function(a, b, c) {
|
|
1579
|
+
return O.access(a, b, c)
|
|
1580
|
+
},
|
|
1581
|
+
removeData: function(a, b) {
|
|
1582
|
+
O.remove(a, b)
|
|
1583
|
+
},
|
|
1584
|
+
_data: function(a, b, c) {
|
|
1585
|
+
return N.access(a, b, c)
|
|
1586
|
+
},
|
|
1587
|
+
_removeData: function(a, b) {
|
|
1588
|
+
N.remove(a, b)
|
|
1589
|
+
}
|
|
1590
|
+
}),
|
|
1591
|
+
n.fn.extend({
|
|
1592
|
+
data: function(a, b) {
|
|
1593
|
+
var c, d, e, f = this[0], g = f && f.attributes;
|
|
1594
|
+
if (void 0 === a) {
|
|
1595
|
+
if (this.length && (e = O.get(f),
|
|
1596
|
+
1 === f.nodeType && !N.get(f, "hasDataAttrs"))) {
|
|
1597
|
+
c = g.length;
|
|
1598
|
+
while (c--)
|
|
1599
|
+
g[c] && (d = g[c].name,
|
|
1600
|
+
0 === d.indexOf("data-") && (d = n.camelCase(d.slice(5)),
|
|
1601
|
+
R(f, d, e[d])));
|
|
1602
|
+
N.set(f, "hasDataAttrs", !0)
|
|
1603
|
+
}
|
|
1604
|
+
return e
|
|
1605
|
+
}
|
|
1606
|
+
return "object" == typeof a ? this.each(function() {
|
|
1607
|
+
O.set(this, a)
|
|
1608
|
+
}) : K(this, function(b) {
|
|
1609
|
+
var c, d;
|
|
1610
|
+
if (f && void 0 === b) {
|
|
1611
|
+
if (c = O.get(f, a) || O.get(f, a.replace(Q, "-$&").toLowerCase()),
|
|
1612
|
+
void 0 !== c)
|
|
1613
|
+
return c;
|
|
1614
|
+
if (d = n.camelCase(a),
|
|
1615
|
+
c = O.get(f, d),
|
|
1616
|
+
void 0 !== c)
|
|
1617
|
+
return c;
|
|
1618
|
+
if (c = R(f, d, void 0),
|
|
1619
|
+
void 0 !== c)
|
|
1620
|
+
return c
|
|
1621
|
+
} else
|
|
1622
|
+
d = n.camelCase(a),
|
|
1623
|
+
this.each(function() {
|
|
1624
|
+
var c = O.get(this, d);
|
|
1625
|
+
O.set(this, d, b),
|
|
1626
|
+
a.indexOf("-") > -1 && void 0 !== c && O.set(this, a, b)
|
|
1627
|
+
})
|
|
1628
|
+
}, null, b, arguments.length > 1, null, !0)
|
|
1629
|
+
},
|
|
1630
|
+
removeData: function(a) {
|
|
1631
|
+
return this.each(function() {
|
|
1632
|
+
O.remove(this, a)
|
|
1633
|
+
})
|
|
1634
|
+
}
|
|
1635
|
+
}),
|
|
1636
|
+
n.extend({
|
|
1637
|
+
queue: function(a, b, c) {
|
|
1638
|
+
var d;
|
|
1639
|
+
return a ? (b = (b || "fx") + "queue",
|
|
1640
|
+
d = N.get(a, b),
|
|
1641
|
+
c && (!d || n.isArray(c) ? d = N.access(a, b, n.makeArray(c)) : d.push(c)),
|
|
1642
|
+
d || []) : void 0
|
|
1643
|
+
},
|
|
1644
|
+
dequeue: function(a, b) {
|
|
1645
|
+
b = b || "fx";
|
|
1646
|
+
var c = n.queue(a, b)
|
|
1647
|
+
, d = c.length
|
|
1648
|
+
, e = c.shift()
|
|
1649
|
+
, f = n._queueHooks(a, b)
|
|
1650
|
+
, g = function() {
|
|
1651
|
+
n.dequeue(a, b)
|
|
1652
|
+
};
|
|
1653
|
+
"inprogress" === e && (e = c.shift(),
|
|
1654
|
+
d--),
|
|
1655
|
+
e && ("fx" === b && c.unshift("inprogress"),
|
|
1656
|
+
delete f.stop,
|
|
1657
|
+
e.call(a, g, f)),
|
|
1658
|
+
!d && f && f.empty.fire()
|
|
1659
|
+
},
|
|
1660
|
+
_queueHooks: function(a, b) {
|
|
1661
|
+
var c = b + "queueHooks";
|
|
1662
|
+
return N.get(a, c) || N.access(a, c, {
|
|
1663
|
+
empty: n.Callbacks("once memory").add(function() {
|
|
1664
|
+
N.remove(a, [b + "queue", c])
|
|
1665
|
+
})
|
|
1666
|
+
})
|
|
1667
|
+
}
|
|
1668
|
+
}),
|
|
1669
|
+
n.fn.extend({
|
|
1670
|
+
queue: function(a, b) {
|
|
1671
|
+
var c = 2;
|
|
1672
|
+
return "string" != typeof a && (b = a,
|
|
1673
|
+
a = "fx",
|
|
1674
|
+
c--),
|
|
1675
|
+
arguments.length < c ? n.queue(this[0], a) : void 0 === b ? this : this.each(function() {
|
|
1676
|
+
var c = n.queue(this, a, b);
|
|
1677
|
+
n._queueHooks(this, a),
|
|
1678
|
+
"fx" === a && "inprogress" !== c[0] && n.dequeue(this, a)
|
|
1679
|
+
})
|
|
1680
|
+
},
|
|
1681
|
+
dequeue: function(a) {
|
|
1682
|
+
return this.each(function() {
|
|
1683
|
+
n.dequeue(this, a)
|
|
1684
|
+
})
|
|
1685
|
+
},
|
|
1686
|
+
clearQueue: function(a) {
|
|
1687
|
+
return this.queue(a || "fx", [])
|
|
1688
|
+
},
|
|
1689
|
+
promise: function(a, b) {
|
|
1690
|
+
var c, d = 1, e = n.Deferred(), f = this, g = this.length, h = function() {
|
|
1691
|
+
--d || e.resolveWith(f, [f])
|
|
1692
|
+
};
|
|
1693
|
+
"string" != typeof a && (b = a,
|
|
1694
|
+
a = void 0),
|
|
1695
|
+
a = a || "fx";
|
|
1696
|
+
while (g--)
|
|
1697
|
+
c = N.get(f[g], a + "queueHooks"),
|
|
1698
|
+
c && c.empty && (d++,
|
|
1699
|
+
c.empty.add(h));
|
|
1700
|
+
return h(),
|
|
1701
|
+
e.promise(b)
|
|
1702
|
+
}
|
|
1703
|
+
});
|
|
1704
|
+
var S = /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source
|
|
1705
|
+
, T = new RegExp("^(?:([+-])=|)(" + S + ")([a-z%]*)$","i")
|
|
1706
|
+
, U = ["Top", "Right", "Bottom", "Left"]
|
|
1707
|
+
, V = function(a, b) {
|
|
1708
|
+
return a = b || a,
|
|
1709
|
+
"none" === n.css(a, "display") || !n.contains(a.ownerDocument, a)
|
|
1710
|
+
};
|
|
1711
|
+
function W(a, b, c, d) {
|
|
1712
|
+
var e, f = 1, g = 20, h = d ? function() {
|
|
1713
|
+
return d.cur()
|
|
1714
|
+
}
|
|
1715
|
+
: function() {
|
|
1716
|
+
return n.css(a, b, "")
|
|
1717
|
+
}
|
|
1718
|
+
, i = h(), j = c && c[3] || (n.cssNumber[b] ? "" : "px"), k = (n.cssNumber[b] || "px" !== j && +i) && T.exec(n.css(a, b));
|
|
1719
|
+
if (k && k[3] !== j) {
|
|
1720
|
+
j = j || k[3],
|
|
1721
|
+
c = c || [],
|
|
1722
|
+
k = +i || 1;
|
|
1723
|
+
do
|
|
1724
|
+
f = f || ".5",
|
|
1725
|
+
k /= f,
|
|
1726
|
+
n.style(a, b, k + j);
|
|
1727
|
+
while (f !== (f = h() / i) && 1 !== f && --g)
|
|
1728
|
+
}
|
|
1729
|
+
return c && (k = +k || +i || 0,
|
|
1730
|
+
e = c[1] ? k + (c[1] + 1) * c[2] : +c[2],
|
|
1731
|
+
d && (d.unit = j,
|
|
1732
|
+
d.start = k,
|
|
1733
|
+
d.end = e)),
|
|
1734
|
+
e
|
|
1735
|
+
}
|
|
1736
|
+
var X = /^(?:checkbox|radio)$/i
|
|
1737
|
+
, Y = /<([\w:-]+)/
|
|
1738
|
+
, Z = /^$|\/(?:java|ecma)script/i
|
|
1739
|
+
, $ = {
|
|
1740
|
+
option: [1, "<select multiple='multiple'>", "</select>"],
|
|
1741
|
+
thead: [1, "<table>", "</table>"],
|
|
1742
|
+
col: [2, "<table><colgroup>", "</colgroup></table>"],
|
|
1743
|
+
tr: [2, "<table><tbody>", "</tbody></table>"],
|
|
1744
|
+
td: [3, "<table><tbody><tr>", "</tr></tbody></table>"],
|
|
1745
|
+
_default: [0, "", ""]
|
|
1746
|
+
};
|
|
1747
|
+
$.optgroup = $.option,
|
|
1748
|
+
$.tbody = $.tfoot = $.colgroup = $.caption = $.thead,
|
|
1749
|
+
$.th = $.td;
|
|
1750
|
+
function _(a, b) {
|
|
1751
|
+
var c = "undefined" != typeof a.getElementsByTagName ? a.getElementsByTagName(b || "*") : "undefined" != typeof a.querySelectorAll ? a.querySelectorAll(b || "*") : [];
|
|
1752
|
+
return void 0 === b || b && n.nodeName(a, b) ? n.merge([a], c) : c
|
|
1753
|
+
}
|
|
1754
|
+
function aa(a, b) {
|
|
1755
|
+
for (var c = 0, d = a.length; d > c; c++)
|
|
1756
|
+
N.set(a[c], "globalEval", !b || N.get(b[c], "globalEval"))
|
|
1757
|
+
}
|
|
1758
|
+
var ba = /<|&#?\w+;/;
|
|
1759
|
+
function ca(a, b, c, d, e) {
|
|
1760
|
+
for (var f, g, h, i, j, k, l = b.createDocumentFragment(), m = [], o = 0, p = a.length; p > o; o++)
|
|
1761
|
+
if (f = a[o],
|
|
1762
|
+
f || 0 === f)
|
|
1763
|
+
if ("object" === n.type(f))
|
|
1764
|
+
n.merge(m, f.nodeType ? [f] : f);
|
|
1765
|
+
else if (ba.test(f)) {
|
|
1766
|
+
g = g || l.appendChild(b.createElement("div")),
|
|
1767
|
+
h = (Y.exec(f) || ["", ""])[1].toLowerCase(),
|
|
1768
|
+
i = $[h] || $._default,
|
|
1769
|
+
g.innerHTML = i[1] + n.htmlPrefilter(f) + i[2],
|
|
1770
|
+
k = i[0];
|
|
1771
|
+
while (k--)
|
|
1772
|
+
g = g.lastChild;
|
|
1773
|
+
n.merge(m, g.childNodes),
|
|
1774
|
+
g = l.firstChild,
|
|
1775
|
+
g.textContent = ""
|
|
1776
|
+
} else
|
|
1777
|
+
m.push(b.createTextNode(f));
|
|
1778
|
+
l.textContent = "",
|
|
1779
|
+
o = 0;
|
|
1780
|
+
while (f = m[o++])
|
|
1781
|
+
if (d && n.inArray(f, d) > -1)
|
|
1782
|
+
e && e.push(f);
|
|
1783
|
+
else if (j = n.contains(f.ownerDocument, f),
|
|
1784
|
+
g = _(l.appendChild(f), "script"),
|
|
1785
|
+
j && aa(g),
|
|
1786
|
+
c) {
|
|
1787
|
+
k = 0;
|
|
1788
|
+
while (f = g[k++])
|
|
1789
|
+
Z.test(f.type || "") && c.push(f)
|
|
1790
|
+
}
|
|
1791
|
+
return l
|
|
1792
|
+
}
|
|
1793
|
+
!function() {
|
|
1794
|
+
var a = d.createDocumentFragment()
|
|
1795
|
+
, b = a.appendChild(d.createElement("div"))
|
|
1796
|
+
, c = d.createElement("input");
|
|
1797
|
+
c.setAttribute("type", "radio"),
|
|
1798
|
+
c.setAttribute("checked", "checked"),
|
|
1799
|
+
c.setAttribute("name", "t"),
|
|
1800
|
+
b.appendChild(c),
|
|
1801
|
+
l.checkClone = b.cloneNode(!0).cloneNode(!0).lastChild.checked,
|
|
1802
|
+
b.innerHTML = "<textarea>x</textarea>",
|
|
1803
|
+
l.noCloneChecked = !!b.cloneNode(!0).lastChild.defaultValue
|
|
1804
|
+
}();
|
|
1805
|
+
var da = /^key/
|
|
1806
|
+
, ea = /^(?:mouse|pointer|contextmenu|drag|drop)|click/
|
|
1807
|
+
, fa = /^([^.]*)(?:\.(.+)|)/;
|
|
1808
|
+
function ga() {
|
|
1809
|
+
return !0
|
|
1810
|
+
}
|
|
1811
|
+
function ha() {
|
|
1812
|
+
return !1
|
|
1813
|
+
}
|
|
1814
|
+
function ia() {
|
|
1815
|
+
try {
|
|
1816
|
+
return d.activeElement
|
|
1817
|
+
} catch (a) {}
|
|
1818
|
+
}
|
|
1819
|
+
function ja(a, b, c, d, e, f) {
|
|
1820
|
+
var g, h;
|
|
1821
|
+
if ("object" == typeof b) {
|
|
1822
|
+
"string" != typeof c && (d = d || c,
|
|
1823
|
+
c = void 0);
|
|
1824
|
+
for (h in b)
|
|
1825
|
+
ja(a, h, c, d, b[h], f);
|
|
1826
|
+
return a
|
|
1827
|
+
}
|
|
1828
|
+
if (null == d && null == e ? (e = c,
|
|
1829
|
+
d = c = void 0) : null == e && ("string" == typeof c ? (e = d,
|
|
1830
|
+
d = void 0) : (e = d,
|
|
1831
|
+
d = c,
|
|
1832
|
+
c = void 0)),
|
|
1833
|
+
e === !1)
|
|
1834
|
+
e = ha;
|
|
1835
|
+
else if (!e)
|
|
1836
|
+
return this;
|
|
1837
|
+
return 1 === f && (g = e,
|
|
1838
|
+
e = function(a) {
|
|
1839
|
+
return n().off(a),
|
|
1840
|
+
g.apply(this, arguments)
|
|
1841
|
+
}
|
|
1842
|
+
,
|
|
1843
|
+
e.guid = g.guid || (g.guid = n.guid++)),
|
|
1844
|
+
a.each(function() {
|
|
1845
|
+
n.event.add(this, b, e, d, c)
|
|
1846
|
+
})
|
|
1847
|
+
}
|
|
1848
|
+
n.event = {
|
|
1849
|
+
global: {},
|
|
1850
|
+
add: function(a, b, c, d, e) {
|
|
1851
|
+
var f, g, h, i, j, k, l, m, o, p, q, r = N.get(a);
|
|
1852
|
+
if (r) {
|
|
1853
|
+
c.handler && (f = c,
|
|
1854
|
+
c = f.handler,
|
|
1855
|
+
e = f.selector),
|
|
1856
|
+
c.guid || (c.guid = n.guid++),
|
|
1857
|
+
(i = r.events) || (i = r.events = {}),
|
|
1858
|
+
(g = r.handle) || (g = r.handle = function(b) {
|
|
1859
|
+
return "undefined" != typeof n && n.event.triggered !== b.type ? n.event.dispatch.apply(a, arguments) : void 0
|
|
1860
|
+
}
|
|
1861
|
+
),
|
|
1862
|
+
b = (b || "").match(G) || [""],
|
|
1863
|
+
j = b.length;
|
|
1864
|
+
while (j--)
|
|
1865
|
+
h = fa.exec(b[j]) || [],
|
|
1866
|
+
o = q = h[1],
|
|
1867
|
+
p = (h[2] || "").split(".").sort(),
|
|
1868
|
+
o && (l = n.event.special[o] || {},
|
|
1869
|
+
o = (e ? l.delegateType : l.bindType) || o,
|
|
1870
|
+
l = n.event.special[o] || {},
|
|
1871
|
+
k = n.extend({
|
|
1872
|
+
type: o,
|
|
1873
|
+
origType: q,
|
|
1874
|
+
data: d,
|
|
1875
|
+
handler: c,
|
|
1876
|
+
guid: c.guid,
|
|
1877
|
+
selector: e,
|
|
1878
|
+
needsContext: e && n.expr.match.needsContext.test(e),
|
|
1879
|
+
namespace: p.join(".")
|
|
1880
|
+
}, f),
|
|
1881
|
+
(m = i[o]) || (m = i[o] = [],
|
|
1882
|
+
m.delegateCount = 0,
|
|
1883
|
+
l.setup && l.setup.call(a, d, p, g) !== !1 || a.addEventListener && a.addEventListener(o, g)),
|
|
1884
|
+
l.add && (l.add.call(a, k),
|
|
1885
|
+
k.handler.guid || (k.handler.guid = c.guid)),
|
|
1886
|
+
e ? m.splice(m.delegateCount++, 0, k) : m.push(k),
|
|
1887
|
+
n.event.global[o] = !0)
|
|
1888
|
+
}
|
|
1889
|
+
},
|
|
1890
|
+
remove: function(a, b, c, d, e) {
|
|
1891
|
+
var f, g, h, i, j, k, l, m, o, p, q, r = N.hasData(a) && N.get(a);
|
|
1892
|
+
if (r && (i = r.events)) {
|
|
1893
|
+
b = (b || "").match(G) || [""],
|
|
1894
|
+
j = b.length;
|
|
1895
|
+
while (j--)
|
|
1896
|
+
if (h = fa.exec(b[j]) || [],
|
|
1897
|
+
o = q = h[1],
|
|
1898
|
+
p = (h[2] || "").split(".").sort(),
|
|
1899
|
+
o) {
|
|
1900
|
+
l = n.event.special[o] || {},
|
|
1901
|
+
o = (d ? l.delegateType : l.bindType) || o,
|
|
1902
|
+
m = i[o] || [],
|
|
1903
|
+
h = h[2] && new RegExp("(^|\\.)" + p.join("\\.(?:.*\\.|)") + "(\\.|$)"),
|
|
1904
|
+
g = f = m.length;
|
|
1905
|
+
while (f--)
|
|
1906
|
+
k = m[f],
|
|
1907
|
+
!e && q !== k.origType || c && c.guid !== k.guid || h && !h.test(k.namespace) || d && d !== k.selector && ("**" !== d || !k.selector) || (m.splice(f, 1),
|
|
1908
|
+
k.selector && m.delegateCount--,
|
|
1909
|
+
l.remove && l.remove.call(a, k));
|
|
1910
|
+
g && !m.length && (l.teardown && l.teardown.call(a, p, r.handle) !== !1 || n.removeEvent(a, o, r.handle),
|
|
1911
|
+
delete i[o])
|
|
1912
|
+
} else
|
|
1913
|
+
for (o in i)
|
|
1914
|
+
n.event.remove(a, o + b[j], c, d, !0);
|
|
1915
|
+
n.isEmptyObject(i) && N.remove(a, "handle events")
|
|
1916
|
+
}
|
|
1917
|
+
},
|
|
1918
|
+
dispatch: function(a) {
|
|
1919
|
+
a = n.event.fix(a);
|
|
1920
|
+
var b, c, d, f, g, h = [], i = e.call(arguments), j = (N.get(this, "events") || {})[a.type] || [], k = n.event.special[a.type] || {};
|
|
1921
|
+
if (i[0] = a,
|
|
1922
|
+
a.delegateTarget = this,
|
|
1923
|
+
!k.preDispatch || k.preDispatch.call(this, a) !== !1) {
|
|
1924
|
+
h = n.event.handlers.call(this, a, j),
|
|
1925
|
+
b = 0;
|
|
1926
|
+
while ((f = h[b++]) && !a.isPropagationStopped()) {
|
|
1927
|
+
a.currentTarget = f.elem,
|
|
1928
|
+
c = 0;
|
|
1929
|
+
while ((g = f.handlers[c++]) && !a.isImmediatePropagationStopped())
|
|
1930
|
+
(!a.rnamespace || a.rnamespace.test(g.namespace)) && (a.handleObj = g,
|
|
1931
|
+
a.data = g.data,
|
|
1932
|
+
d = ((n.event.special[g.origType] || {}).handle || g.handler).apply(f.elem, i),
|
|
1933
|
+
void 0 !== d && (a.result = d) === !1 && (a.preventDefault(),
|
|
1934
|
+
a.stopPropagation()))
|
|
1935
|
+
}
|
|
1936
|
+
return k.postDispatch && k.postDispatch.call(this, a),
|
|
1937
|
+
a.result
|
|
1938
|
+
}
|
|
1939
|
+
},
|
|
1940
|
+
handlers: function(a, b) {
|
|
1941
|
+
var c, d, e, f, g = [], h = b.delegateCount, i = a.target;
|
|
1942
|
+
if (h && i.nodeType && ("click" !== a.type || isNaN(a.button) || a.button < 1))
|
|
1943
|
+
for (; i !== this; i = i.parentNode || this)
|
|
1944
|
+
if (1 === i.nodeType && (i.disabled !== !0 || "click" !== a.type)) {
|
|
1945
|
+
for (d = [],
|
|
1946
|
+
c = 0; h > c; c++)
|
|
1947
|
+
f = b[c],
|
|
1948
|
+
e = f.selector + " ",
|
|
1949
|
+
void 0 === d[e] && (d[e] = f.needsContext ? n(e, this).index(i) > -1 : n.find(e, this, null, [i]).length),
|
|
1950
|
+
d[e] && d.push(f);
|
|
1951
|
+
d.length && g.push({
|
|
1952
|
+
elem: i,
|
|
1953
|
+
handlers: d
|
|
1954
|
+
})
|
|
1955
|
+
}
|
|
1956
|
+
return h < b.length && g.push({
|
|
1957
|
+
elem: this,
|
|
1958
|
+
handlers: b.slice(h)
|
|
1959
|
+
}),
|
|
1960
|
+
g
|
|
1961
|
+
},
|
|
1962
|
+
props: "altKey bubbles cancelable ctrlKey currentTarget detail eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),
|
|
1963
|
+
fixHooks: {},
|
|
1964
|
+
keyHooks: {
|
|
1965
|
+
props: "char charCode key keyCode".split(" "),
|
|
1966
|
+
filter: function(a, b) {
|
|
1967
|
+
return null == a.which && (a.which = null != b.charCode ? b.charCode : b.keyCode),
|
|
1968
|
+
a
|
|
1969
|
+
}
|
|
1970
|
+
},
|
|
1971
|
+
mouseHooks: {
|
|
1972
|
+
props: "button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "),
|
|
1973
|
+
filter: function(a, b) {
|
|
1974
|
+
var c, e, f, g = b.button;
|
|
1975
|
+
return null == a.pageX && null != b.clientX && (c = a.target.ownerDocument || d,
|
|
1976
|
+
e = c.documentElement,
|
|
1977
|
+
f = c.body,
|
|
1978
|
+
a.pageX = b.clientX + (e && e.scrollLeft || f && f.scrollLeft || 0) - (e && e.clientLeft || f && f.clientLeft || 0),
|
|
1979
|
+
a.pageY = b.clientY + (e && e.scrollTop || f && f.scrollTop || 0) - (e && e.clientTop || f && f.clientTop || 0)),
|
|
1980
|
+
a.which || void 0 === g || (a.which = 1 & g ? 1 : 2 & g ? 3 : 4 & g ? 2 : 0),
|
|
1981
|
+
a
|
|
1982
|
+
}
|
|
1983
|
+
},
|
|
1984
|
+
fix: function(a) {
|
|
1985
|
+
if (a[n.expando])
|
|
1986
|
+
return a;
|
|
1987
|
+
var b, c, e, f = a.type, g = a, h = this.fixHooks[f];
|
|
1988
|
+
h || (this.fixHooks[f] = h = ea.test(f) ? this.mouseHooks : da.test(f) ? this.keyHooks : {}),
|
|
1989
|
+
e = h.props ? this.props.concat(h.props) : this.props,
|
|
1990
|
+
a = new n.Event(g),
|
|
1991
|
+
b = e.length;
|
|
1992
|
+
while (b--)
|
|
1993
|
+
c = e[b],
|
|
1994
|
+
a[c] = g[c];
|
|
1995
|
+
return a.target || (a.target = d),
|
|
1996
|
+
3 === a.target.nodeType && (a.target = a.target.parentNode),
|
|
1997
|
+
h.filter ? h.filter(a, g) : a
|
|
1998
|
+
},
|
|
1999
|
+
special: {
|
|
2000
|
+
load: {
|
|
2001
|
+
noBubble: !0
|
|
2002
|
+
},
|
|
2003
|
+
focus: {
|
|
2004
|
+
trigger: function() {
|
|
2005
|
+
return this !== ia() && this.focus ? (this.focus(),
|
|
2006
|
+
!1) : void 0
|
|
2007
|
+
},
|
|
2008
|
+
delegateType: "focusin"
|
|
2009
|
+
},
|
|
2010
|
+
blur: {
|
|
2011
|
+
trigger: function() {
|
|
2012
|
+
return this === ia() && this.blur ? (this.blur(),
|
|
2013
|
+
!1) : void 0
|
|
2014
|
+
},
|
|
2015
|
+
delegateType: "focusout"
|
|
2016
|
+
},
|
|
2017
|
+
click: {
|
|
2018
|
+
trigger: function() {
|
|
2019
|
+
return "checkbox" === this.type && this.click && n.nodeName(this, "input") ? (this.click(),
|
|
2020
|
+
!1) : void 0
|
|
2021
|
+
},
|
|
2022
|
+
_default: function(a) {
|
|
2023
|
+
return n.nodeName(a.target, "a")
|
|
2024
|
+
}
|
|
2025
|
+
},
|
|
2026
|
+
beforeunload: {
|
|
2027
|
+
postDispatch: function(a) {
|
|
2028
|
+
void 0 !== a.result && a.originalEvent && (a.originalEvent.returnValue = a.result)
|
|
2029
|
+
}
|
|
2030
|
+
}
|
|
2031
|
+
}
|
|
2032
|
+
},
|
|
2033
|
+
n.removeEvent = function(a, b, c) {
|
|
2034
|
+
a.removeEventListener && a.removeEventListener(b, c)
|
|
2035
|
+
}
|
|
2036
|
+
,
|
|
2037
|
+
n.Event = function(a, b) {
|
|
2038
|
+
return this instanceof n.Event ? (a && a.type ? (this.originalEvent = a,
|
|
2039
|
+
this.type = a.type,
|
|
2040
|
+
this.isDefaultPrevented = a.defaultPrevented || void 0 === a.defaultPrevented && a.returnValue === !1 ? ga : ha) : this.type = a,
|
|
2041
|
+
b && n.extend(this, b),
|
|
2042
|
+
this.timeStamp = a && a.timeStamp || n.now(),
|
|
2043
|
+
void (this[n.expando] = !0)) : new n.Event(a,b)
|
|
2044
|
+
}
|
|
2045
|
+
,
|
|
2046
|
+
n.Event.prototype = {
|
|
2047
|
+
constructor: n.Event,
|
|
2048
|
+
isDefaultPrevented: ha,
|
|
2049
|
+
isPropagationStopped: ha,
|
|
2050
|
+
isImmediatePropagationStopped: ha,
|
|
2051
|
+
preventDefault: function() {
|
|
2052
|
+
var a = this.originalEvent;
|
|
2053
|
+
this.isDefaultPrevented = ga,
|
|
2054
|
+
a && a.preventDefault()
|
|
2055
|
+
},
|
|
2056
|
+
stopPropagation: function() {
|
|
2057
|
+
var a = this.originalEvent;
|
|
2058
|
+
this.isPropagationStopped = ga,
|
|
2059
|
+
a && a.stopPropagation()
|
|
2060
|
+
},
|
|
2061
|
+
stopImmediatePropagation: function() {
|
|
2062
|
+
var a = this.originalEvent;
|
|
2063
|
+
this.isImmediatePropagationStopped = ga,
|
|
2064
|
+
a && a.stopImmediatePropagation(),
|
|
2065
|
+
this.stopPropagation()
|
|
2066
|
+
}
|
|
2067
|
+
},
|
|
2068
|
+
n.each({
|
|
2069
|
+
mouseenter: "mouseover",
|
|
2070
|
+
mouseleave: "mouseout",
|
|
2071
|
+
pointerenter: "pointerover",
|
|
2072
|
+
pointerleave: "pointerout"
|
|
2073
|
+
}, function(a, b) {
|
|
2074
|
+
n.event.special[a] = {
|
|
2075
|
+
delegateType: b,
|
|
2076
|
+
bindType: b,
|
|
2077
|
+
handle: function(a) {
|
|
2078
|
+
var c, d = this, e = a.relatedTarget, f = a.handleObj;
|
|
2079
|
+
return (!e || e !== d && !n.contains(d, e)) && (a.type = f.origType,
|
|
2080
|
+
c = f.handler.apply(this, arguments),
|
|
2081
|
+
a.type = b),
|
|
2082
|
+
c
|
|
2083
|
+
}
|
|
2084
|
+
}
|
|
2085
|
+
}),
|
|
2086
|
+
n.fn.extend({
|
|
2087
|
+
on: function(a, b, c, d) {
|
|
2088
|
+
return ja(this, a, b, c, d)
|
|
2089
|
+
},
|
|
2090
|
+
one: function(a, b, c, d) {
|
|
2091
|
+
return ja(this, a, b, c, d, 1)
|
|
2092
|
+
},
|
|
2093
|
+
off: function(a, b, c) {
|
|
2094
|
+
var d, e;
|
|
2095
|
+
if (a && a.preventDefault && a.handleObj)
|
|
2096
|
+
return d = a.handleObj,
|
|
2097
|
+
n(a.delegateTarget).off(d.namespace ? d.origType + "." + d.namespace : d.origType, d.selector, d.handler),
|
|
2098
|
+
this;
|
|
2099
|
+
if ("object" == typeof a) {
|
|
2100
|
+
for (e in a)
|
|
2101
|
+
this.off(e, b, a[e]);
|
|
2102
|
+
return this
|
|
2103
|
+
}
|
|
2104
|
+
return (b === !1 || "function" == typeof b) && (c = b,
|
|
2105
|
+
b = void 0),
|
|
2106
|
+
c === !1 && (c = ha),
|
|
2107
|
+
this.each(function() {
|
|
2108
|
+
n.event.remove(this, a, c, b)
|
|
2109
|
+
})
|
|
2110
|
+
}
|
|
2111
|
+
});
|
|
2112
|
+
var ka = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi
|
|
2113
|
+
, la = /<script|<style|<link/i
|
|
2114
|
+
, ma = /checked\s*(?:[^=]|=\s*.checked.)/i
|
|
2115
|
+
, na = /^true\/(.*)/
|
|
2116
|
+
, oa = /^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;
|
|
2117
|
+
function pa(a, b) {
|
|
2118
|
+
return n.nodeName(a, "table") && n.nodeName(11 !== b.nodeType ? b : b.firstChild, "tr") ? a.getElementsByTagName("tbody")[0] || a : a
|
|
2119
|
+
}
|
|
2120
|
+
function qa(a) {
|
|
2121
|
+
return a.type = (null !== a.getAttribute("type")) + "/" + a.type,
|
|
2122
|
+
a
|
|
2123
|
+
}
|
|
2124
|
+
function ra(a) {
|
|
2125
|
+
var b = na.exec(a.type);
|
|
2126
|
+
return b ? a.type = b[1] : a.removeAttribute("type"),
|
|
2127
|
+
a
|
|
2128
|
+
}
|
|
2129
|
+
function sa(a, b) {
|
|
2130
|
+
var c, d, e, f, g, h, i, j;
|
|
2131
|
+
if (1 === b.nodeType) {
|
|
2132
|
+
if (N.hasData(a) && (f = N.access(a),
|
|
2133
|
+
g = N.set(b, f),
|
|
2134
|
+
j = f.events)) {
|
|
2135
|
+
delete g.handle,
|
|
2136
|
+
g.events = {};
|
|
2137
|
+
for (e in j)
|
|
2138
|
+
for (c = 0,
|
|
2139
|
+
d = j[e].length; d > c; c++)
|
|
2140
|
+
n.event.add(b, e, j[e][c])
|
|
2141
|
+
}
|
|
2142
|
+
O.hasData(a) && (h = O.access(a),
|
|
2143
|
+
i = n.extend({}, h),
|
|
2144
|
+
O.set(b, i))
|
|
2145
|
+
}
|
|
2146
|
+
}
|
|
2147
|
+
function ta(a, b) {
|
|
2148
|
+
var c = b.nodeName.toLowerCase();
|
|
2149
|
+
"input" === c && X.test(a.type) ? b.checked = a.checked : ("input" === c || "textarea" === c) && (b.defaultValue = a.defaultValue)
|
|
2150
|
+
}
|
|
2151
|
+
function ua(a, b, c, d) {
|
|
2152
|
+
b = f.apply([], b);
|
|
2153
|
+
var e, g, h, i, j, k, m = 0, o = a.length, p = o - 1, q = b[0], r = n.isFunction(q);
|
|
2154
|
+
if (r || o > 1 && "string" == typeof q && !l.checkClone && ma.test(q))
|
|
2155
|
+
return a.each(function(e) {
|
|
2156
|
+
var f = a.eq(e);
|
|
2157
|
+
r && (b[0] = q.call(this, e, f.html())),
|
|
2158
|
+
ua(f, b, c, d)
|
|
2159
|
+
});
|
|
2160
|
+
if (o && (e = ca(b, a[0].ownerDocument, !1, a, d),
|
|
2161
|
+
g = e.firstChild,
|
|
2162
|
+
1 === e.childNodes.length && (e = g),
|
|
2163
|
+
g || d)) {
|
|
2164
|
+
for (h = n.map(_(e, "script"), qa),
|
|
2165
|
+
i = h.length; o > m; m++)
|
|
2166
|
+
j = e,
|
|
2167
|
+
m !== p && (j = n.clone(j, !0, !0),
|
|
2168
|
+
i && n.merge(h, _(j, "script"))),
|
|
2169
|
+
c.call(a[m], j, m);
|
|
2170
|
+
if (i)
|
|
2171
|
+
for (k = h[h.length - 1].ownerDocument,
|
|
2172
|
+
n.map(h, ra),
|
|
2173
|
+
m = 0; i > m; m++)
|
|
2174
|
+
j = h[m],
|
|
2175
|
+
Z.test(j.type || "") && !N.access(j, "globalEval") && n.contains(k, j) && (j.src ? n._evalUrl && n._evalUrl(j.src) : n.globalEval(j.textContent.replace(oa, "")))
|
|
2176
|
+
}
|
|
2177
|
+
return a
|
|
2178
|
+
}
|
|
2179
|
+
function va(a, b, c) {
|
|
2180
|
+
for (var d, e = b ? n.filter(b, a) : a, f = 0; null != (d = e[f]); f++)
|
|
2181
|
+
c || 1 !== d.nodeType || n.cleanData(_(d)),
|
|
2182
|
+
d.parentNode && (c && n.contains(d.ownerDocument, d) && aa(_(d, "script")),
|
|
2183
|
+
d.parentNode.removeChild(d));
|
|
2184
|
+
return a
|
|
2185
|
+
}
|
|
2186
|
+
n.extend({
|
|
2187
|
+
htmlPrefilter: function(a) {
|
|
2188
|
+
return a.replace(ka, "<$1></$2>")
|
|
2189
|
+
},
|
|
2190
|
+
clone: function(a, b, c) {
|
|
2191
|
+
var d, e, f, g, h = a.cloneNode(!0), i = n.contains(a.ownerDocument, a);
|
|
2192
|
+
if (!(l.noCloneChecked || 1 !== a.nodeType && 11 !== a.nodeType || n.isXMLDoc(a)))
|
|
2193
|
+
for (g = _(h),
|
|
2194
|
+
f = _(a),
|
|
2195
|
+
d = 0,
|
|
2196
|
+
e = f.length; e > d; d++)
|
|
2197
|
+
ta(f[d], g[d]);
|
|
2198
|
+
if (b)
|
|
2199
|
+
if (c)
|
|
2200
|
+
for (f = f || _(a),
|
|
2201
|
+
g = g || _(h),
|
|
2202
|
+
d = 0,
|
|
2203
|
+
e = f.length; e > d; d++)
|
|
2204
|
+
sa(f[d], g[d]);
|
|
2205
|
+
else
|
|
2206
|
+
sa(a, h);
|
|
2207
|
+
return g = _(h, "script"),
|
|
2208
|
+
g.length > 0 && aa(g, !i && _(a, "script")),
|
|
2209
|
+
h
|
|
2210
|
+
},
|
|
2211
|
+
cleanData: function(a) {
|
|
2212
|
+
for (var b, c, d, e = n.event.special, f = 0; void 0 !== (c = a[f]); f++)
|
|
2213
|
+
if (L(c)) {
|
|
2214
|
+
if (b = c[N.expando]) {
|
|
2215
|
+
if (b.events)
|
|
2216
|
+
for (d in b.events)
|
|
2217
|
+
e[d] ? n.event.remove(c, d) : n.removeEvent(c, d, b.handle);
|
|
2218
|
+
c[N.expando] = void 0
|
|
2219
|
+
}
|
|
2220
|
+
c[O.expando] && (c[O.expando] = void 0)
|
|
2221
|
+
}
|
|
2222
|
+
}
|
|
2223
|
+
}),
|
|
2224
|
+
n.fn.extend({
|
|
2225
|
+
domManip: ua,
|
|
2226
|
+
detach: function(a) {
|
|
2227
|
+
return va(this, a, !0)
|
|
2228
|
+
},
|
|
2229
|
+
remove: function(a) {
|
|
2230
|
+
return va(this, a)
|
|
2231
|
+
},
|
|
2232
|
+
text: function(a) {
|
|
2233
|
+
return K(this, function(a) {
|
|
2234
|
+
return void 0 === a ? n.text(this) : this.empty().each(function() {
|
|
2235
|
+
(1 === this.nodeType || 11 === this.nodeType || 9 === this.nodeType) && (this.textContent = a)
|
|
2236
|
+
})
|
|
2237
|
+
}, null, a, arguments.length)
|
|
2238
|
+
},
|
|
2239
|
+
append: function() {
|
|
2240
|
+
return ua(this, arguments, function(a) {
|
|
2241
|
+
if (1 === this.nodeType || 11 === this.nodeType || 9 === this.nodeType) {
|
|
2242
|
+
var b = pa(this, a);
|
|
2243
|
+
b.appendChild(a)
|
|
2244
|
+
}
|
|
2245
|
+
})
|
|
2246
|
+
},
|
|
2247
|
+
prepend: function() {
|
|
2248
|
+
return ua(this, arguments, function(a) {
|
|
2249
|
+
if (1 === this.nodeType || 11 === this.nodeType || 9 === this.nodeType) {
|
|
2250
|
+
var b = pa(this, a);
|
|
2251
|
+
b.insertBefore(a, b.firstChild)
|
|
2252
|
+
}
|
|
2253
|
+
})
|
|
2254
|
+
},
|
|
2255
|
+
before: function() {
|
|
2256
|
+
return ua(this, arguments, function(a) {
|
|
2257
|
+
this.parentNode && this.parentNode.insertBefore(a, this)
|
|
2258
|
+
})
|
|
2259
|
+
},
|
|
2260
|
+
after: function() {
|
|
2261
|
+
return ua(this, arguments, function(a) {
|
|
2262
|
+
this.parentNode && this.parentNode.insertBefore(a, this.nextSibling)
|
|
2263
|
+
})
|
|
2264
|
+
},
|
|
2265
|
+
empty: function() {
|
|
2266
|
+
for (var a, b = 0; null != (a = this[b]); b++)
|
|
2267
|
+
1 === a.nodeType && (n.cleanData(_(a, !1)),
|
|
2268
|
+
a.textContent = "");
|
|
2269
|
+
return this
|
|
2270
|
+
},
|
|
2271
|
+
clone: function(a, b) {
|
|
2272
|
+
return a = null == a ? !1 : a,
|
|
2273
|
+
b = null == b ? a : b,
|
|
2274
|
+
this.map(function() {
|
|
2275
|
+
return n.clone(this, a, b)
|
|
2276
|
+
})
|
|
2277
|
+
},
|
|
2278
|
+
html: function(a) {
|
|
2279
|
+
return K(this, function(a) {
|
|
2280
|
+
var b = this[0] || {}
|
|
2281
|
+
, c = 0
|
|
2282
|
+
, d = this.length;
|
|
2283
|
+
if (void 0 === a && 1 === b.nodeType)
|
|
2284
|
+
return b.innerHTML;
|
|
2285
|
+
if ("string" == typeof a && !la.test(a) && !$[(Y.exec(a) || ["", ""])[1].toLowerCase()]) {
|
|
2286
|
+
a = n.htmlPrefilter(a);
|
|
2287
|
+
try {
|
|
2288
|
+
for (; d > c; c++)
|
|
2289
|
+
b = this[c] || {},
|
|
2290
|
+
1 === b.nodeType && (n.cleanData(_(b, !1)),
|
|
2291
|
+
b.innerHTML = a);
|
|
2292
|
+
b = 0
|
|
2293
|
+
} catch (e) {}
|
|
2294
|
+
}
|
|
2295
|
+
b && this.empty().append(a)
|
|
2296
|
+
}, null, a, arguments.length)
|
|
2297
|
+
},
|
|
2298
|
+
replaceWith: function() {
|
|
2299
|
+
var a = [];
|
|
2300
|
+
return ua(this, arguments, function(b) {
|
|
2301
|
+
var c = this.parentNode;
|
|
2302
|
+
n.inArray(this, a) < 0 && (n.cleanData(_(this)),
|
|
2303
|
+
c && c.replaceChild(b, this))
|
|
2304
|
+
}, a)
|
|
2305
|
+
}
|
|
2306
|
+
}),
|
|
2307
|
+
n.each({
|
|
2308
|
+
appendTo: "append",
|
|
2309
|
+
prependTo: "prepend",
|
|
2310
|
+
insertBefore: "before",
|
|
2311
|
+
insertAfter: "after",
|
|
2312
|
+
replaceAll: "replaceWith"
|
|
2313
|
+
}, function(a, b) {
|
|
2314
|
+
n.fn[a] = function(a) {
|
|
2315
|
+
for (var c, d = [], e = n(a), f = e.length - 1, h = 0; f >= h; h++)
|
|
2316
|
+
c = h === f ? this : this.clone(!0),
|
|
2317
|
+
n(e[h])[b](c),
|
|
2318
|
+
g.apply(d, c.get());
|
|
2319
|
+
return this.pushStack(d)
|
|
2320
|
+
}
|
|
2321
|
+
});
|
|
2322
|
+
var wa, xa = {
|
|
2323
|
+
HTML: "block",
|
|
2324
|
+
BODY: "block"
|
|
2325
|
+
};
|
|
2326
|
+
function ya(a, b) {
|
|
2327
|
+
var c = n(b.createElement(a)).appendTo(b.body)
|
|
2328
|
+
, d = n.css(c[0], "display");
|
|
2329
|
+
return c.detach(),
|
|
2330
|
+
d
|
|
2331
|
+
}
|
|
2332
|
+
function za(a) {
|
|
2333
|
+
var b = d
|
|
2334
|
+
, c = xa[a];
|
|
2335
|
+
return c || (c = ya(a, b),
|
|
2336
|
+
"none" !== c && c || (wa = (wa || n("<iframe frameborder='0' width='0' height='0'/>")).appendTo(b.documentElement),
|
|
2337
|
+
b = wa[0].contentDocument,
|
|
2338
|
+
b.write(),
|
|
2339
|
+
b.close(),
|
|
2340
|
+
c = ya(a, b),
|
|
2341
|
+
wa.detach()),
|
|
2342
|
+
xa[a] = c),
|
|
2343
|
+
c
|
|
2344
|
+
}
|
|
2345
|
+
var Aa = /^margin/
|
|
2346
|
+
, Ba = new RegExp("^(" + S + ")(?!px)[a-z%]+$","i")
|
|
2347
|
+
, Ca = function(b) {
|
|
2348
|
+
var c = b.ownerDocument.defaultView;
|
|
2349
|
+
return c.opener || (c = a),
|
|
2350
|
+
c.getComputedStyle(b)
|
|
2351
|
+
}
|
|
2352
|
+
, Da = function(a, b, c, d) {
|
|
2353
|
+
var e, f, g = {};
|
|
2354
|
+
for (f in b)
|
|
2355
|
+
g[f] = a.style[f],
|
|
2356
|
+
a.style[f] = b[f];
|
|
2357
|
+
e = c.apply(a, d || []);
|
|
2358
|
+
for (f in b)
|
|
2359
|
+
a.style[f] = g[f];
|
|
2360
|
+
return e
|
|
2361
|
+
}
|
|
2362
|
+
, Ea = d.documentElement;
|
|
2363
|
+
!function() {
|
|
2364
|
+
var b, c, e, f, g = d.createElement("div"), h = d.createElement("div");
|
|
2365
|
+
if (h.style) {
|
|
2366
|
+
h.style.backgroundClip = "content-box",
|
|
2367
|
+
h.cloneNode(!0).style.backgroundClip = "",
|
|
2368
|
+
l.clearCloneStyle = "content-box" === h.style.backgroundClip,
|
|
2369
|
+
g.style.cssText = "border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",
|
|
2370
|
+
g.appendChild(h);
|
|
2371
|
+
function i() {
|
|
2372
|
+
h.style.cssText = "-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",
|
|
2373
|
+
h.innerHTML = "",
|
|
2374
|
+
Ea.appendChild(g);
|
|
2375
|
+
var d = a.getComputedStyle(h);
|
|
2376
|
+
b = "1%" !== d.top,
|
|
2377
|
+
f = "2px" === d.marginLeft,
|
|
2378
|
+
c = "4px" === d.width,
|
|
2379
|
+
h.style.marginRight = "50%",
|
|
2380
|
+
e = "4px" === d.marginRight,
|
|
2381
|
+
Ea.removeChild(g)
|
|
2382
|
+
}
|
|
2383
|
+
n.extend(l, {
|
|
2384
|
+
pixelPosition: function() {
|
|
2385
|
+
return i(),
|
|
2386
|
+
b
|
|
2387
|
+
},
|
|
2388
|
+
boxSizingReliable: function() {
|
|
2389
|
+
return null == c && i(),
|
|
2390
|
+
c
|
|
2391
|
+
},
|
|
2392
|
+
pixelMarginRight: function() {
|
|
2393
|
+
return null == c && i(),
|
|
2394
|
+
e
|
|
2395
|
+
},
|
|
2396
|
+
reliableMarginLeft: function() {
|
|
2397
|
+
return null == c && i(),
|
|
2398
|
+
f
|
|
2399
|
+
},
|
|
2400
|
+
reliableMarginRight: function() {
|
|
2401
|
+
var b, c = h.appendChild(d.createElement("div"));
|
|
2402
|
+
return c.style.cssText = h.style.cssText = "-webkit-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",
|
|
2403
|
+
c.style.marginRight = c.style.width = "0",
|
|
2404
|
+
h.style.width = "1px",
|
|
2405
|
+
Ea.appendChild(g),
|
|
2406
|
+
b = !parseFloat(a.getComputedStyle(c).marginRight),
|
|
2407
|
+
Ea.removeChild(g),
|
|
2408
|
+
h.removeChild(c),
|
|
2409
|
+
b
|
|
2410
|
+
}
|
|
2411
|
+
})
|
|
2412
|
+
}
|
|
2413
|
+
}();
|
|
2414
|
+
function Fa(a, b, c) {
|
|
2415
|
+
var d, e, f, g, h = a.style;
|
|
2416
|
+
return c = c || Ca(a),
|
|
2417
|
+
c && (g = c.getPropertyValue(b) || c[b],
|
|
2418
|
+
"" !== g || n.contains(a.ownerDocument, a) || (g = n.style(a, b)),
|
|
2419
|
+
!l.pixelMarginRight() && Ba.test(g) && Aa.test(b) && (d = h.width,
|
|
2420
|
+
e = h.minWidth,
|
|
2421
|
+
f = h.maxWidth,
|
|
2422
|
+
h.minWidth = h.maxWidth = h.width = g,
|
|
2423
|
+
g = c.width,
|
|
2424
|
+
h.width = d,
|
|
2425
|
+
h.minWidth = e,
|
|
2426
|
+
h.maxWidth = f)),
|
|
2427
|
+
void 0 !== g ? g + "" : g
|
|
2428
|
+
}
|
|
2429
|
+
function Ga(a, b) {
|
|
2430
|
+
return {
|
|
2431
|
+
get: function() {
|
|
2432
|
+
return a() ? void delete this.get : (this.get = b).apply(this, arguments)
|
|
2433
|
+
}
|
|
2434
|
+
}
|
|
2435
|
+
}
|
|
2436
|
+
var Ha = /^(none|table(?!-c[ea]).+)/
|
|
2437
|
+
, Ia = {
|
|
2438
|
+
position: "absolute",
|
|
2439
|
+
visibility: "hidden",
|
|
2440
|
+
display: "block"
|
|
2441
|
+
}
|
|
2442
|
+
, Ja = {
|
|
2443
|
+
letterSpacing: "0",
|
|
2444
|
+
fontWeight: "400"
|
|
2445
|
+
}
|
|
2446
|
+
, Ka = ["Webkit", "O", "Moz", "ms"]
|
|
2447
|
+
, La = d.createElement("div").style;
|
|
2448
|
+
function Ma(a) {
|
|
2449
|
+
if (a in La)
|
|
2450
|
+
return a;
|
|
2451
|
+
var b = a[0].toUpperCase() + a.slice(1)
|
|
2452
|
+
, c = Ka.length;
|
|
2453
|
+
while (c--)
|
|
2454
|
+
if (a = Ka[c] + b,
|
|
2455
|
+
a in La)
|
|
2456
|
+
return a
|
|
2457
|
+
}
|
|
2458
|
+
function Na(a, b, c) {
|
|
2459
|
+
var d = T.exec(b);
|
|
2460
|
+
return d ? Math.max(0, d[2] - (c || 0)) + (d[3] || "px") : b
|
|
2461
|
+
}
|
|
2462
|
+
function Oa(a, b, c, d, e) {
|
|
2463
|
+
for (var f = c === (d ? "border" : "content") ? 4 : "width" === b ? 1 : 0, g = 0; 4 > f; f += 2)
|
|
2464
|
+
"margin" === c && (g += n.css(a, c + U[f], !0, e)),
|
|
2465
|
+
d ? ("content" === c && (g -= n.css(a, "padding" + U[f], !0, e)),
|
|
2466
|
+
"margin" !== c && (g -= n.css(a, "border" + U[f] + "Width", !0, e))) : (g += n.css(a, "padding" + U[f], !0, e),
|
|
2467
|
+
"padding" !== c && (g += n.css(a, "border" + U[f] + "Width", !0, e)));
|
|
2468
|
+
return g
|
|
2469
|
+
}
|
|
2470
|
+
function Pa(b, c, e) {
|
|
2471
|
+
var f = !0
|
|
2472
|
+
, g = "width" === c ? b.offsetWidth : b.offsetHeight
|
|
2473
|
+
, h = Ca(b)
|
|
2474
|
+
, i = "border-box" === n.css(b, "boxSizing", !1, h);
|
|
2475
|
+
if (d.msFullscreenElement && a.top !== a && b.getClientRects().length && (g = Math.round(100 * b.getBoundingClientRect()[c])),
|
|
2476
|
+
0 >= g || null == g) {
|
|
2477
|
+
if (g = Fa(b, c, h),
|
|
2478
|
+
(0 > g || null == g) && (g = b.style[c]),
|
|
2479
|
+
Ba.test(g))
|
|
2480
|
+
return g;
|
|
2481
|
+
f = i && (l.boxSizingReliable() || g === b.style[c]),
|
|
2482
|
+
g = parseFloat(g) || 0
|
|
2483
|
+
}
|
|
2484
|
+
return g + Oa(b, c, e || (i ? "border" : "content"), f, h) + "px"
|
|
2485
|
+
}
|
|
2486
|
+
function Qa(a, b) {
|
|
2487
|
+
for (var c, d, e, f = [], g = 0, h = a.length; h > g; g++)
|
|
2488
|
+
d = a[g],
|
|
2489
|
+
d.style && (f[g] = N.get(d, "olddisplay"),
|
|
2490
|
+
c = d.style.display,
|
|
2491
|
+
b ? (f[g] || "none" !== c || (d.style.display = ""),
|
|
2492
|
+
"" === d.style.display && V(d) && (f[g] = N.access(d, "olddisplay", za(d.nodeName)))) : (e = V(d),
|
|
2493
|
+
"none" === c && e || N.set(d, "olddisplay", e ? c : n.css(d, "display"))));
|
|
2494
|
+
for (g = 0; h > g; g++)
|
|
2495
|
+
d = a[g],
|
|
2496
|
+
d.style && (b && "none" !== d.style.display && "" !== d.style.display || (d.style.display = b ? f[g] || "" : "none"));
|
|
2497
|
+
return a
|
|
2498
|
+
}
|
|
2499
|
+
n.extend({
|
|
2500
|
+
cssHooks: {
|
|
2501
|
+
opacity: {
|
|
2502
|
+
get: function(a, b) {
|
|
2503
|
+
if (b) {
|
|
2504
|
+
var c = Fa(a, "opacity");
|
|
2505
|
+
return "" === c ? "1" : c
|
|
2506
|
+
}
|
|
2507
|
+
}
|
|
2508
|
+
}
|
|
2509
|
+
},
|
|
2510
|
+
cssNumber: {
|
|
2511
|
+
animationIterationCount: !0,
|
|
2512
|
+
columnCount: !0,
|
|
2513
|
+
fillOpacity: !0,
|
|
2514
|
+
flexGrow: !0,
|
|
2515
|
+
flexShrink: !0,
|
|
2516
|
+
fontWeight: !0,
|
|
2517
|
+
lineHeight: !0,
|
|
2518
|
+
opacity: !0,
|
|
2519
|
+
order: !0,
|
|
2520
|
+
orphans: !0,
|
|
2521
|
+
widows: !0,
|
|
2522
|
+
zIndex: !0,
|
|
2523
|
+
zoom: !0
|
|
2524
|
+
},
|
|
2525
|
+
cssProps: {
|
|
2526
|
+
"float": "cssFloat"
|
|
2527
|
+
},
|
|
2528
|
+
style: function(a, b, c, d) {
|
|
2529
|
+
if (a && 3 !== a.nodeType && 8 !== a.nodeType && a.style) {
|
|
2530
|
+
var e, f, g, h = n.camelCase(b), i = a.style;
|
|
2531
|
+
return b = n.cssProps[h] || (n.cssProps[h] = Ma(h) || h),
|
|
2532
|
+
g = n.cssHooks[b] || n.cssHooks[h],
|
|
2533
|
+
void 0 === c ? g && "get"in g && void 0 !== (e = g.get(a, !1, d)) ? e : i[b] : (f = typeof c,
|
|
2534
|
+
"string" === f && (e = T.exec(c)) && e[1] && (c = W(a, b, e),
|
|
2535
|
+
f = "number"),
|
|
2536
|
+
null != c && c === c && ("number" === f && (c += e && e[3] || (n.cssNumber[h] ? "" : "px")),
|
|
2537
|
+
l.clearCloneStyle || "" !== c || 0 !== b.indexOf("background") || (i[b] = "inherit"),
|
|
2538
|
+
g && "set"in g && void 0 === (c = g.set(a, c, d)) || (i[b] = c)),
|
|
2539
|
+
void 0)
|
|
2540
|
+
}
|
|
2541
|
+
},
|
|
2542
|
+
css: function(a, b, c, d) {
|
|
2543
|
+
var e, f, g, h = n.camelCase(b);
|
|
2544
|
+
return b = n.cssProps[h] || (n.cssProps[h] = Ma(h) || h),
|
|
2545
|
+
g = n.cssHooks[b] || n.cssHooks[h],
|
|
2546
|
+
g && "get"in g && (e = g.get(a, !0, c)),
|
|
2547
|
+
void 0 === e && (e = Fa(a, b, d)),
|
|
2548
|
+
"normal" === e && b in Ja && (e = Ja[b]),
|
|
2549
|
+
"" === c || c ? (f = parseFloat(e),
|
|
2550
|
+
c === !0 || isFinite(f) ? f || 0 : e) : e
|
|
2551
|
+
}
|
|
2552
|
+
}),
|
|
2553
|
+
n.each(["height", "width"], function(a, b) {
|
|
2554
|
+
n.cssHooks[b] = {
|
|
2555
|
+
get: function(a, c, d) {
|
|
2556
|
+
return c ? Ha.test(n.css(a, "display")) && 0 === a.offsetWidth ? Da(a, Ia, function() {
|
|
2557
|
+
return Pa(a, b, d)
|
|
2558
|
+
}) : Pa(a, b, d) : void 0
|
|
2559
|
+
},
|
|
2560
|
+
set: function(a, c, d) {
|
|
2561
|
+
var e, f = d && Ca(a), g = d && Oa(a, b, d, "border-box" === n.css(a, "boxSizing", !1, f), f);
|
|
2562
|
+
return g && (e = T.exec(c)) && "px" !== (e[3] || "px") && (a.style[b] = c,
|
|
2563
|
+
c = n.css(a, b)),
|
|
2564
|
+
Na(a, c, g)
|
|
2565
|
+
}
|
|
2566
|
+
}
|
|
2567
|
+
}),
|
|
2568
|
+
n.cssHooks.marginLeft = Ga(l.reliableMarginLeft, function(a, b) {
|
|
2569
|
+
return b ? (parseFloat(Fa(a, "marginLeft")) || a.getBoundingClientRect().left - Da(a, {
|
|
2570
|
+
marginLeft: 0
|
|
2571
|
+
}, function() {
|
|
2572
|
+
return a.getBoundingClientRect().left
|
|
2573
|
+
})) + "px" : void 0
|
|
2574
|
+
}),
|
|
2575
|
+
n.cssHooks.marginRight = Ga(l.reliableMarginRight, function(a, b) {
|
|
2576
|
+
return b ? Da(a, {
|
|
2577
|
+
display: "inline-block"
|
|
2578
|
+
}, Fa, [a, "marginRight"]) : void 0
|
|
2579
|
+
}),
|
|
2580
|
+
n.each({
|
|
2581
|
+
margin: "",
|
|
2582
|
+
padding: "",
|
|
2583
|
+
border: "Width"
|
|
2584
|
+
}, function(a, b) {
|
|
2585
|
+
n.cssHooks[a + b] = {
|
|
2586
|
+
expand: function(c) {
|
|
2587
|
+
for (var d = 0, e = {}, f = "string" == typeof c ? c.split(" ") : [c]; 4 > d; d++)
|
|
2588
|
+
e[a + U[d] + b] = f[d] || f[d - 2] || f[0];
|
|
2589
|
+
return e
|
|
2590
|
+
}
|
|
2591
|
+
},
|
|
2592
|
+
Aa.test(a) || (n.cssHooks[a + b].set = Na)
|
|
2593
|
+
}),
|
|
2594
|
+
n.fn.extend({
|
|
2595
|
+
css: function(a, b) {
|
|
2596
|
+
return K(this, function(a, b, c) {
|
|
2597
|
+
var d, e, f = {}, g = 0;
|
|
2598
|
+
if (n.isArray(b)) {
|
|
2599
|
+
for (d = Ca(a),
|
|
2600
|
+
e = b.length; e > g; g++)
|
|
2601
|
+
f[b[g]] = n.css(a, b[g], !1, d);
|
|
2602
|
+
return f
|
|
2603
|
+
}
|
|
2604
|
+
return void 0 !== c ? n.style(a, b, c) : n.css(a, b)
|
|
2605
|
+
}, a, b, arguments.length > 1)
|
|
2606
|
+
},
|
|
2607
|
+
show: function() {
|
|
2608
|
+
return Qa(this, !0)
|
|
2609
|
+
},
|
|
2610
|
+
hide: function() {
|
|
2611
|
+
return Qa(this)
|
|
2612
|
+
},
|
|
2613
|
+
toggle: function(a) {
|
|
2614
|
+
return "boolean" == typeof a ? a ? this.show() : this.hide() : this.each(function() {
|
|
2615
|
+
V(this) ? n(this).show() : n(this).hide()
|
|
2616
|
+
})
|
|
2617
|
+
}
|
|
2618
|
+
});
|
|
2619
|
+
function Ra(a, b, c, d, e) {
|
|
2620
|
+
return new Ra.prototype.init(a,b,c,d,e)
|
|
2621
|
+
}
|
|
2622
|
+
n.Tween = Ra,
|
|
2623
|
+
Ra.prototype = {
|
|
2624
|
+
constructor: Ra,
|
|
2625
|
+
init: function(a, b, c, d, e, f) {
|
|
2626
|
+
this.elem = a,
|
|
2627
|
+
this.prop = c,
|
|
2628
|
+
this.easing = e || n.easing._default,
|
|
2629
|
+
this.options = b,
|
|
2630
|
+
this.start = this.now = this.cur(),
|
|
2631
|
+
this.end = d,
|
|
2632
|
+
this.unit = f || (n.cssNumber[c] ? "" : "px")
|
|
2633
|
+
},
|
|
2634
|
+
cur: function() {
|
|
2635
|
+
var a = Ra.propHooks[this.prop];
|
|
2636
|
+
return a && a.get ? a.get(this) : Ra.propHooks._default.get(this)
|
|
2637
|
+
},
|
|
2638
|
+
run: function(a) {
|
|
2639
|
+
var b, c = Ra.propHooks[this.prop];
|
|
2640
|
+
return this.options.duration ? this.pos = b = n.easing[this.easing](a, this.options.duration * a, 0, 1, this.options.duration) : this.pos = b = a,
|
|
2641
|
+
this.now = (this.end - this.start) * b + this.start,
|
|
2642
|
+
this.options.step && this.options.step.call(this.elem, this.now, this),
|
|
2643
|
+
c && c.set ? c.set(this) : Ra.propHooks._default.set(this),
|
|
2644
|
+
this
|
|
2645
|
+
}
|
|
2646
|
+
},
|
|
2647
|
+
Ra.prototype.init.prototype = Ra.prototype,
|
|
2648
|
+
Ra.propHooks = {
|
|
2649
|
+
_default: {
|
|
2650
|
+
get: function(a) {
|
|
2651
|
+
var b;
|
|
2652
|
+
return 1 !== a.elem.nodeType || null != a.elem[a.prop] && null == a.elem.style[a.prop] ? a.elem[a.prop] : (b = n.css(a.elem, a.prop, ""),
|
|
2653
|
+
b && "auto" !== b ? b : 0)
|
|
2654
|
+
},
|
|
2655
|
+
set: function(a) {
|
|
2656
|
+
n.fx.step[a.prop] ? n.fx.step[a.prop](a) : 1 !== a.elem.nodeType || null == a.elem.style[n.cssProps[a.prop]] && !n.cssHooks[a.prop] ? a.elem[a.prop] = a.now : n.style(a.elem, a.prop, a.now + a.unit)
|
|
2657
|
+
}
|
|
2658
|
+
}
|
|
2659
|
+
},
|
|
2660
|
+
Ra.propHooks.scrollTop = Ra.propHooks.scrollLeft = {
|
|
2661
|
+
set: function(a) {
|
|
2662
|
+
a.elem.nodeType && a.elem.parentNode && (a.elem[a.prop] = a.now)
|
|
2663
|
+
}
|
|
2664
|
+
},
|
|
2665
|
+
n.easing = {
|
|
2666
|
+
linear: function(a) {
|
|
2667
|
+
return a
|
|
2668
|
+
},
|
|
2669
|
+
swing: function(a) {
|
|
2670
|
+
return .5 - Math.cos(a * Math.PI) / 2
|
|
2671
|
+
},
|
|
2672
|
+
_default: "swing"
|
|
2673
|
+
},
|
|
2674
|
+
n.fx = Ra.prototype.init,
|
|
2675
|
+
n.fx.step = {};
|
|
2676
|
+
var Sa, Ta, Ua = /^(?:toggle|show|hide)$/, Va = /queueHooks$/;
|
|
2677
|
+
function Wa() {
|
|
2678
|
+
return a.setTimeout(function() {
|
|
2679
|
+
Sa = void 0
|
|
2680
|
+
}),
|
|
2681
|
+
Sa = n.now()
|
|
2682
|
+
}
|
|
2683
|
+
function Xa(a, b) {
|
|
2684
|
+
var c, d = 0, e = {
|
|
2685
|
+
height: a
|
|
2686
|
+
};
|
|
2687
|
+
for (b = b ? 1 : 0; 4 > d; d += 2 - b)
|
|
2688
|
+
c = U[d],
|
|
2689
|
+
e["margin" + c] = e["padding" + c] = a;
|
|
2690
|
+
return b && (e.opacity = e.width = a),
|
|
2691
|
+
e
|
|
2692
|
+
}
|
|
2693
|
+
function Ya(a, b, c) {
|
|
2694
|
+
for (var d, e = (_a.tweeners[b] || []).concat(_a.tweeners["*"]), f = 0, g = e.length; g > f; f++)
|
|
2695
|
+
if (d = e[f].call(c, b, a))
|
|
2696
|
+
return d
|
|
2697
|
+
}
|
|
2698
|
+
function Za(a, b, c) {
|
|
2699
|
+
var d, e, f, g, h, i, j, k, l = this, m = {}, o = a.style, p = a.nodeType && V(a), q = N.get(a, "fxshow");
|
|
2700
|
+
c.queue || (h = n._queueHooks(a, "fx"),
|
|
2701
|
+
null == h.unqueued && (h.unqueued = 0,
|
|
2702
|
+
i = h.empty.fire,
|
|
2703
|
+
h.empty.fire = function() {
|
|
2704
|
+
h.unqueued || i()
|
|
2705
|
+
}
|
|
2706
|
+
),
|
|
2707
|
+
h.unqueued++,
|
|
2708
|
+
l.always(function() {
|
|
2709
|
+
l.always(function() {
|
|
2710
|
+
h.unqueued--,
|
|
2711
|
+
n.queue(a, "fx").length || h.empty.fire()
|
|
2712
|
+
})
|
|
2713
|
+
})),
|
|
2714
|
+
1 === a.nodeType && ("height"in b || "width"in b) && (c.overflow = [o.overflow, o.overflowX, o.overflowY],
|
|
2715
|
+
j = n.css(a, "display"),
|
|
2716
|
+
k = "none" === j ? N.get(a, "olddisplay") || za(a.nodeName) : j,
|
|
2717
|
+
"inline" === k && "none" === n.css(a, "float") && (o.display = "inline-block")),
|
|
2718
|
+
c.overflow && (o.overflow = "hidden",
|
|
2719
|
+
l.always(function() {
|
|
2720
|
+
o.overflow = c.overflow[0],
|
|
2721
|
+
o.overflowX = c.overflow[1],
|
|
2722
|
+
o.overflowY = c.overflow[2]
|
|
2723
|
+
}));
|
|
2724
|
+
for (d in b)
|
|
2725
|
+
if (e = b[d],
|
|
2726
|
+
Ua.exec(e)) {
|
|
2727
|
+
if (delete b[d],
|
|
2728
|
+
f = f || "toggle" === e,
|
|
2729
|
+
e === (p ? "hide" : "show")) {
|
|
2730
|
+
if ("show" !== e || !q || void 0 === q[d])
|
|
2731
|
+
continue;
|
|
2732
|
+
p = !0
|
|
2733
|
+
}
|
|
2734
|
+
m[d] = q && q[d] || n.style(a, d)
|
|
2735
|
+
} else
|
|
2736
|
+
j = void 0;
|
|
2737
|
+
if (n.isEmptyObject(m))
|
|
2738
|
+
"inline" === ("none" === j ? za(a.nodeName) : j) && (o.display = j);
|
|
2739
|
+
else {
|
|
2740
|
+
q ? "hidden"in q && (p = q.hidden) : q = N.access(a, "fxshow", {}),
|
|
2741
|
+
f && (q.hidden = !p),
|
|
2742
|
+
p ? n(a).show() : l.done(function() {
|
|
2743
|
+
n(a).hide()
|
|
2744
|
+
}),
|
|
2745
|
+
l.done(function() {
|
|
2746
|
+
var b;
|
|
2747
|
+
N.remove(a, "fxshow");
|
|
2748
|
+
for (b in m)
|
|
2749
|
+
n.style(a, b, m[b])
|
|
2750
|
+
});
|
|
2751
|
+
for (d in m)
|
|
2752
|
+
g = Ya(p ? q[d] : 0, d, l),
|
|
2753
|
+
d in q || (q[d] = g.start,
|
|
2754
|
+
p && (g.end = g.start,
|
|
2755
|
+
g.start = "width" === d || "height" === d ? 1 : 0))
|
|
2756
|
+
}
|
|
2757
|
+
}
|
|
2758
|
+
function $a(a, b) {
|
|
2759
|
+
var c, d, e, f, g;
|
|
2760
|
+
for (c in a)
|
|
2761
|
+
if (d = n.camelCase(c),
|
|
2762
|
+
e = b[d],
|
|
2763
|
+
f = a[c],
|
|
2764
|
+
n.isArray(f) && (e = f[1],
|
|
2765
|
+
f = a[c] = f[0]),
|
|
2766
|
+
c !== d && (a[d] = f,
|
|
2767
|
+
delete a[c]),
|
|
2768
|
+
g = n.cssHooks[d],
|
|
2769
|
+
g && "expand"in g) {
|
|
2770
|
+
f = g.expand(f),
|
|
2771
|
+
delete a[d];
|
|
2772
|
+
for (c in f)
|
|
2773
|
+
c in a || (a[c] = f[c],
|
|
2774
|
+
b[c] = e)
|
|
2775
|
+
} else
|
|
2776
|
+
b[d] = e
|
|
2777
|
+
}
|
|
2778
|
+
function _a(a, b, c) {
|
|
2779
|
+
var d, e, f = 0, g = _a.prefilters.length, h = n.Deferred().always(function() {
|
|
2780
|
+
delete i.elem
|
|
2781
|
+
}), i = function() {
|
|
2782
|
+
if (e)
|
|
2783
|
+
return !1;
|
|
2784
|
+
for (var b = Sa || Wa(), c = Math.max(0, j.startTime + j.duration - b), d = c / j.duration || 0, f = 1 - d, g = 0, i = j.tweens.length; i > g; g++)
|
|
2785
|
+
j.tweens[g].run(f);
|
|
2786
|
+
return h.notifyWith(a, [j, f, c]),
|
|
2787
|
+
1 > f && i ? c : (h.resolveWith(a, [j]),
|
|
2788
|
+
!1)
|
|
2789
|
+
}, j = h.promise({
|
|
2790
|
+
elem: a,
|
|
2791
|
+
props: n.extend({}, b),
|
|
2792
|
+
opts: n.extend(!0, {
|
|
2793
|
+
specialEasing: {},
|
|
2794
|
+
easing: n.easing._default
|
|
2795
|
+
}, c),
|
|
2796
|
+
originalProperties: b,
|
|
2797
|
+
originalOptions: c,
|
|
2798
|
+
startTime: Sa || Wa(),
|
|
2799
|
+
duration: c.duration,
|
|
2800
|
+
tweens: [],
|
|
2801
|
+
createTween: function(b, c) {
|
|
2802
|
+
var d = n.Tween(a, j.opts, b, c, j.opts.specialEasing[b] || j.opts.easing);
|
|
2803
|
+
return j.tweens.push(d),
|
|
2804
|
+
d
|
|
2805
|
+
},
|
|
2806
|
+
stop: function(b) {
|
|
2807
|
+
var c = 0
|
|
2808
|
+
, d = b ? j.tweens.length : 0;
|
|
2809
|
+
if (e)
|
|
2810
|
+
return this;
|
|
2811
|
+
for (e = !0; d > c; c++)
|
|
2812
|
+
j.tweens[c].run(1);
|
|
2813
|
+
return b ? (h.notifyWith(a, [j, 1, 0]),
|
|
2814
|
+
h.resolveWith(a, [j, b])) : h.rejectWith(a, [j, b]),
|
|
2815
|
+
this
|
|
2816
|
+
}
|
|
2817
|
+
}), k = j.props;
|
|
2818
|
+
for ($a(k, j.opts.specialEasing); g > f; f++)
|
|
2819
|
+
if (d = _a.prefilters[f].call(j, a, k, j.opts))
|
|
2820
|
+
return n.isFunction(d.stop) && (n._queueHooks(j.elem, j.opts.queue).stop = n.proxy(d.stop, d)),
|
|
2821
|
+
d;
|
|
2822
|
+
return n.map(k, Ya, j),
|
|
2823
|
+
n.isFunction(j.opts.start) && j.opts.start.call(a, j),
|
|
2824
|
+
n.fx.timer(n.extend(i, {
|
|
2825
|
+
elem: a,
|
|
2826
|
+
anim: j,
|
|
2827
|
+
queue: j.opts.queue
|
|
2828
|
+
})),
|
|
2829
|
+
j.progress(j.opts.progress).done(j.opts.done, j.opts.complete).fail(j.opts.fail).always(j.opts.always)
|
|
2830
|
+
}
|
|
2831
|
+
n.Animation = n.extend(_a, {
|
|
2832
|
+
tweeners: {
|
|
2833
|
+
"*": [function(a, b) {
|
|
2834
|
+
var c = this.createTween(a, b);
|
|
2835
|
+
return W(c.elem, a, T.exec(b), c),
|
|
2836
|
+
c
|
|
2837
|
+
}
|
|
2838
|
+
]
|
|
2839
|
+
},
|
|
2840
|
+
tweener: function(a, b) {
|
|
2841
|
+
n.isFunction(a) ? (b = a,
|
|
2842
|
+
a = ["*"]) : a = a.match(G);
|
|
2843
|
+
for (var c, d = 0, e = a.length; e > d; d++)
|
|
2844
|
+
c = a[d],
|
|
2845
|
+
_a.tweeners[c] = _a.tweeners[c] || [],
|
|
2846
|
+
_a.tweeners[c].unshift(b)
|
|
2847
|
+
},
|
|
2848
|
+
prefilters: [Za],
|
|
2849
|
+
prefilter: function(a, b) {
|
|
2850
|
+
b ? _a.prefilters.unshift(a) : _a.prefilters.push(a)
|
|
2851
|
+
}
|
|
2852
|
+
}),
|
|
2853
|
+
n.speed = function(a, b, c) {
|
|
2854
|
+
var d = a && "object" == typeof a ? n.extend({}, a) : {
|
|
2855
|
+
complete: c || !c && b || n.isFunction(a) && a,
|
|
2856
|
+
duration: a,
|
|
2857
|
+
easing: c && b || b && !n.isFunction(b) && b
|
|
2858
|
+
};
|
|
2859
|
+
return d.duration = n.fx.off ? 0 : "number" == typeof d.duration ? d.duration : d.duration in n.fx.speeds ? n.fx.speeds[d.duration] : n.fx.speeds._default,
|
|
2860
|
+
(null == d.queue || d.queue === !0) && (d.queue = "fx"),
|
|
2861
|
+
d.old = d.complete,
|
|
2862
|
+
d.complete = function() {
|
|
2863
|
+
n.isFunction(d.old) && d.old.call(this),
|
|
2864
|
+
d.queue && n.dequeue(this, d.queue)
|
|
2865
|
+
}
|
|
2866
|
+
,
|
|
2867
|
+
d
|
|
2868
|
+
}
|
|
2869
|
+
,
|
|
2870
|
+
n.fn.extend({
|
|
2871
|
+
fadeTo: function(a, b, c, d) {
|
|
2872
|
+
return this.filter(V).css("opacity", 0).show().end().animate({
|
|
2873
|
+
opacity: b
|
|
2874
|
+
}, a, c, d)
|
|
2875
|
+
},
|
|
2876
|
+
animate: function(a, b, c, d) {
|
|
2877
|
+
var e = n.isEmptyObject(a)
|
|
2878
|
+
, f = n.speed(b, c, d)
|
|
2879
|
+
, g = function() {
|
|
2880
|
+
var b = _a(this, n.extend({}, a), f);
|
|
2881
|
+
(e || N.get(this, "finish")) && b.stop(!0)
|
|
2882
|
+
};
|
|
2883
|
+
return g.finish = g,
|
|
2884
|
+
e || f.queue === !1 ? this.each(g) : this.queue(f.queue, g)
|
|
2885
|
+
},
|
|
2886
|
+
stop: function(a, b, c) {
|
|
2887
|
+
var d = function(a) {
|
|
2888
|
+
var b = a.stop;
|
|
2889
|
+
delete a.stop,
|
|
2890
|
+
b(c)
|
|
2891
|
+
};
|
|
2892
|
+
return "string" != typeof a && (c = b,
|
|
2893
|
+
b = a,
|
|
2894
|
+
a = void 0),
|
|
2895
|
+
b && a !== !1 && this.queue(a || "fx", []),
|
|
2896
|
+
this.each(function() {
|
|
2897
|
+
var b = !0
|
|
2898
|
+
, e = null != a && a + "queueHooks"
|
|
2899
|
+
, f = n.timers
|
|
2900
|
+
, g = N.get(this);
|
|
2901
|
+
if (e)
|
|
2902
|
+
g[e] && g[e].stop && d(g[e]);
|
|
2903
|
+
else
|
|
2904
|
+
for (e in g)
|
|
2905
|
+
g[e] && g[e].stop && Va.test(e) && d(g[e]);
|
|
2906
|
+
for (e = f.length; e--; )
|
|
2907
|
+
f[e].elem !== this || null != a && f[e].queue !== a || (f[e].anim.stop(c),
|
|
2908
|
+
b = !1,
|
|
2909
|
+
f.splice(e, 1));
|
|
2910
|
+
(b || !c) && n.dequeue(this, a)
|
|
2911
|
+
})
|
|
2912
|
+
},
|
|
2913
|
+
finish: function(a) {
|
|
2914
|
+
return a !== !1 && (a = a || "fx"),
|
|
2915
|
+
this.each(function() {
|
|
2916
|
+
var b, c = N.get(this), d = c[a + "queue"], e = c[a + "queueHooks"], f = n.timers, g = d ? d.length : 0;
|
|
2917
|
+
for (c.finish = !0,
|
|
2918
|
+
n.queue(this, a, []),
|
|
2919
|
+
e && e.stop && e.stop.call(this, !0),
|
|
2920
|
+
b = f.length; b--; )
|
|
2921
|
+
f[b].elem === this && f[b].queue === a && (f[b].anim.stop(!0),
|
|
2922
|
+
f.splice(b, 1));
|
|
2923
|
+
for (b = 0; g > b; b++)
|
|
2924
|
+
d[b] && d[b].finish && d[b].finish.call(this);
|
|
2925
|
+
delete c.finish
|
|
2926
|
+
})
|
|
2927
|
+
}
|
|
2928
|
+
}),
|
|
2929
|
+
n.each(["toggle", "show", "hide"], function(a, b) {
|
|
2930
|
+
var c = n.fn[b];
|
|
2931
|
+
n.fn[b] = function(a, d, e) {
|
|
2932
|
+
return null == a || "boolean" == typeof a ? c.apply(this, arguments) : this.animate(Xa(b, !0), a, d, e)
|
|
2933
|
+
}
|
|
2934
|
+
}),
|
|
2935
|
+
n.each({
|
|
2936
|
+
slideDown: Xa("show"),
|
|
2937
|
+
slideUp: Xa("hide"),
|
|
2938
|
+
slideToggle: Xa("toggle"),
|
|
2939
|
+
fadeIn: {
|
|
2940
|
+
opacity: "show"
|
|
2941
|
+
},
|
|
2942
|
+
fadeOut: {
|
|
2943
|
+
opacity: "hide"
|
|
2944
|
+
},
|
|
2945
|
+
fadeToggle: {
|
|
2946
|
+
opacity: "toggle"
|
|
2947
|
+
}
|
|
2948
|
+
}, function(a, b) {
|
|
2949
|
+
n.fn[a] = function(a, c, d) {
|
|
2950
|
+
return this.animate(b, a, c, d)
|
|
2951
|
+
}
|
|
2952
|
+
}),
|
|
2953
|
+
n.timers = [],
|
|
2954
|
+
n.fx.tick = function() {
|
|
2955
|
+
var a, b = 0, c = n.timers;
|
|
2956
|
+
for (Sa = n.now(); b < c.length; b++)
|
|
2957
|
+
a = c[b],
|
|
2958
|
+
a() || c[b] !== a || c.splice(b--, 1);
|
|
2959
|
+
c.length || n.fx.stop(),
|
|
2960
|
+
Sa = void 0
|
|
2961
|
+
}
|
|
2962
|
+
,
|
|
2963
|
+
n.fx.timer = function(a) {
|
|
2964
|
+
n.timers.push(a),
|
|
2965
|
+
a() ? n.fx.start() : n.timers.pop()
|
|
2966
|
+
}
|
|
2967
|
+
,
|
|
2968
|
+
n.fx.interval = 13,
|
|
2969
|
+
n.fx.start = function() {
|
|
2970
|
+
Ta || (Ta = a.setInterval(n.fx.tick, n.fx.interval))
|
|
2971
|
+
}
|
|
2972
|
+
,
|
|
2973
|
+
n.fx.stop = function() {
|
|
2974
|
+
a.clearInterval(Ta),
|
|
2975
|
+
Ta = null
|
|
2976
|
+
}
|
|
2977
|
+
,
|
|
2978
|
+
n.fx.speeds = {
|
|
2979
|
+
slow: 600,
|
|
2980
|
+
fast: 200,
|
|
2981
|
+
_default: 400
|
|
2982
|
+
},
|
|
2983
|
+
n.fn.delay = function(b, c) {
|
|
2984
|
+
return b = n.fx ? n.fx.speeds[b] || b : b,
|
|
2985
|
+
c = c || "fx",
|
|
2986
|
+
this.queue(c, function(c, d) {
|
|
2987
|
+
var e = a.setTimeout(c, b);
|
|
2988
|
+
d.stop = function() {
|
|
2989
|
+
a.clearTimeout(e)
|
|
2990
|
+
}
|
|
2991
|
+
})
|
|
2992
|
+
}
|
|
2993
|
+
,
|
|
2994
|
+
function() {
|
|
2995
|
+
var a = d.createElement("input")
|
|
2996
|
+
, b = d.createElement("select")
|
|
2997
|
+
, c = b.appendChild(d.createElement("option"));
|
|
2998
|
+
a.type = "checkbox",
|
|
2999
|
+
l.checkOn = "" !== a.value,
|
|
3000
|
+
l.optSelected = c.selected,
|
|
3001
|
+
b.disabled = !0,
|
|
3002
|
+
l.optDisabled = !c.disabled,
|
|
3003
|
+
a = d.createElement("input"),
|
|
3004
|
+
a.value = "t",
|
|
3005
|
+
a.type = "radio",
|
|
3006
|
+
l.radioValue = "t" === a.value
|
|
3007
|
+
}();
|
|
3008
|
+
var ab, bb = n.expr.attrHandle;
|
|
3009
|
+
n.fn.extend({
|
|
3010
|
+
attr: function(a, b) {
|
|
3011
|
+
return K(this, n.attr, a, b, arguments.length > 1)
|
|
3012
|
+
},
|
|
3013
|
+
removeAttr: function(a) {
|
|
3014
|
+
return this.each(function() {
|
|
3015
|
+
n.removeAttr(this, a)
|
|
3016
|
+
})
|
|
3017
|
+
}
|
|
3018
|
+
}),
|
|
3019
|
+
n.extend({
|
|
3020
|
+
attr: function(a, b, c) {
|
|
3021
|
+
var d, e, f = a.nodeType;
|
|
3022
|
+
if (3 !== f && 8 !== f && 2 !== f)
|
|
3023
|
+
return "undefined" == typeof a.getAttribute ? n.prop(a, b, c) : (1 === f && n.isXMLDoc(a) || (b = b.toLowerCase(),
|
|
3024
|
+
e = n.attrHooks[b] || (n.expr.match.bool.test(b) ? ab : void 0)),
|
|
3025
|
+
void 0 !== c ? null === c ? void n.removeAttr(a, b) : e && "set"in e && void 0 !== (d = e.set(a, c, b)) ? d : (a.setAttribute(b, c + ""),
|
|
3026
|
+
c) : e && "get"in e && null !== (d = e.get(a, b)) ? d : (d = n.find.attr(a, b),
|
|
3027
|
+
null == d ? void 0 : d))
|
|
3028
|
+
},
|
|
3029
|
+
attrHooks: {
|
|
3030
|
+
type: {
|
|
3031
|
+
set: function(a, b) {
|
|
3032
|
+
if (!l.radioValue && "radio" === b && n.nodeName(a, "input")) {
|
|
3033
|
+
var c = a.value;
|
|
3034
|
+
return a.setAttribute("type", b),
|
|
3035
|
+
c && (a.value = c),
|
|
3036
|
+
b
|
|
3037
|
+
}
|
|
3038
|
+
}
|
|
3039
|
+
}
|
|
3040
|
+
},
|
|
3041
|
+
removeAttr: function(a, b) {
|
|
3042
|
+
var c, d, e = 0, f = b && b.match(G);
|
|
3043
|
+
if (f && 1 === a.nodeType)
|
|
3044
|
+
while (c = f[e++])
|
|
3045
|
+
d = n.propFix[c] || c,
|
|
3046
|
+
n.expr.match.bool.test(c) && (a[d] = !1),
|
|
3047
|
+
a.removeAttribute(c)
|
|
3048
|
+
}
|
|
3049
|
+
}),
|
|
3050
|
+
ab = {
|
|
3051
|
+
set: function(a, b, c) {
|
|
3052
|
+
return b === !1 ? n.removeAttr(a, c) : a.setAttribute(c, c),
|
|
3053
|
+
c
|
|
3054
|
+
}
|
|
3055
|
+
},
|
|
3056
|
+
n.each(n.expr.match.bool.source.match(/\w+/g), function(a, b) {
|
|
3057
|
+
var c = bb[b] || n.find.attr;
|
|
3058
|
+
bb[b] = function(a, b, d) {
|
|
3059
|
+
var e, f;
|
|
3060
|
+
return d || (f = bb[b],
|
|
3061
|
+
bb[b] = e,
|
|
3062
|
+
e = null != c(a, b, d) ? b.toLowerCase() : null,
|
|
3063
|
+
bb[b] = f),
|
|
3064
|
+
e
|
|
3065
|
+
}
|
|
3066
|
+
});
|
|
3067
|
+
var cb = /^(?:input|select|textarea|button)$/i
|
|
3068
|
+
, db = /^(?:a|area)$/i;
|
|
3069
|
+
n.fn.extend({
|
|
3070
|
+
prop: function(a, b) {
|
|
3071
|
+
return K(this, n.prop, a, b, arguments.length > 1)
|
|
3072
|
+
},
|
|
3073
|
+
removeProp: function(a) {
|
|
3074
|
+
return this.each(function() {
|
|
3075
|
+
delete this[n.propFix[a] || a]
|
|
3076
|
+
})
|
|
3077
|
+
}
|
|
3078
|
+
}),
|
|
3079
|
+
n.extend({
|
|
3080
|
+
prop: function(a, b, c) {
|
|
3081
|
+
var d, e, f = a.nodeType;
|
|
3082
|
+
if (3 !== f && 8 !== f && 2 !== f)
|
|
3083
|
+
return 1 === f && n.isXMLDoc(a) || (b = n.propFix[b] || b,
|
|
3084
|
+
e = n.propHooks[b]),
|
|
3085
|
+
void 0 !== c ? e && "set"in e && void 0 !== (d = e.set(a, c, b)) ? d : a[b] = c : e && "get"in e && null !== (d = e.get(a, b)) ? d : a[b];
|
|
3086
|
+
},
|
|
3087
|
+
propHooks: {
|
|
3088
|
+
tabIndex: {
|
|
3089
|
+
get: function(a) {
|
|
3090
|
+
var b = n.find.attr(a, "tabindex");
|
|
3091
|
+
return b ? parseInt(b, 10) : cb.test(a.nodeName) || db.test(a.nodeName) && a.href ? 0 : -1
|
|
3092
|
+
}
|
|
3093
|
+
}
|
|
3094
|
+
},
|
|
3095
|
+
propFix: {
|
|
3096
|
+
"for": "htmlFor",
|
|
3097
|
+
"class": "className"
|
|
3098
|
+
}
|
|
3099
|
+
}),
|
|
3100
|
+
l.optSelected || (n.propHooks.selected = {
|
|
3101
|
+
get: function(a) {
|
|
3102
|
+
var b = a.parentNode;
|
|
3103
|
+
return b && b.parentNode && b.parentNode.selectedIndex,
|
|
3104
|
+
null
|
|
3105
|
+
}
|
|
3106
|
+
}),
|
|
3107
|
+
n.each(["tabIndex", "readOnly", "maxLength", "cellSpacing", "cellPadding", "rowSpan", "colSpan", "useMap", "frameBorder", "contentEditable"], function() {
|
|
3108
|
+
n.propFix[this.toLowerCase()] = this
|
|
3109
|
+
});
|
|
3110
|
+
var eb = /[\t\r\n\f]/g;
|
|
3111
|
+
function fb(a) {
|
|
3112
|
+
return a.getAttribute && a.getAttribute("class") || ""
|
|
3113
|
+
}
|
|
3114
|
+
n.fn.extend({
|
|
3115
|
+
addClass: function(a) {
|
|
3116
|
+
var b, c, d, e, f, g, h, i = 0;
|
|
3117
|
+
if (n.isFunction(a))
|
|
3118
|
+
return this.each(function(b) {
|
|
3119
|
+
n(this).addClass(a.call(this, b, fb(this)))
|
|
3120
|
+
});
|
|
3121
|
+
if ("string" == typeof a && a) {
|
|
3122
|
+
b = a.match(G) || [];
|
|
3123
|
+
while (c = this[i++])
|
|
3124
|
+
if (e = fb(c),
|
|
3125
|
+
d = 1 === c.nodeType && (" " + e + " ").replace(eb, " ")) {
|
|
3126
|
+
g = 0;
|
|
3127
|
+
while (f = b[g++])
|
|
3128
|
+
d.indexOf(" " + f + " ") < 0 && (d += f + " ");
|
|
3129
|
+
h = n.trim(d),
|
|
3130
|
+
e !== h && c.setAttribute("class", h)
|
|
3131
|
+
}
|
|
3132
|
+
}
|
|
3133
|
+
return this
|
|
3134
|
+
},
|
|
3135
|
+
removeClass: function(a) {
|
|
3136
|
+
var b, c, d, e, f, g, h, i = 0;
|
|
3137
|
+
if (n.isFunction(a))
|
|
3138
|
+
return this.each(function(b) {
|
|
3139
|
+
n(this).removeClass(a.call(this, b, fb(this)))
|
|
3140
|
+
});
|
|
3141
|
+
if (!arguments.length)
|
|
3142
|
+
return this.attr("class", "");
|
|
3143
|
+
if ("string" == typeof a && a) {
|
|
3144
|
+
b = a.match(G) || [];
|
|
3145
|
+
while (c = this[i++])
|
|
3146
|
+
if (e = fb(c),
|
|
3147
|
+
d = 1 === c.nodeType && (" " + e + " ").replace(eb, " ")) {
|
|
3148
|
+
g = 0;
|
|
3149
|
+
while (f = b[g++])
|
|
3150
|
+
while (d.indexOf(" " + f + " ") > -1)
|
|
3151
|
+
d = d.replace(" " + f + " ", " ");
|
|
3152
|
+
h = n.trim(d),
|
|
3153
|
+
e !== h && c.setAttribute("class", h)
|
|
3154
|
+
}
|
|
3155
|
+
}
|
|
3156
|
+
return this
|
|
3157
|
+
},
|
|
3158
|
+
toggleClass: function(a, b) {
|
|
3159
|
+
var c = typeof a;
|
|
3160
|
+
return "boolean" == typeof b && "string" === c ? b ? this.addClass(a) : this.removeClass(a) : n.isFunction(a) ? this.each(function(c) {
|
|
3161
|
+
n(this).toggleClass(a.call(this, c, fb(this), b), b)
|
|
3162
|
+
}) : this.each(function() {
|
|
3163
|
+
var b, d, e, f;
|
|
3164
|
+
if ("string" === c) {
|
|
3165
|
+
d = 0,
|
|
3166
|
+
e = n(this),
|
|
3167
|
+
f = a.match(G) || [];
|
|
3168
|
+
while (b = f[d++])
|
|
3169
|
+
e.hasClass(b) ? e.removeClass(b) : e.addClass(b)
|
|
3170
|
+
} else
|
|
3171
|
+
(void 0 === a || "boolean" === c) && (b = fb(this),
|
|
3172
|
+
b && N.set(this, "__className__", b),
|
|
3173
|
+
this.setAttribute && this.setAttribute("class", b || a === !1 ? "" : N.get(this, "__className__") || ""))
|
|
3174
|
+
})
|
|
3175
|
+
},
|
|
3176
|
+
hasClass: function(a) {
|
|
3177
|
+
var b, c, d = 0;
|
|
3178
|
+
b = " " + a + " ";
|
|
3179
|
+
while (c = this[d++])
|
|
3180
|
+
if (1 === c.nodeType && (" " + fb(c) + " ").replace(eb, " ").indexOf(b) > -1)
|
|
3181
|
+
return !0;
|
|
3182
|
+
return !1
|
|
3183
|
+
}
|
|
3184
|
+
});
|
|
3185
|
+
var gb = /\r/g;
|
|
3186
|
+
n.fn.extend({
|
|
3187
|
+
val: function(a) {
|
|
3188
|
+
var b, c, d, e = this[0];
|
|
3189
|
+
{
|
|
3190
|
+
if (arguments.length)
|
|
3191
|
+
return d = n.isFunction(a),
|
|
3192
|
+
this.each(function(c) {
|
|
3193
|
+
var e;
|
|
3194
|
+
1 === this.nodeType && (e = d ? a.call(this, c, n(this).val()) : a,
|
|
3195
|
+
null == e ? e = "" : "number" == typeof e ? e += "" : n.isArray(e) && (e = n.map(e, function(a) {
|
|
3196
|
+
return null == a ? "" : a + ""
|
|
3197
|
+
})),
|
|
3198
|
+
b = n.valHooks[this.type] || n.valHooks[this.nodeName.toLowerCase()],
|
|
3199
|
+
b && "set"in b && void 0 !== b.set(this, e, "value") || (this.value = e))
|
|
3200
|
+
});
|
|
3201
|
+
if (e)
|
|
3202
|
+
return b = n.valHooks[e.type] || n.valHooks[e.nodeName.toLowerCase()],
|
|
3203
|
+
b && "get"in b && void 0 !== (c = b.get(e, "value")) ? c : (c = e.value,
|
|
3204
|
+
"string" == typeof c ? c.replace(gb, "") : null == c ? "" : c)
|
|
3205
|
+
}
|
|
3206
|
+
}
|
|
3207
|
+
}),
|
|
3208
|
+
n.extend({
|
|
3209
|
+
valHooks: {
|
|
3210
|
+
option: {
|
|
3211
|
+
get: function(a) {
|
|
3212
|
+
return n.trim(a.value)
|
|
3213
|
+
}
|
|
3214
|
+
},
|
|
3215
|
+
select: {
|
|
3216
|
+
get: function(a) {
|
|
3217
|
+
for (var b, c, d = a.options, e = a.selectedIndex, f = "select-one" === a.type || 0 > e, g = f ? null : [], h = f ? e + 1 : d.length, i = 0 > e ? h : f ? e : 0; h > i; i++)
|
|
3218
|
+
if (c = d[i],
|
|
3219
|
+
(c.selected || i === e) && (l.optDisabled ? !c.disabled : null === c.getAttribute("disabled")) && (!c.parentNode.disabled || !n.nodeName(c.parentNode, "optgroup"))) {
|
|
3220
|
+
if (b = n(c).val(),
|
|
3221
|
+
f)
|
|
3222
|
+
return b;
|
|
3223
|
+
g.push(b)
|
|
3224
|
+
}
|
|
3225
|
+
return g
|
|
3226
|
+
},
|
|
3227
|
+
set: function(a, b) {
|
|
3228
|
+
var c, d, e = a.options, f = n.makeArray(b), g = e.length;
|
|
3229
|
+
while (g--)
|
|
3230
|
+
d = e[g],
|
|
3231
|
+
(d.selected = n.inArray(n.valHooks.option.get(d), f) > -1) && (c = !0);
|
|
3232
|
+
return c || (a.selectedIndex = -1),
|
|
3233
|
+
f
|
|
3234
|
+
}
|
|
3235
|
+
}
|
|
3236
|
+
}
|
|
3237
|
+
}),
|
|
3238
|
+
n.each(["radio", "checkbox"], function() {
|
|
3239
|
+
n.valHooks[this] = {
|
|
3240
|
+
set: function(a, b) {
|
|
3241
|
+
return n.isArray(b) ? a.checked = n.inArray(n(a).val(), b) > -1 : void 0
|
|
3242
|
+
}
|
|
3243
|
+
},
|
|
3244
|
+
l.checkOn || (n.valHooks[this].get = function(a) {
|
|
3245
|
+
return null === a.getAttribute("value") ? "on" : a.value
|
|
3246
|
+
}
|
|
3247
|
+
)
|
|
3248
|
+
});
|
|
3249
|
+
var hb = /^(?:focusinfocus|focusoutblur)$/;
|
|
3250
|
+
n.extend(n.event, {
|
|
3251
|
+
trigger: function(b, c, e, f) {
|
|
3252
|
+
var g, h, i, j, l, m, o, p = [e || d], q = k.call(b, "type") ? b.type : b, r = k.call(b, "namespace") ? b.namespace.split(".") : [];
|
|
3253
|
+
if (h = i = e = e || d,
|
|
3254
|
+
3 !== e.nodeType && 8 !== e.nodeType && !hb.test(q + n.event.triggered) && (q.indexOf(".") > -1 && (r = q.split("."),
|
|
3255
|
+
q = r.shift(),
|
|
3256
|
+
r.sort()),
|
|
3257
|
+
l = q.indexOf(":") < 0 && "on" + q,
|
|
3258
|
+
b = b[n.expando] ? b : new n.Event(q,"object" == typeof b && b),
|
|
3259
|
+
b.isTrigger = f ? 2 : 3,
|
|
3260
|
+
b.namespace = r.join("."),
|
|
3261
|
+
b.rnamespace = b.namespace ? new RegExp("(^|\\.)" + r.join("\\.(?:.*\\.|)") + "(\\.|$)") : null,
|
|
3262
|
+
b.result = void 0,
|
|
3263
|
+
b.target || (b.target = e),
|
|
3264
|
+
c = null == c ? [b] : n.makeArray(c, [b]),
|
|
3265
|
+
o = n.event.special[q] || {},
|
|
3266
|
+
f || !o.trigger || o.trigger.apply(e, c) !== !1)) {
|
|
3267
|
+
if (!f && !o.noBubble && !n.isWindow(e)) {
|
|
3268
|
+
for (j = o.delegateType || q,
|
|
3269
|
+
hb.test(j + q) || (h = h.parentNode); h; h = h.parentNode)
|
|
3270
|
+
p.push(h),
|
|
3271
|
+
i = h;
|
|
3272
|
+
i === (e.ownerDocument || d) && p.push(i.defaultView || i.parentWindow || a)
|
|
3273
|
+
}
|
|
3274
|
+
g = 0;
|
|
3275
|
+
while ((h = p[g++]) && !b.isPropagationStopped())
|
|
3276
|
+
b.type = g > 1 ? j : o.bindType || q,
|
|
3277
|
+
m = (N.get(h, "events") || {})[b.type] && N.get(h, "handle"),
|
|
3278
|
+
m && m.apply(h, c),
|
|
3279
|
+
m = l && h[l],
|
|
3280
|
+
m && m.apply && L(h) && (b.result = m.apply(h, c),
|
|
3281
|
+
b.result === !1 && b.preventDefault());
|
|
3282
|
+
return b.type = q,
|
|
3283
|
+
f || b.isDefaultPrevented() || o._default && o._default.apply(p.pop(), c) !== !1 || !L(e) || l && n.isFunction(e[q]) && !n.isWindow(e) && (i = e[l],
|
|
3284
|
+
i && (e[l] = null),
|
|
3285
|
+
n.event.triggered = q,
|
|
3286
|
+
e[q](),
|
|
3287
|
+
n.event.triggered = void 0,
|
|
3288
|
+
i && (e[l] = i)),
|
|
3289
|
+
b.result
|
|
3290
|
+
}
|
|
3291
|
+
},
|
|
3292
|
+
simulate: function(a, b, c) {
|
|
3293
|
+
var d = n.extend(new n.Event, c, {
|
|
3294
|
+
type: a,
|
|
3295
|
+
isSimulated: !0
|
|
3296
|
+
});
|
|
3297
|
+
n.event.trigger(d, null, b),
|
|
3298
|
+
d.isDefaultPrevented() && c.preventDefault()
|
|
3299
|
+
}
|
|
3300
|
+
}),
|
|
3301
|
+
n.fn.extend({
|
|
3302
|
+
trigger: function(a, b) {
|
|
3303
|
+
return this.each(function() {
|
|
3304
|
+
n.event.trigger(a, b, this)
|
|
3305
|
+
})
|
|
3306
|
+
},
|
|
3307
|
+
triggerHandler: function(a, b) {
|
|
3308
|
+
var c = this[0];
|
|
3309
|
+
return c ? n.event.trigger(a, b, c, !0) : void 0
|
|
3310
|
+
}
|
|
3311
|
+
}),
|
|
3312
|
+
n.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "), function(a, b) {
|
|
3313
|
+
n.fn[b] = function(a, c) {
|
|
3314
|
+
return arguments.length > 0 ? this.on(b, null, a, c) : this.trigger(b)
|
|
3315
|
+
}
|
|
3316
|
+
}),
|
|
3317
|
+
n.fn.extend({
|
|
3318
|
+
hover: function(a, b) {
|
|
3319
|
+
return this.mouseenter(a).mouseleave(b || a)
|
|
3320
|
+
}
|
|
3321
|
+
}),
|
|
3322
|
+
l.focusin = "onfocusin"in a,
|
|
3323
|
+
l.focusin || n.each({
|
|
3324
|
+
focus: "focusin",
|
|
3325
|
+
blur: "focusout"
|
|
3326
|
+
}, function(a, b) {
|
|
3327
|
+
var c = function(a) {
|
|
3328
|
+
n.event.simulate(b, a.target, n.event.fix(a))
|
|
3329
|
+
};
|
|
3330
|
+
n.event.special[b] = {
|
|
3331
|
+
setup: function() {
|
|
3332
|
+
var d = this.ownerDocument || this
|
|
3333
|
+
, e = N.access(d, b);
|
|
3334
|
+
e || d.addEventListener(a, c, !0),
|
|
3335
|
+
N.access(d, b, (e || 0) + 1)
|
|
3336
|
+
},
|
|
3337
|
+
teardown: function() {
|
|
3338
|
+
var d = this.ownerDocument || this
|
|
3339
|
+
, e = N.access(d, b) - 1;
|
|
3340
|
+
e ? N.access(d, b, e) : (d.removeEventListener(a, c, !0),
|
|
3341
|
+
N.remove(d, b))
|
|
3342
|
+
}
|
|
3343
|
+
}
|
|
3344
|
+
});
|
|
3345
|
+
var ib = a.location
|
|
3346
|
+
, jb = n.now()
|
|
3347
|
+
, kb = /\?/;
|
|
3348
|
+
n.parseJSON = function(a) {
|
|
3349
|
+
return JSON.parse(a + "")
|
|
3350
|
+
}
|
|
3351
|
+
,
|
|
3352
|
+
n.parseXML = function(b) {
|
|
3353
|
+
var c;
|
|
3354
|
+
if (!b || "string" != typeof b)
|
|
3355
|
+
return null;
|
|
3356
|
+
try {
|
|
3357
|
+
c = (new a.DOMParser).parseFromString(b, "text/xml")
|
|
3358
|
+
} catch (d) {
|
|
3359
|
+
c = void 0
|
|
3360
|
+
}
|
|
3361
|
+
return (!c || c.getElementsByTagName("parsererror").length) && n.error("Invalid XML: " + b),
|
|
3362
|
+
c
|
|
3363
|
+
}
|
|
3364
|
+
;
|
|
3365
|
+
var lb = /#.*$/
|
|
3366
|
+
, mb = /([?&])_=[^&]*/
|
|
3367
|
+
, nb = /^(.*?):[ \t]*([^\r\n]*)$/gm
|
|
3368
|
+
, ob = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/
|
|
3369
|
+
, pb = /^(?:GET|HEAD)$/
|
|
3370
|
+
, qb = /^\/\//
|
|
3371
|
+
, rb = {}
|
|
3372
|
+
, sb = {}
|
|
3373
|
+
, tb = "*/".concat("*")
|
|
3374
|
+
, ub = d.createElement("a");
|
|
3375
|
+
ub.href = ib.href;
|
|
3376
|
+
function vb(a) {
|
|
3377
|
+
return function(b, c) {
|
|
3378
|
+
"string" != typeof b && (c = b,
|
|
3379
|
+
b = "*");
|
|
3380
|
+
var d, e = 0, f = b.toLowerCase().match(G) || [];
|
|
3381
|
+
if (n.isFunction(c))
|
|
3382
|
+
while (d = f[e++])
|
|
3383
|
+
"+" === d[0] ? (d = d.slice(1) || "*",
|
|
3384
|
+
(a[d] = a[d] || []).unshift(c)) : (a[d] = a[d] || []).push(c)
|
|
3385
|
+
}
|
|
3386
|
+
}
|
|
3387
|
+
function wb(a, b, c, d) {
|
|
3388
|
+
var e = {}
|
|
3389
|
+
, f = a === sb;
|
|
3390
|
+
function g(h) {
|
|
3391
|
+
var i;
|
|
3392
|
+
return e[h] = !0,
|
|
3393
|
+
n.each(a[h] || [], function(a, h) {
|
|
3394
|
+
var j = h(b, c, d);
|
|
3395
|
+
return "string" != typeof j || f || e[j] ? f ? !(i = j) : void 0 : (b.dataTypes.unshift(j),
|
|
3396
|
+
g(j),
|
|
3397
|
+
!1)
|
|
3398
|
+
}),
|
|
3399
|
+
i
|
|
3400
|
+
}
|
|
3401
|
+
return g(b.dataTypes[0]) || !e["*"] && g("*")
|
|
3402
|
+
}
|
|
3403
|
+
function xb(a, b) {
|
|
3404
|
+
var c, d, e = n.ajaxSettings.flatOptions || {};
|
|
3405
|
+
for (c in b)
|
|
3406
|
+
void 0 !== b[c] && ((e[c] ? a : d || (d = {}))[c] = b[c]);
|
|
3407
|
+
return d && n.extend(!0, a, d),
|
|
3408
|
+
a
|
|
3409
|
+
}
|
|
3410
|
+
function yb(a, b, c) {
|
|
3411
|
+
var d, e, f, g, h = a.contents, i = a.dataTypes;
|
|
3412
|
+
while ("*" === i[0])
|
|
3413
|
+
i.shift(),
|
|
3414
|
+
void 0 === d && (d = a.mimeType || b.getResponseHeader("Content-Type"));
|
|
3415
|
+
if (d)
|
|
3416
|
+
for (e in h)
|
|
3417
|
+
if (h[e] && h[e].test(d)) {
|
|
3418
|
+
i.unshift(e);
|
|
3419
|
+
break
|
|
3420
|
+
}
|
|
3421
|
+
if (i[0]in c)
|
|
3422
|
+
f = i[0];
|
|
3423
|
+
else {
|
|
3424
|
+
for (e in c) {
|
|
3425
|
+
if (!i[0] || a.converters[e + " " + i[0]]) {
|
|
3426
|
+
f = e;
|
|
3427
|
+
break
|
|
3428
|
+
}
|
|
3429
|
+
g || (g = e)
|
|
3430
|
+
}
|
|
3431
|
+
f = f || g
|
|
3432
|
+
}
|
|
3433
|
+
return f ? (f !== i[0] && i.unshift(f),
|
|
3434
|
+
c[f]) : void 0
|
|
3435
|
+
}
|
|
3436
|
+
function zb(a, b, c, d) {
|
|
3437
|
+
var e, f, g, h, i, j = {}, k = a.dataTypes.slice();
|
|
3438
|
+
if (k[1])
|
|
3439
|
+
for (g in a.converters)
|
|
3440
|
+
j[g.toLowerCase()] = a.converters[g];
|
|
3441
|
+
f = k.shift();
|
|
3442
|
+
while (f)
|
|
3443
|
+
if (a.responseFields[f] && (c[a.responseFields[f]] = b),
|
|
3444
|
+
!i && d && a.dataFilter && (b = a.dataFilter(b, a.dataType)),
|
|
3445
|
+
i = f,
|
|
3446
|
+
f = k.shift())
|
|
3447
|
+
if ("*" === f)
|
|
3448
|
+
f = i;
|
|
3449
|
+
else if ("*" !== i && i !== f) {
|
|
3450
|
+
if (g = j[i + " " + f] || j["* " + f],
|
|
3451
|
+
!g)
|
|
3452
|
+
for (e in j)
|
|
3453
|
+
if (h = e.split(" "),
|
|
3454
|
+
h[1] === f && (g = j[i + " " + h[0]] || j["* " + h[0]])) {
|
|
3455
|
+
g === !0 ? g = j[e] : j[e] !== !0 && (f = h[0],
|
|
3456
|
+
k.unshift(h[1]));
|
|
3457
|
+
break
|
|
3458
|
+
}
|
|
3459
|
+
if (g !== !0)
|
|
3460
|
+
if (g && a["throws"])
|
|
3461
|
+
b = g(b);
|
|
3462
|
+
else
|
|
3463
|
+
try {
|
|
3464
|
+
b = g(b)
|
|
3465
|
+
} catch (l) {
|
|
3466
|
+
return {
|
|
3467
|
+
state: "parsererror",
|
|
3468
|
+
error: g ? l : "No conversion from " + i + " to " + f
|
|
3469
|
+
}
|
|
3470
|
+
}
|
|
3471
|
+
}
|
|
3472
|
+
return {
|
|
3473
|
+
state: "success",
|
|
3474
|
+
data: b
|
|
3475
|
+
}
|
|
3476
|
+
}
|
|
3477
|
+
n.extend({
|
|
3478
|
+
active: 0,
|
|
3479
|
+
lastModified: {},
|
|
3480
|
+
etag: {},
|
|
3481
|
+
ajaxSettings: {
|
|
3482
|
+
url: ib.href,
|
|
3483
|
+
type: "GET",
|
|
3484
|
+
isLocal: ob.test(ib.protocol),
|
|
3485
|
+
global: !0,
|
|
3486
|
+
processData: !0,
|
|
3487
|
+
async: !0,
|
|
3488
|
+
contentType: "application/x-www-form-urlencoded; charset=UTF-8",
|
|
3489
|
+
accepts: {
|
|
3490
|
+
"*": tb,
|
|
3491
|
+
text: "text/plain",
|
|
3492
|
+
html: "text/html",
|
|
3493
|
+
xml: "application/xml, text/xml",
|
|
3494
|
+
json: "application/json, text/javascript"
|
|
3495
|
+
},
|
|
3496
|
+
contents: {
|
|
3497
|
+
xml: /\bxml\b/,
|
|
3498
|
+
html: /\bhtml/,
|
|
3499
|
+
json: /\bjson\b/
|
|
3500
|
+
},
|
|
3501
|
+
responseFields: {
|
|
3502
|
+
xml: "responseXML",
|
|
3503
|
+
text: "responseText",
|
|
3504
|
+
json: "responseJSON"
|
|
3505
|
+
},
|
|
3506
|
+
converters: {
|
|
3507
|
+
"* text": String,
|
|
3508
|
+
"text html": !0,
|
|
3509
|
+
"text json": n.parseJSON,
|
|
3510
|
+
"text xml": n.parseXML
|
|
3511
|
+
},
|
|
3512
|
+
flatOptions: {
|
|
3513
|
+
url: !0,
|
|
3514
|
+
context: !0
|
|
3515
|
+
}
|
|
3516
|
+
},
|
|
3517
|
+
ajaxSetup: function(a, b) {
|
|
3518
|
+
return b ? xb(xb(a, n.ajaxSettings), b) : xb(n.ajaxSettings, a)
|
|
3519
|
+
},
|
|
3520
|
+
ajaxPrefilter: vb(rb),
|
|
3521
|
+
ajaxTransport: vb(sb),
|
|
3522
|
+
ajax: function(b, c) {
|
|
3523
|
+
"object" == typeof b && (c = b,
|
|
3524
|
+
b = void 0),
|
|
3525
|
+
c = c || {};
|
|
3526
|
+
var e, f, g, h, i, j, k, l, m = n.ajaxSetup({}, c), o = m.context || m, p = m.context && (o.nodeType || o.jquery) ? n(o) : n.event, q = n.Deferred(), r = n.Callbacks("once memory"), s = m.statusCode || {}, t = {}, u = {}, v = 0, w = "canceled", x = {
|
|
3527
|
+
readyState: 0,
|
|
3528
|
+
getResponseHeader: function(a) {
|
|
3529
|
+
var b;
|
|
3530
|
+
if (2 === v) {
|
|
3531
|
+
if (!h) {
|
|
3532
|
+
h = {};
|
|
3533
|
+
while (b = nb.exec(g))
|
|
3534
|
+
h[b[1].toLowerCase()] = b[2]
|
|
3535
|
+
}
|
|
3536
|
+
b = h[a.toLowerCase()]
|
|
3537
|
+
}
|
|
3538
|
+
return null == b ? null : b
|
|
3539
|
+
},
|
|
3540
|
+
getAllResponseHeaders: function() {
|
|
3541
|
+
return 2 === v ? g : null
|
|
3542
|
+
},
|
|
3543
|
+
setRequestHeader: function(a, b) {
|
|
3544
|
+
var c = a.toLowerCase();
|
|
3545
|
+
return v || (a = u[c] = u[c] || a,
|
|
3546
|
+
t[a] = b),
|
|
3547
|
+
this
|
|
3548
|
+
},
|
|
3549
|
+
overrideMimeType: function(a) {
|
|
3550
|
+
return v || (m.mimeType = a),
|
|
3551
|
+
this
|
|
3552
|
+
},
|
|
3553
|
+
statusCode: function(a) {
|
|
3554
|
+
var b;
|
|
3555
|
+
if (a)
|
|
3556
|
+
if (2 > v)
|
|
3557
|
+
for (b in a)
|
|
3558
|
+
s[b] = [s[b], a[b]];
|
|
3559
|
+
else
|
|
3560
|
+
x.always(a[x.status]);
|
|
3561
|
+
return this
|
|
3562
|
+
},
|
|
3563
|
+
abort: function(a) {
|
|
3564
|
+
var b = a || w;
|
|
3565
|
+
return e && e.abort(b),
|
|
3566
|
+
z(0, b),
|
|
3567
|
+
this
|
|
3568
|
+
}
|
|
3569
|
+
};
|
|
3570
|
+
if (q.promise(x).complete = r.add,
|
|
3571
|
+
x.success = x.done,
|
|
3572
|
+
x.error = x.fail,
|
|
3573
|
+
m.url = ((b || m.url || ib.href) + "").replace(lb, "").replace(qb, ib.protocol + "//"),
|
|
3574
|
+
m.type = c.method || c.type || m.method || m.type,
|
|
3575
|
+
m.dataTypes = n.trim(m.dataType || "*").toLowerCase().match(G) || [""],
|
|
3576
|
+
null == m.crossDomain) {
|
|
3577
|
+
j = d.createElement("a");
|
|
3578
|
+
try {
|
|
3579
|
+
j.href = m.url,
|
|
3580
|
+
j.href = j.href,
|
|
3581
|
+
m.crossDomain = ub.protocol + "//" + ub.host != j.protocol + "//" + j.host
|
|
3582
|
+
} catch (y) {
|
|
3583
|
+
m.crossDomain = !0
|
|
3584
|
+
}
|
|
3585
|
+
}
|
|
3586
|
+
if (m.data && m.processData && "string" != typeof m.data && (m.data = n.param(m.data, m.traditional)),
|
|
3587
|
+
wb(rb, m, c, x),
|
|
3588
|
+
2 === v)
|
|
3589
|
+
return x;
|
|
3590
|
+
k = n.event && m.global,
|
|
3591
|
+
k && 0 === n.active++ && n.event.trigger("ajaxStart"),
|
|
3592
|
+
m.type = m.type.toUpperCase(),
|
|
3593
|
+
m.hasContent = !pb.test(m.type),
|
|
3594
|
+
f = m.url,
|
|
3595
|
+
m.hasContent || (m.data && (f = m.url += (kb.test(f) ? "&" : "?") + m.data,
|
|
3596
|
+
delete m.data),
|
|
3597
|
+
m.cache === !1 && (m.url = mb.test(f) ? f.replace(mb, "$1_=" + jb++) : f + (kb.test(f) ? "&" : "?") + "_=" + jb++)),
|
|
3598
|
+
m.ifModified && (n.lastModified[f] && x.setRequestHeader("If-Modified-Since", n.lastModified[f]),
|
|
3599
|
+
n.etag[f] && x.setRequestHeader("If-None-Match", n.etag[f])),
|
|
3600
|
+
(m.data && m.hasContent && m.contentType !== !1 || c.contentType) && x.setRequestHeader("Content-Type", m.contentType),
|
|
3601
|
+
x.setRequestHeader("Accept", m.dataTypes[0] && m.accepts[m.dataTypes[0]] ? m.accepts[m.dataTypes[0]] + ("*" !== m.dataTypes[0] ? ", " + tb + "; q=0.01" : "") : m.accepts["*"]);
|
|
3602
|
+
for (l in m.headers)
|
|
3603
|
+
x.setRequestHeader(l, m.headers[l]);
|
|
3604
|
+
if (m.beforeSend && (m.beforeSend.call(o, x, m) === !1 || 2 === v))
|
|
3605
|
+
return x.abort();
|
|
3606
|
+
w = "abort";
|
|
3607
|
+
for (l in {
|
|
3608
|
+
success: 1,
|
|
3609
|
+
error: 1,
|
|
3610
|
+
complete: 1
|
|
3611
|
+
})
|
|
3612
|
+
x[l](m[l]);
|
|
3613
|
+
if (e = wb(sb, m, c, x)) {
|
|
3614
|
+
if (x.readyState = 1,
|
|
3615
|
+
k && p.trigger("ajaxSend", [x, m]),
|
|
3616
|
+
2 === v)
|
|
3617
|
+
return x;
|
|
3618
|
+
m.async && m.timeout > 0 && (i = a.setTimeout(function() {
|
|
3619
|
+
x.abort("timeout")
|
|
3620
|
+
}, m.timeout));
|
|
3621
|
+
try {
|
|
3622
|
+
v = 1,
|
|
3623
|
+
e.send(t, z)
|
|
3624
|
+
} catch (y) {
|
|
3625
|
+
if (!(2 > v))
|
|
3626
|
+
throw y;
|
|
3627
|
+
z(-1, y)
|
|
3628
|
+
}
|
|
3629
|
+
} else
|
|
3630
|
+
z(-1, "No Transport");
|
|
3631
|
+
function z(b, c, d, h) {
|
|
3632
|
+
var j, l, t, u, w, y = c;
|
|
3633
|
+
2 !== v && (v = 2,
|
|
3634
|
+
i && a.clearTimeout(i),
|
|
3635
|
+
e = void 0,
|
|
3636
|
+
g = h || "",
|
|
3637
|
+
x.readyState = b > 0 ? 4 : 0,
|
|
3638
|
+
j = b >= 200 && 300 > b || 304 === b,
|
|
3639
|
+
d && (u = yb(m, x, d)),
|
|
3640
|
+
u = zb(m, u, x, j),
|
|
3641
|
+
j ? (m.ifModified && (w = x.getResponseHeader("Last-Modified"),
|
|
3642
|
+
w && (n.lastModified[f] = w),
|
|
3643
|
+
w = x.getResponseHeader("etag"),
|
|
3644
|
+
w && (n.etag[f] = w)),
|
|
3645
|
+
204 === b || "HEAD" === m.type ? y = "nocontent" : 304 === b ? y = "notmodified" : (y = u.state,
|
|
3646
|
+
l = u.data,
|
|
3647
|
+
t = u.error,
|
|
3648
|
+
j = !t)) : (t = y,
|
|
3649
|
+
(b || !y) && (y = "error",
|
|
3650
|
+
0 > b && (b = 0))),
|
|
3651
|
+
x.status = b,
|
|
3652
|
+
x.statusText = (c || y) + "",
|
|
3653
|
+
j ? q.resolveWith(o, [l, y, x]) : q.rejectWith(o, [x, y, t]),
|
|
3654
|
+
x.statusCode(s),
|
|
3655
|
+
s = void 0,
|
|
3656
|
+
k && p.trigger(j ? "ajaxSuccess" : "ajaxError", [x, m, j ? l : t]),
|
|
3657
|
+
r.fireWith(o, [x, y]),
|
|
3658
|
+
k && (p.trigger("ajaxComplete", [x, m]),
|
|
3659
|
+
--n.active || n.event.trigger("ajaxStop")))
|
|
3660
|
+
}
|
|
3661
|
+
return x
|
|
3662
|
+
},
|
|
3663
|
+
getJSON: function(a, b, c) {
|
|
3664
|
+
return n.get(a, b, c, "json")
|
|
3665
|
+
},
|
|
3666
|
+
getScript: function(a, b) {
|
|
3667
|
+
return n.get(a, void 0, b, "script")
|
|
3668
|
+
}
|
|
3669
|
+
}),
|
|
3670
|
+
n.each(["get", "post"], function(a, b) {
|
|
3671
|
+
n[b] = function(a, c, d, e) {
|
|
3672
|
+
return n.isFunction(c) && (e = e || d,
|
|
3673
|
+
d = c,
|
|
3674
|
+
c = void 0),
|
|
3675
|
+
n.ajax(n.extend({
|
|
3676
|
+
url: a,
|
|
3677
|
+
type: b,
|
|
3678
|
+
dataType: e,
|
|
3679
|
+
data: c,
|
|
3680
|
+
success: d
|
|
3681
|
+
}, n.isPlainObject(a) && a))
|
|
3682
|
+
}
|
|
3683
|
+
}),
|
|
3684
|
+
n._evalUrl = function(a) {
|
|
3685
|
+
return n.ajax({
|
|
3686
|
+
url: a,
|
|
3687
|
+
type: "GET",
|
|
3688
|
+
dataType: "script",
|
|
3689
|
+
async: !1,
|
|
3690
|
+
global: !1,
|
|
3691
|
+
"throws": !0
|
|
3692
|
+
})
|
|
3693
|
+
}
|
|
3694
|
+
,
|
|
3695
|
+
n.fn.extend({
|
|
3696
|
+
wrapAll: function(a) {
|
|
3697
|
+
var b;
|
|
3698
|
+
return n.isFunction(a) ? this.each(function(b) {
|
|
3699
|
+
n(this).wrapAll(a.call(this, b))
|
|
3700
|
+
}) : (this[0] && (b = n(a, this[0].ownerDocument).eq(0).clone(!0),
|
|
3701
|
+
this[0].parentNode && b.insertBefore(this[0]),
|
|
3702
|
+
b.map(function() {
|
|
3703
|
+
var a = this;
|
|
3704
|
+
while (a.firstElementChild)
|
|
3705
|
+
a = a.firstElementChild;
|
|
3706
|
+
return a
|
|
3707
|
+
}).append(this)),
|
|
3708
|
+
this)
|
|
3709
|
+
},
|
|
3710
|
+
wrapInner: function(a) {
|
|
3711
|
+
return n.isFunction(a) ? this.each(function(b) {
|
|
3712
|
+
n(this).wrapInner(a.call(this, b))
|
|
3713
|
+
}) : this.each(function() {
|
|
3714
|
+
var b = n(this)
|
|
3715
|
+
, c = b.contents();
|
|
3716
|
+
c.length ? c.wrapAll(a) : b.append(a)
|
|
3717
|
+
})
|
|
3718
|
+
},
|
|
3719
|
+
wrap: function(a) {
|
|
3720
|
+
var b = n.isFunction(a);
|
|
3721
|
+
return this.each(function(c) {
|
|
3722
|
+
n(this).wrapAll(b ? a.call(this, c) : a)
|
|
3723
|
+
})
|
|
3724
|
+
},
|
|
3725
|
+
unwrap: function() {
|
|
3726
|
+
return this.parent().each(function() {
|
|
3727
|
+
n.nodeName(this, "body") || n(this).replaceWith(this.childNodes)
|
|
3728
|
+
}).end()
|
|
3729
|
+
}
|
|
3730
|
+
}),
|
|
3731
|
+
n.expr.filters.hidden = function(a) {
|
|
3732
|
+
return !n.expr.filters.visible(a)
|
|
3733
|
+
}
|
|
3734
|
+
,
|
|
3735
|
+
n.expr.filters.visible = function(a) {
|
|
3736
|
+
return a.offsetWidth > 0 || a.offsetHeight > 0 || a.getClientRects().length > 0
|
|
3737
|
+
}
|
|
3738
|
+
;
|
|
3739
|
+
var Ab = /%20/g
|
|
3740
|
+
, Bb = /\[\]$/
|
|
3741
|
+
, Cb = /\r?\n/g
|
|
3742
|
+
, Db = /^(?:submit|button|image|reset|file)$/i
|
|
3743
|
+
, Eb = /^(?:input|select|textarea|keygen)/i;
|
|
3744
|
+
function Fb(a, b, c, d) {
|
|
3745
|
+
var e;
|
|
3746
|
+
if (n.isArray(b))
|
|
3747
|
+
n.each(b, function(b, e) {
|
|
3748
|
+
c || Bb.test(a) ? d(a, e) : Fb(a + "[" + ("object" == typeof e && null != e ? b : "") + "]", e, c, d)
|
|
3749
|
+
});
|
|
3750
|
+
else if (c || "object" !== n.type(b))
|
|
3751
|
+
d(a, b);
|
|
3752
|
+
else
|
|
3753
|
+
for (e in b)
|
|
3754
|
+
Fb(a + "[" + e + "]", b[e], c, d)
|
|
3755
|
+
}
|
|
3756
|
+
n.param = function(a, b) {
|
|
3757
|
+
var c, d = [], e = function(a, b) {
|
|
3758
|
+
b = n.isFunction(b) ? b() : null == b ? "" : b,
|
|
3759
|
+
d[d.length] = encodeURIComponent(a) + "=" + encodeURIComponent(b)
|
|
3760
|
+
};
|
|
3761
|
+
if (void 0 === b && (b = n.ajaxSettings && n.ajaxSettings.traditional),
|
|
3762
|
+
n.isArray(a) || a.jquery && !n.isPlainObject(a))
|
|
3763
|
+
n.each(a, function() {
|
|
3764
|
+
e(this.name, this.value)
|
|
3765
|
+
});
|
|
3766
|
+
else
|
|
3767
|
+
for (c in a)
|
|
3768
|
+
Fb(c, a[c], b, e);
|
|
3769
|
+
return d.join("&").replace(Ab, "+")
|
|
3770
|
+
}
|
|
3771
|
+
,
|
|
3772
|
+
n.fn.extend({
|
|
3773
|
+
serialize: function() {
|
|
3774
|
+
return n.param(this.serializeArray())
|
|
3775
|
+
},
|
|
3776
|
+
serializeArray: function() {
|
|
3777
|
+
return this.map(function() {
|
|
3778
|
+
var a = n.prop(this, "elements");
|
|
3779
|
+
return a ? n.makeArray(a) : this
|
|
3780
|
+
}).filter(function() {
|
|
3781
|
+
var a = this.type;
|
|
3782
|
+
return this.name && !n(this).is(":disabled") && Eb.test(this.nodeName) && !Db.test(a) && (this.checked || !X.test(a))
|
|
3783
|
+
}).map(function(a, b) {
|
|
3784
|
+
var c = n(this).val();
|
|
3785
|
+
return null == c ? null : n.isArray(c) ? n.map(c, function(a) {
|
|
3786
|
+
return {
|
|
3787
|
+
name: b.name,
|
|
3788
|
+
value: a.replace(Cb, "\r\n")
|
|
3789
|
+
}
|
|
3790
|
+
}) : {
|
|
3791
|
+
name: b.name,
|
|
3792
|
+
value: c.replace(Cb, "\r\n")
|
|
3793
|
+
}
|
|
3794
|
+
}).get()
|
|
3795
|
+
}
|
|
3796
|
+
}),
|
|
3797
|
+
n.ajaxSettings.xhr = function() {
|
|
3798
|
+
try {
|
|
3799
|
+
return new a.XMLHttpRequest
|
|
3800
|
+
} catch (b) {}
|
|
3801
|
+
}
|
|
3802
|
+
;
|
|
3803
|
+
var Gb = {
|
|
3804
|
+
0: 200,
|
|
3805
|
+
1223: 204
|
|
3806
|
+
}
|
|
3807
|
+
, Hb = n.ajaxSettings.xhr();
|
|
3808
|
+
l.cors = !!Hb && "withCredentials"in Hb,
|
|
3809
|
+
l.ajax = Hb = !!Hb,
|
|
3810
|
+
n.ajaxTransport(function(b) {
|
|
3811
|
+
var c, d;
|
|
3812
|
+
return l.cors || Hb && !b.crossDomain ? {
|
|
3813
|
+
send: function(e, f) {
|
|
3814
|
+
var g, h = b.xhr();
|
|
3815
|
+
if (h.open(b.type, b.url, b.async, b.username, b.password),
|
|
3816
|
+
b.xhrFields)
|
|
3817
|
+
for (g in b.xhrFields)
|
|
3818
|
+
h[g] = b.xhrFields[g];
|
|
3819
|
+
b.mimeType && h.overrideMimeType && h.overrideMimeType(b.mimeType),
|
|
3820
|
+
b.crossDomain || e["X-Requested-With"] || (e["X-Requested-With"] = "XMLHttpRequest");
|
|
3821
|
+
for (g in e)
|
|
3822
|
+
h.setRequestHeader(g, e[g]);
|
|
3823
|
+
c = function(a) {
|
|
3824
|
+
return function() {
|
|
3825
|
+
c && (c = d = h.onload = h.onerror = h.onabort = h.onreadystatechange = null,
|
|
3826
|
+
"abort" === a ? h.abort() : "error" === a ? "number" != typeof h.status ? f(0, "error") : f(h.status, h.statusText) : f(Gb[h.status] || h.status, h.statusText, "text" !== (h.responseType || "text") || "string" != typeof h.responseText ? {
|
|
3827
|
+
binary: h.response
|
|
3828
|
+
} : {
|
|
3829
|
+
text: h.responseText
|
|
3830
|
+
}, h.getAllResponseHeaders()))
|
|
3831
|
+
}
|
|
3832
|
+
}
|
|
3833
|
+
,
|
|
3834
|
+
h.onload = c(),
|
|
3835
|
+
d = h.onerror = c("error"),
|
|
3836
|
+
void 0 !== h.onabort ? h.onabort = d : h.onreadystatechange = function() {
|
|
3837
|
+
4 === h.readyState && a.setTimeout(function() {
|
|
3838
|
+
c && d()
|
|
3839
|
+
})
|
|
3840
|
+
}
|
|
3841
|
+
,
|
|
3842
|
+
c = c("abort");
|
|
3843
|
+
try {
|
|
3844
|
+
h.send(b.hasContent && b.data || null)
|
|
3845
|
+
} catch (i) {
|
|
3846
|
+
if (c)
|
|
3847
|
+
throw i
|
|
3848
|
+
}
|
|
3849
|
+
},
|
|
3850
|
+
abort: function() {
|
|
3851
|
+
c && c()
|
|
3852
|
+
}
|
|
3853
|
+
} : void 0
|
|
3854
|
+
}),
|
|
3855
|
+
n.ajaxSetup({
|
|
3856
|
+
accepts: {
|
|
3857
|
+
script: "text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"
|
|
3858
|
+
},
|
|
3859
|
+
contents: {
|
|
3860
|
+
script: /\b(?:java|ecma)script\b/
|
|
3861
|
+
},
|
|
3862
|
+
converters: {
|
|
3863
|
+
"text script": function(a) {
|
|
3864
|
+
return n.globalEval(a),
|
|
3865
|
+
a
|
|
3866
|
+
}
|
|
3867
|
+
}
|
|
3868
|
+
}),
|
|
3869
|
+
n.ajaxPrefilter("script", function(a) {
|
|
3870
|
+
void 0 === a.cache && (a.cache = !1),
|
|
3871
|
+
a.crossDomain && (a.type = "GET")
|
|
3872
|
+
}),
|
|
3873
|
+
n.ajaxTransport("script", function(a) {
|
|
3874
|
+
if (a.crossDomain) {
|
|
3875
|
+
var b, c;
|
|
3876
|
+
return {
|
|
3877
|
+
send: function(e, f) {
|
|
3878
|
+
b = n("<script>").prop({
|
|
3879
|
+
charset: a.scriptCharset,
|
|
3880
|
+
src: a.url
|
|
3881
|
+
}).on("load error", c = function(a) {
|
|
3882
|
+
b.remove(),
|
|
3883
|
+
c = null,
|
|
3884
|
+
a && f("error" === a.type ? 404 : 200, a.type)
|
|
3885
|
+
}
|
|
3886
|
+
),
|
|
3887
|
+
d.head.appendChild(b[0])
|
|
3888
|
+
},
|
|
3889
|
+
abort: function() {
|
|
3890
|
+
c && c()
|
|
3891
|
+
}
|
|
3892
|
+
}
|
|
3893
|
+
}
|
|
3894
|
+
});
|
|
3895
|
+
var Ib = []
|
|
3896
|
+
, Jb = /(=)\?(?=&|$)|\?\?/;
|
|
3897
|
+
n.ajaxSetup({
|
|
3898
|
+
jsonp: "callback",
|
|
3899
|
+
jsonpCallback: function() {
|
|
3900
|
+
var a = Ib.pop() || n.expando + "_" + jb++;
|
|
3901
|
+
return this[a] = !0,
|
|
3902
|
+
a
|
|
3903
|
+
}
|
|
3904
|
+
}),
|
|
3905
|
+
n.ajaxPrefilter("json jsonp", function(b, c, d) {
|
|
3906
|
+
var e, f, g, h = b.jsonp !== !1 && (Jb.test(b.url) ? "url" : "string" == typeof b.data && 0 === (b.contentType || "").indexOf("application/x-www-form-urlencoded") && Jb.test(b.data) && "data");
|
|
3907
|
+
return h || "jsonp" === b.dataTypes[0] ? (e = b.jsonpCallback = n.isFunction(b.jsonpCallback) ? b.jsonpCallback() : b.jsonpCallback,
|
|
3908
|
+
h ? b[h] = b[h].replace(Jb, "$1" + e) : b.jsonp !== !1 && (b.url += (kb.test(b.url) ? "&" : "?") + b.jsonp + "=" + e),
|
|
3909
|
+
b.converters["script json"] = function() {
|
|
3910
|
+
return g || n.error(e + " was not called"),
|
|
3911
|
+
g[0]
|
|
3912
|
+
}
|
|
3913
|
+
,
|
|
3914
|
+
b.dataTypes[0] = "json",
|
|
3915
|
+
f = a[e],
|
|
3916
|
+
a[e] = function() {
|
|
3917
|
+
g = arguments
|
|
3918
|
+
}
|
|
3919
|
+
,
|
|
3920
|
+
d.always(function() {
|
|
3921
|
+
void 0 === f ? n(a).removeProp(e) : a[e] = f,
|
|
3922
|
+
b[e] && (b.jsonpCallback = c.jsonpCallback,
|
|
3923
|
+
Ib.push(e)),
|
|
3924
|
+
g && n.isFunction(f) && f(g[0]),
|
|
3925
|
+
g = f = void 0
|
|
3926
|
+
}),
|
|
3927
|
+
"script") : void 0
|
|
3928
|
+
}),
|
|
3929
|
+
l.createHTMLDocument = function() {
|
|
3930
|
+
var a = d.implementation.createHTMLDocument("").body;
|
|
3931
|
+
return a.innerHTML = "<form></form><form></form>",
|
|
3932
|
+
2 === a.childNodes.length
|
|
3933
|
+
}(),
|
|
3934
|
+
n.parseHTML = function(a, b, c) {
|
|
3935
|
+
if (!a || "string" != typeof a)
|
|
3936
|
+
return null;
|
|
3937
|
+
"boolean" == typeof b && (c = b,
|
|
3938
|
+
b = !1),
|
|
3939
|
+
b = b || (l.createHTMLDocument ? d.implementation.createHTMLDocument("") : d);
|
|
3940
|
+
var e = x.exec(a)
|
|
3941
|
+
, f = !c && [];
|
|
3942
|
+
return e ? [b.createElement(e[1])] : (e = ca([a], b, f),
|
|
3943
|
+
f && f.length && n(f).remove(),
|
|
3944
|
+
n.merge([], e.childNodes))
|
|
3945
|
+
}
|
|
3946
|
+
;
|
|
3947
|
+
var Kb = n.fn.load;
|
|
3948
|
+
n.fn.load = function(a, b, c) {
|
|
3949
|
+
if ("string" != typeof a && Kb)
|
|
3950
|
+
return Kb.apply(this, arguments);
|
|
3951
|
+
var d, e, f, g = this, h = a.indexOf(" ");
|
|
3952
|
+
return h > -1 && (d = n.trim(a.slice(h)),
|
|
3953
|
+
a = a.slice(0, h)),
|
|
3954
|
+
n.isFunction(b) ? (c = b,
|
|
3955
|
+
b = void 0) : b && "object" == typeof b && (e = "POST"),
|
|
3956
|
+
g.length > 0 && n.ajax({
|
|
3957
|
+
url: a,
|
|
3958
|
+
type: e || "GET",
|
|
3959
|
+
dataType: "html",
|
|
3960
|
+
data: b
|
|
3961
|
+
}).done(function(a) {
|
|
3962
|
+
f = arguments,
|
|
3963
|
+
g.html(d ? n("<div>").append(n.parseHTML(a)).find(d) : a)
|
|
3964
|
+
}).always(c && function(a, b) {
|
|
3965
|
+
g.each(function() {
|
|
3966
|
+
c.apply(g, f || [a.responseText, b, a])
|
|
3967
|
+
})
|
|
3968
|
+
}
|
|
3969
|
+
),
|
|
3970
|
+
this
|
|
3971
|
+
}
|
|
3972
|
+
,
|
|
3973
|
+
n.each(["ajaxStart", "ajaxStop", "ajaxComplete", "ajaxError", "ajaxSuccess", "ajaxSend"], function(a, b) {
|
|
3974
|
+
n.fn[b] = function(a) {
|
|
3975
|
+
return this.on(b, a)
|
|
3976
|
+
}
|
|
3977
|
+
}),
|
|
3978
|
+
n.expr.filters.animated = function(a) {
|
|
3979
|
+
return n.grep(n.timers, function(b) {
|
|
3980
|
+
return a === b.elem
|
|
3981
|
+
}).length
|
|
3982
|
+
}
|
|
3983
|
+
;
|
|
3984
|
+
function Lb(a) {
|
|
3985
|
+
return n.isWindow(a) ? a : 9 === a.nodeType && a.defaultView
|
|
3986
|
+
}
|
|
3987
|
+
n.offset = {
|
|
3988
|
+
setOffset: function(a, b, c) {
|
|
3989
|
+
var d, e, f, g, h, i, j, k = n.css(a, "position"), l = n(a), m = {};
|
|
3990
|
+
"static" === k && (a.style.position = "relative"),
|
|
3991
|
+
h = l.offset(),
|
|
3992
|
+
f = n.css(a, "top"),
|
|
3993
|
+
i = n.css(a, "left"),
|
|
3994
|
+
j = ("absolute" === k || "fixed" === k) && (f + i).indexOf("auto") > -1,
|
|
3995
|
+
j ? (d = l.position(),
|
|
3996
|
+
g = d.top,
|
|
3997
|
+
e = d.left) : (g = parseFloat(f) || 0,
|
|
3998
|
+
e = parseFloat(i) || 0),
|
|
3999
|
+
n.isFunction(b) && (b = b.call(a, c, n.extend({}, h))),
|
|
4000
|
+
null != b.top && (m.top = b.top - h.top + g),
|
|
4001
|
+
null != b.left && (m.left = b.left - h.left + e),
|
|
4002
|
+
"using"in b ? b.using.call(a, m) : l.css(m)
|
|
4003
|
+
}
|
|
4004
|
+
},
|
|
4005
|
+
n.fn.extend({
|
|
4006
|
+
offset: function(a) {
|
|
4007
|
+
if (arguments.length)
|
|
4008
|
+
return void 0 === a ? this : this.each(function(b) {
|
|
4009
|
+
n.offset.setOffset(this, a, b)
|
|
4010
|
+
});
|
|
4011
|
+
var b, c, d = this[0], e = {
|
|
4012
|
+
top: 0,
|
|
4013
|
+
left: 0
|
|
4014
|
+
}, f = d && d.ownerDocument;
|
|
4015
|
+
if (f)
|
|
4016
|
+
return b = f.documentElement,
|
|
4017
|
+
n.contains(b, d) ? (e = d.getBoundingClientRect(),
|
|
4018
|
+
c = Lb(f),
|
|
4019
|
+
{
|
|
4020
|
+
top: e.top + c.pageYOffset - b.clientTop,
|
|
4021
|
+
left: e.left + c.pageXOffset - b.clientLeft
|
|
4022
|
+
}) : e
|
|
4023
|
+
},
|
|
4024
|
+
position: function() {
|
|
4025
|
+
if (this[0]) {
|
|
4026
|
+
var a, b, c = this[0], d = {
|
|
4027
|
+
top: 0,
|
|
4028
|
+
left: 0
|
|
4029
|
+
};
|
|
4030
|
+
return "fixed" === n.css(c, "position") ? b = c.getBoundingClientRect() : (a = this.offsetParent(),
|
|
4031
|
+
b = this.offset(),
|
|
4032
|
+
n.nodeName(a[0], "html") || (d = a.offset()),
|
|
4033
|
+
d.top += n.css(a[0], "borderTopWidth", !0) - a.scrollTop(),
|
|
4034
|
+
d.left += n.css(a[0], "borderLeftWidth", !0) - a.scrollLeft()),
|
|
4035
|
+
{
|
|
4036
|
+
top: b.top - d.top - n.css(c, "marginTop", !0),
|
|
4037
|
+
left: b.left - d.left - n.css(c, "marginLeft", !0)
|
|
4038
|
+
}
|
|
4039
|
+
}
|
|
4040
|
+
},
|
|
4041
|
+
offsetParent: function() {
|
|
4042
|
+
return this.map(function() {
|
|
4043
|
+
var a = this.offsetParent;
|
|
4044
|
+
while (a && "static" === n.css(a, "position"))
|
|
4045
|
+
a = a.offsetParent;
|
|
4046
|
+
return a || Ea
|
|
4047
|
+
})
|
|
4048
|
+
}
|
|
4049
|
+
}),
|
|
4050
|
+
n.each({
|
|
4051
|
+
scrollLeft: "pageXOffset",
|
|
4052
|
+
scrollTop: "pageYOffset"
|
|
4053
|
+
}, function(a, b) {
|
|
4054
|
+
var c = "pageYOffset" === b;
|
|
4055
|
+
n.fn[a] = function(d) {
|
|
4056
|
+
return K(this, function(a, d, e) {
|
|
4057
|
+
var f = Lb(a);
|
|
4058
|
+
return void 0 === e ? f ? f[b] : a[d] : void (f ? f.scrollTo(c ? f.pageXOffset : e, c ? e : f.pageYOffset) : a[d] = e)
|
|
4059
|
+
}, a, d, arguments.length)
|
|
4060
|
+
}
|
|
4061
|
+
}),
|
|
4062
|
+
n.each(["top", "left"], function(a, b) {
|
|
4063
|
+
n.cssHooks[b] = Ga(l.pixelPosition, function(a, c) {
|
|
4064
|
+
return c ? (c = Fa(a, b),
|
|
4065
|
+
Ba.test(c) ? n(a).position()[b] + "px" : c) : void 0
|
|
4066
|
+
})
|
|
4067
|
+
}),
|
|
4068
|
+
n.each({
|
|
4069
|
+
Height: "height",
|
|
4070
|
+
Width: "width"
|
|
4071
|
+
}, function(a, b) {
|
|
4072
|
+
n.each({
|
|
4073
|
+
padding: "inner" + a,
|
|
4074
|
+
content: b,
|
|
4075
|
+
"": "outer" + a
|
|
4076
|
+
}, function(c, d) {
|
|
4077
|
+
n.fn[d] = function(d, e) {
|
|
4078
|
+
var f = arguments.length && (c || "boolean" != typeof d)
|
|
4079
|
+
, g = c || (d === !0 || e === !0 ? "margin" : "border");
|
|
4080
|
+
return K(this, function(b, c, d) {
|
|
4081
|
+
var e;
|
|
4082
|
+
return n.isWindow(b) ? b.document.documentElement["client" + a] : 9 === b.nodeType ? (e = b.documentElement,
|
|
4083
|
+
Math.max(b.body["scroll" + a], e["scroll" + a], b.body["offset" + a], e["offset" + a], e["client" + a])) : void 0 === d ? n.css(b, c, g) : n.style(b, c, d, g)
|
|
4084
|
+
}, b, f ? d : void 0, f, null)
|
|
4085
|
+
}
|
|
4086
|
+
})
|
|
4087
|
+
}),
|
|
4088
|
+
n.fn.extend({
|
|
4089
|
+
bind: function(a, b, c) {
|
|
4090
|
+
return this.on(a, null, b, c)
|
|
4091
|
+
},
|
|
4092
|
+
unbind: function(a, b) {
|
|
4093
|
+
return this.off(a, null, b)
|
|
4094
|
+
},
|
|
4095
|
+
delegate: function(a, b, c, d) {
|
|
4096
|
+
return this.on(b, a, c, d)
|
|
4097
|
+
},
|
|
4098
|
+
undelegate: function(a, b, c) {
|
|
4099
|
+
return 1 === arguments.length ? this.off(a, "**") : this.off(b, a || "**", c)
|
|
4100
|
+
},
|
|
4101
|
+
size: function() {
|
|
4102
|
+
return this.length
|
|
4103
|
+
}
|
|
4104
|
+
}),
|
|
4105
|
+
n.fn.andSelf = n.fn.addBack,
|
|
4106
|
+
"function" == typeof define && define.amd && define("jquery", [], function() {
|
|
4107
|
+
return n
|
|
4108
|
+
});
|
|
4109
|
+
var Mb = a.jQuery
|
|
4110
|
+
, Nb = a.$;
|
|
4111
|
+
return n.noConflict = function(b) {
|
|
4112
|
+
return a.$ === n && (a.$ = Nb),
|
|
4113
|
+
b && a.jQuery === n && (a.jQuery = Mb),
|
|
4114
|
+
n
|
|
4115
|
+
}
|
|
4116
|
+
,
|
|
4117
|
+
b || (a.jQuery = a.$ = n),
|
|
4118
|
+
n
|
|
4119
|
+
});
|