PageSourceSearch

https://www.eimskip.is/build/image-gallery-block-CmNJCoRW.js

js eimskip.is collected 2026-10-02 09:55:40 UTC 1,490 bytes, 1 lines download raw bytes

1import{n as e}from"./rolldown-runtime-DEa_Ew-f.js";import{n as l,t as a}from"./dictionary-Ic-sdcHR.js";import{a as s,c as t,d as r,f as i,i as o,l as n,m as c,n as m,o as g,p as u,r as p,s as b,t as y,u as d}from"./modules-B_e2r0CV.js";var h;function _(){return(_=e(()=>{i(),y(),h={el:{root:document.querySelectorAll(".image-gallery-block")},translation:{slide:a("genImage")},init(){this.el.root&&Array.prototype.forEach.call(this.el.root,e=>{this.initSwipers(e)})},initSwipers(e){const l=e.querySelectorAll(".swiper-slide").length<=1;l&&e.classList.add("image-gallery-block--single-slide");const a=e.querySelector(".image-gallery-block__swiper"),s=e.querySelector(".image-gallery-block__pagination");new u(a,{modules:[m,o,d,t,g],allowTouchMove:!l,autoHeight:!0,loop:!0,breakpoints:{775:{spaceBetween:30}},grabCursor:!l,pagination:{bulletActiveClass:"image-gallery-block__image--small--active",bulletClass:"image-gallery-block__image--small",bulletElement:"button",clickable:!0,el:s,renderBullet:(e,l)=>`<button class="image-gallery-block__image--small ${l}" aria-label="${this.translation.slide} ${e+1}"></button>`,type:"bullets"},parallax:!0,spaceBetween:15,speed:600}),this.parseThumbs(e)},parseThumbs(e){let l="";const a=e.dataset.thumbs.split(";");Array.prototype.forEach.call(e.querySelectorAll(".image-gallery-block__image--small"),(e,s)=>{l=`<img src="${a[s]}" loading="lazy" alt="${a[s]}" decoding="async" width="60" height="60" />`,e.innerHTML=l})}}}))()}_();export{h as default};

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.