403Webshell
Server IP : 62.60.133.156  /  Your IP : 216.73.217.51
Web Server : LiteSpeed
System : Linux linux24.centraldnserver.com 4.18.0-553.141.2.lve.el8.x86_64 #1 SMP Wed Jul 8 16:10:02 UTC 2026 x86_64
User : mimradmin ( 1166)
PHP Version : 7.4.33
Disable Function : show_source, system, shell_exec, passthru, exec, popen, proc_open
MySQL : OFF |  cURL : ON |  WGET : ON |  Perl : ON |  Python : ON |  Sudo : OFF |  Pkexec : OFF
Directory :  /home/mimradmin/.trash/wp-content.1/themes/woodmart/js/scripts/wc/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /home/mimradmin/.trash/wp-content.1/themes/woodmart/js/scripts/wc/imagesGalleryInLoop.min.js
!function(c){woodmartThemeModule.$document.on("pjax:complete wdProductsTabsLoaded wdShopPageInit wdLoadMoreLoadProducts wdArrowsLoadProducts",function(){woodmartThemeModule.imagesGalleryInLoop()}),woodmartThemeModule.$document.on("wdRecentlyViewedProductLoaded",function(){c(".wd-products-element .products, .wd-carousel-container.products .wd-product").each(function(d,e){var t=c(this);t.trigger("wdImagesGalleryInLoopOn",t)})}),c.each(["frontend/element_ready/wd_products.default","frontend/element_ready/wd_products_tabs.default","frontend/element_ready/wd_archive_products.default"],function(d,e){woodmartThemeModule.wdElementorAddAction(e,function(){woodmartThemeModule.imagesGalleryInLoop()})}),woodmartThemeModule.imagesGalleryInLoop=function(){function t(d){c(d).on("mouseover mouseout",".wd-product-grid-slide",function(o){var r=c(this),a=r.closest(".wd-product");if(!(woodmartThemeModule.$window.width()<=1024)){var i=a.find(".wd-product-grid-slider-pagin"),n=a.find(".wd-product-img-link > img, .wd-product-img-link > picture > img"),s=a.find(".wd-product-img-link > picture source");let d,e,t;(t="mouseover"===o.type?(o=r.data("image-id"),d=r.data("image-url"),e=r.data("image-srcset"),i.find(`[data-image-id="${o}"]`)):(d=a.find('.wd-product-grid-slide[data-image-id="0"]').data("image-url"),e=a.find('.wd-product-grid-slide[data-image-id="0"]').data("image-srcset"),i.find('[data-image-id="0"]'))).siblings().removeClass("wd-active"),t.addClass("wd-active"),n.attr("src",d),e?(n.attr("srcset",e),s.attr("srcset",e)):n.attr("srcset")&&(n.attr("srcset",null),s.attr("srcset",null))}}).on("click",".wd-prev, .wd-next",function(d){d.preventDefault();var d=c(this).closest(".wd-product"),e=d.find(".wd-product-img-link > img, .wd-product-img-link > picture > img"),t=d.find(".wd-product-img-link > picture source"),o=d.find(".wd-product-grid-slide");let r=o.hasClass("wd-active")?d.find(".wd-product-grid-slide.wd-active").data("image-id"):0;c(this).hasClass("wd-prev")?r--:c(this).hasClass("wd-next")&&r++,-1===r?r=o.length-1:o.length===r&&(r=0);var d=d.find(`.wd-product-grid-slide[data-image-id="${r}"]`),a=d.data("image-url"),i=d.data("image-srcset");o.removeClass("wd-active"),d.addClass("wd-active"),e.attr("src",a),i?(e.attr("srcset",i),t.attr("srcset",i)):e.attr("srcset")&&(e.attr("srcset",null),t.attr("srcset",null))})}function o(d){c(d).off("mouseover mouseout",".wd-product-grid-slide").off("click",".wd-prev, .wd-next")}c(".wd-product").each(function(d,e){o(e),t(e)}),woodmartThemeModule.$document.on("wdImagesGalleryInLoopOff",".wd-product",function(d,e=this){o(e)}).on("wdImagesGalleryInLoopOn",".wd-product",function(d,e=this){t(e)})},c(document).ready(function(){woodmartThemeModule.imagesGalleryInLoop()})}(jQuery);

Youez - 2016 - github.com/yon3zu