!function(a,b,c,d){function e(b,c){this.settings=null,this.options=a.extend({},e.defaults,c),this.$element=a(b),this.drag=a.extend({},m),this.state=a.extend({},n),this.e=a.extend({},o),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._invalidated={},this._pipe=[],a.each(e.plugins,a.proxy(function(a,b){this._plugins[a[0].tolowercase()+a.slice(1)]=new b(this)},this)),a.each(e.pipe,a.proxy(function(b,c){this._pipe.push({filter:c.filter,run:a.proxy(c.run,this)})},this)),this.setup(),this.initialize()}function f(a){if(a.touches!==d)return{x:a.touches[0].pagex,y:a.touches[0].pagey};if(a.touches===d){if(a.pagex!==d)return{x:a.pagex,y:a.pagey};if(a.pagex===d)return{x:a.clientx,y:a.clienty}}}function g(a){var b,d,e=c.createelement("div"),f=a;for(b in f)if(d=f[b],"undefined"!=typeof e.style[d])return e=null,[d,b];return[!1]}function h(){return g(["transition","webkittransition","moztransition","otransition"])[1]}function i(){return g(["transform","webkittransform","moztransform","otransform","mstransform"])[0]}function j(){return g(["perspective","webkitperspective","mozperspective","operspective","msperspective"])[0]}function k(){return"ontouchstart"in b||!!navigator.msmaxtouchpoints}function l(){return b.navigator.mspointerenabled}var m,n,o;m={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},n={istouch:!1,isscrolling:!1,isswiping:!1,direction:!1,inmotion:!1},o={_ondragstart:null,_ondragmove:null,_ondragend:null,_transitionend:null,_resizer:null,_responsivecall:null,_gotoloop:null,_checkvisibile:null},e.defaults={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,rtl:!1,smartspeed:250,fluidspeed:!1,dragendspeed:!1,responsive:{},responsiverefreshrate:200,responsivebaseelement:b,responsiveclass:!1,fallbackeasing:"swing",info:!1,nesteditemselector:!1,itemelement:"div",stageelement:"div",themeclass:"owl-theme",baseclass:"owl-carousel",itemclass:"owl-item",centerclass:"center",activeclass:"active"},e.width={default:"default",inner:"inner",outer:"outer"},e.plugins={},e.pipe=[{filter:["width","items","settings"],run:function(a){a.current=this._items&&this._items[this.relative(this._current)]}},{filter:["items","settings"],run:function(){var a=this._clones,b=this.$stage.children(".cloned");(b.length!==a.length||!this.settings.loop&&a.length>0)&&(this.$stage.children(".cloned").remove(),this._clones=[])}},{filter:["items","settings"],run:function(){var a,b,c=this._clones,d=this._items,e=this.settings.loop?c.length-math.max(2*this.settings.items,4):0;for(a=0,b=math.abs(e/2);b>a;a++)e>0?(this.$stage.children().eq(d.length+c.length-1).remove(),c.pop(),this.$stage.children().eq(0).remove(),c.pop()):(c.push(c.length/2),this.$stage.append(d[c[c.length-1]].clone().addclass("cloned")),c.push(d.length-1-(c.length-1)/2),this.$stage.prepend(d[c[c.length-1]].clone().addclass("cloned")))}},{filter:["width","items","settings"],run:function(){var a,b,c,d=this.settings.rtl?1:-1,e=(this.width()/this.settings.items).tofixed(3),f=0;for(this._coordinates=[],b=0,c=this._clones.length+this._items.length;c>b;b++)a=this._mergers[this.relative(b)],a=this.settings.mergefit&&math.min(a,this.settings.items)||a,f+=(this.settings.autowidth?this._items[this.relative(b)].width()+this.settings.margin:e*a)*d,this._coordinates.push(f)}},{filter:["width","items","settings"],run:function(){var b,c,d=(this.width()/this.settings.items).tofixed(3),e={width:math.abs(this._coordinates[this._coordinates.length-1])+2*this.settings.stagepadding,"padding-left":this.settings.stagepadding||"","padding-right":this.settings.stagepadding||""};if(this.$stage.css(e),e={width:this.settings.autowidth?"auto":d-this.settings.margin},e[this.settings.rtl?"margin-left":"margin-right"]=this.settings.margin,!this.settings.autowidth&&a.grep(this._mergers,function(a){return a>1}).length>0)for(b=0,c=this._coordinates.length;c>b;b++)e.width=math.abs(this._coordinates[b])-math.abs(this._coordinates[b-1]||0)-this.settings.margin,this.$stage.children().eq(b).css(e);else this.$stage.children().css(e)}},{filter:["width","items","settings"],run:function(a){a.current&&this.reset(this.$stage.children().index(a.current))}},{filter:["position"],run:function(){this.animate(this.coordinates(this._current))}},{filter:["width","position","items","settings"],run:function(){var a,b,c,d,e=this.settings.rtl?1:-1,f=2*this.settings.stagepadding,g=this.coordinates(this.current())+f,h=g+this.width()*e,i=[];for(c=0,d=this._coordinates.length;d>c;c++)a=this._coordinates[c-1]||0,b=math.abs(this._coordinates[c])+f*e,(this.op(a,"<=",g)&&this.op(a,">",h)||this.op(b,"<",g)&&this.op(b,">",h))&&i.push(c);this.$stage.children("."+this.settings.activeclass).removeclass(this.settings.activeclass),this.$stage.children(":eq("+i.join("), :eq(")+")").addclass(this.settings.activeclass),this.settings.center&&(this.$stage.children("."+this.settings.centerclass).removeclass(this.settings.centerclass),this.$stage.children().eq(this.current()).addclass(this.settings.centerclass))}}],e.prototype.initialize=function(){if(this.trigger("initialize"),this.$element.addclass(this.settings.baseclass).addclass(this.settings.themeclass).toggleclass("owl-rtl",this.settings.rtl),this.browsersupport(),this.settings.autowidth&&this.state.imagesloaded!==!0){var b,c,e;if(b=this.$element.find("img"),c=this.settings.nesteditemselector?"."+this.settings.nesteditemselector:d,e=this.$element.children(c).width(),b.length&&0>=e)return this.preloadautowidthimages(b),!1}this.$element.addclass("owl-loading"),this.$stage=a("<"+this.settings.stageelement+' class="owl-stage"/>').wrap('
'),this.$element.append(this.$stage.parent()),this.replace(this.$element.children().not(this.$stage.parent())),this._width=this.$element.width(),this.refresh(),this.$element.removeclass("owl-loading").addclass("owl-loaded"),this.eventscall(),this.internalevents(),this.addtriggerableevents(),this.trigger("initialized")},e.prototype.setup=function(){var b=this.viewport(),c=this.options.responsive,d=-1,e=null;c?(a.each(c,function(a){b>=a&&a>d&&(d=number(a))}),e=a.extend({},this.options,c[d]),delete e.responsive,e.responsiveclass&&this.$element.attr("class",function(a,b){return b.replace(/\b owl-responsive-\s+/g,"")}).addclass("owl-responsive-"+d)):e=a.extend({},this.options),(null===this.settings||this._breakpoint!==d)&&(this.trigger("change",{property:{name:"settings",value:e}}),this._breakpoint=d,this.settings=e,this.invalidate("settings"),this.trigger("changed",{property:{name:"settings",value:this.settings}}))},e.prototype.optionslogic=function(){this.$element.toggleclass("owl-center",this.settings.center),this.settings.loop&&this._items.length").addclass(this.settings.itemclass).append(b)),this.trigger("prepared",{content:c.data}),c.data},e.prototype.update=function(){for(var b=0,c=this._pipe.length,d=a.proxy(function(a){return this[a]},this._invalidated),e={};c>b;)(this._invalidated.all||a.grep(this._pipe[b].filter,d).length>0)&&this._pipe[b].run(e),b++;this._invalidated={}},e.prototype.width=function(a){switch(a=a||e.width.default){case e.width.inner:case e.width.outer:return this._width;default:return this._width-2*this.settings.stagepadding+this.settings.margin}},e.prototype.refresh=function(){if(0===this._items.length)return!1;(new date).gettime();this.trigger("refresh"),this.setup(),this.optionslogic(),this.$stage.addclass("owl-refresh"),this.update(),this.$stage.removeclass("owl-refresh"),this.state.orientation=b.orientation,this.watchvisibility(),this.trigger("refreshed")},e.prototype.eventscall=function(){this.e._ondragstart=a.proxy(function(a){this.ondragstart(a)},this),this.e._ondragmove=a.proxy(function(a){this.ondragmove(a)},this),this.e._ondragend=a.proxy(function(a){this.ondragend(a)},this),this.e._onresize=a.proxy(function(a){this.onresize(a)},this),this.e._transitionend=a.proxy(function(a){this.transitionend(a)},this),this.e._preventclick=a.proxy(function(a){this.preventclick(a)},this)},e.prototype.onthrottledresize=function(){b.cleartimeout(this.resizetimer),this.resizetimer=b.settimeout(this.e._onresize,this.settings.responsiverefreshrate)},e.prototype.onresize=function(){return this._items.length?this._width===this.$element.width()?!1:this.trigger("resize").isdefaultprevented()?!1:(this._width=this.$element.width(),this.invalidate("width"),this.refresh(),void this.trigger("resized")):!1},e.prototype.eventsrouter=function(a){var b=a.type;"mousedown"===b||"touchstart"===b?this.ondragstart(a):"mousemove"===b||"touchmove"===b?this.ondragmove(a):"mouseup"===b||"touchend"===b?this.ondragend(a):"touchcancel"===b&&this.ondragend(a)},e.prototype.internalevents=function(){var c=(k(),l());this.settings.mousedrag?(this.$stage.on("mousedown",a.proxy(function(a){this.eventsrouter(a)},this)),this.$stage.on("dragstart",function(){return!1}),this.$stage.get(0).onselectstart=function(){return!1}):this.$element.addclass("owl-text-select-on"),this.settings.touchdrag&&!c&&this.$stage.on("touchstart touchcancel",a.proxy(function(a){this.eventsrouter(a)},this)),this.transitionendvendor&&this.on(this.$stage.get(0),this.transitionendvendor,this.e._transitionend,!1),this.settings.responsive!==!1&&this.on(b,"resize",a.proxy(this.onthrottledresize,this))},e.prototype.ondragstart=function(d){var e,g,h,i;if(e=d.originalevent||d||b.event,3===e.which||this.state.istouch)return!1;if("mousedown"===e.type&&this.$stage.addclass("owl-grab"),this.trigger("drag"),this.drag.starttime=(new date).gettime(),this.speed(0),this.state.istouch=!0,this.state.isscrolling=!1,this.state.isswiping=!1,this.drag.distance=0,g=f(e).x,h=f(e).y,this.drag.offsetx=this.$stage.position().left,this.drag.offsety=this.$stage.position().top,this.settings.rtl&&(this.drag.offsetx=this.$stage.position().left+this.$stage.width()-this.width()+this.settings.margin),this.state.inmotion&&this.support3d)i=this.gettransformproperty(),this.drag.offsetx=i,this.animate(i),this.state.inmotion=!0;else if(this.state.inmotion&&!this.support3d)return this.state.inmotion=!1,!1;this.drag.startx=g-this.drag.offsetx,this.drag.starty=h-this.drag.offsety,this.drag.start=g-this.drag.startx,this.drag.targetel=e.target||e.srcelement,this.drag.updatedx=this.drag.start,("img"===this.drag.targetel.tagname||"a"===this.drag.targetel.tagname)&&(this.drag.targetel.draggable=!1),a(c).on("mousemove.owl.dragevents mouseup.owl.dragevents touchmove.owl.dragevents touchend.owl.dragevents",a.proxy(function(a){this.eventsrouter(a)},this))},e.prototype.ondragmove=function(a){var c,e,g,h,i,j;this.state.istouch&&(this.state.isscrolling||(c=a.originalevent||a||b.event,e=f(c).x,g=f(c).y,this.drag.currentx=e-this.drag.startx,this.drag.currenty=g-this.drag.starty,this.drag.distance=this.drag.currentx-this.drag.offsetx,this.drag.distance<0?this.state.direction=this.settings.rtl?"right":"left":this.drag.distance>0&&(this.state.direction=this.settings.rtl?"left":"right"),this.settings.loop?this.op(this.drag.currentx,">",this.coordinates(this.minimum()))&&"right"===this.state.direction?this.drag.currentx-=(this.settings.center&&this.coordinates(0))-this.coordinates(this._items.length):this.op(this.drag.currentx,"<",this.coordinates(this.maximum()))&&"left"===this.state.direction&&(this.drag.currentx+=(this.settings.center&&this.coordinates(0))-this.coordinates(this._items.length)):(h=this.coordinates(this.settings.rtl?this.maximum():this.minimum()),i=this.coordinates(this.settings.rtl?this.minimum():this.maximum()),j=this.settings.pulldrag?this.drag.distance/5:0,this.drag.currentx=math.max(math.min(this.drag.currentx,h+j),i+j)),(this.drag.distance>8||this.drag.distance<-8)&&(c.preventdefault!==d?c.preventdefault():c.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.animate(this.drag.updatedx)))},e.prototype.ondragend=function(b){var d,e,f;if(this.state.istouch){if("mouseup"===b.type&&this.$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(),d=this.drag.endtime-this.drag.starttime,e=math.abs(this.drag.distance),(e>3||d>300)&&this.removeclick(this.drag.targetel),f=this.closest(this.drag.updatedx),this.speed(this.settings.dragendspeed||this.settings.smartspeed),this.current(f),this.invalidate("position"),this.update(),this.settings.pulldrag||this.drag.updatedx!==this.coordinates(f)||this.transitionend(),this.drag.distance=0,a(c).off(".owl.dragevents")}},e.prototype.removeclick=function(c){this.drag.targetel=c,a(c).on("click.preventclick",this.e._preventclick),b.settimeout(function(){a(c).off("click.preventclick")},300)},e.prototype.preventclick=function(b){b.preventdefault?b.preventdefault():b.returnvalue=!1,b.stoppropagation&&b.stoppropagation(),a(b.target).off("click.preventclick")},e.prototype.gettransformproperty=function(){var a,c;return a=b.getcomputedstyle(this.$stage.get(0),null).getpropertyvalue(this.vendorname+"transform"),a=a.replace(/matrix(3d)?\(|\)/g,"").split(","),c=16===a.length,c!==!0?a[4]:a[12]},e.prototype.closest=function(b){var c=-1,d=30,e=this.width(),f=this.coordinates();return this.settings.freedrag||a.each(f,a.proxy(function(a,g){return b>g-d&&g+d>b?c=a:this.op(b,"<",g)&&this.op(b,">",f[a+1]||g-e)&&(c="left"===this.state.direction?a+1:a),-1===c},this)),this.settings.loop||(this.op(b,">",f[this.minimum()])?c=b=this.minimum():this.op(b,"<",f[this.maximum()])&&(c=b=this.maximum())),c},e.prototype.animate=function(b){this.trigger("translate"),this.state.inmotion=this.speed()>0,this.support3d?this.$stage.css({transform:"translate3d("+b+"px,0px, 0px)",transition:this.speed()/1e3+"s"}):this.state.istouch?this.$stage.css({left:b+"px"}):this.$stage.animate({left:b},this.speed()/1e3,this.settings.fallbackeasing,a.proxy(function(){this.state.inmotion&&this.transitionend()},this))},e.prototype.current=function(a){if(a===d)return this._current;if(0===this._items.length)return d;if(a=this.normalize(a),this._current!==a){var b=this.trigger("change",{property:{name:"position",value:a}});b.data!==d&&(a=this.normalize(b.data)),this._current=a,this.invalidate("position"),this.trigger("changed",{property:{name:"position",value:this._current}})}return this._current},e.prototype.invalidate=function(a){this._invalidated[a]=!0},e.prototype.reset=function(a){a=this.normalize(a),a!==d&&(this._speed=0,this._current=a,this.suppress(["translate","translated"]),this.animate(this.coordinates(a)),this.release(["translate","translated"]))},e.prototype.normalize=function(b,c){var e=c?this._items.length:this._items.length+this._clones.length;return!a.isnumeric(b)||1>e?d:b=this._clones.length?(b%e+e)%e:math.max(this.minimum(c),math.min(this.maximum(c),b))},e.prototype.relative=function(a){return a=this.normalize(a),a-=this._clones.length/2,this.normalize(a,!0)},e.prototype.maximum=function(a){var b,c,d,e=0,f=this.settings;if(a)return this._items.length-1;if(!f.loop&&f.center)b=this._items.length-1;else if(f.loop||f.center)if(f.loop||f.center)b=this._items.length+f.items;else{if(!f.autowidth&&!f.merge)throw"can not detect maximum absolute position.";for(revert=f.rtl?1:-1,c=this.$stage.width()-this.$element.width();(d=this.coordinates(e))&&!(d*revert>=c);)b=++e}else b=this._items.length-f.items;return b},e.prototype.minimum=function(a){return a?0:this._clones.length/2},e.prototype.items=function(a){return a===d?this._items.slice():(a=this.normalize(a,!0),this._items[a])},e.prototype.mergers=function(a){return a===d?this._mergers.slice():(a=this.normalize(a,!0),this._mergers[a])},e.prototype.clones=function(b){var c=this._clones.length/2,e=c+this._items.length,f=function(a){return a%2===0?e+a/2:c-(a+1)/2};return b===d?a.map(this._clones,function(a,b){return f(b)}):a.map(this._clones,function(a,c){return a===b?f(c):null})},e.prototype.speed=function(a){return a!==d&&(this._speed=a),this._speed},e.prototype.coordinates=function(b){var c=null;return b===d?a.map(this._coordinates,a.proxy(function(a,b){return this.coordinates(b)},this)):(this.settings.center?(c=this._coordinates[b],c+=(this.width()-c+(this._coordinates[b-1]||0))/2*(this.settings.rtl?-1:1)):c=this._coordinates[b-1]||0,c)},e.prototype.duration=function(a,b,c){return math.min(math.max(math.abs(b-a),1),6)*math.abs(c||this.settings.smartspeed)},e.prototype.to=function(c,d){if(this.settings.loop){var e=c-this.relative(this.current()),f=this.current(),g=this.current(),h=this.current()+e,i=0>g-h?!0:!1,j=this._clones.length+this._items.length;h=j-this.settings.items&&i===!0&&(f=g-this._items.length,this.reset(f)),b.cleartimeout(this.e._gotoloop),this.e._gotoloop=b.settimeout(a.proxy(function(){this.speed(this.duration(this.current(),f+e,d)),this.current(f+e),this.update()},this),30)}else this.speed(this.duration(this.current(),c,d)),this.current(c),this.update()},e.prototype.next=function(a){a=a||!1,this.to(this.relative(this.current())+1,a)},e.prototype.prev=function(a){a=a||!1,this.to(this.relative(this.current())-1,a)},e.prototype.transitionend=function(a){return a!==d&&(a.stoppropagation(),(a.target||a.srcelement||a.originaltarget)!==this.$stage.get(0))?!1:(this.state.inmotion=!1,void this.trigger("translated"))},e.prototype.viewport=function(){var d;if(this.options.responsivebaseelement!==b)d=a(this.options.responsivebaseelement).width();else if(b.innerwidth)d=b.innerwidth;else{if(!c.documentelement||!c.documentelement.clientwidth)throw"can not detect viewport width.";d=c.documentelement.clientwidth}return d},e.prototype.replace=function(b){this.$stage.empty(),this._items=[],b&&(b=b instanceof jquery?b:a(b)),this.settings.nesteditemselector&&(b=b.find("."+this.settings.nesteditemselector)),b.filter(function(){return 1===this.nodetype}).each(a.proxy(function(a,b){b=this.prepare(b),this.$stage.append(b),this._items.push(b),this._mergers.push(1*b.find("[data-merge]").andself("[data-merge]").attr("data-merge")||1)},this)),this.reset(a.isnumeric(this.settings.startposition)?this.settings.startposition:0),this.invalidate("items")},e.prototype.add=function(a,b){b=b===d?this._items.length:this.normalize(b,!0),this.trigger("add",{content:a,position:b}),0===this._items.length||b===this._items.length?(this.$stage.append(a),this._items.push(a),this._mergers.push(1*a.find("[data-merge]").andself("[data-merge]").attr("data-merge")||1)):(this._items[b].before(a),this._items.splice(b,0,a),this._mergers.splice(b,0,1*a.find("[data-merge]").andself("[data-merge]").attr("data-merge")||1)),this.invalidate("items"),this.trigger("added",{content:a,position:b})},e.prototype.remove=function(a){a=this.normalize(a,!0),a!==d&&(this.trigger("remove",{content:this._items[a],position:a}),this._items[a].remove(),this._items.splice(a,1),this._mergers.splice(a,1),this.invalidate("items"),this.trigger("removed",{content:null,position:a}))},e.prototype.addtriggerableevents=function(){var b=a.proxy(function(b,c){return a.proxy(function(a){a.relatedtarget!==this&&(this.suppress([c]),b.apply(this,[].slice.call(arguments,1)),this.release([c]))},this)},this);a.each({next:this.next,prev:this.prev,to:this.to,destroy:this.destroy,refresh:this.refresh,replace:this.replace,add:this.add,remove:this.remove},a.proxy(function(a,c){this.$element.on(a+".owl.carousel",b(c,a+".owl.carousel"))},this))},e.prototype.watchvisibility=function(){function c(a){return a.offsetwidth>0&&a.offsetheight>0}function d(){c(this.$element.get(0))&&(this.$element.removeclass("owl-hidden"),this.refresh(),b.clearinterval(this.e._checkvisibile))}c(this.$element.get(0))||(this.$element.addclass("owl-hidden"),b.clearinterval(this.e._checkvisibile),this.e._checkvisibile=b.setinterval(a.proxy(d,this),500))},e.prototype.preloadautowidthimages=function(b){var c,d,e,f;c=0,d=this,b.each(function(g,h){e=a(h),f=new image,f.onload=function(){c++,e.attr("src",f.src),e.css("opacity",1),c>=b.length&&(d.state.imagesloaded=!0,d.initialize())},f.src=e.attr("src")||e.attr("data-src")||e.attr("data-src-retina")})},e.prototype.destroy=function(){this.$element.hasclass(this.settings.themeclass)&&this.$element.removeclass(this.settings.themeclass),this.settings.responsive!==!1&&a(b).off("resize.owl.carousel"),this.transitionendvendor&&this.off(this.$stage.get(0),this.transitionendvendor,this.e._transitionend);for(var d in this._plugins)this._plugins[d].destroy();(this.settings.mousedrag||this.settings.touchdrag)&&(this.$stage.off("mousedown touchstart touchcancel"),a(c).off(".owl.dragevents"),this.$stage.get(0).onselectstart=function(){},this.$stage.off("dragstart",function(){return!1})),this.$element.off(".owl"),this.$stage.children(".cloned").remove(),this.e=null,this.$element.removedata("owlcarousel"),this.$stage.children().contents().unwrap(),this.$stage.children().unwrap(),this.$stage.unwrap()},e.prototype.op=function(a,b,c){var d=this.settings.rtl;switch(b){case"<":return d?a>c:c>a;case">":return d?c>a:a>c;case">=":return d?c>=a:a>=c;case"<=":return d?a>=c:c>=a}},e.prototype.on=function(a,b,c,d){a.addeventlistener?a.addeventlistener(b,c,d):a.attachevent&&a.attachevent("on"+b,c)},e.prototype.off=function(a,b,c,d){a.removeeventlistener?a.removeeventlistener(b,c,d):a.detachevent&&a.detachevent("on"+b,c)},e.prototype.trigger=function(b,c,d){var e={item:{count:this._items.length,index:this.current()}},f=a.camelcase(a.grep(["on",b,d],function(a){return a}).join("-").tolowercase()),g=a.event([b,"owl",d||"carousel"].join(".").tolowercase(),a.extend({relatedtarget:this},e,c));return this._supress[b]||(a.each(this._plugins,function(a,b){b.ontrigger&&b.ontrigger(g)}),this.$element.trigger(g),this.settings&&"function"==typeof this.settings[f]&&this.settings[f].apply(this,g)),g},e.prototype.suppress=function(b){a.each(b,a.proxy(function(a,b){this._supress[b]=!0},this))},e.prototype.release=function(b){a.each(b,a.proxy(function(a,b){delete this._supress[b]},this))},e.prototype.browsersupport=function(){if(this.support3d=j(),this.support3d){this.transformvendor=i();var a=["transitionend","webkittransitionend","transitionend","otransitionend"];this.transitionendvendor=a[h()],this.vendorname=this.transformvendor.replace(/transform/i,""),this.vendorname=""!==this.vendorname?"-"+this.vendorname.tolowercase()+"-":""}this.state.orientation=b.orientation},a.fn.owlcarousel=function(b){return this.each(function(){a(this).data("owlcarousel")||a(this).data("owlcarousel",new e(this,b))})},a.fn.owlcarousel.constructor=e}(window.zepto||window.jquery,window,document),function(a,b){var c=function(b){this._core=b,this._loaded=[],this._handlers={"initialized.owl.carousel change.owl.carousel":a.proxy(function(b){if(b.namespace&&this._core.settings&&this._core.settings.lazyload&&(b.property&&"position"==b.property.name||"initialized"==b.type))for(var c=this._core.settings,d=c.center&&math.ceil(c.items/2)||c.items,e=c.center&&-1*d||0,f=(b.property&&b.property.value||this._core.current())+e,g=this._core.clones().length,h=a.proxy(function(a,b){this.load(b)},this);e++-1||(e.each(a.proxy(function(c,d){var e,f=a(d),g=b.devicepixelratio>1&&f.attr("data-src-retina")||f.attr("data-src");this._core.trigger("load",{element:f,url:g},"lazy"),f.is("img")?f.one("load.owl.lazy",a.proxy(function(){f.css("opacity",1),this._core.trigger("loaded",{element:f,url:g},"lazy")},this)).attr("src",g):(e=new image,e.onload=a.proxy(function(){f.css({"background-image":"url("+g+")",opacity:"1"}),this._core.trigger("loaded",{element:f,url:g},"lazy")},this),e.src=g)},this)),this._loaded.push(d.get(0)))},c.prototype.destroy=function(){var a,b;for(a in this.handlers)this._core.$element.off(a,this.handlers[a]);for(b in object.getownpropertynames(this))"function"!=typeof this[b]&&(this[b]=null)},a.fn.owlcarousel.constructor.plugins.lazy=c}(window.zepto||window.jquery,window,document),function(a){var b=function(c){this._core=c,this._handlers={"initialized.owl.carousel":a.proxy(function(){this._core.settings.autoheight&&this.update()},this),"changed.owl.carousel":a.proxy(function(a){this._core.settings.autoheight&&"position"==a.property.name&&this.update()},this),"loaded.owl.lazy":a.proxy(function(a){this._core.settings.autoheight&&a.element.closest("."+this._core.settings.itemclass)===this._core.$stage.children().eq(this._core.current())&&this.update()},this)},this._core.options=a.extend({},b.defaults,this._core.options),this._core.$element.on(this._handlers)};b.defaults={autoheight:!1,autoheightclass:"owl-height"},b.prototype.update=function(){this._core.$stage.parent().height(this._core.$stage.children().eq(this._core.current()).height()).addclass(this._core.settings.autoheightclass)},b.prototype.destroy=function(){var a,b;for(a in this._handlers)this._core.$element.off(a,this._handlers[a]);for(b in object.getownpropertynames(this))"function"!=typeof this[b]&&(this[b]=null)},a.fn.owlcarousel.constructor.plugins.autoheight=b}(window.zepto||window.jquery,window,document),function(a,b,c){var d=function(b){this._core=b,this._videos={},this._playing=null,this._fullscreen=!1,this._handlers={"resize.owl.carousel":a.proxy(function(a){this._core.settings.video&&!this.isinfullscreen()&&a.preventdefault()},this),"refresh.owl.carousel changed.owl.carousel":a.proxy(function(){this._playing&&this.stop()},this),"prepared.owl.carousel":a.proxy(function(b){var c=a(b.content).find(".owl-video");c.length&&(c.css("display","none"),this.fetch(c,a(b.content)))},this)},this._core.options=a.extend({},d.defaults,this._core.options),this._core.$element.on(this._handlers),this._core.$element.on("click.owl.video",".owl-video-play-icon",a.proxy(function(a){this.play(a)},this))};d.defaults={video:!1,videoheight:!1,videowidth:!1},d.prototype.fetch=function(a,b){var c=a.attr("data-vimeo-id")?"vimeo":"youtube",d=a.attr("data-vimeo-id")||a.attr("data-youtube-id"),e=a.attr("data-width")||this._core.settings.videowidth,f=a.attr("data-height")||this._core.settings.videoheight,g=a.attr("href");if(!g)throw new error("missing video url.");if(d=g.match(/(http:|https:|)\/\/(player.|www.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com))\/(video\/|embed\/|watch\?v=|v\/)?([a-za-z0-9._%-]*)(\&\s+)?/),d[3].indexof("youtu")>-1)c="youtube";else{if(!(d[3].indexof("vimeo")>-1))throw new error("video url not supported.");c="vimeo"}d=d[6],this._videos[g]={type:c,id:d,width:e,height:f},b.attr("data-video",g),this.thumbnail(a,this._videos[g])},d.prototype.thumbnail=function(b,c){var d,e,f,g=c.width&&c.height?'style="width:'+c.width+"px;height:"+c.height+'px;"':"",h=b.find("img"),i="src",j="",k=this._core.settings,l=function(a){e='
',d=k.lazyload?'
':'
',b.after(d),b.after(e)};return b.wrap('
"),this._core.settings.lazyload&&(i="data-src",j="owl-lazy"),h.length?(l(h.attr(i)),h.remove(),!1):void("youtube"===c.type?(f="http://img.youtube.com/vi/"+c.id+"/hqdefault.jpg",l(f)):"vimeo"===c.type&&a.ajax({type:"get",url:"http://vimeo.com/api/v2/video/"+c.id+".json",jsonp:"callback",datatype:"jsonp",success:function(a){f=a[0].thumbnail_large,l(f)}}))},d.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},d.prototype.play=function(b){this._core.trigger("play",null,"video"),this._playing&&this.stop();var c,d,e=a(b.target||b.srcelement),f=e.closest("."+this._core.settings.itemclass),g=this._videos[f.attr("data-video")],h=g.width||"100%",i=g.height||this._core.$stage.height();"youtube"===g.type?c='':"vimeo"===g.type&&(c=''),f.addclass("owl-video-playing"),this._playing=f,d=a('
'+c+"
"),e.after(d)},d.prototype.isinfullscreen=function(){var d=c.fullscreenelement||c.mozfullscreenelement||c.webkitfullscreenelement;return d&&a(d).parent().hasclass("owl-video-frame")&&(this._core.speed(0),this._fullscreen=!0),d&&this._fullscreen&&this._playing?!1:this._fullscreen?(this._fullscreen=!1,!1):this._playing&&this._core.state.orientation!==b.orientation?(this._core.state.orientation=b.orientation,!1):!0},d.prototype.destroy=function(){var a,b;this._core.$element.off("click.owl.video");for(a in this._handlers)this._core.$element.off(a,this._handlers[a]);for(b in object.getownpropertynames(this))"function"!=typeof this[b]&&(this[b]=null)},a.fn.owlcarousel.constructor.plugins.video=d}(window.zepto||window.jquery,window,document),function(a,b,c,d){var e=function(b){this.core=b,this.core.options=a.extend({},e.defaults,this.core.options),this.swapping=!0,this.previous=d,this.next=d,this.handlers={"change.owl.carousel":a.proxy(function(a){"position"==a.property.name&&(this.previous=this.core.current(),this.next=a.property.value)},this),"drag.owl.carousel dragged.owl.carousel translated.owl.carousel":a.proxy(function(a){this.swapping="translated"==a.type},this),"translate.owl.carousel":a.proxy(function(){this.swapping&&(this.core.options.animateout||this.core.options.animatein)&&this.swap()},this)},this.core.$element.on(this.handlers)};e.defaults={animateout:!1,animatein:!1},e.prototype.swap=function(){if(1===this.core.settings.items&&this.core.support3d){this.core.speed(0);var b,c=a.proxy(this.clear,this),d=this.core.$stage.children().eq(this.previous),e=this.core.$stage.children().eq(this.next),f=this.core.settings.animatein,g=this.core.settings.animateout;this.core.current()!==this.previous&&(g&&(b=this.core.coordinates(this.previous)-this.core.coordinates(this.next),d.css({left:b+"px"}).addclass("animated owl-animated-out").addclass(g).one("webkitanimationend mozanimationend msanimationend oanimationend animationend",c)),f&&e.addclass("animated owl-animated-in").addclass(f).one("webkitanimationend mozanimationend msanimationend oanimationend animationend",c))}},e.prototype.clear=function(b){a(b.target).css({left:""}).removeclass("animated owl-animated-out owl-animated-in").removeclass(this.core.settings.animatein).removeclass(this.core.settings.animateout),this.core.transitionend()},e.prototype.destroy=function(){var a,b;for(a in this.handlers)this.core.$element.off(a,this.handlers[a]);for(b in object.getownpropertynames(this))"function"!=typeof this[b]&&(this[b]=null)},a.fn.owlcarousel.constructor.plugins.animate=e}(window.zepto||window.jquery,window,document),function(a,b,c){var d=function(b){this.core=b,this.core.options=a.extend({},d.defaults,this.core.options),this.handlers={"translated.owl.carousel refreshed.owl.carousel":a.proxy(function(){this.autoplay() },this),"play.owl.autoplay":a.proxy(function(a,b,c){this.play(b,c)},this),"stop.owl.autoplay":a.proxy(function(){this.stop()},this),"mouseover.owl.autoplay":a.proxy(function(){this.core.settings.autoplayhoverpause&&this.pause()},this),"mouseleave.owl.autoplay":a.proxy(function(){this.core.settings.autoplayhoverpause&&this.autoplay()},this)},this.core.$element.on(this.handlers)};d.defaults={autoplay:!1,autoplaytimeout:5e3,autoplayhoverpause:!1,autoplayspeed:!1},d.prototype.autoplay=function(){this.core.settings.autoplay&&!this.core.state.videoplay?(b.clearinterval(this.interval),this.interval=b.setinterval(a.proxy(function(){this.play()},this),this.core.settings.autoplaytimeout)):b.clearinterval(this.interval)},d.prototype.play=function(){return c.hidden===!0||this.core.state.istouch||this.core.state.isscrolling||this.core.state.isswiping||this.core.state.inmotion?void 0:this.core.settings.autoplay===!1?void b.clearinterval(this.interval):void this.core.next(this.core.settings.autoplayspeed)},d.prototype.stop=function(){b.clearinterval(this.interval)},d.prototype.pause=function(){b.clearinterval(this.interval)},d.prototype.destroy=function(){var a,c;b.clearinterval(this.interval);for(a in this.handlers)this.core.$element.off(a,this.handlers[a]);for(c in object.getownpropertynames(this))"function"!=typeof this[c]&&(this[c]=null)},a.fn.owlcarousel.constructor.plugins.autoplay=d}(window.zepto||window.jquery,window,document),function(a){"use strict";var b=function(c){this._core=c,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":a.proxy(function(b){this._core.settings.dotsdata&&this._templates.push(a(b.content).find("[data-dot]").andself("[data-dot]").attr("data-dot"))},this),"add.owl.carousel":a.proxy(function(b){this._core.settings.dotsdata&&this._templates.splice(b.position,0,a(b.content).find("[data-dot]").andself("[data-dot]").attr("data-dot"))},this),"remove.owl.carousel prepared.owl.carousel":a.proxy(function(a){this._core.settings.dotsdata&&this._templates.splice(a.position,1)},this),"change.owl.carousel":a.proxy(function(a){if("position"==a.property.name&&!this._core.state.revert&&!this._core.settings.loop&&this._core.settings.navrewind){var b=this._core.current(),c=this._core.maximum(),d=this._core.minimum();a.data=a.property.value>c?b>=c?d:c:a.property.value").addclass(d.dotclass).append(a("")).prop("outerhtml")]),d.navcontainer&&d.dotscontainer||(this._controls.$container=a("
").addclass(d.controlsclass).appendto(this.$element)),this._controls.$indicators=d.dotscontainer?a(d.dotscontainer):a("
").hide().addclass(d.dotsclass).appendto(this._controls.$container),this._controls.$indicators.on("click","div",a.proxy(function(b){var c=a(b.target).parent().is(this._controls.$indicators)?a(b.target).index():a(b.target).parent().index();b.preventdefault(),this.to(c,d.dotsspeed)},this)),b=d.navcontainer?a(d.navcontainer):a("
").addclass(d.navcontainerclass).prependto(this._controls.$container),this._controls.$next=a("<"+d.navelement+">"),this._controls.$previous=this._controls.$next.clone(),this._controls.$previous.addclass(d.navclass[0]).html(d.navtext[0]).hide().prependto(b).on("click",a.proxy(function(){this.prev(d.navspeed)},this)),this._controls.$next.addclass(d.navclass[1]).html(d.navtext[1]).hide().appendto(b).on("click",a.proxy(function(){this.next(d.navspeed)},this));for(c in this._overrides)this._core[c]=a.proxy(this[c],this)},b.prototype.destroy=function(){var a,b,c,d;for(a in this._handlers)this.$element.off(a,this._handlers[a]);for(b in this._controls)this._controls[b].remove();for(d in this.overides)this._core[d]=this._overrides[d];for(c in object.getownpropertynames(this))"function"!=typeof this[c]&&(this[c]=null)},b.prototype.update=function(){var a,b,c,d=this._core.settings,e=this._core.clones().length/2,f=e+this._core.items().length,g=d.center||d.autowidth||d.dotdata?1:d.dotseach||d.items;if("page"!==d.slideby&&(d.slideby=math.min(d.slideby,d.items)),d.dots||"page"==d.slideby)for(this._pages=[],a=e,b=0,c=0;f>a;a++)(b>=g||0===b)&&(this._pages.push({start:a-e,end:a-e+g-1}),b=0,++c),b+=this._core.mergers(this._core.relative(a))},b.prototype.draw=function(){var b,c,d="",e=this._core.settings,f=(this._core.$stage.children(),this._core.relative(this._core.current()));if(!e.nav||e.loop||e.navrewind||(this._controls.$previous.toggleclass("disabled",0>=f),this._controls.$next.toggleclass("disabled",f>=this._core.maximum())),this._controls.$previous.toggle(e.nav),this._controls.$next.toggle(e.nav),e.dots){if(b=this._pages.length-this._controls.$indicators.children().length,e.dotdata&&0!==b){for(c=0;c0?(d=new array(b+1).join(this._templates[0]),this._controls.$indicators.append(d)):0>b&&this._controls.$indicators.children().slice(b).remove();this._controls.$indicators.find(".active").removeclass("active"),this._controls.$indicators.children().eq(a.inarray(this.current(),this._pages)).addclass("active")}this._controls.$indicators.toggle(e.dots)},b.prototype.ontrigger=function(b){var c=this._core.settings;b.page={index:a.inarray(this.current(),this._pages),count:this._pages.length,size:c&&(c.center||c.autowidth||c.dotdata?1:c.dotseach||c.items)}},b.prototype.current=function(){var b=this._core.relative(this._core.current());return a.grep(this._pages,function(a){return a.start<=b&&a.end>=b}).pop()},b.prototype.getposition=function(b){var c,d,e=this._core.settings;return"page"==e.slideby?(c=a.inarray(this.current(),this._pages),d=this._pages.length,b?++c:--c,c=this._pages[(c%d+d)%d].start):(c=this._core.relative(this._core.current()),d=this._core.items().length,b?c+=e.slideby:c-=e.slideby),c},b.prototype.next=function(b){a.proxy(this._overrides.to,this._core)(this.getposition(!0),b)},b.prototype.prev=function(b){a.proxy(this._overrides.to,this._core)(this.getposition(!1),b)},b.prototype.to=function(b,c,d){var e;d?a.proxy(this._overrides.to,this._core)(b,c):(e=this._pages.length,a.proxy(this._overrides.to,this._core)(this._pages[(b%e+e)%e].start,c))},a.fn.owlcarousel.constructor.plugins.navigation=b}(window.zepto||window.jquery,window,document),function(a,b){"use strict";var c=function(d){this._core=d,this._hashes={},this.$element=this._core.$element,this._handlers={"initialized.owl.carousel":a.proxy(function(){"urlhash"==this._core.settings.startposition&&a(b).trigger("hashchange.owl.navigation")},this),"prepared.owl.carousel":a.proxy(function(b){var c=a(b.content).find("[data-hash]").andself("[data-hash]").attr("data-hash");this._hashes[c]=b.content},this)},this._core.options=a.extend({},c.defaults,this._core.options),this.$element.on(this._handlers),a(b).on("hashchange.owl.navigation",a.proxy(function(){var a=b.location.hash.substring(1),c=this._core.$stage.children(),d=this._hashes[a]&&c.index(this._hashes[a])||0;return a?void this._core.to(d,!1,!0):!1},this))};c.defaults={urlhashlistener:!1},c.prototype.destroy=function(){var c,d;a(b).off("hashchange.owl.navigation");for(c in this._handlers)this._core.$element.off(c,this._handlers[c]);for(d in object.getownpropertynames(this))"function"!=typeof this[d]&&(this[d]=null)},a.fn.owlcarousel.constructor.plugins.hash=c}(window.zepto||window.jquery,window,document); $(document).ready(function(){ $("#banner").owlcarousel({ items:1, dots:true, loop:true, smartspeed:1100, autoplay:true, autoplaytimeout:3500, autoplayhoverpause:true }); $("#in_proswiper").owlcarousel({ loop:true, nav:true, dots:false, smartspeed:1100, autoplay:true, autoplaytimeout:3500, autoplayhoverpause:true, responsive: { 0: { items: 1 }, 480: { items: 2 }, 900: { items: 3 }, 1280: { items: 4 } } }); $("#in_caseswiper").owlcarousel({ loop:true, nav:true, dots:false, smartspeed:1100, autoplay:true, autoplaytimeout:3500, autoplayhoverpause:true, responsive: { 0: { items: 1 }, 480: { items: 2 }, 900: { items: 3 } } }); $("#del_swiper").owlcarousel({ items:1, dots:true, loop:false, smartspeed:1100, autoplay:true, autoplaytimeout:3500, autoplayhoverpause:true }); $("#rel_pswiper").owlcarousel({ loop:true, nav:true, dots:false, smartspeed:1100, autoplay:true, autoplaytimeout:3500, autoplayhoverpause:true, responsive: { 0: { items: 1 }, 480: { items: 2 }, 900: { items: 3 }, 1280: { items: 4 } } }); })