/* * Copyright (c) Ascensio System SIA 2019. All rights reserved * * http://www.onlyoffice.com * * Version: 0.0.0 (build:0) */ function onDropDownKeyDown(t){var e=$(this),i=e.parent(),n=jQuery.Event("keydown.before.bs.dropdown"),o=jQuery.Event("keydown.after.bs.dropdown");i.trigger(n),i.hasClass("no-stop-propagate")?(arguments.length>1&&arguments[1]instanceof KeyboardEvent&&(t=arguments[1]),!/^(38|40|27|13|9|37|39)$/.test(t.keyCode)||t.ctrlKey||t.altKey||(patchDropDownKeyDownAdditional.call(this,t),/(37|39)/.test(t.keyCode)||(t.preventDefault(),t.stopPropagation()))):(patchDropDownKeyDown.call(this,t),t.preventDefault(),t.stopPropagation()),i.trigger(o)}function patchDropDownKeyDown(t){if(/(38|40|27|37|39)/.test(t.keyCode)){var e=$(this);if(t.preventDefault(),t.stopPropagation(),!e.is(".disabled, :disabled")){var i=getParent(e),n=i.hasClass("open")||i.hasClass("over");if(!n||n&&27==t.keyCode){if(27==t.which){if(o=$("[role=menu] li.dropdown-submenu.over:visible",i),o.length)return o.eq(o.length-1).removeClass("over"),!1;i.hasClass("dropdown-submenu")&&i.hasClass("over")?(i.removeClass("over"),i.find("> a").focus()):i.find("[data-toggle=dropdown]").focus()}return n?e.click():void 0}var o=$("> [role=menu] > li:not(.divider):not(.disabled):visible",i).find("> a");if(o.length){var s=o.index(o.filter(":focus"));if(39==t.keyCode){if(s<0)return;var a=o.eq(s).parent();a.hasClass("dropdown-submenu")&&!a.hasClass("over")&&(a.mouseenter(),a.addClass("focused-submenu"),_.delay(function(){var t=$("> [role=menu]",a),e=t.find("> li:not(.divider):not(.disabled):visible > a"),i=t.find("> li:not(.divider):not(.disabled):visible .dataview"),n=0;if(t.find("> .menu-scroll").length>0)for(var o=t.scrollTop(),s=0;so){n=s;break}e.length>0&&i.length<1&&e.eq(n).focus()},250))}else 37==t.keyCode?i.hasClass("dropdown-submenu")&&i.hasClass("over")&&(i.removeClass("over"),i.find("> a").focus()):(38==t.keyCode?s>0?s--:s=e.hasClass("no-cyclic")?0:o.length-1:40==t.keyCode&&(s [role=menu] > li:not(.divider):not(.disabled):visible",i).find("> a");if(o.length){var s=o.index(o.filter(".focus"));38==t.keyCode?s>0?s--:s=e.hasClass("no-cyclic")?0:o.length-1:40==t.keyCode&&(s=0&&e<=_};u.each=u.forEach=function(t,e,i){e=g(e,i);var n,o;if(w(t))for(n=0,o=t.length;n0?0:a-1;for(o||(n=e[s?s[r]:r],r+=t);r>=0&&r=3;return e(t,g(i,o,4),n,s)}};u.reduce=u.foldl=u.inject=S(1),u.reduceRight=u.foldr=S(-1),u.find=u.detect=function(t,e,i){var n=w(t)?u.findIndex:u.findKey,o=n(t,e,i);if(void 0!==o&&-1!==o)return t[o]},u.filter=u.select=function(t,e,i){var n=[];return e=f(e,i),u.each(t,function(t,i,o){e(t,i,o)&&n.push(t)}),n},u.reject=function(t,e,i){return u.filter(t,u.negate(f(e)),i)},u.every=u.all=function(t,e,i){e=f(e,i);for(var n=!w(t)&&u.keys(t),o=(n||t).length,s=0;s=0},u.invoke=b(function(t,e,i){var n,o;return u.isFunction(e)?o=e:u.isArray(e)&&(n=e.slice(0,-1),e=e[e.length-1]),u.map(t,function(t){var s=o;if(!s){if(n&&n.length&&(t=y(t,n)),null==t)return;s=t[e]}return null==s?s:s.apply(t,i)})}),u.pluck=function(t,e){return u.map(t,u.property(e))},u.where=function(t,e){return u.filter(t,u.matcher(e))},u.findWhere=function(t,e){return u.find(t,u.matcher(e))},u.max=function(t,e,i){var n,o,s=-1/0,a=-1/0;if(null==e||"number"==typeof e&&"object"!=typeof t[0]&&null!=t){t=w(t)?t:u.values(t);for(var r=0,l=t.length;rs&&(s=n)}else e=f(e,i),u.each(t,function(t,i,n){((o=e(t,i,n))>a||o===-1/0&&s===-1/0)&&(s=t,a=o)});return s},u.min=function(t,e,i){var n,o,s=1/0,a=1/0;if(null==e||"number"==typeof e&&"object"!=typeof t[0]&&null!=t){t=w(t)?t:u.values(t);for(var r=0,l=t.length;rn||void 0===i)return 1;if(i0?0:o-1;s>=0&&s0?r=s>=0?s:Math.max(s+l,r):l=s>=0?Math.min(s+1,l):s+l+1;else if(i&&s&&l)return s=i(n,o),n[s]===o?s:-1;if(o!==o)return s=e(a.call(n,r,l),u.isNaN),s>=0?s+r:-1;for(s=t>0?r:l-1;s>=0&&se?(n&&(clearTimeout(n),n=null),r=c,a=t.apply(o,s),n||(o=s=null)):n||!1===i.trailing||(n=setTimeout(l,h)),a};return c.cancel=function(){clearTimeout(n),r=0,n=o=s=null},c},u.debounce=function(t,e,i){var n,o,s=function(e,i){n=null,i&&(o=t.apply(e,i))},a=b(function(a){if(n&&clearTimeout(n),i){var r=!n;n=setTimeout(s,e),r&&(o=t.apply(this,a))}else n=u.delay(s,e,this,a);return o});return a.cancel=function(){clearTimeout(n),n=null},a},u.wrap=function(t,e){return u.partial(e,t)},u.negate=function(t){return function(){return!t.apply(this,arguments)}},u.compose=function(){var t=arguments,e=t.length-1;return function(){for(var i=e,n=t[e].apply(this,arguments);i--;)n=t[i].call(this,n);return n}},u.after=function(t,e){return function(){if(--t<1)return e.apply(this,arguments)}},u.before=function(t,e){var i;return function(){return--t>0&&(i=e.apply(this,arguments)),t<=1&&(e=null),i}},u.once=u.partial(u.before,2),u.restArgs=b;var M=!{toString:null}.propertyIsEnumerable("toString"),U=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],D=function(t,e){var i=U.length,o=t.constructor,s=u.isFunction(o)&&o.prototype||n,a="constructor";for(u.has(t,a)&&!u.contains(e,a)&&e.push(a);i--;)(a=U[i])in t&&t[a]!==s[a]&&!u.contains(e,a)&&e.push(a)};u.keys=function(t){if(!u.isObject(t))return[];if(h)return h(t);var e=[];for(var i in t)u.has(t,i)&&e.push(i);return M&&D(t,e),e},u.allKeys=function(t){if(!u.isObject(t))return[];var e=[];for(var i in t)e.push(i);return M&&D(t,e),e},u.values=function(t){for(var e=u.keys(t),i=e.length,n=Array(i),o=0;o1&&(n=g(n,e[1])),e=u.allKeys(t)):(n=L,e=k(e,!1,!1),t=Object(t));for(var o=0,s=e.length;o1&&(i=e[1])):(e=u.map(k(e,!1,!1),String),n=function(t,i){return!u.contains(e,i)}),u.pick(t,n,i)}),u.defaults=B(u.allKeys,!0),u.create=function(t,e){var i=C(t);return e&&u.extendOwn(i,e),i},u.clone=function(t){return u.isObject(t)?u.isArray(t)?t.slice():u.extend({},t):t},u.tap=function(t,e){return e(t),t},u.isMatch=function(t,e){var i=u.keys(e),n=i.length;if(null==t)return!n;for(var o=Object(t),s=0;s":">",'"':""","'":"'","`":"`"},N=u.invert(O),z=function(t){var e=function(e){return t[e]},i="(?:"+u.keys(t).join("|")+")",n=RegExp(i),o=RegExp(i,"g");return function(t){return t=null==t?"":""+t,n.test(t)?t.replace(o,e):t}};u.escape=z(O),u.unescape=z(N),u.result=function(t,e,i){u.isArray(e)||(e=[e]);var n=e.length;if(!n)return u.isFunction(i)?i.call(t):i;for(var o=0;o/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var G=/(.)^/,$={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},j=/\\|'|\r|\n|\u2028|\u2029/g,W=function(t){return"\\"+$[t]};u.template=function(t,e,i){!e&&i&&(e=i),e=u.defaults({},e,u.templateSettings);var n=RegExp([(e.escape||G).source,(e.interpolate||G).source,(e.evaluate||G).source].join("|")+"|$","g"),o=0,s="__p+='";t.replace(n,function(e,i,n,a,r){return s+=t.slice(o,r).replace(j,W),o=r+e.length,i?s+="'+\n((__t=("+i+"))==null?'':_.escape(__t))+\n'":n?s+="'+\n((__t=("+n+"))==null?'':__t)+\n'":a&&(s+="';\n"+a+"\n__p+='"),e}),s+="';\n",e.variable||(s="with(obj||{}){\n"+s+"}\n"),s="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+s+"return __p;\n";var a;try{a=new Function(e.variable||"obj","_",s)}catch(t){throw t.source=s,t}var r=function(t){return a.call(this,t,u)};return r.source="function("+(e.variable||"obj")+"){\n"+s+"}",r},u.chain=function(t){var e=u(t);return e._chain=!0,e};var q=function(t,e){return t._chain?u(e).chain():e};u.mixin=function(t){return u.each(u.functions(t),function(e){var i=u[e]=t[e];u.prototype[e]=function(){var t=[this._wrapped];return s.apply(t,arguments),q(this,i.apply(u,t))}}),u},u.mixin(u),u.each(["pop","push","reverse","shift","sort","splice","unshift"],function(t){var e=i[t];u.prototype[t]=function(){var i=this._wrapped;return e.apply(i,arguments),"shift"!==t&&"splice"!==t||0!==i.length||delete i[0],q(this,i)}}),u.each(["concat","join","slice"],function(t){var e=i[t];u.prototype[t]=function(){return q(this,e.apply(this._wrapped,arguments))}}),u.prototype.value=function(){return this._wrapped},u.prototype.valueOf=u.prototype.toJSON=u.prototype.value,u.prototype.toString=function(){return String(this._wrapped)},"function"==typeof define&&define.amd&&define("underscore",[],function(){return u})}(),function(t,e){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=t.document?e(t,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return e(t)}:e(t)}("undefined"!=typeof window?window:this,function(t,e){function i(t,e){e=e||it;var i=e.createElement("script");i.text=t,e.head.appendChild(i).parentNode.removeChild(i)}function n(t){var e=!!t&&"length"in t&&t.length,i=mt.type(t);return"function"!==i&&!mt.isWindow(t)&&("array"===i||0===e||"number"==typeof e&&e>0&&e-1 in t)}function o(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()}function s(t,e,i){return mt.isFunction(e)?mt.grep(t,function(t,n){return!!e.call(t,n,t)!==i}):e.nodeType?mt.grep(t,function(t){return t===e!==i}):"string"!=typeof e?mt.grep(t,function(t){return rt.call(e,t)>-1!==i}):St.test(e)?mt.filter(e,t,i):(e=mt.filter(e,t),mt.grep(t,function(t){return rt.call(e,t)>-1!==i&&1===t.nodeType}))}function a(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}function r(t){var e={};return mt.each(t.match(Et)||[],function(t,i){e[i]=!0}),e}function l(t){return t}function c(t){throw t}function h(t,e,i,n){var o;try{t&&mt.isFunction(o=t.promise)?o.call(t).done(e).fail(i):t&&mt.isFunction(o=t.then)?o.call(t,e,i):e.apply(void 0,[t].slice(n))}catch(t){i.apply(void 0,[t])}}function d(){it.removeEventListener("DOMContentLoaded",d),t.removeEventListener("load",d),mt.ready()}function p(){this.expando=mt.expando+p.uid++}function u(t){return"true"===t||"false"!==t&&("null"===t?null:t===+t+""?+t:Ft.test(t)?JSON.parse(t):t)}function m(t,e,i){var n;if(void 0===i&&1===t.nodeType)if(n="data-"+e.replace(Vt,"-$&").toLowerCase(),"string"==typeof(i=t.getAttribute(n))){try{i=u(i)}catch(t){}Lt.set(t,e,i)}else i=void 0;return i}function g(t,e,i,n){var o,s=1,a=20,r=n?function(){return n.cur()}:function(){return mt.css(t,e,"")},l=r(),c=i&&i[3]||(mt.cssNumber[e]?"":"px"),h=(mt.cssNumber[e]||"px"!==c&&+l)&&Ot.exec(mt.css(t,e));if(h&&h[3]!==c){c=c||h[3],i=i||[],h=+l||1;do{s=s||".5",h/=s,mt.style(t,e,h+c)}while(s!==(s=r()/l)&&1!==s&&--a)}return i&&(h=+h||+l||0,o=i[1]?h+(i[1]+1)*i[2]:+i[2],n&&(n.unit=c,n.start=h,n.end=o)),o}function f(t){var e,i=t.ownerDocument,n=t.nodeName,o=Gt[n];return o||(e=i.body.appendChild(i.createElement(n)),o=mt.css(e,"display"),e.parentNode.removeChild(e),"none"===o&&(o="block"),Gt[n]=o,o)}function b(t,e){for(var i,n,o=[],s=0,a=t.length;s-1)o&&o.push(s);else if(c=mt.contains(s.ownerDocument,s),a=C(d.appendChild(s),"script"),c&&v(a),i)for(h=0;s=a[h++];)Wt.test(s.type||"")&&i.push(s);return d}function _(){return!0}function x(){return!1}function w(){try{return it.activeElement}catch(t){}}function S(t,e,i,n,o,s){var a,r;if("object"==typeof e){"string"!=typeof i&&(n=n||i,i=void 0);for(r in e)S(t,r,i,n,e[r],s);return t}if(null==n&&null==o?(o=i,n=i=void 0):null==o&&("string"==typeof i?(o=n,n=void 0):(o=n,n=i,i=void 0)),!1===o)o=x;else if(!o)return t;return 1===s&&(a=o,o=function(t){return mt().off(t),a.apply(this,arguments)},o.guid=a.guid||(a.guid=mt.guid++)),t.each(function(){mt.event.add(this,e,o,n,i)})}function T(t,e){return o(t,"table")&&o(11!==e.nodeType?e:e.firstChild,"tr")?mt(">tbody",t)[0]||t:t}function A(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function k(t){var e=ie.exec(t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}function I(t,e){var i,n,o,s,a,r,l,c;if(1===e.nodeType){if(Bt.hasData(t)&&(s=Bt.access(t),a=Bt.set(e,s),c=s.events)){delete a.handle,a.events={};for(o in c)for(i=0,n=c[o].length;i1&&"string"==typeof m&&!ut.checkClone&&ee.test(m))return t.each(function(i){var s=t.eq(i);g&&(e[0]=m.call(this,i,s.html())),P(s,e,n,o)});if(p&&(s=y(e,t[0].ownerDocument,!1,t,o),a=s.firstChild,1===s.childNodes.length&&(s=a),a||o)){for(r=mt.map(C(s,"script"),A),l=r.length;d=0&&i_.cacheLength&&delete t[e.shift()],t[i+" "]=n}var e=[];return t}function n(t){return t[R]=!0,t}function o(t){var e=M.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function s(t,e){for(var i=t.split("|"),n=i.length;n--;)_.attrHandle[i[n]]=e}function a(t,e){var i=e&&t,n=i&&1===t.nodeType&&1===e.nodeType&&t.sourceIndex-e.sourceIndex;if(n)return n;if(i)for(;i=i.nextSibling;)if(i===e)return-1;return t?1:-1}function r(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&xt(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function l(t){return n(function(e){return e=+e,n(function(i,n){for(var o,s=t([],i.length,e),a=s.length;a--;)i[o=s[a]]&&(i[o]=!(n[o]=i[o]))})})}function c(t){return t&&void 0!==t.getElementsByTagName&&t}function h(){}function d(t){for(var e=0,i=t.length,n="";e1?function(e,i,n){for(var o=t.length;o--;)if(!t[o](e,i,n))return!1;return!0}:t[0]}function m(t,i,n){for(var o=0,s=i.length;o-1&&(n[c]=!(a[c]=d))}}else v=g(v===a?v.splice(f,v.length):v),s?s(null,a,v,l):X.apply(a,v)})}function b(t){for(var e,i,n,o=t.length,s=_.relative[t[0].type],a=s||_.relative[" "],r=s?1:0,l=p(function(t){return t===e},a,!0),c=p(function(t){return J(e,t)>-1},a,!0),h=[function(t,i,n){var o=!s&&(n||i!==k)||((e=i).nodeType?l(t,i,n):c(t,i,n));return e=null,o}];r1&&u(h),r>1&&d(t.slice(0,r-1).concat({value:" "===t[r-2].type?"*":""})).replace(st,"$1"),i,r0,s=t.length>0,a=function(n,a,r,l,c){var h,d,p,u=0,m="0",f=n&&[],b=[],C=k,v=n||s&&_.find.TAG("*",c),y=N+=null==C?1:Math.random()||.1,x=v.length;for(c&&(k=a===M||a||c);m!==x&&null!=(h=v[m]);m++){if(s&&h){for(d=0,a||h.ownerDocument===M||(P(h),r=!D);p=t[d++];)if(p(h,a||M,r)){l.push(h);break}c&&(N=y)}o&&((h=!p&&h)&&u--,n&&f.push(h))}if(u+=m,o&&m!==u){for(d=0;p=i[d++];)p(f,b,a,r);if(n){if(u>0)for(;m--;)f[m]||b[m]||(b[m]=K.call(l));b=g(b)}X.apply(l,b),c&&!n&&b.length>0&&u+i.length>1&&e.uniqueSort(l)}return c&&(N=y,k=C),f};return o?n(a):a}var v,y,_,x,w,S,T,A,k,I,E,P,M,U,D,B,L,F,V,R="sizzle"+1*new Date,O=t.document,N=0,z=0,H=i(),G=i(),$=i(),j=function(t,e){return t===e&&(E=!0),0},W={}.hasOwnProperty,q=[],K=q.pop,Y=q.push,X=q.push,Z=q.slice,J=function(t,e){for(var i=0,n=t.length;i+~]|"+tt+")"+tt+"*"),lt=new RegExp("="+tt+"*([^\\]'\"]*?)"+tt+"*\\]","g"),ct=new RegExp(nt),ht=new RegExp("^"+et+"$"),dt={ID:new RegExp("^#("+et+")"),CLASS:new RegExp("^\\.("+et+")"),TAG:new RegExp("^("+et+"|[*])"),ATTR:new RegExp("^"+it),PSEUDO:new RegExp("^"+nt),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+tt+"*(even|odd|(([+-]|)(\\d*)n|)"+tt+"*(?:([+-]|)"+tt+"*(\\d+)|))"+tt+"*\\)|)","i"),bool:new RegExp("^(?:"+Q+")$","i"),needsContext:new RegExp("^"+tt+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+tt+"*((?:-\\d)?\\d*)"+tt+"*\\)|)(?=[^-]|$)","i")},pt=/^(?:input|select|textarea|button)$/i,ut=/^h\d$/i,mt=/^[^{]+\{\s*\[native \w/,gt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ft=/[+~]/,bt=new RegExp("\\\\([\\da-f]{1,6}"+tt+"?|("+tt+")|.)","ig"),Ct=function(t,e,i){var n="0x"+e-65536;return n!==n||i?e:n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320)},vt=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,yt=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},_t=function(){P()},xt=p(function(t){return!0===t.disabled&&("form"in t||"label"in t)},{dir:"parentNode",next:"legend"});try{X.apply(q=Z.call(O.childNodes),O.childNodes),q[O.childNodes.length].nodeType}catch(t){X={apply:q.length?function(t,e){Y.apply(t,Z.call(e))}:function(t,e){for(var i=t.length,n=0;t[i++]=e[n++];);t.length=i-1}}}y=e.support={},w=e.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return!!e&&"HTML"!==e.nodeName},P=e.setDocument=function(t){var e,i,n=t?t.ownerDocument||t:O;return n!==M&&9===n.nodeType&&n.documentElement?(M=n,U=M.documentElement,D=!w(M),O!==M&&(i=M.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",_t,!1):i.attachEvent&&i.attachEvent("onunload",_t)),y.attributes=o(function(t){return t.className="i",!t.getAttribute("className")}),y.getElementsByTagName=o(function(t){return t.appendChild(M.createComment("")),!t.getElementsByTagName("*").length}),y.getElementsByClassName=mt.test(M.getElementsByClassName),y.getById=o(function(t){return U.appendChild(t).id=R,!M.getElementsByName||!M.getElementsByName(R).length}),y.getById?(_.filter.ID=function(t){var e=t.replace(bt,Ct);return function(t){return t.getAttribute("id")===e}},_.find.ID=function(t,e){if(void 0!==e.getElementById&&D){var i=e.getElementById(t);return i?[i]:[]}}):(_.filter.ID=function(t){var e=t.replace(bt,Ct);return function(t){var i=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return i&&i.value===e}},_.find.ID=function(t,e){if(void 0!==e.getElementById&&D){var i,n,o,s=e.getElementById(t);if(s){if((i=s.getAttributeNode("id"))&&i.value===t)return[s];for(o=e.getElementsByName(t),n=0;s=o[n++];)if((i=s.getAttributeNode("id"))&&i.value===t)return[s]}return[]}}),_.find.TAG=y.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):y.qsa?e.querySelectorAll(t):void 0}:function(t,e){var i,n=[],o=0,s=e.getElementsByTagName(t);if("*"===t){for(;i=s[o++];)1===i.nodeType&&n.push(i);return n}return s},_.find.CLASS=y.getElementsByClassName&&function(t,e){if(void 0!==e.getElementsByClassName&&D)return e.getElementsByClassName(t)},L=[],B=[],(y.qsa=mt.test(M.querySelectorAll))&&(o(function(t){U.appendChild(t).innerHTML="",t.querySelectorAll("[msallowcapture^='']").length&&B.push("[*^$]="+tt+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||B.push("\\["+tt+"*(?:value|"+Q+")"),t.querySelectorAll("[id~="+R+"-]").length||B.push("~="),t.querySelectorAll(":checked").length||B.push(":checked"),t.querySelectorAll("a#"+R+"+*").length||B.push(".#.+[+~]")}),o(function(t){t.innerHTML="";var e=M.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&B.push("name"+tt+"*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&B.push(":enabled",":disabled"),U.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&B.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),B.push(",.*:")})),(y.matchesSelector=mt.test(F=U.matches||U.webkitMatchesSelector||U.mozMatchesSelector||U.oMatchesSelector||U.msMatchesSelector))&&o(function(t){y.disconnectedMatch=F.call(t,"*"),F.call(t,"[s!='']:x"),L.push("!=",nt)}),B=B.length&&new RegExp(B.join("|")),L=L.length&&new RegExp(L.join("|")),e=mt.test(U.compareDocumentPosition),V=e||mt.test(U.contains)?function(t,e){var i=9===t.nodeType?t.documentElement:t,n=e&&e.parentNode;return t===n||!(!n||1!==n.nodeType||!(i.contains?i.contains(n):t.compareDocumentPosition&&16&t.compareDocumentPosition(n)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},j=e?function(t,e){if(t===e)return E=!0,0;var i=!t.compareDocumentPosition-!e.compareDocumentPosition;return i||(i=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1,1&i||!y.sortDetached&&e.compareDocumentPosition(t)===i?t===M||t.ownerDocument===O&&V(O,t)?-1:e===M||e.ownerDocument===O&&V(O,e)?1:I?J(I,t)-J(I,e):0:4&i?-1:1)}:function(t,e){if(t===e)return E=!0,0;var i,n=0,o=t.parentNode,s=e.parentNode,r=[t],l=[e];if(!o||!s)return t===M?-1:e===M?1:o?-1:s?1:I?J(I,t)-J(I,e):0;if(o===s)return a(t,e);for(i=t;i=i.parentNode;)r.unshift(i);for(i=e;i=i.parentNode;)l.unshift(i);for(;r[n]===l[n];)n++;return n?a(r[n],l[n]):r[n]===O?-1:l[n]===O?1:0},M):M},e.matches=function(t,i){return e(t,null,null,i)},e.matchesSelector=function(t,i){if((t.ownerDocument||t)!==M&&P(t),i=i.replace(lt,"='$1']"),y.matchesSelector&&D&&!$[i+" "]&&(!L||!L.test(i))&&(!B||!B.test(i)))try{var n=F.call(t,i);if(n||y.disconnectedMatch||t.document&&11!==t.document.nodeType)return n}catch(t){}return e(i,M,null,[t]).length>0},e.contains=function(t,e){return(t.ownerDocument||t)!==M&&P(t),V(t,e)},e.attr=function(t,e){(t.ownerDocument||t)!==M&&P(t);var i=_.attrHandle[e.toLowerCase()],n=i&&W.call(_.attrHandle,e.toLowerCase())?i(t,e,!D):void 0;return void 0!==n?n:y.attributes||!D?t.getAttribute(e):(n=t.getAttributeNode(e))&&n.specified?n.value:null},e.escape=function(t){return(t+"").replace(vt,yt)},e.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},e.uniqueSort=function(t){var e,i=[],n=0,o=0;if(E=!y.detectDuplicates,I=!y.sortStable&&t.slice(0),t.sort(j),E){for(;e=t[o++];)e===t[o]&&(n=i.push(o));for(;n--;)t.splice(i[n],1)}return I=null,t},x=e.getText=function(t){var e,i="",n=0,o=t.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)i+=x(t)}else if(3===o||4===o)return t.nodeValue}else for(;e=t[n++];)i+=x(e);return i},_=e.selectors={cacheLength:50,createPseudo:n,match:dt,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(bt,Ct),t[3]=(t[3]||t[4]||t[5]||"").replace(bt,Ct),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||e.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&e.error(t[0]),t},PSEUDO:function(t){var e,i=!t[6]&&t[2];return dt.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":i&&ct.test(i)&&(e=S(i,!0))&&(e=i.indexOf(")",i.length-e)-i.length)&&(t[0]=t[0].slice(0,e),t[2]=i.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(bt,Ct).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=H[t+" "];return e||(e=new RegExp("(^|"+tt+")"+t+"("+tt+"|$)"))&&H(t,function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(t,i,n){return function(o){var s=e.attr(o,t);return null==s?"!="===i:!i||(s+="","="===i?s===n:"!="===i?s!==n:"^="===i?n&&0===s.indexOf(n):"*="===i?n&&s.indexOf(n)>-1:"$="===i?n&&s.slice(-n.length)===n:"~="===i?(" "+s.replace(ot," ")+" ").indexOf(n)>-1:"|="===i&&(s===n||s.slice(0,n.length+1)===n+"-"))}},CHILD:function(t,e,i,n,o){var s="nth"!==t.slice(0,3),a="last"!==t.slice(-4),r="of-type"===e;return 1===n&&0===o?function(t){return!!t.parentNode}:function(e,i,l){var c,h,d,p,u,m,g=s!==a?"nextSibling":"previousSibling",f=e.parentNode,b=r&&e.nodeName.toLowerCase(),C=!l&&!r,v=!1;if(f){if(s){for(;g;){for(p=e;p=p[g];)if(r?p.nodeName.toLowerCase()===b:1===p.nodeType)return!1;m=g="only"===t&&!m&&"nextSibling"}return!0}if(m=[a?f.firstChild:f.lastChild],a&&C){for(p=f,d=p[R]||(p[R]={}),h=d[p.uniqueID]||(d[p.uniqueID]={}),c=h[t]||[],u=c[0]===N&&c[1],v=u&&c[2],p=u&&f.childNodes[u];p=++u&&p&&p[g]||(v=u=0)||m.pop();)if(1===p.nodeType&&++v&&p===e){h[t]=[N,u,v];break}}else if(C&&(p=e,d=p[R]||(p[R]={}),h=d[p.uniqueID]||(d[p.uniqueID]={}),c=h[t]||[],u=c[0]===N&&c[1],v=u),!1===v)for(;(p=++u&&p&&p[g]||(v=u=0)||m.pop())&&((r?p.nodeName.toLowerCase()!==b:1!==p.nodeType)||!++v||(C&&(d=p[R]||(p[R]={}),h=d[p.uniqueID]||(d[p.uniqueID]={}),h[t]=[N,v]),p!==e)););return(v-=o)===n||v%n==0&&v/n>=0}}},PSEUDO:function(t,i){var o,s=_.pseudos[t]||_.setFilters[t.toLowerCase()]||e.error("unsupported pseudo: "+t);return s[R]?s(i):s.length>1?(o=[t,t,"",i],_.setFilters.hasOwnProperty(t.toLowerCase())?n(function(t,e){for(var n,o=s(t,i),a=o.length;a--;)n=J(t,o[a]),t[n]=!(e[n]=o[a])}):function(t){return s(t,0,o)}):s}},pseudos:{not:n(function(t){var e=[],i=[],o=T(t.replace(st,"$1"));return o[R]?n(function(t,e,i,n){for(var s,a=o(t,null,n,[]),r=t.length;r--;)(s=a[r])&&(t[r]=!(e[r]=s))}):function(t,n,s){return e[0]=t,o(e,null,s,i),e[0]=null,!i.pop()}}),has:n(function(t){return function(i){return e(t,i).length>0}}),contains:n(function(t){return t=t.replace(bt,Ct),function(e){return(e.textContent||e.innerText||x(e)).indexOf(t)>-1}}),lang:n(function(t){return ht.test(t||"")||e.error("unsupported lang: "+t),t=t.replace(bt,Ct).toLowerCase(),function(e){var i;do{if(i=D?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(i=i.toLowerCase())===t||0===i.indexOf(t+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var i=t.location&&t.location.hash;return i&&i.slice(1)===e.id},root:function(t){return t===U},focus:function(t){return t===M.activeElement&&(!M.hasFocus||M.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:r(!1),disabled:r(!0),checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!_.pseudos.empty(t)},header:function(t){return ut.test(t.nodeName)},input:function(t){return pt.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:l(function(){return[0]}),last:l(function(t,e){return[e-1]}),eq:l(function(t,e,i){return[i<0?i+e:i]}),even:l(function(t,e){for(var i=0;i=0;)t.push(n);return t}),gt:l(function(t,e,i){for(var n=i<0?i+e:i;++n2&&"ID"===(a=s[0]).type&&9===e.nodeType&&D&&_.relative[s[1].type]){if(!(e=(_.find.ID(a.matches[0].replace(bt,Ct),e)||[])[0]))return i;h&&(e=e.parentNode),t=t.slice(s.shift().value.length)}for(o=dt.needsContext.test(t)?0:s.length;o--&&(a=s[o],!_.relative[r=a.type]);)if((l=_.find[r])&&(n=l(a.matches[0].replace(bt,Ct),ft.test(s[0].type)&&c(e.parentNode)||e))){if(s.splice(o,1),!(t=n.length&&d(s)))return X.apply(i,n),i;break}}return(h||T(t,p))(n,e,!D,i,!e||ft.test(t)&&c(e.parentNode)||e),i},y.sortStable=R.split("").sort(j).join("")===R,y.detectDuplicates=!!E,P(),y.sortDetached=o(function(t){return 1&t.compareDocumentPosition(M.createElement("fieldset"))}),o(function(t){return t.innerHTML="","#"===t.firstChild.getAttribute("href")})||s("type|href|height|width",function(t,e,i){if(!i)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),y.attributes&&o(function(t){return t.innerHTML="",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||s("value",function(t,e,i){if(!i&&"input"===t.nodeName.toLowerCase())return t.defaultValue}),o(function(t){return null==t.getAttribute("disabled")})||s(Q,function(t,e,i){var n;if(!i)return!0===t[e]?e.toLowerCase():(n=t.getAttributeNode(e))&&n.specified?n.value:null}),e}(t);mt.find=vt,mt.expr=vt.selectors,mt.expr[":"]=mt.expr.pseudos,mt.uniqueSort=mt.unique=vt.uniqueSort,mt.text=vt.getText,mt.isXMLDoc=vt.isXML,mt.contains=vt.contains,mt.escapeSelector=vt.escape;var yt=function(t,e,i){for(var n=[],o=void 0!==i;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(o&&mt(t).is(i))break;n.push(t)}return n},_t=function(t,e){for(var i=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&i.push(t);return i},xt=mt.expr.match.needsContext,wt=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i,St=/^.[^:#\[\.,]*$/;mt.filter=function(t,e,i){var n=e[0];return i&&(t=":not("+t+")"),1===e.length&&1===n.nodeType?mt.find.matchesSelector(n,t)?[n]:[]:mt.find.matches(t,mt.grep(e,function(t){return 1===t.nodeType}))},mt.fn.extend({find:function(t){var e,i,n=this.length,o=this;if("string"!=typeof t)return this.pushStack(mt(t).filter(function(){for(e=0;e1?mt.uniqueSort(i):i},filter:function(t){return this.pushStack(s(this,t||[],!1))},not:function(t){return this.pushStack(s(this,t||[],!0))},is:function(t){return!!s(this,"string"==typeof t&&xt.test(t)?mt(t):t||[],!1).length}});var Tt,At=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(mt.fn.init=function(t,e,i){var n,o;if(!t)return this;if(i=i||Tt,"string"==typeof t){if(!(n="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:At.exec(t))||!n[1]&&e)return!e||e.jquery?(e||i).find(t):this.constructor(e).find(t);if(n[1]){if(e=e instanceof mt?e[0]:e,mt.merge(this,mt.parseHTML(n[1],e&&e.nodeType?e.ownerDocument||e:it,!0)),wt.test(n[1])&&mt.isPlainObject(e))for(n in e)mt.isFunction(this[n])?this[n](e[n]):this.attr(n,e[n]);return this}return o=it.getElementById(n[2]),o&&(this[0]=o,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):mt.isFunction(t)?void 0!==i.ready?i.ready(t):t(mt):mt.makeArray(t,this)}).prototype=mt.fn,Tt=mt(it);var kt=/^(?:parents|prev(?:Until|All))/,It={children:!0,contents:!0,next:!0,prev:!0};mt.fn.extend({has:function(t){var e=mt(t,this),i=e.length;return this.filter(function(){for(var t=0;t-1:1===i.nodeType&&mt.find.matchesSelector(i,t))){s.push(i);break}return this.pushStack(s.length>1?mt.uniqueSort(s):s)},index:function(t){return t?"string"==typeof t?rt.call(mt(t),this[0]):rt.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(mt.uniqueSort(mt.merge(this.get(),mt(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),mt.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return yt(t,"parentNode")},parentsUntil:function(t,e,i){return yt(t,"parentNode",i)},next:function(t){return a(t,"nextSibling")},prev:function(t){return a(t,"previousSibling")},nextAll:function(t){return yt(t,"nextSibling")},prevAll:function(t){return yt(t,"previousSibling")},nextUntil:function(t,e,i){return yt(t,"nextSibling",i)},prevUntil:function(t,e,i){return yt(t,"previousSibling",i)},siblings:function(t){return _t((t.parentNode||{}).firstChild,t)},children:function(t){return _t(t.firstChild)},contents:function(t){return o(t,"iframe")?t.contentDocument:(o(t,"template")&&(t=t.content||t),mt.merge([],t.childNodes))}},function(t,e){mt.fn[t]=function(i,n){var o=mt.map(this,e,i);return"Until"!==t.slice(-5)&&(n=i),n&&"string"==typeof n&&(o=mt.filter(n,o)),this.length>1&&(It[t]||mt.uniqueSort(o),kt.test(t)&&o.reverse()),this.pushStack(o)}});var Et=/[^\x20\t\r\n\f]+/g;mt.Callbacks=function(t){t="string"==typeof t?r(t):mt.extend({},t);var e,i,n,o,s=[],a=[],l=-1,c=function(){for(o=o||t.once,n=e=!0;a.length;l=-1)for(i=a.shift();++l-1;)s.splice(i,1),i<=l&&l--}),this},has:function(t){return t?mt.inArray(t,s)>-1:s.length>0},empty:function(){return s&&(s=[]),this},disable:function(){return o=a=[],s=i="",this},disabled:function(){return!s},lock:function(){return o=a=[],i||e||(s=i=""),this},locked:function(){return!!o},fireWith:function(t,i){return o||(i=i||[],i=[t,i.slice?i.slice():i],a.push(i),e||c()),this},fire:function(){return h.fireWith(this,arguments),this},fired:function(){return!!n}};return h},mt.extend({Deferred:function(e){var i=[["notify","progress",mt.Callbacks("memory"),mt.Callbacks("memory"),2],["resolve","done",mt.Callbacks("once memory"),mt.Callbacks("once memory"),0,"resolved"],["reject","fail",mt.Callbacks("once memory"),mt.Callbacks("once memory"),1,"rejected"]],n="pending",o={state:function(){return n},always:function(){return s.done(arguments).fail(arguments),this},catch:function(t){return o.then(null,t)},pipe:function(){var t=arguments;return mt.Deferred(function(e){mt.each(i,function(i,n){var o=mt.isFunction(t[n[4]])&&t[n[4]];s[n[1]](function(){var t=o&&o.apply(this,arguments);t&&mt.isFunction(t.promise)?t.promise().progress(e.notify).done(e.resolve).fail(e.reject):e[n[0]+"With"](this,o?[t]:arguments)})}),t=null}).promise()},then:function(e,n,o){function s(e,i,n,o){return function(){var r=this,h=arguments,d=function(){var t,d;if(!(e=a&&(n!==c&&(r=void 0,h=[t]),i.rejectWith(r,h))}};e?p():(mt.Deferred.getStackHook&&(p.stackTrace=mt.Deferred.getStackHook()),t.setTimeout(p))}}var a=0;return mt.Deferred(function(t){i[0][3].add(s(0,t,mt.isFunction(o)?o:l,t.notifyWith)),i[1][3].add(s(0,t,mt.isFunction(e)?e:l)),i[2][3].add(s(0,t,mt.isFunction(n)?n:c))}).promise()},promise:function(t){return null!=t?mt.extend(t,o):o}},s={};return mt.each(i,function(t,e){var a=e[2],r=e[5];o[e[1]]=a.add,r&&a.add(function(){n=r},i[3-t][2].disable,i[0][2].lock),a.add(e[3].fire),s[e[0]]=function(){return s[e[0]+"With"](this===s?void 0:this,arguments),this},s[e[0]+"With"]=a.fireWith}),o.promise(s),e&&e.call(s,s),s},when:function(t){var e=arguments.length,i=e,n=Array(i),o=ot.call(arguments),s=mt.Deferred(),a=function(t){return function(i){n[t]=this,o[t]=arguments.length>1?ot.call(arguments):i,--e||s.resolveWith(n,o)}};if(e<=1&&(h(t,s.done(a(i)).resolve,s.reject,!e),"pending"===s.state()||mt.isFunction(o[i]&&o[i].then)))return s.then();for(;i--;)h(o[i],a(i),s.reject);return s.promise()}});var Pt=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;mt.Deferred.exceptionHook=function(e,i){t.console&&t.console.warn&&e&&Pt.test(e.name)&&t.console.warn("jQuery.Deferred exception: "+e.message,e.stack,i)},mt.readyException=function(e){t.setTimeout(function(){throw e})};var Mt=mt.Deferred();mt.fn.ready=function(t){return Mt.then(t).catch(function(t){ mt.readyException(t)}),this},mt.extend({isReady:!1,readyWait:1,ready:function(t){(!0===t?--mt.readyWait:mt.isReady)||(mt.isReady=!0,!0!==t&&--mt.readyWait>0||Mt.resolveWith(it,[mt]))}}),mt.ready.then=Mt.then,"complete"===it.readyState||"loading"!==it.readyState&&!it.documentElement.doScroll?t.setTimeout(mt.ready):(it.addEventListener("DOMContentLoaded",d),t.addEventListener("load",d));var Ut=function(t,e,i,n,o,s,a){var r=0,l=t.length,c=null==i;if("object"===mt.type(i)){o=!0;for(r in i)Ut(t,e,r,i[r],!0,s,a)}else if(void 0!==n&&(o=!0,mt.isFunction(n)||(a=!0),c&&(a?(e.call(t,n),e=null):(c=e,e=function(t,e,i){return c.call(mt(t),i)})),e))for(;r1,null,!0)},removeData:function(t){return this.each(function(){Lt.remove(this,t)})}}),mt.extend({queue:function(t,e,i){var n;if(t)return e=(e||"fx")+"queue",n=Bt.get(t,e),i&&(!n||Array.isArray(i)?n=Bt.access(t,e,mt.makeArray(i)):n.push(i)),n||[]},dequeue:function(t,e){e=e||"fx";var i=mt.queue(t,e),n=i.length,o=i.shift(),s=mt._queueHooks(t,e),a=function(){mt.dequeue(t,e)};"inprogress"===o&&(o=i.shift(),n--),o&&("fx"===e&&i.unshift("inprogress"),delete s.stop,o.call(t,a,s)),!n&&s&&s.empty.fire()},_queueHooks:function(t,e){var i=e+"queueHooks";return Bt.get(t,i)||Bt.access(t,i,{empty:mt.Callbacks("once memory").add(function(){Bt.remove(t,[e+"queue",i])})})}}),mt.fn.extend({queue:function(t,e){var i=2;return"string"!=typeof t&&(e=t,t="fx",i--),arguments.length\x20\t\r\n\f]+)/i,Wt=/^$|\/(?:java|ecma)script/i,qt={option:[1,""],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};qt.optgroup=qt.option,qt.tbody=qt.tfoot=qt.colgroup=qt.caption=qt.thead,qt.th=qt.td;var Kt=/<|&#?\w+;/;!function(){var t=it.createDocumentFragment(),e=t.appendChild(it.createElement("div")),i=it.createElement("input");i.setAttribute("type","radio"),i.setAttribute("checked","checked"),i.setAttribute("name","t"),e.appendChild(i),ut.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,e.innerHTML="",ut.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue}();var Yt=it.documentElement,Xt=/^key/,Zt=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Jt=/^([^.]*)(?:\.(.+)|)/;mt.event={global:{},add:function(t,e,i,n,o){var s,a,r,l,c,h,d,p,u,m,g,f=Bt.get(t);if(f)for(i.handler&&(s=i,i=s.handler,o=s.selector),o&&mt.find.matchesSelector(Yt,o),i.guid||(i.guid=mt.guid++),(l=f.events)||(l=f.events={}),(a=f.handle)||(a=f.handle=function(e){return void 0!==mt&&mt.event.triggered!==e.type?mt.event.dispatch.apply(t,arguments):void 0}),e=(e||"").match(Et)||[""],c=e.length;c--;)r=Jt.exec(e[c])||[],u=g=r[1],m=(r[2]||"").split(".").sort(),u&&(d=mt.event.special[u]||{},u=(o?d.delegateType:d.bindType)||u,d=mt.event.special[u]||{},h=mt.extend({type:u,origType:g,data:n,handler:i,guid:i.guid,selector:o,needsContext:o&&mt.expr.match.needsContext.test(o),namespace:m.join(".")},s),(p=l[u])||(p=l[u]=[],p.delegateCount=0,d.setup&&!1!==d.setup.call(t,n,m,a)||t.addEventListener&&t.addEventListener(u,a)),d.add&&(d.add.call(t,h),h.handler.guid||(h.handler.guid=i.guid)),o?p.splice(p.delegateCount++,0,h):p.push(h),mt.event.global[u]=!0)},remove:function(t,e,i,n,o){var s,a,r,l,c,h,d,p,u,m,g,f=Bt.hasData(t)&&Bt.get(t);if(f&&(l=f.events)){for(e=(e||"").match(Et)||[""],c=e.length;c--;)if(r=Jt.exec(e[c])||[],u=g=r[1],m=(r[2]||"").split(".").sort(),u){for(d=mt.event.special[u]||{},u=(n?d.delegateType:d.bindType)||u,p=l[u]||[],r=r[2]&&new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=s=p.length;s--;)h=p[s],!o&&g!==h.origType||i&&i.guid!==h.guid||r&&!r.test(h.namespace)||n&&n!==h.selector&&("**"!==n||!h.selector)||(p.splice(s,1),h.selector&&p.delegateCount--,d.remove&&d.remove.call(t,h));a&&!p.length&&(d.teardown&&!1!==d.teardown.call(t,m,f.handle)||mt.removeEvent(t,u,f.handle),delete l[u])}else for(u in l)mt.event.remove(t,u+e[c],i,n,!0);mt.isEmptyObject(l)&&Bt.remove(t,"handle events")}},dispatch:function(t){var e,i,n,o,s,a,r=mt.event.fix(t),l=new Array(arguments.length),c=(Bt.get(this,"events")||{})[r.type]||[],h=mt.event.special[r.type]||{};for(l[0]=r,e=1;e=1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==t.type||!0!==c.disabled)){for(s=[],a={},i=0;i-1:mt.find(o,this,null,[c]).length),a[o]&&s.push(n);s.length&&r.push({elem:c,handlers:s})}return c=this,l\x20\t\r\n\f]*)[^>]*)\/>/gi,te=/\s*$/g;mt.extend({htmlPrefilter:function(t){return t.replace(Qt,"<$1>")},clone:function(t,e,i){var n,o,s,a,r=t.cloneNode(!0),l=mt.contains(t.ownerDocument,t);if(!(ut.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||mt.isXMLDoc(t)))for(a=C(r),s=C(t),n=0,o=s.length;n0&&v(a,!l&&C(t,"script")),r},cleanData:function(t){for(var e,i,n,o=mt.event.special,s=0;void 0!==(i=t[s]);s++)if(Dt(i)){if(e=i[Bt.expando]){if(e.events)for(n in e.events)o[n]?mt.event.remove(i,n):mt.removeEvent(i,n,e.handle);i[Bt.expando]=void 0}i[Lt.expando]&&(i[Lt.expando]=void 0)}}}),mt.fn.extend({detach:function(t){return M(this,t,!0)},remove:function(t){return M(this,t)},text:function(t){return Ut(this,function(t){return void 0===t?mt.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)})},null,t,arguments.length)},append:function(){return P(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){T(this,t).appendChild(t)}})},prepend:function(){return P(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=T(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return P(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return P(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(mt.cleanData(C(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return mt.clone(this,t,e)})},html:function(t){return Ut(this,function(t){var e=this[0]||{},i=0,n=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!te.test(t)&&!qt[(jt.exec(t)||["",""])[1].toLowerCase()]){t=mt.htmlPrefilter(t);try{for(;i1)}}),mt.Tween=O,O.prototype={constructor:O,init:function(t,e,i,n,o,s){this.elem=t,this.prop=i,this.easing=o||mt.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=n,this.unit=s||(mt.cssNumber[i]?"":"px")},cur:function(){var t=O.propHooks[this.prop];return t&&t.get?t.get(this):O.propHooks._default.get(this)},run:function(t){var e,i=O.propHooks[this.prop];return this.options.duration?this.pos=e=mt.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),i&&i.set?i.set(this):O.propHooks._default.set(this),this}},O.prototype.init.prototype=O.prototype,O.propHooks={_default:{get:function(t){var e;return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(e=mt.css(t.elem,t.prop,""),e&&"auto"!==e?e:0)},set:function(t){mt.fx.step[t.prop]?mt.fx.step[t.prop](t):1!==t.elem.nodeType||null==t.elem.style[mt.cssProps[t.prop]]&&!mt.cssHooks[t.prop]?t.elem[t.prop]=t.now:mt.style(t.elem,t.prop,t.now+t.unit)}}},O.propHooks.scrollTop=O.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},mt.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},mt.fx=O.prototype.init,mt.fx.step={};var ue,me,ge=/^(?:toggle|show|hide)$/,fe=/queueHooks$/;mt.Animation=mt.extend(W,{tweeners:{"*":[function(t,e){var i=this.createTween(t,e);return g(i.elem,t,Ot.exec(e),i),i}]},tweener:function(t,e){mt.isFunction(t)?(e=t,t=["*"]):t=t.match(Et);for(var i,n=0,o=t.length;n1)},removeAttr:function(t){return this.each(function(){mt.removeAttr(this,t)})}}),mt.extend({attr:function(t,e,i){var n,o,s=t.nodeType;if(3!==s&&8!==s&&2!==s)return void 0===t.getAttribute?mt.prop(t,e,i):(1===s&&mt.isXMLDoc(t)||(o=mt.attrHooks[e.toLowerCase()]||(mt.expr.match.bool.test(e)?be:void 0)),void 0!==i?null===i?void mt.removeAttr(t,e):o&&"set"in o&&void 0!==(n=o.set(t,i,e))?n:(t.setAttribute(e,i+""),i):o&&"get"in o&&null!==(n=o.get(t,e))?n:(n=mt.find.attr(t,e),null==n?void 0:n))},attrHooks:{type:{set:function(t,e){if(!ut.radioValue&&"radio"===e&&o(t,"input")){var i=t.value;return t.setAttribute("type",e),i&&(t.value=i),e}}}},removeAttr:function(t,e){var i,n=0,o=e&&e.match(Et);if(o&&1===t.nodeType)for(;i=o[n++];)t.removeAttribute(i)}}),be={set:function(t,e,i){return!1===e?mt.removeAttr(t,i):t.setAttribute(i,i),i}},mt.each(mt.expr.match.bool.source.match(/\w+/g),function(t,e){var i=Ce[e]||mt.find.attr;Ce[e]=function(t,e,n){var o,s,a=e.toLowerCase();return n||(s=Ce[a],Ce[a]=o,o=null!=i(t,e,n)?a:null,Ce[a]=s),o}});var ve=/^(?:input|select|textarea|button)$/i,ye=/^(?:a|area)$/i;mt.fn.extend({prop:function(t,e){return Ut(this,mt.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each(function(){delete this[mt.propFix[t]||t]})}}),mt.extend({prop:function(t,e,i){var n,o,s=t.nodeType;if(3!==s&&8!==s&&2!==s)return 1===s&&mt.isXMLDoc(t)||(e=mt.propFix[e]||e,o=mt.propHooks[e]),void 0!==i?o&&"set"in o&&void 0!==(n=o.set(t,i,e))?n:t[e]=i:o&&"get"in o&&null!==(n=o.get(t,e))?n:t[e]},propHooks:{tabIndex:{get:function(t){var e=mt.find.attr(t,"tabindex");return e?parseInt(e,10):ve.test(t.nodeName)||ye.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),ut.optSelected||(mt.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(t){var e=t.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),mt.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){mt.propFix[this.toLowerCase()]=this}),mt.fn.extend({addClass:function(t){var e,i,n,o,s,a,r,l=0;if(mt.isFunction(t))return this.each(function(e){mt(this).addClass(t.call(this,e,K(this)))});if("string"==typeof t&&t)for(e=t.match(Et)||[];i=this[l++];)if(o=K(i),n=1===i.nodeType&&" "+q(o)+" "){for(a=0;s=e[a++];)n.indexOf(" "+s+" ")<0&&(n+=s+" ");r=q(n),o!==r&&i.setAttribute("class",r)}return this},removeClass:function(t){var e,i,n,o,s,a,r,l=0;if(mt.isFunction(t))return this.each(function(e){mt(this).removeClass(t.call(this,e,K(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof t&&t)for(e=t.match(Et)||[];i=this[l++];)if(o=K(i),n=1===i.nodeType&&" "+q(o)+" "){for(a=0;s=e[a++];)for(;n.indexOf(" "+s+" ")>-1;)n=n.replace(" "+s+" "," ");r=q(n),o!==r&&i.setAttribute("class",r)}return this},toggleClass:function(t,e){var i=typeof t;return"boolean"==typeof e&&"string"===i?e?this.addClass(t):this.removeClass(t):mt.isFunction(t)?this.each(function(i){mt(this).toggleClass(t.call(this,i,K(this),e),e)}):this.each(function(){var e,n,o,s;if("string"===i)for(n=0,o=mt(this),s=t.match(Et)||[];e=s[n++];)o.hasClass(e)?o.removeClass(e):o.addClass(e);else void 0!==t&&"boolean"!==i||(e=K(this),e&&Bt.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",e||!1===t?"":Bt.get(this,"__className__")||""))})},hasClass:function(t){var e,i,n=0;for(e=" "+t+" ";i=this[n++];)if(1===i.nodeType&&(" "+q(K(i))+" ").indexOf(e)>-1)return!0;return!1}});var _e=/\r/g;mt.fn.extend({val:function(t){var e,i,n,o=this[0];{if(arguments.length)return n=mt.isFunction(t),this.each(function(i){var o;1===this.nodeType&&(o=n?t.call(this,i,mt(this).val()):t,null==o?o="":"number"==typeof o?o+="":Array.isArray(o)&&(o=mt.map(o,function(t){return null==t?"":t+""})),(e=mt.valHooks[this.type]||mt.valHooks[this.nodeName.toLowerCase()])&&"set"in e&&void 0!==e.set(this,o,"value")||(this.value=o))});if(o)return(e=mt.valHooks[o.type]||mt.valHooks[o.nodeName.toLowerCase()])&&"get"in e&&void 0!==(i=e.get(o,"value"))?i:(i=o.value,"string"==typeof i?i.replace(_e,""):null==i?"":i)}}}),mt.extend({valHooks:{option:{get:function(t){var e=mt.find.attr(t,"value");return null!=e?e:q(mt.text(t))}},select:{get:function(t){var e,i,n,s=t.options,a=t.selectedIndex,r="select-one"===t.type,l=r?null:[],c=r?a+1:s.length;for(n=a<0?c:r?a:0;n-1)&&(i=!0);return i||(t.selectedIndex=-1),s}}}}),mt.each(["radio","checkbox"],function(){mt.valHooks[this]={set:function(t,e){if(Array.isArray(e))return t.checked=mt.inArray(mt(t).val(),e)>-1}},ut.checkOn||(mt.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})});var xe=/^(?:focusinfocus|focusoutblur)$/;mt.extend(mt.event,{trigger:function(e,i,n,o){var s,a,r,l,c,h,d,p=[n||it],u=ht.call(e,"type")?e.type:e,m=ht.call(e,"namespace")?e.namespace.split("."):[];if(a=r=n=n||it,3!==n.nodeType&&8!==n.nodeType&&!xe.test(u+mt.event.triggered)&&(u.indexOf(".")>-1&&(m=u.split("."),u=m.shift(),m.sort()),c=u.indexOf(":")<0&&"on"+u,e=e[mt.expando]?e:new mt.Event(u,"object"==typeof e&&e),e.isTrigger=o?2:3,e.namespace=m.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),i=null==i?[e]:mt.makeArray(i,[e]),d=mt.event.special[u]||{},o||!d.trigger||!1!==d.trigger.apply(n,i))){if(!o&&!d.noBubble&&!mt.isWindow(n)){for(l=d.delegateType||u,xe.test(l+u)||(a=a.parentNode);a;a=a.parentNode)p.push(a),r=a;r===(n.ownerDocument||it)&&p.push(r.defaultView||r.parentWindow||t)}for(s=0;(a=p[s++])&&!e.isPropagationStopped();)e.type=s>1?l:d.bindType||u,h=(Bt.get(a,"events")||{})[e.type]&&Bt.get(a,"handle"),h&&h.apply(a,i),(h=c&&a[c])&&h.apply&&Dt(a)&&(e.result=h.apply(a,i),!1===e.result&&e.preventDefault());return e.type=u,o||e.isDefaultPrevented()||d._default&&!1!==d._default.apply(p.pop(),i)||!Dt(n)||c&&mt.isFunction(n[u])&&!mt.isWindow(n)&&(r=n[c],r&&(n[c]=null),mt.event.triggered=u,n[u](),mt.event.triggered=void 0,r&&(n[c]=r)),e.result}},simulate:function(t,e,i){var n=mt.extend(new mt.Event,i,{type:t,isSimulated:!0});mt.event.trigger(n,null,e)}}),mt.fn.extend({trigger:function(t,e){return this.each(function(){mt.event.trigger(t,e,this)})},triggerHandler:function(t,e){var i=this[0];if(i)return mt.event.trigger(t,e,i,!0)}}),mt.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(t,e){mt.fn[e]=function(t,i){return arguments.length>0?this.on(e,null,t,i):this.trigger(e)}}),mt.fn.extend({hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)}}),ut.focusin="onfocusin"in t,ut.focusin||mt.each({focus:"focusin",blur:"focusout"},function(t,e){var i=function(t){mt.event.simulate(e,t.target,mt.event.fix(t))};mt.event.special[e]={setup:function(){var n=this.ownerDocument||this,o=Bt.access(n,e);o||n.addEventListener(t,i,!0),Bt.access(n,e,(o||0)+1)},teardown:function(){var n=this.ownerDocument||this,o=Bt.access(n,e)-1;o?Bt.access(n,e,o):(n.removeEventListener(t,i,!0),Bt.remove(n,e))}}});var we=t.location,Se=mt.now(),Te=/\?/;mt.parseXML=function(e){var i;if(!e||"string"!=typeof e)return null;try{i=(new t.DOMParser).parseFromString(e,"text/xml")}catch(t){i=void 0}return i&&!i.getElementsByTagName("parsererror").length||mt.error("Invalid XML: "+e),i};var Ae=/\[\]$/,ke=/\r?\n/g,Ie=/^(?:submit|button|image|reset|file)$/i,Ee=/^(?:input|select|textarea|keygen)/i;mt.param=function(t,e){var i,n=[],o=function(t,e){var i=mt.isFunction(e)?e():e;n[n.length]=encodeURIComponent(t)+"="+encodeURIComponent(null==i?"":i)};if(Array.isArray(t)||t.jquery&&!mt.isPlainObject(t))mt.each(t,function(){o(this.name,this.value)});else for(i in t)Y(i,t[i],e,o);return n.join("&")},mt.fn.extend({serialize:function(){return mt.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=mt.prop(this,"elements");return t?mt.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!mt(this).is(":disabled")&&Ee.test(this.nodeName)&&!Ie.test(t)&&(this.checked||!$t.test(t))}).map(function(t,e){var i=mt(this).val();return null==i?null:Array.isArray(i)?mt.map(i,function(t){return{name:e.name,value:t.replace(ke,"\r\n")}}):{name:e.name,value:i.replace(ke,"\r\n")}}).get()}});var Pe=/%20/g,Me=/#.*$/,Ue=/([?&])_=[^&]*/,De=/^(.*?):[ \t]*([^\r\n]*)$/gm,Be=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Le=/^(?:GET|HEAD)$/,Fe=/^\/\//,Ve={},Re={},Oe="*/".concat("*"),Ne=it.createElement("a");Ne.href=we.href,mt.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:we.href,type:"GET",isLocal:Be.test(we.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Oe,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":mt.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?J(J(t,mt.ajaxSettings),e):J(mt.ajaxSettings,t)},ajaxPrefilter:X(Ve),ajaxTransport:X(Re),ajax:function(e,i){function n(e,i,n,r){var c,p,u,y,_,x=i;h||(h=!0,l&&t.clearTimeout(l),o=void 0,a=r||"",w.readyState=e>0?4:0,c=e>=200&&e<300||304===e,n&&(y=Q(m,w,n)),y=tt(m,y,w,c),c?(m.ifModified&&(_=w.getResponseHeader("Last-Modified"),_&&(mt.lastModified[s]=_),(_=w.getResponseHeader("etag"))&&(mt.etag[s]=_)),204===e||"HEAD"===m.type?x="nocontent":304===e?x="notmodified":(x=y.state,p=y.data,u=y.error,c=!u)):(u=x,!e&&x||(x="error",e<0&&(e=0))),w.status=e,w.statusText=(i||x)+"",c?b.resolveWith(g,[p,x,w]):b.rejectWith(g,[w,x,u]),w.statusCode(v),v=void 0,d&&f.trigger(c?"ajaxSuccess":"ajaxError",[w,m,c?p:u]),C.fireWith(g,[w,x]),d&&(f.trigger("ajaxComplete",[w,m]),--mt.active||mt.event.trigger("ajaxStop")))}"object"==typeof e&&(i=e,e=void 0),i=i||{};var o,s,a,r,l,c,h,d,p,u,m=mt.ajaxSetup({},i),g=m.context||m,f=m.context&&(g.nodeType||g.jquery)?mt(g):mt.event,b=mt.Deferred(),C=mt.Callbacks("once memory"),v=m.statusCode||{},y={},_={},x="canceled",w={readyState:0,getResponseHeader:function(t){var e;if(h){if(!r)for(r={};e=De.exec(a);)r[e[1].toLowerCase()]=e[2];e=r[t.toLowerCase()]}return null==e?null:e},getAllResponseHeaders:function(){return h?a:null},setRequestHeader:function(t,e){return null==h&&(t=_[t.toLowerCase()]=_[t.toLowerCase()]||t,y[t]=e),this},overrideMimeType:function(t){return null==h&&(m.mimeType=t),this},statusCode:function(t){var e;if(t)if(h)w.always(t[w.status]);else for(e in t)v[e]=[v[e],t[e]];return this},abort:function(t){var e=t||x;return o&&o.abort(e),n(0,e),this}};if(b.promise(w),m.url=((e||m.url||we.href)+"").replace(Fe,we.protocol+"//"),m.type=i.method||i.type||m.method||m.type,m.dataTypes=(m.dataType||"*").toLowerCase().match(Et)||[""],null==m.crossDomain){c=it.createElement("a");try{c.href=m.url,c.href=c.href,m.crossDomain=Ne.protocol+"//"+Ne.host!=c.protocol+"//"+c.host}catch(t){m.crossDomain=!0}}if(m.data&&m.processData&&"string"!=typeof m.data&&(m.data=mt.param(m.data,m.traditional)),Z(Ve,m,i,w),h)return w;d=mt.event&&m.global,d&&0==mt.active++&&mt.event.trigger("ajaxStart"),m.type=m.type.toUpperCase(),m.hasContent=!Le.test(m.type),s=m.url.replace(Me,""),m.hasContent?m.data&&m.processData&&0===(m.contentType||"").indexOf("application/x-www-form-urlencoded")&&(m.data=m.data.replace(Pe,"+")):(u=m.url.slice(s.length),m.data&&(s+=(Te.test(s)?"&":"?")+m.data,delete m.data),!1===m.cache&&(s=s.replace(Ue,"$1"),u=(Te.test(s)?"&":"?")+"_="+Se+++u),m.url=s+u),m.ifModified&&(mt.lastModified[s]&&w.setRequestHeader("If-Modified-Since",mt.lastModified[s]),mt.etag[s]&&w.setRequestHeader("If-None-Match",mt.etag[s])),(m.data&&m.hasContent&&!1!==m.contentType||i.contentType)&&w.setRequestHeader("Content-Type",m.contentType),w.setRequestHeader("Accept",m.dataTypes[0]&&m.accepts[m.dataTypes[0]]?m.accepts[m.dataTypes[0]]+("*"!==m.dataTypes[0]?", "+Oe+"; q=0.01":""):m.accepts["*"]);for(p in m.headers)w.setRequestHeader(p,m.headers[p]);if(m.beforeSend&&(!1===m.beforeSend.call(g,w,m)||h))return w.abort();if(x="abort",C.add(m.complete),w.done(m.success),w.fail(m.error),o=Z(Re,m,i,w)){if(w.readyState=1,d&&f.trigger("ajaxSend",[w,m]),h)return w;m.async&&m.timeout>0&&(l=t.setTimeout(function(){w.abort("timeout")},m.timeout));try{h=!1,o.send(y,n)}catch(t){if(h)throw t;n(-1,t)}}else n(-1,"No Transport");return w},getJSON:function(t,e,i){return mt.get(t,e,i,"json")},getScript:function(t,e){return mt.get(t,void 0,e,"script")}}),mt.each(["get","post"],function(t,e){mt[e]=function(t,i,n,o){return mt.isFunction(i)&&(o=o||n,n=i,i=void 0),mt.ajax(mt.extend({url:t,type:e,dataType:o,data:i,success:n},mt.isPlainObject(t)&&t))}}),mt._evalUrl=function(t){return mt.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})},mt.fn.extend({wrapAll:function(t){var e;return this[0]&&(mt.isFunction(t)&&(t=t.call(this[0])),e=mt(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t}).append(this)),this},wrapInner:function(t){return mt.isFunction(t)?this.each(function(e){mt(this).wrapInner(t.call(this,e))}):this.each(function(){var e=mt(this),i=e.contents();i.length?i.wrapAll(t):e.append(t)})},wrap:function(t){var e=mt.isFunction(t);return this.each(function(i){mt(this).wrapAll(e?t.call(this,i):t)})},unwrap:function(t){return this.parent(t).not("body").each(function(){mt(this).replaceWith(this.childNodes)}),this}}),mt.expr.pseudos.hidden=function(t){return!mt.expr.pseudos.visible(t)},mt.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},mt.ajaxSettings.xhr=function(){try{return new t.XMLHttpRequest}catch(t){}};var ze={0:200,1223:204},He=mt.ajaxSettings.xhr();ut.cors=!!He&&"withCredentials"in He,ut.ajax=He=!!He,mt.ajaxTransport(function(e){var i,n;if(ut.cors||He&&!e.crossDomain)return{send:function(o,s){var a,r=e.xhr();if(r.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(a in e.xhrFields)r[a]=e.xhrFields[a];e.mimeType&&r.overrideMimeType&&r.overrideMimeType(e.mimeType),e.crossDomain||o["X-Requested-With"]||(o["X-Requested-With"]="XMLHttpRequest");for(a in o)r.setRequestHeader(a,o[a]);i=function(t){return function(){i&&(i=n=r.onload=r.onerror=r.onabort=r.onreadystatechange=null,"abort"===t?r.abort():"error"===t?"number"!=typeof r.status?s(0,"error"):s(r.status,r.statusText):s(ze[r.status]||r.status,r.statusText,"text"!==(r.responseType||"text")||"string"!=typeof r.responseText?{binary:r.response}:{text:r.responseText},r.getAllResponseHeaders()))}},r.onload=i(),n=r.onerror=i("error"),void 0!==r.onabort?r.onabort=n:r.onreadystatechange=function(){4===r.readyState&&t.setTimeout(function(){i&&n()})},i=i("abort");try{r.send(e.hasContent&&e.data||null)}catch(t){if(i)throw t}},abort:function(){i&&i()}}}),mt.ajaxPrefilter(function(t){t.crossDomain&&(t.contents.script=!1)}),mt.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return mt.globalEval(t),t}}}),mt.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")}),mt.ajaxTransport("script",function(t){if(t.crossDomain){var e,i;return{send:function(n,o){e=mt("