/*! modernizr 3.1.0 (custom build) | mit * * http://modernizr.com/download/?-backgroundsize-bgsizecover-borderradius-boxshadow-cssanimations-csstransforms-csstransforms3d-csstransitions-touchevents !*/ !function(e,n,t){function s(e){var n=c.classname,t=modernizr._config.classprefix||"";if(s&&(n=n.baseval),modernizr._config.enablejsclass){var s=new regexp("(^|\\s)"+t+"no-js(\\s|$)");n=n.replace(s,"$1"+t+"js$2")}modernizr._config.enableclasses&&(n+=" "+t+e.join(" "+t),s?c.classname.baseval=n:c.classname=n)}function o(e,n){return typeof e===n}function r(){var e,n,t,s,r,i,a;for(var f in x){if(e=[],n=x[f],n.name&&(e.push(n.name.tolowercase()),n.options&&n.options.aliases&&n.options.aliases.length))for(t=0;tp;p++)if(v=e[p],h=j.style[v],u(v,"-")&&(v=l(v)),j.style[v]!==t){if(r||o(s,"undefined"))return a(),"pfx"==n?v:!0;try{j.style[v]=s}catch(y){}if(j.style[v]!=h)return a(),"pfx"==n?v:!0}return a(),!1}function h(e,n,t,s,r){var i=e.charat(0).touppercase()+e.slice(1),a=(e+" "+p.join(i+" ")+i).split(" ");return o(n,"string")||o(n,"undefined")?v(a,n,s,r):(a=(e+" "+e.join(i+" ")+i).split(" "),p(a,n,t))}function g(e,n,s){return h(e,t,t,n,s)}var y=[],x=[],b={_version:"3.1.0",_config:{classprefix:"",enableclasses:!0,enablejsclass:!0,useprefixes:!0},_q:[],on:function(e,n){var t=this;settimeout(function(){n(t[e])},0)},addtest:function(e,n,t){x.push({name:e,fn:n,options:t})},addasynctest:function(e){x.push({name:null,fn:e})}},modernizr=function(){};modernizr.prototype=b,modernizr=new modernizr;var c=n.documentelement,s="svg"===c.nodename.tolowercase(),w=b._config.useprefixes?" -webkit- -moz- -o- -ms- ".split(" "):[];b._prefixes=w;var _="css"in e&&"supports"in e.css,t="supportscss"in e;modernizr.addtest("supports",_||t);var z=b.teststyles=f;modernizr.addtest("touchevents",function(){var t;if("ontouchstart"in e||e.documenttouch&&n instanceof documenttouch)t=!0;else{var s=["@media (",w.join("touch-enabled),("),"heartz",")","{#modernizr{top:9px;position:absolute}}"].join("");z(s,function(e){t=9===e.offsettop})}return t});var k="moz o ms webkit",p=b._config.useprefixes?k.split(" "):[];b._cssomprefixes=p;var e=b._config.useprefixes?k.tolowercase().split(" "):[];b._domprefixes=e;var n={elem:i("modernizr")};modernizr._q.push(function(){delete n.elem});var j={style:n.elem.style};modernizr._q.unshift(function(){delete j.style}),b.testallprops=h,b.testallprops=g,modernizr.addtest("cssanimations",g("animationname","a",!0)),modernizr.addtest("backgroundsize",g("backgroundsize","100%",!0)),modernizr.addtest("csstransitions",g("transition","all",!0)),modernizr.addtest("csstransforms3d",function(){var e=!!g("perspective","1px",!0),n=modernizr._config.useprefixes;if(e&&(!n||"webkitperspective"in c.style)){var t;modernizr.supports?t="@supports (perspective: 1px)":(t="@media (transform-3d)",n&&(t+=",(-webkit-transform-3d)")),t+="{#modernizr{left:9px;position:absolute;height:5px;margin:0;padding:0;border:0}}",z(t,function(n){e=9===n.offsetleft&&5===n.offsetheight})}return e}),modernizr.addtest("bgsizecover",g("backgroundsize","cover")),modernizr.addtest("borderradius",g("borderradius","0px",!0)),modernizr.addtest("boxshadow",g("boxshadow","1px 1px",!0)),modernizr.addtest("csstransforms",function(){return-1===navigator.useragent.indexof("android 2.")&&g("transform","scale(1)",!0)}),r(),s(y),delete b.addtest,delete b.addasynctest;for(var a=0;a=$(this).offset().top&&!$(this).data("start")&&($(this).data("start",!0),new animatenum({obj:$(this),target:t,totaltime:1e3}))})};function b(){var t=$(".animatebar");var n={top:$(window).scrolltop(),bottom:$(window).scrolltop()+$(window).height()};t.each(function(){var t=$(this).attr("data-animatetarget");n.top<=$(this).offset().top+$(this).height()&&n.bottom>=$(this).offset().top&&!$(this).data("start")&&($(this).data("start",!0),new animatebar({obj:$(this),target:t,totaltime:1e3}))})};function p(){var t=$(".animatepie");var n={top:$(window).scrolltop(),bottom:$(window).scrolltop()+$(window).height()};t.each(function(){var t=$(this).attr("data-animatetarget");n.top<=$(this).offset().top+$(this).height()&&n.bottom>=$(this).offset().top&&!$(this).data("start")&&($(this).data("start",!0),new animatepie({obj:$(this),target:t,totaltime:1e3}))})};$(window).bind("scroll",function(){n();b();p()});function animatenum(t){this.obj=t.obj,this.target=t.target.tostring(),this.totaltime=t.totaltime||1e3,this.init()};function animatebar(t){this.obj=t.obj,this.target=t.target.tostring(),this.totaltime=t.totaltime||1e3,this.init()};function animatepie(t){this.obj=t.obj,this.target=t.target.tostring(),this.totaltime=t.totaltime||1e3,this.init()};animatenum.prototype={init:function(){return this.target?(this.animation(),void 0):!1},animation:function(){var t=this,i=this.target.indexof("."),e=0;i>=0&&(e=this.target.length-i-1);var n=this.target.replace(".",""),s=this.totaltime/30|0,a=n/s|0,r=0,h=0;t.timer=setinterval(function(){r++,h+=a,t.obj.html(h/math.pow(10,e)),r>=s&&(clearinterval(t.timer),t.obj.html(t.target))},30)}};animatebar.prototype={init:function(){return this.target?(this.animation(),void 0):!1},animation:function(){var t=this,i=this.target.indexof("."),e=0;i>=0&&(e=this.target.length-i-1);var n=this.target.replace(".",""),s=this.totaltime/30|0,a=n/s|0,r=0,h=0;t.timer=setinterval(function(){r++,h+=a,t.obj.css('width',h/math.pow(10,e)+'%'),r>=s&&(clearinterval(t.timer),t.obj.animate({'width':t.target+'%'}))},30)}};animatepie.prototype={init:function(){return this.target?(this.animation(),void 0):!1},animation:function(){var t=this;s=this.totaltime/60|0;r=0;t.i=0;t.count=0;t.j=0;num=t.target;function start1(){t.obj.find('.pieinner span').html(t.i+1);if(num==0)return false;t.i=t.i+1;if(t.i==num){clearinterval(t.t1)}if(t.i==50){clearinterval(t.t1);num2=num-50;t.t2=setinterval(start2,1)};t.obj.find(".pieleftinner").css("-o-transform","rotate("+t.i*3.6+"deg)");t.obj.find(".pieleftinner").css("-moz-transform","rotate("+t.i*3.6+"deg)");t.obj.find(".pieleftinner").css("-webkit-transform","rotate("+t.i*3.6+"deg)")};function start2(){t.obj.find('.pieinner span').html(50+t.j+1);if(num2==0)return false;t.j=t.j+1;if(t.j==num2){clearinterval(t.t2)}if(t.j==50){clearinterval(t.t2)};t.obj.find(".pierightinner").css("-o-transform","rotate("+t.j*3.6+"deg)");t.obj.find(".pierightinner").css("-moz-transform","rotate("+t.j*3.6+"deg)");t.obj.find(".pierightinner").css("-webkit-transform","rotate("+t.j*3.6+"deg)")};t.t1=setinterval(function(){r++;r>=s&&(clearinterval(t.timer),start1())},30)}}}})(jquery); (function(e){"use strict";e.fn.counterup=function(t){var n=e.extend({time:400,delay:10},t);return this.each(function(){var t=e(this),r=n,i=function(){var e=[],n=r.time/r.delay,i=t.text(),s=/[0-9]+,[0-9]+/.test(i);i=i.replace(/,/g,"");var o=/^[0-9]+$/.test(i),u=/^[0-9]+\.[0-9]+$/.test(i),a=u?(i.split(".")[1]||[]).length:0;for(var f=n;f>=1;f--){var l=parseint(i/n*f);u&&(l=parsefloat(i/n*f).tofixed(a));if(s)while(/(\d+)(\d{3})/.test(l.tostring()))l=l.tostring().replace(/(\d+)(\d{3})/,"$1,$2");e.unshift(l)}t.data("counterup-nums",e);t.text("0");var c=function(){t.text(t.data("counterup-nums").shift());if(t.data("counterup-nums").length)settimeout(t.data("counterup-func"),r.delay);else{delete t.data("counterup-nums");t.data("counterup-nums",null);t.data("counterup-func",null)}};t.data("counterup-func",c);settimeout(t.data("counterup-func"),r.delay)};t.waypoint(i,{offset:"100%",triggeronce:!0})})}})(jquery); (function(){var t=[].indexof||function(t){for(var e=0,n=this.length;e=0;s={horizontal:{},vertical:{}};f=1;a={};u="waypoints-context-id";p="resize.waypoints";y="scroll.waypoints";v=1;w="waypoints-waypoint-ids";g="waypoint";m="waypoints";o=function(){function t(t){var e=this;this.$element=t;this.element=t[0];this.didresize=false;this.didscroll=false;this.id="context"+f++;this.oldscroll={x:t.scrollleft(),y:t.scrolltop()};this.waypoints={horizontal:{},vertical:{}};t.data(u,this.id);a[this.id]=this;t.bind(y,function(){var t;if(!(e.didscroll||c)){e.didscroll=true;t=function(){e.doscroll();return e.didscroll=false};return r.settimeout(t,n[m].settings.scrollthrottle)}});t.bind(p,function(){var t;if(!e.didresize){e.didresize=true;t=function(){n[m]("refresh");return e.didresize=false};return r.settimeout(t,n[m].settings.resizethrottle)}})}t.prototype.doscroll=function(){var t,e=this;t={horizontal:{newscroll:this.$element.scrollleft(),oldscroll:this.oldscroll.x,forward:"right",backward:"left"},vertical:{newscroll:this.$element.scrolltop(),oldscroll:this.oldscroll.y,forward:"down",backward:"up"}};if(c&&(!t.vertical.oldscroll||!t.vertical.newscroll)){n[m]("refresh")}n.each(t,function(t,r){var i,o,l;l=[];o=r.newscroll>r.oldscroll;i=o?r.forward:r.backward;n.each(e.waypoints[t],function(t,e){var n,i;if(r.oldscroll<(n=e.offset)&&n<=r.newscroll){return l.push(e)}else if(r.newscroll<(i=e.offset)&&i<=r.oldscroll){return l.push(e)}});l.sort(function(t,e){return t.offset-e.offset});if(!o){l.reverse()}return n.each(l,function(t,e){if(e.options.continuous||t===l.length-1){return e.trigger([i])}})});return this.oldscroll={x:t.horizontal.newscroll,y:t.vertical.newscroll}};t.prototype.refresh=function(){var t,e,r,i=this;r=n.iswindow(this.element);e=this.$element.offset();this.doscroll();t={horizontal:{contextoffset:r?0:e.left,contextscroll:r?0:this.oldscroll.x,contextdimension:this.$element.width(),oldscroll:this.oldscroll.x,forward:"right",backward:"left",offsetprop:"left"},vertical:{contextoffset:r?0:e.top,contextscroll:r?0:this.oldscroll.y,contextdimension:r?n[m]("viewportheight"):this.$element.height(),oldscroll:this.oldscroll.y,forward:"down",backward:"up",offsetprop:"top"}};return n.each(t,function(t,e){return n.each(i.waypoints[t],function(t,r){var i,o,l,s,f;i=r.options.offset;l=r.offset;o=n.iswindow(r.element)?0:r.$element.offset()[e.offsetprop];if(n.isfunction(i)){i=i.apply(r.element)}else if(typeof i==="string"){i=parsefloat(i);if(r.options.offset.indexof("%")>-1){i=math.ceil(e.contextdimension*i/100)}}r.offset=o-e.contextoffset+e.contextscroll-i;if(r.options.onlyonscroll&&l!=null||!r.enabled){return}if(l!==null&&l<(s=e.oldscroll)&&s<=r.offset){return r.trigger([e.backward])}else if(l!==null&&l>(f=e.oldscroll)&&f>=r.offset){return r.trigger([e.forward])}else if(l===null&&e.oldscroll>=r.offset){return r.trigger([e.forward])}})})};t.prototype.checkempty=function(){if(n.isemptyobject(this.waypoints.horizontal)&&n.isemptyobject(this.waypoints.vertical)){this.$element.unbind([p,y].join(" "));return delete a[this.id]}};return t}();l=function(){function t(t,e,r){var i,o;r=n.extend({},n.fn[g].defaults,r);if(r.offset==="bottom-in-view"){r.offset=function(){var t;t=n[m]("viewportheight");if(!n.iswindow(e.element)){t=e.$element.height()}return t-n(this).outerheight()}}this.$element=t;this.element=t[0];this.axis=r.horizontal?"horizontal":"vertical";this.callback=r.handler;this.context=e;this.enabled=r.enabled;this.id="waypoints"+v++;this.offset=null;this.options=r;e.waypoints[this.axis][this.id]=this;s[this.axis][this.id]=this;i=(o=t.data(w))!=null?o:[];i.push(this.id);t.data(w,i)}t.prototype.trigger=function(t){if(!this.enabled){return}if(this.callback!=null){this.callback.apply(this.element,t)}if(this.options.triggeronce){return this.destroy()}};t.prototype.disable=function(){return this.enabled=false};t.prototype.enable=function(){this.context.refresh();return this.enabled=true};t.prototype.destroy=function(){delete s[this.axis][this.id];delete this.context.waypoints[this.axis][this.id];return this.context.checkempty()};t.getwaypointsbyelement=function(t){var e,r;r=n(t).data(w);if(!r){return[]}e=n.extend({},s.horizontal,s.vertical);return n.map(r,function(t){return e[t]})};return t}();d={init:function(t,e){var r;if(e==null){e={}}if((r=e.handler)==null){e.handler=t}this.each(function(){var t,r,i,s;t=n(this);i=(s=e.context)!=null?s:n.fn[g].defaults.context;if(!n.iswindow(i)){i=t.closest(i)}i=n(i);r=a[i.data(u)];if(!r){r=new o(i)}return new l(t,r,e)});n[m]("refresh");return this},disable:function(){return d._invoke(this,"disable")},enable:function(){return d._invoke(this,"enable")},destroy:function(){return d._invoke(this,"destroy")},prev:function(t,e){return d._traverse.call(this,t,e,function(t,e,n){if(e>0){return t.push(n[e-1])}})},next:function(t,e){return d._traverse.call(this,t,e,function(t,e,n){if(et.oldscroll.y})},left:function(t){if(t==null){t=r}return h._filter(t,"horizontal",function(t,e){return e.offset<=t.oldscroll.x})},right:function(t){if(t==null){t=r}return h._filter(t,"horizontal",function(t,e){return e.offset>t.oldscroll.x})},enable:function(){return h._invoke("enable")},disable:function(){return h._invoke("disable")},destroy:function(){return h._invoke("destroy")},extendfn:function(t,e){return d[t]=e},_invoke:function(t){var e;e=n.extend({},s.vertical,s.horizontal);return n.each(e,function(e,n){n[t]();return true})},_filter:function(t,e,r){var i,o;i=a[n(t).data(u)];if(!i){return[]}o=[];n.each(i.waypoints[e],function(t,e){if(r(i,e)){return o.push(e)}});o.sort(function(t,e){return t.offset-e.offset});return n.map(o,function(t){return t.element})}};n[m]=function(){var t,n;n=arguments[0],t=2<=arguments.length?e.call(arguments,1):[];if(h[n]){return h[n].apply(null,t)}else{return h.aggregate.call(null,n)}};n[m].settings={resizethrottle:100,scrollthrottle:30};return i.load(function(){return n[m]("refresh")})})}).call(this); !function(t){"use strict";t.fn.countup=function(e){var a=t.extend({time:2e3,delay:10},e);return this.each(function(){var e=t(this),n=a,u=function(){e.data("counterupto")||e.data("counterupto",e.text());var t=parseint(e.data("counter-time"))>0?parseint(e.data("counter-time")):n.time,a=parseint(e.data("counter-delay"))>0?parseint(e.data("counter-delay")):n.delay,u=t/a,r=e.data("counterupto"),o=[r],c=/[0-9]+,[0-9]+/.test(r);r=r.replace(/,/g,"");for(var d=(/^[0-9]+$/.test(r),/^[0-9]+\.[0-9]+$/.test(r)),s=d?(r.split(".")[1]||[]).length:0,i=u;i>=1;i--){var p=parseint(math.round(r/u*i));if(d&&(p=parsefloat(r/u*i).tofixed(s)),c)for(;/(\d+)(\d{3})/.test(p.tostring());)p=p.tostring().replace(/(\d+)(\d{3})/,"$1,$2");o.unshift(p)}e.data("counterup-nums",o),e.text("0");var f=function(){e.text(e.data("counterup-nums").shift()),e.data("counterup-nums").length?settimeout(e.data("counterup-func"),a):(delete e.data("counterup-nums"),e.data("counterup-nums",null),e.data("counterup-func",null))};e.data("counterup-func",f),settimeout(e.data("counterup-func"),a)};e.waypoint(u,{offset:"100%",triggeronce:!0})})}}(jquery); /* _ _ _ _ ___| (_) ___| | __ (_)___ / __| | |/ __| |/ / | / __| \__ \ | | (__| < _ | \__ \ |___/_|_|\___|_|\_(_)/ |___/ |__/ version: 1.6.0 author: ken wheeler website: http://kenwheeler.github.io docs: http://kenwheeler.github.io/slick repo: http://github.com/kenwheeler/slick issues: http://github.com/kenwheeler/slick/issues */ !function(a){"use strict";"function"==typeof define&&define.amd?define(["jquery"],a):"undefined"!=typeof exports?module.exports=a(require("jquery")):a(jquery)}(function(a){"use strict";var b=window.slick||{};b=function(){function c(c,d){var f,e=this;e.defaults={accessibility:!0,adaptiveheight:!1,appendarrows:a(c),appenddots:a(c),arrows:!0,asnavfor:null,prevarrow:'
',nextarrow:'
',autoplay:!1,autoplayspeed:3e3,centermode:!1,centerpadding:"50px",cssease:"ease",custompaging:function(b,c){return a('