text: var wooFile=!0;!function(a){"use strict";var b={popupEffect:"mfp-move-horizontal",supports_html5_storage:!1,shopLoadMoreBtn:".wromox-products-load-more.load-on-scroll",ajaxLinks:".wromox-product-categories a, .widget_product_categories a, .widget_layered_nav_filters a, .woocommerce-widget-layered-nav a, .filters-area:not(.custom-content) a, body.post-type-archive-product:not(.woocommerce-account) .woocommerce-pagination a, body.tax-product_cat:not(.woocommerce-account) .woocommerce-pagination a, .wromox-shop-tools a, .wromox-woocommerce-layered-nav a, .wromox-price-filter a, .wromox-clear-filters-wrapp a, .wromox-woocommerce-sort-by a, .woocommerce-widget-layered-nav-list a, .wd-widget-stock-status a",mainCarouselArg:{rtl:a("body").hasClass("rtl"),items:"centered"==wromox_settings.product_gallery.thumbs_slider.position?2:1,autoplay:wromox_settings.product_slider_autoplay,autoplayTimeout:3e3,loop:wromox_settings.product_slider_autoplay,center:"centered"==wromox_settings.product_gallery.thumbs_slider.position,startPosition:"centered"==wromox_settings.product_gallery.thumbs_slider.position?wromox_settings.centered_gallery_start:0,dots:!1,nav:!0,autoHeight:"yes"==wromox_settings.product_slider_auto_height,navText:!1,onRefreshed:function(){a(window).resize()}}};try{b.supports_html5_storage="sessionStorage"in window&&null!==window.sessionStorage,window.sessionStorage.setItem("wromox","test"),window.sessionStorage.removeItem("wromox")}catch(c){b.supports_html5_storage=!1}wromoxThemeModule.categoriesDropdowns=function(){a(".dropdown_product_cat").change(function(){if(""!=a(this).val()){var b="",c=wromox_settings.home_url;b=c.indexOf("?")>0?c+"&product_cat="+jQuery(this).val():c+"?product_cat="+jQuery(this).val(),location.href=b}else location.href=wromox_settings.shop_url}),a(".widget_product_categories").each(function(){var b=a(this).find("select");a().selectWoo&&b.selectWoo({minimumResultsForSearch:5,width:"100%",allowClear:!0,placeholder:wromox_settings.product_categories_placeholder,language:{noResults:function(){return wromox_settings.product_categories_no_results}}})})},wromoxThemeModule.miniCartQuantity=function(){var c;a(document).on("change input",".woocommerce-mini-cart .quantity .qty",function(){var d=a(this),e=d.val(),f=d.parents(".woocommerce-mini-cart-item").data("key"),g=wromox_settings.cart_hash_key,h=wromox_settings.fragment_name;clearTimeout(c),c=setTimeout(function(){d.parents(".mini_cart_item").addClass("wd-loading"),a.ajax({url:wromox_settings.ajaxurl,data:{action:"wromox_update_cart_item",item_id:f,qty:e},success:function(c){c&&c.fragments&&(a.each(c.fragments,function(b,d){if(a(b).hasClass("widget_shopping_cart_content")){var e=a(d).find('.woocommerce-mini-cart-item[data-key="'+f+'"]'),g=a(d).find(".shopping-cart-widget-footer"),h=a(b).find('.woocommerce-mini-cart-item[data-key="'+f+'"]');c.cart_hash?(h.replaceWith(e),a(".shopping-cart-widget-footer").replaceWith(g)):a(b).replaceWith(d)}else a(b).replaceWith(d)}),b.supports_html5_storage&&(sessionStorage.setItem(h,JSON.stringify(c.fragments)),localStorage.setItem(g,c.cart_hash),sessionStorage.setItem(g,c.cart_hash),c.cart_hash&&sessionStorage.setItem("wc_cart_created",(new Date).getTime())))},dataType:"json",method:"GET"})},500)})},wromoxThemeModule.swatchesLimit=function(){a(".wd-swatches-divider").on("click",function(){a(this).parent().find(".wromox-swatch").removeClass("wd-hidden"),a(this).parent().addClass("wd-all-shown")})},wromoxThemeModule.gridQuantity=function(){a(".product-grid-item").on("change input",".quantity .qty",function(){var b=a(this).parent().parent().find(".add_to_cart_button");b.attr("data-quantity",a(this).val()),b.attr("href","?add-to-cart="+b.attr("data-product_id")+"&quantity="+a(this).val())})},wromoxThemeModule.wcTabsHoverFix=function(){a(".wc-tabs > li").on("click",function(){wromoxThemeModule.productHover()})},wromoxThemeModule.commentImage=function(){a("form.comment-form").attr("enctype","multipart/form-data")},wromoxThemeModule.commentImagesUploadValidation=function(){function b(a){c.prepend('<ul class="woocommerce-error" role="alert"><li>'+a+"</li></ul>")}var c=a(".comment-form"),d=c.find("#wd-add-img-btn"),e=[];0!==d.length&&(a.each(wromox_settings.comment_images_upload_mimes,function(a,b){e.push(String(b))}),c.find("#wd-add-img-btn").on("change",function(a){c.find(".wd-add-img-count").text(wromox_settings.comment_images_added_count_text.replace("%s",this.files.length))}),c.on("submit",function(f){c.find(".woocommerce-error").remove();var g=!1,h=!1;d[0].files.length>wromox_settings.comment_images_count&&(b(wromox_settings.comment_images_count_text),f.preventDefault()),Array.prototype.forEach.call(d[0].files,function(b){var c=b.size,d=String(b.type);c>wromox_settings.comment_images_upload_size&&(g=!0),a.inArray(d,e)<0&&(h=!0)}),g&&(b(wromox_settings.comment_images_upload_size_text),f.preventDefault()),h&&(b(wromox_settings.comment_images_upload_mimes_text),f.preventDefault())}))},wromoxThemeModule.singleProductTabsCommentsFix=function(){var b=window.location.href,c=window.location.hash,d=a("body").find(".wc-tabs, ul.tabs").first();a(".single-product-page").hasClass("reviews-location-separate")&&(c.toLowerCase().indexOf("comment-")>=0||"#reviews"===c||"#tab-reviews"===c?d.find("li:first a").click():(b.indexOf("comment-page-")>0||b.indexOf("cpage=")>0)&&d.find("li:first a").click())},jQuery(window).on("elementor/frontend/init",function(){elementorFrontend.isEditMode()&&jQuery(window).on("resize",function(){wromoxThemeModule.singleProductTabsAccordion()})}),wromoxThemeModule.singleProductTabsAccordion=function(){a(window).width()>1024||a(".woocommerce-tabs").length<=0||(a(".woocommerce-tabs").removeClass("tabs-layout-tabs").addClass("tabs-layout-accordion"),a(".single-product-page").removeClass("tabs-type-tabs").addClass("tabs-type-accordion"))},wromoxThemeModule.wishlist=function(){function b(b){d.length>0&&d.find(".wishlist-count").text(b.count),a(".wromox-wishlist-content").length>0&&!a(".wromox-wishlist-content").hasClass("wromox-wishlist-preview")&&a(".wromox-wishlist-content").replaceWith(b.wishlist_content),wromoxThemeModule.swatchesVariations(),wromoxThemeModule.btnsToolTips(),wromoxThemeModule.productHover(),wromoxThemeModule.countDownTimer(),wromoxThemeModule.productMoreDescription(),wromoxThemeModule.gridQuantity()}var c="wromox_wishlist_count";a("body").hasClass("logged-in")&&(c+="_logged"),wromox_settings.is_multisite&&(c+="_"+wromox_settings.current_blog_id);var d=a(".wromox-wishlist-info-widget"),e=Cookies.get(c);if(d.length>0&&void 0!==e)try{var f=JSON.parse(e);d.find(".wishlist-count").text(f)}catch(g){console.log("cant parse cookies json")}a("body").on("click",".wromox-wishlist-btn a",function(c){var d=a(this),e=d.data("product-id"),f=d.data("added-text"),g=d.data("key");if(d.hasClass("added"))return!0;c.preventDefault(),d.addClass("loading"),a.ajax({url:wromox_settings.ajaxurl,data:{action:"wromox_add_to_wishlist",product_id:e,key:g},dataType:"json",method:"GET",success:function(c){c?(d.addClass("added"),a(document).trigger("added_to_wishlist"),c.wishlist_content&&b(c),d.find("span").length>0?d.find("span").text(f):d.text(f)):console.log("something wrong loading wishlist data ",c)},error:function(a){console.log("We cant add to wishlist. Something wrong with AJAX response. Probably some PHP conflict.")},complete:function(){d.removeClass("loading")}})}),a("body").on("click",".wromox-wishlist-remove",function(c){var d=a(this),e=d.data("product-id"),f=d.data("key");if(d.hasClass("added"))return!0;c.preventDefault(),d.addClass("loading"),a.ajax({url:wromox_settings.ajaxurl,data:{action:"wromox_remove_from_wishlist",product_id:e,key:f},dataType:"json",method:"GET",success:function(a){a.wishlist_content?b(a):console.log("something wrong loading wishlist data ",a)},error:function(a){console.log("We cant remove from wishlist. Something wrong with AJAX response. Probably some PHP conflict.")},complete:function(){d.removeClass("loading")}})})},wromoxThemeModule.variationsPrice=function(){"no"!==wromox_settings.single_product_variations_price&&a(".variations_form").each(function(){var b=a(this),c=b.parent().find("> .price").first(),d=c.html();b.on("show_variation",function(a,b,d){b.price_html.length>1&&c.html(b.price_html)}),b.on("hide_variation",function(){c.html(d)})})},wromoxThemeModule.productFilters=function(){var b=function(a,b){if(0!=a.length){var c=a.val();c.indexOf(",")>0?a.val(c.replace(","+b,"").replace(b+",","")):a.val(c.replace(b,""))}};a(".wromox-pf-checkboxes li > .pf-value").on("click",function(c){c.preventDefault();var d=a(this),e=d.parent(),f=d.parents(".wromox-pf-checkboxes"),g=f.find(".result-input"),h=f.find(".wromox-pf-results"),i=f.hasClass("multi_select"),j=g.val(),k=d.data("title"),l=d.data("val");i?e.hasClass("pf-active")?(b(g,l),h.find('li[data-title="'+l+'"]').remove(),e.removeClass("pf-active")):(""==j?g.val(l):g.val(j+","+l),h.prepend('<li class="selected-value" data-title="'+l+'">'+k+"</li>"),e.addClass("pf-active")):e.hasClass("pf-active")?(g.val(""),h.find(".selected-value").remove(),e.removeClass("pf-active")):(g.val(l),h.find(".selected-value").remove(),h.prepend('<li class="selected-value" data-title="'+l+'">'+k+"</li>"),e.parents(".wromox-scroll-content").find(".pf-active").removeClass("pf-active"),e.addClass("pf-active"))}),a(".wromox-pf-checkboxes").on("click",".selected-value",function(){var c=a(this),d=c.parents(".wromox-pf-checkboxes"),e=d.find(".result-input"),f=c.data("title");if("price-filter"==f){var g=c.data("min"),h=c.data("max"),i=d.find(".price_slider_widget");return i.slider("values",0,g),i.slider("values",1,h),d.find(".min_price").val(""),d.find(".max_price").val(""),void a(document.body).trigger("filter_price_slider_slide",[g,h,g,h,i])}b(e,f),d.find('.pf-value[data-val="'+f+'"]').parent().removeClass("pf-active"),c.remove()}),a(".wromox-pf-checkboxes").each(function(){var b=a(this),c=b.find(".wromox-pf-title"),d=c.siblings(".wromox-pf-dropdown"),e=b.hasClass("multi_select");c.on("click",function(e){var g=e.target;a(g).is(c.find(".selected-value"))||(b.hasClass("opened")?f():(b.addClass("opened"),d.slideDown(100),setTimeout(function(){wromoxThemeModule.nanoScroller()},300)))}),a(document).on("click",function(d){var g=d.target;(b.hasClass("opened")&&e&&!a(g).is(b)&&!a(g).parents().is(b)||!e&&!a(g).is(c)&&!a(g).parents().is(c))&&f()});var f=function(){b.removeClass("opened"),d.slideUp(100)}});var c=function(b){b.find(".wromox-pf-checkboxes").each(function(){a(this).find('input[type="hidden"]').val()||a(this).find('input[type="hidden"]').remove()})},d=function(a){var b=a.find(".wromox-pf-categories .pf-active .pf-value");b.length>0&&a.attr("action",b.attr("href"))};a(document.body).on("filter_price_slider_create filter_price_slider_slide",function(b,c,d,e,f,g){var h=accounting.formatMoney(c,{symbol:woocommerce_price_slider_params.currency_format_symbol,decimal:woocommerce_price_slider_params.currency_format_decimal_sep,thousand:woocommerce_price_slider_params.currency_format_thousand_sep,precision:woocommerce_price_slider_params.currency_format_num_decimals,format:woocommerce_price_slider_params.currency_format}),i=accounting.formatMoney(d,{symbol:woocommerce_price_slider_params.currency_format_symbol,decimal:woocommerce_price_slider_params.currency_format_decimal_sep,thousand:woocommerce_price_slider_params.currency_format_thousand_sep,precision:woocommerce_price_slider_params.currency_format_num_decimals,format:woocommerce_price_slider_params.currency_format});g.siblings(".filter_price_slider_amount").find("span.from").html(h),g.siblings(".filter_price_slider_amount").find("span.to").html(i);var j=g.parents(".wromox-pf-checkboxes").find(".wromox-pf-results"),k=j.find(".selected-value");c==e&&d==f?k.remove():0==k.length?j.prepend('<li class="selected-value" data-title="price-filter" data-min="'+e+'" data-max="'+f+'">'+h+" - "+i+"</li>"):k.html(h+" - "+i),a(document.body).trigger("price_slider_updated",[c,d])}),a(".wromox-pf-price-range .price_slider_widget").each(function(){var b=a(this),c=b.siblings(".filter_price_slider_amount").find(".min_price"),d=b.siblings(".filter_price_slider_amount").find(".max_price"),e=parseInt(c.data("min")),f=parseInt(d.data("max")),g=parseInt(c.val()),h=parseInt(d.val());a(".price_slider_widget, .price_label").show(),b.slider({range:!0,animate:!0,min:e,max:f,values:[g,h],create:function(){g==e&&h==f&&(c.val(""),d.val("")),a(document.body).trigger("filter_price_slider_create",[g,h,e,f,b])},slide:function(g,h){h.values[0]==e&&h.values[1]==f?(c.val(""),d.val("")):(c.val(h.values[0]),d.val(h.values[1])),a(document.body).trigger("filter_price_slider_slide",[h.values[0],h.values[1],e,f,b])},change:function(b,c){a(document.body).trigger("price_slider_change",[c.values[0],c.values[1]])}})}),a(".wromox-product-filters").one("click",".wromox-pf-btn button",function(b){var e=a(this).parents(".wromox-product-filters");c(e),d(e),a("body").hasClass("wromox-ajax-shop-on")&&void 0!==a.fn.pjax&&e.hasClass("with-ajax")&&(a.pjax({container:".main-page-wrapper",timeout:wromox_settings.pjax_timeout,url:e.attr("action"),data:e.serialize(),scrollTo:!1}),a(this).prop("disabled",!0))}),a(".wromox-pf-checkboxes .pf-active > .pf-value").each(function(){a(this).parents(".wromox-pf-checkboxes").find(".wromox-pf-results").prepend('<li class="selected-value" data-title="'+a(this).data("val")+'">'+a(this).data("title")+"</li>")})},wromoxThemeModule.stickySidebarBtn=function(){var b=a(".wromox-show-sidebar-btn"),c=a(".shop-sidebar-opener:not(.toolbar)");if(!(c.length<=0||b.length<=0||a(window).width()>=1024)){var d=function(){b.offset().top+b.outerHeight()<a(window).scrollTop()?c.addClass("wromox-sidebar-btn-shown"):c.removeClass("wromox-sidebar-btn-shown")};d(),a(window).scroll(d),a(window).resize(d)}},wromoxThemeModule.productImages=function(){var b,c=a(".woocommerce-product-gallery"),d=a(".woocommerce-product-gallery__wrapper"),e=c.find(".thumbnails"),f=".wromox-show-product-gallery";e.addClass("thumbnails-ready"),c.hasClass("image-action-popup")&&(f+=", .woocommerce-product-gallery__image a"),c.on("click",".woocommerce-product-gallery__image a",function(a){a.preventDefault()}),c.on("click",f,function(c){c.preventDefault(),b=a(this).attr("href");var d=h();wromoxThemeModule.callPhotoSwipe(g(c),d)}),e.on("click",".image-link",function(a){a.preventDefault()});var g=function(b){return d.hasClass("owl-carousel")?d.find(".owl-item.active").index():a(b.currentTarget).parent().parent().index()},h=function(){var b=[];return d.find("figure a img").each(function(){var c=a(this).attr("data-large_image"),d=a(this).attr("data-large_image_width"),e=a(this).attr("data-large_image_height"),f=a(this).data("caption");b.push({src:c,w:d,h:e,title:"yes"==wromox_settings.product_images_captions&&f})}),b}},wromoxThemeModule.stickyAddToCart=function(){var b=a("form.cart"),c=a(".wromox-sticky-btn");if(!(c.length<=0||b.length<=0||a(window).width()<=768&&c.hasClass("mobile-off"))){var d=b.offset().top+b.outerHeight(),e=a(".scrollToTop"),f=function(){var b=a(window).scrollTop(),f=a(window).height(),g=a(document).height();d<b&&b+f!=g?(c.addClass("wromox-sticky-btn-shown"),e.addClass("wromox-sticky-btn-shown")):(b+f==g||d>b)&&(c.removeClass("wromox-sticky-btn-shown"),e.removeClass("wromox-sticky-btn-shown"))};f(),a(window).scroll(f),a(".wromox-sticky-add-to-cart").on("click",function(b){b.preventDefault(),a("html, body").animate({scrollTop:a(".elementor-widget-woocommerce-product-title,.summary-inner .product_title").offset().top},800)}),a(".wromox-sticky-btn .wromox-wishlist-btn a").on("click",function(b){a(this).hasClass("added")||b.preventDefault(),a(".summary-inner > .wromox-wishlist-btn a").trigger("click")}),a(document).on("added_to_wishlist",function(){a(".wromox-sticky-btn .wromox-wishlist-btn a").addClass("added")}),a(".wromox-sticky-btn .wromox-compare-btn a").on("click",function(b){a(this).hasClass("added")||b.preventDefault(),a(".summary-inner > .wromox-compare-btn a").trigger("click")}),a(document).on("added_to_compare",function(){a(".wromox-sticky-btn .wromox-compare-btn a").addClass("added")}),a(".wromox-sticky-btn-cart .qty").on("change",function(){a(".summary-inner .qty").val(a(this).val())}),a(".summary-inner .qty").on("change",function(){a(".wromox-sticky-btn-cart .qty").val(a(this).val())})}},wromoxThemeModule.loginDropdown=function(){a(window).width()<=1024||a(".menu-item-register").each(function(){var b=a(this),c=b.find(".login-dropdown-inner");c.find('input[id="username"]').on("click",function(){b.addClass("wd-active-login").removeClass("wd-active-link")}),c.find('input[id="username"]').on("input",function(){b.hasClass("wd-active-login")&&b.removeClass("wd-active-login").addClass("wd-active-link")}),c.find("input").not('[id="username"]').on("click",function(){b.removeClass("wd-active-login").removeClass("wd-active-link")}),a(document).click(function(a){void 0!==a.target.className.length&&-1==a.target.className.indexOf("menu-item-register")&&-1==a.target.className.indexOf("input-text")&&b.removeClass("wd-active-login").removeClass("wd-active-link")}),a(".menu-item-register").on("mouseout",function(a){b.hasClass("wd-active-link")&&b.removeClass("wd-active-link")}).on("mouseleave",function(){b.hasClass("wd-active-link")&&b.removeClass("wd-active-link")})})},wromoxThemeModule.loginSidebar=function(){var b=a("body"),c=a(".login-form-side"),d=a(".wromox-close-side");a(".login-side-opener").on("click",function(a){a.preventDefault(),g()?e():setTimeout(function(){f()},10)}),b.on("click touchstart",".wromox-close-side",function(){g()&&e()}),b.on("click",".close-side-widget",function(a){a.preventDefault(),g()&&e()}),a(document).keyup(function(a){27===a.keyCode&&g()&&e()});var e=function(){c.removeClass("wromox-login-side-opened"),d.removeClass("wromox-close-side-opened")},f=function(){c.addClass("wromox-login-side-opened"),d.addClass("wromox-close-side-opened")},g=function(){return c.hasClass("wromox-login-side-opened")}},wromoxThemeModule.shopLoader=function(){var b=".wromox-shop-loader",c='.products[data-source="main_loop"]',d=".area-sidebar-shop",e="sidebar-left",f="hidden-loader",g="hidden-from-top",h="hidden-from-bottom",i=function(){var d=a(c),e=d.parent().find(b);if(!(d.length<1)){var i=a(window).height()/2,j=a(window).scrollTop(),k=d.offset().top-i,l=d.height(),m=k+l-130;j<k?e.addClass(f+" "+g):j>m?e.addClass(f+" "+h):e.removeClass(f+" "+g+" "+h)}},j=function(){var f=a(c),g=a(d),h=f.parent().find(b),i=g.outerWidth();f.length<1||(i>0&&g.hasClass(e)?a("body").hasClass("rtl")?h.css({marginLeft:-i/2-15}):h.css({marginLeft:i/2-15}):i>0&&(a("body").hasClass("rtl")?h.css({marginLeft:i/2-15}):h.css({marginLeft:-i/2-15})))};a(window).off("scroll.loaderVerticalPosition"),a(window).off("loaderHorizontalPosition"),a(window).on("scroll.loaderVerticalPosition",i),a(window).on("resize.loaderHorizontalPosition",j),i(),j()},wromoxThemeModule.sortByWidget=function(){a("body").hasClass("wromox-ajax-shop-on")&&void 0!==a.fn.pjax&&(a(".woocommerce-ordering").on("change","select.orderby",function(){var b=a(this).closest("form");b.find('[name="_pjax"]').remove(),a.pjax({container:".main-page-wrapper",timeout:wromox_settings.pjax_timeout,url:"?"+b.serialize(),scrollTo:!1})}),a(".woocommerce-ordering").submit(function(a){a.preventDefault(a)}))},wromoxThemeModule.filterDropdowns=function(){function b(b){var c=b.parent(".wromox-widget-layered-nav-dropdown-form");a("body").hasClass("wromox-ajax-shop-on")&&void 0!==a.fn.pjax&&a.pjax({container:".main-page-wrapper",timeout:wromox_settings.pjax_timeout,url:c.attr("action"),data:c.serialize(),scrollTo:!1})}a(".wromox-widget-layered-nav-dropdown-form").each(function(){var b=a(this),c=b.find("select"),d=c.data("slug");c.change(function(){var b=a(this).val();a("input[name=filter_"+d+"]").val(b)}),a().selectWoo&&c.selectWoo({placeholder:c.data("placeholder"),minimumResultsForSearch:5,width:"100%",allowClear:!c.attr("multiple"),language:{noResults:function(){return c.data("noResults")}}}).on("select2:unselecting",function(){a(this).data("unselecting",!0)}).on("select2:opening",function(b){a(this).data("unselecting")&&(a(this).removeData("unselecting"),b.preventDefault())})}),a(".wromox-widget-layered-nav-dropdown__submit").on("click",function(c){a(this).siblings("select").attr("multiple")&&a("body").hasClass("wromox-ajax-shop-on")&&(b(a(this)),a(this).prop("disabled",!0))}),a(".wromox-widget-layered-nav-dropdown-form select").on("change",function(c){if(!a("body").hasClass("wromox-ajax-shop-on"))return void a(this).parent().submit();a(this).attr("multiple")||b(a(this))})},wromoxThemeModule.stickyDetails=function(){if(a("body").hasClass("wromox-product-sticky-on")&&!(a(window).width()<=1024)){a(".entry-summary").each(function(){var b=a(this),c=40,d=b.find(".summary-inner"),e=b.parent().find(".product-images-inner");(a("body").hasClass("enable-sticky-header")||a(".whb-sticky-row").length>0||a(".whb-sticky-header").length>0)&&(c=parseInt(wromox_settings.sticky_product_details_offset)),e.imagesLoaded(function(){var b=d.outerHeight()-e.outerHeight();b<-100?d.stick_in_parent({offset_top:c}):b>100&&e.stick_in_parent({offset_top:c}),a(window).resize(function(){a(window).width()<=1024?(d.trigger("sticky_kit:detach"),e.trigger("sticky_kit:detach")):d.outerHeight()<e.outerHeight()?d.stick_in_parent({offset_top:c}):e.stick_in_parent({offset_top:c})})})})}},wromoxThemeModule.productAccordion=function(){var b=a(".wc-tabs-wrapper"),c=300,d=window.location.hash,e=window.location.href;d.toLowerCase().indexOf("comment-")>=0||"#reviews"===d||"#tab-reviews"===d?b.find(".tab-title-reviews").addClass("active"):e.indexOf("comment-page-")>0||e.indexOf("cpage=")>0?b.find(".tab-title-reviews").addClass("active"):b.find(".wromox-accordion-title").first().addClass("active"),a(".woocommerce-review-link").on("click",function(){a(".wromox-accordion-title.tab-title-reviews").click()}),b.on("click",".wromox-accordion-title",function(d){d.preventDefault();var e=a(this),f=e.siblings(".woocommerce-Tabs-panel"),g=e.parent().index(),h=e.parent().siblings().find(".active").parent(".wromox-tab-wrapper").index();e.hasClass("active")?(h=g,e.removeClass("active"),f.stop().slideUp(c)):(b.find(".wromox-accordion-title").removeClass("active"),b.find(".woocommerce-Tabs-panel").slideUp(),e.addClass("active"),f.stop().slideDown(c)),-1==h&&(h=g),a(window).resize(),setTimeout(function(){if(a(window).resize(),a(window).width()<1024&&g>h){var b=a(".sticky-header"),c=b.length>0?b.outerHeight():0;a("html, body").animate({scrollTop:e.offset().top-e.outerHeight()-c-50},500)}},c),a(document).trigger("wood-images-loaded")})},wromoxThemeModule.productImagesGallery=function(){function c(){g.trigger("destroy.owl.carousel"),g.addClass("owl-carousel").owlCarousel(b.mainCarouselArg),a(document).trigger("wood-images-loaded")}function d(){var b="";g.find(".woocommerce-product-gallery__image").each(function(){var c=a(this).data("thumb"),d=a(this).find("a > img").attr("alt"),e=a(this).find("a > img").attr("title");b+='<div class="product-image-thumbnail"><img alt="'+d+'" title="'+e+'" src="'+c+'" /></div>'}),h.hasClass("slick-slider")?h.slick("unslick"):h.hasClass("owl-carousel")&&h.trigger("destroy.owl.carousel"),h.empty(),h.append(b)}function e(){h.slick({slidesToShow:wromox_settings.product_gallery.thumbs_slider.items.vertical_items,slidesToScroll:wromox_settings.product_gallery.thumbs_slider.items.vertical_items,vertical:!0,verticalSwiping:!0,infinite:!1}),h.on("click",".product-image-thumbnail",function(b){var c=a(this).index();i.trigger("to.owl.carousel",c)}),i.on("changed.owl.carousel",function(a){var b=a.item.index;h.slick("slickGoTo",b),h.find(".active-thumb").removeClass("active-thumb"),h.find(".product-image-thumbnail").eq(b).addClass("active-thumb")}),h.find(".product-image-thumbnail").eq(0).addClass("active-thumb")}function f(){h.addClass("owl-carousel").owlCarousel({rtl:a("body").hasClass("rtl"),items:wromox_settings.product_gallery.thumbs_slider.items.desktop,responsive:{1025:{items:wromox_settings.product_gallery.thumbs_slider.items.desktop},769:{items:wromox_settings.product_gallery.thumbs_slider.items.tablet_landscape},577:{items:wromox_settings.product_gallery.thumbs_slider.items.tablet},0:{items:wromox_settings.product_gallery.thumbs_slider.items.mobile}},dots:!1,nav:!0,navText:!1});var b=h.owlCarousel();h.on("mouseup",".owl-item",function(c){var d=a(this).index();b.trigger("to.owl.carousel",d),i.trigger("to.owl.carousel",d)}),i.on("changed.owl.carousel",function(a){var c=a.item.index;b.trigger("to.owl.carousel",c),h.find(".active-thumb").removeClass("active-thumb"),h.find(".product-image-thumbnail").eq(c).addClass("active-thumb")}),h.find(".product-image-thumbnail").eq(0).addClass("active-thumb")}var g=a(".woocommerce-product-gallery__wrapper:not(.quick-view-gallery)"),h=a(".images .thumbnails"),i=a(".woocommerce-product-gallery__wrapper"),j=wromox_settings.product_gallery.thumbs_slider.position;wromox_settings.product_gallery.images_slider?"yes"==wromox_settings.product_slider_auto_height?a(".product-images").imagesLoaded(function(){c()}):c():jQuery(window).width()<=1024&&("bottom_combined"==j||"bottom_column"==j||"bottom_grid"==j)&&c(),wromox_settings.product_gallery.thumbs_slider.enabled&&wromox_settings.product_gallery.images_slider&&(d(),"left"==wromox_settings.product_gallery.thumbs_slider.position&&jQuery(window).width()>1024&&void 0!==a.fn.slick?e():f())},wromoxThemeModule.addToCart=function(){var c,d=this,e=0;d.addToCartAllTypes(),a("body").on("added_to_cart",function(c,g,h){if("popup"==wromox_settings.add_to_cart_action){var i=['<div class="added-to-cart">',"<h4>"+wromox_settings.added_to_cart+"</h4>",'<a href="#" class="btn btn-style-link btn-color-default close-popup">'+wromox_settings.continue_shopping+"</a>",'<a href="'+wromox_settings.cart_url+'" class="btn btn-color-primary view-cart">'+wromox_settings.view_cart+"</a>","</div>"].join("");a.magnificPopup.open({removalDelay:500,tClose:wromox_settings.close,tLoading:wromox_settings.loading,callbacks:{beforeOpen:function(){this.st.mainClass=b.popupEffect+"  cart-popup-wrapper"}},items:{src:'<div class="mfp-with-anim white-popup popup-added_to_cart">'+i+"</div>",type:"inline"}}),a(".white-popup").on("click",".close-popup",function(b){b.preventDefault(),a.magnificPopup.close()}),f()}else"widget"==wromox_settings.add_to_cart_action&&(clearTimeout(e),a(".act-scroll .wromox-shopping-cart, .whb-sticked .wromox-shopping-cart").length>0?a(".act-scroll .wromox-shopping-cart, .whb-sticked .wromox-shopping-cart").addClass("display-widget"):a(".whb-header .wromox-shopping-cart").addClass("display-widget"),a(".cart-widget-opener").length>0&&a(".cart-widget-opener").first().trigger("click"),e=setTimeout(function(){a(".display-widget").removeClass("display-widget")},3500),f());d.btnsToolTips()});var f=function(){if("yes"!==wromox_settings.add_to_cart_action_timeout)return!1;clearTimeout(c),c=setTimeout(function(){a(".wromox-close-side").trigger("click"),a.magnificPopup.close()},1e3*parseInt(wromox_settings.add_to_cart_action_timeout_number))}},wromoxThemeModule.addToCartAllTypes=function(){0!=wromox_settings.ajax_add_to_cart&&a("body").on("submit","form.cart",function(b){var c=a(this).parents(".single-product-page");if(0===c.length&&(c=a(this).parents(".product-quick-view")),!c.hasClass("product-type-external")&&!c.hasClass("product-type-zakeke")){b.preventDefault();var d=a(this),e=d.find(".single_add_to_cart_button"),f=d.serialize();f+="&action=wromox_ajax_add_to_cart",e.val()&&(f+="&add-to-cart="+e.val()),e.removeClass("added not-added"),e.addClass("loading"),a(document.body).trigger("adding_to_cart",[e,f]),a.ajax({url:wromox_settings.ajaxurl,data:f,method:"POST",success:function(b){if(b){var c=window.location.toString();if(c=c.replace("add-to-cart","added-to-cart"),b.error&&b.product_url)return void(window.location=b.product_url);if("yes"===wromox_settings.cart_redirect_after_add)return void(window.location=wromox_settings.cart_url);e.removeClass("loading");var d=b.fragments,f=b.cart_hash;d&&a.each(d,function(b){a(b).addClass("updating")}),d&&a.each(d,function(b,c){a(b).replaceWith(c)}),b.notices.indexOf("error")>0?(a("body").append(b.notices),e.addClass("not-added")):("widget"==wromox_settings.add_to_cart_action&&a.magnificPopup.close(),e.addClass("added"),a(document.body).trigger("added_to_cart",[d,f,e]))}},error:function(){console.log("ajax adding to cart error")},complete:function(){}})}})},wromoxThemeModule.quickShop=function(){function b(a){a.find(".variations_form").wc_variation_form().find(".variations select:eq(0)").change(),a.find(".variations_form").trigger("wc_variation_form")}if("no"!==wromox_settings.quick_shop){a(document).on("click",".product-grid-item.product-type-variable .add_to_cart_button",function(c){c.preventDefault();var d=a(this),e=d.parents(".product").first(),f=e.find(".quick-shop-form"),g=e.data("id"),h="btn-loading";if(!d.hasClass(h)){if(e.hasClass("quick-shop-loaded"))return e.addClass("quick-shop-shown"),void a("body").trigger("wromox-quick-view-displayed");d.addClass(h),e.addClass("wd-loading-quick-shop"),a.ajax({url:wromox_settings.ajaxurl,data:{action:"wromox_quick_shop",id:g},method:"get",success:function(a){f.append(a),b(e),wromoxThemeModule.swatchesVariations(),wromoxThemeModule.btnsToolTips()},complete:function(){setTimeout(function(){d.removeClass(h),e.removeClass("wd-loading-quick-shop"),e.addClass("quick-shop-shown quick-shop-loaded"),a("body").trigger("wromox-quick-view-displayed")},100)},error:function(){}})}}).on("click",".quick-shop-close",function(){a(this).parents(".product").removeClass("quick-shop-shown")}),a(document.body).on("added_to_cart",function(){a(".product").removeClass("quick-shop-shown")})}},wromoxThemeModule.quickViewInit=function(){a(document).on("click",".open-quick-view",function(b){if(b.preventDefault(),a(".open-quick-view").hasClass("loading"))return!0;var c=a(this).data("id"),d=a(this).data("loop-name"),e=(wromox_settings.close,wromox_settings.loading,a(this).data("loop")),f="",g="",h=a(".quick-view").find('[data-loop-name="'+d+'"]'),i=a(this);i.addClass("loading"),void 0!==h[e-1]&&(f=h.eq(e-1).addClass("quick-view-prev"),f=a("<div>").append(f.clone()).html()),void 0!==h[e+1]&&(g=h.eq(e+1).addClass("quick-view-next"),g=a("<div>").append(g.clone()).html()),wromoxThemeModule.quickViewLoad(c,i,f,g)})},wromoxThemeModule.quickViewCarousel=function(){a(".product-quick-view .woocommerce-product-gallery__wrapper").trigger("destroy.owl.carousel"),a(".product-quick-view .woocommerce-product-gallery__wrapper").addClass("owl-carousel").owlCarousel({rtl:a("body").hasClass("rtl"),items:1,dots:!1,nav:!0,navText:!1})},wromoxThemeModule.quickViewLoad=function(c,d,e,f){var g={id:c,action:"wromox_quick_view"},h=function(c){a.magnificPopup.open({items:{src:'<div class="mfp-with-anim popup-quick-view">'+c+"</div>",type:"inline"},tClose:wromox_settings.close,tLoading:wromox_settings.loading,removalDelay:500,callbacks:{beforeOpen:function(){this.st.mainClass=b.popupEffect+" quick-view-wrapper"},open:function(){a(".variations_form").each(function(){a(this).wc_variation_form().find(".variations select:eq(0)").change()}),a(".variations_form").trigger("wc_variation_form"),a("body").trigger("wromox-quick-view-displayed"),wromoxThemeModule.swatchesVariations(),wromoxThemeModule.btnsToolTips(),setTimeout(function(){wromoxThemeModule.nanoScroller()},300),wromoxThemeModule.quickViewCarousel()}}})};a.ajax({url:wromox_settings.ajaxurl,data:g,method:"get",success:function(b){
  wromox_settings.quickview_in_popup_fix?(a.magnificPopup.close(),setTimeout(function(){h(b)},500)):h(b)},complete:function(){d.removeClass("loading")},error:function(){}})},wromoxThemeModule.swatchesVariations=function(){var c=a(".variations_form"),d=!1,e=!1;a(".variations_form .label").on("click",function(b){a(this).siblings(".value").hasClass("with-swatches")&&b.preventDefault()}),c.each(function(){var c=a(this);c.data("swatches")||(c.data("swatches",!0),c.data("product_variations")||c.find(".swatches-select").find("> div").addClass("swatch-enabled"),a(".swatches-select > div").hasClass("active-swatch")&&c.addClass("variation-swatch-selected"),c.on("click",".swatches-select > div",function(){var b=a(this).data("value"),d=a(this).parent().data("id"),e=a(this).data("title");f(c),a(this).hasClass("active-swatch")||a(this).hasClass("swatch-disabled")||(c.find("select#"+d).val(b).trigger("change"),a(this).parent().find(".active-swatch").removeClass("active-swatch"),a(this).addClass("active-swatch"),f(c),("yes"===wromox_settings.swatches_labels_name&&a(window).width()>=769||a(window).width()<=768)&&a(this).parents("tr").find(".wd-attr-selected").html(e))}).on("click",".reset_variations",function(b){c.find(".active-swatch").removeClass("active-swatch"),("yes"===wromox_settings.swatches_labels_name&&a(window).width()>=769||a(window).width()<=768)&&c.find(".wd-attr-selected").html("")}).on("reset_data",function(){var e=!0,h=!1;c.find(".variations select").each(function(){a(this).data("attribute_name")||a(this).attr("name");0===(a(this).val()||"").length?e=!1:h=!0}),e&&a(this).parent().find(".active-swatch").removeClass("active-swatch"),c.removeClass("variation-swatch-selected");var j=a(".woocommerce-product-gallery__wrapper.owl-carousel");if(f(c),n("default",c),j.hasClass("owl-carousel")){"yes"==wromox_settings.product_slider_auto_height?(!g()&&i("default",c)&&d&&j.trigger("destroy.owl.carousel"),a(".product-images").imagesLoaded(function(){j=j.owlCarousel(b.mainCarouselArg),j.trigger("refresh.owl.carousel")})):(j=j.owlCarousel(b.mainCarouselArg),j.trigger("refresh.owl.carousel"));var k="centered"==wromox_settings.product_gallery.thumbs_slider.position?wromox_settings.centered_gallery_start:0;g()&&(k=0),j.trigger("to.owl.carousel",k)}}).on("reset_image",function(){var b=a(".thumbnails .product-image-thumbnail img").first();g()||h(c)||b.wc_reset_variation_attr("src")}).on("show_variation",function(f,j,k){if(("yes"===wromox_settings.swatches_labels_name&&a(window).width()>=769||a(window).width()<=768)&&!e&&(c.find(".active-swatch").each(function(){var b=a(this).data("title");a(this).parents("tr").find(".wd-attr-selected").html(b)}),e=!0),j.image.src){var m=c.parents(".single-product-content").find('.thumbnails .product-image-thumbnail img[data-o_src="'+j.image.thumb_src+'"]').length>0,o=c.parents(".single-product-content").find(".thumbnails .product-image-thumbnail img").first();m&&o.wc_reset_variation_attr("src"),h(c)||n(j.variation_id,c)||(o.attr("src")!=j.image.thumb_src&&o.wc_set_variation_attr("src",j.image.src),wromoxThemeModule.initZoom()),c.addClass("variation-swatch-selected"),h(c)||g()||l();var p=a(".woocommerce-product-gallery__wrapper.owl-carousel");if(p.hasClass("owl-carousel")){"yes"==wromox_settings.product_slider_auto_height?(!g()&&i(j.variation_id,c)&&d&&p.trigger("destroy.owl.carousel"),a(".product-images").imagesLoaded(function(){p=p.owlCarousel(b.mainCarouselArg),p.trigger("refresh.owl.carousel")})):(p=p.owlCarousel(b.mainCarouselArg),p.trigger("refresh.owl.carousel"));var q=a(".images .thumbnails");p.trigger("to.owl.carousel",0),q.hasClass("owl-carousel")?(q.owlCarousel().trigger("to.owl.carousel",0),q.find(".active-thumb").removeClass("active-thumb"),q.find(".product-image-thumbnail").eq(0).addClass("active-thumb")):q.hasClass("slick-slider")&&(q.slick("slickGoTo",0),q.find(".product-image-thumbnail").eq(0).hasClass("active-thumb")||(q.find(".active-thumb").removeClass("active-thumb"),q.find(".product-image-thumbnail").eq(0).addClass("active-thumb")))}}}))});var f=function(b){b.data("product_variations")&&b.find(".variations select").each(function(){var b=a(this),c=b.parent().find(".swatches-select"),d=b.html();d=a(d),c.find("> div").removeClass("swatch-enabled").addClass("swatch-disabled"),d.each(function(b){var d=a(this).val();a(this).hasClass("enabled")?c.find('div[data-value="'+d+'"]').removeClass("swatch-disabled").addClass("swatch-enabled"):c.find('div[data-value="'+d+'"]').addClass("swatch-disabled").removeClass("swatch-enabled")})})},g=function(){return a(".single-product-content").hasClass("product-quick-view")},h=function(a){return a.parent().hasClass("quick-shop-form")},i=function(a,b){return"old"===wromox_settings.variation_gallery_storage_method?j(a):k(a,b)},j=function(a){if("undefined"!=typeof wromox_variation_gallery_data||"undefined"!=typeof wromox_qv_variation_gallery_data){var b=g()?wromox_qv_variation_gallery_data:wromox_variation_gallery_data;return void 0!==b&&b&&b[a]}},k=function(a,b){var c=m(b);return void 0!==c&&c&&c[a]&&c[a].length>1},l=function(){if(1==wromox_settings.swatches_scroll_top_desktop&&a(window).width()>=1024||1==wromox_settings.swatches_scroll_top_mobile&&a(window).width()<=1024){var b=a("html, body");b.stop(!0),a(window).on("mousedown wheel DOMMouseScroll mousewheel keyup touchmove",function(){b.stop(!0)}),b.animate({scrollTop:a(".product-image-summary").offset().top-150},800),a(".wromox-swatch").tooltip("hide")}},m=function(a){var b=a.data("product_variations"),c=[];return b?(b.forEach(function(a){c[a.variation_id]=a.additional_variation_images,c.default=a.additional_variation_images_default}),c):c},n=function(b,c){if("old"===wromox_settings.variation_gallery_storage_method){if(!i(b,c)||h(c)||"default"===b&&!d)return!1;o(b,c)}else{if(!i(b,c)||h(c)||"default"===b&&!d)return!1;var e=m(c);p(e[b],c)}return wromoxThemeModule.productImagesGallery(),wromoxThemeModule.quickViewCarousel(),a(window).trigger("main_gallery_replaced"),a(".woocommerce-product-gallery__image").trigger("zoom.destroy"),g()||wromoxThemeModule.initZoom(),d="default"!==b,a(window).resize(),!0},o=function(a,b){var c=g()?wromox_qv_variation_gallery_data:wromox_variation_gallery_data,d=c[a],e=b.parents(".single-product-content").find(".woocommerce-product-gallery__wrapper");e.empty();for(var f=0;f<d.length;f++){var h='<div class="product-image-wrap"><figure data-thumb="'+d[f].data_thumb+'" class="woocommerce-product-gallery__image">';g()||(h+='<a href="'+d[f].href+'">'),h+=d[f].image,g()||(h+="</a>"),h+="</figure></div>",e.append(h)}},p=function(a,b){var c=b.parents(".single-product-content").find(".woocommerce-product-gallery__wrapper");c.empty();for(var d in a){var e='<div class="product-image-wrap"><figure class="woocommerce-product-gallery__image" data-thumb="'+a[d].thumbnail_src+'">';g()||(e+='<a href="'+a[d].full_src+'" data-elementor-open-lightbox="no">');var f=a[d].srcset?'srcset="'+a[d].srcset+'"':"";e+='<img width="'+a[d].width+'" height="'+a[d].height+'" src="'+a[d].src+'" class="'+a[d].class+'" alt="'+a[d].alt+'" title="'+a[d].title+'" data-caption="'+a[d].data_caption+'" data-src="'+a[d].data_src+'"  data-large_image="'+a[d].data_large_image+'" data-large_image_width="'+a[d].data_large_image_width+'" data-large_image_height="'+a[d].data_large_image_height+'" '+f+' sizes="'+a[d].sizes+'" />',g()||(e+="</a>"),e+="</figure></div>",c.append(e)}}},wromoxThemeModule.swatchesOnGrid=function(){a("body").on("click",".swatch-on-grid",function(){var b,c,d,e=a(this).data("image-src"),f=a(this).data("image-srcset"),g=a(this).data("image-sizes");if(void 0!==e&&""!==e){var h=a(this).parents(".product-grid-item"),i=h.find(".product-image-link > img"),j=i.data("original-src"),k=i.data("original-srcset"),l=i.data("original-sizes");void 0===j&&i.data("original-src",i.attr("src")),void 0===k&&i.data("original-srcset",i.attr("srcset")),void 0===l&&i.data("original-sizes",i.attr("sizes")),a(this).hasClass("active-swatch")?(b=j,c=k,d=l,a(this).removeClass("active-swatch"),h.removeClass("product-swatched")):(a(this).parent().find(".active-swatch").removeClass("active-swatch"),a(this).addClass("active-swatch"),h.addClass("product-swatched"),b=e,c=f,d=g),i.attr("src")!=b&&(h.addClass("wd-loading-image"),i.attr("src",b).attr("srcset",c).attr("image_sizes",d).one("load",function(){h.removeClass("wd-loading-image")}))}})},wromoxThemeModule.productsTabs=function(){var b=!1;a(".wromox-products-tabs").each(function(){var d=a(this),e=d.find(".wromox-tab-content"),f=[];e.find(".owl-carousel").length<1&&(f[0]={html:e.html()}),d.find(".products-tabs-title li").on("click",function(d){d.preventDefault();var g=a(this),h=g.data("atts"),i=g.index();b||g.hasClass("active-tab-title")||(b=!0,c(h,i,e,g,f,function(b){b.html&&(e.html(b.html),a(document).trigger("wood-images-loaded"),a(document).trigger("wood-products-tabs-loaded"),wromoxThemeModule.productHover(),wromoxThemeModule.btnsToolTips(),wromoxThemeModule.shopMasonry(),wromoxThemeModule.countDownTimer(),wromoxThemeModule.productLoaderPosition(),wromoxThemeModule.productsLoadMore(),wromoxThemeModule.productMoreDescription(),wromoxThemeModule.gridQuantity())}))});var g=d.find(".tabs-navigation-wrapper"),h=g.find("ul");g.on("click",".open-title-menu",function(){var b=a(this);h.hasClass("list-shown")?(b.removeClass("toggle-active"),h.stop().slideUp(300).removeClass("list-shown")):(b.addClass("toggle-active"),h.addClass("list-shown"),setTimeout(function(){a("body").one("click",function(c){var d=c.target;if(!a(d).is(".tabs-navigation-wrapper")&&!a(d).parents().is(".tabs-navigation-wrapper"))return b.removeClass("toggle-active"),h.removeClass("list-shown"),!1})},10))}).on("click","li",function(){var b=g.find(".open-title-menu"),c=a(this).text();h.hasClass("list-shown")&&(b.removeClass("toggle-active").text(c),h.removeClass("list-shown"))})});var c=function(c,d,e,f,g,h){if(f.parent().find(".active-tab-title").removeClass("active-tab-title"),f.addClass("active-tab-title"),g[d])return e.addClass("loading"),void setTimeout(function(){h(g[d]),e.removeClass("loading"),b=!1},300);e.addClass("loading").parent().addClass("element-loading"),f.addClass("loading"),a.ajax({url:wromox_settings.ajaxurl,data:{atts:c,action:"wromox_get_products_tab_shortcode"},dataType:"json",method:"POST",success:function(a){g[d]=a,h(a)},error:function(a){console.log("ajax error")},complete:function(){e.removeClass("loading").parent().removeClass("element-loading"),f.removeClass("loading"),b=!1,wromoxThemeModule.compare()}})}},wromoxThemeModule.productsLoadMore=function(){var c,d=!1;a(".wromox-products-element").each(function(){function b(){r=a(window).height()/2,s=a(window).outerWidth(!0),p=f.outerWidth(!0),j=a(window).scrollTop(),k=f.offset().top-r,l=f.offset().left-z,m=p+f.offset().left+z-x.outerWidth(),q=w.outerHeight(),o=f.height()-q,n=k+o,a(window).width()<=1024&&(l+=35,m-=35),w.css({left:l+"px"}),x.css({left:m+"px"}),j<k||j>n?(v.removeClass("show-arrow"),y.addClass("hidden-loader")):(v.addClass("show-arrow"),y.removeClass("hidden-loader"))}var f=a(this),g=[],h=f.find(".wromox-products-holder"),i=h.data("atts");if(h.hasClass("pagination-arrows")){g[1]={items:h.html(),status:"have-posts"},f.on("recalc",function(){t()}),a(window).resize(function(){t()});var j,k,l,m,n,o,p,q,r,s,t=function(){var a=h.outerHeight();i.elementor&&(a-=parseInt(i.spacing)),f.stop().css({minHeight:a})},u=a("body"),v=f.find(".products-footer"),w=v.find(".wromox-products-load-prev"),x=v.find(".wromox-products-load-next"),y=f.find(".wromox-products-loader"),z=50;u.hasClass("rtl")&&(w=x,x=v.find(".wromox-products-load-prev")),a(window).scroll(function(){b()}),setTimeout(function(){b()},500),f.find(".wromox-products-load-prev, .wromox-products-load-next").off("click").on("click",function(b){if(b.preventDefault(),!d&&!a(this).hasClass("disabled")){d=!0,clearInterval(c);var f=a(this),h=f.parent().parent().prev(),i=f.parent().find(".wromox-products-load-next"),j=f.parent().find(".wromox-products-load-prev"),k=h.data("atts"),l="wromox_get_products_shortcode",m=wromox_settings.ajaxurl,n="json",o="POST",p=h.attr("data-paged");if(p++,f.hasClass("wromox-products-load-prev")){if(p<2)return;p-=2}e("arrows",k,m,l,n,o,p,h,f,g,function(b){var d=h.hasClass("products-bordered-grid");if(d||h.addClass("wromox-animated-products"),b.items&&(h.html(b.items).attr("data-paged",p),h.imagesLoaded().progress(function(){h.parent().trigger("recalc")}),a(document).trigger("wood-images-loaded"),wromoxThemeModule.productHover(),wromoxThemeModule.btnsToolTips(),wromoxThemeModule.productMoreDescription(),wromoxThemeModule.gridQuantity()),a(window).width()<768&&a("html, body").stop().animate({scrollTop:h.offset().top-150},400),!d){var e=0;c=setInterval(function(){h.find(".product-grid-item").eq(e).addClass("wromox-animated"),e++},100)}p>1?j.removeClass("disabled"):j.addClass("disabled"),"no-more-posts"==b.status?i.addClass("disabled"):i.removeClass("disabled")})}})}}),wromoxThemeModule.clickOnScrollButton(b.shopLoadMoreBtn,!1,wromox_settings.infinit_scroll_offset),a(document).off("click",".wromox-products-load-more").on("click",".wromox-products-load-more",function(c){if(c.preventDefault(),!d){d=!0;var g=a(this),h=g.parent().siblings(".wromox-products-holder"),i=h.data("source"),j="wromox_get_products_"+i,k=wromox_settings.ajaxurl,l="POST",m=h.data("atts"),n=h.data("paged");n++,"main_loop"==i&&(k=a(this).attr("href"),l="GET"),e("load-more",m,k,j,"json",l,n,h,g,[],function(c){c.items&&(h.hasClass("grid-masonry")?f(h,c.items):h.append(c.items),h.imagesLoaded().progress(function(){wromoxThemeModule.clickOnScrollButton(b.shopLoadMoreBtn,!0,wromox_settings.infinit_scroll_offset)}),a(document).trigger("wood-images-loaded"),h.data("paged",n),wromoxThemeModule.productHover(),wromoxThemeModule.btnsToolTips(),wromoxThemeModule.productMoreDescription(),wromoxThemeModule.gridQuantity()),"main_loop"==i&&(g.attr("href",c.nextPage),"no-more-posts"==c.status&&g.hide().remove()),"no-more-posts"==c.status&&g.hide()})}});var e=function(b,c,e,f,g,h,i,j,k,l,m){var n={atts:c,paged:i,action:f,woo_ajax:1};if(l[i])return j.addClass("loading"),void setTimeout(function(){m(l[i]),j.removeClass("loading"),d=!1},300);if("arrows"==b&&j.addClass("loading").parent().addClass("element-loading"),k.addClass("loading"),"wromox_get_products_main_loop"==f){n={loop:j.find(".product").last().data("loop"),woo_ajax:1}}a.ajax({url:e,data:n,dataType:g,method:h,success:function(a){l[i]=a,m(a)},error:function(a){console.log("ajax error")},complete:function(){"arrows"==b&&j.removeClass("loading").parent().removeClass("element-loading"),k.removeClass("loading"),d=!1,wromoxThemeModule.compare(),wromoxThemeModule.productHover(),wromoxThemeModule.countDownTimer(),wromoxThemeModule.productMoreDescription(),wromoxThemeModule.gridQuantity()}})},f=function(b,c){var c=a(c);b.append(c).isotope("appended",c),b.imagesLoaded().progress(function(){b.isotope("layout")})}},wromoxThemeModule.compare=function(){var b=a("body"),c=a("a.compare");b.on("click","a.compare",function(){a(this).addClass("loading")}),b.on("yith_woocompare_open_popup",function(){c.removeClass("loading"),b.addClass("compare-opened")}),b.on("click","#cboxClose, #cboxOverlay",function(){b.removeClass("compare-opened")})},wromoxThemeModule.wromoxCompare=function(){function b(b){e.length>0&&e.find(".compare-count").text(b.count),a(".wromox-compare-table").length>0&&a(".wromox-compare-table").replaceWith(b.table)}var c="wromox_compare_list";wromox_settings.is_multisite&&(c+="_"+wromox_settings.current_blog_id);var d=a("body"),e=a(".wromox-compare-info-widget"),f=Cookies.get(c);if(e.length>0&&void 0!==f)try{var g=JSON.parse(f);e.find(".compare-count").text(g.length)}catch(h){console.log("cant parse cookies json")}d.on("click",".wromox-compare-btn a",function(c){var d=a(this),e=d.data("id"),f=d.data("added-text");if(d.hasClass("added"))return!0;c.preventDefault(),d.addClass("loading"),jQuery.ajax({url:wromox_settings.ajaxurl,data:{action:"wromox_add_to_compare",id:e},dataType:"json",method:"GET",success:function(c){c.table?(b(c),a(document).trigger("added_to_compare")):console.log("something wrong loading compare data ",c)},error:function(a){console.log("We cant add to compare. Something wrong with AJAX response. Probably some PHP conflict.")},complete:function(){d.removeClass("loading").addClass("added"),d.find("span").length>0?d.find("span").text(f):d.text(f)}})}),d.on("click",".wromox-compare-remove",function(c){c.preventDefault();var d=a(this),e=d.data("id");d.addClass("loading"),jQuery.ajax({url:wromox_settings.ajaxurl,data:{action:"wromox_remove_from_compare",id:e},dataType:"json",method:"GET",success:function(a){a.table?b(a):console.log("something wrong loading compare data ",a)},error:function(a){console.log("We cant remove product compare. Something wrong with AJAX response. Probably some PHP conflict.")},complete:function(){d.addClass("loading")}})})},wromoxThemeModule.wishList=function(){a("body").on("click",".add_to_wishlist",function(){a(this).parent().addClass("feid-in")})},wromoxThemeModule.product360Button=function(){a(".product-360-button a").magnificPopup({type:"inline",mainClass:"mfp-fade",preloader:!1,tClose:wromox_settings.close,tLoading:wromox_settings.loading,fixedContentPos:!1,callbacks:{open:function(){a(window).resize()}}})},wromoxThemeModule.productVideo=function(){a(".product-video-button a").magnificPopup({tClose:wromox_settings.close,tLoading:wromox_settings.loading,type:"iframe",iframe:{patterns:{youtube:{index:"youtube.com/",id:"v=",src:"//www.youtube.com/embed/%id%?rel=0&autoplay=1"}}},preloader:!1,fixedContentPos:!1})},wromoxThemeModule.loginTabs=function(){var b=a(".wromox-register-tabs"),c=b.find(".wromox-switch-to-register"),d=a(".col-register-text h2"),e=(b.find(".col-login"),b.find(".login-info")),f=(b.find(".col-register"),"active-register"),g=c.data("login"),h=c.data("register"),i=c.data("login-title"),j=c.data("reg-title");c.on("click",function(c){c.preventDefault(),m()?l():k();a(".main-page-wrapper").offset().top;a(window).width()<768&&a("html, body").stop().animate({scrollTop:b.offset().top-90},400)});var k=function(){b.addClass(f),c.text(g),e.length>0&&d.text(i)},l=function(){b.removeClass(f),c.text(h),e.length>0&&d.text(j)},m=function(){return b.hasClass(f)}},wromoxThemeModule.headerCategoriesMenu=function(){if(!(a(window).width()>1024)){var b=a(".header-categories-nav"),c=b.find(".categories-menu-dropdown"),d=b.find(".menu-item-has-children"),e=b.find(".menu-opener"),f=200;d.find("> a").before('<span class="drop-category"></span>'),c.on("click",".drop-category",function(){var b=a(this).parent().find("> .sub-menu-dropdown, >.sub-sub-menu");b.hasClass("child-open")?(a(this).removeClass("act-icon"),b.slideUp(f).removeClass("child-open")):(a(this).addClass("act-icon"),b.slideDown(f).addClass("child-open"))}),b.on("click",".menu-opener",function(a){a.preventDefault(),g()?i():h()}),c.on("click","a",function(a){i(),c.stop().attr("style","")});var g=function(){return c.hasClass("categories-opened")},h=function(){c.addClass("categories-opened").stop().slideDown(f),e.addClass("button-open")},i=function(){c.removeClass("categories-opened").stop().slideUp(f),e.removeClass("button-open")}}},wromoxThemeModule.categoriesMenu=function(){if(!(a(window).width()>1024)){var b=a(".wromox-product-categories"),c=(b.find("li > ul"),a(".wromox-show-categories"),200);a("body").on("click",".icon-drop-category",function(b){b.preventDefault(),a(this).closest(".has-sub").find("> ul").hasClass("child-open")?a(this).removeClass("wromox-act-icon").closest(".has-sub").find("> ul").slideUp(c).removeClass("child-open"):a(this).addClass("wromox-act-icon").closest(".has-sub").find("> ul").slideDown(c).addClass("child-open")}),a("body").on("click",".wromox-show-categories",function(a){a.preventDefault(),d()?f():e()}),a("body").on("click",".wromox-product-categories a",function(c){a(c.target).hasClass("icon-drop-category")||(f(),b.stop().attr("style",""))});var d=function(){return a(".wromox-product-categories").hasClass("categories-opened")},e=function(){a(".wromox-product-categories").addClass("categories-opened").stop().slideDown(c),a(".wromox-show-categories").addClass("button-open")},f=function(){a(".wromox-product-categories").removeClass("categories-opened").stop().slideUp(c),a(".wromox-show-categories").removeClass("button-open")}}},wromoxThemeModule.categoriesMenuBtns=function(){if(!(a(window).width()>1024)){var b=a(".wromox-product-categories"),c=b.find("li > ul");b.addClass("responsive-cateogires"),c.parent().addClass("has-sub").find("> .category-nav-link").prepend('<span class="icon-drop-category"></span>')}},wromoxThemeModule.filtersArea=function(){var c=a(".filters-area"),d=(a(".open-filters"),200);a("body").on("click",".open-filters",function(a){a.preventDefault(),e()?f():(wromoxThemeModule.openFilters(d),setTimeout(function(){wromoxThemeModule.shopLoader()},d))}),"no"==wromox_settings.shop_filters_close&&a("body").on("click",b.ajaxLinks,function(){e()&&f()});var e=function(){return c=a(".filters-area"),c.hasClass("filters-opened")},f=function(){c=a(".filters-area"),c.removeClass("filters-opened"),c.stop().slideUp(d),a(".open-filters").removeClass("btn-opened")}},wromoxThemeModule.openFilters=function(b){var c=a(".filters-area");c.stop().slideDown(b),a(".open-filters").addClass("btn-opened"),setTimeout(function(){c.addClass("filters-opened"),a("body").removeClass("body-filters-opened"),wromoxThemeModule.nanoScroller(),a(document).trigger("wood-images-loaded")},b)},wromoxThemeModule.shopPageInit=function(){wromoxThemeModule.shopMasonry(),wromoxThemeModule.ajaxSearch(),wromoxThemeModule.productHover(),wromoxThemeModule.btnsToolTips(),wromoxThemeModule.compare(),wromoxThemeModule.filterDropdowns(),wromoxThemeModule.sortByWidget(),wromoxThemeModule.categoriesMenuBtns(),wromoxThemeModule.categoriesAccordion(),wromoxThemeModule.woocommercePriceSlider(),wromoxThemeModule.countDownTimer(),wromoxThemeModule.nanoScroller(),wromoxThemeModule.shopLoader(),wromoxThemeModule.stickySidebarBtn(),wromoxThemeModule.productFilters(),wromoxThemeModule.productMoreDescription(),wromoxThemeModule.gridQuantity(),wromoxThemeModule.swatchesLimit(),wromoxThemeModule.categoriesDropdowns(),wromoxThemeModule.clickOnScrollButton(b.shopLoadMoreBtn,!1,wromox_settings.infinit_scroll_offset),a("body > .tooltip").remove(),a(document.body).on("updated_wc_div",function(){a(document).trigger("wood-images-loaded")}),a(document).trigger("resize.vcRowBehaviour")},wromoxThemeModule.ajaxFilters=function(){if(a("body").hasClass("wromox-ajax-shop-on")&&void 0!==a.fn.pjax&&!a("body").hasClass("single-product")){var c=this,d=!1;a(".products");a("body").on("click",".post-type-archive-product .products-footer .woocommerce-pagination a",function(a){e(!0)}),a(document).pjax(b.ajaxLinks,".main-page-wrapper",{timeout:wromox_settings.pjax_timeout,scrollTo:!1}),"click"==wromox_settings.price_filter_action?a(document).on("click",".widget_price_filter form .button",function(){var b=a(".widget_price_filter form");return a.pjax({container:".main-page-wrapper",timeout:wromox_settings.pjax_timeout,url:b.attr("action"),data:b.serialize(),scrollTo:!1}),!1}):"submit"==wromox_settings.price_filter_action&&a(document).on("submit",".widget_price_filter form",function(b){var c=a(".main-page-wrapper");a.pjax.submit(b,c)}),a(document).on("pjax:error",function(a,b,c,d){console.log("pjax error "+c)}),a(document).on("pjax:start",function(b,c){a(".site-content").removeClass("ajax-loaded"),a(".site-content").addClass("ajax-loading"),wromoxThemeModule.hideShopSidebar()}),a(document).on("pjax:complete",function(b,d,f){c.shopPageInit(),e(!1),a(document).trigger("wood-images-loaded"),a(".wromox-sidebar-content").scroll(function(){a(document).trigger("wood-images-loaded")}),a(".site-content").removeClass("ajax-loading"),"undefined"!=typeof wromox_wpml_js_data&&wromox_wpml_js_data.languages&&a.each(wromox_wpml_js_data.languages,function(b,c){a(".wpml-ls-item-"+c.code+" .wpml-ls-link").attr("href",c.url)})}),a(document).on("pjax:beforeReplace",function(b,c){a(".filters-area").hasClass("filters-opened")&&"yes"==wromox_settings.shop_filters_close&&(d=!0,a("body").addClass("body-filters-opened"))}),a(document).on("pjax:end",function(b,c,e){d&&(a(".filters-area").css("display","block"),wromoxThemeModule.openFilters(200),d=!1),a(".site-content").removeClass("ajax-loading"),a(".site-content").addClass("ajax-loaded")});var e=function(b){if("no"==wromox_settings.ajax_scroll&&0==b)return!1;var c=a(wromox_settings.ajax_scroll_class),d=c.offset().top-wromox_settings.ajax_scroll_offset;a("html, body").stop().animate({scrollTop:d},400)}}},wromoxThemeModule.cartWidget=function(){var b=a(".cart-widget-opener"),c=(b.find("a"),a("body")),d=a(".cart-widget-side"),e=a(".wromox-close-side");b.on("click",function(a){i()||j()||a.preventDefault(),h()?f():setTimeout(function(){g()},10)}),c.on("click touchstart",".wromox-close-side",function(){h()&&f()}),c.on("click",".close-side-widget",function(a){a.preventDefault(),h()&&f()}),a(document).keyup(function(a){27===a.keyCode&&h()&&f()});var f=function(){d.removeClass("wromox-cart-opened"),e.removeClass("wromox-close-side-opened")},g=function(){if(i()||j())return!1;d.addClass("wromox-cart-opened"),e.addClass("wromox-close-side-opened")},h=function(){return d.hasClass("wromox-cart-opened")},i=function(){return a("body").hasClass("woocommerce-cart")},j=function(){return a("body").hasClass("woocommerce-checkout")}},wromoxThemeModule.woocommerceQuantity=function(){String.prototype.getDecimals||(String.prototype.getDecimals=function(){var a=this,b=(""+a).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return b?Math.max(0,(b[1]?b[1].length:0)-(b[2]?+b[2]:0)):0}),a(document).on("click",".plus, .minus",function(){var b=a(this).closest(".quantity").find(".qty"),c=parseFloat(b.val()),d=parseFloat(b.attr("max")),e=parseFloat(b.attr("min")),f=b.attr("step");c&&""!==c&&"NaN"!==c||(c=0),""!==d&&"NaN"!==d||(d=""),""!==e&&"NaN"!==e||(e=0),"any"!==f&&""!==f&&void 0!==f&&"NaN"!==parseFloat(f)||(f="1"),a(this).is(".plus")?d&&c>=d?b.val(d):b.val((c+parseFloat(f)).toFixed(f.getDecimals())):e&&c<=e?b.val(e):c>0&&b.val((c-parseFloat(f)).toFixed(f.getDecimals())),b.trigger("change")})},wromoxThemeModule.onRemoveFromCart=function(){"no"!==wromox_settings.woocommerce_ajax_add_to_cart&&a(document).on("click",".widget_shopping_cart .remove",function(b){b.preventDefault(),a(this).parent().addClass("removing-process")})},wromoxThemeModule.woocommerceComments=function(){var b=window.location.hash,c=window.location.href;(b.toLowerCase().indexOf("comment-")>=0||"#reviews"===b||"#tab-reviews"===b||c.indexOf("comment-page-")>0||c.indexOf("cpage=")>0)&&(setTimeout(function(){window.scrollTo(0,0)},1),setTimeout(function(){a(b).length>0&&a("html, body").stop().animate({scrollTop:a(b).offset().top-100},400)},10))},wromoxThemeModule.woocommerceWrappTable=function(){a(".shop_table:not(.shop_table_responsive):not(.woocommerce-checkout-review-order-table)").wrap("<div class='responsive-table'></div>")},wromoxThemeModule.productLoaderPosition=function(){var b=function(){a(".wromox-products-loader").each(function(){var b=a(this),c=b.parent();0!=b.length&&b.css("left",c.offset().left+c.outerWidth()/2)})};a(window).on("resize",b),b()},wromoxThemeModule.initZoom=function(){function b(a){a.find("img").data("large_image_width")>a.width()&&(a.trigger("zoom.destroy"),a.zoom(d))}var c=a(".woocommerce-product-gallery__wrapper:not(.quick-view-gallery)");if("yes"!=wromox_settings.zoom_enable)return!1;var d={touch:!1};"ontouchstart"in window&&(d.on="click"),a(".woocommerce-product-gallery").hasClass("thumbs-position-bottom")||a(".woocommerce-product-gallery").hasClass("thumbs-position-left")?c.on("changed.owl.carousel",function(a){b(c.find(".product-image-wrap").eq(a.item.index).find(".woocommerce-product-gallery__image"))}):c.find(".product-image-wrap").each(function(){b(a(this).find(".woocommerce-product-gallery__image"))})},wromoxThemeModule.productMoreDescription=function(){a(".wromox-more-desc").each(function(){var b=a(this),c=b.find(".wromox-more-desc-inner"),d=b.outerHeight(),e=c.outerHeight(),f=e-d;b.hasClass("wromox-more-desc-active")||(f>30?(b.addClass("wromox-more-desc-active"),b.append('<a href="#" class="wromox-more-desc-btn"><span>more</span></a>')):f>0&&b.css("height",d+f))}),a("body").on("click",".wromox-more-desc-btn",function(b){b.preventDefault(),a(this).parent().addClass("wromox-more-desc-full"),wromoxThemeModule.productHoverRecalc(a(this).parents(".wromox-hover-base"))})},wromoxThemeModule.productHoverRecalc=function(a){if(!a.hasClass("product-in-carousel")){var b=a.find(".fade-in-block").outerHeight();a.find(".content-product-imagin").css({marginBottom:-b}),a.addClass("hover-ready")}},wromoxThemeModule.productHover=function(){a(".wromox-hover-base").each(function(){var b=a(this);b.imagesLoaded(function(){wromoxThemeModule.productHoverRecalc(b)})}),a(window).width()<=1024&&(a(".wromox-hover-base").on("click",function(b){var c="state-hover";a(this).hasClass(c)||"no"!=wromox_settings.base_hover_mobile_click||(b.preventDefault(),a("."+c).removeClass(c),a(this).addClass(c))}),a(document).on("click touchstart",function(b){0==a(b.target).closest(".state-hover").length&&a(".state-hover").removeClass("state-hover")})),a(".wromox-hover-base").each(function(){var b=a(this),c=b.find(".wromox-add-btn"),d=b.outerWidth();wromox_settings.hover_width_small&&(d<255||a(window).width()<=1024?(b.addClass("add-small-content"),b.hasClass("wromox-hover-base")&&c.addClass("wd-action-btn wd-add-cart-btn wd-style-icon")):b.hasClass("wromox-hover-base")&&(a("body").hasClass("catalog-mode-on")||a("body").hasClass("login-see-prices"))&&b.find(".wd-bottom-actions .wd-action-btn").removeClass("wd-style-icon").addClass("wd-style-text"))})},wromoxThemeModule.shopMasonry=function(){if(void 0!==a.fn.isotope&&void 0!==a.fn.packery&&void 0!==a.fn.imagesLoaded){var b=a(".elements-grid.grid-masonry");b.imagesLoaded(function(){b.isotope({isOriginLeft:!a("body").hasClass("rtl"),itemSelector:".category-grid-item, .product-grid-item"})}),a(window).resize(function(){var b=a(".categories-masonry"),c=b.hasClass("categories-style-masonry")?".category-grid-item":".col-lg-3.category-grid-item";b.imagesLoaded(function(){b.packery({resizable:!1,isOriginLeft:!a("body").hasClass("rtl"),packery:{gutter:0,columnWidth:c},itemSelector:".category-grid-item"})})})}},wromoxThemeModule.categoriesAccordion=function(){if("no"!=wromox_settings.categories_toggle){var b=a(".widget_product_categories"),c=b.find(".product-categories"),d=300;c.find(".cat-parent").each(function(){a(this).find(" > .wromox-cats-toggle").length>0||0!=a(this).find(" > .children").length&&0!=a(this).find(" > .children > *").length&&a(this).append('<div class="wromox-cats-toggle"></div>')}),c.on("click",".wromox-cats-toggle",function(){var b=a(this),c=b.prev();c.hasClass("list-shown")?(b.removeClass("toggle-active"),c.stop().slideUp(d).removeClass("list-shown")):(c.parent().parent().find("> li > .list-shown").slideUp().removeClass("list-shown"),c.parent().parent().find("> li > .toggle-active").removeClass("toggle-active"),b.addClass("toggle-active"),c.stop().slideDown(d).addClass("list-shown"))}),c.find("li.current-cat.cat-parent, li.current-cat-parent").length>0&&c.find("li.current-cat.cat-parent, li.current-cat-parent").find("> .wromox-cats-toggle").click()}},wromoxThemeModule.woocommercePriceSlider=function(){
  if("undefined"==typeof woocommerce_price_slider_params||a(".price_slider_amount #min_price").length<1||!a.fn.slider)return!1;var b=a(".price_slider");if(void 0===b.slider("instance")){a("input#min_price, input#max_price").hide(),a(".price_slider, .price_label").show();var c=a(".price_slider_amount #min_price").data("min"),d=a(".price_slider_amount #max_price").data("max"),e=parseInt(c,10),f=parseInt(d,10);a(".products").attr("data-min_price")&&a(".products").attr("data-min_price").length>0&&(e=parseInt(a(".products").attr("data-min_price"),10)),a(".products").attr("data-max_price")&&a(".products").attr("data-max_price").length>0&&(f=parseInt(a(".products").attr("data-max_price"),10)),b.slider({range:!0,animate:!0,min:c,max:d,values:[e,f],create:function(){a(".price_slider_amount #min_price").val(e),a(".price_slider_amount #max_price").val(f),a(document.body).trigger("price_slider_create",[e,f])},slide:function(b,c){a("input#min_price").val(c.values[0]),a("input#max_price").val(c.values[1]),a(document.body).trigger("price_slider_slide",[c.values[0],c.values[1]])},change:function(b,c){a(document.body).trigger("price_slider_change",[c.values[0],c.values[1]])}}),setTimeout(function(){a(document.body).trigger("price_slider_create",[e,f]),b.find(".ui-slider-range").length>1&&b.find(".ui-slider-range").first().remove()},10)}}}(jQuery),jQuery(window).on("elementor/frontend/init",function(){elementorFrontend.isEditMode()&&(elementorFrontend.hooks.addAction("frontend/element_ready/wd_products.default",function(a,b){wromoxThemeModule.swatchesOnGrid(),wromoxThemeModule.quickViewInit(),wromoxThemeModule.quickShop(),wromoxThemeModule.btnsToolTips(),wromoxThemeModule.countDownTimer(),wromoxThemeModule.addToCart(),wromoxThemeModule.owlCarouselInit(),wromoxThemeModule.lazyLoading(),wromoxThemeModule.productHover(),wromoxThemeModule.productMoreDescription(),wromoxThemeModule.gridQuantity(),wromoxThemeModule.shopMasonry(),wromoxThemeModule.productsLoadMore()}),elementorFrontend.hooks.addAction("frontend/element_ready/wd_products_tabs.default",function(a,b){wromoxThemeModule.productsTabs(),wromoxThemeModule.swatchesOnGrid(),wromoxThemeModule.quickViewInit(),wromoxThemeModule.quickShop(),wromoxThemeModule.btnsToolTips(),wromoxThemeModule.countDownTimer(),wromoxThemeModule.addToCart(),wromoxThemeModule.owlCarouselInit(),wromoxThemeModule.lazyLoading(),wromoxThemeModule.productHover(),wromoxThemeModule.productMoreDescription(),wromoxThemeModule.gridQuantity(),wromoxThemeModule.shopMasonry(),wromoxThemeModule.productsLoadMore()}),elementorFrontend.hooks.addAction("frontend/element_ready/wd_product_categories.default",function(a,b){wromoxThemeModule.owlCarouselInit(),wromoxThemeModule.lazyLoading()}),elementorFrontend.hooks.addAction("frontend/element_ready/wd_products_brands.default",function(a,b){wromoxThemeModule.owlCarouselInit(),wromoxThemeModule.lazyLoading(),wromoxThemeModule.shopMasonry()}),elementorFrontend.hooks.addAction("frontend/element_ready/wd_product_filters.default",function(a,b){wromoxThemeModule.productFilters()}))}),jQuery(document).ready(function(){wromoxThemeModule.init()});