0byt3m1n1
Path:
/
home1
/
aserty
/
public_html
/
bonniescraftygifts.com
/
iFzj4
/
configCHM
/
Jump
/
0-aserty
/
beatlesmontreal.com
/
wp-contentebbd3f
/
plugins
/
wptouch-pro
/
themes
/
foundation
/
modules
/
owlcarousel
/
[
Home
]
File: owl.carousel.min.js
(function(a,d,l,g){var b,k,c;b={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};k={isTouch:false,isScrolling:false,isSwiping:false,direction:false,inMotion:false};c={_onDragStart:null,_onDragMove:null,_onDragEnd:null,_transitionEnd:null,_resizer:null,_responsiveCall:null,_goToLoop:null,_checkVisibile:null};function h(q,e){this.settings=null;this.options=a.extend({},h.Defaults,e);this.$element=a(q);this.drag=a.extend({},b);this.state=a.extend({},k);this.e=a.extend({},c);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(h.Plugins,a.proxy(function(s,r){this._plugins[s[0].toLowerCase()+s.slice(1)]=new r(this)},this));a.each(h.Pipe,a.proxy(function(s,r){this._pipe.push({filter:r.filter,run:a.proxy(r.run,this)})},this));this.setup();this.initialize()}h.Defaults={items:3,loop:false,center:false,mouseDrag:true,touchDrag:true,pullDrag:true,freeDrag:false,margin:0,stagePadding:0,merge:false,mergeFit:true,autoWidth:false,startPosition:0,rtl:false,smartSpeed:250,fluidSpeed:false,dragEndSpeed:false,responsive:{},responsiveRefreshRate:200,responsiveBaseElement:d,responsiveClass:false,fallbackEasing:"swing",info:false,nestedItemSelector:false,itemElement:"div",stageElement:"div",themeClass:"owl-theme",baseClass:"owl-carousel",itemClass:"owl-item",centerClass:"center",activeClass:"active"};h.Width={Default:"default",Inner:"inner",Outer:"outer"};h.Plugins={};h.Pipe=[{filter:["width","items","settings"],run:function(e){e.current=this._items&&this._items[this.relative(this._current)]}},{filter:["items","settings"],run:function(){var e=this._clones,q=this.$stage.children(".cloned");if(q.length!==e.length||(!this.settings.loop&&e.length>0)){this.$stage.children(".cloned").remove();this._clones=[]}}},{filter:["items","settings"],run:function(){var q,r,t=this._clones,e=this._items,s=this.settings.loop?t.length-Math.max(this.settings.items*2,4):0;for(q=0,r=Math.abs(s/2);q<r;q++){if(s>0){this.$stage.children().eq(e.length+t.length-1).remove();t.pop();this.$stage.children().eq(0).remove();t.pop()}else{t.push(t.length/2);this.$stage.append(e[t[t.length-1]].clone().addClass("cloned"));t.push(e.length-1-(t.length-1)/2);this.$stage.prepend(e[t[t.length-1]].clone().addClass("cloned"))}}}},{filter:["width","items","settings"],run:function(){var r=(this.settings.rtl?1:-1),u=(this.width()/this.settings.items).toFixed(3),e=0,q,s,t;this._coordinates=[];for(s=0,t=this._clones.length+this._items.length;s<t;s++){q=this._mergers[this.relative(s)];q=(this.settings.mergeFit&&Math.min(q,this.settings.items))||q;e+=(this.settings.autoWidth?this._items[this.relative(s)].width()+this.settings.margin:u*q)*r;this._coordinates.push(e)}}},{filter:["width","items","settings"],run:function(){var q,r,e=(this.width()/this.settings.items).toFixed(3),s={width:Math.abs(this._coordinates[this._coordinates.length-1])+this.settings.stagePadding*1,};s[this.settings.rtl?"padding-left":"padding-right"]=this.settings.stagePadding;this.$stage.css(s);s={width:this.settings.autoWidth?"auto":e-this.settings.margin};s[this.settings.rtl?"margin-left":"margin-right"]=this.settings.margin;if(!this.settings.autoWidth&&a.grep(this._mergers,function(t){return t>1}).length>0){for(q=0,r=this._coordinates.length;q<r;q++){s.width=Math.abs(this._coordinates[q])-Math.abs(this._coordinates[q-1]||0)-this.settings.margin;this.$stage.children().eq(q).css(s)}}else{this.$stage.children().css(s)}}},{filter:["width","items","settings"],run:function(e){e.current&&this.reset(this.$stage.children().index(e.current))}},{filter:["position"],run:function(){this.animate(this.coordinates(this._current))}},{filter:["width","position","items","settings"],run:function(){var v=this.settings.rtl?1:-1,e=this.settings.stagePadding*1,s=this.coordinates(this.current())+e,u=s+this.width()*v,x,q,r=[],w,t;for(w=0,t=this._coordinates.length;w<t;w++){x=this._coordinates[w-1]||0;q=Math.abs(this._coordinates[w])+e*v;if((this.op(x,"<=",s)&&(this.op(x,">",u)))||(this.op(q,"<",s)&&this.op(q,">",u))){r.push(w)}}this.$stage.children("."+this.settings.activeClass).removeClass(this.settings.activeClass);this.$stage.children(":eq("+r.join("), :eq(")+")").addClass(this.settings.activeClass);if(this.settings.center){this.$stage.children("."+this.settings.centerClass).removeClass(this.settings.centerClass);this.$stage.children().eq(this.current()).addClass(this.settings.centerClass)}}}];h.prototype.initialize=function(){this.trigger("initialize");this.$element.addClass(this.settings.baseClass).addClass(this.settings.themeClass).toggleClass("owl-rtl",this.settings.rtl);this.browserSupport();if(this.settings.autoWidth&&this.state.imagesLoaded!==true){var q,e,r;q=this.$element.find("img");e=this.settings.nestedItemSelector?"."+this.settings.nestedItemSelector:g;r=this.$element.children(e).width();if(q.length&&r<=0){this.preloadAutoWidthImages(q);return false}}this.$element.addClass("owl-loading");this.$stage=a("<"+this.settings.stageElement+' class="owl-stage"/>').wrap('<div class="owl-stage-outer">');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")};h.prototype.setup=function(){var q=this.viewport(),r=this.options.responsive,s=-1,e=null;if(!r){e=a.extend({},this.options)}else{a.each(r,function(t){if(t<=q&&t>s){s=Number(t)}});e=a.extend({},this.options,r[s]);delete e.responsive;if(e.responsiveClass){this.$element.attr("class",function(t,u){return u.replace(/\b owl-responsive-\S+/g,"")}).addClass("owl-responsive-"+s)}}if(this.settings===null||this._breakpoint!==s){this.trigger("change",{property:{name:"settings",value:e}});this._breakpoint=s;this.settings=e;this.invalidate("settings");this.trigger("changed",{property:{name:"settings",value:this.settings}})}};h.prototype.optionsLogic=function(){this.$element.toggleClass("owl-center",this.settings.center);if(this.settings.loop&&this._items.length<this.settings.items){this.settings.loop=false}if(this.settings.autoWidth){this.settings.stagePadding=false;this.settings.merge=false}};h.prototype.prepare=function(q){var e=this.trigger("prepare",{content:q});if(!e.data){e.data=a("<"+this.settings.itemElement+"/>").addClass(this.settings.itemClass).append(q)}this.trigger("prepared",{content:e.data});return e.data};h.prototype.update=function(){var q=0,r=this._pipe.length,s=a.proxy(function(t){return this[t]},this._invalidated),e={};while(q<r){if(this._invalidated.all||a.grep(this._pipe[q].filter,s).length>0){this._pipe[q].run(e)}q++}this._invalidated={}};h.prototype.width=function(e){e=e||h.Width.Default;switch(e){case h.Width.Inner:case h.Width.Outer:return this._width;default:return this._width-this.settings.stagePadding*1+this.settings.margin}};h.prototype.refresh=function(){if(this._items.length===0){return false}var e=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=d.orientation;this.watchVisibility();this.trigger("refreshed")};h.prototype.eventsCall=function(){this.e._onDragStart=a.proxy(function(q){this.onDragStart(q)},this);this.e._onDragMove=a.proxy(function(q){this.onDragMove(q)},this);this.e._onDragEnd=a.proxy(function(q){this.onDragEnd(q)},this);this.e._onResize=a.proxy(function(q){this.onResize(q)},this);this.e._transitionEnd=a.proxy(function(q){this.transitionEnd(q)},this);this.e._preventClick=a.proxy(function(q){this.preventClick(q)},this)};h.prototype.onThrottledResize=function(){d.clearTimeout(this.resizeTimer);this.resizeTimer=d.setTimeout(this.e._onResize,this.settings.responsiveRefreshRate)};h.prototype.onResize=function(){if(!this._items.length){return false}if(this._width===this.$element.width()){return false}if(this.trigger("resize").isDefaultPrevented()){return false}this._width=this.$element.width();this.invalidate("width");this.refresh();this.trigger("resized")};h.prototype.eventsRouter=function(q){var e=q.type;if(e==="mousedown"||e==="touchstart"){this.onDragStart(q)}else{if(e==="mousemove"||e==="touchmove"){this.onDragMove(q)}else{if(e==="mouseup"||e==="touchend"){this.onDragEnd(q)}else{if(e==="touchcancel"){this.onDragEnd(q)}}}}};h.prototype.internalEvents=function(){var q=n(),e=m();if(this.settings.mouseDrag){this.$stage.on("mousedown",a.proxy(function(r){this.eventsRouter(r)},this));this.$stage.on("dragstart",function(){return false});this.$stage.get(0).onselectstart=function(){return false}}else{this.$element.addClass("owl-text-select-on")}if(this.settings.touchDrag&&!e){this.$stage.on("touchstart touchcancel",a.proxy(function(r){this.eventsRouter(r)},this))}if(this.transitionEndVendor){this.on(this.$stage.get(0),this.transitionEndVendor,this.e._transitionEnd,false)}if(this.settings.responsive!==false){this.on(d,"resize",a.proxy(this.onThrottledResize,this))}};h.prototype.onDragStart=function(e){var u,t,s,r,q;u=e.originalEvent||e||d.event;if(u.which===3||this.state.isTouch){return false}if(u.type==="mousedown"){this.$stage.addClass("owl-grab")}this.trigger("drag");this.drag.startTime=new Date().getTime();this.speed(0);this.state.isTouch=true;this.state.isScrolling=false;this.state.isSwiping=false;this.drag.distance=0;s=j(u).x;r=j(u).y;this.drag.offsetX=this.$stage.position().left;this.drag.offsetY=this.$stage.position().top;if(this.settings.rtl){this.drag.offsetX=this.$stage.position().left+this.$stage.width()-this.width()+this.settings.margin}if(this.state.inMotion&&this.support3d){q=this.getTransformProperty();this.drag.offsetX=q;this.animate(q);this.state.inMotion=true}else{if(this.state.inMotion&&!this.support3d){this.state.inMotion=false;return false}}this.drag.startX=s-this.drag.offsetX;this.drag.startY=r-this.drag.offsetY;this.drag.start=s-this.drag.startX;this.drag.targetEl=u.target||u.srcElement;this.drag.updatedX=this.drag.start;if(this.drag.targetEl.tagName==="IMG"||this.drag.targetEl.tagName==="A"){this.drag.targetEl.draggable=false}a(l).on("mousemove.owl.dragEvents mouseup.owl.dragEvents touchmove.owl.dragEvents touchend.owl.dragEvents",a.proxy(function(v){this.eventsRouter(v)},this))};h.prototype.onDragMove=function(e){var v,u,s,r,t,w,q;if(!this.state.isTouch){return}if(this.state.isScrolling){return}v=e.originalEvent||e||d.event;s=j(v).x;r=j(v).y;this.drag.currentX=s-this.drag.startX;this.drag.currentY=r-this.drag.startY;this.drag.distance=this.drag.currentX-this.drag.offsetX;if(this.drag.distance<0){this.state.direction=this.settings.rtl?"right":"left"}else{if(this.drag.distance>0){this.state.direction=this.settings.rtl?"left":"right"}}if(this.settings.loop){if(this.op(this.drag.currentX,">",this.coordinates(this.minimum()))&&this.state.direction==="right"){this.drag.currentX-=(this.settings.center&&this.coordinates(0))-this.coordinates(this._items.length)}else{if(this.op(this.drag.currentX,"<",this.coordinates(this.maximum()))&&this.state.direction==="left"){this.drag.currentX+=(this.settings.center&&this.coordinates(0))-this.coordinates(this._items.length)}}}else{t=this.settings.rtl?this.coordinates(this.maximum()):this.coordinates(this.minimum());w=this.settings.rtl?this.coordinates(this.minimum()):this.coordinates(this.maximum());q=this.settings.pullDrag?this.drag.distance/5:0;this.drag.currentX=Math.max(Math.min(this.drag.currentX,t+q),w+q)}if((this.drag.distance>8||this.drag.distance<-8)){if(v.preventDefault!==g){v.preventDefault()}else{v.returnValue=false}this.state.isSwiping=true}this.drag.updatedX=this.drag.currentX;if((this.drag.currentY>16||this.drag.currentY<-16)&&this.state.isSwiping===false){this.state.isScrolling=true;this.drag.updatedX=this.drag.start}this.animate(this.drag.updatedX)};h.prototype.onDragEnd=function(q){var r,e,s;if(!this.state.isTouch){return}if(q.type==="mouseup"){this.$stage.removeClass("owl-grab")}this.trigger("dragged");this.drag.targetEl.removeAttribute("draggable");this.state.isTouch=false;this.state.isScrolling=false;this.state.isSwiping=false;if(this.drag.distance===0&&this.state.inMotion!==true){this.state.inMotion=false;return false}this.drag.endTime=new Date().getTime();r=this.drag.endTime-this.drag.startTime;e=Math.abs(this.drag.distance);if(e>3||r>300){this.removeClick(this.drag.targetEl)}s=this.closest(this.drag.updatedX);this.speed(this.settings.dragEndSpeed||this.settings.smartSpeed);this.current(s);this.invalidate("position");this.update();if(!this.settings.pullDrag&&this.drag.updatedX===this.coordinates(s)){this.transitionEnd()}this.drag.distance=0;a(l).off(".owl.dragEvents")};h.prototype.removeClick=function(e){this.drag.targetEl=e;a(e).on("click.preventClick",this.e._preventClick);d.setTimeout(function(){a(e).off("click.preventClick")},300)};h.prototype.preventClick=function(e){if(e.preventDefault){e.preventDefault()}else{e.returnValue=false}if(e.stopPropagation){e.stopPropagation()}a(e.target).off("click.preventClick")};h.prototype.getTransformProperty=function(){var e,q;e=d.getComputedStyle(this.$stage.get(0),null).getPropertyValue(this.vendorName+"transform");e=e.replace(/matrix(3d)?\(|\)/g,"").split(",");q=e.length===16;return q!==true?e[4]:e[12]};h.prototype.closest=function(t){var s=-1,e=30,q=this.width(),r=this.coordinates();if(!this.settings.freeDrag){a.each(r,a.proxy(function(v,u){if(t>u-e&&t<u+e){s=v}else{if(this.op(t,"<",u)&&this.op(t,">",r[v+1]||u-q)){s=this.state.direction==="left"?v+1:v}}return s===-1},this))}if(!this.settings.loop){if(this.op(t,">",r[this.minimum()])){s=t=this.minimum()}else{if(this.op(t,"<",r[this.maximum()])){s=t=this.maximum()}}}return s};h.prototype.animate=function(e){this.trigger("translate");this.state.inMotion=this.speed()>0;if(this.support3d){this.$stage.css({transform:"translate3d("+e+"px,0px, 0px)",transition:(this.speed()/1000)+"s"})}else{if(this.state.isTouch){this.$stage.css({left:e+"px"})}else{this.$stage.animate({left:e},this.speed()/1000,this.settings.fallbackEasing,a.proxy(function(){if(this.state.inMotion){this.transitionEnd()}},this))}}};h.prototype.current=function(e){if(e===g){return this._current}if(this._items.length===0){return g}e=this.normalize(e);if(this._current!==e){var q=this.trigger("change",{property:{name:"position",value:e}});if(q.data!==g){e=this.normalize(q.data)}this._current=e;this.invalidate("position");this.trigger("changed",{property:{name:"position",value:this._current}})}return this._current};h.prototype.invalidate=function(e){this._invalidated[e]=true};h.prototype.reset=function(e){e=this.normalize(e);if(e===g){return}this._speed=0;this._current=e;this.suppress(["translate","translated"]);this.animate(this.coordinates(e));this.release(["translate","translated"])};h.prototype.normalize=function(r,e){var q=(e?this._items.length:this._items.length+this._clones.length);if(!a.isNumeric(r)||q<1){return g}if(this._clones.length){r=((r%q)+q)%q}else{r=Math.max(this.minimum(e),Math.min(this.maximum(e),r))}return r};h.prototype.relative=function(e){e=this.normalize(e);e=e-this._clones.length/2;return this.normalize(e,true)};h.prototype.maximum=function(u){var r,t,s=0,e,q=this.settings;if(u){return this._items.length-1}if(!q.loop&&q.center){r=this._items.length-1}else{if(!q.loop&&!q.center){r=this._items.length-q.items}else{if(q.loop||q.center){r=this._items.length+q.items}else{if(q.autoWidth||q.merge){revert=q.rtl?1:-1;t=this.$stage.width()-this.$element.width();while(e=this.coordinates(s)){if(e*revert>=t){break}r=++s}}else{throw"Can not detect maximum absolute position."}}}}return r};h.prototype.minimum=function(e){if(e){return 0}return this._clones.length/2};h.prototype.items=function(e){if(e===g){return this._items.slice()}e=this.normalize(e,true);return this._items[e]};h.prototype.mergers=function(e){if(e===g){return this._mergers.slice()}e=this.normalize(e,true);return this._mergers[e]};h.prototype.clones=function(s){var q=this._clones.length/2,r=q+this._items.length,e=function(t){return t%2===0?r+t/2:q-(t+1)/2};if(s===g){return a.map(this._clones,function(u,t){return e(t)})}return a.map(this._clones,function(u,t){return u===s?e(t):null})};h.prototype.speed=function(e){if(e!==g){this._speed=e}return this._speed};h.prototype.coordinates=function(e){var q=null;if(e===g){return a.map(this._coordinates,a.proxy(function(s,r){return this.coordinates(r)},this))}if(this.settings.center){q=this._coordinates[e];q+=(this.width()-q+(this._coordinates[e-1]||0))/2*(this.settings.rtl?-1:1)}else{q=this._coordinates[e-1]||0}return q};h.prototype.duration=function(e,q,r){return Math.min(Math.max(Math.abs(q-e),1),6)*Math.abs((r||this.settings.smartSpeed))};h.prototype.to=function(s,e){if(this.settings.loop){var w=s-this.relative(this.current()),v=this.current(),q=this.current(),t=this.current()+w,r=q-t<0?true:false,u=this._clones.length+this._items.length;if(t<this.settings.items&&r===false){v=q+this._items.length;this.reset(v)}else{if(t>=u-this.settings.items&&r===true){v=q-this._items.length;this.reset(v)}}d.clearTimeout(this.e._goToLoop);this.e._goToLoop=d.setTimeout(a.proxy(function(){this.speed(this.duration(this.current(),v+w,e));this.current(v+w);this.update()},this),30)}else{this.speed(this.duration(this.current(),s,e));this.current(s);this.update()}};h.prototype.next=function(e){e=e||false;this.to(this.relative(this.current())+1,e)};h.prototype.prev=function(e){e=e||false;this.to(this.relative(this.current())-1,e)};h.prototype.transitionEnd=function(e){if(e!==g){e.stopPropagation();if((e.target||e.srcElement||e.originalTarget)!==this.$stage.get(0)){return false}}this.state.inMotion=false;this.trigger("translated")};h.prototype.viewport=function(){var e;if(this.options.responsiveBaseElement!==d){e=a(this.options.responsiveBaseElement).width()}else{if(d.innerWidth){e=d.innerWidth}else{if(l.documentElement&&l.documentElement.clientWidth){e=l.documentElement.clientWidth}else{throw"Can not detect viewport width."}}}return e};h.prototype.replace=function(e){this.$stage.empty();this._items=[];if(e){e=(e instanceof jQuery)?e:a(e)}if(this.settings.nestedItemSelector){e=e.find("."+this.settings.nestedItemSelector)}e.filter(function(){return this.nodeType===1}).each(a.proxy(function(r,q){q=this.prepare(q);this.$stage.append(q);this._items.push(q);this._mergers.push(q.find("[data-merge]").andSelf("[data-merge]").attr("data-merge")*1||1)},this));this.reset(a.isNumeric(this.settings.startPosition)?this.settings.startPosition:0);this.invalidate("items")};h.prototype.add=function(q,e){e=e===g?this._items.length:this.normalize(e,true);this.trigger("add",{content:q,position:e});if(this._items.length===0||e===this._items.length){this.$stage.append(q);this._items.push(q);this._mergers.push(q.find("[data-merge]").andSelf("[data-merge]").attr("data-merge")*1||1)}else{this._items[e].before(q);this._items.splice(e,0,q);this._mergers.splice(e,0,q.find("[data-merge]").andSelf("[data-merge]").attr("data-merge")*1||1)}this.invalidate("items");this.trigger("added",{content:q,position:e})};h.prototype.remove=function(e){e=this.normalize(e,true);if(e===g){return}this.trigger("remove",{content:this._items[e],position:e});this._items[e].remove();this._items.splice(e,1);this._mergers.splice(e,1);this.invalidate("items");this.trigger("removed",{content:null,position:e})};h.prototype.addTriggerableEvents=function(){var e=a.proxy(function(r,q){return a.proxy(function(s){if(s.relatedTarget!==this){this.suppress([q]);r.apply(this,[].slice.call(arguments,1));this.release([q])}},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(q,r){this.$element.on(q+".owl.carousel",e(r,q+".owl.carousel"))},this))};h.prototype.watchVisibility=function(){if(!q(this.$element.get(0))){this.$element.addClass("owl-hidden");d.clearInterval(this.e._checkVisibile);this.e._checkVisibile=d.setInterval(a.proxy(e,this),500)}function q(r){return r.offsetWidth>0&&r.offsetHeight>0}function e(){if(q(this.$element.get(0))){this.$element.removeClass("owl-hidden");this.refresh();d.clearInterval(this.e._checkVisibile)}}};h.prototype.preloadAutoWidthImages=function(e){var t,q,r,s;t=0;q=this;e.each(function(u,v){r=a(v);s=new Image();s.onload=function(){t++;r.attr("src",s.src);r.css("opacity",1);if(t>=e.length){q.state.imagesLoaded=true;q.initialize()}};s.src=r.attr("src")||r.attr("data-src")||r.attr("data-src-retina")})};h.prototype.destroy=function(){if(this.$element.hasClass(this.settings.themeClass)){this.$element.removeClass(this.settings.themeClass)}if(this.settings.responsive!==false){a(d).off("resize.owl.carousel")}if(this.transitionEndVendor){this.off(this.$stage.get(0),this.transitionEndVendor,this.e._transitionEnd)}for(var e in this._plugins){this._plugins[e].destroy()}if(this.settings.mouseDrag||this.settings.touchDrag){this.$stage.off("mousedown touchstart touchcancel");a(l).off(".owl.dragEvents");this.$stage.get(0).onselectstart=function(){};this.$stage.off("dragstart",function(){return false})}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()};h.prototype.op=function(r,s,e){var q=this.settings.rtl;switch(s){case"<":return q?r>e:r<e;case">":return q?r<e:r>e;case">=":return q?r<=e:r>=e;case"<=":return q?r>=e:r<=e;default:break}};h.prototype.on=function(e,r,q,s){if(e.addEventListener){e.addEventListener(r,q,s)}else{if(e.attachEvent){e.attachEvent("on"+r,q)}}};h.prototype.off=function(e,r,q,s){if(e.removeEventListener){e.removeEventListener(r,q,s)}else{if(e.detachEvent){e.detachEvent("on"+r,q)}}};h.prototype.trigger=function(r,q,s){var t={item:{count:this._items.length,index:this.current()}},u=a.camelCase(a.grep(["on",r,s],function(w){return w}).join("-").toLowerCase()),e=a.Event([r,"owl",s||"carousel"].join(".").toLowerCase(),a.extend({relatedTarget:this},t,q));if(!this._supress[r]){a.each(this._plugins,function(w,v){if(v.onTrigger){v.onTrigger(e)}});this.$element.trigger(e);if(this.settings&&typeof this.settings[u]==="function"){this.settings[u].apply(this,e)}}return e};h.prototype.suppress=function(e){a.each(e,a.proxy(function(r,q){this._supress[q]=true},this))};h.prototype.release=function(e){a.each(e,a.proxy(function(r,q){delete this._supress[q]},this))};h.prototype.browserSupport=function(){this.support3d=p();if(this.support3d){this.transformVendor=o();var e=["transitionend","webkitTransitionEnd","transitionend","oTransitionEnd"];this.transitionEndVendor=e[i()];this.vendorName=this.transformVendor.replace(/Transform/i,"");this.vendorName=this.vendorName!==""?"-"+this.vendorName.toLowerCase()+"-":""}this.state.orientation=d.orientation};function j(e){if(e.touches!==g){return{x:e.touches[0].pageX,y:e.touches[0].pageY}}if(e.touches===g){if(e.pageX!==g){return{x:e.pageX,y:e.pageY}}if(e.pageX===g){return{x:e.clientX,y:e.clientY}}}}function f(q){var u,e,t=l.createElement("div"),r=q;for(u in r){e=r[u];if(typeof t.style[e]!=="undefined"){t=null;return[e,u]}}return[false]}function i(){return f(["transition","WebkitTransition","MozTransition","OTransition"])[1]}function o(){return f(["transform","WebkitTransform","MozTransform","OTransform","msTransform"])[0]}function p(){return f(["perspective","webkitPerspective","MozPerspective","OPerspective","MsPerspective"])[0]}function n(){return"ontouchstart" in d||!!(navigator.msMaxTouchPoints)}function m(){return d.navigator.msPointerEnabled}a.fn.owlCarousel=function(e){return this.each(function(){if(!a(this).data("owlCarousel")){a(this).data("owlCarousel",new h(this,e))}})};a.fn.owlCarousel.Constructor=h})(window.Zepto||window.jQuery,window,document);(function(b,e,d,a){var c=function(f){this._core=f;this._loaded=[];this._handlers={"initialized.owl.carousel change.owl.carousel":b.proxy(function(j){if(!j.namespace){return}if(!this._core.settings||!this._core.settings.lazyLoad){return}if((j.property&&j.property.name=="position")||j.type=="initialized"){var h=this._core.settings,m=(h.center&&Math.ceil(h.items/2)||h.items),l=((h.center&&m*-1)||0),k=((j.property&&j.property.value)||this._core.current())+l,g=this._core.clones().length,o=b.proxy(function(n,p){this.load(p)},this);while(l++<m){this.load(g/2+this._core.relative(k));g&&b.each(this._core.clones(this._core.relative(k++)),o)}}},this)};this._core.options=b.extend({},c.Defaults,this._core.options);this._core.$element.on(this._handlers)};c.Defaults={lazyLoad:false};c.prototype.load=function(h){var f=this._core.$stage.children().eq(h),g=f&&f.find(".owl-lazy");if(!g||b.inArray(f.get(0),this._loaded)>-1){return}g.each(b.proxy(function(j,i){var l=b(i),m,k=(e.devicePixelRatio>1&&l.attr("data-src-retina"))||l.attr("data-src");this._core.trigger("load",{element:l,url:k},"lazy");if(l.is("img")){l.one("load.owl.lazy",b.proxy(function(){l.css("opacity",1);this._core.trigger("loaded",{element:l,url:k},"lazy")},this)).attr("src",k)}else{m=new Image();m.onload=b.proxy(function(){l.css({"background-image":"url("+k+")",opacity:"1"});this._core.trigger("loaded",{element:l,url:k},"lazy")},this);m.src=k}},this));this._loaded.push(f.get(0))};c.prototype.destroy=function(){var f,g;for(f in this.handlers){this._core.$element.off(f,this.handlers[f])}for(g in Object.getOwnPropertyNames(this)){typeof this[g]!="function"&&(this[g]=null)}};b.fn.owlCarousel.Constructor.Plugins.Lazy=c})(window.Zepto||window.jQuery,window,document);(function(b,e,d,a){var c=function(f){this._core=f;this._handlers={"initialized.owl.carousel":b.proxy(function(){if(this._core.settings.autoHeight){this.update()}},this),"changed.owl.carousel":b.proxy(function(g){if(this._core.settings.autoHeight&&g.property.name=="position"){this.update()}},this),"loaded.owl.lazy":b.proxy(function(g){if(this._core.settings.autoHeight&&g.element.closest("."+this._core.settings.itemClass)===this._core.$stage.children().eq(this._core.current())){this.update()}},this)};this._core.options=b.extend({},c.Defaults,this._core.options);this._core.$element.on(this._handlers)};c.Defaults={autoHeight:false,autoHeightClass:"owl-height"};c.prototype.update=function(){this._core.$stage.parent().height(this._core.$stage.children().eq(this._core.current()).height()).addClass(this._core.settings.autoHeightClass)};c.prototype.destroy=function(){var f,g;for(f in this._handlers){this._core.$element.off(f,this._handlers[f])}for(g in Object.getOwnPropertyNames(this)){typeof this[g]!="function"&&(this[g]=null)}};b.fn.owlCarousel.Constructor.Plugins.AutoHeight=c})(window.Zepto||window.jQuery,window,document);(function(b,d,c,a){var e=function(f){this._core=f;this._videos={};this._playing=null;this._fullscreen=false;this._handlers={"resize.owl.carousel":b.proxy(function(g){if(this._core.settings.video&&!this.isInFullScreen()){g.preventDefault()}},this),"refresh.owl.carousel changed.owl.carousel":b.proxy(function(g){if(this._playing){this.stop()}},this),"prepared.owl.carousel":b.proxy(function(g){var h=b(g.content).find(".owl-video");if(h.length){h.css("display","none");this.fetch(h,b(g.content))}},this)};this._core.options=b.extend({},e.Defaults,this._core.options);this._core.$element.on(this._handlers);this._core.$element.on("click.owl.video",".owl-video-play-icon",b.proxy(function(g){this.play(g)},this))};e.Defaults={video:false,videoHeight:false,videoWidth:false};e.prototype.fetch=function(l,h){var j=l.attr("data-vimeo-id")?"vimeo":"youtube",f=l.attr("data-vimeo-id")||l.attr("data-youtube-id"),k=l.attr("data-width")||this._core.settings.videoWidth,g=l.attr("data-height")||this._core.settings.videoHeight,i=l.attr("href");if(i){f=i.match(/(http:|https:|)\/\/(player.|www.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com))\/(video\/|embed\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(\&\S+)?/);if(f[3].indexOf("youtu")>-1){j="youtube"}else{if(f[3].indexOf("vimeo")>-1){j="vimeo"}else{throw new Error("Video URL not supported.")}}f=f[6]}else{throw new Error("Missing video URL.")}this._videos[i]={type:j,id:f,width:k,height:g};h.attr("data-video",i);this.thumbnail(l,this._videos[i])};e.prototype.thumbnail=function(j,p){var h,k,f,m=p.width&&p.height?'style="width:'+p.width+"px;height:"+p.height+'px;"':"",l=j.find("img"),g="src",i="",n=this._core.settings,o=function(q){k='<div class="owl-video-play-icon"></div>';if(n.lazyLoad){h='<div class="owl-video-tn '+i+'" '+g+'="'+q+'"></div>'}else{h='<div class="owl-video-tn" style="opacity:1;background-image:url('+q+')"></div>'}j.after(h);j.after(k)};j.wrap('<div class="owl-video-wrapper"'+m+"></div>");if(this._core.settings.lazyLoad){g="data-src";i="owl-lazy"}if(l.length){o(l.attr(g));l.remove();return false}if(p.type==="youtube"){f="http://img.youtube.com/vi/"+p.id+"/hqdefault.jpg";o(f)}else{if(p.type==="vimeo"){b.ajax({type:"GET",url:"http://vimeo.com/api/v2/video/"+p.id+".json",jsonp:"callback",dataType:"jsonp",success:function(q){f=q[0].thumbnail_large;o(f)}})}}};e.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};e.prototype.play=function(l){this._core.trigger("play",null,"video");if(this._playing){this.stop()}var f=b(l.target||l.srcElement),h=f.closest("."+this._core.settings.itemClass),m=this._videos[h.attr("data-video")],k=m.width||"100%",g=m.height||this._core.$stage.height(),i,j;if(m.type==="youtube"){i='<iframe width="'+k+'" height="'+g+'" src="http://www.youtube.com/embed/'+m.id+"?autoplay=1&v="+m.id+'" frameborder="0" allowfullscreen></iframe>'}else{if(m.type==="vimeo"){i='<iframe src="http://player.vimeo.com/video/'+m.id+'?autoplay=1" width="'+k+'" height="'+g+'" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>'}}h.addClass("owl-video-playing");this._playing=h;j=b('<div style="height:'+g+"px; width:"+k+'px" class="owl-video-frame">'+i+"</div>");f.after(j)};e.prototype.isInFullScreen=function(){var f=c.fullscreenElement||c.mozFullScreenElement||c.webkitFullscreenElement;if(f&&b(f).parent().hasClass("owl-video-frame")){this._core.speed(0);this._fullscreen=true}if(f&&this._fullscreen&&this._playing){return false}if(this._fullscreen){this._fullscreen=false;return false}if(this._playing){if(this._core.state.orientation!==d.orientation){this._core.state.orientation=d.orientation;return false}}return true};e.prototype.destroy=function(){var f,g;this._core.$element.off("click.owl.video");for(f in this._handlers){this._core.$element.off(f,this._handlers[f])}for(g in Object.getOwnPropertyNames(this)){typeof this[g]!="function"&&(this[g]=null)}};b.fn.owlCarousel.Constructor.Plugins.Video=e})(window.Zepto||window.jQuery,window,document);(function(b,e,c,a){var d=function(f){this.core=f;this.core.options=b.extend({},d.Defaults,this.core.options);this.swapping=true;this.previous=a;this.next=a;this.handlers={"change.owl.carousel":b.proxy(function(g){if(g.property.name=="position"){this.previous=this.core.current();this.next=g.property.value}},this),"drag.owl.carousel dragged.owl.carousel translated.owl.carousel":b.proxy(function(g){this.swapping=g.type=="translated"},this),"translate.owl.carousel":b.proxy(function(g){if(this.swapping&&(this.core.options.animateOut||this.core.options.animateIn)){this.swap()}},this)};this.core.$element.on(this.handlers)};d.Defaults={animateOut:false,animateIn:false};d.prototype.swap=function(){if(this.core.settings.items!==1||!this.core.support3d){return}this.core.speed(0);var g,h=b.proxy(this.clear,this),k=this.core.$stage.children().eq(this.previous),j=this.core.$stage.children().eq(this.next),f=this.core.settings.animateIn,i=this.core.settings.animateOut;if(this.core.current()===this.previous){return}if(i){g=this.core.coordinates(this.previous)-this.core.coordinates(this.next);k.css({left:g+"px"}).addClass("animated owl-animated-out").addClass(i).one("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend",h)}if(f){j.addClass("animated owl-animated-in").addClass(f).one("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend",h)}};d.prototype.clear=function(f){b(f.target).css({left:""}).removeClass("animated owl-animated-out owl-animated-in").removeClass(this.core.settings.animateIn).removeClass(this.core.settings.animateOut);this.core.transitionEnd()};d.prototype.destroy=function(){var f,g;for(f in this.handlers){this.core.$element.off(f,this.handlers[f])}for(g in Object.getOwnPropertyNames(this)){typeof this[g]!="function"&&(this[g]=null)}};b.fn.owlCarousel.Constructor.Plugins.Animate=d})(window.Zepto||window.jQuery,window,document);(function(b,e,c,a){var d=function(f){this.core=f;this.core.options=b.extend({},d.Defaults,this.core.options);this.handlers={"translated.owl.carousel refreshed.owl.carousel":b.proxy(function(){this.autoplay()},this),"play.owl.autoplay":b.proxy(function(h,i,g){this.play(i,g)},this),"stop.owl.autoplay":b.proxy(function(){this.stop()},this),"mouseover.owl.autoplay":b.proxy(function(){if(this.core.settings.autoplayHoverPause){this.pause()}},this),"mouseleave.owl.autoplay":b.proxy(function(){if(this.core.settings.autoplayHoverPause){this.autoplay()}},this)};this.core.$element.on(this.handlers)};d.Defaults={autoplay:false,autoplayTimeout:5000,autoplayHoverPause:false,autoplaySpeed:false};d.prototype.autoplay=function(){if(this.core.settings.autoplay&&!this.core.state.videoPlay){e.clearInterval(this.interval);this.interval=e.setInterval(b.proxy(function(){this.play()},this),this.core.settings.autoplayTimeout)}else{e.clearInterval(this.interval)}};d.prototype.play=function(f,g){if(c.hidden===true){return}if(this.core.state.isTouch||this.core.state.isScrolling||this.core.state.isSwiping||this.core.state.inMotion){return}if(this.core.settings.autoplay===false){e.clearInterval(this.interval);return}this.core.next(this.core.settings.autoplaySpeed)};d.prototype.stop=function(){e.clearInterval(this.interval)};d.prototype.pause=function(){e.clearInterval(this.interval)};d.prototype.destroy=function(){var f,g;e.clearInterval(this.interval);for(f in this.handlers){this.core.$element.off(f,this.handlers[f])}for(g in Object.getOwnPropertyNames(this)){typeof this[g]!="function"&&(this[g]=null)}};b.fn.owlCarousel.Constructor.Plugins.autoplay=d})(window.Zepto||window.jQuery,window,document);(function(b,d,c,a){var e=function(f){this._core=f;this._initialized=false;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":b.proxy(function(g){if(this._core.settings.dotsData){this._templates.push(b(g.content).find("[data-dot]").andSelf("[data-dot]").attr("data-dot"))}},this),"add.owl.carousel":b.proxy(function(g){if(this._core.settings.dotsData){this._templates.splice(g.position,0,b(g.content).find("[data-dot]").andSelf("[data-dot]").attr("data-dot"))}},this),"remove.owl.carousel prepared.owl.carousel":b.proxy(function(g){if(this._core.settings.dotsData){this._templates.splice(g.position,1)}},this),"change.owl.carousel":b.proxy(function(h){if(h.property.name=="position"){if(!this._core.state.revert&&!this._core.settings.loop&&this._core.settings.navRewind){var g=this._core.current(),i=this._core.maximum(),j=this._core.minimum();h.data=h.property.value>i?g>=i?j:i:h.property.value<j?i:h.property.value}}},this),"changed.owl.carousel":b.proxy(function(g){if(g.property.name=="position"){this.draw()}},this),"refreshed.owl.carousel":b.proxy(function(){if(!this._initialized){this.initialize();this._initialized=true}this._core.trigger("refresh",null,"navigation");this.update();this.draw();this._core.trigger("refreshed",null,"navigation")},this)};this._core.options=b.extend({},e.Defaults,this._core.options);this.$element.on(this._handlers)};e.Defaults={nav:false,navRewind:true,navText:["prev","next"],navSpeed:false,navElement:"div",navContainer:false,navContainerClass:"owl-nav",navClass:["owl-prev","owl-next"],slideBy:1,dotClass:"owl-dot",dotsClass:"owl-dots",dots:true,dotsEach:false,dotData:false,dotsSpeed:false,dotsContainer:false,controlsClass:"owl-controls"};e.prototype.initialize=function(){var f,g,h=this._core.settings;if(!h.dotsData){this._templates=[b("<div>").addClass(h.dotClass).append(b("<span>")).prop("outerHTML")]}if(!h.navContainer||!h.dotsContainer){this._controls.$container=b("<div>").addClass(h.controlsClass).appendTo(this.$element)}this._controls.$indicators=h.dotsContainer?b(h.dotsContainer):b("<div>").hide().addClass(h.dotsClass).appendTo(this._controls.$container);this._controls.$indicators.on("click","div",b.proxy(function(i){var j=b(i.target).parent().is(this._controls.$indicators)?b(i.target).index():b(i.target).parent().index();i.preventDefault();this.to(j,h.dotsSpeed)},this));f=h.navContainer?b(h.navContainer):b("<div>").addClass(h.navContainerClass).prependTo(this._controls.$container);this._controls.$next=b("<"+h.navElement+">");this._controls.$previous=this._controls.$next.clone();this._controls.$previous.addClass(h.navClass[0]).html(h.navText[0]).hide().prependTo(f).on("click",b.proxy(function(i){this.prev(h.navSpeed)},this));this._controls.$next.addClass(h.navClass[1]).html(h.navText[1]).hide().appendTo(f).on("click",b.proxy(function(i){this.next(h.navSpeed)},this));for(g in this._overrides){this._core[g]=b.proxy(this[g],this)}};e.prototype.destroy=function(){var f,h,i,g;for(f in this._handlers){this.$element.off(f,this._handlers[f])}for(h in this._controls){this._controls[h].remove()}for(g in this.overides){this._core[g]=this._overrides[g]}for(i in Object.getOwnPropertyNames(this)){typeof this[i]!="function"&&(this[i]=null)}};e.prototype.update=function(){var o,m,n,l=this._core.settings,h=this._core.clones().length/2,f=h+this._core.items().length,g=l.center||l.autoWidth||l.dotData?1:l.dotsEach||l.items;if(l.slideBy!=="page"){l.slideBy=Math.min(l.slideBy,l.items)}if(l.dots||l.slideBy=="page"){this._pages=[];for(o=h,m=0,n=0;o<f;o++){if(m>=g||m===0){this._pages.push({start:o-h,end:o-h+g-1});m=0,++n}m+=this._core.mergers(this._core.relative(o))}}};e.prototype.draw=function(){var j,f,h="",k=this._core.settings,g=this._core.$stage.children(),l=this._core.relative(this._core.current());if(k.nav&&!k.loop&&!k.navRewind){this._controls.$previous.toggleClass("disabled",l<=0);this._controls.$next.toggleClass("disabled",l>=this._core.maximum())}this._controls.$previous.toggle(k.nav);this._controls.$next.toggle(k.nav);if(k.dots){j=this._pages.length-this._controls.$indicators.children().length;if(k.dotData&&j!==0){for(f=0;f<this._controls.$indicators.children().length;f++){h+=this._templates[this._core.relative(f)]}this._controls.$indicators.html(h)}else{if(j>0){h=new Array(j+1).join(this._templates[0]);this._controls.$indicators.append(h)}else{if(j<0){this._controls.$indicators.children().slice(j).remove()}}}this._controls.$indicators.find(".active").removeClass("active");this._controls.$indicators.children().eq(b.inArray(this.current(),this._pages)).addClass("active")}this._controls.$indicators.toggle(k.dots)};e.prototype.onTrigger=function(f){var g=this._core.settings;f.page={index:b.inArray(this.current(),this._pages),count:this._pages.length,size:g&&(g.center||g.autoWidth||g.dotData?1:g.dotsEach||g.items)}};e.prototype.current=function(){var f=this._core.relative(this._core.current());return b.grep(this._pages,function(g){return g.start<=f&&g.end>=f}).pop()};e.prototype.getPosition=function(g){var i,f,h=this._core.settings;if(h.slideBy=="page"){i=b.inArray(this.current(),this._pages);f=this._pages.length;g?++i:--i;i=this._pages[((i%f)+f)%f].start}else{i=this._core.relative(this._core.current());f=this._core.items().length;g?i+=h.slideBy:i-=h.slideBy}return i};e.prototype.next=function(f){b.proxy(this._overrides.to,this._core)(this.getPosition(true),f)};e.prototype.prev=function(f){b.proxy(this._overrides.to,this._core)(this.getPosition(false),f)};e.prototype.to=function(i,f,h){var g;if(!h){g=this._pages.length;b.proxy(this._overrides.to,this._core)(this._pages[((i%g)+g)%g].start,f)}else{b.proxy(this._overrides.to,this._core)(i,f)}};b.fn.owlCarousel.Constructor.Plugins.Navigation=e})(window.Zepto||window.jQuery,window,document);(function(b,d,c,a){var e=function(f){this._core=f;this._hashes={};this.$element=this._core.$element;this._handlers={"initialized.owl.carousel":b.proxy(function(){if(this._core.settings.startPosition=="URLHash"){b(d).trigger("hashchange.owl.navigation")}},this),"prepared.owl.carousel":b.proxy(function(g){var h=b(g.content).find("[data-hash]").andSelf("[data-hash]").attr("data-hash");this._hashes[h]=g.content},this)};this._core.options=b.extend({},e.Defaults,this._core.options);this.$element.on(this._handlers);b(d).on("hashchange.owl.navigation",b.proxy(function(){var g=d.location.hash.substring(1),h=this._core.$stage.children(),i=this._hashes[g]&&h.index(this._hashes[g])||0;if(!g){return false}this._core.to(i,false,true)},this))};e.Defaults={URLhashListener:false};e.prototype.destroy=function(){var f,g;b(d).off("hashchange.owl.navigation");for(f in this._handlers){this._core.$element.off(f,this._handlers[f])}for(g in Object.getOwnPropertyNames(this)){typeof this[g]!="function"&&(this[g]=null)}};b.fn.owlCarousel.Constructor.Plugins.Hash=e})(window.Zepto||window.jQuery,window,document);