1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[61],{28493:function(e,t,r){Promise.resolve().then(r.bind(r,11418)),Promise.resolve().then(r.t.bind(r,24663,23)),Promise.resolve().then(r.t.bind(r,69498,23)),Promise.resolve().then(r.bind(r,46480)),Promise.resolve().then(r.bind(r,34744)),Promise.resolve().then(r.bind(r,5404)),Promise.resolve().then(r.bind(r,22043)),Promise.resolve().then(r.bind(r,84373)),Promise.resolve().then(r.bind(r,98882)),Promise.resolve().then(r.bind(r,413)),Promise.resolve().then(r.bind(r,24693)),Promise.resolve().then(r.bind(r,93182)),Promise.resolve().then(r.bind(r,26851)),Promise.resolve().then(r.bind(r,91131)),Promise.resolve().then(r.bind(r,91652)),Promise.resolve().then(r.bind(r,85695)),Promise.resolve().then(r.bind(r,4586)),Promise.resolve().then(r.bind(r,49632))},46480:function(e,t,r){"use strict";r.d(t,{AnimationWrapper:function(){return a}});var s=r(83890),l=r(66767);function a(e){let{children:t,...r}=e;return(0,s.jsx)(l.m.div,{...r,children:t})}},6548:function(e,t,r){"use strict";var s=r(83890),l=r(58496),a=r(46480);let i=(0,l.memo)(e=>{let{children:t,className:r,delay:l}=e;return(0,s.jsx)(a.AnimationWrapper,{initial:{opacity:0,x:"-10vw"},whileInView:{x:0,opacity:1,transition:{type:"tween",duration:.8,delay:l||.2}},viewport:{once:!0},className:"".concat(r),children:t})});t.Z=i},82744:function(e,t,r){"use strict";var s=r(83890),l=r(58496),a=r(46480);let i=(0,l.memo)(e=>{let{children:t,className:r,delay:l}=e;return(0,s.jsx)(a.AnimationWrapper,{initial:{opacity:.5,x:"10vw"},whileInView:{x:0,opacity:1,transition:{type:"tween",duration:.8,delay:l||.2}},className:"".concat(r),viewport:{once:!0},children:t})});t.Z=i},4112:function(e,t,r){"use strict";r.d(t,{Z:function(){return x}});var s=r(83890),l=r(58496),a=r(56788),i=r(34154),n=r(63456),o=r(87942),c=r(98752),d=r(18513);function x(e){let{isVisible:t}=e,[r,x]=(0,l.useState)(!1),u=(0,d.useTranslations)("Homepage.Footer"),f=c.l6.slice(0,3),m=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:u("getIq")}),(0,s.jsxs)("div",{className:"flex items-center space-x-2 flex-shrink-0",children:[f.map(e=>{let t=e.logo;return(0,s.jsx)(a.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"}),m.map(e=>{let t=e.logo;return(0,s.jsx)(a.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)(i.Z,{size:16,className:"text-primary w-6 h-6"})})}),r&&(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)(o.p,{onClose:()=>{x(!1)}})})})]})})]})})}):null}},34744:function(e,t,r){"use strict";r.d(t,{default:function(){return f}});var s=r(83890),l=r(67204),a=r(56060),i=r(56788),n=r(58496),o=r(34647),c=r(6548),d=r(82744),x=r(18513),u=r(53117);function f(){let{theme:e}=(0,l.F)(),t=(0,x.useTranslations)("Homepage.CustomKnowledge"),[r,f]=(0,n.use
1State)("");return(0,n.useEffect)(()=>{f(null!=e?e:"light")}),(0,s.jsx)("div",{id:"custom-knowledge",className:"lg:py-24 py-14 overflow-hidden",children:(0,s.jsxs)("div",{className:"max-w-[1218px] mx-auto px-4 lg:px-10 xl:px-0 flex flex-col gap-2",children:[(0,s.jsx)(c.Z,{children:(0,s.jsxs)("div",{className:"relative bg-gray-50 dark:bg-gray-700/40 px-2.5 h-8 flex items-center justify-center rounded-md text-sm w-fit border border-border",children:[t("Badge"),(0,s.jsx)(u.g,{size:50,duration:5,delay:4,colorFrom:"#FFFFFF",colorTo:"rgb(75 85 99 / 0.5)"})]})}),(0,s.jsx)(c.Z,{children:(0,s.jsx)("h1",{className:"lg:text-4xl 2xl:text-6xl text-3xl font-bold font-darker-grotesque",children:t("title")})}),(0,s.jsxs)("div",{className:"flex lg:flex-row flex-col xl:gap-10 gap-8 mt-2",children:[(0,s.jsx)(c.Z,{children:(0,s.jsxs)("div",{className:"flex flex-col gap-5 flex-1",children:[(0,s.jsx)("p",{className:"xl:text-lg text-base text-muted-foreground",children:t("subTitle")}),(0,s.jsxs)(i.default,{href:"https://learn.iq.wiki/iq/iq/iq-gpt/custom-knowledge","aria-label":"custom knowledge",target:"_blank",rel:"noopener noreferrer",className:"flex flex-row gap-3 items-center text-sm lg:text-base text-primary font-medium rounded-lg group w-fit",children:[t("learnMore"),(0,s.jsx)("span",{className:"sr-only",children:"about custom knowledge"}),(0,s.jsx)(o.nzV,{className:"w-5 h-5 group-hover:translate-x-2 duration-300 transition-all ease-linear"})]})]})}),(0,s.jsxs)(d.Z,{className:"lg:max-w-2xl xl:max-w-3xl 2xl:max-w-5xl grid grid-cols-2 gap-2 relative rounded-2xl p-1",children:[(0,s.jsx)(a.default,{src:"dark"===r?"/images/custom/ck-dark-1.png":"/images/custom/ck-1.png",alt:"Custom Image",width:1200,height:1200}),(0,s.jsx)(a.default,{src:"dark"===r?"/images/custom/ck-dark-2.png":"/images/custom/ck-2.png",alt:"Custom Image",width:1200,height:1200}),(0,s.jsx)(u.g,{size:250,duration:12,delay:9})]})]})]})})}},5404:function(e,t,r){"use strict";r.d(t,{default:function(){return I}});var s=r(83890),l=r(18491),a=r(58496),i=r(56788),n=r(34647),o=r(56060),c=r(18513),d=r(53117),x=r(78297),u=()=>{let e=(0,c.useTranslations)("Homepage");return(0,s.jsxs)("div",{className:"lg:mt-36 2xl:mt-44 mt-28 z-10",children:[(0,s.jsx)("div",{children:(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsxs)(i.default,{href:"https://iq.wiki/",target:"_blank",rel:"noopener noreferrer","data-ph-capture-attribute-host-info":"iq_wiki",className:"relative flex gap-2 rounded-lg px-3 md:text-base text-xs py-1 border dark:border-gray-700 bg-gray-50 dark:bg-gray-700/40 w-fit flex-wrap",children:[e.rich("Hero.badge",{iq:e=>(0,s.jsx)("span",{children:e}),logo:()=>(0,s.jsx)(o.default,{src:"/images/iq-logo.svg",alt:"IQ Logo",width:20,height:20})}),(0,s.jsx)(d.g,{size:50,duration:15,delay:34,colorFrom:"#FFFFFF",colorTo:"rgb(75 85 99 / 0.5)"})]}),(0,s.jsx)("p",{className:"2xl:text-8xl xl:text-6xl lg:text-[76px] md:text-8xl text-4xl md:leading-none xl:leading-tight 2xl:leading-none font-bold md:max-w-2xl xl:max-w-4xl font-darker-grotesque",children:e("Hero.title")})]})}),(0,s.jsxs)("div",{className:"space-y-8 mt-8",children:[(0,s.jsx)("p",{className:"text-lg leading-normal text-muted-foreground 2xl:leading-relaxed max-w-2xl",children:e("Hero.description")}),(0,s.jsxs)(i.default,{href:"https://chat.aiden.id",target:"_blank",rel:"noopener noreferrer",className:(0,x.L)({variant:"primary",size:"lg",class:"flex group items-center w-fit"}),children:[e("launch"),(0,s.jsx)(n.nzV,{className:"w-5 h-5 group-hover:translate-x-2 duration-300 transition-all ease-linear"})]})]})]})},f=r(98752),m=r(46015),g=r(48308);function h(e){let{iqStats:t}=e,r=(0,c.useTranslations)("Homepage.IQStats"),l=m.formatNumber(t.price,4),a=t.price_change_percentage_change_24h;return(0,s.jsxs)(i.default,{href:"https://iq.braindao.org/dashboard",target:"_blank",rel:"noopener noreferrer","data-ph-capture-attribute-token-info":"iq_dashboard",className:"rounded-lg border border-border px-4 py-3 flex flex-row justify-between items-center",children:[(0,s.jsxs)("div",{className:"flex flex-col justify-between gap-1 text-sm",children:[(0,s.jsxs)("span",{children:[r("Price")," ($)"]}),(0,s.jsx)("span",{className:"font-medium text-2xl",children:l}),(0,s.jsxs)("span",{className:(0,g.cn)("flex flex-row gap-1 items-center font-medium",a&&a<=0?"text-red-600":"text-green-600"),children:[a&&a>0?(0,s.jsx)(n.e_Z,{}):(0,s.jsx)(n.dtO,{}),m.formatNumber(a,2),"%"]})]}),(0,s.jsx)("span",{className:"w-10 h-10 rounded-full border border-border flex items-center justify-center p-1.5 hover:bg-background transition-colors duration-300 ease-in-out",children:(0,s.jsx)(o.default,{src:"/images/iq-logo.svg",alt:"IQ logo",width:48,height:48})})]})}function p(e){let{iqStats:t}=e,r=(0,c.useTranslations)("Homepage.IQStats"),l=m.compactInteger(t.market_cap,2),a=t.market_cap_change_percentage_24h;return(0,s.jsxs)(i.default,{href:"https://coinmarketcap.com/currencies/iq/",target:"_blank","data-
1ph-capture-attribute-exchange-clicked":"market_cap",rel:"noopener noreferrer",className:"rounded-lg border border-border px-4 py-3 flex flex-row justify-between items-center",children:[(0,s.jsxs)("div",{className:"flex flex-col justify-between gap-1 text-sm",children:[(0,s.jsxs)("span",{children:[r("MCap")," ($)"]}),(0,s.jsxs)("span",{className:"font-medium text-2xl",children:["$",l]}),(0,s.jsxs)("span",{className:(0,g.cn)("flex flex-row gap-1 items-center font-medium",a&&a<=0?"text-red-600":"text-green-600"),children:[a&&a>0?(0,s.jsx)(n.e_Z,{}):(0,s.jsx)(n.dtO,{}),m.formatNumber(null!=a?a:0,2),"%"]})]}),(0,s.jsx)("span",{rel:"noopener noreferrer",className:"w-10 h-10 rounded-full border border-border flex items-center justify-center p-2 hover:bg-background transition-colors duration-300 ease-in-out",children:(0,s.jsx)(o.default,{src:"/images/globe.png",alt:"MCAP logo",width:48,height:48})})]})}var b=e=>{let{color:t}=e;return(0,s.jsx)("div",{className:"inline-block animate-spin rounded-full ".concat(t||"text-pink-400 h-6 w-6"," dark:text-white border-[3px] border-solid border-current border-r-transparent align-[-0.125em] motion-reduce:animate-[spin_1.5s_linear_infinite]"),children:(0,s.jsx)("span",{className:"!absolute !-m-px !h-px !w-px !overflow-hidden !whitespace-nowrap !border-0 !p-0 ![clip:rect(0,0,0,0)]",children:"Loading..."})})},j=r(49380),v=r(55769),w=r(11429),y=r(89278);function N(e){let{active:t,payload:r}=e;return t&&r&&r.length?(0,s.jsxs)("div",{className:"bg-white dark:bg-gray-700 p-4 rounded-xl text-xs shadow-lg",children:[(0,s.jsx)("span",{children:"Price (IQ):"})," ","$".concat(r[0].value.toFixed(4))]}):null}function k(e){let{priceChartData:t}=e;return(0,s.jsx)(j.h,{width:"100%",height:70,children:(0,s.jsxs)(v.T,{data:t,children:[(0,s.jsx)("defs",{children:(0,s.jsxs)("linearGradient",{id:"colorUv",x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,s.jsx)("stop",{offset:"5%",stopColor:"#FF1A88",stopOpacity:.3}),(0,s.jsx)("stop",{offset:"100%",stopColor:"#FF1A88",stopOpacity:0})]})}),(0,s.jsx)(w.u,{content:(0,s.jsx)(N,{})}),(0,s.jsx)(y.u,{className:"area",type:"monotone",dataKey:"amt",stroke:"#FF1A88",fillOpacity:1,fill:"url(#colorUv)"})]})})}function F(e){let{iqStats:t,priceChartData:r}=e,l=(0,c.useTranslations)("Homepage.IQStats");return(0,s.jsxs)("div",{className:"relative bg-muted backdrop-filter backdrop-blur-lg rounded-xl max-w-[100vw] overflow-x-clip",children:[(0,s.jsxs)("div",{className:"md:grid flex flex-col md:grid-cols-2 lg:col-span-3 xl:grid-cols-5 gap-5 px-3 py-5",children:[(0,s.jsx)(a.Suspense,{fallback:(0,s.jsx)(b,{}),children:(0,s.jsx)(h,{iqStats:t})}),(0,s.jsx)(a.Suspense,{fallback:(0,s.jsx)(b,{}),children:(0,s.jsx)(p,{iqStats:t})}),(0,s.jsxs)("div",{className:"rounded-lg border border-border py-3 px-4 space-y-4",children:[(0,s.jsx)("h1",{className:"text-sm",children:l("Exchanges")}),(0,s.jsx)("div",{className:"flex flex-row 2xl:justify-between items-center justify-around",children:f.CP.map((e,t)=>(0,s.jsxs)(a.Fragment,{children:[(0,s.jsx)(i.default,{href:e.link,"data-ph-capture-attribute-exchange-clicked":"".concat(e.logEventValue),target:"_blank",rel:"noopener noreferrer",className:"flex items-center",children:(0,s.jsx)("div",{className:"flex items-center p-1 rounded-full hover:bg-background transition-colors duration-300 ease-in-out",children:(0,s.jsx)(o.default,{src:e.icon,alt:e.link,width:32,height:32})})}),t<f.CP.length-1&&(0,s.jsx)("div",{className:"h-10 w-px bg-border"})]},e.icon))})]}),(0,s.jsxs)("div",{className:"rounded-lg border border-border px-2 py-2 col-span-1 xl:col-span-2 space-y-2",children:[(0,s.jsx)("h1",{className:"text-sm",children:l("Graph")}),(0,s.jsx)(k,{priceChartData:r})]})]}),(0,s.jsx)(d.g,{size:250,duration:12,delay:9})]})}var _=r(4112);let C=(0,l.default)(()=>r.e(142).then(r.bind(r,9142)),{loadableGenerated:{webpack:()=>[9142]}});function I(e){let{iqStats:t,priceChartData:r}=e,l=(0,a.useRef)(null),i=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{threshold:t=300,elementRef:r,rootMargin:s="0px 0px -80px 0px",intersectionThreshold:l=.1}=e,[i,n]=(0,a.useState)(!1);return(0,a.useEffect)(()=>
1{if(null==r?void 0:r.current){let e=r.current,t=new IntersectionObserver(e=>{let[t]=e;n(!t.isIntersecting)},{threshold:l,rootMargin:s});return t.observe(e),()=>{t.unobserve(e)}}let e=()=>{n(window.scrollY>t)};return e(),window.addEventListener("scroll",e,{passive:!0}),()=>window.removeEventListener("scroll",e)},[t,r,s,l]),i}({elementRef:l});return(0,s.jsxs)("div",{ref:l,className:"bg-background p-4 min-h-screen relative",children:[(0,s.jsx)("div",{className:"max-w-[1218px] mx-auto flex flex-col relative h-full",children:(0,s.jsxs)("div",{className:"flex flex-col justify-center h-full md:px-4 lg:px-10 xl:px-0",children:[(0,s.jsx)(u,{}),(0,s.jsx)("div",{className:"mt-20 2xl:mt-36 mb-10 relative rounded-xl z-10",children:(0,s.jsx)(F,{iqStats:t,priceChartData:r})})]})}),(0,s.jsx)("div",{className:"hidden md:block",children:(0,s.jsx)(C,{})}),(0,s.jsx)(_.Z,{isVisible:i})]})}},22043:function(e,t,r){"use strict";r.d(t,{default:function(){return n}});var s=r(83890),l=r(56060),a=r(67204),i=r(58496);function n(){let{theme:e}=(0,a.F)(),[t,r]=(0,i.useState)("");return(0,i.useEffect)(()=>{r(null!=e?e:"light")}),(0,s.jsx)(l.default,{priority:!0,src:"dark"===t?"/images/integration/embed-bot-dark.jpg":"/images/integration/embed-bot.jpg",alt:"Custom Image",width:900,height:900,className:"2xl:max-w-3xl xl:max-w-2xl lg:max-w-xl h-full w-full object-cover rounded-2xl"})}},84373:function(e,t,r){"use strict";r.d(t,{default:function(){return n}});var s=r(83890),l=r(18513),a=r(56788),i=r(34647);function n(){let e=(0,l.useTranslations)("Homepage.Integrations.Chatbot");return(0,s.jsxs)("div",{className:"flex flex-col gap-10",children:[(0,s.jsx)("h1",{className:"xl:text-6xl lg:text-4xl md:text-3xl text-3xl font-bold font-darker-grotesque",children:e("title")}),(0,s.jsx)("div",{className:"flex lg:flex-row flex-col gap-10",children:(0,s.jsxs)("div",{className:"flex flex-col gap-5 flex-1",children:[(0,s.jsx)("p",{className:"lg:text-lg text-base max-w-3xl text-muted-foreground",children:e("subTitle")}),(0,s.jsxs)(a.default,{href:"/bot-integration","aria-label":"bot integration",className:"flex flex-row gap-3 items-center text-sm lg:text-base text-primary font-medium rounded-lg group w-fit",children:[e("learnMore"),(0,s.jsx)("span",{className:"sr-only",children:"about bot integration"}),(0,s.jsx)(i.nzV,{className:"w-5 h-5 group-hover:translate-x-2 duration-300 transition-all ease-linear"})]})]})})]})}},98882:function(e,t,r){"use strict";r.d(t,{default:function(){return i}});var s=r(83890),l=r(18513),a=r(53117);function i(){let e=(0,l.useTranslations)("Homepage.Integrations.Chatbot");return(0,s.jsxs)("div",{className:"relative bg-gray-50 dark:bg-gray-700/40 px-2.5 h-8 flex items-center justify-center rounded-md text-sm w-fit border border-border",children:[e("Badge"),(0,s.jsx)(a.g,{size:50,duration:5,delay:4,colorFrom:"#FFFFFF",colorTo:"rgb(75 85 99 / 0.5)"})]})}},413:function(e,t,r){"use strict";r.d(t,{default:function(){return N}});var s=r(83890),l=r(2615),a=r(18513),i=r(84373),n=r(98882),o=r(93182),c=r(26851),d=r(85695),x=r(4586),u=r(53117),f=r(91652),m=r(24693),g=r(22043);let h=(0,r(58134).Ue)(e=>({inViewFeature:null,setInViewFeature:t=>e({inViewFeature:t}),fullscreenFeature:null,setFullscreenFeature:t=>{e({fullscreenFeature:t}),null!==t&&e({lastFullscreenFeature:t})},lastFullscreenFeature:null,setLastFullscreenFeature:t=>e({lastFullscreenFeature:t})}));var p=r(48308);let b=e=>{let{children:t,id:r}=e,l=h(e=>e.inViewFeature);return(0,s.jsx)("div",{className:(0,p.cn)("absolute rounded-2xl transition-all h-fit duration-500",l===r?"active-card opacity-100 translate-x-0":"pointer-events-none opacity-0 translate-x-full"),children:t})};var j=r(49180),v=r(58496);let w=e=>{let{children:t,id:r}=e,l=(0,v.useRef)(null),a=(0,v.useRef)(null),i=(0,j.Y)(l,{margin:"30% 0px -50% 0px",root:a}),n=h(e=>e.setInViewFeature),o=h(e=>e.inViewFeature);return(0,v.useEffect)(()=>{i&&n(r),i||o!==r||n(null)},[i,r,n,o]),(0,s.jsx)("div",{ref:l,className:(0,p.cn)("feature-title py-24 font-heading text-5xl transition-colors",i?"dark:text-white text-black":"dark:text-gray-50/5 text-gray-300"),children:t})},y=[{title:(0,s.jsx)(x.default,{}),description:(0,s.jsx)(d.default,{}),id:"telegram",card:e=>{let{id:t}=e;return(0,s.jsx)(b,{id:t,children:(0,s.jsx)(f.default,{})})}},{title:(0,s.jsx)(c.default,{}),description:(0,s.jsx)(o.default,{}),id:"discord",card:e=>{let{id:t}=e;return(0,s.jsx)(b,{id:t,children:(0,s.jsx)(m.default,{})})}},{title:(0,s.jsx)(n.default,{}),description:(0,s.jsx)(i.default,{}),id:"chatbot",card:e=>{let{id:t}=e;return(0,s.jsx)(b,{id:t,children:(0,s.jsx)(g.default,{})})}}];function N(){let e=(0,a.useTranslations)("Homepage.Platform"),[t]=(0,l.H)();return(0,s.jsxs)("div",{className:"mx-auto max-w-[1218px] px-4 xl:px-0 py-32 hidden lg:block",children:[(0,s.jsxs)("div",{className:"flex flex-col max-w-[1218px] mx-auto gap-2 justify-center items-center",children:[(0,s.jsxs)("div",{className:"relative bg-gray-50 dark:bg-gray-700/40 px-2.5 h-8 flex items-center justify-center rounded-md text-sm w-fit border border-border",children:[e("Badge"),(0,s.jsx)(u.g,{size:50,duration:10,delay:4,colorFrom:"#FFFFFF",colorTo:"rgb(75 85 99 / 0.5)"})]}),(0,s.jsx)("h1",{className:"xl:text-6xl lg:text-5xl text-3xl font-bold text-center leading-relaxed xl:leading-none font-darker-grotesque",children:e("title")}),(0,s.jsx)("p",{className:"max-w-4xl text-center text-lg text-muted-foreground",children:e("subTitle")})]}),(0,s.jsx)("div",{ref:t,children:(0,s.jsxs)("div",{className:"flex gap-24 w-full items-start",children:[(0,s.jsx)("div",{className:"w-full py-[40vh]",children:(0,s.jsx)("ul",{children:y.map(e=>(0,s.jsx)("li",{children:(0,s.jsx)(w,{id:e.id,children:(0,s.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,s.jsx)("h1",{children:e.title}),e.description]})})},e.id))})}),(0,s.jsx)("div",{className:"sticky top-0 flex h-screen w-full items-center overflow-hidden",children:(0,s.jsx)("div",{className:"relative aspect-square w-full rounded-2xl",children:y.map(e=>(0,s.jsx)(e.card,{id:e.id},e.id))})})]})})]})}},24693:function(e,t,r){"use strict";r.d(t,{default:function(){return n}});var s=r(83890),l=r(56060),a=r(67204),i=r(58496);function n(){let{theme:e}=(0,a.F)(),[t,r]=(0,i.useState)("");return(0,i.useEffect)(()=>{r(null!=e?e:"light")}),(0,s.jsx)(l.default,{priority:!0,src:"dark"===t?"/images/integration/discord-dark.jpg":"/images/integration/discord.jpg",alt:"Custom Image",width:900,height:900,className:"2xl:max-w-3xl xl:max-w-2xl lg:max-w-xl h-full w-full object-cover rounded-2xl"})}},93182:function(e,t,r){"use strict";r.d(t,{default:function(){return n}});var s=r(83890),l=r(18513),a=r(56788),i=r(34647);function n(){let e=(0,l.useTranslations)("Homepage.Integrations.Discord");return(0,s.jsxs)("div",{className:"flex flex-col gap-10",children:[(0,s.jsx)("h1",{className:"xl:text-6xl lg:text-4xl md:text-3xl text-3xl font-bold font-darker-grotesque",children:e("title")}),(0,s.jsx)("div",{className:"flex lg:flex-row flex-col gap-10",children:(0,s.jsxs)("div",{className:"flex flex-col gap-5 flex-1",children:[(0,s.jsx)("p",{className:"lg:text-lg text-base max-w-3xl text-muted-foreground",children:e("subTitle")}),(0,s.jsxs)(a.default,{href:"/bot-integration","aria-label":"bot integration",className:"flex flex-row gap-3 items-center text-sm lg:text-base text-primary font-medium rounded-lg group w-fit",children:[e("learnMore"),
1(0,s.jsx)("span",{className:"sr-only",children:"about bot integration"}),(0,s.jsx)(i.nzV,{className:"w-5 h-5 group-hover:translate-x-2 duration-300 transition-all ease-linear"})]})]})})]})}},26851:function(e,t,r){"use strict";r.d(t,{default:function(){return i}});var s=r(83890),l=r(18513),a=r(53117);function i(){let e=(0,l.useTranslations)("Homepage.Integrations.Discord");return(0,s.jsxs)("div",{className:"relative bg-gray-50 dark:bg-gray-700/40 px-2.5 h-8 flex items-center justify-center rounded-md text-sm w-fit border border-border",children:[e("Badge"),(0,s.jsx)(a.g,{size:50,duration:5,delay:4,colorFrom:"#FFFFFF",colorTo:"rgb(75 85 99 / 0.5)"})]})}},91131:function(e,t,r){"use strict";r.d(t,{MobilePlatformIntegration:function(){return n}});var s=r(83890),l=r(48308),a=r(18513),i=r(53117);let n=e=>{let{content:t,contentClassName:r}=e,n=(0,a.useTranslations)("Homepage.Platform");return(0,s.jsxs)("div",{className:"flex lg:hidden flex-col container mx-auto px-4 justify-center items-center my-14 gap-12 min-h-screen",children:[(0,s.jsxs)("div",{className:"flex flex-col gap-3.5 justify-center items-center",children:[(0,s.jsxs)("div",{className:"relative bg-muted px-2.5 h-8 flex items-center justify-center rounded-md text-sm w-fit border border-muted",children:[n("Badge"),(0,s.jsx)(i.g,{size:50,duration:10,delay:4,colorFrom:"#FFFFFF",colorTo:"rgb(75 85 99 / 0.5)"})]}),(0,s.jsx)("h1",{className:"text-3xl font-bold text-center font-darker-grotesque",children:n("title")}),(0,s.jsx)("p",{className:"max-w-4xl text-center text-lg text-muted-foreground",children:n("subTitle")})]}),(0,s.jsx)("div",{className:"flex flex-col gap-10 justify-center relative",children:t.map((e,t)=>(0,s.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,s.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,s.jsx)("div",{children:e.title}),(0,s.jsx)("div",{children:e.description})]}),(0,s.jsx)("div",{className:(0,l.cn)("",r),children:e.content})]},e.title+t))})]})}},91652:function(e,t,r){"use strict";r.d(t,{default:function(){return n}});var s=r(83890),l=r(56060),a=r(67204),i=r(58496);function n(){let{theme:e}=(0,a.F)(),[t,r]=(0,i.useState)("");return(0,i.useEffect)(()=>{r(null!=e?e:"light")}),(0,s.jsx)(l.default,{priority:!0,src:"dark"===t?"/images/integration/telegram-dark.jpg":"/images/integration/telegram.jpg",alt:"Custom Image",width:900,height:900,className:"2xl:max-w-3xl xl:max-w-2xl lg:max-w-xl h-full w-full object-cover rounded-2xl"})}},85695:function(e,t,r){"use strict";r.d(t,{default:function(){return n}});var s=r(83890),l=r(18513),a=r(56788),i=r(34647);function n(){let e=(0,l.useTranslations)("Homepage.Integrations.Telegram");return(0,s.jsxs)("div",{className:"flex flex-col gap-10",children:[(0,s.jsx)("h1",{className:"xl:text-6xl lg:text-4xl md:text-3xl text-3xl font-bold font-darker-grotesque",children:e("title")}),(0,s.jsx)("div",{className:"flex lg:flex-row flex-col gap-10",children:(0,s.jsxs)("div",{className:"flex flex-col gap-5 flex-1",children:[(0,s.jsx)("p",{className:"lg:text-lg text-base max-w-3xl text-muted-foreground",children:e("subTitle")}),(0,s.jsxs)(a.default,{href:"/bot-integration","aria-label":"bot integration",className:"flex flex-row gap-3 items-center text-sm lg:text-base text-primary font-medium rounded-lg group w-fit",children:[e("learnMore"),(0,s.jsx)("span",{className:"sr-only",children:"about bot integration"}),(0,s.jsx)(i.nzV,{className:"w-5 h-5 group-hover:translate-x-2 duration-300 transition-all ease-linear"})]})]})})]})}},4586:function(e,t,r){"use strict";r.d(t,{default:function(){return i}});var s=r(83890),l=r(18513),a=r(53117);function i(){let e=(0,l.useTranslations)("Homepage.Integrations.Telegram");return(0,s.jsxs)("div",{className:"relative bg-gray-50 dark:bg-gray-700/40 px-2.5 h-8 flex items-center justify-center rounded-md text-sm w-fit border border-border",children:[e("Badge"),(0,s.jsx)(a.g,{size:50,duration:5,delay:4,colorFrom:"#FFFFFF",colorTo:"rgb(75 85 99 / 0.5)"})]})}},49632:function(e,t,r){"use strict";r.d(t,{default:function(){return k}});var s=r(83890);let l=[{src:"/images/plugins/iq-wiki.svg",alt:"IQwiki.title",title:"IQwiki.title",description:"IQwiki.description"},{src:"/images/plugins/coin-gecko.svg",alt:"CoinGecko.title",title:"CoinGecko.title",description:"CoinGecko.description"},{src:"/images/plugins/invest-hk.svg",alt:"InvestHK.title",title:"InvestHK.title",description:"InvestHK.description"},{src:"/images/plugins/defillama.svg",alt:"DeFiLlama.title",title:"DeFiLlama.title",description:"DeFiLlama.description"},{src:"/images/plugins/etherscan.svg",alt:"Etherscan.title",title:"Etherscan.title",description:"Etherscan.description"},{src:"/images/plugins/coin-ness.svg",alt:"CoinNess.title",title:"CoinNess.title",description:"CoinNess.description"},{src:"/images/plugins/frax.svg",alt:"Frax.title",title:"Frax.title",description:"Frax.description"},{src:"/images/plugins/debank.svg",alt:"DebankTool.title",title:"DebankTool.title",description:"DebankTool.description"},{src:"/images/plugins/vector-query.svg",alt:"VectorQueryTool.title",title:"VectorQueryTool.title",description:"VectorQueryTool.description"}];
1var a=r(6548),i=r(82744),n=r(48308),o=r(18513),c=r(67204),d=r(56060),x=r(56788),u=r(58496),f=r(34647),m=r(53117),g=r(66767);let h=e=>{let{className:t,containerRef:r,fromRef:l,toRef:a,curvature:i=0,reverse:o=!1,duration:c=3*Math.random()+4,delay:d=0,pathColor:x="gray",pathWidth:f=2,pathOpacity:m=.2,gradientStartColor:h="#ffaa40",gradientStopColor:p="#9c40ff",startXOffset:b=0,startYOffset:j=0,endXOffset:v=0,endYOffset:w=0}=e,y=(0,u.useId)(),[N,k]=(0,u.useState)(""),[F,_]=(0,u.useState)({width:0,height:0}),C=o?{x1:["90%","-10%"],x2:["100%","0%"],y1:["0%","0%"],y2:["0%","0%"]}:{x1:["10%","110%"],x2:["0%","100%"],y1:["0%","0%"],y2:["0%","0%"]};return(0,u.useEffect)(()=>{let e=()=>{if(r.current&&l.current&&a.current){let e=r.current.getBoundingClientRect(),t=l.current.getBoundingClientRect(),s=a.current.getBoundingClientRect();_({width:e.width,height:e.height});let n=t.left-e.left+t.width/2+b,o=t.top-e.top+t.height/2+j,c=s.left-e.left+s.width/2+v,d=s.top-e.top+s.height/2+w;k("M ".concat(n,",").concat(o," Q ").concat((n+c)/2,",").concat(o-i," ").concat(c,",").concat(d))}},t=new ResizeObserver(t=>{for(let r of t)e()});return r.current&&t.observe(r.current),e(),()=>{t.disconnect()}},[r,l,a,i,b,j,v,w]),(0,s.jsxs)("svg",{fill:"none",width:F.width,height:F.height,xmlns:"http://www.w3.org/2000/svg",className:(0,n.cn)("pointer-events-none absolute left-0 top-0 transform-gpu stroke-2",t),viewBox:"0 0 ".concat(F.width," ").concat(F.height),children:[(0,s.jsx)("path",{d:N,stroke:x,strokeWidth:f,strokeOpacity:m,strokeLinecap:"round"}),(0,s.jsx)("path",{d:N,strokeWidth:f,stroke:"url(#".concat(y,")"),strokeOpacity:"1",strokeLinecap:"round"}),(0,s.jsx)("defs",{children:(0,s.jsxs)(g.m.linearGradient,{className:"transform-gpu",id:y,gradientUnits:"userSpaceOnUse",initial:{x1:"0%",x2:"0%",y1:"0%",y2:"0%"},animate:{x1:C.x1,x2:C.x2,y1:C.y1,y2:C.y2},transition:{delay:d,duration:c,ease:[.16,1,.3,1],repeat:1/0,repeatDelay:0},children:[(0,s.jsx)("stop",{stopColor:h,stopOpacity:"0"}),(0,s.jsx)("stop",{stopColor:h}),(0,s.jsx)("stop",{offset:"32.5%",stopColor:p}),(0,s.jsx)("stop",{offset:"100%",stopColor:p,stopOpacity:"0"})]})})]})};var p=e=>{let t=Array.from({length:9},()=>(0,u.useRef)(null));return{circles:[{ref:t[0],src:"/images/plugins/iq-wiki.svg",alt:"IQ icon",width:120,height:120,className:"h-14 w-14"},{ref:t[4],src:"/images/plugins/etherscan.svg",alt:"Etherscan icon",width:120,height:120,className:"h-14 w-14"},{ref:t[1],src:"/images/plugins/coin-gecko.svg",alt:"Coingecko icon",width:120,height:120,className:"h-14 w-14"},{ref:t[3],src:"/images/aiden-platform.png",alt:"IQ icon",width:140,height:140,className:"h-auto border-2 border-border",circleClass:"h-auto w-auto p-0",circleClassMobile:"h-14 w-14 mt-14"},{ref:t[5],src:"/images/plugins/frax.svg",alt:"Frax icon",width:120,height:120,className:(0,n.cn)("h-14 w-14","dark"===e&&"filter invert")},{ref:t[2],src:"/images/plugins/invest-hk.svg",alt:"Invest HK icon",width:120,height:120,className:"h-14 w-14"},{ref:t[6],src:"/images/plugins/debank.svg",alt:"Debank icon",width:120,height:120,className:"h-14 w-14"},{ref:t[7],src:"/images/plugins/defillama.svg",alt:"Defillama icon",width:120,height:120,className:"h-14 w-14"},{ref:t[8],src:"/images/plugins/vector-query.svg",alt:"Vector query icon",width:120,height:120,className:"h-14 w-14"}],beams:[{fromRef:t[0],toRef:t[3],curvature:80,endYOffset:10},{fromRef:t[1],toRef:t[3],curvature:75,endYOffset:10},{fromRef:t[2],toRef:t[3],curvature:-55,endYOffset:10},{fromRef:t[4],toRef:t[3],curvature:80,reverse:!0,endYOffset:10},{fromRef:t[5],toRef:t[3],curvature:75,reverse:!0},{fromRef:t[6],toRef:t[3],curvature:-45,reverse:!0,endYOffset:10},{fromRef:t[7],toRef:t[3],curvature:-80,reverse:!0,endYOffset:10},{fromRef:t[8],toRef:t[3],curvature:-80,reverse:!0,endYOffset:10}]}};let b=(0,u.forwardRef)((e,t)=>{let{className:r,children:l}=e;return(0,s.jsx)("div",{ref:t,className:(0,n.cn)("z-10 flex h-16 w-16 items-center justify-center rounded-full p-3 shadow-[0_0_20px_-12px_rgba(0,0,0,0.8)]",r),children:l})}),j=e=>{let{circles:t}=e;return(0,s.jsx)("div",{className:"flex flex-row items-center justify-between",children:t.map((e,t)=>(0,s.jsx)(b,{ref:e.ref,className:e.circleClass,children:(0,s.jsx)(d.default,{src:e.src,alt:e.alt,width:e.width,height:e.height,className:e.className})},t))})};function v(e){let{clientTheme:t}=e,r=(0,u.useRef)(null),{circles:l,beams:a}=p(t);return(0,s.jsxs)("div",{className:"relative hidden max-w-[1218px] gap-2 lg:px-10 md:flex w-full items-center justify-center rounded-lg px-4 xl:px-0 py-10 lg:my-10",ref:r,children:[(0,s.jsx)("div",{className:"absolute inset-0 h-full w-full ",children:(0,s.jsx)("div",{className:"absolute left-0 right-0 lg:-top-10 to
1p-0 z-10 m-auto lg:h-[510px] h-60 w-60 lg:w-[510px] rounded-full bg-fuchsia-400 opacity-20 blur-[100px]"})}),(0,s.jsxs)("div",{className:"flex h-full w-full flex-col items-stretch justify-between gap-10",children:[(0,s.jsx)(j,{circles:l.slice(0,2)}),(0,s.jsx)(j,{circles:l.slice(2,5)}),(0,s.jsx)(j,{circles:l.slice(5,7)}),(0,s.jsx)(j,{circles:l.slice(7)})]}),a.map((e,t)=>(0,s.jsx)(h,{containerRef:r,fromRef:e.fromRef,toRef:e.toRef,curvature:e.curvature,endYOffset:e.endYOffset,reverse:e.reverse},t))]})}let w=(0,u.forwardRef)((e,t)=>{let{className:r,children:l}=e;return(0,s.jsx)("div",{ref:t,className:(0,n.cn)("z-10 flex h-14 w-14 items-center justify-center rounded-full bg-white dark:bg-gray-900 p-3 shadow-[0_0_20px_-12px_rgba(0,0,0,0.8)]",r),children:l})}),y=e=>{let{circles:t}=e;return(0,s.jsx)("div",{className:"flex flex-row items-center justify-between",children:t.map((e,t)=>(0,s.jsx)(w,{ref:e.ref,className:e.circleClassMobile,children:(0,s.jsx)(d.default,{src:e.src,alt:e.alt,width:e.width,height:e.height,className:e.className})},t))})};function N(e){let{clientTheme:t}=e,r=(0,u.useRef)(null),{circles:l,beams:a}=p(t);return(0,s.jsxs)("div",{className:"relative md:hidden container gap-2 flex w-full items-center justify-center rounded-lg bg-background px-4 py-10 lg:my-10",ref:r,children:[(0,s.jsx)("div",{className:"absolute inset-0 h-full w-full ",children:(0,s.jsx)("div",{className:"absolute left-0 right-0 top-10 z-10 m-auto h-60 w-60 rounded-full bg-fuchsia-400 opacity-20 blur-[100px]"})}),(0,s.jsxs)("div",{className:"flex h-full w-full flex-col items-stretch justify-between gap-10",children:[(0,s.jsx)(y,{circles:l.slice(0,2)}),(0,s.jsx)(y,{circles:l.slice(2,5)}),(0,s.jsx)(y,{circles:l.slice(5,7)}),(0,s.jsx)(y,{circles:l.slice(7)})]}),a.map((e,t)=>(0,s.jsx)(h,{containerRef:r,fromRef:e.fromRef,toRef:e.toRef,curvature:e.curvature,endYOffset:e.endYOffset,reverse:e.reverse},t))]})}function k(){let{theme:e}=(0,c.F)(),[t,r]=(0,u.useState)(""),g=(0,o.useTranslations)("Homepage.Plugins");return(0,u.useEffect)(()=>{r(null!=e?e:"light")}),(0,s.jsxs)("div",{id:"plugins",className:" lg:py-24 py-14 overflow-hidden flex flex-col items-center gap-20",children:[(0,s.jsxs)("div",{className:"flex flex-col max-w-[1218px] mx-auto p-4 gap-2 lg:px-10 xl:px-0",children:[(0,s.jsx)(a.Z,{children:(0,s.jsxs)("div",{className:"relative bg-gray-50 dark:bg-gray-700/40 px-2.5 h-8 flex items-center justify-center rounded-md text-sm w-fit border border-border",children:[g("Badge"),(0,s.jsx)(m.g,{size:50,duration:5,delay:4,colorFrom:"#FFFFFF",colorTo:"rgb(75 85 99 / 0.5)"})]})}),(0,s.jsx)(a.Z,{children:(0,s.jsx)("h1",{className:"lg:text-4xl 2xl:text-6xl md:text-3xl text-3xl font-bold font-darker-grotesque",children:g("title")})}),(0,s.jsxs)("div",{className:"flex lg:flex-row flex-col gap-10 mt-6",children:[(0,s.jsx)(a.Z,{children:(0,s.jsxs)("div",{className:"flex flex-col gap-5",children:[(0,s.jsx)("p",{className:"xl:text-lg text-base text-muted-foreground",children:g("subTitle")}),(0,s.jsxs)(x.default,{href:"https://learn.iq.wiki/iq/iq/iq-gpt","aria-label":"aiden",target:"_blank",rel:"noopener noreferrer",className:"flex flex-row gap-3 items-center text-sm lg:text-base text-primary font-medium rounded-lg group w-fit",children:[g("learnMore"),(0,s.jsx)("span",{className:"sr-only",children:"about AIDEN"}),(0,s.jsx)(f.nzV,{className:"w-5 h-5 group-hover:translate-x-2 duration-300 transition-all ease-linear"})]})]})}),(0,s.jsx)(i.Z,{children:(0,s.jsxs)("div",{className:"grid lg:grid-cols-3 grid-flow-row gap-3 relative rounded-2xl p-1",children:[l.map((e,r)=>(0,s.jsxs)("div",{className:"flex flex-col justify-start gap-5 p-5 border border-border rounded-xl bg-muted",children:[(0,s.jsxs)("div",{className:"flex flex-col gap-5",children:[(0,s.jsx)("div",{className:"p-2 rounded-md bg-background w-fit",children:(0,s.jsx)(d.default,{src:e.src,alt:g(e.alt),width:24,height:24,className:(0,n.cn)("dark"===t&&e.title.includes("Frax")&&"filter invert")})}),(0,s.jsx)("h1",{className:"text-lg font-medium",children:g(e.title)})]}),(0,s.jsx)("p",{className:"text-sm text-muted-foreground",children:g(e.description)})]},r)),(0,s.jsx)(m.g,{size:250,duration:12,delay:9})]})})]})]}),(0,s.jsx)(v,{clientTheme:t}),(0,s.jsx)(N,{clientTheme:t})]})}},78297:function(e,t,r){"use strict";r.d(t,{L:function(){return s}});let s=(0,r(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"}})},53117:function(e,t,r){"use strict";r.d(t,{g:function(){return a}});var s=r(83890),l=r(48308);let a=e=>{let{className:t,size:r=200,duration:a=15,anchor:i=90,borderWidth:n=1.5,colorFrom:o="#ffaa40",colorTo:c="#9c40ff",delay:d=0}=e;return(0,s.jsx)("div",{style:{"--size":r,"--duration":a,"--anchor":i,"--border-width":n,"--color-from":o,"--color-to":c,"--delay":"-".concat(d,"s")},className:(0,l.cn)("absolute inset-0 rounded-[inherit] [border:calc(var(--border-width)*1px)_solid_transparent]","![mask-clip:padding-box,border-box] ![mask-composite:intersect] [mask:linear-gradient(transparent,transparent),linear-gradient(white,white)] -z-10","after:absolute after:aspect-square after:w-[calc(var(--size)*1px)] after:animate-border-beam after:[animation-delay:var(--delay)] after:[background:linear-gradient(to_left,var(--color-from),var(--color-to),transparent)] after:[offset-anchor:calc(var(--anchor)*1%)_50%] after:[offset-path:rect(0_auto_auto_0_round_calc(var(--size)*1px))]",t)})}},48308:function(e,t,r){"use strict";r.d(t,{cn:function(){return a}});var s=r(32675),l=r(35616);function a(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,l.m)((0,s.W)(t))}}},function(e){e.O(0,[188,309,548,89,999,536,152,989,738,942,649,945,744],function(){return e(e.s=28493)}),_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.