vendor: 6,156 bytes, lines 1-3
1/*! VelocityJS.org (1.2.2). (C) 2014 Julian Shapiro. MIT @license: en.wikipedia.org/wiki/MIT_License */ 2/*! VelocityJS.org jQuery Shim (1.0.1). (C) 2014 The jQuery Foundation. MIT @license: en.wikipedia.org/wiki/MIT_License. */ 3var Vel;!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?a[r.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 a=0,o=t.length,r=e(t);if(n){if(r)for(;o>a&&!1!==i.apply(t[a],n);a++);else for(a in t)if(!1===i.apply(t[a],n))break}else if(r)for(;o>a&&!1!==i.call(t[a],a,t[a]);a++);else for(a in t)if(!1===i.call(t[a],a,t[a]))break;return t},i.data=function(t,e,a){if(void 0===a){var o=(r=t[i.expando])&&n[r];if(void 0===e)return o;if(o&&e in o)return o[e]}else if(void 0!==e){var r=t[i.expando]||(t[i.expando]=++i.uuid);return n[r]=n[r]||{},n[r][e]=a,a}},i.removeData=function(t,e){var a=t[i.expando],o=a&&n[a];o&&i.each(e,function(t,e){delete o[e]})},i.extend=function(){var t,e,n,a,o,r,s=arguments[0]||{},l=1,c=arguments.length,u=!1;for("boolean"==typeof s&&(u=s,s=arguments[l]||{},l++),"object"!=typeof s&&"function"!==i.type(s)&&(s={}),l===c&&(s=this,l--);c>l;l++)if(null!=(o=arguments[l]))for(a in o)t=s[a],s!==(n=o[a])&&(u&&n&&(i.isPlainObject(n)||(e=i.isArray(n)))?(e?(e=!1,r=t&&i.isArray(t)?t:[]):r=t&&i.isPlainObject(t)?t:{},s[a]=i.extend(u,r,n)):void 0!==n&&(s[a]=n));return s},i.queue=function(t,n,a){if(t){n=(n||"fx")+"queue";var o=i.data(t,n);return a?(!o||i.isArray(a)?o=i.data(t,n,function(t,i){var n=i||[];return null!=t&&(e(Object(t))?function(t,e){for(var i=+e.length,n=0,a=t.length;i>n;)t[a++]=e[n++];if(i!=i)for(;void 0!==e[n];)t[a++]=e[n++];t.length=a}(n,"string"==typeof t?[t]:t):[].push.call(n,t)),n}(a)):o.push(a),o):o||[]}},i.dequeue=function(t,e){i.each(t.nodeType?[t]:t,function(t,n){e=e||"fx";var a=i.queue(n,e),o=a.shift();"inprogress"===o&&(o=a.shift()),o&&("fx"===e&&a.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(),a=/^(?: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&&(a.top+=parseFloat(t.style.borderTopWidth)||0,a.left+=parseFloat(t.style.borderLeftWidth)||0),{top:n.top-a.top,left:n.left-a.left}}};var n={};i.expando="velocity"+(new Date).getTime(),i.uuid=0;for(var a={},o=a.hasOwnProperty,r=a.toString,s="Boolean Number String Function Array Date RegExp Object Error".split(" "),l=0;l<s.length;l++)a["[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 a(t){return f.isWrapped(t)?t=[].slice.call(t):f.isNode(t)&&(t=[t]),t}function o(t){var e=d.data(t,"velocity");return null===e?n:e}function r(t){return function(e){return Math.round(e*t)*(1/t)}}function s(t,i,n,a){function o(t,e){return 1-3*e+3*t}function r(t,e){return 3*e-6*t}function s(t){return 3*t}function l(t,e,i){return((o(e,i)*t+r(e,i))*t+s(e))*t}function c(t,e,i){return 3*o(e,i)*t*t+2*r(e,i)*t+s(e)}function u(e,i){for(var a=0;h>a;++a){var o=c(i,t,n);if(0===o)return i;i-=(l(i,t,n)-e)/o}return i}function d(e,i,a){var o,r,s=0;do{(o=l(r=i+(a-i)/2,t,n)-e)>0?a=r:i=r}while(Math.abs(o)>v&&++s<m);return r}function p(){x=!0,(t!=i||n!=a)&&function(){for(var e=0;g>e;++e)k[e]=l(e*y,t,n)}()}var h=4,f=.001,v=1e-7,m=10,g=11,y=1/(g-1),b="Float32Array"in e;if(4!==arguments.length)return!1;for(var w=0;4>w;++w)if("number"!=typeof arguments[w]||isNaN(arguments[w])||!isFinite(arguments[w]))return!1;t=Math.min(t,1),n=Math.min(n,1),t=Math.max(t,0),n=Math.max(n,0);var k=b?new Float32Array(g):new Array(g),x=!1,C=function(e){return x||p(),t===i&&n===a?e:0===e?0:1===e?1:l(function(e){for(var i=0,a=1,o=g-1;a!=o&&k[a]<=e;++a)i+=y;--a;var r=i+(e-k[a])/(k[a+1]-k[a])*y,s=c(r,t,n);return s>=f?u(e,r):0==s?r:d(e,i,i+y)}(e),i,a)};C.getControlPoints=function(){return[{x:t,y:i},{x:n,y:a}]};var T="generateBezier("+[t,i,n,a]+")";return C.toString=function(){return T},C}function l(t,e){var i=t;return f.isString(t)?g.Easings[t]||(i=!1):i=f.isArray(t)&&1===t.length?r.apply(null,t):f.isArray(t)&&2===t.length?y.apply(null,t.concat([e])):!(!f.isArray(t)||4!==t.length)&&s.apply(null,t),!1===i&&(i=g.Easings[g.defaults.easing]?g.defaults.easing:m),i}function c(t){if(t){var e=(new Date).getTime(),i=g.State.calls.length;i>1e4&&(g.State.calls=function(t){for(var e=-1,i=t?t.length:0,n=[];++e<i;){var a=t[e];a&&n.push(a)}return n}(g.State.calls));for(var a=0;i>a;a++)if(g.State.calls[a]){var r=g.State.calls[a],s=r[0],l=r[2],p=r[3],h=!!p,v=null;p||(p=g.State.calls[a][3]=e-16);for(var m=Math.min((e-p)/l.duration,1),y=0,w=s.length;w>y;y++){var x=s[y],C=x.element;if(o(C)){var T=!1;if(l.display!==n&&null!==l.display&&"none"!==l.display){if("flex"===l.display){d.each(["-webkit-box","-moz-box","-ms-flexbox","-webkit-flex"],function(t,e){b.setPropertyValue(C,"dis
3play",e)})}b.setPropertyValue(C,"display",l.display)}for(var S in l.visibility!==n&&"hidden"!==l.visibility&&b.setPropertyValue(C,"visibility",l.visibility),x)if("element"!==S){var P,A=x[S],O=f.isString(A.easing)?g.Easings[A.easing]:A.easing;if(1===m)P=A.endValue;else{var _=A.endValue-A.startValue;if(P=A.startValue+_*O(m,l,_),!h&&P===A.currentValue)continue}if(A.currentValue=P,"tween"===S)v=P;else{if(b.Hooks.registered[S]){var M=b.Hooks.getRoot(S),E=o(C).rootPropertyValueCache[M];E&&(A.rootPropertyValue=E)}var V=b.setPropertyValue(C,S,A.currentValue+(0===parseFloat(P)?"":A.unitType),A.rootPropertyValue,A.scrollData);b.Hooks.registered[S]&&(o(C).rootPropertyValueCache[M]=b.Normalizations.registered[M]?b.Normalizations.registered[M]("extract",null,V[1]):V[1]),"transform"===V[0]&&(T=!0)}}l.mobileHA&&o(C).transformCache.translate3d===n&&(o(C).transformCache.translate3d="(0px, 0px, 0px)",T=!0),T&&b.flushTransformCache(C)}}l.display!==n&&"none"!==l.display&&(g.State.calls[a][2].display=!1),l.visibility!==n&&"hidden"!==l.visibility&&(g.State.calls[a][2].visibility=!1),l.progress&&l.progress.call(r[1],r[1],m,Math.max(0,p+l.duration-e),p,v),1===m&&u(a)}}g.State.isTicking&&k(c)}function u(t,e){if(!g.State.calls[t])return!1;for(var i=g.State.calls[t][0],a=g.State.calls[t][1],r=g.State.calls[t][2],s=g.State.calls[t][4],l=!1,c=0,u=i.length;u>c;c++){var p=i[c].element;if(e||r.loop||("none"===r.display&&b.setPropertyValue(p,"display",r.display),"hidden"===r.visibility&&b.setPropertyValue(p,"visibility",r.visibility)),!0!==r.loop&&(d.queue(p)[1]===n||!/\.velocityQueueEntryFlag/i.test(d.queue(p)[1]))&&o(p)){o(p).isAnimating=!1,o(p).rootPropertyValueCache={};var h=!1;d.each(b.Lists.transforms3D,function(t,e){var i=/^scale/.test(e)?1:0,a=o(p).transformCache[e];o(p).transformCache[e]!==n&&new RegExp("^\\("+i+"[^.]").test(a)&&(h=!0,delete o(p).transformCache[e])}),r.mobileHA&&(h=!0,delete o(p).transformCache.translate3d),h&&b.flushTransformCache(p),b.Values.removeClass(p,"velocity-animating")}if(!e&&r.complete&&!r.loop&&c===u-1)try{r.complete.call(a,a)}catch(t){setTimeout(function(){throw t},1)}
vendor: 14,892 bytes, line 3
3s&&!0!==r.loop&&s(a),o(p)&&!0===r.loop&&!e&&(d.each(o(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)}),g(p,"reverse",{loop:!0,delay:r.delay})),!1!==r.queue&&d.dequeue(p,r.queue)}g.State.calls[t]=!1;for(var f=0,v=g.State.calls.length;v>f;f++)if(!1!==g.State.calls[f]){l=!0;break}!1===l&&(g.State.isTicking=!1,delete g.State.calls,g.State.calls=[])}var d,p=function(){if(i.documentMode)return i.documentMode;for(var t=7;t>4;t--){var e=i.createElement("div");if(e.innerHTML="\x3c!--[if IE "+t+"]><span></span><![endif]--\x3e",e.getElementsByTagName("span").length)return e=null,t}return n}(),h=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)}}(),f={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}},v=!1;if(t.fn&&t.fn.jquery?(d=t,v=!0):d=e.Velocity.Utilities,8>=p&&!v)throw new Error("Velocity: IE8 and below require jQuery to be loaded before Velocity.");if(!(7>=p)){var m="swing",g={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,calls:[]},CSS:{},Utilities:d,Redirects:{},Easings:{},Promise:e.Promise,defaults:{queue:"",duration:400,easing:m,begin:n,complete:n,progress:n,display:n,visibility:n,loop:!1,delay:!1,mobileHA:!0,_cacheValues:!0},init:function(t){d.data(t,"velocity",{isSVG:f.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?(g.State.scrollAnchor=e,g.State.scrollPropertyLeft="pageXOffset",g.State.scrollPropertyTop="pageYOffset"):(g.State.scrollAnchor=i.documentElement||i.body.parentNode||i.body,g.State.scrollPropertyLeft="scrollLeft",g.State.scrollPropertyTop="scrollTop");var y=function(){function t(t){return-t.tension*t.x-t.friction*t.v}function e(e,i,n){var a={x:e.x+n.dx*i,v:e.v+n.dv*i,tension:e.tension,friction:e.friction};return{dx:a.v,dv:t(a)}}function i(i,n){var a={dx:i.v,dv:t(i)},o=e(i,.5*n,a),r=e(i,.5*n,o),s=e(i,n,r),l=1/6*(a.dx+2*(o.dx+r.dx)+s.dx),c=1/6*(a.dv+2*(o.dv+r.dv)+s.dv);return i.x=i.x+l*n,i.v=i.v+c*n,i}return function t(e,n,a){var o,r,s,l={x:-1,v:0,tension:null,friction:null},c=[0],u=0,d=1e-4;for(e=parseFloat(e)||500,n=parseFloat(n)||20,a=a||null,l.tension=e,l.friction=n,(o=null!==a)?r=(u=t(e,n))/a*.016:r=.016;s=i(s||l,r),c.push(1+s.x),u+=16,Math.abs(s.x)>d&&Math.abs(s.v)>d;);return o?function(t){return c[t*(c.length-1)|0]}:u}}();g.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)}},d.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){g.Easings[e[0]]=s.apply(null,e[1])});var b=g.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<b.Lists.colors.length;t++){var e="color"===b.Lists.colors[t]?"0 0 0 1":"255 255 255 1";b.Hooks.templates[b.Lists.colors[t]]=["Red Green Blue Alpha",e]}var i,n,a;if(p)for(i in b.Hooks.templates){a=(n=b.Hooks.templates[i])[0].split(" ");var o=n[1].match(b.RegEx.valueSplit);"Color"===a[0]&&(a.push(a.shift()),o.push(o.shift()),b.Hooks.templates[i]=[a.join(" "),o.join(" ")])}for(i in b.Hooks.templates)for(var t in a=(n=b.Hooks.templates[i])[0].split(" ")){var r=i+a[t],s=t;b.Hooks.registered[r]=[i,s]}},getRoot:function(t){var e=b.Hooks.registered[t];return e?e[0]:t},cleanRootPropertyValue:function(t,e){return b.RegEx.valueUnwrap.test(e)&&(e=e.match(b.RegEx.valueUnwrap)[1]),b.Values.isCSSNullValue(e)&&(e=b.Hooks.templates[t][1]),e},extractValue:function(t,e){var i=b.Hooks.registered[t];if(i){var n=i[0],a=i[1];return(e=b.Hooks.cleanRootPropertyValue(n,e)).toString().match(b.RegEx.valueSplit)[a]}return e},injectValue:function(t,e,i){var n=b.Hooks.registered[t];if(n){var a,o=n[0],r=n[1];return(a=(i=b.Hooks.cleanRootPropertyValue(o,i)).toString().match(b.RegEx.valueSplit))[r]=e,a.join(" ")}return i}},Normalizations:{registered:{clip:function(t,e,i){switch(t){case"name":return"clip";case"extract":var n;return b.RegEx.wrappedValueAlreadyExtracted.test(i)?n=i:n=(n=i.toString().match(b.RegEx.valueUnwrap))?n[1].replace(/,(\s+)?/g," "):i,n;case"inject":return"rect("+i+")"}},blur:function(t,e,i){switch(t){case"name":return g.State.isFirefox?"filter":"-webkit-filter";case"extract":var n=parseFloat(i);if(!n&&0!==n){var a=i.toString().match(/blur\(([0-9]+[A-z]+)\)/i);n=a?a[1]:0}return n;case"inject":return parseFloat(i)?"blur("+i+")":"none"}},opacity:function(t,e,i){if(8>=p)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>=p||g.State.isGingerbread||(b.Lists.transformsBase=b.Lists.transformsBase.concat(b.Lists.transforms3D));for(var t=0;t<b.Lists.transformsBase.length;t++)!function(){var e=b.Lists.transformsBase[t];b.Normalizations.registered[e]=function(t,i,a){switch(t){case"name":return"transform";case"extract":return o(i)===n||o(i).transformCache[e]===n?/^scale/i.test(e)?1:0:o(i).transformCache[e].replace(/[()]/g,"");case"inject":var r=!1;switch(e.substr(0,e.length-1)){case"translate":r=!/(%|px|em|rem|vw|vh|\d)$/i.test(a);break;case"scal":case"scale":g.State.isAndroid&&o(i).transformCache[e]===n&&1>a&&(a=1),r=!/(\d)$/i.test(a);break;case"skew":case"rotate":r=!/(deg|\d)$/i.test(a)}return r||(o(i).transformCache[e]="("+a+")"),o(i).transformCache[e]}}}();for(t=0;t<b.Lists.colors.length;t++)!function(){var e=b.Lists.colors[t];b.Normalizations.registered[e]=function(t,i,a){switch(t){case"name":return e;case"extract":var o;if(b.RegEx.wrappedValueAlreadyExtracted.test(a))o=a;else{var r,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(a)?r=s[a]!==n?s[a]:s.black:b.RegEx.isHex.test(a)?r="rgb("+b.Values.hexToRgb(a).join(" ")+")":/^rgba?\(/i.test(a)||(r=s.black),o=(r||a).toString().match(b.RegEx.valueUnwrap)[1].replace(/,(\s+)?/g," ")}return 8>=p||3!==o.split(" ").length||(o+=" 1"),o;case"inject":return 8>=p?4===a.split(" ").length&&(a=a.split(/\s+/).slice(0,3).join(" ")):3===a.split(" ").length&&(a+=" 1"),(8>=p?"rgb":"rgba")+"("+a.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(p||g.State.isAndroid&&!g.State.isChrome)&&(e+="|transform"),new RegExp("^("+e+")$","i").test(t)},prefixCheck:function(t){if(g.State.prefixMatches[t])return[g.State.prefixMatches[t],!0];for(var e=["","Webkit","Moz","ms","O"],i=0,n=e.length;n>i;i++){var a;if(a=0===i?t:e[i]+t.replace(/^\w/,function(t){return t.toUpperCase()}),f.isString(g.State.prefixElement.style[a]))return g.State.prefixMatches[t]=a,[a,!0]}return[t,!1]}},Values:{hexToRgb:function(t){var e;return t=t.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,function(t,e,i,n){return e+e+i+i+n+n}),(e=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t))?[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,a,r){function s(t,i){function a(){u&&b.setPropertyValue(t,"display","none")}var l=0;if(8>=p)l=d.css(t,i);else{var c,u=!1;if(/^(width|height)$/.test(i)&&0===b.getPropertyValue(t,"display")&&(u=!0,b.setPropertyValue(t,"display",b.Values.getDisplayType(t))),!r){if("height"===i&&"border-box"!==b.getPropertyValue(t,"boxSizing").toString().toLowerCase()){var h=t.offsetHeight-(parseFloat(b.getPropertyValue(t,"borderTopWidth"))||0)-(parseFloat(b.getPropertyValue(t,"borderBottomWidth"))||0)-(parseFloat(b.getPropertyValue(t,"paddingTop"))||0)-(parseFloat(b.getPropertyValue(t,"paddingBottom"))||0);return a(),h}if("width"===i&&"border-box"!==b.getPropertyValue(t,"boxSizing").toString().toLowerCase()){var f=t.offsetWidth-(parseFloat(b.getPropertyValue(t,"borderLeftWidth"))||0)-(parseFloat(b.getPropertyValue(t,"borderRightWidth"))||0)-(parseFloat(b.getPropertyValue(t,"paddingLeft"))||0)-(parseFloat(b.getPropertyValue(t,"paddingRight"))||0);return a(),f}}c=o(t)===n?e.getComputedStyle(t,null):o(t).computedStyle?o(t).computedStyle:o(t).computedStyle=e.getComputedStyle(t,null),"borderColor"===i&&(i="borderTopColor"),(""===(l=9===p&&"filter"===i?c.getPropertyValue(i):c[i])||null===l)&&(l=t.style[i]),a()}if("auto"===l&&/^(top|right|bottom|left)$/i.test(i)){var v=s(t,"position");("fixed"===v||"absolute"===v&&/top|left/i.test(i))&&(l=d(t).position()[i]+"px")}return l}var l;if(b.Hooks.registered[i]){var c=i,u=b.Hooks.getRoot(c);a===n&&(a=b.getPropertyValue(t,b.Names.prefixCheck(u)[0])),b.Normalizations.registered[u]&&(a=b.Normalizations.registered[u]("extract",t,a)),l=b.Hooks.extractValue(c,a)}else if(b.Normalizations.registered[i]){var h,f;"transform"!==(h=b.Normalizations.registered[i]("name",t))&&(f=s(t,b.Names.prefixCheck(h)[0]),b.Values.isCSSNullValue(f)&&b.Hooks.templates[i]&&(f=b.Hooks.templates[i][1])),l=b.Normalizations.registered[i]("extract",t,f)}if(!/^[\d-]/.test(l))if(o(t)&&o(t).isSVG&&b.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,b.Names.prefixCheck(i)[0]);return b.Values.isCSSNullValue(l)&&(l=0),g.debug>=2&&console.log("Get "+i+": "+l),l},setPropertyValue:function(t,i,n,a,r){var s=i;if("scroll"===i)r.container?r.container["scroll"+r.direction]=n:"Left"===r.direction?e.scrollTo(n,r.alternateValue):e.scrollTo(r.alternateValue,n);else if(b.Normalizations.registered[i]&&"transform"===b.Normalizations.registered[i]("name",t))b.Normalizations.registered[i]("inject",t,n),s="transform",n=o(t).transformCache[i];else{if(b.Hooks.registered[i]){var l=i,c=b.Hooks.getRoot(i);a=a||b.getPropertyValue(t,c),n=b.Hooks.injectValue(l,n,a),i=c}if(b.Normalizations.registered[i]&&(n=b.Normalizations.registered[i]("inject",t,n),i=b.Normalizations.registered[i]("name",t)),s=b.Names.prefixCheck(i)[0],8>=p)try{t.style[s]=n}catch(t){g.debug&&console.log("Browser does not support ["+n+"] for ["+s+"]")}else o(t)&&o(t).isSVG&&b.Names.SVGAttribute(i)?t.setAttribute(i,n):t.style[s]=n;g.debug>=2&&console.log("Set "+i+" ("+s+"): "+n)}return[s,n]},flushTransformCache:function(t){function e(e){return parseFloat(b.getPropertyValue(t,e))}var i="";if((p||g.State.isAndroid&&!g.State.isChrome)&&o(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]};d.each(o(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 a,r;d.each(o(t).transformCache,function(e){return a=o(t).transformCache[e],"transformPerspective"===e?(r=a,!0):(9===p&&"rotateZ"===e&&(e="rotate"),void(i+=e+a+" "))}),r&&(i="perspective"+r+" "+i)}b.setPropertyValue(t,"transform",i)}};b.Hooks.register(),b.Normalizations.register(),g.hook=function(t,e,
vendor: 4,262 bytes, line 3
3i){var r=n;return t=a(t),d.each(t,function(t,a){if(o(a)===n&&g.init(a),i===n)r===n&&(r=g.CSS.getPropertyValue(a,e));else{var s=g.CSS.setPropertyValue(a,e,i);"transform"===s[0]&&g.CSS.flushTransformCache(a),r=s}}),r};var w=function(){function t(){return s?P.promise||null:p}function r(){function t(t){function p(t,e){var i=n,a=n,o=n;return f.isArray(t)?(i=t[0],!f.isArray(t[1])&&/^[\d-]/.test(t[1])||f.isFunction(t[1])||b.RegEx.isHex.test(t[1])?o=t[1]:(f.isString(t[1])&&!b.RegEx.isHex.test(t[1])||f.isArray(t[1]))&&(a=e?t[1]:l(t[1],s.duration),t[2]!==n&&(o=t[2]))):i=t,e||(a=a||s.easing),f.isFunction(i)&&(i=i.call(r,C,x)),f.isFunction(o)&&(o=o.call(r,C,x)),[i||0,a,o]}function h(t,e){var i,n;return n=(e||"0").toString().toLowerCase().replace(/[%A-z]+$/,function(t){return i=t,""}),i||(i=b.Values.getUnitType(t)),[n,i]}function w(){var t={myParent:r.parentNode||i.body,position:b.getPropertyValue(r,"position"),fontSize:b.getPropertyValue(r,"fontSize")},n=t.position===q.lastPosition&&t.myParent===q.lastParent,a=t.fontSize===q.lastFontSize;q.lastParent=t.myParent,q.lastPosition=t.position,q.lastFontSize=t.fontSize;var s=100,l={};if(a&&n)l.emToPx=q.lastEmToPx,l.percentToPxWidth=q.lastPercentToPxWidth,l.percentToPxHeight=q.lastPercentToPxHeight;else{var c=o(r).isSVG?i.createElementNS("http://www.w3.org/2000/svg","rect"):i.createElement("div");g.init(c),t.myParent.appendChild(c),d.each(["overflow","overflowX","overflowY"],function(t,e){g.CSS.setPropertyValue(c,e,"hidden")}),g.CSS.setPropertyValue(c,"position",t.position),g.CSS.setPropertyValue(c,"fontSize",t.fontSize),g.CSS.setPropertyValue(c,"boxSizing","content-box"),d.each(["minWidth","maxWidth","width","minHeight","maxHeight","height"],function(t,e){g.CSS.setPropertyValue(c,e,s+"%")}),g.CSS.setPropertyValue(c,"paddingLeft",s+"em"),l.percentToPxWidth=q.lastPercentToPxWidth=(parseFloat(b.getPropertyValue(c,"width",null,!0))||1)/s,l.percentToPxHeight=q.lastPercentToPxHeight=(parseFloat(b.getPropertyValue(c,"height",null,!0))||1)/s,l.emToPx=q.lastEmToPx=(parseFloat(b.getPropertyValue(c,"paddingLeft"))||1)/s,t.myParent.removeChild(c)}return null===q.remToPx&&(q.remToPx=parseFloat(b.getPropertyValue(i.body,"fontSize"))||16),null===q.vwToPx&&(q.vwToPx=parseFloat(e.innerWidth)/100,q.vhToPx=parseFloat(e.innerHeight)/100),l.remToPx=q.remToPx,l.vwToPx=q.vwToPx,l.vhToPx=q.vhToPx,g.debug>=1&&console.log("Unit ratios: "+JSON.stringify(l),r),l}if(s.begin&&0===C)try{s.begin.call(v,v)}catch(t){setTimeout(function(){throw t},1)}if("scroll"===S){var k,T,A,O=/^x$/i.test(s.axis)?"Left":"Top",_=parseFloat(s.offset)||0;s.container?f.isWrapped(s.container)||f.isNode(s.container)?(s.container=s.container[0]||s.container,A=(k=s.container["scroll"+O])+d(r).position()[O.toLowerCase()]+_):s.container=null:(k=g.State.scrollAnchor[g.State["scrollProperty"+O]],T=g.State.scrollAnchor[g.State["scrollProperty"+("Left"===O?"Top":"Left")]],A=d(r).offset()[O.toLowerCase()]+_),u={scroll:{rootPropertyValue:!1,startValue:k,currentValue:k,endValue:A,unitType:"",easing:s.easing,scrollData:{container:s.container,direction:O,alternateValue:T}},element:r},g.debug&&console.log("tweensContainer (scroll): ",u.scroll,r)}else if("reverse"===S){if(!o(r).tweensContainer)return void d.dequeue(r,s.queue);"none"===o(r).opts.display&&(o(r).opts.display="auto"),"hidden"===o(r).opts.visibility&&(o(r).opts.visibility="visible"),o(r).opts.loop=!1,o(r).opts.begin=null,o(r).opts.complete=null,y.easing||delete s.easing,y.duration||delete s.duration,s=d.extend({},o(r).opts,s);var M=d.extend(!0,{},o(r).tweensContainer);for(var E in M)if("element"!==E){var V=M[E].startValue;M[E].startValue=M[E].currentValue=M[E].endValue,M[E].endValue=V,f.isEmptyObject(y)||(M[E].easing=s.easing),g.debug&&console.log("reverse tweensContainer ("+E+"): "+JSON.stringify(M[E]),r)}u=M}else if("start"===S){for(var D in o(r).tweensContainer&&!0===o(r).isAnimating&&(M=o(r).tweensContainer),d.each(m,function(t,e){if(RegExp("^"+b.Lists.colors.join("$|^")+"$").test(t)){var i=p(e,!0),a=i[0],o=i[1],r=i[2];if(b.RegEx.isHex.test(a)){for(var s=["Red","Green","Blue"],l=b.Values.hexToRgb(a),c=r?b.Values.hexToRgb(r):n,u=0;u<s.length;u++){var d=[l[u]];o&&d.push(o),c!==n&&d.push(c[u]),m[t+s[u]]=d}delete m[t]}}}),m){var j=p(m[D]),L=j[0],z=j[1],F=j[2];
vendor: 6,658 bytes, line 3
3D=b.Names.camelCase(D);var N=b.Hooks.getRoot(D),Q=!1;if(o(r).isSVG||"tween"===N||!1!==b.Names.prefixCheck(N)[1]||b.Normalizations.registered[N]!==n){(s.display!==n&&null!==s.display&&"none"!==s.display||s.visibility!==n&&"hidden"!==s.visibility)&&/opacity|filter/.test(D)&&!F&&0!==L&&(F=0),s._cacheValues&&M&&M[D]?(F===n&&(F=M[D].endValue+M[D].unitType),Q=o(r).rootPropertyValueCache[N]):b.Hooks.registered[D]?F===n?(Q=b.getPropertyValue(r,N),F=b.getPropertyValue(r,D,Q)):Q=b.Hooks.templates[N][1]:F===n&&(F=b.getPropertyValue(r,D));var $,H,W,R=!1;if(F=($=h(D,F))[0],W=$[1],L=($=h(D,L))[0].replace(/^([+-\/*])=/,function(t,e){return R=e,""}),H=$[1],F=parseFloat(F)||0,L=parseFloat(L)||0,"%"===H&&(/^(fontSize|lineHeight)$/.test(D)?(L/=100,H="em"):/^scale/.test(D)?(L/=100,H=""):/(Red|Green|Blue)$/i.test(D)&&(L=L/100*255,H="")),/[\/*]/.test(R))H=W;else if(W!==H&&0!==F)if(0===L)H=W;else{a=a||w();var X=/margin|padding|left|right|width|text|word|letter/i.test(D)||/X$/.test(D)||"x"===D?"x":"y";switch(W){case"%":F*="x"===X?a.percentToPxWidth:a.percentToPxHeight;break;case"px":break;default:F*=a[W+"ToPx"]}switch(H){case"%":F*=1/("x"===X?a.percentToPxWidth:a.percentToPxHeight);break;case"px":break;default:F*=1/a[H+"ToPx"]}}switch(R){case"+":L=F+L;break;case"-":L=F-L;break;case"*":L*=F;break;case"/":L=F/L}u[D]={rootPropertyValue:Q,startValue:F,currentValue:F,endValue:L,unitType:H,easing:z},g.debug&&console.log("tweensContainer ("+D+"): "+JSON.stringify(u[D]),r)}else g.debug&&console.log("Skipping ["+N+"] due to a lack of browser support.")}u.element=r}u.element&&(b.Values.addClass(r,"velocity-animating"),I.push(u),""===s.queue&&(o(r).tweensContainer=u,o(r).opts=s),o(r).isAnimating=!0,C===x-1?(g.State.calls.push([I,v,s,null,P.resolver]),!1===g.State.isTicking&&(g.State.isTicking=!0,c())):C++)}var a,r=this,s=d.extend({},g.defaults,y),u={};switch(o(r)===n&&g.init(r),parseFloat(s.delay)&&!1!==s.queue&&d.queue(r,s.queue,function(t){g.velocityQueueEntryFlag=!0,o(r).delayTimer={setTimeout:setTimeout(t,parseFloat(s.delay)),next:t}}),s.duration.toString().toLowerCase()){case"fast":s.duration=200;break;case"normal":s.duration=400;break;case"slow":s.duration=600;break;default:s.duration=parseFloat(s.duration)||1}!1!==g.mock&&(!0===g.mock?s.duration=s.delay=1:(s.duration*=parseFloat(g.mock)||1,s.delay*=parseFloat(g.mock)||1)),s.easing=l(s.easing,s.duration),s.begin&&!f.isFunction(s.begin)&&(s.begin=null),s.progress&&!f.isFunction(s.progress)&&(s.progress=null),s.complete&&!f.isFunction(s.complete)&&(s.complete=null),s.display!==n&&null!==s.display&&(s.display=s.display.toString().toLowerCase(),"auto"===s.display&&(s.display=g.CSS.Values.getDisplayType(r))),s.visibility!==n&&null!==s.visibility&&(s.visibility=s.visibility.toString().toLowerCase()),s.mobileHA=s.mobileHA&&g.State.isMobile&&!g.State.isGingerbread,!1===s.queue?s.delay?setTimeout(t,s.delay):t():d.queue(r,s.queue,function(e,i){return!0===i?(P.promise&&P.resolver(v),!0):(g.velocityQueueEntryFlag=!0,void t())}),""!==s.queue&&"fx"!==s.queue||"inprogress"===d.queue(r)[0]||d.dequeue(r)}var s,p,h,v,m,y,k=arguments[0]&&(arguments[0].p||d.isPlainObject(arguments[0].properties)&&!arguments[0].properties.names||f.isString(arguments[0].properties));if(f.isWrapped(this)?(s=!1,h=0,v=this,p=this):(s=!0,h=1,v=k?arguments[0].elements||arguments[0].e:arguments[0]),v=a(v)){k?(m=arguments[0].properties||arguments[0].p,y=arguments[0].options||arguments[0].o):(m=arguments[h],y=arguments[h+1]);var x=v.length,C=0;if(!/^(stop|finish)$/i.test(m)&&!d.isPlainObject(y)){y={};for(var T=h+1;T<arguments.length;T++)f.isArray(arguments[T])||!/^(fast|normal|slow)$/i.test(arguments[T])&&!/^\d/.test(arguments[T])?f.isString(arguments[T])||f.isArray(arguments[T])?y.easing=arguments[T]:f.isFunction(arguments[T])&&(y.complete=arguments[T]):y.duration=arguments[T]}var S,P={promise:null,resolver:null,rejecter:null};switch(s&&g.Promise&&(P.promise=new g.Promise(function(t,e){P.resolver=t,P.rejecter=e})),m){case"scroll":S="scroll";break;case"reverse":S="reverse";break;case"finish":case"stop":d.each(v,function(t,e){o(e)&&o(e).delayTimer&&(clearTimeout(o(e).delayTimer.setTimeout),o(e).delayTimer.next&&o(e).delayTimer.next(),delete o(e).delayTimer)});var A=[];return d.each(g.State.calls,function(t,e){e&&d.each(e[1],function(i,a){var r=y===n?"":y;return!0!==r&&e[2].queue!==r&&(y!==n||!1!==e[2].queue)||void d.each(v,function(i,n){n===a&&((!0===y||f.isString(y))&&(d.each(d.queue(n,f.isString(y)?y:""),function(t,e){f.isFunction(e)&&e(null,!0)}),d.queue(n,f.isString(y)?y:"",[])),"stop"===m?(o(n)&&o(n).tweensContainer&&!1!==r&&d.each(o(n).tweensContainer,function(t,e){e.endValue=e.currentValue}),A.push(t)):"finish"===m&&(e[2].duration=1))})})}),"stop"===m&&(d.each(A,function(t,e){u(e,!0)}),P.promise&&P.resolver(v)),t();default:if(!d.isPlainObject(m)||f.isEmptyObject(m)){if(f.isString(m)&&g.Redirects[m]){var O=(E=d.extend({},y)).duration,_=E.delay||0;return!0===E.backwards&&(v=d.extend(!0,[],v).reverse()),d.each(v,function(t,e){parseFloat(E.stagger)?E.delay=_+parseFloat(E.stagger)*t:f.isFunction(E.stagger)&&(E.delay=_+E.stagger.call(e,t,x)),E.drag&&(E.duration=parseFloat(O)||(/^(callout|transition)/.test(m)?1e3:400),E.duration=Math.max(E.duration*(E.backwards?1-t/x:(t+1)/x),.75*E.duration,200)),g.Redirects[m].call(e,e,E||{},t,x,v,P.promise?P:n)}),t()}var M="Velocity: First argument ("+m+") was not a property map, a known action, or a registered redirect. Aborting.";return P.promise?P.rejecter(new Error(M)):console.log(M),t()}S="start"}var E,V,q={lastParent:null,lastPosition:null,lastFontSize:null,lastPercentToPxWidth:null,lastPercentToPxHeight:null,lastEmToPx:null,remToPx:null,vwToPx:null,vhToPx:null},I=[];if(d.each(v,function(t,e){f.isNode(e)&&r.call(e)}),(E=d.extend({},g.defaults,y)).loop=parseInt(E.loop),V=2*E.loop-1,E.loop)for(var D=0;V>D;D++){var j={delay:E.delay,progress:E.progress};D===V-1&&(j.display=E.display,j.visibility=E.visibility,j.complete=E.complete),w(v,"reverse",j)}return t()}};(g=d.extend(w,g)).animate=w;var k=e.requestAnimationFrame||h;return g.State.isMobile||i.hidden===n||i.addEventListener("visibilitychange",function(){i.hidden?(k=function(t){return setTimeout(function(){t(!0)},16)},c()):k=e.requestAnimationFrame||h}),t.Velocity=g,t!==e&&(t.fn.velocity=w,t.fn.velocity.defaults=g.defaults),d.each(["Down","Up"],function(t,e){g.Redirects["slide"+e]=function(t,i,a,o,r,s){var l=d.extend({},i),c=l.begin,u=l.complete,p={height:"",marginTop:"",marginBottom:"",paddingTop:"",paddingBottom:""},h={};l.display===n&&(l.display="Down"===e?"inline"===g.CSS.Values.getDisplayType(t)?"inline-block":"block":"none"),l.begin=function(){for(var i in c&&c.c
3all(r,r),p){h[i]=t.style[i];var n=g.CSS.getPropertyValue(t,i);p[i]="Down"===e?[n,0]:[0,n]}h.overflow=t.style.overflow,t.style.overflow="hidden"},l.complete=function(){for(var e in h)t.style[e]=h[e];u&&u.call(r,r),s&&s.resolver(r)},g(t,p,l)}}),d.each(["In","Out"],function(t,e){g.Redirects["fade"+e]=function(t,i,a,o,r,s){var l=d.extend({},i),c={opacity:"In"===e?1:0},u=l.complete;l.complete=a!==o-1?l.begin=null:function(){u&&u.call(r,r),s&&s.resolver(r)},l.display===n&&(l.display="In"===e?"auto":"none"),g(this,c,l)}}),g}jQuery.fn.velocity=jQuery.fn.animate}(window.jQuery||window.Zepto||window,window,document)}),Materialize={},Materialize.guid=function(){function t(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return function(){return t()+t()+"-"+t()+"-"+t()+"-"+t()+"-"+t()+t()+t()}}(),Materialize.elementOrParentIsFixed=function(t){var e=$(t),i=e.add(e.parents()),n=!1;return i.each(function(){if("fixed"===$(this).css("position"))return n=!0,!1}),n},Vel=$?$.Velocity:Velocity,jQuery.extend(jQuery.easing,{easeInOutMaterial:function(t,e,i,n,a){return(e/=a/2)<1?n/2*e*e+i:n/4*((e-=2)*e*e+2)+i}}),function(t){t(document).ready(function(){t.fn.reverse=[].reverse,t(document).on("mouseenter.fixedActionBtn",".fixed-action-btn",function(e){var i=t(this);i.find("ul .btn-floating").velocity({scaleY:".4",scaleX:".4",translateY:"40px"},{duration:0});var n=0;i.find("ul .btn-floating").reverse().each(function(){t(this).velocity({opacity:"1",scaleX:"1",scaleY:"1",translateY:"0"},{duration:80,delay:n}),n+=40})}),t(document).on("mouseleave.fixedActionBtn",".fixed-action-btn",function(e){var i=t(this);i.find("ul .btn-floating").velocity("stop",!0),i.find("ul .btn-floating").velocity({opacity:"0",scaleX:".4",scaleY:".4",translateY:"40px"},{duration:80})})})}(jQuery),function(t){t(document).ready(function(){t(document).on("click.card",".card",function(e){t(this).find(".card-reveal").length&&(t(e.target).is(t(".card-reveal .card-title"))||t(e.target).is(t(".card-reveal .card-title i"))?t(this).find(".card-reveal").velocity({translateY:0},{duration:225,queue:!1,easing:"easeInOutQuad",complete:function(){t(this).css({display:"none"})}}):(t(e.target).is(t(".card .activator"))||t(e.target).is(t(".card .activator i")))&&t(this).find(".card-reveal").css({display:"block"}).velocity("stop",!1).velocity({translateY:"-100%"},{duration:300,queue:!1,easing:"easeInOutQuad"}))})})}(jQuery),function(t){t.fn.collapsible=function(e){var i={accordion:void 0};return e=t.extend(i,e),this.each(function(){var i=t(this),n=t(this).find("> li > .collapsible-header"),a=i.data("collapsible");function o(e){n=i.find("> li > .collapsible-header"),e.hasClass("active")?e.parent().addClass("active"):e.parent().removeClass("active"),e.parent().hasClass("active")?e.siblings(".collapsible-body").stop(!0,!1).slideDown({duration:350,easing:"easeOutQuart",queue:!1,complete:function(){t(this).css("height","")}}):e.parent().hasClass("invalid")||e.siblings(".collapsible-body").stop(!0,!1).slideUp({duration:350,easing:"easeOutQuart",queue:!1,complete:function(){t(this).css("height","")}}),n.not(e).removeClass("active").parent().removeClass("active"),n.not(e).parent().not(".invalid").children(".collapsible-body").stop(!0,!1).slideUp({duration:350,easing:"easeOutQuart",queue:!1,complete:function(){t(this).css("height","")}})}function r(e){e.hasClass("active")?e.parent().addClass("active"):e.parent().removeClass("active"),e.parent().hasClass("active")?e.siblings(".collapsible-body").stop(!0,!1).slideDown({duration:350,easing:"easeOutQuart",queue:!1,complete:function(){t(this).css("height","")}}):e.siblings(".collapsible-body").stop(!0,!1).slideUp({duration:350,easing:"easeOutQuart",queue:!1,complete:function(){t(this).css("height","")}})}function s(t){return l(t).length>0}function l(t){return t.closest("li > .collapsible-header")}function c(e){if("undefined"!=typeof Page_Validators){i.find("li.invalid").removeClass("invalid");for(var n=0;n<Page_Validators.length;n++){var a,o=Page_Validators[n],r=t(o).closest(".collapsible > li");a=e?t(o).closest(".collapsible-body"):t(o).closest(".collapsible-body:visible"),r.length&&a.length&&i.find(o).length&&(e||ValidatorValidate(o),o.isvalid||r.addClass("invalid"))}ValidatorUpdateIsValid()}}
3i.off("click.collapse",".collapsible-header"),n.off("click.collapse"),e.accordion||"accordion"===a||void 0===a?((n=i.find("> li > .collapsible-header")).on("click.collapse",function(e){var i=t(e.target);s(i)&&(i=l(i));var n=i.parent(),a=n.hasClass("invalid");c(!1),n.hasClass("invalid")||(a||i.toggleClass("active"),o(i))}),c(!0),i.find("li.invalid > .collapsible-body").stop(!0,!1).slideDown({duration:350,easing:"easeOutQuart",queue:!1,complete:function(){t(this).css("height","")}}),o(n.filter(".active").first())):n.each(function(){t(this).on("click.collapse",function(e){var i=t(e.target);s(i)&&(i=l(i)),i.toggleClass("active"),r(i)}),t(this).hasClass("active")&&r(t(this))})})},t(document).ready(function(){t(".collapsible").collapsible()})}(jQuery),function(t){t.fn.scrollTo=function(e){return t(this).scrollTop(t(this).scrollTop()-t(this).offset().top+t(e).offset().top),this},t.fn.dropdown=function(e){var i={inDuration:300,outDuration:225,constrain_width:!0,hover:!1,gutter:0,belowOrigin:!1};this.each(function(){var n=t(this),a=t.extend({},i,e),o=t("#"+n.attr("data-activates"));function r(){void 0!==n.data("induration")&&(a.inDuration=n.data("inDuration")),void 0!==n.data("outduration")&&(a.outDuration=n.data("outDuration")),void 0!==n.data("constrainwidth")&&(a.constrain_width=n.data("constrainwidth")),void 0!==n.data("hover")&&(a.hover=n.data("hover")),void 0!==n.data("gutter")&&(a.gutter=n.data("gutter")),void 0!==n.data("beloworigin")&&(a.belowOrigin=n.data("beloworigin"))}function s(){r(),o.addClass("active"),!0===a.constrain_width&&o.css("width",n.outerWidth());var e=0;!0===a.belowOrigin&&(e=n.height());var i=n.offset().left,s=0,l=a.gutter;i+o.innerWidth()>t(window).width()&&(s=n.innerWidth()-o.innerWidth(),l*=-1);var c,u=n.offset().top-t(document).scrollTop()+e,d={position:"fixed","z-index":10};try{c=t(window.top).width()<768}catch(e){c=t(window).width()<768}c?t.extend(d,{left:0,right:0}):d.left=i+s+l,o.height()+u>t(window).height()?o.height()<u?d.bottom=t(window).height()-u:(t.extend(d,{top:u,"overflow-y":"auto","max-height":t(window).height()-u}),o.width(o.width()+16)):d.top=u,o.css(d),o.stop(!0,!0).css("opacity",0).slideDown({queue:!1,duration:a.inDuration,easing:"easeOutCubic",complete:function(){t(this).css("height","")}}).animate({opacity:1},{queue:!1,duration:a.inDuration,easing:"easeOutSine"})}function l(){o.fadeOut(a.outDuration),o.removeClass("active"),o.attr("style","")}if(r(),t(EndisForm()).append(o),a.hover){var c=!1;n.unbind("click."+n.attr("id")),n.on("mouseenter",function(t){!1===c&&(s(),c=!0)}),n.on("mouseleave",function(e){var i=e.toElement||e.relatedTarget;t(i).closest(".dropdown-content").is(o)||(o.stop(!0,!0),l(),c=!1)}),o.on("mouseleave",function(e){var i=e.toElement||e.relatedTarget;t(i).closest(".dropdown-button").is(n)||(o.stop(!0,!0),l(),c=!1)})}else n.unbind("click."+n.attr("id")),n.bind("click."+n.attr("id"),function(e){e.preventDefault(),n[0]!==e.currentTarget||o.hasClass("active")?o.hasClass("active")&&(l(),t(document).unbind("click."+o.attr("id"))):s(),o.hasClass("active")&&"always"!==n.attr("data-keep-open")&&t(document).bind("click."+o.attr("id"),function(e){var i=n.is(e.target)||n.find(e.target).length>0,a=o.is(e.target)||o.find(e.target).length>0;i||a&&("true"===n.attr("data-keep-open")||"true"===t(e.target).closest("li").attr("data-keep-open"))||(l(),t(document).unbind("click."+o.attr("id")))})});n.on("open",s),n.on("close",l)})},t(document).ready(function(){t(".dropdown-button").dropdown()})}(jQuery),function(t){t(document).ready(function(){Materialize.updateTextFields=function(){t("input[type=text], input[type=password], input[type=email], input[type=url], input[type=tel], input[type=number], input[type=search], textarea").each(function(e,i){t(i).val().length>0||void 0!==t(this).attr("placeholder")||is_webkit_autofill(t(this))||t(this).is(":focus")?t(this).siblings("label, i").addClass("active"):t(this).siblings("label, i").removeClass("active")})};var e="input[type=text], input[type=password], input[type=email], input[type=url], input[type=tel], input[type=number], input[type=search], textarea";t("input[autofocus]").siblings("label, i").addClass("active"),t(document).on("change",e,function(){0===t(this).val().length&&void 0===t(this).attr("placeholder")||t(this).siblings("label, i").addClass("active"),validate_field(t(this))}),t(document).ready(function(){Materialize.updateTextFields()}),t(document).on("reset",function(i){t(i.target).is("form")&&(t(this).find(e).removeClass("val
3id").removeClass("invalid"),t(this).find(e).siblings("label, i").removeClass("active"),t(this).find("select.initialized").each(function(){var e=t(this).find("option[selected]").text();t(this).siblings("input.select-dropdown").val(e)}))}),t(document).on("focus",e,function(){t(this).siblings("label, i").addClass("active")}),t(document).on("blur",e,function(){0!==t(this).val().length||void 0!==t(this).attr("placeholder")||is_webkit_autofill(t(this))||t(this).siblings("label, i").removeClass("active"),validate_field(t(this))}),is_webkit_autofill=function(t){try{return t.is(":-webkit-autofill")}catch(t){return!1}},validate_field=function(t){0===t.val().length?t.hasClass("validate")&&(t.removeClass("valid"),t.removeClass("invalid")):t.hasClass("validate")&&(t.is(":valid")?(t.removeClass("invalid"),t.addClass("valid")):(t.removeClass("valid"),t.addClass("invalid")))};var i=t(".hiddendiv").first();i.length||(i=t('<div class="hiddendiv common"></div>'),t("body").append(i));var n=".materialize-textarea";function a(e){i.text(e.val()+"\n");var n=i.html().replace(/\n/g,"<br>");i.html(n),e.is(":visible")?i.css("width",e.width()):i.css("width",t(window).width()/2),e.css("height",i.height())}t(n).each(function(){var e=t(this);e.val().length&&a(e)}),t("body").on("keyup keydown",n,function(){a(t(this))}),t(document).on("change",'.file-field input[type="file"]',function(){for(var e=t(this).closest(".file-field").find("input.file-path"),i=t(this)[0].files,n=[],a=0;a<i.length;a++)n.push(i[a].name);e.val(n.join(", ")),e.trigger("change")});var o=!1;t("input[type=range]").each(function(){var e=t('<span class="thumb"><span class="value"></span></span>');t(this).after(e)});var r=".range-field";t(document).on("mousedown",r,function(e){var i=t(this).children(".thumb");i.length<=0&&(i=t('<span class="thumb"><span class="value"></span></span>'),t(this).append(i)),o=!0,t(this).addClass("active"),i.hasClass("active")||i.velocity({height:"30px",width:"30px",top:"-20px",marginLeft:"-15px"},{duration:300,easing:"easeOutExpo"});var n=e.pageX-t(this).offset().left,a=t(this).outerWidth();n<0?n=0:n>a&&(n=a),i.addClass("active").css("left",n),i.find(".value").html(t(this).children("input[type=range]").val())}),t(document).on("mouseup",r,function(){o=!1,t(this).removeClass("active")}),t(document).on("mousemove",r,function(e){var i=t(this).children(".thumb");if(o){i.hasClass("active")||i.velocity({height:"30px",width:"30px",top:"-20px",marginLeft:"-15px"},{duration:300,easing:"easeOutExpo"});var n=e.pageX-t(this).offset().left,a=t(this).outerWidth();n<0?n=0:n>a&&(n=a),i.addClass("active").css("left",n),i.find(".value").html(t(this).children("input[type=range]").val())}}),t(document).on("mouseout",r,function(){if(!o){var e=t(this).children(".thumb");e.hasClass("active")&&e.velocity({height:"0",width:"0",top:"10px",marginLeft:"-6px"},{duration:100}),e.removeClass("active")}})}),t.fn.material_select=function(t){}}(jQuery),function(t,e,i,n){"use strict";function a(t,e,i){return setTimeout(u(t,i),e)}function o(t,e,i){return!!Array.isArray(t)&&(r(t,i[e],i),!0)}function r(t,e,i){var a;if(t)if(t.forEach)t.forEach(e,i);else if(t.length!==n)for(a=0;a<t.length;)e.call(i,t[a],a,t),a++;else for(a in t)t.hasOwnProperty(a)&&e.call(i,t[a],a,t)}function s(t,e,i){for(var a=Object.keys(e),o=0;o<a.length;)(!i||i&&t[a[o]]===n)&&(t[a[o]]=e[a[o]]),o++;return t}function l(t,e){return s(t,e,!0)}function c(t,e,i){var n,a=e.prototype;(n=t.prototype=Object.create(a)).constructor=t,n._super=a,i&&s(n,i)}function u(t,e){return function(){return t.apply(e,arguments)}}function d(t,e){return typeof t==et?t.apply(e&&e[0]||n,e):t}function p(t,e){return t===n?e:t}function h(t,e,i){r(g(e),function(e){t.addEventListener(e,i,!1)})}function f(t,e,i){r(g(e),function(e){t.removeEventListener(e,i,!1)})}function v(t,e){for(;t;){if(t==e)return!0;t=t.parentNode}return!1}function m(t,e){return t.indexOf(e)>-1}function g(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 w(t,e,i){for(var n=[],a=[],o=0;o<t.length;){var r=e?t[o][e]:t[o];y(a,r)<0&&n.push(t[o]),a[o]=r,o++}return i&&(n=e?n.sort(function(t,i){return t[e]>i[e]}):n.sort()),n}function k(t,e){for(var i,a,o=e[0].toUpperCase()+e.slice(1),r=0;r<K.length;){if((a=(i=K[r])?i+o:e)in t)return a;r++}return n}function x(t){var e=t.ownerDocument;return e.defaultView||e.parentWindow}function C(t,e){var i=this;this.manager=t,this.callback=e,this.element=t.element,this.target=t.options.inputTarget,this.domHandler=function(e){d(t.options.enable,[t])&&i.handler(e)},this.init()}function T(t,e,i){var n=i.pointers.length,a=i.changedPointers.length,o=e&pt&&0===n-a,r=e&(ft|vt)&&0===n-a;i.isFirst=!!o,i.isFinal=!!r,o&&(t.session={}),i.eventType=e,function(t,e){var i=t.session,n=e.pointers,a=n.length;i.firstInput||(i.firstInput=P(e)),a>1&&!i.firstMultiple?i.firstMultiple=P(e):1===a&&(i.firstMultiple=!1);var o=i.firstInput,r=i.firstMultiple,s=r?r.center:o.center,l=e.center=A(n);e.timeStamp=at(),e.deltaTime=e.timeStamp-o.timeStamp,e.angle=M(s,l),e.distance=_(s,l),function(t,e){var i=e.center,n=t.offsetDelta||{},a=t.prevDelta||{},o=t.prevInput||{};(e.eventType===pt||o.eventType===ft)&&(a=t.prevDelta={x:o.deltaX||0,y:o.deltaY||0},n=t.offsetDelta={x:i.x,y:i.y}),e.deltaX=a.x+(i.x-n.x),e.deltaY=a.y+(i.y-n.y)}(i,e),e.offsetDirection=O(e.deltaX,e.deltaY),e.scale=r?function(t,e){return _(e[0],e[1],St)/_(t[0],t[1],St)}(r.pointers,n):1,e.rotation=r?function(t,e){return M(e[1],e[0],St)-M(t[1],t[0],St)}(r.pointers,n):0,S(i,e);var c=t.element;v(e.srcEvent.target,c)&&(c=e.srcEvent.target),e.target=c}(t,i),t.emit("hammer.input",i),t.recognize(i),t.session.prevInput=i}function S(t,e){var i,a,o,r,s=t.lastInterval||e,l=e.timeStamp-s.timeStamp;if(e.eventType!=vt&&(l>dt||s.velocity===n)){var c=s.deltaX-e.deltaX,u=s.deltaY-e.deltaY,d=function(t,e,
vendor: 15,114 bytes, line 3
3i){return{x:e/t||0,y:i/t||0}}(l,c,u);a=d.x,o=d.y,i=nt(d.x)>nt(d.y)?d.x:d.y,r=O(c,u),t.lastInterval=e}else i=s.velocity,a=s.velocityX,o=s.velocityY,r=s.direction;e.velocity=i,e.velocityX=a,e.velocityY=o,e.direction=r}function P(t){for(var e=[],i=0;i<t.pointers.length;)e[i]={clientX:it(t.pointers[i].clientX),clientY:it(t.pointers[i].clientY)},i++;return{timeStamp:at(),pointers:e,center:A(e),deltaX:t.deltaX,deltaY:t.deltaY}}function A(t){var e=t.length;if(1===e)return{x:it(t[0].clientX),y:it(t[0].clientY)};for(var i=0,n=0,a=0;e>a;)i+=t[a].clientX,n+=t[a].clientY,a++;return{x:it(i/e),y:it(n/e)}}function O(t,e){return t===e?mt:nt(t)>=nt(e)?t>0?gt:yt:e>0?bt:wt}function _(t,e,i){i||(i=Tt);var n=e[i[0]]-t[i[0]],a=e[i[1]]-t[i[1]];return Math.sqrt(n*n+a*a)}function M(t,e,i){i||(i=Tt);var n=e[i[0]]-t[i[0]],a=e[i[1]]-t[i[1]];return 180*Math.atan2(a,n)/Math.PI}function E(){this.evEl=At,this.evWin=Ot,this.allow=!0,this.pressed=!1,C.apply(this,arguments)}function V(){this.evEl=Et,this.evWin=Vt,C.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}function q(){this.evTarget=It,this.evWin=Dt,this.started=!1,C.apply(this,arguments)}function I(t,e){var i=b(t.touches),n=b(t.changedTouches);return e&(ft|vt)&&(i=w(i.concat(n),"identifier",!0)),[i,n]}function D(){this.evTarget=Lt,this.targetIds={},C.apply(this,arguments)}function j(t,e){var i=b(t.touches),n=this.targetIds;if(e&(pt|ht)&&1===i.length)return n[i[0].identifier]=!0,[i,i];var a,o,r=b(t.changedTouches),s=[],l=this.target;if(o=i.filter(function(t){return v(t.target,l)}),e===pt)for(a=0;a<o.length;)n[o[a].identifier]=!0,a++;for(a=0;a<r.length;)n[r[a].identifier]&&s.push(r[a]),e&(ft|vt)&&delete n[r[a].identifier],a++;return s.length?[w(o.concat(s),"identifier",!0),s]:void 0}function L(){C.apply(this,arguments);var t=u(this.handler,this);this.touch=new D(this.manager,t),this.mouse=new E(this.manager,t)}function z(t,e){this.manager=t,this.set(e)}function F(t){this.id=ot++,this.manager=null,this.options=l(t||{},this.defaults),this.options.enable=p(this.options.enable,!0),this.state=Xt,this.simultaneous={},this.requireFail=[]}function N(t){return t==wt?"down":t==bt?"up":t==gt?"left":t==yt?"right":""}function Q(t,e){var i=e.manager;return i?i.get(t):t}function $(){F.apply(this,arguments)}function H(){$.apply(this,arguments),this.pX=null,this.pY=null}function W(){$.apply(this,arguments)}function R(){F.apply(this,arguments),this._timer=null,this._input=null}function X(){$.apply(this,arguments)}function Y(){$.apply(this,arguments)}function B(){F.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function U(t,e){return(e=e||{}).recognizers=p(e.recognizers,U.defaults.preset),new G(t,e)}function G(t,e){e=e||{},this.options=l(e,U.defaults),this.options.inputTarget=this.options.inputTarget||t,this.handlers={},this.session={},this.recognizers=[],this.element=t,this.input=function(t){var e=t.options.inputClass;return new(e||(st?V:lt?D:rt?L:E))(t,T)}(this),this.touchAction=new z(this,this.options.touchAction),Z(this,!0),r(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 Z(t,e){var i=t.element;r(t.options.cssProps,function(t,n){i.style[k(i.style,n)]=e?t:""})}function J(t,i){var n=e.createEvent("Event");n.initEvent(t,!0,!0),n.gesture=i,i.target.dispatchEvent(n)}var K=["","webkit","moz","MS","ms","o"],tt=e.createElement("div"),et="function",it=Math.round,nt=Math.abs,at=Date.now,ot=1,rt="ontouchstart"in t,st=k(t,"PointerEvent")!==n,lt=rt&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),ct="touch",ut="mouse",dt=25,pt=1,ht=2,ft=4,vt=8,mt=1,gt=2,yt=4,bt=8,wt=16,kt=gt|yt,xt=bt|wt,Ct=kt|xt,Tt=["x","y"],St=["clientX","clientY"];C.prototype={handler:function(){},init:function(){this.evEl&&h(this.element,this.evEl,this.domHandler),this.evTarget&&h(this.target,this.evTarget,this.domHandler),this.evWin&&h(x(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&f(this.element,this.evEl,this.domHandler),this.evTarget&&f(this.target,this.evTarget,this.domHandler),this.evWin&&f(x(this.element),this.evWin,this.domHandler)}};var Pt={mousedown:pt,mousemove:ht,mouseup:ft},At="mousedown",Ot="mousemove mouseup";c(E,C,{handler:function(t){var e=Pt[t.type];e&pt&&0===t.button&&(this.pressed=!0),e&ht&&1!==t.which&&(e=ft),this.pressed&&this.allow&&(e&ft&&(this.pressed=!1),this.callback(this.manager,e,{pointers:[t],changedPointers:[t],pointerType:ut,srcEvent:t}))}});var _t={pointerdown:pt,pointermove:ht,pointerup:ft,pointercancel:vt,pointerout:vt},Mt={2:ct,3:"pen",4:ut,5:"kinect"},Et="pointerdown",Vt="pointermove pointerup pointercancel";t.MSPointerEvent&&(Et="MSPointerDown",Vt="MSPointerMove MSPointerUp MSPointerCancel"),c(V,C,{handler:function(t){var e=this.store,i=!1,n=t.type.toLowerCase().replace("ms",""),a=_t[n],o=Mt[t.pointerType]||t.pointerType,r=o==ct,s=y(e,t.pointerId,"pointerId");a&pt&&(0===t.button||r)?0>s&&(e.push(t),s=e.length-1):a&(ft|vt)&&(i=!0),0>s||(e[s]=t,this.callback(this.manager,a,{pointers:e,changedPointers:[t],pointerType:o,srcEvent:t}),i&&e.splice(s,1))}});var qt={touchstart:pt,touchmove:ht,touchend:ft,touchcancel:vt},It="touchstart",Dt="touchstart touchmove touchend touchcancel";c(q,C,{handler:function(t){var e=qt[t.type];if(e===pt&&(this.started=!0),this.started){var i=I.call(this,t,e);e&(ft|vt)&&0===i[0].length-i[1].length&&(this.started=!1),this.callback(this.manager,e,{pointers:i[0],changedPointers:i[1],pointerType:ct,srcEvent:t})}}});var jt={touchstart:pt,touchmove:ht,touchend:ft,touchcancel:vt},Lt="touchstart touchmove touchend touchcancel";c(D,C,{handler:function(t){var e=jt[t.type],i=j.call(this,t,e);i&&this.callback(this.manager,e,{pointers:i[0],changedPointers:i[1],pointerType:ct,srcEvent:t})}}),c(L,C,{handler:function(t,e,i){var n=i.pointerType==ct,a=i.pointerType==ut;if(n)this.mouse.allow=!1;else if(a&&!this.mouse.allow)return;e&(ft|vt)&&(this.mouse.allow=!0),this.callback(t,e,i)},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var zt=k(tt.style,"touchAction"),Ft=zt!==n,Nt="compute",Qt="auto",$t="manipulation",Ht="none",Wt="pan-x",Rt="pan-y";z.prototype={set:function(t){t==Nt&&(t=this.compute()),Ft&&(this.manager.element.style[zt]=t),this.actions=t.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var t=[];return r(this.manager.recognizers,function(e){d(e.options.enable,[e])&&(t=t.concat(e.getTouchAction()))}),function(t){if(m(t,Ht))return Ht;var e=m(t,Wt),i=m(t,Rt);return e&&i?Wt+" "+Rt:e||i?e?Wt:Rt:m(t,$t)?$t:Qt}(t.join(" "))},preventDefaults:function(t){if(!Ft){var e=t.srcEvent,i=t.offsetDirection;if(this.manager.session.prevented)return void e.preventDefault();var n=this.actions,a=m(n,Ht),o=m(n,Rt),r=m(n,Wt);return a||o&&i&kt||r&&i&xt?this.preventSrc(e):void 0}},preventSrc:function(t){this.manager.session.prevented=!0,t.preventDefault()}};var Xt=1,Yt=2,Bt=4,Ut=8,Gt=Ut,Zt=16,Jt=32;F.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 e[(t=Q(t,this)).id]||(e[t.id]=t,t.recognizeWith(this)),this},dropRecognizeWith:function(t){return o(t,"dropRecognizeWith",this)||(t=Q(t,this),delete this.simultaneous[t.id]),this},requireFailure:function(t){if(o(t,"requireFailure",this))return this;var e=this.requireFail;return-1===y(e,t=Q(t,this))&&(e.push(t),t.requireFailure(this)),this},dropRequireFailure:function(t){if(o(t,"dropRequireFailure",this))return this;t=Q(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?function(t){return t&Zt?"cancel":t&Ut?"end":t&Bt?"move":t&Yt?"start":""}(n):""),t)}var i=this,n=this.state;Ut>n&&e(!0),e(),n>=Ut&&e(!0)},tryEmit:function(t){return this.canEmit()?this.emit(t):void(this.state=Jt)},canEmit:function(){for(var t=0;t<this.requireFail.length;){if(!(this.requireFail[t].state&(Jt|Xt)))return!1;t++}return!0},recognize:function(t){var e=s({},t);return d(this.options.enable,[this,e])?(this.state&(Gt|Zt|Jt)&&(this.state=Xt),this.state=this.process(e),void(this.state&(Yt|Bt|Ut|Zt)&&this.tryEmit(e))):(this.reset(),void(this.state=Jt))},process:function(){},getTouchAction:function(){},reset:function(){}},c($,F,{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&(Yt|Bt),a=this.attrTest(t);return n&&(i&vt||!a)?e|Zt:n||a?i&ft?e|Ut:e&Yt?e|Bt:Yt:Jt}}),c(H,$,{defaults:{event:"pan",threshold:10,pointers:1,direction:Ct},getTouchAction:function(){var t=this.options.direction,e=[];return t&kt&&e.push(Rt),t&xt&&e.push(Wt),e},directionTest:function(t){var e=this.options,i=!0,n=t.distance,a=t.direction,o=t.deltaX,r=t.deltaY;return a&e.direction||(e.direction&kt?(a=0===o?mt:0>o?gt:yt,i=o!=this.pX,n=Math.abs(t.deltaX)):(a=0===r?mt:0>r?bt:wt,i=r!=this.pY,n=Math.abs(t.deltaY))),t.direction=a,i&&n>e.threshold&&a&e.direction},attrTest:function(t){return $.prototype.attrTest.call(this,t)&&(this.state&Yt||!(this.state&Yt)&&this.directionTest(t))},emit:function(t){this.pX=t.deltaX,this.pY=t.deltaY;var e=N(t.direction);e&&this.manager.emit(this.options.event+e,t),this._super.emit.call(this,t)}}),c(W,$,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[Ht]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.scale-1)>this.options.threshold||this.state&Yt)},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)}}}),c(R,F,{defaults:{event:"press",pointers:1,time:500,threshold:5},getTouchAction:function(){return[Qt]},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&(ft|vt)&&!o)this.reset();else if(t.eventType&pt)this.reset(),this._timer=a(function(){this.state=Gt,this.tryEmit()},e.time,this);else if(t.eventType&ft)return Gt;return Jt},reset:function(){clearTimeout(this._timer)},emit:function(t){this.state===Gt&&(t&&t.eventType&ft?this.manager.emit(this.options.event+"up",t):(this._input.timeStamp=at(),this.manager.emit(this.options.event,this._input)))}}),c(X,$,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[Ht]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.rotation)>this.options.threshold||this.state&Yt)}}),c(Y,$,{defaults:{event:"swipe",threshold:10,velocity:.65,direction:kt|xt,pointers:1},getTouchAction:function(){return H.prototype.getTouchAction.call(this)},attrTest:function(t){var e,i=this.options.direction;return i&(kt|xt)?e=t.velocity:i&kt?e=t.velocityX:i&xt&&(e=t.velocityY),this._super.attrTest.call(this,t)&&i&t.direction&&t.distance>this.options.threshold&&nt(e)>this.options.velocity&&t.eventType&ft},emit:function(t){var e=N(t.direction);e&&this.manager.emit(this.options.event+e,t),this.manager.emit(this.options.event,t)}}),c(B,F,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:2,posThreshold:10},getTouchAction:function(){return[$t]},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!=ft)return this.failTimeout();var r=!this.pTime||t.timeStamp-this.pTime<e.interval,s=!this.pCenter||_(this.pCenter,t.center)<e.posThreshold;if(this.pTime=t.timeStamp,this.pCenter=t.center,s&&r?this.count+=1:this.count=1,this._input=t,0===this.count%e.taps)return this.hasRequireFailures()?(this._timer=a(function(){this.state=Gt,this.tryEmit()},e.interval,this),Yt):Gt}return Jt},failTimeout:function(){return this._timer=a(function(){this.state=Jt},this.options.interval,this),Jt},reset:function(){clearTimeout(this._timer)},emit:function(){this.state==Gt&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),U.VERSION="2.0.4",U.defaults={domEvents:!1,touchAction:Nt,enable:!0,inputTarget:null,inputClass:null,preset:[[X,{enable:!1}],[W,{enable:!1},["rotate"]],[Y,{direction:kt}],[H,{direction:kt},["swipe"]],[B],[B,{event:"doubletap",taps:2},["tap"]],[R]],cssProps:{userSelect:"default",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}};G.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?2:1},recognize:function(t){var e=this.session;if(!e.stopped){this.touchAction.preventDefaults(t);var i,n=this.recognizers,a=e.curRecognizer;(!a||a&&a.state&Gt)&&(a=e.curRecognizer=null);for(var o=0;o<n.length;)i=n[o],2===e.stopped||a&&i!=a&&!i.canRecognizeWith(a)?i.reset():i.recognize(t),!a&&i.state&(Yt|Bt|Ut)&&(a=e.curRecognizer=i),o++}},get:function(t){if(t instanceof F)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 r(g(t),function(t){i[t]=i[t]||[],i[t].push(e)}),this},off:function(t,e){var i=this.handlers;return r(g(t),function(t){e?i[t].splice(y(i[t],e),1):delete i[t]}),this},emit:function(t,e){this.options.domEvents&&J(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&&Z(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},s(U,{INPUT_START:pt,INPUT_MOVE:ht,INPUT_END:ft,INPUT_CANCEL:vt,STATE_POSSIBLE:Xt,STATE_BEGAN:Yt,STATE_CHANGED:Bt,STATE_ENDED:Ut,STATE_RECOGNIZED:Gt,STATE_CANCELLED:Zt,STATE_FAILED:Jt,DIRECTION_NONE:mt,DIRECTION_LEFT:gt,DIRECTION_RIGHT:yt,DIRECTION_UP:bt,DIRECTION_DOWN:wt,DIRECTION_HORIZONTAL:kt,DIRECTION_VERTICAL:xt,DIRECTION_ALL:Ct,Manager:G,Input:C,TouchAction:z,TouchInput:D,MouseInput:E,PointerEventInput:V,TouchMouseInput:L,SingleTouchInput:q,Recognizer:F,AttrRecognizer:$,Tap:B,Pan:H,Swipe:Y,Pinch:W,Rotate:X,Press:R,on:h,off:f,each:r,merge:l,extend:s,inherit:c,bindFn:u,prefixed:k}),typeof define==et&&define.amd?define(function(){return U}):"undefined"!=typeof module&&module.exports?module.exports=U:t.Hammer=U}(window,document),jQuery.easing.jswing=jQuery.easing.swing,jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(t,e,
vendor: 3,979 bytes, line 3
3i,n,a){return jQuery.easing[jQuery.easing.def](t,e,i,n,a)},easeInQuad:function(t,e,i,n,a){return n*(e/=a)*e+i},easeOutQuad:function(t,e,i,n,a){return-n*(e/=a)*(e-2)+i},easeInOutQuad:function(t,e,i,n,a){return(e/=a/2)<1?n/2*e*e+i:-n/2*(--e*(e-2)-1)+i},easeInCubic:function(t,e,i,n,a){return n*(e/=a)*e*e+i},easeOutCubic:function(t,e,i,n,a){return n*((e=e/a-1)*e*e+1)+i},easeInOutCubic:function(t,e,i,n,a){return(e/=a/2)<1?n/2*e*e*e+i:n/2*((e-=2)*e*e+2)+i},easeInQuart:function(t,e,i,n,a){return n*(e/=a)*e*e*e+i},easeOutQuart:function(t,e,i,n,a){return-n*((e=e/a-1)*e*e*e-1)+i},easeInOutQuart:function(t,e,i,n,a){return(e/=a/2)<1?n/2*e*e*e*e+i:-n/2*((e-=2)*e*e*e-2)+i},easeInQuint:function(t,e,i,n,a){return n*(e/=a)*e*e*e*e+i},easeOutQuint:function(t,e,i,n,a){return n*((e=e/a-1)*e*e*e*e+1)+i},easeInOutQuint:function(t,e,i,n,a){return(e/=a/2)<1?n/2*e*e*e*e*e+i:n/2*((e-=2)*e*e*e*e+2)+i},easeInSine:function(t,e,i,n,a){return-n*Math.cos(e/a*(Math.PI/2))+n+i},easeOutSine:function(t,e,i,n,a){return n*Math.sin(e/a*(Math.PI/2))+i},easeInOutSine:function(t,e,i,n,a){return-n/2*(Math.cos(Math.PI*e/a)-1)+i},easeInExpo:function(t,e,i,n,a){return 0==e?i:n*Math.pow(2,10*(e/a-1))+i},easeOutExpo:function(t,e,i,n,a){return e==a?i+n:n*(1-Math.pow(2,-10*e/a))+i},easeInOutExpo:function(t,e,i,n,a){return 0==e?i:e==a?i+n:(e/=a/2)<1?n/2*Math.pow(2,10*(e-1))+i:n/2*(2-Math.pow(2,-10*--e))+i},easeInCirc:function(t,e,i,n,a){return-n*(Math.sqrt(1-(e/=a)*e)-1)+i},easeOutCirc:function(t,e,i,n,a){return n*Math.sqrt(1-(e=e/a-1)*e)+i},easeInOutCirc:function(t,e,i,n,a){return(e/=a/2)<1?-n/2*(Math.sqrt(1-e*e)-1)+i:n/2*(Math.sqrt(1-(e-=2)*e)+1)+i},easeInElastic:function(t,e,i,n,a){var o=1.70158,r=0,s=n;if(0==e)return i;if(1==(e/=a))return i+n;if(r||(r=.3*a),s<Math.abs(n)){s=n;o=r/4}else o=r/(2*Math.PI)*Math.asin(n/s);return-s*Math.pow(2,10*(e-=1))*Math.sin((e*a-o)*(2*Math.PI)/r)+i},easeOutElastic:function(t,e,i,n,a){var o=1.70158,r=0,s=n;if(0==e)return i;if(1==(e/=a))return i+n;if(r||(r=.3*a),s<Math.abs(n)){s=n;o=r/4}else o=r/(2*Math.PI)*Math.asin(n/s);return s*Math.pow(2,-10*e)*Math.sin((e*a-o)*(2*Math.PI)/r)+n+i},easeInOutElastic:function(t,e,i,n,a){var o=1.70158,r=0,s=n;if(0==e)return i;if(2==(e/=a/2))return i+n;if(r||(r=a*(.3*1.5)),s<Math.abs(n)){s=n;o=r/4}else o=r/(2*Math.PI)*Math.asin(n/s);return e<1?s*Math.pow(2,10*(e-=1))*Math.sin((e*a-o)*(2*Math.PI)/r)*-.5+i:s*Math.pow(2,-10*(e-=1))*Math.sin((e*a-o)*(2*Math.PI)/r)*.5+n+i},easeInBack:function(t,e,i,n,a,o){return null==o&&(o=1.70158),n*(e/=a)*e*((o+1)*e-o)+i},easeOutBack:function(t,e,i,n,a,o){return null==o&&(o=1.70158),n*((e=e/a-1)*e*((o+1)*e+o)+1)+i},easeInOutBack:function(t,e,i,n,a,o){return null==o&&(o=1.70158),(e/=a/2)<1?n/2*(e*e*((1+(o*=1.525))*e-o))+i:n/2*((e-=2)*e*((1+(o*=1.525))*e+o)+2)+i},easeInBounce:function(t,e,i,n,a){return n-jQuery.easing.easeOutBounce(t,a-e,0,n,a)+i},easeOutBounce:function(t,e,i,n,a){return(e/=a)<1/2.75?n*(7.5625*e*e)+i:e<2/2.75?n*(7.5625*(e-=1.5/2.75)*e+.75)+i:e<2.5/2.75?n*(7.5625*(e-=2.25/2.75)*e+.9375)+i:n*(7.5625*(e-=2.625/2.75)*e+.984375)+i},easeInOutBounce:function(t,e,i,n,a){return e<a/2?.5*jQuery.easing.easeInBounce(t,2*e,0,n,a)+i:.5*jQuery.easing.easeOutBounce(t,2*e-a,0,n,a)+.5*n+i}}),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){var i;t.fn.hammer=function(i){return this.each(function(){!function(i,n){var a=t(i);a.data("hammer")||a.data("hammer",new e(a[0],n))}(this,i)})},e.Manager.prototype.emit=(i=e.Manager.prototype.emit,function(e,n){i.call(this,e,n),t(this.element).trigger({type:e,gesture:n})})}),function(t){t.fn.extend({openModal:function(e){var i=this,n={opacity:.5,in_duration:350,out_duration:250,ready:void 0,complete:void 0,dismissible:!0,appendOverlaySelector:"form",appendModalSelector:"form"};if(e=t.extend(n,e),!t("#lean-overlay").length){var a=t('<div id="lean-overlay"></div>');a.css({display:"block",opacity:0}
3),t(e.appendOverlaySelector).first().append(a)}e.appendModalSelector&&t(e.appendModalSelector).first().append(i),e.dismissible&&(t("#lean-overlay").click(function(){t(i).closeModal(e)}),t(document).on("keyup.leanModal",function(n){27===n.keyCode&&t(i).closeModal(e)})),t(i).find(".modal-close").filter(function(){return i[0]==t(this).closest(".modal")[0]}).click(function(n){t(i).closeModal(e)});var o=0;t(this).closest("body").find("div:visible").each(function(){var e=parseInt(t(this).css("z-index"));o=e>o?e:o}),"undefined"!=typeof dlg&&dlg.wndOpener.$("div:visible").each(function(){var e=parseInt(t(this).css("z-index"));o=e>o?e:o}),t(i).css({display:"block",opacity:0,"z-index":o+2}),t(i).data("old_overlay_zi",parseInt(t("#lean-overlay").css("z-index"))),t("#lean-overlay").velocity({opacity:e.opacity},{duration:e.in_duration,queue:!1,ease:"easeOutCubic"}),t("#lean-overlay").css({"z-index":o+1,display:"block"}),t(i).removeClass("modal-closed").addClass("modal-open"),t(i).hasClass("bottom-sheet")?t(i).velocity({bottom:"0",opacity:1},{duration:e.in_duration,queue:!1,ease:"easeOutCubic",complete:function(){"function"==typeof e.ready&&e.ready()}}):t(i).hasClass("right-sheet")?t(i).velocity({right:"0",opacity:1},{duration:e.in_duration,queue:!1,ease:"easeOutCubic",complete:function(){"function"==typeof e.ready&&e.ready()}}):(t(i).css({top:"4%"}),t(i).velocity({top:"10%",opacity:1},{duration:e.in_duration,queue:!1,ease:"easeOutCubic",complete:function(){"function"==typeof e.ready&&e.ready()}}))}}),t.fn.extend({closeModal:function(e){var i={out_duration:250,complete:void 0};e=t.extend(i,e);if(!t(this).hasClass("modal-closed")){if("function"==typeof e.validate)if(!e.validate())return;var n=1==t(".modal:visible").length;n?(t(".modal-close").off(),t(document).off("keyup.leanModal"),t("#lean-overlay").velocity({opacity:0},{duration:e.out_duration,queue:!1,ease:"easeOutQuart"})):t("#lean-overlay").css("z-index",t(this).data("old_overlay_zi")),t(this).removeClass("modal-open").addClass("modal-closed"),t(this).hasClass("bottom-sheet")?t(this).velocity({bottom:"-100%",opacity:0}
3,{duration:e.out_duration,queue:!1,ease:"easeOutCubic",complete:function(){n&&t("#lean-overlay").css({display:"none"}),"function"==typeof e.complete&&e.complete(),n&&t("#lean-overlay").remove()}}):t(this).hasClass("right-sheet")?t(this).velocity({right:"-100%",opacity:0},{duration:e.out_duration,queue:!1,ease:"easeOutCubic",complete:function(){n&&t("#lean-overlay").css({display:"none"}),"function"==typeof e.complete&&e.complete(),n&&t("#lean-overlay").remove()}}):t(this).fadeOut(e.out_duration,function(){t(this).css({top:0}),n&&t("#lean-overlay").css({display:"none"}),"function"==typeof e.complete&&e.complete(),n&&t("#lean-overlay").remove()})}}}),t.fn.extend({leanModal:function(e){return this.each(function(){t(this).click(function(i){var n=t(this).attr("href")||"#"+t(this).data("target");t(n).openModal(e),i.preventDefault()})})}})}(jQuery),function(t){t.fn.materialbox=function(){return this.each(function(){if(!t(this).hasClass("intialized")){t(this).addClass("intialized");var e=!1,i=!0,n=275,a=t(this),o=t("<div></div>").addClass("material-placeholder");a.wrap(o),a.on("click",function(){var o=a.parent(".material-placeholder"),s=window.innerWidth,l=window.innerHeight,c=a.width(),u=a.height();if(!1===i)return r(),!1;if(e&&!0===i)return r(),!1;i=!1,a.addClass("active"),e=!0,o.css({width:o[0].getBoundingClientRect().width,height:o[0].getBoundingClientRect().height,position:"relative",top:0,left:0}),a.css({position:"absolute","z-index":1e3}).data("width",c).data("height",u);var d=t('<div id="materialbox-overlay"></div>').css({opacity:0}).click(function(){!0===i&&r()});if(t("body").append(d),d.velocity({opacity:1},{duration:n,queue:!1,easing:"easeOutQuad"}),""!==a.data("caption")){var p=t('<div class="materialbox-caption"></div>');p.text(a.data("caption")),t("body").append(p),p.css({display:"inline"}),p.velocity({opacity:1},{duration:n,queue:!1,easing:"easeOutQuad"})}var h=0,f=0;c/s>u/l?(h=.9*s,f=.9*s*(u/c)):(h=.9*l*(c/u),f=.9*l),a.hasClass("responsive-img")?a.velocity({"max-width":h,width:c},{duration:0,queue:!1,complete:function(){a.css({left:0,top:0}).velocity({height:f,width:h,left:t(document).scrollLeft()+s/2-a.parent(".material-placeholder").offset().left-h/2,top:t(document).scrollTop()+l/2-a.parent(".material-placeholder").offset().top-f/2},{duration:n,queue:!1,easing:"easeOutQuad",complete:function(){i=!0}})}}):a.css("left",0).css("top",0).velocity({height:f,width:h,left:t(document).scrollLeft()+s/2-a.parent(".material-placeholder").offset().left-h/2,top:t(document).scrollTop()+l/2-a.parent(".material-placeholder").offset().top-f/2},{duration:n,queue:!1,easing:"easeOutQuad",complete:function(){i=!0}})}),t(window).scroll(function(){e&&r()}),t(document).keyup(function(t){27===t.keyCode&&!0===i&&e&&r()})}function r(){i=!1;var n=a.parent(".material-placeholder"),o=(window.innerWidth,window.innerHeight,a.data("width")),r=a.data("height");a.velocity("stop",!0),t("#materialbox-overlay").velocity("stop",!0),t(".materialbox-caption").velocity("stop",!0),t("#materialbox-overlay").velocity({opacity:0},{duration:200,queue:!1,easing:"easeOutQuad",complete:function(){e=!1,t(this).remove()}}),a.velocity({width:o,height:r,left:0,top:0},{duration:200,queue:!1,easing:"easeOutQuad"}),t(".materialbox-caption").velocity({opacity:0},{duration:200,queue:!1,easing:"easeOutQuad",complete:function(){n.css({height:"",width:"",position:"",top:"",left:""}),a.css({height:"",top:"",left:"",width:"","max-width":"",position:"","z-index":""}),a.removeClass("active"),i=!0,t(this).remove()}})}})},t(document).ready(function(){t(".materialboxed").materialbox()})}(jQuery),function(t){t.fn.parallax=function(){var e=t(window).width();return this.each(function(i){var n=t(this);function a(i){var a;a=e<601?n.height()>0?n.height():n.children("img").height():n.height()>0?n.height():500;var o=n.children("img").first(),r=o.height()-a,s=n.offset().top+a,l=n.offset().top,c=t(window).scrollTop(),u=window.innerHeight,d=(c+u-l)/(a+u),p=Math.round(r*d);i&&o.css("display","block"),s>c&&l<c+u&&o.css("transform","translate3D(-50%,"+p+"px, 0)")}n.addClass("parallax"),n.children("img").one("load",function(){a(!0)}).each(function(){this.complete&&t(this).load()}),t(window).scroll(function(){e=t(window).width(),a(!1)}),t(window).resize(function(){e=t(window).width(),a(!1)})})}}(jQuery),function(t){t(document).ready(function(){t.fn.pushpin=function(e){var i={top:0,bottom:1/0,offset:0};return e=t.extend(i,e),$index=0,this.each(function(){var i=Materialize.guid(),n=t(this),a=t(this).offset().top;function o(t){t.removeClass("pin-top"),t.removeClass("pinned"),t.removeClass("pin-bottom")}function r(i,n){i.each(function(){e.top<=n&&e.bottom>=n&&!t(this).hasClass("pinned")&&(o(t(this)),t(this).css("top",e.offset),t(this).addClass("pinned")),n<e.top&&!t(this).hasClass("pin-top")&&(o(t(this)),t(this).css("top",0),t(this).addClass("pin-top")),n>e.bottom&&!t(this).hasClass("pin-bottom")&&(o(t(this)),t(this).addClass("pin-bottom"),t(this).css("top",e.bottom-a))})}r(n,t(window).scrollTop()),t(window).on("scroll."+i,function(){var i=t(window).scrollTop()+e.offset;r(n,i)})})}})}(jQuery),jQuery,Materialize.scrollFire=function(t){var e=!1;window.addEventListener("scroll",function(){e=!0}),setInterval(function(){if(e){e=!1;for(var i=window.pageYOffset+window.innerHeight,n=0;n<t.length;n++){var a=t[n],o=a.selector,r=a.offset,s=a.callback,l=document.querySelector(o);null!==l&&i>l.getBoundingClientRect().top+document.body.scrollTop+r&&1!=a.done&&(new Function(s)(),a.done=!0)}}},100)}, 4/** 5 * Extend jquery with a scrollspy plugin. 6 * This watches the window scroll and fires events when elements are scrolled into viewport. 7 * 8 * throttle() and getTime() taken from Underscore.js 9 * https://github.com/jashkenas/underscore 10 * 11 * @author Copyright 2013 John Smart 12 * @license https://raw.github.com/thesmart/jquery-scrollspy/master/LICENSE 13 * @see https://github.com/thesmart 14 * @version 0.1.2 15 */ 16function(t){var e=t(window),i=[],n=[],a=!1,o=0,r={top:0,right:0,bottom:0,left:0};function s(){++o;var a=e.scrollTop(),s=e.scrollLeft(),l=s+e.width(),c=a+e.height(),u=function(e,n,a,o){var r=t();return t.each(i,function(t,i){if(i.height()>0){var s=i.offset().top,l=i.offset().left,c=l+i.width(),u=s+i.height();!(l>n||c<o||s>a||u<e)&&r.push(i)}}),r}(a+r.top+200,l+r.right,c+r.bottom,s+r.left);t.each(u,function(t,e){"number"!=typeof e.data("scrollSpy:ticks")&&e.triggerHandler("scrollSpy:enter"),e.data("scrollSpy:ticks",o)}),t.each(n,function(t,e){var i=e.data("scrollSpy:ticks");"number"==typeof i&&i!==o&&(e.triggerHandler("scrollSpy:exit"),e.data("scrollSpy:ticks",null))}),n=u}function l(){e.trigger("scrollSpy:winSize")} 17/** 18 * Get time in ms 19 * @license https://raw.github.com/jashkenas/underscore/master/LICENSE 20 * @type {function} 21 * @return {number} 22 */var c=Date.now||function(){return(new Date).getTime()};
23/** 24 * Returns a function, that, when invoked, will only be triggered at most once 25 * during a given window of time. Normally, the throttled function will run 26 * as much as it can, without ever going more than once per `wait` duration; 27 * but if you'd like to disable the execution on the leading edge, pass 28 * `{leading: false}`. To disable execution on the trailing edge, ditto. 29 * @license https://raw.github.com/jashkenas/underscore/master/LICENSE 30 * @param {function} func 31 * @param {number} wait 32 * @param {Object=} options 33 * @returns {Function} 34 */function u(t,e,i){var n,a,o,r=null,s=0;i||(i={});var l=function(){s=!1===i.leading?0:c(),r=null,o=t.apply(n,a),n=a=null};return function(){var u=c();s||!1!==i.leading||(s=u);var d=e-(u-s);return n=this,a=arguments,d<=0?(clearTimeout(r),r=null,s=u,o=t.apply(n,a),n=a=null):r||!1===i.trailing||(r=setTimeout(l,d)),o}}t.scrollSpy=function(n,o){var l=[];(n=t(n)).each(function(e,n){i.push(t(n)),t(n).data("scrollSpy:id",e),t("a[href=#"+t(n).attr("id")+"]").click(function(e){e.preventDefault();var i=t(this.hash).offset().top+1;t("html, body").animate({scrollTop:i-200},{duration:400,queue:!1,easing:"easeOutCubic"})})}),o=o||{throttle:100},r.top=o.offsetTop||0,r.right=o.offsetRight||0,r.bottom=o.offsetBottom||0,r.left=o.offsetLeft||0;var c=u(s,o.throttle||100),d=function(){t(document).ready(c)};return a||(e.on("scroll",d),e.on("resize",d),a=!0),setTimeout(d,0),n.on("scrollSpy:enter",function(){l=t.grep(l,function(t){return 0!=t.height()});var e=t(this);l[0]?(t("a[href=#"+l[0].attr("id")+"]").removeClass("active"),e.data("scrollSpy:id")<l[0].data("scrollSpy:id")?l.unshift(t(this)):l.push(t(this))):l.push(t(this)),t("a[href=#"+l[0].attr("id")+"]").addClass("active")}),n.on("scrollSpy:exit",function(){if((l=t.grep(l,function(t){return 0!=t.height()}))[0]){t("a[href=#"+l[0].attr("id")+"]").removeClass("active");var e=t(this);(l=t.grep(l,function(t){return t.attr("id")!=e.attr("id")}))[0]&&t("a[href=#"+l[0].attr("id")+"]").addClass("active")}}),n},t.winSizeSpy=function(i){return t.winSizeSpy=function(){return e},i=i||{throttle:100},e.on("resize",u(l,i.throttle||100))},t.fn.scrollSpy=function(e){return t.scrollSpy(t(this),e)}}(jQuery),function(t){var e={init:function(e){e=t.extend({menuWidth:240,edge:"left",closeOnClick:!1},e),t(this).each(function(){var i=t(this),n=t("#"+i.attr("data-activates"));function a(i){o=!1,t("#sidenav-overlay").velocity({opacity:0},{duration:200,queue:!1,easing:"easeOutQuad",complete:function(){t(this).remove()}}),"left"===e.edge?(t(".drag-target").css({width:"",right:"",left:"0"}),n.velocity({left:-1*(e.menuWidth+10)},{duration:200,queue:!1,easing:"easeOutCubic",complete:function(){1==i&&(n.removeAttr("style"),n.css("width",e.menuWidth))}})):(t(".drag-target").css({width:"",right:"0",left:""}),n.velocity({right:-1*(e.menuWidth+10)},{duration:200,queue:!1,easing:"easeOutCubic",complete:function(){1==i&&(n.removeAttr("style"),n.css("width",e.menuWidth))}})),n.removeClass("side-nav-open"),t("body").removeClass("has-open-side-nav")}t("body").append(t('<div class="drag-target"></div>')),"left"==e.edge?(n.css("left",-1*(e.menuWidth+10)),t(".drag-target").css({left:0})):(n.addClass("right-aligned").css("right",-1*(e.menuWidth+10)).css("left",""),t(".drag-target").css({right:0})),n.hasClass("fixed")&&t(window).width()>992&&n.css("left",0),n.hasClass("fixed")&&t(window).resize(function(){window.innerWidth>992?0!=t("#sidenav-overlay").css("opacity")&&o?a(!0):(n.removeAttr("style"),n.css("width",e.menuWidth)):!1===o&&("left"===e.edge?n.css("left",-1*(e.menuWidth+10)):n.css("right",-1*(e.menuWidth+10)))}),1==e.closeOnClick&&n.on("click.itemclick","a:not(.collapsible-header)",function(){a()});var o=!1;t(".drag-target").on("click",function(){a()}),t(".drag-target").hammer({prevent_default:!1}).bind("pan",function(i){if("touch"==i.gesture.pointerType){i.gesture.direction;var r=i.gesture.center.x;i.gesture.center.y,i.gesture.velocityX;if(0===t("#sidenav-overlay").length){var s=t('<div id="sidenav-overlay"></div>');s.css("opacity",0).click(function(){a()}),t("body").append(s)}if("left"===e.edge&&(r>e.menuWidth?r=e.menuWidth:r<0&&(r=0)),"left"===e.edge)r<e.menuWidth/2?o=!1:r>=e.menuWidth/2&&(o=!0),n.css("left",r-e.menuWidth);else{r<t(window).width()-e.menuWidth/2?o=!0:r>=t(window).width()-e.menuWidth/2&&(o=!1);var l=-1*(r-e.menuWidth/2);l>0&&(l=0),n.css("right",l)}if("left"===e.edge){var c=r/e.menuWidth;t("#sidenav-overlay").velocity({opacity:c},{duration:50,queue:!1,easing:"easeOutQuad"})}else{c=Math.abs((r-t(window).width())/e.menuWidth);t("#sidenav-overlay").velocity({opacity:c},{duration:50,queue:!1,easing:"easeOutQuad"})}}}).bind("panend",function(i){if("touch"==i.gesture.pointerType){var a=i.gesture.velocityX;"left"===e.edge?o&&a<=.3||a<-.5?(n.velocity({left:0},{duration:300,queue:!1,easing:"easeOutQuad"}),t("#sidenav-overlay").velocity({opacity:1},{duration:50,queue:!1,easing:"easeOutQuad"}),t(".drag-target").css({width:"50%",right:0,left:""})):(!o||a>.3)&&(n.velocity({left:-1*(e.menuWidth+10)},{duration:200,queue:!1,easing:"easeOutQuad"}),t("#sidenav-overlay").velocity({opacity:0}
34,{duration:200,queue:!1,easing:"easeOutQuad",complete:function(){t(this).remove()}}),t(".drag-target").css({width:"10px",right:"",left:0})):o&&a>=-.3||a>.5?(n.velocity({right:0},{duration:300,queue:!1,easing:"easeOutQuad"}),t("#sidenav-overlay").velocity({opacity:1},{duration:50,queue:!1,easing:"easeOutQuad"}),t(".drag-target").css({width:"50%",right:"",left:0})):(!o||a<-.3)&&(n.velocity({right:-1*(e.menuWidth+10)},{duration:200,queue:!1,easing:"easeOutQuad"}),t("#sidenav-overlay").velocity({opacity:0},{duration:200,queue:!1,easing:"easeOutQuad",complete:function(){t(this).remove()}}),t(".drag-target").css({width:"10px",right:0,left:""}))}}),i.click(function(){if(!(t(window).width()>992&&n.hasClass("fixed"))){if(1==o)o=!1,a();else{"left"===e.edge?(t(".drag-target").css({width:"50%",right:0,left:""}),n.velocity({left:0},{duration:300,queue:!1,easing:"easeOutQuad"})):(t(".drag-target").css({width:"50%",right:"",left:0}),n.velocity({right:0},{duration:300,queue:!1,easing:"easeOutQuad"}),n.css("left","")),n.addClass("side-nav-open");var i=t('<div id="sidenav-overlay"></div>');i.css("opacity",0).click(function(){o=!1,a(),i.velocity({opacity:0},{duration:300,queue:!1,easing:"easeOutQuad",complete:function(){t(this).remove()}})}),t("body").append(i),i.velocity({opacity:1},{duration:300,queue:!1,easing:"easeOutQuad",complete:function(){o=!0}}),t("body").addClass("has-open-side-nav")}return!1}})})},show:function(){this.trigger("click")},hide:function(){t("#sidenav-overlay").trigger("click")}};t.fn.sideNav=function(i){return e[i]?e[i].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof i&&i?void t.error("Method "+i+" does not exist on jQuery.tooltip"):e.init.apply(this,arguments)}}(jQuery),function(t){t.fn.slider=function(e){return e=t.extend({indicators:!0,height:400,transition:500,interval:6e3},e),this.each(function(){var i,n=t(this),a=n.find("ul.slides").first(),o=a.find("li"),r=a.find(".active").index();function s(t,e){t.hasClass("center-align")?t.velocity({opacity:0,translateY:-100},{duration:e,queue:!1}):t.hasClass("right-align")?t.velocity({opacity:0,translateX:100},{duration:e,queue:!1}):t.hasClass("left-align")&&t.velocity({opacity:0,translateX:-100},{duration:e,queue:!1})}function l(t){t>=o.length?t=0:t<0&&(t=o.length-1),(r=a.find(".active").index())!=t&&(i=o.eq(r),$caption=i.find(".caption"),i.removeClass("active"),i.velocity({opacity:0},{duration:e.transition,queue:!1,easing:"easeOutQuad",complete:function(){o.not(".active").velocity({opacity:0,translateX:0,translateY:0},{duration:0,queue:!1})}}),s($caption,e.transition),e.indicators&&c.eq(r).removeClass("active"),o.eq(t).velocity({opacity:1},{duration:e.transition,queue:!1,easing:"easeOutQuad"}),o.eq(t).find(".caption").velocity({opacity:1,translateX:0,translateY:0},{duration:e.transition,delay:e.transition,queue:!1,easing:"easeOutQuad"}),o.eq(t).addClass("active"),e.indicators&&c.eq(t).addClass("active"))}if(-1!=r&&(i=o.eq(r)),400!=e.height&&(n.height(e.height+40),a.height(e.height)),o.find(".caption").each(function(){s(t(this),0)}),o.find("img").each(function(){t(this).css("background-image","url("+t(this).attr("src")+")"),t(this).attr("src","data:image/gif;base64,R0lGODlhAQABAIABAP///wAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==")}),e.indicators){var c=t('<ul class="indicators"></ul>');o.each(function(i){var n=t('<li class="indicator-item"></li>');n.click(function(){l(a.parent().find(t(this)).index()),clearInterval($interval),$interval=setInterval(function(){r=a.find(".active").index(),o.length==r+1?r=0:r+=1,l(r)},e.transition+e.interval)}),c.append(n)}),n.append(c),c=n.find("ul.indicators").find("li.indicator-item")}i?i.show():(o.first().addClass("active").velocity({opacity:1},{duration:e.transition,queue:!1,easing:"easeOutQuad"}),r=0,i=o.eq(r),e.indicators&&c.eq(r).addClass("active")),i.find("img").each(function(){i.find(".caption").velocity({opacity:1,translateX:0,translateY:0},{duration:e.transition,queue:!1,easing:"easeOutQuad"})}),$interval=setInterval(function(){l((r=a.find(".active").index())+1)},e.transition+e.interval);var u=!1,d=!1;n.hammer({prevent_default:!1}).bind("pan",function(t){if("touch"===t.gesture.pointerType){clearInterval($interval);var e,i=t.gesture.direction,r=t.gesture.deltaX,s=t.gesture.velocityX;$curr_slide=a.find(".active"),$curr_slide.velocity({translateX:r},{duration:50,queue:!1,easing:"easeOutQuad"}),4===i&&(r>n.innerWidth()/2||s<-.65)?d=!0:2===i&&(r<-1*n.innerWidth()/2||s>.65)&&(u=!0),u&&(0===(e=$curr_slide.next()).length&&(e=o.first()),e.velocity({opacity:1},{duration:300,queue:!1,easing:"easeOutQuad"})),d&&(0===(e=$curr_slide.prev()).length&&(e=o.last()),e.velocity({opacity:1},{duration:300,queue:!1,easing:"easeOutQuad"}))}}).bind("panend",function(t){"touch"===t.gesture.pointerType&&($curr_slide=a.find(".active"),curr_index=a.find(".active").index(),d||u?u?(l(curr_index+1),$curr_slide.velocity({translateX:-1*n.innerWidth()},{duration:300,queue:!1,easing:"easeOutQuad",complete:function(){$curr_slide.velocity({opacity:0,translateX:0},{duration:0,queue:!1})}})):d&&(l(curr_index-1),$curr_slide.velocity({translateX:n.innerWidth()},{duration:300,queue:!1,easing:"easeOutQuad",complete:function(){$curr_slide.velocity({opacity:0,translateX:0},{duration:0,queue:!1})}})):$curr_slide.velocity({translateX:0},{duration:300,queue:!1,easing:"easeOutQuad"}),u=!1,d=!1,clearInterval($interval),$interval=setInterval(function(){r=a.find(".active").index(),o.length==r+1?r=0:r+=1,l(r)},e.transition+e.interval))})})}}(jQuery),function(t){var e={init:function(){return this.each(function(){var e,i,n,a=t(this),o=(t(window).width(),a.find("li.tab a"));function r(){var e,i=a[0],n=a.find(".settings-tab");if(n.length){var o=a.children().not(".settings-tab").last(),r=a.width()-n.width();e=a.scrollLeft()||o.position().left+o.width()>r}else e=a.scrollLeft()>0||i.scrollWidth-i.clientWidth>1;if(e){a.siblings(".tab-scrolling-arrow").show(),a.addClass("scrolled");var s=Math.abs(i.scrollWidth-a.scrollLeft()-a.outerWidth())<3;a.siblings(".tab-scrolling-arrow.right-scroll").toggleClass("disabled",s);var l=Math.abs(a.scrollLeft())<1;a.siblings(".tab-scrolling-arrow.left-scroll").toggleClass("disabled",l)}else a.siblings(".tab-scrolling-arrow").hide(),a.removeClass("scrolled");t(".settings-tab").removeClass("transparent")}function s(){a.animate({scrollLeft:e.offset().left+a[0].scrollLeft-a.closest(".tabs-container").width()/2+e.width()/2-t(".tabs-container").offset().left},{done:r})}0===(e=t(o.filter('[href="'+location.hash+'"]'))).length&&(e=t(this).find("li.tab a.active").first()),0===e.length&&(e=t(this).find("li.tab a").first()),e.addClass("active"),i=t(e[0].hash),e.append('<div class="indicator"></div>'),a.hasClass("no_arrows")||(a.before('<div class="tab-scrolling-arrow left-scroll"><i class="mdi-hardware-keyboard-arrow-left"></i></div>'),a.after('<div class="tab-scrolling-arrow right-scroll"><i class="mdi-hardware-keyboard-arrow-right"></i></div>')),s(),a.siblings(".tab-scrolling-arrow").click(function(){a.animate({scrollLeft:(t(this).hasClass("left-scroll")?"-=":"+=")+a.outerWidth()/2})}),t(window).resize(function(){clearTimeout(n),n=setTimeout(function(){s()},100)}),a.on("scroll",function(){r()}),o.not(e).each(function(){t(this.hash).hide()}),a.on("click","a:not(.disabled)",function(n){n.preventDefault(),e.removeClass("active"),i.hide(),e=t
34(this),i=t(this.hash),o=a.find("li.tab a"),e.addClass("active"),e.append(a.find(".indicator")),window.location.href=e.attr("href"),i.show()})})},select_tab:function(t){this.find('a[href="#'+t+'"]').trigger("click")}};t.fn.tabs=function(i){return e[i]?e[i].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof i&&i?void t.error("Method "+i+" does not exist on jQuery.tooltip"):e.init.apply(this,arguments)},t(document).ready(function(){t("ul.tabs").tabs()})}(jQuery),Materialize.toast=function(t,e,i,n){var a;(i=i||"",null===(a=document.getElementById("toast-container")))&&((a=document.createElement("div")).id="toast-container",document.body.appendChild(a));var o=function(t){var e=document.createElement("div");if(e.classList.add("toast"),i)for(var a=i.split(" "),o=0,r=a.length;o<r;o++)e.classList.add(a[o]);e.innerHTML=t;var s=new Hammer(e,{prevent_default:!1});return s.on("pan",function(t){var i=t.deltaX;e.classList.contains("panning")||e.classList.add("panning");var n=1-Math.abs(i/80);n<0&&(n=0),Vel(e,{left:i,opacity:n},{duration:50,queue:!1,easing:"easeOutQuad"})}),s.on("panend",function(t){var i=t.deltaX;Math.abs(i)>80?Vel(e,{marginTop:"-40px"},{duration:375,easing:"easeOutExpo",queue:!1,complete:function(){"function"==typeof n&&n(),e.parentNode.removeChild(e)}}):(e.classList.remove("panning"),Vel(e,{left:0,opacity:1},{duration:300,easing:"easeOutExpo",queue:!1}))}),e}(t);a.appendChild(o),o.style.top="35px",o.style.opacity=0,Vel(o,{top:"0px",opacity:1},{duration:300,easing:"easeOutCubic",queue:!1});var r=e,s=setInterval(function(){null===o.parentNode&&window.clearInterval(s),o.classList.contains("panning")||(r-=20),r<=0&&(Vel(o,{opacity:0,marginTop:"-40px"},{duration:375,easing:"easeOutExpo",queue:!1,complete:function(){"function"==typeof n&&n(),this[0].parentNode.removeChild(this[0])}}),window.clearInterval(s))},20)},function(t){t.fn.tooltip=function(e){var i=null,n=!1,a=null;return e=t.extend({delay:350},e),t(".material-tooltip").remove(),this.each(function(){var o=t(this),r=t("<span></span>").text(o.attr("data-tooltip")),s=t("<div></div>");s.addClass("material-tooltip").append(r),s.appendTo(t("body"));var l=t("<div></div>").addClass("backdrop");l.appendTo(s),l.css({top:0,left:0}),t(this).off("mouseenter mouseleave"),t(this).on({mouseenter:function(r){var c=o.data("delay");c=null==c||""==c?e.delay:c,i=0,a=setInterval(function(){if((i+=10)>=c&&0==n){n=!0,s.css({display:"block",left:"0px",top:"0px"}),s.children("span").text(o.attr("data-tooltip"));var e=o.outerWidth(),a=o.outerHeight(),r=o.attr("data-position"),u=s.outerHeight(),d=s.outerWidth(),p="0px",h="0px",f=8;"top"===r?(s.css({top:o.offset().top-u-5,left:o.offset().left+e/2-d/2}),p="-10px",l.css({borderRadius:"14px 14px 0 0",transformOrigin:"50% 90%",marginTop:u+10,marginLeft:d/2-l.width()/2})):"left"===r?(s.css({top:o.offset().top+a/2-u/2,left:Math.max(o.offset().left-d-5,15)}),h="-10px",l.css({width:"14px",height:"14px",borderRadius:"14px 0 0 14px",transformOrigin:"95% 50%",marginTop:u/2,marginLeft:d})):"right"===r?(s.css({top:o.offset().top+a/2-u/2,left:Math.min(o.offset().left+e+5,t(document).width()-d-15)}),h="+10px",l.css({width:"14px",height:"14px",borderRadius:"0 14px 14px 0",transformOrigin:"5% 50%",marginTop:u/2,marginLeft:"0px"})):(s.css({top:o.offset().top+o.outerHeight()+5,left:o.offset().left+e/2-d/2}),p="+10px",l.css({marginLeft:d/2-l.width()/2})),(f=d/8)<8&&(f=8),"right"!==r&&"left"!==r||(f=d/10)<6&&(f=6),s.velocity({opacity:1,marginTop:p,marginLeft:h},{duration:350,queue:!1}),l.css({display:"block"}).velocity({opacity:1},{duration:55,delay:0,queue:!1}).velocity({scale:f},{duration:300,delay:0,queue:!1,easing:"easeInOutQuad"})}},10)},mouseleave:function(){clearInterval(a),i=0,s.velocity({opacity:0,marginTop:0,marginLeft:0},{duration:225,queue:!1,delay:275}),l.velocity({opacity:0,scale:1},{duration:225,delay:275,queue:!1,complete:function(){l.css("display","none"),s.css("display","none"),n=!1}})}})})},t(document).ready(function(){t(".tooltipped").tooltip()})}(jQuery),function(t){Materialize.fadeInImage=function(e){var i=t(e);i.css({opacity:0}
34),t(i).velocity({opacity:1},{duration:650,queue:!1,easing:"easeOutSine"}),t(i).velocity({opacity:1},{duration:1300,queue:!1,easing:"swing",step:function(e,i){i.start=100;var n=e/100,a=150-(100-e)/1.75;a<100&&(a=100),e>=0&&t(this).css({"-webkit-filter":"grayscale("+n+")brightness("+a+"%)",filter:"grayscale("+n+")brightness("+a+"%)"})}})},Materialize.showStaggeredList=function(e){var i=0;t(e).find("li").velocity({translateX:"-100px"},{duration:0}),t(e).find("li").each(function(){t(this).velocity({opacity:"1",translateX:"0"},{duration:800,delay:i,easing:[60,10]}),i+=120})},t(document).ready(function(){var e=!1,i=!1;t(".dismissable").each(function(){t(this).hammer({prevent_default:!1}).bind("pan",function(n){if("touch"===n.gesture.pointerType){var a=t(this),o=n.gesture.direction,r=n.gesture.deltaX,s=n.gesture.velocityX;a.velocity({translateX:r},{duration:50,queue:!1,easing:"easeOutQuad"}),4===o&&(r>a.innerWidth()/2||s<-.75)?e=!0:2===o&&(r<-1*a.innerWidth()/2||s>.75)&&(i=!0)}}).bind("panend",function(n){if("touch"===n.gesture.pointerType){var a,o=t(this);if(e||i)a=e?o.innerWidth():-1*o.innerWidth(),o.velocity({translateX:a},{duration:100,queue:!1,easing:"easeOutQuad",complete:function(){o.css("border","none"),o.velocity({height:0,padding:0},{duration:200,queue:!1,easing:"easeOutQuad",complete:function(){o.remove()}})}});else o.velocity({translateX:0},{duration:100,queue:!1,easing:"easeOutQuad"});e=!1,i=!1}})})})}(jQuery),function(t){"use strict";var e=e||{},i=document.querySelectorAll.bind(document);function n(t){var e="";for(var i in t)t.hasOwnProperty(i)&&(e+=i+":"+t[i]+";");return e}var a={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 r,s,l,c,u,d=(c={top:0,left:0},u=(r=i)&&r.ownerDocument,s=u.documentElement,void 0!==r.getBoundingClientRect&&(c=r.getBoundingClientRect()),l=function(t){return null!==(e=t)&&e===e.window?t:9===t.nodeType&&t.defaultView;var e}(u),{top:c.top+l.pageYOffset-s.clientTop,left:c.left+l.pageXOffset-s.clientLeft}),p=t.pageY-d.top,h=t.pageX-d.left,f="scale("+i.clientWidth/100*10+")";"touches"in t&&(p=t.touches[0].pageY-d.top,h=t.touches[0].pageX-d.left),o.setAttribute("data-hold",Date.now()),o.setAttribute("data-scale",f),o.setAttribute("data-x",h),o.setAttribute("data-y",p);var v={top:p+"px",left:h+"px"};o.className=o.className+" waves-notransition",o.setAttribute("style",n(v)),o.className=o.className.replace("waves-notransition",""),v["-webkit-transform"]=f,v["-moz-transform"]=f,v["-ms-transform"]=f,v["-o-transform"]=f,v.transform=f,v.opacity="1",v["-webkit-transition-duration"]=a.duration+"ms",v["-moz-transition-duration"]=a.duration+"ms",v["-o-transition-duration"]=a.duration+"ms",v["transition-duration"]=a.duration+"ms",v["-webkit-transition-timing-function"]="cubic-bezier(0.250, 0.460, 0.450, 0.940)",v["-moz-transition-timing-function"]="cubic-bezier(0.250, 0.460, 0.450, 0.940)",v["-o-transition-timing-function"]="cubic-bezier(0.250, 0.460, 0.450, 0.940)",v["transition-timing-function"]="cubic-bezier(0.250, 0.460, 0.450, 0.940)",o.setAttribute("style",n(v))},hide:function(t){o.touchup(t);var e=this,i=(e.clientWidth,null),r=e.getElementsByClassName("waves-ripple");if(!(r.length>0))return!1;var s=(i=r[r.length-1]).getAttribute("data-x"),l=i.getAttribute("data-y"),c=i.getAttribute("data-scale"),u=350-(Date.now()-Number(i.getAttribute("data-hold")));u<0&&(u=0),setTimeout(function(){var t={top:l+"px",left:s+"px",opacity:"0","-webkit-transition-duration":a.duration+"ms","-moz-transition-duration":a.duration+"ms","-o-transition-duration":a.duration+"ms","transition-duration":a.duration+"ms","-webkit-transform":c,"-moz-transform":c,"-ms-transform":c,"-o-transform":c,transform:c};i.setAttribute("style",n(t)),setTimeout(function(){try{e.removeChild(i)}catch(t){return!1}},a.duration)},u)},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 a=document.createElement("i");a.className=i.className+" waves-input-wrapper";var o=i.getAttribute("style");o||(o=""),a.setAttribute("style",o),i.className="waves-button-input",i.removeAttribute("style"),n.replaceChild(a,i),a.appendChild(i)}}}},o={touches:0,allowEvent:function(t){var e=!0;return"touchstart"===t.type?o.touches+=1:"touchend"===t.type||"touchcancel"===t.type?setTimeout(function(){o.touches>0&&(o.touches-=1)},500):"mousedown"===t.type&&o.touches>0&&(e=!1),e},touchup:function(t){o.allowEvent(t)}};function r(e){var i=function(t){if(!1===o.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}(e);null!==i&&(a.show(e,i),"ontouchstart"in t&&(i.addEventListener("touchend",a.hide,!1),i.addEventListener("touchcancel",a.hide,!1)),i.addEventListener("mouseup",a.hide,!1),i.addEventListener("mouseleave",a.hide,!1))}e.displayEffect=function(e){"duration"in(e=e||{})&&(a.duration=e.duration),a.wrapInput(i(".waves-effect")),"ontouchstart"in t&&document.body.addEventListener("touchstart",r,!1),document.body.addEventListener("mousedown",r,!1)}
34,e.attach=function(e){"input"===e.tagName.toLowerCase()&&(a.wrapInput([e]),e=e.parentElement),"ontouchstart"in t&&e.addEventListener("touchstart",r,!1),e.addEventListener("mousedown",r,!1)},t.Waves=e,document.addEventListener("DOMContentLoaded",function(){e.displayEffect()},!1)}(window), 35/*! 36 * pickadate.js v3.5.0, 2014/04/13 37 * By Amsul, http://amsul.ca 38 * Hosted on http://amsul.github.io/pickadate.js 39 * Licensed under MIT 40 */ 41function(t){"function"==typeof define&&define.amd?define("picker",["jquery"],t):"object"==typeof exports?module.exports=t(require("jquery")):this.Picker=t(jQuery)}(function(t){var e=t(window),i=t(document),n=t(document.documentElement);function a(e,s,c,u){if(!e)return a;var d=!1,p={id:e.id||"P"+Math.abs(~~(Math.random()*new Date))},h=c?t.extend(!0,{},c.defaults,u):u||{},f=t.extend({},a.klasses(),h.klass),v=t(e),m=function(){return this.start()},g=m.prototype={constructor:m,$node:v,start:function(){return p&&p.start?g:(p.methods={},p.start=!0,p.open=!1,p.type=e.type,e.autofocus=e==l(),e.readOnly=!h.editable,e.id=e.id||p.id,"text"!=e.type&&(e.type="text"),g.component=new c(g,h),g.$root=t(a._.node("div",y(),f.picker,'id="'+e.id+'_root" tabindex="0"')),g.$root.on({keydown:b,focusin:function(t){g.$root.removeClass(f.focused),t.stopPropagation()},"mousedown click":function(e){var i=e.target;i!=g.$root.children()[0]&&(e.stopPropagation(),"mousedown"!=e.type||t(i).is("input, select, textarea, button, option")||(e.preventDefault(),g.$root.eq(0).focus()))}}).on({focus:function(){v.addClass(f.target)},blur:function(){v.removeClass(f.target)}}).on("focus.toOpen",w).on("click","[data-pick], [data-nav], [data-clear], [data-close]",function(){var e=t(this),i=e.data(),n=e.hasClass(f.navDisabled)||e.hasClass(f.disabled),a=l();a=a&&(a.type||a.href),(n||a&&!t.contains(g.$root[0],a))&&g.$root.eq(0).focus(),!n&&i.nav?g.set("highlight",g.component.item.highlight,{nav:i.nav}):!n&&"pick"in i?g.set("select",i.pick):i.clear?g.clear().close(!0):i.close&&g.close(!0)}),r(g.$root[0],"hidden",!0),h.formatSubmit&&function(){var i;!0===h.hiddenName?(i=e.name,e.name=""):i=(i=["string"==typeof h.hiddenPrefix?h.hiddenPrefix:"","string"==typeof h.hiddenSuffix?h.hiddenSuffix:"_submit"])[0]+e.name+i[1];g._hidden=t('<input type=hidden name="'+i+'"'+(v.data("value")||e.value?' value="'+g.get("select",h.formatSubmit)+'"':"")+">")[0],v.on("change."+p.id,function(){g._hidden.value=e.value?g.get("select",h.formatSubmit):""}),h.container?t(h.container).append(g._hidden):v.after(g._hidden)}(),function(){v.data(s,g).addClass(f.input).attr("tabindex",-1).val(v.data("value")?g.get("select",h.format):e.value),h.editable||v.on("focus."+p.id+" click."+p.id,function(t){t.preventDefault(),g.$root.eq(0).focus()}).on("keydown."+p.id,b);r(e,{haspopup:!0,expanded:!1,readonly:!1,owns:e.id+"_root"})}(),h.container?t(h.container).append(g.$root):v.after(g.$root),g.on({start:g.component.onStart,render:g.component.onRender,stop:g.component.onStop,open:g.component.onOpen,close:g.component.onClose,set:g.component.onSet}).on({start:h.onStart,render:h.onRender,stop:h.onStop,open:h.onOpen,close:h.onClose,set:h.onSet}),d=function(t){var e,i="position";t.currentStyle?e=t.currentStyle[i]:window.getComputedStyle&&(e=getComputedStyle(t)[i]);return"fixed"==e}(g.$root.children()[0]),e.autofocus&&g.open(),g.trigger("start").trigger("render"))},render:function(t){return t?g.$root.html(y()):g.$root.find("."+f.box).html(g.component.nodes(p.open)),g.trigger("render")},stop:function(){return p.start?(g.close(),g._hidden&&g._hidden.parentNode.removeChild(g._hidden),g.$root.remove(),v.removeClass(f.input).removeData(s),setTimeout(function(){v.off("."+p.id)},0),e.type=p.type,e.readOnly=!1,g.trigger("stop"),p.methods={},p.start=!1,g):g},open:function(s){return p.open?g:(v.addClass(f.active),r(e,"expanded",!0),setTimeout(function(){g.$root.addClass(f.opened),r(g.$root[0],"hidden",!1)},0),!1!==s&&(p.open=!0,d&&n.css("overflow","hidden").css("padding-right","+="+o()),g.$root.eq(0).focus(),i.on("click."+p.id+" focusin."+p.id,function(t){var i=t.target;i!=e&&i!=document&&3!=t.which&&g.close(i===g.$root.children()[0])}).on("keydown."+p.id,function(e){var i=e.keyCode,n=g.component.key[i],o=e.target;
4127==i?g.close(!0):o!=g.$root[0]||!n&&13!=i?t.contains(g.$root[0],o)&&13==i&&(e.preventDefault(),o.click()):(e.preventDefault(),n?a._.trigger(g.component.key.go,g,[a._.trigger(n)]):g.$root.find("."+f.highlighted).hasClass(f.disabled)||g.set("select",g.component.item.highlight).close())})),g.trigger("open"))},close:function(t){return t&&(g.$root.off("focus.toOpen").eq(0).focus(),setTimeout(function(){g.$root.on("focus.toOpen",w)},0)),v.removeClass(f.active),r(e,"expanded",!1),setTimeout(function(){g.$root.removeClass(f.opened+" "+f.focused),r(g.$root[0],"hidden",!0)},0),p.open?(p.open=!1,d&&n.css("overflow","").css("padding-right","-="+o()),i.off("."+p.id),g.trigger("close")):g},clear:function(t){return g.set("clear",null,t)},set:function(e,i,n){var a,o,r=t.isPlainObject(e),s=r?e:{};if(n=r&&t.isPlainObject(i)?i:n||{},e){for(a in r||(s[e]=i),s)o=s[a],a in g.component.item&&(void 0===o&&(o=null),g.component.set(a,o,n)),"select"!=a&&"clear"!=a||v.val("clear"==a?"":g.get(a,h.format)).trigger("change");g.render()}return n.muted?g:g.trigger("set",s)},get:function(t,i){if(null!=p[t=t||"value"])return p[t];if("valueSubmit"==t){if(g._hidden)return g._hidden.value;t="value"}if("value"==t)return e.value;if(t in g.component.item){if("string"==typeof i){var n=g.component.get(t);return n?a._.trigger(g.component.formats.toString,g.component,[i,n]):""}return g.component.get(t)}},on:function(e,i,n){var a,o,r=t.isPlainObject(e),s=r?e:{};if(e)for(a in r||(s[e]=i),s)o=s[a],n&&(a="_"+a),p.methods[a]=p.methods[a]||[],p.methods[a].push(o);return g},off:function(){var t,e,i=arguments;for(t=0,namesCount=i.length;t<namesCount;t+=1)(e=i[t])in p.methods&&delete p.methods[e];return g},trigger:function(t,e){var i=function(t){var i=p.methods[t];i&&i.map(function(t){a._.trigger(t,g,[e])})};return i("_"+t),i(t),g}};function y(){return a._.node("div",a._.node("div",a._.node("div",a._.node("div",g.component.nodes(p.open),f.box),f.wrap),f.frame),f.holder)}function b(t){var e=t.keyCode,i=/^(8|46)$/.test(e);if(27==e)return g.close(),!1;(32==e||i||!p.open&&g.component.key[e])&&(t.preventDefault(),t.stopPropagation(),i?g.clear().close():g.open())}function w(t){t.stopPropagation(),"focus"==t.type&&g.$root.addClass(f.focused),g.open()}return new m}function o(){if(n.height()<=e.height())return 0;var i=t('<div style="visibility:hidden;width:100px" />').appendTo("body"),a=i[0].offsetWidth;i.css("overflow","scroll");var o=t('<div style="width:100%" />').appendTo(i)[0].offsetWidth;return i.remove(),a-o}function r(e,i,n){if(t.isPlainObject(i))for(var a in i)s(e,a,i[a]);else s(e,i,n)}function s(t,e,i){t.setAttribute(("role"==e?"":"aria-")+e,i)}function l(){try{return document.activeElement}catch(t){}}return a.klasses=function(t){return{picker:t=t||"picker",opened:t+"--opened",focused:t+"--focused",input:t+"__input",active:t+"__input--active",target:t+"__input--target",holder:t+"__holder",frame:t+"__frame",wrap:t+"__wrap",box:t+"__box"}},a._={group:function(t){for(var e,i="",n=a._.trigger(t.min,t);n<=a._.trigger(t.max,t,[n]);n+=t.i)e=a._.trigger(t.item,t,[n]),i+=a._.node(t.node,e[0],e[1],e[2]);return i},node:function(e,i,n,a){return i?"<"+e+(n=n?' class="'+n+'"':"")+(a=a?" "+a:"")+">"+(i=t.isArray(i)?i.join(""):i)+"</"+e+">":""},lead:function(t){return(t<10?"0":"")+t},trigger:function(t,e,i){return"function"==typeof t?t.apply(e,i||[]):t},digits:function(t){return/\d/.test(t[1])?2:1},isDate:function(t){return{}.toString.call(t).indexOf("Date")>-1&&this.isInteger(t.getDate())},isInteger:function(t){return{}.toString.call(t).indexOf("Number")>-1&&t%1==0},ariaAttr:function(e,i){t.isPlainObject(e)||(e={attribute:i});for(var n in i="",e){var a=("role"==n?"":"aria-")+n;i+=null==e[n]?"":a+'="'+e[n]+'"'}return i}},a.extend=function(e,i){t.fn[e]=function(n,o){var r=this.data(e);return"picker"==n?r:r&&"string"==typeof n?a._.trigger(r[n],r,[o]):this.each(function(){t(this).data(e)||new a(this,e,i,n)})},t.fn[e].defaults=i.defaults},a}), 42/*! 43 * Date picker for pickadate.js v3.5.0 44 * http://amsul.github.io/pickadate.js/date.htm 45 */ 46function(t){"function"==typeof define&&define.amd?define(["picker","jquery"],t):"object"==typeof exports?module.exports=t(require("./picker.js"),require("jquery")):t(Picker,jQuery)}(function(t,e){var i,n=t._;function a(t,e){var i,n=this,a=t.$node[0],o=a.value,r=t.$node.data("value"),s=r||o,l=r?e.formatSubmit:e.format,c=function(){return a.currentStyle?"rtl"==a.currentStyle.direction:"rtl"==getComputedStyle(t.$root[0]).direction};n.settings=e,n.$node=t.$node,n.queue={min:"measure create",max:"measure create",now:"now create",select:"parse create validate",highlight:"parse navigate create validate",view:"parse create validate viewset",disable:"deactivate",enable:"activate"},n.item={},n.item.clear=null,n.item.disable=(e.disable||[]).slice(0),n.item.enable=-(!0===(i=n.item.disable)[0]?i.shift():-1),n.set("min",e.min).set("max",e.max).set("now"),s?n.set("select",s,{format:l}):n.set("select",null).set("highlight",n.item.now),n.key={40:7,38:-7,39:function(){return c()?-1:1},37:function(){return c()?1:-1},go:function(t){var e=n.item.highlight,i=new Date(e.year,e.month,e.date+t);n.set("highlight",i,{interval:t}),this.render()}},t.on("render",function(){t.$root.find("."+e.klass.selectMonth).on("change",function(){var i=this.value;i&&(t.set("highlight",[t.get("view").year,i,t.get("highlight").date]),t.$root.find("."+e.klass.selectMonth).trigger("focus"))}),t.$root.find("."+e.klass.selectYear).on("change",function(){var i=this.value;i&&(t.set("highlight",[i,t.get("view").month,t.get("highlight").date]),t.$root.find("."+e.klass.selectYear).trigger("focus"))})},1).on("open",function(){var i="";n.disabled(n.get("now"))&&(i=":not(."+e.klass.buttonToday+")"),t.$root.find("button"+i+", select").attr("disabled",!1)},1).on("close",function(){t.$root.find("button, select").attr("disabled",!0)},1)}
vendor: 6,308 bytes, line 46
46a.prototype.set=function(t,e,i){var n=this,a=n.item;return null===e?("clear"==t&&(t="select"),a[t]=e,n):(a["enable"==t?"disable":"flip"==t?"enable":t]=n.queue[t].split(" ").map(function(a){return e=n[a](t,e,i)}).pop(),"select"==t?n.set("highlight",a.select,i):"highlight"==t?n.set("view",a.highlight,i):t.match(/^(flip|min|max|disable|enable)$/)&&(a.select&&n.disabled(a.select)&&n.set("select",a.select,i),a.highlight&&n.disabled(a.highlight)&&n.set("highlight",a.highlight,i)),n)},a.prototype.get=function(t){return this.item[t]},a.prototype.create=function(t,i,a){var o,r=this;return(i=void 0===i?t:i)==-1/0||i==1/0?o=i:e.isPlainObject(i)&&n.isInteger(i.pick)?i=i.obj:e.isArray(i)?(i=new Date(i[0],i[1],i[2]),i=n.isDate(i)?i:r.create().obj):i=n.isInteger(i)||n.isDate(i)?r.normalize(new Date(i),a):r.now(t,i,a),{year:o||i.getFullYear(),month:o||i.getMonth(),date:o||i.getDate(),day:o||i.getDay(),obj:o||i,pick:o||i.getTime()}},a.prototype.createRange=function(t,i){var a=this,o=function(t){return!0===t||e.isArray(t)||n.isDate(t)?a.create(t):t};return n.isInteger(t)||(t=o(t)),n.isInteger(i)||(i=o(i)),n.isInteger(t)&&e.isPlainObject(i)?t=[i.year,i.month,i.date+t]:n.isInteger(i)&&e.isPlainObject(t)&&(i=[t.year,t.month,t.date+i]),{from:o(t),to:o(i)}},a.prototype.withinRange=function(t,e){return t=this.createRange(t.from,t.to),e.pick>=t.from.pick&&e.pick<=t.to.pick},a.prototype.overlapRanges=function(t,e){var i=this;return t=i.createRange(t.from,t.to),e=i.createRange(e.from,e.to),i.withinRange(t,e.from)||i.withinRange(t,e.to)||i.withinRange(e,t.from)||i.withinRange(e,t.to)},a.prototype.now=function(t,e,i){return e=new Date,i&&i.rel&&e.setDate(e.getDate()+i.rel),this.normalize(e,i)},a.prototype.navigate=function(t,i,n){var a,o,r,s,l=e.isArray(i),c=e.isPlainObject(i),u=this.item.view;if(l||c){for(c?(o=i.year,r=i.month,s=i.date):(o=+i[0],r=+i[1],s=+i[2]),n&&n.nav&&u&&u.month!==r&&(o=u.year,r=u.month),o=(a=new Date(o,r+(n&&n.nav?n.nav:0),1)).getFullYear(),r=a.getMonth();new Date(o,r,s).getMonth()!==r;)s-=1;i=[o,r,s]}return i},a.prototype.normalize=function(t){return t.setHours(0,0,0,0),t},a.prototype.measure=function(t,e){return e?"string"==typeof e?e=this.parse(t,e):n.isInteger(e)&&(e=this.now(t,e,{rel:e})):e="min"==t?-1/0:1/0,e},a.prototype.viewset=function(t,e){return this.create([e.year,e.month,1])},a.prototype.validate=function(t,i,a){var o,r,s,l,c=this,u=i,d=a&&a.interval?a.interval:1,p=-1===c.item.enable,h=c.item.min,f=c.item.max,v=p&&c.item.disable.filter(function(t){if(e.isArray(t)){var a=c.create(t).pick;a<i.pick?o=!0:a>i.pick&&(r=!0)}return n.isInteger(t)}).length;if((!a||!a.nav)&&(!p&&c.disabled(i)||p&&c.disabled(i)&&(v||o||r)||!p&&(i.pick<=h.pick||i.pick>=f.pick)))for(p&&!v&&(!r&&d>0||!o&&d<0)&&(d*=-1);c.disabled(i)&&(Math.abs(d)>1&&(i.month<u.month||i.month>u.month)&&(i=u,d=d>0?1:-1),i.pick<=h.pick?(s=!0,d=1,i=c.create([h.year,h.month,h.date+(i.pick===h.pick?0:-1)])):i.pick>=f.pick&&(l=!0,d=-1,i=c.create([f.year,f.month,f.date+(i.pick===f.pick?0:1)])),!s||!l);)i=c.create([i.year,i.month,i.date+d]);return i},a.prototype.disabled=function(t){var i=this,a=i.item.disable.filter(function(a){return n.isInteger(a)?t.day===(i.settings.firstDay?a:a-1)%7:e.isArray(a)||n.isDate(a)?t.pick===i.create(a).pick:e.isPlainObject(a)?i.withinRange(a,t):void 0});return a=a.length&&!a.filter(function(t){return e.isArray(t)&&"inverted"==t[3]||e.isPlainObject(t)&&t.inverted}).length,-1===i.item.enable?!a:a||t.pick<i.item.min.pick||t.pick>i.item.max.pick},a.prototype.parse=function(t,e,i){var a=this,o={};return e&&"string"==typeof e?(i&&i.format||((i=i||{}).format=a.settings.format),a.formats.toArray(i.format).map(function(t){var i=a.formats[t],r=i?n.trigger(i,a,[e,o]):t.replace(/^!/,"").length;i&&(o[t]=e.substr(0,r)),e=e.substr(r)}),[o.yyyy||o.yy,+(o.mm||o.m)-1,o.dd||o.d]):e},a.prototype.formats=function(){function t(t,e,i){var n=t.match(/\w+/)[0];return i.mm||i.m||(i.m=e.indexOf(n)+1),n.length}function e(t){return t.match(/\w+/)[0].length}return{d:function(t,e){return t?n.digits(t):e.date},dd:function(t,e){return t?2:n.lead(e.date)},ddd:function(t,i){return t?e(t):this.settings.weekdaysShort[i.day]},dddd:function(t,i){return t?e(t):this.settings.weekdaysFull[i.day]},m:function(t,e){return t?n.digits(t):e.month+1},mm:function(t,e){return t?2:n.lead(e.month+1)},mmm:function(e,i){var n=this.settings.monthsShort;return e?t(e,n,i):n[i.month]},mmmm:function(e,i){var n=this.settings.monthsFull;return e?t(e,n,i):n[i.month]},yy:function(t,e){return t?2:(""+e.year).slice(2)},yyyy:function(t,e){return t?4:e.year},toArray:function(t){return t.split(/(d{1,4}|m{1,4}|y{4}|yy|!.)/g)},toString:function(t,e){var i=this;return i.formats.toArray(t).map(function(t){return n.trigger(i.formats[t],i,[0,e])||t.replace(/^!/,"")}).join("")}}}(),a.prototype.isDateExact=function(t,i){var a=this;return n.isInteger(t)&&n.isInteger(i)||"boolean"==typeof t&&"boolean"==typeof i?t===i:(n.isDate(t)||e.isArray(t))&&(n.isDate(i)||e.isArray(i))?a.create(t).pick===a.create(i).pick:!(!e.isPlainObject(t)||!e.isPlainObject(i))&&(a.isDateExact(t.from,i.from)&&a.isDateExact(t.to,i.to))},a.prototype.isDateOverlap=function(t,i){var a=this,o=a.settings.firstDay?1:0;return n.isInteger(t)&&(n.isDate(i)||e.isArray(i))?(t=t%7+o)===a.create(i).day+1:n.isInteger(i)&&(n.isDate(t)||e.isArray(t))?(i=i%7+o)===a.create(t).day+1:!(!e.isPlainObject(t)||!e.isPlainObject(i))&&a.overlapRanges(t,i)},a.prototype.flipEnable=function(t){var e=this.item;e.enable=t||(-1==e.enable?1:-1)},a.prototype.deactivate=function(t,i){var a=this,o=a.item.disable.slice(0);return"flip"==i?a.flipEnable():!1===i?(a.flipEnable(1),o=[]):!0===i?(a.flipEnable(-1),o=[]):i.map(function(t){for(var i,r=0;r<o.length;r+=1)if(a.isDateExact(t,o[r])){i=!0;break}i||(n.isInteger(t)||n.isDate(t)||e.isArray(t)||e.isPlainObject(t)&&t.from&&t.to)&&o.push(t)}),o},a.prototype.activate=function(t,i){var a=this,o=a.item.disable,r=o.length;return"flip"==i?a.flipEnable():!0===i?(a.flipEnable(1),o=[]):!1===i?(a.flipEnable(-1),o=[]):i.map(function(t){var i,s,l,c;for(l=0;l<r;l+=1){if(s=o[l],a.isDateExact(s,t)){i=o[l]=null,c=!0;break}if(a.isDateOverlap(s,t)){e.isPlainObject(t)?(t.inverted=!0,i=t):e.isArray(t)?(i=t)[3]||i.push("inverted"):n.isDate(t)&&(i=[t.getFullYear(),t.getMonth(),t.getDate(),"inverted"]);break}}if(i)for(l=0;l<r;
46l+=1)if(a.isDateExact(o[l],t)){o[l]=null;break}if(c)for(l=0;l<r;l+=1)if(a.isDateOverlap(o[l],t)){o[l]=null;break}i&&o.push(i)}),o.filter(function(t){return null!=t})},a.prototype.nodes=function(t){var e,i,a=this,o=a.settings,r=a.item,s=r.now,l=r.select,c=r.highlight,u=r.view,d=r.disable,p=r.min,h=r.max,f=(e=(o.showWeekdaysFull?o.weekdaysFull:o.weekdaysLetter).slice(0),i=o.weekdaysFull.slice(0),o.firstDay&&(e.push(e.shift()),i.push(i.shift())),n.node("thead",n.node("tr",n.group({min:0,max:6,i:1,node:"th",item:function(t){return[e[t],o.klass.weekdays,'scope=col title="'+i[t]+'"']}})))),v=function(t){return n.node("div"," ",o.klass["nav"+(t?"Next":"Prev")]+(t&&u.year>=h.year&&u.month>=h.month||!t&&u.year<=p.year&&u.month<=p.month?" "+o.klass.navDisabled:""),"data-nav="+(t||-1)+" "+n.ariaAttr({role:"button",controls:a.$node[0].id+"_table"})+' title="'+(t?o.labelMonthNext:o.labelMonthPrev)+'"')},m=function(e){var i=o.showMonthsShort?o.monthsShort:o.monthsFull;return"short_months"==e&&(i=o.monthsShort),o.selectMonths&&null==e?n.node("select",n.group({min:0,max:11,i:1,node:"option",item:function(t){return[i[t],0,"value="+t+(u.month==t?" selected":"")+(u.year==p.year&&t<p.month||u.year==h.year&&t>h.month?" disabled":"")]}}),o.klass.selectMonth+" browser-default",(t?"":"disabled")+" "+n.ariaAttr({controls:a.$node[0].id+"_table"})+' title="'+o.labelMonthSelect+'"'):"short_months"==e?null!=l?i[l.month]:i[u.month]:n.node("div",i[u.month],o.klass.month)},g=function(e){var i=u.year,r=!0===o.selectYears?5:~~(o.selectYears/2);if(r){var s=p.year,l=h.year,c=i-r,d=i+r;if(s>c&&(d+=s-c,c=s),l<d){var f=c-s,v=d-l;c-=f>v?v:f,d=l}if(o.selectYears&&null==e)return n.node("select",n.group({min:c,max:d,i:1,node:"option",item:function(t){return[t,0,"value="+t+(i==t?" selected":"")]}}),o.klass.selectYear+" browser-default",(t?"":"disabled")+" "+n.ariaAttr({controls:a.$node[0].id+"_table"})+' title="'+o.labelYearSelect+'"')}return"raw"==e?n.node("div",i):n.node("div",i,o.klass.year)};return createDayLabel=function(){return null!=l?l.date:s.date},createWeekdayLabel=function(){var t;return t=null!=l?l.day:s.day,o.weekdaysShort[t]},n.node("div",n.node("div",g("raw"),o.klass.year_display)+n.node("span",createWeekdayLabel()+", ","picker__weekday-display")+n.node("span",m("short_months")+" ",o.klass.month_display)+n.node("span",createDayLabel(),o.klass.day_display),o.klass.date_display)+n.node("div",n.node("div",n.node("div",(o.selectYears,m()+g()+v()+v(1)),o.klass.header)+n.node("table",f+n.node("tbody",n.group({min:0,max:5,i:1,node:"tr",item:function(t){var e=o.firstDay&&0===a.create([u.year,u.month,1]).day?-7:0;return[n.group({min:7*t-u.day+e+1,max:function(){return this.min+7-1},i:1,node:"td",item:function(t){t=a.create([u.year,u.month,t+(o.firstDay?1:0)]);var e,i=l&&l.pick==t.pick,r=c&&c.pick==t.pick,f=d&&a.disabled(t)||t.pick<p.pick||t.pick>h.pick,v=n.trigger(a.formats.toString,a,[o.format,t]);return[n.node("div",t.date,(e=[o.klass.day],e.push(u.month==t.month?o.klass.infocus:o.klass.outfocus),s.pick==t.pick&&e.push(o.klass.now),i&&e.push(o.klass.selected),r&&e.push(o.klass.highlighted),f&&e.push(o.klass.disabled),e.join(" ")),"data-pick="+t.pick+" "+n.ariaAttr({role:"gridcell",label:v,selected:!(!i||a.$node.val()!==v)||null,activedescendant:!!r||null,disabled:!!f||null})),"",n.ariaAttr({role:"presentation"})]}})]}})),o.klass.table,'id="'+a.$node[0].id+'_table" '+n.ariaAttr({role:"grid",controls:a.$node[0].id,readonly:!0})),o.klass.calendar_container)+n.node("div",n.node("button",o.today,"btn-flat picker__today waves-effect","type=button data-pick="+s.pick+(t&&!a.disabled(s)?"":" disabled")+" "+n.ariaAttr({controls:a.$node[0].id}))+n.node("button",o.clear,"btn-flat picker__clear waves-effect","type=button data-clear=1"+(t?"":" disabled")+" "+n.ariaAttr({controls:a.$node[0].id}))+n.node("button",o.close,"btn-flat picker__close waves-effect","type=button data-close=true "+(t?"":" disabled")+" "+n.ariaAttr({controls:a.$node[0].id})),o.klass.footer),"picker__container__wrapper")},a.defaults={labelMonthNext:"Next month",labelMonthPrev:"Previous month",labelMonthSelect:"Select a month",labelYearSelect:"Select a year",monthsFull:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],weekdaysFull:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
46ay","Saturday"],weekdaysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],weekdaysLetter:["S","M","T","W","T","F","S"],today:"Today",clear:"Clear",close:"Ok",format:"d mmmm, yyyy",klass:{table:(i=t.klasses().picker+"__")+"table",header:i+"header",date_display:i+"date-display",day_display:i+"day-display",month_display:i+"month-display",year_display:i+"year-display",calendar_container:i+"calendar-container",navPrev:i+"nav--prev",navNext:i+"nav--next",navDisabled:i+"nav--disabled",month:i+"month",year:i+"year",selectMonth:i+"select--month",selectYear:i+"select--year",weekdays:i+"weekday",day:i+"day",disabled:i+"day--disabled",selected:i+"day--selected",highlighted:i+"day--highlighted",now:i+"day--today",infocus:i+"day--infocus",outfocus:i+"day--outfocus",footer:i+"footer",buttonClear:i+"button--clear",buttonToday:i+"button--today",buttonClose:i+"button--close"}},t.extend("pickadate",a)}),function(){var t,e,i,n=window.jQuery,a=n(window),o=n(document),r="http://www.w3.org/2000/svg",s="SVGAngle"in window&&((e=document.createElement("div")).innerHTML="<svg/>",t=(e.firstChild&&e.firstChild.namespaceURI)==r,e.innerHTML="",t),l="transition"in(i=document.createElement("div").style)||"WebkitTransition"in i||"MozTransition"in i||"msTransition"in i||"OTransition"in i,c="ontouchstart"in window,u="mousedown"+(c?" touchstart":""),d="mousemove.clockpicker"+(c?" touchmove.clockpicker":""),p="mouseup.clockpicker"+(c?" touchend.clockpicker":""),h=navigator.vibrate?"vibrate":navigator.webkitVibrate?"webkitVibrate":null;function f(t){return document.createElementNS(r,t)}function v(t){return(t<10?"0":"")+t}var m=0;var g=135,y=105,b=20,w=l?350:1,k=['<div class="clockpicker picker">','<div class="picker__holder">','<div class="picker__frame">','<div class="picker__wrap">','<div class="picker__box">','<div class="picker__date-display">','<div class="clockpicker-display">','<div class="clockpicker-display-column">','<span class="clockpicker-span-hours text-primary"></span>',":",'<span class="clockpicker-span-minutes"></span>',"</div>",'<div class="clockpicker-display-column clockpicker-display-am-pm">','<div class="clockpicker-span-am-pm"></div>',"</div>","</div>","</div>",'<div class="picker__container__wrapper">','<div class="picker__calendar-container">','<div class="clockpicker-plate">','<div class="clockpicker-canvas"></div>','<div class="clockpicker-dial clockpicker-hours"></div>','<div class="clockpicker-dial clockpicker-minutes clockpicker-dial-out"></div>',"</div>",'<div class="clockpicker-am-pm-block">',"</div>","</div>",'<div class="picker__footer">',"</div>","</div>","</div>","</div>","</div>","</div>","</div>"].join("");function x(t,e){var i,a,r=n(k),l=r.find(".clockpicker-plate"),h=r.find(".picker__holder"),x=r.find(".clockpicker-hours"),T=r.find(".clockpicker-minutes"),S=r.find(".clockpicker-am-pm-block"),P="INPUT"===t.prop("tagName"),A=P?t:t.find("input"),O=n("label[for="+A.attr("id")+"]"),_=this;this.id=(a=++m+"",(i="cp")?i+a:a),this.element=t,this.holder=h,this.options=e,this.isAppended=!1,this.isShown=!1,this.currentView="hours",this.isInput=P,this.input=A,this.label=O,this.popover=r,this.plate=l,this.hoursView=x,this.minutesView=T,this.amPmBlock=S,this.spanHours=r.find(".clockpicker-span-hours"),this.spanMinutes=r.find(".clockpicker-span-minutes"),this.spanAmPm=r.find(".clockpicker-span-am-pm"),this.footer=r.find(".picker__footer"),this.amOrPm="PM",e.twelvehour&&(e.ampmclickable?(this.spanAmPm.empty(),n('<div id="click-am">AM</div>').on("click",function(){_.spanAmPm.children("#click-am").addClass("text-primary"),_.spanAmPm.children("#click-pm").removeClass("text-primary"),_.amOrPm="AM"}).appendTo(this.spanAmPm),n('<div id="click-pm">PM</div>').on("click",function(){_.spanAmPm.children("#click-pm").addClass("text-primary"),_.spanAmPm.children("#click-am").removeClass("text-primary"),_.amOrPm="PM"}).appendTo(this.spanAmPm)):(this.spanAmPm.empty(),n('<div id="click-am">AM</div>').appendTo(this.spanAmPm),n('<div id="click-pm">PM</div>').appendTo(this.spanAmPm))),n('<button type="button" class="btn-flat picker__clear" tabindex="'+(e.twelvehour?"3":"1")+'">'+e.cleartext+"</button>").click(n.proxy(this.clear,this)).appendTo(this.footer),n('<button type="button" class="btn-flat picker__close" tabindex="'+(e.twelvehour?"3":"1")+'">'+e.canceltext+"</button>").click(n.proxy(this.hide,this)).appendTo(this.footer),n('<button type="button" class="btn-flat picker__close" tabindex="'+(e.twelvehour?"3":"1")+'">
46'+e.donetext+"</button>").click(n.proxy(this.done,this)).appendTo(this.footer),this.spanHours.click(n.proxy(this.toggleView,this,"hours")),this.spanMinutes.click(n.proxy(this.toggleView,this,"minutes")),c&&A.on("focus.clockpicker click.clockpicker",n.proxy(this.show,this));var M,E,V,q,I=n('<div class="clockpicker-tick"></div>');if(e.twelvehour)for(M=1;M<13;M+=1)E=I.clone(),V=M/6*Math.PI,q=y,E.css({left:g+Math.sin(V)*q-b,top:g-Math.cos(V)*q-b}),E.html(0===M?"00":M),x.append(E),E.on(u,D);else for(M=0;M<24;M+=1){E=I.clone(),V=M/6*Math.PI,q=M>0&&M<13?80:y,E.css({left:g+Math.sin(V)*q-b,top:g-Math.cos(V)*q-b}),E.html(0===M?"00":M),x.append(E),E.on(u,D)}for(M=0;M<60;M+=5)E=I.clone(),V=M/30*Math.PI,E.css({left:g+Math.sin(V)*y-b,top:g-Math.cos(V)*y-b}),E.html(v(M)),T.append(E),E.on(u,D);function D(t,i){var n=l.offset(),a=/^touch/.test(t.type),r=n.left+g,s=n.top+g,c=(a?t.originalEvent.touches[0]:t).pageX-r,u=(a?t.originalEvent.touches[0]:t).pageY-s,h=Math.sqrt(c*c+u*u),f=!1;if(!i||!(h<85||h>125)){t.preventDefault();var v=setTimeout(function(){_.popover.addClass("clockpicker-moving")},200);_.setHand(c,u,!i,!0),o.off(d).on(d,function(t){t.preventDefault();var e=/^touch/.test(t.type),i=(e?t.originalEvent.touches[0]:t).pageX-r,n=(e?t.originalEvent.touches[0]:t).pageY-s;(f||i!==c||n!==u)&&(f=!0,_.setHand(i,n,!1,!0))}),o.off(p).on(p,function(t){o.off(p),t.preventDefault();var n=/^touch/.test(t.type),a=(n?t.originalEvent.changedTouches[0]:t).pageX-r,h=(n?t.originalEvent.changedTouches[0]:t).pageY-s;(i||f)&&a===c&&h===u&&_.setHand(a,h),"hours"===_.currentView?_.toggleView("minutes",w/2):e.autoclose&&(_.minutesView.addClass("clockpicker-dial-out"),setTimeout(function(){_.done()},w/2)),l.prepend(j),clearTimeout(v),_.popover.removeClass("clockpicker-moving"),o.off(d)})}}if(l.on(u,function(t){0===n(t.target).closest(".clockpicker-tick").length&&D(t,!0)}),s){var j=r.find(".clockpicker-canvas"),L=f("svg");L.setAttribute("class","clockpicker-svg"),L.setAttribute("width",270),L.setAttribute("height",270);var z=f("g");z.setAttribute("transform","translate(135,135)");var F=f("circle");F.setAttribute("class","clockpicker-canvas-bearing"),F.setAttribute("cx",0),F.setAttribute("cy",0),F.setAttribute("r",4);var N=f("line");N.setAttribute("x1",0),N.setAttribute("y1",0);var Q=f("circle");Q.setAttribute("class","clockpicker-canvas-bg"),Q.setAttribute("r",b),z.appendChild(N),z.appendChild(Q),z.appendChild(F),L.appendChild(z),j.append(L),this.hand=N,this.bg=Q,this.bearing=F,this.g=z,this.canvas=j}C(this.options.init)}function C(t){t&&"function"==typeof t&&t()}x.DEFAULTS={default:"",fromnow:0,donetext:"Ok",cleartext:"Clear",canceltext:"Cancel",autoclose:!1,ampmclickable:!0,darktheme:!1,twelvehour:!0,vibrate:!0},x.prototype.toggle=function(){this[this.isShown?"hide":"show"]()},x.prototype.locate=function(){var t=this.element,e=this.popover;t.offset(),t.outerWidth(),t.outerHeight(),this.options.align;e.show()},x.prototype.show=function(t){if(!this.isShown){C(this.options.beforeShow);var e=this;this.input.blur(),this.popover.addClass("picker--opened"),this.input.addClass("picker__input picker__input--active");var i=n(window).width()-n(document.body).width();n("#second_nav").width("calc(100vw - "+(i-13)+"px)"),n("html").width("calc(100vw - "+(i-3)+"px)").css("overflow","hidden");var r=((this.input.prop("value")||this.options.default||"")+"").split(":");if(this.options.twelvehour&&void 0!==r[1]&&(r[1].indexOf("AM")>0?this.amOrPm="AM":this.amOrPm="PM",r[1]=r[1].replace("AM","").replace("PM","")),"now"===r[0]){var s=new Date(+new Date+this.options.fromnow);r=[s.getHours(),s.getMinutes()]}this.hours=+r[0]||0,this.minutes=+r[1]||0,this.spanHours.html(this.hours),this.spanMinutes.html(v(this.minutes)),this.isAppended||(this.popover.insertAfter(this.input),this.options.twelvehour&&("PM"===this.amOrPm?(this.spanAmPm.children("#click-pm").addClass("text-primary"),this.spanAmPm.children("#click-am").removeClass("text-primary")):(this.spanAmPm.children("#click-am").addClass("text-primary"),this.spanAmPm.children("#click-pm").removeClass("text-primary"))),a.on("resize.clockpicker"+this.id,function(){e.isShown&&e.locate()}),this.isAppended=!0),this.toggleView("hours"),this.locate(),this.isShown=!0,o.on("click.clockpicker."+this.id+" focusin.clockpicker."+this.id,function(t){var i=n(t.target);0===i.closest(e.popover.find(".picker__wrap")).length&&0===i.closest(e.input).length&&e.hide()}),o.on("keyup.clockpicker."+this.id,function(t){27===t.keyCode&&e.hide()}),C(this.options.afterShow)}},x.prototype.hide=function(){C(this.options.beforeHide),this.input.removeClass("picker__input picker__input--active"),this.popover.removeClass("picker--opened"),n("html").width("auto").css("overflow","visible"),n("#second_nav").width("auto"),this.isShown=!1,o.off("
46click.clockpicker."+this.id+" focusin.clockpicker."+this.id),o.off("keyup.clockpicker."+this.id),this.popover.hide(),C(this.options.afterHide)},x.prototype.toggleView=function(t,e){var i=!1;"minutes"===t&&"visible"===n(this.hoursView).css("visibility")&&(C(this.options.beforeHourSelect),i=!0);var a="hours"===t,o=a?this.hoursView:this.minutesView,r=a?this.minutesView:this.hoursView;this.currentView=t,this.spanHours.toggleClass("text-primary",a),this.spanMinutes.toggleClass("text-primary",!a),r.addClass("clockpicker-dial-out"),o.css("visibility","visible").removeClass("clockpicker-dial-out"),this.resetClock(e),clearTimeout(this.toggleViewTimer),this.toggleViewTimer=setTimeout(function(){r.css("visibility","hidden")},w),i&&C(this.options.afterHourSelect)},x.prototype.resetClock=function(t){var e=this.currentView,i=this[e],n="hours"===e,a=i*(Math.PI/(n?6:30)),o=n&&i>0&&i<13?80:y,r=Math.sin(a)*o,l=-Math.cos(a)*o,c=this;s&&t?(c.canvas.addClass("clockpicker-canvas-out"),setTimeout(function(){c.canvas.removeClass("clockpicker-canvas-out"),c.setHand(r,l)},t)):this.setHand(r,l)},x.prototype.setHand=function(t,e,i,a){var o,r=Math.atan2(t,-e),l="hours"===this.currentView,c=Math.PI/(l||i?6:30),u=Math.sqrt(t*t+e*e),d=this.options,p=l&&u<92.5,f=p?80:y;if(d.twelvehour&&(f=y),r<0&&(r=2*Math.PI+r),r=(o=Math.round(r/c))*c,d.twelvehour?l?0===o&&(o=12):(i&&(o*=5),60===o&&(o=0)):l?(12===o&&(o=0),o=p?0===o?12:o:0===o?0:o+12):(i&&(o*=5),60===o&&(o=0)),this[this.currentView]!==o&&h&&this.options.vibrate&&(this.vibrateTimer||(navigator[h](10),this.vibrateTimer=setTimeout(n.proxy(function(){this.vibrateTimer=null},this),100))),this[this.currentView]=o,l?this.spanHours.html(o):this.spanMinutes.html(v(o)),s){var m=Math.sin(r)*(f-b),g=-Math.cos(r)*(f-b),w=Math.sin(r)*f,k=-Math.cos(r)*f;this.hand.setAttribute("x2",m),this.hand.setAttribute("y2",g),this.bg.setAttribute("cx",w),this.bg.setAttribute("cy",k)}else this[l?"hoursView":"minutesView"].find(".clockpicker-tick").each(function(){var t=n(this);t.toggleClass("active",o===+t.html())})},x.prototype.done=function(){C(this.options.beforeDone),this.hide(),this.label.addClass("active");var t=this.input.prop("value"),e="";e=this.options.twelvehour?this.hours+":"+v(this.minutes)+this.amOrPm:v(this.hours)+":"+v(this.minutes),this.input.prop("value",e),e!==t&&(this.input.triggerHandler("change"),this.isInput||this.element.trigger("change")),this.options.autoclose&&this.input.trigger("blur"),C(this.options.afterDone)},x.prototype.clear=function(){this.hide(),this.label.removeClass("active");var t=this.input.prop("value");this.input.prop("value",""),""!==t&&(this.input.triggerHandler("change"),this.isInput||this.element.trigger("change")),this.options.autoclose&&this.input.trigger("blur")},x.prototype.remove=function(){this.element.removeData("clockpicker"),this.input.off("focus.clockpicker click.clockpicker"),this.isShown&&this.hide(),this.isAppended&&(a.off("resize.clockpicker"+this.id),this.popover.remove())},n.fn.pickatime=function(t){var e=Array.prototype.slice.call(arguments,1);return this.each(function(){var i=n(this),a=i.data("clockpicker");if(a)"function"==typeof a[t]&&a[t].apply(a,e);else{var o=n.extend({},x.DEFAULTS,i.data(),"object"==typeof t&&t);i.data("clockpicker",new x(i,o))}})}}(),function(t){function e(){var e=+t(this).attr("length"),i=+t(this).val().length,n=i<=e;t(this).parent().find('span[class="character-counter"]').html(i+"/"+e),function(t,e){inputHasInvalidClass=e.hasClass("invalid"),t&&inputHasInvalidClass?e.removeClass("invalid"):t||inputHasInvalidClass||(e.removeClass("valid"),e.addClass("invalid"))}(n,t(this))}function i(){t(this).parent().find('span[class="character-counter"]').html("")}t.fn.characterCounter=function(){return this.each(function(){var n;itHasLengthAttribute=null!=t(this).attr("length"),itHasLengthAttribute&&(t(this).on("input",e),t(this).on("focus",e),t(this).on("blur",i),n=t(this),$counterElement=t("<span/>").addClass("character-counter").css("float","right").css("font-size","12px").css("height",1),n.parent().append($counterElement))})},t(document).ready(function(){t("input, textarea").characterCounter()})}(jQuery);
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.