PageSourceSearch

https://123ignition.com/wp-content/themes/woodmart/js/scripts/wc/productFilters.min.js?ver=8.5.7

js 123ignition.com collected 2026-10-01 14:52:31 UTC 7,062 bytes, 1 lines download raw bytes

1!function(e){woodmartThemeModule.$document.on("wdShopPageInit",function(){woodmartThemeModule.productFilters()}),e.each(["frontend/element_ready/wd_product_filters.default"],function(e,a){woodmartThemeModule.wdElementorAddAction(a,function(){woodmartThemeModule.productFilters()})}),woodmartThemeModule.productFilters=function(){woodmartThemeModule.$body.on("filter_price_slider_create filter_price_slider_slide",function(e,a,r,t,i,o){if("undefined"!=typeof accounting){var s=accounting.formatMoney(a,{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}),l=accounting.formatMoney(r,{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});o.siblings(".filter_price_slider_amount").find("span.from").html(s),o.siblings(".filter_price_slider_amount").find("span.to").html(l);var c=o.parents(".wd-pf-checkboxes").find(".wd-pf-results"),d=c.find(".selected-value");a===t&&r===i?d.remove():0===d.length?c.prepend('<li class="selected-value" data-title="price-filter" data-min="'+t+'" data-max="'+i+'">'+s+" - "+l+"</li>"):d.html(s+" - "+l),woodmartThemeModule.$body.trigger("price_slider_updated",[a,r])}}),e(".wd-pf-price-range .price_slider_widget").each(function(){var a=e(this),r=a.siblings(".filter_price_slider_amount").find(".min_price"),t=a.siblings(".filter_price_slider_amount").find(".max_price"),i=parseInt(r.data("min")),o=parseInt(t.data("max")),s=new URL(window.location.href),l=parseInt(s.searchParams.has("min_price")?s.searchParams.get("min_price"):r.val()),c=parseInt(s.searchParams.has("max_price")?s.searchParams.get("max_price"):t.val());e(".price_slider_widget, .price_label").show(),isNaN(l)&&(l=i),isNaN(c)&&(c=o),a.slider({range:!0,animate:!0,min:i,max:o,values:[l,c],create:function(){l===i&&c===o&&(r.val(""),t.val("")),woodmartThemeModule.$body.trigger("filter_price_slider_create",[l,c,i,o,a]),a.closest(".wd-pf-price-range").on("click",".wd-pf-results li",function(a){var r=e(this),t=r.closest(".wd-pf-checkboxes"),i=t.find(".pf-value");if(t.find(".min_price").val(""),t.find(".max_price").val(""),t.find(".price_slider_widget").slider("values",[t.find(".min_price").data("min"),t.find(".max_price").data("max")]),r.remove(),0!==i.length){var o=new URL(i.attr("href"));o.searchParams.delete("min_price"),o.searchParams.delete("max_price"),i.attr("href",o.href),i&&i.trigger("click")}})},slide:function(e,s){s.values[0]===i&&s.values[1]===o?(r.val(""),t.val("")):(r.val(s.values[0]),t.val(s.values[1])),woodmartThemeModule.$body.trigger("filter_price_slider_slide",[s.values[0],s.values[1],i,o,a])},change:function(e,a){woodmartThemeModule.$body.trigger("price_slider_change",[a.values[0],a.values[1]])}})});var a=e("form.wd-product-filters"),r=function(e,a){if(0!==e.length){var r=e.val();r.indexOf(",")>0?e.val(r.replace(","+a,"").replace(a+",","")):e.val(r.replace(a,""))}},t={container:".wd-page-content",timeout:woodmart_settings.pjax_timeout,scrollTo:!1,renderCallback:function(e,a,r){woodmartThemeModule.removeDuplicatedStylesFromHTML(a,function(a){e.html(a),r(),woodmartThemeModule.$document.trigger("wdShopPageInit"),woodmartThemeModule.$document.trigger("wood-images-loaded")},e)}};a.each(function(a,i){var o=(i=e(i)).find(".wd-pf-btn button, .wp-block-wd-button"),s=i.find(".wd-pf-checkboxes");i.on("click",".wd-pf-results li",function(a){var t=e(this),i=t.data("title"),s=t.closest(".wd-pf-checkboxes"),l=s.find(`.pf-value[data-val="${i}"]`);if(!s.hasClass("wd-pf-price-range"))if(0===o.length)l.trigger("click");else{var c=s.find(".result-input");s.hasClass("wd-pf-categories")&&s.closest("form.wd-product-filters").attr("action",woodmart_settings.shop_url),r(c,i),l.closest("li").removeClass("wd-active"),t.remove()}}),s.each(function(){var a=e(this),r=a.find(".wd-pf-title"),t=a.hasClass("multi_select");r.on("click keyup",function(t){if("keyup"!==t.type||13===t.keyCode){var o=t.target;e(o).is(r.find(".selected-value"))||(a.hasClass("wd-opened")?i():(a.addClass("wd-opened"),setTimeout(function(){woodmartThemeModule.$document.trigger("wdProductFiltersOpened")},300)))}}),woodmartThemeModule.$document.on("click",function(o){var s=o.target;(a.hasClass("wd-opened")&&t&&!e(s).is(a)&&!e(s).parents().is(a)||!t&&!e(s).is(r)&&!e(s).parents().is(r))&&i()});var i=function(){a.removeClass("wd-opened")}}),0===o.length?i.on("click",".wd-pf-checkboxes li > .pf-value, .filter_price_slider_amount .pf-value",function(a){var r=i.find(".filter_price_slider_amount");if(r.length>0){var o=r.find(".pf-value"),s=o.siblings(".min_price"),l=o.siblings(".max_price"),c=o.attr("href"),d=new URL(c);s.length&&l.length&&(s.val()?d.searchParams.set(s.attr("name"),s.val()):d.searchParams.delete(s.attr("name")),l.val()?d.searchParams.set(l.attr("name"),l.val()):d.searchParams.delete(l.attr("name")),o.attr("href",d.href)),s.val(""),l.val("")}"1"===woodmart_settings.ajax_shop&&void 0!==e.fn.pjax&&e.pjax.click(a,t)}):(i.on("click",".wd-pf-checkboxes li > .pf-value",function(a){a.preventDefault();var t=e(this),i=t.closest("form.wd-product-filters"),o=t.parent(),s=t.parents(".wd-pf-checkboxes"),l=s.find(".result-input"),c=s.find(".wd-pf-results"),d=s.hasClass("multi_select"),n=l.val(),m=t.data("title"),f=t.data("val");if(d?o.hasClass("wd-active")?(r(l,f),c.find('li[data-title="'+f+'"]').remove(),o.removeClass("wd-active")):(""===n?l.val(f):l.val(n+","+f),c.prepend('<li class="selected-value" data-title="'+f+'">'+m+"</li>"),o.addClass("wd-active")):o.hasClass("wd-active")?(l.val(""),c.find(".selected-value").remove(),o.removeClass("wd-active")):(l.val(f),c.find(".selected-value").remove(),c.prepend('<li class="selected-value" data-title="'+f+'">'+m+"</li>"),o.parents(".wd-scroll-content").find(".wd-active").removeClass("wd-active"),o.addClass("wd-active")),s.hasClass("wd-pf-categories")){var u=new URL(t.attr("href")),p=woodmart_settings.shop_url;o.hasClass("wd-active")&&(p=u.origin+u.pathname),i.attr("action",p)}}),"1"===woodmart_settings.ajax_shop&&void 0!==e.fn.pjax?e(document).off("submit","form.
1wd-product-filters").on("submit","form.wd-product-filters",function(a){a.preventDefault(),i=e(this),t.url=i.attr("action"),t.data=i.find(':input[value!=""]').serialize(),e.pjax(t)}):e(document).off("submit","form.wd-product-filters").on("submit","form.wd-product-filters",function(a){e(":input",this).each(function(){this.disabled=!e(this).val()})}))}),woodmartThemeModule.$document.on("click",".wd-product-filters > a.btn",function(a){a.preventDefault(),e(this).parent("form").trigger("submit")})},e(document).ready(function(){woodmartThemeModule.productFilters()})}(jQuery);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.