1(function(t){"use strict";function e(t){return null!==t&&t===t.window}function i(t){return e(t)?t:9===t.nodeType&&t.defaultView}function n(t){var e,n,r={top:0,left:0},o=t&&t.ownerDocument;return e=o.documentElement,void 0!==t.getBoundingClientRect&&(r=t.getBoundingClientRect()),n=i(o),{top:r.top+n.pageYOffset-e.clientTop,left:r.left+n.pageXOffset-e.clientLeft}}function r(t){var e="";for(var i in t)t.hasOwnProperty(i)&&(e+=i+":"+t[i]+";");return e}function o(t){if(!1===c.allowEvent(t))return null;for(var e=null,i=t.target||t.srcElement;null!==i.parentElement;){if(!(i instanceof SVGElement||-1===i.className.indexOf("waves-effect"))){e=i;break}if(i.classList.contains("waves-effect")){e=i;break}i=i.parentElement}return e}function a(e){var i=o(e);null!==i&&(u.show(e,i),"ontouchstart"in t&&(i.addEventListener("touchend",u.hide,!1),i.addEventListener("touchcancel",u.hide,!1)),i.addEventListener("mouseup",u.hide,!1),i.addEventListener("mouseleave",u.hide,!1))}var s=s||{},l=document.querySelectorAll.bind(document),u={duration:750,show:function(t,e){if(2===t.button)return!1;var i=e||this,o=document.createElement("div");o.className="waves-ripple",i.appendChild(o);var a=n(i),s=t.pageY-a.top,l=t.pageX-a.left,c="scale("+i.clientWidth/100*10+")";"touches"in t&&(s=t.touches[0].pageY-a.top,l=t.touches[0].pageX-a.left),o.setAttribute("data-hold",Date.now()),o.setAttribute("data-scale",c),o.setAttribute("data-x",l),o.setAttribute("data-y",s);var p={top:s+"px",left:l+"px"};o.className=o.className+" waves-notransition",o.setAttribute("style",r(p)),o.className=o.className.replace("waves-notransition",""),p["-webkit-transform"]=c,p["-moz-transform"]=c,p["-ms-transform"]=c,p["-o-transform"]=c,p.transform=c,p.opacity="1",p["-webkit-transition-duration"]=u.duration+"ms",p["-moz-transition-duration"]=u.duration+"ms",p["-o-transition-duration"]=u.duration+"ms",p["transition-duration"]=u.duration+"ms",p["-webkit-transition-timing-function"]="cubic-bezier(0.250, 0.460, 0.450, 0.940)",p["-moz-transition-timing-function"]="cubic-bezier(0.250, 0.460, 0.450, 0.940)",p["-o-transition-timing-function"]="cubic-bezier(0.250, 0.460, 0.450, 0.940)",p["transition-timing-function"]="cubic-bezier(0.250, 0.460, 0.450, 0.940)",o.setAttribute("style",r(p))},hide:function(t){c.touchup(t);var e=this,i=(e.clientWidth,null),n=e.getElementsByClassName("waves-ripple");if(!(n.length>0))return!1;i=n[n.length-1];var o=i.getAttribute("data-x"),a=i.getAttribute("data-y"),s=i.getAttribute("data-scale"),l=Date.now()-Number(i.getAttribute("data-hold")),p=350-l;p<0&&(p=0),setTimeout(function(){var t={top:a+"px",left:o+"px",opacity:"0","-webkit-transition-duration":u.duration+"ms","-moz-transition-duration":u.duration+"ms","-o-transition-duration":u.duration+"ms","transition-duration":u.duration+"ms","-webkit-transform":s,"-moz-transform":s,"-ms-transform":s,"-o-transform":s,transform:s};i.setAttribute("style",r(t)),setTimeout(function(){try{e.removeChild(i)}catch(t){return!1}},u.duration)},p)},wrapInput:function(t){for(var e=0;e<t.length;e++){var i=t[e];if("input"===i.tagName.toLowerCase()){var n=i.parentNode;if("i"===n.tagName.toLowerCase()&&-1!==n.className.indexOf("waves-effect"))continue;var r=document.createElement("i");r.className=i.className+" waves-input-wrapper";var o=i.getAttribute("style");o||(o=""),r.setAttribute("style",o),i.className="waves-button-input",i.removeAttribute("style"),n.replaceChild(r,i),r.appendChild(i)}}}},c={touches:0,allowEvent:function(t){var e=!0;return"touchstart"===t.type?c.touches+=1:"touchend"===t.type||"touchcancel"===t.type?setTimeout(function(){c.touches>0&&(c.touches-=1)},500):"mousedown"===t.type&&c.touches>0&&(e=!1),e},touchup:function(t){c.allowEvent(t)}};s.displayEffect=function(e){e=e||{},"duration"in e&&(u.duration=e.duration),u.wrapInput(l(".waves-effect")),"ontouchstart"in t&&document.body.addEventListener("touchstart",a,!1),document.body.addEventListener("mousedown",a,!1)}
1,s.attach=function(e){"input"===e.tagName.toLowerCase()&&(u.wrapInput([e]),e=e.parentElement),"ontouchstart"in t&&e.addEventListener("touchstart",a,!1),e.addEventListener("mousedown",a,!1)},t.Waves=s,document.addEventListener("DOMContentLoaded",function(){s.displayEffect()},!1)})(window),function(t){function e(t){var e=t.length,n=i.type(t);return"function"!==n&&!i.isWindow(t)&&(!(1!==t.nodeType||!e)||("array"===n||0===e||"number"==typeof e&&e>0&&e-1 in t))}if(!t.jQuery){var i=function(t,e){return new i.fn.init(t,e)};i.isWindow=function(t){return null!=t&&t==t.window},i.type=function(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?r[a.call(t)]||"object":typeof t},i.isArray=Array.isArray||function(t){return"array"===i.type(t)},i.isPlainObject=function(t){var e;if(!t||"object"!==i.type(t)||t.nodeType||i.isWindow(t))return!1;try{if(t.constructor&&!o.call(t,"constructor")&&!o.call(t.constructor.prototype,"isPrototypeOf"))return!1}catch(t){return!1}for(e in t);return void 0===e||o.call(t,e)},i.each=function(t,i,n){var r,o=0,a=t.length,s=e(t);if(n){if(s)for(;a>o&&(r=i.apply(t[o],n),!1!==r);o++);else for(o in t)if(r=i.apply(t[o],n),!1===r)break}else if(s)for(;a>o&&(r=i.call(t[o],o,t[o]),!1!==r);o++);else for(o in t)if(r=i.call(t[o],o,t[o]),!1===r)break;return t},i.data=function(t,e,r){if(void 0===r){var o=t[i.expando],a=o&&n[o];if(void 0===e)return a;
vendor: 4,928 bytes, line 1
1if(a&&e in a)return a[e]}else if(void 0!==e){o=t[i.expando]||(t[i.expando]=++i.uuid);return n[o]=n[o]||{},n[o][e]=r,r}},i.removeData=function(t,e){var r=t[i.expando],o=r&&n[r];o&&i.each(e,function(t,e){delete o[e]})},i.extend=function(){var t,e,n,r,o,a,s=arguments[0]||{},l=1,u=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[l]||{},l++),"object"!=typeof s&&"function"!==i.type(s)&&(s={}),l===u&&(s=this,l--);u>l;l++)if(null!=(o=arguments[l]))for(r in o)t=s[r],n=o[r],s!==n&&(c&&n&&(i.isPlainObject(n)||(e=i.isArray(n)))?(e?(e=!1,a=t&&i.isArray(t)?t:[]):a=t&&i.isPlainObject(t)?t:{},s[r]=i.extend(c,a,n)):void 0!==n&&(s[r]=n));return s},i.queue=function(t,n,r){function o(t,i){var n=i||[];return null!=t&&(e(Object(t))?function(t,e){for(var i=+e.length,n=0,r=t.length;i>n;)t[r++]=e[n++];if(i!=i)for(;void 0!==e[n];)t[r++]=e[n++];t.length=r}(n,"string"==typeof t?[t]:t):[].push.call(n,t)),n}if(t){n=(n||"fx")+"queue";var a=i.data(t,n);return r?(!a||i.isArray(r)?a=i.data(t,n,o(r)):a.push(r),a):a||[]}},i.dequeue=function(t,e){i.each(t.nodeType?[t]:t,function(t,n){e=e||"fx";var r=i.queue(n,e),o=r.shift();"inprogress"===o&&(o=r.shift()),o&&("fx"===e&&r.unshift("inprogress"),o.call(n,function(){i.dequeue(n,e)}))})},i.fn=i.prototype={init:function(t){if(t.nodeType)return this[0]=t,this;throw new Error("Not a DOM node.")},offset:function(){var e=this[0].getBoundingClientRect?this[0].getBoundingClientRect():{top:0,left:0};return{top:e.top+(t.pageYOffset||document.scrollTop||0)-(document.clientTop||0),left:e.left+(t.pageXOffset||document.scrollLeft||0)-(document.clientLeft||0)}},position:function(){function t(){for(var t=this.offsetParent||document;t&&"html"===!t.nodeType.toLowerCase&&"static"===t.style.position;)t=t.offsetParent;return t||document}var e=this[0],t=t.apply(e),n=this.offset(),r=/^(?:body|html)$/i.test(t.nodeName)?{top:0,left:0}:i(t).offset();return n.top-=parseFloat(e.style.marginTop)||0,n.left-=parseFloat(e.style.marginLeft)||0,t.style&&(r.top+=parseFloat(t.style.borderTopWidth)||0,r.left+=parseFloat(t.style.borderLeftWidth)||0),{top:n.top-r.top,left:n.left-r.left}}};var n={};i.expando="velocity"+(new Date).getTime(),i.uuid=0;for(var r={},o=r.hasOwnProperty,a=r.toString,s="Boolean Number String Function Array Date RegExp Object Error".split(" "),l=0;l<s.length;l++)r["[object "+s[l]+"]"]=s[l].toLowerCase();i.fn.init.prototype=i.fn,t.Velocity={Utilities:i}}}(window),function(t){"object"==typeof module&&"object"==typeof module.exports?module.exports=t():"function"==typeof define&&define.amd?define(t):t()}(function(){return function(t,e,i,n){function r(t){for(var e=-1,i=t?t.length:0,n=[];++e<i;){var r=t[e];r&&n.push(r)}return n}function o(t){return m.isWrapped(t)?t=[].slice.call(t):m.isNode(t)&&(t=[t]),t}function a(t){var e=h.data(t,"velocity");return null===e?n:e}function s(t){return function(e){return Math.round(e*t)*(1/t)}}function l(t,i,n,r){function o(t,e){return 1-3*e+3*t}function a(t,e){return 3*e-6*t}function s(t){return 3*t}function l(t,e,i){return((o(e,i)*t+a(e,i))*t+s(e))*t}function u(t,e,i){return 3*o(e,i)*t*t+2*a(e,i)*t+s(e)}function c(e,i){for(var r=0;m>r;++r){var o=u(i,t,n);if(0===o)return i;var a=l(i,t,n)-e;i-=a/o}return i}function p(){for(var e=0;b>e;++e)S[e]=l(e*x,t,n)}function h(e,i,r){var o,a,s=0;do{a=i+(r-i)/2,o=l(a,t,n)-e,o>0?r=a:i=a}while(Math.abs(o)>v&&++s<y);return a}function f(e){for(var i=0,r=1,o=b-1;r!=o&&S[r]<=e;++r)i+=x;--r;var a=(e-S[r])/(S[r+1]-S[r]),s=i+a*x,l=u(s,t,n);return l>=g?c(e,s):0==l?s:h(e,i,i+x)}function d(){P=!0,(t!=i||n!=r)&&p()}var m=4,g=.001,v=1e-7,y=10,b=11,x=1/(b-1),w="Float32Array"in e;if(4!==arguments.length)return!1;for(var T=0;4>T;++T)if("number"!=typeof arguments[T]||isNaN(arguments[T])||!isFinite(arguments[T]))return!1;t=Math.min(t,1),n=Math.min(n,1),t=Math.max(t,0),n=Math.max(n,0);var S=w?new Float32Array(b):new Array(b),P=!1,C=function(e){return P||d(),t===i&&n===r?e:0===e?0:1===e?1:l(f(e),i,r)};C.getControlPoints=function(){return[{x:t,y:i},{x:n,y:r}]};var E="generateBezier("+[t,i,n,r]+")";return C.toString=function(){return E},C}function u(t,e){var i=t;return m.isString(t)?b.Easings[t]||(i=!1):i=m.isArray(t)&&1===t.length?s.apply(null,t):m.isArray(t)&&2===t.length?x.apply(null,t.concat([e])):!(!m.isArray(t)||4!==t.length)&&l.apply(null,t),!1===i&&(i=b.Easings[b.defaults.easing]?b.defaults.easing:y),i}function c(t){if(t){var e=(new Date).getTime(),i=b.State.calls.length;i>1e4&&(b.State.calls=r(b.State.calls));for(var o=0;i>o;o++)if(b.State.calls[o]){var s=b.State.calls[o],l=s[0],u=s[2],f=s[3],d=!!f,g=null;f||(f=b.State.calls[o][3]=e-16);for(var v=Math.min((e-f)/u.duration,1),y=0,x=l.length;x>y;y++){var T=l[y],P=T.element;if(a(P)){var C=!1;if(u.display!==n&&null!==u.display&&"none"!==u.display){if("flex"===u.display){var E=["-webkit-box","-moz-box","-ms-flexbox","-webkit-flex"];h.each(E,function(t,e){w.setPropertyValue(P,"display",e)})}w.setPropertyValue(P,"display",u.display)}
vendor: 4,308 bytes, line 1
1for(var V in u.visibility!==n&&"hidden"!==u.visibility&&w.setPropertyValue(P,"visibility",u.visibility),T)if("element"!==V){var A,k=T[V],N=m.isString(k.easing)?b.Easings[k.easing]:k.easing;if(1===v)A=k.endValue;else{var F=k.endValue-k.startValue;if(A=k.startValue+F*N(v,u,F),!d&&A===k.currentValue)continue}if(k.currentValue=A,"tween"===V)g=A;else{if(w.Hooks.registered[V]){var z=w.Hooks.getRoot(V),L=a(P).rootPropertyValueCache[z];L&&(k.rootPropertyValue=L)}var O=w.setPropertyValue(P,V,k.currentValue+(0===parseFloat(A)?"":k.unitType),k.rootPropertyValue,k.scrollData);w.Hooks.registered[V]&&(a(P).rootPropertyValueCache[z]=w.Normalizations.registered[z]?w.Normalizations.registered[z]("extract",null,O[1]):O[1]),"transform"===O[0]&&(C=!0)}}u.mobileHA&&a(P).transformCache.translate3d===n&&(a(P).transformCache.translate3d="(0px, 0px, 0px)",C=!0),C&&w.flushTransformCache(P)}}u.display!==n&&"none"!==u.display&&(b.State.calls[o][2].display=!1),u.visibility!==n&&"hidden"!==u.visibility&&(b.State.calls[o][2].visibility=!1),u.progress&&u.progress.call(s[1],s[1],v,Math.max(0,f+u.duration-e),f,g),1===v&&p(o)}}b.State.isTicking&&S(c)}function p(t,e){if(!b.State.calls[t])return!1;for(var i=b.State.calls[t][0],r=b.State.calls[t][1],o=b.State.calls[t][2],s=b.State.calls[t][4],l=!1,u=0,c=i.length;c>u;u++){var p=i[u].element;if(e||o.loop||("none"===o.display&&w.setPropertyValue(p,"display",o.display),"hidden"===o.visibility&&w.setPropertyValue(p,"visibility",o.visibility)),!0!==o.loop&&(h.queue(p)[1]===n||!/\.velocityQueueEntryFlag/i.test(h.queue(p)[1]))&&a(p)){a(p).isAnimating=!1,a(p).rootPropertyValueCache={};var f=!1;h.each(w.Lists.transforms3D,function(t,e){var i=/^scale/.test(e)?1:0,r=a(p).transformCache[e];a(p).transformCache[e]!==n&&new RegExp("^\\("+i+"[^.]").test(r)&&(f=!0,delete a(p).transformCache[e])}),o.mobileHA&&(f=!0,delete a(p).transformCache.translate3d),f&&w.flushTransformCache(p),w.Values.removeClass(p,"velocity-animating")}if(!e&&o.complete&&!o.loop&&u===c-1)try{o.complete.call(r,r)}catch(t){setTimeout(function(){throw t},1)}s&&!0!==o.loop&&s(r),a(p)&&!0===o.loop&&!e&&(h.each(a(p).tweensContainer,function(t,e){/^rotate/.test(t)&&360===parseFloat(e.endValue)&&(e.endValue=0,e.startValue=360),/^backgroundPosition/.test(t)&&100===parseFloat(e.endValue)&&"%"===e.unitType&&(e.endValue=0,e.startValue=100)}),b(p,"reverse",{loop:!0,delay:o.delay})),!1!==o.queue&&h.dequeue(p,o.queue)}b.State.calls[t]=!1;for(var d=0,m=b.State.calls.length;m>d;d++)if(!1!==b.State.calls[d]){l=!0;break}!1===l&&(b.State.isTicking=!1,delete b.State.calls,b.State.calls=[])}var h,f=function(){if(i.documentMode)return i.documentMode;for(var t=7;t>4;t--){var e=i.createElement("div");if(e.innerHTML="<!--[if IE "+t+"]><span></span><![endif]-->",e.getElementsByTagName("span").length)return e=null,t}return n}(),d=function(){var t=0;return e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame||function(e){var i,n=(new Date).getTime();return i=Math.max(0,16-(n-t)),t=n+i,setTimeout(function(){e(n+i)},i)}}(),m={isString:function(t){return"string"==typeof t},isArray:Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)},isFunction:function(t){return"[object Function]"===Object.prototype.toString.call(t)},isNode:function(t){return t&&t.nodeType},isNodeList:function(t){return"object"==typeof t&&/^\[object (HTMLCollection|NodeList|Object)\]$/.test(Object.prototype.toString.call(t))&&t.length!==n&&(0===t.length||"object"==typeof t[0]&&t[0].nodeType>0)},isWrapped:function(t){return t&&(t.jquery||e.Zepto&&e.Zepto.zepto.isZ(t))},isSVG:function(t){return e.SVGElement&&t instanceof e.SVGElement},isEmptyObject:function(t){for(var e in t)return!1;return!0}},g=!1;if(t.fn&&t.fn.jquery?(h=t,g=!0):h=e.Velocity.Utilities,8>=f&&!g)throw new Error("Velocity: IE8 and below require jQuery to be loaded before Velocity.");if(!(7>=f)){var v=400,y="swing",b={State:{isMobile:/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),isAndroid:/Android/i.test(navigator.userAgent),isGingerbread:/Android 2\.3\.[3-7]/i.test(navigator.userAgent),isChrome:e.chrome,isFirefox:/Firefox/i.test(navigator.userAgent),prefixElement:i.createElement("div"),prefixMatches:{},scrollAnchor:null,scrollPropertyLeft:null,scrollPropertyTop:null,isTicking:!1,
vendor: 14,966 bytes, line 1
1calls:[]},CSS:{},Utilities:h,Redirects:{},Easings:{},Promise:e.Promise,defaults:{queue:"",duration:v,easing:y,begin:n,complete:n,progress:n,display:n,visibility:n,loop:!1,delay:!1,mobileHA:!0,_cacheValues:!0},init:function(t){h.data(t,"velocity",{isSVG:m.isSVG(t),isAnimating:!1,computedStyle:null,tweensContainer:null,rootPropertyValueCache:{},transformCache:{}})},hook:null,mock:!1,version:{major:1,minor:2,patch:2},debug:!1};e.pageYOffset!==n?(b.State.scrollAnchor=e,b.State.scrollPropertyLeft="pageXOffset",b.State.scrollPropertyTop="pageYOffset"):(b.State.scrollAnchor=i.documentElement||i.body.parentNode||i.body,b.State.scrollPropertyLeft="scrollLeft",b.State.scrollPropertyTop="scrollTop");var x=function(){function t(t){return-t.tension*t.x-t.friction*t.v}function e(e,i,n){var r={x:e.x+n.dx*i,v:e.v+n.dv*i,tension:e.tension,friction:e.friction};return{dx:r.v,dv:t(r)}}function i(i,n){var r={dx:i.v,dv:t(i)},o=e(i,.5*n,r),a=e(i,.5*n,o),s=e(i,n,a),l=1/6*(r.dx+2*(o.dx+a.dx)+s.dx),u=1/6*(r.dv+2*(o.dv+a.dv)+s.dv);return i.x=i.x+l*n,i.v=i.v+u*n,i}return function t(e,n,r){var o,a,s,l={x:-1,v:0,tension:null,friction:null},u=[0],c=0,p=1e-4,h=.016;for(e=parseFloat(e)||500,n=parseFloat(n)||20,r=r||null,l.tension=e,l.friction=n,o=null!==r,o?(c=t(e,n),a=c/r*h):a=h;s=i(s||l,a),u.push(1+s.x),c+=16,Math.abs(s.x)>p&&Math.abs(s.v)>p;);return o?function(t){return u[t*(u.length-1)|0]}:c}}();b.Easings={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},spring:function(t){return 1-Math.cos(4.5*t*Math.PI)*Math.exp(6*-t)}},h.each([["ease",[.25,.1,.25,1]],["ease-in",[.42,0,1,1]],["ease-out",[0,0,.58,1]],["ease-in-out",[.42,0,.58,1]],["easeInSine",[.47,0,.745,.715]],["easeOutSine",[.39,.575,.565,1]],["easeInOutSine",[.445,.05,.55,.95]],["easeInQuad",[.55,.085,.68,.53]],["easeOutQuad",[.25,.46,.45,.94]],["easeInOutQuad",[.455,.03,.515,.955]],["easeInCubic",[.55,.055,.675,.19]],["easeOutCubic",[.215,.61,.355,1]],["easeInOutCubic",[.645,.045,.355,1]],["easeInQuart",[.895,.03,.685,.22]],["easeOutQuart",[.165,.84,.44,1]],["easeInOutQuart",[.77,0,.175,1]],["easeInQuint",[.755,.05,.855,.06]],["easeOutQuint",[.23,1,.32,1]],["easeInOutQuint",[.86,0,.07,1]],["easeInExpo",[.95,.05,.795,.035]],["easeOutExpo",[.19,1,.22,1]],["easeInOutExpo",[1,0,0,1]],["easeInCirc",[.6,.04,.98,.335]],["easeOutCirc",[.075,.82,.165,1]],["easeInOutCirc",[.785,.135,.15,.86]]],function(t,e){b.Easings[e[0]]=l.apply(null,e[1])});var w=b.CSS={RegEx:{isHex:/^#([A-f\d]{3}){1,2}$/i,valueUnwrap:/^[A-z]+\((.*)\)$/i,wrappedValueAlreadyExtracted:/[0-9.]+ [0-9.]+ [0-9.]+( [0-9.]+)?/,valueSplit:/([A-z]+\(.+\))|(([A-z0-9#-.]+?)(?=\s|$))/gi},Lists:{colors:["fill","stroke","stopColor","color","backgroundColor","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor","outlineColor"],transformsBase:["translateX","translateY","scale","scaleX","scaleY","skewX","skewY","rotateZ"],transforms3D:["transformPerspective","translateZ","scaleZ","rotateX","rotateY"]},Hooks:{templates:{textShadow:["Color X Y Blur","black 0px 0px 0px"],boxShadow:["Color X Y Blur Spread","black 0px 0px 0px 0px"],clip:["Top Right Bottom Left","0px 0px 0px 0px"],backgroundPosition:["X Y","0% 0%"],transformOrigin:["X Y Z","50% 50% 0px"],perspectiveOrigin:["X Y","50% 50%"]},registered:{},register:function(){for(var t=0;t<w.Lists.colors.length;t++){var e="color"===w.Lists.colors[t]?"0 0 0 1":"255 255 255 1";w.Hooks.templates[w.Lists.colors[t]]=["Red Green Blue Alpha",e]}var i,n,r;if(f)for(i in w.Hooks.templates){n=w.Hooks.templates[i],r=n[0].split(" ");var o=n[1].match(w.RegEx.valueSplit);"Color"===r[0]&&(r.push(r.shift()),o.push(o.shift()),w.Hooks.templates[i]=[r.join(" "),o.join(" ")])}for(i in w.Hooks.templates)for(var t in n=w.Hooks.templates[i],r=n[0].split(" "),r){var a=i+r[t],s=t;w.Hooks.registered[a]=[i,s]}},getRoot:function(t){var e=w.Hooks.registered[t];return e?e[0]:t},cleanRootPropertyValue:function(t,e){return w.RegEx.valueUnwrap.test(e)&&(e=e.match(w.RegEx.valueUnwrap)[1]),w.Values.isCSSNullValue(e)&&(e=w.Hooks.templates[t][1]),e},extractValue:function(t,e){var i=w.Hooks.registered[t];if(i){var n=i[0],r=i[1];return e=w.Hooks.cleanRootPropertyValue(n,e),e.toString().match(w.RegEx.valueSplit)[r]}return e},injectValue:function(t,e,i){var n=w.Hooks.registered[t];if(n){var r,o=n[0],a=n[1];return i=w.Hooks.cleanRootPropertyValue(o,i),r=i.toString().match(w.RegEx.valueSplit),r[a]=e,r.join(" ")}return i}},Normalizations:{registered:{clip:function(t,e,i){switch(t){case"name":return"clip";case"extract":var n;return w.RegEx.wrappedValueAlreadyExtracted.test(i)?n=i:(n=i.toString().match(w.RegEx.valueUnwrap),n=n?n[1].replace(/,(\s+)?/g," "):i),n;case"inject":return"rect("+i+")"}},blur:function(t,e,i){switch(t){case"name":return b.State.isFirefox?"filter":"-webkit-filter";case"extract":var n=parseFloat(i);if(!n&&0!==n){var r=i.toString().match(/blur\(([0-9]+[A-z]+)\)/i);n=r?r[1]:0}return n;case"inject":return parseFloat(i)?"blur("+i+")":"none"}},opacity:function(t,e,i){if(8>=f)switch(t){case"name":return"filter";case"extract":var n=i.toString().match(/alpha\(opacity=(.*)\)/i);return n?n[1]/100:1;case"inject":return e.style.zoom=1,parseFloat(i)>=1?"":"alpha(opacity="+parseInt(100*parseFloat(i),10)+")"}else switch(t){case"name":return"opacity";case"extract":case"inject":return i}}},register:function(){9>=f||b.State.isGingerbread||(w.Lists.transformsBase=w.Lists.transformsBase.concat(w.Lists.transforms3D));for(var t=0;t<w.Lists.transformsBase.length;t++)!function(){var e=w.Lists.transformsBase[t];w.Normalizations.registered[e]=function(t,i,r){switch(t){case"name":return"transform";case"extract":return a(i)===n||a(i).transformCache[e]===n?/^scale/i.test(e)?1:0:a(i).transformCache[e].replace(/[()]/g,"");case"inject":var o=!1;switch(e.substr(0,e.length-1)){case"translate":o=!/(%|px|em|rem|vw|vh|\d)$/i.test(r);break;case"scal":case"scale":b.State.isAndroid&&a(i).transformCache[e]===n&&1>r&&(r=1),o=!/(\d)$/i.test(r);break;case"skew":o=!/(deg|\d)$/i.test(r);break;case"rotate":o=!/(deg|\d)$/i.test(r)}return o||(a(i).transformCache[e]="("+r+")"),a(i).transformCache[e]}}}();for(t=0;t<w.Lists.colors.length;t++)!function(){var e=w.Lists.colors[t];w.Normalizations.registered[e]=function(t,i,r){switch(t){case"name":return e;case"extract":var o;if(w.RegEx.wrappedValueAlreadyExtracted.test(r))o=r;else{var a,s={black:"rgb(0, 0, 0)",blue:"rgb(0, 0, 255)",gray:"rgb(128, 128, 128)",green:"rgb(0, 128, 0)",red:"rgb(255, 0, 0)",white:"rgb(255, 255, 255)"};/^[A-z]+$/i.test(r)?a=s[r]!==n?s[r]:s.black:w.RegEx.isHex.test(r)?a="rgb("+w.Values.hexToRgb(r).join(" ")+")":/^rgba?\(/i.test(r)||(a=s.black),o=(a||r).toString().match(w.RegEx.valueUnwrap)[1].replace(/,(\s+)?/g," ")}return 8>=f||3!==o.split(" ").length||(o+=" 1"),o;case"inject":return 8>=f?4===r.split(" ").length&&(r=r.split(/\s+/).slice(0,3).join(" ")):3===r.split(" ").length&&(r+=" 1"),(8>=f?"rgb":"rgba")+"("+r.replace(/\s+/g,",").replace(/\.(\d)+(?=,)/g,"")+")"}}}()}},Names:{camelCase:function(t){return t.replace(/-(\w)/g,function(t,e){return e.toUpperCase()})},SVGAttribute:function(t){var e="width|height|x|y|cx|cy|r|rx|ry|x1|x2|y1|y2";return(f||b.State.isAndroid&&!b.State.isChrome)&&(e+="|transform"),new RegExp("^("+e+")$","i").test(t)},prefixCheck:function(t){if(b.State.prefixMatches[t])return[b.State.prefixMatches[t],!0];for(var e=["","Webkit","Moz","ms","O"],i=0,n=e.length;n>i;i++){var r;if(r=0===i?t:e[i]+t.replace(/^\w/,function(t){return t.toUpperCase()}),m.isString(b.State.prefixElement.style[r]))return b.State.prefixMatches[t]=r,[r,!0]}return[t,!1]}},Values:{hexToRgb:function(t){var e,i=/^#?([a-f\d])([a-f\d])([a-f\d])$/i,n=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i;return t=t.replace(i,function(t,e,i,n){return e+e+i+i+n+n}),e=n.exec(t),e?[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]:[0,0,0]},isCSSNullValue:function(t){return 0==t||/^(none|auto|transparent|(rgba\(0, ?0, ?0, ?0\)))$/i.test(t)},getUnitType:function(t){return/^(rotate|skew)/i.test(t)?"deg":/(^(scale|scaleX|scaleY|scaleZ|alpha|flexGrow|flexHeight|zIndex|fontWeight)$)|((opacity|red|green|blue|alpha)$)/i.test(t)?"":"px"},getDisplayType:function(t){var e=t&&t.tagName.toString().toLowerCase();return/^(b|big|i|small|tt|abbr|acronym|cite|code|dfn|em|kbd|strong|samp|var|a|bdo|br|img|map|object|q|script|span|sub|sup|button|input|label|select|textarea)$/i.test(e)?"inline":/^(li)$/i.test(e)?"list-item":/^(tr)$/i.test(e)?"table-row":/^(table)$/i.test(e)?"table":/^(tbody)$/i.test(e)?"table-row-group":"block"},addClass:function(t,e){t.classList?t.classList.add(e):t.className+=(t.className.length?" ":"")+e},removeClass:function(t,e){t.classList?t.classList.remove(e):t.className=t.className.toString().replace(new RegExp("(^|\\s)"+e.split(" ").join("|")+"(\\s|$)","gi")," ")}},getPropertyValue:function(t,i,r,o){function s(t,i){function r(){c&&w.setPropertyValue(t,"display","none")}var l=0;if(8>=f)l=h.css(t,i);else{var u,c=!1;if(/^(width|height)$/.test(i)&&0===w.getPropertyValue(t,"display")&&(c=!0,w.setPropertyValue(t,"display",w.Values.getDisplayType(t))),!o){if("height"===i&&"border-box"!==w.getPropertyValue(t,"boxSizing").toString().toLowerCase()){var p=t.offsetHeight-(parseFloat(w.getPropertyValue(t,"borderTopWidth"))||0)-(parseFloat(w.getPropertyValue(t,"borderBottomWidth"))||0)-(parseFloat(w.getPropertyValue(t,"paddingTop"))||0)-(parseFloat(w.getPropertyValue(t,"paddingBottom"))||0);return r(),p}if("width"===i&&"border-box"!==w.getPropertyValue(t,"boxSizing").toString().toLowerCase()){var d=t.offsetWidth-(parseFloat(w.getPropertyValue(t,"borderLeftWidth"))||0)-(parseFloat(w.getPropertyValue(t,"borderRightWidth"))||0)-(parseFloat(w.getPropertyValue(t,"paddingLeft"))||0)-(parseFloat(w.getPropertyValue(t,"paddingRight"))||0);return r(),d}}u=a(t)===n?e.getComputedStyle(t,null):a(t).computedStyle?a(t).computedStyle:a(t).computedStyle=e.getComputedStyle(t,null),"borderColor"===i&&(i="borderTopColor"),l=9===f&&"filter"===i?u.getPropertyValue(i):u[i],(""===l||null===l)&&(l=t.style[i]),r()}if("auto"===l&&/^(top|right|bottom|left)$/i.test(i)){var m=s(t,"position");("fixed"===m||"absolute"===m&&/top|left/i.test(i))&&(l=h(t).position()[i]+"px")}return l}var l;if(w.Hooks.registered[i]){var u=i,c=w.Hooks.getRoot(u);r===n&&(r=w.getPropertyValue(t,w.Names.prefixCheck(c)[0])),w.Normalizations.registered[c]&&(r=w.Normalizations.registered[c]("extract",t,r)),l=w.Hooks.extractValue(u,r)}else if(w.Normalizations.registered[i]){var p,d;p=w.Normalizations.registered[i]("name",t),"transform"!==p&&(d=s(t,w.Names.prefixCheck(p)[0]),w.Values.isCSSNullValue(d)&&w.Hooks.templates[i]&&(d=w.Hooks.templates[i][1])),l=w.Normalizations.registered[i]("extract",t,d)}if(!/^[\d-]/.test(l))if(a(t)&&a(t).isSVG&&w.Names.SVGAttribute(i))if(/^(height|width)$/i.test(i))try{l=t.getBBox()[i]}catch(t){l=0}else l=t.getAttribute(i);else l=s(t,w.Names.prefixCheck(i)[0]);return w.Values.isCSSNullValue(l)&&(l=0),b.debug>=2&&console.log("Get "+i+": "+l),l},setPropertyValue:function(t,i,n,r,o){var s=i;if("scroll"===i)o.container?o.container["scroll"+o.direction]=n:"Left"===o.direction?e.scrollTo(n,o.alternateValue):e.scrollTo(o.alternateValue,n);else if(w.Normalizations.registered[i]&&"transform"===w.Normalizations.registered[i]("name",t))w.Normalizations.registered[i]("inject",t,n),s="transform",n=a(t).transformCache[i];else{if(w.Hooks.registered[i]){var l=i,u=w.Hooks.getRoot(i);r=r||w.getPropertyValue(t,u),n=w.Hooks.injectValue(l,n,r),i=u}if(w.Normalizations.registered[i]&&(n=w.Normalizations.registered[i]("inject",t,n),i=w.Normalizations.registered[i]("name",t)),s=w.Names.prefixCheck(i)[0],8>=f)try{t.style[s]=n}catch(t){b.debug&&console.log("Browser does not support ["+n+"] for ["+s+"]")}else a(t)&&a(t).isSVG&&w.Names.SVGAttribute(i)?t.setAttribute(i,n):t.style[s]=n;b.debug>=2&&console.log("Set "+i+" ("+s+"): "+n)}return[s,n]},flushTransformCache:function(t){function e(e){return parseFloat(w.getPropertyValue(t,e))}var i="";if((f||b.State.isAndroid&&!b.State.isChrome)&&a(t).isSVG){var n={translate:[e("translateX"),e("translateY")],skewX:[e("skewX")],skewY:[e("skewY")],scale:1!==e("scale")?[e("scale"),e("scale")]:[e("scaleX"),e("scaleY")],rotate:[e("rotateZ"),0,0]};h.each(a(t).transformCache,function(t){/^translate/i.test(t)?t="translate":/^scale/i.test(t)?t="scale":/^rotate/i.test(t)&&(t="rotate"),n[t]&&(i+=t+"("+n[t].join(" ")+") ",delete n[t])})}else{var r,o;h.each(a(t).transformCache,function(e){return r=a(t).transformCache[e],"transformPerspective"===e?(o=r,!0):(9===f&&"rotateZ"===e&&(e="rotate"),void(i+=e+r+" "))}),o&&(i="perspective"+o+" "+i)}w.setPropertyValue(t,"transform",i)}};w.Hooks.register(),w.Normalizations.register(),b.hook=function(t,e,i){var r=n;return t=o(t),h.each(t,function(t,o){if(a(o)===n&&b.init(o),i===n)r===n&&(r=b.CSS.getPropertyValue(o,e));else{var s=b.CSS.setPropertyValue(o,e,i);"transform"===s[0]&&b.CSS.flushTransformCache(o),r=s}}),r};var T=function(){function t(){return s?A.promise||null:l}function r(){function t(t){function p(t,e){var i=n,r=n,a=n;return m.isArray(t)?(i=t[0],!m.isArray(t[1])&&/^[\d-]/.test(t[1])||m.isFunction(t[1])||w.RegEx.isHex.test(t[1])?a=t[1]:(m.isString(t[1])&&!w.RegEx.isHex.test(t[1])||m.isArray(t[1]))&&(r=e?t[1]:u(t[1],s.duration),t[2]!==n&&(a=t[2]))):i=t,e||(r=r||s.easing),m.isFunction(i)&&(i=i.call(o,P,S)),m.isFunction(a)&&(a=a.call(o,P,S)),[i||0,r,a]}function f(t,e){var i,n;return n=(e||"0").toString().toLowerCase().replace(/[%A-z]+$/,function(t){return i=t,""}),i||(i=w.Values.getUnitType(t)),[n,i]}function v(){var t={myParent:o.parentNode||i.body,position:w.getPropertyValue(o,"position"),fontSize:w.getPropertyValue(o,"fontSize")},n=t.position===O.lastPosition&&t.myParent===O.lastParent,r=t.fontSize===O.lastFontSize;O.lastParent=t.myParent,O.lastPosition=t.position,O.lastFontSize=t.fontSize;var s=100,l={};if(r&&n)l.emToPx=O.lastEmToPx,l.percentToPxWidth=O.lastPercentToPxWidth,l.percentToPxHeight=O.lastPercentToPxHeight;else{var u=a(o).isSVG?i.createElementNS("http://www.w3.org/2000/svg","rect"):i.createElement("div");b.init(u),t.myParent.appendChild(u),h.each(["overflow","overflowX","overflowY"],function(t,e){b.CSS.setPropertyValue(u,e,"hidden")}),b.CSS.setPropertyValue(u,"position",t.position),b.CSS.setPropertyValue(u,"fontSize",t.fontSize),b.CSS.setPropertyValue(u,"boxSizing","content-box"),h.each(["minWidth","maxWidth","width","minHeight","maxHeight","height"],function(t,e){b.CSS.setPropertyValue(u,e,s+"%")}),b.CSS.setPropertyValue(u,"paddingLeft",s+"em"),l.percentToPxWidth=O.lastPercentToPxWidth=(parseFloat(w.getPropertyValue(u,"width",null,!0))||1)/s,l.percentToPxHeight=O.lastPercentToPxHeight=(parseFloat(w.getPropertyValue(u,"height",null,!0))||1)/s,l.emToPx=O.lastEmToPx=(parseFloat(w.getPropertyValue(u,"paddingLeft"))||1)/s,t.myParent.removeChild(u)}return null===O.remToPx&&(O.remToPx=parseFloat(w.getPropertyValue(i.body,"fontSize"))||16),null===O.vwToPx&&(O.vwToPx=parseFloat(e.innerWidth)/100,O.vhToPx=parseFloat(e.innerHe
vendor: 4,458 bytes, lines 1-2
1ight)/100),l.remToPx=O.remToPx,l.vwToPx=O.vwToPx,l.vhToPx=O.vhToPx,b.debug>=1&&console.log("Unit ratios: "+JSON.stringify(l),o),l}if(s.begin&&0===P)try{s.begin.call(d,d)}catch(t){setTimeout(function(){throw t},1)}if("scroll"===V){var x,T,C,E=/^x$/i.test(s.axis)?"Left":"Top",k=parseFloat(s.offset)||0;s.container?m.isWrapped(s.container)||m.isNode(s.container)?(s.container=s.container[0]||s.container,x=s.container["scroll"+E],C=x+h(o).position()[E.toLowerCase()]+k):s.container=null:(x=b.State.scrollAnchor[b.State["scrollProperty"+E]],T=b.State.scrollAnchor[b.State["scrollProperty"+("Left"===E?"Top":"Left")]],C=h(o).offset()[E.toLowerCase()]+k),l={scroll:{rootPropertyValue:!1,startValue:x,currentValue:x,endValue:C,unitType:"",easing:s.easing,scrollData:{container:s.container,direction:E,alternateValue:T}},element:o},b.debug&&console.log("tweensContainer (scroll): ",l.scroll,o)}else if("reverse"===V){if(!a(o).tweensContainer)return void h.dequeue(o,s.queue);"none"===a(o).opts.display&&(a(o).opts.display="auto"),"hidden"===a(o).opts.visibility&&(a(o).opts.visibility="visible"),a(o).opts.loop=!1,a(o).opts.begin=null,a(o).opts.complete=null,y.easing||delete s.easing,y.duration||delete s.duration,s=h.extend({},a(o).opts,s);var N=h.extend(!0,{},a(o).tweensContainer);for(var F in N)if("element"!==F){var z=N[F].startValue;N[F].startValue=N[F].currentValue=N[F].endValue,N[F].endValue=z,m.isEmptyObject(y)||(N[F].easing=s.easing),b.debug&&console.log("reverse tweensContainer ("+F+"): "+JSON.stringify(N[F]),o)}l=N}else if("start"===V){for(var L in a(o).tweensContainer&&!0===a(o).isAnimating&&(N=a(o).tweensContainer),h.each(g,function(t,e){if(RegExp("^"+w.Lists.colors.join("$|^")+"$").test(t)){var i=p(e,!0),r=i[0],o=i[1],a=i[2];if(w.RegEx.isHex.test(r)){for(var s=["Red","Green","Blue"],l=w.Values.hexToRgb(r),u=a?w.Values.hexToRgb(a):n,c=0;c<s.length;c++){var h=[l[c]];o&&h.push(o),u!==n&&h.push(u[c]),g[t+s[c]]=h}delete g[t]}}}),g){var I=p(g[L]),j=I[0],H=I[1],q=I[2];L=w.Names.camelCase(L);var M=w.Hooks.getRoot(L),D=!1;if(a(o).isSVG||"tween"===M||!1!==w.Names.prefixCheck(M)[1]||w.Normalizations.registered[M]!==n){(s.display!==n&&null!==s.display&&"none"!==s.display||s.visibility!==n&&"hidden"!==s.visibility)&&/opacity|filter/.test(L)&&!q&&0!==j&&(q=0),s._cacheValues&&N&&N[L]?(q===n&&(q=N[L].endValue+N[L].unitType),D=a(o).rootPropertyValueCache[M]):w.Hooks.registered[L]?q===n?(D=w.getPropertyValue(o,M), 2q=w.getPropertyValue(o,L,D)):D=w.Hooks.templates[M][1]:q===n&&(q=w.getPropertyValue(o,L));var $,W,_,X=!1;if($=f(L,q),q=$[0],_=$[1],$=f(L,j),j=$[0].replace(/^([+-\/*])=/,function(t,e){return X=e,""}),W=$[1],q=parseFloat(q)||0,j=parseFloat(j)||0,"%"===W&&(/^(fontSize|lineHeight)$/.test(L)?(j/=100,W="em"):/^scale/.test(L)?(j/=100,W=""):/(Red|Green|Blue)$/i.test(L)&&(j=j/100*255,W="")),/[\/*]/.test(X))W=_;else if(_!==W&&0!==q)if(0===j)W=_;else{r=r||v();var Y=/margin|padding|left|right|width|text|word|letter/i.test(L)||/X$/.test(L)||"x"===L?"x":"y";switch(_){case"%":q*="x"===Y?r.percentToPxWidth:r.percentToPxHeight;break;case"px":break;default:q*=r[_+"ToPx"]}switch(W){case"%":q*=1/("x"===Y?r.percentToPxWidth:r.percentToPxHeight);break;case"px":break;default:q*=1/r[W+"ToPx"]}}switch(X){case"+":j=q+j;break;case"-":j=q-j;break;case"*":j*=q;break;case"/":j=q/j}l[L]={rootPropertyValue:D,startValue:q,currentValue:q,endValue:j,unitType:W,easing:H},b.debug&&console.log("tweensContainer ("+L+"): "+JSON.stringify(l[L]),o)}else b.debug&&console.log("Skipping ["+M+"] due to a lack of browser support.")}l.element=o}l.element&&(w.Values.addClass(o,"velocity-animating"),R.push(l),""===s.queue&&(a(o).tweensContainer=l,a(o).opts=s),a(o).isAnimating=!0,P===S-1?(b.State.calls.push([R,d,s,null,A.resolver]),!1===b.State.isTicking&&(b.State.isTicking=!0,c())):P++)}var r,o=this,s=h.extend({},b.defaults,y),l={};switch(a(o)===n&&b.init(o),parseFloat(s.delay)&&!1!==s.queue&&h.queue(o,s.queue,function(t){b.velocityQueueEntryFlag=!0,a(o).delayTimer={setTimeout:setTimeout(t,parseFloat(s.delay)),next:t}}),s.duration.toString().toLowerCase()){case"fast":s.duration=200;break;case"normal":s.duration=v;break;case"slow":s.duration=600;break;default:s.duration=parseFloat(s.duration)||1}!1!==b.mock&&(!0===b.mock?s.duration=s.delay=1:(s.duration*=parseFloat(b.mock)||1,s.delay*=parseFloat(b.mock)||1)),s.easing=u(s.easing,s.duration),s.begin&&!m.isFunction(s.begin)&&(s.begin=null),s.progress&&!m.isFunction(s.progress)&&(s.progress=null),s.c
2omplete&&!m.isFunction(s.complete)&&(s.complete=null),s.display!==n&&null!==s.display&&(s.display=s.display.toString().toLowerCase(),"auto"===s.display&&(s.display=b.CSS.Values.getDisplayType(o))),s.visibility!==n&&null!==s.visibility&&(s.visibility=s.visibility.toString().toLowerCase()),s.mobileHA=s.mobileHA&&b.State.isMobile&&!b.State.isGingerbread,!1===s.queue?s.delay?setTimeout(t,s.delay):t():h.queue(o,s.queue,function(e,i){return!0===i?(A.promise&&A.resolver(d),!0):(b.velocityQueueEntryFlag=!0,void t(e))}),""!==s.queue&&"fx"!==s.queue||"inprogress"===h.queue(o)[0]||h.dequeue(o)}var s,l,f,d,g,y,x=arguments[0]&&(arguments[0].p||h.isPlainObject(arguments[0].properties)&&!arguments[0].properties.names||m.isString(arguments[0].properties));if(m.isWrapped(this)?(s=!1,f=0,d=this,l=this):(s=!0,f=1,d=x?arguments[0].elements||arguments[0].e:arguments[0]),d=o(d)){x?(g=arguments[0].properties||arguments[0].p,y=arguments[0].options||arguments[0].o):(g=arguments[f],y=arguments[f+1]);var S=d.length,P=0;if(!/^(stop|finish)$/i.test(g)&&!h.isPlainObject(y)){var C=f+1;y={};for(var E=C;E<arguments.length;E++)m.isArray(arguments[E])||!/^(fast|normal|slow)$/i.test(arguments[E])&&!/^\d/.test(arguments[E])?m.isString(arguments[E])||m.isArray(arguments[E])?y.easing=arguments[E]:m.isFunction(arguments[E])&&(y.complete=arguments[E]):y.duration=arguments[E]}var V,A={promise:null,resolver:null,rejecter:null};switch(s&&b.Promise&&(A.promise=new b.Promise(function(t,e){A.resolver=t,A.rejecter=e})),g){case"scroll":V="scroll";break;case"reverse":V="reverse";break;case"finish":case"stop":h.each(d,function(t,e){a(e)&&a(e).delayTimer&&(clearTimeout(a(e).delayTimer.setTimeout),a(e).delayTimer.next&&a(e).delayTimer.next(),delete a(e).delayTimer)});var k=[];return h.each(b.State.calls,function(t,e){e&&h.each(e[1],function(i,r){var o=y===n?"":y;return!0!==o&&e[2].queue!==o&&(y!==n||!1!==e[2].queue)||void h.each(d,function(i,n){n===r&&((!0===y||m.isString(y))&&(h.each(h.queue(n,m.isString(y)?y:""),function(t,e){m.isFunction(e)&&e(null,!0)}),h.queue(n,m.isString(y)?y:"",[])),"stop"===g?(a(n)&&a(n).tweensContainer&&!1!==o&&h.each(a(n).tweensContainer,function(t,e){e.endValue=e.currentValue}),k.push(t)):"finish"===g&&(e[2].duration=1))})})}),"stop"===g&&(h.each(k,function(t,e){p(e,!0)}),A.promise&&A.resolver(d)),t();default:if(!h.isPlainObject(g)||m.isEmptyObject(g)){if(m.isString(g)&&b.Redirects[g]){var N=h.extend({},y),F=N.duration,z=N.delay||0;return!0===N.backwards&&(d=h.extend(!0,[],d).reverse()),h.each(d,function(t,e){parseFloat(N.stagger)?N.delay=z+parseFloat(N.stagger)*t:m.isFunction(N.stagger)&&(N.delay=z+N.stagger.call(e,t,S)),N.drag&&(N.duration=parseFloat(F)||(/^(callout|transition)/.test(g)?1e3:v),N.duration=Math.max(N.duration*(N.backwards?1-t/S:(t+1)/S),.75*N.duration,200)),b.Redirects[g].call(e,e,N||{},t,S,d,A.promise?A:n)}),t()}var L="Velocity: First argument ("+g+") was not a property map, a known action, or a registered redirect. Aborting.";return A.promise?A.rejecter(new Error(L)):console.log(L),t()}V="start"}var O={lastParent:null,lastPosition:null,lastFontSize:null,lastPercentToPxWidth:null,lastPercentToPxHeight:null,lastEmToPx:null,remToPx:null,vwToPx:null,vhToPx:null},R=[];h.each(d,function(t,e){m.isNode(e)&&r.call(e)});var I;N=h.extend({},b.defaults,y);if(N.loop=parseInt(N.loop),I=2*N.loop-1,N.loop)for(var j=0;I>j;j++){var H={delay:N.delay,progress:N.progress};j===I-1&&(H.display=N.display,H.visibility=N.visibility,H.complete=N.complete),T(d,"reverse",H)}return t()}};b=h.extend(T,b),b.animate=T;var S=e.requestAnimationFrame||d;return b.State.isMobile||i.hidden===n||i.addEventListener("visibilitychange",function(){i.hidden?(S=function(t){return setTimeout(function(){t(!0)},16)},c()):S=e.requestAnimationFrame||d}),t.Velocity=b,t!==e&&(t.fn.velocity=T,t.fn.velocity.defaults=b.defaults),h.each(["Down","Up"],function(t,e){b.Redirects["slide"+e]=function(t,i,r,o,a,s){var l=h.extend({},i),u=l.begin,c=l.complete,p={height:"",marginTop:"",marginBottom:"",paddingTop:"",paddingBottom:""},f={};l.display===n&&(l.display="Down"===e?"inline"===b.CSS.Values.getDisplayType(t)?"inline-block":"block":"none"),l.begin=function(){for(var i in u&&u.call(a,a),p){f[i]=t.style[i];var n=b.CSS.getPropertyValue(t,i);p[i]="Down"===e?[n,0]:[0,n]}f.overflow=t.style.overflow,t.style.overflow="hidden"},l.complete=function(){for(var e in f)t.style[e]=f[e];
vendor: 19,157 bytes, line 2
2c&&c.call(a,a),s&&s.resolver(a)},b(t,p,l)}}),h.each(["In","Out"],function(t,e){b.Redirects["fade"+e]=function(t,i,r,o,a,s){var l=h.extend({},i),u={opacity:"In"===e?1:0},c=l.complete;l.complete=r!==o-1?l.begin=null:function(){c&&c.call(a,a),s&&s.resolver(a)},l.display===n&&(l.display="In"===e?"auto":"none"),b(this,u,l)}}),b}jQuery.fn.velocity=jQuery.fn.animate}(window.jQuery||window.Zepto||window,window,document)}),function(t,e,i,n){"use strict";function r(t,e,i){return setTimeout(c(t,i),e)}function o(t,e,i){return!!Array.isArray(t)&&(a(t,i[e],i),!0)}function a(t,e,i){var r;if(t)if(t.forEach)t.forEach(e,i);else if(t.length!==n)for(r=0;r<t.length;)e.call(i,t[r],r,t),r++;else for(r in t)t.hasOwnProperty(r)&&e.call(i,t[r],r,t)}function s(t,e,i){for(var r=Object.keys(e),o=0;o<r.length;)(!i||i&&t[r[o]]===n)&&(t[r[o]]=e[r[o]]),o++;return t}function l(t,e){return s(t,e,!0)}function u(t,e,i){var n,r=e.prototype;n=t.prototype=Object.create(r),n.constructor=t,n._super=r,i&&s(n,i)}function c(t,e){return function(){return t.apply(e,arguments)}}function p(t,e){return typeof t==ct?t.apply(e&&e[0]||n,e):t}function h(t,e){return t===n?e:t}function f(t,e,i){a(v(e),function(e){t.addEventListener(e,i,!1)})}function d(t,e,i){a(v(e),function(e){t.removeEventListener(e,i,!1)})}function m(t,e){for(;t;){if(t==e)return!0;t=t.parentNode}return!1}function g(t,e){return t.indexOf(e)>-1}function v(t){return t.trim().split(/\s+/g)}function y(t,e,i){if(t.indexOf&&!i)return t.indexOf(e);for(var n=0;n<t.length;){if(i&&t[n][i]==e||!i&&t[n]===e)return n;n++}return-1}function b(t){return Array.prototype.slice.call(t,0)}function x(t,e,i){for(var n=[],r=[],o=0;o<t.length;){var a=e?t[o][e]:t[o];y(r,a)<0&&n.push(t[o]),r[o]=a,o++}return i&&(n=e?n.sort(function(t,i){return t[e]>i[e]}):n.sort()),n}function w(t,e){for(var i,r,o=e[0].toUpperCase()+e.slice(1),a=0;a<lt.length;){if(i=lt[a],r=i?i+o:e,r in t)return r;a++}return n}function T(){return dt++}function S(t){var e=t.ownerDocument;return e.defaultView||e.parentWindow}function P(t,e){var i=this;this.manager=t,this.callback=e,this.element=t.element,this.target=t.options.inputTarget,this.domHandler=function(e){p(t.options.enable,[t])&&i.handler(e)},this.init()}function C(t){var e,i=t.options.inputClass;return e=i||(vt?q:yt?$:gt?_:H),new e(t,E)}function E(t,e,i){var n=i.pointers.length,r=i.changedPointers.length,o=e&Pt&&0==n-r,a=e&(Et|Vt)&&0==n-r;i.isFirst=!!o,i.isFinal=!!a,o&&(t.session={}),i.eventType=e,V(t,i),t.emit("hammer.input",i),t.recognize(i),t.session.prevInput=i}function V(t,e){var i=t.session,n=e.pointers,r=n.length;i.firstInput||(i.firstInput=N(e)),r>1&&!i.firstMultiple?i.firstMultiple=N(e):1===r&&(i.firstMultiple=!1);var o=i.firstInput,a=i.firstMultiple,s=a?a.center:o.center,l=e.center=F(n);e.timeStamp=ft(),e.deltaTime=e.timeStamp-o.timeStamp,e.angle=R(s,l),e.distance=O(s,l),A(i,e),e.offsetDirection=L(e.deltaX,e.deltaY),e.scale=a?j(a.pointers,n):1,e.rotation=a?I(a.pointers,n):0,k(i,e);var u=t.element;m(e.srcEvent.target,u)&&(u=e.srcEvent.target),e.target=u}function A(t,e){var i=e.center,n=t.offsetDelta||{},r=t.prevDelta||{},o=t.prevInput||{};(e.eventType===Pt||o.eventType===Et)&&(r=t.prevDelta={x:o.deltaX||0,y:o.deltaY||0},n=t.offsetDelta={x:i.x,y:i.y}),e.deltaX=r.x+(i.x-n.x),e.deltaY=r.y+(i.y-n.y)}function k(t,e){var i,r,o,a,s=t.lastInterval||e,l=e.timeStamp-s.timeStamp;if(e.eventType!=Vt&&(l>St||s.velocity===n)){var u=s.deltaX-e.deltaX,c=s.deltaY-e.deltaY,p=z(l,u,c);r=p.x,o=p.y,i=ht(p.x)>ht(p.y)?p.x:p.y,a=L(u,c),t.lastInterval=e}else i=s.velocity,r=s.velocityX,o=s.velocityY,a=s.direction;e.velocity=i,e.velocityX=r,e.velocityY=o,e.direction=a}function N(t){for(var e=[],i=0;i<t.pointers.length;)e[i]={clientX:pt(t.pointers[i].clientX),clientY:pt(t.pointers[i].clientY)},i++;return{timeStamp:ft(),pointers:e,center:F(e),deltaX:t.deltaX,deltaY:t.deltaY}}function F(t){var e=t.length;if(1===e)return{x:pt(t[0].clientX),y:pt(t[0].clientY)};for(var i=0,n=0,r=0;e>r;)i+=t[r].clientX,n+=t[r].clientY,r++;return{x:pt(i/e),y:pt(n/e)}}function z(t,e,i){return{x:e/t||0,y:i/t||0}}function L(t,e){return t===e?At:ht(t)>=ht(e)?t>0?kt:Nt:e>0?Ft:zt}function O(t,e,i){i||(i=It);var n=e[i[0]]-t[i[0]],r=e[i[1]]-t[i[1]];return Math.sqrt(n*n+r*r)}function R(t,e,i){i||(i=It);var n=e[i[0]]-t[i[0]],r=e[i[1]]-t[i[1]];return 180*Math.atan2(r,n)/Math.PI}function I(t,e){return R(e[1],e[0],jt)-R(t[1],t[0],jt)}function j(t,e){return O(e[0],e[1],jt)/O(t[0],t[1],jt)}function H(){this.evEl=qt,this.evWin=Mt,this.allow=!0,this.pressed=!1,P.apply(this,arguments)}function q(){this.evEl=Wt,this.evWin=_t,P.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}function M(){this.evTarget=Yt,this.evWin=Bt,this.started=!1,P.apply(this,arguments)}function D(t,e){var i=b(t.touches),n=b(t.changedTouches);return e&(Et|Vt)&&(i=x(i.concat(n),"identifier",!0)),[i,n]}function $(){this.evTarget=Qt,this.targetIds={},P.apply(this,arguments)}function W(t,e){var i=b(t.touches),n=this.targetIds;if(e&(Pt|Ct)&&1===i.length)return n[i[0].identifier]=!0,[i,i];var r,o,a=b(t.changedTouches),s=[],l=this.target;if(o=i.filter(function(t){return m(t.target,l)}),e===Pt)for(r=0;r<o.length;)n[o[r].identifier]=!0,r++;for(r=0;r<a.length;)n[a[r].identifier]&&s.push(a[r]),e&(Et|Vt)&&delete n[a[r].identifier],r++;return s.length?[x(o.concat(s),"identifier",!0),s]:void 0}function _(){P.apply(this,arguments);var t=c(this.handler,this);this.touch=new $(this.manager,t),this.mouse=new H(this.manager,t)}function X(t,e){this.manager=t,this.set(e)}function Y(t){if(g(t,ee))return ee;var e=g(t,ie),i=g(t,ne);return e&&i?ie+" "+ne:e||i?e?ie:ne:g(t,te)?te:Kt}function B(t){this.id=T(),this.manager=null,this.options=l(t||{},this.defaults),this.options.enable=h(this.options.enable,!0),this.state=re,this.simultaneous={},this.requireFail=[]}function G(t){return t&ue?"cancel":t&se?"end":t&ae?"move":t&oe?"start":""}function Q(t){return t==zt?"down":t==Ft?"up":t==kt?"left":t==Nt?"right":""}function U(t,e){var i=e.manager;return i?i.get(t):t}function Z(){B.apply(this,arguments)}function J(){Z.apply(this,arguments),this.pX=null,this.pY=null}function K(){Z.apply(this,arguments)}function tt(){B.apply(this,arguments),this._timer=null,this._input=null}function et(){Z.apply(this,arguments)}function it(){Z.apply(this,arguments)}function nt(){B.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function rt(t,e){return e=e||{},e.recognizers=h(e.recognizers,rt.defaults.preset),new ot(t,e)}function ot(t,e){e=e||{},this.options=l(e,rt.defaults),this.options.inputTarget=this.options.inputTarget||t,this.handlers={},this.session={},this.recognizers=[],this.element=t,this.input=C(this),this.touchAction=new X(this,this.options.touchAction),at(this,!0),a(e.recognizers,function(t){var e=this.add(new t[0](t[1]));t[2]&&e.recognizeWith(t[2]),t[3]&&e.requireFailure(t[3])},this)}function at(t,e){var i=t.element;a(t.options.cssProps,function(t,n){i.style[w(i.style,n)]=e?t:""})}function st(t,i){var n=e.createEvent("Event");n.initEvent(t,!0,!0),n.gesture=i,i.target.dispatchEvent(n)}var lt=["","webkit","moz","MS","ms","o"],ut=e.createElement("div"),ct="function",pt=Math.round,ht=Math.abs,ft=Date.now,dt=1,mt=/mobile|tablet|ip(ad|hone|od)|android/i,gt="ontouchstart"in t,vt=w(t,"PointerEvent")!==n,yt=gt&&mt.test(navigator.userAgent),bt="touch",xt="pen",wt="mouse",Tt="kinect",St=25,Pt=1,Ct=2,Et=4,Vt=8,At=1,kt=2,Nt=4,Ft=8,zt=16,Lt=kt|Nt,Ot=Ft|zt,Rt=Lt|Ot,It=["x","y"],jt=["clientX","clientY"];P.prototype={handler:function(){},init:function(){this.evEl&&f(this.element,this.evEl,this.domHandler),this.evTarget&&f(this.target,this.evTarget,this.domHandler),this.evWin&&f(S(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&d(this.element,this.evEl,this.domHandler),this.evTarget&&d(this.target,this.evTarget,this.domHandler),this.evWin&&d(S(this.element),this.evWin,this.domHandler)}};var Ht={mousedown:Pt,mousemove:Ct,mouseup:Et},qt="mousedown",Mt="mousemove mouseup";u(H,P,{handler:function(t){var e=Ht[t.type];e&Pt&&0===t.button&&(this.pressed=!0),e&Ct&&1!==t.which&&(e=Et),this.pressed&&this.allow&&(e&Et&&(this.pressed=!1),this.callback(this.manager,e,{pointers:[t],changedPointers:[t],pointerType:wt,srcEvent:t}))}});var Dt={pointerdown:Pt,pointermove:Ct,pointerup:Et,pointercancel:Vt,pointerout:Vt},$t={2:bt,3:xt,4:wt,5:Tt},Wt="pointerdown",_t="pointermove pointerup pointercancel";t.MSPointerEvent&&(Wt="MSPointerDown",_t="MSPointerMove MSPointerUp MSPointerCancel"),u(q,P,{handler:function(t){var e=this.store,i=!1,n=t.type.toLowerCase().replace("ms",""),r=Dt[n],o=$t[t.pointerType]||t.pointerType,a=o==bt,s=y(e,t.pointerId,"pointerId");r&Pt&&(0===t.button||a)?0>s&&(e.push(t),s=e.length-1):r&(Et|Vt)&&(i=!0),0>s||(e[s]=t,this.callback(this.manager,r,{pointers:e,changedPointers:[t],pointerType:o,srcEvent:t}),i&&e.splice(s,1))}});var Xt={touchstart:Pt,touchmove:Ct,touchend:Et,touchcancel:Vt},Yt="touchstart",Bt="touchstart touchmove touchend touchcancel";u(M,P,{handler:function(t){var e=Xt[t.type];if(e===Pt&&(this.started=!0),this.started){var i=D.call(this,t,e);e&(Et|Vt)&&0==i[0].length-i[1].length&&(this.started=!1),this.callback(this.manager,e,{pointers:i[0],changedPointers:i[1],pointerType:bt,srcEvent:t})}}});var Gt={touchstart:Pt,touchmove:Ct,touchend:Et,touchcancel:Vt},Qt="touchstart touchmove touchend touchcancel";u($,P,{handler:function(t){var e=Gt[t.type],i=W.call(this,t,e);i&&this.callback(this.manager,e,{pointers:i[0],changedPointers:i[1],pointerType:bt,srcEvent:t})}}),u(_,P,{handler:function(t,e,i){var n=i.pointerType==bt,r=i.pointerType==wt;if(n)this.mouse.allow=!1;else if(r&&!this.mouse.allow)return;e&(Et|Vt)&&(this.mouse.allow=!0),this.callback(t,e,i)},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var Ut=w(ut.style,"touchAction"),Zt=Ut!==n,Jt="compute",Kt="auto",te="manipulation",ee="none",ie="pan-x",ne="pan-y";X.prototype={set:function(t){t==Jt&&(t=this.compute()),Zt&&(this.manager.element.style[Ut]=t),this.actions=t.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var t=[];return a(this.manager.recognizers,function(e){p(e.options.enable,[e])&&(t=t.concat(e.getTouchAction()))}),Y(t.join(" "))},preventDefaults:function(t){if(!Zt){var e=t.srcEvent,i=t.offsetDirection;if(this.manager.session.prevented)return void e.preventDefault();var n=this.actions,r=g(n,ee),o=g(n,ne),a=g(n,ie);return r||o&&i&Lt||a&&i&Ot?this.preventSrc(e):void 0}},preventSrc:function(t){this.manager.session.prevented=!0,t.preventDefault()}};var re=1,oe=2,ae=4,se=8,le=se,ue=16,ce=32;B.prototype={defaults:{},set:function(t){return s(this.options,t),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(t){if(o(t,"recognizeWith",this))return this;var e=this.simultaneous;return t=U(t,this),e[t.id]||(e[t.id]=t,t.recognizeWith(this)),this},dropRecognizeWith:function(t){return o(t,"dropRecognizeWith",this)?this:(t=U(t,this),delete this.simultaneous[t.id],this)},requireFailure:function(t){if(o(t,"requireFailure",this))return this;var e=this.requireFail;return t=U(t,this),-1===y(e,t)&&(e.push(t),t.requireFailure(this)),this},dropRequireFailure:function(t){if(o(t,"dropRequireFailure",this))return this;t=U(t,this);var e=y(this.requireFail,t);return e>-1&&this.requireFail.splice(e,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(t){return!!this.simultaneous[t.id]},emit:function(t){function e(e){i.manager.emit(i.options.event+(e?G(n):""),t)}var i=this,n=this.state;se>n&&e(!0),e(),n>=se&&e(!0)},tryEmit:function(t){return this.canEmit()?this.emit(t):void(this.state=ce)},canEmit:function(){for(var t=0;t<this.requireFail.length;){if(!(this.requireFail[t].state&(ce|re)))return!1;t++}return!0},recognize:function(t){var e=s({},t);return p(this.options.enable,[this,e])?(this.state&(le|ue|ce)&&(this.state=re),this.state=this.process(e),void(this.state&(oe|ae|se|ue)&&this.tryEmit(e))):(this.reset(),void(this.state=ce))},process:function(){},getTouchAction:function(){},reset:function(){}},u(Z,B,{defaults:{pointers:1},attrTest:function(t){var e=this.options.pointers;return 0===e||t.pointers.length===e},process:function(t){var e=this.state,i=t.eventType,n=e&(oe|ae),r=this.attrTest(t);return n&&(i&Vt||!r)?e|ue:n||r?i&Et?e|se:e&oe?e|ae:oe:ce}}),u(J,Z,{defaults:{event:"pan",threshold:10,pointers:1,direction:Rt},getTouchAction:function(){var t=this.options.direction,e=[];return t&Lt&&e.push(ne),t&Ot&&e.push(ie),e},directionTest:function(t){var e=this.options,i=!0,n=t.distance,r=t.direction,o=t.deltaX,a=t.deltaY;return r&e.direction||(e.direction&Lt?(r=0===o?At:0>o?kt:Nt,i=o!=this.pX,n=Math.abs(t.deltaX)):(r=0===a?At:0>a?Ft:zt,i=a!=this.pY,n=Math.abs(t.deltaY))),t.direction=r,i&&n>e.threshold&&r&e.direction},attrTest:function(t){return Z.prototype.attrTest.call(this,t)&&(this.state&oe||!(this.state&oe)&&this.directionTest(t))},emit:function(t){this.pX=t.deltaX,this.pY=t.deltaY;var e=Q(t.direction);e&&this.manager.emit(this.options.event+e,t),this._super.emit.call(this,t)}}),u(K,Z,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[ee]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.scale-1)>this.options.threshold||this.state&oe)},emit:function(t){if(this._super.emit.call(this,t),1!==t.scale){var e=t.scale<1?"in":"out";this.manager.emit(this.options.event+e,t)}}}),u(tt,B,{defaults:{event:"press",pointers:1,time:500,threshold:5},getTouchAction:function(){return[Kt]},process:function(t){var e=this.options,i=t.pointers.length===e.pointers,n=t.distance<e.threshold,o=t.deltaTime>e.time;if(this._input=t,!n||!i||t.eventType&(Et|Vt)&&!o)this.reset();else if(t.eventType&Pt)this.reset(),this._timer=r(function(){this.state=le,this.tryEmit()},e.time,this);else if(t.eventType&Et)return le;return ce},reset:function(){clearTimeout(this._timer)},emit:function(t){this.state===le&&(t&&t.eventType&Et?this.manager.emit(this.options.event+"up",t):(this._input.timeStamp=ft(),this.manager.emit(this.options.event,this._input)))}}),u(et,Z,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[ee]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.rotation)>this.options.threshold||this.state&oe)}}),u(it,Z,{defaults:{event:"swipe",threshold:10,velocity:.65,direction:Lt|Ot,pointers:1},getTouchAction:function(){return J.prototype.getTouchAction.call(this)},attrTest:function(t){var e,i=this.options.direction;return i&(Lt|Ot)?e=t.velocity:i&Lt?e=t.velocityX:i&Ot&&(e=t.velocityY),this._super.attrTest.call(this,t)&&i&t.direction&&t.distance>this.options.threshold&&ht(e)>this.options.velocity&&t.eventType&Et},emit:function(t){var e=Q(t.direction);e&&this.manager.emit(this.options.event+e,t),this.manager.emit(this.options.event,t)}}),u(nt,B,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:2,posThreshold:10},getTouchAction:function(){return[te]},process:function(t){var e=this.options,i=t.pointers.length===e.pointers,n=t.distance<e.threshold,o=t.deltaTime<e.time;if(this.reset(),t.eventType&Pt&&0===this.count)return this.failTimeout();if(n&&o&&i){if(t.eventType!=Et)return this.failTimeout();var a=!this.pTime||t.timeStamp-this.pTime<e.interval,s=!this.pCenter||O(this.pCenter,t.center)<e.posThreshold;this.pTime=t.timeStamp,this.pCenter=t.center,s&&a?this.count+=1:this.count=1,this._input=t;var l=this.count%e.taps;if(0===l)return this.hasRequireFailures()?(this._timer=r(function(){this.state=le,this.tryEmit()},e.interval,this),oe):le}return ce},failTimeout:function(){return this._timer=r(function(){this.state=ce},this.options.interval,this),ce},reset:function(){clearTimeout(this._timer)},emit:function(){this.state==le&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),rt.VERSION="2.0.4",rt.defaults={domEvents:!1,touchAction:Jt,enable:!0,inputTarget:null,inputClass:null,preset:[[et,{enable:!1}],[K,{enable:!1},["rotate"]],[it,{direction:Lt}],[J,{direction:Lt},["swipe"]],[nt],[nt,{event:"doubletap",taps:2},["tap"]],[tt]],cssProps:{userSelect:"default",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}};var pe=1,he=2;ot.prototype={set:function(t){return s(this.options,t),t.touchAction&&this.touchAction.update(),t.inputTarget&&(this.input.destroy(),this.input.target=t.inputTarget,this.input.init()),this},stop:function(t){this.session.stopped=t?he:pe},recognize:function(t){var e=this.session;if(!e.stopped){this.touchAction.preventDefaults(t);var i,n=this.recognizers,r=e.curRecognizer;(!r||r&&r.state&le)&&(r=e.curRecognizer=null);for(var o=0;o<n.length;)i=n[o],e.stopped===he||r&&i!=r&&!i.canRecognizeWith(r)?i.reset():i.recognize(t),!r&&i.state&(oe|ae|se)&&(r=e.curRecognizer=i),o++}},get:function(t){if(t instanceof B)return t;for(var e=this.recognizers,i=0;i<e.length;i++)if(e[i].options.event==t)return e[i];return null},add:function(t){if(o(t,"add",this))return this;var e=this.get(t.options.event);return e&&this.remove(e),this.recognizers.push(t),t.manager=this,this.touchAction.update(),t},remove:function(t){if(o(t,"remove",this))return this;var e=this.recognizers;return t=this.get(t),e.splice(y(e,t),1),this.touchAction.update(),this},on:function(t,e){var i=this.handlers;return a(v(t),function(t){i[t]=i[t]||[],i[t].push(e)}),this},off:function(t,e){var i=this.handlers;return a(v(t),function(t){e?i[t].splice(y(i[t],e),1):delete i[t]}),this},emit:function(t,e){this.options.domEvents&&st(t,e);var i=this.handlers[t]&&this.handlers[t].slice();if(i&&i.length){e.type=t,e.preventDefault=function(){e.srcEvent.preventDefault()};for(var n=0;n<i.length;)i[n](e),n++}},destroy:function(){this.element&&at(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},s(rt,{INPUT_START:Pt,INPUT_MOVE:Ct,INPUT_END:Et,INPUT_CANCEL:Vt,STATE_POSSIBLE:re,STATE_BEGAN:oe,STATE_CHANGED:ae,STATE_ENDED:se,STATE_RECOGNIZED:le,STATE_CANCELLED:ue,STATE_FAILED:ce,DIRECTION_NONE:At,DIRECTION_LEFT:kt,DIRECTION_RIGHT:Nt,DIRECTION_UP:Ft,DIRECTION_DOWN:zt,DIRECTION_HORIZONTAL:Lt,DIRECTION_VERTICAL:Ot,DIRECTION_ALL:Rt,Manager:ot,Input:P,TouchAction:X,TouchInput:$,MouseInput:H,PointerEventInput:q,TouchMouseInput:_,SingleTouchInput:M,Recognizer:B,AttrRecognizer:Z,Tap:nt,Pan:J,Swipe:it,Pinch:K,Rotate:et,Press:tt,on:f,off:d,each:a,merge:l,extend:s,inherit:u,bindFn:c,prefixed:w}),typeof define==ct&&define.amd?define(function(){return rt}):"undefined"!=typeof module&&module.exports?module.exports=rt:t[i]=rt}(window,document,"Hammer"),function(t){"function"==typeof define&&define.amd?define(["jquery","hammerjs"],t):"object"==typeof exports?t(require("jquery"),require("hammerjs")):t(jQuery,Hammer)}(function(t,e){function i(i,n){var r=t(i);r.data("hammer")||r.data("hammer",new e(r[0],n))}var n;t.fn.hammer=function(t){return this.each(function(){i(this,t)})},e.Manager.prototype.emit=(n=e.Manager.prototype.emit,function(e,i){n.call(this,e,i),t(this.element).trigger({type:e,gesture:i})})});var methods={init:function(){return this.each(function(){var t=$(this);$(window).width();t.width("100%");
2var e=$(this).children("li").length;t.children("li").each(function(){$(this).width(100/e+"%")});var i,n,r=t.find("li.tab a"),o=t.width(),a=t.find("li").first().outerWidth(),s=0;i=$(r.filter('[href="'+location.hash+'"]')),0===i.length&&(i=$(this).find("li.tab a.active").first()),0===i.length&&(i=$(this).find("li.tab a").first()),i.addClass("active"),s=r.index(i),s<0&&(s=0),n=$(i[0].hash),t.append('<div class="indicator"></div>');var l=t.find(".indicator");t.is(":visible")&&(l.css({right:o-(s+1)*a}),l.css({left:s*a})),$(window).resize(function(){o=t.width(),a=t.find("li").first().outerWidth(),s<0&&(s=0),0!==a&&0!==o&&(l.css({right:o-(s+1)*a}),l.css({left:s*a}))}),r.not(i).each(function(){$(this.hash).hide()}),t.on("click","a",function(e){o=t.width(),a=t.find("li").first().outerWidth(),i.removeClass("active"),n.hide(),i=$(this),n=$(this.hash),r=t.find("li.tab a"),i.addClass("active");var u=s;s=r.index($(this)),s<0&&(s=0),n.show(),s-u>=0?(l.velocity({right:o-(s+1)*a},{duration:300,queue:!1,easing:"easeOutQuad"}),l.velocity({left:s*a},{duration:300,queue:!1,easing:"easeOutQuad",delay:90})):(l.velocity({left:s*a},{duration:300,queue:!1,easing:"easeOutQuad"}),l.velocity({right:o-(s+1)*a},{duration:300,queue:!1,easing:"easeOutQuad",delay:90})),e.preventDefault()})})},select_tab:function(t){this.find('a[href="#'+t+'"]').trigger("click")}};$.fn.tabs=function(t){return methods[t]?methods[t].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof t&&t?void $.error("Method "+t+" does not exist on jQuery.tooltip"):methods.init.apply(this,arguments)},$(document).ready(function(){$("ul.tabs").tabs()});
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.