PageSourceSearch

https://microbium.si/_astro/HeroCarousel.astro_astro_type_script_index_0_lang.Rk2M-S5-.js

js microbium.si collected 2026-10-08 16:52:16 UTC 1,007 bytes, 1 lines download raw bytes

1import{E as d,A as i}from"./embla-carousel-autoplay.esm.DbqMuwPS.js";const v=(e,t,r)=>{const o=()=>{e.canScrollPrev()?t.removeAttribute("disabled"):t.setAttribute("disabled","disabled"),e.canScrollNext()?r.removeAttribute("disabled"):r.setAttribute("disabled","disabled")};return e.on("select",o).on("init",o).on("reInit",o),()=>{t.removeAttribute("disabled"),r.removeAttribute("disabled")}},u=(e,t,r,o)=>{const s=()=>{e.scrollPrev(),o&&o(e)},l=()=>{e.scrollNext(),o&&o(e)};t.addEventListener("click",s,!1),r.addEventListener("click",l,!1);const n=v(e,t,r);return()=>{n(),t.removeEventListener("click",s,!1),r.removeEventListener("click",l,!1)}},b={loop:!0},s=document.querySelector(".embla"),N=s.querySelector(".embla__viewport"),m=s.querySelector(".embla__button--prev"),f=s.querySelector(".embla__button--next"),n=d(N,b,[i({delay:5e3})]),S=e=>{const t=e?.plugins()?.autoplay;t&&(!1===t.options.stopOnInteraction?t.reset:t.stop)()},y=u(n,m,f,S);n.on("destroy",y);export{u as addPrevNextBtnsClickHandlers};

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.