Jquery调取手机摄像头扫描二维码
html
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>浏览器扫二维码</title> </head> <body> <script type="text/javascript" src="jquery.1.8.2.min.js"></script> <script src="jquery.jsQR.js"></script> <br> <button style="width: 240px; height: 60px;" id="scanqr">点击扫码</button><br><br> <video id="video" width="320" height="320" autoplay muted playsinline style="display:none"></video> <canvas id="canvas" width="320" height="320" style="display:none"></canvas> <script> $(document).ready(()=>{ const video = document.getElementById('video'); const canvas = document.getElementById('canvas'); const context = canvas.getContext('2d'); const constraints = { video: { facingMode: "environment" } }; function scanQRCode() { video.style.display = ""; if (video.readyState === video.HAVE_ENOUGH_DATA) { context.drawImage(video, 0, 0, 320, 320); const imageData = context.getImageData(0, 0, 320, 320); const code = jsQR(imageData.data, imageData.width, imageData.height, { inversionAttempts: "dontInvert", }); if (code) { video.style.display = "none"; console.log("扫描成功",code.data) return alert('扫描成功',code); } } setTimeout(scanQRCode, 100); } $("#scanqr").click(()=>{ navigator.mediaDevices.getUserMedia(constraints) .then(stream => { video.srcObject = stream; video.play(); }) .catch(error => { console.error('无法访问摄像头:', error); }); scanQRCode(); }); }) </script> </body> </html>
jquery:
(function(e,t){function n(e){var t=ge[e]={};return Z.each(e.split(ne),function(e,n){t[n]=!0}),t}function r(e,n,r){if(r===t&&e.nodeType===1){var i="data-"+n.replace(ye,"-$1").toLowerCase();r=e.getAttribute(i);if(typeof r=="string"){try{r=r==="true"?!0:r==="false"?!1:r==="null"?null:+r+""===r?+r:me.test(r)?Z.parseJSON(r):r}catch(o){}Z.data(e,n,r)}else r=t}return r}function i(e){var t;for(t in e){if(t==="data"&&Z.isEmptyObject(e[t]))continue;if(t!=="toJSON")return!1}return!0}function o(){return!1}function a(){return!0}function s(e){return!e||!e.parentNode||e.parentNode.nodeType===11}function l(e,t){do e=e[t];while(e&&e.nodeType!==1);return e}function u(e,t,n){t=t||0;if(Z.isFunction(t))return Z.grep(e,function(e,r){var i=!!t.call(e,r,e);return i===n});if(t.nodeType)return Z.grep(e,function(e,r){return e===t===n});if(typeof t=="string"){var r=Z.grep(e,function(e){return e.nodeType===1});if(_e.test(t))return Z.filter(t,r,!n);t=Z.filter(t,r)}return Z.grep(e,function(e,r){return Z.inArray(e,t)>=0===n})}function c(e){var t=We.split("|"),n=e.createDocumentFragment();if(n.createElement)while(t.length)n.createElement(t.pop());return n}function f(e,t){return e.getElementsByTagName(t)[0]||e.appendChild(e.ownerDocument.createElement(t))}function p(e,t){if(t.nodeType!==1||!Z.hasData(e))return;var n,r,i,o=Z._data(e),a=Z._data(t,o),s=o.events;if(s){delete a.handle,a.events={};for(n in s)for(r=0,i=s[n].length;r<i;r++)Z.event.add(t,n,s[n][r])}a.data&&(a.data=Z.extend({},a.data))}function d(e,t){var n;if(t.nodeType!==1)return;t.clearAttributes&&t.clearAttributes(),t.mergeAttributes&&t.mergeAttributes(e),n=t.nodeName.toLowerCase(),n==="object"?(t.parentNode&&(t.outerHTML=e.outerHTML),Z.support.html5Clone&&e.innerHTML&&!Z.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):n==="input"&&Ve.test(e.type)?(t.defaultChecked=t.checked=e.checked,t.value!==e.value&&(t.value=e.value)):n==="option"?t.selected=e.defaultSelected:n==="input"||n==="textarea"?t.defaultValue=e.defaultValue:n==="script"&&t.text!==e.text&&(t.text=e.text),t.removeAttribute(Z.expando)}function h(e){return typeof e.getElementsByTagName!="undefined"?e.getElementsByTagName("*"):typeof e.querySelectorAll!="undefined"?e.querySelectorAll("*"):[]}function g(e){Ve.test(e.type)&&(e.defaultChecked=e.checked)}function m(e,t){if(t in e)return t;var n=t.charAt(0).toUpperCase()+t.slice(1),r=t,i=yt.length;while(i--){t=yt[i]+n;if(t in e)return t}return r}function y(e,t){return e=t||e,Z.css(e,"display")==="none"||!Z.contains(e.ownerDocument,e)}function v(e,t){var n,r,i=[],o=0,a=e.length;for(;o<a;o++){n=e[o];if(!n.style)continue;i[o]=Z._data(n,"olddisplay"),t?(!i[o]&&n.style.display==="none"&&(n.style.display=""),n.style.display===""&&y(n)&&(i[o]=Z._data(n,"olddisplay",T(n.nodeName)))):(r=nt(n,"display"),!i[o]&&r!=="none"&&Z._data(n,"olddisplay",r))}for(o=0;o<a;o++){n=e[o];if(!n.style)continue;if(!t||n.style.display==="none"||n.style.display==="")n.style.display=t?i[o]||"":"none"}return e}function b(e,t,n){var r=ct.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):t}function x(e,t,n,r){var i=n===(r?"border":"content")?4:t==="width"?1:0,o=0;for(;i<4;i+=2)n==="margin"&&(o+=Z.css(e,n+mt[i],!0)),r?(n==="content"&&(o-=parseFloat(nt(e,"padding"+mt[i]))||0),n!=="margin"&&(o-=parseFloat(nt(e,"border"+mt[i]+"Width"))||0)):(o+=parseFloat(nt(e,"padding"+mt[i]))||0,n!=="padding"&&(o+=parseFloat(nt(e,"border"+mt[i]+"Width"))||0));return o}function w(e,t,n){var r=t==="width"?e.offsetWidth:e.offsetHeight,i=!0,o=Z.support.boxSizing&&Z.css(e,"boxSizing")==="border-box";if(r<=0||r==null){r=nt(e,t);if(r<0||r==null)r=e.style[t];if(ft.test(r))return r;i=o&&(Z.support.boxSizingReliable||r===e.style[t]),r=parseFloat(r)||0}return r+x(e,t,n||(o?"border":"content"),i)+"px"}function T(e){if(dt[e])return dt[e];var t=Z("<"+e+">").appendTo(R.body),n=t.css("display");t.remove();if(n==="none"||n===""){rt=R.body.appendChild(rt||Z.extend(R.createElement("iframe"),{frameBorder:0,width:0,height:0}));if(!it||!rt.createElement)it=(rt.contentWindow||rt.contentDocument).document,it.write("<!doctype html><html><body>"),it.close();t=it.body.appendChild(it.createElement(e)),n=nt(t,"display"),R.body.removeChild(rt)}return dt[e]=n,n}function N(e,t,n,r){var i;if(Z.isArray(t))Z.each(t,function(t,i){n||xt.test(e)?r(e,i):N(e+"["+(typeof i=="object"?t:"")+"]",i,n,r)});else if(!n&&Z.type(t)==="object")for(i in t)N(e+"["+i+"]",t[i],n,r);else r(e,t)}function C(e){return function(t,n){typeof t!="string"&&(n=t,t="*");var r,i,o,a=t.toLowerCase().split(ne),s=0,l=a.length;if(Z.isFunction(n))for(;s<l;s++)r=a[s],o=/^\+/.test(r),o&&(r=r.substr(1)||"*"),i=e[r]=e[r]||[],i[o?"unshift":"push"](n)}}function k(e,n,r,i,o,a){o=o||n.dataTypes[0],a=a||{},a[o]=!0;var s,l=e[o],u=0,c=l?l.length:0,f=e===_t;for(;u<c&&(f||!s);u++)s=l[u](n,r,i),typeof s=="string"&&(!f||a[s]?s=t:(n.dataTypes.unshift(s),s=k(e,n,r,i,s,a)));return(f||!s)&&!a["*"]&&(s=k(e,n,r,i,"*",a)),s}function E(e,n){var r,i,o=Z.ajaxSettings.flatOptions||{};for(r in n)n[r]!==t&&((o[r]?e:i||(i={}))[r]=n[r]);i&&Z.extend(!0,e,i)}function S(e,n,r){var i,o,a,s,l=e.contents,u=e.dataTypes,c=e.responseFields;for(o in c)o in r&&(n[c[o]]=r[o]);while(u[0]==="*")u.shift(),i===t&&(i=e.mimeType||n.getResponseHeader("content-type"));if(i)for(o in l)if(l[o]&&l[o].test(i)){u.unshift(o);break}if(u[0]in r)a=u[0];else{for(o in r){if(!u[0]||e.converters[o+" "+u[0]]){a=o;break}s||(s=o)}a=a||s}if(a)return a!==u[0]&&u.unshift(a),r[a]}function A(e,t){var n,r,i,o,a=e.dataTypes.slice(),s=a[0],l={},u=0;e.dataFilter&&(t=e.dataFilter(t,e.dataType));if(a[1])for(n in e.converters)l[n.toLowerCase()]=e.converters[n];for(;i=a[++u];)if(i!=="*"){if(s!=="*"&&s!==i){n=l[s+" "+i]||l["* "+i];if(!n)for(r in l){o=r.split(" ");if(o[1]===i){n=l[s+" "+o[0]]||l["* "+o[0]];if(n){n===!0?n=l[r]:l[r]!==!0&&(i=o[0],a.splice(u--,0,i));break}}}if(n!==!0)if(n&&e["throws"])t=n(t);else try{t=n(t)}catch(c){return{state:"parsererror",error:n?c:"No conversion from "+s+" to "+i}}}s=i}return{state:"success",data:t}}function j(){try{return new e.XMLHttpRequest}catch(t){}}function D(){try{return new e.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}function L(){return setTimeout(function(){Yt=t},0),Yt=Z.now()}function H(e,t){Z.each(t,function(t,n){var r=(Zt[t]||[]).concat(Zt["*"]),i=0,o=r.length;for(;i<o;i++)if(r[i].call(e,t,n))return})}function F(e,t,n){var r,i=0,o=0,a=Kt.length,s=Z.Deferred().always(function(){delete l.elem}),l=function(){var t=Yt||L(),n=Math.max(0,u.startTime+u.duration-t),r=1-(n/u.duration||0),i=0,o=u.tweens.length;for(;i<o;i++)u.tweens[i].run(r);return s.notifyWith(e,[u,r,n]),r<1&&o?n:(s.resolveWith(e,[u]),!1)},u=s.promise({elem:e,props:Z.extend({},t),opts:Z.extend(!0,{specialEasing:{}},n),originalProperties:t,originalOptions:n,startTime:Yt||L(),duration:n.duration,tweens:[],createTween:function(t,n,r){var i=Z.Tween(e,u.opts,t,n,u.opts.specialEasing[t]||u.opts.easing);return u.tweens.push(i),i},stop:function(t){var n=0,r=t?u.tweens.length:0;for(;n<r;n++)u.tweens[n].run(1);return t?s.resolveWith(e,[u,t]):s.rejectWith(e,[u,t]),this}}),c=u.props;M(c,u.opts.specialEasing);for(;i<a;i++){r=Kt[i].call(u,e,c,u.opts);if(r)return r}return H(u,c),Z.isFunction(u.opts.start)&&u.opts.start.call(e,u),Z.fx.timer(Z.extend(l,{anim:u,queue:u.opts.queue,elem:e})),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always)}function M(e,t){var n,r,i,o,a;for(n in e){r=Z.camelCase(n),i=t[r],o=e[n],Z.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),a=Z.cssHooks[r];if(a&&"expand"in a){o=a.expand(o),delete e[r];for(n in o)n in e||(e[n]=o[n],t[n]=i)}else t[r]=i}}function O(e,t,n){var r,i,o,a,s,l,u,c,f=this,p=e.style,d={},h=[],g=e.nodeType&&y(e);n.queue||(u=Z._queueHooks(e,"fx"),u.unqueued==null&&(u.unqueued=0,c=u.empty.fire,u.empty.fire=function(){u.unqueued||c()}),u.unqueued++,f.always(function(){f.always(function(){u.unqueued--,Z.queue(e,"fx").length||u.empty.fire()})})),e.nodeType===1&&("height"in t||"width"in t)&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],Z.css(e,"display")==="inline"&&Z.css(e,"float")==="none"&&(!Z.support.inlineBlockNeedsLayout||T(e.nodeName)==="inline"?p.display="inline-block":p.zoom=1)),n.overflow&&(p.overflow="hidden",Z.support.shrinkWrapBlocks||f.done(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]}));for(r in t){o=t[r];if(Vt.exec(o)){delete t[r];if(o===(g?"hide":"show"))continue;h.push(r)}}a=h.length;if(a){s=Z._data(e,"fxshow")||Z._data(e,"fxshow",{}),g?Z(e).show():f.done(function(){Z(e).hide()}),f.done(function(){var t;Z.removeData(e,"fxshow",!0);for(t in d)Z.style(e,t,d[t])});for(r=0;r<a;r++)i=h[r],l=f.createTween(i,g?s[i]:0),d[i]=s[i]||Z.style(e,i),i in s||(s[i]=l.start,g&&(l.end=l.start,l.start=i==="width"||i==="height"?1:0))}}function _(e,t,n,r,i){return new _.prototype.init(e,t,n,r,i)}function q(e,t){var n,r={height:e},i=0;t=t?1:0;for(;i<4;i+=2-t)n=mt[i],r["margin"+n]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}function B(e){return Z.isWindow(e)?e:e.nodeType===9?e.defaultView||e.parentWindow:!1}var W,P,R=e.document,I=e.location,z=e.navigator,X=e.jQuery,U=e.$,Y=Array.prototype.push,J=Array.prototype.slice,V=Array.prototype.indexOf,Q=Object.prototype.toString,G=Object.prototype.hasOwnProperty,K=String.prototype.trim,Z=function(e,t){return new Z.fn.init(e,t,W)},ee=/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source,te=/\S/,ne=/\s+/,re=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,ie=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,oe=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,ae=/^[\],:{}\s]*$/,se=/(?:^|:|,)(?:\s*\[)+/g,le=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,ue=/"[^"\\\r\n]*"|true|false|null|-?(?:\d\d*\.|)\d+(?:[eE][\-+]?\d+|)/g,ce=/^-ms-/,fe=/-([\da-z])/gi,pe=function(e,t){return(t+"").toUpperCase()},de=function(){R.addEventListener?(R.removeEventListener("DOMContentLoaded",de,!1),Z.ready()):R.readyState==="complete"&&(R.detachEvent("onreadystatechange",de),Z.ready())},he={};Z.fn=Z.prototype={constructor:Z,init:function(e,n,r){var i,o,a,s;if(!e)return this;if(e.nodeType)return this.context=this[0]=e,this.length=1,this;if(typeof e=="string"){e.charAt(0)==="<"&&e.charAt(e.length-1)===">"&&e.length>=3?i=[null,e,null]:i=ie.exec(e);if(i&&(i[1]||!n)){if(i[1])return n=n instanceof Z?n[0]:n,s=n&&n.nodeType?n.ownerDocument||n:R,e=Z.parseHTML(i[1],s,!0),oe.test(i[1])&&Z.isPlainObject(n)&&this.attr.call(e,n,!0),Z.merge(this,e);o=R.getElementById(i[2]);if(o&&o.parentNode){if(o.id!==i[2])return r.find(e);this.length=1,this[0]=o}return this.context=R,this.selector=e,this}return!n||n.jquery?(n||r).find(e):this.constructor(n).find(e)}return Z.isFunction(e)?r.ready(e):(e.selector!==t&&(this.selector=e.selector,this.context=e.context),Z.makeArray(e,this))},selector:"",jquery:"1.8.2",length:0,size:function(){return this.length},toArray:function(){return J.call(this)},get:function(e){return e==null?this.toArray():e<0?this[this.length+e]:this[e]},pushStack:function(e,t,n){var r=Z.merge(this.constructor(),e);return 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 Z.each(this,e,t)},ready:function(e){return Z.ready.promise().done(e),this},eq:function(e){return e=+e,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(J.apply(this,arguments),"slice",J.call(arguments).join(","))},map:function(e){return this.pushStack(Z.map(this,function(t,n){return e.call(t,n,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:Y,sort:[].sort,splice:[].splice},Z.fn.init.prototype=Z.fn,Z.extend=Z.fn.extend=function(){var e,n,r,i,o,a,s=arguments[0]||{},l=1,u=arguments.length,c=!1;typeof s=="boolean"&&(c=s,s=arguments[1]||{},l=2),typeof s!="object"&&!Z.isFunction(s)&&(s={}),u===l&&(s=this,--l);for(;l<u;l++)if((e=arguments[l])!=null)for(n in e){r=s[n],i=e[n];if(s===i)continue;c&&i&&(Z.isPlainObject(i)||(o=Z.isArray(i)))?(o?(o=!1,a=r&&Z.isArray(r)?r:[]):a=r&&Z.isPlainObject(r)?r:{},s[n]=Z.extend(c,a,i)):i!==t&&(s[n]=i)}return s},Z.extend({noConflict:function(t){return e.$===Z&&(e.$=U),t&&e.jQuery===Z&&(e.jQuery=X),Z},isReady:!1,readyWait:1,holdReady:function(e){e?Z.readyWait++:Z.ready(!0)},ready:function(e){if(e===!0?--Z.readyWait:Z.isReady)return;if(!R.body)return setTimeout(Z.ready,1);Z.isReady=!0;if(e!==!0&&--Z.readyWait>0)return;P.resolveWith(R,[Z]),Z.fn.trigger&&Z(R).trigger("ready").off("ready")},isFunction:function(e){return Z.type(e)==="function"},isArray:Array.isArray||function(e){return Z.type(e)==="array"},isWindow:function(e){return e!=null&&e==e.window},isNumeric:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},type:function(e){return e==null?String(e):he[Q.call(e)]||"object"},isPlainObject:function(e){if(!e||Z.type(e)!=="object"||e.nodeType||Z.isWindow(e))return!1;try{if(e.constructor&&!G.call(e,"constructor")&&!G.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(n){return!1}var r;for(r in e);return r===t||G.call(e,r)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},error:function(e){throw new Error(e)},parseHTML:function(e,t,n){var r;return!e||typeof e!="string"?null:(typeof t=="boolean"&&(n=t,t=0),t=t||R,(r=oe.exec(e))?[t.createElement(r[1])]:(r=Z.buildFragment([e],t,n?null:[]),Z.merge([],(r.cacheable?Z.clone(r.fragment):r.fragment).childNodes)))},parseJSON:function(t){if(!t||typeof t!="string")return null;t=Z.trim(t);if(e.JSON&&e.JSON.parse)return e.JSON.parse(t);if(ae.test(t.replace(le,"@").replace(ue,"]").replace(se,"")))return new Function("return "+t)();Z.error("Invalid JSON: "+t)},parseXML:function(n){var r,i;if(!n||typeof n!="string")return null;try{e.DOMParser?(i=new DOMParser,r=i.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)&&Z.error("Invalid XML: "+n),r},noop:function(){},globalEval:function(t){t&&te.test(t)&&(e.execScript||function(t){e.eval.call(e,t)})(t)},camelCase:function(e){return e.replace(ce,"ms-").replace(fe,pe)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,n,r){var i,o=0,a=e.length,s=a===t||Z.isFunction(e);if(r){if(s){for(i in e)if(n.apply(e[i],r)===!1)break}else for(;o<a;)if(n.apply(e[o++],r)===!1)break}else if(s){for(i in e)if(n.call(e[i],i,e[i])===!1)break}else for(;o<a;)if(n.call(e[o],o,e[o++])===!1)break;return e},trim:K&&!K.call("\ufeff ")?function(e){return e==null?"":K.call(e)}:function(e){return e==null?"":(e+"").replace(re,"")},makeArray:function(e,t){var n,r=t||[];return e!=null&&(n=Z.type(e),e.length==null||n==="string"||n==="function"||n==="regexp"||Z.isWindow(e)?Y.call(r,e):Z.merge(r,e)),r},inArray:function(e,t,n){var r;if(t){if(V)return V.call(t,e,n);r=t.length,n=n?n<0?Math.max(0,r+n):n:0;for(;n<r;n++)if(n in t&&t[n]===e)return n}return-1},merge:function(e,n){var r=n.length,i=e.length,o=0;if(typeof r=="number")for(;o<r;o++)e[i++]=n[o];else while(n[o]!==t)e[i++]=n[o++];return e.length=i,e},grep:function(e,t,n){var r,i=[],o=0,a=e.length;n=!!n;for(;o<a;o++)r=!!t(e[o],o),n!==r&&i.push(e[o]);return i},map:function(e,n,r){var i,o,a=[],s=0,l=e.length,u=e instanceof Z||l!==t&&typeof l=="number"&&(l>0&&e[0]&&e[l-1]||l===0||Z.isArray(e));if(u)for(;s<l;s++)i=n(e[s],s,r),i!=null&&(a[a.length]=i);else for(o in e)i=n(e[o],o,r),i!=null&&(a[a.length]=i);return a.concat.apply([],a)},guid:1,proxy:function(e,n){var r,i,o;return typeof n=="string"&&(r=e[n],n=e,e=r),Z.isFunction(e)?(i=J.call(arguments,2),o=function(){return e.apply(n,i.concat(J.call(arguments)))},o.guid=e.guid=e.guid||Z.guid++,o):t},access:function(e,n,r,i,o,a,s){var l,u=r==null,c=0,f=e.length;if(r&&typeof r=="object"){for(c in r)Z.access(e,n,c,r[c],1,a,i);o=1}else if(i!==t){l=s===t&&Z.isFunction(i),u&&(l?(l=n,n=function(e,t,n){return l.call(Z(e),n)}):(n.call(e,i),n=null));if(n)for(;c<f;c++)n(e[c],r,l?i.call(e[c],c,n(e[c],r)):i,s);o=1}return o?e:u?n.call(e):f?n(e[0],r):a},now:function(){return(new Date).getTime()}}),Z.ready.promise=function(t){if(!P){P=Z.Deferred();if(R.readyState==="complete")setTimeout(Z.ready,1);else if(R.addEventListener)R.addEventListener("DOMContentLoaded",de,!1),e.addEventListener("load",Z.ready,!1);else{R.attachEvent("onreadystatechange",de),e.attachEvent("onload",Z.ready);var n=!1;try{n=e.frameElement==null&&R.documentElement}catch(r){}n&&n.doScroll&&function i(){if(!Z.isReady){try{n.doScroll("left")}catch(e){return setTimeout(i,50)}Z.ready()}}()}}return P.promise(t)},Z.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(e,t){he["[object "+t+"]"]=t.toLowerCase()}),W=Z(R);var ge={};Z.Callbacks=function(e){e=typeof e=="string"?ge[e]||n(e):Z.extend({},e);var r,i,o,a,s,l,u=[],c=!e.once&&[],f=function(t){r=e.memory&&t,i=!0,l=a||0,a=0,s=u.length,o=!0;for(;u&&l<s;l++)if(u[l].apply(t[0],t[1])===!1&&e.stopOnFalse){r=!1;break}o=!1,u&&(c?c.length&&f(c.shift()):r?u=[]:p.disable())},p={add:function(){if(u){var t=u.length;(function n(t){Z.each(t,function(t,r){var i=Z.type(r);i==="function"&&(!e.unique||!p.has(r))?u.push(r):r&&r.length&&i!=="string"&&n(r)})})(arguments),o?s=u.length:r&&(a=t,f(r))}return this},remove:function(){return u&&Z.each(arguments,function(e,t){var n;while((n=Z.inArray(t,u,n))>-1)u.splice(n,1),o&&(n<=s&&s--,n<=l&&l--)}),this},has:function(e){return Z.inArray(e,u)>-1},empty:function(){return u=[],this},disable:function(){return u=c=r=t,this},disabled:function(){return!u},lock:function(){return c=t,r||p.disable(),this},locked:function(){return!c},fireWith:function(e,t){return t=t||[],t=[e,t.slice?t.slice():t],u&&(!i||c)&&(o?c.push(t):f(t)),this},fire:function(){return p.fireWith(this,arguments),this},fired:function(){return!!i}};return p},Z.extend({Deferred:function(e){var t=[["resolve","done",Z.Callbacks("once memory"),"resolved"],["reject","fail",Z.Callbacks("once memory"),"rejected"],["notify","progress",Z.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var e=arguments;return Z.Deferred(function(n){Z.each(t,function(t,r){var o=r[0],a=e[t];i[r[1]](Z.isFunction(a)?function(){var e=a.apply(this,arguments);e&&Z.isFunction(e.promise)?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[o+"With"](this===i?n:this,[e])}:n[o])}),e=null}).promise()},promise:function(e){return e!=null?Z.extend(e,r):r}},i={};return r.pipe=r.then,Z.each(t,function(e,o){var a=o[2],s=o[3];r[o[1]]=a.add,s&&a.add(function(){n=s},t[e^1][2].disable,t[2][2].lock),i[o[0]]=a.fire,i[o[0]+"With"]=a.fireWith}),r.promise(i),e&&e.call(i,i),i},when:function(e){var t=0,n=J.call(arguments),r=n.length,i=r!==1||e&&Z.isFunction(e.promise)?r:0,o=i===1?e:Z.Deferred(),a=function(e,t,n){return function(r){t[e]=this,n[e]=arguments.length>1?J.call(arguments):r,n===s?o.notifyWith(t,n):--i||o.resolveWith(t,n)}},s,l,u;if(r>1){s=new Array(r),l=new Array(r),u=new Array(r);for(;t<r;t++)n[t]&&Z.isFunction(n[t].promise)?n[t].promise().done(a(t,u,n)).fail(o.reject).progress(a(t,l,s)):--i}return i||o.resolveWith(u,n),o.promise()}}),Z.support=function(){var t,n,r,i,o,a,s,l,u,c,f,p=R.createElement("div");p.setAttribute("className","t"),p.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",n=p.getElementsByTagName("*"),r=p.getElementsByTagName("a")[0],r.style.cssText="top:1px;float:left;opacity:.5";if(!n||!n.length)return{};i=R.createElement("select"),o=i.appendChild(R.createElement("option")),a=p.getElementsByTagName("input")[0],t={leadingWhitespace:p.firstChild.nodeType===3,tbody:!p.getElementsByTagName("tbody").length,htmlSerialize:!!p.getElementsByTagName("link").length,style:/top/.test(r.getAttribute("style")),hrefNormalized:r.getAttribute("href")==="/a",opacity:/^0.5/.test(r.style.opacity),cssFloat:!!r.style.cssFloat,checkOn:a.value==="on",optSelected:o.selected,getSetAttribute:p.className!=="t",enctype:!!R.createElement("form").enctype,html5Clone:R.createElement("nav").cloneNode(!0).outerHTML!=="<:nav></:nav>",boxModel:R.compatMode==="CSS1Compat",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0,boxSizingReliable:!0,pixelPosition:!1},a.checked=!0,t.noCloneChecked=a.cloneNode(!0).checked,i.disabled=!0,t.optDisabled=!o.disabled;try{delete p.test}catch(d){t.deleteExpando=!1}!p.addEventListener&&p.attachEvent&&p.fireEvent&&(p.attachEvent("onclick",f=function(){t.noCloneEvent=!1}),p.cloneNode(!0).fireEvent("onclick"),p.detachEvent("onclick",f)),a=R.createElement("input"),a.value="t",a.setAttribute("type","radio"),t.radioValue=a.value==="t",a.setAttribute("checked","checked"),a.setAttribute("name","t"),p.appendChild(a),s=R.createDocumentFragment(),s.appendChild(p.lastChild),t.checkClone=s.cloneNode(!0).cloneNode(!0).lastChild.checked,t.appendChecked=a.checked,s.removeChild(a),s.appendChild(p);if(p.attachEvent)for(u in{submit:!0,change:!0,focusin:!0})l="on"+u,c=l in p,c||(p.setAttribute(l,"return;"),c=typeof p[l]=="function"),t[u+"Bubbles"]=c;return Z(function(){var n,r,i,o,a="padding:0;margin:0;border:0;display:block;overflow:hidden;",s=R.getElementsByTagName("body")[0];if(!s)return;n=R.createElement("div"),n.style.cssText="visibility:hidden;border:0;width:0;height:0;position:static;top:0;margin-top:1px",s.insertBefore(n,s.firstChild),r=R.createElement("div"),n.appendChild(r),r.innerHTML="<table><tr><td></td><td>t</td></tr></table>",i=r.getElementsByTagName("td"),i[0].style.cssText="padding:0;margin:0;border:0;display:none",c=i[0].offsetHeight===0,i[0].style.display="",i[1].style.display="none",t.reliableHiddenOffsets=c&&i[0].offsetHeight===0,r.innerHTML="",r.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;",t.boxSizing=r.offsetWidth===4,t.doesNotIncludeMarginInBodyOffset=s.offsetTop!==1,e.getComputedStyle&&(t.pixelPosition=(e.getComputedStyle(r,null)||{}).top!=="1%",t.boxSizingReliable=(e.getComputedStyle(r,null)||{width:"4px"}).width==="4px",o=R.createElement("div"),o.style.cssText=r.style.cssText=a,o.style.marginRight=o.style.width="0",r.style.width="1px",r.appendChild(o),t.reliableMarginRight=!parseFloat((e.getComputedStyle(o,null)||{}).marginRight)),typeof r.style.zoom!="undefined"&&(r.innerHTML="",r.style.cssText=a+"width:1px;padding:1px;display:inline;zoom:1",t.inlineBlockNeedsLayout=r.offsetWidth===3,r.style.display="block",r.style.overflow="visible",r.innerHTML="<div></div>",r.firstChild.style.width="5px",t.shrinkWrapBlocks=r.offsetWidth!==3,n.style.zoom=1),s.removeChild(n),n=r=i=o=null}),s.removeChild(p),n=r=i=o=a=s=p=null,t}();var me=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,ye=/([A-Z])/g;Z.extend({cache:{},deletedIds:[],uuid:0,expando:"jQuery"+(Z.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?Z.cache[e[Z.expando]]:e[Z.expando],!!e&&!i(e)},data:function(e,n,r,i){if(!Z.acceptData(e))return;var o,a,s=Z.expando,l=typeof n=="string",u=e.nodeType,c=u?Z.cache:e,f=u?e[s]:e[s]&&s;if((!f||!c[f]||!i&&!c[f].data)&&l&&r===t)return;f||(u?e[s]=f=Z.deletedIds.pop()||Z.guid++:f=s),c[f]||(c[f]={},u||(c[f].toJSON=Z.noop));if(typeof n=="object"||typeof n=="function")i?c[f]=Z.extend(c[f],n):c[f].data=Z.extend(c[f].data,n);return o=c[f],i||(o.data||(o.data={}),o=o.data),r!==t&&(o[Z.camelCase(n)]=r),l?(a=o[n],a==null&&(a=o[Z.camelCase(n)])):a=o,a},removeData:function(e,t,n){if(!Z.acceptData(e))return;var r,o,a,s=e.nodeType,l=s?Z.cache:e,u=s?e[Z.expando]:Z.expando;if(!l[u])return;if(t){r=n?l[u]:l[u].data;if(r){Z.isArray(t)||(t in r?t=[t]:(t=Z.camelCase(t),t in r?t=[t]:t=t.split(" ")));for(o=0,a=t.length;o<a;o++)delete r[t[o]];if(!(n?i:Z.isEmptyObject)(r))return}}if(!n){delete l[u].data;if(!i(l[u]))return}s?Z.cleanData([e],!0):Z.support.deleteExpando||l!=l.window?delete l[u]:l[u]=null},_data:function(e,t,n){return Z.data(e,t,n,!0)},acceptData:function(e){var t=e.nodeName&&Z.noData[e.nodeName.toLowerCase()];return!t||t!==!0&&e.getAttribute("classid")===t}}),Z.fn.extend({data:function(e,n){var i,o,a,s,l,u=this[0],c=0,f=null;if(e===t){if(this.length){f=Z.data(u);if(u.nodeType===1&&!Z._data(u,"parsedAttrs")){a=u.attributes;for(l=a.length;c<l;c++)s=a[c].name,s.indexOf("data-")||(s=Z.camelCase(s.substring(5)),r(u,s,f[s]));Z._data(u,"parsedAttrs",!0)}}return f}return typeof e=="object"?this.each(function(){Z.data(this,e)}):(i=e.split(".",2),i[1]=i[1]?"."+i[1]:"",o=i[1]+"!",Z.access(this,function(n){if(n===t)return f=this.triggerHandler("getData"+o,[i[0]]),f===t&&u&&(f=Z.data(u,e),f=r(u,e,f)),f===t&&i[1]?this.data(i[0]):f;i[1]=n,this.each(function(){var t=Z(this);t.triggerHandler("setData"+o,i),Z.data(this,e,n),t.triggerHandler("changeData"+o,i)})},null,n,arguments.length>1,null,!1))},removeData:function(e){return this.each(function(){Z.removeData(this,e)})}}),Z.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=Z._data(e,t),n&&(!r||Z.isArray(n)?r=Z._data(e,t,Z.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=Z.queue(e,t),r=n.length,i=n.shift(),o=Z._queueHooks(e,t),a=function(){Z.dequeue(e,t)};i==="inprogress"&&(i=n.shift(),r--),i&&(t==="fx"&&n.unshift("inprogress"),delete o.stop,i.call(e,a,o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Z._data(e,n)||Z._data(e,n,{empty:Z.Callbacks("once memory").add(function(){Z.removeData(e,t+"queue",!0),Z.removeData(e,n,!0)})})}}),Z.fn.extend({queue:function(e,n){var r=2;return typeof e!="string"&&(n=e,e="fx",r--),arguments.length<r?Z.queue(this[0],e):n===t?this:this.each(function(){var t=Z.queue(this,e,n);Z._queueHooks(this,e),e==="fx"&&t[0]!=="inprogress"&&Z.dequeue(this,e)})},dequeue:function(e){return this.each(function(){Z.dequeue(this,e)})},delay:function(e,t){return e=Z.fx?Z.fx.speeds[e]||e:e,t=t||"fx",this.queue(t,function(t,n){var r=setTimeout(t,e);n.stop=function(){clearTimeout(r)}})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,n){var r,i=1,o=Z.Deferred(),a=this,s=this.length,l=function(){--i||o.resolveWith(a,[a])};typeof e!="string"&&(n=e,e=t),e=e||"fx";while(s--)r=Z._data(a[s],e+"queueHooks"),r&&r.empty&&(i++,r.empty.add(l));return l(),o.promise(n)}});var ve,be,xe,we=/[\t\r\n]/g,Te=/\r/g,Ne=/^(?:button|input)$/i,Ce=/^(?:button|input|object|select|textarea)$/i,ke=/^a(?:rea|)$/i,Ee=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,Se=Z.support.getSetAttribute;Z.fn.extend({attr:function(e,t){return Z.access(this,Z.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){Z.removeAttr(this,e)})},prop:function(e,t){return Z.access(this,Z.prop,e,t,arguments.length>1)},removeProp:function(e){return e=Z.propFix[e]||e,this.each(function(){try{this[e]=t,delete this[e]}catch(n){}})},addClass:function(e){var t,n,r,i,o,a,s;if(Z.isFunction(e))return this.each(function(t){Z(this).addClass(e.call(this,t,this.className))});if(e&&typeof e=="string"){t=e.split(ne);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(a=0,s=t.length;a<s;a++)o.indexOf(" "+t[a]+" ")<0&&(o+=t[a]+" ");i.className=Z.trim(o)}}}return this},removeClass:function(e){var n,r,i,o,a,s,l;if(Z.isFunction(e))return this.each(function(t){Z(this).removeClass(e.call(this,t,this.className))});if(e&&typeof e=="string"||e===t){n=(e||"").split(ne);for(s=0,l=this.length;s<l;s++){i=this[s];if(i.nodeType===1&&i.className){r=(" "+i.className+" ").replace(we," ");for(o=0,a=n.length;o<a;o++)while(r.indexOf(" "+n[o]+" ")>=0)r=r.replace(" "+n[o]+" "," ");i.className=e?Z.trim(r):""}}}return this},toggleClass:function(e,t){var n=typeof e,r=typeof t=="boolean";return Z.isFunction(e)?this.each(function(n){Z(this).toggleClass(e.call(this,n,this.className,t),t)}):this.each(function(){if(n==="string"){var i,o=0,a=Z(this),s=t,l=e.split(ne);while(i=l[o++])s=r?s:!a.hasClass(i),a[s?"addClass":"removeClass"](i)}else if(n==="undefined"||n==="boolean")this.className&&Z._data(this,"__className__",this.className),this.className=this.className||e===!1?"":Z._data(this,"__className__")||""})},hasClass:function(e){var t=" "+e+" ",n=0,r=this.length;for(;n<r;n++)if(this[n].nodeType===1&&(" "+this[n].className+" ").replace(we," ").indexOf(t)>=0)return!0;return!1},val:function(e){var n,r,i,o=this[0];if(!arguments.length){if(o)return n=Z.valHooks[o.type]||Z.valHooks[o.nodeName.toLowerCase()],n&&"get"in n&&(r=n.get(o,"value"))!==t?r:(r=o.value,typeof r=="string"?r.replace(Te,""):r==null?"":r);return}return i=Z.isFunction(e),this.each(function(r){var o,a=Z(this);if(this.nodeType!==1)return;i?o=e.call(this,r,a.val()):o=e,o==null?o="":typeof o=="number"?o+="":Z.isArray(o)&&(o=Z.map(o,function(e){return e==null?"":e+""})),n=Z.valHooks[this.type]||Z.valHooks[this.nodeName.toLowerCase()];if(!n||!("set"in n)||n.set(this,o,"value")===t)this.value=o})}}),Z.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,r,i,o=e.selectedIndex,a=[],s=e.options,l=e.type==="select-one";if(o<0)return null;n=l?o:0,r=l?o+1:s.length;for(;n<r;n++){i=s[n];if(i.selected&&(Z.support.optDisabled?!i.disabled:i.getAttribute("disabled")===null)&&(!i.parentNode.disabled||!Z.nodeName(i.parentNode,"optgroup"))){t=Z(i).val();if(l)return t;a.push(t)}}return l&&!a.length&&s.length?Z(s[o]).val():a},set:function(e,t){var n=Z.makeArray(t);return Z(e).find("option").each(function(){this.selected=Z.inArray(Z(this).val(),n)>=0}),n.length||(e.selectedIndex=-1),n}}},attrFn:{},attr:function(e,n,r,i){var o,a,s,l=e.nodeType;if(!e||l===3||l===8||l===2)return;if(i&&Z.isFunction(Z.fn[n]))return Z(e)[n](r);if(typeof e.getAttribute=="undefined")return Z.prop(e,n,r);s=l!==1||!Z.isXMLDoc(e),s&&(n=n.toLowerCase(),a=Z.attrHooks[n]||(Ee.test(n)?be:ve));if(r!==t){if(r===null){Z.removeAttr(e,n);return}return a&&"set"in a&&s&&(o=a.set(e,r,n))!==t?o:(e.setAttribute(n,r+""),r)}return a&&"get"in a&&s&&(o=a.get(e,n))!==null?o:(o=e.getAttribute(n),o===null?t:o)},removeAttr:function(e,t){var n,r,i,o,a=0;if(t&&e.nodeType===1){r=t.split(ne);for(;a<r.length;a++)i=r[a],i&&(n=Z.propFix[i]||i,o=Ee.test(i),o||Z.attr(e,i,""),e.removeAttribute(Se?i:n),o&&n in e&&(e[n]=!1))}},attrHooks:{type:{set:function(e,t){if(Ne.test(e.nodeName)&&e.parentNode)Z.error("type property can't be changed");else if(!Z.support.radioValue&&t==="radio"&&Z.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}},value:{get:function(e,t){return ve&&Z.nodeName(e,"button")?ve.get(e,t):t in e?e.value:null},set:function(e,t,n){if(ve&&Z.nodeName(e,"button"))return ve.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,o,a,s=e.nodeType;if(!e||s===3||s===8||s===2)return;return a=s!==1||!Z.isXMLDoc(e),a&&(n=Z.propFix[n]||n,o=Z.propHooks[n]),r!==t?o&&"set"in o&&(i=o.set(e,r,n))!==t?i:e[n]=r:o&&"get"in o&&(i=o.get(e,n))!==null?i:e[n]},propHooks:{tabIndex:{get:function(e){var n=e.getAttributeNode("tabindex");return n&&n.specified?parseInt(n.value,10):Ce.test(e.nodeName)||ke.test(e.nodeName)&&e.href?0:t}}}}),be={get:function(e,n){var r,i=Z.prop(e,n);return i===!0||typeof i!="boolean"&&(r=e.getAttributeNode(n))&&r.nodeValue!==!1?n.toLowerCase():t},set:function(e,t,n){var r;return t===!1?Z.removeAttr(e,n):(r=Z.propFix[n]||n,r in e&&(e[r]=!0),e.setAttribute(n,n.toLowerCase())),n}},Se||(xe={name:!0,id:!0,coords:!0},ve=Z.valHooks.button={get:function(e,n){var r;return r=e.getAttributeNode(n), r&&(xe[n]?r.value!=="":r.specified)?r.value:t},set:function(e,t,n){var r=e.getAttributeNode(n);return r||(r=R.createAttribute(n),e.setAttributeNode(r)),r.value=t+""}},Z.each(["width","height"],function(e,t){Z.attrHooks[t]=Z.extend(Z.attrHooks[t],{set:function(e,n){if(n==="")return e.setAttribute(t,"auto"),n}})}),Z.attrHooks.contenteditable={get:ve.get,set:function(e,t,n){t===""&&(t="false"),ve.set(e,t,n)}}),Z.support.hrefNormalized||Z.each(["href","src","width","height"],function(e,n){Z.attrHooks[n]=Z.extend(Z.attrHooks[n],{get:function(e){var r=e.getAttribute(n,2);return r===null?t:r}})}),Z.support.style||(Z.attrHooks.style={get:function(e){return e.style.cssText.toLowerCase()||t},set:function(e,t){return e.style.cssText=t+""}}),Z.support.optSelected||(Z.propHooks.selected=Z.extend(Z.propHooks.selected,{get:function(e){var t=e.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null}})),Z.support.enctype||(Z.propFix.enctype="encoding"),Z.support.checkOn||Z.each(["radio","checkbox"],function(){Z.valHooks[this]={get:function(e){return e.getAttribute("value")===null?"on":e.value}}}),Z.each(["radio","checkbox"],function(){Z.valHooks[this]=Z.extend(Z.valHooks[this],{set:function(e,t){if(Z.isArray(t))return e.checked=Z.inArray(Z(e).val(),t)>=0}})});var Ae=/^(?:textarea|input|select)$/i,je=/^([^\.]*|)(?:\.(.+)|)$/,De=/(?:^|\s)hover(\.\S+|)\b/,Le=/^key/,He=/^(?:mouse|contextmenu)|click/,$=/^(?:focusinfocus|focusoutblur)$/,Fe=function(e){return Z.event.special.hover?e:e.replace(De,"mouseenter$1 mouseleave$1")};Z.event={add:function(e,n,r,i,o){var a,s,l,u,c,f,p,d,h,g,m;if(e.nodeType===3||e.nodeType===8||!n||!r||!(a=Z._data(e)))return;r.handler&&(h=r,r=h.handler,o=h.selector),r.guid||(r.guid=Z.guid++),l=a.events,l||(a.events=l={}),s=a.handle,s||(a.handle=s=function(e){return typeof Z!="undefined"&&(!e||Z.event.triggered!==e.type)?Z.event.dispatch.apply(s.elem,arguments):t},s.elem=e),n=Z.trim(Fe(n)).split(" ");for(u=0;u<n.length;u++){c=je.exec(n[u])||[],f=c[1],p=(c[2]||"").split(".").sort(),m=Z.event.special[f]||{},f=(o?m.delegateType:m.bindType)||f,m=Z.event.special[f]||{},d=Z.extend({type:f,origType:c[1],data:i,handler:r,guid:r.guid,selector:o,needsContext:o&&Z.expr.match.needsContext.test(o),namespace:p.join(".")},h),g=l[f];if(!g){g=l[f]=[],g.delegateCount=0;if(!m.setup||m.setup.call(e,i,p,s)===!1)e.addEventListener?e.addEventListener(f,s,!1):e.attachEvent&&e.attachEvent("on"+f,s)}m.add&&(m.add.call(e,d),d.handler.guid||(d.handler.guid=r.guid)),o?g.splice(g.delegateCount++,0,d):g.push(d),Z.event.global[f]=!0}e=null},global:{},remove:function(e,t,n,r,i){var o,a,s,l,u,c,f,p,d,h,g,m=Z.hasData(e)&&Z._data(e);if(!m||!(p=m.events))return;t=Z.trim(Fe(t||"")).split(" ");for(o=0;o<t.length;o++){a=je.exec(t[o])||[],s=l=a[1],u=a[2];if(!s){for(s in p)Z.event.remove(e,s+t[o],n,r,!0);continue}d=Z.event.special[s]||{},s=(r?d.delegateType:d.bindType)||s,h=p[s]||[],c=h.length,u=u?new RegExp("(^|\\.)"+u.split(".").sort().join("\\.(?:.*\\.|)")+"(\\.|$)"):null;for(f=0;f<h.length;f++)g=h[f],(i||l===g.origType)&&(!n||n.guid===g.guid)&&(!u||u.test(g.namespace))&&(!r||r===g.selector||r==="**"&&g.selector)&&(h.splice(f--,1),g.selector&&h.delegateCount--,d.remove&&d.remove.call(e,g));h.length===0&&c!==h.length&&((!d.teardown||d.teardown.call(e,u,m.handle)===!1)&&Z.removeEvent(e,s,m.handle),delete p[s])}Z.isEmptyObject(p)&&(delete m.handle,Z.removeData(e,"events",!0))},customEvent:{getData:!0,setData:!0,changeData:!0},trigger:function(n,r,i,o){if(!i||i.nodeType!==3&&i.nodeType!==8){var a,s,l,u,c,f,p,d,h,g,m=n.type||n,y=[];if($.test(m+Z.event.triggered))return;m.indexOf("!")>=0&&(m=m.slice(0,-1),s=!0),m.indexOf(".")>=0&&(y=m.split("."),m=y.shift(),y.sort());if((!i||Z.event.customEvent[m])&&!Z.event.global[m])return;n=typeof n=="object"?n[Z.expando]?n:new Z.Event(m,n):new Z.Event(m),n.type=m,n.isTrigger=!0,n.exclusive=s,n.namespace=y.join("."),n.namespace_re=n.namespace?new RegExp("(^|\\.)"+y.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,f=m.indexOf(":")<0?"on"+m:"";if(!i){a=Z.cache;for(l in a)a[l].events&&a[l].events[m]&&Z.event.trigger(n,r,a[l].handle.elem,!0);return}n.result=t,n.target||(n.target=i),r=r!=null?Z.makeArray(r):[],r.unshift(n),p=Z.event.special[m]||{};if(p.trigger&&p.trigger.apply(i,r)===!1)return;h=[[i,p.bindType||m]];if(!o&&!p.noBubble&&!Z.isWindow(i)){g=p.delegateType||m,u=$.test(g+m)?i:i.parentNode;for(c=i;u;u=u.parentNode)h.push([u,g]),c=u;c===(i.ownerDocument||R)&&h.push([c.defaultView||c.parentWindow||e,g])}for(l=0;l<h.length&&!n.isPropagationStopped();l++)u=h[l][0],n.type=h[l][1],d=(Z._data(u,"events")||{})[n.type]&&Z._data(u,"handle"),d&&d.apply(u,r),d=f&&u[f],d&&Z.acceptData(u)&&d.apply&&d.apply(u,r)===!1&&n.preventDefault();return n.type=m,!o&&!n.isDefaultPrevented()&&(!p._default||p._default.apply(i.ownerDocument,r)===!1)&&(m!=="click"||!Z.nodeName(i,"a"))&&Z.acceptData(i)&&f&&i[m]&&(m!=="focus"&&m!=="blur"||n.target.offsetWidth!==0)&&!Z.isWindow(i)&&(c=i[f],c&&(i[f]=null),Z.event.triggered=m,i[m](),Z.event.triggered=t,c&&(i[f]=c)),n.result}return},dispatch:function(n){n=Z.event.fix(n||e.event);var r,i,o,a,s,l,u,c,f,p,d=(Z._data(this,"events")||{})[n.type]||[],h=d.delegateCount,g=J.call(arguments),m=!n.exclusive&&!n.namespace,y=Z.event.special[n.type]||{},v=[];g[0]=n,n.delegateTarget=this;if(y.preDispatch&&y.preDispatch.call(this,n)===!1)return;if(h&&(!n.button||n.type!=="click"))for(o=n.target;o!=this;o=o.parentNode||this)if(o.disabled!==!0||n.type!=="click"){s={},u=[];for(r=0;r<h;r++)c=d[r],f=c.selector,s[f]===t&&(s[f]=c.needsContext?Z(f,this).index(o)>=0:Z.find(f,this,null,[o]).length),s[f]&&u.push(c);u.length&&v.push({elem:o,matches:u})}d.length>h&&v.push({elem:this,matches:d.slice(h)});for(r=0;r<v.length&&!n.isPropagationStopped();r++){l=v[r],n.currentTarget=l.elem;for(i=0;i<l.matches.length&&!n.isImmediatePropagationStopped();i++){c=l.matches[i];if(m||!n.namespace&&!c.namespace||n.namespace_re&&n.namespace_re.test(c.namespace))n.data=c.data,n.handleObj=c,a=((Z.event.special[c.origType]||{}).handle||c.handler).apply(l.elem,g),a!==t&&(n.result=a,a===!1&&(n.preventDefault(),n.stopPropagation()))}}return y.postDispatch&&y.postDispatch.call(this,n),n.result},props:"attrChange attrName relatedNode srcElement altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return e.which==null&&(e.which=t.charCode!=null?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,n){var r,i,o,a=n.button,s=n.fromElement;return e.pageX==null&&n.clientX!=null&&(r=e.target.ownerDocument||R,i=r.documentElement,o=r.body,e.pageX=n.clientX+(i&&i.scrollLeft||o&&o.scrollLeft||0)-(i&&i.clientLeft||o&&o.clientLeft||0),e.pageY=n.clientY+(i&&i.scrollTop||o&&o.scrollTop||0)-(i&&i.clientTop||o&&o.clientTop||0)),!e.relatedTarget&&s&&(e.relatedTarget=s===e.target?n.toElement:s),!e.which&&a!==t&&(e.which=a&1?1:a&2?3:a&4?2:0),e}},fix:function(e){if(e[Z.expando])return e;var t,n,r=e,i=Z.event.fixHooks[e.type]||{},o=i.props?this.props.concat(i.props):this.props;e=Z.Event(r);for(t=o.length;t;)n=o[--t],e[n]=r[n];return e.target||(e.target=r.srcElement||R),e.target.nodeType===3&&(e.target=e.target.parentNode),e.metaKey=!!e.metaKey,i.filter?i.filter(e,r):e},special:{load:{noBubble:!0},focus:{delegateType:"focusin"},blur:{delegateType:"focusout"},beforeunload:{setup:function(e,t,n){Z.isWindow(this)&&(this.onbeforeunload=n)},teardown:function(e,t){this.onbeforeunload===t&&(this.onbeforeunload=null)}}},simulate:function(e,t,n,r){var i=Z.extend(new Z.Event,n,{type:e,isSimulated:!0,originalEvent:{}});r?Z.event.trigger(i,null,t):Z.event.dispatch.call(t,i),i.isDefaultPrevented()&&n.preventDefault()}},Z.event.handle=Z.event.dispatch,Z.removeEvent=R.removeEventListener?function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n,!1)}:function(e,t,n){var r="on"+t;e.detachEvent&&(typeof e[r]=="undefined"&&(e[r]=null),e.detachEvent(r,n))},Z.Event=function(e,t){if(this instanceof Z.Event)e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||e.returnValue===!1||e.getPreventDefault&&e.getPreventDefault()?a:o):this.type=e,t&&Z.extend(this,t),this.timeStamp=e&&e.timeStamp||Z.now(),this[Z.expando]=!0;else return new Z.Event(e,t)},Z.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:o,isPropagationStopped:o,isImmediatePropagationStopped:o},Z.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(e,t){Z.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,o=e.handleObj,a=o.selector;if(!i||i!==r&&!Z.contains(r,i))e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t;return n}}}),Z.support.submitBubbles||(Z.event.special.submit={setup:function(){if(Z.nodeName(this,"form"))return!1;Z.event.add(this,"click._submit keypress._submit",function(e){var n=e.target,r=Z.nodeName(n,"input")||Z.nodeName(n,"button")?n.form:t;r&&!Z._data(r,"_submit_attached")&&(Z.event.add(r,"submit._submit",function(e){e._submit_bubble=!0}),Z._data(r,"_submit_attached",!0))})},postDispatch:function(e){e._submit_bubble&&(delete e._submit_bubble,this.parentNode&&!e.isTrigger&&Z.event.simulate("submit",this.parentNode,e,!0))},teardown:function(){if(Z.nodeName(this,"form"))return!1;Z.event.remove(this,"._submit")}}),Z.support.changeBubbles||(Z.event.special.change={setup:function(){if(Ae.test(this.nodeName)){if(this.type==="checkbox"||this.type==="radio")Z.event.add(this,"propertychange._change",function(e){e.originalEvent.propertyName==="checked"&&(this._just_changed=!0)}),Z.event.add(this,"click._change",function(e){this._just_changed&&!e.isTrigger&&(this._just_changed=!1),Z.event.simulate("change",this,e,!0)});return!1}Z.event.add(this,"beforeactivate._change",function(e){var t=e.target;Ae.test(t.nodeName)&&!Z._data(t,"_change_attached")&&(Z.event.add(t,"change._change",function(e){this.parentNode&&!e.isSimulated&&!e.isTrigger&&Z.event.simulate("change",this.parentNode,e,!0)}),Z._data(t,"_change_attached",!0))})},handle:function(e){var t=e.target;if(this!==t||e.isSimulated||e.isTrigger||t.type!=="radio"&&t.type!=="checkbox")return e.handleObj.handler.apply(this,arguments)},teardown:function(){return Z.event.remove(this,"._change"),!Ae.test(this.nodeName)}}),Z.support.focusinBubbles||Z.each({focus:"focusin",blur:"focusout"},function(e,t){var n=0,r=function(e){Z.event.simulate(t,e.target,Z.event.fix(e),!0)};Z.event.special[t]={setup:function(){n++===0&&R.addEventListener(e,r,!0)},teardown:function(){--n===0&&R.removeEventListener(e,r,!0)}}}),Z.fn.extend({on:function(e,n,r,i,a){var s,l;if(typeof e=="object"){typeof n!="string"&&(r=r||n,n=t);for(l in e)this.on(l,n,r,e[l],a);return this}r==null&&i==null?(i=n,r=n=t):i==null&&(typeof n=="string"?(i=r,r=t):(i=r,r=n,n=t));if(i===!1)i=o;else if(!i)return this;return a===1&&(s=i,i=function(e){return Z().off(e),s.apply(this,arguments)},i.guid=s.guid||(s.guid=Z.guid++)),this.each(function(){Z.event.add(this,e,i,r,n)})},one:function(e,t,n,r){return this.on(e,t,n,r,1)},off:function(e,n,r){var i,a;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,Z(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if(typeof e=="object"){for(a in e)this.off(a,n,e[a]);return this}if(n===!1||typeof n=="function")r=n,n=t;return r===!1&&(r=o),this.each(function(){Z.event.remove(this,e,r,n)})},bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},live:function(e,t,n){return Z(this.context).on(e,this.selector,t,n),this},die:function(e,t){return Z(this.context).off(e,this.selector||"**",t),this},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return arguments.length===1?this.off(e,"**"):this.off(t,e||"**",n)},trigger:function(e,t){return this.each(function(){Z.event.trigger(e,t,this)})},triggerHandler:function(e,t){if(this[0])return Z.event.trigger(e,t,this[0],!0)},toggle:function(e){var t=arguments,n=e.guid||Z.guid++,r=0,i=function(n){var i=(Z._data(this,"lastToggle"+e.guid)||0)%r;return Z._data(this,"lastToggle"+e.guid,i+1),n.preventDefault(),t[i].apply(this,arguments)||!1};i.guid=n;while(r<t.length)t[r++].guid=n;return this.click(i)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),Z.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(e,t){Z.fn[t]=function(e,n){return n==null&&(n=e,e=null),arguments.length>0?this.on(t,null,e,n):this.trigger(t)},Le.test(t)&&(Z.event.fixHooks[t]=Z.event.keyHooks),He.test(t)&&(Z.event.fixHooks[t]=Z.event.mouseHooks)}),function(e,t){function n(e,t,n,r){n=n||[],t=t||L;var i,o,a,s,l=t.nodeType;if(!e||typeof e!="string")return n;if(l!==1&&l!==9)return[];a=w(t);if(!a&&!r)if(i=re.exec(e))if(s=i[1]){if(l===9){o=t.getElementById(s);if(!o||!o.parentNode)return n;if(o.id===s)return n.push(o),n}else if(t.ownerDocument&&(o=t.ownerDocument.getElementById(s))&&T(t,o)&&o.id===s)return n.push(o),n}else{if(i[2])return _.apply(n,q.call(t.getElementsByTagName(e),0)),n;if((s=i[3])&&he&&t.getElementsByClassName)return _.apply(n,q.call(t.getElementsByClassName(s),0)),n}return g(e.replace(K,"$1"),t,n,r,a)}function r(e){return function(t){var n=t.nodeName.toLowerCase();return n==="input"&&t.type===e}}function i(e){return function(t){var n=t.nodeName.toLowerCase();return(n==="input"||n==="button")&&t.type===e}}function o(e){return W(function(t){return t=+t,W(function(n,r){var i,o=e([],n.length,t),a=o.length;while(a--)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))})})}function a(e,t,n){if(e===t)return n;var r=e.nextSibling;while(r){if(r===t)return-1;r=r.nextSibling}return 1}function s(e,t){var r,i,o,a,s,l,u,c=I[j][e];if(c)return t?0:c.slice(0);s=e,l=[],u=b.preFilter;while(s){if(!r||(i=ee.exec(s)))i&&(s=s.slice(i[0].length)),l.push(o=[]);r=!1;if(i=te.exec(s))o.push(r=new D(i.shift())),s=s.slice(r.length),r.type=i[0].replace(K," ");for(a in b.filter)(i=ce[a].exec(s))&&(!u[a]||(i=u[a](i,L,!0)))&&(o.push(r=new D(i.shift())),s=s.slice(r.length),r.type=a,r.matches=i);if(!r)break}return t?s.length:s?n.error(e):I(e,l).slice(0)}function l(e,t,n){var r=t.dir,i=n&&t.dir==="parentNode",o=M++;return t.first?function(t,n,o){while(t=t[r])if(i||t.nodeType===1)return e(t,n,o)}:function(t,n,a){if(!a){var s,l=F+" "+o+" ",u=l+y;while(t=t[r])if(i||t.nodeType===1){if((s=t[j])===u)return t.sizset;if(typeof s=="string"&&s.indexOf(l)===0){if(t.sizset)return t}else{t[j]=u;if(e(t,n,a))return t.sizset=!0,t;t.sizset=!1}}}else while(t=t[r])if(i||t.nodeType===1)if(e(t,n,a))return t}}function u(e){return e.length>1?function(t,n,r){var i=e.length;while(i--)if(!e[i](t,n,r))return!1;return!0}:e[0]}function c(e,t,n,r,i){var o,a=[],s=0,l=e.length,u=t!=null;for(;s<l;s++)if(o=e[s])if(!n||n(o,r,i))a.push(o),u&&t.push(s);return a}function f(e,t,n,r,i,o){return r&&!r[j]&&(r=f(r)),i&&!i[j]&&(i=f(i,o)),W(function(o,a,s,l){if(o&&i)return;var u,f,p,d=[],g=[],m=a.length,y=o||h(t||"*",s.nodeType?[s]:s,[],o),v=e&&(o||!t)?c(y,d,e,s,l):y,b=n?i||(o?e:m||r)?[]:a:v;n&&n(v,b,s,l);if(r){p=c(b,g),r(p,[],s,l),u=p.length;while(u--)if(f=p[u])b[g[u]]=!(v[g[u]]=f)}if(o){u=e&&b.length;while(u--)if(f=b[u])o[d[u]]=!(a[d[u]]=f)}else b=c(b===a?b.splice(m,b.length):b),i?i(null,a,b,l):_.apply(a,b)})}function p(e){var t,n,r,i=e.length,o=b.relative[e[0].type],a=o||b.relative[" "],s=o?1:0,c=l(function(e){return e===t},a,!0),d=l(function(e){return B.call(t,e)>-1},a,!0),h=[function(e,n,r){return!o&&(r||n!==E)||((t=n).nodeType?c(e,n,r):d(e,n,r))}];for(;s<i;s++)if(n=b.relative[e[s].type])h=[l(u(h),n)];else{n=b.filter[e[s].type].apply(null,e[s].matches);if(n[j]){r=++s;for(;r<i;r++)if(b.relative[e[r].type])break;return f(s>1&&u(h),s>1&&e.slice(0,s-1).join("").replace(K,"$1"),n,s<r&&p(e.slice(s,r)),r<i&&p(e=e.slice(r)),r<i&&e.join(""))}h.push(n)}return u(h)}function d(e,t){var r=t.length>0,i=e.length>0,o=function(a,s,l,u,f){var p,d,h,g=[],m=0,v="0",x=a&&[],w=f!=null,T=E,N=a||i&&b.find.TAG("*",f&&s.parentNode||s),C=F+=T==null?1:Math.E;w&&(E=s!==L&&s,y=o.el);for(;(p=N[v])!=null;v++){if(i&&p){for(d=0;h=e[d];d++)if(h(p,s,l)){u.push(p);break}w&&(F=C,y=++o.el)}r&&((p=!h&&p)&&m--,a&&x.push(p))}m+=v;if(r&&v!==m){for(d=0;h=t[d];d++)h(x,g,s,l);if(a){if(m>0)while(v--)!x[v]&&!g[v]&&(g[v]=O.call(u));g=c(g)}_.apply(u,g),w&&!a&&g.length>0&&m+t.length>1&&n.uniqueSort(u)}return w&&(F=C,E=T),x};return o.el=0,r?W(o):o}function h(e,t,r,i){var o=0,a=t.length;for(;o<a;o++)n(e,t[o],r,i);return r}function g(e,t,n,r,i){var o,a,l,u,c,f=s(e),p=f.length;if(!r&&f.length===1){a=f[0]=f[0].slice(0);if(a.length>2&&(l=a[0]).type==="ID"&&t.nodeType===9&&!i&&b.relative[a[1].type]){t=b.find.ID(l.matches[0].replace(ue,""),t,i)[0];if(!t)return n;e=e.slice(a.shift().length)}for(o=ce.POS.test(e)?-1:a.length-1;o>=0;o--){l=a[o];if(b.relative[u=l.type])break;if(c=b.find[u])if(r=c(l.matches[0].replace(ue,""),oe.test(a[0].type)&&t.parentNode||t,i)){a.splice(o,1),e=r.length&&a.join("");if(!e)return _.apply(n,q.call(r,0)),n;break}}}return N(e,f)(r,t,i,n,oe.test(e)),n}function m(){}var y,v,b,x,w,T,N,C,k,E,S=!0,A="undefined",j=("sizcache"+Math.random()).replace(".",""),D=String,L=e.document,H=L.documentElement,F=0,M=0,O=[].pop,_=[].push,q=[].slice,B=[].indexOf||function(e){var t=0,n=this.length;for(;t<n;t++)if(this[t]===e)return t;return-1},W=function(e,t){return e[j]=t==null||t,e},P=function(){var e={},t=[];return W(function(n,r){return t.push(n)>b.cacheLength&&delete e[t.shift()],e[n]=r},e)},R=P(),I=P(),z=P(),X="[\\x20\\t\\r\\n\\f]",U="(?:\\\\.|[-\\w]|[^\\x00-\\xa0])+",Y=U.replace("w","w#"),J="([*^$|!~]?=)",V="\\["+X+"*("+U+")"+X+"*(?:"+J+X+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+Y+")|)|)"+X+"*\\]",Q=":("+U+")(?:\\((?:(['\"])((?:\\\\.|[^\\\\])*?)\\2|([^()[\\]]*|(?:(?:"+V+")|[^:]|\\\\.)*|.*))\\)|)",G=":(even|odd|eq|gt|lt|nth|first|last)(?:\\("+X+"*((?:-\\d)?\\d*)"+X+"*\\)|)(?=[^-]|$)",K=new RegExp("^"+X+"+|((?:^|[^\\\\])(?:\\\\.)*)"+X+"+$","g"),ee=new RegExp("^"+X+"*,"+X+"*"),te=new RegExp("^"+X+"*([\\x20\\t\\r\\n\\f>+~])"+X+"*"),ne=new RegExp(Q),re=/^(?:#([\w\-]+)|(\w+)|\.([\w\-]+))$/,ie=/^:not/,oe=/[\x20\t\r\n\f]*[+~]/,ae=/:not\($/,se=/h\d/i,le=/input|select|textarea|button/i,ue=/\\(?!\\)/g,ce={ID:new RegExp("^#("+U+")"),CLASS:new RegExp("^\\.("+U+")"),NAME:new RegExp("^\\[name=['\"]?("+U+")['\"]?\\]"),TAG:new RegExp("^("+U.replace("w","w*")+")"),ATTR:new RegExp("^"+V),PSEUDO:new RegExp("^"+Q),POS:new RegExp(G,"i"),CHILD:new RegExp("^:(only|nth|first|last)-child(?:\\("+X+"*(even|odd|(([+-]|)(\\d*)n|)"+X+"*(?:([+-]|)"+X+"*(\\d+)|))"+X+"*\\)|)","i"),needsContext:new RegExp("^"+X+"*[>+~]|"+G,"i")},fe=function(e){var t=L.createElement("div");try{return e(t)}catch(n){return!1}finally{t=null}},pe=fe(function(e){return e.appendChild(L.createComment("")),!e.getElementsByTagName("*").length}),de=fe(function(e){return e.innerHTML="<a href='#'></a>",e.firstChild&&typeof e.firstChild.getAttribute!==A&&e.firstChild.getAttribute("href")==="#"}),$=fe(function(e){e.innerHTML="<select></select>";var t=typeof e.lastChild.getAttribute("multiple");return t!=="boolean"&&t!=="string"}),he=fe(function(e){return e.innerHTML="<div class='hidden e'></div><div class='hidden'></div>",!e.getElementsByClassName||!e.getElementsByClassName("e").length?!1:(e.lastChild.className="e",e.getElementsByClassName("e").length===2)}),ge=fe(function(e){e.id=j+0,e.innerHTML="<a name='"+j+"'></a><div name='"+j+"'></div>",H.insertBefore(e,H.firstChild);var t=L.getElementsByName&&L.getElementsByName(j).length===2+L.getElementsByName(j+0).length;return v=!L.getElementById(j),H.removeChild(e),t});try{q.call(H.childNodes,0)[0].nodeType}catch(me){q=function(e){var t,n=[];for(;t=this[e];e++)n.push(t);return n}}n.matches=function(e,t){return n(e,null,null,t)},n.matchesSelector=function(e,t){return n(t,null,null,[e]).length>0},x=n.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(i===1||i===9||i===11){if(typeof e.textContent=="string")return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=x(e)}else if(i===3||i===4)return e.nodeValue}else for(;t=e[r];r++)n+=x(t);return n},w=n.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return t?t.nodeName!=="HTML":!1},T=n.contains=H.contains?function(e,t){var n=e.nodeType===9?e.documentElement:e,r=t&&t.parentNode;return e===r||!!(r&&r.nodeType===1&&n.contains&&n.contains(r))}:H.compareDocumentPosition?function(e,t){return t&&!!(e.compareDocumentPosition(t)&16)}:function(e,t){while(t=t.parentNode)if(t===e)return!0;return!1},n.attr=function(e,t){var n,r=w(e);return r||(t=t.toLowerCase()),(n=b.attrHandle[t])?n(e):r||$?e.getAttribute(t):(n=e.getAttributeNode(t),n?typeof e[t]=="boolean"?e[t]?t:null:n.specified?n.value:null:null)},b=n.selectors={cacheLength:50,createPseudo:W,match:ce,attrHandle:de?{}:{href:function(e){return e.getAttribute("href",2)},type:function(e){return e.getAttribute("type")}},find:{ID:v?function(e,t,n){if(typeof t.getElementById!==A&&!n){var r=t.getElementById(e);return r&&r.parentNode?[r]:[]}}:function(e,n,r){if(typeof n.getElementById!==A&&!r){var i=n.getElementById(e);return i?i.id===e||typeof i.getAttributeNode!==A&&i.getAttributeNode("id").value===e?[i]:t:[]}},TAG:pe?function(e,t){if(typeof t.getElementsByTagName!==A)return t.getElementsByTagName(e)}:function(e,t){var n=t.getElementsByTagName(e);if(e==="*"){var r,i=[],o=0;for(;r=n[o];o++)r.nodeType===1&&i.push(r);return i}return n},NAME:ge&&function(e,t){if(typeof t.getElementsByName!==A)return t.getElementsByName(name)},CLASS:he&&function(e,t,n){if(typeof t.getElementsByClassName!==A&&!n)return t.getElementsByClassName(e)}},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(ue,""),e[3]=(e[4]||e[5]||"").replace(ue,""),e[2]==="~="&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),e[1]==="nth"?(e[2]||n.error(e[0]),e[3]=+(e[3]?e[4]+(e[5]||1):2*(e[2]==="even"||e[2]==="odd")),e[4]=+(e[6]+e[7]||e[2]==="odd")):e[2]&&n.error(e[0]),e},PSEUDO:function(e){var t,n;if(ce.CHILD.test(e[0]))return null;if(e[3])e[2]=e[3];else if(t=e[4])ne.test(t)&&(n=s(t,!0))&&(n=t.indexOf(")",t.length-n)-t.length)&&(t=t.slice(0,n),e[0]=e[0].slice(0,n)),e[2]=t;return e.slice(0,3)}},filter:{ID:v?function(e){return e=e.replace(ue,""),function(t){return t.getAttribute("id")===e}}:function(e){return e=e.replace(ue,""),function(t){var n=typeof t.getAttributeNode!==A&&t.getAttributeNode("id");return n&&n.value===e}},TAG:function(e){return e==="*"?function(){return!0}:(e=e.replace(ue,"").toLowerCase(),function(t){return t.nodeName&&t.nodeName.toLowerCase()===e})},CLASS:function(e){var t=R[j][e];return t||(t=R(e,new RegExp("(^|"+X+")"+e+"("+X+"|$)"))),function(e){return t.test(e.className||typeof e.getAttribute!==A&&e.getAttribute("class")||"")}},ATTR:function(e,t,r){return function(i,o){var a=n.attr(i,e);return a==null?t==="!=":t?(a+="",t==="="?a===r:t==="!="?a!==r:t==="^="?r&&a.indexOf(r)===0:t==="*="?r&&a.indexOf(r)>-1:t==="$="?r&&a.substr(a.length-r.length)===r:t==="~="?(" "+a+" ").indexOf(r)>-1:t==="|="?a===r||a.substr(0,r.length+1)===r+"-":!1):!0}},CHILD:function(e,t,n,r){return e==="nth"?function(e){var t,i,o=e.parentNode;if(n===1&&r===0)return!0;if(o){i=0;for(t=o.firstChild;t;t=t.nextSibling)if(t.nodeType===1){i++;if(e===t)break}}return i-=r,i===n||i%n===0&&i/n>=0}:function(t){var n=t;switch(e){case"only":case"first":while(n=n.previousSibling)if(n.nodeType===1)return!1;if(e==="first")return!0;n=t;case"last":while(n=n.nextSibling)if(n.nodeType===1)return!1;return!0}}},PSEUDO:function(e,t){var r,i=b.pseudos[e]||b.setFilters[e.toLowerCase()]||n.error("unsupported pseudo: "+e);return i[j]?i(t):i.length>1?(r=[e,e,"",t],b.setFilters.hasOwnProperty(e.toLowerCase())?W(function(e,n){var r,o=i(e,t),a=o.length;while(a--)r=B.call(e,o[a]),e[r]=!(n[r]=o[a])}):function(e){return i(e,0,r)}):i}},pseudos:{not:W(function(e){var t=[],n=[],r=N(e.replace(K,"$1"));return r[j]?W(function(e,t,n,i){var o,a=r(e,null,i,[]),s=e.length;while(s--)if(o=a[s])e[s]=!(t[s]=o)}):function(e,i,o){return t[0]=e,r(t,null,o,n),!n.pop()}}),has:W(function(e){return function(t){return n(e,t).length>0}}),contains:W(function(e){return function(t){return(t.textContent||t.innerText||x(t)).indexOf(e)>-1}}),enabled:function(e){return e.disabled===!1},disabled:function(e){return e.disabled===!0},checked:function(e){var t=e.nodeName.toLowerCase();return t==="input"&&!!e.checked||t==="option"&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},parent:function(e){return!b.pseudos.empty(e)},empty:function(e){var t;e=e.firstChild;while(e){if(e.nodeName>"@"||(t=e.nodeType)===3||t===4)return!1;e=e.nextSibling}return!0},header:function(e){return se.test(e.nodeName)},text:function(e){var t,n;return e.nodeName.toLowerCase()==="input"&&(t=e.type)==="text"&&((n=e.getAttribute("type"))==null||n.toLowerCase()===t)},radio:r("radio"),checkbox:r("checkbox"),file:r("file"),password:r("password"),image:r("image"),submit:i("submit"),reset:i("reset"),button:function(e){var t=e.nodeName.toLowerCase();return t==="input"&&e.type==="button"||t==="button"},input:function(e){return le.test(e.nodeName)},focus:function(e){var t=e.ownerDocument;return e===t.activeElement&&(!t.hasFocus||t.hasFocus())&&(!!e.type||!!e.href)},active:function(e){return e===e.ownerDocument.activeElement},first:o(function(e,t,n){return[0]}),last:o(function(e,t,n){return[t-1]}),eq:o(function(e,t,n){return[n<0?n+t:n]}),even:o(function(e,t,n){for(var r=0;r<t;r+=2)e.push(r);return e}),odd:o(function(e,t,n){for(var r=1;r<t;r+=2)e.push(r);return e}),lt:o(function(e,t,n){for(var r=n<0?n+t:n;--r>=0;)e.push(r);return e}),gt:o(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}},C=H.compareDocumentPosition?function(e,t){return e===t?(k=!0,0):(!e.compareDocumentPosition||!t.compareDocumentPosition?e.compareDocumentPosition:e.compareDocumentPosition(t)&4)?-1:1}:function(e,t){if(e===t)return k=!0,0;if(e.sourceIndex&&t.sourceIndex)return e.sourceIndex-t.sourceIndex;var n,r,i=[],o=[],s=e.parentNode,l=t.parentNode,u=s;if(s===l)return a(e,t);if(!s)return-1;if(!l)return 1;while(u)i.unshift(u),u=u.parentNode;u=l;while(u)o.unshift(u),u=u.parentNode;n=i.length,r=o.length;for(var c=0;c<n&&c<r;c++)if(i[c]!==o[c])return a(i[c],o[c]);return c===n?a(e,o[c],-1):a(i[c],t,1)},[0,0].sort(C),S=!k,n.uniqueSort=function(e){var t,n=1;k=S,e.sort(C);if(k)for(;t=e[n];n++)t===e[n-1]&&e.splice(n--,1);return e},n.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},N=n.compile=function(e,t){var n,r=[],i=[],o=z[j][e];if(!o){t||(t=s(e)),n=t.length;while(n--)o=p(t[n]),o[j]?r.push(o):i.push(o);o=z(e,d(i,r))}return o},L.querySelectorAll&&function(){var e,t=g,r=/'|\\/g,i=/\=[\x20\t\r\n\f]*([^'"\]]*)[\x20\t\r\n\f]*\]/g,o=[":focus"],a=[":active",":focus"],l=H.matchesSelector||H.mozMatchesSelector||H.webkitMatchesSelector||H.oMatchesSelector||H.msMatchesSelector;fe(function(e){e.innerHTML="<select><option selected=''></option></select>",e.querySelectorAll("[selected]").length||o.push("\\["+X+"*(?:checked|disabled|ismap|multiple|readonly|selected|value)"),e.querySelectorAll(":checked").length||o.push(":checked")}),fe(function(e){e.innerHTML="<p test=''></p>",e.querySelectorAll("[test^='']").length&&o.push("[*^$]="+X+"*(?:\"\"|'')"),e.innerHTML="<input type='hidden'/>",e.querySelectorAll(":enabled").length||o.push(":enabled",":disabled")}),o=new RegExp(o.join("|")),g=function(e,n,i,a,l){if(!a&&!l&&(!o||!o.test(e))){var u,c,f=!0,p=j,d=n,h=n.nodeType===9&&e;if(n.nodeType===1&&n.nodeName.toLowerCase()!=="object"){u=s(e),(f=n.getAttribute("id"))?p=f.replace(r,"\\$&"):n.setAttribute("id",p),p="[id='"+p+"'] ",c=u.length;while(c--)u[c]=p+u[c].join("");d=oe.test(e)&&n.parentNode||n,h=u.join(",")}if(h)try{return _.apply(i,q.call(d.querySelectorAll(h),0)),i}catch(g){}finally{f||n.removeAttribute("id")}}return t(e,n,i,a,l)},l&&(fe(function(t){e=l.call(t,"div");try{l.call(t,"[test!='']:sizzle"),a.push("!=",Q)}catch(n){}}),a=new RegExp(a.join("|")),n.matchesSelector=function(t,r){r=r.replace(i,"='$1']");if(!w(t)&&!a.test(r)&&(!o||!o.test(r)))try{var s=l.call(t,r);if(s||e||t.document&&t.document.nodeType!==11)return s}catch(u){}return n(r,null,null,[t]).length>0})}(),b.pseudos.nth=b.pseudos.eq,b.filters=m.prototype=b.pseudos,b.setFilters=new m,n.attr=Z.attr,Z.find=n,Z.expr=n.selectors,Z.expr[":"]=Z.expr.pseudos,Z.unique=n.uniqueSort,Z.text=n.getText,Z.isXMLDoc=n.isXML,Z.contains=n.contains}(e);var Me=/Until$/,Oe=/^(?:parents|prev(?:Until|All))/,_e=/^.[^:#\[\.,]*$/,qe=Z.expr.match.needsContext,Be={children:!0,contents:!0,next:!0,prev:!0};Z.fn.extend({find:function(e){var t,n,r,i,o,a,s=this;if(typeof e!="string")return Z(e).filter(function(){for(t=0,n=s.length;t<n;t++)if(Z.contains(s[t],this))return!0});a=this.pushStack("","find",e);for(t=0,n=this.length;t<n;t++){r=a.length,Z.find(e,this[t],a);if(t>0)for(i=r;i<a.length;i++)for(o=0;o<r;o++)if(a[o]===a[i]){a.splice(i--,1);break}}return a},has:function(e){var t,n=Z(e,this),r=n.length;return this.filter(function(){for(t=0;t<r;t++)if(Z.contains(this,n[t]))return!0})},not:function(e){return this.pushStack(u(this,e,!1),"not",e)},filter:function(e){return this.pushStack(u(this,e,!0),"filter",e)},is:function(e){return!!e&&(typeof e=="string"?qe.test(e)?Z(e,this.context).index(this[0])>=0:Z.filter(e,this).length>0:this.filter(e).length>0)},closest:function(e,t){var n,r=0,i=this.length,o=[],a=qe.test(e)||typeof e!="string"?Z(e,t||this.context):0;for(;r<i;r++){n=this[r];while(n&&n.ownerDocument&&n!==t&&n.nodeType!==11){if(a?a.index(n)>-1:Z.find.matchesSelector(n,e)){o.push(n);break}n=n.parentNode}}return o=o.length>1?Z.unique(o):o,this.pushStack(o,"closest",e)},index:function(e){return e?typeof e=="string"?Z.inArray(this[0],Z(e)):Z.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.prevAll().length:-1},add:function(e,t){var n=typeof e=="string"?Z(e,t):Z.makeArray(e&&e.nodeType?[e]:e),r=Z.merge(this.get(),n);return this.pushStack(s(n[0])||s(r[0])?r:Z.unique(r))},addBack:function(e){return this.add(e==null?this.prevObject:this.prevObject.filter(e))}}),Z.fn.andSelf=Z.fn.addBack,Z.each({parent:function(e){var t=e.parentNode;return t&&t.nodeType!==11?t:null},parents:function(e){return Z.dir(e,"parentNode")},parentsUntil:function(e,t,n){return Z.dir(e,"parentNode",n)},next:function(e){return l(e,"nextSibling")},prev:function(e){return l(e,"previousSibling")},nextAll:function(e){return Z.dir(e,"nextSibling")},prevAll:function(e){return Z.dir(e,"previousSibling")},nextUntil:function(e,t,n){return Z.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return Z.dir(e,"previousSibling",n)},siblings:function(e){return Z.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return Z.sibling(e.firstChild)},contents:function(e){return Z.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:Z.merge([],e.childNodes)}},function(e,t){Z.fn[e]=function(n,r){var i=Z.map(this,t,n);return Me.test(e)||(r=n),r&&typeof r=="string"&&(i=Z.filter(r,i)),i=this.length>1&&!Be[e]?Z.unique(i):i,this.length>1&&Oe.test(e)&&(i=i.reverse()),this.pushStack(i,e,J.call(arguments).join(","))}}),Z.extend({filter:function(e,t,n){return n&&(e=":not("+e+")"),t.length===1?Z.find.matchesSelector(t[0],e)?[t[0]]:[]:Z.find.matches(e,t)},dir:function(e,n,r){var i=[],o=e[n];while(o&&o.nodeType!==9&&(r===t||o.nodeType!==1||!Z(o).is(r)))o.nodeType===1&&i.push(o), o=o[n];return i},sibling:function(e,t){var n=[];for(;e;e=e.nextSibling)e.nodeType===1&&e!==t&&n.push(e);return n}});var We="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",Pe=/ jQuery\d+="(?:null|\d+)"/g,Re=/^\s+/,$e=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,Ie=/<([\w:]+)/,ze=/<tbody/i,Xe=/<|&#?\w+;/,Ue=/<(?:script|style|link)/i,Ye=/<(?:script|object|embed|option|style)/i,Je=new RegExp("<(?:"+We+")[\\s/>]","i"),Ve=/^(?:checkbox|radio)$/,Qe=/checked\s*(?:[^=]|=\s*.checked.)/i,Ge=/\/(java|ecma)script/i,Ke=/^\s*<!(?:\[CDATA\[|\-\-)|[\]\-]{2}>\s*$/g,Ze={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]},et=c(R),tt=et.appendChild(R.createElement("div"));Ze.optgroup=Ze.option,Ze.tbody=Ze.tfoot=Ze.colgroup=Ze.caption=Ze.thead,Ze.th=Ze.td,Z.support.htmlSerialize||(Ze._default=[1,"X<div>","</div>"]),Z.fn.extend({text:function(e){return Z.access(this,function(e){return e===t?Z.text(this):this.empty().append((this[0]&&this[0].ownerDocument||R).createTextNode(e))},null,e,arguments.length)},wrapAll:function(e){if(Z.isFunction(e))return this.each(function(t){Z(this).wrapAll(e.call(this,t))});if(this[0]){var t=Z(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstChild&&e.firstChild.nodeType===1)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(e){return Z.isFunction(e)?this.each(function(t){Z(this).wrapInner(e.call(this,t))}):this.each(function(){var t=Z(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=Z.isFunction(e);return this.each(function(n){Z(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){Z.nodeName(this,"body")||Z(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(e){(this.nodeType===1||this.nodeType===11)&&this.appendChild(e)})},prepend:function(){return this.domManip(arguments,!0,function(e){(this.nodeType===1||this.nodeType===11)&&this.insertBefore(e,this.firstChild)})},before:function(){if(!s(this[0]))return this.domManip(arguments,!1,function(e){this.parentNode.insertBefore(e,this)});if(arguments.length){var e=Z.clean(arguments);return this.pushStack(Z.merge(e,this),"before",this.selector)}},after:function(){if(!s(this[0]))return this.domManip(arguments,!1,function(e){this.parentNode.insertBefore(e,this.nextSibling)});if(arguments.length){var e=Z.clean(arguments);return this.pushStack(Z.merge(this,e),"after",this.selector)}},remove:function(e,t){var n,r=0;for(;(n=this[r])!=null;r++)if(!e||Z.filter(e,[n]).length)!t&&n.nodeType===1&&(Z.cleanData(n.getElementsByTagName("*")),Z.cleanData([n])),n.parentNode&&n.parentNode.removeChild(n);return this},empty:function(){var e,t=0;for(;(e=this[t])!=null;t++){e.nodeType===1&&Z.cleanData(e.getElementsByTagName("*"));while(e.firstChild)e.removeChild(e.firstChild)}return this},clone:function(e,t){return e=e==null?!1:e,t=t==null?e:t,this.map(function(){return Z.clone(this,e,t)})},html:function(e){return Z.access(this,function(e){var n=this[0]||{},r=0,i=this.length;if(e===t)return n.nodeType===1?n.innerHTML.replace(Pe,""):t;if(typeof e=="string"&&!Ue.test(e)&&(Z.support.htmlSerialize||!Je.test(e))&&(Z.support.leadingWhitespace||!Re.test(e))&&!Ze[(Ie.exec(e)||["",""])[1].toLowerCase()]){e=e.replace($e,"<$1></$2>");try{for(;r<i;r++)n=this[r]||{},n.nodeType===1&&(Z.cleanData(n.getElementsByTagName("*")),n.innerHTML=e);n=0}catch(o){}}n&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(e){return s(this[0])?this.length?this.pushStack(Z(Z.isFunction(e)?e():e),"replaceWith",e):this:Z.isFunction(e)?this.each(function(t){var n=Z(this),r=n.html();n.replaceWith(e.call(this,t,r))}):(typeof e!="string"&&(e=Z(e).detach()),this.each(function(){var t=this.nextSibling,n=this.parentNode;Z(this).remove(),t?Z(t).before(e):Z(n).append(e)}))},detach:function(e){return this.remove(e,!0)},domManip:function(e,n,r){e=[].concat.apply([],e);var i,o,a,s,l=0,u=e[0],c=[],p=this.length;if(!Z.support.checkClone&&p>1&&typeof u=="string"&&Qe.test(u))return this.each(function(){Z(this).domManip(e,n,r)});if(Z.isFunction(u))return this.each(function(i){var o=Z(this);e[0]=u.call(this,i,n?o.html():t),o.domManip(e,n,r)});if(this[0]){i=Z.buildFragment(e,this,c),a=i.fragment,o=a.firstChild,a.childNodes.length===1&&(a=o);if(o){n=n&&Z.nodeName(o,"tr");for(s=i.cacheable||p-1;l<p;l++)r.call(n&&Z.nodeName(this[l],"table")?f(this[l],"tbody"):this[l],l===s?a:Z.clone(a,!0,!0))}a=o=null,c.length&&Z.each(c,function(e,t){t.src?Z.ajax?Z.ajax({url:t.src,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0}):Z.error("no ajax"):Z.globalEval((t.text||t.textContent||t.innerHTML||"").replace(Ke,"")),t.parentNode&&t.parentNode.removeChild(t)})}return this}}),Z.buildFragment=function(e,n,r){var i,o,a,s=e[0];return n=n||R,n=!n.nodeType&&n[0]||n,n=n.ownerDocument||n,e.length===1&&typeof s=="string"&&s.length<512&&n===R&&s.charAt(0)==="<"&&!Ye.test(s)&&(Z.support.checkClone||!Qe.test(s))&&(Z.support.html5Clone||!Je.test(s))&&(o=!0,i=Z.fragments[s],a=i!==t),i||(i=n.createDocumentFragment(),Z.clean(e,n,i,r),o&&(Z.fragments[s]=a&&i)),{fragment:i,cacheable:o}},Z.fragments={},Z.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){Z.fn[e]=function(n){var r,i=0,o=[],a=Z(n),s=a.length,l=this.length===1&&this[0].parentNode;if((l==null||l&&l.nodeType===11&&l.childNodes.length===1)&&s===1)return a[t](this[0]),this;for(;i<s;i++)r=(i>0?this.clone(!0):this).get(),Z(a[i])[t](r),o=o.concat(r);return this.pushStack(o,e,a.selector)}}),Z.extend({clone:function(e,t,n){var r,i,o,a;Z.support.html5Clone||Z.isXMLDoc(e)||!Je.test("<"+e.nodeName+">")?a=e.cloneNode(!0):(tt.innerHTML=e.outerHTML,tt.removeChild(a=tt.firstChild));if((!Z.support.noCloneEvent||!Z.support.noCloneChecked)&&(e.nodeType===1||e.nodeType===11)&&!Z.isXMLDoc(e)){d(e,a),r=h(e),i=h(a);for(o=0;r[o];++o)i[o]&&d(r[o],i[o])}if(t){p(e,a);if(n){r=h(e),i=h(a);for(o=0;r[o];++o)p(r[o],i[o])}}return r=i=null,a},clean:function(e,t,n,r){var i,o,a,s,l,u,f,p,d,h,m,y,v=t===R&&et,b=[];if(!t||typeof t.createDocumentFragment=="undefined")t=R;for(i=0;(a=e[i])!=null;i++){typeof a=="number"&&(a+="");if(!a)continue;if(typeof a=="string")if(!Xe.test(a))a=t.createTextNode(a);else{v=v||c(t),f=t.createElement("div"),v.appendChild(f),a=a.replace($e,"<$1></$2>"),s=(Ie.exec(a)||["",""])[1].toLowerCase(),l=Ze[s]||Ze._default,u=l[0],f.innerHTML=l[1]+a+l[2];while(u--)f=f.lastChild;if(!Z.support.tbody){p=ze.test(a),d=s==="table"&&!p?f.firstChild&&f.firstChild.childNodes:l[1]==="<table>"&&!p?f.childNodes:[];for(o=d.length-1;o>=0;--o)Z.nodeName(d[o],"tbody")&&!d[o].childNodes.length&&d[o].parentNode.removeChild(d[o])}!Z.support.leadingWhitespace&&Re.test(a)&&f.insertBefore(t.createTextNode(Re.exec(a)[0]),f.firstChild),a=f.childNodes,f.parentNode.removeChild(f)}a.nodeType?b.push(a):Z.merge(b,a)}f&&(a=f=v=null);if(!Z.support.appendChecked)for(i=0;(a=b[i])!=null;i++)Z.nodeName(a,"input")?g(a):typeof a.getElementsByTagName!="undefined"&&Z.grep(a.getElementsByTagName("input"),g);if(n){m=function(e){if(!e.type||Ge.test(e.type))return r?r.push(e.parentNode?e.parentNode.removeChild(e):e):n.appendChild(e)};for(i=0;(a=b[i])!=null;i++)if(!Z.nodeName(a,"script")||!m(a))n.appendChild(a),typeof a.getElementsByTagName!="undefined"&&(y=Z.grep(Z.merge([],a.getElementsByTagName("script")),m),b.splice.apply(b,[i+1,0].concat(y)),i+=y.length)}return b},cleanData:function(e,t){var n,r,i,o,a=0,s=Z.expando,l=Z.cache,u=Z.support.deleteExpando,c=Z.event.special;for(;(i=e[a])!=null;a++)if(t||Z.acceptData(i)){r=i[s],n=r&&l[r];if(n){if(n.events)for(o in n.events)c[o]?Z.event.remove(i,o):Z.removeEvent(i,o,n.handle);l[r]&&(delete l[r],u?delete i[s]:i.removeAttribute?i.removeAttribute(s):i[s]=null,Z.deletedIds.push(r))}}}}),function(){var e,t;Z.uaMatch=function(e){e=e.toLowerCase();var t=/(chrome)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||e.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[];return{browser:t[1]||"",version:t[2]||"0"}},e=Z.uaMatch(z.userAgent),t={},e.browser&&(t[e.browser]=!0,t.version=e.version),t.chrome?t.webkit=!0:t.webkit&&(t.safari=!0),Z.browser=t,Z.sub=function(){function e(t,n){return new e.fn.init(t,n)}Z.extend(!0,e,this),e.superclass=this,e.fn=e.prototype=this(),e.fn.constructor=e,e.sub=this.sub,e.fn.init=function n(n,r){return r&&r instanceof Z&&!(r instanceof e)&&(r=e(r)),Z.fn.init.call(this,n,r,t)},e.fn.init.prototype=e.fn;var t=e(R);return e}}();var nt,rt,it,ot=/alpha\([^)]*\)/i,at=/opacity=([^)]*)/,st=/^(top|right|bottom|left)$/,lt=/^(none|table(?!-c[ea]).+)/,ut=/^margin/,ct=new RegExp("^("+ee+")(.*)$","i"),ft=new RegExp("^("+ee+")(?!px)[a-z%]+$","i"),pt=new RegExp("^([-+])=("+ee+")","i"),dt={},ht={position:"absolute",visibility:"hidden",display:"block"},gt={letterSpacing:0,fontWeight:400},mt=["Top","Right","Bottom","Left"],yt=["Webkit","O","Moz","ms"],vt=Z.fn.toggle;Z.fn.extend({css:function(e,n){return Z.access(this,function(e,n,r){return r!==t?Z.style(e,n,r):Z.css(e,n)},e,n,arguments.length>1)},show:function(){return v(this,!0)},hide:function(){return v(this)},toggle:function(e,t){var n=typeof e=="boolean";return Z.isFunction(e)&&Z.isFunction(t)?vt.apply(this,arguments):this.each(function(){(n?e:y(this))?Z(this).show():Z(this).hide()})}}),Z.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=nt(e,"opacity");return n===""?"1":n}}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":Z.support.cssFloat?"cssFloat":"styleFloat"},style:function(e,n,r,i){if(!e||e.nodeType===3||e.nodeType===8||!e.style)return;var o,a,s,l=Z.camelCase(n),u=e.style;n=Z.cssProps[l]||(Z.cssProps[l]=m(u,l)),s=Z.cssHooks[n]||Z.cssHooks[l];if(r===t)return s&&"get"in s&&(o=s.get(e,!1,i))!==t?o:u[n];a=typeof r,a==="string"&&(o=pt.exec(r))&&(r=(o[1]+1)*o[2]+parseFloat(Z.css(e,n)),a="number");if(r==null||a==="number"&&isNaN(r))return;a==="number"&&!Z.cssNumber[l]&&(r+="px");if(!s||!("set"in s)||(r=s.set(e,r,i))!==t)try{u[n]=r}catch(c){}},css:function(e,n,r,i){var o,a,s,l=Z.camelCase(n);return n=Z.cssProps[l]||(Z.cssProps[l]=m(e.style,l)),s=Z.cssHooks[n]||Z.cssHooks[l],s&&"get"in s&&(o=s.get(e,!0,i)),o===t&&(o=nt(e,n)),o==="normal"&&n in gt&&(o=gt[n]),r||i!==t?(a=parseFloat(o),r||Z.isNumeric(a)?a||0:o):o},swap:function(e,t,n){var r,i,o={};for(i in t)o[i]=e.style[i],e.style[i]=t[i];r=n.call(e);for(i in t)e.style[i]=o[i];return r}}),e.getComputedStyle?nt=function(t,n){var r,i,o,a,s=e.getComputedStyle(t,null),l=t.style;return s&&(r=s[n],r===""&&!Z.contains(t.ownerDocument,t)&&(r=Z.style(t,n)),ft.test(r)&&ut.test(n)&&(i=l.width,o=l.minWidth,a=l.maxWidth,l.minWidth=l.maxWidth=l.width=r,r=s.width,l.width=i,l.minWidth=o,l.maxWidth=a)),r}:R.documentElement.currentStyle&&(nt=function(e,t){var n,r,i=e.currentStyle&&e.currentStyle[t],o=e.style;return i==null&&o&&o[t]&&(i=o[t]),ft.test(i)&&!st.test(t)&&(n=o.left,r=e.runtimeStyle&&e.runtimeStyle.left,r&&(e.runtimeStyle.left=e.currentStyle.left),o.left=t==="fontSize"?"1em":i,i=o.pixelLeft+"px",o.left=n,r&&(e.runtimeStyle.left=r)),i===""?"auto":i}),Z.each(["height","width"],function(e,t){Z.cssHooks[t]={get:function(e,n,r){if(n)return e.offsetWidth===0&<.test(nt(e,"display"))?Z.swap(e,ht,function(){return w(e,t,r)}):w(e,t,r)},set:function(e,n,r){return b(e,n,r?x(e,t,r,Z.support.boxSizing&&Z.css(e,"boxSizing")==="border-box"):0)}}}),Z.support.opacity||(Z.cssHooks.opacity={get:function(e,t){return at.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(e,t){var n=e.style,r=e.currentStyle,i=Z.isNumeric(t)?"alpha(opacity="+t*100+")":"",o=r&&r.filter||n.filter||"";n.zoom=1;if(t>=1&&Z.trim(o.replace(ot,""))===""&&n.removeAttribute){n.removeAttribute("filter");if(r&&!r.filter)return}n.filter=ot.test(o)?o.replace(ot,i):o+" "+i}}),Z(function(){Z.support.reliableMarginRight||(Z.cssHooks.marginRight={get:function(e,t){return Z.swap(e,{display:"inline-block"},function(){if(t)return nt(e,"marginRight")})}}),!Z.support.pixelPosition&&Z.fn.position&&Z.each(["top","left"],function(e,t){Z.cssHooks[t]={get:function(e,n){if(n){var r=nt(e,t);return ft.test(r)?Z(e).position()[t]+"px":r}}}})}),Z.expr&&Z.expr.filters&&(Z.expr.filters.hidden=function(e){return e.offsetWidth===0&&e.offsetHeight===0||!Z.support.reliableHiddenOffsets&&(e.style&&e.style.display||nt(e,"display"))==="none"},Z.expr.filters.visible=function(e){return!Z.expr.filters.hidden(e)}),Z.each({margin:"",padding:"",border:"Width"},function(e,t){Z.cssHooks[e+t]={expand:function(n){var r,i=typeof n=="string"?n.split(" "):[n],o={};for(r=0;r<4;r++)o[e+mt[r]+t]=i[r]||i[r-2]||i[0];return o}},ut.test(e)||(Z.cssHooks[e+t].set=b)});var bt=/%20/g,xt=/\[\]$/,wt=/\r?\n/g,Tt=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,Nt=/^(?:select|textarea)/i;Z.fn.extend({serialize:function(){return Z.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?Z.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||Nt.test(this.nodeName)||Tt.test(this.type))}).map(function(e,t){var n=Z(this).val();return n==null?null:Z.isArray(n)?Z.map(n,function(e,n){return{name:t.name,value:e.replace(wt,"\r\n")}}):{name:t.name,value:n.replace(wt,"\r\n")}}).get()}}),Z.param=function(e,n){var r,i=[],o=function(e,t){t=Z.isFunction(t)?t():t==null?"":t,i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};n===t&&(n=Z.ajaxSettings&&Z.ajaxSettings.traditional);if(Z.isArray(e)||e.jquery&&!Z.isPlainObject(e))Z.each(e,function(){o(this.name,this.value)});else for(r in e)N(r,e[r],n,o);return i.join("&").replace(bt,"+")};var Ct,kt,Et=/#.*$/,St=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,At=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,jt=/^(?:GET|HEAD)$/,Dt=/^\/\//,Lt=/\?/,Ht=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,Ft=/([?&])_=[^&]*/,Mt=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,Ot=Z.fn.load,_t={},qt={},Bt=["*/"]+["*"];try{kt=I.href}catch(Wt){kt=R.createElement("a"),kt.href="",kt=kt.href}Ct=Mt.exec(kt.toLowerCase())||[],Z.fn.load=function(e,n,r){if(typeof e!="string"&&Ot)return Ot.apply(this,arguments);if(!this.length)return this;var i,o,a,s=this,l=e.indexOf(" ");return l>=0&&(i=e.slice(l,e.length),e=e.slice(0,l)),Z.isFunction(n)?(r=n,n=t):n&&typeof n=="object"&&(o="POST"),Z.ajax({url:e,type:o,dataType:"html",data:n,complete:function(e,t){r&&s.each(r,a||[e.responseText,t,e])}}).done(function(e){a=arguments,s.html(i?Z("<div>").append(e.replace(Ht,"")).find(i):e)}),this},Z.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(e,t){Z.fn[t]=function(e){return this.on(t,e)}}),Z.each(["get","post"],function(e,n){Z[n]=function(e,r,i,o){return Z.isFunction(r)&&(o=o||i,i=r,r=t),Z.ajax({type:n,url:e,data:r,success:i,dataType:o})}}),Z.extend({getScript:function(e,n){return Z.get(e,t,n,"script")},getJSON:function(e,t,n){return Z.get(e,t,n,"json")},ajaxSetup:function(e,t){return t?E(e,Z.ajaxSettings):(t=e,e=Z.ajaxSettings),E(e,t),e},ajaxSettings:{url:kt,isLocal:At.test(Ct[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded; charset=UTF-8",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":Bt},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":e.String,"text html":!0,"text json":Z.parseJSON,"text xml":Z.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:C(_t),ajaxTransport:C(qt),ajax:function(e,n){function r(e,n,r,a){var u,f,v,b,w,N=n;if(x===2)return;x=2,l&&clearTimeout(l),s=t,o=a||"",T.readyState=e>0?4:0,r&&(b=S(p,T,r));if(e>=200&&e<300||e===304)p.ifModified&&(w=T.getResponseHeader("Last-Modified"),w&&(Z.lastModified[i]=w),w=T.getResponseHeader("Etag"),w&&(Z.etag[i]=w)),e===304?(N="notmodified",u=!0):(u=A(p,b),N=u.state,f=u.data,v=u.error,u=!v);else{v=N;if(!N||e)N="error",e<0&&(e=0)}T.status=e,T.statusText=(n||N)+"",u?g.resolveWith(d,[f,N,T]):g.rejectWith(d,[T,N,v]),T.statusCode(y),y=t,c&&h.trigger("ajax"+(u?"Success":"Error"),[T,p,u?f:v]),m.fireWith(d,[T,N]),c&&(h.trigger("ajaxComplete",[T,p]),--Z.active||Z.event.trigger("ajaxStop"))}typeof e=="object"&&(n=e,e=t),n=n||{};var i,o,a,s,l,u,c,f,p=Z.ajaxSetup({},n),d=p.context||p,h=d!==p&&(d.nodeType||d instanceof Z)?Z(d):Z.event,g=Z.Deferred(),m=Z.Callbacks("once memory"),y=p.statusCode||{},v={},b={},x=0,w="canceled",T={readyState:0,setRequestHeader:function(e,t){if(!x){var n=e.toLowerCase();e=b[n]=b[n]||e,v[e]=t}return this},getAllResponseHeaders:function(){return x===2?o:null},getResponseHeader:function(e){var n;if(x===2){if(!a){a={};while(n=St.exec(o))a[n[1].toLowerCase()]=n[2]}n=a[e.toLowerCase()]}return n===t?null:n},overrideMimeType:function(e){return x||(p.mimeType=e),this},abort:function(e){return e=e||w,s&&s.abort(e),r(0,e),this}};g.promise(T),T.success=T.done,T.error=T.fail,T.complete=m.add,T.statusCode=function(e){if(e){var t;if(x<2)for(t in e)y[t]=[y[t],e[t]];else t=e[T.status],T.always(t)}return this},p.url=((e||p.url)+"").replace(Et,"").replace(Dt,Ct[1]+"//"),p.dataTypes=Z.trim(p.dataType||"*").toLowerCase().split(ne),p.crossDomain==null&&(u=Mt.exec(p.url.toLowerCase())||!1,p.crossDomain=u&&u.join(":")+(u[3]?"":u[1]==="http:"?80:443)!==Ct.join(":")+(Ct[3]?"":Ct[1]==="http:"?80:443)),p.data&&p.processData&&typeof p.data!="string"&&(p.data=Z.param(p.data,p.traditional)),k(_t,p,n,T);if(x===2)return T;c=p.global,p.type=p.type.toUpperCase(),p.hasContent=!jt.test(p.type),c&&Z.active++===0&&Z.event.trigger("ajaxStart");if(!p.hasContent){p.data&&(p.url+=(Lt.test(p.url)?"&":"?")+p.data,delete p.data),i=p.url;if(p.cache===!1){var N=Z.now(),C=p.url.replace(Ft,"$1_="+N);p.url=C+(C===p.url?(Lt.test(p.url)?"&":"?")+"_="+N:"")}}(p.data&&p.hasContent&&p.contentType!==!1||n.contentType)&&T.setRequestHeader("Content-Type",p.contentType),p.ifModified&&(i=i||p.url,Z.lastModified[i]&&T.setRequestHeader("If-Modified-Since",Z.lastModified[i]),Z.etag[i]&&T.setRequestHeader("If-None-Match",Z.etag[i])),T.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+(p.dataTypes[0]!=="*"?", "+Bt+"; q=0.01":""):p.accepts["*"]);for(f in p.headers)T.setRequestHeader(f,p.headers[f]);if(!p.beforeSend||p.beforeSend.call(d,T,p)!==!1&&x!==2){w="abort";for(f in{success:1,error:1,complete:1})T[f](p[f]);s=k(qt,p,n,T);if(!s)r(-1,"No Transport");else{T.readyState=1,c&&h.trigger("ajaxSend",[T,p]),p.async&&p.timeout>0&&(l=setTimeout(function(){T.abort("timeout")},p.timeout));try{x=1,s.send(v,r)}catch(E){if(x<2)r(-1,E);else throw E}}return T}return T.abort()},active:0,lastModified:{},etag:{}});var Pt=[],Rt=/\?/,$t=/(=)\?(?=&|$)|\?\?/,It=Z.now();Z.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Pt.pop()||Z.expando+"_"+It++;return this[e]=!0,e}}),Z.ajaxPrefilter("json jsonp",function(n,r,i){var o,a,s,l=n.data,u=n.url,c=n.jsonp!==!1,f=c&&$t.test(u),p=c&&!f&&typeof l=="string"&&!(n.contentType||"").indexOf("application/x-www-form-urlencoded")&&$t.test(l);if(n.dataTypes[0]==="jsonp"||f||p)return o=n.jsonpCallback=Z.isFunction(n.jsonpCallback)?n.jsonpCallback():n.jsonpCallback,a=e[o],f?n.url=u.replace($t,"$1"+o):p?n.data=l.replace($t,"$1"+o):c&&(n.url+=(Rt.test(u)?"&":"?")+n.jsonp+"="+o),n.converters["script json"]=function(){return s||Z.error(o+" was not called"),s[0]},n.dataTypes[0]="json",e[o]=function(){s=arguments},i.always(function(){e[o]=a,n[o]&&(n.jsonpCallback=r.jsonpCallback,Pt.push(o)),s&&Z.isFunction(a)&&a(s[0]),s=a=t}),"script"}),Z.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(e){return Z.globalEval(e),e}}}),Z.ajaxPrefilter("script",function(e){e.cache===t&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),Z.ajaxTransport("script",function(e){if(e.crossDomain){var n,r=R.head||R.getElementsByTagName("head")[0]||R.documentElement;return{send:function(i,o){n=R.createElement("script"),n.async="async",e.scriptCharset&&(n.charset=e.scriptCharset),n.src=e.url,n.onload=n.onreadystatechange=function(e,i){if(i||!n.readyState||/loaded|complete/.test(n.readyState))n.onload=n.onreadystatechange=null,r&&n.parentNode&&r.removeChild(n),n=t,i||o(200,"success")},r.insertBefore(n,r.firstChild)},abort:function(){n&&n.onload(0,1)}}}});var zt,Xt=e.ActiveXObject?function(){for(var e in zt)zt[e](0,1)}:!1,Ut=0;Z.ajaxSettings.xhr=e.ActiveXObject?function(){return!this.isLocal&&j()||D()}:j,function(e){Z.extend(Z.support,{ajax:!!e,cors:!!e&&"withCredentials"in e})}(Z.ajaxSettings.xhr()),Z.support.ajax&&Z.ajaxTransport(function(n){if(!n.crossDomain||Z.support.cors){var r;return{send:function(i,o){var a,s,l=n.xhr();n.username?l.open(n.type,n.url,n.async,n.username,n.password):l.open(n.type,n.url,n.async);if(n.xhrFields)for(s in n.xhrFields)l[s]=n.xhrFields[s];n.mimeType&&l.overrideMimeType&&l.overrideMimeType(n.mimeType),!n.crossDomain&&!i["X-Requested-With"]&&(i["X-Requested-With"]="XMLHttpRequest");try{for(s in i)l.setRequestHeader(s,i[s])}catch(u){}l.send(n.hasContent&&n.data||null),r=function(e,i){var s,u,c,f,p;try{if(r&&(i||l.readyState===4)){r=t,a&&(l.onreadystatechange=Z.noop,Xt&&delete zt[a]);if(i)l.readyState!==4&&l.abort();else{s=l.status,c=l.getAllResponseHeaders(),f={},p=l.responseXML,p&&p.documentElement&&(f.xml=p);try{f.text=l.responseText}catch(e){}try{u=l.statusText}catch(d){u=""}!s&&n.isLocal&&!n.crossDomain?s=f.text?200:404:s===1223&&(s=204)}}}catch(h){i||o(-1,h)}f&&o(s,u,f,c)},n.async?l.readyState===4?setTimeout(r,0):(a=++Ut,Xt&&(zt||(zt={},Z(e).unload(Xt)),zt[a]=r),l.onreadystatechange=r):r()},abort:function(){r&&r(0,1)}}}});var Yt,Jt,Vt=/^(?:toggle|show|hide)$/,Qt=new RegExp("^(?:([-+])=|)("+ee+")([a-z%]*)$","i"),Gt=/queueHooks$/,Kt=[O],Zt={"*":[function(e,t){var n,r,i=this.createTween(e,t),o=Qt.exec(t),a=i.cur(),s=+a||0,l=1,u=20;if(o){n=+o[2],r=o[3]||(Z.cssNumber[e]?"":"px");if(r!=="px"&&s){s=Z.css(i.elem,e,!0)||n||1;do l=l||".5",s=s/l,Z.style(i.elem,e,s+r);while(l!==(l=i.cur()/a)&&l!==1&&--u)}i.unit=r,i.start=s,i.end=o[1]?s+(o[1]+1)*n:n}return i}]};Z.Animation=Z.extend(F,{tweener:function(e,t){Z.isFunction(e)?(t=e,e=["*"]):e=e.split(" ");var n,r=0,i=e.length;for(;r<i;r++)n=e[r],Zt[n]=Zt[n]||[],Zt[n].unshift(t)},prefilter:function(e,t){t?Kt.unshift(e):Kt.push(e)}}),Z.Tween=_,_.prototype={constructor:_,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||"swing",this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(Z.cssNumber[n]?"":"px")},cur:function(){var e=_.propHooks[this.prop];return e&&e.get?e.get(this):_.propHooks._default.get(this)},run:function(e){var t,n=_.propHooks[this.prop];return this.options.duration?this.pos=t=Z.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):_.propHooks._default.set(this),this}},_.prototype.init.prototype=_.prototype,_.propHooks={_default:{get:function(e){var t;return e.elem[e.prop]==null||!!e.elem.style&&e.elem.style[e.prop]!=null?(t=Z.css(e.elem,e.prop,!1,""),!t||t==="auto"?0:t):e.elem[e.prop]},set:function(e){Z.fx.step[e.prop]?Z.fx.step[e.prop](e):e.elem.style&&(e.elem.style[Z.cssProps[e.prop]]!=null||Z.cssHooks[e.prop])?Z.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}},_.propHooks.scrollTop=_.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},Z.each(["toggle","show","hide"],function(e,t){var n=Z.fn[t];Z.fn[t]=function(r,i,o){return r==null||typeof r=="boolean"||!e&&Z.isFunction(r)&&Z.isFunction(i)?n.apply(this,arguments):this.animate(q(t,!0),r,i,o)}}),Z.fn.extend({fadeTo:function(e,t,n,r){return this.filter(y).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=Z.isEmptyObject(e),o=Z.speed(t,n,r),a=function(){var t=F(this,Z.extend({},e),o);i&&t.stop(!0)};return i||o.queue===!1?this.each(a):this.queue(o.queue,a)},stop:function(e,n,r){var i=function(e){var t=e.stop;delete e.stop,t(r)};return typeof e!="string"&&(r=n,n=e,e=t),n&&e!==!1&&this.queue(e||"fx",[]),this.each(function(){var t=!0,n=e!=null&&e+"queueHooks",o=Z.timers,a=Z._data(this);if(n)a[n]&&a[n].stop&&i(a[n]);else for(n in a)a[n]&&a[n].stop&&Gt.test(n)&&i(a[n]);for(n=o.length;n--;)o[n].elem===this&&(e==null||o[n].queue===e)&&(o[n].anim.stop(r),t=!1,o.splice(n,1));(t||!r)&&Z.dequeue(this,e)})}}),Z.each({slideDown:q("show"),slideUp:q("hide"),slideToggle:q("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){Z.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),Z.speed=function(e,t,n){var r=e&&typeof e=="object"?Z.extend({},e):{complete:n||!n&&t||Z.isFunction(e)&&e,duration:e,easing:n&&t||t&&!Z.isFunction(t)&&t};r.duration=Z.fx.off?0:typeof r.duration=="number"?r.duration:r.duration in Z.fx.speeds?Z.fx.speeds[r.duration]:Z.fx.speeds._default;if(r.queue==null||r.queue===!0)r.queue="fx";return r.old=r.complete,r.complete=function(){Z.isFunction(r.old)&&r.old.call(this),r.queue&&Z.dequeue(this,r.queue)},r},Z.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2}},Z.timers=[],Z.fx=_.prototype.init,Z.fx.tick=function(){var e,t=Z.timers,n=0;for(;n<t.length;n++)e=t[n],!e()&&t[n]===e&&t.splice(n--,1);t.length||Z.fx.stop()},Z.fx.timer=function(e){e()&&Z.timers.push(e)&&!Jt&&(Jt=setInterval(Z.fx.tick,Z.fx.interval))},Z.fx.interval=13,Z.fx.stop=function(){clearInterval(Jt),Jt=null},Z.fx.speeds={slow:600,fast:200,_default:400},Z.fx.step={},Z.expr&&Z.expr.filters&&(Z.expr.filters.animated=function(e){return Z.grep(Z.timers,function(t){return e===t.elem}).length});var en=/^(?:body|html)$/i;Z.fn.offset=function(e){if(arguments.length)return e===t?this:this.each(function(t){Z.offset.setOffset(this,e,t)});var n,r,i,o,a,s,l,u={top:0,left:0},c=this[0],f=c&&c.ownerDocument;if(!f)return;return(r=f.body)===c?Z.offset.bodyOffset(c):(n=f.documentElement,Z.contains(n,c)?(typeof c.getBoundingClientRect!="undefined"&&(u=c.getBoundingClientRect()),i=B(f),o=n.clientTop||r.clientTop||0,a=n.clientLeft||r.clientLeft||0,s=i.pageYOffset||n.scrollTop,l=i.pageXOffset||n.scrollLeft,{top:u.top+s-o,left:u.left+l-a}):u)},Z.offset={bodyOffset:function(e){var t=e.offsetTop,n=e.offsetLeft;return Z.support.doesNotIncludeMarginInBodyOffset&&(t+=parseFloat(Z.css(e,"marginTop"))||0,n+=parseFloat(Z.css(e,"marginLeft"))||0),{top:t,left:n}},setOffset:function(e,t,n){var r=Z.css(e,"position");r==="static"&&(e.style.position="relative");var i=Z(e),o=i.offset(),a=Z.css(e,"top"),s=Z.css(e,"left"),l=(r==="absolute"||r==="fixed")&&Z.inArray("auto",[a,s])>-1,u={},c={},f,p;l?(c=i.position(),f=c.top,p=c.left):(f=parseFloat(a)||0,p=parseFloat(s)||0),Z.isFunction(t)&&(t=t.call(e,n,o)),t.top!=null&&(u.top=t.top-o.top+f),t.left!=null&&(u.left=t.left-o.left+p),"using"in t?t.using.call(e,u):i.css(u)}},Z.fn.extend({position:function(){if(!this[0])return;var e=this[0],t=this.offsetParent(),n=this.offset(),r=en.test(t[0].nodeName)?{top:0,left:0}:t.offset();return n.top-=parseFloat(Z.css(e,"marginTop"))||0,n.left-=parseFloat(Z.css(e,"marginLeft"))||0,r.top+=parseFloat(Z.css(t[0],"borderTopWidth"))||0,r.left+=parseFloat(Z.css(t[0],"borderLeftWidth"))||0,{top:n.top-r.top,left:n.left-r.left}},offsetParent:function(){return this.map(function(){var e=this.offsetParent||R.body;while(e&&!en.test(e.nodeName)&&Z.css(e,"position")==="static")e=e.offsetParent;return e||R.body})}}),Z.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,n){var r=/Y/.test(n);Z.fn[e]=function(i){return Z.access(this,function(e,i,o){var a=B(e);if(o===t)return a?n in a?a[n]:a.document.documentElement[i]:e[i];a?a.scrollTo(r?Z(a).scrollLeft():o,r?o:Z(a).scrollTop()):e[i]=o},e,i,arguments.length,null)}}),Z.each({Height:"height",Width:"width"},function(e,n){Z.each({padding:"inner"+e,content:n,"":"outer"+e},function(r,i){Z.fn[i]=function(i,o){var a=arguments.length&&(r||typeof i!="boolean"),s=r||(i===!0||o===!0?"margin":"border");return Z.access(this,function(n,r,i){var o;return Z.isWindow(n)?n.document.documentElement["client"+e]:n.nodeType===9?(o=n.documentElement,Math.max(n.body["scroll"+e],o["scroll"+e],n.body["offset"+e],o["offset"+e],o["client"+e])):i===t?Z.css(n,r,i,s):Z.style(n,r,i,s)},n,a?i:t,a,null)}})}),e.jQuery=e.$=Z,typeof define=="function"&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return Z})})(window);window.jQuery.support.cors=true;$.ajaxSetup({cache:false});
给心灵一个纯净空间,让思想,情感,飞扬!