/*! For license information please see ConversionAPI.js.LICENSE.txt */ !function(t){function e(e){for(var r,a,c=e[0],u=e[1],s=e[2],l=0,h=[];l=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),x(n),h}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;x(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:C(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),h}},t}function s(t,e,n,r,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void n(t)}c.done?e(u):Promise.resolve(u).then(r,o)}function f(t){return function(){var e=this,n=arguments;return new Promise((function(r,o){var i=t.apply(e,n);function a(t){s(i,r,o,a,c,"next",t)}function c(t){s(i,r,o,a,c,"throw",t)}a(void 0)}))}}function l(t,e){for(var n=0;n300)return clearInterval(e);10==t&&window.fbq("trackCustom","TimeOnPage_10_seconds"),30==t&&window.fbq("trackCustom","TimeOnPage_30_seconds"),60==t&&window.fbq("trackCustom","TimeOnPage_60_seconds"),90==t&&window.fbq("trackCustom","TimeOnPage_90_seconds"),120==t&&window.fbq("trackCustom","TimeOnPage_120_seconds"),180==t&&window.fbq("trackCustom","TimeOnPage_180_seconds"),300==t&&window.fbq("trackCustom","TimeOnPage_300_seconds"),t++}),1e3)}},{key:"scrollDepth",value:function(){var t={},e=[0,25,50,75,100],n=function(){for(var n,r,o=(n=document.body,r=document.documentElement,Math.max(n.scrollHeight,n.offsetHeight,r.clientHeight,r.scrollHeight,r.offsetHeight)),i=window.innerHeight||(document.documentElement||document.body).clientHeight,a=window.pageYOffset||(document.documentElement||document.body.parentNode||document.body).scrollTop,c=Math.round((a+i)/o*100),u=1;ue[u-1]&&c<=e[u]&&!t[u]&&(t[u]=!0,"function"==typeof window.fbq&&window.fbq("trackCustom","ScrollDepth_"+e[u]+"_percent"))};window.addEventListener("scroll",n,{passive:!0}),n()}}])&&l(e.prototype,n),r&&l(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();window.ConversionAPI=w,window.pubsub.publish("ConversionAPI")}});