1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9512],{14389:function(e,b,a){"use strict";a.r(b),a.d(b,{"__N_SSP":function(){return w}});var f=a(67294),g=a(12918),h=a(11163),c=a(20640),i=a.n(c),j=a(71762),k=a(22258),l=a(16376),m=a(21141),n=a(78733),o=a(13812),p=a(39817),q=a(50937),r=a(25070),s=a(80540),t=a(2775),d=a(92506),u=a.n(d),v=a(85893),w=!0;b.default=function(c){var d=c.fullReport,e=c.statusCode,w=(0,h.useRouter)(),D=(0,f.useRef)(null),x=d||{},a=x.reportSummary,E=a.model,F=a.brand,G=a.tip,y=a.reportDate,H=a.color,I=a.dispatchCode,J=a.expertName,K=a.kilometer,L=a.maxPrice,M=a.minPrice,N=a.vinNumber,O=a.year,P=a.serviceType,b=x.inspectionReport,z=(0,f.useState)(!1),Q=z[0],S=z[1],A=(0,f.useState)({id:0,open:!0}),R=A[0],T=A[1],B=(0,f.useState)(!1),C=B[0],U=B[1],V=function(a){U(!0),i()(a)};return e?(0,v.jsx)(g.default,{statusCode:e}):d?(0,v.jsxs)("div",{className:u()["inspection-report"],children:[(0,v.jsx)(k.Z,{logoLink:"#"}),(0,v.jsx)("div",{className:"container py-4",children:(0,v.jsx)(l.Z,{className:u().card,children:(0,v.jsx)(v.Fragment,{children:(0,v.jsxs)("div",{className:"row",children:[(0,v.jsx)("div",{className:"col-12 col-lg-6",children:(0,v.jsxs)("div",{className:u().box,children:[(0,v.jsx)(r.Z,{model:E,brand:F,tip:G,vinNumber:N,kilometer:K.toString(),year:O,color:H}),(0,v.jsxs)("div",{className:u().techincal_report_modal,children:[(0,v.jsxs)("div",{className:u()["inspection-report-box"],children:[(0,v.jsx)("div",{className:"".concat(u().box__title," mb-3"),children:"گزارش Ú©Ø§Ø±Ø´ÙØ§Ø³Û"}),(0,v.jsx)(n.Z,{onClickOpenModal:function(a,b,c){S(a),T({id:b,open:c})},data:b,className:u()["car-report-summary"]}),(0,v.jsx)("div",{className:u()["inspection-report-box__footer"],children:(0,v.jsx)(j.z,{type:"button",buttonType:"arrowlink",label:"Ù
Ø´Ø§ÙØ¯Ù گزارش کاÙ
Ù Ú©Ø§Ø±Ø´ÙØ§Ø³Û",onClick:function(){return S(!0)},arrowLinkIconSize:9,sizes:"small",className:u()["inspection-report-box__btn"]})})]}),(0,v.jsx)(t.Z,{open:Q,close:function(){S(!1),T({id:0,open:!1})},title:"گزارش Ú©Ø§Ø±Ø´ÙØ§Ø³Û",initialHeight:80,buttons:[{type:"button",buttonType:"primary",label:"بازگشت",className:u()["bottom-sheet-container__modal-button"],onClick:function(){return S(!1)}}],children:(0,v.jsx)("div",{className:u()["modal-container"],ref:D,children:(0,v.jsx)(n.Z,{data:b,isInModal:!0,openedCollection:R,onScroll:function(){D.current.scrollTop=0}})})})]}),(0,v.jsx)(o.Z,{clicked:C,handelCopyLink:function(a){return V(a)},className:u()["link-container-desktop"],link:"https://www.hamrah-mechanic.com"+w.asPath,title:"ÙÛÙÚ© گزارش Ú©Ø§Ø±Ø´ÙØ§Ø³Û"})]})}),(0,v.jsx)("div",{className:"col-12 col-lg-6",children:(0,v.jsxs)("div",{className:"".concat(u().box," mb-0"),children:[(0,v.jsx)("div",{className:"".concat(u().box__title," mb-4"),children:" ÙÙØ´Ù Ú©Ø§Ø±Ø´ÙØ§Ø³Û Ø®ÙØ¯Ø±Ù "}),(0,v.jsxs)("div",{className:"".concat(u()["fancy-box"]," mb-0"),children:[(0,v.jsx)(s.Z,{serviceName:P,iconUrl:"/next-statics/images/car-inspection/service-type.svg"}),(0,v.jsx)(m.Z,{points:b.damagedParts})]}),(0,v.jsx)(q.Z,{maxPrice:L.toString(),minPrice:M.toString(),className:u()["price-container"]}),(0,v.jsx)(p.Z,{expertName:J,dispatchCode:I,reportDate:new Date(y).toLocaleDateString("fa-IR",{day:"2-digit",month:"2-digit",year:"numeric"})+" ساعت - "+new Date(y).toLocaleTimeString("fa-IR",{hour:"2-digit",minute:"2-digit",second:"2-digit"})}),(0,v.jsx)(o.Z,{clicked:C,handelCopyLink:function(a){return V(a)},className:u()["link-container-mobile"],link:"https://www.hamrah-mechanic.com"+w.asPath,title:"ÙÛÙÚ© گزارش Ú©Ø§Ø±Ø´ÙØ§Ø³Û"})]})})]})})})})]}):(0,v.jsx)(k.Z,{logoLink:"#"})}},33507:function(a,b,c){(window.__NEXT_P=window.__NEXT_P||[]).push(["/inspection-report/[leadid]",function(){return c(14389)}])}},function(a){a.O(0,[6525,6880,9774,2888,179],function(){return a(a.s=33507)}),_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.