/gi,b=/^(?:body|html)$/i,w=/([A-Z])/g,_=["val","css","html","text","data","width","height","offset"],t=d.createElement("table"),E=d.createElement("tr"),j={tr:d.createElement("tbody"),tbody:t,thead:t,tfoot:t,td:E,th:E,"*":d.createElement("div")},C=/complete|loaded|interactive/,x=/^[\w-]*$/,k={},S=k.toString,T={},O=d.createElement("div"),I={tabindex:"tabIndex",readonly:"readOnly",for:"htmlFor",class:"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},L=Array.isArray||function(t){return t instanceof Array};function A(t){return null==t?String(t):k[S.call(t)]||"object"}function M(t){return"function"==A(t)}function R(t){return null!=t&&t==t.window}function $(t){return null!=t&&t.nodeType==t.DOCUMENT_NODE}function P(t){return"object"==A(t)}function N(t){return P(t)&&!R(t)&&Object.getPrototypeOf(t)==Object.prototype}function H(t){var e=!!t&&"length"in t&&t.length,n=l.type(t);return"function"!=n&&!R(t)&&("array"==n||0===e||"number"==typeof e&&0$2>")),e===u&&(e=v.test(t)&&RegExp.$1),e in j||(e="*"),(r=j[e]).innerHTML=""+t,i=l.each(h.call(r.childNodes),function(){r.removeChild(this)})),N(n)&&(o=l(i),l.each(n,function(t,e){-1<_.indexOf(t)?o[t](e):o.attr(t,e)})),i},T.Z=function(t,e){return new B(t,e)},T.isZ=function(t){return t instanceof T.Z},T.init=function(t,e){var n,i;if(!t)return T.Z();if("string"==typeof t)if("<"==(t=t.trim())[0]&&v.test(t))n=T.fragment(t,RegExp.$1,e),t=null;else{if(e!==u)return l(e).find(t);n=T.qsa(d,t)}else{if(M(t))return l(d).ready(t);if(T.isZ(t))return t;if(L(t))i=t,n=f.call(i,function(t){return null!=t});else if(P(t))n=[t],t=null;else if(v.test(t))n=T.fragment(t.trim(),RegExp.$1,e),t=null;else{if(e!==u)return l(e).find(t);n=T.qsa(d,t)}}return T.Z(n,t)},(l=function(t,e){return T.init(t,e)}).extend=function(e){var n,t=h.call(arguments,1);return"boolean"==typeof e&&(n=e,e=t.shift()),t.forEach(function(t){!function t(e,n,i){for(s in n)i&&(N(n[s])||L(n[s]))?(N(n[s])&&!N(e[s])&&(e[s]={}),L(n[s])&&!L(e[s])&&(e[s]=[]),t(e[s],n[s],i)):n[s]!==u&&(e[s]=n[s])}(e,t,n)}),e},T.qsa=function(t,e){var n,i="#"==e[0],o=!i&&"."==e[0],r=i||o?e.slice(1):e,s=x.test(r);return t.getElementById&&s&&i?(n=t.getElementById(r))?[n]:[]:1!==t.nodeType&&9!==t.nodeType&&11!==t.nodeType?[]:h.call(s&&!i&&t.getElementsByClassName?o?t.getElementsByClassName(r):t.getElementsByTagName(e):t.querySelectorAll(e))},l.contains=d.documentElement.contains?function(t,e){return t!==e&&t.contains(e)}:function(t,e){for(;e&&(e=e.parentNode);)if(e===t)return!0;return!1},l.type=A,l.isFunction=M,l.isWindow=R,l.isArray=L,l.isPlainObject=N,l.isEmptyObject=function(t){var e;for(e in t)return!1;return!0},l.isNumeric=function(t){var e=Number(t),n=typeof t;return null!=t&&"boolean"!=n&&("string"!=n||t.length)&&!isNaN(e)&&isFinite(e)||!1},l.inArray=function(t,e,n){return o.indexOf.call(e,t,n)},l.camelCase=a,l.trim=function(t){return null==t?"":String.prototype.trim.call(t)},l.uuid=0,l.support={},l.expr={},l.noop=function(){},l.map=function(t,e){var n,i,o,r,s=[];if(H(t))for(i=0;i)<[^<]*)*<\/script>/gi,Ih=/^(?:text|application)\/javascript/i,Jh=/^(?:text|application)\/xml/i,Kh="application/json",Lh="text/html",Mh=/^\s*$/,Nh=Eh.createElement("a");function Ph(t,e,n,i){if(t.global)return o=e||Eh,r=n,s=i,a=Ch.Event(r),Ch(o).trigger(a,s),!a.isDefaultPrevented();var o,r,s,a}function Sh(t,e){var n=e.context;if(!1===e.beforeSend.call(n,t,e)||!1===Ph(e,n,"ajaxBeforeSend",[t,e]))return!1;Ph(e,n,"ajaxSend",[t,e])}function Th(t,e,n,i){var o=n.context,r="success";n.success.call(o,t,r,e),i&&i.resolveWith(o,[t,r,e]),Ph(n,o,"ajaxSuccess",[e,n,t]),Vh(r,e,n)}function Uh(t,e,n,i,o){var r=i.context;i.error.call(r,n,e,t),o&&o.rejectWith(r,[n,e,t]),Ph(i,r,"ajaxError",[n,i,t||e]),Vh(e,n,i)}function Vh(t,e,n){var i,o=n.context;n.complete.call(o,e,t),Ph(n,o,"ajaxComplete",[e,n]),(i=n).global&&!--Ch.active&&Ph(i,null,"ajaxStop")}function Xh(){}function Zh(t,e){return""==e?t:(t+"&"+e).replace(/[&?]{1,2}/,"?")}function _h(t,e,n,i){return Ch.isFunction(e)&&(i=n,n=e,e=void 0),Ch.isFunction(n)||(i=n,n=void 0),{url:t,data:e,success:n,dataType:i}}Nh.href=c.location.href,Ch.active=0,Ch.ajaxJSONP=function(n,i){if(!("type"in n))return Ch.ajax(n);var o,r,t=n.jsonpCallback,s=(Ch.isFunction(t)?t():t)||"Zepto"+Dh++,a=Eh.createElement("script"),u=c[s],e=function(t){Ch(a).triggerHandler("error",t||"abort")},l={abort:e};return i&&i.promise(l),Ch(a).on("load error",function(t,e){clearTimeout(r),Ch(a).off().remove(),"error"!=t.type&&o?Th(o[0],l,n,i):Uh(null,e||"error",l,n,i),c[s]=u,o&&Ch.isFunction(u)&&u(o[0]),u=o=void 0}),!1===Sh(l,n)?e("abort"):(c[s]=function(){o=arguments},a.src=n.url.replace(/\?(.+)=\?/,"?$1="+s),Eh.head.appendChild(a),0").html(t.replace(Hh,"")).find(i):t),a&&a.apply(o,arguments)},Ch.ajax(s),this};var ai=encodeURIComponent;Ch.param=function(t,e){var n=[];return n.add=function(t,e){Ch.isFunction(e)&&(e=e()),null==e&&(e=""),this.push(ai(t)+"="+ai(e))},function n(i,t,o,r){var s,a=Ch.isArray(t),c=Ch.isPlainObject(t);Ch.each(t,function(t,e){s=Ch.type(e),r&&(t=o?r:r+"["+(c||"object"==s||"array"==s?t:"")+"]"),!r&&a?i.add(e.name,e.value):"array"==s||!o&&"object"==s?n(i,e,o,t):i.add(t,e)})}(n,t,e),n.join("&").replace(/%20/g,"+")}}(d),(Vj=d).fn.serializeArray=function(){var n,i,e=[],o=function(t){if(t.forEach)return t.forEach(o);e.push({name:n,value:t})};return this[0]&&Vj.each(this[0].elements,function(t,e){i=e.type,(n=e.name)&&"fieldset"!=e.nodeName.toLowerCase()&&!e.disabled&&"submit"!=i&&"reset"!=i&&"button"!=i&&"file"!=i&&("radio"!=i&&"checkbox"!=i||e.checked)&&o(Vj(e).val())}),e},Vj.fn.serialize=function(){var e=[];return this.serializeArray().forEach(function(t){e.push(encodeURIComponent(t.name)+"="+encodeURIComponent(t.value))}),e.join("&")},Vj.fn.submit=function(t){if(0 in arguments)this.bind("submit",t);else if(this.length){var e=Vj.Event("submit");this.eq(0).trigger(e),e.isDefaultPrevented()||this.get(0).submit()}return this},function(){try{getComputedStyle(void 0)}catch(t){var n=getComputedStyle;c.getComputedStyle=function(t,e){try{return n(t,e)}catch(t){return null}}}}(),d}),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.Glide=e()}(this,function(){"use strict";var i={type:"slider",startAt:0,perView:1,focusAt:0,gap:10,autoplay:!1,hoverpause:!0,keyboard:!0,bound:!1,swipeThreshold:80,dragThreshold:120,perTouch:!1,touchRatio:.5,touchAngle:45,animationDuration:400,rewind:!0,rewindDuration:800,animationTimingFunc:"cubic-bezier(.165, .840, .440, 1)",throttle:10,direction:"ltr",peek:0,breakpoints:{},classes:{direction:{ltr:"glide--ltr",rtl:"glide--rtl"},slider:"glide--slider",carousel:"glide--carousel",swipeable:"glide--swipeable",dragging:"glide--dragging",cloneSlide:"glide__slide--clone",activeNav:"glide__bullet--active",activeSlide:"glide__slide--active",disabledArrow:"glide__arrow--disabled"}},n="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},o=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},r=function(){function i(t,e){for(var n=0;n":"<","<":">","=":"="};function x(t,e){return{modify:function(t){return e.Direction.is("rtl")?-t:t}}}var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("testPassive",null,e),window.removeEventListener("testPassive",null,e)}catch(x){}var k=t,S=["touchstart","mousedown"],T=["touchmove","mousemove"],O=["touchend","touchcancel","mouseup","mouseleave"],I=["mousedown","mousemove","mouseup","mouseleave"];function L(t){return u(t)?(n=t,Object.keys(n).sort().reduce(function(t,e){return t[e]=n[e],t[e],t},{})):{};var n}var A={Html:function(e,t){var n={mount:function(){this.root=e.selector,this.track=this.root.querySelector('[data-glide-el="track"]'),this.slides=Array.prototype.slice.call(this.wrapper.children).filter(function(t){return!t.classList.contains(e.settings.classes.cloneSlide)})}};return h(n,"root",{get:function(){return n._r},set:function(t){s(t)&&(t=document.querySelector(t)),_(t)&&(n._r=t)}}),h(n,"track",{get:function(){return n._t},set:function(t){_(t)&&(n._t=t)}}),h(n,"wrapper",{get:function(){return n.track.children[0]}}),n},Translate:function(a,c,o){var r={set:function(t){var i,o,r,s,e=(i=a,o=c,s=[function(e,n){return{modify:function(t){return t+n.Gaps.value*e.index}}},function(t,e){return{modify:function(t){return t+e.Clones.grow/2}}},function(n,i){return{modify:function(t){if(0<=n.settings.focusAt){var e=i.Peek.value;return u(e)?t-e.before:t-e}return t}}},function(r,s){return{modify:function(t){var e=s.Gaps.value,n=s.Sizes.width,i=r.settings.focusAt,o=s.Sizes.slideWidth;return"center"===i?t-(n/2-o/2):t-o*i-e*i}}}].concat(i._t,[x]),{mutate:function(t){for(var e=0;e")?(c.Transition.after(function(){o.emit("translate.jump"),r.set(0)}),r.set(i*n+e*n)):r.set(t.movement)}),o.on("destroy",function(){r.remove()}),r},Transition:function(n,e,t){var i=!1,o={compose:function(t){var e=n.settings;return i?t+" 0ms "+e.animationTimingFunc:t+" "+this.duration+"ms "+e.animationTimingFunc},set:function(){var t=0"))&&(e._o=!1,i.emit("run.offset",e.move)),i.emit("run.after",e.move),r.enable()}))},calculate:function(){var t=this.move,e=this.length,n=t.steps,i=t.direction,o="number"==typeof y(n)&&0!==y(n);switch(i){case">":">"===n?r.index=e:this.isEnd()?r.isType("slider")&&!r.settings.rewind||(this._o=!0,r.index=0):o?r.index+=Math.min(e-r.index,-y(n)):r.index++;break;case"<":"<"===n?r.index=0:this.isStart()?r.isType("slider")&&!r.settings.rewind||(this._o=!0,r.index=e):o?r.index-=Math.min(r.index,y(n)):r.index--;break;case"=":r.index=n}},isStart:function(){return 0===r.index},isEnd:function(){return r.index===this.length},isOffset:function(t){return this._o&&this.move.direction===t}};return h(t,"move",{get:function(){return this._m},set:function(t){var e=t.substr(1);this._m={direction:t.substr(0,1),steps:e?y(e)?y(e):e:0}}}),h(t,"length",{get:function(){var t=r.settings,e=n.Html.slides.length;return r.isType("slider")&&"center"!==t.focusAt&&t.bound?e-1-(y(t.perView)-1)+y(t.focusAt):e-1}}),h(t,"offset",{get:function(){return this._o}}),t},Swipe:function(h,d,p){var n=new E,m=0,v=0,g=0,i=!1,o=!!k&&{passive:!0},t={mount:function(){this.bindSwipeStart()},start:function(t){if(!i&&!h.disabled){this.disable();var e=this.touches(t);m=null,v=y(e.pageX),g=y(e.pageY),this.bindSwipeMove(),this.bindSwipeEnd(),p.emit("swipe.start")}},move:function(t){if(!h.disabled){var e=h.settings,n=e.touchAngle,i=e.touchRatio,o=e.classes,r=this.touches(t),s=y(r.pageX)-v,a=y(r.pageY)-g,c=Math.abs(s<<2),u=Math.abs(a<<2),l=Math.sqrt(c+u),f=Math.sqrt(u);if(!(180*(m=Math.asin(f/l))/Math.PI"+s))):d.Move.make(),d.Html.root.classList.remove(e.classes.dragging),this.unbindSwipeMove(),this.unbindSwipeEnd(),p.emit("swipe.end")}},bindSwipeStart:function(){var e=this,t=h.settings;t.swipeThreshold&&n.on(S[0],d.Html.wrapper,function(t){e.start(t)},o),t.dragThreshold&&n.on(S[1],d.Html.wrapper,function(t){e.start(t)},o)},unbindSwipeStart:function(){n.off(S[0],d.Html.wrapper,o),n.off(S[1],d.Html.wrapper,o)},bindSwipeMove:function(){var e=this;n.on(T,d.Html.wrapper,b(function(t){e.move(t)},h.settings.throttle),o)},unbindSwipeMove:function(){n.off(T,d.Html.wrapper,o)},bindSwipeEnd:function(){var e=this;n.on(O,d.Html.wrapper,function(t){e.end(t)})},unbindSwipeEnd:function(){n.off(O,d.Html.wrapper)},touches:function(t){return-1")),37===t.keyCode&&e.Run.make(e.Direction.resolve("<"))}};return n.on(["destroy","update"],function(){o.unbind()}),n.on("update",function(){o.mount()}),n.on("destroy",function(){i.destroy()}),o},Autoplay:function(e,n,t){var i=new E,o={mount:function(){this.start(),e.settings.hoverpause&&this.bind()},start:function(){var t=this;e.settings.autoplay&&a(this._i)&&(this._i=setInterval(function(){t.stop(),n.Run.make(">"),t.start()},this.time))},stop:function(){this._i=clearInterval(this._i)},bind:function(){var t=this;i.on("mouseover",n.Html.root,function(){t.stop()}),i.on("mouseout",n.Html.root,function(){t.start()})},unbind:function(){i.off(["mouseover","mouseout"],n.Html.root)}};return h(o,"time",{get:function(){return y(n.Html.slides[e.index].getAttribute("data-glide-autoplay")||e.settings.autoplay)}}),t.on(["destroy","update"],function(){o.unbind()}),t.on(["run.before","pause","destroy","swipe.start","update"],function(){o.stop()}),t.on(["run.after","play","swipe.end"],function(){o.start()}),t.on("update",function(){o.mount()}),t.on("destroy",function(){i.destroy()}),o},Breakpoints:function(t,e,n){var i=new E,o=t.settings,r=L(o.breakpoints),s=c({},o),a={match:function(t){if(void 0!==window.matchMedia)for(var e in t)if(t.hasOwnProperty(e)&&window.matchMedia("(max-width: "+e+"px)").matches)return t[e];return s}};return c(o,a.match(r)),i.on("resize",window,b(function(){t.settings=d(o,a.match(r))},t.settings.throttle)),n.on("update",function(){r=L(r),s=c({},o)}),n.on("destroy",function(){i.off("resize",window)}),a}};return function(t){function e(){return o(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,m),r(e,[{key:"mount",value:function(){var t=0'},renderProgressBar=function(t){100<=t.size&&(t.size=99.999);for(var e=[],n=0;n<5;++n){var i=360*n/5;e.push(drawArc({cx:50,cx:50,radius:60,thickness:20,start_angle:180+i-6,end_angle:180+i+6,color:t.colorBackground,opacity:1}))}return'"};window.Element&&!Element.prototype.closest&&(Element.prototype.closest=function(t){var e,n=(this.document||this.ownerDocument).querySelectorAll(t),i=this;do{for(e=n.length;0<=--e&&n.item(e)!==i;);}while(e<0&&(i=i.parentElement));return i}),function(){function t(t,e){e=e||{bubbles:!1,cancelable:!1,detail:void 0};var n=document.createEvent("CustomEvent");return n.initCustomEvent(t,e.bubbles,e.cancelable,e.detail),n}"function"!=typeof window.CustomEvent&&(t.prototype=window.Event.prototype,window.CustomEvent=t)}(),function(){for(var r=0,t=["ms","moz","webkit","o"],e=0;er.durationMax?r.durationMax:r.durationMin&&f=w)return S.cancelScroll(!0),i=e,o=u,0===(n=s)&&document.body.focus(),o||(n.focus(),document.activeElement!==n&&(n.setAttribute("tabindex","-1"),n.focus(),n.style.outline="none"),T.scrollTo(0,i)),A("scrollStop",c,s,a),!(k=h=null)}(p,y)||(k=T.requestAnimationFrame(j),h=t)};0===T.pageYOffset&&T.scrollTo(0,0),m=s,v=c,u||history.pushState&&v.updateURL&&history.pushState({smoothScroll:JSON.stringify(v),anchor:m.id},document.title,m===document.documentElement?"#top":"#"+m.id),A("scrollStart",c,s,a),S.cancelScroll(!0),T.requestAnimationFrame(j)}};var e=function(t){if(!("matchMedia"in T&&T.matchMedia("(prefers-reduced-motion)").matches)&&!t.defaultPrevented&&!(0!==t.button||t.metaKey||t.ctrlKey||t.shiftKey)&&"closest"in t.target&&(o=t.target.closest(i))&&"a"===o.tagName.toLowerCase()&&!t.target.closest(C.ignore)&&o.hostname===T.location.hostname&&o.pathname===T.location.pathname&&/#/.test(o.href)){var e,n=r(o.hash);if("#"===n){if(!C.topOnEmptyHash)return;e=document.documentElement}else e=document.querySelector(n);(e=e||"#top"!==n?e:document.documentElement)&&(t.preventDefault(),function(t){if(history.replaceState&&t.updateURL&&!history.state){var e=T.location.hash;e=e||"",history.replaceState({smoothScroll:JSON.stringify(t),anchor:e||T.pageYOffset},document.title,e||T.location.href)}}(C),S.animateScroll(e,o))}},n=function(t){if(null!==history.state&&history.state.smoothScroll&&history.state.smoothScroll===JSON.stringify(C)){var e=history.state.anchor;"string"==typeof e&&e&&!(e=document.querySelector(r(history.state.anchor)))||S.animateScroll(e,null,{updateURL:!1})}};return S.destroy=function(){C&&(document.removeEventListener("click",e,!1),T.removeEventListener("popstate",n,!1),S.cancelScroll(),k=x=o=C=null)},function(){if(!("querySelector"in document&&"addEventListener"in T&&"requestAnimationFrame"in T&&"closest"in T.Element.prototype))throw"Smooth Scroll: This browser does not support the required JavaScript methods and browser APIs.";S.destroy(),C=I(O,t||{}),x=C.header?document.querySelector(C.header):null,document.addEventListener("click",e,!1),C.updateURL&&C.popstate&&T.addEventListener("popstate",n,!1)}(),S}}),Element.prototype.closest||(Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest=function(t){var e=this;if(!document.documentElement.contains(this))return null;do{if(e.matches(t))return e;e=e.parentElement}while(null!==e);return null}),function(){if("function"==typeof window.CustomEvent)return;function t(t,e){e=e||{bubbles:!1,cancelable:!1,detail:void 0};var n=document.createEvent("CustomEvent");return n.initCustomEvent(t,e.bubbles,e.cancelable,e.detail),n}t.prototype=window.Event.prototype,window.CustomEvent=t}(),function(t,e){"function"==typeof define&&define.amd?define([],function(){return e(t)}):"object"==typeof exports?module.exports=e(t):t.Gumshoe=e(t)}("undefined"!=typeof global?global:"undefined"!=typeof window?window:this,function(l){"use strict";var f={navClass:"active",contentClass:"active",nested:!1,nestedClass:"active",offset:0,reflow:!1,events:!0},h=function(t,e,n){if(n.settings.events){var i=new CustomEvent(t,{bubbles:!0,cancelable:!0,detail:n});e.dispatchEvent(i)}},n=function(t){var e=0;if(t.offsetParent)for(;t;)e+=t.offsetTop,t=t.offsetParent;return 0<=e?e:0},d=function(t){t&&t.sort(function(t,e){return n(t.content)=Math.max(document.body.scrollHeight,document.documentElement.scrollHeight,document.body.offsetHeight,document.documentElement.offsetHeight,document.body.clientHeight,document.documentElement.clientHeight)&&s(n.content,i,!0))return o;for(var r=t.length-1;0<=r;r--)if(s(t[r].content,e))return t[r]},i=function(t,e){if(e.nested){var n=t.parentNode.closest("li");n&&(n.classList.remove(e.nestedClass),i(n,e))}},m=function(t,e){if(t){var n=t.nav.closest("li");n&&(n.classList.remove(e.navClass),t.content.classList.remove(e.contentClass),i(n,e),h("gumshoeDeactivate",n,{link:t.nav,content:t.content,settings:e}))}},v=function(t,e){if(e.nested){var n=t.parentNode.closest("li");n&&(n.classList.add(e.nestedClass),v(n,e))}};return function(t,e){var n,i,o,r,s,a={setup:function(){n=document.querySelectorAll(t),i=[],Array.prototype.forEach.call(n,function(t){var e=document.getElementById(decodeURIComponent(t.hash.substr(1)));e&&i.push({nav:t,content:e})}),d(i)},detect:function(){var t=p(i,s);t?o&&t.content===o.content||(m(o,s),function(t,e){if(t){var n=t.nav.closest("li");n&&(n.classList.add(e.navClass),t.content.classList.add(e.contentClass),v(n,e),h("gumshoeActivate",n,{link:t.nav,content:t.content,settings:e}))}}(t,s),o=t):o&&(m(o,s),o=null)}},c=function(t){r&&l.cancelAnimationFrame(r),r=l.requestAnimationFrame(a.detect)},u=function(t){r&&l.cancelAnimationFrame(r),r=l.requestAnimationFrame(function(){d(i),a.detect()})};return a.destroy=function(){o&&m(o,s),l.removeEventListener("scroll",c,!1),s.reflow&&l.removeEventListener("resize",u,!1),s=r=o=n=i=null},s=function(){var n={};return Array.prototype.forEach.call(arguments,function(t){for(var e in t){if(!t.hasOwnProperty(e))return;n[e]=t[e]}}),n}(f,e||{}),a.setup(),a.detect(),l.addEventListener("scroll",c,!1),s.reflow&&l.addEventListener("resize",u,!1),a}}),function(t,e){"function"==typeof define&&define.amd?define(e):"object"==typeof exports?module.exports=e(require,exports,module):t.ouibounce=e()}(this,function(t,e,n){return function(e,t){"use strict";var n=t||{},i=n.aggressive||!1,o=p(n.sensitivity,20),r=p(n.timer,1e3),s=p(n.delay,0),a=n.callback||function(){},c=m(n.cookieExpire)||"",u=n.cookieDomain?";domain="+n.cookieDomain:"",l=n.cookieName?n.cookieName:"viewedOuibounceModal",f=!0===n.sitewide?";path=/":"",h=null,d=document.documentElement;function p(t,e){return void 0===t?e:t}function m(t){var e=24*t*60*60*1e3,n=new Date;return n.setTime(n.getTime()+e),"; expires="+n.toUTCString()}function v(t){t.clientY>o||(h=setTimeout(E,s))}function g(){h&&(clearTimeout(h),h=null)}setTimeout(function(){if(_())return;d.addEventListener("mouseleave",v),d.addEventListener("mouseenter",g),d.addEventListener("keydown",b)},r);var y=!1;function b(t){y||t.metaKey&&76===t.keyCode&&(y=!0,h=setTimeout(E,s))}function w(t,e){return function(){for(var t=document.cookie.split("; "),e={},n=t.length-1;0<=n;n--){var i=t[n].split("=");e[i[0]]=i[1]}return e}()[t]===e}function _(){return w(l,"true")&&!i}function E(){var t;_()||(e&&((t=e)&&"[object Function]"==={}.toString.call(t)&&(e=e()),e.style.display="block"),a(),j())}function j(t){var e=t||{};void 0!==e.cookieExpire&&(c=m(e.cookieExpire)),!0===e.sitewide&&(f=";path=/"),void 0!==e.cookieDomain&&(u=";domain="+e.cookieDomain),void 0!==e.cookieName&&(l=e.cookieName),document.cookie=l+"=true"+c+u+f,d.removeEventListener("mouseleave",v),d.removeEventListener("mouseenter",g),d.removeEventListener("keydown",b)}return{fire:E,disable:j,isDisabled:_}}});var setCookie=function(t,e){document.cookie=t+"="+(e||"")+"; path=/"},getCookie=function(t){for(var e=t+"=",n=document.cookie.split(";"),i=0;i'),o.find(".logo-alternative").empty().append(''),o.find("a").attr("href",i.tracking_url),o.find("a.link").attr("href",i.url),o.find(".title span").html(i.name),o.find(".section-info .name").html(i.name),o.find(".byline").html(i.byline),o.find(".section-name .image").empty().append('');var s=o.find(".features");for(var a in s.empty(),i.features){var c=i.features[a];s.append("
"+c+"
")}var u=i.pricing;price=u[u.length-1].price_discounted,o.find(".price strong").html(price)}$(".comparison-table .feature").each(function(){var t=$(this),e=t.find(".comparison-cell").remove();for(var n in console.log(e.length,e),r){var i=r[n],o=e.get(i);console.log(i,o,e.length),t.append(o)}});var l=$(".review-single");if(0