/*! * wpbakery page builder v6.0.0 (https://wpbakery.com) * copyright 2011-2019 michael m, wpbakery * license: commercial. more details: http://go.wpbakery.com/licensing */ // jscs:disable // jshint ignore: start /*! * wpbakery page builder v6.0.0 (https://wpbakery.com) * copyright 2011-2019 michael m, wpbakery * license: commercial. more details: http://go.wpbakery.com/licensing */ // jscs:disable // jshint ignore: start /*! * wpbakery page builder v6.0.0 (https://wpbakery.com) * copyright 2011-2019 michael m, wpbakery * license: commercial. more details: http://go.wpbakery.com/licensing */ // jscs:disable // jshint ignore: start !function(t,e,i,s){function n(e,i){this.settings=null,this.options=t.extend({},n.defaults,i),this.$element=t(e),this._handlers={},this._plugins={},this._supress={},this._current=null,this._speed=null,this._coordinates=[],this._breakpoint=null,this._width=null,this._items=[],this._clones=[],this._mergers=[],this._widths=[],this._invalidated={},this._pipe=[],this._drag={time:null,target:null,pointer:null,stage:{start:null,current:null},direction:null},this._states={current:{},tags:{initializing:["busy"],animating:["busy"],dragging:["interacting"]}},t.each(["onresize","onthrottledresize"],t.proxy(function(e,i){this._handlers[i]=t.proxy(this[i],this)},this)),t.each(n.plugins,t.proxy(function(t,e){this._plugins[t[0].tolowercase()+t.slice(1)]=new e(this)},this)),t.each(n.workers,t.proxy(function(e,i){this._pipe.push({filter:i.filter,run:t.proxy(i.run,this)})},this)),this.setup(),this.initialize()}n.defaults={items:3,loop:!1,center:!1,rewind:!1,mousedrag:!0,touchdrag:!0,pulldrag:!0,freedrag:!1,margin:0,stagepadding:0,merge:!1,mergefit:!0,autowidth:!1,startposition:0,rtl:!1,smartspeed:250,fluidspeed:!1,dragendspeed:!1,responsive:{},responsiverefreshrate:200,responsivebaseelement:e,fallbackeasing:"swing",info:!1,nesteditemselector:!1,itemelement:"div",stageelement:"div",refreshclass:"owl-refresh",loadedclass:"owl-loaded",loadingclass:"owl-loading",rtlclass:"owl-rtl",responsiveclass:"owl-responsive",dragclass:"owl-drag",itemclass:"owl-item",stageclass:"owl-stage",stageouterclass:"owl-stage-outer",grabclass:"owl-grab"},n.width={default:"default",inner:"inner",outer:"outer"},n.type={event:"event",state:"state"},n.plugins={},n.workers=[{filter:["width","settings"],run:function(){this._width=this.$element.width()}},{filter:["width","items","settings"],run:function(t){t.current=this._items&&this._items[this.relative(this._current)]}},{filter:["items","settings"],run:function(){this.$stage.children(".cloned").remove()}},{filter:["width","items","settings"],run:function(t){var e=this.settings.margin||"",i=!this.settings.autowidth,s=this.settings.rtl,n={width:"auto","margin-left":s?e:"","margin-right":s?"":e};!i&&this.$stage.children().css(n),t.css=n}},{filter:["width","items","settings"],run:function(t){var e=(this.width()/this.settings.items).tofixed(3)-this.settings.margin,i=null,s=this._items.length,n=!this.settings.autowidth,o=[];for(t.items={merge:!1,width:e};s--;)i=this._mergers[s],i=this.settings.mergefit&&math.min(i,this.settings.items)||i,t.items.merge=i>1||t.items.merge,o[s]=n?e*i:this._items[s].width();this._widths=o}},{filter:["items","settings"],run:function(){var e=[],i=this._items,s=this.settings,n=math.max(2*s.items,4),o=2*math.ceil(i.length/2),r=s.loop&&i.length?s.rewind?n:math.max(n,o):0,a="",h="";for(r/=2;r--;)e.push(this.normalize(e.length/2,!0)),a+=i[e[e.length-1]][0].outerhtml,e.push(this.normalize(i.length-1-(e.length-1)/2,!0)),h=i[e[e.length-1]][0].outerhtml+h;this._clones=e,t(a).addclass("cloned").appendto(this.$stage),t(h).addclass("cloned").prependto(this.$stage)}},{filter:["width","items","settings"],run:function(){for(var t=this.settings.rtl?1:-1,e=this._clones.length+this._items.length,i=-1,s=0,n=0,o=[];++ii;i++)t=this._coordinates[i-1]||0,e=math.abs(this._coordinates[i])+o*n,(this.op(t,"<=",r)&&this.op(t,">",a)||this.op(e,"<",r)&&this.op(e,">",a))&&h.push(i);this.$stage.children(".active").removeclass("active"),this.$stage.children(":eq("+h.join("), :eq(")+")").addclass("active"),this.settings.center&&(this.$stage.children(".center").removeclass("center"),this.$stage.children().eq(this.current()).addclass("center"))}}],n.prototype.initialize=function(){if(this.enter("initializing"),this.trigger("initialize"),this.$element.toggleclass(this.settings.rtlclass,this.settings.rtl),this.settings.autowidth&&!this.is("pre-loading")){var e,i,n;e=this.$element.find("img"),i=this.settings.nesteditemselector?"."+this.settings.nesteditemselector:s,n=this.$element.children(i).width(),e.length&&0>=n&&this.preloadautowidthimages(e)}this.$element.addclass(this.options.loadingclass),this.$stage=t("<"+this.settings.stageelement+' class="'+this.settings.stageclass+'"/>').wrap('
'),this.$element.append(this.$stage.parent()),this.replace(this.$element.children().not(this.$stage.parent())),this.$element.is(":visible")?this.refresh():this.invalidate("width"),this.$element.removeclass(this.options.loadingclass).addclass(this.options.loadedclass),this.registereventhandlers(),this.leave("initializing"),this.trigger("initialized")},n.prototype.setup=function(){var e=this.viewport(),i=this.options.responsive,s=-1,n=null;i?(t.each(i,function(t){e>=t&&t>s&&(s=number(t))}),n=t.extend({},this.options,i[s]),delete n.responsive,n.responsiveclass&&this.$element.attr("class",this.$element.attr("class").replace(new regexp("("+this.options.responsiveclass+"-)\\s+\\s","g"),"$1"+s))):n=t.extend({},this.options),(null===this.settings||this._breakpoint!==s)&&(this.trigger("change",{property:{name:"settings",value:n}}),this._breakpoint=s,this.settings=n,this.invalidate("settings"),this.trigger("changed",{property:{name:"settings",value:this.settings}}))},n.prototype.optionslogic=function(){this.settings.autowidth&&(this.settings.stagepadding=!1,this.settings.merge=!1)},n.prototype.prepare=function(e){var i=this.trigger("prepare",{content:e});return i.data||(i.data=t("<"+this.settings.itemelement+"/>").addclass(this.options.itemclass).append(e)),this.trigger("prepared",{content:i.data}),i.data},n.prototype.update=function(){for(var e=0,i=this._pipe.length,s=t.proxy(function(t){return this[t]},this._invalidated),n={};i>e;)(this._invalidated.all||t.grep(this._pipe[e].filter,s).length>0)&&this._pipe[e].run(n),e++;this._invalidated={},!this.is("valid")&&this.enter("valid")},n.prototype.width=function(t){switch(t=t||n.width.default){case n.width.inner:case n.width.outer:return this._width;default:return this._width-2*this.settings.stagepadding+this.settings.margin}},n.prototype.refresh=function(){this.enter("refreshing"),this.trigger("refresh"),this.setup(),this.optionslogic(),this.$element.addclass(this.options.refreshclass),this.update(),this.$element.removeclass(this.options.refreshclass),this.leave("refreshing"),this.trigger("refreshed")},n.prototype.onthrottledresize=function(){e.cleartimeout(this.resizetimer),this.resizetimer=e.settimeout(this._handlers.onresize,this.settings.responsiverefreshrate)},n.prototype.onresize=function(){return this._items.length?this._width===this.$element.width()?!1:this.$element.is(":visible")?(this.enter("resizing"),this.trigger("resize").isdefaultprevented()?(this.leave("resizing"),!1):(this.invalidate("width"),this.refresh(),this.leave("resizing"),void this.trigger("resized"))):!1:!1},n.prototype.registereventhandlers=function(){t.support.transition&&this.$stage.on(t.support.transition.end+".owl.core",t.proxy(this.ontransitionend,this)),this.settings.responsive!==!1&&this.on(e,"resize",this._handlers.onthrottledresize),this.settings.mousedrag&&(this.$element.addclass(this.options.dragclass),this.$stage.on("mousedown.owl.core",t.proxy(this.ondragstart,this)),this.$stage.on("dragstart.owl.core selectstart.owl.core",function(){return!1})),this.settings.touchdrag&&(this.$stage.on("touchstart.owl.core",t.proxy(this.ondragstart,this)),this.$stage.on("touchcancel.owl.core",t.proxy(this.ondragend,this)))},n.prototype.ondragstart=function(e){var s=null;3!==e.which&&(t.support.transform?(s=this.$stage.css("transform").replace(/.*\(|\)| /g,"").split(","),s={x:s[16===s.length?12:4],y:s[16===s.length?13:5]}):(s=this.$stage.position(),s={x:this.settings.rtl?s.left+this.$stage.width()-this.width()+this.settings.margin:s.left,y:s.top}),this.is("animating")&&(t.support.transform?this.animate(s.x):this.$stage.stop(),this.invalidate("position")),this.$element.toggleclass(this.options.grabclass,"mousedown"===e.type),this.speed(0),this._drag.time=(new date).gettime(),this._drag.target=t(e.target),this._drag.stage.start=s,this._drag.stage.current=s,this._drag.pointer=this.pointer(e),t(i).on("mouseup.owl.core touchend.owl.core",t.proxy(this.ondragend,this)),t(i).one("mousemove.owl.core touchmove.owl.core",t.proxy(function(e){var s=this.difference(this._drag.pointer,this.pointer(e));t(i).on("mousemove.owl.core touchmove.owl.core",t.proxy(this.ondragmove,this)),math.abs(s.x)0^this.settings.rtl?"left":"right";t(i).off(".owl.core"),this.$element.removeclass(this.options.grabclass),(0!==s.x&&this.is("dragging")||!this.is("valid"))&&(this.speed(this.settings.dragendspeed||this.settings.smartspeed),this.current(this.closest(n.x,0!==s.x?o:this._drag.direction)),this.invalidate("position"),this.update(),this._drag.direction=o,(math.abs(s.x)>3||(new date).gettime()-this._drag.time>300)&&this._drag.target.one("click.owl.core",function(){return!1})),this.is("dragging")&&(this.leave("dragging"),this.trigger("dragged"))},n.prototype.closest=function(e,i){var s=-1,n=30,o=this.width(),r=this.coordinates();return this.settings.freedrag||t.each(r,t.proxy(function(t,a){return e>a-n&&a+n>e?s=t:this.op(e,"<",a)&&this.op(e,">",r[t+1]||a-o)&&(s="left"===i?t+1:t),-1===s},this)),this.settings.loop||(this.op(e,">",r[this.minimum()])?s=e=this.minimum():this.op(e,"<",r[this.maximum()])&&(s=e=this.maximum())),s},n.prototype.animate=function(e){var i=this.speed()>0;this.is("animating")&&this.ontransitionend(),i&&(this.enter("animating"),this.trigger("translate")),t.support.transform3d&&t.support.transition?this.$stage.css({transform:"translate3d("+e+"px,0px,0px)",transition:this.speed()/1e3+"s"}):i?this.$stage.animate({left:e+"px"},this.speed(),this.settings.fallbackeasing,t.proxy(this.ontransitionend,this)):this.$stage.css({left:e+"px"})},n.prototype.is=function(t){return this._states.current[t]&&this._states.current[t]>0},n.prototype.current=function(t){if(t===s)return this._current;if(0===this._items.length)return s;if(t=this.normalize(t),this._current!==t){var e=this.trigger("change",{property:{name:"position",value:t}});e.data!==s&&(t=this.normalize(e.data)),this._current=t,this.invalidate("position"),this.trigger("changed",{property:{name:"position",value:this._current}})}return this._current},n.prototype.invalidate=function(e){return"string"===t.type(e)&&(this._invalidated[e]=!0,this.is("valid")&&this.leave("valid")),t.map(this._invalidated,function(t,e){return e})},n.prototype.reset=function(t){t=this.normalize(t),t!==s&&(this._speed=0,this._current=t,this.suppress(["translate","translated"]),this.animate(this.coordinates(t)),this.release(["translate","translated"]))},n.prototype.normalize=function(e,i){var n=this._items.length,o=i?0:this._clones.length;return!t.isnumeric(e)||1>n?e=s:(0>e||e>=n+o)&&(e=((e-o/2)%n+n)%n+o/2),e},n.prototype.relative=function(t){return t-=this._clones.length/2,this.normalize(t,!0)},n.prototype.maximum=function(t){var e,i=this.settings,s=this._coordinates.length,n=math.abs(this._coordinates[s-1])-this._width,o=-1;if(i.loop)s=this._clones.length/2+this._items.length-1;else if(i.autowidth||i.merge)for(;s-o>1;)math.abs(this._coordinates[e=s+o>>1])0)-(0>n),r=this._items.length,a=this.minimum(),h=this.maximum();this.settings.loop?(!this.settings.rewind&&math.abs(n)>r/2&&(n+=-1*o*r),t=i+n,s=((t-a)%r+r)%r+a,s!==t&&h>=s-n&&s-n>0&&(i=s-n,t=s,this.reset(i))):this.settings.rewind?(h+=1,t=(t%h+h)%h):t=math.max(a,math.min(h,t)),this.speed(this.duration(i,t,e)),this.current(t),this.$element.is(":visible")&&this.update()},n.prototype.next=function(t){t=t||!1,this.to(this.relative(this.current())+1,t)},n.prototype.prev=function(t){t=t||!1,this.to(this.relative(this.current())-1,t)},n.prototype.ontransitionend=function(t){return t!==s&&(t.stoppropagation(),(t.target||t.srcelement||t.originaltarget)!==this.$stage.get(0))?!1:(this.leave("animating"),void this.trigger("translated"))},n.prototype.viewport=function(){var s;if(this.options.responsivebaseelement!==e)s=t(this.options.responsivebaseelement).width();else if(e.innerwidth)s=e.innerwidth;else{if(!i.documentelement||!i.documentelement.clientwidth)throw"can not detect viewport width.";s=i.documentelement.clientwidth}return s},n.prototype.replace=function(e){this.$stage.empty(),this._items=[],e&&(e=e instanceof jquery?e:t(e)),this.settings.nesteditemselector&&(e=e.find("."+this.settings.nesteditemselector)),e.filter(function(){return 1===this.nodetype}).each(t.proxy(function(t,e){e=this.prepare(e),this.$stage.append(e),this._items.push(e),this._mergers.push(1*e.find("[data-merge]").andself("[data-merge]").attr("data-merge")||1)},this)),this.reset(t.isnumeric(this.settings.startposition)?this.settings.startposition:0),this.invalidate("items")},n.prototype.add=function(e,i){var n=this.relative(this._current);i=i===s?this._items.length:this.normalize(i,!0),e=e instanceof jquery?e:t(e),this.trigger("add",{content:e,position:i}),e=this.prepare(e),0===this._items.length||i===this._items.length?(0===this._items.length&&this.$stage.append(e),0!==this._items.length&&this._items[i-1].after(e),this._items.push(e),this._mergers.push(1*e.find("[data-merge]").andself("[data-merge]").attr("data-merge")||1)):(this._items[i].before(e),this._items.splice(i,0,e),this._mergers.splice(i,0,1*e.find("[data-merge]").andself("[data-merge]").attr("data-merge")||1)),this._items[n]&&this.reset(this._items[n].index()),this.invalidate("items"),this.trigger("added",{content:e,position:i})},n.prototype.remove=function(t){t=this.normalize(t,!0),t!==s&&(this.trigger("remove",{content:this._items[t],position:t}),this._items[t].remove(),this._items.splice(t,1),this._mergers.splice(t,1),this.invalidate("items"),this.trigger("removed",{content:null,position:t}))},n.prototype.preloadautowidthimages=function(e){e.each(t.proxy(function(e,i){this.enter("pre-loading"),i=t(i),t(new image).one("load",t.proxy(function(t){i.attr("src",t.target.src),i.css("opacity",1),this.leave("pre-loading"),!this.is("pre-loading")&&!this.is("initializing")&&this.refresh()},this)).attr("src",i.attr("src")||i.attr("data-src")||i.attr("data-src-retina"))},this))},n.prototype.destroy=function(){this.$element.off(".owl.core"),this.$stage.off(".owl.core"),t(i).off(".owl.core"),this.settings.responsive!==!1&&(e.cleartimeout(this.resizetimer),this.off(e,"resize",this._handlers.onthrottledresize));for(var s in this._plugins)this._plugins[s].destroy();this.$stage.children(".cloned").remove(),this.$stage.unwrap(),this.$stage.children().contents().unwrap(),this.$stage.children().unwrap(),this.$element.removeclass(this.options.refreshclass).removeclass(this.options.loadingclass).removeclass(this.options.loadedclass).removeclass(this.options.rtlclass).removeclass(this.options.dragclass).removeclass(this.options.grabclass).attr("class",this.$element.attr("class").replace(new regexp(this.options.responsiveclass+"-\\s+\\s","g"),"")).removedata("owl.vccarousel")},n.prototype.op=function(t,e,i){var s=this.settings.rtl;switch(e){case"<":return s?t>i:i>t;case">":return s?i>t:t>i;case">=":return s?i>=t:t>=i;case"<=":return s?t>=i:i>=t}},n.prototype.on=function(t,e,i,s){t.addeventlistener?t.addeventlistener(e,i,s):t.attachevent&&t.attachevent("on"+e,i)},n.prototype.off=function(t,e,i,s){t.removeeventlistener?t.removeeventlistener(e,i,s):t.detachevent&&t.detachevent("on"+e,i)},n.prototype.trigger=function(e,i,s,o,r){var a={item:{count:this._items.length,index:this.current()}},h=t.camelcase(t.grep(["on",e,s],function(t){return t}).join("-").tolowercase()),l=t.event([e,"owl",s||"vccarousel"].join(".").tolowercase(),t.extend({relatedtarget:this},a,i));return this._supress[e]||(t.each(this._plugins,function(t,e){e.ontrigger&&e.ontrigger(l)}),this.register({type:n.type.event,name:e}),this.$element.trigger(l),this.settings&&"function"==typeof this.settings[h]&&this.settings[h].call(this,l)),l},n.prototype.enter=function(e){t.each([e].concat(this._states.tags[e]||[]),t.proxy(function(t,e){this._states.current[e]===s&&(this._states.current[e]=0),this._states.current[e]++},this))},n.prototype.leave=function(e){t.each([e].concat(this._states.tags[e]||[]),t.proxy(function(t,e){this._states.current[e]--},this))},n.prototype.register=function(e){if(e.type===n.type.event){if(t.event.special[e.name]||(t.event.special[e.name]={}),!t.event.special[e.name].owl){var i=t.event.special[e.name]._default;t.event.special[e.name]._default=function(t){return!i||!i.apply||t.namespace&&-1!==t.namespace.indexof("owl")?t.namespace&&t.namespace.indexof("owl")>-1:i.apply(this,arguments)},t.event.special[e.name].owl=!0}}else e.type===n.type.state&&(this._states.tags[e.name]?this._states.tags[e.name]=this._states.tags[e.name].concat(e.tags):this._states.tags[e.name]=e.tags,this._states.tags[e.name]=t.grep(this._states.tags[e.name],t.proxy(function(i,s){return t.inarray(i,this._states.tags[e.name])===s},this)))},n.prototype.suppress=function(e){t.each(e,t.proxy(function(t,e){this._supress[e]=!0},this))},n.prototype.release=function(e){t.each(e,t.proxy(function(t,e){delete this._supress[e]},this))},n.prototype.pointer=function(t){var i={x:null,y:null};return t=t.originalevent||t||e.event,t=t.touches&&t.touches.length?t.touches[0]:t.changedtouches&&t.changedtouches.length?t.changedtouches[0]:t,t.pagex?(i.x=t.pagex,i.y=t.pagey):(i.x=t.clientx,i.y=t.clienty),i},n.prototype.difference=function(t,e){return{x:t.x-e.x,y:t.y-e.y}},t.fn.vcowlcarousel=function(e){var i=array.prototype.slice.call(arguments,1);return this.each(function(){var s=t(this),o=s.data("owl.vccarousel");o||(o=new n(this,"object"==typeof e&&e),s.data("owl.vccarousel",o),t.each(["next","prev","to","destroy","refresh","replace","add","remove"],function(e,i){o.register({type:n.type.event,name:i}),o.$element.on(i+".owl.vccarousel.core",t.proxy(function(t){t.namespace&&t.relatedtarget!==this&&(this.suppress([i]),o[i].apply(this,[].slice.call(arguments,1)),this.release([i]))},o))})),"string"==typeof e&&"_"!==e.charat(0)&&o[e].apply(o,i)})},t.fn.vcowlcarousel.constructor=n}(window.zepto||window.jquery,window,document),function(t,e,i,s){var n=function(e){this._core=e,this._interval=null,this._visible=null,this._handlers={"initialized.owl.vccarousel":t.proxy(function(t){t.namespace&&this._core.settings.autorefresh&&this.watch()},this)},this._core.options=t.extend({},n.defaults,this._core.options),this._core.$element.on(this._handlers)};n.defaults={autorefresh:!0,autorefreshinterval:500},n.prototype.watch=function(){this._interval||(this._visible=this._core.$element.is(":visible"),this._interval=e.setinterval(t.proxy(this.refresh,this),this._core.settings.autorefreshinterval))},n.prototype.refresh=function(){this._core.$element.is(":visible")!==this._visible&&(this._visible=!this._visible,this._core.$element.toggleclass("owl-hidden",!this._visible),this._visible&&this._core.invalidate("width")&&this._core.refresh())},n.prototype.destroy=function(){var t,i;e.clearinterval(this._interval);for(t in this._handlers)this._core.$element.off(t,this._handlers[t]);for(i in object.getownpropertynames(this))"function"!=typeof this[i]&&(this[i]=null)},t.fn.vcowlcarousel.constructor.plugins.autorefresh=n}(window.zepto||window.jquery,window,document),function(t,e,i,s){var n=function(e){this._core=e,this._loaded=[],this._handlers={"initialized.owl.vccarousel change.owl.vccarousel":t.proxy(function(e){if(e.namespace&&this._core.settings&&this._core.settings.lazyload&&(e.property&&"position"==e.property.name||"initialized"==e.type))for(var i=this._core.settings,s=i.center&&math.ceil(i.items/2)||i.items,n=i.center&&-1*s||0,o=(e.property&&e.property.value||this._core.current())+n,r=this._core.clones().length,a=t.proxy(function(t,e){this.load(e)},this);n++-1||(n.each(t.proxy(function(i,s){var n,o=t(s),r=e.devicepixelratio>1&&o.attr("data-src-retina")||o.attr("data-src");this._core.trigger("load",{element:o,url:r},"lazy"),o.is("img")?o.one("load.owl.lazy",t.proxy(function(){o.css("opacity",1),this._core.trigger("loaded",{element:o,url:r},"lazy")},this)).attr("src",r):(n=new image,n.onload=t.proxy(function(){o.css({"background-image":"url("+r+")",opacity:"1"}),this._core.trigger("loaded",{element:o,url:r},"lazy")},this),n.src=r)},this)),this._loaded.push(s.get(0)))},n.prototype.destroy=function(){var t,e;for(t in this.handlers)this._core.$element.off(t,this.handlers[t]);for(e in object.getownpropertynames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.vcowlcarousel.constructor.plugins.lazy=n}(window.zepto||window.jquery,window,document),function(t,e,i,s){var n=function(e){this._core=e,this._handlers={"initialized.owl.vccarousel refreshed.owl.vccarousel":t.proxy(function(t){t.namespace&&this._core.settings.autoheight&&this.update()},this),"changed.owl.vccarousel":t.proxy(function(t){t.namespace&&this._core.settings.autoheight&&"position"==t.property.name&&this.update()},this),"loaded.owl.lazy":t.proxy(function(t){t.namespace&&this._core.settings.autoheight&&t.element.closest("."+this._core.settings.itemclass).index()===this._core.current()&&this.update()},this)},this._core.options=t.extend({},n.defaults,this._core.options),this._core.$element.on(this._handlers)};n.defaults={autoheight:!1,autoheightclass:"owl-height"},n.prototype.update=function(){this._core.$stage.parent().height(this._core.$stage.children().eq(this._core.current()).height()).addclass(this._core.settings.autoheightclass)},n.prototype.destroy=function(){var t,e;for(t in this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in object.getownpropertynames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.vcowlcarousel.constructor.plugins.autoheight=n}(window.zepto||window.jquery,window,document),function(t,e,i,s){var n=function(e){this._core=e,this._videos={},this._playing=null,this._handlers={"initialized.owl.vccarousel":t.proxy(function(t){t.namespace&&this._core.register({type:"state",name:"playing",tags:["interacting"]})},this),"resize.owl.vccarousel":t.proxy(function(t){t.namespace&&this._core.settings.video&&this.isinfullscreen()&&t.preventdefault()},this),"refreshed.owl.vccarousel":t.proxy(function(t){t.namespace&&this._core.is("resizing")&&this._core.$stage.find(".cloned .owl-video-frame").remove()},this),"changed.owl.vccarousel":t.proxy(function(t){t.namespace&&"position"===t.property.name&&this._playing&&this.stop()},this),"prepared.owl.vccarousel":t.proxy(function(e){if(e.namespace){var i=t(e.content).find(".owl-video");i.length&&(i.css("display","none"),this.fetch(i,t(e.content)))}},this)},this._core.options=t.extend({},n.defaults,this._core.options),this._core.$element.on(this._handlers),this._core.$element.on("click.owl.video",".owl-video-play-icon",t.proxy(function(t){this.play(t)},this))};n.defaults={video:!1,videoheight:!1,videowidth:!1},n.prototype.fetch=function(t,e){var i=t.attr("data-vimeo-id")?"vimeo":"youtube",s=t.attr("data-vimeo-id")||t.attr("data-youtube-id"),n=t.attr("data-width")||this._core.settings.videowidth,o=t.attr("data-height")||this._core.settings.videoheight,r=t.attr("href");if(!r)throw new error("missing video url.");if(s=r.match(/(http:|https:|)\/\/(player.|www.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com))\/(video\/|embed\/|watch\?v=|v\/)?([a-za-z0-9._%-]*)(\&\s+)?/),s[3].indexof("youtu")>-1)i="youtube";else{if(!(s[3].indexof("vimeo")>-1))throw new error("video url not supported.");i="vimeo"}s=s[6],this._videos[r]={type:i,id:s,width:n,height:o},e.attr("data-video",r),this.thumbnail(t,this._videos[r])},n.prototype.thumbnail=function(e,i){var s,n,o,r=i.width&&i.height?'style="width:'+i.width+"px;height:"+i.height+'px;"':"",a=e.find("img"),h="src",l="",c=this._core.settings,p=function(t){n='
',s=c.lazyload?'
':'
',e.after(s),e.after(n)};return e.wrap('
"),this._core.settings.lazyload&&(h="data-src",l="owl-lazy"),a.length?(p(a.attr(h)),a.remove(),!1):void("youtube"===i.type?(o="http://img.youtube.com/vi/"+i.id+"/hqdefault.jpg",p(o)):"vimeo"===i.type&&t.ajax({type:"get",url:"http://vimeo.com/api/v2/video/"+i.id+".json",jsonp:"callback",datatype:"jsonp",success:function(t){o=t[0].thumbnail_large,p(o)}}))},n.prototype.stop=function(){this._core.trigger("stop",null,"video"),this._playing.find(".owl-video-frame").remove(),this._playing.removeclass("owl-video-playing"),this._playing=null,this._core.leave("playing"),this._core.trigger("stopped",null,"video")},n.prototype.play=function(e){var i,s=t(e.target),n=s.closest("."+this._core.settings.itemclass),o=this._videos[n.attr("data-video")],r=o.width||"100%",a=o.height||this._core.$stage.height();this._playing||(this._core.enter("playing"),this._core.trigger("play",null,"video"),n=this._core.items(this._core.relative(n.index())),this._core.reset(n.index()),"youtube"===o.type?i='':"vimeo"===o.type&&(i=''),t('
'+i+"
").insertafter(n.find(".owl-video")),this._playing=n.addclass("owl-video-playing"))},n.prototype.isinfullscreen=function(){var e=i.fullscreenelement||i.mozfullscreenelement||i.webkitfullscreenelement;return e&&t(e).parent().hasclass("owl-video-frame")},n.prototype.destroy=function(){var t,e;this._core.$element.off("click.owl.video");for(t in this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in object.getownpropertynames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.vcowlcarousel.constructor.plugins.video=n}(window.zepto||window.jquery,window,document),function(t,e,i,s){var n=function(e){this.core=e,this.core.options=t.extend({},n.defaults,this.core.options),this.swapping=!0,this.previous=s,this.next=s,this.handlers={"change.owl.vccarousel":t.proxy(function(t){t.namespace&&"position"==t.property.name&&(this.previous=this.core.current(),this.next=t.property.value)},this),"drag.owl.vccarousel dragged.owl.vccarousel translated.owl.vccarousel":t.proxy(function(t){t.namespace&&(this.swapping="translated"==t.type)},this),"translate.owl.vccarousel":t.proxy(function(t){t.namespace&&this.swapping&&(this.core.options.animateout||this.core.options.animatein)&&this.swap()},this)},this.core.$element.on(this.handlers)};n.defaults={animateout:!1,animatein:!1},n.prototype.swap=function(){if(1===this.core.settings.items&&t.support.animation&&t.support.transition){this.core.speed(0);var e,i=t.proxy(this.clear,this),s=this.core.$stage.children().eq(this.previous),n=this.core.$stage.children().eq(this.next),o=this.core.settings.animatein,r=this.core.settings.animateout;this.core.current()!==this.previous&&(r&&(e=this.core.coordinates(this.previous)-this.core.coordinates(this.next),s.one(t.support.animation.end,i).css({left:e+"px"}).addclass("animated owl-animated-out").addclass(r)),o&&n.one(t.support.animation.end,i).addclass("animated owl-animated-in").addclass(o))}},n.prototype.clear=function(e){t(e.target).css({left:""}).removeclass("animated owl-animated-out owl-animated-in").removeclass(this.core.settings.animatein).removeclass(this.core.settings.animateout),this.core.ontransitionend()},n.prototype.destroy=function(){var t,e;for(t in this.handlers)this.core.$element.off(t,this.handlers[t]);for(e in object.getownpropertynames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.vcowlcarousel.constructor.plugins.animate=n}(window.zepto||window.jquery,window,document),function(t,e,i,s){var n=function(e){this._core=e,this._interval=null,this._paused=!1,this._handlers={"changed.owl.vccarousel":t.proxy(function(t){t.namespace&&"settings"===t.property.name&&(this._core.settings.autoplay?this.play():this.stop())},this),"initialized.owl.vccarousel":t.proxy(function(t){t.namespace&&this._core.settings.autoplay&&this.play()},this),"play.owl.autoplay":t.proxy(function(t,e,i){t.namespace&&this.play(e,i)},this),"stop.owl.autoplay":t.proxy(function(t){t.namespace&&this.stop()},this),"mouseover.owl.autoplay":t.proxy(function(){this._core.settings.autoplayhoverpause&&this._core.is("rotating")&&this.pause()},this),"mouseleave.owl.autoplay":t.proxy(function(){this._core.settings.autoplayhoverpause&&this._core.is("rotating")&&this.play(); },this)},this._core.$element.on(this._handlers),this._core.options=t.extend({},n.defaults,this._core.options)};n.defaults={autoplay:!1,autoplaytimeout:5e3,autoplayhoverpause:!1,autoplayspeed:!1},n.prototype.play=function(s,n){this._paused=!1,this._core.is("rotating")||(this._core.enter("rotating"),this._interval=e.setinterval(t.proxy(function(){this._paused||this._core.is("busy")||this._core.is("interacting")||i.hidden||this._core.next(n||this._core.settings.autoplayspeed)},this),s||this._core.settings.autoplaytimeout))},n.prototype.stop=function(){this._core.is("rotating")&&(e.clearinterval(this._interval),this._core.leave("rotating"))},n.prototype.pause=function(){this._core.is("rotating")&&(this._paused=!0)},n.prototype.destroy=function(){var t,e;this.stop();for(t in this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in object.getownpropertynames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.vcowlcarousel.constructor.plugins.autoplay=n}(window.zepto||window.jquery,window,document),function(t,e,i,s){"use strict";var n=function(e){this._core=e,this._initialized=!1,this._pages=[],this._controls={},this._templates=[],this.$element=this._core.$element,this._overrides={next:this._core.next,prev:this._core.prev,to:this._core.to},this._handlers={"prepared.owl.vccarousel":t.proxy(function(e){e.namespace&&this._core.settings.dotsdata&&this._templates.push('
'+t(e.content).find("[data-dot]").andself("[data-dot]").attr("data-dot")+"
")},this),"added.owl.vccarousel":t.proxy(function(t){t.namespace&&this._core.settings.dotsdata&&this._templates.splice(t.position,0,this._templates.pop())},this),"remove.owl.vccarousel":t.proxy(function(t){t.namespace&&this._core.settings.dotsdata&&this._templates.splice(t.position,1)},this),"changed.owl.vccarousel":t.proxy(function(t){t.namespace&&"position"==t.property.name&&this.draw()},this),"initialized.owl.vccarousel":t.proxy(function(t){t.namespace&&!this._initialized&&(this._core.trigger("initialize",null,"navigation"),this.initialize(),this.update(),this.draw(),this._initialized=!0,this._core.trigger("initialized",null,"navigation"))},this),"refreshed.owl.vccarousel":t.proxy(function(t){t.namespace&&this._initialized&&(this._core.trigger("refresh",null,"navigation"),this.update(),this.draw(),this._core.trigger("refreshed",null,"navigation"))},this)},this._core.options=t.extend({},n.defaults,this._core.options),this.$element.on(this._handlers)};n.defaults={nav:!1,navtext:["prev","next"],navspeed:!1,navelement:"div",navcontainer:!1,navcontainerclass:"owl-nav",navclass:["owl-prev","owl-next"],slideby:1,dotclass:"owl-dot",dotsclass:"owl-dots",dots:!0,dotseach:!1,dotsdata:!1,dotsspeed:!1,dotscontainer:!1},n.prototype.initialize=function(){var e,i=this._core.settings;this._controls.$relative=(i.navcontainer?t(i.navcontainer):t("
").addclass(i.navcontainerclass).appendto(this.$element)).addclass("disabled"),this._controls.$previous=t("<"+i.navelement+">").addclass(i.navclass[0]).html(i.navtext[0]).prependto(this._controls.$relative).on("click",t.proxy(function(t){this.prev(i.navspeed)},this)),this._controls.$next=t("<"+i.navelement+">").addclass(i.navclass[1]).html(i.navtext[1]).appendto(this._controls.$relative).on("click",t.proxy(function(t){this.next(i.navspeed)},this)),i.dotsdata||(this._templates=[t("
").addclass(i.dotclass).append(t("")).prop("outerhtml")]),this._controls.$absolute=(i.dotscontainer?t(i.dotscontainer):t("
").addclass(i.dotsclass).appendto(this.$element)).addclass("disabled"),this._controls.$absolute.on("click","div",t.proxy(function(e){var s=t(e.target).parent().is(this._controls.$absolute)?t(e.target).index():t(e.target).parent().index();e.preventdefault(),this.to(s,i.dotsspeed)},this));for(e in this._overrides)this._core[e]=t.proxy(this[e],this)},n.prototype.destroy=function(){var t,e,i,s;for(t in this._handlers)this.$element.off(t,this._handlers[t]);for(e in this._controls)this._controls[e].remove();for(s in this.overides)this._core[s]=this._overrides[s];for(i in object.getownpropertynames(this))"function"!=typeof this[i]&&(this[i]=null)},n.prototype.update=function(){var t,e,i,s=this._core.clones().length/2,n=s+this._core.items().length,o=this._core.maximum(!0),r=this._core.settings,a=r.center||r.autowidth||r.dotsdata?1:r.dotseach||r.items;if("page"!==r.slideby&&(r.slideby=math.min(r.slideby,r.items)),r.dots||"page"==r.slideby)for(this._pages=[],t=s,e=0,i=0;n>t;t++){if(e>=a||0===e){if(this._pages.push({start:math.min(o,t-s),end:t-s+a-1}),math.min(o,t-s)===o)break;e=0,++i}e+=this._core.mergers(this._core.relative(t))}},n.prototype.draw=function(){var e,i=this._core.settings,s=this._core.items().length<=i.items,n=this._core.relative(this._core.current()),o=i.loop||i.rewind;this._controls.$relative.toggleclass("disabled",!i.nav||s),i.nav&&(this._controls.$previous.toggleclass("disabled",!o&&n<=this._core.minimum(!0)),this._controls.$next.toggleclass("disabled",!o&&n>=this._core.maximum(!0))),this._controls.$absolute.toggleclass("disabled",!i.dots||s),i.dots&&(e=this._pages.length-this._controls.$absolute.children().length,i.dotsdata&&0!==e?this._controls.$absolute.html(this._templates.join("")):e>0?this._controls.$absolute.append(new array(e+1).join(this._templates[0])):0>e&&this._controls.$absolute.children().slice(e).remove(),this._controls.$absolute.find(".active").removeclass("active"),this._controls.$absolute.children().eq(t.inarray(this.current(),this._pages)).addclass("active"))},n.prototype.ontrigger=function(e){var i=this._core.settings;e.page={index:t.inarray(this.current(),this._pages),count:this._pages.length,size:i&&(i.center||i.autowidth||i.dotsdata?1:i.dotseach||i.items)}},n.prototype.current=function(){var e=this._core.relative(this._core.current());return t.grep(this._pages,t.proxy(function(t,i){return t.start<=e&&t.end>=e},this)).pop()},n.prototype.getposition=function(e){var i,s,n=this._core.settings;return"page"==n.slideby?(i=t.inarray(this.current(),this._pages),s=this._pages.length,e?++i:--i,i=this._pages[(i%s+s)%s].start):(i=this._core.relative(this._core.current()),s=this._core.items().length,e?i+=n.slideby:i-=n.slideby),i},n.prototype.next=function(e){t.proxy(this._overrides.to,this._core)(this.getposition(!0),e)},n.prototype.prev=function(e){t.proxy(this._overrides.to,this._core)(this.getposition(!1),e)},n.prototype.to=function(e,i,s){var n;s?t.proxy(this._overrides.to,this._core)(e,i):(n=this._pages.length,t.proxy(this._overrides.to,this._core)(this._pages[(e%n+n)%n].start,i))},t.fn.vcowlcarousel.constructor.plugins.navigation=n}(window.zepto||window.jquery,window,document),function(t,e,i,s){"use strict";var n=function(i){this._core=i,this._hashes={},this.$element=this._core.$element,this._handlers={"initialized.owl.vccarousel":t.proxy(function(i){i.namespace&&"urlhash"===this._core.settings.startposition&&t(e).trigger("hashchange.owl.navigation")},this),"prepared.owl.vccarousel":t.proxy(function(e){if(e.namespace){var i=t(e.content).find("[data-hash]").andself("[data-hash]").attr("data-hash");if(!i)return;this._hashes[i]=e.content}},this),"changed.owl.vccarousel":t.proxy(function(i){if(i.namespace&&"position"===i.property.name){var s=this._core.items(this._core.relative(this._core.current())),n=t.map(this._hashes,function(t,e){return t===s?e:null}).join();if(!n||e.location.hash.slice(1)===n)return;e.location.hash=n}},this)},this._core.options=t.extend({},n.defaults,this._core.options),this.$element.on(this._handlers),t(e).on("hashchange.owl.navigation",t.proxy(function(t){var i=e.location.hash.substring(1),n=this._core.$stage.children(),o=this._hashes[i]&&n.index(this._hashes[i]);o!==s&&o!==this._core.current()&&this._core.to(this._core.relative(o),!1,!0)},this))};n.defaults={urlhashlistener:!1},n.prototype.destroy=function(){var i,s;t(e).off("hashchange.owl.navigation");for(i in this._handlers)this._core.$element.off(i,this._handlers[i]);for(s in object.getownpropertynames(this))"function"!=typeof this[s]&&(this[s]=null)},t.fn.vcowlcarousel.constructor.plugins.hash=n}(window.zepto||window.jquery,window,document),function(t,e,i,s){function n(e,i){var n=!1,o=e.charat(0).touppercase()+e.slice(1);return t.each((e+" "+a.join(o+" ")+o).split(" "),function(t,e){return r[e]!==s?(n=i?e:!0,!1):void 0}),n}function o(t){return n(t,!0)}var r=t("").get(0).style,a="webkit moz o ms".split(" "),h={transition:{end:{webkittransition:"webkittransitionend",moztransition:"transitionend",otransition:"otransitionend",transition:"transitionend"}},animation:{end:{webkitanimation:"webkitanimationend",mozanimation:"animationend",oanimation:"oanimationend",animation:"animationend"}}},l={csstransforms:function(){return!!n("transform")},csstransforms3d:function(){return!!n("perspective")},csstransitions:function(){return!!n("transition")},cssanimations:function(){return!!n("animation")}};l.csstransitions()&&(t.support.transition=new string(o("transition")),t.support.transition.end=h.transition.end[t.support.transition]),l.cssanimations()&&(t.support.animation=new string(o("animation")),t.support.animation.end=h.animation.end[t.support.animation]),l.csstransforms()&&(t.support.transform=new string(o("transform")),t.support.transform3d=l.csstransforms3d())}(window.zepto||window.jquery,window,document);