1$(document).ready(function(){if($(".js-eq-product-ingredients-slider").length>0&&$(".js-eq-product-ingredients-slider").slick({prevArrow:$(".js-cus-ingredients-slick-arrow-prev"),nextArrow:$(".js-cus-ingredients-slick-arrow-next"),arrows:!0,slidesToShow:2.4,slidesToScroll:1,infinite:!1,dots:!1,responsive:[{breakpoint:992,settings:{slidesToShow:1.8,slidesToScroll:1,infinite:!0}},{breakpoint:768,settings:{slidesToShow:1.3,slidesToScroll:1,infinite:!0,arrows:!1}}]}),$("body").on("click",".quantity .plus",function(e){e.preventDefault();let $input=$(this).siblings("[name='quantity']"),updatedQuantity=parseInt($input.val())+1;$input.val(updatedQuantity)}),$("body").on("click",".quantity .minus",function(e){e.preventDefault();let $input=$(this).siblings("[name='quantity']"),updatedQuantity=parseInt($input.val())-1;updatedQuantity<=1&&(updatedQuantity=1),$input.val(updatedQuantity)}),$("body").on("click",".js-product-faq__content-text-header",function(){$(this).parent().hasClass("active")?($(this).parent().removeClass("active"),$(this).parent().find(".js-product-faq__content-text-body").slideUp()):($(".js-product-faq-content-text").removeClass("active"),$(this).parent().addClass("active"),$(".js-product-faq__content-text-body").slideUp(500),$(this).parent().find(".js-product-faq__content-text-body").slideDown(500))}),$("body").on("change","#selling_plan_id",function(){var selected=$(this).find("option:selected"),priceHTML=selected.data("price-html"),saveBadge=selected.data("save-badge"),subscribe_and_sav=$(this).closest(".subscribe-and-sav");subscribe_and_sav.find(".price").html(priceHTML),$(this).closest(".eq_product").find(".price_wrraper_block").find(".price").html(priceHTML),console.log($(this).closest(".eq_product").find(".price_wrraper_block")),saveBadge?(subscribe_and_sav.find(".save-badge").show().html(saveBadge),$(this).closest(".eq_product").find(".price_wrraper_block").find(".save-badge").show().html(saveBadge)):(subscribe_and_sav.find(".save-badge").hide(),$(this).closest(".eq_product").find(".price_wrraper_block").find(".save-badge").hide()),$(this).closest(".eq_product").find('input[name="selling_plan"]').val(selected.val())}),$("body").on("change",'input[name="subscribe-and-save-widget"]',function(){if($("#subscribe-and-save").is(":checked")){const selectedPlan=$("#selling_plan_id").val();$('input[name="selling_plan"]').val(selectedPlan),$("#selling_plan_id").prop("disabled",!1),$("#selling_plan_id").trigger("change")}else $('input[name="selling_plan"]').val(""),$("#selling_plan_id").prop("disabled",!0),$(this).closest(".eq_product").find(".price_wrraper_block").html($(this).closest(".eq_product").find("#one-time-purchase-price").html())}),$(".js-product-slide-for").length>0&&$(".js-product-slide-now").length>0){let swiperThumbs=new Swiper(".swiper-product-thumbs",{slidesPerView:6,spaceBetween:8,freeMode:!0,watchSlidesProgress:!0,breakpoints:{768:{spaceBetween:16}}}),swiperMain=new Swiper(".swiper-product-for",{navigation:{nextEl:".next-arrow",prevEl:".prev-arrow"},thumbs:{swiper:swiperThumbs},effect:"fade",fadeEffect:{crossFade:!0},speed:500,on:{init:function(){playPauseVideo(this.el,"play")},slideChangeTransitionStart:function(){playPauseVideo(this.el,"pause")},slideChangeTransitionEnd:function(){playPauseVideo(this.el,"play")}}})}function postMessageToPlayer(player,command){!player||!command||player.contentWindow.postMessage(JSON.stringify(command),"*")}function playPauseVideo(swiperEl,action){$(swiperEl).find(".swiper-slide").each(function(){const $slide=$(this),isActive=$slide.hasClass("swiper-slide-active"),video=$slide.find("video").get(0);video&&(action==="play"&&isActive?video.play():video.pause());const iframe=$slide.find("iframe").get(0);if(iframe){const src=$(iframe).attr("src")||"";if(src.includes("youtube")){const ytCommand={event:"command",func:isActive&&action==="play"?"playVideo":"pauseVideo",args:[]};isActive&&action==="play"&&postMessageToPlayer(iframe,{event:"command",func:"unmute"}),postMessageToPlayer(iframe,ytCommand)}else src.includes("vimeo")&&postMessageToPlayer(iframe,{method:isActive&&action==="play"?"play":"pause"})}})}}); 2//# sourceMappingURL=/cdn/shop/t/105/assets/eq_product.js.map?v=160490926085363689011784897816
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.