1import{n as l,d as B,u as f,N as c}from"./main-a79477bd.js";import{T as x}from"./TheFlashAlerts-66e95c7a.js";import{q as o,m as i}from"./700-33945e34.js";import{B as F}from"./BaseBackendDataTableLined-ccc827e0.js";import{S as n}from"./SortService-fa3b0fae.js";import{w as E}from"./FallbackUtils-f48609d9.js";import{D as _}from"./DateFormatter-394ab976.js";import{a as P}from"./NumberFormatter-ee7c1e6f.js";import{a as u,B as d}from"./BaseFilterTableSelectInfo-71608b67.js";import{a as m}from"./AdminPermissionService-eed23d16.js";import{B as v}from"./BaseBlockHeader-0daa82d4.js";import{B as b}from"./BaseButtonContainer-c2b3c591.js";import{B as h}from"./BaseButton-e60948fb.js";import{B as T}from"./BaseFormModal-617a2d2f.js";import{B as C}from"./BaseInputDate-61ed6328.js";import{d as g}from"./FileUtility-aac1b0fd.js";import{B as w}from"./BaseInputAjaxSelect-5f0fec36.js";import{B as R}from"./BaseAlert-fbd936d6.js";import"./productUsage-9d408814.js";import"./CollectionUtils-3c1828b1.js";import"./BaseFilterCollection-2f9d4f91.js";import"./vue-autonumeric.min-31b4d087.js";import"./InertiaUrlUtils-9bed72e8.js";import"./BaseNoDataBox-49e9ed9e.js";import"./BaseSearchSelect-f710957c.js";import"./FontAwesomeIcon-78ce7022.js";import"./vue-select-5b4cafe9.js";import"./BaseCheckbox-5f8199a8.js";import"./BaseDropdown-7b0fd886.js";import"./lodash-6671e769.js";import"./BaseSearch-719a657d.js";import"./BaseDate-8a13d2d9.js";import"./InputMixin-e4836f08.js";import"./ObjectUtils-89f2450e.js";import"./BaseUtils-3068e455.js";import"./index.esm-5d4f622a.js";import"./BaseCheckboxWithLabel-c6b106e7.js";import"./BaseModal-5f90a9fa.js";import"./ProvidedSymbols-63ad3450.js";import"./BaseFormField-bb33a93d.js";const M={name:"BaseTableFilterSelect",props:{value:{type:[String,Number],required:!0},options:{type:Array,required:!0}},emits:["input","change"],data(){return{isDropdownOpen:!1}},computed:{selectedLabel(){const r=this.options.find(e=>e.value===this.value);return r?r.label:"Select option"}},methods:{selectOption(r){this.$emit("input",r),this.$emit("change",r),this.isDropdownOpen=!1}}};var A=function(){var e=this,a=e._self._c;return a("div",{staticClass:"base-table-filter-select"},[e.isDropdownOpen?a("div",{staticClass:"base-table-filter-select__overlay",on:{click:function(t){e.isDropdownOpen=!1}}}):e._e(),a("div",{staticClass:"base-table-filter-select__container"},[a("button",{staticClass:"base-table-filter-select__toggle",attrs:{type:"button"},on:{click:function(t){e.isDropdownOpen=!e.isDropdownOpen}}},[a("span",{staticClass:"base-table-filter-select__label"},[e._v(" "+e._s(e.selectedLabel)+" ")]),a("span",{staticClass:"base-table-filter-select__caret"})]),e.isDropdownOpen?a("div",{staticClass:"base-table-filter-select__menu"},e._l(e.options,function(t){return a("div",{key:t.value,staticClass:"base-table-filter-select__item",class:{"base-table-filter-select__item--active":e.value===t.value},on:{click:function(s){return e.selectOption(t.value)}}},[e._v(" "+e._s(t.label)+" ")])}),0):e._e()])])},$=[],N=l(M,A,$,!1,null,"864f2de8",null,null);const I=N.exports;const O={name:"RealTimeValuationsTable",components:{BaseTableFilterSelect:I,BaseTooltipValue:B,BaseBackendDataTableLined:F},mixins:[_,P],props:{valuationType:{type:String,required:!0},completedMassOnboardingIds:{type:Array,required:!0},industries:{type:Array,default:()=>[]},fundingClasses:{type:Array,default:()=>[]}},data(){return{performancePeriod:"1M",performanceOptions:[{label:"Performance: 1 Month (30d)",value:"1M"},{label:"Performance: 3 Months",value:"3M"},{label:"Performance: 6 Months",value:"6M"},{label:"Performance: 1 Year",value:"1Y"}],syncingCompanies:[]}},computed:{isFmvType(){return this.valuationType===this.$page.props.share.types.real_time_valuation_types.TYPE_FMV},canEditReport(){return m.can("valuations","update")},columns(){const r={};return r.companyName={search:!0,name:"Company",sort:{type:n.SORT_TYPE_STRING},fixed:!0},r.createdAt={search:!1,name:"Created At",sort:{type:n.SORT_TYPE_DATE},filter:{title:"Created At Range",type:u,options:{title:"Date range"},matchMode:this.$page.props.share.constants.data_table_match_modes.BETWEEN}},r.valuationDate={search:!1,name:"Valuation Date",sort:{type:n.SORT_TYPE_DATE},filter:{title:"Valuation Date Range",type:u,options:{title:"Date range"},matchMode:this.$page.props.share.constants.data_table_match_modes.BETWEEN}},r.isSubmitted={search:!1,name:"Is Submitted",sort:{type:n.SORT_TYPE_STRING}},r.valuationApproachesUsedInLatestVersion={search:!1,name:"Approaches Used",sort:{type:n.SORT_TYPE_STRING}},r.totalValuation={search:!1,name:"Total Valuation",sort:!1},r.fairMarketValue={search:!1,name:"Fair Market Value",sort:!1},r.calculationsStatus={search:!1,name:"Calculations Status",sort:{type:n.SORT_TYPE_STRING}},this.isFmvType&&(r.recentFundingDate={search:!1,name:"Recent Funding (Date)",sort:{type:n.SORT_TYPE_DATE}},r.recentFundingAmount={search:!1,name:"Recent Funding Round (Amount)",sort:{type:n.SORT_TYPE_NUMBER}},r.recentFundingClassName={search:!1,name:"Recent Funding Class Name",sort:{type:n.SORT_TYPE_STRING},filter:{title:"Recent Funding Class Name",type:d,matchMode:this.$page.props.share.constants.data_table_match_modes.IN,multiple:!0,items:this.fundingClasses,options:{searchable:!0}}},r.performanceChange={search:!1,name:"% Change",sort:!1},r.vsLastRoundChange={search:!1,name:"% vs. Last Round",sort:!1},r.industry={search:!1,name:"Industry",sort:{type:n.SORT_TYPE_STRING},filter:{title:"Industry",type:d,matchMode:this.$page.props.share.constants.data_table_match_modes.IN,multiple:!0,items:this.industries,options:{searchable:!0}}},r.companyDescription={search:!1,name:"Company Description",sort:!1}),r.massOnboardingId={search:!1,name:"Mass Onboarding ID",sort:{type:n.SORT_TYPE_NUMBER},filter:{title:"Mass Onboarding ID",type:d,matchMode:this.$page.props.share.constants.data_table_match_modes.IN,multiple:!0,items:this.completedMassOnboardingIds.map(e=>({label:e.toString(),value:e})),options:{searchable:!0}}},r.actionsColumn={name:"Actions",sort:!1,search:!1},r},fetchUrl(){const r={performancePeriod:this.performancePeriod};return this.isFmvType?o("admin.realTimeValuation.getFmvIndexDataTable",r):o("admin.realTimeValuation.get409aIndexDataTable",r)},BaseTableFilterDateRange(){return u}},methods:{withFallback:E,reloadTable(){this.$refs.realTimeValuationsTable&&this.$refs.realTimeValuationsTable.$refs.baseBackendFilterTable.fetchData()},handleSyncCompany(r){this.syncingCompanies.includes(r)||(this.syncingCompanies.push(r),i.post(o("admin.realTimeValuation.handleSyncCompanyFmv",{company:r})).then(e=>{const a=e.data.syncStartedAt;this.$toast&&this.$toast.success("Sync started. Calculating...");let t=0;const s=15,y=setInterval(()=>{if(t++,t>=s){clearInterval(y),this.syncingCompanies=this.syncingCompanies.filter(p=>p!==r),this.$toast&&this.$toast.warning("Sync is taking longer than expected. Please refresh later.");return}i.get(o("admin.realTimeValuation.checkSyncCompanyFmvStatus",{company:r,started_at:a})).then(p=>{p.data.isFinished&&(clearInterval(y),this.syncingCompanies=this.syncingCompanies.filter(S=>S!==r),this.reloadTable(),this.$toast&&this.$toast.success("Valuation data updated successfully."))})},4e3)}
1).catch(()=>{this.syncingCompanies=this.syncingCompanies.filter(e=>e!==r),this.$toast&&this.$toast.error("Failed to start sync.")}))},getNewAdminUrl(r){return this.valuationType===this.$page.props.share.types.real_time_valuation_types.TYPE_FMV?o("admin.realTimeValuation.detailFmv",{realTimeValuation:r}):o("admin.realTimeValuation.detail409a",{realTimeValuation:r})}}};var V=function(){var e=this,a=e._self._c;return a("div",[a("BaseBackendDataTableLined",{ref:"realTimeValuationsTable",attrs:{url:e.fetchUrl,"no-data-text":"No real time valuations found","no-filtered-data-text":"No real time valuations match your search","no-data-white-background":!0,"search-placeholder":"Search company","search-title":"Type search term","show-filters":!0,"show-search":!0,pagination:!0,"pagination-select-show":!0,"filter-multiple":!0,"show-column-visibility":!0,columns:e.columns},scopedSlots:e._u([{key:"filter-bar-middle",fn:function(){return[e.isFmvType?a("div",{staticClass:"performance-filter-wrapper"},[a("BaseTableFilterSelect",{attrs:{options:e.performanceOptions},on:{change:e.reloadTable},model:{value:e.performancePeriod,callback:function(t){e.performancePeriod=t},expression:"performancePeriod"}})],1):e._e()]},proxy:!0},{key:"companyName-body",fn:function({itemValue:t}){return[a("BaseTooltipValue",{staticClass:"overflow-tooltip__company-name",attrs:{content:e.withFallback(t)}})]}},{key:"createdAt-body",fn:function({itemValue:t}){return[e._v(" "+e._s(e.formatDate(t))+" ")]}},{key:"valuationDate-body",fn:function({itemValue:t}){return[e._v(" "+e._s(e.formatDate(t))+" ")]}},{key:"isSubmitted-body",fn:function({itemValue:t}){return[e._v(" "+e._s(t?"Yes":"No")+" ")]}},{key:"valuationApproachesUsedInLatestVersion-body",fn:function({itemValue:t}){return[a("BaseTooltipValue",{staticClass:"overflow-tooltip__real-time-valuation-approaches-used",attrs:{content:e.withFallback(t)}})]}},{key:"totalValuation-body",fn:function({itemValue:t,row:s}){return[e._v(" "+e._s(t!=null&&t!==""&&!isNaN(t)?e.formatPrice(t,s.reportingCurrency??e.$page.props.share.constants.default_currency.ID):"-")+" ")]}},{key:"fairMarketValue-body",fn:function({itemValue:t,row:s}){return[e._v(" "+e._s(t!=null&&t!==""&&!isNaN(t)?e.formatPrice(t,s.reportingCurrency??e.$page.props.share.constants.default_currency.ID,2):"-")+" ")]}},{key:"calculationsStatus-body",fn:function({itemValue:t}){return[e._v(" "+e._s(t)+" ")]}},{key:"recentFundingDate-body",fn:function({itemValue:t}){return[e._v(" "+e._s(t?e.formatDate(t):"-")+" ")]}},{key:"recentFundingAmount-body",fn:function({itemValue:t,row:s}){return[e._v(" "+e._s(t!=null&&t!==""&&!isNaN(t)?e.formatPrice(t,s.reportingCurrency??e.$page.props.share.constants.default_currency.ID):"-")+" ")]}},{key:"recentFundingClassName-body",fn:function({itemValue:t}){return[a("BaseTooltipValue",{staticClass:"overflow-tooltip__industry",attrs:{content:e.withFallback(t)}})]}},{key:"performanceChange-body",fn:function({itemValue:t}){return[t==null?a("span",[e._v("-")]):a("span",{staticClass:"performance-change-value",class:{"performance-change-value--positive":t>0,"performance-change-value--negative":t<0}},[e._v(" "+e._s(t>0?"+":"")+e._s(e.formatPercent(t))+" ")])]}},{key:"vsLastRoundChange-body",fn:function({itemValue:t}){return[t==null?a("span",[e._v("-")]):a("span",{staticClass:"performance-change-value",class:{"performance-change-value--positive":t>0,"performance-change-value--negative":t<0}},[e._v(" "+e._s(t>0?"+":"")+e._s(e.formatPercent(t))+" ")])]}},{key:"industry-body",fn:function({itemValue:t}){return[a("BaseTooltipValue",{staticClass:"overflow-tooltip__industry",attrs:{content:e.withFallback(t)}})]}},{key:"companyDescription-body",fn:function({itemValue:t}){return[a("BaseTooltipValue",{staticClass:"overflow-tooltip__company-description",attrs:{content:e.withFallback(t)}})]}},{key:"massOnboardingId-body",fn:function({itemValue:t}){return[e._v(" "+e._s(t||"-")+" ")]}},{key:"actionsColumn-body",fn:function({row:t}){return[a("div",{staticClass:"rtv-table__actions"},[e.isFmvType&&e.canEditReport?a("button",{staticClass:"btn btn--grey",attrs:{disabled:e.syncingCompanies.includes(t.companyId)},on:{click:function(s){return s.preventDefault(),e.handleSyncCompany(t.companyId)}}},[e._v(" "+e._s(e.syncingCompanies.includes(t.companyId)?"Syncing...":"Sync")+" ")]):e._e(
1),e.canEditReport?a("InertiaLink",{staticClass:"btn btn--grey btn--sm",attrs:{href:e.getNewAdminUrl(t.id)}},[e._v(" Detail ")]):e._e()],1)]}}])})],1)},Y=[],q=l(O,V,Y,!1,null,"676b515c",null,null);const L=q.exports;const k="download-report-modal",Q={name:"DownloadReportModal",components:{BaseButtonContainer:b,BaseFormModal:T,BaseBlockHeader:v,BaseInputDate:C,BaseButton:h},mixins:[_],props:{reportType:{type:String,required:!0}},data(){return{modalStore:f(),modalName:k,processing:!1,processingAll:!1,form:{from:"",to:""}}},methods:{async onSubmit(){this.processing=!0;try{const r=route("admin.realTimeValuation.downloadTimeReportRange",{type:this.reportType,from:this.form.from,to:this.form.to}),e=await i.get(r,{responseType:"blob"}),a=this.createFileName();g(a,e.data),this.closeModal()}catch(r){console.error("Download range failed:",r),this.$toast.error("Error occurred while downloading processing times report. Please try again.")}finally{this.processing=!1}},async onDownloadAll(){this.processingAll=!0;try{const r=route("admin.realTimeValuation.downloadTimeReportAll",{type:this.reportType}),e=await i.get(r,{responseType:"blob"}),a=this.createFileName();g(a,e.data),this.closeModal()}catch(r){console.error("Download all failed:",r),this.$toast.error("Error occurred while downloading processing times report. Please try again.")}finally{this.processingAll=!1}},closeModal(){this.modalStore.hide(this.modalName)},createFileName(){return`processing_times_report_${this.formatDate(new Date,"YYYY-MM-DD_HH-mm-ss")}.xlsx`}}};var G=function(){var e=this,a=e._self._c;return a("div",{staticClass:"download-report-modal-component"},[a("BaseFormModal",{attrs:{name:e.modalName,"show-close":!0},on:{submit:e.onSubmit},scopedSlots:e._u([{key:"header",fn:function(){return[a("BaseBlockHeader",{attrs:{"sub-title":"Select date range of valuation date for the report",title:"Download Processing Times Report"}})]},proxy:!0},{key:"default",fn:function(){return[a("BaseInputDate",{staticClass:"download-report-modal__margin-top",attrs:{rules:{required:!0},label:"From",placeholder:"Select start date"},model:{value:e.form.from,callback:function(t){e.$set(e.form,"from",t)},expression:"form.from"}}),a("BaseInputDate",{staticClass:"download-report-modal__margin-top",attrs:{rules:{required:!0},label:"To",placeholder:"Select end date"},model:{value:e.form.to,callback:function(t){e.$set(e.form,"to",t)},expression:"form.to"}})]},proxy:!0},{key:"footer",fn:function(){return[a("BaseButtonContainer",[a("BaseButton",{staticClass:"btn btn--grey",attrs:{type:"button",processing:e.processingAll},on:{click:e.onDownloadAll}},[e._v(" Download All ")]),a("BaseButton",{staticClass:"btn--blue",attrs:{processing:e.processing,type:"submit"}},[e._v(" Download ")])],1)]},proxy:!0}])})],1)},U=[],H=l(Q,G,U,!1,null,"d452982d",null,null);const z=H.exports;const D="create-from-quickbooks-modal",j={name:"CreateFromQuickBooksModal",components:{BaseFormModal:T,BaseInputAjaxSelect:w,BaseInputDate:C,BaseButton:h,BaseAlert:R},mixins:[_],data(){return{modalStore:f(),modalName:D,selectedConnection:null,periodStartDate:"",periodEndDate:"",processing:!1}},computed:{canSubmit(){return this.selectedConnection?this.selectedConnection.has_industry:!1}},methods:{handleSubmit(){this.canSubmit&&(this.processing=!0,c.post(route("admin.realTimeValuation.handleCreateFromQuickBooks"),{quickBooksConnectionId:this.selectedConnection.id,periodStartDate:this.periodStartDate,periodEndDate:this.periodEndDate},{preserveState:!0,preserveScroll:!0,onSuccess:()=>{this.resetForm(),this.modalStore.hide(this.modalName)},onFinish:()=>{this.processing=!1}}))},resetForm(){this.selectedConnection=null,this.periodStartDate="",this.periodEndDate=""}}};var W=function(){var e=this,a=e._self._c;return a("BaseFormModal",{attrs:{name:e.modalName,"show-close":!0,title:"Create Valuation from QuickBooks",subtitle:"Pull financial data from a company's QuickBooks account for a custom date range."},on:{submit:e.handleSubmit},scopedSlots:e._u([{key:"default",fn:function(){return[a("BaseInputAjaxSelect",{staticClass:"create-from-quickbooks-modal__field",attrs:{"ajax-route":e.route("admin.realTimeValuation.searchQuickBooksConnections"),"option-label-key":"company_name",placeholder:"Search by company name or ID...",rules:"required","validator-input-name":"Company",clearable:!0},model:{value:e.selectedConnection,callback:function(t){e.selectedConnection=t},expression:"selectedConnection"}}),e.selectedConnection?a("div",{staticClass:"create-from-quickbooks-modal__connection-info"}
1,[e.selectedConnection.is_usable?e.selectedConnection.has_industry?a("BaseAlert",{attrs:{type:"info"}},[e._v(" Currency: "+e._s(e.selectedConnection.currency_iso_code)+" · Connected: "+e._s(e.formatDate(e.selectedConnection.created_at))+" ")]):a("BaseAlert",{attrs:{type:"warning"}},[e._v(" This company has no industry set. An industry is required to create a valuation. ")]):a("BaseAlert",{attrs:{type:"warning"}},[e._v(" This connection's authorization has expired and may no longer be usable. ")])],1):e._e(),a("BaseInputDate",{staticClass:"create-from-quickbooks-modal__field",attrs:{"datepicker-classes":["full-width"],rules:"required",label:"Period Start",format:"MM/DD/YYYY"},model:{value:e.periodStartDate,callback:function(t){e.periodStartDate=t},expression:"periodStartDate"}}),a("BaseInputDate",{staticClass:"create-from-quickbooks-modal__field",attrs:{"datepicker-classes":["full-width"],rules:"required",label:"Period End",format:"MM/DD/YYYY"},model:{value:e.periodEndDate,callback:function(t){e.periodEndDate=t},expression:"periodEndDate"}})]},proxy:!0},{key:"footer",fn:function(){return[a("BaseButton",{staticClass:"btn--blue",attrs:{type:"submit",processing:e.processing,disabled:!e.canSubmit}},[e._v(" Create Valuation ")])]},proxy:!0}])})},J=[],K=l(j,W,J,!1,null,"799c3cd3",null,null);const X=K.exports;const Z=5e3,ee={name:"RealTimeValuationIndexPage",components:{BaseButton:h,BaseButtonContainer:b,RealTimeValuationsTable:L,TheFlashAlerts:x,BaseBlockHeader:v,RealTimeValuationDownloadProcessingTimesModal:z,CreateFromQuickBooksModal:X},props:{valuationType:{type:String,required:!0},completedMassOnboardingIds:{type:Array,required:!0},industries:{type:Array,default:()=>[]},fundingClasses:{type:Array,default:()=>[]},latestFmvExportTime:{type:Number,default:null}},data(){return{modalStore:f(),isPreparingExport:!1,pollingInterval:null,currentExportTime:this.latestFmvExportTime}},computed:{isFmvType(){return this.valuationType===this.$page.props.share.types.real_time_valuation_types.TYPE_FMV},hasPreparedExport(){return this.currentExportTime!==null},prepareButtonLabel(){return this.isPreparingExport?"Preparing Excel...":this.hasPreparedExport?"Regenerate Excel":"Prepare Table as Excel"},canOnboard(){return m.can("valuations","create")},canExportValuations(){return m.can("valuations","read")}},mounted(){this.isFmvType&&this.checkExportStatusOnLoad()},beforeDestroy(){this.clearPolling()},methods:{openDownloadModal(){this.modalStore.show(k)},navigateTo409aOnboarding(){c.visit(route("valuation409aOnboarding.index"))},prepareFmvTable(){var e;if(this.isPreparingExport)return;this.isPreparingExport=!0;const r=((e=this.$refs.valuationsTable)==null?void 0:e.performancePeriod)??"1M";c.post(route("admin.realTimeValuation.handlePrepareExportFmvTable"),{performancePeriod:r},{preserveScroll:!0,onSuccess:()=>{this.startPollingExportStatus()},onError:()=>{this.isPreparingExport=!1,this.showFlashAlert("Failed to start export. Please try again.","error")}})},async checkExportStatusOnLoad(){try{const r=await i.get(route("admin.realTimeValuation.handleExportFmvTableStatus")),{latest_export_time:e,is_processing:a,status:t}=r.data;t==="completed"&&(this.currentExportTime=e),a&&(this.isPreparingExport=!0,this.startPollingExportStatus())}catch{}},startPollingExportStatus(){this.clearPolling(),this.currentExportTime,this.pollingInterval=setInterval(async()=>{try{const r=await i.get(route("admin.realTimeValuation.handleExportFmvTableStatus")),{latest_export_time:e,is_processing:a,status:t}=r.data;a||(this.clearPolling(),this.isPreparingExport=!1,t==="completed"?(this.currentExportTime=e,this.showFlashAlert("Your Excel export is ready to download!","success")):t==="failed"&&this.showFlashAlert("Export failed. Please try again.","error"))}catch{this.isPreparingExport=!1,this.clearPolling(),this.showFlashAlert("Error checking export status. Please refresh the page.","error")}},Z)},clearPolling(){this.pollingInterval&&(clearInterval(this.pollingInterval),this.pollingInterval=null)},downloadPreparedFmvTable(){window.location.href=route("admin.realTimeValuation.handleDownloadPreparedFmvTable")},showFlashAlert(r,e){this.$page.props.flash={alert:[{message:r,type:e}]}},openCreateFromQuickBooksModal(){this.modalStore.show(D)},navigateToOnboarding(){c.visit(route("realTimeValuationOnboarding.form"))}}};var te=function(){var e=this,a=e._self._c;return a("div",{attrs:{id:"real-time-valuation-index-page"}},[a("InertiaHead",{attrs:{title:`Real Time Valuations - ${e.valuationType}`}}),a("TheFlashAlerts"),a("BaseBlockHeader",{attrs:{title:`Real Time Valuations - ${e.valuationType}`}}),a("BaseButtonContainer",{staticClass:"export-actions-container"},[e.canOnboard&&e.valuationType===e.$page.props.share.types.real_time_valuation_types.TYPE_409A?a("BaseButton",{staticClass:"btn btn--green",on:{click:function(t){return t.preventDefault(),e.navigateTo409aOnboarding.apply(null,arguments)}}}
1,[e._v(" 409A Onboarding ")]):e._e(),e.isFmvType?a("BaseButton",{staticClass:"btn btn--green",on:{click:function(t){return t.preventDefault(),e.openCreateFromQuickBooksModal.apply(null,arguments)}}},[e._v(" Create from QuickBooks ")]):e._e(),e.canExportValuations&&e.valuationType!==e.$page.props.share.types.real_time_valuation_types.TYPE_FMV?a("BaseButton",{staticClass:"btn btn--green",on:{click:function(t){return t.preventDefault(),e.openDownloadModal.apply(null,arguments)}}},[e._v(" Download Processing Times Report ")]):e._e(),a("BaseButton",{staticClass:"btn btn--green",on:{click:function(t){return t.preventDefault(),e.navigateToOnboarding.apply(null,arguments)}}},[e._v(" One-Step RTV ")]),a("BaseButton",{staticClass:"btn btn--green",on:{click:function(t){return t.preventDefault(),e.openDownloadModal.apply(null,arguments)}}},[e._v(" Download Processing Times Report ")]),e.isFmvType&&e.canExportValuations?[e.hasPreparedExport&&!e.isPreparingExport?a("BaseButton",{staticClass:"btn btn--blue",on:{click:function(t){return t.preventDefault(),e.downloadPreparedFmvTable.apply(null,arguments)}}},[e._v(" Download Prepared Excel ")]):e._e(),a("BaseButton",{directives:[{name:"tippy",rawName:"v-tippy",value:"Generating this report might take a few minutes depending on the data size.",expression:` 2 'Generating this report might take a few minutes depending on the data size.' 3 `}],staticClass:"btn btn--green",attrs:{disabled:e.isPreparingExport},on:{click:function(t){return t.preventDefault(),e.prepareFmvTable.apply(null,arguments)}}},[e._v(" "+e._s(e.prepareButtonLabel)+" ")])]:e._e()],2),a("RealTimeValuationsTable",{ref:"valuationsTable",attrs:{"valuation-type":e.valuationType,"completed-mass-onboarding-ids":e.completedMassOnboardingIds,industries:e.industries,"funding-classes":e.fundingClasses}}),a("RealTimeValuationDownloadProcessingTimesModal",{attrs:{"report-type":e.valuationType}}),e.isFmvType?a("CreateFromQuickBooksModal"):e._e()],1)},ae=[],re=l(ee,te,ae,!1,null,"af2747fa",null,null);const Ge=re.exports;export{Ge as default};
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.