PageSourceSearch

https://www.hamrah-mechanic.com/_next/static/chunks/pages/car-inspection/location-401b84349cf4109e.js

js hamrah-mechanic.com collected 2026-09-24 10:17:40 UTC 17,572 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8312],{27997:function(g,c,a){"use strict";a.r(c);var h=a(50029),d=a(87794),i=a.n(d),j=a(67294),k=a(11163),l=a(2497),m=a(25675),n=a(9008),e=a(11047),o=a.n(e),f=a(94174),p=a.n(f),q=a(87226),r=a(86515),s=a(72238),t=a(63763),u=a(71762),v=a(74249),w=a(10948),x=a(22258),y=a(5234),z=a(89206),A=a(42895),b=a(93030),B=a(50386),C=a(21534),D=a(85893),E={tehranCenter:b._$,karajCenter:b.$t,isfahanCenter:b.Te};c.default=function(){var Q,T=(0,k.useRouter)(),U=(0,l.I0)(),V=(0,C.Z)("redirectUrl"),a=(0,l.v9)(function(a){return a.carInpection}).formData,f=a.city,g=f.cityId,W=f.stateId,F=f.hasAutoCenter,X=a.result.trackingCode,Y=a.car.carId,Z=a.selectedService,G=a.address,H=a.latitude,I=a.longitude,b=a.carSummery,J=a.description,c=a.isUserAddress,K=(0,j.useState)(!1),R=K[0],$=K[1],L=(0,j.useState)(!1),d=L[0],_=L[1],M=(0,j.useState)(!1),S=M[0],aa=M[1],N=(0,j.useState)(null),O=N[0],ba=N[1],P=(0,j.useState)({area:"",address:G,description:J,phoneNumber:"",latitude:H,longitude:I,cityId:g}),e=P[0],ca=P[1],da=(Q=(0,h.Z)(i().mark(function a(){var b;return i().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,(0,z.zb)(!0,W);case 3:ba(b=a.sent),a.next=9;break;case 7:a.prev=7,a.t0=a.catch(0);case 9:case"end":return a.stop()}},a,null,[[0,7]])})),function(){return Q.apply(this,arguments)});(0,j.useEffect)(function(){X||T.push(V||"/car-inspection/")},[]);var ea=function(){U((0,A.w)({type:"address",message:""})),U((0,A.w)({type:"latitude",message:0})),U((0,A.w)({type:"longitude",message:0})),U((0,A.w)({type:"description",message:""})),ca({area:"",address:"",description:"",phoneNumber:"",latitude:0,longitude:0,cityId:g})};return(0,j.useEffect)(function(){da()},[]),(0,D.jsxs)("div",{className:o().step3,children:[(0,D.jsx)(n.default,{children:(0,D.jsx)("meta",{name:"robots",content:"noindex"})}),(0,D.jsx)(x.Z,{title:"کارشناسی خودرو",backBtn:function(){return T.push({pathname:"/car-inspection/service/",query:{carId:Y}},"/car-inspection/service/")},className:o().header}),(0,D.jsx)("div",{className:"container",children:(0,D.jsx)(q.Z,{backButtonFunction:function(){return T.push({pathname:"/car-inspection/service/",query:{carId:Y}},"/car-inspection/service/")},layoutTitle:"کارشناسی خودرو",rightChild:(0,D.jsxs)("div",{className:o()["right-child-container"],children:[(0,D.jsx)("div",{className:o()["right-child-container__car-summary-container"],children:(0,D.jsx)(w.c,{title:null==b?void 0:b.carModel,firstSubtitle:null==b?void 0:b.gearBox,className:o()["title-card"],titleClassName:o()["title-card__title"],subTitleClassName:o()["title-card__sub-title"],src:null==b?void 0:b.imageUrl})}),(0,D.jsx)(r.Z,{currentStep:3,maxSteps:5,wizardHeader:"انتخاب محل کارشناسی",wizardSubheader:"انتخاب زمان کارشناسی",className:o()["right-child-container__wizard-container"],showCheck:!1}),(0,D.jsxs)("div",{className:o()["form-container"],children:[(0,D.jsxs)("div",{className:o()["form-container__tabs-container"],children:[(0,D.jsx)("div",{onClick:function(){U((0,A.w)({type:"isUserAddress",message:!0})),ea()},className:"".concat(o()["form-container__tab"]," ").concat(c&&o()["form-container__active-tab"]),children:"محل مورد نظر شما"}),(0,D.jsx)("div",{onClick:function(){U((0,A.w)({type:"isUserAddress",message:!1})),ea()},className:"".concat(o()["form-container__tab"]," ").concat(!c&&o()["form-container__active-tab"]," ").concat(!F&&o()["form-container__disable-tab"]),children:"شعب حضوری"})]}),!c&&F?(0,D.jsxs)(D.Fragment,{children:[(0,D.jsx)("div",{className:o()["form-container__description-text"],children:"برای تعیین محل کارشناسی، یکی از شعب حضوری همراه‌مکانیک را انتخاب کنید."}),(0,D.jsxs)("div",{children:[(0,D.jsx)(t.Z,{placeholder:"انتخاب شعبه حضوری",leftIcon:(0,D.jsx)(s.Z,{name:"chevron-left",fontSize:12,color:p().color_carbon_3}),onClick:function(){return aa(!0)},value:e.address,hasError:d,inputMode:"none",readOnly:!0}),d&&(0,D.jsxs)("div",{className:o()["form-container__error-container"],children:[(0,D.jsx)(s.Z,{name:"information",fontSize:14,className:o()["form-container__error-icon"]}),(0,D.jsx)("div",{children:"شعبه مورد نظرتان را برای مراجعه حضوری انتخاب کنید."})]}),O&&(0,D.jsx)(y.Z,{close:function(){return aa(!1)},open:S,title:"انتخاب شعبه حضوری",description:"شعبه مورد نظرتان را برای مراجعه حضوری انتخاب کنید.",data:O,onSelectItem:function(a){U((0,A.w)({type:"address",message:a})),ca({area:"",address:a,description:"",phoneNumber:"",latitude:0,longitude:0,cityId:g}),aa(!1)},selectedItem:e.address})]})]}):!c&&(0,D.jsxs)("div",{className:o()["form-container__not-active-autocenters-container"],children:[(0,D.jsx)("div",{className:o()["form-container__not-active-autocenters-text"],children:"متأسفانه در حال حاضر در شهر شما شعبه فعالی نداریم."}),(0,D.jsx)(s.Z,{name:"chevron-left",fontSize:12,color:p().color_carbon_3})]}),c&&(0,D.jsxs)(D.Fragment,{children:[(0,D.jsx)("div",{className:o()["form-container__description-text"],children:"آدرس دقیق محل مورد نظر جهت کارشناسی را انتخاب کنید."}),(0,D.jsxs)("div",{children:[(0,D.jsx)(t.Z,{placeholder:"انتخاب محل کارشناسی",leftIcon:(0,D.jsx)(s.Z,{name:"chevron-left",fontSize:12,color:p().color_carbon_3}),onClick:function(){return $(!0)},value:e.address+e.description,hasError:d,inputMode:"none",readOnly:!0}),d&&(0,D.jsxs)("div",{className:o()["form-container__error-container"],children:[(0,D.jsx)(s.Z,{name:"information",fontSize:14,className:o()["form-container__error-icon"]}),(0,D.jsx)("div",{children:"نشانی محل دقیق کارشناسی خود را وارد کنید."})]}),(0,D.jsx)(v.Z,{open:R,onClose:function(){return $(!1)},onSubmit:function(a){ca(a),U((0,A.w)({type:"address",message:a.address+" - "+a.description})),U((0,A.w)({type:"latitude",message:a.latitude})),U((0,A.w)({type:"longitude",message:a.longitude})),U((0,A.w)({type:"description",message:a.description})),_(!1)},selectedCityId:String(g),cities:B,citiesCenter:E,selectedLocation:{address:G,latitude:H,longitude:I,cityId:g,description:J}})]})]})]}),(0,D.jsx)("div",{className:o()["button-container"],children:(0,D.jsx)(u.z,{type:"button",label:"مرحله بعد",className:o()["button-container__button"],onClick:function(){e.address?T.push({pathname:"/car-inspection/d
1ate/",query:{trackingCode:X,orderServiceTypeId:Z.id}},"/car-inspection/date/"):_(!0)}})})]}),leftChild:(0,D.jsxs)("div",{className:"".concat(o().box," py-9 px-8"),children:[(0,D.jsx)(m.default,{src:"/next-statics/images/car-inspection/step2.svg",width:360,height:189,alt:"راهنمای پکیج ها"}),(0,D.jsx)("div",{className:o().box__info,children:"کارشناسان همراه‌مکانیک طی 10 سال اخیر، بیش از 460 هزار خودروی کارکرده و صفر را کارشناسی کرده‌اند."})]}),mainContainerClassName:o()["funnel-layout"],rightContainerContentClassName:o()["right-content"]})})]})}},87226:function(f,b,a){"use strict";a(67294);var c=a(94184),g=a.n(c),h=a(25675),d=a(60239),i=a.n(d),e=a(94174),j=a.n(e),k=a(72238),l=a(33110),m=a(60543),n=a(85893);b.Z=function(a){var f=a.layoutTitle,b=a.backButtonFunction,c=a.showBackButton,o=a.rightChild,p=a.leftChild,q=a.rightContainerClassName,r=a.leftContainerClassName,s=a.mainContainerClassName,t=a.rightContainerContentClassName,d=a.showSupportCall,e=a.dontShowLogo,u=a.imageContainerClassName;return(0,n.jsxs)("div",{className:g()(i()["main-container"],s),children:[(0,n.jsxs)("div",{className:g()(i()["right-side"],q),children:[(0,n.jsxs)("div",{className:i()["title-container"],children:[(0,n.jsx)("div",{className:i()["icon-container"],children:b&&(void 0===c||c)&&(0,n.jsx)(k.Z,{name:"arrowright",fontSize:20,color:j().color_carbon_5,className:i().icon,onClick:b})}),void 0!==d&&d&&(0,n.jsx)(l.Z,{supportCallClassName:i()["support-modal"]}),(0,n.jsx)("div",{className:i().title,children:f})]}),(0,n.jsx)("div",{className:g()(i()["right-side-content"],t),children:o})]}),(0,n.jsxs)("div",{className:g()(i()["left-side"],r),children:[(0,n.jsx)("div",{className:g()(i()["left-side-title-container"],u),children:(0,n.jsx)("div",{className:i()["image-container"],children:!(void 0!==e&&e)&&(0,n.jsx)(h.default,{src:m.Z,layout:"fill",alt:"hm-icon"})})}),p]})]})}},33110:function(e,b,a){"use strict";var f=a(67294),c=a(94184),g=a.n(c),h=a(23525),i=a(72238),d=a(3342),j=a.n(d),k=a(85893);b.Z=function(a){var c=a.isMobile,d=a.supportCallClassName,b=(0,f.useState)(!1),e=b[0],l=b[1];return(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)("div",{className:g()({"d-none d-lg-block":!c}),onClick:function(){return l(!0)},children:(0,k.jsxs)("div",{className:"".concat(j()["support-call"]," ").concat(d),children:[(0,k.jsx)(i.Z,{name:"call",fontSize:16,className:j()["call-icon"],cursor:"pointer"}),(0,k.jsx)("div",{className:j()["support-text"],children:"پشتیبانی"})]})}),(0,k.jsxs)(h.Z,{open:e,onClose:function(){return l(!1)},title:"پشتیبانی",headerClassName:j()["modal-header"],className:j().modal,titleClassName:j()["title-modal"],children:[(0,k.jsxs)("div",{className:j().description,children:["برای ارتباط با پشتیبانی در روزهای شنبه تا پنجشنبه از ساعت ۹ صبح تا ۱۷ عصر می‌توانید با شماره‌ی زیر تماس بگیرید:"," "]}),(0,k.jsx)("div",{className:j()["contact-phone-container"],children:(0,k.jsx)("a",{className:j()["contact-phone"],href:"tel:02167632406",children:"021-67632406"})})]})]})}},10948:function(f,b,a){"use strict";a.d(b,{c:function(){return o}});var g=a(59499),c=a(94184),h=a.n(c),d=a(69203),i=a.n(d),e=a(94174),j=a.n(e),k=a(72238),l=a(65181),m=a(96764),n=a(85893),o=function(a){var c=a.src,d=a.width,e=a.height,f=a.title,o=a.firstSubtitle,p=a.secondSubtitle,b=a.children,q=a.className,C=a.onClick,r=a.h1,u=a.subTitlesContainer,v=a.h1ClassName,w=a.subTitleClassName,x=a.titleClassName,s=a.iconName,y=a.imageClassName,z=a.partOneClassName,A=a.secondSubtitleClassName,t=a.justPrice,B=a.carInfo;return(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("div",{className:"".concat(i()["main-container"]," ").concat(void 0===q?"":q),onClick:function(){return null==C?void 0:C()},children:[t&&(0,n.jsxs)("div",{className:i()["price-container"],children:[(0,n.jsx)("div",{className:i()["price-container__info"],children:B}),(0,n.jsxs)("div",{className:i()["price-container__price"],children:[(0,n.jsxs)("span",{children:[(0,m.x6)(t)," "]}),(0,n.jsx)("span",{className:i().unit,children:"تومان "})]})]}),(0,n.jsxs)("div",{className:h()(i()["part-one"],(0,g.Z)({},i()["part-one--withChildren"],b),z),children:[c&&(0,n.jsx)(l.Z,{src:c,width:void 0===d?86:d,height:void 0===e?48:e,alt:"image",className:"".concat(i().image," ").concat(y)}),(0,n.jsxs)("div",{className:"".concat(i()["subTitles-container"]," ").concat(u),children:[f&&(0,n.jsx)("div",{className:"".concat(i()["subTitles-title"]," ").concat(x),children:f}),r&&(0,n.jsx)("h1",{className:"".concat(i()["subTitles-title__h1"]," ").concat(v),children:r}),o&&(0,n.jsxs)("div",{className:i()["subTitles-innerContainer"],children:[(0,n.jsx)("div",{className:"".concat(i()["subTitles-innerContainer__firstSubtitle"]," ").concat(w),children:o}),p&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("span",{className:i()["subTitles-innerContainer__divider"],children:"|"}),(0,n.jsx)("div",{className:"".concat(i()["subTitles-innerContainer__secondSubtitle"]," ").concat(A),children:p})]})]})]})]}),s&&(0,n.jsx)("div",{className:i()["icon-container"],children:(0,n.jsx)(k.Z,{name:s,color:j().c
1olor_carbon_6})}),b&&(0,n.jsx)("div",{children:b})]})})}},22258:function(d,b,a){"use strict";var e=a(25675),f=a(41664),g=a(60543),h=a(72238),c=a(34018),i=a.n(c),j=a(85893);b.Z=function(a){var b=a.backBtn,p=a.className,q=a.rightElement,c=a.leftElement,d=a.logoLink,k=a.title,l=a.showLogoWithoutLink,r=a.titleClassName,m=a.backBtnName,n=a.backBtnSize,o=a.showLogo;return(0,j.jsxs)("div",{className:"".concat(i()["simple-header"]," ").concat(p),children:[(0,j.jsxs)("div",{className:"d-flex align-items-center",children:[b&&(0,j.jsx)(h.Z,{name:void 0===m?"arrowright":m,fontSize:void 0===n?20:n,className:i()["simple-header__icon"],onClick:b,cursor:"pointer"}),q]}),(void 0===o||o)&&(0,j.jsx)("div",{children:k?(0,j.jsx)("div",{className:"".concat(i()["simple-header__title"]," ").concat(r),children:k}):void 0!==l&&l?(0,j.jsx)("div",{className:i()["simple-header__image"],children:(0,j.jsx)(e.default,{src:g.Z,alt:"همراه مکانیک",layout:"fill"})}):(0,j.jsx)(f.default,{href:void 0===d?"/":d,children:(0,j.jsx)("a",{className:i()["simple-header__image"],children:(0,j.jsx)(e.default,{src:g.Z,alt:"همراه مکانیک",layout:"fill"})})})}),c&&(0,j.jsx)("div",{className:i()["simple-header__left-element"],children:c})]})}},76082:function(a,b,c){(window.__NEXT_P=window.__NEXT_P||[]).push(["/car-inspection/location",function(){return c(27997)}])},11047:function(a){a.exports={"right-child-container":"location_right-child-container__4uN1e","right-child-container__wizard-container":"location_right-child-container__wizard-container__D9ovi","right-child-container__car-summary-container":"location_right-child-container__car-summary-container__2MqcJ","form-container":"location_form-container__DGMY0","form-container__tabs-container":"location_form-container__tabs-container__Jlywu","form-container__tab":"location_form-container__tab__V6dz6","form-container__active-tab":"location_form-container__active-tab__CNqVu","form-container__description-text":"location_form-container__description-text__qx91S","form-container__error-container":"location_form-container__error-container__2BJIR","form-container__error-icon":"location_form-container__error-icon__eTi76","form-container__not-active-autocenters-container":"location_form-container__not-active-autocenters-container__m5968","form-container__not-active-autocenters-text":"location_form-container__not-active-autocenters-text__zT3Mf","left-child-container":"location_left-child-container__hCy_u","left-child-container__img":"location_left-child-container__img__hj6Sg","left-child-container__text":"location_left-child-container__text__aZfHH",step3:"location_step3__1Yy7h",header:"location_header__hqTa4",box__info:"location_box__info__RHyL3","title-card":"location_title-card__i8WDY","title-card__title":"location_title-card__title__MVl5S","title-card__sub-title":"location_title-card__sub-title__vfF8q",content:"location_content__8YInC",content__box:"location_content__box__s2M5W",content__desc:"location_content__desc__GOiBP","button-container":"location_button-container__FJ_gx","button-container__button":"location_button-container__button__pq8TT","funnel-layout":"location_funnel-layout__xnmOS"}},60239:function(a){a.exports={"main-container":"funnelLayout_main-container__mmetn","right-side":"funnelLayout_right-side___8an5","left-side":"funnelLayout_left-side__lvxDA","title-container":"funnelLayout_title-container__sAxQU","icon-container":"funnelLayout_icon-container__uDTYD",icon:"funnelLayout_icon__yg1cs",title:"funnelLayout_title__Sn6u2","left-side-title-container":"funnelLayout_left-side-title-container__nTNDG","image-container":"funnelLayout_image-container__4AM3a","support-modal":"funnelLayout_support-modal__y1E9F"}},3342:function(a){a.exports={"modal-header":"support-call_modal-header__JYiuD",modal:"support-call_modal__ZzBh_","title-modal":"support-call_title-modal__CivQN",description:"support-call_description__pI1cD",number:"support-call_number__XxbaM",button:"support-call_button__dq0C7","support-call":"support-call_support-call__dKViA","support-text":"support-call_support-text__8Ylav","call-icon":"support-call_call-icon__CRxLI","contact-phone-container":"support-call_contact-phone-container__Wy324","contact-phone":"support-call_contact-phone__TzoBc","contact-condition":"support-call_contact-condition__9aiaX"}},69203:function(a){a.exports={"main-container":"titleCard_main-container__yA1e5","price-container":"titleCard_price-container__gp_h7",unit:"titleCard_unit__1UehQ","price-container__info":"titleCard_price-container__info__QV5if","price-container__price":"titleCard_price-container__price__ehzkb","part-one":"titleCard_part-one__37FzS","part-one--withChildren":"titleCard_part-one--withChildren__WGXki",image:"titleCard_image__3jywf","subTitles-container":"titleCard_subTitles-container__rIfsN","subTitles-title":"titleCard_subTitles-title__I76WW","subTitles-title__h1":"titleCard_subTitles-title__h1__EMg4z","subTitles-innerContainer":"titleCard_subTitles-innerContainer__9iLxZ","subTitles-innerContainer__firstSubtitle":"titleCard_subTitles-innerContainer__firstSubtitle__9MNIr","subTitles-innerContainer__divider":"titleCard_subTitles-innerContainer__divider__mB1Wm","subTitles-innerContainer__secondSubtitle":"titleCard_subTitles-innerContainer__secondSubtitle__LaKW8","icon-container":"titleCard_icon-container__l9Lfl"}},34018:function(a){a.exports={"simple-header":"simpleHeader_simple-header__jJBE2","simple-header__title":"simpleHeader_simple-header__title__QR4wV","simple-header__image":"simpleHeader_simple-header__image__Mu1rb","simple-header__left-element":"simpleHeader_simple-header__left-element__PpTxg","simple-header__icon":"simpleHeader_simple-header__icon__JaUOz"}}},function(a){a.O(0,[2283,9206,7650,9774,2888,179],function(){return a(a.s=76082)}),_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.