PageSourceSearch

https://cartelauto.ru/build/common_build/4851.98c1598a.js

js cartelauto.ru collected 2026-10-07 13:11:59 UTC 1,014 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunktrux_common=self.webpackChunktrux_common||[]).push([[4851],{44851:function(t,s,e){e.r(s);e(98992),e(54520),e(3949);var a=e(52891);s.default=class extends a.xI{static targets=["item","tag","reset"];tagOn=null;connect(){this.hasResetTarget&&this.resetTarget.addEventListener("click",t=>this.reset()),this.tagTargets.forEach(t=>{t.addEventListener("click",t=>{const s=t.target.dataset.tag;this.tagOn!==s?(this.tagOn=s,this.handleItems(),t.target.classList.add("active"),this.hasResetTarget&&this.resetTarget.classList.remove("active"),this.tagTargets.filter(t=>t.dataset.tag!==this.tagOn).forEach(t=>t.classList.remove("active"))):this.reset()})})}handleItems(){this.itemTargets.forEach(t=>{const s=t.dataset.tags.split(",");!this.tagOn||s.includes(this.tagOn)?t.classList.remove("d-none"):t.classList.add("d-none")})}reset(){this.tagOn=null,this.handleItems(),this.hasResetTarget&&this.resetTarget.classList.add("active"),this.tagTargets.forEach(t=>t.classList.remove("active"))}}}}]);

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.