PageSourceSearch

https://tpn.gov.pl/build/assets/bannerSlider-ceab2fbd.js

js tpn.gov.pl collected 2026-09-25 04:51:15 UTC 1,594 bytes, 4 lines download raw bytes

1import{S as b}from"./splide.esm-688b6f4b.js";const j=i=>{const p={prev:"Poprzedni slajd",next:"Następny slajd",first:"Przejdź do pierwszego slajdu",last:"Przejdź do ostatniego slajdu",slideX:"Przejdź do slajdu %s",pageX:"Przejdź do strony %s",play:"Rozpocznij automatyczne przewijanie",pause:"Zatrzymaj automatyczne przewijanie",corousel:"karuzela",select:"Wybierz slajd do pokazania",slide:"slajd",slideLabel:"%s z %s"},u={prev:"Previous slide",next:"Next slide",first:"Go to first slide",last:"Go to last slide",slideX:"Go to slide %s",pageX:"Go to page %s",play:"Start autoplay",pause:"Pause autoplay",corousel:"carousel",select:"Select a slide to show",slide:"slide",slideLabel:"%s of %s"},a=document.querySelectorAll(".js-banner-element"),l=document.querySelector(".js-slider-nav-current"),r=document.querySelector(".js-slider-nav-all"),n=new b(i,{i18n:i.dataset.lang=="pl"?p:u,type:"fade",rewind:!0,pagination:!0,arrows:!0,autoplay:!1,page:"banner__pagination__page",mediaQuery:"max",breakpoints:{1023:{}}});n.on("pagination:mounted",function(e){e.list.classList.add("banner__pagination"),e.items.forEach((s,t)=>{s.button.setAttribute("tabindex",0);const o=a[t].dataset.bannertitle,d=a[t].dataset.bannersubtitle!==""?`<span>${a[t].dataset.bannersubtitle}</span>`:"",c=`<div class="banner__pagination__item">
2      ${o}
3      ${d}
4      </div>`;s.button.innerHTML=c})}),n.on("pagination:updated",(e,s,t)=>{e.items.forEach((o,d)=>{o.button.setAttribute("tabindex",0)}),r&&l&&(r.innerHTML=String(e.items.length),l.innerHTML=String(t.page+1))}),n.mount()};export{j as bannerSliderInit};

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.