PageSourceSearch

https://rooppurnpp.gov.bd/widget-assets/js/HomeSliderWidget

js rooppurnpp.gov.bd collected 2026-10-02 23:05:01 UTC 788 bytes, 3 lines download raw bytes

1;((window,document)=>{ // HomeSliderWidget
2let homeSliders=document.querySelectorAll(".home-banner-widget");homeSliders.forEach(e=>{var t=e.querySelector(".slider-previous"),l=e.querySelector(".slider-next");let r=e.querySelectorAll(".home-carousel .images"),i=e.querySelectorAll(".slider-navigation-dot"),a=0;let s=e=>{a=(e+r.length)%r.length,r.forEach(e=>e.style.display="none"),i.forEach(e=>e.classList.remove("active")),r[a].style.display="block",i[a].classList.add("active")};t.addEventListener("click",()=>{s(a-1)}),l.addEventListener("click",()=>{console.log("hit"),s(a+1)}),e.addEventListener("click",function(e){var e=e.target;e.matches(".slider-navigation-dot[data-current-slide]")&&(e=parseInt(e.getAttribute("data-current-slide")),e=e-1,s(e))}),s(a)});
3})(_window,_document);

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.