1const r="hs-form-script",a=(m,{region:n,portalId:c,formId:i,blockId:e,submitButtonClass:d})=>{const s=()=>{const t=window.hbspt;if(!t)throw new Error(`HubSpot form is not available for block id ${e}`);t.forms.create({region:n,portalId:c,formId:i,target:`#${e}`,css:"",cssRequired:"",cssClass:"hs-form-block__form",submitButtonClass:`button ${d}`,formInstanceId:e})},o=document.querySelector(`#${r}`);if(!o){const t=document.createElement("script");t.id=r,t.defer=!0,t.src="https://js-eu1.hsforms.net/forms/embed/v2.js",t.type="text/javascript",t.addEventListener("load",()=>{s()}),document.body.appendChild(t);return}o.addEventListener("load",()=>{s()})};export{a 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.