PageSourceSearch

https://stempelexpert.ch/Plugins/SevenSpikes.Nop.Plugins.AjaxFilters/Scripts/Filters.min.js

js stempelexpert.ch collected 2026-10-01 15:39:11 UTC 25,524 bytes, 1 lines download raw bytes

1FiltersManager=function(){this.isOnSearchPage=$(".nopAjaxFilters7Spikes").attr("data-isonsearchpage"),this.keyword=$(".nopAjaxFilters7Spikes").attr("data-searchkeyword"),this.searchCategoryId=$(".nopAjaxFilters7Spikes").attr("data-searchcategoryid"),this.searchManufacturerId=$(".nopAjaxFilters7Spikes").attr("data-searchmanufacturerid"),this.searchVendorId=$(".nopAjaxFilters7Spikes").attr("data-searchvendorid"),this.priceFrom=$(".nopAjaxFilters7Spikes").attr("data-searchpricefrom"),this.priceTo=$(".nopAjaxFilters7Spikes").attr("data-searchpriceto"),this.includeSubcategories=$(".nopAjaxFilters7Spikes").attr("data-searchincludesubcategories"),this.searchInProductDescriptions=$(".nopAjaxFilters7Spikes").attr("data-searchinproductdescriptions"),this.advancedSearch=$(".nopAjaxFilters7Spikes").attr("data-searchadvancedsearch"),this.isRtl="true"===$(".nopAjaxFilters7Spikes").attr("data-isRTL"),this.categoryId=$(".nopAjaxFilters7Spikes").attr("data-categoryId"),this.manufacturerId=$(".nopAjaxFilters7Spikes").attr("data-manufacturerId"),this.vendorId=$(".nopAjaxFilters7Spikes").attr("data-vendorId"),this.getFilteredProductsUrl=$(".nopAjaxFilters7Spikes").attr("data-getFilteredProductsUrl"),this.filtersUIMode=$(".nopAjaxFilters7Spikes").attr("data-filtersUIMode"),this.filtersUIModeEnum={userCheckboxes:"usecheckboxes",useDropDowns:"usedropdowns"},this.selectedFilterGroupElement=void 0,this.selectedFilterOptionElement=void 0,this.isProductRefreshTriggeredByScroll=!1},function(b,w,A){var i=0,a=1,o=2,l=3;function C(){return"true"===b(".nopAjaxFilters7Spikes").attr("data-enableinfinitescroll").toLowerCase()}function s(e,t){b(e).each(function(){var e=b(this);e.is("select")&&e.val()!==t&&(e.val(t).attr("valueChangedByScript","true"),e.change())})}function t(e){if(0<b(e).length)return e;var t=e.slice(1);return"#"===e.substring(0,1)?"."+t:"."===e.substring(0,1)?"#"+t:e}function n(){return t(b(".nopAjaxFilters7Spikes").attr("data-viewOptionsDropDownSelector")||".products-viewmode, .viewmode-icon")}var h="nop7SpikesAjaxFiltersGrid";function j(e){!0===e.hasClass("closed")?e.removeClass("closed"):e.addClass("closed"),e.parent().siblings(".filtersGroupPanel").slideToggle("slow",function(){b(this).css("overflow","")})}function M(){var e=n(),t=b(e).filter(".selected");return 0<t.length?t.attr("data-dropdownoptionvalue"):b(".viewOptionsDropDown").attr("data-DropDownOptionsSelectedValue")||b(".viewOptionsDropDown").val()||null}function d(e){var t=b(e.currentTarget).attr("data-pageNumber");null!=e.data&&null!=e.data.filtersManager&&e.data.filtersManager.requestProductsForSelectedFilters(void 0,void 0,t,void 0,void 0,!0)}function c(){var e=b(".nopAjaxFilters7Spikes").attr("data-productsGridPanelSelector")+","+b(".nopAjaxFilters7Spikes").attr("data-ProductsListPanelSelector");return b(".master-wrapper-page "+e).not(".featured-product-grid, .nop-jcarousel").last()}function p(){var e=b(".pager .next-page > a").first();if(0!==e.length){var t=c();if(0!==t.length){var r=b(window).outerHeight(),i=b(window).scrollTop();if(t.innerHeight()+t.offset().top<r+i){b(".infinite-scroll-loader").show();var a=new A,o=parseInt(e.attr("data-pageNumber"));a.requestProductsForSelectedFilters(void 0,void 0,o,void 0,void 0,!0,!0)}}}else b(window).off("scroll.filtersinfinitescroll resize.filtersinfinitescroll orientationchange.filtersinfinitescroll")}function u(){if(0===b(".infinite-scroll-loader").length){var e=b(".ajaxBusyPanelParent");0===e.length&&(e=c()),e.append('<div class="infinite-scroll-loader">'+b(".nopAjaxFilters7Spikes").attr("data-infinitescrollloadertext")+"</div>")}}function f(e,t){s(".viewOptionsDropDown",e),t&&(new A).requestProductsForSelectedFilters(void 0,void 0,void 0,void 0,void 0,!0)}function r(e,s){e.each(function(){var e="",t=b(s).val(),r=b.parseJSON(t);if(!b(this).is("select")){var i=".";return null!=r[0]&&r[0].Selected?i+=r[0].Value.toLowerCase():null!=r[1]&&r[1].Selected&&(i+=r[1].Value.toLowerCase()),void b(n()).removeClass("selected").filter(i).first().addClass("selected")}for(var a=0;a<r.length;a++){var o=r[a],l="<option ";o.Disabled&&(l+='disabled="disabled" '),o.Selected&&(l+='selected="selected" '),l+='value="'+o.Value+'">',e+=l+=o.Text+"</option>"}b(this).html(e)}
1)}function e(){var e=b(t(b(".nopAjaxFilters7Spikes").attr("data-sortOptionsDropDownSelector")||".products-orderby"));0!==e.length&&(e.prop("onchange",null),e.addClass("sortOptionsDropDown").off("change").on("change",function(e){e.preventDefault();var t,r,i=b(this),a=null==i.attr("valueChangedByScript");i.removeAttr("valueChangedByScript"),t=i.val(),r=a,s(".sortOptionsDropDown",t),r&&(C()&&b.address.history(!0),(new A).requestProductsForSelectedFilters())}),r(e,"#availableSortOptionsJson"))}function g(){var e=b(t(b(".nopAjaxFilters7Spikes").attr("data-productsPageSizeDropDownSelector")||".products-pagesize"));0!==e.length&&(e.prop("onchange",null),e.addClass("productsPageSizeDropDown").off("change").on("change",function(e){e.preventDefault();var t,r,i=b(this),a=null==i.attr("valueChangedByScript");i.removeAttr("valueChangedByScript"),t=i.val(),r=a,s(".productsPageSizeDropDown",t),r&&(new A).requestProductsForSelectedFilters()}),r(e,"#availablePageSizesJson"))}function v(){var t;e(),0!==(t=b(n())).length&&(t.is("select")?(t.prop("onchange",null),t.addClass("viewOptionsDropDown").off("
1change").on("change",function(e){e.preventDefault();var t=b(this),r=null==t.attr("valueChangedByScript");t.removeAttr("valueChangedByScript"),f(t.val(),r)})):(t.filter(".grid").attr("data-dropdownoptionvalue","grid"),t.filter(".list").attr("data-dropdownoptionvalue","list"),t.on("click",function(e){if(e.preventDefault(),A.waitForAjaxRequest)return!1;b(this).hasClass("selected")||(t.removeClass("selected"),b(this).addClass("selected"),f(b(this).attr("data-dropdownoptionvalue"),!0))})),r(t,"#availableViewModesJson")),g(),b(document).trigger({type:"ajaxFiltersReplacedDropDownsEvent"})}b.fn.extend({anchorCustomClick:function(t){return b(this).first().on("click",function(e){e.preventDefault(),b(t).trigger("click")})}}),A.prototype.requestProductsForSelectedFilters=function(e,t,c,p,r,i,a,u,o,f){if(!A.waitForAjaxRequest&&"#/noFilterApplied"!==p){e&&t&&C()&&b.address.history(!0),this.isProductRefreshTriggeredByScroll=a||!1,null==p?p="":i=!0,this.setSpecificationFilterSelection(e,t);var l=this.getSpecificationFiltersModel(),s=this.getAttributeFiltersModel(),n=this.getManufacturerFiltersModel(),d=this.getVendorFiltersModel(),h=this.getOnSaleFiltersModel(),g=this.getPriceRangeFilterModel(),v=this.getInStockFiltersModel();null==c&&(c=null);var F=b(".sortOptionsDropDown").val()||0,S=M(),x=b(".productsPageSizeDropDown").val()||0,P=w.getUrlVar("pageNumber");null==P||null!=c||null!=r&&!1!==r||(c=P),null==i&&(i=!1),o&&(c=o);var m={categoryId:this.categoryId,manufacturerId:this.manufacturerId,vendorId:this.vendorId,priceRangeFilterModel7Spikes:g,specificationFiltersModel7Spikes:l,attributeFiltersModel7Spikes:s,manufacturerFiltersModel7Spikes:n,vendorFiltersModel7Spikes:d,pageNumber:c,orderby:F,viewmode:S,pagesize:x,queryString:p,shouldNotStartFromFirstPage:i,onSaleFilterModel:h,keyword:this.keyword,searchCategoryId:this.searchCategoryId,searchManufacturerId:this.searchManufacturerId,searchVendorId:this.searchVendorId,priceFrom:this.priceFrom,priceTo:this.priceTo,includeSubcategories:this.includeSubcategories,searchInProductDescriptions:this.searchInProductDescriptions,advancedSearch:this.advancedSearch,isOnSearchPage:this.isOnSearchPage,inStockFilterModel:v};this.isProductRefreshTriggeredByScroll||this.showProductPanelAjaxBusy();var k=this,y=this.getFilteredProductsUrl;A.waitForAjaxRequest=!0,b.ajax({cache:!1,type:"POST",data:b.toJSON(m),contentType:"application/json; charset=utf-8",url:y}).done(function(e){if(""!==p&&(k.changeViewModeOrderByAndPageSize(e),k.setPriceRangeValues(e)),k.refreshProducts(e,k.isProductRefreshTriggeredByScroll,f,c)){if(k.refreshFilters(e),f||k.refreshProductsPager(e),k.refreshClearButtons(),"NO HASH QUERY"!==p){k.expandFilterPanelsWithSelectedOptions();var t=b(e).filter("#urlHashQuery").val().toString();""!==t?(k.isProductRefreshTriggeredByScroll&&(t=t.slice(0,t.indexOf("&pageNumber"))),b.address.value(t)):f||b.address.value("noFilterApplied")}k.hideProductPanelAjaxBusy(),A.waitForAjaxRequest=!1;var r=b(".nopAjaxFilters7Spikes").attr("data-scrollToElement");if(!k.isProductRefreshTriggeredByScroll&&null!=r&&"true"===r.toLowerCase()&&!u){var i=b(".nopAjaxFilters7Spikes").attr("data-scrollToElementSelector").split(","),a=".product-selectors";if(null!=i&&0<i.length){for(var o=0;o<i.length;o++)if(0<b(i[o].trim()).length){a=i[o].trim();break}if(0<b(a).length){var l=parseInt(b(".nopAjaxFilters7Spikes").attr("data-scrolltoelementadditionaloffset"))||0,s=b(a).offset().top+l;b("html, body").animate({scrollTop:s},"slow"),b("html, body").animate({scrollTop:s-1},"fast")}}}b(".productPanelAjaxBusy").length<1&&k.addProductPanelAjaxBusyToPage();var n=b(e).filter("#totalCount").val().toString();if(b.event.trigger({type:"nopAjaxFiltersFiltrationCompleteEvent",totalCount:n,isTriggeredByInfiniteScroll:k.isProductRefreshTriggeredByScroll}),"true"===b(".nopAjaxFilters7Spikes").attr("data-showSelectedFiltersPanel").toLowerCase()&&function(){var e=b(".nopAjaxFilters7Spikes").first(),t=b(".block.filter-block.selected-options").first(),r=e.attr("data-selectedOptionsTargetSelector")||".nopAjaxFilters7Spikes .filtersPanel:first",o="usedropdowns"===e.attr("data-filtersuimode");switch(e.attr("data-selectedOptionsTargetAction")){case"insertBefore":t.insertBefore(r);break;case"insertAfter":t.insertAfter(r);break;case"appendTo":t.appendTo(r);break;
1default:t.prependTo(r)}var d=t.find(".selected-options-list");d.empty(),t.find("a.toggleControl").off("click").on("click",function(){j(b(this))});var i=e.find(".priceRangeFilterPanel7Spikes");if(0<i.length){var a=i.find("#slider"),l=a.attr("data-sliderminvalue"),s=a.attr("data-slidermaxvalue"),n=b(".priceRangeCurrentPricesPanel .currentMinPrice").text(),c=b(".priceRangeCurrentPricesPanel .currentMaxPrice").text();if(0<a.length&&(l!==n||s!==c)){var p=b('<span class="option">'+n+" - "+c+"</span>");p.anchorCustomClick(i.find(".clearPriceRangeFilter"));var u=i.find(".toggleControl").text(),f=b('<li class="price-range-selected-ranges"><label>'+u+":</label></li>");f.append(p),d.append(f)}}var h=[],g=[];e.find(".filter-block").each(function(){var e=b(this);e.find("div.filtersGroupPanel.has-specification-slider").length?h.push(e):g.push(e)}),b.each(h,function(){var e=this.find(".specification-attribute-slider"),t=e.slider("option","min"),r=e.slider("option","max"),i=this.find(".specification-current-value-panel"),a=parseFloat(i.find(".current-min-value").text()),o=parseFloat(i.find(".current-max-value").text());if(t!==a||r!==o){var l=b('<span class="option">'+a+" - "+o+"</span>");l.anchorCustomClick(this.find(".clearFilterOptions"));var s=this.find(".toggleControl").text(),n=b('<li class="value-range-selected-ranges"><label>'+s+":</label></li>");n.append(l),d.append(n)}}),b.each(g,function(){var i=!1,a=b("<li><label>"+this.children(".title").children("a.toggleControl").first().text()+":</label></li>");this.find("[data-option-ids][selected], [data-option-ids][checked]").each(function(){var e=b(this),t=e.text()||e.next("label").text(),r=b('<span class="option">'+t+"</span>");i=!0,o?r.anchorCustomClick(e.closest(".filtersGroupPanel").siblings(".title").children(".clearFilterOptions")):r.anchorCustomClick(e),a.append(r)}),i&&d.append(a)}),0<d.children().length?t.show():(t.hide(),e.prepend(t))}(),"true"!==b(".nopAjaxFilters7Spikes").attr("data-enableinfinitescroll").toLowerCase()&&"false"!==b(".nopAjaxFilters7Spikes").attr("data-numberofreturnedproductsselector").toLowerCase()){var d=x;0<b(".page-body .product-grid:not(.featured-product-grid, .nop-jcarousel)").length?d=b(".page-body .product-grid:not(.featured-product-grid, .nop-jcarousel) .item-box").length:0<b(".page-body .product-list").length&&(d=b(".page-body .product-list .item-box").length),function(e,t){if(null!=e||(e=parseInt(b(".productsPageSizeDropDown .toplevel p").text()),!isNaN(e))){(t=parseInt(t))<e&&(e=t);var r=b(".nopAjaxFilters7Spikes").attr("data-numberofreturnedproductsselector")||".product-viewmode",i=b(r);b(".returned-products-filters-panel").children(".allProductsReturned").text(t);var a=b(".number-of-returned-products.sample-element").first();b(".number-of-returned-products").not(a).remove();var o=a.clone();o.removeClass("sample-element"),o.children(".productsPerPage").text(e),o.children(".allProductsReturned").text(t),0===i.length?b(".product-selectors").append(o):i.after(o),o.css("display","").addClass("active")}}(d,n)}}else A.waitForAjaxRequest=!1}).fail(function(){k.hideProductPanelAjaxBusy(),alert("Loading the page failed."),A.waitForAjaxRequest=!1}).always(function(){k.isProductRefreshTriggeredByScroll=!1,C()&&b.address.history(!1)})}},A.prototype.getSpecificationFiltersModel=function(){return this.buildSpecificationFiltersModel(this.categoryId,this.manufacturerId,this.vendorId,this.selectedFilterGroupElement)},A.prototype.getAttributeFiltersModel=function(){return this.buildAttributeFiltersModel(this.categoryId,this.manufacturerId,this.vendorId,this.selectedFilterGroupElement)},A.prototype.getManufacturerFiltersModel=function(){return this.buildManufacturerFiltersModel(this.categoryId,this.selectedFilterGroupElement)},A.prototype.getVendorFiltersModel=function(){return this.buildVendorFiltersModel(this.categoryId,this.selectedFilterGroupElement)},A.prototype.getOnSaleFiltersModel=function(){return this.buildOnSaleFiltersModel(this.categoryId,this.manufacturerId,this.vendorId,this.selectedFilterGroupElement)},A.prototype.getPriceRangeFilterModel=function(){var e=null;return null!=this.buildPriceRangeFilterModel&&(e=this.buildPriceRangeFilterModel(this.categoryId,this.manufacturerId,this.vendorId,this.selectedFilterGroupElement)),e},A.prototype.getInStockFiltersModel=function(){var e=null;return null!=this.buildInStockFiltersModel&&(e=this.buildInStockFiltersModel(this.categoryId,this.manufacturerId,this.vendorId,this.selectedFilterGroupElement)),e},A.prototype.refreshProducts=function(e,t,r,i){var a,o=M()||b(".nopAj
1axFilters7Spikes").attr("data-defaultViewMode"),l=this.getProductsPanelSelector(o),s=b("."+h);if(null!=b(e).filter(l).html()){if(1<s.length&&(s=s.last()),t){var n=b(e).filter(l),d=n.find(".item-box");if(n.hasClass("product-grid")?s.hasClass("product-list")&&s.removeClass("product-list").addClass("product-grid"):s.hasClass("product-grid")&&s.removeClass("product-grid").addClass("product-list"),r)for(var c=b(".dummy-box").filter(function(){return b(this).attr("data-pageNumber")===i}),p=d.filter(".item-box"),u=0;u<p.length;u++){var f=b(p.get(u));b(c.get(u)).replaceWith(f)}else b(".infinite-scroll-loader").hide(),s.find(".item-box").last().after(d)}else s.replaceWith(b(e).filter(l));a=!0}else this.hideProductPanelAjaxBusy(),0<b("#nopAjaxFiltersNoProductsDialog").length||s.prepend(b(e).filter("#nopAjaxFiltersNoProductsDialog")),this.showNoProductsModalDialog(),a=!1;return a},A.prototype.refreshProductsPager=function(e){var t=this.getPagerPanelSelector(),r=b(t);if(void 0!==e){var i=b(e).filter(t);if(0===r.length&&0<i.length){var a=b(".nopAjaxFilters7Spikes").attr("data-pagerpanelintegrationselector")||".product-grid, .product-list",o=b(a);0<o.length&&(o.hasClass("product-grid")||o.hasClass("product-list"))&&(o=o.not(".featured-product-grid, .nop-jcarousel").last()),0===o.length&&(o=c()),o.after('<div class="pager"></div>'),r=b(t)}"true"===b(".nopAjaxFilters7Spikes").attr("data-enableinfinitescroll").toLowerCase()&&r.hide(),r.html(i.html()),0<r.length&&0===i.length&&r.remove()}this.setPagerLinks(r)},A.prototype.setPagerLinks=function(e){var i=this;e.find("a").each(function(){var e=b(this).attr("href"),t="";if(null!=e){e=e.toLowerCase();var r=/pagenumber=(\d+)/.exec(e);null!=r&&1<r.length&&(t=r[1])}b(this).removeAttr("href"),b(this).attr("data-pageNumber",t),b(this).click({filtersManager:i},d)})},A.prototype.getProductsPanelSelector=function(e){return"list"===e?b(".nopAjaxFilters7Spikes").attr("data-ProductsListPanelSelector")||".product-list":b(".nopAjaxFilters7Spikes").attr("data-productsGridPanelSelector")||".product-grid"}
1,A.prototype.getPagerPanelSelector=function(){return b(".nopAjaxFilters7Spikes").attr("data-pagerPanelSelector")||".pager"},A.prototype.clearFilterOptions=function(e){var t=b(e.currentTarget).parent().siblings(".filtersGroupPanel");e.data.filtersManager.clearFilterOptionsForFiltersGroupElement(t)},A.prototype.clearFilterOptionsForFiltersGroupElement=function(e){e.find("[data-option-ids]").removeAttr("checked selected");var t=e.find(".select-wrap");0<t.length&&t.find(".select-inner").text(t.find("select option:selected").text()),e.hasClass("has-specification-slider")&&this.clearSliderSpecificationValues(e),this.requestProductsForSelectedFilters(e,void 0)},A.prototype.clearSliderSpecificationValues=function(e){var t=e.find(".specification-attribute-slider"),r=t.slider("option","min"),i=t.slider("option","max");t.slider("option",{values:[r,i]});var a=e.find(".specification-current-value-panel");a.find(".current-min-value").html(r),a.find(".current-max-value").html(i)},A.prototype.selectAllFilterDropDownOption=function(e){var t=b(e.currentTarget).closest(".filtersGroupPanel");this.clearFilterOptionsForFiltersGroupElement(t)},A.prototype.clearAllFilterOptions=function(e){var t=e.data.filtersManager;b(".nopAjaxFilters7Spikes .filtersGroupPanel").find("[data-option-ids]").removeAttr("checked selected"),b(".nopAjaxFilters7Spikes .select-wrap").each(function(){var e=b(this);e.find(".select-inner").text(e.find("select option:selected").text())}),b(".nopAjaxFilters7Spikes .filtersGroupPanel.has-specification-slider").each(function(){var e=b(this);t.clearSliderSpecificationValues(e)}),t.clearPriceRangeFilterControl(),t.requestProductsForSelectedFilters()},A.prototype.refreshClearButtons=function(){var i=!1;b(".nopAjaxFilters7Spikes .filtersGroupPanel").each(function(){var e=b(this),t=!1;e.find("[data-option-ids]").each(function(){var e=b(this);if(e.is(":selected")||e.is(":checked"))return!(t=!0)});var r=e.parent().find("a.clearFilterOptions");t?(r.show(),i=!0):r.hide()});var e=b(".nopAjaxFilters7Spikes .filtersTitlePanel a.clearFilterOptionsAll");if(i)e.show();else{var t=!1;null!=this.determineIfPriceRangeHasBeenSelected&&(t=this.determineIfPriceRangeHasBeenSelected()),t?e.show():e.hide()}},A.prototype.expandFilterPanelsWithSelectedOptions=function(){b(".clearPriceRangeFilter, .clearFilterOptions").filter(":visible").siblings("a.toggleControl.closed").click()},A.prototype.changeViewModeOrderByAndPageSize=function(e){var t=b(e).filter("#currentPageSizeJson").val(),r=b.parseJSON(t),i=b(e).filter("#currentOrderByJson").val(),a=b.parseJSON(i),o=b(e).filter("#currentViewModeJson").val(),l=b.parseJSON(o);s(".sortOptionsDropDown",a),s(".viewOptionsDropDown",l),s(".productsPageSizeDropDown",r),b(n()).removeClass("selected").filter("."+l).addClass("selected")},A.prototype.setPriceRangeValues=function(e){var t=b(e).filter("#priceRangeFromJson").val().toString(),r=t?b.parseJSON(t):null,i=b(e).filter("#priceRangeToJson").val().toString(),a=i?b.parseJSON(i):null;null!=this.SetSliderValues&&this.SetSliderValues(r,a)},A.prototype.refreshFilters=function(e){var t=this,r=b(e).filter("#specificationFilterModel7SpikesJson").val().toString(),i=r?b.parseJSON(r):null;t.refreshSpecificationFilters(i,t.filtersUIMode);var a=b(e).filter("#attributeFilterModel7SpikesJson").val().toString(),o=a?b.parseJSON(a):null;t.refreshAttributeFilters(o,t.filtersUIMode);var l=b(e).filter("#manufacturerFilterModel7SpikesJson").val().toString(),s=l?b.parseJSON(l):null;t.refreshManufacturerFilters(s,t.filtersUIMode);var n=b(e).filter("#vendorFilterModel7SpikesJson").val().toString(),d=n?b.parseJSON(n):null;t.refreshVendorFilters(d,t.filtersUIMode);var c=b(e).filter("#onSaleFilterModel7SpikesJson").val().toString(),p=c?b.parseJSON(c):null;t.refreshOnSaleFilters(p,t.filtersUIMode);var u=b(e).filter("#inStockFilterModel7SpikesJson").val().toString(),f=u?b.parseJSON(u):null;t.refreshInStockFilters(f,t.filtersUIMode),b(".nopAjaxFilters7Spikes .filtersGroupPanel").each(function(){var e=b(this),t=!0;e.find("[data-option-ids]").each(function(){if(!b(this).is(":disabled"))return t=!1}),t?e.find("select").attr("disabled","disabled"):e.find("select").removeAttr("disabled"),e.toggleClass("disabled",t)})},A.prototype.executeReverseInfiniteScroll=function(e){(new A).requestProductsForSelectedFilters(void 0,void 0,e,void 0,void 0,!0,!0,void 0,void 0,!0)},A.prototype.clearPriceRangeFilterControl=function(){},A.prototype.refreshManufacturerFilters=function(){},A.prototype.refreshVendorFilters=function(){},A.prototype.refreshSpecificationFilters=function(){},A.prototype.refreshAttributeFilters=function(){},A.prototype.refreshOnSaleFilters=function(){},A.prototype.refreshInStockFilters=function(){},A.prototype.buildManufacturerFiltersModel=function(){},A.prototype.buildVendorFiltersModel=function(){},A.prototype.buildSpecificationFiltersModel=function(){},A.prototype.buildAttributeFiltersModel=function(){},A.prototype.buildOnSaleFiltersModel=function(){},A.prototype.addProductPanelAjaxBusyToPage=function(){var e=c();e.addClass("ajaxBusyPanelParent "+h),e.css("position","relative"),e.append(b('<div class="productPanelAjaxBusy"></div><div class="clear"></div>')),b(".productPanelAjaxBusy").hide(),u()},A.prototype.adjustMinMaxValuesIfInRTL=function(e,t,r,i){var a={minValue:r,maxValue:i};if(this.isRtl){var o=parseFloat((e-r).toFixed(2)),l=parseFloat((t-i).toFixed(2));a.minValue=parseFloat((e+l).toFixed(2)),a.maxValue=parseFloat((t+o).toFixed(2))}return a},A.prototype.setSpecificationFilterSelection=function(e,t){this.selectedFilterGroupElement=e,this.selectedFilterOptionElement=t},A.prototype.showNoProductsModalDialog=function(e){var t=b(e=e||"#nopAjaxFiltersNoProductsDialog"),r=t.data("kendoWindow"),i=t.attr("title")||"NO RESULTS FOUND";r||(r=t.kendoWindow({draggable:!1,resizable:!1,width:"300px",height:"100px",title:i,modal:!0,actions:["Close"],animation:!1,visible:!1}).data("kendoWindow")).wrapper.addClass("ajaxFilters"),r.center(),r.open(),b(document).on("click",".k-overlay",function(){r.close()})},A.prototype.showProductPanelAjaxBusy=function(){b(".productPanelAjaxBusy").show()},A.prototype.hideProductPanelAjaxBusy=function(){b(".productPanelAjaxBusy").hide()},A.getFilterItemStateBasedOnAttributes=function(e){var t=e.is(":selected")||e.is(":checked"),r=e.is(":disabled");return t&&r?"CheckedDisabled":t&&!r?"Checked":!t&&r?"Disabled":"Unchecked"},A.waitForAjaxRequest=!1,A.addStateClassToCheckBoxParent=function(e,t){var r=e.parent("li");0!==r.length&&(t!==a&&t!==o||(r.addClass("checked"),t===a&&r.removeClass("disabled")),t!==o&&t!==l||r.addClass("disabled"),t===i&&r.removeClass("checked disabled"))},A.addStateAttributesToOption=function(e,t,r){t!==a&&t!==o||(r?e.attr("selected","selected").trigger("change"):e.attr("checked","checked"),t===a&&e.removeAttr("disabled")),t!==o&&t!==l||e.attr("disabled","disabled"),t===i&&e.removeAttr("checked selected disabled")},A.addStateClassAndAttributesToOption=function(e,t,r){var i=!1;return t===a&&(i=!0),r||A.addStateClassToCheckBoxParent(e,t),A.addStateAttributesToOption(e,t,r),i},b(document).ready(function(){var e=new A;
1e.addProductPanelAjaxBusyToPage(),b(".nopAjaxFilters7Spikes .block .title a.toggleControl").off("click").on("click",function(){j(b(this))}),b(".nopAjaxFilters7Spikes .block .title a.clearFilterOptions").each(function(){b(this).click({filtersManager:e},e.clearFilterOptions),b(this).hide()}),b(".nopAjaxFilters7Spikes .filtersDropDown a.allFilterDropDownOptions").each(function(){b(this).click({filtersManager:e},e.selectAllFilterDropDownOption)});var t=b(".nopAjaxFilters7Spikes .filtersTitlePanel a.clearFilterOptionsAll");if(t.click({filtersManager:e},e.clearAllFilterOptions),t.hide(),e.refreshProductsPager(),e.filtersUIMode===e.filtersUIModeEnum.useDropDowns){var r=b(".filtersDropDownPanel.filtersGroupPanel"),i=r.length+100;r.each(function(){b(this).css("z-index",i--)})}"true"===b(".nopAjaxFilters7Spikes").attr("data-enableinfinitescroll").toLowerCase()&&function(){u(),b(".product-page-size, "+b(".nopAjaxFilters7Spikes").attr("data-pagerpanelselector")).hide(),b(".product-selectors").addClass("infinite-scroll-enabled");var e=function(){b(window).off("scroll.filtersinfinitescroll resize.filtersinfinitescroll orientationchange.filtersinfinitescroll").on("scroll.filtersinfinitescroll resize.filtersinfinitescroll orientationchange.filtersinfinitescroll",function(){p()}),p()};b(document).on("nopAjaxFiltersFiltrationCompleteEvent",e),window.location.hash&&"#/noFilterApplied"!==window.location.hash||e()}(),b(".filtersGroupSearchInput").on("keyup",function(){var n=b(this).val().toLowerCase(),e=b(this).parent().next(".checkbox-list").children();""===n?e.each(function(){var e=b(this),t=e.find("label"),r=t.data("originaltext");t.html(r),e.show()}):e.each(function(){var e=b(this),t=e.find("label"),r=t.data("originaltext"),i=r.toLowerCase().indexOf(n);if(-1!==i){var a=r.substring(i,i+n.length);if(0===i){var o=r.substring(a.length);t.html("<strong>"+a+"</strong>"+o)}else if(0<i){var l=r.slice(0,i),s=r.slice(i+n.length);t.html(l+"<strong>"+a+"</strong>"+s)}e.show()}else e.hide()})})}),b(window).unload(function(){C()&&b.address.history(!0)}),b(document).ready(function(){v(),C()&&b.address.history(!1)})}(jQuery,sevenSpikesCore,FiltersManager);

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.