1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9331],{89331:function(a,b,c){c.r(b),c.d(b,{default:function(){return v}});var d=c(26042),e=c(69396),f=c(828),g=c(85893),h=c(67294),i=c(25617),j=c(11163),k=c(282),l=c(8202),m=c(37702),n=c(18446),o=c.n(n),p=c(7297),q=c(19521);function r(){var a=(0,p.Z)(["\n margin-right: 10px;\n\n &.below-carlist {\n margin-right: 0;\n\n .limit-btn { \n width: auto;\n .btn-value {\n border-top: none;\n border-right: none;\n border-radius: 20%;\n padding: 3px 5px;\n }\n }\n }\n\n .limit-btn {\n text-transform: none;\n color: #000000;\n font-family: 'Roboto';\n font-size: 12px;\n font-weight: bold;\n letter-spacing: 0;\n line-height: 16px;\n outline: none!important;\n padding: 4px 10px;\n .btn-value {\n display: inline-block;\n border: 2px solid #000;\n padding: 3px 4px;\n border-radius: 3px;\n }\n .btn-text {\n margin-left: 7px;\n display: inline-block;\n }\n @media (max-width: 767px) {\n padding: 4px;\n min-width: unset;\n .MuiButton-startIcon {\n margin: 0;\n }\n }\n .btn-text {\n @media (max-width: 767px) {\n display: none;\n }\n }\n }\n .MuiMenuItem-root.menu-item {\n color: #191919;\n font-family: Roboto!important;\n font-size: 12px;\n letter-spacing: 0;\n line-height: 16px;\n }\n"]);return r=function(){return a},a}var s=q.ZP.div.withConfig({componentId:"sc-cab3716e-0"})(r()),t=c(5076),u=c(949),v=function(a){var b,c=(0,i.v9)(function(a){return a.carListPage}),n=c.jsonQuery,p=c.brandsList,q=c.modelsList,r=c.userSelection,v=(0,i.I0)(),w=(0,j.useRouter)(),x=a.below,y=(0,f.Z)(h.useState(null),2),z=y[0],A=y[1],B=[{value:{property:"limit",value:11},label:"10"},{value:{property:"limit",value:21},label:"20"},{value:{property:"limit",value:51},label:"50"},],C=function(a){window.scrollTo(0,0),v({type:t.SET_JSON_QUERY,payload:(0,e.Z)((0,d.Z)({},n),{offset:0,limit:a})}),w.push({pathname:(0,u.qv)(p,q,r,w).pathname,query:{limit:a,orderBy:JSON.stringify(n.orderBy),offset:0,conditions:JSON.stringify(null==n?void 0:n.conditions)}},{pathname:(0,u.qv)(p,q,r,w).pathnameAs,query:{limit:a,orderBy:JSON.stringify(n.orderBy),offset:0,conditions:JSON.stringify(null==n?void 0:n.conditions)}},{shallow:!0}).then(function(){})},D=function(a){A(a.currentTarget)},E=function(a){var b=arguments.length>1&& void 0!==arguments[1]&&arguments[1];A(null),b&&setTimeout(function(){return C(a)},0)};return(0,g.jsx)(s,{className:void 0!==x&&x?"below-carlist":"",children:(0,g.jsxs)("div",{className:"d-flex justify-content-end",children:[(0,g.jsxs)(k.Z,{className:"limit-btn","aria-haspopup":"true",onClick:D,children:[(0,g.jsx)("span",{className:"btn-value",children:null===(b=B.find(function(a){return a.value.value===n.limit}))|| void 0===b?void 0:b.label}),(0,g.jsx)("span",{className:"btn-text",children:"pro Seite"})]}),(0,g.jsx)(l.Z,{anchorEl:z,keepMounted:!0,open:Boolean(z),onClose:function(){return E(void 0,!1)},children:B.map(function(a){return(0,g.jsx)(m.Z,{className:"menu-item",selected:o()(Number(a.value.value),n.limit),onClick:function(){return E(Number(a.value.value),!0)},children:a.label},a.label)})})]})})}}}])
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.