import{r as t,h as i}from"./p-03169580.js";import{s as o}from"./p-02c5cd3a.js";import"./p-59c95c5f.js";import"./p-c9699503.js";import"./p-80de33dc.js";import"./p-c2fbed0d.js";import"./p-3a8e6af1.js";let s=class{constructor(i){t(this,i);this.zoom=1;this.resize=false;this.allowFullscreen=false;this.disablePositioning=false}componentDidLoad(){try{this.templateEl.shadowRoot.querySelector(".contract-header").remove();this.templateEl.shadowRoot.querySelector(".contract-footer").remove()}catch(t){console.log(t)}if(!this.disablePositioning)return;const t=this.templateEl.shadowRoot.querySelector(".render-wrapper");if(t)t.style.position="relative"}render(){var t,s;const e=this.template||((s=(t=o===null||o===void 0?void 0:o.templates)===null||t===void 0?void 0:t.find)===null||s===void 0?void 0:s.call(t,(t=>(t===null||t===void 0?void 0:t.id)===this.templateId)));const l=this.helpers||(o===null||o===void 0?void 0:o.helpers)||{};const r=(this.partials||(o===null||o===void 0?void 0:o.templates)||[]).filter((t=>!!(t===null||t===void 0?void 0:t.partial))).map((t=>({html:(t===null||t===void 0?void 0:t.html)||"",id:(t===null||t===void 0?void 0:t.id)||null})));return i("fireenjin-render-template",{ref:t=>this.templateEl=t,disableFrame:true,template:e,templateId:this.templateId,data:this.data,helpers:l,partials:r,zoom:this.zoom,allowFullscreen:this.allowFullscreen,resize:this.resize,rawHtml:this.rawHtml})}};export{s as floodteam_template};
//# sourceMappingURL=p-62b0c0d1.entry.js.map