PageSourceSearch

https://keikku.health/assets/Integrations-DhFQ6HaJ.js

js keikku.health collected 2026-10-04 15:35:10 UTC 26,391 bytes, 13 lines download raw bytes

1import{j as e}from"./ui-DCPrWqy5.js";import{i as z,r as d}from"./react-vendor-GBp8saLZ.js";import{c as P,u as y,d as D,S as T,N as I,H as G,B as f,A as C,I as g,i as w,j as F,k,l as L,m as c,T as _,C as W,b as H,X as $,n as E,t as V}from"./index-B5DeqDPj.js";import q from"./Footer-CWCJwiNS.js";import{m as u,A as M}from"./framer-D8H3BHQJ.js";import{B as A}from"./brain-BQRRF9gt.js";import{V as R}from"./video-qcdBjQP-.js";import{U as O}from"./upload-B_66RvEe.js";import{F as U}from"./file-text-C0ewy1FD.js";import{S as K}from"./stethoscope-ojPPRhne.js";import{M as X}from"./mic-cfCON8n1.js";import"./query-Bu1WlAKX.js";/**
2 * @license lucide-react v0.462.0 - ISC
3 *
4 * This source code is licensed under the ISC license.
5 * See the LICENSE file in the root directory of this source tree.
6 */const Z=P("Code",[["polyline",{points:"16 18 22 12 16 6",key:"z7tu5w"}],["polyline",{points:"8 6 2 12 8 18",key:"1eg1df"}]]);/**
7 * @license lucide-react v0.462.0 - ISC
8 *
9 * This source code is licensed under the ISC license.
10 * See the LICENSE file in the root directory of this source tree.
11 */const B=P("Database",[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]]),J=1,Q="48357e6e-2ca8-4d1d-864c-c568a301aba4",Y="a0bc3e39-fcc2-4bb7-ad26-b6be415c7b93",ee="/__l5e/assets-v1/48357e6e-2ca8-4d1d-864c-c568a301aba4/latam-earth-hero.png",te="a/v1/a0bc3e39-fcc2-4bb7-ad26-b6be415c7b93/48357e6e-2ca8-4d1d-864c-c568a301aba4/latam-earth-hero.png",ae="latam-earth-hero.png",re=1836724,se="image/png",le="2026-07-13T14:55:17Z",ie={version:J,asset_id:Q,project_id:Y,url:ee,r2_key:te,original_filename:ae,size:re,content_type:se,created_at:le},ne=t=>[{id:"scribe",title:t("partnersFull.categories.scribe.title"),icon:U,description:t("partnersFull.categories.scribe.description"),features:[t("partnersFull.categories.scribe.f1"),t("partnersFull.categories.scribe.f2"),t("partnersFull.categories.scribe.f3"),t("partnersFull.categories.scribe.f4")],label:"SCRIBE"},{id:"auscultation",title:t("partnersFull.categories.auscultation.title"),icon:K,description:t("partnersFull.categories.auscultation.description"),features:[t("partnersFull.categories.auscultation.f1"),t("partnersFull.categories.auscultation.f2"),t("partnersFull.categories.auscultation.f3"),t("partnersFull.categories.auscultation.f4"),t("partnersFull.categories.auscultation.f5"),t("partnersFull.categories.auscultation.f6")],label:"AUSCULTATION"},{id:"voice",title:t("partnersFull.categories.voice.title"),icon:X,description:t("partnersFull.categories.voice.description"),features:[t("partnersFull.categories.voice.f1"),t("partnersFull.categories.voice.f2"),t("partnersFull.categories.voice.f3"),t("partnersFull.categories.voice.f4")],label:"VOICE"},{id:"knowledge",title:t("partnersFull.categories.knowledge.title"),icon:A,description:t("partnersFull.categories.knowledge.description"),features:[t("partnersFull.categories.knowledge.f1"),t("partnersFull.categories.knowledge.f2"),t("partnersFull.categories.knowledge.f3")],label:"KNOWLEDGE"},{id:"developers",title:t("partnersFull.categories.developers.title"),icon:Z,description:t("partnersFull.categories.developers.description"),features:[t("partnersFull.categories.developers.f1"),t("partnersFull.categories.developers.f2"),t("partnersFull.categories.developers.f3")],label:"DEVELOPERS"},{id:"ehr",title:t("partnersFull.categories.ehr.title"),icon:B,description:t("partnersFull.categories.ehr.description"),features:[t("partnersFull.categories.ehr.f1"),t("partnersFull.categories.ehr.f2")],label:"EHR"},{id:"telehealth",title:t("partnersFull.categories.telehealth.title"),icon:R,description:t("partnersFull.categories.telehealth.description"),features:[t("partnersFull.categories.telehealth.f1"),t("partnersFull.categories.telehealth.f2"),t("partnersFull.categories.telehealth.f3"),t("partnersFull.categories.telehealth.f4")],label:"TELEHEALTH"}],oe=({onBecomePartnerClick:t})=>{const{t:a}=y(),m=ne(a),i=d.useRef(null),[h,s]=d.useState(!1),[o,x]=d.useState(!0),p=()=>{if(i.current){const{scrollLeft:l,scrollWidth:v,clientWidth:b}=i.current;s(l>0),x(l<v-b-10)}};d.useEffect(()=>{p();const l=i.current;if(l)return l.addEventListener("scroll",p),()=>l.removeEventListener("scroll",p)},[]);const r=l=>{if(i.current){const b=l==="left"?-380:380;i.current.scrollBy({left:b,behavior:"smooth"})}};return e.jsx("section",{className:"bg-section-cream section-cream py-20 md:py-28 font-aeonik",children:e.jsxs("div",{className:"container mx-auto px-6",children:[e.jsxs(u.div,{className:"mb-14 md:mb-20 max-w-3xl",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},children:[e.jsxs("h2",{className:"text-2xl md:text-3xl lg:text-4xl font-semibold leading-[1.1] tracking-tight text-foreground",children:[a("partnersFull.categories.title1"),e.jsx("br",{}),e.jsx("span",{className:"text-foreground font-semibold",children:a("partnersFull.categories.title2")})]}),e.jsx("p",{className:"mt-4 md:mt-6 text-base md:text-lg text-foreground
11/70",children:a("partnersFull.categories.subtitle")})]}),e.jsxs("div",{className:"relative",children:[e.jsx("button",{onClick:()=>r("left"),"aria-label":a("wire.Integrations.k001"),className:`hidden md:flex absolute -left-2 top-1/2 -translate-y-1/2 z-10 w-11 h-11 rounded-lg bg-background border border-border items-center justify-center transition-all hover:bg-black hover:border-black hover:[&_svg]:text-white shadow-sm group ${h?"opacity-100":"opacity-30 cursor-not-allowed"}`,disabled:!h,children:e.jsx(W,{className:"w-5 h-5 text-foreground"})}),e.jsx("button",{onClick:()=>r("right"),"aria-label":a("wire.Integrations.k002"),className:`hidden md:flex absolute -right-2 top-1/2 -translate-y-1/2 z-10 w-11 h-11 rounded-lg bg-background border border-border items-center justify-center transition-all hover:bg-black hover:border-black hover:[&_svg]:text-white shadow-sm group ${o?"opacity-100":"opacity-30 cursor-not-allowed"}`,disabled:!o,children:e.jsx(H,{className:"w-5 h-5 text-foreground"})}),e.jsx("div",{ref:i,className:"flex gap-6 overflow-x-auto overflow-y-hidden overscroll-x-contain md:px-10 pb-4",style:{scrollbarWidth:"none",msOverflowStyle:"none",touchAction:"pan-x"},children:m.map((l,v)=>{const b=l.icon;return e.jsx(u.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:v*.05,duration:.5},className:"flex-shrink-0 w-[300px] md:w-[340px]",children:e.jsxs("div",{className:"bg-white rounded-2xl p-6 h-full hover:shadow-sm transition-all duration-300 group flex flex-col",children:[e.jsx("div",{className:"mb-5",children:e.jsx(b,{className:"w-8 h-8 text-black",strokeWidth:1.5})}),e.jsx("span",{className:"text-[0.7rem] font-semibold tracking-[0.18em] text-foreground/60 mb-2",children:l.label}),e.jsx("h3",{className:"text-xl font-semibold text-foreground leading-snug mb-3",children:l.title}),e.jsx("p",{className:"text-foreground/70 text-sm leading-relaxed mb-5",children:l.description}),e.jsx("ul",{className:"space-y-2 mb-6 flex-grow",children:l.features.map((N,n)=>e.jsxs("li",{className:"flex items-start gap-2 text-foreground/70 text-sm",children:[e.jsx("div",{className:"w-1.5 h-1.5 rounded-full bg-keikku-blue mt-2 shrink-0"}),e.jsx("span",{children:N})]},n))}),e.jsxs("button",{onClick:t,className:"inline-flex items-center gap-2 text-foreground font-semibold text-sm hover:gap-3 transition-all self-start",children:[a("partnersFull.becomePartner"),e.jsx(C,{className:"w-4 h-4"})]})]})},l.id)})})]})]})})},ce=({autoExpand:t=!1})=>{const{t:a}=y(),[m,i]=d.useState(t?"form":"choice"),[h,s]=d.useState(!1),[o,x]=d.useState(null),p=d.useRef(null),[r,l]=d.useState({firstName:"",lastName:"",email:"",company:"",partnerType:"",integrationGoal:"",message:""});d.useEffect(()=>{t&&i("form")},[t]);const v=n=>{var S;const j=(S=n.target.files)==null?void 0:S[0];j&&x(j.name)},b=async n=>{n.preventDefault(),s(!0);const{error:j}=await E.from("sales_leads").insert({email:r.email.trim(),full_name:`${r.firstName.trim()} ${r.lastName.trim()}`.trim(),position:"Partnership request",institution_name:r.company.trim(),institution_type:r.partnerType||"Partner",location:"n/a",num_clinicians:"n/a",message:["[Partnership Request]",r.integrationGoal?`Integration goal: ${r.integrationGoal}`:null,o?`Attachment filename: ${o}`:null,"",r.message.trim()].filter(Boolean).join(`
12`)});j&&console.error("partnership sales_leads insert failed",j),V({title:a("partnersFull.contact.successTitle"),description:a("partnersFull.contact.successDescription")}),s(!1),i("choice"),l({firstName:"",lastName:"",email:"",company:"",partnerType:"",integrationGoal:"",message:""}),x(null)},N=()=>{i("choice"),l({firstName:"",lastName:"",email:"",company:"",partnerType:"",integrationGoal:"",message:""}),x(null)};return e.jsx("div",{className:"rounded-xl overflow-hidden",children:e.jsxs(M,{mode:"wait",children:[m==="choice"&&e.jsxs(u.div,{initial:{opacity:0}
12,animate:{opacity:1},exit:{opacity:0,height:0},transition:{duration:.2},className:"relative bg-final-cta-animated p-10 md:p-14 text-center rounded-xl overflow-hidden",children:[e.jsx("h2",{className:"text-2xl md:text-3xl font-semibold tracking-tight text-white mb-3",children:a("partnersFull.contact.readyTitle")}),e.jsx("p",{className:"text-white/80 mb-8 max-w-xl mx-auto",children:a("partnersFull.contact.readySubtitle")}),e.jsx(f,{className:"h-12 px-8 text-sm rounded-lg bg-white text-black hover:bg-white/90 font-semibold",onClick:()=>i("form"),children:a("partnersFull.becomePartner")})]},"choice"),m==="form"&&e.jsxs(u.div,{initial:{opacity:0,height:0},animate:{opacity:1,height:"auto"},exit:{opacity:0,height:0},transition:{duration:.3},className:"overflow-hidden bg-background border border-border rounded-2xl",children:[e.jsxs("div",{className:"p-8 border-b border-border flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx("h2",{className:"text-2xl font-semibold tracking-tight text-foreground",children:a("partnersFull.contact.inquiryTitle")}),e.jsx("p",{className:"text-foreground/70 text-sm mt-1",children:a("partnersFull.contact.inquirySubtitle")})]}),e.jsx(f,{variant:"ghost",size:"icon",className:"text-foreground/60 hover:text-foreground hover:bg-muted rounded-lg",onClick:N,children:e.jsx($,{className:"w-5 h-5"})})]}),e.jsxs("form",{onSubmit:b,className:"p-8 space-y-5",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsx("label",{className:"block text-foreground text-sm font-medium mb-2",children:a("partnersFull.contact.firstName")}),e.jsx(g,{required:!0,placeholder:a("partnersFull.contact.firstNamePlaceholder"),value:r.firstName,onChange:n=>l({...r,firstName:n.target.value}),className:"bg-muted/40 border-border text-foreground placeholder:text-foreground/40"})]}),e.jsxs("div",{children:[e.jsx("label",{className:"block text-foreground text-sm font-medium mb-2",children:a("partnersFull.contact.lastName")}),e.jsx(g,{required:!0,placeholder:a("partnersFull.contact.lastNamePlaceholder"),value:r.lastName,onChange:n=>l({...r,lastName:n.target.value}),className:"bg-muted/40 border-border text-foreground placeholder:text-foreground/40"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsx("label",{className:"block text-foreground text-sm font-medium mb-2",children:a("partnersFull.contact.email")}),e.jsx(g,{required:!0,type:"email",placeholder:a("partnersFull.contact.emailPlaceholder"),value:r.email,onChange:n=>l({...r,email:n.target.value}),className:"bg-muted/40 border-border text-foreground placeholder:text-foreground/40"})]}),e.jsxs("div",{children:[e.jsx("label",{className:"block text-foreground text-sm font-medium mb-2",children:a("partnersFull.contact.company")}),e.jsx(g,{required:!0,placeholder:a("partnersFull.contact.companyPlaceholder"),value:r.company,onChange:n=>l({...r,company:n.target.value}),className:"bg-muted/40 border-border text-foreground placeholder:text-foreground/40"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsx("label",{className:"block text-foreground text-sm font-medium mb-2",children:a("partnersFull.contact.partnerType")}),e.jsxs(w,{value:r.partnerType,onValueChange:n=>l({...r,partnerType:n}),children:[e.jsx(F,{className:"bg-muted/40 border-border text-foreground",children:e.jsx(k,{placeholder:a("partnersFull.contact.partnerTypePlaceholder")})}),e.jsxs(L,{children:[e.jsx(c,{value:"scribe",children:a("partnersFull.contact.pType.scribe")}),e.jsx(c,{value:"auscultation",children:a("partnersFull.contact.pType.auscultation")}),e.jsx(c,{value:"voice",children:a("partnersFull.contact.pType.voice")}),e.jsx(c,{value:"knowledge",children:a("partnersFull.contact.pType.knowledge")}),e.jsx(c,{value:"developer",children:a("partnersFull.contact.pType.developer")}),e.jsx(c,{value:"ehr",children:a("partnersFull.contact.pType.ehr")}),e.jsx(c,{value:"telehealth",children:a("partnersFull.contact.pType.telehealth")}),e.jsx(c,{value:"other",children:a("partnersFull.contact.pType.other")})]})]})]}),e.jsxs("div",{children:[e.jsx("label",{className:"block text-foreground text-sm font-medium mb-2",children:a("partnersFull.contact.goal")}
12),e.jsxs(w,{value:r.integrationGoal,onValueChange:n=>l({...r,integrationGoal:n}),children:[e.jsx(F,{className:"bg-muted/40 border-border text-foreground",children:e.jsx(k,{placeholder:a("partnersFull.contact.goalPlaceholder")})}),e.jsxs(L,{children:[e.jsx(c,{value:"api-access",children:a("partnersFull.contact.goals.api")}),e.jsx(c,{value:"sdk-integration",children:a("partnersFull.contact.goals.sdk")}),e.jsx(c,{value:"white-label",children:a("partnersFull.contact.goals.white")}),e.jsx(c,{value:"data-partnership",children:a("partnersFull.contact.goals.data")}),e.jsx(c,{value:"research",children:a("partnersFull.contact.goals.research")}),e.jsx(c,{value:"other",children:a("partnersFull.contact.goals.other")})]})]})]})]}),e.jsxs("div",{children:[e.jsx("label",{className:"block text-foreground text-sm font-medium mb-2",children:a("partnersFull.contact.message")}),e.jsx(_,{required:!0,placeholder:a("partnersFull.contact.messagePlaceholder"),value:r.message,onChange:n=>l({...r,message:n.target.value}),className:"bg-muted/40 border-border text-foreground placeholder:text-foreground/40 min-h-[120px]"})]}),e.jsxs("div",{children:[e.jsx("label",{className:"block text-foreground text-sm font-medium mb-2",children:a("partnersFull.contact.attach")}),e.jsx("input",{type:"file",ref:p,onChange:v,accept:".pdf,.doc,.docx,.ppt,.pptx",className:"hidden"}),e.jsxs(f,{type:"button",variant:"outline",className:"border-border text-foreground hover:bg-muted gap-2 rounded-lg",onClick:()=>{var n;return(n=p.current)==null?void 0:n.click()},children:[e.jsx(O,{className:"w-4 h-4"}),a("partnersFull.contact.uploadFile")]}),o&&e.jsx("span",{className:"ml-3 text-muted-foreground text-sm",children:o})]}),e.jsx("div",{className:"pt-4",children:e.jsx(f,{type:"submit",className:"h-12 px-8 text-sm rounded-lg bg-foreground text-background hover:bg-foreground
12/90 font-semibold",disabled:h,children:a(h?"partnersFull.contact.submitting":"partnersFull.contact.submit")})})]})]},"form")]})})},Fe=()=>{const{t}=y(),{region:a}=D(),[m]=z(),[i,h]=d.useState(!1);d.useEffect(()=>{m.get("expand")==="true"&&(h(!0),setTimeout(()=>{const o=document.getElementById("partner-contact");o&&o.scrollIntoView({behavior:"smooth"})},100))},[m]);const s=()=>{h(!0);const o=document.getElementById("partner-contact");o&&o.scrollIntoView({behavior:"smooth"})};return a==="LATAM"?e.jsx(de,{}):e.jsxs("div",{className:"min-h-screen overflow-x-hidden bg-section-cream",children:[e.jsx(T,{title:t("seo.integrations.title"),description:t("seo.integrations.description"),canonical:"/integrations"}),e.jsx(I,{}),e.jsx("section",{className:"bg-section-cream px-3 pb-3 pt-[10vh] md:px-4 md:pb-4 md:pt-[10vh]",children:e.jsxs("div",{className:"relative min-h-[76vh] overflow-hidden rounded-[18px] md:min-h-[82vh]",children:[e.jsxs("div",{className:"absolute inset-0 z-0 overflow-hidden rounded-[18px]",children:[e.jsx(G,{src:"/keikku-integrations-hero.mp4",width:1920,height:1080,className:"w-full h-full object-cover bg-black"}),e.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-[hsl(var(--bg-dark))]/75 via-[hsl(var(--bg-dark))]/45 to-[hsl(var(--bg-dark))]/20"})]}),e.jsx(u.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6},className:"relative z-10 flex min-h-[76vh] flex-col items-start justify-end px-6 pb-20 md:min-h-[82vh] md:px-10 md:pb-24 lg:px-14",children:e.jsxs("div",{className:"max-w-3xl text-left",children:[e.jsx("p",{className:"mb-4 text-xs font-medium uppercase tracking-[0.2em] text-[hsl(var(--text-light))]/70 md:text-sm",children:t("integrationsPage.eyebrow")}),e.jsxs("h1",{className:"text-2xl font-semibold leading-[1.1] tracking-tight text-[hsl(var(--text-light))] md:text-3xl lg:text-4xl",children:[t("integrationsPage.title1")," ",t("integrationsPage.title2")]}),e.jsx("p",{className:"mt-6 max-w-xl text-base leading-relaxed text-[hsl(var(--text-light))]/75 md:text-lg",children:t("integrationsPage.description")}),e.jsxs(f,{className:"mt-8 h-12 rounded-lg bg-[hsl(var(--text-light))] px-7 text-sm font-semibold text-[hsl(var(--text-primary))] shadow-lg transition-colors hover:bg-[hsl(var(--text-light))]/90",onClick:s,children:[t("partnersFull.becomePartner"),e.jsx(C,{className:"ml-1.5 h-4 w-4"})]})]})})]})}),e.jsx(oe,{onBecomePartnerClick:s}),e.jsx("section",{id:"partner-contact",className:"bg-section-cream section-cream py-20 md:py-28 font-aeonik",children:e.jsx("div",{className:"container mx-auto px-4",children:e.jsx("div",{className:"max-w-4xl mx-auto",children:e.jsx(ce,{autoExpand:i})})})}),e.jsx(q,{})]})},de=()=>{const{t}=y(),a=()=>{const i=document.getElementById("latam-partnership-form");i&&i.scrollIntoView({behavior:"smooth"})},m=[{key:"ehr",title:t("partnersLatam.categories.ehr.title"),body:t("partnersLatam.categories.ehr.body"),Icon:B},{key:"rpm",title:t("partnersLatam.categories.rpm.title"),body:t("partnersLatam.categories.rpm.body"),Icon:A},{key:"telehealth",title:t("partnersLatam.categories.telehealth.title"),body:t("partnersLatam.categories.telehealth.body"),Icon:R}];return e.jsxs("div",{className:"min-h-screen overflow-x-hidden bg-section-cream",children:[e.jsx(T,{title:t("partnersLatam.seoTitle"),description:t("partnersLatam.seoDescription"),canonical:"/integrations"}),e.jsx(I,{}),e.jsx("section",{className:"bg-section-cream px-3 pb-3 pt-[10vh] md:px-4 md:pb-4 md:pt-[10vh]",children:e.jsxs("div",{className:"relative min-h-[76vh] overflow-hidden rounded-[18px] md:min-h-[82vh] bg-[hsl(var(--bg-dark))]",children:[e.jsx("img",{src:ie.url,alt:"","aria-hidden":"true",className:"absolute inset-0 h-full w-full object-cover",loading:"eager"}),e.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-[hsl(var(--bg-dark))]/95 via-[hsl(var(--bg-dark))]/70 to-transparent"}),e.jsx(u.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6},className:"relative z-10 flex min-h-[76vh] flex-col items-start justify-end px-6 pb-20 md:min-h-[82vh] md:px-10 md:pb-24 lg:px-14",children:e.jsxs("div",{className:"max-w-3xl text-left",children:[e.jsx("p",{className:"mb-4 text-xs font-medium uppercase tracking-[0.2em] text-[hsl(var(--text-light))]/70 md:text-sm",children:t("partnersLatam.eyebrow")}),e.jsx("h1",{className:"text-2xl font-semibold leading-[1.1] tracking-tight text-[hsl(var(--text-light))] md:text-3xl lg:text-4xl",children:t("partnersLatam.title")}),e.jsx("p",{className:"mt-6 max-w-xl text-base leading-relaxed text-[hsl(var(--text-light))]/75 md:text-lg",children:t("partnersLatam.subtitle")}),e.jsxs(f,{className:"mt-8 h-12 rounded-lg bg-[hsl(var(--text-light))] px-7 text-sm font-semibold text-[hsl(var(--text-primary))] shadow-lg transition-colors hover:bg-[hsl(var(--text-light))]/90",onClick:a,children:[t("partnersLatam.ctaRequest"),e.jsx(C,{className:"ml-1.5 h-4 w-4"})]})]})})]})}),e.jsx("section",{className:"bg-section-cream section-cream py-20 md:py-28 font-aeonik",children:e.jsxs("div",{className:"container mx-auto px-6",children:[e.jsx(u.h2,{className:"text-2xl md:text-3xl lg:text-4xl font-semibold leading-[1.1] tracking-tight text-foreground mb-12 max-w-3xl",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},children:t("partnersLatam.categories.title")}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:m.map((i,h)=>{const s=i.Icon;return e.jsxs(u.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:h*.08,duration:.5},className:"bg-white rounded-2xl p-6 md:p-8 hover:shadow-sm transition-all duration-300 flex flex-col",children:[e.jsx(s,{className:"w-8 h-8 text-black mb-5",strokeWidth:1.5}),e.jsx("h3",{className:"text-xl font-semibold text-foreground leading-snug mb-3",children:i.title}
12),e.jsx("p",{className:"text-foreground/70 text-sm leading-relaxed",children:i.body})]},i.key)})}),e.jsx("p",{className:"mt-10 text-center text-foreground/70",children:t("partnersLatam.categories.notListed")})]})}),e.jsx("section",{id:"latam-partnership-form",className:"bg-section-cream pt-[10vh] pb-6 md:pb-8 px-3 md:px-4 font-aeonik",children:e.jsx("div",{className:"relative w-full rounded-xl overflow-hidden bg-final-cta-animated flex items-center justify-center py-12 md:py-16 px-4 md:px-8",children:e.jsx(u.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6},className:"w-full max-w-2xl relative z-10",children:e.jsx(me,{})})})}),e.jsx(q,{})]})},me=()=>{const{t}=y(),[a,m]=d.useState(!1),[i,h]=d.useState(!1),[s,o]=d.useState({company:"",name:"",email:"",country:"",category:"",message:""}),x=s.company.trim()&&s.name.trim()&&s.email.trim()&&s.country.trim()&&s.category&&s.message.trim(),p=async r=>{if(r.preventDefault(),!x)return;m(!0);const{error:l}=await E.from("sales_leads").insert({email:s.email.trim(),full_name:s.name.trim(),position:"Partnership request",institution_name:s.company.trim(),institution_type:s.category,location:s.country.trim(),num_clinicians:"n/a",message:`[LATAM Partnership Request]
13${s.message.trim()}`});if(m(!1),l){V({title:t("partnersLatam.form.errorGeneric")});return}h(!0)};return i?e.jsxs("div",{className:"p-2 md:p-4 text-center",children:[e.jsx("h2",{className:"text-2xl md:text-3xl font-semibold tracking-tight text-white mb-3",children:t("partnersLatam.form.successTitle")}),e.jsx("p",{className:"text-white/70",children:t("partnersLatam.form.successDescription")})]}):e.jsxs("div",{className:"p-2 md:p-4",children:[e.jsxs("div",{className:"mb-10 text-center",children:[e.jsx("h2",{className:"text-white font-semibold tracking-tight leading-[1.1] text-2xl md:text-3xl lg:text-4xl",children:t("partnersLatam.form.title")}),e.jsx("p",{className:"text-white/70 text-sm mt-3",children:t("partnersLatam.form.subtitle")})]}),e.jsxs("form",{onSubmit:p,className:"space-y-6",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsx("label",{className:"block text-white/80 text-sm mb-2",children:t("partnersLatam.form.company")}),e.jsx(g,{required:!0,placeholder:t("partnersLatam.form.companyPh"),value:s.company,onChange:r=>o({...s,company:r.target.value}),className:"bg-transparent border border-white/25 text-white placeholder:text-white/40 h-10 rounded-lg focus-visible:border-white/60 focus-visible:ring-0"})]}),e.jsxs("div",{children:[e.jsx("label",{className:"block text-white/80 text-sm mb-2",children:t("partnersLatam.form.name")}),e.jsx(g,{required:!0,placeholder:t("partnersLatam.form.namePh"),value:s.name,onChange:r=>o({...s,name:r.target.value}),className:"bg-transparent border border-white/25 text-white placeholder:text-white/40 h-10 rounded-lg focus-visible:border-white/60 focus-visible:ring-0"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsx("label",{className:"block text-white/80 text-sm mb-2",children:t("partnersLatam.form.email")}),e.jsx(g,{required:!0,type:"email",placeholder:t("partnersLatam.form.emailPh"),value:s.email,onChange:r=>o({...s,email:r.target.value}),className:"bg-transparent border border-white/25 text-white placeholder:text-white/40 h-10 rounded-lg focus-visible:border-white/60 focus-visible:ring-0"})]}),e.jsxs("div",{children:[e.jsx("label",{className:"block text-white/80 text-sm mb-2",children:t("partnersLatam.form.country")}),e.jsx(g,{required:!0,placeholder:t("partnersLatam.form.countryPh"),value:s.country,onChange:r=>o({...s,country:r.target.value}),className:"bg-transparent border border-white/25 text-white placeholder:text-white/40 h-10 rounded-lg focus-visible:border-white/60 focus-visible:ring-0"})]})]}),e.jsxs("div",{children:[e.jsx("label",{className:"block text-white/80 text-sm mb-2",children:t("partnersLatam.form.category")}),e.jsxs(w,{value:s.category,onValueChange:r=>o({...s,category:r}),children:[e.jsx(F,{className:"bg-transparent border border-white/25 text-white h-10 rounded-lg focus:ring-0 focus:border-white/60 data-[placeholder]:text-white/40",children:e.jsx(k,{placeholder:t("partnersLatam.form.categoryPh")})}),e.jsxs(L,{children:[e.jsx(c,{value:"ehr",children:t("partnersLatam.form.cat.ehr")}),e.jsx(c,{value:"rpm",children:t("partnersLatam.form.cat.rpm")}),e.jsx(c,{value:"telehealth",children:t("partnersLatam.form.cat.telehealth")}),e.jsx(c,{value:"insurers",children:t("partnersLatam.form.cat.insurers")}),e.jsx(c,{value:"other",children:t("partnersLatam.form.cat.other")})]})]})]}),e.jsxs("div",{children:[e.jsx("label",{className:"block text-white/80 text-sm mb-2",children:t("partnersLatam.form.message")}),e.jsx(_,{required:!0,placeholder:t("partnersLatam.form.messagePh"),value:s.message,onChange:r=>o({...s,message:r.target.value}),className:"bg-transparent border border-white/25 text-white placeholder:text-white/40 min-h-[120px] rounded-lg focus-visible:border-white/60 focus-visible:ring-0"})]}),e.jsx("div",{className:"pt-2 flex justify-center",children:e.jsx(f,{type:"submit",className:"h-12 px-8 text-sm rounded-lg bg-white text-[hsl(var(--bg-dark))] hover:bg-white/90 font-semibold",disabled:a||!x,children:t(a?"partnersLatam.form.submitting":"partnersLatam.form.submit")})})]})]})};export{Fe 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.