1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3738],{13810:function(e,b,a){"use strict";a.r(b),a.d(b,{"__N_SSG":function(){return y}});var f=a(27812),g=a(11163),h=a(25675),i=a(67294),j=a(2497),k=a(87226),l=a(86515),m=a(71762),n=a(83480),o=a(72238),p=a(65181),q=a(93818),r=a(40540),s=a(22258),c=a(78745),t=a.n(c),d=a(94174),u=a.n(d),v=a(37707),w=a(94423),x=a(85893),y=!0;b.default=function(C){var D=C.metaTags,O=(0,g.useRouter)(),P=(0,j.I0)(),c=D||{},E=c.title,F=c.description,G=c.h1,H=c.canonical,e=(0,j.v9)(function(a){return a.carFinderSlice}),a=e.filters,I=e.datas,Q=a.selectedBudget,R=a.selectedLeasing,J=a.selectedBrandsId,S=a.selectedCarBodyTypeId,T=a.selectedGearBoxId,K=a.selectedBrandsText,L=I.pagesData,b=L.carProductionTypes,y=(0,i.useState)(J),M=y[0],U=y[1],z=(0,i.useState)(K),V=z[0],W=z[1],A=(0,i.useState)(!1),d=A[0],X=A[1],B=(0,i.useState)(0),N=B[0],Y=B[1];(0,i.useEffect)(function(){(0,w._)(Q,R,[],S,0,T,Y)},[]),(0,i.useEffect)(function(){void 0===b&&O.push("/car-finder/")},[]),(0,i.useEffect)(function(){0!==M.length&&Z()},[M]);var Z=function(){0===M.length?X(!0):X(!1)},$=function(a){M.includes(a)?(U(M.filter(function(c){return c!==b.contents.find(function(b){return b.id===a}).id})),W(V.filter(function(c){return c!==b.contents.find(function(b){return b.id===a}).textEnglish}))):(U([].concat((0,f.Z)(M.filter(function(a){return a!==b.contents.find(function(a){return -1===a.id}).id})),[b.contents.find(function(b){return b.id===a}).id])),W([].concat((0,f.Z)(V.filter(function(a){return a!==b.contents.find(function(a){return -1===a.id}).textEnglish})),[b.contents.find(function(b){return b.id===a}).textEnglish])))},_=function(a){U([a]),W([b.contents.find(function(b){return b.id===a}).textEnglish]),P((0,v.rr)({type:"selectedBrandsId",message:[a]})),P((0,v.rr)({type:"selectedBrandsText",message:[b.contents.find(function(b){return b.id===a}).textEnglish]})),O.push("/car-finder/years")},aa=function(){Z(),0!==M.length&&(P((0,v.rr)({type:"selectedBrandsId",message:M})),P((0,v.rr)({type:"selectedBrandsText",message:V})),O.push("/car-finder/years/"))};return(0,x.jsxs)("div",{className:t()["main-container"],children:[(0,x.jsx)(r.Z,{tags:{title:E,description:F,canonical:"https://www.hamrah-mechanic.com"+H,h1:G}}),(0,x.jsx)(s.Z,{title:"Ø¯Ø³ØªÛØ§Ø± ÙÙØ´Ù
ÙØ¯ Ø§ÙØªØ®Ø§Ø¨ Ø®ÙØ¯Ø±Ù",backBtn:function(){return O.push("/car-finder/bodyTypes/")},className:t().header}),(0,x.jsx)("div",{className:"container",children:b&&(0,x.jsx)(k.Z,{layoutTitle:"Ø¯Ø³ØªÛØ§Ø± ÙÙØ´Ù
ÙØ¯ Ø§ÙØªØ®Ø§Ø¨ Ø®ÙØ¯Ø±Ù",backButtonFunction:function(){return O.push("/car-finder/bodyTypes/")},rightChild:(0,x.jsx)("div",{className:t().content,children:(0,x.jsxs)("div",{className:t().content__box,children:[(0,x.jsx)(l.Z,{currentStep:4,maxSteps:6,wizardHeader:b.step,wizardSubheader:b.nextStep,className:"mb-3"}),(0,x.jsx)("div",{className:t().content__desc,children:b.title}),(0,x.jsx)(n.Z,{error:d,message:d?"ØØ¯Ø§ÙÙ <b>ÛÚ© Ù
ÙØ±Ø¯ ÛØ§ Ø¨ÛØ´ØªØ±</b> را Ø§ÙØªØ®Ø§Ø¨ Ú©ÙÛØ¯.":"Ù
ÛâØªÙØ§ÙÛØ¯ <b>Ø¨ÛØ´ از ÛÚ© Ù
ÙØ±Ø¯</b> را Ø§ÙØªØ®Ø§Ø¨ Ú©ÙÛØ¯.",rightIcon:(0,x.jsx)(o.Z,{name:"warning",fontSize:16,color:d?u().color_youngBlood_5:u().color_ocean_6})}),(0,x.jsx)("div",{className:t()["check-boxes-container"],children:b.contents.map(function(a){return -1===a.id?(0,x.jsx)("div",{className:"".concat(t()["does-not-matter"]," ").concat(d?t()["does-not-matter__error"]:""," ").concat(M.includes(a.id)?t()["does-not-matter__selected"]:""),onClick:function(){return _(a.id)},children:"ÙØ±ÙÛ ÙØ¯Ø§Ø±Ø¯"}):(0,x.jsx)("div",{children:(0,x.jsx)(q.Z,{icon:(0,x.jsx)(p.Z,{baseUrl:!0,src:a.icon,layout:"fill"}),label:a.text,selected:M.includes(a.id),onClick:function(){return $(a.id)},error:d,className:t()["check-boxes-container__check-box-container"],checkBoxIsChecked:M.includes(a.id)})},a.id)})}),(0,x.jsxs)("div",{className:t()["button-container"],children:[(0,x.jsxs)("div",{className:t()["button-container__number-of-cars"],children:["تعداد Ø®ÙØ¯Ø±ÙÛ Ù¾ÛØ´ÙÙØ§Ø¯Û تا اÛÙ Ù
رØÙÙ: ",N]}),(0,x.jsx)(m.z,{type:"button",label:"Ù
رØÙ٠بعد",block:!0,onClick:function(){return aa()}})]})]})}),leftChild:(0,x.jsxs)("div",{className:"".concat(t().box," py-9 px-8"),children:[(0,x.jsx)(h.default,{src:"/next-statics/images/car-finder/car-finder.svg",width:360,height:250,alt:"راÙÙÙ
Ø§Û Ù¾Ú©ÛØ¬ ÙØ§"}),(0,x.jsx)("div",{className:t().box__info,children:"Ø¯Ø³ØªÛØ§Ø± ÙÙØ´Ù
ÙØ¯ Ø§ÙØªØ®Ø§Ø¨ Ø®ÙØ¯Ø±ÙÛ ÙÙ
راÙâÙ
کاÙÛÚ©Ø ØªÙ
اÙ
Ø®ÙØ¯Ø±ÙÙØ§Û Ù
ØªÙØ§Ø³Ø¨ با Ø¨ÙØ¯Ø¬Ù Ù Ù
شخصات Ù
د ÙØ¸Ø± Ø´Ù
ا را Ù¾ÛØ´ÙÙØ§Ø¯ Ù
ÛâØ¯ÙØ¯."})]}),mainContainerClassName:t()["funnel-layout"],rightContainerContentClassName:t()["right-content"]})})]})}},85349:function(a,b,c){(window.__NEXT_P=window.__NEXT_P||[]).push(["/car-finder/brands",function(){return c(13810)}])},78745:function(a){a.exports={"main-container":"brands_main-container__gc7nL",header:"brands_header__AmpSW",box__info:"brands_box__info__msapk","title-card":"brands_title-card__KBx_A","title-card__title":"brands_title-card__title__hxAZl","title-card__sub-title":"brands_title-card__sub-title__1TZ3Z",content:"brands_content__QN_fY",content__box:"brands_content__box__0yF_5",content__desc:"brands_content__desc__iFSSF","button-container":"brands_button-container__7ftNQ","button-container__number-of-cars":"brands_button-container__number-of-cars__y0CKP","funnel-layout":"brands_funnel-layout__RmFn_","does-not-matter":"brands_does-not-matter__3NQDq","does-not-matter__selected":"brands_does-not-matter__selected__SWgw
1o","does-not-matter__error":"brands_does-not-matter__error__K7QuY","check-boxes-container":"brands_check-boxes-container__f5CSG","check-boxes-container__check-box-container":"brands_check-boxes-container__check-box-container__nqyAQ"}}},function(a){a.O(0,[5935,9238,6857,9774,2888,179],function(){return a(a.s=85349)}),_N_E=a.O()}])
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.