1"use strict";(globalThis.webpackChunktrackxi_react_ui||=[]).push([[4679,9724],{6449(e,t,n){n.d(t,{w:()=>r});var o=n(9950);const a={fubContext:"",fubSignature:"",setTransactionId:()=>{},fetchTransList:()=>{},setTransData:()=>{},transData:{}},i=(0,o.createContext)(a);function r(){return(0,o.useContext)(i)}n.d(t,["E",0,i])},84679(e,t,n){n.r(t);var o=n(48015),a=n(74627),i=n(76776),r=n(59760),s=n(96320),l=n(9651),c=n(88938),d=n(33507),u=n(9950),m=n(28429),x=n(94222),I=n(19724),T=n(44414);const A=()=>{var e,t,n;const{classes:A}=(0,c.V)(),{state:p={}}=(0,m.zy)(),g=(0,m.Zp)(),[f,N]=(0,u.useState)(!1),{fubContext:S="",fubSignature:C=""}=p||{},{auth:h,setAuth:y}=(0,d.A)(),{user:v}=h;(0,u.useEffect)(()=>{var e,t,n;1===(null===v||void 0===v||null===(e=v.companyList)||void 0===e?void 0:e.length)&&(y({user:{...v,companyId:null===v||void 0===v||null===(t=v.companyList)||void 0===t||null===(n=t[0])||void 0===n?void 0:n.companyId}}),g(`${x.Ay.FUB_TRANSACTION_DATA}?context=${encodeURIComponent(S)}&signature=${encodeURIComponent(C)}`,{state:{fubSignature:C,fubContext:S}}))},[null===v||void 0===v?void 0:v.companyId]);const E=(0,u.useCallback)(e=>{y({user:{...v,companyId:null===e||void 0===e?void 0:e.companyId}}),g(`${x.Ay.FUB_TRANSACTION_DATA}?context=${encodeURIComponent(S)}&signature=${encodeURIComponent(C)}`,{state:{fubSignature:C,fubContext:S}})},[S,C]);return(0,T.jsx)(T.Fragment,{children:f?(0,T.jsx)(I.default,{setShowCompanyList:N}):(0,T.jsxs)(i.A,{container:!0,sx:{justifyContent:"center",flexDirection:"column",alignItems:"center",height:"300px",overflow:"hidden",flexWrap:"nowrap"},children:[(0,T.jsx)("img",{alt:"trackxi-logo",className:A.trackxiLogo,src:"/images/trackxi-logo.svg"}),(0,T.jsxs)(i.A,{container:!0,sx:{justifyContent:"center",padding:"1rem",height:"200px",width:"100%"},children:[(null===v||void 0===v||null===(e=v.companyList)||void 0===e?void 0:e.length)>1&&(0,T.jsx)(r.A,{className:A.textField,select:!0,label:"Select Agent Business Name",children:null===v||void 0===v||null===(t=v.companyList)||void 0===t?void 0:t.map((e,t)=>{return(0,T.jsx)(s.A,{value:e.companyId,onClick:()=>E(e),children:(n=e,(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(o.A,{className:A.companyListAvatar,src:(null===n||void 0===n?void 0:n.companyLogo)||"/images/company-logo.svg"}),(0,T.jsx)(a.A,{className:A.listItemText,children:n.companyName})]}))},`company-${t}`);var n})}),!(null!==v&&void 0!==v&&null!==(n=v.companyList)&&void 0!==n&&n.length)&&(0,T.jsx)(a.A,{className:A.errorText,children:"You don't have active companies"})]}),(0,T.jsx)(l.A,{})]})})};n.d(t,["default",0,A])},19724(e,t,n){n.r(t);var o=n(76776),a=n(74627),i=n(76043),r=n(9950),s=n(46823),l=n(88938),c=n(30403),d=n(42179),u=n(28429),m=n(84393),x=n(94222),I=n(19836),T=n(6449),A=n(44414);const p=e=>{const{transactionList:t=[]}=e,{classes:n}=(0,l.V)(),{classes:p,cx:g}=(0,d.se)(),f=(0,u.Zp)(),{fubContext:N="",fubSignature:S="",setTransactionId:C}=(0,T.w)()||{},h=(0,r.useCallback)(e=>{C(null===e||void 0===e?void 0:e.transactionId),f(`/${m.Wy.TRANSACTION_DATA}/${m.Wy.DISPLAY_TRANSACTION}?context=${encodeURIComponent(N)}&signature=${encodeURIComponent(S)}`,{state:{transObj:e}})},[N,S,f,C]),y=(0,r.useCallback)(()=>{f(`/${m.Wy.TRANSACTION_DATA}/${m.Wy.TRANSACTION_FORM}?context=${encodeURIComponent(N)}&signature=${encodeURIComponent(S)}`)},[N,S,f]),v=(0,r.useCallback)(()=>t.map((e,t)=>(0,A.jsxs)(o.A,{children:[(0,A.jsx)(a.A,{className:g(n.typoText,p.hyperLink,p.textEllipsis),sx:{fontSize:"1rem",color:"blue",padding:"0.5rem 0"},onClick:()=>h(e),children:e.transactionName}),(0,A.jsx)(i.A,{})]},t)),[t,n,p,g,h]),E=(0,r.useCallback)(()=>{f(`${x.Ay.FUB_SELECT_COMPANY}?context=${encodeURIComponent(N)}&signature=${encodeURIComponent(S)}`,{state:{fubSignature:S,fubContext:N}})},[f,N,S]),L=(0,r.useCallback)(()=>(0,A.jsxs)(o.A,{container:!0,className:"v-center",sx:{flexShrink:0},children:[(0,A.jsx)(c.A,{className:n.arrowBackIcon,sx:{width:"20%"},onClick:E}),(0,A.jsx)("img",{alt:"trackxi-logo",className:n.trackxiLogo,src:"/images/trackxi-logo.svg"})]}),[]);return(0,A.jsxs)(o.A,{sx:{mb:"2rem",height:"80vh",display:"flex",flexDirection:"column"},children:[L(),(null===t||void 0===t?void 0:t.length)>0&&(0,A.jsx)(o.A,{sx:{flex:1,minHeight:"100px",overflowY:"auto",pr:1},children:v()}),(0,A.jsxs)(o.A,{sx:{flexShrink:0,mt:(0,I.Im)(t)?"1rem":0},children:[!(0,I.Im)(t)&&(0,A.jsxs)(o.A,{container:!0,sx:{margin:"1rem 0",justifyContent:"center",alignItems:"center"},children:[(0,A.jsx)(o.A,{size:{lg:5,md:5,sm:5,xs:5},children:(0,A.jsx)(i.A,{})}),(0,A.jsx)(o.A,{sx:{display:"flex",justifyContent:"center"},size:{lg:2,md:2,sm:2,xs:2},children:(0,A.jsx)(a.A,{children:"(or)"})}),(0,A.jsx)(o.A,{size:{lg:5,md:5,sm:5,xs:5},children:(0,A.jsx)(i.A,{})})]}),(0,A.jsx)(s.jn,{sx:{width:"100%"},onClick:y,children:"Create New Transaction"})]})]})};n.d(t,["default",0,p])},9651(e,t,n){var o=n(9950),a=n(36684),i=n(76776),r=n(74627),s=n(88938),l=n(42179),c=n(44414);const d=o.memo(()=>{const{classes:e}=(0,s.V)(),{classes:t,cx:n}=(0,l.se)();return(0,c.jsx)(i.A,{className:e.trackxiFooter,size:12,children:(0,c.jsx)(r.A,{className:n(e.typoText,t.hyperLink),sx:{ml:"0.25rem"},onClick:()=>window.open(a.TP),children:"www.Trackxi.com"})})});n.d(t,["A",0,d])},84393(e,t,n){var o=n(85581),a=n(67967);const i=o.Ik().shape({companyId:o.Yj().trim().required("Zipcode is required").nullable(),contactType:o.Yj().trim().required("Zipcode is required").nullable()});n.d(t,["Dz",0,{PROPERTY_INFO:"Property Info",BUYER_INFO:"Buyer Info",SELLER_INFO:"Seller Info",AGENT_INFO:"Agent Info",TITLE_LENDER:"Title & Lender",KEYDATES:"Key Dates",PRICING_INFO:"Pricing Info",CUSTOM_CONTACTS:"Custom Contacts",UTILITY_INFO:"Utility Info"},"F2",0,{BUYER:[["Mutual Agreement Date","mutualAgreementDate"],["Closing Date","contractClosingDate"],["Contract Price","contractPrice"]],SELLER:[["Start Date","sellerInitialMeeting"],["Estimated Go-Live","estimatedGoLive"],["List Price","listPrice"]]},"Fe",0,{PROPERTY_INFO:"PROPERTY_INFO",BUYER_INFO:"BUYER_INFO",SELLER_INFO:"SELLER_INFO",AGENT_INFO:"AGENT_INFO",TITLE_LENDER:"TITLE_LENDER",KEYDATES:"KEYDATES",PRICING_INFO:"PRICING_INFO",UTILITY_INFO:"UTILITY_INFO",CUSTOM_CONTACTS:"CUSTOM_CONTACTS"},"Pu",0,{companyId:null,contactType:null,deal:null},"Wy",0,{TRANS_FORM:"transForm",DISPLAY_TRANSACTION:"transaction/display",DETAILS:"details/*",MORE_DETAILS:":value",TASKS_LIST:"tasksList/*",SINGLE_TASK_DETAIL:":taskId",CREATE_TRANSACTION:"transaction/create",UNLINK:"unlink",TRANSACTION_DATA:"fubTransactionData",TRANSACTION_FORM:"transForm"},"cd",0,[{label:"Buyer",value:"BUYER"},{label:"Seller",value:"SELLER"}],"dc",0,[{label:"Property Info",value:"PROPERTY_INFO"},{label:"Buyer Info",value:"BUYER_INFO"},{label:"Seller Info",value:"SELLER_INFO"},{label:"Agent Info",value:"AGENT_INFO"},{label:"Title & Lender",value:"TITLE_LENDER"},{label:"Key Dates",value:"KEYDATES"},{label:"Pricing Info",value:"PRICING_INFO"},{label:"Utility Info",value:"UTILITY_INFO"},{label:"Custom Contacts",value:"CUSTOM_CONTACTS"}],"hg",0,{DETAILS:"details",TASKS_LIST:"tasksList",UNLINK:"unlink"},"jP",0,i,"jV",0,[{key:"Description",value:"taskDescription",type:"STRING"},{key:"Responsibility",value:"assigneeName",type:"ASSIGNEE"},{key:"Status",value:"taskStatus",type:"STATUS"},{key:"Start Date",value:"taskStartDate",type:"DATE"},{key:"Due Date",value:"taskDueDate",type:"DATE"}],"wd",0,e=>[a.Ao.BUYER,a.Ao.SELLER_POST_CONTRACT].includes(e)])},88938(e,t,n){const o=(0,n(53350).makeStyles)()(e=>({typoText:{color:e.custom.text.black50,fontSize:"1rem",display:"flex",alignItems:"center"},trackxiLogo:{width:"50%",margin:"1rem 1rem 1.25rem 1rem"}
1,typoValue:{color:e.custom.button.background,fontSize:"1rem",display:"flex",alignItems:"center",fontWeight:600,marginLeft:"0.5rem"},arrowBackIcon:{marginRight:"0.75rem",fontSize:"1.25rem",cursor:"pointer"},chip:{backgroundColor:e.custom.icon.background,fontSize:e.typography.fontSize,borderRadius:"0.5rem",margin:"0.5rem"},detailsText:{fontSize:"1rem",fontWeight:600},taskName:{fontSize:"0.875rem",textOverflow:"ellipsis",overflow:"hidden",textWrap:"nowrap",width:"92%",marginLeft:"0.5rem"},taskNameCard:{backgroundColor:"#ffffff",cursor:"pointer",border:`1px solid ${e.palette.grey[300]}`,padding:"0.5rem",minHeight:"40px",width:"100%","&:hover":{backgroundColor:e.custom.icon.backgroundHover}},statusColor:{width:"0.75rem",height:"0.75rem",borderRadius:"20px",display:"inline-block"},textField:{width:"100%",".MuiFormHelperText-root":{marginLeft:0},"& .MuiSelect-select":{display:"flex",fontSize:"1rem"}},companyListAvatar:{height:"1.25rem",width:"1.25rem",marginRight:"0.75rem"},listItemText:{textOverflow:"ellipsis",wordBreak:"break-word",overflow:"hidden",fontSize:"1rem"},errorText:{fontSize:"1rem",fontWeight:600,color:e.custom.text.red},trackxiFooter:{position:"fixed",bottom:0,width:"100%",justifyContent:"center",display:"flex",background:"#ffffff"},noTasksText:{fontSize:"1rem",textAlign:"center",margin:"2rem auto",color:e.custom.text.black50},textEllipsis:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},infoContainer:{border:`1px solid ${e.palette.grey[300]}`,backgroundColor:e.custom.automation.backgroundColor}}));n.d(t,["V",0,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.