403Webshell
Server IP : 162.0.217.223  /  Your IP : 216.73.216.150
Web Server : LiteSpeed
System : Linux premium269.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : mypckeys ( 1539)
PHP Version : 8.1.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/mypckeys/www/wp-content/themes/woodmart/js/scripts/wc/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/mypckeys/www/wp-content/themes/woodmart/js/scripts/wc/quickView.min.js
!function(d){d.each(["frontend/element_ready/wd_products.default","frontend/element_ready/wd_products_tabs.default"],function(e,o){woodmartThemeModule.wdElementorAddAction(o,function(){woodmartThemeModule.quickViewInit()})}),woodmartThemeModule.quickViewInit=function(){woodmartThemeModule.$document.on("click",".open-quick-view",function(e){if(e.preventDefault(),d(".open-quick-view").hasClass("loading"))return!0;var e=d(this),o=e.data("id"),t=e.data("loop-name"),i=e.data("loop"),n="",a="",t=d(".quick-view").find('[data-loop-name="'+t+'"]');e.addClass("loading"),void 0!==t[i-1]&&(n=t.eq(i-1).addClass("quick-view-prev"),n=d("<div>").append(n.clone()).html()),void 0!==t[i+1]&&(a=t.eq(i+1).addClass("quick-view-next"),a=d("<div>").append(a.clone()).html()),woodmartThemeModule.quickViewLoad(o,e,n,a)})},woodmartThemeModule.quickViewLoad=function(e,o){function t(e){e=d(e),d.magnificPopup.open({items:{src:e,type:"inline"},tClose:woodmart_settings.close,tLoading:woodmart_settings.loading,removalDelay:500,callbacks:{beforeOpen:function(){this.st.mainClass="mfp-move-horizontal quick-view-wrapper"},open:function(){var e=d(this.content[0]).find(".variations_form");e.each(function(){d(this).wc_variation_form().find(".variations select:eq(0)").trigger("change")}),e.trigger("wc_variation_form"),woodmartThemeModule.$body.trigger("woodmart-quick-view-displayed"),woodmartThemeModule.$document.trigger("wdQuickViewOpen"),setTimeout(function(){woodmartThemeModule.$document.trigger("wdQuickViewOpen300")},300)}}})}e={id:e,action:"woodmart_quick_view"};void 0!==o.data("attribute")&&d.extend(e,o.data("attribute"));d.ajax({url:woodmart_settings.ajaxurl,data:e,method:"get",success:function(e){woodmartThemeModule.removeDuplicatedStylesFromHTML(e,function(e){woodmart_settings.quickview_in_popup_fix?(d.magnificPopup.close(),setTimeout(function(){t(e)},500)):t(e)})},complete:function(){o.removeClass("loading")}})},d(document).ready(function(){woodmartThemeModule.quickViewInit()})}(jQuery);

Youez - 2016 - github.com/yon3zu
LinuXploit