PageSourceSearch

https://portal.autocorp.ai/_next/static/chunks/9235-24c63dbebbbc1a8d.js

js autocorp.ai collected 2026-10-01 15:46:10 UTC 9,217 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9235],{64358:function(e){var t;t=function(){return function(e,t,l){e=e||{};var n=t.prototype,a={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function i(e,t,l,a){return n.fromToBase(e,t,l,a)}l.en.relativeTime=a,n.fromToBase=function(t,n,i,r,s){for(var d,o,c,u=i.$locale().relativeTime||a,m=e.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],x=m.length,f=0;f<x;f+=1){var h=m[f];h.d&&(d=r?l(t).diff(i,h.d,!0):i.diff(t,h.d,!0));var p=(e.rounding||Math.round)(Math.abs(d));if(c=d>0,p<=h.r||!h.r){p<=1&&f>0&&(h=m[f-1]);var v=u[h.l];s&&(p=s(""+p)),o="string"==typeof v?v.replace("%d",p):v(p,n,h.l,c);break}}if(n)return o;var g=c?u.future:u.past;return"function"==typeof g?g(o):g.replace("%s",o)},n.to=function(e,t){return i(e,t,this,!0)},n.from=function(e,t){return i(e,t,this)};var r=function(e){return e.$u?l.utc():l()};n.toNow=function(e){return this.to(r(this),e)},n.fromNow=function(e){return this.from(r(this),e)}}},e.exports=t()},97275:function(e,t,l){"use strict";var n=l(31549),a=l(36943),i=l.n(a),r=l(50646);t.Z=e=>{let{applicant:t}=e,{idVerificationStatusDisplay:l}=(0,r.n)({applicant:t});return(0,n.jsx)("div",{className:"flex flex-col gap-1",children:(0,n.jsx)(i(),{href:"/leads/".concat(null==t?void 0:t.id,"/details?tab=id"),children:l()})})}},26759:function(e,t,l){"use strict";l.d(t,{Z:function(){return u}});var n=l(31549),a=l(44194),i=l(82393),r=l.n(i),s=l(64358),d=l.n(s),o=l(27791);r().extend(d());let c=e=>{var t;let{applicant:l,label:a="Booking",variant:i="default",open:s,setOpen:d}=e,c=null==l?void 0:null===(t=l.appointments)||void 0===t?void 0:t.nodes[0],u=null==c?void 0:c.appointmentAt,m=u?{date:r()(u).format("MMM DD, YYYY"),time:r()(u).format("hh:mm A")}:null,x=m?(0,n.jsxs)("div",{className:"flex flex-col items-start gap-0.5",children:[(0,n.jsx)("span",{className:"text-sm font-normal",children:m.date}),(0,n.jsx)("span",{className:"text-gray-500 text-xs",children:m.time})]}):null;return"inline-horiz"===i?(0,n.jsxs)("button",{type:"button",onClick:()=>d(!0),className:(0,o.A)("flex rounded-md space-x-1 hover:bg-gray-50 py-1.5 px-3 text-left sm:text-sm sm:leading-6",s?"outline-none ring-1 ring-primary text-primary":"text-gray-900"),children:[(0,n.jsxs)("span",{className:"block text-sm text-gray-300",children:[a,":"]}),(0,n.jsx)("span",{className:"block text-sm",children:x})]}):(0,n.jsx)("button",{onClick:()=>d(!0),className:"group block flex-shrink-0",disabled:!0,children:(0,n.jsx)("div",{className:"flex items-center",children:x})})};r().extend(d());var u=(0,a.forwardRef)((e,t)=>{let[l,i]=(0,a.useState)(!1);return(0,n.jsx)("div",{ref:t,children:(0,n.jsx)(c,{...e,open:l,setOpen:i})})})},24340:function(e,t,l){"use strict";var n=l(31549),a=l(44194),i=l(41327),r=l(36943),s=l.n(r);t.Z=e=>{let{applicant:t}=e,l=(0,a.useMemo)(()=>{var e,l,a,r;let s=null==t?void 0:null===(l=t.tradeApps)||void 0===l?void 0:null===(e=l.nodes)||void 0===e?void 0:e.at(-1);return(null===(r=t.tradeApps)||void 0===r?void 0:null===(a=r.nodes)||void 0===a?void 0:a.length)?(0,n.jsxs)("div",{className:"flex flex-col gap-0.5",children:[(0,n.jsxs)("span",{className:"font-normal",children:[null==s?void 0:s.year," ",null==s?void 0:s.make," ",null==s?void 0:s.model]}),(0,n.jsxs)("span",{className:"font-normal text-gray-700 text-xs",children:[(0,i.$F)(null==s?void 0:s.minTradeInValue)," -"," ",(0,i.$F)(null==s?void 0:s.maxTradeInValue)]})]}):null},[t]);return(0,n.jsx)(s(),{href:"/leads/".concat(t.id,"/details?tab=trade"),children:l})}},28765:function(e,t,l){"use strict";l.d(t,{A:function(){return R}});var n=l(31549),a=l(82393),i=l.n(a),r=l(64358),s=l.n(r),d=l(78759),o=l.n(d),c=l(36943),u=l.n(c),m=l(44194),x=l(42420),f=l(73684),h=l(65849),p=l(79103),v=l(97275),g=l(15663),y=l(26759),j=l(24340),N=l(82153),w=l(11812),b=l(1856),k=l(83711),A=l(30392),M=l(414),z=l(11998),E=l(55284),T=l(7233);
1i().extend(s());let Z=o()(()=>Promise.resolve().then(l.bind(l,21035)),{loadableGenerated:{webpack:()=>[21035]}}),I=e=>{var t,l,a,i,r;let{lead:s}=e,{viewCreditData:d}=(0,N.w)(null==s?void 0:null===(t=s.company)||void 0===t?void 0:t.id),o=(0,z.Ug)(s.avaApp);if(o){if(!d)return null;let e=(null===(a=s.company)||void 0===a?void 0:a.country)===A.oRd.Us&&(null===(i=o.range)||void 0===i?void 0:i.trim())==="0 - 24",t=o.range||(null===(r=o.score)||void 0===r?void 0:r.toString())||"—";return(0,n.jsx)(u(),{href:"/leads/".concat(s.id,"/details?tab=credit"),children:(0,n.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,n.jsx)("span",{className:"whitespace-nowrap text-sm font-semibold text-gray-800",children:e?"No Hit":t}),(0,n.jsx)("span",{className:"text-sm text-new-muted",children:o.provider})]})})}let c=(0,z.Pk)((null===(l=s.neighborhoodView)||void 0===l?void 0:l.equifaxRiskScore)||0);if((null==c?void 0:c.min)&&(null==c?void 0:c.max)){let e=(0,n.jsxs)("span",{className:"whitespace-nowrap text-sm font-semibold text-gray-800",children:[c.min," - ",c.max]});return(0,n.jsxs)("div",{className:"flex flex-col gap-1",children:[d?(0,n.jsx)(u(),{href:"/leads/".concat(s.id,"/details?tab=credit"),children:e}):e,(0,n.jsx)("span",{className:"whitespace-nowrap text-sm text-new-muted",children:"Predictive Score"})]})}return(0,n.jsx)("span",{className:"text-sm text-new-muted",children:"—"})},R=e=>{let{leads:t,loading:l}=e,a=(0,b.a)("sm"),{state:{company:r}}=(0,k.t)(),s=(0,w.y)(M.y8.LEAD_ALERTS),d=(0,w.y)(M.y8.LEAD_DETAILS_REDESIGN),o=(0,m.useMemo)(()=>(0,T.$)({company:r,isLeadAlertFeatureEnabled:s,isLeadDetailsRedesignEnabled:d}),[r,s,d]),c=[{id:"name",header:"Name",meta:{autoSize:!0},cell:e=>{var t,l,i,r,s;let{row:d}=e,c=[null===(t=d.original)||void 0===t?void 0:t.firstName,null===(l=d.original)||void 0===l?void 0:l.lastName].filter(Boolean).join(" ");return(0,n.jsxs)("div",{className:"flex flex-col",children:[(0,n.jsx)("div",{className:"flex items-center gap-2",children:(0,n.jsxs)(u(),{href:"/leads/".concat(d.original.id,"/details?tab=").concat(o),className:(0,h.cn)(d.original.deleted?"opacity-50":"",d.original.read?"font-normal":"font-bold","whitespace-nowrap text-sm leading-normal text-black hover:text-black/70"),title:c,children:[(0,E.Gf)(c,a),(null===(i=d.original.meta)||void 0===i?void 0:i.testLead)&&(0,n.jsx)(x.Ct,{className:"ml-1",variant:"muted",size:"sm",children:"Test"})]})}),(null===(r=d.original.company)||void 0===r?void 0:r.country)!==A.oRd.Us&&(0,n.jsx)("div",{className:"mt-2 flex flex-wrap items-center gap-2 sm:flex-nowrap",children:(0,n.jsx)(g.Z,{leadId:d.original.id,leadTags:(null===(s=d.original.leadTags)||void 0===s?void 0:s.nodes)||[]})})]})}},{id:"assignee",header:"Assignee",size:120,cell:e=>{var t,l;let{row:a}=e;return(0,n.jsx)(p.Z,{applicantId:a.original.id,companyId:null===(t=a.original.company)||void 0===t?void 0:t.id,assignedMembers:null===(l=a.original.leadRoles)||void 0===l?void 0:l.nodes})}},{id:"contactInfo",header:"Contact Info",size:240,cell:e=>{let{row:t}=e;return(0,n.jsxs)("div",{className:"flex flex-col whitespace-nowrap text-sm text-new-muted",children:[(0,n.jsx)("span",{children:(0,E.SE)(t.original.emailAddress,a)||"—"}),(0,n.jsx)("span",{children:t.original.phoneNumber||"—"})]})}},{id:"creditScore",header:"Credit",size:140,cell:e=>{let{row:t}=e;return(0,n.jsx)(I,{lead:t.original})}},(null==r?void 0:r.country)!==A.oRd.Us&&{id:"tradeIn",header:"Trade",size:160,cell:e=>{let{row:t}=e;return(0,n.jsx)(j.Z,{applicant:t.original})}},{id:"idVerification",header:"IDV",size:140,cell:e=>{let{row:t}=e;return(0,n.jsx)(v.Z,{applicant:t.original})}},{id:"driveAppointment",header:"Appointment",size:180,cell:e=>{let{row:t}=e;return(0,n.jsx)(y.Z,{applicant:t.original})}},{id:"createdAt",header:"Created",size:140,cell:e=>{let{row:t}=e;return(0,n.jsx)("span",{className:"whitespace-nowrap text-sm text-new-muted",children:i()(t.original.createdAt).fromNow()})}}].filter(Boolean);return l&&0===t.length?(0,n.jsx)("div",{className:"flex size-full flex-col items-center justify-center py-12",children:(0,n.jsx)(Z,{color:"black",className:"size-24",text:"Loading..."})}):(0,n.jsx)(f.wQ,{columns:c,data:t,stickyHeader:!0,pinnedColumns:a?{left
1:["name"]}:void 0,emptyStateMessage:"No leads have been created yet",classNames:{tableWrapper:"overflow-x-auto"}},a?"desktop":"mobile")}},66984:function(e,t,l){"use strict";l.d(t,{Z:function(){return n}});let n=(0,l(76495).Z)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},51414:function(e,t,l){"use strict";var n=l(44194);let a=n.forwardRef(function(e,t){let{title:l,titleId:a,...i}=e;return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":a},i),l?n.createElement("title",{id:a},l):null,n.createElement("path",{fillRule:"evenodd",d:"M8.22 5.22a.75.75 0 0 1 1.06 0l4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.75.75 0 0 1-1.06-1.06L11.94 10 8.22 6.28a.75.75 0 0 1 0-1.06Z",clipRule:"evenodd"}))});t.Z=a}}]);

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.