PageSourceSearch

https://www.cisilion.com/_nuxt/Form.f0c35fdb.js

js cisilion.com collected 2026-09-25 14:42:08 UTC 2,618 bytes, 2 lines download raw bytes

1import{q as a,o as t,c as s,j as o,y as i,t as d,i as c,z as m,Z as u}from"./entry.467af7bd.js";const h={key:0,class:"grid-container"},f=i("div",{class:"grid-x grid-margin-x"},[i("div",{class:"small-12 cell"},[i("div",{class:"utl-heading-beta"}," Form ")])],-1),b=[f],g={class:"grid-container"},y={class:"grid-x grid-margin-x align-center"},v={key:0,class:"small-12 medium-5 large-4 cell"},k={key:0,class:"c-form__title"},I={key:1,class:"c-form__subtitle"},F=["innerHTML"],p={key:1,class:"small-12 medium-6 medium-offset-1 large-6 large-offset-2 cell"},q={class:"c-form__form"},S={key:1,class:"c-hubspot-form s-hubspot-form js-hubspot-form"},T={key:2,class:"small-12 medium-10 large-8 cell"},x={class:"c-form__form"},C={key:1,class:"c-hubspot-form s-hubspot-form js-hubspot-form"},B={__name:"Form",props:{title:{type:String,required:!1},subtitle:{type:String,required:!1},content:{type:String,required:!1},formType:{type:String,required:!1},hubspotFormRegionCode:{type:String,required:!1},hubspotFormPortalId:{type:String,required:!1},hubspotFormId:{type:String,required:!1},settings:{theme:{type:String,required:!1},showComponentTitle:{type:Boolean,required:!0},spacing:{type:String,required:!0}}},setup(e){const n=e;return a(()=>{if(n.formType=="embed"){const r=document.createElement("script");r.src="//js.hsforms.net/forms/embed/v2.js",document.body.appendChild(r),r.addEventListener("load",()=>{window.hbspt&&window.hbspt.forms.create({region:n.hubspotFormRegionCode,portalId:n.hubspotFormPortalId,formId:n.hubspotFormId,target:".js-hubspot-form"})})}}),(r,w)=>{const l=u;return t(),s("section",{class:m(["o-flexible-module",{"o-flexible-module--flush":e.settings.spacing=="flush"}])},[e.settings.showComponentTitle?(t(),s("div",h,b)):o("",!0),i("div",{class:m(`c-form c-form--${e.settings.theme}`)},[i("div",g,[i("div",y,[e.title||e.subtitle||e.content?(t(),s("div",v,[e.title?(t(),s("h2",k,d(e.title),1)):o("",!0),e.subtitle?(t(),s("div",I,d(e.subtitle),1)):o("",!0),e.content?(t(),s("div",{key:2,class:"c-form__content s-wp-cms",innerHTML:e.content},null,8,F)):o("",!0)])):o("",!0),e.title||e.subtitle||e.content?(t(),s("div",p,[i("div",q,[e.formType=="api"&&e.hubspotFormId?(t(),c(l,{key:0,hubsId:e.hubspotFormId,theme:e.settings.theme},null,8,["hubsId","theme"])):o("",!0),e.formType=="embed"?(t(),s("div",S)):o("",!0)])])):(t(),s("div",T,[i("div",x,[e.formType=="api"&&e.hubspotFormId?(t(),c(l,{key:0,hubsId:e.hubspotFormId,theme:"settings.theme"},null,8,["hubsId"])):o("",!0),e.formType=="embed"?(t(),s("div",C)):o("",!0)])]))])])],2)],2)}}};export{B as default};
2//# sourceMappingURL=Form.f0c35fdb.js.map

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.