(function(n){n(window,"undefined"===typeof window._acic?{}:window._acic,"undefined"===typeof window._aci_action?null:window._aci_action,"undefined"===typeof window._aci_debug?!1:window._aci_debug)})(function(n,s,p,w){function u(a){this.debug=!!a;this.available=this.isAvailable()}function m(a){u.call(this,a)}function l(a){u.call(this,a)}function x(a){this.debug=!!a}function y(a,b,c,f){this.debug=!!f;this.consentBaseUrl=a;this.onSuccess=c;this.cookieName=b}function g(){if(!(this instanceof g))return new g; this.version="0.4.0";this.urlHit="//www.acint.net/hit/";this.urlAct="//www.acint.net/act/";this.urlJump="//www.acint.net/jump/";this.urlPing="//www.acint.net/ping/";this.urlMatchCookie="//www.acint.net/mc/";this.urlRid="//dsp-rtb.sape.ru/getrid/";this.urlConsent="//www.acint.net/trimg/consent";this.urlGoogleAnalytics="//www.acint.net/gtag/";this.cookieName="aid";this.cookieValueOptOut="opt-out";this.cookieFp="fid";this.cookieConsent="aci-consent";this.uidFp=this.uid="";this.presence={timeouts:[3E3, 2E4],nofRequests:0};this.dspTrack={timeout:50,maxNofRequests:4,nofRequests:0,ready:!1,bidRequestId:""};this.action={timeout:500,timeoutEmpty:2E3,countPerCycle:3,index:0,methods:{register:"register"},userCanReset:["timeout","timeoutEmpty","countPerCycle"]};this.googleAnalytics={state:0,data:{google_client_id:null,google_session_id:null}};this.config={dataProvider:"",allowExtLinksTrack:!0,allowPresenceTrack:!0,allowCookieMatch:!0,allowDspTrack:!1,customData:null,action:null,showConsentDialog:!1}}var r= !!w,v={};"object"==typeof JSON&&"function"==typeof JSON.stringify?v.stringify=function(a){return JSON.stringify(a)}:function(){function a(a){function b(a){return 10>a?"0"+a:a}if(a&&"object"==typeof a){if(a instanceof Date)return isFinite(a.valueOf())?a.getUTCFullYear()+"-"+b(a.getUTCMonth()+1)+"-"+b(a.getUTCDate())+"T"+b(a.getUTCHours())+":"+b(a.getUTCMinutes())+":"+b(a.getUTCSeconds())+"Z":null;if(a instanceof String||a instanceof Number||a instanceof Boolean)return a.valueOf()}return a}function b(a){f.lastIndex= 0;return f.test(a)?'"'+a.replace(f,function(a){var b=d[a];return"string"===typeof b?b:"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+a+'"'}function c(f,d){var g,t,m,n,p=e,l,q=d[f],q=a(q);"function"===typeof k&&(q=k.call(d,f,q));switch(typeof q){case "string":return b(q);case "number":return isFinite(q)?String(q):"null";case "boolean":case "null":return String(q);case "object":if(!q)return"null";e+=h;l=[];if("[object Array]"===Object.prototype.toString.apply(q)){n=q.length;for(g=0;g< n;g+=1)l[g]=c(g,q)||"null";m=0===l.length?"[]":e?"[\n"+e+l.join(",\n"+e)+"\n"+p+"]":"["+l.join(",")+"]";e=p;return m}if(k&&"object"===typeof k)for(n=k.length,g=0;ga?"0"+a:""+a},getTimeZoneOffsetIso8601:function(){var a=(new Date).getTimezoneOffset();return(0=a.countPerCycle)break}r&&b&&console.log(d.getDateTimeIso8601(!1)+ ": processed "+b+" actions")}this.initActionCycle(a.timeout)}else r&&console.log(d.getDateTimeIso8601(!1)+": no _aci_action"),a.timeoutEmpty&&(this.initActionCycle(a.timeoutEmpty),a.timeoutEmpty=0)};g.prototype.processAction=function(a){var b=this.action;switch(typeof a){case "function":a="#function";break;case "undefined":a="#undefined"}a={owner_id:p.owner_id?p.owner_id:null,action:a};var c=this.collectDataOnAction();c.ad=d.encodeUriParam(d.stringTrimLimit(v.stringify(a)));null!==this.config.customData&& (c.cd=d.encodeUriParam(d.stringTrimLimit(this.config.customData)));b=d.makeRequestUri(this.urlAct+b.methods.register,c);d.makeRequestImage(b,r)};g.prototype.initCookieMatch=function(){var a=d.makeRequestUri(this.urlMatchCookie,this.collectDataOnCookieMatch());d.makeRequestIframe(a)};g.prototype.initExtLinksTrack=function(){var a=this,b=document,c=function(b){var c=window,h=!1,g;b=b||c.event;var k=b.target||b.srcElement,l=k;if(!("tagName"in k&&"a"==k.tagName.toLowerCase())){for(h=k.parentNode;h;){if("tagName"in h&&"a"==h.tagName.toLowerCase()){g=h;break}if("parentNode"in h)h=h.parentNode;else break}if(g)k=g;else return}if("href"in k&&/^(http:|https:|)\/\/.+/.test(k.href)&&!("hostname"in k&&k.hostname===c.location.hostname)){if(b.shiftKey||b.altKey||b.ctrlKey||b.metaKey)h=!0;h=!0;k.hasOwnProperty("_delayClick")?!1===k.hasOwnProperty("_canSkipDelay")?"preventDefault"in b?b.preventDefault():b.returnValue=!1:(delete k._canSkipDelay,delete k._delayClick):(c=d.makeRequestUri(a.urlJump,a.collectDataOnClick(b,k)), d.makeRequestImage(c,r),!1===h&&(k._delayClick=!0,setTimeout(function(){k._canSkipDelay=!0;d.fireSameEventCrosBrowser(l,"click",b)},200),"preventDefault"in b?b.preventDefault():b.returnValue=!1))}};"interactive"==b.readyState||"complete"==b.readyState?d.addEventListenerCrossBrowser(b.body,"click",c):d.bindOnReady(function(){d.addEventListenerCrossBrowser(b.body,"click",c)})};g.prototype.initPresenceTrack=function(){var a=this,b=function(){var c=d.makeRequestUri(a.urlPing,a.collectDataOnPresencePing()); d.makeRequestImage(c,r);a.presence.nofRequests+=1;a.presence.nofRequests]+>/gmi,""):""}0