function flower(t){function e(t,e){return Math.random()*(e-t)+t}function i(t,e){return Math.floor(t+Math.random()*(e-t+1))}function n(t,i,n,s,o){this.x=i+e(-15,15),this.y=n+e(-15,15),this.points=[],this.angle=void 0!=s?s:e(0,1*Math.PI),this.vel=void 0!=o?o:e(-4,4),this.spread=0,this.tick=0,this.hue=void 0!=t?t:200,this.life=1,this.decay=.0015,this.dead=!1,this.points.push({x:this.x,y:this.y})}function s(){y=document.getElementsByClassName("container")[0],w=y.offsetWidth,v=window.innerWidth,u=(h=v<=767?w:.36*w)/2,f=(d=v<=767?w/2:1.2*h)/2,p.length=0,l.width=h,l.height=d,g=0;for(var t=0;t<500;t++)p.push(new n(m,u,f))}function o(){for(var t=p.length;t--;)p[t].step(t);g++}function r(){var t=p.length;if(g<450){c.save(),c.globalCompositeOperation="lighter",c.globalAlpha=.002,c.translate(u,f);var i=1+25e-5*g;c.scale(i,i),c.translate(-u,-f),c.drawImage(l,e(-150,150),e(-150,150)),c.restore()}for(c.globalCompositeOperation="lighter";t--;)p[t].draw()}function a(){requestAnimationFrame(a),o(),r()}var l,c,h,d,u,f,p,m,g,v,y,w;n.prototype.step=function(t){if(this.life-=this.decay,this.life<=0&&(this.dead=!0),this.dead)p.splice(t,1);else{var i=this.points[this.points.length-1];this.points.push({x:i.x+Math.cos(this.angle)*this.vel,y:i.y+Math.sin(this.angle)*this.vel}),this.angle+=e(-this.spread,this.spread),this.vel*=.99,this.spread=.04*this.vel,this.tick++,this.hue+=.3}},n.prototype.draw=function(){if(!this.points.length||this.dead)return!1;var t=this.points.length-1,n=this.points[t],s=this.points[t-i(5,100)];if(s){var o=2+6*this.life;c.beginPath(),c.moveTo(s.x,s.y),c.lineTo(n.x+e(-o,o),n.y+e(-o,o)),c.lineWidth=1;var r=.075*this.life;c.strokeStyle="hsla("+(this.hue+e(-10,10))+", 70%, 40%, "+r+")",c.stroke()}},window.addEventListener("resize",s),document.getElementById("canvasbox").addEventListener("click",function(){m+=60,s()}),l=document.getElementById("flower"),c=l.getContext("2d"),m=220,p=[],s(),a()}!function(t,e){"use strict";"function"==typeof define&&define.amd?define(["jquery"],function(i){return e(i,t,t.document,t.Math)}):"object"==typeof exports&&exports?module.exports=e(require("jquery"),t,t.document,t.Math):e(jQuery,t,t.document,t.Math)}("undefined"!=typeof window?window:this,function(t,e,i,n,s){"use strict";var o="fullpage-wrapper",r="."+o,a="fp-scrollable",l="."+a,c="fp-responsive",h="fp-notransition",d="fp-destroyed",u="fp-enabled",f="fp-viewing",p="active",m="."+p,g="fp-completely",v="."+g,y="fp-section",w="."+y,_=w+m,b=w+":first",x=w+":last",C="fp-tableCell",S="."+C,E="fp-auto-height",k="fp-normal-scroll",T="fp-nav",A="#"+T,$="fp-tooltip",z="."+$,L="fp-show-active",M="fp-slide",I="."+M,O=I+m,D="fp-slides",P="."+D,j="fp-slidesContainer",B="."+j,H="fp-table",R="fp-slidesNav",N="."+R,q=N+" a",W="fp-controlArrow",F="."+W,U="fp-prev",V=W+" "+U,Q=F+("."+U),Y="fp-next",X=W+" "+Y,Z=F+".fp-next",G=t(e),K=t(i),J={scrollbars:!0,mouseWheel:!0,hideScrollbars:!1,fadeScrollbars:!1,disableMouse:!0,interactiveScrollbars:!0};t.fn.fullpage=function(a){function l(e,i){e||Ye(0),Ke("autoScrolling",e,i);var n=t(_);a.autoScrolling&&!a.scrollBar?(ei.css({overflow:"hidden",height:"100%"}),W(ki.recordHistory,"internal"),di.css({"-ms-touch-action":"none","touch-action":"none"}),n.length&&Ye(n.position().top)):(ei.css({overflow:"visible",height:"initial"}),W(!1,"internal"),di.css({"-ms-touch-action":"","touch-action":""}),n.length&&ei.scrollTop(n.position().top))}function W(t,e){Ke("recordHistory",t,e)}function Y(t,e){Ke("scrollingSpeed",t,e)}function et(t,e){Ke("fitToSection",t,e)}function it(t){t?(Ne(),qe()):(Re(),We())}function nt(e,i){void 0!==i?(i=i.replace(/ /g,"").split(","),t.each(i,function(t,i){Ze(e,i,"m")})):e?(it(!0),Fe()):(it(!1),Ue())}function st(e,i){void 0!==i?(i=i.replace(/ /g,"").split(","),t.each(i,function(t,i){Ze(e,i,"k")})):a.keyboardScrolling=e}function ot(){var e=t(_).prev(w);e.length||!a.loopTop&&!a.continuousVertical||(e=t(w).last()),e.length&&qt(e,null,!0)}function rt(){var e=t(_).next(w);e.length||!a.loopBottom&&!a.continuousVertical||(e=t(w).first()),e.length&&qt(e,null,!1)}function at(t,e){Y(0,"internal"),lt(t,e),Y(ki.scrollingSpeed,"internal")}function lt(t,e){var i=ze(t);void 0!==e?Me(t,e):i.length>0&&qt(i)}function ct(t){Ht("right",t)}function ht(t){Ht("left",t)}function dt(e){if(!di.hasClass(d)){fi=!0,ui=G.height(),t(w).each(function(){var e=t(this).find(P),i=t(this).find(I);a.verticalCentered&&t(this).find(S).css("height",Ae(t(this))+"px"),t(this).css("height",ui+"px"),a.scrollOverflow&&(i.length?i.each(function(){ke(t(this))}):ke(t(this))),i.length>1&&fe(e,e.find(O))});var i=t(_).index(w);i&&at(i+1),fi=!1,t.isFunction(a.afterResize)&&e&&a.afterResize.call(di),t.isFunction(a.afterReBuild)&&!e&&a.afterReBuild.call(di)}}function ut(e){var i=ii.hasClass(c);e?i||(l(!1,"internal"),et(!1,"internal"),t(A).hide(),ii.addClass(c),t.isFunction(a.afterResponsive)&&a.afterResponsive.call(di,e)):i&&(l(ki.autoScrolling,"internal"),et(ki.autoScrolling,"internal"),t(A).show(),ii.removeClass(c),t.isFunction(a.afterResponsive)&&a.afterResponsive.call(di,e))}function ft(){var e=di.find(a.sectionSelector);a.anchors.length||(a.anchors=e.filter("[data-anchor]").map(function(){return t(this).data("anchor").toString()}).get()),a.navigationTooltips.length||(a.navigationTooltips=e.filter("[data-tooltip]").map(function(){return t(this).data("tooltip").toString()}).get())}function pt(){di.css({height:"100%",position:"relative"}),di.addClass(o),t("html").addClass(u),ui=G.height(),di.removeClass(d),yt(),t(w).each(function(e){var i=t(this),n=i.find(I),s=n.length;gt(i,e),vt(i,e),s>0?mt(i,n,s):a.verticalCentered&&Te(i)}),a.fixedElements&&a.css3&&t(a.fixedElements).appendTo(ii),a.navigation&&_t(),xt(),a.scrollOverflow?("complete"===i.readyState&&bt(),G.on("load",bt)):Et()}function mt(e,i,n){var s=100*n,o=100/n;i.wrapAll('
'),i.parent().wrap('
'),e.find(B).css("width",s+"%"),n>1&&(a.controlArrows&&wt(e),a.slidesNavigation&&Oe(e,n)),i.each(function(e){t(this).css("width",o+"%"),a.verticalCentered&&Te(t(this))});var r=e.find(O);r.length&&(0!==t(_).index(w)||0===t(_).index(w)&&0!==r.index())?Qe(r,"internal"):i.eq(0).addClass(p)}function gt(e,i){i||0!==t(_).length||e.addClass(p),ai=t(_),e.css("height",ui+"px"),a.paddingTop&&e.css("padding-top",a.paddingTop),a.paddingBottom&&e.css("padding-bottom",a.paddingBottom),void 0!==a.sectionsColor[i]&&e.css("background-color",a.sectionsColor[i]),void 0!==a.anchors[i]&&e.attr("data-anchor",a.anchors[i])}function vt(e,i){void 0!==a.anchors[i]&&e.hasClass(p)&&Ce(a.anchors[i],i),a.menu&&a.css3&&t(a.menu).closest(r).length&&t(a.menu).appendTo(ii)}function yt(){di.find(a.sectionSelector).addClass(y),di.find(a.slideSelector).addClass(M)}function wt(t){t.find(P).after('
'),"#fff"!=a.controlArrowColor&&(t.find(Z).css("border-color","transparent transparent transparent "+a.controlArrowColor),t.find(Q).css("border-color","transparent "+a.controlArrowColor+" transparent transparent")),a.loopHorizontal||t.find(Q).hide()}function _t(){ii.append('
    ');var e=t(A);e.addClass(function(){return a.showActiveTooltip?L+" "+a.navigationPosition:a.navigationPosition});for(var i=0;i',o=a.navigationTooltips[i];void 0!==o&&""!==o&&(s+='
    '+o+"
    "),s+="",e.find("ul").append(s)}t(A).css("margin-top","-"+t(A).height()/2+"px"),t(A).find("li").eq(t(_).index(w)).find("a").addClass(p)}function bt(){t(w).each(function(){var e=t(this).find(I);e.length?e.each(function(){ke(t(this))}):ke(t(this))}),Et()}function xt(){di.find('iframe[src*="youtube.com/embed/"]').each(function(){Ct(t(this),"enablejsapi=1")})}function Ct(t,e){var i=t.attr("src");t.attr("src",i+St(i)+e)}function St(t){return/\?/.test(t)?"&":"?"}function Et(){var e=t(_);e.addClass(g),a.scrollOverflowHandler.afterRender&&a.scrollOverflowHandler.afterRender(e),Xt(e),Zt(e),a.scrollOverflowHandler.afterLoad(),kt()&&t.isFunction(a.afterLoad)&&a.afterLoad.call(e,e.data("anchor"),e.index(w)+1),t.isFunction(a.afterRender)&&a.afterRender.call(di)}function kt(){var t=e.location.hash.replace("#","").split("/"),i=ze(decodeURIComponent(t[0]));return!i.length||i.length&&i.index()===ai.index()}function Tt(){var e;if(!a.autoScrolling||a.scrollBar){var n=G.scrollTop(),s=zt(n),o=0,r=n+G.height()/2,l=ii.height()-G.height()===n,c=i.querySelectorAll(w);if(l)o=c.length-1;else if(n)for(var h=0;h=G.scrollTop()+G.height():i<=G.scrollTop()}function zt(t){var e=t>Ai?"down":"up";return Ai=t,Oi=t,e}function Lt(t,e){if(vi.m[t]){var i="down"===t?"bottom":"top",n="down"===t?rt:ot;if(e.length>0){if(!a.scrollOverflowHandler.isScrolled(i,e))return!0;n()}else n()}}function Mt(t){var e=t.originalEvent;!Ot(t.target)&&a.autoScrolling&&Dt(e)&&t.preventDefault()}function It(e){var i=e.originalEvent,s=t(i.target).closest(w);if(!Ot(e.target)&&Dt(i)){a.autoScrolling&&e.preventDefault();var o=a.scrollOverflowHandler.scrollable(s),r=Ve(i);Li=r.y,Mi=r.x,s.find(P).length&&n.abs(zi-Mi)>n.abs($i-Li)?!li&&n.abs(zi-Mi)>G.outerWidth()/100*a.touchSensitivity&&(zi>Mi?vi.m.right&&ct(s):vi.m.left&&ht(s)):a.autoScrolling&&mi&&n.abs($i-Li)>G.height()/100*a.touchSensitivity&&($i>Li?Lt("down",o):Li>$i&&Lt("up",o))}}function Ot(e,i){i=i||0;var n=t(e).parent();return!!(i149&&gi.shift(),gi.push(n.abs(r)),a.scrollBar&&(i.preventDefault?i.preventDefault():i.returnValue=!1);var d=t(_),u=a.scrollOverflowHandler.scrollable(d),f=s-Ii;return Ii=s,f>200&&(gi=[]),mi&&jt(gi,10)>=jt(gi,70)&&h&&(0>l?Lt("down",u):Lt("up",u)),!1}a.fitToSection&&ei.stop()}function Ht(e,i){var n=(void 0===i?t(_):i).find(P),s=n.find(I).length;if(!(!n.length||li||2>s)){var o=n.find(O),r=null;if(!(r="left"===e?o.prev(I):o.next(I)).length){if(!a.loopHorizontal)return;r="left"===e?o.siblings(":last"):o.siblings(":first")}li=!0,fe(n,r,e)}}function Rt(){t(O).each(function(){Qe(t(this),"internal")})}function Nt(t){var e=t.position(),i=e.top,n=e.top>Oi,s=i-ui+t.outerHeight(),o=a.bigSectionsDestination;return t.outerHeight()>ui?(!n&&!o||"bottom"===o)&&(i=s):(n||fi&&t.is(":last-child"))&&(i=s),Oi=i,i}function qt(e,i,n){if(void 0!==e){var s,o,r={element:e,callback:i,isMovementUp:n,dtop:Nt(e),yMovement:Se(e),anchorLink:e.data("anchor"),sectionIndex:e.index(w),activeSlide:e.find(O),activeSection:t(_),leavingSection:t(_).index(w)+1,localIsResizing:fi};r.activeSection.is(e)&&!fi||a.scrollBar&&G.scrollTop()===r.dtop&&!e.hasClass(E)||(r.activeSlide.length&&(s=r.activeSlide.data("anchor"),o=r.activeSlide.index()),a.autoScrolling&&a.continuousVertical&&void 0!==r.isMovementUp&&(!r.isMovementUp&&"up"==r.yMovement||r.isMovementUp&&"down"==r.yMovement)&&(r=Ut(r)),(!t.isFunction(a.onLeave)||r.localIsResizing||!1!==a.onLeave.call(r.activeSection,r.leavingSection,r.sectionIndex+1,r.yMovement))&&(r.localIsResizing||Kt(r.activeSection),a.scrollOverflowHandler.beforeLeave(),e.addClass(p).siblings().removeClass(p),Xt(e),a.scrollOverflowHandler.onLeave(),mi=!1,De(o,s,r.anchorLink,r.sectionIndex),Wt(r),si=r.anchorLink,Ce(r.anchorLink,r.sectionIndex)))}}function Wt(e){if(a.css3&&a.autoScrolling&&!a.scrollBar)$e("translate3d(0px, -"+n.round(e.dtop)+"px, 0px)",!0),a.scrollingSpeed?(clearTimeout(wi),wi=setTimeout(function(){Qt(e)},a.scrollingSpeed)):Qt(e);else{var i=Ft(e);t(i.element).animate(i.options,a.scrollingSpeed,a.easing).promise().done(function(){a.scrollBar?setTimeout(function(){Qt(e)},30):Qt(e)})}}function Ft(t){var e={};return a.autoScrolling&&!a.scrollBar?(e.options={top:-t.dtop},e.element=r):(e.options={scrollTop:t.dtop},e.element="html, body"),e}function Ut(e){return e.isMovementUp?t(_).before(e.activeSection.nextAll(w)):t(_).after(e.activeSection.prevAll(w).get().reverse()),Ye(t(_).position().top),Rt(),e.wrapAroundElements=e.activeSection,e.dtop=e.element.position().top,e.yMovement=Se(e.element),e}function Vt(e){e.wrapAroundElements&&e.wrapAroundElements.length&&(e.isMovementUp?t(b).before(e.wrapAroundElements):t(x).after(e.wrapAroundElements),Ye(t(_).position().top),Rt())}function Qt(e){Vt(e),t.isFunction(a.afterLoad)&&!e.localIsResizing&&a.afterLoad.call(e.element,e.anchorLink,e.sectionIndex+1),a.scrollOverflowHandler.afterLoad(),e.localIsResizing||Zt(e.element),e.element.addClass(g).siblings().removeClass(g),mi=!0,t.isFunction(e.callback)&&e.callback.call(this)}function Yt(t,e){t.attr(e,t.data(e)).removeAttr("data-"+e)}function Xt(e){if(a.lazyLoading){var i;Jt(e).find("img[data-src], img[data-srcset], source[data-src], audio[data-src], iframe[data-src]").each(function(){i=t(this),t.each(["src","srcset"],function(t,e){var n=i.attr("data-"+e);void 0!==n&&n&&Yt(i,e)}),i.is("source")&&i.closest("video").get(0).load()})}}function Zt(e){var i=Jt(e);i.find("video, audio").each(function(){var e=t(this).get(0);e.hasAttribute("data-autoplay")&&"function"==typeof e.play&&e.play()}),i.find('iframe[src*="youtube.com/embed/"]').each(function(){var e=t(this).get(0);e.hasAttribute("data-autoplay")&&Gt(e),e.onload=function(){e.hasAttribute("data-autoplay")&&Gt(e)}})}function Gt(t){t.contentWindow.postMessage('{"event":"command","func":"playVideo","args":""}',"*")}function Kt(e){var i=Jt(e);i.find("video, audio").each(function(){var e=t(this).get(0);e.hasAttribute("data-keepplaying")||"function"!=typeof e.pause||e.pause()}),i.find('iframe[src*="youtube.com/embed/"]').each(function(){var e=t(this).get(0);/youtube\.com\/embed\//.test(t(this).attr("src"))&&!e.hasAttribute("data-keepplaying")&&t(this).get(0).contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*")})}function Jt(e){var i=e.find(O);return i.length&&(e=t(i)),e}function te(){var t=e.location.hash.replace("#","").split("/"),i=decodeURIComponent(t[0]),n=decodeURIComponent(t[1]);i&&(a.animateAnchor?Me(i,n):at(i,n))}function ee(){if(!Ti&&!a.lockAnchors){var t=e.location.hash.replace("#","").split("/"),i=decodeURIComponent(t[0]),n=decodeURIComponent(t[1]),s=void 0===si,o=void 0===si&&void 0===n&&!li;i.length&&(i&&i!==si&&!s||o||!li&&oi!=n)&&Me(i,n)}}function ie(e){clearTimeout(Ci);var i=t(":focus");if(!i.is("textarea")&&!i.is("input")&&!i.is("select")&&"true"!==i.attr("contentEditable")&&""!==i.attr("contentEditable")&&a.keyboardScrolling&&a.autoScrolling){var n=e.which;t.inArray(n,[40,38,32,33,34])>-1&&e.preventDefault(),ri=e.ctrlKey,Ci=setTimeout(function(){de(e)},150)}}function ne(){t(this).prev().trigger("click")}function se(t){pi&&(ri=t.ctrlKey)}function oe(t){2==t.which&&(Di=t.pageY,di.on("mousemove",ue))}function re(t){2==t.which&&di.off("mousemove")}function ae(){var e=t(this).closest(w);t(this).hasClass(U)?vi.m.left&&ht(e):vi.m.right&&ct(e)}function le(){pi=!1,ri=!1}function ce(e){e.preventDefault();var i=t(this).parent().index();qt(t(w).eq(i))}function he(e){e.preventDefault();var i=t(this).closest(w).find(P);fe(i,i.find(I).eq(t(this).closest("li").index()))}function de(e){var i=e.shiftKey;if(mi||!([37,39].indexOf(e.which)<0))switch(e.which){case 38:case 33:vi.k.up&&ot();break;case 32:if(i&&vi.k.up){ot();break}case 40:case 34:vi.k.down&&rt();break;case 36:vi.k.up&<(1);break;case 35:vi.k.down&<(t(w).length);break;case 37:vi.k.left&&ht();break;case 39:vi.k.right&&ct();break;default:return}}function ue(t){mi&&(t.pageYDi&&vi.m.down&&rt()),Di=t.pageY}function fe(e,i,n){var s=e.closest(w),o={slides:e,destiny:i,direction:n,destinyPos:i.position(),slideIndex:i.index(),section:s,sectionIndex:s.index(w),anchorLink:s.data("anchor"),slidesNav:s.find(N),slideAnchor:je(i),prevSlide:s.find(O),prevSlideIndex:s.find(O).index(),localIsResizing:fi};return o.xMovement=Ee(o.prevSlideIndex,o.slideIndex),o.localIsResizing||(mi=!1),a.onSlideLeave&&!o.localIsResizing&&"none"!==o.xMovement&&t.isFunction(a.onSlideLeave)&&!1===a.onSlideLeave.call(o.prevSlide,o.anchorLink,o.sectionIndex+1,o.prevSlideIndex,o.xMovement,o.slideIndex)?void(li=!1):(i.addClass(p).siblings().removeClass(p),o.localIsResizing||(Kt(o.prevSlide),Xt(i)),!a.loopHorizontal&&a.controlArrows&&(s.find(Q).toggle(0!==o.slideIndex),s.find(Z).toggle(!i.is(":last-child"))),s.hasClass(p)&&!o.localIsResizing&&De(o.slideIndex,o.slideAnchor,o.anchorLink,o.sectionIndex),void me(e,o,!0))}function pe(e){ge(e.slidesNav,e.slideIndex),e.localIsResizing||(t.isFunction(a.afterSlideLoad)&&a.afterSlideLoad.call(e.destiny,e.anchorLink,e.sectionIndex+1,e.slideAnchor,e.slideIndex),mi=!0,Zt(e.destiny)),li=!1}function me(t,e,i){var s=e.destinyPos;if(a.css3){var o="translate3d(-"+n.round(s.left)+"px, 0px, 0px)";we(t.find(B)).css(Xe(o)),_i=setTimeout(function(){i&&pe(e)},a.scrollingSpeed,a.easing)}else t.animate({scrollLeft:n.round(s.left)},a.scrollingSpeed,a.easing,function(){i&&pe(e)})}function ge(t,e){t.find(m).removeClass(p),t.find("li").eq(e).find("a").addClass(p)}function ve(){if(ye(),ci){var e=t(i.activeElement);if(!e.is("textarea")&&!e.is("input")&&!e.is("select")){var s=G.height();n.abs(s-Pi)>20*n.max(Pi,s)/100&&(dt(!0),Pi=s)}}else clearTimeout(yi),yi=setTimeout(function(){dt(!0)},350)}function ye(){var t=a.responsive||a.responsiveWidth,e=a.responsiveHeight,i=t&&G.outerWidth()n?"up":"down"}function Ee(t,e){return t==e?"none":t>e?"left":"right"}function ke(t){if(!t.hasClass("fp-noscroll")){t.css("overflow","hidden");var e,i=a.scrollOverflowHandler,n=i.wrapContent(),s=t.closest(w),o=i.scrollable(t);o.length?e=i.scrollHeight(t):(e=t.get(0).scrollHeight,a.verticalCentered&&(e=t.find(S).get(0).scrollHeight));var r=ui-parseInt(s.css("padding-bottom"))-parseInt(s.css("padding-top"));e>r?o.length?i.update(t,r):(a.verticalCentered?t.find(S).wrapInner(n):t.wrapInner(n),i.create(t,r)):i.remove(t),t.css("overflow","")}}function Te(t){t.hasClass(H)||t.addClass(H).wrapInner('
    ')}function Ae(t){var e=ui;if(a.paddingTop||a.paddingBottom){var i=t;i.hasClass(y)||(i=t.closest(w));var n=parseInt(i.css("padding-top"))+parseInt(i.css("padding-bottom"));e=ui-n}return e}function $e(t,e){e?we(di):_e(di),di.css(Xe(t)),setTimeout(function(){di.removeClass(h)},10)}function ze(e){if(!e)return[];var i=di.find(w+'[data-anchor="'+e+'"]');return i.length||(i=t(w).eq(e-1)),i}function Le(t,e){var i=e.find(P),n=i.find(I+'[data-anchor="'+t+'"]');return n.length||(n=i.find(I).eq(t)),n}function Me(t,e){var i=ze(t);i.length&&(void 0===e&&(e=0),t===si||i.hasClass(p)?Ie(i,e):qt(i,function(){Ie(i,e)}))}function Ie(t,e){if(void 0!==e){var i=t.find(P),n=Le(e,t);n.length&&fe(i,n)}}function Oe(t,e){t.append('
      ');var i=t.find(N);i.addClass(a.slidesNavPosition);for(var n=0;e>n;n++)i.find("ul").append('
    • ');i.css("margin-left","-"+i.width()/2+"px"),i.find("li").first().find("a").addClass(p)}function De(t,e,i,n){var s="";a.anchors.length&&!a.lockAnchors&&(t?(void 0!==i&&(s=i),void 0===e&&(e=t),oi=e,Pe(s+"/"+e)):void 0!==t?(oi=e,Pe(i)):Pe(i)),Be()}function Pe(t){if(a.recordHistory)location.hash=t;else if(ci||hi)e.history.replaceState(s,s,"#"+t);else{var i=e.location.href.split("#")[0];e.location.replace(i+"#"+t)}}function je(t){var e=t.data("anchor"),i=t.index();return void 0===e&&(e=i),e}function Be(){var e=t(_),i=e.find(O),n=je(e),s=je(i),o=String(n);i.length&&(o=o+"-"+s),o=o.replace("/","-").replace("#","");var r=new RegExp("\\b\\s?"+f+"-[^\\s]+\\b","g");ii[0].className=ii[0].className.replace(r,""),ii.addClass(f+"-"+o)}function He(){var t,n=i.createElement("p"),o={webkitTransform:"-webkit-transform",OTransform:"-o-transform",msTransform:"-ms-transform",MozTransform:"-moz-transform",transform:"transform"};i.body.insertBefore(n,null);for(var r in o)n.style[r]!==s&&(n.style[r]="translate3d(1px,1px,1px)",t=e.getComputedStyle(n).getPropertyValue(o[r]));return i.body.removeChild(n),t!==s&&t.length>0&&"none"!==t}function Re(){i.addEventListener?(i.removeEventListener("mousewheel",Bt,!1),i.removeEventListener("wheel",Bt,!1),i.removeEventListener("MozMousePixelScroll",Bt,!1)):i.detachEvent("onmousewheel",Bt)}function Ne(){var t,n="";e.addEventListener?t="addEventListener":(t="attachEvent",n="on");var o="onwheel"in i.createElement("div")?"wheel":i.onmousewheel!==s?"mousewheel":"DOMMouseScroll";"DOMMouseScroll"==o?i[t](n+"MozMousePixelScroll",Bt,!1):i[t](n+o,Bt,!1)}function qe(){di.on("mousedown",oe).on("mouseup",re)}function We(){di.off("mousedown",oe).off("mouseup",re)}function Fe(){(ci||hi)&&(a.autoScrolling&&ii.off(Ei.touchmove).on(Ei.touchmove,Mt),t(r).off(Ei.touchstart).on(Ei.touchstart,Pt).off(Ei.touchmove).on(Ei.touchmove,It))}function Ue(){(ci||hi)&&t(r).off(Ei.touchstart).off(Ei.touchmove)}function Ve(t){var e=[];return e.y=void 0!==t.pageY&&(t.pageY||t.pageX)?t.pageY:t.touches[0].pageY,e.x=void 0!==t.pageX&&(t.pageY||t.pageX)?t.pageX:t.touches[0].pageX,hi&&Dt(t)&&a.scrollBar&&(e.y=t.touches[0].pageY,e.x=t.touches[0].pageX),e}function Qe(t,e){Y(0,"internal"),void 0!==e&&(fi=!0),fe(t.closest(P),t),void 0!==e&&(fi=!1),Y(ki.scrollingSpeed,"internal")}function Ye(t){var e=n.round(t);a.css3&&a.autoScrolling&&!a.scrollBar?$e("translate3d(0px, -"+e+"px, 0px)",!1):a.autoScrolling&&!a.scrollBar?di.css("top",-e):ei.scrollTop(e)}function Xe(t){return{"-webkit-transform":t,"-moz-transform":t,"-ms-transform":t,transform:t}}function Ze(t,e,i){switch(e){case"up":vi[i].up=t;break;case"down":vi[i].down=t;break;case"left":vi[i].left=t;break;case"right":vi[i].right=t;break;case"all":"m"==i?nt(t):st(t)}}function Ge(){Ye(0),di.find("img[data-src], source[data-src], audio[data-src], iframe[data-src]").each(function(){Yt(t(this),"src")}),di.find("img[data-srcset]").each(function(){Yt(t(this),"srcset")}),t(A+", "+N+", "+F).remove(),t(w).css({height:"","background-color":"",padding:""}),t(I).css({width:""}),di.css({height:"",position:"","-ms-touch-action":"","touch-action":""}),ei.css({overflow:"",height:""}),t("html").removeClass(u),ii.removeClass(c),t.each(ii.get(0).className.split(/\s+/),function(t,e){0===e.indexOf(f)&&ii.removeClass(e)}),t(w+", "+I).each(function(){a.scrollOverflowHandler.remove(t(this)),t(this).removeClass(H+" "+p)}),_e(di),di.find(S+", "+B+", "+P).each(function(){t(this).replaceWith(this.childNodes)}),di.css({"-webkit-transition":"none",transition:"none"}),ei.scrollTop(0);var e=[y,M,j];t.each(e,function(e,i){t("."+i).removeClass(i)})}function Ke(t,e,i){a[t]=e,"internal"!==i&&(ki[t]=e)}function Je(){return t("html").hasClass(u)?void ti("error","Fullpage.js can only be initialized once and you are doing it multiple times!"):(a.continuousVertical&&(a.loopTop||a.loopBottom)&&(a.continuousVertical=!1,ti("warn","Option `loopTop/loopBottom` is mutually exclusive with `continuousVertical`; `continuousVertical` disabled")),a.scrollBar&&a.scrollOverflow&&ti("warn","Option `scrollBar` is mutually exclusive with `scrollOverflow`. Sections with scrollOverflow might not work well in Firefox"),!a.continuousVertical||!a.scrollBar&&a.autoScrolling||(a.continuousVertical=!1,ti("warn","Scroll bars (`scrollBar:true` or `autoScrolling:false`) are mutually exclusive with `continuousVertical`; `continuousVertical` disabled")),t.each(["fadingEffect","continuousHorizontal","scrollHorizontally","interlockedSlides","resetSliders","responsiveSlides","offsetSections","dragAndMove","scrollOverflowReset","parallax"],function(t,e){a[e]&&ti("warn","fullpage.js extensions require jquery.fullpage.extensions.min.js file instead of the usual jquery.fullpage.js. Requested: "+e)}),void t.each(a.anchors,function(e,i){var n=K.find("[name]").filter(function(){return t(this).attr("name")&&t(this).attr("name").toLowerCase()==i.toLowerCase()}),s=K.find("[id]").filter(function(){return t(this).attr("id")&&t(this).attr("id").toLowerCase()==i.toLowerCase()});(s.length||n.length)&&(ti("error","data-anchor tags can not have the same value as any `id` element on the site (or `name` element for IE)."),s.length&&ti("error",'"'+i+'" is is being used by another element `id` property'),n.length&&ti("error",'"'+i+'" is is being used by another element `name` property'))}))}function ti(t,e){console&&console[t]&&console[t]("fullPage: "+e)}if(t("html").hasClass(u))Je();else{var ei=t("html, body"),ii=t("body"),ni=t.fn.fullpage;a=t.extend({menu:!1,anchors:[],lockAnchors:!1,navigation:!1,navigationPosition:"right",navigationTooltips:[],showActiveTooltip:!1,slidesNavigation:!1,slidesNavPosition:"bottom",scrollBar:!1,hybrid:!1,css3:!0,scrollingSpeed:700,autoScrolling:!0,fitToSection:!0,fitToSectionDelay:1e3,easing:"easeInOutCubic",easingcss3:"ease",loopBottom:!1,loopTop:!1,loopHorizontal:!0,continuousVertical:!1,continuousHorizontal:!1,scrollHorizontally:!1,interlockedSlides:!1,dragAndMove:!1,offsetSections:!1,resetSliders:!1,fadingEffect:!1,normalScrollElements:null,scrollOverflow:!1,scrollOverflowReset:!1,scrollOverflowHandler:tt,scrollOverflowOptions:null,touchSensitivity:5,normalScrollElementTouchThreshold:5,bigSectionsDestination:null,keyboardScrolling:!0,animateAnchor:!0,recordHistory:!0,controlArrows:!0,controlArrowColor:"#fff",verticalCentered:!0,sectionsColor:[],paddingTop:0,paddingBottom:0,fixedElements:null,responsive:0,responsiveWidth:0,responsiveHeight:0,responsiveSlides:!1,parallax:!1,parallaxOptions:{type:"reveal",percentage:62,property:"translate"},sectionSelector:".section",slideSelector:".slide",afterLoad:null,onLeave:null,afterRender:null,afterResize:null,afterReBuild:null,afterSlideLoad:null,onSlideLeave:null,afterResponsive:null,lazyLoading:!0},a);var si,oi,ri,ai,li=!1,ci=navigator.userAgent.match(/(iPhone|iPod|iPad|Android|playbook|silk|BlackBerry|BB10|Windows Phone|Tizen|Bada|webOS|IEMobile|Opera Mini)/),hi="ontouchstart"in e||navigator.msMaxTouchPoints>0||navigator.maxTouchPoints,di=t(this),ui=G.height(),fi=!1,pi=!0,mi=!0,gi=[],vi={};vi.m={up:!0,down:!0,left:!0,right:!0},vi.k=t.extend(!0,{},vi.m);var yi,wi,_i,bi,xi,Ci,Si=e.PointerEvent?{down:"pointerdown",move:"pointermove"}:{down:"MSPointerDown",move:"MSPointerMove"},Ei={touchmove:"ontouchmove"in e?"touchmove":Si.move,touchstart:"ontouchstart"in e?"touchstart":Si.down},ki=t.extend(!0,{},a);Je(),J.click=hi,J=t.extend(J,a.scrollOverflowOptions),t.extend(t.easing,{easeInOutCubic:function(t,e,i,n,s){return(e/=s/2)<1?n/2*e*e*e+i:n/2*((e-=2)*e*e+2)+i}}),t(this).length&&(ni.setAutoScrolling=l,ni.setRecordHistory=W,ni.setScrollingSpeed=Y,ni.setFitToSection=et,ni.setLockAnchors=function(t){a.lockAnchors=t},ni.setMouseWheelScrolling=it,ni.setAllowScrolling=nt,ni.setKeyboardScrolling=st,ni.moveSectionUp=ot,ni.moveSectionDown=rt,ni.silentMoveTo=at,ni.moveTo=lt,ni.moveSlideRight=ct,ni.moveSlideLeft=ht,ni.fitToSection=At,ni.reBuild=dt,ni.setResponsive=ut,ni.destroy=function(e){l(!1,"internal"),nt(!1),st(!1),di.addClass(d),clearTimeout(_i),clearTimeout(wi),clearTimeout(yi),clearTimeout(bi),clearTimeout(xi),G.off("scroll",Tt).off("hashchange",ee).off("resize",ve),K.off("click touchstart",A+" a").off("mouseenter",A+" li").off("mouseleave",A+" li").off("click touchstart",q).off("mouseover",a.normalScrollElements).off("mouseout",a.normalScrollElements),t(w).off("click touchstart",F),clearTimeout(_i),clearTimeout(wi),e&&Ge()},a.css3&&(a.css3=He()),a.scrollBar=a.scrollBar||a.hybrid,ft(),pt(),nt(!0),l(a.autoScrolling,"internal"),ye(),Be(),"complete"===i.readyState&&te(),G.on("load",te),G.on("scroll",Tt).on("hashchange",ee).blur(le).resize(ve),K.keydown(ie).keyup(se).on("click touchstart",A+" a",ce).on("click touchstart",q,he).on("click",z,ne),t(w).on("click touchstart",F,ae),a.normalScrollElements&&(K.on("mouseenter",a.normalScrollElements,function(){it(!1)}),K.on("mouseleave",a.normalScrollElements,function(){it(!0)})));var Ti=!1,Ai=0,$i=0,zi=0,Li=0,Mi=0,Ii=(new Date).getTime(),Oi=0,Di=0,Pi=ui}},"undefined"!=typeof IScroll&&(IScroll.prototype.wheelOn=function(){this.wrapper.addEventListener("wheel",this),this.wrapper.addEventListener("mousewheel",this),this.wrapper.addEventListener("DOMMouseScroll",this)},IScroll.prototype.wheelOff=function(){this.wrapper.removeEventListener("wheel",this),this.wrapper.removeEventListener("mousewheel",this),this.wrapper.removeEventListener("DOMMouseScroll",this)});var tt={refreshId:null,iScrollInstances:[],toggleWheel:function(e){t(_).find(l).each(function(){var i=t(this).data("iscrollInstance");void 0!==i&&i&&(e?i.wheelOn():i.wheelOff())})},onLeave:function(){tt.toggleWheel(!1)},beforeLeave:function(){tt.onLeave()},afterLoad:function(){tt.toggleWheel(!0)},create:function(e,i){var n=e.find(l);n.height(i),n.each(function(){var e=t(this),i=e.data("iscrollInstance");i&&t.each(tt.iScrollInstances,function(){t(this).destroy()}),i=new IScroll(e.get(0),J),tt.iScrollInstances.push(i),i.wheelOff(),e.data("iscrollInstance",i)})},isScrolled:function(t,e){var i=e.data("iscrollInstance");return!i||("top"===t?i.y>=0&&!e.scrollTop():"bottom"===t?0-i.y+e.scrollTop()+1+e.innerHeight()>=e[0].scrollHeight:void 0)},scrollable:function(t){return t.find(P).length?t.find(O).find(l):t.find(l)},scrollHeight:function(t){return t.find(l).children().first().get(0).scrollHeight},remove:function(t){var e=t.find(l);e.length&&(e.data("iscrollInstance").destroy(),e.data("iscrollInstance",null)),t.find(l).children().first().children().first().unwrap().unwrap()},update:function(e,i){clearTimeout(tt.refreshId),tt.refreshId=setTimeout(function(){t.each(tt.iScrollInstances,function(){t(this).get(0).refresh()})},150),e.find(l).css("height",i+"px").parent().css("height",i+"px")},wrapContent:function(){return'
      '}}}),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports?module.exports=t:t(jQuery)}(function(t){function e(e){var r=e||window.event,a=l.call(arguments,1),c=0,d=0,u=0,f=0,p=0,m=0;if(e=t.event.fix(r),e.type="mousewheel","detail"in r&&(u=-1*r.detail),"wheelDelta"in r&&(u=r.wheelDelta),"wheelDeltaY"in r&&(u=r.wheelDeltaY),"wheelDeltaX"in r&&(d=-1*r.wheelDeltaX),"axis"in r&&r.axis===r.HORIZONTAL_AXIS&&(d=-1*u,u=0),c=0===u?d:u,"deltaY"in r&&(u=-1*r.deltaY,c=u),"deltaX"in r&&(d=r.deltaX,0===u&&(c=-1*d)),0!==u||0!==d){if(1===r.deltaMode){var g=t.data(this,"mousewheel-line-height");c*=g,u*=g,d*=g}else if(2===r.deltaMode){var v=t.data(this,"mousewheel-page-height");c*=v,u*=v,d*=v}if(f=Math.max(Math.abs(u),Math.abs(d)),(!o||o>f)&&(o=f,n(r,f)&&(o/=40)),n(r,f)&&(c/=40,d/=40,u/=40),c=Math[c>=1?"floor":"ceil"](c/o),d=Math[d>=1?"floor":"ceil"](d/o),u=Math[u>=1?"floor":"ceil"](u/o),h.settings.normalizeOffset&&this.getBoundingClientRect){var y=this.getBoundingClientRect();p=e.clientX-y.left,m=e.clientY-y.top}return e.deltaX=d,e.deltaY=u,e.deltaFactor=o,e.offsetX=p,e.offsetY=m,e.deltaMode=0,a.unshift(e,c,d,u),s&&clearTimeout(s),s=setTimeout(i,200),(t.event.dispatch||t.event.handle).apply(this,a)}}function i(){o=null}function n(t,e){return h.settings.adjustOldDeltas&&"mousewheel"===t.type&&e%120==0}var s,o,r=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],a="onwheel"in document||document.documentMode>=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],l=Array.prototype.slice;if(t.event.fixHooks)for(var c=r.length;c;)t.event.fixHooks[r[--c]]=t.event.mouseHooks;var h=t.event.special.mousewheel={version:"3.1.11",setup:function(){if(this.addEventListener)for(var i=a.length;i;)this.addEventListener(a[--i],e,!1);else this.onmousewheel=e;t.data(this,"mousewheel-line-height",h.getLineHeight(this)),t.data(this,"mousewheel-page-height",h.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var i=a.length;i;)this.removeEventListener(a[--i],e,!1);else this.onmousewheel=null;t.removeData(this,"mousewheel-line-height"),t.removeData(this,"mousewheel-page-height")},getLineHeight:function(e){var i=t(e)["offsetParent"in t.fn?"offsetParent":"parent"]();return i.length||(i=t("body")),parseInt(i.css("fontSize"),10)},getPageHeight:function(e){return t(e).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};t.fn.extend({mousewheel:function(t){return t?this.bind("mousewheel",t):this.trigger("mousewheel")},unmousewheel:function(t){return this.unbind("mousewheel",t)}})}),function(t,e,i,n){function s(e,i){this.settings=null,this.options=t.extend({},s.Defaults,i),this.$element=t(e),this._handlers={},this._plugins={},this._supress={},this._current=null,this._speed=null,this._coordinates=[],this._breakpoint=null,this._width=null,this._items=[],this._clones=[],this._mergers=[],this._widths=[],this._invalidated={},this._pipe=[],this._drag={time:null,target:null,pointer:null,stage:{start:null,current:null},direction:null},this._states={current:{},tags:{initializing:["busy"],animating:["busy"],dragging:["interacting"]}},t.each(["onResize","onThrottledResize"],t.proxy(function(e,i){this._handlers[i]=t.proxy(this[i],this)},this)),t.each(s.Plugins,t.proxy(function(t,e){this._plugins[t.charAt(0).toLowerCase()+t.slice(1)]=new e(this)},this)),t.each(s.Workers,t.proxy(function(e,i){this._pipe.push({filter:i.filter,run:t.proxy(i.run,this)})},this)),this.setup(),this.initialize()}s.Defaults={items:3,loop:!1,center:!1,rewind:!1,mouseDrag:!0,touchDrag:!0,pullDrag:!0,freeDrag:!1,margin:0,stagePadding:0,merge:!1,mergeFit:!0,autoWidth:!1,startPosition:0,rtl:!1,smartSpeed:250,fluidSpeed:!1,dragEndSpeed:!1,responsive:{},responsiveRefreshRate:200,responsiveBaseElement:e,fallbackEasing:"swing",info:!1,nestedItemSelector:!1,itemElement:"div",stageElement:"div",refreshClass:"owl-refresh",loadedClass:"owl-loaded",loadingClass:"owl-loading",rtlClass:"owl-rtl",responsiveClass:"owl-responsive",dragClass:"owl-drag",itemClass:"owl-item",stageClass:"owl-stage",stageOuterClass:"owl-stage-outer",grabClass:"owl-grab"},s.Width={Default:"default",Inner:"inner",Outer:"outer"},s.Type={Event:"event",State:"state"},s.Plugins={},s.Workers=[{filter:["width","settings"],run:function(){this._width=this.$element.width()}},{filter:["width","items","settings"],run:function(t){t.current=this._items&&this._items[this.relative(this._current)]}},{filter:["items","settings"],run:function(){this.$stage.children(".cloned").remove()}},{filter:["width","items","settings"],run:function(t){var e=this.settings.margin||"",i=!this.settings.autoWidth,n=this.settings.rtl,s={width:"auto","margin-left":n?e:"","margin-right":n?"":e};!i&&this.$stage.children().css(s),t.css=s}},{filter:["width","items","settings"],run:function(t){var e=(this.width()/this.settings.items).toFixed(3)-this.settings.margin,i=null,n=this._items.length,s=!this.settings.autoWidth,o=[];for(t.items={merge:!1,width:e};n--;)i=this._mergers[n],i=this.settings.mergeFit&&Math.min(i,this.settings.items)||i,t.items.merge=i>1||t.items.merge,o[n]=s?e*i:this._items[n].width();this._widths=o}},{filter:["items","settings"],run:function(){var e=[],i=this._items,n=this.settings,s=Math.max(2*n.items,4),o=2*Math.ceil(i.length/2),r=n.loop&&i.length?n.rewind?s:Math.max(s,o):0,a="",l="";for(r/=2;r--;)e.push(this.normalize(e.length/2,!0)),a+=i[e[e.length-1]][0].outerHTML,e.push(this.normalize(i.length-1-(e.length-1)/2,!0)),l=i[e[e.length-1]][0].outerHTML+l;this._clones=e,t(a).addClass("cloned").appendTo(this.$stage),t(l).addClass("cloned").prependTo(this.$stage)}},{filter:["width","items","settings"],run:function(){for(var t=this.settings.rtl?1:-1,e=this._clones.length+this._items.length,i=-1,n=0,s=0,o=[];++i",a)||this.op(e,"<",r)&&this.op(e,">",a))&&l.push(i);this.$stage.children(".active").removeClass("active"),this.$stage.children(":eq("+l.join("), :eq(")+")").addClass("active"),this.settings.center&&(this.$stage.children(".center").removeClass("center"),this.$stage.children().eq(this.current()).addClass("center"))}}],s.prototype.initialize=function(){if(this.enter("initializing"),this.trigger("initialize"),this.$element.toggleClass(this.settings.rtlClass,this.settings.rtl),this.settings.autoWidth&&!this.is("pre-loading")){var e,i,s;e=this.$element.find("img"),i=this.settings.nestedItemSelector?"."+this.settings.nestedItemSelector:n,s=this.$element.children(i).width(),e.length&&s<=0&&this.preloadAutoWidthImages(e)}this.$element.addClass(this.options.loadingClass),this.$stage=t("<"+this.settings.stageElement+' class="'+this.settings.stageClass+'"/>').wrap('
      '),this.$element.append(this.$stage.parent()),this.replace(this.$element.children().not(this.$stage.parent())),this.$element.is(":visible")?this.refresh():this.invalidate("width"),this.$element.removeClass(this.options.loadingClass).addClass(this.options.loadedClass),this.registerEventHandlers(),this.leave("initializing"),this.trigger("initialized")},s.prototype.setup=function(){var e=this.viewport(),i=this.options.responsive,n=-1,s=null;i?(t.each(i,function(t){t<=e&&t>n&&(n=Number(t))}),"function"==typeof(s=t.extend({},this.options,i[n])).stagePadding&&(s.stagePadding=s.stagePadding()),delete s.responsive,s.responsiveClass&&this.$element.attr("class",this.$element.attr("class").replace(new RegExp("("+this.options.responsiveClass+"-)\\S+\\s","g"),"$1"+n))):s=t.extend({},this.options),this.trigger("change",{property:{name:"settings",value:s}}),this._breakpoint=n,this.settings=s,this.invalidate("settings"),this.trigger("changed",{property:{name:"settings",value:this.settings}})},s.prototype.optionsLogic=function(){this.settings.autoWidth&&(this.settings.stagePadding=!1,this.settings.merge=!1)},s.prototype.prepare=function(e){var i=this.trigger("prepare",{content:e});return i.data||(i.data=t("<"+this.settings.itemElement+"/>").addClass(this.options.itemClass).append(e)),this.trigger("prepared",{content:i.data}),i.data},s.prototype.update=function(){for(var e=0,i=this._pipe.length,n=t.proxy(function(t){return this[t]},this._invalidated),s={};e0)&&this._pipe[e].run(s),e++;this._invalidated={},!this.is("valid")&&this.enter("valid")},s.prototype.width=function(t){switch(t=t||s.Width.Default){case s.Width.Inner:case s.Width.Outer:return this._width;default:return this._width-2*this.settings.stagePadding+this.settings.margin}},s.prototype.refresh=function(){this.enter("refreshing"),this.trigger("refresh"),this.setup(),this.optionsLogic(),this.$element.addClass(this.options.refreshClass),this.update(),this.$element.removeClass(this.options.refreshClass),this.leave("refreshing"),this.trigger("refreshed")},s.prototype.onThrottledResize=function(){e.clearTimeout(this.resizeTimer),this.resizeTimer=e.setTimeout(this._handlers.onResize,this.settings.responsiveRefreshRate)},s.prototype.onResize=function(){return!!this._items.length&&this._width!==this.$element.width()&&!!this.$element.is(":visible")&&(this.enter("resizing"),this.trigger("resize").isDefaultPrevented()?(this.leave("resizing"),!1):(this.invalidate("width"),this.refresh(),this.leave("resizing"),void this.trigger("resized")))},s.prototype.registerEventHandlers=function(){t.support.transition&&this.$stage.on(t.support.transition.end+".owl.core",t.proxy(this.onTransitionEnd,this)),!1!==this.settings.responsive&&this.on(e,"resize",this._handlers.onThrottledResize),this.settings.mouseDrag&&(this.$element.addClass(this.options.dragClass),this.$stage.on("mousedown.owl.core",t.proxy(this.onDragStart,this)),this.$stage.on("dragstart.owl.core selectstart.owl.core",function(){return!1})),this.settings.touchDrag&&(this.$stage.on("touchstart.owl.core",t.proxy(this.onDragStart,this)),this.$stage.on("touchcancel.owl.core",t.proxy(this.onDragEnd,this)))},s.prototype.onDragStart=function(e){var n=null;3!==e.which&&(t.support.transform?(n=this.$stage.css("transform").replace(/.*\(|\)| /g,"").split(","),n={x:n[16===n.length?12:4],y:n[16===n.length?13:5]}):(n=this.$stage.position(),n={x:this.settings.rtl?n.left+this.$stage.width()-this.width()+this.settings.margin:n.left,y:n.top}),this.is("animating")&&(t.support.transform?this.animate(n.x):this.$stage.stop(),this.invalidate("position")),this.$element.toggleClass(this.options.grabClass,"mousedown"===e.type),this.speed(0),this._drag.time=(new Date).getTime(),this._drag.target=t(e.target),this._drag.stage.start=n,this._drag.stage.current=n,this._drag.pointer=this.pointer(e),t(i).on("mouseup.owl.core touchend.owl.core",t.proxy(this.onDragEnd,this)),t(i).one("mousemove.owl.core touchmove.owl.core",t.proxy(function(e){var n=this.difference(this._drag.pointer,this.pointer(e));t(i).on("mousemove.owl.core touchmove.owl.core",t.proxy(this.onDragMove,this)),Math.abs(n.x)0^this.settings.rtl?"left":"right";t(i).off(".owl.core"),this.$element.removeClass(this.options.grabClass),(0!==n.x&&this.is("dragging")||!this.is("valid"))&&(this.speed(this.settings.dragEndSpeed||this.settings.smartSpeed),this.current(this.closest(s.x,0!==n.x?o:this._drag.direction)),this.invalidate("position"),this.update(),this._drag.direction=o,(Math.abs(n.x)>3||(new Date).getTime()-this._drag.time>300)&&this._drag.target.one("click.owl.core",function(){return!1})),this.is("dragging")&&(this.leave("dragging"),this.trigger("dragged"))},s.prototype.closest=function(e,i){var n=-1,s=this.width(),o=this.coordinates();return this.settings.freeDrag||t.each(o,t.proxy(function(t,r){return"left"===i&&e>r-30&&er-s-30&&e",o[t+1]||r-s)&&(n="left"===i?t+1:t),-1===n},this)),this.settings.loop||(this.op(e,">",o[this.minimum()])?n=e=this.minimum():this.op(e,"<",o[this.maximum()])&&(n=e=this.maximum())),n},s.prototype.animate=function(e){var i=this.speed()>0;this.is("animating")&&this.onTransitionEnd(),i&&(this.enter("animating"),this.trigger("translate")),t.support.transform3d&&t.support.transition?this.$stage.css({transform:"translate3d("+e+"px,0px,0px)",transition:this.speed()/1e3+"s"}):i?this.$stage.animate({left:e+"px"},this.speed(),this.settings.fallbackEasing,t.proxy(this.onTransitionEnd,this)):this.$stage.css({left:e+"px"})},s.prototype.is=function(t){return this._states.current[t]&&this._states.current[t]>0},s.prototype.current=function(t){if(t===n)return this._current;if(0===this._items.length)return n;if(t=this.normalize(t),this._current!==t){var e=this.trigger("change",{property:{name:"position",value:t}});e.data!==n&&(t=this.normalize(e.data)),this._current=t,this.invalidate("position"),this.trigger("changed",{property:{name:"position",value:this._current}})}return this._current},s.prototype.invalidate=function(e){return"string"===t.type(e)&&(this._invalidated[e]=!0,this.is("valid")&&this.leave("valid")),t.map(this._invalidated,function(t,e){return e})},s.prototype.reset=function(t){(t=this.normalize(t))!==n&&(this._speed=0,this._current=t,this.suppress(["translate","translated"]),this.animate(this.coordinates(t)),this.release(["translate","translated"]))},s.prototype.normalize=function(t,e){var i=this._items.length,s=e?0:this._clones.length;return!this.isNumeric(t)||i<1?t=n:(t<0||t>=i+s)&&(t=((t-s/2)%i+i)%i+s/2),t},s.prototype.relative=function(t){return t-=this._clones.length/2,this.normalize(t,!0)},s.prototype.maximum=function(t){var e,i,n,s=this.settings,o=this._coordinates.length;if(s.loop)o=this._clones.length/2+this._items.length-1;else if(s.autoWidth||s.merge){for(e=this._items.length,i=this._items[--e].width(),n=this.$element.width();e--&&!((i+=this._items[e].width()+this.settings.margin)>n););o=e+1}else o=s.center?this._items.length-1:this._items.length-s.items;return t&&(o-=this._clones.length/2),Math.max(o,0)},s.prototype.minimum=function(t){return t?0:this._clones.length/2},s.prototype.items=function(t){return t===n?this._items.slice():(t=this.normalize(t,!0),this._items[t])},s.prototype.mergers=function(t){return t===n?this._mergers.slice():(t=this.normalize(t,!0),this._mergers[t])},s.prototype.clones=function(e){var i=this._clones.length/2,s=i+this._items.length,o=function(t){return t%2==0?s+t/2:i-(t+1)/2};return e===n?t.map(this._clones,function(t,e){return o(e)}):t.map(this._clones,function(t,i){return t===e?o(i):null})},s.prototype.speed=function(t){return t!==n&&(this._speed=t),this._speed},s.prototype.coordinates=function(e){var i,s=1,o=e-1;return e===n?t.map(this._coordinates,t.proxy(function(t,e){return this.coordinates(e)},this)):(this.settings.center?(this.settings.rtl&&(s=-1,o=e+1),i=this._coordinates[e],i+=(this.width()-i+(this._coordinates[o]||0))/2*s):i=this._coordinates[o]||0,i=Math.ceil(i))},s.prototype.duration=function(t,e,i){return 0===i?0:Math.min(Math.max(Math.abs(e-t),1),6)*Math.abs(i||this.settings.smartSpeed)},s.prototype.to=function(t,e){var i=this.current(),n=null,s=t-this.relative(i),o=(s>0)-(s<0),r=this._items.length,a=this.minimum(),l=this.maximum();this.settings.loop?(!this.settings.rewind&&Math.abs(s)>r/2&&(s+=-1*o*r),t=i+s,(n=((t-a)%r+r)%r+a)!==t&&n-s<=l&&n-s>0&&(i=n-s,t=n,this.reset(i))):this.settings.rewind?(l+=1,t=(t%l+l)%l):t=Math.max(a,Math.min(l,t)),this.speed(this.duration(i,t,e)),this.current(t),this.$element.is(":visible")&&this.update()},s.prototype.next=function(t){t=t||!1,this.to(this.relative(this.current())+1,t)},s.prototype.prev=function(t){t=t||!1,this.to(this.relative(this.current())-1,t)},s.prototype.onTransitionEnd=function(t){if(t!==n&&(t.stopPropagation(),(t.target||t.srcElement||t.originalTarget)!==this.$stage.get(0)))return!1;this.leave("animating"),this.trigger("translated")},s.prototype.viewport=function(){var n;return this.options.responsiveBaseElement!==e?n=t(this.options.responsiveBaseElement).width():e.innerWidth?n=e.innerWidth:i.documentElement&&i.documentElement.clientWidth?n=i.documentElement.clientWidth:console.warn("Can not detect viewport width."),n},s.prototype.replace=function(e){this.$stage.empty(),this._items=[],e&&(e=e instanceof jQuery?e:t(e)),this.settings.nestedItemSelector&&(e=e.find("."+this.settings.nestedItemSelector)),e.filter(function(){return 1===this.nodeType}).each(t.proxy(function(t,e){e=this.prepare(e),this.$stage.append(e),this._items.push(e),this._mergers.push(1*e.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)},this)),this.reset(this.isNumeric(this.settings.startPosition)?this.settings.startPosition:0),this.invalidate("items")},s.prototype.add=function(e,i){var s=this.relative(this._current);i=i===n?this._items.length:this.normalize(i,!0),e=e instanceof jQuery?e:t(e),this.trigger("add",{content:e,position:i}),e=this.prepare(e),0===this._items.length||i===this._items.length?(0===this._items.length&&this.$stage.append(e),0!==this._items.length&&this._items[i-1].after(e),this._items.push(e),this._mergers.push(1*e.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)):(this._items[i].before(e),this._items.splice(i,0,e),this._mergers.splice(i,0,1*e.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)),this._items[s]&&this.reset(this._items[s].index()),this.invalidate("items"),this.trigger("added",{content:e,position:i})},s.prototype.remove=function(t){(t=this.normalize(t,!0))!==n&&(this.trigger("remove",{content:this._items[t],position:t}),this._items[t].remove(),this._items.splice(t,1),this._mergers.splice(t,1),this.invalidate("items"),this.trigger("removed",{content:null,position:t}))},s.prototype.preloadAutoWidthImages=function(e){e.each(t.proxy(function(e,i){this.enter("pre-loading"),i=t(i),t(new Image).one("load",t.proxy(function(t){i.attr("src",t.target.src),i.css("opacity",1),this.leave("pre-loading"),!this.is("pre-loading")&&!this.is("initializing")&&this.refresh()},this)).attr("src",i.attr("src")||i.attr("data-src")||i.attr("data-src-retina"))},this))},s.prototype.destroy=function(){this.$element.off(".owl.core"),this.$stage.off(".owl.core"),t(i).off(".owl.core"),!1!==this.settings.responsive&&(e.clearTimeout(this.resizeTimer),this.off(e,"resize",this._handlers.onThrottledResize));for(var n in this._plugins)this._plugins[n].destroy();this.$stage.children(".cloned").remove(),this.$stage.unwrap(),this.$stage.children().contents().unwrap(),this.$stage.children().unwrap(),this.$element.removeClass(this.options.refreshClass).removeClass(this.options.loadingClass).removeClass(this.options.loadedClass).removeClass(this.options.rtlClass).removeClass(this.options.dragClass).removeClass(this.options.grabClass).attr("class",this.$element.attr("class").replace(new RegExp(this.options.responsiveClass+"-\\S+\\s","g"),"")).removeData("owl.carousel")},s.prototype.op=function(t,e,i){var n=this.settings.rtl;switch(e){case"<":return n?t>i:t":return n?ti;case">=":return n?t<=i:t>=i;case"<=":return n?t>=i:t<=i}},s.prototype.on=function(t,e,i,n){t.addEventListener?t.addEventListener(e,i,n):t.attachEvent&&t.attachEvent("on"+e,i)},s.prototype.off=function(t,e,i,n){t.removeEventListener?t.removeEventListener(e,i,n):t.detachEvent&&t.detachEvent("on"+e,i)},s.prototype.trigger=function(e,i,n,o,r){var a={item:{count:this._items.length,index:this.current()}},l=t.camelCase(t.grep(["on",e,n],function(t){return t}).join("-").toLowerCase()),c=t.Event([e,"owl",n||"carousel"].join(".").toLowerCase(),t.extend({relatedTarget:this},a,i));return this._supress[e]||(t.each(this._plugins,function(t,e){e.onTrigger&&e.onTrigger(c)}),this.register({type:s.Type.Event,name:e}),this.$element.trigger(c),this.settings&&"function"==typeof this.settings[l]&&this.settings[l].call(this,c)),c},s.prototype.enter=function(e){t.each([e].concat(this._states.tags[e]||[]),t.proxy(function(t,e){this._states.current[e]===n&&(this._states.current[e]=0),this._states.current[e]++},this))},s.prototype.leave=function(e){t.each([e].concat(this._states.tags[e]||[]),t.proxy(function(t,e){this._states.current[e]--},this))},s.prototype.register=function(e){if(e.type===s.Type.Event){if(t.event.special[e.name]||(t.event.special[e.name]={}),!t.event.special[e.name].owl){var i=t.event.special[e.name]._default;t.event.special[e.name]._default=function(t){return!i||!i.apply||t.namespace&&-1!==t.namespace.indexOf("owl")?t.namespace&&t.namespace.indexOf("owl")>-1:i.apply(this,arguments)},t.event.special[e.name].owl=!0}}else e.type===s.Type.State&&(this._states.tags[e.name]?this._states.tags[e.name]=this._states.tags[e.name].concat(e.tags):this._states.tags[e.name]=e.tags,this._states.tags[e.name]=t.grep(this._states.tags[e.name],t.proxy(function(i,n){return t.inArray(i,this._states.tags[e.name])===n},this)))},s.prototype.suppress=function(e){t.each(e,t.proxy(function(t,e){this._supress[e]=!0},this))},s.prototype.release=function(e){t.each(e,t.proxy(function(t,e){delete this._supress[e]},this))},s.prototype.pointer=function(t){var i={x:null,y:null};return t=t.originalEvent||t||e.event,(t=t.touches&&t.touches.length?t.touches[0]:t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t).pageX?(i.x=t.pageX,i.y=t.pageY):(i.x=t.clientX,i.y=t.clientY),i},s.prototype.isNumeric=function(t){return!isNaN(parseFloat(t))},s.prototype.difference=function(t,e){return{x:t.x-e.x,y:t.y-e.y}},t.fn.owlCarousel=function(e){var i=Array.prototype.slice.call(arguments,1);return this.each(function(){var n=t(this),o=n.data("owl.carousel");o||(o=new s(this,"object"==typeof e&&e),n.data("owl.carousel",o),t.each(["next","prev","to","destroy","refresh","replace","add","remove"],function(e,i){o.register({type:s.Type.Event,name:i}),o.$element.on(i+".owl.carousel.core",t.proxy(function(t){t.namespace&&t.relatedTarget!==this&&(this.suppress([i]),o[i].apply(this,[].slice.call(arguments,1)),this.release([i]))},o))})),"string"==typeof e&&"_"!==e.charAt(0)&&o[e].apply(o,i)})},t.fn.owlCarousel.Constructor=s}(window.Zepto||window.jQuery,window,document),function(t,e,i,n){var s=function(e){this._core=e,this._interval=null,this._visible=null,this._handlers={"initialized.owl.carousel":t.proxy(function(t){t.namespace&&this._core.settings.autoRefresh&&this.watch()},this)},this._core.options=t.extend({},s.Defaults,this._core.options),this._core.$element.on(this._handlers)};s.Defaults={autoRefresh:!0,autoRefreshInterval:500},s.prototype.watch=function(){this._interval||(this._visible=this._core.$element.is(":visible"),this._interval=e.setInterval(t.proxy(this.refresh,this),this._core.settings.autoRefreshInterval))},s.prototype.refresh=function(){this._core.$element.is(":visible")!==this._visible&&(this._visible=!this._visible,this._core.$element.toggleClass("owl-hidden",!this._visible),this._visible&&this._core.invalidate("width")&&this._core.refresh())},s.prototype.destroy=function(){var t,i;e.clearInterval(this._interval);for(t in this._handlers)this._core.$element.off(t,this._handlers[t]);for(i in Object.getOwnPropertyNames(this))"function"!=typeof this[i]&&(this[i]=null)},t.fn.owlCarousel.Constructor.Plugins.AutoRefresh=s}(window.Zepto||window.jQuery,window,document),function(t,e,i,n){var s=function(e){this._core=e,this._loaded=[],this._handlers={"initialized.owl.carousel change.owl.carousel resized.owl.carousel":t.proxy(function(e){if(e.namespace&&this._core.settings&&this._core.settings.lazyLoad&&(e.property&&"position"==e.property.name||"initialized"==e.type))for(var i=this._core.settings,n=i.center&&Math.ceil(i.items/2)||i.items,s=i.center&&-1*n||0,o=(e.property&&void 0!==e.property.value?e.property.value:this._core.current())+s,r=this._core.clones().length,a=t.proxy(function(t,e){this.load(e)},this);s++-1||(s.each(t.proxy(function(i,n){var s,o=t(n),r=e.devicePixelRatio>1&&o.attr("data-src-retina")||o.attr("data-src");this._core.trigger("load",{element:o,url:r},"lazy"),o.is("img")?o.one("load.owl.lazy",t.proxy(function(){o.css("opacity",1),this._core.trigger("loaded",{element:o,url:r},"lazy")},this)).attr("src",r):(s=new Image,s.onload=t.proxy(function(){o.css({"background-image":'url("'+r+'")',opacity:"1"}),this._core.trigger("loaded",{element:o,url:r},"lazy")},this),s.src=r)},this)),this._loaded.push(n.get(0)))},s.prototype.destroy=function(){var t,e;for(t in this.handlers)this._core.$element.off(t,this.handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.Lazy=s}(window.Zepto||window.jQuery,window,document),function(t,e,i,n){var s=function(e){this._core=e,this._handlers={"initialized.owl.carousel refreshed.owl.carousel":t.proxy(function(t){t.namespace&&this._core.settings.autoHeight&&this.update()},this),"changed.owl.carousel":t.proxy(function(t){t.namespace&&this._core.settings.autoHeight&&"position"==t.property.name&&this.update()},this),"loaded.owl.lazy":t.proxy(function(t){t.namespace&&this._core.settings.autoHeight&&t.element.closest("."+this._core.settings.itemClass).index()===this._core.current()&&this.update()},this)},this._core.options=t.extend({},s.Defaults,this._core.options),this._core.$element.on(this._handlers)};s.Defaults={autoHeight:!1,autoHeightClass:"owl-height"},s.prototype.update=function(){var e=this._core._current,i=e+this._core.settings.items,n=this._core.$stage.children().toArray().slice(e,i),s=[],o=0;t.each(n,function(e,i){s.push(t(i).height())}),o=Math.max.apply(null,s),this._core.$stage.parent().height(o).addClass(this._core.settings.autoHeightClass)},s.prototype.destroy=function(){var t,e;for(t in this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.AutoHeight=s}(window.Zepto||window.jQuery,window,document),function(t,e,i,n){var s=function(e){this._core=e,this._videos={},this._playing=null,this._handlers={"initialized.owl.carousel":t.proxy(function(t){t.namespace&&this._core.register({type:"state",name:"playing",tags:["interacting"]})},this),"resize.owl.carousel":t.proxy(function(t){t.namespace&&this._core.settings.video&&this.isInFullScreen()&&t.preventDefault()},this),"refreshed.owl.carousel":t.proxy(function(t){t.namespace&&this._core.is("resizing")&&this._core.$stage.find(".cloned .owl-video-frame").remove()},this),"changed.owl.carousel":t.proxy(function(t){t.namespace&&"position"===t.property.name&&this._playing&&this.stop()},this),"prepared.owl.carousel":t.proxy(function(e){if(e.namespace){var i=t(e.content).find(".owl-video");i.length&&(i.css("display","none"),this.fetch(i,t(e.content)))}},this)},this._core.options=t.extend({},s.Defaults,this._core.options),this._core.$element.on(this._handlers),this._core.$element.on("click.owl.video",".owl-video-play-icon",t.proxy(function(t){this.play(t)},this))};s.Defaults={video:!1,videoHeight:!1,videoWidth:!1},s.prototype.fetch=function(t,e){var i=t.attr("data-vimeo-id")?"vimeo":t.attr("data-vzaar-id")?"vzaar":"youtube",n=t.attr("data-vimeo-id")||t.attr("data-youtube-id")||t.attr("data-vzaar-id"),s=t.attr("data-width")||this._core.settings.videoWidth,o=t.attr("data-height")||this._core.settings.videoHeight,r=t.attr("href");if(!r)throw new Error("Missing video URL.");if((n=r.match(/(http:|https:|)\/\/(player.|www.|app.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com)|vzaar\.com)\/(video\/|videos\/|embed\/|channels\/.+\/|groups\/.+\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(\&\S+)?/))[3].indexOf("youtu")>-1)i="youtube";else if(n[3].indexOf("vimeo")>-1)i="vimeo";else{if(!(n[3].indexOf("vzaar")>-1))throw new Error("Video URL not supported.");i="vzaar"}n=n[6],this._videos[r]={type:i,id:n,width:s,height:o},e.attr("data-video",r),this.thumbnail(t,this._videos[r])},s.prototype.thumbnail=function(e,i){var n,s,o,r=i.width&&i.height?'style="width:'+i.width+"px;height:"+i.height+'px;"':"",a=e.find("img"),l="src",c="",h=this._core.settings,d=function(t){s='
      ',n=h.lazyLoad?'
      ':'
      ',e.after(n),e.after(s)};if(e.wrap('
      "),this._core.settings.lazyLoad&&(l="data-src",c="owl-lazy"),a.length)return d(a.attr(l)),a.remove(),!1;"youtube"===i.type?(o="//img.youtube.com/vi/"+i.id+"/hqdefault.jpg",d(o)):"vimeo"===i.type?t.ajax({type:"GET",url:"//vimeo.com/api/v2/video/"+i.id+".json",jsonp:"callback",dataType:"jsonp",success:function(t){o=t[0].thumbnail_large,d(o)}}):"vzaar"===i.type&&t.ajax({type:"GET",url:"//vzaar.com/api/videos/"+i.id+".json",jsonp:"callback",dataType:"jsonp",success:function(t){o=t.framegrab_url,d(o)}})},s.prototype.stop=function(){this._core.trigger("stop",null,"video"),this._playing.find(".owl-video-frame").remove(),this._playing.removeClass("owl-video-playing"),this._playing=null,this._core.leave("playing"),this._core.trigger("stopped",null,"video")},s.prototype.play=function(e){var i,n=t(e.target).closest("."+this._core.settings.itemClass),s=this._videos[n.attr("data-video")],o=s.width||"100%",r=s.height||this._core.$stage.height();this._playing||(this._core.enter("playing"),this._core.trigger("play",null,"video"),n=this._core.items(this._core.relative(n.index())),this._core.reset(n.index()),"youtube"===s.type?i='':"vimeo"===s.type?i='':"vzaar"===s.type&&(i=''),t('
      '+i+"
      ").insertAfter(n.find(".owl-video")),this._playing=n.addClass("owl-video-playing"))},s.prototype.isInFullScreen=function(){var e=i.fullscreenElement||i.mozFullScreenElement||i.webkitFullscreenElement;return e&&t(e).parent().hasClass("owl-video-frame")},s.prototype.destroy=function(){var t,e;this._core.$element.off("click.owl.video");for(t in this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.Video=s}(window.Zepto||window.jQuery,window,document),function(t,e,i,n){var s=function(e){this.core=e,this.core.options=t.extend({},s.Defaults,this.core.options),this.swapping=!0,this.previous=n,this.next=n,this.handlers={"change.owl.carousel":t.proxy(function(t){t.namespace&&"position"==t.property.name&&(this.previous=this.core.current(),this.next=t.property.value)},this),"drag.owl.carousel dragged.owl.carousel translated.owl.carousel":t.proxy(function(t){t.namespace&&(this.swapping="translated"==t.type)},this),"translate.owl.carousel":t.proxy(function(t){t.namespace&&this.swapping&&(this.core.options.animateOut||this.core.options.animateIn)&&this.swap()},this)},this.core.$element.on(this.handlers)};s.Defaults={animateOut:!1,animateIn:!1},s.prototype.swap=function(){if(1===this.core.settings.items&&t.support.animation&&t.support.transition){this.core.speed(0);var e,i=t.proxy(this.clear,this),n=this.core.$stage.children().eq(this.previous),s=this.core.$stage.children().eq(this.next),o=this.core.settings.animateIn,r=this.core.settings.animateOut;this.core.current()!==this.previous&&(r&&(e=this.core.coordinates(this.previous)-this.core.coordinates(this.next),n.one(t.support.animation.end,i).css({left:e+"px"}).addClass("animated owl-animated-out").addClass(r)),o&&s.one(t.support.animation.end,i).addClass("animated owl-animated-in").addClass(o))}},s.prototype.clear=function(e){t(e.target).css({left:""}).removeClass("animated owl-animated-out owl-animated-in").removeClass(this.core.settings.animateIn).removeClass(this.core.settings.animateOut),this.core.onTransitionEnd()},s.prototype.destroy=function(){var t,e;for(t in this.handlers)this.core.$element.off(t,this.handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.Animate=s}(window.Zepto||window.jQuery,window,document),function(t,e,i,n){var s=function(e){this._core=e,this._timeout=null,this._paused=!1,this._handlers={"changed.owl.carousel":t.proxy(function(t){t.namespace&&"settings"===t.property.name?this._core.settings.autoplay?this.play():this.stop():t.namespace&&"position"===t.property.name&&this._core.settings.autoplay&&this._setAutoPlayInterval()},this),"initialized.owl.carousel":t.proxy(function(t){t.namespace&&this._core.settings.autoplay&&this.play()},this),"play.owl.autoplay":t.proxy(function(t,e,i){t.namespace&&this.play(e,i)},this),"stop.owl.autoplay":t.proxy(function(t){t.namespace&&this.stop()},this),"mouseover.owl.autoplay":t.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"mouseleave.owl.autoplay":t.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.play()},this),"touchstart.owl.core":t.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"touchend.owl.core":t.proxy(function(){this._core.settings.autoplayHoverPause&&this.play()},this)},this._core.$element.on(this._handlers),this._core.options=t.extend({},s.Defaults,this._core.options)};s.Defaults={autoplay:!1,autoplayTimeout:5e3,autoplayHoverPause:!1,autoplaySpeed:!1},s.prototype.play=function(t,e){this._paused=!1,this._core.is("rotating")||(this._core.enter("rotating"),this._setAutoPlayInterval())},s.prototype._getNextTimeout=function(n,s){return this._timeout&&e.clearTimeout(this._timeout),e.setTimeout(t.proxy(function(){this._paused||this._core.is("busy")||this._core.is("interacting")||i.hidden||this._core.next(s||this._core.settings.autoplaySpeed)},this),n||this._core.settings.autoplayTimeout)},s.prototype._setAutoPlayInterval=function(){this._timeout=this._getNextTimeout()},s.prototype.stop=function(){this._core.is("rotating")&&(e.clearTimeout(this._timeout),this._core.leave("rotating"))},s.prototype.pause=function(){this._core.is("rotating")&&(this._paused=!0)},s.prototype.destroy=function(){var t,e;this.stop();for(t in this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.autoplay=s}(window.Zepto||window.jQuery,window,document),function(t,e,i,n){"use strict";var s=function(e){this._core=e,this._initialized=!1,this._pages=[],this._controls={},this._templates=[],this.$element=this._core.$element,this._overrides={next:this._core.next,prev:this._core.prev,to:this._core.to},this._handlers={"prepared.owl.carousel":t.proxy(function(e){e.namespace&&this._core.settings.dotsData&&this._templates.push('
      '+t(e.content).find("[data-dot]").addBack("[data-dot]").attr("data-dot")+"
      ")},this),"added.owl.carousel":t.proxy(function(t){t.namespace&&this._core.settings.dotsData&&this._templates.splice(t.position,0,this._templates.pop())},this),"remove.owl.carousel":t.proxy(function(t){t.namespace&&this._core.settings.dotsData&&this._templates.splice(t.position,1)},this),"changed.owl.carousel":t.proxy(function(t){t.namespace&&"position"==t.property.name&&this.draw()},this),"initialized.owl.carousel":t.proxy(function(t){t.namespace&&!this._initialized&&(this._core.trigger("initialize",null,"navigation"),this.initialize(),this.update(),this.draw(),this._initialized=!0,this._core.trigger("initialized",null,"navigation"))},this),"refreshed.owl.carousel":t.proxy(function(t){t.namespace&&this._initialized&&(this._core.trigger("refresh",null,"navigation"),this.update(),this.draw(),this._core.trigger("refreshed",null,"navigation"))},this)},this._core.options=t.extend({},s.Defaults,this._core.options),this.$element.on(this._handlers)};s.Defaults={nav:!1,navText:["",""],navSpeed:!1,navElement:"div",navContainer:!1,navContainerClass:"owl-nav",navClass:["owl-prev","owl-next"],slideBy:1,dotClass:"owl-dot",dotsClass:"owl-dots",dots:!0,dotsEach:!1,dotsData:!1,dotsSpeed:!1,dotsContainer:!1},s.prototype.initialize=function(){var e,i=this._core.settings;this._controls.$relative=(i.navContainer?t(i.navContainer):t("
      ").addClass(i.navContainerClass).appendTo(this.$element)).addClass("disabled"),this._controls.$previous=t("<"+i.navElement+">").addClass(i.navClass[0]).html(i.navText[0]).prependTo(this._controls.$relative).on("click",t.proxy(function(t){this.prev(i.navSpeed)},this)),this._controls.$next=t("<"+i.navElement+">").addClass(i.navClass[1]).html(i.navText[1]).appendTo(this._controls.$relative).on("click",t.proxy(function(t){this.next(i.navSpeed)},this)),i.dotsData||(this._templates=[t("
      ").addClass(i.dotClass).append(t("")).prop("outerHTML")]),this._controls.$absolute=(i.dotsContainer?t(i.dotsContainer):t("
      ").addClass(i.dotsClass).appendTo(this.$element)).addClass("disabled"),this._controls.$absolute.on("click","div",t.proxy(function(e){var n=t(e.target).parent().is(this._controls.$absolute)?t(e.target).index():t(e.target).parent().index();e.preventDefault(),this.to(n,i.dotsSpeed)},this));for(e in this._overrides)this._core[e]=t.proxy(this[e],this)},s.prototype.destroy=function(){var t,e,i,n;for(t in this._handlers)this.$element.off(t,this._handlers[t]);for(e in this._controls)this._controls[e].remove();for(n in this.overides)this._core[n]=this._overrides[n];for(i in Object.getOwnPropertyNames(this))"function"!=typeof this[i]&&(this[i]=null)},s.prototype.update=function(){var t,e,i=this._core.clones().length/2,n=i+this._core.items().length,s=this._core.maximum(!0),o=this._core.settings,r=o.center||o.autoWidth||o.dotsData?1:o.dotsEach||o.items;if("page"!==o.slideBy&&(o.slideBy=Math.min(o.slideBy,o.items)),o.dots||"page"==o.slideBy)for(this._pages=[],t=i,e=0,0;t=r||0===e){if(this._pages.push({start:Math.min(s,t-i),end:t-i+r-1}),Math.min(s,t-i)===s)break;e=0,0}e+=this._core.mergers(this._core.relative(t))}},s.prototype.draw=function(){var e,i=this._core.settings,n=this._core.items().length<=i.items,s=this._core.relative(this._core.current()),o=i.loop||i.rewind;this._controls.$relative.toggleClass("disabled",!i.nav||n),i.nav&&(this._controls.$previous.toggleClass("disabled",!o&&s<=this._core.minimum(!0)),this._controls.$next.toggleClass("disabled",!o&&s>=this._core.maximum(!0))),this._controls.$absolute.toggleClass("disabled",!i.dots||n),i.dots&&(e=this._pages.length-this._controls.$absolute.children().length,i.dotsData&&0!==e?this._controls.$absolute.html(this._templates.join("")):e>0?this._controls.$absolute.append(new Array(e+1).join(this._templates[0])):e<0&&this._controls.$absolute.children().slice(e).remove(),this._controls.$absolute.find(".active").removeClass("active"),this._controls.$absolute.children().eq(t.inArray(this.current(),this._pages)).addClass("active"))},s.prototype.onTrigger=function(e){var i=this._core.settings;e.page={index:t.inArray(this.current(),this._pages),count:this._pages.length,size:i&&(i.center||i.autoWidth||i.dotsData?1:i.dotsEach||i.items)}},s.prototype.current=function(){var e=this._core.relative(this._core.current());return t.grep(this._pages,t.proxy(function(t,i){return t.start<=e&&t.end>=e},this)).pop()},s.prototype.getPosition=function(e){var i,n,s=this._core.settings;return"page"==s.slideBy?(i=t.inArray(this.current(),this._pages),n=this._pages.length,e?++i:--i,i=this._pages[(i%n+n)%n].start):(i=this._core.relative(this._core.current()),n=this._core.items().length,e?i+=s.slideBy:i-=s.slideBy),i},s.prototype.next=function(e){t.proxy(this._overrides.to,this._core)(this.getPosition(!0),e)},s.prototype.prev=function(e){t.proxy(this._overrides.to,this._core)(this.getPosition(!1),e)},s.prototype.to=function(e,i,n){var s;!n&&this._pages.length?(s=this._pages.length,t.proxy(this._overrides.to,this._core)(this._pages[(e%s+s)%s].start,i)):t.proxy(this._overrides.to,this._core)(e,i)},t.fn.owlCarousel.Constructor.Plugins.Navigation=s}(window.Zepto||window.jQuery,window,document),function(t,e,i,n){"use strict";var s=function(i){this._core=i,this._hashes={},this.$element=this._core.$element,this._handlers={"initialized.owl.carousel":t.proxy(function(i){i.namespace&&"URLHash"===this._core.settings.startPosition&&t(e).trigger("hashchange.owl.navigation")},this),"prepared.owl.carousel":t.proxy(function(e){if(e.namespace){var i=t(e.content).find("[data-hash]").addBack("[data-hash]").attr("data-hash");if(!i)return;this._hashes[i]=e.content}},this),"changed.owl.carousel":t.proxy(function(i){if(i.namespace&&"position"===i.property.name){var n=this._core.items(this._core.relative(this._core.current())),s=t.map(this._hashes,function(t,e){return t===n?e:null}).join();if(!s||e.location.hash.slice(1)===s)return;e.location.hash=s}},this)},this._core.options=t.extend({},s.Defaults,this._core.options),this.$element.on(this._handlers),t(e).on("hashchange.owl.navigation",t.proxy(function(t){var i=e.location.hash.substring(1),n=this._core.$stage.children(),s=this._hashes[i]&&n.index(this._hashes[i]);void 0!==s&&s!==this._core.current()&&this._core.to(this._core.relative(s),!1,!0)},this))};s.Defaults={URLhashListener:!1},s.prototype.destroy=function(){var i,n;t(e).off("hashchange.owl.navigation");for(i in this._handlers)this._core.$element.off(i,this._handlers[i]);for(n in Object.getOwnPropertyNames(this))"function"!=typeof this[n]&&(this[n]=null)},t.fn.owlCarousel.Constructor.Plugins.Hash=s}(window.Zepto||window.jQuery,window,document),function(t,e,i,n){function s(e,i){var s=!1,o=e.charAt(0).toUpperCase()+e.slice(1);return t.each((e+" "+a.join(o+" ")+o).split(" "),function(t,e){if(r[e]!==n)return s=!i||e,!1}),s}function o(t){return s(t,!0)}var r=t("").get(0).style,a="Webkit Moz O ms".split(" "),l={transition:{end:{WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",transition:"transitionend"}},animation:{end:{WebkitAnimation:"webkitAnimationEnd",MozAnimation:"animationend",OAnimation:"oAnimationEnd",animation:"animationend"}}},c={csstransforms:function(){return!!s("transform")},csstransforms3d:function(){return!!s("perspective")},csstransitions:function(){return!!s("transition")},cssanimations:function(){return!!s("animation")}};c.csstransitions()&&(t.support.transition=new String(o("transition")),t.support.transition.end=l.transition.end[t.support.transition]),c.cssanimations()&&(t.support.animation=new String(o("animation")),t.support.animation.end=l.animation.end[t.support.animation]),c.csstransforms()&&(t.support.transform=new String(o("transform")),t.support.transform3d=c.csstransforms3d())}(window.Zepto||window.jQuery,window,document),function(t,e,i){var n,s,o;o="resizeEnd",s={delay:250},n=function(e,i,n){return"function"==typeof i&&(n=i,i={}),n=n||null,this.element=e,this.settings=t.extend({},s,i),this._defaults=s,this._name=o,this._timeout=!1,this._callback=n,this.init()},n.prototype={init:function(){var e;return e=this,t(this.element).on("resize",function(){return e.initResize()})},getUTCDate:function(t){return t=t||new Date,Date.UTC(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate(),t.getUTCHours(),t.getUTCMinutes(),t.getUTCSeconds(),t.getUTCMilliseconds())},initResize:function(){var t;if(t=this,t.controlTime=t.getUTCDate(),!1===t._timeout)return t._timeout=!0,setTimeout(function(){return t.runCallback(t)},t.settings.delay)},runCallback:function(t){return t.getUTCDate()-t.controlTimee;e++)if(e in this&&this[e]===t)return e;return-1};e=function(){function t(){}return t.prototype.extend=function(t,e){var i,n;for(i in e)n=e[i],null==t[i]&&(t[i]=n);return t},t.prototype.isMobile=function(t){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(t)},t.prototype.createEvent=function(t,e,i,n){var s;return null==e&&(e=!1),null==i&&(i=!1),null==n&&(n=null),null!=document.createEvent?(s=document.createEvent("CustomEvent")).initCustomEvent(t,e,i,n):null!=document.createEventObject?(s=document.createEventObject(),s.eventType=t):s.eventName=t,s},t.prototype.emitEvent=function(t,e){return null!=t.dispatchEvent?t.dispatchEvent(e):e in(null!=t)?t[e]():"on"+e in(null!=t)?t["on"+e]():void 0},t.prototype.addEvent=function(t,e,i){return null!=t.addEventListener?t.addEventListener(e,i,!1):null!=t.attachEvent?t.attachEvent("on"+e,i):t[e]=i},t.prototype.removeEvent=function(t,e,i){return null!=t.removeEventListener?t.removeEventListener(e,i,!1):null!=t.detachEvent?t.detachEvent("on"+e,i):delete t[e]},t.prototype.innerHeight=function(){return"innerHeight"in window?window.innerHeight:document.documentElement.clientHeight},t}(),i=this.WeakMap||this.MozWeakMap||(i=function(){function t(){this.keys=[],this.values=[]}return t.prototype.get=function(t){var e,i,n,s;for(e=i=0,n=(s=this.keys).length;n>i;e=++i)if(s[e]===t)return this.values[e]},t.prototype.set=function(t,e){var i,n,s,o;for(i=n=0,s=(o=this.keys).length;s>n;i=++n)if(o[i]===t)return void(this.values[i]=e);return this.keys.push(t),this.values.push(e)},t}()),t=this.MutationObserver||this.WebkitMutationObserver||this.MozMutationObserver||(t=function(){function t(){"undefined"!=typeof console&&null!==console&&console.warn("MutationObserver is not supported by your browser."),"undefined"!=typeof console&&null!==console&&console.warn("WOW.js cannot detect dom mutations, please call .sync() after loading new content.")}return t.notSupported=!0,t.prototype.observe=function(){},t}()),n=this.getComputedStyle||function(t,e){return this.getPropertyValue=function(e){var i;return"float"===e&&(e="styleFloat"),s.test(e)&&e.replace(s,function(t,e){return e.toUpperCase()}),(null!=(i=t.currentStyle)?i[e]:void 0)||null},this},s=/(\-([a-z]){1})/g,this.WOW=function(){function s(t){null==t&&(t={}),this.scrollCallback=o(this.scrollCallback,this),this.scrollHandler=o(this.scrollHandler,this),this.resetAnimation=o(this.resetAnimation,this),this.start=o(this.start,this),this.scrolled=!0,this.config=this.util().extend(t,this.defaults),null!=t.scrollContainer&&(this.config.scrollContainer=document.querySelector(t.scrollContainer)),this.animationNameCache=new i,this.wowEvent=this.util().createEvent(this.config.boxClass)}return s.prototype.defaults={boxClass:"wow",animateClass:"animated",offset:0,mobile:!0,live:!0,callback:null,scrollContainer:null},s.prototype.init=function(){var t;return this.element=window.document.documentElement,"interactive"===(t=document.readyState)||"complete"===t?this.start():this.util().addEvent(document,"DOMContentLoaded",this.start),this.finished=[]},s.prototype.start=function(){var e,i,n,s;if(this.stopped=!1,this.boxes=function(){var t,i,n,s;for(s=[],t=0,i=(n=this.element.querySelectorAll("."+this.config.boxClass)).length;i>t;t++)e=n[t],s.push(e);return s}.call(this),this.all=function(){var t,i,n,s;for(s=[],t=0,i=(n=this.boxes).length;i>t;t++)e=n[t],s.push(e);return s}.call(this),this.boxes.length)if(this.disabled())this.resetStyle();else for(s=this.boxes,i=0,n=s.length;n>i;i++)e=s[i],this.applyStyle(e,!0);return this.disabled()||(this.util().addEvent(this.config.scrollContainer||window,"scroll",this.scrollHandler),this.util().addEvent(window,"resize",this.scrollHandler),this.interval=setInterval(this.scrollCallback,50)),this.config.live?new t(function(t){return function(e){var i,n,s,o,r;for(r=[],i=0,n=e.length;n>i;i++)o=e[i],r.push(function(){var t,e,i,n;for(n=[],t=0,e=(i=o.addedNodes||[]).length;e>t;t++)s=i[t],n.push(this.doSync(s));return n}.call(t));return r}}(this)).observe(document.body,{childList:!0,subtree:!0}):void 0},s.prototype.stop=function(){return this.stopped=!0,this.util().removeEvent(this.config.scrollContainer||window,"scroll",this.scrollHandler),this.util().removeEvent(window,"resize",this.scrollHandler),null!=this.interval?clearInterval(this.interval):void 0},s.prototype.sync=function(e){return t.notSupported?this.doSync(this.element):void 0},s.prototype.doSync=function(t){var e,i,n,s,o;if(null==t&&(t=this.element),1===t.nodeType){for(o=[],i=0,n=(s=(t=t.parentNode||t).querySelectorAll("."+this.config.boxClass)).length;n>i;i++)e=s[i],r.call(this.all,e)<0?(this.boxes.push(e),this.all.push(e),this.stopped||this.disabled()?this.resetStyle():this.applyStyle(e,!0),o.push(this.scrolled=!0)):o.push(void 0);return o}},s.prototype.show=function(t){return this.applyStyle(t),t.className=t.className+" "+this.config.animateClass,null!=this.config.callback&&this.config.callback(t),this.util().emitEvent(t,this.wowEvent),this.util().addEvent(t,"animationend",this.resetAnimation),this.util().addEvent(t,"oanimationend",this.resetAnimation),this.util().addEvent(t,"webkitAnimationEnd",this.resetAnimation),this.util().addEvent(t,"MSAnimationEnd",this.resetAnimation),t},s.prototype.applyStyle=function(t,e){var i,n,s;return n=t.getAttribute("data-wow-duration"),i=t.getAttribute("data-wow-delay"),s=t.getAttribute("data-wow-iteration"),this.animate(function(o){return function(){return o.customStyle(t,e,n,i,s)}}(this))},s.prototype.animate="requestAnimationFrame"in window?function(t){return window.requestAnimationFrame(t)}:function(t){return t()},s.prototype.resetStyle=function(){var t,e,i,n,s;for(s=[],e=0,i=(n=this.boxes).length;i>e;e++)t=n[e],s.push(t.style.visibility="visible");return s},s.prototype.resetAnimation=function(t){var e;return t.type.toLowerCase().indexOf("animationend")>=0?(e=t.target||t.srcElement,e.className=e.className.replace(this.config.animateClass,"").trim()):void 0},s.prototype.customStyle=function(t,e,i,n,s){return e&&this.cacheAnimationName(t),t.style.visibility=e?"hidden":"visible",i&&this.vendorSet(t.style,{animationDuration:i}),n&&this.vendorSet(t.style,{animationDelay:n}),s&&this.vendorSet(t.style,{animationIterationCount:s}),this.vendorSet(t.style,{animationName:e?"none":this.cachedAnimationName(t)}),t},s.prototype.vendors=["moz","webkit"],s.prototype.vendorSet=function(t,e){var i,n,s,o;n=[];for(i in e)s=e[i],t[""+i]=s,n.push(function(){var e,n,r,a;for(a=[],e=0,n=(r=this.vendors).length;n>e;e++)o=r[e],a.push(t[""+o+i.charAt(0).toUpperCase()+i.substr(1)]=s);return a}.call(this));return n},s.prototype.vendorCSS=function(t,e){var i,s,o,r,a,l;for(r=(a=n(t)).getPropertyCSSValue(e),i=0,s=(o=this.vendors).length;s>i;i++)l=o[i],r=r||a.getPropertyCSSValue("-"+l+"-"+e);return r},s.prototype.animationName=function(t){var e;try{e=this.vendorCSS(t,"animation-name").cssText}catch(i){e=n(t).getPropertyValue("animation-name")}return"none"===e?"":e},s.prototype.cacheAnimationName=function(t){return this.animationNameCache.set(t,this.animationName(t))},s.prototype.cachedAnimationName=function(t){return this.animationNameCache.get(t)},s.prototype.scrollHandler=function(){return this.scrolled=!0},s.prototype.scrollCallback=function(){var t;return!this.scrolled||(this.scrolled=!1,this.boxes=function(){var e,i,n,s;for(s=[],e=0,i=(n=this.boxes).length;i>e;e++)(t=n[e])&&(this.isVisible(t)?this.show(t):s.push(t));return s}.call(this),this.boxes.length||this.config.live)?void 0:this.stop()},s.prototype.offsetTop=function(t){for(var e;void 0===t.offsetTop;)t=t.parentNode;for(e=t.offsetTop;t=t.offsetParent;)e+=t.offsetTop;return e},s.prototype.isVisible=function(t){var e,i,n,s,o;return i=t.getAttribute("data-wow-offset")||this.config.offset,o=this.config.scrollContainer&&this.config.scrollContainer.scrollTop||window.pageYOffset,s=o+Math.min(this.element.clientHeight,this.util().innerHeight())-i,n=this.offsetTop(t),e=n+t.clientHeight,s>=n&&e>=o},s.prototype.util=function(){return null!=this._util?this._util:this._util=new e},s.prototype.disabled=function(){return!this.config.mobile&&this.util().isMobile(navigator.userAgent)},s}()}.call(this),function(t,e,i,n){var s=t(e);t.fn.lazyload=function(o){function r(){var e=0;l.each(function(){var i=t(this);if(!c.skip_invisible||i.is(":visible"))if(t.abovethetop(this,c)||t.leftofbegin(this,c));else if(t.belowthefold(this,c)||t.rightoffold(this,c)){if(++e>c.failure_limit)return!1}else i.trigger("appear"),e=0})}var a,l=this,c={threshold:0,failure_limit:0,event:"scroll",effect:"show",container:e,data_attribute:"original",skip_invisible:!0,appear:null,load:null,placeholder:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB/AAffA0nNPuCLAAAAAElFTkSuQmCC"};return o&&(n!==o.failurelimit&&(o.failure_limit=o.failurelimit,delete o.failurelimit),n!==o.effectspeed&&(o.effect_speed=o.effectspeed,delete o.effectspeed),t.extend(c,o)),a=c.container===n||c.container===e?s:t(c.container),0===c.event.indexOf("scroll")&&a.bind(c.event,function(){return r()}),this.each(function(){var e=this,i=t(e);e.loaded=!1,(i.attr("src")===n||!1===i.attr("src"))&&i.is("img")&&i.attr("src",c.placeholder),i.one("appear",function(){if(!this.loaded){if(c.appear){var n=l.length;c.appear.call(e,n,c)}t("").bind("load",function(){var n=i.attr("data-"+c.data_attribute);i.hide(),i.is("img")?i.attr("src",n):i.css("background-image","url('"+n+"')"),i[c.effect](c.effect_speed),e.loaded=!0;var s=t.grep(l,function(t){return!t.loaded});if(l=t(s),c.load){var o=l.length;c.load.call(e,o,c)}}).attr("src",i.attr("data-"+c.data_attribute))}}),0!==c.event.indexOf("scroll")&&i.bind(c.event,function(){e.loaded||i.trigger("appear")})}),s.bind("resize",function(){r()}),/(?:iphone|ipod|ipad).*os 5/gi.test(navigator.appVersion)&&s.bind("pageshow",function(e){e.originalEvent&&e.originalEvent.persisted&&l.each(function(){t(this).trigger("appear")})}),t(i).ready(function(){r()}),this},t.belowthefold=function(i,o){return(o.container===n||o.container===e?(e.innerHeight?e.innerHeight:s.height())+s.scrollTop():t(o.container).offset().top+t(o.container).height())<=t(i).offset().top-o.threshold},t.rightoffold=function(i,o){return(o.container===n||o.container===e?s.width()+s.scrollLeft():t(o.container).offset().left+t(o.container).width())<=t(i).offset().left-o.threshold},t.abovethetop=function(i,o){return(o.container===n||o.container===e?s.scrollTop():t(o.container).offset().top)>=t(i).offset().top+o.threshold+t(i).height()},t.leftofbegin=function(i,o){return(o.container===n||o.container===e?s.scrollLeft():t(o.container).offset().left)>=t(i).offset().left+o.threshold+t(i).width()},t.inviewport=function(e,i){return!(t.rightoffold(e,i)||t.leftofbegin(e,i)||t.belowthefold(e,i)||t.abovethetop(e,i))},t.extend(t.expr[":"],{"below-the-fold":function(e){return t.belowthefold(e,{threshold:0})},"above-the-top":function(e){return!t.belowthefold(e,{threshold:0})},"right-of-screen":function(e){return t.rightoffold(e,{threshold:0})},"left-of-screen":function(e){return!t.rightoffold(e,{threshold:0})},"in-viewport":function(e){return t.inviewport(e,{threshold:0})},"above-the-fold":function(e){return!t.belowthefold(e,{threshold:0})},"right-of-fold":function(e){return t.rightoffold(e,{threshold:0})},"left-of-fold":function(e){return!t.rightoffold(e,{threshold:0})}})}(jQuery,window,document),function(){function t(){}function e(t,e){for(var i=t.length;i--;)if(t[i].listener===e)return i;return-1}function i(t){return function(){return this[t].apply(this,arguments)}}var n=t.prototype,s=this,o=s.EventEmitter;n.getListeners=function(t){var e,i,n=this._getEvents();if("object"==typeof t){e={};for(i in n)n.hasOwnProperty(i)&&t.test(i)&&(e[i]=n[i])}else e=n[t]||(n[t]=[]);return e},n.flattenListeners=function(t){var e,i=[];for(e=0;t.length>e;e+=1)i.push(t[e].listener);return i},n.getListenersAsObject=function(t){var e,i=this.getListeners(t);return i instanceof Array&&(e={},e[t]=i),e||i},n.addListener=function(t,i){var n,s=this.getListenersAsObject(t),o="object"==typeof i;for(n in s)s.hasOwnProperty(n)&&-1===e(s[n],i)&&s[n].push(o?i:{listener:i,once:!1});return this},n.on=i("addListener"),n.addOnceListener=function(t,e){return this.addListener(t,{listener:e,once:!0})},n.once=i("addOnceListener"),n.defineEvent=function(t){return this.getListeners(t),this},n.defineEvents=function(t){for(var e=0;t.length>e;e+=1)this.defineEvent(t[e]);return this},n.removeListener=function(t,i){var n,s,o=this.getListenersAsObject(t);for(s in o)o.hasOwnProperty(s)&&-1!==(n=e(o[s],i))&&o[s].splice(n,1);return this},n.off=i("removeListener"),n.addListeners=function(t,e){return this.manipulateListeners(!1,t,e)},n.removeListeners=function(t,e){return this.manipulateListeners(!0,t,e)},n.manipulateListeners=function(t,e,i){var n,s,o=t?this.removeListener:this.addListener,r=t?this.removeListeners:this.addListeners;if("object"!=typeof e||e instanceof RegExp)for(n=i.length;n--;)o.call(this,e,i[n]);else for(n in e)e.hasOwnProperty(n)&&(s=e[n])&&("function"==typeof s?o.call(this,n,s):r.call(this,n,s));return this},n.removeEvent=function(t){var e,i=typeof t,n=this._getEvents();if("string"===i)delete n[t];else if("object"===i)for(e in n)n.hasOwnProperty(e)&&t.test(e)&&delete n[e];else delete this._events;return this},n.removeAllListeners=i("removeEvent"),n.emitEvent=function(t,e){var i,n,s,o=this.getListenersAsObject(t);for(s in o)if(o.hasOwnProperty(s))for(n=o[s].length;n--;)!0===(i=o[s][n]).once&&this.removeListener(t,i.listener),i.listener.apply(this,e||[])===this._getOnceReturnValue()&&this.removeListener(t,i.listener);return this},n.trigger=i("emitEvent"),n.emit=function(t){var e=Array.prototype.slice.call(arguments,1);return this.emitEvent(t,e)},n.setOnceReturnValue=function(t){return this._onceReturnValue=t,this},n._getOnceReturnValue=function(){return!this.hasOwnProperty("_onceReturnValue")||this._onceReturnValue},n._getEvents=function(){return this._events||(this._events={})},t.noConflict=function(){return s.EventEmitter=o,t},"function"==typeof define&&define.amd?define("eventEmitter/EventEmitter",[],function(){return t}):"object"==typeof module&&module.exports?module.exports=t:this.EventEmitter=t}.call(this),function(t){function e(e){var i=t.event;return i.target=i.target||i.srcElement||e,i}var i=document.documentElement,n=function(){};i.addEventListener?n=function(t,e,i){t.addEventListener(e,i,!1)}:i.attachEvent&&(n=function(t,i,n){t[i+n]=n.handleEvent?function(){var i=e(t);n.handleEvent.call(n,i)}:function(){var i=e(t);n.call(t,i)},t.attachEvent("on"+i,t[i+n])});var s=function(){};i.removeEventListener?s=function(t,e,i){t.removeEventListener(e,i,!1)}:i.detachEvent&&(s=function(t,e,i){t.detachEvent("on"+e,t[e+i]);try{delete t[e+i]}catch(n){t[e+i]=void 0}});var o={bind:n,unbind:s};"function"==typeof define&&define.amd?define("eventie/eventie",o):t.eventie=o}(this),function(t,e){"function"==typeof define&&define.amd?define(["eventEmitter/EventEmitter","eventie/eventie"],function(i,n){return e(t,i,n)}):"object"==typeof exports?module.exports=e(t,require("wolfy87-eventemitter"),require("eventie")):t.imagesLoaded=e(t,t.EventEmitter,t.eventie)}(window,function(t,e,i){function n(t,e){for(var i in e)t[i]=e[i];return t}function s(t){return"[object Array]"===u.call(t)}function o(t){var e=[];if(s(t))e=t;else if("number"==typeof t.length)for(var i=0,n=t.length;n>i;i++)e.push(t[i]);else e.push(t);return e}function r(t,e,i){if(!(this instanceof r))return new r(t,e);"string"==typeof t&&(t=document.querySelectorAll(t)),this.elements=o(t),this.options=n({},this.options),"function"==typeof e?i=e:n(this.options,e),i&&this.on("always",i),this.getImages(),c&&(this.jqDeferred=new c.Deferred);var s=this;setTimeout(function(){s.check()})}function a(t){this.img=t}function l(t){this.src=t,f[t]=this}var c=t.jQuery,h=t.console,d=void 0!==h,u=Object.prototype.toString;r.prototype=new e,r.prototype.options={},r.prototype.getImages=function(){this.images=[];for(var t=0,e=this.elements.length;e>t;t++){var i=this.elements[t];"IMG"===i.nodeName&&this.addImage(i);var n=i.nodeType;if(n&&(1===n||9===n||11===n))for(var s=i.querySelectorAll("img"),o=0,r=s.length;r>o;o++){var a=s[o];this.addImage(a)}}},r.prototype.addImage=function(t){var e=new a(t);this.images.push(e)},r.prototype.check=function(){var t=this,e=0,i=this.images.length;if(this.hasAnyBroken=!1,i)for(var n=0;i>n;n++){var s=this.images[n];s.on("confirm",function(n,s){return t.options.debug&&d&&h.log("confirm",n,s),t.progress(n),++e===i&&t.complete(),!0}),s.check()}else this.complete()},r.prototype.progress=function(t){this.hasAnyBroken=this.hasAnyBroken||!t.isLoaded;var e=this;setTimeout(function(){e.emit("progress",e,t),e.jqDeferred&&e.jqDeferred.notify&&e.jqDeferred.notify(e,t)})},r.prototype.complete=function(){var t=this.hasAnyBroken?"fail":"done";this.isComplete=!0;var e=this;setTimeout(function(){if(e.emit(t,e),e.emit("always",e),e.jqDeferred){var i=e.hasAnyBroken?"reject":"resolve";e.jqDeferred[i](e)}})},c&&(c.fn.imagesLoaded=function(t,e){return new r(this,t,e).jqDeferred.promise(c(this))}),(a.prototype=new e).check=function(){var t=f[this.img.src]||new l(this.img.src);if(t.isConfirmed)this.confirm(t.isLoaded,"cached was confirmed");else if(this.img.complete&&void 0!==this.img.naturalWidth)this.confirm(0!==this.img.naturalWidth,"naturalWidth");else{var e=this;t.on("confirm",function(t,i){return e.confirm(t.isLoaded,i),!0}),t.check()}},a.prototype.confirm=function(t,e){this.isLoaded=t,this.emit("confirm",this,e)};var f={};return l.prototype=new e,l.prototype.check=function(){if(!this.isChecked){var t=new Image;i.bind(t,"load",this),i.bind(t,"error",this),t.src=this.src,this.isChecked=!0}},l.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},l.prototype.onload=function(t){this.confirm(!0,"onload"),this.unbindProxyEvents(t)},l.prototype.onerror=function(t){this.confirm(!1,"onerror"),this.unbindProxyEvents(t)},l.prototype.confirm=function(t,e){this.isConfirmed=!0,this.isLoaded=t,this.emit("confirm",this,e)},l.prototype.unbindProxyEvents=function(t){i.unbind(t.target,"load",this),i.unbind(t.target,"error",this)},r}),function(t){t.fn.fitText=function(e,i){var n=e||1,s=t.extend({minFontSize:Number.NEGATIVE_INFINITY,maxFontSize:Number.POSITIVE_INFINITY},i);return this.each(function(){var e=t(this),i=function(){e.css("font-size",Math.max(Math.min(e.width()/(10*n),parseFloat(s.maxFontSize)),parseFloat(s.minFontSize)))};i(),t(window).on("resize",i)})}}(jQuery),function(t){function e(e,i,n,s){var o=e.text().split(i),r="";o.length&&(t(o).each(function(t,e){r+=''+e+""+s}),e.empty().append(r))}var i={init:function(){return this.each(function(){e(t(this),"","char","")})},words:function(){return this.each(function(){e(t(this)," ","word"," ")})},lines:function(){return this.each(function(){var i="eefec303079ad17405c889e092e105b0";e(t(this).children("br").replaceWith(i).end(),i,"line","")})}};t.fn.lettering=function(e){return e&&i[e]?i[e].apply(this,[].slice.call(arguments,1)):"letters"!==e&&e?(t.error("Method "+e+" does not exist on jQuery.lettering"),this):i.init.apply(this,[].slice.call(arguments,0))}}(jQuery),function(t){"use strict";function e(e){return/In/.test(e)||t.inArray(e,t.fn.textillate.defaults.inEffects)>=0}function i(e){return/Out/.test(e)||t.inArray(e,t.fn.textillate.defaults.outEffects)>=0}function n(e){var i=e.attributes||[],n={};return i.length?(t.each(i,function(t,e){/^data-in-*/.test(e.nodeName)?(n.in=n.in||{},n.in[e.nodeName.replace(/data-in-/,"")]=e.nodeValue):/^data-out-*/.test(e.nodeName)?(n.out=n.out||{},n.out[e.nodeName.replace(/data-out-/,"")]=e.nodeValue):/^data-*/.test(e.nodeName)&&(n[e.nodeName]=e.nodeValue)}),n):n}function s(t){for(var e,i,n=t.length;n;e=parseInt(Math.random()*n),i=t[--n],t[n]=t[e],t[e]=i);return t}function o(t,e,i){t.addClass("animated "+e).css("visibility","visible").show(),t.one("animationend webkitAnimationEnd oAnimationEnd",function(){t.removeClass("animated "+e),i&&i()})}function r(n,r,a){var l=n.length;return l?(r.shuffle&&(n=s(n)),r.reverse&&(n=n.toArray().reverse()),void t.each(n,function(n,s){function c(){e(r.effect)?h.css("visibility","visible"):i(r.effect)&&h.css("visibility","hidden"),!(l-=1)&&a&&a()}var h=t(s),d=r.sync?r.delay:r.delay*n*r.delayScale;h.text()?setTimeout(function(){o(h,r.effect,c)},d):c()})):void(a&&a())}var a=function(s,o){var a=this,l=t(s);a.init=function(){a.$texts=l.find(o.selector),a.$texts.length||(a.$texts=t('
      • '+l.html()+"
      "),l.html(a.$texts)),a.$texts.hide(),a.$current=t("").text(a.$texts.find(":first-child").html()).prependTo(l),e(o.in.effect)?a.$current.css("visibility","hidden"):i(o.out.effect)&&a.$current.css("visibility","visible"),a.setOptions(o),a.timeoutRun=null,setTimeout(function(){a.options.autoStart&&a.start()},a.options.initialDelay)},a.setOptions=function(t){a.options=t},a.triggerEvent=function(e){var i=t.Event(e+".tlt");return l.trigger(i,a),i},a.in=function(s,o){s=s||0;var l,c=a.$texts.find(":nth-child("+(s+1)+")"),h=t.extend({},a.options,n(c));c.addClass("current"),a.triggerEvent("inAnimationBegin"),a.$current.text(c.html()).lettering("words"),a.$current.find('[class^="word"]').css({display:"inline-block","-webkit-transform":"translate3d(0,0,0)","-moz-transform":"translate3d(0,0,0)","-o-transform":"translate3d(0,0,0)",transform:"translate3d(0,0,0)"}).each(function(){t(this).lettering()}),l=a.$current.find('[class^="char"]').css("display","inline-block"),e(h.in.effect)?l.css("visibility","hidden"):i(h.in.effect)&&l.css("visibility","visible"),a.currentIndex=s,r(l,h.in,function(){a.triggerEvent("inAnimationEnd"),h.in.callback&&h.in.callback(),o&&o(a)})},a.out=function(e){var i=a.$texts.find(":nth-child("+(a.currentIndex+1)+")"),s=a.$current.find('[class^="char"]'),o=t.extend({},a.options,n(i));a.triggerEvent("outAnimationBegin"),r(s,o.out,function(){i.removeClass("current"),a.triggerEvent("outAnimationEnd"),o.out.callback&&o.out.callback(),e&&e(a)})},a.start=function(t){a.triggerEvent("start"),function t(e){a.in(e,function(){var i=a.$texts.children().length;e+=1,!a.options.loop&&e>=i?(a.options.callback&&a.options.callback(),a.triggerEvent("end")):(e%=i,a.timeoutRun=setTimeout(function(){a.out(function(){t(e)})},a.options.minDisplayTime))})}(t||0)},a.stop=function(){a.timeoutRun&&(clearInterval(a.timeoutRun),a.timeoutRun=null)},a.init()};t.fn.textillate=function(e,i){return this.each(function(){var s=t(this),o=s.data("textillate"),r=t.extend(!0,{},t.fn.textillate.defaults,n(this),"object"==typeof e&&e);o?"string"==typeof e?o[e].apply(o,[].concat(i)):o.setOptions.call(o,r):s.data("textillate",o=new a(this,r))})},t.fn.textillate.defaults={selector:".texts",loop:!1,minDisplayTime:2e3,initialDelay:0,in:{effect:"fadeInLeftBig",delayScale:1.5,delay:50,sync:!1,reverse:!1,shuffle:!1,callback:function(){}},out:{effect:"hinge",delayScale:1.5,delay:50,sync:!1,reverse:!1,shuffle:!1,callback:function(){}},autoStart:!0,inEffects:[],outEffects:["hinge"],callback:function(){}}}(jQuery),function(t){"use strict";function e(t){return new RegExp("(^|\\s+)"+t+"(\\s+|$)")}function i(t,e){(n(t,e)?o:s)(t,e)}var n,s,o;"classList"in document.documentElement?(n=function(t,e){return t.classList.contains(e)},s=function(t,e){t.classList.add(e)},o=function(t,e){t.classList.remove(e)}):(n=function(t,i){return e(i).test(t.className)},s=function(t,e){n(t,e)||(t.className=t.className+" "+e)},o=function(t,i){t.className=t.className.replace(e(i)," ")});var r={hasClass:n,addClass:s,removeClass:o,toggleClass:i,has:n,add:s,remove:o,toggle:i};"function"==typeof define&&define.amd?define(r):t.classie=r}(window);var SidebarMenuEffects=function(){function t(e,i){return e!==document&&(!!classie.has(e,i)||e.parentNode&&t(e.parentNode,i))}function e(){var t=!1;return function(e){(/(android|ipad|playbook|silk|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(e.substr(0,4)))&&(t=!0)}(navigator.userAgent||navigator.vendor||window.opera),t}!function(){var i,n,s,o,r,a,l;i=document.getElementById("header"),n=document.getElementById("navbar"),s=n.getElementsByTagName("li"),o=document.getElementById("nav-button"),r=e()?"touchstart":"click",a=document.documentElement.scrollTop||document.body.scrollTop,l=i.offsetHeight/2;var c=function(){classie.remove(i,"menu-open");for(var t=0;t=t?classie.add(i,"scroll"):classie.remove(i,"scroll")},window.onscroll=function(t){a=document.documentElement.scrollTop||document.body.scrollTop,l=i.offsetHeight/2,topfixed(l,a)},window.onResize=function(t){a=document.documentElement.scrollTop||document.body.scrollTop,l=i.offsetHeight/2,topfixed(l,a)},o.getAttribute("data-effect"),o.addEventListener(r,function(e){t(e.target,"menu-open")?(c(),o.removeEventListener(r,h)):(e.stopPropagation(),e.preventDefault(),i.className="",setTimeout(function(){classie.add(i,"menu-open");for(var t=0,e=0;e
      ");var t=$("#loadPage"),e=$(this).attr("href");if("#"!=e&&""!=e)return t.addClass("moveFromTop"),setTimeout(function(){location.href=e},600),!1})}function s(t,e){var i,n;i=w.eq(t).find("video"),n=w.eq(e).find("video"),t!=e&&(n.length>0&&n.get(0).pause(),i.length>0&&i.get(0).play())}function o(t){var e,i,n,s;e=w.eq(t).find(".banner-move"),i=w.eq(t).find(".icetexts"),n=w.eq(b).find(".banner-move"),s=w.eq(b).find(".icetexts"),n.find(".move-s").removeAttr("style"),i.textillate("in"),e.each(function(){$(this).addClass("markUp")}),b!=t&&setTimeout(function(){w.eq(b).hasClass("animated")&&w.eq(b).attr("class","owl-item"),s.textillate("out"),n.removeClass("markUp"),e.find(".move-s")},200)}function r(t,e){var i=t.page.index,n=t.item.index;return"page"==e?i:"item"==e?n:void 0}function a(){$(window).width();w.find(".banner-img").each(function(){var t=$(this);if(l(t)[0]){var e=l(t)[1];h.trigger("stop.owl.autoplay"),t.css("background-image","url('"+e+"')"),h.imagesLoaded({background:".banner-img"},function(){h.trigger("play.owl.autoplay",[6e3])})}})}function l(t){var e,i,n,s;return e=t.attr("style"),i=$(window).width(),n=t.attr("data-mobile"),s=t.attr("data-src"),void 0!=n&&""!=n||(n=s),imgSrc=imgSrc=i<=767?n:s,currentimg=[],void 0==e||t.attr("style").substring(22)!=imgSrc+"')"?currentimg=[!0,imgSrc]:currentimg=[!1,imgSrc],currentimg}var c=$("header");$("[data-eng='true']");switch(n($(".clickopen")),n($(".navbar").find("a")),function(){var t,e,i,n;t=.1,e=!0,i=new WOW({boxClass:"myani",animateClass:"animated",offset:100,callback:function(e){(e=$(e)).data("canvas")&&(flower(),setTimeout(function(){flower()},1400)),e.data("textanimate")&&e.textillate("in"),e.data("count")&&(e.css("animation-delay",t.toFixed(1)+"s"),t+=.1)}}),$(window).scroll(function(){e&&(t=.2,setTimeout(function(){e=!0},150),e=!1)}),void 0!=(n=$("[data-textanimate='true']"))&&n.textillate({autoStart:!1,in:{effect:"fadeInMask Org",delayScale:1,shuffle:!0},out:{effect:"fadeOut",delayScale:0,delay:0}}),i.init()}(),void 0!=e&&(i("js/vidbg.min.js",!0),function(){function t(t){var e=t.find(".section-img");if($("body").attr("data-page"),l(e)[0]){var i=l(e)[1];e.css("background-image","url('"+i+"')")}}function e(){var t=s.children().eq(0);n(t),i(t),i(o.next())}function i(t){var e=t.find(".section-img").attr("data-src");void 0!=e&&t.find(".section-img").attr("style","background-image:url("+e+")")}function n(t){var e,i,n;if(t.find(".slide").length>0?(e=t.find(".slide").eq(0).find(".full-move"),n=t.find(".slide").eq(0).find(".section-img")):(e=t.find(".full-move"),n=t.find(".section-img")),i=.7,e.each(function(){var t=$(this).attr("data-aniname");$(this).data("textanimate")?$(this).textillate("in"):(void 0==t&&(t="fadeInUp"),$(this).attr("style","animation-delay: "+i+"s").addClass(t+" animated").one("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend",function(){$(this).removeClass("animated")}),i+=.2)}),void 0!=n){if(n.find(".vidbg-box").length>0)return;n.hasClass("bg-scale")?(n.removeClass("bg-scale"),setTimeout(function(){n.addClass("bg-scale")},50)):n.addClass("bg-scale")}}var s,o,r,a;s=$("#slideContainer"),o=s.children().eq(0),a=0,s.fullpage({navigation:!0,navigationPosition:"right",slidesNavigation:!0,lazyLoading:!1,onLeave:function(e,r,a){var l,h,d;l=s.children(),(h=(o=l.eq(r-1)).find("video")).length>0&&(d=h.get(0)).paused&&d.play(),1!=r?c.addClass("scroll"):c.removeClass("scroll"),r==l.length?(o.find(".wow").attr("style","visibility: visible;").addClass("animated"),i(o)):i(o.next()),n(o),t(o)},onSlideLeave:function(e,i,s,l,c){var h,d;(h=(r=o.find(".slide").eq(c)).find("video")).length>0&&(d=h.get(0)).paused&&d.play(),a=c,n(r),t(r)},afterRender:function(){s.find("[data-textanimate='true']").textillate({autoStart:!1,in:{effect:"fadeInMask",delayScale:1,shuffle:!0},out:{effect:"fadeOut",delayScale:0,delay:0}}),e()}}),$(window).resizeEnd({delay:300},function(){t(0==o.index()&&a>=1?r:o)})}()),t){case"home":var h,d,u,f,p,m,g,v,y;h=$("#banner").find(".owl-carousel"),h.children(),d=$("#bannerPrev"),u=$("#bannerNext"),f=$("#banner").find(".banner-page"),y=$(".video"),p=0,m=1,g=!1,v="
      ",i("js/vidbg.min.js",!0),y.each(function(){$(this).attr("autoplay","auto"),$(this).get(0).play()}),h.on("initialized.owl.carousel",function(t){p=r(t,"item"),m=r(t,"page")}),h.find(".icetexts").textillate({autoStart:!1,in:{effect:"fadeInMask",delayScale:1,shuffle:!0},out:{effect:"fadeOut",delayScale:0,delay:0}}),h.owlCarousel({animateOut:"zoomOutRight",animateIn:"slideInRight",loop:!0,autoplay:!0,autoplayTimeout:7e3,autoplayHoverPause:!1,items:1,lazyLoad:!1,mouseDrag:!1,onDragged:r});var w=h.find(".owl-item"),_=(w.children(),h.find(".owl-dots")),b=(_.prev(),_.attr("class"),h.find(".owl-item.active").index());u.click(function(){g&&h.trigger("next.owl.carousel")}),d.click(function(){g&&h.trigger("prev.owl.carousel",[300])}),h.on("changed.owl.carousel",function(t){p=r(t,"item"),m=r(t,"page"),p!=b&&(setTimeout(function(){s(p,b),o(p),b=p},800),f.html("0"+(m+1)))}),h.on("translate.owl.carousel",function(t){g=!1,_.before(v)}),h.on("translated.owl.carousel",function(t){setTimeout(function(){g||(g=!0,h.find(".noclick").remove())},2e3)}),setTimeout(function(){s(p,b),a(),o(p),_.before(v)},800),setTimeout(function(){g=!0,h.find(".noclick").remove()},4e3),$(window).resizeEnd({delay:300},function(){a()});break;case"join us":!function(){var t,e;t=$(".table-item"),e=$(".job-closed"),t.click(function(){var t=$(this).next();if(t.hasClass("open"))t.find(".job-box").css({height:"0px",opacity:"0"}),setTimeout(function(){t.find(".job-box").removeAttr("style"),t.removeClass("open").removeAttr("style")},300);else{t.addClass("open").css("display","table-row");var e=t.height();t.find(".job-box").css("height","0px"),setTimeout(function(){t.find(".job-box").css({height:e+"px",visibility:"visible",opacity:"1"})},10)}}),e.click(function(){var t=$(this).parents(".table-box");t.css({height:"0px",opacity:"0"}),setTimeout(function(){t.find(".job-box").removeAttr("style"),t.removeClass("open").removeAttr("style")},300)})}();break;case"about":var x,C,S,E;x=$("#history-bg"),C=$("#history-text"),S=$("#his-prev"),E=$("#his-next"),x.owlCarousel({loop:!1,autoplayHoverPause:!1,items:1,lazyLoad:!0,smartSpeed:1e3,fluidSpeed:500,mouseDrag:!1,nav:!1,dots:!1}),C.owlCarousel({center:!0,loop:!1,autoplayHoverPause:!1,items:2,dots:!1,smartSpeed:2500,fluidSpeed:800,lazyLoad:!1,mouseDrag:!1,nav:!1}),E.click(function(){C.trigger("next.owl.carousel"),x.trigger("next.owl.carousel")}),S.click(function(){C.trigger("prev.owl.carousel"),x.trigger("prev.owl.carousel")})}}});