(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[931],{845:function(e,t,r){Promise.resolve().then(r.bind(r,9939))},9939:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return g}});var s=r(3827),a=r(4090),n=r(8792),l=r(7907),i=r(5754),o=r(7461);/** * @license lucide-react v0.309.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */let c=(0,o.Z)("Zap",[["polygon",{points:"13 2 3 14 12 14 11 22 21 10 12 10 13 2",key:"45s27k"}]]);var d=r(7326),u=r(7451),h=r(438),m=r(1049);/** * @license lucide-react v0.309.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */let x=(0,o.Z)("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);var f=r(9259);let p={heroTitle:"Integre WhatsApp aos seus sistemas",heroSubtitle:"com uma API simples e poderosa",heroDescription:"Envie mensagens, receba notifica\xe7\xf5es, automatize processos e conecte seu CRM, ERP ou qualquer sistema ao WhatsApp.",ctaText:"Comece Agora Gr\xe1tis",ctaLink:"/register",secondaryCtaText:"Ver Documenta\xe7\xe3o",secondaryCtaLink:"/docs",subtitle:"7 dias gr\xe1tis • Sem cart\xe3o de cr\xe9dito • Setup em minutos",featuresTitle:"Por que escolher o MaxWhats?",features:[{icon:"zap",title:"API R\xe1pida e Confi\xe1vel",description:"Processamento de mensagens em tempo real com fila de prioridade e retentativas autom\xe1ticas."},{icon:"shield",title:"Seguran\xe7a Empresarial",description:"Multi-tenant isolado, RBAC, tokens com expira\xe7\xe3o, webhooks com HMAC e conformidade com LGPD."},{icon:"globe",title:"Escal\xe1vel e Flex\xedvel",description:"Arquitetura baseada em filas, workers horizontais e suporte a m\xfaltiplos provedores WhatsApp."}],pricingTitle:"Planos para cada necessidade",plans:[{name:"B\xe1sico",price:"R$ 49",period:"/m\xeas",features:["1 inst\xe2ncia","1.000 mensagens/m\xeas","2 usu\xe1rios","Suporte por e-mail"],ctaText:"Come\xe7ar"},{name:"Pro",price:"R$ 149",period:"/m\xeas",features:["5 inst\xe2ncias","10.000 mensagens/m\xeas","5 usu\xe1rios","Suporte priorit\xe1rio","Integra\xe7\xe3o IA"],popular:!0,ctaText:"Come\xe7ar"},{name:"Empresarial",price:"R$ 499",period:"/m\xeas",features:["20 inst\xe2ncias","100.000 mensagens/m\xeas","20 usu\xe1rios","Suporte dedicado","White Label"],ctaText:"Fale Conosco"}],footerText:"\xa9 2026 MaxWhats API. Todos os direitos reservados. MaxSystec."};function g(){let e=(0,l.useRouter)(),[t,r]=(0,a.useState)(!1),[o,g]=(0,a.useState)(p);return(0,a.useEffect)(()=>{r(!!localStorage.getItem("accessToken")),fetch("".concat("https://api.maxwhats.maxsystec.com.br","/v1/health/admin/landing-content")).then(e=>e.ok?e.json():null).then(e=>{e&&e.heroTitle&&g(e)}).catch(()=>{})},[]),(0,s.jsxs)("div",{className:"min-h-screen bg-gradient-to-b from-gray-50 to-white dark:from-gray-900 dark:to-gray-800",children:[(0,s.jsx)("header",{className:"border-b",children:(0,s.jsxs)("div",{className:"container mx-auto px-4 h-16 flex items-center justify-between",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)(h.Z,{className:"h-8 w-8 text-green-600"}),(0,s.jsx)("span",{className:"text-xl font-bold",children:"MaxWhats API"})]}),(0,s.jsx)("nav",{className:"hidden md:flex items-center gap-6",children:t?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.default,{href:"#features",className:"text-gray-600 hover:text-gray-900",children:"Recursos"}),(0,s.jsx)(n.default,{href:"#pricing",className:"text-gray-600 hover:text-gray-900",children:"Planos"}),(0,s.jsx)(n.default,{href:"/docs",className:"text-gray-600 hover:text-gray-900",children:"Documenta\xe7\xe3o"}),(0,s.jsx)(n.default,{href:"/dashboard",children:(0,s.jsx)(i.z,{variant:"ghost",className:"text-green-600 hover:text-green-700",children:"Dashboard"})}),(0,s.jsxs)("button",{onClick:function(){localStorage.removeItem("accessToken"),localStorage.removeItem("refreshToken"),localStorage.removeItem("user"),r(!1),e.push("/login")},className:"flex items-center gap-1.5 text-xs text-gray-400 hover:text-red-500 transition-colors",title:"Sair da conta",children:[(0,s.jsx)(m.Z,{className:"h-3.5 w-3.5"})," Sair"]})]}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.default,{href:"#features",className:"text-gray-600 hover:text-gray-900",children:"Recursos"}),(0,s.jsx)(n.default,{href:"#pricing",className:"text-gray-600 hover:text-gray-900",children:"Planos"}),(0,s.jsx)(n.default,{href:"/docs",className:"text-gray-600 hover:text-gray-900",children:"Documenta\xe7\xe3o"}),(0,s.jsx)(n.default,{href:"/login",children:(0,s.jsx)(i.z,{variant:"ghost",children:"Entrar"})}),(0,s.jsx)(n.default,{href:"/register",children:(0,s.jsx)(i.z,{children:"Criar Conta"})})]})})]})}),(0,s.jsxs)("section",{className:"container mx-auto px-4 py-20 text-center",children:[(0,s.jsxs)("h1",{className:"text-4xl md:text-6xl font-bold mb-6",children:[o.heroTitle,(0,s.jsx)("br",{}),(0,s.jsx)("span",{className:"text-green-600",children:o.heroSubtitle})]}),(0,s.jsx)("p",{className:"text-xl text-gray-600 mb-8 max-w-2xl mx-auto",children:o.heroDescription}),(0,s.jsx)("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:t?(0,s.jsx)(n.default,{href:"/dashboard",children:(0,s.jsxs)(i.z,{size:"lg",className:"gap-2",children:["Ir para o Dashboard ",(0,s.jsx)(x,{className:"h-4 w-4"})]})}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.default,{href:o.ctaLink,children:(0,s.jsxs)(i.z,{size:"lg",className:"gap-2",children:[o.ctaText," ",(0,s.jsx)(x,{className:"h-4 w-4"})]})}),(0,s.jsx)(n.default,{href:o.secondaryCtaLink,children:(0,s.jsx)(i.z,{size:"lg",variant:"outline",children:o.secondaryCtaText})})]})}),(0,s.jsx)("p",{className:"text-sm text-gray-500 mt-4",children:t?"Acesse seu painel de controle":o.subtitle})]}),(0,s.jsxs)("section",{id:"features",className:"container mx-auto px-4 py-20",children:[(0,s.jsx)("h2",{className:"text-3xl font-bold text-center mb-12",children:o.featuresTitle}),(0,s.jsx)("div",{className:"grid md:grid-cols-3 gap-8",children:o.features.map((e,t)=>(0,s.jsxs)("div",{className:"p-6 border rounded-lg",children:[function(e){switch(e){case"zap":default:return(0,s.jsx)(c,{className:"h-10 w-10 text-green-600 mb-4"});case"shield":return(0,s.jsx)(d.Z,{className:"h-10 w-10 text-green-600 mb-4"});case"globe":return(0,s.jsx)(u.Z,{className:"h-10 w-10 text-green-600 mb-4"})}}(e.icon),(0,s.jsx)("h3",{className:"text-xl font-semibold mb-2",children:e.title}),(0,s.jsx)("p",{className:"text-gray-600",children:e.description})]},t))})]}),(0,s.jsx)("section",{className:"bg-gray-900 text-white py-20",children:(0,s.jsxs)("div",{className:"container mx-auto px-4",children:[(0,s.jsx)("h2",{className:"text-3xl font-bold text-center mb-8",children:"Simples de integrar"}),(0,s.jsx)("div",{className:"max-w-2xl mx-auto",children:(0,s.jsx)("pre",{className:"bg-gray-800 p-6 rounded-lg overflow-x-auto",children:(0,s.jsx)("code",{children:'curl -X POST \\\n https://api.maxwhats.maxsystec.com.br/v1/instances/inst_xxx/messages/text \\\n -H "Authorization: Bearer SEU_TOKEN" \\\n -H "Content-Type: application/json" \\\n -d \'{\n "phone": "5522999999999",\n "message": "Ol\xe1! Seu pedido foi aprovado."\n }\''})})})]})}),(0,s.jsxs)("section",{id:"pricing",className:"container mx-auto px-4 py-20",children:[(0,s.jsx)("h2",{className:"text-3xl font-bold text-center mb-12",children:o.pricingTitle}),(0,s.jsx)("div",{className:"grid md:grid-cols-3 gap-8 max-w-5xl mx-auto",children:o.plans.map((e,t)=>(0,s.jsxs)("div",{className:"border rounded-lg p-8 relative ".concat(e.popular?"border-2 border-green-600":""),children:[e.popular&&(0,s.jsx)("div",{className:"absolute -top-4 left-1/2 -translate-x-1/2 bg-green-600 text-white px-4 py-1 rounded-full text-sm",children:"Mais Popular"}),(0,s.jsx)("h3",{className:"text-xl font-semibold mb-2",children:e.name}),(0,s.jsxs)("div",{className:"text-4xl font-bold mb-4",children:[e.price,(0,s.jsx)("span",{className:"text-lg font-normal",children:e.period})]}),(0,s.jsx)("ul",{className:"space-y-3 mb-8",children:e.features.map((e,t)=>(0,s.jsxs)("li",{className:"flex items-center gap-2",children:[(0,s.jsx)(f.Z,{className:"h-5 w-5 text-green-600"}),e]},t))}),(0,s.jsx)(i.z,{className:"w-full",variant:e.popular?void 0:"outline",children:e.ctaText})]},t))})]}),(0,s.jsx)("footer",{className:"border-t py-12",children:(0,s.jsxs)("div",{className:"container mx-auto px-4",children:[(0,s.jsxs)("div",{className:"grid md:grid-cols-4 gap-8",children:[(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{className:"flex items-center gap-2 mb-4",children:[(0,s.jsx)(h.Z,{className:"h-6 w-6 text-green-600"}),(0,s.jsx)("span",{className:"font-bold",children:"MaxWhats API"})]}),(0,s.jsx)("p",{className:"text-gray-600 text-sm",children:"Plataforma de integra\xe7\xe3o WhatsApp para empresas."})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("h4",{className:"font-semibold mb-4",children:"Produto"}),(0,s.jsxs)("ul",{className:"space-y-2 text-sm text-gray-600",children:[(0,s.jsx)("li",{children:(0,s.jsx)(n.default,{href:"#features",children:"Recursos"})}),(0,s.jsx)("li",{children:(0,s.jsx)(n.default,{href:"#pricing",children:"Planos"})}),(0,s.jsx)("li",{children:(0,s.jsx)(n.default,{href:"/docs",children:"Documenta\xe7\xe3o"})}),(0,s.jsx)("li",{children:(0,s.jsx)(n.default,{href:"/api/docs",children:"API Reference"})})]})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("h4",{className:"font-semibold mb-4",children:"Empresa"}),(0,s.jsxs)("ul",{className:"space-y-2 text-sm text-gray-600",children:[(0,s.jsx)("li",{children:(0,s.jsx)(n.default,{href:"/about",children:"Sobre"})}),(0,s.jsx)("li",{children:(0,s.jsx)(n.default,{href:"/contact",children:"Contato"})}),(0,s.jsx)("li",{children:(0,s.jsx)(n.default,{href:"/privacy",children:"Privacidade"})}),(0,s.jsx)("li",{children:(0,s.jsx)(n.default,{href:"/terms",children:"Termos"})})]})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("h4",{className:"font-semibold mb-4",children:"Suporte"}),(0,s.jsxs)("ul",{className:"space-y-2 text-sm text-gray-600",children:[(0,s.jsx)("li",{children:(0,s.jsx)(n.default,{href:"/help",children:"Central de Ajuda"})}),(0,s.jsx)("li",{children:(0,s.jsx)(n.default,{href:"/status",children:"Status"})}),(0,s.jsx)("li",{children:(0,s.jsx)(n.default,{href:"mailto:suporte@maxwhats.com.br",children:"E-mail"})})]})]})]}),(0,s.jsx)("div",{className:"border-t mt-8 pt-8 text-center text-sm text-gray-600",children:o.footerText})]})})]})}},5754:function(e,t,r){"use strict";r.d(t,{z:function(){return c}});var s=r(3827),a=r(4090),n=r(6371),l=r(9769),i=r(1657);let o=(0,l.j)("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{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"}}),c=a.forwardRef((e,t)=>{let{className:r,variant:a,size:l,asChild:c=!1,...d}=e,u=c?n.g7:"button";return(0,s.jsx)(u,{className:(0,i.cn)(o({variant:a,size:l,className:r})),ref:t,...d})});c.displayName="Button"},1657:function(e,t,r){"use strict";r.d(t,{cn:function(){return n}});var s=r(3167),a=r(1367);function n(){for(var e=arguments.length,t=Array(e),r=0;rn(e,"name",{value:t,configurable:!0});function i(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function o(){for(var e=arguments.length,t=Array(e),r=0;r{let r=!1,s=t.map(t=>{let s=i(t,e);return r||"function"!=typeof s||(r=!0),s});if(r)return()=>{for(let e=0;ed(e,"name",{value:t,configurable:!0});function h(e){let t=s.forwardRef((t,r)=>{var a;let{children:n,...l}=t,i=null,o=!1,d=[];y(n)&&"function"==typeof k&&(n=k(n._payload)),s.Children.forEach(n,e=>{if(j(e)){var t;o=!0;let r="child"in e.props?e.props.child:e.props.children;y(r)&&"function"==typeof k&&(r=k(r._payload)),i=f(e,r),d.push(null==i?void 0:null===(t=i.props)||void 0===t?void 0:t.children)}else d.push(e)}),i?i=s.cloneElement(i,void 0,d):!o&&1===s.Children.count(n)&&s.isValidElement(n)&&(i=n);let u=i?g(i):void 0,h=c(r,u);if(!i){if(n||0===n)throw Error(o?S(e):N(e));return n}let m=p(l,null!==(a=i.props)&&void 0!==a?a:{});return i.type!==s.Fragment&&(m.ref=r?h:u),s.cloneElement(i,m)});return t.displayName="".concat(e,".Slot"),t}u(h,"createSlot");var m=h("Slot"),x=Symbol.for("radix.slottable");u(function(e){let t=u(e=>"child"in e?e.children(e.child):e.children,"Slottable");return t.displayName="".concat(e,".Slottable"),t.__radixId=x,t},"createSlottable");var f=u((e,t)=>{if("child"in e.props){let t=e.props.child;return s.isValidElement(t)?s.cloneElement(t,void 0,e.props.children(t.props.children)):null}return s.isValidElement(t)?t:null},"getSlottableElementFromSlottable");function p(e,t){let r={...t};for(let s in t){let a=e[s],n=t[s];/^on[A-Z]/.test(s)?a&&n?r[s]=function(){for(var e=arguments.length,t=Array(e),r=0;r"".concat(e," failed to slot onto its children. Expected a single React element child or `Slottable`."),"createSlotError"),S=u(e=>"".concat(e," failed to slot onto its `Slottable`. Expected `Slottable` to receive a single React element child."),"createSlottableError"),k=a[" use ".trim().toString()]},9769:function(e,t,r){"use strict";r.d(t,{j:function(){return l}});var s=r(3167);let a=e=>"boolean"==typeof e?"".concat(e):0===e?"0":e,n=s.W,l=(e,t)=>r=>{var s;if((null==t?void 0:t.variants)==null)return n(e,null==r?void 0:r.class,null==r?void 0:r.className);let{variants:l,defaultVariants:i}=t,o=Object.keys(l).map(e=>{let t=null==r?void 0:r[e],s=null==i?void 0:i[e];if(null===t)return null;let n=a(t)||a(s);return l[e][n]}),c=r&&Object.entries(r).reduce((e,t)=>{let[r,s]=t;return void 0===s||(e[r]=s),e},{});return n(e,o,null==t?void 0:null===(s=t.compoundVariants)||void 0===s?void 0:s.reduce((e,t)=>{let{class:r,className:s,...a}=t;return Object.entries(a).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...i,...c}[t]):({...i,...c})[t]===r})?[...e,r,s]:e},[]),null==r?void 0:r.class,null==r?void 0:r.className)}}},function(e){e.O(0,[700,250,971,69,744],function(){return e(e.s=845)}),_N_E=e.O()}]);