import{u as V,j as e,a3 as g,H as w,W as h,o as f,a1 as ee,ai as se,aj as te,ak as ae,l as re,q as le,s as ie,v as ne,r as ce,al as de,z as oe,D as me,F as xe,am as he,B as y,an as pe,P as ue,ao as ge,C as H,A as fe,b as je,d as be,e as Ne,J as ye,K as we,M as v,ap as O,U as W,N as ve,g as q,Q as B,S as ke,aq as Ie}from"./index-qVUPa4YC.js";import{C as p,a as u}from"./card-Bie7IhJn.js";import{C as $e}from"./castle-CDdelOYN.js";import{c as Ce}from"./cendra-icon-DN_vz-pi.js";import{H as Te}from"./HeroDark-BXLZUYhH.js";import{A as Ae}from"./arrow-left-yF3OQ6kQ.js";import{B as D}from"./brain-Bwm5XWje.js";const Le=[{key:"guesty",name:"Guesty",type:"pms",href:"/integrations/guesty",isLive:!0},{key:"hostaway",name:"Hostaway",type:"pms",href:"/integrations/hostaway",isLive:!0},{key:"lodgify",name:"Lodgify",type:"pms",href:"/integrations/lodgify",isLive:!0},{key:"whatsapp",name:"WhatsApp",type:"channel",href:"/integrations/whatsapp",isLive:!0},{key:"email",name:"Email",type:"channel",href:"/integrations/email",isLive:!0},{key:"sms",name:"SMS",type:"channel",href:"/integrations/sms",isLive:!0},{key:"stripe",name:"Stripe",type:"payment",href:"/integrations/stripe",isLive:!0}],F=[{key:"hotels",titleKey:"categories:hotels.badge",href:"/categories/hotels",icon:ee},{key:"shortTermRentals",titleKey:"categories:shortTermRentals.badge",href:"/categories/short-term-rentals",icon:se},{key:"luxuryVillas",titleKey:"categories:luxuryVillas.badge",href:"/categories/luxury-villas",icon:$e},{key:"corporateHousing",titleKey:"categories:corporateHousing.badge",href:"/categories/corporate-housing",icon:te},{key:"hostels",titleKey:"categories:hostels.badge",href:"/categories/hostels",icon:ae}],Se=({currentIntegrationKey:c,currentType:d})=>{const{t:a}=V(["integrations","categories"]),m=(()=>{const t=Le.filter(i=>i.key!==c);return d==="pms"?t.filter(i=>i.type==="channel"||i.type==="payment"):[...t.filter(i=>i.type===d),...t.filter(i=>i.type!==d)].slice(0,6)})().slice(0,6),x=t=>{switch(t){case"pms":return a("integrations:categories.pms");case"channel":return a("integrations:categories.workflow");case"payment":return a("integrations:categories.payments");default:return t}};return e.jsx("section",{className:"py-16 md:py-20 px-4 sm:px-6 lg:px-8 bg-muted/30 content-auto-xl",children:e.jsxs("div",{className:"max-w-6xl mx-auto",children:[e.jsxs("div",{className:"mb-16",children:[e.jsxs("div",{className:"text-center mb-8",children:[e.jsx(g,{className:"mb-3 bg-primary-700/10 text-primary-700 hover:bg-primary-700/10 border-primary-700/20",children:a("integrations:categories.all")}),e.jsx("h2",{className:"text-2xl md:text-3xl font-bold text-primary-700 mb-3",children:a("integrations:related.exploreTitle")}),e.jsx("p",{className:"text-muted-foreground max-w-2xl mx-auto",children:a("integrations:related.exploreSubtitle")})]}),e.jsx("div",{className:"md:hidden",children:e.jsx(w,{showArrows:!1,children:m.map(t=>e.jsx(h,{to:t.href,children:e.jsx(p,{className:"border border-border/50 bg-card hover:border-primary-700/30 transition-all duration-300 h-full",children:e.jsxs(u,{className:"p-5",children:[e.jsxs("div",{className:"flex items-center justify-between mb-2",children:[e.jsx("h3",{className:"font-semibold text-primary-700",children:t.name}),t.isLive&&e.jsx(g,{className:"bg-success-600 text-white text-xs",children:a("integrations:status.live")})]}),e.jsx("p",{className:"text-sm text-muted-foreground",children:x(t.type)}),e.jsxs("div",{className:"mt-3 flex items-center text-primary-700 text-sm font-medium",children:[a("integrations:card.learnMore")," ",e.jsx(f,{className:"ml-1 w-4 h-4"})]})]})})},t.key))})}),e.jsx("div",{className:"hidden md:grid md:grid-cols-3 gap-4",children:m.map(t=>e.jsx(h,{to:t.href,children:e.jsx(p,{className:"border border-border/50 bg-card hover:border-primary-700/30 hover:shadow-md transition-all duration-300 h-full",children:e.jsxs(u,{className:"p-5",children:[e.jsxs("div",{className:"flex items-center justify-between mb-2",children:[e.jsx("h3",{className:"font-semibold text-primary-700",children:t.name}),t.isLive&&e.jsx(g,{className:"bg-success-600 text-white text-xs",children:a("integrations:status.live")})]}),e.jsx("p",{className:"text-sm text-muted-foreground",children:x(t.type)}),e.jsxs("div",{className:"mt-3 flex items-center text-primary-700 text-sm font-medium",children:[a("integrations:card.learnMore")," ",e.jsx(f,{className:"ml-1 w-4 h-4"})]})]})})},t.key))}),e.jsx("div",{className:"text-center mt-6",children:e.jsxs(h,{to:"/integrations",className:"inline-flex items-center text-primary-700 font-medium hover:underline",children:[a("integrations:related.viewAll")," ",e.jsx(f,{className:"ml-1 w-4 h-4"})]})})]}),e.jsxs("div",{children:[e.jsxs("div",{className:"text-center mb-8",children:[e.jsx(g,{className:"mb-3 bg-accent-500/10 text-accent-500 hover:bg-accent-500/10 border-accent-500/20",children:a("integrations:propertyTypes.badge")}),e.jsx("h2",{className:"text-2xl md:text-3xl font-bold text-primary-700 mb-3",children:a("integrations:propertyTypes.title")}),e.jsx("p",{className:"text-muted-foreground max-w-2xl mx-auto",children:a("integrations:propertyTypes.subtitle")})]}),e.jsx("div",{className:"md:hidden",children:e.jsx(w,{showArrows:!1,children:F.map(t=>{const i=t.icon;return e.jsx(h,{to:t.href,children:e.jsx(p,{className:"border border-border/50 bg-card hover:border-accent-500/30 transition-all duration-300 h-full",children:e.jsxs(u,{className:"p-5",children:[e.jsx("div",{className:"w-10 h-10 rounded-lg bg-accent-500/10 flex items-center justify-center mb-3",children:e.jsx(i,{className:"w-5 h-5 text-accent-500"})}),e.jsx("h3",{className:"font-semibold text-primary-700 mb-1",children:a(t.titleKey)}),e.jsxs("div",{className:"flex items-center text-accent-500 text-sm font-medium",children:[a("integrations:propertyTypes.explore")," ",e.jsx(f,{className:"ml-1 w-4 h-4"})]})]})})},t.key)})})}),e.jsx("div",{className:"hidden md:grid md:grid-cols-5 gap-4",children:F.map(t=>{const i=t.icon;return e.jsx(h,{to:t.href,children:e.jsx(p,{className:"border border-border/50 bg-card hover:border-accent-500/30 hover:shadow-md transition-all duration-300 h-full text-center",children:e.jsxs(u,{className:"p-5",children:[e.jsx("div",{className:"w-12 h-12 rounded-xl bg-accent-500/10 flex items-center justify-center mx-auto mb-3",children:e.jsx(i,{className:"w-6 h-6 text-accent-500"})}),e.jsx("h3",{className:"font-semibold text-primary-700 text-sm",children:a(t.titleKey)})]})})},t.key)})})]})]})})},M={unifiedInbox:O,aiResponses:D,multipleAccounts:W,multiLanguage:ve,multipleNumbers:W,instantDelivery:q,instantResponse:q,agenticAI:D,proactiveSelling:B,conversationalCommerce:ke,secureCompliant:Ie,aiCommunication:v,maximizeRevenue:B,humanInLoop:O,streamlineOps:v},Fe=({integrationKey:c,type:d,brandColor:a,icon:j,logo:m,logoLetter:x,websiteUrl:t,canonicalSlug:i,relatedComparisonPage:I})=>{const{t:s,i18n:k}=V(["integrationPage","integrations"]),$=re();le(),ie({pageName:`Integration_${c}`}),ne({pageName:`Integration_${c}`}),ce.useEffect(()=>{de(c,!0,d)},[c,d]);const r=`live.${c}`,o=c.charAt(0).toUpperCase()+c.slice(1),_=s(`${r}.meta.title`),C=s(`${r}.meta.description`),z=s(`${r}.heroDescription`),R=s(`${r}.benefitsTitle`),E=s(`${r}.benefitsSubtitle`),G=s(`${r}.howItWorksTitle`),U=s(`${r}.howItWorksP1`),Q=s(`${r}.howItWorksP2`),T=k.exists(`integrationPage:${r}.howItWorksP3`)?s(`${r}.howItWorksP3`):null,J=s(`${r}.whatsIncluded`),X=s(`${r}.ctaTitle`),Y=s(`${r}.ctaDescription`),A=s(`${r}.features`,{returnObjects:!0}),L=Object.keys(s(`${r}.benefits`,{returnObjects:!0})),N=d==="pms"||d==="payment",Z=N?s(`${r}.aboutTitle`,{defaultValue:s("about.title",{name:o})}):"",K=N?k.exists(`integrationPage:about.descriptions.${c}`)?s(`about.descriptions.${c}`):s("about.descriptions.default"):"",b=k.exists(`integrationPage:${r}.faq`)?s(`${r}.faq`,{returnObjects:!0}):[],S=l=>{const n=l==="large",P=n?"w-32 h-32 md:w-40 md:h-40 flex-shrink-0 rounded-2xl shadow-lg flex items-center justify-center":"w-16 h-16 rounded-xl shadow-md flex items-center justify-center";return m?e.jsx("div",{className:`${n?"w-32 h-32 md:w-40 md:h-40":"w-16 h-16"} flex-shrink-0 bg-white rounded-2xl shadow-lg p-4 flex items-center justify-center`,children:e.jsx("img",{src:m,alt:o,className:"w-full h-full object-contain"})}):j?e.jsx("div",{className:P,style:{backgroundColor:a},children:j}):x?e.jsx("div",{className:P,style:{backgroundColor:a},children:e.jsx("span",{className:`text-white font-bold ${n?"text-5xl":"text-2xl"}`,children:x})}):null};return e.jsxs(e.Fragment,{children:[e.jsx(oe,{title:_,description:C,canonicalPath:`/integrations/${i}`}),e.jsx(me,{items:[{name:"Home",path:"/"},{name:"Integrations",path:"/integrations"},{name:o,path:`/integrations/${i}`}]}),b.length>0&&e.jsx(xe,{items:b}),e.jsx(he,{children:e.jsx("script",{type:"application/ld+json",children:`
{
"@context": "https://schema.org",
"@type": "SoftwareApplication",
"name": "Cendra AI ${o} Integration",
"applicationCategory": "BusinessApplication",
"operatingSystem": "Web",
"description": "${C}",
"offers": {
"@type": "Offer",
"price": "0",
"priceCurrency": "USD",
"description": "Free trial available"
},
"provider": {
"@type": "Organization",
"name": "Cendra AI",
"url": "https://cendra.ai"
}
}
`})}),e.jsxs("main",{className:"min-h-screen bg-background",children:[e.jsx(Te,{minHeight:"auto",className:"pt-24 pb-16 md:pb-24",children:e.jsx("div",{className:"px-4 sm:px-6 lg:px-8",children:e.jsxs("div",{className:"max-w-5xl mx-auto",children:[e.jsxs(h,{to:"/integrations",className:"inline-flex items-center text-sm text-white/60 hover:text-white transition-colors mb-8",children:[e.jsx(Ae,{className:"w-4 h-4 mr-2"}),s("backLink")]}),e.jsxs("div",{className:"flex flex-col md:flex-row items-center gap-8 md:gap-12",children:[S("large"),e.jsxs("div",{className:"text-center md:text-left flex-1",children:[e.jsx(g,{className:"mb-4 bg-success-600 text-white hover:bg-success-600",children:s("hero.liveBadge")}),e.jsxs("h1",{className:"text-3xl md:text-4xl lg:text-5xl font-bold text-white mb-4",children:[o," + Cendra AI"]}),e.jsx("p",{className:"text-lg md:text-xl text-white/70 mb-6 max-w-2xl",children:z}),e.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center md:justify-start",children:[e.jsxs(y,{size:"lg",variant:"premium",className:"h-14 px-8 text-lg",onClick:()=>$("/get-started"),children:[s("hero.getStartedFree"),e.jsx(f,{className:"ml-2 h-5 w-5"})]}),e.jsxs(y,{variant:"outline",size:"lg",className:"h-14 px-8 text-lg border-white/30 text-white hover:bg-white/10 hover:text-white hover:border-white/50 transition-colors",onClick:()=>pe(),children:[s("hero.bookDemo"),e.jsx(ue,{className:"ml-2 h-5 w-5"})]})]})]})]})]})})}),e.jsx("section",{className:"py-16 md:py-24 px-4 sm:px-6 lg:px-8 bg-muted/30 content-auto-lg",children:e.jsxs("div",{className:"max-w-6xl mx-auto",children:[e.jsxs("div",{className:"text-center mb-12",children:[e.jsx("h2",{className:"text-2xl md:text-3xl font-bold text-primary-700 mb-4",children:R}),e.jsx("p",{className:"text-muted-foreground max-w-2xl mx-auto",children:E})]}),e.jsx("div",{className:"md:hidden",children:e.jsx(w,{showArrows:!1,children:L.map(l=>{const n=M[l]||v;return e.jsx(p,{className:"border border-border/50 bg-card",children:e.jsx(u,{className:"p-6",children:e.jsxs("div",{className:"flex gap-4",children:[e.jsx("div",{className:"w-12 h-12 rounded-xl bg-primary-700/10 flex items-center justify-center flex-shrink-0",children:e.jsx(n,{className:"w-6 h-6 text-primary-700"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-primary-700 mb-2",children:s(`${r}.benefits.${l}.title`)}),e.jsx("p",{className:"text-muted-foreground text-sm",children:s(`${r}.benefits.${l}.description`)})]})]})})},l)})})}),e.jsx("div",{className:"hidden md:grid md:grid-cols-2 gap-6",children:L.map(l=>{const n=M[l]||v;return e.jsx(p,{className:"border border-border/50 bg-card hover-lift transition-all duration-300",children:e.jsx(u,{className:"p-6 md:p-8",children:e.jsxs("div",{className:"flex gap-5",children:[e.jsx("div",{className:"w-12 h-12 rounded-xl bg-primary-700/10 flex items-center justify-center flex-shrink-0",children:e.jsx(n,{className:"w-6 h-6 text-primary-700"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-primary-700 mb-2",children:s(`${r}.benefits.${l}.title`)}),e.jsx("p",{className:"text-muted-foreground",children:s(`${r}.benefits.${l}.description`)})]})]})})},l)})})]})}),I&&e.jsx("section",{className:"py-16 md:py-20 px-4 sm:px-6 lg:px-8",children:e.jsx("div",{className:"max-w-4xl mx-auto",children:e.jsx(p,{className:"border-2 border-primary-700/20 bg-gradient-to-br from-primary-700/5 to-accent-500/5 overflow-hidden",children:e.jsx(u,{className:"p-8 md:p-10",children:e.jsxs("div",{className:"flex flex-col md:flex-row items-start md:items-center gap-6",children:[e.jsxs("div",{className:"flex-1",children:[e.jsx(g,{className:"mb-3 bg-accent-500/10 text-accent-500 hover:bg-accent-500/10 border-accent-500/20",children:s("integrations:addOnGuide.badge",{defaultValue:"Add-on Guide"})}),e.jsx("h2",{className:"text-xl md:text-2xl font-bold text-primary-700 mb-3",children:s("integrations:addOnGuide.exploreTitle",{name:o})}),e.jsx("p",{className:"text-muted-foreground leading-relaxed",children:s("integrations:addOnGuide.exploreSubtitle",{name:o})})]}),e.jsx(h,{to:I.href,children:e.jsxs(y,{size:"lg",className:"h-12 px-6 bg-primary-700 hover:bg-primary-600 text-white whitespace-nowrap",children:[s("integrations:addOnGuide.compareCta"),e.jsx(ge,{className:"ml-2 h-4 w-4"})]})})]})})})})}),e.jsx("section",{className:"py-16 md:py-24 px-4 sm:px-6 lg:px-8 content-auto-lg",children:e.jsx("div",{className:"max-w-5xl mx-auto",children:e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-12 items-center",children:[e.jsxs("div",{children:[e.jsxs("div",{className:"flex items-center gap-4 mb-6",children:[S("small"),e.jsx("span",{className:"text-2xl font-bold text-primary-700",children:"+"}),e.jsx("div",{className:"w-16 h-16 rounded-xl shadow-md overflow-hidden",children:e.jsx("img",{src:Ce,alt:"Cendra",className:"w-full h-full object-cover"})})]}),e.jsx("h2",{className:"text-2xl md:text-3xl font-bold text-primary-700 mb-4",children:G}),e.jsx("p",{className:"text-muted-foreground mb-6",dangerouslySetInnerHTML:{__html:U}}),e.jsx("p",{className:"text-muted-foreground mb-6",dangerouslySetInnerHTML:{__html:Q}}),T&&e.jsx("p",{className:"text-muted-foreground",dangerouslySetInnerHTML:{__html:T}})]}),e.jsxs("div",{className:"bg-muted/50 rounded-2xl p-6 md:p-8",children:[e.jsx("h3",{className:"text-lg font-semibold text-primary-700 mb-6",children:J}),e.jsx("div",{className:"md:hidden -mx-6",children:e.jsx(w,{showArrows:!1,children:A.map((l,n)=>e.jsx("div",{className:"bg-card border border-border/50 rounded-xl p-4",children:e.jsxs("div",{className:"flex items-start gap-3",children:[e.jsx("div",{className:"w-5 h-5 rounded-full bg-success-600 flex items-center justify-center flex-shrink-0 mt-0.5",children:e.jsx(H,{className:"w-3 h-3 text-white"})}),e.jsx("span",{className:"text-foreground text-sm",children:l})]})},n))})}),e.jsx("ul",{className:"hidden md:block space-y-4",children:A.map((l,n)=>e.jsxs("li",{className:"flex items-start gap-3",children:[e.jsx("div",{className:"w-5 h-5 rounded-full bg-success-600 flex items-center justify-center flex-shrink-0 mt-0.5",children:e.jsx(H,{className:"w-3 h-3 text-white"})}),e.jsx("span",{className:"text-foreground",children:l})]},n))})]})]})})}),N&&t&&e.jsx("section",{className:"py-16 md:py-24 px-4 sm:px-6 lg:px-8 bg-muted/30",children:e.jsxs("div",{className:"max-w-4xl mx-auto text-center",children:[e.jsx("div",{className:"w-24 h-24 bg-white rounded-2xl shadow-lg p-3 mx-auto mb-6 flex items-center justify-center",children:m?e.jsx("img",{src:m,alt:o,className:"w-full h-full object-contain"}):x?e.jsx("div",{className:"w-full h-full rounded-xl flex items-center justify-center",style:{backgroundColor:a},children:e.jsx("span",{className:"text-white font-bold text-4xl",children:x})}):j?e.jsx("div",{className:"w-full h-full rounded-xl flex items-center justify-center",style:{backgroundColor:a},children:j}):null}),e.jsx("h2",{className:"text-2xl md:text-3xl font-bold text-primary-700 mb-6",children:Z}),e.jsxs("p",{className:"text-muted-foreground text-lg leading-relaxed",children:[e.jsx("a",{href:t,target:"_blank",rel:"noopener noreferrer",className:"text-primary-700 hover:underline",children:o})," ",K]})]})}),b.length>0&&e.jsx("section",{className:"py-16 md:py-24 px-4 sm:px-6 lg:px-8",children:e.jsxs("div",{className:"max-w-3xl mx-auto",children:[e.jsx("h2",{className:"text-2xl md:text-3xl font-bold text-primary-700 mb-8 text-center",children:s("faq.title",{defaultValue:"Frequently Asked Questions"})}),e.jsx(fe,{type:"single",collapsible:!0,className:"w-full space-y-3",children:b.map((l,n)=>e.jsxs(je,{value:`faq-${n}`,className:"bg-card border border-border/50 rounded-xl px-6 data-[state=open]:shadow-md transition-shadow",children:[e.jsx(be,{className:"text-left text-foreground hover:no-underline py-5",children:l.question}),e.jsx(Ne,{className:"text-muted-foreground pb-5",children:l.answer})]},n))})]})}),e.jsx("section",{id:"call-me-section",className:`py-16 md:py-24 px-4 sm:px-6 lg:px-8 ${b.length>0||N?"bg-muted/30":""}`,children:e.jsxs("div",{className:"max-w-6xl mx-auto",children:[e.jsxs("div",{className:"text-center mb-12",children:[e.jsx("h2",{className:"text-2xl md:text-3xl font-bold text-primary-700 mb-4",children:X}),e.jsx("p",{className:"text-muted-foreground",children:Y})]}),e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-8 lg:gap-12 items-start",children:[e.jsx(ye,{}),e.jsxs("div",{className:"flex flex-col items-center lg:items-start justify-center text-center lg:text-left pt-4 lg:pt-8",children:[e.jsx("p",{className:"text-sm font-medium text-muted-foreground uppercase tracking-wider mb-4",children:s("home:finalCta.orText",{defaultValue:"Or start immediately"})}),e.jsxs(y,{size:"lg",variant:"premium",className:"w-full sm:w-auto h-14 px-8 text-lg",onClick:()=>$("/get-started"),children:[s("common:nav.startWorking",{defaultValue:"Start working with me"}),e.jsx(f,{className:"ml-2 h-5 w-5"})]}),e.jsx("p",{className:"text-sm text-muted-foreground mt-4",children:s("home:finalCta.noCreditCard",{defaultValue:"No credit card required • 5-minute setup • Cancel anytime"})})]})]})]})}),e.jsx(Se,{currentIntegrationKey:c,currentType:d}),e.jsx(we,{})]})]})};export{Fe as L};