import{_ as d,m as c,o as s,c as o,a,l as n}from"./BDipKYNj.js";import{u as i}from"./useOmedaForm-Y1iTUYts.mjs";const m={props:{url:{type:String,required:!0},height:{type:Number,default:1e3}},data(){const r=`${this.url.split("omedasite=")[1]}`,t=r.split("&")[0];return c({script:[{type:"text/javascript",src:`https://endeavor.dragonforms.com/getEmbeddedClientScript.do?embeddedsite=${t}`}]}),{src:null,formId:t,qs:r}},async mounted(){this.src=await i.buildIframeSrc(`https://endeavor.dragonforms.com/${this.formId}&dragoniframe=true`)}},p={class:"web-omeda-dragonform"},u=["id"],_=["id","src"];function f(r,t,l,h,e,b){return s(),o("div",p,[e.src?(s(),o("div",{key:0,id:`container-${e.formId}`,class:"ebm-omeda-form"},[a("iframe",{id:e.formId,src:e.src},null,8,_)],8,u)):n("",!0)])}const I=d(m,[["render",f],["__scopeId","data-v-5b6dd4ef"]]);export{I as default};