vendor: 5,900 bytes, line 1
1/* h5ai 0.25.2 - http://larsjung.de/h5ai/ */window.Modernizr=function(e,t,n){function r(e){m.cssText=e}function i(e,t){return r(v.join(e+";")+(t||""))}function o(e,t){return typeof e===t}function a(e,t){return!!~(""+e).indexOf(t)}var s,u,c,l="2.8.2",f={},d=!0,h=t.documentElement,p="modernizr",g=t.createElement(p),m=g.style,v=({}.toString," -webkit- -moz- -o- -ms- ".split(" ")),y={},b=[],w=b.slice,x={}.hasOwnProperty;c=o(x,"undefined")||o(x.call,"undefined")?function(e,t){return t in e&&o(e.constructor.prototype[t],"undefined")}:function(e,t){return x.call(e,t)},Function.prototype.bind||(Function.prototype.bind=function(e){var t=this;if("function"!=typeof t)throw new TypeError;var n=w.call(arguments,1),r=function(){if(this instanceof r){var i=function(){};i.prototype=t.prototype;var o=new i,a=t.apply(o,n.concat(w.call(arguments)));return Object(a)===a?a:o}return t.apply(e,n.concat(w.call(arguments)))};return r}),y.canvas=function(){var e=t.createElement("canvas");return!!e.getContext&&!!e.getContext("2d")},y.history=function(){return!!e.history&&!!history.pushState},y.rgba=function(){return r("background-color:rgba(150,255,150,.5)"),a(m.backgroundColor,"rgba")},y.opacity=function(){return i("opacity:.55"),/^0.55$/.test(m.opacity)},y.video=function(){var e=t.createElement("video"),n=!1;try{(n=!!e.canPlayType)&&(n=new Boolean(n),n.ogg=e.canPlayType('video/ogg; codecs="theora"').replace(/^no$/,""),n.h264=e.canPlayType('video/mp4; codecs="avc1.42E01E"').replace(/^no$/,""),n.webm=e.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/,""))}catch(r){}return n},y.audio=function(){var e=t.createElement("audio"),n=!1;try{(n=!!e.canPlayType)&&(n=new Boolean(n),n.ogg=e.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),n.mp3=e.canPlayType("audio/mpeg;").replace(/^no$/,""),n.wav=e.canPlayType('audio/wav; codecs="1"').replace(/^no$/,""),n.m4a=(e.canPlayType("audio/x-m4a;")||e.canPlayType("audio/aac;")).replace(/^no$/,""))}catch(r){}return n},y.localstorage=function(){try{return localStorage.setItem(p,p),localStorage.removeItem(p),!0}catch(e){return!1}};for(var _ in y)c(y,_)&&(u=_.toLowerCase(),f[u]=y[_](),b.push((f[u]?"":"no-")+u));return f.addTest=function(e,t){if("object"==typeof e)for(var r in e)c(e,r)&&f.addTest(r,e[r]);else{if(e=e.toLowerCase(),f[e]!==n)return f;t="function"==typeof t?t():t,"undefined"!=typeof d&&d&&(h.className+=" "+(t?"":"no-")+e),f[e]=t}return f},r(""),g=s=null,function(e,t){function n(e,t){var n=e.createElement("p"),r=e.getElementsByTagName("head")[0]||e.documentElement;return n.innerHTML="x<style>"+t+"</style>",r.insertBefore(n.lastChild,r.firstChild)}function r(){var e=y.elements;return"string"==typeof e?e.split(" "):e}function i(e){var t=v[e[g]];return t||(t={},m++,e[g]=m,v[m]=t),t}function o(e,n,r){if(n||(n=t),l)return n.createElement(e);r||(r=i(n));var o;return o=r.cache[e]?r.cache[e].cloneNode():p.test(e)?(r.cache[e]=r.createElem(e)).cloneNode():r.createElem(e),!o.canHaveChildren||h.test(e)||o.tagUrn?o:r.frag.appendChild(o)}function a(e,n){if(e||(e=t),l)return e.createDocumentFragment();n=n||i(e);for(var o=n.frag.cloneNode(),a=0,s=r(),u=s.length;u>a;a++)o.createElement(s[a]);return o}function s(e,t){t.cache||(t.cache={},t.createElem=e.createElement,t.createFrag=e.createDocumentFragment,t.frag=t.createFrag()),e.createElement=function(n){return y.shivMethods?o(n,e,t):t.createElem(n)},e.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+r().join().replace(/[\w\-]+/g,function(e){return t.createElem(e),t.frag.createElement(e),'c("'+e+'")'})+");return n}")(y,t.frag)}function u(e){e||(e=t);var r=i(e);return y.shivCSS&&!c&&!r.hasCSS&&(r.hasCSS=!!n(e,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),l||s(e,r),e}var c,l,f="3.7.0",d=e.html5||{},h=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,p=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,g="_html5shiv",m=0,v={};!function(){try{var e=t.createElement("a");e.innerHTML="<xyz></xyz>",c="hidden"in e,l=1==e.childNodes.length||function(){t.createElement("a");var e=t.createDocumentFragment();return"undefined"==typeof e.cloneNode||"undefined"==typeof e.createDocumentFragment||"undefined"==typeof e.createElement}()}catch(n){c=!0,l=!0}}();var y={elements:d.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output progress section summary template time video",version:f,shivCSS:d.shivCSS!==!1,supportsUnknownElements:l,shivMethods:d.shivMethods!==!1,type:"default",shivDocument:u,createElement:o,createDocumentFragment:a};e.html5=y,u(t)}(this,t),f._version=l,f._prefixes=v,h.className=h.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(d?" js "+b.join(" "):""),f}(this,this.document),function(){var e=this,t=e._,n={},r=Array.prototype,i=Object.prototype,o=Function.prototype,a=r.push,s=r.slice,u=r.concat,c=i.toString,l=i.hasOwnProperty,f=r.forEach,d=r.map,h=r.reduce,p=r.reduceRight,g=r.filter,m=r.every,v=r.some,y=r.indexOf,b=r.lastIndexOf,w=Array.isArray,x=Object.keys,_=o.bind,k=function(e){return e instanceof k?e:this instanceof k?(this._wrapped=e,void 0):new k(e)};"undefined"!=typeof exports?("undefined"!=typeof module&&module.exports&&(exports=module.exports=k),exports._=k):e._=k,k.VERSION="1.6.0";var T=k.each=k.forEach=function(e,t,r){if(null==e)return e;if(f&&e.forEach===f)e.forEach(t,r);else if(e.length===+e.length){for(var i=0,o=e.length;o>i;i++)if(t.call(r,e[i],i,e)===n)return}else for(var a=k.keys(e),i=0,o=a.length;o>i;i++)if(t.call(r,e[a[i]],a[i],e)===n)return;return e};k.map=k.collect=function(e,t,n){var r=[];return null==e?r:d&&e.map===d?e.map(t,n):(T(e,function(e,i,o){r.push(t.call(n,e,i,o))}),r)};
1var C="Reduce of empty array with no initial value";k.reduce=k.foldl=k.inject=function(e,t,n,r){var i=arguments.length>2;if(null==e&&(e=[]),h&&e.reduce===h)return r&&(t=k.bind(t,r)),i?e.reduce(t,n):e.reduce(t);if(T(e,function(e,o,a){i?n=t.call(r,n,e,o,a):(n=e,i=!0)}),!i)throw new TypeError(C);return n},k.reduceRight=k.foldr=function(e,t,n,r){var i=arguments.length>2;if(null==e&&(e=[]),p&&e.reduceRight===p)return r&&(t=k.bind(t,r)),i?e.reduceRight(t,n):e.reduceRight(t);var o=e.length;if(o!==+o){var a=k.keys(e);o=a.length}if(T(e,function(s,u,c){u=a?a[--o]:--o,i?n=t.call(r,n,e[u],u,c):(n=e[u],i=!0)}),!i)throw new TypeError(C);return n},k.find=k.detect=function(e,t,n){var r;return S(e,function(e,i,o){return t.call(n,e,i,o)?(r=e,!0):void 0}),r},k.filter=k.select=function(e,t,n){var r=[];return null==e?r:g&&e.filter===g?e.filter(t,n):(T(e,function(e,i,o){t.call(n,e,i,o)&&r.push(e)}),r)},k.reject=function(e,t,n){return k.filter(e,function(e,r,i){return!t.call(n,e,r,i)},n)},k.every=k.all=function(e,t,r){t||(t=k.identity);var i=!0;return null==e?i:m&&e.every===m?e.every(t,r):(T(e,function(e,o,a){return(i=i&&t.call(r,e,o,a))?void 0:n}),!!i)};var S=k.some=k.any=function(e,t,r){t||(t=k.identity);var i=!1;return null==e?i:v&&e.some===v?e.some(t,r):(T(e,function(e,o,a){return i||(i=t.call(r,e,o,a))?n:void 0}),!!i)};k.contains=k.include=function(e,t){return null==e?!1:y&&e.indexOf===y?-1!=e.indexOf(t):S(e,function(e){return e===t})},k.invoke=function(e,t){var n=s.call(arguments,2),r=k.isFunction(t);return k.map(e,function(e){return(r?t:e[t]).apply(e,n)})},k.pluck=function(e,t){return k.map(e,k.property(t))},k.where=function(e,t){return k.filter(e,k.matches(t))},k.findWhere=function(e,t){return k.find(e,k.matches(t))},k.max=function(e,t,n){if(!t&&k.isArray(e)&&e[0]===+e[0]&&e.length<65535)return Math.max.apply(Math,e);var r=-1/0,i=-1/0;return T(e,function(e,o,a){var s=t?t.call(n,e,o,a):e;s>i&&(r=e,i=s)}),r},k.min=function(e,t,n){if(!t&&k.isArray(e)&&e[0]===+e[0]&&e.length<65535)return Math.min.apply(Math,e);var r=1/0,i=1/0;return T(e,function(e,o,a){var s=t?t.call(n,e,o,a):e;i>s&&(r=e,i=s)}),r},k.shuffle=function(e){var t,n=0,r=[];return T(e,function(e){t=k.random(n++),r[n-1]=r[t],r[t]=e}),r},k.sample=function(e,t,n){return null==t||n?(e.length!==+e.length&&(e=k.values(e)),e[k.random(e.length-1)]):k.shuffle(e).slice(0,Math.max(0,t))};var D=function(e){return null==e?k.identity:k.isFunction(e)?e:k.property(e)};k.sortBy=function(e,t,n){return t=D(t),k.pluck(k.map(e,function(e,r,i){return{value:e,index:r,criteria:t.call(n,e,r,i)}}).sort(function(e,t){var n=e.criteria,r=t.criteria;if(n!==r){if(n>r||void 0===n)return 1;if(r>n||void 0===r)return-1}return e.index-t.index}),"value")};var M=function(e){return function(t,n,r){var i={};return n=D(n),T(t,function(o,a){var s=n.call(r,o,a,t);e(i,s,o)}),i}};k.groupBy=M(function(e,t,n){k.has(e,t)?e[t].push(n):e[t]=[n]}),k.indexBy=M(function(e,t,n){e[t]=n}),k.countBy=M(function(e,t){k.has(e,t)?e[t]++:e[t]=1}),k.sortedIndex=function(e,t,n,r){n=D(n);for(var i=n.call(r,t),o=0,a=e.length;a>o;){var s=o+a>>>1;n.call(r,e[s])<i?o=s+1:a=s}return o},k.toArray=function(e){return e?k.isArray(e)?s.call(e):e.length===+e.length?k.map(e,k.identity):k.values(e):[]},k.size=function(e){return null==e?0:e.length===+e.length?e.length:k.keys(e).length},k.first=k.head=k.take=function(e,t,n){return null==e?void 0:null==t||n?e[0]:0>t?[]:s.call(e,0,t)},k.initial=function(e,t,n){return s.call(e,0,e.length-(null==t||n?1:t))},k.last=function(e,t,n){return null==e?void 0:null==t||n?e[e.length-1]:s.call(e,Math.max(e.length-t,0))},k.rest=k.tail=k.drop=function(e,t,n){return s.call(e,null==t||n?1:t)},k.compact=function(e){return k.filter(e,k.identity)};var E=function(e,t,n){return t&&k.every(e,k.isArray)?u.apply(n,e):(T(e,function(e){k.isArray(e)||k.isArguments(e)?t?a.apply(n,e):E(e,t,n):n.push(e)}),n)};k.flatten=function(e,t){return E(e,t,[])},k.without=function(e){return k.difference(e,s.call(arguments,1))},k.partition=function(e,t){var n=[],r=[];return T(e,function(e){(t(e)?n:r).push(e)}),[n,r]},k.uniq=k.unique=function(e,t,n,r){k.isFunction(t)&&(r=n,n=t,t=!1);var i=n?k.map(e,n,r):e,o=[],a=[];return T(i,function(n,r){(t?r&&a[a.length-1]===n:k.contains(a,n))||(a.push(n),o.push(e[r]))}),o},k.union=function(){return k.uniq(k.flatten(arguments,!0))}
1,k.intersection=function(e){var t=s.call(arguments,1);return k.filter(k.uniq(e),function(e){return k.every(t,function(t){return k.contains(t,e)})})},k.difference=function(e){var t=u.apply(r,s.call(arguments,1));return k.filter(e,function(e){return!k.contains(t,e)})},k.zip=function(){for(var e=k.max(k.pluck(arguments,"length").concat(0)),t=new Array(e),n=0;e>n;n++)t[n]=k.pluck(arguments,""+n);return t},k.object=function(e,t){if(null==e)return{};for(var n={},r=0,i=e.length;i>r;r++)t?n[e[r]]=t[r]:n[e[r][0]]=e[r][1];return n},k.indexOf=function(e,t,n){if(null==e)return-1;var r=0,i=e.length;if(n){if("number"!=typeof n)return r=k.sortedIndex(e,t),e[r]===t?r:-1;r=0>n?Math.max(0,i+n):n}if(y&&e.indexOf===y)return e.indexOf(t,n);for(;i>r;r++)if(e[r]===t)return r;return-1},k.lastIndexOf=function(e,t,n){if(null==e)return-1;var r=null!=n;if(b&&e.lastIndexOf===b)return r?e.lastIndexOf(t,n):e.lastIndexOf(t);for(var i=r?n:e.length;i--;)if(e[i]===t)return i;return-1},k.range=function(e,t,n){arguments.length<=1&&(t=e||0,e=0),n=arguments[2]||1;for(var r=Math.max(Math.ceil((t-e)/n),0),i=0,o=new Array(r);r>i;)o[i++]=e,e+=n;return o};var j=function(){};k.bind=function(e,t){var n,r;if(_&&e.bind===_)return _.apply(e,s.call(arguments,1));if(!k.isFunction(e))throw new TypeError;return n=s.call(arguments,2),r=function(){if(!(this instanceof r))return e.apply(t,n.concat(s.call(arguments)));j.prototype=e.prototype;var i=new j;j.prototype=null;var o=e.apply(i,n.concat(s.call(arguments)));return Object(o)===o?o:i}},k.partial=function(e){var t=s.call(arguments,1);return function(){for(var n=0,r=t.slice(),i=0,o=r.length;o>i;i++)r[i]===k&&(r[i]=arguments[n++]);for(;n<arguments.length;)r.push(arguments[n++]);return e.apply(this,r)}},k.bindAll=function(e){var t=s.call(arguments,1);if(0===t.length)throw new Error("bindAll must be passed function names");return T(t,function(t){e[t]=k.bind(e[t],e)}),e},k.memoize=function(e,t){var n={};return t||(t=k.identity),function(){var r=t.apply(this,arguments);return k.has(n,r)?n[r]:n[r]=e.apply(this,arguments)}},k.delay=function(e,t){var n=s.call(arguments,2);return setTimeout(function(){return e.apply(null,n)},t)},k.defer=function(e){return k.delay.apply(k,[e,1].concat(s.call(arguments,1)))},k.throttle=function(e,t,n){var r,i,o,a=null,s=0;n||(n={});var u=function(){s=n.leading===!1?0:k.now(),a=null,o=e.apply(r,i),r=i=null};return function(){var c=k.now();s||n.leading!==!1||(s=c);var l=t-(c-s);return r=this,i=arguments,0>=l?(clearTimeout(a),a=null,s=c,o=e.apply(r,i),r=i=null):a||n.trailing===!1||(a=setTimeout(u,l)),o}},k.debounce=function(e,t,n){var r,i,o,a,s,u=function(){var c=k.now()-a;t>c?r=setTimeout(u,t-c):(r=null,n||(s=e.apply(o,i),o=i=null))};return function(){o=this,i=arguments,a=k.now();var c=n&&!r;return r||(r=setTimeout(u,t)),c&&(s=e.apply(o,i),o=i=null),s}},k.once=function(e){var t,n=!1;return function(){return n?t:(n=!0,t=e.apply(this,arguments),e=null,t)}},k.wrap=function(e,t){return k.partial(t,e)},k.compose=function(){var e=arguments;return function(){for(var t=arguments,n=e.length-1;n>=0;n--)t=[e[n].apply(this,t)];return t[0]}},k.after=function(e,t){return function(){return--e<1?t.apply(this,arguments):void 0}},k.keys=function(e){if(!k.isObject(e))return[];if(x)return x(e);var t=[];for(var n in e)k.has(e,n)&&t.push(n);return t},k.values=function(e){for(var t=k.keys(e),n=t.length,r=new Array(n),i=0;n>i;i++)r[i]=e[t[i]];return r},k.pairs=function(e){for(var t=k.keys(e),n=t.length,r=new Array(n),i=0;n>i;i++)r[i]=[t[i],e[t[i]]];return r},k.invert=function(e){for(var t={},n=k.keys(e),r=0,i=n.length;i>r;r++)t[e[n[r]]]=n[r];return t},k.functions=k.methods=function(e){var t=[];for(var n in e)k.isFunction(e[n])&&t.push(n);return t.sort()},k.extend=function(e){return T(s.call(arguments,1),function(t){if(t)for(var n in t)e[n]=t[n]}),e},k.pick=function(e){var t={},n=u.apply(r,s.call(arguments,1));return T(n,function(n){n in e&&(t[n]=e[n])}),t},k.omit=function(e){var t={},n=u.apply(r,s.call(arguments,1));for(var i in e)k.contains(n,i)||(t[i]=e[i]);return t},k.defaults=function(e){return T(s.call(arguments,1),function(t){if(t)for(var n in t)void 0===e[n]&&(e[n]=t[n])}),e},k.clone=function(e){return k.isObject(e)?k.isArray(e)?e.slice():k.extend({},e):e},k.tap=function(e,t){return t(e),e};var N=function(e,t,n,r){if(e===t)return 0!==e||1/e==1/t;if(null==e||null==t)return e===t;e instanceof k&&(e=e._wrapped),t instanceof k&&(t=t._wrapped);var i=c.call(e);
1if(i!=c.call(t))return!1;switch(i){case"[object String]":return e==String(t);case"[object Number]":return e!=+e?t!=+t:0==e?1/e==1/t:e==+t;case"[object Date]":case"[object Boolean]":return+e==+t;case"[object RegExp]":return e.source==t.source&&e.global==t.global&&e.multiline==t.multiline&&e.ignoreCase==t.ignoreCase}if("object"!=typeof e||"object"!=typeof t)return!1;for(var o=n.length;o--;)if(n[o]==e)return r[o]==t;var a=e.constructor,s=t.constructor;if(a!==s&&!(k.isFunction(a)&&a instanceof a&&k.isFunction(s)&&s instanceof s)&&"constructor"in e&&"constructor"in t)return!1;n.push(e),r.push(t);var u=0,l=!0;if("[object Array]"==i){if(u=e.length,l=u==t.length)for(;u--&&(l=N(e[u],t[u],n,r)););}else{for(var f in e)if(k.has(e,f)&&(u++,!(l=k.has(t,f)&&N(e[f],t[f],n,r))))break;if(l){for(f in t)if(k.has(t,f)&&!u--)break;l=!u}}return n.pop(),r.pop(),l};k.isEqual=function(e,t){return N(e,t,[],[])},k.isEmpty=function(e){if(null==e)return!0;if(k.isArray(e)||k.isString(e))return 0===e.length;for(var t in e)if(k.has(e,t))return!1;return!0},k.isElement=function(e){return!(!e||1!==e.nodeType)},k.isArray=w||function(e){return"[object Array]"==c.call(e)},k.isObject=function(e){return e===Object(e)},T(["Arguments","Function","String","Number","Date","RegExp"],function(e){k["is"+e]=function(t){return c.call(t)=="[object "+e+"]"}}),k.isArguments(arguments)||(k.isArguments=function(e){return!(!e||!k.has(e,"callee"))}),"function"!=typeof/./&&(k.isFunction=function(e){return"function"==typeof e}),k.isFinite=function(e){return isFinite(e)&&!isNaN(parseFloat(e))},k.isNaN=function(e){return k.isNumber(e)&&e!=+e},k.isBoolean=function(e){return e===!0||e===!1||"[object Boolean]"==c.call(e)},k.isNull=function(e){return null===e},k.isUndefined=function(e){return void 0===e},k.has=function(e,t){return l.call(e,t)},k.noConflict=function(){return e._=t,this},k.identity=function(e){return e},k.constant=function(e){return function(){return e}},k.property=function(e){return function(t){return t[e]}},k.matches=function(e){return function(t){if(t===e)return!0;for(var n in e)if(e[n]!==t[n])return!1;return!0}},k.times=function(e,t,n){for(var r=Array(Math.max(0,e)),i=0;e>i;i++)r[i]=t.call(n,i);return r},k.random=function(e,t){return null==t&&(t=e,e=0),e+Math.floor(Math.random()*(t-e+1))},k.now=Date.now||function(){return(new Date).getTime()};var A={escape:{"&":"&","<":"<",">":">",'"':""","'":"'"}};A.unescape=k.invert(A.escape);var O={escape:new RegExp("["+k.keys(A.escape).join("")+"]","g"),unescape:new RegExp("("+k.keys(A.unescape).join("|")+")","g")};k.each(["escape","unescape"],function(e){k[e]=function(t){return null==t?"":(""+t).replace(O[e],function(t){return A[e][t]})}}),k.result=function(e,t){if(null==e)return void 0;var n=e[t];return k.isFunction(n)?n.call(e):n},k.mixin=function(e){T(k.functions(e),function(t){var n=k[t]=e[t];k.prototype[t]=function(){var e=[this._wrapped];return a.apply(e,arguments),P.call(this,n.apply(k,e))}})};var H=0;k.uniqueId=function(e){var t=++H+"";return e?e+t:t},k.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var L=/(.)^/,F={"'":"'","\\":"\\","\r":"r","\n":"n"," ":"t","\u2028":"u2028","\u2029":"u2029"},$=/\\|'|\r|\n|\t|\u2028|\u2029/g;k.template=function(e,t,n){var r;n=k.defaults({},n,k.templateSettings);var i=new RegExp([(n.escape||L).source,(n.interpolate||L).source,(n.evaluate||L).source].join("|")+"|$","g"),o=0,a="__p+='";e.replace(i,function(t,n,r,i,s){return a+=e.slice(o,s).replace($,function(e){return"\\"+F[e]}),n&&(a+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'"),r&&(a+="'+\n((__t=("+r+"))==null?'':__t)+\n'"),i&&(a+="';\n"+i+"\n__p+='"),o=s+t.length,t}),a+="';\n",n.variable||(a="with(obj||{}){\n"+a+"}\n"),a="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+a+"return __p;\n";try{r=new Function(n.variable||"obj","_",a)}catch(s){throw s.source=a,s}if(t)return r(t,k);var u=function(e){return r.call(this,e,k)};return u.source="function("+(n.variable||"obj")+"){\n"+a+"}",u},k.chain=function(e){return k(e).chain()};var P=function(e){return this._chain?k(e).chain():e};k.mixin(k),T(["pop","push","reverse","shift","sort","splice","unshift"],function(e){var t=r[e];k.prototype[e]=function(){var n=this._wrapped;return t.apply(n,arguments),"shift"!=e&&"splice"!=e||0!==n.length||delete n[0],P.call(this,n)}}),T(["concat","join","slice"],function(e){var t=r[e];k.prototype[e]=function(){return P.call(this,t.apply(this._wrapped,arguments))}}),k.extend(k.prototype,{chain:function(){return this._chain=!0,this},value:function(){return this._wrapped}}),"function"==typeof define&&define.amd&&define("underscore",[],function(){return k})}.call(this),function(e){function t(){return"Markdown.mk_block( "+uneval(this.toString())+", "+uneval(this.trailing)+", "+uneval(this.lineNumber)+" )"}function n(){var e=require("util");return"Markdown.mk_block( "+e.inspect(this.toString())+", "+e.inspect(this.trailing)+", "+e.inspect(this.lineNumber)+" )"}function r(e){for(var t=0,n=-1;-1!==(n=e.indexOf("\n",n+1));)t++;return t}function i(e,t){function n(e){this.len_after=e,this.name="close_"+t}var r=e+"_state",i="strong"==e?"em_state":"strong_state";
1return function(o){if(this[r][0]==t)return this[r].shift(),[o.length,new n(o.length-t.length)];var a=this[i].slice(),s=this[r].slice();this[r].unshift(t);var u=this.processInline(o.substr(t.length)),c=u[u.length-1];if(this[r].shift(),c instanceof n){u.pop();var l=o.length-c.len_after;return[l,[e].concat(u)]}return this[i]=a,this[r]=s,[t.length,t]}}function o(e){for(var t=e.split(""),n=[""],r=!1;t.length;){var i=t.shift();switch(i){case" ":r?n[n.length-1]+=i:n.push("");break;case"'":case'"':r=!r;break;case"\\":i=t.shift();default:n[n.length-1]+=i}}return n}function s(e){return m(e)&&e.length>1&&"object"==typeof e[1]&&!m(e[1])?e[1]:void 0}function u(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function c(e){if("string"==typeof e)return u(e);var t=e.shift(),n={},r=[];for(!e.length||"object"!=typeof e[0]||e[0]instanceof Array||(n=e.shift());e.length;)r.push(c(e.shift()));var i="";for(var o in n)i+=" "+o+'="'+u(n[o])+'"';return"img"==t||"br"==t||"hr"==t?"<"+t+i+"/>":"<"+t+i+">"+r.join("")+"</"+t+">"}function l(e,t,n){var r;n=n||{};var i=e.slice(0);"function"==typeof n.preprocessTreeNode&&(i=n.preprocessTreeNode(i,t));var o=s(i);if(o){i[1]={};for(r in o)i[1][r]=o[r];o=i[1]}if("string"==typeof i)return i;switch(i[0]){case"header":i[0]="h"+i[1].level,delete i[1].level;break;case"bulletlist":i[0]="ul";break;case"numberlist":i[0]="ol";break;case"listitem":i[0]="li";break;case"para":i[0]="p";break;case"markdown":i[0]="html",o&&delete o.references;break;case"code_block":i[0]="pre",r=o?2:1;var a=["code"];a.push.apply(a,i.splice(r,i.length-r)),i[r]=a;break;case"inlinecode":i[0]="code";break;case"img":i[1].src=i[1].href,delete i[1].href;break;case"linebreak":i[0]="br";break;case"link":i[0]="a";break;case"link_ref":i[0]="a";var u=t[o.ref];if(!u)return o.original;delete o.ref,o.href=u.href,u.title&&(o.title=u.title),delete o.original;break;case"img_ref":i[0]="img";var u=t[o.ref];if(!u)return o.original;delete o.ref,o.src=u.href,u.title&&(o.title=u.title),delete o.original}if(r=1,o){for(var c in i[1]){r=2;break}1===r&&i.splice(r,1)}for(;r<i.length;++r)i[r]=l(i[r],t,n);return i}function f(e){for(var t=s(e)?2:1;t<e.length;)"string"==typeof e[t]?t+1<e.length&&"string"==typeof e[t+1]?e[t]+=e.splice(t+1,1)[0]:++t:(f(e[t]),++t)}var d=e.Markdown=function(e){switch(typeof e){case"undefined":this.dialect=d.dialects.Gruber;break;case"object":this.dialect=e;break;default:if(!(e in d.dialects))throw new Error("Unknown Markdown dialect '"+String(e)+"'");this.dialect=d.dialects[e]}this.em_state=[],this.strong_state=[],this.debug_indent=""};e.parse=function(e,t){var n=new d(t);return n.toTree(e)},e.toHTML=function(t,n,r){var i=e.toHTMLTree(t,n,r);return e.renderJsonML(i)},e.toHTMLTree=function(e,t,n){"string"==typeof e&&(e=this.parse(e,t));var r=s(e),i={};r&&r.references&&(i=r.references);var o=l(e,i,n);return f(o),o};var h=d.mk_block=function(e,r,i){1==arguments.length&&(r="\n\n");var o=new String(e);return o.trailing=r,o.inspect=n,o.toSource=t,void 0!=i&&(o.lineNumber=i),o};d.prototype.split_blocks=function(e){e=e.replace(/(\r\n|\n|\r)/g,"\n");
1var t,n=/([\s\S]+?)($|\n#|\n(?:\s*\n|$)+)/g,i=[],o=1;for(null!=(t=/^(\s*\n)/.exec(e))&&(o+=r(t[0]),n.lastIndex=t[0].length);null!==(t=n.exec(e));)"\n#"==t[2]&&(t[2]="\n",n.lastIndex--),i.push(h(t[1],t[2],o)),o+=r(t[0]);return i},d.prototype.processBlock=function(e,t){var n=this.dialect.block,r=n.__order__;if("__call__"in n)return n.__call__.call(this,e,t);for(var i=0;i<r.length;i++){var o=n[r[i]].call(this,e,t);if(o)return(!m(o)||o.length>0&&!m(o[0]))&&this.debug(r[i],"didn't return a proper array"),o}return[]},d.prototype.processInline=function(e){return this.dialect.inline.__call__.call(this,String(e))},d.prototype.toTree=function(e,t){var n=e instanceof Array?e:this.split_blocks(e),r=this.tree;try{for(this.tree=t||this.tree||["markdown"];n.length;){var i=this.processBlock(n.shift(),n);i.length&&this.tree.push.apply(this.tree,i)}return this.tree}finally{t&&(this.tree=r)}},d.prototype.debug=function(){var e=Array.prototype.slice.call(arguments);e.unshift(this.debug_indent),"undefined"!=typeof print&&print.apply(print,e),"undefined"!=typeof console&&"undefined"!=typeof console.log&&console.log.apply(null,e)},d.prototype.loop_re_over_block=function(e,t,n){for(var r,i=t.valueOf();i.length&&null!=(r=e.exec(i));)i=i.substr(r[0].length),n.call(this,r);return i},d.dialects={},d.dialects.Gruber={block:{atxHeader:function(e,t){var n=e.match(/^(#{1,6})\s*(.*?)\s*#*\s*(?:\n|$)/);if(!n)return void 0;var r=["header",{level:n[1].length}];return Array.prototype.push.apply(r,this.processInline(n[2])),n[0].length<e.length&&t.unshift(h(e.substr(n[0].length),e.trailing,e.lineNumber+2)),[r]},setextHeader:function(e,t){var n=e.match(/^(.*)\n([-=])\2\2+(?:\n|$)/);if(!n)return void 0;var r="="===n[2]?1:2,i=["header",{level:r},n[1]];return n[0].length<e.length&&t.unshift(h(e.substr(n[0].length),e.trailing,e.lineNumber+2)),[i]},code:function(e,t){var n=[],r=/^(?: {0,3}\t| {4})(.*)\n?/;if(!e.match(r))return void 0;e:for(;;){var i=this.loop_re_over_block(r,e.valueOf(),function(e){n.push(e[1])});if(i.length){t.unshift(h(i,e.trailing));break e}if(!t.length)break e;if(!t[0].match(r))break e;n.push(e.trailing.replace(/[^\n]/g,"").substring(2)),e=t.shift()}return[["code_block",n.join("\n")]]},horizRule:function(e,t){var n=e.match(/^(?:([\s\S]*?)\n)?[ \t]*([-_*])(?:[ \t]*\2){2,}[ \t]*(?:\n([\s\S]*))?$/);if(!n)return void 0;var r=[["hr"]];return n[1]&&r.unshift.apply(r,this.processBlock(n[1],[])),n[3]&&t.unshift(h(n[3])),r},lists:function(){function e(e){return new RegExp("(?:^("+u+"{0,"+e+"} {0,3})("+o+")\\s+)|"+"(^"+u+"{0,"+(e-1)+"}[ ]{0,4})")}function t(e){return e.replace(/ {0,3}\t/g," ")}function n(e,t,n,r){if(t)return e.push(["para"].concat(n)),void 0;var i=e[e.length-1]instanceof Array&&"para"==e[e.length-1][0]?e[e.length-1]:e;r&&e.length>1&&n.unshift(r);for(var o=0;o<n.length;o++){var a=n[o],s="string"==typeof a;s&&i.length>1&&"string"==typeof i[i.length-1]?i[i.length-1]+=a:i.push(a)}}function r(e,t){for(var n=new RegExp("^("+u+"{"+e+"}.*?\\n?)*$"),r=new RegExp("^"+u+"{"+e+"}","gm"),i=[];t.length>0&&n.exec(t[0]);){var o=t.shift(),a=o.replace(r,"");i.push(h(a,o.trailing,o.lineNumber))}return i}function i(e,t,n){var r=e.list,i=r[r.length-1];if(!(i[1]instanceof Array&&"para"==i[1][0]))if(t+1==n.length)i.push(["para"].concat(i.splice(1,i.length-1)));else{var o=i.pop();i.push(["para"].concat(i.splice(1,i.length-1)),o)}}var o="[*+-]|\\d+\\.",a=/[*+-]/,s=new RegExp("^( {0,3})("+o+")[ ]+"),u="(?: {0,3}\\t| {4})";return function(o,u){function c(e){var t=a.exec(e[2])?["bulletlist"]:["numberlist"];return h.push({list:t,indent:e[1]}),t}var l=o.match(s);if(!l)return void 0;for(var f,d,h=[],p=c(l),m=!1,v=[h[0].list];;){for(var y=o.split(/(?=\n)/),b="",w=0;w<y.length;w++){var x="",_=y[w].replace(/^\n/,function(e){return x=e,""}),k=e(h.length);if(l=_.match(k),void 0!==l[1]){b.length&&(n(f,m,this.processInline(b),x),m=!1,b=""),l[1]=t(l[1]);var T=Math.floor(l[1].length/4)+1;if(T>h.length)p=c(l),f.push(p),f=p[1]=["listitem"];else{var C=!1;for(d=0;d<h.length;d++)if(h[d].indent==l[1]){p=h[d].list,h.splice(d+1,h.length-(d+1)),C=!0;break}C||(T++,T<=h.length?(h.splice(T,h.length-T),p=h[T-1].list):(p=c(l),f.push(p))),f=["listitem"],p.push(f)}x=""}_.length>l[0].length&&(b+=x+_.substr(l[0].length))}b.length&&(n(f,m,this.processInline(b),x),m=!1,b="");var S=r(h.length,u);S.length>0&&(g(h,i,this),f.push.apply(f,this.toTree(S,[])));var D=u[0]&&u[0].valueOf()||"";if(!D.match(s)&&!D.match(/^ /))break;o=u.shift();var M=this.dialect.block.horizRule(o,u);
1if(M){v.push.apply(v,M);break}g(h,i,this),m=!0}return v}}(),blockquote:function(e,t){if(!e.match(/^>/m))return void 0;var n=[];if(">"!=e[0]){for(var r=e.split(/\n/),i=[],o=e.lineNumber;r.length&&">"!=r[0][0];)i.push(r.shift()),o++;var a=h(i.join("\n"),"\n",e.lineNumber);n.push.apply(n,this.processBlock(a,[])),e=h(r.join("\n"),e.trailing,o)}for(;t.length&&">"==t[0][0];){var u=t.shift();e=h(e+e.trailing+u,u.trailing,e.lineNumber)}var c=e.replace(/^> ?/gm,""),l=(this.tree,this.toTree(c,["blockquote"])),f=s(l);return f&&f.references&&(delete f.references,v(f)&&l.splice(1,1)),n.push(l),n},referenceDefn:function(e,t){var n=/^\s*\[(.*?)\]:\s*(\S+)(?:\s+(?:(['"])(.*?)\3|\((.*?)\)))?\n?/;if(!e.match(n))return void 0;s(this.tree)||this.tree.splice(1,0,{});var r=s(this.tree);void 0===r.references&&(r.references={});var i=this.loop_re_over_block(n,e,function(e){e[2]&&"<"==e[2][0]&&">"==e[2][e[2].length-1]&&(e[2]=e[2].substring(1,e[2].length-1));var t=r.references[e[1].toLowerCase()]={href:e[2]};void 0!==e[4]?t.title=e[4]:void 0!==e[5]&&(t.title=e[5])});return i.length&&t.unshift(h(i,e.trailing)),[]},para:function(e){return[["para"].concat(this.processInline(e))]}}},d.dialects.Gruber.inline={__oneElement__:function(e,t,n){var r,i;t=t||this.dialect.inline.__patterns__;var o=new RegExp("([\\s\\S]*?)("+(t.source||t)+")");if(r=o.exec(e),!r)return[e.length,e];if(r[1])return[r[1].length,r[1]];var i;return r[2]in this.dialect.inline&&(i=this.dialect.inline[r[2]].call(this,e.substr(r.index),r,n||[])),i=i||[r[2].length,r[2]]},__call__:function(e,t){function n(e){"string"==typeof e&&"string"==typeof i[i.length-1]?i[i.length-1]+=e:i.push(e)}for(var r,i=[];e.length>0;)r=this.dialect.inline.__oneElement__.call(this,e,t,i),e=e.substr(r.shift()),g(r,n);return i},"]":function(){},"}":function(){},__escape__:/^\\[\\`\*_{}\[\]()#\+.!\-]/,"\\":function(e){return this.dialect.inline.__escape__.exec(e)?[2,e.charAt(1)]:[1,"\\"]},"![":function(e){var t=e.match(/^!\[(.*?)\][ \t]*\([ \t]*([^")]*?)(?:[ \t]+(["'])(.*?)\3)?[ \t]*\)/);if(t){t[2]&&"<"==t[2][0]&&">"==t[2][t[2].length-1]&&(t[2]=t[2].substring(1,t[2].length-1)),t[2]=this.dialect.inline.__call__.call(this,t[2],/\\/)[0];var n={alt:t[1],href:t[2]||""};return void 0!==t[4]&&(n.title=t[4]),[t[0].length,["img",n]]}return t=e.match(/^!\[(.*?)\][ \t]*\[(.*?)\]/),t?[t[0].length,["img_ref",{alt:t[1],ref:t[2].toLowerCase(),original:t[0]}]]:[2,"!["]},"[":function y(e){var t=String(e),n=d.DialectHelpers.inline_until_char.call(this,e.substr(1),"]");if(!n)return[1,"["];var y,r,i=1+n[0],o=n[1];e=e.substr(i);var a=e.match(/^\s*\([ \t]*([^"']*)(?:[ \t]+(["'])(.*?)\2)?[ \t]*\)/);if(a){var s=a[1];if(i+=a[0].length,s&&"<"==s[0]&&">"==s[s.length-1]&&(s=s.substring(1,s.length-1)),!a[3])for(var u=1,c=0;c<s.length;c++)switch(s[c]){case"(":u++;break;case")":0==--u&&(i-=s.length-c,s=s.substring(0,c))}return s=this.dialect.inline.__call__.call(this,s,/\\/)[0],r={href:s||""},void 0!==a[3]&&(r.title=a[3]),y=["link",r].concat(o),[i,y]}return a=e.match(/^\s*\[(.*?)\]/),a?(i+=a[0].length,r={ref:(a[1]||String(o)).toLowerCase(),original:t.substr(0,i)},y=["link_ref",r].concat(o),[i,y]):1==o.length&&"string"==typeof o[0]?(r={ref:o[0].toLowerCase(),original:t.substr(0,i)},y=["link_ref",r,o[0]],[i,y]):[1,"["]},"<":function(e){var t;return null!=(t=e.match(/^<(?:((https?|ftp|mailto):[^>]+)|(.*?@.*?\.[a-zA-Z]+))>/))?t[3]?[t[0].length,["link",{href:"mailto:"+t[3]},t[3]]]:"mailto"==t[2]?[t[0].length,["link",{href:t[1]},t[1].substr("mailto:".length)]]:[t[0].length,["link",{href:t[1]},t[1]]]:[1,"<"]},"`":function(e){var t=e.match(/(`+)(([\s\S]*?)\1)/);return t&&t[2]?[t[1].length+t[2].length,["inlinecode",t[3]]]:[1,"`"]}," \n":function(){return[3,["linebreak"]]}},d.dialects.Gruber.inline["**"]=i("strong","**"),d.dialects.Gruber.inline.__=i("strong","__"),d.dialects.Gruber.inline["*"]=i("em","*"),d.dialects.Gruber.inline._=i("em","_"),d.buildBlockOrder=function(e){var t=[];for(var n in e)"__order__"!=n&&"__call__"!=n&&t.push(n);e.__order__=t},d.buildInlinePatterns=function(e){var t=[];for(var n in e)if(!n.match(/^__.*__$/)){var r=n.replace(/([\\.*+?|()\[\]{}])/g,"\\$1").replace(/\n/,"\\n");t.push(1==n.length?r:"(?:"+r+")")}t=t.join("|"),e.__patterns__=t;var i=e.__call__;
1e.__call__=function(e,n){return void 0!=n?i.call(this,e,n):i.call(this,e,t)}},d.DialectHelpers={},d.DialectHelpers.inline_until_char=function(e,t){for(var n=0,r=[];;){if(e.charAt(n)==t)return n++,[n,r];if(n>=e.length)return null;var i=this.dialect.inline.__oneElement__.call(this,e.substr(n));n+=i[0],r.push.apply(r,i.slice(1)) 2}},d.subclassDialect=function(e){function t(){}function n(){}return t.prototype=e.block,n.prototype=e.inline,{block:new t,inline:new n}},d.buildBlockOrder(d.dialects.Gruber.block),d.buildInlinePatterns(d.dialects.Gruber.inline),d.dialects.Maruku=d.subclassDialect(d.dialects.Gruber),d.dialects.Maruku.processMetaHash=function(e){for(var t=o(e),n={},r=0;r<t.length;++r)if(/^#/.test(t[r]))n.id=t[r].substring(1);else if(/^\./.test(t[r]))n["class"]=n["class"]?n["class"]+t[r].replace(/./," "):t[r].substring(1);else if(/\=/.test(t[r])){var i=t[r].split(/\=/);n[i[0]]=i[1]}return n},d.dialects.Maruku.block.document_meta=function(e){if(e.lineNumber>1)return void 0;if(!e.match(/^(?:\w+:.*\n)*\w+:.*$/))return void 0;s(this.tree)||this.tree.splice(1,0,{});var t=e.split(/\n/);for(p in t){var n=t[p].match(/(\w+):\s*(.*)$/),r=n[1].toLowerCase(),i=n[2];this.tree[1][r]=i}return[]},d.dialects.Maruku.block.block_meta=function(e){var t=e.match(/(^|\n) {0,3}\{:\s*((?:\\\}|[^\}])*)\s*\}$/);if(!t)return void 0;var n,r=this.dialect.processMetaHash(t[2]);if(""===t[1]){var i=this.tree[this.tree.length-1];if(n=s(i),"string"==typeof i)return void 0;n||(n={},i.splice(1,0,n));for(a in r)n[a]=r[a];return[]}var o=e.replace(/\n.*$/,""),u=this.processBlock(o,[]);n=s(u[0]),n||(n={},u[0].splice(1,0,n));for(a in r)n[a]=r[a];return u},d.dialects.Maruku.block.definition_list=function(e,t){var n,r,i=/^((?:[^\s:].*\n)+):\s+([\s\S]+)$/,o=["dl"];if(!(r=e.match(i)))return void 0;for(var a=[e];t.length&&i.exec(t[0]);)a.push(t.shift());for(var s=0;s<a.length;++s){var r=a[s].match(i),u=r[1].replace(/\n$/,"").split(/\n/),c=r[2].split(/\n:\s+/);for(n=0;n<u.length;++n)o.push(["dt",u[n]]);for(n=0;n<c.length;++n)o.push(["dd"].concat(this.processInline(c[n].replace(/(\n)\s+/,"$1"))))}return[o]},d.dialects.Maruku.block.table=function b(e){var t,n,r=function(e,t){t=t||"\\s",t.match(/^[\\|\[\]{}?*.+^$]$/)&&(t="\\"+t);for(var n,r=[],i=new RegExp("^((?:\\\\.|[^\\\\"+t+"])*)"+t+"(.*)");n=e.match(i);)r.push(n[1]),e=n[2];return r.push(e),r},i=/^ {0,3}\|(.+)\n {0,3}\|\s*([\-:]+[\-| :]*)\n((?:\s*\|.*(?:\n|$))*)(?=\n|$)/,o=/^ {0,3}(\S(?:\\.|[^\\|])*\|.*)\n {0,3}([\-:]+\s*\|[\-| :]*)\n((?:(?:\\.|[^\\|])*\|.*(?:\n|$))*)(?=\n|$)/;if(n=e.match(i))n[3]=n[3].replace(/^\s*\|/gm,"");else if(!(n=e.match(o)))return void 0;var b=["table",["thead",["tr"]],["tbody"]];n[2]=n[2].replace(/\|\s*$/,"").split("|");var a=[];for(g(n[2],function(e){e.match(/^\s*-+:\s*$/)?a.push({align:"right"}):e.match(/^\s*:-+\s*$/)?a.push({align:"left"}):e.match(/^\s*:-+:\s*$/)?a.push({align:"center"}):a.push({})}),n[1]=r(n[1].replace(/\|\s*$/,""),"|"),t=0;t<n[1].length;t++)b[1][1].push(["th",a[t]||{}].concat(this.processInline(n[1][t].trim())));return g(n[3].replace(/\|\s*$/gm,"").split("\n"),function(e){var n=["tr"];for(e=r(e,"|"),t=0;t<e.length;t++)n.push(["td",a[t]||{}].concat(this.processInline(e[t].trim())));b[2].push(n)},this),[b]},d.dialects.Maruku.inline["{:"]=function(e,t,n){if(!n.length)return[2,"{:"];var r=n[n.length-1];if("string"==typeof r)return[2,"{:"];var i=e.match(/^\{:\s*((?:\\\}|[^\}])*)\s*\}/);if(!i)return[2,"{:"];var o=this.dialect.processMetaHash(i[1]),a=s(r);a||(a={},r.splice(1,0,a));for(var u in o)a[u]=o[u];return[i[0].length,""]},d.dialects.Maruku.inline.__escape__=/^\\[\\`\*_{}\[\]()#\+.!\-|:]/,d.buildBlockOrder(d.dialects.Maruku.block),d.buildInlinePatterns(d.dialects.Maruku.inline);var g,m=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)};g=Array.prototype.forEach?function(e,t,n){return e.forEach(t,n)}:function(e,t,n){for(var r=0;r<e.length;r++)t.call(n||e,e[r],r,e)};var v=function(e){for(var t in e)if(hasOwnProperty.call(e,t))return!1;return!0};e.renderJsonML=function(e,t){t=t||{},t.root=t.root||!1;var n=[];if(t.root)n.push(c(e));else for(e.shift(),!e.length||"object"!=typeof e[0]||e[0]instanceof Array||e.shift();e.length;)n.push(c(e.shift()));return n.join("\n\n")}}(function(){return"undefined"==typeof exports?(window.markdown={},window.markdown):exports}()),function(e,t){"use strict";var n=Object.prototype,r=Array.prototype.forEach,i=function(e,t){return n.toString.call(e)==="[object "+t+"]"},o=function(e){return i(e,"String")},a=function(e){return i(e,"Function")},s=Array.isArray||function(e){return i(e,"Array")},u=function(e){return e===new Object(e)},c=function(e,t){return n.hasOwnProperty.call(e,t)},l=function(e,t,n){if(r&&e.forEach===r)e.forEach(t,n);else if(e.length===+e.length)for(var i=0,o=e.length;o>i;i+=1)t.call(n,e[i],i,e);else for(var a in e)c(e,a)&&t.call(n,e[a],a,e)},f=function(e,t){for(var n=0,r=e.length;r>n;n+=1)if(e[n]===t)return!0;return!1},d=function(e){var t={},n=[];return l(e,function(e){c(t,e)||(n.push(e),t[e]=1)}),n},h=function(e,n,r){if(e)throw{code:n,msg:r,toString:function(){return t+" error "+n+": "+r}}},p={},g={},m=function(t,n,r){if(h(!o(t),31,'id must be a string "'+t+'"'),!n&&c(g,t))return g[t];var i=p[t];h(!i,32,'id not defined "'+t+'"'),r=(r||[]).slice(0),r.push(t);var a=[];if(l(i.deps,function(e,t){h(f(r,e),33,"cyclic dependencies: "+r+" & "+e),n?(a=a.concat(m(e,n,r)),a.push(e)):a[t]=m(e,n,r)}),n)return d(a);var s=i.fn.apply(e,a);return g[t]=s,s},v=function(e,t,n){void 0===n&&(n=t,t=[]),h(!o(e),11,'id must be a string "'+e+'"'),h(p[e],12,'id already defined "'+e+'"'),h(!s(t),13,'dependencies for "'+e+'" must be an array "'+t+'"'),h(!u(n)&&!a(n),14,'arg for "'+e+'" must be object or function "'+n+'"'),p[e]={id:e,deps:t,fn:a(n)?n:function(){return n}}},y=function(e){return m(e)},b=function(){var e={};return l(p,function(t,n){e[n]={deps:t.deps.slice(0),reqs:m(n,!0),init:c(g,n)}}),l(p,function(t,n){var r=[];l(p,function(t,i){f(e[i].reqs,n)&&r.push(i)}),e[n].reqd=r}),e},w=function(e){var t="\n";return l(b(),function(n,r){var i=e?n.reqd:n.reqs;t+=(n.init?"* ":" ")+r+" -> [ "+i.join(", ")+" ]\n"}),t};e[t]={define:v,require:y,state:b,log:w}}(this,"modulejs"),function(e){function t(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invali
2dFormat:!1,userInvalidated:!1,iso:!1}}function n(e,t){function n(){ut.suppressDeprecationWarnings===!1&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}var r=!0;return u(function(){return r&&(n(),r=!1),t.apply(this,arguments)},t)}function r(e,t){return function(n){return f(e.call(this,n),t)}}function i(e,t){return function(n){return this.lang().ordinal(e.call(this,n),t)}}function o(){}function a(e){T(e),u(this,e)}function s(e){var t=v(e),n=t.year||0,r=t.quarter||0,i=t.month||0,o=t.week||0,a=t.day||0,s=t.hour||0,u=t.minute||0,c=t.second||0,l=t.millisecond||0;this._milliseconds=+l+1e3*c+6e4*u+36e5*s,this._days=+a+7*o,this._months=+i+3*r+12*n,this._data={},this._bubble()}function u(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return t.hasOwnProperty("toString")&&(e.toString=t.toString),t.hasOwnProperty("valueOf")&&(e.valueOf=t.valueOf),e}function c(e){var t,n={};for(t in e)e.hasOwnProperty(t)&&_t.hasOwnProperty(t)&&(n[t]=e[t]);return n}function l(e){return 0>e?Math.ceil(e):Math.floor(e)}function f(e,t,n){for(var r=""+Math.abs(e),i=e>=0;r.length<t;)r="0"+r;return(i?n?"+":"":"-")+r}function d(e,t,n,r){var i=t._milliseconds,o=t._days,a=t._months;r=null==r?!0:r,i&&e._d.setTime(+e._d+i*n),o&&rt(e,"Date",nt(e,"Date")+o*n),a&&tt(e,nt(e,"Month")+a*n),r&&ut.updateOffset(e,o||a)}function h(e){return"[object Array]"===Object.prototype.toString.call(e)}function p(e){return"[object Date]"===Object.prototype.toString.call(e)||e instanceof Date}function g(e,t,n){var r,i=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),a=0;for(r=0;i>r;r++)(n&&e[r]!==t[r]||!n&&b(e[r])!==b(t[r]))&&a++;return a+o}function m(e){if(e){var t=e.toLowerCase().replace(/(.)s$/,"$1");e=Zt[e]||Qt[t]||t}return e}function v(e){var t,n,r={};for(n in e)e.hasOwnProperty(n)&&(t=m(n),t&&(r[t]=e[n]));return r}function y(t){var n,r;if(0===t.indexOf("week"))n=7,r="day";else{if(0!==t.indexOf("month"))return;n=12,r="month"}ut[t]=function(i,o){var a,s,u=ut.fn._lang[t],c=[];if("number"==typeof i&&(o=i,i=e),s=function(e){var t=ut().utc().set(r,e);return u.call(ut.fn._lang,t,i||"")},null!=o)return s(o);for(a=0;n>a;a++)c.push(s(a));return c}}function b(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=t>=0?Math.floor(t):Math.ceil(t)),n}function w(e,t){return new Date(Date.UTC(e,t+1,0)).getUTCDate()}function x(e,t,n){return Q(ut([e,11,31+t-n]),t,n).week}function _(e){return k(e)?366:365}function k(e){return 0===e%4&&0!==e%100||0===e%400}function T(e){var t;e._a&&-2===e._pf.overflow&&(t=e._a[gt]<0||e._a[gt]>11?gt:e._a[mt]<1||e._a[mt]>w(e._a[pt],e._a[gt])?mt:e._a[vt]<0||e._a[vt]>23?vt:e._a[yt]<0||e._a[yt]>59?yt:e._a[bt]<0||e._a[bt]>59?bt:e._a[wt]<0||e._a[wt]>999?wt:-1,e._pf._overflowDayOfYear&&(pt>t||t>mt)&&(t=mt),e._pf.overflow=t)}function C(e){return null==e._isValid&&(e._isValid=!isNaN(e._d.getTime())&&e._pf.overflow<0&&!e._pf.empty&&!e._pf.invalidMonth&&!e._pf.nullInput&&!e._pf.invalidFormat&&!e._pf.userInvalidated,e._strict&&(e._isValid=e._isValid&&0===e._pf.charsLeftOver&&0===e._pf.unusedTokens.length)),e._isValid}function S(e){return e?e.toLowerCase().replace("_","-"):e}function D(e,t){return t._isUTC?ut(e).zone(t._offset||0):ut(e).local()}function M(e,t){return t.abbr=e,xt[e]||(xt[e]=new o),xt[e].set(t),xt[e]}function E(e){delete xt[e]}function j(e){var t,n,r,i,o=0,a=function(e){if(!xt[e]&&kt)try{require("./lang/"+e)}catch(t){}return xt[e]};if(!e)return ut.fn._lang;if(!h(e)){if(n=a(e))return n;e=[e]}for(;o<e.length;){for(i=S(e[o]).split("-"),t=i.length,r=S(e[o+1]),r=r?r.split("-"):null;t>0;){if(n=a(i.slice(0,t).join("-")))return n;if(r&&r.length>=t&&g(i,r,!0)>=t-1)break;t--}o++}return ut.fn._lang}function N(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function A(e){var t,n,r=e.match(Dt);for(t=0,n=r.length;n>t;t++)r[t]=nn[r[t]]?nn[r[t]]:N(r[t]);return function(i){var o="";for(t=0;n>t;t++)o+=r[t]instanceof Function?r[t].call(i,e):r[t];return o}}function O(e,t){return e.isValid()?(t=H(t,e.lang()),Kt[t]||(Kt[t]=A(t)),Kt[t](e)):e.lang().invalidDate()}function H(e,t){function n(e){return t.longDateFormat(e)||e}var r=5;for(Mt.lastIndex=0;r>=0&&Mt.test(e);)e=e.replace(Mt,n),Mt.lastIndex=0,r-=1;return e}function L(e,t){var n,r=t._strict;switch(e){case"Q":return Yt;case"DDDD":return qt;case"YYYY":case"GGGG":case"gggg":return r?Rt:Nt;case"Y":case"G":case"g":return zt;case"YYYYYY":case"YYYYY":case"GGGGG":case"ggggg":return r?Bt:At;case"S":if(r)return Yt;case"SS":if(r)return It;case"SSS":if(r)return qt;case"DDD":return jt;case"MMM":case"MMMM":case"dd":case"ddd":case"dddd":return Ht;case"a":case"A":return j(t._l)._meridiemParse;case"X":return $t;case"Z":case"ZZ":return Lt;case"T":return Ft;case"SSSS":return Ot;case"MM":case"DD":case"YY":case"GG":case"gg":case"HH":case"hh":case"mm":case"ss":case"ww":case"WW":return r?It:Et;case"M":case"D":case"d":case"H":case"h":case"m":case"s":case"w":case"W":case"e":case"E":return Et;case"Do":return Pt;default:return n=new RegExp(B(R(e.replace("\\","")),"i"))}}function F(e){e=e||"";var t=e.match(Lt)||[],n=t[t.length-1]||[],r=(n+"").match(Xt)||["-",0,0],i=+(60*r[1])+b(r[2]);return"+"===r[0]?-i:i}function $(e,t,n){var r,i=n._a;switch(e){case"Q":null!=t&&(i[gt]=3*(b(t)-1));break;case"M":case"MM":null!=t&&(i[gt]=b(t)-1);break;case"MMM":case"MMMM":r=j(n._l).monthsParse(t),null!=r?i[gt]=r:n._pf.invali
2dMonth=t;break;case"D":case"DD":null!=t&&(i[mt]=b(t));break;case"Do":null!=t&&(i[mt]=b(parseInt(t,10)));break;case"DDD":case"DDDD":null!=t&&(n._dayOfYear=b(t));break;case"YY":i[pt]=ut.parseTwoDigitYear(t);break;case"YYYY":case"YYYYY":case"YYYYYY":i[pt]=b(t);break;case"a":case"A":n._isPm=j(n._l).isPM(t);break;case"H":case"HH":case"h":case"hh":i[vt]=b(t);break;case"m":case"mm":i[yt]=b(t);break;case"s":case"ss":i[bt]=b(t);break;case"S":case"SS":case"SSS":case"SSSS":i[wt]=b(1e3*("0."+t));break;case"X":n._d=new Date(1e3*parseFloat(t));break;case"Z":case"ZZ":n._useUTC=!0,n._tzm=F(t);break;case"w":case"ww":case"W":case"WW":case"d":case"dd":case"ddd":case"dddd":case"e":case"E":e=e.substr(0,1);case"gg":case"gggg":case"GG":case"GGGG":case"GGGGG":e=e.substr(0,2),t&&(n._w=n._w||{},n._w[e]=t)}}function P(e){var t,n,r,i,o,a,s,u,c,l,f=[];if(!e._d){for(r=I(e),e._w&&null==e._a[mt]&&null==e._a[gt]&&(o=function(t){var n=parseInt(t,10);return t?t.length<3?n>68?1900+n:2e3+n:n:null==e._a[pt]?ut().weekYear():e._a[pt]},a=e._w,null!=a.GG||null!=a.W||null!=a.E?s=K(o(a.GG),a.W||1,a.E,4,1):(u=j(e._l),c=null!=a.d?X(a.d,u):null!=a.e?parseInt(a.e,10)+u._week.dow:0,l=parseInt(a.w,10)||1,null!=a.d&&c<u._week.dow&&l++,s=K(o(a.gg),l,c,u._week.doy,u._week.dow)),e._a[pt]=s.year,e._dayOfYear=s.dayOfYear),e._dayOfYear&&(i=null==e._a[pt]?r[pt]:e._a[pt],e._dayOfYear>_(i)&&(e._pf._overflowDayOfYear=!0),n=V(i,0,e._dayOfYear),e._a[gt]=n.getUTCMonth(),e._a[mt]=n.getUTCDate()),t=0;3>t&&null==e._a[t];++t)e._a[t]=f[t]=r[t];for(;7>t;t++)e._a[t]=f[t]=null==e._a[t]?2===t?1:0:e._a[t];f[vt]+=b((e._tzm||0)/60),f[yt]+=b((e._tzm||0)%60),e._d=(e._useUTC?V:G).apply(null,f)}}function Y(e){var t;e._d||(t=v(e._i),e._a=[t.year,t.month,t.day,t.hour,t.minute,t.second,t.millisecond],P(e))}function I(e){var t=new Date;return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function q(e){e._a=[],e._pf.empty=!0;var t,n,r,i,o,a=j(e._l),s=""+e._i,u=s.length,c=0;for(r=H(e._f,a).match(Dt)||[],t=0;t<r.length;t++)i=r[t],n=(s.match(L(i,e))||[])[0],n&&(o=s.substr(0,s.indexOf(n)),o.length>0&&e._pf.unusedInput.push(o),s=s.slice(s.indexOf(n)+n.length),c+=n.length),nn[i]?(n?e._pf.empty=!1:e._pf.unusedTokens.push(i),$(i,n,e)):e._strict&&!n&&e._pf.unusedTokens.push(i);e._pf.charsLeftOver=u-c,s.length>0&&e._pf.unusedInput.push(s),e._isPm&&e._a[vt]<12&&(e._a[vt]+=12),e._isPm===!1&&12===e._a[vt]&&(e._a[vt]=0),P(e),T(e)}function R(e){return e.replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,i){return t||n||r||i})}function B(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function z(e){var n,r,i,o,a;if(0===e._f.length)return e._pf.invalidFormat=!0,void(e._d=new Date(0/0));for(o=0;o<e._f.length;o++)a=0,n=u({},e),n._pf=t(),n._f=e._f[o],q(n),C(n)&&(a+=n._pf.charsLeftOver,a+=10*n._pf.unusedTokens.length,n._pf.score=a,(null==i||i>a)&&(i=a,r=n));u(e,r||n)}function W(e){var t,n,r=e._i,i=Wt.exec(r);if(i){for(e._pf.iso=!0,t=0,n=Gt.length;n>t;t++)if(Gt[t][1].exec(r)){e._f=Gt[t][0]+(i[6]||" ");break}for(t=0,n=Vt.length;n>t;t++)if(Vt[t][1].exec(r)){e._f+=Vt[t][0];break}r.match(Lt)&&(e._f+="Z"),q(e)}else ut.createFromInputFallback(e)}function U(t){var n=t._i,r=Tt.exec(n);n===e?t._d=new Date:r?t._d=new Date(+r[1]):"string"==typeof n?W(t):h(n)?(t._a=n.slice(0),P(t)):p(n)?t._d=new Date(+n):"object"==typeof n?Y(t):"number"==typeof n?t._d=new Date(n):ut.createFromInputFallback(t)}function G(e,t,n,r,i,o,a){var s=new Date(e,t,n,r,i,o,a);return 1970>e&&s.setFullYear(e),s}function V(e){var t=new Date(Date.UTC.apply(null,arguments));return 1970>e&&t.setUTCFullYear(e),t}function X(e,t){if("string"==typeof e)if(isNaN(e)){if(e=t.weekdaysParse(e),"number"!=typeof e)return null}else e=parseInt(e,10);return e}function J(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}function Z(e,t,n){var r=ht(Math.abs(e)/1e3),i=ht(r/60),o=ht(i/60),a=ht(o/24),s=ht(a/365),u=45>r&&["s",r]||1===i&&["m"]||45>i&&["mm",i]||1===o&&["h"]||22>o&&["hh",o]||1===a&&["d"]||25>=a&&["dd",a]||45>=a&&["M"]||345>a&&["MM",ht(a/30)]||1===s&&["y"]||["yy",s];return u[2]=t,u[3]=e>0,u[4]=n,J.apply({},u)}function Q(e,t,n){var r,i=n-t,o=n-e.day();return o>i&&(o-=7),i-7>o&&(o+=7),r=ut(e).add("d",o),{week:Math.ceil(r.dayOfYear()/7),year:r.year()}}function K(e,t,n,r,i){var o,a,s=V(e,0,1).getUTCDay();return n=null!=n?n:i,o=i-s+(s>r?7:0)-(i>s?7:0),a=7*(t-1)+(n-i)+o+1,{year:a>0?e:e-1,dayOfYear:a>0?a:_(e-1)+a}}function et(t){var n=t._i,r=t._f;return null===n||r===e&&""===n?ut.invalid({nullInput:!0}):("string"==typeof n&&(t._i=n=j().preparse(n)),ut.isMoment(n)?(t=c(n),t._d=new Date(+n._d)):r?h(r)?z(t):q(t):U(t),new a(t))}function tt(e,t){var n;return"string"==typeof t&&(t=e.lang().monthsParse(t),"number"!=typeof t)?e:(n=Math.min(e.date(),w(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e)}function nt(e,t){return e._d["get"+(e._isUTC?"UTC":"")+t]()}function rt(e,t,n){return"Month"===t?tt(e,n):e._d["set"+(e._isUTC?"UTC":"")+t](n)}function it(e,t){return function(n){return null!=n?(rt(this,e,n),ut.updateOffset(this,t),this):nt(this,e)}}function ot(e){ut.duration.fn[e]=function(){return this._data[e]}}function at(e,t){ut.duration.fn["as"+e]=function(){return+this/t}}function st(e){"undefined"==typeof ender&&(ct=dt.moment,dt.moment=e?n("Accessing Moment through the global scope is deprecated, and will be removed in an upcoming release.",ut):ut)}for(var ut,ct,lt,ft="2.6.0",dt="undefined"!=typeof global?global:this,ht=Math.round,pt=0,gt=1,mt=2,vt=3,yt=4,bt=5,wt=6,xt={},_t={_isAMomentObject:null,_i:null,_f:null,_l:null,_strict:null,_isUTC:null,_offset:null,_pf:null,_lang:null},kt="undefined"!=typeof module&&module.exports,Tt=/^\/?Date\((\-?\d+)/i,Ct=/(\-)?(?:(\d*)\.)?(\d+)\:(\d+)(?:\:(\d+)\.?(\d{3})?)?/,St=/^(-)?P(?:(?:([0-9,.]*)Y)?(?:([0-9,.]*)M)?(?:([0-9,.]*)D)?(?:T(?:([0-9,.]*)H)?(?:([0-9,.]*)M)?(?:([0-9,.]*)S)?)?|([0-9,.]*)W)$/,Dt=/(\[[^\[]*\])|(\\)?(Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Q|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|mm?|ss?|S{1,4}
2|X|zz?|ZZ?|.)/g,Mt=/(\[[^\[]*\])|(\\)?(LT|LL?L?L?|l{1,4})/g,Et=/\d\d?/,jt=/\d{1,3}/,Nt=/\d{1,4}/,At=/[+\-]?\d{1,6}/,Ot=/\d+/,Ht=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,Lt=/Z|[\+\-]\d\d:?\d\d/gi,Ft=/T/i,$t=/[\+\-]?\d+(\.\d{1,3})?/,Pt=/\d{1,2}/,Yt=/\d/,It=/\d\d/,qt=/\d{3}/,Rt=/\d{4}/,Bt=/[+-]?\d{6}/,zt=/[+-]?\d+/,Wt=/^\s*(?:[+-]\d{6}|\d{4})-(?:(\d\d-\d\d)|(W\d\d$)|(W\d\d-\d)|(\d\d\d))((T| )(\d\d(:\d\d(:\d\d(\.\d+)?)?)?)?([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Ut="YYYY-MM-DDTHH:mm:ssZ",Gt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d{2}-\d{2}/],["YYYY-MM-DD",/\d{4}-\d{2}-\d{2}/],["GGGG-[W]WW-E",/\d{4}-W\d{2}-\d/],["GGGG-[W]WW",/\d{4}-W\d{2}/],["YYYY-DDD",/\d{4}-\d{3}/]],Vt=[["HH:mm:ss.SSSS",/(T| )\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss",/(T| )\d\d:\d\d:\d\d/],["HH:mm",/(T| )\d\d:\d\d/],["HH",/(T| )\d\d/]],Xt=/([\+\-]|\d\d)/gi,Jt=("Date|Hours|Minutes|Seconds|Milliseconds".split("|"),{Milliseconds:1,Seconds:1e3,Minutes:6e4,Hours:36e5,Days:864e5,Months:2592e6,Years:31536e6}),Zt={ms:"millisecond",s:"second",m:"minute",h:"hour",d:"day",D:"date",w:"week",W:"isoWeek",M:"month",Q:"quarter",y:"year",DDD:"dayOfYear",e:"weekday",E:"isoWeekday",gg:"weekYear",GG:"isoWeekYear"},Qt={dayofyear:"dayOfYear",isoweekday:"isoWeekday",isoweek:"isoWeek",weekyear:"weekYear",isoweekyear:"isoWeekYear"},Kt={},en="DDD w W M D d".split(" "),tn="M D H h m s w W".split(" "),nn={M:function(){return this.month()+1},MMM:function(e){return this.lang().monthsShort(this,e)},MMMM:function(e){return this.lang().months(this,e)},D:function(){return this.date()},DDD:function(){return this.dayOfYear()},d:function(){return this.day()},dd:function(e){return this.lang().weekdaysMin(this,e)},ddd:function(e){return this.lang().weekdaysShort(this,e)},dddd:function(e){return this.lang().weekdays(this,e)},w:function(){return this.week()},W:function(){return this.isoWeek()},YY:function(){return f(this.year()%100,2)},YYYY:function(){return f(this.year(),4)},YYYYY:function(){return f(this.year(),5)},YYYYYY:function(){var e=this.year(),t=e>=0?"+":"-";return t+f(Math.abs(e),6)},gg:function(){return f(this.weekYear()%100,2)},gggg:function(){return f(this.weekYear(),4)},ggggg:function(){return f(this.weekYear(),5)},GG:function(){return f(this.isoWeekYear()%100,2)},GGGG:function(){return f(this.isoWeekYear(),4)},GGGGG:function(){return f(this.isoWeekYear(),5)},e:function(){return this.weekday()},E:function(){return this.isoWeekday()},a:function(){return this.lang().meridiem(this.hours(),this.minutes(),!0)},A:function(){return this.lang().meridiem(this.hours(),this.minutes(),!1)},H:function(){return this.hours()},h:function(){return this.hours()%12||12},m:function(){return this.minutes()},s:function(){return this.seconds()},S:function(){return b(this.milliseconds()/100)},SS:function(){return f(b(this.milliseconds()/10),2)},SSS:function(){return f(this.milliseconds(),3)},SSSS:function(){return f(this.milliseconds(),3)},Z:function(){var e=-this.zone(),t="+";return 0>e&&(e=-e,t="-"),t+f(b(e/60),2)+":"+f(b(e)%60,2)},ZZ:function(){var e=-this.zone(),t="+";return 0>e&&(e=-e,t="-"),t+f(b(e/60),2)+f(b(e)%60,2)},z:function(){return this.zoneAbbr()},zz:function(){return this.zoneName()},X:function(){return this.unix()},Q:function(){return this.quarter()}},rn=["months","monthsShort","weekdays","weekdaysShort","weekdaysMin"];en.length;)lt=en.pop(),nn[lt+"o"]=i(nn[lt],lt);for(;tn.length;)lt=tn.pop(),nn[lt+lt]=r(nn[lt],2);for(nn.DDDD=r(nn.DDD,3),u(o.prototype,{set:function(e){var t,n;for(n in e)t=e[n],"function"==typeof t?this[n]=t:this["_"+n]=t},_months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),months:function(e){return this._months[e.month()]},_monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),monthsShort:function(e){return this._monthsShort[e.month()]},monthsParse:function(e){var t,n,r;for(this._monthsParse||(this._monthsParse=[]),t=0;12>t;t++)if(this._monthsParse[t]||(n=ut.utc([2e3,t]),r="^"+this.months(n,"")+"|^"+this.monthsShort(n,""),this._monthsParse[t]=new RegExp(r.replace(".",""),"i")),this._monthsParse[t].test(e))return t},_weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdays:function(e){return this._weekdays[e.day()]},_weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysShort:function(e){return this._weekdaysShort[e.day()]},_weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),weekdaysMin:function(e){return this._weekdaysMin[e.day()]},weekdaysParse:function(e){var t,n,r;for(this._weekdaysParse||(this._weekdaysParse=[]),t=0;7>t;t++)if(this._weekdaysParse[t]||(n=ut([2e3,1]).day(t),r="^"+this.weekdays(n,"")+"|^"+this.weekdaysShort(n,"")+"|^"+this.weekdaysMin(n,""),this._weekdaysParse[t]=new RegExp(r.replace(".",""),"i")),this._weekdaysParse[t].test(e))return t},_longDateFormat:{LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D YYYY",LLL:"MMMM D YYYY LT",LLLL:"dddd, MMMM D YYYY LT"},longDateFormat:function(e){var t=this._longDateFormat[e];return!t&&this._longDateFormat[e.toUpperCase()]&&(t=this._longDateFormat[e.toUpperCase()].replace(/MMMM|MM|DD|dddd/g,function(e){return e.slice(1)}),this._longDateFormat[e]=t),t},isPM:function(e){return"p"===(e+"").toLowerCase().charAt(0)},_meridiemParse:/[ap]\.?m?\.?/i,meridiem:function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},_calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},calendar:function(e,t){var n=this._calendar[e];return"function"==typeof n?n.apply(t):n},_relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},relativeTime:function(e,t,n,r){var i=this._relativeTime[n];return"function"==typeof i?i(e,t,n,r):i.replace(/%d/i,e)},pastFuture:function(e,t){var n=this._relativeTime[e>0?"future":"past"];return"function"==typeof n?n(t):n.replace(/%s/i,t)},ordinal:function(e){return this._ordinal.replace("%d",e)},_ordinal:"%d",preparse:function(e){return e},postformat:function(e){return e},week:function(e){return Q(e,this._week.dow,this._week.doy).week},_week:{dow:0,doy:6},_invalidDate:"Invalid date",invalidDate:function(){return this._invalidDate}}),ut=function(n,r,i,o){var a;return"boolean"==typeof i&&(o=i,i=e),a={},a._isAMomentObject=!0,a._i=n,a._f=r,a._l=i,a._strict=o,a._isUTC=!1,a._pf=t(),et(a)},ut.suppressDeprecationWarnings=!1,ut.createFromInputFallback=n("moment construction falls back to js Date. This is discouraged and will be removed in upcoming major release. Please refer to https://github.com/moment/moment/issues/1407 for more info.",function(e){e._d=new Date(e._i)}),ut.utc=function(n,r,i,o){var a;return"boolean"==typeof i&&(o=i,i=e),a={},a._isAMomentObject=!0,a._useUTC=!0,a._isUTC=!0,a._l=i,a._i=n,a._f=r,a._strict=o,a._pf=t(),et(a).utc()},ut.unix=function(e){return ut(1e3*e)},ut.duration=function(e,t){var n,r,i,o=e,a=null;return ut.isDuration(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:"number"==typeof e?(o={},t?o[t]=e:o.milliseconds=e):(a=Ct.exec(e))?(n="-"===a[1]?-1:1,o={y:0,d:b(a[mt])*n,h:b(a[vt])*n,m:b(a[yt])*n,s:b(a[bt])*n,ms:b(a[wt])*n}):(a=St.exec(e))&&(n="-"===a[1]?-1:1,i=function(e){var t=e&&parseFloat(e.replace(",","."));return(isNaN(t)?0:t)*n},o={y:i(a[2]),M:i(a[3]),d:i(a[4]),h:i(a[5]),m:i(a[6]),s:i(a[7]),w:i(a[8])}
2),r=new s(o),ut.isDuration(e)&&e.hasOwnProperty("_lang")&&(r._lang=e._lang),r},ut.version=ft,ut.defaultFormat=Ut,ut.momentProperties=_t,ut.updateOffset=function(){},ut.lang=function(e,t){var n;return e?(t?M(S(e),t):null===t?(E(e),e="en"):xt[e]||j(e),n=ut.duration.fn._lang=ut.fn._lang=j(e),n._abbr):ut.fn._lang._abbr},ut.langData=function(e){return e&&e._lang&&e._lang._abbr&&(e=e._lang._abbr),j(e)},ut.isMoment=function(e){return e instanceof a||null!=e&&e.hasOwnProperty("_isAMomentObject")},ut.isDuration=function(e){return e instanceof s},lt=rn.length-1;lt>=0;--lt)y(rn[lt]);ut.normalizeUnits=function(e){return m(e)},ut.invalid=function(e){var t=ut.utc(0/0);return null!=e?u(t._pf,e):t._pf.userInvalidated=!0,t},ut.parseZone=function(){return ut.apply(null,arguments).parseZone()},ut.parseTwoDigitYear=function(e){return b(e)+(b(e)>68?1900:2e3)},u(ut.fn=a.prototype,{clone:function(){return ut(this)},valueOf:function(){return+this._d+6e4*(this._offset||0)},unix:function(){return Math.floor(+this/1e3)},toString:function(){return this.clone().lang("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},toDate:function(){return this._offset?new Date(+this):this._d},toISOString:function(){var e=ut(this).utc();return 0<e.year()&&e.year()<=9999?O(e,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):O(e,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]")},toArray:function(){var e=this;return[e.year(),e.month(),e.date(),e.hours(),e.minutes(),e.seconds(),e.milliseconds()]},isValid:function(){return C(this)},isDSTShifted:function(){return this._a?this.isValid()&&g(this._a,(this._isUTC?ut.utc(this._a):ut(this._a)).toArray())>0:!1},parsingFlags:function(){return u({},this._pf)},invalidAt:function(){return this._pf.overflow},utc:function(){return this.zone(0)},local:function(){return this.zone(0),this._isUTC=!1,this},format:function(e){var t=O(this,e||ut.defaultFormat);return this.lang().postformat(t)},add:function(e,t){var n;return n="string"==typeof e?ut.duration(+t,e):ut.duration(e,t),d(this,n,1),this},subtract:function(e,t){var n;return n="string"==typeof e?ut.duration(+t,e):ut.duration(e,t),d(this,n,-1),this},diff:function(e,t,n){var r,i,o=D(e,this),a=6e4*(this.zone()-o.zone());return t=m(t),"year"===t||"month"===t?(r=432e5*(this.daysInMonth()+o.daysInMonth()),i=12*(this.year()-o.year())+(this.month()-o.month()),i+=(this-ut(this).startOf("month")-(o-ut(o).startOf("month")))/r,i-=6e4*(this.zone()-ut(this).startOf("month").zone()-(o.zone()-ut(o).startOf("month").zone()))/r,"year"===t&&(i/=12)):(r=this-o,i="second"===t?r/1e3:"minute"===t?r/6e4:"hour"===t?r/36e5:"day"===t?(r-a)/864e5:"week"===t?(r-a)/6048e5:r),n?i:l(i)},from:function(e,t){return ut.duration(this.diff(e)).lang(this.lang()._abbr).humanize(!t)},fromNow:function(e){return this.from(ut(),e)},calendar:function(){var e=D(ut(),this).startOf("day"),t=this.diff(e,"days",!0),n=-6>t?"sameElse":-1>t?"lastWeek":0>t?"lastDay":1>t?"sameDay":2>t?"nextDay":7>t?"nextWeek":"sameElse";return this.format(this.lang().calendar(n,this))},isLeapYear:function(){return k(this.year())},isDST:function(){return this.zone()<this.clone().month(0).zone()||this.zone()<this.clone().month(5).zone()},day:function(e){var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=X(e,this.lang()),this.add({d:e-t})):t},month:it("Month",!0),startOf:function(e){switch(e=m(e)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===e?this.weekday(0):"isoWeek"===e&&this.isoWeekday(1),"quarter"===e&&this.month(3*Math.floor(this.month()/3)),this},endOf:function(e){return e=m(e),this.startOf(e).add("isoWeek"===e?"week":e,1).subtract("ms",1)},isAfter:function(e,t){return t="undefined"!=typeof t?t:"millisecond",+this.clone().startOf(t)>+ut(e).startOf(t)},isBefore:function(e,t){return t="undefined"!=typeof t?t:"millisecond",+this.clone().startOf(t)<+ut(e).startOf(t)},isSame:function(e,t){return t=t||"ms",+this.clone().startOf(t)===+D(e,this).startOf(t)},min:function(e){return e=ut.apply(null,arguments),this>e?this:e},max:function(e){return e=ut.apply(null,arguments),e>this?this:e},zone:function(e,t){var n=this._offset||0;return null==e?this._isUTC?n:this._d.getTimezoneOffset():("string"==typeof e&&(e=F(e)),Math.abs(e)<16&&(e=60*e),this._offset=e,this._isUTC=!0,n!==e&&(!t||this._changeInProgress?d(this,ut.duration(n-e,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,ut.updateOffset(this,!0),this._changeInProgress=null)),this)},zoneAbbr:function(){return this._isUTC?"UTC":""},zoneName:function(){return this._isUTC?"Coordinated Universal Time":""},parseZone:function(){return this._tzm?this.zone(this._tzm):"string"==typeof this._i&&this.zone(this._i),this},hasAlignedHourOffset:function(e){return e=e?ut(e).zone():0,0===(this.zone()-e)%60},daysInMonth:function(){return w(this.year(),this.month())},dayOfYear:function(e){var t=ht((ut(this).startOf("day")-ut(this).startOf("year"))/864e5)+1;return null==e?t:this.add("d",e-t)},quarter:function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},weekYear:function(e){var t=Q(this,this.lang()._week.dow,this.lang()._week.doy).year;return null==e?t:this.add("y",e-t)},isoWeekYear:function(e){var t=Q(this,1,4).year;return null==e?t:this.add("y",e-t)},week:function(e){var t=this.lang().week(this);return null==e?t:this.add("d",7*(e-t))},isoWeek:function(e){var t=Q(this,1,4).week;return null==e?t:this.add("d",7*(e-t))},weekday:function(e){var t=(this.day()+7-this.lang()._week.dow)%7;return null==e?t:this.add("d",e-t)},isoWeekday:function(e){return null==e?this.day()||7:this.day(this.day()%7?e:e-7)},isoWeeksInYear:function(){return x(this.year(),1,4)},weeksInYear:function(){var e=this._lang._week;return x(this.year(),e.dow,e.doy)},get:function(e){return e=m(e),this[e]()},set:function(e,t){return e=m(e),"function"==typeof this[e]&&this[e](t),this},lang:function(t){return t===e?this._lang:(this._lang=j(t),this)}}),ut.fn.millisecond=ut.fn.milliseconds=it("Milliseconds",!1),ut.fn.second=ut.fn.seconds=it("Seconds",!1),ut.fn.minute=ut.fn.minutes=it("Minutes",!1),ut.fn.hour=ut.fn.hours=it("Hours",!0),ut.fn.date=it("Date",!0),ut.fn.dates=n("dates accessor is deprecated. Use date instead.",it("Date",!0)),ut.fn.year=it("FullYear",!0),ut.fn.years=n("years accessor is deprecated. Use year instead.",it("FullYear",!0)),ut.fn.days=ut.fn.day,ut.fn.months=ut.fn.month,ut.fn.weeks=ut.fn.week,ut.fn.isoWeeks=ut.fn.isoWeek,ut.fn.quarters=ut.fn.quarter,ut.fn.toJSON=ut.fn.toISOString,u(ut.duration.fn=s.prototype,{_bubble:function(){var e,t,n,r,i=this._milliseconds,o=this._days,a=this._months,s=this._data;s.milliseconds=i%1e3,e=l(i/1e3),s.seconds=e%60,t=l(e/60),s.minutes=t%60,n=l(t/60),s.hours=n%24,o+=l(n/24),s.days=o%30,a+=l(o/30),s.months=a%12,r=l(a/12),s.years=r},weeks:function(){return l(this.days()/7)}
2,valueOf:function(){return this._milliseconds+864e5*this._days+2592e6*(this._months%12)+31536e6*b(this._months/12)},humanize:function(e){var t=+this,n=Z(t,!e,this.lang());return e&&(n=this.lang().pastFuture(t,n)),this.lang().postformat(n)},add:function(e,t){var n=ut.duration(e,t);return this._milliseconds+=n._milliseconds,this._days+=n._days,this._months+=n._months,this._bubble(),this 3},subtract:function(e,t){var n=ut.duration(e,t);return this._milliseconds-=n._milliseconds,this._days-=n._days,this._months-=n._months,this._bubble(),this},get:function(e){return e=m(e),this[e.toLowerCase()+"s"]()},as:function(e){return e=m(e),this["as"+e.charAt(0).toUpperCase()+e.slice(1)+"s"]()},lang:ut.fn.lang,toIsoString:function(){var e=Math.abs(this.years()),t=Math.abs(this.months()),n=Math.abs(this.days()),r=Math.abs(this.hours()),i=Math.abs(this.minutes()),o=Math.abs(this.seconds()+this.milliseconds()/1e3);return this.asSeconds()?(this.asSeconds()<0?"-":"")+"P"+(e?e+"Y":"")+(t?t+"M":"")+(n?n+"D":"")+(r||i||o?"T":"")+(r?r+"H":"")+(i?i+"M":"")+(o?o+"S":""):"P0D"}});for(lt in Jt)Jt.hasOwnProperty(lt)&&(at(lt,Jt[lt]),ot(lt.toLowerCase()));at("Weeks",6048e5),ut.duration.fn.asMonths=function(){return(+this-31536e6*this.years())/2592e6+12*this.years()},ut.lang("en",{ordinal:function(e){var t=e%10,n=1===b(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}}),kt?module.exports=ut:"function"==typeof define&&define.amd?(define("moment",function(e,t,n){return n.config&&n.config()&&n.config().noGlobal===!0&&(dt.moment=ct),ut}),st(!0)):st()}.call(this),"object"!=typeof JSON&&(JSON={}),function(){"use strict";function f(e){return 10>e?"0"+e:e}function quote(e){return escapable.lastIndex=0,escapable.test(e)?'"'+e.replace(escapable,function(e){var t=meta[e];return"string"==typeof t?t:"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+e+'"'}function str(e,t){var n,r,i,o,a,s=gap,u=t[e];switch(u&&"object"==typeof u&&"function"==typeof u.toJSON&&(u=u.toJSON(e)),"function"==typeof rep&&(u=rep.call(t,e,u)),typeof u){case"string":return quote(u);case"number":return isFinite(u)?String(u):"null";case"boolean":case"null":return String(u);case"object":if(!u)return"null";if(gap+=indent,a=[],"[object Array]"===Object.prototype.toString.apply(u)){for(o=u.length,n=0;o>n;n+=1)a[n]=str(n,u)||"null";return i=0===a.length?"[]":gap?"[\n"+gap+a.join(",\n"+gap)+"\n"+s+"]":"["+a.join(",")+"]",gap=s,i}if(rep&&"object"==typeof rep)for(o=rep.length,n=0;o>n;n+=1)"string"==typeof rep[n]&&(r=rep[n],i=str(r,u),i&&a.push(quote(r)+(gap?": ":":")+i));else for(r in u)Object.prototype.hasOwnProperty.call(u,r)&&(i=str(r,u),i&&a.push(quote(r)+(gap?": ":":")+i));return i=0===a.length?"{}":gap?"{\n"+gap+a.join(",\n"+gap)+"\n"+s+"}":"{"+a.join(",")+"}",gap=s,i}}"function"!=typeof Date.prototype.toJSON&&(Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z":null},String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(){return this.valueOf()});var cx,escapable,gap,indent,meta,rep;"function"!=typeof JSON.stringify&&(escapable=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,meta={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},JSON.stringify=function(e,t,n){var r;if(gap="",indent="","number"==typeof n)for(r=0;n>r;r+=1)indent+=" ";else"string"==typeof n&&(indent=n);if(rep=t,t&&"function"!=typeof t&&("object"!=typeof t||"number"!=typeof t.length))throw new Error("JSON.stringify");return str("",{"":e})}),"function"!=typeof JSON.parse&&(cx=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,JSON.parse=function(text,reviver){function walk(e,t){var n,r,i=e[t];if(i&&"object"==typeof i)for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(r=walk(i,n),void 0!==r?i[n]=r:delete i[n]);return reviver.call(e,t,i)}var j;if(text=String(text),cx.lastIndex=0,cx.test(text)&&(text=text.replace(cx,function(e){return"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)})),/^[\],:{}\s]*$/.test(text.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return j=eval("("+text+")"),"function"==typeof reviver?walk({"":j},""):j;throw new SyntaxError("JSON.parse")})}(),function(e,t){"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(e,t){function n(e){var t=e.length,n=K.type(e);return"function"===n||K.isWindow(e)?!1:1===e.nodeType&&t?!0:"array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e}function r(e,t,n){if(K.isFunction(t))return K.grep(e,function(e,r){return!!t.call(e,r,e)!==n});
vendor: 20,620 bytes, line 3
3if(t.nodeType)return K.grep(e,function(e){return e===t!==n});if("string"==typeof t){if(st.test(t))return K.filter(t,e,n);t=K.filter(t,e)}return K.grep(e,function(e){return U.call(t,e)>=0!==n})}function i(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}function o(e){var t=pt[e]={};return K.each(e.match(ht)||[],function(e,n){t[n]=!0}),t}function a(){Z.removeEventListener("DOMContentLoaded",a,!1),e.removeEventListener("load",a,!1),K.ready()}function s(){Object.defineProperty(this.cache={},0,{get:function(){return{}}}),this.expando=K.expando+Math.random()}function u(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(wt,"-$1").toLowerCase(),n=e.getAttribute(r),"string"==typeof n){try{n="true"===n?!0:"false"===n?!1:"null"===n?null:+n+""===n?+n:bt.test(n)?K.parseJSON(n):n}catch(i){}yt.set(e,t,n)}else n=void 0;return n}function c(){return!0}function l(){return!1}function f(){try{return Z.activeElement}catch(e){}}function d(e,t){return K.nodeName(e,"table")&&K.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function h(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function p(e){var t=Ft.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function g(e,t){for(var n=0,r=e.length;r>n;n++)vt.set(e[n],"globalEval",!t||vt.get(t[n],"globalEval"))}function m(e,t){var n,r,i,o,a,s,u,c;if(1===t.nodeType){if(vt.hasData(e)&&(o=vt.access(e),a=vt.set(t,o),c=o.events)){delete a.handle,a.events={};for(i in c)for(n=0,r=c[i].length;r>n;n++)K.event.add(t,i,c[i][n])}yt.hasData(e)&&(s=yt.access(e),u=K.extend({},s),yt.set(t,u))}}function v(e,t){var n=e.getElementsByTagName?e.getElementsByTagName(t||"*"):e.querySelectorAll?e.querySelectorAll(t||"*"):[];return void 0===t||t&&K.nodeName(e,t)?K.merge([e],n):n}function y(e,t){var n=t.nodeName.toLowerCase();"input"===n&&Tt.test(e.type)?t.checked=e.checked:("input"===n||"textarea"===n)&&(t.defaultValue=e.defaultValue)}function b(t,n){var r,i=K(n.createElement(t)).appendTo(n.body),o=e.getDefaultComputedStyle&&(r=e.getDefaultComputedStyle(i[0]))?r.display:K.css(i[0],"display");return i.detach(),o}function w(e){var t=Z,n=It[e];return n||(n=b(e,t),"none"!==n&&n||(Yt=(Yt||K("<iframe frameborder='0' width='0' height='0'/>")).appendTo(t.documentElement),t=Yt[0].contentDocument,t.write(),t.close(),n=b(e,t),Yt.detach()),It[e]=n),n}function x(e,t,n){var r,i,o,a,s=e.style;return n=n||Bt(e),n&&(a=n.getPropertyValue(t)||n[t]),n&&(""!==a||K.contains(e.ownerDocument,e)||(a=K.style(e,t)),Rt.test(a)&&qt.test(t)&&(r=s.width,i=s.minWidth,o=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=r,s.minWidth=i,s.maxWidth=o)),void 0!==a?a+"":a}function _(e,t){return{get:function(){return e()?(delete this.get,void 0):(this.get=t).apply(this,arguments)}}}function k(e,t){if(t in e)return t;for(var n=t[0].toUpperCase()+t.slice(1),r=t,i=Xt.length;i--;)if(t=Xt[i]+n,t in e)return t;return r}function T(e,t,n){var r=Wt.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):t}function C(e,t,n,r,i){for(var o=n===(r?"border":"content")?4:"width"===t?1:0,a=0;4>o;o+=2)"margin"===n&&(a+=K.css(e,n+_t[o],!0,i)),r?("content"===n&&(a-=K.css(e,"padding"+_t[o],!0,i)),"margin"!==n&&(a-=K.css(e,"border"+_t[o]+"Width",!0,i))):(a+=K.css(e,"padding"+_t[o],!0,i),"padding"!==n&&(a+=K.css(e,"border"+_t[o]+"Width",!0,i)));return a}function S(e,t,n){var r=!0,i="width"===t?e.offsetWidth:e.offsetHeight,o=Bt(e),a="border-box"===K.css(e,"boxSizing",!1,o);if(0>=i||null==i){if(i=x(e,t,o),(0>i||null==i)&&(i=e.style[t]),Rt.test(i))return i;r=a&&(J.boxSizingReliable()||i===e.style[t]),i=parseFloat(i)||0}return i+C(e,t,n||(a?"border":"content"),r,o)+"px"}function D(e,t){for(var n,r,i,o=[],a=0,s=e.length;s>a;a++)r=e[a],r.style&&(o[a]=vt.get(r,"olddisplay"),n=r.style.display,t?(o[a]||"none"!==n||(r.style.display=""),""===r.style.display&&kt(r)&&(o[a]=vt.access(r,"olddisplay",w(r.nodeName)))):(i=kt(r),"none"===n&&i||vt.set(r,"olddisplay",i?n:K.css(r,"display"))));for(a=0;s>a;a++)r=e[a],r.style&&(t&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=t?o[a]||"":"none"));return e}function M(e,t,n,r,i){return new M.prototype.init(e,t,n,r,i)}function E(){return setTimeout(function(){Jt=void 0}),Jt=K.now()}function j(e,t){var n,r=0,i={height:e};for(t=t?1:0;4>r;r+=2-t)n=_t[r],i["margin"+n]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function N(e,t,n){for(var r,i=(nn[t]||[]).concat(nn["*"]),o=0,a=i.length;a>o;o++)if(r=i[o].call(n,t,e))return r}function A(e,t,n){var r,i,o,a,s,u,c,l,f=this,d={},h=e.style,p=e.nodeType&&kt(e),g=vt.get(e,"fxshow");n.queue||(s=K._queueHooks(e,"fx"),null==s.unqueued&&(s.unqueued=0,u=s.empty.fire,s.empty.fire=function(){s.unqueued||u()}),s.unqueued++,f.always(function(){f.always(function(){s.unqueued--,K.queue(e,"fx").length||s.empty.fire()})})),1===e.nodeType&&("height"in t||"width"in t)&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],c=K.css(e,"display"),l="none"===c?vt.get(e,"olddisplay")||w(e.nodeName):c,"inline"===l&&"none"===K.css(e,"float")&&(h.display="inline-block")),n.overflow&&(h.overflow="hidden",f.always(function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]}));for(r in t)if(i=t[r],Qt.exec(i)){if(delete t[r],o=o||"toggle"===i,i===(p?"hide":"show")){if("show"!==i||!g||void 0===g[r])continue;p=!0}d[r]=g&&g[r]||K.style(e,r)}else c=void 0;if(K.isEmptyObject(d))"inline"===("none"===c?w(e.nodeName):c)&&(h.display=c);else{g?"hidden"in g&&(p=g.hidden):g=vt.access(e,"fxshow",{}),o&&(g.hidden=!p),p?K(e).show():f.done(function(){K(e).hide()}),f.done(function(){var t;vt.remove(e,"fxshow");for(t in d)K.style(e,t,d[t])});for(r in d)a=N(p?g[r]:0,r,f),r in g||(g[r]=a.start,p&&(a.end=a.start,a.start="width"===r||"height"===r?1:0))}}function O(e,t){var n,r,i,o,a;for(n in e)if(r=K.camelCase(n),i=t[r],o=e[n],K.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),a=K.cssHooks[r],a&&"expand"in a){o=a.expand(o),delete e[r];for(n in o)n in e||(e[n]=o[n],t[n]=i)}else t[r]=i}function H(e,t,n){var r,i,o=0,a=tn.length,s=K.Deferred().always(function(){delete u.elem}),u=function(){if(i)return!1;for(var t=Jt||E(),n=Math.max(0,c.startTime+c.duration-t),r=n/c.duration||0,o=1-r,a=0,u=c.tweens.length;u>a;a++)c.tweens[a].run(o);return s.notifyWith(e,[c,o,n]),1>o&&u?n:(s.resolveWith(e,[c]),!1)},c=s.promise({elem:e,props:K.extend({},t),opts:K.extend(!0,{specialEasing:{}},n),originalProperties:t,originalOptions:n,startTime:Jt||E(),duration:n.duration,tweens:[],createTween:function(t,n){var r=K.Tween(e,c.opts,t,n,c.opts.specialEasing[t]||c.opts.easing);return c.tweens.push(r),r},stop:function(t){var n=0,r=t?c.tweens.length:0;if(i)return this;for(i=!0;r>n;n++)c.tweens[n].run(1);return t?s.resolveWith(e,[c,t]):s.rejectWith(e,[c,t]),this}}),l=c.props;for(O(l,c.opts.specialEasing);a>o;o++)if(r=tn[o].call(c,e,l,c.opts))return r;return K.map(l,N,c),K.isFunction(c.opts.start)&&c.opts.start.call(e,c),K.fx.timer(K.extend(u,{elem:e,anim:c,queue:c.opts.queue})),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always)}function L(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(ht)||[];if(K.isFunction(n))for(;r=o[i++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function F(e,t,n,r){function i(s){var u;return o[s]=!0,K.each(e[s]||[],function(e,s){var c=s(t,n,r);return"string"!=typeof c||a||o[c]?a?!(u=c):void 0:(t.dataTypes.unshift(c),i(c),!1)}),u}var o={},a=e===_n;return i(t.dataTypes[0])||!o["*"]&&i("*")}function $(e,t){var n,r,i=K.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&K.extend(!0,e,r),e}function P(e,t,n){for(var r,i,o,a,s=e.contents,u=e.dataTypes;"*"===u[0];)u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){u.unshift(i);break}if(u[0]in n)o=u[0];else{for(i in n){if(!u[0]||e.converters[i+" "+u[0]]){o=i;break}a||(a=i)}o=o||a}return o?(o!==u[0]&&u.unshift(o),n[o]):void 0}function Y(e,t,n,r){var i,o,a,s,u,c={},l=e.dataTypes.slice();if(l[1])for(a in e.converters)c[a.toLowerCase()]=e.converters[a];for(o=l.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=l.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(a=c[u+" "+o]||c["* "+o],!a)for(i in c)if(s=i.split(" "),s[1]===o&&(a=c[u+" "+s[0]]||c["* "+s[0]])){a===!0?a=c[i]:c[i]!==!0&&(o=s[0],l.unshift(s[1]));break}if(a!==!0)if(a&&e["throws"])t=a(t);else try{t=a(t)}catch(f){return{state:"parsererror",error:a?f:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}function I(e,t,n,r){var i;if(K.isArray(t))K.each(t,function(t,i){n||Sn.test(e)?r(e,i):I(e+"["+("object"==typeof i?t:"")+"]",i,n,r)});else if(n||"object"!==K.type(t))r(e,t);else for(i in t)I(e+"["+i+"]",t[i],n,r)}function q(e){return K.isWindow(e)?e:9===e.nodeType&&e.defaultView}var R=[],B=R.slice,z=R.concat,W=R.push,U=R.indexOf,G={},V=G.toString,X=G.hasOwnProperty,J={},Z=e.document,Q="2.1.1",K=function(e,t){return new K.fn.init(e,t)},et=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,tt=/^-ms-/,nt=/-([\da-z])/gi,rt=function(e,t){return t.toUpperCase()};K.fn=K.prototype={jquery:Q,constructor:K,selector:"",length:0,toArray:function(){return B.call(this)},get:function(e){return null!=e?0>e?this[e+this.length]:this[e]:B.call(this)},pushStack:function(e){var t=K.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e,t){return K.each(this,e,t)},map:function(e){return this.pushStack(K.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(B.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(0>e?t:0);return this.pushStack(n>=0&&t>n?[this[n]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:W,sort:R.sort,splice:R.splice},K.extend=K.fn.extend=function(){var e,t,n,r,i,o,a=arguments[0]||{},s=1,u=arguments.length,c=!1;for("boolean"==typeof a&&(c=a,a=arguments[s]||{},s++),"object"==typeof a||K.isFunction(a)||(a={}),s===u&&(a=this,s--);u>s;s++)if(null!=(e=arguments[s]))for(t in e)n=a[t],r=e[t],a!==r&&(c&&r&&(K.isPlainObject(r)||(i=K.isArray(r)))?(i?(i=!1,o=n&&K.isArray(n)?n:[]):o=n&&K.isPlainObject(n)?n:{},a[t]=K.extend(c,o,r)):void 0!==r&&(a[t]=r));return a},K.extend({expando:"jQuery"+(Q+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isFunction:function(e){return"function"===K.type(e)},isArray:Array.isArray,isWindow:function(e){return null!=e&&e===e.window},isNumeric:function(e){return!K.isArray(e)&&e-parseFloat(e)>=0},isPlainObject:function(e){return"object"!==K.type(e)||e.nodeType||K.isWindow(e)?!1:e.constructor&&!X.call(e.constructor.prototype,"isPrototypeOf")?!1:!0},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?G[V.call(e)]||"object":typeof e},globalEval:function(e){var t,n=eval;e=K.trim(e),e&&(1===e.indexOf("use strict")?(t=Z.createElement("script"),t.text=e,Z.head.appendChild(t).parentNode.removeChild(t)):n(e))},camelCase:function(e){return e.replace(tt,"ms-").replace(nt,rt)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t,r){var i,o=0,a=e.length,s=n(e);if(r){if(s)for(;a>o&&(i=t.apply(e[o],r),i!==!1);o++);else for(o in e)if(i=t.apply(e[o],r),i===!1)break}else if(s)for(;a>o&&(i=t.call(e[o],o,e[o]),i!==!1);o++);else for(o in e)if(i=t.call(e[o],o,e[o]),i===!1)break;return e},trim:function(e){return null==e?"":(e+"").replace(et,"")},makeArray:function(e,t){var r=t||[];return null!=e&&(n(Object(e))?K.merge(r,"string"==typeof e?[e]:e):W.call(r,e)),r},inArray:function(e,t,n){return null==t?-1:U.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;n>r;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r,i=[],o=0,a=e.length,s=!n;a>o;o++)r=!t(e[o],o),r!==s&&i.push(e[o]);return i},map:function(e,t,r){var i,o=0,a=e.length,s=n(e),u=[];if(s)for(;a>o;o++)i=t(e[o],o,r),null!=i&&u.push(i);else for(o in e)i=t(e[o],o,r),null!=i&&u.push(i);return z.apply([],u)},guid:1,proxy:function(e,t){var n,r,i;return"string"==typeof t&&(n=e[t],t=e,e=n),K.isFunction(e)?(r=B.call(arguments,2),i=function(){return e.apply(t||this,r.concat(B.call(arguments)))},i.guid=e.guid=e.guid||K.guid++,i):void 0},now:Date.now,support:J}),K.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(e,t){G["[object "+t+"]"]=t.toLowerCase()});var it=function(e){function t(e,t,n,r){var i,o,a,s,u,c,f,h,p,g;if((t?t.ownerDocument||t:I)!==A&&N(t),t=t||A,n=n||[],!e||"string"!=typeof e)return n;if(1!==(s=t.nodeType)&&9!==s)return[];if(H&&!r){if(i=yt.exec(e))if(a=i[1]){if(9===s){if(o=t.getElementById(a),!o||!o.parentNode)return n;if(o.id===a)return n.push(o),n}else if(t.ownerDocument&&(o=t.ownerDocument.getElementById(a))&&P(t,o)&&o.id===a)return n.push(o),n}else{if(i[2])return K.apply(n,t.getElementsByTagName(e)),n;if((a=i[3])&&x.getElementsByClassName&&t.getElementsByClassName)return K.apply(n,t.getElementsByClassName(a)),n}if(x.qsa&&(!L||!L.test(e))){if(h=f=Y,p=t,g=9===s&&e,1===s&&"object"!==t.nodeName.toLowerCase()){for(c=C(e),(f=t.getAttribute("id"))?h=f.replace(wt,"\\$&"):t.setAttribute("id",h),h="[id='"+h+"'] ",u=c.length;u--;)c[u]=h+d(c[u]);p=bt.test(e)&&l(t.parentNode)||t,g=c.join(",")}if(g)try{return K.apply(n,p.querySelectorAll(g)),n}catch(m){}finally{f||t.removeAttribute("id")}}}return D(e.replace(ut,"$1"),t,n,r)}function n(){function e(n,r){return t.push(n+" ")>_.cacheLength&&delete e[t.shift()],e[n+" "]=r}var t=[];return e}function r(e){return e[Y]=!0,e}function i(e){var t=A.createElement("div");try{return!!e(t)}catch(n){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function o(e,t){for(var n=e.split("|"),r=e.length;r--;)_.attrHandle[n[r]]=t}function a(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||V)-(~e.sourceIndex||V);if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function s(e){return function(t){var n=t.nodeName.toLowerCase();return"input"===n&&t.type===e}}function u(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function c(e){return r(function(t){return t=+t,r(function(n,r){for(var i,o=e([],n.length,t),a=o.length;a--;)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))})})}function l(e){return e&&typeof e.getElementsByTagName!==G&&e}function f(){}function d(e){for(var t=0,n=e.length,r="";n>t;t++)r+=e[t].value;return r}function h(e,t,n){var r=t.dir,i=n&&"parentNode"===r,o=R++;return t.first?function(t,n,o){for(;t=t[r];)if(1===t.nodeType||i)return e(t,n,o)}:function(t,n,a){var s,u,c=[q,o];if(a){for(;t=t[r];)if((1===t.nodeType||i)&&e(t,n,a))return!0}else for(;t=t[r];)if(1===t.nodeType||i){if(u=t[Y]||(t[Y]={}),(s=u[r])&&s[0]===q&&s[1]===o)return c[2]=s[2];if(u[r]=c,c[2]=e(t,n,a))return!0}}}function p(e){return e.length>1?function(t,n,r){for(var i=e.length;i--;)if(!e[i](t,n,r))return!1;return!0}:e[0]}function g(e,n,r){for(var i=0,o=n.length;o>i;i++)t(e,n[i],r);return r}function m(e,t,n,r,i){for(var o,a=[],s=0,u=e.length,c=null!=t;u>s;s++)(o=e[s])&&(!n||n(o,r,i))&&(a.push(o),c&&t.push(s));return a}function v(e,t,n,i,o,a){return i&&!i[Y]&&(i=v(i)),o&&!o[Y]&&(o=v(o,a)),r(function(r,a,s,u){var c,l,f,d=[],h=[],p=a.length,v=r||g(t||"*",s.nodeType?[s]:s,[]),y=!e||!r&&t?v:m(v,d,e,s,u),b=n?o||(r?e:p||i)?[]:a:y;if(n&&n(y,b,s,u),i)for(c=m(b,h),i(c,[],s,u),l=c.length;l--;)(f=c[l])&&(b[h[l]]=!(y[h[l]]=f));if(r){if(o||e){if(o){for(c=[],l=b.length;l--;)(f=b[l])&&c.push(y[l]=f);o(null,b=[],c,u)}for(l=b.length;l--;)(f=b[l])&&(c=o?tt.call(r,f):d[l])>-1&&(r[c]=!(a[c]=f))}}else b=m(b===a?b.splice(p,b.length):b),o?o(null,a,b,u):K.apply(a,b)})}function y(e){for(var t,n,r,i=e.length,o=_.relative[e[0].type],a=o||_.relative[" "],s=o?1:0,u=h(function(e){return e===t},a,!0),c=h(function(e){return tt.call(t,e)>-1},a,!0),l=[function(e,n,r){return!o&&(r||n!==M)||((t=n).nodeType?u(e,n,r):c(e,n,r))}];i>s;s++)if(n=_.relative[e[s].type])l=[h(p(l),n)];else{if(n=_.filter[e[s].type].apply(null,e[s].matches),n[Y]){for(r=++s;i>r&&!_.relative[e[r].type];r++);return v(s>1&&p(l),s>1&&d(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(ut,"$1"),n,r>s&&y(e.slice(s,r)),i>r&&y(e=e.slice(r)),i>r&&d(e))}l.push(n)}return p(l)}function b(e,n){var i=n.length>0,o=e.length>0,a=function(r,a,s,u,c){var l,f,d,h=0,p="0",g=r&&[],v=[],y=M,b=r||o&&_.find.TAG("*",c),w=q+=null==y?1:Math.random()||.1,x=b.length;for(c&&(M=a!==A&&a);p!==x&&null!=(l=b[p]);p++){if(o&&l){for(f=0;d=e[f++];)if(d(l,a,s)){u.push(l);break}c&&(q=w)}i&&((l=!d&&l)&&h--,r&&g.push(l))}if(h+=p,i&&p!==h){for(f=0;d=n[f++];)d(g,v,a,s);if(r){if(h>0)for(;p--;)g[p]||v[p]||(v[p]=Z.call(u));v=m(v)}K.apply(u,v),c&&!r&&v.length>0&&h+n.length>1&&t.uniqueSort(u)}return c&&(q=w,M=y),g};return i?r(a):a}var w,x,_,k,T,C,S,D,M,E,j,N,A,O,H,L,F,$,P,Y="sizzle"+-new Date,I=e.document,q=0,R=0,B=n(),z=n(),W=n(),U=function(e,t){return e===t&&(j=!0),0},G="undefined",V=1<<31,X={}.hasOwnProperty,J=[],Z=J.pop,Q=J.push,K=J.push,et=J.slice,tt=J.indexOf||function(e){for(var t=0,n=this.length;n>t;t++)if(this[t]===e)return t;return-1},nt="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",rt="[\\x20\\t\\r\\n\\f]",it="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",ot=it.replace("w","w#"),at="\\["+rt+"*("+it+")(?:"+rt+"*([*^$|!~]?=)"+rt+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+ot+"))|)"+rt+"*\\]",st=":("+it+")(?:\\(("+"('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|"+"((?:\\\\.|[^\\\\()[\\]]|"+at+")*)|"+".*"+")\\)|)",ut=new RegExp("^"+rt+"+|((?:^|[^\\\\])(?:\\\\.)*)"+rt+"+$","g"),ct=new RegExp("^"+rt+"*,"+rt+"*"),lt=new RegExp("^"+rt+"*([>+~]|"+rt+")"+rt+"*"),ft=new RegExp("="+rt+"*([^\\]'\"]*?)"+rt+"*\\]","g"),dt=new RegExp(st),ht=new RegExp("^"+ot+"$"),pt={ID:new RegExp("^#("+it+")"),CLASS:new RegExp("^\\.("+it+")"),TAG:new RegExp("^("+it.replace("w","w*")+")"),ATTR:new RegExp("^"+at),PSEUDO:new RegExp("^"+st),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+rt+"*(even|odd|(([+-]|)(\\d*)n|)"+rt+"*(?:([+-]|)"+rt+"*(\\d+)|))"+rt+"*\\)|)","i"),bool:new RegExp("^(?:"+nt+")$","i"),needsContext:new RegExp("^"+rt+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+rt+"*((?:-\\d)?\\d*)"+rt+"*\\)|)(?=[^-]|$)","i")},gt=/^(?:input|select|textarea|button)$/i,mt=/^h\d$/i,vt=/^[^{]+\{\s*\[native \w/,yt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,bt=/[+~]/,wt=/'|\\/g,xt=new RegExp("\\\\([\\da-f]{1,6}"+rt+"?|("+rt+")|.)","ig"),_t=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:0>r?String.fromCharCode(r+65536):String.fromCharCode(55296|r>>10,56320|1023&r)};try{K.apply(J=et.call(I.childNodes),I.childNodes),J[I.childNodes.length].nodeType}catch(kt){K={apply:J.length?function(e,t){Q.apply(e,et.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}x=t.support={},T=t.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return t?"HTML"!==t.nodeName:!1},N=t.setDocument=function(e){var t,n=e?e.ownerDocument||e:I,r=n.defaultView;return n!==A&&9===n.nodeType&&n.documentElement?(A=n,O=n.documentElement,H=!T(n),r&&r!==r.top&&(r.addEventListener?r.addEventListener("unload",function(){N()},!1):r.attachEvent&&r.attachEvent("onunload",function(){N()})),x.attributes=i(function(e){return e.className="i",!e.getAttribute("className")}),x.getElementsByTagName=i(function(e){return e.appendChild(n.createComment("")),!e.getElementsByTagName("*").length}),x.getElementsByClassName=vt.test(n.getElementsByClassName)&&i(function(e){return e.innerHTML="<div class='a'></div><div class='a i'></div>",e.firstChild.className="i",2===e.getElementsByClassName("i").length}),x.getById=i(function(e){return O.appendChild(e).id=Y,!n.getElementsByName||!n.getElementsByName(Y).length}),x.getById?(_.find.ID=function(e,t){if(typeof t.getElementById!==G&&H){var n=t.getElementById(e);return n&&n.parentNode?[n]:[]}},_.filter.ID=function(e){var t=e.replace(xt,_t);return function(e){return e.getAttribute("id")===t}}):(delete _.find.ID,_.filter.ID=function(e){var t=e.replace(xt,_t);return function(e){var n=typeof e.getAttributeNode!==G&&e.getAttributeNode("id");return n&&n.value===t}}),_.find.TAG=x.getElementsByTagName?function(e,t){return typeof t.getElementsByTagName!==G?t.getElementsByTagName(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);
vendor: 4,264 bytes, line 3
3if("*"===e){for(;n=o[i++];)1===n.nodeType&&r.push(n);return r}return o},_.find.CLASS=x.getElementsByClassName&&function(e,t){return typeof t.getElementsByClassName!==G&&H?t.getElementsByClassName(e):void 0},F=[],L=[],(x.qsa=vt.test(n.querySelectorAll))&&(i(function(e){e.innerHTML="<select msallowclip=''><option selected=''></option></select>",e.querySelectorAll("[msallowclip^='']").length&&L.push("[*^$]="+rt+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||L.push("\\["+rt+"*(?:value|"+nt+")"),e.querySelectorAll(":checked").length||L.push(":checked")}),i(function(e){var t=n.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&L.push("name"+rt+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||L.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),L.push(",.*:")})),(x.matchesSelector=vt.test($=O.matches||O.webkitMatchesSelector||O.mozMatchesSelector||O.oMatchesSelector||O.msMatchesSelector))&&i(function(e){x.disconnectedMatch=$.call(e,"div"),$.call(e,"[s!='']:x"),F.push("!=",st)}),L=L.length&&new RegExp(L.join("|")),F=F.length&&new RegExp(F.join("|")),t=vt.test(O.compareDocumentPosition),P=t||vt.test(O.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},U=t?function(e,t){if(e===t)return j=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r?r:(r=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1,1&r||!x.sortDetached&&t.compareDocumentPosition(e)===r?e===n||e.ownerDocument===I&&P(I,e)?-1:t===n||t.ownerDocument===I&&P(I,t)?1:E?tt.call(E,e)-tt.call(E,t):0:4&r?-1:1)}:function(e,t){if(e===t)return j=!0,0;var r,i=0,o=e.parentNode,s=t.parentNode,u=[e],c=[t];if(!o||!s)return e===n?-1:t===n?1:o?-1:s?1:E?tt.call(E,e)-tt.call(E,t):0;if(o===s)return a(e,t);for(r=e;r=r.parentNode;)u.unshift(r);for(r=t;r=r.parentNode;)c.unshift(r);for(;u[i]===c[i];)i++;return i?a(u[i],c[i]):u[i]===I?-1:c[i]===I?1:0},n):A},t.matches=function(e,n){return t(e,null,null,n)},t.matchesSelector=function(e,n){if((e.ownerDocument||e)!==A&&N(e),n=n.replace(ft,"='$1']"),!(!x.matchesSelector||!H||F&&F.test(n)||L&&L.test(n)))try{var r=$.call(e,n);if(r||x.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(i){}return t(n,A,null,[e]).length>0},t.contains=function(e,t){return(e.ownerDocument||e)!==A&&N(e),P(e,t)},t.attr=function(e,t){(e.ownerDocument||e)!==A&&N(e);var n=_.attrHandle[t.toLowerCase()],r=n&&X.call(_.attrHandle,t.toLowerCase())?n(e,t,!H):void 0;return void 0!==r?r:x.attributes||!H?e.getAttribute(t):(r=e.getAttributeNode(t))&&r.specified?r.value:null},t.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},t.uniqueSort=function(e){var t,n=[],r=0,i=0;if(j=!x.detectDuplicates,E=!x.sortStable&&e.slice(0),e.sort(U),j){for(;t=e[i++];)t===e[i]&&(r=n.push(i));for(;r--;)e.splice(n[r],1)}return E=null,e},k=t.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=k(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r++];)n+=k(t);return n},_=t.selectors={cacheLength:50,createPseudo:r,match:pt,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(xt,_t),e[3]=(e[3]||e[4]||e[5]||"").replace(xt,_t),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||t.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&t.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return pt.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&dt.test(n)&&(t=C(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(xt,_t).toLowerCase();return"*"===e?function(){return!0}
vendor: 5,798 bytes, lines 3-4
3:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=B[e+" "];return t||(t=new RegExp("(^|"+rt+")"+e+"("+rt+"|$)"))&&B(e,function(e){return t.test("string"==typeof e.className&&e.className||typeof e.getAttribute!==G&&e.getAttribute("class")||"")})},ATTR:function(e,n,r){return function(i){var o=t.attr(i,e);return null==o?"!="===n:n?(o+="","="===n?o===r:"!="===n?o!==r:"^="===n?r&&0===o.indexOf(r):"*="===n?r&&o.indexOf(r)>-1:"$="===n?r&&o.slice(-r.length)===r:"~="===n?(" "+o+" ").indexOf(r)>-1:"|="===n?o===r||o.slice(0,r.length+1)===r+"-":!1):!0}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,u){var c,l,f,d,h,p,g=o!==a?"nextSibling":"previousSibling",m=t.parentNode,v=s&&t.nodeName.toLowerCase(),y=!u&&!s;if(m){if(o){for(;g;){for(f=t;f=f[g];)if(s?f.nodeName.toLowerCase()===v:1===f.nodeType)return!1;p=g="only"===e&&!p&&"nextSibling"}return!0}if(p=[a?m.firstChild:m.lastChild],a&&y){for(l=m[Y]||(m[Y]={}),c=l[e]||[],h=c[0]===q&&c[1],d=c[0]===q&&c[2],f=h&&m.childNodes[h];f=++h&&f&&f[g]||(d=h=0)||p.pop();)if(1===f.nodeType&&++d&&f===t){l[e]=[q,h,d];break}}else if(y&&(c=(t[Y]||(t[Y]={}))[e])&&c[0]===q)d=c[1];else for(;(f=++h&&f&&f[g]||(d=h=0)||p.pop())&&((s?f.nodeName.toLowerCase()!==v:1!==f.nodeType)||!++d||(y&&((f[Y]||(f[Y]={}))[e]=[q,d]),f!==t)););return d-=i,d===r||0===d%r&&d/r>=0}}},PSEUDO:function(e,n){var i,o=_.pseudos[e]||_.setFilters[e.toLowerCase()]||t.error("unsupported pseudo: "+e);return o[Y]?o(n):o.length>1?(i=[e,e,"",n],_.setFilters.hasOwnProperty(e.toLowerCase())?r(function(e,t){for(var r,i=o(e,n),a=i.length;a--;)r=tt.call(e,i[a]),e[r]=!(t[r]=i[a])}):function(e){return o(e,0,i)}):o}},pseudos:{not:r(function(e){var t=[],n=[],i=S(e.replace(ut,"$1"));return i[Y]?r(function(e,t,n,r){for(var o,a=i(e,null,r,[]),s=e.length;s--;)(o=a[s])&&(e[s]=!(t[s]=o))}):function(e,r,o){return t[0]=e,i(t,null,o,n),!n.pop()}}),has:r(function(e){return function(n){return t(e,n).length>0}}),contains:r(function(e){return function(t){return(t.textContent||t.innerText||k(t)).indexOf(e)>-1}}),lang:r(function(e){return ht.test(e||"")||t.error("unsupported lang: "+e),e=e.replace(xt,_t).toLowerCase(),function(t){var n;do if(n=H?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return n=n.toLowerCase(),n===e||0===n.indexOf(e+"-");while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash; 4return n&&n.slice(1)===t.id},root:function(e){return e===O},focus:function(e){return e===A.activeElement&&(!A.hasFocus||A.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return e.disabled===!1},disabled:function(e){return e.disabled===!0},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!_.pseudos.empty(e)},header:function(e){return mt.test(e.nodeName)},input:function(e){return gt.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:c(function(){return[0]}),last:c(function(e,t){return[t-1]}),eq:c(function(e,t,n){return[0>n?n+t:n]}),even:c(function(e,t){for(var n=0;t>n;n+=2)e.push(n);return e}),odd:c(function(e,t){for(var n=1;t>n;n+=2)e.push(n);return e}),lt:c(function(e,t,n){for(var r=0>n?n+t:n;--r>=0;)e.push(r);return e}),gt:c(function(e,t,n){for(var r=0>n?n+t:n;++r<t;)e.push(r);return e})}},_.pseudos.nth=_.pseudos.eq;for(w in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})_.pseudos[w]=s(w);for(w in{submit:!0,reset:!0})_.pseudos[w]=u(w);return f.prototype=_.filters=_.pseudos,_.setFilters=new f,C=t.tokenize=function(e,n){var r,i,o,a,s,u,c,l=z[e+" "];if(l)return n?0:l.slice(0);for(s=e,u=[],c=_.preFilter;s;){(!r||(i=ct.exec(s)))&&(i&&(s=s.slice(i[0].length)||s),u.push(o=[])),r=!1,(i=lt.exec(s))&&(r=i.shift(),o.push({value:r,type:i[0].replace(ut," ")}),s=s.slice(r.length));for(a in _.filter)!(i=pt[a].exec(s))||c[a]&&!(i=c[a](i))||(r=i.shift(),o.push({value:r,type:a,matches:i}),s=s.slice(r.length));if(!r)break}return n?s.length:s?t.error(e):z(e,u).slice(0)},S=t.compile=function(e,t){var n,r=[],i=[],o=W[e+" "];if(!o){for(t||(t=C(e)),n=t.length;n--;)o=y(t[n]),o[Y]?r.push(o):i.push(o);o=W(e,b(i,r)),o.selector=e}return o},D=t.select=function(e,t,n,r){var i,o,a,s,u,c="function"==typeof e&&e,f=!r&&C(e=c.selector||e);if(n=n||[],1===f.length){if(o=f[0]=f[0].slice(0),o.length>2&&"ID"===(a=o[0]).type&&x.getById&&9===t.nodeType&&H&&_.relative[o[1].type]){if(t=(_.find.ID(a.matches[0].replace(xt,_t),t)||[])[0],!t)return n;c&&(t=t.parentNode),e=e.slice(o.shift().value.length)}for(i=pt.needsContext.test(e)?0:o.length;i--&&(a=o[i],!_.relative[s=a.type]);)if((u=_.find[s])&&(r=u(a.matches[0].replace(xt,_t),bt.test(o[0].type)&&l(t.parentNode)||t))){if(o.splice(i,1),e=r.length&&d(o),!e)return K.apply(n,r),n;break}}return(c||S(e,f))(r,t,!H,n,bt.test(e)&&l(t.parentNode)||t),n},x.sortStable=Y.split("").sort(U).join("")===Y,x.detectDuplicates=!!j,N(),x.sortDetached=i(function(e){return 1&e.compareDocumentPosition(A.createElement("div"))}),i(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||o("type|href|height|width",function(e,t,n){return n?void 0:e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),x.attributes&&i(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")}
vendor: 5,415 bytes, line 4
4)||o("value",function(e,t,n){return n||"input"!==e.nodeName.toLowerCase()?void 0:e.defaultValue}),i(function(e){return null==e.getAttribute("disabled")})||o(nt,function(e,t,n){var r;return n?void 0:e[t]===!0?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),t}(e);K.find=it,K.expr=it.selectors,K.expr[":"]=K.expr.pseudos,K.unique=it.uniqueSort,K.text=it.getText,K.isXMLDoc=it.isXML,K.contains=it.contains;var ot=K.expr.match.needsContext,at=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,st=/^.[^:#\[\.,]*$/;K.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?K.find.matchesSelector(r,e)?[r]:[]:K.find.matches(e,K.grep(t,function(e){return 1===e.nodeType}))},K.fn.extend({find:function(e){var t,n=this.length,r=[],i=this;if("string"!=typeof e)return this.pushStack(K(e).filter(function(){for(t=0;n>t;t++)if(K.contains(i[t],this))return!0}));for(t=0;n>t;t++)K.find(e,i[t],r);return r=this.pushStack(n>1?K.unique(r):r),r.selector=this.selector?this.selector+" "+e:e,r},filter:function(e){return this.pushStack(r(this,e||[],!1))},not:function(e){return this.pushStack(r(this,e||[],!0))},is:function(e){return!!r(this,"string"==typeof e&&ot.test(e)?K(e):e||[],!1).length}});var ut,ct=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,lt=K.fn.init=function(e,t){var n,r;if(!e)return this;if("string"==typeof e){if(n="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:ct.exec(e),!n||!n[1]&&t)return!t||t.jquery?(t||ut).find(e):this.constructor(t).find(e);if(n[1]){if(t=t instanceof K?t[0]:t,K.merge(this,K.parseHTML(n[1],t&&t.nodeType?t.ownerDocument||t:Z,!0)),at.test(n[1])&&K.isPlainObject(t))for(n in t)K.isFunction(this[n])?this[n](t[n]):this.attr(n,t[n]);return this}return r=Z.getElementById(n[2]),r&&r.parentNode&&(this.length=1,this[0]=r),this.context=Z,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):K.isFunction(e)?"undefined"!=typeof ut.ready?ut.ready(e):e(K):(void 0!==e.selector&&(this.selector=e.selector,this.context=e.context),K.makeArray(e,this))};lt.prototype=K.fn,ut=K(Z);var ft=/^(?:parents|prev(?:Until|All))/,dt={children:!0,contents:!0,next:!0,prev:!0};K.extend({dir:function(e,t,n){for(var r=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&K(e).is(n))break;r.push(e)}return r},sibling:function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}}),K.fn.extend({has:function(e){var t=K(e,this),n=t.length;return this.filter(function(){for(var e=0;n>e;e++)if(K.contains(this,t[e]))return!0})},closest:function(e,t){for(var n,r=0,i=this.length,o=[],a=ot.test(e)||"string"!=typeof e?K(e,t||this.context):0;i>r;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&K.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?K.unique(o):o)},index:function(e){return e?"string"==typeof e?U.call(K(e),this[0]):U.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(K.unique(K.merge(this.get(),K(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),K.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return K.dir(e,"parentNode")},parentsUntil:function(e,t,n){return K.dir(e,"parentNode",n)},next:function(e){return i(e,"nextSibling")},prev:function(e){return i(e,"previousSibling")},nextAll:function(e){return K.dir(e,"nextSibling")},prevAll:function(e){return K.dir(e,"previousSibling")},nextUntil:function(e,t,n){return K.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return K.dir(e,"previousSibling",n)},siblings:function(e){return K.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return K.sibling(e.firstChild)},contents:function(e){return e.contentDocument||K.merge([],e.childNodes)}},function(e,t){K.fn[e]=function(n,r){var i=K.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=K.filter(r,i)),this.length>1&&(dt[e]||K.unique(i),ft.test(e)&&i.reverse()),this.pushStack(i)}});var ht=/\S+/g,pt={};K.Callbacks=function(e){e="string"==typeof e?pt[e]||o(e):K.extend({},e);var t,n,r,i,a,s,u=[],c=!e.once&&[],l=function(o){for(t=e.memory&&o,n=!0,s=i||0,i=0,a=u.length,r=!0;u&&a>s;s++)if(u[s].apply(o[0],o[1])===!1&&e.stopOnFalse){t=!1;break}r=!1,u&&(c?c.length&&l(c.shift()):t?u=[]:f.disable())},f={add:function(){if(u){var n=u.length;!function o(t){K.each(t,function(t,n){var r=K.type(n);"function"===r?e.unique&&f.has(n)||u.push(n):n&&n.length&&"string"!==r&&o(n)})}(arguments),r?a=u.length:t&&(i=n,l(t))}return this},remove:function(){return u&&K.each(arguments,function(e,t){for(var n;(n=K.inArray(t,u,n))>-1;)u.splice(n,1),r&&(a>=n&&a--,s>=n&&s--)}),this},has:function(e){return e?K.inArray(e,u)>-1:!(!u||!u.length)},empty:function(){return u=[],a=0,this},disable:function(){return u=c=t=void 0,this},disabled:function(){return!u},lock:function(){return c=void 0,t||f.disable(),this},locked:function(){return!c},fireWith:function(e,t){return!u||n&&!c||(t=t||[],t=[e,t.slice?t.slice():t],r?c.push(t):l(t)),this},fire:function(){return f.fireWith(this,arguments),this},fired:function(){return!!n}};return f},K.extend({Deferred:function(e){var t=[["resolve","done",K.Callbacks("once memory"),"resolved"],["reject","fail",K.Callbacks("once memory"),"rejected"],["notify","progress",K.Callbacks("memory")]],n="pe
4nding",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var e=arguments;return K.Deferred(function(n){K.each(t,function(t,o){var a=K.isFunction(e[t])&&e[t];i[o[1]](function(){var e=a&&a.apply(this,arguments);e&&K.isFunction(e.promise)?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[o[0]+"With"](this===r?n.promise():this,a?[e]:arguments)})}),e=null}).promise()},promise:function(e){return null!=e?K.extend(e,r):r}},i={};return r.pipe=r.then,K.each(t,function(e,o){var a=o[2],s=o[3];r[o[1]]=a.add,s&&a.add(function(){n=s},t[1^e][2].disable,t[2][2].lock),i[o[0]]=function(){return i[o[0]+"With"](this===i?r:this,arguments),this},i[o[0]+"With"]=a.fireWith}),r.promise(i),e&&e.call(i,i),i},when:function(e){var t,n,r,i=0,o=B.call(arguments),a=o.length,s=1!==a||e&&K.isFunction(e.promise)?a:0,u=1===s?e:K.Deferred(),c=function(e,n,r){return function(i){n[e]=this,r[e]=arguments.length>1?B.call(arguments):i,r===t?u.notifyWith(n,r):--s||u.resolveWith(n,r)}};if(a>1)for(t=new Array(a),n=new Array(a),r=new Array(a);a>i;i++)o[i]&&K.isFunction(o[i].promise)?o[i].promise().done(c(i,r,o)).fail(u.reject).progress(c(i,n,t)):--s;return s||u.resolveWith(r,o),u.promise()}});var gt;K.fn.ready=function(e){return K.ready.promise().done(e),this},K.extend({isReady:!1,readyWait:1,holdReady:function(e){e?K.readyWait++:K.ready(!0)},ready:function(e){(e===!0?--K.readyWait:K.isReady)||(K.isReady=!0,e!==!0&&--K.readyWait>0||(gt.resolveWith(Z,[K]),K.fn.triggerHandler&&(K(Z).triggerHandler("ready"),K(Z).off("ready"))))}}),K.ready.promise=function(t){return gt||(gt=K.Deferred(),"complete"===Z.readyState?setTimeout(K.ready):(Z.addEventListener("DOMContentLoaded",a,!1),e.addEventListener("load",a,!1))),gt.promise(t)},K.ready.promise();var mt=K.access=function(e,t,n,r,i,o,a){var s=0,u=e.length,c=null==n;if("object"===K.type(n)){i=!0;for(s in n)K.access(e,t,s,n[s],!0,o,a)}else if(void 0!==r&&(i=!0,K.isFunction(r)||(a=!0),c&&(a?(t.call(e,r),t=null):(c=t,t=function(e,t,n){return c.call(K(e),n)})),t))for(;u>s;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return i?e:c?t.call(e):u?t(e[0],n):o};K.acceptData=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType},s.uid=1,s.accepts=K.acceptData,s.prototype={key:function(e){if(!s.accepts(e))return 0;var t={},n=e[this.expando];if(!n){n=s.uid++;try{t[this.expando]={value:n},Object.defineProperties(e,t)}catch(r){t[this.expando]=n,K.extend(e,t)}}return this.cache[n]||(this.cache[n]={}),n},set:function(e,t,n){var r,i=this.key(e),o=this.cache[i];if("string"==typeof t)o[t]=n;else if(K.isEmptyObject(o))K.extend(this.cache[i],t);else for(r in t)o[r]=t[r];return o},get:function(e,t){var n=this.cache[this.key(e)];return void 0===t?n:n[t]},access:function(e,t,n){var r;return void 0===t||t&&"string"==typeof t&&void 0===n?(r=this.get(e,t),void 0!==r?r:this.get(e,K.camelCase(t))):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r,i,o=this.key(e),a=this.cache[o];if(void 0===t)this.cache[o]={};else{K.isArray(t)?r=t.concat(t.map(K.camelCase)):(i=K.camelCase(t),t in a?r=[t,i]:(r=i,r=r in a?[r]:r.match(ht)||[])),n=r.length;for(;n--;)delete a[r[n]]}},hasData:function(e){return!K.isEmptyObject(this.cache[e[this.expando]]||{})},discard:function(e){e[this.expando]&&delete this.cache[e[this.expando]]}};var vt=new s,yt=new s,bt=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,wt=/([A-Z])/g;K.extend({hasData:function(e){return yt.hasData(e)||vt.hasData(e)},data:function(e,t,n){return yt.access(e,t,n)},removeData:function(e,t){yt.remove(e,t)},_data:function(e,t,n){return vt.access(e,t,n)},_removeData:function(e,t){vt.remove(e,t)}}),K.fn.extend({data:function(e,t){var n,r,i,o=this[0],a=o&&o.attributes;if(void 0===e){if(this.length&&(i=yt.get(o),1===o.nodeType&&!vt.get(o,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&(r=a[n].name,0===r.indexOf("data-")&&(r=K.camelCase(r.slice(5)),u(o,r,i[r])));vt.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof e?this.each(function(){yt.set(this,e)}):mt(this,function(t){var n,r=K.camelCase(e);if(o&&void 0===t){if(n=yt.get(o,e),void 0!==n)return n;if(n=yt.get(o,r),void 0!==n)return n;if(n=u(o,r,void 0),void 0!==n)return n}else this.each(function(){var n=yt.get(this,r);yt.set(this,r,t),-1!==e.indexOf("-")&&void 0!==n&&yt.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){yt.remove(this,e)})}}),K.extend({queue:function(e,t,n){var r;return e?(t=(t||"fx")+"queue",r=vt.get(e,t),n&&(!r||K.isArray(n)?r=vt.access(e,t,K.makeArray(n)):r.push(n)),r||[]):void 0},dequeue:function(e,t){t=t||"fx";var n=K.queue(e,t),r=n.length,i=n.shift(),o=K._queueHooks(e,t),a=function(){K.dequeue(e,t)};"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,a,o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return vt.get(e,n)||vt.access(e,n,{empty:K.Callbacks("once memory").add(function(){vt.remove(e,[t+"queue",n])})})}}),K.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?K.queue(this[0],e):void 0===t?this:this.each(function(){var n=K.queue(this,e,t);K._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&K.dequeue(this,e)})},dequeue:function(e){return this.each(function(){K.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=K.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)n=vt.get(o[a],e+"queueHooks"),n&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}});var xt=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,_t=["Top","Right","Bottom","Left"],kt=function(e,t){return e=t||e,"none"===K.css(e,"display")||!K.contains(e.ownerDocument,e)},Tt=/^(?:checkbox|radio)$/i;!function(){var e=Z.createDocumentFragment(),t=e.appendChild(Z.createElement("div")),n=Z.createElement("input");n.setAttribute("type","radio"),n.setAttribute("checked","checked"),n.setAttribute("name","t"),t.appendChild(n),J.checkClone
vendor: 7,240 bytes, line 4
4=t.cloneNode(!0).cloneNode(!0).lastChild.checked,t.innerHTML="<textarea>x</textarea>",J.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue}();var Ct="undefined";J.focusinBubbles="onfocusin"in e;var St=/^key/,Dt=/^(?:mouse|pointer|contextmenu)|click/,Mt=/^(?:focusinfocus|focusoutblur)$/,Et=/^([^.]*)(?:\.(.+)|)$/;K.event={global:{},add:function(e,t,n,r,i){var o,a,s,u,c,l,f,d,h,p,g,m=vt.get(e);if(m)for(n.handler&&(o=n,n=o.handler,i=o.selector),n.guid||(n.guid=K.guid++),(u=m.events)||(u=m.events={}),(a=m.handle)||(a=m.handle=function(t){return typeof K!==Ct&&K.event.triggered!==t.type?K.event.dispatch.apply(e,arguments):void 0}),t=(t||"").match(ht)||[""],c=t.length;c--;)s=Et.exec(t[c])||[],h=g=s[1],p=(s[2]||"").split(".").sort(),h&&(f=K.event.special[h]||{},h=(i?f.delegateType:f.bindType)||h,f=K.event.special[h]||{},l=K.extend({type:h,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&K.expr.match.needsContext.test(i),namespace:p.join(".")},o),(d=u[h])||(d=u[h]=[],d.delegateCount=0,f.setup&&f.setup.call(e,r,p,a)!==!1||e.addEventListener&&e.addEventListener(h,a,!1)),f.add&&(f.add.call(e,l),l.handler.guid||(l.handler.guid=n.guid)),i?d.splice(d.delegateCount++,0,l):d.push(l),K.event.global[h]=!0)},remove:function(e,t,n,r,i){var o,a,s,u,c,l,f,d,h,p,g,m=vt.hasData(e)&&vt.get(e);if(m&&(u=m.events)){for(t=(t||"").match(ht)||[""],c=t.length;c--;)if(s=Et.exec(t[c])||[],h=g=s[1],p=(s[2]||"").split(".").sort(),h){for(f=K.event.special[h]||{},h=(r?f.delegateType:f.bindType)||h,d=u[h]||[],s=s[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=d.length;o--;)l=d[o],!i&&g!==l.origType||n&&n.guid!==l.guid||s&&!s.test(l.namespace)||r&&r!==l.selector&&("**"!==r||!l.selector)||(d.splice(o,1),l.selector&&d.delegateCount--,f.remove&&f.remove.call(e,l));a&&!d.length&&(f.teardown&&f.teardown.call(e,p,m.handle)!==!1||K.removeEvent(e,h,m.handle),delete u[h])}else for(h in u)K.event.remove(e,h+t[c],n,r,!0);K.isEmptyObject(u)&&(delete m.handle,vt.remove(e,"events"))}},trigger:function(t,n,r,i){var o,a,s,u,c,l,f,d=[r||Z],h=X.call(t,"type")?t.type:t,p=X.call(t,"namespace")?t.namespace.split("."):[];if(a=s=r=r||Z,3!==r.nodeType&&8!==r.nodeType&&!Mt.test(h+K.event.triggered)&&(h.indexOf(".")>=0&&(p=h.split("."),h=p.shift(),p.sort()),c=h.indexOf(":")<0&&"on"+h,t=t[K.expando]?t:new K.Event(h,"object"==typeof t&&t),t.isTrigger=i?2:3,t.namespace=p.join("."),t.namespace_re=t.namespace?new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=r),n=null==n?[t]:K.makeArray(n,[t]),f=K.event.special[h]||{},i||!f.trigger||f.trigger.apply(r,n)!==!1)){if(!i&&!f.noBubble&&!K.isWindow(r)){for(u=f.delegateType||h,Mt.test(u+h)||(a=a.parentNode);a;a=a.parentNode)d.push(a),s=a;s===(r.ownerDocument||Z)&&d.push(s.defaultView||s.parentWindow||e)}for(o=0;(a=d[o++])&&!t.isPropagationStopped();)t.type=o>1?u:f.bindType||h,l=(vt.get(a,"events")||{})[t.type]&&vt.get(a,"handle"),l&&l.apply(a,n),l=c&&a[c],l&&l.apply&&K.acceptData(a)&&(t.result=l.apply(a,n),t.result===!1&&t.preventDefault());return t.type=h,i||t.isDefaultPrevented()||f._default&&f._default.apply(d.pop(),n)!==!1||!K.acceptData(r)||c&&K.isFunction(r[h])&&!K.isWindow(r)&&(s=r[c],s&&(r[c]=null),K.event.triggered=h,r[h](),K.event.triggered=void 0,s&&(r[c]=s)),t.result}},dispatch:function(e){e=K.event.fix(e);var t,n,r,i,o,a=[],s=B.call(arguments),u=(vt.get(this,"events")||{})[e.type]||[],c=K.event.special[e.type]||{};if(s[0]=e,e.delegateTarget=this,!c.preDispatch||c.preDispatch.call(this,e)!==!1){for(a=K.event.handlers.call(this,e,u),t=0;(i=a[t++])&&!e.isPropagationStopped();)for(e.currentTarget=i.elem,n=0;(o=i.handlers[n++])&&!e.isImmediatePropagationStopped();)(!e.namespace_re||e.namespace_re.test(o.namespace))&&(e.handleObj=o,e.data=o.data,r=((K.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,s),void 0!==r&&(e.result=r)===!1&&(e.preventDefault(),e.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,e),e.result}},handlers:function(e,t){var n,r,i,o,a=[],s=t.delegateCount,u=e.target;if(s&&u.nodeType&&(!e.button||"click"!==e.type))for(;u!==this;u=u.parentNode||this)if(u.disabled!==!0||"click"!==e.type){for(r=[],n=0;s>n;n++)o=t[n],i=o.selector+" ",void 0===r[i]&&(r[i]=o.needsContext?K(i,this).index(u)>=0:K.find(i,this,null,[u]).length),r[i]&&r.push(o);r.length&&a.push({elem:u,handlers:r})}return s<t.length&&a.push({elem:this,handlers:t.slice(s)}),a},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,t){var n,r,i,o=t.button;return null==e.pageX&&null!=t.clientX&&(n=e.target.ownerDocument||Z,r=n.documentElement,i=n.body,e.pageX=t.clientX+(r&&r.scrollLeft||i&&i.scrollLeft||0)-(r&&r.clientLeft||i&&i.clientLeft||0),e.pageY=t.clientY+(r&&r.scrollTop||i&&i.scrollTop||0)-(r&&r.clientTop||i&&i.clientTop||0)),e.which||void 0===o||(e.which=1&o?1:2&o?3:4&o?2:0),e}},fix:function(e){if(e[K.expando])return e;var t,n,r,i=e.type,o=e,a=this.fixHooks[i];for(a||(this.fixHooks[i]=a=Dt.test(i)?this.mouseHooks:St.test(i)?this.keyHooks:{}),r=a.props?this.props.concat(a.props):this.props,e=new K.Event(o),t=r.length;t--;)n=r[t],e[n]=o[n];return e.target||(e.target=Z),3===e.target.nodeType&&(e.target=e.target.parentNode),a.filter?a.filter(e,o):e},special:{load:{noBubble:!0},focus:{trigger:function(){return this!==f()&&this.focus?(this.focus(),!1):void 0},delegateType:"focusin"},blur:{trigger:function(){return this===f()&&this.blur?(this.blur(),!1):void 0},delegateType:"focusout"},click:{trigger:function(){return"checkbox"===this.type&&this.click&&K.nodeName(this,"input")?(this.click(),!1):void 0},_default:function(e){return K.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}},simulate:function(e,t,n,r){var i=K.extend(new K.Event,n,{type:e,isSimulated:!0,originalEvent:{}});r?K.event.trigger(i,null,t):K.event.dispatch.call(t,i),i.isDefaultPrevented()&&n.preventDefault()}},K.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n,!1)},K.Event=function(e,t){return this instanceof K.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&e.returnValue===!1?c:l):this.type=e,t&&K.extend(this,t),this.timeStamp=e&&e.timeStamp||K.now(),this[K.expando]=!0,void 0):new K.Event(e,t)},K.Event.prototype={isDefaultPrevented:l,isPropagationStopped:l,isImmediatePropagationStopped:l,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=c,e&&e.preventDefault&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=c,e&&e.stopPropagation&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=c,e&&e.stopImmediatePropagation&&e.stopImmediatePropagation(),this.stopPropagation()}}
vendor: 32,909 bytes, lines 4-5
4,K.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){K.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,o=e.handleObj;return(!i||i!==r&&!K.contains(r,i))&&(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}}),J.focusinBubbles||K.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){K.event.simulate(t,e.target,K.event.fix(e),!0)};K.event.special[t]={setup:function(){var r=this.ownerDocument||this,i=vt.access(r,t);i||r.addEventListener(e,n,!0),vt.access(r,t,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this,i=vt.access(r,t)-1;i?vt.access(r,t,i):(r.removeEventListener(e,n,!0),vt.remove(r,t))}}}),K.fn.extend({on:function(e,t,n,r,i){var o,a;if("object"==typeof e){"string"!=typeof t&&(n=n||t,t=void 0);for(a in e)this.on(a,t,n,e[a],i);return this}if(null==n&&null==r?(r=t,n=t=void 0):null==r&&("string"==typeof t?(r=n,n=void 0):(r=n,n=t,t=void 0)),r===!1)r=l;else if(!r)return this;return 1===i&&(o=r,r=function(e){return K().off(e),o.apply(this,arguments)},r.guid=o.guid||(o.guid=K.guid++)),this.each(function(){K.event.add(this,e,r,n,t)})},one:function(e,t,n,r){return this.on(e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,K(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return(t===!1||"function"==typeof t)&&(n=t,t=void 0),n===!1&&(n=l),this.each(function(){K.event.remove(this,e,n,t)})},trigger:function(e,t){return this.each(function(){K.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];return n?K.event.trigger(e,t,n,!0):void 0}});var jt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,Nt=/<([\w:]+)/,At=/<|&#?\w+;/,Ot=/<(?:script|style|link)/i,Ht=/checked\s*(?:[^=]|=\s*.checked.)/i,Lt=/^$|\/(?:java|ecma)script/i,Ft=/^true\/(.*)/,$t=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,Pt={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};Pt.optgroup=Pt.option,Pt.tbody=Pt.tfoot=Pt.colgroup=Pt.caption=Pt.thead,Pt.th=Pt.td,K.extend({clone:function(e,t,n){var r,i,o,a,s=e.cloneNode(!0),u=K.contains(e.ownerDocument,e);if(!(J.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||K.isXMLDoc(e)))for(a=v(s),o=v(e),r=0,i=o.length;i>r;r++)y(o[r],a[r]);if(t)if(n)for(o=o||v(e),a=a||v(s),r=0,i=o.length;i>r;r++)m(o[r],a[r]);else m(e,s);return a=v(s,"script"),a.length>0&&g(a,!u&&v(e,"script")),s},buildFragment:function(e,t,n,r){for(var i,o,a,s,u,c,l=t.createDocumentFragment(),f=[],d=0,h=e.length;h>d;d++)if(i=e[d],i||0===i)if("object"===K.type(i))K.merge(f,i.nodeType?[i]:i);else if(At.test(i)){for(o=o||l.appendChild(t.createElement("div")),a=(Nt.exec(i)||["",""])[1].toLowerCase(),s=Pt[a]||Pt._default,o.innerHTML=s[1]+i.replace(jt,"<$1></$2>")+s[2],c=s[0];c--;)o=o.lastChild;K.merge(f,o.childNodes),o=l.firstChild,o.textContent=""}else f.push(t.createTextNode(i));for(l.textContent="",d=0;i=f[d++];)if((!r||-1===K.inArray(i,r))&&(u=K.contains(i.ownerDocument,i),o=v(l.appendChild(i),"script"),u&&g(o),n))for(c=0;i=o[c++];)Lt.test(i.type||"")&&n.push(i);return l},cleanData:function(e){for(var t,n,r,i,o=K.event.special,a=0;void 0!==(n=e[a]);a++){if(K.acceptData(n)&&(i=n[vt.expando],i&&(t=vt.cache[i]))){if(t.events)for(r in t.events)o[r]?K.event.remove(n,r):K.removeEvent(n,r,t.handle);vt.cache[i]&&delete vt.cache[i]}delete yt.cache[n[yt.expando]]}}}),K.fn.extend({text:function(e){return mt(this,function(e){return void 0===e?K.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 this.domManip(arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=d(this,e);t.appendChild(e)}})},prepend:function(){return this.domManip(arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=d(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},remove:function(e,t){for(var n,r=e?K.filter(e,this):this,i=0;null!=(n=r[i]);i++)t||1!==n.nodeType||K.cleanData(v(n)),n.parentNode&&(t&&K.contains(n.ownerDocument,n)&&g(v(n,"script")),n.parentNode.removeChild(n));return this},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(K.cleanData(v(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null==e?!1:e,t=null==t?e:t,this.map(function(){return K.clone(this,e,t)})},html:function(e){return mt(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Ot.test(e)&&!Pt[(Nt.exec(e)||["",""])[1].toLowerCase()]){e=e.replace(jt,"<$1></$2>");try{for(;r>n;n++)t=this[n]||{},1===t.nodeType&&(K.cleanData(v(t,!1)),t.innerHTML=e);t=0}catch(i){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=arguments[0];return this.domManip(arguments,function(t){e=this.parentNode,K.cleanData(v(this)),e&&e.replaceChild(t,this)}),e&&(e.length||e.nodeType)?this:this.remove()},detach:function(e){return this.remove(e,!0)},domManip:function(e,t){e=z.apply([],e);var n,r,i,o,a,s,u=0,c=this.length,l=this,f=c-1,d=e[0],g=K.isFunction(d);if(g||c>1&&"string"==typeof d&&!J.checkClone&&Ht.test(d))return this.each(function(n){var r=l.eq(n);g&&(e[0]=d.call(this,n,r.html())),r.domManip(e,t)});if(c&&(n=K.buildFragment(e,this[0].ownerDocument,!1,this),r=n.firstChild,1===n.childNodes.length&&(n=r),r)){for(i=K.map(v(n,"script"),h),o=i.length;c>u;u++)a=n,u!==f&&(a=K.clone(a,!0,!0),o&&K.merge(i,v(a,"script"))),t.call(this[u],a,u);if(o)for(s=i[i.length-1].ownerDocument,K.map(i,p),u=0;o>u;u++)a=i[u],Lt.test(a.type||"")&&!vt.access(a,"globalEval")&&K.contains(s,a)&&(a.src?K._evalUrl&&K._evalUrl(a.src):K.globalEval(a.textContent.replace($t,"")))}return this}}),K.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){K.fn[e]=function(e){for(var n,r=[],i=K(e),o=i.length-1,a=0;o>=a;a++)n=a===o?this:this.clone(!0),K(i[a])[t](n),W.apply(r,n.get());return this.pushStack(r)}});var Yt,It={},qt=/^margin/,Rt=new RegExp("^("+xt+")(?!px)[a-z%]+$","i"),Bt=function(e){return e.ownerDocument.defaultView.getComputedStyle(e,null)};!function(){function t(){a.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;margin-top:1%;top:1%;border:1px;padding:1px;width:4px;position:absolute",a.innerHTML="",i.appendChild(o);var t=e.getComputedStyle(a,null);n="1%"!==t.top,r="4px"===t.width,i.removeChild(o)}var n,r,i=Z.documentElement,o=Z.createElement("div"),a=Z.createElement("div");a.style&&(a.style.backgroundClip="content-box",a.cloneNode(!0).style.backgroundClip="",J.clearCloneStyle="content-box"===a.style.backgroundClip,o.style.cssText="border:0;width:0;height:0;top:0;left:-9999px;margin-top:1px;position:absolute",o.appendChild(a),e.getComputedStyle&&K.extend(J,{pixelPosition:function(){return t(),n},boxSizingReliable:function(){return null==r&&t(),r},reliableMarginRight:function(){var t,n=a.appendChild(Z.createElement("div"));return n.style.cssText=a.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",n.style.marginRight=n.style.width="0",a.style.width="1px",i.appendChild(o),t=!parseFloat(e.getComputedStyle(n,null).marginRight),i.removeChild(o),t}}))}(),K.swap=function(e,t,n,r){var i,o,a={};for(o in t)a[o]=e.style[o],e.style[o]=t[o];i=n.apply(e,r||[]);for(o in t)e.style[o]=a[o];return i};var zt=/^(none|table(?!-c[ea]).+)/,Wt=new RegExp("^("+xt+")(.*)$","i"),Ut=new RegExp("^([+-])=("+xt+")","i"),Gt={position:"absolute",visibility:"hidden",display:"block"},Vt={letterSpacing:"0",fontWeight:"400"},Xt=["Webkit","O","Moz","ms"];K.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=x(e,"opacity");return""===n?"1":n}}}},cssNumber:{columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":"cssFloat"},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=K.camelCase(t),u=e.style;return t=K.cssProps[s]||(K.cssProps[s]=k(u,s)),a=K.cssHooks[t]||K.cssHooks[s],void 0===n?a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:u[t]:(o=typeof n,"string"===o&&(i=Ut.exec(n))&&(n=(i[1]+1)*i[2]+parseFloat(K.css(e,t)),o="number"),null!=n&&n===n&&("number"!==o||K.cssNumber[s]||(n+="px"),J.clearCloneStyle||""!==n||0!==t.indexOf("background")||(u[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(u[t]=n)),void 0)}},css:function(e,t,n,r){var i,o,a,s=K.camelCase(t);return t=K.cssProps[s]||(K.cssProps[s]=k(e.style,s)),a=K.cssHooks[t]||K.cssHooks[s],a&&"get"in a&&(i=a.get(e,!0,n)),void 0===i&&(i=x(e,t,r)),"normal"===i&&t in Vt&&(i=Vt[t]),""===n||n?(o=parseFloat(i),n===!0||K.isNumeric(o)?o||0:i):i}}),K.each(["height","width"],function(e,t){K.cssHooks[t]={get:function(e,n,r){return n?zt.test(K.css(e,"display"))&&0===e.offsetWidth?K.swap(e,Gt,function(){return S(e,t,r)}):S(e,t,r):void 0},set:function(e,n,r){var i=r&&Bt(e);return T(e,n,r?C(e,t,r,"border-box"===K.css(e,"boxSizing",!1,i),i):0)}}}),K.cssHooks.marginRight=_(J.reliableMarginRight,function(e,t){return t?K.swap(e,{display:"inline-block"},x,[e,"marginRight"]):void 0}),K.each({margin:"",padding:"",border:"Width"},function(e,t){K.cssHooks[e+t]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];4>r;r++)i[e+_t[r]+t]=o[r]||o[r-2]||o[0]; 5return i}},qt.test(e)||(K.cssHooks[e+t].set=T)}),K.fn.extend({css:function(e,t){return mt(this,function(e,t,n){var r,i,o={},a=0;if(K.isArray(t)){for(r=Bt(e),i=t.length;i>a;a++)o[t[a]]=K.css(e,t[a],!1,r);return o}return void 0!==n?K.style(e,t,n):K.css(e,t)},e,t,arguments.length>1)},show:function(){return D(this,!0)},hide:function(){return D(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){kt(this)?K(this).show():K(this).hide()})}}),K.Tween=M,M.prototype={constructor:M,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||"swing",this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(K.cssNumber[n]?"":"px")},cur:function(){var e=M.propHooks[this.prop];return e&&e.get?e.get(this):M.propHooks._default.get(this)},run:function(e){var t,n=M.propHooks[this.prop];return this.pos=t=this.options.duration?K.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):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):M.propHooks._default.set(this),this}},M.prototype.init.prototype=M.prototype,M.propHooks={_default:{get:function(e){var t;return null==e.elem[e.prop]||e.elem.style&&null!=e.elem.style[e.prop]?(t=K.css(e.elem,e.prop,""),t&&"auto"!==t?t:0):e.elem[e.prop]},set:function(e){K.fx.step[e.prop]?K.fx.step[e.prop](e):e.elem.style&&(null!=e.elem.style[K.cssProps[e.prop]]||K.cssHooks[e.prop])?K.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}},M.propHooks.scrollTop=M.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},K.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2}},K.fx=M.prototype.init,K.fx.step={};var Jt,Zt,Qt=/^(?:toggle|show|hide)$/,Kt=new RegExp("^(?:([+-])=|)("+xt+")([a-z%]*)$","i"),en=/queueHooks$/,tn=[A],nn={"*":[function(e,t){var n=this.createTween(e,t),r=n.cur(),i=Kt.exec(t),o=i&&i[3]||(K.cssNumber[e]?"":"px"),a=(K.cssNumber[e]||"px"!==o&&+r)&&Kt.exec(K.css(n.elem,e)),s=1,u=20;if(a&&a[3]!==o){o=o||a[3],i=i||[],a=+r||1;do s=s||".5",a/=s,K.style(n.elem,e,a+o);while(s!==(s=n.cur()/r)&&1!==s&&--u)}return i&&(a=n.start=+a||+r||0,n.unit=o,n.end=i[1]?a+(i[1]+1)*i[2]:+i[2]),n}]};K.Animation=K.extend(H,{tweener:function(e,t){K.isFunction(e)?(t=e,e=["*"]):e=e.split(" ");for(var n,r=0,i=e.length;i>r;r++)n=e[r],nn[n]=nn[n]||[],nn[n].unshift(t)},prefilter:function(e,t){t?tn.unshift(e):tn.push(e)}}),K.speed=function(e,t,n){var r=e&&"object"==typeof e?K.extend({},e):{complete:n||!n&&t||K.isFunction(e)&&e,duration:e,easing:n&&t||t&&!K.isFunction(t)&&t};return r.duration=K.fx.off?0:"number"==typeof r.duration?r.duration:r.duration in K.fx.speeds?K.fx.speeds[r.duration]:K.fx.speeds._default,(null==r.queue||r.queue===!0)&&(r.queue="fx"),r.old=r.complete,r.complete=function(){K.isFunction(r.old)&&r.old.call(this),r.queue&&K.dequeue(this,r.queue)},r},K.fn.extend({fadeTo:function(e,t,n,r){return this.filter(kt).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=K.isEmptyObject(e),o=K.speed(t,n,r),a=function(){var t=H(this,K.extend({},e),o);(i||vt.get(this,"finish"))&&t.stop(!0)};return a.finish=a,i||o.queue===!1?this.each(a):this.queue(o.queue,a)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&e!==!1&&this.queue(e||"fx",[]),this.each(function(){var t=!0,i=null!=e&&e+"queueHooks",o=K.timers,a=vt.get(this);if(i)a[i]&&a[i].stop&&r(a[i]);else for(i in a)a[i]&&a[i].stop&&en.test(i)&&r(a[i]);for(i=o.length;i--;)o[i].elem!==this||null!=e&&o[i].queue!==e||(o[i].anim.stop(n),t=!1,o.splice(i,1));(t||!n)&&K.dequeue(this,e)})},finish:function(e){return e!==!1&&(e=e||"fx"),this.each(function(){var t,n=vt.get(this),r=n[e+"queue"],i=n[e+"queueHooks"],o=K.timers,a=r?r.length:0;for(n.finish=!0,K.queue(this,e,[]),i&&i.stop&&i.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;a>t;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish})}}),K.each(["toggle","show","hide"],function(e,t){var n=K.fn[t];K.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(j(t,!0),e,r,i)}}),K.each({slideDown:j("show"),slideUp:j("hide"),slideToggle:j("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){K.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),K.timers=[],K.fx.tick=function(){var e,t=0,n=K.timers;for(Jt=K.now();t<n.length;t++)e=n[t],e()||n[t]!==e||n.splice(t--,1);n.length||K.fx.stop(),Jt=void 0},K.fx.timer=function(e){K.timers.push(e),e()?K.fx.start():K.timers.pop()},K.fx.interval=13,K.fx.start=function(){Zt||(Zt=setInterval(K.fx.tick,K.fx.interval))},K.fx.stop=function(){clearInterval(Zt),Zt=null},K.fx.speeds={slow:600,fast:200,_default:400},K.fn.delay=function(e,t){return e=K.fx?K.fx.speeds[e]||e:e,t=t||"fx",this.queue(t,function(t,n){var r=setTimeout(t,e);n.stop=function(){clearTimeout(r)}})},function(){var e=Z.createElement("input"),t=Z.createElement("select"),n=t.appendChild(Z.createElement("option"));e.type="checkbox",J.checkOn=""!==e.value,J.optSelected=n.selected,t.disabled=!0,J.optDisabled=!n.disabled,e=Z.createElement("input"),e.value="t",e.type="radio",J.radioValue="t"===e.value}();var rn,on,an=K.expr.attrHandle;K.fn.extend({attr:function(e,t){return mt(this,K.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){K.removeAttr(this,e)})}}),K.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(e&&3!==o&&8!==o&&2!==o)return typeof e.getAttribute===Ct?K.prop(e,t,n):(1===o&&K.isXMLDoc(e)||(t=t.toLowerCase(),r=K.attrHooks[t]||(K.expr.match.bool.test(t)?on:rn)),void 0===n?r&&"get"in r&&null!==(i=r.get(e,t))?i:(i=K.find.attr(e,t),null==i?void 0:i):null!==n?r&&"set"in r&&void 0!==(i=r.set(e,n,t))?i:(e.setAttribute(t,n+""),n):(K.removeAttr(e,t),void 0))},removeAttr:function(e,t){var n,r,i=0,o=t&&t.match(ht);if(o&&1===e.nodeType)for(;n=o[i++];)r=K.propFix[n]||n,K.expr.match.bool.test(n)&&(e[r]=!1),e.removeAttribute(n)},attrHooks:{type:{set:function(e,t){if(!J.radioValue&&"radio"===t&&K.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}}}),on={set:function(e,t,n){return t===!1?K.removeAttr(e,n):e.setAttribute(n,n),n}},K.each(K.expr.match.bool.source.match(/\w+/g),function(e,t){var n=an[t]||K.find.attr;an[t]=function(e,t,r){var i,o;return r||(o=an[t],an[t]=i,i=null!=n(e,t,r)?t.toLowerCase():null,an[t]=o),i}});var sn=/^(?:input|select|textarea|button)$/i;K.fn.extend({prop:function(e,t){return mt(this,K.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[K.propFix[e]||e]})}}),K.extend({propFix:{"for":"htmlFor","class":"className"},prop:function(e,t,n){var r,i,o,a=e.nodeType;if(e&&3!==a&&8!==a&&2!==a)return o=1!==a||!K.isXMLDoc(e),o&&(t=K.propFix[t]||t,i=K.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){return e.hasAttribute("tabindex")||sn.test(e.nodeName)||e.href?e.tabIndex:-1}}}}),J.optSelected||(K.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null}}),K.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){K.propFix[this.toLowerCase()]=this});var un=/[\t\r\n\f]/g;K.fn.extend({addClass:function(e){var t,n,r,i,o,a,s="string"==typeof e&&e,u=0,c=this.length;if(K.isFunction(e))return this.each(function(t){K(this).addClass(e.call(this,t,this.className))});if(s)for(t=(e||"").match(ht)||[];c>u;u++)if(n=this[u],r=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(un," "):" ")){for(o=0;i=t[o++];)r.indexOf(" "+i+" ")<0&&(r+=i+" ");a=K.trim(r),n.className!==a&&(n.className=a)}return this},removeClass:function(e){var t,n,r,i,o,a,s=0===arguments.length||"string"==typeof e&&e,u=0,c=this.length;if(K.isFunction(e))return this.each(function(t){K(this).removeClass(e.call(this,t,this.className))});if(s)for(t=(e||"").match(ht)||[];c>u;u++)if(n=this[u],r=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(un," "):"")){for(o=0;i=t[o++];)for(;r.indexOf(" "+i+" ")>=0;)r=r.replace(" "+i+" "," ");a=e?K.trim(r):"",n.className!==a&&(n.className=a)}return this},toggleClass:function(e,t){var n=typeof e;return"boolean"==typeof t&&"string"===n?t?this.addClass(e):this.removeClass(e):K.isFunction(e)?this.each(function(n){K(this).toggleClass(e.call(this,n,this.className,t),t)}):this.each(function(){if("string"===n)for(var t,r=0,i=K(this),o=e.match(ht)||[];t=o[r++];)i.hasClass(t)?i.removeClass(t):i.addClass(t);else(n===Ct||"boolean"===n)&&(this.className&&vt.set(this,"__className__",this.className),this.className=this.className||e===!1?"":vt.get(this,"__className__")||"")})},hasClass:function(e){for(var t=" "+e+" ",n=0,r=this.length;r>n;n++)if(1===this[n].nodeType&&(" "+this[n].className+" ").replace(un," ").indexOf(t)>=0)return!0;return!1}});var cn=/\r/g;K.fn.extend({val:function(e){var t,n,r,i=this[0];{if(arguments.length)return r=K.isFunction(e),this.each(function(n){var i;1===this.nodeType&&(i=r?e.call(this,n,K(this).val()):e,null==i?i="":"number"==typeof i?i+="":K.isArray(i)&&(i=K.map(i,function(e){return null==e?"":e+""})),t=K.valHooks[this.type]||K.valHooks[this.nodeName.toLowerCase()],t&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))});if(i)return t=K.valHooks[i.type]||K.valHooks[i.nodeName.toLowerCase()],t&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:(n=i.value,"string"==typeof n?n.replace(cn,""):null==n?"":n)}}}),K.extend({valHooks:{option:{get:function(e){var t=K.find.attr(e,"value");return null!=t?t:K.trim(K.text(e))}},select:{get:function(e){for(var t,n,r=e.options,i=e.selectedIndex,o="select-one"===e.type||0>i,a=o?null:[],s=o?i+1:r.length,u=0>i?s:o?i:0;s>u;u++)if(n=r[u],!(!n.selected&&u!==i||(J.optDisabled?n.disabled:null!==n.getAttribute("disabled"))||n.parentNode.disabled&&K.nodeName(n.parentNode,"optgroup"))){if(t=K(n).val(),o)return t;a.push(t)}return a},set:function(e,t){for(var n,r,i=e.options,o=K.makeArray(t),a=i.length;a--;)r=i[a],(r.selected=K.inArray(r.value,o)>=0)&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),K.each(["radio","checkbox"],function(){K.valHooks[this]={set:function(e,t){return K.isArray(t)?e.checked=K.inArray(K(e).val(),t)>=0:void 0}},J.checkOn||(K.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),K.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(e,t){K.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),K.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)},bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}});var ln=K.now(),fn=/\?/;K.parseJSON=function(e){return JSON.parse(e+"")},K.parseXML=function(e){var t,n;if(!e||"string"!=typeof e)return null;try{n=new DOMParser,t=n.parseFromString(e,"text/xml")}catch(r){t=void 0}return(!t||t.getElementsByTagName("parsererror").length)&&K.error("Invalid XML: "+e),t};var dn,hn,pn=/#.*$/,gn=/([?&])_=[^&]*/,mn=/^(.*?):[ \t]*([^\r\n]*)$/gm,vn=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,yn=/^(?:GET|HEAD)$/,bn=/^\/\//,wn=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,xn={},_n={},kn="*/".concat("*");try{hn=location.href}catch(Tn){hn=Z.createElement("a"),hn.href="",hn=hn.href}dn=wn.exec(hn.toLowerCase())||[],K.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:hn,type:"GET",isLocal:vn.test(dn[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":kn,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":K.parseJSON,"text xml":K.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?$($(e,K.ajaxSettings),t):$(K.ajaxSettings,e)},ajaxPrefilter:L(xn),ajaxTransport:L(_n),ajax:function(e,t){function n(e,t,n,a){var u,l,v,y,w,_=t;2!==b&&(b=2,s&&clearTimeout(s),r=void 0,o=a||"",x.readyState=e>0?4:0,u=e>=200&&300>e||304===e,n&&(y=P(f,x,n)),y=Y(f,y,x,u),u?(f.ifModified&&(w=x.getResponseHeader("Last-Modified"),w&&(K.lastModified[i]=w),w=x.getResponseHeader("etag"),w&&(K.etag[i]=w)),204===e||"HEAD"===f.type?_="nocontent":304===e?_="notmodified":(_=y.state,l=y.data,v=y.error,u=!v)):(v=_,(e||!_)&&(_="error",0>e&&(e=0))),x.status=e,x.statusText=(t||_)+"",u?p.resolveWith(d,[l,_,x]):p.rejectWith(d,[x,_,v]),x.statusCode(m),m=void 0,c&&h.trigger(u?"ajaxSuccess":"ajaxError",[x,f,u?l:v]),g.fireWith(d,[x,_]),c&&(h.trigger("ajaxComplete",[x,f]),--K.active||K.event.trigger("ajaxStop")))}"object"==typeof e&&(t=e,e=void 0),t=t||{};var r,i,o,a,s,u,c,l,f=K.ajaxSetup({},t),d=f.context||f,h=f.context&&(d.nodeType||d.jquery)?K(d):K.event,p=K.Deferred(),g=K.Callbacks("once memory"),m=f.statusCode||{},v={},y={},b=0,w="canceled",x={readyState:0,getResponseHeader:function(e){var t;if(2===b){if(!a)for(a={};t=mn.exec(o);)a[t[1].toLowerCase()]=t[2];t=a[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===b?o:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return b||(e=y[n]=y[n]||e,v[e]=t),this},overrideMimeType:function(e){return b||(f.mimeType=e),this},statusCode:function(e){var t;if(e)if(2>b)for(t in e)m[t]=[m[t],e[t]];else x.always(e[x.status]);return this},abort:function(e){var t=e||w;return r&&r.abort(t),n(0,t),this}};if(p.promise(x).complete=g.add,x.success=x.done,x.error=x.fail,f.url=((e||f.url||hn)+"").replace(pn,"").replace(bn,dn[1]+"//"),f.type=t.method||t.type||f.method||f.type,f.dataTypes=K.trim(f.dataType||"*").toLowerCase().match(ht)||[""],null==f.crossDomain&&(u=wn.exec(f.url.toLowerCase()),f.crossDomain=!(!u||u[1]===dn[1]&&u[2]===dn[2]&&(u[3]||("http:"===u[1]?"80":"443"))===(dn[3]||("http:"===dn[1]?"80":"443")))),f.data&&f.processData&&"string"!=typeof f.data&&(f.data=K.param(f.data,f.traditional)),F(xn,f,t,x),2===b)return x;c=f.global,c&&0===K.active++&&K.event.trigger("ajaxStart"),f.type=f.type.toUpperCase(),f.hasContent=!yn.test(f.type),i=f.url,f.hasContent||(f.data&&(i=f.url+=(fn.test(i)?"&":"?")+f.data,delete f.data),f.cache===!1&&(f.url=gn.test(i)?i.replace(gn,"$1_="+ln++):i+(fn.test(i)?"&":"?")+"_="+ln++)),f.ifModified&&(K.lastModified[i]&&x.setRequestHeader("If-Modified-Since",K.lastModified[i]),K.etag[i]&&x.setRequestHeader("If-None-Match",K.etag[i])),(f.data&&f.hasContent&&f.contentType!==!1||t.contentType)&&x.setRequestHeader("Content-Type",f.contentType),x.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+("*"!==f.dataTypes[0]?", "+kn+"; q=0.01":""):f.accepts["*"]);for(l in f.headers)x.setRequestHeader(l,f.headers[l]);if(f.beforeSend&&(f.beforeSend.call(d,x,f)===!1||2===b))return x.abort();w="abort";for(l in{success:1,error:1,complete:1})x[l](f[l]);if(r=F(_n,f,t,x)){x.readyState=1,c&&h.trigger("ajaxSend",[x,f]),f.async&&f.timeout>0&&(s=setTimeout(function(){x.abort("timeout")},f.timeout));try{b=1,r.send(v,n)}catch(_){if(!(2>b))throw _;n(-1,_)}}else n(-1,"No Transport");return x},getJSON:function(e,t,n){return K.get(e,t,n,"json")},getScript:function(e,t){return K.get(e,void 0,t,"script")}}),K.each(["get","post"],function(e,t){K[t]=function(e,n,r,i){return K.isFunction(n)&&(i=i||r,r=n,n=void 0),K.ajax({url:e,type:t,dataType:i,data:n,success:r})}}),K.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){K.fn[t]=function(e){return this.on(t,e)}}),K._evalUrl=function(e){return K.ajax({url:e,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})},K.fn.extend({wrapAll:function(e){var t;return K.isFunction(e)?this.each(function(t){K(this).wrapAll(e.call(this,t))}):(this[0]&&(t=K(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 K.isFunction(e)?this.each(function(t){K(this).wrapInner(e.call(this,t))}):this.each(function(){var t=K(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=K.isFunction(e);return this.each(function(n){K(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){K.nodeName(this,"body")||K(this).replaceWith(this.childNodes)}).end()}}),K.expr.filters.hidden=function(e){return e.offsetWidth<=0&&e.offsetHeight<=0},K.expr.filters.visible=function(e){return!K.expr.filters.hidden(e)};var Cn=/%20/g,Sn=/\[\]$/,Dn=/\r?\n/g,Mn=/^(?:submit|button|image|reset|file)$/i,En=/^(?:input|select|textarea|keygen)/i;K.param=function(e,t){var n,r=[],i=function(e,t){t=K.isFunction(t)?t():null==t?"":t,r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(void 0===t&&(t=K.ajaxSettings&&K.ajaxSettings.traditional),K.isArray(e)||e.jquery&&!K.isPlainObject(e))K.each(e,function(){i(this.name,this.value)});else for(n in e)I(n,e[n],t,i);return r.join("&").replace(Cn,"+")},K.fn.extend({serialize:function(){return K.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=K.prop(this,"elements");return e?K.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!K(this).is(":disabled")&&En.test(this.nodeName)&&!Mn.test(e)&&(this.checked||!Tt.test(e))}).map(function(e,t){var n=K(this).val();return null==n?null:K.isArray(n)?K.map(n,function(e){return{name:t.name,value:e.replace(Dn,"\r\n")}}):{name:t.name,value:n.replace(Dn,"\r\n")}}).get()}}),K.ajaxSettings.xhr=function(){try{return new XMLHttpRequest}catch(e){}};var jn=0,Nn={},An={0:200,1223:204},On=K.ajaxSettings.xhr();e.ActiveXObject&&K(e).on("unload",function(){for(var e in Nn)Nn[e]()}),J.cors=!!On&&"withCredentials"in On,J.ajax=On=!!On,K.ajaxTransport(function(e){var t;return J.cors||On&&!e.crossDomain?{send:function(n,r){var i,o=e.xhr(),a=++jn;if(o.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(i in e.xhrFields)o[i]=e.xhrFields[i];e.mimeType&&o.overrideMimeType&&o.overrideMimeType(e.mimeType),e.crossDomain||n["X-Requested-With"]||(n["X-Requested-With"]="XMLHttpRequest");for(i in n)o.setRequestHeader(i,n[i]);t=function(e){return function(){t&&(delete Nn[a],t=o.onload=o.onerror=null,"abort"===e?o.abort():"error"===e?r(o.status,o.statusText):r(An[o.status]||o.status,o.statusText,"string"==typeof o.responseText?{text:o.responseText}:void 0,o.getAllResponseHeaders()))}},o.onload=t(),o.onerror=t("error"),t=Nn[a]=t("abort");try{o.send(e.hasContent&&e.data||null)}catch(s){if(t)throw s}},abort:function(){t&&t()}}:void 0}),K.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(e){return K.globalEval(e),e}}}),K.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),K.ajaxTransport("script",function(e){if(e.crossDomain){var t,n;return{send:function(r,i){t=K("<script>").prop({async:!0,charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&i("error"===e.type?404:200,e.type)}),Z.head.appendChild(t[0])},abort:function(){n&&n()}}}});var Hn=[],Ln=/(=)\?(?=&|$)|\?\?/;K.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Hn.pop()||K.expando+"_"+ln++;return this[e]=!0,e}}),K.ajaxPrefilter("json jsonp",function(t,n,r){var i,o,a,s=t.jsonp!==!1&&(Ln.test(t.url)?"url":"string"==typeof t.data&&!(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ln.test(t.data)&&"data");return s||"jsonp"===t.dataTypes[0]?(i=t.jsonpCallback=K.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(Ln,"$1"+i):t.jsonp!==!1&&(t.url+=(fn.test(t.url)?"&":"?")+t.jsonp+"="+i),t.converters["script json"]=function(){return a||K.error(i+" was not called"),a[0]},t.dataTypes[0]="json",o=e[i],e[i]=function(){a=arguments},r.always(function(){e[i]=o,t[i]&&(t.jsonpCallback=n.jsonpCallback,Hn.push(i)),a&&K.isFunction(o)&&o(a[0]),a=o=void 0}),"script"):void 0}),K.parseHTML=function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||Z;var r=at.exec(e),i=!n&&[];return r?[t.createElement(r[1])]:(r=K.buildFragment([e],t,i),i&&i.length&&K(i).remove(),K.merge([],r.childNodes))};var Fn=K.fn.load;K.fn.load=function(e,t,n){if("string"!=typeof e&&Fn)return Fn.apply(this,arguments);var r,i,o,a=this,s=e.indexOf(" ");return s>=0&&(r=K.trim(e.slice(s)),e=e.slice(0,s)),K.isFunction(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),a.length>0&&K.ajax({url:e,type:i,dataType:"html",data:t}).done(function(e){o=arguments,a.html(r?K("<div>").append(K.parseHTML(e)).find(r):e)}).complete(n&&function(e,t){a.each(n,o||[e.responseText,t,e])}),this},K.expr.filters.animated=function(e){return K.grep(K.timers,function(t){return e===t.elem}).length};var $n=e.document.documentElement;K.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,c,l=K.css(e,"position"),f=K(e),d={};"static"===l&&(e.style.position="relative"),s=f.offset(),o=K.css(e,"top"),u=K.css(e,"left"),c=("absolute"===l||"fixed"===l)&&(o+u).indexOf("auto")>-1,c?(r=f.position(),a=r.top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),K.isFunction(t)&&(t=t.call(e,n,s)),null!=t.top&&(d.top=t.top-s.top+a),null!=t.left&&(d.left=t.left-s.left+i),"using"in t?t.using.call(e,d):f.css(d)}},K.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){K.offset.setOffset(this,e,t)});var t,n,r=this[0],i={top:0,left:0},o=r&&r.ownerDocument;if(o)return t=o.documentElement,K.contains(t,r)?(typeof r.getBoundingClientRect!==Ct&&(i=r.getBoundingClientRect()),n=q(o),{top:i.top+n.pageYOffset-t.clientTop,left:i.left+n.pageXOffset-t.clientLeft}):i},position:function(){if(this[0]){var e,t,n=this[0],r={top:0,left:0};return"fixed"===K.css(n,"position")?t=n.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),K.nodeName(e[0],"html")||(r=e.offset()),r.top+=K.css(e[0],"borderTopWidth",!0),r.left+=K.css(e[0],"borderLeftWidth",!0)),{top:t.top-r.top-K.css(n,"marginTop",!0),left:t.left-r.left-K.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent||$n;
5e&&!K.nodeName(e,"html")&&"static"===K.css(e,"position");)e=e.offsetParent;return e||$n})}}),K.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,n){var r="pageYOffset"===n;K.fn[t]=function(i){return mt(this,function(t,i,o){var a=q(t);return void 0===o?a?a[n]:t[i]:(a?a.scrollTo(r?e.pageXOffset:o,r?o:e.pageYOffset):t[i]=o,void 0)},t,i,arguments.length,null)}}),K.each(["top","left"],function(e,t){K.cssHooks[t]=_(J.pixelPosition,function(e,n){return n?(n=x(e,t),Rt.test(n)?K(e).position()[t]+"px":n):void 0})}),K.each({Height:"height",Width:"width"},function(e,t){K.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,r){K.fn[r]=function(r,i){var o=arguments.length&&(n||"boolean"!=typeof r),a=n||(r===!0||i===!0?"margin":"border");return mt(this,function(t,n,r){var i;return K.isWindow(t)?t.document.documentElement["client"+e]:9===t.nodeType?(i=t.documentElement,Math.max(t.body["scroll"+e],i["scroll"+e],t.body["offset"+e],i["offset"+e],i["client"+e])):void 0===r?K.css(t,n,a):K.style(t,n,r,a)},t,o?r:void 0,o,null)}})}),K.fn.size=function(){return this.length},K.fn.andSelf=K.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return K});var Pn=e.jQuery,Yn=e.$;return K.noConflict=function(t){return e.$===K&&(e.$=Yn),t&&e.jQuery===K&&(e.jQuery=Pn),K},typeof t===Ct&&(e.jQuery=e.$=K),K}),function(e,t,n){"use strict";var r=n(e),i=n(t),o=n.extend,a=n.isFunction,s=[].slice,u=Math.max,c=Math.min,l=Math.round,f=function(e,t){return typeof e===t},d=function(e,t){return e instanceof t},h=function(e){return e&&e.nodeType},p=function(e){return h(e)?e:d(e,n)?e[0]:void 0},g=function(e,t,r){return n.each(e,function(e,n){r=t.call(n,r,e,n)}),r},m=function(){var e={},t=1;return function(n){return n?(e[n]||(e[n]=t,t+=1),e[n]):0}}(),v=function(e,t,n){var r,i,o;if(e===t)return!0;if(!e||!t||e.constructor!==t.constructor)return!1;for(r=0,i=n.length;i>r;r+=1){if(o=n[r],e[o]&&a(e[o].equals)&&!e[o].equals(t[o]))return!1;if(e[o]!==t[o])return!1}return!0},y=function(e,t,n,r){this.left=l(e),this.top=l(t),this.width=l(n),this.height=l(r),this.right=this.left+this.width,this.bottom=this.top+this.height};o(y.prototype,{equals:function(e){return v(this,e,["left","top","width","height"])},area:function(){return this.width*this.height},relativeTo:function(e){return new y(this.left-e.left,this.top-e.top,this.width,this.height)},intersection:function(e){if(!d(e,y))return null;var t=u(this.left,e.left),n=c(this.right,e.right),r=u(this.top,e.top),i=c(this.bottom,e.bottom),o=n-t,a=i-r;return o>=0&&a>=0?new y(t,r,o,a):null},envelope:function(e){if(!d(e,y))return this;var t=c(this.left,e.left),n=u(this.right,e.right),r=c(this.top,e.top),i=u(this.bottom,e.bottom),o=n-t,a=i-r;return new y(t,r,o,a)}}),o(y,{ofContent:function(n,r){return n&&n!==t&&n!==e?r?new y(0,0,n.scrollWidth,n.scrollHeight):new y(n.offsetLeft-n.scrollLeft,n.offsetTop-n.scrollTop,n.scrollWidth,n.scrollHeight):new y(0,0,i.width(),i.height())},ofViewport:function(n,i){return n&&n!==t&&n!==e?i?new y(n.scrollLeft,n.scrollTop,n.clientWidth,n.clientHeight):new y(n.offsetLeft,n.offsetTop,n.clientWidth,n.clientHeight):new y(r.scrollLeft(),r.scrollTop(),r.width(),r.height())},ofElement:function(e){var t=n(e);if(!t.is(":visible"))return null;var r=t.offset();return new y(r.left,r.top,t.outerWidth(),t.outerHeight())}});var b=function(e,t,n,r){this.visible=e||0,this.viewport=t||0,this.possible=n||0,this.rects=r&&o({},r)||null};o(b.prototype,{equals:function(e){return this.fracsEqual(e)&&this.rectsEqual(e)},fracsEqual:function(e){return v(this,e,["visible","viewport","possible"])},rectsEqual:function(e){return v(this.rects,e.rects,["document","element","viewport"])}}),o(b,{of:function(e,t){var n,r,i;return e=h(e)&&y.ofElement(e)||e,t=h(t)&&y.ofViewport(t)||t||y.ofViewport(),(n=e.intersection(t))?(r=n.area(),i=c(e.width,t.width)*c(e.height,t.height),new b(r/e.area(),r/t.area(),r/i,{document:n,element:n.relativeTo(e),viewport:n.relativeTo(t)})):new b}});var w=function(e,t){this.els=e,this.viewport=t},x=["width","height","left","right","top","bottom"],_=["possible","visible","viewport"],k=function(e,t,r){var i;return n.inArray(r,x)>=0?i=y.ofElement(e):n.inArray(r,_)>=0&&(i=b.of(e,t)),i?i[r]:0},T=function(e,t){return e.val-t.val},C=function(e,t){return t.val-e.val};o(w.prototype,{sorted:function(e,t){var r=this.viewport;return n.map(this.els,function(t){return{el:t,val:k(t,r,e)}
5}).sort(t?C:T)},best:function(e,t){return this.els.length?this.sorted(e,t)[0]:null}});var S=function(e){var t=y.ofContent(e,!0),n=y.ofViewport(e,!0),r=t.width-n.width,i=t.height-n.height;this.content=t,this.viewport=n,this.width=0>=r?null:n.left/r,this.height=0>=i?null:n.top/i,this.left=n.left,this.top=n.top,this.right=t.right-n.right,this.bottom=t.bottom-n.bottom};o(S.prototype,{equals:function(e){return v(this,e,["width","height","left","top","right","bottom","content","viewport"])}});var D=function(t){this.el=t||e};o(D.prototype,{equals:function(e){return v(this,e,["el"])},scrollState:function(){return new S(this.el)},scrollTo:function(t,r,i){var o=this.el===e?n("html,body"):n(this.el);t=t||0,r=r||0,i=isNaN(i)?1e3:i,o.stop(!0).animate({scrollLeft:t,scrollTop:r},i)},scroll:function(t,i,o){var a=this.el===e?r:n(this.el);t=t||0,i=i||0,this.scrollTo(a.scrollLeft()+t,a.scrollTop()+i,o)},scrollToRect:function(e,t,n,r){t=t||0,n=n||0,this.scrollTo(e.left-t,e.top-n,r)},scrollToElement:function(e,t,n,r){var i=y.ofElement(e).relativeTo(y.ofContent(this.el));this.scrollToRect(i,t,n,r)}});var M={init:function(){this.callbacks=n.Callbacks("memory unique"),this.currVal=null,this.prevVal=null,this.checkProxy=n.proxy(this.check,this),this.autoCheck()},bind:function(e){this.callbacks.add(e)},unbind:function(e){e?this.callbacks.remove(e):this.callbacks.empty()},trigger:function(){this.callbacks.fireWith(this.context,[this.currVal,this.prevVal])},check:function(e){var t=this.updatedValue(e);return void 0===t?!1:(this.prevVal=this.currVal,this.currVal=t,this.trigger(),!0)},$autoTarget:r,autoEvents:"load resize scroll",autoCheck:function(e){this.$autoTarget[e===!1?"off":"on"](this.autoEvents,this.checkProxy)}},E=function(e,t){this.context=e,this.viewport=t,this.init()};o(E.prototype,M,{updatedValue:function(){var e=b.of(this.context,this.viewport);return this.currVal&&this.currVal.equals(e)?void 0:e}});var j=function(e,t,n,r){this.context=new w(e,t),this.property=n,this.descending=r,this.init()};o(j.prototype,M,{updatedValue:function(){var e=this.context.best(this.property,this.descending);return e&&(e=e.val>0?e.el:null,this.currVal!==e)?e:void 0}});var N=function(r){r&&r!==e&&r!==t?(this.context=r,this.$autoTarget=n(r)):this.context=e,this.init()};o(N.prototype,M,{updatedValue:function(){var e=new S(this.context);return this.currVal&&this.currVal.equals(e)?void 0:e}});var A=function(e,t){var r=o({},t),i=function(t,r,i,o){return i=a(i)?i.apply(t,r):i,a(o[i])?o[i].apply(t,r):(n.error('Method "'+i+'" does not exist on jQuery.'+e),void 0)},u=function(){return i(this,s.call(arguments),r.defaultStatic,u)},c=function(e){return a(c[e])?c[e].apply(this,s.call(arguments,1)):i(this,s.call(arguments),r.defaultMethod,c)},l=function(e){e&&(o(u,e.statics),o(c,e.methods)),u.modplug=l};l.prev={statics:n[e],methods:n.fn[e]},l(t),n[e]=u,n.fn[e]=c},O="fracs";A(O,{statics:{version:"0.11",Rect:y,Fractions:b,Group:w,ScrollState:S,Viewport:D,FracsCallbacks:E,GroupCallbacks:j,ScrollStateCallbacks:N,fracs:function(e,t){return b.of(e,t)}},methods:{content:function(e){return this.length?y.ofContent(this[0],e):null},envelope:function(){return g(this,function(e){var t=y.ofElement(this);return e?e.envelope(t):t})},fracs:function(e,t,r){f(e,"string")||(r=t,t=e,e=null),a(t)||(r=t,t=null),r=p(r);var i=O+".fracs."+m(r);return"unbind"===e?this.each(function(){var e=n(this).data(i);e&&e.unbind(t)}):"check"===e?this.each(function(){var e=n(this).data(i);e&&e.check()}):a(t)?this.each(function(){var e=n(this),o=e.data(i);o||(o=new E(this,r),e.data(i,o)),o.bind(t)}):this.length?b.of(this[0],r):null},intersection:function(){return g(this,function(e){var t=y.ofElement(this);return e?e.intersection(t):t})},max:function(e,t,n){return a(t)||(n=t,t=null),n=p(n),t?(new j(this,n,e,!0).bind(t),this):this.pushStack(new w(this,n).best(e,!0).el)},min:function(e,t,n){return a(t)||(n=t,t=null),n=p(n),t?(new j(this,n,e).bind(t),this):this.pushStack(new w(this,n).best(e).el)},rect:function(){return this.length?y.ofElement(this[0]):null},scrollState:function(e,t){var r=O+".scrollState";return f(e,"string")||(t=e,e=null),"unbind"===e?this.each(function(){var e=n(this).data(r);e&&e.unbind(t)}):"check"===e?this.each(function(){var e=n(this).data(r);e&&e.check()}):a(t)?this.each(function(){var e=n(this),i=e.data(r);i||(i=new N(this),e.data(r,i)),i.bind(t)}):this.length?new S(this[0]):null},scroll:function(e,t,n){return this.each(function(){new D(this).scroll(e,t,n)})},scrollTo:function(e,t,r,i){return n.isNumeric(e)&&(i=r,r=t,t=e,e=null),e=p(e),this.each(function(){e?new D(this).scrollToElement(e,t,r,i
5):new D(this).scrollTo(t,r,i)})},scrollToThis:function(e,t,n,r){return r=new D(p(r)),r.scrollToElement(this[0],e,t,n),this},softLink:function(e,t,r,i){return i=new D(p(i)),this.filter("a[href^=#]").each(function(){var o=n(this); 6o.on("click",function(){i.scrollToElement(n(o.attr("href"))[0],e,t,r)})})},sort:function(e,t,r){return f(t,"boolean")||(r=t,t=null),r=p(r),this.pushStack(n.map(new w(this,r).sorted(e,!t),function(e){return e.el}))},viewport:function(e){return this.length?y.ofViewport(this[0],e):null}},defaultStatic:"fracs",defaultMethod:"fracs"})}(window,document,jQuery),function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?module.exports=e:e(jQuery)}(function(e){function t(t){var i,o=t||window.event,a=[].slice.call(arguments,1),s=0,u=0,c=0,l=0,f=0;return t=e.event.fix(o),t.type="mousewheel",o.wheelDelta&&(s=o.wheelDelta),o.detail&&(s=-1*o.detail),o.deltaY&&(c=-1*o.deltaY,s=c),o.deltaX&&(u=o.deltaX,s=-1*u),void 0!==o.wheelDeltaY&&(c=o.wheelDeltaY),void 0!==o.wheelDeltaX&&(u=-1*o.wheelDeltaX),l=Math.abs(s),(!n||n>l)&&(n=l),f=Math.max(Math.abs(c),Math.abs(u)),(!r||r>f)&&(r=f),i=s>
60?"floor":"ceil",s=Math[i](s/n),u=Math[i](u/r),c=Math[i](c/r),a.unshift(t,s,u,c),(e.event.dispatch||e.event.handle).apply(this,a)}var n,r,i=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],o="onwheel"in document||document.documentMode>=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"];if(e.event.fixHooks)for(var a=i.length;a;)e.event.fixHooks[i[--a]]=e.event.mouseHooks;e.event.special.mousewheel={setup:function(){if(this.addEventListener)for(var e=o.length;e;)this.addEventListener(o[--e],t,!1);else this.onmousewheel=t},teardown:function(){if(this.removeEventListener)for(var e=o.length;e;)this.removeEventListener(o[--e],t,!1);else this.onmousewheel=null}},e.fn.extend({mousewheel:function(e){return e?this.bind("mousewheel",e):this.trigger("mousewheel")},unmousewheel:function(e){return this.unbind("mousewheel",e)}})}),function(e){"use strict";var t=function(){var e=document.createElement("canvas");return!(!e.getContext||!e.getContext("2d"))}(),n=function(e,t,n){var r=c(e,t);return r.addData(n),r.make(),r},r=function(e){for(var t=2;40>=t;t+=1)try{return n(t,"L",e)}catch(r){}return null},i=function(t,n){var i=n.text,o=n.left,a=n.top,s=n.width,u=n.height,c=n.color,l=n.bgColor,f=r(i),d=e(t),h=d[0].getContext("2d");if(l&&(h.fillStyle=l,h.fillRect(o,a,s,u)),f){var p,g,m=f.getModuleCount(),v=s/m,y=u/m;for(h.beginPath(),p=0;m>p;p+=1)for(g=0;m>g;g+=1)f.isDark(p,g)&&h.rect(o+g*v,a+p*y,v,y);h.fillStyle=c,h.fill()}return d},o=function(t){var n=e("<canvas/>").attr("width",t.width).attr("height",t.height);return i(n,t)},a=function(t){var n=t.text,i=t.width,o=t.height,a=t.color,s=t.bgColor,u=Math.floor,c=r(n),l=e("<div/>").css({position:"relative",left:0,top:0,padding:0,margin:0,width:i,height:o});if(s&&l.css("background-color",s),c){var f,d,h=c.getModuleCount(),p=u(i/h),g=u(o/h),m=u(.5*(i-p*h)),v=u(.5*(o-g*h));for(f=0;h>f;f+=1)for(d=0;h>d;d+=1)c.isDark(f,d)&&e("<div/>").css({left:m+d*p,top:v+f*g}).appendTo(l);l.children().css({position:"absolute",padding:0,margin:0,width:p,height:g,"background-color":a})}return l},s=function(e){return t&&"canvas"===e.render?o(e):a(e)},u={render:"canvas",left:0,top:0,width:256,height:256,color:"#000",bgColor:null,text:"no text"};e.fn.qrcode=function(t){var n=e.extend({},u,t);return this.each(function(){"canvas"===this.nodeName.toLowerCase()?i(this,n):e(this).append(s(n))})};var c=function(){function e(t,n){if("undefined"==typeof t.length)throw new Error(t.length+"/"+n);var r=function(){for(var e=0;e<t.length&&0==t[e];)e+=1;for(var r=new Array(t.length-e+n),i=0;i<t.length-e;i+=1)r[i]=t[i+e];return r}(),i={};return i.get=function(e){return r[e]},i.getLength=function(){return r.length},i.multiply=function(t){for(var n=new Array(i.getLength()+t.getLength()-1),r=0;r<i.getLength();r+=1)for(var o=0;o<t.getLength();o+=1)n[r+o]^=a.gexp(a.glog(i.get(r))+a.glog(t.get(o)));return e(n,0)},i.mod=function(t){if(i.getLength()-t.getLength()<0)return i;for(var n=a.glog(i.get(0))-a.glog(t.get(0)),r=new Array(i.getLength()),o=0;o<i.getLength();o+=1)r[o]=i.get(o);for(var o=0;o<t.getLength();o+=1)r[o]^=a.gexp(a.glog(t.get(o))+n);return e(r,0).mod(t)},i}var t=function(t,n){var i=236,a=17,l=t,f=r[n],d=null,h=0,g=null,m=new Array,v={},y=function(e,t){h=4*l+17,d=function(e){for(var t=new Array(e),n=0;e>n;n+=1){t[n]=new Array(e);for(var r=0;e>r;r+=1)t[n][r]=null}return t}(h),b(0,0),b(h-7,0),b(0,h-7),_(),x(),T(e,t),l>=7&&k(e),null==g&&(g=D(l,f,m)),C(g,t)},b=function(e,t){for(var n=-1;7>=n;n+=1)if(!(-1>=e+n||e+n>=h))for(var r=-1;7>=r;r+=1)-1>=t+r||t+r>=h||(d[e+n][t+r]=n>=0&&6>=n&&(0==r||6==r)||r>=0&&6>=r&&(0==n||6==n)||n>=2&&4>=n&&r>=2&&4>=r?!0:!1)},w=function(){for(var e=0,t=0,n=0;8>n;n+=1){y(!0,n);var r=o.getLostPoint(v);(0==n||e>r)&&(e=r,t=n)}return t},x=function(){for(var e=8;h-8>e;e+=1)null==d[e][6]&&(d[e][6]=0==e%2);for(var t=8;h-8>t;t+=1)null==d[6][t]&&(d[6][t]=0==t%2)},_=function(){for(var e=o.getPatternPosition(l),t=0;t<e.length;t+=1)for(var n=0;n<e.length;n+=1){var r=e[t],i=e[n];if(null==d[r][i])for(var a=-2;2>=a;a+=1)for(var s=-2;2>=s;s+=1)d[r+a][i+s]=-2==a||2==a||-2==s||2==s||0==a&&0==s?!0:!1}},k=function(e){for(var t=o.getBCHTypeNumber(l),n=0;18>n;n+=1){var r=!e&&1==(1&t>>n);d[Math.floor(n/3)][n%3+h-8-3]=r}for(var n=0;18>n;n+=1){var r=!e&&1==(1&t>>n);d[n%3+h-8-3][Math.floor(n/3)]=r}},T=function(e,t){for(var n=f<<3|t,r=o.getBCHTypeInfo(n),i=0;15>i;i+=1){var a=!e&&1==(1&r>>i);6>i?d[i][8]=a:8>i?d[i+1][8]=a:d[h-15+i][8]=a}for(var i=0;15>i;i+=1){var a=!e&&1==(1&r>>i);8>i?d[8][h-i-1]=a:9>i?d[8][15-i-1+1]=a:d[8][15-i-1]=a}d[h-8][8]=!e},C=function(e,t){for(var n=-1,r=h-1,i=7,a=0,s=o.getMaskFunction(t),u=h-1;u>0;u-=2)for(6==u&&(u-=1);;){for(var c=0;2>c;c+=1)if(null==d[r][u-c]){var l=!1;a<e.length&&(l=1==(1&e[a]>>>i));var f=s(r,u-c);f&&(l=!l),d[r][u-c]=l,i-=1,-1==i&&(a+=1,i=7)}if(r+=n,0>r||r>=h){r-=n,n=-n;break}}},S=function(t,n){for(var r=0,i=0,a=0,s=new Array(n.length),u=new Array(n.length),c=0;c<n.length;c+=1){var l=n[c].dataCount,f=n[c].totalCount-l;i=Math.max(i,l),a=Math.max(a,f),s[c]=new Array(l);for(var d=0;d<s[c].length;d+=1)s[c][d]=255&t.getBuffer()[d+r];r+=l;var h=o.getErrorCorrectPolynomial(f),p=e(s[c],h.getLength()-1),g=p.mod(h);u[c]=new Array(h.getLength()-1);for(var d=0;d<u[c].length;d+=1){var m=d+g.getLength()-u[c].length;u[c][d]=m>=0?g.get(m):0}}for(var v=0,d=0;d<n.length;d+=1)v+=n[d].totalCount;for(var y=new Array(v),b=0,d=0;i>d;d+=1)for(var c=0;c<n.length;c+=1)d<s[c].length&&(y[b]=s[c][d],b+=1);for(var d=0;a>d;d+=1)for(var c=0;c<n.length;c+=1)d<u[c].length&&(y[b]=u[c][d],b+=1);return y},D=function(e,t,n){for(var r=s.getRSBlocks(e,t),c=u(),l=0;l<n.length;l+=1){var f=n[l];c.put(f.getMode(),4),c.put(f.getLength(),o.getLengthInBits(f.getMode(),e)),f.write(c)}for(var d=0,l=0;l<r.length;l+=1)d+=r[l].dataCount;if(c.getLengthInBits()>8*d)throw new Error("code length overflow. ("+c.getLengthInBits()+">"+8*d+")");for(c.getLengthInBits()+4<=8*d&&c.put(0,4);0!=c.getLengthInBits()%8;)c.putBit(!1);for(;;){if(c.getLengthInBits()>=8*d)break;if(c.put(i,8),c.getLengthInBits()>=8*d)break;c.put(a,8)}return S(c,r)};return v.addData=function(e){var t=c(e);m.push(t),g=null},v.isDark=function(e,t){if(0>e||e>=h||0>t||t>=h)throw new Error(e+","+t);return d[e][t]},v.getModuleCount=function(){return h},v.make=function(){y(!1,w())},v.createTableTag=function(e,t){e=e||2,t="undefined"==typeof t?4*e:t;var n="";n+='<table style="',n+=" border-width: 0px; border-style: none;",n+=" border-collapse: collapse;",n+=" padding: 0px; margin: "+t+"px;",n+='">',n+="<tbody>";for(var r=0;r<v.getModuleCount();r+=1){n+="<tr>";for(var i=0;i<v.getModuleCount();i+=1)n+='<td style="',n+=" border-width: 0px; border-style: none;",n+=" border-collapse: collapse;",n+=" padding: 0px; margin: 0px;",n+=" width: "+e+"px;",n+=" height: "+e+"px;",n+=" background-color: ",n+=v.isDark(r,i)?"#000000":"#ffffff",n+=";",n+='"/>';n+="</tr>"}return n+="</tbody>",n+="</table>"},v.createImgTag=function(e,t){e=e||2,t="undefined"==typeof t?4*e:t;var n=v.getModuleCount()*e+2*t,r=t,i=n-t;return p(n,n,function(t,n){if(t>=r&&i>t&&n>=r&&i>n){var o=Math.floor((t-r)/e),a=Math.floor((n-r)/e);return v.isDark(a,o)?0:1}return 1})},v};t.stringToBytes=function(e){for(var t=new Array,n=0;n<e.length;n+=1){var r=e.charCodeAt(n);t.push(255&r)}return t},t.createStringToBytes=function(e,t){var n=function(){for(var n=d(e),r=function(){var e=n.read();if(-1==e)throw new Error;return e},i=0,o={};;){var a=n.read();if(-1==a)break;var s=r(),u=r(),c=r(),l=String.fromCharCode(a<<8|s),f=u<<8|c;o[l]=f,i+=1}if(i!=t)throw new Error(i+" != "+t);return o}(),r="?".charCodeAt(0);return function(e){for(var t=new Array,i=0;i<e.length;i+=1){var o=e.charCodeAt(i);if(128>o)t.push(o);else{var a=n[e.charAt(i)];"number"==typeof a?(255&a)==a?t.push(a):(t.push(a>>>
vendor: 4,142 bytes, line 6
68),t.push(255&a)):t.push(r)}}return t}};var n={MODE_NUMBER:1,MODE_ALPHA_NUM:2,MODE_8BIT_BYTE:4,MODE_KANJI:8},r={L:1,M:0,Q:3,H:2},i={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7},o=function(){var t=[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],r=1335,o=7973,s=21522,u={},c=function(e){for(var t=0;0!=e;)t+=1,e>>>=1;return t};return u.getBCHTypeInfo=function(e){for(var t=e<<10;c(t)-c(r)>=0;)t^=r<<c(t)-c(r);return(e<<10|t)^s},u.getBCHTypeNumber=function(e){for(var t=e<<12;c(t)-c(o)>=0;)t^=o<<c(t)-c(o);return e<<12|t},u.getPatternPosition=function(e){return t[e-1]},u.getMaskFunction=function(e){switch(e){case i.PATTERN000:return function(e,t){return 0==(e+t)%2};case i.PATTERN001:return function(e){return 0==e%2};case i.PATTERN010:return function(e,t){return 0==t%3};case i.PATTERN011:return function(e,t){return 0==(e+t)%3};case i.PATTERN100:return function(e,t){return 0==(Math.floor(e/2)+Math.floor(t/3))%2};case i.PATTERN101:return function(e,t){return 0==e*t%2+e*t%3};case i.PATTERN110:return function(e,t){return 0==(e*t%2+e*t%3)%2};case i.PATTERN111:return function(e,t){return 0==(e*t%3+(e+t)%2)%2};default:throw new Error("bad maskPattern:"+e)}},u.getErrorCorrectPolynomial=function(t){for(var n=e([1],0),r=0;t>r;r+=1)n=n.multiply(e([1,a.gexp(r)],0));return n},u.getLengthInBits=function(e,t){if(t>=1&&10>t)switch(e){case n.MODE_NUMBER:return 10;case n.MODE_ALPHA_NUM:return 9;case n.MODE_8BIT_BYTE:return 8;case n.MODE_KANJI:return 8;default:throw new Error("mode:"+e)}else if(27>t)switch(e){case n.MODE_NUMBER:return 12;case n.MODE_ALPHA_NUM:return 11;case n.MODE_8BIT_BYTE:return 16;case n.MODE_KANJI:return 10;default:throw new Error("mode:"+e)}else{if(!(41>t))throw new Error("type:"+t);switch(e){case n.MODE_NUMBER:return 14;case n.MODE_ALPHA_NUM:return 13;case n.MODE_8BIT_BYTE:return 16;case n.MODE_KANJI:return 12;default:throw new Error("mode:"+e)}}},u.getLostPoint=function(e){for(var t=e.getModuleCount(),n=0,r=0;t>r;r+=1)for(var i=0;t>i;i+=1){for(var o=0,a=e.isDark(r,i),s=-1;1>=s;s+=1)if(!(0>r+s||r+s>=t))for(var u=-1;1>=u;u+=1)0>i+u||i+u>=t||(0!=s||0!=u)&&a==e.isDark(r+s,i+u)&&(o+=1);o>5&&(n+=3+o-5)}for(var r=0;t-1>r;r+=1)for(var i=0;t-1>i;i+=1){var c=0;e.isDark(r,i)&&(c+=1),e.isDark(r+1,i)&&(c+=1),e.isDark(r,i+1)&&(c+=1),e.isDark(r+1,i+1)&&(c+=1),(0==c||4==c)&&(n+=3)}for(var r=0;t>r;r+=1)for(var i=0;t-6>i;i+=1)e.isDark(r,i)&&!e.isDark(r,i+1)&&e.isDark(r,i+2)&&e.isDark(r,i+3)&&e.isDark(r,i+4)&&!e.isDark(r,i+5)&&e.isDark(r,i+6)&&(n+=40);for(var i=0;t>i;i+=1)for(var r=0;t-6>r;r+=1)e.isDark(r,i)&&!e.isDark(r+1,i)&&e.isDark(r+2,i)&&e.isDark(r+3,i)&&e.isDark(r+4,i)&&!e.isDark(r+5,i)&&e.isDark(r+6,i)&&(n+=40);for(var l=0,i=0;t>i;i+=1)for(var r=0;t>r;r+=1)e.isDark(r,i)&&(l+=1);var f=Math.abs(100*l/t/t-50)/5;return n+=10*f},u}(),a=function(){for(var e=new Array(256),t=new Array(256),n=0;8>n;n+=1)e[n]=1<<n;for(var n=8;256>n;n+=1)e[n]=e[n-4]^e[n-5]^e[n-6]^e[n-8];for(var n=0;255>n;n+=1)t[e[n]]=n;var r={};return r.glog=function(e){if(1>e)throw new Error("glog("+e+")");return t[e]},r.gexp=function(t){for(;0>t;)t+=255;for(;t>=256;)t-=255;return e[t]},r}(),s=function(){var e=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37
vendor: 4,172 bytes, line 6
6],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]],t=function(e,t){var n={};return n.totalCount=e,n.dataCount=t,n},n={},i=function(t,n){switch(n){case r.L:return e[4*(t-1)+0];case r.M:return e[4*(t-1)+1];case r.Q:return e[4*(t-1)+2];case r.H:return e[4*(t-1)+3];default:return void 0}};return n.getRSBlocks=function(e,n){var r=i(e,n);if("undefined"==typeof r)throw new Error("bad rs block @ typeNumber:"+e+"/errorCorrectLevel:"+n);for(var o=r.length/3,a=new Array,s=0;o>s;s+=1)for(var u=r[3*s+0],c=r[3*s+1],l=r[3*s+2],f=0;u>f;f+=1)a.push(t(c,l));return a},n}(),u=function(){var e=new Array,t=0,n={};return n.getBuffer=function(){return e},n.get=function(t){var n=Math.floor(t/8);return 1==(1&e[n]>>>7-t%8)},n.put=function(e,t){for(var r=0;t>r;r+=1)n.putBit(1==(1&e>>>t-r-1))},n.getLengthInBits=function(){return t},n.putBit=function(n){var r=Math.floor(t/8);e.length<=r&&e.push(0),n&&(e[r]|=128>>>t%8),t+=1},n},c=function(e){var r=n.MODE_8BIT_BYTE,i=t.stringToBytes(e),o={};return o.getMode=function(){return r},o.getLength=function(){return i.length},o.write=function(e){for(var t=0;t<i.length;t+=1)e.put(i[t],8)},o},l=function(){var e=new Array,t={};return t.writeByte=function(t){e.push(255&t)},t.writeShort=function(e){t.writeByte(e),t.writeByte(e>>>8)},t.writeBytes=function(e,n,r){n=n||0,r=r||e.length;for(var i=0;r>i;i+=1)t.writeByte(e[i+n])},t.writeString=function(e){for(var n=0;n<e.length;n+=1)t.writeByte(e.charCodeAt(n))},t.toByteArray=function(){return e},t.toString=function(){var t="";t+="[";for(var n=0;n<e.length;n+=1)n>0&&(t+=","),t+=e[n];return t+="]"},t},f=function(){var e=0,t=0,n=0,r="",i={},o=function(e){r+=String.fromCharCode(a(63&e))},a=function(e){if(0>e);else{if(26>e)return 65+e;if(52>e)return 97+(e-26);if(62>e)return 48+(e-52);if(62==e)return 43;
6if(63==e)return 47}throw new Error("n:"+e)};return i.writeByte=function(r){for(e=e<<8|255&r,t+=8,n+=1;t>=6;)o(e>>>t-6),t-=6},i.flush=function(){if(t>0&&(o(e<<6-t),e=0,t=0),0!=n%3)for(var i=3-n%3,a=0;i>a;a+=1)r+="="},i.toString=function(){return r},i},d=function(e){var t=e,n=0,r=0,i=0,o={};o.read=function(){for(;8>i;){if(n>=t.length){if(0==i)return-1;throw new Error("unexpected end of file./"+i)}var e=t.charAt(n);if(n+=1,"="==e)return i=0,-1;e.match(/^\s$/)||(r=r<<6|a(e.charCodeAt(0)),i+=6)}var o=255&r>>>i-8;return i-=8,o};var a=function(e){if(e>=65&&90>=e)return e-65;if(e>=97&&122>=e)return e-97+26;if(e>=48&&57>=e)return e-48+52;if(43==e)return 62;if(47==e)return 63;throw new Error("c:"+e)};return o},h=function(e,t){var n=e,r=t,i=new Array(e*t),o={};o.setPixel=function(e,t,r){i[t*n+e]=r},o.write=function(e){e.writeString("GIF87a"),e.writeShort(n),e.writeShort(r),e.writeByte(128),e.writeByte(0),e.writeByte(0),e.writeByte(0),e.writeByte(0),e.writeByte(0),e.writeByte(255),e.writeByte(255),e.writeByte(255),e.writeString(","),e.writeShort(0),e.writeShort(0),e.writeShort(n),e.writeShort(r),e.writeByte(0);var t=2,i=s(t);e.writeByte(t);for(var o=0;i.length-o>255;)e.writeByte(255),e.writeBytes(i,o,255),o+=255;e.writeByte(i.length-o),e.writeBytes(i,o,i.length-o),e.writeByte(0),e.writeString(";")};var a=function(e){var t=e,n=0,r=0,i={};return i.write=function(e,i){if(0!=e>>>i)throw new Error("length over");for(;n+i>=8;)t.writeByte(255&(e<<n|r)),i-=8-n,e>>>=8-n,r=0,n=0;r=e<<n|r,n+=i},i.flush=function(){n>0&&t.writeByte(r)},i},s=function(e){for(var t=1<<e,n=(1<<e)+1,r=e+1,o=u(),s=0;t>s;s+=1)o.add(String.fromCharCode(s));o.add(String.fromCharCode(t)),o.add(String.fromCharCode(n));var c=l(),f=a(c);f.write(t,r);var d=0,h=String.fromCharCode(i[d]);for(d+=1;d<i.length;){var p=String.fromCharCode(i[d]);d+=1,o.contains(h+p)?h+=p:(f.write(o.indexOf(h),r),o.size()<4095&&(o.size()==1<<r&&(r+=1),o.add(h+p)),h=p)}return f.write(o.indexOf(h),r),f.write(n,r),f.flush(),c.toByteArray()},u=function(){var e={},t=0,n={};return n.add=function(r){if(n.contains(r))throw new Error("dup key:"+r);e[r]=t,t+=1},n.size=function(){return t},n.indexOf=function(t){return e[t]},n.contains=function(t){return"undefined"!=typeof e[t]},n};return o},p=function(e,t,n,r){for(var i=h(e,t),o=0;t>o;o+=1)for(var a=0;e>a;a+=1)i.setPixel(a,o,n(a,o));var s=l();i.write(s);for(var u=f(),c=s.toByteArray(),d=0;d<c.length;d+=1)u.writeByte(c[d]);u.flush();var p="";return p+="<img",p+=' src="',p+="data:image/gif;base64,",p+=u,p+='"',p+=' width="',p+=e,p+='"',p+=' height="',p+=t,p+='"',r&&(p+=' alt="',p+=r,p+='"'),p+="/>"};return t}()}(jQuery),function(e){"use strict";var t=e(window),n="scrollpanel",r={prefix:"sp-"},i=function(t,n){var i=this;i.$el=e(t),i.settings=e.extend({},r,n);var o=i.settings.prefix;i.mouseOffsetY=0,i.updateId=0,i.scrollProxy=e.proxy(i.scroll,i),i.$el.css("position")&&"static"!==i.$el.css("position")||i.$el.css("position","relative"),i.$scrollbar=e('<div class="'+o+'scrollbar" />'),i.$thumb=e('<div class="'+o+'thumb" />').appendTo(i.$scrollbar),i.$el.addClass(o+"host").wrapInner('<div class="'+o+'viewport"><div class="'+o+'container" /></div>').append(i.$scrollbar),i.$viewport=i.$el.find("> ."+o+"viewport"),i.$container=i.$viewport.find("> ."+o+"container"),i.$el.on("mousewheel",function(e,t,n,r){i.$viewport.scrollTop(i.$viewport.scrollTop()-50*r),i.update(),e.preventDefault(),e.stopPropagation()}).on("scroll",function(){i.update()}),i.$viewport.css({paddingRight:i.$scrollbar.outerWidth(!0),height:i.$el.height(),overflow:"hidden"}),i.$container.css({overflow:"hidden"}),i.$scrollbar.css({position:"absolute",top:0,right:0,overflow:"hidden"}).on("mousedown",function(e){i.mouseOffsetY=i.$thumb.outerHeight()/2,i.onMousedown(e)}).each(function(){i.onselectstart=function(){return!1}}),i.$thumb.css({position:"absolute",left:0,width:"100%"}).on("mousedown",function(e){i.mouseOffsetY=e.pageY-i.$thumb.offset().top,i.onMousedown(e)}),i.update()};e.extend(i.prototype,{update:function(e){var t=this;t.updateId&&!e?(clearInterval(t.updateId),t.updateId=0):!t.updateId&&e&&(t.updateId=setInterval(function(){t.update(!0)},50)),t.$viewport.css("height",t.$el.height());var n=t.$el.height(),r=t.$container.outerHeight(),i=t.$viewport.scrollTop(),o=i/r,a=Math.min(n/r,1),s=t.$scrollbar.height();1>
6a?(t.$scrollbar.css({height:t.$el.innerHeight()+s-t.$scrollbar.outerHeight(!0)}).fadeIn(50),t.$thumb.css({top:s*o,height:s*a})):t.$scrollbar.fadeOut(50)},scroll:function(e){var t=this,n=(e.pageY-t.$scrollbar.offset().top-t.mouseOffsetY)/t.$scrollbar.height();t.$viewport.scrollTop(t.$container.outerHeight()*n),t.update(),e.preventDefault(),e.stopPropagation()},onMousedown:function(e){var n=this;n.scroll(e),n.$scrollbar.addClass("active"),t.on("mousemove",n.scrollProxy).one("mouseup",function(e){n.$scrollbar.removeClass("active"),t.off("mousemove",n.scrollProxy),n.scroll(e)})}}),e.fn[n]=function(t,r){return this.each(function(){var o=e(this),a=o.data(n);a||(a=new i(this,t),a.update(),o.data(n,a)),"update"===t&&a.update(r)})}}(jQuery),function(){"use strict";modulejs.define("$",function(){return jQuery}),modulejs.define("markdown",function(){return markdown}),modulejs.define("modernizr",function(){return Modernizr}),modulejs.define("moment",function(){return moment}),modulejs.define("_",function(){return _}),modulejs.define("core/event",["_"],function(e){var t=Array.prototype.slice,n={},r=function(t,r){e.isString(t)&&e.isFunction(r)&&(n[t]||(n[t]=[]),n[t].push(r))},i=function(t,r){e.isString(t)&&e.isFunction(r)&&n[t]&&(n[t]=e.without(n[t],r))},o=function(r){var i=t.call(arguments,1);e.isString(r)&&n[r]&&e.each(n[r],function(e){e.apply(r,i)})};return{sub:r,unsub:i,pub:o}}),modulejs.define("core/format",["_","moment"],function(e,t){var n={t:1e3,k:1e3,u:["B","KB","MB","GB","TB"]},r={t:1024,k:1024,u:["B","KiB","MiB","GiB","TiB"]},i=n,o="YYYY-MM-DD HH:mm",a=function(e){i=e?r:n},s=function(t,n){if(n=n||i,!e.isNumber(t)||0>t)return"";for(var r=0,o=n.u.length-1;t>=n.t&&o>r;)t/=n.k,r+=1;return(1>=r?Math.round(t):t.toFixed(1)).toString()+" "+n.u[r]},u=function(e){o=e},c=function(n){return e.isNumber(n)&&n?t(n).format(o):""};return{setDefaultMetric:a,formatSize:s,setDefaultDateFormat:u,formatDate:c}}),modulejs.define("core/langs",["config","_"],function(e,t){return t.extend({},e.langs)}),modulejs.define("core/location",["_","modernizr","core/settings","core/event","core/notify"],function(e,t,n,r,i){var o=e.extend({smartBrowsing:!0,unmanagedInNewWindow:!0},n.view),a=document,s=o.smartBrowsing&&t.history?window.history:null,u=function(e){return e.replace(/\/+/g,"/").replace(/ /g,"%20").replace(/!/g,"%21").replace(/#/g,"%23").replace(/\$/g,"%24").replace(/&/g,"%26").replace(/'/g,"%27").replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/\*/g,"%2A").replace(/\+/g,"%2B").replace(/\,/g,"%2C").replace(/:/g,"%3A").replace(/;/g,"%3B").replace(/=/g,"%3D").replace(/\?/g,"%3F").replace(/@/g,"%40").replace(/\[/g,"%5B").replace(/\]/g,"%5D")},c=/^.*:\/\/[^\/]*|[^\/]*$/g,l=function(e){return e.replace(c,"")},f=function(){var e="/a b",t=a.createElement("a");return t.href=e,l(t.href)===e}(),d=function(e){var t,n=a.createElement("a");return n.href=e,t=l(n.href),f&&(t=encodeURIComponent(t).replace(/%2F/gi,"/")),u(t)},h=null,p=function(){return a.domain},g=function(){return h},m=function(){return modulejs.require("model/item").get(h)},v=function(t){modulejs.require("core/server").request({action:"get",items:!0,itemsHref:h,itemsWhat:1},function(n){var r=modulejs.require("model/item"),i=r.get(h);if(n){var o={};e.each(n.items,function(e){var t=r.get(e.absHref,e.time,e.size,e.is_managed,e.content,e.md5,e.sha1);o[t.absHref]=!0}),e.each(i.content,function(e){o[e.absHref]||r.remove(e.absHref)})}e.isFunction(t)&&t(i)})},y=function(e,t){r.pub("location.beforeChange"),e=d(e),h!==e&&(h=e,s&&(t?s.replaceState({absHref:h},"",h):s.pushState({absHref:h},"",h)));var n=m();n.isLoaded?(r.pub("location.changed",n),b()):(i.set("loading..."),v(function(){n.isLoaded=!0,i.set(),r.pub("location.changed",n)}))},b=function(){var t=m(),n=e.values(t.content);r.pub("location.beforeRefresh"),v(function(){var i=e.values(t.content),o=e.difference(i,n),a=e.difference(n,i);r.pub("location.refreshed",t,o,a)})},w=function(e,t){e.attr("href",t.absHref),s&&t.isFolder()&&t.isManaged&&e.on("click",function(){return y(t.absHref),!1}),o.unmanagedInNewWindow&&!t.isManaged&&e.attr("target","_blank")};return s&&(window.onpopstate=function(e){e.state&&e.state.absHref&&y(e.state.absHref,!0)}),r.sub("ready",function(){y(document.location.href,!0)}),{forceEncoding:u,getDomain:p,getAbsHref:g,getItem:m,setLocation:y,refresh:b,setLink:w}}),modulejs.define("core/notify",["$"],function(e){var t='<div id="notify"/>',n=function(t){t?e("#notify").stop(!0,!0).html(t).fadeIn(400):e("#notify").stop(!0,!0).fadeOut(400)},r=function(){e(t).hide().appendTo("body")};return r(),{set:n}}),modulejs.define("core/resource",["_","$","config","core/settings"],function(e,t,n,r){var i=window,o=r.appHref,a=o+"client/images/",s=o+"client/images/fallback/",u=o+"client/themes/",c=o+"client/js/",l=["file","folder","folder-page","folder-parent","ar","aud","bin","img","txt","vid"],f=function(e){return a+e+".svg"},d=function(t){var r=t.split("-")[0],i=n.theme[t]||n.theme[r];return i?u+i:e.indexOf(l,t)>=0?s+t+".svg":e.indexOf(l,r)>=0?s+r+".svg":s+"file.svg"},h=function(e,n){t.ajax({url:c+e,dataType:"script"}).done(function(){n()})},p=function(e,t,n){i[t]?n(i[t]):h(e,function(){n(i[t])})},g=function(e){p("syntaxhighlighter.js","SyntaxHighlighter",e)};return{image:f,icon:d,ensureSH:g}}),modulejs.define("core/server",["$","_","config","core/location"],function(e,t,n,r){var i={backend:n.setup.BACKEND,api:n.setup.API===!0,name:n.setup.SERVER_NAME,version:n.setup.SERVER_VERSION,request:function(t,n){i.api?e.ajax({url:r.getAbsHref(),data:t,type:"POST",dataType:"json"}).done(function(e){n(e)}).fail(function(){n()}):n()},formRequest:function(n){if(i.api){var o=e('<form method="post" style="display:none;"/>').attr("action",r.getAbsHref());t.each(n,function(t,n){e('<input type="hidden"/>').attr("name",n).attr("value",t).appendTo(o)}),o.appendTo("body").submit().remove()}}};return i}),modulejs.define("core/settings",["config","_"],function(e,t){return t.extend({},e.options,{appHref:e.setup.APP_HREF,rootHref:e.setup.ROOT_HREF,currentHref:e.setup.CURRENT_HREF})}),modulejs.define("core/store",["modernizr"],function(e){var t=e.localstorage?window.localStorage:null,n="_h5ai",r=function(){if(t)try{return JSON.parse(t[n])}catch(e){}return{}},i=function(e){t&&(t[n]=JSON.stringify(e))},o=function(e,t){var n=r();return n[e]=t,i(n)},a=function(e){return r()[e]};return{put:o,get:a}}),modulejs.define("core/types",["config","_"],function(e,t){var n=/\/$/,r={},i=function(e){return e.replace(/[\-\[\]\/\{\}\(\)\+\?\.\\\^\$]/g,"\\$&")},o=function(e){t.each(e,function(e,n){var o="^("+t.map(e,function(e){return"("+i(e).replace(/\*/g,".*")+")"}).join("|")+")$";r[n]=new RegExp(o,"i")})},a=function(e){if(n.test(e))return"folder";var t=e.lastIndexOf("/"),i=t>
6=0?e.substr(t+1):e;for(var o in r)if(r.hasOwnProperty(o)&&r[o].test(i))return o;return"file"};return o(t.extend({},e.types)),{getType:a}}),modulejs.define("ext/autorefresh",["_","$","core/settings","core/event","core/location"],function(e,t,n,r,i){var o=e.extend({enabled:!1,interval:5e3},n.autorefresh),a=null,s=function(){i.refresh()},u=function(){clearTimeout(a)},c=function(){clearTimeout(a),a=setTimeout(s,o.interval)},l=function(){o.enabled&&(o.interval=Math.max(1e3,o.interval),r.sub("location.beforeChange",u),r.sub("location.beforeRefresh",u),r.sub("location.changed",c),r.sub("location.refreshed",c))};l()}),modulejs.define("ext/crumb",["_","$","core/settings","core/resource","core/event","core/location"],function(e,t,n,r,i,o){var a=e.extend({enabled:!1},n.crumb),s='<li class="crumb"><a><img src="'+r.image("crumb")+'" alt=">"/>'+"<span/>"+"</a>"+"</li>",u='<img class="hint" src="'+r.image("page")+'" alt="has index page"/>',c=function(e,n){if(!n&&e.$crumb)return e.$crumb;var i=t(s),a=i.find("a");return i.addClass(e.isFolder()?"folder":"file").data("item",e),o.setLink(a,e),a.find("span").text(e.label).end(),e.isDomain()&&(i.addClass("domain"),a.find("img").attr("src",r.image("home"))),e.isRoot()&&(i.addClass("root"),a.find("img").attr("src",r.image("home"))),e.isCurrentFolder()&&i.addClass("current"),e.isManaged||a.append(t(u)),e.$crumb&&e.$crumb.replaceWith(i),e.$crumb=i,i},l=function(n){var r=n.getCrumb(),i=t("#navbar"),o=!1;i.find(".crumb").each(function(){var e=t(this);e.data("item")===n?(o=!0,e.addClass("current")):e.removeClass("current")}),o||(i.find(".crumb").remove(),e.each(r,function(e){i.append(c(e,!0))}))},f=function(){a.enabled&&i.sub("location.changed",l)};f()}),modulejs.define("ext/custom",["_","$","markdown","core/settings","core/server","core/event","core/resource"],function(e,t,n,r,i,o){var a,s,u=e.extend({enabled:!1},r.custom),c=200,l=function(e){i.request({action:"get",custom:!0,customHref:e.absHref},function(e){var t,r,i,o;e&&(i=e.custom,i.header&&(o=i.header,"md"===i.header_type&&(o=n.toHTML(o)),a.html(o).stop().slideDown(c),t=!0),i.footer&&(o=i.footer,"md"===i.footer_type&&(o=n.toHTML(o)),s.html(o).stop().slideDown(c),r=!0)),t||a.stop().slideUp(c),r||s.stop().slideUp(c)})},f=function(){u.enabled&&(a=t('<div id="content-header"/>').hide().prependTo("#content"),s=t('<div id="content-footer"/>').hide().appendTo("#content"),o.sub("location.changed",l))};f()}),modulejs.define("ext/download",["_","$","core/settings","core/resource","core/event","core/location","core/server"],function(e,t,n,r,i,o,a){var s=e.extend({enabled:!1,type:"php-tar",packageName:"package",alwaysVisible:!1},n.download),u='<li id="download"><a href="#"><img src="'+r.image("download")+'" alt="download"/>'+'<span class="l10n-download"/>'+"</a>"+"</li>",c=[],l=function(e){var n=t("#download");c=e.slice(0),c.length?n.show():s.alwaysVisible||n.hide()},f=function(){var t=s.type,n="shell-zip"===t?"zip":"tar",r={action:"download",as:(s.packageName||o.getItem().label)+"."+n,type:t,hrefs:e.pluck(c,"absHref").join("|:|")};a.formRequest(r)},d=function(){s.enabled&&(t(u).find("a").on("click",f).end().appendTo("#navbar"),s.al
6waysVisible&&t("#download").show(),i.sub("selection",l))};d()}),modulejs.define("ext/filter",["_","$","core/settings","core/resource","core/event"],function(e,t,n,r,i){var o,a,s,u=e.extend({enabled:!1},n.filter),c='<li id="filter"><span class="element"><img src="'+r.image("filter")+'" alt="filter"/>'+'<input type="text" value="" placeholder="filter"/>'+"</span>"+"</li>",l='<div class="no-match l10n-noMatch"/>',f=function(e){var n=[],r=[],i=200;e?t("#items .item").not(".folder-parent").each(function(){var i=t(this).find(".label").text();i.match(e)?n.push(this):r.push(this)}):n=t("#items .item").not(".folder-parent"),n.length?s.hide():r.length&&setTimeout(function(){s.show()},i),t(n).fadeIn(i),t(r).fadeOut(i)},d=function(e){return e.replace(/[\-\[\]{}()*+?.,\\$\^|#\s]/g,"\\$&")},h=function(n){return"re:"===n.substr(0,3)?new RegExp(n.substr(3)):(n=t.map(t.trim(n).split(/\s+/),function(t){return e.map(t.split(""),function(e){return d(e) 7}).join(".*?")}).join("|"),new RegExp(n,"i"))},p=function(){a.val("").blur()},g=function(e){var t=a.val();e&&a.focus(),t||e?(f(h(t)),o.addClass("current")):(f(),o.removeClass("current"))},m=function(){g(!0)},v=function(){g(!1)},y=function(){u.enabled&&(o=t(c).appendTo("#navbar"),a=o.find("input"),s=t(l).appendTo("#view"),o.on("click",m),a.on("focus blur keyup",v),t(document).on("keydown",function(e){27===e.which&&p()}).on("keypress",m),i.sub("location.changed",p))};y()}),modulejs.define("ext/google-analytics-ga",["_","core/settings"],function(e,t){var n=e.extend({enabled:!1,gaq:[]},t["google-analytics-ga"]),r=function(){if(n.enabled){window._gaq=n.gaq;var e="script",t=document,r=t.createElement(e),i=t.getElementsByTagName(e)[0];r.async=!0,r.src=("https:"===location.protocol?"https://ssl":"http://www")+".google-analytics.com/ga.js",i.parentNode.insertBefore(r,i)}};r()}),modulejs.define("ext/google-analytics-ua",["_","core/settings","core/event"],function(e,t,n){var r=e.extend({enabled:!1,id:"UA-000000-0"},t["google-analytics-ua"]),i=window,o=document,a="script",s="h5ai-ga",u=function(){if(r.enabled){var t,u;i.GoogleAnalyticsObject=s,i[s]=i[s]||function(){(i[s].q=i[s].q||[]).push(arguments)},i[s].l=1*new Date,t=o.createElement(a),t.async=!0,t.src="//www.google-analytics.com/analytics.js",u=o.getElementsByTagName(a)[0],u.parentNode.insertBefore(t,u),i[s]("create",r.id,"auto"),n.sub("location.changed",function(t){var n=i.location;i[s]("send","pageview",{location:n.protocol+"//"+n.host+t.absHref,title:e.pluck(t.getCrumb(),"label").join(" > ")})})}};u()}),modulejs.define("ext/l10n",["_","$","core/settings","core/langs","core/format","core/store","core/event","core/server"],function(e,t,n,r,i,o,a,s){var u=e.extend({enabled:!1,lang:"en",useBrowserLang:!0},n.l10n),c={isoCode:"en",lang:"english",details:"details",list:"list",grid:"grid",icons:"icons",name:"Name",lastModified:"Last modified",size:"Size",parentDirectory:"Parent Directory",empty:"empty",folders:"folders",files:"files",download:"download",noMatch:"no match",dateFormat:"YYYY-MM-DD HH:mm",filter:"filter","delete":"delete"},l='<div class="block"><div class="select"><select id="langs"/></div></div>',f="<option/>",d="ext/l10n",h={en:e.extend({},c)},p=h.en,g=function(e){e&&(p=e),t("#langs option").removeAttr("selected").removeProp("selected").filter("."+p.isoCode).attr("selected","selected").prop("selected","selected"),t.each(p,function(e,n){t(".l10n-"+e).text(n)}),i.setDefaultDateFormat(p.dateFormat),t("#items .item .date").each(function(){var e=t(this);e.text(i.formatDate(e.data("time")))}),t("#filter input").attr("placeholder",p.filter)},m=function(t,n){h[t]?n(h[t]):s.request({action:"get",l10n:!0,l10nCodes:t},function(r){var i=r.l10n&&r.l10n[t]?r.l10n[t]:{};h[t]=e.extend({},c,i,{isoCode:t}),n(h[t])})},v=function(e,t,n){var r=o.get(d);if(e[r])t=r;else if(n){var i=navigator.language||navigator.browserLanguage;i&&(e[i]?t=i:i.length>2&&e[i.substr(0,2)]&&(t=i.substr(0,2)))}e[t]||(t="en"),m(t,g)},y=function(n){var r=e.keys(n).sort(),i=t(l),a=i.find("select").on("change",function(e){var t=e.target.value;o.put(d,t),v(n,t,!1)});t.each(r,function(r,i){t(f).attr("value",i).addClass(i).text(i+" - "+(e.isString(n[i])?n[i]:n[i].lang)).appendTo(a)}),i.appendTo("#settings")},b=function(){u.enabled&&y(r),a.sub("location.changed",function(){v(r,u.lang,u.useBrowserLang)})};b()}),modulejs.define("ext/link-hover-states",["_","$","core/settings","core/event"],function(e,t,n,r){var i=e.extend({enabled:!1},n["link-hover-states"]),o="a[href^='/']",a=function(n){return t(e.filter(t(o),function(e){return t(e).attr("href")===n}))},s=function(){var e=t(this).attr("href");a(e).addClass("hover")},u=function(){var e=t(this).attr("href");a(e).removeClass("hover")},c=function(){t(".hover").removeClass("hover")},l=function(){i.enabled&&(t("body").on("mouseenter",o,s).on("mouseleave",o,u),r.sub("location.changed",c))};l()}),modulejs.define("ext/piwik-analytics",["_","$","core/settings"],function(e,t,n){var r=e.extend({enabled:!1,baseURL:"not-set",idSite:0},n["piwik-analytics"]),i=function(){if(r.enabled){var e=("https:"===document.location.protocol?"https://":"http://")+r.baseURL+"/";t("<script/>").attr("src",e+"piwik.js").appendTo("body"),t(window).load(function(){var t=Piwik.getTracker(e+"piwik.php",r.idSite);t.trackPageView(),t.enableLinkTracking()})}};i()}),modulejs.define("ext/preview-audio",["_","$","moment","core/settings","core/event","ext/preview"],function(e,t,n,r,i,o){var a=e.extend({enabled:!1,types:[]},r["preview-aud"]),s=function(e,n){var r=t("<audio/>").one("loadedmetadata",function(){n(r)}).attr("autoplay","autoplay").attr("controls","controls").attr("src",e)},u=function(e,r){var i=e,a=r,u=e[r],c=function(){var e=t("#pv-content"),r=t("#pv-aud-audio");r.length&&(r.css({left:""+.5*(e.width()-r.width())+"px",top:""+.5*(e.height()-r.height())+"px"}),o.setLabels([u.label,n(0).add("seconds",r[0].duration).format("m:ss")]))},l=function(e){a=(a+e+i.length)%i.length,u=i[a];var n=setTimeout(function(){o.showSpinner(!0)},200);t("#pv-aud-audio").length&&t("#pv-aud-audio")[0].pause(),s(u.absHref,function(e){clearTimeout(n),o.showSpinner(!1),t("#pv-content").fadeOut(100,function(){t("#pv-content").empty().append(e.attr("id","pv-aud-audio")).fadeIn(200),setTimeout(function(){c(),o.setIndex(a+1,i.length),o.setRawLink(u.absHref)},10)})})};l(0),o.setOnIndexChange(l),o.setOnAdjustSize(c),o.enter()},c=function(n){n.$view&&e.indexOf(a.types,n.type)>=0&&n.$view.find("a").on("click",function(r){r.preventDefault();var i=e.compact(e.map(t("#items .item"),function(n){return n=t(n).data("item"),e.indexOf(a.types,n.type)>=0?n:null}));u(i,e.indexOf(i,n))})},l=function(t){e.each(t.content,c)},f=function(t,n){e.each(n,c)},d=function(){a.enabled&&(i.sub("location.changed",l),i.sub("location.refreshed",f))};d()}),modulejs.define("ext/preview-img",["_","$","core/settings","core/event","ext/preview"],function(e,t,n,r,i){var o=e.extend({enabled:!1,types:[]},n["preview-img"]),a=function(e,n){var r=t("<img/>").one("load",function(){n(r)}).attr("src",e)},s=function(e,n){var r=e,o=n,s=e[n],u=function(){var e=t("#pv-content"),n=t("#pv-img-image");n.length&&(n.css({left:""+.5*(e.width()-n.width())+"px",top:""+.5*(e.height()-n.height())+"px"}
7),i.setLabels([s.label,""+n[0].naturalWidth+"x"+n[0].naturalHeight,""+(100*n.width()/n[0].naturalWidth).toFixed(0)+"%"]))},c=function(e){o=(o+e+r.length)%r.length,s=r[o];var n=setTimeout(function(){i.showSpinner(!0)},200);a(s.absHref,function(e){clearTimeout(n),i.showSpinner(!1),t("#pv-content").fadeOut(100,function(){t("#pv-content").empty().append(e.attr("id","pv-img-image")).fadeIn(200),setTimeout(function(){u(),i.setIndex(o+1,r.length),i.setLabels([s.label,""+e[0].naturalWidth+"x"+e[0].naturalHeight,""+(100*e.width()/e[0].naturalWidth).toFixed(0)+"%"]),i.setRawLink(s.absHref)},10)})})};c(0),i.setOnIndexChange(c),i.setOnAdjustSize(u),i.enter()},u=function(n){n.$view&&e.indexOf(o.types,n.type)>=0&&n.$view.find("a").on("click",function(r){r.preventDefault();var i=e.compact(e.map(t("#items .item"),function(n){return n=t(n).data("item"),e.indexOf(o.types,n.type)>=0?n:null}));s(i,e.indexOf(i,n))})},c=function(t){e.each(t.content,u)},l=function(t,n){e.each(n,u)},f=function(){o.enabled&&(r.sub("location.changed",c),r.sub("location.refreshed",l))};f()}),modulejs.define("ext/preview-txt",["_","$","markdown","core/settings","core/event","core/resource","ext/preview"],function(e,t,n,r,i,o,a){var s=e.extend({enabled:!1,types:{}},r["preview-txt"]),u='<pre id="pv-txt-text" class="highlighted"/>',c='<div id="pv-txt-text" class="markdown"/>',l=function(n,r,i){var o,a,s=n.vars.discoveredBrushes;return s||(s={},e.each(n.brushes,function(e,t){var n=e.aliases;if(n){e.brushName=t.toLowerCase();for(var r=0;r<n.length;r+=1)s[n[r]]=t}}),n.vars.discoveredBrushes=s),(o=n.brushes[s[r||"plain"]])?(a=new o,a.init({toolbar:!1,gutter:!1}),t(a.getHtml(i)).find(".line")):t()},f=function(e,n){t.ajax({url:e,dataType:"text"}).done(function(e){n(e)}).fail(function(e,t){n("[ajax error] "+t)})},d=function(e,r){var i=e,d=r,h=e[r],p=function(){var e=t("#pv-content"),n=t("#pv-txt-text");n.length&&n.height(e.height()-16)},g=function(e){d=(d+e+i.length)%i.length,h=i[d];var r=setTimeout(function(){a.showSpinner(!0)},200);f(h.absHref,function(e){clearTimeout(r),a.showSpinner(!1),t("#pv-content").fadeOut(100,function(){var r;"none"===s.types[h.type]?r=t(c).text(e):"fixed"===s.types[h.type]?r=t(u).text(e):"markdown"===s.types[h.type]?r=t(c).html(n.toHTML(e)):(r=t(u).text(e),o.ensureSH(function(n){if(n){var i=t("<table/>");l(n,s.types[h.type],e).each(function(e){t("<tr/>").append(t("<td/>").addClass("nr").append(e+1)).append(t("<td/>").addClass("line").append(this)).appendTo(i)}),r.empty().append(i)}})),t("#pv-content").empty().append(r).fadeIn(200),p(),a.setIndex(d+1,i.length),a.setLabels([h.label,""+h.size+" bytes"]),a.setRawLink(h.absHref)})})};g(0),a.setOnIndexChange(g),a.setOnAdjustSize(p),a.enter()},h=function(n){n.$view&&e.indexOf(e.keys(s.types),n.type)>=0&&n.$view.find("a").on("click",function(r){r.preventDefault();var i=e.compact(e.map(t("#items .item"),function(n){return n=t(n).data("item"),e.indexOf(e.keys(s.types),n.type)>=0?n:null}));d(i,e.indexOf(i,n))})},p=function(t){e.each(t.content,h)},g=function(t,n){e.each(n,h)},m=function(){s.enabled&&(i.sub("location.changed",p),i.sub("location.refreshed",g))};m()}),modulejs.define("ext/preview-vid",["_","$","core/settings","core/event","ext/preview"],function(e,t,n,r,i){var o=e.extend({enabled:!1,types:[]},n["preview-vid"]),a=function(e,n){var r=t("<video/>").one("loadedmetadata",function(){n(r)}).attr("autoplay","autoplay").attr("controls","controls").attr("src",e)},s=function(e,n){var r=e,o=n,s=e[n],u=function(){var e=t("#pv-content"),n=t("#pv-vid-video");n.length&&(n.css({left:""+.5*(e.width()-n.width())+"px",top:""+.5*(e.height()-n.height())+"px"}),i.setLabels([s.label,""+n[0].videoWidth+"x"+n[0].videoHeight,""+(100*n.width()/n[0].videoWidth).toFixed(0)+"%"]))},c=function(e){o=(o+e+r.length)%r.length,s=r[o];var n=setTimeout(function(){i.showSpinner(!0)},200);t("#pv-vid-video").length&&t("#pv-vid-video")[0].pause(),a(s.absHref,function(e){clearTimeout(n),i.showSpinner(!1),t("#pv-content").fadeOut(100,function(){t("#pv-content").empty().append(e.attr("id","pv-vid-video")).fadeIn(200),setTimeout(function(){u(),i.setIndex(o+1,r.length),i.setRawLink(s.absHref)},10)})})};c(0),i.setOnIndexChange(c),i.setOnAdjustSize(u),i.enter()},u=function(n){n.$view&&e.indexOf(o.types,n.type)>=0&&n.$view.find("a").on("click",function(r){r.preventDefault();var i=e.compact(e.map(t("#items .item"),function(n){return n=t(n).data("item"),e.indexOf(o.types,n.type)>=0?n:null}));s(i,e.indexOf(i,n))})},c=function(t){e.each(t.content,u)},l=function(t,n){e.each(n,u)},f=function(){o.enabled&&(r.sub("location.changed",c),r.sub("location.refreshed",l))};f()}),modulejs.define("ext/preview",["_","$","core/settings","core/resource","core/store"],function(e,t,n,r,i){var o=e.extend({enabled:!0},n.preview),a='<div id="pv-overlay" class="noSelection"><div id="pv-content"/><div id="pv-spinner"><img src="'+r.image("spinner")+'"/></div>'+'<div id="pv-prev-area" class="hof"><img src="'+r.image("preview/prev")+'"/></div>'+'<div id="pv-next-area" class="hof"><img src="'+r.image("preview/next")+'"/></div>'+'<div id="pv-bottombar" class="clearfix hof">'+'<ul id="pv-buttons">'+'<li id="pv-bar-close" class="bar-right bar-button"><img src="'+r.image("preview/close")+'"/></li>'+'<li id="pv-bar-raw" class="bar-right"><a class="bar-button" target="_blank"><img src="'+r.image("preview/raw")+'"/></a></li>'+'<li id="pv-bar-fullscreen" class="bar-right bar-button"><img src="'+r.image("preview/fullscreen")+'"/></li>'+'<li id="pv-bar-next" class="bar-right bar-button"><img src="'+r.image("preview/next")+'"/></li>'+'<li id="pv-bar-idx" class="bar-right bar-label"/>'+'<li id="pv-bar-prev" class="bar-right bar-button"><img src="'+r.image("preview/prev")+'"/></li>'+"</ul>"+"</div>"+"</div>",s="ext/preview",u=i.get(s)||!1,c=function(){var n=t(window).fracs("viewport"),i=t("#pv-content"),o=t("#pv-spinner"),a=u?0:20,s=u?0:31;i.css({width:n.width-2*a,height:n.height-2*a-s,left:a,top:a}),o.css({left:.5*n.width,top:.5*n.height}),u?(t("#pv-overlay").addClass("fullscreen"),t("#pv-bar-fullscreen").find("img").attr("src",r.image("preview/no-fullscreen"))):(t("#pv-overlay").removeClass("fullscreen"),t("#pv-bar-fullscreen").find("img").attr("src",r.image("preview/fullscreen"))),e.isFunction(k)&&k(1)},l=function(){t("#pv-content").empty(),w([]),t("#pv-overlay").stop(!0,!0).fadeIn(200),t(window).on("keydown",v),c()},f=function(){t(window).off("keydown",v),t("#pv-overlay").stop(!0,!0).fadeOut(200,function(){t("#pv-content").empty(),w([])})},d=function(){e.isFunction(x)&&x(1)},h=function(){e.isFunction(x)&&x(-1)},p=null,g=function(){clearTimeout(p),t("#pv-overlay .hof").stop(!0,!0).fadeIn(200),u&&(p=setTimeout(function(){t("#pv-overlay .hof").stop(!0,!0).fadeOut(2e3)},2e3))},m=function(){u=!u,i.put(s,u),g(),c()},v=function(e){var n=e.which,r=300;27===n?(e.preventDefault(),e.stopImmediatePropagation(),f()):8===n||37===n?(e.preventDefault(),e.stopImmediatePropagation(),t("#pv-bar-prev").addClass("hover"),setTimeout(function(){t("#pv-bar-prev").removeClass("hover")},r),h()):13===n||32===n||39===n?(e.preventDefault(),e.stopImmediatePropagation(),t("#pv-bar-next").addClass("hover"),setTimeout(function(){t("#pv-bar-next").removeClass("hover")},r),d()):70===n&&(e.preventDefault(),e.stopImmediatePropagation(),t("#pv-bar-fullscreen").addClass("hover"),setTimeout(function(){t("#pv-bar-fullscreen").removeClass("hover")},r),m())},y=function(n,r){e.isNumber(n)?t("#pv-bar-idx").text(""+n+(e.isNumber(r)?"/"+r:"")).show():t("#pv-bar-idx").text("").hide()},b=function(e){e?t("#pv-bar-raw").find("a").attr("href",e).end().show():t("#pv-bar-raw").find("a").attr("href","#").end().hide()},w=function(n){t("#pv-buttons .bar-left").remove(),e.each(n,function(e){t("<li/>").addClass("bar-left bar-label").text(e).appendTo("#pv-buttons")})},x=null,_=function(e){x=e},k=null,T=function(e){k=e},C=function(n,r){e.isNumber(r)||(r=400),n?t("#pv-spinner").stop(!0,!0).fadeIn(r):t("#pv-spinner").stop(!0,!0).fadeOut(r)},S=function(){o.enabled&&(t(a).appendTo("body"),t("#pv-spinner").hide(),t("#pv-bar-prev, #pv-prev-area").on("click",h),t("#pv-bar-next, #pv-next-area").on("click",d),t("#pv-bar-close, #pv-close-area").on("click",f),t("#pv-bar-fullscreen").on("click",m),t("#pv-overlay").on("keydown",v).on("mousemove mousedown",g).on("click mousedown mousemove keydown keypress",function(e){"click"===e.type&&("pv-overlay"===e.target.id||"pv-content"===e.target.id)&&f(),e.stopImmediatePropagation()}
7),t(window).on("resize load",c))};return S(),{enter:l,exit:f,setIndex:y,setRawLink:b,setLabels:w,setOnIndexChange:_,setOnAdjustSize:T,showSpinner:C}}),modulejs.define("ext/qrcode",["_","$","modernizr","core/settings","core/event"],function(e,t,n,r,i){var o,a,s=e.extend({enabled:!1,size:150},r.qrcode),u='<div id="qrcode"/>',c=function(e){o.empty().qrcode({render:n.canvas?"canvas":"div",width:s.size,height:s.size,color:"#333",bgColor:"#fff",text:window.location.protocol+"//"+window.location.host+e.absHref})},l=function(e){e.isFolder()||(c(e),clearTimeout(a),o.stop(!0,!0).fadeIn(400))},f=function(){a=setTimeout(function(){o.stop(!0,!0).fadeOut(400)},200)},d=function(){s.enabled&&(o=t(u).appendTo("body"),i.sub("item.mouseenter",l),i.sub("item.mouseleave",f))};d()}),modulejs.define("ext/select",["_","$","core/settings","core/resource","core/event"],function(e,t,n,r,i){var o=e.extend({enabled:!1,checkboxes:!1},n.select),a='<span class="selector"><img src="'+r.image("selected")+'" alt="selected"/></span>',s=0,u=0,c=0,l=0,f=0,d=0,h=1/3,p=t(document),g=t('<div id="selection-rect"/>'),m=function(){var n=e.map(t("#items .item.selected"),function(e){return t(e).data("item")});i.pub("selection",n)},v=function(e){c=Math.min(s,e.pageX),l=Math.min(u,e.pageY),f=Math.abs(s-e.pageX),d=Math.abs(u-e.pageY),e.preventDefault(),g.stop(!0,!0).css({left:c,top:l,width:f,height:d,opacity:1}).show();var n=g.fracs("rect");t("#items .item").removeClass("selecting").each(function(){var e=t(this),r=e.find("a").fracs("rect"),i=n.intersection(r);i&&!e.hasClass("folder-parent")&&e.addClass("selecting")})},y=function(e){e.preventDefault(),p.off("mousemove",v),t("#items .item.selecting.selected").removeClass("selecting").removeClass("selected"),t("#items .item.selecting").removeClass("selecting").addClass("selected"),m(),g.stop(!0,!0).animate({left:c+.5*f*h,top:l+.5*d*h,width:f*(1-h),height:d*(1-h),opacity:0},300,function(){g.hide()})},b=function(e){var n=t(window),r=n.scrollLeft()+n.width(),i=n.scrollTop()+n.height();s=e.pageX,u=e.pageY,0!==e.button||s>=r||u>=i||(t(":focus").blur(),e.ctrlKey||e.metaKey||(t("#items .item").removeClass("selected"),m()),p.on("mousemove",v).one("mouseup",y),v(e))},w=function(e){return e.stopImmediatePropagation(),!1},x=function(e){e.ctrlKey||e.metaKey||w(e)},_=function(e){e.$view&&t(a).appendTo(e.$view.find("a")).on("click",function(t){t.stopImmediatePropagation(),t.preventDefault(),e.$view.toggleClass("selected"),m()})},k=function(t){o.checkboxes&&e.each(t.content,_),m()},T=function(t,n,r){var i=!1;o.checkboxes&&e.each(n,_),e.each(r,function(e){e.$view&&e.$view.hasClass("selected")&&(e.$view.removeClass("selected"),i=!0)}),i&&m()},C=function(){o.enabled&&(g.hide().appendTo("body"),i.sub("location.changed",k),i.sub("location.refreshed",T),p.on("mousedown",".noSelection",w).on("mousedown",".noSelectionUnlessCtrl,input,select,a",x).on("mousedown",b))};C()}),modulejs.define("ext/sort",["_","$","core/settings","core/resource","core/event","core/store"],function(e,t,n,r,i,o){var a=e.extend({enabled:!1,column:0,reverse:!1,ignorecase:!0,natural:!1,folders:0},n.sort),s="ext/sort",u='<img src="'+r.image("ascending")+'" class="sort ascending" alt="ascending" />'+'<img src="'+r.image("descending")+'" class="sort descending" alt="descending" />',c=function(e){var n=t(e);return n.hasClass("folder-parent")?0:n.hasClass("folder")?1===a.folders?2:2===a.folders?3:1:2},l=function(e){return t(e).find(".label").text()},f=function(e){return t(e).find(".date").data("time")},d=function(e){return t(e).find(".size").data("bytes")},h={0:l,1:f,2:d},p={0:"label",1:"date",2:"size"},g=function(e,t){var n,r,i=/(^-?[0-9]+(\.?[0-9]*)[df]?e?[0-9]?$|^0x[0-9a-f]+$|[0-9]+)/gi,o=/(^[ ]*|[ ]*$)/g,a=/(^([\w ]+,?[\w ]+)?[\w ]+,?[\w ]+\d+:\d+(:\d+)?[\w ]?|^\d{1,4}[\/\-]\d{1,4}[\/\-]\d{1,4}|^\w+, \w+ \d+, \d{4})/,s=/^0x[0-9a-f]+$/i,u=/^0/,c=(""+e).replace(o,""),l=(""+t).replace(o,""),f=c.replace(i,"\0$1\0").replace(/\0$/,"").replace(/^\0/,"").split("\0"),d=l.replace(i,"\0$1\0").replace(/\0$/,"").replace(/^\0/,"").split("\0"),h=parseInt(c.match(s),10)||1!==f.length&&c.match(a)&&Date.parse(c),p=parseInt(l.match(s),10)||h&&l.match(a)&&Date.parse(l)||null;if(p){if(p>h)return-1;if(h>p)return 1}for(var g=0,m=Math.max(f.length,d.length);m>g;g+=1){if(n=!(f[g]||"").match(u)&&parseFloat(f[g])||f[g]||0,r=!(d[g]||"").match(u)&&parseFloat(d[g])||d[g]||0,isNaN(n)!==isNaN(r))return isNaN(n)?1:-1;
7if(typeof n!=typeof r&&(n+="",r+=""),r>n)return-1;if(n>r)return 1}return 0},m=function(e,t,n,r){return function(i,o){var a,s,u;return a=c(i)-c(o),0!==a?a:(s=e(i),u=e(o),(isNaN(s)||isNaN(u))&&(s=""+s,u=""+u,n&&(s=s.toLowerCase(),u=u.toLowerCase())),a=r?g(s,u):u>s?-1:s>u?1:0,t?-a:a)}},v=function(e,n){var r=t("#items li.header a"),i=t("#items li.header a."+p[e]),u=m(h[e],n,a.ignorecase,0===e&&a.natural),c=t("#items .item"),l=t("#items .item").sort(u);o.put(s,{column:e,reverse:n}),r.removeClass("ascending descending"),i.addClass(n?"descending":"ascending");for(var f=0,d=c.length;d>f;f+=1)if(c[f]!==l[f]){l.detach().sort(u).appendTo("#items");break}},y=function(){var e=o.get(s),t=e&&e.column||a.column,n=e&&e.reverse||a.reverse;v(t,n)},b=function(){a.enabled&&(t("#items li.header").find("a.label").append(u).click(function(e){v(0,t(this).hasClass("ascending")),e.preventDefault()}).end().find("a.date").prepend(u).click(function(e){v(1,t(this).hasClass("ascending")),e.preventDefault()}).end().find("a.size").prepend(u).click(function(e){v(2,t(this).hasClass("ascending")),e.preventDefault()}).end(),i.sub("location.changed",y),i.sub("location.refreshed",y))};b()}),modulejs.define("ext/statusbar",["_","$","core/settings","core/format","core/event"],function(e,t,n,r,i){var o,a,s=e.extend({enabled:!1},n.statusbar),u='<span class="statusbar"><span class="status default"><span class="folderTotal"/> <span class="l10n-folders"/><span class="sep"/><span class="fileTotal"/> <span class="l10n-files"/></span><span class="status dynamic"/></span>',c='<span class="sep"/>',l=function(e){e?(a.hide(),o.empty().append(e).show()):(o.empty().hide(),a.show())},f=function(){if(s.enabled){var n=t(u),f=n.find(".folderTotal"),d=n.find(".fileTotal"),h=function(e){var t=e.getStats();f.text(t.folders),d.text(t.files)};a=n.find(".status.default"),o=n.find(".status.dynamic"),t("#bottombar > .center").append(n),i.sub("statusbar",l),i.sub("location.changed",h),i.sub("location.refreshed",h),i.sub("item.mouseenter",function(n){if(!n.isCurrentParentFolder()){var i=t("<span/>").append(n.label);e.isNumber(n.time)&&i.append(c).append(r.formatDate(n.time)),e.isNumber(n.size)&&i.append(c).append(r.formatSize(n.size)),l(i)}}),i.sub("item.mouseleave",function(){l()})}};f()}),modulejs.define("ext/thumbnails",["_","core/settings","core/event","core/server"],function(e,t,n,r){var i=e.extend({enabled:!1,img:["bmp","gif","ico","image","jpg","png"],mov:["video"],doc:["pdf","ps"],delay:1e3,size:96},t.thumbnails),o=function(e,t,n,o,a){r.request({action:"getThumbHref",type:e,href:t,mode:n,width:i.size*o,height:i.size},function(e){a(e&&0===e.code?e.absHref:null)})},a=function(t){var n=null;e.contains(i.img,t.type)?n="img":e.contains(i.mov,t.type)?n="mov":e.contains(i.doc,t.type)&&(n="doc"),n&&(t.thumbSquare?t.$view.find(".icon.square img").addClass("thumb").attr("src",t.thumbSquare):o(n,t.absHref,"square",1,function(e){e&&t.$view&&(t.thumbSquare=e,t.$view.find(".icon.square img").addClass("thumb").attr("src",e))}),t.thumbRational?t.$view.find(".icon.rational img").addClass("thumb").attr("src",t.thumbRational):o(n,t.absHref,"rational",2,function(e){e&&t.$view&&(t.thumbRational=e,t.$view.find(".icon.rational img").addClass("thumb").attr("src",e))}))},s=function(t){setTimeout(function(){e.each(t.content,a)},i.delay)},u=function(t,n){e.each(n,a)},c=function(){i.enabled&&r.api&&(n.sub("location.changed",s),n.sub("location.refreshed",u))};c()}),modulejs.define("ext/title",["_","core/settings","core/event"],function(e,t,n){var r=e.extend({enabled:!1},t.title),i=function(t){var n=e.pluck(t.getCrumb(),"label"),r=n.join(" > ");n.length>1&&(r=n[n.length-1]+" - "+r),document.title=r},o=function(){r.enabled&&n.sub("location.changed",i)};o()}),modulejs.define("ext/tree",["_","$","core/settings","core/resource","core/event","core/location"],function(e,t,n,r,i,o){var a=e.extend({enabled:!1,slide:!0,maxSubfolders:50},n.tree),s='<div class="item"><span class="indicator none"><img src="'+r.image("tree")+'"/>'+"</span>"+"<a>"+'<span class="icon"><img/></span>'+'<span class="label"/>'+"</a>"+"</span>",u=function(n){var i=t(s),c=i.find(".indicator"),l=i.find("a"),f=i.find(".icon img"),d=i.find(".label");if(i.addClass(n.isFolder()?"folder":"file").data("item",n),o.setLink(l,n),f.attr("src",r.image("folder")),d.text(n.label),n.isFolder()){var h=n.getSubfolders();if((n.isManaged&&!n.isContentFetched||h.length)&&(c.removeClass("none"),n.isManaged&&!n.isContentFetched?c.addClass("unknown"):n.isContentVisible?c.addClass("open"):c.addClass("close")),n.isDomain()&&(i.addClass("domain"),f.attr("src",r.image("home"))),n.isRo
7ot()&&(i.addClass("root"),f.attr("src",r.image("home"))),n.isCurrentFolder()&&i.addClass("current"),h.length){var p=t('<ul class="content"/>').appendTo(i),g=0;e.each(h,function(e){g+=1,g<=a.maxSubfolders&&t("<li/>").append(u(e)).appendTo(p)}),h.length>a.maxSubfolders&&t('<li class="summary">⦠'+(h.length-a.maxSubfolders)+" more subfolders</li>").appendTo(p),n.isContentVisible||p.hide()}n.isManaged||f.attr("src",r.image("folder-page"))}return n.$tree&&n.$tree.replaceWith(i),n.$tree=i,i},c=function(){var e=t("#tree"),n=function(t,n,r,i){t.isContentVisible=i,n.removeClass("open close").addClass(i?"open":"close"),e.scrollpanel("update",!0),r[i?"slideDown":"slideUp"](function(){e.scrollpanel("update")})};return function(){var e=t(this),r=e.closest(".item"),i=r.data("item"),o=r.find("> ul.content");e.hasClass("unknown")?i.fetchContent(function(e){e.isContentVisible=!1;var t=u(e),r=t.find("> .indicator"),i=t.find("> ul.content");r.hasClass("none")||n(e,r,i,!0)}):e.hasClass("open")?n(i,e,o,!1):e.hasClass("close")&&n(i,e,o,!0)}},l=function(e,n){var r=t("#tree"),i=t("#view"),o=a.slide&&r.outerWidth()<i.offset().left||e||!i.is(":visible")?0:18-r.outerWidth();n?r.stop().css({left:o}):r.stop().animate({left:o})},f=function(e,t){e.isContentVisible=!0,e.fetchContent(function(e){e.parent?f(e.parent,t):t(e)})},d=function(){var e=t("#tree"),n=t(window).height(),r=t("#topbar").outerHeight(),i=t("#bottombar").outerHeight();e.css({top:r,height:n-r-i-16}),e.scrollpanel("update")},h=function(e){f(e,function(e){t("#tree").find(".sp-container").append(u(e)).end().show(),d(),l(!1,!0)})},p=function(){a.enabled&&(t('<div id="tree"/>').appendTo("body").scrollpanel().on("click",".indicator",c()).on("mouseenter",function(){l(!0)}).on("mouseleave",function(){l()}),i.sub("ready",d),i.sub("location.changed",h),t(window).on("resize",function(){d(),l()}))};p()}),modulejs.define("info",["$","config"],function(e,t){var n='<div id="tests-wrapper"><ul id="tests"></div>',r='<li class="test"><span class="label"></span><span class="result"></span><div class="info"></div></li>',i='<div id="login-wrapper"><input id="pass" type="text" placeholder="password"/><span id="login">login</span><span id="logout">logout</span><div id="hint">The preset password is the empty string, so just hit login. You might change it in the index file to keep this information private.</div></div>',o=t.setup,a=function(){var t=function(t,n,i,o){e(r).find(".label").text(t).end().find(".result").addClass(i?"passed":"failed").text(o?o:i?"yes":"no").end().find(".info").html(n).end().appendTo("#tests")};e(n).appendTo("body"),t("Server software","Server is one of apache, lighttpd, nginx or cherokee",o.HAS_SERVER,o.SERVER_NAME+" "+o.SERVER_VERSION),t("PHP version","PHP version >= "+o.MIN_PHP_VERSION,o.HAS_PHP_VERSION,o.PHP_VERSION),t("Cache directory","Web server has write access",o.HAS_WRITABLE_CACHE),t("Image thumbs","PHP GD extension with JPEG support available",o.HAS_PHP_JPG),t("Use EXIF thumbs","PHP EXIF extension available",o.HAS_PHP_EXIF),t("Movie thumbs","Command line program <code>avconv</code> or <code>ffmpeg</code> available",o.HAS_CMD_AVCONV||o.HAS_CMD_FFMPEG),t("PDF thumbs","Command line program <code>convert</code> available",o.HAS_CMD_CONVERT),t("Shell tar","Command line program <code>tar</code> available",o.HAS_CMD_TAR),t("Shell zip","Command line program <code>zip</code> available",o.HAS_CMD_ZIP),t("Shell du","Command line program <code>du</code> available",o.HAS_CMD_DU)},s=function(){var t=function(t){e.ajax({url:"server/php/index.php",type:"POST",dataType:"JSON",data:t}).always(function(){window.location.reload()})},n=function(){t({action:"login",pass:e("#pass").val()})},r=function(){t({action:"logout"})},a=function(e){13===e.which&&n()};e(i).appendTo("body"),o.AS_ADMIN?(e("#pass").remove(),e("#login").remove(),e("#logout").on("click",r)):(e("#pass").on("keydown",a).focus(),e("#login").on("click",n),e("#logout").remove()),o.HAS_CUSTOM_PASSHASH&&e("#hint").remove()},u=function(){e('<span class="idx-file">Index: <code class="value"></code></span>').appendTo("body").find(".value").text(o.INDEX_HREF),o.AS_ADMIN&&a(),s()};u()}),modulejs.define("main",["_","core/event"],function(e,t){modulejs.require("view/ensure"),modulejs.require("view/items"),modulejs.require("view/spacing"),modulejs.require("view/viewmode"),e.each(modulejs.state(),function(e,t){/^ext\/.+/.test(t)&&modulejs.require(t)}),t.pub("ready")}),modulejs.define("model/item",["_","core/types","core/event","core/settings","core/server","core/location"],function(e,t,n,r,i,o){var a=/\/$/,s=function(e,t){return e.slice&&t.length&&e.slice(0,t.length)===t},u=function(e){e=e.replace(a,"");try{e=decodeURIComponent(e)}catch(t){}return e},c=/^(.*\/)([^\/]+\/?)$/,l=function(e){if("/"===e)return{parent:null,name:"/"};var t=c.exec(e);if(t){var n={parent:t[1],name:t[2]};return n.parent&&!s(n.parent,r.rootHref)&&(n.parent=null),n}},f={},d=function(t,n,i,a,u,c,l){if(t=o.forceEncoding(t),!s(t,r.rootHref))return null;var d=f[t]||new g(t);return e.isNumber(n)&&(d.time=n),e.isNumber(i)&&(d.size=i),a&&(d.isManaged=!0),u&&(d.isContentFetched=!0),c&&(d.md5=c),l&&(d.sha1=l),d},h=function(t){t=o.forceEncoding(t);var n=f[t];n&&(delete f[t],n.parent&&delete n.parent.content[n.absHref],e.each(n.content,function(e){h(e.absHref)}))},p=function(t,n){var r=d(t);e.isFunction(n)||(n=function(){}),r.isContentFetched?n(r):i.request({action:"get",items:!0,itemsHref:r.absHref,itemsWhat:1},function(t){t.items&&e.each(t.items,function(e){d(e.absHref,e.time,e.size,e.is_managed,e.content,e.md5,e.sha1)}),n(r)})},g=function(n){var r=l(n);f[n]=this,this.absHref=n,this.type=t.getType(n),this.label=u("/"===n?o.getDomain():r.name),this.time=null,this.size=null,this.parent=null,this.isManaged=null,this.content={},r.parent&&(this.parent=d(r.parent),this.parent.content[this.absHref]=this,e.keys(this.parent.content).length>1&&(this.parent.isContentFetched=!0))};return e.extend(g.prototype,{isFolder:function(){return a.test(this.absHref)},isCurrentFolder:function(){return this.absHref===o.getAbsHref()},isInCurrentFolder:function(){return!!this.parent&&this.parent.isCurrentFolder()},isCurrentParentFolder:function(){return this===d(o.getAbsHref()).parent},isDomain:function(){return"/"===this.absHref},isRoot:function(){return this.absHref===r.rootHref},isH5ai:function(){return this.absHref===r.appHref},isEmpty:function(){return 0===e.keys(this.content).length},fetchContent:function(e){return p(this.absHref,e)},getCrumb:function(){for(var e=this,t=[e];e.parent;)e=e.parent,t.unshift(e);return t},getSubfolders:function(){return e.sortBy(e.filter(this.content,function(e){return e.isFolder()}),function(e){return e.label.toLowerCase()})},getStats:function(){var t=0,n=0;e.each(this.content,function(e){e.isFolder()?t+=1:n+=1});for(var r=0,i=this;i.parent;)r+=1,i=i.parent;return{folders:t,files:n,depth:r}}}),{get:d,remove:h}}),modulejs.define("view/ensure",["$","config","core/event"],function(e,t,n){var r="#bottombar",i=r+" .right",o=i+" a",a="powered by h5ai "+t.setup.VERSION,s="http://larsjung.de/h5ai/",u=":visible",c="style",l="display: inline !important",f=function(){(e(i).text()!==a||1!==e(o).filter(u).length||1!==e(i).filter(u).length||1!==e(r).filter(u).length)&&(1!==e(r).filter(u).length&&(e(r).remove(),e('<div id="bottombar"/>').attr(c,l).appendTo("body")),e(i).remove(),e("<span><a/></span>").addClass("right").attr(c,l).find("a").attr("href",s).attr("title",a).text(a).attr(c,l).end().prependTo(r))},d=function(){n.sub("ready",function(){f(),setInterval(f,6e4)})};d()}),modulejs.define("view/items",["_","$","core/settings","core/resource","core/format","core/event","core/location"],function(e,t,n,r,i,o,a){var s=e.extend({binaryPrefix:!1,hideFolders:!1,hideParentFolder:!1,setParentFolderLabels:!1},n.view),u='<li class="item"><a><span class="icon square"><img/>
7</span><span class="icon rational"><img/></span><span class="label"/><span class="date"/><span class="size"/></a></li>',c='<div id="content"><div id="view"><ul id="items" class="clearfix"><li class="header"><a class="icon"/><a class="label" href="#"><span class="l10n-name"/></a><a class="date" href="#"><span class="l10n-lastModified"/></a><a class="size" href="#"><span class="l10n-size"/></a></li></ul><div class="empty l10n-empty"/></div></div>',l=function(e,n){if(!n&&e.$view)return e.$view; 8var o=t(u),c=o.find("a"),l=o.find(".icon img"),f=o.find(".label"),d=o.find(".date"),h=o.find(".size");return o.addClass(e.isFolder()?"folder":"file").data("item",e),a.setLink(c,e),l.attr("src",r.icon(e.type)).attr("alt",e.type),f.text(e.label),d.data("time",e.time).text(i.formatDate(e.time)),h.data("bytes",e.size).text(i.formatSize(e.size)),e.isFolder()&&!e.isManaged&&(o.addClass("page"),l.attr("src",r.icon("folder-page"))),e.isCurrentParentFolder()&&(l.attr("src",r.icon("folder-parent")),s.setParentFolderLabels||f.addClass("l10n-parentDirectory"),o.addClass("folder-parent")),e.$view&&e.$view.replaceWith(o),e.$view=o,o},f=function(){var e=t(this).closest(".item").data("item");o.pub("item.mouseenter",e)},d=function(){var e=t(this).closest(".item").data("item");o.pub("item.mouseleave",e)},h=function(n){var r=t("#items"),i=t("#view").find(".empty");r.find(".item").remove(),n.parent&&!s.hideParentFolder&&r.append(l(n.parent,!0)),e.each(n.content,function(e){e.isFolder()&&s.hideFolders||r.append(l(e,!0))}),n.isEmpty()?i.show():i.hide(),t("html,body").scrollLeft(0).scrollTop(0)},p=function(n,r,i){var o=t("#items"),a=t("#view").find(".empty");e.each(r,function(e){e.isFolder()&&s.hideFolders||l(e,!0).hide().appendTo(o).fadeIn(400)}),e.each(i,function(e){e.$view.fadeOut(400,function(){e.$view.remove()})}),n.isEmpty()?setTimeout(function(){a.show()},400):a.hide()},g=function(){var e=t(c),n=e.find("#view"),r=n.find("#items");n.find(".empty").hide(),i.setDefaultMetric(s.binaryPrefix),r.on("mouseenter",".item a",f).on("mouseleave",".item a",d),o.sub("location.changed",h),o.sub("location.refreshed",p),e.appendTo("body")};g()}),modulejs.define("view/spacing",["_","$","core/settings","core/event"],function(e,t,n,r){var i=e.extend({maxWidth:960,top:50,right:"auto",bottom:50,left:"auto"},n.spacing),o=function(){t("#content").css({"margin-top":i.top+t("#topbar").outerHeight(),"margin-bottom":i.bottom+t("#bottombar").outerHeight()})},a=function(){t("#content").css({"max-width":i.maxWidth,"margin-right":i.right,"margin-left":i.left}),r.sub("ready",o),t(window).on("resize",o)};a()}),modulejs.define("view/viewmode",["_","$","core/settings","core/resource","core/store","core/event"],function(e,t,n,r,i,o){var a=["details","grid","icons"],s=[16,24,32,48,64,96,128,192,256,384],u=e.extend({},{modes:a,sizes:s},n.view),c="viewmode",l=!1,f='<li id="menu-toggle" class="view"><a href="#"><img src="'+r.image("settings")+'" alt="settings"/>'+"</a>"+"</li>",d='<div id="view-[MODE]" class="view"><a href="#"><img src="'+r.image("view-[MODE]")+'" alt="view-[MODE]"/>'+"</a>"+"</div>",h='<input id="view-size" type="range" min="0" max="0" value="0">',p=function(){var e=t("#content").width(),n=t("#view"),r=n.hasClass("view-icons")||n.hasClass("view-grid")?n.find(".item").eq(0).outerWidth(!0)||1:1;n.width(Math.floor(e/r)*r)},g=function(n,r){var o=t("#view"),l=i.get(c);n=n||l&&l.mode,r=r||l&&l.size,n=e.contains(u.modes,n)?n:u.modes[0],r=e.contains(u.sizes,r)?r:u.sizes[0],i.put(c,{mode:n,size:r}),e.each(a,function(e){e===n?(t("#view-"+e).addClass("current"),o.addClass("view-"+e).show()):(t("#view-"+e).removeClass("current"),o.removeClass("view-"+e))}),e.each(s,function(e){e===r?o.addClass("size-"+e).show():o.removeClass("size-"+e)}),t("#view-size").val(e.indexOf(e.intersection(s,u.sizes),r)),p()},m=function(){var n,r=t("#sidebar"),i=t("#settings"),s=t('<div class="block"/>');t(f).on("click","a",function(e){l=!l,r.stop().animate({right:l?0:-r.outerWidth()-1}),e.preventDefault()}).appendTo("#navbar"),u.modes=e.intersection(u.modes,a),u.modes.length>1&&e.each(a,function(n){e.contains(u.modes,n)&&t(d.replace(/\[MODE\]/g,n)).appendTo(s).on("click","a",function(e){g(n),e.preventDefault()})}),u.sizes.length>1&&(n=u.sizes.length-1,t(h).prop("max",n).attr("max",n).on("input change",function(e){g(null,u.sizes[parseInt(e.target.value,10)])}).appendTo(s)),s.appendTo(i),g(),o.sub("location.changed",p),t(window).on("resize",p)};m()});var e,t=jQuery,n=t("script[data-module]").data("module");
8if(!t("html").hasClass("no-browser")){if("main"===n)e=".";else{if("info"!==n)return;e="server/php/index.php"}t.ajax({url:e,data:{action:"get",setup:!0,options:!0,types:!0,theme:!0,langs:!0},type:"POST",dataType:"json"}).done(function(e){modulejs.define("config",e),t(function(){modulejs.require(n)})})}}();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.