PageSourceSearch

https://opn.gov.pl/build/assets/inactivity-7d3e92f0.js

js opn.gov.pl collected 2026-10-02 18:17:34 UTC 763 bytes, 1 lines download raw bytes

1const T=t=>{if(t.getAttribute("data-disabled")&&t.getAttribute("data-disabled")==="true")return;let n,o,i;const l=2*60*1e3,s=10,m=document.querySelector(".js-stay-button"),r=document.querySelector(".js-countdown"),c=()=>{n=window.setTimeout(u,l)},a=()=>{clearTimeout(n),clearTimeout(o),clearInterval(i),t.open&&(t.close(),t.style.display="none"),c()},d=()=>{window.location.href=t.dataset.url},u=()=>{let e=s;t.open||(t.showModal(),t.style.display="flex"),r.textContent=e.toString(),i=window.setInterval(()=>{e--,e>=0&&(r.textContent=e.toString()),e<=0&&d()},1e3),o=window.setTimeout(()=>{d()},s*1e3)};["touchstart","mousedown","mousemove","keydown"].forEach(e=>{document.addEventListener(e,a)}),m.addEventListener("click",a),c()};export{T as InactivityHandler};

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.