PageSourceSearch

https://r2.drom.ru/js/bundles/cars-list-searchable.bd50c05607bd573c.1.chunk.js

js drom.ru collected 2026-09-24 17:59:39 UTC 11,188 bytes, 11 lines download raw bytes

1try{!function(){var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="8a3191c3-3071-4a7d-ad57-c8b9c43ccb99",e._sentryDebugIdIdentifier="sentry-dbid-8a3191c3-3071-4a7d-ad57-c8b9c43ccb99")}()}catch(e){}try{("u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{}).SENTRY_RELEASE={id:"bcdbdce2870cd45d56228836b05c7d4fefac18d5"}}catch(e){}"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[83501],{144882:function(e,t,a){a.d(t,{V:function(){return"cib25a0"}})},726130:function(e,t,a){a.r(t),a.d(t,{default:function(){return I}});var s=a(898040),n=a(835076),i=a(365660),r=a(710809),l=a(667823),d=a(564683),o=a(552935),c=a(693094),u=a(520217),h=a.n(u),f=a(110864),m=a(546664),g=a(39843),x=a(712865),p=a(863144),A=a(36454),j=a(317887),w=a(802580),v=a(923173),b=a(298554),C=a(607330),_=a(906324),y=a(499599);let N=(0,c.A)(g.A,{target:"e2p11g00"})(x.A,"{top:30px;}",_.Hw,"{",x.A,"{top:24px;}}"),E=e=>{let{allItems:t}=e,[a,i]=(0,n.useState)(""),[r,l]=(0,n.useState)(t),d=(0,w.A)(),c=(0,n.useMemo)(()=>h()(e=>{let a=e.trim().toLowerCase(),s=(0,b.A)(a),n=(0,C.A)(a);l(t.filter(e=>{let t=e.name.toLowerCase();return t.startsWith(a)||t.startsWith(s)||t.startsWith(n)}))},100),[t]),u=(0,n.useMemo)(()=>e=>{let{index:t,style:a}=e,n=r[t];return(0,s.jsxs)(A.A,{theme:"black",className:"_15ychjk0",href:n.url,style:a,children:[(0,s.jsx)(j.A,{bold:n.bold,size:"16px",children:n.name})," ",n.counter&&(0,s.jsx)(j.A,{colorValue:y.T.textSecondary,children:n.counter})]})},[r]),g=(0,n.useMemo)(()=>d?window.innerHeight-156:340,[d]),x=(0,n.useCallback)(e=>{i(e),c(e)},[c]);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{children:[(0,s.jsx)(p.A,{bottomSpacing:"medium",level:2,children:"Все марки"}),(0,s.jsx)(f.A,{bottom:d?"15px":"medium",children:(0,s.jsx)(m.A,{inputSize:d?"m":"l",dark:!0,value:a,onChange:x,placeholder:"Поиск марки..."})})]}),(0,s.jsx)("div",{style:{height:`${g}px`},children:r.length>0?(0,s.jsx)(o.Y1,{height:g,itemSize:42,itemCount:r.length,width:"100%",children:u}):(0,s.jsx)("div",{className:"_15ychjk1",children:"К сожалению, по вашему запросу ничего найти не удалось"})})]})};var k=e=>{let{allItems:t,renderList:a}=e,i=(0,w.A)(),{state:r,setToTrue:l,setToFalse:d}=(0,v.A)(!1),o=(0,n.useMemo)(()=>a(l),[l,a]);return(0,s.jsxs)(s.Fragment,{children:[o,(0,s.jsx)(N,{isOpen:r,onClose:d,mobileSlide:i,stickAtBottom:i,children:(0,s.jsx)(E,{allItems:t})})]})},I=(0,n.memo)(e=>{let{topItems:t,allItems:a,className:n,withCounters:o,stats:c,renderItem:u,icons:h,muteWithZeroCounter:f,desktopColumns:m,mobileColumns:g,shouldForceOneColumnInMobile:x}=e,{withExpandBlock:p,topChunks:A,allChunks:j}=(0,d.A)({topItems:t,allItems:a,mobileColumns:g,desktopColumns:m}),w=A||j,v=(w===A?t:a).some(e=>"id"in e);return(0,s.jsx)(k,{allItems:a,renderList:e=>(0,s.jsx)(r.A,{shouldForceOneColumnInMobile:x,itemsExpanded:!1,columns:w,className:n,withCounters:o,stats:c,renderItem:u,icons:h,listHasIds:v,muteWithZeroCounter:f,expander:p&&(0,s.jsx)(i.A,{withCounters:o,isExpanded:!1,isPending:!1,onClick:e,stats:c,withArrow:!1}),children:(0,s.jsx)(l.A,{topItems:t,allItems:a})})})})},710809:function(e,t,a){a.d(t,{A:function(){return w}});var s=a(898040),n=a(835076),i=a(287046),r=a.n(i),l=a(553172),d=a(440817),o=a(35499),c=a(584533),u=(0,c.c)({defaultClassName:"_1ggdsc70",variantClassNames:{withCountersAndExpanded:{true:"_1ggdsc71"},shouldForceOneColumnInMobile:{true:"_1ggdsc72"}},defaultVariants:{},compoundVariants:[]}),h=a(499599),f=a(317887),m=a(842815),g=(0,c.c)({defaultClassName:"frg44i1",variantClassNames:{withCounters:{true:"frg44i2"},isExpanded:{false:"frg44i3"},isPopular:{false:"frg44i4"}},defaultVariants:{},compoundVariants:[]}),x=(0,c.c)({defaultClassName:"frg44i7",variantClassNames:{hideInLightTheme:{true:"frg44i8"},hideInDarkTheme:{true:"frg44i9"},withCounters:{true:"frg44ia"},isExpanded:{true:"frg44ib",false:"frg44ic"}},defaultVariants:{},compoundVariants:[[{withCounters:!0,isExpanded:!1},"frg44id"]]}),p=e=>{let{isExpanded:t,withCounters:a,hideInDarkTheme:n,hideInLightTheme:i,lazy:r,src:l}=e;return(0,s.jsx)("img",{alt:"",className:x({isExpanded:t,withCounters:a,hideInDarkTheme:n,hideInLightTheme:i}),loading:r?"lazy":void 0,src:l})},A=e=>{let{isExpanded:t,withCounters:a,isOtherAuto:n,logos:i}=e,r=!!i?.dark;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(p,{withCounters:a,lazy:!t,isExpanded:t,src:n?d.u:i?.light||d.u,hideInDarkTheme:r}),r&&(0,s.jsx)(p,{withCounters:a,lazy:!t,isExpanded:t,src:i.dark,hideInLightTheme:r})]})},j=e=>{let{isOtherAuto:t,url:a,logoIcons:n,isPopular:i,name:r,isExpanded:l,counter:d=0,withCounters:o,listHasIds:c,isSpec:u,muteWithZeroCounter:x,stats:p}=e,{section:j,name:w,trackView:v,trackClick:b,payload:C}=p??{};return(0,s.jsxs)("div",{className:"frg44i0",children:[c&&(0,s.jsx)(A,{isExpanded:l,withCounters:o,isOtherAuto:t,logos:n}),(0,s.jsxs)("div",{className:g({withCounters:o,isExpanded:l,isPopular:i}),children:[(0,s.jsx)(f.A,{"data-ftid":"component_cars-list-item_name",colorValue:o&&x&&0===d?h.T.textSecondary:void 0,bold:i,children:r}),u?(0,s.jsx)("div",{className:"frg44ie"}):o&&d>0&&(0,s.jsxs)("span",{className:"frg44i5","data-ftid":"component_cars-list-item_counter",children:[" ",d]})]}),(0,s.jsx)("a",{className:"frg44i6","data-ftid":"component_cars-list-item_hidden-link",href:a,...p&&{...j&&{"data-ga-stats-section":j},"data-ga-stats-engine":"va",...(0,m.A)({name:w??"",trackClick:b??!0,trackView:v,payload:C})},children:r})]})},w=(0,n.forwardRef)((e,t)=>{let{className:a,withCounters:i,stats:c,renderItem:h,columns:f,itemsExpanded:m,icons:g,listHasIds:x,expander:A,muteWithZeroCounter:w,shouldForceOneColumnInMobile:v,children:b}=e;return(0,s.jsxs)("div",{ref:t,className:r()(u({withCountersAndExpanded:i&&m,shouldForceOneColumnInMobile:v}),a),"data-ftid":"component_cars-list",...c&&{...c.section&&{"data-ga-stats-section":c.section},"data-ga-stats-engine":"va","data-ga-stats-track-view":!0,"data-ga-stats-name":c.name},children:[f.map((e,t)=>(0,s.jsxs)("div",{className:"_1ggdsc73",children:[e.map((e,t)=>{let a=e.id&&g&&g.get(e.id),{stats:r}=e;return(0,s.jsx)(n.Fragment,{children:h?h({...e,stats:r??c}):(0,s.jsx)(j,{isPopular:e.bold,url:e.url,name:e.name,isOtherAuto:e.id===l.A.OTHER_AUTO,withCounters:i,counter:e.counter,logoIcons:a,isSpec:e.isSpec,listHasIds:x,isExpanded:m,muteWithZeroCounter:w,stats:r??c})},m?`${t}-itemExpanded`:t)}),A&&t===f.length-1&&(0,s.jsxs)(o.Ay,{align:"left",children:[x&&(0,s.jsx)(p,{withCounters:i,isExpanded:m,src:d.u}),A]})]},m?`${t}-itemExpanded`:t)),b]})})},365660:function(e,t,a){a.d(t,{A:function(){return o}});var s=a(898040),n=a(36454),i=a(14463),r=a(584533),l=(0,r.c)({defaultClassName:"jpla0f1",variantClassNames:{isExpanded:{true:"jpla0f2"}},defaultVariants:{},compoundVariants:[]}),d=(0,r.c)({defaultClassName:"jpla0f3",variantClassNames:{withCounters:{true:"jpla0f4"}},defaultVariants:{},compoundVariants:[]}),o=e=>{let{isExpanded:t,isPending:a,withCounters:r,onClick:o,stats:c,withArrow:u}=e;return(0,s.jsx)("div",{className:"jpla0f5",children:(0,s.jsxs)(n.A,{purpose:"button",className:"jpla0f6","data-ftid":"component_cars-list_expand-control",onClick:o,...c&&{...c?.section&&{"data-ga-stats-section":c.section},"data-ga-stats-engine":"va","data-ga-stats-track-click":!0,"data-ga-stats-track-view":!0,"data-ga-stats-name":t?c.minimize:c.expand},children:[(0,s.jsx)("div",{className:d({withCounters:r}),children:t?"Свернуть":"Показать все"}),u&&(0,s.jsx)("div",{className:l({isExpanded:t})}),a&&(0,s.jsx)("div",{className:"jpla0f0",children:(0,s.jsx)(i.A,{size:8})})]})})}},667823:function(e,t,a){var s=a(898040);t.A=(0,a(835076).memo)(e=>{let{topItems:t,allItems:a}=e,n=[];if(t){let e={};for(let a=0;a<t.length;++a)t[a].noscriptHide||(e[t[a].url]=t[a]);for(let t=0;t<a.length;++t)e[a[t].url]||a[t].noscriptHide||n.push(a[t])}return(0,s.jsx)(s.Fragment,{children:n.length>0&&(0,s.jsx)("noscript",{children:n.map((e,t)=>(0,s.jsx)("a",{href:e.url,children:e.name},`${t}-${e.url}`))})})})},564683:function(e,t,a){var s=a(139921),n=a(802580);t.A=e=>{let{desktopColumns:t=4,mobileColumns:a=2,topItems:i,allItems:r}=e,l=(0,n.A)()?a:t,d=null!=i&&r.length>i.length,o=i?(0,s.A)(i,l,+(i.length%l==0)):null,c=(0,s.A)(r,l,o&&r.length%l==0?1:0);return{topChunks:o,allChunks:c,withExpandBlock:d}}},35499:function(e,t,a){var s=a(953599),n=a(693094);let i={left:"flex-start",center:"center",right:"flex-end",between:"space-between"},r={start:"flex-start",center:"center",end:"flex-end",base:"baseline"},l=(0,s.AH)("& > *{flex:1 0 0px;min-width:0;}");t.Ay=(0,n.A)("div",{target:"e1erliz90"})(e=>{let{inline:t,align:a,verticalAlign:n,wrapItems:d,direction:o,fillHorizontally:c,fillVertically:u,equalCols:h,grow:f}=e;return(0,s.AH)`
2        display: ${t?"inline-flex":"flex"};
3        justify-content: ${i[a||"between"]};
4        ${n&&`align-items: ${r[n]};`}
5        ${d&&"flex-wrap: wrap;"}
6        ${o&&`flex-direction: ${o};`}
7        ${c&&"width: 100%;"}
8        ${u&&"height: 100%;"}
9        ${h&&l}
10        ${f&&`flex-grow: ${f};`}
11    `})},396624:function(e,t,a){var s=a(898040),n=a(693094),i=a(14463);let r=(0,n.A)("div",{target:"eh830wp0"})("text-align:center;",e=>{let{asInlineBlock:t}=e;return t&&"display: inline-block;"},"    vertical-align:middle;font-size:0;");t.A=e=>{let{asInlineBlock:t=!1,className:a,size:n=20,...l}=e;return(0,s.jsx)(r,{asInlineBlock:t,className:a,children:(0,s.jsx)(i.A,{size:n,...l})})},a.d(t,{},{r:r})},379827:function(e,t){t.A=new Map([["q","й"],["w","ц"],["e","у"],["r","к"],["t","е"],["y","н"],["u","г"],["i","ш"],["o","щ"],["p","з"],["[","х"],["{","Х"],["]","ъ"],["}","Ъ"],["\\","ё"],["|","Ё"],["`","ё"],["~","Ё"],["a","ф"],["s","ы"],["d","в"],["f","а"],["g","п"],["h","р"],["j","о"],["k","л"],["l","д"],[";","ж"],[":","Ж"],["'","э"],["z","я"],["x","ч"],["c","с"],["v","м"],["b","и"],["n","т"],["m","ь"],[",","б"],["<","Б"],[".","ю"],[">","Ю"]])},480411:function(e,t){t.A=new Map([["й","q"],["ц","w"],["у","e"],["к","r"],["е","t"],["н","y"],["г","u"],["ш","i"],["щ","o"],["з","p"],["х","["],["Х","{"],["ъ","]"],["Ъ","}
11"],["ф","a"],["ы","s"],["в","d"],["а","f"],["п","g"],["р","h"],["о","j"],["л","k"],["д","l"],["ж",";"],["Ж",":"],["э","'"],["я","z"],["ч","x"],["с","c"],["м","v"],["и","b"],["т","n"],["ь","m"],["б",","],["ю","."]])},139921:function(e,t){t.A=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,s=[],n=Math.ceil(e.length/t)+a;for(let a=0;a<t;a++)s[a]=e.slice(a*n,a*n+n);return s.filter(e=>e.length)}},298554:function(e,t,a){var s=a(379827),n=a(463340);t.A=e=>(0,n.A)(s.A,e)},607330:function(e,t,a){var s=a(480411),n=a(463340);t.A=e=>(0,n.A)(s.A,e)},463340:function(e,t){t.A=(e,t)=>{let a=Array.from(t);for(let t=0;t<a.length;++t)e.has(a[t])?a[t]=e.get(a[t]):e.has(a[t].toLowerCase())&&(a[t]=e.get(a[t].toLowerCase()).toUpperCase());return a.join("")}}}]);

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.