PATH:
home
/
thebhoeo
/
.trash
/
woodmart
/
js
/
scripts
/
wc
!function(s){woodmartThemeModule.$document.on("pjax:complete wdProductsTabsLoaded wdShopPageInit wdLoadMoreLoadProducts wdArrowsLoadProducts",function(){woodmartThemeModule.imagesGalleryInLoop()}),woodmartThemeModule.$document.on("wdRecentlyViewedProductLoaded",function(){s(".wd-products-element .products, .wd-carousel-container.products .wd-product").each(function(e,r){var d=s(this);d.trigger("wdImagesGalleryInLoopOn",d)})}),s.each(["frontend/element_ready/wd_products.default","frontend/element_ready/wd_products_tabs.default","frontend/element_ready/wd_archive_products.default"],function(e,r){woodmartThemeModule.wdElementorAddAction(r,function(){woodmartThemeModule.imagesGalleryInLoop()})}),woodmartThemeModule.imagesGalleryInLoop=function(){function d(e){s(e).on("mouseover mouseout",".wd-product-grid-slide",function(t){var o=s(this),a=o.closest(".wd-product"),l=a.closest(".wd-products, .wd-products .wd-carousel"),l=0<l.length&&l.data("grid-gallery")?l.data("grid-gallery"):{};let e=woodmart_settings.grid_gallery_control;if(!("hover"!==(e=l.hasOwnProperty("grid_gallery_control")&&(null===l.grid_gallery_control||"string"==typeof l.grid_gallery_control&&0<l.grid_gallery_control.length)?l.grid_gallery_control:e)||woodmartThemeModule.$window.width()<=1024)){var l=a.find(".wd-product-grid-slider-pagin"),i=a.find(".product-image-link > img, .product-image-link > picture > img"),n=a.find(".product-image-link > picture source");let e,r,d;(d="mouseover"===t.type?(t=o.data("image-id"),e=o.data("image-url"),r=o.data("image-srcset"),l.find(`[data-image-id="${t}"]`)):(e=a.find('.wd-product-grid-slide[data-image-id="0"]').data("image-url"),r=a.find('.wd-product-grid-slide[data-image-id="0"]').data("image-srcset"),l.find('[data-image-id="0"]'))).siblings().removeClass("wd-active"),d.addClass("wd-active"),i.attr("src",e),r?(i.attr("srcset",r),n.attr("srcset",r)):i.attr("srcset")&&(i.attr("srcset",null),n.attr("srcset",null))}}).on("click",".wd-prev, .wd-next",function(r){r.preventDefault();var r=s(this),d=r.closest(".wd-products, .wd-products .wd-carousel"),d=0<d.length&&d.data("grid-gallery")?d.data("grid-gallery"):{};let e=woodmart_settings.grid_gallery_control,t=woodmart_settings.grid_gallery_enable_arrows;if(d.hasOwnProperty("grid_gallery_control")&&(null===d.grid_gallery_control||"string"==typeof d.grid_gallery_control&&0<d.grid_gallery_control.length)&&(e=d.grid_gallery_control),d.hasOwnProperty("grid_gallery_enable_arrows")&&(null===d.grid_gallery_enable_arrows||"string"==typeof d.grid_gallery_enable_arrows&&0<d.grid_gallery_enable_arrows.length)&&(t=d.grid_gallery_enable_arrows),!(woodmartThemeModule.$window.width()<1024&&(!t||"none"===t)||1024<woodmartThemeModule.$window.width()&&(!e||"arrows"!==e))){var d=r.closest(".wd-product"),r=d.find(".product-image-link > img, .product-image-link > picture > img"),o=d.find(".product-image-link > picture source"),a=d.find(".wd-product-grid-slide");let e=a.hasClass("wd-active")?d.find(".wd-product-grid-slide.wd-active").data("image-id"):0;s(this).hasClass("wd-prev")?e--:s(this).hasClass("wd-next")&&e++,-1===e?e=a.length-1:a.length===e&&(e=0);var d=d.find(`.wd-product-grid-slide[data-image-id="${e}"]`),l=d.data("image-url"),i=d.data("image-srcset");a.removeClass("wd-active"),d.addClass("wd-active"),r.attr("src",l),i?(r.attr("srcset",i),o.attr("srcset",i)):r.attr("srcset")&&(r.attr("srcset",null),o.attr("srcset",null))}})}function t(e){s(e).off("mouseover mouseout",".wd-product-grid-slide").off("click",".wd-prev, .wd-next")}s(".wd-product").each(function(e,r){t(r),d(r)}),woodmartThemeModule.$document.on("wdImagesGalleryInLoopOff",".wd-product",function(e,r=this){t(r)}).on("wdImagesGalleryInLoopOn",".wd-product",function(e,r=this){d(r)})},s(document).ready(function(){woodmartThemeModule.imagesGalleryInLoop()})}(jQuery);
[+]
..
[-] filtersArea.min.js
[edit]
[-] quickShop.min.js
[edit]
[-] loginSidebar.js
[edit]
[-] shopLoader.min.js
[edit]
[-] woocommerceWrappTable.min.js
[edit]
[-] abandonedCart.min.js
[edit]
[-] product360Button.min.js
[edit]
[-] swatchesLimit.js
[edit]
[-] frequentlyBoughtTogether.js
[edit]
[-] quickShopVariationForm.min.js
[edit]
[-] trackProductViewed.min.js
[edit]
[-] frequentlyBoughtTogether.min.js
[edit]
[-] sortByWidget.js
[edit]
[-] woocommerceQuantity.min.js
[edit]
[-] stickyDetails.min.js
[edit]
[-] filterDropdowns.min.js
[edit]
[-] commentImage.min.js
[edit]
[-] woocommerceQuantity.js
[edit]
[-] singleProductTabsAccordion.js
[edit]
[-] addToCartAllTypes.min.js
[edit]
[-] swatchesVariations.min.js
[edit]
[-] loginTabs.js
[edit]
[-] categoriesAccordion.min.js
[edit]
[-] checkoutRemoveBtn.min.js
[edit]
[-] productImagesGallery.js
[edit]
[-] singleProductTabsSideHidden.js
[edit]
[-] stickyAddToCart.js
[edit]
[-] swatchesVariations.js
[edit]
[-] imagesGalleryInLoop.min.js
[edit]
[-] quickShop.js
[edit]
[-] product360Button.js
[edit]
[-] initZoom.js
[edit]
[-] emailSubscriptionCheckboxes.min.js
[edit]
[-] headerCategoriesMenu.js
[edit]
[-] headerCategoriesMenu.min.js
[edit]
[-] freeGiftsTable.js
[edit]
[-] wishlist.min.js
[edit]
[-] checkoutQuantity.min.js
[edit]
[-] ptSubscribeForm.min.js
[edit]
[-] productHover.js
[edit]
[-] updateAjaxDeliveryDates.js
[edit]
[-] productMoreDescription.min.js
[edit]
[-] woocommercePriceSlider.min.js
[edit]
[-] productImages.js
[edit]
[-] productReviewsLikes.min.js
[edit]
[-] filterDropdowns.js
[edit]
[-] singleProductTabsAccordion.min.js
[edit]
[-] shopMasonry.min.js
[edit]
[-] woodmartCompare.js
[edit]
[-] searchByFilters.js
[edit]
[-] gridQuantity.min.js
[edit]
[-] swatchesOnGrid.js
[edit]
[-] productsLoadMore.min.js
[edit]
[-] productGalleryVideo.js
[edit]
[-] variationsPrice.min.js
[edit]
[-] productReviewsCriteria.js
[edit]
[-] emailSubscriptionCheckboxes.js
[edit]
[-] freeGiftsTable.min.js
[edit]
[-] dynamicDiscountsTable.min.js
[edit]
[-] waitlistTable.min.js
[edit]
[-] abandonedCart.js
[edit]
[-] shopMasonry.js
[edit]
[-] wishlistGroup.js
[edit]
[-] wishlist.js
[edit]
[-] checkoutFields.js
[edit]
[-] addToCartAllTypes.js
[edit]
[-] imagesGalleryInLoop.js
[edit]
[-] productReviews.js
[edit]
[-] waitlistSubscribeForm.min.js
[edit]
[-] categoriesDropdowns.min.js
[edit]
[-] filtersArea.js
[edit]
[-] cartWidget.min.js
[edit]
[-] estimateDeliveryOnCart.js
[edit]
[-] productRecentlyViewed.min.js
[edit]
[-] woocommerceWrappTable.js
[edit]
[-] waitlistSubscribeForm.js
[edit]
[-] productReviewsLikes.js
[edit]
[-] checkoutRemoveBtn.js
[edit]
[-] cartQuantity.min.js
[edit]
[-] productMoreDescription.js
[edit]
[-] ptSubscribeForm.js
[edit]
[-] shopPageInit.js
[edit]
[-] countProductVisits.min.js
[edit]
[-] loginDropdown.min.js
[edit]
[-] productReviewsCriteria.min.js
[edit]
[-] loginDropdown.js
[edit]
[-] actionAfterAddToCart.min.js
[edit]
[-] miniCartQuantity.js
[edit]
[-] woodmartCompare.min.js
[edit]
[-] searchByFilters.min.js
[edit]
[-] miniCartQuantity.min.js
[edit]
[-] updateCartFragmentsFix.min.js
[edit]
[-] waitlistTable.js
[edit]
[-] woocommerceNotices.min.js
[edit]
[-] onRemoveFromCart.min.js
[edit]
[-] quickShopVariationForm.js
[edit]
[-] categoriesAccordion.js
[edit]
[-] singleProductTabsSideHidden.min.js
[edit]
[-] loginTabs.min.js
[edit]
[-] checkoutFields.min.js
[edit]
[-] estimateDeliveryOnCart.min.js
[edit]
[-] productFilters.js
[edit]
[-] wishlistGroup.min.js
[edit]
[-] productRecentlyViewed.js
[edit]
[-] productFilters.min.js
[edit]
[-] shopLoader.js
[edit]
[-] productHover.min.js
[edit]
[-] quickView.min.js
[edit]
[-] checkoutQuantity.js
[edit]
[-] cartWidget.js
[edit]
[-] onRemoveFromCart.js
[edit]
[-] quickView.js
[edit]
[-] woocommerceComments.js
[edit]
[-] countProductVisits.js
[edit]
[-] dynamicDiscountsTable.js
[edit]
[-] loginSidebar.min.js
[edit]
[-] woocommerceComments.min.js
[edit]
[-] swatchesOnGrid.min.js
[edit]
[-] cartQuantity.js
[edit]
[-] productImagesGallery.min.js
[edit]
[-] updateAjaxDeliveryDates.min.js
[edit]
[-] gridQuantity.js
[edit]
[-] stickySidebarBtn.min.js
[edit]
[-] productVideo.min.js
[edit]
[-] variationsPrice.js
[edit]
[-] productReviews.min.js
[edit]
[-] woocommerceNotices.js
[edit]
[-] ajaxFilters.js
[edit]
[-] productImages.min.js
[edit]
[-] trackProductViewed.js
[edit]
[-] ptTable.min.js
[edit]
[-] actionAfterAddToCart.js
[edit]
[-] stickyAddToCart.min.js
[edit]
[-] ptTable.js
[edit]
[-] swatchesLimit.min.js
[edit]
[-] shopPageInit.min.js
[edit]
[-] productVideo.js
[edit]
[-] productGalleryVideo.min.js
[edit]
[-] ajaxFilters.min.js
[edit]
[-] stickyDetails.js
[edit]
[-] productsLoadMore.js
[edit]
[-] woocommercePriceSlider.js
[edit]
[-] sortByWidget.min.js
[edit]
[-] commentImage.js
[edit]
[-] productsTabs.min.js
[edit]
[-] productsTabs.js
[edit]
[-] categoriesDropdowns.js
[edit]
[-] initZoom.min.js
[edit]
[-] updateCartFragmentsFix.js
[edit]
[-] stickySidebarBtn.js
[edit]