PageSourceSearch

https://amio.ru/js/real-engaged-metrika.min.js

js amio.ru collected 2026-10-09 04:50:25 UTC 68,514 bytes, 1 lines download raw bytes

1(function(){"use strict";var Wt={profile:"strict",counterId:0,goalId:"real_engaged_user",minHumanScore:68,minEngagementScore:62,maxFraudScore:35,minActiveMs:12e4,minBehaviorTypes:2,requireMinActiveTime:!0,touchMinHumanScore:60,touchMinEngagementScore:56,keyboardMinHumanScore:58,minContentTextLength:80,minContentArea:9e3,minBlockViewMs:1800,readingWordsPerMinute:240,minReadingDwellRatio:.35,minReadPauseMs:1200,minMeaningfulViewportBlocks:2,minMeaningfulViewportDwellMs:2200,meaningfulViewportMinRatio:.55,meaningfulViewportMinArea:6e3,requireScrollIntentGate:!0,minScrollPausesForIntent:2,minScrollDepthRatioForIntent:.6,adaptiveShortPageGate:!0,shortPageMaxScrollablePx:320,shortPageMinActiveMs:12e4,shortPageRequiresAnyIntent:!0,requireEngagedStability:!0,engagedStableMs:2500,contentRescanMs:2500,useIdleDomScan:!0,idleScanTimeoutMs:1200,cooldownHours:0,sendOncePerSession:!0,sendDiagnosticLevelGoals:!1,calibrationMode:!1,calibrationLogIntervalMs:5e3,requireConsent:!1,consentCheck:null,consentStorageKey:"",consentCookieName:"",consentGlobalName:"",consentAcceptedValues:[!0,"true","1","yes","accepted","granted"],dailyLimitEnabled:!0,dailyGoalLimit:1,dailyLimitStorageKey:"ym_real_engaged_daily_limit_v4",dailyLimitAppliesToDiagnosticGoals:!1,sendLockEnabled:!0,sendLockStorageKey:"ym_real_engaged_send_lock_v4",sendLockMs:3e4,crossTabLockEnabled:!0,crossTabChannelName:"ym_real_engaged_channel_v4",crossTabRecentlySentMs:9e4,ymQueueEnabled:!0,ymQueueMaxItems:5,ymQueueTtlMs:45e3,ymSendMaxAttempts:20,ymSendRetryMs:1e3,ymSendRetryBackoff:1.35,ymSendMaxRetryMs:5e3,adaptiveTraffic:{enabled:!0,sendContext:!0,sendDetails:!1,paidClickParams:["gclid","yclid","wbraid","gbraid","fbclid","ttclid"],paidMediumPattern:"(cpc|ppc|paid|display|retarget|remarketing|banner|cpa|affiliate)",organicMediumPattern:"(organic|seo)",socialSourcePattern:"(facebook|instagram|vk|vkontakte|tiktok|telegram|youtube|twitter|linkedin|ok|pinterest|mytarget)",searchReferrerPattern:"(google\\.|yandex\\.|bing\\.|duckduckgo\\.|mail\\.ru|rambler\\.|yahoo\\.)",socialReferrerPattern:"(facebook\\.|instagram\\.|vk\\.com|tiktok\\.|t\\.me|telegram\\.|youtube\\.|twitter\\.|x\\.com|linkedin\\.|ok\\.ru|pinterest\\.)",inAppPattern:"(FBAN|FBAV|Instagram|Line/|MicroMessenger|Telegram|YaApp|YandexSearch|; wv\\))",rules:{paid:{minHumanScoreDelta:4,minEngagementScoreDelta:4,maxFraudScoreDelta:-5,minActiveMsDelta:15e3,minScrollPausesDelta:1,minScrollDepthRatioDelta:.05,engagedStableMsDelta:750},social:{minHumanScoreDelta:2,minEngagementScoreDelta:2,maxFraudScoreDelta:-2,minActiveMsDelta:5e3},inApp:{minHumanScoreDelta:2,maxFraudScoreDelta:2},organic:{minHumanScoreDelta:-1,minEngagementScoreDelta:-1,maxFraudScoreDelta:2},referral:{},direct:{}}},autoPageProfile:{enabled:!0,sendContext:!0,minConfidence:2,rules:{short:{minEngagementScoreDelta:-2,minScrollPausesDelta:-1,minScrollDepthRatioDelta:-.1,minMeaningfulViewportBlocks:1},article:{minEngagementScoreDelta:-2,minScrollDepthRatioDelta:.05,minMeaningfulViewportBlocks:2,minMeaningfulViewportDwellMs:2200},form:{minActiveMsDelta:-15e3,minEngagementScoreDelta:-2,minScrollPausesDelta:-1,minScrollDepthRatioDelta:-.2,minMeaningfulViewportBlocks:1},video:{minEngagementScoreDelta:-2,minScrollPausesDelta:-1,minScrollDepthRatioDelta:-.15,minMeaningfulViewportBlocks:1},catalog:{minEngagementScoreDelta:2,minMeaningfulViewportBlocks:2},webapp:{minActiveMsDelta:-3e4,minEngagementScoreDelta:2,requireScrollIntentGate:!1,minMeaningfulViewportBlocks:1}}},performanceBudget:{lowPowerMode:!1,maxDomCandidatesPerScan:120,maxScanMs:12,minScanIntervalMs:1e3,disableRuntimeOnLowPower:!0,lowPowerHardwareConcurrency:2,lowPowerDeviceMemoryGb:2,lowPowerRafSamples:45},cspSafe:!1,runtimeFingerprint:{enabled:!0,userAgentData:!0,webgl:!0,chromeConsistency:!0,webdriverDescriptor:!0,iframeConsistency:!0,workerConsistency:!0,mediaDevices:!0,rafTiming:!0,maxRiskScore:45,rafSamples:90},runtimeRiskWeights:{uaClientHintsMismatch:12,webglUnavailable:4,webglSoftwareRenderer:18,webglSuspiciousRenderer:12,chromeMissingOnDesktopChromium:8,desktopChromiumWithoutPlugins:7,webdriverOwnProperty:18,webdriverDescriptorTampered:24,iframeWebdriver:45,iframeEnvironmentMismatch:14,workerWebdriver:35,workerEnvironmentMismatch:10,empty
1DesktopMediaDevices:4,rafTooPerfect:8,rafAnomalous:6},ignoreHosts:["localhost","127.0.0.1","::1"],ignoreQueryParams:["test","debug","qa","e2e","selenium","playwright","puppeteer","webdriver"],ignoreWhenDoNotTrack:!1,storageKey:"ym_real_engaged_user_sent_v4",optionalFeatureSelector:'[data-ym-feature],[data-ym-engage],[data-ym-important],[aria-label],[role="button"]',genericInteractiveSelector:'a[href],button,input,textarea,select,summary,details,[role="button"],[role="link"],[role="tab"],[role="menuitem"],[contenteditable="true"],video,audio',genericContentSelector:"main,article,section,aside,form,figure,blockquote,li,p,h1,h2,h3,h4,h5,h6,[role='main'],[role='article'],[role='region']",genericImportantSelector:"form,input,textarea,select,button,a[href],video,audio,[contenteditable='true']",highIntentKeywords:["\u043A\u0443\u043F\u0438\u0442\u044C","\u0437\u0430\u043A\u0430\u0437\u0430\u0442\u044C","\u0437\u0430\u044F\u0432\u043A\u0430","\u043E\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u0437\u0430\u044F\u0432\u043A\u0443","\u0446\u0435\u043D\u0430","\u0441\u0442\u043E\u0438\u043C\u043E\u0441\u0442\u044C","\u0442\u0430\u0440\u0438\u0444","\u043A\u043E\u043D\u0442\u0430\u043A\u0442\u044B","\u043F\u043E\u0437\u0432\u043E\u043D\u0438\u0442\u044C","\u043D\u0430\u043F\u0438\u0441\u0430\u0442\u044C","\u043E\u043F\u043B\u0430\u0442\u0438\u0442\u044C","\u043A\u043E\u0440\u0437\u0438\u043D\u0430","\u043E\u0444\u043E\u0440\u043C\u0438\u0442\u044C","demo","pricing","contact","checkout","buy","order","subscribe","sign up"],goals:{candidate:"real_user_candidate",engaged:"engaged_user",highIntent:"high_intent_user"},exposeDebugApi:!0,debugOverlay:!1,debugOverlayPosition:"bottom-right",sendReasonCodes:!0,sendRuntimeDetails:!1,sendWebGLRenderer:!1,failOpen:!1,failSafeMaxErrors:3,scriptVersion:"1.3.0",debug:!1},Ze=window.RealEngagedMetrikaConfig||{},i=W(wn(Wt,Ze.profile),Ze);yn(i);var ne=!1,Ce={},H=document.hasFocus?document.hasFocus():!0,ie=l(),et=l(),tt=l(),de=0,j=null,L=[],rt=null,Te=null,nt=null,it=null,I=new Map,at=new Map,ot=new Map,Ae=new Set,Re=new WeakSet,st=new WeakSet,me=[],B=[],K=[],V=[],Le=new WeakMap,Q=null,S=0,P=[],ae={},Ie=null,oe=null,b={},Be=String(l())+":"+Math.random().toString(36).slice(2),M=null,z=null,ct=0,lt=0,ut=0,se=!1,C={blocked:!1,errors:[]},u={score:0,flags:[],flagMap:{},webgl:null,iframe:null,worker:null,mediaDevices:null,raf:null,chromeConsistency:null,uaClientHints:null,webdriverDescriptor:null},n={activeVisibleMs:0,hiddenEventCount:0,syntheticEvents:0,maxScrollRatio:0,pageScrollablePx:0,isShortPage:!1,scrolls:0,scrollPauses:0,rapidScrolls:0,instantBottomScroll:!1,routeChanges:0,pointerMoves:0,mouseMoves:0,hoverBeforeClick:0,clicks:0,repeatedClicks:0,keys:0,tabKeys:0,enterSpaceKeys:0,focusMoves:0,keyboardActivations:0,formFocuses:0,formInputs:0,changedFields:0,formSubmitAttempts:0,formDwellMs:0,featureInteractions:0,importantInteractions:0,semanticHighIntentInteractions:0,mediaPlays:0,mediaProgress25:0,mediaProgress50:0,mediaProgress75:0,mediaSeeks:0,mediaPauses:0,textSelections:0,wheelEvents:0,wheelDirectionChanges:0,wheelNaturalBursts:0,wheelSuspiciousBursts:0,touchStarts:0,touchTaps:0,touchSwipes:0,touchLongPresses:0,touchMoves:0,multiTouchStarts:0,touchVariety:0,touchPoints:[],lastTouchStart:null,viewedBlocks:new Set,meaningfulViewportBlocks:new Set,meaningfulViewportDwellMs:0,readingQualifiedBlocks:0,meaningfulBlocks:0,categories:{}},m=Zt(),q=tr(m),d={traffic:{segment:"unknown",source:"",medium:"",referrerHost:"",flags:[]},page:{type:"unknown",confidence:0,flags:[]},adjustments:_t(),appliedRules:[]};if(_e(),Bt(),dr()){y("ignored environment",location.hostname,location.search);return}if(an()){y("skipped by storage");return}if(q.hardBlock){y("hard blocked",q);return}jt(),Kt(),Qt(),zt(),Ut(),He(!0),ce(),hn(),i.debugOverlay&&Ye(),rr(),setInterval(Gt,1e3),setInterval(function(){U()},i.contentRescanMs);function Gt(){return bn("tick",function(){var e=l(),t=Math.min(e-ie,1500);ie=e,!document.hidden&&H&&(n.activeVisibleMs+=t,kr(t),Sr(t)),i.debugOverlay&&!M&&Ye(),Je(),Or(),g()})}function jt(){window.addEventListener("focus",function(){H=!0}),window.addEventListener("blur",function(){H=!1,Q=null}),document.addEventListener("visibilitychange",function(){document.hidden?(I.clear(),Q=null):(ie=l(),U(),ee())}),window.addEventListener("pageshow",function(){H=document.hasFocus?document.hasFocus():!0,ie=l(),_e(),U(),ee(),g()}),window.addEventListener("load",ee),window.addEventListener("online",ee),window.addEventListener("pagehide",function(){I.clear(),Q=null}),document.addEventListener("freeze",function(){I.clear(),Q=null}),document.addEventListener("resume",function(){ie=l(),_e(),U()})}function Kt(){if(i.crossTabLockEnabled){if("BroadcastChannel"in window)try{oe=new BroadcastChannel(i.crossTabChannelName),oe.onmessage=function(e){ln(e.data)}}catch{oe=null}window.addEventListener("storage",function(e){e.key&&(e.key.indexOf(i.sendLockStorageKey+":"+F()+":")===0&&un(e),e.key===i.dailyLimitStorageKey&&_e())})}}function Qt(){document.addEventListener("pointerdown",function(e){if(!T(e))return k(e);x(e),e.pointerType==="touch"&&(n.touchStarts++,n.categories.touch=!0,n.lastTouchStart={x:e.clientX,y:e.clientY,t:l()})},{passive:!0,capture:!0}),document.addEventListener("pointermove",function(e){if(!T(e))return k(e);if(x(e),e.pointerType==="touch"){n.touchMoves++;return}mr(e)},{passive:!0}),document.addEventListener("pointerup",function(e){if(!T(e))return k(e);x(e),e.pointerType==="touch"&&gr(e)},{passive:!0,capture:!0}),document.addEventListener("pointercancel",function(){n.lastTouchStart=null},{passive:!0}),document.addEventListener("mouseover",function(e){if(!T(e))return k(e);Lt(e.target)&&(e.target.__realEngagedHoverAt=l())},!0),document.addEventListener("touchstart",function(e){if(!T(e))return k(e);x(e),e.touches&&e.touches.length>1&&(n.multiTouchStarts++,n.categories.multitouch=!0)},{passive:!0,capture:!0}),document.addEventListener("wheel",function(e){if(!T(e))return k(e);x(e),hr(e),g()},{passive:!0,capture:!0}),document.addEventListener("scroll",function(e){e&&e.isTrusted===!1?k(e):x(e),n.scrolls++,n.categories.scroll=!0,pt(),Mr(),clearTimeout(rt),rt=setTimeout(function(){!document.hidden&&H&&(n.scrollPauses++,g())},i.minReadPauseMs),g()},{passive:!0}),document.addEventListener("click",function(e){if(!T(e))return k(e);x(e),vr(e),g()},!0),document.addEventListener("keydown",function(e){if(!T(e))return k(e);x(e),wr(e),g()},!0),document.addEventListener("focusin",function(e){!e.target||e.target===window||(n.focusMoves++,n.categories.focus=!0,Pe(e.target)&&(n.formFocuses++,Q=O(e.target,"form")||e.target,ht(e.target),n.categories.form=!0),g())},!0),document.addEventListener("input",function(e){if(!T(e))return k(e);x(e),Pe(e.target)&&(n.formInputs++,n.changedFields=yr(e.target),n.categories.input=!0,n.categories.form=!0,g())},!0),document.addEventListener("submit",function(e){if(e&&e.isTrusted===!1)return k(e);x(e),n.formSubmitAttempts++,n.importantInteractions++,n.categories.submit=!0,n.categories.important=!0,g()},!0),document.addEventListener("play",function(e){if(te(e.target)){if(e.isTrusted===!1)return k(e);x(e),n.mediaPlays++,n.categories.media=!0,mt(e.target),g()}},!0),document.addEventListener("pause",function(e){if(te(e.target)){if(e.isTrusted===!1)return k(e);x(e),n.mediaPauses++,n.categories.media=!0,g()}},!0),document.addEventListener("seeking",function(e){if(te(e.target)){if(e.isTrusted===!1)return k(e);x(e),n.mediaSeeks++,n.categories.media=!0,g()}},!0),document.addEventListener("selectionchange",Vt(function(){var e=String(window.getSelection?window.getSelection():"").trim();e.length>=12&&!document.hidden&&H&&(n.textSelections++,n.categories.selection=!0,g())},1200))}function zt(){if(window.history){var e=history.pushState,t=history.replaceState;history.pushState=function(){var r=e.apply(this,arguments);return ge(),r},history.replaceState=function(){var r=t.apply(this,arguments);return ge(),r},window.addEventListener("popstate",ge),window.addEventListener("hashchange",ge)}}function ge(){clearTimeout(it),it=setTimeout(function(){n.routeChanges++,tt=l(),S=0,I.clear(),He(!0),U(!0),g()},150)}function Ut(){if("IntersectionObserver"in window&&(Te=new IntersectionObserver(function(t){t.forEach(function(r){var a=Zr(r.target);r.isIntersecting&&r.intersectionRatio>=.45?I.set(r.target,{name:a,ratio:r.intersectionRatio,meaningful:Br(r),weight:en(r.target),expectedReadMs:tn(r.target)}):I.delete(r.target)})},{threshold:[.35,.45,.65,.85]}),"MutationObserver"in window)){var e=new MutationObserver(function(){U()});e.observe(document.documentElement,{childList:!0,subtree:!0})}}function U(e){if(!(!e&&l()-lt<i.performanceBudget.minScanIntervalMs)){if(e){ce();return}clearTimeout(nt),nt=setTimeout(function(){i.useIdleDomScan&&window.requestIdleCallback?window.requestIdleCallback(ce,{timeout:i.idleScanTimeoutMs}):ce()},250)}}function ce(){var e=l();lt=e,pt(),He(!1),Jt(Yt(e)),Xt(),ut=l()-e,Je()}function Yt(e){var t=[],r=new WeakSet,a=document.querySelectorAll(i.genericContentSelector);Array.prototype.forEach.call(a,function(f){ft(e,t.length)||dt(f,t,r)});for(var o=document.createTreeWalker(document.body||document.documentElement,NodeFilter.SHOW_ELEMENT,{acceptNode:function(f){return!f||Re.has(f)?NodeFilter.FILTER_REJECT:je(f)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}}),s=0,c=o.nextNode();c&&s<i.performanceBudget.maxDomCandidatesPerScan&&!ft(e,t.length);)dt(c,t,r),s++,c=o.nextNode();return t}function ft(e,t){return t>=i.performanceBudget.maxDomCandidatesPerScan?!0:l()-e>i.performanceBudget.maxScanMs}function dt(e,t,r){!e||r.has(e)||!je(e)||(r.add(e),t.push(e))}function Jt(e){Te&&e.forEach(function(t){Re.has(t)||(Re.add(t),n.meaningfulBlocks++,Te.observe(t))})}function Xt(){var e=document.querySelectorAll("video,audio");Array.prototype.forEach.call(e,mt)}function mt(e){!te(e)||st.has(e)||(st.add(e),e.addEventListener("timeupdate",Vt(function(){$t(e)},1e3),{passive:!0}))}function $t(e){if(!(!e.duration||!isFinite(e.duration))){var t=p(e.currentTime/e.duration,0,1);t>=.25&&!e.__realEngaged25&&(e.__realEngaged25=!0,n.mediaProgress25++,n.categories.media=!0),t>=.5&&!e.__realEngaged50&&(e.__realEngaged50=!0,n.mediaProgress50++,n.categories.media=!0),t>=.75&&!e.__realEngaged75&&(e.__realEngaged75=!0,n.mediaProgress75++,n.categories.media=!0),g()}}function Zt(){var e=!1;try{e=window.matchMedia("(pointer: coarse)").matches}catch{}return{userAgent:navigator.userAgent||"",userAgentData:er(),platform:navigator.platform||"",languages:navigator.languages||[],language:navigator.language||"",maxTouchPoints:navigator.maxTouchPoints||0,hardwareConcurrency:navigator.hardwareConcurrency||0,deviceMemory:navigator.deviceMemory||0,cookieEnabled:navigator.cookieEnabled,doNotTrack:navigator.doNotTrack||window.doNotTrack||(navigator.msDoNotTrack?navigator.msDoNotTrack:""),pluginsLength:navigator.plugins?navigator.plugins.length:0,mimeTypesLength:navigator.mimeTypes?navigator.mimeTypes.length:0,screenWidth:window.screen?window.screen.width:0,screenHeight:window.screen?window.screen.height:0,availWi
1dth:window.screen?window.screen.availWidth:0,availHeight:window.screen?window.screen.availHeight:0,innerWidth:window.innerWidth||0,innerHeight:window.innerHeight||0,outerWidth:window.outerWidth||0,outerHeight:window.outerHeight||0,devicePixelRatio:window.devicePixelRatio||1,timezoneOffset:new Date().getTimezoneOffset(),coarsePointer:e,isTouchDevice:(navigator.maxTouchPoints||0)>0||e}}function er(){var e=navigator.userAgentData;return e?{brands:e.brands||[],mobile:!!e.mobile,platform:e.platform||""}:null}function tr(e){var t=[],r=0,a=!1,o=e.userAgent;function s(f,D,h){t.push(f),r+=D,h&&(a=!0)}navigator.webdriver&&s("navigator.webdriver",90,!0),["_Selenium_IDE_Recorder","__webdriver_script_fn","__driver_evaluate","__webdriver_evaluate","__selenium_evaluate","__fxdriver_evaluate","__driver_unwrapped","__webdriver_unwrapped","__selenium_unwrapped","__fxdriver_unwrapped","__webdriver_script_func","domAutomation","domAutomationController","_phantom","callPhantom"].forEach(function(f){window[f]&&s("automation_global:"+f,75,!0)});try{var c=document.documentElement;(c.getAttribute("webdriver")||c.getAttribute("selenium")||c.getAttribute("driver"))&&s("automation_dom_attr",75,!0)}catch{}try{Object.keys(window).some(function(f){return/^cdc_[a-zA-Z0-9_]+_(Array|Promise|Symbol|JSON|Window)$/.test(f)?(s("chromedriver_cdc",85,!0),!0):!1})}catch{}return/HeadlessChrome|PhantomJS|SlimerJS|HtmlUnit|Selenium|WebDriver|Puppeteer|Playwright/i.test(o)&&s("suspicious_user_agent",60,!1),(!e.languages||e.languages.length===0)&&s("missing_languages",12,!1),(e.outerWidth===0||e.outerHeight===0)&&s("zero_outer_window",18,!1),(e.innerWidth===0||e.innerHe
1ight===0)&&s("zero_viewport",25,!1),e.hardwareConcurrency===0&&s("zero_hardware_concurrency",8,!1),(e.screenWidth<=1||e.screenHeight<=1)&&s("tiny_screen",18,!1),(e.devicePixelRatio<=0||e.devicePixelRatio>8)&&s("odd_device_pixel_ratio",8,!1),e.isTouchDevice&&e.maxTouchPoints===0&&!e.coarsePointer&&s("inconsistent_touch_capability",10,!1),/Mobile|Android|iPhone|iPad|iPod/i.test(o)&&e.maxTouchPoints===0&&s("mobile_ua_without_touch",16,!1),/Windows|Macintosh|Linux/i.test(o)&&e.innerWidth<240&&s("desktop_ua_tiny_viewport",10,!1),e.cookieEnabled===!1&&s("cookies_disabled",6,!1),e.pluginsLength===0&&!/Mobile|Android|iPhone|iPad|iPod/i.test(o)&&s("desktop_without_plugins",6,!1),{score:p(r,0,100),flags:t,hardBlock:a}}function rr(){!i.runtimeFingerprint||!i.runtimeFingerprint.enabled||(i.runtimeFingerprint.userAgentData&&nr(),i.runtimeFingerprint.webgl&&ir(),i.runtimeFingerprint.chromeConsistency&&ar(),i.runtimeFingerprint.webdriverDescriptor&&or(),i.runtimeFingerprint.iframeConsistency&&sr(),i.runtimeFingerprint.workerConsistency&&cr(),i.runtimeFingerprint.mediaDevices&&lr(),i.runtimeFingerprint.rafTiming&&ur())}function w(e,t,r){u.flagMap[e]||(u.flagMap[e]=!0,u.flags.push(e),u.score=p(u.score+t,0,gt()),r&&(u[e]=r),y("runtime risk",e,t,r||null),g())}function gt(){return!i.runtimeFingerprint||!i.runtimeFingerprint.enabled?0:i.runtimeFingerprint.maxRiskScore||45}function nr(){var e=navigator.userAgentData;if(e){var t={mobile:!!e.mobile,platform:e.platform||"",brands:(e.brands||[]).map(function(h){return{brand:h.brand,version:h.version}})};u.uaClientHints=t;var r=m.userAgent,a=/Mobile|Android|iPhone|iPad|iPod/i.test(r),o=/Chrome\/|Chromium\/|Edg\/|OPR\/|YaBrowser\//.test(r),s=t.brands.map(function(h){return h.brand}).join(" ").toLowerCase(),c=/chromium|google chrome|microsoft edge|opera|yabrowser/.test(s),f=t.platform.toLowerCase(),D=f==="android"&&!/Android/i.test(r)||f==="ios"&&!/iPhone|iPad|iPod/i.test(r)||f==="windows"&&!/Windows/i.test(r)||f==="macos"&&!/Macintosh|Mac OS/i.test(r)||f==="linux"&&!/Linux|X11/i.test(r);t.uaLooksMobile=a,t.uaLooksChromium=o,t.hintsLookChromium=c,t.platformMismatch=D,(t.mobile!==a||D||c&&!o)&&w("ua_client_hints_mismatch",i.runtimeRiskWeights.uaClientHintsMismatch,t),e.getHighEntropyValues&&e.getHighEntropyValues(["architecture","bitness","model","platformVersion","uaFullVersion"]).then(function(h){u.uaClientHints=W(t,{highEntropy:h||{}})}).catch(function(h){u.uaClientHints=W(t,{error:A(h)})})}}function ir(){var e={supported:!1,vendor:"",renderer:""};try{var t=document.createElement("canvas"),r=t.getContext("webgl")||t.getContext("experimental-webgl")||t.getContext("webgl2");if(!r){u.webgl=e,w("webgl_unavailable",i.runtimeRiskWeights.webglUnavailable,e);return}e.supported=!0;var a=r.getExtension("WEBGL_debug_renderer_info");a?(e.vendor=String(r.getParameter(a.UNMASKED_VENDOR_WEBGL)||""),e.renderer=String(r.getParameter(a.UNMASKED_RENDERER_WEBGL)||"")):(e.vendor=String(r.getParameter(r.VENDOR)||""),e.renderer=String(r.getParameter(r.RENDERER)||"")),u.webgl=e;var o=(e.vendor+" "+e.renderer).toLowerCase();if(/swiftshader|llvmpipe|software rasterizer|mesa offscreen|softpipe/.test(o)){w("webgl_software_renderer",i.runtimeRiskWeights.webglSoftwareRenderer,e);return}/virtualbox|vmware|parallels|hyper-v|microsoft basic render/.test(o)&&w("webgl_suspicious_renderer",i.runtimeRiskWeights.webglSuspiciousRenderer,e)}catch(s){u.webgl={supported:!1,error:A(s)}}}function ar(){var e=m.userAgent,t=/Chrome\/|Chromium\//.test(e)&&!/Edg\/|OPR\/|YaBrowser\/|SamsungBrowser\/|CriOS|Mobile|Android|iPhone|iPad|iPod/i.test(e),r={desktopChromium:t,hasChromeObject:!!window.chrome,pluginsLength:m.pluginsLength,mimeTypesLength:m.mimeTypesLength};u.chromeConsistency=r,t&&(window.chrome||w("chrome_missing_on_desktop_chromium",i.runtimeRiskWeights.chromeMissingOnDesktopChromium,r),m.pluginsLength===0&&m.mimeTypesLength===0&&w("desktop_chromium_without_plugins",i.runtimeRiskWeights.desktopChromiumWithoutPlugins,r))}function or(){var e={ownProperty:!1,hasDescriptor:!1,descriptorNative:!0};try{e.ownProperty=Object.prototype.hasOwnProperty.call(navigator,"webdriver");var t=Jr(navigator,"webdriver");e.hasDescriptor=!!t,t&&t.get&&(e.descriptorNative=Function.prototype.toString.call(t.get).indexOf("[native code]")!==-1),u.webdriverDescriptor=e,e.ownProperty&&w("webdriver_own_property",i.runtimeRiskWeights.webdriverOwnProperty,e),t&&t.get&&!e.descriptorNative&&w("webdriver_descriptor_tampered",i.runtimeRiskWeights.webdriverDescriptorTampered,e)}catch(r){u.webdriverDescriptor={error:A(r)}}}function sr(){try{var e=document.createElement("iframe");e.setAttribute("aria-hidden","true"),e.tabIndex=-1,e.style.cssText="position:absolute;width:1px;height:1px;left:-9999px;top:-9999px;opacity:0;border:0;",(document.body||document.documentElement).appendChild(e),setTimeout(function(){try{var t=e.contentWindow,r=t&&t.navigator;if(!r)return;var a={webdriver:!!r.webdriver,userAgentMatches:r.userAgent===navigator.userAgent,platformMatches:r.platform===navigator.platform,hardwareConcurrencyMatches:r.hardwareConcurrency===navigator.hardwareConcurrency,languagesMatches:Me(r.languages).join("|")===Me(navigator.languages).join("|"),chromeMatches:!!t.chrome==!!window.chrome};u.iframe=a,a.webdriver&&w("iframe_webdriver",i.runtimeRiskWeights.iframeWebdriver,a),(!a.userAgentMatches||!a.platformMatches||!a.hardwareConcurrencyMatches||!a.languagesMatches||!a.chromeMatches)&&w("iframe_environment_mismatch",i.runtimeRiskWeights.iframeEnvironmentMismatch,a)}catch(o){u.iframe={error:A(o)}}finally{e.parentNode&&e.parentNode.removeChild(e)}}
1,0)}catch(t){u.iframe={error:A(t)}}}function cr(){if(!(!window.Worker||!window.Blob||!window.URL)){var e=["self.postMessage({","userAgent:navigator.userAgent||'',","platform:navigator.platform||'',","languages:navigator.languages||[],","hardwareConcurrency:navigator.hardwareConcurrency||0,","webdriver:Boolean(navigator.webdriver)","});"].join(""),t="",r=null,a=!1;try{t=URL.createObjectURL(new Blob([e],{type:"application/javascript"})),r=new Worker(t),r.onmessage=function(o){a=!0;try{var s=o.data||{},c={webdriver:!!s.webdriver,userAgentMatches:s.userAgent===navigator.userAgent,platformMatches:s.platform===navigator.platform,hardwareConcurrencyMatches:s.hardwareConcurrency===navigator.hardwareConcurrency,languagesMatches:Me(s.languages).join("|")===Me(navigator.languages).join("|")};u.worker=c,c.webdriver&&w("worker_webdriver",i.runtimeRiskWeights.workerWebdriver,c),(!c.userAgentMatches||!c.platformMatches||!c.hardwareConcurrencyMatches||!c.languagesMatches)&&w("worker_environment_mismatch",i.runtimeRiskWeights.workerEnvironmentMismatch,c)}finally{ke(r,t)}},r.onerror=function(o){u.worker={error:o&&o.message?o.message:"worker_error"},ke(r,t)},setTimeout(function(){a||(u.worker={error:"worker_timeout"},ke(r,t))},2500)}catch(o){u.worker={error:A(o)},ke(r,t)}}}function lr(){!navigator.mediaDevices||!navigator.mediaDevices.enumerateDevices||navigator.mediaDevices.enumerateDevices().then(function(e){var t=e||[],r={count:t.length,kinds:t.map(function(a){return a.kind}).filter(Boolean)};u.mediaDevices=r,!m.isTouchDevice&&t.length===0&&w("empty_desktop_media_devices",i.runtimeRiskWeights.emptyDesktopMediaDevices,r)}).catch(function(e){u.mediaDevices={error:A(e)}})}function ur(){if(!(!window.requestAnimationFrame||document.hidden)){var e=[],t=0,r=Math.max(30,i.runtimeFingerprint.rafSamples||90);requestAnimationFrame(function a(o){if(t&&e.push(o-t),t=o,e.length>=r){fr(e);return}requestAnimationFrame(a)})}}function fr(e){var t=e.reduce(function(c,f){return c+f},0)/e.length,r=e.reduce(function(c,f){return c+Math.pow(f-t,2)},0)/e.length,a=Math.sqrt(r),o={};e.forEach(function(c){o[Math.round(c*10)/10]=!0});var s={samples:e.length,avgMs:Math.round(t*100)/100,stddevMs:Math.round(a*100)/100,uniqueRoundedIntervals:Object.keys(o).length};if(u.raf=s,s.uniqueRoundedIntervals<=2&&a<.08&&t>5&&t<35){w("raf_too_perfect",i.runtimeRiskWeights.rafTooPerfect,s);return}(t<3||t>120)&&w("raf_anomalous",i.runtimeRiskWeights.rafAnomalous,s)}function dr(){if(i.ignoreWhenDoNotTrack&&/^(1|yes)$/i.test(String(m.doNotTrack))||i.ignoreHosts.indexOf(location.hostname)!==-1)return!0;var e=new URLSearchParams(location.search);return i.ignoreQueryParams.some(function(t){return e.has(t)})}function mr(e){var t=l();if(!(j&&t-j.t<55)){var r={x:e.clientX,y:e.clientY,t};if(j){var a=r.x-j.x,o=r.y-j.y,s=Math.sqrt(a*a+o*o);s>2&&(r.d=s,L.push(r),L.length>40&&L.shift(),n.pointerMoves++,n.mouseMoves++,n.categories.pointer=!0)}j=r,g()}}function gr(e){if(n.lastTouchStart){var t=n.lastTouchStart,r=l()-t.t,a=e.clientX-t.x,o=e.clientY-t.y,s=Math.sqrt(a*a+o*o);n.touchPoints.push({x:Math.round(e.clientX/12)*12,y:Math.round(e.clientY/12)*12}),n.touchPoints.length>24&&n.touchPoints.shift(),n.touchVariety=nn(n.touchPoints),s<12&&r>=35&&r<=900&&(n.touchTaps++,n.categories.tap=!0),s>=35&&r>=70&&(n.touchSwipes++,n.categories.swipe=!0),s<16&&r>650&&(n.touchLongPresses++,n.categories.longpress=!0),n.lastTouchStart=null,g()}}function hr(e){var t={x:e.deltaX||0,y:e.deltaY||0,mode:e.deltaMode,t:l()},r=V.length?V[V.length-1]:null;n.wheelEvents++,n.categories.wheel=!0,r&&t.y&&r.y&&Ht(t.y)!==Ht(r.y)&&n.wheelDirectionChanges++,V.push(t),V.length>28&&V.shift(),pr()}function pr(){if(!(V.length<5)){for(var e=V.slice(-8),t=[],r=0,a=1;a<e.length;a++)t.push(e[a].t-e[a-1].t),r+=Math.abs(e[a].y);var o=t.reduce(function(c,f){return c+f},0)/t.length,s=t.reduce(function(c,f){return c+Math.pow(f-o,2)},0)/t.length;o>=12&&o<=180&&s>20&&r>80&&n.wheelNaturalBursts++,(o<8||s<2&&r>1200)&&n.wheelSuspiciousBursts++}}function vr(e){var t=O(e.target,i.genericInteractiveSelector);n.clicks++,n.categories.click=!0,br(e),t&&(n.featureInteractions++,n.categories.feature=!0,t.__realEngagedHoverAt&&l()-t.__realEngagedHoverAt<4e3&&(n.hoverBeforeClick++,n.categories.hover=!0),Yr(t)&&(n.semanticHighIntentInteractions++,n.importantInteractions++,n.categories.semantic_intent=!0,n.categories.important=!0)),Ur(e.target)&&(n.importantInteractions++,n.categories.important=!0)}function wr(e){n.keys++,n.categories.keyboard=!0,e.key==="Tab"&&(n.tabKeys++,n.categories.keyboard_nav=!0),(e.key==="Enter"||e.key===" ")&&(n.enterSpaceKeys++,Lt(document.activeElement)&&(n.keyboardActivations++,n.featureInteractions++,n.categories.keyboard_activation=!0,n.categories.feature=!0))}function ht(e){var t=O(e,"form")||e,r=Le.get(t);r||(r={startedAt:l(),fields:new WeakSet,fieldCount:0},Le.set(t,r)),Pe(e)&&!r.fields.has(e)&&(r.fields.add(e),r.fieldCount++)}function yr(e){ht(e);var t=O(e,"form")||e,r=Le.get(t);
1return r?r.fieldCount:n.changedFields}function Sr(e){Q&&(n.formDwellMs+=e)}function br(e){var t={x:Math.round(e.clientX/10)*10,y:Math.round(e.clientY/10)*10,t:l()};me.push(t),me.length>18&&me.shift();var r=me.filter(function(a){return a.x===t.x&&a.y===t.y}).length;r>=4&&n.repeatedClicks++}function pt(){var e=document.documentElement,t=document.body,r=Math.max(t?t.scrollHeight:0,e?e.scrollHeight:0),a=window.innerHeight||e.clientHeight||0,o=Math.max(1,r-a),s=window.pageYOffset||e.scrollTop||t&&t.scrollTop||0,c=p(s/o,0,1);n.pageScrollablePx=Math.max(0,r-a),n.isShortPage=Se(),n.maxScrollRatio=Math.max(n.maxScrollRatio,c),c>=.95&&l()-Math.max(et,tt)<2500&&(n.instantBottomScroll=!0)}function Mr(){var e=document.documentElement,t=window.pageYOffset||e.scrollTop||0,r={y:t,t:l()},a=K.length?K[K.length-1]:null;if(K.push(r),K.length>24&&K.shift(),!!a){var o=Math.max(1,r.t-a.t),s=Math.abs(r.y-a.y),c=s/o*1e3;c>4500&&n.rapidScrolls++}}function kr(e){I.forEach(function(t){var r=at.get(t.name)||0,a=r+e;if(at.set(t.name,a),a>=i.minBlockViewMs&&(n.viewedBlocks.add(t.name),n.categories.content=!0),a>=t.expectedReadMs*i.minReadingDwellRatio&&!Ae.has(t.name)&&(Ae.add(t.name),n.readingQualifiedBlocks=Ae.size,n.categories.reading=!0),t.meaningful){var o=ot.get(t.name)||0,s=o+e;ot.set(t.name,s),n.meaningfulViewportDwellMs+=e,s>=Oe()&&(n.meaningfulViewportBlocks.add(t.name),n.categories.meaningful_view=!0)}})}function Y(){var e=Object.keys(n.categories).length,t=n.activeVisibleMs/1e3,r=Er(),a=Pr(t,e,r),o=Dr(t),s=Cr(a,o,r,e);return{humanScore:a,engagementScore:o,fraudScore:r,categoryCount:e,level:s}}function Pr(e,t,r){var a=0,o=xr(),s=N();return a+=e>=3?8:0,a+=n.activeVisibleMs>=le()?12:0,a+=t>=2?10:0,a+=t>=3?8:0,m.isTouchDevice?(a+=o,a+=Math.min(8,n.pointerMoves/8)):s?a+=_r():(a+=Math.min(18,n.pointerMoves/3),a+=jr(),a+=Math.min(10,n.clicks*5),a+=Math.min(8,n.hoverBeforeClick*4),a+=Math.min(8,n.wheelNaturalBursts*2)),a+=Math.min(12,n.scrolls*2),a+=Math.min(10,n.keys*3),a+=Math.min(8,n.formInputs*4),a+=n.scrollPauses>0?5:0,a-=Math.round(r*.55),p(Math.round(a),0,100)}function xr(){var e=0;return e+=Math.min(16,n.touchStarts*4),e+=Math.min(18,n.touchTaps*6),e+=Math.min(18,n.touchSwipes*6),e+=Math.min(10,n.touchLongPresses*5),e+=Math.min(12,n.touchVariety*3),e+=Math.min(8,n.multiTouchStarts*4),e+=n.touchStarts>0&&n.scrolls>0?10:0,e+=n.touchTaps>0&&n.featureInteractions>0?12:0,e}function _r(){var e=0;return e+=Math.min(18,n.tabKeys*4),e+=Math.min(18,n.focusMoves*3),e+=Math.min(16,n.keyboardActivations*8),e+=Math.min(12,n.enterSpaceKeys*4),e+=n.formInputs>0?12:0,e+=n.scrolls>0||n.wheelEvents>0?8:0,e}function Dr(e){var t=0;return t+=Math.min(22,e*1.1),t+=Math.min(24,n.maxScrollRatio*34),t+=Math.min(16,n.scrollPauses*5),t+=Math.min(18,n.viewedBlocks.size*4),t+=Math.min(14,n.meaningfulViewportBlocks.size*6),t+=Math.min(14,n.readingQualifiedBlocks*5),t+=Math.min(12,Qr()),t+=Math.min(20,n.featureInteractions*10),t+=Math.min(18,n.importantInteractions*12),t+=Math.min(16,n.semanticHighIntentInteractions*16),t+=Math.min(18,n.formInputs*6),t+=Math.min(12,n.changedFields*4),t+=n.formDwellMs>=3e3?8:0,t+=n.formSubmitAttempts>0?18:0,t+=Math.min(12,n.mediaPlays*12),t+=Math.min(18,Kr()),t+=Math.min(10,n.textSelections*5),t+=Math.min(10,n.wheelNaturalBursts*2),t+=Math.min(6,n.routeChanges*3),(n.viewedBlocks.size>=2||pe())&&n.scrollPauses>=1&&(t+=8),m.isTouchDevice&&n.touchSwipes>=2&&n.scrollPauses>=1&&(t+=8),N()&&n.focusMoves>=3&&n.keyboardActivations>0&&(t+=8),p(Math.round(t),0,100)}function Er(){var e=q.score,t=zr();return e+=Math.min(gt(),u.score),e+=Math.min(24,n.syntheticEvents*4),e+=Math.min(14,n.hiddenEventCount*3),e+=Math.min(12,n.repeatedClicks*4),e+=Math.min(14,n.rapidScrolls*3),e+=Math.min(14,n.wheelSuspiciousBursts*3),e+=n.instantBottomScroll?16:0,e+=de&&de-et<120?12:0,e+=t>.88&&B.length>=8?16:0,e+=n.clicks>=4&&n.activeVisibleMs<2e3?10:0,e+=n.scrolls>=8&&n.scrollPauses===0?8:0,e+=n.wheelEvents>=8&&n.scrolls===0?6:0,e+=n.formSubmitAttempts>0&&n.formDwellMs<700?10:0,p(Math.round(e),0,100)}function Cr(e,t,r,a){var o=m.isTouchDevice?yt():N()?St():wt(),s=m.isTouchDevice?Mt():bt();return r>Fe()?"blocked":e<o||a<kt()?"none":t>=s+18&&Tr()?"highIntent":t>=s&&Ve()?"engaged":"candidate"}function Tr(){return n.semanticHighIntentInteractions>0||n.formSubmitAttempts>0||n.changedFields>=2||n.mediaProgress50>0||n.keyboardActivations>=2}function Ve(){return n.featureInteractions>0||n.importantInteractions>0||n.formInputs>0||n.formDwellMs>=3e3||n.mediaPlays>0||n.mediaProgress25>0||n.textSelections>0||n.maxScrollRatio>=.45||n.viewedBlocks.size>=2||n.meaningfulViewportBlocks.size>=1||n.readingQualifiedBlocks>=1||n.activeVisibleMs>=25e3||m.isTouchDevice&&n.touchSwipes>=2&&n.scrollPauses>=1||N()&&n.focusMoves>=3&&n.keyboardActivations>0}function J(e){var t=[],r=le();return e.level!=="engaged"&&e.level!=="highIntent"&&t.push("level_not_engaged"),i.requireMinActiveTime&&n.activeVisibleMs<r&&t.push("min_active_time"),
1Ve()||t.push("not_interested"),Pt()&&!he()&&t.push("scroll_intent"),i.requireConsent&&!Z()&&t.push("consent_required"),ze(i.goalId)||t.push("daily_limit"),{basePassed:t.length===0,reasons:t,daily:ue(i.goalId),consent:{required:!!i.requireConsent,passed:Z()},scrollIntent:{passed:he(),adaptiveShortPage:!!(i.adaptiveShortPageGate&&Se()),shortPageIntent:vt(),pauses:n.scrollPauses,minPauses:ve(),depth:n.maxScrollRatio,minDepth:we(),meaningfulViewport:pe(),meaningfulViewportBlocks:n.meaningfulViewportBlocks.size,minMeaningfulViewportBlocks:xt(),meaningfulViewportDwellMs:n.meaningfulViewportDwellMs,minMeaningfulViewportDwellMs:Oe(),scrollablePx:n.pageScrollablePx,shortPageMaxScrollablePx:i.shortPageMaxScrollablePx},activeTime:{passed:!i.requireMinActiveTime||n.activeVisibleMs>=r,currentMs:n.activeVisibleMs,minMs:r},stability:{required:i.requireEngagedStability,currentMs:S?l()-S:0,minMs:ye()},adaptive:{traffic:d.traffic.segment,page:d.page.type,appliedRules:d.appliedRules.slice(),thresholds:{minHumanScore:m.isTouchDevice?yt():N()?St():wt(),minEngagementScore:m.isTouchDevice?Mt():bt(),maxFraudScore:Fe(),minBehaviorTypes:kt()}}}}function he(){return i.adaptiveShortPageGate&&Se()?!i.shortPageRequiresAnyIntent||vt():n.scrollPauses>=ve()||n.maxScrollRatio>=we()||pe()}function pe(){return n.meaningfulViewportBlocks.size>=xt()||n.meaningfulViewportDwellMs>=Oe()*2}function vt(){return n.activeVisibleMs>=le()||n.featureInteractions>0||n.importantInteractions>0||n.semanticHighIntentInteractions>0||n.formInputs>0||n.formDwellMs>=3e3||n.mediaProgress25>0||n.textSelections>0||n.viewedBlocks.size>=1||n.meaningfulViewportBlocks.size>=1||n.readingQualifiedBlocks>=1||n.clicks>=1||n.keys>=2||n.touchTaps>=1}function wt(){return p(i.minHumanScore+_("minHumanScoreDelta"),0,100)}function yt(){return p(i.touchMinHumanScore+_("minHumanScoreDelta"),0,100)}function St(){return p(i.keyboardMinHumanScore+_("minHumanScoreDelta"),0,100)}function bt(){return p(i.minEngagementScore+_("minEngagementScoreDelta"),0,100)}function Mt(){return p(i.touchMinEngagementScore+_("minEngagementScoreDelta"),0,100)}function Fe(){return p(i.maxFraudScore+_("maxFraudScoreDelta"),0,100)}function kt(){return Math.max(1,Math.round(i.minBehaviorTypes+_("minBehaviorTypesDelta")))}function le(){var e=i.minActiveMs;return i.adaptiveShortPageGate&&Se()&&(e=i.shortPageMinActiveMs||i.minActiveMs),Math.max(0,Math.round(e+_("minActiveMsDelta")))}function ve(){return Math.max(0,Math.round(i.minScrollPausesForIntent+_("minScrollPausesDelta")))}function we(){return p(i.minScrollDepthRatioForIntent+_("minScrollDepthRatioDelta"),.05,.98)}function ye(){return Math.max(0,Math.round(i.engagedStableMs+_("engagedStableMsDelta")))}function Pt(){var e=d.adjustments.requireScrollIntentGate;return typeof e=="boolean"?e:!!i.requireScrollIntentGate}function xt(){var e=d.adjustments.minMeaningfulViewportBlocks;return typeof e=="number"?Math.max(1,Math.round(e)):Math.max(1,Math.round(i.minMeaningfulViewportBlocks||1))}function Oe(){var e=d.adjustments.minMeaningfulViewportDwellMs;return typeof e=="number"?Math.max(500,Math.round(e)):Math.max(500,Math.round(i.minMeaningfulViewportDwellMs||i.minBlockViewMs))}function _(e){var t=d&&d.adjustments?d.adjustments[e]:0;return typeof t=="number"&&isFinite(t)?t:0}function Se(){var e=document.documentElement,t=document.body,r=window.innerHeight||e.clientHeight||0,a=Math.max(t?t.scrollHeight:0,e?e.scrollHeight:0),o=Math.max(0,a-r);return n.pageScrollablePx=o,n.isShortPage=o<=i.shortPageMaxScrollablePx,n.isShortPage}function He(e){var t=d?d.traffic.segment+"|"+d.page.type+"|"+d.appliedRules.join(","):"",r=i.adaptiveTraffic&&i.adaptiveTraffic.enabled?Rr():{segment:"disabled",source:"",medium:"",referrerHost:"",flags:[]},a=i.autoPageProfile&&i.autoPageProfile.enabled?Lr():{type:"disabled",confidence:0,flags:[]},o=Ar(r,a),s=r.segment+"|"+a.type+"|"+o.appliedRules.join(",");d={traffic:r,page:a,adjustments:o.adjustments,appliedRules:o.appliedRules},(e||t!==s)&&y("adaptive context",d)}function Ar(e,t){var r=_t(),a=[],o=i.adaptiveTraffic&&i.adaptiveTraffic.rules?i.adaptiveTraffic.rules:{},s=i.autoPageProfile&&i.autoPageProfile.rules?i.autoPageProfile.rules:{};
1return i.adaptiveTraffic&&i.adaptiveTraffic.enabled&&(qe(r,o[e.segment],"traffic:"+e.segment,a),e.inApp&&e.segment!=="inApp"&&qe(r,o.inApp,"traffic:inApp",a)),i.autoPageProfile&&i.autoPageProfile.enabled&&t.confidence>=(i.autoPageProfile.minConfidence||0)&&qe(r,s[t.type],"page:"+t.type,a),{adjustments:r,appliedRules:a}}function _t(){return{minHumanScoreDelta:0,minEngagementScoreDelta:0,maxFraudScoreDelta:0,minActiveMsDelta:0,minBehaviorTypesDelta:0,minScrollPausesDelta:0,minScrollDepthRatioDelta:0,engagedStableMsDelta:0,requireScrollIntentGate:null,minMeaningfulViewportBlocks:null,minMeaningfulViewportDwellMs:null}}function qe(e,t,r,a){!t||typeof t!="object"||(["minHumanScoreDelta","minEngagementScoreDelta","maxFraudScoreDelta","minActiveMsDelta","minBehaviorTypesDelta","minScrollPausesDelta","minScrollDepthRatioDelta","engagedStableMsDelta"].forEach(function(o){typeof t[o]=="number"&&isFinite(t[o])&&(e[o]+=t[o])}),typeof t.requireScrollIntentGate=="boolean"&&(e.requireScrollIntentGate=t.requireScrollIntentGate),typeof t.minMeaningfulViewportBlocks=="number"&&(e.minMeaningfulViewportBlocks=t.minMeaningfulViewportBlocks),typeof t.minMeaningfulViewportDwellMs=="number"&&(e.minMeaningfulViewportDwellMs=t.minMeaningfulViewportDwellMs),a.push(r))}function Rr(){var e=i.adaptiveTraffic||{},t=new URLSearchParams(location.search||""),r=Et(Dt(t,["utm_source","source","from"])),a=Et(Dt(t,["utm_medium","medium"])),o=Fr(),s=Vr(t,e.paidClickParams||[]),c=$(e.inAppPattern,m.userAgent),f=$(e.socialSourcePattern,r)||$(e.socialReferrerPattern,o)||a==="social"||a==="smm",D=!!s||$(e.paidMediumPattern,a),h=$(e.organicMediumPattern,a)||$(e.searchReferrerPattern,o),E="direct",R=[];return D?(E="paid",R.push("paid")):f?(E="social",R.push("social")):h?(E="organic",R.push("organic")):o?(E="referral",R.push("referral")):c&&(E="inApp",R.push("in_app")),s&&R.push("paid_click:"+s),c&&R.indexOf("in_app")===-1&&R.push("in_app"),{segment:E,source:r,medium:a,referrerHost:o,paidClickParam:s,inApp:c,flags:R}}function Lr(){if(!document.body)return{type:"unknown",confidence:0,flags:[]};var e=Ir(),t=[];X(t,"short",n.isShortPage?2:0,1,["short_scroll"]),X(t,"form",(e.forms>0?3:0)+(e.formControls>=2?2:0)+(e.submitControls>0?1:0),5,["forms:"+e.forms,"fields:"+e.formControls]),X(t,"video",(e.media>0?4:0)+(e.textLength<2500?1:0),4,["media:"+e.media]),X(t,"article",(e.articleTags>0?3:0)+(e.textLength>=2400?3:0)+(e.paragraphs>=5?1:0)+(e.headings>=2?1:0)+(e.linkDensity<.18?1:0),3,["text:"+e.textLength,"paragraphs:"+e.paragraphs]),X(t,"catalog",(e.productSemantics>=3?4:0)+(e.links>=18?2:0)+(e.listItems>=12&&e.links>=12?2:0)+(e.controls>=8?1:0),2,["links:"+e.links,"items:"+e.listItems]),X(t,"webapp",(e.appRoles>0?3:0)+(e.controls>=12&&e.textLength<4e3?2:0)+(e.canvas>0&&e.controls>=4?2:0)+(e.buttons>e.links&&e.forms===0?1:0),2,["controls:"+e.controls,"app_roles:"+e.appRoles]),t.sort(function(a,o){return o.confidence-a.confidence||o.priority-a.priority});var r=t[0]||{type:"unknown",confidence:0,flags:[]};return r.confidence<(i.autoPageProfile.minConfidence||0)?{type:"unknown",confidence:r.confidence,flags:r.flags,stats:e}:{type:r.type,confidence:r.confidence,flags:r.flags,stats:e}}function Ir(){var e=document.querySelector("main,[role='main'],article,[role='article']")||document.body,t=G(e.textContent||"").length,r=document.querySelectorAll("a[href],[role='link']").length;return{textLength:t,links:r,buttons:document.querySelectorAll("button,[role='button']").length,controls:document.querySelectorAll('button,input,textarea,select,summary,[role="button"],[role="tab"],[role="menuitem"],[contenteditable="true"]').length,forms:document.querySelectorAll("form").length,formControls:document.querySelectorAll('input:not([type="hidden"]),textarea,select,[contenteditable="true"]').length,submitControls:document.querySelectorAll('button[type="submit"],input[type="submit"]').length,media:document.querySelectorAll("video,audio").length,headings:e.querySelectorAll?e.querySelectorAll("h1,h2,h3,h4,h5,h6").length:0,paragraphs:e.querySelectorAll?e.querySelectorAll("p,li,blockquote").length:0,listItems:document.querySelectorAll("li").length,articleTags:document.querySelectorAll("article,[role='article']").length,productSemantics:document.querySelectorAll("[itemtype*='Product'],[itemprop='offers'],[itemprop='price']").length,appRoles:document.querySelectorAll("[role='application'],[role='grid'],[role='tree'],[aria-live]").length,canvas:document.querySelectorAll("canvas").length,linkDensity:t?r/Math.max(1,t/250):r}}function X(e,t,r,a,o){r<=0||e.push({type:t,confidence:r,priority:a,flags:o})}function Br(e){if(!e||!e.target)return!1;var t=e.intersectionRect||{},r=Math.max(0,t.width||0)*Math.max(0,t.height||0);return e.intersectionRatio>=i.meaningfulViewportMinRatio&&r>=i.meaningfulViewportMinArea&&je(e.target)}function Dt(e,t){for(var r=0;r<t.length;r++){var a=e.get(t[r]);if(a)return a}return""}function Vr(e,t){for(var r=0;r<t.length;r++)if(e.has(t[r]))return t[r];return""}function Fr(){if(!document.referrer)return"";try{return new URL(document.referrer).hostname.toLowerCase()}catch{return""}}function Et(e){return G(e||"").toLowerCase().slice(0,60)}function $(e,t){if(!e||!t)return!1;try{return new RegExp(e,"i").test(String(t))}catch{return!1}}function Z(){if(!i.requireConsent)return!0;
1if(typeof i.consentCheck=="function")try{return be(i.consentCheck())}catch{return!1}if(i.consentStorageKey){var e=re(i.consentStorageKey);if(be(e))return!0}if(i.consentCookieName){var t=_n(i.consentCookieName);if(be(t))return!0}if(i.consentGlobalName){var r=Dn(window,i.consentGlobalName);if(be(r))return!0}return!1}function be(e){return i.consentAcceptedValues.some(function(t){return String(e).toLowerCase()===String(t).toLowerCase()})}function g(){if(!Ee()&&!(ne||q.hardBlock)){var e=Y(),t=J(e);if(se=!1,y("scores",e,t,De()),i.requireConsent&&!Z()){S=0;return}if(i.sendDiagnosticLevelGoals&&!i.calibrationMode&&(We(e,"candidate"),We(e,"engaged"),We(e,"highIntent")),!t.basePassed){S=0;return}if(S||(S=l()),!(i.requireEngagedStability&&l()-S<ye())){if(se=!0,i.calibrationMode){y("calibration would send",i.goalId,e,t);return}Ct(i.goalId,e,function(){ne=!0,mn(i.goalId),on(),y("goal sent",i.goalId,e)},{applyDailyLimit:!0})}}}function Or(){if(i.calibrationMode&&!(l()-ct<i.calibrationLogIntervalMs)){ct=l();var e=Y(),t=J(e),r=t.basePassed&&(!i.requireEngagedStability||S&&l()-S>=ye());y("calibration",{wouldSend:!!r,scores:e,gate:t,reasons:Ne(e,t),snapshot:De()})}}function Hr(){var e=Y(),t=J(e),r=[],a=[],o=le(),s=Math.max(0,o-n.activeVisibleMs),c=Math.max(0,ve()-n.scrollPauses),f=Math.max(0,Math.round((we()-n.maxScrollRatio)*100));return Ee()&&(r.push("fail_safe_blocked"),a.push("\u041F\u0440\u043E\u0432\u0435\u0440\u0438\u0442\u044C failSafe.errors: \u0435\u0441\u0442\u044C \u0432\u043D\u0443\u0442\u0440\u0435\u043D\u043D\u044F\u044F \u043E\u0448\u0438\u0431\u043A\u0430, \u0446\u0435\u043B\u044C \u0437\u0430\u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u0430\u043D\u0430 fail-closed \u0440\u0435\u0436\u0438\u043C\u043E\u043C.")),e.level!=="engaged"&&e.level!=="highIntent"&&(r.push("level_not_engaged"),a.push("\u041D\u0443\u0436\u043D\u043E \u0431\u043E\u043B\u044C\u0448\u0435 \u0440\u0435\u0430\u043B\u044C\u043D\u043E\u0433\u043E \u043F\u043E\u0432\u0435\u0434\u0435\u043D\u0438\u044F \u0438\u043B\u0438 \u0432\u043E\u0432\u043B\u0435\u0447\u0435\u043D\u043D\u043E\u0441\u0442\u0438: \u0447\u0442\u0435\u043D\u0438\u0435, \u0441\u043A\u0440\u043E\u043B\u043B-\u043F\u0430\u0443\u0437\u044B, \u0444\u043E\u0440\u043C\u0430, media \u0438\u043B\u0438 \u0432\u0430\u0436\u043D\u044B\u0439 \u043A\u043B\u0438\u043A.")),s>0&&(r.push("min_active_time"),a.push("\u041D\u0435 \u0445\u0432\u0430\u0442\u0430\u0435\u0442 \u043F\u0440\u0438\u043C\u0435\u0440\u043D\u043E "+Math.ceil(s/1e3)+" \u0441\u0435\u043A. \u0430\u043A\u0442\u0438\u0432\u043D\u043E\u0433\u043E \u0432\u0438\u0434\u0438\u043C\u043E\u0433\u043E \u0432\u0440\u0435\u043C\u0435\u043D\u0438.")),Ve()||(r.push("not_interested"),a.push("\u041D\u0435\u0442 \u044F\u0432\u043D\u043E\u0433\u043E \u0438\u043D\u0442\u0435\u0440\u0435\u0441\u0430: \u043D\u0443\u0436\u0435\u043D \u0432\u0430\u0436\u043D\u044B\u0439 \u043A\u043B\u0438\u043A, \u0447\u0442\u0435\u043D\u0438\u0435 \u0431\u043B\u043E\u043A\u0430, \u0444\u043E\u0440\u043C\u0430, media \u0438\u043B\u0438 \u0434\u043E\u0441\u0442\u0430\u0442\u043E\u0447\u043D\u044B\u0439 \u0441\u043A\u0440\u043E\u043B\u043B.")),Pt()&&!he()&&(r.push("scroll_intent"),a.push("\u041D\u0443\u0436\u043D\u044B \u0435\u0449\u0435 "+c+" \u043F\u0430\u0443\u0437(\u044B) \u043F\u0440\u0438 \u0441\u043A\u0440\u043E\u043B\u043B\u0435 \u0438\u043B\u0438 \u043F\u0440\u0438\u043C\u0435\u0440\u043D\u043E +"+f+"% \u0433\u043B\u0443\u0431\u0438\u043D\u044B \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u044B.")),i.requireConsent&&!Z()&&(r.push("consent_required"),a.push("\u0412\u043A\u043B\u044E\u0447\u0435\u043D consent gate: \u043D\u0443\u0436\u043D\u043E \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C \u0441\u043E\u0433\u043B\u0430\u0441\u0438\u0435 \u043D\u0430 \u0430\u043D\u0430\u043B\u0438\u0442\u0438\u043A\u0443.")),ze(i.goalId)||(r.push("daily_limit"),a.push("\u0414\u043D\u0435\u0432\u043D\u043E\u0439 \u043B\u0438\u043C\u0438\u0442 \u0446\u0435\u043B\u0438 \u0443\u0436\u0435 \u0438\u0441\u0447\u0435\u0440\u043F\u0430\u043D \u0434\u043B\u044F \u044D\u0442\u043E\u0433\u043E \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430.")),e.fraudScore>Fe()&&(r.push("fraud_score"),a.push("Fraud score \u0432\u044B\u0448\u0435 \u043B\u0438\u043C\u0438\u0442\u0430. \u041F\u0440\u043E\u0432\u0435\u0440\u044C\u0442\u0435 runtime/tech flags \u0438 \u0442\u0435\u0441\u0442\u043E\u0432\u044B\u0435 \u043E\u043A\u0440\u0443\u0436\u0435\u043D\u0438\u044F.")),!r.length&&i.requireEngagedStability&&(!S||l()-S<ye())&&(r.push("stability_wait"),a.push("Gate \u043F\u0440\u043E\u0439\u0434\u0435\u043D, \u0438\u0434\u0435\u0442 \u043E\u0436\u0438\u0434\u0430\u043D\u0438\u0435 \u0441\u0442\u0430\u0431\u0438\u043B\u044C\u043D\u043E\u0441\u0442\u0438 engaged-\u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u044F.")),!r.length&&i.calibrationMode&&a.push("\u0412\u0441\u0435 \u0443\u0441\u043B\u043E\u0432\u0438\u044F \u043F\u0440\u043E\u0439\u0434\u0435\u043D\u044B, \u043D\u043E \u0432\u043A\u043B\u044E\u0447\u0435\u043D calibrationMode: \u0440\u0435\u0430\u043B\u044C\u043D\u043E\u0439 \u043E\u0442\u043F\u0440\u0430\u0432\u043A\u0438 \u043D\u0435\u0442."),!r.length&&!i.calibrationMode&&a.push("\u0412\u0441\u0435 \u0443\u0441\u043B\u043E\u0432\u0438\u044F \u043F\u0440\u043E\u0439\u0434\u0435\u043D\u044B: \u0441\u043A\u0440\u0438\u043F\u0442 \u0433\u043E\u0442\u043E\u0432 \u043E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C \u0438\u043B\u0438 \u0443\u0436\u0435 \u043E\u0442\u043F\u0440\u0430\u0432\u0438\u043B \u0446\u0435\u043B\u044C."),{summary:r.length?"\u0426\u0435\u043B\u044C \u043F\u043E\u043A\u0430 \u043D\u0435 \u0433\u043E\u0442\u043E\u0432\u0430 \u043A \u043E\u0442\u043F\u0440\u0430\u0432\u043A\u0435.":"\u0426\u0435\u043B\u044C \u0433\u043E\u0442\u043E\u0432\u0430 \u043A \u043E\u0442\u043F\u0440\u0430\u0432\u043A\u0435.",wouldSend:se||!r.length&&!Ee(),sent:ne,calibrationMode:i.calibrationMode,blockers:Ot(r),nextSteps:Ot(a),scores:e,gate:t,reasonCodes:Ne(e,t),adaptive:{traffic:d.traffic,page:d.page,appliedRules:d.appliedRules.slice()},failSafe:{blocked:C.blocked,failOpen:i.failOpen,errors:C.errors.slice()}}}function Ne(e,t){var r=[];return r.push("profile:"+i.profile),r.push("level:"+e.level),r.push("traffic:"+d.traffic.segment),r.push("page:"+d.page.type),t.basePassed&&r.push("gate:passed"),i.calibrationMode&&r.push("mode:calibration"),m.isTouchDevice&&r.push("device:touch"),N()&&r.push("input:keyboard"),n.isShortPage&&r.push("page:short"),n.activeVisibleMs>=le()&&r.push("active:passed"),he()&&r.push("scroll:passed"),n.scrollPauses>=ve()&&r.push("scroll:pauses"),n.maxScrollRatio>=we()&&r.push("scroll:depth"),pe()&&r.push("scroll:meaningful_viewport"),n.readingQualifiedBlocks>0&&r.push("intent:reading"),n.semanticHighIntentInteractions>0&&r.push("intent:semantic"),(n.formInputs>0||n.formSubmitAttempts>0)&&r.push("intent:form"),n.mediaProgress25>0&&r.push("intent:media"),u.score>0&&r.push("risk:runtime"),q.flags.length>0&&r.push("risk:tech"),d.appliedRules.slice(0,4).forEach(function(a){r.push("adaptive:"+a)}),t.reasons.forEach(function(a){r.push("block:"+a)}),r.slice(0,20)}function We(e,t){var r={candidate:1,engaged:2,highIntent:3};Ce[t]||!i.goals||!i.goals[t]||!r[e.level]||r[e.level]<r[t]||Ct(i.goals[t],e,function(){Ce[t]=!0},{applyDailyLimit:i.dailyLimitAppliesToDiagnosticGoals})}function Ct(e,t,r,a){if(a=a||{},!Ee()){if(!i.counterId){y("counterId is not configured");return}if(a.applyDailyLimit&&!ze(e)){y("daily limit reached",ue(e));return}var o=null;if(a.applyDailyLimit&&i.sendLockEnabled&&(o=sn(e),!o)){y("send lock active",e);return}if(!Nr(e,qr(e,t),r,o)){Ke(o);return}ee()}}function qr(e,t){var r=J(t),a={script_version:i.scriptVersion,human_score:t.humanScore,engagement_score:t.engagementScore,fraud_score:t.fraudScore,behavior_types:t.categoryCount,behavior_level:t.level,active_time_sec:Math.round(n.activeVisibleMs/1e3),scroll_depth_pct:Math.round(n.maxScrollRatio*100),viewed_blocks:n.viewedBlocks.size,meaningful_viewport_blocks:n.meaningfulViewportBlocks.size,meaningful_viewport_dwell_sec:Math.round(n.meaningfulViewportDwellMs/1e3),reading_blocks:n.readingQualifiedBlocks,meaningful_blocks:n.meaningfulBlocks,feature_interactions:n.featureInteractions,important_interactions:n.importantInteractions,semantic_intent:n.semanticHighIntentInteractions,input_events:n.formInputs,changed_fields:n.changedFields,form_dwell_sec:Math.round(n.formDwellMs/1e3),media_progress_25:n.mediaProgress25,media_progress_50:n.mediaProgress50,keyboard_nav:N()?1:0,touch_device:m.isTouchDevice?1:0,touch_taps:n.touchTaps,touch_swipes:n.touchSwipes,wheel_events:n.wheelEvents,daily_goal_count_before:ue(e).count,runtime_risk:u.score};return i.adaptiveTraffic&&i.adaptiveTraffic.sendContext&&(a.traffic_segment=d.traffic.segment),i.autoPageProfile&&i.autoPageProfile.sendContext&&(a.page_type=d.page.type,a.page_type_confidence=d.page.confidence),(i.adaptiveTraffic&&i.adaptiveTraffic.sendContext||i.autoPageProfile&&i.autoPageProfile.sendContext)&&(a.adaptive_rules=d.appliedRules.slice(0,6).join(",")),i.adaptiveTraffic&&i.adaptiveTraffic.sendDetails&&(a.traffic_medium=d.traffic.medium||"",a.traffic_source=d.traffic.source||"",a.traffic_referrer_host=d.traffic.referrerHost||""),i.sendReasonCodes&&(a.reason_codes=Ne(t,r).join(","),a.gate_reasons=r.reasons.join(",")),i.sendRuntimeDetails&&(a.runtime_flags=u.flags.slice(0,8).join(","),a.tech_flags=q.flags.slice(0,5).join(",")),i.sendRuntimeDetails&&i.sendWebGLRenderer&&(a.webgl_renderer=u.webgl&&u.webgl.renderer?u.webgl.renderer.slice(0,80):""),a}function Nr(e,t,r,a){return!i.ymQueueEnabled&&typeof window.ym!="function"||ae[e]?!1:P.length>
1=i.ymQueueMaxItems?(y("ym queue full",e),!1):(ae[e]=!0,P.push({goalId:e,payload:t,onSuccess:r,lockToken:a,attempts:0,createdAt:l(),lastError:""}),!0)}function ee(){if(P.length){if(typeof window.ym!="function"){Wr("ym_unavailable"),Tt();return}for(var e=[];P.length;){var t=P.shift();if(Rt(t)){Ge(t,"queue_expired");continue}t.attempts++;try{window.ym(i.counterId,"reachGoal",t.goalId,t.payload),delete ae[t.goalId],t.onSuccess&&t.onSuccess(),Qe("goal-sent",{goalId:t.goalId,at:l()}),Ke(t.lockToken)}catch(r){t.lastError=A(r),At(t)?e.push(t):Ge(t,"ym_error:"+t.lastError)}}P=e.concat(P),P.length&&Tt()}}function Tt(){Ie||!P.length||(Ie=setTimeout(function(){Ie=null,ee()},Gr()))}function Wr(e){P=P.filter(function(t){return t.attempts++,At(t)?!0:(Ge(t,e),!1)})}function At(e){return i.ymQueueEnabled&&!Rt(e)&&e.attempts<i.ymSendMaxAttempts}function Rt(e){return l()-e.createdAt>i.ymQueueTtlMs}function Ge(e,t){delete ae[e.goalId],Ke(e.lockToken),y("ym queued goal dropped",e.goalId,t)}function Gr(){var e=P.reduce(function(a,o){return Math.max(a,o.attempts||0)},0),t=Math.max(100,i.ymSendRetryMs||1e3),r=Math.pow(Math.max(1,i.ymSendRetryBackoff||1),e);return Math.min(Math.round(t*r),i.ymSendMaxRetryMs||5e3)}function jr(){if(L.length<8)return 0;var e=L.map(function(h){return h.d||0}).filter(Boolean);if(e.length<6)return 0;var t=e.reduce(function(h,E){return h+E},0),r=L[0],a=L[L.length-1],o=Math.sqrt(Math.pow(a.x-r.x,2)+Math.pow(a.y-r.y,2)),s=t/e.length,c=e.reduce(function(h,E){return h+Math.pow(E-s,2)},0)/e.length,f=o>0?t/o:1,D=0;return f>1.05&&f<8&&(D+=8),c>5&&(D+=8),s>2&&s<250&&(D+=4),D}function Kr(){return n.mediaProgress25*6+n.mediaProgress50*8+n.mediaProgress75*10}function Qr(){var e=0;return I.forEach(function(t){n.viewedBlocks.has(t.name)&&(e+=t.weight)}),e}function zr(){if(B.length<8)return 0;for(var e=[],t=1;t<B.length;t++)e.push(B[t]-B[t-1]);var r=e.reduce(function(s,c){return s+c},0)/e.length;if(!r)return 0;var a=e.reduce(function(s,c){return s+Math.pow(c-r,2)},0)/e.length,o=Math.sqrt(a)/r;return p(1-o,0,1)}function x(){de||(de=l()),(document.hidden||!H)&&n.hiddenEventCount++,B.push(l()),B.length>32&&B.shift()}function k(e){e&&e.isTrusted===!1&&n.syntheticEvents++}function T(e){return e&&e.isTrusted===!0}function N(){return n.tabKeys>=2||n.focusMoves>=3&&n.pointerMoves===0&&n.touchStarts===0}function Lt(e){return!!O(e,i.genericInteractiveSelector)}function Ur(e){var t=O(e,i.genericImportantSelector);return t?!!(O(t,i.optionalFeatureSelector)||Pe(t)||te(t)||/^(BUTTON|A)$/i.test(t.tagName||"")):!1}function Yr(e){if(!e||!i.highIntentKeywords||!i.highIntentKeywords.length)return!1;var t=G([e.getAttribute("aria-label"),e.getAttribute("title"),e.getAttribute("alt"),e.value,e.textContent].filter(
1Boolean).join(" ")).toLowerCase();return t?i.highIntentKeywords.some(function(r){return t.indexOf(String(r).toLowerCase())!==-1}):!1}function Jr(e,t){for(var r=e;r;){var a=Object.getOwnPropertyDescriptor(r,t);if(a)return a;r=Object.getPrototypeOf(r)}return null}function Me(e){if(!e)return[];try{return Array.prototype.slice.call(e).map(function(t){return String(t).toLowerCase()})}catch{return[]}}function ke(e,t){try{e&&e.terminate()}catch{}try{t&&URL.revokeObjectURL(t)}catch{}}function A(e){return e&&e.message?String(e.message).slice(0,120):"error"}function Pe(e){return!!(e&&e.nodeType===1&&e.matches&&e.matches('input,textarea,select,[contenteditable="true"]'))}function te(e){return!!(e&&/^(VIDEO|AUDIO)$/i.test(e.tagName||""))}function je(e){if(!e||e.nodeType!==1||!$r(e)||Xr(e)||e.closest&&e.closest("script,style,noscript,svg,canvas"))return!1;var t=e.getBoundingClientRect(),r=t.width*t.height,a=G(e.textContent||"").length,o=e.querySelectorAll?e.querySelectorAll(i.genericInteractiveSelector).length:0;return O(e,i.optionalFeatureSelector)||te(e)||e.matches("form")||o>0&&r>=2500?!0:a>=i.minContentTextLength&&r>=i.minContentArea}function Xr(e){var t=String(e.tagName||"").toUpperCase();return t==="HTML"||t==="BODY"||t==="HEADER"||t==="FOOTER"||t==="NAV"||t==="SCRIPT"||t==="STYLE"||t==="NOSCRIPT"||t==="META"||t==="LINK"}function $r(e){var t=e.getBoundingClientRect();if(!t.width||!t.height||t.bottom<0||t.right<0)return!1;if(t.top>(window.innerHeight||document.documentElement.clientHeight)*2)return!0;var r=window.getComputedStyle?window.getComputedStyle(e):null;return r?!(r.display==="none"||r.visibility==="hidden"||r.opacity==="0"):!0}function Zr(e){if(e.__realEngagedBlockName)return e.__realEngagedBlockName;var t=e.getAttribute("data-ym-engage")||e.getAttribute("data-ym-feature")||e.getAttribute("aria-label")||e.id||"",r=G(e.textContent||"").slice(0,40),a=t||r||e.tagName.toLowerCase();return e.__realEngagedBlockName=e.tagName.toLowerCase()+":"+kn(a+":"+rn(e)),e.__realEngagedBlockName}function en(e){var t=parseFloat(e.getAttribute("data-ym-weight")||"");if(isFinite(t)&&t>0)return p(t,1,30);if(e.matches&&e.matches("form,video,audio"))return 12;if(e.querySelector&&e.querySelector(i.genericImportantSelector))return 8;var r=G(e.textContent||"").length;return r>800?7:r>300?5:3}function tn(e){var t=G(e.textContent||"").split(" ").filter(Boolean).length,r=Math.max(80,i.readingWordsPerMinute||240),a=t/r*60*1e3;return p(a,i.minBlockViewMs,45e3)}function rn(e){for(var t=[],r=e;r&&r.nodeType===1&&t.length<4;)t.unshift(r.tagName.toLowerCase()+":"+Array.prototype.indexOf.call(r.parentNode?r.parentNode.children:[],r)),r=r.parentElement;return t.join("/")}function nn(e){var t={};return e.forEach(function(r){t[r.x+":"+r.y]=!0}),Object.keys(t).length}function an(){if(i.sendOncePerSession&&Pn(i.storageKey)===F())return!0;if(!i.cooldownHours)return!1;var e=parseInt(re(i.storageKey),10),t=i.cooldownHours*60*60*1e3;return e&&l()-e<t}function on(){i.sendOncePerSession&&xn(i.storageKey,F()),i.cooldownHours&&$e(i.storageKey,String(l()))}function sn(e){var t=i.sendLockStorageKey+":"+F()+":"+e,r=String(l())+":"+Math.random().toString(36).slice(2),a=l()+Math.max(1e3,i.sendLockMs||3e4),o=re(t);if(fn(e))return"";if(o)try{var s=JSON.parse(o);if(s&&s.expiresAt&&s.expiresAt>l())return""}catch{}$e(t,JSON.stringify({token:r,expiresAt:a}));try{var c=JSON.parse(re(t)||"{}");return c.token!==r?"":(xe(e,r,a,Be),Qe("lock-acquired",{goalId:e,token:r,expiresAt:a}),r)}catch{return""}}function Ke(e){if(e){var t=i.sendLockStorageKey+":"+F()+":",r="";try{for(var a=localStorage.length-1;a>=0;a--){var o=localStorage.key(a);if(!(!o||o.indexOf(t)!==0)){var s=JSON.parse(localStorage.getItem(o)||"{}");s&&s.token===e&&(localStorage.removeItem(o),r=o.slice(t.length))}}}catch{}r&&(delete b[r],Qe("lock-released",{goalId:r,token:e}))}}function cn(){var e=i.sendLockStorageKey+":";try{for(var t=localStorage.length-1;t>=0;t--){var r=localStorage.key(t);r&&r.indexOf(e)===0&&localStorage.removeItem(r)}}catch{}}function ln(e){if(!(!e||e.sender===Be||!e.type||!e.goalId)){if(e.type==="lock-acquired"){xe(e.goalId,e.token,e.expiresAt,e.sender);return}if(e.type==="lock-released"){b[e.goalId]&&b[e.goalId].token===e.token&&delete b[e.goalId];return}e.type==="goal-sent"&&xe(e.goalId,"sent:"+e.sender,l()+Math.max(1e3,i.crossTabRecentlySentMs||i.sendLockMs),e.sender)}}function un(e){var t=e.key.split(":").pop();if(!e.newValue){delete b[t];return}try{var r=JSON.parse(e.newValue);r&&r.expiresAt&&r.expiresAt>l()&&xe(t,r.token,r.expiresAt,"storage")}catch{}}function fn(e){return i.crossTabLockEnabled?(dn(),!!(b[e]&&b[e].expiresAt>l())):!1}function xe(e,t,r,a){!i.crossTabLockEnabled||!e||!r||(b[e]={token:t||"",expiresAt:r,owner:a||""})}function dn(){Object.keys(b).forEach(function(e){(!b[e]||b[e].expiresAt<=l())&&delete b[e]})}function Qe(e,t){if(i.crossTabLockEnabled){var r=W({type:e,sender:Be,at:l()},t||{});if(oe)try{oe.postMessage(r)}catch{}}}function ue(e){var t=It(),r=t.counts[e]||0;return{enabled:!!i.dailyLimitEnabled,date:t.date,goalId:e,count:r,limit:i.dailyGoalLimit,remaining:i.dailyLimitEnabled?Math.max(0,i.dailyGoalLimit-r):1/0}}function ze(e){return!i.dailyLimitEnabled||i.dailyGoalLimit<=0?!0:ue(e).count<i.dailyGoalLimit}function mn(e){if(!(!i.dailyLimitEnabled||i.dailyGoalLimit<=0)){var t=It();t.counts[e]=(t.counts[e]||0)+1,fe(t)}}function It(){var e=F(),t={date:e,counts:{}},r=re(i.dailyLimitStorageKey);if(!r)return t;try{var a=JSON.parse(r);return!a||a.date!==e||!a.counts?t:a}catch{return t}}function fe(e){$e(i.dailyLimitStorageKey,JSON.stringify(e))}function _e(){if(i.dailyLimitEnabled){var e=re(i.dailyLimitStorageKey),t=F();if(!e){fe({date:t,counts:{}});return}try{var r=JSON.parse(e);(!r||r.date!==t)&&(fe({date:t,counts:{}}),Ue())}catch{fe({date:t,counts:{}}),Ue()}}}function Bt(){i.dailyLimitEnabled&&setTimeout(function(){fe({date:F(),counts:{}}),Ue(),Bt()},gn()+1e3)}function Ue(){ne=!1,Ce={},S=0,qt(i.storageKey)}function F(){var e=new Date,t=String(e.getMonth()+1),r=String(e.getDate());return t.length<2&&(t="0"+t),r.length<2&&(r="0"+r),e.getFullYear()+"-"+t+"-"+r}function gn(){var e=new Date,t=new Date(e.getFullYear(),e.getMonth(),e.getDate()+1);return Math.max(1e3,t.getTime()-e.getTime())}function hn(){i.exposeDebugApi&&(window.RealEngagedMetrika={getState:function(){return De()},getScores:Y,getGateStatus:function(){return J(Y())},getRuntimeSignals:function(){return De().runtime},explain:Hr,showOverlay:Ye,hideOverlay:pn,rescan:ce,resetStorage:function(){qt(i.storageKey),Nt(i.storageKey),Nt(i.dailyLimitStorageKey),cn(),b={}}})}function Ye(){M||!document.body||(M=document.createElement("div"),M.setAttribute("aria-hidden","true"),M.style.cssText=vn(),document.body.appendChild(M),Je())}function pn(){M&&M.parentNode&&M.parentNode.removeChild(M),M=null,z&&(clearTimeout(z),z=null)}function Je(){M&&(z||(z=setTimeout(function(){if(z=null,!!M){var e=Y(),t=J(e);M.innerHTML=['<div style="font-weight:700;margin-bottom:6px">Real Engaged Metrika</div>',v("level",e.level),v("profile",i.profile),v("traffic",d.traffic.segment),v("page",d.page.type),v("would",se?"yes":"no"),v("human",e.humanScore),v("engage",e.engagementScore),v("fraud",e.fraudScore),v("active",Math.round(n.activeVisibleMs/1e3)+"s"),v("scroll",Math.round(n.maxScrollRatio*100)+"%"),v("pauses",n.scrollPauses),v("viewport",n.meaningfulViewportBlocks.size),v("short",n.isShortPage?"yes":"no"),v("consent",Z()?"yes":"no"),v("runtime",u.score),v("daily",t.daily.count+"/"+t.daily.limit),'<div style="margin-top:6px;color:#fca5a5;word-break:break-word">'+Xe(t.reasons.join(", ")||"passed")+"</div>"].join("")}},250)))}function v(e,t){return'<div style="display:flex;justify-content:space-between;gap:12px"><span style="color:#9ca3af">'+Xe(e)+"</span><strong>"+Xe(String(t))+"</strong></div>"}function vn(){var e=i.debugOverlayPosition||"bottom-right",t=e.indexOf("top")!==-1?"top:12px;":"bottom:12px;",r=e.indexOf("left")!==-1?"left:12px;":"right:12px;";return["position:fixed;",t,r,"z-index:2147483647;","width:240px;","box-sizing:border-box;","padding:10px 12px;","border-radius:8px;","background:rgba(17,24,39,.94);","color:#f9fafb;","font:12px/1.45 Arial,sans-serif;","box-shadow:0 10px 30px rgba(0,0,0,.35);","pointer-events:none;"].join("")}function De(){return{profile:i.profile,scriptVersion:i.scriptVersion,calibrationMode:i.calibrationMode,wouldSend:se,consent:{required:!!i.requireConsent,passed:Z()},performance:{lowPowerMode:!!i.performanceBudget.lowPowerMode,lastScanDurationMs:ut,maxDomCandidatesPerScan:i.performanceBudget.maxDomCandidatesPerScan,maxScanMs:i.performanceBudget.maxScanMs},privacy:{sendRuntimeDetails:!!i.sendRuntimeDetails,sendWebGLRenderer:!!i.sendWebGLRenderer},failSafe:{blocked:C.blocked,failOpen:i.failOpen,errors:C.errors.slice()}
1,adaptive:{traffic:d.traffic,page:d.page,adjustments:d.adjustments,appliedRules:d.appliedRules.slice()},queue:{pendingGoals:P.length,pendingGoalIds:Object.keys(ae),crossTabLocks:Object.keys(b)},env:{isTouchDevice:m.isTouchDevice,maxTouchPoints:m.maxTouchPoints,coarsePointer:m.coarsePointer},tech:q,runtime:{score:u.score,flags:u.flags.slice(),webgl:u.webgl,iframe:u.iframe,worker:u.worker,mediaDevices:u.mediaDevices,raf:u.raf,chromeConsistency:u.chromeConsistency,uaClientHints:u.uaClientHints,webdriverDescriptor:u.webdriverDescriptor},dailyLimit:ue(i.goalId),state:{activeVisibleMs:n.activeVisibleMs,maxScrollRatio:n.maxScrollRatio,pageScrollablePx:n.pageScrollablePx,isShortPage:n.isShortPage,scrolls:n.scrolls,scrollPauses:n.scrollPauses,wheelEvents:n.wheelEvents,clicks:n.clicks,pointerMoves:n.pointerMoves,touchStarts:n.touchStarts,touchTaps:n.touchTaps,touchSwipes:n.touchSwipes,keys:n.keys,tabKeys:n.tabKeys,focusMoves:n.focusMoves,formInputs:n.formInputs,changedFields:n.changedFields,formDwellMs:n.formDwellMs,viewedBlocks:n.viewedBlocks.size,meaningfulViewportBlocks:n.meaningfulViewportBlocks.size,meaningfulViewportDwellMs:n.meaningfulViewportDwellMs,readingQualifiedBlocks:n.readingQualifiedBlocks,meaningfulBlocks:n.meaningfulBlocks,mediaProgress25:n.mediaProgress25,mediaProgress50:n.mediaProgress50,featureInteractions:n.featureInteractions,importantInteractions:n.importantInteractions,semanticHighIntentInteractions:n.semanticHighIntentInteractions,categories:Object.keys(n.categories)}}}function O(e,t){for(;e&&e.nodeType===1;){if(e.matches&&e.matches(t))return e;e=e.parentElement}return null}function Vt(e,t){var r=0;return function(){var a=l();a-r>=t&&(r=a,e.apply(this,arguments))}}function wn(e,t){var r=t||e.profile||"strict",a={strict:{},landing:{minActiveMs:45e3,shortPageMinActiveMs:45e3,minEngagementScore:58,touchMinEngagementScore:54,minScrollPausesForIntent:1,minScrollDepthRatioForIntent:.5},webapp:{minActiveMs:6e4,shortPageMinActiveMs:6e4,requireScrollIntentGate:!1,minEngagementScore:64,touchMinEngagementScore:58,minBehaviorTypes:2},ecommerce:{minActiveMs:9e4,shortPageMinActiveMs:6e4,minEngagementScore:64,minScrollPausesForIntent:1,minScrollDepthRatioForIntent:.5,dailyGoalLimit:1},media:{minActiveMs:6e4,shortPageMinActiveMs:6e4,requireScrollIntentGate:!1,minEngagementScore:60,touchMinEngagementScore:56}},o=a[r]||a.strict,s=W(e,o);return s.profile=r,s}function yn(e){(!e.runtimeFingerprint||typeof e.runtimeFingerprint!="object")&&(e.runtimeFingerprint={enabled:!1}),e.cspSafe&&(e.runtimeFingerprint.workerConsistency=!1,e.runtimeFingerprint.iframeConsistency=!1),Sn(e)&&(e.performanceBudget.lowPowerMode=!0,e.performanceBudget.disableRuntimeOnLowPower?(e.runtimeFingerprint.rafTiming=!1,e.runtimeFingerprint.mediaDevices=!1,e.runtimeFingerprint.workerConsistency=!1):e.runtimeFingerprint.rafSamples=Math.min(e.runtimeFingerprint.rafSamples,e.performanceBudget.lowPowerRafSamples),e.contentRescanMs=Math.max(e.contentRescanMs,5e3),e.performanceBudget.maxDomCandidatesPerScan=Math.min(e.performanceBudget.maxDomCandidatesPerScan,60),e.performanceBudget.maxScanMs=Math.min(e.performanceBudget.maxScanMs,8))}function Sn(e){if(e.performanceBudget.lowPowerMode)return!0;var t=Ft("hardwareConcurrency")>0&&Ft("hardwareConcurrency")<=e.performanceBudget.lowPowerHardwareConcurrency,r=navigator.deviceMemory||0,a=r>0&&r<=e.performanceBudget.lowPowerDeviceMemoryGb;return t||a}function Ft(e){return Number(navigator[e]||0)}function W(e,t){var r={};return Object.keys(e).forEach(function(a){e[a]&&typeof e[a]=="object"&&!Array.isArray(e[a])?r[a]=W(e[a],{}):r[a]=e[a]}),Object.keys(t||{}).forEach(function(a){t[a]&&typeof t[a]=="object"&&!Array.isArray(t[a])&&r[a]&&typeof r[a]=="object"?r[a]=W(r[a],t[a]):r[a]=t[a]}),r}function bn(e,t){try{return t()}catch(r){Mn(e,r);return}}function Mn(e,t){var r={context:e,message:A(t),at:new Date().toISOString()};C.errors.push(r),C.errors.length>i.failSafeMaxErrors&&C.errors.shift(),i.failOpen||(C.blocked=!0,ne=!0,S=0),y("internal error",r)}function Ee(){return C.blocked&&!i.failOpen}function Ot(e){var t={};return e.filter(function(r){return t[r]?!1:(t[r]=!0,!0)})}function G(e){return String(e).replace(/\s+/g," ").trim()}function Xe(e){return String(e).replace(/[&<>"']/g,function(t){return{"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"}[t]})}function kn(e){for(var t=0,r=0;r<e.length;r++)t=(t<<5)-t+e.charCodeAt(r),t|=0;return Math.abs(t).toString(36)}function Ht(e){return e>0?1:e<0?-1:0}function p(e,t,r){return Math.max(t,Math.min(r,e))}function l(){return Date.now()}function Pn(e){try{return sessionStorage.getItem(e)}catch{return null}}function xn(e,t){try{sessionStorage.setItem(e,t)}catch{}}function qt(e){try{sessionStorage.removeItem(e)}catch{}}function re(e){try{return localStorage.getItem(e)}catch{return null}}function $e(e,t){try{localStorage.setItem(e,t)}catch{}}function Nt(e){try{localStorage.removeItem(e)}catch{}}function _n(e){for(var t=encodeURIComponent(e)+"=",r=String(document.cookie||"").split(";"),a=0;a<r.length;a++){var o=r[a].replace(/^\s+/,"");if(o.indexOf(t)===0)return decodeURIComponent(o.slice(t.length))}return""}
1function Dn(e,t){return String(t).split(".").filter(Boolean).reduce(function(r,a){return r&&r[a]!==void 0?r[a]:void 0},e)}function y(){i.debug&&window.console&&console.log.apply(console,["[real-engaged-metrika]"].concat([].slice.call(arguments)))}})();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.