PageSourceSearch

https://www.mas.co.nz/static/vite/assets/glide-package-COY3Iwq1.js

js mas.co.nz collected 2026-10-02 16:36:19 UTC 882 bytes, 2 lines download raw bytes

1import{G as r}from"./glide.esm-DnOlJVGa.js";import{a as d}from"./onResize-DMqTL-DR.js";import"./debounce-CqRaf6SO.js";import"./_commonjsHelpers-CDgoFxsB.js";import"./toNumber-BMMYaEHS.js";import"./_baseGetTag-DkLSj68j.js";function b(l=[]){l.forEach(t=>{const e=t.querySelectorAll(".glide__slide"),a=document.querySelector(".most-popular-flag");let i=e/2;a!==null&&(i=a.dataset.mostPopular);const o=new r(t,{type:"slider",startAt:0,focusAt:0,gap:0,perView:e.length,rewind:!1,bound:!0,breakpoints:{800:{perView:1.25,focusAt:"center"}}}),s=()=>{window.matchMedia("(max-width: 800px)").matches?(o.update({startAt:Number(i),perView:1.25}).enable(),t.classList.remove("glide--disabled")):(o.update({startAt:0,perView:e.length,focusAt:0,bound:!0}).disable(),t.classList.add("glide--disabled")),o.mount()};d(s),s()})}export{b as default};
2//# sourceMappingURL=glide-package-COY3Iwq1.js.map

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.