/* Generated time: July 3, 2024 19:32 This file was created by the app developer. Feel free to contact the original developer with any questions. It was minified (compressed) by AVADA. AVADA do NOT own this script. */ function listgridJavascript(){Array.from(document.querySelectorAll(".wblistgridbtn")).forEach(t=>{t.addEventListener("click",function(t){Array.from(document.querySelectorAll(".wblistgridbtn")).forEach(t=>t.classList.remove("active")),this.classList.add("active"),this.classList.contains("listv")?(document.getElementById("product-grid").classList.add("product-list"),document.getElementById("product-grid").classList.remove("product-grid"),document.getElementById("product-grid").classList.remove("product-gallery"),window.innerWidth<992&&document.querySelector(".gridv").classList.remove("active_mobile")):this.classList.contains("gridv")?(document.getElementById("product-grid").classList.add("product-grid"),document.getElementById("product-grid").classList.remove("product-list"),document.getElementById("product-grid").classList.remove("product-gallery")):this.classList.contains("galleryv")&&(document.getElementById("product-grid").classList.add("product-gallery"),document.getElementById("product-grid").classList.remove("product-list"),document.getElementById("product-grid").classList.remove("product-grid"))})})}function videoScroll(){if(0{var e=new Date(t.getAttribute("data-date")).getTime(),o=e-(new Date).getTime();o<0||isNaN(e)?(t.querySelector(".main_cdays .wb_cdays").textContent="00",t.querySelector(".main_chours .wb_chours").textContent="00",t.querySelector(".main_cminutes .wb_cminutes").textContent="00",t.querySelector(".main_cseconds .wb_cseconds").textContent="00"):(t.querySelector(".main_cdays .wb_cdays").textContent=Math.floor(o/864e5),t.querySelector(".main_chours .wb_chours").textContent=Math.floor(o%864e5/36e5),t.querySelector(".main_cminutes .wb_cminutes").textContent=Math.floor(o%36e5/6e4),t.querySelector(".main_cseconds .wb_cseconds").textContent=Math.floor(o%6e4/1e3))})}document.addEventListener("shopify:section:load",listgridJavascript),listgridJavascript(),window.addEventListener("load",videoScroll),window.addEventListener("scroll",videoScroll),setInterval(countDown,1e3);