1document.addEventListener("DOMContentLoaded",function(){if(typeof Glide>"u"){console.warn("Glide.js is not loaded.");return}const mobileQuery=window.matchMedia("(max-width: 767px)"),tabletQuery=window.matchMedia("(min-width: 768px) and (max-width: 820px)"),tablet2Query=window.matchMedia("(min-width: 821px) and (max-width: 1024px)"),desktopQuery=window.matchMedia("(min-width: 1025px)");let videosSlider;function updateVideoPagination(index){document.querySelectorAll(".jade-plus_video-pagination button").forEach(function(btn,i){btn.classList.toggle("active",i===index)})}function stopAllVideos(){document.querySelectorAll(".jade-plus_video-thumbnail iframe").forEach(function(iframe){var thumb=iframe.closest(".jade-plus_video-thumbnail"),videoId=thumb.dataset.videoId;thumb.innerHTML='<img src="https://img.youtube.com/vi/'+videoId+'/hqdefault.jpg" alt="" loading="lazy"><div class="jade-plus_video-play-btn"><svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="24" cy="24" r="23.5" fill="#00C3FF" stroke="#00C3FF"/><path d="M20.5 18.5C20.5 18.2239 20.7761 18 21.1094 18.1925L31 24L21.1094 29.8075C20.7761 30 20.5 29.7761 20.5 29.5V18.5Z" fill="#0A0C0B"/></svg></div>'})}function initVideoInteractions(){document.querySelectorAll(".jade-plus_video-thumbnail").forEach(function(thumb){thumb.addEventListener("click",function(){var videoId=thumb.dataset.videoId;if(!(!videoId||thumb.querySelector("iframe"))){stopAllVideos();var iframe=document.createElement("iframe");iframe.src="https://www.youtube.com/embed/"+videoId+"?autoplay=1&rel=0",iframe.allow="autoplay; encrypted-media",iframe.allowFullscreen=!0,thumb.innerHTML="",thumb.appendChild(iframe)}})}),document.querySelectorAll(".jade-plus_video-pagination button").forEach(function(btn){btn.addEventListener("click",function(){var idx=parseInt(btn.dataset.index,10);videosSlider&&videosSlider.go("="+idx)})})}function mountVideosSlider(config){videosSlider||(videosSlider=new Glide(".jade-plus_video-glide",config).mount(),updateVideoPagination(0),videosSlider.on("run",function(){updateVideoPagination(videosSlider.index)}))}function initializeSliders(){if(mobileQuery.matches)try{mountVideosSlider({type:"slider",perView:1,gap:32,peek:{before:0,after:0},animationDuration:400,swipeThreshold:80,dragThreshold:120,rewind:!1,bound:!0})}catch(error){console.error("Error initializing Glide sliders:",error)}else if(tabletQuery.matches)try{mountVideosSlider({type:"slider",perView:1,gap:20,peek:{before:0,after:0},animationDuration:400,swipeThreshold:80,dragThreshold:120,rewind:!1,bound:!0})}catch(error){console.error("Error initializing Glide sliders:",error)}else if(tablet2Query.matches)try{mountVideosSlider({type:"slider",perView:1,gap:20,peek:{before:0,after:0},animationDuration:400,swipeThreshold:80,dragThreshold:120,rewind:!1,bound:!0})}catch(error){console.error("Error initializing Glide sliders:",error)}else if(desktopQuery.matches)try{mountVideosSlider({type:"slider",perView:3,gap:20,peek:{before:0,after:0},animationDuration:400,swipeThreshold:80,dragThreshold:120,rewind:!1,bound:!0})}catch(error){console.error("Error initializing video Glide slider:",error)}}function handleWidthChange(){videosSlider&&(videosSlider.destroy(),videosSlider=null),initializeSliders()}initializeSliders(),initVideoInteractions(),mobileQuery.addEventListener("change",handleWidthChange),tabletQuery.addEventListener("change",handleWidthChange),tablet2Query.addEventListener("change",handleWidthChange),desktopQuery.addEventListener("change",handleWidthChange)}); 2//# sourceMappingURL=/cdn/shop/t/13/assets/jade-plus-main.js.map?v=117432876517021355371787065540
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.