D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
ensad
/
www
/
wp-content
/
plugins
/
wow-divi-carousel
/
scripts
/
Filename :
frontend-bundle.min.js
back
Copy
!function(o){var e={};function t(n){if(e[n])return e[n].exports;var c=e[n]={i:n,l:!1,exports:{}};return o[n].call(c.exports,c,c.exports,t),c.l=!0,c.exports}t.m=o,t.c=e,t.d=function(o,e,n){t.o(o,e)||Object.defineProperty(o,e,{configurable:!1,enumerable:!0,get:n})},t.n=function(o){var e=o&&o.__esModule?function(){return o.default}:function(){return o};return t.d(e,"a",e),e},t.o=function(o,e){return Object.prototype.hasOwnProperty.call(o,e)},t.p="/",t(t.s=66)}([,,,,,,function(o,e){},function(o,e){},function(o,e){},function(o,e){},function(o,e){},function(o,e){},function(o,e){},function(o,e){},function(o,e){},function(o,e){},function(o,e){},function(o,e){},function(o,e){},function(o,e){},function(o,e){},function(o,e){},function(o,e){},function(o,e){},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(o,e,t){t(6),t(7),t(12),t(13),t(18),t(19),t(17),t(8),t(9),t(14),t(15),t(20),t(23),t(10),t(11),t(21),t(22),t(16),o.exports=t(67)},function(o,e){function t(o){return(t="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"===typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o})(o)}jQuery(function(o){var e=o(".wdc-carousel-parent");e&&e.each(function(){var e=o(this).find(".wdc-carousel"),t=o(this).data("settings"),n=o(this).find(".wdc-carousel-nav"),c=n.data("tab-settings"),a=Object.assign({swipeToSlide:!0,edgeFriction:.35,useTransform:!0,touchThreshold:600,cssEase:"ease-in-out"},t);e.slick(a),n.length>0&&n.slick(c)}),o(".wdc-woo-ajax-veiw")&&o(document).on("click",".wdc-woo-ajax-veiw",function(e){e.preventDefault();var t=o(this).data("product-id"),n=o(this).data("elements"),d=o(this).parents(".wdc-product-carousel").data("modal-parent");o.ajax({url:wdc_vars.ajaxurl,data:{action:"wdc_quick_view",elements:n,product_id:t},type:"POST",cache:!1,beforeSend:function(){o("#wdc-loader-wrapper").addClass("open")},success:function(e){o.magnificPopup.open({items:{src:'<div class="wdc-modal wdc-woo-quickview wdc-woo-product wdc-woo-single"><div class="mfp-close"></div>'+e+"</div>"},type:"inline",removalDelay:400,showCloseBtn:!1,enableEscapeKey:!0,callbacks:{closeOnContentClick:!1,open:function(){o("#wdc-loader-wrapper").removeClass("open"),o(".wdc-modal").addClass("open"),o(".wdc-modal").addClass(d),o(".wdc-modal").find(".mfp-close").html("\xd7"),c(),a()},close:function(){r(),o(".wdc-modal").removeClass("open"),o(".wdc-modal").removeClass("wdc-woo-product")}}},0)},error:function(e){console.log(e),o("#wdc-loader-wrapper").removeClass("open")}})});var n=o(".wdc-woo-quick-veiw-btn");function c(){o(".wdc-products-parent img").removeAttr("height").removeAttr("width"),o(".wdc-products-nav img").removeAttr("height").removeAttr("width")}function a(){var e=o(".wdc-products-parent.gallery-on");e&&e.slick({slidesToShow:1,slidesToScroll:1,adaptiveHeight:!0,waitForAnimate:!1,arrows:!1,fade:!0,edgeFriction:.35,cssEase:"ease-in-out",touchThreshold:600,asNavFor:".wdc-products-nav"});var t=o(".wdc-products-nav");t&&t.slick({slidesToShow:4,slidesToScroll:1,asNavFor:".wdc-products-parent",dots:!1,edgeFriction:.35,cssEase:"ease-in-out",touchThreshold:600,adaptiveHeight:!0,focusOnSelect:!0,centerMode:!1})}function r(){var e=o(".wdc-products-nav");e&&e.slick("unslick");var t=o(".wdc-products-parent.gallery-on");t&&t.slick("unslick")}function d(e,t,n,c){var a=o(document).width();a<768?c&&c.length>0&&o(e).attr("src",c):a<981&&a>767?n&&n.length>0&&o(e).attr("src",n):o(e).attr("src",t)}n&&n.magnificPopup({type:"inline",mainClass:"mfp-fade",removalDelay:100,closeOnContentClick:!1,midClick:!0,callbacks:{beforeOpen:function(){o("#wdc-loader-wrapper").addClass("open")},open:function(){var e=o(this.st.el).parents(".wdc-product-carousel").data("modal-parent");o(".wdc-modal").addClass("open"),o(".wdc-modal").addClass("wdc-woo-product"),o(".wdc-modal").addClass(e),c(),a(),o("#wdc-loader-wrapper").removeClass("open")},close:function(){r(),o(".wdc-modal").removeClass("open"),o(".wdc-modal").removeClass("wdc-woo-product")}}});var i=o(".wdc-swapped-img-selector");i.length>0&&i.each(function(){var e=o(this).find(".wdc-swapped-img"),n=e.data("schema");if(n&&"object"===t(n)){var c=n.desktop,a=n.hover,r=n.tablet,i=n.phone;a&&a.length>0&&(o(this).on("hover",function(){o(e).attr("src",a),o(e).addClass("wdc-img-hovered")}),o(this).on("mouseleave",function(){d(e,c,r,i),o(e).removeClass("wdc-img-hovered")})),d(e,c,r,i),(r&&r.length>0||r&&i.length>0)&&o(window).on("resize",function(){d(e,c,r,i)})}});var s=o(".wdc-lightbox-on .wdc-lightbox-ctrl img"),l=o(".wdc-lightbox-off .wdc-lightbox-ctrl img");s.magnificPopup({type:"image",mainClass:"mfp-with-zoom",gallery:{enabled:!1},zoom:{enabled:!0,duration:300,easing:"ease-in-out"}}),l.each(function(){o(this).removeAttr("data-mfp-src")}),o("body").on("added_to_cart",function(e,t,n,c){var a=c.data("product_id");o("#ref-"+a).addClass("wdc-flash-open")})})}]);