1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[824],{55358:function(e,t,a){Promise.resolve().then(a.bind(a,11418)),Promise.resolve().then(a.t.bind(a,69498,23)),Promise.resolve().then(a.bind(a,83319)),Promise.resolve().then(a.bind(a,65513)),Promise.resolve().then(a.bind(a,11371))},4112:function(e,t,a){"use strict";a.d(t,{Z:function(){return x}});var s=a(83890),r=a(58496),i=a(56788),l=a(34154),n=a(63456),d=a(87942),c=a(98752),o=a(18513);function x(e){let{isVisible:t}=e,[a,x]=(0,r.useState)(!1),m=(0,o.useTranslations)("Homepage.Footer"),p=c.l6.slice(0,3),u=c.YM.slice(0,2);return t?(0,s.jsx)("div",{className:"backdrop-filter backdrop-blur-sm fixed bottom-6 left-1/2 transform -translate-x-1/2 z-50 transition-all duration-300 ease-out translate-y-0 opacity-100 animate-in slide-in-from-bottom-4",children:(0,s.jsx)("div",{className:"bg-background/95 backdrop-blur-sm border rounded-xl shadow-lg p-2 sm:p-4 mx-4 max-w-[calc(100vw-2rem)]",children:(0,s.jsxs)("div",{className:"flex items-center space-x-2 overflow-x-auto whitespace-nowrap no-scrollbar",children:[(0,s.jsx)("span",{className:"text-lg sm:text-xl font-semibold text-primary flex-shrink-0",children:m("getIq")}),(0,s.jsxs)("div",{className:"flex items-center space-x-2 flex-shrink-0",children:[p.map(e=>{let t=e.logo;return(0,s.jsx)(i.default,{href:e.link,target:"_blank",rel:"noopener noreferrer",className:"flex items-center p-1.5 sm:p-2 rounded-md border border-gray-200 dark:border-gray-700 hover:bg-gray-200 transition-all duration-300 flex-shrink-0 hover:scale-110 hover:shadow-lg animate-in","data-ph-capture-attribute-exchange-clicked":e.name.toLowerCase(),children:(0,s.jsx)(t,{width:20,height:20})},e.name)}),(0,s.jsx)("div",{className:"w-px h-8 bg-border mx-2"}),u.map(e=>{let t=e.logo;return(0,s.jsx)(i.default,{href:e.link,target:"_blank",rel:"noopener noreferrer","data-ph-capture-attribute-exchange-clicked":e.name.toLowerCase(),className:"flex items-center p-1.5 sm:p-2 rounded-md border border-gray-200 dark:border-gray-700 hover:bg-gray-200 transition-all duration-300 flex-shrink-0 hover:scale-110 hover:shadow-lg animate-in",children:(0,s.jsx)(t,{width:20,height:20})},e.name)})]}),(0,s.jsx)(n.fC,{children:(0,s.jsxs)(n.v2,{children:[(0,s.jsx)(n.xz,{asChild:!0,onClick:()=>x(!0),children:(0,s.jsx)("button",{className:"flex items-center justify-center h-[38px] p-2 rounded-md border border-gray-200 dark:border-gray-700 hover:bg-gray-200",children:(0,s.jsx)(l.Z,{size:16,className:"text-primary w-6 h-6"})})}),a&&(0,s.jsx)(n.h_,{children:(0,s.jsx)(n.VY,{align:"end",side:"top",sideOffset:30,alignOffset:-140,className:"z-50 w-[calc(100vw-2rem)] max-w-[600px] lg:w-[600px] rounded-lg bg-white dark:bg-gray-800 shadow-lg border border-gray-200 dark:border-gray-700 p-6",children:(0,s.jsx)(d.p,{onClose:()=>{x(!1)}})})})]})})]})})}):null}},83319:function(e,t,a){"use strict";a.d(t,{default:function(){return i}});var s=a(83890),r=a(4112);function i(){return(0,s.jsx)(r.Z,{isVisible:!0})}},65513:function(e,t,a){"use strict";a.d(t,{default:function(){return N}});var s=a(83890),r=a(58496),i=a(23320),l=a(18513),n=a(78297),d=a(56788),c=a(34647),o=a(56060),x=a(67204),m=a(22426),p=a(1673),u=()=>{let e=(0,l.useTranslations)(),{theme:t}=(0,x.F)(),{DISCORD_STEPS:a}=(0,m.M)(),[u,g]=(0,r.useState)(a[0].id),[h,b]=(0,r.useState)("");(0,r.useEffect)(()=>{b(null!=t?t:"light")});let j=e=>{let{content:t}=e;return(0,s.jsx)("div",{children:(0,s.jsx)(p.M,{content:t})})};return(0,s.jsx)("section",{className:"py-16 md:py-6 pb-20 md:pb-28 px-4",children:(0,s.jsxs)("div",{className:"max-w-7xl mx-auto",children:[(0,s.jsx)("h3",{className:"text-center text-3xl lg:text-4xl font-semibold",children:e("Discord.SubTitle")}),(0,s.jsx)("p",{className:"text-muted-foreground mt-1 lg:mt-4 max-w-[680px] lg:max-w-[940px] text-center mx-auto text-lg lg:text-xl",children:e("Discord.Description")}),(0,s.jsx)("div",{className:"mt-24",children:(0,s.jsx)(i.fC,{className:"mt-16",defaultValue:a[0].id,onValueChange:g,children:(0,s.jsxs)("div",{className:"grid grid-cols-2 gap-8",children:[(0,s.jsxs)("div",{className:"",children:[(0,s.jsx)(i.aV,{className:"flex flex-col",children:a.map((e,t)=>(0,s.jsx)(i.xz,{value:e.id,className:"text-left font-medium text-xl py-7 border-b border-border group",type:"button",children:(0,s.jsxs)("div",{className:"px-6",children:[(0,s.jsxs)("div",{className:"flex justify-between items-center group-data-[state=active]:dark:text-brand-800 group-data-[state=active]:text-brand-500 transition-colors duration-300",children:[t+1,". ",e.title,":"," ",(0,s.jsx)(c.jfD,{className:"text-primary w-6 h-6 transition-transform duration-300 group-data-[state=active]:-rotate-90"})]}),(0,s.jsx)("div",{className:"mt-3 opacity-0 invisible max-h-0 transition-all duration-300 group-data-[state=active]:max-h-[500px] group-data-[state=active]:opacity-100 group-data-[state=active]:visible",children:(0,s.jsx)("p",{className:"text-gray-600 dark:text-white/80 text-lg font-medium",children:(0,s.jsx)(j,{content:e.content},t)})})]})},"desktop-telegram-trigger-".concat(e.id)))},"tab-list-desktop-discord"),(0,s.jsx)(d.default,{href:"https://discord.com/api/oauth2/authorize?client_id=1146417059580887041&permissions=2147485696&scope=bot",className:(0,n.L)({variant:"primary",class:"px-4 mt-3 lg:mt-6 py-[10
1px] w-fit"}),target:"_blank",children:e("Discord.HowToUse.action")})]}),a.map(e=>(0,s.jsx)(i.VY,{value:u,className:"bg-muted rounded-xl py-16 px-10 justify-center items-center ".concat(u===e.id?"lg:flex":"lg:hidden"," hidden"),children:(0,s.jsx)(o.default,{src:"dark"===h?e.image.dark:e.image.light,alt:"".concat(e.title,": ").concat(e.content),width:570,height:730,className:"block max-h-[600px] object-contain",priority:!0,quality:100})},"desktop-telegram-content-".concat(e.id)))]})})})]})})},g=()=>{let e=(0,l.useTranslations)(),{theme:t}=(0,x.F)(),{WEBSITE_STEPS:a}=(0,m.M)(),[u,g]=(0,r.useState)(a[0].id),[h,b]=(0,r.useState)("");(0,r.useEffect)(()=>{b(null!=t?t:"light")});let j=e=>{let{content:t}=e;return(0,s.jsx)("div",{children:(0,s.jsx)(p.M,{content:t})})};return(0,s.jsx)("section",{className:"py-16 md:py-6 pb-20 md:pb-28 px-4",children:(0,s.jsxs)("div",{className:"max-w-7xl mx-auto",children:[(0,s.jsx)("h3",{className:"text-center text-3xl lg:text-4xl font-semibold",children:e("Website.SubTitle")}),(0,s.jsx)("p",{className:"text-muted-foreground mt-1 lg:mt-4 max-w-[680px] lg:max-w-[940px] text-center mx-auto text-lg lg:text-xl",children:e("Website.Description")}),(0,s.jsx)("div",{className:"mt-24",children:(0,s.jsx)(i.fC,{className:"mt-16",defaultValue:a[0].id,onValueChange:g,children:(0,s.jsxs)("div",{className:"grid grid-cols-2 gap-8",children:[(0,s.jsxs)("div",{className:"",children:[(0,s.jsx)(i.aV,{className:"flex flex-col",children:a.map((e,t)=>(0,s.jsx)(i.xz,{value:e.id,className:"text-left font-medium text-xl py-7 border-b border-border group",type:"button",children:(0,s.jsxs)("div",{className:"px-6",children:[(0,s.jsxs)("div",{className:"flex justify-between items-center group-data-[state=active]:dark:text-brand-800 group-data-[state=active]:text-brand-500 transition-colors duration-300",children:[t+1,". ",e.title,":"," ",(0,s.jsx)(c.jfD,{className:"text-primary w-6 h-6 transition-transform duration-300 group-data-[state=active]:-rotate-90"})]}),(0,s.jsx)("div",{className:"mt-3 opacity-0 invisible max-h-0 transition-all duration-300 group-data-[state=active]:max-h-[500px] group-data-[state=active]:opacity-100 group-data-[state=active]:visible",children:(0,s.jsx)("p",{className:"text-muted-foreground text-lg font-medium",children:(0,s.jsx)(j,{content:e.content},t)})})]})},"desktop-telegram-trigger-".concat(e.id)))},"tab-list-desktop-telegram"),(0,s.jsx)(d.default,{href:"https://chat.aiden.id/configure/widget",className:(0,n.L)({variant:"primary",class:"px-4 mt-3 lg:mt-6 py-[10
1px] w-fit"}),target:"_blank",children:e("Website.HowToUse.action")})]}),a.map(e=>(0,s.jsx)(i.VY,{value:u,className:"bg-muted rounded-xl py-16 px-10 justify-center items-center ".concat(u===e.id?"lg:flex":"lg:hidden"," hidden"),children:(0,s.jsx)(o.default,{src:"dark"===h?e.image.dark:e.image.light,alt:"".concat(e.title,": ").concat(e.content),width:570,height:730,className:"block max-h-[500px] object-contain",priority:!0,quality:100})},"desktop-telegram-content-".concat(e.id)))]})})})]})})},h=()=>{let e=(0,l.useTranslations)(),{theme:t}=(0,x.F)(),{CUSTOM_KNOWLEDGE_STEPS:a}=(0,m.M)(),[n,d]=(0,r.useState)(a[0].id),[p,u]=(0,r.useState)("");return(0,r.useEffect)(()=>{u(null!=t?t:"light")}),(0,s.jsx)("section",{className:"py-16 md:py-6 pb-20 md:pb-28 px-4",children:(0,s.jsxs)("div",{className:"max-w-7xl mx-auto",children:[(0,s.jsx)("h3",{className:"text-center text-3xl lg:text-4xl font-semibold",children:e("Custom.SubTitle")}),(0,s.jsx)("p",{className:"text-muted-foreground mt-1 lg:mt-4 max-w-[680px] lg:max-w-[940px] text-center mx-auto text-lg lg:text-xl",children:e("Custom.Description")}),(0,s.jsx)("div",{className:"mt-24",children:(0,s.jsx)(i.fC,{className:"mt-16",defaultValue:a[0].id,children:(0,s.jsxs)("div",{className:"grid grid-cols-2 gap-8",children:[(0,s.jsxs)("div",{className:"",children:[(0,s.jsx)("h4",{className:"text-left py-3 px-6 text-2xl lg:text-3xl font-semibold",children:e("Custom.CustomChatbot.title")}),(0,s.jsx)(i.aV,{className:"flex flex-col",children:a.map((e,t)=>(0,s.jsx)(i.xz,{value:e.id,className:"text-left font-medium text-xl py-7 border-b border-border group",type:"button",onClick:t=>{t.preventDefault(),d(e.id)},children:(0,s.jsxs)("div",{className:"px-6",children:[(0,s.jsxs)("div",{className:"flex justify-between items-center group-data-[state=active]:dark:text-brand-800 group-data-[state=active]:text-brand-500 transition-colors duration-300",children:[t+1,". ",e.title,":"," ",(0,s.jsx)(c.jfD,{className:"text-primary w-6 h-6 transition-transform duration-300 group-data-[state=active]:-rotate-90"})]}),(0,s.jsx)("div",{className:"mt-3 opacity-0 invisible max-h-0 transition-all duration-300 group-data-[state=active]:max-h-[500px] group-data-[state=active]:opacity-100 group-data-[state=active]:visible",children:(0,s.jsx)("p",{className:"text-muted-foreground text-lg font-medium",children:e.content})})]})},"desktop-telegram-trigger-".concat(e.id)))},"tab-list-desktop-telegram")]}),a.map(e=>(0,s.jsx)(i.VY,{value:n,className:"bg-muted rounded-xl py-16 px-10 justify-center items-center ".concat(n===e.id?"lg:flex":"lg:hidden"," hidden"),children:(0,s.jsx)(o.default,{src:"dark"===p?e.image.dark:e.image.light,alt:"".concat(e.title,": ").concat(e.content),width:570,height:730,className:"block max-h-[600px] object-contain w-full scale-x-105",priority:!0,quality:100})},"desktop-telegram-content-".concat(e.id)))]})})})]})})},b=a(3566),j=()=>{let e=(0,l.useTranslations)(),{theme:t}=(0,x.F)(),{CUSTOM_KNOWLEDGE_CHATBOT_STEPS:a}=(0,m.M)(),[n,d]=(0,r.useState)(a[0].id),[p,u]=(0,r.useState)("");return(0,r.useEffect)(()=>{u(null!=t?t:"light")}),(0,s.jsx)("section",{className:"py-16 md:py-0 pb-20 md:pb-28 px-4",children:(0,s.jsx)("div",{className:"max-w-7xl mx-auto",children:(0,s.jsx)("div",{children:(0,s.jsx)(i.fC,{defaultValue:a[0].id,children:(0,s.jsxs)("div",{className:"grid grid-cols-2 gap-8",children:[(0,s.jsxs)("div",{className:"",children:[(0,s.jsx)("h4",{className:"text-left py-3 px-6 text-2xl lg:text-3xl font-semibold",children:e("Custom.CustomChatbot.SubTitle")}),(0,s.jsx)(i.aV,{className:"flex flex-col",children:a.map(e=>(0,s.jsx)(i.xz,{value:e.id,className:"text-left font-medium text-xl py-7 border-b border-border group",type:"button",onClick:t=>{t.preventDefault(),d(e.id)},children:(0,s.jsxs)("div",{className:"px-6",children:[(0,s.jsxs)("div",{className:"flex justify-between items-center group-data-[state=active]:dark:text-brand-800 group-data-[state=active]:text-brand-500 transition-colors duration-300",children:[(0,s.jsxs)("div",{className:"flex justify-between flex-row items-center",children:[(0,s.jsx)(b.NNX,{}),(0,s.jsxs)("span",{className:"ml-1",children:[e.title,": "]})]}),(0,s.jsx)(c.jfD,{className:"text-primary w-6 h-6 transition-transform duration-300 group-data-[state=active]:-rotate-90"})]}),(0,s.jsx)("div",{className:"mt-3 opacity-0 invisible max-h-0 transition-all duration-300 group-data-[state=active]:max-h-[500px] group-data-[state=active]:opacity-100 group-data-[state=active]:visible",children:(0,s.jsx)("p",{className:"text-muted-foreground text-lg font-medium",children:e.content})})]})},"desktop-telegram-trigger-".concat(e.id)))},"tab-list-desktop-telegram")]}),a.map(e=>(0,s.jsx)(i.VY,{value:n,className:"bg-muted rounded-xl py-16 px-10 justify-center items-center ".concat(n===e.id?"lg:flex":"lg:hidden"," hidden"),children:(0,s.jsx)(o.default,{src:"dark"===p?e.image.dark:e.image.light,alt:"".concat(e.title,": ").concat(e.content),width:570,height:730,className:"block max-h-[600px] object-contain w-full",priority:!0,qual
1ity:90})},"desktop-telegram-content-".concat(e.id)))]})})})})})},f=a(75620),v=a(15004);let y=e=>{let{label:t,icon:a,id:r,onClick:l}=e;return(0,s.jsx)(i.xz,{value:"tab".concat(r),className:"group text-sm text-muted-foreground font-medium data-[state=active]:bg-brand-100 data-[state=active]:text-brand-800 data-[state=active]:dark:text-brand-800 hover:text-brand-800 dark:hover:text-brand-800 relative p-2 rounded-md xl:flex-grow",onClick:()=>null==l?void 0:l("tab".concat(r)),children:(0,s.jsxs)("div",{className:"flex px-4 justify-center items-center sm:text-sm lg:text-md",children:[(0,s.jsx)("span",{className:"sm:text-sm lg:text-xl mx-2",children:a}),(0,s.jsx)("span",{className:"sm:text-sm lg:text-md",children:t})]})})};var N=()=>{let e=(0,l.useTranslations)("IntegrationTabs");return(0,s.jsx)("div",{children:(0,s.jsxs)(i.fC,{className:"mt-8 flex flex-col justify-center items-center",defaultValue:"tab1",children:[(0,s.jsx)("div",{className:"hidden md:block",children:(0,s.jsx)("div",{className:"flex my-4",children:(0,s.jsxs)(i.aV,{"aria-label":"View your tabs",className:"w-full rounded-xl p-1 border border-3 border-border lg:space-x-6 dark:border-3 bg-muted",children:[(0,s.jsx)(y,{label:e("telegram"),id:1,icon:(0,s.jsx)(v.iEj,{})}),(0,s.jsx)(y,{label:e("discord"),id:2,icon:(0,s.jsx)(f.fx4,{})}),(0,s.jsx)(y,{label:e("web"),id:3,icon:(0,s.jsx)(c.nwJ,{})}),(0,s.jsx)(y,{label:e("custom"),id:4,icon:(0,s.jsx)(c.d26,{})})]})})}),(0,s.jsxs)("div",{className:"hidden lg:block",children:[(0,s.jsx)(i.VY,{value:"tab1",children:(0,s.jsx)(p.Z,{})}),(0,s.jsx)(i.VY,{value:"tab2",children:(0,s.jsx)(u,{})}),(0,s.jsx)(i.VY,{value:"tab3",children:(0,s.jsx)(g,{})}),(0,s.jsx)(i.VY,{value:"tab4",children:(0,s.jsxs)("div",{children:[(0,s.jsx)(h,{}),(0,s.jsx)(j,{})]})})]})]})})}},11371:function(e,t,a){"use strict";a.d(t,{IntegrationMobile:function(){return k}});var s=a(83890),r=a(58496),i=a(23320),l=a(67204),n=a(34647),d=a(87604),c=a(78297),o=a(56788),x=a(56060),m=a(18513),p=a(22426),u=a(1673);let g=()=>{let e=(0,m.useTranslations)(),{theme:t}=(0,l.F)(),[a,i]=(0,r.useState)(""),{TELEGRAM_STEPS:g}=(0,p.M)();(0,r.useEffect)(()=>{i(null!=t?t:"light")});let h=e=>{let{content:t}=e;return(0,s.jsx)("div",{children:(0,s.jsx)(u.M,{content:t})})};return(0,s.jsxs)("div",{className:"max-w-7xl mx-auto mt-2",children:[(0,s.jsx)("h3",{className:"text-center text-xl font-semibold",children:e("Telegram.SubTitle")}),(0,s.jsx)("p",{className:"text-muted-foreground mt-1 lg:mt-4 max-w-[680px] lg:max-w-[940px] text-center mx-auto text-sm lg:text-xl",children:e("Telegram.Description")}),(0,s.jsxs)("div",{className:"mt-8",children:[(0,s.jsx)(d.fC,{type:"single",defaultValue:g[0].id,collapsible:!0,children:g.map((t,r)=>(0,s.jsxs)(d.ck,{value:t.id,className:"relative",children:[(0,s.jsx)(d.h4,{children:(0,s.jsx)(d.xz,{value:t.id,className:"text-left w-full font-medium text-base md:text-lg xl:text-2xl py-7 md:py-8 xl:py-10 \n ".concat(2===r?"border-b-0":"border-b data-[state=open]:border-b-0 border-border"," group"),type:"button",children:(0,s.jsxs)("div",{className:"px-0 md:px-4 xl:px-6",children:[3===r&&(0,s.jsx)("p",{className:"text-brand-800 text-sm py-4",children:e("integration.telegram.dividerText")}),(0,s.jsxs)("div",{className:"flex justify-between items-center group-data-[state=open]:dark:text-brand-800 group-data-[state=open]:text-brand-500 transition-colors duration-300",children:[r+1,". ",t.title,":"," ",(0,s.jsx)(n.jfD,{className:"text-primary w-6 h-6 transition-transform duration-300 group-data-[state=open]:-rotate-90"})]}),(0,s.jsx)("div",{className:"group-data-[state=open]:mt-3 opacity-0 invisible max-h-0 transition-all duration-300 group-data-[state=open]:max-h-[500px] group-data-[state=open]:opacity-100 group-data-[state=open]:visible",children:(0,s.jsx)("p",{className:"text-muted-foreground text-sm md:text-base xl:text-lg font-medium",children:(0,s.jsx)(h,{content:t.content},r)})})]})},"desktop-telegram-trigger-".concat(t.id))}),(0,s.jsx)(d.VY,{className:"pb-5 border-b border-border",children:(0,s.jsx)("div",{className:"bg-muted py-10 px-10 rounded-xl xl:py-28 xl:px-10 justify-center items-center w-full flex",children:(0,s.jsx)(x.default,{src:"dark"===a?t.image.dark:t.image.light,alt:"".concat(t.title,": ").concat(t.content),width:570,height:730,className:"block",priority:!0,qual
1ity:100})})})]},"telegram-item-".concat(t.id)))},"telegram-accordion"),(0,s.jsx)(o.default,{href:"https://t.me/AIDEN",className:(0,c.L)({variant:"primary",class:"px-4 mt-3 lg:mt-6 py-[10px] w-fit"}),target:"_blank",children:e("Telegram.HowToUse.action")})]})]})},h=()=>{let e=(0,m.useTranslations)(),{theme:t}=(0,l.F)(),[a,i]=(0,r.useState)(""),{CUSTOM_KNOWLEDGE_STEPS:u}=(0,p.M)();return(0,r.useEffect)(()=>{i(null!=t?t:"light")}),(0,s.jsxs)("div",{className:"max-w-7xl mx-auto",children:[(0,s.jsx)("h3",{className:"text-center text-xl font-semibold",children:e("Custom.SubTitle")}),(0,s.jsx)("p",{className:"text-muted-foreground mt-1 lg:mt-4 max-w-[680px] lg:max-w-[940px] text-center mx-auto text-sm lg:text-xl",children:e("Custom.Description")}),(0,s.jsxs)("div",{className:"mt-8",children:[(0,s.jsx)("h3",{className:"text-left text-xl font-semibold",children:e("Custom.CustomChatbot.title")}),(0,s.jsx)(d.fC,{type:"single",defaultValue:u[0].id,collapsible:!0,children:u.map((e,t)=>(0,s.jsxs)(d.ck,{value:e.id,className:"relative",children:[(0,s.jsx)(d.h4,{children:(0,s.jsx)(d.xz,{value:e.id,className:"text-left w-full font-medium text-base md:text-lg xl:text-2xl py-7 md:py-8 xl:py-10 border-b data-[state=open]:border-b-0 border-border group",type:"button",children:(0,s.jsxs)("div",{className:"px-0 md:px-4 xl:px-6",children:[(0,s.jsxs)("div",{className:"flex justify-between items-center group-data-[state=open]:text-primary transition-colors duration-300",children:[t+1,". ",e.title,":"," ",(0,s.jsx)(n.jfD,{className:"text-primary w-6 h-6 transition-transform duration-300 group-data-[state=open]:-rotate-90"})]}),(0,s.jsx)("div",{className:"group-data-[state=open]:mt-3 opacity-0 invisible max-h-0 transition-all duration-300 group-data-[state=open]:max-h-[500px] group-data-[state=open]:opacity-100 group-data-[state=open]:visible",children:(0,s.jsx)("p",{className:"text-muted-foreground text-sm md:text-base xl:text-lg font-medium",children:e.content})})]})},"desktop-telegram-trigger-".concat(e.id))}),(0,s.jsx)(d.VY,{className:"pb-5 border-b border-border",children:(0,s.jsx)("div",{className:"bg-muted py-10 px-10 rounded-xl xl:py-28 xl:px-10 justify-center items-center w-full flex",children:(0,s.jsx)(x.default,{src:"dark"===a?e.image.dark:e.image.light,alt:"".concat(e.title,": ").concat(e.content),width:570,height:730,className:"block",priority:!0,quality:90})})})]},"telegram-item-".concat(e.id)))},"telegram-accordion"),(0,s.jsx)(o.default,{href:"https://t.me/AIDEN",className:(0,c.L)({variant:"primary",class:"px-4 mt-3 lg:mt-6 py-[10
1px] w-fit"}),target:"_blank",children:e("Telegram.HowToUse.action")})]})]})};var b=()=>{let e=(0,m.useTranslations)(),{theme:t}=(0,l.F)(),{DISCORD_STEPS:a}=(0,p.M)(),[i,g]=(0,r.useState)("");(0,r.useEffect)(()=>{g(null!=t?t:"light")});let h=e=>{let{content:t}=e;return(0,s.jsx)("div",{children:(0,s.jsx)(u.M,{content:t})})};return(0,s.jsxs)("section",{className:"max-w-7xl mx-auto mt-2",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("h3",{className:"text-center text-xl font-semibold",children:e("Discord.SubTitle")}),(0,s.jsx)("p",{className:"text-muted-foreground mt-1 lg:mt-4 max-w-[680px] lg:max-w-[940px] text-center mx-auto text-sm lg:text-xl",children:e("Discord.Description")})]}),(0,s.jsx)(d.fC,{type:"single",defaultValue:a[0].id,collapsible:!0,children:a.map((e,t)=>(0,s.jsxs)(d.ck,{value:e.id,className:"relative",children:[(0,s.jsx)(d.h4,{children:(0,s.jsx)(d.xz,{value:e.id,className:"text-left w-full font-medium text-base md:text-lg xl:text-2xl py-7 md:py-8 xl:py-10 border-b data-[state=open]:border-b-0 border-border group",type:"button",children:(0,s.jsxs)("div",{className:"px-0 md:px-4 xl:px-6",children:[(0,s.jsxs)("div",{className:"flex justify-between items-center group-data-[state=open]:dark:text-brand-800 group-data-[state=open]:text-brand-500 transition-colors duration-300",children:[t+1,". ",e.title,":"," ",(0,s.jsx)(n.jfD,{className:"text-primary w-6 h-6 transition-transform duration-300 group-data-[state=open]:-rotate-90"})]}),(0,s.jsx)("div",{className:"group-data-[state=open]:mt-3 opacity-0 invisible max-h-0 transition-all duration-300 group-data-[state=open]:max-h-[500px] group-data-[state=open]:opacity-100 group-data-[state=open]:visible",children:(0,s.jsx)("p",{className:"text-muted-foreground text-sm md:text-base xl:text-lg font-medium",children:(0,s.jsx)(h,{content:e.content},t)})})]})},"desktop-telegram-trigger-".concat(e.id))}),(0,s.jsx)(d.VY,{className:"pb-5 border-b border-border",children:(0,s.jsx)("div",{className:"bg-muted rounded-xl py-10 px-10 xl:py-28 xl:px-10 justify-center items-center w-full flex",children:(0,s.jsx)(x.default,{src:"dark"===i?e.image.dark:e.image.light,alt:"".concat(e.title,": ").concat(e.content),width:570,height:730,className:"block",priority:!0,quality:100})})})]},"telegram-item-".concat(e.id)))},"discord-accordion"),(0,s.jsx)(o.default,{href:"https://discord.com/api/oauth2/authorize?client_id=1146417059580887041&permissions=2147485696&scope=bot",className:(0,c.L)({variant:"primary",class:"px-4 mt-3 lg:mt-6 py-[10
1px] w-fit"}),target:"_blank",children:e("Discord.HowToUse.action")})]})},j=()=>{let e=(0,m.useTranslations)(),{theme:t}=(0,l.F)(),{WEBSITE_STEPS:a}=(0,p.M)(),[i,g]=(0,r.useState)("");(0,r.useEffect)(()=>{g(null!=t?t:"light")});let h=e=>{let{content:t}=e;return(0,s.jsx)("div",{children:(0,s.jsx)(u.M,{content:t})})};return(0,s.jsxs)("section",{className:"max-w-7xl mt-2",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("h3",{className:"text-center text-xl lg:text-xl font-semibold",children:e("Website.SubTitle")}),(0,s.jsx)("p",{className:"text-muted-foreground mt-1 lg:mt-4 max-w-[680px] lg:max-w-[940px] text-center mx-auto text-sm lg:text-xl",children:e("Website.Description")})]}),(0,s.jsx)(d.fC,{type:"single",defaultValue:a[0].id,collapsible:!0,children:a.map((e,t)=>(0,s.jsxs)(d.ck,{value:e.id,className:"relative",children:[(0,s.jsx)(d.h4,{children:(0,s.jsx)(d.xz,{value:e.id,className:"text-left w-full font-medium text-base md:text-lg xl:text-2xl py-7 md:py-8 xl:py-10 border-b data-[state=open]:border-b-0 border-border group",type:"button",children:(0,s.jsxs)("div",{className:"px-0 md:px-4 xl:px-6",children:[(0,s.jsxs)("div",{className:"flex justify-between items-center group-data-[state=open]:dark:text-brand-800 group-data-[state=open]:text-brand-500 transition-colors duration-300",children:[t+1,". ",e.title,":"," ",(0,s.jsx)(n.jfD,{className:"text-primary w-6 h-6 transition-transform duration-300 group-data-[state=open]:-rotate-90"})]}),(0,s.jsx)("div",{className:"group-data-[state=open]:mt-3 opacity-0 invisible max-h-0 transition-all duration-300 group-data-[state=open]:max-h-[500px] group-data-[state=open]:opacity-100 group-data-[state=open]:visible",children:(0,s.jsx)("p",{className:"text-muted-foreground text-sm md:text-base xl:text-lg font-medium",children:(0,s.jsx)(h,{content:e.content},t)})})]})},"desktop-telegram-trigger-".concat(e.id))}),(0,s.jsx)(d.VY,{className:"pb-5 border-b border-border",children:(0,s.jsx)("div",{className:"bg-muted rounded-xl py-10 px-10 xl:py-28 xl:px-10 justify-center items-center w-full flex",children:(0,s.jsx)(x.default,{src:"dark"===i?e.image.dark:e.image.light,alt:"".concat(e.title,": ").concat(e.content),width:570,height:730,className:"block",priority:!0,quality:100})})})]},"telegram-item-".concat(e.id)))},"website-accordion"),(0,s.jsx)(o.default,{href:"https://aiden.id/configure/widget",className:(0,c.L)({variant:"primary",class:"px-4 mt-3 lg:mt-6 py-[10
1px] w-fit"}),target:"_blank",children:e("Website.HowToUse.action")})]})},f=a(3566);let v=()=>{let e=(0,m.useTranslations)(),{theme:t}=(0,l.F)(),[a,i]=(0,r.useState)(""),{CUSTOM_KNOWLEDGE_CHATBOT_STEPS:u}=(0,p.M)();return(0,r.useEffect)(()=>{i(null!=t?t:"light")}),(0,s.jsxs)("div",{className:"max-w-7xl mx-auto mt-16",children:[(0,s.jsx)("h3",{className:"text-left text-xl font-semibold",children:e("Custom.CustomChatbot.SubTitle")}),(0,s.jsxs)("div",{children:[(0,s.jsx)(d.fC,{type:"single",defaultValue:u[0].id,collapsible:!0,children:u.map(e=>(0,s.jsxs)(d.ck,{value:e.id,className:"relative",children:[(0,s.jsx)(d.h4,{children:(0,s.jsx)(d.xz,{value:e.id,className:"text-left w-full font-medium text-base md:text-lg xl:text-2xl py-7 md:py-8 xl:py-10 border-b data-[state=open]:border-b-0 border-border group",type:"button",children:(0,s.jsxs)("div",{className:"px-0 md:px-4 xl:px-6",children:[(0,s.jsxs)("div",{className:"flex justify-between items-center group-data-[state=open]:text-primary transition-colors duration-300",children:[(0,s.jsxs)("div",{className:"flex justify-between flex-row items-center",children:[(0,s.jsx)(f.NNX,{}),(0,s.jsxs)("span",{className:"ml-1",children:[e.title,": "]})]}),(0,s.jsx)(n.jfD,{className:"text-primary w-6 h-6 transition-transform duration-300 group-data-[state=open]:-rotate-90"})]}),(0,s.jsx)("div",{className:"group-data-[state=open]:mt-3 opacity-0 invisible max-h-0 transition-all duration-300 group-data-[state=open]:max-h-[500px] group-data-[state=open]:opacity-100 group-data-[state=open]:visible",children:(0,s.jsx)("p",{className:"text-muted-foreground text-sm md:text-base xl:text-lg font-medium",children:e.content})})]})},"desktop-telegram-trigger-".concat(e.id))}),(0,s.jsx)(d.VY,{className:"pb-5 border-b border-border",children:(0,s.jsx)("div",{className:"bg-muted py-10 px-10 rounded-xl xl:py-28 xl:px-10 justify-center items-center w-full flex",children:(0,s.jsx)(x.default,{src:"dark"===a?e.image.dark:e.image.light,alt:"".concat(e.title,": ").concat(e.content),width:570,height:730,className:"block",priority:!0,quality:90})})})]},"telegram-item-".concat(e.id)))},"telegram-accordion"),(0,s.jsx)(o.default,{href:"https://t.me/AIDEN",className:(0,c.L)({variant:"primary",class:"px-4 mt-3 lg:mt-6 py-[10
1px] w-fit"}),target:"_blank",children:e("Telegram.HowToUse.action")})]})]})};var y=a(75620),N=a(15004);let w=e=>{let{icon:t,id:a}=e;return(0,s.jsx)(i.xz,{value:"tab".concat(a),className:"group text-sm text-gray-600 font-medium data-[state=active]:bg-brand-100 border-5 data-[state=active]:text-brand-800 data-[state=active]:dark:text-brand-800 hover:text-brand-800 dark:hover:text-brand-800 dark:text-white/80 relative p-3 rounded-md",children:(0,s.jsx)("div",{className:"flex px-2 items-center",children:(0,s.jsx)("span",{className:"text-xl mx-2",children:t})})})},k=()=>(0,s.jsx)("section",{className:"pb-16 lg:py-20 px-4",children:(0,s.jsx)("div",{children:(0,s.jsxs)(i.fC,{className:"my-2 flex flex-col justify-center items-center gap-8",defaultValue:"tab1",children:[(0,s.jsx)("div",{className:"max-w-7xl md:hidden block",children:(0,s.jsx)("div",{className:"flex justify-center overflow-x-scroll scroll-container whitespace-nowrap",children:(0,s.jsxs)(i.aV,{"aria-label":"View your tabs",className:"w-100 p-2 border border-3 border-border rounded-md text-lg bg-muted whitespace-nowrap",children:[(0,s.jsx)(w,{id:1,icon:(0,s.jsx)(N.iEj,{})}),(0,s.jsx)(w,{id:2,icon:(0,s.jsx)(y.fx4,{})}),(0,s.jsx)(w,{id:3,icon:(0,s.jsx)(n.nwJ,{})}),(0,s.jsx)(w,{id:4,icon:(0,s.jsx)(n.d26,{})})]})})}),(0,s.jsxs)("div",{className:"lg:hidden block",children:[(0,s.jsx)(i.VY,{value:"tab1",children:(0,s.jsx)(g,{})}),(0,s.jsx)(i.VY,{value:"tab2",children:(0,s.jsx)(b,{})}),(0,s.jsx)(i.VY,{value:"tab3",children:(0,s.jsx)(j,{})}),(0,s.jsx)(i.VY,{value:"tab4",children:(0,s.jsxs)("div",{children:[(0,s.jsx)(h,{}),(0,s.jsx)(v,{})]})})]})]})})})},1673:function(e,t,a){"use strict";a.d(t,{M:function(){return m}});var s=a(83890),r=a(18513),i=a(58496),l=a(34647),n=a(23320),d=a(56060),c=a(67204),o=a(22426),x=a(56788);let m=e=>{let{content:t}=e,a=null==t?void 0:t.split(/(https?:\/\/[^\s]+)/);return(0,s.jsx)("p",{children:null==a?void 0:a.map((e,t)=>RegExp(/(https?:\/\/[^\s]+)/).exec(e)?(0,s.jsx)(x.default,{href:e,target:"_blank",rel:"noopener noreferrer",className:"text-primary underline",children:e},"link-".concat(t,"-").concat(e)):(0,s.jsx)("span",{children:e},"text-".concat(t,"-").concat(e)))})};t.Z=()=>{let e=(0,r.useTranslations)(),{TELEGRAM_STEPS:t}=(0,o.M)(),[a,x]=(0,i.useState)(t[0].id),{theme:p}=(0,c.F)(),[u,g]=(0,i.useState)("");(0,i.useEffect)(()=>{g(null!=p?p:"light")});let h=e=>{let{content:t}=e;return(0,s.jsx)("div",{children:(0,s.jsx)(m,{content:t})})};return(0,s.jsx)("section",{className:"py-16 md:py-6 px-4",children:(0,s.jsxs)("div",{className:"max-w-7xl mx-auto",children:[(0,s.jsx)("h3",{className:"text-center text-3xl lg:text-4xl font-semibold",children:e("Telegram.SubTitle")}),(0,s.jsx)("p",{className:"text-muted-foreground mt-12 lg:mt-4 max-w-[680px] lg:max-w-[940px] text-center mx-auto text-lg lg:text-xl",children:e("Telegram.Description")}),(0,s.jsx)("div",{className:"mt-14 xl:mt-24",children:(0,s.jsx)(n.fC,{className:"mt-16",defaultValue:t[0].id,onValueChange:x,children:(0,s.jsxs)("div",{className:"grid grid-cols-2 gap-8",children:[(0,s.jsx)("div",{className:"",children:(0,s.jsx)(n.aV,{className:"flex flex-col",children:t.map((t,a)=>(0,s.jsx)(n.xz,{value:t.id,className:"text-left font-medium text-xl py-7 ".concat(2===a?"":"border-b"," border-border group"),type:"button",children:(0,s.jsxs)("div",{className:"px-6",children:[3===a&&(0,s.jsx)("p",{className:"py-4 text-left font-medium text-xl",children:(0,s.jsx)("span",{className:"text-primary",children:e("integration.telegram.dividerText")})}),(0,s.jsxs)("div",{className:"flex justify-between items-center group-data-[state=active]:dark:text-brand-800 group-data-[state=active]:text-brand-500 transition-colors duration-300",children:[a+1,". ",t.title,":"," ",(0,s.jsx)(l.jfD,{className:"text-primary w-6 h-6 transition-transform duration-300 group-data-[state=active]:-rotate-90"})]}),(0,s.jsx)("div",{className:"group-data-[state=active]:mt-3 opacity-0 invisible max-h-0 transition-all duration-300 group-data-[state=active]:max-h-[500px] group-data-[state=active]:opacity-100 group-data-[state=active]:visible",children:(0,s.jsx)("div",{className:"text-muted-foreground text-lg font-medium",children:(0,s.jsx)(h,{content:t.content},a)})})]})},"desktop-telegram-trigger-".concat(t.id)))},"tab-list-desktop-telegram")}),t.map(e=>(0,s.jsx)(n.VY,{value:a,className:"bg-muted rounded-xl py-16 px-10 justify-center items-center ".concat(a===e.id?"lg:flex":"lg:hidden"," hidden"),children:(0,s.jsx)(d.default,{src:"dark"===u?e.image.dark:e.image.light,alt:"".concat(e.title,": ").concat(e.content),width:400,height:630,className:"block max-h-[600px] object-contain w-full",priority:!0,qual
1ity:100})},"desktop-telegram-content-".concat(e.id)))]})})})]})})}},22426:function(e,t,a){"use strict";a.d(t,{M:function(){return r}});var s=a(18513);let r=()=>{let e=(0,s.useTranslations)(),t=e=>Array.from({length:e},(e,t)=>t+1),a=t(8).map(t=>({id:"telegram-step-".concat(t),title:e("integration.telegram.step".concat(t,".title")),content:e("integration.telegram.step".concat(t,".description")),image:{light:"/images/integration/telegram/groups/step-".concat(t,"-light.webp"),dark:"/images/integration/telegram/groups/step-".concat(t,"-dark.webp")}})),r=t(6).map(t=>({id:"discord-step-".concat(t),title:e("integration.discord.step".concat(t,".title")),content:e("integration.discord.step".concat(t,".description")),image:{light:"/images/integration/discord/step-".concat(t,"-light.webp"),dark:"/images/integration/discord/step-".concat(t,"-dark.webp")}}));return{TELEGRAM_STEPS:a,DISCORD_STEPS:r,WEBSITE_STEPS:t(5).map(t=>({id:"discord-step-".concat(t),title:e("integration.website.step".concat(t,".title")),content:e("integration.website.step".concat(t,".description")),image:{light:"/images/integration/website/step-".concat(t,"-light.webp"),dark:"/images/integration/website/step-".concat(t,"-dark.webp")}})),CUSTOM_KNOWLEDGE_STEPS:t(4).map(t=>({id:"discord-step-".concat(t),title:e("integration.customknowledge.step".concat(t,".title")),content:e("integration.customknowledge.step".concat(t,".description")),image:{light:"/images/integration/custom/step-".concat(t,"-light.webp"),dark:"/images/integration/custom/step-".concat(t,"-dark.webp")}})),CUSTOM_KNOWLEDGE_CHATBOT_STEPS:t(3).map(t=>({id:"discord-step-".concat(t),title:e("integration.customknowledgeChatbot.step".concat(t,".title")),content:e("integration.customknowledgeChatbot.step".concat(t,".description")),image:{light:"/images/integration/custom/chatbot/step-".concat(t,"-light.webp"),dark:"/images/integration/custom/chatbot/step-".concat(t,"-dark.webp")}}))}}},78297:function(e,t,a){"use strict";a.d(t,{L:function(){return s}});let s=(0,a(26727).tv)({base:["inline-flex","items-center","justify-center","gap-2","font-medium","border","rounded-md","transition-colors","ease-in-out","disabled:opacity-50","disabled:cursor-not-allowed","cursor-pointer"],variants:{variant:{primary:"bg-primary text-white border-primary hover:dark:border-primary hover:bg-brand-primary",secondary:"border-gray-200 hover:bg-gray-50 dark:text-white dark:border-gray-700 dark:hover:bg-gray-600",link:"text-brand-500 inline-block underline border-none",navLink:"text-gray-800 dark:text-white/80 border-none",menuItem:"w-full flex justify-start rounded-none gap-2 items-center hover:bg-gray-100 border-none dark:hover:bg-gray-900 text-gray-600 dark:text-gray-200 hover:outline-none focus:bg-gray-100 dark:focus:bg-gray-900"},size:{unset:"",sm:"text-sm py-0.5 px-2",md:"text-base py-1.5 px-4",lg:"text-lg py-3 px-6"}},compoundVariants:[{variant:"menuItem",size:"sm",class:"p-1 px-2"},{variant:"menuItem",size:"md",class:"p-2 px-4"},{variant:"menuItem",size:"lg",class:"p-4 px-6"}],defaultVariants:{variant:"secondary",size:"md"}})}},function(e){e.O(0,[188,309,548,758,657,89,999,536,95,942,649,945,744],function(){return e(e.s=55358)}),_N_E=e.O()}]);
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.