!function(r){woodmartThemeModule.filtersArea=function(){var e=r(".filters-area"),o=(woodmartThemeModule.$body.on("click",".open-filters",function(e){e.preventDefault(),o()?t():(woodmartThemeModule.openFilters(200),setTimeout(function(){woodmartThemeModule.$document.trigger("wdFiltersOpened")},200))}),"no"===woodmart_settings.shop_filters_close&&woodmartThemeModule.$body.on("click",woodmart_settings.ajax_links,function(){o()&&t()}),function(){return(e=r(".filters-area")).hasClass("filters-opened")}),t=function(){(e=r(".filters-area")).removeClass("filters-opened"),e.stop().slideUp(200)}},woodmartThemeModule.openFilters=function(e){var o=r(".filters-area");o.stop().slideDown(e),setTimeout(function(){o.addClass("filters-opened"),woodmartThemeModule.$document.trigger("wdFiltersOpened"),woodmartThemeModule.$body.removeClass("body-filters-opened"),woodmartThemeModule.$document.trigger("wood-images-loaded")},e)},r(document).ready(function(){woodmartThemeModule.filtersArea()})}(jQuery);