1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7081],{6178:(e,a,t)=>{"use strict";t.d(a,{A:()=>n});var i=t(95155),s=t(86126),r=t(66474);let o=(0,t(12115).forwardRef)((e,a)=>{let{label:t,error:o,helperText:n,className:l,containerClassName:d,labelClassName:u,errorClassName:c,helperClassName:m,required:h,variant:x="default",placeholder:g="Select an option",options:p,disabled:b,onChange:f,...k}=e,w=(0,s.cn)("w-full appearance-none transition-all duration-200 pr-10 h-10 md:h-15.5 px-4","focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent","disabled:bg-gray-50 disabled:text-gray-500 disabled:cursor-not-allowed",{default:"border border-gray-300 rounded-md bg-white",filled:"border-0 bg-gray-100 rounded-md",outlined:"border-2 border-gray-300 rounded-lg bg-transparent"}[x],o?"border-red-500 focus:ring-red-500":"hover:border-gray-400",l),N=(0,s.cn)("block text-sm font-medium text-gray-700 mt-2",b&&"text-gray-500",u),v=(0,s.cn)("text-red-500 text-sm mt-1",c),j=(0,s.cn)("text-gray-500 text-sm mt-1",m);return(0,i.jsxs)("div",{className:(0,s.cn)("w-full",d),children:[(0,i.jsxs)("div",{className:"relative",children:[(0,i.jsxs)("select",{ref:a,className:w,disabled:b,"aria-invalid":o?"true":"false","aria-describedby":o?"".concat(k.id,"-error"):n?"".concat(k.id,"-helper"):void 0,onChange:e=>{f&&f(e.target.value),k.nativeOnChange&&k.nativeOnChange(e)},...k,children:[(0,i.jsx)("option",{value:"",disabled:!0,children:g}),p.map(e=>(0,i.jsx)("option",{value:e.value,children:e.label},e.key||e.value))]}),(0,i.jsx)("div",{className:"absolute inset-y-0 right-0 flex items-center pr-3 pointer-events-none",children:(0,i.jsx)(r.A,{className:"h-4 w-4 text-gray-400"})})]}),t&&!o&&(0,i.jsxs)("label",{className:N,children:[t,h&&(0,i.jsx)("span",{className:"text-red-500 ml-1 ",children:"*"})]}),o&&(0,i.jsx)("p",{id:"".concat(k.id,"-error"),className:v,children:o}),n&&!o&&(0,i.jsx)("p",{id:"".concat(k.id,"-helper"),className:j,children:n})]})});o.displayName="FormSelect";let n=o},18851:(e,a,t)=>{"use strict";t.d(a,{Lg:()=>r,RT:()=>s,XV:()=>i});let i=t(87358).env.NEXT_PUBLIC_SANITY_API_VERSION||"2025-05-18",s=o("production","Missing environment variable: NEXT_PUBLIC_SANITY_DATASET"),r=o("dmzysw7w","Missing environment variable: NEXT_PUBLIC_SANITY_PROJECT_ID");function o(e,a){if(void 0===e)throw Error(a);return e}},21925:(e,a,t)=>{"use strict";t.d(a,{d:()=>s});var i=t(12115);let s=()=>{let[e,a]=(0,i.useState)([]),t=(0,i.useCallback)(e=>{let t=Date.now().toString()+Math.random().toString(36).substr(2,9),i={...e,id:t,onClose:()=>{}};a(e=>[...e,i])},[]),s=(0,i.useCallback)(e=>{a(a=>a.filter(a=>a.id!==e))},[]),r=(0,i.useCallback)(()=>{a([])},[]);return{toasts:e.map(e=>({...e,onClose:s})),showToast:t,hideToast:s,clearAllToasts:r}}},28583:(e,a,t)=>{"use strict";t.d(a,{A:()=>o});var i=t(95155),s=t(86126);let r=(0,t(12115).forwardRef)((e,a)=>{let{label:t,error:r,helperText:o,className:n,containerClassName:l,labelClassName:d,errorClassName:u,helperClassName:c,variant:m="default",inputSize:h="md",type:x="text",placeholder:g,disabled:p,...b}=e,f=(0,s.cn)("w-full transition-all duration-200 h-10 md:h-15.5","focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent","disabled:bg-gray-50 disabled:text-gray-500 disabled:cursor-not-allowed",{sm:"px-2 py-1 text-sm",md:"px-4",lg:"px-4 py-3 text-lg"}[h],{default:"border border-[#BABABB] rounded-sm bg-white",filled:"border-0 bg-gray-100 rounded-md",outlined:"border-2 border-gray-300 rounded-lg bg-transparent"}[m],r?"border-red-500 focus:ring-red-500":"hover:border-gray-400",n),k=(0,s.cn)("block text-sm font-medium text-gray-700 mb-2",p&&"text-gray-500",d),w=(0,s.cn)("text-red-500 text-sm mt-1",u),N=(0,s.cn)("text-gray-500 text-sm mt-1",c);return(0,i.jsxs)("div",{className:(0,s.cn)("w-full flex flex-col gap-1.5",l),children:[(0,i.jsx)("input",{ref:a,type:x,className:f,placeholder:g,disabled:p,"aria-invalid":r?"true":"false","aria-describedby":r?"".concat(b.id,"-error"):o?"".concat(b.id,"-helper"):void 0,...b}),t&&!r&&(0,i.jsx)("label",{className:k,children:t}),r&&(0,i.jsx)("p",{id:"".concat(b.id,"-error"),className:w,children:r}),o&&!r&&(0,i.jsx)("p",{id:"".concat(b.id,"-helper"),className:N,children:o})]})});r.displayName="FormInput";let o=r},30051:(e,a,t)=>{"use strict";t.d(a,{A:()=>u});var i=t(95155),s=t(86126),r=t(13052),o=t(92138),n=t(6874),l=t.n(n),d=t(12115);let u=e=>{let{href:a,text:t,className:n="",textClassName:u="text-pry",external:c=!1,...m}=e,[h,x]=(0,d.useState)(!1);return(0,i.jsxs)(l(),{onMouseEnter:()=>x(!0),onMouseLeave:()=>x(!1),href:a,className:(0,s.cn)("group/cta flex uppercase items-center font-bold transition-all duration-500 ease-out gap-1 text-base ",n),...c&&{target:"_blank",rel:"noopener noreferrer"},...m,children:[(0,i.jsx)("span",{className:(0,s.cn)("duration-300 transition-colors whitespace-nowrap",h?"text-sec":u),children:t}),(0,i.jsxs)("div",{className:(0,s.cn)("relative flex items-center justify-center overflow-hidden w-[1.25em] h-[1.25em]"),children:[(0,i.jsx)(r.A,{className:(0,s.cn)("absolute inset-0 w-full h-full transition-all duration-300 ease-out",h?"text-sec translate-x-full opacity-0":"".concat(u," translate-x-0 opacity-100"))}),(0,i.jsx)(o.A,{className:(0,s.cn)("absolute inset-0 w-full h-full transition-all duration-300 ease-out",h?"text-sec translate-x-0 opacity-100":"".concat(u," -translate-x-full opacity-0"))})]})]})}},38929:(e,a,t)=>{"use strict";t.d(a,{d:()=>n});var i=t(54612),s=t.n(i),r=t(18851);let o=s()({projectId:r.Lg,dataset:r.RT}),n=e=>o.image(e)}
1,49007:(e,a,t)=>{"use strict";t.d(a,{A:()=>c});var i=t(95155),s=t(86126),r=t(95679),o=t(40646),n=t(85339),l=t(81284),d=t(54416),u=t(12115);let c=e=>{let{id:a,title:t,message:c,type:m="info",duration:h=3e3,onClose:x}=e;return(0,u.useEffect)(()=>{if(h>0){let e=setTimeout(()=>{x(a)},h);return()=>clearTimeout(e)}},[a,h,x]),(0,i.jsxs)(r.P.div,{initial:{opacity:0,y:-50,scale:.95},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:-20,scale:.95},transition:{duration:.3,ease:[.4,0,.2,1]},className:(0,s.cn)("relative w-full max-w-sm rounded-lg border shadow-lg backdrop-blur-sm z-100 overflow-hidden",(()=>{switch(m){case"success":return"bg-white border-[#00B1914D] border-2";case"error":return"bg-white border-red-200 text-red-800";case"warning":return"bg-white border-yellow-200 text-yellow-800";default:return"bg-white border-blue-200 text-blue-800"}})()),children:[h>0&&(0,i.jsx)("div",{className:"absolute bottom-0 left-0 w-full h-1 bg-gray-200/50",children:(0,i.jsx)(r.P.div,{initial:{width:"100%"},animate:{width:"0%"},transition:{duration:h/1e3,ease:"linear"},className:(0,s.cn)("h-full",(()=>{switch(m){case"success":return"bg-sec";case"error":return"bg-red-500";case"warning":return"bg-yellow-500";default:return"bg-blue-500"}})())})}),(0,i.jsxs)("div",{className:"flex items-start gap-2 p-4",children:[(0,i.jsx)("div",{className:"flex-shrink-0 mt-0.5",children:(()=>{switch(m){case"success":return(0,i.jsx)(o.A,{className:"h-5 w-5 text-sec"});case"error":return(0,i.jsx)(n.A,{className:"h-5 w-5 text-red-500"});case"warning":return(0,i.jsx)(n.A,{className:"h-5 w-5 text-yellow-500"});default:return(0,i.jsx)(l.A,{className:"h-5 w-5"})}})()}),(0,i.jsxs)("div",{className:"flex-1 min-w-0 text-[#1D2939]",children:[t&&(0,i.jsx)("h4",{className:"text-base font-semibold mb-1 ",children:t}),(0,i.jsx)("p",{className:"text-base leading-[150%]",children:c})]}),(0,i.jsx)("button",{onClick:()=>x(a),className:"flex-shrink-0 ml-2 rounded-md p-1 hover:bg-black/5 transition-colors",children:(0,i.jsx)(d.A,{className:"h-4 w-4 text-[#1D2939]"})})]})]})}},49256:(e,a,t)=>{Promise.resolve().then(t.bind(t,14401)),Promise.resolve().then(t.bind(t,67579)),Promise.resolve().then(t.bind(t,74626)),Promise.resolve().then(t.bind(t,84491)),Promise.resolve().then(t.bind(t,67223))},62850:(e,a,t)=>{"use strict";t.d(a,{d:()=>l});var i=t(95155),s=t(66766),r=t(38929);function o(e){let a=e.match(/drive\.google\.com\/file\/d\/([^/?]+)/);if(a)return"https://drive.google.com/file/d/".concat(a[1],"/preview");let t=e.match(/(?:youtube\.com\/watch\?v=|youtu\.be\/)([^&?/]+)/);return t?"https://www.youtube.com/embed/".concat(t[1]):null}function n(e){let{src:a,originalUrl:t}=e,s=a.includes("drive.google.com");return(0,i.jsxs)("div",{className:"not-prose my-6 w-full",children:[(0,i.jsx)("div",{className:"aspect-video rounded-lg overflow-hidden",children:(0,i.jsx)("iframe",{src:a,className:"w-full h-full",allow:"autoplay; encrypted-media; picture-in-picture; fullscreen",allowFullScreen:!0,referrerPolicy:"no-referrer-when-downgrade",title:"Embedded video"})}),s&&(0,i.jsx)("a",{href:t||a,target:"_blank",rel:"noopener noreferrer",className:"mt-2 block text-sm text-center text-[#0044B5] underline",children:"Having trouble playing? Open in Google Drive"})]})}let l={block:{normal:e=>{let{children:a,value:t}=e,s=((null==t?void 0:t.children)||[]).filter(e=>{var a;return"span"===e._type&&(null==(a=e.text)?void 0:a.trim())});if(1===s.length){var r;let e=s[0],a=(null==(r=e.text)?void 0:r.trim())||"",l=e.marks||[];if(1===l.length){let e=((null==t?void 0:t.markDefs)||[]).find(e=>e._key===l[0]);(null==e?void 0:e._type)==="link"&&(null==e?void 0:e.href)&&(a=e.href)}let d=o(a);if(d)return(0,i.jsx)(n,{src:d,originalUrl:a})}return(0,i.jsx)("p",{children:a})}},types:{videoEmbed:e=>{var a;let{value:t}=e,s=(null==t?void 0:t.url)||"";if(!s)return null;let r=null!=(a=o(s))?a:s;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n,{src:r,originalUrl:s}),(null==t?void 0:t.caption)&&(0,i.jsx)("p",{className:"text-sm text-center text-gray-500 mt-2",children:t.caption})]})},image:e=>{var a,t,o;if(!(null==e||null==(t=e.value)||null==(a=t.asset)?void 0:a._ref))return null;let n=e.value.asset._ref.split("-"),l=1200,d=800;if(n.length>=3){let[e,a]=n[2].split("x").map(Number);e&&a&&(l=e,d=a)}return(0,i.jsx)(s.default,{className:"rounded-lg not-prose w-full h-auto border object-cover border-cyan",src:(0,r.d)(e.value).width(1200).quality(100).auto("format").url(),alt:(null==e||null==(o=e.value)?void 0:o.alt)||"",width:l,height:d})}},marks:{link:e=>{let{children:a,value:t}=e,s=(null==t?void 0:t.href)||"",r=s.startsWith("http");return(0,i.jsx)("a",{href:s,className:"text-[#0044B5] underline hover:text-[#003399] transition-colors",...r&&{target:"_blank",rel:"noopener noreferrer"},children:a})},em:e=>{let{children:a}=e;return(0,i.jsx)("em",{className:"italic",children:a})},strong:e=>{let{children:a}=e;return(0,i.jsx)("strong",{className:"font-bold",children:a})}}}},67223:(e,a,t)=>{"use strict";t.d(a,{FAQAccordion:()=>m});var i=t(95155),s=t(86126),r=t(62850),o=t(95679),n=t(19114),l=t(87712),d=t(84616),u=t(50743),c=t(12115);let m=e=>{let{faqs:a,className:t}=e,[m,h]=(0,c.useState)(new Set),x=e=>m.has(e),g=a.map(e=>{let a="_id"in e;return{id:a?e._id:e.id,question:e.question||"",answer:a&&e.answer?(0,i.jsx)(u.RK,{value:e.answer,components:r.d}):e.answer}}
1);return(0,i.jsx)("div",{className:(0,s.cn)("w-full",t),children:g.map((e,a)=>(0,i.jsxs)(o.P.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:.1*a},className:"border-b border-[#ABABAB] overflow-hidden duration-200",children:[(0,i.jsxs)("button",{onClick:()=>(e=>{h(a=>{let t=new Set(a);return t.has(e)?t.delete(e):t.add(e),t})})(e.id),className:(0,s.cn)("w-full text-left pb-5 md:pb-10 flex items-center justify-between transition-colors duration-200",0===a?"pt-0":"py-5 md:pt-10"),"aria-expanded":x(e.id),children:[(0,i.jsx)("h3",{className:"text-sm md:text-xl font-semibold text-gray-900 pr-4 leading-relaxed",children:e.question}),(0,i.jsx)(o.P.div,{animate:{rotate:180*!!x(e.id)},transition:{duration:.3,ease:[.4,0,.2,1]},className:"flex-shrink-0",children:x(e.id)?(0,i.jsx)(l.A,{className:"w-3.5 h-3.5 text-[#202124]"}):(0,i.jsx)(d.A,{className:"w-3.5 h-3.5 text-[#202124]"})})]}),(0,i.jsx)(n.N,{initial:!1,children:x(e.id)&&(0,i.jsx)(o.P.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1,transition:{height:{duration:.4,ease:[.4,0,.2,1]},opacity:{duration:.3,delay:.1}}},exit:{height:0,opacity:0,transition:{height:{duration:.3,ease:[.4,0,.2,1]},opacity:{duration:.2}}},className:"overflow-hidden",children:(0,i.jsx)("div",{className:"px-6 pb-6 pt-0",children:(0,i.jsx)("div",{className:"text-gray-700 leading-relaxed prose prose-sm md:prose-base max-w-none",children:e.answer})})})})]},e.id))})}},74626:(e,a,t)=>{"use strict";t.d(a,{default:()=>c});var i=t(95155),s=t(30051),r=t(86126),o=t(14915),n=t.n(o),l=t(13052),d=t(12115);let u=[{id:1,title:"Volunteer Requirements",content:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("ul",{className:"flex flex-col gap-4 md:gap-6 text-[#444] md:text-xl font-semibold text-[11px] list-disc pl-5 mt-8",children:[(0,i.jsxs)("li",{children:["Are at least"," ",(0,i.jsx)("span",{className:"font-bold text-[#202124]",children:"18+ years"})," old"]}),(0,i.jsx)("li",{children:"Have relevant skills to support foundation activities"}),(0,i.jsxs)("li",{children:["Complete a"," ",(0,i.jsx)("span",{className:"font-bold text-[#202124]",children:"200âword"})," essay explaining motivation"]}),(0,i.jsx)("li",{children:"Upload a CV (PDF or .doc)"})]}),(0,i.jsxs)("p",{className:"text-[#666666] italic font-semibold md:mt-8 mt-4 md:text-lg text-[10px]",children:["* Volunteers are contacted based on need and availability"," "]})]}),footer:(0,i.jsx)("p",{className:"text-pry font-semibold md:text-lg text-[10px] mt-10"})},{id:2,title:"Interested in becoming a member?",subtitle:"You donât need a background in psychology or mental health to make a difference but weâre looking for members who bring passion, empathy, and commitment to the cause. Weâre especially excited to meet individuals who:",content:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("p",{className:"font-semibold md:text-lg text-[11px] mt-6",children:"Thank you for your interest in supporting Asido Foundation! If hands-on volunteering isnât the right fit for you, you can still make a meaningful impact by becoming a Member of the Foundation."}),(0,i.jsx)("p",{className:"font-semibold md:text-lg text-[11px] mt-6",children:"As a member, you contribute through dues, gain access to a supportive network of advocates, and enjoy exclusive benefits such as access to training, discounts on events, and recommendation letters all while helping sustain our programs year-round."})]}),footer:(0,i.jsx)(s.A,{text:"Learn more",href:"/get-involved/membership",className:"mt-10 ",textClassName:"text-xs md:text-base text-pry font-semibold"})}],c=()=>{let[e,a]=(0,d.useState)(0),t=(0,d.useRef)(null);(0,d.useEffect)(()=>{n().init({disable:window.matchMedia("(prefers-reduced-motion: reduce)").matches})},[]);let o=e=>{if(a(e),t.current){let a=t.current.clientWidth;t.current.scrollTo({left:a*e,behavior:"smooth"})}};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("section",{className:"px-4 md:px-10 lg:px-20 py-15 md:pt-40 pb-15 relative",children:(0,i.jsxs)("div",{className:"flex flex-col justify-center items-center gap-2 md:gap-16",children:[(0,i.jsxs)("div",{className:"text-center flex flex-col gap-5",children:[(0,i.jsx)("p",{"data-aos":"fade-up",className:" md:text-[1.5rem] text-base md:leading-[150%] leading-[130%] font-semibold text-sec",children:"Volunteer with Asido Foundation"}),(0,i.jsx)("h1",{"data-aos":"fade-up",className:"md:text-4xl text-lg font-bold text-[#202124] md:leading-[150%] leading-[130%]",children:"Volunteering with the Asido Foundation means becoming a member of the Asido family that is at the forefront of redefining Nigeriaâs mental health movement. Weâre looking for skilled and passionate individuals who want to contribute meaningfully to our mission."})]}),(0,i.jsx)(s.A,{text:"Apply to Volunteer",href:"#volunteer-form",className:"mt-5"})]})}),(0,i.jsxs)("section",{className:"px-4 md:px-10 lg:px-20 py-15 md:py-25 relative bg-[#156B4C]",children:[(0,i.jsxs)("div",{className:"flex flex-col gap-4 md:gap-5 text-white text-center ",children:[(0,i.jsx)("h2",{"data-aos":"fade-up",className:" md:text-[1.5rem] text-base md:leading-[150%] leading-[130%] font-semibold ",children:"Why Become A Volunteer"}),(0,i.jsxs)("p",{"data-aos":"fade-up",className:"md:text-4xl text-lg font-bold md:leading-[150%] leading-[130%]",children:["Volunteers bring diverse skills that help us reach farther and achieve more. Whether you have time, expertise, or creative energy to give, thereâs a place for you in our team.",(0,i.jsx)("br",{}),(0,i.jsx)("br",{}),"If youâre more interested in supporting our mission financially and through specific activities, you can also become a member."]})]}),(0,i.jsx)("div",{className:"hidden lg:block relative",children:(0,i.jsx)("div",{className:"flex md:pt-30 pt-6 gap-8 justify-between items-stretch",children:u.map(e=>(0,i.jsxs)("div",{className:"bg-white flex flex-col w-full md:py-16 md:px-12 py-7.5 px-6 justify-between h-[700px]",children:[(0,i.jsxs)("div",{children:[(0,i.jsx)("h3",{className:"text-base md:text-[31px] font-bold",children:e.title}),e.content]}
1),e.footer]},e.id))})}),(0,i.jsxs)("div",{className:"lg:hidden relative pt-6",children:[(0,i.jsx)("div",{ref:t,className:"flex gap-4 overflow-x-auto snap-x snap-mandatory",style:{scrollbarWidth:"none",msOverflowStyle:"none"},onScroll:()=>{if(t.current){let e=t.current.clientWidth;a(Math.round(t.current.scrollLeft/e))}},children:u.map(e=>(0,i.jsxs)("div",{className:"bg-white flex flex-col w-full py-7.5 px-6 justify-between min-w-full snap-start ",children:[(0,i.jsxs)("div",{children:[(0,i.jsx)("h3",{className:"text-base font-bold",children:e.title}),e.content]}),e.footer]},e.id))}),(0,i.jsx)("div",{className:"absolute top-1/2 -translate-y-1/2 right-4 flex justify-between pointer-events-none",children:(0,i.jsx)("button",{onClick:()=>{o(e<u.length-1?e+1:0)},className:"bg-white rounded-full w-6 h-6 flex justify-center items-center shadow-lg hover:shadow-xl transition-all duration-300 pointer-events-auto transform hover:scale-105 active:scale-95","aria-label":"Next slide",children:(0,i.jsx)(l.A,{className:"w-4 h-4 text-[#354E70]",strokeWidth:"2"})})}),(0,i.jsx)("div",{className:"flex justify-center mt-6 gap-2",children:u.map((a,t)=>(0,i.jsx)("div",{className:(0,r.cn)("rounded-full w-3 h-3 flex items-center justify-center transition-all duration-300",e===t?"border border-white/80":""),style:{borderWidth:e===t?"0.5px":"0px"},children:(0,i.jsx)("button",{onClick:()=>o(t),className:(0,r.cn)("w-2 h-2 rounded-full transition-all duration-300",e===t?"bg-white scale-110":"bg-white/50 hover:bg-white/75"),"aria-label":"Go to slide ".concat(t+1)})},t))})]})]})]})}},83578:(e,a,t)=>{"use strict";t.d(a,{Q:()=>s});var i=t(34477);let s=(0,i.createServerReference)("7f9cebe3e86b4a4cadabb68220e2ee7fce9cbbeeae",i.callServer,void 0,i.findSourceMapURL,"revalidateSyncTags")},84491:(e,a,t)=>{"use strict";t.d(a,{default:()=>y});var i=t(95155),s=t(34477);let r=(0,s.createServerReference)("407d5c1c07eb912431e72760c132fc7343d1c02c14",s.callServer,void 0,s.findSourceMapURL,"submitVolunteerForm");var o=t(28583),n=t(6178),l=t(49007),d=t(91502);let u=[{name:"Abia",code:"AB",cities:["Aba","Umuahia","Ohafia","Arochukwu","Bende","Ikwuano","Isiala Ngwa North","Isiala Ngwa South","Isuikwuato","Obingwa","Osisioma","Ugwunagbo","Ukwa East","Ukwa West","Umu Nneochi"]},{name:"Adamawa",code:"AD",cities:["Yola","Mubi","Numan","Jimeta","Gombi","Hong","Michika","Song","Ganye","Fufure","Girei","Guyuk","Jada","Lamurde","Madagali","Maiha","Mayo Belwa","Mubi North","Mubi South","Shelleng","Toungo"]},{name:"Akwa Ibom",code:"AK",cities:["Uyo","Ikot Ekpene","Eket","Oron","Abak","Etinan","Ikot Abasi","Eastern Obolo","Essien Udim","Etimekpo","Ibesikpo Asutan","Ibiono Ibom","Ika","Ikono","Ini","Itu","Mbo","Mkpat Enin","Nsit Atai","Nsit Ibom","Nsit Ubium","Obbot Akara","Oruk Anam","Udung Uko","Ukanafun","Uruan","Urue-Offong/Oruko"]},{name:"Anambra",code:"AN",cities:["Awka","Onitsha","Nnewi","Ekwulobia","Agulu","Adazi Nnukwu","Aguata","Anambra East","Anambra West","Anaocha","Ayamelum","Dunukofia","Ekwusigo","Idemili North","Idemili South","Ihiala","Njikoka","Nnewi North","Nnewi South","Ogbaru","Onitsha North","Onitsha South","Orumba North","Orumba South","Oyi"]},{name:"Bauchi",code:"BA",cities:["Bauchi","Azare","Misau","Jama'are","Katagum","Alkaleri","Bogoro","Damban","Darazo","Dass","Gamawa","Ganjuwa","Giade","Itas/Gadau","Kirfi","Ningi","Shira","Tafawa Balewa","Toro","Warji","Zaki"]},{name:"Bayelsa",code:"BY",cities:["Yenagoa","Brass","Ekeremor","Kolokuma/Opokuma","Nembe","Ogbia","Sagbama","Southern Ijaw"]},{name:"Benue",code:"BN",cities:["Makurdi","Gboko","Vandikya","Adoka","Agatu","Apa","Ado","Buruku","Guma","Gwer East","Gwer West","Katsina-Ala","Konshisha","Kwande","Logo","Obi","Ogbadibo","Ohimini","Oju","Okpokwu","Otukpo","Tarka","Ukum","Ushongo","Vandeikya"]},{name:"Borno",code:"BO",cities:["Maiduguri","Biu","Bama","Konduga","Jere","Abadam","Askira/Uba","Bayo","Chibok","Damboa","Dikwa","Gubio","Guzamala","Gwoza","Hawul","Kaga","Kala/Balge","Kukawa","Kwaya Kusar","Mafa","Magumeri","Marte","Mobbar","Monguno","Ngala","Nganzai","Shani"]},{name:"Cross River",code:"CR",cities:["Calabar","Ikom","Ogoja","Obudu","Abi","Akamkpa","Akpabuyo","Bakassi","Bekwarra","Biase","Boki","Etung","Obanliku","Obubra","Odukpani","Yakuur","Yala"]},{name:"Delta",code:"DE",cities:["Asaba","Warri","Ughelli","Agbor","Aniocha North","Aniocha South","Bomadi","Burutu","Ethiope East","Ethiope West","Ika North East","Ika South","Isoko North","Isoko South","Ndokwa East","Ndokwa West","Okpe","Oshimili North","Oshimili South","Patani","Sapele","Udu","Ughelli North","Ughelli South","Ukwuani","Uvwie","Warri North","Warri South","Warri South West"]},{name:"Ebonyi",code:"EB",cities:["Abakaliki","Afikpo","Onueke","Abakaliki","Afikpo North","Afikpo South","Ebonyi","Ezza North","Ezza South","Ikwo","Ishielu","Ivo","Izzi","Ohaozara","Ohaukwu","Onicha"]},{name:"Edo",code:"ED",cities:["Benin City","Auchi","Ekpoma","Uromi","Akoko-Edo","Egor","Esan Central","Esan North-East","Esan South-East","Esan West","Etsako Central","Etsako E
1ast","Etsako West","Igueben","Ikpoba Okha","Oredo","Orhionmwon","Ovia North-East","Ovia South-West","Owan East","Owan West","Uhunmwonde"]},{name:"Ekiti",code:"EK",cities:["Ado Ekiti","Ikere","Oye","Efon","Ado Ekiti","Efon","Ekiti East","Ekiti South-West","Ekiti West","Emure","Gbonyin","Ido Osi","Ijero","Ikere","Ikole","Ilejemeje","Irepodun/Ifelodun","Ise/Orun","Moba","Oye"]},{name:"Enugu",code:"EN",cities:["Enugu","Nsukka","Oji River","Awgu","Aninri","Awgu","Enugu East","Enugu North","Enugu South","Ezeagu","Igbo Etiti","Igbo Eze North","Igbo Eze South","Isi Uzo","Nkanu East","Nkanu West","Nsukka","Oji River","Udenu","Udi","Uzo Uwani"]},{name:"FCT",code:"FC",cities:["Abuja","Gwagwalada","Kuje","Bwari","Kwali","Municipal Area Council"]},{name:"Gombe",code:"GO",cities:["Gombe","Billiri","Kaltungo","Dukku","Akko","Balanga","Billiri","Dukku","Funakaye","Gombe","Kaltungo","Kwami","Nafada","Shongom","Yamaltu/Deba"]},{name:"Imo",code:"IM",cities:["Owerri","Aboh Mbaise","Ahiazu Mbaise","Ehime Mbano","Ezinihitte","Ideato North","Ideato South","Ihitte/Uboma","Ikeduru","Isiala Mbano","Isu","Mbaitoli","Ngor Okpala","Njaba","Nkwerre","Nwangele","Obowo","Oguta","Ohaji/Egbema","Okigwe","Orlu","Orsu","Oru East","Oru West","Owerri Municipal","Owerri North","Owerri West","Unuimo"]},{name:"Jigawa",code:"JI",cities:["Dutse","Hadejia","Kazaure","Gumel","Auyo","Babura","Biriniwa","Birnin Kudu","Buji","Dutse","Gagarawa","Garki","Gumel","Guri","Gwaram","Gwiwa","Hadejia","Jahun","Kafin Hausa","Kaugama","Kazaure","Kiri Kasama","Kiyawa","Maigatari","Malam Madori","Miga","Ringim","Roni","Sule Tankarkar","Taura","Yankwashi"]},{name:"Kaduna",code:"KD",cities:["Kaduna","Zaria","Kafanchan","Kagoro","Birnin Gwari","Chikun","Giwa","Igabi","Ikara","Jaba","Jema'a","Kachia","Kaduna North","Kaduna South","Kagarko","Kajuru","Kaura","Kauru","Kubau","Kudan","Lere","Makarfi","Sabon Gari","Sanga","Soba","Zangon Kataf","Zaria"]},{name:"Kano",code:"KN",cities:["Kano","Wudil","Ajingi","Albasu","Bagwai","Bebeji","Bichi","Bunkure","Dala","Dambatta","Dawakin Kudu","Dawakin Tofa","Doguwa","Fagge","Gabasawa","Garko","Garun Mallam","Gaya","Gezawa","Gwale","Gwarzo","Kabo","Kano Municipal","Karaye","Kibiya","Kiru","Kumbotso","Kunchi","Kura","Madobi","Makoda","Minjibir","Nasarawa","Rano","Rimin Gado","Rogo","Shanono","Sumaila","Takai","Tarauni","Tofa","Tsanyawa","Tudun Wada","Ungogo","Warawa"]},{name:"Katsina",code:"KT",cities:["Katsina","Malumfashi","Bakori","Batagarawa","Batsari","Baure","Bindawa","Charanchi","Dan Musa","Dandume","Danja","Daura","Dutsi","Dutsin Ma","Faskari","Funtua","Ingawa","Jibia","Kafur","Kaita","Kankara","Kankia","Kurf
1i","Kusada","Mai'Adua","Mani","Mashi","Matazu","Musawa","Rimi","Sabuwa","Safana","Sandamu","Zango"]},{name:"Kebbi",code:"KE",cities:["Birnin Kebbi","Argungu","Yauri","Aleiro","Arewa Dandi","Argungu","Augie","Bagudo","Birnin Kebbi","Bunza","Dandi","Fakai","Gwandu","Jega","Kalgo","Koko/Besse","Maiyama","Ngaski","Sakaba","Shanga","Suru","Wasagu/Danko","Yauri","Zuru"]},{name:"Kogi",code:"KO",cities:["Lokoja","Okene","Kabba","Anyigba","Adavi","Ajaokuta","Ankpa","Bassa","Dekina","Ibaji","Idah","Igalamela Odolu","Ijumu","Kabba/Bunu","Kogi","Lokoja","Mopa Muro","Ofu","Ogori/Magongo","Okehi","Okene","Olamaboro","Omala","Yagba East","Yagba West"]},{name:"Kwara",code:"KW",cities:["Ilorin","Offa","Omu-Aran","Jebba","Asa","Baruten","Edu","Ekiti","Ifelodun","Ilorin East","Ilorin South","Ilorin West","Irepodun","Isin","Kaiama","Moro","Offa","Oke Ero","Oyun","Pategi"]},{name:"Lagos",code:"LA",cities:["Lagos","Epe","Ikorodu","Badagry","Agege","Ajeromi-Ifelodun","Alimosho","Amuwo-Odofin","Apapa","Eti Osa","Ifako-Ijaiye","Ikeja","Kosofe","Lagos Island","Lagos Mainland","Mushin","Ojo","Oshodi-Isolo","Shomolu","Surulere"]},{name:"Nasarawa",code:"NA",cities:["Lafia","Keffi","Akwanga","Nasarawa Egon","Akwanga","Awe","Doma","Karu","Keana","Keffi","Kokona","Lafia","Nasarawa","Nasarawa Egon","Obi","Toto","Wamba"]},{name:"Niger",code:"NI",cities:["Minna","Bida","Kontagora","Suleja","Agaie","Agwara","Bida","Borgu","Bosso","Chanchaga","Edati","Gbako","Gurara","Katcha","Kontagora","Lapai","Lavun","Magama","Mariga","Mashegu","Mokwa","Moya","Paikoro","Rafi","Rijau","Shiroro","Suleja","Tafa","Wushishi"]},{name:"Ogun",code:"OG",cities:["Abeokuta","Sagamu","Ijebu Ode","Ota","Abeokuta North","Abeokuta South","Ado-Odo/Ota","Egbado North","Egbado South","Ewekoro","Ifo","Ijebu East","Ijebu North","Ijebu North East","Ijebu Ode","Ikenne","Imeko Afon","Ipokia","Obafemi Owode","Odeda","Odogbolu","Ogun Waterside","Remo North","Shagamu"]},{name:"Ondo",code:"ON",cities:["Akure","Ondo","Owo","Ikare","Akoko North-East","Akoko North-West","Akoko South-West","Akoko South-East","Akure North","Akure South","Ese Odo","Idanre","Ifedore","Ilaje","Ile Oluji/Okeigbo","Irele","Odigbo","Okitipupa","Ondo East","Ondo West","Ose","Owo"]},{name:"Osun",code:"OS",cities:["Osogbo","Ile-Ife","Ede","Iwo","Atakunmosa East","Atakunmosa West","Aiyedaade","Aiyedire","Boluwaduro","Boripe","Ede North","Ede South","Egbedore","Ejigbo","Ife Central","Ife East","Ife North","Ife South","Ifedayo","Ifelodun","Ila","Ilesa East","Ilesa West","Irepodun","Irewole","Isokan","Obokun","Odo Otin","Ola Oluwa","Olorunda","Oriade","Orolu"]},{name:"Oyo",code:"OY",cities:["Ibadan","Ogbomoso","Oyo","Iseyin","Afijio","Akinyele","Atiba","Atisbo","Egbeda","Ibadan North","Ibadan North-East","Ibadan North-West","Ibadan South-East","Ibadan South-West","Ibarapa Central","Ibarapa East","Ibarapa North","Ido","Irepo","Itesiwaju","Iwajowa","Kajola","Lagelu","Ogbomoso North","Ogbomoso South","Ogo Oluwa","Olorunsogo","Oluyole","Ona Ara","Orelope","Ori Ire","Oyo East","Oyo West","Saki East","Saki West","Surulere"]},{name:"Plateau",code:"PL",cities:["Jos","Bukuru","Shendam","Pankshin","Barkin Ladi","Bassa","Bokkos","Jos East","Jos North","Jos South","Kanam","Kanke","Langtang North","Langtang South","Mangu","Mikang","Qua'an Pan","Riyom","Shendam","Wase"]},{name:"Rivers",code:"RI",cities:["Port Harcourt","Okrika","OpoboâNkoro","AbuaâOdual","Ahoada East","Ahoada West","Akuku-Toru","Andoni","Asari-Toru","Bonny","Degema","Eleme","Emuoha","Etche","Gokana","Ikwerre","Khana","Obio-Akpor","OgbaâEgbemaâNdoni","OguâBolo","Okrika","Omuma","Oyigbo","Port Harcourt","Tai"]},{name:"Sokoto",code:"SO",cities:["Sokoto","Gwadabawa","Illela","Binji","Bodinga","Dange Shuni","Gada","Goronyo","Gudu","Isa","Kebbe","Kware","Rabah","Sabon Birni","Shagari","Silame","Sokoto North","Sokoto South","Tambuwal","Tangaza","Tureta","Wamako","Wurno","Yabo"]},{name:"Taraba",code:"TA",cities:["Jalingo","Wukari","Bali","Gembu","Ardo Kola","Bali","Donga","Gashaka","Gassol","Ibi","Jalingo","Karim Lamido","Kurmi","Lau","Sardauna","Takum","Ussa","Yorro","Zing"]},{name:"Yobe",code:"YO",cities:["Gashua","Nguru","Potiskum","Bade","Bursari","Damaturu","Fika","Fune","Geidam","Gujba","Gulani","Jakusko","Karasuwa","Machina","Nangere","Nguru","Potiskum","Tarmuwa","Yunusari","Yusufari"]},{name:"Zamfara",code:"ZA",cities:["Tsafe","Anka","Bakura","Birnin Magaji/Kiyaw","Bukkuyum","Bungudu","Gummi","Gusau","Kaura Namoda","Maradun","Maru","Shinkafi","Talata Mafara","Chafe","Zurmi"]}];
1var c=t(21925),m=t(86126),h=t(90221),x=t(14915),g=t.n(x),p=t(54416),b=t(13052),f=t(92138),k=t(12115),w=t(62177),N=t(70927);let v=N.Ik({firstName:N.Yj().min(1,"First name is required"),lastName:N.Yj().min(1,"Last name is required"),email:N.Yj().email("Please enter a valid email address"),phone:N.Yj().min(10,"Please enter a valid phone number"),streetAddress:N.Yj().optional(),city:N.Yj().min(1,"City is required"),state:N.Yj().min(1,"State is required"),isOver18:N.k5(["yes","no"],{errorMap:()=>({message:"Please select at least one option"})}),occupation:N.Yj().min(1,"Occupation is required"),relevantSkills:N.YO(N.Yj()).min(1,"Please select at least one skill"),whyVolunteer:N.Yj().min(200,"Please write at least 200 words").max(1e3,"Please keep your response under 1000 words"),acknowledgment:N.zM().refine(e=>!0===e,{message:"You must acknowledge the requirements"})}),j=["Graphic Design","Community Ambassadors","Program Assistants","Helpline Responders","Program Management","Social Media Advocates","Content Creators","Research Assistants","Event Coordinators","Administrative Champions"],y=()=>{var e,a,t,s,x,N,y,A,O,I,S,E,B,K,M,G,C,W,D,T,U,P,F,L;let{toasts:Y,showToast:z}=(0,c.d)(),[R,V]=(0,k.useState)(null),[_,J]=(0,k.useState)(""),[q,H]=(0,k.useState)([]),[Z,X]=(0,k.useState)({}),[Q,$]=(0,k.useState)(!1),{register:ee,handleSubmit:ea,watch:et,setValue:ei,formState:{errors:es,isSubmitting:er},reset:eo}=(0,w.mN)({resolver:(0,h.u)(v),defaultValues:{relevantSkills:[],acknowledgment:!1,cv:void 0}}),en=et("relevantSkills"),el=(et("whyVolunteer")||"").length,ed=et("state");(0,k.useEffect)(()=>{ed&&ed!==_&&(J(ed),H((e=>{let a=u.find(a=>a.name.toLowerCase()===e.toLowerCase());return a?a.cities:[]})(ed)),ei("city",""))},[ed,_,ei]);let eu=et("firstName"),ec=et("lastName"),em=et("email"),eh=et("phone");(0,k.useEffect)(()=>{Object.keys(Z).length>0&&X({})},[eu,ec,em,eh,Z]);let ex=u.map(e=>({value:e.name,label:e.name})),eg=q.map(e=>({value:e,label:e})),ep=async e=>{try{X({});let a=new FormData;a.append("firstName",e.firstName),a.append("lastName",e.lastName),a.append("email",e.email),a.append("phone",e.phone),a.append("streetAddress",e.streetAddress||""),a.append("city",e.city),a.append("state",e.state),a.append("isOver18",e.isOver18),a.append("occupation",e.occupation),a.append("relevantSkills",JSON.stringify(e.relevantSkills)),a.append("whyVolunteer",e.whyVolunteer),a.append("acknowledgment",e.acknowledgment.toString()),R&&a.append("cv",R);let t=await r(a);t.success?(z({type:"success",title:"Application Submitted!",message:t.message,duration:5e3}),eo(),V(null),J(""),H([])):(z({type:"error",title:"Submission Failed",message:t.message,duration:5e3}),t.errors&&X(t.errors))}catch(e){console.error("Submission error:",e),z({type:"error",title:"Unexpected Error",message:"An unexpected error occurred. Please try again.",duration:5e3})}};return(0,k.useEffect)(()=>{g().init({disable:window.matchMedia("(prefers-reduced-motion: reduce)").matches})},[]),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("section",{className:"px-4 md:px-10 lg:px-20 py-15 md:py-30 relative",id:"volunteer-form",children:[(0,i.jsx)("div",{className:"flex flex-col gap-6 justify-center items-center md:gap-20",children:(0,i.jsx)("p",{"data-aos":"fade-up",className:" md:text-4xl text-base md:leading-[150%] leading-[130%] font-semibold text-sec",children:"Volunteer Application Form"})}),(0,i.jsx)("section",{className:"px-4 md:px-10 lg:px-20 mt-8",children:(0,i.jsx)("div",{className:"md:p-8",children:(0,i.jsxs)("form",{onSubmit:ea(ep),className:"space-y-6",children:[(0,i.jsxs)("div",{className:"space-y-6 md:space-y-15",children:[(0,i.jsxs)("div",{className:"flex flex-col gap-4 md:gap-6",children:[(0,i.jsx)("h3",{className:"md:text-[25px] text-base font-semibold text-[#202124]",children:"Full Name *"}),(0,i.jsxs)("div",{className:"grid md:grid-cols-2 gap-4 md:gap-6",children:[(0,i.jsx)(o.A,{...ee("firstName"),label:"First Name",placeholder:"",error:(null==(e=es.firstName)?void 0:e.message)||(null==(a=Z.firstName)?void 0:a[0]),required:!0}),(0,i.jsx)(o.A,{...ee("lastName"),label:"Last Name",placeholder:"",error:(null==(t=es.lastName)?void 0:t.message)||(null==(s=Z.lastName)?void 0:s[0]),required:!0})]})]}),(0,i.jsxs)("div",{className:"flex flex-col gap-4 md:gap-6",children:[(0,i.jsx)("h3",{className:"md:text-[25px] text-base font-semibold text-[#202124]",children:"Email Address *"}),(0,i.jsx)("div",{className:"grid md:grid-cols-2 gap-4 md:gap-6",children:(0,i.jsx)(o.A,{...ee("email"),label:"",placeholder:"[email protected]",error:(null==(x=es.email)?void 0:x.message)||(null==(N=Z.email)?void 0:N[0]),type:"email",required:!0})})]}),(0,i.jsxs)("div",{className:"flex flex-col gap-4 md:gap-6",children:[(0,i.jsx)("h3",{className:"md:text-[25px] text-base font-semibold text-[#202124]",children:"Phone Number *"}),(0,i.jsx)("div",{className:"grid md:grid-cols-2 gap-4",children:(0,i.jsx)(o.A,{...ee("phone"),type:"tel",label:"",placeholder:"+234 000 000 0000",error:(null==(y=es.phone)?void 0:y.message)||(null==(A=Z.phone)?void 0:A[0]),required:!0})})]}),(0,i.jsxs)("div",{className:"flex flex-col gap-4 md:gap-6",children:[(0,i.jsx)("h3",{className:"md:text-[25px] text-base font-semibold text-[#202124]",children:"Address"}),(0,i.jsx)("div",{className:"grid gap-4",children:(0,i.jsx)(o.A,{...ee("streetAddress"),label:"Street Address",placeholder:"Street Address",error:(null==(O=es.streetAddress)?void 0:O.message)||(null==(I=Z.streetAddress)?void 0:I[0])})})]}),(0,i.jsxs)("div",{className:"grid md:grid-cols-2 gap-4 md:gap-6",children:[(0,i.jsx)(n.A,{...ee("state"),label:"State/Province",placeholder:"Select your state",options:ex,error:(null==(S=es.state)?void 0:S.message)||(null==(E=Z.state)?void 0:E[0]),required:!0,onChange:e=>{ei("state",e)}}),(0,i.jsx)(n.A,{...ee("city"),label:"City",placeholder:_?"Select your city":"Select state first",options:eg,error:(null==(B=es.city)?void 0:B.message)||(null==(K=Z.city)?void 0:K[0]),required:!0,disabled:!_||0===q.length,onChange:e=>{ei("city",e)}})]}),(0,i.jsxs)("div",{children:[(0,i.jsx)("label",{className:"md:text-[25px] text-base font-semibold text-[#202124]",children:"Are you over 18? *"}),(0,i.jsxs)("div",{className:"grid md:grid-cols-2 gap-4 md:gap-6 md:mt-6",children:[(0,i.jsxs)("label",{className:"flex items-center",children:[(0,i.jsx)("input",{...ee("isOver18"),type:"radio",value:"yes",className:"mr-2"}),"Yes"]}),(0,i.jsxs)("label",{className:"flex items-center",children:[(0,i.jsx)("input",{...ee("isOver18"),type:"radio",value:"no",className:"mr-2"}),"No"]})]}),(es.isOver18||Z.isOver18)&&(0,i.jsx)("p",{className:"text-red-500 text-sm mt-1",children:(null==(M=es.isOver18)?void 0:M.message)||(null==(G=Z.isOver18)?void 0:G[0])})]}),(0,i.jsxs)("div",{className:"flex flex-col gap-4 md:gap-6",children:[(0,i.jsx)("h3",{className:"md:text-[25px] text-base font-semibold text-[#202124]",children:"Occupation *"}),(0,i.jsx)("div",{className:"grid md:grid-cols-2 gap-4",children:(0,i.jsx)(o.A,{...ee("occupation"),label:"",placeholder:"Your current occupation",error:(null==(C=es.occupation)?void 0:C.message)||(null==(W=Z.occupation)?void 0:W[0]),required:!0})})]}),(0,i.jsxs)("div",{className:"flex flex-col gap-4 md:gap-6",children:[(0,i.jsx)("h3",{className:"md:text-[25px] text-base font-semibold text-[#202124]",children:"Relevant Skills *"}),(0,i.jsxs)("div",{children:[(0,i.jsx)("div",{className:"grid md:grid-cols-3 gap-4 md:gap-6 md:gap-y-12",children:j.map(e=>(0,i.jsxs)("label",{className:"flex items-center",children:[(0,i.jsx)("input",{type:"checkbox",checked:(null==en?void 0:en.includes(e))||!1,onChange:()=>(e=>{let a=en||[];ei("relevantSkills",a.includes(e)?a.filter(a=>a!==e):[...a,e])})(e),className:"mr-2 w-5 h-5 rounded-sm border-[1.5px] border-[#BABABB] focus:ring-2 focus:ring-blue-500"}),(0,i.jsx)("span",{className:"text-sm",children:e})]},e))}),(es.relevantSkills||Z.relevantSkills)&&(0,i.jsx)("p",{className:"text-red-500 text-sm mt-1",children:(null==(D=es.relevantSkills)?void 0:D.message)||(null==(T=Z.relevantSkills)?void 0:T[0])})]})]}),(0,i.jsxs)("div",{className:"flex flex-col gap-4 md:gap-6",children:[(0,i.jsx)("label",{className:"md:text-[25px] text-base font-semibold text-[#202124]",children:"Why do you want to volunteer? *"}),(0,i.jsx)("textarea",{...ee("whyVolunteer"),rows:4,className:(0,m.cn)("w-full px-3 py-2 border rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500",es.whyVolunteer?"border-red-500":"border-gray-300"),placeholder:"Tell us why you want to volunteer with Asido Foundation..."}),(0,i.jsxs)("div",{className:"flex justify-between items-center mt-1",children:[(es.whyVolunteer||Z.whyVolunteer)&&(0,i.jsx)("p",{className:"text-red-500 text-sm",children:(null==(U=es.whyVolunteer)?void 0:U.message)||(null==(P=Z.whyVolunteer)?void 0:P[0])}),(0,i.jsxs)("p",{className:(0,m.cn)("text-sm ml-auto",el<100?"text-red-500":"text-gray-500"),children:[el," / 200 minimum"]})]})]}),(0,i.jsxs)("div",{className:"flex flex-col gap-4 md:gap-6",children:[(0,i.jsx)("label",{className:"md:text-[25px] text-base font-semibold text-[#202124]",children:"Upload CV (Optional)"}),R?(0,i.jsxs)("div",{className:"flex items-center justify-between p-3 bg-gray-50 rounded-md",children:[(0,i.jsx)("span",{className:"text-sm text-gray-700",children:R.name}),(0,i.jsx)("button",{type:"button",onClick:()=>{V(null),ei("cv",void 0)},className:"text-red-500 hover:text-red-700",children:(0,i.jsx)(p.A,{className:"w-4 h-4"})})]}):(0,i.jsxs)("div",{className:"border-[1.5px] border-dashed border-[#BABABB] rounded-sm p-6 md:py-15 text-center hover:border-gray-400 transition-colors",children:[(0,i.jsx)("input",{type:"file",accept:".pdf,.docx",onChange:e=>{var a;let t=null==(a=e.target.files)?void 0:a[0];if(t){if(!["application/pdf","application/vnd.openxmlformats-officedocument.wordprocessingml.document"].includes(t.type))return void alert("Please upload a PDF or DOCX file");if(t.size>5242880)return void alert("File size must be less than 5MB");V(t),ei("cv",t)}}
1,className:"hidden",id:"cv-upload"}),(0,i.jsxs)("label",{htmlFor:"cv-upload",className:"cursor-pointer",children:[(0,i.jsx)(d.kA,{className:"w-8 h-8 text-gray-400 mx-auto mb-2"}),(0,i.jsx)("h3",{className:"md:text-[25px] text-base font-semibold text-[#6A6A6C]",children:"Upload a File"}),(0,i.jsxs)("p",{className:"text-gray-600",children:["Drag and drop or"," ",(0,i.jsx)("span",{className:"text-blue-600",children:"click to upload"})]}),(0,i.jsx)("p",{className:"text-gray-400 text-sm mt-1",children:"(PDF or DOCX, max 5MB)"})]})]})]}),(0,i.jsxs)("div",{children:[(0,i.jsxs)("label",{className:"flex items-start gap-2",children:[(0,i.jsx)("input",{...ee("acknowledgment"),type:"checkbox",className:"mt-1"}),(0,i.jsx)("span",{className:"text-sm text-gray-700",children:"I acknowledge that volunteering at Asido Foundation is not a paid position, and I'm committed to making a meaningful impact. *"})]}),(es.acknowledgment||Z.acknowledgment)&&(0,i.jsx)("p",{className:"text-red-500 text-sm mt-1",children:(null==(F=es.acknowledgment)?void 0:F.message)||(null==(L=Z.acknowledgment)?void 0:L[0])})]})]}),(0,i.jsx)("div",{className:"pt-6 mx-auto text-center",children:(0,i.jsxs)("button",{onMouseEnter:()=>$(!0),onMouseLeave:()=>$(!1),className:(0,m.cn)("group/cta flex uppercase items-center font-bold transition-all duration-500 ease-out gap-1 text-base mx-auto",er&&"opacity-50 cursor-not-allowed"),type:"submit",disabled:er,children:[(0,i.jsx)("span",{className:(0,m.cn)("duration-300 transition-colors whitespace-nowrap",Q?"text-sec":"text-pry"),children:er?"Submitting...":"Submit Application"}),(0,i.jsxs)("div",{className:(0,m.cn)("relative w-5 h-5 overflow-hidden self-start"),children:[(0,i.jsx)(b.A,{className:(0,m.cn)("absolute inset-0 transition-all duration-300 ease-out",Q?"text-sec translate-x-5 opacity-0":"text-pry translate-x-0 opacity-100")}),(0,i.jsx)(f.A,{className:(0,m.cn)("absolute inset-0 transition-all duration-300 ease-out",Q?"text-sec translate-x-0 opacity-100":"text-pry -translate-x-5 opacity-0")})]})]})})]})})})]}),(0,i.jsx)("div",{className:"fixed top-4 right-4 z-50 space-y-2",children:Y.map(e=>(0,i.jsx)(l.A,{...e},e.id))})]})}}},e=>{e.O(0,[1578,6874,6766,5679,8956,2943,4612,954,1075,1502,8441,5964,7358],()=>e(e.s=49256)),_N_E=e.O()}]);
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.