1import h from"./BaseButton.2828bb83.js";import y from"./VForm.b20c852c.js";import v from"./BaseContainer.46280805.js";import{z as B,E as s,N as w,O as m,W as d,P as u,F as n,L as p,Y as _,J as k,a0 as F,a1 as S,X as V}from"./swiper-vue.d7b2d80e.js";import{e as C}from"./entry.52391968.js";import"./ArrowIcon.fd40e062.js";const $={class:"relative px-gutter lg:px-gutter-2"},D={key:0,class:"t-header-3 text-center absolute top-0 left-[50%] -translate-x-[50%] -translate-y-[50%] px-xl md:px-xxl bg-light sm:max-w-[80%] max-w-full"},M={key:1,class:"col-span-18 lg:col-span-16 flex sm:justify-center"},N={key:0,class:"ellipsis"},T={key:1,class:"-mr-0.5 min-w-[50px]"},q=B({__name:"BaseForm",props:{title:null,disabled:{type:Boolean},formState:null,submittingAnimation:{type:Boolean}},emits:["submit"],setup(r,{emit:f}){const t=r,g={required:"This field is required",minlength:e=>`Must be ${e} characters or more`,maxlength:e=>`Must be ${e} characters or less`,type:e=>`This field must be a valid ${e}`,pattern:e=>`This field must match the requested format ${e}`};function x(e){e.preventDefault()}function b(e){if(e.preventDefault(),e.target instanceof HTMLFormElement){const c=new FormData(e.target),l=Array.from(c.entries()).reduce((o,[i,a])=>(typeof a=="string"&&(o[i]=a),o),{});f("submit",l)}}return(e,c)=>{const l=h,o=y,i=v;return s(),w(i,{class:"my-gutter-2-vw"},{default:m(()=>[d("div",$,[u(o,{class:V(["base-form px-gutter-1-of-19 sm:grid-layout-17 lg:px-gutter-2-of-17 lg:grid-layout-13 flex flex-col gap-y-lg",{"border border-beige py-gutter-vw":t.title}]),onInvalid:x,onValid:b,errors:g},{default:m(a=>[t.title?(s(),n("h2",D,p(r.title),1)):_("",!0),k(e.$slots,"default",F(S(a)),void 0,!0),t.formState===null?(s(),n("div",M,[d("p",null,p(t.formState),1),u(l,{disabled:r.disabled,filled:"","no-arrow":"",type:"submit"},{default:m(()=>[t.submittingAnimation&&t.disabled?(s(),n("span",N)):(s(),n("span",T," Submit "))]),_:1},8,["disabled"])])):_("",!0)]),_:3},8,["class"])])]),_:3})}}});const j=C(q,[["__scopeId","data-v-b9eda639"]]);export{j 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.