!function(){'use strict';!function e(t,n,r){function o(a,c){if(!n[a]){if(!t[a]){var u="function"==typeof require&&require;if(!c&&u)return u(a,!0);if(i)return i(a,!0);var s=new Error("Cannot find module '"+a+"'");throw s.code="MODULE_NOT_FOUND",s}var l=n[a]={exports:{}};t[a][0].call(l.exports,(function(e){return o(t[a][1][e]||e)}),l,l.exports,e,t,n,r)}return n[a].exports}for(var i="function"==typeof require&&require,a=0;a1)).join('//')}else e='';return'https://s.uuidksinc.net/match/1/?cb_url='+encodeURIComponent(e+'/setuid?[UID]')+"&gdpr="+r+"&gdpr_consent="+i};function m(e,t,n){void 0===t&&(t=null),void 0===n&&(n=1);var r=new Date;r.setDate(r.getDate()+n),document.cookie=e+"="+(t||Number(r))+";path=/;domain="+location.hostname+";expires="+r.toUTCString()}function h(e){var t=document.cookie.match(new RegExp('(?:^|; )'+e.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,'\\$1')+'=([^;]*)'));return t?decodeURIComponent(t[1]):''}function w(e){var t=new Date;t.setDate(t.getDate()-1),document.cookie=e+"=\"\";path=/;domain="+location.hostname+";expires="+t.toUTCString()}function g(e){h(e)&&w(e)}var y=function(){(null===window||void 0===window?void 0:window.logKdm)||(window.logKdm={log:[],session:'',idx:[]})},b=function(e){var t,n,r=e.id,o=void 0===r?-1:r,i=e.type,a=void 0===i?'':i,c=e.msg,u=void 0===c?'':c;e instanceof Error&&(a=e.name,u=e.message),null===(t=null===window||void 0===window?void 0:window.render)||void 0===t||t.call(window,o+a+u),y(),(null===(n=window.logKdm)||void 0===n?void 0:n.log)||(window.logKdm.log=[]),window.logKdm.log.push([o,a,u])},S=function(){return y(),window.logKdm.session||''},x=function(e){var t=e.url,n=e.cb,r=void 0===n?null:n,o=new Image;o.onload=r,o.onerror=r,o.src=t},k=73418029,I=function(e,t,n){void 0===t&&(t=null),void 0===n&&(n=k),setTimeout((function(){return ym(n,'reachGoal',e,t)}),0)},C='bn',E=function(e,t,n){return void 0===t&&(t={}),b({type:n,msg:'sync'}),new Promise((function(t){return x({url:v(e,c()),cb:t})})).then((function(e){var r,o;return"nt"===n&&(r='string'==typeof e||'error'===e.type?"csfail":"csok",void 0===o&&(o=null),I(r,o,79316371)),t}))},j=function(e){if(!u())return e;if("optOut"in e)g(s),g(d),m(p,1,365);else if(l in e){g(p);var t=h(s);!t&&e.dmpUid||t===e.dmpUid?m(s,e.dmpUid,7):(w(s),E(e.domain))}else f in e&&(g(p),m(d,e.sspUid,365));return e},D={os:'',osVersion:''},T=function(){return new Promise((function(e){if(!navigator.userAgentData)return e();navigator.userAgentData.getHighEntropyValues(['platformVersion']).then((function(t){var n=t.platform,r=t.platformVersion;return D.os=n,D.osVersion=r,e()}))}))};const U=window.CSS&&'registerProperty'in window.CSS,O=window.CSS&&window.CSS.supports&&window.CSS.supports('list-style-type: \'-\''),R=(e=>{try{new Function('navigator?.userAgent')()}catch(e){return!1}return!0})(),P=()=>!(!(function(){try{null[0]()}catch(e){const t='TypeError: Cannot read property \'0\' of null',n='TypeError: Cannot call method \'0\' of null',r=e.toString();return r===t||r===n}}()&&function(){try{return new Function('function(){}()'),!1}catch(e){const t='SyntaxError: Unexpected token (',n='SyntaxError: Function statements require a function name',r=e.toString();return r===t||r===n}}()&&function(){try{return new Function('try{}catch(e if e instanceof RangeError) {}catch(e if e instanceof TypeError) {}'),!1}catch(e){const t='SyntaxError: Unexpected token \'if\'',n='SyntaxError: Unexpected token if',r=e.toString();return r===t||r===n}}()&&U&&O)||R||79===(()=>{const[,e]=navigator.userAgent.match(/\s((HeadlessChrome|Chrome)\/[\d.]+?)\s/)||[];return e&&Number((e.split('/')[1]||'').split('.')[0])||0})());var N="ontouchstart"in window&&"orientation"in window;const _=document.referrer,A=navigator.userAgent,q=!_||""===_.trim(),L=_.includes("google."),M=_.includes("yandex.")||_.includes("ya."),B=A.includes("YaBrowser"),F=/webview|wv|ip((?!.*Safari)|(?=.*like Safari))/i.test(A);var H=function(e,t,n){var o,i=e.id,a=e.blockID,c=e.selector,u=void 0===c?'':c,s=e.rerun,l=e.type,d=e.processed,f=e.complexId,p=e.batchSize;if(!d||(s||p>1)&&f===n)if(C===l&&C===t){f=i+r();for(var v=document.querySelectorAll("#"+i+",."+i),m=0;m',msg:String(204)}),{error:204};if(200!==e.status)throw b({id:a.blockID,type:'->',msg:String(e.status)}),e.status;var t=e.headers.get('content-length');return null!=t&&0===Number(t)?(b({id:a.blockID,type:'->',msg:'Empty response'}),{error:'empty'}):(b({id:a.blockID,type:'->',msg:'Data get'}),'json'===u?e.json():e.text())}));var d,f=new XMLHttpRequest;return new Promise((function(e,t){try{f.open(r,i,!0),'json'==u?(f.setRequestHeader('Content-Type','application/json'),d=JSON.stringify(a)):f.setRequestHeader('Content-Type',"application/"+u),f.withCredentials=l,f.send(d)}catch(e){return t(e)}f.onerror=function(e){return t(e)},f.onreadystatechange=function(){if(4==this.readyState){if(204===f.status)return e({error:204});if(0===f.status)return!1;if(200!==f.status)return t(f.status);try{if('json'==u){var n=f.responseText?JSON.parse(f.responseText):{};if(n.status&&'ok'===n.status)return e(n);var r=n.error_message||n.status&&n.status.error_message||n.message;return r?t(r+" / "+n):e(n)}return e({x:f.responseText})}catch(e){return t(e)}}}}))}({url:n,method:'GET',params:r}).then((function(t){return e(e({},t),{domain:o})}))},z=function(e){return new Promise((function(t,n){return e.domain?e.next&&(r="next"+e.blockID)in localStorage&&Number(localStorage[r])>Date.now()?n({id:e.blockID,type:e.type,msg:'Didn\'t expired'}):t(e):n({id:e.blockID,type:e.type,msg:'Empty domain'});var r}))},V=function(e){return"https://"+e+"/get_data"},W=function(t){var n,r,o=t.blockID,i=t.type,a=t.dmpUid,u=t.sspUid,s=t.page,l=t.width,d=t.height,f=t.useSession,p=t.dataParams,v=t.amount;return G(e(e(e(e(e(e(e(e(e(e({v:'default',page:encodeURIComponent(s||window.location.href),domain:encodeURIComponent(window.location.hostname),blockID:o},null!=l?{width:l}:{}),null!=d?{height:d}:{}),C===i?{windowWidth:Number(window.innerWidth)}:{}),!0===f?{session:S()}:{}),c()),D),null!=v?{limit:v}:{limit:1}),{format:"vi"===i?'vast':'json'}),a?((n={}).dmpUid=a,n):{}),u?((r={}).sspUid=u,r):{}),p)},G=function(e,t){if(t&&'object'==typeof t)for(var n in t)n in e||(e[n]=t[n]);return e},J=function(e){var n=e.domain,r=t(e,["domain"]);return[V(n),W(r),n]};function $(e,t){var n=t.target,r=void 0===n?document.body:n,o=t.multiUse,i=void 0!==o&&o,a=t.eventType,c=void 0===a?'onclick'in window?'click':'ontouchstart'in window||window.DocumentTouch&&document instanceof window.DocumentTouch?'touchend':'click':a,u=t.capture,s=void 0!==u&&u,l=[].concat(r),d=function(t){if(e(t),'boolean'==typeof i){if(i)return}else if(i.value)return;if(window.removeEventListener)for(var n=0,r=l.length;n50},s=new IntersectionObserver((function(e,t){e.forEach((function(e){e.isIntersecting?i(e.target)||c(e.target):a(e.target)}))}),{rootMargin:'0px',threshold:n/100||.5});s.observe(e)}},Q=!1,X=[],Z=function(e){var t=e.elem,n=e.lazy;return new Promise((function(r){if(!n)return r(e);X.push({elem:t,cb:function(){return r(e)}}),ee(),Q||(Q=!0,$(ee,{eventType:'scroll',target:document,multiUse:!0}))}))},ee=function(){X.forEach((function(e){var t,n=e.elem,r=e.cb,o=n.getBoundingClientRect();if((t=o.top<=300?o.top:o.top-window.innerHeight)<300&&t>-300){var i=window.getComputedStyle(n);'none'!=i.display&&Number(i.opacity)>.5&&'visible'==i.visibility&&(X=X.filter((function(e){return e.elem!=n})),r())}}))},te=function(e){return window.getComputedStyle?getComputedStyle(e,''):e.currentStyle},ne=function(e,t){var n=parseInt(e[t],10)||0;return!!n&&n-(parseInt(e['width'===t?'paddingLeft':'paddingTop'],10)||0)-(parseInt(e['width'===t?'paddingRight':'paddingBottom'],10)||0)>0},re=function(n){for(var r=0;r{const e=navigator.userAgent;return Boolean(e&&!/Headless|PhantomJS|Unknown;|Unknown\)/.test(e))})()&&(()=>{const e=navigator.language||navigator.browserLanguage;return Boolean(e&&/^([\-a-zA-Z]{1,4})($|-[^=\.\,]{1,}$)/.test(e))})()&&(new Date).getTimezoneOffset()>-1e3&&(()=>{let e=!1;const t=document.createElement('canvas'),n=t.getContext&&(t.getContext('webgl')||t.getContext('experimental-webgl'));if(n&&n instanceof WebGLRenderingContext&&(e=!0),!e)return!0;let r=n.getParameter(n.VERSION);return!/WebGL 2\.0/.test(r)})()&&!('InternalError'in window&&!('oscpu'in navigator)||'InstallTrigger'in window&&window.chrome||'captureStackTrace'in Error&&(!window?.performance?.memory||'InstallTrigger'in window||'oscpu'in navigator||window?.document?.documentMode))?function(t,n){var o=window.k_init;return a().then(T).then((function(){var e;return function(e,t){if(!e||!u())return Promise.resolve({});var n,r={},o=h(s),i=h(d);return h(p)||(o||i?(o&&(r.dmpUid=o),i&&(r.sspUid=i)):(r.sspUid=[(n=function(){return(65536*(1+Math.random())|0).toString(16).substring(1)})()+n(),n(),4+n().substr(0,3),['8','9','a','b'][Math.floor(4*Math.random())]+n().substr(1),n()+n()+n()].join('-').toLowerCase(),m(d,r.sspUid,365))),o?Promise.resolve(r):E(e,r,t)}(null===(e=null==o?void 0:o[0])||void 0===e?void 0:e.domain,t)})).then((function(i){var a,s,l,d,f,p,v;return S()||(v=r(),y(),window.logKdm.session=v,function(){if(u()){var e=c(),t=e.gdpr,n=void 0===t?0:t,r=e.gdprConsent,o=void 0===r?'':r,i=document.createElement('iframe');if(i.frameBorder='0',i.width='0',i.height='0',i.marginWidth='0',i.marginHeight='0',i.src="https://uuidksinc.net/matchx?gdpr="+n+"&gdpr_consent="+o,i.scrolling='no',i.style.position='absolute',i.style.left='-10000px',document.body)document.body.appendChild(i);else var a=setInterval((function(){document.body&&(document.body.appendChild(i),clearInterval(a))}),200)}}(),void 0===a&&(a=k),s=window,l=document,d="script",s.ym=s.ym||function(){(s.ym.a=s.ym.a||[]).push(arguments)},s.ym.l=1*new Date,f=l.createElement(d),p=l.getElementsByTagName(d)[0],f.async=1,f.src="https://mc.yandex.ru/metrika/tag.js",p.parentNode.insertBefore(f,p),ym(a,'init',{clickmap:!0,trackLinks:!0,accurateTrackBounce:!0,webvisor:!0}),P()&&I("sus")),o.reduce((function(r,a,c){!('next'in a)&&(a.next=0),!('rerun'in a)&&(a.rerun=!1),!('newtab'in a)&&(a.newtab=1),!('exclude'in a)&&(a.exclude=[]),!('include'in a)&&(a.include=[]),!('delay'in a)&&(a.delay=0),!('backButton'in a)&&(a.backButton=!1),!('clickChange'in a)&&(a.clickChange=!1),!('noPreventDefault'in a)&&(a.noPreventDefault=!1),!('batchSize'in a)&&(a.batchSize=1),!('batchInterval'in a)&&(a.batchInterval=3),!('filterDevice'in a)&&(a.filterDevice="both"),!('blockedReferrers'in a)&&(a.blockedReferrers=""),!('processed'in a)&&(a.processed=!1),!('skiptime'in a)&&(a.skiptime=0),!('amount'in a)&&(a.amount=1),!('refresh'in a)&&(a.refresh=!0),!('useSession'in a)&&(a.useSession=!1),!('complexId'in a)&&(a.complexId=''),'function'!=typeof a.fallback&&(a.fallback=null),!('desktopPosition'in a)&&(a.desktopPosition='bottom'),!('mobilePosition'in a)&&(a.mobilePosition='bottom'),C!==a.type?delete a.page:(!('page'in a)&&(a.page=''),!('lazy'in a)&&(a.lazy=!1)),a.blockID=a.id.slice(6),a.exclude=[].concat(a.exclude).join(','),a.include=[].concat(a.include).join(',');var u=H(a,t,n),s=u[0],l=u[1];a.complexId=l,(a.rerun||a.batchSize>1)&&a.complexId===n&&function(e){y();for(var t=[],n=0;n1||!a.processed),v=t===a.type,m=(d=a.complexId,y(),!(window.logKdm.idx.indexOf(d)>-1)),h=Boolean(a.domain),w='both'===a.filterDevice||'mobile'===a.filterDevice&&N||'desktop'===a.filterDevice&&!N,g=(e=>{let t=e.split('|');for(const e of t){if('E'===e&&q)return!1;if('GS'===e&&L)return!1;if('YS'===e&&M)return!1;if('YB'===e&&B)return!1;if('WV'===e&&F)return!1}return!0})(a.blockedReferrers);if(f&&p&&v&&m&&h&&w&&g)return o[c].processed=!0,function(e){y(),window.logKdm.idx.push(e)}(a.complexId),b({id:a.blockID,type:a.type,msg:'In work'}),r.concat(e(e(e({},a),{elem:s}),i));var S=[].concat(f?[]:'el').concat(p?[]:'ne').concat(v?[]:'-'+t).concat(m?[]:'un').concat(h?[]:'do').concat(w?[]:'dv').concat(g?[]:'re');return b({id:a.blockID,type:a.type,msg:'Rejected '+S}),r}),[])}))}("bn",undefined):(b({type:"bn",msg:'Stopped'}),Promise.resolve([]))).then(re)}();