WordPress Social Tools, Related Posts, Monetization – Shareaholic - Version 9.7.6

Version Description

We update the Shareaholic plugin regularly to make it better for you. Update to the latest version for all available features and improvements. Thank you for using Shareaholic!

Download this release

Release Info

Developer shareaholic
Plugin Icon 128x128 WordPress Social Tools, Related Posts, Monetization – Shareaholic
Version 9.7.6
Comparing to
See all releases

Code changes from version 9.7.5 to 9.7.6

assets/js/jquery_custom.min.js CHANGED
@@ -1 +1 @@
1
- !function(y,T){function _(e,t){return(t+"").toUpperCase()}function q(){v.addEventListener?(v.removeEventListener("DOMContentLoaded",q,!1),N.ready()):"complete"===v.readyState&&(v.detachEvent("onreadystatechange",q),N.ready())}var B,W,v=y.document,P=y.location,R=y.navigator,$=y.sQuery,I=y.$,z=Array.prototype.push,c=Array.prototype.slice,X=Array.prototype.indexOf,U=Object.prototype.toString,Y=Object.prototype.hasOwnProperty,J=String.prototype.trim,N=function(e,t){return new N.fn.init(e,t,B)},V=/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source,G=/\S/,C=/\s+/,Q=G.test(" ")?/^[\s\xA0]+|[\s\xA0]+$/g:/^\s+|\s+$/g,K=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,Z=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,ee=/^[\],:{}\s]*$/,te=/(?:^|:|,)(?:\s*\[)+/g,ne=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,re=/"[^"\\\r\n]*"|true|false|null|-?(?:\d\d*\.|)\d+(?:[eE][\-+]?\d+|)/g,ie=/^-ms-/,oe=/-([\da-z])/gi,ae={},se=(N.fn=N.prototype={constructor:N,init:function(e,t,n){var r,i;if(!e)return this;if(e.nodeType)return this.context=this[0]=e,this.length=1,this;if("string"!=typeof e)return N.isFunction(e)?n.ready(e):(e.selector!==T&&(this.selector=e.selector,this.context=e.context),N.makeArray(e,this));if(!(r="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&3<=e.length?[null,e,null]:K.exec(e))||!r[1]&&t)return(!t||t.jquery?t||n:this.constructor(t)).find(e);if(r[1])return i=(t=t instanceof N?t[0]:t)&&t.nodeType?t.ownerDocument||t:v,e=N.parseHTML(r[1],i,!0),Z.test(r[1])&&N.isPlainObject(t)&&this.attr.call(e,t,!0),N.merge(this,e);if((i=v.getElementById(r[2]))&&i.parentNode){if(i.id!==r[2])return n.find(e);this.length=1,this[0]=i}return this.context=v,this.selector=e,this},selector:"",jquery:"1.8.0",length:0,size:function(){return this.length},toArray:function(){return c.call(this)},get:function(e){return null==e?this.toArray():e<0?this[this.length+e]:this[e]},pushStack:function(e,t,n){e=N.merge(this.constructor(),e);return e.prevObject=this,e.context=this.context,"find"===t?e.selector=this.selector+(this.selector?" ":"")+n:t&&(e.selector=this.selector+"."+t+"("+n+")"),e},each:function(e,t){return N.each(this,e,t)},ready:function(e){return N.ready.promise().done(e),this},eq:function(e){return-1===(e=+e)?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(c.apply(this,arguments),"slice",c.call(arguments).join(","))},map:function(n){return this.pushStack(N.map(this,function(e,t){return n.call(e,t,e)}))},end:function(){return this.prevObject||this.constructor(null)},push:z,sort:[].sort,splice:[].splice},N.fn.init.prototype=N.fn,N.extend=N.fn.extend=function(){var e,t,n,r,i,o=arguments[0]||{},a=1,s=arguments.length,l=!1;for("boolean"==typeof o&&(l=o,o=arguments[1]||{},a=2),"object"==typeof o||N.isFunction(o)||(o={}),s===a&&(o=this,--a);a<s;a++)if(null!=(e=arguments[a]))for(t in e)i=o[t],o!==(n=e[t])&&(l&&n&&(N.isPlainObject(n)||(r=N.isArray(n)))?(i=r?(r=!1,i&&N.isArray(i)?i:[]):i&&N.isPlainObject(i)?i:{},o[t]=N.extend(l,i,n)):n!==T&&(o[t]=n));return o},N.extend({noConflict:function(e){return y.$===N&&(y.$=I),e&&y.sQuery===N&&(y.sQuery=$),N},isReady:!1,readyWait:1,holdReady:function(e){e?N.readyWait++:N.ready(!0)},ready:function(e){if(!0===e?!--N.readyWait:!N.isReady){if(!v.body)return setTimeout(N.ready,1);(N.isReady=!0)!==e&&0<--N.readyWait||(W.resolveWith(v,[N]),N.fn.trigger&&N(v).trigger("ready").off("ready"))}},isFunction:function(e){return"function"===N.type(e)},isArray:Array.isArray||function(e){return"array"===N.type(e)},isWindow:function(e){return null!=e&&e==e.window},isNumeric:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},type:function(e){return null==e?String(e):ae[U.call(e)]||"object"},isPlainObject:function(e){if(!e||"object"!==N.type(e)||e.nodeType||N.isWindow(e))return!1;try{if(e.constructor&&!Y.call(e,"constructor")&&!Y.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(e){return!1}for(var t in e);return t===T||Y.call(e,t)},isEmptyObject:function(e){for(var t in e)return!1;return!0},error:function(e){throw new Error(e)},parseHTML:function(e,t,n){var r;return e&&"string"==typeof e?("boolean"==typeof t&&(n=t,t=0),t=t||v,(r=Z.exec(e))?[t.createElement(r[1])]:(r=N.buildFragment([e],t,n?null:[]),N.merge([],(r.cacheable?N.clone(r.fragment):r.fragment).childNodes))):null},parseJSON:function(e){return e&&"string"==typeof e?(e=N.trim(e),y.JSON&&y.JSON.parse?y.JSON.parse(e):ee.test(e.replace(ne,"@").replace(re,"]").replace(te,""))?new Function("return "+e)():void N.error("Invalid JSON: "+e)):null},parseXML:function(e){var t;if(!e||"string"!=typeof e)return null;try{y.DOMParser?t=(new DOMParser).parseFromString(e,"text/xml"):((t=new ActiveXObject("Microsoft.XMLDOM")).async="false",t.loadXML(e))}catch(e){t=T}return t&&t.documentElement&&!t.getElementsByTagName("parsererror").length||N.error("Invalid XML: "+e),t},noop:function(){},globalEval:function(e){e&&G.test(e)&&(y.execScript||function(e){y.eval.call(y,e)})(e)},camelCase:function(e){return e.replace(ie,"ms-").replace(oe,_)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toUpperCase()===t.toUpperCase()},each:function(e,t,n){var r,i=0,o=e.length,a=o===T||N.isFunction(e);if(n)if(a){for(r in e)if(!1===t.apply(e[r],n))break}else for(;i<o&&!1!==t.apply(e[i++],n););else if(a){for(r in e)if(!1===t.call(e[r],r,e[r]))break}else for(;i<o&&!1!==t.call(e[i],i,e[i++]););return e},trim:J?function(e){return null==e?"":J.call(e)}:function(e){return null==e?"":e.toString().replace(Q,"")},makeArray:function(e,t){var n,t=t||[];return null!=e&&(n=N.type(e),null==e.length||"string"===n||"function"===n||"regexp"===n||N.isWindow(e)?z.call(t,e):N.merge(t,e)),t},inArray:function(e,t,n){var r;if(t){if(X)return X.call(t,e,n);for(r=t.length,n=n?n<0?Math.max(0,r+n):n:0;n<r;n++)if(n in t&&t[n]===e)return n}return-1},merge:function(e,t){var n=t.length,r=e.length,i=0;if("number"==typeof n)for(;i<n;i++)e[r++]=t[i];else for(;t[i]!==T;)e[r++]=t[i++];return e.length=r,e},grep:function(e,t,n){var r=[],i=0,o=e.length;for(n=!!n;i<o;i++)n!==!!t(e[i],i)&&r.push(e[i]);return r},map:function(e,t,n){var r,i,o=[],a=0,s=e.length;if(e instanceof N||s!==T&&"number"==typeof s&&(0<s&&e[0]&&e[s-1]||0===s||N.isArray(e)))for(;a<s;a++)null!=(r=t(e[a],a,n))&&(o[o.length]=r);else for(i in e)null!=(r=t(e[i],i,n))&&(o[o.length]=r);return o.concat.apply([],o)},guid:1,proxy:function(e,t){var n,r;return"string"==typeof t&&(r=e[t],t=e,e=r),N.isFunction(e)?(n=c.call(arguments,2),(r=function(){return e.apply(t,n.concat(c.call(arguments)))}).guid=e.guid=e.guid||r.guid||N.guid++,r):T},access:function(e,t,n,r,i,o,a){var s,l=null==n,u=0,c=e.length;if(n&&"object"==typeof n){for(u in n)N.access(e,t,u,n[u],1,o,r);i=1}else if(r!==T){if(s=a===T&&N.isFunction(r),t=l?s?(s=t,function(e,t,n){return s.call(N(e),n)}):(t.call(e,r),null):t)for(;u<c;u++)t(e[u],n,s?r.call(e[u],u,t(e[u],n)):r,a);i=1}return i?e:l?t.call(e):c?t(e[0],n):o},now:function(){return(new Date).getTime()}}),N.ready.promise=function(e){if(!W)if(W=N.Deferred(),"complete"===v.readyState||"loading"!==v.readyState&&v.addEventListener)setTimeout(N.ready,1);else if(v.addEventListener)v.addEventListener("DOMContentLoaded",q,!1),y.addEventListener("load",N.ready,!1);else{v.attachEvent("onreadystatechange",q),y.attachEvent("onload",N.ready);var n=!1;try{n=null==y.frameElement&&v.documentElement}catch(e){}n&&n.doScroll&&!function t(){if(!N.isReady){try{n.doScroll("left")}catch(e){return setTimeout(t,50)}N.ready()}}()}return W.promise(e)},N.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(e,t){ae["[object "+t+"]"]=t.toLowerCase()}),B=N(v),{});N.Callbacks=function(r){var e,n;r="string"==typeof r?se[r]||(n=se[e=r]={},N.each(e.split(C),function(e,t){n[t]=!0}),n):N.extend({},r);function i(e){for(t=r.memory&&e,o=!0,u=s||0,s=0,l=c.length,a=!0;c&&u<l;u++)if(!1===c[u].apply(e[0],e[1])&&r.stopOnFalse){t=!1;break}a=!1,c&&(f?f.length&&i(f.shift()):t?c=[]:p.disable())}var t,o,a,s,l,u,c=[],f=!r.once&&[],p={add:function(){var e;return c&&(e=c.length,function n(e){N.each(e,function(e,t){!N.isFunction(t)||r.unique&&p.has(t)?t&&t.length&&n(t):c.push(t)})}(arguments),a?l=c.length:t&&(s=e,i(t))),this},remove:function(){return c&&N.each(arguments,function(e,t){for(var n;-1<(n=N.inArray(t,c,n));)c.splice(n,1),a&&(n<=l&&l--,n<=u&&u--)}),this},has:function(e){return-1<N.inArray(e,c)},empty:function(){return c=[],this},disable:function(){return c=f=t=T,this},disabled:function(){return!c},lock:function(){return f=T,t||p.disable(),this},locked:function(){return!f},fireWith:function(e,t){return t=[e,(t=t||[]).slice?t.slice():t],!c||o&&!f||(a?f.push(t):i(t)),this},fire:function(){return p.fireWith(this,arguments),this},fired:function(){return!!o}};return p},N.extend({Deferred:function(e){var a=[["resolve","done",N.Callbacks("once memory"),"resolved"],["reject","fail",N.Callbacks("once memory"),"rejected"],["notify","progress",N.Callbacks("memory")]],i="pending",o={state:function(){return i},always:function(){return s.done(arguments).fail(arguments),this},then:function(){var o=arguments;return N.Deferred(function(i){N.each(a,function(e,t){var n=t[0],r=o[e];s[t[1]](N.isFunction(r)?function(){var e=r.apply(this,arguments);e&&N.isFunction(e.promise)?e.promise().done(i.resolve).fail(i.reject).progress(i.notify):i[n+"With"](this===s?i:this,[e])}:i[n])}),o=null}).promise()},promise:function(e){return"object"==typeof e?N.extend(e,o):o}},s={};return o.pipe=o.then,N.each(a,function(e,t){var n=t[2],r=t[3];o[t[1]]=n.add,r&&n.add(function(){i=r},a[1^e][2].disable,a[2][2].lock),s[t[0]]=n.fire,s[t[0]+"With"]=n.fireWith}),o.promise(s),e&&e.call(s,s),s},when:function(e){function t(t,n,r){return function(e){n[t]=this,r[t]=1<arguments.length?c.call(arguments):e,r===i?u.notifyWith(n,r):--l||u.resolveWith(n,r)}}var i,n,r,o=0,a=c.call(arguments),s=a.length,l=1!==s||e&&N.isFunction(e.promise)?s:0,u=1===l?e:N.Deferred();if(1<s)for(i=new Array(s),n=new Array(s),r=new Array(s);o<s;o++)a[o]&&N.isFunction(a[o].promise)?a[o].promise().done(t(o,r,a)).fail(u.reject).progress(t(o,n,i)):--l;return l||u.resolveWith(r,a),u.promise()}}),N.support=function(){var o,e,t,n,r,i,a,s,l,u=v.createElement("div");if(u.setAttribute("className","t"),u.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",e=u.getElementsByTagName("*"),(t=u.getElementsByTagName("a")[0]).style.cssText="top:1px;float:left;opacity:.5",!e||!e.length||!t)return{};l=(n=v.createElement("select")).appendChild(v.createElement("option")),r=u.getElementsByTagName("input")[0],o={leadingWhitespace:3===u.firstChild.nodeType,tbody:!u.getElementsByTagName("tbody").length,htmlSerialize:!!u.getElementsByTagName("link").length,style:/top/.test(t.getAttribute("style")),hrefNormalized:"/a"===t.getAttribute("href"),opacity:/^0.5/.test(t.style.opacity),cssFloat:!!t.style.cssFloat,checkOn:"on"===r.value,optSelected:l.selected,getSetAttribute:"t"!==u.className,enctype:!!v.createElement("form").enctype,html5Clone:"<:nav></:nav>"!==v.createElement("nav").cloneNode(!0).outerHTML,boxModel:"CSS1Compat"===v.compatMode,submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0,boxSizingReliable:!0,pixelPosition:!1},r.checked=!0,o.noCloneChecked=r.cloneNode(!0).checked,n.disabled=!0,o.optDisabled=!l.disabled;try{delete u.test}catch(e){o.deleteExpando=!1}if(!u.addEventListener&&u.attachEvent&&u.fireEvent&&(u.attachEvent("onclick",l=function(){o.noCloneEvent=!1}),u.cloneNode(!0).fireEvent("onclick"),u.detachEvent("onclick",l)),(r=v.createElement("input")).value="t",r.setAttribute("type","radio"),o.radioValue="t"===r.value,r.setAttribute("checked","checked"),r.setAttribute("name","t"),u.appendChild(r),(l=v.createDocumentFragment()).appendChild(u.lastChild),o.checkClone=l.cloneNode(!0).cloneNode(!0).lastChild.checked,o.appendChecked=r.checked,l.removeChild(r),l.appendChild(u),u.attachEvent)for(a in{submit:!0,change:!0,focusin:!0})(s=(i="on"+a)in u)||(u.setAttribute(i,"return;"),s="function"==typeof u[i]),o[a+"Bubbles"]=s;return N(function(){var e,t,n,r="padding:0;margin:0;border:0;display:block;overflow:hidden;",i=v.getElementsByTagName("body")[0];i&&((e=v.createElement("div")).style.cssText="visibility:hidden;border:0;width:0;height:0;position:static;top:0;margin-top:1px",i.insertBefore(e,i.firstChild),t=v.createElement("div"),e.appendChild(t),t.innerHTML="<table><tr><td></td><td>t</td></tr></table>",(n=t.getElementsByTagName("td"))[0].style.cssText="padding:0;margin:0;border:0;display:none",s=0===n[0].offsetHeight,n[0].style.display="",n[1].style.display="none",o.reliableHiddenOffsets=s&&0===n[0].offsetHeight,t.innerHTML="",t.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%;",o.boxSizing=4===t.offsetWidth,o.doesNotIncludeMarginInBodyOffset=1!==i.offsetTop,y.getComputedStyle&&(o.pixelPosition="1%"!==(y.getComputedStyle(t,null)||{}).top,o.boxSizingReliable="4px"===(y.getComputedStyle(t,null)||{width:"4px"}).width,(n=v.createElement("div")).style.cssText=t.style.cssText=r,n.style.marginRight=n.style.width="0",t.style.width="1px",t.appendChild(n),o.reliableMarginRight=!parseFloat((y.getComputedStyle(n,null)||{}).marginRight)),void 0!==t.style.zoom&&(t.innerHTML="",t.style.cssText=r+"width:1px;padding:1px;display:inline;zoom:1",o.inlineBlockNeedsLayout=3===t.offsetWidth,t.style.display="block",t.style.overflow="visible",t.innerHTML="<div></div>",t.firstChild.style.width="5px",o.shrinkWrapBlocks=3!==t.offsetWidth,e.style.zoom=1),i.removeChild(e))}),l.removeChild(u),e=t=n=r=l=u=null,o}();var le=/^(?:\{.*\}|\[.*\])$/,ue=/([A-Z])/g;function ce(e,t,n){if(n===T&&1===e.nodeType){var r="data-"+t.replace(ue,"-$1").toLowerCase();if("string"==typeof(n=e.getAttribute(r))){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:le.test(n)?N.parseJSON(n):n)}catch(e){}N.data(e,t,n)}else n=T}return n}function fe(e){for(var t in e)if(("data"!==t||!N.isEmptyObject(e[t]))&&"toJSON"!==t)return;return 1}N.extend({cache:{},deletedIds:[],uuid:0,expando:"sQuery"+(N.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?N.cache[e[N.expando]]:e[N.expando])&&!fe(e)},data:function(e,t,n,r){if(N.acceptData(e)){var i,o=N.expando,a="string"==typeof t,s=e.nodeType,l=s?N.cache:e,u=s?e[o]:e[o]&&o;if(u&&l[u]&&(r||l[u].data)||!a||n!==T)return u||(s?e[o]=u=N.deletedIds.pop()||++N.uuid:u=o),l[u]||(l[u]={},s||(l[u].toJSON=N.noop)),"object"!=typeof t&&"function"!=typeof t||(r?l[u]=N.extend(l[u],t):l[u].data=N.extend(l[u].data,t)),e=l[u],r||(e.data||(e.data={}),e=e.data),n!==T&&(e[N.camelCase(t)]=n),a?null==(i=e[t])&&(i=e[N.camelCase(t)]):i=e,i}},removeData:function(e,t,n){if(N.acceptData(e)){var r,i,o,a=e.nodeType,s=a?N.cache:e,l=a?e[N.expando]:N.expando;if(s[l]){if(t&&(r=n?s[l]:s[l].data)){for((i=0,o=(t=N.isArray(t)?t:t in r||(t=N.camelCase(t))in r?[t]:t.split(" ")).length);i<o;i++)delete r[t[i]];if(!(n?fe:N.isEmptyObject)(r))return}(n||(delete s[l].data,fe(s[l])))&&(a?N.cleanData([e],!0):N.support.deleteExpando||s!=s.window?delete s[l]:s[l]=null)}}},_data:function(e,t,n){return N.data(e,t,n,!0)},acceptData:function(e){var t=e.nodeName&&N.noData[e.nodeName.toLowerCase()];return!t||!0!==t&&e.getAttribute("classid")===t}}),N.fn.extend({data:function(n,e){var r,i,t,o,a,s=this[0],l=0,u=null;if(n!==T)return"object"==typeof n?this.each(function(){N.data(this,n)}):((r=n.split(".",2))[1]=r[1]?"."+r[1]:"",i=r[1]+"!",N.access(this,function(t){if(t===T)return(u=this.triggerHandler("getData"+i,[r[0]]))===T&&s&&(u=N.data(s,n),u=ce(s,n,u)),u===T&&r[1]?this.data(r[0]):u;r[1]=t,this.each(function(){var e=N(this);e.triggerHandler("setData"+i,r),N.data(this,n,t),e.triggerHandler("changeData"+i,r)})},null,e,1<arguments.length,null,!1));if(this.length&&(u=N.data(s),1===s.nodeType&&!N._data(s,"parsedAttrs"))){for(a=(t=s.attributes).length;l<a;l++)0===(o=t[l].name).indexOf("data-")&&(o=N.camelCase(o.substring(5)),ce(s,o,u[o]));N._data(s,"parsedAttrs",!0)}return u},removeData:function(e){return this.each(function(){N.removeData(this,e)})}}),N.extend({queue:function(e,t,n){var r;if(e)return r=N._data(e,t=(t||"fx")+"queue"),n&&(!r||N.isArray(n)?r=N._data(e,t,N.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=N.queue(e,t),r=n.shift(),i=N._queueHooks(e,t);(r="inprogress"===r?n.shift():r)&&("fx"===t&&n.unshift("inprogress"),delete i.stop,r.call(e,function(){N.dequeue(e,t)},i)),!n.length&&i&&i.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return N._data(e,n)||N._data(e,n,{empty:N.Callbacks("once memory").add(function(){N.removeData(e,t+"queue",!0),N.removeData(e,n,!0)})})}}),N.fn.extend({queue:function(t,n){var e=2;return"string"!=typeof t&&(n=t,t="fx",e--),arguments.length<e?N.queue(this[0],t):n===T?this:this.each(function(){var e=N.queue(this,t,n);N._queueHooks(this,t),"fx"===t&&"inprogress"!==e[0]&&N.dequeue(this,t)})},dequeue:function(e){return this.each(function(){N.dequeue(this,e)})},delay:function(r,e){return r=N.fx&&N.fx.speeds[r]||r,this.queue(e=e||"fx",function(e,t){var n=setTimeout(e,r);t.stop=function(){clearTimeout(n)}})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){function n(){--i||o.resolveWith(a,[a])}var r,i=1,o=N.Deferred(),a=this,s=this.length;for("string"!=typeof e&&(t=e,e=T),e=e||"fx";s--;)(r=N._data(a[s],e+"queueHooks"))&&r.empty&&(i++,r.empty.add(n));return n(),o.promise(t)}});function pe(e){return N.event.special.hover?e:e.replace(Ce,"mouseenter$1 mouseleave$1")}var s,de,he,ge=/[\t\r\n]/g,me=/\r/g,ye=/^(?:button|input)$/i,ve=/^(?:button|input|object|select|textarea)$/i,be=/^a(?:rea|)$/i,xe=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,we=N.support.getSetAttribute,Te=(N.fn.extend({attr:function(e,t){return N.access(this,N.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each(function(){N.removeAttr(this,e)})},prop:function(e,t){return N.access(this,N.prop,e,t,1<arguments.length)},removeProp:function(e){return e=N.propFix[e]||e,this.each(function(){try{this[e]=T,delete this[e]}catch(e){}})},addClass:function(t){var e,n,r,i,o,a,s;if(N.isFunction(t))return this.each(function(e){N(this).addClass(t.call(this,e,this.className))});if(t&&"string"==typeof t)for(e=t.split(C),n=0,r=this.length;n<r;n++)if(1===(i=this[n]).nodeType)if(i.className||1!==e.length){for(o=" "+i.className+" ",a=0,s=e.length;a<s;a++)~o.indexOf(" "+e[a]+" ")||(o+=e[a]+" ");i.className=N.trim(o)}else i.className=t;return this},removeClass:function(t){var e,n,r,i,o,a,s;if(N.isFunction(t))return this.each(function(e){N(this).removeClass(t.call(this,e,this.className))});if(t&&"string"==typeof t||t===T)for(e=(t||"").split(C),a=0,s=this.length;a<s;a++)if(1===(r=this[a]).nodeType&&r.className){for(n=(" "+r.className+" ").replace(ge," "),i=0,o=e.length;i<o;i++)for(;-1<n.indexOf(" "+e[i]+" ");)n=n.replace(" "+e[i]+" "," ");r.className=t?N.trim(n):""}return this},toggleClass:function(o,a){var s=typeof o,l="boolean"==typeof a;return N.isFunction(o)?this.each(function(e){N(this).toggleClass(o.call(this,e,this.className,a),a)}):this.each(function(){if("string"==s)for(var e,t=0,n=N(this),r=a,i=o.split(C);e=i[t++];)r=l?r:!n.hasClass(e),n[r?"addClass":"removeClass"](e);else"undefined"!=s&&"boolean"!=s||(this.className&&N._data(this,"__className__",this.className),this.className=!this.className&&!1!==o&&N._data(this,"__className__")||"")})},hasClass:function(e){for(var t=" "+e+" ",n=0,r=this.length;n<r;n++)if(1===this[n].nodeType&&-1<(" "+this[n].className+" ").replace(ge," ").indexOf(t))return!0;return!1},val:function(n){var r,e,i,t=this[0];return arguments.length?(i=N.isFunction(n),this.each(function(e){var t=N(this);1===this.nodeType&&(null==(e=i?n.call(this,e,t.val()):n)?e="":"number"==typeof e?e+="":N.isArray(e)&&(e=N.map(e,function(e){return null==e?"":e+""})),(r=N.valHooks[this.type]||N.valHooks[this.nodeName.toLowerCase()])&&"set"in r&&r.set(this,e,"value")!==T||(this.value=e))})):t?(r=N.valHooks[t.type]||N.valHooks[t.nodeName.toLowerCase()])&&"get"in r&&(e=r.get(t,"value"))!==T?e:"string"==typeof(e=t.value)?e.replace(me,""):null==e?"":e:void 0}}),N.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=e.selectedIndex,o=[],a=e.options,s="select-one"===e.type;if(i<0)return null;for(t=s?i:0,n=s?i+1:a.length;t<n;t++)if((r=a[t]).selected&&(N.support.optDisabled?!r.disabled:null===r.getAttribute("disabled"))&&(!r.parentNode.disabled||!N.nodeName(r.parentNode,"optgroup"))){if(r=N(r).val(),s)return r;o.push(r)}return s&&!o.length&&a.length?N(a[i]).val():o},set:function(e,t){var n=N.makeArray(t);return N(e).find("option").each(function(){this.selected=0<=N.inArray(N(this).val(),n)}),n.length||(e.selectedIndex=-1),n}}},attrFn:{},attr:function(e,t,n,r){var i,o,a=e.nodeType;if(e&&3!==a&&8!==a&&2!==a)return r&&N.isFunction(N.fn[t])?N(e)[t](n):void 0===e.getAttribute?N.prop(e,t,n):((r=1!==a||!N.isXMLDoc(e))&&(t=t.toLowerCase(),o=N.attrHooks[t]||(xe.test(t)?de:s)),n===T?!(o&&"get"in o&&r&&null!==(i=o.get(e,t)))&&null===(i=e.getAttribute(t))?T:i:null!==n?o&&"set"in o&&r&&(i=o.set(e,n,t))!==T?i:(e.setAttribute(t,""+n),n):void N.removeAttr(e,t))},removeAttr:function(e,t){var n,r,i,o,a=0;if(t&&1===e.nodeType)for(r=t.split(C);a<r.length;a++)(i=r[a])&&(n=N.propFix[i]||i,(o=xe.test(i))||N.attr(e,i,""),e.removeAttribute(we?i:n),o&&n in e&&(e[n]=!1))},attrHooks:{type:{set:function(e,t){var n;if(ye.test(e.nodeName)&&e.parentNode)N.error("type property can't be changed");else if(!N.support.radioValue&&"radio"===t&&N.nodeName(e,"input"))return n=e.value,e.setAttribute("type",t),n&&(e.value=n),t}},value:{get:function(e,t){return s&&N.nodeName(e,"button")?s.get(e,t):t in e?e.value:null},set:function(e,t,n){if(s&&N.nodeName(e,"button"))return s.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,t,n){var r,i,o=e.nodeType;if(e&&3!==o&&8!==o&&2!==o)return(1!==o||!N.isXMLDoc(e))&&(t=N.propFix[t]||t,i=N.propHooks[t]),n!==T?i&&"set"in i&&(r=i.set(e,n,t))!==T?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=e.getAttributeNode("tabindex");return t&&t.specified?parseInt(t.value,10):ve.test(e.nodeName)||be.test(e.nodeName)&&e.href?0:T}}}}),de={get:function(e,t){var n=N.prop(e,t);return!0===n||"boolean"!=typeof n&&(n=e.getAttributeNode(t))&&!1!==n.nodeValue?t.toLowerCase():T},set:function(e,t,n){return!1===t?N.removeAttr(e,n):((t=N.propFix[n]||n)in e&&(e[t]=!0),e.setAttribute(n,n.toLowerCase())),n}},we||(he={name:!0,id:!0,coords:!0},s=N.valHooks.button={get:function(e,t){e=e.getAttributeNode(t);return e&&(he[t]?""!==e.value:e.specified)?e.value:T},set:function(e,t,n){var r=e.getAttributeNode(n);return r||(r=v.createAttribute(n),e.setAttributeNode(r)),r.value=t+""}},N.each(["width","height"],function(e,n){N.attrHooks[n]=N.extend(N.attrHooks[n],{set:function(e,t){if(""===t)return e.setAttribute(n,"auto"),t}})}),N.attrHooks.contenteditable={get:s.get,set:function(e,t,n){s.set(e,t=""===t?"false":t,n)}}),N.support.hrefNormalized||N.each(["href","src","width","height"],function(e,t){N.attrHooks[t]=N.extend(N.attrHooks[t],{get:function(e){e=e.getAttribute(t,2);return null===e?T:e}})}),N.support.style||(N.attrHooks.style={get:function(e){return e.style.cssText.toLowerCase()||T},set:function(e,t){return e.style.cssText=""+t}}),N.support.optSelected||(N.propHooks.selected=N.extend(N.propHooks.selected,{get:function(e){e=e.parentNode;return e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex),null}})),N.support.enctype||(N.propFix.enctype="encoding"),N.support.checkOn||N.each(["radio","checkbox"],function(){N.valHooks[this]={get:function(e){return null===e.getAttribute("value")?"on":e.value}}}),N.each(["radio","checkbox"],function(){N.valHooks[this]=N.extend(N.valHooks[this],{set:function(e,t){if(N.isArray(t))return e.checked=0<=N.inArray(N(e).val(),t)}})}),/^(?:textarea|input|select)$/i),Ne=/^([^\.]*|)(?:\.(.+)|)$/,Ce=/(?:^|\s)hover(\.\S+|)\b/,Ee=/^key/,ke=/^(?:mouse|contextmenu)|click/,Se=/^(?:focusinfocus|focusoutblur)$/;function l(){return!1}function Ae(){return!0}N.event={add:function(e,t,n,r,i){var o,a,s,l,u,c,f,p,d,h;if(3!==e.nodeType&&8!==e.nodeType&&t&&n&&(o=N._data(e)))for(n.handler&&(n=(p=n).handler,i=p.selector),n.guid||(n.guid=N.guid++),(s=o.events)||(o.events=s={}),(a=o.handle)||(o.handle=a=function(e){return void 0===N||e&&N.event.triggered===e.type?T:N.event.dispatch.apply(a.elem,arguments)},a.elem=e),t=N.trim(pe(t)).split(" "),l=0;l<t.length;l++)u=(f=Ne.exec(t[l])||[])[1],c=(f[2]||"").split(".").sort(),h=N.event.special[u]||{},u=(i?h.delegateType:h.bindType)||u,h=N.event.special[u]||{},f=N.extend({type:u,origType:f[1],data:r,handler:n,guid:n.guid,selector:i,namespace:c.join(".")},p),(d=s[u])||((d=s[u]=[]).delegateCount=0,h.setup&&!1!==h.setup.call(e,r,c,a)||(e.addEventListener?e.addEventListener(u,a,!1):e.attachEvent&&e.attachEvent("on"+u,a))),h.add&&(h.add.call(e,f),f.handler.guid||(f.handler.guid=n.guid)),i?d.splice(d.delegateCount++,0,f):d.push(f),N.event.global[u]=!0},global:{},remove:function(e,t,n,r,i){var o,a,s,l,u,c,f,p,d,h,g=N.hasData(e)&&N._data(e);if(g&&(f=g.events)){for(t=N.trim(pe(t||"")).split(" "),o=0;o<t.length;o++)if(a=s=(u=Ne.exec(t[o])||[])[1],l=u[2],a){for(p=N.event.special[a]||{},u=(d=f[a=(r?p.delegateType:p.bindType)||a]||[]).length,l=l?new RegExp("(^|\\.)"+l.split(".").sort().join("\\.(?:.*\\.|)")+"(\\.|$)"):null,c=0;c<d.length;c++)h=d[c],!i&&s!==h.origType||n&&n.guid!==h.guid||l&&!l.test(h.namespace)||r&&r!==h.selector&&("**"!==r||!h.selector)||(d.splice(c--,1),h.selector&&d.delegateCount--,p.remove&&p.remove.call(e,h));0===d.length&&u!==d.length&&(p.teardown&&!1!==p.teardown.call(e,l,g.handle)||N.removeEvent(e,a,g.handle),delete f[a])}else for(a in f)N.event.remove(e,a+t[o],n,r,!0);N.isEmptyObject(f)&&(delete g.handle,N.removeData(e,"events",!0))}},customEvent:{getData:!0,setData:!0,changeData:!0},trigger:function(e,t,n,r){if(!n||3!==n.nodeType&&8!==n.nodeType){var i,o,a,s,l,u,c,f,p,d=e.type||e,h=[];if(!Se.test(d+N.event.triggered)&&(0<=d.indexOf("!")&&(d=d.slice(0,-1),u=!0),0<=d.indexOf(".")&&(d=(h=d.split(".")).shift(),h.sort()),n&&!N.event.customEvent[d]||N.event.global[d]))if((e="object"==typeof e?e[N.expando]?e:new N.Event(d,e):new N.Event(d)).type=d,e.isTrigger=!0,e.exclusive=u,e.namespace=h.join("."),e.namespace_re=e.namespace?new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,l=d.indexOf(":")<0?"on"+d:"",n){if(e.result=T,e.target||(e.target=n),(t=null!=t?N.makeArray(t):[]).unshift(e),!(u=N.event.special[d]||{}).trigger||!1!==u.trigger.apply(n,t)){if(f=[[n,u.bindType||d]],!r&&!u.noBubble&&!N.isWindow(n)){for(p=u.delegateType||d,a=Se.test(p+d)?n:n.parentNode,s=n;a;a=a.parentNode)f.push([a,p]),s=a;s===(n.ownerDocument||v)&&f.push([s.defaultView||s.parentWindow||y,p])}for(o=0;o<f.length&&!e.isPropagationStopped();o++)a=f[o][0],e.type=f[o][1],(c=(N._data(a,"events")||{})[e.type]&&N._data(a,"handle"))&&c.apply(a,t),(c=l&&a[l])&&N.acceptData(a)&&!1===c.apply(a,t)&&e.preventDefault();return e.type=d,r||e.isDefaultPrevented()||u._default&&!1!==u._default.apply(n.ownerDocument,t)||"click"===d&&N.nodeName(n,"a")||!N.acceptData(n)||l&&n[d]&&("focus"!==d&&"blur"!==d||0!==e.target.offsetWidth)&&!N.isWindow(n)&&((s=n[l])&&(n[l]=null),n[N.event.triggered=d](),N.event.triggered=T,s&&(n[l]=s)),e.result}}else for(o in i=N.cache)i[o].events&&i[o].events[d]&&N.event.trigger(e,t,i[o].handle.elem,!0)}},dispatch:function(e){e=N.event.fix(e||y.event);var t,n,r,i,o,a,s,l,u,c,f=(N._data(this,"events")||{})[e.type]||[],p=f.delegateCount,d=[].slice.call(arguments),h=!e.exclusive&&!e.namespace,g=N.event.special[e.type]||{},m=[];if((d[0]=e).delegateTarget=this,!g.preDispatch||!1!==g.preDispatch.call(this,e)){if(p&&(!e.button||"click"!==e.type))for((i=N(this)).context=this,r=e.target;r!=this;r=r.parentNode||this)if(!0!==r.disabled||"click"!==e.type){for(a={},l=[],i[0]=r,t=0;t<p;t++)a[c=(u=f[t]).selector]===T&&(a[c]=i.is(c)),a[c]&&l.push(u);l.length&&m.push({elem:r,matches:l})}for(f.length>p&&m.push({elem:this,matches:f.slice(p)}),t=0;t<m.length&&!e.isPropagationStopped();t++)for(s=m[t],e.currentTarget=s.elem,n=0;n<s.matches.length&&!e.isImmediatePropagationStopped();n++)u=s.matches[n],(h||!e.namespace&&!u.namespace||e.namespace_re&&e.namespace_re.test(u.namespace))&&(e.data=u.data,e.handleObj=u,(o=((N.event.special[u.origType]||{}).handle||u.handler).apply(s.elem,d))!==T&&!1===(e.result=o)&&(e.preventDefault(),e.stopPropagation()));return g.postDispatch&&g.postDispatch.call(this,e),e.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 null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,t){var n,r,i=t.button,o=t.fromElement;return null==e.pageX&&null!=t.clientX&&(n=(r=e.target.ownerDocument||v).documentElement,r=r.body,e.pageX=t.clientX+(n&&n.scrollLeft||r&&r.scrollLeft||0)-(n&&n.clientLeft||r&&r.clientLeft||0),e.pageY=t.clientY+(n&&n.scrollTop||r&&r.scrollTop||0)-(n&&n.clientTop||r&&r.clientTop||0)),!e.relatedTarget&&o&&(e.relatedTarget=o===e.target?t.toElement:o),e.which||i===T||(e.which=1&i?1:2&i?3:4&i?2:0),e}},fix:function(e){if(e[N.expando])return e;var t,n,r=e,i=N.event.fixHooks[e.type]||{},o=i.props?this.props.concat(i.props):this.props;for(e=N.Event(r),t=o.length;t;)e[n=o[--t]]=r[n];return e.target||(e.target=r.srcElement||v),3===e.target.nodeType&&(e.target=e.target.parentNode),e.metaKey=!!e.metaKey,i.filter?i.filter(e,r):e},special:{ready:{setup:N.bindReady},load:{noBubble:!0},focus:{delegateType:"focusin"},blur:{delegateType:"focusout"},beforeunload:{setup:function(e,t,n){N.isWindow(this)&&(this.onbeforeunload=n)},teardown:function(e,t){this.onbeforeunload===t&&(this.onbeforeunload=null)}}},simulate:function(e,t,n,r){e=N.extend(new N.Event,n,{type:e,isSimulated:!0,originalEvent:{}});r?N.event.trigger(e,null,t):N.event.dispatch.call(t,e),e.isDefaultPrevented()&&n.preventDefault()}},N.event.handle=N.event.dispatch,N.removeEvent=v.removeEventListener?function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n,!1)}:function(e,t,n){t="on"+t;e.detachEvent&&(void 0===e[t]&&(e[t]=null),e.detachEvent(t,n))},N.Event=function(e,t){if(!(this instanceof N.Event))return new N.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||!1===e.returnValue||e.getPreventDefault&&e.getPreventDefault()?Ae:l):this.type=e,t&&N.extend(this,t),this.timeStamp=e&&e.timeStamp||N.now(),this[N.expando]=!0},N.Event.prototype={preventDefault:function(){this.isDefaultPrevented=Ae;var e=this.originalEvent;e&&(e.preventDefault?e.preventDefault():e.returnValue=!1)},stopPropagation:function(){this.isPropagationStopped=Ae;var e=this.originalEvent;e&&(e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=Ae,this.stopPropagation()},isDefaultPrevented:l,isPropagationStopped:l,isImmediatePropagationStopped:l},N.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(e,i){N.event.special[e]={delegateType:i,bindType:i,handle:function(e){var t,n=e.relatedTarget,r=e.handleObj;r.selector;return n&&(n===this||N.contains(this,n))||(e.type=r.origType,t=r.handler.apply(this,arguments),e.type=i),t}}}),N.support.submitBubbles||(N.event.special.submit={setup:function(){if(N.nodeName(this,"form"))return!1;N.event.add(this,"click._submit keypress._submit",function(e){e=e.target,e=N.nodeName(e,"input")||N.nodeName(e,"button")?e.form:T;e&&!N._data(e,"_submit_attached")&&(N.event.add(e,"submit._submit",function(e){e._submit_bubble=!0}),N._data(e,"_submit_attached",!0))})},postDispatch:function(e){e._submit_bubble&&(delete e._submit_bubble,this.parentNode&&!e.isTrigger&&N.event.simulate("submit",this.parentNode,e,!0))},teardown:function(){if(N.nodeName(this,"form"))return!1;N.event.remove(this,"._submit")}}),N.support.changeBubbles||(N.event.special.change={setup:function(){if(Te.test(this.nodeName))return"checkbox"!==this.type&&"radio"!==this.type||(N.event.add(this,"propertychange._change",function(e){"checked"===e.originalEvent.propertyName&&(this._just_changed=!0)}),N.event.add(this,"click._change",function(e){this._just_changed&&!e.isTrigger&&(this._just_changed=!1),N.event.simulate("change",this,e,!0)})),!1;N.event.add(this,"beforeactivate._change",function(e){e=e.target;Te.test(e.nodeName)&&!N._data(e,"_change_attached")&&(N.event.add(e,"change._change",function(e){!this.parentNode||e.isSimulated||e.isTrigger||N.event.simulate("change",this.parentNode,e,!0)}),N._data(e,"_change_attached",!0))})},handle:function(e){var t=e.target;if(this!==t||e.isSimulated||e.isTrigger||"radio"!==t.type&&"checkbox"!==t.type)return e.handleObj.handler.apply(this,arguments)},teardown:function(){return N.event.remove(this,"._change"),Te.test(this.nodeName)}}),N.support.focusinBubbles||N.each({focus:"focusin",blur:"focusout"},function(e,t){function n(e){N.event.simulate(t,e.target,N.event.fix(e),!0)}var r=0;N.event.special[t]={setup:function(){0==r++&&v.addEventListener(e,n,!0)},teardown:function(){0==--r&&v.removeEventListener(e,n,!0)}}}),N.fn.extend({on:function(e,t,n,r,i){var o,a;if("object"==typeof e){for(a in"string"!=typeof t&&(n=n||t,t=T),e)this.on(a,t,n,e[a],i);return this}if(null==n&&null==r?(r=t,n=t=T):null==r&&("string"==typeof t?(r=n,n=T):(r=n,n=t,t=T)),!1===r)r=l;else if(!r)return this;return 1===i&&(o=r,(r=function(e){return N().off(e),o.apply(this,arguments)}).guid=o.guid||(o.guid=N.guid++)),this.each(function(){N.event.add(this,e,r,n,t)})},one:function(e,t,n,r){return this.on(e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,N(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"!=typeof e)return!1!==t&&"function"!=typeof t||(n=t,t=T),!1===n&&(n=l),this.each(function(){N.event.remove(this,e,n,t)});for(i in e)this.off(i,t,e[i]);return this},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 N(this.context).on(e,this.selector,t,n),this},die:function(e,t){return N(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 1==arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},trigger:function(e,t){return this.each(function(){N.event.trigger(e,t,this)})},triggerHandler:function(e,t){if(this[0])return N.event.trigger(e,t,this[0],!0)},toggle:function(n){function e(e){var t=(N._data(this,"lastToggle"+n.guid)||0)%i;return N._data(this,"lastToggle"+n.guid,1+t),e.preventDefault(),r[t].apply(this,arguments)||!1}var r=arguments,t=n.guid||N.guid++,i=0;for(e.guid=t;i<r.length;)r[i++].guid=t;return this.click(e)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),N.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(e,n){N.fn[n]=function(e,t){return null==t&&(t=e,e=null),0<arguments.length?this.on(n,null,e,t):this.trigger(n)},Ee.test(n)&&(N.event.fixHooks[n]=N.event.keyHooks),ke.test(n)&&(N.event.fixHooks[n]=N.event.mouseHooks)});var je=void 0;function De(e){return e.sizzleFilter=!0,e}function e(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function Le(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function t(e){var t=!1,n=h.createElement("div");try{t=e(n)}catch(e){}return n=null,t}var He,Fe,Me,f,Oe,h=y.document,n=h.documentElement,r="undefined",_e=!1,qe=!0,Be=0,b=[].slice,E=[].push,u=("sizcache"+Math.random()).replace(".",""),k="[\\x20\\t\\r\\n\\f]",i=(p="(?:\\\\.|[-\\w]|[^\\x00-\\xa0])+").replace("w","w#"),o=":("+p+")(?:\\((?:(['\"])((?:\\\\.|[^\\\\])*?)\\2|((?:[^,]|\\\\,|(?:,(?=[^\\[]*\\]))|(?:,(?=[^\\(]*\\))))*))\\)|)",a=":(nth|eq|gt|lt|first|last|even|odd)(?:\\((\\d*)\\)|)(?=[^-]|$)",We=k+"*([\\x20\\t\\r\\n\\f>+~])"+k+"*",Pe="(?=[^\\x20\\t\\r\\n\\f])(?:\\\\.|"+(i="\\["+k+"*("+p+")"+k+"*(?:([*^$|!~]?=)"+k+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+i+")|)|)"+k+"*\\]")+"|"+o.replace(2,7)+"|[^\\\\(),])+",Re=new RegExp("^"+k+"+|((?:^|[^\\\\])(?:\\\\.)*)"+k+"+$","g"),$e=new RegExp("^"+We),Ie=new RegExp(Pe+"?(?="+k+"*,|$)","g"),ze=new RegExp("^(?:(?!,)(?:(?:^|,)"+k+"*"+Pe+")*?|"+k+"*(.*?))(\\)|$)"),Xe=new RegExp(Pe.slice(19,-6)+"\\x20\\t\\r\\n\\f>+~])+|"+We,"g"),Ue=/^(?:#([\w\-]+)|(\w+)|\.([\w\-]+))$/,Ye=/[\x20\t\r\n\f]*[+~]/,Je=/:not\($/,Ve=/h\d/i,Ge=/input|select|textarea|button/i,x=/\\(?!\\)/g,S={ID:new RegExp("^#("+p+")"),CLASS:new RegExp("^\\.("+p+")"),NAME:new RegExp("^\\[name=['\"]?("+p+")['\"]?\\]"),TAG:new RegExp("^("+p.replace("[-","[-\\*")+")"),ATTR:new RegExp("^"+i),PSEUDO:new RegExp("^"+o),CHILD:new RegExp("^:(only|nth|last|first)-child(?:\\("+k+"*(even|odd|(([+-]|)(\\d*)n|)"+k+"*(?:([+-]|)"+k+"*(\\d+)|))"+k+"*\\)|)","i"),POS:new RegExp(a,"ig"),needsContext:new RegExp("^"+k+"*[>+~]|"+a,"i")},Qe={},Ke=[],Ze={},et=[],tt=t(function(e){e.innerHTML="<select></select>";e=typeof e.lastChild.getAttribute("multiple");return"boolean"!=e&&"string"!=e}),Pe=t(function(e){e.id=u+0,e.innerHTML="<a name='"+u+"'></a><div name='"+u+"'></div>",n.insertBefore(e,n.firstChild);var t=h.getElementsByName&&h.getElementsByName(u).length===2+h.getElementsByName(u+0).length;return Oe=!h.getElementById(u),n.removeChild(e),t}),We=t(function(e){return e.appendChild(h.createComment("")),0===e.getElementsByTagName("*").length}),p=t(function(e){return e.innerHTML="<a href='#'></a>",e.firstChild&&typeof e.firstChild.getAttribute!=r&&"#"===e.firstChild.getAttribute("href")}),nt=t(function(e){return e.innerHTML="<div class='hidden e'></div><div class='hidden'></div>",!(!e.getElementsByClassName||0===e.getElementsByClassName("e").length)&&(e.lastChild.className="e",1!==e.getElementsByClassName("e").length)}),A=function(e,t,n,r){n=n||[];var i,o,a,s,l=(t=t||h).nodeType;if(1!==l&&9!==l)return[];if(!e||"string"!=typeof e)return n;if(!(a=rt(t))&&!r&&(i=Ue.exec(e)))if(s=i[1]){if(9===l){if(!(o=t.getElementById(s))||!o.parentNode)return n;if(o.id===s)return n.push(o),n}else if(t.ownerDocument&&(o=t.ownerDocument.getElementById(s))&&it(t,o)&&o.id===s)return n.push(o),n}else{if(i[2])return E.apply(n,b.call(t.getElementsByTagName(e),0)),n;if((s=i[3])&&nt&&t.getElementsByClassName)return E.apply(n,b.call(t.getElementsByClassName(s),0)),n}return gt(e,t,n,r,a)},j=A.selectors={cacheLength:50,match:S,order:["ID","TAG"],attrHandle:{},createPseudo:De,find:{ID:Oe?function(e,t,n){if(typeof t.getElementById!=r&&!n)return(n=t.getElementById(e))&&n.parentNode?[n]:[]}:function(e,t,n){if(typeof t.getElementById!=r&&!n)return(n=t.getElementById(e))?n.id===e||typeof n.getAttributeNode!=r&&n.getAttributeNode("id").value===e?[n]:je:[]},TAG:We?function(e,t){if(typeof t.getElementsByTagName!=r)return t.getElementsByTagName(e)}:function(e,t){var n=t.getElementsByTagName(e);if("*"!==e)return n;for(var r,i=[],o=0;r=n[o];o++)1===r.nodeType&&i.push(r);return i}},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(x,""),e[3]=(e[4]||e[5]||"").replace(x,""),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1]?(e[2]||A.error(e[0]),e[3]=+(e[3]?e[4]+(e[5]||1):2*("even"===e[2]||"odd"===e[2])),e[4]=+(e[6]+e[7]||"odd"===e[2])):e[2]&&A.error(e[0]),e},PSEUDO:function(e){var t,n=e[4];return S.CHILD.test(e[0])?null:(n&&(t=ze.exec(n))&&t.pop()&&(e[0]=e[0].slice(0,t[0].length-n.length-1),n=t[0].slice(0,-1)),e.splice(2,3,n||e[3]),e)}},filter:{ID:Oe?function(t){return t=t.replace(x,""),function(e){return e.getAttribute("id")===t}}:function(t){return t=t.replace(x,""),function(e){e=typeof e.getAttributeNode!=r&&e.getAttributeNode("id");return e&&e.value===t}},TAG:function(t){return"*"===t?function(){return!0}:(t=t.replace(x,"").toLowerCase(),function(e){return e.nodeName&&e.nodeName.toLowerCase()===t})},CLASS:function(e){var t=Qe[e];return t||(t=Qe[e]=new RegExp("(^|"+k+")"+e+"("+k+"|$)"),Ke.push(e),Ke.length>j.cacheLength&&delete Qe[Ke.shift()]),function(e){return t.test(e.className||typeof e.getAttribute!=r&&e.getAttribute("class")||"")}},ATTR:function(n,r,i){return r?function(e){var e=A.attr(e,n),t=e+"";if(null==e)return"!="===r;switch(r){case"=":return t===i;case"!=":return t!==i;case"^=":return i&&0===t.indexOf(i);case"*=":return i&&-1<t.indexOf(i);case"$=":return i&&t.substr(t.length-i.length)===i;case"~=":return-1<(" "+t+" ").indexOf(i);case"|=":return t===i||t.substr(0,i.length+1)===i+"-"}}:function(e){return null!=A.attr(e,n)}},CHILD:function(n,e,i,o){var a;return"nth"===n?(a=Be++,function(e){var t,n=0,r=e;if(1===i&&0===o)return!0;if((t=e.parentNode)&&(t[u]!==a||!e.sizset)){for(r=t.firstChild;r&&(1!==r.nodeType||(r.sizset=++n,r!==e));r=r.nextSibling);t[u]=a}return t=e.sizset-o,0===i?0==t:t%i==0&&0<=t/i}):function(e){var t=e;switch(n){case"only":case"first":for(;t=t.previousSibling;)if(1===t.nodeType)return!1;if("first"===n)return!0;t=e;case"last":for(;t=t.nextSibling;)if(1===t.nodeType)return!1;return!0}}},PSEUDO:function(e,t,n,r){var i=j.pseudos[e]||j.pseudos[e.toLowerCase()];return i||A.error("unsupported pseudo: "+e),i.sizzleFilter?i(t,n,r):i}},pseudos:{not:De(function(e,t,n){var r=ht(e.replace(Re,"$1"),t,n);return function(e){return!r(e)}}),enabled:function(e){return!1===e.disabled},disabled:function(e){return!0===e.disabled},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},parent:function(e){return!j.pseudos.empty(e)},empty:function(e){var t;for(e=e.firstChild;e;){if("@"<e.nodeName||3===(t=e.nodeType)||4===t)return!1;e=e.nextSibling}return!0},contains:De(function(t){return function(e){return-1<(e.textContent||e.innerText||ot(e)).indexOf(t)}}),has:De(function(t){return function(e){return 0<A(t,e).length}}),header:function(e){return Ve.test(e.nodeName)},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===(t=e.type)&&(null==(e=e.getAttribute("type"))||e.toLowerCase()===t)},radio:e("radio"),checkbox:e("checkbox"),file:e("file"),password:e("password"),image:e("image"),submit:Le("submit"),reset:Le("reset"),button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},input:function(e){return Ge.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}},setFilters:{first:function(e,t,n){return n?e.slice(1):[e[0]]},last:function(e,t,n){var r=e.pop();return n?e:[r]},even:function(e,t,n){for(var r=[],i=n?1:0,o=e.length;i<o;i+=2)r.push(e[i]);return r},odd:function(e,t,n){for(var r=[],i=n?0:1,o=e.length;i<o;i+=2)r.push(e[i]);return r},lt:function(e,t,n){return n?e.slice(+t):e.slice(0,+t)},gt:function(e,t,n){return n?e.slice(0,+t+1):e.slice(+t+1)},eq:function(e,t,n){t=e.splice(+t,1);return n?e:t}}};j.setFilters.nth=j.setFilters.eq,j.filters=j.pseudos,p||(j.attrHandle={href:function(e){return e.getAttribute("href",2)},type:function(e){return e.getAttribute("type")}}),Pe&&(j.order.push("NAME"),j.find.NAME=function(e,t){if(typeof t.getElementsByName!=r)return t.getElementsByName(e)}),nt&&(j.order.splice(1,0,"CLASS"),j.find.CLASS=function(e,t,n){if(typeof t.getElementsByClassName!=r&&!n)return t.getElementsByClassName(e)});try{b.call(n.childNodes,0)[0].nodeType}catch(e){b=function(e){for(var t,n=[];t=this[e];e++)n.push(t);return n}}var rt=A.isXML=function(e){e=e&&(e.ownerDocument||e).documentElement;return!!e&&"HTML"!==e.nodeName},it=A.contains=n.compareDocumentPosition?function(e,t){return!!(16&e.compareDocumentPosition(t))}:n.contains?function(e,t){var n=9===e.nodeType?e.documentElement:e,t=t.parentNode;return e===t||!!(t&&1===t.nodeType&&n.contains&&n.contains(t))}:function(e,t){for(;t=t.parentNode;)if(t===e)return!0;return!1},ot=A.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=ot(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r];r++)n+=ot(t);return n};function at(e,t,n,r){for(var i=0,o=t.length;i<o;i++)A(e,t[i],n,r)}function st(e,t,n,r,i){function o(){for(var e=1,t=arguments.length-2;e<t;e++)arguments[e]===je&&(a[e]=je)}for(var a,s,l,u,c,f,p,d,h,g,m,y,v,b=0,x=i.length,w=S.POS,T=new RegExp("^"+w.source+"(?!"+k+")","i");b<x;b++){for(w.exec(""),e=i[b],l=[],s=0,u=r;a=w.exec(e);)s<(h=w.lastIndex=a.index+a[0].length)&&(c=e.slice(s,a.index),s=h,h=[t],$e.test(c)&&(u&&(h=u),u=r),(m=Je.test(c))&&(c=c.slice(0,-5).replace($e,"$&*")),1<a.length&&a[0].replace(T,o),f=c,p=a[1],d=a[2],h=h,g=u,m=m,v=y=void 0,(v=j.setFilters[p.toLowerCase()])||A.error(p),!f&&(y=g)||at(f||"*",h,y=[],g),u=0<y.length?v(y,d,m):[]);u?(l=l.concat(u),(c=e.slice(s))&&")"!==c?$e.test(c)?at(c,l,n,r):A(c,t,n,r?r.concat(u):u):E.apply(n,l)):A(e,t,n,r)}return 1===x?n:A.uniqueSort(n)}function lt(e,t,n){for(var r,i,o=0;r=e[o];o++)i=j.relative[r.part]?function(o,e,t){var a=e.dir,s=Be++;return o=o||function(e){return e===t},e.first?function(e,t){for(;e=e[a];)if(1===e.nodeType)return o(e,t)&&e}:function(e,t){for(var n,r=s+"."+Fe,i=r+"."+He;e=e[a];)if(1===e.nodeType){if((n=e[u])===i)return e.sizset;if("string"==typeof n&&0===n.indexOf(r)){if(e.sizset)return e}else{if(e[u]=i,o(e,t))return e.sizset=!0,e;e.sizset=!1}}}}(i,j.relative[r.part],t):(r.captures.push(t,n),function(r,i){return r?function(e,t){var n=i(e,t);return n&&r(!0===n?e:n,t)}:i}(i,j.filter[r.part].apply(null,r.captures)));return i}A.attr=function(e,t){var n=rt(e);return n||(t=t.toLowerCase()),j.attrHandle[t]?j.attrHandle[t](e):tt||n?e.getAttribute(t):(n=e.getAttributeNode(t))?"boolean"==typeof e[t]?e[t]?t:null:n.specified?n.value:null:null},A.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},[0,0].sort(function(){return qe=0}),n.compareDocumentPosition?Me=function(e,t){return e===t?(_e=!0,0):(e.compareDocumentPosition&&t.compareDocumentPosition?4&e.compareDocumentPosition(t):e.compareDocumentPosition)?-1:1}:(Me=function(e,t){if(e===t)return _e=!0,0;if(e.sourceIndex&&t.sourceIndex)return e.sourceIndex-t.sourceIndex;var n=[],r=[],i=e.parentNode,o=t.parentNode,a=i;if(i===o)return f(e,t);if(!i)return-1;if(!o)return 1;for(;a;)n.unshift(a),a=a.parentNode;for(a=o;a;)r.unshift(a),a=a.parentNode;for(var s=n.length,l=r.length,u=0;u<s&&u<l;u++)if(n[u]!==r[u])return f(n[u],r[u]);return u===s?f(e,r[u],-1):f(n[u],t,1)},f=function(e,t,n){if(e===t)return n;for(var r=e.nextSibling;r;){if(r===t)return-1;r=r.nextSibling}return 1}),A.uniqueSort=function(e){var t,n=1;if(Me&&(_e=qe,e.sort(Me),_e))for(;t=e[n];n++)t===e[n-1]&&e.splice(n--,1);return e};var ut,ct,ft,pt,d,g,dt,ht=A.compile=function(e,t,n){var r,i,o,a,s=Ze[e];if(s&&s.context===t)return s;for(i=function(e,t,n){for(var r,i,o,a=[],s=0,l=ze.exec(e),u=!l.pop()&&!l.pop(),c=u&&e.match(Ie)||[""],f=j.preFilter,p=j.filter,d=!n&&t!==h;null!=(i=c[s])&&u;s++)for(a.push(r=[]),d&&(i=" "+i);i;){for(o in u=!1,(l=$e.exec(i))&&(i=i.slice(l[0].length),u=r.push({part:l.pop().replace(Re," "),captures:l})),p)!(l=S[o].exec(i))||f[o]&&!(l=f[o](l,t,n))||(i=i.slice(l.shift().length),u=r.push({part:o,captures:l}));if(!u)break}return u||A.error(e),a}(e,t,n),o=0;r=i[o];o++)i[o]=lt(r,t,n);return(s=Ze[e]=(a=i,function(e,t){for(var n,r=0;n=a[r];r++)if(n(e,t))return!0;return!1})).context=t,s.runs=s.dirruns=0,et.push(e),et.length>j.cacheLength&&delete Ze[et.shift()],s},gt=(A.matches=function(e,t){return A(e,null,null,t)},A.matchesSelector=function(e,t){return 0<A(t,null,null,[e]).length},function(e,t,n,r,i){var o,a,s,l,u,c,f,p,d,h=(e=e.replace(Re,"$1")).match(Ie),g=e.match(Xe),m=t.nodeType;if(S.POS.test(e))return st(e,t,n,r,h);if(r)o=b.call(r,0);else if(h&&1===h.length){if(1<g.length&&9===m&&!i&&(h=S.ID.exec(g[0]))){if(!(t=j.find.ID(h[1],t,i)[0]))return n;e=e.slice(g.shift().length)}for(p=(h=Ye.exec(g[0]))&&!h.index&&t.parentNode||t,c=(d=g.pop()).split(":not")[0],s=0,l=j.order.length;s<l;s++)if(f=j.order[s],(h=S[f].exec(c))&&null!=(o=j.find[f]((h[1]||"").replace(x,""),p,i))){c!==d||(e=e.slice(0,e.length-d.length)+c.replace(S[f],""))||E.apply(n,b.call(o,0));break}}if(e)for(a=ht(e,t,i),Fe=a.dirruns++,null==o&&(o=j.find.TAG("*",Ye.test(e)&&t.parentNode||t)),s=0;u=o[s];s++)He=a.runs++,a(u,t)&&n.push(u);return n}),mt=(h.querySelectorAll&&(ct=gt,ft=/'|\\/g,pt=/\=[\x20\t\r\n\f]*([^'"\]]*)[\x20\t\r\n\f]*\]/g,d=[],g=[":active"],dt=n.matchesSelector||n.mozMatchesSelector||n.webkitMatchesSelector||n.oMatchesSelector||n.msMatchesSelector,t(function(e){e.innerHTML="<select><option selected></option></select>",e.querySelectorAll("[selected]").length||d.push("\\["+k+"*(?:checked|disabled|ismap|multiple|readonly|selected|value)"),e.querySelectorAll(":checked").length||d.push(":checked")}),t(function(e){e.innerHTML="<p test=''></p>",e.querySelectorAll("[test^='']").length&&d.push("[*^$]="+k+"*(?:\"\"|'')"),e.innerHTML="<input type='hidden'>",e.querySelectorAll(":enabled").length||d.push(":enabled",":disabled")}),d=d.length&&new RegExp(d.join("|")),gt=function(e,t,n,r,i){if(!(r||i||d&&d.test(e)))if(9===t.nodeType)try{return E.apply(n,b.call(t.querySelectorAll(e),0)),n}catch(e){}else if(1===t.nodeType&&"object"!==t.nodeName.toLowerCase()){var o=t.getAttribute("id"),a=o||u,s=Ye.test(e)&&t.parentNode||t;o?a=a.replace(ft,"\\$&"):t.setAttribute("id",a);try{return E.apply(n,b.call(s.querySelectorAll(e.replace(Ie,"[id='"+a+"'] $&")),0)),n}catch(e){}finally{o||t.removeAttribute("id")}}return ct(e,t,n,r,i)},dt&&(t(function(e){ut=dt.call(e,"div");try{dt.call(e,"[test!='']:sizzle"),g.push(j.match.PSEUDO)}catch(e){}}),g=new RegExp(g.join("|")),A.matchesSelector=function(e,t){if(t=t.replace(pt,"='$1']"),!(rt(e)||g.test(t)||d&&d.test(t)))try{var n=dt.call(e,t);if(n||ut||e.document&&11!==e.document.nodeType)return n}catch(e){}return 0<A(t,null,null,[e]).length})),A.attr=N.attr,N.find=A,N.expr=A.selectors,N.expr[":"]=N.expr.pseudos,N.unique=A.uniqueSort,N.text=A.getText,N.isXMLDoc=A.isXML,N.contains=A.contains,/Until$/),yt=/^(?:parents|prev(?:Until|All))/,vt=/^.[^:#\[\.,]*$/,bt=N.expr.match.needsContext,xt={children:!0,contents:!0,next:!0,prev:!0};function wt(e){return!e||!e.parentNode||11===e.parentNode.nodeType}function Tt(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}function Nt(e,n,r){if(n=n||0,N.isFunction(n))return N.grep(e,function(e,t){return!!n.call(e,t,e)===r});if(n.nodeType)return N.grep(e,function(e,t){return e===n===r});if("string"==typeof n){var t=N.grep(e,function(e){return 1===e.nodeType});if(vt.test(n))return N.filter(n,t,!r);n=N.filter(n,t)}return N.grep(e,function(e,t){return 0<=N.inArray(e,n)===r})}function Ct(e){var t=Et.split("|"),n=e.createDocumentFragment();if(n.createElement)for(;t.length;)n.createElement(t.pop());return n}N.fn.extend({find:function(e){var t,n,r,i,o,a,s=this;if("string"!=typeof e)return N(e).filter(function(){for(t=0,n=s.length;t<n;t++)if(N.contains(s[t],this))return!0});for(a=this.pushStack("","find",e),t=0,n=this.length;t<n;t++)if(r=a.length,N.find(e,this[t],a),0<t)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=N(e,this),r=n.length;return this.filter(function(){for(t=0;t<r;t++)if(N.contains(this,n[t]))return!0})},not:function(e){return this.pushStack(Nt(this,e,!1),"not",e)},filter:function(e){return this.pushStack(Nt(this,e,!0),"filter",e)},is:function(e){return!!e&&("string"==typeof e?bt.test(e)?0<=N(e,this.context).index(this[0]):0<N.filter(e,this).length:0<this.filter(e).length)},closest:function(e,t){for(var n,r=0,i=this.length,o=[],a=bt.test(e)||"string"!=typeof e?N(e,t||this.context):0;r<i;r++)for(n=this[r];n&&n.ownerDocument&&n!==t&&11!==n.nodeType;){if(a?-1<a.index(n):N.find.matchesSelector(n,e)){o.push(n);break}n=n.parentNode}return o=1<o.length?N.unique(o):o,this.pushStack(o,"closest",e)},index:function(e){return e?"string"==typeof e?N.inArray(this[0],N(e)):N.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.prevAll().length:-1},add:function(e,t){t="string"==typeof e?N(e,t):N.makeArray(e&&e.nodeType?[e]:e),e=N.merge(this.get(),t);return this.pushStack(wt(t[0])||wt(e[0])?e:N.unique(e))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),N.fn.andSelf=N.fn.addBack,N.each({parent:function(e){e=e.parentNode;return e&&11!==e.nodeType?e:null},parents:function(e){return N.dir(e,"parentNode")},parentsUntil:function(e,t,n){return N.dir(e,"parentNode",n)},next:function(e){return Tt(e,"nextSibling")},prev:function(e){return Tt(e,"previousSibling")},nextAll:function(e){return N.dir(e,"nextSibling")},prevAll:function(e){return N.dir(e,"previousSibling")},nextUntil:function(e,t,n){return N.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return N.dir(e,"previousSibling",n)},siblings:function(e){return N.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return N.sibling(e.firstChild)},contents:function(e){return N.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:N.merge([],e.childNodes)}},function(r,i){N.fn[r]=function(e,t){var n=N.map(this,i,e);return(t=mt.test(r)?t:e)&&"string"==typeof t&&(n=N.filter(t,n)),n=1<this.length&&!xt[r]?N.unique(n):n,1<this.length&&yt.test(r)&&(n=n.reverse()),this.pushStack(n,r,c.call(arguments).join(","))}}),N.extend({filter:function(e,t,n){return n&&(e=":not("+e+")"),1===t.length?N.find.matchesSelector(t[0],e)?[t[0]]:[]:N.find.matches(e,t)},dir:function(e,t,n){for(var r=[],i=e[t];i&&9!==i.nodeType&&(n===T||1!==i.nodeType||!N(i).is(n));)1===i.nodeType&&r.push(i),i=i[t];return r},sibling:function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}});var Et="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",kt=/ sQuery\d+="(?:null|\d+)"/g,St=/^\s+/,At=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,jt=/<([\w:]+)/,Dt=/<tbody/i,Lt=/<|&#?\w+;/,Ht=/<(?:script|style|link)/i,Ft=/<(?:script|object|embed|option|style)/i,Mt=new RegExp("<(?:abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video)[\\s/>]","i"),Ot=/^(?:checkbox|radio)$/,_t=/checked\s*(?:[^=]|=\s*.checked.)/i,qt=/\/(java|ecma)script/i,Bt=/^\s*<!(?:\[CDATA\[|\-\-)|[\]\-]{2}>\s*$/g,w={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,"",""]},Wt=Ct(v),Pt=Wt.appendChild(v.createElement("div"));function Rt(e,t){if(1===t.nodeType&&N.hasData(e)){var n,r,i,e=N._data(e),o=N._data(t,e),a=e.events;if(a)for(n in delete o.handle,o.events={},a)for(r=0,i=a[n].length;r<i;r++)N.event.add(t,n,a[n][r]);o.data&&(o.data=N.extend({},o.data))}}function $t(e,t){var n;1===t.nodeType&&(t.clearAttributes&&t.clearAttributes(),t.mergeAttributes&&t.mergeAttributes(e),"object"===(n=t.nodeName.toLowerCase())?(t.parentNode&&(t.outerHTML=e.outerHTML),N.support.html5Clone&&e.innerHTML&&!N.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):"input"===n&&Ot.test(e.type)?(t.defaultChecked=t.checked=e.checked,t.value!==e.value&&(t.value=e.value)):"option"===n?t.selected=e.defaultSelected:"input"===n||"textarea"===n?t.defaultValue=e.defaultValue:"script"===n&&t.text!==e.text&&(t.text=e.text),t.removeAttribute(N.expando))}function It(e){return void 0!==e.getElementsByTagName?e.getElementsByTagName("*"):void 0!==e.querySelectorAll?e.querySelectorAll("*"):[]}function zt(e){Ot.test(e.type)&&(e.defaultChecked=e.checked)}w.optgroup=w.option,w.tbody=w.tfoot=w.colgroup=w.caption=w.thead,w.th=w.td,N.support.htmlSerialize||(w._default=[1,"X<div>","</div>"]),N.fn.extend({text:function(e){return N.access(this,function(e){return e===T?N.text(this):this.empty().append((this[0]&&this[0].ownerDocument||v).createTextNode(e))},null,e,arguments.length)},wrapAll:function(t){return N.isFunction(t)?this.each(function(e){N(this).wrapAll(t.call(this,e))}):(this[0]&&(e=N(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var e=this;e.firstChild&&1===e.firstChild.nodeType;)e=e.firstChild;return e}).append(this)),this);var e},wrapInner:function(n){return N.isFunction(n)?this.each(function(e){N(this).wrapInner(n.call(this,e))}):this.each(function(){var e=N(this),t=e.contents();t.length?t.wrapAll(n):e.append(n)})},wrap:function(t){var n=N.isFunction(t);return this.each(function(e){N(this).wrapAll(n?t.call(this,e):t)})},unwrap:function(){return this.parent().each(function(){N.nodeName(this,"body")||N(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(e){1!==this.nodeType&&11!==this.nodeType||this.appendChild(e)})},prepend:function(){return this.domManip(arguments,!0,function(e){1!==this.nodeType&&11!==this.nodeType||this.insertBefore(e,this.firstChild)})},before:function(){return wt(this[0])?arguments.length?(e=N.clean(arguments),this.pushStack(N.merge(e,this),"before",this.selector)):void 0:this.domManip(arguments,!1,function(e){this.parentNode.insertBefore(e,this)});var e},after:function(){return wt(this[0])?arguments.length?(e=N.clean(arguments),this.pushStack(N.merge(this,e),"after",this.selector)):void 0:this.domManip(arguments,!1,function(e){this.parentNode.insertBefore(e,this.nextSibling)});var e},remove:function(e,t){for(var n,r=0;null!=(n=this[r]);r++)e&&!N.filter(e,[n]).length||(t||1!==n.nodeType||(N.cleanData(n.getElementsByTagName("*")),N.cleanData([n])),n.parentNode&&n.parentNode.removeChild(n));return this},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)for(1===e.nodeType&&N.cleanData(e.getElementsByTagName("*"));e.firstChild;)e.removeChild(e.firstChild);return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return N.clone(this,e,t)})},html:function(e){return N.access(this,function(e){var t=this[0]||{},n=0,r=this.length;if(e===T)return 1===t.nodeType?t.innerHTML.replace(kt,""):T;if("string"==typeof e&&!Ht.test(e)&&(N.support.htmlSerialize||!Mt.test(e))&&(N.support.leadingWhitespace||!St.test(e))&&!w[(jt.exec(e)||["",""])[1].toLowerCase()]){e=e.replace(At,"<$1></$2>");try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(N.cleanData(t.getElementsByTagName("*")),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(r){return wt(this[0])?this.length?this.pushStack(N(N.isFunction(r)?r():r),"replaceWith",r):this:N.isFunction(r)?this.each(function(e){var t=N(this),n=t.html();t.replaceWith(r.call(this,e,n))}):("string"!=typeof r&&(r=N(r).detach()),this.each(function(){var e=this.nextSibling,t=this.parentNode;N(this).remove(),e?N(e).before(r):N(t).append(r)}))},detach:function(e){return this.remove(e,!0)},domManip:function(n,r,i){var e,t,o,a,s,l,u=0,c=(n=[].concat.apply([],n))[0],f=[],p=this.length;if(!N.support.checkClone&&1<p&&"string"==typeof c&&_t.test(c))return this.each(function(){N(this).domManip(n,r,i)});if(N.isFunction(c))return this.each(function(e){var t=N(this);n[0]=c.call(this,e,r?t.html():T),t.domManip(n,r,i)});if(this[0]){if(t=(o=(e=N.buildFragment(n,this,f)).fragment).firstChild,1===o.childNodes.length&&(o=t),t)for(r=r&&N.nodeName(t,"tr"),a=e.cacheable||p-1;u<p;u++)i.call(r&&N.nodeName(this[u],"table")?(s=this[u],l="tbody",s.getElementsByTagName(l)[0]||s.appendChild(s.ownerDocument.createElement(l))):this[u],u===a?o:N.clone(o,!0,!0));o=t=null,f.length&&N.each(f,function(e,t){t.src?N.ajax?N.ajax({url:t.src,type:"GET",dataType:"script",async:!1,global:!1,throws:!0}):N.error("no ajax"):N.globalEval((t.text||t.textContent||t.innerHTML||"").replace(Bt,"")),t.parentNode&&t.parentNode.removeChild(t)})}return this}}),N.buildFragment=function(e,t,n){var r,i,o,a=e[0];return void 0===(t=((t=t||v)[0]||t).ownerDocument||t[0]||t).createDocumentFragment&&(t=v),!(1===e.length&&"string"==typeof a&&a.length<512&&t===v&&"<"===a.charAt(0))||Ft.test(a)||!N.support.checkClone&&_t.test(a)||!N.support.html5Clone&&Mt.test(a)||(i=!0,o=(r=N.fragments[a])!==T),r||(r=t.createDocumentFragment(),N.clean(e,t,r,n),i&&(N.fragments[a]=o&&r)),{fragment:r,cacheable:i}},N.fragments={},N.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,s){N.fn[a]=function(e){var t,n=0,r=[],i=N(e),o=i.length,e=1===this.length&&this[0].parentNode;if((null==e||e&&11===e.nodeType&&1===e.childNodes.length)&&1===o)return i[s](this[0]),this;for(;n<o;n++)t=(0<n?this.clone(!0):this).get(),N(i[n])[s](t),r=r.concat(t);return this.pushStack(r,a,i.selector)}}),N.extend({clone:function(e,t,n){var r,i,o,a;if(N.support.html5Clone||N.isXMLDoc(e)||!Mt.test("<"+e.nodeName+">")?a=e.cloneNode(!0):(Pt.innerHTML=e.outerHTML,Pt.removeChild(a=Pt.firstChild)),!(N.support.noCloneEvent&&N.support.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||N.isXMLDoc(e)))for($t(e,a),r=It(e),i=It(a),o=0;r[o];++o)i[o]&&$t(r[o],i[o]);if(t&&(Rt(e,a),n))for(r=It(e),i=It(a),o=0;r[o];++o)Rt(r[o],i[o]);return r=i=null,a},clean:function(e,t,n,r){for(var i,o,a,s,l,u,c,f,p,d,h=0,g=[],m=(t=t&&void 0!==t.createDocumentFragment?t:v)===v&&Wt;null!=(o=e[h]);h++)if("number"==typeof o&&(o+=""),o){if("string"==typeof o)if(Lt.test(o)){for(m=m||Ct(t),u=u||m.appendChild(t.createElement("div")),o=o.replace(At,"<$1></$2>"),a=(jt.exec(o)||["",""])[1].toLowerCase(),l=(s=w[a]||w._default)[0],u.innerHTML=s[1]+o+s[2];l--;)u=u.lastChild;if(!N.support.tbody)for(c=Dt.test(o),i=(f="table"!==a||c?"<table>"!==s[1]||c?[]:u.childNodes:u.firstChild&&u.firstChild.childNodes).length-1;0<=i;--i)N.nodeName(f[i],"tbody")&&!f[i].childNodes.length&&f[i].parentNode.removeChild(f[i]);!N.support.leadingWhitespace&&St.test(o)&&u.insertBefore(t.createTextNode(St.exec(o)[0]),u.firstChild),o=u.childNodes,u=m.lastChild}else o=t.createTextNode(o);o.nodeType?g.push(o):g=N.merge(g,o)}if(u&&(m.removeChild(u),o=u=m=null),!N.support.appendChecked)for(h=0;null!=(o=g[h]);h++)N.nodeName(o,"input")?zt(o):void 0!==o.getElementsByTagName&&N.grep(o.getElementsByTagName("input"),zt);if(n)for(p=function(e){if(!e.type||qt.test(e.type))return r?r.push(e.parentNode?e.parentNode.removeChild(e):e):n.appendChild(e)},h=0;null!=(o=g[h]);h++)N.nodeName(o,"script")&&p(o)||(n.appendChild(o),void 0!==o.getElementsByTagName&&(d=N.grep(N.merge([],o.getElementsByTagName("script")),p),g.splice.apply(g,[h+1,0].concat(d)),h+=d.length));return g},cleanData:function(e,t){for(var n,r,i,o,a=0,s=N.expando,l=N.cache,u=N.support.deleteExpando,c=N.event.special;null!=(i=e[a]);a++)if((t||N.acceptData(i))&&(n=(r=i[s])&&l[r])){if(n.events)for(o in n.events)c[o]?N.event.remove(i,o):N.removeEvent(i,o,n.handle);l[r]&&(delete l[r],u?delete i[s]:i.removeAttribute?i.removeAttribute(s):i[s]=null,N.deletedIds.push(r))}}}),N.uaMatch=function(e){e=e.toLowerCase();e=/(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:e[1]||"",version:e[2]||"0"}},i={},(o=N.uaMatch(R.userAgent)).browser&&(i[o.browser]=!0,i.version=o.version),i.webkit&&(i.safari=!0),N.browser=i,N.sub=function(){function n(e,t){return new n.fn.init(e,t)}N.extend(!0,n,this),n.superclass=this,((n.fn=n.prototype=this()).constructor=n).sub=this.sub,n.fn.init=function(e,t){return t&&t instanceof N&&!(t instanceof n)&&(t=n(t)),N.fn.init.call(this,e,t,r)},n.fn.init.prototype=n.fn;var r=n(v);return n};var m,D,Xt,Ut=/alpha\([^)]*\)/i,Yt=/opacity=([^)]*)/,Jt=/^(top|right|bottom|left)$/,Vt=/^margin/,Gt=new RegExp("^("+V+")(.*)$","i"),Qt=new RegExp("^("+V+")(?!px)[a-z%]+$","i"),Kt=new RegExp("^([-+])=("+V+")","i"),Zt={},en={position:"absolute",visibility:"hidden",display:"block"},tn={letterSpacing:0,fontWeight:400,lineHeight:1},L=["Top","Right","Bottom","Left"],nn=["Webkit","O","Moz","ms"],rn=N.fn.toggle;function on(e,t){if(t in e)return t;for(var n=t.charAt(0).toUpperCase()+t.slice(1),r=t,i=nn.length;i--;)if((t=nn[i]+n)in e)return t;return r}function an(e,t){return"none"===N.css(e=t||e,"display")||!N.contains(e.ownerDocument,e)}function sn(e,t){for(var n,r,i=[],o=0,a=e.length;o<a;o++)(n=e[o]).style&&(i[o]=N._data(n,"olddisplay"),t?(i[o]||"none"!==n.style.display||(n.style.display=""),""===n.style.display&&an(n)&&(i[o]=N._data(n,"olddisplay",fn(n.nodeName)))):(r=m(n,"display"),i[o]||"none"===r||N._data(n,"olddisplay",r)));for(o=0;o<a;o++)!(n=e[o]).style||t&&"none"!==n.style.display&&""!==n.style.display||(n.style.display=t?i[o]||"":"none");return e}function ln(e,t,n){var r=Gt.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):t}function un(e,t,n,r){for(var i=n===(r?"border":"content")?4:"width"===t?1:0,o=0;i<4;i+=2)"margin"===n&&(o+=N.css(e,n+L[i],!0)),r?("content"===n&&(o-=parseFloat(m(e,"padding"+L[i]))||0),"margin"!==n&&(o-=parseFloat(m(e,"border"+L[i]+"Width"))||0)):(o+=parseFloat(m(e,"padding"+L[i]))||0,"padding"!==n&&(o+=parseFloat(m(e,"border"+L[i]+"Width"))||0));return o}function cn(e,t,n){var r="width"===t?e.offsetWidth:e.offsetHeight,i=!0,o=N.support.boxSizing&&"border-box"===N.css(e,"boxSizing");if(r<=0){if(((r=m(e,t))<0||null==r)&&(r=e.style[t]),Qt.test(r))return r;i=o&&(N.support.boxSizingReliable||r===e.style[t]),r=parseFloat(r)||0}return r+un(e,t,n||(o?"border":"content"),i)+"px"}function fn(e){if(Zt[e])return Zt[e];var t=N("<"+e+">").appendTo(v.body),n=t.css("display");return t.remove(),"none"!==n&&""!==n||(D=v.body.appendChild(D||N.extend(v.createElement("iframe"),{frameBorder:0,width:0,height:0})),Xt&&D.createElement||((Xt=(D.contentWindow||D.contentDocument).document).write("<!doctype html><html><body>"),Xt.close()),t=Xt.body.appendChild(Xt.createElement(e)),n=m(t,"display"),v.body.removeChild(D)),Zt[e]=n}N.fn.extend({css:function(e,t){return N.access(this,function(e,t,n){return n!==T?N.style(e,t,n):N.css(e,t)},e,t,1<arguments.length)},show:function(){return sn(this,!0)},hide:function(){return sn(this)},toggle:function(e,t){var n="boolean"==typeof e;return N.isFunction(e)&&N.isFunction(t)?rn.apply(this,arguments):this.each(function(){(n?e:an(this))?N(this).show():N(this).hide()})}}),N.extend({cssHooks:{opacity:{get:function(e,t){if(t)return""===(t=m(e,"opacity"))?"1":t}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:N.support.cssFloat?"cssFloat":"styleFloat"},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=N.camelCase(t),l=e.style;if(t=N.cssProps[s]||(N.cssProps[s]=on(l,s)),a=N.cssHooks[t]||N.cssHooks[s],n===T)return a&&"get"in a&&(i=a.get(e,!1,r))!==T?i:l[t];if("string"===(o=typeof n)&&(i=Kt.exec(n))&&(n=(i[1]+1)*i[2]+parseFloat(N.css(e,t)),o="number"),!(null==n||"number"===o&&isNaN(n)||("number"!==o||N.cssNumber[s]||(n+="px"),a&&"set"in a&&(n=a.set(e,n,r))===T)))try{l[t]=n}catch(e){}}},css:function(e,t,n,r){var i,o=N.camelCase(t);return t=N.cssProps[o]||(N.cssProps[o]=on(e.style,o)),"normal"===(i=(i=(o=N.cssHooks[t]||N.cssHooks[o])&&"get"in o?o.get(e,!0,r):i)===T?m(e,t):i)&&t in tn&&(i=tn[t]),n||r!==T?(o=parseFloat(i),n||N.isNumeric(o)?o||0:i):i},swap:function(e,t,n){var r,i={};for(r in t)i[r]=e.style[r],e.style[r]=t[r];for(r in n=n.call(e),t)e.style[r]=i[r];return n}}),y.getComputedStyle?m=function(e,t){var n,r,i=getComputedStyle(e,null),o=e.style;return i&&(""!==(n=i[t])||N.contains(e.ownerDocument.documentElement,e)||(n=N.style(e,t)),Qt.test(n)&&Vt.test(t)&&(e=o.width,t=o.minWidth,r=o.maxWidth,o.minWidth=o.maxWidth=o.width=n,n=i.width,o.width=e,o.minWidth=t,o.maxWidth=r)),n}:v.documentElement.currentStyle&&(m=function(e,t){var n,r,i=e.currentStyle&&e.currentStyle[t],o=e.style;return null==i&&o&&o[t]&&(i=o[t]),Qt.test(i)&&!Jt.test(t)&&(n=o.left,(r=e.runtimeStyle&&e.runtimeStyle.left)&&(e.runtimeStyle.left=e.currentStyle.left),o.left="fontSize"===t?"1em":i,i=o.pixelLeft+"px",o.left=n,r&&(e.runtimeStyle.left=r)),""===i?"auto":i}),N.each(["height","width"],function(e,r){N.cssHooks[r]={get:function(e,t,n){if(t)return 0!==e.offsetWidth||"none"!==m(e,"display")?cn(e,r,n):N.swap(e,en,function(){return cn(e,r,n)})},set:function(e,t,n){return ln(0,t,n?un(e,r,n,N.support.boxSizing&&"border-box"===N.css(e,"boxSizing")):0)}}}),N.support.opacity||(N.cssHooks.opacity={get:function(e,t){return Yt.test((t&&e.currentStyle?e.currentStyle:e.style).filter||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(e,t){var n=e.style,e=e.currentStyle,r=N.isNumeric(t)?"alpha(opacity="+100*t+")":"",i=e&&e.filter||n.filter||"";(n.zoom=1)<=t&&""===N.trim(i.replace(Ut,""))&&n.removeAttribute&&(n.removeAttribute("filter"),e&&!e.filter)||(n.filter=Ut.test(i)?i.replace(Ut,r):i+" "+r)}}),N(function(){N.support.reliableMarginRight||(N.cssHooks.marginRight={get:function(e,t){return N.swap(e,{display:"inline-block"},function(){if(t)return m(e,"marginRight")})}}),!N.support.pixelPosition&&N.fn.position&&N.each(["top","left"],function(e,n){N.cssHooks[n]={get:function(e,t){if(t)return t=m(e,n),Qt.test(t)?N(e).position()[n]+"px":t}}})}),N.expr&&N.expr.filters&&(N.expr.filters.hidden=function(e){return 0===e.offsetWidth&&0===e.offsetHeight||!N.support.reliableHiddenOffsets&&"none"===(e.style&&e.style.display||m(e,"display"))},N.expr.filters.visible=function(e){return!N.expr.filters.hidden(e)}),N.each({margin:"",padding:"",border:"Width"},function(i,o){N.cssHooks[i+o]={expand:function(e){for(var t="string"==typeof e?e.split(" "):[e],n={},r=0;r<4;r++)n[i+L[r]+o]=t[r]||t[r-2]||t[0];return n}},Vt.test(i)||(N.cssHooks[i+o].set=ln)});var pn=/%20/g,dn=/\[\]$/,hn=/\r?\n/g,gn=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,mn=/^(?:select|textarea)/i;N.fn.extend({serialize:function(){return N.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?N.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||mn.test(this.nodeName)||gn.test(this.type))}).map(function(e,n){var t=N(this).val();return null==t?null:N.isArray(t)?N.map(t,function(e,t){return{name:n.name,value:e.replace(hn,"\r\n")}}):{name:n.name,value:t.replace(hn,"\r\n")}}).get()}}),N.param=function(e,t){function n(e,t){t=N.isFunction(t)?t():null==t?"":t,i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)}var r,i=[];if(t===T&&(t=N.ajaxSettings&&N.ajaxSettings.traditional),N.isArray(e)||e.jquery&&!N.isPlainObject(e))N.each(e,function(){n(this.name,this.value)});else for(r in e)!function n(r,e,i,o){if(N.isArray(e))N.each(e,function(e,t){i||dn.test(r)?o(r,t):n(r+"["+("object"==typeof t?e:"")+"]",t,i,o)});else if(i||"object"!==N.type(e))o(r,e);else for(var t in e)n(r+"["+t+"]",e[t],i,o)}(r,e[r],t,n);return i.join("&").replace(pn,"+")};var H,F,yn=/#.*$/,vn=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,bn=/^(?:GET|HEAD)$/,xn=/^\/\//,wn=/\?/,Tn=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,Nn=/([?&])_=[^&]*/,Cn=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,En=N.fn.load,kn={},Sn={},An=["*/"]+["*"];try{H=P.href}catch(e){(H=v.createElement("a")).href="",H=H.href}function jn(s){return function(e,t){"string"!=typeof e&&(t=e,e="*");var n,r,i=e.toLowerCase().split(C),o=0,a=i.length;if(N.isFunction(t))for(;o<a;o++)n=i[o],(r=/^\+/.test(n))&&(n=n.substr(1)||"*"),(s[n]=s[n]||[])[r?"unshift":"push"](t)}}function Dn(e,t,n,r,i,o){(o=o||{})[i=i||t.dataTypes[0]]=!0;for(var a,s=e[i],l=0,u=s?s.length:0,c=e===kn;l<u&&(c||!a);l++)"string"==typeof(a=s[l](t,n,r))&&(a=!c||o[a]?T:(t.dataTypes.unshift(a),Dn(e,t,n,r,a,o)));return a=!c&&a||o["*"]?a:Dn(e,t,n,r,"*",o)}function Ln(e,t){var n,r,i=N.ajaxSettings.flatOptions||{};for(n in t)t[n]!==T&&((i[n]?e:r=r||{})[n]=t[n]);r&&N.extend(!0,e,r)}F=Cn.exec(H.toLowerCase())||[],N.fn.load=function(e,t,n){if("string"!=typeof e&&En)return En.apply(this,arguments);if(!this.length)return this;var r,i,o,a=this,s=e.indexOf(" ");return 0<=s&&(r=e.slice(s,e.length),e=e.slice(0,s)),N.isFunction(t)?(n=t,t=T):"object"==typeof t&&(i="POST"),N.ajax({url:e,type:i,dataType:"html",data:t,complete:function(e,t){n&&a.each(n,o||[e.responseText,t,e])}}).done(function(e){o=arguments,a.html(r?N("<div>").append(e.replace(Tn,"")).find(r):e)}),this},N.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(e,t){N.fn[t]=function(e){return this.on(t,e)}}),N.each(["get","post"],function(e,i){N[i]=function(e,t,n,r){return N.isFunction(t)&&(r=r||n,n=t,t=T),N.ajax({type:i,url:e,data:t,success:n,dataType:r})}}),N.extend({getScript:function(e,t){return N.get(e,T,t,"script")},getJSON:function(e,t,n){return N.get(e,t,n,"json")},ajaxSetup:function(e,t){return t?Ln(e,N.ajaxSettings):(t=e,e=N.ajaxSettings),Ln(e,t),e},ajaxSettings:{url:H,isLocal:/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/.test(F[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","*":An},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":y.String,"text html":!0,"text json":N.parseJSON,"text xml":N.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:jn(kn),ajaxTransport:jn(Sn),ajax:function(e,t){"object"==typeof e&&(t=e,e=T);var u,c,n,f,p,d,r,i,h=N.ajaxSetup({},t=t||{}),g=h.context||h,m=g!==h&&(g.nodeType||g instanceof N)?N(g):N.event,y=N.Deferred(),v=N.Callbacks("once memory"),b=h.statusCode||{},o={},a={},x=0,s="canceled",w={readyState:0,setRequestHeader:function(e,t){var n;return x||(n=e.toLowerCase(),e=a[n]=a[n]||e,o[e]=t),this},getAllResponseHeaders:function(){return 2===x?c:null},getResponseHeader:function(e){var t;if(2===x){if(!n)for(n={};t=vn.exec(c);)n[t[1].toLowerCase()]=t[2];t=n[e.toLowerCase()]}return t===T?null:t},overrideMimeType:function(e){return x||(h.mimeType=e),this},abort:function(e){return e=e||s,f&&f.abort(e),l(0,e),this}};function l(e,t,n,r){var i,o,a,s,l=t;2!==x&&(x=2,p&&clearTimeout(p),f=T,c=r||"",w.readyState=0<e?4:0,n&&(s=function(e,t,n){var r,i,o,a,s=e.contents,l=e.dataTypes,u=e.responseFields;for(i in u)i in n&&(t[u[i]]=n[i]);for(;"*"===l[0];)l.shift(),r===T&&(r=e.mimeType||t.getResponseHeader("content-type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){l.unshift(i);break}if(l[0]in n)o=l[0];else{for(i in n){if(!l[0]||e.converters[i+" "+l[0]]){o=i;break}a=a||i}o=o||a}if(o)return o!==l[0]&&l.unshift(o),n[o]}(h,w,n)),200<=e&&e<300||304===e?(h.ifModified&&((r=w.getResponseHeader("Last-Modified"))&&(N.lastModified[u]=r),(r=w.getResponseHeader("Etag"))&&(N.etag[u]=r)),i=304===e?(l="notmodified",!0):(l=(i=function(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){if(!(n=l[s+" "+i]||l["* "+i]))for(r in l)if((o=r.split(" "))[1]===i&&(n=l[s+" "+o[0]]||l["* "+o[0]])){!0===n?n=l[r]:!0!==l[r]&&(i=o[0],a.splice(u--,0,i));break}if(!0!==n)if(n&&e.throws)t=n(t);else try{t=n(t)}catch(e){return{state:"parsererror",error:n?e:"No conversion from "+s+" to "+i}}}s=i}return{state:"success",data:t}}(h,s)).state,o=i.data,!(a=i.error))):(a=l)&&!e||(l="error",e<0&&(e=0)),w.status=e,w.statusText=""+(t||l),i?y.resolveWith(g,[o,l,w]):y.rejectWith(g,[w,l,a]),w.statusCode(b),b=T,d&&m.trigger("ajax"+(i?"Success":"Error"),[w,h,i?o:a]),v.fireWith(g,[w,l]),d&&(m.trigger("ajaxComplete",[w,h]),--N.active||N.event.trigger("ajaxStop")))}if(y.promise(w),w.success=w.done,w.error=w.fail,w.complete=v.add,w.statusCode=function(e){if(e)if(x<2)for(var t in e)b[t]=[b[t],e[t]];else t=e[w.status],w.always(t);return this},h.url=((e||h.url)+"").replace(yn,"").replace(xn,F[1]+"//"),h.dataTypes=N.trim(h.dataType||"*").toLowerCase().split(C),null==h.crossDomain&&(e=Cn.exec(h.url.toLowerCase()),h.crossDomain=!(!e||e[1]==F[1]&&e[2]==F[2]&&(e[3]||("http:"===e[1]?80:443))==(F[3]||("http:"===F[1]?80:443)))),h.data&&h.processData&&"string"!=typeof h.data&&(h.data=N.param(h.data,h.traditional)),Dn(kn,h,t,w),2===x)return w;for(r in d=h.global,h.type=h.type.toUpperCase(),h.hasContent=!bn.test(h.type),d&&0==N.active++&&N.event.trigger("ajaxStart"),h.hasContent||(h.data&&(h.url+=(wn.test(h.url)?"&":"?")+h.data,delete h.data),u=h.url,!1===h.cache&&(e=N.now(),i=h.url.replace(Nn,"$1_="+e),h.url=i+(i===h.url?(wn.test(h.url)?"&":"?")+"_="+e:""))),(h.data&&h.hasContent&&!1!==h.contentType||t.contentType)&&w.setRequestHeader("Content-Type",h.contentType),h.ifModified&&(u=u||h.url,N.lastModified[u]&&w.setRequestHeader("If-Modified-Since",N.lastModified[u]),N.etag[u]&&w.setRequestHeader("If-None-Match",N.etag[u])),w.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+An+"; q=0.01":""):h.accepts["*"]),h.headers)w.setRequestHeader(r,h.headers[r]);if(h.beforeSend&&(!1===h.beforeSend.call(g,w,h)||2===x))return w.abort();for(r in s="abort",{success:1,error:1,complete:1})w[r](h[r]);if(f=Dn(Sn,h,t,w)){w.readyState=1,d&&m.trigger("ajaxSend",[w,h]),h.async&&0<h.timeout&&(p=setTimeout(function(){w.abort("timeout")},h.timeout));try{x=1,f.send(o,l)}catch(e){if(!(x<2))throw e;l(-1,e)}}else l(-1,"No Transport");return w},active:0,lastModified:{},etag:{}});var Hn=[],Fn=/\?/,Mn=/(=)\?(?=&|$)|\?\?/,On=N.now();N.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Hn.pop()||N.expando+"_"+On++;return this[e]=!0,e}}),N.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=e.data,s=e.url,l=!1!==e.jsonp,u=l&&Mn.test(s),c=l&&!u&&"string"==typeof a&&!(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Mn.test(a);if("jsonp"===e.dataTypes[0]||u||c)return r=e.jsonpCallback=N.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,i=y[r],u?e.url=s.replace(Mn,"$1"+r):c?e.data=a.replace(Mn,"$1"+r):l&&(e.url+=(Fn.test(s)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||N.error(r+" was not called"),o[0]},e.dataTypes[0]="json",y[r]=function(){o=arguments},n.always(function(){y[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Hn.push(r)),o&&N.isFunction(i)&&i(o[0]),o=i=T}),"script"}),N.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(e){return N.globalEval(e),e}}}),N.ajaxPrefilter("script",function(e){e.cache===T&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),N.ajaxTransport("script",function(t){var r,i;if(t.crossDomain)return i=v.head||v.getElementsByTagName("head")[0]||v.documentElement,{send:function(e,n){(r=v.createElement("script")).async="async",t.scriptCharset&&(r.charset=t.scriptCharset),r.src=t.url,r.onload=r.onreadystatechange=function(e,t){!t&&r.readyState&&!/loaded|complete/.test(r.readyState)||(r.onload=r.onreadystatechange=null,i&&r.parentNode&&i.removeChild(r),r=T,t||n(200,"success"))},i.insertBefore(r,i.firstChild)},abort:function(){r&&r.onload(0,1)}}});var M,_n=!!y.ActiveXObject&&function(){for(var e in M)M[e](0,1)},qn=0;function Bn(){try{return new y.XMLHttpRequest}catch(e){}}N.ajaxSettings.xhr=y.ActiveXObject?function(){return!this.isLocal&&Bn()||function(){try{return new y.ActiveXObject("Microsoft.XMLHTTP")}catch(e){}}()}:Bn,a=N.ajaxSettings.xhr(),N.extend(N.support,{ajax:!!a,cors:!!a&&"withCredentials"in a}),N.support.ajax&&N.ajaxTransport(function(c){var f;if(!c.crossDomain||N.support.cors)return{send:function(e,s){var l,t,u=c.xhr();if(c.username?u.open(c.type,c.url,c.async,c.username,c.password):u.open(c.type,c.url,c.async),c.xhrFields)for(t in c.xhrFields)u[t]=c.xhrFields[t];c.mimeType&&u.overrideMimeType&&u.overrideMimeType(c.mimeType),c.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest");try{for(t in e)u.setRequestHeader(t,e[t])}catch(e){}u.send(c.hasContent&&c.data||null),f=function(e,t){var n,r,i,o,a;try{if(f&&(t||4===u.readyState))if(f=T,l&&(u.onreadystatechange=N.noop,_n&&delete M[l]),t)4!==u.readyState&&u.abort();else{n=u.status,i=u.getAllResponseHeaders(),o={},(a=u.responseXML)&&a.documentElement&&(o.xml=a);try{o.text=u.responseText}catch(e){}try{r=u.statusText}catch(e){r=""}n||!c.isLocal||c.crossDomain?1223===n&&(n=204):n=o.text?200:404}}catch(e){t||s(-1,e)}o&&s(n,r,o,i)},c.async?4===u.readyState?setTimeout(f,0):(l=++qn,_n&&(M||(M={},N(y).unload(_n)),M[l]=f),u.onreadystatechange=f):f()},abort:function(){f&&f(0,1)}}});var Wn,Pn,Rn=/^(?:toggle|show|hide)$/,$n=new RegExp("^(?:([-+])=|)("+V+")([a-z%]*)$","i"),In=/queueHooks$/,zn=[function(t,e,n){var r,i,o,a,s,l,u,c,f=this,p=t.style,d={},h=[],g=t.nodeType&&an(t);n.queue||(null==(u=N._queueHooks(t,"fx")).unqueued&&(u.unqueued=0,c=u.empty.fire,u.empty.fire=function(){u.unqueued||c()}),u.unqueued++,f.always(function(){f.always(function(){u.unqueued--,N.queue(t,"fx").length||u.empty.fire()})}));1===t.nodeType&&("height"in e||"width"in e)&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],"inline"===N.css(t,"display")&&"none"===N.css(t,"float")&&(N.support.inlineBlockNeedsLayout&&"inline"!==fn(t.nodeName)?p.zoom=1:p.display="inline-block"));n.overflow&&(p.overflow="hidden",N.support.shrinkWrapBlocks||f.done(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]}));for(r in e)o=e[r],Rn.exec(o)&&(delete e[r],o!==(g?"hide":"show")&&h.push(r));if(a=h.length)for(s=N._data(t,"fxshow")||N._data(t,"fxshow",{}),g?N(t).show():f.done(function(){N(t).hide()}),f.done(function(){for(var e in N.removeData(t,"fxshow",!0),d)N.style(t,e,d[e])}),r=0;r<a;r++)i=h[r],l=f.createTween(i,g?s[i]:0),d[i]=s[i]||N.style(t,i),i in s||(s[i]=l.start,g&&(l.end=l.start,l.start="width"===i||"height"===i?1:0))}],Xn={"*":[function(e,t){var n,r,i,o=this.createTween(e,t),t=$n.exec(t),a=o.cur(),s=+a||0,l=1;if(t){if(n=+t[2],"px"!==(r=t[3]||(N.cssNumber[e]?"":"px"))&&s)for(s=N.css(o.elem,e,!0)||n||1;i=l=l||".5",N.style(o.elem,e,(s/=l)+r),1!==(l=o.cur()/a)&&l!==i;);o.unit=r,o.start=s,o.end=t[1]?s+(t[1]+1)*n:n}return o}]};function Un(){return setTimeout(function(){Wn=T},0),Wn=N.now()}function Yn(i,e,t){var n,r,o,a,s,l,u,c=0,f=zn.length,p=N.Deferred().always(function(){delete d.elem}),d=function(){for(var e=Wn||Un(),e=Math.max(0,h.startTime+h.duration-e),t=1-(e/h.duration||0),n=0,r=h.tweens.length;n<r;n++)h.tweens[n].run(t);return p.notifyWith(i,[h,t,e]),t<1&&r?e:(p.resolveWith(i,[h]),!1)},h=p.promise({elem:i,props:N.extend({},e),opts:N.extend(!0,{specialEasing:{}},t),originalProperties:e,originalOptions:t,startTime:Wn||Un(),duration:t.duration,tweens:[],createTween:function(e,t,n){t=N.Tween(i,h.opts,e,t,h.opts.specialEasing[e]||h.opts.easing);return h.tweens.push(t),t},stop:function(e){for(var t=0,n=e?h.tweens.length:0;t<n;t++)h.tweens[t].run(1);return e?p.resolveWith(i,[h,e]):p.rejectWith(i,[h,e]),this}}),g=h.props,m=g,y=h.opts.specialEasing;for(r in m)if(o=N.camelCase(r),a=y[o],s=m[r],N.isArray(s)&&(a=s[1],s=m[r]=s[0]),r!==o&&(m[o]=s,delete m[r]),(l=N.cssHooks[o])&&"expand"in l)for(r in s=l.expand(s),delete m[o],s)r in m||(m[r]=s[r],y[r]=a);else y[o]=a;for(;c<f;c++)if(n=zn[c].call(h,i,g,h.opts))return n;return u=h,N.each(g,function(e,t){for(var n=(Xn[e]||[]).concat(Xn["*"]),r=0,i=n.length;r<i;r++)if(n[r].call(u,e,t))return}),N.isFunction(h.opts.start)&&h.opts.start.call(i,h),N.fx.timer(N.extend(d,{anim:h,queue:h.opts.queue,elem:i})),h.progress(h.opts.progress).done(h.opts.done,h.opts.complete).fail(h.opts.fail).always(h.opts.always)}function O(e,t,n,r,i){return new O.prototype.init(e,t,n,r,i)}function Jn(e,t){for(var n,r={height:e},i=0;i<4;i+=2-t)r["margin"+(n=L[i])]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}N.Animation=N.extend(Yn,{tweener:function(e,t){for(var n,r=0,i=(e=N.isFunction(e)?(t=e,["*"]):e.split(" ")).length;r<i;r++)n=e[r],Xn[n]=Xn[n]||[],Xn[n].unshift(t)},prefilter:function(e,t){t?zn.unshift(e):zn.push(e)}}),((N.Tween=O).prototype={constructor:O,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||(N.cssNumber[n]?"":"px")},cur:function(){var e=O.propHooks[this.prop];return(e&&e.get?e:O.propHooks._default).get(this)},run:function(e){var t=O.propHooks[this.prop];return this.pos=e=N.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration),this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),(t&&t.set?t:O.propHooks._default).set(this),this}}).init.prototype=O.prototype,(O.propHooks={_default:{get:function(e){var t;return null==e.elem[e.prop]||e.elem.style&&null!=e.elem.style[e.prop]?(t=N.css(e.elem,e.prop,!1,""))&&"auto"!==t?t:0:e.elem[e.prop]},set:function(e){N.fx.step[e.prop]?N.fx.step[e.prop](e):e.elem.style&&(null!=e.elem.style[N.cssProps[e.prop]]||N.cssHooks[e.prop])?N.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}}).scrollTop=O.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},N.each(["toggle","show","hide"],function(r,i){var o=N.fn[i];N.fn[i]=function(e,t,n){return null==e||"boolean"==typeof e||!r&&N.isFunction(e)&&N.isFunction(t)?o.apply(this,arguments):this.animate(Jn(i,!0),e,t,n)}}),N.fn.extend({fadeTo:function(e,t,n,r){return this.filter(an).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(t,e,n,r){function i(){var e=Yn(this,N.extend({},t),a);o&&e.stop(!0)}var o=N.isEmptyObject(t),a=N.speed(e,n,r);return o||!1===a.queue?this.each(i):this.queue(a.queue,i)},stop:function(i,e,o){function a(e){var t=e.stop;delete e.stop,t(o)}return"string"!=typeof i&&(o=e,e=i,i=T),e&&!1!==i&&this.queue(i||"fx",[]),this.each(function(){var e=!0,t=null!=i&&i+"queueHooks",n=N.timers,r=N._data(this);if(t)r[t]&&r[t].stop&&a(r[t]);else for(t in r)r[t]&&r[t].stop&&In.test(t)&&a(r[t]);for(t=n.length;t--;)n[t].elem!==this||null!=i&&n[t].queue!==i||(n[t].anim.stop(o),e=!1,n.splice(t,1));!e&&o||N.dequeue(this,i)})}}),N.each({slideDown:Jn("show"),slideUp:Jn("hide"),slideToggle:Jn("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,r){N.fn[e]=function(e,t,n){return this.animate(r,e,t,n)}}),N.speed=function(e,t,n){var r=e&&"object"==typeof e?N.extend({},e):{complete:n||!n&&t||N.isFunction(e)&&e,duration:e,easing:n&&t||t&&!N.isFunction(t)&&t};return r.duration=N.fx.off?0:"number"==typeof r.duration?r.duration:r.duration in N.fx.speeds?N.fx.speeds[r.duration]:N.fx.speeds._default,null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){N.isFunction(r.old)&&r.old.call(this),r.queue&&N.dequeue(this,r.queue)},r},N.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2}},N.timers=[],N.fx=O.prototype.init,N.fx.tick=function(){for(var e,t=N.timers,n=0;n<t.length;n++)(e=t[n])()||t[n]!==e||t.splice(n--,1);t.length||N.fx.stop()},N.fx.timer=function(e){e()&&N.timers.push(e)&&!Pn&&(Pn=setInterval(N.fx.tick,N.fx.interval))},N.fx.interval=13,N.fx.stop=function(){clearInterval(Pn),Pn=null},N.fx.speeds={slow:600,fast:200,_default:400},N.fx.step={},N.expr&&N.expr.filters&&(N.expr.filters.animated=function(t){return N.grep(N.timers,function(e){return t===e.elem}).length});var Vn=/^(?:body|html)$/i;function Gn(e){return N.isWindow(e)?e:9===e.nodeType&&(e.defaultView||e.parentWindow)}N.fn.offset=function(t){if(arguments.length)return t===T?this:this.each(function(e){N.offset.setOffset(this,t,e)});var e,n,r,i,o=this[0],a=o&&o.ownerDocument;return a?(r=a.body)===o?N.offset.bodyOffset(o):(e=a.documentElement,N.contains(e,o)?(o=o.getBoundingClientRect(),a=Gn(a),n=e.clientTop||r.clientTop||0,r=e.clientLeft||r.clientLeft||0,i=a.pageYOffset||e.scrollTop,a=a.pageXOffset||e.scrollLeft,{top:o.top+i-n,left:o.left+a-r}):{top:0,left:0}):void 0},N.offset={bodyOffset:function(e){var t=e.offsetTop,n=e.offsetLeft;return N.support.doesNotIncludeMarginInBodyOffset&&(t+=parseFloat(N.css(e,"marginTop"))||0,n+=parseFloat(N.css(e,"marginLeft"))||0),{top:t,left:n}},setOffset:function(e,t,n){var r,i=N.css(e,"position"),o=("static"===i&&(e.style.position="relative"),N(e)),a=o.offset(),s=N.css(e,"top"),l=N.css(e,"left"),u={},i=("absolute"===i||"fixed"===i)&&-1<N.inArray("auto",[s,l])?(r=(i=o.position()).top,i.left):(r=parseFloat(s)||0,parseFloat(l)||0);null!=(t=N.isFunction(t)?t.call(e,n,a):t).top&&(u.top=t.top-a.top+r),null!=t.left&&(u.left=t.left-a.left+i),"using"in t?t.using.call(e,u):o.css(u)}},N.fn.extend({position:function(){var e,t,n,r;if(this[0])return e=this[0],t=this.offsetParent(),n=this.offset(),r=Vn.test(t[0].nodeName)?{top:0,left:0}:t.offset(),n.top-=parseFloat(N.css(e,"marginTop"))||0,n.left-=parseFloat(N.css(e,"marginLeft"))||0,r.top+=parseFloat(N.css(t[0],"borderTopWidth"))||0,r.left+=parseFloat(N.css(t[0],"borderLeftWidth"))||0,{top:n.top-r.top,left:n.left-r.left}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent||v.body;e&&!Vn.test(e.nodeName)&&"static"===N.css(e,"position");)e=e.offsetParent;return e||v.body})}}),N.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o=/Y/.test(i);N.fn[t]=function(e){return N.access(this,function(e,t,n){var r=Gn(e);if(n===T)return r?i in r?r[i]:r.document.documentElement[t]:e[t];r?r.scrollTo(o?N(r).scrollLeft():n,o?n:N(r).scrollTop()):e[t]=n},t,e,arguments.length,null)}}),N.each({Height:"height",Width:"width"},function(o,a){N.each({padding:"inner"+o,content:a,"":"outer"+o},function(r,e){N.fn[e]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return N.access(this,function(e,t,n){var r;return N.isWindow(e)?e.document.documentElement["client"+o]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+o],r["scroll"+o],e.body["offset"+o],r["offset"+o],r["client"+o])):n===T?N.css(e,t,n,i):N.style(e,t,n,i)},a,n?e:T,n)}})}),y.sQuery=N,"function"==typeof define&&define.amd&&define.amd.sQuery&&define("jquery",[],function(){return N})}(window);
1
+ !function(y,T){function _(e,t){return(t+"").toUpperCase()}function q(){v.addEventListener?(v.removeEventListener("DOMContentLoaded",q,!1),N.ready()):"complete"===v.readyState&&(v.detachEvent("onreadystatechange",q),N.ready())}var B,W,v=y.document,P=y.location,R=y.navigator,$=y.sQuery,I=y.$,z=Array.prototype.push,c=Array.prototype.slice,X=Array.prototype.indexOf,U=Object.prototype.toString,Y=Object.prototype.hasOwnProperty,J=String.prototype.trim,N=function(e,t){return new N.fn.init(e,t,B)},V=/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source,G=/\S/,C=/\s+/,Q=G.test(" ")?/^[\s\xA0]+|[\s\xA0]+$/g:/^\s+|\s+$/g,K=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,Z=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,ee=/^[\],:{}\s]*$/,te=/(?:^|:|,)(?:\s*\[)+/g,ne=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,re=/"[^"\\\r\n]*"|true|false|null|-?(?:\d\d*\.|)\d+(?:[eE][\-+]?\d+|)/g,ie=/^-ms-/,oe=/-([\da-z])/gi,ae={},se=(N.fn=N.prototype={constructor:N,init:function(e,t,n){var r,i;if(!e)return this;if(e.nodeType)return this.context=this[0]=e,this.length=1,this;if("string"!=typeof e)return N.isFunction(e)?n.ready(e):(e.selector!==T&&(this.selector=e.selector,this.context=e.context),N.makeArray(e,this));if(!(r="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&3<=e.length?[null,e,null]:K.exec(e))||!r[1]&&t)return(!t||t.jquery?t||n:this.constructor(t)).find(e);if(r[1])return i=(t=t instanceof N?t[0]:t)&&t.nodeType?t.ownerDocument||t:v,e=N.parseHTML(r[1],i,!0),Z.test(r[1])&&N.isPlainObject(t)&&this.attr.call(e,t,!0),N.merge(this,e);if((i=v.getElementById(r[2]))&&i.parentNode){if(i.id!==r[2])return n.find(e);this.length=1,this[0]=i}return this.context=v,this.selector=e,this},selector:"",jquery:"1.8.0",length:0,size:function(){return this.length},toArray:function(){return c.call(this)},get:function(e){return null==e?this.toArray():e<0?this[this.length+e]:this[e]},pushStack:function(e,t,n){e=N.merge(this.constructor(),e);return e.prevObject=this,e.context=this.context,"find"===t?e.selector=this.selector+(this.selector?" ":"")+n:t&&(e.selector=this.selector+"."+t+"("+n+")"),e},each:function(e,t){return N.each(this,e,t)},ready:function(e){return N.ready.promise().done(e),this},eq:function(e){return-1===(e=+e)?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(c.apply(this,arguments),"slice",c.call(arguments).join(","))},map:function(n){return this.pushStack(N.map(this,function(e,t){return n.call(e,t,e)}))},end:function(){return this.prevObject||this.constructor(null)},push:z,sort:[].sort,splice:[].splice},N.fn.init.prototype=N.fn,N.extend=N.fn.extend=function(){var e,t,n,r,i,o=arguments[0]||{},a=1,s=arguments.length,l=!1;for("boolean"==typeof o&&(l=o,o=arguments[1]||{},a=2),"object"==typeof o||N.isFunction(o)||(o={}),s===a&&(o=this,--a);a<s;a++)if(null!=(e=arguments[a]))for(t in e)i=o[t],o!==(n=e[t])&&(l&&n&&(N.isPlainObject(n)||(r=N.isArray(n)))?(i=r?(r=!1,i&&N.isArray(i)?i:[]):i&&N.isPlainObject(i)?i:{},o[t]=N.extend(l,i,n)):n!==T&&(o[t]=n));return o},N.extend({noConflict:function(e){return y.$===N&&(y.$=I),e&&y.sQuery===N&&(y.sQuery=$),N},isReady:!1,readyWait:1,holdReady:function(e){e?N.readyWait++:N.ready(!0)},ready:function(e){if(!0===e?!--N.readyWait:!N.isReady){if(!v.body)return setTimeout(N.ready,1);(N.isReady=!0)!==e&&0<--N.readyWait||(W.resolveWith(v,[N]),N.fn.trigger&&N(v).trigger("ready").off("ready"))}},isFunction:function(e){return"function"===N.type(e)},isArray:Array.isArray||function(e){return"array"===N.type(e)},isWindow:function(e){return null!=e&&e==e.window},isNumeric:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},type:function(e){return null==e?String(e):ae[U.call(e)]||"object"},isPlainObject:function(e){if(!e||"object"!==N.type(e)||e.nodeType||N.isWindow(e))return!1;try{if(e.constructor&&!Y.call(e,"constructor")&&!Y.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(e){return!1}for(var t in e);return t===T||Y.call(e,t)},isEmptyObject:function(e){for(var t in e)return!1;return!0},error:function(e){throw new Error(e)},parseHTML:function(e,t,n){var r;return e&&"string"==typeof e?("boolean"==typeof t&&(n=t,t=0),t=t||v,(r=Z.exec(e))?[t.createElement(r[1])]:(r=N.buildFragment([e],t,n?null:[]),N.merge([],(r.cacheable?N.clone(r.fragment):r.fragment).childNodes))):null},parseJSON:function(e){return e&&"string"==typeof e?(e=N.trim(e),y.JSON&&y.JSON.parse?y.JSON.parse(e):ee.test(e.replace(ne,"@").replace(re,"]").replace(te,""))?new Function("return "+e)():void N.error("Invalid JSON: "+e)):null},parseXML:function(e){var t;if(!e||"string"!=typeof e)return null;try{y.DOMParser?t=(new DOMParser).parseFromString(e,"text/xml"):((t=new ActiveXObject("Microsoft.XMLDOM")).async="false",t.loadXML(e))}catch(e){t=T}return t&&t.documentElement&&!t.getElementsByTagName("parsererror").length||N.error("Invalid XML: "+e),t},noop:function(){},globalEval:function(e){e&&G.test(e)&&(y.execScript||function(e){y.eval.call(y,e)})(e)},camelCase:function(e){return e.replace(ie,"ms-").replace(oe,_)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toUpperCase()===t.toUpperCase()},each:function(e,t,n){var r,i=0,o=e.length,a=o===T||N.isFunction(e);if(n)if(a){for(r in e)if(!1===t.apply(e[r],n))break}else for(;i<o&&!1!==t.apply(e[i++],n););else if(a){for(r in e)if(!1===t.call(e[r],r,e[r]))break}else for(;i<o&&!1!==t.call(e[i],i,e[i++]););return e},trim:J?function(e){return null==e?"":J.call(e)}:function(e){return null==e?"":e.toString().replace(Q,"")},makeArray:function(e,t){var n,t=t||[];return null!=e&&(n=N.type(e),null==e.length||"string"===n||"function"===n||"regexp"===n||N.isWindow(e)?z.call(t,e):N.merge(t,e)),t},inArray:function(e,t,n){var r;if(t){if(X)return X.call(t,e,n);for(r=t.length,n=n?n<0?Math.max(0,r+n):n:0;n<r;n++)if(n in t&&t[n]===e)return n}return-1},merge:function(e,t){var n=t.length,r=e.length,i=0;if("number"==typeof n)for(;i<n;i++)e[r++]=t[i];else for(;t[i]!==T;)e[r++]=t[i++];return e.length=r,e},grep:function(e,t,n){var r=[],i=0,o=e.length;for(n=!!n;i<o;i++)n!==!!t(e[i],i)&&r.push(e[i]);return r},map:function(e,t,n){var r,i,o=[],a=0,s=e.length;if(e instanceof N||s!==T&&"number"==typeof s&&(0<s&&e[0]&&e[s-1]||0===s||N.isArray(e)))for(;a<s;a++)null!=(r=t(e[a],a,n))&&(o[o.length]=r);else for(i in e)null!=(r=t(e[i],i,n))&&(o[o.length]=r);return o.concat.apply([],o)},guid:1,proxy:function(e,t){var n,r;return"string"==typeof t&&(r=e[t],t=e,e=r),N.isFunction(e)?(n=c.call(arguments,2),(r=function(){return e.apply(t,n.concat(c.call(arguments)))}).guid=e.guid=e.guid||r.guid||N.guid++,r):T},access:function(e,t,n,r,i,o,a){var s,l=null==n,u=0,c=e.length;if(n&&"object"==typeof n){for(u in n)N.access(e,t,u,n[u],1,o,r);i=1}else if(r!==T){if(s=a===T&&N.isFunction(r),t=l?s?(s=t,function(e,t,n){return s.call(N(e),n)}):(t.call(e,r),null):t)for(;u<c;u++)t(e[u],n,s?r.call(e[u],u,t(e[u],n)):r,a);i=1}return i?e:l?t.call(e):c?t(e[0],n):o},now:function(){return(new Date).getTime()}}),N.ready.promise=function(e){if(!W)if(W=N.Deferred(),"complete"===v.readyState||"loading"!==v.readyState&&v.addEventListener)setTimeout(N.ready,1);else if(v.addEventListener)v.addEventListener("DOMContentLoaded",q,!1),y.addEventListener("load",N.ready,!1);else{v.attachEvent("onreadystatechange",q),y.attachEvent("onload",N.ready);var n=!1;try{n=null==y.frameElement&&v.documentElement}catch(e){}n&&n.doScroll&&!function t(){if(!N.isReady){try{n.doScroll("left")}catch(e){return setTimeout(t,50)}N.ready()}}()}return W.promise(e)},N.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(e,t){ae["[object "+t+"]"]=t.toLowerCase()}),B=N(v),{});N.Callbacks=function(r){var e,n;r="string"==typeof r?se[r]||(n=se[e=r]={},N.each(e.split(C),function(e,t){n[t]=!0}),n):N.extend({},r);function i(e){for(t=r.memory&&e,o=!0,u=s||0,s=0,l=c.length,a=!0;c&&u<l;u++)if(!1===c[u].apply(e[0],e[1])&&r.stopOnFalse){t=!1;break}a=!1,c&&(f?f.length&&i(f.shift()):t?c=[]:p.disable())}var t,o,a,s,l,u,c=[],f=!r.once&&[],p={add:function(){var e;return c&&(e=c.length,function n(e){N.each(e,function(e,t){!N.isFunction(t)||r.unique&&p.has(t)?t&&t.length&&n(t):c.push(t)})}(arguments),a?l=c.length:t&&(s=e,i(t))),this},remove:function(){return c&&N.each(arguments,function(e,t){for(var n;-1<(n=N.inArray(t,c,n));)c.splice(n,1),a&&(n<=l&&l--,n<=u&&u--)}),this},has:function(e){return-1<N.inArray(e,c)},empty:function(){return c=[],this},disable:function(){return c=f=t=T,this},disabled:function(){return!c},lock:function(){return f=T,t||p.disable(),this},locked:function(){return!f},fireWith:function(e,t){return t=[e,(t=t||[]).slice?t.slice():t],!c||o&&!f||(a?f.push(t):i(t)),this},fire:function(){return p.fireWith(this,arguments),this},fired:function(){return!!o}};return p},N.extend({Deferred:function(e){var a=[["resolve","done",N.Callbacks("once memory"),"resolved"],["reject","fail",N.Callbacks("once memory"),"rejected"],["notify","progress",N.Callbacks("memory")]],i="pending",o={state:function(){return i},always:function(){return s.done(arguments).fail(arguments),this},then:function(){var o=arguments;return N.Deferred(function(i){N.each(a,function(e,t){var n=t[0],r=o[e];s[t[1]](N.isFunction(r)?function(){var e=r.apply(this,arguments);e&&N.isFunction(e.promise)?e.promise().done(i.resolve).fail(i.reject).progress(i.notify):i[n+"With"](this===s?i:this,[e])}:i[n])}),o=null}).promise()},promise:function(e){return"object"==typeof e?N.extend(e,o):o}},s={};return o.pipe=o.then,N.each(a,function(e,t){var n=t[2],r=t[3];o[t[1]]=n.add,r&&n.add(function(){i=r},a[1^e][2].disable,a[2][2].lock),s[t[0]]=n.fire,s[t[0]+"With"]=n.fireWith}),o.promise(s),e&&e.call(s,s),s},when:function(e){function t(t,n,r){return function(e){n[t]=this,r[t]=1<arguments.length?c.call(arguments):e,r===i?u.notifyWith(n,r):--l||u.resolveWith(n,r)}}var i,n,r,o=0,a=c.call(arguments),s=a.length,l=1!==s||e&&N.isFunction(e.promise)?s:0,u=1===l?e:N.Deferred();if(1<s)for(i=new Array(s),n=new Array(s),r=new Array(s);o<s;o++)a[o]&&N.isFunction(a[o].promise)?a[o].promise().done(t(o,r,a)).fail(u.reject).progress(t(o,n,i)):--l;return l||u.resolveWith(r,a),u.promise()}}),N.support=function(){var o,e,t,n,r,i,a,s,l,u=v.createElement("div");if(u.setAttribute("className","t"),u.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",e=u.getElementsByTagName("*"),(t=u.getElementsByTagName("a")[0]).style.cssText="top:1px;float:left;opacity:.5",!e||!e.length||!t)return{};l=(n=v.createElement("select")).appendChild(v.createElement("option")),r=u.getElementsByTagName("input")[0],o={leadingWhitespace:3===u.firstChild.nodeType,tbody:!u.getElementsByTagName("tbody").length,htmlSerialize:!!u.getElementsByTagName("link").length,style:/top/.test(t.getAttribute("style")),hrefNormalized:"/a"===t.getAttribute("href"),opacity:/^0.5/.test(t.style.opacity),cssFloat:!!t.style.cssFloat,checkOn:"on"===r.value,optSelected:l.selected,getSetAttribute:"t"!==u.className,enctype:!!v.createElement("form").enctype,html5Clone:"<:nav></:nav>"!==v.createElement("nav").cloneNode(!0).outerHTML,boxModel:"CSS1Compat"===v.compatMode,submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0,boxSizingReliable:!0,pixelPosition:!1},r.checked=!0,o.noCloneChecked=r.cloneNode(!0).checked,n.disabled=!0,o.optDisabled=!l.disabled;try{delete u.test}catch(e){o.deleteExpando=!1}if(!u.addEventListener&&u.attachEvent&&u.fireEvent&&(u.attachEvent("onclick",l=function(){o.noCloneEvent=!1}),u.cloneNode(!0).fireEvent("onclick"),u.detachEvent("onclick",l)),(r=v.createElement("input")).value="t",r.setAttribute("type","radio"),o.radioValue="t"===r.value,r.setAttribute("checked","checked"),r.setAttribute("name","t"),u.appendChild(r),(l=v.createDocumentFragment()).appendChild(u.lastChild),o.checkClone=l.cloneNode(!0).cloneNode(!0).lastChild.checked,o.appendChecked=r.checked,l.removeChild(r),l.appendChild(u),u.attachEvent)for(a in{submit:!0,change:!0,focusin:!0})(s=(i="on"+a)in u)||(u.setAttribute(i,"return;"),s="function"==typeof u[i]),o[a+"Bubbles"]=s;return N(function(){var e,t,n,r="padding:0;margin:0;border:0;display:block;overflow:hidden;",i=v.getElementsByTagName("body")[0];i&&((e=v.createElement("div")).style.cssText="visibility:hidden;border:0;width:0;height:0;position:static;top:0;margin-top:1px",i.insertBefore(e,i.firstChild),t=v.createElement("div"),e.appendChild(t),t.innerHTML="<table><tr><td></td><td>t</td></tr></table>",(n=t.getElementsByTagName("td"))[0].style.cssText="padding:0;margin:0;border:0;display:none",s=0===n[0].offsetHeight,n[0].style.display="",n[1].style.display="none",o.reliableHiddenOffsets=s&&0===n[0].offsetHeight,t.innerHTML="",t.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%;",o.boxSizing=4===t.offsetWidth,o.doesNotIncludeMarginInBodyOffset=1!==i.offsetTop,y.getComputedStyle&&(o.pixelPosition="1%"!==(y.getComputedStyle(t,null)||{}).top,o.boxSizingReliable="4px"===(y.getComputedStyle(t,null)||{width:"4px"}).width,(n=v.createElement("div")).style.cssText=t.style.cssText=r,n.style.marginRight=n.style.width="0",t.style.width="1px",t.appendChild(n),o.reliableMarginRight=!parseFloat((y.getComputedStyle(n,null)||{}).marginRight)),void 0!==t.style.zoom&&(t.innerHTML="",t.style.cssText=r+"width:1px;padding:1px;display:inline;zoom:1",o.inlineBlockNeedsLayout=3===t.offsetWidth,t.style.display="block",t.style.overflow="visible",t.innerHTML="<div></div>",t.firstChild.style.width="5px",o.shrinkWrapBlocks=3!==t.offsetWidth,e.style.zoom=1),i.removeChild(e))}),l.removeChild(u),e=t=n=r=l=u=null,o}();var le=/^(?:\{.*\}|\[.*\])$/,ue=/([A-Z])/g;function ce(e,t,n){if(n===T&&1===e.nodeType){var r="data-"+t.replace(ue,"-$1").toLowerCase();if("string"==typeof(n=e.getAttribute(r))){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:le.test(n)?N.parseJSON(n):n)}catch(e){}N.data(e,t,n)}else n=T}return n}function fe(e){for(var t in e)if(("data"!==t||!N.isEmptyObject(e[t]))&&"toJSON"!==t)return;return 1}N.extend({cache:{},deletedIds:[],uuid:0,expando:"sQuery"+(N.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?N.cache[e[N.expando]]:e[N.expando])&&!fe(e)},data:function(e,t,n,r){if(N.acceptData(e)){var i,o=N.expando,a="string"==typeof t,s=e.nodeType,l=s?N.cache:e,u=s?e[o]:e[o]&&o;if(u&&l[u]&&(r||l[u].data)||!a||n!==T)return u||(s?e[o]=u=N.deletedIds.pop()||++N.uuid:u=o),l[u]||(l[u]={},s||(l[u].toJSON=N.noop)),"object"!=typeof t&&"function"!=typeof t||(r?l[u]=N.extend(l[u],t):l[u].data=N.extend(l[u].data,t)),e=l[u],r||(e.data||(e.data={}),e=e.data),n!==T&&(e[N.camelCase(t)]=n),a?null==(i=e[t])&&(i=e[N.camelCase(t)]):i=e,i}},removeData:function(e,t,n){if(N.acceptData(e)){var r,i,o,a=e.nodeType,s=a?N.cache:e,l=a?e[N.expando]:N.expando;if(s[l]){if(t&&(r=n?s[l]:s[l].data)){for((i=0,o=(t=N.isArray(t)?t:t in r||(t=N.camelCase(t))in r?[t]:t.split(" ")).length);i<o;i++)delete r[t[i]];if(!(n?fe:N.isEmptyObject)(r))return}(n||(delete s[l].data,fe(s[l])))&&(a?N.cleanData([e],!0):N.support.deleteExpando||s!=s.window?delete s[l]:s[l]=null)}}},_data:function(e,t,n){return N.data(e,t,n,!0)},acceptData:function(e){var t=e.nodeName&&N.noData[e.nodeName.toLowerCase()];return!t||!0!==t&&e.getAttribute("classid")===t}}),N.fn.extend({data:function(n,e){var r,i,t,o,a,s=this[0],l=0,u=null;if(n!==T)return"object"==typeof n?this.each(function(){N.data(this,n)}):((r=n.split(".",2))[1]=r[1]?"."+r[1]:"",i=r[1]+"!",N.access(this,function(t){if(t===T)return(u=this.triggerHandler("getData"+i,[r[0]]))===T&&s&&(u=N.data(s,n),u=ce(s,n,u)),u===T&&r[1]?this.data(r[0]):u;r[1]=t,this.each(function(){var e=N(this);e.triggerHandler("setData"+i,r),N.data(this,n,t),e.triggerHandler("changeData"+i,r)})},null,e,1<arguments.length,null,!1));if(this.length&&(u=N.data(s),1===s.nodeType&&!N._data(s,"parsedAttrs"))){for(a=(t=s.attributes).length;l<a;l++)0===(o=t[l].name).indexOf("data-")&&(o=N.camelCase(o.substring(5)),ce(s,o,u[o]));N._data(s,"parsedAttrs",!0)}return u},removeData:function(e){return this.each(function(){N.removeData(this,e)})}}),N.extend({queue:function(e,t,n){var r;if(e)return r=N._data(e,t=(t||"fx")+"queue"),n&&(!r||N.isArray(n)?r=N._data(e,t,N.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=N.queue(e,t),r=n.shift(),i=N._queueHooks(e,t);(r="inprogress"===r?n.shift():r)&&("fx"===t&&n.unshift("inprogress"),delete i.stop,r.call(e,function(){N.dequeue(e,t)},i)),!n.length&&i&&i.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return N._data(e,n)||N._data(e,n,{empty:N.Callbacks("once memory").add(function(){N.removeData(e,t+"queue",!0),N.removeData(e,n,!0)})})}}),N.fn.extend({queue:function(t,n){var e=2;return"string"!=typeof t&&(n=t,t="fx",e--),arguments.length<e?N.queue(this[0],t):n===T?this:this.each(function(){var e=N.queue(this,t,n);N._queueHooks(this,t),"fx"===t&&"inprogress"!==e[0]&&N.dequeue(this,t)})},dequeue:function(e){return this.each(function(){N.dequeue(this,e)})},delay:function(r,e){return r=N.fx&&N.fx.speeds[r]||r,this.queue(e=e||"fx",function(e,t){var n=setTimeout(e,r);t.stop=function(){clearTimeout(n)}})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){function n(){--i||o.resolveWith(a,[a])}var r,i=1,o=N.Deferred(),a=this,s=this.length;for("string"!=typeof e&&(t=e,e=T),e=e||"fx";s--;)(r=N._data(a[s],e+"queueHooks"))&&r.empty&&(i++,r.empty.add(n));return n(),o.promise(t)}});function pe(e){return N.event.special.hover?e:e.replace(Ce,"mouseenter$1 mouseleave$1")}var s,de,he,ge=/[\t\r\n]/g,me=/\r/g,ye=/^(?:button|input)$/i,ve=/^(?:button|input|object|select|textarea)$/i,be=/^a(?:rea|)$/i,xe=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,we=N.support.getSetAttribute,Te=(N.fn.extend({attr:function(e,t){return N.access(this,N.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each(function(){N.removeAttr(this,e)})},prop:function(e,t){return N.access(this,N.prop,e,t,1<arguments.length)},removeProp:function(e){return e=N.propFix[e]||e,this.each(function(){try{this[e]=T,delete this[e]}catch(e){}})},addClass:function(t){var e,n,r,i,o,a,s;if(N.isFunction(t))return this.each(function(e){N(this).addClass(t.call(this,e,this.className))});if(t&&"string"==typeof t)for(e=t.split(C),n=0,r=this.length;n<r;n++)if(1===(i=this[n]).nodeType)if(i.className||1!==e.length){for(o=" "+i.className+" ",a=0,s=e.length;a<s;a++)~o.indexOf(" "+e[a]+" ")||(o+=e[a]+" ");i.className=N.trim(o)}else i.className=t;return this},removeClass:function(t){var e,n,r,i,o,a,s;if(N.isFunction(t))return this.each(function(e){N(this).removeClass(t.call(this,e,this.className))});if(t&&"string"==typeof t||t===T)for(e=(t||"").split(C),a=0,s=this.length;a<s;a++)if(1===(r=this[a]).nodeType&&r.className){for(n=(" "+r.className+" ").replace(ge," "),i=0,o=e.length;i<o;i++)for(;-1<n.indexOf(" "+e[i]+" ");)n=n.replace(" "+e[i]+" "," ");r.className=t?N.trim(n):""}return this},toggleClass:function(o,a){var s=typeof o,l="boolean"==typeof a;return N.isFunction(o)?this.each(function(e){N(this).toggleClass(o.call(this,e,this.className,a),a)}):this.each(function(){if("string"==s)for(var e,t=0,n=N(this),r=a,i=o.split(C);e=i[t++];)r=l?r:!n.hasClass(e),n[r?"addClass":"removeClass"](e);else"undefined"!=s&&"boolean"!=s||(this.className&&N._data(this,"__className__",this.className),this.className=!this.className&&!1!==o&&N._data(this,"__className__")||"")})},hasClass:function(e){for(var t=" "+e+" ",n=0,r=this.length;n<r;n++)if(1===this[n].nodeType&&-1<(" "+this[n].className+" ").replace(ge," ").indexOf(t))return!0;return!1},val:function(n){var r,e,i,t=this[0];return arguments.length?(i=N.isFunction(n),this.each(function(e){var t=N(this);1===this.nodeType&&(null==(e=i?n.call(this,e,t.val()):n)?e="":"number"==typeof e?e+="":N.isArray(e)&&(e=N.map(e,function(e){return null==e?"":e+""})),(r=N.valHooks[this.type]||N.valHooks[this.nodeName.toLowerCase()])&&"set"in r&&r.set(this,e,"value")!==T||(this.value=e))})):t?(r=N.valHooks[t.type]||N.valHooks[t.nodeName.toLowerCase()])&&"get"in r&&(e=r.get(t,"value"))!==T?e:"string"==typeof(e=t.value)?e.replace(me,""):null==e?"":e:void 0}}),N.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=e.selectedIndex,o=[],a=e.options,s="select-one"===e.type;if(i<0)return null;for(t=s?i:0,n=s?i+1:a.length;t<n;t++)if((r=a[t]).selected&&(N.support.optDisabled?!r.disabled:null===r.getAttribute("disabled"))&&(!r.parentNode.disabled||!N.nodeName(r.parentNode,"optgroup"))){if(r=N(r).val(),s)return r;o.push(r)}return s&&!o.length&&a.length?N(a[i]).val():o},set:function(e,t){var n=N.makeArray(t);return N(e).find("option").each(function(){this.selected=0<=N.inArray(N(this).val(),n)}),n.length||(e.selectedIndex=-1),n}}},attrFn:{},attr:function(e,t,n,r){var i,o,a=e.nodeType;if(e&&3!==a&&8!==a&&2!==a)return r&&N.isFunction(N.fn[t])?N(e)[t](n):void 0===e.getAttribute?N.prop(e,t,n):((r=1!==a||!N.isXMLDoc(e))&&(t=t.toLowerCase(),o=N.attrHooks[t]||(xe.test(t)?de:s)),n===T?!(o&&"get"in o&&r&&null!==(i=o.get(e,t)))&&null===(i=e.getAttribute(t))?T:i:null!==n?o&&"set"in o&&r&&(i=o.set(e,n,t))!==T?i:(e.setAttribute(t,""+n),n):void N.removeAttr(e,t))},removeAttr:function(e,t){var n,r,i,o,a=0;if(t&&1===e.nodeType)for(r=t.split(C);a<r.length;a++)(i=r[a])&&(n=N.propFix[i]||i,(o=xe.test(i))||N.attr(e,i,""),e.removeAttribute(we?i:n),o&&n in e&&(e[n]=!1))},attrHooks:{type:{set:function(e,t){var n;if(ye.test(e.nodeName)&&e.parentNode)N.error("type property can't be changed");else if(!N.support.radioValue&&"radio"===t&&N.nodeName(e,"input"))return n=e.value,e.setAttribute("type",t),n&&(e.value=n),t}},value:{get:function(e,t){return s&&N.nodeName(e,"button")?s.get(e,t):t in e?e.value:null},set:function(e,t,n){if(s&&N.nodeName(e,"button"))return s.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,t,n){var r,i,o=e.nodeType;if(e&&3!==o&&8!==o&&2!==o)return(1!==o||!N.isXMLDoc(e))&&(t=N.propFix[t]||t,i=N.propHooks[t]),n!==T?i&&"set"in i&&(r=i.set(e,n,t))!==T?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=e.getAttributeNode("tabindex");return t&&t.specified?parseInt(t.value,10):ve.test(e.nodeName)||be.test(e.nodeName)&&e.href?0:T}}}}),de={get:function(e,t){var n=N.prop(e,t);return!0===n||"boolean"!=typeof n&&(n=e.getAttributeNode(t))&&!1!==n.nodeValue?t.toLowerCase():T},set:function(e,t,n){return!1===t?N.removeAttr(e,n):((t=N.propFix[n]||n)in e&&(e[t]=!0),e.setAttribute(n,n.toLowerCase())),n}},we||(he={name:!0,id:!0,coords:!0},s=N.valHooks.button={get:function(e,t){e=e.getAttributeNode(t);return e&&(he[t]?""!==e.value:e.specified)?e.value:T},set:function(e,t,n){var r=e.getAttributeNode(n);return r||(r=v.createAttribute(n),e.setAttributeNode(r)),r.value=t+""}},N.each(["width","height"],function(e,n){N.attrHooks[n]=N.extend(N.attrHooks[n],{set:function(e,t){if(""===t)return e.setAttribute(n,"auto"),t}})}),N.attrHooks.contenteditable={get:s.get,set:function(e,t,n){s.set(e,t=""===t?"false":t,n)}}),N.support.hrefNormalized||N.each(["href","src","width","height"],function(e,t){N.attrHooks[t]=N.extend(N.attrHooks[t],{get:function(e){e=e.getAttribute(t,2);return null===e?T:e}})}),N.support.style||(N.attrHooks.style={get:function(e){return e.style.cssText.toLowerCase()||T},set:function(e,t){return e.style.cssText=""+t}}),N.support.optSelected||(N.propHooks.selected=N.extend(N.propHooks.selected,{get:function(e){e=e.parentNode;return e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex),null}})),N.support.enctype||(N.propFix.enctype="encoding"),N.support.checkOn||N.each(["radio","checkbox"],function(){N.valHooks[this]={get:function(e){return null===e.getAttribute("value")?"on":e.value}}}),N.each(["radio","checkbox"],function(){N.valHooks[this]=N.extend(N.valHooks[this],{set:function(e,t){if(N.isArray(t))return e.checked=0<=N.inArray(N(e).val(),t)}})}),/^(?:textarea|input|select)$/i),Ne=/^([^\.]*|)(?:\.(.+)|)$/,Ce=/(?:^|\s)hover(\.\S+|)\b/,Ee=/^key/,ke=/^(?:mouse|contextmenu)|click/,Se=/^(?:focusinfocus|focusoutblur)$/;function l(){return!1}function Ae(){return!0}N.event={add:function(e,t,n,r,i){var o,a,s,l,u,c,f,p,d,h;if(3!==e.nodeType&&8!==e.nodeType&&t&&n&&(o=N._data(e)))for(n.handler&&(n=(p=n).handler,i=p.selector),n.guid||(n.guid=N.guid++),(s=o.events)||(o.events=s={}),(a=o.handle)||(o.handle=a=function(e){return void 0===N||e&&N.event.triggered===e.type?T:N.event.dispatch.apply(a.elem,arguments)},a.elem=e),t=N.trim(pe(t)).split(" "),l=0;l<t.length;l++)u=(f=Ne.exec(t[l])||[])[1],c=(f[2]||"").split(".").sort(),h=N.event.special[u]||{},u=(i?h.delegateType:h.bindType)||u,h=N.event.special[u]||{},f=N.extend({type:u,origType:f[1],data:r,handler:n,guid:n.guid,selector:i,namespace:c.join(".")},p),(d=s[u])||((d=s[u]=[]).delegateCount=0,h.setup&&!1!==h.setup.call(e,r,c,a)||(e.addEventListener?e.addEventListener(u,a,!1):e.attachEvent&&e.attachEvent("on"+u,a))),h.add&&(h.add.call(e,f),f.handler.guid||(f.handler.guid=n.guid)),i?d.splice(d.delegateCount++,0,f):d.push(f),N.event.global[u]=!0},global:{},remove:function(e,t,n,r,i){var o,a,s,l,u,c,f,p,d,h,g=N.hasData(e)&&N._data(e);if(g&&(f=g.events)){for(t=N.trim(pe(t||"")).split(" "),o=0;o<t.length;o++)if(a=s=(u=Ne.exec(t[o])||[])[1],l=u[2],a){for(p=N.event.special[a]||{},u=(d=f[a=(r?p.delegateType:p.bindType)||a]||[]).length,l=l?new RegExp("(^|\\.)"+l.split(".").sort().join("\\.(?:.*\\.|)")+"(\\.|$)"):null,c=0;c<d.length;c++)h=d[c],!i&&s!==h.origType||n&&n.guid!==h.guid||l&&!l.test(h.namespace)||r&&r!==h.selector&&("**"!==r||!h.selector)||(d.splice(c--,1),h.selector&&d.delegateCount--,p.remove&&p.remove.call(e,h));0===d.length&&u!==d.length&&(p.teardown&&!1!==p.teardown.call(e,l,g.handle)||N.removeEvent(e,a,g.handle),delete f[a])}else for(a in f)N.event.remove(e,a+t[o],n,r,!0);N.isEmptyObject(f)&&(delete g.handle,N.removeData(e,"events",!0))}},customEvent:{getData:!0,setData:!0,changeData:!0},trigger:function(e,t,n,r){if(!n||3!==n.nodeType&&8!==n.nodeType){var i,o,a,s,l,u,c,f,p,d=e.type||e,h=[];if(!Se.test(d+N.event.triggered)&&(0<=d.indexOf("!")&&(d=d.slice(0,-1),u=!0),0<=d.indexOf(".")&&(d=(h=d.split(".")).shift(),h.sort()),n&&!N.event.customEvent[d]||N.event.global[d]))if((e="object"==typeof e?e[N.expando]?e:new N.Event(d,e):new N.Event(d)).type=d,e.isTrigger=!0,e.exclusive=u,e.namespace=h.join("."),e.namespace_re=e.namespace?new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,l=d.indexOf(":")<0?"on"+d:"",n){if(e.result=T,e.target||(e.target=n),(t=null!=t?N.makeArray(t):[]).unshift(e),!(u=N.event.special[d]||{}).trigger||!1!==u.trigger.apply(n,t)){if(f=[[n,u.bindType||d]],!r&&!u.noBubble&&!N.isWindow(n)){for(p=u.delegateType||d,a=Se.test(p+d)?n:n.parentNode,s=n;a;a=a.parentNode)f.push([a,p]),s=a;s===(n.ownerDocument||v)&&f.push([s.defaultView||s.parentWindow||y,p])}for(o=0;o<f.length&&!e.isPropagationStopped();o++)a=f[o][0],e.type=f[o][1],(c=(N._data(a,"events")||{})[e.type]&&N._data(a,"handle"))&&c.apply(a,t),(c=l&&a[l])&&N.acceptData(a)&&!1===c.apply(a,t)&&e.preventDefault();return e.type=d,r||e.isDefaultPrevented()||u._default&&!1!==u._default.apply(n.ownerDocument,t)||"click"===d&&N.nodeName(n,"a")||!N.acceptData(n)||l&&n[d]&&("focus"!==d&&"blur"!==d||0!==e.target.offsetWidth)&&!N.isWindow(n)&&((s=n[l])&&(n[l]=null),n[N.event.triggered=d](),N.event.triggered=T,s&&(n[l]=s)),e.result}}else for(o in i=N.cache)i[o].events&&i[o].events[d]&&N.event.trigger(e,t,i[o].handle.elem,!0)}},dispatch:function(e){e=N.event.fix(e||y.event);var t,n,r,i,o,a,s,l,u,c,f=(N._data(this,"events")||{})[e.type]||[],p=f.delegateCount,d=[].slice.call(arguments),h=!e.exclusive&&!e.namespace,g=N.event.special[e.type]||{},m=[];if((d[0]=e).delegateTarget=this,!g.preDispatch||!1!==g.preDispatch.call(this,e)){if(p&&(!e.button||"click"!==e.type))for((i=N(this)).context=this,r=e.target;r!=this;r=r.parentNode||this)if(!0!==r.disabled||"click"!==e.type){for(a={},l=[],i[0]=r,t=0;t<p;t++)a[c=(u=f[t]).selector]===T&&(a[c]=i.is(c)),a[c]&&l.push(u);l.length&&m.push({elem:r,matches:l})}for(f.length>p&&m.push({elem:this,matches:f.slice(p)}),t=0;t<m.length&&!e.isPropagationStopped();t++)for(s=m[t],e.currentTarget=s.elem,n=0;n<s.matches.length&&!e.isImmediatePropagationStopped();n++)u=s.matches[n],(h||!e.namespace&&!u.namespace||e.namespace_re&&e.namespace_re.test(u.namespace))&&(e.data=u.data,e.handleObj=u,(o=((N.event.special[u.origType]||{}).handle||u.handler).apply(s.elem,d))!==T&&!1===(e.result=o)&&(e.preventDefault(),e.stopPropagation()));return g.postDispatch&&g.postDispatch.call(this,e),e.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 null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,t){var n,r,i=t.button,o=t.fromElement;return null==e.pageX&&null!=t.clientX&&(n=(r=e.target.ownerDocument||v).documentElement,r=r.body,e.pageX=t.clientX+(n&&n.scrollLeft||r&&r.scrollLeft||0)-(n&&n.clientLeft||r&&r.clientLeft||0),e.pageY=t.clientY+(n&&n.scrollTop||r&&r.scrollTop||0)-(n&&n.clientTop||r&&r.clientTop||0)),!e.relatedTarget&&o&&(e.relatedTarget=o===e.target?t.toElement:o),e.which||i===T||(e.which=1&i?1:2&i?3:4&i?2:0),e}},fix:function(e){if(e[N.expando])return e;var t,n,r=e,i=N.event.fixHooks[e.type]||{},o=i.props?this.props.concat(i.props):this.props;for(e=N.Event(r),t=o.length;t;)e[n=o[--t]]=r[n];return e.target||(e.target=r.srcElement||v),3===e.target.nodeType&&(e.target=e.target.parentNode),e.metaKey=!!e.metaKey,i.filter?i.filter(e,r):e},special:{ready:{setup:N.bindReady},load:{noBubble:!0},focus:{delegateType:"focusin"},blur:{delegateType:"focusout"},beforeunload:{setup:function(e,t,n){N.isWindow(this)&&(this.onbeforeunload=n)},teardown:function(e,t){this.onbeforeunload===t&&(this.onbeforeunload=null)}}},simulate:function(e,t,n,r){e=N.extend(new N.Event,n,{type:e,isSimulated:!0,originalEvent:{}});r?N.event.trigger(e,null,t):N.event.dispatch.call(t,e),e.isDefaultPrevented()&&n.preventDefault()}},N.event.handle=N.event.dispatch,N.removeEvent=v.removeEventListener?function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n,!1)}:function(e,t,n){t="on"+t;e.detachEvent&&(void 0===e[t]&&(e[t]=null),e.detachEvent(t,n))},N.Event=function(e,t){if(!(this instanceof N.Event))return new N.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||!1===e.returnValue||e.getPreventDefault&&e.getPreventDefault()?Ae:l):this.type=e,t&&N.extend(this,t),this.timeStamp=e&&e.timeStamp||N.now(),this[N.expando]=!0},N.Event.prototype={preventDefault:function(){this.isDefaultPrevented=Ae;var e=this.originalEvent;e&&(e.preventDefault?e.preventDefault():e.returnValue=!1)},stopPropagation:function(){this.isPropagationStopped=Ae;var e=this.originalEvent;e&&(e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=Ae,this.stopPropagation()},isDefaultPrevented:l,isPropagationStopped:l,isImmediatePropagationStopped:l},N.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(e,i){N.event.special[e]={delegateType:i,bindType:i,handle:function(e){var t,n=e.relatedTarget,r=e.handleObj;r.selector;return n&&(n===this||N.contains(this,n))||(e.type=r.origType,t=r.handler.apply(this,arguments),e.type=i),t}}}),N.support.submitBubbles||(N.event.special.submit={setup:function(){if(N.nodeName(this,"form"))return!1;N.event.add(this,"click._submit keypress._submit",function(e){e=e.target,e=N.nodeName(e,"input")||N.nodeName(e,"button")?e.form:T;e&&!N._data(e,"_submit_attached")&&(N.event.add(e,"submit._submit",function(e){e._submit_bubble=!0}),N._data(e,"_submit_attached",!0))})},postDispatch:function(e){e._submit_bubble&&(delete e._submit_bubble,this.parentNode&&!e.isTrigger&&N.event.simulate("submit",this.parentNode,e,!0))},teardown:function(){if(N.nodeName(this,"form"))return!1;N.event.remove(this,"._submit")}}),N.support.changeBubbles||(N.event.special.change={setup:function(){if(Te.test(this.nodeName))return"checkbox"!==this.type&&"radio"!==this.type||(N.event.add(this,"propertychange._change",function(e){"checked"===e.originalEvent.propertyName&&(this._just_changed=!0)}),N.event.add(this,"click._change",function(e){this._just_changed&&!e.isTrigger&&(this._just_changed=!1),N.event.simulate("change",this,e,!0)})),!1;N.event.add(this,"beforeactivate._change",function(e){e=e.target;Te.test(e.nodeName)&&!N._data(e,"_change_attached")&&(N.event.add(e,"change._change",function(e){!this.parentNode||e.isSimulated||e.isTrigger||N.event.simulate("change",this.parentNode,e,!0)}),N._data(e,"_change_attached",!0))})},handle:function(e){var t=e.target;if(this!==t||e.isSimulated||e.isTrigger||"radio"!==t.type&&"checkbox"!==t.type)return e.handleObj.handler.apply(this,arguments)},teardown:function(){return N.event.remove(this,"._change"),Te.test(this.nodeName)}}),N.support.focusinBubbles||N.each({focus:"focusin",blur:"focusout"},function(e,t){function n(e){N.event.simulate(t,e.target,N.event.fix(e),!0)}var r=0;N.event.special[t]={setup:function(){0==r++&&v.addEventListener(e,n,!0)},teardown:function(){0==--r&&v.removeEventListener(e,n,!0)}}}),N.fn.extend({on:function(e,t,n,r,i){var o,a;if("object"==typeof e){for(a in"string"!=typeof t&&(n=n||t,t=T),e)this.on(a,t,n,e[a],i);return this}if(null==n&&null==r?(r=t,n=t=T):null==r&&("string"==typeof t?(r=n,n=T):(r=n,n=t,t=T)),!1===r)r=l;else if(!r)return this;return 1===i&&(o=r,(r=function(e){return N().off(e),o.apply(this,arguments)}).guid=o.guid||(o.guid=N.guid++)),this.each(function(){N.event.add(this,e,r,n,t)})},one:function(e,t,n,r){return this.on(e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,N(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"!=typeof e)return!1!==t&&"function"!=typeof t||(n=t,t=T),!1===n&&(n=l),this.each(function(){N.event.remove(this,e,n,t)});for(i in e)this.off(i,t,e[i]);return this},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 N(this.context).on(e,this.selector,t,n),this},die:function(e,t){return N(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 1==arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},trigger:function(e,t){return this.each(function(){N.event.trigger(e,t,this)})},triggerHandler:function(e,t){if(this[0])return N.event.trigger(e,t,this[0],!0)},toggle:function(n){function e(e){var t=(N._data(this,"lastToggle"+n.guid)||0)%i;return N._data(this,"lastToggle"+n.guid,1+t),e.preventDefault(),r[t].apply(this,arguments)||!1}var r=arguments,t=n.guid||N.guid++,i=0;for(e.guid=t;i<r.length;)r[i++].guid=t;return this.click(e)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),N.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(e,n){N.fn[n]=function(e,t){return null==t&&(t=e,e=null),0<arguments.length?this.on(n,null,e,t):this.trigger(n)},Ee.test(n)&&(N.event.fixHooks[n]=N.event.keyHooks),ke.test(n)&&(N.event.fixHooks[n]=N.event.mouseHooks)});var je=void 0;function De(e){return e.sizzleFilter=!0,e}function e(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function Le(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function t(e){var t=!1,n=h.createElement("div");try{t=e(n)}catch(e){}return n=null,t}var He,Fe,Me,f,Oe,h=y.document,n=h.documentElement,r="undefined",_e=!1,qe=!0,Be=0,b=[].slice,E=[].push,u=("sizcache"+Math.random()).replace(".",""),k="[\\x20\\t\\r\\n\\f]",i=(p="(?:\\\\.|[-\\w]|[^\\x00-\\xa0])+").replace("w","w#"),o=":("+p+")(?:\\((?:(['\"])((?:\\\\.|[^\\\\])*?)\\2|((?:[^,]|\\\\,|(?:,(?=[^\\[]*\\]))|(?:,(?=[^\\(]*\\))))*))\\)|)",a=":(nth|eq|gt|lt|first|last|even|odd)(?:\\((\\d*)\\)|)(?=[^-]|$)",We=k+"*([\\x20\\t\\r\\n\\f>+~])"+k+"*",Pe="(?=[^\\x20\\t\\r\\n\\f])(?:\\\\.|"+(i="\\["+k+"*("+p+")"+k+"*(?:([*^$|!~]?=)"+k+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+i+")|)|)"+k+"*\\]")+"|"+o.replace(2,7)+"|[^\\\\(),])+",Re=new RegExp("^"+k+"+|((?:^|[^\\\\])(?:\\\\.)*)"+k+"+$","g"),$e=new RegExp("^"+We),Ie=new RegExp(Pe+"?(?="+k+"*,|$)","g"),ze=new RegExp("^(?:(?!,)(?:(?:^|,)"+k+"*"+Pe+")*?|"+k+"*(.*?))(\\)|$)"),Xe=new RegExp(Pe.slice(19,-6)+"\\x20\\t\\r\\n\\f>+~])+|"+We,"g"),Ue=/^(?:#([\w\-]+)|(\w+)|\.([\w\-]+))$/,Ye=/[\x20\t\r\n\f]*[+~]/,Je=/:not\($/,Ve=/h\d/i,Ge=/input|select|textarea|button/i,x=/\\(?!\\)/g,S={ID:new RegExp("^#("+p+")"),CLASS:new RegExp("^\\.("+p+")"),NAME:new RegExp("^\\[name=['\"]?("+p+")['\"]?\\]"),TAG:new RegExp("^("+p.replace("[-","[-\\*")+")"),ATTR:new RegExp("^"+i),PSEUDO:new RegExp("^"+o),CHILD:new RegExp("^:(only|nth|last|first)-child(?:\\("+k+"*(even|odd|(([+-]|)(\\d*)n|)"+k+"*(?:([+-]|)"+k+"*(\\d+)|))"+k+"*\\)|)","i"),POS:new RegExp(a,"ig"),needsContext:new RegExp("^"+k+"*[>+~]|"+a,"i")},Qe={},Ke=[],Ze={},et=[],tt=t(function(e){e.innerHTML="<select></select>";e=typeof e.lastChild.getAttribute("multiple");return"boolean"!=e&&"string"!=e}),Pe=t(function(e){e.id=u+0,e.innerHTML="<a name='"+u+"'></a><div name='"+u+"'></div>",n.insertBefore(e,n.firstChild);var t=h.getElementsByName&&h.getElementsByName(u).length===2+h.getElementsByName(u+0).length;return Oe=!h.getElementById(u),n.removeChild(e),t}),We=t(function(e){return e.appendChild(h.createComment("")),0===e.getElementsByTagName("*").length}),p=t(function(e){return e.innerHTML="<a href='#'></a>",e.firstChild&&typeof e.firstChild.getAttribute!=r&&"#"===e.firstChild.getAttribute("href")}),nt=t(function(e){return e.innerHTML="<div class='hidden e'></div><div class='hidden'></div>",!(!e.getElementsByClassName||0===e.getElementsByClassName("e").length)&&(e.lastChild.className="e",1!==e.getElementsByClassName("e").length)}),A=function(e,t,n,r){n=n||[];var i,o,a,s,l=(t=t||h).nodeType;if(1!==l&&9!==l)return[];if(!e||"string"!=typeof e)return n;if(!(a=rt(t))&&!r&&(i=Ue.exec(e)))if(s=i[1]){if(9===l){if(!(o=t.getElementById(s))||!o.parentNode)return n;if(o.id===s)return n.push(o),n}else if(t.ownerDocument&&(o=t.ownerDocument.getElementById(s))&&it(t,o)&&o.id===s)return n.push(o),n}else{if(i[2])return E.apply(n,b.call(t.getElementsByTagName(e),0)),n;if((s=i[3])&&nt&&t.getElementsByClassName)return E.apply(n,b.call(t.getElementsByClassName(s),0)),n}return gt(e,t,n,r,a)},j=A.selectors={cacheLength:50,match:S,order:["ID","TAG"],attrHandle:{},createPseudo:De,find:{ID:Oe?function(e,t,n){if(typeof t.getElementById!=r&&!n)return(n=t.getElementById(e))&&n.parentNode?[n]:[]}:function(e,t,n){if(typeof t.getElementById!=r&&!n)return(n=t.getElementById(e))?n.id===e||typeof n.getAttributeNode!=r&&n.getAttributeNode("id").value===e?[n]:je:[]},TAG:We?function(e,t){if(typeof t.getElementsByTagName!=r)return t.getElementsByTagName(e)}:function(e,t){var n=t.getElementsByTagName(e);if("*"!==e)return n;for(var r,i=[],o=0;r=n[o];o++)1===r.nodeType&&i.push(r);return i}},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(x,""),e[3]=(e[4]||e[5]||"").replace(x,""),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1]?(e[2]||A.error(e[0]),e[3]=+(e[3]?e[4]+(e[5]||1):2*("even"===e[2]||"odd"===e[2])),e[4]=+(e[6]+e[7]||"odd"===e[2])):e[2]&&A.error(e[0]),e},PSEUDO:function(e){var t,n=e[4];return S.CHILD.test(e[0])?null:(n&&(t=ze.exec(n))&&t.pop()&&(e[0]=e[0].slice(0,t[0].length-n.length-1),n=t[0].slice(0,-1)),e.splice(2,3,n||e[3]),e)}},filter:{ID:Oe?function(t){return t=t.replace(x,""),function(e){return e.getAttribute("id")===t}}:function(t){return t=t.replace(x,""),function(e){e=typeof e.getAttributeNode!=r&&e.getAttributeNode("id");return e&&e.value===t}},TAG:function(t){return"*"===t?function(){return!0}:(t=t.replace(x,"").toLowerCase(),function(e){return e.nodeName&&e.nodeName.toLowerCase()===t})},CLASS:function(e){var t=Qe[e];return t||(t=Qe[e]=new RegExp("(^|"+k+")"+e+"("+k+"|$)"),Ke.push(e),Ke.length>j.cacheLength&&delete Qe[Ke.shift()]),function(e){return t.test(e.className||typeof e.getAttribute!=r&&e.getAttribute("class")||"")}},ATTR:function(n,r,i){return r?function(e){var e=A.attr(e,n),t=e+"";if(null==e)return"!="===r;switch(r){case"=":return t===i;case"!=":return t!==i;case"^=":return i&&0===t.indexOf(i);case"*=":return i&&-1<t.indexOf(i);case"$=":return i&&t.substr(t.length-i.length)===i;case"~=":return-1<(" "+t+" ").indexOf(i);case"|=":return t===i||t.substr(0,i.length+1)===i+"-"}}:function(e){return null!=A.attr(e,n)}},CHILD:function(n,e,i,o){var a;return"nth"===n?(a=Be++,function(e){var t,n=0,r=e;if(1===i&&0===o)return!0;if((t=e.parentNode)&&(t[u]!==a||!e.sizset)){for(r=t.firstChild;r&&(1!==r.nodeType||(r.sizset=++n,r!==e));r=r.nextSibling);t[u]=a}return t=e.sizset-o,0===i?0==t:t%i==0&&0<=t/i}):function(e){var t=e;switch(n){case"only":case"first":for(;t=t.previousSibling;)if(1===t.nodeType)return!1;if("first"===n)return!0;t=e;case"last":for(;t=t.nextSibling;)if(1===t.nodeType)return!1;return!0}}},PSEUDO:function(e,t,n,r){var i=j.pseudos[e]||j.pseudos[e.toLowerCase()];return i||A.error("unsupported pseudo: "+e),i.sizzleFilter?i(t,n,r):i}},pseudos:{not:De(function(e,t,n){var r=ht(e.replace(Re,"$1"),t,n);return function(e){return!r(e)}}),enabled:function(e){return!1===e.disabled},disabled:function(e){return!0===e.disabled},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},parent:function(e){return!j.pseudos.empty(e)},empty:function(e){var t;for(e=e.firstChild;e;){if("@"<e.nodeName||3===(t=e.nodeType)||4===t)return!1;e=e.nextSibling}return!0},contains:De(function(t){return function(e){return-1<(e.textContent||e.innerText||ot(e)).indexOf(t)}}),has:De(function(t){return function(e){return 0<A(t,e).length}}),header:function(e){return Ve.test(e.nodeName)},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===(t=e.type)&&(null==(e=e.getAttribute("type"))||e.toLowerCase()===t)},radio:e("radio"),checkbox:e("checkbox"),file:e("file"),password:e("password"),image:e("image"),submit:Le("submit"),reset:Le("reset"),button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},input:function(e){return Ge.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}},setFilters:{first:function(e,t,n){return n?e.slice(1):[e[0]]},last:function(e,t,n){var r=e.pop();return n?e:[r]},even:function(e,t,n){for(var r=[],i=n?1:0,o=e.length;i<o;i+=2)r.push(e[i]);return r},odd:function(e,t,n){for(var r=[],i=n?0:1,o=e.length;i<o;i+=2)r.push(e[i]);return r},lt:function(e,t,n){return n?e.slice(+t):e.slice(0,+t)},gt:function(e,t,n){return n?e.slice(0,+t+1):e.slice(+t+1)},eq:function(e,t,n){t=e.splice(+t,1);return n?e:t}}};j.setFilters.nth=j.setFilters.eq,j.filters=j.pseudos,p||(j.attrHandle={href:function(e){return e.getAttribute("href",2)},type:function(e){return e.getAttribute("type")}}),Pe&&(j.order.push("NAME"),j.find.NAME=function(e,t){if(typeof t.getElementsByName!=r)return t.getElementsByName(e)}),nt&&(j.order.splice(1,0,"CLASS"),j.find.CLASS=function(e,t,n){if(typeof t.getElementsByClassName!=r&&!n)return t.getElementsByClassName(e)});try{b.call(n.childNodes,0)[0].nodeType}catch(e){b=function(e){for(var t,n=[];t=this[e];e++)n.push(t);return n}}var rt=A.isXML=function(e){e=e&&(e.ownerDocument||e).documentElement;return!!e&&"HTML"!==e.nodeName},it=A.contains=n.compareDocumentPosition?function(e,t){return!!(16&e.compareDocumentPosition(t))}:n.contains?function(e,t){var n=9===e.nodeType?e.documentElement:e,t=t.parentNode;return e===t||!!(t&&1===t.nodeType&&n.contains&&n.contains(t))}:function(e,t){for(;t=t.parentNode;)if(t===e)return!0;return!1},ot=A.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=ot(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r];r++)n+=ot(t);return n};function at(e,t,n,r){for(var i=0,o=t.length;i<o;i++)A(e,t[i],n,r)}function st(e,t,n,r,i){function o(){for(var e=1,t=arguments.length-2;e<t;e++)arguments[e]===je&&(a[e]=je)}for(var a,s,l,u,c,f,p,d,h,g,m,y,v,b=0,x=i.length,w=S.POS,T=new RegExp("^"+w.source+"(?!"+k+")","i");b<x;b++){for(w.exec(""),e=i[b],l=[],s=0,u=r;a=w.exec(e);)s<(h=w.lastIndex=a.index+a[0].length)&&(c=e.slice(s,a.index),s=h,h=[t],$e.test(c)&&(u&&(h=u),u=r),(m=Je.test(c))&&(c=c.slice(0,-5).replace($e,"$&*")),1<a.length&&a[0].replace(T,o),f=c,p=a[1],d=a[2],h=h,g=u,m=m,v=y=void 0,(v=j.setFilters[p.toLowerCase()])||A.error(p),!f&&(y=g)||at(f||"*",h,y=[],g),u=0<y.length?v(y,d,m):[]);u?(l=l.concat(u),(c=e.slice(s))&&")"!==c?$e.test(c)?at(c,l,n,r):A(c,t,n,r?r.concat(u):u):E.apply(n,l)):A(e,t,n,r)}return 1===x?n:A.uniqueSort(n)}function lt(e,t,n){for(var r,i,o=0;r=e[o];o++)i=j.relative[r.part]?function(o,e,t){var a=e.dir,s=Be++;return o=o||function(e){return e===t},e.first?function(e,t){for(;e=e[a];)if(1===e.nodeType)return o(e,t)&&e}:function(e,t){for(var n,r=s+"."+Fe,i=r+"."+He;e=e[a];)if(1===e.nodeType){if((n=e[u])===i)return e.sizset;if("string"==typeof n&&0===n.indexOf(r)){if(e.sizset)return e}else{if(e[u]=i,o(e,t))return e.sizset=!0,e;e.sizset=!1}}}}(i,j.relative[r.part],t):(r.captures.push(t,n),function(r,i){return r?function(e,t){var n=i(e,t);return n&&r(!0===n?e:n,t)}:i}(i,j.filter[r.part].apply(null,r.captures)));return i}A.attr=function(e,t){var n=rt(e);return n||(t=t.toLowerCase()),j.attrHandle[t]?j.attrHandle[t](e):tt||n?e.getAttribute(t):(n=e.getAttributeNode(t))?"boolean"==typeof e[t]?e[t]?t:null:n.specified?n.value:null:null},A.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},[0,0].sort(function(){return qe=0}),n.compareDocumentPosition?Me=function(e,t){return e===t?(_e=!0,0):(e.compareDocumentPosition&&t.compareDocumentPosition?4&e.compareDocumentPosition(t):e.compareDocumentPosition)?-1:1}:(Me=function(e,t){if(e===t)return _e=!0,0;if(e.sourceIndex&&t.sourceIndex)return e.sourceIndex-t.sourceIndex;var n=[],r=[],i=e.parentNode,o=t.parentNode,a=i;if(i===o)return f(e,t);if(!i)return-1;if(!o)return 1;for(;a;)n.unshift(a),a=a.parentNode;for(a=o;a;)r.unshift(a),a=a.parentNode;for(var s=n.length,l=r.length,u=0;u<s&&u<l;u++)if(n[u]!==r[u])return f(n[u],r[u]);return u===s?f(e,r[u],-1):f(n[u],t,1)},f=function(e,t,n){if(e===t)return n;for(var r=e.nextSibling;r;){if(r===t)return-1;r=r.nextSibling}return 1}),A.uniqueSort=function(e){var t,n=1;if(Me&&(_e=qe,e.sort(Me),_e))for(;t=e[n];n++)t===e[n-1]&&e.splice(n--,1);return e};var ut,ct,ft,pt,d,g,dt,ht=A.compile=function(e,t,n){var r,i,o,a,s=Ze[e];if(!s||s.context!==t){for(i=function(e,t,n){for(var r,i,o,a=[],s=0,l=ze.exec(e),u=!l.pop()&&!l.pop(),c=u&&e.match(Ie)||[""],f=j.preFilter,p=j.filter,d=!n&&t!==h;null!=(i=c[s])&&u;s++)for(a.push(r=[]),d&&(i=" "+i);i;){for(o in u=!1,(l=$e.exec(i))&&(i=i.slice(l[0].length),u=r.push({part:l.pop().replace(Re," "),captures:l})),p)!(l=S[o].exec(i))||f[o]&&!(l=f[o](l,t,n))||(i=i.slice(l.shift().length),u=r.push({part:o,captures:l}));if(!u)break}return u||A.error(e),a}(e,t,n),o=0;r=i[o];o++)i[o]=lt(r,t,n);(s=Ze[e]=(a=i,function(e,t){for(var n,r=0;n=a[r];r++)if(n(e,t))return!0;return!1})).context=t,s.runs=s.dirruns=0,et.push(e),et.length>j.cacheLength&&delete Ze[et.shift()]}return s},gt=(A.matches=function(e,t){return A(e,null,null,t)},A.matchesSelector=function(e,t){return 0<A(t,null,null,[e]).length},function(e,t,n,r,i){var o,a,s,l,u,c,f,p,d,h=(e=e.replace(Re,"$1")).match(Ie),g=e.match(Xe),m=t.nodeType;if(S.POS.test(e))return st(e,t,n,r,h);if(r)o=b.call(r,0);else if(h&&1===h.length){if(1<g.length&&9===m&&!i&&(h=S.ID.exec(g[0]))){if(!(t=j.find.ID(h[1],t,i)[0]))return n;e=e.slice(g.shift().length)}for(p=(h=Ye.exec(g[0]))&&!h.index&&t.parentNode||t,c=(d=g.pop()).split(":not")[0],s=0,l=j.order.length;s<l;s++)if(f=j.order[s],(h=S[f].exec(c))&&null!=(o=j.find[f]((h[1]||"").replace(x,""),p,i))){c!==d||(e=e.slice(0,e.length-d.length)+c.replace(S[f],""))||E.apply(n,b.call(o,0));break}}if(e)for(a=ht(e,t,i),Fe=a.dirruns++,null==o&&(o=j.find.TAG("*",Ye.test(e)&&t.parentNode||t)),s=0;u=o[s];s++)He=a.runs++,a(u,t)&&n.push(u);return n}),mt=(h.querySelectorAll&&(ct=gt,ft=/'|\\/g,pt=/\=[\x20\t\r\n\f]*([^'"\]]*)[\x20\t\r\n\f]*\]/g,d=[],g=[":active"],dt=n.matchesSelector||n.mozMatchesSelector||n.webkitMatchesSelector||n.oMatchesSelector||n.msMatchesSelector,t(function(e){e.innerHTML="<select><option selected></option></select>",e.querySelectorAll("[selected]").length||d.push("\\["+k+"*(?:checked|disabled|ismap|multiple|readonly|selected|value)"),e.querySelectorAll(":checked").length||d.push(":checked")}),t(function(e){e.innerHTML="<p test=''></p>",e.querySelectorAll("[test^='']").length&&d.push("[*^$]="+k+"*(?:\"\"|'')"),e.innerHTML="<input type='hidden'>",e.querySelectorAll(":enabled").length||d.push(":enabled",":disabled")}),d=d.length&&new RegExp(d.join("|")),gt=function(e,t,n,r,i){if(!(r||i||d&&d.test(e)))if(9===t.nodeType)try{return E.apply(n,b.call(t.querySelectorAll(e),0)),n}catch(e){}else if(1===t.nodeType&&"object"!==t.nodeName.toLowerCase()){var o=t.getAttribute("id"),a=o||u,s=Ye.test(e)&&t.parentNode||t;o?a=a.replace(ft,"\\$&"):t.setAttribute("id",a);try{return E.apply(n,b.call(s.querySelectorAll(e.replace(Ie,"[id='"+a+"'] $&")),0)),n}catch(e){}finally{o||t.removeAttribute("id")}}return ct(e,t,n,r,i)},dt&&(t(function(e){ut=dt.call(e,"div");try{dt.call(e,"[test!='']:sizzle"),g.push(j.match.PSEUDO)}catch(e){}}),g=new RegExp(g.join("|")),A.matchesSelector=function(e,t){if(t=t.replace(pt,"='$1']"),!(rt(e)||g.test(t)||d&&d.test(t)))try{var n=dt.call(e,t);if(n||ut||e.document&&11!==e.document.nodeType)return n}catch(e){}return 0<A(t,null,null,[e]).length})),A.attr=N.attr,N.find=A,N.expr=A.selectors,N.expr[":"]=N.expr.pseudos,N.unique=A.uniqueSort,N.text=A.getText,N.isXMLDoc=A.isXML,N.contains=A.contains,/Until$/),yt=/^(?:parents|prev(?:Until|All))/,vt=/^.[^:#\[\.,]*$/,bt=N.expr.match.needsContext,xt={children:!0,contents:!0,next:!0,prev:!0};function wt(e){return!e||!e.parentNode||11===e.parentNode.nodeType}function Tt(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}function Nt(e,n,r){if(n=n||0,N.isFunction(n))return N.grep(e,function(e,t){return!!n.call(e,t,e)===r});if(n.nodeType)return N.grep(e,function(e,t){return e===n===r});if("string"==typeof n){var t=N.grep(e,function(e){return 1===e.nodeType});if(vt.test(n))return N.filter(n,t,!r);n=N.filter(n,t)}return N.grep(e,function(e,t){return 0<=N.inArray(e,n)===r})}function Ct(e){var t=Et.split("|"),n=e.createDocumentFragment();if(n.createElement)for(;t.length;)n.createElement(t.pop());return n}N.fn.extend({find:function(e){var t,n,r,i,o,a,s=this;if("string"!=typeof e)return N(e).filter(function(){for(t=0,n=s.length;t<n;t++)if(N.contains(s[t],this))return!0});for(a=this.pushStack("","find",e),t=0,n=this.length;t<n;t++)if(r=a.length,N.find(e,this[t],a),0<t)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=N(e,this),r=n.length;return this.filter(function(){for(t=0;t<r;t++)if(N.contains(this,n[t]))return!0})},not:function(e){return this.pushStack(Nt(this,e,!1),"not",e)},filter:function(e){return this.pushStack(Nt(this,e,!0),"filter",e)},is:function(e){return!!e&&("string"==typeof e?bt.test(e)?0<=N(e,this.context).index(this[0]):0<N.filter(e,this).length:0<this.filter(e).length)},closest:function(e,t){for(var n,r=0,i=this.length,o=[],a=bt.test(e)||"string"!=typeof e?N(e,t||this.context):0;r<i;r++)for(n=this[r];n&&n.ownerDocument&&n!==t&&11!==n.nodeType;){if(a?-1<a.index(n):N.find.matchesSelector(n,e)){o.push(n);break}n=n.parentNode}return o=1<o.length?N.unique(o):o,this.pushStack(o,"closest",e)},index:function(e){return e?"string"==typeof e?N.inArray(this[0],N(e)):N.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.prevAll().length:-1},add:function(e,t){t="string"==typeof e?N(e,t):N.makeArray(e&&e.nodeType?[e]:e),e=N.merge(this.get(),t);return this.pushStack(wt(t[0])||wt(e[0])?e:N.unique(e))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),N.fn.andSelf=N.fn.addBack,N.each({parent:function(e){e=e.parentNode;return e&&11!==e.nodeType?e:null},parents:function(e){return N.dir(e,"parentNode")},parentsUntil:function(e,t,n){return N.dir(e,"parentNode",n)},next:function(e){return Tt(e,"nextSibling")},prev:function(e){return Tt(e,"previousSibling")},nextAll:function(e){return N.dir(e,"nextSibling")},prevAll:function(e){return N.dir(e,"previousSibling")},nextUntil:function(e,t,n){return N.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return N.dir(e,"previousSibling",n)},siblings:function(e){return N.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return N.sibling(e.firstChild)},contents:function(e){return N.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:N.merge([],e.childNodes)}},function(r,i){N.fn[r]=function(e,t){var n=N.map(this,i,e);return(t=mt.test(r)?t:e)&&"string"==typeof t&&(n=N.filter(t,n)),n=1<this.length&&!xt[r]?N.unique(n):n,1<this.length&&yt.test(r)&&(n=n.reverse()),this.pushStack(n,r,c.call(arguments).join(","))}}),N.extend({filter:function(e,t,n){return n&&(e=":not("+e+")"),1===t.length?N.find.matchesSelector(t[0],e)?[t[0]]:[]:N.find.matches(e,t)},dir:function(e,t,n){for(var r=[],i=e[t];i&&9!==i.nodeType&&(n===T||1!==i.nodeType||!N(i).is(n));)1===i.nodeType&&r.push(i),i=i[t];return r},sibling:function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}});var Et="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",kt=/ sQuery\d+="(?:null|\d+)"/g,St=/^\s+/,At=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,jt=/<([\w:]+)/,Dt=/<tbody/i,Lt=/<|&#?\w+;/,Ht=/<(?:script|style|link)/i,Ft=/<(?:script|object|embed|option|style)/i,Mt=new RegExp("<(?:abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video)[\\s/>]","i"),Ot=/^(?:checkbox|radio)$/,_t=/checked\s*(?:[^=]|=\s*.checked.)/i,qt=/\/(java|ecma)script/i,Bt=/^\s*<!(?:\[CDATA\[|\-\-)|[\]\-]{2}>\s*$/g,w={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,"",""]},Wt=Ct(v),Pt=Wt.appendChild(v.createElement("div"));function Rt(e,t){if(1===t.nodeType&&N.hasData(e)){var n,r,i,e=N._data(e),o=N._data(t,e),a=e.events;if(a)for(n in delete o.handle,o.events={},a)for(r=0,i=a[n].length;r<i;r++)N.event.add(t,n,a[n][r]);o.data&&(o.data=N.extend({},o.data))}}function $t(e,t){var n;1===t.nodeType&&(t.clearAttributes&&t.clearAttributes(),t.mergeAttributes&&t.mergeAttributes(e),"object"===(n=t.nodeName.toLowerCase())?(t.parentNode&&(t.outerHTML=e.outerHTML),N.support.html5Clone&&e.innerHTML&&!N.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):"input"===n&&Ot.test(e.type)?(t.defaultChecked=t.checked=e.checked,t.value!==e.value&&(t.value=e.value)):"option"===n?t.selected=e.defaultSelected:"input"===n||"textarea"===n?t.defaultValue=e.defaultValue:"script"===n&&t.text!==e.text&&(t.text=e.text),t.removeAttribute(N.expando))}function It(e){return void 0!==e.getElementsByTagName?e.getElementsByTagName("*"):void 0!==e.querySelectorAll?e.querySelectorAll("*"):[]}function zt(e){Ot.test(e.type)&&(e.defaultChecked=e.checked)}w.optgroup=w.option,w.tbody=w.tfoot=w.colgroup=w.caption=w.thead,w.th=w.td,N.support.htmlSerialize||(w._default=[1,"X<div>","</div>"]),N.fn.extend({text:function(e){return N.access(this,function(e){return e===T?N.text(this):this.empty().append((this[0]&&this[0].ownerDocument||v).createTextNode(e))},null,e,arguments.length)},wrapAll:function(t){return N.isFunction(t)?this.each(function(e){N(this).wrapAll(t.call(this,e))}):(this[0]&&(e=N(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var e=this;e.firstChild&&1===e.firstChild.nodeType;)e=e.firstChild;return e}).append(this)),this);var e},wrapInner:function(n){return N.isFunction(n)?this.each(function(e){N(this).wrapInner(n.call(this,e))}):this.each(function(){var e=N(this),t=e.contents();t.length?t.wrapAll(n):e.append(n)})},wrap:function(t){var n=N.isFunction(t);return this.each(function(e){N(this).wrapAll(n?t.call(this,e):t)})},unwrap:function(){return this.parent().each(function(){N.nodeName(this,"body")||N(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(e){1!==this.nodeType&&11!==this.nodeType||this.appendChild(e)})},prepend:function(){return this.domManip(arguments,!0,function(e){1!==this.nodeType&&11!==this.nodeType||this.insertBefore(e,this.firstChild)})},before:function(){return wt(this[0])?arguments.length?(e=N.clean(arguments),this.pushStack(N.merge(e,this),"before",this.selector)):void 0:this.domManip(arguments,!1,function(e){this.parentNode.insertBefore(e,this)});var e},after:function(){return wt(this[0])?arguments.length?(e=N.clean(arguments),this.pushStack(N.merge(this,e),"after",this.selector)):void 0:this.domManip(arguments,!1,function(e){this.parentNode.insertBefore(e,this.nextSibling)});var e},remove:function(e,t){for(var n,r=0;null!=(n=this[r]);r++)e&&!N.filter(e,[n]).length||(t||1!==n.nodeType||(N.cleanData(n.getElementsByTagName("*")),N.cleanData([n])),n.parentNode&&n.parentNode.removeChild(n));return this},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)for(1===e.nodeType&&N.cleanData(e.getElementsByTagName("*"));e.firstChild;)e.removeChild(e.firstChild);return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return N.clone(this,e,t)})},html:function(e){return N.access(this,function(e){var t=this[0]||{},n=0,r=this.length;if(e===T)return 1===t.nodeType?t.innerHTML.replace(kt,""):T;if("string"==typeof e&&!Ht.test(e)&&(N.support.htmlSerialize||!Mt.test(e))&&(N.support.leadingWhitespace||!St.test(e))&&!w[(jt.exec(e)||["",""])[1].toLowerCase()]){e=e.replace(At,"<$1></$2>");try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(N.cleanData(t.getElementsByTagName("*")),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(r){return wt(this[0])?this.length?this.pushStack(N(N.isFunction(r)?r():r),"replaceWith",r):this:N.isFunction(r)?this.each(function(e){var t=N(this),n=t.html();t.replaceWith(r.call(this,e,n))}):("string"!=typeof r&&(r=N(r).detach()),this.each(function(){var e=this.nextSibling,t=this.parentNode;N(this).remove(),e?N(e).before(r):N(t).append(r)}))},detach:function(e){return this.remove(e,!0)},domManip:function(n,r,i){var e,t,o,a,s,l,u=0,c=(n=[].concat.apply([],n))[0],f=[],p=this.length;if(!N.support.checkClone&&1<p&&"string"==typeof c&&_t.test(c))return this.each(function(){N(this).domManip(n,r,i)});if(N.isFunction(c))return this.each(function(e){var t=N(this);n[0]=c.call(this,e,r?t.html():T),t.domManip(n,r,i)});if(this[0]){if(t=(o=(e=N.buildFragment(n,this,f)).fragment).firstChild,1===o.childNodes.length&&(o=t),t)for(r=r&&N.nodeName(t,"tr"),a=e.cacheable||p-1;u<p;u++)i.call(r&&N.nodeName(this[u],"table")?(s=this[u],l="tbody",s.getElementsByTagName(l)[0]||s.appendChild(s.ownerDocument.createElement(l))):this[u],u===a?o:N.clone(o,!0,!0));o=t=null,f.length&&N.each(f,function(e,t){t.src?N.ajax?N.ajax({url:t.src,type:"GET",dataType:"script",async:!1,global:!1,throws:!0}):N.error("no ajax"):N.globalEval((t.text||t.textContent||t.innerHTML||"").replace(Bt,"")),t.parentNode&&t.parentNode.removeChild(t)})}return this}}),N.buildFragment=function(e,t,n){var r,i,o,a=e[0];return void 0===(t=((t=t||v)[0]||t).ownerDocument||t[0]||t).createDocumentFragment&&(t=v),!(1===e.length&&"string"==typeof a&&a.length<512&&t===v&&"<"===a.charAt(0))||Ft.test(a)||!N.support.checkClone&&_t.test(a)||!N.support.html5Clone&&Mt.test(a)||(i=!0,o=(r=N.fragments[a])!==T),r||(r=t.createDocumentFragment(),N.clean(e,t,r,n),i&&(N.fragments[a]=o&&r)),{fragment:r,cacheable:i}},N.fragments={},N.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,s){N.fn[a]=function(e){var t,n=0,r=[],i=N(e),o=i.length,e=1===this.length&&this[0].parentNode;if((null==e||e&&11===e.nodeType&&1===e.childNodes.length)&&1===o)return i[s](this[0]),this;for(;n<o;n++)t=(0<n?this.clone(!0):this).get(),N(i[n])[s](t),r=r.concat(t);return this.pushStack(r,a,i.selector)}}),N.extend({clone:function(e,t,n){var r,i,o,a;if(N.support.html5Clone||N.isXMLDoc(e)||!Mt.test("<"+e.nodeName+">")?a=e.cloneNode(!0):(Pt.innerHTML=e.outerHTML,Pt.removeChild(a=Pt.firstChild)),!(N.support.noCloneEvent&&N.support.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||N.isXMLDoc(e)))for($t(e,a),r=It(e),i=It(a),o=0;r[o];++o)i[o]&&$t(r[o],i[o]);if(t&&(Rt(e,a),n))for(r=It(e),i=It(a),o=0;r[o];++o)Rt(r[o],i[o]);return r=i=null,a},clean:function(e,t,n,r){for(var i,o,a,s,l,u,c,f,p,d,h=0,g=[],m=(t=t&&void 0!==t.createDocumentFragment?t:v)===v&&Wt;null!=(o=e[h]);h++)if("number"==typeof o&&(o+=""),o){if("string"==typeof o)if(Lt.test(o)){for(m=m||Ct(t),u=u||m.appendChild(t.createElement("div")),o=o.replace(At,"<$1></$2>"),a=(jt.exec(o)||["",""])[1].toLowerCase(),l=(s=w[a]||w._default)[0],u.innerHTML=s[1]+o+s[2];l--;)u=u.lastChild;if(!N.support.tbody)for(c=Dt.test(o),i=(f="table"!==a||c?"<table>"!==s[1]||c?[]:u.childNodes:u.firstChild&&u.firstChild.childNodes).length-1;0<=i;--i)N.nodeName(f[i],"tbody")&&!f[i].childNodes.length&&f[i].parentNode.removeChild(f[i]);!N.support.leadingWhitespace&&St.test(o)&&u.insertBefore(t.createTextNode(St.exec(o)[0]),u.firstChild),o=u.childNodes,u=m.lastChild}else o=t.createTextNode(o);o.nodeType?g.push(o):g=N.merge(g,o)}if(u&&(m.removeChild(u),o=u=m=null),!N.support.appendChecked)for(h=0;null!=(o=g[h]);h++)N.nodeName(o,"input")?zt(o):void 0!==o.getElementsByTagName&&N.grep(o.getElementsByTagName("input"),zt);if(n)for(p=function(e){if(!e.type||qt.test(e.type))return r?r.push(e.parentNode?e.parentNode.removeChild(e):e):n.appendChild(e)},h=0;null!=(o=g[h]);h++)N.nodeName(o,"script")&&p(o)||(n.appendChild(o),void 0!==o.getElementsByTagName&&(d=N.grep(N.merge([],o.getElementsByTagName("script")),p),g.splice.apply(g,[h+1,0].concat(d)),h+=d.length));return g},cleanData:function(e,t){for(var n,r,i,o,a=0,s=N.expando,l=N.cache,u=N.support.deleteExpando,c=N.event.special;null!=(i=e[a]);a++)if((t||N.acceptData(i))&&(n=(r=i[s])&&l[r])){if(n.events)for(o in n.events)c[o]?N.event.remove(i,o):N.removeEvent(i,o,n.handle);l[r]&&(delete l[r],u?delete i[s]:i.removeAttribute?i.removeAttribute(s):i[s]=null,N.deletedIds.push(r))}}}),N.uaMatch=function(e){e=e.toLowerCase();e=/(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:e[1]||"",version:e[2]||"0"}},i={},(o=N.uaMatch(R.userAgent)).browser&&(i[o.browser]=!0,i.version=o.version),i.webkit&&(i.safari=!0),N.browser=i,N.sub=function(){function n(e,t){return new n.fn.init(e,t)}N.extend(!0,n,this),n.superclass=this,((n.fn=n.prototype=this()).constructor=n).sub=this.sub,n.fn.init=function(e,t){return t&&t instanceof N&&!(t instanceof n)&&(t=n(t)),N.fn.init.call(this,e,t,r)},n.fn.init.prototype=n.fn;var r=n(v);return n};var m,D,Xt,Ut=/alpha\([^)]*\)/i,Yt=/opacity=([^)]*)/,Jt=/^(top|right|bottom|left)$/,Vt=/^margin/,Gt=new RegExp("^("+V+")(.*)$","i"),Qt=new RegExp("^("+V+")(?!px)[a-z%]+$","i"),Kt=new RegExp("^([-+])=("+V+")","i"),Zt={},en={position:"absolute",visibility:"hidden",display:"block"},tn={letterSpacing:0,fontWeight:400,lineHeight:1},L=["Top","Right","Bottom","Left"],nn=["Webkit","O","Moz","ms"],rn=N.fn.toggle;function on(e,t){if(t in e)return t;for(var n=t.charAt(0).toUpperCase()+t.slice(1),r=t,i=nn.length;i--;)if((t=nn[i]+n)in e)return t;return r}function an(e,t){return"none"===N.css(e=t||e,"display")||!N.contains(e.ownerDocument,e)}function sn(e,t){for(var n,r,i=[],o=0,a=e.length;o<a;o++)(n=e[o]).style&&(i[o]=N._data(n,"olddisplay"),t?(i[o]||"none"!==n.style.display||(n.style.display=""),""===n.style.display&&an(n)&&(i[o]=N._data(n,"olddisplay",fn(n.nodeName)))):(r=m(n,"display"),i[o]||"none"===r||N._data(n,"olddisplay",r)));for(o=0;o<a;o++)!(n=e[o]).style||t&&"none"!==n.style.display&&""!==n.style.display||(n.style.display=t?i[o]||"":"none");return e}function ln(e,t,n){var r=Gt.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):t}function un(e,t,n,r){for(var i=n===(r?"border":"content")?4:"width"===t?1:0,o=0;i<4;i+=2)"margin"===n&&(o+=N.css(e,n+L[i],!0)),r?("content"===n&&(o-=parseFloat(m(e,"padding"+L[i]))||0),"margin"!==n&&(o-=parseFloat(m(e,"border"+L[i]+"Width"))||0)):(o+=parseFloat(m(e,"padding"+L[i]))||0,"padding"!==n&&(o+=parseFloat(m(e,"border"+L[i]+"Width"))||0));return o}function cn(e,t,n){var r="width"===t?e.offsetWidth:e.offsetHeight,i=!0,o=N.support.boxSizing&&"border-box"===N.css(e,"boxSizing");if(r<=0){if(((r=m(e,t))<0||null==r)&&(r=e.style[t]),Qt.test(r))return r;i=o&&(N.support.boxSizingReliable||r===e.style[t]),r=parseFloat(r)||0}return r+un(e,t,n||(o?"border":"content"),i)+"px"}function fn(e){if(Zt[e])return Zt[e];var t=N("<"+e+">").appendTo(v.body),n=t.css("display");return t.remove(),"none"!==n&&""!==n||(D=v.body.appendChild(D||N.extend(v.createElement("iframe"),{frameBorder:0,width:0,height:0})),Xt&&D.createElement||((Xt=(D.contentWindow||D.contentDocument).document).write("<!doctype html><html><body>"),Xt.close()),t=Xt.body.appendChild(Xt.createElement(e)),n=m(t,"display"),v.body.removeChild(D)),Zt[e]=n}N.fn.extend({css:function(e,t){return N.access(this,function(e,t,n){return n!==T?N.style(e,t,n):N.css(e,t)},e,t,1<arguments.length)},show:function(){return sn(this,!0)},hide:function(){return sn(this)},toggle:function(e,t){var n="boolean"==typeof e;return N.isFunction(e)&&N.isFunction(t)?rn.apply(this,arguments):this.each(function(){(n?e:an(this))?N(this).show():N(this).hide()})}}),N.extend({cssHooks:{opacity:{get:function(e,t){if(t)return""===(t=m(e,"opacity"))?"1":t}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:N.support.cssFloat?"cssFloat":"styleFloat"},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=N.camelCase(t),l=e.style;if(t=N.cssProps[s]||(N.cssProps[s]=on(l,s)),a=N.cssHooks[t]||N.cssHooks[s],n===T)return a&&"get"in a&&(i=a.get(e,!1,r))!==T?i:l[t];if("string"===(o=typeof n)&&(i=Kt.exec(n))&&(n=(i[1]+1)*i[2]+parseFloat(N.css(e,t)),o="number"),!(null==n||"number"===o&&isNaN(n)||("number"!==o||N.cssNumber[s]||(n+="px"),a&&"set"in a&&(n=a.set(e,n,r))===T)))try{l[t]=n}catch(e){}}},css:function(e,t,n,r){var i,o=N.camelCase(t);return t=N.cssProps[o]||(N.cssProps[o]=on(e.style,o)),"normal"===(i=(i=(o=N.cssHooks[t]||N.cssHooks[o])&&"get"in o?o.get(e,!0,r):i)===T?m(e,t):i)&&t in tn&&(i=tn[t]),n||r!==T?(o=parseFloat(i),n||N.isNumeric(o)?o||0:i):i},swap:function(e,t,n){var r,i={};for(r in t)i[r]=e.style[r],e.style[r]=t[r];for(r in n=n.call(e),t)e.style[r]=i[r];return n}}),y.getComputedStyle?m=function(e,t){var n,r,i=getComputedStyle(e,null),o=e.style;return i&&(""!==(n=i[t])||N.contains(e.ownerDocument.documentElement,e)||(n=N.style(e,t)),Qt.test(n)&&Vt.test(t)&&(e=o.width,t=o.minWidth,r=o.maxWidth,o.minWidth=o.maxWidth=o.width=n,n=i.width,o.width=e,o.minWidth=t,o.maxWidth=r)),n}:v.documentElement.currentStyle&&(m=function(e,t){var n,r,i=e.currentStyle&&e.currentStyle[t],o=e.style;return null==i&&o&&o[t]&&(i=o[t]),Qt.test(i)&&!Jt.test(t)&&(n=o.left,(r=e.runtimeStyle&&e.runtimeStyle.left)&&(e.runtimeStyle.left=e.currentStyle.left),o.left="fontSize"===t?"1em":i,i=o.pixelLeft+"px",o.left=n,r&&(e.runtimeStyle.left=r)),""===i?"auto":i}),N.each(["height","width"],function(e,r){N.cssHooks[r]={get:function(e,t,n){if(t)return 0!==e.offsetWidth||"none"!==m(e,"display")?cn(e,r,n):N.swap(e,en,function(){return cn(e,r,n)})},set:function(e,t,n){return ln(0,t,n?un(e,r,n,N.support.boxSizing&&"border-box"===N.css(e,"boxSizing")):0)}}}),N.support.opacity||(N.cssHooks.opacity={get:function(e,t){return Yt.test((t&&e.currentStyle?e.currentStyle:e.style).filter||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(e,t){var n=e.style,e=e.currentStyle,r=N.isNumeric(t)?"alpha(opacity="+100*t+")":"",i=e&&e.filter||n.filter||"";(n.zoom=1)<=t&&""===N.trim(i.replace(Ut,""))&&n.removeAttribute&&(n.removeAttribute("filter"),e&&!e.filter)||(n.filter=Ut.test(i)?i.replace(Ut,r):i+" "+r)}}),N(function(){N.support.reliableMarginRight||(N.cssHooks.marginRight={get:function(e,t){return N.swap(e,{display:"inline-block"},function(){if(t)return m(e,"marginRight")})}}),!N.support.pixelPosition&&N.fn.position&&N.each(["top","left"],function(e,n){N.cssHooks[n]={get:function(e,t){if(t)return t=m(e,n),Qt.test(t)?N(e).position()[n]+"px":t}}})}),N.expr&&N.expr.filters&&(N.expr.filters.hidden=function(e){return 0===e.offsetWidth&&0===e.offsetHeight||!N.support.reliableHiddenOffsets&&"none"===(e.style&&e.style.display||m(e,"display"))},N.expr.filters.visible=function(e){return!N.expr.filters.hidden(e)}),N.each({margin:"",padding:"",border:"Width"},function(i,o){N.cssHooks[i+o]={expand:function(e){for(var t="string"==typeof e?e.split(" "):[e],n={},r=0;r<4;r++)n[i+L[r]+o]=t[r]||t[r-2]||t[0];return n}},Vt.test(i)||(N.cssHooks[i+o].set=ln)});var pn=/%20/g,dn=/\[\]$/,hn=/\r?\n/g,gn=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,mn=/^(?:select|textarea)/i;N.fn.extend({serialize:function(){return N.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?N.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||mn.test(this.nodeName)||gn.test(this.type))}).map(function(e,n){var t=N(this).val();return null==t?null:N.isArray(t)?N.map(t,function(e,t){return{name:n.name,value:e.replace(hn,"\r\n")}}):{name:n.name,value:t.replace(hn,"\r\n")}}).get()}}),N.param=function(e,t){function n(e,t){t=N.isFunction(t)?t():null==t?"":t,i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)}var r,i=[];if(t===T&&(t=N.ajaxSettings&&N.ajaxSettings.traditional),N.isArray(e)||e.jquery&&!N.isPlainObject(e))N.each(e,function(){n(this.name,this.value)});else for(r in e)!function n(r,e,i,o){if(N.isArray(e))N.each(e,function(e,t){i||dn.test(r)?o(r,t):n(r+"["+("object"==typeof t?e:"")+"]",t,i,o)});else if(i||"object"!==N.type(e))o(r,e);else for(var t in e)n(r+"["+t+"]",e[t],i,o)}(r,e[r],t,n);return i.join("&").replace(pn,"+")};var H,F,yn=/#.*$/,vn=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,bn=/^(?:GET|HEAD)$/,xn=/^\/\//,wn=/\?/,Tn=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,Nn=/([?&])_=[^&]*/,Cn=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,En=N.fn.load,kn={},Sn={},An=["*/"]+["*"];try{H=P.href}catch(e){(H=v.createElement("a")).href="",H=H.href}function jn(s){return function(e,t){"string"!=typeof e&&(t=e,e="*");var n,r,i=e.toLowerCase().split(C),o=0,a=i.length;if(N.isFunction(t))for(;o<a;o++)n=i[o],(r=/^\+/.test(n))&&(n=n.substr(1)||"*"),(s[n]=s[n]||[])[r?"unshift":"push"](t)}}function Dn(e,t,n,r,i,o){(o=o||{})[i=i||t.dataTypes[0]]=!0;for(var a,s=e[i],l=0,u=s?s.length:0,c=e===kn;l<u&&(c||!a);l++)"string"==typeof(a=s[l](t,n,r))&&(a=!c||o[a]?T:(t.dataTypes.unshift(a),Dn(e,t,n,r,a,o)));return a=!c&&a||o["*"]?a:Dn(e,t,n,r,"*",o)}function Ln(e,t){var n,r,i=N.ajaxSettings.flatOptions||{};for(n in t)t[n]!==T&&((i[n]?e:r=r||{})[n]=t[n]);r&&N.extend(!0,e,r)}F=Cn.exec(H.toLowerCase())||[],N.fn.load=function(e,t,n){return"string"!=typeof e&&En?En.apply(this,arguments):(this.length&&(a=this,0<=(s=e.indexOf(" "))&&(r=e.slice(s,e.length),e=e.slice(0,s)),N.isFunction(t)?(n=t,t=T):"object"==typeof t&&(i="POST"),N.ajax({url:e,type:i,dataType:"html",data:t,complete:function(e,t){n&&a.each(n,o||[e.responseText,t,e])}}).done(function(e){o=arguments,a.html(r?N("<div>").append(e.replace(Tn,"")).find(r):e)})),this);var r,i,o,a,s},N.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(e,t){N.fn[t]=function(e){return this.on(t,e)}}),N.each(["get","post"],function(e,i){N[i]=function(e,t,n,r){return N.isFunction(t)&&(r=r||n,n=t,t=T),N.ajax({type:i,url:e,data:t,success:n,dataType:r})}}),N.extend({getScript:function(e,t){return N.get(e,T,t,"script")},getJSON:function(e,t,n){return N.get(e,t,n,"json")},ajaxSetup:function(e,t){return t?Ln(e,N.ajaxSettings):(t=e,e=N.ajaxSettings),Ln(e,t),e},ajaxSettings:{url:H,isLocal:/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/.test(F[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","*":An},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":y.String,"text html":!0,"text json":N.parseJSON,"text xml":N.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:jn(kn),ajaxTransport:jn(Sn),ajax:function(e,t){"object"==typeof e&&(t=e,e=T);var u,c,n,f,p,r,d=N.ajaxSetup({},t=t||{}),h=d.context||d,g=h!==d&&(h.nodeType||h instanceof N)?N(h):N.event,m=N.Deferred(),y=N.Callbacks("once memory"),v=d.statusCode||{},i={},o={},b=0,a="canceled",x={readyState:0,setRequestHeader:function(e,t){var n;return b||(n=e.toLowerCase(),e=o[n]=o[n]||e,i[e]=t),this},getAllResponseHeaders:function(){return 2===b?c:null},getResponseHeader:function(e){var t;if(2===b){if(!n)for(n={};t=vn.exec(c);)n[t[1].toLowerCase()]=t[2];t=n[e.toLowerCase()]}return t===T?null:t},overrideMimeType:function(e){return b||(d.mimeType=e),this},abort:function(e){return e=e||a,f&&f.abort(e),s(0,e),this}};function s(e,t,n,r){var i,o,a,s,l=t;2!==b&&(b=2,p&&clearTimeout(p),f=T,c=r||"",x.readyState=0<e?4:0,n&&(s=function(e,t,n){var r,i,o,a,s=e.contents,l=e.dataTypes,u=e.responseFields;for(i in u)i in n&&(t[u[i]]=n[i]);for(;"*"===l[0];)l.shift(),r===T&&(r=e.mimeType||t.getResponseHeader("content-type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){l.unshift(i);break}if(l[0]in n)o=l[0];else{for(i in n){if(!l[0]||e.converters[i+" "+l[0]]){o=i;break}a=a||i}o=o||a}if(o)return o!==l[0]&&l.unshift(o),n[o]}(d,x,n)),200<=e&&e<300||304===e?(d.ifModified&&((r=x.getResponseHeader("Last-Modified"))&&(N.lastModified[u]=r),(r=x.getResponseHeader("Etag"))&&(N.etag[u]=r)),i=304===e?(l="notmodified",!0):(l=(i=function(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){if(!(n=l[s+" "+i]||l["* "+i]))for(r in l)if((o=r.split(" "))[1]===i&&(n=l[s+" "+o[0]]||l["* "+o[0]])){!0===n?n=l[r]:!0!==l[r]&&(i=o[0],a.splice(u--,0,i));break}if(!0!==n)if(n&&e.throws)t=n(t);else try{t=n(t)}catch(e){return{state:"parsererror",error:n?e:"No conversion from "+s+" to "+i}}}s=i}return{state:"success",data:t}}(d,s)).state,o=i.data,!(a=i.error))):(a=l)&&!e||(l="error",e<0&&(e=0)),x.status=e,x.statusText=""+(t||l),i?m.resolveWith(h,[o,l,x]):m.rejectWith(h,[x,l,a]),x.statusCode(v),v=T,w&&g.trigger("ajax"+(i?"Success":"Error"),[x,d,i?o:a]),y.fireWith(h,[x,l]),w&&(g.trigger("ajaxComplete",[x,d]),--N.active||N.event.trigger("ajaxStop")))}if(m.promise(x),x.success=x.done,x.error=x.fail,x.complete=y.add,x.statusCode=function(e){if(e)if(b<2)for(var t in e)v[t]=[v[t],e[t]];else t=e[x.status],x.always(t);return this},d.url=((e||d.url)+"").replace(yn,"").replace(xn,F[1]+"//"),d.dataTypes=N.trim(d.dataType||"*").toLowerCase().split(C),null==d.crossDomain&&(e=Cn.exec(d.url.toLowerCase()),d.crossDomain=!(!e||e[1]==F[1]&&e[2]==F[2]&&(e[3]||("http:"===e[1]?80:443))==(F[3]||("http:"===F[1]?80:443)))),d.data&&d.processData&&"string"!=typeof d.data&&(d.data=N.param(d.data,d.traditional)),Dn(kn,d,t,x),2!==b){var l,w=d.global;for(r in d.type=d.type.toUpperCase(),d.hasContent=!bn.test(d.type),w&&0==N.active++&&N.event.trigger("ajaxStart"),d.hasContent||(d.data&&(d.url+=(wn.test(d.url)?"&":"?")+d.data,delete d.data),u=d.url,!1===d.cache&&(e=N.now(),l=d.url.replace(Nn,"$1_="+e),d.url=l+(l===d.url?(wn.test(d.url)?"&":"?")+"_="+e:""))),(d.data&&d.hasContent&&!1!==d.contentType||t.contentType)&&x.setRequestHeader("Content-Type",d.contentType),d.ifModified&&(u=u||d.url,N.lastModified[u]&&x.setRequestHeader("If-Modified-Since",N.lastModified[u]),N.etag[u]&&x.setRequestHeader("If-None-Match",N.etag[u])),x.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+("*"!==d.dataTypes[0]?", "+An+"; q=0.01":""):d.accepts["*"]),d.headers)x.setRequestHeader(r,d.headers[r]);if(d.beforeSend&&(!1===d.beforeSend.call(h,x,d)||2===b))return x.abort();for(r in a="abort",{success:1,error:1,complete:1})x[r](d[r]);if(f=Dn(Sn,d,t,x)){x.readyState=1,w&&g.trigger("ajaxSend",[x,d]),d.async&&0<d.timeout&&(p=setTimeout(function(){x.abort("timeout")},d.timeout));try{b=1,f.send(i,s)}catch(e){if(!(b<2))throw e;s(-1,e)}}else s(-1,"No Transport")}return x},active:0,lastModified:{},etag:{}});var Hn=[],Fn=/\?/,Mn=/(=)\?(?=&|$)|\?\?/,On=N.now();N.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Hn.pop()||N.expando+"_"+On++;return this[e]=!0,e}}),N.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=e.data,s=e.url,l=!1!==e.jsonp,u=l&&Mn.test(s),c=l&&!u&&"string"==typeof a&&!(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Mn.test(a);if("jsonp"===e.dataTypes[0]||u||c)return r=e.jsonpCallback=N.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,i=y[r],u?e.url=s.replace(Mn,"$1"+r):c?e.data=a.replace(Mn,"$1"+r):l&&(e.url+=(Fn.test(s)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||N.error(r+" was not called"),o[0]},e.dataTypes[0]="json",y[r]=function(){o=arguments},n.always(function(){y[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Hn.push(r)),o&&N.isFunction(i)&&i(o[0]),o=i=T}),"script"}),N.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(e){return N.globalEval(e),e}}}),N.ajaxPrefilter("script",function(e){e.cache===T&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),N.ajaxTransport("script",function(t){var r,i;if(t.crossDomain)return i=v.head||v.getElementsByTagName("head")[0]||v.documentElement,{send:function(e,n){(r=v.createElement("script")).async="async",t.scriptCharset&&(r.charset=t.scriptCharset),r.src=t.url,r.onload=r.onreadystatechange=function(e,t){!t&&r.readyState&&!/loaded|complete/.test(r.readyState)||(r.onload=r.onreadystatechange=null,i&&r.parentNode&&i.removeChild(r),r=T,t||n(200,"success"))},i.insertBefore(r,i.firstChild)},abort:function(){r&&r.onload(0,1)}}});var M,_n=!!y.ActiveXObject&&function(){for(var e in M)M[e](0,1)},qn=0;function Bn(){try{return new y.XMLHttpRequest}catch(e){}}N.ajaxSettings.xhr=y.ActiveXObject?function(){return!this.isLocal&&Bn()||function(){try{return new y.ActiveXObject("Microsoft.XMLHTTP")}catch(e){}}()}:Bn,a=N.ajaxSettings.xhr(),N.extend(N.support,{ajax:!!a,cors:!!a&&"withCredentials"in a}),N.support.ajax&&N.ajaxTransport(function(c){var f;if(!c.crossDomain||N.support.cors)return{send:function(e,s){var l,t,u=c.xhr();if(c.username?u.open(c.type,c.url,c.async,c.username,c.password):u.open(c.type,c.url,c.async),c.xhrFields)for(t in c.xhrFields)u[t]=c.xhrFields[t];c.mimeType&&u.overrideMimeType&&u.overrideMimeType(c.mimeType),c.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest");try{for(t in e)u.setRequestHeader(t,e[t])}catch(e){}u.send(c.hasContent&&c.data||null),f=function(e,t){var n,r,i,o,a;try{if(f&&(t||4===u.readyState))if(f=T,l&&(u.onreadystatechange=N.noop,_n&&delete M[l]),t)4!==u.readyState&&u.abort();else{n=u.status,i=u.getAllResponseHeaders(),o={},(a=u.responseXML)&&a.documentElement&&(o.xml=a);try{o.text=u.responseText}catch(e){}try{r=u.statusText}catch(e){r=""}n||!c.isLocal||c.crossDomain?1223===n&&(n=204):n=o.text?200:404}}catch(e){t||s(-1,e)}o&&s(n,r,o,i)},c.async?4===u.readyState?setTimeout(f,0):(l=++qn,_n&&(M||(M={},N(y).unload(_n)),M[l]=f),u.onreadystatechange=f):f()},abort:function(){f&&f(0,1)}}});var Wn,Pn,Rn=/^(?:toggle|show|hide)$/,$n=new RegExp("^(?:([-+])=|)("+V+")([a-z%]*)$","i"),In=/queueHooks$/,zn=[function(t,e,n){var r,i,o,a,s,l,u,c,f=this,p=t.style,d={},h=[],g=t.nodeType&&an(t);n.queue||(null==(u=N._queueHooks(t,"fx")).unqueued&&(u.unqueued=0,c=u.empty.fire,u.empty.fire=function(){u.unqueued||c()}),u.unqueued++,f.always(function(){f.always(function(){u.unqueued--,N.queue(t,"fx").length||u.empty.fire()})}));1===t.nodeType&&("height"in e||"width"in e)&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],"inline"===N.css(t,"display")&&"none"===N.css(t,"float")&&(N.support.inlineBlockNeedsLayout&&"inline"!==fn(t.nodeName)?p.zoom=1:p.display="inline-block"));n.overflow&&(p.overflow="hidden",N.support.shrinkWrapBlocks||f.done(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]}));for(r in e)o=e[r],Rn.exec(o)&&(delete e[r],o!==(g?"hide":"show")&&h.push(r));if(a=h.length)for(s=N._data(t,"fxshow")||N._data(t,"fxshow",{}),g?N(t).show():f.done(function(){N(t).hide()}),f.done(function(){for(var e in N.removeData(t,"fxshow",!0),d)N.style(t,e,d[e])}),r=0;r<a;r++)i=h[r],l=f.createTween(i,g?s[i]:0),d[i]=s[i]||N.style(t,i),i in s||(s[i]=l.start,g&&(l.end=l.start,l.start="width"===i||"height"===i?1:0))}],Xn={"*":[function(e,t){var n,r,i,o=this.createTween(e,t),t=$n.exec(t),a=o.cur(),s=+a||0,l=1;if(t){if(n=+t[2],"px"!==(r=t[3]||(N.cssNumber[e]?"":"px"))&&s)for(s=N.css(o.elem,e,!0)||n||1;i=l=l||".5",N.style(o.elem,e,(s/=l)+r),1!==(l=o.cur()/a)&&l!==i;);o.unit=r,o.start=s,o.end=t[1]?s+(t[1]+1)*n:n}return o}]};function Un(){return setTimeout(function(){Wn=T},0),Wn=N.now()}function Yn(i,e,t){var n,r,o,a,s,l,u,c=0,f=zn.length,p=N.Deferred().always(function(){delete d.elem}),d=function(){for(var e=Wn||Un(),e=Math.max(0,h.startTime+h.duration-e),t=1-(e/h.duration||0),n=0,r=h.tweens.length;n<r;n++)h.tweens[n].run(t);return p.notifyWith(i,[h,t,e]),t<1&&r?e:(p.resolveWith(i,[h]),!1)},h=p.promise({elem:i,props:N.extend({},e),opts:N.extend(!0,{specialEasing:{}},t),originalProperties:e,originalOptions:t,startTime:Wn||Un(),duration:t.duration,tweens:[],createTween:function(e,t,n){t=N.Tween(i,h.opts,e,t,h.opts.specialEasing[e]||h.opts.easing);return h.tweens.push(t),t},stop:function(e){for(var t=0,n=e?h.tweens.length:0;t<n;t++)h.tweens[t].run(1);return e?p.resolveWith(i,[h,e]):p.rejectWith(i,[h,e]),this}}),g=h.props,m=g,y=h.opts.specialEasing;for(r in m)if(o=N.camelCase(r),a=y[o],s=m[r],N.isArray(s)&&(a=s[1],s=m[r]=s[0]),r!==o&&(m[o]=s,delete m[r]),(l=N.cssHooks[o])&&"expand"in l)for(r in s=l.expand(s),delete m[o],s)r in m||(m[r]=s[r],y[r]=a);else y[o]=a;for(;c<f;c++)if(n=zn[c].call(h,i,g,h.opts))return n;return u=h,N.each(g,function(e,t){for(var n=(Xn[e]||[]).concat(Xn["*"]),r=0,i=n.length;r<i;r++)if(n[r].call(u,e,t))return}),N.isFunction(h.opts.start)&&h.opts.start.call(i,h),N.fx.timer(N.extend(d,{anim:h,queue:h.opts.queue,elem:i})),h.progress(h.opts.progress).done(h.opts.done,h.opts.complete).fail(h.opts.fail).always(h.opts.always)}function O(e,t,n,r,i){return new O.prototype.init(e,t,n,r,i)}function Jn(e,t){for(var n,r={height:e},i=0;i<4;i+=2-t)r["margin"+(n=L[i])]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}N.Animation=N.extend(Yn,{tweener:function(e,t){for(var n,r=0,i=(e=N.isFunction(e)?(t=e,["*"]):e.split(" ")).length;r<i;r++)n=e[r],Xn[n]=Xn[n]||[],Xn[n].unshift(t)},prefilter:function(e,t){t?zn.unshift(e):zn.push(e)}}),((N.Tween=O).prototype={constructor:O,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||(N.cssNumber[n]?"":"px")},cur:function(){var e=O.propHooks[this.prop];return(e&&e.get?e:O.propHooks._default).get(this)},run:function(e){var t=O.propHooks[this.prop];return this.pos=e=N.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration),this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),(t&&t.set?t:O.propHooks._default).set(this),this}}).init.prototype=O.prototype,(O.propHooks={_default:{get:function(e){var t;return null==e.elem[e.prop]||e.elem.style&&null!=e.elem.style[e.prop]?(t=N.css(e.elem,e.prop,!1,""))&&"auto"!==t?t:0:e.elem[e.prop]},set:function(e){N.fx.step[e.prop]?N.fx.step[e.prop](e):e.elem.style&&(null!=e.elem.style[N.cssProps[e.prop]]||N.cssHooks[e.prop])?N.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}}).scrollTop=O.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},N.each(["toggle","show","hide"],function(r,i){var o=N.fn[i];N.fn[i]=function(e,t,n){return null==e||"boolean"==typeof e||!r&&N.isFunction(e)&&N.isFunction(t)?o.apply(this,arguments):this.animate(Jn(i,!0),e,t,n)}}),N.fn.extend({fadeTo:function(e,t,n,r){return this.filter(an).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(t,e,n,r){function i(){var e=Yn(this,N.extend({},t),a);o&&e.stop(!0)}var o=N.isEmptyObject(t),a=N.speed(e,n,r);return o||!1===a.queue?this.each(i):this.queue(a.queue,i)},stop:function(i,e,o){function a(e){var t=e.stop;delete e.stop,t(o)}return"string"!=typeof i&&(o=e,e=i,i=T),e&&!1!==i&&this.queue(i||"fx",[]),this.each(function(){var e=!0,t=null!=i&&i+"queueHooks",n=N.timers,r=N._data(this);if(t)r[t]&&r[t].stop&&a(r[t]);else for(t in r)r[t]&&r[t].stop&&In.test(t)&&a(r[t]);for(t=n.length;t--;)n[t].elem!==this||null!=i&&n[t].queue!==i||(n[t].anim.stop(o),e=!1,n.splice(t,1));!e&&o||N.dequeue(this,i)})}}),N.each({slideDown:Jn("show"),slideUp:Jn("hide"),slideToggle:Jn("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,r){N.fn[e]=function(e,t,n){return this.animate(r,e,t,n)}}),N.speed=function(e,t,n){var r=e&&"object"==typeof e?N.extend({},e):{complete:n||!n&&t||N.isFunction(e)&&e,duration:e,easing:n&&t||t&&!N.isFunction(t)&&t};return r.duration=N.fx.off?0:"number"==typeof r.duration?r.duration:r.duration in N.fx.speeds?N.fx.speeds[r.duration]:N.fx.speeds._default,null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){N.isFunction(r.old)&&r.old.call(this),r.queue&&N.dequeue(this,r.queue)},r},N.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2}},N.timers=[],N.fx=O.prototype.init,N.fx.tick=function(){for(var e,t=N.timers,n=0;n<t.length;n++)(e=t[n])()||t[n]!==e||t.splice(n--,1);t.length||N.fx.stop()},N.fx.timer=function(e){e()&&N.timers.push(e)&&!Pn&&(Pn=setInterval(N.fx.tick,N.fx.interval))},N.fx.interval=13,N.fx.stop=function(){clearInterval(Pn),Pn=null},N.fx.speeds={slow:600,fast:200,_default:400},N.fx.step={},N.expr&&N.expr.filters&&(N.expr.filters.animated=function(t){return N.grep(N.timers,function(e){return t===e.elem}).length});var Vn=/^(?:body|html)$/i;function Gn(e){return N.isWindow(e)?e:9===e.nodeType&&(e.defaultView||e.parentWindow)}N.fn.offset=function(t){if(arguments.length)return t===T?this:this.each(function(e){N.offset.setOffset(this,t,e)});var e,n,r,i,o=this[0],a=o&&o.ownerDocument;return a?(r=a.body)===o?N.offset.bodyOffset(o):(e=a.documentElement,N.contains(e,o)?(o=o.getBoundingClientRect(),a=Gn(a),n=e.clientTop||r.clientTop||0,r=e.clientLeft||r.clientLeft||0,i=a.pageYOffset||e.scrollTop,a=a.pageXOffset||e.scrollLeft,{top:o.top+i-n,left:o.left+a-r}):{top:0,left:0}):void 0},N.offset={bodyOffset:function(e){var t=e.offsetTop,n=e.offsetLeft;return N.support.doesNotIncludeMarginInBodyOffset&&(t+=parseFloat(N.css(e,"marginTop"))||0,n+=parseFloat(N.css(e,"marginLeft"))||0),{top:t,left:n}},setOffset:function(e,t,n){var r,i=N.css(e,"position"),o=("static"===i&&(e.style.position="relative"),N(e)),a=o.offset(),s=N.css(e,"top"),l=N.css(e,"left"),u={},i=("absolute"===i||"fixed"===i)&&-1<N.inArray("auto",[s,l])?(r=(i=o.position()).top,i.left):(r=parseFloat(s)||0,parseFloat(l)||0);null!=(t=N.isFunction(t)?t.call(e,n,a):t).top&&(u.top=t.top-a.top+r),null!=t.left&&(u.left=t.left-a.left+i),"using"in t?t.using.call(e,u):o.css(u)}},N.fn.extend({position:function(){var e,t,n,r;if(this[0])return e=this[0],t=this.offsetParent(),n=this.offset(),r=Vn.test(t[0].nodeName)?{top:0,left:0}:t.offset(),n.top-=parseFloat(N.css(e,"marginTop"))||0,n.left-=parseFloat(N.css(e,"marginLeft"))||0,r.top+=parseFloat(N.css(t[0],"borderTopWidth"))||0,r.left+=parseFloat(N.css(t[0],"borderLeftWidth"))||0,{top:n.top-r.top,left:n.left-r.left}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent||v.body;e&&!Vn.test(e.nodeName)&&"static"===N.css(e,"position");)e=e.offsetParent;return e||v.body})}}),N.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o=/Y/.test(i);N.fn[t]=function(e){return N.access(this,function(e,t,n){var r=Gn(e);if(n===T)return r?i in r?r[i]:r.document.documentElement[t]:e[t];r?r.scrollTo(o?N(r).scrollLeft():n,o?n:N(r).scrollTop()):e[t]=n},t,e,arguments.length,null)}}),N.each({Height:"height",Width:"width"},function(o,a){N.each({padding:"inner"+o,content:a,"":"outer"+o},function(r,e){N.fn[e]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return N.access(this,function(e,t,n){var r;return N.isWindow(e)?e.document.documentElement["client"+o]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+o],r["scroll"+o],e.body["offset"+o],r["offset"+o],r["client"+o])):n===T?N.css(e,t,n,i):N.style(e,t,n,i)},a,n?e:T,n)}})}),y.sQuery=N,"function"==typeof define&&define.amd&&define.amd.sQuery&&define("jquery",[],function(){return N})}(window);
assets/js/jquery_ui_custom.min.js CHANGED
@@ -1 +1 @@
1
- !function(a,l){var e,t,i=0,s=/^ui-id-\d+$/;function o(t,e){var i,s,o=t.nodeName.toLowerCase();return"area"===o?(i=(s=t.parentNode).name,!(!t.href||!i||"map"!==s.nodeName.toLowerCase())&&(!!(s=a("img[usemap=#"+i+"]")[0])&&n(s))):(/input|select|textarea|button|object/.test(o)?!t.disabled:"a"===o&&t.href||e)&&n(t)}function n(t){return a.expr.filters.visible(t)&&!a(t).parents().andSelf().filter(function(){return"hidden"===a.css(this,"visibility")}).length}a.ui=a.ui||{},a.ui.version||(a.extend(a.ui,{version:"1.9.2",keyCode:{BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38}}),a.fn.extend({_focus:a.fn.focus,focus:function(e,i){return"number"==typeof e?this.each(function(){var t=this;setTimeout(function(){a(t).focus(),i&&i.call(t)},e)}):this._focus.apply(this,arguments)},scrollParent:function(){var t=(a.ui.ie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?this.parents().filter(function(){return/(relative|absolute|fixed)/.test(a.css(this,"position"))&&/(auto|scroll)/.test(a.css(this,"overflow")+a.css(this,"overflow-y")+a.css(this,"overflow-x"))}):this.parents().filter(function(){return/(auto|scroll)/.test(a.css(this,"overflow")+a.css(this,"overflow-y")+a.css(this,"overflow-x"))})).eq(0);return/fixed/.test(this.css("position"))||!t.length?a(document):t},zIndex:function(t){if(t!==l)return this.css("zIndex",t);if(this.length)for(var e,i=a(this[0]);i.length&&i[0]!==document;){if(("absolute"===(e=i.css("position"))||"relative"===e||"fixed"===e)&&(e=parseInt(i.css("zIndex"),10),!isNaN(e)&&0!==e))return e;i=i.parent()}return 0},uniqueId:function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++i)})},removeUniqueId:function(){return this.each(function(){s.test(this.id)&&a(this).removeAttr("id")})}}),a.extend(a.expr[":"],{data:a.expr.createPseudo?a.expr.createPseudo(function(e){return function(t){return!!a.data(t,e)}}):function(t,e,i){return!!a.data(t,i[3])},focusable:function(t){return o(t,!isNaN(a.attr(t,"tabindex")))},tabbable:function(t){var e=a.attr(t,"tabindex"),i=isNaN(e);return(i||0<=e)&&o(t,!i)}}),a(function(){var t=document.body,e=t.appendChild(document.createElement("div"));e.offsetHeight,a.extend(e.style,{minHeight:"100px",height:"auto",padding:0,borderWidth:0}),a.support.minHeight=100===e.offsetHeight,a.support.selectstart="onselectstart"in e,t.removeChild(e).style.display="none"}),a("<a>").outerWidth(1).jquery||a.each(["Width","Height"],function(t,i){var o="Width"===i?["Left","Right"]:["Top","Bottom"],s=i.toLowerCase(),n={innerWidth:a.fn.innerWidth,innerHeight:a.fn.innerHeight,outerWidth:a.fn.outerWidth,outerHeight:a.fn.outerHeight};function r(t,e,i,s){return a.each(o,function(){e-=parseFloat(a.css(t,"padding"+this))||0,i&&(e-=parseFloat(a.css(t,"border"+this+"Width"))||0),s&&(e-=parseFloat(a.css(t,"margin"+this))||0)}),e}a.fn["inner"+i]=function(t){return t===l?n["inner"+i].call(this):this.each(function(){a(this).css(s,r(this,t)+"px")})},a.fn["outer"+i]=function(t,e){return"number"!=typeof t?n["outer"+i].call(this,t):this.each(function(){a(this).css(s,r(this,t,!0,e)+"px")})}}),a("<a>").data("a-b","a").removeData("a-b").data("a-b")&&(a.fn.removeData=(e=a.fn.removeData,function(t){return arguments.length?e.call(this,a.camelCase(t)):e.call(this)})),t=/msie ([\w.]+)/.exec(navigator.userAgent.toLowerCase())||[],a.ui.ie=!!t.length,a.ui.ie6=6===parseFloat(t[1],10),a.fn.extend({disableSelection:function(){return this.bind((a.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(t){t.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}}),a.extend(a.ui,{plugin:{add:function(t,e,i){var s,o=a.ui[t].prototype;for(s in i)o.plugins[s]=o.plugins[s]||[],o.plugins[s].push([e,i[s]])},call:function(t,e,i){var s,o=t.plugins[e];if(o&&t.element[0].parentNode&&11!==t.element[0].parentNode.nodeType)for(s=0;s<o.length;s++)t.options[o[s][0]]&&o[s][1].apply(t.element,i)}},contains:a.contains,hasScroll:function(t,e){if("hidden"===a(t).css("overflow"))return!1;var i,e=e&&"left"===e?"scrollLeft":"scrollTop";return 0<t[e]||(t[e]=1,i=0<t[e],t[e]=0,i)},isOverAxis:function(t,e,i){return e<t&&t<e+i},isOver:function(t,e,i,s,o,n){return a.ui.isOverAxis(t,i,o)&&a.ui.isOverAxis(e,s,n)}}))}(sQuery),function(l,a){var i=0,h=Array.prototype.slice,s=l.cleanData;l.cleanData=function(t){for(var e,i=0;null!=(e=t[i]);i++)try{l(e).triggerHandler("remove")}catch(t){}s(t)},l.widget=function(t,i,r){var e,s,o,n,a=t.split(".")[0];t=t.split(".")[1],e=a+"-"+t,r||(r=i,i=l.Widget),l.expr[":"][e.toLowerCase()]=function(t){return!!l.data(t,e)},l[a]=l[a]||{},s=l[a][t],o=l[a][t]=function(t,e){if(!this._createWidget)return new o(t,e);arguments.length&&this._createWidget(t,e)},l.extend(o,s,{version:r.version,_proto:l.extend({},r),_childConstructors:[]}),(n=new i).options=l.widget.extend({},n.options),l.each(r,function(e,s){function o(){return i.prototype[e].apply(this,arguments)}function n(t){return i.prototype[e].apply(this,t)}l.isFunction(s)&&(r[e]=function(){var t,e=this._super,i=this._superApply;return this._super=o,this._superApply=n,t=s.apply(this,arguments),this._super=e,this._superApply=i,t})}),o.prototype=l.widget.extend(n,{widgetEventPrefix:s?n.widgetEventPrefix:t},r,{constructor:o,namespace:a,widgetName:t,widgetBaseClass:e,widgetFullName:e}),s?(l.each(s._childConstructors,function(t,e){var i=e.prototype;l.widget(i.namespace+"."+i.widgetName,o,e._proto)}),delete s._childConstructors):i._childConstructors.push(o),l.widget.bridge(t,o)},l.widget.extend=function(t){for(var e,i,s=h.call(arguments,1),o=0,n=s.length;o<n;o++)for(e in s[o])i=s[o][e],s[o].hasOwnProperty(e)&&i!==a&&(l.isPlainObject(i)?t[e]=l.isPlainObject(t[e])?l.widget.extend({},t[e],i):l.widget.extend({},i):t[e]=i);return t},l.widget.bridge=function(n,e){var r=e.prototype.widgetFullName||n;l.fn[n]=function(i){var t="string"==typeof i,s=h.call(arguments,1),o=this;return i=!t&&s.length?l.widget.extend.apply(null,[i].concat(s)):i,t?this.each(function(){var t,e=l.data(this,r);return e?l.isFunction(e[i])&&"_"!==i.charAt(0)?(t=e[i].apply(e,s))!==e&&t!==a?(o=t&&t.jquery?o.pushStack(t.get()):t,!1):void 0:l.error("no such method '"+i+"' for "+n+" widget instance"):l.error("cannot call methods on "+n+" prior to initialization; attempted to call method '"+i+"'")}):this.each(function(){var t=l.data(this,r);t?t.option(i||{})._init():l.data(this,r,new e(i,this))}),o}},l.Widget=function(){},l.Widget._childConstructors=[],l.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{disabled:!1,create:null},_createWidget:function(t,e){e=l(e||this.defaultElement||this)[0],this.element=l(e),this.uuid=i++,this.eventNamespace="."+this.widgetName+this.uuid,this.options=l.widget.extend({},this.options,this._getCreateOptions(),t),this.bindings=l(),this.hoverable=l(),this.focusable=l(),e!==this&&(l.data(e,this.widgetName,this),l.data(e,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===e&&this.destroy()}}),this.document=l(e.style?e.ownerDocument:e.document||e),this.window=l(this.document[0].defaultView||this.document[0].parentWindow)),this._create(),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:l.noop,_getCreateEventData:l.noop,_create:l.noop,_init:l.noop,destroy:function(){this._destroy(),this.element.unbind(this.eventNamespace).removeData(this.widgetName).removeData(this.widgetFullName).removeData(l.camelCase(this.widgetFullName)),this.widget().unbind(this.eventNamespace).removeAttr("aria-disabled").removeClass(this.widgetFullName+"-disabled ui-state-disabled"),this.bindings.unbind(this.eventNamespace),this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus")},_destroy:l.noop,widget:function(){return this.element},option:function(t,e){var i,s,o,n=t;if(0===arguments.length)return l.widget.extend({},this.options);if("string"==typeof t)if(n={},t=(i=t.split(".")).shift(),i.length){for(s=n[t]=l.widget.extend({},this.options[t]),o=0;o<i.length-1;o++)s[i[o]]=s[i[o]]||{},s=s[i[o]];if(t=i.pop(),e===a)return s[t]===a?null:s[t];s[t]=e}else{if(e===a)return this.options[t]===a?null:this.options[t];n[t]=e}return this._setOptions(n),this},_setOptions:function(t){for(var e in t)this._setOption(e,t[e]);return this},_setOption:function(t,e){return this.options[t]=e,"disabled"===t&&(this.widget().toggleClass(this.widgetFullName+"-disabled ui-state-disabled",!!e).attr("aria-disabled",e),this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus")),this},enable:function(){return this._setOption("disabled",!1)},disable:function(){return this._setOption("disabled",!0)},_on:function(o,n,t){var r,a=this;"boolean"!=typeof o&&(t=n,n=o,o=!1),t?(n=r=l(n),this.bindings=this.bindings.add(n)):(t=n,n=this.element,r=this.widget()),l.each(t,function(t,e){function i(){if(o||!0!==a.options.disabled&&!l(this).hasClass("ui-state-disabled"))return("string"==typeof e?a[e]:e).apply(a,arguments)}"string"!=typeof e&&(i.guid=e.guid=e.guid||i.guid||l.guid++);var t=t.match(/^(\w+)\s*(.*)$/),s=t[1]+a.eventNamespace,t=t[2];t?r.delegate(t,s,i):n.bind(s,i)})},_off:function(t,e){e=(e||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,t.unbind(e).undelegate(e)},_delay:function(t,e){var i=this;return setTimeout(function(){return("string"==typeof t?i[t]:t).apply(i,arguments)},e||0)},_hoverable:function(t){this.hoverable=this.hoverable.add(t),this._on(t,{mouseenter:function(t){l(t.currentTarget).addClass("ui-state-hover")},mouseleave:function(t){l(t.currentTarget).removeClass("ui-state-hover")}})},_focusable:function(t){this.focusable=this.focusable.add(t),this._on(t,{focusin:function(t){l(t.currentTarget).addClass("ui-state-focus")},focusout:function(t){l(t.currentTarget).removeClass("ui-state-focus")}})},_trigger:function(t,e,i){var s,o,n=this.options[t];if(i=i||{},(e=l.Event(e)).type=(t===this.widgetEventPrefix?t:this.widgetEventPrefix+t).toLowerCase(),e.target=this.element[0],o=e.originalEvent)for(s in o)s in e||(e[s]=o[s]);return this.element.trigger(e,i),!(l.isFunction(n)&&!1===n.apply(this.element[0],[e].concat(i))||e.isDefaultPrevented())}},l.each({show:"fadeIn",hide:"fadeOut"},function(n,r){l.Widget.prototype["_"+n]=function(e,t,i){var s=(t="string"==typeof t?{effect:t}:t)?!0!==t&&"number"!=typeof t&&t.effect||r:n,o=!l.isEmptyObject(t="number"==typeof(t=t||{})?{duration:t}:t);t.complete=i,t.delay&&e.delay(t.delay),o&&l.effects&&(l.effects.effect[s]||!1!==l.uiBackCompat&&l.effects[s])?e[n](t):s!==n&&e[s]?e[s](t.duration,t.easing,i):e.queue(function(t){l(this)[n](),i&&i.call(e[0]),t()})}}),!1!==l.uiBackCompat&&(l.Widget.prototype._getCreateOptions=function(){return l.metadata&&l.metadata.get(this.element[0])[this.widgetName]})}(sQuery),function(o){var n=!1;o(document).mouseup(function(t){n=!1}),o.widget("ui.mouse",{version:"1.9.2",options:{cancel:"input,textarea,button,select,option",distance:1,delay:0},_mouseInit:function(){var e=this;this.element.bind("mousedown."+this.widgetName,function(t){return e._mouseDown(t)}).bind("click."+this.widgetName,function(t){if(!0===o.data(t.target,e.widgetName+".preventClickEvent"))return o.removeData(t.target,e.widgetName+".preventClickEvent"),t.stopImmediatePropagation(),!1}),this.started=!1},_mouseDestroy:function(){this.element.unbind("."+this.widgetName),this._mouseMoveDelegate&&o(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(t){var e,i,s;if(!n)return this._mouseStarted&&this._mouseUp(t),this._mouseDownEvent=t,e=this,i=1===t.which,s=!("string"!=typeof this.options.cancel||!t.target.nodeName)&&o(t.target).closest(this.options.cancel).length,!(i&&!s&&this._mouseCapture(t))||(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){e.mouseDelayMet=!0},this.options.delay)),this._mouseDistanceMet(t)&&this._mouseDelayMet(t)&&(this._mouseStarted=!1!==this._mouseStart(t),!this._mouseStarted)?(t.preventDefault(),!0):(!0===o.data(t.target,this.widgetName+".preventClickEvent")&&o.removeData(t.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(t){return e._mouseMove(t)},this._mouseUpDelegate=function(t){return e._mouseUp(t)},o(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate),t.preventDefault(),n=!0))},_mouseMove:function(t){return!o.ui.ie||9<=document.documentMode||t.button?this._mouseStarted?(this._mouseDrag(t),t.preventDefault()):(this._mouseDistanceMet(t)&&this._mouseDelayMet(t)&&(this._mouseStarted=!1!==this._mouseStart(this._mouseDownEvent,t),this._mouseStarted?this._mouseDrag(t):this._mouseUp(t)),!this._mouseStarted):this._mouseUp(t)},_mouseUp:function(t){return o(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,t.target===this._mouseDownEvent.target&&o.data(t.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(t)),!1},_mouseDistanceMet:function(t){return Math.max(Math.abs(this._mouseDownEvent.pageX-t.pageX),Math.abs(this._mouseDownEvent.pageY-t.pageY))>=this.options.distance},_mouseDelayMet:function(t){return this.mouseDelayMet},_mouseStart:function(t){},_mouseDrag:function(t){},_mouseStop:function(t){},_mouseCapture:function(t){return!0}})}(sQuery),function(P){P.ui=P.ui||{};var s,o,n,x=Math.max,T=Math.abs,D=Math.round,r=/left|center|right/,a=/top|center|bottom/,l=/[\+\-]\d+%?/,h=/^\w+/,c=/%$/,e=P.fn.position;function W(t,e,i){return[parseInt(t[0],10)*(c.test(t[0])?e/100:1),parseInt(t[1],10)*(c.test(t[1])?i/100:1)]}function N(t,e){return parseInt(P.css(t,e),10)||0}P.position={scrollbarWidth:function(){if(void 0!==s)return s;var t,e=P("<div style='display:block;width:50px;height:50px;overflow:hidden;'><div style='height:100px;width:auto;'></div></div>"),i=e.children()[0];return P("body").append(e),t=i.offsetWidth,e.css("overflow","scroll"),t===(i=i.offsetWidth)&&(i=e[0].clientWidth),e.remove(),s=t-i},getScrollInfo:function(t){var e=t.isWindow?"":t.element.css("overflow-x"),i=t.isWindow?"":t.element.css("overflow-y"),e="scroll"===e||"auto"===e&&t.width<t.element[0].scrollWidth,i="scroll"===i||"auto"===i&&t.height<t.element[0].scrollHeight;return{width:e?P.position.scrollbarWidth():0,height:i?P.position.scrollbarWidth():0}},getWithinInfo:function(t){var t=P(t||window),e=P.isWindow(t[0]);return{element:t,isWindow:e,offset:t.offset()||{left:0,top:0},scrollLeft:t.scrollLeft(),scrollTop:t.scrollTop(),width:e?t.width():t.outerWidth(),height:e?t.height():t.outerHeight()}}},P.fn.position=function(p){if(!p||!p.of)return e.apply(this,arguments);p=P.extend({},p);var f,d,u,g=P(p.of),m=P.position.getWithinInfo(p.within),v=P.position.getScrollInfo(m),t=g[0],b=(p.collision||"flip").split(" "),_={},w=9===t.nodeType?(d=g.width(),u=g.height(),{top:0,left:0}):P.isWindow(t)?(d=g.width(),u=g.height(),{top:g.scrollTop(),left:g.scrollLeft()}):t.preventDefault?(p.at="left top",d=u=0,{top:t.pageY,left:t.pageX}):(d=g.outerWidth(),u=g.outerHeight(),g.offset()),y=P.extend({},w);return P.each(["my","at"],function(){var t,e,i=(p[this]||"").split(" ");(i=1===i.length?r.test(i[0])?i.concat(["center"]):a.test(i[0])?["center"].concat(i):["center","center"]:i)[0]=r.test(i[0])?i[0]:"center",i[1]=a.test(i[1])?i[1]:"center",t=l.exec(i[0]),e=l.exec(i[1]),_[this]=[t?t[0]:0,e?e[0]:0],p[this]=[h.exec(i[0])[0],h.exec(i[1])[0]]}),1===b.length&&(b[1]=b[0]),"right"===p.at[0]?y.left+=d:"center"===p.at[0]&&(y.left+=d/2),"bottom"===p.at[1]?y.top+=u:"center"===p.at[1]&&(y.top+=u/2),f=W(_.at,d,u),y.left+=f[0],y.top+=f[1],this.each(function(){var i,t,r=P(this),a=r.outerWidth(),l=r.outerHeight(),e=N(this,"marginLeft"),s=N(this,"marginTop"),o=a+e+N(this,"marginRight")+v.width,n=l+s+N(this,"marginBottom")+v.height,h=P.extend({},y),c=W(_.my,r.outerWidth(),r.outerHeight());"right"===p.my[0]?h.left-=a:"center"===p.my[0]&&(h.left-=a/2),"bottom"===p.my[1]?h.top-=l:"center"===p.my[1]&&(h.top-=l/2),h.left+=c[0],h.top+=c[1],P.support.offsetFractions||(h.left=D(h.left),h.top=D(h.top)),i={marginLeft:e,marginTop:s},P.each(["left","top"],function(t,e){P.ui.position[b[t]]&&P.ui.position[b[t]][e](h,{targetWidth:d,targetHeight:u,elemWidth:a,elemHeight:l,collisionPosition:i,collisionWidth:o,collisionHeight:n,offset:[f[0]+c[0],f[1]+c[1]],my:p.my,at:p.at,within:m,elem:r})}),P.fn.bgiframe&&r.bgiframe(),p.using&&(t=function(t){var e=w.left-h.left,i=e+d-a,s=w.top-h.top,o=s+u-l,n={target:{element:g,left:w.left,top:w.top,width:d,height:u},element:{element:r,left:h.left,top:h.top,width:a,height:l},horizontal:i<0?"left":0<e?"right":"center",vertical:o<0?"top":0<s?"bottom":"middle"};d<a&&T(e+i)<d&&(n.horizontal="center"),u<l&&T(s+o)<u&&(n.vertical="middle"),x(T(e),T(i))>x(T(s),T(o))?n.important="horizontal":n.important="vertical",p.using.call(this,t,n)}),r.offset(P.extend(h,{using:t}))})},P.ui.position={fit:{left:function(t,e){var i,s=e.within,o=s.isWindow?s.scrollLeft:s.offset.left,s=s.width,n=t.left-e.collisionPosition.marginLeft,r=o-n,a=n+e.collisionWidth-s-o;e.collisionWidth>s?0<r&&a<=0?(i=t.left+r+e.collisionWidth-s-o,t.left+=r-i):t.left=!(0<a&&r<=0)&&a<r?o+s-e.collisionWidth:o:0<r?t.left+=r:0<a?t.left-=a:t.left=x(t.left-n,t.left)},top:function(t,e){var i,s=e.within,s=s.isWindow?s.scrollTop:s.offset.top,o=e.within.height,n=t.top-e.collisionPosition.marginTop,r=s-n,a=n+e.collisionHeight-o-s;e.collisionHeight>o?0<r&&a<=0?(i=t.top+r+e.collisionHeight-o-s,t.top+=r-i):t.top=!(0<a&&r<=0)&&a<r?s+o-e.collisionHeight:s:0<r?t.top+=r:0<a?t.top-=a:t.top=x(t.top-n,t.top)}},flip:{left:function(t,e){var i=e.within,s=i.offset.left+i.scrollLeft,o=i.width,i=i.isWindow?i.scrollLeft:i.offset.left,n=t.left-e.collisionPosition.marginLeft,r=n-i,n=n+e.collisionWidth-o-i,a="left"===e.my[0]?-e.elemWidth:"right"===e.my[0]?e.elemWidth:0,l="left"===e.at[0]?e.targetWidth:"right"===e.at[0]?-e.targetWidth:0,h=-2*e.offset[0];r<0?((o=t.left+a+l+h+e.collisionWidth-o-s)<0||o<T(r))&&(t.left+=a+l+h):0<n&&(0<(s=t.left-e.collisionPosition.marginLeft+a+l+h-i)||T(s)<n)&&(t.left+=a+l+h)},top:function(t,e){var i=e.within,s=i.offset.top+i.scrollTop,o=i.height,i=i.isWindow?i.scrollTop:i.offset.top,n=t.top-e.collisionPosition.marginTop,r=n-i,n=n+e.collisionHeight-o-i,a="top"===e.my[1]?-e.elemHeight:"bottom"===e.my[1]?e.elemHeight:0,l="top"===e.at[1]?e.targetHeight:"bottom"===e.at[1]?-e.targetHeight:0,h=-2*e.offset[1];r<0?(o=t.top+a+l+h+e.collisionHeight-o-s,t.top+a+l+h>r&&(o<0||o<T(r))&&(t.top+=a+l+h)):0<n&&(s=t.top-e.collisionPosition.marginTop+a+l+h-i,t.top+a+l+h>n&&(0<s||T(s)<n)&&(t.top+=a+l+h))}},flipfit:{left:function(){P.ui.position.flip.left.apply(this,arguments),P.ui.position.fit.left.apply(this,arguments)},top:function(){P.ui.position.flip.top.apply(this,arguments),P.ui.position.fit.top.apply(this,arguments)}}};var t,i=document.getElementsByTagName("body")[0],p=document.createElement("div"),f=document.createElement(i?"div":"body"),d={visibility:"hidden",width:0,height:0,border:0,margin:0,background:"none"};for(t in i&&P.extend(d,{position:"absolute",left:"-1000px",top:"-1000px"}),d)f.style[t]=d[t];f.appendChild(p),(i=i||document.documentElement).insertBefore(f,i.firstChild),p.style.cssText="position: absolute; left: 10.7432222px;",p=P(p).offset().left,P.support.offsetFractions=10<p&&p<11,f.innerHTML="",i.removeChild(f),!1!==P.uiBackCompat&&(o=sQuery,n=o.fn.position,o.fn.position=function(t){if(!t||!t.offset)return n.call(this,t);var e=t.offset.split(" "),i=t.at.split(" ");return 1===e.length&&(e[1]=e[0]),/^\d/.test(e[0])&&(e[0]="+"+e[0]),/^\d/.test(e[1])&&(e[1]="+"+e[1]),1===i.length&&(/left|center|right/.test(i[0])?i[1]="center":(i[1]=i[0],i[0]="center")),n.call(this,o.extend(t,{at:i[0]+e[0]+" "+i[1]+e[1],offset:void 0}))})}(sQuery),function(_){_.widget("ui.draggable",_.ui.mouse,{version:"1.9.2",widgetEventPrefix:"drag",options:{addClasses:!0,appendTo:"parent",axis:!1,connectToSortable:!1,containment:!1,cursor:"auto",cursorAt:!1,grid:!1,handle:!1,helper:"original",iframeFix:!1,opacity:!1,refreshPositions:!1,revert:!1,revertDuration:500,scope:"default",scroll:!0,scrollSensitivity:20,scrollSpeed:20,snap:!1,snapMode:"both",snapTolerance:20,stack:!1,zIndex:!1},_create:function(){"original"!=this.options.helper||/^(?:r|a|f)/.test(this.element.css("position"))||(this.element[0].style.position="relative"),this.options.addClasses&&this.element.addClass("ui-draggable"),this.options.disabled&&this.element.addClass("ui-draggable-disabled"),this._mouseInit()},_destroy:function(){this.element.removeClass("ui-draggable ui-draggable-dragging ui-draggable-disabled"),this._mouseDestroy()},_mouseCapture:function(t){var e=this.options;return!(this.helper||e.disabled||_(t.target).is(".ui-resizable-handle"))&&(this.handle=this._getHandle(t),!!this.handle&&(_(!0===e.iframeFix?"iframe":e.iframeFix).each(function(){_('<div class="ui-draggable-iframeFix" style="background: #fff;"></div>').css({width:this.offsetWidth+"px",height:this.offsetHeight+"px",position:"absolute",opacity:"0.001",zIndex:1e3}).css(_(this).offset()).appendTo("body")}),!0))},_mouseStart:function(t){var e=this.options;return this.helper=this._createHelper(t),this.helper.addClass("ui-draggable-dragging"),this._cacheHelperProportions(),_.ui.ddmanager&&(_.ui.ddmanager.current=this),this._cacheMargins(),this.cssPosition=this.helper.css("position"),this.scrollParent=this.helper.scrollParent(),this.offset=this.positionAbs=this.element.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},_.extend(this.offset,{click:{left:t.pageX-this.offset.left,top:t.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()}),this.originalPosition=this.position=this._generatePosition(t),this.originalPageX=t.pageX,this.originalPageY=t.pageY,e.cursorAt&&this._adjustOffsetFromHelper(e.cursorAt),e.containment&&this._setContainment(),!1===this._trigger("start",t)?(this._clear(),!1):(this._cacheHelperProportions(),_.ui.ddmanager&&!e.dropBehaviour&&_.ui.ddmanager.prepareOffsets(this,t),this._mouseDrag(t,!0),_.ui.ddmanager&&_.ui.ddmanager.dragStart(this,t),!0)},_mouseDrag:function(t,e){if(this.position=this._generatePosition(t),this.positionAbs=this._convertPositionTo("absolute"),!e){e=this._uiHash();if(!1===this._trigger("drag",t,e))return this._mouseUp({}),!1;this.position=e.position}return this.options.axis&&"y"==this.options.axis||(this.helper[0].style.left=this.position.left+"px"),this.options.axis&&"x"==this.options.axis||(this.helper[0].style.top=this.position.top+"px"),_.ui.ddmanager&&_.ui.ddmanager.drag(this,t),!1},_mouseStop:function(t){for(var e,i=!1,s=(_.ui.ddmanager&&!this.options.dropBehaviour&&(i=_.ui.ddmanager.drop(this,t)),this.dropped&&(i=this.dropped,this.dropped=!1),this.element[0]),o=!1;s=s&&s.parentNode;)s==document&&(o=!0);return(o||"original"!==this.options.helper)&&("invalid"==this.options.revert&&!i||"valid"==this.options.revert&&i||!0===this.options.revert||_.isFunction(this.options.revert)&&this.options.revert.call(this.element,i)?_((e=this).helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){!1!==e._trigger("stop",t)&&e._clear()}):!1!==this._trigger("stop",t)&&this._clear()),!1},_mouseUp:function(t){return _("div.ui-draggable-iframeFix").each(function(){this.parentNode.removeChild(this)}),_.ui.ddmanager&&_.ui.ddmanager.dragStop(this,t),_.ui.mouse.prototype._mouseUp.call(this,t)},cancel:function(){return this.helper.is(".ui-draggable-dragging")?this._mouseUp({}):this._clear(),this},_getHandle:function(t){var e=!this.options.handle||!_(this.options.handle,this.element).length;return _(this.options.handle,this.element).find("*").andSelf().each(function(){this==t.target&&(e=!0)}),e},_createHelper:function(t){var e=this.options,t=_.isFunction(e.helper)?_(e.helper.apply(this.element[0],[t])):"clone"==e.helper?this.element.clone().removeAttr("id"):this.element;return t.parents("body").length||t.appendTo("parent"==e.appendTo?this.element[0].parentNode:e.appendTo),t[0]==this.element[0]||/(fixed|absolute)/.test(t.css("position"))||t.css("position","absolute"),t},_adjustOffsetFromHelper:function(t){"string"==typeof t&&(t=t.split(" ")),"left"in(t=_.isArray(t)?{left:+t[0],top:+t[1]||0}:t)&&(this.offset.click.left=t.left+this.margins.left),"right"in t&&(this.offset.click.left=this.helperProportions.width-t.right+this.margins.left),"top"in t&&(this.offset.click.top=t.top+this.margins.top),"bottom"in t&&(this.offset.click.top=this.helperProportions.height-t.bottom+this.margins.top)},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var t=this.offsetParent.offset();return"absolute"==this.cssPosition&&this.scrollParent[0]!=document&&_.contains(this.scrollParent[0],this.offsetParent[0])&&(t.left+=this.scrollParent.scrollLeft(),t.top+=this.scrollParent.scrollTop()),{top:(t=this.offsetParent[0]==document.body||this.offsetParent[0].tagName&&"html"==this.offsetParent[0].tagName.toLowerCase()&&_.ui.ie?{top:0,left:0}:t).top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:t.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){var t;return"relative"==this.cssPosition?{top:(t=this.element.position()).top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:t.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}:{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.element.css("marginLeft"),10)||0,top:parseInt(this.element.css("marginTop"),10)||0,right:parseInt(this.element.css("marginRight"),10)||0,bottom:parseInt(this.element.css("marginBottom"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var t,e,i=this.options;"parent"==i.containment&&(i.containment=this.helper[0].parentNode),"document"!=i.containment&&"window"!=i.containment||(this.containment=["document"==i.containment?0:_(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,"document"==i.containment?0:_(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,("document"==i.containment?0:_(window).scrollLeft())+_("document"==i.containment?document:window).width()-this.helperProportions.width-this.margins.left,("document"==i.containment?0:_(window).scrollTop())+(_("document"==i.containment?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]),/^(document|window|parent)$/.test(i.containment)||i.containment.constructor==Array?i.containment.constructor==Array&&(this.containment=i.containment):(t=(i=_(i.containment))[0])&&(i.offset(),e="hidden"!=_(t).css("overflow"),this.containment=[(parseInt(_(t).css("borderLeftWidth"),10)||0)+(parseInt(_(t).css("paddingLeft"),10)||0),(parseInt(_(t).css("borderTopWidth"),10)||0)+(parseInt(_(t).css("paddingTop"),10)||0),(e?Math.max(t.scrollWidth,t.offsetWidth):t.offsetWidth)-(parseInt(_(t).css("borderLeftWidth"),10)||0)-(parseInt(_(t).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(e?Math.max(t.scrollHeight,t.offsetHeight):t.offsetHeight)-(parseInt(_(t).css("borderTopWidth"),10)||0)-(parseInt(_(t).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom],this.relative_container=i)},_convertPositionTo:function(t,e){e=e||this.position;var t="absolute"==t?1:-1,i=(this.options,"absolute"!=this.cssPosition||this.scrollParent[0]!=document&&_.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent),s=/(html|body)/i.test(i[0].tagName);return{top:e.top+this.offset.relative.top*t+this.offset.parent.top*t-("fixed"==this.cssPosition?-this.scrollParent.scrollTop():s?0:i.scrollTop())*t,left:e.left+this.offset.relative.left*t+this.offset.parent.left*t-("fixed"==this.cssPosition?-this.scrollParent.scrollLeft():s?0:i.scrollLeft())*t}},_generatePosition:function(t){var e,i=this.options,s="absolute"!=this.cssPosition||this.scrollParent[0]!=document&&_.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,o=/(html|body)/i.test(s[0].tagName),n=t.pageX,r=t.pageY;return this.originalPosition&&(this.containment&&(e=this.relative_container?(e=this.relative_container.offset(),[this.containment[0]+e.left,this.containment[1]+e.top,this.containment[2]+e.left,this.containment[3]+e.top]):this.containment,t.pageX-this.offset.click.left<e[0]&&(n=e[0]+this.offset.click.left),t.pageY-this.offset.click.top<e[1]&&(r=e[1]+this.offset.click.top),t.pageX-this.offset.click.left>e[2]&&(n=e[2]+this.offset.click.left),t.pageY-this.offset.click.top>e[3]&&(r=e[3]+this.offset.click.top)),i.grid&&(t=i.grid[1]?this.originalPageY+Math.round((r-this.originalPageY)/i.grid[1])*i.grid[1]:this.originalPageY,r=e&&(t-this.offset.click.top<e[1]||t-this.offset.click.top>e[3])?t-this.offset.click.top<e[1]?t+i.grid[1]:t-i.grid[1]:t,t=i.grid[0]?this.originalPageX+Math.round((n-this.originalPageX)/i.grid[0])*i.grid[0]:this.originalPageX,n=e&&(t-this.offset.click.left<e[0]||t-this.offset.click.left>e[2])?t-this.offset.click.left<e[0]?t+i.grid[0]:t-i.grid[0]:t)),{top:r-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"==this.cssPosition?-this.scrollParent.scrollTop():o?0:s.scrollTop()),left:n-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"==this.cssPosition?-this.scrollParent.scrollLeft():o?0:s.scrollLeft())}},_clear:function(){this.helper.removeClass("ui-draggable-dragging"),this.helper[0]==this.element[0]||this.cancelHelperRemoval||this.helper.remove(),this.helper=null,this.cancelHelperRemoval=!1},_trigger:function(t,e,i){return i=i||this._uiHash(),_.ui.plugin.call(this,t,[e,i]),"drag"==t&&(this.positionAbs=this._convertPositionTo("absolute")),_.Widget.prototype._trigger.call(this,t,e,i)},plugins:{},_uiHash:function(t){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}}),_.ui.plugin.add("draggable","connectToSortable",{start:function(e,t){var i=_(this).data("draggable"),s=i.options,o=_.extend({},t,{item:i.element});i.sortables=[],_(s.connectToSortable).each(function(){var t=_.data(this,"sortable");t&&!t.options.disabled&&(i.sortables.push({instance:t,shouldRevert:t.options.revert}),t.refreshPositions(),t._trigger("activate",e,o))})},stop:function(t,e){var i=_(this).data("draggable"),s=_.extend({},e,{item:i.element});_.each(i.sortables,function(){this.instance.isOver?(this.instance.isOver=0,i.cancelHelperRemoval=!0,this.instance.cancelHelperRemoval=!1,this.shouldRevert&&(this.instance.options.revert=!0),this.instance._mouseStop(t),this.instance.options.helper=this.instance.options._helper,"original"==i.options.helper&&this.instance.currentItem.css({top:"auto",left:"auto"})):(this.instance.cancelHelperRemoval=!1,this.instance._trigger("deactivate",t,s))})},drag:function(s,o){var n=_(this).data("draggable"),r=this;_.each(n.sortables,function(t){var e=!1,i=this;this.instance.positionAbs=n.positionAbs,this.instance.helperProportions=n.helperProportions,this.instance.offset.click=n.offset.click,this.instance._intersectsWith(this.instance.containerCache)&&(e=!0,_.each(n.sortables,function(){return this.instance.positionAbs=n.positionAbs,this.instance.helperProportions=n.helperProportions,this.instance.offset.click=n.offset.click,e=this!=i&&this.instance._intersectsWith(this.instance.containerCache)&&_.ui.contains(i.instance.element[0],this.instance.element[0])?!1:e})),e?(this.instance.isOver||(this.instance.isOver=1,this.instance.currentItem=_(r).clone().removeAttr("id").appendTo(this.instance.element).data("sortable-item",!0),this.instance.options._helper=this.instance.options.helper,this.instance.options.helper=function(){return o.helper[0]},s.target=this.instance.currentItem[0],this.instance._mouseCapture(s,!0),this.instance._mouseStart(s,!0,!0),this.instance.offset.click.top=n.offset.click.top,this.instance.offset.click.left=n.offset.click.left,this.instance.offset.parent.left-=n.offset.parent.left-this.instance.offset.parent.left,this.instance.offset.parent.top-=n.offset.parent.top-this.instance.offset.parent.top,n._trigger("toSortable",s),n.dropped=this.instance.element,n.currentItem=n.element,this.instance.fromOutside=n),this.instance.currentItem&&this.instance._mouseDrag(s)):this.instance.isOver&&(this.instance.isOver=0,this.instance.cancelHelperRemoval=!0,this.instance.options.revert=!1,this.instance._trigger("out",s,this.instance._uiHash(this.instance)),this.instance._mouseStop(s,!0),this.instance.options.helper=this.instance.options._helper,this.instance.currentItem.remove(),this.instance.placeholder&&this.instance.placeholder.remove(),n._trigger("fromSortable",s),n.dropped=!1)})}}),_.ui.plugin.add("draggable","cursor",{start:function(t,e){var i=_("body"),s=_(this).data("draggable").options;i.css("cursor")&&(s._cursor=i.css("cursor")),i.css("cursor",s.cursor)},stop:function(t,e){var i=_(this).data("draggable").options;i._cursor&&_("body").css("cursor",i._cursor)}}),_.ui.plugin.add("draggable","opacity",{start:function(t,e){var e=_(e.helper),i=_(this).data("draggable").options;e.css("opacity")&&(i._opacity=e.css("opacity")),e.css("opacity",i.opacity)},stop:function(t,e){var i=_(this).data("draggable").options;i._opacity&&_(e.helper).css("opacity",i._opacity)}}),_.ui.plugin.add("draggable","scroll",{start:function(t,e){var i=_(this).data("draggable");i.scrollParent[0]!=document&&"HTML"!=i.scrollParent[0].tagName&&(i.overflowOffset=i.scrollParent.offset())},drag:function(t,e){var i=_(this).data("draggable"),s=i.options,o=!1;i.scrollParent[0]!=document&&"HTML"!=i.scrollParent[0].tagName?(s.axis&&"x"==s.axis||(i.overflowOffset.top+i.scrollParent[0].offsetHeight-t.pageY<s.scrollSensitivity?i.scrollParent[0].scrollTop=o=i.scrollParent[0].scrollTop+s.scrollSpeed:t.pageY-i.overflowOffset.top<s.scrollSensitivity&&(i.scrollParent[0].scrollTop=o=i.scrollParent[0].scrollTop-s.scrollSpeed)),s.axis&&"y"==s.axis||(i.overflowOffset.left+i.scrollParent[0].offsetWidth-t.pageX<s.scrollSensitivity?i.scrollParent[0].scrollLeft=o=i.scrollParent[0].scrollLeft+s.scrollSpeed:t.pageX-i.overflowOffset.left<s.scrollSensitivity&&(i.scrollParent[0].scrollLeft=o=i.scrollParent[0].scrollLeft-s.scrollSpeed))):(s.axis&&"x"==s.axis||(t.pageY-_(document).scrollTop()<s.scrollSensitivity?o=_(document).scrollTop(_(document).scrollTop()-s.scrollSpeed):_(window).height()-(t.pageY-_(document).scrollTop())<s.scrollSensitivity&&(o=_(document).scrollTop(_(document).scrollTop()+s.scrollSpeed))),s.axis&&"y"==s.axis||(t.pageX-_(document).scrollLeft()<s.scrollSensitivity?o=_(document).scrollLeft(_(document).scrollLeft()-s.scrollSpeed):_(window).width()-(t.pageX-_(document).scrollLeft())<s.scrollSensitivity&&(o=_(document).scrollLeft(_(document).scrollLeft()+s.scrollSpeed)))),!1!==o&&_.ui.ddmanager&&!s.dropBehaviour&&_.ui.ddmanager.prepareOffsets(i,t)}}),_.ui.plugin.add("draggable","snap",{start:function(t,e){var i=_(this).data("draggable"),s=i.options;i.snapElements=[],_(s.snap.constructor!=String?s.snap.items||":data(draggable)":s.snap).each(function(){var t=_(this),e=t.offset();this!=i.element[0]&&i.snapElements.push({item:this,width:t.outerWidth(),height:t.outerHeight(),top:e.top,left:e.left})})},drag:function(t,e){for(var i=_(this).data("draggable"),s=i.options,o=s.snapTolerance,n=e.offset.left,r=n+i.helperProportions.width,a=e.offset.top,l=a+i.helperProportions.height,h=i.snapElements.length-1;0<=h;h--){var c,p,f,d,u,g=i.snapElements[h].left,m=g+i.snapElements[h].width,v=i.snapElements[h].top,b=v+i.snapElements[h].height;g-o<n&&n<m+o&&v-o<a&&a<b+o||g-o<n&&n<m+o&&v-o<l&&l<b+o||g-o<r&&r<m+o&&v-o<a&&a<b+o||g-o<r&&r<m+o&&v-o<l&&l<b+o?(c=("inner"!=s.snapMode&&(p=Math.abs(v-l)<=o,f=Math.abs(b-a)<=o,d=Math.abs(g-r)<=o,u=Math.abs(m-n)<=o,p&&(e.position.top=i._convertPositionTo("relative",{top:v-i.helperProportions.height,left:0}).top-i.margins.top),f&&(e.position.top=i._convertPositionTo("relative",{top:b,left:0}).top-i.margins.top),d&&(e.position.left=i._convertPositionTo("relative",{top:0,left:g-i.helperProportions.width}).left-i.margins.left),u&&(e.position.left=i._convertPositionTo("relative",{top:0,left:m}).left-i.margins.left)),p||f||d||u),"outer"!=s.snapMode&&(p=Math.abs(v-a)<=o,f=Math.abs(b-l)<=o,d=Math.abs(g-n)<=o,u=Math.abs(m-r)<=o,p&&(e.position.top=i._convertPositionTo("relative",{top:v,left:0}).top-i.margins.top),f&&(e.position.top=i._convertPositionTo("relative",{top:b-i.helperProportions.height,left:0}).top-i.margins.top),d&&(e.position.left=i._convertPositionTo("relative",{top:0,left:g}).left-i.margins.left),u&&(e.position.left=i._convertPositionTo("relative",{top:0,left:m-i.helperProportions.width}).left-i.margins.left)),!i.snapElements[h].snapping&&(p||f||d||u||c)&&i.options.snap.snap&&i.options.snap.snap.call(i.element,t,_.extend(i._uiHash(),{snapItem:i.snapElements[h].item})),i.snapElements[h].snapping=p||f||d||u||c):(i.snapElements[h].snapping&&i.options.snap.release&&i.options.snap.release.call(i.element,t,_.extend(i._uiHash(),{snapItem:i.snapElements[h].item})),i.snapElements[h].snapping=!1)}}}),_.ui.plugin.add("draggable","stack",{start:function(t,e){var i,s=_(this).data("draggable").options,s=_.makeArray(_(s.stack)).sort(function(t,e){return(parseInt(_(t).css("zIndex"),10)||0)-(parseInt(_(e).css("zIndex"),10)||0)});s.length&&(i=parseInt(s[0].style.zIndex)||0,_(s).each(function(t){this.style.zIndex=i+t}),this[0].style.zIndex=i+s.length)}}),_.ui.plugin.add("draggable","zIndex",{start:function(t,e){var e=_(e.helper),i=_(this).data("draggable").options;e.css("zIndex")&&(i._zIndex=e.css("zIndex")),e.css("zIndex",i.zIndex)},stop:function(t,e){var i=_(this).data("draggable").options;i._zIndex&&_(e.helper).css("zIndex",i._zIndex)}})}(sQuery);
1
+ !function(a,l){var e,t,i=0,s=/^ui-id-\d+$/;function o(t,e){var i,s,o=t.nodeName.toLowerCase();return"area"===o?(i=(s=t.parentNode).name,!(!t.href||!i||"map"!==s.nodeName.toLowerCase())&&(!!(s=a("img[usemap=#"+i+"]")[0])&&n(s))):(/input|select|textarea|button|object/.test(o)?!t.disabled:"a"===o&&t.href||e)&&n(t)}function n(t){return a.expr.filters.visible(t)&&!a(t).parents().andSelf().filter(function(){return"hidden"===a.css(this,"visibility")}).length}a.ui=a.ui||{},a.ui.version||(a.extend(a.ui,{version:"1.9.2",keyCode:{BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38}}),a.fn.extend({_focus:a.fn.focus,focus:function(e,i){return"number"==typeof e?this.each(function(){var t=this;setTimeout(function(){a(t).focus(),i&&i.call(t)},e)}):this._focus.apply(this,arguments)},scrollParent:function(){var t=(a.ui.ie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?this.parents().filter(function(){return/(relative|absolute|fixed)/.test(a.css(this,"position"))&&/(auto|scroll)/.test(a.css(this,"overflow")+a.css(this,"overflow-y")+a.css(this,"overflow-x"))}):this.parents().filter(function(){return/(auto|scroll)/.test(a.css(this,"overflow")+a.css(this,"overflow-y")+a.css(this,"overflow-x"))})).eq(0);return/fixed/.test(this.css("position"))||!t.length?a(document):t},zIndex:function(t){if(t!==l)return this.css("zIndex",t);if(this.length)for(var e,i=a(this[0]);i.length&&i[0]!==document;){if(("absolute"===(e=i.css("position"))||"relative"===e||"fixed"===e)&&(e=parseInt(i.css("zIndex"),10),!isNaN(e)&&0!==e))return e;i=i.parent()}return 0},uniqueId:function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++i)})},removeUniqueId:function(){return this.each(function(){s.test(this.id)&&a(this).removeAttr("id")})}}),a.extend(a.expr[":"],{data:a.expr.createPseudo?a.expr.createPseudo(function(e){return function(t){return!!a.data(t,e)}}):function(t,e,i){return!!a.data(t,i[3])},focusable:function(t){return o(t,!isNaN(a.attr(t,"tabindex")))},tabbable:function(t){var e=a.attr(t,"tabindex"),i=isNaN(e);return(i||0<=e)&&o(t,!i)}}),a(function(){var t=document.body,e=t.appendChild(document.createElement("div"));e.offsetHeight,a.extend(e.style,{minHeight:"100px",height:"auto",padding:0,borderWidth:0}),a.support.minHeight=100===e.offsetHeight,a.support.selectstart="onselectstart"in e,t.removeChild(e).style.display="none"}),a("<a>").outerWidth(1).jquery||a.each(["Width","Height"],function(t,i){var o="Width"===i?["Left","Right"]:["Top","Bottom"],s=i.toLowerCase(),n={innerWidth:a.fn.innerWidth,innerHeight:a.fn.innerHeight,outerWidth:a.fn.outerWidth,outerHeight:a.fn.outerHeight};function r(t,e,i,s){return a.each(o,function(){e-=parseFloat(a.css(t,"padding"+this))||0,i&&(e-=parseFloat(a.css(t,"border"+this+"Width"))||0),s&&(e-=parseFloat(a.css(t,"margin"+this))||0)}),e}a.fn["inner"+i]=function(t){return t===l?n["inner"+i].call(this):this.each(function(){a(this).css(s,r(this,t)+"px")})},a.fn["outer"+i]=function(t,e){return"number"!=typeof t?n["outer"+i].call(this,t):this.each(function(){a(this).css(s,r(this,t,!0,e)+"px")})}}),a("<a>").data("a-b","a").removeData("a-b").data("a-b")&&(a.fn.removeData=(e=a.fn.removeData,function(t){return arguments.length?e.call(this,a.camelCase(t)):e.call(this)})),t=/msie ([\w.]+)/.exec(navigator.userAgent.toLowerCase())||[],a.ui.ie=!!t.length,a.ui.ie6=6===parseFloat(t[1],10),a.fn.extend({disableSelection:function(){return this.bind((a.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(t){t.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}}),a.extend(a.ui,{plugin:{add:function(t,e,i){var s,o=a.ui[t].prototype;for(s in i)o.plugins[s]=o.plugins[s]||[],o.plugins[s].push([e,i[s]])},call:function(t,e,i){var s,o=t.plugins[e];if(o&&t.element[0].parentNode&&11!==t.element[0].parentNode.nodeType)for(s=0;s<o.length;s++)t.options[o[s][0]]&&o[s][1].apply(t.element,i)}},contains:a.contains,hasScroll:function(t,e){if("hidden"===a(t).css("overflow"))return!1;var i,e=e&&"left"===e?"scrollLeft":"scrollTop";return 0<t[e]||(t[e]=1,i=0<t[e],t[e]=0,i)},isOverAxis:function(t,e,i){return e<t&&t<e+i},isOver:function(t,e,i,s,o,n){return a.ui.isOverAxis(t,i,o)&&a.ui.isOverAxis(e,s,n)}}))}(sQuery),function(l,a){var i=0,h=Array.prototype.slice,s=l.cleanData;l.cleanData=function(t){for(var e,i=0;null!=(e=t[i]);i++)try{l(e).triggerHandler("remove")}catch(t){}s(t)},l.widget=function(t,i,r){var e,s,o,n,a=t.split(".")[0];t=t.split(".")[1],e=a+"-"+t,r||(r=i,i=l.Widget),l.expr[":"][e.toLowerCase()]=function(t){return!!l.data(t,e)},l[a]=l[a]||{},s=l[a][t],o=l[a][t]=function(t,e){if(!this._createWidget)return new o(t,e);arguments.length&&this._createWidget(t,e)},l.extend(o,s,{version:r.version,_proto:l.extend({},r),_childConstructors:[]}),(n=new i).options=l.widget.extend({},n.options),l.each(r,function(e,s){function o(){return i.prototype[e].apply(this,arguments)}function n(t){return i.prototype[e].apply(this,t)}l.isFunction(s)&&(r[e]=function(){var t,e=this._super,i=this._superApply;return this._super=o,this._superApply=n,t=s.apply(this,arguments),this._super=e,this._superApply=i,t})}),o.prototype=l.widget.extend(n,{widgetEventPrefix:s?n.widgetEventPrefix:t},r,{constructor:o,namespace:a,widgetName:t,widgetBaseClass:e,widgetFullName:e}),s?(l.each(s._childConstructors,function(t,e){var i=e.prototype;l.widget(i.namespace+"."+i.widgetName,o,e._proto)}),delete s._childConstructors):i._childConstructors.push(o),l.widget.bridge(t,o)},l.widget.extend=function(t){for(var e,i,s=h.call(arguments,1),o=0,n=s.length;o<n;o++)for(e in s[o])i=s[o][e],s[o].hasOwnProperty(e)&&i!==a&&(l.isPlainObject(i)?t[e]=l.isPlainObject(t[e])?l.widget.extend({},t[e],i):l.widget.extend({},i):t[e]=i);return t},l.widget.bridge=function(n,e){var r=e.prototype.widgetFullName||n;l.fn[n]=function(i){var t="string"==typeof i,s=h.call(arguments,1),o=this;return i=!t&&s.length?l.widget.extend.apply(null,[i].concat(s)):i,t?this.each(function(){var t,e=l.data(this,r);return e?l.isFunction(e[i])&&"_"!==i.charAt(0)?(t=e[i].apply(e,s))!==e&&t!==a?(o=t&&t.jquery?o.pushStack(t.get()):t,!1):void 0:l.error("no such method '"+i+"' for "+n+" widget instance"):l.error("cannot call methods on "+n+" prior to initialization; attempted to call method '"+i+"'")}):this.each(function(){var t=l.data(this,r);t?t.option(i||{})._init():l.data(this,r,new e(i,this))}),o}},l.Widget=function(){},l.Widget._childConstructors=[],l.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{disabled:!1,create:null},_createWidget:function(t,e){e=l(e||this.defaultElement||this)[0],this.element=l(e),this.uuid=i++,this.eventNamespace="."+this.widgetName+this.uuid,this.options=l.widget.extend({},this.options,this._getCreateOptions(),t),this.bindings=l(),this.hoverable=l(),this.focusable=l(),e!==this&&(l.data(e,this.widgetName,this),l.data(e,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===e&&this.destroy()}}),this.document=l(e.style?e.ownerDocument:e.document||e),this.window=l(this.document[0].defaultView||this.document[0].parentWindow)),this._create(),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:l.noop,_getCreateEventData:l.noop,_create:l.noop,_init:l.noop,destroy:function(){this._destroy(),this.element.unbind(this.eventNamespace).removeData(this.widgetName).removeData(this.widgetFullName).removeData(l.camelCase(this.widgetFullName)),this.widget().unbind(this.eventNamespace).removeAttr("aria-disabled").removeClass(this.widgetFullName+"-disabled ui-state-disabled"),this.bindings.unbind(this.eventNamespace),this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus")},_destroy:l.noop,widget:function(){return this.element},option:function(t,e){var i,s,o,n=t;if(0===arguments.length)return l.widget.extend({},this.options);if("string"==typeof t)if(n={},t=(i=t.split(".")).shift(),i.length){for(s=n[t]=l.widget.extend({},this.options[t]),o=0;o<i.length-1;o++)s[i[o]]=s[i[o]]||{},s=s[i[o]];if(t=i.pop(),e===a)return s[t]===a?null:s[t];s[t]=e}else{if(e===a)return this.options[t]===a?null:this.options[t];n[t]=e}return this._setOptions(n),this},_setOptions:function(t){for(var e in t)this._setOption(e,t[e]);return this},_setOption:function(t,e){return this.options[t]=e,"disabled"===t&&(this.widget().toggleClass(this.widgetFullName+"-disabled ui-state-disabled",!!e).attr("aria-disabled",e),this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus")),this},enable:function(){return this._setOption("disabled",!1)},disable:function(){return this._setOption("disabled",!0)},_on:function(o,n,t){var r,a=this;"boolean"!=typeof o&&(t=n,n=o,o=!1),t?(n=r=l(n),this.bindings=this.bindings.add(n)):(t=n,n=this.element,r=this.widget()),l.each(t,function(t,e){function i(){if(o||!0!==a.options.disabled&&!l(this).hasClass("ui-state-disabled"))return("string"==typeof e?a[e]:e).apply(a,arguments)}"string"!=typeof e&&(i.guid=e.guid=e.guid||i.guid||l.guid++);var t=t.match(/^(\w+)\s*(.*)$/),s=t[1]+a.eventNamespace,t=t[2];t?r.delegate(t,s,i):n.bind(s,i)})},_off:function(t,e){e=(e||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,t.unbind(e).undelegate(e)},_delay:function(t,e){var i=this;return setTimeout(function(){return("string"==typeof t?i[t]:t).apply(i,arguments)},e||0)},_hoverable:function(t){this.hoverable=this.hoverable.add(t),this._on(t,{mouseenter:function(t){l(t.currentTarget).addClass("ui-state-hover")},mouseleave:function(t){l(t.currentTarget).removeClass("ui-state-hover")}})},_focusable:function(t){this.focusable=this.focusable.add(t),this._on(t,{focusin:function(t){l(t.currentTarget).addClass("ui-state-focus")},focusout:function(t){l(t.currentTarget).removeClass("ui-state-focus")}})},_trigger:function(t,e,i){var s,o,n=this.options[t];if(i=i||{},(e=l.Event(e)).type=(t===this.widgetEventPrefix?t:this.widgetEventPrefix+t).toLowerCase(),e.target=this.element[0],o=e.originalEvent)for(s in o)s in e||(e[s]=o[s]);return this.element.trigger(e,i),!(l.isFunction(n)&&!1===n.apply(this.element[0],[e].concat(i))||e.isDefaultPrevented())}},l.each({show:"fadeIn",hide:"fadeOut"},function(n,r){l.Widget.prototype["_"+n]=function(e,t,i){var s=(t="string"==typeof t?{effect:t}:t)?!0!==t&&"number"!=typeof t&&t.effect||r:n,o=!l.isEmptyObject(t="number"==typeof(t=t||{})?{duration:t}:t);t.complete=i,t.delay&&e.delay(t.delay),o&&l.effects&&(l.effects.effect[s]||!1!==l.uiBackCompat&&l.effects[s])?e[n](t):s!==n&&e[s]?e[s](t.duration,t.easing,i):e.queue(function(t){l(this)[n](),i&&i.call(e[0]),t()})}}),!1!==l.uiBackCompat&&(l.Widget.prototype._getCreateOptions=function(){return l.metadata&&l.metadata.get(this.element[0])[this.widgetName]})}(sQuery),function(o){var n=!1;o(document).mouseup(function(t){n=!1}),o.widget("ui.mouse",{version:"1.9.2",options:{cancel:"input,textarea,button,select,option",distance:1,delay:0},_mouseInit:function(){var e=this;this.element.bind("mousedown."+this.widgetName,function(t){return e._mouseDown(t)}).bind("click."+this.widgetName,function(t){if(!0===o.data(t.target,e.widgetName+".preventClickEvent"))return o.removeData(t.target,e.widgetName+".preventClickEvent"),t.stopImmediatePropagation(),!1}),this.started=!1},_mouseDestroy:function(){this.element.unbind("."+this.widgetName),this._mouseMoveDelegate&&o(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(t){if(!n){this._mouseStarted&&this._mouseUp(t),this._mouseDownEvent=t;var e=this,i=1===t.which,s=!("string"!=typeof this.options.cancel||!t.target.nodeName)&&o(t.target).closest(this.options.cancel).length;if(i&&!s&&this._mouseCapture(t)){if(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){e.mouseDelayMet=!0},this.options.delay)),this._mouseDistanceMet(t)&&this._mouseDelayMet(t)&&(this._mouseStarted=!1!==this._mouseStart(t),!this._mouseStarted))return t.preventDefault(),!0;!0===o.data(t.target,this.widgetName+".preventClickEvent")&&o.removeData(t.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(t){return e._mouseMove(t)},this._mouseUpDelegate=function(t){return e._mouseUp(t)},o(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate),t.preventDefault(),n=!0}return!0}},_mouseMove:function(t){return!o.ui.ie||9<=document.documentMode||t.button?this._mouseStarted?(this._mouseDrag(t),t.preventDefault()):(this._mouseDistanceMet(t)&&this._mouseDelayMet(t)&&(this._mouseStarted=!1!==this._mouseStart(this._mouseDownEvent,t),this._mouseStarted?this._mouseDrag(t):this._mouseUp(t)),!this._mouseStarted):this._mouseUp(t)},_mouseUp:function(t){return o(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,t.target===this._mouseDownEvent.target&&o.data(t.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(t)),!1},_mouseDistanceMet:function(t){return Math.max(Math.abs(this._mouseDownEvent.pageX-t.pageX),Math.abs(this._mouseDownEvent.pageY-t.pageY))>=this.options.distance},_mouseDelayMet:function(t){return this.mouseDelayMet},_mouseStart:function(t){},_mouseDrag:function(t){},_mouseStop:function(t){},_mouseCapture:function(t){return!0}})}(sQuery),function(P){P.ui=P.ui||{};var s,o,n,x=Math.max,T=Math.abs,D=Math.round,r=/left|center|right/,a=/top|center|bottom/,l=/[\+\-]\d+%?/,h=/^\w+/,c=/%$/,e=P.fn.position;function W(t,e,i){return[parseInt(t[0],10)*(c.test(t[0])?e/100:1),parseInt(t[1],10)*(c.test(t[1])?i/100:1)]}function N(t,e){return parseInt(P.css(t,e),10)||0}P.position={scrollbarWidth:function(){if(void 0!==s)return s;var t,e=P("<div style='display:block;width:50px;height:50px;overflow:hidden;'><div style='height:100px;width:auto;'></div></div>"),i=e.children()[0];return P("body").append(e),t=i.offsetWidth,e.css("overflow","scroll"),t===(i=i.offsetWidth)&&(i=e[0].clientWidth),e.remove(),s=t-i},getScrollInfo:function(t){var e=t.isWindow?"":t.element.css("overflow-x"),i=t.isWindow?"":t.element.css("overflow-y"),e="scroll"===e||"auto"===e&&t.width<t.element[0].scrollWidth,i="scroll"===i||"auto"===i&&t.height<t.element[0].scrollHeight;return{width:e?P.position.scrollbarWidth():0,height:i?P.position.scrollbarWidth():0}},getWithinInfo:function(t){var t=P(t||window),e=P.isWindow(t[0]);return{element:t,isWindow:e,offset:t.offset()||{left:0,top:0},scrollLeft:t.scrollLeft(),scrollTop:t.scrollTop(),width:e?t.width():t.outerWidth(),height:e?t.height():t.outerHeight()}}},P.fn.position=function(p){if(!p||!p.of)return e.apply(this,arguments);p=P.extend({},p);var f,u,d,g=P(p.of),m=P.position.getWithinInfo(p.within),v=P.position.getScrollInfo(m),t=g[0],b=(p.collision||"flip").split(" "),_={},w=9===t.nodeType?(u=g.width(),d=g.height(),{top:0,left:0}):P.isWindow(t)?(u=g.width(),d=g.height(),{top:g.scrollTop(),left:g.scrollLeft()}):t.preventDefault?(p.at="left top",u=d=0,{top:t.pageY,left:t.pageX}):(u=g.outerWidth(),d=g.outerHeight(),g.offset()),y=P.extend({},w);return P.each(["my","at"],function(){var t,e,i=(p[this]||"").split(" ");(i=1===i.length?r.test(i[0])?i.concat(["center"]):a.test(i[0])?["center"].concat(i):["center","center"]:i)[0]=r.test(i[0])?i[0]:"center",i[1]=a.test(i[1])?i[1]:"center",t=l.exec(i[0]),e=l.exec(i[1]),_[this]=[t?t[0]:0,e?e[0]:0],p[this]=[h.exec(i[0])[0],h.exec(i[1])[0]]}),1===b.length&&(b[1]=b[0]),"right"===p.at[0]?y.left+=u:"center"===p.at[0]&&(y.left+=u/2),"bottom"===p.at[1]?y.top+=d:"center"===p.at[1]&&(y.top+=d/2),f=W(_.at,u,d),y.left+=f[0],y.top+=f[1],this.each(function(){var i,t,r=P(this),a=r.outerWidth(),l=r.outerHeight(),e=N(this,"marginLeft"),s=N(this,"marginTop"),o=a+e+N(this,"marginRight")+v.width,n=l+s+N(this,"marginBottom")+v.height,h=P.extend({},y),c=W(_.my,r.outerWidth(),r.outerHeight());"right"===p.my[0]?h.left-=a:"center"===p.my[0]&&(h.left-=a/2),"bottom"===p.my[1]?h.top-=l:"center"===p.my[1]&&(h.top-=l/2),h.left+=c[0],h.top+=c[1],P.support.offsetFractions||(h.left=D(h.left),h.top=D(h.top)),i={marginLeft:e,marginTop:s},P.each(["left","top"],function(t,e){P.ui.position[b[t]]&&P.ui.position[b[t]][e](h,{targetWidth:u,targetHeight:d,elemWidth:a,elemHeight:l,collisionPosition:i,collisionWidth:o,collisionHeight:n,offset:[f[0]+c[0],f[1]+c[1]],my:p.my,at:p.at,within:m,elem:r})}),P.fn.bgiframe&&r.bgiframe(),p.using&&(t=function(t){var e=w.left-h.left,i=e+u-a,s=w.top-h.top,o=s+d-l,n={target:{element:g,left:w.left,top:w.top,width:u,height:d},element:{element:r,left:h.left,top:h.top,width:a,height:l},horizontal:i<0?"left":0<e?"right":"center",vertical:o<0?"top":0<s?"bottom":"middle"};u<a&&T(e+i)<u&&(n.horizontal="center"),d<l&&T(s+o)<d&&(n.vertical="middle"),x(T(e),T(i))>x(T(s),T(o))?n.important="horizontal":n.important="vertical",p.using.call(this,t,n)}),r.offset(P.extend(h,{using:t}))})},P.ui.position={fit:{left:function(t,e){var i,s=e.within,o=s.isWindow?s.scrollLeft:s.offset.left,s=s.width,n=t.left-e.collisionPosition.marginLeft,r=o-n,a=n+e.collisionWidth-s-o;e.collisionWidth>s?0<r&&a<=0?(i=t.left+r+e.collisionWidth-s-o,t.left+=r-i):t.left=!(0<a&&r<=0)&&a<r?o+s-e.collisionWidth:o:0<r?t.left+=r:0<a?t.left-=a:t.left=x(t.left-n,t.left)},top:function(t,e){var i,s=e.within,s=s.isWindow?s.scrollTop:s.offset.top,o=e.within.height,n=t.top-e.collisionPosition.marginTop,r=s-n,a=n+e.collisionHeight-o-s;e.collisionHeight>o?0<r&&a<=0?(i=t.top+r+e.collisionHeight-o-s,t.top+=r-i):t.top=!(0<a&&r<=0)&&a<r?s+o-e.collisionHeight:s:0<r?t.top+=r:0<a?t.top-=a:t.top=x(t.top-n,t.top)}},flip:{left:function(t,e){var i=e.within,s=i.offset.left+i.scrollLeft,o=i.width,i=i.isWindow?i.scrollLeft:i.offset.left,n=t.left-e.collisionPosition.marginLeft,r=n-i,n=n+e.collisionWidth-o-i,a="left"===e.my[0]?-e.elemWidth:"right"===e.my[0]?e.elemWidth:0,l="left"===e.at[0]?e.targetWidth:"right"===e.at[0]?-e.targetWidth:0,h=-2*e.offset[0];r<0?((o=t.left+a+l+h+e.collisionWidth-o-s)<0||o<T(r))&&(t.left+=a+l+h):0<n&&(0<(s=t.left-e.collisionPosition.marginLeft+a+l+h-i)||T(s)<n)&&(t.left+=a+l+h)},top:function(t,e){var i=e.within,s=i.offset.top+i.scrollTop,o=i.height,i=i.isWindow?i.scrollTop:i.offset.top,n=t.top-e.collisionPosition.marginTop,r=n-i,n=n+e.collisionHeight-o-i,a="top"===e.my[1]?-e.elemHeight:"bottom"===e.my[1]?e.elemHeight:0,l="top"===e.at[1]?e.targetHeight:"bottom"===e.at[1]?-e.targetHeight:0,h=-2*e.offset[1];r<0?(o=t.top+a+l+h+e.collisionHeight-o-s,t.top+a+l+h>r&&(o<0||o<T(r))&&(t.top+=a+l+h)):0<n&&(s=t.top-e.collisionPosition.marginTop+a+l+h-i,t.top+a+l+h>n&&(0<s||T(s)<n)&&(t.top+=a+l+h))}},flipfit:{left:function(){P.ui.position.flip.left.apply(this,arguments),P.ui.position.fit.left.apply(this,arguments)},top:function(){P.ui.position.flip.top.apply(this,arguments),P.ui.position.fit.top.apply(this,arguments)}}};var t,i=document.getElementsByTagName("body")[0],p=document.createElement("div"),f=document.createElement(i?"div":"body"),u={visibility:"hidden",width:0,height:0,border:0,margin:0,background:"none"};for(t in i&&P.extend(u,{position:"absolute",left:"-1000px",top:"-1000px"}),u)f.style[t]=u[t];f.appendChild(p),(i=i||document.documentElement).insertBefore(f,i.firstChild),p.style.cssText="position: absolute; left: 10.7432222px;",p=P(p).offset().left,P.support.offsetFractions=10<p&&p<11,f.innerHTML="",i.removeChild(f),!1!==P.uiBackCompat&&(o=sQuery,n=o.fn.position,o.fn.position=function(t){if(!t||!t.offset)return n.call(this,t);var e=t.offset.split(" "),i=t.at.split(" ");return 1===e.length&&(e[1]=e[0]),/^\d/.test(e[0])&&(e[0]="+"+e[0]),/^\d/.test(e[1])&&(e[1]="+"+e[1]),1===i.length&&(/left|center|right/.test(i[0])?i[1]="center":(i[1]=i[0],i[0]="center")),n.call(this,o.extend(t,{at:i[0]+e[0]+" "+i[1]+e[1],offset:void 0}))})}(sQuery),function(_){_.widget("ui.draggable",_.ui.mouse,{version:"1.9.2",widgetEventPrefix:"drag",options:{addClasses:!0,appendTo:"parent",axis:!1,connectToSortable:!1,containment:!1,cursor:"auto",cursorAt:!1,grid:!1,handle:!1,helper:"original",iframeFix:!1,opacity:!1,refreshPositions:!1,revert:!1,revertDuration:500,scope:"default",scroll:!0,scrollSensitivity:20,scrollSpeed:20,snap:!1,snapMode:"both",snapTolerance:20,stack:!1,zIndex:!1},_create:function(){"original"!=this.options.helper||/^(?:r|a|f)/.test(this.element.css("position"))||(this.element[0].style.position="relative"),this.options.addClasses&&this.element.addClass("ui-draggable"),this.options.disabled&&this.element.addClass("ui-draggable-disabled"),this._mouseInit()},_destroy:function(){this.element.removeClass("ui-draggable ui-draggable-dragging ui-draggable-disabled"),this._mouseDestroy()},_mouseCapture:function(t){var e=this.options;return!(this.helper||e.disabled||_(t.target).is(".ui-resizable-handle"))&&(this.handle=this._getHandle(t),!!this.handle&&(_(!0===e.iframeFix?"iframe":e.iframeFix).each(function(){_('<div class="ui-draggable-iframeFix" style="background: #fff;"></div>').css({width:this.offsetWidth+"px",height:this.offsetHeight+"px",position:"absolute",opacity:"0.001",zIndex:1e3}).css(_(this).offset()).appendTo("body")}),!0))},_mouseStart:function(t){var e=this.options;return this.helper=this._createHelper(t),this.helper.addClass("ui-draggable-dragging"),this._cacheHelperProportions(),_.ui.ddmanager&&(_.ui.ddmanager.current=this),this._cacheMargins(),this.cssPosition=this.helper.css("position"),this.scrollParent=this.helper.scrollParent(),this.offset=this.positionAbs=this.element.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},_.extend(this.offset,{click:{left:t.pageX-this.offset.left,top:t.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()}),this.originalPosition=this.position=this._generatePosition(t),this.originalPageX=t.pageX,this.originalPageY=t.pageY,e.cursorAt&&this._adjustOffsetFromHelper(e.cursorAt),e.containment&&this._setContainment(),!1===this._trigger("start",t)?(this._clear(),!1):(this._cacheHelperProportions(),_.ui.ddmanager&&!e.dropBehaviour&&_.ui.ddmanager.prepareOffsets(this,t),this._mouseDrag(t,!0),_.ui.ddmanager&&_.ui.ddmanager.dragStart(this,t),!0)},_mouseDrag:function(t,e){if(this.position=this._generatePosition(t),this.positionAbs=this._convertPositionTo("absolute"),!e){e=this._uiHash();if(!1===this._trigger("drag",t,e))return this._mouseUp({}),!1;this.position=e.position}return this.options.axis&&"y"==this.options.axis||(this.helper[0].style.left=this.position.left+"px"),this.options.axis&&"x"==this.options.axis||(this.helper[0].style.top=this.position.top+"px"),_.ui.ddmanager&&_.ui.ddmanager.drag(this,t),!1},_mouseStop:function(t){for(var e,i=!1,s=(_.ui.ddmanager&&!this.options.dropBehaviour&&(i=_.ui.ddmanager.drop(this,t)),this.dropped&&(i=this.dropped,this.dropped=!1),this.element[0]),o=!1;s=s&&s.parentNode;)s==document&&(o=!0);return!o&&"original"===this.options.helper||("invalid"==this.options.revert&&!i||"valid"==this.options.revert&&i||!0===this.options.revert||_.isFunction(this.options.revert)&&this.options.revert.call(this.element,i)?_((e=this).helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){!1!==e._trigger("stop",t)&&e._clear()}):!1!==this._trigger("stop",t)&&this._clear()),!1},_mouseUp:function(t){return _("div.ui-draggable-iframeFix").each(function(){this.parentNode.removeChild(this)}),_.ui.ddmanager&&_.ui.ddmanager.dragStop(this,t),_.ui.mouse.prototype._mouseUp.call(this,t)},cancel:function(){return this.helper.is(".ui-draggable-dragging")?this._mouseUp({}):this._clear(),this},_getHandle:function(t){var e=!this.options.handle||!_(this.options.handle,this.element).length;return _(this.options.handle,this.element).find("*").andSelf().each(function(){this==t.target&&(e=!0)}),e},_createHelper:function(t){var e=this.options,t=_.isFunction(e.helper)?_(e.helper.apply(this.element[0],[t])):"clone"==e.helper?this.element.clone().removeAttr("id"):this.element;return t.parents("body").length||t.appendTo("parent"==e.appendTo?this.element[0].parentNode:e.appendTo),t[0]==this.element[0]||/(fixed|absolute)/.test(t.css("position"))||t.css("position","absolute"),t},_adjustOffsetFromHelper:function(t){"string"==typeof t&&(t=t.split(" ")),"left"in(t=_.isArray(t)?{left:+t[0],top:+t[1]||0}:t)&&(this.offset.click.left=t.left+this.margins.left),"right"in t&&(this.offset.click.left=this.helperProportions.width-t.right+this.margins.left),"top"in t&&(this.offset.click.top=t.top+this.margins.top),"bottom"in t&&(this.offset.click.top=this.helperProportions.height-t.bottom+this.margins.top)},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var t=this.offsetParent.offset();return"absolute"==this.cssPosition&&this.scrollParent[0]!=document&&_.contains(this.scrollParent[0],this.offsetParent[0])&&(t.left+=this.scrollParent.scrollLeft(),t.top+=this.scrollParent.scrollTop()),{top:(t=this.offsetParent[0]==document.body||this.offsetParent[0].tagName&&"html"==this.offsetParent[0].tagName.toLowerCase()&&_.ui.ie?{top:0,left:0}:t).top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:t.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){var t;return"relative"==this.cssPosition?{top:(t=this.element.position()).top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:t.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}:{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.element.css("marginLeft"),10)||0,top:parseInt(this.element.css("marginTop"),10)||0,right:parseInt(this.element.css("marginRight"),10)||0,bottom:parseInt(this.element.css("marginBottom"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var t,e,i=this.options;"parent"==i.containment&&(i.containment=this.helper[0].parentNode),"document"!=i.containment&&"window"!=i.containment||(this.containment=["document"==i.containment?0:_(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,"document"==i.containment?0:_(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,("document"==i.containment?0:_(window).scrollLeft())+_("document"==i.containment?document:window).width()-this.helperProportions.width-this.margins.left,("document"==i.containment?0:_(window).scrollTop())+(_("document"==i.containment?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]),/^(document|window|parent)$/.test(i.containment)||i.containment.constructor==Array?i.containment.constructor==Array&&(this.containment=i.containment):(t=(i=_(i.containment))[0])&&(i.offset(),e="hidden"!=_(t).css("overflow"),this.containment=[(parseInt(_(t).css("borderLeftWidth"),10)||0)+(parseInt(_(t).css("paddingLeft"),10)||0),(parseInt(_(t).css("borderTopWidth"),10)||0)+(parseInt(_(t).css("paddingTop"),10)||0),(e?Math.max(t.scrollWidth,t.offsetWidth):t.offsetWidth)-(parseInt(_(t).css("borderLeftWidth"),10)||0)-(parseInt(_(t).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(e?Math.max(t.scrollHeight,t.offsetHeight):t.offsetHeight)-(parseInt(_(t).css("borderTopWidth"),10)||0)-(parseInt(_(t).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom],this.relative_container=i)},_convertPositionTo:function(t,e){e=e||this.position;var t="absolute"==t?1:-1,i=(this.options,"absolute"!=this.cssPosition||this.scrollParent[0]!=document&&_.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent),s=/(html|body)/i.test(i[0].tagName);return{top:e.top+this.offset.relative.top*t+this.offset.parent.top*t-("fixed"==this.cssPosition?-this.scrollParent.scrollTop():s?0:i.scrollTop())*t,left:e.left+this.offset.relative.left*t+this.offset.parent.left*t-("fixed"==this.cssPosition?-this.scrollParent.scrollLeft():s?0:i.scrollLeft())*t}},_generatePosition:function(t){var e,i=this.options,s="absolute"!=this.cssPosition||this.scrollParent[0]!=document&&_.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,o=/(html|body)/i.test(s[0].tagName),n=t.pageX,r=t.pageY;return this.originalPosition&&(this.containment&&(e=this.relative_container?(e=this.relative_container.offset(),[this.containment[0]+e.left,this.containment[1]+e.top,this.containment[2]+e.left,this.containment[3]+e.top]):this.containment,t.pageX-this.offset.click.left<e[0]&&(n=e[0]+this.offset.click.left),t.pageY-this.offset.click.top<e[1]&&(r=e[1]+this.offset.click.top),t.pageX-this.offset.click.left>e[2]&&(n=e[2]+this.offset.click.left),t.pageY-this.offset.click.top>e[3]&&(r=e[3]+this.offset.click.top)),i.grid&&(t=i.grid[1]?this.originalPageY+Math.round((r-this.originalPageY)/i.grid[1])*i.grid[1]:this.originalPageY,r=e&&(t-this.offset.click.top<e[1]||t-this.offset.click.top>e[3])?t-this.offset.click.top<e[1]?t+i.grid[1]:t-i.grid[1]:t,t=i.grid[0]?this.originalPageX+Math.round((n-this.originalPageX)/i.grid[0])*i.grid[0]:this.originalPageX,n=e&&(t-this.offset.click.left<e[0]||t-this.offset.click.left>e[2])?t-this.offset.click.left<e[0]?t+i.grid[0]:t-i.grid[0]:t)),{top:r-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"==this.cssPosition?-this.scrollParent.scrollTop():o?0:s.scrollTop()),left:n-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"==this.cssPosition?-this.scrollParent.scrollLeft():o?0:s.scrollLeft())}},_clear:function(){this.helper.removeClass("ui-draggable-dragging"),this.helper[0]==this.element[0]||this.cancelHelperRemoval||this.helper.remove(),this.helper=null,this.cancelHelperRemoval=!1},_trigger:function(t,e,i){return i=i||this._uiHash(),_.ui.plugin.call(this,t,[e,i]),"drag"==t&&(this.positionAbs=this._convertPositionTo("absolute")),_.Widget.prototype._trigger.call(this,t,e,i)},plugins:{},_uiHash:function(t){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}}),_.ui.plugin.add("draggable","connectToSortable",{start:function(e,t){var i=_(this).data("draggable"),s=i.options,o=_.extend({},t,{item:i.element});i.sortables=[],_(s.connectToSortable).each(function(){var t=_.data(this,"sortable");t&&!t.options.disabled&&(i.sortables.push({instance:t,shouldRevert:t.options.revert}),t.refreshPositions(),t._trigger("activate",e,o))})},stop:function(t,e){var i=_(this).data("draggable"),s=_.extend({},e,{item:i.element});_.each(i.sortables,function(){this.instance.isOver?(this.instance.isOver=0,i.cancelHelperRemoval=!0,this.instance.cancelHelperRemoval=!1,this.shouldRevert&&(this.instance.options.revert=!0),this.instance._mouseStop(t),this.instance.options.helper=this.instance.options._helper,"original"==i.options.helper&&this.instance.currentItem.css({top:"auto",left:"auto"})):(this.instance.cancelHelperRemoval=!1,this.instance._trigger("deactivate",t,s))})},drag:function(s,o){var n=_(this).data("draggable"),r=this;_.each(n.sortables,function(t){var e=!1,i=this;this.instance.positionAbs=n.positionAbs,this.instance.helperProportions=n.helperProportions,this.instance.offset.click=n.offset.click,this.instance._intersectsWith(this.instance.containerCache)&&(e=!0,_.each(n.sortables,function(){return this.instance.positionAbs=n.positionAbs,this.instance.helperProportions=n.helperProportions,this.instance.offset.click=n.offset.click,e=this!=i&&this.instance._intersectsWith(this.instance.containerCache)&&_.ui.contains(i.instance.element[0],this.instance.element[0])?!1:e})),e?(this.instance.isOver||(this.instance.isOver=1,this.instance.currentItem=_(r).clone().removeAttr("id").appendTo(this.instance.element).data("sortable-item",!0),this.instance.options._helper=this.instance.options.helper,this.instance.options.helper=function(){return o.helper[0]},s.target=this.instance.currentItem[0],this.instance._mouseCapture(s,!0),this.instance._mouseStart(s,!0,!0),this.instance.offset.click.top=n.offset.click.top,this.instance.offset.click.left=n.offset.click.left,this.instance.offset.parent.left-=n.offset.parent.left-this.instance.offset.parent.left,this.instance.offset.parent.top-=n.offset.parent.top-this.instance.offset.parent.top,n._trigger("toSortable",s),n.dropped=this.instance.element,n.currentItem=n.element,this.instance.fromOutside=n),this.instance.currentItem&&this.instance._mouseDrag(s)):this.instance.isOver&&(this.instance.isOver=0,this.instance.cancelHelperRemoval=!0,this.instance.options.revert=!1,this.instance._trigger("out",s,this.instance._uiHash(this.instance)),this.instance._mouseStop(s,!0),this.instance.options.helper=this.instance.options._helper,this.instance.currentItem.remove(),this.instance.placeholder&&this.instance.placeholder.remove(),n._trigger("fromSortable",s),n.dropped=!1)})}}),_.ui.plugin.add("draggable","cursor",{start:function(t,e){var i=_("body"),s=_(this).data("draggable").options;i.css("cursor")&&(s._cursor=i.css("cursor")),i.css("cursor",s.cursor)},stop:function(t,e){var i=_(this).data("draggable").options;i._cursor&&_("body").css("cursor",i._cursor)}}),_.ui.plugin.add("draggable","opacity",{start:function(t,e){var e=_(e.helper),i=_(this).data("draggable").options;e.css("opacity")&&(i._opacity=e.css("opacity")),e.css("opacity",i.opacity)},stop:function(t,e){var i=_(this).data("draggable").options;i._opacity&&_(e.helper).css("opacity",i._opacity)}}),_.ui.plugin.add("draggable","scroll",{start:function(t,e){var i=_(this).data("draggable");i.scrollParent[0]!=document&&"HTML"!=i.scrollParent[0].tagName&&(i.overflowOffset=i.scrollParent.offset())},drag:function(t,e){var i=_(this).data("draggable"),s=i.options,o=!1;i.scrollParent[0]!=document&&"HTML"!=i.scrollParent[0].tagName?(s.axis&&"x"==s.axis||(i.overflowOffset.top+i.scrollParent[0].offsetHeight-t.pageY<s.scrollSensitivity?i.scrollParent[0].scrollTop=o=i.scrollParent[0].scrollTop+s.scrollSpeed:t.pageY-i.overflowOffset.top<s.scrollSensitivity&&(i.scrollParent[0].scrollTop=o=i.scrollParent[0].scrollTop-s.scrollSpeed)),s.axis&&"y"==s.axis||(i.overflowOffset.left+i.scrollParent[0].offsetWidth-t.pageX<s.scrollSensitivity?i.scrollParent[0].scrollLeft=o=i.scrollParent[0].scrollLeft+s.scrollSpeed:t.pageX-i.overflowOffset.left<s.scrollSensitivity&&(i.scrollParent[0].scrollLeft=o=i.scrollParent[0].scrollLeft-s.scrollSpeed))):(s.axis&&"x"==s.axis||(t.pageY-_(document).scrollTop()<s.scrollSensitivity?o=_(document).scrollTop(_(document).scrollTop()-s.scrollSpeed):_(window).height()-(t.pageY-_(document).scrollTop())<s.scrollSensitivity&&(o=_(document).scrollTop(_(document).scrollTop()+s.scrollSpeed))),s.axis&&"y"==s.axis||(t.pageX-_(document).scrollLeft()<s.scrollSensitivity?o=_(document).scrollLeft(_(document).scrollLeft()-s.scrollSpeed):_(window).width()-(t.pageX-_(document).scrollLeft())<s.scrollSensitivity&&(o=_(document).scrollLeft(_(document).scrollLeft()+s.scrollSpeed)))),!1!==o&&_.ui.ddmanager&&!s.dropBehaviour&&_.ui.ddmanager.prepareOffsets(i,t)}}),_.ui.plugin.add("draggable","snap",{start:function(t,e){var i=_(this).data("draggable"),s=i.options;i.snapElements=[],_(s.snap.constructor!=String?s.snap.items||":data(draggable)":s.snap).each(function(){var t=_(this),e=t.offset();this!=i.element[0]&&i.snapElements.push({item:this,width:t.outerWidth(),height:t.outerHeight(),top:e.top,left:e.left})})},drag:function(t,e){for(var i=_(this).data("draggable"),s=i.options,o=s.snapTolerance,n=e.offset.left,r=n+i.helperProportions.width,a=e.offset.top,l=a+i.helperProportions.height,h=i.snapElements.length-1;0<=h;h--){var c,p,f,u,d,g=i.snapElements[h].left,m=g+i.snapElements[h].width,v=i.snapElements[h].top,b=v+i.snapElements[h].height;g-o<n&&n<m+o&&v-o<a&&a<b+o||g-o<n&&n<m+o&&v-o<l&&l<b+o||g-o<r&&r<m+o&&v-o<a&&a<b+o||g-o<r&&r<m+o&&v-o<l&&l<b+o?(c=("inner"!=s.snapMode&&(p=Math.abs(v-l)<=o,f=Math.abs(b-a)<=o,u=Math.abs(g-r)<=o,d=Math.abs(m-n)<=o,p&&(e.position.top=i._convertPositionTo("relative",{top:v-i.helperProportions.height,left:0}).top-i.margins.top),f&&(e.position.top=i._convertPositionTo("relative",{top:b,left:0}).top-i.margins.top),u&&(e.position.left=i._convertPositionTo("relative",{top:0,left:g-i.helperProportions.width}).left-i.margins.left),d&&(e.position.left=i._convertPositionTo("relative",{top:0,left:m}).left-i.margins.left)),p||f||u||d),"outer"!=s.snapMode&&(p=Math.abs(v-a)<=o,f=Math.abs(b-l)<=o,u=Math.abs(g-n)<=o,d=Math.abs(m-r)<=o,p&&(e.position.top=i._convertPositionTo("relative",{top:v,left:0}).top-i.margins.top),f&&(e.position.top=i._convertPositionTo("relative",{top:b-i.helperProportions.height,left:0}).top-i.margins.top),u&&(e.position.left=i._convertPositionTo("relative",{top:0,left:g}).left-i.margins.left),d&&(e.position.left=i._convertPositionTo("relative",{top:0,left:m-i.helperProportions.width}).left-i.margins.left)),!i.snapElements[h].snapping&&(p||f||u||d||c)&&i.options.snap.snap&&i.options.snap.snap.call(i.element,t,_.extend(i._uiHash(),{snapItem:i.snapElements[h].item})),i.snapElements[h].snapping=p||f||u||d||c):(i.snapElements[h].snapping&&i.options.snap.release&&i.options.snap.release.call(i.element,t,_.extend(i._uiHash(),{snapItem:i.snapElements[h].item})),i.snapElements[h].snapping=!1)}}}),_.ui.plugin.add("draggable","stack",{start:function(t,e){var i,s=_(this).data("draggable").options,s=_.makeArray(_(s.stack)).sort(function(t,e){return(parseInt(_(t).css("zIndex"),10)||0)-(parseInt(_(e).css("zIndex"),10)||0)});s.length&&(i=parseInt(s[0].style.zIndex)||0,_(s).each(function(t){this.style.zIndex=i+t}),this[0].style.zIndex=i+s.length)}}),_.ui.plugin.add("draggable","zIndex",{start:function(t,e){var e=_(e.helper),i=_(this).data("draggable").options;e.css("zIndex")&&(i._zIndex=e.css("zIndex")),e.css("zIndex",i.zIndex)},stop:function(t,e){var i=_(this).data("draggable").options;i._zIndex&&_(e.helper).css("zIndex",i._zIndex)}})}(sQuery);
languages/shareaholic.pot CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the Shareaholic - Easily Grow and Engage Your Audience plugin.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Shareaholic - Easily Grow and Engage Your Audience 9.7.5\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/shareaholic\n"
7
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
8
  "Language-Team: LANGUAGE <LL@li.org>\n"
2
  # This file is distributed under the same license as the Shareaholic - Easily Grow and Engage Your Audience plugin.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Shareaholic - Easily Grow and Engage Your Audience 9.7.6\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/shareaholic\n"
7
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
8
  "Language-Team: LANGUAGE <LL@li.org>\n"
public.php CHANGED
@@ -627,7 +627,7 @@ class ShareaholicPublic {
627
  // Check for valid secret verification key.
628
  if (!( $get_verification_key == ShareaholicUtilities::get_option( 'verification_key' ) )) {
629
  // If no verification key, check for valid WP auth.
630
- if (!current_user_can( 'publish_posts' )) {
631
  exit;
632
  }
633
  }
627
  // Check for valid secret verification key.
628
  if (!( $get_verification_key == ShareaholicUtilities::get_option( 'verification_key' ) )) {
629
  // If no verification key, check for valid WP auth.
630
+ if (!current_user_can( 'manage_options' )) {
631
  exit;
632
  }
633
  }
readme.txt CHANGED
@@ -2,9 +2,9 @@
2
  Contributors: shareaholic
3
  Tags: social, social sharing, google analytics, pinterest, twitter, share buttons, content, woocommerce, typepad, amazon, analytics, arto, baidu, bitly, blogger, buffer, cookie compliance, cookie consent, delicious, digg, diigo, disqus, email button, evernote, facebook, facebook sharing, fancy, fark, feedly, flipboard, floated share buttons, floating share buttons, follow buttons, GDPR, gmail, google bookmarks, google classroom, hootsuite, houzz, instagram, instagram sharing, instapaper, kik, kindle, line, linkedin, livejournal, meneame, mix, mixi, TikTok, odnoklassniki, box.net, onenote, pinboard.in, pinterest, pinterest sharing, parler, plurk, pocket, printfriendly, recommendations, reddit, sexybookmarks, share buttons, share image, shareaholic, shareholic, sms, social bookmarking, social media, social plugin, social share buttons, spotify, stumbleupon, stumpedia, symphony, tinyurl, tumblr, twitter, viadeo, vk, wanelo, wechat, weheartit, weibo, whatsapp, wykop, xing, yahoo, yammer, ycombinator, hacker news, youtube, yummly, zillow
4
  Requires at least: 3.7
5
- Tested up to: 5.9
6
  Requires PHP: 5.3
7
- Stable tag: 9.7.5
8
 
9
  Boost Audience Engagement with Award Winning Speed Optimized Social Tools: Share Buttons, Related Posts, Monetization & Google Analytics.
10
 
@@ -355,6 +355,10 @@ The default Shareaholic thumbnail width is 640px with dynamic height and no crop
355
  Each time you change Shareaholic's thumbnail dimensions like this, you will probably want to have WordPress regenerate appropriate sized thumbnails for all of your images. We highly recommend the [Regenerate Thumbnails](https://wordpress.org/plugins/regenerate-thumbnails/) plugin for this purpose.
356
 
357
  == Changelog ==
 
 
 
 
358
  = 9.7.5 (01-April-2022) =
359
  * Bugfix: Adds authorization check to debug action
360
 
@@ -1196,7 +1200,7 @@ Wishing you a very Happy New Year from our family to yours! 🎉
1196
  * Show Related Posts data status
1197
 
1198
  == Upgrade Notice ==
1199
- = 9.7.5 =
1200
  We update the Shareaholic plugin regularly to make it better for you. Update to the latest version for all available features and improvements. Thank you for using Shareaholic!
1201
 
1202
  = 8.12.1 =
2
  Contributors: shareaholic
3
  Tags: social, social sharing, google analytics, pinterest, twitter, share buttons, content, woocommerce, typepad, amazon, analytics, arto, baidu, bitly, blogger, buffer, cookie compliance, cookie consent, delicious, digg, diigo, disqus, email button, evernote, facebook, facebook sharing, fancy, fark, feedly, flipboard, floated share buttons, floating share buttons, follow buttons, GDPR, gmail, google bookmarks, google classroom, hootsuite, houzz, instagram, instagram sharing, instapaper, kik, kindle, line, linkedin, livejournal, meneame, mix, mixi, TikTok, odnoklassniki, box.net, onenote, pinboard.in, pinterest, pinterest sharing, parler, plurk, pocket, printfriendly, recommendations, reddit, sexybookmarks, share buttons, share image, shareaholic, shareholic, sms, social bookmarking, social media, social plugin, social share buttons, spotify, stumbleupon, stumpedia, symphony, tinyurl, tumblr, twitter, viadeo, vk, wanelo, wechat, weheartit, weibo, whatsapp, wykop, xing, yahoo, yammer, ycombinator, hacker news, youtube, yummly, zillow
4
  Requires at least: 3.7
5
+ Tested up to: 6.0
6
  Requires PHP: 5.3
7
+ Stable tag: 9.7.6
8
 
9
  Boost Audience Engagement with Award Winning Speed Optimized Social Tools: Share Buttons, Related Posts, Monetization & Google Analytics.
10
 
355
  Each time you change Shareaholic's thumbnail dimensions like this, you will probably want to have WordPress regenerate appropriate sized thumbnails for all of your images. We highly recommend the [Regenerate Thumbnails](https://wordpress.org/plugins/regenerate-thumbnails/) plugin for this purpose.
356
 
357
  == Changelog ==
358
+ = 9.7.6 (04-July-2022) =
359
+ * Tested up to WordPress 6.0
360
+ * Bugfix: Adds more restrictive authorization check to debug action
361
+
362
  = 9.7.5 (01-April-2022) =
363
  * Bugfix: Adds authorization check to debug action
364
 
1200
  * Show Related Posts data status
1201
 
1202
  == Upgrade Notice ==
1203
+ = 9.7.6 =
1204
  We update the Shareaholic plugin regularly to make it better for you. Update to the latest version for all available features and improvements. Thank you for using Shareaholic!
1205
 
1206
  = 8.12.1 =
shareaholic.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Shareaholic - Easily Grow and Engage Your Audience
4
  Plugin URI: https://www.shareaholic.com/website-tools/
5
  Description: Shareaholic's official WordPress plugin allows you to add Award-Winning and Professional Social Share Buttons, Related Posts, Content Analytics, Ad Monetization, and more to your website.
6
- Version: 9.7.5
7
  Author: Shareaholic
8
  Author URI: https://www.shareaholic.com
9
  Text Domain: shareaholic
@@ -14,7 +14,7 @@ Domain Path: /languages
14
  * The main file!
15
  *
16
  * @package shareaholic
17
- * @version 9.7.5
18
  */
19
 
20
  /**
@@ -67,7 +67,7 @@ if ( ! class_exists( 'Shareaholic' ) ) {
67
  const API_URL = 'https://web.shareaholic.com'; // uses static IPs for firewall whitelisting
68
  const CM_API_URL = 'https://cm-web.shareaholic.com'; // uses static IPs for firewall whitelisting
69
 
70
- const VERSION = '9.7.5';
71
 
72
  /**
73
  * Starts off as false so that ::get_instance() returns
3
  Plugin Name: Shareaholic - Easily Grow and Engage Your Audience
4
  Plugin URI: https://www.shareaholic.com/website-tools/
5
  Description: Shareaholic's official WordPress plugin allows you to add Award-Winning and Professional Social Share Buttons, Related Posts, Content Analytics, Ad Monetization, and more to your website.
6
+ Version: 9.7.6
7
  Author: Shareaholic
8
  Author URI: https://www.shareaholic.com
9
  Text Domain: shareaholic
14
  * The main file!
15
  *
16
  * @package shareaholic
17
+ * @version 9.7.6
18
  */
19
 
20
  /**
67
  const API_URL = 'https://web.shareaholic.com'; // uses static IPs for firewall whitelisting
68
  const CM_API_URL = 'https://cm-web.shareaholic.com'; // uses static IPs for firewall whitelisting
69
 
70
+ const VERSION = '9.7.6';
71
 
72
  /**
73
  * Starts off as false so that ::get_instance() returns