PageSourceSearch

https://dpn.gov.pl/build/assets/block-logotypes-2400cea9.js

js dpn.gov.pl collected 2026-10-02 18:58:06 UTC 1,103 bytes, 8 lines download raw bytes

1const d=c=>{const p=()=>{const t=document.querySelectorAll(".logotypes-popup");t.length>0&&t.forEach(e=>{e.remove()})};c.forEach(t=>{const e=t.querySelector(".js-logotype-desc");e&&e.offsetHeight>42&&(e.classList.add("logotype-popup"),e.addEventListener("click",()=>{p();const n=`<div class="logotypes-popup__inner">
2            <button class="logotypes-popup__inner__close js-logotype-popup-close">
3                <svg width="27" height="27" viewBox="0 0 27 27" fill="none" xmlns="http://www.w3.org/2000/svg">
4                    <path d="M1 1L26 26M1 26L26 1" stroke="black"/>
5                </svg>
6            </button>
7            ${t.innerHTML}
8        </div>`,o=document.createElement("dialog");o.classList.add("logotypes-popup"),o.setAttribute("role","dialog"),o.setAttribute("open",""),o.innerHTML=n,document.querySelector(".js-body").appendChild(o);const l=o.querySelector(".js-logotype-popup-close"),s=o.querySelector(".js-logotype-desc");s&&s.classList.contains("logotype-popup")&&s.classList.remove("logotype-popup"),l&&l.addEventListener("click",p)}))})};export{d as blockLogotypesInit};

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.