PageSourceSearch

https://sanct.com.au/cdn/shop/t/14/assets/modules-slideshow.bundle.min.js?v=128299179993266984631739775871

js sanct.com.au collected 2026-10-05 19:32:04 UTC 3,248 bytes, 1 lines download raw bytes

1import{S as e}from"./shared-import-splide.esm.bundle.min.js";window.Splide=e,window.slideshows={};const d=(d,i,s)=>{if(window.slideshows[d.id]=new e(`#${d.id}`,i),d.matches(".splide--product"))if(d.hasAttribute("data-thumbnails")){const o=document.getElementById(d.getAttribute("data-thumbnails"));window.slideshows[o.id]=new e(`#${o.id}`,{direction:"ttb",height:"var(--thumbnails-height)",autoHeight:!0,arrows:!1,pagination:!1,isNavigation:!0,gap:"1.25rem",slideFocus:!1,wheel:!0,wheelSleep:200}),window.slideshows[d.id]=new e(`#${d.id}`,i);const t=window.slideshows[d.id],n=window.slideshows[o.id];t.sync(n),t.mount(s),n.mount()}else window.slideshows[d.id].mount(s);else window.slideshows[d.id].mount(s)};window.destroySlideshow=e=>{window.slideshows[e.id]&&(window.slideshows[e.id].destroy(!0),delete window.slideshows[e.id])},window.makeSlideshow=e=>{if(e.matches(".splide--thumbnails"))return;if(!e.id)return void console.error("Cascade Theme: makeSlideshow requires a unique ID on the slideshow root");if(window.slideshows[e.id])return;const i=e.matches(".splide--mobile-only"),s=e.matches(".splide--desktop-only"),o=e.matches(".splide--titles-on-top");let t={};i&&(t={990:{destroy:!0}}),e.matches(".splide--product")||i&&!s||(t[990]=o?{perPage:2,perMove:2,speed:840,easing:"cubic-bezier(0.8,0.1,0.4,0.9)",padding:"var(--section-carousel-padding)"}:{perPage:2,perMove:2,speed:610,easing:"cubic-bezier(0.9,0.3,0.4,0.8)",padding:{right:"var(--section-carousel-padding)"}},s&&(t[0]={destroy:!0},t[990].destroy=!1)),e.matches(".splide--slideshow-section")&&(t[990]={speed:840,easing:"cubic-bezier(0.8,0.1,0.4,0.9)"});const n={mediaQuery:"min",perPage:1,perMove:1,autoWidth:!0,arrows:!0,rewind:!0,easing:"var(--timing-func-energetic)",speed:600,breakpoints:t};if(e.matches(".splide--product")){let i={};e.hasAttribute("data-desktop-product-splide")?"destroy"===e.dataset.desktopProductSplide?i={768:{destroy:!0}}:"no-controls"===e.dataset.desktopProductSplide&&(i={768:{arrows:!1,pagination:!1}}):i={768:{arrows:!0,pagination:!1}},e.hasAttribute("data-split-splide")&&(i={768:{height:"calc(100vh - var(--header-group-height, 0px))",arrows:!0,pagination:!1}});const s={mediaQuery:"min",perPage:1,perMove:1,autoWidth:!0,arrows:!0,rewind:!0,easing:"var(--timing-func-energetic)",speed:600,drag:"true"!==e.dataset.dragDisabled,breakpoints:i};import("./components-splide-product.bundle.min.js").then((({default:i,SplideProduct:o})=>{d(e,s,{SplideProduct:o})}))}else d(e,n,{})},window.discoverNewSlideshows=(e=document)=>{e.querySelectorAll(".splide").forEach((e=>{makeSlideshow(e,!0)}))},window.destroySlideshowsIn=(e=document)=>{e.querySelectorAll(".splide").forEach((e=>{destroySlideshow(e)}))},window.refreshSlideshowsIn=(e=document)=>{e.querySelectorAll(".splide").forEach((e=>{refreshSlideshow(e)}))},document.addEventListener("DOMContentLoaded",(()=>{discoverNewSlideshows()})),document.addEventListener("dev:hotreloadmutation",(()=>{Shopify.designMode||(destroySlideshowsIn(),discoverNewSlideshows())})),document.addEventListener("cascade:product:mediachange",(e=>{const d=window.slideshows[e.detail.slideshow_id];if(!d)return;const i=d.Components.Elements.slides.findIndex((d=>Number(d.dataset.mediaId)===e.detail.media_id));i>-1&&d.go(i)}));

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.