var COOKIE_EXPIRE=12096e5,REQUEST_TIMEOUT=6e5,gcid_attempts_3eZhlD=0,yclid_attempts_3eZhlD=0,referral_code_3eZhlD="3eZhlD",operator_3eZhlD="",user_data_3eZhlD={referral_log_id:null,experie_time:null,adv_tel_number:null,actualized:0,utm_source:null,full_url:null,google_client_id:null,region:null,referral_code:referral_code_3eZhlD,yandex_client_id:null,operator:operator_3eZhlD};function checkGAClientID_3eZhlD(){var e=getGAClientID_3eZhlD();return gcid_attempts_3eZhlD++,!e&&gcid_attempts_3eZhlD<60?(setTimeout(checkGAClientID_3eZhlD,200),!1):!!e&&void(user_data_3eZhlD.referral_log_id&&getAdvNum_3eZhlD())}function yidTimer_3eZhlD(){var e=getYclid_3eZhlD();if(yclid_attempts_3eZhlD++,!e&&yclid_attempts_3eZhlD<60)return setTimeout(yidTimer_3eZhlD,200),!1;e&&getAdvNum_3eZhlD()}function advNumReady_3eZhlD(e){"REFERRAL_LOG_ID"in e&&"ADVERTISEMENT_TEL_NUMBER"in e&&(user_data_3eZhlD.referral_log_id=e.REFERRAL_LOG_ID,user_data_3eZhlD.adv_tel_number=e.ADVERTISEMENT_TEL_NUMBER,user_data_3eZhlD.actualized=(new Date).getTime(),saveData_3eZhlD(user_data_3eZhlD)),!user_data_3eZhlD.google_client_id&&user_data_3eZhlD.referral_log_id&&checkGAClientID_3eZhlD(),user_data_3eZhlD.yandex_client_id||yidTimer_3eZhlD()}function getAdvNum_3eZhlD(){user_data_3eZhlD.google_client_id||(user_data_3eZhlD.google_client_id=getGAClientID_3eZhlD()),user_data_3eZhlD.yandex_client_id||(user_data_3eZhlD.yandex_client_id=getYclid_3eZhlD());var e="https://api.alloincognito.ru/call-tracking/get-adv-num2";e+="?referral_log_id="+encodeURIComponent(user_data_3eZhlD.referral_log_id)+"&utm="+encodeURIComponent(user_data_3eZhlD.utm)+"&full_url="+encodeURIComponent(user_data_3eZhlD.full_url)+"&google_client_id="+encodeURIComponent(user_data_3eZhlD.google_client_id)+"&referral_code="+encodeURIComponent(user_data_3eZhlD.referral_code)+"&yandex_client_id="+encodeURIComponent(user_data_3eZhlD.yandex_client_id),user_data_3eZhlD.region&&(e+="®ion="+encodeURIComponent(user_data_3eZhlD.region)),operator_3eZhlD&&(e+="&operator="+encodeURIComponent(operator_3eZhlD));var t=document.createElement("script");t.setAttribute("src",e),t.onload=t.onerror=setAdvNum_3eZhlD,document.getElementsByTagName("head")[0].appendChild(t)}function setAdvNum_3eZhlD(){var e=document.getElementsByClassName("js-adv-ctcode-"+referral_code_3eZhlD);if(e.length||(e=document.getElementsByClassName("js-adv-num")),user_data_3eZhlD.adv_tel_number&&user_data_3eZhlD.adv_tel_number.length)for(var t=0;t=0;d--)/\d/.test(r[d])&&n=REQUEST_TIMEOUT?getAdvNum_3eZhlD():setAdvNum_3eZhlD()}));