1"use strict";(self.webpackChunkcarpaddy_2_0=self.webpackChunkcarpaddy_2_0||[]).push([[7778],{37778:(e,a,l)=>{l.r(a),l.d(a,{RenewalPapers:()=>g,default:()=>f});l(72791);var i=l(58562),n=l(95048),d=l(88464),t=l(34875),r=l(54966),s=l(25156),o=l(61025),c=l(24818),u=l(79494),v=l(10611),w=l(99882),p=l(98223),h=l(77001),y=l(80184);const g=()=>{var e,a,l,g,f;const P=(0,n.I0)(),{show:b,jumpTo:m}=(0,w.nD)(),k=(0,n.v9)(d.Qj),{data:D}=(0,t.NX)({uid:k.user.uid}),[E]=(0,r.$B)(),M=null===k||void 0===k||null===(e=k.data)||void 0===e?void 0:e.renewal,U=(0,i.pMU)(null,["data","renewal","processingCity","value"],k),W=(0,i.pMU)(null,["data","renewal","vehicle","category"],k),x=(0,i.pMU)("private",["data","renewal","vehicle","typeOfDoc"],k),I=(0,i.pMU)("regular",["data","renewal","vehicle","typeOfPlate"],k),O=(0,i.pMU)([],["data","renewal","vehicle","documents"],k),{existing:_,nonExisting:j,others:C}=(0,h.ww)(O,null===(a=s.citiesData[U])||void 0===a?void 0:a.docs(x),o.vehicleProcess.RENEWAL,[{key:"backup"}]),N=(0,i.pMU)("",["data","renewal","vehicle","value"],k)?null===(l=k.data.renewal)||void 0===l?void 0:l.vehicle:{value:"",label:""},R=null===(g=k.data.renewal)||void 0===g||null===(f=g.vehicle)||void 0===f?void 0:f.label,V={vehicle:N,title:h.aE.renewal,...(0,h.Hs)(_,W,U,s.citiesData,I,x),...M};return(0,y.jsx)(y.Fragment,{children:(null===D||void 0===D?void 0:D.length)&&(0,y.jsx)(p.Z,{global:k,typeOfDoc:x,typeOfPlate:I,typeOfProcess:o.vehicleProcess.RENEWAL,category:W,existing:_,nonExisting:j,others:C,city:U,initialValues:V,submitFn:async e=>{P((0,d.WI)({renewal:{...k.data.renewal,...e}})),P((0,d.WI)({renewal_process:(0,h.qV)({...k.data.renewal,...e,deliveryInfo:{email:k.user.email},uid:k.user.uid})})),"physical"===k.data.renewal.deliveryMode?b(`${u.P}/renewal_process`,{page:"renew"}):(await(async(e,a,l,i,n,d)=>{var t,r;const s=(0,h.qV)({...l.data.renewal,...e,deliveryInfo:a,uid:l.user.uid}),o=await i(s),u=null===(t=l.data)||void 0===t||null===(r=t.renewal)||void 0===r?void 0:r.connectedProcess;var v,w;u&&await(0,c.zY)({addToCart:i,connectedProcessData:u,jointOrderId:null===o||void 0===o||null===(v=o.data)||void 0===v?void 0:v.id,userUid:null===(w=l.user)||void 0===w?void 0:w.uid}),n(d)})(e,{email:k.user.email},k,E,m,v.W),m(v.W))},label:R,description:"Click to select / de-select any vehicle paper",showNotesWithDocs:!0})})},f=g}}]); 2//# sourceMappingURL=7778.fd08a2b9.chunk.js.map
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.