PageSourceSearch

https://trzcinsko-zdroj.pl/js/prod/transpiled/info_bar.js?ts=1742832453

js trzcinsko-zdroj.pl collected 2026-10-02 20:17:40 UTC 1,088 bytes, 1 lines download raw bytes

1"use strict";document.addEventListener("DOMContentLoaded",(e=>{const t=document.getElementById("js__info_bar"),i=t.getBoundingClientRect().left,n=document.getElementById("info_bar_list"),a=document.getElementById("js__hide_info_bar_button");let s=null,o=0;function l(){const e=n.querySelector(".info_bar_list__item:first-child");e.getBoundingClientRect().right<=i&&(o=-1,n.appendChild(e)),n.style.transform=`translateX(${o}px)`,o--,s=requestAnimationFrame(l)}window.requestAnimationFrame(l),n.addEventListener("mouseenter",(()=>{cancelAnimationFrame(s)})),n.addEventListener("mouseleave",(()=>{cancelAnimationFrame(s),s=requestAnimationFrame(l)})),a.addEventListener("click",(()=>{a.classList.contains("-active")?(setCookie("info_bar",!1,"essential"),t.classList.remove("-active"),a.attributes.title.value=a.attributes["data-title-hide"].value,a.classList.remove("-active"),s=requestAnimationFrame(l)):(setCookie("info_bar",!0,"essential"),t.classList.add("-active"),a.classList.add("-active"),a.attributes.title.value=a.attributes["data-title-show"].value,cancelAnimationFrame(s))}))}));

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.