PageSourceSearch

https://cabinet.gov.bd/widget-assets/js/BannerSliderImageWidget

js cabinet.gov.bd collected 2026-10-02 04:35:09 UTC 3,604 bytes, 10 lines download raw bytes

1;((window,document)=>{ // BannerSliderImageWidget
2document.addEventListener("DOMContentLoaded",function(){document.querySelectorAll(".banner-slider-image-widget").forEach(e=>{let l=0,n=null,t=e.querySelectorAll(".images");var i=e.querySelector(".slider-previous"),C=e.querySelector(".slider-next");let r=e.querySelector(".slider-play"),d=window?.SLIDE_INTERVAL||3e3;function o(e){l=(e+t.length)%t.length,t.forEach(e=>e.style.display="none"),t?.[l]?.style&&(t[l].style.display="block")}function c(){o(l+1)}function s(){n=setInterval(c,d),r.innerHTML=`<svg width="21" height="21" viewBox="0 0 21 21" fill="none" xmlns="http://www.w3.org/2000/svg">
3<path id="Vector" fill-rule="evenodd" clip-rule="evenodd" d="M20.8828 10.8809C20.8828 13.533 19.8292 16.0766 17.9539 17.9519C16.0785 19.8273 13.535 20.8809 10.8828 20.8809C8.23065 20.8809 5.68711 19.8273 3.81174 17.9519C1.93638 16.0766 0.882813 13.533 0.882812 10.8809C0.882813 8.22869 1.93638 5.68516 3.81174 3.80979C5.68711 1.93443 8.23065 0.880859 10.8828 0.880859C13.535 0.880859 16.0785 1.93443 17.9539 3.80979C19.8292 5.68516 20.8828 8.22869 20.8828 10.8809ZM7.13281 8.38086C7.13281 8.04934 7.26451 7.7314 7.49893 7.49698C7.73335 7.26256 8.05129 7.13086 8.38281 7.13086C8.71433 7.13086 9.03228 7.26256 9.2667 7.49698C9.50112 7.7314 9.63281 8.04934 9.63281 8.38086V13.3809C9.63281 13.7124 9.50112 14.0303 9.2667 14.2647C9.03228 14.4992 8.71433 14.6309 8.38281 14.6309C8.05129 14.6309 7.73335 14.4992 7.49893 14.2647C7.26451 14.0303 7.13281 13.7124 7.13281 13.3809V8.38086ZM13.3828 7.13086C13.0513 7.13086 12.7333 7.26256 12.4989 7.49698C12.2645 7.7314 12.1328 8.04934 12.1328 8.38086V13.3809C12.1328 13.7124 12.2645 14.0303 12.4989 14.2647C12.7333 14.4992 13.0513 14.6309 13.3828 14.6309C13.7143 14.6309 14.0323 14.4992 14.2667 14.2647C14.5011 14.0303 14.6328 13.7124 14.6328 13.3809V8.38086C14.6328 8.04934 14.5011 7.7314 14.2667 7.49698C14.0323 7.26256 13.7143 7.13086 13.3828 7.13086Z" fill="white"/>
4</svg>`}function a(){clearInterval(n),n=null,r.innerHTML=`<svg width="21" height="21" viewBox="0 0 21 21" fill="none"
5                                    xmlns="http://www.w3.org/2000/svg">
6                                    <path fill-rule="evenodd" clip-rule="evenodd"
7                                        d="M10.6445 20.8813C13.2967 20.8813 15.8402 19.8278 17.7156 17.9524C19.591 16.0771 20.6445 13.5335 20.6445 10.8813C20.6445 8.22918 19.591 5.68564 17.7156 3.81028C15.8402 1.93492 13.2967 0.881348 10.6445 0.881348C7.99237 0.881348 5.44883 1.93492 3.57346 3.81028C1.6981 5.68564 0.644531 8.22918 0.644531 10.8813C0.644531 13.5335 1.6981 16.0771 3.57346 17.9524C5.44883 19.8278 7.99237 20.8813 
710.6445 20.8813ZM10.0883 7.34135C9.90003 7.21575 9.68121 7.14361 9.45518 7.13263C9.22914 7.12165 9.00436 7.17224 8.80482 7.27901C8.60529 7.38577 8.43848 7.5447 8.32219 7.73884C8.2059 7.93298 8.1445 8.15504 8.14453 8.38135V13.3813C8.1445 13.6077 8.2059 13.8297 8.32219 14.0239C8.43848 14.218 8.60529 14.3769 8.80482 14.4837C9.00436 14.5905 9.22914 14.641 9.45518 14.6301C9.68121 14.6191 9.90003 14.5469 10.0883 14.4213L13.8383 11.9213C14.0095 11.8072 14.1498 11.6525 14.2469 11.4711C14.344 11.2897 14.3948 11.0871 14.3948 10.8813C14.3948 10.6756 14.344 10.473 14.2469 10.2916C14.1498 10.1102 14.0095 9.9555 13.8383 9.84135L10.0883 7.34135Z"
8                                        fill="white" />
9                                </svg>`}i.addEventListener("click",()=>{o(l-1),a()}),C.addEventListener("click",()=>{c(),a()}),r.addEventListener("click",function(){(n?a:s)()}),o(0),window?.preventBannerSliderAutoplay||s()})});
10})(_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.