1import{L as e}from"./CdGGuMmz.js";import"./MaLhb9eO.js";import{n as t}from"./BFGAmfFG.js";var n=t(`yandex-metrika`,()=>{let{yandexMetrikaCounter:t}=e().public,n=` 2// Yandex.Metrika counter 3(function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)}; 4 m[i].l=1*new Date(); 5 for (var j = 0; j < document.scripts.length; j++) {if (document.scripts[j].src === r) { return; }} 6 k=e.createElement(t),a=e.getElementsByTagName(t)[0],k.async=1,k.src=r,a.parentNode.insertBefore(k,a)}) 7 (window, document, "script", "https://mc.yandex.ru/metrika/tag.js", "ym"); 8ym(${t}, "init", { 9 ${[`clickmap: true`,`trackLinks: true`,`accurateTrackBounce:true`,`webvisor:true`,`triggerEvent:true`,`defer: true`].join(`, 10`)} 11});`,r=`<div><img src="https://mc.yandex.ru/watch/${t}" style="position:absolute; left:-9999px;" alt="" /></div>`,i=e=>!!e&&`ym`in e,a=e=>!!e&&`yandexMetrikaReadyProxy`in e,o=[],s=()=>{if(i(window))for(;o.length;){let e=o.shift();window.ym(t,`hit`,e)}else{let e=Math.max(0,o.length-20);e&&o.splice(0,e)}},c=[],l=()=>{if(i(window))for(;c.length;){let e=c.shift();e&&window.ym(t,`reachGoal`,e)}else{let e=Math.max(0,c.length-20);e&&c.splice(0,e)}},u=[],d=()=>{if(i(window))for(;u.length;){let e=u.shift();e&&window.ym(t,`params`,{order_ids:[e]})}},f=()=>{s(),l(),d()},p=()=>{let e;return i(window)&&window.ym(t,`getClientID`,function(t){e=t}),e};if(a(window)){let{yandexMetrikaReadyProxy:e}=window;e.observer=e=>{console.log(`is ready`),e&&f()}}let m=10;new Promise(function e(t,n){i(window)?f():m--&&setTimeout(()=>e(t,n),300)});let h=e=>{u.push(e.orderId),d()},g=e=>{e&&(c.push(e),l())},_;return{script:n,noScript:r,getClientId:p,reachGoal:g,runQueues:f,sendPageView:e=>{let t=e.fullPath;t!=_&&(o.push(t),s())},sendYmParams:h}});export{n as t};
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.