vendor: 13,705 bytes, line 1
1function popupwindow(t,e,i,s){var n=window.top.outerHeight/2+window.top.screenY-s/2,r=window.top.outerWidth/2+window.top.screenX-i/2;return window.open(t,e,"toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, copyhistory=no, width="+i+", height="+s+", top="+n+", left="+r)}!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.charAt(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,checkVisibility:!0,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",slideTransition:"",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,r=[];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,r[s]=n?e*i:this._items[s].width();this._widths=r}},{filter:["items","settings"],run:function(){var e=[],i=this._items,s=this.settings,n=Math.max(2*s.items,4),r=2*Math.ceil(i.length/2),o=s.loop&&i.length?s.rewind?n:Math.max(n,r):0,a="",l="";for(o/=2;o>0;)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)),l=i[e[e.length-1]][0].outerHTML+l,o-=1;this._clones=e,t(a).addClass("cloned").appendTo(this.$stage),t(l).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,r=[];++i<e;)s=r[i-1]||0,n=this._widths[this.relative(i)]+this.settings.margin,r.push(s+n*t);this._coordinates=r}},{filter:["width","items","settings"],run:function(){var t=this.settings.stagePadding,e=this._coordinates,i={width:Math.ceil(Math.abs(e[e.length-1]))+2*t,"padding-left":t||"","padding-right":t||""};this.$stage.css(i)}},{filter:["width","items","settings"],run:function(t){var e=this._coordinates.length,i=!this.settings.autoWidth,s=this.$stage.children();if(i&&t.items.merge)for(;e--;)t.css.width=this._widths[this.relative(e)],s.eq(e).css(t.css);else i&&(t.css.width=t.items.width,s.css(t.css))}},{filter:["items"],run:function(){this._coordinates.length<1&&this.$stage.removeAttr("style")}},{filter:["width","items","settings"],run:function(t){t.current=t.current?this.$stage.children().index(t.current):0,t.current=Math.max(this.minimum(),Math.min(this.maximum(),t.current)),this.reset(t.current)}},{filter:["position"],run:function(){this.animate(this.coordinates(this._current))}},{filter:["width","position","items","settings"],run:function(){var t,e,i,s,n=this.settings.rtl?1:-1,r=2*this.settings.stagePadding,o=this.coordinates(this.current())+r,a=o+this.width()*n,l=[];for(i=0,s=this._coordinates.length;s>i;i++)t=this._coordinates[i-1]||0,e=Math.abs(this._coordinates[i])+r*n,(this.op(t,"<=",o)&&this.op(t,">",a)||this.op(e,"<",o)&&this.op(e,">",a))&&l.push(i);this.$stage.children(".active").removeClass("active"),this.$stage.children(":eq("+l.join("), :eq(")+")").addClass("active"),this.$stage.children(".center").removeClass("center"),this.settings.center&&this.$stage.children().eq(this.current()).addClass("center")}}],n.prototype.initializeStage=function(){this.$stage=this.$element.find("."+this.settings.stageClass),this.$stage.length||(this.$element.addClass(this.options.loadingClass),this.$stage=t("<"+this.settings.stageElement+">",{"class":this.settings.stageClass}).wrap(t("<div/>",{"class":this.settings.stageOuterClass})),this.$element.append(this.$stage.parent()))},n.prototype.initializeItems=function(){var e=this.$element.find(".owl-item");return e.length?(this._items=e.get().map(function(e){return t(e)}),this._mergers=this._items.map(function(){return 1}),void this.refresh()):(this.replace(this.$element.children().not(this.$stage.parent())),this.isVisible()?this.refresh():this.invalidate("width"),void this.$element.removeClass(this.options.loadingClass).addClass(this.options.loadedClass))},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 t,e,i;t=this.$element.find("img"),e=this.settings.nestedItemSelector?"."+this.settings.nestedItemSelector:s,i=this.$element.children(e).width(),t.length&&0>=i&&this.preloadAutoWidthImages(t)}this.initializeStage(),this.initializeItems(),this.registerEventHandlers(),this.leave("initializing"),this.trigger("initialized")},n.prototype.isVisible=function(){return this.settings.checkVisibility?this.$element.is(":visible"):!0},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]),"function"==typeof n.stagePadding&&(n.stagePadding=n.stagePadding()),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),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.isVisible()?(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)<Math.abs(s.y)&&this.is("valid")||(e.preventDefault(),this.enter("dragging"),this.trigger("drag"))},this)))},n.prototype.onDragMove=function(t){var e=null,i=null,s=null,n=this.difference(this._drag.pointer,this.pointer(t)),r=this.difference(this._drag.stage.start,n);this.is("dragging")&&(t.preventDefault(),this.settings.loop?(e=this.coordinates(this.minimum()),i=this.coordinates(this.maximum()+1)-e,r.x=((r.x-e)%i+i)%i+e):(e=this.settings.rtl?this.coordinates(this.maximum()):this.coordinates(this.minimum()),i=this.settings.rtl?this.coordinates(this.minimum()):this.coordinates(this.maximum()),s=this.settings.pullDrag?-1*n.x/5:0,r.x=Math.max(Math.min(r.x,e+s),i+s)),this._drag.stage.current=r,this.animate(r.x))},n.prototype.onDragEnd=function(e){var s=this.difference(this._drag.pointer,this.pointer(e)),n=this._drag.stage.current,r=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?r:this._drag.direction)),this.invalidate("position"),this.update(),this._drag.direction=r,(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 n=-1,r=30,o=this.width(),a=this.coordinates();return this.settings.freeDrag||t.each(a,t.proxy(function(t,l){return"left"===i&&e>l-r&&l+r>e?n=t:"right"===i&&e>l-o-r&&l-o+r>e?n=t+1:this.op(e,"<",l)&&this.op(e,">",a[t+1]!==s?a[t+1]:l-o)&&(n="left"===i?t+1:t),-1===n},this)),this.settings.loop||(this.op(e,">",a[this.minimum()])?n=e=this.minimum():this.op(e,"<",a[this.maximum()])&&(n=e=this.maximum())),n},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"+(this.settings.slideTransition?" "+this.settings.slideTransition:"")}):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(t,e){var i=this._items.length,n=e?0:this._clones.length;
vendor: 5,473 bytes, line 1
1return!this.isNumeric(t)||1>i?t=s:(0>t||t>=i+n)&&(t=((t-n/2)%i+i)%i+n/2),t},n.prototype.relative=function(t){return t-=this._clones.length/2,this.normalize(t,!0)},n.prototype.maximum=function(t){var e,i,s,n=this.settings,r=this._coordinates.length;if(n.loop)r=this._clones.length/2+this._items.length-1;else if(n.autoWidth||n.merge){if(e=this._items.length)for(i=this._items[--e].width(),s=this.$element.width();e--&&(i+=this._items[e].width()+this.settings.margin,!(i>s)););r=e+1}else r=n.center?this._items.length-1:this._items.length-n.items;return t&&(r-=this._clones.length/2),Math.max(r,0)},n.prototype.minimum=function(t){return t?0:this._clones.length/2},n.prototype.items=function(t){return t===s?this._items.slice():(t=this.normalize(t,!0),this._items[t])},n.prototype.mergers=function(t){return t===s?this._mergers.slice():(t=this.normalize(t,!0),this._mergers[t])},n.prototype.clones=function(e){var i=this._clones.length/2,n=i+this._items.length,r=function(t){return t%2===0?n+t/2:i-(t+1)/2};return e===s?t.map(this._clones,function(t,e){return r(e)}):t.map(this._clones,function(t,i){return t===e?r(i):null})},n.prototype.speed=function(t){return t!==s&&(this._speed=t),this._speed},n.prototype.coordinates=function(e){var i,n=1,r=e-1;return e===s?t.map(this._coordinates,t.proxy(function(t,e){return this.coordinates(e)},this)):(this.settings.center?(this.settings.rtl&&(n=-1,r=e+1),i=this._coordinates[e],i+=(this.width()-i+(this._coordinates[r]||0))/2*n):i=this._coordinates[r]||0,i=Math.ceil(i))},n.prototype.duration=function(t,e,i){return 0===i?0:Math.min(Math.max(Math.abs(e-t),1),6)*Math.abs(i||this.settings.smartSpeed)},n.prototype.to=function(t,e){var i=this.current(),s=null,n=t-this.relative(i),r=(n>0)-(0>n),o=this._items.length,a=this.minimum(),l=this.maximum();this.settings.loop?(!this.settings.rewind&&Math.abs(n)>o/2&&(n+=-1*r*o),t=i+n,s=((t-a)%o+o)%o+a,s!==t&&l>=s-n&&s-n>0&&(i=s-n,t=s,this.reset(i))):this.settings.rewind?(l+=1,t=(t%l+l)%l):t=Math.max(a,Math.min(l,t)),this.speed(this.duration(i,t,e)),this.current(t),this.isVisible()&&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;return this.options.responsiveBaseElement!==e?s=t(this.options.responsiveBaseElement).width():e.innerWidth?s=e.innerWidth:i.documentElement&&i.documentElement.clientWidth?s=i.documentElement.clientWidth:console.warn("Can not detect viewport width."),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]").addBack("[data-merge]").attr("data-merge")||1)},this)),this.reset(this.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]").addBack("[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]").addBack("[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.$stage.remove(),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.carousel")}
vendor: 22,656 bytes, lines 1-2
1,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,r,o){var a={item:{count:this._items.length,index:this.current()}},l=t.camelCase(t.grep(["on",e,s],function(t){return t}).join("-").toLowerCase()),c=t.Event([e,"owl",s||"carousel"].join(".").toLowerCase(),t.extend({relatedTarget:this},a,i));return this._supress[e]||(t.each(this._plugins,function(t,e){e.onTrigger&&e.onTrigger(c)}),this.register({type:n.Type.Event,name:e}),this.$element.trigger(c),this.settings&&"function"==typeof this.settings[l]&&this.settings[l].call(this,c)),c},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.isNumeric=function(t){return!isNaN(parseFloat(t))},n.prototype.difference=function(t,e){return{x:t.x-e.x,y:t.y-e.y}},t.fn.owlCarousel=function(e){var i=Array.prototype.slice.call(arguments,1);return this.each(function(){var s=t(this),r=s.data("owl.carousel");r||(r=new n(this,"object"==typeof e&&e),s.data("owl.carousel",r),t.each(["next","prev","to","destroy","refresh","replace","add","remove"],function(e,i){r.register({type:n.Type.Event,name:i}),r.$element.on(i+".owl.carousel.core",t.proxy(function(t){t.namespace&&t.relatedTarget!==this&&(this.suppress([i]),r[i].apply(this,[].slice.call(arguments,1)),this.release([i]))},r))})),"string"==typeof e&&"_"!==e.charAt(0)&&r[e].apply(r,i)})},t.fn.owlCarousel.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.carousel":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.isVisible(),this._interval=e.setInterval(t.proxy(this.refresh,this),this._core.settings.autoRefreshInterval))},n.prototype.refresh=function(){this._core.isVisible()!==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.owlCarousel.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.carousel change.owl.carousel resized.owl.carousel":t.proxy(function(e){if(e.namespace&&this._core.settings&&this._core.settings.lazyLoad&&(e.property&&"position"==e.property.name||"initialized"==e.type)){var i=this._core.settings,n=i.center&&Math.ceil(i.items/2)||i.items,r=i.center&&-1*n||0,o=(e.property&&e.property.value!==s?e.property.value:this._core.current())+r,a=this._core.clones().length,l=t.proxy(function(t,e){this.load(e)},this);for(i.lazyLoadEager>0&&(n+=i.lazyLoadEager,i.loop&&(o-=i.lazyLoadEager,n++));r++<n;)this.load(a/2+this._core.relative(o)),a&&t.each(this._core.clones(this._core.relative(o)),l),o++}},this)},this._core.options=t.extend({},n.Defaults,this._core.options),this._core.$element.on(this._handlers)};n.Defaults={lazyLoad:!1,lazyLoadEager:0},n.prototype.load=function(i){var s=this._core.$stage.children().eq(i),n=s&&s.find(".owl-lazy");!n||t.inArray(s.get(0),this._loaded)>-1||(n.each(t.proxy(function(i,s){var n,r=t(s),o=e.devicePixelRatio>1&&r.attr("data-src-retina")||r.attr("data-src")||r.attr("data-srcset");this._core.trigger("load",{element:r,url:o},"lazy"),r.is("img")?r.one("load.owl.lazy",t.proxy(function(){r.css("opacity",1),this._core.trigger("loaded",{element:r,url:o},"lazy")},this)).attr("src",o):r.is("source")?r.one("load.owl.lazy",t.proxy(function(){this._core.trigger("loaded",{element:r,url:o},"lazy")},this)).attr("srcset",o):(n=new Image,n.onload=t.proxy(function(){r.css({"background-image":'url("'+o+'")',opacity:"1"}),this._core.trigger("loaded",{element:r,url:o},"lazy")},this),n.src=o)},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.owlCarousel.Constructor.Plugins.Lazy=n}(window.Zepto||window.jQuery,window,document),function(t,e,i,s){var n=function(i){this._core=i,this._previousHeight=null,this._handlers={"initialized.owl.carousel refreshed.owl.carousel":t.proxy(function(t){t.namespace&&this._core.settings.autoHeight&&this.update()},this),"changed.owl.carousel":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),this._intervalId=null;var s=this;t(e).on("load",function(){s._core.settings.autoHeight&&s.update()}),t(e).resize(function(){s._core.settings.autoHeight&&(null!=s._intervalId&&clearTimeout(s._intervalId),s._intervalId=setTimeout(function(){s.update()},250))})};n.Defaults={autoHeight:!1,autoHeightClass:"owl-height"},n.prototype.update=function(){var e=this._core._current,i=e+this._core.settings.items,s=this._core.settings.lazyLoad,n=this._core.$stage.children().toArray().slice(e,i),r=[],o=0;t.each(n,function(e,i){r.push(t(i).height())}),o=Math.max.apply(null,r),1>=o&&s&&this._previousHeight&&(o=this._previousHeight),this._previousHeight=o,this._core.$stage.parent().height(o).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.owlCarousel.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.carousel":t.proxy(function(t){t.namespace&&this._core.register({type:"state",name:"playing",tags:["interacting"]})},this),"resize.owl.carousel":t.proxy(function(t){t.namespace&&this._core.settings.video&&this.isInFullScreen()&&t.preventDefault()},this),"refreshed.owl.carousel":t.proxy(function(t){t.namespace&&this._core.is("resizing")&&this._core.$stage.find(".cloned .owl-video-frame").remove()},this),"changed.owl.carousel":t.proxy(function(t){t.namespace&&"position"===t.property.name&&this._playing&&this.stop()},this),"prepared.owl.carousel":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=function(){return t.attr("data-vimeo-id")?"vimeo":t.attr("data-vzaar-id")?"vzaar":"youtube"}(),s=t.attr("data-vimeo-id")||t.attr("data-youtube-id")||t.attr("data-vzaar-id"),n=t.attr("data-width")||this._core.settings.videoWidth,r=t.attr("data-height")||this._core.settings.videoHeight,o=t.attr("href");if(!o)throw new Error("Missing video URL.");if(s=o.match(/(http:|https:|)\/\/(player.|www.|app.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com|be\-nocookie\.com)|vzaar\.com)\/(video\/|videos\/|embed\/|channels\/.+\/|groups\/.+\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(\&\S+)?/),s[3].indexOf("youtu")>-1)i="youtube";else if(s[3].indexOf("vimeo")>-1)i="vimeo";else{if(!(s[3].indexOf("vzaar")>-1))throw new Error("Video URL not supported.");i="vzaar"}s=s[6],this._videos[o]={type:i,id:s,width:n,height:r},e.attr("data-video",o),this.thumbnail(t,this._videos[o])},n.prototype.thumbnail=function(e,i){var s,n,r,o=i.width&&i.height?"width:"+i.width+"px;height:"+i.height+"px;":"",a=e.find("img"),l="src",c="",h=this._core.settings,d=function(i){n='<div class="owl-video-play-icon"></div>',s=h.lazyLoad?t("<div/>",{"class":"owl-video-tn "+c,srcType:i}):t("<div/>",{"class":"owl-video-tn",style:"opacity:1;background-image:url("+i+")"}),e.after(s),e.after(n)};return e.wrap(t("<div/>",{"class":"owl-video-wrapper",style:o})),this._core.settings.lazyLoad&&(l="data-src",c="owl-lazy"),a.length?(d(a.attr(l)),a.remove(),!1):void("youtube"===i.type?(r="//img.youtube.com/vi/"+i.id+"/hqdefault.jpg",d(r)):"vimeo"===i.type?t.ajax({type:"GET",url:"//vimeo.com/api/v2/video/"+i.id+".json",jsonp:"callback",dataType:"jsonp",success:function(t){r=t[0].thumbnail_large,d(r)}}):"vzaar"===i.type&&t.ajax({type:"GET",url:"//vzaar.com/api/videos/"+i.id+".json",jsonp:"callback",dataType:"jsonp",success:function(t){r=t.framegrab_url,d(r)}}))},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,n=t(e.target),r=n.closest("."+this._core.settings.itemClass),o=this._videos[r.attr("data-video")],a=o.width||"100%",l=o.height||this._core.$stage.height();this._playing||(this._core.enter("playing"),this._core.trigger("play",null,"video"),r=this._core.items(this._core.relative(r.index())),this._core.reset(r.index()),i=t('<iframe frameborder="0" allowfullscreen mozallowfullscreen webkitAllowFullScreen ></iframe>'),i.attr("height",l),i.attr("width",a),"youtube"===o.type?i.attr("src","//www.youtube.com/embed/"+o.id+"?autoplay=1&rel=0&v="+o.id):"vimeo"===o.type?i.attr("src","//player.vimeo.com/video/"+o.id+"?autoplay=1"):"vzaar"===o.type&&i.attr("src","//view.vzaar.com/"+o.id+"/player?autoplay=true"),s=t(i).wrap('<div class="owl-video-frame" />').insertAfter(r.find(".owl-video")),this._playing=r.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.owlCarousel.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.carousel":t.proxy(function(t){t.namespace&&"position"==t.property.name&&(this.previous=this.core.current(),this.next=t.property.value)},this),"drag.owl.carousel dragged.owl.carousel translated.owl.carousel":t.proxy(function(t){ 2t.namespace&&(this.swapping="translated"==t.type)},this),"translate.owl.carousel":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),r=this.core.settings.animateIn,o=this.core.settings.animateOut;this.core.current()!==this.previous&&(o&&(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(o)),r&&n.one(t.support.animation.end,i).addClass("animated owl-animated-in").addClass(r))}},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.owlCarousel.Constructor.Plugins.Animate=n}(window.Zepto||window.jQuery,window,document),function(t,e,i,s){var n=function(e){this._core=e,this._call=null,this._time=0,this._timeout=0,this._paused=!0,this._handlers={"changed.owl.carousel":t.proxy(function(t){t.namespace&&"settings"===t.property.name?this._core.settings.autoplay?this.play():this.stop():t.namespace&&"position"===t.property.name&&this._paused&&(this._time=0)},this),"initialized.owl.carousel":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),"touchstart.owl.core":t.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"touchend.owl.core":t.proxy(function(){this._core.settings.autoplayHoverPause&&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._next=function(s){this._call=e.setTimeout(t.proxy(this._next,this,s),this._timeout*(Math.round(this.read()/this._timeout)+1)-this.read()),this._core.is("interacting")||i.hidden||this._core.next(s||this._core.settings.autoplaySpeed)},n.prototype.read=function(){return(new Date).getTime()-this._time},n.prototype.play=function(i,s){var n;this._core.is("rotating")||this._core.enter("rotating"),i=i||this._core.settings.autoplayTimeout,n=Math.min(this._time%(this._timeout||i),i),this._paused?(this._time=this.read(),this._paused=!1):e.clearTimeout(this._call),this._time+=this.read()%i-n,this._timeout=i,this._call=e.setTimeout(t.proxy(this._next,this,s),i-n)},n.prototype.stop=function(){this._core.is("rotating")&&(this._time=0,this._paused=!0,e.clearTimeout(this._call),this._core.leave("rotating"))},n.prototype.pause=function(){this._core.is("rotating")&&!this._paused&&(this._time=this.read(),this._paused=!0,e.clearTimeout(this._call))},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.owlCarousel.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.carousel":t.proxy(function(e){e.namespace&&this._core.settings.dotsData&&this._templates.push('<div class="'+this._core.settings.dotClass+'">'+t(e.content).find("[data-dot]").addBack("[data-dot]").attr("data-dot")+"</div>")},this),"added.owl.carousel":t.proxy(function(t){t.namespace&&this._core.settings.dotsData&&this._templates.splice(t.position,0,this._templates.pop())},this),"remove.owl.carousel":t.proxy(function(t){t.namespace&&this._core.settings.dotsData&&this._templates.splice(t.position,1)},this),"changed.owl.carousel":t.proxy(function(t){t.namespace&&"position"==t.property.name&&this.draw()},this),"initialized.owl.carousel":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.carousel":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:['<span aria-label="Previous">‹</span>','<span aria-label="Next">›</span>'],navSpeed:!1,navElement:'button type="button" role="presentation"',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("<div>").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('<button role="button">').addClass(i.dotClass).append(t("<span>")).prop("outerHTML")]),this._controls.$absolute=(i.dotsContainer?t(i.dotsContainer):t("<div>").addClass(i.dotsClass).appendTo(this.$element)).addClass("disabled"),this._controls.$absolute.on("click","button",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,n;n=this._core.settings;for(t in this._handlers)this.$element.off(t,this._handlers[t]);for(e in this._controls)"$relative"===e&&n.navContainer?this._controls[e].html(""):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,r=this._core.maximum(!0),o=this._core.settings,a=o.center||o.autoWidth||o.dotsData?1:o.dotsEach||o.items;if("page"!==o.slideBy&&(o.slideBy=Math.min(o.slideBy,o.items)),o.dots||"page"==o.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(r,t-s),end:t-s+a-1}),Math.min(r,t-s)===r)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()),r=i.loop||i.rewind;this._controls.$relative.toggleClass("disabled",!i.nav||s),i.nav&&(this._controls.$previous.toggleClass("disabled",!r&&n<=this._core.minimum(!0)),this._controls.$next.toggleClass("disabled",!r&&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&&this._pages.length?(n=this._pages.length,t.proxy(this._overrides.to,this._core)(this._pages[(e%n+n)%n].start,i)):t.proxy(this._overrides.to,this._core)(e,i)},t.fn.owlCarousel.Constructor.Plugins.Navigation=n}
2(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.carousel":t.proxy(function(i){i.namespace&&"URLHash"===this._core.settings.startPosition&&t(e).trigger("hashchange.owl.navigation")},this),"prepared.owl.carousel":t.proxy(function(e){if(e.namespace){var i=t(e.content).find("[data-hash]").addBack("[data-hash]").attr("data-hash");if(!i)return;this._hashes[i]=e.content}},this),"changed.owl.carousel":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(),r=this._hashes[i]&&n.index(this._hashes[i]);r!==s&&r!==this._core.current()&&this._core.to(this._core.relative(r),!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.owlCarousel.Constructor.Plugins.Hash=n}(window.Zepto||window.jQuery,window,document),function(t,e,i,s){function n(e,i){var n=!1,r=e.charAt(0).toUpperCase()+e.slice(1);return t.each((e+" "+a.join(r+" ")+r).split(" "),function(t,e){return o[e]!==s?(n=i?e:!0,!1):void 0}),n}function r(t){return n(t,!0)}var o=t("<support>").get(0).style,a="Webkit Moz O ms".split(" "),l={transition:{end:{WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",transition:"transitionend"}},animation:{end:{WebkitAnimation:"webkitAnimationEnd",MozAnimation:"animationend",OAnimation:"oAnimationEnd",animation:"animationend"}}},c={csstransforms:function(){return!!n("transform")},csstransforms3d:function(){return!!n("perspective")},csstransitions:function(){return!!n("transition")},cssanimations:function(){return!!n("animation")}};c.csstransitions()&&(t.support.transition=new String(r("transition")),t.support.transition.end=l.transition.end[t.support.transition]),c.cssanimations()&&(t.support.animation=new String(r("animation")),t.support.animation.end=l.animation.end[t.support.animation]),c.csstransforms()&&(t.support.transform=new String(r("transform")),t.support.transform3d=c.csstransforms3d())}(window.Zepto||window.jQuery,window,document),jQuery(function(t){function e(){var e=parseInt(t("#conversion-a").val()),o=parseInt(t("#conversion-b").val()),a=parseInt(t("#trafic-a").val()),c=parseInt(t("#trafic-b").val()),h=t("#sect option:selected").text().substring(0,2)/100||.95;if(a>=e&&c>o){var d=e/a,u=o/c,p=(u-d)/d*100,m=Math.sqrt(d*(1-d)/a),g=Math.sqrt(u*(1-u)/c),f=(u-d)/m,v=Math.sqrt(Math.pow(m,2)+Math.pow(g,2)),y=(u-d)/v,b=s(y),_=n(b,h),w=d/u;t("#CRCA").val(100*d.toFixed(5)+"%"),t("#CRCB").val(100*u.toFixed(5)+"%"),t("#RCCR").val(p.toFixed(3)+"%"),t("#ES").val(f.toFixed(3)+"%"),t("#PV").val(100*b.toFixed(3)+"%"),t("#SIG").val(100*(1-b).toFixed(3)+"%"),console.log(_,w,h),r(_,w,h);var C=Math.min(d,u),x=Math.max(m,g),k=Math.max(d,u),E=Math.max(a,c),F=C-4*x,A=k+4*x,P=1/(m*Math.sqrt(2*Math.PI)),L=1/(g*Math.sqrt(2*Math.PI)),T=Math.max(P,L),D=parseInt(d3.select(".graph").style("width")),S=400,z=50,M=d3.scale.linear().domain([0,T]).range([0+z,S-z]),I=d3.scale.linear().domain([E,0]).range([0+z,S-z]),$=d3.scale.linear().domain([F,A]).range([0+z,D-z]);t(".graph").empty();var N=d3.select(".graph").append("svg:svg").attr("width",D).attr("height",S),O=N.append("svg:g").attr("transform","translate(0, 400)");i(d,m,function(e){var i,s,n,r,o=d3.svg.line().x(function(t){return $(t.x)}).y(function(t){return-1*M(t.y)});O.append("svg:path").attr("d",o(e));var a=t("#sect option:selected").text().substring(0,2)/100;.9==a?(r=d+1.64486*m,n=d-1.64486*m):.95==a?(r=d+1.95997*m,n=d-1.95997*m):(r=d+2.57585*m,n=d-2.57585*m),e.map(function(t,e){t.x<n&&(i=e)}),datalphag=e.slice(0,i);var l=d3.svg.area().x(function(t){return $(t.x)}).y0(-z).y1(function(t){return-1*M(t.y)});O.append("svg:path").datum(datalphag).attr("class","fillred").attr("d",l),e.map(function(t,e){t.x<r&&(s=e)}),datalphad=e.slice(s,e.length);var c=d3.svg.area().x(function(t){return $(t.x)}).y0(-z).y1(function(t){return-1*M(t.y)});O.append("svg:path").datum(datalphad).attr("class","fillred").attr("d",c),N.append("g").append("line").attr("x1",$(n)).attr("x2",$(n)).attr("y1",0).attr("y2",S-40).attr("class","alphaclss"),N.append("g").append("line").attr("x1",$(r)).attr("x2",$(r)).attr("y1",0).attr("y2",S-40).attr("class","alphaclss"),N.append("g").append("line").attr("x1",$(d)).attr("x2",$(d)).attr("y1",0).attr("y2",S-40).attr("class","alphaclass")}),i(u,g,function(t){var e=d3.svg.line().x(function(t){return $(t.x)}).y(function(t){return-1*M(t.y)});O.append("svg:path").attr("d",e(t)).style("stroke","red"),N.append("g").append("line").attr("x1",$(u)).attr("x2",$(u)).attr("y1",0).attr("y2",S-40).attr("class","alphaclass")}),N.append("text").attr("x",$(d)).attr("y",I(a)-10).attr("dy","-.35em").style("font-weight","bold").style("text-anchor","middle").style("fill","steelblue").text("Variation A"),N.append("text").attr("x",$(u)).attr("y",I(c)-10).attr("dy","-.35em").style("font-weight","bold").style("text-anchor","middle").style("fill","red").text("Variation B");var H=d3.svg.axis().scale(I).orient("left");N.append("g").attr("transform","translate(50, 0)").call(H),"fr"==l?N.append("text").attr("transform","rotate(90)").attr("x",S/2).attr("y",-50).attr("dy","-.35em").attr("class","textlegend").style("font-weight","bold").style("text-anchor","middle").text("Puissance"):N.append("text").attr("transform","rotate(90)").attr("x",S/2).attr("y",-50).attr("dy","-.35em").attr("class","textlegend").style("font-weight","bold").style("text-anchor","middle");var R=d3.svg.axis().scale($);"fr"==l?(N.append("g").attr("transform","translate(0, 350)").call(R),N.append("text").attr("x",D/2).attr("y",S-1).attr("dy","-.35em").style("font-weight","bold").attr("class","textlegend").style("text-anchor","middle").text("Taux de Conversion")):(N.append("g").attr("transform","translate(0, 350)").call(R),N.append("text").attr("x",D/2).attr("y",S-1).attr("dy","-.35em").style("font-weight","bold").attr("class","textlegend").style("text-anchor","middle").text("Conversion Rate")),t(".output").slideDown("slow")}else"fr"==l?t("#test-message p:first").html("La conversion ne peut pas être supérieure au trafic total"):t("#test-message p:first").html("Conversion can not be higher than total traffic"),t("#test-message").addClass("alert-danger"),t(".intro").fadeOut("slow",function(){t("#test-message").fadeIn("slow")})}function i(e,i,s){t.ajax({url:"../../ab-testing-calculator/normal.php",type:"post",dataType:"json",data:{mu:e,sigma:i},success:function(t,e){data2=t.map(function(t,e){return{x:t[0],y:t[1]}}),s(data2)}
2,error:function(t,e,i){console.log(t),console.log("Details: "+e+"\nError:"+i)}})}function s(t){return Math.exp(-Math.pow(t,2)/2)/Math.sqrt(2*Math.PI)}function n(t,e){return Boolean(t>=e||1-e>=t)}function r(e,i,s){e===!0?(t("#test-message").removeClass("alert-danger"),t("#test-message").addClass("alert-success"),i>1?"fr"==l?t("#test-message p:first").html("La variation gagnante est la <strong>Variation A</strong> à un niveau de confiance de "+100*s+"%."):t("#test-message p:first").html("The winning variation is <strong>Variation A</strong> at a "+100*s+"% confidence level."):"fr"==l?t("#test-message p:first").html("La variation gagnante est la <strong>Variation B</strong> à un niveau de confiance de "+100*s+"%."):t("#test-message p:first").html("The winning variation is <strong>Variation B</strong> at a "+100*s+"% confidence level.")):(t("#test-message").removeClass("alert-success"),t("#test-message").addClass("alert-danger"),"fr"==l?t("#test-message p:first").html("Votre A/B test n'est pas significatif à un niveau de confiance de "+100*s+"%."):t("#test-message p:first").html("Your A/B test is not significant at a "+100*s+"% confidence level")),t(".intro").fadeOut("slow",function(){t("#test-message").fadeIn("slow")})}function o(){var e;return t(".testing input.normal").each(function(){e=""==t(this).val()?!1:!0}),e}function a(e){return-1!==t.inArray(e.keyCode,[8,9,27,13,190,46,110])&&e.charCode!=e.keyCode||65==e.keyCode&&e.ctrlKey===!0||e.keyCode>=35&&e.keyCode<=39&&e.charCode!=e.keyCode?!0:void((e.shiftKey||e.which<48||e.which>57)&&e.preventDefault())}var l=document.getElementsByTagName("html")[0].getAttribute("lang");t(".test-submit").on("click",function(){var i=o(),s=t("#test-message");console.log(s),i?e():("fr"==l?s.find("p:first").html("Veuillez remplir tous les champs"):s.find("p:first").html("Please fill all the fields below"),s.addClass("alert-danger"),t(".intro").fadeOut("slow",function(){s.fadeIn("slow")}))}),t(".testing input").on("keypress",a)}),window.$=window.$||window.jQuery;var App=function(){function t(t){var e;return e=t.indexOf("//")>-1?t.split("/")[2]:t.split("/")[0],e=e.split(":")[0],e=e.split("?")[0]}function e(t,e){var i=t.attr("method"),s=t.attr("action"),n={subscribe:!0};t.find("input").each(function(){n[""+F(this).attr("name")]=F(this).val()});var r=F('select[name="GROUP"]').find(":selected").attr("value");"undefined"!=typeof r&&null!==r&&""!==r&&(n.GROUP=r),F.ajax({url:s,type:i,data:n,success:function(t){e(t),console.log(n)},error:function(t){console.log(t)}})}function i(t,e){var i="post",s="https://"+c()+"/wp-admin/admin-ajax.php",n={subscribe:!0};t.find("input").each(function(){n[""+F(this).attr("name")]=F(this).val()});var r=F('select[name="GROUP"]').find(":selected").attr("value");"undefined"!=typeof r&&null!==r&&""!==r&&(n.GROUP=r),F.ajax({url:s,type:i,data:n,success:function(t){e(t)},error:function(t){console.log(t)}})}function s(t,e){var i=t.attr("method"),s=t.attr("action"),n={};t.find("input").each(function(){n[""+F(this).attr("name")]=F(this).val()}),F.ajax({url:s,type:i,data:n,success:function(t){e(t)},error:function(t){console.log(t)}})}function n(t){var e=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;return e.test(t)}function r(t){var e=/^[a-zA-Zà áâäãåÄ
ÄÄÄèéêëÄįìÃîïÅÅòóôöõøùúûüųūÿýżźñçÄšžÃÃÃÃÃÃ
ÄÄÄÄÄÃÃÃÃÃÃÃÃÄ®ÅÅÃÃÃÃÃÃÃÃÃÃŲŪŸÃŻŹÃÃÃÅÃÄŠŽâð ,.'-]+$/u;return e.test(t)}function o(t){return t.prop("checked")}function a(){var t="https://"+F(location).attr("hostname");return t+=F(location).attr("pathname")}function l(t){return""!==t&&void 0!==t&&t.length>1?t.replace(/<br\/>/g,"").replace(/<br>/g,"").replace(/ /g," "):t}function c(){var t=F(location).attr("hostname"),e=F(location).attr("pathname");return/\/fr\//i.test(e)&&(t+="/fr"),t}function h(){F(".rt-reading-time").insertBefore(".social-buttons2"),F(".single-post .post-views").insertAfter(".rt-postfix")}function d(){F(".breadcrumb").insertBefore(".rt-reading-time")}function u(){window.innerWidth<931&&window.innerWidth>602?F(".widget_nav_menu:nth-child(2)").insertBefore("#signup"):window.innerWidth<601?F("body").hasClass("post-template-post-progress-bar")?F(".widget_nav_menu:nth-child(2)").insertAfter("#site-container"):F(".widget_nav_menu:nth-child(2)").insertBefore(".col-sm-3"):F(".widget_nav_menu:nth-child(2)").insertBefore("#site-container")}function p(){F(function(){var t=window.location.href;F("#menu-category-menu .menu-item a").each(function(){t==this.href&&(F(this).closest("a").addClass("active"),F(this).closest("a").parent().parent().addClass("active"))})})}function m(){F(function(){if(F(".breadcrumb").length){var t=F(".breadcrumb a").attr("href").split("/"),e=t.pop()||t.pop();F("#menu-category-menu .menu-item a").each(function(){var t=this.href.split("/"),i=t.pop()||t.pop();e==i&&(F(this).closest("a").addClass("active"),F(this).closest("a").parent().parent().addClass("active"))})}})}function g(){if(F("#sidebar").length||F("#category-page-sidebar").length||F("#post-page-sidebar").length){var t=F("html").attr("lang").substring(0,2);"fr"===t?window.onload=function(){document.getElementById("gsc-i-id1").placeholder="Rechercher"}:window.onload=function(){document.getElementById("gsc-i-id1").placeholder="Search"}}}function f(){F("#comment-container").insertAfter(".author")}function v(){F("#site-container").find("a:not(a[href^=''],a[href^='javascript'],a[href^='#'])").each(function(t,e){e.href.indexOf(window.location.host)>=0||(F(this).attr({rel:"nofollow",target:"_blank"}),(e.href.indexOf("https://www.nudgify.com")>=0||e.href.indexOf("https://apps.shopify.com/nudgify")>=0)&&F(this).attr({rel:"",target:"_blank"}),F('a[href="https://gettalkative.com/info/ecommerce-chatbot"]').each(function(){F(this).attr({rel:"",target:"_blank"})}),F('a[href="https://socialanimal.com/"]').each(function(){F(this).attr({rel:"",target:"_blank"})}),F('a[href="https://bulk.ly/social-media-tools/"]').each(function(){F(this).attr({rel:"",target:"_blank"})}),F('a[href="https://guessthetest.com/test/which-wording-won-the-human-or-ai-generated-copy/"]').each(function(){F(this).attr({rel:"",target:"_blank"})}),F('a[href="https://wordpress.org/plugins/humcommerce/"]').each(function(){F(this).attr({rel:"",target:"_blank"})}),F('a[href="https://mobilemonkey.com/"]').each(function(){F(this).attr({rel:"",target:"_blank"})}),F('a[href="https://aeroleads.com/blog/email-finder-tools/"]').each(function(){F(this).attr({rel:"",target:"_blank"})}),F('a[href="https://www.contactpigeon.com/cp/segmentation-tools"]').each(function(){F(this).attr({rel:"",target:"_blank"})}),F('a[href="https://aeroleads.com/blog/aeroleads/"]').each(function(){F(this).attr({rel:"",target:"_blank"})}),F('a[href="https://hostingpill.com/shopify-stores/"]').each(function(){F(this).attr({rel:"",target:"_blank"})}),F('a[href="https://acquire.io/blog/customer-service-tips/"]').each(function(){F(this).attr({rel:"",target:"_blank"})}),F('a[href="https://wavereview.com/google-my-business-reviews/"]').each(function(){F(this).attr({rel:"",target:"_blank"})}),F('a[href="https://growave.io/"]').each(function(){F(this).attr({rel:"",target:"_blank"})}),F('a[href="https://www.liveagent.com/blog/how-to-provide-a-flawless-customer-experience/"]').each(function(){F(this).attr({rel:"",target:"_blank"})}),F('a[href="https://debutify.com/blog/shopify-theme-basic-fundamentals/"]').each(function(){F(this).attr({rel:"",target:"_blank"})}))})}function y(){F("body").hasClass("single-post")&&(F("body").hasClass("post-template-post-expert-guides")||F(".kk-star-ratings").insertBefore(".rt-reading-time")),F("body").hasClass("post-template-post-plus-signup")&&F(".kk-star-ratings").insertAfter(".post-content-row"),F("body").hasClass("post-template-post-progress-bar")&&F(".kk-star-ratings").insertBefore("#comment-container").show()}function b(){F("body").hasClass("page-template-page-google-forms")&&F(".entry-content").addClass("google-forms")}
2function _(){F("td:has(.fa)").addClass("centered-icon")}function w(){F(".entry-comments").addClass("content-container")}function C(t){var e,i,s=parseInt(t.getBoundingClientRect().left,10),n=parseInt(t.getBoundingClientRect().top,10),r=(parseInt(window.getComputedStyle(t).width,10),parseInt(window.getComputedStyle(t).height,10),window.getComputedStyle(t,":before")),o=s+parseInt(r.getPropertyValue("left"),10),a=o+parseInt(r.width,10),l=n+parseInt(r.getPropertyValue("top"),10),c=l+parseInt(r.height,10),h=window.getComputedStyle(t,":after"),d=s+parseInt(h.getPropertyValue("left"),10),u=d+parseInt(h.width,10),p=n+parseInt(h.getPropertyValue("top"),10),m=p+parseInt(h.height,10),g=event.clientX,f=event.clientY;return e=g>=o&&a>=g&&f>=l&&c>=f?!0:!1,i=g>=d&&u>=g&&f>=p&&m>=f?!0:!1,{before:e,after:i}}function x(){F(".btnPressed").each(function(t){F(this).on("click",function(){F(this).siblings().removeClass("hidden")})})}function k(){F(".feature-comparison").length&&(F("div").is("#wpadminbar")?F(".feature-comparison th").css("top","80px"):F(".feature-comparison th").css("top","48px"))}function E(){var t=function(){F(".countdown").each(function(){var t=parseInt(F(this).html());0!==t&&F(this).html(t-1)})};setInterval(t,1e3)}var F,A=function(t){F=t},P=function(){var t=function(){return F(document).height()-F(window).height()},e=function(){return F(window).scrollTop()},i=F("progress").length,s=Math.max(document.documentElement.clientWidth,window.innerWidth||0);if(i)if("max"in document.createElement("progress")){var n=F("progress"),r=t();n.attr({max:t()}),F(document).on("scroll",function(){var t=e(),i=F(".site-header");F(window).scrollTop()+F(window).height();n.attr({value:t}),t>40?i.addClass("scrolled"):i.removeClass("scrolled"),s>768&&(t>r/2?F("#slidebox").addClass("sliding"):F("#slidebox").removeClass("sliding"))}),F(window).resize(function(){r=t(),n.attr({max:t(),value:e()})})}else{var o,a,n=F(".progress-bar"),l=t(),c=function(){return o=e(),a=o/l*100,a+="%"},h=function(){n.css({width:c()})};F(document).on("scroll",function(){var t=e(),i=F(".site-header");h(),t>40?i.addClass("scrolled"):i.removeClass("scrolled")}),F(window).on("resize",function(){l=t(),h()})}F("#slidebox .close").on("click",function(){F("#slidebox").remove()})},L=function(){var t,e,i,s=Math.max(document.documentElement.clientWidth,window.innerWidth||0),n=F("#floating-sidebar"),r=F(".press-release"),o=F("#floating-newsletter"),a=F("#toc"),l=F(".table-content"),c=F("#table-content-toc");if(F("body").hasClass("single-post")?n.length&&(t=n.offset().top,i=30,s>768&&n.affix({offset:{top:t-i,bottom:1720}})):n.length&&(t=n.offset().top,i=-20,s>768&&n.affix({offset:{top:t-i,bottom:1055}})),r.length&&(t=r.offset().top,i=80,s>768&&r.affix({offset:{top:t-i,bottom:760}})),o.length&&(t=o.offset().top,i=30,F(".entry-comments").length?(e=1985,e+=F(".entry-comments").outerHeight(!0)):e=1910,s>768&&o.affix({offset:{top:t-i,bottom:e}})),a.length&&(t=a.offset().top,i=30,F(".entry-comments").length?(e=1985,e+=F(".entry-comments").outerHeight(!0)):e=1910,s>768&&a.affix({offset:{top:t-i,bottom:e}})),c.length){F("h2").each(function(){var t,e=/[& +$,:;=?@"#{}|^~[`%!'<>\]\.\/\(\)\*\\\n\t\b\v]/g,i=F(this).text();t=i.trim().replace(/\'/gi,"").replace(e,"-").replace(/-{2,}/g,"-").substring(0,64).replace(/^-+|-+$/gm,"").toLowerCase(),F(this).attr("id",t||this.tagname.toLowerCase())});var h=l.clone();h.append('<a href="#download-the-guide-for-free" class="download-guide">Download guide as PDF</a>'),h.appendTo(c),t=c.offset().top,i=30,F(".entry-comments").length?(e=1985,e+=F(".entry-comments").outerHeight(!0)):e=1910,s>768&&c.affix({offset:{top:t-i,bottom:e}})}},T=function(){function t(t){"changed"==t.type&&i(),F(".owl-item").each(function(e){F(this).removeClass("unblurred").removeClass("oneBefore").removeClass("oneAfter"),t.item.index+1==e&&F(this).addClass("unblurred"),t.item.index==e&&F(this).addClass("oneBefore"),t.item.index+2==e&&F(this).addClass("oneAfter")})}function e(){F(".owl-item").each(function(t){var e=F(".owl-stage").height(),i=F(this).find(".client-testimonials-wrap").height();F(this).find(".client-testimonials-wrap").attr("style","padding-top:"+(e-i)/2+"px;")})}function i(){F(".testimonial-container").on("click",function(){var t=F(this).parent().parent().parent();t.hasClass("oneBefore")?F(".owl-carousel").trigger("prev.owl.carousel",[300]):t.hasClass("oneAfter")&&F(".owl-carousel").trigger("next.owl.carousel",[300])}),F(".owl-item").on("mouseenter",function(){F(this).hasClass("oneAfter")?F(".unblurred").find(".testimonial-container").addClass("nextHover"):F(this).hasClass("oneBefore")?F(".unblurred").find(".testimonial-container").addClass("previousHover"):F(this).find(".testimonial-container").removeClass("nextHover").removeClass("previousHover"),F(".owl-item").on("mouseleave",function(){F(".nextHover").removeClass("nextHover"),F(".previousHover").removeClass("previousHover")})})}F(".owl-carousel").owlCarousel({items:3,dots:!0,dotsEach:!0,autoWidth:!0,autoHeight:!0,autoplayHoverPause:!0,loop:!0,onDragged:t,onInitialized:t,onResized:t,onChanged:t,responsive:{0:{items:1,autoWidth:!1,autoHeight:!0}
2,993:{items:3,autoWidth:!0,autoHeight:!1,onInitialized:e}}})},D=function(){var t=window.location.hostname;F(".nav-header li").each(function(){var e=F(this).find("span").html();"convertize.blog"==t&&"Blog"==e&&F(this).addClass("current-menu-item")})},S=function(){var t=a();F(".twitter-share").each(function(){var e="convertize",i=encodeURIComponent(l(F(this).find(".quote").html())),s="popupwindow('https://twitter.com/intent/tweet?text="+i+"&via="+e+"&related="+e+"&url="+t+"','Twitter Share','500','500')";F(this).find("a").attr("onclick",s).attr("href","javascript:void(0);").attr("targer","_blank")})},z=function(){var e=window.location.href;(/convertize.io\/fr/i.test(e)||/convertize.blog\/fr/i.test(e)||/blog.convertize.com\/fr/i.test(e))&&F("#slidebox").css("height","410px"),F(".table-compare").length&&F(".post-content-row").parent().attr("class","col-sm-12"),F("a").each(function(e,i){var s=F(".tracking_gets").text(),n=i.href.toLowerCase(),r="//"+window.location.hostname.toLowerCase(),o=r.replace("www.",""),a="?";if(void 0!==s&&void 0!==n&&0!==s.length&&0!==n.indexOf("javascript:")&&!(n.indexOf(r)>=0||n.indexOf(o)>=0)){var l=t(n);-1!==l.indexOf("convertize")&&(n.indexOf(s)>=0||(n.indexOf("?")>=0&&(a="&"),F(this).attr("href",n+a+s),console.log(n+": added tracking")))}})},M=function(){var t=(a(),F(location).attr("pathname"));if(/\/fr\//i.test(t));if(/^\/$/i.test(t)||/^\/fr\/$/i.test(t)||/^\/page\/\d\/$/i.test(t)||/^\/fr\/page\/\d\/$/i.test(t)||/^\/tag\/[a-z A-Z]*\/$/i.test(t)||/^\/fr\/tag\/[a-z A-Z]*\/$/i.test(t))setTimeout(function(){F(".followButtons").fadeIn(),F(".twitter-follow-button").hover(function(){F(this).css("background-color","#0c7abf")},function(){F(this).css("background-color","#1b95e0")})},2e3),F(".IN-widget").hover(function(){F(this).css("background-color","#0369a0")},function(){F(this).css("background-color","#0077b5")});else{var e="420";F(window).scroll(function(t){var i=F(window).scrollTop();i>e?(F(".social-buttons").removeClass("hidden"), 3F(".social-buttons").fadeIn()):F(".social-buttons").fadeOut()})}},I=function(){function t(t){F(".site-container").css("filter","blur("+t+")")}function e(){F("#slide2").fadeOut(300,function(){F(".error-message").hide(),F("input").removeClass("invalid-input"),F("#slide1").fadeIn()}),t("0px")}var s=F(".emailBox");F(".emailBox .modal-header").html(),F(".emailBox .modal-body").html(),F(".emailBox .modal-footer").html();s.insertBefore(".site-container"),F(".modal-body img").each(function(){F(this).attr("src",F(this).attr("data-src"))}),/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)&&F(".pdfBox a").html("Download a PDF copy of this article"),F("#pfdLink").on("click",function(e){e.preventDefault(),s.show(),t("4px")}),s.on("click","span.close",function(t){t.preventDefault(),s.hide(),e()}),F(".form-control").keyup(function(t){t.preventDefault(),13==t.keyCode&&F(".submit-button").click()}),s.on("click",".submit-button",function(t){t.preventDefault();var e=F(this).closest(".mc4wp-ajax"),s=F(".post-content").data("pdf-url"),r=F(".post-title").html(),o=e.find('input[name="EMAIL"]'),a=e.find('input[name="URL"]'),l=e.find('input[name="TITLE"]');n(o.val())?(o.removeClass("invalid-input"),a.val(s),l.val(r),i(e,function(t){var e="8f017f34c8";if(t=jQuery.parseJSON(t),console.log(t),"subscribed"!=t.status)F(".error-message").html(t.msg).fadeIn();else{F("#slide1").fadeOut(300,function(){/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)?(F(".emailBox .modal-header p").css("margin-top","10px"),F(".emailBox .modal-footer i").css("margin-left","0px"),F(".emailBox .modal-header h2").css("margin-top","0px")):(F(".emailBox .modal-header div").css("padding-top","50px"),F(".emailBox .modal-header h2").css("margin-top","0px"),F(".emailBox .modal-footer i").css("margin-left","0px")),F("#slide2").fadeIn()});var i=new Date;i=i.toISOString().substring(0,19),mixpanel.identify(t.unique_email_id),mixpanel.people.set({$created:i,$email:t.email_address});var s=ga.getAll()[0].get("name");t.list_id==e?(mixpanel.track("Ebook download",{id:t.unique_email_id,email:t.email_address}),ga(s+".send","event","button","click","eBook download",1)):(mixpanel.track("Article download",{id:t.unique_email_id,email:t.email_address,title:r}),ga(s+".send","event","button","click","PDF article download",1))}})):(o.addClass("invalid-input"),e.find(".error-message").fadeIn())});var r=F(".track-url").text(),o="https://app.convertize.io/auth/login/register?"+r;s.on("click",".button2",function(t){document.location.href=o}),F(window).on("click",function(t){t.target==document.getElementById("emailModal")&&(s.hide(),e())})},$=function(){!function(t){t.fn.cardtable=function(e){var i=this,s={headIndex:0},n=t.extend({},s,e),r=0;return e&&e.headIndex&&(r=e.headIndex),i.each(function(){var e=t(this);if(!e.hasClass("stacktable")){var i=t(this).prop("class"),s=t("<div></div>");"undefined"!=typeof n.myClass&&s.addClass(n.myClass);var r,o,a,l,c,h="";e.hasClass("normal-table-mobile")||(e.addClass("stacktable large-only"),r=e.find(">caption").clone(),o=e.find(">thead>tr,>tbody>tr,>tfoot>tr,>tr").eq(0),e.siblings().filter(".small-only").remove(),e.find(">tbody>tr").each(function(){a="",l="",c=t(this).prop("class"),t(this).find(">td,>th").each(function(e){""!==t(this).html()&&(l+='<tr class="'+c+'">',l+=o.find(">td,>th").eq(e).html()?'<td class="st-key">'+o.find(">td,>th").eq(e).html()+"</td>":'<td class="st-key"></td>',l+='<td class="st-val '+t(this).prop("class")+'">'+t(this).html()+"</td>",l+="</tr>")}),h+='<div class="tablePress-sticky-header">'+t(this).find(".column-1").html()+'</div><div class="tablePress-title">'+t(this).find(".column-1").html()+'</div><table class=" '+i+' stacktable small-only"><tbody>'+a+l+"</tbody></table>"}),e.find(">tfoot>tr>td").each(function(e,s){""!==t.trim(t(s).text())&&(h+='<table class="'+i+' stacktable small-only"><tbody><tr><td>'+t(s).html()+"</td></tr></tbody></table>")}),s.prepend(r),s.append(t(h)),e.before(s))}})}}(jQuery),F(document).ready(function(){F(".tablepress").cardtable(),F(".comparison").cardtable(),F(".tablePress-title").click(function(){var t=F(this),e="",i="",s=0,n=F(this),r=n.next();setTimeout(function(){var t=r.offset();e=t.top-50,i=e+r.height()-50},500),F(window).scroll(function(){s=F(this).scrollTop(),s>e&&i>s?(t.prev(".tablePress-sticky-header").css("display","block"),r.is(":hidden")&&t.prev(".tablePress-sticky-header").attr("style"," ")):t.prev(".tablePress-sticky-header").attr("style"," ")}),r.slideToggle()})})},N=function(){F("#sib-form.fill-data").submit(function(t){var e=F(".sib-form-block__button"),i=F(this);if(i.length>0){t&&t.preventDefault();var a=i.find('input[name="FIRST_NAME"]'),l=i.find('input[name="LAST_NAME"]'),c=i.find('input[name="EMAIL"]'),h=i.find('input[name="OPT_IN"]'),d=0,u={FIRST_NAME:{result:r(a.val())},LAST_NAME:{result:r(l.val())},EMAIL:{result:n(c.val())},OPT_IN:{result:o(h)}};F.each(u,function(t,e){e.result&&d++}),4==d&&(e.prop("disabled",!0),s(i,function(t){console.log(t),t=JSON.parse(t),t.success||e.prop("disabled",!1)}))}})},O=function(){F('#sb-wp-form input[type="submit"]').bind("click",function(t){var e=F(this),i=F(this).closest("form");if(i.length>0){t&&t.preventDefault();var a=i.find('input[name="FIRST_NAME"]').removeClass("invalid-input"),l=i.find('input[name="LAST_NAME"]').removeClass("invalid-input"),c=i.find('input[name="EMAIL"]').removeClass("invalid-input"),h=i.find('input[name="OPT_IN"]').removeClass("invalid-input"),d=i.find(".checkbox-container .checkbox.checkbox_tick_positive").removeClass("invalid-input"),u=i.find(".checkbox-container .checkbox_text").css("color","white"),p=0,m={FIRST_NAME:{result:r(a.val()),error:function(){a.addClass("invalid-input")}},LAST_NAME:{result:r(l.val()),error:function(){l.addClass("invalid-input")}},EMAIL:{result:n(c.val()),error:function(){c.addClass("invalid-input")}},OPT_IN:{result:o(h),error:function(){d.addClass("invalid-input"),u.css("color","#c32828")}}};F.each(m,function(t,e){e.result?p++:(e.error(),i.find(".error-message").fadeIn())}),p===Object.keys(m).length&&(e.prop("disabled",!0),s(i,function(t){if(console.log(t),t=JSON.parse(t),t.success){i.fadeOut("slow",function(){i.closest(".form-wrapper").find(".error-message").fadeOut(),i.closest(".form-wrapper").find(".success-message").fadeIn(),i.closest(".form-wrapper").find(".form-feedback").fadeIn()});var s=new Date;s.setTime(s.getTime()+31536e6);var n="expires="+s.toUTCString();document.cookie="conTacUserSubscribed=1; expires="+n+"; domain=convertize.com; path=/"}else e.prop("disabled",!1),t.errors&&F.each(t.errors,function(t,e){console.log(t+": "+e),m[t].error(),i.find(".error-message").fadeIn()})}))}})},H=function(){F('.mc4wp-ajax input[type="submit"]').bind("click",function(t){var i=F(this),s=F(this).closest("form");if(s.length>0){var r=s.find('input[name="EMAIL"]');t&&t.preventDefault(),n(r.val())?(r.removeClass("invalid-input"),i.prop("disabled",!0),e(s,function(t){t=F.parseJSON(t),console.log(t),"pending"==t.status?F(".error-message").html(t.msg).fadeIn():s.fadeOut("slow",function(){s.closest(".form-wrapper").find(".error-message").fadeOut(),s.closest(".form-wrapper").find(".success-message").fadeIn(),s.closest(".form-wrapper").find(".form-feedback").fadeIn()});var e=new Date;e=e.toISOString().substring(0,19),mixpanel.identify(t.unique_email_id),mixpanel.people.set({$created:e,$email:t.email_address}),mixpanel.track("Newsletter subscribe",{id:t.unique_email_id,email:t.email_address});var i=ga.getAll()[0].get("name");ga(i+".send","event","button","click","Newsletter subscribe",1)})):(i.prop("disabled",!1),r.addClass("invalid-input"),s.find(".error-message").fadeIn())}})},R=function(){F("ol.circles").replaceWith('<div class="circle-list"><div class="time-line" style="height: 90%;"></div>'+F("ol").html()+"</div>");var t=0;F(".circle-list h3").each(function(e){var i=e+1;F(this).before('<span class="circle">'+i+"</span>"),F(this).replaceWith('<h3 class="step">'+F(this).html()+"</h3>"),t+=F(this).height()})},B=function(){var t=F(".entry-content .widget_nav_menu");if(t.length){var e=t.offset().top-50;window.innerWidth>930&&(F(window).scrollTop()>e?t.addClass("stickyCatMenu"):t.removeClass("stickyCatMenu"),F(document).on("scroll",function(){F(window).scrollTop()>e?t.addClass("stickyCatMenu"):t.removeClass("stickyCatMenu")}))}},V=function(){!function(t){function e(e,i){var n=t.extend({},t.fn.collapsible.defaults,i),r=[];return e.each(function(){var e=t(this);
3s(e,n),"mouseenter"==n.bind&&e.bind("mouseenter",function(t){t.preventDefault(),a(e,n)}),"mouseover"==n.bind&&e.bind("mouseover",function(t){t.preventDefault(),a(e,n)}),"click"==n.bind&&e.bind("click",function(t){t.preventDefault(),a(e,n)}),"dblclick"==n.bind&&e.bind("dblclick",function(t){t.preventDefault(),a(e,n)});var i=e.attr("id");if(h(n))if(g(n)){var o=m(i,n);o===!1?(e.addClass(n.cssClose),n.loadClose(e,n)):(e.addClass(n.cssOpen),n.loadOpen(e,n),r.push(i))}else l=f(i,n),l===!1?(e.addClass(n.cssClose),n.loadClose(e,n)):(e.addClass(n.cssOpen),n.loadOpen(e,n),r.push(i));else{var l=f(i,n);l===!1?(e.addClass(n.cssClose),n.loadClose(e,n)):(e.addClass(n.cssOpen),n.loadOpen(e,n),r.push(i))}}),r.length>0&&h(n)?p(r.toString(),n):p("",n),e}function i(t){return t.data("collapsible-opts")}function s(t,e){return t.data("collapsible-opts",e)}function n(t,e){return t.hasClass(e.cssClose)}function r(t,e){if(t.addClass(e.cssClose).removeClass(e.cssOpen),e.animateClose(t,e),h(e)){var i=t.attr("id");u(i,e)}}function o(t,e){if(t.removeClass(e.cssClose).addClass(e.cssOpen),e.animateOpen(t,e),h(e)){var i=t.attr("id");d(i,e)}}function a(t,e){return n(t,e)?o(t,e):r(t,e),!1}function l(e,i){t.each(e,function(e,s){n(t(s),i)&&o(t(s),i)})}function c(e,i){t.each(e,function(e,s){n(t(s),i)||r(t(s),i)})}function h(e){return t.cookie&&""!=e.cookieName?!0:!1}function d(e,i){if(!h(i))return!1;if(!g(i))return p(e,i),!0;if(m(e,i))return!0;var s=decodeURIComponent(t.cookie(i.cookieName)),n=s.split(",");return n.push(e),p(n.toString(),i),!0}function u(e,i){if(!h(i))return!1;if(!g(i))return!0;var s=m(e,i);if(s===!1)return!0;var n=decodeURIComponent(t.cookie(i.cookieName)),r=n.split(",");return r.splice(s,1),p(r.toString(),i),!0}function p(e,i){return h(i)?(t.cookie(i.cookieName,e,i.cookieOptions),!0):!1}function m(e,i){if(!h(i))return!1;if(!g(i))return!1;var s=decodeURIComponent(t.cookie(i.cookieName)),n=s.split(","),r=t.inArray(e,n);return-1==r?!1:r}function g(e){return h(e)?null===t.cookie(e.cookieName)?!1:!0:!1}function f(e,i){var s=v(i),n=t.inArray(e,s);return-1==n?!1:n}function v(t){var e=[];return""!=t.defaultOpen&&(e=t.defaultOpen.split(",")),e}t.fn.collapsible=function(e,i){return!this||this.length<1?this:"string"==typeof e?t.fn.collapsible.dispatcher[e](this,i):t.fn.collapsible.dispatcher._create(this,e)},t.fn.collapsible.dispatcher={_create:function(t,i){e(t,i)},toggle:function(t){return a(t,i(t)),t},open:function(t){return o(t,i(t)),t},close:function(t){return r(t,i(t)),t},collapsed:function(t){return n(t,i(t))},openAll:function(t){return l(t,i(t))},closeAll:function(t){return c(t,i(t))}},t.fn.collapsible.defaults={cssClose:"collapse-close",cssOpen:"collapse-open",cookieName:"collapsible",cookieOptions:{path:"/",expires:7,domain:"",secure:""},defaultOpen:"",speed:"slow",bind:"click",animateOpen:function(t,e){t.next().stop(!0,!0).slideDown(e.speed)},animateClose:function(t,e){t.next().stop(!0,!0).slideUp(e.speed)},loadOpen:function(t,e){t.next().show()},loadClose:function(t,e){t.next().hide()}}}(jQuery),F(document).ready(function(){F(".collapsible").collapsible({defaultOpen:""})})},j=function(){F(document).ready(function(){F(".nudge").on("hover",function(){F(".notification").removeClass("slide-in"),F(".notification").addClass("slide-in")})}),F(".nudge").on("click",function(){F(".nudge").removeClass("clicked"),F(this).addClass("clicked");var t=F(this).data("notification");F(".notification").removeClass("fade-in"),setTimeout(function(){F(".notification."+t).addClass("fade-in")},300)})},q=function(){F(".industry-selector .selector-list .selector").on("click",function(){F(".industry-selector .selector-list .selector").each(function(){F(this).removeClass("active")}),F(this).addClass("active");var t=F(this).data("selector");F(".industry-selector .notification-container .notification-list").each(function(){F(this).addClass("hidden")}),F(".industry-selector .notification-container .notification-list."+t).removeClass("hidden");var e=F(this).html();F(".industry-selector .selector-container .notification-container .bread-crumbs .changeble").html(e)}
3),F(".industry-selector .notification-container").on("click",function(){if(C(this).after){console.log("after");var t=F("#menu-main-menu .try-btn a").attr("href");window.location.replace(t)}})},W=function(){var t=F("#calculatorIframe");t.load(function(){t.contents().find('a[href="https://www.convertize.com/ab-testing-calculator.php"]').attr({target:"_blank"})});var e=F("#calculatorIframeExpert");e.load(function(){e.contents().find("#cta-section, #security, .footer-light").remove(),e.contents().find('a[href="https://www.convertize.com/ab-testing-calculator-basic.php"]').attr({target:"_blank"})})},U=function(){F(".selector-inside").on("click",function(){var t=F(".selector-inside"),e=F("#currency option:selected").val();t.each(function(){F(this).toggleClass("active")}),t.hasClass("active")?(F(".commitment, .price .currency, .price .price-value, .price-container .sign, .price-container .price").removeClass("monthly"),F(".commitment, .price .currency, .price .price-value, .price-container .sign, .price-container .price").addClass("yearly"),"euro"===e?(F(".price .currency, .price .price-value, .price-container .sign, .price-container .price").addClass("euro"),F(".price .currency, .price .price-value, .price-container .sign, .price-container .price").removeClass("pound dollar")):"pound"===e?(F(".price .currency, .price .price-value, .price-container .sign, .price-container .price").addClass("pound"),F(".price .currency, .price .price-value, .price-container .sign, .price-container .price").removeClass("euro dollar")):(F(".price .currency, .price .price-value, .price-container .sign, .price-container .price").addClass("dollar"),F(".price .currency, .price .price-value, .price-container .sign, .price-container .price").removeClass("euro pound"))):(F(".commitment, .price .currency, .price .price-value, .price-container .sign, .price-container .price").removeClass("yearly"),F(".commitment, .price .currency, .price .price-value, .price-container .sign, .price-container .price").addClass("monthly"),"euro"===e?(F(".price .currency, .price .price-value, .price-container .sign, .price-container .price").addClass("euro"),F(".price .currency, .price .price-value, .price-container .sign, .price-container .price").removeClass("pound dollar")):"pound"===e?(F(".price .currency, .price .price-value, .price-container .sign, .price-container .price").addClass("pound"),F(".price .currency, .price .price-value, .price-container .sign, .price-container .price").removeClass("euro dollar")):(F(".price .currency, .price .price-value, .price-container .sign, .price-container .price").addClass("dollar"),F(".price .currency, .price .price-value, .price-container .sign, .price-container .price").removeClass("euro pound")))})},Q=function(){F("#currency").on("change",function(){var t=F("#currency option:selected").val();"euro"===t?(F(".price .currency, .price .price-value, .price-container .sign, .price-container .price").addClass("euro"),F(".price .currency, .price .price-value, .price-container .sign, .price-container .price").removeClass("pound dollar")):"pound"===t?(F(".price .currency, .price .price-value, .price-container .sign, .price-container .price").addClass("pound"),F(".price .currency, .price .price-value, .price-container .sign, .price-container .price").removeClass("euro dollar")):(F(".price .currency, .price .price-value, .price-container .sign, .price-container .price").addClass("dollar"),F(".price .currency, .price .price-value, .price-container .sign, .price-container .price").removeClass("euro pound"))})},Z=function(){F("#teamPriceSlider").slider({step:33.33,min:0,max:100,value:0,tooltip:"hide"}),F("#teamPriceSlider").on("change",function(t){var e=F(".selector-inside"),i=F("#currency option:selected").val(),s=t.value.newValue;F("#teamPriceSlider").text(s),e.hasClass("active")?"euro"===i?(F(".price-container .price").addClass("euro"),F(".price-container .price").removeClass("pound, dollar"),0>=s?(F(".pricing-table .pricing-card.team .price-value, .pricing-table .pricing-header .plan-description .big-desc .numVisitors").addClass("slider-0"),F(".pricing-table .pricing-card.team .price-value, .pricing-table .pricing-header .plan-description .big-desc .numVisitors").removeClass("slider-33 slider-66 slider-99")):33.33>=s?(F(".pricing-table .pricing-card.team .price-value, .pricing-table .pricing-header .plan-description .big-desc .numVisitors").addClass("slider-33"),F(".pricing-table .pricing-card.team .price-value, .pricing-table .pricing-header .plan-description .big-desc .numVisitors").removeClass("slider-0 slider-66 slider-99")):66.66>=s?(F(".pricing-table .pricing-card.team .price-value, .pricing-table .pricing-header .plan-description .big-desc .numVisitors").addClass("slider-66"),F(".pricing-table .pricing-card.team .price-value, .pricing-table .pricing-header .plan-description .big-desc .numVisitors").removeClass("slider-0 slider-33 slider-99")):99.99>=s&&(F(".pricing-table .pricing-card.team .price-value, .pricing-table .pricing-header .plan-description .big-desc .numVisitors").addClass("slider-99"),F(".pricing-table .pricing-card.team .price-value, .pricing-table .pricing-header .plan-description .big-desc .numVisitors").removeClass("slider-0 slider-33 slider-66"))):"pound"===i?(F(".price-container .price").addClass("pound"),F(".price-container .price").removeClass("euro, dollar"),0>=s?(F(".pricing-table .pricing-card.team .price-value, .pricing-table .pricing-header .plan-description .big-desc .numVisitors").addClass("slider-0"),F(".pricing-table .pricing-card.team .price-value, .pricing-table .pricing-header .plan-description .big-desc .numVisitors").removeClass("slider-33 slider-66 slider-99")):33.33>=s?(F(".pricing-table .pricing-card.team .price-value, .pricing-table .pricing-header .plan-description .big-desc .numVisitors").addClass("slider-33"),F(".pricing-table .pricing-card.team .price-value, .pricing-table .pricing-header .plan-description .big-desc .numVisitors").removeClass("slider-0 slider-66 slider-99")):66.66>=s?(F(".pricing-table .pricing-card.team .price-value, .pricing-table .pricing-header .plan-description .big-desc .numVisitors").addClass("slider-66"),F(".pricing-table .pricing-card.team .price-value, .pricing-table .pricing-header .plan-description .big-desc .numVisitors").removeClass("slider-0 slider-33 slider-99")):99.99>=s&&(F(".pricing-table .pricing-card.team .price-value, .pricing-table .pricing-header .plan-description .big-desc .numVisitors").addClass("slider-99"),F(".pricing-table .pricing-card.team .price-value, .pricing-table .pricing-header .plan-description .big-desc .numVisitors").removeClass("slider-0 slider-33 slider-66"))):(F(".price-container .price").addClass("dollar"),F(".price-container .price").removeClass("euro, pound"),0>=s?(F(".pricing-table .pricing-card.team .price-value, .pricing-table .pricing-header .plan-description .big-desc .numVisitors").addClass("slider-0"),F(".pricing-table .pricing-card.team .price-value, .pricing-table .pricing-header .plan-description .big-desc .numVisitors").removeClass("slider-33 slider-66 slider-99")):33.33>=s?(F(".pricing-table .pricing-card.team .price-value, .pricing-table .pricing-header .plan-description .big-desc .numVisitors").addClass("slider-33"),F(".pricing-table .pricing-card.team .price-value, .pricing-table .pricing-header .plan-description .big-desc .numVisitors").removeClass("slider-0 slider-66 slider-99")):66.66>=s?(F(".pricing-table .pricing-card.team .price-value, .pricing-table .pricing-header .plan-description .big-desc .numVisitors").addClass("slider-66"),F(".pricing-table .pricing-card.team .price-value, .pricing-table .pricing-header .plan-description .big-desc .numVisitors").removeClass("slider-0 slider-33 slider-99")):99.99>=s&&(F(".pricing-table .pricing-card.team .price-value, .pricing-table .pricing-header .plan-description .big-desc .numVisitors").addClass("slider-99"),F(".pricing-table .pricing-card.team .price-value, .pricing-table .pricing-header .plan-description .big-desc .numVisitors").removeClass("slider-0 slider-33 slider-66"))):"euro"===i?(F(".price-container .price").addClass("euro"),F(".price-container .price").removeClass("pound, dollar"),0>=s?(F(".pricing-table .pricing-card.team .price-value, .pricing-table .pricing-header .plan-description .big-desc .numVisitors").addClass("slider-0"),F(".pricing-table .pricing-card.team .price-value, .pricing-table .pricing-header .plan-description .big-desc .numVisitors").removeClass("slider-33 slider-66 slider-99")):33.33>=s?(F(".pricing-table .pricing-card.team .price-value, .pricing-table .pricing-header .plan-description .big-desc .numVisitors").addClass("slider-33"),F(".pricing-table .pricing-card.team .price-value, .pricing-table .pricing-header .plan-description .big-desc .numVisitors").removeClass("slider-0 slider-66 slider-99")):66.66>=s?(F(".pricing-table .pricing-card.team .price-value, .pricing-table .pricing-header .plan-description .big-desc .numVisitors").addClass("slider-66"),F(".pricing-table .pricing-card.team .price-value, .pricing-table .pricing-header .plan-description .big-desc .numVisitors").removeClass("slider-0 slider-33 slider-99")):99.99>=s&&(F(".pricing-table .pricing-card.team .price-value, .pricing-table .pricing-header .plan-description .big-desc .numVisitors").addClass("slider-99"),F(".pricing-table .pricing-card.team .price-value, .pricing-table .pricing-header .plan-description .big-desc .numVisitors").removeClass("slider-0 slider-33 slider-66"))):"pound"===i?(F(".price-container .price").addClass("pound"),F(".price-container .price").removeClass("euro, dollar"),0>=s?(F(".pricing-table .pricing-card.team .price-value, .pricing-table .pricing-header .plan-description .big-desc .numVisitors").addClass("slider-0"),F(".pricing-table .pricing-card.team .price-value, .pricing-table .pricing-header .plan-description .big-desc .numVisitors").removeClass("slider-33 slider-66 slider-99")):33.33>=s?(F(".pricing-table .pricing-card.team .price-value, .pricing-table .pricing-header .plan-description .big-desc .numVisitors").addClass("slider-33"),F(".pricing-table .pricing-card.team .price-value, .pricing-table .pricing-header .plan-description .big-desc .numVisitors").removeClass("slider-0 slider-66 slider-99")):66.66>=s?(F(".pricing-table .pricing-card.team .price-value, .pricing-table .pricing-header .plan-description .big-desc .numVisitors").addClass("slider-66"),F(".pricing-table .pricing-card.team .price-value, .pricing-table .pricing-header .plan-description .big-desc .numVisitors").removeClass("slider-0 slider-33 slider-99")):99.99>=s&&(F(".pricing-table .pricing-card.team .price-value, .pricing-table .pricing-header .plan-description .big-desc .numVisitors").addClass("slider-99"),F(".pricing-table .pricing-card.team .price-value, .pricing-table .pricing-header .plan-description .big-desc .numVisitors").removeClass("slider-0 slider-33 slider-66"))):(F(".price-container .price").addClass("dollar"),F(".price-container .price").removeClass("euro, pound"),0>=s?(F(".pricing-table .pricing-card.team .price-value, .pricing-table .pricing-header .plan-description .big-desc .numVisitors").addClass("slider-0"),F(".pricing-table .pricing-card.team .price-value, .pricing-table .pricing-header .plan-description .big-desc .numVisitors").removeClass("slider-33 slider-66 slider-99")):33.33>=s?(F(".pricing-table .pricing-card.team .price-value, .pricing-table .pricing-header .plan-description .big-desc .numVisitors").addClass("slider-33"),F(".pricing-table .pricing-card.team .price-value, .pricing-table .pricing-header .plan-description .big-desc .numVisitors").removeClass("slider-0 slider-66 slider-99")):66.66>=s?(F(".pricing-table .pricing-card.team .price-value, .pricing-table .pricing-header .plan-description .big-desc .numVisitors").addClass("slider-66"),F(".pricing-table .pricing-card.team .price-value, .pricing-table .pricing-header .plan-description .big-desc .numVisitors").removeClass("slider-0 slider-33 slider-99")):99.99>=s&&(F(".pricing-table .pricing-card.team .price-value, .pricing-table .pricing-header .plan-description .big-desc .numVisitors").addClass("slider-99"),F(".pricing-table .pricing-card.team .price-value, .pricing-table .pricing-header .plan-description .big-desc .numVisitors").removeClass("slider-0 slider-33 slider-66")))})},J=function(){var t=F("html").attr("lang");"fr"==t||"fr-FR"==t?(F("#currency option[value=euro]").attr("selected","selected"),F(".price .currency, .price .price-value, .price-container .sign, .price-container .price").addClass("euro")):"en"==t?(F("#currency option[value=pound]").attr("selected","selected"),F(".price .currency, .price .price-value, .price-container .sign, .price-container .price").addClass("pound")):(F("#currency option[value=d
3ollar]").attr("selected","selected"),F(".price .currency, .price .price-value, .price-container .sign, .price-container .price").addClass("dollar"))},Y=function(){F(".accordion-container").length&&(!function(t){var e=0;t.Accordion=function i(s,n){var r={init:function(){var t=this;if(Array.isArray(s))return s.length&&s.map(function(t){return new i(t,n)}),!1;this.options=l({duration:350,itemNumber:0,aria:!0,closeOthers:!0,showItem:!1,elementClass:"ac",questionClass:"ac-q",answerClass:"ac-a",targetClass:"ac-target",onToggle:function(){}},n),this.container=document.querySelector(s),this.elements=this.container.querySelectorAll("."+this.options.elementClass);var e=this.elements.length;this.options.aria&&this.container.setAttribute("role","tablist");for(var r=function(e){var i=t.elements[e];i.classList.add("js-enabled"),t.hideElement(i),t.setTransition(i),t.generateID(i),t.options.aria&&t.setARIA(i),i.addEventListener("keydown",function(i){13==i.keyCode&&t.callEvent(e,i)}),i.addEventListener("click",function(i){t.callEvent(e,i)})},o=0;e>o;o++)r(o);if(this.options.showItem){var a=this.elements[0];"number"==typeof this.options.itemNumber&&this.options.itemNumber<e&&(a=this.elements[this.options.itemNumber]),this.toggleElement(a,!1)}this.resizeHandler()},hideElement:function(t){t.querySelector("."+this.options.answerClass).style.height=0},setTransition:function(t){var e=t.querySelector("."+this.options.answerClass),i=o("transition");e.style[i]=this.options.duration+"ms"},generateID:function(t){t.setAttribute("id","ac-".concat(e)),e++},setARIA:function(t){var e=t.querySelector("."+this.options.questionClass),i=t.querySelector("."+this.options.answerClass);e.setAttribute("role","tab"),e.setAttribute("aria-expanded","false"),i.setAttribute("role","tabpanel")},updateARIA:function(t,e){t.querySelector("."+this.options.questionClass).setAttribute("aria-expanded",e)},callEvent:function(t,e){var i=e.target.className;(i.match(this.options.questionClass)||i.match(this.options.targetClass))&&(e.preventDefault(),this.options.closeOthers&&this.closeAllElements(t),this.toggleElement(this.elements[t]))},toggleElement:function(t){var e,i=!(1<arguments.length&&void 0!==arguments[1])||arguments[1],s=t.querySelector("."+this.options.answerClass),n=s.scrollHeight;t.classList.toggle("is-active"),i||(s.style.height="auto"),0<parseInt(s.style.height)?(e=!1,requestAnimationFrame(function(){s.style.height=0})):(e=!0,requestAnimationFrame(function(){s.style.height=n+"px"})),this.options.aria&&this.updateARIA(t,e),i&&this.options.onToggle(t,this.elements)},closeAllElements:function(t){for(var e=this.elements.length,i=0;e>i;i++)if(i!=t){var s=this.elements[i];s.classList.contains("is-active")&&s.classList.remove("is-active"),this.options.aria&&this.updateARIA(s,!1),this.hideElement(s)}},changeHeight:function(){for(var t,e,i=this.container.querySelectorAll("."+this.options.elementClass+".is-active"),s=0;s<i.length;s++)e=i[s].querySelector("."+this.options.answerClass),requestAnimationFrame(function(){e.style.height="auto",t=e.offsetHeight,requestAnimationFrame(function(){e.style.height=t+"px"})})},resizeHandler:function(){var e=this;t.addEventListener("resize",function(){e.changeHeight()})}},o=function(t){return"string"==typeof document.documentElement.style[t]?t:(t=a(t),t="webkit".concat(t))},a=function(t){return t.charAt(0).toUpperCase()+t.slice(1)},l=function(t,e){for(var i in e)t[i]=e[i];return t};t.requestAnimationFrame=t.requestAnimationFrame||t.webkitRequestAnimationFrame||function(e){t.setTimeout(e,1e3/60)},r.init()}}(window),new Accordion(".accordion-container"))},K=function(){F("#commentform #submit").hide(),F("#commentform #comment").on("keyup",function(){this.value.length?F("#commentform #submit").show():F("#commentform #submit").hide()})},X=function(){F(window).on("load",function(){F("#quizModal").modal("show"),F(".modal-backdrop").addClass("dark-backdrop")}),F(".overlay2").hide(),F(".marketer-button").click(function(){F(".overlay1").hide(),F(".overlay2").fadeIn()}),F(".closemodal").click(function(){F("#quizModal").modal("hide"),E()})},G=function(){F("#marketer-test").validate({rules:{answer:{required:!0}},messages:{answer:{required:"Please select an answer<br/>"}},errorPlacement:function(t){t.insertBefore(F(".quiz .button"))}})},tt=function(){var t=F("#comment-container textarea#comment"),e=F("#comment-container .comment-form-author"),i=F("#comment-container .comment-form-email");t.click(function(){this.rows=5}).blur(function(){this.rows=1}),t.keyup(function(){F(this).val().length?(e.show(),i.show()):(e.hide(),i.hide())})},et=function(){F("#wpforms-23005-field_3:text, #wpforms-20421-field_3, #wpforms-14201-field_3").prop("type","url")},it=function(){var t=F("html").attr("lang").substring(0,2);F("#contactModal").length&&("fr"===t?(F("form.wpforms-form").before('<div class="steps"><p class="text-center">Ãtape 1 de 2</p><ul id="progressbar"><li class="active"></li><li></li></ul></div>'),F(".step1:first-child").before('<div class="modal-title"></div><div class="modal-subtitle" style="font-size: 20px;">Dites-nous comment nous pouvons vous aider à <br /> augmenter vos revenus ...</div>'),F(".step1:nth-child(4)").after('<a class="next-step step1 disabled" type="button">L\'ètape suivante →</a>')):(F("form.wpforms-form").before('<div class="steps"><p class="text-center">Step 1 of 2</p><ul id="progressbar"><li class="active"></li><li></li></ul></div>'),F(".step1:first-child").before('<div class="modal-title"></div><div class="modal-subtitle" style="font-size: 20px;"><b>
3Tell us how we can help you to <br /> grow your revenue...</b></div>'),F(".step1:nth-child(4)").after('<a class="next-step step1 disabled" type="button">Next step →</a>'))),F(".step1 input").keyup(function(){var e=!1;F(".step1 input").each(function(){""==F(this).val()&&(e=!0)}),e?F(".next-step").addClass("disabled"):(F(".next-step").removeClass("disabled"),F(".next-step").click(function(){F(".step1, .modal-title, .modal-subtitle").hide(),F(".step2").fadeIn(),F(".wpforms-field-textarea.step2 .wpforms-field-description").insertAfter(".wpforms-field-textarea.step2 .wpforms-field-label"),F(".wpforms-submit.step2").css("display","block"),F(".steps #progressbar li").addClass("active"),"fr"===t?(F(".steps p").text("Ãtape 2 de 2"),F(".wpforms-field-textarea.step2 textarea").attr("placeholder","- Je dirige une entreprise de vente au détail avec un site Web Shopify\n- Notre principal défi est la conversion du trafic PPC\n- Je contacte Convertize pour m'aider à optimiser mes pages de destination")):(F(".steps p").text("Step 2 of 2"),F(".wpforms-field-textarea.step2 textarea").attr("placeholder","- I run a retail business with a Shopify website\n- Our main challenge is converting PPC traffic\n- Iâm contacting Convertize to help optimize my landing pages")); 4}))})},st=function(){var t=F(".service-btn.leads"),e=F(".service-btn.conversions"),i=F(".service-btn.users");t.click(function(){F(this).toggleClass("active"),F(".service-title.leads").each(function(){F(this).toggleClass("active-leads")})}),e.click(function(){F(this).toggleClass("active"),F(".service-title.conversions").each(function(){F(this).toggleClass("active-conversions")})}),i.click(function(){F(this).toggleClass("active"),F(".service-title.users").each(function(){F(this).toggleClass("active-users")})})},nt=function(){var t=F(".dynamic-feature-btn.dynamic-text"),e=F(".dynamic-feature-btn.geolocation"),i=F(".dynamic-feature-img.dynamic-text"),s=F(".dynamic-feature-img.geolocation");t.click(function(){F(this).removeClass("disabled").addClass("active"),i.removeClass("disabled").addClass("active"),e.removeClass("active").addClass("disabled"),s.removeClass("active").addClass("disabled")}),e.click(function(){F(this).removeClass("disabled").addClass("active"),s.removeClass("disabled").addClass("active"),t.removeClass("active").addClass("disabled"),i.removeClass("active").addClass("disabled")}),F(".url-shortcode.dynamic-text").click(function(){t.removeClass("disabled").addClass("active"),i.removeClass("disabled").addClass("active"),e.removeClass("active").addClass("disabled"),s.removeClass("active").addClass("disabled")}),F(".url-shortcode.geolocation").click(function(){e.removeClass("disabled").addClass("active"),s.removeClass("disabled").addClass("active"),t.removeClass("active").addClass("disabled"),i.removeClass("active").addClass("disabled")})},rt=function(){F(".chat-trigger").on("click",function(){Intercom("show")})},ot=function(){function t(){Array.prototype.forEach.call(s,function(t){e(t)?t.classList.add("is-visible"):t.classList.remove("is-visible")}),i(t)}function e(t){"function"==typeof jQuery&&t instanceof jQuery&&(t=t[0]);var e=t.getBoundingClientRect();return e.top<=0&&e.bottom>=0||e.bottom>=(window.innerHeight||document.documentElement.clientHeight)&&e.top<=(window.innerHeight||document.documentElement.clientHeight)||e.top>=0&&e.bottom<=(window.innerHeight||document.documentElement.clientHeight)}var i=window.requestAnimationFrame||function(t){window.setTimeout(t,1e3/60)},s=document.querySelectorAll(".slide-left");t()},at=function(){F(window).width()<=930&&(F(".genesis-nav-menu .sub-menu li.smart-editor").insertAfter(".sub-menu li.autopilot"),F(".genesis-nav-menu .sub-menu li.lightning-mode").insertAfter(".sub-menu li.smart-editor"),F(".genesis-nav-menu .sub-menu li.hybrid-statistics").insertAfter(".sub-menu li.lightning-mode"),F(".genesis-nav-menu .sub-menu li.personalisation").insertBefore(".sub-menu li.dynamic-text"),F(".genesis-nav-menu .sub-menu li.geolocation").insertBefore(".sub-menu li.nudgify"),F(".genesis-nav-menu .sub-menu li.ab-testing-guide").insertAfter(".sub-menu li.what-is-ab-testing"),F(".genesis-nav-menu .sub-menu li.cro-guide").insertAfter(".sub-menu li.ab-testing-guide"),F(".genesis-nav-menu .sub-menu li.documentation").insertAfter(".sub-menu li.cro-guide"),F(".genesis-nav-menu .sub-menu li.calculator").insertAfter(".sub-menu li.documentation"),F(".genesis-nav-menu .sub-menu li.tactics").insertAfter(".sub-menu li.calculator")),F(window).resize(function(){F(window).width()<=930?(F(".genesis-nav-menu .sub-menu li.smart-editor").insertAfter(".sub-menu li.autopilot"),F(".genesis-nav-menu .sub-menu li.lightning-mode").insertAfter(".sub-menu li.smart-editor"),F(".genesis-nav-menu .sub-menu li.hybrid-statistics").insertAfter(".sub-menu li.lightning-mode"),F(".genesis-nav-menu .sub-menu li.personalisation").insertBefore(".sub-menu li.dynamic-text"),F(".genesis-nav-menu .sub-menu li.geolocation").insertBefore(".sub-menu li.nudgify"),F(".genesis-nav-menu .sub-menu li.ab-testing-guide").insertAfter(".sub-menu li.what-is-ab-testing"),F(".genesis-nav-menu .sub-menu li.cro-guide").insertAfter(".sub-menu li.ab-testing-guide"),F(".genesis-nav-menu .sub-menu li.documentation").insertAfter(".sub-menu li.cro-guide"),F(".genesis-nav-menu .sub-menu li.calculator").insertAfter(".sub-menu li.documentation"),F(".genesis-nav-menu .sub-menu li.tactics").insertAfter(".sub-menu li.calculator")):(F(".genesis-nav-menu .sub-menu li.personalisation").insertAfter(".sub-menu li.autopilot"),F(".genesis-nav-menu .sub-menu li.smart-editor").insertAfter(".sub-menu li.personalisation"),F(".genesis-nav-menu .sub-menu li.dynamic-text").insertAfter(".sub-menu li.smart-editor"),F(".genesis-nav-menu .sub-menu li.lightning-mode").insertAfter(".sub-menu li.dynamic-text"),F(".genesis-nav-menu .sub-menu li.geolocation").insertAfter(".sub-menu li.lightning-mode"),F(".genesis-nav-menu .sub-menu li.hybrid-statistics").insertAfter(".sub-menu li.geolocation"),F(".genesis-nav-menu .sub-menu li.nudgify").insertAfter(".sub-menu li.hybrid-statistics"),F(".genesis-nav-menu .sub-menu li.blank.hidden").insertAfter(".sub-menu li.all-features"),F(".genesis-nav-menu .sub-menu li.documentation").insertAfter(".sub-menu li.convertize-blog"),F(".genesis-nav-menu .sub-menu li.what-is-ab-testing").insertAfter(".sub-menu li.documentation"),F(".genesis-nav-menu .sub-menu li.calculator").insertAfter(".sub-menu li.what-is-ab-testing"),F(".genesis-nav-menu .sub-menu li.ab-testing-guide").insertAfter(".sub-menu li.calculator"),F(".genesis-nav-menu .sub-menu li.tactics").insertAfter(".sub-menu li.ab-testing-guide"))})},lt=function(){var t=F(document);t.on("click","#bonus-content-modal .sib-form-block__button",function(){0!==t.scrollTop()&&t.scrollTop(0)})},ct=function(){F(".genesis-nav-menu li .sub-menu li").hasClass("external")&&F(".genesis-nav-menu li .sub-menu li.external a .menu-item-description").append('<i class="fa fa-external-link" style="margin-left: 8px;"></i>')};return{initLayout:function(t){A(t),P(),H(),O(),N(),I(),L(),S(),D(),M(),z(),T(),R(),h(),d(),u(),p(),m(),g(),f(),v(),$(),y(),b(),B(),_(),w(),V(),j(),q(),W(),x(),k(),U(),Q(),Z(),J(),Y(),K(),X(),G(),tt(),et(),it(),st(),nt(),rt(),ot(),at(),lt(),ct()}}}();!function(t){"use strict";t(document).ready(function(){App.initLayout(t)})}(jQuery);var _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},windowIsDefined="object"===("undefined"==typeof window?"undefined":_typeof(window));!function(t){if("function"==typeof define&&define.amd)define(["jquery"],t);else if("object"===("undefined"==typeof module?"undefined":_typeof(module))&&module.exports){var e;try{e=require("jquery")}catch(i){e=null}module.exports=t(e)}else window&&(window.Slider=t(window.jQuery))}
vendor: 7,211 bytes, line 4
4(function(t){var e="slider",i="bootstrapSlider";windowIsDefined&&!window.console&&(window.console={}),windowIsDefined&&!window.console.log&&(window.console.log=function(){}),windowIsDefined&&!window.console.warn&&(window.console.warn=function(){});var s;return function(t){"use strict";function e(){}function i(t){function i(e){e.prototype.option||(e.prototype.option=function(e){t.isPlainObject(e)&&(this.options=t.extend(!0,this.options,e))})}function n(e,i){t.fn[e]=function(n){if("string"==typeof n){for(var o=s.call(arguments,1),a=0,l=this.length;l>a;a++){var c=this[a],h=t.data(c,e);if(h)if(t.isFunction(h[n])&&"_"!==n.charAt(0)){var d=h[n].apply(h,o);if(void 0!==d&&d!==h)return d}else r("no such method '"+n+"' for "+e+" instance");else r("cannot call methods on "+e+" prior to initialization; attempted to call '"+n+"'")}return this}var u=this.map(function(){var s=t.data(this,e);return s?(s.option(n),s._init()):(s=new i(this,n),t.data(this,e,s)),t(this)});return!u||u.length>1?u:u[0]}}if(t){var r="undefined"==typeof console?e:function(t){console.error(t)};return t.bridget=function(t,e){i(e),n(t,e)},t.bridget}}var s=Array.prototype.slice;i(t)}(t),function(t){function n(e,i){function s(t,e){var i="data-slider-"+e.replace(/_/g,"-"),s=t.getAttribute(i);try{return JSON.parse(s)}catch(n){return s}}this._state={value:null,enabled:null,offset:null,size:null,percentage:null,inDrag:!1,over:!1},this.ticksCallbackMap={},this.handleCallbackMap={},"string"==typeof e?this.element=document.querySelector(e):e instanceof HTMLElement&&(this.element=e),i=i?i:{};for(var n=Object.keys(this.defaultOptions),r=0;r<n.length;r++){var a=n[r],l=i[a];l="undefined"!=typeof l?l:s(this.element,a),l=null!==l?l:this.defaultOptions[a],this.options||(this.options={}),this.options[a]=l}"auto"===this.options.rtl&&(this.options.rtl="rtl"===window.getComputedStyle(this.element).direction),"vertical"!==this.options.orientation||"top"!==this.options.tooltip_position&&"bottom"!==this.options.tooltip_position?"horizontal"!==this.options.orientation||"left"!==this.options.tooltip_position&&"right"!==this.options.tooltip_position||(this.options.tooltip_position="top"):this.options.rtl?this.options.tooltip_position="left":this.options.tooltip_position="right";var c,h,d,u,p,m=this.element.style.width,g=!1,f=this.element.parentNode;if(this.sliderElem)g=!0;else{this.sliderElem=document.createElement("div"),this.sliderElem.className="slider";var v=document.createElement("div");if(v.className="slider-track",h=document.createElement("div"),h.className="slider-track-low",c=document.createElement("div"),c.className="slider-selection",d=document.createElement("div"),d.className="slider-track-high",u=document.createElement("div"),u.className="slider-handle min-slider-handle",u.setAttribute("role","slider"),u.setAttribute("aria-valuemin",this.options.min),u.setAttribute("aria-valuemax",this.options.max),p=document.createElement("div"),p.className="slider-handle max-slider-handle",p.setAttribute("role","slider"),p.setAttribute("aria-valuemin",this.options.min),p.setAttribute("aria-valuemax",this.options.max),v.appendChild(h),v.appendChild(c),v.appendChild(d),this.rangeHighlightElements=[],Array.isArray(this.options.rangeHighlights)&&this.options.rangeHighlights.length>0)for(var y=0;y<this.options.rangeHighlights.length;y++){var b=document.createElement("div");b.className="slider-rangeHighlight slider-selection",this.rangeHighlightElements.push(b),v.appendChild(b)}var _=Array.isArray(this.options.labelledby);if(_&&this.options.labelledby[0]&&u.setAttribute("aria-labelledby",this.options.labelledby[0]),_&&this.options.labelledby[1]&&p.setAttribute("aria-labelledby",this.options.labelledby[1]),!_&&this.options.labelledby&&(u.setAttribute("aria-labelledby",this.options.labelledby),p.setAttribute("aria-labelledby",this.options.labelledby)),this.ticks=[],Array.isArray(this.options.ticks)&&this.options.ticks.length>0){for(this.ticksContainer=document.createElement("div"),this.ticksContainer.className="slider-tick-container",r=0;r<this.options.ticks.length;r++){var w=document.createElement("div");if(w.className="slider-tick",this.options.ticks_tooltip){var C=this._addTickListener(),x=C.addMouseEnter(this,w,r),k=C.addMouseLeave(this,w);this.ticksCallbackMap[r]={mouseEnter:x,mouseLeave:k}}this.ticks.push(w),this.ticksContainer.appendChild(w)}c.className+=" tick-slider-selection"}if(this.tickLabels=[],Array.isArray(this.options.ticks_labels)&&this.options.ticks_labels.length>0)for(this.tickLabelContainer=document.createElement("div"),this.tickLabelContainer.className="slider-tick-label-container",r=0;r<this.options.ticks_labels.length;r++){var E=document.createElement("div"),F=0===this.options.ticks_positions.length,A=this.options.reversed&&F?this.options.ticks_labels.length-(r+1):r;E.className="slider-tick-label",E.innerHTML=this.options.ticks_labels[A],this.tickLabels.push(E),this.tickLabelContainer.appendChild(E)}var P=function(t){var e=document.createElement("div");e.className="tooltip-arrow";var i=document.createElement("div");i.className="tooltip-inner",t.appendChild(e),t.appendChild(i)},L=document.createElement("div");L.className="tooltip tooltip-main",L.setAttribute("role","presentation"),P(L);var T=document.createElement("div");T.className="tooltip tooltip-min",T.setAttribute("role","presentation"),P(T);var D=document.createElement("div");D.className="tooltip tooltip-max",D.setAttribute("role","presentation"),P(D),this.sliderElem.appendChild(v),this.sliderElem.appendChild(L),this.sliderElem.appendChild(T),this.sliderElem.appendChild(D),this.tickLabelContainer&&this.sliderElem.appendChild(this.tickLabelContainer),this.ticksContainer&&this.sliderElem.appendChild(this.ticksContainer),this.sliderElem.appendChild(u),this.sliderElem.appendChild(p),f.insertBefore(this.sliderElem,this.element),this.element.style.display="none"}if(t&&(this.$element=t(this.element),this.$sliderElem=t(this.sliderElem)),this.eventToCallbackMap={},this.sliderElem.id=this.options.id,this.touchCapable="ontouchstart"in window||window.DocumentTouch&&document instanceof window.DocumentTouch,this.touchX=0,this.touchY=0,this.tooltip=this.sliderElem.querySelector(".tooltip-main"),this.tooltipInner=this.tooltip.querySelector(".tooltip-inner"),this.tooltip_min=this.sliderElem.querySelector(".tooltip-min"),this.tooltipInner_min=this.tooltip_min.querySelector(".tooltip-inner"),this.tooltip_max=this.sliderElem.querySelector(".tooltip-max"),this.tooltipInner_max=this.tooltip_max.querySelector(".tooltip-inner"),o[this.options.scale]&&(this.options.scale=o[this.options.scale]),g===!0&&(this._removeClass(this.sliderElem,"slider-horizontal"),this._removeClass(this.sliderElem,"slider-vertical"),this._removeClass(this.sliderElem,"slider-rtl"),this._removeClass(this.tooltip,"hide"),this._removeClass(this.tooltip_min,"hide"),this._removeClass(this.tooltip_max,"hide"),["left","right","top","width","height"].forEach(function(t){this._removeProperty(this.trackLow,t),this._removeProperty(this.trackSelection,t),this._removeProperty(this.trackHigh,t)},this),[this.handle1,this.handle2].forEach(function(t){this._removeProperty(t,"left"),this._removeProperty(t,"right"),this._removeProperty(t,"top")}
4,this),[this.tooltip,this.tooltip_min,this.tooltip_max].forEach(function(t){this._removeProperty(t,"left"),this._removeProperty(t,"right"),this._removeProperty(t,"top"),this._removeProperty(t,"margin-left"),this._removeProperty(t,"margin-right"),this._removeProperty(t,"margin-top"),this._removeClass(t,"right"),this._removeClass(t,"left"),this._removeClass(t,"top")},this)),"vertical"===this.options.orientation?(this._addClass(this.sliderElem,"slider-vertical"),this.stylePos="top",this.mousePos="pageY",this.sizePos="offsetHeight"):(this._addClass(this.sliderElem,"slider-horizontal"),this.sliderElem.style.width=m,this.options.orientation="horizontal",this.options.rtl?this.stylePos="right":this.stylePos="left",this.mousePos="pageX",this.sizePos="offsetWidth"),this.options.rtl&&this._addClass(this.sliderElem,"slider-rtl"),this._setTooltipPosition(),Array.isArray(this.options.ticks)&&this.options.ticks.length>0&&(this.options.max=Math.max.apply(Math,this.options.ticks),this.options.min=Math.min.apply(Math,this.options.ticks)),Array.isArray(this.options.value)?(this.options.range=!0,this._state.value=this.options.value):this.options.range?this._state.value=[this.options.value,this.options.max]:this._state.value=this.options.value,this.trackLow=h||this.trackLow,this.trackSelection=c||this.trackSelection,this.trackHigh=d||this.trackHigh,"none"===this.options.selection?(this._addClass(this.trackLow,"hide"),this._addClass(this.trackSelection,"hide"),this._addClass(this.trackHigh,"hide")):("after"===this.options.selection||"before"===this.options.selection)&&(this._removeClass(this.trackLow,"hide"),this._removeClass(this.trackSelection,"hide"),this._removeClass(this.trackHigh,"hide")),this.handle1=u||this.handle1,this.handle2=p||this.handle2,g===!0)for(this._removeClass(this.handle1,"round triangle"),this._removeClass(this.handle2,"round triangle hide"),r=0;r<this.ticks.length;r++)this._removeClass(this.ticks[r],"round triangle hide");var S=["round","triangle","custom"],z=-1!==S.indexOf(this.options.handle);if(z)for(this._addClass(this.handle1,this.options.handle),this._addClass(this.handle2,this.options.handle),r=0;r<this.ticks.length;r++)this._addClass(this.ticks[r],this.options.handle);if(this._state.offset=this._offset(this.sliderElem),this._state.size=this.sliderElem[this.sizePos],this.setValue(this._state.value),this.handle1Keydown=this._keydown.bind(this,0),this.handle1.addEventListener("keydown",this.handle1Keydown,!1),this.handle2Keydown=this._keydown.bind(this,1),this.handle2.addEventListener("keydown",this.handle2Keydown,!1),this.mousedown=this._mousedown.bind(this),this.touchstart=this._touchstart.bind(this),this.touchmove=this._touchmove.bind(this),this.touchCapable){var M=!1;try{var I=Object.defineProperty({},"passive",{get:function(){M=!0}});window.addEventListener("test",null,I)}catch($){}var N=M?{passive:!0}:!1;this.sliderElem.addEventListener("touchstart",this.touchstart,N),this.sliderElem.addEventListener("touchmove",this.touchmove,N)}if(this.sliderElem.addEventListener("mousedown",this.mousedown,!1),this.resize=this._resize.bind(this),window.addEventListener("resize",this.resize,!1),"hide"===this.options.tooltip)this._addClass(this.tooltip,"hide"),this._addClass(this.tooltip_min,"hide"),this._addClass(this.tooltip_max,"hide");else if("always"===this.options.tooltip)this._showTooltip(),this._alwaysShowTooltip=!0;else{if(this.showTooltip=this._showTooltip.bind(this),this.hideTooltip=this._hideTooltip.bind(this),this.options.ticks_tooltip){var O=this._addTickListener(),H=O.addMouseEnter(this,this.handle1),R=O.addMouseLeave(this,this.handle1);this.handleCallbackMap.handle1={mouseEnter:H,mouseLeave:R},H=O.addMouseEnter(this,this.handle2),R=O.addMouseLeave(this,this.handle2),this.handleCallbackMap.handle2={mouseEnter:H,mouseLeave:R}}else this.sliderElem.addEventListener("mouseenter",this.showTooltip,!1),this.sliderElem.addEventListener("mouseleave",this.hideTooltip,!1);this.handle1.addEventListener("focus",this.showTooltip,!1),this.handle1.addEventListener("blur",this.hideTooltip,!1),this.handle2.addEventListener("focus",this.showTooltip,!1),this.handle2.addEventListener("blur",this.hideTooltip,!1)}this.options.enabled?this.enable():this.disable()}var r={formatInvalidInputErrorMsg:function(t){return"Invalid input value '"+t+"' passed in"},callingContextNotSliderInstance:"Calling context element does not have instance of Slider bound to it. Check your code to make sure the JQuery object returned from the call to the slider() initializer is calling the method"},o={linear:{toValue:function(t){var e=t/100*(this.options.max-this.options.min),i=!0;if(this.options.ticks_positions.length>0){for(var s,n,r,o=0,a=1;a<this.options.ticks_positions.length;a++)if(t<=this.options.ticks_positions[a]){s=this.options.ticks[a-1],r=this.options.ticks_positions[a-1],n=this.options.ticks[a],o=this.options.ticks_positions[a];break}var l=(t-r)/(o-r);e=s+l*(n-s),i=!1}var c=i?this.options.min:0,h=c+Math.round(e/this.options.step)*this.options.step;return h<this.options.min?this.options.min:h>this.options.max?this.options.max:h},toPercentage:function(t){if(this.options.max===this.options.min)return 0;if(this.options.ticks_positions.length>0){for(var e,i,s,n=0,r=0;r<this.options.ticks.length;r++)if(t<=this.options.ticks[r]){e=r>0?this.options.ticks[r-1]:0,s=r>0?this.options.ticks_positions[r-1]:0,i=this.options.ticks[r],n=this.options.ticks_positions[r];break}if(r>0){var o=(t-e)/(i-e);return s+o*(n-s)}}return 100*(t-this.options.min)/(this.options.max-this.options.min)}},logarithmic:{toValue:function(t){var e=0===this.options.min?0:Math.log(this.options.min),i=Math.log(this.options.max),s=Math.exp(e+(i-e)*t/100);return s=this.options.min+Math.round((s-this.options.min)/this.options.step)*this.options.step,s<this.options.min?this.options.min:s>this.options.max?this.options.max:s},toPercentage:function(t){if(this.options.max===this.options.min)return 0;var e=Math.log(this.options.max),i=0===this.options.min?0:Math.log(this.options.min),s=0===t?0:Math.log(t);return 100*(s-i)/(e-i)}}};s=function(t,e){return n.call(this,t,e),this},s.prototype={_init:function(){},constructor:s,defaultOptions:{id:"",min:0,max:10,step:1,precision:0,orientation:"horizontal",value:5,range:!1,selection:"before",tooltip:"show",tooltip_split:!1,handle:"round",reversed:!1,rtl:"auto",enabled:!0,formatter:function(t){return Array.isArray(t)?t[0]+" : "+t[1]:t},natural_arrow_keys:!1,ticks:[],ticks_positions:[],ticks_labels:[],ticks_snap_bounds:0,ticks_tooltip:!1,scale:"linear",focus:!1,tooltip_position:null,labelledby:null,rangeHighlights:[]},getElement:function(){return this.sliderElem},getValue:function(){return this.options.range?this._state.value:this._state.value[0]}
vendor: 14,256 bytes, lines 4-5
4,setValue:function(t,e,i){t||(t=0);var s=this.getValue();this._state.value=this._validateInputValue(t);var n=this._applyPrecision.bind(this);this.options.range?(this._state.value[0]=n(this._state.value[0]),this._state.value[1]=n(this._state.value[1]),this._state.value[0]=Math.max(this.options.min,Math.min(this.options.max,this._state.value[0])),this._state.value[1]=Math.max(this.options.min,Math.min(this.options.max,this._state.value[1]))):(this._state.value=n(this._state.value),this._state.value=[Math.max(this.options.min,Math.min(this.options.max,this._state.value))],this._addClass(this.handle2,"hide"),"after"===this.options.selection?this._state.value[1]=this.options.max:this._state.value[1]=this.options.min),this.options.max>this.options.min?this._state.percentage=[this._toPercentage(this._state.value[0]),this._toPercentage(this._state.value[1]),100*this.options.step/(this.options.max-this.options.min)]:this._state.percentage=[0,0,100],this._layout();var r=this.options.range?this._state.value:this._state.value[0];return this._setDataVal(r),e===!0&&this._trigger("slide",r),s!==r&&i===!0&&this._trigger("change",{oldValue:s,newValue:r}),this},destroy:function(){this._removeSliderEventHandlers(),this.sliderElem.parentNode.removeChild(this.sliderElem),this.element.style.display="",this._cleanUpEventCallbacksMap(),this.element.removeAttribute("data"),t&&(this._unbindJQueryEventHandlers(),this.$element.removeData("slider"))},disable:function(){return this._state.enabled=!1,this.handle1.removeAttribute("tabindex"),this.handle2.removeAttribute("tabindex"),this._addClass(this.sliderElem,"slider-disabled"),this._trigger("slideDisabled"),this},enable:function(){return this._state.enabled=!0,this.handle1.setAttribute("tabindex",0),this.handle2.setAttribute("tabindex",0),this._removeClass(this.sliderElem,"slider-disabled"),this._trigger("slideEnabled"),this},toggle:function(){return this._state.enabled?this.disable():this.enable(),this},isEnabled:function(){return this._state.enabled},on:function(t,e){return this._bindNonQueryEventHandler(t,e),this},off:function(e,i){t?(this.$element.off(e,i),this.$sliderElem.off(e,i)):this._unbindNonQueryEventHandler(e,i)},getAttribute:function(t){return t?this.options[t]:this.options},setAttribute:function(t,e){return this.options[t]=e,this},refresh:function(){return this._removeSliderEventHandlers(),n.call(this,this.element,this.options),t&&t.data(this.element,"slider",this),this},relayout:function(){return this._resize(),this._layout(),this},_removeSliderEventHandlers:function(){if(this.handle1.removeEventListener("keydown",this.handle1Keydown,!1),this.handle2.removeEventListener("keydown",this.handle2Keydown,!1),this.options.ticks_tooltip){for(var t=this.ticksContainer.getElementsByClassName("slider-tick"),e=0;e<t.length;e++)t[e].removeEventListener("mouseenter",this.ticksCallbackMap[e].mouseEnter,!1),t[e].removeEventListener("mouseleave",this.ticksCallbackMap[e].mouseLeave,!1);this.handle1.removeEventListener("mouseenter",this.handleCallbackMap.handle1.mouseEnter,!1),this.handle2.removeEventListener("mouseenter",this.handleCallbackMap.handle2.mouseEnter,!1),this.handle1.removeEventListener("mouseleave",this.handleCallbackMap.handle1.mouseLeave,!1),this.handle2.removeEventListener("mouseleave",this.handleCallbackMap.handle2.mouseLeave,!1)}this.handleCallbackMap=null,this.ticksCallbackMap=null,this.showTooltip&&(this.handle1.removeEventListener("focus",this.showTooltip,!1),this.handle2.removeEventListener("focus",this.showTooltip,!1)),this.hideTooltip&&(this.handle1.removeEventListener("blur",this.hideTooltip,!1),this.handle2.removeEventListener("blur",this.hideTooltip,!1)),this.showTooltip&&this.sliderElem.removeEventListener("mouseenter",this.showTooltip,!1),this.hideTooltip&&this.sliderElem.removeEventListener("mouseleave",this.hideTooltip,!1),this.sliderElem.removeEventListener("touchstart",this.touchstart,!1),this.sliderElem.removeEventListener("touchmove",this.touchmove,!1),this.sliderElem.removeEventListener("mousedown",this.mousedown,!1),window.removeEventListener("resize",this.resize,!1)},_bindNonQueryEventHandler:function(t,e){void 0===this.eventToCallbackMap[t]&&(this.eventToCallbackMap[t]=[]),this.eventToCallbackMap[t].push(e)},_unbindNonQueryEventHandler:function(t,e){var i=this.eventToCallbackMap[t];if(void 0!==i)for(var s=0;s<i.length;s++)if(i[s]===e){i.splice(s,1);break}},_cleanUpEventCallbacksMap:function(){for(var t=Object.keys(this.eventToCallbackMap),e=0;e<t.length;e++){var i=t[e];delete this.eventToCallbackMap[i]}},_showTooltip:function(){this.options.tooltip_split===!1?(this._addClass(this.tooltip,"in"),this.tooltip_min.style.display="none",this.tooltip_max.style.display="none"):(this._addClass(this.tooltip_min,"in"),this._addClass(this.tooltip_max,"in"),this.tooltip.style.display="none"),this._state.over=!0},_hideTooltip:function(){this._state.inDrag===!1&&this.alwaysShowTooltip!==!0&&(this._removeClass(this.tooltip,"in"),this._removeClass(this.tooltip_min,"in"),this._removeClass(this.tooltip_max,"in")),this._state.over=!1},_setToolTipOnMouseOver:function(t){function e(t,e){return e?[100-t.percentage[0],this.options.range?100-t.percentage[1]:t.percentage[1]]:[t.percentage[0],t.percentage[1]]}var i=this.options.formatter(t?t.value[0]:this._state.value[0]),s=t?e(t,this.options.reversed):e(this._state,this.options.reversed);this._setText(this.tooltipInner,i),this.tooltip.style[this.stylePos]=s[0]+"%","vertical"===this.options.orientation?this._css(this.tooltip,"margin-"+this.stylePos,-this.tooltip.offsetHeight/2+"px"):this._css(this.tooltip,"margin-"+this.stylePos,-this.tooltip.offsetWidth/2+"px")},_addTickListener:function(){return{addMouseEnter:function(t,e,i){var s=function(){var e=t._state,s=i>=0?i:this.attributes["aria-valuenow"].value,n=parseInt(s,10);e.value[0]=n,e.percentage[0]=t.options.ticks_positions[n],t._setToolTipOnMouseOver(e),t._showTooltip()};return e.addEventListener("mouseenter",s,!1),s},addMouseLeave:function(t,e){var i=function(){t._hideTooltip()};return e.addEventListener("mouseleave",i,!1),i}}},_layout:function(){var t;if(t=this.options.reversed?[100-this._state.percentage[0],this.options.range?100-this._state.percentage[1]:this._state.percentage[1]]:[this._state.percentage[0],this._state.percentage[1]],this.handle1.style[this.stylePos]=t[0]+"%",this.handle1.setAttribute("aria-valuenow",this._state.value[0]),isNaN(this.options.formatter(this._state.value[0]))&&this.handle1.setAttribute("aria-valuetext",this.options.formatter(this._state.value[0])),this.handle2.style[this.stylePos]=t[1]+"%",this.handle2.setAttribute("aria-valuenow",this._state.value[1]),isNaN(this.options.formatter(this._state.value[1]))&&this.handle2.setAttribute("aria-valuetext",this.options.formatter(this._state.value[1])),this.rangeHighlightElements.length>0&&Array.isArray(this.options.rangeHighlights)&&this.options.rangeHighlights.length>0)for(var e=0;e<this.options.rangeHighlights.length;e++){var i=this._toPercentage(this.options.rangeHighlights[e].start),s=this._toPercentage(this.options.rangeHighlights[e].end);if(this.options.reversed){var n=100-s;s=100-i,i=n}var r=this._createHighlightRange(i,s);r?"vertical"===this.options.orientation?(this.rangeHighlightElements[e].style.top=r.start+"%",this.rangeHighlightElements[e].style.height=r.size+"%"):(this.options.rtl?this.rangeHighlightElements[e].style.right=r.start+"%":this.rangeHighlightElements[e].style.left=r.start+"%",this.rangeHighlightElements[e].style.width=r.size+"%"):this.rangeHighlightElements[e].style.display="none"}if(Array.isArray(this.options.ticks)&&this.options.ticks.length>0){var o,a="vertical"===this.options.orientation?"height":"width";o="vertical"===this.options.orientation?"marginTop":this.options.rtl?"marginRight":"marginLeft";var l=this._state.size/(this.options.ticks.length-1);if(this.tickLabelContainer){var c=0;if(0===this.options.ticks_positions.length)"vertical"!==this.options.orientation&&(this.tickLabelContainer.style[o]=-l/2+"px"),c=this.tickLabelContainer.offsetHeight;else for(h=0;h<this.tickLabelContainer.childNodes.length;h++)this.tickLabelContainer.childNodes[h].offsetHeight>c&&(c=this.tickLabelContainer.childNodes[h].offsetHeight);"horizontal"===this.options.orientation&&(this.sliderElem.style.marginBottom=c+"px")}for(var h=0;h<this.options.ticks.length;h++){var d=this.options.ticks_positions[h]||this._toPercentage(this.options.ticks[h]);this.options.reversed&&(d=100-d),this.ticks[h].style[this.stylePos]=d+"%",this._removeClass(this.ticks[h],"in-selection"),this.options.range?d>=t[0]&&d<=t[1]&&this._addClass(this.ticks[h],"in-selection"):"after"===this.options.selection&&d>=t[0]?this._addClass(this.ticks[h],"in-selection"):"before"===this.options.selection&&d<=t[0]&&this._addClass(this.ticks[h],"in-selection"),this.tickLabels[h]&&(this.tickLabels[h].style[a]=l+"px","vertical"!==this.options.orientation&&void 0!==this.options.ticks_positions[h]?(this.tickLabels[h].style.position="absolute",this.tickLabels[h].style[this.stylePos]=d+"%",this.tickLabels[h].style[o]=-l/2+"px"):"vertical"===this.options.orientation&&(this.options.rtl?this.tickLabels[h].style.marginRight=this.sliderElem.offsetWidth+"px":this.tickLabels[h].style.marginLeft=this.sliderElem.offsetWidth+"px",this.tickLabelContainer.style[o]=this.sliderElem.offsetWidth/2*-1+"px"))}}var u;if(this.options.range){u=this.options.formatter(this._state.value),this._setText(this.tooltipInner,u),this.tooltip.style[this.stylePos]=(t[1]+t[0])/2+"%","vertical"===this.options.orientation?this._css(this.tooltip,"margin-"+this.stylePos,-this.tooltip.offsetHeight/2+"px"):this._css(this.tooltip,"margin-"+this.stylePos,-this.tooltip.offsetWidth/2+"px");var p=this.options.formatter(this._state.value[0]);this._setText(this.tooltipInner_min,p);var m=this.options.formatter(this._state.value[1]);this._setText(this.tooltipInner_max,m),this.tooltip_min.style[this.stylePos]=t[0]+"%","vertical"===this.options.orientation?this._css(this.tooltip_min,"margin-"+this.stylePos,-this.tooltip_min.offsetHeight/2+"px"):this._css(this.tooltip_min,"margin-"+this.stylePos,-this.tooltip_min.offsetWidth/2+"px"),this.tooltip_max.style[this.stylePos]=t[1]+"%","vertical"===this.options.orientation?this._css(this.tooltip_max,"margin-"+this.stylePos,-this.tooltip_max.offsetHeight/2+"px"):this._css(this.tooltip_max,"margin-"+this.stylePos,-this.tooltip_max.offsetWidth/2+"px")}else u=this.options.formatter(this._state.value[0]),this._setText(this.tooltipInner,u),this.tooltip.style[this.stylePos]=t[0]+"%","vertical"===this.options.orientation?this._css(this.tooltip,"margin-"+this.stylePos,-this.tooltip.offsetHeight/2+"px"):this._css(this.tooltip,"margin-"+this.stylePos,-this.tooltip.offsetWidth/2+"px");if("vertical"===this.options.orientation)this.trackLow.style.top="0",this.trackLow.style.height=Math.min(t[0],t[1])+"%",this.trackSelection.style.top=Math.min(t[0],t[1])+"%",this.trackSelection.style.height=Math.abs(t[0]-t[1])+"%",this.trackHigh.style.bottom="0",this.trackHigh.style.height=100-Math.min(t[0],t[1])-Math.abs(t[0]-t[1])+"%";else{"right"===this.stylePos?this.trackLow.style.right="0":this.trackLow.style.left="0",this.trackLow.style.width=Math.min(t[0],t[1])+"%","right"===this.stylePos?this.trackSelection.style.right=Math.min(t[0],t[1])+"%":this.trackSelection.style.left=Math.min(t[0],t[1])+"%",this.trackSelection.style.width=Math.abs(t[0]-t[1])+"%", 5"right"===this.stylePos?this.trackHigh.style.left="0":this.trackHigh.style.right="0",this.trackHigh.style.width=100-Math.min(t[0],t[1])-Math.abs(t[0]-t[1])+"%";var g=this.tooltip_min.getBoundingClientRect(),f=this.tooltip_max.getBoundingClientRect();"bottom"===this.options.tooltip_position?g.right>f.left?(this._removeClass(this.tooltip_max,"bottom"),this._addClass(this.tooltip_max,"top"),this.tooltip_max.style.top="",this.tooltip_max.style.bottom="22px"):(this._removeClass(this.tooltip_max,"top"),this._addClass(this.tooltip_max,"bottom"),this.tooltip_max.style.top=this.tooltip_min.style.top,this.tooltip_max.style.bottom=""):g.right>f.left?(this._removeClass(this.tooltip_max,"top"),this._addClass(this.tooltip_max,"bottom"),this.tooltip_max.style.top="18px"):(this._removeClass(this.tooltip_max,"bottom"),this._addClass(this.tooltip_max,"top"),this.tooltip_max.style.top=this.tooltip_min.style.top)}},_createHighlightRange:function(t,e){return this._isHighlightRange(t,e)?t>e?{start:e,size:t-e}:{start:t,size:e-t}:null},_isHighlightRange:function(t,e){return t>=0&&100>=t&&e>=0&&100>=e?!0:!1},_resize:function(t){this._state.offset=this._offset(this.sliderElem),this._state.size=this.sliderElem[this.sizePos],this._layout()},_removeProperty:function(t,e){t.style.removeProperty?t.style.removeProperty(e):t.style.removeAttribute(e)},_mousedown:function(t){if(!this._state.enabled)return!1;this._state.offset=this._offset(this.sliderElem),this._state.size=this.sliderElem[this.sizePos];var e=this._getPercentage(t);if(this.options.range){var i=Math.abs(this._state.percentage[0]-e),s=Math.abs(this._state.percentage[1]-e);this._state.dragged=s>i?0:1,this._adjustPercentageForRangeSliders(e)}else this._state.dragged=0;this._state.percentage[this._state.dragged]=e,this._layout(),this.touchCapable&&(document.removeEventListener("touchmove",this.mousemove,!1),document.removeEventListener("touchend",this.mouseup,!1)),this.mousemove&&document.removeEventListener("mousemove",this.mousemove,!1),this.mouseup&&document.removeEventListener("mouseup",this.mouseup,!1),this.mousemove=this._mousemove.bind(this),this.mouseup=this._mouseup.bind(this),this.touchCapable&&(document.addEventListener("touchmove",this.mousemove,!1),document.addEventListener("touchend",this.mouseup,!1)),document.addEventListener("mousemove",this.mousemove,!1),document.addEventListener("mouseup",this.mouseup,!1),this._state.inDrag=!0;var n=this._calculateValue();return this._trigger("slideStart",n),this._setDataVal(n),this.setValue(n,!1,!0),t.returnValue=!1,this.options.focus&&this._triggerFocusOnHandle(this._state.dragged),!0},_touchstart:function(t){if(void 0===t.changedTouches)return void this._mousedown(t);var e=t.changedTouches[0];this.touchX=e.pageX,this.touchY=e.pageY},_triggerFocusOnHandle:function(t){0===t&&this.handle1.focus(),1===t&&this.handle2.focu
5s()},_keydown:function(t,e){if(!this._state.enabled)return!1;var i;switch(e.keyCode){case 37:case 40:i=-1;break;case 39:case 38:i=1}if(i){if(this.options.natural_arrow_keys){var s="vertical"===this.options.orientation&&!this.options.reversed,n="horizontal"===this.options.orientation&&this.options.reversed;(s||n)&&(i=-i)}var r=this._state.value[t]+i*this.options.step;return this.options.range&&(r=[t?this._state.value[0]:r,t?r:this._state.value[1]]),this._trigger("slideStart",r),this._setDataVal(r),this.setValue(r,!0,!0),this._setDataVal(r),this._trigger("slideStop",r),this._layout(),this._pauseEvent(e),!1}},_pauseEvent:function(t){t.stopPropagation&&t.stopPropagation(),t.preventDefault&&t.preventDefault(),t.cancelBubble=!0,t.returnValue=!1},_mousemove:function(t){if(!this._state.enabled)return!1;var e=this._getPercentage(t);this._adjustPercentageForRangeSliders(e),this._state.percentage[this._state.dragged]=e,this._layout();var i=this._calculateValue(!0);return this.setValue(i,!0,!0),!1},_touchmove:function(t){if(void 0!==t.changedTouches){var e=t.changedTouches[0],i=e.pageX-this.touchX,s=e.pageY-this.touchY;this._state.inDrag||("vertical"===this.options.orientation&&5>=i&&i>=-5&&(s>=15||-15>=s)?this._mousedown(t):5>=s&&s>=-5&&(i>=15||-15>=i)&&this._mousedown(t))}},_adjustPercentageForRangeSliders:function(t){if(this.options.range){var e=this._getNumDigitsAfterDecimalPlace(t);e=e?e-1:0;var i=this._applyToFixedAndParseFloat(t,e);0===this._state.dragged&&this._applyToFixedAndParseFloat(this._state.percentage[1],e)<i?(this._state.percentage[0]=this._state.percentage[1],this._state.dragged=1):1===this._state.dragged&&this._applyToFixedAndParseFloat(this._state.percentage[0],e)>i&&(this._state.percentage[1]=this._state.percentage[0],this._state.dragged=0)}},_mouseup:function(){if(!this._state.enabled)return!1;this.touchCapable&&(document.removeEventListener("touchmove",this.mousemove,!1),document.removeEventListener("touchend",this.mouseup,!1)),document.removeEventListener("mousemove",this.mousemove,!1),document.removeEventListener("mouseup",this.mouseup,!1),this._state.inDrag=!1,this._state.over===!1&&this._hideTooltip();var t=this._calculateValue(!0);return this._layout(),this._setDataVal(t),this._trigger("slideStop",t),!1},_calculateValue:function(t){var e;if(this.options.range?(e=[this.options.min,this.options.max],0!==this._state.percentage[0]&&(e[0]=this._toValue(this._state.percentage[0]),e[0]=this._applyPrecision(e[0])),100!==this._state.percentage[1]&&(e[1]=this._toValue(this._state.percentage[1]),e[1]=this._applyPrecision(e[1]))):(e=this._toValue(this._state.percentage[0]),e=parseFloat(e),e=this._applyPrecision(e)),t){for(var i=[e,1/0],s=0;s<this.options.ticks.length;s++){var n=Math.abs(this.options.ticks[s]-e);n<=i[1]&&(i=[this.options.ticks[s],n])}if(i[1]<=this.options.ticks_snap_bounds)return i[0]}return e},_applyPrecision:function(t){var e=this.options.precision||this._getNumDigitsAfterDecimalPlace(this.options.step);return this._applyToFixedAndParseFloat(t,e)},_getNumDigitsAfterDecimalPlace:function(t){var e=(""+t).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return e?Math.max(0,(e[1]?e[1].length:0)-(e[2]?+e[2]:0)):0},_applyToFixedAndParseFloat:function(t,e){var i=t.toFixed(e);return parseFloat(i)},_getPercentage:function(t){!this.touchCapable||"touchstart"!==t.type&&"touchmove"!==t.type||(t=t.touches[0]);var e=t[this.mousePos],i=this._state.offset[this.stylePos],s=e-i;"right"===this.stylePos&&(s=-s);var n=s/this._state.size*100;return n=Math.round(n/this._state.percentage[2])*this._state.percentage[2],this.options.reversed&&(n=100-n),Math.max(0,Math.min(100,n))},_validateInputValue:function(t){if(isNaN(+t)){if(Array.isArray(t))return this._validateArray(t),t;throw new Error(r.formatInvalidInputErrorMsg(t))}return+t},_validateArray:function(t){for(var e=0;e<t.length;e++){var i=t[e];if("number"!=typeof i)throw new Error(r.formatInvalidInputErrorMsg(i))}},_setDataVal:function(t){this.element.setAttribute("data-value",t),this.element.setAttribute("value",t),this.element.value=t},_trigger:function(e,i){i=i||0===i?i:void 0;var s=this.eventToCallbackMap[e];if(s&&s.length)for(var n=0;n<s.length;n++){var r=s[n];r(i)}t&&this._triggerJQueryEvent(e,i)},_triggerJQueryEvent:function(t,e){var i={type:t,value:e};this.$element.trigger(i),this.$sliderElem.trigger(i)},_unbindJQueryEventHandlers:function(){this.$element.off(),this.$sliderElem.off()},_setText:function(t,e){"undefined"!=typeof t.textContent?t.textContent=e:"undefined"!=typeof t.innerText&&(t.innerText=e)},_removeClass:function(t,e){for(var i=e.split(" "),s=t.className,n=0;n<i.length;
5n++){var r=i[n],o=new RegExp("(?:\\s|^)"+r+"(?:\\s|$)");s=s.replace(o," ")}t.className=s.trim()},_addClass:function(t,e){for(var i=e.split(" "),s=t.className,n=0;n<i.length;n++){var r=i[n],o=new RegExp("(?:\\s|^)"+r+"(?:\\s|$)"),a=o.test(s);a||(s+=" "+r)}t.className=s.trim()},_offsetLeft:function(t){return t.getBoundingClientRect().left},_offsetRight:function(t){return t.getBoundingClientRect().right},_offsetTop:function(t){for(var e=t.offsetTop;(t=t.offsetParent)&&!isNaN(t.offsetTop);)e+=t.offsetTop,"BODY"!==t.tagName&&(e-=t.scrollTop);return e},_offset:function(t){return{left:this._offsetLeft(t),right:this._offsetRight(t),top:this._offsetTop(t)}},_css:function(e,i,s){if(t)t.style(e,i,s);else{var n=i.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(t,e){return e.toUpperCase()});e.style[n]=s}},_toValue:function(t){return this.options.scale.toValue.apply(this,[t])},_toPercentage:function(t){return this.options.scale.toPercentage.apply(this,[t])},_setTooltipPosition:function(){var t=[this.tooltip,this.tooltip_min,this.tooltip_max];if("vertical"===this.options.orientation){var e;e=this.options.tooltip_position?this.options.tooltip_position:this.options.rtl?"left":"right";var i="left"===e?"right":"left";t.forEach(function(t){this._addClass(t,e),t.style[i]="100%"}.bind(this))}else"bottom"===this.options.tooltip_position?t.forEach(function(t){this._addClass(t,"bottom"),t.style.top="22px"}.bind(this)):t.forEach(function(t){this._addClass(t,"top"),t.style.top=-this.tooltip.outerHeight-14+"px"}.bind(this))}},t&&t.fn&&!function(){var n=void 0;t.fn.slider?(windowIsDefined&&window.console.warn("bootstrap-slider.js - WARNING: $.fn.slider namespace is already bound. Use the $.fn.bootstrapSlider namespace instead."),n=i):(t.bridget(e,s),n=e),t.bridget(i,s),t(function(){t("input[data-provide=slider]")[n]()})}()}(t),s}),function(t){"use strict";window.Toc={helpers:{findOrFilter:function(t,e){var i=t.find(e);return t.filter(e).add(i).filter(":not([data-toc-skip])")},generateUniqueIdBase:function(e){var i,s=t(e).text(),n=/[& +$,:;=?@"#{}|^~[`%!'<>\]\.\/\(\)\*\\\n\t\b\v]/g;return i=s.trim().replace(/\'/gi,"").replace(n,"-").replace(/-{2,}/g,"-").substring(0,64).replace(/^-+|-+$/gm,"").toLowerCase(),i||e.tagName.toLowerCase()},generateUniqueId:function(t){for(var e=this.generateUniqueIdBase(t),i=0;;i++){var s=e;if(i>0&&(s+="-"+i),!document.getElementById(s))return s}},generateAnchor:function(t){if(t.id)return t.id;var e=this.generateUniqueId(t);return t.id=e,e},createNavList:function(){return t('<ul class="nav navbar-nav"></ul>')},createChildNavList:function(t){var e=this.createNavList();return t.append(e),e},generateNavEl:function(e,i){var s=t('<a class="nav-link"></a>');s.attr("href","#"+e),s.text(i);var n=t("<li></li>");return n.append(s),n},generateNavItem:function(e){var i=this.generateAnchor(e),s=t(e),n=s.data("toc-text")||s.text();return this.generateNavEl(i,n)},getTopLevel:function(t){for(var e=1;6>=e;e++){var i=this.findOrFilter(t,"h"+e);if(i.length>1)return e}return 1},getHeadings:function(t,e){var i="h"+e,s=e+1,n="h"+s;return this.findOrFilter(t,i+","+n)},getNavLevel:function(t){return parseInt(t.tagName.charAt(1),10)},populateNav:function(t,e,i){var s,n=t,r=this;i.each(function(i,o){var a=r.generateNavItem(o),l=r.getNavLevel(o);l===e?n=t:s&&n===t&&(n=r.createChildNavList(s)),n.append(a),s=a})},parseOps:function(e){var i;return i=e.jquery?{$nav:e}:e,i.$scope=i.$scope||t(document.body),i}},init:function(t){t=this.helpers.parseOps(t),t.$nav.attr("data-toggle","toc");var e=this.helpers.createChildNavList(t.$nav),i=this.helpers.getTopLevel(t.$scope),s=this.helpers.getHeadings(t.$scope,i);this.helpers.populateNav(e,i,s)}},t(function(){t('nav[data-toggle="toc"]').each(function(e,i){var s=t(i);Toc.init(s)})})}(jQuery),function(){this.Calendly={},this.Calendly._util={}}.call(this),Calendly._util.domReady=function(t){var e=!1,i=function(){document.addEventListener?(document.removeEventListener("DOMContentLoaded",s),window.removeEventListener("load",s)):(document.detachEvent("onreadystatechange",s),window.detachEvent("onload",s))},s=function(){e||!document.addEventListener&&"load"!==event.type&&"complete"!==document.readyState||(e=!0,i(),t())};if("complete"===document.readyState)t();else if(document.addEventListener)document.addEventListener("DOMContentLoaded",s),window.addEventListener("load",s);else{document.attachEvent("onreadystatechange",s),window.attachEvent("onload",s);var n=!1;try{n=null==window.frameElement&&document.documentElement}catch(r){}n&&n.doScroll&&!function o(){if(!e){try{n.doScroll("left")}catch(s){return setTimeout(o,50)}e=!0,i(),t()}}()}},Calendly._util.assign=function(t){"use strict";if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(t),i=1;i<arguments.length;i++){var s=arguments[i];if(null!=s)for(var n in s)Object.prototype.hasOwnProperty.call(s,n)&&(e[n]=s[n])}return e},function(){Calendly._url={},Calendly._url.extractQueryStringParams=function(t){var e,i,s,n,r,o,a,l,c,h;for(a=document.createElement("a"),a.href=t,r=a.search.substr(1),o={},l=r.split("&"),e=0,s=l.length;s>e;e++)n=l[e],c=n.split("="),i=c[0],h=c[1],void 0!==h&&(o[i.toLowerCase()]=decodeURIComponent(h));return o},Calendly._url.stripQuery=function(t){return t.split("?")[0]}}.call(this),function(){Calendly._util.snakeCaseKeys=function(t){var e,i,s;s={};for(i in t)e=i.split(/(?=[A-Z])/).join("_").toLowerCase(),s[e]=t[i];return s},Calendly._util.pick=function(t,e){var i,s,n,r;if(t){for(r={},i=0,n=e.length;n>i;i++)s=e[i],t[s]&&(r[s]=t[s]);return r}}}.call(this),function(t,e){if("function"==typeof define&&define.amd)define(["exports"],e);
5else if("undefined"!=typeof exports)e(exports);else{var i={exports:{}};e(i.exports),t.bodyScrollLock=i.exports}}(this,function(t){"use strict";function e(t){if(Array.isArray(t)){for(var e=0,i=Array(t.length);e<t.length;e++)i[e]=t[e];return i}return Array.from(t)}Object.defineProperty(t,"__esModule",{value:!0});var i=!1;if("undefined"!=typeof window){var s={get passive(){i=!0}};window.addEventListener("testPassive",null,s),window.removeEventListener("testPassive",null,s)}var n="undefined"!=typeof window&&window.navigator&&window.navigator.platform&&/iP(ad|hone|od)/.test(window.navigator.platform),r=[],o=!1,a=-1,l=void 0,c=void 0,h=function(t){return r.some(function(e){return!(!e.options.allowTouchMove||!e.options.allowTouchMove(t))})},d=function(t){var e=t||window.event;return h(e.target)?!0:e.touches.length>1?!0:(e.preventDefault&&e.preventDefault(),!1)},u=function(t){setTimeout(function(){if(void 0===c){var e=!!t&&t.reserveScrollBarGap===!0,i=window.innerWidth-document.documentElement.clientWidth;e&&i>0&&(c=document.body.style.paddingRight,document.body.style.paddingRight=i+"px")}void 0===l&&(l=document.body.style.overflow,document.body.style.overflow="hidden")})},p=function(){setTimeout(function(){void 0!==c&&(document.body.style.paddingRight=c,c=void 0),void 0!==l&&(document.body.style.overflow=l,l=void 0)})},m=function(t){return t?t.scrollHeight-t.scrollTop<=t.clientHeight:!1},g=function(t,e){var i=t.targetTouches[0].clientY-a;return h(t.target)?!1:e&&0===e.scrollTop&&i>0?d(t):m(e)&&0>i?d(t):(t.stopPropagation(),!0)};t.disableBodyScroll=function(t,s){if(n){if(!t)return void console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");if(t&&!r.some(function(e){return e.targetElement===t})){var l={targetElement:t,options:s||{}};r=[].concat(e(r),[l]),t.ontouchstart=function(t){1===t.targetTouches.length&&(a=t.targetTouches[0].clientY)},t.ontouchmove=function(e){1===e.targetTouches.length&&g(e,t)},o||(document.addEventListener("touchmove",d,i?{passive:!1}:void 0),o=!0)}}else{u(s);var c={targetElement:t,options:s||{}};r=[].concat(e(r),[c])}},t.clearAllBodyScrollLocks=function(){n?(r.forEach(function(t){t.targetElement.ontouchstart=null,t.targetElement.ontouchmove=null}),o&&(document.removeEventListener("touchmove",d,i?{passive:!1}:void 0),o=!1),r=[],a=-1):(p(),r=[])},t.enableBodyScroll=function(t){if(n){if(!t)return void console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.");t.ontouchstart=null,t.ontouchmove=null,r=r.filter(function(e){return e.targetElement!==t}),o&&0===r.length&&(document.removeEventListener("touchmove",d,i?{passive:!1}:void 0),o=!1)}else 1===r.length&&r[0].targetElement===t?(p(),r=[]):r=r.filter(function(e){return e.targetElement!==t})}}),function(){var t,e,i,s,n;Calendly._autoLoadInlineWidgets=function(){return Calendly._util.domReady(function(){return e()})},Calendly.initBadgeWidget=function(e){return Calendly._util.domReady(function(){return t(e)})},Calendly.destroyBadgeWidget=function(){return Calendly.badgeWidget?(Calendly.badgeWidget.destroy(),delete Calendly.badgeWidget):void 0},Calendly.initPopupWidget=function(t){return Calendly._util.domReady(function(){return Calendly.showPopupWidget(t.url,"PopupText",t)})},Calendly.initInlineWidget=function(t){return t.url?(t.parentElement||(t.parentElement=s()),Calendly._util.domReady(function(){return t.embedType="Inline",new Calendly.Iframe(t)})):void 0},Calendly.showPopupWidget=function(t,e,i){var s;return null==e&&(e="PopupText"),null==i&&(i={}),this.closePopupWidget(),s=function(){return delete Calendly.popupWidget},Calendly.popupWidget=new Calendly.PopupWidget(t,s,e,i),Calendly.popupWidget.show()},Calendly.closePopupWidget=function(){return Calendly.popupWidget?Calendly.popupWidget.close():void 0},s=function(){var t;return t=document.scripts[document.scripts.length-1],t.parentNode},e=function(){var t,e,i,s,r;for(e=document.querySelectorAll(".calendly-inline-widget"),r=[],i=0,s=e.length;s>i;i++)t=e[i],n(t)?r.push(void 0):(t.setAttribute("data-processed",!0),r.push(new Calendly.Iframe({parentElement:t,inlineStyles:!0,embedType:"Inline"})));return r},n=function(t){return t.getAttribute("data-processed")||"false"===t.getAttribute("data-auto-load")},t=function(t){var e,s,n;return Calendly.destroyBadgeWidget(),e=i(t),n=function(){return Calendly.showPopupWidget(t.url,"PopupWidget",t)},s=Calendly._util.assign({onClick:n},e),Calendly.badgeWidget=new Calendly.BadgeWidget(s)},i=function(t){var e,i;return e=["color","textColor","text","branding"],i={},e.forEach(function(e){return i[e]=t[e],delete t[e]}),i}}.call(this),function(){Calendly.Iframe=function(){function t(t){this.options=t,this.parseOptions(),this.build(),this.inject()}return t.prototype.isMobile=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),t.prototype.parseOptions=function(){var t;if(t={inlineStyles:!1},this.options=Calendly._util.assign({},t,this.options),this.parent=this.options.parentElement,!this.parent)throw"Calendly: Parent element not set";if(this.parent.jquery&&(this.parent=this.parent[0]),this.inlineStyles=this.options.inlineStyles,this.embedType=this.options.embedType,this.url=(this.options.url||this.getUrlFromParent()).split("#")[0],!this.url)throw"Calendly: Widget URL not set"},t.prototype.build=function(){return this.node=document.createElement("iframe"),this.node.src=this.getSource(),this.node.width="100%",this.node.height="100%",this.node.frameBorder="0"},t.prototype.inject=function(){return this.format(),this.parent.appendChild(this.buildSpinner()),this.parent.appendChild(this.node)},t.prototype.getSource=function(){var t;return t=Calendly._url.stripQuery(this.url)+"?"+this.getParams(),this.filterConsentParam(t)},t.prototype.getUrlFromParent=function(){return this.parent.getAttribute("data-url")},t.prototype.getParams=function(){var t,e,i,s;e="embed_domain="+this.getDomain()+"&embed_type="+this.embedType,i=Calendly._util.assign(this.getUtmParamsFromHost(),this.getParamsFromUrl(),this.getParamsFromOptions());for(t in i)s=i[t],e+="&"+t+"="+encodeURIComponent(s);return e},t.prototype.getUtmParamsFromHost=function(){var t,e;return t=["utm_campaign","utm_source","utm_medium","utm_content","utm_term"],e=Calendly._url.extractQueryStringParams(window.location.href),Calendly._util.pick(e,t)},t.prototype.getParamsFromUrl=function(){return Calendly._url.extractQueryStringParams(this.url)},t.prototype.getParamsFromOptions=function(){return Calendly._util.assign({},this.getPrefillParams(),this.getUtmParams())},t.prototype.getUtmParams=function(){var t;return this.options.utm?(t=["utmCampaign","utmSource","utmMedium","utmContent","utmTerm"],Calendly._util.snakeCaseKeys(Calendly._util.pick(this.options.utm,t))):null},t.prototype.getPrefillParams=function(){var t,e,i,s,n;if(!this.options.prefill)return null;if(e=["name","firstName","lastName","email"],i=Calendly._util.snakeCaseKeys(Calendly._util.pick(this.options.prefill,e)),this.options.prefill.customAnswers){s=this.options.prefill.customAnswers;for(t in s)n=s[t],t.match(/^a\d{1,2}$/)&&(i[t]=n)}return i},t.prototype.getDomain=function(){return encodeURIComponent(document.location.host)}
5,t.prototype.filterConsentParam=function(t){return t.replace(/consent_accept=1&?/g,"")},t.prototype.format=function(){return this.isMobile?this.formatMobile():this.formatDesktop()},t.prototype.formatDesktop=function(){return this.inlineStyles?this.parent.setAttribute("style","position: relative;"+this.parent.getAttribute("style")):void 0},t.prototype.formatMobile=function(){return this.inlineStyles?this.parent.setAttribute("style","position: relative;overflow-y:auto;-webkit-overflow-scrolling:touch;"+this.parent.getAttribute("style")):this.parent.className+=" mobile"},t.prototype.buildSpinner=function(){var t;return t=document.createElement("div"),t.className="spinner",t.appendChild(this.buildBounce(1)),t.appendChild(this.buildBounce(2)),t.appendChild(this.buildBounce(3)),t},t.prototype.buildBounce=function(t){var e;return e=document.createElement("div"),e.className="bounce"+t,e},t}()}.call(this),function(){var t=function(t,e){return function(){return t.apply(e,arguments)}};Calendly.PopupWidget=function(){function e(e,i,s,n){this.url=e,this.onClose=i,this.embedType=s,this.options=null!=n?n:{},this.close=t(this.close,this)}return e.prototype.show=function(){return this.buildOverlay(),this.insertOverlay(),this.lockPageScroll()},e.prototype.close=function(){return this.unlockPageScroll(),this.destroyOverlay(),this.onClose()},e.prototype.buildOverlay=function(){return this.overlay=document.createElement("div"),this.overlay.className="calendly-overlay",this.overlay.appendChild(this.buildCloseOverlay()),this.overlay.appendChild(this.buildPopup()),this.overlay.appendChild(this.buildCloseButton())},e.prototype.insertOverlay=function(){return document.body.appendChild(this.overlay)},e.prototype.buildCloseOverlay=function(){var t;return t=document.createElement("div"),t.className="calendly-close-overlay",t.oncl
5ick=this.close,t},e.prototype.buildPopup=function(){var t;return t=document.createElement("div"),t.className="calendly-popup",t.appendChild(this.buildPopupContent()),t},e.prototype.buildPopupContent=function(){var t;return t=document.createElement("div"),t.className="calendly-popup-content",t.setAttribute("data-url",this.url),this.options.parentElement=t,this.options.embedType=this.embedType,new Calendly.Iframe(this.options),t},e.prototype.buildCloseButton=function(){var t;return t=document.createElement("div"),t.className="calendly-popup-close",t.onclick=this.close,t},e.prototype.destroyOverlay=function(){return this.overlay.parentNode.removeChild(this.overlay)},e.prototype.lockPageScroll=function(){return bodyScrollLock.disableBodyScroll(this.overlay),document.addEventListener("touchmove",this.handleLockedTouchmove,{passive:!1})},e.prototype.unlockPageScroll=function(){return bodyScrollLock.enableBodyScroll(this.overlay),document.removeEventListener("touchmove",this.handleLockedTouchmove,{passive:!1})},e.prototype.handleLockedTouchmove=function(t){return t.preventDefault()},e}()}.call(this),function(){Calendly.BadgeWidget=function(){function t(t){this.options=t,this.buildWidget(),this.insertWidget()}return t.prototype.destroy=function(){return this.widget.parentNode.removeChild(this.widget)},t.prototype.buildWidget=function(){return this.widget=document.createElement("div"),this.widget.className="calendly-badge-widget",this.widget.appendChild(this.buildContent())},t.prototype.insertWidget=function(){return document.body.insertBefore(this.widget,document.body.firstChild)},t.prototype.buildContent=function(){var t;return t=document.createElement("div"),t.className="calendly-badge-content","#ffffff"===this.options.color&&(t.className+=" white"),t.onclick=this.options.onClick,t.innerHTML=this.options.text,t.style.background=this.options.color,t.style.color=this.options.textColor,this.options.branding&&t.appendChild(this.buildBranding()),t},t.prototype.buildBranding=function(){var t;return t=document.createElement("span"),t.innerHTML="powered by Calendly",t},t}()}.call(this),Calendly._autoLoadInlineWidgets(),function(t){t.extend(t.fn,{validate:function(e){if(!this.length)return void(e&&e.debug&&window.console&&console.warn("Nothing selected, can't validate, returning nothing."));var i=t.data(this[0],"validator");return i?i:(this.attr("novalidate","novalidate"),i=new t.validator(e,this[0]),t.data(this[0],"validator",i),i.settings.onsubmit&&(this.validateDelegate(":submit","click",function(e){i.settings.submitHandler&&(i.submitButton=e.target),t(e.target).hasClass("cancel")&&(i.cancelSubmit=!0),void 0!==t(e.target).attr("formnovalidate")&&(i.cancelSubmit=!0)}),this.submit(function(e){function s(){var s;return i.settings.submitHandler?(i.submitButton&&(s=t("<input type='hidden'/>").attr("name",i.submitButton.name).val(t(i.submitButton).val()).appendTo(i.currentForm)),i.settings.submitHandler.call(i,i.currentForm,e),i.submitButton&&s.remove(),!1):!0}return i.settings.debug&&e.preventDefault(),i.cancelSubmit?(i.cancelSubmit=!1,s()):i.form()?i.pendingRequest?(i.formSubmitted=!0,!1):s():(i.focusInvalid(),!1)})),i)},valid:function(){if(t(this[0]).is("form"))return this.validate().form();var e=!0,i=t(this[0].form).validate();return this.each(function(){e=e&&i.element(this)}),e},removeAttrs:function(e){var i={},s=this;return t.each(e.split(/\s/),function(t,e){i[e]=s.attr(e),s.removeAttr(e)}),i},rules:function(e,i){var s=this[0];if(e){var n=t.data(s.form,"validator").settings,r=n.rules,o=t.validator.staticRules(s);switch(e){case"add":t.extend(o,t.validator.normalizeRule(i)),delete o.messages,r[s.name]=o,i.messages&&(n.messages[s.name]=t.extend(n.messages[s.name],i.messages));break;case"remove":if(!i)return delete r[s.name],o;var a={};return t.each(i.split(/\s/),function(t,e){a[e]=o[e],delete o[e]}),a}}var l=t.validator.normalizeRules(t.extend({},t.validator.classRules(s),t.validator.attributeRules(s),t.validator.dataRules(s),t.validator.staticRules(s)),s);if(l.required){var c=l.required;delete l.required,l=t.extend({required:c},l)}return l}}),t.extend(t.expr[":"],{blank:function(e){return!t.trim(""+t(e).val())},filled:function(e){return!!t.trim(""+t(e).val())},unchecked:function(e){return!t(e).prop("checked")}}),t.validator=function(e,i){this.settings=t.extend(!0,{},t.validator.defaults,e),this.currentForm=i,this.init()},t.validator.format=function(e,i){return 1===arguments.length?function(){var i=t.makeArray(arguments);return i.unshift(e),t.validator.format.apply(this,i)}:(arguments.length>2&&i.constructor!==Array&&(i=t.makeArray(arguments).slice(1)),i.constructor!==Array&&(i=[i]),t.each(i,function(t,i){e=e.replace(RegExp("\\{"+t+"\\}","g"),function(){return i})}),e)},t.extend(t.validator,{defaults:{messages:{},groups:{},rules:{},errorClass:"error",validClass:"valid",errorElement:"label",focusInvalid:!0,errorContainer:t([]),errorLabelContainer:t([]),onsubmit:!0,ignore:":hidden",ignoreTitle:!1,onfocusin:function(t){this.lastActive=t,this.settings.focusCleanup&&!this.blockFocusCleanup&&(this.settings.unhighlight&&this.settings.unhighlight.call(this,t,this.settings.errorClass,this.settings.val
5idClass),this.addWrapper(this.errorsFor(t)).hide())},onfocusout:function(t){this.checkable(t)||!(t.name in this.submitted)&&this.optional(t)||this.element(t)},onkeyup:function(t,e){(9!==e.which||""!==this.elementValue(t))&&(t.name in this.submitted||t===this.lastElement)&&this.element(t)},onclick:function(t){t.name in this.submitted?this.element(t):t.parentNode.name in this.submitted&&this.element(t.parentNode)},highlight:function(e,i,s){"radio"===e.type?this.findByName(e.name).addClass(i).removeClass(s):t(e).addClass(i).removeClass(s)},unhighlight:function(e,i,s){"radio"===e.type?this.findByName(e.name).removeClass(i).addClass(s):t(e).removeClass(i).addClass(s)}},setDefaults:function(e){t.extend(t.validator.defaults,e)},messages:{required:"This field is required.",remote:"Please fix this field.",email:"Please enter a valid email address.",url:"Please enter a valid URL.",date:"Please enter a valid date.",dateISO:"Please enter a valid date (ISO).",number:"Please enter a valid number.",digits:"Please enter only digits.",creditcard:"Please enter a valid credit card number.",equalTo:"Please enter the same value again.",maxlength:t.validator.format("Please enter no more than {0} characters."),minlength:t.validator.format("Please enter at least {0} characters."),rangelength:t.validator.format("Please enter a value between {0} and {1} characters long."),range:t.validator.format("Please enter a value between {0} and {1}."),max:t.validator.format("Please enter a value less than or equal to {0}."),min:t.validator.format("Please enter a value greater than or equal to {0}.")},autoCreateRanges:!1,prototype:{init:function(){function e(e){var i=t.data(this[0].form,"validator"),s="on"+e.type.replace(/^validate/,"");i.settings[s]&&i.settings[s].call(i,this[0],e)}this.labelContainer=t(this.settings.errorLabelContainer),this.errorContext=this.labelContainer.length&&this.labelContainer||t(this.currentForm),this.containers=t(this.settings.errorContainer).add(this.settings.errorLabelContainer),this.submitted={},this.valueCache={},this.pendingRequest=0,this.pending={},this.invalid={},this.reset();var i=this.groups={};t.each(this.settings.groups,function(e,s){"string"==typeof s&&(s=s.split(/\s/)),t.each(s,function(t,s){i[s]=e})});var s=this.settings.rules;t.each(s,function(e,i){s[e]=t.validator.normalizeRule(i)}),t(this.currentForm).validateDelegate(":text, [type='password'], [type='file'], select, textarea, [type='number'], [type='search'] ,[type='tel'], [type='url'], [type='email'], [type='datetime'], [type='date'], [type='month'], [type='week'], [type='time'], [type='datetime-local'], [type='range'], [type='color'] ","focusin focusout keyup",e).validateDelegate("[type='radio'], [type='checkbox'], select, option","click",e),this.settings.invalidHandler&&t(this.currentForm).bind("invalid-form.validate",this.settings.invalidHandler)},form:function(){return this.checkForm(),t.extend(this.submitted,this.errorMap),this.invalid=t.extend({},this.errorMap),this.valid()||t(this.currentForm).triggerHandler("invalid-form",[this]),this.showErrors(),this.valid()},checkForm:function(){this.prepareForm();for(var t=0,e=this.currentElements=this.elements();e[t];t++)this.check(e[t]);return this.valid()},element:function(e){e=this.validationTargetFor(this.clean(e)),this.lastElement=e,this.prepareElement(e),this.currentElements=t(e);var i=this.check(e)!==!1;return i?delete this.invalid[e.name]:this.invalid[e.name]=!0,this.numberOfInvalids()||(this.toHide=this.toHide.add(this.containers)),this.showErrors(),i},showErrors:function(e){if(e){t.extend(this.errorMap,e),this.errorList=[];for(var i in e)this.errorList.push({message:e[i],element:this.findByName(i)[0]});this.successList=t.grep(this.successList,function(t){return!(t.name in e)})}this.settings.showErrors?this.settings.showErrors.call(this,this.errorMap,this.errorList):this.defaultShowErrors()},resetForm:function(){t.fn.resetForm&&t(this.currentForm).resetForm(),this.submitted={},this.lastElement=null,this.prepareForm(),this.hideErrors(),this.elements().removeClass(this.settings.errorClass).removeData("previousValue")},numberOfInvalids:function(){return this.objectLength(this.invalid)},objectLength:function(t){var e=0;for(var i in t)e++;return e},hideErrors:function(){this.addWrapper(this.toHide).hide()},valid:function(){return 0===this.size()},size:function(){return this.errorList.length},focusInvalid:function(){if(this.settings.focusInvalid)try{t(this.findLastActive()||this.errorList.length&&this.errorList[0].element||[]).filter(":visible").focus().trigger("focusin")}catch(e){}},findLastActive:function(){ 6var e=this.lastActive;return e&&1===t.grep(this.errorList,function(t){return t.element.name===e.name}).length&&e},elements:function(){var e=this,i={};return t(this.currentForm).find("input, select, textarea").not(":submit, :reset, :image, [disabled]").not(this.settings.ignore).filter(function(){return!this.name&&e.settings.debug&&window.console&&console.error("%o has no name assigned",this),this.name in i||!e.objectLength(t(this).rules())?!1:(i[this.name]=!0,!0)})},clean:function(e){return t(e)[0]},errors:function(){var e=this.settings.errorClass.replace(" ",".");return t(this.settings.errorElement+"."+e,this.errorContext)},reset:function(){this.successList=[],this.errorList=[],this.errorMap={},this.toShow=t([]),this.toHide=t([]),this.currentElements=t([])},prepareForm:function(){this.reset(),this.toHide=this.errors().add(this.containers
6)},prepareElement:function(t){this.reset(),this.toHide=this.errorsFor(t)},elementValue:function(e){var i=t(e).attr("type"),s=t(e).val();return"radio"===i||"checkbox"===i?t("input[name='"+t(e).attr("name")+"']:checked").val():"string"==typeof s?s.replace(/\r/g,""):s},check:function(e){e=this.validationTargetFor(this.clean(e));var i,s=t(e).rules(),n=!1,r=this.elementValue(e);for(var o in s){var a={method:o,parameters:s[o]};try{if(i=t.validator.methods[o].call(this,r,e,a.parameters),"dependency-mismatch"===i){n=!0;continue}if(n=!1,"pending"===i)return void(this.toHide=this.toHide.not(this.errorsFor(e)));if(!i)return this.formatAndAdd(e,a),!1}catch(l){throw this.settings.debug&&window.console&&console.log("Exception occurred when checking element "+e.id+", check the '"+a.method+"' method.",l),l}}return n?void 0:(this.objectLength(s)&&this.successList.push(e),!0)},customDataMessage:function(e,i){return t(e).data("msg-"+i.toLowerCase())||e.attributes&&t(e).attr("data-msg-"+i.toLowerCase())},customMessage:function(t,e){var i=this.settings.messages[t];return i&&(i.constructor===String?i:i[e])},findDefined:function(){for(var t=0;arguments.length>t;t++)if(void 0!==arguments[t])return arguments[t]},defaultMessage:function(e,i){return this.findDefined(this.customMessage(e.name,i),this.customDataMessage(e,i),!this.settings.ignoreTitle&&e.title||void 0,t.validator.messages[i],"<strong>Warning: No message defined for "+e.name+"</strong>")},formatAndAdd:function(e,i){var s=this.defaultMessage(e,i.method),n=/\$?\{(\d+)\}/g;"function"==typeof s?s=s.call(this,i.parameters,e):n.test(s)&&(s=t.validator.format(s.replace(n,"{$1}"),i.parameters)),this.errorList.push({message:s,element:e}),this.errorMap[e.name]=s,this.submitted[e.name]=s},addWrapper:function(t){return this.settings.wrapper&&(t=t.add(t.parent(this.settings.wrapper))),t},defaultShowErrors:function(){var t,e;for(t=0;this.errorList[t];t++){var i=this.errorList[t];this.settings.highlight&&this.settings.highlight.call(this,i.element,this.settings.errorClass,this.settings.validClass),this.showLabel(i.element,i.message)}if(this.errorList.length&&(this.toShow=this.toShow.add(this.containers)),this.settings.success)for(t=0;this.successList[t];t++)this.showLabel(this.successList[t]);if(this.settings.unhighlight)for(t=0,e=this.validElements();e[t];t++)this.settings.unhighlight.call(this,e[t],this.settings.errorClass,this.settings.validClass);this.toHide=this.toHide.not(this.toShow),this.hideErrors(),this.addWrapper(this.toShow).show()},validElements:function(){return this.currentElements.not(this.invalidElements())},invalidElements:function(){return t(this.errorList).map(function(){return this.element})},showLabel:function(e,i){var s=this.errorsFor(e);s.length?(s.removeClass(this.settings.validClass).addClass(this.settings.errorClass),s.html(i)):(s=t("<"+this.settings.errorElement+">").attr("for",this.idOrName(e)).addClass(this.settings.errorClass).html(i||""),this.settings.wrapper&&(s=s.hide().show().wrap("<"+this.settings.wrapper+"/>").parent()),this.labelContainer.append(s).length||(this.settings.errorPlacement?this.settings.errorPlacement(s,t(e)):s.insertAfter(e))),!i&&this.settings.success&&(s.text(""),"string"==typeof this.settings.success?s.addClass(this.settings.success):this.settings.success(s,e)),this.toShow=this.toShow.add(s)},errorsFor:function(e){var i=this.idOrName(e);return this.errors().filter(function(){return t(this).attr("for")===i})},idOrName:function(t){return this.groups[t.name]||(this.checkable(t)?t.name:t.id||t.name)},validationTargetFor:function(t){return this.checkable(t)&&(t=this.findByName(t.name).not(this.settings.ignore)[0]),t},checkable:function(t){return/radio|checkbox/i.test(t.type)},findByName:function(e){return t(this.currentForm).find("[name='"+e+"']")},getLength:function(e,i){switch(i.nodeName.toLowerCase()){case"select":return t("option:selected",i).length;case"input":if(this.checkable(i))return this.findByName(i.name).filter(":checked").length}return e.length},depend:function(t,e){return this.dependTypes[typeof t]?this.dependTypes[typeof t](t,e):!0}
6,dependTypes:{"boolean":function(t){return t},string:function(e,i){return!!t(e,i.form).length},"function":function(t,e){return t(e)}},optional:function(e){var i=this.elementValue(e);return!t.validator.methods.required.call(this,i,e)&&"dependency-mismatch"},startRequest:function(t){this.pending[t.name]||(this.pendingRequest++,this.pending[t.name]=!0)},stopRequest:function(e,i){this.pendingRequest--,0>this.pendingRequest&&(this.pendingRequest=0),delete this.pending[e.name],i&&0===this.pendingRequest&&this.formSubmitted&&this.form()?(t(this.currentForm).submit(),this.formSubmitted=!1):!i&&0===this.pendingRequest&&this.formSubmitted&&(t(this.currentForm).triggerHandler("invalid-form",[this]),this.formSubmitted=!1)},previousValue:function(e){return t.data(e,"previousValue")||t.data(e,"previousValue",{old:null,valid:!0,message:this.defaultMessage(e,"remote")})}},classRuleSettings:{required:{required:!0},email:{email:!0},url:{url:!0},date:{date:!0},dateISO:{dateISO:!0},number:{number:!0},digits:{digits:!0},creditcard:{creditcard:!0}},addClassRules:function(e,i){e.constructor===String?this.classRuleSettings[e]=i:t.extend(this.classRuleSettings,e)},classRules:function(e){var i={},s=t(e).attr("class");return s&&t.each(s.split(" "),function(){this in t.validator.classRuleSettings&&t.extend(i,t.validator.classRuleSettings[this])}),i},attributeRules:function(e){var i={},s=t(e),n=s[0].getAttribute("type");for(var r in t.validator.methods){var o;"required"===r?(o=s.get(0).getAttribute(r),""===o&&(o=!0),o=!!o):o=s.attr(r),/min|max/.test(r)&&(null===n||/number|range|text/.test(n))&&(o=Number(o)),o?i[r]=o:n===r&&"range"!==n&&(i[r]=!0)}return i.maxlength&&/-1|2147483647|524288/.test(i.maxlength)&&delete i.maxlength,i},dataRules:function(e){var i,s,n={},r=t(e);for(i in t.validator.methods)s=r.data("rule-"+i.toLowerCase()),void 0!==s&&(n[i]=s);return n},staticRules:function(e){var i={},s=t.data(e.form,"validator");return s.settings.rules&&(i=t.validator.normalizeRule(s.settings.rules[e.name])||{}),i},normalizeRules:function(e,i){return t.each(e,function(s,n){if(n===!1)return void delete e[s];if(n.param||n.depends){var r=!0;switch(typeof n.depends){case"string":r=!!t(n.depends,i.form).length;break;case"function":r=n.depends.call(i,i)}r?e[s]=void 0!==n.param?n.param:!0:delete e[s]}}),t.each(e,function(s,n){e[s]=t.isFunction(n)?n(i):n}),t.each(["minlength","maxlength"],function(){e[this]&&(e[this]=Number(e[this]))}),t.each(["rangelength","range"],function(){var i;e[this]&&(t.isArray(e[this])?e[this]=[Number(e[this][0]),Number(e[this][1])]:"string"==typeof e[this]&&(i=e[this].split(/[\s,]+/),e[this]=[Number(i[0]),Number(i[1])]))}),t.validator.autoCreateRanges&&(e.min&&e.max&&(e.range=[e.min,e.max],delete e.min,delete e.max),e.minlength&&e.maxlength&&(e.rangelength=[e.minlength,e.maxlength],delete e.minlength,delete e.maxlength)),e},normalizeRule:function(e){if("string"==typeof e){var i={};t.each(e.split(/\s/),function(){i[this]=!0}),e=i}return e},addMethod:function(e,i,s){t.validator.methods[e]=i,t.validator.messages[e]=void 0!==s?s:t.validator.messages[e],3>i.length&&t.validator.addClassRules(e,t.validator.normalizeRule(e))},methods:{required:function(e,i,s){if(!this.depend(s,i))return"dependency-mismatch";if("select"===i.nodeName.toLowerCase()){var n=t(i).val();return n&&n.length>0}return this.checkable(i)?this.getLength(e,i)>0:t.trim(e).length>0},email:function(t,e){return this.optional(e)||/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))$/i.test(t)},url:function(t,e){return this.optional(e)||/^(https?|s?ftp):\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i.test(t)},date:function(t,e){return this.optional(e)||!/Invalid|NaN/.test(""+new Date(t))},dateISO:function(t,e){return this.optional(e)||/^\d{4}[\/\-]\d{1,2}[\/\-]\d{1,2}$/.test(t)},number:function(t,e){return this.optional(e)||/^-?(?:\d+|\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/.test(t)},digits:function(t,e){return this.optional(e)||/^\d+$/.test(t)},creditcard:function(t,e){if(this.optional(e))return"dependency-mismatch";if(/[^0-9 \-]+/.test(t))return!1;var i=0,s=0,n=!1;t=t.replace(/\D/g,"");for(var r=t.length-1;r>=0;r--){var o=t.charAt(r);s=parseInt(o,10),n&&(s*=2)>9&&(s-=9),i+=s,n=!n}return 0===i%10},minlength:function(e,i,s){var n=t.isArray(e)?e.length:this.getLength(t.trim(e),i);return this.optional(i)||n>=s},maxlength:function(e,i,s){var n=t.isArray(e)?e.length:this.getLength(t.trim(e),i);return this.optional(i)||s>=n},rangelength:function(e,i,s){var n=t.isArray(e)?e.length:this.getLength(t.trim(e),i);return this.optional(i)||n>=s[0]&&s[1]>=n}
6,min:function(t,e,i){return this.optional(e)||t>=i},max:function(t,e,i){return this.optional(e)||i>=t},range:function(t,e,i){return this.optional(e)||t>=i[0]&&i[1]>=t},equalTo:function(e,i,s){var n=t(s);return this.settings.onfocusout&&n.unbind(".validate-equalTo").bind("blur.validate-equalTo",function(){t(i).valid()}),e===n.val()},remote:function(e,i,s){if(this.optional(i))return"dependency-mismatch";var n=this.previousValue(i);if(this.settings.messages[i.name]||(this.settings.messages[i.name]={}),n.originalMessage=this.settings.messages[i.name].remote,this.settings.messages[i.name].remote=n.message,s="string"==typeof s&&{url:s}||s,n.old===e)return n.valid;n.old=e;var r=this;this.startRequest(i);var o={};return o[i.name]=e,t.ajax(t.extend(!0,{url:s,mode:"abort",port:"validate"+i.name,dataType:"json",data:o,success:function(s){r.settings.messages[i.name].remote=n.originalMessage;var o=s===!0||"true"===s;if(o){var a=r.formSubmitted;r.prepareElement(i),r.formSubmitted=a,r.successList.push(i),delete r.invalid[i.name],r.showErrors()}else{var l={},c=s||r.defaultMessage(i,"remote");l[i.name]=n.message=t.isFunction(c)?c(e):c,r.invalid[i.name]=!0,r.showErrors(l)}n.valid=o,r.stopRequest(i,o)}},s)),"pending"}}}),t.format=t.validator.format}(jQuery),function(t){var e={};if(t.ajaxPrefilter)t.ajaxPrefilter(function(t,i,s){var n=t.port;"abort"===t.mode&&(e[n]&&e[n].abort(),e[n]=s)});else{var i=t.ajax;t.ajax=function(s){var n=("mode"in s?s:t.ajaxSettings).mode,r=("port"in s?s:t.ajaxSettings).port;return"abort"===n?(e[r]&&e[r].abort(),e[r]=i.apply(this,arguments),e[r]):i.apply(this,arguments)}}}(jQuery),function(t){t.extend(t.fn,{validateDelegate:function(e,i,s){return this.bind(i,function(i){var n=t(i.target);return n.is(e)?s.apply(n,arguments):void 0})}})}(jQuery),function(t){if("function"==typeof define&&define.amd)define(t);else if("object"==typeof exports)module.exports=t();else{var e=window.Cookies,i=window.Cookies=t();i.noConflict=function(){return window.Cookies=e,i}}}(function(){function t(){for(var t=0,e={};t<arguments.length;t++){var i=arguments[t];for(var s in i)e[s]=i[s]}return e}function e(i){function s(e,n,r){var o;if("undefined"!=typeof document){if(arguments.length>1){if(r=t({path:"/"},s.defaults,r),"number"==typeof r.expires){var a=new Date;a.setMilliseconds(a.getMilliseconds()+864e5*r.expires),r.expires=a}try{o=JSON.stringify(n),/^[\{\[]/.test(o)&&(n=o)}catch(l){}return n=i.write?i.write(n,e):encodeURIComponent(String(n)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),e=encodeURIComponent(String(e)),e=e.replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent),e=e.replace(/[\(\)]/g,escape),document.cookie=[e,"=",n,r.expires&&"; expires="+r.expires.toUTCString(),r.path&&"; path="+r.path,r.domain&&"; domain="+r.domain,r.secure?"; secure":""].join("")}e||(o={});for(var c=document.cookie?document.cookie.split("; "):[],h=/(%[0-9A-Z]{2})+/g,d=0;d<c.length;d++){var u=c[d].split("="),p=u.slice(1).join("=");'"'===p.charAt(0)&&(p=p.slice(1,-1));try{var m=u[0].replace(h,decodeURIComponent);if(p=i.read?i.read(p,m):i(p,m)||p.replace(h,decodeURIComponent),this.json)try{p=JSON.parse(p)}catch(l){}if(e===m){o=p;break}e||(o[m]=p)}catch(l){}}return o}}return s.set=s,s.get=function(t){return s(t)},s.getJSON=function(){return s.apply({json:!0},[].slice.call(arguments))},s.defaults={},s.remove=function(e,i){s(e,"",t(i,{expires:-1}))},s.withConverter=e,s}return e(function(){})});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.