1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[203],{89330:function(e,r,a){Promise.resolve().then(a.bind(a,11418)),Promise.resolve().then(a.t.bind(a,24663,23)),Promise.resolve().then(a.t.bind(a,69498,23)),Promise.resolve().then(a.bind(a,58075)),Promise.resolve().then(a.bind(a,46480)),Promise.resolve().then(a.bind(a,91233)),Promise.resolve().then(a.bind(a,96344)),Promise.resolve().then(a.bind(a,27888)),Promise.resolve().then(a.bind(a,35723))},46480:function(e,r,a){"use strict";a.d(r,{AnimationWrapper:function(){return s}});var t=a(83890),n=a(66767);function s(e){let{children:r,...a}=e;return(0,t.jsx)(n.m.div,{...a,children:r})}},91233:function(e,r,a){"use strict";a.d(r,{default:function(){return g}});var t=a(83890),n=a(67204),s=a(50373);a(58496);var l=a(1215),i=()=>{let{theme:e}=(0,n.F)();return(0,t.jsx)(l.x7,{richColors:!0,closeButton:!0,theme:e||"system"})},o=a(9629),d=a(50241),c=a(62555);let x=(0,o.D)({clientPrefix:"NEXT_PUBLIC_",server:{FRAXSCAN_ADDRESS:d.z.string(),IQ_GATEWAY_KEY:d.z.string(),IQ_GATEWAY_URL:d.z.string()},client:{NEXT_PUBLIC_POSTHOG_KEY:d.z.string()},runtimeEnv:{FRAXSCAN_ADDRESS:c.env.FRAXSCAN_ADDRESS,NEXT_PUBLIC_POSTHOG_KEY:"phc_r7x43K9NrYPrdscMCmY8GpxmzEqCEqE7rlVOnskQCJW",IQ_GATEWAY_KEY:c.env.IQ_GATEWAY_KEY,IQ_GATEWAY_URL:c.env.IQ_GATEWAY_URL}});var h=a(59634),m=a(4194);function u(e){let{children:r}=e;return(0,t.jsx)(m.zf,{client:h.ZP,children:r})}h.ZP.init(x.NEXT_PUBLIC_POSTHOG_KEY,{api_host:"/ingest",ui_host:"https://us.posthog.com"});var b=a(44797),f=a(63250),g=e=>{let{children:r}=e;return(0,t.jsxs)(n.f,{attribute:"class",defaultTheme:"dark",children:[(0,t.jsx)(s.Next13ProgressBar,{color:"#de64a3",options:{showSpinner:!1}}),(0,t.jsx)(u,{children:(0,t.jsx)(b.X,{features:f.H,strict:!0,children:r})}),(0,t.jsx)(i,{})]})}},96344:function(e,r,a){"use strict";var t=a(83890),n=a(13901),s=a.n(n),l=a(7418),i=a.n(l),o=a(88779);r.default=()=>((0,o.useServerInsertedHTML)(()=>(0,t.jsx)("style",{dangerouslySetInnerHTML:{__html:"\n :root {\n --font-family-montserrat: ".concat(s().style.fontFamily,", 'sans-serif';\n --font-family-darker-grotesque: ").concat(i().style.fontFamily,";\n }\n ")}},"font")),null)},27888:function(e,r,a){"use strict";var t=a(83890);a(58496);var n=a(18513),s=a(56788);r.default=()=>{let e=(0,n.useTranslations)("Homepage.Footer"),r=new Date().getFullYear(),a=e.rich("privacyPolicy",{year:r,link:e=>(0,t.jsx)("a",{href:"https://iq.wiki/",target:"_blank",className:"hover:text-brand-500 dark:hover:text-brand-800 hover:underline",rel:"noreferrer",children:e}),highlight:e=>(0,t.jsx)("a",{href:"https://braindao.org/",target:"_blank",className:"hover:text-brand-500 dark:hover:text-brand-800 hover:underline",rel:"noreferrer",children:e})});return(0,t.jsxs)("div",{className:"lg:mt-5 flex flex-col justify-center items-center gap-4 text-center text-xs",children:[(0,t.jsx)("div",{className:"flex items-center flex-col md:flex-row gap-1 lg:text-sm",children:(0,t.jsxs)("p",{className:"font-medium",children:["\xa9",(0,t.jsx)("span",{children:a})]})}),(0,t.jsxs)("div",{className:"flex gap-2 mx-auto",children:[(0,t.jsx)(s.default,{href:"/legal/terms-and-conditions",className:"hover:text-brand-500 dark:hover:text-brand-800 hover:underline",children:e("termsAndCondition")}),(0,t.jsx)(s.default,{href:"/legal/privacy-policy",className:"hover:text-brand-500 dark:hover:text-brand-800 hover:underline",children:e("privacyPolicyText")})]})]})}},35723:function(e,r,a){"use strict";a.d(r,{default:function(){return O}});var t=a(83890),n=a(78297),s=a(18513),l=a(56788),i=e=>{let{icon:r,onClick:a,label:n,className:s}=e;return(0,t.jsx)("button",{type:"button","aria-label":n,onClick:a,className:s,children:r})},o=a(1066),d=a(58496),c=a(34647);let x=[{href:"/",labelKey:"Homepage.Navbar.home",icon:c.KMb},{href:"/about",labelKey:"Homepage.Navbar.AboutUs",icon:c.KMb},{href:"/bot-integration",labelKey:"Homepage.Navbar.integrations",icon:c.KMb},{href:"/logs",labelKey:"Homepage.Navbar.logs",icon:c.KMb}];var h=a(50241);let m=[{locale:"en",default:!0,name:"English",currency:"usd",localization:"en-US"},{locale:"kr",name:"Korean",currency:"krw",localization:"ko-KR"},{locale:"zh",name:"Chinese",currency:"cny",localization:"zh-CN"},{locale:"ja",name:"Japanese",currency:"jpy",localization:"ja-JP"}
1,{locale:"ko",name:"Korean",currency:"krw",localization:"ko-KR",isHidden:!0}],u=[m[0].locale,...m.slice(1).map(e=>e.locale)];h.z.enum(u);var b=a(67204),f=()=>{let{theme:e,setTheme:r}=(0,b.F)(),a="dark"===e;return(0,t.jsxs)("button",{type:"button",onClick:()=>{a?r("light"):r("dark")},className:(0,n.L)({variant:"menuItem",class:"!p-4 !justify-between"}),children:[(0,t.jsx)("div",{className:"flex items-center gap-2",children:(0,t.jsxs)("div",{className:"flex flex-row gap-2",children:[(0,t.jsx)(c.BUV,{size:24}),(0,t.jsx)("span",{className:"flex items-center",children:"Dark Mode"})]})}),(0,t.jsx)("span",{className:"ml-auto w-10 h-5 bg-gray-300 rounded-full flex items-center px-1 dark:bg-brand-500",children:(0,t.jsx)("span",{className:"w-3 h-3 rounded-full bg-white block transition-all duration-300 ease-in-out dark:translate-x-5"})})]})};let g=m.map(e=>({locale:e.locale,..."default"in e&&{default:e.default},name:e.name,currency:e.currency})),p=e=>{let{item:r,onClick:a}=e,l=(0,s.useTranslations)();return(0,t.jsxs)("button",{type:"button",className:(0,n.L)({variant:"menuItem",class:"!p-4 !justify-between"}),onClick:()=>a(r),children:[(0,t.jsxs)("div",{className:"flex gap-2 items-center",children:[r.icon&&(0,t.jsx)(r.icon,{size:20,className:"text-gray-800 dark:text-white/90"}),(0,t.jsx)("span",{children:l("".concat(r.labelKey))})]}),(0,t.jsx)(c.jfD,{className:"w-6 h-6 text-gray-800 dark:text-white/90"})]},r.labelKey)};var y=e=>{let{handleMenuClick:r,closeMobileMenu:a}=e,i=(0,s.useTranslations)();return(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:"flex flex-col justify-start text-left",children:x.map(e=>(0,t.jsx)(l.default,{onClick:a,className:(0,n.L)({variant:"menuItem",class:"!p-4 !justify-between"}),href:e.href,children:i("".concat(e.labelKey))},"".concat(e.href,"-").concat(e.labelKey)))}),(0,t.jsx)("div",{className:"w-full h-1 border-t border-gray-200 dark:border-gray-700"}),(0,t.jsx)(p,{item:{labelKey:"MobileNav.languageSelection",subItem:g},onClick:r}),(0,t.jsx)(f,{})]})};let{Link:v,redirect:j,usePathname:k,useRouter:N}=(0,a(1722).iV)({locales:m.map(e=>e.locale),localePrefix:{mode:"as-needed",prefixes:{ko:"/kr"}}}),w=e=>Object.hasOwn(e,"locale");var _=e=>{var r;let{currentMenu:a,setShowSubNav:l}=e;if(!a)return null;let i=k(),o=(0,s.useTranslations)();return(0,t.jsxs)("div",{className:"overflow-y-scroll max-h-[90dvh]",children:[(0,t.jsxs)("button",{type:"button",className:"flex gap-2 w-full cursor-pointer dark:text-white/80 text-gray-600 items-center px-2.5 py-4 font-semibold bg-gray-100 dark:bg-gray-700",onClick:()=>l(!1),children:[(0,t.jsx)(c.jW7,{className:"w-6 h-6 dark:text-white/80 text-gray-600"}),a.icon&&(0,t.jsx)(a.icon,{size:24,className:"dark:text-white/80 text-gray-600"}),o("".concat(a.labelKey))]}),(0,t.jsx)("div",{children:null===(r=a.subItem)||void 0===r?void 0:r.map((e,r)=>(0,t.jsx)(d.Fragment,{children:w(e)?(0,t.jsx)(v,{locale:e.locale,href:i,className:(0,n.L)({variant:"menuItem",class:"!p-4 !justify-between"}),children:e.name}):(0,t.jsxs)(v,{className:(0,n.L)({variant:"menuItem",class:"!p-4"}),href:e.href,target:"_blank",rel:"nofollow",children:[(0,t.jsx)(e.icon,{className:"w-6 h-6"}),e.name]},"".concat(e.href,"-").concat(r))},w(e)?e.locale:e.href))})]})},z=e=>{let{closeMobileMenu:r}=e,a=(0,s.useTranslations)("Homepage"),[i,o]=(0,d.useState)(null),[c,x]=(0,d.useState)(!1);return(0,t.jsx)("div",{className:"overflow-y-scroll max-h-[90dvh] bg-white dark:bg-gray-800",children:c?(0,t.jsx)(_,{currentMenu:i,setShowSubNav:x}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"pt-4 pb-2",children:(0,t.jsx)(y,{handleMenuClick:e=>{(null==e?void 0:e.subItem)&&(o(e),x(!0))},closeMobileMenu:r})}),(0,t.jsx)("div",{className:"pt-2 md:hidden px-4",children:(0,t.jsx)(l.default,{href:"https://chat.aiden.id",target:"_blank",rel:"noopener noreferrer",className:(0,n.L)({variant:"primary",class:"w-full"}),children:a("launch")})})]})})},C=a(56060),E=()=>{let e=(0,s.useTranslations)();return(0,t.jsxs)("a",{href:"/",className:"flex items-center",children:[(0,t.jsx)(C.default,{priority:!0,src:"/images/aiden-logo.png",className:"w-10 mr-1",width:89,height:32,alt:"Braindao GPT logo"}),(0,t.jsxs)("div",{className:"flex gap-2 justify-center items-center",children:[(0,t.jsx)("h1",{className:"text-base 2xl:text-lg font-bold text-center hover:no-underline dark:text-white/90 text-gray-800",children:e("headerTitle")}),(0,t.jsx)("div",{className:"flex justify-center align-super text-gray-800 dark:text-white/90 bg-gray-100 dark:bg-gray-700 px-1 -translate-y-1 rounded font-light text-[10px] md:text-xs border border-gray-200 dark:border-gray-700",children:"Beta"})]})]})},I=()=>{let[e,r]=(0,d.useState)(!1);return(0,t.jsx)("div",{className:"lg:hidden",children:(0,t.jsxs)(o.fC,{modal:!1,open:e,onOpenChange:r,children:[(0,t.jsx)("button",{type:"button",onClick:()=>r(!e),title:"Menu Icon","aria-label":"Menu Icon",className:"inline-flex justify-center items-center gap-x-1.5 rounded-md bg-transparent px-3 py-2 text-sm font-semibold text-gray-800 shadow-sm border border-gray-200 dark:border-gray-700 dark:text-white/90",children:(0,t.jsx)(c.B4m,{size:18})}),(0,t.jsx)(o.aV,{className:"fixed z-[1] inset-0 bg-black opacity-30",style:{pointerEvents:"all"}}),(0,t.jsxs)(o.VY,{className:"z-10 h-screen absolute w-screen top-0 inset-0 bg-white dark:bg-gray-800 -ml-4 -mt-7 md:-ml-8",style:{pointerEvents:"all"},children:[(0,t.jsxs)("div",{className:"flex justify-between p-4 border-b border-gray-200 dark:border-gray-700",children:[(0,t.jsx)(E,{}),(0,t.jsx)(o.x8,{asChild:!0,children:(0,t.jsx)(i,{icon:(0,t.jsx)(c.eSQ,{className:"w-6 h-6 dark:text-white"})})})]}),(0,t.jsx)(z,{closeMobileMenu:()=>{r(!1)}})]})]})})},T=a(88779),P=()=>{let e=(0,T.usePathname)(),r=(0,s.useTranslations)();return(0,t.jsx)("div",{className:"hidden xl:flex gap-5 items-center",children:x.map(a=>(0,t.jsx)(d.Fragment,{children:(0,t.jsx)(v,{href:a.href,className:(0,n.L)({variant:"navLink",size:"unset",class:"p-0 capitalize text-sm lg:text-base ".concat(e.endsWith(a.href)?"text-brand-500 dark:text-brand-800":""," hover:text-brand-500 dark:hover:text-brand-800")}),children:r("".concat(a.labelKey))},a.href)},a.href))})},K=a(63456);let A=e=>
1!("isHidden"in e&&e.isHidden);var S=()=>{var e,r,a,l;let i=(0,s.useLocale)(),o=k(),d=m.filter(A),x=null!==(l=null!==(a=null===(e=d.find(e=>e.locale===i))||void 0===e?void 0:e.name)&&void 0!==a?a:null===(r=m.find(e=>e.locale===i))||void 0===r?void 0:r.name)&&void 0!==l?l:i.toUpperCase();return(0,t.jsx)(K.fC,{children:(0,t.jsxs)(K.v2,{children:[(0,t.jsxs)(K.xz,{type:"button",className:"inline-flex w-full justify-center items-center gap-x-1.5 rounded-md bg-transparent px-3 py-2 text-sm font-semibold text-gray-800 shadow-sm border border-gray-200 dark:border-gray-700 hover:bg-gray-50 dark:hover:bg-gray-700 dark:text-white/90",id:"menu-button",children:[x,(0,t.jsx)(c.ZXJ,{className:"w-4 h-4"})]}),(0,t.jsx)(K.h_,{children:(0,t.jsx)(K.VY,{align:"start",side:"bottom",sideOffset:10,className:"z-50 w-56 mr-10 rounded-md bg-white shadow-lg dark:bg-gray-800 border border-gray-200 dark:border-gray-700 hover:outline-none py-2",children:d.map(e=>(0,t.jsx)(K.ck,{className:"hover:outline-none",children:(0,t.jsx)(v,{className:(0,n.L)({variant:"menuItem"}),locale:e.locale,href:o,children:e.name})},e.locale))})})]})})},L=a(87942),Y=()=>{let[e,r]=(0,d.useState)(!1);return(0,t.jsx)("div",{children:(0,t.jsx)(K.fC,{children:(0,t.jsxs)(K.v2,{children:[(0,t.jsx)(K.xz,{asChild:!0,onClick:()=>r(!0),className:"cursor-pointer border-none hover:bg-none px-3 pt-1","data-ph-capture-attribute-host-info":"iq_wiki",children:(0,t.jsx)("div",{className:"flex flex-row items-center gap-2 py-1",children:(0,t.jsx)(C.default,{src:"/images/GetIQ.svg",alt:"IQ Logo",width:38,height:38})})}),e&&(0,t.jsx)(K.h_,{children:(0,t.jsx)(K.VY,{align:"end",side:"bottom",sideOffset:20,alignOffset:-70,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",children:(0,t.jsx)("div",{className:"px-4 lg:px-6 py-6",children:(0,t.jsx)(L.p,{onClose:()=>{r(!1)}})})})})]})})})},M=a(48308),H=e=>{let{className:r}=e,{theme:a,setTheme:n}=(0,b.F)(),s="dark"===a;return(0,t.jsx)("button",{type:"button",className:(0,M.cn)("flex cursor-pointer justify-center items-center rounded-md bg-transparent p-2 border dark:border-gray-700 border-gray-200 h-10 w-10",r),onClick:()=>{s?n("light"):n("dark")},"aria-label":"Theme Switcher",children:s?(0,t.jsx)(c.RNE,{size:24}):(0,t.jsx)(c.BUV,{size:24})})};function O(){let e=(0,s.useTranslations)("Homepage");return(0,t.jsx)("header",{className:"self-center fixed w-full inset-x-0 top-6 z-50 px-4 lg:px-10 xl:px-0 mx-auto max-w-[1218px]",children:(0,t.jsx)("div",{className:"bg-white/40 dark:bg-gray800/30 backdrop-filter backdrop-blur-sm px-4 border dark:border-alpha-400 border-gray300 rounded-xl",children:(0,t.jsxs)("nav",{className:"flex flex-row justify-between items-center py-3",children:[(0,t.jsxs)("div",{className:"flex flex-row gap-20 items-center",children:[(0,t.jsx)(E,{}),(0,t.jsx)(P,{})]}),(0,t.jsxs)("div",{className:"flex flex-row gap-2 items-center",children:[(0,t.jsx)("div",{className:"hidden lg:block",children:(0,t.jsx)(S,{})}),(0,t.jsx)(Y,{}),(0,t.jsx)(l.default,{href:"https://chat.aiden.id",target:"_blank",rel:"noopener noreferrer",className:(0,n.L)({variant:"primary",class:"hidden md:block"}),children:e("launch")}),(0,t.jsx)(H,{className:"md:flex hidden"}),(0,t.jsx)(I,{})]})]})})})}},78297:function(e,r,a){"use strict";a.d(r,{L:function(){return t}});let t=(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"}})},48308:function(e,r,a){"use strict";a.d(r,{cn:function(){return s}});var t=a(32675),n=a(35616);function s(){for(var e=arguments.length,r=Array(e),a=0;a<e;a++)r[a]=arguments[a];return(0,n.m)((0,t.W)(r))}}},function(e){e.O(0,[159,188,309,548,89,999,536,152,989,30,32,942,649,945,744],function(){return e(e.s=89330)}),_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.