175073.tctm.co Open in urlscan Pro
2600:9000:2057:7400:12:de4a:40:93a1  Public Scan

URL: https://175073.tctm.co/t.js
Submission: On March 02 via manual from US — Scanned from DE

Form analysis 0 forms found in the DOM

Text Content

;if (window.__ctm == undefined) { window.__ctm = {
config: {
  aid: 175073,
  cookie_dur: 30,
  host:"175073.tctm.co",
  sid:"621fdb2a0002abe11b3f1901",
  gid:1623957331.1384928,
  rules:[[["",""],["gclid=.+|wbraid=.*|gbraid=.*",""],"PPC Ggl Ads, NV",{"1.702.365.8473":826805,"1.702.657.1400":826805,"1.702.649.9400":826805,"1.702.228.7800":826805,"1.702.437.6000":826805,"1.702.437.9100":826805,"1.702.795.2700":826805,"1.702.568.9600":826805,"1.702.252.3100":826805,"1.702.732.1900":826805,"1.702.368.6900":826805,"1.702.386.0400":826805,"1.702.365.8800":826805,"1.702.262.6500":826805,"1.702.736.6700":826805,"1.775.751.6100":826805,"1.888.398.8863":826805,"1.702.941.4141":826805},false,false,false,false],[["",""],["utm_source=facebook\u0026utm_medium=cpc\u0026insitesid=1383",""],"Facebook Sites, NV",{"1.702.365.8473":827744,"1.702.657.1400":827744,"1.702.649.9400":827744,"1.702.228.7800":827744,"1.702.437.6000":827744,"1.702.437.9100":827744,"1.702.795.2700":827744,"1.702.568.9600":827744,"1.702.252.3100":827744,"1.702.732.1900":827744,"1.702.368.6900":827744,"1.702.386.0400":827744,"1.702.365.8800":827744,"1.702.262.6500":827744,"1.702.736.6700":827744,"1.775.751.6100":827744,"1.702.941.4141":827744},false,false,false,false],[[".*",""],[".*",""],"Website",{"1.888.398.8863":941186},false,false,false,false]],
  mapping:{},
  xdomcookie:"0",
  country:"DE",
  region:"HE",
  dma:"",
  zip:"60326",
  area:"",
  delayed:"false",
  gavar:"ga",
  gadim:"",
  pools:{}
} };;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(){__ctm.log=window.console.log.bind(window.console)}function q(){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)}catch(e){}return!1}try{window._gaq&&typeof _gaq!=undefined&&!window.pageTracker?_gaq.push(function(){try{__ctm.config.gacode=_gaq._getAsyncTracker()._getAccount(),"UA-XXXXX-X"==__ctm.config.gacode&&(__ctm.config.gacode=null)}catch(e){}}):(window._gat&&typeof _gat!=undefined&&"function"==typeof _gat._getTrackers&&(__ctm.config.gacode=_gat._getTrackers()[0]._getAccount(),"UA-XXXXX-X"==__ctm.config.gacode&&(__ctm.config.gacode=null)),window._gaq&&typeof _gaq!=undefined&&_gaq.push(function(){__ctm.config.gacode=_gaq._getAsyncTracker()._getAccount(),"UA-XXXXX-X"==__ctm.config.gacode&&(__ctm.config.gacode=null)}))}catch(e){}return!0}function e(){try{q()&&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($){}var f=window.__ctm.config.host,l=window.__ctm.config.rules;__ctm_debug&&window.console&&window.console.log&&Function.prototype.bind?t():__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($){console.log(t)}}},function(){"use strict";function t(o){Array.prototype[o]?__ctm.safe.isFuncNative(Array.prototype[o])?__ctm[o]=function(t,e,n){return t[o](e,n)}:(__ctm.log("use safe method"),__ctm[o]=function(t,e,n){return __ctm.safe[o].call(t,e,n)}):(__ctm.log("use safe method"),__ctm[o]=function(t,e,n){return __ctm.safe[o].call(t,e,n)})}__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,e){if(null==this)throw new TypeError;var n=Object(this),o=n.length>>>0;if(0===o)return-1;var c=0;if(1<arguments.length&&((c=Number(e))!=c?c=0:0!=c&&c!=Infinity&&c!=-Infinity&&(c=(0<c||-1)*Math.floor(Math.abs(c)))),o<=c)return-1;for(var i=0<=c?c:Math.max(o-Math.abs(c),0);i<o;i++)if(i in n&&n[i]===t)return i;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,e){if(null==this)throw new TypeError;var n=Object(this),o=n.length>>>0;if("function"!=typeof t)throw new TypeError;for(var c=[],i=e,r=0;r<o;r++)if(r in n){var a=n[r];t.call(i,a,r,n)&&c.push(a)}return c},t("indexOf"),t("forEach"),t("map"),t("filter")}();var z=function(){"use strict";var n={encode:window.btoa,decode:window.atob};return{compress:function(t,e){return(e?"":"b64")+n.encode(encodeURIComponent(t))},decompress:function(t){if(t&&t.match(/^b64/))return decodeURIComponent(n.decode(t.replace(/^b64/,"")))}}}();__ctm.base64=z;var w=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=w;var X=function(){"use strict";function e(t,e){for(var n=t+"=",o=document.cookie.split(";"),c=0,i=o.length;c<i;c++){for(var r=o[c];" "==r.charAt(0);)r=r.substring(1,r.length);if(0==r.indexOf(n))return e?r.substring(n.length,r.length):z.decompress(r.substring(n.length,r.length))}return null}function t(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 i="; expires="+c.toGMTString()}else i="";var r=window.location.hostname,a=r.split(".");if(2<a.length&&a.length<=3&&(a.shift(),r="."+a.join(".")),__ctm.log("set cookie: ",t,e,"domain",r,i),e&&0<e.length&&!o){var _=z.compress(e);document.cookie=t+"="+_+i+"; path=/; domain="+r,document.cookie=t+"="+_+i+"; path=/"}else document.cookie=t+"="+e+i+"; path=/; domain="+r,document.cookie=t+"="+e+i+"; path=/";return e}function o(){var t=e("__ctmid",!0);return t&&(parseInt(t.substring(8,16),16)==__ctm.config.aid||parseInt(t.substring(8,15),16)==__ctm.config.aid||(t=null)),t&&24==t.length?__ctm.config.sid=t:n("__ctmid",t=__ctm.config.sid,__ctm.config.cookie_dur,!0),t}return{get:e,set:n,clear:t,sid:o}}();__ctm.cookie=X;var A=function(){"use strict";var t;try{t=window.localStorage&&"function"==typeof window.localStorage.getItem}catch(_){t=!1}if(t)try{window.localStorage.setItem("c____t____m","1"),window.localStorage.removeItem("c____t____m")}catch($){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($){return e}}var n=localStorage[t+"_ttl"],o=new Date(n),c=new Date;if(c<o){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($){console.error($)}else try{localStorage[t]=e}catch($){console.error($)}},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=A;var x=function(){"use strict";function i(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 r(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 f(t,e){__ctm.log("calling setCookieOrStorage:",t,e);try{if(A.hasLocal){window.localStorage[t]=e||"null";var n=new Date;n.setDate(n.getDate()+_),window.localStorage[t+"_ttl"]=n}else X.set(t,e||"null",__ctm.config.cookie_dur)}catch($){console.error("localStorage error use cookies");try{X.set(t,e||"null",__ctm.config.cookie_dur)}catch(o){console.error("cookies are unavailable")}}w.set(t,e)}function o(t){var e=null;if(A.hasLocal){e=window.localStorage[t]||X.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=X.get(t);return e}function n(t,e){var n=o(g);return null!=n&&(e=n),"null"==e&&(e=""),f(g,e),e}function c(t,e){var n=o(p);return null!=n&&(e=n),"null"==e&&(e=""),f(p,e),e}function d(t,e,n){if(null==t[1][0]&&""==t[0][0])var o=""==e,c=""!=n;else if(""==t[0][0]&&""==t[1][0]){__ctm.log("direct style match detected: ",t,e,n.toString(),t[1][1]);o=!(""!=e&&null!=e||e&&!e.match(t[0][1]?t[0][1]:"")),c=!n||!!n.match(t[1][1]?t[1][1]:"")}else o=i(t[0],e),c=r(t[1],n);return __ctm.log("ref",o,"loc",c,t),o&&c}function a(t,_,l,e){var m=_,u=l;_=c(e,_),l=n(e,l),__ctm.log("location:",_,", referrer",l,"realLocation",m,"realReferrer",u),__ctm.log("fetched location:",_,", fetched referrer",l);var s={};return __ctm.filter(t,function(t){var e=d(t,l,_);if(!!t[4]){var n=e;e|=d(t,u,m),!n&&e&&(f(g,u),f(p,m))}else{var o=!!t[6];if(!n&&e&&o){console.log("\n\t\t\nweak source use lower ttl\n\n\n");var c=new Date;c.setMinutes(c.getMinutes()+10),A.write("__ctm2_"+__ctm.config.aid+"_"+window.__ctm.config.cookie_dur+"_ttl",c),A.write("__ctm_"+__ctm.config.aid+"_"+window.__ctm.config.cookie_dur+"_ttl",c),A.write("__ctmf_"+__ctm.config.aid+"_"+window.__ctm.config.cookie_dur+"_ttl",c)}}if(e){var i=t[3],r=0;for(var a in i)s[a]?delete i[a]:(s[a]=!0,++r);return __ctm.log("use rule: ",0<r,t),0<r}return!1})}var t=window.__ctm.config.aid,_=window.__ctm.config.cookie_dur;if(__ctm.config.gid)var g="__ctm_"+t,p="__ctm2_"+t,e="__ctmf_"+t;else g="__ctm_"+t+"_"+_,p="__ctm2_"+t+"_"+_,e="__ctmf_"+t+"_"+_;return{filter:function(t,e,n){return a(l,t,e,n)},store:f,firstRef:function(){return o(g)},firstLoc:function(){return o(p)},checkFirst:function(){return!!o(e)},didFirst:function(){f(e,"1")}}}();__ctm.rules=x;var j=function(){"use strict";function e(t){c?t():document.addEventListener?document.addEventListener("DOMContentLoaded",function(){c=!0,t()},!1):window.addEventListener?window.addEventListener("DOMContentLoaded",function(){c=!0,t()},!1):/in/.test(document.readyState)?setTimeout(function(){e(t)},9):c=t()}function t(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=t("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;e(function(){});var i=null;return{hide:n,show:o,ready:e}}();__ctm.page=j;var L=function(){"use strict";function b(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\?/,"")),1<t.length&&(!_&&r||!r)?a=a.concat(t.split("")):a.push(t),_=!1});a.length;__ctm.log("specialSplit:digits before:",a),10<a.length&&(__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){1<t.length&&(!_&&r||!r)?l=l.concat(t.split("")):l.push(t),_=!1}),10<l.length&&(__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 m=[],u=0,s=0,f=l.length,d=a.length;s<f;++s)(u=s+1)==f?m.push(l[s]):u==d&&d<f?m.push(l[s]+" "):m.push(l[s]+"$"+u);__ctm.log("specialSplit:digits final:",a),__ctm.log("specialSplit:replaceStr",m);var g,p=m.join(""),w=a.join(T),v=new RegExp(w,"g");return __ctm.log("specialSplit:text",t),__ctm.log("specialSplit:regex",v),__ctm.log("specialSplit:replaceResult",p),g=i?t.replace(v,i):t.replace(v,p),__ctm.log("specialSplit:result:",g),g}function t(t,e,n,o){if(e.length&&-1==e[0].indexOf("e:")){__ctm.log("swap:text:",t),__ctm.log("swap:number:",e),__ctm.log("swap:newNumber:",n),__ctm.log("swap:options:",o);var c,i,r=(o=o||{}).countryCodeHint||o.cc_hint||null,a=o.custom_format||o.format||null,_=[],l=null;if(__ctm.log("number:",e),"44"==r)try{var m=[];__ctm.forEach(e,function(t){if(2<t.length){for(var e=t.split("").reverse(),n=[];0<e.length;)n.push(e.splice(0,2).join(""));__ctm.forEach(n.reverse(),function(t){__ctm.forEach(t.split("").reverse(),function(t){m.push(t)})})}else if(t.match(/0/)){var o=null;__ctm.forEach(t.split(""),function(t){o?o+=t:o=t,o.match(/0$/)&&(m.push(o),o=null)}),o&&m.push(o)}else m.push(t)}),__ctm.log("Update numbers:",e,"to",m),e=m}catch($){console.log($)}if(null===a){__ctm.log(e);for(var u=0,s=n.length,f=e.length;u<s;++u)(l=u+1)==s?_.push(n[u]):l==f&&f<s?_.push(n[u]+" "):_.push(n[u]+"$"+l);if(__ctm.log(n),c=0,r||(c=1,r=10==e.join("").length?"1":n[0]),"1"!=r)switch(r){case"972":_[c].match(/^0/)||0!=c||(_[c]="0"+_[c],e[c].match(/^0/)||(e[c]="0?"+e[c]))}}__ctm.log("swap:replaceStr:",_);var d,g="";null===a?(__ctm.log("number:",e),i=e.join(T)):(a&&"string"==typeof a&&((d=a.match(/^(\D+0?)/))&&"string"==typeof d[0]&&(g=new String(d[0]).replace(/([.*+?^=!:${}()|\[\]\/\\])/g,"\\$1")),(d=a.match(/^\+\d/))&&(g="[\\+0]")),i="("+g+")?["+E+"]?"+e.join(T));var p=new RegExp(i,"g");__ctm.log("swap:regexPattern:",p);var w=a||_.join("");__ctm.log("swap:regexPattern:",i),__ctm.log("swap:regex:",p),__ctm.log("swap:replaceResult",w),__ctm.log("swap:text",t),__ctm.log("swap:newNumber",n);var v=t.replace(p,w);if("string"==typeof t&&-1!=v.indexOf("$")&&(v=t.replace(p,n.join("-"))),__ctm.log("swap:result",v),o&&o.href&&v.match(/tel:/)&&!v.match(/tel:\+/)&&v.match(/tel:\d+\+/)&&(v=v.replace(/tel:\d+/,"tel:")),v!=t||"string"!=typeof t)return"string"==typeof a&&v.match("0"+k(a))&&(v=v.replace(new RegExp("0"+k(a)),a)),v;if(a&&(i=e.join(T),p=new RegExp(i,"g"),w=a||_.join(""),__ctm.log(t,":(retry)regex:",p,",",w),(v=t.replace(p,w))!=t))return v;__ctm.log("did not swap: (",t,") :",p,": ",_);var h=t.replace(/\D/g,"");if(__ctm.log("swap:digitsOnly:",h),!h.match(/^0/)&&!h.match(new RegExp("^"+e[0]+"0"))||"1"==e[0]||"39"==e[0])return b(t,e,n,r,c,a);h.match(new RegExp("^"+e[0]+"0"))&&(e=e.slice()).splice(1,0,"0");var y=e.join("").split("");return g="",a&&(d=a.match(/^(\D+0?)/))&&(g=d[0].replace(/([.*+?^=!:${}()|\[\]\/\\])/g,"\\$1")),i="("+g+")?(["+E+"]*)?"+y.join(T+"?"),p=new RegExp(i,"g"),t.match(p)?a?t.replace(p,w):t.replace(p,n.join(" ")):t}}function k(t){return"string"==typeof t?t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"):""}function r(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")?s=!1:g&&"function"==typeof l.hasAttribute&&l.hasAttribute("data-ctm-watch-id")?s=!1:g||l["data-ctm-watch-id"]===undefined?8==l.nodeType&&(s=!1):s=!1,s){var f=l.tagName;"A"==f&&l.href?(u=a?l.href.match(e):null)?o(l,u,!0):_&&(u=l.href.match(n))&&i(l,u,!0):"IMG"==f&&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 d=l.parentNode;if(c--,!d||d==t||0==c)return;if(r=d.nextSibling){l=r;break}l=d}}}}}function i(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(T);m[t.join("")]=c,0!==e.length&&-1!=__ctm.indexOf(e,i)||e.push(i);var r=(t=t.slice(0)).shift();if(m[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(T+"?"),i+=T+_,4===_.length&&(a=l.join(T+"?"),a+=T+_.substr(0,1)+T+_.substr(1),a+="|"+T+_.substr(0,2)+T+_.substr(2),0!==e.length&&-1!=__ctm.indexOf(e,i)||e.push(a))}else i=t.join(T);__ctm.log("regexPattern:(",t.join(""),")",i),0!==e.length&&-1!=__ctm.indexOf(e,i)||e.push(i)}}function c(t,e,n,o){for(var c in t)i(c,e,n,o)}function o(t){var e=[],n=[],o=[];return __ctm.forEach(t,function(t){c(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,n,e,o){var c,i=[];if(void 0===n&&(n=document.body),n)return __ctm.log("Numbers.mark",n,t,e,o),o.length&&"function"==typeof n.querySelectorAll&&__ctm.forEach(o,function(e){__ctm.forEach(n.querySelectorAll(e),function(t){t.getAttribute("data-ctm-tracked")||i.push([t,"s:"+e])})}),r(n,t,e,function(e,t,n){n&&t[0]?(c=t[0].replace(l,""),i.push([e,m[c]])):t[0]&&0===__ctm.filter(i,function(t){return a(t[0],e)}).length&&(c=t[0].replace(l,""),i.push([e.parentNode,m[c]]))},0,function(e,t,n){n&&t[0]?(c=t[0],e.setAttribute("data-ctm-exact",t),i.push([e,"e:"+c])):t[0]&&0===__ctm.filter(i,function(t){return a(t[0],e)}).length&&(c=t[0],e.parentNode.setAttribute("data-ctm-exact",t),i.push([e.parentNode,"e:"+c]))}),i}var E="&;nbsp_\\.\\(\\)\\+\\-~\\*"+decodeURIComponent(escape(unescape("%E2%80%A2")))+decodeURIComponent(escape(unescape("%E2%80%93")))+decodeURIComponent(escape(unescape("%E2%80%91"))),T="(["+(E+"\\s")+"]*)",l=new RegExp(T,"g"),m={},g=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:o,mark:function(t,e){var n=o(t);return __ctm.rule_table||(__ctm.rule_table={}),__ctm.forEach(t,function(t,o){var e=t[3];for(var n in e){var c=__ctm.config.mapping[n],i=n.split(".");i.shift(),i=i.join(""),__ctm.rule_table[i]||(__ctm.rule_table[i]={}),__ctm.rule_table[i][o]=o,c&&__ctm.forEach(c,function(t){if(t&&"number"==t.t){var e=t.p.slice(0);e.shift();var n=e.join("");__ctm.rule_table[n]||(__ctm.rule_table[n]={}),__ctm.rule_table[n][o]=o}})}}),_(n[0],e,n[1],n[2])},swap:t,separators:T,separators_regex:l}}();__ctm.numbers=L;var n=function(){"use strict";function t(t,r){var c=[],i=[],a={},_=!1;if(0==t.length)return __ctm.log("no poolids"),void r({});if(__ctm.config.gid&&!s){s=!0;(!u||u<__ctm.config.gid)&&A.purge();m&&new Date(m).getTime()<(new Date).getTime()&&A.purge(),A.setTTL()}if(__ctm.forEach(t,function(t){var e=A.get(t);if(e){a[t]=e,_=!0;var n=[].concat("format",e).join("."),o=A.get(n);o&&(a[n]=o)}else-1==t.indexOf(",")?c.push(t):i.push(t)}),0<c.length||0<i.length){window.__ctm_invoke=function(t){var e={};for(var n in __ctm.log("__ctm_invoke:",t),t){var o=t[n],c=n.split("."),i=c.shift().split("-")[0]+"."+c.join(".");__ctm.log("cache:",i,o),A.set(i,o),e[i]=o}r(e)};var e=document.getElementsByTagName("script")[0],n=document.createElement("script"),o=!(n.async=!0);__ctm.forEach(__ctm.config.filtered_rules,function(t){o|=t[5]});var l=document.location.protocol+"//"+f+"/p.js?sid="+__ctm.config.sid+"&p="+__ctm.map(c,function(t){return encodeURIComponent(t)}).join(",")+"&"+__ctm.map(i,function(t){return"e[]="+encodeURIComponent(t)}).join("&");o&&__ctm.config.country&&"null"!=__ctm.config.country&&(l+="&c="+__ctm.config.country,__ctm.config.region&&"null"!=__ctm.config.region&&(l+="&r="+__ctm.config.region,__ctm.config.area&&"null"!=__ctm.config.area&&(l+="&a="+__ctm.config.area))),n.src=l,e.parentNode.insertBefore(n,e)}_&&(__ctm.log("cache hit on",a),r(a))}var m=A.get("_ctm_"+__ctm.config.aid+"_ttl_"),u=A.get("_ctm_"+__ctm.config.aid+"_gid_"),s=!1;return{load:t}}();__ctm.pool=n,e(),setTimeout(e,300),setTimeout(e,1e3),setTimeout(e,1500);var O=function(){"use strict";function D(t){var e=null;try{e=new XMLHttpRequest}catch($){}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 c(t){try{if("none"==t.style.display||"hidden"==t.style.visibility||parseInt(t.style.opacity)<.1)return!1;var e=t.getBoundingClientRect(),n=i();return 0<=e.top&&0<=e.left&&e.bottom<=n[1]&&e.right<=n[0]}catch($){return!1}}function o(t,e,n){function o(){window.__ctm_nodes_visible&&(window.__ctm_nodes_visible[t.getAttribute("data-ctm-watch-id")]||(c(t)?(window.__ctm_nodes_visible[t.getAttribute("data-ctm-watch-id")]=!0,n({event:e,target:t})):setTimeout(o,600)))}if(t&&1==t.nodeType&&"function"==typeof t.setAttribute&&t.setAttribute("data-ctm-watch-id",m++),"visible"==e){if(window.__ctm_nodes_visible&&window.__ctm_nodes_visible[t.getAttribute("data-ctm-watch-id")])return;o()}else"function"==typeof t.addEventListener?t.addEventListener(e,n,!1):"object"==typeof t.attachEvent&&t.attachEvent("on"+e,n)}function i(){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(i){function e(t,e){var n=__ctm_queue[t];for(e.nums=[],e.evt=t;0<n.length;){t=n.pop();e.nums.push(t)}if(0<e.nums.length){if(!i)var o=D(document.location.protocol+"//"+window.__ctm.config.host+"/x.json");if(o){if(__ctm.log("track with xhr",t),o.onreadystatechange=function(){4==o.readyState&&__ctm.rules.didFirst()},window.___ctm_test_referrer_override)return;o.send(__ctm.JSON.stringify(e))}else{__ctm.log("track with pixel");var c=new Image;if(c.onload=function(){__ctm.log("pixel fired"),__ctm.rules.didFirst()},window.___ctm_test_referrer_override)return;c.src=document.location.protocol+"//"+window.__ctm.config.host+"/m.gif?d="+encodeURIComponent(z.compress(__ctm.JSON.stringify(e),!0))}}}__ctm.log("pop queue"),__ctm_tracked=!0;var t=document.referrer,n=document.location.toString(),o=X.get("hubspotutk",!0),c=X.get("__utma",!0),r=X.get("__utmb",!0),a=X.get("__utmc",!0),_=X.get("__utmz",!0),l=(X.get("s_vi",!0),X.get("mmapi.store.p.0",!0)),m=null;if(__ctm.config.gaid)m=__ctm.config.gaid;else{var u=window[__ctm.config.gavar];try{u&&"function"==typeof u.getAll&&(__ctm.config.gaid=u.getAll()[0].get("clientId"),__ctm.config.gaid&&(__ctm.config.gaid="GA1.2."+__ctm.config.gaid),m=__ctm.config.gaid)}catch($){}m||(m=X.get("_ga",!0))}var s=X.get("fbsr",!0),f=X.get("_mkto_trk",!0),d=X.get("_biz_uid",!0),g=X.get("ubpv",!0),p=X.get("ubvt",!0),w=__ctm.config.aid,v=__ctm.config.sid;try{g&&(g=decodeURIComponent(g).split(","))}catch($){}try{var h=document.cookie.split(";"),y=__ctm.filter(h,function(t){return t.match(/instapage-visit-/)})[0],b=__ctm.map(y.split("="),function(t){return decodeURIComponent(t).replace(/^\s*/,"").replace(/\s*$/,"")}),k=b[0].split("-");k.shift(),k.shift(),k=k[0];var E=__ctm.JSON.parse(decodeURIComponent(b[1])),T={p:k,v:__ctm.cookie.get("instapage-variant-"+k,!0)};T.d=E[T.v].d,T.b=E[T.v].b,window.__ctm_cvars._real_push({insta:T})}catch($){}try{q()}catch($){}var S={aid:w,ref:t,url:n,nums:[],sid:v,ga:{}};c&&(S.ga.utma=c),r&&(S.ga.utmb=r),a&&(S.ga.utmc=a),_&&(S.ga.utmz=_);try{p&&(S.ubvt=p),g&&g.length&&(S.ubv=g[0],S.ubp=g[1])}catch($){}(m&&(S.ga.ga_univ=m),__ctm.config.gacode&&(S.ga.actid=__ctm.config.gacode),o&&(S.hs=o),f&&(S.mkto=f),d&&(S.biz=d),__ctm.config.adblock&&(S.adblock=!!__ctm.config.adblock),l&&(S.mmapi1=l),s)&&((I=document.cookie.match(/fbsr_(\d+)=/))&&1<I.length&&(S.fb=I[1]));try{S.t=document.title}catch($){}try{window.KM&&"function"==typeof window.KM.i&&(S.kmi=KM.i())}catch($){}try{if(window.piAId){var I,R=window.piAId-1e3,A=new RegExp("visitor_id"+R+"=(\\d+)");2==(I=document.cookie.match(A)).length&&(S.pard=I[1])}}catch($){}try{if(!i)if(__ctm.log("check for optimizely in",window.optimizely),window.optimizely&&"function"==typeof window.optimizely.get){var x=optimizely.get("data"),j=window.optimizely.get("state"),M={},N=j.getCampaignStates({isActive:!0});for(var R in M.cps=[],N){var C=N[R];try{M.cps.push([R,C.campaignName,C.experiment.id,C.experiment.name,C.variation.id,C.variation.name])}catch($){console.log($)}}M.aid=x.accountId,M.pid=x.projectId,M.uid=window.optimizely.get("visitor_id").randomId,M.v2=!0,S.opt=__ctm.JSON.stringify(M),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 L=(x=window.optimizely.data).variations,O=x.experiments;if(__ctm.log("optimizely found",x),L)for(var U in L)L[U]&&L[U].code&&(L[U].code="",delete L[U].code);if(__ctm.log("optimizely pruned 1"),O)for(var U in O)L[U]&&(O[U].code="",delete O[U].code);x.aid=window.optimizely.getAccountId(),x.pid=window.optimizely.getProjectId(),x.uid=X.get("optimizelyEndUserId",!0),x.map=decodeURIComponent(X.get("optimizelyBuckets",!0)),x.seg=decodeURIComponent(X.get("optimizelySegments",!0)),S.opt=__ctm.JSON.stringify(x),window.optimizely.push({type:"integration",OAuthClientId:"5374922488"})}}catch($){__ctm.log($)}try{i||(__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("undefined"!=typeof _vwo_exp[e].comb_n[n]&&-1<["VISUAL_AB","VISUAL","SPLIT_URL","SURVEY"].indexOf(_vwo_exp[e].type)&&"RUNNING"===_vwo_exp[e].status){var i={};if(i.aid=_vwo_acc_id,i.uuid=X.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 a in r)try{i.goals.push([a,r[a].type,r[a].pUrl])}catch($){console.log($)}__ctm.log("vwo found",i),S.vwo=__ctm.JSON.stringify(i)}}}]),null!=S.vwo&&S.vwo!={}||VWO.push(["onEventReceive","rC",function(t){t[0];var e=t[1],n=(t[2],_vwo_exp[e].name),o=X.get("_vis_opt_exp_"+e+"_combi",!0),c=_vwo_exp[e].comb_n[o];if("undefined"!=typeof _vwo_exp[e].comb_n[o]&&-1<["VISUAL_AB","VISUAL","SPLIT_URL","SURVEY"].indexOf(_vwo_exp[e].type)&&"RUNNING"===_vwo_exp[e].status){var i={};if(i.aid=_vwo_acc_id,i.uuid=X.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 a in r)try{i.goals.push([a,r[a].type,r[a].pUrl])}catch($){console.log($)}__ctm.log("vwo found by goal event",i),S.vwo=__ctm.JSON.stringify(i)}}}])))}catch($){__ctm.log($)}try{if(__ctm.log("check for abtasty"),window.ABTasty){var H=ABTasty.getTestsOnPage();N=ABTasty.getCampaignHistory();(x={}).visitor=ABTasty.visitor.id,x.cid=ABTasty.accountData.accountSettings.identifier,x.campaigns=Object.keys(N).map(function(t){var e=H[t];return{id:t,name:e?e.name:"",vid:e?e.variationID:N[t],vname:e?e.variationName:""}}),S.abt=__ctm.JSON.stringify(x),__ctm.log("ABTasty found",x)}}catch($){console.log($)}try{if(__ctm.log("check for symplify",x),window.sitegainer){x=window.sitegainer.getCTMData();S.sym=__ctm.JSON.stringify(x),__ctm.log("symplify found",x)}}catch($){console.log($)}try{__ctm.log("check custom variables",window.__ctm_cvars),window.__ctm_cvars&&(S.cvars="string"==typeof __ctm_cvars?__ctm_cvars:JSON.stringify(__ctm_cvars))}catch($){__ctm.log("custom variable error: ",$)}__ctm.forEach(["pageview","visible","click","form","custom"],function(t){try{e(t,S)}catch($){__ctm.log($)}})}function t(t,e,n){__ctm.config.aid,__ctm.config.sid;var o=0;if(e){if(e=_(e),t){var c=l({current_number:t=_(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,r()},800)))}}function a(t,e,n){__ctm.config.aid,__ctm.config.sid;var o=0;if(e){if(e=_(e.replace(/\D/g,"")),t){var c=l({current_number:t=_(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,r()},800))}else console.warn("skip event number missing")}function _(t){return t.replace(/\D/g,"")}function e(t,e,n){"1"!=t.getAttribute("data-ctm-tracked")&&(o(t,"click",function(){__ctm_nodes_clicked[t]||(__ctm_nodes_clicked[t]=!0,a(e,n,"click"))}),o(t,"visible",function(){a(e,n,"visible")}))}function l(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 m=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]);r(!0)}),window.ptTrackVistor=t,window.ptTrackVisitor=t,window.ptTrackEvent=a,{popQueue:r,trackVisitor:ptTrackVisitor,trackEvent:a,attachEvents:e,lookupRuleForEvent:l}}();__ctm.tracker=O;var o=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)),typeof n==undefined||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=c[n];else o=c[n];o.apply(o,t)}function n(o,c,i,r,a){function t(e,n){e.addEventListener(n,function(t){_&&(t.preventDefault(),t.stopPropagation(),u(o,c,i,r,a,function(){_=!1,e&&"function"==typeof e[n]&&e[n](),setTimeout(function(){_=!0},300)}))})}var _=!0;t(i,"submit");for(var e=i.getElementsByTagName("input"),n=i.getElementsByTagName("button"),l=0,m=e.length;l<m;++l)"submit"==e[l].type&&t(e[l],"click");for(l=0,m=n.length;l<m;++l)t(n[l],"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($){console.error($)}i.setRequestHeader("Content-type","application/x-www-form-urlencoded"),i.onreadystatechange=function(){4==i.readyState&&"function"==typeof complete&&complete()},i.send(a)}function u(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&&0<c.name.length)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($){console.error($)}}),u.setRequestHeader("Content-type","application/x-www-form-urlencoded"),u.onreadystatechange=function(){4==u.readyState&&"function"==typeof i&&i()},u.send(s)}var c={conversion:t,capture:n};if(
window.__ctmi&&window.__ctmi.length)for(;0<window.__ctmi.length;)e(window.__ctmi.shift());return window.__ctmi={push:e},{conversion:t,capture:n,post:u,track:o}}();__ctm.form=o;var d=function(){"use strict";function N(t){return window.CTMSourceEvent&&"function"==typeof window.CTMSourceEvent?(O.lookupRuleForEvent(t),window.CTMSourceEvent(t)):undefined}function S(e,n){if(void 0===e&&(e=document.body),e){try{var t=_(e),o=t[0],c=t[1];if(n||(l=o,m=c),!c.length)try{__ctm.log("lookup pools none found",__ctm.config.filtered_rules,"<<<",o,t);var i=__ctm.config.filtered_rules[0][3];for(var r in c=[],i)c.push(i[r]+"."+r)}catch($){__ctm.log($)}a(o,c,!0,e,n),__ctm.sweeps++}catch($){__ctm.log("runNow, error:",$),setTimeout(function(){var t=_();__ctm.log("scan:",t),o=t[0],c=t[1],n||(l=o,m=c),a(o,c,!0,e,n),__ctm.sweeps++},500)}return m}console.warn("__ctm.main.runNow(changedElement) called on null element; skipping")}function I(){var t=window[__ctm.config.gavar];if(t&&"function"==typeof t.getAll)try{__ctm.config.gadim&&0<__ctm.config.gadim.length&&t("set",__ctm.config.gadim,__ctm.config.tracking_source)}catch($){__ctm.log($)}else setTimeout(I,80)}function t(h,y,b,k,t){function e(){if(!T){if(!window.__ctm)return c&&(clearTimeout(c),c=null),void(c=setTimeout(e,1e3));T=!0,c=null,__ctm.main.runNow()}}var E="1"==__ctm.config.xdomcookie;if(E){var n=X.get("_cl_"+__ctm.config.cookie_dur,!0),o=X.get("_cr_"+__ctm.config.cookie_dur,!0);n||o?(h=__ctm.config.windowLocation=n,y=__ctm.config.documentReferrer=o):(X.set("_cl_"+__ctm.config.cookie_dur,h,__ctm.config.cookie_dur,!0),X.set("_cr_"+__ctm.config.cookie_dur,y,__ctm.config.cookie_dur,!0),__ctm.config.windowLocation=h,__ctm.config.documentReferrer=y)}else __ctm.config.windowLocation=h,__ctm.config.documentReferrer=y;t?__ctm.config.sid=t:t=X.sid();var T=!1,c=null;c=setTimeout(e,800),w.init(function(){if(__ctm.config.gid)var v=["__ctm_"+__ctm.config.aid,"__ctm2_"+__ctm.config.aid,"__ctmf_"+__ctm.config.aid];else v=["__ctm_"+__ctm.config.aid+"_"+__ctm.config.cookie_dur,"__ctm2_"+__ctm.config.aid+"_"+__ctm.config.cookie_dur,"__ctmf_"+__ctm.config.aid+"_"+__ctm.config.cookie_dur];w.mget(v,function(t){__ctm.log("XStore.mget.xstored:",t);for(var e=0,n=t.length;e<n;++e)x.store(v[e],t[e]);if(!E&&!__ctm.rules.checkFirst()){var o=__ctm.rules.firstLoc(),c=__ctm.rules.firstRef();"null"==o&&(o=null),"null"==c&&(c=null),o&&(__ctm.config.windowLocation=o),c&&(__ctm.config.documentReferrer=c)}var i;__ctm.config.filtered_rules=x.filter(h,y,b),__ctm.config.filtered_rules[0]&&(__ctm.config.tracking_source=__ctm.config.filtered_rules[0][2],I()),__ctm.log("XStore.mget.rules:",__ctm.config.filtered_rules);var r=!1;if(__ctm.config.pools)for(var a in __ctm.config.pools)if(a&&"object"==typeof __ctm.config.pools[a]&&__ctm.config.pools[a].length){r=!0;break}if(r&&!__ctm.filter(__ctm.config.filtered_rules,function(t){return t[4]}).length){var _=["","","auto",{},!1,__ctm.config.filtered_rules.length&&__ctm.config.filtered_rules[0][5],__ctm.config.filtered_rules.length&&__ctm.config.filtered_rules[0][6]],l=new Date;l.setMinutes(l.getMinutes()+60*__ctm.config.cookie_dur*24);var m=window.localStorage&&"function"==typeof window.localStorage.setItem;for(i in __ctm.config.pools){var u=i.split(".").shift(),s=i.replace(u+".","");_[3][s]=u;try{m&&!localStorage[i]&&A.set(i,__ctm.config.pools[i])}catch($){console.log($)}}__ctm.config.filtered_rules.unshift(_)}if(0!==__ctm.config.filtered_rules.length){if("function"==typeof window.CTMRulesReady)try{window.CTMRulesReady(__ctm.config.filtered_rules)}catch($){__ctm.log($)}var f=!1,d=!1,g=function(){f?(__ctm.log("timeout run"),setTimeout(function(){S(k)},100)):(d=!0,S(k)),T=!0};if(j.ready(g),window.jQuery&&window.jQuery(g),window.navigator.userAgent&&!window.navigator.userAgent.match(/MSIE/)&&document.body&&!d)f=!0,0===S(k).length&&(__ctm.log("wait early start found nothing"),j.ready(function(){S(k)}),T=!0);var p=0,w=setInterval(function(){p++,"object"!=typeof window.MCA_REWRITE_MANAGER||window.MCA_REWRITE_MANAGER._crushed?10<p&&clearInterval(w):(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 E(t,e){window.Cufon&&!s&&(s=!0,setTimeout(function(){Cufon.refresh()},100));var n={};for(var o in t)n[t[o].join(".")]=o.replace(/\..*$/g,"");u=[[null,null,null,n]],r&&clearTimeout(r),r=setTimeout(function(){c(e)},i)}function c(t){l=[],e(t),i<65535&&(r&&clearTimeout(r),r=setTimeout(function(){c(t)},i),i*=2)}function e(t){var e=L.mark(u,t);__ctm.forEach(e,function(t){for(var e=0,n=l.length;e<n;++e)if(l[e][0]==t[0])return;if(l.push(t),"1"!=t[0].getAttribute("data-ctm-tracked")&&(O.attachEvents(t[0],null,t[1]),t[1])){var o=t[1].split(".");o.shift(),O.trackVisitor(null,o.join(""),null),t[0].setAttribute("data-ctm-tracked","1")}}),__ctm.sweeps++}function T(t,e,n,o){var c=window.MutationObserver||window.WebKitMutationObserver,i=(window.addEventListener,t[0]);if(o||"1"!=i.getAttribute("data-ctm-tracked")){var r=t[2],a=r&&!!r.match(/\.s:/);if(e[r]){var _=__ctm.map(e[r],function(t){return t}),l=__ctm.map(t[1].split("."),function(t){return t}),m=n[_.join(".")],u=!1,s=!1;"A"==i.tagName&&(u=i.getAttribute("href")),"IMG"==i.tagName&&(s=i.getAttribute("alt"));var f=l.join(""),d=_.join("");__ctm.log("newNumber:",_,"newNumberStr:",d),__ctm.log("oldNumber:",l,"oldNumberStr:",f),__ctm.log("swap:"+f+" with "+d,m);var g=N({state:"node:before",current_number:f,new_number:d,node:i,current_number_split:l,new_number_split:_});if(__ctm.use_ret&&g)return;if(__ctm.no_swap)return;if(a){switch(y=_.shift()){case"55":case"1":i.innerHTML=m||_.join("-");break;case"64":case"61":case"32":case"31":case"27":i.innerHTML=m||"0"+_.join(" ");break;case"972":case"92":i.innerHTML=m||"0"+_.join("-");case"46":var p="0"+_.shift()+"-"+_.shift()+_.join(" ");i.innerHTML=m||p;default:i.innerHTML=m||_.join(" ")}O.trackVisitor(f,d,null),O.attachEvents(i,f,d),i.setAttribute("data-ctm-tracked","1")}else{if(f==d)return l.shift(),_.shift(),f=l.join(""),d=_.join(""),O.trackVisitor(f,d,null),O.attachEvents(i,f,d),void i.setAttribute("data-ctm-tracked","1");var w;if("1"==i.getAttribute("data-observe")&&i.dataset&&__ctm.config.observers[i.dataset.observerId])(j=__ctm.config.observers[i.dataset.observerId]).disconnect(),j.takeRecords(),__ctm.config.observers[i.dataset.observerId]=null,i.setAttribute("data-observe","0");u&&(w=m||"+"+_.join(""));try{__ctm.log("swapping: ",i.innerHTML,l,_),(b=L.swap(i.innerHTML,l,_,{format:m}))&&(i.innerHTML=b)}catch($){__ctm.log($.message)}if(u)__ctm.log("doing the href swap:",u,l,_),(v=L.swap(u,l,_,{format:w,href:!0}))&&(u=v).match(/clkn\/tel/)&&(u=u.replace(/\+/,""));if(s)(h=L.swap(s,l,_,{format:m,alt:!0}))&&(s=h);var v,h,y=_.shift();try{(b=L.swap(i.innerHTML,l,_,{cc_hint:y,format:m}))&&(i.innerHTML=b)}catch($){__ctm.log($.message)}if(u)(v=L.swap(u,l,_,{cc_hint:y,format:w}))&&(u=v).match(/clkn\/tel/)&&(u=u.replace(/\+/,""));if(s)(h=L.swap(s,l,_,{cc_hint:y,format:m}))&&(s=h);l.shift();try{var b;(b=L.swap(i.innerHTML,l,_,{cc_hint:y,format:m}))&&(i.innerHTML=b)}catch($){__ctm.log($.message)}if(u)(v=L.swap(u,l,_,{cc_hint:y,format:w}))&&(u=v);if(s)(h=L.swap(s,l,_,{cc_hint:y,format:m}))&&(s=h);f=l.join(""),d=_.join(""),O.trackVisitor(f,d,null),O.attachEvents(i,f,d),i.setAttribute("data-ctm-tracked","1");var k=null;if(k=i.getAttribute("data-ctm-exact"))switch(__ctm.log("exactMatch",k,"element:",i,"country_code:",y),k=new RegExp(k.replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"),"g"),__ctm.log("exactMatch escaped:",k),y){case"1":i.innerHTML.match(/-/)?(i.innerHTML=i.innerHTML.replace(k,m||_.join("-")),u&&(u=u.replace(k,_.join("-"))),s&&(s=s.replace(k,m||_.join("-")))):(i.innerHTML=i.innerHTML.replace(k,m||_.join(".")),u&&(u=u.replace(k,_.join("."))),s&&(s=s.replace(k,m||_.join("."))));break;case"64":case"61":case"32":case"31":case"27":m||(i.innerHTML=i.innerHTML.replace(k,m||"0"+_.join(" ")),u&&(u=u.replace(k,"0"+_.join(" "))),s&&(s=s.replace(k,m||"0"+_.join(" "))));break;case"972":case"92":i.innerHTML=i.innerHTML.replace(k,m||"0"+_.join("-")),u&&(u=u.replace(k,"0"+_.join("-"))),s&&(s=s.replace(k,m||"0"+_.join("-")));break;case"46":p="0"+_.shift()+"-"+_.shift()+_.join(" ");i.innerHTML=i.innerHTML.replace(k,m||p),u&&(u=u.replace(k,p)),s&&(s=s.replace(k,m||p));break;case"55":i.innerHTML=i.innerHTML.replace(k,m||_.join("-")),u&&(u=u.replace(k,_.join("-"))),s&&(s=s.replace(k,m||_.join("-")));break;default:__ctm.log("process exact match replacement",_,m),i.innerHTML=m?i.innerHTML.replace(k,m):i.innerHTML.replace(k,_.join(" ")),u&&(u=u.replace(k,_.join(" "))),s&&(s=s.replace(k,m||_.join(" ")))}u&&i.setAttribute("href",u),s&&i.setAttribute("alt",s);try{if(window.Cufon&&"cufontext"==i.nodeName.toLowerCase()){__ctm.log("cufon detected");var E=i.parentNode.parentNode;if(E){for(var T=E.getElementsByTagName("cufontext"),S=[],I=0,R=T.length;I<R;++I)S.push(T[I].innerHTML);var A=S.join(" "),x=E.style.visibility;E.style.visibility="hidden",E.innerHTML=A,E.style.visibility=x,window.Cufon.replace(E)}}}catch($){console.log($)}}if(N({state:"node:after",current_number:f,new_number:d,node:i,current_number_split:l,new_number_split:_}),"1"!=i.getAttribute("data-observe")&&i.dataset&&(i.setAttribute("data-observe","1"),!i.innerHTML.match(/data-ctm/))){var j,M=i.innerHTML;(j=new c(function(){j.takeRecords();j.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"),n=[];t.forEach(function(t){var e=t.split("-> FE").map(function(t){return t.replace(/\D/g,"")}).filter(function(t){return 0<t.length});e.length&&n.push({from:e[0],to:e[1]})});var e=M.replace(/\D/g,""),o=__ctm.filter(n,function(t){return!!t.from.match(e)});if(o.length)return;console.warn("not allowing foureyes tracking number mis-matched",o,n,i.innerHTML)}i.innerHTML=M,setTimeout(function(){j.observe(i,{childList:!0,subtree:!0,characterData:!0,characterDataOldValue:!0})},300)},100)})).observe(i,{childList:!0,subtree:!0}),"object"!=typeof __ctm.config.observers&&(__ctm.config.observers={}),i.dataset.observerId||(i.dataset.observerId=C++),__ctm.config.observers[i.dataset.observerId]=j}}else __ctm.log("no numbers for marked",r,t,e)}else __ctm.log("skip")}function a(v,h,y,b,k){__ctm.log("applyTracking:",h),n.load(h,function(t){__ctm.log("applyTracking for poolids:",h," received:",t);var n={},o={},e=/^format\.(.*)$/;for(var c in t){var i=c.match(e);i?n[i[1]]=t[c]:o[c]=t[c]}var r=[];for(var a in o){var _=o[a],l=a.split("."),m=l.shift(),u=l.shift(),s=l,f=l.join("");(l=__ctm.map(_,function(t){return t})).shift();var d=l,g=l.join(""),p=[].concat(u,d).join(".");r.push([f,g]),N({state:"before",current_number:f,new_number:g,current_number_split:s,pid:m,cc:u,format:n[p],new_number_split:d})}__ctm.log("all the numbers:",o),__ctm.forEach(v.reverse(),function(t){if(T(t,o,n,y),"body"!=t[0].nodeName&&27<t[0].innerHTML.length){var e=parseInt(t[0].getAttribute("data-ctm-remark"));if(isNaN(e)&&(e=0),3<=e)return;t[0].setAttribute("data-ctm-remark",++e),setTimeout(function(){S(t[0],!0)},0)}}),k||(clearTimeout(R),E(o,b));var w=function(){__ctm.forEach(r,function(t){N({state:"after",current_number:t[0],new_number:t[1]})})};"function"==typeof window.queueMicrotask?window.queueMicrotask(w):setTimeout(w,0)})}function _(t){t||(t=document.body);var e=L.mark(__ctm.config.filtered_rules,t);__ctm.log("rules:",__ctm.config.filtered_rules,"marked:",e);var i=[],r=__ctm.config.filtered_rules.length,a={};return __ctm.log("scan main",r,e,__ctm.config.filtered_rules),__ctm.forEach(e,function(t){for(var e=t[1],n=0;n<r;++n){var o=__ctm.config.filtered_rules[n],c=o[3][e]+"."+e;o[3][e]||(c=null),c?(t.push(c),a[c]||(i.push(c),a[c]=!0)):__ctm.log("no pool available",e)}}),__ctm.log("asked:",a,i),[e,i]}var l=[],m=[],R=null,i=500,r=null,u=[],C=0;__ctm.sweeps=0,__ctm&&"function"!=typeof __ctm.log&&(__ctm.log=function(t){window.console&&"function"==typeof window.console.log&&console.log(t)});var s=!1;return{runNow:S,init:t,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),d.init(window.location.toString(),e,document.cookie.toString(),t)},scan:_,applyTracking:a}}();if(__ctm.main=d,__ctm.config.delayed="true"==__ctm.config.delayed,__ctm.config.delayed||d.start(),window.__ctm_loaded)for(;window.__ctm_loaded.length;){var c=window.__ctm_loaded.pop();"function"==typeof c&&c()}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()}}();}