import{r as e,h as t}from"./p-083180bf.js";import"./p-f8a09b0f.js";import{i as s,n as i}from"./p-a7fc1e02.js";import{i as a}from"./p-d0993bb9.js";import{c as r}from"./p-c1086930.js";import{g as o,a as n}from"./p-9ec99ced.js";import"./p-cef45012.js";import"./p-49b20dae.js";import{L as p,R as l}from"./p-bc386a7b.js";import{L as c}from"./p-e6240c72.js";const m=class{constructor(t){e(this,t),this.ignored=!0,this.optionalLabel="(optional)",this.fieldType="text",this.requiredFieldErrorMessage="Please enter a {fieldLabel}",this.fieldOptional=!1,i(this)}disconnectedCallback(){}render(){const e={...o(this)},i=n([{attribute:"field-name",value:this.fieldName}]);if(!a()&&i)return t(l,{missingProps:i,heading:"An error occured while loading this form",subheading:"A technical problem prevented this input field from loading. Please contact us with the link to this page.",description:"Values for the following attributes are missing:"});const{states:m}=a()?r({states:{leadForState:{}},content:{fieldName:(d=this).fieldName,fieldLabel:d.fieldLabel,fieldType:d.fieldType,requiredFieldErrorMessage:d.requiredFieldErrorMessage}},d.demoData||{},{arrayMerge:(e,t)=>t}):{states:{leadFormState:s(p)}};var d;return t(c,{states:m,content:e})}};export{m as sqm_lead_input_field}