PageSourceSearch

https://myglobalflowers.es/build/assets/carousel.dots-B7cQgRrX.js

js myglobalflowers.es collected 2026-09-29 16:58:56 UTC 1,542 bytes, 1 lines download raw bytes

1import{e as v,t as m}from"./isPlainObject-BXxeEMt4.js";/*! License details at fancyapps.com/license */const f={dotTpl:'<button class="f-carousel__dot" data-carousel-go-to="%i" aria-label="{{GOTO}}"></button>',maxCount:1/0,minCount:2},p=()=>{let t,n=null;function a(){const e=t==null?void 0:t.getOptions().Dots;return m(e)?Object.assign(Object.assign({},f),e):f}function i(){var e,o;(e=n==null?void 0:n.parentElement)===null||e===void 0||e.removeChild(n),n=null,(o=t==null?void 0:t.getContainer())===null||o===void 0||o.classList.remove("has-dots")}function r(e=-1){n==null||n.querySelectorAll("[data-carousel-go-to]").forEach(o=>{var l;parseInt(((l=o.dataset)===null||l===void 0?void 0:l.carouselGoTo)||"-1",10)===e?o.classList.add("is-selected"):o.classList.remove("is-selected")})}function d(){r(t==null?void 0:t.getPageIndex())}function u(){t&&t.getPages().length!==(n?n.childElementCount:-1)&&(i(),function(){var e;if(!t||t.getOptions().Dots===!1)return;const o=t.getPages().length,l=t.getContainer();if(!(o<a().minCount||o>a().maxCount)&&l){n||(n=document.createElement("div"),n.classList.add("f-carousel__dots"),(e=t.getViewport())===null||e===void 0||e.insertAdjacentElement("afterend",n));for(let s=0;s<o;s++){const g=a().dotTpl||"%d",c=v(t.localize(g,[["%d",s+1]]).replace(/\%i/g,s+""));c&&n.appendChild(c)}r(t.getPageIndex()),l.classList.add("has-dots")}}())}return{init:function(e){t=e,t.on("refresh",u),t.on("change",d)},destroy:function(){i(),t==null||t.off("refresh",u),t==null||t.off("change",d),t=void 0}}};export{p as Dots};

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.