PageSourceSearch

https://www.peruzzitoyota.com/resources/searchByFilterChunk.js?v=2…&h=3abc49e92b241aac74f4

js peruzzitoyota.com collected 2026-09-29 08:47:14 UTC 2,447 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunksite_client_side=self.webpackChunksite_client_side||[]).push([[332],{5416:(e,t,s)=>{s.r(t),s.d(t,{default:()=>l});class l{constructor(){this._toggleIsVisible=!1,this.initialize=()=>{const e=document.getElementById("searchByFilterToggle");this._toggleIsVisible=!(null==e?void 0:e.classList.contains("collapsed")),null==e||e.addEventListener("click",(()=>{this.toggleFilters(e)})),document.querySelectorAll(".search-by-filter__reset-button").forEach((e=>{e.addEventListener("click",(()=>{this.resetFilters(e)}))}));const t=document.getElementById("homepageSearchWidgetVehicleCount");t&&document.addEventListener("inventorywidget-update-inventory-count",(e=>{const s=e.detail;t.innerHTML=s}),!1);const s=document.getElementById("searchByFilterToggle"),l=document.getElementById("searchByFilterForm");this.processMoreLessFiltersToggle(s,l)},this.initialize()}toggleFilters(e){this._toggleIsVisible=!this._toggleIsVisible;const t=document.getElementById("searchByFilterToggleLabel"),s=document.getElementById("searchByFilterToggle"),l=document.getElementById("searchByFilterLess");t&&(t.innerText=this._toggleIsVisible?e.dataset.lessLabel:e.dataset.moreLabel),this._toggleIsVisible?(l.dataset.moreFiltersDisplayed="True",null==s||s.setAttribute("data-dotagging-element-state","active"),null==s||s.setAttribute("data-dotagging-event-action-result","check")):(l.dataset.moreFiltersDisplayed="False",null==s||s.setAttribute("data-dotagging-element-state","inactive"),null==s||s.setAttribute("data-dotagging-event-action-result","uncheck")),e.closest("inventory-widget").querySelector("#searchByFilterMore").querySelectorAll("select").forEach((e=>{this._toggleIsVisible||(e.selectedIndex=0),this._toggleIsVisible?e.removeAttribute("disabled"):e.setAttribute("disabled","true")}))}resetFilters(e){const t=e.closest("inventory-widget"),s=null==t?void 0:t.querySelector("form");null==s||s.reset()}processMoreLessFiltersToggle(e,t){const s="more-filters",l="less-filters";null==e||e.addEventListener("click",(i=>{e.classList.contains(l)?(e.classList.replace(l,s),e.setAttribute("aria-expanded","false"),null==t||t.classList.remove("search-by-filter--show-more")):(e.classList.replace(s,l),e.setAttribute("aria-expanded","true"),null==t||t.classList.add("search-by-filter--show-more"))}))}}}}]);
2//# sourceMappingURL=searchByFilterChunk.js.map?v=23.116.0+20260924.10.cf1de5f1f4d4b9684c3a72f57e64cdbc99f7122f&h=3abc49e92b241aac74f4

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.