var smFp=function(t){function S(a,c,b,h){function e(k){return k instanceof b?k:new b(function(n){n(k)})}return new (b||=Promise)(function(k,n){function g(w){try{m(h.next(w))}catch(x){n(x)}}function p(w){try{m(h["throw"](w))}catch(x){n(x)}}function m(w){w.done?k(w.value):e(w.value).then(g,p)}m((h=h.apply(a,c||[])).next())})}function T(a,c){function b(m){return function(w){return h([m,w])}}function h(m){if(k)throw new TypeError("Generator is already executing.");for(;e;)try{if(k=1,n&&(g=m[0]&2?n["return"]: m[0]?n["throw"]||((g=n["return"])&&g.call(n),0):n.next)&&!(g=g.call(n,m[1])).done)return g;if(n=0,g)m=[m[0]&2,g.value];switch(m[0]){case 0:case 1:g=m;break;case 4:return e.label++,{value:m[1],done:!1};case 5:e.label++;n=m[1];m=[0];continue;case 7:m=e.ops.pop();e.trys.pop();continue;default:if(!(g=e.trys,g=0g[0]&&m[1]=h+b))return[3,3];h=k;return[4,U(0)];case 2:n.sent(),n.label=3;case 3:return++e,[3,1];case 4:return[2]}})})}function ea(a,c){a=[a[0]>>>16,a[0]&65535,a[1]>>>16,a[1]&65535];c=[c[0]>>>16,c[0]&65535,c[1]>>>16,c[1]&65535];var b=[0,0,0,0];b[3]+=a[3]+c[3];b[2]+=b[3]>>>16;b[3]&=65535;b[2]+=a[2]+c[2];b[1]+=b[2]>>> 16;b[2]&=65535;b[1]+=a[1]+c[1];b[0]+=b[1]>>>16;b[1]&=65535;b[0]+=a[0]+c[0];b[0]&=65535;return[b[0]<<16|b[1],b[2]<<16|b[3]]}function N(a,c){a=[a[0]>>>16,a[0]&65535,a[1]>>>16,a[1]&65535];c=[c[0]>>>16,c[0]&65535,c[1]>>>16,c[1]&65535];var b=[0,0,0,0];b[3]+=a[3]*c[3];b[2]+=b[3]>>>16;b[3]&=65535;b[2]+=a[2]*c[3];b[1]+=b[2]>>>16;b[2]&=65535;b[2]+=a[3]*c[2];b[1]+=b[2]>>>16;b[2]&=65535;b[1]+=a[1]*c[3];b[0]+=b[1]>>>16;b[1]&=65535;b[1]+=a[2]*c[2];b[0]+=b[1]>>>16;b[1]&=65535;b[1]+=a[3]*c[1];b[0]+=b[1]>>>16;b[1]&= 65535;b[0]+=a[0]*c[3]+a[1]*c[2]+a[2]*c[1]+a[3]*c[0];b[0]&=65535;return[b[0]<<16|b[1],b[2]<<16|b[3]]}function ja(a,c){c%=64;if(32===c)return[a[1],a[0]];if(32>c)return[a[0]<>>32-c,a[1]<>>32-c];c-=32;return[a[1]<>>32-c,a[0]<>>32-c]}function H(a,c){c%=64;return 0===c?a:32>c?[a[0]<>>32-c,a[1]<>>1]);a=N(a,[4283543511,3981806797]);a=C(a,[0,a[0]>>>1]);a=N(a,[3301882366,444984403]); return a=C(a,[0,a[0]>>>1])}function P(a,c){a=a||"";c=c||0;var b=a.length%16,h=a.length-b,e=[0,c];c=[0,c];var k=[2277735313,289559509],n=[1291169091,658871167],g;for(g=0;g>>0).toString(16)).slice(-8)+("00000000"+(e[1]>>>0).toString(16)).slice(-8)+("00000000"+(c[0]>>>0).toString(16)).slice(-8)+("00000000"+(c[1]>>>0).toString(16)).slice(-8)}function v(a,c){return"number"===typeof a&&isNaN(a)?c:a}function V(a){return a.reduce(function(c,b){return c+(b?1:0)},0)}function Ba(a,c){void 0===c&&(c=1);if(1<=Math.abs(c))return Math.round(a/c)*c;c= 1/c;return Math.round(a*c)/c}function Ga(a){var c,b,h="Unexpected syntax '"+a+"'";a=/^\s*([a-z-]*)(.*)$/i.exec(a);for(var e=a[1]||void 0,k={},n=/([.:#][\w-]+|\[.+?\])/gi,g=function(m,w){k[m]=k[m]||[];k[m].push(w)};;){var p=n.exec(a[2]);if(!p)break;p=p[0];switch(p[0]){case ".":g("class",p.slice(1));break;case "#":g("id",p.slice(1));break;case "[":if(p=/^\[([\w-]+)([~|^$*]?=("(.*?)"|([\w-]+)))?(\s+[is])?\]$/.exec(p))g(p[1],null!==(b=null!==(c=p[4])&&void 0!==c?c:p[5])&&void 0!==b?b:"");else throw Error(h); break;default:throw Error(h);}}return[e,k]}function ua(a){return a&&"object"===typeof a&&"message"in a?a:{message:a}}function Ha(a,c){var b=new Promise(function(h){var e=Date.now();ma(a.bind(null,c),function(){for(var k=[],n=0;nc;++c)if(a[c])return!1;return!0}function J(){return v(parseInt(navigator.hardwareConcurrency), void 0)}function da(){var a,c=null===(a=window.Intl)||void 0===a?void 0:a.DateTimeFormat;if(c&&(a=(new c).resolvedOptions().timeZone))return a;a=(new Date).getFullYear();a=-Math.max(parseFloat((new Date(a,0,1)).getTimezoneOffset()),parseFloat((new Date(a,6,1)).getTimezoneOffset()));return"UTC"+(0<=a?"+":"")+Math.abs(a)}function y(){try{return!!window.sessionStorage}catch(a){return!0}}function z(){try{return!!window.localStorage}catch(a){return!0}}function X(){try{return navigator.bluetooth.getAvailability()}catch(a){return"error"}} function L(){var a=!1;try{a=navigator.javaEnabled()}catch(c){a="error",console.error("smFp: \u041e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u0438 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0438 bluetoothEnabled"),console.error(c)}return a}function G(){try{return navigator.doNotTrack?navigator.doNotTrack:navigator.msDoNotTrack?navigator.msDoNotTrack:window.doNotTrack?window.doNotTrack:!1}catch(a){return"error"}}function ya(){try{return window.statusbar.visible}catch(a){return"error"}} function ra(){try{return window.toolbar.visible}catch(a){return"error"}}function Oa(){try{return window.devicePixelRatio}catch(a){return 0}}function Pa(){try{return navigator.language||navigator.userLanguage||navigator.browserLanguage||navigator.systemLanguage||"none"}catch(a){return"error"}}function Qa(){try{return navigator.webdriver}catch(a){return"error"}}function Ra(){var a=navigator.userAgent,c=navigator.appVersion,b="-",h=[{s:"Windows 10",r:/(Windows 10.0|Windows NT 10.0)/},{s:"Windows 8.1", r:/(Windows 8.1|Windows NT 6.3)/},{s:"Windows 8",r:/(Windows 8|Windows NT 6.2)/},{s:"Windows 7",r:/(Windows 7|Windows NT 6.1)/},{s:"Windows Vista",r:/Windows NT 6.0/},{s:"Windows Server 2003",r:/Windows NT 5.2/},{s:"Windows XP",r:/(Windows NT 5.1|Windows XP)/},{s:"Windows 2000",r:/(Windows NT 5.0|Windows 2000)/},{s:"Windows ME",r:/(Win 9x 4.90|Windows ME)/},{s:"Windows 98",r:/(Windows 98|Win98)/},{s:"Windows 95",r:/(Windows 95|Win95|Windows_95)/},{s:"Windows NT 4.0",r:/(Windows NT 4.0|WinNT4.0|WinNT|Windows NT)/}, {s:"Windows CE",r:/Windows CE/},{s:"Windows 3.11",r:/Win16/},{s:"Android",r:/Android/},{s:"Open BSD",r:/OpenBSD/},{s:"Sun OS",r:/SunOS/},{s:"Chrome OS",r:/CrOS/},{s:"Linux",r:/(Linux|X11(?!.*CrOS))/},{s:"iOS",r:/(iPhone|iPad|iPod)/},{s:"Mac OS X",r:/Mac OS X/},{s:"Mac OS",r:/(Mac OS|MacPPC|MacIntel|Mac_PowerPC|Macintosh)/},{s:"QNX",r:/QNX/},{s:"UNIX",r:/UNIX/},{s:"BeOS",r:/BeOS/},{s:"OS/2",r:/OS\/2/},{s:"Search Bot",r:/(nuhk|Googlebot|Yammybot|Openbot|Slurp|MSNBot|Ask Jeeves\/Teoma|ia_archiver)/}], e;for(e in h){var k=h[e];if(k.r.test(a)){b=k.s;break}}h="-";/Windows/.test(b)&&(h=/Windows (.*)/.exec(b)[1],b="Windows");switch(b){case "Mac OS":case "Mac OS X":case "Android":h=/(?:Android|Mac OS|Mac OS X|MacPPC|MacIntel|Mac_PowerPC|Macintosh) ([\._\d]+)/.exec(a)[1];break;case "iOS":h=/OS (\d+)_(\d+)_?(\d+)?/.exec(c),h=h[1]+"."+h[2]+"."+(h[3]|0)}return h}function Sa(){var a=navigator.userAgent,c=navigator.appName,b=""+parseFloat(navigator.appVersion),h,e,k;-1!=(e=a.indexOf("Opera"))&&(c="Opera", b=a.substring(e+6),-1!=(e=a.indexOf("Version"))&&(b=a.substring(e+8)));-1!=(e=a.indexOf("OPR"))?(c="Opera",b=a.substring(e+4)):-1!=(e=a.indexOf("Edge"))?(c="Microsoft Legacy Edge",b=a.substring(e+5)):-1!=(e=a.indexOf("Edg"))?(c="Microsoft Edge",b=a.substring(e+4)):-1!=(e=a.indexOf("MSIE"))?(c="Microsoft Internet Explorer",b=a.substring(e+5)):-1!=(e=a.indexOf("Chrome"))?(c="Chrome",b=a.substring(e+7)):-1!=(e=a.indexOf("Safari"))?(c="Safari",b=a.substring(e+7),-1!=(e=a.indexOf("Version"))&&(b=a.substring(e+ 8))):-1!=(e=a.indexOf("Firefox"))?(c="Firefox",b=a.substring(e+8)):-1!=a.indexOf("Trident/")?(c="Microsoft Internet Explorer",b=a.substring(a.indexOf("rv:")+3)):(h=a.lastIndexOf(" ")+1)<(e=a.lastIndexOf("/"))&&(c=a.substring(h,e),b=a.substring(e+1),c.toLowerCase()==c.toUpperCase()&&(c=navigator.appName));-1!=(k=b.indexOf(";"))&&(b=b.substring(0,k));-1!=(k=b.indexOf(" "))&&(b=b.substring(0,k));-1!=(k=b.indexOf(")"))&&(b=b.substring(0,k));a=parseInt(""+b,10);isNaN(a)&&(parseFloat(navigator.appVersion), a=parseInt(navigator.appVersion,10));return c+" "+a}function Ta(){if(!va()&&!Da())try{return!!window.indexedDB}catch(a){return!0}}function Ua(){return!!window.openDatabase}function Va(){return navigator.cpuClass}function Wa(){var a=navigator.platform;return"MacIntel"===a&&ka()&&!ca()?("iPad"===navigator.platform?a=!0:(a=screen,a=a.width/a.height,a=2<=V(["MediaSource"in window,!!Element.prototype.webkitRequestFullscreen,.65a])),a?"iPad":"iPhone"):a}function Xa(){return navigator.vendor||""} function Ya(){for(var a=[],c=0,b="chrome safari __crWeb __gCrWeb yandex __yb __ybro __firefox__ __edgeTrackingPreventionStatistics webkit oprt samsungAr ucweb UCShellJava puffinDevice".split(" ");c.6*p.length}),k.sort(),[2,k]}})})}function pb(a){var c;return S(this,void 0,void 0,function(){var b,h,e,k,n,g,p;return T(this, function(m){switch(m.label){case 0:b=document;h=b.createElement("div");e=Array(a.length);k={};ab(h);for(n=0;n=a;++a)if(window.matchMedia("(max-monochrome: "+a+")").matches)return a;throw Error("Too high value");}}function gb(){if(sa("no-preference"))return 0;if(sa("high")||sa("more"))return 1;if(sa("low")||sa("less"))return-1;if(sa("forced"))return 10}function sa(a){return window.matchMedia("(prefers-contrast: "+a+")").matches}function hb(){if(ib("reduce"))return!0;if(ib("no-preference"))return!1}function ib(a){return window.matchMedia("(prefers-reduced-motion: "+ a+")").matches}function jb(){if(window.matchMedia("(dynamic-range: high)").matches)return!0;if(window.matchMedia("(dynamic-range: standard)").matches)return!1}function kb(){var a=B.acosh||O,c=B.asin||O,b=B.asinh||O,h=B.atanh||O,e=B.atan||O,k=B.sin||O,n=B.sinh||O,g=B.cos||O,p=B.cosh||O,m=B.tan||O,w=B.tanh||O,x=B.exp||O,D=B.expm1||O,K=B.log1p||O;return{acos:(B.acos||O)(.12312423423423424),acosh:a(1E308),acoshPf:B.log(1E154+B.sqrt(1E154*1E154-1)),asin:c(.12312423423423424),asinh:b(1),asinhPf:B.log(1+ B.sqrt(2)),atanh:h(.5),atanhPf:B.log(3)/2,atan:e(.5),sin:k(-1E300),sinh:n(1),sinhPf:B.exp(1)-1/B.exp(1)/2,cos:g(10.000000000123),cosh:p(1),coshPf:(B.exp(1)+1/B.exp(1))/2,tan:m(-1E300),tanh:w(1),tanhPf:(B.exp(2)-1)/(B.exp(2)+1),exp:x(1),expm1:D(1),expm1Pf:B.exp(1)-1,log1p:K(10),log1pPf:B.log(11),powPI:B.pow(B.PI,-100)}}function lb(){return rb(function(a,c){for(var b={},h={},e=0,k=Object.keys(Ja);e')}function sb(a){F()?a=.4:ka()?a=ca()?.5:.3:(a=a.platform.value||"",a=/^Win/.test(a)?.6:/^Mac/.test(a)?.5:.7);var c=Ba(.99+.01*a,1E-4);return{score:a,comment:"$ if you have some questions - get@smartis.bi".replace(/\$/g,""+c)}} function Ka(a){return JSON.stringify(a,function(c,b){if(b instanceof Error){var h;return La({name:b.name,message:b.message,stack:null===(h=b.stack)||void 0===h?void 0:h.split("\n")},b)}return b},2)}function Ma(a){for(var c="",b=0,h=Object.keys(a).sort();b!1);var La=function(){La=Object.assign||function(a){for(var c,b=1,h=arguments.length;bu||q())},Promise.resolve(null)).then(function(l){return l||t(function(){return S(f,d)},d)})}function T(){F.activityListenerRegistered?v("\u0441\u043b\u0443\u0448\u0430\u0442\u0435\u043b\u0438 \u0441\u043e\u0431\u044b\u0442\u0438\u0439 \u0443\u0436\u0435 \u0431\u044b\u043b\u0438 \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u044b \u0440\u0430\u043d\u0435\u0435"): (F.activityListenerRegistered=!0,document.addEventListener("click",function(){Y(300)},!1),document.addEventListener("focusout",function(){Y(50)},!1),document.addEventListener("focusin",function(){Y(200)},!1),document.addEventListener("scroll",function(){Y(5)},{passive:!0}),document.addEventListener("change",function(){Y(100)},!1),document.addEventListener("select",function(){Y(200)},!1),document.addEventListener("submit",function(){Y(500)},!1),document.addEventListener("keydown",function(){Y(100)}, !1),document.addEventListener("mousemove",function(){Y(1)},!1),v("\u0441\u043b\u0443\u0448\u0430\u0442\u0435\u043b\u0438 \u0441\u043e\u0431\u044b\u0442\u0438\u0439 \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u044b"))}function Y(f){0ia.sendPulse(parseInt(E("sma_session_id")||0,10),fa.getClientId(),ha.getClientId()));I||ha.getClientIdPromise().then(()=>ia.sendPulse(parseInt(E("sma_session_id")||0,10),fa.getClientId(),ha.getClientId()));H();T();ta();N();try{var da=(new Date).getTime();smFp.load().then(y=>y.get()).then(y=>{M=y.visitorId;y=(new Date).getTime()-da;console.log("Smartis fingerprint ID: "+M+"; \u0412\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u043e \u0437\u0430 "+ y+" \u043c\u0441");var z=E("smFpId_old_values");z?(z=JSON.parse(z),-1==z.indexOf(M)&&(10>z.length?z.push(M):v("smFpId_old_values \u0443\u0436\u0435 \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u0431\u043e\u043b\u044c\u0448\u043e\u0439, \u0441\u0432\u0435\u0436\u0438\u0445 \u043d\u0435 \u043d\u0430\u043a\u0430\u043f\u043b\u0438\u0432\u0430\u0435\u043c","error"))):z=[M];P("smFpId_old_values",JSON.stringify(z),{expires:15768E4,path:"/"});ma(JSON.stringify({smFpId:M,smFpId_old_values:z,smFpTime:y}))}).catch(console.error)}catch(y){v("\u041d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u044c smFpId, e: "+ y,"error"),ma({})}ea();window.sessionStorage.setItem("SCBreferrer",document.referrer);window.sessionStorage.setItem("SCBfpage",window.location.href);P("SCBfrom",document.referrer,{expires:60*aa,path:"/"});pa=!0;v("\u0421\u043e\u0437\u0434\u0430\u043b\u0438 \u043d\u043e\u0432\u0443\u044e \u0441\u0435\u0441\u0441\u0438\u044e (reason = "+f+") \u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u043b\u0438 \u0432\u0441\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u043f\u043e\u0441\u043b\u0435 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f.")}else v("\u041d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0441\u0435\u0441\u0441\u0438\u044e, response: "+ J,"error");F.newSessionInProcess=!1},!0)}}function ma(f){f=f||"";ia.getIntegrationsSettings(smAnalytics.getSessionId(),f).then(function(d){if(void 0!==d.integrations&&(v("SMA: Have integrations"),void 0!==d.integrations.jivosite&&1===parseInt(d.integrations.jivosite,10))){v("SMA: Jivosite parameter - ok");var l=setInterval(function(){if(void 0!==window.jivo_api)try{clearInterval(l),window.jivo_api.setUserToken("smartis:"+parseInt(E("sma_session_id")||0,10)),v("SMA: JivoSite send session")}catch(q){v("SMA: JivoSite "+ q.message,"error")}else v("SMA: Jivosite undefined","error")},500)}},!0)}function ta(){var f="",d="";0l.json())}createSession(f,d,l,q){return this.post("sma_new_session",{p_id:f,userAgent:window.navigator.userAgent, screenWidth:Math.max(window.screen.width,window.screen.height),screenHeight:Math.min(window.screen.width,window.screen.height),referrer:window.document.referrer,firstPage:window.location.href,timezone:-((new Date).getTimezoneOffset()/60),orientation:window.orientation||0,colorDepth:window.screen.colorDepth||window.screen.pixelDepth,city:d.city||"",region:d.region||"",country:d.country||"",gclid:l.gclid||"",yclid:l.yclid||"",smaSessionStorage:JSON.stringify({coMagicSessionId:l.coMagicSessionId||0, callTouchSessionId:l.callTouchSessionId||0,gr_sid:l.gr_sid||"",smid:l.smid||""}),sessionReason:q})}addPage(f,d,l,q,u,r,I){return this.post("sma_new_page",{sessionId:f,pageUrl:d,pageTitle:l,pageH1:q,indexActivity:u,gclid:r,yclid:I})}sendPulse(f,d,l){return this.post("sma_session_pulse",{sessionId:f,gclid:d,yclid:l})}getIntegrationsSettings(f,d){return this.post("sma_ex_settings",{session_id:f,additional_session_params:d})}}class va{constructor(f){this.window=f;this.promise=S([()=>this.getFromTracker(), ()=>this.getFromCookie()],300).then(d=>this.clientId=d);this.clientId=void 0}getFromTracker(){return new Promise(f=>{let d=null;if("function"===typeof this.window.ga)try{d=this.window.ga(l=>l.get("clientId"))}catch(l){}f(d)})}getFromCookie(){var f=this.window.document.cookie.match("(?:^|;)\\s*_ga=([^;]*)");return(f=(f=f?decodeURIComponent(f[1]):null)?f.match(/(\d+\.\d+)$/):null)?f[1]:null}getClientId(){return this.clientId||""}getClientIdPromise(){return this.promise}}class Da{searchYandexMetrikaCountersIds(f){return this.searchInPageScriptsText(f).filter(function(d, l,q){return l===q.indexOf(d)})}searchInPageScriptsText(f){const d=[];f.querySelectorAll("script").forEach(function(l){l=l.innerText.match(/ym\((\d+)/);Array.isArray(l)&&"string"===typeof l[1]&&d.push(l[1])});return d}}class oa{constructor(f,d){this.window=f;this.counterSearcher=d;this.promise=S([()=>this.getFromTracker(),()=>this.getFromOldTracker(),()=>this.getFromCookie()],300).then(l=>this.clientId=l);this.clientId=void 0}*getOldTrackers(){for(let f in this.window)ka.test(f)&&this.window[f]&&"getClientID"in this.window[f]&&"function"===typeof this.window[f].getClientID&&(yield this.window[f])}getFromOldTracker(){let f=null;for(const d of this.getOldTrackers())try{if(f=d.getClientID())break}catch(l){}return f}getFromNewTracker(f){const d=this.window.ym||null;return"function"!==typeof d?Promise.resolve(null):new Promise(function(l){let q=!1;d(f,"getClientID",function(u){l(String(u));q=!0});setTimeout(function(){q||l(null)},1E3)})}getFromTracker(){return"function"!==typeof(this.window.ym||null)?Promise.resolve(null): Promise.all(this.counterSearcher.searchYandexMetrikaCountersIds(this.window.document).map(f=>this.getFromNewTracker(f))).then(f=>f.filter(d=>!!d)[0]||null)}getFromCookie(){const f=this.window.document.cookie.match("(?:^|;)\\s*_ym_uid=([^;]*)");return f?decodeURIComponent(f[1]):null}getClientId(){return this.clientId||""}getClientIdPromise(){return this.promise}}const ka=/^yaCounter\d+/;var ca=parseInt("2103434794",10)||0,la=0,M="",aa=parseInt("30",10)||30,F={activityListenerRegistered:!1, localStorageEnabled:!1,sessionStorageEnabled:!1,mapsScriptLoaded:!1,debugMode:!1,newSessionInProcess:!1,activityPulseRunning:!1,sessionPulseRunning:!1},A={},R={},ba={url:"https://my.smartis.bi"},wa=window!==window.top,pa=!1,Ea=new Ha("9JWLg5T943Tx0xVJzwfW",new ua),ia=new Ca("9JWLg5T943Tx0xVJzwfW",new ua),fa=new va(window),ha=new oa(window,new Da),xa=new function(){function f(){ba.get("/sma/micro-conversions",{did:"7892"},function(y){y=JSON.parse(y);y.data.forEach(function(z){void 0===J[z.event_action]&& (J[z.event_action]=[]);J[z.event_action].push(z)});"loading"!==document.readyState?d():document.addEventListener("DOMContentLoaded",d)},!0)}function d(){l(J.click||[]);q(J["scroll-page"]||[]);u(J["visit-page"]||[]);da=!0}function l(y){0q.get()).then(q=>{M=q.visitorId;console.log("Smartis fingerprint ID: "+M+"; \u0412\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u043e \u0437\u0430 "+((new Date).getTime()-l)+" \u043c\u0441");(q=E("smFpId_old_values"))?(q=JSON.parse(q),-1==q.indexOf(M)&&(10>q.length?q.push(M):v("smFpId_old_values \u0443\u0436\u0435 \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u0431\u043e\u043b\u044c\u0448\u043e\u0439, \u0441\u0432\u0435\u0436\u0438\u0445 \u043d\u0435 \u043d\u0430\u043a\u0430\u043f\u043b\u0438\u0432\u0430\u0435\u043c", "error"))):q=[M];P("smFpId_old_values",JSON.stringify(q),{expires:31536E4,path:"/"});f(M)})}catch(q){d(q)}else f(M)})};this.getSessionReady=function(){return pa};this.getSessionId=function(){return parseInt(E("sma_session_id")||0,10)};this.getDomainId=function(){return parseInt("7892",10)||0};this.loadPostViews=function(f){"function"!==typeof window.jSCB?setTimeout(this.loadPostViews.bind(this,f),200):1==E("sma_postview_ready")?console.info("Smartis: postview \u043c\u0430\u0442\u0447\u0438\u043d\u0433 \u0443\u0436\u0435 \u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d."): (console.info("Smartis: \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u043c postview \u043c\u0430\u0442\u0447\u0438\u043d\u0433."),f=[].concat(f).filter(function(d){return d&&d.id&&d.name&&d.uri}).map(function(d){var l=function(){var q=d.uri,u=d.name;try{var r=document.createElement("img");r.src=q+smAnalytics.getSessionId();r.style.display="none";r.setAttribute("rel","nofollow noopener noreferrer");r.setAttribute("referrerpolicy","no-referrer");window.document.body.appendChild(r)}catch(I){console.error("Failed to load "+ u+" pixel",I)}};setTimeout(l,100);setTimeout(l,3E3);return d.id}),f.length&&setTimeout(this.savePostViewQueue.bind(this,f),100))};this.savePostViewQueue=function(f){Ea.savePostViewQueue(this.getSessionId(),this.getPeopleId(),f).then(function(){setTimeout(function(){P("sma_postview_ready",1,{expires:60*aa,path:"/"})},1E3)},!0)};this.getSessionDuration=function(){return aa};this.getLastSource=function(){return A};this.getLastSourceFirstPageUrl=function(){return A&&A.firstPage&&A.firstPage.url?A.firstPage.url: location.href};this.getLastSourceReferrerUrl=function(){return A&&A.referrer&&A.referrer.url?A.referrer.url:document.referrer};this.getLastSourceUndirectClick=function(){return R};this.getLastSourceUndirectClickFirstPageUrl=function(){return R&&R.firstPage&&R.firstPage.url?R.firstPage.url:""};this.getLastSourceUndirectClickReferrerUrl=function(){return R&&R.referrer&&R.referrer.url?R.referrer.url:""};this.getReferrer=function(){var f="";try{f=window.sessionStorage.getItem("SCBreferrer")}catch(d){f= E("SCBfrom")}return f};this.getComagicInfo=function(){var f={};try{if(window.Comagic&&"getCredentials"in window.Comagic){var d=window.Comagic.getCredentials();f.sessionId=d.session_id}}catch(l){f={},v("\u041e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0438 \u043c\u0435\u0442\u043e\u0434\u0430 getComagicInfo: "+l)}return f};this.getCallTouchInfo=function(){var f={};try{if(void 0!==window.call_value)f.sessionId=window.call_value;else for(var d= 1;5>d;d++)void 0!==window["call_value_"+d]&&(f.sessionId=window["call_value_"+d])}catch(l){f={},v("\u041e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0438 \u043c\u0435\u0442\u043e\u0434\u0430 getCallTouchInfo: "+l)}return f};this.getUrlParam=function(f){var d=window.location.search.substring(1).split("&"),l="",q;for(q=0;qparseInt(((new Date).getTime()-u.getTime())/1E3,10)&&(window.ym__scb={geolocation:{city:l[0],region:l[1],country:l[2]}},d=!0)}}catch(r){d=!1}d?(U(),v("\u0412\u0437\u044f\u043b\u0438 \u0433\u0435\u043e\u043b\u043e\u043a\u0430\u0446\u0438\u044e \u0438\u0437 localStorage")): -10&&t-1 in e}function r(e,t,n){if(ie.isFunction(t))return ie.grep(e,function(e,r){return!!t.call(e,r,e)!==n});if(t.nodeType)return ie.grep(e,function(e){return e===t!==n});if("string"==typeof t){if(fe.test(t))return ie.filter(t,e,n);t=ie.filter(t,e)}return ie.grep(e,function(e){return ie.inArray(e,t)>=0!==n})}function i(e,t){do e=e[t];while(e&&1!==e.nodeType);return e}function o(e){var t=xe[e]={};return ie.each(e.match(be)||[],function(e,n){t[n]= !0}),t}function a(){he.addEventListener?(he.removeEventListener("DOMContentLoaded",s,!1),e.removeEventListener("load",s,!1)):(he.detachEvent("onreadystatechange",s),e.detachEvent("onload",s))}function s(){(he.addEventListener||"load"===event.type||"complete"===he.readyState)&&(a(),ie.ready())}function u(e,t,n){if(void 0===n&&1===e.nodeType){var r="data-"+t.replace(Ee,"-$1").toLowerCase();if(n=e.getAttribute(r),"string"==typeof n){try{n="true"===n?!0:"false"===n?!1:"null"===n?null:+n+""===n?+n:Ne.test(n)? ie.parseJSON(n):n}catch(i$0){}ie.data(e,t,n)}else n=void 0}return n}function l(e){var t;for(t in e)if(("data"!==t||!ie.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}function c(e,t,n,r){if(ie.acceptData(e)){var i,o,a=ie.expando,s=e.nodeType,u=s?ie.cache:e,l=s?e[a]:e[a]&&a;if(l&&u[l]&&(r||u[l].data)||void 0!==n||"string"!=typeof t)return l||(l=s?e[a]=J.pop()||ie.guid++:a),u[l]||(u[l]=s?{}:{toJSON:ie.noop}),("object"==typeof t||"function"==typeof t)&&(r?u[l]=ie.extend(u[l],t):u[l].data=ie.extend(u[l].data, t)),o=u[l],r||(o.data||(o.data={}),o=o.data),void 0!==n&&(o[ie.camelCase(t)]=n),"string"==typeof t?(i=o[t],null==i&&(i=o[ie.camelCase(t)])):i=o,i}}function d(e,t,n){if(ie.acceptData(e)){var r,i,o=e.nodeType,a=o?ie.cache:e,s=o?e[ie.expando]:ie.expando;if(a[s]){if(t&&(r=n?a[s]:a[s].data)){ie.isArray(t)?t=t.concat(ie.map(t,ie.camelCase)):t in r?t=[t]:(t=ie.camelCase(t),t=t in r?[t]:t.split(" ")),i=t.length;for(;i--;)delete r[t[i]];if(n?!l(r):!ie.isEmptyObject(r))return}(n||(delete a[s].data,l(a[s])))&& (o?ie.cleanData([e],!0):ne.deleteExpando||a!=a.window?delete a[s]:a[s]=null)}}}function f(){return!0}function p(){return!1}function h(){try{return he.activeElement}catch(e$1){}}function m(e){var t=Fe.split("|"),n=e.createDocumentFragment();if(n.createElement)for(;t.length;)n.createElement(t.pop());return n}function g(e,t){var n,r,i=0,o=typeof e.getElementsByTagName!==Ce?e.getElementsByTagName(t||"*"):typeof e.querySelectorAll!==Ce?e.querySelectorAll(t||"*"):void 0;if(!o)for(o=[],n=e.childNodes||e;null!= (r=n[i]);i++)!t||ie.nodeName(r,t)?o.push(r):ie.merge(o,g(r,t));return void 0===t||t&&ie.nodeName(e,t)?ie.merge([e],o):o}function v(e){je.test(e.type)&&(e.defaultChecked=e.checked)}function y(e,t){return ie.nodeName(e,"table")&&ie.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function b(e){return e.type=(null!==ie.find.attr(e,"type"))+"/"+e.type,e}function x(e){var t=Ve.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"), e}function w(e,t){for(var n,r=0;null!=(n=e[r]);r++)ie._data(n,"globalEval",!t||ie._data(t[r],"globalEval"))}function T(e,t){if(1===t.nodeType&&ie.hasData(e)){var n,r,i,o=ie._data(e),a=ie._data(t,o),s=o.events;if(s){delete a.handle,a.events={};for(n in s)for(r=0,i=s[n].length;i>r;r++)ie.event.add(t,n,s[n][r])}a.data&&(a.data=ie.extend({},a.data))}}function C(e,t){var n,r,i;if(1===t.nodeType){if(n=t.nodeName.toLowerCase(),!ne.noCloneEvent&&t[ie.expando]){i=ie._data(t);for(r in i.events)ie.removeEvent(t, r,i.handle);t.removeAttribute(ie.expando)}"script"===n&&t.text!==e.text?(b(t).text=e.text,x(t)):"object"===n?(t.parentNode&&(t.outerHTML=e.outerHTML),ne.html5Clone&&e.innerHTML&&!ie.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):"input"===n&&je.test(e.type)?(t.defaultChecked=t.checked=e.checked,t.value!==e.value&&(t.value=e.value)):"option"===n?t.defaultSelected=t.selected=e.defaultSelected:("input"===n||"textarea"===n)&&(t.defaultValue=e.defaultValue)}}function N(t,n){var r,i=ie(n.createElement(t)).appendTo(n.body), o=e.getDefaultComputedStyle&&(r=e.getDefaultComputedStyle(i[0]))?r.display:ie.css(i[0],"display");return i.detach(),o}function E(e){var t=he,n=Ze[e];return n||(n=N(e,t),"none"!==n&&n||(Qe=(Qe||ie("