(()=>{"use strict";var e=document.querySelectorAll("#viewBtn"),l=document.querySelectorAll(".product-each");document.querySelectorAll(".product-grid6"),document.querySelectorAll(".layoutBtn");document.getElementsByClassName("fourCol")[0].addEventListener("click",(function(t){for(var c=0;c<l.length;c++)l[c].className=" ",l[c].className="col-12 col-md-6 col-sm-6 col-lg-6 col-xl-3";for(c=0;c<e.length;c++)e[c].classList.remove("active");t.target.classList.add("active")})),document.getElementsByClassName("threeCol")[0].addEventListener("click",(function(t){for(var c=0;c<l.length;c++)l[c].className=" ",l[c].className="col-12 col-md-6 col-sm-6 col-lg-6 col-xl-4";for(c=0;c<e.length;c++)e[c].classList.remove("active");t.target.classList.add("active")})),document.getElementsByClassName("twoCol")[0].addEventListener("click",(function(t){for(var c=0;c<l.length;c++)l[c].className=" ",l[c].className="col-12 col-md-6 col-sm-6 col-lg-6 col-xl-6";for(c=0;c<e.length;c++)e[c].classList.remove("active");t.target.classList.add("active")}))})();