PageSourceSearch

https://gvctoken.com/_next/static/chunks/buy-menu-DERd3EDD.js

js gvctoken.com collected 2026-10-06 16:19:37 UTC 3,414 bytes, 2 lines download raw bytes

1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`84c6bdeb0674238b822385f4c248271f4d3445ff`};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`1caa2269-d46e-42ad-b569-b09e926da17d`,e._sentryDebugIdIdentifier=`sentry-dbid-1caa2269-d46e-42ad-b569-b09e926da17d`)}catch{}})();import{r as e,s as t}from"./rolldown-runtime-CRLGEXSB.js";import{i as n,r}from"./framework-Waf7vO6U.js";import{n as i}from"./ArrowRight-CmXmDMV8.js";import{n as a}from"./ArrowUpRight-ZSv6UiNI.js";import{n as o}from"./BadgeCheck-D7gl6kBk.js";import{t as s}from"./MenuLinkItem-BoWbrgXE.js";import{n as c,o as l,r as u,s as d,t as f}from"./MenuTrigger-B-bfFOMD.js";import{a as p,i as m,n as h,t as g}from"./menu-AtG7fPb3.js";var _=e({BuyMenu:()=>C}),v=t(r(),1),y=n(),b=`mt-8 inline-flex items-center gap-2 rounded-lg border border-neutral-300 px-6 py-3.5 text-base font-semibold tracking-[0.04em] text-neutral-50 transition outline-hidden hover:bg-white/5 data-[highlighted]:bg-white/5`;function x({label:e}){return(0,y.jsxs)(`span`,{className:`inline-flex items-center gap-1 self-start rounded-full bg-linear-to-b from-brand-200 to-brand-500 px-2 py-0.5 text-xxs font-semibold tracking-wide text-bg-base`,children:[(0,y.jsx)(o,{className:`size-4`,strokeWidth:2}),e]})}function S(e,t){let n=Math.max(1,Math.ceil(e.length/t)),r=Array.from({length:t},()=>[]);return e.forEach((e,t)=>{r[Math.floor(t/n)].push(e)}),r}function C({triggerLabel:e=`Buy $GVC`,triggerClassName:t,entries:n,viewMore:r,recommendedLabel:o=`Recommended`,columns:_=3,className:C,linkComponent:w,overlayTop:T}){let[E,D]=(0,v.useState)(!1),O=S(n,_),k=r?.external?a:i,A=r&&!r.external&&w?w:null;return(0,y.jsxs)(c,{open:E,onOpenChange:D,children:[(0,y.jsxs)(f,{className:t??`group inline-flex items-center gap-2 rounded-lg px-4 py-2 text-sm font-medium tracking-wide text-neutral-50 transition hover:opacity-80 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-white/30`,children:[e,(0,y.jsx)(h,{})]}),(0,y.jsxs)(l,{children:[(0,y.jsx)(`div`,{className:`pointer-events-none fixed inset-x-0 bottom-0 z-50 bg-bg-base/30 transition data-[ending-style]:opacity-0 data-[starting-style]:opacity-0${T===void 0?` top-24`:``}`,style:T===void 0?void 0:{top:T}}),(0,y.jsx)(u,{className:`z-60`,sideOffset:28,side:`bottom`,align:`center`,children:(0,y.jsx)(d,{className:m,children:(0,y.jsx)(`div`,{className:`${p.replace(`pt-6`,`pt-8`)}${C?` ${C}`:``}`,children:(0,y.jsxs)(`div`,{className:`flex flex-col items-center gap-2`,children:[(0,y.jsx)(`div`,{className:`grid w-full grid-cols-1 gap-x-12 gap-y-6 sm:grid-cols-2 lg:grid-cols-3`,children:O.map((e,t)=>(0,y.jsx)(`div`,{className:`flex flex-col gap-y-6`,children:e.map(e=>(0,y.jsx)(g,{name:e.name,desc:e.desc,href:e.href,external:e.external,icon:e.icon,linkComponent:w,badge:e.recommended?(0,y.jsx)(x,{label:o}):void 0},e.name))},t))}),r?A?(0,y.jsxs)(s,{render:(0,y.jsx)(A,{href:r.href}),className:b,onClick:()=>D(!1),children:[r.label,(0,y.jsx)(k,{className:`size-4`,strokeWidth:2})]}):(0,y.jsxs)(s,{href:r.href,target:r.external?`_blank`:void 0,rel:r.external?`noopener noreferrer`:void 0,className:b,onClick:()=>D(!1),children:[r.label,(0,y.jsx)(k,{className:`size-4`,strokeWidth:2})]}):null]})})})})]})]})}export{_ as n,C as t};
2//# sourceMappingURL=buy-menu-DERd3EDD.js.map

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.