PageSourceSearch

https://zkverify.io/_next/static/chunks/1617-70eeb61053a37294.js

js zkverify.io collected 2026-10-02 11:10:05 UTC 34,081 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1617],{20959:(e,t,l)=>{l.r(t),l.d(t,{StakingBackbone:()=>r});var s=l(73365);l(1521);var a=l(16282),n=l(14130);let i=e=>{let{validator:t}=e;return(0,s.jsxs)("a",{href:t.href,target:"_blank",rel:"noopener noreferrer",className:(0,n.cn)("flex items-center gap-[24px]","bg-white border border-void/10 rounded-[16px]","px-[24px] py-[20px]","md:px-[40px]","hover:border-void/30 transition-colors"),children:[t.logoUrl?(0,s.jsx)("img",{src:t.logoUrl,alt:t.name,className:"size-[52px] rounded-[10px] object-cover shrink-0"}):(0,s.jsx)("div",{className:"size-[52px] rounded-[10px] bg-void/10 shrink-0"}),(0,s.jsx)("span",{className:(0,n.cn)("flex-1 font-sans font-medium leading-[1.4] text-void","text-base","xl:text-[20px]"),children:t.name}),(0,s.jsx)(a.A,{className:"size-[34px] text-void/60 shrink-0",strokeWidth:1.5})]})},r=e=>{let{surheading:t,heading:l,description:a,validators:r,statsTitle:x,statsSubtitle:d,stats:o,considerationsTitle:c,considerations:p,className:f}=e;return(null!=o?o:[]).slice(0,3),(null!=o?o:[]).slice(3),(0,s.jsxs)("section",{className:(0,n.cn)("bg-shell w-full flex flex-col items-start","gap-[56px] py-[56px] px-[22px]","md:gap-[60px]  md:px-[60px]","xl:gap-[96px] ",f),children:[(0,s.jsxs)("div",{className:"flex flex-col gap-7 w-full xl:gap-8",children:[(0,s.jsx)("p",{className:(0,n.cn)("font-sans uppercase text-signal","xs:text-xs font-normal tracking-[0.04em] leading-none","xl:text-[15px] xl:font-bold xl:leading-[1.1]"),children:t}),(0,s.jsx)("h2",{className:(0,n.cn)("font-display text-void w-full","text-h2 leading-[0.96]"),children:l}),(0,s.jsx)("p",{className:(0,n.cn)("font-sans font-light leading-[1.4] text-void","text-lg md:max-w-4/5","xl:text-[24px] lg:max-w-3/5"),children:a})]}),(0,s.jsx)("div",{className:(0,n.cn)("grid gap-[24px] w-full","grid-cols-1","md:grid-cols-2","xl:grid-cols-4"),children:(null!=r?r:[]).map((e,t)=>(0,s.jsx)(i,{validator:e},t))})]})};r.displayName="StakingBackbone"},26398:(e,t,l)=>{l.d(t,{o:()=>s.os,u:()=>a.u});var s=l(18510),a=l(30276),n=l(29807);{s.os.registerPlugin(a.u,n.J),a.u.config({autoRefreshEvents:"visibilitychange,DOMContentLoaded,load",ignoreMobileResize:!0,limitCallbacks:!0,syncInterval:120});let e=EventTarget.prototype.addEventListener;EventTarget.prototype.addEventListener=function(t,l,s){return"boolean"==typeof s&&(s={capture:s}),s||(s={}),["wheel","mousewheel","touchstart","touchmove","scroll"].includes(t)&&void 0===s.passive&&(s.passive=!0),e.call(this,t,l,s)}}s.os.config({force3D:!0,nullTargetWarn:!1,autoSleep:60}),s.os.defaults({ease:"power2.out",duration:1,lazy:!1,overwrite:"auto"})},27808:(e,t,l)=>{l.r(t),l.d(t,{StakingSecures:()=>r});var s=l(73365),a=l(1521),n=l(14130),i=l(85300);let r=e=>{let{surheading:t,headingAccent:l,headingRest:r,tagline:x,intro:d,body1:o,body2:c,steps:p,className:f}=e;return(0,s.jsxs)("section",{className:(0,n.cn)("bg-shell w-full","flex flex-col gap-10 items-start","py-14 px-[22px]","md:flex-row md:gap-10 md:items-start","md:py-[120px] md:px-[60px]","xl:gap-[148px] xl:items-start","xl:max-w-[1440px] xl:mx-auto",f),children:[(0,s.jsxs)("div",{className:(0,n.cn)("flex flex-col gap-[38px] items-start w-full","md:flex-1","xl:w-[600px] xl:flex-none xl:gap-12"),children:[(0,s.jsx)("p",{className:(0,n.cn)("font-sans font-bold uppercase text-signal","tracking-[0.04em] leading-[1.1] text-[15px]"),children:t}),(0,s.jsxs)("h2",{className:"text-h2 leading-[0.96]",children:[(0,s.jsx)("span",{className:"text-signal",children:l}),(0,s.jsx)("span",{className:"text-void",children:r})]}),(0,s.jsx)("p",{className:(0,n.cn)("font-sans font-bold uppercase text-void leading-[1.4] hidden","xl:block xl:text-[24px]"),children:x}),(0,s.jsx)("p",{className:(0,n.cn)("font-sans font-bold leading-[1.4] text-void text-lg","xl:hidden"),children:d}),(0,s.jsx)("p",{className:"font-sans font-light leading-[1.4] text-void text-lg xl:text-[24px]",children:o}),(0,s.jsx)("p",{className:"font-sans font-light leading-[1.4] text-void text-lg xl:text-[24px]",children:c}),(0,s.jsx)("p",{className:(0,n.cn)("font-sans font-normal uppercase text-void tracking-[0.04em] leading-none text-xs","xl:hidden"),children:x})]}),(0,s.jsx)("div",{className:(0,n.cn)("flex flex-col gap-2 items-center w-full","md:w-[307px] md:flex-none","xl:flex-1 xl:max-w-[500px]"),children:(null!=p?p:[]).map((e,t)=>{let l=t===(null!=p?p:[]).length-1;return(0,s.jsxs)(a.Fragment,{children:[(0,s.jsxs)("div",{className:(0,n.cn)("flex gap-6 items-start rounded-[16px] w-full","p-6 xl:p-10","xl:gap-8",l?"bg-[#EFF1FF]":"bg-shell border-[0.5px] border-dashed border-void/40"),children:[(0,s.jsx)("div",{className:(0,n.cn)("bg-signal flex items-center justify-center rounded-[8px] shrink-0","text-shell font-display text-center leading-[0.96]","size-[35px] text-[22px]","md:size-[45px] md:text-[24px]","xl:size-[52px] xl:text-[35px]"),children:t+1}),(0,s.jsxs)("div",{className:"flex flex-col gap-4 flex-1 min-w-0",children:[(0,s.jsx)("p",{className:(0,n.cn)("font-display leading-[0.96] text-void","text-[24px]","xl:text-[35px]"),children:e.title}),(0,s.jsx)("p",{className:"font-sans font-light leading-[1.4] text-void text-base xl:text-[20px]",children:e.description})]})]}),!l&&(0,s.jsx)("div",{className:"flex items-center justify-center size-8 shrink-0",children:(0,s.jsx)(i.A,{className:"size-5 text-void",strokeWidth:1.5})})]},t)})})]})};r.displayName="StakingSecures"},30641:(e,t,l)=>{l.r(t),l.d(t,{StakingStats:()=>d});
1var s=l(73365),a=l(1521),n=l(21991),i=l(14130),r=l(48277);let x=e=>{let{value:t,active:l,cardDelay:n=0}=e,i=a.useMemo(()=>t.split(""),[t]),[r,x]=a.useState(i);return a.useEffect(()=>{l&&i.forEach((e,t)=>{if(!/\d/.test(e))return;let l=0,s=20+Math.floor(10*Math.random()),a=()=>{if(l>=s)return void x(l=>{let s=[...l];return s[t]=e,s});let n=l/s,i=35+Math.round(n*n*170);x(e=>{let l=[...e];return l[t]=String(Math.floor(10*Math.random())),l}),l++,setTimeout(a,i)};setTimeout(a,n+70*t)})},[l]),(0,s.jsx)("span",{className:"tabular-nums",children:i.map((e,t)=>{var l;return(0,s.jsx)("span",{children:null!=(l=r[t])?l:e},t)})})},d=e=>{let{stats:t,disclaimer:l,ctaButton:d,className:o}=e,c=a.useRef(null),[p,f]=a.useState(!1),m=(0,r.I)();return a.useEffect(()=>{if(m)return void f(!0);let e=c.current;if(!e)return;let t=new IntersectionObserver(e=>{let[l]=e;l.isIntersecting&&(f(!0),t.disconnect())},{threshold:.3});return t.observe(e),()=>t.disconnect()},[m]),(0,s.jsxs)("section",{ref:c,className:(0,i.cn)("bg-shell w-full flex flex-col items-center gap-[50px]","py-14 px-[22px]","md:py-[120px] md:px-[60px]","lg:pt-[168px] lg:pb-[120px]",o),children:[(0,s.jsxs)("div",{className:"flex flex-col gap-[30px] items-center text-center w-full",children:[(0,s.jsx)("div",{className:(0,i.cn)("grid w-full gap-4","grid-cols-1","md:grid-cols-2","lg:grid-cols-4"),children:(null!=t?t:[]).map((e,t)=>(0,s.jsxs)("div",{className:(0,i.cn)("bg-shell flex flex-col gap-6 items-start","px-6 py-[50px]","rounded-[24px]","border border-void/10","shadow-[0px_4px_10px_0px_rgba(2,2,18,0.05)]"),children:[(0,s.jsx)("p",{className:"text-h2 leading-[0.96] text-void w-full",children:(0,s.jsx)(x,{value:e.value,active:p,cardDelay:120*t})}),(0,s.jsx)("p",{className:(0,i.cn)("font-sans font-bold uppercase text-void/30 w-full","tracking-[0.04em] leading-none","text-xs lg:text-[15px] lg:leading-[1.1]"),children:e.label})]},t))}),(0,s.jsx)("p",{className:(0,i.cn)("font-sans font-light text-void/40 text-left w-full leading-[1.4]","text-base md:text-lg"),children:l})]}),(null==d?void 0:d.href)?(0,s.jsx)(n.Button,{variant:"solid-dark",className:"shrink-0 px-5 py-3 text-base gap-[13px] leading-[normal]",showDefaultIcon:!0,asChild:!0,children:(0,s.jsx)("a",{href:d.href,children:d.label})}):(0,s.jsx)(n.Button,{variant:"solid-dark",onClick:null==d?void 0:d.onClick,className:"shrink-0 px-5 py-3 text-base gap-[13px] leading-[normal]",showDefaultIcon:!0,children:null==d?void 0:d.label})]})};d.displayName="StakingStats"},33519:(e,t,l)=>{l.r(t),l.d(t,{StakingCta:()=>r});var s=l(73365);l(1521);var a=l(14130),n=l(21991),i=l(40641);let r=e=>{let{surheading:t,heading:l,description:r,primaryButton:x,secondaryButton:d,className:o}=e;return(0,s.jsxs)(i.AngledBackground,{backgroundColor:"signal",clipEdges:"both",gradient:"none",className:(0,a.cn)("!py-0 -mb-[80px] md:-mb-[120px] lg:-mb-[160px] z-[80]",o),children:[(0,s.jsx)("div",{"aria-hidden":"true",className:"absolute inset-0 pointer-events-none",style:{backgroundImage:"url('/images/staking/staking-cta.png')",backgroundSize:"cover",backgroundPosition:"center",mixBlendMode:"screen",opacity:.5}}),(0,s.jsxs)("div",{className:(0,a.cn)("relative z-10 flex flex-col items-center text-center text-shell","gap-[40px] py-[20vh] px-[22px]","md:gap-[48px] md:py-[18vh] md:px-[60px]","lg:py-[20vh]"),children:[(0,s.jsxs)("div",{className:(0,a.cn)("flex flex-col items-center gap-[22px] w-full","md:gap-[32px]","xl:max-w-[900px]"),children:[(0,s.jsx)("p",{className:(0,a.cn)("font-sans font-normal uppercase tracking-[0.04em] w-full","text-xs leading-none","xl:text-[15px] xl:leading-[1.1]"),children:t}),(0,s.jsx)("h2",{className:(0,a.cn)("font-display w-full","text-h2 leading-[0.96]"),children:l}),(0,s.jsx)("p",{className:(0,a.cn)("font-sans font-light leading-[1.4] w-full","text-base","xl:text-[20px]"),children:r})]}),(0,s.jsxs)("div",{className:(0,a.cn)("flex flex-col gap-4 items-center w-full","md:flex-row md:gap-2 md:justify-center md:w-auto"),children:[x&&(0,s.jsx)(n.Button,{variant:"solid-dark",size:"md",className:"hover:!bg-pulse hover:!text-void",asChild:!0,children:(0,s.jsx)("a",{href:x.href,target:"_blank",rel:"noopener noreferrer",children:x.label})}),d&&(0,s.jsx)(n.Button,{variant:"outline-light",size:"md",asChild:!0,children:(0,s.jsx)("a",{href:d.href,target:"_blank",rel:"noopener noreferrer",children:d.label})})]})]})]})};r.displayName="StakingCta"},40641:(e,t,l)=>
1{l.r(t),l.d(t,{AngledBackground:()=>x});var s=l(73365),a=l(1521),n=l(14130);let i={ai:["linear-gradient(to top, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%)","linear-gradient(to left, rgba(92,114,255,0.25) 0%, rgba(92,114,255,0.06) 30%, rgba(0,213,102,0.06) 70%, rgba(0,213,102,0.25) 100%)"],gaming:["linear-gradient(to top, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%)","linear-gradient(to right, rgba(92,114,255,0.25) 0%, rgba(92,114,255,0.06) 30%, rgba(0,213,102,0.06) 70%, rgba(0,213,102,0.25) 100%)"],none:[]},r={shell:"var(--color-shell)",void:"var(--color-void)",signal:"var(--color-signal)",pulse:"var(--color-pulse)",transparent:"transparent"},x=a.forwardRef((e,t)=>{let{gradient:l="none",angle:x,clipPath:d="polygon(0% 12%, 100% 0%, 100% 88%, 0% 100%)",clipEdges:o="both",backgroundColor:c="transparent",className:p,children:f}=e,m=function(){let[e,t]=a.useState(!1);return a.useEffect(()=>{let e=window.matchMedia("(max-width: 767px)");t(e.matches);let l=e=>{t(e.matches)};return e.addEventListener("change",l),()=>{e.removeEventListener("change",l)}},[]),e}(),h=null!=x?x:m?4:6,g=a.useMemo(()=>{if(void 0===h)return;let e=Math.min(Math.max(Math.abs(h),0),45);return Number.isFinite(e)?e:m?4:6},[h,m]),u=a.useMemo(()=>{if(void 0===g)return null;let e=Math.min(100*Math.tan(g*Math.PI/180)*.7,25),t=100-e;return"top"===o?"polygon(0% ".concat(e,"%, 100% 0%, 100% 100%, 0% 100%)"):"bottom"===o?"polygon(0% 0%, 100% 0%, 100% ".concat(t,"%, 0% 100%)"):"polygon(0% ".concat(e,"%, 100% 0%, 100% ").concat(t,"%, 0% 100%)")},[g,o]),v=a.useMemo(()=>u||("top"===o?"polygon(0% 12%, 100% 0%, 100% 100%, 0% 100%)":"bottom"===o?"polygon(0% 0%, 100% 0%, 100% 88%, 0% 100%)":d),[u,o,d]),j=a.useMemo(()=>{if("string"==typeof c){let e=r[c];return null!=e?e:c}return null!=c?c:"transparent"},[c]),b=a.useMemo(()=>{var e;return Array.isArray(l)?l:null!=(e=i[l])?e:[]},[l]);return(0,s.jsx)("div",{ref:t,className:(0,n.cn)("relative w-full py-[20vh] md:py-[18vh] lg:py-[20vh]",p),style:{backgroundColor:j,backgroundImage:b.join(","),clipPath:v,transform:"translateZ(0)",willChange:"clip-path",backfaceVisibility:"hidden"},children:f})});x.displayName="AngledBackground"},48277:(e,t,l)=>{l.d(t,{I:()=>a});var s=l(77395);let a=()=>{let[e,t]=(0,s.J0)(!1);return(0,s.vJ)(()=>{let e=window.matchMedia("(prefers-reduced-motion: reduce)");t(e.matches);let l=e=>{t(e.matches)};return e.addEventListener("change",l),()=>{e.removeEventListener("change",l)}},[]),e}},55895:(e,t,l)=>{l.r(t),l.d(t,{StakingHero:()=>o});var s=l(73365);l(1521);var a=l(25826),n=l(59534),i=l.n(n),r=l(21991),x=l(14130),d=l(41e3);let o=e=>{let{surheading:t,titleLine1:l,titleLine2:n,titleLine3:o,description:c,primaryButton:p,secondaryButton:f,badges:m,className:h}=e;return(0,s.jsxs)("div",{className:(0,x.cn)("bg-void flex flex-col items-center justify-center relative w-full overflow-hidden","min-h-screen md:min-h-0",h),style:{clipPath:"polygon(0 0, 100% 0, 100% 90%, 0 100%)"},children:[(0,s.jsx)(a.default,{src:"/images/staking/hero-background-mobile.png",alt:"Staking Hero Background",fill:!0,className:"object-fill md:hidden",priority:!0}),(0,s.jsx)(a.default,{src:"/images/staking/hero-background-tablet.png",alt:"Staking Hero Background",fill:!0,className:"hidden md:block lg:hidden object-fill",priority:!0}),(0,s.jsx)(a.default,{src:"/images/staking/hero-background.png",alt:"Staking Hero Background",fill:!0,className:"hidden lg:block object-contain object-[center_0] 2xl:object-fill",priority:!0}),(0,s.jsxs)("div",{className:(0,x.cn)("box-border flex flex-col items-center justify-center w-full z-10 text-center","pt-[120px] pb-40 px-0","gap-6 md:gap-8 lg:gap-12","md:pb-48 md:pt-32","lg:pb-[240px] lg:pt-[200px]"),children:[(0,s.jsx)("p",{className:(0,x.cn)("text-pulse uppercase font-sans font-normal","tracking-[0.04em] leading-none","text-xs lg:text-[15px] lg:leading-[1.1]")}),(0,s.jsxs)("div",{className:(0,x.cn)("text-h1 text-center","px-[22px] lg:px-0","w-full"),children:[(0,s.jsx)("p",{className:"text-shell mb-0",children:l}),(0,s.jsx)("p",{className:"text-shell mb-0",children:n}),(0,s.jsx)("p",{className:"text-pulse",children:o})]}),(0,s.jsx)("p",{className:(0,x.cn)("text-shell font-sans font-light text-center leading-[1.4]","px-[22px] lg:px-0","text-base md:text-lg","md:max-w-[618px] lg:max-w-[850px]"),children:c}),(0,s.jsxs)("div",{className:(0,x.cn)("flex flex-col gap-2 items-center justify-center","md:flex-row md:gap-2"),children:[(null==p?void 0:p.href)?(0,s.jsx)(r.Button,{variant:"solid-light",className:"shrink-0 px-5 py-3 text-base gap-[13px] leading-[normal]",showDefaultIcon:!0,asChild:!0,children:(0,s.jsx)(i(),{href:p.href,children:p.label})}):(0,s.jsx)(r.Button,{variant:"solid-light",onClick:null==p?void 0:p.onClick,className:"shrink-0 px-5 py-3 text-base gap-[13px] leading-[normal]",showDefaultIcon:!0,children:null==p?void 0:p.label}),f&&(f.href?(0,s.jsx)(r.Button,{variant:"outline-light",className:"shrink-0 px-5 py-3 text-base gap-[13px] leading-[normal]",showDefaultIcon:!0,asChild:!0,children:(0,s.jsx)(i(),{href:f.href,children:f.label})}):(0,s.jsx)(r.Button,{variant:"outline-light",onClick:null==f?void 0:f.onClick,className:"shrink-0 px-5 py-3 text-base gap-[13px] leading-[normal]",showDefaultIcon:!0,children:null==f?void 0:f.label}))]}),m&&m.length>0&&(0,s.jsx)("div",{className:(0,x.cn)("flex items-center","flex-col gap-4","md:flex-row md:gap-12"),children:m.map((e,t)=>(0,s.jsxs)("div",{className:"flex items-center gap-[10px]",children:[(0,s.jsx)(d.A,{className:"size-[10px] text-pulse shrink-0",strokeWidth:3}),(0,s.jsx)("span",{className:(0,x.cn)("text-shell font-sans font-bold uppercase","tracking-[0.04em] leading-none","text-xs"),children:e})]},t))})]})]})};o.displayName="StakingHero"},79719:(e,t,l)=>{l.r(t),l.d(t,{StakingWhy:()=>c});var s=l(73365);l(1521);var a=l(62393),n=l(77832),i=l(37215),r=l(21401),x=l(14130);let d={shield:a.A,star:n.A,network:i.A,growth:r.A},o=e=>{let{card:t}=e,l=d[t.iconName];return(0,s.jsxs)("div",{className:(0,x.cn)("bg-white rounded-[24px] flex flex-col items-center gap-[27px]","p-[30px]","xl:p-[80px]"),children:[(0,s.jsx)("div",{className:"bg-signal flex items-center justify-center p-[10px] rounded-[8px] shrink-0",children:(0,s.jsx)(l,{className:"size-[32px] text-white",strokeWidth:1.5})}),(0,s.jsxs)("div",{className:"flex flex-col gap-[27px] items-start text-center w-full",children:[(0,s.jsx)("p",{className:(0,x.cn)("font-display text-void leading-[0.96] w-full","text-[28px]","md:text-[40px]","xl:text-[48px]"),children:t.title}),(0,s.jsx)("p",{className:(0,x.cn)("font-sans font-light leading-[1.4] text-void/80 w-full","text-base","xl:text-[20px]"),children:t.description})]})]})},c=e=>
1{let{titleAccent:t,titleRest:l,cards:a,className:n}=e;return(0,s.jsx)("section",{className:(0,x.cn)("bg-shell w-full","py-[56px] px-[22px]","md:py-[120px] md:px-[60px]",n),children:(0,s.jsxs)("div",{className:(0,x.cn)("flex flex-col items-center mx-auto w-full","gap-[56px]","md:gap-[108px]","2xl:max-w-[1280px]"),children:[(0,s.jsxs)("h2",{className:(0,x.cn)("xl:hidden text-h1 text-void text-center w-full","leading-[0.88]"),children:["WHY VFY HOLDERS",(0,s.jsx)("br",{}),"ARE STAKING"]}),(0,s.jsxs)("h2",{className:(0,x.cn)("hidden xl:block font-display text-void text-center w-full","text-h2 leading-[0.96]"),children:[(0,s.jsx)("span",{className:"text-signal",children:t}),l]}),(0,s.jsx)("div",{className:(0,x.cn)("grid gap-[24px] w-full","grid-cols-1","md:grid-cols-2","xl:gap-[48px]"),children:(null!=a?a:[]).map((e,t)=>(0,s.jsx)(o,{card:e},t))})]})})};c.displayName="StakingWhy"},87923:(e,t,l)=>{l.r(t),l.d(t,{StakingMonitor:()=>c});var s=l(73365),a=l(1521),n=l(14130),i=l(26398),r=l(48277);let x=e=>{let{data:t}=e,[l,n]=a.useState(null),x=a.useRef(null),d=a.useRef(null),o=a.useRef(null),c=a.useRef(!1),p=(0,r.I)();if(a.useEffect(()=>{let e=x.current,t=d.current,l=o.current;if(!e||!t||!l||p)return;let s=new IntersectionObserver(e=>{let[a]=e;if(a.isIntersecting&&!c.current){c.current=!0,s.disconnect();let e=t.getTotalLength(),a=l.getTotalLength();i.o.set(t,{strokeDasharray:e,strokeDashoffset:e}),i.o.set(l,{strokeDasharray:a,strokeDashoffset:a}),i.o.to(t,{strokeDashoffset:0,duration:1.6,ease:"power2.out"}),i.o.to(l,{strokeDashoffset:0,duration:1.6,ease:"power2.out",delay:.25})}},{threshold:.4});return s.observe(e),()=>s.disconnect()},[p,t]),t.length<2)return null;let f=[...t.map(e=>e.staked),...t.map(e=>e.rewardRate)],m=5e6*Math.floor(Math.min(...f)/5e6),h=5e6*Math.ceil(Math.max(...f,1)/5e6),g=420/(t.length-1),u=e=>48+e*g,v=e=>8+(1-(e-m)/(h-m))*164,j=e=>8+(1-(e-m)/(h-m))*164,b=t.map((e,t)=>"".concat(0===t?"M":"L").concat(u(t).toFixed(1),",").concat(v(e.staked).toFixed(1))).join(" "),N=t.map((e,t)=>"".concat(0===t?"M":"L").concat(u(t).toFixed(1),",").concat(j(e.rewardRate).toFixed(1))).join(" "),w=[0,.25,.5,.75,1].map(e=>({y:8+(1-e)*164,label:"".concat(Math.round((m+(h-m)*e)/1e6),"M")})),k=[];for(let e=0;e<t.length;e+=3)k.push({x:u(e),label:t[e].date});(t.length-1)%3!=0&&k.push({x:u(t.length-1),label:t[t.length-1].date});let y=e=>e>=1e6?"".concat((e/1e6).toFixed(2),"M"):e.toLocaleString("en-US",{maximumFractionDigits:0});return(0,s.jsxs)("svg",{ref:x,viewBox:"0 0 ".concat(500," ").concat(200),className:"w-full h-auto","aria-hidden":"true",children:[w.map((e,t)=>(0,s.jsxs)("g",{children:[(0,s.jsx)("line",{x1:48,y1:e.y,x2:468,y2:e.y,stroke:"rgba(2,2,18,0.08)",strokeWidth:"1"}),(0,s.jsx)("text",{x:42,y:e.y+4,textAnchor:"end",fontSize:"9",fontFamily:"Space Grotesk, sans-serif",fontWeight:"700",fill:"rgba(2,2,18,0.4)",children:e.label})]},t)),k.map((e,t)=>(0,s.jsx)("text",{x:e.x,y:196,textAnchor:"middle",fontSize:"9",fontFamily:"Space Grotesk, sans-serif",fontWeight:"700",fill:"rgba(2,2,18,0.4)",children:e.label},t)),(0,s.jsx)("path",{ref:o,d:N,fill:"none",stroke:"#5c72ff",strokeWidth:"2",strokeLinejoin:"round"}),(0,s.jsx)("path",{ref:d,d:b,fill:"none",stroke:"#b5ffa5",strokeWidth:"2",strokeLinejoin:"round"}),t.map((e,t)=>{let a=u(t),i=v(e.staked),r=j(e.rewardRate),x=l===t;return(0,s.jsxs)("g",{children:[(0,s.jsx)("rect",{x:a-8,y:8,width:16,height:164,fill:"transparent",style:{cursor:"pointer"},onMouseEnter:()=>n(t),onMouseLeave:()=>n(null)}),x&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("circle",{cx:a,cy:i,r:4,fill:"#b5ffa5",stroke:"#020212",strokeWidth:1}),(0,s.jsx)("circle",{cx:a,cy:r,r:4,fill:"#5c72ff",stroke:"#020212",strokeWidth:1})]})]},t)}),null!==l&&(()=>{let e=t[l],a=u(l),n=a+140+10>468?a-140-10:a+10;return(0,s.jsxs)("g",{children:[(0,s.jsx)("rect",{x:n,y:18,width:140,height:70,rx:8,fill:"white",stroke:"rgba(2,2,18,0.1)",strokeWidth:1,style:{filter:"drop-shadow(0px 2px 8px rgba(0,0,0,0.1))"}}),(0,s.jsx)("text",{x:n+10,y:34,fontSize:"10",fontFamily:"Space Grotesk, sans-serif",fontWeight:"700",fill:"#020212",children:e.date}),(0,s.jsx)("circle",{cx:n+10,cy:50,r:3,fill:"#b5ffa5"}),(0,s.jsxs)("text",{x:n+18,y:54,fontSize:"9",fontFamily:"Space Grotesk, sans-serif",fontWeight:"600",fill:"#020212",children:["Staked: ",y(e.staked)]}),(0,s.jsx)("circle",{cx:n+10,cy:68,r:3,fill:"#5c72ff"}),(0,s.jsxs)("text",{x:n+18,y:72,fontSize:"9",fontFamily:"Space Grotesk, sans-serif",fontWeight:"600",fill:"#020212",children:["Delegated: ",y(e.rewardRate)]})]})})()]})};function d(e,t,l,s){let a=(s-90)*Math.PI/180;return{x:e+l*Math.cos(a),y:t+l*Math.sin(a)}}let o=e=>{let{data:t,startRotation:l=350}=e,n=a.useRef(null),x=a.useRef([]),o=a.useRef(!1),c=(0,r.I)();if(a.useEffect(()=>{let e=n.current;if(!e||c)return;let t=new IntersectionObserver(e=>{let[l]=e;if(l.isIntersecting&&!o.current){o.current=!0,t.disconnect();let e=x.current.filter(Boolean);i.o.set(e,{scale:0,svgOrigin:"100 100",opacity:0}
1),i.o.to(e,{scale:1,opacity:1,duration:.55,stagger:.08,ease:"back.out(1.4)"})}},{threshold:.4});return t.observe(e),()=>t.disconnect()},[c,t]),0===t.length)return null;let p=l,f=t.map(e=>{let t=e.percentage/100*360,l={item:e,startDeg:p,endDeg:p+t};return p+=t,l});return(0,s.jsxs)("svg",{ref:n,viewBox:"0 0 200 200",className:"w-[240px] h-[240px] md:w-[280px] md:h-[280px] xl:w-[320px] xl:h-[320px]","aria-hidden":"true",children:[f.map((e,t)=>{let{item:l,startDeg:a,endDeg:n}=e;return(0,s.jsx)("path",{ref:e=>{x.current[t]=e},d:function(e,t,l,s,a){let n=d(100,100,90,s),i=d(100,100,90,a);return"M".concat(e,",").concat(t," L").concat(n.x.toFixed(2),",").concat(n.y.toFixed(2)," A").concat(l,",").concat(l," 0 ").concat(+(a-s>180),",1 ").concat(i.x.toFixed(2),",").concat(i.y.toFixed(2)," Z")}(100,100,90,a,n),fill:l.color},t)}),(0,s.jsx)("circle",{cx:100,cy:100,r:52,fill:"white"})]})},c=e=>{var t,l,a,i,r;let{surheading:d,heading:c,description:p,lineChart:f,donutChart:m,className:h}=e,g=null!=(t=null==f?void 0:f.data)?t:[],u=null!=(l=null==m?void 0:m.data)?l:[];return(0,s.jsxs)("section",{id:"monitor",className:(0,n.cn)("bg-shell w-full flex flex-col items-start","gap-[38px] py-[56px] px-[22px]","md:gap-[38px] md:py-[120px] md:px-[60px]","xl:gap-[60px]",h),children:[(0,s.jsxs)("div",{className:"flex flex-col gap-[38px] items-start w-full",children:[(0,s.jsx)("p",{className:(0,n.cn)("font-sans font-bold uppercase text-signal","tracking-[0.04em] leading-[1.1] text-[15px]"),children:d}),(0,s.jsx)("h2",{className:(0,n.cn)("font-display text-void w-full","text-h2 leading-[0.96]"),children:c}),(0,s.jsx)("p",{className:(0,n.cn)("font-sans font-light leading-[1.4] text-void","text-lg","xl:text-[24px]"),children:p})]}),(0,s.jsxs)("div",{className:(0,n.cn)("flex w-full","flex-col gap-[24px]","md:flex-row md:gap-[24px]","xl:gap-[40px] xl:pt-[60px]"),children:[(0,s.jsxs)("div",{className:(0,n.cn)("bg-white flex-1 flex flex-col items-center","rounded-[12px] shadow-[0px_4px_6px_0px_rgba(0,0,0,0.09)]","p-[24px] gap-[24px]","xl:rounded-[24px] xl:p-[56px] xl:gap-[40px]"),children:[(0,s.jsxs)("div",{className:"flex flex-col gap-[8px] items-center text-center text-void w-full",children:[(0,s.jsx)("p",{className:(0,n.cn)("font-display leading-[0.96] w-full","text-[28px]","md:text-[24px]","xl:text-[48px]"),children:null!=(a=null==f?void 0:f.title)?a:"Total VFY Staked Over Time"}),(0,s.jsx)("p",{className:(0,n.cn)("font-sans font-light leading-[1.4] w-full","text-xs","xl:text-[20px]"),children:null!=(i=null==f?void 0:f.subtitle)?i:"30-day rolling window \xb7 Updated live"})]}),(0,s.jsx)(x,{data:g}),(0,s.jsxs)("div",{className:"flex gap-5 items-center justify-end w-full mt-6",children:[(0,s.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,s.jsx)("div",{className:"size-[10px] rounded-full bg-pulse shrink-0"}),(0,s.jsx)("span",{className:"font-sans font-bold text-xs text-void",children:"Total VFY Staked"})]}),(0,s.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,s.jsx)("div",{className:"size-[10px] rounded-full bg-signal shrink-0"}),(0,s.jsx)("span",{className:"font-sans font-bold text-xs text-void",children:"Delegated Stake"})]})]})]}),(0,s.jsxs)("div",{className:(0,n.cn)("bg-white flex-1 flex flex-col items-center","rounded-[12px] shadow-[0px_4px_6px_0px_rgba(0,0,0,0.09)]","p-[24px] gap-[24px]","xl:rounded-[24px] xl:p-[56px] xl:gap-[40px]"),children:[(0,s.jsx)("p",{className:(0,n.cn)("font-display leading-[0.96] text-void text-center w-full","text-[28px]","md:text-[24px]","xl:text-[48px]"),children:null!=(r=null==m?void 0:m.title)?r:"Validator Stake Distribution"}),(0,s.jsx)("div",{className:"w-full flex justify-center flex-1 items-center",children:(0,s.jsx)(o,{data:u})}),(0,s.jsx)("div",{className:"grid grid-cols-2 xl:grid-cols-4 gap-3 w-full",children:u.map((e,t)=>(0,s.jsxs)("div",{className:"flex flex-col gap-1 px-3 py-3",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)("div",{className:"size-3 rounded-full shrink-0",style:{backgroundColor:e.color,border:"#d0d0f0"===e.color?"1.5px solid #a0a0c0":void 0}}),(0,s.jsx)("span",{className:"font-sans font-bold text-xs text-void",children:e.name})]}),(0,s.jsxs)("span",{className:"font-sans font-semibold text-xs text-void/60 pl-5",children:[e.percentage.toFixed(1),"%"]})]},t))})]})]})]})};c.displayName="StakingMonitor"},92461:(e,t,l)=>{l.r(t),l.d(t,{StakingOptions:()=>w});
1var s=l(73365),a=l(1521),n=l(62446),i=l(25826),r=l(59534),x=l.n(r),d=l(14130),o=l(21991),c=l(43593),p=l(72196);function f(e){let{...t}=e;return(0,s.jsx)(c.bL,{"data-slot":"dialog",...t})}function m(e){let{...t}=e;return(0,s.jsx)(c.ZL,{"data-slot":"dialog-portal",...t})}function h(e){let{className:t,...l}=e;return(0,s.jsx)(c.hJ,{"data-slot":"dialog-overlay",className:(0,d.cn)("fixed inset-0 z-50 bg-void/80","data-[state=open]:animate-in data-[state=closed]:animate-out","data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",t),...l})}function g(e){let{...t}=e;return(0,s.jsx)(c.bm,{"data-slot":"dialog-close",...t})}function u(e){let{className:t,children:l,...a}=e;return(0,s.jsxs)(m,{children:[(0,s.jsx)(h,{}),(0,s.jsxs)(c.UC,{"data-slot":"dialog-content",className:(0,d.cn)("fixed left-1/2 top-1/2 z-50 w-full max-w-3xl -translate-x-1/2 -translate-y-1/2 px-4","data-[state=open]:animate-in data-[state=closed]:animate-out","data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0","data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95",t),...a,children:[l,(0,s.jsxs)(g,{className:"absolute -top-3 -right-3 size-8 rounded-full bg-shell flex items-center justify-center border border-void/20 hover:bg-void hover:text-shell transition-colors",children:[(0,s.jsx)(p.A,{className:"size-4"}),(0,s.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})}function v(e){let{...t}=e;return(0,s.jsx)(c.l9,{"data-slot":"dialog-trigger",...t})}function j(e){let{className:t,...l}=e;return(0,s.jsx)(c.hE,{"data-slot":"dialog-title",className:t,...l})}let b={recommended:"bg-pulse/40 text-void",advanced:"bg-signal/20 text-void"},N={recommended:"bg-pulse/10 border border-pulse/60",advanced:"bg-signal/5 border-0"},w=e=>{let{surheading:t,titleLine1:l,titleLine2:r,subtitle:c,options:p,className:m}=e,[h,g]=(0,a.useState)({});return(0,s.jsxs)("section",{id:"howtostakevfy",className:(0,d.cn)("bg-shell w-full flex flex-col items-center","gap-[60px] py-14 px-[22px]","md:py-[60px] md:px-[60px]","xl:py-[240px] xl:gap-[112px]",m),children:[(0,s.jsxs)("div",{className:"flex flex-col items-center gap-7 w-full xl:gap-8",children:[(0,s.jsx)("p",{className:(0,d.cn)("font-sans font-bold uppercase text-signal text-center","tracking-[0.04em] leading-[1.1] text-[15px]"),children:t}),(0,s.jsxs)("h2",{className:(0,d.cn)("font-display uppercase text-center w-full","text-h1 leading-[0.88]","md:leading-[0.9]","xl:leading-[0.84]"),children:[(0,s.jsx)("span",{className:"block text-void",children:l}),(0,s.jsx)("span",{className:"block text-signal",children:r})]}),(0,s.jsx)("p",{className:(0,d.cn)("font-sans font-light leading-[1.4] text-void text-center","text-lg","xl:text-[24px] xl:max-w-[1034px]"),children:c})]}),(0,s.jsx)("div",{className:(0,d.cn)("flex flex-col gap-6 w-full","lg:flex-row xl:gap-8"),children:(null!=p?p:[]).map((e,t)=>(0,s.jsxs)("div",{className:(0,d.cn)("flex flex-col gap-7 w-full","bg-shell border border-void/10 rounded-[24px]","p-6","xl:flex-1 xl:p-20 xl:gap-[27px]"),children:[(0,s.jsx)("div",{className:(0,d.cn)("inline-flex items-center justify-center rounded-full px-5 py-2 self-start","pulse"===e.badgeVariant?"bg-pulse":"bg-signal"),children:(0,s.jsx)("span",{className:(0,d.cn)("font-sans font-bold text-xs uppercase tracking-[0.04em] leading-none","pulse"===e.badgeVariant?"text-void":"text-shell"),children:e.badge})}),(0,s.jsxs)("div",{className:"flex flex-col gap-7 w-full xl:gap-[27px]",children:[(0,s.jsx)("p",{className:(0,d.cn)("font-display leading-[0.96] text-void w-full","text-[28px]","md:text-[40px]","xl:text-[48px]"),children:e.title}),(0,s.jsx)("p",{className:(0,d.cn)("font-sans font-light leading-[1.4] text-void/80 w-full","text-base","xl:text-[20px]"),children:e.description}),e.stakingRows&&e.stakingRows.length>0&&(0,s.jsx)("div",{className:"flex flex-col gap-[10px] w-full",children:e.stakingRows.map((e,l)=>{let a=h[t]===l;return(0,s.jsxs)("div",{className:(0,d.cn)("rounded-[8px] w-full overflow-hidden",N[e.labelVariant]),children:[(0,s.jsxs)("button",{type:"button",onClick:()=>((e,t)=>{g(l=>({...l,[e]:l[e]===t?null:t}))})(t,l),className:"flex items-center justify-between w-full p-[10px] cursor-pointer",children:[(0,s.jsxs)("div",{className:"flex flex-col items-start gap-[5px] md:flex-row md:items-center md:gap-[10px]",children:[(0,s.jsx)("span",{className:(0,d.cn)("inline-flex items-center justify-center rounded-[4px] px-2 py-1","font-sans font-normal text-xs xl:text-[15px] uppercase tracking-[0.04em] leading-[1.1] whitespace-nowrap",b[e.labelVariant]),children:e.label}),(0,s.jsx)("span",{className:"font-sans font-bold text-[16px] md:text-[20px] leading-[1.4] text-void/80",children:e.title})]}),(0,s.jsx)(n.A,{className:(0,d.cn)("size-8 text-void shrink-0 transition-transform duration-200",a&&"rotate-180"),strokeWidth:1.4})]}),a&&(0,s.jsxs)("div",{className:"px-[10px] pb-[10px] flex flex-col gap-[27px]",children:[(e.description||e.steps)&&(0,s.jsxs)("div",{className:"flex flex-col gap-6",children:[e.description&&(0,s.jsx)("p",{className:"font-sans font-light text-[20px] leading-[1.4] text-void/80",children:e.description}),e.steps&&e.steps.length>0&&(0,s.jsx)("ol",{className:"flex flex-col gap-2 pl-5 list-decimal",children:e.steps.map((e,t)=>(0,s.jsx)("li",{className:"font-sans font-light text-[20px] leading-[1.4] text-void/80",children:e},t))})]}),e.buttons&&e.buttons.length>0&&(0,s.jsx)("div",{className:"flex flex-col items-start gap-[10px]",children:e.buttons.map((e,t)=>{var l,a;let n=null==(l=e.href)?void 0:l.startsWith("http");return e.thumbnailSrc?(0,s.jsxs)(f,{children:[(0,s.jsx)(v,{asChild:!0,children:(0,s.jsxs)("button",{className:"flex flex-col items-center gap-[13px] rounded-[20px] border border-void pt-5 pb-3 px-5 transition-colors duration-200 hover:border-signal w-full max-w-[250px] cursor-pointer",children:[(0,s.jsxs)("div",{className:"relative w-full",children:[(0,s.jsx)(i.default,{src:e.thumbnailSrc,alt:e.label,width:187,height:125,className:"w-full h-auto"}),(0,s.jsx)("div",{className:"absolute inset-0 flex items-center justify-center",children:(0,s.jsx)("div",{className:"size-[27px] rounded-full bg-shell/70 border border-void flex items-center justify-center",children:(0,s.jsx)(i.default,{src:"/images/staking/icon-play.svg",alt:"",width:27,height:27})})})]}),(0,s.jsx)("span",{className:"font-sans text-base font-normal text-void",children:e.label})]})}),e.embedUrl&&(0,s.jsxs)(u,{children:[(0,s.jsx)(j,{className:"sr-only",children:e.label}),(0,s.jsx)("div",{className:"relative w-full aspect-video",children:(0,s.jsx)("iframe",{src:"".concat(e.embedUrl,"?autoplay=1"),title:e.label,allow:"autoplay; fullscreen; picture-in-picture",allowFullScreen:!0,className:"absolute inset-0 w-full h-full rounded-xl"})})]})]}
1,t):(0,s.jsx)(o.Button,{variant:0===t?"solid-dark":"outline-dark",size:"sm",asChild:!0,children:(0,s.jsx)(x(),{href:null!=(a=e.href)?a:"#",...n?{target:"_blank",rel:"noopener noreferrer"}:{},children:e.label})},t)})})]})]},l)})}),e.bulletPoints&&e.bulletPoints.length>0&&(0,s.jsx)("ul",{className:(0,d.cn)("list-disc font-sans font-light leading-[1.4] text-void/80 w-full","text-base xl:text-[20px]","pl-6 space-y-[10px]"),children:e.bulletPoints.map((e,t)=>(0,s.jsx)("li",{children:e},t))})]}),e.buttons&&e.buttons.length>0&&(0,s.jsx)("div",{className:(0,d.cn)("flex items-start","flex-col gap-4","md:flex-row md:gap-[10px]"),children:e.buttons.map((e,t)=>{var l,a;let n=null==(l=e.href)?void 0:l.startsWith("http");return(0,s.jsx)(o.Button,{variant:0===t?"solid-dark":"outline-dark",size:"sm",className:(0,d.cn)("w-full max-md:text-xs md:w-auto","max-md:!h-auto max-md:min-h-11 max-md:py-2.5 max-md:!whitespace-normal","max-md:min-w-0 max-md:flex-wrap max-md:justify-center max-md:gap-y-1","max-md:[&>span]:w-full max-md:[&>span]:flex-wrap max-md:[&>span]:justify-center","max-md:[&>span>span:first-of-type]:min-w-0 max-md:[&>span>span:first-of-type]:flex-1 max-md:[&>span>span:first-of-type]:text-center"),asChild:!0,children:(0,s.jsx)(x(),{href:null!=(a=e.href)?a:"#",...n?{target:"_blank",rel:"noopener noreferrer"}:{},children:e.label})},t)})})]},t))})]})};w.displayName="StakingOptions"}}]);

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.