PageSourceSearch

https://finomics.ai/assets/DealRegistration-CtO1ygND.js

js finomics.ai collected 2026-09-25 18:35:02 UTC 29,420 bytes, 1 lines download raw bytes

1import{r as d,R as _,j as e,d as I,T as me,k as ue,l as he,m as xe,X as pe}from"./index-BmmDLC6A.js";import{m as v,F as H,A as ge,a as fe,b as be,c as ye}from"./gemini-CCG4WpZS.js";import{I as je}from"./info-UKl8iJbt.js";import{e as we,C as ve,D as Ne,S as _e,b as X}from"./Navigation-CZqnNp_G.js";import{F as Ce}from"./Footer-D9oToavW.js";import{B as Se}from"./building-2-BAKzyxUY.js";import{S as Q}from"./shield-check-B3jGQaNd.js";import{T as ke}from"./tag-B8tJMC5R.js";import{C as Pe}from"./chart-line-DMeHbRSt.js";import{C as K}from"./circle-alert-gNtjUvul.js";import{U as Oe}from"./users-DqOK5V72.js";import{C as B}from"./circle-check-CwDFWA_r.js";import{S as Te}from"./send-BQGJVVrm.js";const V=["Confluent","Zoom","Snowflake","InRiver","MongoDB","Coveo","Microsoft 365","OneStream","Commercetools","Annex Cloud","Salesforce","Aviatrix","Splunk","Sauce Labs","Cato Networks","BigID","ServiceNow","BitSight","Adobe Experience Cloud","Figma","Google Cloud Apigee","Intuition Rubicon","Ping Identity","LaunchDarkly","Akamai","
1LeanIX","CrowdStrike","Level Access","Rapid7","OneTrust","Reltio","Ordergroove","SmartBear","Qualys","Snyk","SonarSource"],ae="https://api.partners.finomics.ai/api/public/deal-registration",Ae=`${ae}/verify-otp`,Ie={"Reduce Cloud Bills":"reduce","Automate reporting & dashboards":"automate","Implement accurate forecasting & budgeting":"forecast","Governance & Compliance":"governance","Replace an existing legacy tool":"replace","All the above":"all"},Fe={Yes:"Yes",No:"No","Exploring options":"Exploring"},De={"Yes, fully implemented":"Yes,fully","Partially implemented":"Partially",No:"No"},Re={"Yes, dedicated team":"Yes,dedicated","Part-time / shared responsibility":"Part-time","No, but planning to establish":"Planning",No:"No"},ee={inquiry_mode:"Partner Assisted",company_name:"",partner_name:"",industry:"",contact_name:"",job_title:"",contact_email:"",contact_phone:"",cloud_aws:"",cloud_azure:"",cloud_gcp:"",cloud_oci:"",cloud_others:"",pcloud_vmware:"",pcloud_nutanix:"",pcloud_others:"",itsm:"",itsm_details:"",tagging:"",tagging_details:"",spend_tracking:"",pain_points:"",finops_team:"",outcome_details:"",saas_others:""},Ee=o=>{if(!o)return null;const a=o.endsWith("Z")?o:`${o}Z`,s=new Date(a);return Number.isNaN(s.getTime())?null:s},te=o=>{const a=Ee(o);return a?Math.max(0,Math.floor((a.getTime()-Date.now())/1e3)):0},Le=o=>{const a=Math.floor(o/60),s=o%60;return`${a}:${s.toString().padStart(2,"0")}`},Me=o=>{if(!o||!o.includes("@"))return o||"";const[a,s]=o.split("@");return a.length<=2?`${a[0]||"*"}***@${s}`:`${a[0]}${"*".repeat(Math.min(3,a.length-1))}@${s}`},x=o=>{if(typeof o!="string")return;const a=o.trim();return a.length>0?a:void 0},se=o=>{const a=o.reduce((s,[t,p])=>{const u=x(p);return u&&(s[t]=u),s},{});return Object.keys(a).length>0?a:void 0},ze=o=>{if(o.includes("All the above"))return["all"];const a=o.map(s=>Ie[s]).filter(Boolean);return a.length>0?Array.from(new Set(a)):void 0};function Ve(){const o=d.useRef(null),[a,s]=d.useState(0),[t,p]=d.useState(ee),[u,g]=d.useState({}),[f,O]=d.useState([]),[$,P]=d.useState(null),[F,c]=d.useState(!1),[q,R]=d.useState(!1),[E,C]=d.useState(""),[j,S]=d.useState(null),[l,D]=d.useState(0),[T,U]=d.useState(null);d.useEffect(()=>{const i={};V.forEach((r,n)=>{i[`saas_${n}`]={checked:!1,cost:""}}),g(i)},[]);const h=d.useCallback((i,r="success")=>{P({message:i,type:r}),setTimeout(()=>P(null),4e3)},[]),L=d.useCallback(i=>Array.isArray(i.errors)&&i.errors.length>0?i.errors.join(" | "):i.message,[]),ie=d.useCallback(()=>{p(ee),g(V.reduce((i,r,n)=>(i[`saas_${n}`]={checked:!1,cost:""},i),{})),O([])},[]),ne=d.useCallback(()=>{S(null),C("")},[]);d.useEffect(()=>{if(!j?.expiresAt){D(0);return}D(te(j.expiresAt));const i=setInterval(()=>{D(te(j.expiresAt))},1e3);return()=>clearInterval(i)},[j?.expiresAt]);const oe=d.useCallback(()=>{const i={inquiryMode:x(t.inquiry_mode),partnerName:x(t.partner_name),companyName:x(t.company_name),contactName:x(t.contact_name),contactEmail:x(t.contact_email)},r={industry:x(t.industry),jobTitle:x(t.job_title),contactPhone:x(t.contact_phone),itsm:Fe[t.itsm]||void 0,itsmDetails:x(t.itsm_details),tagging:De[t.tagging]||void 0,taggingDetails:x(t.tagging_details),finopsTeam:Re[t.finops_team]||void 0,spendTracking:x(t.spend_tracking),painPoints:x(t.pain_points),outcomeDetails:x(t.outcome_details),saasOthers:x(t.saas_others)},n=se([["AWS",t.cloud_aws],["Azure",t.cloud_azure],["GCP",t.cloud_gcp],["OCI",t.cloud_oci],["Others",t.cloud_others]]),m=se([["VMware",t.pcloud_vmware],["Nutanix",t.pcloud_nutanix],["Others",t.pcloud_others]]),w=V.map((W,M)=>{const G=u[`saas_${M}`];if(!G?.checked)return null;const Z={name:W},J=x(G.cost);return J&&(Z.cost=J),Z}).filter(Boolean),Y=ze(f);return n&&(r.cloudProviders=n),m&&(r.pcloudProviders=m),w.length>0&&(r.saasProviders=w),Y&&(r.outcomes=Y),Object.entries(r).forEach(([W,M])=>{M!==void 0&&(i[W]=M)}),i},[t,u,f]),re=d.useCallback(i=>{const{name:r,value:n}=i.target;p(m=>({...m,[r]:n}))},[]),le=d.useCallback((i,r)=>{g(n=>({...n,[i]:{...n[i],checked:r}}))},[]),ce=d.useCallback((i,r)=>{g(n=>({...n,[i]:{...n[i],cost:r}}))},[]),de=d.useCallback(i=>{O(r=>{if(i==="All the above"){const n=["Reduce Cloud Bills","Automate reporting & dashboards","Implement accurate forecasting & budgeting","Governance & Compliance","Replace an existing legacy tool","All the above"];return r.includes("All the above")?[]:n}return r.includes(i)?r.filter(n=>n!==i&&n!=="All the above"):[...r,i]})},[]);return d.useEffect(()=>{let i=0;const r=10;(t.partner_name||t.company_name||t.contact_name||t.contact_email)&&i++,(t.cloud_aws||t.cloud_azure||t.cloud_gcp||t.cloud_oci||t.cloud_others
1)&&i++,(Object.values(u).some(n=>n.checked)||t.saas_others)&&i++,(t.pcloud_vmware||t.pcloud_nutanix||t.pcloud_others)&&i++,(t.itsm||t.itsm_details)&&i++,(t.tagging||t.tagging_details)&&i++,t.spend_tracking&&i++,t.pain_points&&i++,t.finops_team&&i++,(f.length>0||t.outcome_details)&&i++,s(Math.round(i/r*100))},[t,u,f]),{formRef:o,progress:a,formData:t,selectedSaas:u,outcomes:f,toast:$,isSubmitting:F,isVerifyingOtp:q,otpCode:E,setOtpCode:C,otpFlowData:j,otpTimeLeft:l,verificationReferenceId:T,handleInputChange:re,handleSaasChange:le,handleSaasCostChange:ce,handleOutcomeToggle:de,handleSubmit:async i=>{if(i.preventDefault(),t.inquiry_mode==="Partner Assisted"&&!t.company_name||!t.contact_name||!t.contact_email){h("Please fill in all required fields.","error");return}c(!0);try{const r=oe(),n=await fetch(ae,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(r)}),m=await n.json().catch(()=>({}));if(n.status===202&&m.data?.submissionToken){const w=m.data;S(w),C(""),U(null),h(m.message||"OTP sent. Enter the 6-digit code to continue.","success");return}if(n.status===400){h(L(m)||"Validation failed.","error");return}if(n.status===429){h(m.message||"Too many requests. Please try again later.","error");return}if(n.status>=500){h("Something went wrong, please try again.","error");return}h(L(m)||"Unable to submit registration. Please try again.","error")}catch{h("Unable to submit registration. Please check your connection and try again.","error")}finally{c(!1)}},handleVerifyOtp:async()=>{if(!j?.submissionToken){h("OTP session expired. Please submit the questionnaire again.","error");return}const i=E.replace(/\D/g,"").slice(0,6);if(!/^\d{6}$/.test(i)){h("Please enter a valid 6-digit OTP.","error");return}R(!0);try{const r=await fetch(Ae,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({submissionToken:j.submissionToken,otp:i})}),n=await r.json().catch(()=>({}));if(r.ok&&r.status===200&&n.data){const m=n.data.id||null;U(m),h(m?`Submission verified. Reference ID: ${m}`:"Submission verified. Thank you!","success"),S(null),C(""),ie();return}if(r.status===400){const m=n.message||L(n)||"Unable to verify OTP.",w=m.toLowerCase();if(w.startsWith("incorrect code")){h(m,"error");return}if(w.startsWith("otp expired")||w.startsWith("invalid or expired submission token")||w.startsWith("otp no longer available")){S(null),C(""),h(m,"error");return}if(Array.isArray(n.errors)&&n.errors.length>0){h(n.errors.join(" | "),"error");return}h(m,"error");return}if(r.status===429){const m=n.message||"Too many incorrect OTP attempts. Please submit again.";m.toLowerCase().includes("too many incorrect otp attempts")&&(S(null),C("")),h(m,"error");return}if(r.status>=500){h("Something went wrong, please try again.","error");return}h(L(n)||"Unable to verify OTP. Please try again.","error")}catch{h("Unable to verify OTP. Please check your connection and try again.","error")}finally{R(!1)}},closeOtpModal:ne}}const y=_.memo(function({icon:a,title:s,description:t,children:p,isFeatured:u}){return e.jsxs(v.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,ease:"easeOut"},className:I("enhanced-card rounded-[2rem] p-8 md:p-10 transition-all duration-300",u?"border-finomics-blue/30 ring-1 ring-finomics-blue/10":"border-white/5 hover:border-white/10"),children:[e.jsxs("div",{className:"flex items-start gap-6 mb-10",children:[e.jsx("div",{className:"flex-shrink-0 p-4 rounded-2xl bg-finomics-blue/10 border border-finomics-blue/20 text-finomics-blue shadow-lg shadow-finomics-blue/5",children:a}),e.jsxs("div",{className:"space-y-1.5",children:[e.jsx("h2",{className:"text-2xl font-bold tracking-tight text-white glow-text",children:s}),e.jsx("p",{className:"text-sm text-finomics-text-secondary leading-relaxed max-w-xl",children:t})]})]}),p]})}),b=_.memo(function({children:a}){return e.jsx("label",{className:"block text-xs font-bold text-finomics-text-secondary uppercase tracking-widest mb-1",children:a})}),N=_.memo(function({...a}){return e.jsx("input",{...a,className:"w-full px-5 py-3.5 bg-white/5 border border-white/10 rounded-xl text-sm text-white placeholder:text-white/20 outline-none focus:ring-1 focus:border-finomics-blue/50 focus:ring-finomics-blue/20 transition-all"})}),A=_.memo(function({...a}){return e.jsx("textarea",{...a,rows:a.rows||3,className:"w-full px-5 py-3.5 bg-white/5 border border-white/10 rounded-xl text-sm text-white placeholder:text-white/20 focu
1s:outline-none focus:border-finomics-blue/50 focus:ring-1 focus:ring-finomics-blue/20 transition-all resize-y"})}),z=_.memo(function({label:a,name:s,value:t,checked:p,onChange:u,info:g}){return e.jsxs("label",{className:I("flex items-center gap-3 p-4 rounded-xl border transition-all duration-200 cursor-pointer",p?"bg-finomics-blue/10 border-finomics-blue text-white":"bg-white/5 border-white/5 text-finomics-text-secondary hover:border-white/10"),children:[e.jsx("input",{type:"radio",name:s,value:t,checked:p,onChange:u,className:"w-4 h-4 border-white/20 bg-white/5 text-finomics-blue accent-finomics-blue"}),e.jsx("span",{className:"text-sm font-medium",children:a}),g&&e.jsx(me,{delayDuration:2,children:e.jsxs(ue,{children:[e.jsx(he,{asChild:!0,children:e.jsx(je,{className:"w-4 h-4 cursor-pointer text-muted-foreground"})}),e.jsx(xe,{children:g})]})})]})}),$e=_.memo(function({id:a,name:s,isChecked:t,cost:p,onCheckChange:u,onCostChange:g}){return e.jsxs("div",{className:I("flex items-center justify-between p-4 transition-all duration-200",t?"bg-finomics-blue/10":"bg-finomics-card-bg/50 hover:bg-finomics-card-bg"),children:[e.jsxs("label",{className:"flex items-center gap-3 cursor-pointer flex-1 min-w-0",children:[e.jsx("input",{type:"checkbox",checked:t,onChange:f=>u(a,f.target.checked),className:"w-4 h-4 rounded border-white/20 bg-white/5 text-finomics-blue focus:ring-finomics-blue/50 accent-finomics-blue"}),e.jsx("span",{className:I("text-sm font-medium truncate",t?"text-white":"text-finomics-text-secondary"),children:s})]}),e.jsx("input",{type:"text",placeholder:"$ Cost",disabled:!t,value:p,onChange:f=>g(a,f.target.value),className:"w-24 px-3 py-1.5 text-xs bg-white/5 border border-white/10 rounded-lg focus:outline-none focus:border-finomics-blue/50 disabled:opacity-30 transition-all"})]})}),qe=_.memo(function({value:a,isChecked:s,onToggle:t}){return e.jsxs("label",{className:I("flex items-center gap-3 p-4 rounded-xl border transition-all duration-200 cursor-pointer",s?"bg-finomics-blue/10 border-finomics-blue text-white shadow-lg shadow-finomics-blue/10":"bg-white/5 border-white/5 text-finomics-text-secondary hover:border-white/10 hover:bg-white/[0.07]"),children:[e.jsx("input",{type:"checkbox",checked:s,onChange:()=>t(a),className:"w-4 h-4 rounded border-white/20 bg-white/5 text-finomics-blue accent-finomics-blue"}),e.jsx("span",{className:"text-sm font-medium",children:a})]})}),k=_.memo(function({icon:a,color:s,label:t,name:p,value:u,onChange:g}){const f=()=>{if(_.isValidElement(a))return a;if(typeof a=="function"){const O=a;return e.jsx(O,{className:"w-4 h-4 text-white"})}return typeof a=="string"?e.jsx("img",{src:a,alt:t,className:"w-5 h-5 object-contain"}):null};return e.jsxs("tr",{children:[e.jsx("td",{className:"py-4 px-2",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"w-8 h-8 rounded-lg flex items-center justify-center text-white",style:{backgroundColor:s},children:f()}),e.jsx("span",{className:"text-sm font-semibold",children:t})]})}),e.jsx("td",{className:"py-4 px-2",children:e.jsx(N,{type:"text",name:p,value:u,onChange:g,placeholder:"$ 0.00",className:"w-full bg-transparent text-sm text-white placeholder:text-white/10"})})]})});function it(){const{formRef:o,progress:a,formData:s,selectedSaas:t,outcomes:p,toast:u,isSubmitting:g,isVerifyingOtp:f,otpCode:O,setOtpCode:$,otpFlowData:P,otpTimeLeft:F,handleInputChange:c,handleSaasChange:q,handleSaasCostChange:R,handleOutcomeToggle:E,handleSubmit:C,handleVerifyOtp:j,closeOtpModal:S}=Ve();return e.jsxs("div",{className:"min-h-screen bg-finomics-dark text-finomics-text-primary font-sans selection:bg-finomics-blue/30",children:[e.jsx(we,{}),e.jsxs("section",{className:"pb-20 relative overflow-hidden",children:[e.jsxs("div",{className:"relative pt-24 pb-32 px-6 overflow-hidden",children:[e.jsx("div",{className:"absolute inset-0 animated-grid opacity-20"}),e.jsx("div",{className:"floating-orb-1 opacity-20"}),e.jsx("div",{className:"floating-orb-2 opacity-10"}),e.jsx("div",{className:"floating-orb-3 opacity-5"}),e.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-finomics-blue/10 via-trans
1parent to-finomics-dark pointer-events-none"}),e.jsxs("div",{className:"relative z-10 max-w-4xl mx-auto text-center hero-content",children:[e.jsx(v.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},className:"flex items-center justify-center gap-3 mb-6",children:e.jsx("a",{href:"/",className:"flex items-center",children:e.jsx("img",{src:H,alt:"Finomics.ai",className:"h-[135px] w-[138px] object-contain"})})}),e.jsx(v.h1,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.1},className:"text-3xl md:text-4xl font-bold mb-4 tracking-tight hero-title",children:"Unlock Tailored Pricing & Cloud Cost Optimization"}),e.jsx(v.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.2},className:"text-lg text-finomics-text-secondary max-w-2xl mx-auto hero-subtitle",children:"Partner with us to lock in exclusive pricing, receive dedicated pre-sales support, and accelerate your cloud cost intelligence journey."})]})]}),e.jsx("div",{className:"sticky top-0 z-50 bg-finomics-dark/80 backdrop-blur-md border-b border-white/5",children:e.jsxs("div",{className:"max-w-4xl mx-auto px-6 py-4",children:[e.jsxs("div",{className:"flex items-center justify-between mb-2",children:[e.jsx("span",{className:"text-xs font-semibold text-finomics-text-secondary uppercase tracking-wider",children:"Registration Progress"}),e.jsxs("span",{className:"text-xs font-bold text-finomics-blue",children:[a,"% Complete"]})]}),e.jsx("div",{className:"h-1.5 bg-white/5 rounded-full overflow-hidden",children:e.jsx(v.div,{className:"h-full bg-gradient-to-r from-finomics-highlight to-finomics-blue",initial:{width:0},animate:{width:`${a}%`},transition:{duration:.5,ease:"easeOut"}})})]})}),e.jsxs("form",{ref:o,onSubmit:C,className:"max-w-4xl mx-auto px-6 py-12 space-y-8",children:[e.jsx(y,{icon:e.jsx(Se,{className:"w-5 h-5"}),title:"Client Information",description:"Tell us about your organization so we can tailor the engagement.",isFeatured:!0,children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[["Partner Assisted","Direct Inquiry"].map(l=>e.jsx(z,{label:l,name:"inquiry_mode",value:l,checked:s.inquiry_mode===l,onChange:c,info:l==="Partner Assisted"?"Choose this if you're working with a partner.":""},l)),s?.inquiry_mode==="Partner Assisted"&&e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"space-y-2",children:[e.jsxs(b,{children:["Company Name ",e.jsx("span",{className:"text-red-400",children:"*"})]}),e.jsx(N,{name:"company_name",value:s.company_name,onChange:c,required:!0,placeholder:"e.g. Acme Corp"})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(b,{children:"Partner Name "}),e.jsx(N,{name:"partner_name",value:s.partner_name,onChange:c,placeholder:""})]})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs(b,{children:["Contact Name ",e.jsx("span",{className:"text-red-400",children:"*"})]}),e.jsx(N,{name:"contact_name",value:s.contact_name,onChange:c,required:!0,placeholder:"Full name"})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(b,{children:"Industry"}),e.jsx(N,{name:"industry",value:s.industry,onChange:c,placeholder:"e.g. Financial Services"})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs(b,{children:["Email Address ",e.jsx("span",{className:"text-red-400",children:"*"})]}),e.jsx(N,{type:"email",name:"contact_email",value:s.contact_email,onChange:c,required:!0,placeholder:"[email protected]"})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(b,{children:"Job Title"}),e.jsx(N,{name:"job_title",value:s.job_title,onChange:c,placeholder:"e.g. VP of Cloud Engineering"})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(b,{children:"Phone Number"}),e.jsx(N,{type:"tel",name:"contact_phone",value:s.contact_phone,onChange:c,placeholder:"+1 (555) 000-0000"})]})]})}),e.jsx(y,{icon:e.jsx(ve,{className:"w-5 h-5"}),title:"Cloud Service Providers",description:"Identify your cloud providers and approximate annual spend for each.",children:e.jsx("div",{className:"overflow-x-auto",children:e.jsxs("table",{className:"w-full text-left border-collapse",children:[e.jsx("thead",{children:e.jsxs("tr",{className:"border-b border-white/5",children:[e.jsx("th",{className:"py-4 px-2 text-xs font-semibold text-finomics-text-secondary uppercase tracking-wider",children:"Provider"}),e.jsx("th",{className:"py-4 px-2 text-xs font-semibold text-finomics-text-secondary uppercase tracking-wider",children:"Annual Spend (USD)"})]})}),e.jsxs("tbody",{className:"divide-y divide-white/5",children:[e.jsx(k,{icon:ge,color:"#F0F0F0",label:"AWS",name:"cloud_aws",value:s.cloud_aws,onChange:c}),e.jsx(k,{icon:fe,color:"#F0F0F0",label:"Azure",name:"cloud_azure",value:s.cloud_azure,onChange:c}),e.jsx(k,{icon:be,color:"#F0F0F0",label:"GCP",name:"cloud_gcp",value:s.cloud_gcp,onChange:c}),e.jsx(k,{icon:ye,color:"#F0F0F0",label:"OCI",name:"cloud_oci",value:s.cloud_oci,onChange:c}),e.jsx(k,{icon:e.jsx("span",{className:"text-xs font-bold",children:"+"}),color:"#667085",label:"Others",name:"cloud_others",value:s.cloud_others,onChange:c}),"  "]})]})})}),e.jsxs(y,{icon:e.jsx(Ne,{className:"w-5 h-5"}),title:"SaaS Provider Selection",description:"Select SaaS providers in use and define their approximate annual cost.",children:[e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-[1px] bg-white/5 border border-white/5 rounded-xl overflow-hidden mb-6",children:V.map((l,D)=>{const T=`saas_${D}`;return e.jsx($e,{id:T,name:l,isChecked:t[T]?.checked||!1,cost:t[T]?.cost||"",onCheckCh
1ange:q,onCostChange:R},T)})}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(b,{children:"Others (not listed above)"}),e.jsx(A,{name:"saas_others",value:s.saas_others,onChange:c,placeholder:"List any additional SaaS providers and their annual costs..."})]})]}),e.jsx(y,{icon:e.jsx(_e,{className:"w-5 h-5"}),title:"Private Cloud Integration",description:"Identify your private cloud providers and approximate annual spend.",children:e.jsx("div",{className:"overflow-x-auto",children:e.jsxs("table",{className:"w-full text-left border-collapse",children:[e.jsx("thead",{children:e.jsxs("tr",{className:"border-b border-white/5",children:[e.jsx("th",{className:"py-4 px-2 text-xs font-semibold text-finomics-text-secondary uppercase tracking-wider",children:"Provider"}),e.jsx("th",{className:"py-4 px-2 text-xs font-semibold text-finomics-text-secondary uppercase tracking-wider",children:"Annual Spend (USD)"})]})}),e.jsxs("tbody",{className:"divide-y divide-white/5",children:[e.jsx(k,{icon:e.jsx("span",{className:"text-xs font-bold",children:"VM"}),color:"#6B7A30",label:"VMware",name:"pcloud_vmware",value:s.pcloud_vmware,onChange:c}),e.jsx(k,{icon:e.jsx("span",{className:"text-xs font-bold",children:"N"}),color:"#024DA1",label:"Nutanix",name:"pcloud_nutanix",value:s.pcloud_nutanix,onChange:c}),e.jsx(k,{icon:e.jsx("span",{className:"text-xs font-bold",children:"+"}),color:"#667085",label:"Others",name:"pcloud_others",value:s.pcloud_others,onChange:c})]})]})})}),e.jsx(y,{icon:e.jsx(Q,{className:"w-5 h-5"}),title:"ITSM & Audit Logs Integration",description:"Are you considering ITSM & Audit Logs integrations as part of your strategy?",children:e.jsxs("div",{className:"space-y-4",children:[e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-3",children:["Yes","No","Exploring options"].map(l=>e.jsx(z,{label:l,name:"itsm",value:l,checked:s.itsm===l,onChange:c},l))}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(b,{children:"Additional details"}),e.jsx(A,{name:"itsm_details",value:s.itsm_details,onChange:c,placeholder:"Which tools are you evaluating or currently using?"})]})]})}),e.jsx(y,{icon:e.jsx(ke,{className:"w-5 h-5"}),title:"Industry Standard Tagging Strategy",description:"Have you implemented industry standard tagging policy across your cloud service providers?",children:e.jsxs("div",{className:"space-y-4",children:[e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-3",children:["Yes, fully implemented","Partially implemented","No"].map(l=>e.jsx(z,{label:l,name:"tagging",value:l,checked:s.tagging===l,onChange:c},l))}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(b,{children:"Describe your tagging strategy (if any)"}),e.jsx(A,{name:"tagging_details",value:s.tagging_details,onChange:c,placeholder:"e.g. We use cost-center, environment, and owner tags across all AWS accounts..."})]})]})}),e.jsx(y,{icon:e.jsx(Pe,{className:"w-5 h-5"}),title:"Current Spend Tracking",description:"How are you currently tracking cloud spend? Any specific tools or processes?",children:e.jsx(A,{name:"spend_tracking",value:s.spend_tracking,onChange:c,placeholder:"e.g. AWS Cost Explorer, Azure Cost Management, custom dashboards, spreadsheets...",className:"min-h-[120px]"})}),e.jsx(y,{icon:e.jsx(K,{className:"w-5 h-5"}),title:"Cost Pain Points",description:"What are the main pain points you are currently facing with cloud costs?",children:e.jsx(A,{name:"pain_points",value:s.pain_points,onChange:c,placeholder:"e.g. Lack of visibility, unexpected spikes, difficulty attributing costs to teams...",className:"min-h-[120px]"})}),e.jsx(y,{icon:e.jsx(Oe,{className:"w-5 h-5"}),title:"FinOps Team",description:"Do you have a dedicated FinOps team or practice?",children:e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-3",children:["Yes, dedicated team","Part-time / shared responsibility","No, but planning to establish","No"].map(l=>e.jsx(z,{label:l,name:"finops_team",value:l,checked:s.finops_team===l,onChange:c},l))})}),e.jsxs(y,{icon:e.jsx(B,{className:"w-5 h-5"}),title:"Desired Outcomes",description:"What do you hope to achieve by implementing Finomics?",children:[e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-3 mb-6",children:["Reduce Cloud Bills","Automate reporting & dashboards","Implement accurate forecasting & budgeting","Governance & Compliance","Replace an existing legacy tool","All the above"].map(l=>
1e.jsx(qe,{value:l,isChecked:p.includes(l),onToggle:E},l))}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(b,{children:"Additional details or goals"}),e.jsx(A,{name:"outcome_details",value:s.outcome_details,onChange:c,placeholder:"Any other goals or context you'd like to share..."})]})]}),e.jsxs("div",{className:"pt-8 text-center space-y-6",children:[e.jsx("p",{className:"text-sm text-finomics-text-secondary max-w-lg mx-auto",children:"By submitting, your responses will be securely queued and finalized after OTP verification."}),e.jsx("div",{className:"flex flex-col sm:flex-row items-center justify-center gap-4",children:e.jsx("button",{type:"submit",disabled:g||!!P,className:"flex items-center justify-center gap-2 w-full sm:w-auto px-10 py-4 rounded-2xl bg-gradient-to-r from-finomics-highlight to-finomics-blue text-white font-bold shadow-xl shadow-finomics-blue/20 hover:shadow-finomics-blue/40 hover:-translate-y-0.5 transition-all active:scale-95 disabled:opacity-50 disabled:translate-y-0",children:g?e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"w-5 h-5 border-2 border-white/30 border-t-white rounded-full animate-spin"}),"Sending OTP..."]}):P?e.jsxs(e.Fragment,{children:[e.jsx(B,{className:"w-5 h-5"}),"OTP Sent"]}):e.jsxs(e.Fragment,{children:[e.jsx(Te,{className:"w-5 h-5"}),"Submit Registration"]})})})]}),e.jsxs("div",{className:"pt-12 text-center",children:[e.jsx("div",{className:"text-[10px] uppercase tracking-[0.2em] text-white/20 font-bold mb-2",children:"Powered by"}),e.jsx(v.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},className:"flex items-center justify-center gap-3 mb-6",children:e.jsx("a",{href:"/",className:"flex items-center",children:e.jsx("img",{src:H,alt:"Finomics.ai",className:"h-[135px] w-[138px] object-contain"})})}),e.jsxs("p",{className:"text-xs text-finomics-text-secondary leading-relaxed max-w-md mx-auto",children:["All information submitted is encrypted and handled with strict confidentiality. © ",new Date().getFullYear()," Finomics.ai - The Intelligent Cloud FinOps Platform."]})]})]}),e.jsx(X,{children:P&&e.jsxs(e.Fragment,{children:[e.jsx(v.div,{initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},className:"fixed inset-0 bg-black/70 backdrop-blur-md z-[100] h-full -mb-2",onClick:S}),e.jsx(v.div,{initial:{opacity:0,scale:.95,y:20},animate:{opacity:1,scale:1,y:0},exit:{opacity:0,scale:.95,y:20},transition:{duration:.3,ease:"easeOut"},className:"fixed inset-0 z-[110] flex items-center justify-center p-4 ",children:e.jsxs("div",{className:"bg-finomics-card-bg border border-finomics-blue/30 rounded-3xl max-w-md w-full overflow-hidden shadow-2xl",children:[e.jsxs("div",{className:"flex items-center justify-between px-6 pt-6 pb-4 border-b border-white/10",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"w-10 h-10 rounded-2xl bg-finomics-blue/10 flex items-center justify-center",children:e.jsx(Q,{className:"w-5 h-5 text-finomics-blue"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xl font-bold text-white",children:"Verify your email"}),e.jsxs("p",{className:"text-sm text-finomics-text-secondary",children:["Code sent to"," ",e.jsx("span",{className:"text-white font-medium",children:Me(P?.contactEmail||s?.contact_email)})]})]})]}),e.jsx("button",{onClick:S,className:"text-finomics-text-secondary hover:text-white transition-colors",children:e.jsx(pe,{className:"w-5 h-5"})})]}),e.jsxs("div",{className:"p-6 space-y-6",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(b,{children:"Enter 6-digit OTP"}),e.jsx(N,{type:"text",inputMode:"numeric",pattern:"\\d*",maxLength:6,value:O,onChange:l=>$(l.target.value.replace(/\D/g,"").slice(0,6)),placeholder:"123456",className:"text-center text-3xl tracking-[8px] font-mono py-6"})]}),e.jsx("div",{className:"text-center",children:e.jsx("p",{className:"text-xs text-finomics-text-secondary",children:F>0?`Code expires in ${Le(F)}`:"OTP has expired. Please close and submit again."})}),e.jsx("button",{onClick:j,disabled:f||F<=0,className:"w-full py-4 rounded-2xl bg-gradient-to-r from-finomics-highlight to-finomics-blue text-white font-semibold disabled:opacity-50 transition-all active:scale-[0.985]",children:f?e.jsxs("div",{className:"flex items-center justify-center gap-2",children:[e.jsx("div",{className:"w-5 h-5 border-2 border-white/30 border-t-white rounded-full animate-spin"}),"Verifying..."]}):"Verify OTP"})]}),e.jsx("div",{className:"px-6 py-4 border-t border-white/10 text-center text-[10px] text-finomics-text-secondary",children:"Didn’t receive the code? Check your spam folder."})]})})]})}),e.jsx(X,{children:u&&e.jsxs(v.div,{initial:{opacity:0,y:50,x:"-50%"},animate:{opacity:1,y:0,x:"-50%"},exit:{opacity:0,y:20,x:"-50%"},className:I("fixed bottom-8 left-1/2 -translate-x-1/2 px-8 py-4 rounded-2xl shadow-2xl z-[100] flex items-center gap-3 backdrop-blur-xl border",u.type==="success"?"bg-emerald-500/20 border-emerald-500/30 text-emerald-100":"bg-red-500/20 border-red-500/30 text-red-100"),children:[u.type==="success"?e.jsx(B,{className:"w-5 h-5"}):e.jsx(K,{className:"w-5 h-5"}),e.jsx("span",{className:"font-medium",children:u.message})]})})]}),e.jsx(Ce,{})]})}export{it as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.