1import{c as j,b as y,j as t,C as w,L as N,O as k}from"./index-BgVB0WHL.js";import{u as v}from"./useTranslation-DjZXLvNW.js";import{L as _}from"./language-switcher-CS5VxT1E.js";function C(r){const e=j.c(22),{variant:n}=r,a=n===void 0?"default":n,{t:o}=v(),s=a==="transparent",l=!s&&"bg-background/50 backdrop-blur-sm";let d;e[0]!==l?(d=y("w-full",l),e[0]=l,e[1]=d):d=e[1];const f=s?"justify-start":"flex-col-reverse md:flex-row justify-between";let i;e[2]!==f?(i=y("flex items-center gap-4",f),e[2]=f,e[3]=i):i=e[3];let m;e[4]!==o?(m=o("footer.copyright",{year:new Date().getFullYear()}),e[4]=o,e[5]=m):m=e[5];let c;e[6]!==m?(c=t.jsx("span",{className:"text-sm text-muted-foreground",children:m}),e[6]=m,e[7]=c):c=e[7];let h;e[8]===Symbol.for("react.memo_cache_sentinel")?(h=t.jsx("a",{href:"https://x.com/nuwealthio",target:"_blank",rel:"noopener noreferrer",className:"text-muted-foreground hover:text-foreground transition-colors","aria-label":"Twitter",children:t.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"currentColor",children:[t.jsx("title",{children:"Twitter"}),t.jsx("path",{d:"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"})]})}),e[8]=h):h=e[8];let g;e[9]===Symbol.for("react.memo_cache_sentinel")?(g=t.jsxs("div",{className:"flex items-center gap-3",children:[h,t.jsx("a",{href:"https://www.linkedin.com/company/nuwealthio/",target:"_blank",rel:"noopener noreferrer",className:"text-muted-foreground hover:text-foreground transition-colors","aria-label":"LinkedIn",children:t.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"currentColor",children:[t.jsx("title",{children:"LinkedIn"}),t.jsx("path",{d:"M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433a2.062 2.062 0 0 1-2.063-2.065 2.064 2.064 0 1 1 2.063 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"})]})})]}),e[9]=g):g=e[9];let u;e[10]!==c?(u=t.jsxs("div",{className:"flex items-center gap-4",children:[c,g]}),e[10]=c,e[11]=u):u=e[11];let x;e[12]!==s||e[13]!==o?(x=!s&&t.jsx("a",{href:"https://app.morpho.org",target:"_blank",rel:"noopener noreferrer",className:"opacity-40 hover:opacity-70 transition-opacity duration-300",children:t.jsx("img",{src:"/img/morpho-dark.svg",alt:o("footer.poweredByMorpho"),className:"h-5 w-auto"})}),e[12]=s,e[13]=o,e[14]=x):x=e[14];let p;e[15]!==u||e[16]!==x||e[17]!==i?(p=t.jsx("div",{className:"container mx-auto px-4 md:px-6 lg:px-8 py-6 md:py-8",children:t.jsxs("div",{className:i,children:[u,x]})}),e[15]=u,e[16]=x,e[17]=i,e[18]=p):p=e[18];let b;return e[19]!==p||e[20]!==d?(b=t.jsx("footer",{className:d,children:p}),e[19]=p,e[20]=d,e[21]=b):b=e[21],b}function L(){const r=j.c(2),{t:e}=v();let n;return r[0]!==e?(n=t.jsx(w.Custom,{children:a=>{const{account:o,chain:s,openAccountModal:l,openChainModal:d,openConnectModal:f,authenticationStatus:i,mounted:m}=a,c=m&&i!=="loading",h=c&&o&&s&&(!i||i==="authenticated");return t.jsx("div",{...!c&&{"aria-hidden":!0,style:{opacity:0,pointerEvents:"none",userSelect:"none"}},children:h?s.unsupported?t.jsx("button",{onClick:d,type:"button",className:"h-9 px-4 rounded-lg border border-red-500/30 bg-red-500/10 text-red-400 text-sm font-medium tracking-tight transition-all duration-300 hover:border-red-500/60 hover:bg-red-500/15 active:scale-[0.97] cursor-pointer",children:t.jsxs("span",{className:"flex items-center gap-2",children:[t.jsx("span",{className:"size-1.5 rounded-full bg-red-400"}),e("common.wrongNetwork")]})}):t.jsxs("button",{onClick:l,type:"button",className:"h-9 px-4 rounded-lg border border-border bg-secondary text-foreground text-sm font-medium tracking-tight transition-all duration-300 hover:border-green/30 hover:bg-secondary/80 active:scale-[0.97] flex items-center gap-2.5 cursor-pointer",children:[t.jsxs("span",{className:"relative flex size-2",children:[t.jsx("span",{className:"absolute inline-flex size-full animate-ping rounded-full bg-green/60"}
1),t.jsx("span",{className:"relative inline-flex size-2 rounded-full bg-green"})]}),s.hasIcon&&s.iconUrl&&t.jsx("img",{alt:s.name??"Chain",src:s.iconUrl,className:"size-4 rounded-full"}),t.jsx("span",{children:o.displayName})]}):t.jsx("button",{onClick:f,type:"button",className:"group relative h-9 px-4 rounded-lg border border-green/30 bg-green/10 text-green text-sm font-medium tracking-tight transition-all duration-300 hover:border-green/60 hover:bg-green/15 hover:shadow-[0_0_24px_rgba(62,201,138,0.15)] active:scale-[0.97] cursor-pointer",children:t.jsxs("span",{className:"relative z-10 flex items-center gap-2",children:[t.jsx("span",{className:"size-1.5 rounded-full bg-green animate-pulse"}),e("common.connectWallet")]})})})}}),r[0]=e,r[1]=n):n=r[1],n}function z(){const r=j.c(8),{t:e}=v();let n;r[0]===Symbol.for("react.memo_cache_sentinel")?(n=t.jsx(N,{to:"/",children:t.jsx("img",{src:"/img/logo.png",alt:"NuWealth",className:"h-6 w-6 rounded-md"})}),r[0]=n):n=r[0];let a;r[1]!==e?(a=e("common.earn"),r[1]=e,r[2]=a):a=r[2];let o;r[3]!==a?(o=t.jsxs("div",{className:"flex items-center gap-3",children:[n,t.jsx("nav",{className:"flex items-center gap-4 md:gap-6",children:t.jsx(N,{to:"/earn",className:"text-sm font-medium text-foreground",children:a})})]}),r[3]=a,r[4]=o):o=r[4];let s;r[5]===Symbol.for("react.memo_cache_sentinel")?(s=t.jsxs("div",{className:"flex items-center gap-3",children:[t.jsx(_,{}),t.jsx(L,{})]}),r[5]=s):s=r[5];let l;return r[6]!==o?(l=t.jsx("header",{className:"sticky top-0 z-50 w-full bg-background/95 backdrop-blur-sm",children:t.jsx("div",{className:"container mx-auto px-4 md:px-6 lg:px-8",children:t.jsxs("div",{className:"flex items-center justify-between h-14 md:h-16",children:[o,s]})})}),r[6]=o,r[7]=l):l=r[7],l}const S=JSON.stringify({"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:"Home",item:"https://nuwealth.io/"},{"@type":"ListItem",position:2,name:"Earn",item:"https://nuwealth.io/earn"}]});function I(){const r=j.c(3);let e;r[0]===Symbol.for("react.memo_cache_sentinel")?(e=t.jsx("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:S}}),r[0]=e):e=r[0];let n;r[1]===Symbol.for("react.memo_cache_sentinel")?(n=t.jsx(z,{}),r[1]=n):n=r[1];let a;return r[2]===Symbol.for("react.memo_cache_sentinel")?(a=t.jsxs("div",{className:"dark",children:[e,t.jsxs("div",{className:"min-h-screen flex flex-col bg-background text-foreground",children:[n,t.jsx("main",{className:"flex-1 w-full",children:t.jsx(k,{})}),t.jsx(C,{})]})]}),r[2]=a):a=r[2],a}export{I as component};
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.