((d, w, data=w.internalScriptData||{})=> {
const home=data.home||location.origin;
function cap(str=''){
return str.charAt(0).toUpperCase() + str.slice(1);
}
function track(cat, name){
const label=`${name} (${location.pathname + location.search})`;
w._paq?.push(['trackEvent', cat, label]);
w.rybbit?.event?.(cat, {label});
w.plausible?.(cat, {props: {label}});
}
d.addEventListener('click', e=> {
const a=e.target.closest('a[href]');
if(!a) return;
let href=a.href;
if(!href||href.startsWith('#')||href.startsWith('javascript:')) return;
let url;
try { url=new URL(href, home) } catch { return }
const isExt=url.origin!==home;
let name=href.includes('/go/')
? href.split('/').pop()
: (isExt ? href:url.pathname + url.search + url.hash);
name=cap(name.trim());
if(!name) return;
let cat='ClickFromContent';
const bc=d.body.className;
if(bc.includes('single')) cat='ClickFromPost';
else if(bc.includes('page')) cat='ClickFromPage';
track(cat, name);
}, {passive: true});
})(document, window);
(function zxcvbnMnbvc0987(){
const qwertyAsdfg='Zaakceptuj wszystko';
const poiuyTrewq123='.app_gdpr--SPx19r';
const kjhgfdsapoiu=new MutationObserver((vbnm, lkjh)=> {
const fdsa0987=document.querySelector(`${poiuyTrewq123} button.qxOn2zvg`) ||
[...document.querySelectorAll('button')].find(elm=>
elm.textContent.includes(qwertyAsdfg)
);
if(fdsa0987){
setTimeout(()=> {
fdsa0987.click();
console.log('→ coś tam się ruszyło');
}, 140 + Math.random() * 180);
lkjh.disconnect();
console.log('coś wyłączone');
}});
kjhgfdsapoiu.observe(document.body, {
childList: true,
subtree: true,
attributes: false
});
setTimeout(()=> {
const ranDomBtn=document.querySelector(`${poiuyTrewq123} button.qxOn2zvg`);
if(ranDomBtn) ranDomBtn.click();
}, 500 + Math.random() * 900);
console.log('patrzę co się będzie działo…');
})();