text: /*
   *	jQuery OwlCarousel v1.19
   *  
   *	Copyright (c) 2013 Bartosz Wojciechowski
   *	http://www.owlgraphic.com/owlcarousel
   *
   *	Licensed under MIT
   *
   */
  /*
   *	Extend Blur Background by AA-Team
   */
  if(typeof Object.create!=="function"){Object.create=function(e){function t(){}t.prototype=e;return new t}}(function(e,t,n,r){"use strict";function i(){this.r=0;this.g=0;this.b=0;this.a=0;this.next=null}var s={init:function(t,n){var r=this;r.mul_table=[512,512,456,512,328,456,335,512,405,328,271,456,388,335,292,512,454,405,364,328,298,271,496,456,420,388,360,335,312,292,273,512,482,454,428,405,383,364,345,328,312,298,284,271,259,496,475,456,437,420,404,388,374,360,347,335,323,312,302,292,282,273,265,512,497,482,468,454,441,428,417,405,394,383,373,364,354,345,337,328,320,312,305,298,291,284,278,271,265,259,507,496,485,475,465,456,446,437,428,420,412,404,396,388,381,374,367,360,354,347,341,335,329,323,318,312,307,302,297,292,287,282,278,273,269,265,261,512,505,497,489,482,475,468,461,454,447,441,435,428,422,417,411,405,399,394,389,383,378,373,368,364,359,354,350,345,341,337,332,328,324,320,316,312,309,305,301,298,294,291,287,284,281,278,274,271,268,265,262,259,257,507,501,496,491,485,480,475,470,465,460,456,451,446,442,437,433,428,424,420,416,412,408,404,400,396,392,388,385,381,377,374,370,367,363,360,357,354,350,347,344,341,338,335,332,329,326,323,320,318,315,312,310,307,304,302,299,297,294,292,289,287,285,282,280,278,275,273,271,269,267,265,263,261,259];r.shg_table=[9,11,12,13,13,14,14,15,15,15,15,16,16,16,16,17,17,17,17,17,17,17,18,18,18,18,18,18,18,18,18,19,19,19,19,19,19,19,19,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24];r.options=e.extend({},e.fn.owlCarousel.options,t);var i=n;var s=e(n);r.$elem=s;r.logIn()},logIn:function(){var e=this;e.baseClass();e.$elem.css({opacity:0});e.checkTouch();e.support3d();e.backgrounds=null;e.wrapperWidth=0;e.currentSlide=0;e.userItems=e.$elem.children();e.itemsAmount=e.userItems.length;e.wrapItems();e.owlItems=e.$elem.find(".owl-item");e.owlWrapper=e.$elem.find(".owl-wrapper");e.orignalItems=e.options.items;e.playDirection="next";e.checkVisible;e.onStartup();e.customEvents()},onStartup:function(){var e=this;e.updateItems();e.calculateAll();e.buildControlls();e.updateControlls();e.response();e.moveEvents();e.stopOnHover();if(e.options.autoPlay===true){e.options.autoPlay=5e3}e.play();e.$elem.find(".owl-wrapper").css("display","block");if(!e.$elem.is(":visible")){e.watchVisibility()}else{setTimeout(function(){e.calculateAll();e.createBlurBackgrounds(function(){e.$elem.stop().animate({opacity:1},200)})},10)}e.onstartup=false;if(typeof e.options.afterInit==="function"){e.options.afterInit.apply(this,[e.$elem])}},createBlurBackgrounds:function(t){var n=this;if(n.options.blurBackground.elm!=null){n.owlItems.each(function(r){var i=e(this),s=i.find("img.img-circle"),o=s.attr("src");if(o!=""){var u=e("<canvas />").attr({id:"blur-background-canvas-"+r,width:n.options.blurBackground.elm.width(),height:n.options.blurBackground.elm.height()}).addClass("canvas-background").hide();if(r==0){u.addClass("bk-active");u.show()}n.options.blurBackground.elm.append(u);n.stackBlurImage(s,u.attr("id"),n.options.blurBackground.radius,function(){if(r==n.itemsAmount-1&&e.isFunction(t)){n.backgrounds=n.options.blurBackground.elm.find("canvas");t()}})}})}else{if(e.isFunction(t)){t()}}},stackBlurImage:function(e,t,r,i){var s=this;var o=e;var u=new Image;u.src=o.attr("src");u.onload=function(){var o=e.get(0);var u=o.naturalWidth;var a=o.naturalHeight;var f=n.getElementById(t);f.style.width="100%";f.style.height="100%";f.width=u;f.height=a;var l=f.getContext("2d");l.clearRect(0,0,u,a);l.drawImage(o,0,0);if(isNaN(r)||r<1)return;s.stackBlurCanvasRGB(t,0,0,u,a,r,i)}},stackBlurCanvasRGB:function(t,r,s,o,u,a,f){var l=this;if(isNaN(a)||a<1)return;a|=0;var c=n.getElementById(t);var h=c.getContext("2d");var p;try{try{p=h.getImageData(r,s,o,u)}catch(d){try{netscape.security.PrivilegeManager.enablePrivilege("UniversalBrowserRead");p=h.getImageData(r,s,o,u)}catch(d){alert("Cannot access local image");throw new Error("unable to access local image data: "+d);return}}}catch(d){alert("Cannot access image");throw new Error("unable to access image data: "+d)}var v=p.data;var m,g,y,b,w,E,S,x,T,N,C,k,L,A,O,M,_,D,P,H;var B=a+a+1;var j=o<<2;var F=o-1;var I=u-1;var q=a+1;var R=q*(q+1)/2;var U=new i;var z=U;for(y=1;y<B;y++){z=z.next=new i;if(y==q)var W=z}z.next=U;var X=null;var V=null;S=E=0;var J=l.mul_table[a];var K=l.shg_table[a];for(g=0;g<u;g++){A=O=M=x=T=N=0;C=q*(_=v[E]);k=q*(D=v[E+1]);L=q*(P=v[E+2]);x+=R*_;T+=R*D;N+=R*P;z=U;for(y=0;y<q;y++){z.r=_;z.g=D;z.b=P;z=z.next}for(y=1;y<q;y++){b=E+((F<y?F:y)<<2);x+=(z.r=_=v[b])*(H=q-y);T+=(z.g=D=v[b+1])*H;N+=(z.b=P=v[b+2])*H;A+=_;O+=D;M+=P;z=z.next}X=U;V=W;for(m=0;m<o;m++){v[E]=x*J>>K;v[E+1]=T*J>>K;v[E+2]=N*J>>K;x-=C;T-=k;N-=L;C-=X.r;k-=X.g;L-=X.b;b=S+((b=m+a+1)<F?b:F)<<2;A+=X.r=v[b];O+=X.g=v[b+1];M+=X.b=v[b+2];x+=A;T+=O;N+=M;X=X.next;C+=_=V.r;k+=D=V.g;L+=P=V.b;A-=_;O-=D;M-=P;V=V.next;E+=4}S+=o}for(m=0;m<o;m++){O=M=A=T=N=x=0;E=m<<2;C=q*(_=v[E]);k=q*(D=v[E+1]);L=q*(P=v[E+2]);x+=R*_;T+=R*D;N+=R*P;z=U;for(y=0;y<q;y++){z.r=_;z.g=D;z.b=P;z=z.next}w=o;for(y=1;y<=a;y++){E=w+m<<2;x+=(z.r=_=v[E])*(H=q-y);T+=(z.g=D=v[E+1])*H;N+=(z.b=P=v[E+2])*H;A+=_;O+=D;M+=P;z=z.next;if(y<I){w+=o}}E=m;X=U;V=W;for(g=0;g<u;g++){b=E<<2;v[b]=x*J>>K;v[b+1]=T*J>>K;v[b+2]=N*J>>K;x-=C;T-=k;N-=L;C-=X.r;k-=X.g;L-=X.b;b=m+((b=g+q)<I?b:I)*o<<2;x+=A+=X.r=v[b];T+=O+=X.g=v[b+1];N+=M+=X.b=v[b+2];X=X.next;C+=_=V.r;k+=D=V.g;L+=P=V.b;A-=_;O-=D;M-=P;V=V.next;E+=o}}h.putImageData(p,r,s);if(e.isFunction(f)){f()}},updateVars:function(){var e=this;e.watchVisibility();e.updateItems();e.calculateAll();e.updatePosition();e.updateControlls()},reload:function(e){var t=this;setTimeout(function(){t.updateVars()},0)},watchVisibility:function(){var e=this;clearInterval(e.checkVisible);if(!e.$elem.is(":visible")){e.$elem.css({opacity:0});clearInterval(e.autplaySpeed)}else{return false}e.checkVisible=setInterval(function(){if(e.$elem.is(":visible")){e.reload();e.$elem.animate({opacity:1},200);clearInterval(e.checkVisible)}},500)},wrapItems:function(){var e=this;e.userItems.wrapAll('<div class="owl-wrapper">').wrap('<div class="owl-item"></div>');e.$elem.find(".owl-wrapper").wrap('<div class="owl-wrapper-outer">');e.$elem.css("display","block")},baseClass:function(){var e=this;var t=e.$elem.hasClass(e.options.baseClass);var n=e.$elem.hasClass(e.options.theme);if(!t){e.$elem.addClass(e.options.baseClass)}if(!n){e.$elem.addClass(e.options.theme)}},updateItems:function(){var n=this;if(n.options.responsive===false){return false}if(n.options.singleItem===true){n.options.items=n.orignalItems=1;n.options.itemsDesktop=false;n.options.itemsDesktopSmall=false;n.options.itemsTablet=false;n.options.itemsMobile=false;return false}var r=e(t).width();if(r>(n.options.itemsDesktop[0]||n.orignalItems)){n.options.items=n.orignalItems}if(r<=n.options.itemsDesktop[0]&&n.options.itemsDesktop!==false){n.options.items=n.options.itemsDesktop[1]}if(r<=n.options.itemsDesktopSmall[0]&&n.options.itemsDesktopSmall!==false){n.options.items=n.options.itemsDesktopSmall[1]}if(r<=n.options.itemsTablet[0]&&n.options.itemsTablet!==false){n.options.items=n.options.itemsTablet[1]}if(r<=n.options.itemsMobile[0]&&n.options.itemsMobile!==false){n.options.items=n.options.itemsMobile[1]}if(n.options.items>n.itemsAmount){n.options.items=n.itemsAmount}},response:function(){var n=this,r;if(n.options.responsive!==true){return false}e(t).resize(function(){if(n.options.autoPlay!==false){clearInterval(n.autplaySpeed)}clearTimeout(r);r=setTimeout(function(){n.updateVars()},200)})},updatePosition:function(){var e=this;if(e.support3d===true){if(e.positionsInArray[e.currentSlide]>e.maximumPixels){e.transition3d(e.positionsInArray[e.currentSlide])}else{e.transition3d(0);e.currentSlide=0}}else{if(e.positionsInArray[e.currentSlide]>e.maximumPixels){e.css2slide(e.positionsInArray[e.currentSlide])}else{e.css2slide(0);e.currentSlide=0}}if(e.options.autoPlay!==false){e.checkAp()}},appendItemsSizes:function(){var t=this;var n=0;var r=t.itemsAmount-t.options.items;t.owlItems.each(function(i){e(this).css({width:t.itemWidth}).data("owl-item",Number(i));if(i%t.options.items===0||i===r){if(!(i>r)){n+=1}}e(this).data("owl-roundPages",n)})},appendWrapperSizes:function(){var e=this;var t=0;var t=e.owlItems.length*e.itemWidth;e.owlWrapper.css({width:t*2,left:0});e.appendItemsSizes()},calculateAll:function(){var e=this;e.calculateWidth();e.appendWrapperSizes();e.loops();e.max()},calculateWidth:function(){var e=this;e.itemWidth=Math.round(e.$elem.width()/e.options.items)},max:function(){var e=this;e.maximumSlide=e.itemsAmount-e.options.items;var t=e.itemsAmount*e.itemWidth-e.options.items*e.itemWidth;t=t*-1;e.maximumPixels=t;return t},min:function(){return 0},loops:function(){var e=this;e.positionsInArray=[0];var t=0;for(var n=0;n<e.itemsAmount;n++){t+=e.itemWidth;e.positionsInArray.push(-t)}},buildControlls:function(){var t=this;if(t.options.navigation===true||t.options.pagination===true){t.owlControlls=e('<div class="owl-controlls"/>').toggleClass("clickable",!t.isTouch).appendTo(t.$elem)}if(t.options.pagination===true){t.buildPagination()}if(t.options.navigation===true){t.buildButtons()}},buildButtons:function(){var t=this;var n=e('<div class="owl-buttons"/>');t.owlControlls.append(n);t.buttonPrev=e("<div/>",{"class":"owl-prev",text:t.options.navigationText[0]||""});t.buttonNext=e("<div/>",{"class":"owl-next",text:t.options.navigationText[1]||""});n.append(t.buttonPrev).append(t.buttonNext);n.on(t.getEvent(),'div[class^="owl"]',function(n){n.preventDefault();if(e(this).hasClass("owl-next")){t.next()}else{t.prev()}})},getEvent:function(){var e=this;if(e.isTouch===true){return"touchend.owlControlls"}else{return"click.owlControlls"}},buildPagination:function(){var t=this;t.paginationWrapper=e('<div class="owl-pagination"/>');t.owlControlls.append(t.paginationWrapper);t.paginationWrapper.on(t.getEvent(),".owl-page",function(n){n.preventDefault();if(Number(e(this).data("owl-page"))!==t.currentSlide){t.goTo(Number(e(this).data("owl-page")),true)}})},updatePagination:function(){var t=this;if(t.options.pagination===false){return false}t.paginationWrapper.html("");var n=0;var r=t.itemsAmount-t.itemsAmount%t.options.items;for(var i=0;i<t.itemsAmount;i++){if(i%t.options.items===0){n+=1;if(r===i){var s=t.itemsAmount-t.options.items}var o=e("<div/>",{"class":"owl-page"});var u=e("<span></span>",{text:t.options.paginationNumbers===true?n:"","class":t.options.paginationNumbers===true?"owl-numbers":""});o.append(u);o.data("owl-page",r===i?s:i);o.data("owl-roundPages",n);t.paginationWrapper.append(o)}}t.checkPagination()},checkPagination:function(){var t=this;t.paginationWrapper.find(".owl-page").each(function(n,r){if(e(this).data("owl-roundPages")===e(t.owlItems[t.currentSlide]).data("owl-roundPages")){t.paginationWrapper.find(".owl-page").removeClass("active");e(this).addClass("active")}})},checkNavigation:function(){var e=this;if(e.options.navigation===false){return false}if(e.options.goToFirstNav===false){if(e.currentSlide===0&&e.maximumSlide===0){e.buttonPrev.addClass("disabled");e.buttonNext.addClass("disabled")}else if(e.currentSlide===0&&e.maximumSlide!==0){e.buttonPrev.addClass("disabled");e.buttonNext.removeClass("disabled")}else if(e.currentSlide===e.maximumSlide){e.buttonPrev.removeClass("disabled");e.buttonNext.addClass("disabled")}else if(e.currentSlide!==0&&e.currentSlide!==e.maximumSlide){e.buttonPrev.removeClass("disabled");e.buttonNext.removeClass("disabled")}}},updateControlls:function(){var e=this;e.updatePagination();e.checkNavigation();if(e.options.items===e.itemsAmount){e.owlControlls.hide()}else{e.owlControlls.show()}},destroyControlls:function(){var e=this;if(e.owlControlls){e.owlControlls.remove()}},next:function(e){var t=this;t.currentSlide+=t.options.scrollPerPage===true?t.options.items:1;if(t.currentSlide>t.maximumSlide+(t.options.scrollPerPage==true?t.options.items-1:0)){if(t.options.goToFirstNav===true){t.currentSlide=0;e="goToFirst"}else{t.currentSlide=t.maximumSlide;return false}}t.goTo(t.currentSlide,e)},prev:function(e){var t=this;if(t.options.scrollPerPage===true&&t.currentSlide>0&&t.currentSlide<t.options.items){t.currentSlide=0}else{t.currentSlide-=t.options.scrollPerPage===true?t.options.items:1}if(t.currentSlide<0){if(t.options.goToFirstNav===true){t.currentSlide=t.maximumSlide;e="goToFirst"}else{t.currentSlide=0;return false}}t.goTo(t.currentSlide,e)},goTo:function(e,t){var n=this;if(typeof n.options.beforeMove==="function"){n.options.beforeMove.apply(this)}if(e>=n.maximumSlide){e=n.maximumSlide}else if(e<=0){e=0}n.currentSlide=e;var r=n.positionsInArray[e];if(n.support3d===true){n.isCss3Finish=false;if(t===true){n.swapTransitionSpeed("paginationSpeed");setTimeout(function(){n.isCss3Finish=true},n.options.paginationSpeed)}else if(t==="goToFirst"){n.swapTransitionSpeed(n.options.goToFirstSpeed);setTimeout(function(){n.isCss3Finish=true},n.options.goToFirstSpeed)}else{n.swapTransitionSpeed("slideSpeed");setTimeout(function(){n.isCss3Finish=true},n.options.slideSpeed)}n.transition3d(r)}else{if(t===true){n.css2slide(r,n.options.paginationSpeed)}else if(t==="goToFirst"){n.css2slide(r,n.options.goToFirstSpeed)}else{n.css2slide(r,n.options.slideSpeed)}}if(n.options.pagination===true){n.checkPagination()}if(n.options.navigation===true){n.checkNavigation()}if(n.options.autoPlay!==false){n.checkAp()}if(typeof n.options.afterMove==="function"){n.options.afterMove.apply(this)}},stop:function(){var e=this;e.apStatus="stop";clearInterval(e.autplaySpeed)},checkAp:function(){var e=this;if(e.apStatus!=="stop"){e.play()}},play:function(){var t=this;t.apStatus="play";if(t.options.autoPlay===false){return false}clearInterval(t.autplaySpeed);t.autplaySpeed=setInterval(function(){if(t.currentSlide<t.maximumSlide&&t.playDirection==="next"){t.next(true)}else if(t.currentSlide===t.maximumSlide){if(t.options.goToFirst===true){t.goTo(0,"goToFirst")}else{t.playDirection="prev";t.prev(true)}}else if(t.playDirection==="prev"&&t.currentSlide>0){t.prev(true)}else if(t.playDirection==="prev"&&t.currentSlide===0){t.playDirection="next";t.next(true)}},t.options.autoPlay);if(t.backgrounds!=null){var n=t.backgrounds.eq(t.currentSlide);t.backgrounds.each(function(){var n=e(this),r=n.index();if(n.is(".bk-active")){n.fadeOut(t.options.blurBackground.transitionSpeed);n.removeClass("bk-active")}});n.addClass("bk-active").fadeIn(t.options.blurBackground.transitionSpeed)}},swapTransitionSpeed:function(e){var t=this;if(e==="slideSpeed"){t.owlWrapper.css(t.addTransition(t.options.slideSpeed))}else if(e==="paginationSpeed"){t.owlWrapper.css(t.addTransition(t.options.paginationSpeed))}else if(typeof e!=="string"){t.owlWrapper.css(t.addTransition(e))}},addTransition:function(e){var t=this;return{"-webkit-transition":"all "+e+"ms ease","-moz-transition":"all "+e+"ms ease","-o-transition":"all "+e+"ms ease",transition:"all "+e+"ms ease"}},removeTransition:function(){return{"-webkit-transition":"","-moz-transition":"","-o-transition":"",transition:""}},doTranslate:function(e){return{"-webkit-transform":"translate3d("+e+"px, 0px, 0px)","-moz-transform":"translate3d("+e+"px, 0px, 0px)","-o-transform":"translate3d("+e+"px, 0px, 0px)","-ms-transform":"translate3d("+e+"px, 0px, 0px)",transform:"translate3d("+e+"px, 0px,0px)"}},transition3d:function(e){var t=this;t.owlWrapper.css(t.doTranslate(e))},css2move:function(e){var t=this;t.owlWrapper.css({left:e})},css2slide:function(e,t){var n=this;n.isCssFinish=false;n.owlWrapper.stop(true,true).animate({left:e},{duration:t||n.options.slideSpeed,complete:function(){n.isCssFinish=true}})},support3d:function(){var e=this;var t="translate3d(0px, 0px, 0px)";var r=n.createElement("div");r.style.cssText="  -moz-transform:"+t+"; -ms-transform:"+t+"; -o-transform:"+t+"; -webkit-transform:"+t+"; transform:"+t;var i=/translate3d\(0px, 0px, 0px\)/g;var s=r.style.cssText.match(i);var o=s!==null&&s.length===1;e.support3d=o;return o},checkTouch:function(){var e=this;e.isTouch="ontouchstart"in n.documentElement},moveEvents:function(){var e=this;e.eventTypes();e.gestures();e.disabledEvents()},eventTypes:function(){var e=this;var t;e.ev_types={};if(e.isTouch){t=["touchstart.owl","touchmove.owl","touchend.owl"]}else{t=["mousedown.owl","mousemove.owl","mouseup.owl"]}e.ev_types["start"]=t[0];e.ev_types["move"]=t[1];e.ev_types["end"]=t[2]},disabledEvents:function(){var e=this;if(e.isTouch!==true){e.$elem.on("dragstart.owl","img",function(e){e.preventDefault()});e.$elem.bind("mousedown.disableTextSelect",function(){return false})}},gestures:function(){function s(e){if(t.isTouch===true){return{x:e.touches[0].pageX,y:e.touches[0].pageY}}else{if(e.pageX!==r){return{x:e.pageX,y:e.pageY}}else{return{x:e.clientX,y:e.clientY}}}}function o(r){if(r==="on"){e(n).on(t.ev_types["move"],f);e(n).on(t.ev_types["end"],l)}else if(r==="off"){e(n).off(t.ev_types["move"]);e(n).off(t.ev_types["end"])}}function u(e){e.preventDefault?e.preventDefault():e.returnValue=false;t.owlWrapper.off("click.owl")}function a(n){var n=n.originalEvent||n;if(t.isCssFinish===false){return false}if(t.isCss3Finish===false){return false}if(t.options.autoPlay!==false){clearInterval(t.autplaySpeed)}if(t.isTouch!==true&&!t.owlWrapper.hasClass("grabbing")){t.owlWrapper.addClass("grabbing")}t.newPosX=0;t.newRelativeX=0;e(this).css(t.removeTransition());var r=e(this).position();i.relativePos=r.left;i.offsetX=s(n).x-r.left;i.offsetY=s(n).y-r.top;o("on");i.sliding=false}function f(r){var r=r.originalEvent||r;t.newPosX=s(r).x-i.offsetX;t.newPosY=s(r).y-i.offsetY;t.newRelativeX=t.newPosX-i.relativePos;if(t.newRelativeX>8||t.newRelativeX<-8&&t.isTouch===true){r.preventDefault?r.preventDefault():r.returnValue=false;i.sliding=true}if((t.newPosY>10||t.newPosY<-10)&&i.sliding===false){e(n).off("touchmove.owl")}var o=function(){return t.newRelativeX/5};var u=function(){return t.maximumPixels+t.newRelativeX/5};t.newPosX=Math.max(Math.min(t.newPosX,o()),u());if(t.support3d===true){t.transition3d(t.newPosX)}else{t.css2move(t.newPosX)}}var t=this;var i={offsetX:0,offsetY:0,baseElWidth:0,relativePos:0,position:null,minSwipe:null,maxSwipe:null,sliding:null};t.isCssFinish=true;var l=function(){if(t.isTouch!==true){t.owlWrapper.removeClass("grabbing")}o("off");if(t.newPosX!==0){var e=t.getNewPosition();t.goTo(e);t.owlWrapper.on("click.owl","a",u)}else if(t.isTouch===true){t.owlWrapper.off("click.owl")}};t.$elem.on(t.ev_types["start"],".owl-wrapper",a)},clearEvents:function(){var t=this;t.$elem.off(".owl");e(n).off(".owl")},getNewPosition:function(){var e=this,t;var t=e.improveClosest();if(t>e.maximumSlide){e.currentSlide=e.maximumSlide;t=e.maximumSlide}else if(e.newPosX>=0){t=0;e.currentSlide=0}return t},improveClosest:function(){var t=this;var n=t.positionsInArray;var r=t.newPosX;var i=null;e.each(n,function(e,s){if(r-t.itemWidth/20>n[e+1]&&r-t.itemWidth/20<s&&t.moveDirection()==="left"){i=s;t.currentSlide=e}else if(r+t.itemWidth/20<s&&r+t.itemWidth/20>n[e+1]&&t.moveDirection()==="right"){i=n[e+1];t.currentSlide=e+1}});return t.currentSlide},moveDirection:function(){var e=this,t;if(e.newRelativeX<0){t="right";e.playDirection="next"}else{t="left";e.playDirection="prev"}return t},customEvents:function(){var e=this;e.$elem.on("owl.next",function(){e.next()});e.$elem.on("owl.prev",function(){e.prev()});e.$elem.on("owl.play",function(){e.play();e.hoverStatus="play"});e.$elem.on("owl.stop",function(){e.stop();e.hoverStatus="stop"})},stopOnHover:function(){var e=this;if(e.options.stopOnHover===true&&e.isTouch===false&&e.options.autoPlay!==false){e.$elem.on("mouseover",function(){e.stop()});e.$elem.on("mouseout",function(){if(e.hoverStatus!=="stop"){e.play()}})}}};e.fn.owlCarousel=function(t){return this.each(function(){var n=Object.create(s);n.init(t,this);e.data(this,"owlCarousel",n)})};e.fn.owlCarousel.options={slideSpeed:200,paginationSpeed:800,blurBackground:{elm:null,radius:50,transitionSpeed:300},autoPlay:false,goToFirst:true,goToFirstNav:true,goToFirstSpeed:1e3,stopOnHover:false,navigation:false,navigationText:["prev","next"],pagination:true,paginationNumbers:false,responsive:true,items:5,itemsDesktop:[1199,4],itemsDesktopSmall:[979,3],itemsTablet:[768,2],itemsMobile:[479,1],baseClass:"owl-carousel",theme:"owl-theme",beforeUpdate:false,afterUpdate:false,beforeMove:false,afterMove:false}})(jQuery,window,document)