1import{C as f}from"./ChecklistCheckedIcon-ALhYSAkv.js";import{_ as C,l as h,U as k,r,p as s,o,w as n,d as i,b as v,c as E,a as p,e as l,a9 as c,cW as N,cX as S,cY as T,cZ as b,cV as _,c_ as y}from"./main-Bge94KFw.js";import{S as w}from"./StandaloneToolWrapper-D9UpEIpa.js";const{mapGetters:B}=h("quote"),O={components:{ChecklistCheckedIcon:f,UpackButton:k,StandaloneToolWrapper:w},props:{insectInspectionFormStatus:{default:"",validator:function(d){return Object.values(_).includes(d)||!d}},isReserved:{type:Boolean,default:!1},quoteIdEncrypted:{type:String,default:""}},computed:{...B({insectInpectionHubspotFormSubmitted:y}),isPdfReceived(){return this.insectInspectionFormStatus===_.Received},isPdfProcessing(){return this.insectInpectionHubspotFormSubmitted&&this.insectInspectionFormStatus===_.Required}},mounted(){this.checkIfNotReceivedOrProcessingRedirect(),c(b,{message:"Insect Inspection Form received message displayed"})},methods:{checkIfNotReceivedOrProcessingRedirect(){!this.isPdfProcessing&&!this.isPdfReceived&&window.location.replace("/moving-resources/documents-and-tools/insect-inspection")},handleChecklistButtonClick(){c(T,{message:"Insect Inspection view checklist button clicked"}),window.location.href=`/pdf/insect-inspection?id=${this.quoteIdEncrypted}`},handleDashboardButtonClick(){c(S,{message:"Insect Inspection view dashboard button clicked"}),window.location.href=`/dashboard?id=${this.quoteIdEncrypted}`},handleQuoteButtonClick(){c(N,{message:"Insect Inspection view quote button clicked"}),window.location.href=`/moving-quotes/quoteview?id=${this.quoteIdEncrypted}`}}},P={class:"insect-inspection-form-received"},R={class:"insect-inspection-form-received__content"},g={key:0,class:"insect-inspection-form-received__subheader"},F={class:"insect-inspection-form-received__body insect-inspection-form-received__body--pdf"};function V(d,e,u,D,q,t){const m=r("checklist-checked-icon"),a=r("upack-button"),I=r("standalone-tool-wrapper");return o(),s(I,null,{default:n(()=>[i("div",P,[v(m,{class:"insect-inspection-form-received__icon"}),i("div",R,[e[3]||(e[3]=i("h2",{class:"insect-inspection-form-received__header"}," Insect Inspection Form Received ",-1)),t.isPdfProcessing?(o(),E("div",g," We've received your form and are processing the information. Your confirmation will be available here soon. ")):p("",!0),i("div",F,[t.isPdfReceived?(o(),s(a,{key:0,onClick:t.handleChecklistButtonClick},{default:n(()=>e[0]||(e[0]=[l(" View Form Confirmation ")])),_:1,__:[0]},8,["onClick"])):p("",!0),u.isReserved?(o(),s(a,{key:1,type:"alt",onClick:t.handleDashboardButtonClick},{default:n(()=>e[1]||(e[1]=[l(" Go To MyMove Dashboard ")])),_:1,__:[1]},8,["onClick"])):(o(),s(a,{key:2,type:"alt",onClick:t.handleQuoteButtonClick},{default:n(()=>e[2]||(e[2]=[l(" View My Quote ")])),_:1,__:[2]},8,["onClick"]))])])])]),_:1})}const W=C(O,[["render",V]]);export{W 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.