(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[197],{3068:(e,a,t)=>{"use strict";t.d(a,{default:()=>ex});var r=t(21164),s=t(70464),n=t(45326),l=t(93107),i=t(85405),o=t(34938);let d=o.Ik({companyName:o.Yj().min(2,"Company name must be at least 2 characters."),industry:o.Yj().min(1,"Please select an industry."),companySize:o.k5(["1-50","51-200","201-1000","1000+"],{errorMap:()=>({message:"Please select a company size."})})}),c=o.Ik({aiRoadmap:o.k5(["No Plan","Exploring","Developing","Implemented","Optimizing"],{errorMap:()=>({message:"Please select an option regarding your AI roadmap."})}),businessValue:o.k5(["None","Low","Moderate","High","Very High"],{errorMap:()=>({message:"Please select an option for perceived business value."})})}),u=o.Ik({leadershipAlignment:o.k5(["Not at all","Slightly","Partially","Mostly","Fully"],{errorMap:()=>({message:"Please select an option."})}),skillLevel:o.ai().min(1).max(10),dataCulture:o.k5(["Not Really","Somewhat","Moderately","Strongly","Very Strongly"],{errorMap:()=>({message:"Please select an option."})})}),m=o.Ik({dataAvailability:o.k5(["Limited","Siloed","Partially Integrated","Well Integrated","Fully Integrated"],{errorMap:()=>({message:"Please select an option for data availability."})}),dataQuality:o.ai().min(1).max(10)}),h=o.Ik({techInfrastructure:o.k5(["Legacy","Modernizing","Modern","Advanced","Cutting Edge"],{errorMap:()=>({message:"Please select an option for technology infrastructure."})}),techUsage:o.YO(o.Yj()).min(0)}),x=o.Ik({ethicsCommittee:o.k5(["Yes","Planning","No"],{errorMap:()=>({message:"Please select an option about an ethics committee."})}),responsibleAiGuidelines:o.k5(["Yes","Planning","No"],{errorMap:()=>({message:"Please select an option about responsible AI guidelines."})})}),f=d.merge(c).merge(u).merge(m).merge(h).merge(x);var p=t(40979),g=t(34806),j=t(28772),v=t(10182),y=t(8466),b=t(65833);let N=(0,b.F)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),w=s.forwardRef((e,a)=>{let{className:t,...s}=e;return(0,r.jsx)(y.b,{ref:a,className:(0,p.cn)(N(),t),...s})});w.displayName=y.b.displayName;let C=n.Op,A=s.createContext({}),I=e=>{let{...a}=e;return(0,r.jsx)(A.Provider,{value:{name:a.name},children:(0,r.jsx)(n.xI,{...a})})},k=()=>{let e=s.useContext(A),a=s.useContext(S),{getFieldState:t,formState:r}=(0,n.xW)(),l=t(e.name,r);if(!e)throw Error("useFormField should be used within ");let{id:i}=a;return{id:i,name:e.name,formItemId:"".concat(i,"-form-item"),formDescriptionId:"".concat(i,"-form-item-description"),formMessageId:"".concat(i,"-form-item-message"),...l}},S=s.createContext({}),R=s.forwardRef((e,a)=>{let{className:t,...n}=e,l=s.useId();return(0,r.jsx)(S.Provider,{value:{id:l},children:(0,r.jsx)("div",{ref:a,className:(0,p.cn)("space-y-2",t),...n})})});R.displayName="FormItem";let P=s.forwardRef((e,a)=>{let{className:t,...s}=e,{error:n,formItemId:l}=k();return(0,r.jsx)(w,{ref:a,className:(0,p.cn)(n&&"text-destructive",t),htmlFor:l,...s})});P.displayName="FormLabel";let M=s.forwardRef((e,a)=>{let{...t}=e,{error:s,formItemId:n,formDescriptionId:l,formMessageId:i}=k();return(0,r.jsx)(v.DX,{ref:a,id:n,"aria-describedby":s?"".concat(l," ").concat(i):"".concat(l),"aria-invalid":!!s,...t})});M.displayName="FormControl",s.forwardRef((e,a)=>{let{className:t,...s}=e,{formDescriptionId:n}=k();return(0,r.jsx)("p",{ref:a,id:n,className:(0,p.cn)("text-sm text-muted-foreground",t),...s})}).displayName="FormDescription";let T=s.forwardRef((e,a)=>{var t;let{className:s,children:n,...l}=e,{error:i,formMessageId:o}=k(),d=i?String(null!=(t=null==i?void 0:i.message)?t:""):n;return d?(0,r.jsx)("p",{ref:a,id:o,className:(0,p.cn)("text-sm font-medium text-destructive",s),...l,children:d}):null});T.displayName="FormMessage";let E=s.forwardRef((e,a)=>{let{className:t,type:s,...n}=e;return(0,r.jsx)("input",{type:s,className:(0,p.cn)("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",t),ref:a,...n})});E.displayName="Input";var F=t(64017),V=t(73569),_=t(32140),z=t(1053);let O=F.bL;F.YJ;let L=F.WT,D=s.forwardRef((e,a)=>{let{className:t,children:s,...n}=e;return(0,r.jsxs)(F.l9,{ref:a,className:(0,p.cn)("flex h-10 w-full items-center justify-between rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus:outline-hidden focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",t),...n,children:[s,(0,r.jsx)(F.In,{asChild:!0,children:(0,r.jsx)(V.A,{className:"h-4 w-4 opacity-50"})})]})});D.displayName=F.l9.displayName;let H=s.forwardRef((e,a)=>{let{className:t,...s}=e;return(0,r.jsx)(F.PP,{ref:a,className:(0,p.cn)("flex cursor-default items-center justify-center py-1",t),...s,children:(0,r.jsx)(_.A,{className:"h-4 w-4"})})});H.displayName=F.PP.displayName;let U=s.forwardRef((e,a)=>{let{className:t,...s}=e;return(0,r.jsx)(F.wn,{ref:a,className:(0,p.cn)("flex cursor-default items-center justify-center py-1",t),...s,children:(0,r.jsx)(V.A,{className:"h-4 w-4"})})});U.displayName=F.wn.displayName;let Y=s.forwardRef((e,a)=>{let{className:t,children:s,position:n="popper",...l}=e;return(0,r.jsx)(F.ZL,{children:(0,r.jsxs)(F.UC,{ref:a,className:(0,p.cn)("relative z-50 max-h-96 min-w-32 overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2","popper"===n&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",t),position:n,...l,children:[(0,r.jsx)(H,{}),(0,r.jsx)(F.LM,{className:(0,p.cn)("p-1","popper"===n&&"h-(--radix-select-trigger-height) w-full min-w-(--radix-select-trigger-width)"),children:s}),(0,r.jsx)(U,{})]})})});Y.displayName=F.UC.displayName,s.forwardRef((e,a)=>{let{className:t,...s}=e;return(0,r.jsx)(F.JU,{ref:a,className:(0,p.cn)("py-1.5 pl-8 pr-2 text-sm font-semibold",t),...s})}).displayName=F.JU.displayName;let W=s.forwardRef((e,a)=>{let{className:t,children:s,...n}=e;return(0,r.jsxs)(F.q7,{ref:a,className:(0,p.cn)("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-hidden focus:bg-accent focus:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50",t),...n,children:[(0,r.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,r.jsx)(F.VF,{children:(0,r.jsx)(z.A,{className:"h-4 w-4"})})}),(0,r.jsx)(F.p4,{children:s})]})});W.displayName=F.q7.displayName,s.forwardRef((e,a)=>{let{className:t,...s}=e;return(0,r.jsx)(F.wv,{ref:a,className:(0,p.cn)("-mx-1 my-1 h-px bg-muted",t),...s})}).displayName=F.wv.displayName;var B=t(83568);let G=s.forwardRef((e,a)=>{let{className:t,...s}=e;return(0,r.jsx)(B.bL,{className:(0,p.cn)("flex flex-wrap gap-2 pt-2",t),...s,ref:a})});G.displayName="RadioButtonGroup";let Q=s.forwardRef((e,a)=>{let{className:t,children:s,...n}=e;return(0,r.jsx)(B.q7,{ref:a,className:(0,p.cn)((0,j.r)({variant:"outline",size:"sm"}),"data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",t),...n,children:s})});Q.displayName="RadioButtonItem";var X=t(28131);let Z=(0,b.F)("inline-flex items-center justify-center rounded-md text-sm font-medium ring-offset-background transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 gap-2",{variants:{variant:{default:"bg-transparent",outline:"border border-input bg-transparent hover:bg-accent hover:text-accent-foreground"},size:{default:"h-10 px-3 min-w-10",sm:"h-9 px-2.5 min-w-9",lg:"h-11 px-5 min-w-11"}},defaultVariants:{variant:"default",size:"default"}}),q=s.forwardRef((e,a)=>{let{className:t,variant:s,size:n,...l}=e;return(0,r.jsx)(X.b,{ref:a,className:(0,p.cn)(Z({variant:s,size:n,className:t})),...l})});q.displayName=X.b.displayName;let J=e=>{let{value:a,onChange:t,children:n,className:l}=e;return(0,r.jsx)("div",{className:(0,p.cn)("flex flex-wrap gap-2 pt-2",l),children:s.Children.map(n,e=>s.isValidElement(e)?s.cloneElement(e,{pressed:a.includes(e.props.value),onPressedChange:r=>((e,r)=>{r?t([...a,e]):t(a.filter(a=>a!==e))})(e.props.value,r)}):e)})};var $=t(66160);let K=s.forwardRef((e,a)=>{let{className:t,...s}=e;return(0,r.jsxs)($.bL,{ref:a,className:(0,p.cn)("relative flex w-full touch-none select-none items-center",t),...s,children:[(0,r.jsx)($.CC,{className:"relative h-2 w-full grow overflow-hidden rounded-full bg-secondary",children:(0,r.jsx)($.Q6,{className:"absolute h-full bg-primary"})}),(0,r.jsx)($.zi,{className:"block h-5 w-5 rounded-full border-2 border-primary bg-background ring-offset-background transition-colors focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50"})]})});K.displayName=$.bL.displayName;var ee=t(15388);let ea=s.forwardRef((e,a)=>{let{className:t,value:s,...n}=e;return(0,r.jsx)(ee.bL,{ref:a,className:(0,p.cn)("relative h-2 w-full overflow-hidden rounded-full bg-secondary",t),...n,children:(0,r.jsx)(ee.C1,{className:"h-full w-full flex-1 bg-gradient-to-r from-cyan-400 to-fuchsia-500 transition-all",style:{transform:"translateX(-".concat(100-(s||0),"%)")}})})});ea.displayName=ee.bL.displayName;var et=t(87743),er=t(67874),es=t(32513),en=t(63886),el=t(89979),ei=t(53483),eo=t(65866),ed=t(47267),ec=t(18720);let eu=[{id:"company",schema:d,title:"Company Information",icon:et.A},{id:"strategy",schema:c,title:"Strategy",icon:er.A},{id:"organization",schema:u,title:"Organization",icon:es.A},{id:"data",schema:m,title:"Data",icon:en.A},{id:"technology",schema:h,title:"Technology",icon:el.A},{id:"governance",schema:x,title:"AI Governance",icon:ei.A}],em=["Technology","Finance","Healthcare","Retail","Manufacturing","Other"],eh=[{id:"ml_platforms",label:"ML Platforms"},{id:"data_warehouses",label:"Data Warehouses"},{id:"bi_tools",label:"BI Tools"},{id:"none",label:"None"}];function ex(){let[e,a]=(0,s.useState)(0),[t,o]=(0,s.useState)(!1),d=(0,i.useRouter)(),{toast:c}=(0,ec.dj)(),u=(0,n.mN)({resolver:(0,l.u)(f),defaultValues:{companyName:"",industry:"",dataQuality:5,techUsage:[],skillLevel:5},mode:"onChange"}),{trigger:m,getValues:h}=u,x=async e=>{o(!0);try{let a=await new Promise((e,a)=>{window.grecaptcha?window.grecaptcha.ready(()=>{var t;window.grecaptcha.execute((t="6LcAMtsrAAAAAGbUpH2aP5AxFU8iKv8-pfdfPjWT",void 0!==t)?t:"",{action:"submit"}).then(a=>e(a)).catch(e=>a(e))}):a(Error("reCAPTCHA not loaded"))}),t=await fetch("".concat("https://aimfa.axaz.cloud","/api/submit"),{method:"POST",headers:{"Content-Type":"application/json","Access-Control-Allow-Origin":"*","X-Recaptcha-Token":a},body:JSON.stringify(e)});if(!t.ok)throw Error("Network response was not ok.");let{report_id:r}=await t.json();d.push("/report?id=".concat(r))}catch(e){console.error("Failed to submit assessment:",e),c({title:"Submission Failed",description:"There was an error submitting your assessment. Please try again.",variant:"destructive"})}finally{o(!1)}},v=async t=>{(!(t>e)||await y(e))&&a(t)},y=async e=>{let a=eu[e].schema;if(a){let e=Object.keys(a.shape);return await m(e,{shouldFocus:!0})}return!0},b=async()=>{await y(e)&&(ee+1):await u.handleSubmit(x)())},N=()=>{e>0&&a(e=>e-1)},w=(e+1)/eu.length*100;return(0,r.jsxs)("div",{className:"w-full max-w-3xl mx-auto py-8",children:[(0,r.jsxs)("div",{className:"w-full pt-2 px-1 mb-6",children:[(0,r.jsxs)("div",{className:"flex justify-between items-center mb-2",children:[(0,r.jsx)("span",{className:"text-sm font-medium",children:"Progress"}),(0,r.jsxs)("span",{className:"text-sm text-muted-foreground",children:[Math.round(w),"%"]})]}),(0,r.jsx)(ea,{value:w,className:"w-full h-8"})]}),(0,r.jsx)("div",{className:"relative h-[520px]",children:(0,r.jsx)(C,{...u,children:(0,r.jsx)("form",{onSubmit:u.handleSubmit(x),className:"relative h-full",children:eu.map((a,s)=>{let n=a.icon,l=s===e;return(0,r.jsx)("div",{className:(0,p.cn)("absolute w-full h-full transition-all duration-300 ease-in-out",l?"opacity-100 z-10":"opacity-0 -z-10"),children:(0,r.jsxs)(g.Zp,{className:(0,p.cn)("w-full h-full bg-card/60 backdrop-blur-sm flex flex-col"),children:[(0,r.jsx)(g.aR,{onClick:()=>v(s),className:"cursor-pointer",children:(0,r.jsxs)("div",{className:"flex justify-between ",children:[(0,r.jsxs)("div",{className:"flex items-center gap-3",children:[(0,r.jsx)(n,{className:"h-6 w-6 text-black"}),(0,r.jsx)(g.ZB,{className:"text-2xl font-headline",children:a.title})]}),(0,r.jsxs)("span",{className:"text-base font-medium font-bold text-black dark:text-white",children:["Step ",e+1," of ",eu.length]})]})}),(0,r.jsxs)(g.Wu,{className:"flex-grow min-h-[300px] overflow-y-auto",children:[0===s&&(0,r.jsxs)("div",{className:"space-y-6",children:[(0,r.jsx)(I,{control:u.control,name:"companyName",render:e=>{let{field:a}=e;return(0,r.jsxs)(R,{children:[(0,r.jsx)(P,{children:"Company Name"}),(0,r.jsx)(M,{children:(0,r.jsx)(E,{placeholder:"Your Company Inc.",...a,className:"h-11 px-4 text-base"})}),(0,r.jsx)(T,{})]})}}),(0,r.jsx)(I,{control:u.control,name:"industry",render:e=>{let{field:a}=e;return(0,r.jsxs)(R,{children:[(0,r.jsx)(P,{children:"Industry"}),(0,r.jsxs)(O,{onValueChange:a.onChange,value:a.value,children:[(0,r.jsx)(M,{children:(0,r.jsx)(D,{children:(0,r.jsx)(L,{placeholder:"Select an industry"})})}),(0,r.jsx)(Y,{children:em.map(e=>(0,r.jsx)(W,{value:e,children:e},e))})]}),(0,r.jsx)(T,{})]})}}),(0,r.jsx)(I,{control:u.control,name:"companySize",render:e=>{let{field:a}=e;return(0,r.jsxs)(R,{children:[(0,r.jsx)(P,{children:"Company Size"}),(0,r.jsx)(M,{children:(0,r.jsx)(G,{onValueChange:a.onChange,value:a.value,children:["1-50","51-200","201-1000","1000+"].map(e=>(0,r.jsx)(Q,{value:e,children:e},e))})}),(0,r.jsx)(T,{})]})}})]}),1===s&&(0,r.jsxs)("div",{className:"space-y-8",children:[(0,r.jsx)(I,{control:u.control,name:"aiRoadmap",render:e=>{let{field:a}=e;return(0,r.jsxs)(R,{children:[(0,r.jsx)(P,{children:"How would you describe your AI roadmap?"}),(0,r.jsx)(M,{children:(0,r.jsx)(G,{onValueChange:a.onChange,value:a.value,children:["No Plan","Exploring","Developing","Implemented","Optimizing"].map(e=>(0,r.jsx)(Q,{value:e,children:e},e))})}),(0,r.jsx)(T,{})]})}}),(0,r.jsx)(I,{control:u.control,name:"businessValue",render:e=>{let{field:a}=e;return(0,r.jsxs)(R,{children:[(0,r.jsx)(P,{children:"What is the perceived business value of AI in your organization?"}),(0,r.jsx)(M,{children:(0,r.jsx)(G,{onValueChange:a.onChange,value:a.value,children:["None","Low","Moderate","High","Very High"].map(e=>(0,r.jsx)(Q,{value:e,children:e},e))})}),(0,r.jsx)(T,{})]})}})]}),2===s&&(0,r.jsxs)("div",{className:"space-y-8",children:[(0,r.jsx)(I,{control:u.control,name:"leadershipAlignment",render:e=>{let{field:a}=e;return(0,r.jsxs)(R,{children:[(0,r.jsx)(P,{children:"Is leadership aligned on AI goals?"}),(0,r.jsx)(M,{children:(0,r.jsx)(G,{onValueChange:a.onChange,value:a.value,children:["Not at all","Slightly","Partially","Mostly","Fully"].map(e=>(0,r.jsx)(Q,{value:e,children:e},e))})}),(0,r.jsx)(T,{})]})}}),(0,r.jsx)(I,{control:u.control,name:"skillLevel",render:e=>{let{field:a}=e;return(0,r.jsxs)(R,{children:[(0,r.jsx)(P,{children:"Rate your team's AI/ML skills (1-10)"}),(0,r.jsx)(M,{children:(0,r.jsx)(K,{onValueChange:e=>a.onChange(e[0]),value:[a.value],min:1,max:10,step:1,className:"pt-4"})}),(0,r.jsxs)("div",{className:"flex justify-between text-sm text-muted-foreground pt-2",children:[(0,r.jsx)("span",{children:"Beginner"}),(0,r.jsx)("span",{children:"Expert"})]}),(0,r.jsx)(T,{})]})}}),(0,r.jsx)(I,{control:u.control,name:"dataCulture",render:e=>{let{field:a}=e;return(0,r.jsxs)(R,{children:[(0,r.jsx)(P,{children:"Is your company culture open to data-driven decisions?"}),(0,r.jsx)(M,{children:(0,r.jsx)(G,{onValueChange:a.onChange,value:a.value,children:["Not Really","Somewhat","Moderately","Strongly","Very Strongly"].map(e=>(0,r.jsx)(Q,{value:e,children:e},e))})}),(0,r.jsx)(T,{})]})}})]}),3===s&&(0,r.jsxs)("div",{className:"space-y-8",children:[(0,r.jsx)(I,{control:u.control,name:"dataAvailability",render:e=>{let{field:a}=e;return(0,r.jsxs)(R,{children:[(0,r.jsx)(P,{children:"How available is data for your AI initiatives?"}),(0,r.jsx)(M,{children:(0,r.jsx)(G,{onValueChange:a.onChange,value:a.value,children:["Limited","Siloed","Partially Integrated","Well Integrated","Fully Integrated"].map(e=>(0,r.jsx)(Q,{value:e,children:e},e))})}),(0,r.jsx)(T,{})]})}}),(0,r.jsx)(I,{control:u.control,name:"dataQuality",render:e=>{let{field:a}=e;return(0,r.jsxs)(R,{children:[(0,r.jsx)(P,{children:"Rate your data quality and accessibility (1-10)"}),(0,r.jsx)(M,{children:(0,r.jsx)(K,{onValueChange:e=>a.onChange(e[0]),value:[a.value],min:1,max:10,step:1,className:"pt-4"})}),(0,r.jsxs)("div",{className:"flex justify-between text-sm text-muted-foreground pt-2",children:[(0,r.jsx)("span",{children:"Poor"}),(0,r.jsx)("span",{children:"Excellent"})]}),(0,r.jsx)(T,{})]})}})]}),4===s&&(0,r.jsxs)("div",{className:"space-y-6",children:[(0,r.jsx)(I,{control:u.control,name:"techInfrastructure",render:e=>{let{field:a}=e;return(0,r.jsxs)(R,{children:[(0,r.jsx)(P,{children:"How would you describe your current tech infrastructure?"}),(0,r.jsx)(M,{children:(0,r.jsx)(G,{onValueChange:a.onChange,value:a.value,children:["Legacy","Modernizing","Modern","Advanced","Cutting Edge"].map(e=>(0,r.jsx)(Q,{value:e,children:e},e))})}),(0,r.jsx)(T,{})]})}}),(0,r.jsx)(I,{control:u.control,name:"techUsage",render:e=>{let{field:a}=e;return(0,r.jsxs)(R,{children:[(0,r.jsx)(P,{children:"Which AI/ML technologies are you using? (Select all that apply)"}),(0,r.jsx)(M,{children:(0,r.jsx)(J,{value:a.value||[],onChange:e=>e.includes("none")&&!a.value.includes("none")?void a.onChange(["none"]):a.value.includes("none")&&e.length>1?void a.onChange(e.filter(e=>"none"!==e)):void a.onChange(e),children:eh.map(e=>(0,r.jsx)(q,{value:e.id,variant:"outline",children:e.label},e.id))})}),(0,r.jsx)("div",{className:"text-sm text-muted-foreground pt-2",children:'You can select multiple options. Selecting another option will deselect "None".'}),(0,r.jsx)(T,{})]})}})]}),5===s&&(0,r.jsxs)("div",{className:"space-y-8",children:[(0,r.jsx)(I,{control:u.control,name:"ethicsCommittee",render:e=>{let{field:a}=e;return(0,r.jsxs)(R,{children:[(0,r.jsx)(P,{children:"Do you have an AI ethics committee?"}),(0,r.jsx)(M,{children:(0,r.jsx)(G,{onValueChange:a.onChange,value:a.value,children:["Yes","Planning","No"].map(e=>(0,r.jsx)(Q,{value:e,children:e},e))})}),(0,r.jsx)(T,{})]})}}),(0,r.jsx)(I,{control:u.control,name:"responsibleAiGuidelines",render:e=>{let{field:a}=e;return(0,r.jsxs)(R,{children:[(0,r.jsx)(P,{children:"Do you have responsible AI guidelines in place?"}),(0,r.jsx)(M,{children:(0,r.jsx)(G,{onValueChange:a.onChange,value:a.value,children:["Yes","Planning","No"].map(e=>(0,r.jsx)(Q,{value:e,children:e},e))})}),(0,r.jsx)(T,{})]})}})]})]}),(0,r.jsxs)(g.wL,{className:"flex justify-between",children:[(0,r.jsxs)(j.$,{type:"button",variant:"outline",onClick:N,disabled:0===e||t,children:[(0,r.jsx)(eo.A,{className:"mr-2 h-4 w-4"})," Previous"]}),(0,r.jsx)(j.$,{type:"button",onClick:b,disabled:t,className:"bg-accent hover:bg-accent/90",children:t?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(ed.A,{className:"mr-2 h-4 w-4 animate-spin"})," Submitting..."]}):e===eu.length-1?"Submit & View Report":"Next"})]})]})},a.id)})})})})]})}},18720:(e,a,t)=>{"use strict";t.d(a,{dj:()=>u});var r=t(70464);let s=0,n=new Map,l=e=>{if(n.has(e))return;let a=setTimeout(()=>{n.delete(e),d({type:"REMOVE_TOAST",toastId:e})},1e6);n.set(e,a)},i=[],o={toasts:[]};function d(e){o=((e,a)=>{switch(a.type){case"ADD_TOAST":return{...e,toasts:[a.toast,...e.toasts].slice(0,1)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(e=>e.id===a.toast.id?{...e,...a.toast}:e)};case"DISMISS_TOAST":{let{toastId:t}=a;return t?l(t):e.toasts.forEach(e=>{l(e.id)}),{...e,toasts:e.toasts.map(e=>e.id===t||void 0===t?{...e,open:!1}:e)}}case"REMOVE_TOAST":if(void 0===a.toastId)return{...e,toasts:[]};return{...e,toasts:e.toasts.filter(e=>e.id!==a.toastId)}}})(o,e),i.forEach(e=>{e(o)})}function c(e){let{...a}=e,t=(s=(s+1)%Number.MAX_SAFE_INTEGER).toString(),r=()=>d({type:"DISMISS_TOAST",toastId:t});return d({type:"ADD_TOAST",toast:{...a,id:t,open:!0,onOpenChange:e=>{e||r()}}}),{id:t,dismiss:r,update:e=>d({type:"UPDATE_TOAST",toast:{...e,id:t}})}}function u(){let[e,a]=r.useState(o);return r.useEffect(()=>(i.push(a),()=>{let e=i.indexOf(a);e>-1&&i.splice(e,1)}),[e]),{...e,toast:c,dismiss:e=>d({type:"DISMISS_TOAST",toastId:e})}}},28772:(e,a,t)=>{"use strict";t.d(a,{$:()=>d,r:()=>o});var r=t(21164),s=t(70464),n=t(10182),l=t(65833),i=t(40979);let o=(0,l.F)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),d=s.forwardRef((e,a)=>{let{className:t,variant:s,size:l,asChild:d=!1,...c}=e,u=d?n.DX:"button";return(0,r.jsx)(u,{className:(0,i.cn)(o({variant:s,size:l,className:t})),ref:a,...c})});d.displayName="Button"},34806:(e,a,t)=>{"use strict";t.d(a,{BT:()=>d,Wu:()=>c,ZB:()=>o,Zp:()=>l,aR:()=>i,wL:()=>u});var r=t(21164),s=t(70464),n=t(40979);let l=s.forwardRef((e,a)=>{let{className:t,...s}=e;return(0,r.jsx)("div",{ref:a,className:(0,n.cn)("rounded-lg border bg-card text-card-foreground shadow-xs",t),...s})});l.displayName="Card";let i=s.forwardRef((e,a)=>{let{className:t,...s}=e;return(0,r.jsx)("div",{ref:a,className:(0,n.cn)("flex flex-col space-y-1.5 p-6",t),...s})});i.displayName="CardHeader";let o=s.forwardRef((e,a)=>{let{className:t,...s}=e;return(0,r.jsx)("div",{ref:a,className:(0,n.cn)("text-2xl font-semibold leading-none tracking-tight",t),...s})});o.displayName="CardTitle";let d=s.forwardRef((e,a)=>{let{className:t,...s}=e;return(0,r.jsx)("div",{ref:a,className:(0,n.cn)("text-sm text-muted-foreground",t),...s})});d.displayName="CardDescription";let c=s.forwardRef((e,a)=>{let{className:t,...s}=e;return(0,r.jsx)("div",{ref:a,className:(0,n.cn)("p-6 pt-0",t),...s})});c.displayName="CardContent";let u=s.forwardRef((e,a)=>{let{className:t,...s}=e;return(0,r.jsx)("div",{ref:a,className:(0,n.cn)("flex items-center p-6 pt-0",t),...s})});u.displayName="CardFooter"},40979:(e,a,t)=>{"use strict";t.d(a,{cn:()=>n});var r=t(76529),s=t(47121);function n(){for(var e=arguments.length,a=Array(e),t=0;t{Promise.resolve().then(t.bind(t,3068))}},e=>{e.O(0,[517,241,58,2,210,358],()=>e(e.s=85807)),_N_E=e.O()}]);