import{r as t,e as i,h as o}from"./p-a89095f5.js";import{s}from"./p-9e8ba117.js";import"./p-d7f93824.js";import"./p-2a0c7fc9.js";import"./p-86bd3473.js";import"./p-65879f9e.js";import"./p-60cf0cc2.js";const a=class{constructor(o){t(this,o),this.fireenjinFetch=i(this,"fireenjinFetch",7),this.jobId=void 0}async fetchJob(){this.jobId&&this.fireenjinFetch.emit({endpoint:"findJob",params:{id:this.jobId,withPayments:!0,withUsers:!0,withSites:!0,withPayModel:!0,withPhotos:!0,withEfiles:!0,withPayables:!1,withReadings:!0}})}componentDidLoad(){!(null==s?void 0:s.job)&&this.jobId&&this.fetchJob()}render(){return[o("ion-content",{class:"ion-padding",style:{position:"relative"}},o("floodteam-title-bar",{back:`/jobs/${this.jobId}`,icon:"logo-usd"},o("ion-router-link",{href:"/payments"},"Make a Payment")),o("ion-card",{style:{width:"90%",maxWidth:"800px",margin:"10% auto"}},o("floodteam-payment-flow",{jobId:this.jobId}))),o("floodteam-navigation-footer",null)]}};a.style="";export{a as app_pay}