PATH:
home
/
thebhoeo
/
.trash
/
woodmart
/
js
/
scripts
/
wc
!function(c){woodmartThemeModule.$document.on("wdProductsTabsLoaded wdSearchFullScreenContentLoaded wdUpdateWishlist wdRecentlyViewedProductLoaded wdShopPageInit",function(){woodmartThemeModule.productsLoadMore()}),c.each(["frontend/element_ready/wd_products.default","frontend/element_ready/wd_products_tabs.default","frontend/element_ready/wd_archive_products.default"],function(o,e){woodmartThemeModule.wdElementorAddAction(e,function(){woodmartThemeModule.productsLoadMore()})}),woodmartThemeModule.productsLoadMore=function(){var i,u=!1,l=(c(".wd-products-element").each(function(){var o=c(this),n=[],e=o.find(".wd-products");e.hasClass("pagination-arrows")&&(n[parseInt(e.data("paged"))]={items:e.html(),status:"have-posts"},o.find(".wd-ajax-arrows .wd-btn-arrow.wd-prev .wd-arrow-inner, .wd-ajax-arrows .wd-btn-arrow.wd-next .wd-arrow-inner").on("click",function(o){o.preventDefault();o=c(this).parent(".wd-btn-arrow");if(!u&&!o.hasClass("wd-disabled")){u=!0,clearInterval(i);var d=o.parent().prev(),a=o.parent().find(".wd-btn-arrow.wd-next"),r=o.parent().find(".wd-btn-arrow.wd-prev"),e=d.data("atts"),t=woodmart_settings.ajaxurl,s=d.attr("data-paged");if(s++,o.hasClass("wd-prev")){if(s<2)return;s-=2}l("arrows",e,t,"woodmart_get_products_shortcode","json","POST",s,d,o,n,function(o){var e,t=d.hasClass("products-bordered-grid")||d.hasClass("products-bordered-grid-ins")||d.hasClass("products-bordered-grid-bottom");d.siblings(".wd-sticky-loader").removeClass("wd-loading"),t||d.addClass("wd-animated-products"),o.items.length&&(d.html(o.items).attr("data-paged",s),d.imagesLoaded().progress(function(){d.parent().trigger("recalc")}),woodmartThemeModule.$document.trigger("wood-images-loaded"),woodmartThemeModule.$document.trigger("wdArrowsLoadProducts")),woodmartThemeModule.$window.width()<768&&c("html, body").stop().animate({scrollTop:d.offset().top-150},400),t||(e=0,i=setInterval(function(){d.find(".wd-product").eq(e).addClass("wd-animated"),e++},100)),1<s?r.removeClass("wd-disabled"):r.addClass("wd-disabled"),"no-more-posts"===o.status?a.addClass("wd-disabled"):a.removeClass("wd-disabled")})}}))}),woodmartThemeModule.clickOnScrollButton(woodmartThemeModule.shopLoadMoreBtn,!1,woodmart_settings.infinit_scroll_offset),woodmartThemeModule.$document.off("click",".wd-products-load-more").on("click",".wd-products-load-more",function(o){var e,t,d,a,r,s,n;o.preventDefault(),u||(u=!0,e=c(this),t=e.parents(".wd-products-element").find(".wd-products"),o="woodmart_get_products_"+(d=t.data("source")),a=woodmart_settings.ajaxurl,r="POST",s=t.data("atts"),n=t.data("paged"),n++,"main_loop"===d&&(a=c(this).attr("href"),r="GET"),l("load-more",s,a,o,"json",r,n,t,e,[],function(o){o.items.length&&(t.hasClass("grid-masonry")?m(t,o.items):t.append(o.items),"no-more-posts"!==o.status&&t.imagesLoaded().progress(function(){woodmartThemeModule.clickOnScrollButton(woodmartThemeModule.shopLoadMoreBtn,!0,woodmart_settings.infinit_scroll_offset)}),woodmartThemeModule.$document.trigger("wood-images-loaded"),woodmartThemeModule.$document.trigger("wdLoadMoreLoadProducts"),t.data("paged",n)),"main_loop"===d&&(e.attr("href",o.nextPage),"no-more-posts"===o.status)&&e.parent().hide().remove(),"no-more-posts"===o.status&&e.parent().hide()}))}),function(o,e,t,d,a,r,s,n,i,l,m){var w={atts:e,paged:s,action:d,woo_ajax:1};"GET"===r&&(t=woodmartThemeModule.removeURLParameter(t,"loop"),t=woodmartThemeModule.removeURLParameter(t,"woo_ajax")),l[s]?(n.addClass("wd-loading"),setTimeout(function(){m(l[s]),n.removeClass("wd-loading"),u=!1},300)):("arrows"===o&&(n.addClass("wd-loading").parent().addClass("wd-loading"),n.siblings(".wd-sticky-loader").addClass("wd-loading")),i.addClass("loading"),"woodmart_get_products_main_loop"===d&&(w={loop:n.find(".product").last().data("loop"),woo_ajax:1,atts:e}),c.ajax({url:t,data:w,dataType:a,method:r,success:function(d){woodmartThemeModule.removeDuplicatedStylesFromHTML(d.items,function(o){var e,t=c(".woocommerce-result-count");d.items=o,l[s]=d,m(d),"yes"===woodmart_settings.load_more_button_page_url_opt&&"no"!==woodmart_settings.load_more_button_page_url&&d.currentPage&&(o="",e=d.currentPage+window.location.search,window.history.state&&window.history.state.hasOwnProperty("url")&&(window.history.state.url=e,o=window.history.state),window.history.replaceState(o,"",e),c(".woocommerce-breadcrumb").replaceWith(d.breadcrumbs)),0<t.length&&d.hasOwnProperty("resultCount")&&t.replaceWith(d.resultCount)})},error:function(){console.log("ajax error")},complete:function(){"arrows"===o&&n.removeClass("wd-loading").parent().removeClass("wd-loading"),i.removeClass("loading"),u=!1}}))}),m=function(o,e){e=c(e);o.append(e).isotope("appended",e),o.imagesLoaded().progress(function(){o.isotope("layout")})}},c(document).ready(function(){woodmartThemeModule.productsLoadMore()})}(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]