if(jQuery(".filter__form .filter__block").click(function(){jQuery(this).closest(".filter__form .filter__block").toggleClass("categoty__open")}),jQuery("#select_ordem").change(function(){this.form.submit()}),jQuery(".page-contact #imagem").remove(),jQuery(".page-contact .formulario-contato").append(''),jQuery(document).ajaxStop(function(){jQuery(".showcase__item .prices__out").each(function(){jQuery(this).closest(".showcase__item").find(".product__actions").hide()})}),jQuery('.review[data-carousel="true"]').length&&jQuery(document).ready(function(){var e=jQuery(".review");e.length>0&&jQuery(e).find(".dep_lista").slick({slide:".dep_item",slidesToShow:3,slidesToScroll:1,prevArrow:'',nextArrow:'',responsive:[{breakpoint:1300,settings:{slidesToShow:2,slidesToScroll:2}},{breakpoint:991,settings:{slidesToShow:1,slidesToScroll:1}}]})}),jQuery(".page-product").length>0){var aux;if(jQuery(document).ready(function(e){e(document).ajaxComplete(function(e,t,r){if(-1!==r.url.indexOf("cart_preview")){var o=new CustomEvent("UPDATECART");window.dispatchEvent(o)}})}),jQuery(document).on("thumbs:start",function(){jQuery(".thumbs__list")&&jQuery(".thumbs__list").slick({slidesToShow:4,vertical:!1,prevArrow:'',nextArrow:'',responsive:[{breakpoint:1200,settings:{slidesToShow:3,dots:!1}},{breakpoint:992,settings:{slidesToShow:2,vertical:!1,dots:!1}},{breakpoint:321,settings:{slidesToShow:1,vertical:!1,dots:!1}}]})}),jQuery("#cep1").attr("placeholder","00000"),jQuery("#cep2").attr("placeholder","-000"),jQuery("#infoAdicional_1").attr("placeholder","Digite Aqui"),jQuery(document).ajaxComplete(function(e,t,r){jQuery("#nao_disp #email_avise").attr("placeholder","Seu e-mail aqui"),jQuery("#plus").remove(),jQuery("#minus").remove(),jQuery(".page-product").length>0&&(jQuery("#quant").before(' '),jQuery("#quant").after(' '))}),jQuery(document).on("click","#plus",function(){var e=jQuery("#quant"),t=parseInt(e.val());t&&e.val(t+1)}),jQuery(document).on("click","#minus",function(){var e=jQuery("#quant"),t=parseInt(e.val());t-1>0&&e.val(--t)}),jQuery(".fotosCompreJunto").length>0)jQuery.each(jQuery(".fotosCompreJunto .produto img"),function(){aux=(aux=jQuery(this).attr("src")).replace("/90_","/180_"),jQuery(this).attr("src",aux)});jQuery(".related__list").slick({mobileFirst:!0,centerMode:!0,slidesToShow:2,slidesToScroll:2,centerPadding:"0px",arrows:!0,dots:!1,prevArrow:'',nextArrow:'',responsive:[{breakpoint:424,settings:{centerPadding:"0px",slidesToShow:2,slidesToScroll:2}},{breakpoint:500,settings:{centerPadding:"00px",slidesToShow:2,slidesToScroll:2}},{breakpoint:767,settings:{centerPadding:"00px",slidesToShow:2,slidesToScroll:2}},{breakpoint:991,settings:{centerMode:!1,dots:!1,centerPadding:"0px",arrows:!0,slidesToShow:4,slidesToScroll:4}}]}),jQuery(".additional-message").on("click",function(){jQuery("html, body").animate({scrollTop:jQuery("#ProdBlock").offset().top},2e3)});const e=jQuery(".more-payments-modal").attr("id");jQuery(".more-payments-content").load("/mvc/store/product/payment_options",{loja:726585,IdProd:e}),setTimeout(function(){jQuery(".more-payments-content > li, .more-payments-content > li > a, .more-payments-content > li > table").removeAttr("id"),jQuery(".more-payments-content .Forma1 li").length?jQuery(".more-payments-content").show():jQuery(".more-payments-content").remove()},5e3),jQuery(".more-payments-trigger").on("click",function(){jQuery(".more-payments").toggleClass("open-payment")})}function moving(){var e=document.querySelector("body"),t=0,r=0,o=document.querySelector("#header").offsetHeight;e.setAttribute("data-scrolling",!1),e.setAttribute("data-scrolling-mode","none"),window.addEventListener("scroll",()=>{0==(t=window.pageYOffset)?e.setAttribute("data-scrolling",!1):e.setAttribute("data-scrolling",!0),t>o?(r>t?e.setAttribute("data-scrolling-mode","up"):rChevron_RightCreated with Sketch. ',nextArrow:'',responsive:[{breakpoint:424,settings:{slidesToShow:2,slidesToScroll:2}},{breakpoint:767,settings:{slidesToShow:2,slidesToScroll:2}},{breakpoint:991,settings:{slidesToShow:4,slidesToScroll:4}}]})}),jQuery(".showcase__carousel").not(".on").find(".showcase__list[data-carousel=true]").length&&jQuery(".showcase__carousel").not(".on").find(".showcase__list[data-carousel=true].slick-initialized").slick("unslick")}jQuery(document).ready(function(){jQuery(".page-search").length&&jQuery(".page-search #vitrine-catalogo fieldset [type=image]").after('').remove()}),jQuery(".selected .filter__list .filter__item-selected").each(function(){var e=jQuery(this).html();console.log(e),isEmpty(jQuery(this))&&jQuery(this).remove()}),moving(),document.addEventListener("DOMContentLoaded",function(){window.matchMedia("screen and (max-width: 991px)").matches?jQuery(body).css("padding-top",jQuery(".header__container").height()+67+"px"):jQuery(body).css("padding-top",jQuery(".header__container").height()+"px")}),document.addEventListener("DOMContentLoaded",function(){let e=[].slice.call(document.querySelectorAll("img.lazy-new")),t=!1;const r=function(){!1===t&&(t=!0,setTimeout(function(){e.forEach(function(t){t.getBoundingClientRect().top<=window.innerHeight&&t.getBoundingClientRect().bottom>=0&&"none"!==getComputedStyle(t).display&&(t.src=t.dataset.src,t.srcset=t.dataset.srcset,t.classList.remove("lazy-new"),0===(e=e.filter(function(e){return e!==t})).length&&(document.removeEventListener("scroll",r),window.removeEventListener("resize",r),window.removeEventListener("orientationchange",r)))}),t=!1},200))};document.addEventListener("scroll",r),window.addEventListener("resize",r),window.addEventListener("orientationchange",r)}),jQuery(".page-contact #imagem").remove(),jQuery(".page-contact .formulario-contato").append(''),jQuery(document).ready(function(){initSlick(),jQuery(".showcasse__title--tabs").on("click",initSlick)}),jQuery(".page-home").length>0&&jQuery(".showcase__tabs li").on("click",function(){var e=jQuery(this).attr("data-target");jQuery(this).closest(".showcase__wrapper").find(" .showcase__tabs li").removeClass("on"),jQuery(this).closest(".showcase__wrapper").find(".showcase__carousel").removeClass("on"),jQuery('.showcase__tabs li[data-target="'+e+'"]').addClass("on"),jQuery("#tab--"+e).addClass("on"),initSlick()}),jQuery(".showcase__list[data-carousel=true]")&&jQuery(".showcase__list[data-carousel=true]").each(function(){jQuery(this).find(".showcase__item--empty").remove(),jQuery(this).not(".slick-initialized").slick({mobileFirst:!1,slidesToShow:4,slidesToScroll:4,prevArrow:'',nextArrow:'',responsive:[{breakpoint:425,settings:{slidesToShow:2,slidesToScroll:2}},{breakpoint:767,settings:{slidesToShow:2,slidesToScroll:2}},{breakpoint:991,settings:{slidesToShow:3,slidesToScroll:3}}]})}),jQuery('.banner--javascript .banner__list[data-carousel="true"]').length&&(jQuery(".banner--javascript .banner__list")&&jQuery(".banner--javascript .banner__list").not(".slick-initialized").slick({mobileFirst:!1,infinite:!1,arrows:!0,slidesToShow:1,slidesToScroll:1,dots:!0,autoplay:!0,autoplaySpeed:3e3,prevArrow:'',nextArrow:'',responsive:[{breakpoint:991,settings:{slidesToShow:1,slidesToScroll:1,arrows:!1}}]}),jQuery(".banner--grid .banner__list")&&jQuery(".banner--grid .banner__list").not(".slick-initialized").slick({mobileFirst:!0,slidesToShow:1,slidesToScroll:1,prevArrow:'',nextArrow:'',responsive:[{breakpoint:424,settings:{slidesToShow:3,slidesToScroll:3}},{breakpoint:767,settings:{slidesToShow:4,slidesToScroll:4}}]})),jQuery(".brands__ul")&&jQuery(".brands__ul").each(function(){jQuery(this).not(".slick-initialized").slick({mobileFirst:!1,slidesToShow:7,slidesToScroll:7,prevArrow:'',nextArrow:'',responsive:[{breakpoint:425,settings:{slidesToShow:1,slidesToScroll:1}},{breakpoint:767,settings:{slidesToShow:2,slidesToScroll:2}},{breakpoint:991,settings:{slidesToShow:4,slidesToScroll:4}}]})});const controls=Array.from(document.querySelectorAll("[aria-controls]")),body=document.querySelector("body");controls.forEach(e=>{e.addEventListener("click",e=>{const t=`#${e.currentTarget.getAttribute("aria-controls")}`;if(-1===t.indexOf("slick")){const e=document.querySelector(t);let r=e.getAttribute("aria-hidden"),o="false"!=e.getAttribute("data-fixed");"false"!=r&&"true"!=r&&(r="true"),o&&("true"===r?body.classList.add("fixed"):body.classList.remove("fixed")),e.setAttribute("aria-hidden","true"!==r)}})});var button=jQuery("#bt-submit-comments");if(button){var buttonAction=jQuery('');button.after(buttonAction),buttonAction.click(()=>{button.trigger("click")})}function getCookie(e){var t=e+"=",r=decodeURIComponent(document.cookie);console.log(r);for(var o=r.split(";"),i=0;i0&&(jQuery("body").addClass("fixed show-cookies-alert"),jQuery(".cookies-alert, .cookies-alert__close").on("click",function(e){e.target===e.currentTarget&&(jQuery("body").removeClass("fixed show-cookies-alert"),window.sessionStorage.setItem("cookies-alert",1))})),document.cookie="CookieAlertKanitz=true"),jQuery('.instagram[data-instagram="true"]').length&&$tray(".page-home").length>0){function feedInsta(){let e=document.querySelector("#instafeed").getAttribute("data-username");new InstagramFeed({username:e,container:document.getElementById("instafeed"),display_profile:!1,display_biography:!1,display_gallery:!0,callback:null,styling:!1,items:5,items_per_row:10,margin:0,lazy_load:!0,image_size:240,host:"https://images"+~~(3333*Math.random())+"-focus-opensocial.googleusercontent.com/gadgets/proxy?container=none&url=https://www.instagram.com/"})}function initSlick(){var e=jQuery(".instagram .instagram_gallery");e.length>0&&jQuery(e).slick({mobileFirst:!1,slidesToShow:4,slidesToScroll:2,infinite:!1,arrows:!0,prevArrow:'',nextArrow:'',responsive:[{breakpoint:520,settings:{slidesToShow:4,slidesToScroll:2}},{breakpoint:420,settings:{slidesToShow:2,slidesToScroll:2}}]})}feedInsta(),jQuery(document).ready(function(){var e=setTimeout(()=>{initSlick()},3e3);return()=>clearTimeout(e)})}function debounce(e){var t;return function(r){t&&clearTimeout(t),t=setTimeout(e,200,r)}}function navigationHiddenResize(){var e=jQuery(".menu--navigation .menu__ul--nv1").outerWidth(),t=0;jQuery(".menu--navigation .menu__item--nv1").removeClass("menu__item--hidden"),jQuery(".menu--navigation .menu__item--nv1").each(function(){(t+=jQuery(this).outerWidth())>e&&jQuery(this).addClass("menu__item--hidden")})}function navigationAlign(){jQuery(".menu--navigation").each(function(){jQuery(this).find(".menu--nv2").removeClass("menu--rtl"),jQuery(this).find(".menu--nv2").each(function(){var e=jQuery(this).closest(".menu--nv1").outerWidth();jQuery(this).offset().left+jQuery(this).outerWidth()>e&&jQuery(this).addClass("menu--rtl")})})}var childs=Array.from(document.querySelectorAll(".menu__item--has-child"));childs.forEach(e=>{e.addEventListener("click",e=>{const t=e.target;if(e.currentTarget===t){var r=t.getAttribute("aria-expanded");"true"!==r&&"false"!==r&&(r="false"),t.setAttribute("aria-expanded","true"!==r),jQuery(t).find("> .menu--sub").slideToggle()}},!1)}),window.addEventListener("resize",debounce(function(e){navigationHiddenResize(),navigationAlign()})),navigationHiddenResize(),navigationAlign();var hasItems=jQuery(".navigation__main").find(".menu__ul--nv2");if(jQuery(window).width()>991&&hasItems.length>0&&jQuery(hasItems).each(function(){var e=`Ver mais`;jQuery(this).find("li").length>5&&jQuery(this).append(e),jQuery(".menu__ul--nv2").each(function(e,t){e>5&&jQuery(t).hide()})}),jQuery('.methods[data-carousel="true"]').length&&jQuery(".methods__ul").slick({slidesToShow:3,infinite:!0,slidesToScroll:1,prevArrow:'',nextArrow:'',responsive:[{breakpoint:991,settings:{slidesToShow:2,slidesToScroll:1,autoplay:!0,autoplaySpeed:2e3}},{breakpoint:424,settings:{slidesToShow:1,slidesToScroll:1,autoplay:!0,autoplaySpeed:2e3}}]}),jQuery(".news__content").load("/noticias .noticias"),jQuery(window).ajaxStop(function(){jQuery('.news__content[data-carousel="true"]').length&&(jQuery("ul.noticias").hasClass("slick-initialized")||jQuery("ul.noticias").slick({mobileFirst:!1,slidesToShow:3,slidesToScroll:1,infinite:!1,arrows:!0,prevArrow:'',nextArrow:'',responsive:[{breakpoint:1280,settings:{slidesToShow:2,slidesToScroll:1}},{breakpoint:426,settings:{slidesToShow:1,slidesToScroll:1}}]}))}),jQuery(".popupNews").length){function createpopupNewsCookies(){setTimeout(function(){jQuery(".popupNews").addClass("openned"),closePopupNews(),validateForm()},3e3)}function closePopupNews(){jQuery(".popupNews__close").on("click",function(){jQuery(".popupNews").removeClass("openned"),setCookies("popupNewsCookies",!0,3)}),jQuery(".popupNews__mask").on("click",function(){jQuery(".popupNews").removeClass("openned"),setCookies("popupNewsCookies",!0,3)})}getCookieValueByName("popupNewsCookies")||createpopupNewsCookies()}var url=window.location.pathname;function getCookieValueByName(e){const t=("; "+document.cookie).split("; "+e+"=");return 2==t.length&&t.pop().split(";").shift()}function setCookies(e,t,r){var o=new Date;o.setTime(o.getTime()+24*r*60*60*1e3);var i="expires="+o.toUTCString();document.cookie=e+"="+t+";"+i+";path=/"}"/mvc/store/newsletter/"==url&&setCookies("popupNewsCookies",!0,3),jQuery(window).width()>1200?jQuery(".showcase__button--cart").length>0&&jQuery(".showcase__button--cart").click(function(){jQuery(".cart__amount").on("DOMNodeInserted",function(e){jQuery(".header__minicart").addClass("teste")})}):jQuery(".showcase__button--cart").length>0&&jQuery(".showcase__button--cart").click(function(){jQuery(".cart__amount").on("DOMNodeInserted",function(e){jQuery(".cart__dropdown .minicart").addClass("minicart--actived")})});var veryfy_ButtonSC=document.querySelectorAll("button.showcase__button:not(#add)");veryfy_ButtonSC&&jQuery("button.showcase__button:not(#add)").click(function(){var e=jQuery(this).attr("data-id"),t=jQuery("html").attr("data-session");jQuery.ajax({method:"POST",url:"/web_api/cart/",contentType:"application/json; charset=utf-8",data:'{"Cart":{"session_id":"'+t+'","product_id":"'+e+'","quantity":"1"}}'}).done(function(t,r,o){jQuery(".id--"+e).append('Produto adicionado'),setTimeout(function(){jQuery(".showcase__button--ok").remove()},3e3);var i=new CustomEvent("UPDATECART",{detail:t.data});window.dispatchEvent(i)}).fail(function(e,t,r){jQuery.parseJSON(e.responseText)})}),jQuery(".shadow-cart-header").click(function(){jQuery(".header__minicart").removeClass("teste"),jQuery(".shadow-cart-header").hidden()}),jQuery(window).width()<991&&jQuery('.rulers[data-carousel="true"]').length&&jQuery(".rulers__list")&&jQuery(".rulers__list").not(".slick-initialized").slick({slidesToShow:2,slidesToScroll:1,infinite:!1,dots:!1,arrows:!0,prevArrow:'',nextArrow:'',responsive:[{breakpoint:767,settings:{slidesToShow:1}}]});var jQuery=$tray;if("function"==typeof jQuery){function loadThumb(){var e=jQuery(".produto-imagem-miniaturas");if(e.length){e.hide();var t=e.find("img, .icon-video");let r;jQuery(".thumbs").length&&jQuery(".thumbs").remove(),t.length&&(r='
',r+='
    ',t.each((e,t)=>{r+=createThumb(jQuery(t).attr("src"),e)}),r+="
",r+="
",e.after(r),jQuery(document).trigger("thumbs:start"),jQuery(".thumbs a").click(t=>{let r=jQuery(t.currentTarget).attr("data-index");selectThumb(r),jQuery(t.currentTarget).find(".thumb__video").length?jQuery("#colVideo").show():(jQuery(jQuery("a",e).eq(r)).mouseover().click(),jQuery("#colVideo").hide()),t.preventDefault()}),selectThumb("0"))}}function selectThumb(e){jQuery(".thumbs li").removeClass("thumbs__item--actived"),jQuery(`.thumbs [data-index=${e}]`).closest("li").addClass("thumbs__item--actived")}function createThumb(e,t){return e?`
  • `:`
  • `}jQuery(document).ready(function(){jQuery(window).ajaxComplete(function(e,t,r){r&&-1!==r.url.indexOf("variant_gallery")&&loadThumb()}),loadThumb()})}