1import{a7 as v,aw as h,j as e,S as d,L as n,T as g,dw as w,a as c,bD as k,N as f,p as z,e6 as L,t as E,dS as T}from"./index-hZR_pMzJ.js";const I=v("Pause",[["rect",{x:"14",y:"4",width:"4",height:"16",rx:"1",key:"zuxfzm"}],["rect",{x:"6",y:"4",width:"4",height:"16",rx:"1",key:"1okwgv"}]]);const $=v("Play",[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]]);function P(){const{mode:s}=h(),a=[{title:"100% permissionless",description:"Launch any token effortlessly, no listing or verification required."},{title:"Lock liquidity",description:"Show the community youâre committed. Locking liquidity is simple, natively supported, and fee-free."},{title:"Earn fees",description:"Grow your treasury or bootstrap an incentive program by earning 100% of swap feesâno platform cut. Fee-based APRs attract additional LPs, further deepening liquidity."}];return e.jsxs("div",{className:"max-w-screen-xl space-y-12 overflow-hidden px-8 py-12 lg:mx-auto lg:space-y-32 lg:overflow-visible lg:px-0 lg:py-32",children:[e.jsxs("div",{className:"flex flex-col items-center gap-5 text-center",children:[e.jsxs("h2",{className:"text-3xl font-extrabold lg:text-5xl",children:["Aero"," Launch"]}),e.jsx("p",{className:"max-w-md text-sm lg:text-lg",children:"With a simple guided flow, launching your first liquidity pool has never been easier."})]}),e.jsxs("div",{className:"grid gap-8 lg:grid-cols-2 lg:px-16",children:[e.jsxs("div",{className:"flex flex-col gap-5",children:[e.jsx("h3",{className:"text-2xs font-semibold uppercase tracking-widest text-accent-50",children:"Launch your liquidity"}),e.jsx("ul",{className:"space-y-5 lg:space-y-8",children:a.map((t,o)=>e.jsxs("li",{children:[e.jsx("div",{className:"h-px w-full bg-gradient-to-r from-accent-20 to-accent-20/0"}),e.jsx("h4",{className:"mb-1.5 mt-5 text-lg font-bold lg:mb-3 lg:mt-8 lg:text-2xl",children:t.title}),e.jsx("p",{className:"text-sm text-accent-50 lg:pr-44 lg:text-base",children:t.description})]},o))})]}),e.jsxs("div",{className:"relative flex flex-col items-center text-center",children:[e.jsx(d,{src:`/svg/launcher/${n}/bg-benefits.svg`,className:"absolute inset-0 z-10 size-full scale-150 animate-pulse"}),e.jsx("img",{src:`/images/launcher-preview-${s}.png`,alt:"Launch",className:"relative z-20 block w-full"})]})]}),e.jsxs("div",{className:"grid gap-8 lg:grid-cols-2",children:[e.jsxs("div",{className:"relative flex flex-col justify-between gap-8 overflow-hidden rounded-3xl border border-accent-10 bg-accent-0 p-8 lg:gap-16",children:[e.jsx(d,{src:`/svg/launcher/${n}/bg-get-noticed.svg`,className:"z-12 absolute left-0 top-0 h-full"}),e.jsx("h3",{className:"relative z-20 text-lg font-semibold lg:text-2xl",children:"Get noticed"}),e.jsx("div",{className:"relative z-20 flex items-center justify-center",children:e.jsx(d,{src:"/svg/launcher/get-noticed.svg"})}),e.jsx("p",{className:"relative z-20 text-sm lg:w-2/3 lg:text-base",children:"New tokens can be flagged as Emerging, appearing alongside Listed tokens to make them easy to discover, swap, and deposit."})]}),e.jsxs("div",{className:"relative flex flex-col justify-between gap-8 overflow-hidden rounded-3xl border border-accent-10 bg-accent-0 p-8 lg:gap-16",children:[e.jsx(d,{src:`/svg/launcher/${n}/bg-launch-your-way.svg`,className:"z-12 absolute bottom-0 right-0 w-full"}),e.jsx("h3",{className:"relative z-20 text-lg font-semibold lg:text-2xl",children:"Launch your way"}),e.jsx("div",{className:"relative z-20 flex items-center justify-center",children:e.jsx(d,{src:"/svg/launcher/launch-your-way.svg"})}),e.jsx("p",{className:"relative z-20 text-sm lg:w-2/3 lg:text-base",children:"Deploy a basic or concentrated pool, depositing liquidity as a pair or single-sided."})]})]})]})}function S(){const{mode:s}=h();return e.jsxs("div",{className:"mx-auto grid max-w-screen-xl rounded-3xl pt-8 lg:grid-cols-2 lg:gap-24 lg:bg-accent-0 lg:p-16",children:[e.jsxs("div",{className:"flex flex-col justify-between gap-5",children:[e.jsxs("div",{className:"space-y-5",children:[e.jsx("h3",{className:"text-xl font-extrabold lg:text-3xl",children:"Activate the flywheel"}),e.jsx("p",{className:"text-sm lg:text-lg",children:g.launcher.flywheel.description})]}),e.jsxs("div",{className:"flex items-center gap-3 lg:gap-5",children:[e.jsx("div",{className:"hidden flex-shrink-0 items-center justify-center rounded-full bg-primary p-5 text-white lg:flex lg:p-6",children:e.jsx(w,{className:"size-4 lg:size-6",strokeWidth:1.5})}),e.jsxs("p",{className:"text-xs italic text-accent-50 lg:text-base",children:["Qualifying pools created through ","Aero"," Launch can seamlessly graduate to emission-based pools without manual migration."]})]})]}),e.jsx("div",{className:"flex items-center justify-center p-8 lg:p-12",children:e.jsx(d,{src:`/svg/${n}/landing-how-it-works-${s}.svg`,className:"h-auto w-full max-w-full"})})]})}function _(){const[s,a]=c.useState(!1),t=c.useRef(null);c.useEffect(()=>{const l=t.current;l&&l.play()},[]);const o=()=>{const l=t.current;l&&(l.paused?l.play():l.pause())};return e.jsxs("div",{className:"relative w-full",children:[e.jsx("video",{ref:t,className:"h-full w-full cursor-pointer rounded-3xl object-cover",onClick:o,poster:`/videos/${n}/launcher.jpg`,onEnded:()=>a(!1),onPlay:()=>a(!0),onPause:()=>
1a(!1),autoPlay:!0,playsInline:!0,loop:!0,muted:!0,children:e.jsx("source",{src:`/videos/${n}/launcher.webm`,type:"video/webm"})}),e.jsx("div",{className:"pointer-events-none absolute bottom-4 right-4 flex items-center justify-center rounded-full bg-white p-2 text-black",children:s?e.jsx(I,{className:"size-6"}):e.jsx($,{className:"-mr-px ml-px size-6"})})]})}function A(){const{mode:s}=h(),a=["Create a liquidity pool in minutes","Earn 100% of swap fees","Lock liquidity natively","Eligible tokens trade on Coinbase","Get attention: become an emerging token"].filter(Boolean);return e.jsxs("div",{className:"full-bleed wrapper relative z-0 -mt-[var(--header-height)] overflow-hidden pt-[var(--header-height)]",children:[e.jsx("video",{poster:`/videos/${n}/launcher-hero-${s}.jpg`,className:"pointer-events-none absolute inset-0 z-10 size-full object-cover",autoPlay:!0,playsInline:!0,loop:!0,muted:!0,children:e.jsx("source",{src:`/videos/${n}/launcher-hero-${s}.webm`,type:"video/webm"})},s),e.jsxs("div",{className:"relative z-20 mx-auto grid max-w-screen-xl items-center gap-8 pb-8 pt-5 lg:grid-cols-3 lg:gap-24 lg:pb-48 lg:pt-12",children:[e.jsxs("div",{className:"flex flex-col gap-5",children:[e.jsx("h1",{className:"text-3xl font-extrabold lg:text-5xl",children:g.launcher.hero.heading}),e.jsx("p",{className:"text-sm lg:mb-5 lg:text-base",children:g.launcher.hero.subheading}),e.jsx("ul",{className:"space-y-2 text-sm lg:mb-5 lg:text-base",children:a.map((t,o)=>e.jsxs("li",{className:"group",children:[e.jsx("div",{className:"h-px w-full bg-gradient-to-r from-foreground
1/10 to-foreground/0 group-first:hidden"}),e.jsxs("div",{className:"flex items-center gap-2 py-1.5 lg:py-3",children:[e.jsx(k,{className:"size-4 text-primary",strokeWidth:1.5}),e.jsx("p",{children:t})]})]},o))}),e.jsxs("div",{className:"flex gap-3",children:[e.jsx(f,{href:"/launch",useButton:!0,size:"lg",children:"Launch now"}),e.jsx(f,{href:"/docs/launcher",useButton:!0,color:"secondary",size:"lg",children:"How it works"})]})]}),e.jsx("div",{className:"col-span-1 flex lg:col-span-2",children:e.jsx(_,{})})]})]})}const u=2,p=u*2+1;function C(){const[s,a]=c.useState(u),[t,o]=c.useState(0),l=c.useRef(null),{data:b}=z(),j=b?.grouped.flat(),x=L.map(r=>j?.find(i=>i.symbol===r)),m=[...x,...x],y=m[s];c.useEffect(()=>{l.current&&o(l.current.offsetWidth)},[]),c.useEffect(()=>{if(!t||!x.length)return;const r=setInterval(()=>{const i=s+1;i>=x.length+p?a(u):a(i)},2e3);return()=>clearInterval(r)},[t,x]);const N=r=>r===s?"scale-100":Math.abs(r-s)===1?"scale-75":"scale-50";return m?.length?e.jsxs("div",{className:"mx-auto max-w-screen-xl pb-12 pt-8 sm:pb-40 sm:pt-24",children:[e.jsxs("div",{className:"flex flex-col items-center gap-5 text-center",children:[e.jsxs("span",{className:"text-2xs font-semibold uppercase tracking-widest text-accent-50",children:["Where launches ","take off"]}),e.jsxs("h3",{className:"mb-12 max-w-sm text-xl font-extrabold sm:text-3xl",children:["Join the ranks of successful ","Base"," launches."]})]}),e.jsxs("div",{className:"relative flex flex-col items-center",children:[e.jsx(d,{src:`/svg/launcher/${n}/bg-tokens.svg`,className:"absolute -top-1/4 z-10 h-full"}),e.jsxs("div",{className:"relative z-20 mx-auto mb-6 inline-flex animate-bounce items-center justify-center rounded-lg bg-foreground px-4 py-2 font-semibold text-background",children:[e.jsx("div",{className:"absolute -bottom-2 left-1/2 h-0 w-0 -translate-x-1/2 border-x-8 border-t-8 border-x-transparent border-t-foreground"}),y?.symbol]}),e.jsx("div",{className:"relative z-20 mx-auto flex overflow-hidden [mask-image:linear-gradient(90deg,transparent,rgba(0,0,0,0)_0%,black_25%,black_75%,rgba(0,0,0,0)_100%,transparent)]",style:{width:`${t*p}px`},children:e.jsx("div",{className:"flex transition-transform duration-300 ease-in-out",style:{transform:`translateX(${-(s-u)*t}px)`},children:m.map((r,i)=>e.jsx("div",{ref:i===0?l:null,className:E("size-16 shrink-0 p-1.5 transition-transform duration-300 ease-in-out sm:size-24",N(i)),children:e.jsx(T,{address:r?.address,chainId:r?.chainId,className:"size-full rounded-lg"})},i))})})]})]}):null}function B(){return e.jsxs(e.Fragment,{children:[e.jsx(A,{}),e.jsxs("div",{className:"full-bleed wrapper bg-gradient-to-b from-accent-5 to-background",children:[e.jsx(P,{}),e.jsx(C,{}),e.jsx(S,{})]})]})}export{B as default};
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.