1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="00af51e5-cc9a-6f2b-89ec-b84a62367600")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,828773,e=>{"use strict";var t=e.i(843476),r=e.i(846932);let n={full:"min-h-screen",large:"min-h-[80vh]",medium:"min-h-[60vh]"};function a({title:e,subtitle:a,eyebrow:s,backgroundImage:i,children:o,height:l="large",overlay:c="gradient",className:d,showBottomStripe:u=!1,uppercase:m=!1}){return(0,t.jsxs)("section",{className:`relative ${n[l]} flex items-center justify-center overflow-hidden pt-24 md:pt-28 ${d??""}`,children:[i?(0,t.jsx)("div",{className:"absolute inset-0 bg-cover bg-center bg-no-repeat",style:{backgroundImage:`url(${i})`}}):(0,t.jsx)("div",{className:"absolute inset-0 bg-gradient-to-br from-navy via-deep-blue to-navy"}),(0,t.jsx)("div",{className:`absolute inset-0 ${"dark"===c?"dark-gradient":"hero-gradient"}`}),u&&(0,t.jsx)("div",{className:"hero-bottom-stripe z-[1]","aria-hidden":!0}),(0,t.jsxs)("div",{className:"relative z-10 max-w-6xl mx-auto px-4 sm:px-6 lg:px-8 text-center",children:[s?(0,t.jsx)(r.motion.p,{initial:{opacity:1,y:12},animate:{opacity:1,y:0},transition:{duration:.6,ease:"easeOut"},className:"text-red-light text-sm font-semibold uppercase tracking-wider mb-3",children:s}):null,(0,t.jsx)(r.motion.h1,{initial:{opacity:1,y:24},animate:{opacity:1,y:0},transition:{duration:.8,ease:"easeOut"},className:`font-serif text-4xl md:text-5xl lg:text-6xl xl:text-7xl font-bold text-white mb-6 leading-tight ${m?"uppercase":""}`,children:e}),a&&(0,t.jsx)(r.motion.p,{initial:{opacity:1,y:16},animate:{opacity:1,y:0},transition:{duration:.8,delay:.2,ease:"easeOut"},className:"text-lg md:text-xl text-slate-light max-w-3xl mx-auto mb-8 leading-relaxed",children:a}),o&&(0,t.jsx)(r.motion.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8,delay:.4,ease:"easeOut"},children:o})]})]})}e.s(["default",()=>a])},659544,e=>{"use strict";var t=e.i(843476),r=e.i(522016);function n(...e){return e.filter(Boolean).join(" ")}let a={primary:"bg-red text-white hover:bg-red-light font-semibold",secondary:"bg-deep-blue text-white hover:bg-navy font-semibold",outline:"border-2 border-red text-red hover:bg-red hover:text-white font-semibold","outline-light":"border-2 border-white/60 text-white hover:bg-white/10 hover:border-white font-semibold",ghost:"text-white hover:bg-white/10 font-medium",accent:"bg-red text-white font-bold shadow-lg hover:shadow-xl hover:bg-red-light",patriot:"bg-red text-white hover:bg-red-light font-bold shadow-lg hover:shadow-xl border-l-4 border-l-white tracking-wide uppercase"},s={sm:"px-4 py-2 text-sm",md:"px-6 py-3 text-base",lg:"px-8 py-4 text-lg"};function i({children:e,href:i,variant:o="primary",size:l="md",className:c,external:d,onClick:u,onClickDisabled:m,type:p="button",disabled:h,"aria-label":f}){let x=n("inline-flex items-center justify-center rounded-md transition-all duration-300 tracking-wide",a[o],s[l],h&&"opacity-60 cursor-not-allowed",c);return i?h?(0,t.jsx)("span",{"aria-disabled":"true",tabIndex:-1,role:"link","aria-label":f,onClick:m,className:n(x,"inline-flex"),onMouseDown:e=>e.preventDefault(),children:e}):d?(0,t.jsx)("a",{href:i,target:"_blank",rel:"noopener noreferrer",className:x,"aria-label":f,onClick:u,children:e}):(0,t.jsx)(r.default,{href:i,className:x,"aria-label":f,onClick:u,children:e}):(0,t.jsx)("button",{type:p,onClick:u,className:x,disabled:h,"aria-label":f,children:e})}e.s(["default",()=>i],659544)},269638,e=>{"use strict";let t=(0,e.i(475254).default)("circle-check-big",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);e.s(["CheckCircle",()=>t],269638)},187519,335915,e=>{"use strict";var t=e.i(843476);let r="w-full px-4 py-3 rounded-lg border border-gray-200 focus:border-red focus:ring-2 focus:ring-red/20 outline-none transition-colors text-navy";function n({label:e,error:n,required:a,id:s,...i}){let o=s??e.replace(/\s/g,"-").toLowerCase();return(0,t.jsxs)("div",{children:[(0,t.jsxs)("label",{htmlFor:o,className:"block text-sm font-semibold text-navy mb-2",children:[e," ",a&&"*"]}),(0,t.jsx)("input",{id:o,className:r,required:a,...i}),n&&(0,t.jsx)("p",{className:"text-red text-sm mt-1",children:n})]})}function a({label:e,error:n,required:a,id:s,...i}){let o=s??e.replace(/\s/g,"-").toLowerCase();return(0,t.jsxs)("div",{children:[(0,t.jsxs)("label",{htmlFor:o,className:"block text-sm font-semibold text-navy mb-2",children:[e," ",a&&"*"]}),(0,t.jsx)("textarea",{id:o,className:`${r} resize-none`,rows:4,required:a,...i}),n&&(0,t.jsx)("p",{className:"text-red text-sm mt-1",children:n})]})}function s({label:e,error:n,required:a,id:s,options:i,placeholder:o,...l}){let c=s??e.replace(/\s/g,"-").toLowerCase();return(0,t.jsxs)("div",{children:[(0,t.jsxs)("label",{htmlFor:c,className:"block text-sm font-semibold text-navy mb-2",children:[e," ",a&&"*"]}),(0,t.jsxs)("select",{id:c,className:r,required:a,...l,children:[o&&(0,t.jsx)("option",{value:"",disabled:!0,children:o}),i.map(e=>(0,t.jsx)("option",{value:e.value,children:e.label},e.value))]}),n&&(0,t.jsx)("p",{className:"text-red text-sm mt-1",children:n})]})}function i({label:e,error:r,required:n,description:a,id:s,...i}){let o=s??e.replace(/\s/g,"-").toLowerCase();return(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:"flex items-start gap-3",children:[(0,t.jsx)("input",{id:o,type:"checkbox",className:"mt-1 h-4 w-4 roun
2ded border-gray-300 text-red focus:ring-red/20",required:n,...i}),(0,t.jsxs)("div",{className:"space-y-1",children:[(0,t.jsxs)("label",{htmlFor:o,className:"block text-sm font-semibold text-navy",children:[e," ",n&&"*"]}),a&&(0,t.jsx)("p",{className:"text-xs leading-relaxed text-slate",children:a})]})]}),r&&(0,t.jsx)("p",{className:"text-red text-sm mt-1",children:r})]})}function o({error:e,required:r=!1,...n}){return(0,t.jsx)(i,{label:"Email updates consent",description:"I agree to receive future email updates from Florida Veterans Coalition, including organizational news and opportunities. Florida Veterans Coalition may still contact me about this submission even if I leave this unchecked. I understand I can unsubscribe at any time.",error:e,required:r,...n})}e.s(["FormCheckbox",()=>i,"FormInput",()=>n,"FormSelect",()=>s,"FormTextarea",()=>a],335915),e.s(["default",()=>o],187519)},601047,e=>{"use strict";function t(e){return"string"!=typeof e||0===e.trim().length}e.s(["isTurnstileTokenMissing",()=>t])},103136,e=>{"use strict";var t=e.i(247167),r=e.i(271645);function n(){return(0,r.useCallback)((e,r)=>{let n;"0"===(n=t.default.env.NEXT_PUBLIC_POST_SUBMIT_CLIENT)||"false"===n||"1"!==n&&"true"!==n&&1||fetch("/api/integrations/post-submit",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({formType:e,data:function(e){let{website:t,...r}=e;return r}(r)}),keepalive:!0}).catch(e=>{console.error("[usePostSubmit] fire-and-forget failed:",e)})},[])}e.s(["usePostSubmit",()=>n])},441780,e=>{"use strict";e.s(["EMERGENCY_RELIEF_INTAKE_PAUSED",0,!0,"EMERGENCY_RELIEF_INTAKE_PAUSED_MESSAGE",0,"Due to the extremely high demand we are not taking any more Emergency Relief applications at this immediate time"])},466383,531770,815429,865020,e=>{"use strict";var t=e.i(843476);function r({register:e,formId:r}){return(0,t.jsxs)("div",{className:"pointer-events-none fixed left-0 top-0 h-px w-px -translate-y-full overflow-hidden opacity-0","aria-hidden":"true",children:[(0,t.jsx)("label",{htmlFor:`${r}-website`,children:"Website"}),(0,t.jsx)("input",{id:`${r}-website`,type:"text",tabIndex:-1,autoComplete:"off",...e("website")})]})}e.s(["FormSpamFields",()=>r],466383),e.i(247167);var n=e.i(271645),a=(0,n.forwardRef)(({as:e="div",...r},n)=>(0,t.jsx)(e,{...r,ref:n}));let s="onloadTurnstileCallback",i={normal:{width:300,height:65},compact:{width:150,height:140},invisible:{width:0,height:0,overflow:"hidden"},flexible:{minWidth:300,width:"100%",height:65},interactionOnly:{width:"fit-content",height:"auto",display:"flex"}},o="unloaded",l,c=new Promise((e,t)=>{l={resolve:e,reject:t},"ready"===o&&e(void 0)}),d=(e=s)=>("unloaded"===o&&(o="loading",window[e]=()=>{l.resolve(),o="ready",delete window[e]}),c),u=(0,n.forwardRef)((e,r)=>{let{scriptOptions:l,options:c={},siteKey:u,onWidgetLoad:m,onSuccess:p,onExpire:h,onError:f,onBeforeInteractive:x,onAfterInteractive:b,onUnsupported:g,onTimeout:y,onLoadScript:v,id:w,style:j,as:N="div",injectScript:E=!0,rerenderOnCallbackChange:C=!1,...S}=e,k=c.size,T=(0,n.useCallback)(()=>void 0===k?{}:"execute"===c.execution?i.invisible:"interaction-only"===c.appearance?i.interactionOnly:i[k],[c.execution,k,c.appearance]),[_,F]=(0,n.useState)(T()),I=(0,n.useRef)(null),[R,A]=(0,n.use
2State)(!1),M=(0,n.useRef)(void 0),P=(0,n.useRef)(!1),L=w||"cf-turnstile",O=(0,n.useRef)({onSuccess:p,onError:f,onExpire:h,onBeforeInteractive:x,onAfterInteractive:b,onUnsupported:g,onTimeout:y});(0,n.useEffect)(()=>{C||(O.current={onSuccess:p,onError:f,onExpire:h,onBeforeInteractive:x,onAfterInteractive:b,onUnsupported:g,onTimeout:y})});let H=l?.id||"cf-turnstile-script",U=function(e="cf-turnstile-script"){let[t,r]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{let t=()=>{document.getElementById(e)&&r(!0)},n=new MutationObserver(t);return n.observe(document,{childList:!0,subtree:!0}),t(),()=>{n.disconnect()}},[e]),t}(H),D=l?.onLoadCallbackName||"onloadTurnstileCallback",q=c.appearance||"always",z=(0,n.useMemo)(()=>({sitekey:u,action:c.action,cData:c.cData,theme:c.theme||"auto",language:c.language||"auto",tabindex:c.tabIndex,"response-field":c.responseField,"response-field-name":c.responseFieldName,size:function(e){if("invisible"!==e&&"interactionOnly"!==e)return e}(k),retry:c.retry||"auto","retry-interval":c.retryInterval||8e3,"refresh-expired":c.refreshExpired||"auto","refresh-timeout":c.refreshTimeout||"auto",execution:c.execution||"render",appearance:c.appearance||"always","feedback-enabled":c.feedbackEnabled??!0,callback:e=>{P.current=!0,C?p?.(e):O.current.onSuccess?.(e)},"error-callback":C?f:(...e)=>O.current.onError?.(...e),"expired-callback":C?h:(...e)=>O.current.onExpire?.(...e),"before-interactive-callback":C?x:(...e)=>O.current.onBeforeInteractive?.(...e),"after-interactive-callback":C?b:(...e)=>O.current.onAfterInteractive?.(...e),"unsupported-callback":C?g:(...e)=>O.current.onUnsupported?.(...e),"timeout-callback":C?y:(...e)=>O.current.onTimeout?.(...e)}),[c.action,c.appearance,c.cData,c.execution,c.language,c.refreshExpired,c.responseField,c.responseFieldName,c.retry,c.retryInterval,c.tabIndex,c.theme,c.feedbackEnabled,c.refreshTimeout,u,k,C,C?p:null,C?f:null,C?h:null,C?x:null,C?b:null,C?g:null,C?y:null]),B=(0,n.useCallback)(()=>"u">typeof window&&!!window.turnstile,[]);return(0,n.useEffect)(function(){E&&!R&&(d(D),(({render:e="explicit",onLoadCallbackName:t=s,scriptOptions:{nonce:r="",defer:n=!0,async:a=!0,id:i="",appendTo:o,onError:l,crossOrigin:c=""}={}})=>{let d=i||"cf-turnstile-script";
2if(document.getElementById(d))return;let u=document.createElement("script");u.id=d,u.src=`https://challenges.cloudflare.com/turnstile/v0/api.js?onload=${t}&render=${e}`,document.querySelector(`script[src="${u.src}"]`)||(u.defer=!!n,u.async=!!a,r&&(u.nonce=r),c&&(u.crossOrigin=c),l&&(u.onerror=l,delete window[t]),("body"===o?document.body:document.getElementsByTagName("head")[0]).appendChild(u))})({onLoadCallbackName:D,scriptOptions:{...l,id:H}}))},[E,R,l,H,D]),(0,n.useEffect)(function(){"ready"!==o&&d(D).then(()=>A(!0)).catch(console.error)},[D]),(0,n.useEffect)(function(){if(!I.current||!R)return;let e=!1;return(async()=>{e||!I.current||(M.current=window.turnstile.render(I.current,z),M.current&&m?.(M.current))})(),()=>{e=!0,M.current&&(window.turnstile.remove(M.current),P.current=!1)}},[L,R,z]),(0,n.useImperativeHandle)(r,()=>{let{turnstile:e}=window;return{getResponse:()=>e?.getResponse&&M.current&&B()?e.getResponse(M.current):void console.warn("Turnstile has not been loaded"),getResponsePromise:async(e=3e4,t=100)=>new Promise((r,n)=>{let a,s=async()=>{if(P.current&&window.turnstile&&M.current)try{let e=window.turnstile.getResponse(M.current);return a&&clearTimeout(a),e?r(e):n(Error("No response received"))}catch(e){return a&&clearTimeout(a),console.warn("Failed to get response",e),n(Error("Failed to get response"))}a||=setTimeout(()=>{a&&clearTimeout(a),n(Error("Timeout"))},e),await new Promise(e=>setTimeout(e,t)),await s()};s()}),reset(){if(!e?.reset||!M.current||!B())return void console.warn("Turnstile has not been loaded");"execute"===c.execution&&F(i.invisible);try{P.current=!1,e.reset(M.current)}catch(e){console.warn(`Failed to reset Turnstile widget ${M.current}`,e)}},remove(){e?.remove&&M.current&&B()?(F(i.invisible),P.current=!1,e.remove(M.current),M.current=null):console.warn("Turnstile has not been loaded")},render(){if(!e?.render||!I.current||!B()||M.current)return void console.warn("Turnstile has not been loaded or container not found");let t=e.render(I.current,z);return M.current=t,M.current&&m?.(M.current),"execute"!==c.execution&&F(k?i[k]:{}),t},execute(){"execute"!==c.execution?console.warn('Execution mode is not set to "execute"'):e?.execute&&I.current&&M.current&&B()?(e.execute(I.current),F(k?i[k]:{})):console.warn("Turnstile has not been loaded or container not found")},isExpired:()=>e?.isExpired&&M.current&&B()?e.isExpired(M.current):(console.warn("Turnstile has not been loaded"),!1)}},[M,c.execution,k,z,I,B,R,m]),(0,n.useEffect)(()=>{if(R||!U)return;if(window.turnstile)return void A(!0);let e=setInterval(()=>{window.turnstile&&(A(!0),clearInterval(e))},50);return()=>{clearInterval(e)}},[R,U]),(0,n.useEffect)(()=>{F(T())},[c.execution,k,q]),(0,n.useEffect)(()=>{U&&"function"==typeof v&&v()},[U]),(0,t.jsx)(a,{ref:I,as:N,id:L,style:{..._,...j},...S})});u.displayName="Turnstile";let m=/^[0-3]x[A-Za-z0-9_-]{8,}$/,p=(0,n.forwardRef)(function({onChange:e,onError:r},n){let a="0x4AAAAAADFJVzce-ejKF_uz".trim();return a&&m.test(a)?(0,t.jsx)("div",{className:"turnstile-wrap",children:(0,t.jsx)(u,{ref:n,siteKey:a,options:{refreshExpired:"auto"},onSuccess:t=>{e(t??null)},onExpire:()=>e(null),onError:()=>{e(null),r?.()}})}):(0,t.jsxs)("p",{className:"rounded-lg bg-red-50 p-3 text-sm text-red-700",role:"alert","aria-live":"polite",children:["Verification is not configured (missing or malformed"," ",(0,t.jsx)("code",{className:"text-xs",children:"NEXT_PUBLIC_TURNSTILE_SITE_KEY"}),"). Submissions cannot be sent until Turnstile is set up."]})});e.s(["TurnstileWidget",0,p],531770);let h=Math.floor(432e5);function f(){let[e,t]=(0,n.useState)(()=>Date.now());return(0,n.useEffect)(()=>{function e(){t(e=>Date.now()-e<h?e:Date.now()-1e4)}let r=setInterval(e,3e5);return document.addEventListener("visibilitychange",e),()=>{clearInterval(r),document.removeEventListener("visibilitychange",e)}},[]),e}e.s(["useFormOpenedAt",()=>f],815429);var x=e.i(441780);function b(e){let t=e instanceof Error?e.message:"string"==typeof e?e:"";return t.includes("Submission rejected: stale")?"This form was open too long to submit safely. Your answers are still here â please submit again.":t.includes("Submission rejected: clock")?"Your device clock looks out of sync, so we could not verify this submission. Check the date and time on your device, then submit again.":t.includes("Submission rejected: too fast")?"That submission came through faster than expected. Please wait a moment and submit again.":t.includes("Submission rejected")?"Verification expired or was already used. Please complete the check again and resubmit.":t.includes(x.EMERGENCY_RELIEF_INTAKE_PAUSED_MESSAGE)?x.EMERGENCY_RELIEF_INTAKE_PAUSED_MESSAGE:"Something went wrong. Please try again or c
2ontact us."}e.s(["getFormSubmitErrorMessage",()=>b],865020)},96836,e=>{"use strict";function t(e,t){let r=e.map(e=>e.trim());if(!r.some(e=>!e)){var n={...t(r),page_path:window.location.pathname||"/"};if(Array.isArray(window.dataLayer))try{window.dataLayer.push(n)}catch{}}}function r(e){t([e],([e])=>({event:"form_submit",form_name:e}))}function n({ctaLabel:e,linkUrl:r}){t([e,r],([e,t])=>({event:"cta_click",cta_label:e,link_url:t}))}function a({partnerSlug:e,linkUrl:r}){t([e,r],([e,t])=>({event:"outbound_partner",partner_slug:e,link_url:t}))}e.s(["trackCtaClick",()=>n,"trackFormSubmit",()=>r,"trackOutboundPartner",()=>a])},24045,e=>{"use strict";var t=e.i(843476),r=e.i(269638),n=e.i(659544);function a({title:e,message:a,backHref:s="/",backLabel:i="Return Home"}){return(0,t.jsxs)("div",{className:"rounded-xl bg-off-white p-8 md:p-12 text-center max-w-lg mx-auto",children:[(0,t.jsx)(r.CheckCircle,{className:"w-20 h-20 text-red mx-auto mb-6"}),(0,t.jsx)("h2",{className:"font-serif text-2xl md:text-3xl font-bold text-navy mb-4",children:e}),(0,t.jsx)("p",{className:"text-slate text-lg leading-relaxed mb-8",children:a}),(0,t.jsx)(n.default,{href:s,variant:"primary",size:"lg",children:i})]})}e.s(["default",()=>a])},514764,e=>{"use strict";let t=(0,e.i(475254).default)("send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]]);e.s(["Send",()=>t],514764)},595468,e=>{"use strict";let t=(0,e.i(475254).default)("circle-check",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);e.s(["CheckCircle2",()=>t],595468)},183703,e=>{"use strict";let t=["needs_assessment_case_management","mental_health_crisis_referral","peer_mentorship","financial_literacy","partner_agency_referral","va_benefits","housing","education","employment","legal_services","food_assistance","wellbeing","stability_reintegration_asse
2ssment"];function r(e){return e.trim().toLowerCase()}function n(e){if(!e)return;let t=e.replace(/\D/g,"");return(11===t.length&&t.startsWith("1")?t.slice(1):t)||void 0}function a(e){return t.includes(e)}function s(e){return e.canApprove||e.canDeletePeerMentor}function i(e){let t=new Date(e.periodStart),r=e=>{let r=t.getUTCFullYear(),n=t.getUTCMonth()+3*e,a=new Date(Date.UTC(r,n+1,0)).getUTCDate();return Date.UTC(r,n,Math.min(t.getUTCDate(),a),t.getUTCHours(),t.getUTCMinutes(),t.getUTCSeconds(),t.getUTCMilliseconds())};return Array.from({length:4},(t,n)=>({periodStart:0===n?e.periodStart:r(n),periodEnd:Math.min(r(n+1),e.periodEnd)})).filter(e=>e.periodStart<e.periodEnd)}function o(e){switch(e){case"initial":return"Complete the initial assessment";case"30_day":return"Have you followed up with the veteran or service member to do the 30-day assessment?";case"60_day":return"Have you followed up to get the 60-day assessment done?";case"90_day":return"Have you followed up to get the 90-day assessment done?";case"180_day":return"Have you followed up to get the 180-day assessment done?";default:return"Complete the assessment follow-up"}}e.s(["HOW_HEARD_MAX_LENGTH",0,200,"PEER_MENTOR_QR_SOURCE",0,"fvcc-2027-peer-mentor-qr","REFERRAL_SOURCE_MAX_LENGTH",0,120,"SAVED_REPORT_LIST_LIMIT",0,24,"assessmentFollowUpCopy",()=>o,"buildContractQuarterPeriods",()=>i,"canDeleteCommunityEngagementEnrollment",()=>s,"isQualifyingServiceCategory",()=>a,"normalizeEmail",()=>r,"normalizePhone",()=>n])},42662,e=>{"use strict";function t(e){return(function(e,t){if(!t)return new URL(e,window.location.origin);let r=new URL(t);return r.pathname=e,r})("/forms/peer-mentor/qr",e).toString()}function r(e){let t=e.querySource?.trim()||void 0,r=e.howHeard?.trim()||void 0;return{referralSource:t?t.slice(0,e.sourceMaxLength??t.length):void 0,howHeard:r?r.slice(0,e.howHeardMaxLength??r.length):void 0}}e.i(183703),e.i(631338),e.s(["buildPeerMentorEnrollmentUrl",()=>t,"peerMentorAttribution",()=>r])},535774,e=>{"use strict";var t=e.i(247167),r=e.i(843476),n=e.i(271645),a=e.i(653145);e.i(250711);var s=e.i(982045),i=e.i(595468),o=e.i(664659),l=e.i(514764),c=e.i(883394),d=e.i(828773),u=e.i(659544),m=e.i(24045),p=e.i(187519),h=e.i(335915),f=e.i(466383),x=e.i(531770),b=e.i(815429),g=e.i(601047),y=e.i(865020),v=e.i(103136),w=e.i(96836),j=e.i(183703),N=e.i(42662);let E=[{value:"Yes",label:"Yes"},{value:"No",label:"No"},{value:"Prefer not to say",label:"Prefer not to say"}],C=[{value:"Male",label:"Male"},{value:"Female",label:"Female"},{value:"Non-binary",label:"Non-binary"},{value:"Prefer not to say",label:"Prefer not to say"}];function S(){return(0,r.jsx)("section",{className:"bg-off-white py-20 md:py-28",children:(0,r.jsx)("div",{className:"mx-auto max-w-2xl px-4 text-center sm:px-6",children:(0,r.jsxs)("p",{className:"text-slate",children:["Peer mentor registration is currently unavailable. Please contact us at"," ",(0,r.jsx)("a",{href:"mailto:[email protected]",className:"underline",children:"[email protected]"}),"."]})})})}function k(){return void 0===t.default?(0,r.jsx)(S,{}):(0,r.jsx)(T,{})}function T(){let[e,t]=(0,n.useState)(!1),[S,k]=(0,n.useState)(null),T=(0,s.useAction)(c.api.secureForms.submitPeerMentor),_=(0,v.usePostSubmit)(),F=(0,b.useFormOpenedAt)(),[I,R]=(0,n.useState)(null),A=(0,n.useRef)(null),{register:M,handleSubmit:P,formState:{errors:L,isSubmitting:O}}=(0,a.useForm)({defaultValues:{contactConsent:!1,marketingConsent:!1,website:""}});async function H(e){if(k(null),(0,g.isTurnstileTokenMissing)(I))return void k("Please complete the verification.");let r=new URLSearchParams(window.location.search).get("source")?.trim()||void 0,{referralSource:n,howHeard:a}=(0,N.peerMentorAttribution)({querySource:r,howHeard:e.howHeard,sourceMaxLength:j.REFERRAL_SOURCE_MAX_LENGTH,howHeardMaxLength:j.HOW_HEARD_MAX_LENGTH}),s={firstName:e.firstName.trim(),lastName:e.lastName.trim(),email:e.email.trim(),phone:e.phone.trim(),zip:e.zip.trim(),county:e.county?.trim()||void 0,veteranStatus:e.veteranStatus||void 0,dateOfBirth:e.dateOfBirth||void 0,gender:e.gender||void 0,address:e.address?.trim()||void 0,referralSource:n,howHeard:a,contactConsent:e.contactConsent,marketingConsent:e.marketingConsent};try{await T({...s,website:e.website??"",formOpenedAt:F,turnstileToken:I??""}),(0,w.trackFormSubmit)("Peer Mentor Intake"),t(!0),_("Peer Mentor Intake",{firstName:s.firstName,lastName:s.lastName,zip:s.zip,county:s.county,veteranStatus:s.veteranStatus,referralSource:s.referralSource,howHeard:s.howHeard,contactConsent:s.contactConsent,marketingConsent:s.marketingConsent})}catch(e){console.error("submitPeerMentor",e),A.current?.reset(),R(null),k((0,y.getFormSubmitErrorMessage)(e))}}return e?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(d.default,{title:"Next Steps Sent",subtitle:"Thank y
2ou for taking the first step toward becoming a peer mentor.",height:"medium"}),(0,r.jsx)("section",{className:"bg-white py-16 md:py-24",children:(0,r.jsx)("div",{className:"mx-auto max-w-2xl px-4 sm:px-6",children:(0,r.jsx)(m.default,{title:"Check Your Email",message:"We sent the official Onward Ops signup link and recorded your interest. A Florida Veterans Coalition team member will follow up personally.",backHref:"/support/peer-mentor",backLabel:"Return to Peer Mentor Program"})})})]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(d.default,{title:"Become a Peer Mentor",subtitle:"Tell us how to reach you. Weâll send the official Onward Ops signup steps and follow up personally.",height:"medium"}),(0,r.jsx)("section",{className:"bg-off-white py-12 md:py-20",children:(0,r.jsxs)("div",{className:"mx-auto max-w-2xl px-4 sm:px-6",children:[(0,r.jsxs)("div",{className:"mb-6 flex items-start gap-3 rounded-lg border border-emerald-200 bg-emerald-50 p-4 text-sm leading-6 text-emerald-900",children:[(0,r.jsx)(i.CheckCircle2,{className:"mt-0.5 h-5 w-5 shrink-0"}),(0,r.jsx)("p",{children:"The email you receive is only the next step. It does not replace a personal follow-up from our team."})]}),S&&(0,r.jsx)("p",{className:"mb-6 rounded-lg bg-red-50 p-4 text-sm text-red-700",role:"alert","aria-live":"assertive",children:S}),(0,r.jsxs)("form",{onSubmit:e=>void P(H)(e),className:"space-y-6 rounded-xl border border-gray-200 bg-white p-5 shadow-sm sm:p-8",children:[(0,r.jsx)(f.FormSpamFields,{register:M,formId:"peer-mentor"}),(0,r.jsxs)("fieldset",{className:"space-y-4",children:[(0,r.jsx)("legend",{className:"mb-4 font-serif text-xl font-bold text-navy",children:"About you"}),(0,r.jsxs)("div",{className:"grid grid-cols-1 gap-4 sm:grid-cols-2",children:[(0,r.jsx)(h.FormInput,{label:"First Name",autoComplete:"given-name",required:!0,...M("firstName",{required:"Required"}),error:L.firstName?.message}),(0,r.jsx)(h.FormInput,{label:"Last Name",autoComplete:"family-name",required:!0,...M("lastName",{required:"Required"}),error:L.lastName?.message})]}),(0,r.jsx)(h.FormSelect,{label:"Are you a veteran?",placeholder:"Select an option",options:E,...M("veteranStatus"),error:L.veteranStatus?.message})]}),(0,r.jsxs)("fieldset",{className:"space-y-4 border-t border-gray-200 pt-6",children:[(0,r.jsx)("legend",{className:"mb-4 font-serif text-xl font-bold text-navy",children:"How to reach you"}),(0,r.jsx)(h.FormInput,{label:"Email Address",type:"email",autoComplete:"email",required:!0,...M("email",{required:"Required",pattern:{value:/^[^\s@]+@[^\s@]+\.[^\s@]+$/,message:"Enter a valid email address"}}),error:L.email?.message}),(0,r.jsx)(h.FormInput,{label:"Phone Number",type:"tel",autoComplete:"tel",required:!0,...M("phone",{required:"Required",minLength:{value:7,message:"Enter a valid phone number"}}),error:L.phone?.message})]}),(0,r.jsxs)("fieldset",{className:"space-y-4 border-t border-gray-200 pt-6",children:[(0,r.jsx)("legend",{className:"mb-4 font-serif text-xl font-bold text-navy",children:"Location"}),(0,r.jsxs)("div",{className:"grid grid-cols-1 gap-4 sm:grid-cols-2",children:[(0,r.jsx)(h.FormInput,{label:"ZIP Code",inputMode:"numeric",autoComplete:"postal-code",maxLength:10,required:!0,...M("zip",{required:"Required",pattern:{value:/^\d{5}(-\d{4})?$/,message:"Enter a valid ZIP code"}}),error:L.zip?.message}),(0,r.jsx)(h.FormInput,{label:"County",autoComplete:"address-level2",...M("county"),error:L.county?.message})]})]}),(0,r.jsxs)("fieldset",{className:"space-y-4 border-t border-gray-200 pt-6",children:[(0,r.jsx)("legend",{className:"mb-4 font-serif text-xl font-bold text-navy",children:"How you found us"}),(0,r.jsx)(h.FormInput,{label:"How did you hear about us? / Referring organization",autoComplete:"organization",maxLength:j.HOW_HEARD_MAX_LENGTH,...M("howHeard"),error:L.howHeard?.message})]}),(0,r.jsxs)("details",{className:"group border-t border-gray-200 pt-6",children:[(0,r.jsxs)("summary",{className:"flex min-h-11 cursor-pointer list-none items-center justify-between gap-3 rounded-md text-sm font-semibold text-navy outline-none focus-visible:ring-2 focus-visible:ring-red/30",children:["Additional demographic information (optional)",(0,r.jsx)(o.ChevronDown,{className:"h-5 w-5 transition group-open:rotate-180"})]}),(0,r.jsx)("p",{className:"mt-2 text-sm leading-6 text-slate",children:"These optional details can help staff avoid duplicate records and understand who the program is reaching."}),(0,r.jsxs)("div",{className:"mt-4 space-y-4",children:[(0,r.jsxs)("div",{className:"grid grid-cols-1 gap-4 sm:grid-cols-2",children:[(0,r.jsx)(h.FormInput,{label:"Date of Birth",type:"date",autoComplete:"bday",...M("dateOfBirth")}),(0,r.jsx)(h.FormSelect,{label:"Gender",placeholder:"Select an option",options:C,...M("gender")})]}),(0,r.jsx)(h.FormInput,{label:"Street Address",autoComplete:"street-address",...M("address")})]})]}),(0,r.jsxs)("fieldset",{className:"space-y-4 border-t border-gray-200 pt-6",children:[(0,r.jsx)("legend",{className:"mb-4 font-serif text-xl font-bold text-navy",children:"Consent"}),(0,r.jsx)(h.FormCheckbox,{label:"Program contact consent",description:"I agree that Florida Veterans Coalition may contact me about the peer mentor program.",required:!0,...M("contactConsent",{required:"Contact consent is required"}),error:L.contactConsent?.message}),(0,r.jsx)(p.default,{...M("marketingConsent")})]}
2),(0,r.jsx)(x.TurnstileWidget,{ref:A,onChange:R}),(0,r.jsxs)("div",{className:"border-t border-gray-200 pt-6",children:[(0,r.jsxs)(u.default,{type:"submit",variant:"secondary",size:"lg",disabled:O||!I,className:"w-full gap-2 sm:w-auto",children:[(0,r.jsx)(l.Send,{className:"h-5 w-5"}),O?"Sendingâ¦":"Send My Next Steps"]}),(0,r.jsxs)("p",{className:"mt-4 text-sm leading-6 text-slate",children:["Review how we protect your information in our"," ",(0,r.jsx)("a",{href:"/privacy",className:"font-semibold text-navy underline",children:"Privacy Policy"}),"."]})]})]})]})})]})}e.s(["default",()=>k])}]); 3 4//# debugId=00af51e5-cc9a-6f2b-89ec-b84a62367600
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.