"use strict";$((function(){$(".slider-for").slick({slidesToShow:1,arrows:!1,fade:!0,asNavFor:".slider-nav"}),$(".slider-nav").slick({slidesToShow:4,asNavFor:".slider-for",dots:!1,centerMode:!1,focusOnSelect:!0,responsive:[{breakpoint:600,settings:{slidesToShow:3}},{breakpoint:480,settings:{slidesToShow:2}}]})})),document.querySelectorAll(".color-picker a").forEach((e=>{e.addEventListener("click",(t=>{t.preventDefault(),document.querySelectorAll(".color-picker a").forEach((e=>e.classList.remove("active"))),e.classList.add("active")}))})),document.querySelectorAll(".d-flex.gap-4 a").forEach((e=>{e.addEventListener("click",(t=>{t.preventDefault(),document.querySelectorAll(".d-flex.gap-4 a").forEach((e=>{e.classList.remove("text-primary","fw-bold"),e.classList.add("text-muted")})),e.classList.remove("text-muted"),e.classList.add("text-primary","fw-bold")}))})),$((function(){$("html").attr("dir");$("#quantity").TouchSpin({verticalbuttons:!0,verticalup:'<i class="mdi mdi-chevron-up fs-15 top-0"></i>',verticaldown:'<i class="mdi mdi-chevron-down fs-15 top-0"></i>'})}));