1?function(t,n,o){for(var r=e.length;r--;)if(!e[r](t,n,o))return!1;return!0}:e[0]}function ge(e,t,n,o,r){for(var p,b=[],c=0,i=e.length,a=null!=t;c-1&&(p[a]=!(b[a]=z))}}else f=ge(f===b?f.splice(s,f.length):f),r?r(null,b,f,i):E.apply(b,f)}))}function me(e){for(var t,n,r,p=e.length,b=o.relative[e[0].type],c=b||o.relative[" "],i=b?1:0,M=he((function(e){return e===t}),c,!0),z=he((function(e){return S(t,e)>-1}),c,!0),u=[function(e,n,o){var r=!b&&(o||n!==a)||((t=n).nodeType?M(e,n,o):z(e,n,o));return t=null,r}];i1&&We(u),i>1&&qe(e.slice(0,i-1).concat({value:" "===e[i-2].type?"*":""})).replace(I,"$1"),n,i0,r=e.length>0,p=function(p,b,c,i,M){var z,s,d,f=0,A="0",q=p&&[],h=[],W=a,v=p||r&&o.find.TAG("*",M),m=g+=null==W?1:Math.random()||.1,R=v.length;for(M&&(a=b==O||b||M);A!==R&&null!=(z=v[A]);A++){if(r&&z){for(s=0,b||z.ownerDocument==O||(u(z),c=!l);d=e[s++];)if(d(z,b||O,c)){i.push(z);break}M&&(g=m)}n&&((z=!d&&z)&&f--,p&&q.push(z))}if(f+=A,n&&A!==f){for(s=0;d=t[s++];)d(q,h,b,c);if(p){if(f>0)for(;A--;)q[A]||h[A]||(h[A]=w.call(i));h=ge(h)}E.apply(i,h),M&&!p&&h.length>0&&f+t.length>1&&ce.uniqueSort(i)}return M&&(g=m,a=W),q};return n?ae(p):p}(p,r)),c.selector=e}return c},i=ce.select=function(e,t,n,r){var p,i,a,M,z,u="function"===typeof e&&e,O=!r&&b(e=u.selector||e);if(n=n||[],1===O.length){if((i=O[0]=O[0].slice(0)).length>2&&"ID"===(a=i[0]).type&&9===t.nodeType&&l&&o.relative[i[1].type]){if(!(t=(o.find.ID(a.matches[0].replace(te,ne),t)||[])[0]))return n;u&&(t=t.parentNode),e=e.slice(i.shift().value.length)}for(p=G.needsContext.test(e)?0:i.length;p--&&(a=i[p],!o.relative[M=a.type]);)if((z=o.find[M])&&(r=z(a.matches[0].replace(te,ne),ee.test(i[0].type)&&fe(t.parentNode)||t))){if(i.splice(p,1),!(e=r.length&&qe(i)))return E.apply(n,r),n;break}}return(u||c(e,O))(r,t,!l,n,!t||ee.test(e)&&fe(t.parentNode)||t),n},n.sortStable=h.split("").sort(B).join("")===h,n.detectDuplicates=!!z,u(),n.sortDetached=Me((function(e){return 1&e.compareDocumentPosition(O.createElement("fieldset"))})),Me((function(e){return e.innerHTML="","#"===e.firstChild.getAttribute("href")}))||ze("type|href|height|width",(function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)})),n.attributes&&Me((function(e){return e.innerHTML="",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")}))||ze("value",(function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue})),Me((function(e){return null==e.getAttribute("disabled")}))||ze(T,(function(e,t,n){var o;if(!n)return!0===e[t]?t.toLowerCase():(o=e.getAttributeNode(t))&&o.specified?o.value:null})),ce}(o);m.find=y,m.expr=y.selectors,m.expr[":"]=m.expr.pseudos,m.uniqueSort=m.unique=y.uniqueSort,m.text=y.getText,m.isXMLDoc=y.isXML,m.contains=y.contains,m.escapeSelector=y.escape;var L=function(e,t,n){for(var o=[],r=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(r&&m(e).is(n))break;o.push(e)}return o},B=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},C=m.expr.match.needsContext;function N(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var w=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function D(e,t,n){return f(t)?m.grep(e,(function(e,o){return!!t.call(e,o,e)!==n})):t.nodeType?m.grep(e,(function(e){return e===t!==n})):"string"!==typeof t?m.grep(e,(function(e){return M.call(t,e)>-1!==n})):m.filter(t,e,n)}m.filter=function(e,t,n){var o=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===o.nodeType?m.find.matchesSelector(o,e)?[o]:[]:m.find.matches(e,m.grep(t,(function(e){return 1===e.nodeType})))},m.fn.extend({find:function(e){var t,n,o=this.length,r=this;if("string"!==typeof e)return this.pushStack(m(e).filter((function(){for(t=0;t1?m.uniqueSort(n):n},filter:function(e){return this.pushStack(D(this,e||[],!1))},not:function(e){return this.pushStack(D(this,e||[],!0))},is:function(e){return!!D(this,"string"===typeof e&&C.test(e)?m(e):e||[],!1).length}});var E,x=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(m.fn.init=function(e,t,n){var o,r;if(!e)return this;if(n=n||E,"string"===typeof e){if(!(o="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:x.exec(e))||!o[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(o[1]){if(t=t instanceof m?t[0]:t,m.merge(this,m.parseHTML(o[1],t&&t.nodeType?t.ownerDocument||t:q,!0)),w.test(o[1])&&m.isPlainObject(t))for(o in t)f(this[o])?this[o](t[o]):this.attr(o,t[o]);return this}return(r=q.getElementById(o[2]))&&(this[0]=r,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):f(e)?void 0!==n.ready?n.ready(e):e(m):m.makeArray(e,this)}).prototype=m.fn,E=m(q);var S=/^(?:parents|prev(?:Until|All))/,T={children:!0,contents:!0,next:!0,prev:!0};function X(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}m.fn.extend({has:function(e){var t=m(e,this),n=t.length;return this.filter((function(){for(var e=0;e-1:1===n.nodeType&&m.find.matchesSelector(n,e))){p.push(n);break}return this.pushStack(p.length>1?m.uniqueSort(p):p)},index:function(e){return e?"string"===typeof e?M.call(m(e),this[0]):M.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(m.uniqueSort(m.merge(this.get(),m(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),m.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return L(e,"parentNode")},parentsUntil:function(e,t,n){return L(e,"parentNode",n)},next:function(e){return X(e,"nextSibling")},prev:function(e){return X(e,"previousSibling")},nextAll:function(e){return L(e,"nextSibling")},prevAll:function(e){return L(e,"previousSibling")},nextUntil:function(e,t,n){return L(e,"nextSibling",n)},prevUntil:function(e,t,n){return L(e,"previousSibling",n)},siblings:function(e){return B((e.parentNode||{}).firstChild,e)},children:function(e){return B(e.firstChild)},contents:function(e){return null!=e.contentDocument&&b(e.contentDocument)?e.contentDocument:(N(e,"template")&&(e=e.content||e),m.merge([],e.childNodes))}},(function(e,t){m.fn[e]=function(n,o){var r=m.map(this,t,n);return"Until"!==e.slice(-5)&&(o=n),o&&"string"===typeof o&&(r=m.filter(o,r)),this.length>1&&(T[e]||m.uniqueSort(r),S.test(e)&&r.reverse()),this.pushStack(r)}}));var k=/[^\x20\t\r\n\f]+/g;function F(e){return e}function P(e){throw e}function _(e,t,n,o){var r;try{e&&f(r=e.promise)?r.call(e).done(t).fail(n):e&&f(r=e.then)?r.call(e,t,n):t.apply(void 0,[e].slice(o))}catch(e){n.apply(void 0,[e])}}m.Callbacks=function(e){e="string"===typeof e?function(e){var t={};return m.each(e.match(k)||[],(function(e,n){t[n]=!0})),t}(e):m.extend({},e);var t,n,o,r,p=[],b=[],c=-1,i=function(){for(r=r||e.once,o=t=!0;b.length;c=-1)for(n=b.shift();++c-1;)p.splice(n,1),n<=c&&c--})),this},has:function(e){return e?m.inArray(e,p)>-1:p.length>0},empty:function(){return p&&(p=[]),this},disable:function(){return r=b=[],p=n="",this},disabled:function(){return!p},lock:function(){return r=b=[],n||t||(p=n=""),this},locked:function(){return!!r},fireWith:function(e,n){return r||(n=[e,(n=n||[]).slice?n.slice():n],b.push(n),t||i()),this},fire:function(){return a.fireWith(this,arguments),this},fired:function(){return!!o}};return a},m.extend({Deferred:function(e){var t=[["notify","progress",m.Callbacks("memory"),m.Callbacks("memory"),2],["resolve","done",m.Callbacks("once memory"),m.Callbacks("once memory"),0,"resolved"],["reject","fail",m.Callbacks("once memory"),m.Callbacks("once memory"),1,"rejected"]],n="pending",r={state:function(){return n},always:function(){return p.done(arguments).fail(arguments),this},catch:function(e){return r.then(null,e)},pipe:function(){var e=arguments;return m.Deferred((function(n){m.each(t,(function(t,o){var r=f(e[o[4]])&&e[o[4]];p[o[1]]((function(){var e=r&&r.apply(this,arguments);e&&f(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[o[0]+"With"](this,r?[e]:arguments)}))})),e=null})).promise()},then:function(e,n,r){var p=0;function b(e,t,n,r){return function(){var c=this,i=arguments,a=function(){var o,a;if(!(e=p&&(n!==P&&(c=void 0,i=[o]),t.rejectWith(c,i))}};e?M():(m.Deferred.getStackHook&&(M.stackTrace=m.Deferred.getStackHook()),o.setTimeout(M))}}return m.Deferred((function(o){t[0][3].add(b(0,o,f(r)?r:F,o.notifyWith)),t[1][3].add(b(0,o,f(e)?e:F)),t[2][3].add(b(0,o,f(n)?n:P))})).promise()},promise:function(e){return null!=e?m.extend(e,r):r}},p={};return m.each(t,(function(e,o){var b=o[2],c=o[5];r[o[1]]=b.add,c&&b.add((function(){n=c}),t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),b.add(o[3].fire),p[o[0]]=function(){return p[o[0]+"With"](this===p?void 0:this,arguments),this},p[o[0]+"With"]=b.fireWith})),r.promise(p),e&&e.call(p,p),p},when:function(e){var t=arguments.length,n=t,o=Array(n),r=c.call(arguments),p=m.Deferred(),b=function(e){return function(n){o[e]=this,r[e]=arguments.length>1?c.call(arguments):n,--t||p.resolveWith(o,r)}};if(t<=1&&(_(e,p.done(b(n)).resolve,p.reject,!t),"pending"===p.state()||f(r[n]&&r[n].then)))return p.then();for(;n--;)_(r[n],b(n),p.reject);return p.promise()}});var I=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;m.Deferred.exceptionHook=function(e,t){o.console&&o.console.warn&&e&&I.test(e.name)&&o.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},m.readyException=function(e){o.setTimeout((function(){throw e}))};var j=m.Deferred();function Z(){q.removeEventListener("DOMContentLoaded",Z),o.removeEventListener("load",Z),m.ready()}m.fn.ready=function(e){return j.then(e).catch((function(e){m.readyException(e)})),this},m.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--m.readyWait:m.isReady)||(m.isReady=!0,!0!==e&&--m.readyWait>0||j.resolveWith(q,[m]))}}),m.ready.then=j.then,"complete"===q.readyState||"loading"!==q.readyState&&!q.documentElement.doScroll?o.setTimeout(m.ready):(q.addEventListener("DOMContentLoaded",Z),o.addEventListener("load",Z));var H=function e(t,n,o,r,p,b,c){var i=0,a=t.length,M=null==o;if("object"===g(o))for(i in p=!0,o)e(t,n,i,o[i],!0,b,c);else if(void 0!==r&&(p=!0,f(r)||(c=!0),M&&(c?(n.call(t,r),n=null):(M=n,n=function(e,t,n){return M.call(m(e),n)})),n))for(;i1,null,!0)},removeData:function(e){return this.each((function(){Q.remove(this,e)}))}}),m.extend({queue:function(e,t,n){var o;if(e)return t=(t||"fx")+"queue",o=J.get(e,t),n&&(!o||Array.isArray(n)?o=J.access(e,t,m.makeArray(n)):o.push(n)),o||[]},dequeue:function(e,t){t=t||"fx";var n=m.queue(e,t),o=n.length,r=n.shift(),p=m._queueHooks(e,t);"inprogress"===r&&(r=n.shift(),o--),r&&("fx"===t&&n.unshift("inprogress"),delete p.stop,r.call(e,(function(){m.dequeue(e,t)}),p)),!o&&p&&p.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return J.get(e,n)||J.access(e,n,{empty:m.Callbacks("once memory").add((function(){J.remove(e,[t+"queue",n])}))})}}),m.fn.extend({queue:function(e,t){var n=2;return"string"!==typeof e&&(t=e,e="fx",n--),arguments.length\x20\t\r\n\f]*)/i,de=/^$|^module$|\/(?:java|ecma)script/i;!function(){var e=q.createDocumentFragment().appendChild(q.createElement("div")),t=q.createElement("input");t.setAttribute("type","radio"),t.setAttribute("checked","checked"),t.setAttribute("name","t"),e.appendChild(t),d.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,e.innerHTML="",d.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue,e.innerHTML="",d.option=!!e.lastChild}();var fe={thead:[1,""],col:[2,""],tr:[2,""],td:[3,""],_default:[0,"",""]};function Ae(e,t){var n;return n="undefined"!==typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!==typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&N(e,t)?m.merge([e],n):n}function qe(e,t){for(var n=0,o=e.length;n",""]);var he=/<|?\w+;/;function We(e,t,n,o,r){for(var p,b,c,i,a,M,z=t.createDocumentFragment(),u=[],O=0,s=e.length;O-1)r&&r.push(p);else if(a=ce(p),b=Ae(z.appendChild(p),"script"),a&&qe(b),n)for(M=0;p=b[M++];)de.test(p.type||"")&&n.push(p);return z}var ge=/^([^.]*)(?:\.(.+)|)/;function ve(){return!0}function me(){return!1}function Re(e,t){return e===function(){try{return q.activeElement}catch(e){}}()===("focus"===t)}function ye(e,t,n,o,r,p){var b,c;if("object"===typeof t){for(c in"string"!==typeof n&&(o=o||n,n=void 0),t)ye(e,c,n,o,t[c],p);return e}if(null==o&&null==r?(r=n,o=n=void 0):null==r&&("string"===typeof n?(r=o,o=void 0):(r=o,o=n,n=void 0)),!1===r)r=me;else if(!r)return e;return 1===p&&(b=r,r=function(e){return m().off(e),b.apply(this,arguments)},r.guid=b.guid||(b.guid=m.guid++)),e.each((function(){m.event.add(this,t,r,o,n)}))}function Le(e,t,n){n?(J.set(e,t,!1),m.event.add(e,t,{namespace:!1,handler:function(e){var o,r,p=J.get(this,t);if(1&e.isTrigger&&this[t]){if(p.length)(m.event.special[t]||{}).delegateType&&e.stopPropagation();else if(p=c.call(arguments),J.set(this,t,p),o=n(this,t),this[t](),p!==(r=J.get(this,t))||o?J.set(this,t,!1):r={},p!==r)return e.stopImmediatePropagation(),e.preventDefault(),r&&r.value}else p.length&&(J.set(this,t,{value:m.event.trigger(m.extend(p[0],m.Event.prototype),p.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===J.get(e,t)&&m.event.add(e,t,ve)}m.event={global:{},add:function(e,t,n,o,r){var p,b,c,i,a,M,z,u,O,s,l,d=J.get(e);if(Y(e))for(n.handler&&(n=(p=n).handler,r=p.selector),r&&m.find.matchesSelector(be,r),n.guid||(n.guid=m.guid++),(i=d.events)||(i=d.events=Object.create(null)),(b=d.handle)||(b=d.handle=function(t){return"undefined"!==typeof m&&m.event.triggered!==t.type?m.event.dispatch.apply(e,arguments):void 0}),a=(t=(t||"").match(k)||[""]).length;a--;)O=l=(c=ge.exec(t[a])||[])[1],s=(c[2]||"").split(".").sort(),O&&(z=m.event.special[O]||{},O=(r?z.delegateType:z.bindType)||O,z=m.event.special[O]||{},M=m.extend({type:O,origType:l,data:o,handler:n,guid:n.guid,selector:r,needsContext:r&&m.expr.match.needsContext.test(r),namespace:s.join(".")},p),(u=i[O])||((u=i[O]=[]).delegateCount=0,z.setup&&!1!==z.setup.call(e,o,s,b)||e.addEventListener&&e.addEventListener(O,b)),z.add&&(z.add.call(e,M),M.handler.guid||(M.handler.guid=n.guid)),r?u.splice(u.delegateCount++,0,M):u.push(M),m.event.global[O]=!0)},remove:function(e,t,n,o,r){var p,b,c,i,a,M,z,u,O,s,l,d=J.hasData(e)&&J.get(e);if(d&&(i=d.events)){for(a=(t=(t||"").match(k)||[""]).length;a--;)if(O=l=(c=ge.exec(t[a])||[])[1],s=(c[2]||"").split(".").sort(),O){for(z=m.event.special[O]||{},u=i[O=(o?z.delegateType:z.bindType)||O]||[],c=c[2]&&new RegExp("(^|\\.)"+s.join("\\.(?:.*\\.|)")+"(\\.|$)"),b=p=u.length;p--;)M=u[p],!r&&l!==M.origType||n&&n.guid!==M.guid||c&&!c.test(M.namespace)||o&&o!==M.selector&&("**"!==o||!M.selector)||(u.splice(p,1),M.selector&&u.delegateCount--,z.remove&&z.remove.call(e,M));b&&!u.length&&(z.teardown&&!1!==z.teardown.call(e,s,d.handle)||m.removeEvent(e,O,d.handle),delete i[O])}else for(O in i)m.event.remove(e,O+t[a],n,o,!0);m.isEmptyObject(i)&&J.remove(e,"handle events")}},dispatch:function(e){var t,n,o,r,p,b,c=new Array(arguments.length),i=m.event.fix(e),a=(J.get(this,"events")||Object.create(null))[i.type]||[],M=m.event.special[i.type]||{};for(c[0]=i,t=1;t=1))for(;a!==this;a=a.parentNode||this)if(1===a.nodeType&&("click"!==e.type||!0!==a.disabled)){for(p=[],b={},n=0;n-1:m.find(r,this,null,[a]).length),b[r]&&p.push(o);p.length&&c.push({elem:a,handlers:p})}return a=this,i\s*$/g;function we(e,t){return N(e,"table")&&N(11!==t.nodeType?t:t.firstChild,"tr")&&m(e).children("tbody")[0]||e}function De(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Ee(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function xe(e,t){var n,o,r,p,b,c;if(1===t.nodeType){if(J.hasData(e)&&(c=J.get(e).events))for(r in J.remove(t,"handle events"),c)for(n=0,o=c[r].length;n1&&"string"===typeof s&&!d.checkClone&&Ce.test(s))return e.each((function(r){var p=e.eq(r);l&&(t[0]=s.call(this,r,p.html())),Te(p,t,n,o)}));if(u&&(p=(r=We(t,e[0].ownerDocument,!1,e,o)).firstChild,1===r.childNodes.length&&(r=p),p||o)){for(c=(b=m.map(Ae(r,"script"),De)).length;z0&&qe(b,!i&&Ae(e,"script")),c},cleanData:function(e){for(var t,n,o,r=m.event.special,p=0;void 0!==(n=e[p]);p++)if(Y(n)){if(t=n[J.expando]){if(t.events)for(o in t.events)r[o]?m.event.remove(n,o):m.removeEvent(n,o,t.handle);n[J.expando]=void 0}n[Q.expando]&&(n[Q.expando]=void 0)}}}),m.fn.extend({detach:function(e){return Xe(this,e,!0)},remove:function(e){return Xe(this,e)},text:function(e){return H(this,(function(e){return void 0===e?m.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)}))}),null,e,arguments.length)},append:function(){return Te(this,arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||we(this,e).appendChild(e)}))},prepend:function(){return Te(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=we(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return Te(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return Te(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)}))},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(m.cleanData(Ae(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return m.clone(this,e,t)}))},html:function(e){return H(this,(function(e){var t=this[0]||{},n=0,o=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"===typeof e&&!Be.test(e)&&!fe[(le.exec(e)||["",""])[1].toLowerCase()]){e=m.htmlPrefilter(e);try{for(;n=0&&(i+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-p-i-c-.5))||0),i}function nt(e,t,n){var o=Pe(e),r=(!d.boxSizingReliable()||n)&&"border-box"===m.css(e,"boxSizing",!1,o),p=r,b=He(e,t,o),c="offset"+t[0].toUpperCase()+t.slice(1);if(ke.test(b)){if(!n)return b;b="auto"}return(!d.boxSizingReliable()&&r||!d.reliableTrDimensions()&&N(e,"tr")||"auto"===b||!parseFloat(b)&&"inline"===m.css(e,"display",!1,o))&&e.getClientRects().length&&(r="border-box"===m.css(e,"boxSizing",!1,o),(p=c in e)&&(b=e[c])),(b=parseFloat(b)||0)+tt(e,t,n||(r?"border":"content"),p,o,b)+"px"}function ot(e,t,n,o,r){return new ot.prototype.init(e,t,n,o,r)}m.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=He(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,o){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var r,p,b,c=K(t),i=Fe.test(t),a=e.style;if(i||(t=Ye(c)),b=m.cssHooks[t]||m.cssHooks[c],void 0===n)return b&&"get"in b&&void 0!==(r=b.get(e,!1,o))?r:a[t];"string"===(p=typeof n)&&(r=re.exec(n))&&r[1]&&(n=Me(e,t,r),p="number"),null!=n&&n===n&&("number"!==p||i||(n+=r&&r[3]||(m.cssNumber[c]?"":"px")),d.clearCloneStyle||""!==n||0!==t.indexOf("background")||(a[t]="inherit"),b&&"set"in b&&void 0===(n=b.set(e,n,o))||(i?a.setProperty(t,n):a[t]=n))}},css:function(e,t,n,o){var r,p,b,c=K(t);return Fe.test(t)||(t=Ye(c)),(b=m.cssHooks[t]||m.cssHooks[c])&&"get"in b&&(r=b.get(e,!0,n)),void 0===r&&(r=He(e,t,o)),"normal"===r&&t in Qe&&(r=Qe[t]),""===n||n?(p=parseFloat(r),!0===n||isFinite(p)?p||0:r):r}}),m.each(["height","width"],(function(e,t){m.cssHooks[t]={get:function(e,n,o){if(n)return!$e.test(m.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?nt(e,t,o):_e(e,Je,(function(){return nt(e,t,o)}))},set:function(e,n,o){var r,p=Pe(e),b=!d.scrollboxSize()&&"absolute"===p.position,c=(b||o)&&"border-box"===m.css(e,"boxSizing",!1,p),i=o?tt(e,t,o,c,p):0;return c&&b&&(i-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(p[t])-tt(e,t,"border",!1,p)-.5)),i&&(r=re.exec(n))&&"px"!==(r[3]||"px")&&(e.style[t]=n,n=m.css(e,t)),et(0,n,i)}}})),m.cssHooks.marginLeft=Ve(d.reliableMarginLeft,(function(e,t){if(t)return(parseFloat(He(e,"marginLeft"))||e.getBoundingClientRect().left-_e(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),m.each({margin:"",padding:"",border:"Width"},(function(e,t){m.cssHooks[e+t]={expand:function(n){for(var o=0,r={},p="string"===typeof n?n.split(" "):[n];o<4;o++)r[e+pe[o]+t]=p[o]||p[o-2]||p[0];return r}},"margin"!==e&&(m.cssHooks[e+t].set=et)})),m.fn.extend({css:function(e,t){return H(this,(function(e,t,n){var o,r,p={},b=0;if(Array.isArray(t)){for(o=Pe(e),r=t.length;b1)}}),m.Tween=ot,ot.prototype={constructor:ot,init:function(e,t,n,o,r,p){this.elem=e,this.prop=n,this.easing=r||m.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=o,this.unit=p||(m.cssNumber[n]?"":"px")},cur:function(){var e=ot.propHooks[this.prop];return e&&e.get?e.get(this):ot.propHooks._default.get(this)},run:function(e){var t,n=ot.propHooks[this.prop];return this.options.duration?this.pos=t=m.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):ot.propHooks._default.set(this),this}},ot.prototype.init.prototype=ot.prototype,ot.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=m.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){m.fx.step[e.prop]?m.fx.step[e.prop](e):1!==e.elem.nodeType||!m.cssHooks[e.prop]&&null==e.elem.style[Ye(e.prop)]?e.elem[e.prop]=e.now:m.style(e.elem,e.prop,e.now+e.unit)}}},ot.propHooks.scrollTop=ot.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},m.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},m.fx=ot.prototype.init,m.fx.step={};var rt,pt,bt=/^(?:toggle|show|hide)$/,ct=/queueHooks$/;function it(){pt&&(!1===q.hidden&&o.requestAnimationFrame?o.requestAnimationFrame(it):o.setTimeout(it,m.fx.interval),m.fx.tick())}function at(){return o.setTimeout((function(){rt=void 0})),rt=Date.now()}function Mt(e,t){var n,o=0,r={height:e};for(t=t?1:0;o<4;o+=2-t)r["margin"+(n=pe[o])]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}function zt(e,t,n){for(var o,r=(ut.tweeners[t]||[]).concat(ut.tweeners["*"]),p=0,b=r.length;p1)},removeAttr:function(e){return this.each((function(){m.removeAttr(this,e)}))}}),m.extend({attr:function(e,t,n){var o,r,p=e.nodeType;if(3!==p&&8!==p&&2!==p)return"undefined"===typeof e.getAttribute?m.prop(e,t,n):(1===p&&m.isXMLDoc(e)||(r=m.attrHooks[t.toLowerCase()]||(m.expr.match.bool.test(t)?Ot:void 0)),void 0!==n?null===n?void m.removeAttr(e,t):r&&"set"in r&&void 0!==(o=r.set(e,n,t))?o:(e.setAttribute(t,n+""),n):r&&"get"in r&&null!==(o=r.get(e,t))?o:null==(o=m.find.attr(e,t))?void 0:o)},attrHooks:{type:{set:function(e,t){if(!d.radioValue&&"radio"===t&&N(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,o=0,r=t&&t.match(k);if(r&&1===e.nodeType)for(;n=r[o++];)e.removeAttribute(n)}}),Ot={set:function(e,t,n){return!1===t?m.removeAttr(e,n):e.setAttribute(n,n),n}},m.each(m.expr.match.bool.source.match(/\w+/g),(function(e,t){var n=st[t]||m.find.attr;st[t]=function(e,t,o){var r,p,b=t.toLowerCase();return o||(p=st[b],st[b]=r,r=null!=n(e,t,o)?b:null,st[b]=p),r}}));var lt=/^(?:input|select|textarea|button)$/i,dt=/^(?:a|area)$/i;function ft(e){return(e.match(k)||[]).join(" ")}function At(e){return e.getAttribute&&e.getAttribute("class")||""}function qt(e){return Array.isArray(e)?e:"string"===typeof e&&e.match(k)||[]}m.fn.extend({prop:function(e,t){return H(this,m.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[m.propFix[e]||e]}))}}),m.extend({prop:function(e,t,n){var o,r,p=e.nodeType;if(3!==p&&8!==p&&2!==p)return 1===p&&m.isXMLDoc(e)||(t=m.propFix[t]||t,r=m.propHooks[t]),void 0!==n?r&&"set"in r&&void 0!==(o=r.set(e,n,t))?o:e[t]=n:r&&"get"in r&&null!==(o=r.get(e,t))?o:e[t]},propHooks:{tabIndex:{get:function(e){var t=m.find.attr(e,"tabindex");return t?parseInt(t,10):lt.test(e.nodeName)||dt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),d.optSelected||(m.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),m.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){m.propFix[this.toLowerCase()]=this})),m.fn.extend({addClass:function(e){var t,n,o,r,p,b;return f(e)?this.each((function(t){m(this).addClass(e.call(this,t,At(this)))})):(t=qt(e)).length?this.each((function(){if(o=At(this),n=1===this.nodeType&&" "+ft(o)+" "){for(p=0;p-1;)n=n.replace(" "+r+" "," ");b=ft(n),o!==b&&this.setAttribute("class",b)}})):this:this.attr("class","")},toggleClass:function(e,t){var n,o,r,p,b=typeof e,c="string"===b||Array.isArray(e);return f(e)?this.each((function(n){m(this).toggleClass(e.call(this,n,At(this),t),t)})):"boolean"===typeof t&&c?t?this.addClass(e):this.removeClass(e):(n=qt(e),this.each((function(){if(c)for(p=m(this),r=0;r-1)return!0;return!1}});var ht=/\r/g;m.fn.extend({val:function(e){var t,n,o,r=this[0];return arguments.length?(o=f(e),this.each((function(n){var r;1===this.nodeType&&(null==(r=o?e.call(this,n,m(this).val()):e)?r="":"number"===typeof r?r+="":Array.isArray(r)&&(r=m.map(r,(function(e){return null==e?"":e+""}))),(t=m.valHooks[this.type]||m.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,r,"value")||(this.value=r))}))):r?(t=m.valHooks[r.type]||m.valHooks[r.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(r,"value"))?n:"string"===typeof(n=r.value)?n.replace(ht,""):null==n?"":n:void 0}}),m.extend({valHooks:{option:{get:function(e){var t=m.find.attr(e,"value");return null!=t?t:ft(m.text(e))}},select:{get:function(e){var t,n,o,r=e.options,p=e.selectedIndex,b="select-one"===e.type,c=b?null:[],i=b?p+1:r.length;for(o=p<0?i:b?p:0;o-1)&&(n=!0);return n||(e.selectedIndex=-1),p}}}}),m.each(["radio","checkbox"],(function(){m.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=m.inArray(m(e).val(),t)>-1}},d.checkOn||(m.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})})),d.focusin="onfocusin"in o;var Wt=/^(?:focusinfocus|focusoutblur)$/,gt=function(e){e.stopPropagation()};m.extend(m.event,{trigger:function(e,t,n,r){var p,b,c,i,a,M,z,u,s=[n||q],l=O.call(e,"type")?e.type:e,d=O.call(e,"namespace")?e.namespace.split("."):[];if(b=u=c=n=n||q,3!==n.nodeType&&8!==n.nodeType&&!Wt.test(l+m.event.triggered)&&(l.indexOf(".")>-1&&(d=l.split("."),l=d.shift(),d.sort()),a=l.indexOf(":")<0&&"on"+l,(e=e[m.expando]?e:new m.Event(l,"object"===typeof e&&e)).isTrigger=r?2:3,e.namespace=d.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+d.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:m.makeArray(t,[e]),z=m.event.special[l]||{},r||!z.trigger||!1!==z.trigger.apply(n,t))){if(!r&&!z.noBubble&&!A(n)){for(i=z.delegateType||l,Wt.test(i+l)||(b=b.parentNode);b;b=b.parentNode)s.push(b),c=b;c===(n.ownerDocument||q)&&s.push(c.defaultView||c.parentWindow||o)}for(p=0;(b=s[p++])&&!e.isPropagationStopped();)u=b,e.type=p>1?i:z.bindType||l,(M=(J.get(b,"events")||Object.create(null))[e.type]&&J.get(b,"handle"))&&M.apply(b,t),(M=a&&b[a])&&M.apply&&Y(b)&&(e.result=M.apply(b,t),!1===e.result&&e.preventDefault());return e.type=l,r||e.isDefaultPrevented()||z._default&&!1!==z._default.apply(s.pop(),t)||!Y(n)||a&&f(n[l])&&!A(n)&&((c=n[a])&&(n[a]=null),m.event.triggered=l,e.isPropagationStopped()&&u.addEventListener(l,gt),n[l](),e.isPropagationStopped()&&u.removeEventListener(l,gt),m.event.triggered=void 0,c&&(n[a]=c)),e.result}},simulate:function(e,t,n){var o=m.extend(new m.Event,n,{type:e,isSimulated:!0});m.event.trigger(o,null,t)}}),m.fn.extend({trigger:function(e,t){return this.each((function(){m.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var n=this[0];if(n)return m.event.trigger(e,t,n,!0)}}),d.focusin||m.each({focus:"focusin",blur:"focusout"},(function(e,t){var n=function(e){m.event.simulate(t,e.target,m.event.fix(e))};m.event.special[t]={setup:function(){var o=this.ownerDocument||this.document||this,r=J.access(o,t);r||o.addEventListener(e,n,!0),J.access(o,t,(r||0)+1)},teardown:function(){var o=this.ownerDocument||this.document||this,r=J.access(o,t)-1;r?J.access(o,t,r):(o.removeEventListener(e,n,!0),J.remove(o,t))}}}));var vt=o.location,mt={guid:Date.now()},Rt=/\?/;m.parseXML=function(e){var t,n;if(!e||"string"!==typeof e)return null;try{t=(new o.DOMParser).parseFromString(e,"text/xml")}catch(r){}return n=t&&t.getElementsByTagName("parsererror")[0],t&&!n||m.error("Invalid XML: "+(n?m.map(n.childNodes,(function(e){return e.textContent})).join("\n"):e)),t};var yt=/\[\]$/,Lt=/\r?\n/g,Bt=/^(?:submit|button|image|reset|file)$/i,Ct=/^(?:input|select|textarea|keygen)/i;function Nt(e,t,n,o){var r;if(Array.isArray(t))m.each(t,(function(t,r){n||yt.test(e)?o(e,r):Nt(e+"["+("object"===typeof r&&null!=r?t:"")+"]",r,n,o)}));else if(n||"object"!==g(t))o(e,t);else for(r in t)Nt(e+"["+r+"]",t[r],n,o)}m.param=function(e,t){var n,o=[],r=function(e,t){var n=f(t)?t():t;o[o.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!m.isPlainObject(e))m.each(e,(function(){r(this.name,this.value)}));else for(n in e)Nt(n,e[n],t,r);return o.join("&")},m.fn.extend({serialize:function(){return m.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=m.prop(this,"elements");return e?m.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!m(this).is(":disabled")&&Ct.test(this.nodeName)&&!Bt.test(e)&&(this.checked||!se.test(e))})).map((function(e,t){var n=m(this).val();return null==n?null:Array.isArray(n)?m.map(n,(function(e){return{name:t.name,value:e.replace(Lt,"\r\n")}})):{name:t.name,value:n.replace(Lt,"\r\n")}})).get()}});var wt=/%20/g,Dt=/#.*$/,Et=/([?&])_=[^&]*/,xt=/^(.*?):[ \t]*([^\r\n]*)$/gm,St=/^(?:GET|HEAD)$/,Tt=/^\/\//,Xt={},kt={},Ft="*/".concat("*"),Pt=q.createElement("a");function _t(e){return function(t,n){"string"!==typeof t&&(n=t,t="*");var o,r=0,p=t.toLowerCase().match(k)||[];if(f(n))for(;o=p[r++];)"+"===o[0]?(o=o.slice(1)||"*",(e[o]=e[o]||[]).unshift(n)):(e[o]=e[o]||[]).push(n)}}function It(e,t,n,o){var r={},p=e===kt;function b(c){var i;return r[c]=!0,m.each(e[c]||[],(function(e,c){var a=c(t,n,o);return"string"!==typeof a||p||r[a]?p?!(i=a):void 0:(t.dataTypes.unshift(a),b(a),!1)})),i}return b(t.dataTypes[0])||!r["*"]&&b("*")}function jt(e,t){var n,o,r=m.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((r[n]?e:o||(o={}))[n]=t[n]);return o&&m.extend(!0,e,o),e}Pt.href=vt.href,m.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:vt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(vt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ft,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":m.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?jt(jt(e,m.ajaxSettings),t):jt(m.ajaxSettings,e)},ajaxPrefilter:_t(Xt),ajaxTransport:_t(kt),ajax:function(e,t){"object"===typeof e&&(t=e,e=void 0),t=t||{};var n,r,p,b,c,i,a,M,z,u,O=m.ajaxSetup({},t),s=O.context||O,l=O.context&&(s.nodeType||s.jquery)?m(s):m.event,d=m.Deferred(),f=m.Callbacks("once memory"),A=O.statusCode||{},h={},W={},g="canceled",v={readyState:0,getResponseHeader:function(e){var t;if(a){if(!b)for(b={};t=xt.exec(p);)b[t[1].toLowerCase()+" "]=(b[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=b[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return a?p:null},setRequestHeader:function(e,t){return null==a&&(e=W[e.toLowerCase()]=W[e.toLowerCase()]||e,h[e]=t),this},overrideMimeType:function(e){return null==a&&(O.mimeType=e),this},statusCode:function(e){var t;if(e)if(a)v.always(e[v.status]);else for(t in e)A[t]=[A[t],e[t]];return this},abort:function(e){var t=e||g;return n&&n.abort(t),R(0,t),this}};if(d.promise(v),O.url=((e||O.url||vt.href)+"").replace(Tt,vt.protocol+"//"),O.type=t.method||t.type||O.method||O.type,O.dataTypes=(O.dataType||"*").toLowerCase().match(k)||[""],null==O.crossDomain){i=q.createElement("a");try{i.href=O.url,i.href=i.href,O.crossDomain=Pt.protocol+"//"+Pt.host!==i.protocol+"//"+i.host}catch(y){O.crossDomain=!0}}if(O.data&&O.processData&&"string"!==typeof O.data&&(O.data=m.param(O.data,O.traditional)),It(Xt,O,t,v),a)return v;for(z in(M=m.event&&O.global)&&0===m.active++&&m.event.trigger("ajaxStart"),O.type=O.type.toUpperCase(),O.hasContent=!St.test(O.type),r=O.url.replace(Dt,""),O.hasContent?O.data&&O.processData&&0===(O.contentType||"").indexOf("application/x-www-form-urlencoded")&&(O.data=O.data.replace(wt,"+")):(u=O.url.slice(r.length),O.data&&(O.processData||"string"===typeof O.data)&&(r+=(Rt.test(r)?"&":"?")+O.data,delete O.data),!1===O.cache&&(r=r.replace(Et,"$1"),u=(Rt.test(r)?"&":"?")+"_="+mt.guid+++u),O.url=r+u),O.ifModified&&(m.lastModified[r]&&v.setRequestHeader("If-Modified-Since",m.lastModified[r]),m.etag[r]&&v.setRequestHeader("If-None-Match",m.etag[r])),(O.data&&O.hasContent&&!1!==O.contentType||t.contentType)&&v.setRequestHeader("Content-Type",O.contentType),v.setRequestHeader("Accept",O.dataTypes[0]&&O.accepts[O.dataTypes[0]]?O.accepts[O.dataTypes[0]]+("*"!==O.dataTypes[0]?", "+Ft+"; q=0.01":""):O.accepts["*"]),O.headers)v.setRequestHeader(z,O.headers[z]);if(O.beforeSend&&(!1===O.beforeSend.call(s,v,O)||a))return v.abort();if(g="abort",f.add(O.complete),v.done(O.success),v.fail(O.error),n=It(kt,O,t,v)){if(v.readyState=1,M&&l.trigger("ajaxSend",[v,O]),a)return v;O.async&&O.timeout>0&&(c=o.setTimeout((function(){v.abort("timeout")}),O.timeout));try{a=!1,n.send(h,R)}catch(y){if(a)throw y;R(-1,y)}}else R(-1,"No Transport");function R(e,t,b,i){var z,u,q,h,W,g=t;a||(a=!0,c&&o.clearTimeout(c),n=void 0,p=i||"",v.readyState=e>0?4:0,z=e>=200&&e<300||304===e,b&&(h=function(e,t,n){for(var o,r,p,b,c=e.contents,i=e.dataTypes;"*"===i[0];)i.shift(),void 0===o&&(o=e.mimeType||t.getResponseHeader("Content-Type"));if(o)for(r in c)if(c[r]&&c[r].test(o)){i.unshift(r);break}if(i[0]in n)p=i[0];else{for(r in n){if(!i[0]||e.converters[r+" "+i[0]]){p=r;break}b||(b=r)}p=p||b}if(p)return p!==i[0]&&i.unshift(p),n[p]}(O,v,b)),!z&&m.inArray("script",O.dataTypes)>-1&&m.inArray("json",O.dataTypes)<0&&(O.converters["text script"]=function(){}),h=function(e,t,n,o){var r,p,b,c,i,a={},M=e.dataTypes.slice();if(M[1])for(b in e.converters)a[b.toLowerCase()]=e.converters[b];for(p=M.shift();p;)if(e.responseFields[p]&&(n[e.responseFields[p]]=t),!i&&o&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),i=p,p=M.shift())if("*"===p)p=i;else if("*"!==i&&i!==p){if(!(b=a[i+" "+p]||a["* "+p]))for(r in a)if((c=r.split(" "))[1]===p&&(b=a[i+" "+c[0]]||a["* "+c[0]])){!0===b?b=a[r]:!0!==a[r]&&(p=c[0],M.unshift(c[1]));break}if(!0!==b)if(b&&e.throws)t=b(t);else try{t=b(t)}catch(y){return{state:"parsererror",error:b?y:"No conversion from "+i+" to "+p}}}return{state:"success",data:t}}(O,h,v,z),z?(O.ifModified&&((W=v.getResponseHeader("Last-Modified"))&&(m.lastModified[r]=W),(W=v.getResponseHeader("etag"))&&(m.etag[r]=W)),204===e||"HEAD"===O.type?g="nocontent":304===e?g="notmodified":(g=h.state,u=h.data,z=!(q=h.error))):(q=g,!e&&g||(g="error",e<0&&(e=0))),v.status=e,v.statusText=(t||g)+"",z?d.resolveWith(s,[u,g,v]):d.rejectWith(s,[v,g,q]),v.statusCode(A),A=void 0,M&&l.trigger(z?"ajaxSuccess":"ajaxError",[v,O,z?u:q]),f.fireWith(s,[v,g]),M&&(l.trigger("ajaxComplete",[v,O]),--m.active||m.event.trigger("ajaxStop")))}return v},getJSON:function(e,t,n){return m.get(e,t,n,"json")},getScript:function(e,t){return m.get(e,void 0,t,"script")}}),m.each(["get","post"],(function(e,t){m[t]=function(e,n,o,r){return f(n)&&(r=r||o,o=n,n=void 0),m.ajax(m.extend({url:e,type:t,dataType:r,data:n,success:o},m.isPlainObject(e)&&e))}})),m.ajaxPrefilter((function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")})),m._evalUrl=function(e,t,n){return m.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){m.globalEval(e,t,n)}})},m.fn.extend({wrapAll:function(e){var t;return this[0]&&(f(e)&&(e=e.call(this[0])),t=m(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map((function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e})).append(this)),this},wrapInner:function(e){return f(e)?this.each((function(t){m(this).wrapInner(e.call(this,t))})):this.each((function(){var t=m(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)}))},wrap:function(e){var t=f(e);return this.each((function(n){m(this).wrapAll(t?e.call(this,n):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){m(this).replaceWith(this.childNodes)})),this}}),m.expr.pseudos.hidden=function(e){return!m.expr.pseudos.visible(e)},m.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},m.ajaxSettings.xhr=function(){try{return new o.XMLHttpRequest}catch(e){}};var Zt={0:200,1223:204},Ht=m.ajaxSettings.xhr();d.cors=!!Ht&&"withCredentials"in Ht,d.ajax=Ht=!!Ht,m.ajaxTransport((function(e){var t,n;if(d.cors||Ht&&!e.crossDomain)return{send:function(r,p){var b,c=e.xhr();if(c.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(b in e.xhrFields)c[b]=e.xhrFields[b];for(b in e.mimeType&&c.overrideMimeType&&c.overrideMimeType(e.mimeType),e.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest"),r)c.setRequestHeader(b,r[b]);t=function(e){return function(){t&&(t=n=c.onload=c.onerror=c.onabort=c.ontimeout=c.onreadystatechange=null,"abort"===e?c.abort():"error"===e?"number"!==typeof c.status?p(0,"error"):p(c.status,c.statusText):p(Zt[c.status]||c.status,c.statusText,"text"!==(c.responseType||"text")||"string"!==typeof c.responseText?{binary:c.response}:{text:c.responseText},c.getAllResponseHeaders()))}},c.onload=t(),n=c.onerror=c.ontimeout=t("error"),void 0!==c.onabort?c.onabort=n:c.onreadystatechange=function(){4===c.readyState&&o.setTimeout((function(){t&&n()}))},t=t("abort");try{c.send(e.hasContent&&e.data||null)}catch(i){if(t)throw i}},abort:function(){t&&t()}}})),m.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),m.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return m.globalEval(e),e}}}),m.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),m.ajaxTransport("script",(function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(o,r){t=m("