!function(n,t,r,u){function f(t,i){t.owlCarousel={name:"Owl Carousel",author:"Bartosz Wojciechowski",version:"2.0.0-beta.2.1"};this.options=n.extend({},o,i);this._options=n.extend({},o,this.options);this.itemData=n.extend({},v);this.dom=n.extend({},y);this.width=n.extend({},p);this.num=n.extend({},w);this.pos=n.extend({},b);this.drag=n.extend({},k);this.speed=n.extend({},d);this.state=n.extend({},g);this.e=n.extend({},nt);this.dom.el=t;this.dom.$el=n(t);this.plugins={};for(var r in f.Plugins)this.plugins[r]=new f.Plugins[r](this);this.suppressedEvents={};this.init()}function e(n){var t,i,u=r.createElement("div"),f=n;for(t in f)if(i=f[t],"undefined"!=typeof u.style[i])return u=null,[i,t];return[!1]}function s(){return e(["transition","WebkitTransition","MozTransition","OTransition"])[1]}function h(){return e(["transform","WebkitTransform","MozTransform","OTransform","msTransform"])[0]}function c(){return e(["perspective","webkitPerspective","MozPerspective","OPerspective","MsPerspective"])[0]}function l(){return"ontouchstart"in t||!!navigator.msMaxTouchPoints}function a(){return t.navigator.msPointerEnabled}var o={items:3,loop:!1,center:!1,mouseDrag:!0,touchDrag:!0,pullDrag:!0,freeDrag:!1,margin:0,stagePadding:0,merge:!1,mergeFit:!0,autoWidth:!1,startPosition:0,URLhashListener:!1,nav:!1,navRewind:!0,navText:["prev","next"],slideBy:1,dots:!0,dotsEach:!1,dotData:!1,smartSpeed:250,fluidSpeed:!1,navSpeed:!1,dotsSpeed:!1,dragEndSpeed:!1,responsive:{},responsiveRefreshRate:200,responsiveBaseElement:t,responsiveClass:!1,fallbackEasing:"swing",info:!1,nestedItemSelector:!1,itemElement:"div",stageElement:"div",navElement:"div",navContainer:!1,dotsContainer:!1,themeClass:"owl-theme",baseClass:"owl-carousel",itemClass:"owl-item",centerClass:"center",activeClass:"active",navContainerClass:"owl-nav",navClass:["owl-prev","owl-next"],controlsClass:"owl-controls",dotClass:"owl-dot",dotsClass:"owl-dots"},v={index:!1,indexAbs:!1,posLeft:!1,clone:!1,active:!1,loaded:!1,lazyLoad:!1,current:!1,width:!1,center:!1,page:!1,hasVideo:!1,playVideo:!1},y={el:null,$el:null,stage:null,$stage:null,oStage:null,$oStage:null,$items:null,$oItems:null,$cItems:null,$cc:null,$navPrev:null,$navNext:null,$page:null,$nav:null,$content:null},p={el:0,stage:0,item:0,prevWindow:0,cloneLast:0},w={items:0,oItems:0,cItems:0,active:0,merged:[],nav:[],allPages:0},b={start:0,max:0,maxValue:0,prev:0,current:0,currentAbs:0,currentPage:0,stage:0,items:[],lsCurrent:0},k={start:0,startX:0,startY:0,current:0,currentX:0,currentY:0,offsetX:0,offsetY:0,distance:null,startTime:0,endTime:0,updatedX:0,targetEl:null},d={onDragEnd:300,nav:300,css2speed:0},g={isTouch:!1,isScrolling:!1,isSwiping:!1,direction:!1,inMotion:!1},nt={_onDragStart:null,_onDragMove:null,_onDragEnd:null,_transitionEnd:null,_resizer:null,_responsiveCall:null,_goToLoop:null,_checkVisibile:null};f.Plugins={};f.prototype.init=function(){if(this.trigger("initialize"),this.dom.$el.hasClass(this.options.baseClass)||this.dom.$el.addClass(this.options.baseClass),this.dom.$el.hasClass(this.options.themeClass)||this.dom.$el.addClass(this.options.themeClass),this.options.rtl&&this.dom.$el.addClass("owl-rtl"),this.browserSupport(),this.sortOptions(),this.setResponsiveOptions(),this.options.autoWidth&&this.state.imagesLoaded!==!0){var n=this.dom.$el.find("img"),t=this.options.nestedItemSelector?"."+this.options.nestedItemSelector:u,i=this.dom.$el.children(t).width();if(n.length&&0>=i)return this.preloadAutoWidthImages(n),!1}this.width.prevWindow=this.windowWidth();this.createStage();this.fetchContent();this.eventsCall();this.addTriggerableEvents();this.internalEvents();this.dom.$el.addClass("owl-loading");this.refresh(!0);this.dom.$el.removeClass("owl-loading").addClass("owl-loaded");this.trigger("initialized")};f.prototype.sortOptions=function(){var r=this.options.responsive,u,t,i,n;this.responsiveSorted={};n=[];for(u in r)n.push(u);for(n=n.sort(function(n,t){return n-t}),t=0;t<n.length;t++)i=n[t],this.responsiveSorted[i]=r[i]};f.prototype.setResponsiveOptions=function(){if(this.options.responsive===!1)return!1;var i,r,t,n,u=this.windowWidth();this.options.responsive;for(t in this._options)"responsive"!==t&&(this.options[t]=this._options[t]);for(i in this.responsiveSorted)if(u>=i){n=i;for(r in this.responsiveSorted[n])this.options[r]=this.responsiveSorted[n][r]}this.num.breakpoint=n;this.options.responsiveClass&&this.dom.$el.attr("class",function(n,t){return t.replace(/\b owl-responsive-\S+/g,"")}).addClass("owl-responsive-"+n)};f.prototype.optionsLogic=function(){this.dom.$el.toggleClass("owl-center",this.options.center);this.options.slideBy&&"page"===this.options.slideBy?this.options.slideBy=this.options.items:this.options.slideBy>this.options.items&&(this.options.slideBy=this.options.items);this.options.loop&&this.num.oItems<this.options.items&&(this.options.loop=!1);this.num.oItems<=this.options.items&&!this.options.center&&(this.options.navRewind=!1);this.options.autoWidth&&(this.options.stagePadding=!1,this.options.dotsEach=1,this.options.merge=!1)};f.prototype.createStage=function(){var t=r.createElement("div"),i=r.createElement(this.options.stageElement);t.className="owl-stage-outer";i.className="owl-stage";t.appendChild(i);this.dom.el.appendChild(t);this.dom.oStage=t;this.dom.$oStage=n(t);this.dom.stage=i;this.dom.$stage=n(i);t=null;i=null};f.prototype.createItem=function(){var n=r.createElement(this.options.itemElement);return n.className=this.options.itemClass,n};f.prototype.fetchContent=function(t){this.dom.$content=t?t instanceof jQuery?t:n(t):this.options.nestedItemSelector?this.dom.$el.find("."+this.options.nestedItemSelector).not(".owl-stage-outer"):this.dom.$el.children().not(".owl-stage-outer");this.num.oItems=this.dom.$content.length;0!==this.num.oItems&&this.initStructure()};f.prototype.initStructure=function(){this.createNormalStructure()};f.prototype.createNormalStructure=function(){for(var t,n=0;n<this.num.oItems;n++)t=this.fillItem(this.dom.$content,n),this.dom.$stage.append(t);this.dom.$content=null};f.prototype.createCustomStructure=function(t){for(var u,r,i=0;t>i;i++)u=this.createItem(),r=n(u),this.setData(r,!1),this.dom.$stage.append(r)};f.prototype.fillItem=function(t,i){var r=this.createItem(),u=t[i]||t,f=this.traversContent(u);return this.setData(r,!1,f),n(r).append(u)};f.prototype.traversContent=function(t){var i,r,u=n(t);return this.options.dotData&&(i=u.find("[data-dot]").andSelf().data("dot")),this.options.URLhashListener&&(r=u.find("[data-hash]").andSelf().data("hash")),{dot:i||!1,hash:r||!1}};f.prototype.setData=function(t,i,r){var u=this.itemData,f;r&&(f={dot:r.dot,hash:r.hash},u=n.extend({},u,f));i&&(u=n.extend({},u,i.data("owl-item")));n(t).data("owl-item",u)};f.prototype.updateLocalContent=function(){var t,i;for(this.dom.$oItems=this.dom.$stage.find("."+this.options.itemClass).filter(function(){return n(this).data("owl-item").clone===!1}),this.num.oItems=this.dom.$oItems.length,t=0;t<this.num.oItems;t++)i=this.dom.$oItems.eq(t),i.data("owl-item").index=t};f.prototype.loopClone=function(){var t,i,r,u,o,f,e;if(!this.options.loop||this.num.oItems<this.options.items)return!1;for(u=this.options.items,o=this.num.oItems-1,this.options.stagePadding&&1===this.options.items&&(u+=1),this.num.cItems=2*u,r=0;u>r;r++)f=this.dom.$oItems.eq(r).clone(!0,!0),e=this.dom.$oItems.eq(o-r).clone(!0,!0),t=n(f[0]).addClass("cloned"),i=n(e[0]).addClass("cloned"),this.setData(t[0],f),this.setData(i[0],e),t.data("owl-item").clone=!0,i.data("owl-item").clone=!0,this.dom.$stage.append(t),this.dom.$stage.prepend(i),t=i=null;this.dom.$cItems=this.dom.$stage.find("."+this.options.itemClass).filter(function(){return n(this).data("owl-item").clone===!0})};f.prototype.reClone=function(){null!==this.dom.$cItems&&(this.dom.$cItems.remove(),this.dom.$cItems=null,this.num.cItems=0);this.options.loop&&this.loopClone()};f.prototype.calculate=function(){var n,i,r,f=0,e=0,o,u,t,s;for(this.width.el=this.dom.$el.width()-2*this.options.stagePadding,this.width.view=this.dom.$el.width(),o=this.width.el-this.options.margin*(1===this.options.items?0:this.options.items-1),this.width.el=this.width.el+this.options.margin,this.width.item=(o/this.options.items+this.options.margin).toFixed(3),this.dom.$items=this.dom.$stage.find(".owl-item"),this.num.items=this.dom.$items.length,this.options.autoWidth&&this.dom.$items.css("width",""),this.pos.items=[],this.num.merged=[],this.num.nav=[],r=this.options.rtl?this.options.center?-(this.width.el/2):0:this.options.center?this.width.el/2:0,this.width.mergeStage=0,n=0;n<this.num.items;n++)this.options.merge?(u=this.dom.$items.eq(n).find("[data-merge]").attr("data-merge")||1,this.options.mergeFit&&u>this.options.items&&(u=this.options.items),this.num.merged.push(parseInt(u)),this.width.mergeStage+=this.width.item*this.num.merged[n]):this.num.merged.push(1),this.options.loop?n>=this.num.cItems/2&&n<this.num.cItems/2+this.num.oItems&&this.num.nav.push(this.num.merged[n]):this.num.nav.push(this.num.merged[n]),t=this.width.item*this.num.merged[n],this.options.autoWidth&&(t=this.dom.$items.eq(n).width()+this.options.margin,this.options.rtl?this.dom.$items[n].style.marginLeft=this.options.margin+"px":this.dom.$items[n].style.marginRight=this.options.margin+"px"),this.pos.items.push(r),this.dom.$items.eq(n).data("owl-item").posLeft=f,this.dom.$items.eq(n).data("owl-item").width=t,this.options.rtl?(r+=t,f+=t):(r-=t,f-=t),e-=Math.abs(t),this.options.center&&(this.pos.items[n]=this.options.rtl?this.pos.items[n]+t/2:this.pos.items[n]-t/2);for(this.width.stage=Math.abs(this.options.autoWidth?this.options.center?e:r:e),s=this.num.oItems+this.num.cItems,i=0;s>i;i++)this.dom.$items.eq(i).data("owl-item").indexAbs=i;this.setMinMax();this.setSizes()};f.prototype.setMinMax=function(){var t=this.dom.$oItems.eq(0).data("owl-item").indexAbs,n;if(this.pos.min=0,this.pos.minValue=this.pos.items[t],this.options.loop||(this.pos.max=this.num.oItems-1),this.options.loop&&(this.pos.max=this.num.oItems+this.options.items),this.options.loop||this.options.center||(this.pos.max=this.num.oItems-this.options.items),this.options.loop&&this.options.center&&(this.pos.max=this.num.oItems+this.options.items),this.pos.maxValue=this.pos.items[this.pos.max],!this.options.loop&&!this.options.center&&this.options.autoWidth||this.options.merge&&!this.options.center){for(n=this.options.rtl?1:-1,i=0;i<this.pos.items.length;i++)this.pos.items[i]*n<this.width.stage-this.width.el&&(this.pos.max=i+1);this.pos.maxValue=this.options.rtl?this.width.stage-this.width.el:-(this.width.stage-this.width.el);this.pos.items[this.pos.max]=this.pos.maxValue}this.pos.loop=this.options.center?this.pos.items[0]-this.pos.items[this.num.oItems]:-this.pos.items[this.num.oItems];this.num.oItems<this.options.items&&!this.options.center&&(this.pos.max=0,this.pos.maxValue=this.pos.items[0])};f.prototype.setSizes=function(){this.options.stagePadding!==!1&&(this.dom.oStage.style.paddingLeft=this.options.stagePadding+"px",this.dom.oStage.style.paddingRight=this.options.stagePadding+"px");this.options.rtl?t.setTimeout(function(){this.dom.stage.style.width=this.width.stage+"px"}.bind(this),0):this.dom.stage.style.width=this.width.stage+"px";for(var n=0;n<this.num.items;n++)this.options.autoWidth||(this.dom.$items[n].style.width=this.width.item-this.options.margin+"px"),this.options.rtl?this.dom.$items[n].style.marginLeft=this.options.margin+"px":this.dom.$items[n].style.marginRight=this.options.margin+"px",1===this.num.merged[n]||this.options.autoWidth||(this.dom.$items[n].style.width=this.width.item*this.num.merged[n]-this.options.margin+"px");this.width.stagePrev=this.width.stage};f.prototype.responsive=function(){if(!this.num.oItems)return!1;var n=this.isElWidthChanged();return n?this.trigger("resize").isDefaultPrevented()?!1:(this.state.responsive=!0,this.refresh(),this.state.responsive=!1,void this.trigger("resized")):!1};f.prototype.refresh=function(n){return this.trigger("refresh"),this.setResponsiveOptions(),this.updateLocalContent(),this.optionsLogic(),0===this.num.oItems?(null!==this.dom.$page&&this.dom.$page.hide(),!1):(this.dom.$stage.addClass("owl-refresh"),this.reClone(),this.calculate(),this.dom.$stage.removeClass("owl-refresh"),this.initPosition(n),n||this.jumpTo(this.pos.current,!1),this.updateItemState(),this.rebuildDots(),this.updateControls(),this.state.orientation=t.orientation,this.watchVisibility(),void this.trigger("refreshed"))};f.prototype.updateItemState=function(){this.trigger("update");this.options.center&&(this.dom.$items.eq(this.pos.currentAbs).addClass(this.options.centerClass).data("owl-item").center=!0);this.trigger("updated")};f.prototype.updateActiveItems=function(){for(var r,n,i,u,f,e,t=0;t<this.num.items;t++)this.dom.$items.eq(t).data("owl-item").active=!1,this.dom.$items.eq(t).data("owl-item").current=!1,this.dom.$items.eq(t).removeClass(this.options.activeClass).removeClass(this.options.centerClass);for(this.num.active=0,stageX=this.pos.stage,view=this.options.rtl?this.width.view:-this.width.view,r=0;r<this.num.items;r++)n=this.dom.$items.eq(r),i=n.data("owl-item").posLeft,u=n.data("owl-item").width,f=this.options.rtl?i+u:i-u,(this.op(i,"<=",stageX)&&this.op(i,">",stageX+view)||this.op(f,"<",stageX)&&this.op(f,">",stageX+view))&&(this.num.active++,this.options.freeDrag&&!e&&(e=!0,this.pos.current=n.data("owl-item").index,this.pos.currentAbs=n.data("owl-item").indexAbs),n.data("owl-item").active=!0,n.data("owl-item").current=!0,n.addClass(this.options.activeClass),this.options.lazyLoad||(n.data("owl-item").loaded=!0),this.options.loop&&this.updateClonedItemsState(n.data("owl-item").index))};f.prototype.updateClonedItemsState=function(n){var r,t,i;for(this.options.center&&(r=this.dom.$items.eq(this.pos.currentAbs).data("owl-item").index),i=0;i<this.num.items;i++)t=this.dom.$items.eq(i),t.data("owl-item").index===n&&(t.data("owl-item").current=!0,t.data("owl-item").index===r&&t.addClass(this.options.centerClass))};f.prototype.eventsCall=function(){this.e._onDragStart=function(n){this.onDragStart(n)}.bind(this);this.e._onDragMove=function(n){this.onDragMove(n)}.bind(this);this.e._onDragEnd=function(n){this.onDragEnd(n)}.bind(this);this.e._transitionEnd=function(n){this.transitionEnd(n)}.bind(this);this.e._resizer=function(){this.responsiveTimer()}.bind(this);this.e._responsiveCall=function(){this.responsive()}.bind(this);this.e._preventClick=function(n){this.preventClick(n)}.bind(this);this.e._goToHash=function(){this.goToHash()}.bind(this);this.e._goToPage=function(n){this.goToPage(n)}.bind(this);this.e._navNext=function(t){return n(t.target).hasClass("disabled")?!1:(t.preventDefault(),void this.next())}.bind(this);this.e._navPrev=function(t){return n(t.target).hasClass("disabled")?!1:(t.preventDefault(),void this.prev())}.bind(this)};f.prototype.responsiveTimer=function(){return this.windowWidth()===this.width.prevWindow?!1:(t.clearTimeout(this.resizeTimer),this.resizeTimer=t.setTimeout(this.e._responsiveCall,this.options.responsiveRefreshRate),void(this.width.prevWindow=this.windowWidth()))};f.prototype.internalEvents=function(){var n=l(),i=a();this.dragType=n&&!i?["touchstart","touchmove","touchend","touchcancel"]:n&&i?["MSPointerDown","MSPointerMove","MSPointerUp","MSPointerCancel"]:["mousedown","mousemove","mouseup"];(n||i)&&this.options.touchDrag?this.on(r,this.dragType[3],this.e._onDragEnd):(this.dom.$stage.on("dragstart",function(){return!1}),this.options.mouseDrag?this.dom.stage.onselectstart=function(){return!1}:this.dom.$el.addClass("owl-text-select-on"));this.options.URLhashListener&&this.on(t,"hashchange",this.e._goToHash,!1);this.transitionEndVendor&&this.on(this.dom.stage,this.transitionEndVendor,this.e._transitionEnd,!1);this.options.responsive!==!1&&this.on(t,"resize",this.e._resizer,!1);this.dragEvents()};f.prototype.dragEvents=function(){!this.options.touchDrag||"touchstart"!==this.dragType[0]&&"MSPointerDown"!==this.dragType[0]?this.options.mouseDrag&&"mousedown"===this.dragType[0]?this.on(this.dom.stage,this.dragType[0],this.e._onDragStart,!1):this.off(this.dom.stage,this.dragType[0],this.e._onDragStart):this.on(this.dom.stage,this.dragType[0],this.e._onDragStart,!1)};f.prototype.onDragStart=function(n){var i=n.originalEvent||n||t.event,u;if(3===i.which)return!1;"mousedown"===this.dragType[0]&&this.dom.$stage.addClass("owl-grab");this.trigger("drag");this.drag.startTime=(new Date).getTime();this.setSpeed(0);this.state.isTouch=!0;this.state.isScrolling=!1;this.state.isSwiping=!1;this.drag.distance=0;var f="touchstart"===i.type,e=f?n.targetTouches[0].pageX:i.pageX||i.clientX,o=f?n.targetTouches[0].pageY:i.pageY||i.clientY;if(this.drag.offsetX=this.dom.$stage.position().left-this.options.stagePadding,this.drag.offsetY=this.dom.$stage.position().top,this.options.rtl&&(this.drag.offsetX=this.dom.$stage.position().left+this.width.stage-this.width.el+this.options.margin),this.state.inMotion&&this.support3d)u=this.getTransformProperty(),this.drag.offsetX=u,this.animStage(u);else if(this.state.inMotion&&!this.support3d)return this.state.inMotion=!1,!1;this.drag.startX=e-this.drag.offsetX;this.drag.startY=o-this.drag.offsetY;this.drag.start=e-this.drag.startX;this.drag.targetEl=i.target||i.srcElement;this.drag.updatedX=this.drag.start;("IMG"===this.drag.targetEl.tagName||"A"===this.drag.targetEl.tagName)&&(this.drag.targetEl.draggable=!1);this.on(r,this.dragType[1],this.e._onDragMove,!1);this.on(r,this.dragType[2],this.e._onDragEnd,!1)};f.prototype.onDragMove=function(n){if(this.state.isTouch&&!this.state.isScrolling){var i=n.originalEvent||n||t.event,r="touchmove"==i.type,e=r?i.targetTouches[0].pageX:i.pageX||i.clientX,o=r?i.targetTouches[0].pageY:i.pageY||i.clientY;if(this.drag.currentX=e-this.drag.startX,this.drag.currentY=o-this.drag.startY,this.drag.distance=this.drag.currentX-this.drag.offsetX,this.drag.distance<0?this.state.direction=this.options.rtl?"right":"left":this.drag.distance>0&&(this.state.direction=this.options.rtl?"left":"right"),this.options.loop)this.op(this.drag.currentX,">",this.pos.minValue)&&"right"===this.state.direction?this.drag.currentX-=this.pos.loop:this.op(this.drag.currentX,"<",this.pos.maxValue)&&"left"===this.state.direction&&(this.drag.currentX+=this.pos.loop);else{var s=this.options.rtl?this.pos.maxValue:this.pos.minValue,h=this.options.rtl?this.pos.minValue:this.pos.maxValue,f=this.options.pullDrag?this.drag.distance/5:0;this.drag.currentX=Math.max(Math.min(this.drag.currentX,s+f),h+f)}(this.drag.distance>8||this.drag.distance<-8)&&(i.preventDefault!==u?i.preventDefault():i.returnValue=!1,this.state.isSwiping=!0);this.drag.updatedX=this.drag.currentX;(this.drag.currentY>16||this.drag.currentY<-16)&&this.state.isSwiping===!1&&(this.state.isScrolling=!0,this.drag.updatedX=this.drag.start);this.animStage(this.drag.updatedX)}};f.prototype.onDragEnd=function(){var t,i,n;if(this.state.isTouch){if("mousedown"===this.dragType[0]&&this.dom.$stage.removeClass("owl-grab"),this.trigger("dragged"),this.drag.targetEl.removeAttribute("draggable"),this.state.isTouch=!1,this.state.isScrolling=!1,this.state.isSwiping=!1,0===this.drag.distance&&this.state.inMotion!==!0)return this.state.inMotion=!1,!1;this.drag.endTime=(new Date).getTime();t=this.drag.endTime-this.drag.startTime;i=Math.abs(this.drag.distance);(i>3||t>300)&&this.removeClick(this.drag.targetEl);n=this.closest(this.drag.updatedX);this.setSpeed(this.options.dragEndSpeed,!1,!0);this.animStage(this.pos.items[n]);this.options.pullDrag||this.drag.updatedX!==this.pos.items[n]||this.transitionEnd();this.drag.distance=0;this.off(r,this.dragType[1],this.e._onDragMove);this.off(r,this.dragType[2],this.e._onDragEnd)}};f.prototype.removeClick=function(i){this.drag.targetEl=i;n(i).on("click.preventClick",this.e._preventClick);t.setTimeout(function(){n(i).off("click.preventClick")},300)};f.prototype.preventClick=function(t){t.preventDefault?t.preventDefault():t.returnValue=!1;t.stopPropagation&&t.stopPropagation();n(t.target).off("click.preventClick")};f.prototype.getTransformProperty=function(){var n=t.getComputedStyle(this.dom.stage,null).getPropertyValue(this.vendorName+"transform"),i;return n=n.replace(/matrix(3d)?\(|\)/g,"").split(","),i=16===n.length,i!==!0?n[4]:n[12]};f.prototype.closest=function(n){var i=0,r=30,t;if(!this.options.freeDrag)for(t=0;t<this.num.items;t++)n>this.pos.items[t]-r&&n<this.pos.items[t]+r?i=t:this.op(n,"<",this.pos.items[t])&&this.op(n,">",this.pos.items[t+1||this.pos.items[t]-this.width.el])&&(i="left"===this.state.direction?t+1:t);return this.options.loop||(this.op(n,">",this.pos.minValue)?i=n=this.pos.min:this.op(n,"<",this.pos.maxValue)&&(i=n=this.pos.max)),this.options.freeDrag?(this.updateItemState(),n):(this.pos.currentAbs=i,this.pos.current=this.dom.$items.eq(i).data("owl-item").index,i)};f.prototype.animStage=function(n){0!==this.speed.current&&this.pos.currentAbs!==this.pos.min&&(this.trigger("translate"),this.state.inMotion=!0);var t=this.pos.stage=n,i=this.dom.stage.style;this.support3d?(translate="translate3d("+t+"px,0px, 0px)",i[this.transformVendor]=translate):this.state.isTouch?i.left=t+"px":this.dom.$stage.animate({left:t},this.speed.css2speed,this.options.fallbackEasing,function(){this.state.inMotion&&this.transitionEnd()}.bind(this));this.onChange()};f.prototype.updatePosition=function(n){if(0===this.num.oItems||n===u)return!1;var t=n;return this.pos.prev=this.pos.currentAbs,this.state.revert?(this.pos.current=this.dom.$items.eq(t).data("owl-item").index,void(this.pos.currentAbs=t)):(t=this.options.loop?t>=this.num.oItems?this.num.oItems-1:t:this.options.navRewind?this.pos.current>=this.pos.max?t>this.pos.max?this.pos.min:0>t?this.pos.max:t:t>this.pos.max?this.pos.max:0>t?this.pos.max:t:t>this.pos.max?this.pos.max:0>=t?0:t,this.pos.current=this.dom.$oItems.eq(t).data("owl-item").index,void(this.pos.currentAbs=this.dom.$oItems.eq(t).data("owl-item").indexAbs))};f.prototype.setSpeed=function(n,t,i){var r=n,o=t,f,e;return(r===!1&&0!==r&&i!==!0||r===u)&&(f=Math.abs(o-this.pos.prev),f=0===f?1:f,f>6&&(f=6),r=f*this.options.smartSpeed),(r===!1&&i===!0&&(r=this.options.smartSpeed),0===r&&(r=0),this.support3d)?(e=this.dom.stage.style,e.webkitTransitionDuration=e.MsTransitionDuration=e.msTransitionDuration=e.MozTransitionDuration=e.OTransitionDuration=e.transitionDuration=r/1e3+"s"):this.speed.css2speed=r,this.speed.current=r,r};f.prototype.jumpTo=function(n,t){this.updatePosition(n);this.setSpeed(0);this.animStage(this.pos.items[this.pos.currentAbs]);t!==!0&&this.updateItemState()};f.prototype.goTo=function(n,t){this.updatePosition(n);this.setSpeed(t,this.pos.currentAbs);this.trigger("animate");this.animStage(this.pos.items[this.pos.currentAbs])};f.prototype.next=function(n){var t=n||this.options.navSpeed;this.options.loop?this.goToLoop(this.options.slideBy,t):this.goTo(this.pos.current+this.options.slideBy,t)};f.prototype.prev=function(n){var t=n||this.options.navSpeed;this.options.loop?this.goToLoop(-this.options.slideBy,t):this.goTo(this.pos.current-this.options.slideBy,t)};f.prototype.goToLoop=function(n,i){var r=this.pos.currentAbs,u=this.pos.currentAbs,f=this.pos.currentAbs+n,e=0>u-f?!0:!1;this.state.revert=!0;f<this.options.items&&e===!1?(this.state.bypass=!0,r=this.num.items-(this.options.items-u)-this.options.items,this.jumpTo(r,!0)):f>=this.num.items-this.options.items&&e===!0&&(this.state.bypass=!0,r=u-this.num.oItems,this.jumpTo(r,!0));t.clearTimeout(this.e._goToLoop);this.e._goToLoop=t.setTimeout(function(){this.state.bypass=!1;this.goTo(r+n,i);this.state.revert=!1}.bind(this),30)};f.prototype.initPosition=function(n){if(!this.dom.$oItems||!n)return!1;var t=this.options.startPosition;"URLHash"===this.options.startPosition?t=this.options.startPosition=this.hashPosition():typeof this.options.startPosition===Number||this.options.center||(this.options.startPosition=0);this.dom.oStage.scrollLeft=0;this.jumpTo(t,!0)};f.prototype.goToHash=function(){var n=this.hashPosition();n===!1&&(n=0);this.dom.oStage.scrollLeft=0;this.goTo(n,this.options.navSpeed)};f.prototype.hashPosition=function(){var i,r=t.location.hash.substring(1),n;if(""===r)return!1;for(n=0;n<this.num.oItems;n++)r===this.dom.$oItems.eq(n).data("owl-item").hash&&(i=n);return i};f.prototype.transitionEnd=function(n){if(n!==u){n.stopPropagation();var t=n.target||n.srcElement||n.originalTarget;if(t!==this.dom.stage)return!1}this.state.inMotion=!1;this.updateItemState();this.trigger("translated")};f.prototype.isElWidthChanged=function(){var n=this.dom.$el.width()-this.options.stagePadding,t=this.width.el+this.options.margin;return n!==t};f.prototype.windowWidth=function(){return this.options.responsiveBaseElement!==t?this.width.window=n(this.options.responsiveBaseElement).width():t.innerWidth?this.width.window=t.innerWidth:r.documentElement&&r.documentElement.clientWidth&&(this.width.window=r.documentElement.clientWidth),this.width.window};f.prototype.controls=function(){var t=r.createElement("div");t.className=this.options.controlsClass;this.dom.$el.append(t);this.dom.$cc=n(t)};f.prototype.updateControls=function(){null===this.dom.$cc&&(this.options.nav||this.options.dots)&&(this.options.navContainer&&this.options.dotsContainer||this.controls());null===this.dom.$nav&&this.options.nav&&this.createNavigation();null===this.dom.$page&&this.options.dots&&this.createDots();null!==this.dom.$nav&&(this.options.nav?(this.dom.$nav.show(),this.updateNavigation()):this.dom.$nav.hide());null!==this.dom.$page&&(this.options.dots?(this.dom.$page.show(),this.updateDots()):this.dom.$page.hide())};f.prototype.createNavigation=function(){var f=this.options.navContainer?n(this.options.navContainer).get(0):this.dom.$cc.get(0),t=r.createElement("div"),i,u;t.className=this.options.navContainerClass;f.appendChild(t);i=r.createElement(this.options.navElement);u=r.createElement(this.options.navElement);i.className=this.options.navClass[0];u.className=this.options.navClass[1];t.appendChild(i);t.appendChild(u);this.dom.$nav=n(t);this.dom.$navPrev=n(i).html(this.options.navText[0]);this.dom.$navNext=n(u).html(this.options.navText[1]);this.dom.$nav.on(this.dragType[2],"."+this.options.navClass[0],this.e._navPrev);this.dom.$nav.on(this.dragType[2],"."+this.options.navClass[1],this.e._navNext)};f.prototype.createDots=function(){function u(t){t.preventDefault();var r=n(this).data("page");i.goTo(r,i.options.dotsSpeed)}var f=this.options.dotsContainer?n(this.options.dotsContainer).get(0):this.dom.$cc.get(0),t=r.createElement("div"),i;t.className=this.options.dotsClass;f.appendChild(t);this.dom.$page=n(t);i=this;this.dom.$page.on(this.dragType[2],"."+this.options.dotClass,u);this.rebuildDots()};f.prototype.rebuildDots=function(){var s,f;if(null===this.dom.$page)return!1;var e,i,h,t,o=0,c=0,l=0,u=0;for(e=this.options.dotsEach||this.options.items,(this.options.center||this.options.dotData)&&(e=1),this.dom.$page.html(""),t=0;t<this.num.nav.length;t++)(o>=e||0===o)&&(i=r.createElement("div"),i.className=this.options.dotClass,h=r.createElement("span"),i.appendChild(h),s=n(i),this.options.dotData&&s.html(this.dom.$oItems.eq(t).data("owl-item").dot),s.data("page",l),s.data("goToPage",u),this.dom.$page.append(i),o=0,u++),this.dom.$oItems.eq(t).data("owl-item").page=u-1,o+=this.num.nav[t],l++;if(!this.options.loop&&!this.options.center)for(f=this.num.nav.length-1;f>=0&&(c+=this.num.nav[f],this.dom.$oItems.eq(f).data("owl-item").page=u-1,!(c>=e));f--);this.num.allPages=u-1};f.prototype.updateDots=function(){for(var i,t=this.dom.$page.children(),r=this.dom.$oItems.eq(this.pos.current).data("owl-item").page,n=0;n<t.length;n++)i=t.eq(n).data("goToPage"),i===r?(this.pos.currentPage=n,t.eq(n).addClass("active")):t.eq(n).removeClass("active")};f.prototype.updateNavigation=function(){var n=this.options.nav;this.dom.$navNext.toggleClass("disabled",!n);this.dom.$navPrev.toggleClass("disabled",!n);this.options.loop||!n||this.options.navRewind||(this.pos.current<=0&&this.dom.$navPrev.addClass("disabled"),this.pos.current>=this.pos.max&&this.dom.$navNext.addClass("disabled"))};f.prototype.insertContent=function(n){this.dom.$stage.empty();this.fetchContent(n);this.refresh()};f.prototype.addItem=function(n,t){var i,r;t=t||0;i=this.fillItem(n);0===this.dom.$oItems.length?this.dom.$stage.append(i):(r=this.dom.$oItems.eq(t),-1!==t?r.before(i):r.after(i));this.refresh()};f.prototype.removeItem=function(n){this.dom.$oItems.eq(n).remove();this.refresh()};f.prototype.addTriggerableEvents=function(){var t=n.proxy(function(t,i){return n.proxy(function(){this.suppressedEvents[i]=!0;t.apply(this,[].slice.call(arguments,1));delete this.suppressedEvents[i]},this)},this);n.each({next:this.next,prev:this.prev,to:this.goTo,destroy:this.destroy,refresh:this.refresh,replace:this.insertContent,add:this.addItem,remove:this.removeItem},n.proxy(function(n,i){this.dom.$el.on(n+".owl.carousel",t(i,n+".owl.carousel"))},this))};f.prototype.watchVisibility=function(){function n(n){return n.offsetWidth>0&&n.offsetHeight>0}function i(){n(this.dom.el)&&(this.dom.$el.removeClass("owl-hidden"),this.refresh(),t.clearInterval(this.e._checkVisibile))}n(this.dom.el)||(this.dom.$el.addClass("owl-hidden"),t.clearInterval(this.e._checkVisibile),this.e._checkVisibile=t.setInterval(i.bind(this),500))};f.prototype.onChange=function(){this.state.isTouch||this.state.bypass||this.state.responsive||(this.options.nav||this.options.dots)&&this.updateControls();this.state.isTouch||this.state.bypass||(this.updateActiveItems(),this.storeInfo(),this.trigger("changed"))};f.prototype.storeInfo=function(){this.info={items:this.options.items,allItems:this.num.oItems,currentPosition:this.pos.current,currentPage:this.pos.currentPage,allPages:this.num.allPages,windowWidth:this.width.window,elWidth:this.width.el,breakpoint:this.num.breakpoint};"function"==typeof this.options.info&&this.options.info.apply(this,[this.info,this.dom.el])};f.prototype.preloadAutoWidthImages=function(t){var i=0,r=this;t.each(function(u,f){var e=n(f),o=new Image;o.onload=function(){i++;e.attr("src",o.src);e.css("opacity",1);i>=t.length&&(r.state.imagesLoaded=!0,r.init())};o.src=e.attr("src")||e.attr("data-src")||e.attr("data-src-retina")})};f.prototype.destroy=function(){this.dom.$el.hasClass(this.options.themeClass)&&this.dom.$el.removeClass(this.options.themeClass);this.options.responsive!==!1&&this.off(t,"resize",this.e._resizer);this.transitionEndVendor&&this.off(this.dom.stage,this.transitionEndVendor,this.e._transitionEnd);for(var n in this.plugins)this.plugins[n].destroy();(this.options.mouseDrag||this.options.touchDrag)&&(this.off(this.dom.stage,this.dragType[0],this.e._onDragStart),this.options.mouseDrag&&this.off(r,this.dragType[3],this.e._onDragStart),this.options.mouseDrag&&(this.dom.$stage.off("dragstart",function(){return!1}),this.dom.stage.onselectstart=function(){}));this.options.URLhashListener&&this.off(t,"hashchange",this.e._goToHash);this.dom.$el.off(".owl");null!==this.dom.$cc&&this.dom.$cc.remove();null!==this.dom.$cItems&&this.dom.$cItems.remove();this.e=null;this.dom.$el.data("owlCarousel",null);delete this.dom.el.owlCarousel;this.dom.$stage.unwrap();this.dom.$items.unwrap();this.dom.$items.contents().unwrap();this.dom=null};f.prototype.op=function(n,t,i){var r=this.options.rtl;switch(t){case"<":return r?n>i:i>n;case">":return r?i>n:n>i;case">=":return r?i>=n:n>=i;case"<=":return r?n>=i:i>=n}};f.prototype.on=function(n,t,i,r){n.addEventListener?n.addEventListener(t,i,r):n.attachEvent&&n.attachEvent("on"+t,i)};f.prototype.off=function(n,t,i,r){n.removeEventListener?n.removeEventListener(t,i,r):n.detachEvent&&n.detachEvent("on"+t,i)};f.prototype.trigger=function(t,i,r){var f=n.camelCase(n.grep(["on",t,r],function(n){return n}).join("-").toLowerCase()),u=n.Event([t,"owl",r||"carousel"].join(".").toLowerCase(),i);return u.data=n.extend(this.info,i),this.suppressedEvents[u.type]||this.dom.$el.trigger(u),"function"==typeof this.options[f]&&this.options[f].apply(this,u),u};f.prototype.browserSupport=function(){if(this.support3d=c(),this.support3d){this.transformVendor=h();this.transitionEndVendor=["transitionend","webkitTransitionEnd","transitionend","oTransitionEnd"][s()];this.vendorName=this.transformVendor.replace(/Transform/i,"");this.vendorName=""!==this.vendorName?"-"+this.vendorName.toLowerCase()+"-":""}this.state.orientation=t.orientation};n.fn.owlCarousel=function(t){return this.each(function(){n(this).data("owlCarousel")||n(this).data("owlCarousel",new f(this,t))})};n.fn.owlCarousel.Constructor=f}(window.Zepto||window.jQuery,window,document);Function.prototype.bind||(Function.prototype.bind=function(n){if("function"!=typeof this)throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable");var r=Array.prototype.slice.call(arguments,1),u=this,t=function(){},i=function(){return u.apply(this instanceof t&&n?this:n,r.concat(Array.prototype.slice.call(arguments)))};return t.prototype=this.prototype,i.prototype=new t,i}),function(n,t){LazyLoad=function(t){this.owl=t;this.owl.options=n.extend({},LazyLoad.Defaults,this.owl.options);this.owl.dom.$el.on({"updated.owl.carousel":n.proxy(function(){this.owl.options.lazyLoad&&this.check()},this)})};LazyLoad.Defaults={lazyLoad:!1};LazyLoad.prototype.check=function(){for(var r,n,f=t.devicePixelRatio>1?"data-src-retina":"data-src",i,u=0;u<this.owl.num.items;u++)i=this.owl.dom.$items.eq(u),i.data("owl-item").current===!0&&i.data("owl-item").loaded===!1&&(n=i.find(".owl-lazy"),r=n.attr(f),r=r||n.attr("data-src"),r&&(n.css("opacity","0"),this.preload(n,i)))};LazyLoad.prototype.preload=function(i,r){i.each(n.proxy(function(i,u){this.owl.trigger("load",null,"lazy");var f=n(u),e=new Image,o=f.attr(t.devicePixelRatio>1?"data-src-retina":"data-src");o=o||f.attr("data-src");e.onload=n.proxy(function(){r.data("owl-item").loaded=!0;f.is("img")?f.attr("src",e.src):f.css("background-image","url("+e.src+")");f.css("opacity",1);this.owl.trigger("loaded",null,"lazy")},this);e.src=o},this))};LazyLoad.prototype.destroy=function(){this.owl.dom.$el.off(".owl")};n.fn.owlCarousel.Constructor.Plugins.lazyLoad=LazyLoad}(window.Zepto||window.jQuery,window,document),function(n,t){AutoHeight=function(t){this.owl=t;this.owl.options=n.extend({},AutoHeight.Defaults,this.owl.options);this.owl.dom.$el.on({"refreshed.owl.carousel changed.owl.carousel":n.proxy(function(){this.owl.options.autoHeight&&this.setHeight()},this)})};AutoHeight.Defaults={autoHeight:!1,autoHeightClass:"owl-height"};AutoHeight.prototype.setHeight=function(n){if(this.owl.options.autoHeight!==!0&&n!==!0)return!1;this.owl.dom.$oStage.hasClass(this.owl.options.autoHeightClass)||this.owl.dom.$oStage.addClass(this.owl.options.autoHeightClass);var i=this.owl.dom.$items.eq(this.owl.pos.currentAbs),f=this.owl.dom.$oStage,r=0,u=t.setInterval(function(){r+=1;i.data("owl-item").loaded?(f.height(i.height()+"px"),clearInterval(u)):500===r&&clearInterval(u)},100)};AutoHeight.prototype.destroy=function(){this.owl.dom.$el.off(".owl")};n.fn.owlCarousel.Constructor.Plugins.autoHeight=AutoHeight}(window.Zepto||window.jQuery,window,document),function(n,t,i){Video=function(t){this.owl=t;this.owl.options=n.extend({},Video.Defaults,this.owl.options);this.owl.dom.$el.on("click.owl.video",".owl-video-play-icon",n.proxy(function(n){this.playVideo(n)},this));this.owl.dom.$el.on({"resize.owl.carousel":n.proxy(function(n){this.owl.options.video&&!this.isInFullScreen()&&n.preventDefault()},this),"refresh.owl.carousel changed.owl.carousel":n.proxy(function(){this.owl.state.videoPlay&&this.stopVideo()},this),"refresh.owl.carousel":n.proxy(function(){return this.owl.options.video?void this.owl.dom.$el.one("updated.owl.carousel",n.proxy(this.checkVideoLinks,this)):!1},this)})};Video.Defaults={video:!1,videoHeight:!1,videoWidth:!1};Video.prototype.checkVideoLinks=function(){for(var n,t,i=0;i<this.owl.num.items;i++)t=this.owl.dom.$items.eq(i),t.data("owl-item").hasVideo||(n=t.find(".owl-video"),n.length&&(this.owl.state.hasVideos=!0,this.owl.dom.$items.eq(i).data("owl-item").hasVideo=!0,n.css("display","none"),this.getVideoInfo(n,t)))};Video.prototype.getVideoInfo=function(n,t){var e,r,i,o=n.data("vimeo-id"),s=n.data("youtube-id"),u=n.data("width")||this.owl.options.videoWidth,f=n.data("height")||this.owl.options.videoHeight,h=n.attr("href"),c;if(o)r="vimeo",i=o;else if(s)r="youtube",i=s;else{if(!h)throw new Error("Missing video link.");i=h.match(/(http:|https:|)\/\/(player.|www.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com))\/(video\/|embed\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(\&\S+)?/);i[3].indexOf("youtu")>-1?r="youtube":i[3].indexOf("vimeo")>-1&&(r="vimeo");i=i[6]}t.data("owl-item").videoType=r;t.data("owl-item").videoId=i;t.data("owl-item").videoWidth=u;t.data("owl-item").videoHeight=f;e={type:r,id:i};c=u&&f?'style="width:'+u+"px;height:"+f+'px;"':"";n.wrap('<div class="owl-video-wrapper"'+c+"><\/div>");this.createVideoTn(n,e)};Video.prototype.createVideoTn=function(t,i){function r(n){s='<div class="owl-video-play-icon"><\/div>';o=e.options.lazyLoad?'<div class="owl-video-tn '+h+'" '+f+'="'+n+'"><\/div>':'<div class="owl-video-tn" style="opacity:1;background-image:url('+n+')"><\/div>';t.after(o);t.after(s)}var o,s,u=t.find("img"),f="src",h="",e=this.owl,c;if(this.owl.options.lazyLoad&&(f="data-src",h="owl-lazy"),u.length)return r(u.attr(f)),u.remove(),!1;"youtube"===i.type?(c="http://img.youtube.com/vi/"+i.id+"/hqdefault.jpg",r(c)):"vimeo"===i.type&&n.ajax({type:"GET",url:"http://vimeo.com/api/v2/video/"+i.id+".json",jsonp:"callback",dataType:"jsonp",success:function(n){var t=n[0].thumbnail_large;r(t);e.options.loop&&e.updateItemState()}})};Video.prototype.stopVideo=function(){this.owl.trigger("stop",null,"video");var n=this.owl.dom.$items.eq(this.owl.state.videoPlayIndex);n.find(".owl-video-frame").remove();n.removeClass("owl-video-playing");this.owl.state.videoPlay=!1};Video.prototype.playVideo=function(t){this.owl.trigger("play",null,"video");this.owl.state.videoPlay&&this.stopVideo();var r,o,s=n(t.target||t.srcElement),i=s.closest("."+this.owl.options.itemClass),h=i.data("owl-item").videoType,u=i.data("owl-item").videoId,f=i.data("owl-item").videoWidth||Math.floor(i.data("owl-item").width-this.owl.options.margin),e=i.data("owl-item").videoHeight||this.owl.dom.$stage.height();"youtube"===h?r='<iframe width="'+f+'" height="'+e+'" src="http://www.youtube.com/embed/'+u+"?autoplay=1&v="+u+'" frameborder="0" allowfullscreen><\/iframe>':"vimeo"===h&&(r='<iframe src="http://player.vimeo.com/video/'+u+'?autoplay=1" width="'+f+'" height="'+e+'" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen><\/iframe>');i.addClass("owl-video-playing");this.owl.state.videoPlay=!0;this.owl.state.videoPlayIndex=i.data("owl-item").indexAbs;o=n('<div style="height:'+e+"px; width:"+f+'px" class="owl-video-frame">'+r+"<\/div>");s.after(o)};Video.prototype.isInFullScreen=function(){var r=i.fullscreenElement||i.mozFullScreenElement||i.webkitFullscreenElement;return r&&n(r.parentNode).hasClass("owl-video-frame")&&(this.owl.setSpeed(0),this.owl.state.isFullScreen=!0),r&&this.owl.state.isFullScreen&&this.owl.state.videoPlay?!1:this.owl.state.isFullScreen?(this.owl.state.isFullScreen=!1,!1):this.owl.state.videoPlay&&this.owl.state.orientation!==t.orientation?(this.owl.state.orientation=t.orientation,!1):!0};Video.prototype.destroy=function(){this.owl.dom.$el.off(".owl");this.owl.dom.$el.off(".owl.video")};n.fn.owlCarousel.Constructor.Plugins.video=Video}(window.Zepto||window.jQuery,window,document),function(n){Animate=function(t){this.owl=t;this.owl.options=n.extend({},Animate.Defaults,this.owl.options);this.owl.dom.$el.on({"animate.owl.carousel":n.proxy(function(){(this.owl.options.animateIn||this.owl.options.animateOut)&&this.swap()},this)})};Animate.Defaults={animateOut:!1,animateIn:!1};Animate.prototype.swap=function(){this.owl.setSpeed(0);this.owl.state.animate=1===this.owl.options.items&&this.owl.support3d?!0:!1;var r=this.owl.dom.$items.eq(this.owl.pos.prev),f=Math.abs(r.data("owl-item").width)*this.owl.pos.prev,u=this.owl.dom.$items.eq(this.owl.pos.currentAbs),e=Math.abs(u.data("owl-item").width)*this.owl.pos.currentAbs;if(this.owl.pos.currentAbs===this.owl.pos.prev)return!1;var o=e-f,t=this.owl.options.animateIn,i=this.owl.options.animateOut,s=this.owl;removeStyles=function(){n(this).css({left:""}).removeClass("animated owl-animated-out owl-animated-in").removeClass(t).removeClass(i);s.transitionEnd()};i&&r.css({left:o+"px"}).addClass("animated owl-animated-out "+i).one("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend",removeStyles);t&&u.addClass("animated owl-animated-in "+t).one("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend",removeStyles)};Animate.prototype.destroy=function(){this.owl.dom.$el.off(".owl")};n.fn.owlCarousel.Constructor.Plugins.animate=Animate}(window.Zepto||window.jQuery,window,document),function(n,t,i){Autoplay=function(t){this.owl=t;this.owl.options=n.extend({},Autoplay.Defaults,this.owl.options);this.owl.dom.$el.on({"translated.owl.carousel refreshed.owl.carousel":n.proxy(function(){this.autoplay()},this),"play.owl.autoplay":n.proxy(function(n,t,i){this.play(t,i)},this),"stop.owl.autoplay":n.proxy(function(){this.stop()},this)});this.owl.options.autoplayHoverPause&&(this.owl.dom.$el.on("mouseover.ap.owl",".owl-stage",n.proxy(function(){this.pause()},this)),this.owl.dom.$el.on("mouseleave.ap.owl",".owl-stage",n.proxy(function(){this.autoplay()},this)))};Autoplay.Defaults={autoplay:!1,autoplayTimeout:5e3,autoplayHoverPause:!1,autoplaySpeed:!1};Autoplay.prototype.autoplay=function(){this.owl.options.autoplay&&!this.owl.state.videoPlay?(t.clearInterval(this.apInterval),this.apInterval=t.setInterval(function(){this.play()}.bind(this),this.owl.options.autoplayTimeout)):(t.clearInterval(this.apInterval),this.autoplayState=!1)};Autoplay.prototype.play=function(n,r){return i.hidden===!0?!1:(this.owl.options.autoplay||(this.owl._options.autoplay=this.owl.options.autoplay=!0,this.owl._options.autoplayTimeout=this.owl.options.autoplayTimeout=n||this.owl.options.autoplayTimeout||4e3,this.owl._options.autoplaySpeed=r||this.owl.options.autoplaySpeed),this.owl.options.autoplay===!1||this.owl.state.isTouch||this.owl.state.isScrolling||this.owl.state.isSwiping||this.owl.state.inMotion?(t.clearInterval(this.apInterval),!1):(!this.owl.options.loop&&this.owl.pos.current>=this.owl.pos.max?(t.clearInterval(this.e._autoplay),this.owl.goTo(0)):this.owl.next(this.owl.options.autoplaySpeed),void(this.autoplayState=!0)))};Autoplay.prototype.stop=function(){this.owl._options.autoplay=this.owl.options.autoplay=!1;this.autoplayState=!1;t.clearInterval(this.apInterval)};Autoplay.prototype.pause=function(){t.clearInterval(this.apInterval)};Autoplay.prototype.destroy=function(){t.clearInterval(this.apInterval);this.owl.dom.$el.off(".owl")};n.fn.owlCarousel.Constructor.Plugins.autoplay=Autoplay}(window.Zepto||window.jQuery,window,document);$(document).ready(function(){$("div.linked-products").each(function(){var n=$(this).find(".owl-carousel");n.owlCarousel({loop:!1,itemElement:"div",slideBy:"page",stagePadding:20,nav:!0,dots:!1,freeDrag:!1,autoplay:!1,autoplayTimeout:5e3,autoplayHoverPause:!0,lazyLoad:!0,responsive:{0:{items:2},480:{items:3},680:{items:4},1e3:{items:5},1240:{items:6},1480:{items:7}}})})})