262923.tctm.co Open in urlscan Pro
2600:9000:235a:2400:12:de4a:40:93a1  Public Scan

URL: https://262923.tctm.co/t.js
Submission: On July 04 via manual from EG — Scanned from DE

Form analysis 0 forms found in the DOM

Text Content

;if (window.__ctm == undefined) { window.__ctm = {
config: { aid: 262923,cookie_dur: 30,host:"262923.tctm.co",sid:"668668e90004030b7a4c8f07",gid:1719582803.080473,rules:[[["",""],["gclid=.+|wbraid=.*|gbraid=.*",""],"Google Ads",{"1.973.539.0377":1189683,"1.908.755.0227":1189683},false,false,false,false],[["",""],["(?=.*utm_source=google)(?=.*utm_medium=organic)(?=.*utm_campaign=gmb).*",""],"Google My Business",{"1.973.539.0377":1844176},false,false,false,false],[["facebook.com",""],["",""],"Facebook",{"1.973.539.0377":1263524},false,false,false,false],[["",""],["utm_source=facebook",""],"Facebook Paid",{"1.973.539.0377":1977974},false,false,false,false],[["(google.([^./]{2,3})|google.com?.([^./]{2}))|bing\\.com|search.yahoo.com|search.aol.com|baidu\\.com|duckduckgo\\.com|yandex\\.ru|gibiru\\.com|searchencrypt\\.com|dogpile\\.com",""],["",""],"Multi-Organic Search",{"1.973.539.0377":1189329,"1.908.755.0227":1189329,"1.973.263.9060":1189329},false,false,false,false]],mapping:{},xdomcookie:"0",country:"DE",region:"",dma:"",zip:"",area:"",delayed:"false",gavar:"ga",gadim:"",pools:{},gentime:"1720084713.608" } };;window.console||(window.console={log:function(){}}),window.__ctm_debug=!!document.cookie.match(/__ctm_debug=1/),window.__ctm_tracked_numbers={},window.__ctm_tracked=!1,window.__ctm_nodes_visible={},window.__ctm_nodes_clicked={},window.__ctm_queue={pageview:[],visible:[],click:[],form:[],custom:[]},window.__ctm.config.inverted_mapping={},function(){"use strict";var t={},e=__ctm.config.mapping;for(var n in e)for(var o=e[n],c=0,i=o.length;c<i;++c){var r,a=o[c];if(a)if("number"==a.t)(r=t[a.p.join(".")])||(r=[]),r.push(n),t[a.p.join(".")]=r;else(r=t[a.p])||(r=[]),r.push(n),t[a.p]=r}window.__ctm.config.inverted_mapping=t}(),window.__ctm_config||(window.__ctm_config={tracker_host:__ctm.config.tracker,duration:__ctm.config.cookie_dur}),__ctm.JSON=window.JSON,function(){function t(){var t=window[__ctm.config.gavar];if(t&&"function"==typeof t.getAll){try{if(__ctm.config.gacode=t.getAll()[0].get("trackingId"),__ctm.config.gaid=t.getAll()[0].get("clientId"),__ctm.config.gaid&&(__ctm.config.gaid="GA1.2."+__ctm.config.gaid),"UA-XXXXX-X"==__ctm.config.gacode)return __ctm.config.gacode=null,!0}catch(t){}return!1}try{window._gaq&&null!=typeof _gaq&&!window.pageTracker?_gaq.push((function(){try{__ctm.config.gacode=_gaq._getAsyncTracker()._getAccount(),"UA-XXXXX-X"==__ctm.config.gacode&&(__ctm.config.gacode=null)}catch(t){}})):(window._gat&&null!=typeof _gat&&"function"==typeof _gat._getTrackers&&(__ctm.config.gacode=_gat._getTrackers()[0]._getAccount(),"UA-XXXXX-X"==__ctm.config.gacode&&(__ctm.config.gacode=null)),window._gaq&&null!=typeof _gaq&&_gaq.push((function(){__ctm.config.gacode=_gaq._getAsyncTracker()._getAccount(),"UA-XXXXX-X"==__ctm.config.gacode&&(__ctm.config.gacode=null)})))}catch(t){}return!0}function e(){try{t()&&setTimeout(checkForGa,100)}catch(t){}}try{if(window&&window.navigator&&window.navigator.userAgent&&window.navigator.userAgent.match(/Googlebot|bingbot|bot|Google Web Preview|spider|slurp/i))return}catch(p){}var n=window.__ctm.config.host,o=window.__ctm.config.rules;if(__ctm_debug&&window.console&&window.console.log&&Function.prototype.bind){function c(){__ctm.log=window.console.log.bind(window.console)}c()}else __ctm.log=function(){if(window.__ctm_debug){for(var t=[],e=0,n=arguments.length;e<n;++e)t.push(arguments[e]);try{console.log(t,__ctm.JSON.stringify(t))}catch(e){console.log(t)}}};!function(){"use strict";function t(t){Array.prototype[t]&&__ctm.safe.isFuncNative(Array.prototype[t])?__ctm[t]=function(e,n,o){return e[t](n,o)}:(__ctm.log("use safe method"),__ctm[t]=function(e,n,o){return __ctm.safe[t].call(e,n,o)})}__ctm.safe={},__ctm.safe.isFuncNative=function(t){return!!t&&"function"==(typeof t).toLowerCase()&&(t===Function.prototype||/^\s*function\s*(\b[a-z$_][a-z0-9$_]*\b)*\s*\((|([a-z$_][a-z0-9$_]*)(\s*,[a-z$_][a-z0-9$_]*)*)\)\s*{\s*\[native code\]\s*}\s*$/i.test(String(t)))},__ctm.safe.indexOf=function(t){if(null==this)throw new TypeError;var e=Object(this),n=e.length>>>0;if(0===n)return-1;var o=0;if(arguments.length>1&&((o=Number(arguments[1]))!=o?o=0:0!=o&&o!=1/0&&o!=-1/0&&(o=(o>0||-1)*Math.floor(Math.abs(o)))),o>=n)return-1;for(var c=o>=0?o:Math.max(n-Math.abs(o),0);c<n;c++)if(c in e&&e[c]===t)return c;return-1},__ctm.safe.forEach=function(t,e){for(var n=0,o=this.length;n<o;++n)t.call(e||this,this[n],n,this)},__ctm.safe.map=function(t,e){var n,o,c;if(null==this)throw new TypeError(" this is null or not defined");var i=Object(this),r=i.length>>>0;if("[object Function]"!={}.toString.call(t))throw new TypeError(t+" is not a function");for(e&&(n=e),o=new Array(r),c=0;c<r;){var a,_;c in i&&(a=i[c],_=t.call(n,a,c,i),o[c]=_),c++}return o},__ctm.safe.filter=function(t){if(null==this)throw new TypeError;var e=Object(this),n=e.length>>>0;if("function"!=typeof t)throw new TypeError;for(var o=[],c=arguments[1],i=0;i<n;i++)if(i in e){var r=e[i];t.call(c,r,i,e)&&o.push(r)}return o},t("indexOf"),t("forEach"),t("map"),t("filter")}();var i=function(){"use strict";var t={encode:window.btoa,decode:window.atob};return{compress:function(e,n){return(n?"":"b64")+t.encode(encodeURIComponent(e))},decompress:function(e){if(e&&e.match(/^b64/))return decodeURIComponent(t.decode(e.replace(/^b64/,"")))}}}();__ctm.base64=i;var r=function(){"use strict";var t="https://";__ctm.config.host;return{init:function(t){t()},set:function(){},get:function(t,e){e(null)},rem:function(){},mget:function(t,e){e([])}}}();__ctm.xstore=r;var a=function(){"use strict";function t(t,e){for(var n=t+"=",o=document.cookie.split(";"),c=0,r=o.length;c<r;c++){for(var a=o[c];" "==a.charAt(0);)a=a.substring(1,a.length);if(0==a.indexOf(n))return e?a.substring(n.length,a.length):i.decompress(a.substring(n.length,a.length))}return null}function e(t){return n(t,"",-1)}function n(t,e,n,o){if(n){var c=new Date;c.setTime(c.getTime()+24*n*60*60*1e3);var r="; expires="+c.toGMTString()}else r="";var a=window.location.hostname,_=a.split(".");if(_.length>2&&_.length<=3&&(_.shift(),a="."+_.join(".")),__ctm.log("set cookie: ",t,e,"domain",a,r),e&&e.length>0&&!o){var l=i.compress(e);document.cookie=t+"="+l+r+"; path=/; domain="+a,document.cookie=t+"="+l+r+"; path=/"}else document.cookie=t+"="+e+r+"; path=/; domain="+a,document.cookie=t+"="+e+r+"; path=/";return e}function o(){var e=t("__ctmid",!0);return e&&(parseInt(e.substring(8,16),16)==__ctm.config.aid||parseInt(e.substring(8,15),16)==__ctm.config.aid||(e=null)),e&&24==e.length?__ctm.config.sid=e:n("__ctmid",e=__ctm.config.sid,__ctm.config.cookie_dur,!0),e}return{get:t,set:n,clear:e,sid:o}}();__ctm.cookie=a;var _=function(){"use strict";var t;try{t=window.localStorage&&"function"==typeof window.localStorage.getItem}catch(e){t=!1}if(t)try{window.localStorage.setItem("c____t____m","1"),window.localStorage.removeItem("c____t____m")}catch(e){t=!1}var e=null,n=null,o=null,c=null,i=null,r=60*window.__ctm.config.cookie_dur*24;if(t)e=function(t){if(__ctm.config.gid){if("_ctm_"==t.substr(0,5))var e=localStorage[t];else e=localStorage["_ctm_"+t];if(!e)return null;try{return __ctm.JSON.parse(e)}catch(t){return e}}var n=localStorage[t+"_ttl"],o=new Date(n),c=new Date;if(o>c){var i=localStorage[t+"_type"];if(i&&"string"!=i&&__ctm.JSON){var r=__ctm.JSON.parse(localStorage[t]);return"string"==typeof r?__ctm.JSON.parse(r):r}return localStorage[t]}return __ctm.log("expired",o,c),localStorage.removeItem(t+"_ttl"),localStorage.removeItem(t+"_type"),localStorage.removeItem(t),__ctm.config.gid&&localStorage.removeItem("_ctm_"+t),null},i=function(t,e){if(__ctm.config.gid)try{localStorage["_ctm_"+t]=e}catch(t){console.error(t)}else try{localStorage[t]=e}catch(t){console.error(t)}},n=function(t,e){var n;if(__ctm.config.gid)return"string"!=(n=typeof e)&&__ctm.JSON&&(e=__ctm.JSON.stringify(e)),i(t,e),e;"string"!=(n=typeof e)&&__ctm.JSON&&(e=__ctm.JSON.stringify(e)),i(t+"_type",n);var o=new Date;return o.setMinutes(o.getMinutes()+r),i(t+"_ttl",o),i(t,e),e},o=function(){for(var t in localStorage)"_ctm_"==t.substr(0,5)?localStorage.removeItem(t):t.match(/\d+\.\d+\./)&&localStorage[t+"_ttl"]&&localStorage[t+"_type"]&&(localStorage.removeItem(t),localStorage.removeItem(t+"_ttl"),localStorage.removeItem(t+"_type"));localStorage.removeItem("_ctm_"+__ctm.config.aid+"_ttl_"),localStorage.removeItem("_ctm_"+__ctm.config.aid+"_gid_")},c=function(){var t=new Date;t.setMinutes((new Date).getMinutes()+r),localStorage["_ctm_"+__ctm.config.aid+"_ttl_"]||(localStorage["_ctm_"+__ctm.config.aid+"_ttl_"]=t.getTime()),localStorage["_ctm_"+__ctm.config.aid+"_gid_"]=__ctm.config.gid};else{var a={};e=function(t){return a[t]},o=function(){},c=function(){},i=n=function(t,e){return a[t]=e}}return{write:i,set:n,get:e,hasLocal:t,purge:o,setTTL:c}}();__ctm.cache=_;var l=function(){"use strict";function t(t,e){var n=t[0];return""==n&&(""==t[1]||null==t[1])||(""==n||""!=t[1]&&null!=t[1]?""==n&&""!=t[1]?!e.match(new RegExp(n,"gi")):!!e.match(new RegExp(n,"gi"))&&!e.match(new RegExp(t[1],"gi")):(null==n&&(n=""),!!e.match(new RegExp(n,"gi"))))}function e(t,e){var n=t[0],o=t[1];return""!=n&&null!=n||(n=".*"),""!=n&&""==o?!!e.match(new RegExp(n,"gi")):!!e.match(new RegExp(n,"gi"))&&!e.match(new RegExp(o,"gi"))}function n(t,e){__ctm.log("calling setCookieOrStorage:",t,e);try{if(_.hasLocal){window.localStorage[t]=e||"null";var n=new Date;n.setDate(n.getDate()+f),window.localStorage[t+"_ttl"]=n}else a.set(t,e||"null",__ctm.config.cookie_dur)}catch(n){console.error("localStorage error use cookies");try{a.set(t,e||"null",__ctm.config.cookie_dur)}catch(t){console.error("cookies are unavailable")}}r.set(t,e)}function c(t){var e=null;if(_.hasLocal){e=window.localStorage[t]||a.get(t);var n=window.localStorage[t+"_ttl"];if(n){var o=new Date(n),c=new Date;o.getTime()<c.getTime()&&(e=null,window.localStorage.removeItem(t))}else e=null,window.localStorage.removeItem(t)}else e=a.get(t);return e}function i(t,e){var o=c(d);return null!=o&&(e=o),"null"==e&&(e=""),n(d,e),e}function l(t,e){var o=c(g);return null!=o&&(e=o),"null"==e&&(e=""),n(g,e),e}function m(n,o,c){if(null==n[1][0]&&""==n[0][0])var i=""==o,r=""!=c;else if(""==n[0][0]&&""==n[1][0]){__ctm.log("direct style match detected: ",n,o,c.toString(),n[1][1]);i=!(""!=o&&null!=o||o&&!o.match(n[0][1]?n[0][1]:"")),r=!c||!!c.match(n[1][1]?n[1][1]:"")}else i=t(n[0],o),r=e(n[1],c);return __ctm.log("ref",i,"loc",r,n),i&&r}function u(t,e,o,c){var r=e,a=o;e=l(c,e),o=i(c,o),__ctm.log("location:",e,", referrer",o,"realLocation",r,"realReferrer",a),__ctm.log("fetched location:",e,", fetched referrer",o);var u={};return __ctm.filter(t,(function(t){var c=m(t,o,e);if(!!t[4]){var i=c;c|=m(t,a,r),!i&&c&&(n(d,a),n(g,r))}else{var l=!!t[6];if(!i&&c&&l){console.log("\n\t\t\nweak source use lower ttl\n\n\n");var s=new Date;s.setMinutes(s.getMinutes()+10),_.write("__ctm2_"+__ctm.config.aid+"_"+window.__ctm.config.cookie_dur+"_ttl",s),_.write("__ctm_"+__ctm.config.aid+"_"+window.__ctm.config.cookie_dur+"_ttl",s),_.write("__ctmf_"+__ctm.config.aid+"_"+window.__ctm.config.cookie_dur+"_ttl",s)}}if(c){var f=t[3],p=0;for(var w in f)u[w]?delete f[w]:(u[w]=!0,++p);return __ctm.log("use rule: ",p>0,t),p>0}return!1}))}var s=window.__ctm.config.aid,f=window.__ctm.config.cookie_dur;if(__ctm.config.gid)var d="__ctm_"+s,g="__ctm2_"+s,p="__ctmf_"+s;else d="__ctm_"+s+"_"+f,g="__ctm2_"+s+"_"+f,p="__ctmf_"+s+"_"+f;return{filter:function(t,e,n){return u(o,t,e,n)},store:n,firstRef:function(){return c(d)},firstLoc:function(){return c(g)},checkFirst:function(){return!!c(p)},didFirst:function(){n(p,"1")}}}();__ctm.rules=l;var m=function(){"use strict";function t(e){c?e():document.addEventListener?document.addEventListener("DOMContentLoaded",(function(){c=!0,e()}),!1):window.addEventListener?window.addEventListener("DOMContentLoaded",(function(){c=!0,e()}),!1):/in/.test(document.readyState)?setTimeout((function(){t(e)}),9):c=e()}function e(t){var e=document.createElement("style");return e.type="text/css",e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t)),document.getElementsByTagName("head")[0].appendChild(e),e}function n(){i||(i=e("html, body { opacity:0 !important; filter: alpha(opacity = 0); -ms-filter: alpha(opacity = 0); }"))}function o(){i&&(i.parentNode.removeChild(i),i=null)}var c=!1;t((function(){}));var i=null;return{hide:n,show:o,ready:t}}();__ctm.page=m;var u=function(){"use strict";function t(t,e,n,o,c,i){if(t==i)return t;__ctm.log("specialSplit:number:",e);var r=e[0]==o;__ctm.log("specialSplit:countryCodeHint:",o);var a=[],_=!0;__ctm.forEach(e,(function(t){t.match(/^0\?/)&&(t=t.replace(/^0\?/,"")),t.length>1&&(!_&&r||!r)?a=a.concat(t.split("")):a.push(t),_=!1}));a.length;__ctm.log("specialSplit:digits before:",a),a.length>10&&(__ctm.log("specialSplit too many digits"),a[0]=a[0]+a[1],a.splice(1,1)),__ctm.log("specialSplit:digits after:",a);var l=[];_=!0,__ctm.forEach(n,(function(t){t.length>1&&(!_&&r||!r)?l=l.concat(t.split("")):l.push(t),_=!1})),l.length>10&&(__ctm.log("specialSplit too many digits in newDigits too"),l[0]=l[0]+l[1],l.splice(1,1)),__ctm.log("specialSplit:newDigits",l);for(var u=[],s=0,f=0,d=l.length,g=a.length;f<d;++f)(s=f+1)==d?u.push(l[f]):s==g&&g<d?u.push(l[f]+" "):u.push(l[f]+"$"+s);__ctm.log("specialSplit:digits final:",a),__ctm.log("specialSplit:replaceStr",u);var p,w=u.join(""),v=a.join(m),h=new RegExp(v,"g");return __ctm.log("specialSplit:text",t),__ctm.log("specialSplit:regex",h),__ctm.log("specialSplit:replaceResult",w),p=i?t.replace(h,i):t.replace(h,w),__ctm.log("specialSplit:result:",p),p}function e(e,o,c,i){if(o.length&&-1==o[0].indexOf("e:")){__ctm.log("swap:text:",e),__ctm.log("swap:number:",o),__ctm.log("swap:newNumber:",c),__ctm.log("swap:options:",i);var r,a,_=(i=i||{}).countryCodeHint||i.cc_hint||null,u=i.custom_format||i.format||null,s=[],f=null;if(__ctm.log("number:",o),"44"==_)try{var d=[];__ctm.forEach(o,(function(t){if(t.length>2){for(var e=t.split("").reverse(),n=[];e.length>0;)n.push(e.splice(0,2).join(""));__ctm.forEach(n.reverse(),(function(t){__ctm.forEach(t.split("").reverse(),(function(t){d.push(t)}))}))}else if(t.match(/0/)){var o=null;__ctm.forEach(t.split(""),(function(t){o?o+=t:o=t,o.match(/0$/)&&(d.push(o),o=null)})),o&&d.push(o)}else d.push(t)})),__ctm.log("Update numbers:",o,"to",d),o=d}catch(t){console.log(t)}if(null===u){__ctm.log(o);for(var g=0,p=c.length,w=o.length;g<p;++g)(f=g+1)==p?s.push(c[g]):f==w&&w<p?s.push(c[g]+" "):s.push(c[g]+"$"+f);if(__ctm.log(c),r=0,_||(r=1,_=10==o.join("").length?"1":c[0]),"1"!=_&&"972"===_)s[r].match(/^0/)||0!=r||(s[r]="0"+s[r],o[r].match(/^0/)||(o[r]="0?"+o[r]))}__ctm.log("swap:replaceStr:",s);var v,h="";null===u?(__ctm.log("number:",o),a=o.join(m)):(u&&"string"==typeof u&&((v=u.match(/^(\D+0?)/))&&"string"==typeof v[0]&&(h=new String(v[0]).replace(/([.*+?^=!:${}()|\[\]\/\\])/g,"\\$1")),(v=u.match(/^\+\d/))&&(h="[\\+0]")),a="("+h+")?["+l+"]?"+o.join(m));var y=new RegExp(a,"g");__ctm.log("swap:regexPattern:",y);var b=u||s.join("");__ctm.log("swap:regexPattern:",a),__ctm.log("swap:regex:",y),__ctm.log("swap:replaceResult",b),__ctm.log("swap:text",e),__ctm.log("swap:newNumber",c);var k=e.replace(y,b);if("string"==typeof e&&-1!=k.indexOf("$")&&(k=e.replace(y,c.join("-"))),__ctm.log("swap:result",k),i&&i.href&&k.match(/tel:/)&&!k.match(/tel:\+/)&&k.match(/tel:\d+\+/)&&(k=k.replace(/tel:\d+/,"tel:")),k==e&&"string"==typeof e){if(u&&(a=o.join(m),y=new RegExp(a,"g"),b=u||s.join(""),__ctm.log(e,":(retry)regex:",y,",",b),(k=e.replace(y,b))!=e))return k;__ctm.log("did not swap: (",e,") :",y,": ",s);var T=e.replace(/\D/g,"");if(__ctm.log("swap:digitsOnly:",T),!T.match(/^0/)&&!T.match(new RegExp("^"+o[0]+"0"))||"1"==o[0]||"39"==o[0])return t(e,o,c,_,r,u);T.match(new RegExp("^"+o[0]+"0"))&&(o=o.slice()).splice(1,0,"0");var E=o.join("").split("");return h="",u&&(v=u.match(/^(\D+0?)/))&&(h=v[0].replace(/([.*+?^=!:${}()|\[\]\/\\])/g,"\\$1")),a="("+h+")?(["+l+"]*)?"+E.join(m+"?"),y=new RegExp(a,"g"),e.match(y)?u?e.replace(y,b):e.replace(y,c.join(" ")):e}return"string"==typeof u&&k.match("0"+n(u))&&(k=k.replace(new RegExp("0"+n(u)),u)),k}}function n(t){return"string"==typeof t?t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"):""}function o(t,e,n,o,c,i){if(t){var r,a="/(?:)/"!=String(e),_="/(?:)/"!=String(n),l=t,m=["HTML","HEAD","STYLE","LINK","META","SCRIPT","OBJECT","IFRAME"],u=null;for(c=0;;){var s=!0;if(l.classList&&l.classList.contains("ctm-no-swap")||f&&"function"==typeof l.hasAttribute&&l.hasAttribute("data-ctm-watch-id")?s=!1:f||void 0===l["data-ctm-watch-id"]?8==l.nodeType&&(s=!1):s=!1,s){var d=l.tagName;"A"==d&&l.href?(u=a?l.href.match(e):null)?o(l,u,!0):_&&(u=l.href.match(n))&&i(l,u,!0):"IMG"==d&&l.alt?a&&(u=l.alt.match(e))?o(l,u,!0):_&&(u=l.alt.match(n))&&i(l,u,!0):3==l.nodeType&&(a&&(u=l.data.match(e))?o(l,u,!1):_&&(u=l.data.match(n))&&i(l,u,!1))}if((r=l.firstChild)&&s&&1==l.nodeType&&-1==m.indexOf(l.nodeName)&&"fb-root"!=l.id)l=r,c++;else{if(l==t)return;if(r=l.nextSibling)l=r;else for(;;){var g=l.parentNode;if(c--,!g||g==t||0==c)return;if(r=g.nextSibling){l=r;break}l=g}}}}}function c(t,e,n,o){if(t.match(/^e:/))n.push(t.replace(/^e:/,"").replace(/([.*+?^=!:${}()|\[\]\/\\])/g,"\\$1"));else if(t.match(/^s:/))o.push(t.replace(/^s:/,""));else{var c=(t=t.split(".")).join("."),i=t.join(m);s[t.join("")]=c,0!==e.length&&-1!=__ctm.indexOf(e,i)||e.push(i);var r=(t=t.slice(0)).shift();if(s[t.join("")]=c,1!=r){var a,_=t.pop(),l=[];__ctm.forEach(t,(function(t){__ctm.forEach(t.split(""),(function(t){l.push(t)}))})),i=l.join(m+"?"),i+=m+_,4===_.length&&(a=l.join(m+"?"),a+=m+_.substr(0,1)+m+_.substr(1),a+="|"+m+_.substr(0,2)+m+_.substr(2),0!==e.length&&-1!=__ctm.indexOf(e,i)||e.push(a))}else i=t.join(m);__ctm.log("regexPattern:(",t.join(""),")",i),0!==e.length&&-1!=__ctm.indexOf(e,i)||e.push(i)}}function i(t,e,n,o){for(var i in t)c(i,e,n,o)}function r(t){var e=[],n=[],o=[];return __ctm.forEach(t,(function(t){i(t[3],e,n,o)})),[new RegExp(e.join("|")),new RegExp(n.join("|")),o]}function a(t,e){return e.compareDocumentPosition?0!=(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY):!!e.hasChildNodes()&&e.contains(t)}function _(t,e,n,c){var i,r=[];if(void 0===e&&(e=document.body),e)return __ctm.log("Numbers.mark",e,t,n,c),c.length&&"function"==typeof e.querySelectorAll&&__ctm.forEach(c,(function(t){__ctm.forEach(e.querySelectorAll(t),(function(e){e.getAttribute("data-ctm-tracked")||r.push([e,"s:"+t])}))})),o(e,t,n,(function(t,e,n){n&&e[0]?(i=e[0].replace(u,""),r.push([t,s[i]])):e[0]&&0===__ctm.filter(r,(function(e){return a(e[0],t)})).length&&(i=e[0].replace(u,""),r.push([t.parentNode,s[i]]))}),0,(function(t,e,n){n&&e[0]?(i=e[0],t.setAttribute("data-ctm-exact",e),r.push([t,"e:"+i])):e[0]&&0===__ctm.filter(r,(function(e){return a(e[0],t)})).length&&(i=e[0],t.parentNode.setAttribute("data-ctm-exact",e),r.push([t.parentNode,"e:"+i]))})),r}var l="&;nbsp_\\.\\(\\)\\+\\-~\\*"+decodeURIComponent(escape(unescape("%E2%80%A2")))+decodeURIComponent(escape(unescape("%E2%80%93")))+decodeURIComponent(escape(unescape("%E2%80%91"))),m="(["+(l+"\\s")+"]*)",u=new RegExp(m,"g"),s={},f=function(){var t=!(!window.Element||!window.Element.prototype||"function"!=typeof window.Element.prototype.hasAttribute);if(!t&&!__ctm.safe.isFuncNative(window.Element)){var e=document.createElement("iframe");e.style.visibility="hidden",e.style.height="1px",e.style.width="1px",document.documentElement.appendChild(e),t="function"==typeof e.contentWindow.Element.prototype.hasAttribute,e.parentElement.removeChild(e)}return t}();return{prepare:r,mark:function(t,e){var n=r(t);return __ctm.rule_table||(__ctm.rule_table={}),__ctm.forEach(t,(function(t,e){var n=t[3];for(var o in n){var c=__ctm.config.mapping[o],i=o.split(".");i.shift(),i=i.join(""),__ctm.rule_table[i]||(__ctm.rule_table[i]={}),__ctm.rule_table[i][e]=e,c&&__ctm.forEach(c,(function(t){if(t&&"number"==t.t){var n=t.p.slice(0);n.shift();var o=n.join("");__ctm.rule_table[o]||(__ctm.rule_table[o]={}),__ctm.rule_table[o][e]=e}}))}})),_(n[0],e,n[1],n[2])},swap:e,separators:m,separators_regex:u}}();__ctm.numbers=u;var s=function(){"use strict";function t(t,i){var r=[],a=[],l={},m=!1;if(0==t.length)return __ctm.log("no poolids"),void i({});if(__ctm.config.gid&&!c){c=!0;(!o||o<__ctm.config.gid)&&_.purge();e&&new Date(e).getTime()<(new Date).getTime()&&_.purge(),_.setTTL()}if(__ctm.forEach(t,(function(t){var e=_.get(t);if(e){l[t]=e,m=!0;var n=[].concat("format",e).join("."),o=_.get(n);o&&(l[n]=o)}else-1==t.indexOf(",")?r.push(t):a.push(t)})),r.length>0||a.length>0){window.__ctm_invoke=function(t){var e={};for(var n in __ctm.log("__ctm_invoke:",t),t){var o=t[n],c=n.split("."),r=c.shift().split("-")[0]+"."+c.join(".");__ctm.log("cache:",r,o),_.set(r,o),e[r]=o}i(e)};var u=document.getElementsByTagName("script")[0],s=document.createElement("script");s.async=!0;var f=!1;__ctm.forEach(__ctm.config.filtered_rules,(function(t){f|=t[5]}));var d=document.location.protocol+"//"+n+"/p.js?sid="+__ctm.config.sid+"&p="+__ctm.map(r,(function(t){return encodeURIComponent(t)})).join(",")+"&"+__ctm.map(a,(function(t){return"e[]="+encodeURIComponent(t)})).join("&");f&&__ctm.config.country&&"null"!=__ctm.config.country&&(d+="&c="+__ctm.config.country,__ctm.config.region&&"null"!=__ctm.config.region&&(d+="&r="+__ctm.config.region,__ctm.config.area&&"null"!=__ctm.config.area&&(d+="&a="+__ctm.config.area))),s.src=d,u.parentNode.insertBefore(s,u)}m&&(__ctm.log("cache hit on",l),i(l))}var e=_.get("_ctm_"+__ctm.config.aid+"_ttl_"),o=_.get("_ctm_"+__ctm.config.aid+"_gid_"),c=!1;return{load:t}}();__ctm.pool=s,e(),setTimeout(e,300),setTimeout(e,1e3),setTimeout(e,1500);var f=function(){"use strict";function e(t){var e=null;try{e=new XMLHttpRequest}catch(t){}return e&&"withCredentials"in e?(e.open("POST",t,!0),e.withCredentials=!1,e.setRequestHeader("Content-type","application/json")):"undefined"!=typeof XDomainRequest?((e=new XDomainRequest).onerror=function(){},e.onprogress=function(){},e.onload=function(){},e.open("post",t)):e=null,e}function n(t){try{if("none"==t.style.display||"hidden"==t.style.visibility||parseInt(t.style.opacity)<.1)return!1;var e=t.getBoundingClientRect(),n=c();return e.top>=0&&e.left>=0&&e.bottom<=n[1]&&e.right<=n[0]}catch(t){return!1}}function o(t,e,o){function c(){window.__ctm_nodes_visible&&(window.__ctm_nodes_visible[t.getAttribute("data-ctm-watch-id")]||(n(t)?(window.__ctm_nodes_visible[t.getAttribute("data-ctm-watch-id")]=!0,o({event:e,target:t})):setTimeout(c,600)))}if(t&&1==t.nodeType&&"function"==typeof t.setAttribute&&t.setAttribute("data-ctm-watch-id",d++),"visible"==e){if(window.__ctm_nodes_visible&&window.__ctm_nodes_visible[t.getAttribute("data-ctm-watch-id")])return;c()}else"function"==typeof t.addEventListener?t.addEventListener(e,o,!1):"object"==typeof t.attachEvent&&t.attachEvent("on"+e,o)}function c(){var t=0,e=0;return"number"==typeof window.innerWidth?(t=window.innerWidth,e=window.innerHeight):document.documentElement&&(document.documentElement.clientWidth||document.documentElement.clientHeight)?(t=document.documentElement.clientWidth,e=document.documentElement.clientHeight):document.body&&(document.body.clientWidth||document.body.clientHeight)&&(t=document.body.clientWidth,e=document.body.clientHeight),[t,e]}function r(t){return t.split(";").map((t=>{if(t.match(/_ga_/))return t.split("=").map((t=>t.replace(/^\s+|\s+$/g,"")))})).filter((t=>t?.length))}function _(n){function o(t,o){var c=__ctm_queue[t];for(o.nums=[],o.evt=t;c.length>0;){t=c.pop();o.nums.push(t)}if(o.nums.length>0){if(!n)var r=e(document.location.protocol+"//"+window.__ctm.config.host+"/x.json");if(r){if(__ctm.log("track with xhr",t),r.onreadystatechange=function(){4==r.readyState&&__ctm.rules.didFirst()},window.___ctm_test_referrer_override)return;r.send(__ctm.JSON.stringify(o))}else{__ctm.log("track with pixel");var a=new Image;if(a.onload=function(){__ctm.log("pixel fired"),__ctm.rules.didFirst()},window.___ctm_test_referrer_override)return;a.src=document.location.protocol+"//"+window.__ctm.config.host+"/m.gif?d="+encodeURIComponent(i.compress(__ctm.JSON.stringify(o),!0))}}}__ctm.log("pop queue"),__ctm_tracked=!0;var c=document.referrer,_=document.location.toString(),l=a.get("hubspotutk",!0),m=a.get("__utma",!0),u=a.get("__utmb",!0),s=a.get("__utmc",!0),f=a.get("__utmz",!0),d=(a.get("s_vi",!0),a.get("mmapi.store.p.0",!0)),g=a.get("_fbc",!0),p=a.get("_fbp",!0),w=null;if(__ctm.config.gaid)w=__ctm.config.gaid;else{var v=window[__ctm.config.gavar];try{v&&"function"==typeof v.getAll&&(__ctm.config.gaid=v.getAll()[0].get("clientId"),__ctm.config.gaid&&(__ctm.config.gaid="GA1.2."+__ctm.config.gaid),w=__ctm.config.gaid)}catch(t){}w||(w=a.get("_ga",!0))}var h=r(document.cookie),y=a.get("fbsr",!0),b=a.get("_mkto_trk",!0),k=a.get("_biz_uid",!0),T=a.get("ubpv",!0),E=a.get("ubvt",!0),S=__ctm.config.aid,I=__ctm.config.sid;try{T&&(T=decodeURIComponent(T).split(","))}catch(t){}try{var R=document.cookie.split(";"),A=__ctm.filter(R,(function(t){return t.match(/instapage-visit-/)}))[0],x=__ctm.map(A.split("="),(function(t){return decodeURIComponent(t).replace(/^\s*/,"").replace(/\s*$/,"")})),j=x[0].split("-");j.shift(),j.shift(),j=j[0];var M=__ctm.JSON.parse(decodeURIComponent(x[1])),N={p:j,v:__ctm.cookie.get("instapage-variant-"+j,!0)};N.d=M[N.v].d,N.b=M[N.v].b,window.__ctm_cvars._real_push({insta:N})}catch(t){}try{t()}catch(t){}var C={aid:S,ref:c,url:_,nums:[],sid:I,ga:{}};m&&(C.ga.utma=m),u&&(C.ga.utmb=u),s&&(C.ga.utmc=s),f&&(C.ga.utmz=f);try{E&&(C.ubvt=E),T&&T.length&&(C.ubv=T[0],C.ubp=T[1])}catch(t){}try{window.analytics&&(C.segmentId=analytics.user().id()||analytics.user().anonymousId())}catch(t){}if(w&&(C.ga.ga_univ=w),h&&(C.ga4=h),g&&(C.fbc=g),p&&(C.fbp=p),__ctm.config.gacode&&(C.ga.actid=__ctm.config.gacode),l&&(C.hs=l),b&&(C.mkto=b),k){C.biz=k;try{window.__ctm_cvars._real_push({bizible:C.biz})}catch(t){}}(__ctm.config.adblock&&(C.adblock=!!__ctm.config.adblock),d&&(C.mmapi1=d),y)&&((L=document.cookie.match(/fbsr_(\d+)=/))&&L.length>1&&(C.fb=L[1]));try{C.t=document.title}catch(t){}try{window.KM&&"function"==typeof window.KM.i&&(C.kmi=KM.i())}catch(t){}try{if(window.piAId){var L,O=window.piAId-1e3,U=new RegExp("visitor_id"+O+"=(\\d+)");2==(L=document.cookie.match(U)).length&&(C.pard=L[1])}}catch(t){}try{if(!n)if(__ctm.log("check for optimizely in",window.optimizely),window.optimizely&&"function"==typeof window.optimizely.get){var H=optimizely.get("data"),D=window.optimizely.get("state"),z={},q=D.getCampaignStates({isActive:!0});for(var O in z.cps=[],q){var X=q[O];try{z.cps.push([O,X.campaignName,X.experiment.id,X.experiment.name,X.variation.id,X.variation.name])}catch(t){console.log(t)}}z.aid=H.accountId,z.pid=H.projectId,z.uid=window.optimizely.get("visitor_id").randomId,z.v2=!0,C.opt=__ctm.JSON.stringify(z),window.optimizely.push({type:"integration",OAuthClientId:"5374922488"})}else if(window.optimizely&&window.optimizely.data&&window.optimizely.data.state&&window.optimizely.data.state.activeExperiments&&window.optimizely.data.state.activeExperiments.length){var $=(H=window.optimizely.data).variations,B=H.experiments;if(__ctm.log("optimizely found",H),$)for(var J in $)$[J]&&$[J].code&&($[J].code="",delete $[J].code);if(__ctm.log("optimizely pruned 1"),B)for(var J in B)$[J]&&(B[J].code="",delete B[J].code);H.aid=window.optimizely.getAccountId(),H.pid=window.optimizely.getProjectId(),H.uid=a.get("optimizelyEndUserId",!0),H.map=decodeURIComponent(a.get("optimizelyBuckets",!0)),H.seg=decodeURIComponent(a.get("optimizelySegments",!0)),C.opt=__ctm.JSON.stringify(H),window.optimizely.push({type:"integration",OAuthClientId:"5374922488"})}}catch(t){__ctm.log(t)}try{n||(__ctm.log("check for vwo"),window.VWO&&(VWO.push(["onEventReceive","vA",function(t){var e=t[1],n=t[2],o=_vwo_exp[e].name,c=_vwo_exp[e].comb_n[n];if(void 0!==_vwo_exp[e].comb_n[n]&&["VISUAL_AB","VISUAL","SPLIT_URL","SURVEY"].indexOf(_vwo_exp[e].type)>-1&&"RUNNING"===_vwo_exp[e].status){var i={};if(i.aid=_vwo_acc_id,i.uuid=a.get("_vwo_uuid",!0),i.eid=e,i.vid=n,i.expName=o,i.varName=c,i.goals=[],_vwo_exp[e]){var r=_vwo_exp[e].goals;for(var _ in r)try{i.goals.push([_,r[_].type,r[_].pUrl])}catch(t){console.log(t)}__ctm.log("vwo found",i),C.vwo=__ctm.JSON.stringify(i)}}}]),null!=C.vwo&&C.vwo!={}||VWO.push(["onEventReceive","rC",function(t){t[0];var e=t[1],n=(t[2],_vwo_exp[e].name),o=a.get("_vis_opt_exp_"+e+"_combi",!0),c=_vwo_exp[e].comb_n[o];if(void 0!==_vwo_exp[e].comb_n[o]&&["VISUAL_AB","VISUAL","SPLIT_URL","SURVEY"].indexOf(_vwo_exp[e].type)>-1&&"RUNNING"===_vwo_exp[e].status){var i={};if(i.aid=_vwo_acc_id,i.uuid=a.get("_vwo_uuid",!0),i.eid=e,i.vid=o,i.expName=n,i.varName=c,i.goals=[],_vwo_exp[e]){var r=_vwo_exp[e].goals;for(var _ in r)try{i.goals.push([_,r[_].type,r[_].pUrl])}catch(t){console.log(t)}__ctm.log("vwo found by goal event",i),C.vwo=__ctm.JSON.stringify(i)}}}])))}catch(t){__ctm.log(t)}try{if(__ctm.log("check for abtasty"),window.ABTasty){var V=ABTasty.getTestsOnPage();q=ABTasty.getCampaignHistory();(H={}).visitor=ABTasty.visitor.id,H.cid=ABTasty.accountData.accountSettings.identifier,H.campaigns=Object.keys(q).map((function(t){var e=V[t];return{id:t,name:e?e.name:"",vid:e?e.variationID:q[t],vname:e?e.variationName:""}})),C.abt=__ctm.JSON.stringify(H),__ctm.log("ABTasty found",H)}}catch(t){console.log(t)}try{if(__ctm.log("check for symplify",H),window.sitegainer){H=window.sitegainer.getCTMData();C.sym=__ctm.JSON.stringify(H),__ctm.log("symplify found",H)}}catch(t){console.log(t)}try{__ctm.log("check custom variables",window.__ctm_cvars),window.__ctm_cvars&&(C.cvars="string"==typeof __ctm_cvars?__ctm_cvars:JSON.stringify(__ctm_cvars))}catch(t){__ctm.log("custom variable error: ",t)}__ctm.forEach(["pageview","visible","click","form","custom"],(function(t){try{o(t,C)}catch(t){__ctm.log(t)}}))}function l(t,e,n){__ctm.config.aid,__ctm.config.sid;var o=0;if(e){if(e=u(e),t){var c=f({current_number:t=u(t)});c&&c[4]&&(o=1)}n&&(n=n.replace(/\D/g,"")),__ctm_tracked_numbers[e]||(__ctm_tracked_numbers[e]=!0,__ctm_queue.pageview.push([e,t,o]),__ctm_queue.timer||(__ctm_queue.timer=setTimeout((function(){__ctm_queue.timer=null,_()}),800)))}}function m(t,e,n){__ctm.config.aid,__ctm.config.sid;var o=0;if(e){if(e=u(e.replace(/\D/g,"")),t){var c=f({current_number:t=u(t.replace(/\D/g,""))});c&&c[4]&&(o=1)}__ctm_queue[n].push([e,t,o]),__ctm_queue.timer||(__ctm_queue.timer=setTimeout((function(){__ctm_queue.timer=null,_()}),800))}else console.warn("skip event number missing")}function u(t){return t.replace(/\D/g,"")}function s(t,e,n){"1"!=t.getAttribute("data-ctm-tracked")&&(o(t,"click",(function(){__ctm_nodes_clicked[t]||(__ctm_nodes_clicked[t]=!0,m(e,n,"click"))})),o(t,"visible",(function(){m(e,n,"visible")})))}function f(t){if(!t.rule&&__ctm.rule_table){var e=__ctm.rule_table[t.current_number];if(e){var n=null;for(var o in e){n=o;break}return t.rule=__ctm.config.filtered_rules[n]}}}var d=0;return o(window,"beforeunload",(function(){for(var t in window.__ctm_nodes_visible=null,__ctm_nodes_clicked=null,__ctm_tracked_numbers)__ctm_queue.pageview.push([t,null,0]);_(!0)})),window.ptTrackVistor=l,window.ptTrackVisitor=l,window.ptTrackEvent=m,{popQueue:_,trackVisitor:ptTrackVisitor,trackEvent:m,attachEvents:s,lookupRuleForEvent:f}}();__ctm.tracker=f;var d=function(){"use strict";function t(t,e,n){var o=window.location.protocol+"//"+__ctm.config.host+"/cvrt.gif";o+="?aid="+__ctm.config.aid+"&sid="+__ctm.config.sid+"&num="+encodeURIComponent(t),e&&(o+="&em="+encodeURIComponent(e)),null==typeof n||isNaN(parseInt(n))||(o+="&val="+encodeURIComponent(n));var c=new Image;c.src=o,c.onload=function(){}}function e(t){if((n=t.shift()).match(/\./))var e=n.split("."),n=(e[0],e[1]),o=i[n];else o=i[n];o.apply(o,t)}function n(t,e,n,o,i){function r(r,_){r.addEventListener(_,(function(l){a&&(l.preventDefault(),l.stopPropagation(),c(t,e,n,o,i,(function(){a=!1,r&&"function"==typeof r[_]&&r[_](),setTimeout((function(){a=!0}),300)})))}))}var a=!0;r(n,"submit");for(var _=n.getElementsByTagName("input"),l=n.getElementsByTagName("button"),m=0,u=_.length;m<u;++m)"submit"==_[m].type&&r(_[m],"click");for(m=0,u=l.length;m<u;++m)r(l[m],"click")}function o(t,e,n,o){window.ptTrackEvent("",n,"form"),__ctm.tracker.popQueue();var c="https://"+t+"/form_reactors/"+e+"/start",i=new XMLHttpRequest,r=o.country_code;r||(r="1"),i.open("POST",c,!0);var a="_method=put&visitor_sid="+__ctm.config.sid+"&"+encodeURIComponent("form_reactor[caller_name]")+"="+encodeURIComponent(o.name)+"&"+encodeURIComponent("form_reactor[country_code]")+"="+encodeURIComponent(r.replace(/\D/g,""))+"&"+encodeURIComponent("form_reactor[phone_number]")+"="+encodeURIComponent(o.phone.replace(/\D/g,""))+"&"+encodeURIComponent("form_reactor[email]")+"="+encodeURIComponent(o.email);if(o.custom)for(var _ in o.custom)try{var l=o.custom[_];a+="&"+encodeURIComponent("field["+_+"]")+"="+encodeURIComponent(l)}catch(t){console.error(t)}i.setRequestHeader("Content-type","application/x-www-form-urlencoded"),i.onreadystatechange=function(){4==i.readyState&&"function"==typeof complete&&complete()},i.send(a)}function c(t,e,n,o,c,i){window.ptTrackEvent("",o,"form"),__ctm.tracker.popQueue();var r=c.country_code||"1",a=document.getElementById(c.phone).value;if("object"==typeof c.name&&c.name.length>0)var _=__ctm.map(c.name,(function(t){return document.getElementById(t).value})).join(" ");else _=document.getElementById(c.name).value;var l=document.getElementById(c.email).value,m="https://"+t+"/form_reactors/"+e+"/start",u=new XMLHttpRequest;u.open("POST",m,!0);var s="_method=put&visitor_sid="+__ctm.config.sid+"&"+encodeURIComponent("form_reactor[caller_name]")+"="+encodeURIComponent(_)+"&"+encodeURIComponent("form_reactor[country_code]")+"="+encodeURIComponent(r.replace(/\D/g,""))+"&"+encodeURIComponent("form_reactor[phone_number]")+"="+encodeURIComponent(a.replace(/\D/g,""))+"&"+encodeURIComponent("form_reactor[email]")+"="+encodeURIComponent(l)
;__ctm.forEach(c.fields||[],(function(t){try{var e=document.getElementById(t).value;s+="&"+encodeURIComponent("field["+t+"]")+"="+encodeURIComponent(e)}catch(t){console.error(t)}})),u.setRequestHeader("Content-type","application/x-www-form-urlencoded"),u.onreadystatechange=function(){4==u.readyState&&"function"==typeof i&&i()},u.send(s)}var i={conversion:t,capture:n};if(window.__ctmi&&window.__ctmi.length)for(;window.__ctmi.length>0;)e(window.__ctmi.shift());return window.__ctmi={push:e},{conversion:t,capture:n,post:c,track:o}}();__ctm.form=d;var g=function(){"use strict";function t(t){return window.CTMSourceEvent&&"function"==typeof window.CTMSourceEvent?(f.lookupRuleForEvent(t),window.CTMSourceEvent(t)):void 0}function e(t,e){if(void 0===t&&(t=document.body),t){try{var n=v(t),o=n[0],c=n[1];if(e||(h=o,y=c),!c.length&&!Object.keys(__ctm_tracked_numbers).length)try{__ctm.log("lookup pools none found",__ctm.config.filtered_rules,"<<<",o,n);var i=__ctm.config.filtered_rules[0][3];for(var r in c=[],i)c.push(i[r]+"."+r)}catch(t){__ctm.log(t)}w(o,c,!0,t,e),__ctm.sweeps++}catch(n){__ctm.log("runNow, error:",n),setTimeout((function(){var n=v();__ctm.log("scan:",n),o=n[0],c=n[1],e||(h=o,y=c),w(o,c,!0,t,e),__ctm.sweeps++}),500)}return y}console.warn("__ctm.main.runNow(changedElement) called on null element; skipping")}function n(){var t=window[__ctm.config.gavar];if(t&&"function"==typeof t.getAll)try{__ctm.config.gadim&&__ctm.config.gadim.length>0&&t("set",__ctm.config.gadim,__ctm.config.tracking_source)}catch(t){__ctm.log(t)}else setTimeout(n,80)}function o(t,o,c,i,u){function s(){if(!p){if(!window.__ctm)return w&&(clearTimeout(w),w=null),void(w=setTimeout(s,1e3));p=!0,w=null,__ctm.main.runNow()}}var f="1"==__ctm.config.xdomcookie;if(f){var d=a.get("_cl_"+__ctm.config.cookie_dur,!0),g=a.get("_cr_"+__ctm.config.cookie_dur,!0);d||g?(t=__ctm.config.windowLocation=d,o=__ctm.config.documentReferrer=g):(a.set("_cl_"+__ctm.config.cookie_dur,t,__ctm.config.cookie_dur,!0),a.set("_cr_"+__ctm.config.cookie_dur,o,__ctm.config.cookie_dur,!0),__ctm.config.windowLocation=t,__ctm.config.documentReferrer=o)}else __ctm.config.windowLocation=t,__ctm.config.documentReferrer=o;u?__ctm.config.sid=u:u=a.sid();var p=!1,w=null;w=setTimeout(s,800),r.init((function(){if(__ctm.config.gid)var a=["__ctm_"+__ctm.config.aid,"__ctm2_"+__ctm.config.aid,"__ctmf_"+__ctm.config.aid];else a=["__ctm_"+__ctm.config.aid+"_"+__ctm.config.cookie_dur,"__ctm2_"+__ctm.config.aid+"_"+__ctm.config.cookie_dur,"__ctmf_"+__ctm.config.aid+"_"+__ctm.config.cookie_dur];r.mget(a,(function(r){__ctm.log("XStore.mget.xstored:",r);for(var u=0,s=r.length;u<s;++u)l.store(a[u],r[u]);if(!f&&!__ctm.rules.checkFirst()){var d=__ctm.rules.firstLoc(),g=__ctm.rules.firstRef();"null"==d&&(d=null),"null"==g&&(g=null),d&&(__ctm.config.windowLocation=d),g&&(__ctm.config.documentReferrer=g)}var w;__ctm.config.filtered_rules=l.filter(t,o,c),__ctm.config.filtered_rules[0]&&(__ctm.config.tracking_source=__ctm.config.filtered_rules[0][2],n()),__ctm.log("XStore.mget.rules:",__ctm.config.filtered_rules);var v=!1;if(__ctm.config.pools)for(var h in __ctm.config.pools)if(h&&"object"==typeof __ctm.config.pools[h]&&__ctm.config.pools[h].length){v=!0;break}if(v){var y=__ctm.filter(__ctm.config.filtered_rules,(function(t){return t[4]}));if(!y.length){var b=["","","auto",{},!1,__ctm.config.filtered_rules.length&&__ctm.config.filtered_rules[0][5],__ctm.config.filtered_rules.length&&__ctm.config.filtered_rules[0][6]],k=new Date;k.setMinutes(k.getMinutes()+60*__ctm.config.cookie_dur*24);var T=window.localStorage&&"function"==typeof window.localStorage.setItem;for(w in __ctm.config.pools){var E=w.split(".").shift(),S=w.replace(E+".","");b[3][S]=E;try{T&&!localStorage[w]&&_.set(w,__ctm.config.pools[w])}catch(t){console.log(t)}}__ctm.config.filtered_rules.unshift(b)}}if(0!==__ctm.config.filtered_rules.length){if("function"==typeof window.CTMRulesReady)try{window.CTMRulesReady(__ctm.config.filtered_rules)}catch(t){__ctm.log(t)}var I=!1,R=!1,A=function(){I?(__ctm.log("timeout run"),setTimeout((function(){e(i)}),100)):(R=!0,e(i)),p=!0};if(m.ready(A),window.jQuery&&window.jQuery(A),window.navigator.userAgent&&!window.navigator.userAgent.match(/MSIE/)&&document.body&&!R)I=!0,0===e(i).length&&(__ctm.log("wait early start found nothing"),m.ready((function(){e(i)})),p=!0);var x=0,j=setInterval((function(){x++,"object"!=typeof window.MCA_REWRITE_MANAGER||window.MCA_REWRITE_MANAGER._crushed?x>10&&clearInterval(j):(console.warn("marchex detected"),setInterval((function(){MCA_REWRITE_MANAGER.rewriteMcaNumber=function(){},MCA_REWRITE_MANAGER.RewriteSpecificNumbers=function(){},window.MCA_REWRITE_MANAGER._crushed=!0}),100))}),500)}else __ctm.log("no rules")}))}))}function c(t,e){window.Cufon&&!I&&(I=!0,setTimeout((function(){Cufon.refresh()}),100));var n={};for(var o in t)n[t[o].join(".")]=o.replace(/\..*$/g,"");E=[[null,null,null,n]],T&&clearTimeout(T),T=setTimeout((function(){i(e)}),k)}function i(t){h=[],d(t),k<65535&&(T&&clearTimeout(T),T=setTimeout((function(){i(t)}),k),k*=2)}function d(t){var e=u.mark(E,t);__ctm.forEach(e,(function(t){for(var e=0,n=h.length;e<n;++e)if(h[e][0]==t[0])return;if(h.push(t),"1"!=t[0].getAttribute("data-ctm-tracked")&&(f.attachEvents(t[0],null,t[1]),t[1])){var o=t[1].split(".");o.shift(),f.trackVisitor(null,o.join(""),null),t[0].setAttribute("data-ctm-tracked","1")}})),__ctm.sweeps++}function p(e,n,o,c){var i=window.MutationObserver||window.WebKitMutationObserver,r=(window.addEventListener,e[0]);if(c||"1"!=r.getAttribute("data-ctm-tracked")){var a=e[2],_=a&&!!a.match(/\.s:/);if(n[a]){var l=__ctm.map(n[a],(function(t){return t})),m=__ctm.map(e[1].split("."),(function(t){return t})),s=o[l.join(".")],d=!1,g=!1;"A"==r.tagName&&(d=r.getAttribute("href")),"IMG"==r.tagName&&(g=r.getAttribute("alt"));var p=m.join(""),w=l.join("");__ctm.log("newNumber:",l,"newNumberStr:",w),__ctm.log("oldNumber:",m,"oldNumberStr:",p),__ctm.log("swap:"+p+" with "+w,s);var v=t({state:"node:before",current_number:p,new_number:w,node:r,current_number_split:m,new_number_split:l});if(__ctm.use_ret&&v)return;if(__ctm.no_swap)return;if(_){switch(T=l.shift()){case"55":case"1":r.innerHTML=s||l.join("-");break;case"64":case"61":case"32":case"31":case"27":r.innerHTML=s||"0"+l.join(" ");break;case"972":case"92":r.innerHTML=s||"0"+l.join("-");case"46":var h="0"+l.shift()+"-"+l.shift()+l.join(" ");r.innerHTML=s||h;default:r.innerHTML=s||l.join(" ")}f.trackVisitor(p,w,null),f.attachEvents(r,p,w),r.setAttribute("data-ctm-tracked","1")}else{if(p==w)return m.shift(),l.shift(),p=m.join(""),w=l.join(""),f.trackVisitor(p,w,null),f.attachEvents(r,p,w),void r.setAttribute("data-ctm-tracked","1");var y;if("1"==r.getAttribute("data-observe")&&r.dataset&&__ctm.config.observers[r.dataset.observerId])(L=__ctm.config.observers[r.dataset.observerId]).disconnect(),L.takeRecords(),__ctm.config.observers[r.dataset.observerId]=null,r.setAttribute("data-observe","0");d&&(y=s||"+"+l.join(""));try{__ctm.log("swapping: ",r.innerHTML,m,l),(E=u.swap(r.innerHTML,m,l,{format:s}))&&(r.innerHTML=E)}catch(t){__ctm.log(t.message)}if(d)__ctm.log("doing the href swap:",d,m,l),(b=u.swap(d,m,l,{format:y,href:!0}))&&(d=b).match(/clkn\/tel/)&&(d=d.replace(/\+/,""));if(g)(k=u.swap(g,m,l,{format:s,alt:!0}))&&(g=k);var b,k,T=l.shift();try{(E=u.swap(r.innerHTML,m,l,{cc_hint:T,format:s}))&&(r.innerHTML=E)}catch(t){__ctm.log(t.message)}if(d)(b=u.swap(d,m,l,{cc_hint:T,format:y}))&&(d=b).match(/clkn\/tel/)&&(d=d.replace(/\+/,""));if(g)(k=u.swap(g,m,l,{cc_hint:T,format:s}))&&(g=k);m.shift();try{var E;(E=u.swap(r.innerHTML,m,l,{cc_hint:T,format:s}))&&(r.innerHTML=E)}catch(t){__ctm.log(t.message)}if(d)(b=u.swap(d,m,l,{cc_hint:T,format:y}))&&(d=b);if(g)(k=u.swap(g,m,l,{cc_hint:T,format:s}))&&(g=k);p=m.join(""),w=l.join(""),f.trackVisitor(p,w,null),f.attachEvents(r,p,w),r.setAttribute("data-ctm-tracked","1");var I=null;if(I=r.getAttribute("data-ctm-exact"))switch(__ctm.log("exactMatch",I,"element:",r,"country_code:",T),I=new RegExp(I.replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"),"g"),__ctm.log("exactMatch escaped:",I),T){case"1":r.innerHTML.match(/-/)?(r.innerHTML=r.innerHTML.replace(I,s||l.join("-")),d&&(d=d.replace(I,l.join("-"))),g&&(g=g.replace(I,s||l.join("-")))):(r.innerHTML=r.innerHTML.replace(I,s||l.join(".")),d&&(d=d.replace(I,l.join("."))),g&&(g=g.replace(I,s||l.join("."))));break;case"64":case"61":case"32":case"31":case"27":s||(r.innerHTML=r.innerHTML.replace(I,s||"0"+l.join(" ")),d&&(d=d.replace(I,"0"+l.join(" "))),g&&(g=g.replace(I,s||"0"+l.join(" "))));break;case"972":case"92":r.innerHTML=r.innerHTML.replace(I,s||"0"+l.join("-")),d&&(d=d.replace(I,"0"+l.join("-"))),g&&(g=g.replace(I,s||"0"+l.join("-")));break;case"46":h="0"+l.shift()+"-"+l.shift()+l.join(" ");r.innerHTML=r.innerHTML.replace(I,s||h),d&&(d=d.replace(I,h)),g&&(g=g.replace(I,s||h));break;case"55":r.innerHTML=r.innerHTML.replace(I,s||l.join("-")),d&&(d=d.replace(I,l.join("-"))),g&&(g=g.replace(I,s||l.join("-")));break;default:__ctm.log("process exact match replacement",l,s),r.innerHTML=s?r.innerHTML.replace(I,s):r.innerHTML.replace(I,l.join(" ")),d&&(d=d.replace(I,l.join(" "))),g&&(g=g.replace(I,s||l.join(" ")))}d&&r.setAttribute("href",d),g&&r.setAttribute("alt",g);try{if(window.Cufon&&"cufontext"==r.nodeName.toLowerCase()){__ctm.log("cufon detected");var R=r.parentNode.parentNode;if(R){for(var A=R.getElementsByTagName("cufontext"),x=[],j=0,M=A.length;j<M;++j)x.push(A[j].innerHTML);var N=x.join(" "),C=R.style.visibility;R.style.visibility="hidden",R.innerHTML=N,R.style.visibility=C,window.Cufon.replace(R)}}}catch(t){console.log(t)}}if(t({state:"node:after",current_number:p,new_number:w,node:r,current_number_split:m,new_number_split:l}),"1"!=r.getAttribute("data-observe")&&r.dataset&&(r.setAttribute("data-observe","1"),!r.innerHTML.match(/data-ctm/))){var L,O=r.innerHTML;(L=new i((function(){L.takeRecords();L.disconnect(),setTimeout((function(){if(window.adp_console_out&&window.adp_console_out.length){console.warn("foureyes detected:",adp_console_out);var t=adp_console_out.split("\n"),e=[];t.forEach((function(t){var n=t.split("-> FE").map((function(t){return t.replace(/\D/g,"")})).filter((function(t){return t.length>0}));n.length&&e.push({from:n[0],to:n[1]})}));var n=O.replace(/\D/g,""),o=__ctm.filter(e,(function(t){return!!t.from.match(n)}));if(o.length)return;console.warn("not allowing foureyes tracking number mis-matched",o,e,r.innerHTML)}r.innerHTML=O,setTimeout((function(){L.observe(r,{childList:!0,subtree:!0,characterData:!0,characterDataOldValue:!0})}),300)}),100)}))).observe(r,{childList:!0,subtree:!0}),"object"!=typeof __ctm.config.observers&&(__ctm.config.observers={}),r.dataset.observerId||(r.dataset.observerId=S++),__ctm.config.observers[r.dataset.observerId]=L}}else __ctm.log("no numbers for marked",a,e,n)}else __ctm.log("skip")}function w(n,o,i,r,a){__ctm.log("applyTracking:",o),s.load(o,(function(_){__ctm.log("applyTracking for poolids:",o," received:",_);var l={},m={},u=/^format\.(.*)$/;for(var s in _){var f=s.match(u);f?l[f[1]]=_[s]:m[s]=_[s]}var d=[];for(var g in m){var w=m[g],v=g.split("."),h=v.shift(),y=v.shift(),k=v,T=v.join("");(v=__ctm.map(w,(function(t){return t}))).shift();var E=v,S=v.join(""),I=[].concat(y,E).join(".");d.push([T,S]),t({state:"before",current_number:T,new_number:S,current_number_split:k,pid:h,cc:y,format:l[I],new_number_split:E})}__ctm.log("all the numbers:",m),__ctm.forEach(n.reverse(),(function(t){if(p(t,m,l,i),"body"!=t[0].nodeName&&t[0].innerHTML.length>27){var n=parseInt(t[0].getAttribute("data-ctm-remark"));if(isNaN(n)&&(n=0),n>=3)return;t[0].setAttribute("data-ctm-remark",++n),setTimeout((function(){e(t[0],!0)}),0)}})),a||(clearTimeout(b),c(m,r));var R=function(){__ctm.forEach(d,(function(e){t({state:"after",current_number:e[0],new_number:e[1]})}))};"function"==typeof window.queueMicrotask?window.queueMicrotask(R):setTimeout(R,0)}))}function v(t){t||(t=document.body);var e=u.mark(__ctm.config.filtered_rules,t);__ctm.log("rules:",__ctm.config.filtered_rules,"marked:",e);var n=[],o=__ctm.config.filtered_rules.length,c={};return __ctm.log("scan main",o,e,__ctm.config.filtered_rules),__ctm.forEach(e,(function(t){for(var e=t[1],i=0;i<o;++i){var r=__ctm.config.filtered_rules[i],a=r[3][e]+"."+e;r[3][e]||(a=null),a?(t.push(a),c[a]||(n.push(a),c[a]=!0)):__ctm.log("no pool available",e)}})),__ctm.log("asked:",c,n),[e,n]}var h=[],y=[],b=null,k=1500,T=null,E=[],S=0;__ctm.sweeps=0,__ctm&&"function"!=typeof __ctm.log&&(__ctm.log=function(t){window.console&&"function"==typeof window.console.log&&console.log(t)});var I=!1;return{runNow:e,init:o,start:function(t){var e=document.referrer.toString();window.___ctm_test_referrer_override&&("string"==typeof window.___ctm_test_referrer_override&&(e=window.___ctm_test_referrer_override),window.___ctm_test_referrer_override=!0),g.init(window.location.toString(),e,document.cookie.toString(),t)},scan:v,applyTracking:w}}();__ctm.main=g,__ctm.config.delayed="true"==__ctm.config.delayed,function(){function t(){if(__ctm.config.delayed||g.start(),window.__ctm_loaded)for(;window.__ctm_loaded.length;){var t=window.__ctm_loaded.pop();"function"==typeof t&&t()}window.__ctm_loaded=window.__ctm_loaded||[],window.__ctm_loaded.push=function(t){"function"==typeof t&&t()},window.__ctm_loaded.ready=!0,window.__ctm_cvars=window.__ctm_cvars||[],window.__ctm_cvars._real_push=window.__ctm_cvars.push,window.__ctm_cvars.push=function(t){for(var e in this._real_push(t),__ctm_tracked_numbers)__ctm.tracker.trackEvent("",e,"custom");__ctm.tracker.popQueue()}}var e=1e3*__ctm.config.gentime;((new Date).getTime()-e)/1e3>300&&(console.warn("you cached a dynamic script.  operation degraded"),__ctm.config.sid=null),t()}()}();}