1import{d as f,s as e,r as v,ad as b,z as g,f as _,i as t,D as h,a9 as w,j as c,g as y}from"./Du_l-ZPp.js";import{u as I}from"./C6zddGUr.js";const x={class:"relative max-w-600px mx-auto py-4 lg:py-16 min-h-1200px"},C={class:"absolute top-10 inset-0 flex items-center justify-center"},F=["id"],D=f({__name:"CmsElementWsnycHeadlessHubspotForm",props:{content:{}},setup(d){const o=I(d.content),s=e(()=>o("formId")),l=e(()=>o("portalId")),u=e(()=>o("region")),p=e(()=>o("src")),n=e(()=>`wsnyc-${s.value}`),r=v(!1);b({script:{src:p.value,tagPosition:"bodyClose"}});const m=()=>{window.hbspt!==void 0&&hbspt.forms.create({portalId:l.value,formId:s.value,region:u.value,target:`#${n.value}`,onFormReady:()=>{r.value=!0}})},a=()=>{if(window.hbspt===void 0){setTimeout(a,500);return}m()};return g(()=>{a()}),(H,i)=>(y(),_("div",null,[t("div",x,[h(t("div",C,i[0]||(i[0]=[t("div",{class:"w-12 h-12 border-4 border-[--color-content-base-accent] border-t-transparent rounded-full animate-spin"},null,-1)]),512),[[w,!c(r)]]),t("div",{id:c(n)},null,8,F)])]))}});export{D 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.