@gardenfi/garden-book 0.2.16 → 0.2.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ui.cjs.js +1 -1
- package/dist/ui.es.js +15 -0
- package/dist/ui.umd.js +3 -3
- package/package.json +1 -1
package/dist/ui.cjs.js
CHANGED
|
@@ -62,4 +62,4 @@ For more information, see https://radix-ui.com/primitives/docs/components/${t.do
|
|
|
62
62
|
top: ${c}px !important;
|
|
63
63
|
left: ${u}px !important;
|
|
64
64
|
}
|
|
65
|
-
`),()=>{document.head.removeChild(d)}},[t]),i.jsx(fc,{isPresent:t,childRef:r,sizeRef:o,children:j.cloneElement(e,{ref:r})})}const Cc=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:o,presenceAffectsLayout:s,mode:a})=>{const l=ge(pc),c=x.useId(),u=x.useMemo(()=>({id:c,initial:t,isPresent:n,custom:o,onExitComplete:d=>{l.set(d,!0);for(const f of l.values())if(!f)return;r&&r()},register:d=>(l.set(d,!1),()=>l.delete(d))}),s?[Math.random()]:[n]);return x.useMemo(()=>{l.forEach((d,f)=>l.set(f,!1))},[n]),j.useEffect(()=>{!n&&!l.size&&r&&r()},[n]),a==="popLayout"&&(e=i.jsx(hc,{isPresent:n,children:e})),i.jsx(l2.Provider,{value:u,children:e})};function pc(){return new Map}const Ot=e=>e.key||"";function Sn(e){const t=[];return x.Children.forEach(e,n=>{x.isValidElement(n)&&t.push(n)}),t}const gc=({children:e,exitBeforeEnter:t,custom:n,initial:r=!0,onExitComplete:o,presenceAffectsLayout:s=!0,mode:a="sync"})=>{R1(!t,"Replace exitBeforeEnter with mode='wait'");const l=x.useMemo(()=>Sn(e),[e]),c=l.map(Ot),u=x.useRef(!0),d=x.useRef(l),f=ge(()=>new Map),[h,g]=x.useState(l),[w,C]=x.useState(l);D3(()=>{u.current=!1,d.current=l;for(let H=0;H<w.length;H++){const L=Ot(w[H]);c.includes(L)?f.delete(L):f.get(L)!==!0&&f.set(L,!1)}},[w,c.length,c.join("-")]);const y=[];if(l!==h){let H=[...l];for(let L=0;L<w.length;L++){const S=w[L],E=Ot(S);c.includes(E)||(H.splice(L,0,S),y.push(S))}a==="wait"&&y.length&&(H=y),C(Sn(H)),g(l);return}process.env.NODE_ENV!=="production"&&a==="wait"&&w.length>1&&console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`);const{forceRender:m}=x.useContext(k3);return i.jsx(i.Fragment,{children:w.map(H=>{const L=Ot(H),S=l===w||c.includes(L),E=()=>{if(f.has(L))f.set(L,!0);else return;let D=!0;f.forEach(k=>{k||(D=!1)}),D&&(m==null||m(),C(d.current),o&&o())};return i.jsx(Cc,{isPresent:S,initial:!u.current||r?void 0:!1,custom:S?void 0:n,presenceAffectsLayout:s,mode:a,onExitComplete:S?void 0:E,children:H},L)})})};function L9(e){const t=ge(()=>Ze(e)),{isStatic:n}=x.useContext(c2);if(n){const[,r]=x.useState(e);x.useEffect(()=>t.on("change",r),[])}return t}function V9(e,t){const n=L9(t()),r=()=>n.set(t());return r(),D3(()=>{const o=()=>n1.preRender(r,!1,!0),s=e.map(a=>a.on("change",o));return()=>{s.forEach(a=>a()),F1(r)}}),n}const mc=e=>e&&typeof e=="object"&&e.mix,vc=e=>mc(e)?e.mix:void 0;function yc(...e){const t=!Array.isArray(e[0]),n=t?0:-1,r=e[0+n],o=e[1+n],s=e[2+n],a=e[3+n],l=b4(o,s,{mixer:vc(s[0]),...a});return t?l(r):l}function xc(e){rt.current=[],e();const t=V9(rt.current,e);return rt.current=void 0,t}function wc(e,t,n,r){if(typeof e=="function")return xc(e);const o=typeof t=="function"?t:yc(t,n,r);return Array.isArray(e)?Tn(e,o):Tn([e],([s])=>o(s))}function Tn(e,t){const n=ge(()=>[]);return V9(e,()=>{n.length=0;const r=e.length;for(let o=0;o<r;o++)n[o]=e[o].get();return t(n)})}function M9(e,t,n){var r;if(typeof e=="string"){let o=document;t&&(R1(!!t.current,"Scope provided, but no element detected."),o=t.current),n?((r=n[e])!==null&&r!==void 0||(n[e]=o.querySelectorAll(e)),e=n[e]):e=o.querySelectorAll(e)}else e instanceof Element&&(e=[e]);return Array.from(e||[])}function bc(e){return x.useEffect(()=>()=>e(),[])}function Lc(e){return typeof e=="object"&&!Array.isArray(e)}function Vc(e){const t={presenceContext:null,props:{},visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{}}},n=e9(e)?new b9(t):new w9(t);n.mount(e),dt.set(e,n)}function Mc(e,t=100){const n=b3({keyframes:[0,t],...e}),r=Math.min(M4(n),J2);return{type:"keyframes",ease:o=>n.next(r*o).value/t,duration:_1(r)}}function Pn(e,t,n,r){var o;return typeof t=="number"?t:t.startsWith("-")||t.startsWith("+")?Math.max(0,e+parseFloat(t)):t==="<"?n:(o=r.get(t))!==null&&o!==void 0?o:e}const jc=(e,t,n)=>{const r=t-e;return((n-e)%r+r)%r+e};function Hc(e,t){return p4(e)?e[jc(0,e.length,t)]:e}function Sc(e,t,n){for(let r=0;r<e.length;r++){const o=e[r];o.at>t&&o.at<n&&(mt(e,o),r--)}}function Tc(e,t,n,r,o,s){Sc(e,o,s);for(let a=0;a<t.length;a++)e.push({value:t[a],at:c1(o,s,r[a]),easing:Hc(n,a)})}function Pc(e,t){return e.at===t.at?e.value===null?1:t.value===null?-1:0:e.at-t.at}const Ec="easeInOut";function kc(e,{defaultTransition:t={},...n}={},r){const o=t.duration||.3,s=new Map,a=new Map,l={},c=new Map;let u=0,d=0,f=0;for(let h=0;h<e.length;h++){const g=e[h];if(typeof g=="string"){c.set(g,d);continue}else if(!Array.isArray(g)){c.set(g.name,Pn(d,g.at,u,c));continue}let[w,C,y={}]=g;y.at!==void 0&&(d=Pn(d,y.at,u,c));let m=0;const H=(L,S,E,D=0,k=0)=>{const P=Rc(L),{delay:A=0,times:_=V4(P),type:F="keyframes",...I}=S;let{ease:O=t.ease||"easeOut",duration:$}=S;const J=typeof A=="function"?A(D,k):A,X=P.length;if(X<=2&&F==="spring"){let Y=100;if(X===2&&Dc(P)){const o1=P[1]-P[0];Y=Math.abs(o1)}const l1={...I};$!==void 0&&(l1.duration=k1($));const u1=Mc(l1,Y);O=u1.ease,$=u1.duration}$??($=o);const N=d+J,K=N+$;_.length===1&&_[0]===0&&(_[1]=1);const q=_.length-P.length;q>0&&L4(_,q),P.length===1&&P.unshift(null),Tc(E,P,O,_,N,K),m=Math.max(J+$,m),f=Math.max(K,f)};if(v1(w)){const L=En(w,a);H(C,y,kn("default",L))}else{const L=M9(w,r,l),S=L.length;for(let E=0;E<S;E++){C=C,y=y;const D=L[E],k=En(D,a);for(const P in C)H(C[P],Ac(y,P),kn(P,k),E,S)}}u=d,d+=m}return a.forEach((h,g)=>{for(const w in h){const C=h[w];C.sort(Pc);const y=[],m=[],H=[];for(let S=0;S<C.length;S++){const{at:E,value:D,easing:k}=C[S];y.push(D),m.push(Ae(0,f,E)),H.push(k||"easeOut")}m[0]!==0&&(m.unshift(0),y.unshift(y[0]),H.unshift(Ec)),m[m.length-1]!==1&&(m.push(1),y.push(null)),s.has(g)||s.set(g,{keyframes:{},transition:{}});const L=s.get(g);L.keyframes[w]=y,L.transition[w]={...t,duration:f,ease:H,times:m,...n}}}),s}function En(e,t){return!t.has(e)&&t.set(e,{}),t.get(e)}function kn(e,t){return t[e]||(t[e]=[]),t[e]}function Rc(e){return Array.isArray(e)?e:[e]}function Ac(e,t){return e[t]?{...e,...e[t]}:{...e}}const Zc=e=>typeof e=="number",Dc=e=>e.every(Zc);function j9(e,t,n,r){const o=M9(e,r),s=o.length;R1(!!s,"No valid element provided.");const a=[];for(let l=0;l<s;l++){const c=o[l];dt.has(c)||Vc(c);const u=dt.get(c),d={...n};typeof d.delay=="function"&&(d.delay=d.delay(l,s)),a.push(...E3(u,{...t,transition:d},{}))}return new S3(a)}const Oc=e=>Array.isArray(e)&&Array.isArray(e[0]);function Ic(e,t,n){const r=[];return kc(e,t,n).forEach(({keyframes:s,transition:a},l)=>{let c;v1(l)?c=A3(l,s.default,a.default):c=j9(l,s,a),r.push(c)}),new S3(r)}const _c=e=>{function t(n,r,o){let s;return Oc(n)?s=Ic(n,r,e):Lc(r)?s=j9(n,r,o,e):s=A3(n,r,o),e&&e.animations.push(s),s}return t};function Bc(){const e=ge(()=>({current:null,animations:[]})),t=ge(()=>_c(e));return bc(()=>{e.animations.forEach(n=>n.stop())}),[e,t]}function Nc(e,t){if(e==="first")return 0;{const n=t-1;return e==="last"?n:n/2}}function It(e=.1,{startDelay:t=0,from:n=0,ease:r}={}){return(o,s)=>{const a=typeof n=="number"?n:Nc(n,s),l=Math.abs(a-o);let c=e*l;if(r){const u=s*e;c=q2(r)(c/u)*u}return t+c}}const Fc=({isMobile:e,isLogoHovered:t,maskUrl:n})=>{const[r]=x.useState("https://garden-bucket-cdn.s3.eu-central-1.amazonaws.com/flowers_bg.mp4"),[o,s]=x.useState("initial"),a=x.useRef(null),l=x.useRef(null),c=L9(45),u=wc(c,d=>`${d}% center`);return x.useEffect(()=>{if(t)s("visible");else{s("exit");const d=setTimeout(()=>{s("initial")},800);return()=>clearTimeout(d)}},[t]),i.jsxs(i.Fragment,{children:[i.jsx("video",{ref:a,src:r,autoPlay:!0,loop:!0,muted:!0,controls:!1,preload:"metadata",playsInline:!0,className:"gf-pointer-events-none gf-absolute gf-left-0 gf-top-0 gf-z-0 gf-h-full gf-w-screen gf-object-cover gf-opacity-0"},"video-flowers"),i.jsx(gc,{mode:"wait",children:i.jsx(U3.div,{animate:o,variants:{initial:{maskPosition:"45%",opacity:0},visible:{maskPosition:"10%",opacity:1},exit:{maskPosition:"-60%",opacity:0,transition:{duration:1.2,ease:[0,.77,.3,1],opacity:{delay:.4}}}},transition:{duration:1,ease:[.22,.68,.88,.96],delay:.15,opacity:{times:[0,1,1,1]}},style:{maskImage:`linear-gradient(black, black), url('${n}')`,maskComposite:"exclude",maskSize:e?"1200% 200%":"820% 600%",maskPosition:u},className:"gf-pointer-events-none gf-absolute gf-left-0 gf-top-0 gf-z-0 gf-h-full gf-w-full gf-overflow-hidden gf-opacity-0",children:i.jsx("video",{ref:l,src:r,autoPlay:!0,loop:!0,muted:!0,controls:!1,preload:"metadata",playsInline:!0,className:"gf-pointer-events-none gf-h-full gf-w-screen gf-object-cover",onCanPlayThrough:()=>{l.current&&l.current.play().catch(console.error)},onLoadStart:()=>{l.current&&l.current.play().catch(console.error)}},"video-flowers-animated")},"hovered")})]})},Uc=({children:e,triggerAnimation:t})=>{const n={animation:{scaleY:[0,1],opacity:[0,1],transition:{duration:.5,ease:Fe(.84,0,.16,1),opacity:{duration:.2,ease:"easeInOut"},once:!0}},idle:{scaleY:1,opacity:1}};return i.jsx(U3.div,{animate:t?"animation":"idle",variants:n,style:{transformOrigin:"bottom"},children:e})},$c=({children:e})=>i.jsx(U3.div,{className:"gf-relative gf-inline-block gf-overflow-hidden gf-rounded-xl gf-w-[300px] before:gf-z-50 before:gf-absolute before:gf-bg-gradient-to-r before:gf-from-transparent before:gf-via-white/50 before:gf-via-50% before:gf-to-transparent before:gf-top-0 before:gf-left-0 before:gf-w-[168px] before:gf-h-full before:gf-animate-shine before:gf-opacity-0",children:e}),Ee=x.forwardRef(({value:e,isHovered:t,className:n,delay:r},o)=>{const s=e.split(""),[a,l]=Bc(),c=()=>{l([[".gf-letter",{y:"-100%"},{duration:.5,delay:r?It(.014,{startDelay:r}):It(.014),ease:[.76,0,.24,1]}]])},u=()=>{l([[".gf-letter",{y:"0%"},{duration:.5,delay:r?It(.014,{startDelay:r}):It(.014),ease:[.76,0,.24,1]}]])};return x.useImperativeHandle(o,()=>({startAnimation:c,stopAnimation:u})),x.useEffect(()=>{t?c():u()},[t]),x.useEffect(()=>{const d=()=>{t||c()},f=()=>{t||u()},h=a.current;if(h)return h.addEventListener("mouseenter",d),h.addEventListener("mouseleave",f),()=>{h.removeEventListener("mouseenter",d),h.removeEventListener("mouseleave",f)}},[a,t]),i.jsx("div",{ref:a,children:i.jsx("span",{className:m1("gf-flex gf-h-5 gf-items-center gf-justify-start gf-overflow-hidden gf-pr-0.5",n),children:s.map((d,f)=>i.jsx("span",{"data-letter":d,className:"gf-letter gf-relative gf-h-5 gf-whitespace-pre gf-leading-5 after:gf-absolute after:gf-left-0 after:gf-top-full after:gf-h-5 after:gf-leading-5 after:gf-content-[attr(data-letter)]",children:d},`${d}-${f}`))})})});Ee.displayName="RollingText";const Qe=({title:e,links:t,hoveredIndex:n,onHover:r,className:o="gf-flex gf-w-full gf-flex-col gf-gap-3 md:gf-w-fit",listClassName:s="gf-flex gf-flex-col gf-gap-1",isRoutes:a=!1})=>i.jsxs("div",{className:o,children:[i.jsx(M1,{size:"h4",weight:"medium",className:"gf-flex gf-items-center gf-gap-2 gf-transition-all gf-duration-500 gf-ease-in-out gf-text-inherit",children:i.jsx("span",{children:e})}),i.jsx("ul",{className:s,children:Object.values(t).map((l,c)=>l.link&&i.jsx("li",{className:a?"gf-w-fit":"",onMouseEnter:()=>{r==null||r(c)},onMouseLeave:()=>{r==null||r(null)},children:i.jsxs(M1,{as:"a",href:l.link,target:"_blank",size:"h4",weight:"regular",className:`gf-cursor-pointer gf-transition-all gf-duration-500 gf-ease-in-out gf-text-inherit ${a?"gf-flex gf-w-fit gf-gap-0.5 gf-items-end gf-transition-colors gf-duration-500 gf-ease-in-out":""}`,children:[l.inputAsset&&i.jsx(Ee,{value:l.inputAsset||"",isHovered:n===c}),a&&l.inputChain&&i.jsx(Ee,{delay:.1,className:"gf-text-xs gf-italic gf-translate-y-[0.6px]",value:l.inputChain,isHovered:n===c}),i.jsx(Ee,{delay:.15,value:l.title,isHovered:n===c}),a&&l.chain&&i.jsx(Ee,{delay:.3,className:"gf-text-xs gf-italic gf-translate-y-[0.6px] -gf-translate-x-[2px]",value:l.chain,isHovered:n===c})]})},c))})]}),Wc="data:image/svg+xml,%3csvg%20width='3956'%20height='906'%20viewBox='0%200%203956%20906'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='3956'%20height='906'%20fill='url(%23paint0_linear_579_2)'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_579_2'%20x1='1465.5'%20y1='731.406'%20x2='2604.91'%20y2='227.235'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-opacity='0'/%3e%3cstop%20offset='0.115385'/%3e%3cstop%20offset='0.88'/%3e%3cstop%20offset='1'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",zc=({className:e,network:t="mainnet",maskUrl:n=Wc,...r})=>{const[o,s]=x.useState(!1),[a,l]=x.useState(null),c=Fn(),u=x.useRef(null);x.useEffect(()=>()=>{u.current&&clearTimeout(u.current)},[]);const d=t&&t==="testnet"?"https://testnet.garden.finance":"https://app.garden.finance",f="https://garden.finance",h={Products:{swap:{title:"Swap",link:t&&t==="testnet"?`${d}/?input-chain=bitcoin_testnet&input-asset=BTC`:`${d}/?input-chain=bitcoin&input-asset=BTC`,isExternal:!0},stake:{title:"Stake",link:t&&t==="testnet"?void 0:`${d}/stake`,isExternal:!0},explorer:{title:"Explorer",link:t&&t==="testnet"?"https://testnet-explorer.garden.finance/":"https://explorer.garden.finance/",isExternal:!0}},Resources:{blog:{title:"Blog",link:`${f}/blog`,isExternal:!0},faq:{title:"FAQs",link:`${f}/faq`,isExternal:!0},brandKit:{title:"Brand kit",link:`${f}/brand-kit`,isExternal:!0},analytics:{title:"Analytics",link:"https://dune.com/garden_finance/gardenfinance",isExternal:!0},Audits:{title:"Audits",link:"https://github.com/gardenfi/audits",isExternal:!0}},Developers:{docs:{title:"Docs",link:"https://docs.garden.finance/",isExternal:!0},api:{title:"API",link:"https://docs.garden.finance/developers/api/overview",isExternal:!0},sdk:{title:"SDK",link:"https://docs.garden.finance/developers/sdk/overview",isExternal:!0}}},g={btcToSol:{title:"BTC to SOL",link:f+"/routes/bridge-btc-to-sol",chain:"Solana",isExternal:!0},btcToEth:{title:"BTC to ETH",link:f+"/routes/bridge-btc-to-eth",chain:"Ethereum",isExternal:!0},btcToUsdc:{title:"BTC to USDC",link:f+"/routes/bridge-btc-to-usdc-arbitrum",chain:"Arbitrum",isExternal:!0},btctoUsdcEth:{title:"BTC to USDC",link:f+"/routes/bridge-btc-to-usdc-ethereum",chain:"Ethereum",isExternal:!0},btcToWbtc:{title:"BTC to WBTC",link:f+"/routes/bridge-btc-to-wbtc-ethereum",chain:"Ethereum",isExternal:!0},btcTocbBtc:{title:"BTC to cbBTC",link:f+"/routes/bridge-btc-to-cbbtc-base",chain:"Base",isExternal:!0},btcToSui:{title:"BTC to SUI",link:f+"/routes/bridge-btc-to-sui",chain:"Sui",isExternal:!0},btcToWbtcUni:{title:"BTC to WBTC",link:f+"/routes/bridge-btc-to-wbtc-unichain",chain:"Unichain",isExternal:!0},btcToBnb:{title:"BTC to BNB",link:f+"/routes/bridge-btc-to-bnb",chain:"BNB Chain",isExternal:!0},btcToMon:{title:"BTC to MON",link:f+"/routes/bridge-btc-to-mon",chain:"Monad",isExternal:!0},cbBtcBaseTocbBtcSolana:{title:" to cbBTC",link:f+"/routes/bridge-cbbtc-base-to-cbbtc-solana",inputAsset:"cbBTC",inputChain:"Base",chain:"Solana",isExternal:!0},usdcBnbToBtc:{title:" to BTC",link:f+"/routes/bridge-usdc-bnb-to-btc",inputAsset:"USDC",inputChain:"BNB Chain",isExternal:!0},btcToUsdtEthereum:{title:" to USDT",link:f+"/routes/bridge-btc-to-usdt-ethereum",inputAsset:"BTC",chain:"Ethereum",isExternal:!0},btcToUsdcSolana:{title:" to USDC",link:f+"/routes/bridge-btc-to-usdc-solana",inputAsset:"BTC",chain:"Solana",isExternal:!0},usdcEthereumToBtc:{title:" to BTC",link:f+"/routes/bridge-usdc-ethereum-to-btc",inputAsset:"USDC",inputChain:"Ethereum",isExternal:!0},solToBtc:{title:" to BTC",link:f+"/routes/bridge-sol-to-btc",inputAsset:"SOL",inputChain:"Solana",isExternal:!0},usdcEthereumToUsdcBase:{title:" to USDC",link:f+"/routes/bridge-usdc-ethereum-to-usdc-base",inputAsset:"USDC",inputChain:"Ethereum",chain:"Base",isExternal:!0}},w={discord:"https://discord.gg/7feudTFMXB",x:"https://x.com/gardenfi"},{Products:C,Resources:y,Developers:m}=h;return i.jsxs("footer",{className:m1("gf-z-10 gf-relative gf-mx-auto gf-flex gf-w-full gf-flex-col gf-items-center gf-justify-center gf-bg-white gf-px-6 gf-pb-10 gf-pt-20 md:gf-px-10",e,o?"gf-text-white":"gf-text-dark-grey"),...r,children:[i.jsxs("div",{className:"gf-z-30 gf-w-full gf-max-w-screen-2xl",children:[i.jsxs("div",{className:"gf-mx-auto gf-flex gf-w-full gf-flex-col gf-items-start gf-justify-between gf-gap-8",children:[i.jsxs("div",{className:"gf-flex gf-w-full gf-items-center gf-justify-between gf-gap-6",children:[i.jsx(U6,{onMouseEnter:()=>{u.current&&clearTimeout(u.current),u.current=setTimeout(()=>{s(!0)},300)},onMouseLeave:()=>{u.current&&(clearTimeout(u.current),u.current=null),s(!1)},className:"gf-h-8 gf-w-8 gf-cursor-pointer gf-duration-500 gf-ease-in-out",onClick:H=>H.preventDefault()}),i.jsxs("div",{className:"gf-flex gf-items-center gf-gap-4",children:[i.jsx(F6,{onClick:()=>{c&&window.open(w.x,"_blank")},className:"gf-cursor-pointer gf-duration-500 gf-ease-in-out"}),i.jsx(N6,{onClick:()=>{c&&window.open(w.discord,"_blank")},className:"gf-cursor-pointer gf-duration-500 gf-ease-in-out"})]})]}),i.jsxs("div",{className:"gf-flex gf-w-full gf-max-w-screen-2xl gf-flex-col-reverse gf-items-start gf-justify-between gf-gap-6 md:gf-flex-row",children:[i.jsxs("div",{className:"gf-flex gf-w-full gf-flex-col sm:gf-flex-row gf-gap-6 gf-items-start gf-justify-between sm:gf-gap-3 md:gf-w-fit",children:[i.jsx("div",{className:"gf-w-full md:gf-hidden",children:i.jsx(Qe,{title:"Resources",links:y,className:"gf-flex gf-w-full gf-flex-col gf-gap-3",listClassName:"gf-flex gf-flex-col gf-gap-2"})}),i.jsx("div",{className:"gf-flex gf-w-full gf-max-w-[400px] gf-flex-col gf-gap-3 md:gf-w-fit",children:i.jsx(Qe,{title:"Routes",links:g,hoveredIndex:a,onHover:l,className:"gf-flex gf-w-full gf-max-w-[400px] gf-flex-col gf-gap-3 md:gf-w-fit",listClassName:"gf-grid gf-w-full gf-grid-cols-1 gf-gap-1 gf-gap-x-8 md:gf-grid-cols-2 md:gf-grid-rows-2",isRoutes:!0})})]}),i.jsxs("div",{className:"gf-flex gf-w-full gf-items-start gf-justify-between gf-gap-3 md:gf-w-fit md:gf-gap-16",children:[i.jsx(Qe,{title:"Products",links:C,className:"gf-flex gf-w-full gf-flex-col gf-gap-3 md:gf-w-fit",listClassName:"gf-flex gf-w-fit gf-flex-col gf-gap-1 gf-gap-x-6"}),i.jsx(Qe,{title:"Developers",links:m,className:"gf-flex gf-w-full gf-flex-col gf-gap-3 md:gf-w-fit",listClassName:"gf-flex gf-flex-col gf-gap-1"}),i.jsx("div",{className:"gf-hidden md:gf-flex",children:i.jsx(Qe,{title:"Resources",links:y,className:"gf-flex gf-w-full gf-flex-col gf-gap-3",listClassName:"gf-flex gf-flex-col gf-gap-1"})})]})]})]}),i.jsxs("div",{className:"gf-relative gf-mt-6 gf-flex gf-w-full gf-max-w-screen-2xl gf-items-center gf-justify-center",children:[i.jsx("div",{className:`gf-absolute gf-left-0 gf-top-0 gf-h-[1px] gf-w-full gf-transition-all gf-duration-500 gf-ease-in-out ${o?"gf-bg-white":"gf-bg-dark-grey"}`}),i.jsxs("div",{className:"gf-z-10 gf-my-6 gf-flex gf-w-full gf-items-center gf-justify-between gf-gap-4",children:[i.jsx("div",{className:"gf-flex gf-w-fit gf-items-center gf-justify-start gf-gap-6",children:i.jsxs(M1,{size:"h5",className:"gf-flex gf-items-center gf-gap-1 gf-transition-all gf-duration-500 gf-ease-in-out gf-text-inherit",weight:"regular",children:[i.jsx(B6,{}),i.jsx("span",{children:"Garden"}),i.jsx("span",{children:"2025"})]})}),i.jsxs("div",{className:"gf-flex gf-w-fit gf-items-center gf-justify-end gf-gap-6",children:[i.jsx(M1,{size:"h5",as:"a",className:"gf-cursor-pointer gf-underline-offset-2 gf-transition-all gf-duration-500 gf-ease-in-out gf-hover:underline gf-text-inherit",weight:"regular",href:"/privacy.pdf",target:"_blank",children:"Privacy Policy"}),i.jsx(M1,{as:"a",size:"h5",className:"gf-cursor-pointer gf-underline-offset-2 gf-transition-all gf-duration-500 gf-ease-in-out gf-hover:underline gf-text-inherit",weight:"regular",href:"/terms.pdf",target:"_blank",children:"Terms of Service"})]})]})]})]}),i.jsx(Fc,{isMobile:!1,isLogoHovered:o,maskUrl:n})]})};var H9={exports:{}};(()=>{var e={181:(o,s,a)=>{var l=/^\s+|\s+$/g,c=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,d=/^0o[0-7]+$/i,f=parseInt,h=typeof a.g=="object"&&a.g&&a.g.Object===Object&&a.g,g=typeof self=="object"&&self&&self.Object===Object&&self,w=h||g||Function("return this")(),C=Object.prototype.toString,y=Math.max,m=Math.min,H=function(){return w.Date.now()};function L(E){var D=typeof E;return!!E&&(D=="object"||D=="function")}function S(E){if(typeof E=="number")return E;if(function(P){return typeof P=="symbol"||function(A){return!!A&&typeof A=="object"}(P)&&C.call(P)=="[object Symbol]"}(E))return NaN;if(L(E)){var D=typeof E.valueOf=="function"?E.valueOf():E;E=L(D)?D+"":D}if(typeof E!="string")return E===0?E:+E;E=E.replace(l,"");var k=u.test(E);return k||d.test(E)?f(E.slice(2),k?2:8):c.test(E)?NaN:+E}o.exports=function(E,D,k){var P,A,_,F,I,O,$=0,J=!1,X=!1,N=!0;if(typeof E!="function")throw new TypeError("Expected a function");function K(o1){var i1=P,y1=A;return P=A=void 0,$=o1,F=E.apply(y1,i1)}function q(o1){var i1=o1-O;return O===void 0||i1>=D||i1<0||X&&o1-$>=_}function Y(){var o1=H();if(q(o1))return l1(o1);I=setTimeout(Y,function(i1){var y1=D-(i1-O);return X?m(y1,_-(i1-$)):y1}(o1))}function l1(o1){return I=void 0,N&&P?K(o1):(P=A=void 0,F)}function u1(){var o1=H(),i1=q(o1);if(P=arguments,A=this,O=o1,i1){if(I===void 0)return function(y1){return $=y1,I=setTimeout(Y,D),J?K(y1):F}(O);if(X)return I=setTimeout(Y,D),K(O)}return I===void 0&&(I=setTimeout(Y,D)),F}return D=S(D)||0,L(k)&&(J=!!k.leading,_=(X="maxWait"in k)?y(S(k.maxWait)||0,D):_,N="trailing"in k?!!k.trailing:N),u1.cancel=function(){I!==void 0&&clearTimeout(I),$=0,P=O=A=I=void 0},u1.flush=function(){return I===void 0?F:l1(H())},u1}},858:(o,s,a)=>{var l="Expected a function",c=NaN,u="[object Symbol]",d=/^\s+|\s+$/g,f=/^[-+]0x[0-9a-f]+$/i,h=/^0b[01]+$/i,g=/^0o[0-7]+$/i,w=parseInt,C=typeof a.g=="object"&&a.g&&a.g.Object===Object&&a.g,y=typeof self=="object"&&self&&self.Object===Object&&self,m=C||y||Function("return this")(),H=Object.prototype.toString,L=Math.max,S=Math.min,E=function(){return m.Date.now()};function D(P){var A=typeof P;return!!P&&(A=="object"||A=="function")}function k(P){if(typeof P=="number")return P;if(function(F){return typeof F=="symbol"||function(I){return!!I&&typeof I=="object"}(F)&&H.call(F)==u}(P))return c;if(D(P)){var A=typeof P.valueOf=="function"?P.valueOf():P;P=D(A)?A+"":A}if(typeof P!="string")return P===0?P:+P;P=P.replace(d,"");var _=h.test(P);return _||g.test(P)?w(P.slice(2),_?2:8):f.test(P)?c:+P}o.exports=function(P,A,_){var F=!0,I=!0;if(typeof P!="function")throw new TypeError(l);return D(_)&&(F="leading"in _?!!_.leading:F,I="trailing"in _?!!_.trailing:I),function(O,$,J){var X,N,K,q,Y,l1,u1=0,o1=!1,i1=!1,y1=!0;if(typeof O!="function")throw new TypeError(l);function U1(f1){var V1=X,x1=N;return X=N=void 0,u1=f1,q=O.apply(x1,V1)}function Z1(f1){var V1=f1-l1;return l1===void 0||V1>=$||V1<0||i1&&f1-u1>=K}function j1(){var f1=E();if(Z1(f1))return P1(f1);Y=setTimeout(j1,function(V1){var x1=$-(V1-l1);return i1?S(x1,K-(V1-u1)):x1}(f1))}function P1(f1){return Y=void 0,y1&&X?U1(f1):(X=N=void 0,q)}function E1(){var f1=E(),V1=Z1(f1);if(X=arguments,N=this,l1=f1,V1){if(Y===void 0)return function(x1){return u1=x1,Y=setTimeout(j1,$),o1?U1(x1):q}(l1);if(i1)return Y=setTimeout(j1,$),U1(l1)}return Y===void 0&&(Y=setTimeout(j1,$)),q}return $=k($)||0,D(J)&&(o1=!!J.leading,K=(i1="maxWait"in J)?L(k(J.maxWait)||0,$):K,y1="trailing"in J?!!J.trailing:y1),E1.cancel=function(){Y!==void 0&&clearTimeout(Y),u1=0,X=l1=N=Y=void 0},E1.flush=function(){return Y===void 0?q:P1(E())},E1}(P,A,{leading:F,maxWait:A,trailing:I})}},694:(o,s,a)=>{var l=a(925);function c(){}function u(){}u.resetWarningCache=c,o.exports=function(){function d(g,w,C,y,m,H){if(H!==l){var L=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw L.name="Invariant Violation",L}}function f(){return d}d.isRequired=d;var h={array:d,bigint:d,bool:d,func:d,number:d,object:d,string:d,symbol:d,any:d,arrayOf:f,element:d,elementType:d,instanceOf:f,node:d,objectOf:f,oneOf:f,oneOfType:f,shape:f,exact:f,checkPropTypes:u,resetWarningCache:c};return h.PropTypes=h,h}},556:(o,s,a)=>{o.exports=a(694)()},925:o=>{o.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}},t={};function n(o){var s=t[o];if(s!==void 0)return s.exports;var a=t[o]={exports:{}};return e[o](a,a.exports,n),a.exports}n.n=o=>{var s=o&&o.__esModule?()=>o.default:()=>o;return n.d(s,{a:s}),s},n.d=(o,s)=>{for(var a in s)n.o(s,a)&&!n.o(o,a)&&Object.defineProperty(o,a,{enumerable:!0,get:s[a]})},n.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),n.o=(o,s)=>Object.prototype.hasOwnProperty.call(o,s),n.r=o=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(o,"__esModule",{value:!0})};var r={};(()=>{n.r(r),n.d(r,{LazyLoadComponent:()=>$e,LazyLoadImage:()=>h2,trackWindowScroll:()=>o1});const o=x;var s=n.n(o),a=n(556);function l(){return typeof window<"u"&&"IntersectionObserver"in window&&"isIntersecting"in window.IntersectionObserverEntry.prototype}function c(T){return c=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(p){return typeof p}:function(p){return p&&typeof Symbol=="function"&&p.constructor===Symbol&&p!==Symbol.prototype?"symbol":typeof p},c(T)}function u(T,p){var M=Object.keys(T);if(Object.getOwnPropertySymbols){var b=Object.getOwnPropertySymbols(T);p&&(b=b.filter(function(v){return Object.getOwnPropertyDescriptor(T,v).enumerable})),M.push.apply(M,b)}return M}function d(T,p,M){return(p=h(p))in T?Object.defineProperty(T,p,{value:M,enumerable:!0,configurable:!0,writable:!0}):T[p]=M,T}function f(T,p){for(var M=0;M<p.length;M++){var b=p[M];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(T,h(b.key),b)}}function h(T){var p=function(M,b){if(c(M)!="object"||!M)return M;var v=M[Symbol.toPrimitive];if(v!==void 0){var V=v.call(M,"string");if(c(V)!="object")return V;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(M)}(T);return c(p)=="symbol"?p:p+""}function g(T,p,M){return p=C(p),function(b,v){if(v&&(c(v)=="object"||typeof v=="function"))return v;if(v!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(V){if(V===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return V}(b)}(T,w()?Reflect.construct(p,M||[],C(T).constructor):p.apply(T,M))}function w(){try{var T=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(w=function(){return!!T})()}function C(T){return C=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(p){return p.__proto__||Object.getPrototypeOf(p)},C(T)}function y(T,p){return y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(M,b){return M.__proto__=b,M},y(T,p)}var m=function(T){T.forEach(function(p){p.isIntersecting&&p.target.onVisible()})},H={},L=function(T){function p(v){var V;if(function(Z,B){if(!(Z instanceof B))throw new TypeError("Cannot call a class as a function")}(this,p),(V=g(this,p,[v])).supportsObserver=!v.scrollPosition&&v.useIntersectionObserver&&l(),V.supportsObserver){var R=v.threshold;V.observer=function(Z){return H[Z]=H[Z]||new IntersectionObserver(m,{rootMargin:Z+"px"}),H[Z]}(R)}return V}return function(v,V){if(typeof V!="function"&&V!==null)throw new TypeError("Super expression must either be null or a function");v.prototype=Object.create(V&&V.prototype,{constructor:{value:v,writable:!0,configurable:!0}}),Object.defineProperty(v,"prototype",{writable:!1}),V&&y(v,V)}(p,T),M=p,b=[{key:"componentDidMount",value:function(){this.placeholder&&this.observer&&(this.placeholder.onVisible=this.props.onVisible,this.observer.observe(this.placeholder)),this.supportsObserver||this.updateVisibility()}},{key:"componentWillUnmount",value:function(){this.observer&&this.placeholder&&this.observer.unobserve(this.placeholder)}},{key:"componentDidUpdate",value:function(){this.supportsObserver||this.updateVisibility()}},{key:"getPlaceholderBoundingBox",value:function(){var v=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props.scrollPosition,V=this.placeholder.getBoundingClientRect(),R=this.placeholder.style,Z=parseInt(R.getPropertyValue("margin-left"),10)||0,B=parseInt(R.getPropertyValue("margin-top"),10)||0;return{bottom:v.y+V.bottom+B,left:v.x+V.left+Z,right:v.x+V.right+Z,top:v.y+V.top+B}}},{key:"isPlaceholderInViewport",value:function(){if(typeof window>"u"||!this.placeholder)return!1;var v=this.props,V=v.scrollPosition,R=v.threshold,Z=this.getPlaceholderBoundingBox(V),B=V.y+window.innerHeight,W=V.x,t1=V.x+window.innerWidth,Q=V.y;return Q-R<=Z.bottom&&B+R>=Z.top&&W-R<=Z.right&&t1+R>=Z.left}},{key:"updateVisibility",value:function(){this.isPlaceholderInViewport()&&this.props.onVisible()}},{key:"render",value:function(){var v=this,V=this.props,R=V.className,Z=V.height,B=V.placeholder,W=V.style,t1=V.width;if(B&&typeof B.type!="function")return s().cloneElement(B,{ref:function(e1){return v.placeholder=e1}});var Q=function(e1){for(var s1=1;s1<arguments.length;s1++){var r1=arguments[s1]!=null?arguments[s1]:{};s1%2?u(Object(r1),!0).forEach(function(h1){d(e1,h1,r1[h1])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e1,Object.getOwnPropertyDescriptors(r1)):u(Object(r1)).forEach(function(h1){Object.defineProperty(e1,h1,Object.getOwnPropertyDescriptor(r1,h1))})}return e1}({display:"inline-block"},W);return t1!==void 0&&(Q.width=t1),Z!==void 0&&(Q.height=Z),s().createElement("span",{className:R,ref:function(e1){return v.placeholder=e1},style:Q},B)}}],b&&f(M.prototype,b),Object.defineProperty(M,"prototype",{writable:!1}),M;var M,b}(s().Component);L.propTypes={onVisible:a.PropTypes.func.isRequired,className:a.PropTypes.string,height:a.PropTypes.oneOfType([a.PropTypes.number,a.PropTypes.string]),placeholder:a.PropTypes.element,threshold:a.PropTypes.number,useIntersectionObserver:a.PropTypes.bool,scrollPosition:a.PropTypes.shape({x:a.PropTypes.number.isRequired,y:a.PropTypes.number.isRequired}),width:a.PropTypes.oneOfType([a.PropTypes.number,a.PropTypes.string])},L.defaultProps={className:"",placeholder:null,threshold:100,useIntersectionObserver:!0};const S=L;var E=n(181),D=n.n(E),k=n(858),P=n.n(k),A=function(T){var p=getComputedStyle(T,null);return p.getPropertyValue("overflow")+p.getPropertyValue("overflow-y")+p.getPropertyValue("overflow-x")};const _=function(T){if(!(T instanceof HTMLElement))return window;for(var p=T;p&&p instanceof HTMLElement;){if(/(scroll|auto)/.test(A(p)))return p;p=p.parentNode}return window};function F(T){return F=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(p){return typeof p}:function(p){return p&&typeof Symbol=="function"&&p.constructor===Symbol&&p!==Symbol.prototype?"symbol":typeof p},F(T)}var I=["delayMethod","delayTime"];function O(){return O=Object.assign?Object.assign.bind():function(T){for(var p=1;p<arguments.length;p++){var M=arguments[p];for(var b in M)({}).hasOwnProperty.call(M,b)&&(T[b]=M[b])}return T},O.apply(null,arguments)}function $(T,p){for(var M=0;M<p.length;M++){var b=p[M];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(T,J(b.key),b)}}function J(T){var p=function(M,b){if(F(M)!="object"||!M)return M;var v=M[Symbol.toPrimitive];if(v!==void 0){var V=v.call(M,"string");if(F(V)!="object")return V;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(M)}(T);return F(p)=="symbol"?p:p+""}function X(T,p,M){return p=q(p),N(T,K()?Reflect.construct(p,M||[],q(T).constructor):p.apply(T,M))}function N(T,p){if(p&&(F(p)=="object"||typeof p=="function"))return p;if(p!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}(T)}function K(){try{var T=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(K=function(){return!!T})()}function q(T){return q=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(p){return p.__proto__||Object.getPrototypeOf(p)},q(T)}function Y(T,p){return Y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(M,b){return M.__proto__=b,M},Y(T,p)}var l1=function(){return typeof window>"u"?0:window.scrollX||window.pageXOffset},u1=function(){return typeof window>"u"?0:window.scrollY||window.pageYOffset};const o1=function(T){var p=function(M){function b(R){var Z;if(function(W,t1){if(!(W instanceof t1))throw new TypeError("Cannot call a class as a function")}(this,b),(Z=X(this,b,[R])).useIntersectionObserver=R.useIntersectionObserver&&l(),Z.useIntersectionObserver)return N(Z);var B=Z.onChangeScroll.bind(Z);return R.delayMethod==="debounce"?Z.delayedScroll=D()(B,R.delayTime):R.delayMethod==="throttle"&&(Z.delayedScroll=P()(B,R.delayTime)),Z.state={scrollPosition:{x:l1(),y:u1()}},Z.baseComponentRef=s().createRef(),Z}return function(R,Z){if(typeof Z!="function"&&Z!==null)throw new TypeError("Super expression must either be null or a function");R.prototype=Object.create(Z&&Z.prototype,{constructor:{value:R,writable:!0,configurable:!0}}),Object.defineProperty(R,"prototype",{writable:!1}),Z&&Y(R,Z)}(b,M),v=b,V=[{key:"componentDidMount",value:function(){this.addListeners()}},{key:"componentWillUnmount",value:function(){this.removeListeners()}},{key:"componentDidUpdate",value:function(){typeof window>"u"||this.useIntersectionObserver||_(this.baseComponentRef.current)!==this.scrollElement&&(this.removeListeners(),this.addListeners())}},{key:"addListeners",value:function(){typeof window>"u"||this.useIntersectionObserver||(this.scrollElement=_(this.baseComponentRef.current),this.scrollElement.addEventListener("scroll",this.delayedScroll,{passive:!0}),window.addEventListener("resize",this.delayedScroll,{passive:!0}),this.scrollElement!==window&&window.addEventListener("scroll",this.delayedScroll,{passive:!0}))}},{key:"removeListeners",value:function(){typeof window>"u"||this.useIntersectionObserver||(this.scrollElement.removeEventListener("scroll",this.delayedScroll),window.removeEventListener("resize",this.delayedScroll),this.scrollElement!==window&&window.removeEventListener("scroll",this.delayedScroll))}},{key:"onChangeScroll",value:function(){this.useIntersectionObserver||this.setState({scrollPosition:{x:l1(),y:u1()}})}},{key:"render",value:function(){var R=this.props,Z=(R.delayMethod,R.delayTime,function(W,t1){if(W==null)return{};var Q,e1,s1=function(h1,be){if(h1==null)return{};var $3={};for(var Vt in h1)if({}.hasOwnProperty.call(h1,Vt)){if(be.indexOf(Vt)>=0)continue;$3[Vt]=h1[Vt]}return $3}(W,t1);if(Object.getOwnPropertySymbols){var r1=Object.getOwnPropertySymbols(W);for(e1=0;e1<r1.length;e1++)Q=r1[e1],t1.indexOf(Q)>=0||{}.propertyIsEnumerable.call(W,Q)&&(s1[Q]=W[Q])}return s1}(R,I)),B=this.useIntersectionObserver?null:this.state.scrollPosition;return s().createElement(T,O({forwardRef:this.baseComponentRef,scrollPosition:B},Z))}}],V&&$(v.prototype,V),Object.defineProperty(v,"prototype",{writable:!1}),v;var v,V}(s().Component);return p.propTypes={delayMethod:a.PropTypes.oneOf(["debounce","throttle"]),delayTime:a.PropTypes.number,useIntersectionObserver:a.PropTypes.bool},p.defaultProps={delayMethod:"throttle",delayTime:300,useIntersectionObserver:!0},p};function i1(T){return i1=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(p){return typeof p}:function(p){return p&&typeof Symbol=="function"&&p.constructor===Symbol&&p!==Symbol.prototype?"symbol":typeof p},i1(T)}function y1(T,p){for(var M=0;M<p.length;M++){var b=p[M];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(T,U1(b.key),b)}}function U1(T){var p=function(M,b){if(i1(M)!="object"||!M)return M;var v=M[Symbol.toPrimitive];if(v!==void 0){var V=v.call(M,"string");if(i1(V)!="object")return V;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(M)}(T);return i1(p)=="symbol"?p:p+""}function Z1(T,p,M){return p=P1(p),function(b,v){if(v&&(i1(v)=="object"||typeof v=="function"))return v;if(v!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(V){if(V===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return V}(b)}(T,j1()?Reflect.construct(p,M||[],P1(T).constructor):p.apply(T,M))}function j1(){try{var T=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(j1=function(){return!!T})()}function P1(T){return P1=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(p){return p.__proto__||Object.getPrototypeOf(p)},P1(T)}function E1(T,p){return E1=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(M,b){return M.__proto__=b,M},E1(T,p)}var f1=function(T){function p(v){return function(V,R){if(!(V instanceof R))throw new TypeError("Cannot call a class as a function")}(this,p),Z1(this,p,[v])}return function(v,V){if(typeof V!="function"&&V!==null)throw new TypeError("Super expression must either be null or a function");v.prototype=Object.create(V&&V.prototype,{constructor:{value:v,writable:!0,configurable:!0}}),Object.defineProperty(v,"prototype",{writable:!1}),V&&E1(v,V)}(p,T),M=p,(b=[{key:"render",value:function(){return s().createElement(S,this.props)}}])&&y1(M.prototype,b),Object.defineProperty(M,"prototype",{writable:!1}),M;var M,b}(s().Component);const V1=o1(f1);function x1(T){return x1=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(p){return typeof p}:function(p){return p&&typeof Symbol=="function"&&p.constructor===Symbol&&p!==Symbol.prototype?"symbol":typeof p},x1(T)}function z(T,p){for(var M=0;M<p.length;M++){var b=p[M];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(T,vt(b.key),b)}}function vt(T){var p=function(M,b){if(x1(M)!="object"||!M)return M;var v=M[Symbol.toPrimitive];if(v!==void 0){var V=v.call(M,"string");if(x1(V)!="object")return V;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(M)}(T);return x1(p)=="symbol"?p:p+""}function yt(T,p,M){return p=ve(p),function(b,v){if(v&&(x1(v)=="object"||typeof v=="function"))return v;if(v!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(V){if(V===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return V}(b)}(T,me()?Reflect.construct(p,M||[],ve(T).constructor):p.apply(T,M))}function me(){try{var T=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(me=function(){return!!T})()}function ve(T){return ve=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(p){return p.__proto__||Object.getPrototypeOf(p)},ve(T)}function Ue(T,p){return Ue=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(M,b){return M.__proto__=b,M},Ue(T,p)}var D1=function(T){function p(v){var V;(function(t1,Q){if(!(t1 instanceof Q))throw new TypeError("Cannot call a class as a function")})(this,p),V=yt(this,p,[v]);var R=v.afterLoad,Z=v.beforeLoad,B=v.scrollPosition,W=v.visibleByDefault;return V.state={visible:W},W&&(Z(),R()),V.onVisible=V.onVisible.bind(V),V.isScrollTracked=!!(B&&Number.isFinite(B.x)&&B.x>=0&&Number.isFinite(B.y)&&B.y>=0),V}return function(v,V){if(typeof V!="function"&&V!==null)throw new TypeError("Super expression must either be null or a function");v.prototype=Object.create(V&&V.prototype,{constructor:{value:v,writable:!0,configurable:!0}}),Object.defineProperty(v,"prototype",{writable:!1}),V&&Ue(v,V)}(p,T),M=p,(b=[{key:"componentDidUpdate",value:function(v,V){V.visible!==this.state.visible&&this.props.afterLoad()}},{key:"onVisible",value:function(){this.props.beforeLoad(),this.setState({visible:!0})}},{key:"render",value:function(){if(this.state.visible)return this.props.children;var v=this.props,V=v.className,R=v.delayMethod,Z=v.delayTime,B=v.height,W=v.placeholder,t1=v.scrollPosition,Q=v.style,e1=v.threshold,s1=v.useIntersectionObserver,r1=v.width;return this.isScrollTracked||s1&&l()?s().createElement(S,{className:V,height:B,onVisible:this.onVisible,placeholder:W,scrollPosition:t1,style:Q,threshold:e1,useIntersectionObserver:s1,width:r1}):s().createElement(V1,{className:V,delayMethod:R,delayTime:Z,height:B,onVisible:this.onVisible,placeholder:W,style:Q,threshold:e1,width:r1})}}])&&z(M.prototype,b),Object.defineProperty(M,"prototype",{writable:!1}),M;var M,b}(s().Component);D1.propTypes={afterLoad:a.PropTypes.func,beforeLoad:a.PropTypes.func,useIntersectionObserver:a.PropTypes.bool,visibleByDefault:a.PropTypes.bool},D1.defaultProps={afterLoad:function(){return{}},beforeLoad:function(){return{}},useIntersectionObserver:!0,visibleByDefault:!1};const $e=D1;function Y1(T){return Y1=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(p){return typeof p}:function(p){return p&&typeof Symbol=="function"&&p.constructor===Symbol&&p!==Symbol.prototype?"symbol":typeof p},Y1(T)}var ae=["afterLoad","beforeLoad","delayMethod","delayTime","effect","placeholder","placeholderSrc","scrollPosition","threshold","useIntersectionObserver","visibleByDefault","wrapperClassName","wrapperProps"];function xt(T,p){var M=Object.keys(T);if(Object.getOwnPropertySymbols){var b=Object.getOwnPropertySymbols(T);p&&(b=b.filter(function(v){return Object.getOwnPropertyDescriptor(T,v).enumerable})),M.push.apply(M,b)}return M}function We(T){for(var p=1;p<arguments.length;p++){var M=arguments[p]!=null?arguments[p]:{};p%2?xt(Object(M),!0).forEach(function(b){f2(T,b,M[b])}):Object.getOwnPropertyDescriptors?Object.defineProperties(T,Object.getOwnPropertyDescriptors(M)):xt(Object(M)).forEach(function(b){Object.defineProperty(T,b,Object.getOwnPropertyDescriptor(M,b))})}return T}function f2(T,p,M){return(p=wt(p))in T?Object.defineProperty(T,p,{value:M,enumerable:!0,configurable:!0,writable:!0}):T[p]=M,T}function ye(){return ye=Object.assign?Object.assign.bind():function(T){for(var p=1;p<arguments.length;p++){var M=arguments[p];for(var b in M)({}).hasOwnProperty.call(M,b)&&(T[b]=M[b])}return T},ye.apply(null,arguments)}function xe(T,p){for(var M=0;M<p.length;M++){var b=p[M];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(T,wt(b.key),b)}}function wt(T){var p=function(M,b){if(Y1(M)!="object"||!M)return M;var v=M[Symbol.toPrimitive];if(v!==void 0){var V=v.call(M,"string");if(Y1(V)!="object")return V;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(M)}(T);return Y1(p)=="symbol"?p:p+""}function bt(T,p,M){return p=O1(p),function(b,v){if(v&&(Y1(v)=="object"||typeof v=="function"))return v;if(v!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(V){if(V===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return V}(b)}(T,Lt()?Reflect.construct(p,M||[],O1(T).constructor):p.apply(T,M))}function Lt(){try{var T=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Lt=function(){return!!T})()}function O1(T){return O1=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(p){return p.__proto__||Object.getPrototypeOf(p)},O1(T)}function we(T,p){return we=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(M,b){return M.__proto__=b,M},we(T,p)}var ze=function(T){function p(v){var V;return function(R,Z){if(!(R instanceof Z))throw new TypeError("Cannot call a class as a function")}(this,p),(V=bt(this,p,[v])).state={loaded:!1},V}return function(v,V){if(typeof V!="function"&&V!==null)throw new TypeError("Super expression must either be null or a function");v.prototype=Object.create(V&&V.prototype,{constructor:{value:v,writable:!0,configurable:!0}}),Object.defineProperty(v,"prototype",{writable:!1}),V&&we(v,V)}(p,T),M=p,b=[{key:"onImageLoad",value:function(){var v=this;return this.state.loaded?null:function(V){v.props.onLoad(V),v.props.afterLoad(),v.setState({loaded:!0})}}},{key:"getImg",value:function(){var v=this.props,V=(v.afterLoad,v.beforeLoad,v.delayMethod,v.delayTime,v.effect,v.placeholder,v.placeholderSrc,v.scrollPosition,v.threshold,v.useIntersectionObserver,v.visibleByDefault,v.wrapperClassName,v.wrapperProps,function(R,Z){if(R==null)return{};var B,W,t1=function(e1,s1){if(e1==null)return{};var r1={};for(var h1 in e1)if({}.hasOwnProperty.call(e1,h1)){if(s1.indexOf(h1)>=0)continue;r1[h1]=e1[h1]}return r1}(R,Z);if(Object.getOwnPropertySymbols){var Q=Object.getOwnPropertySymbols(R);for(W=0;W<Q.length;W++)B=Q[W],Z.indexOf(B)>=0||{}.propertyIsEnumerable.call(R,B)&&(t1[B]=R[B])}return t1}(v,ae));return s().createElement("img",ye({},V,{onLoad:this.onImageLoad()}))}},{key:"getLazyLoadImage",value:function(){var v=this.props,V=v.beforeLoad,R=v.className,Z=v.delayMethod,B=v.delayTime,W=v.height,t1=v.placeholder,Q=v.scrollPosition,e1=v.style,s1=v.threshold,r1=v.useIntersectionObserver,h1=v.visibleByDefault,be=v.width;return s().createElement($e,{beforeLoad:V,className:R,delayMethod:Z,delayTime:B,height:W,placeholder:t1,scrollPosition:Q,style:e1,threshold:s1,useIntersectionObserver:r1,visibleByDefault:h1,width:be},this.getImg())}},{key:"getWrappedLazyLoadImage",value:function(v){var V=this.props,R=V.effect,Z=V.height,B=V.placeholderSrc,W=V.width,t1=V.wrapperClassName,Q=V.wrapperProps,e1=this.state.loaded,s1=e1?" lazy-load-image-loaded":"",r1=e1||!B?{}:{backgroundImage:"url(".concat(B,")"),backgroundSize:"100% 100%"};return s().createElement("span",ye({className:t1+" lazy-load-image-background "+R+s1,style:We(We({},r1),{},{color:"transparent",display:"inline-block",height:Z,width:W})},Q),v)}},{key:"render",value:function(){var v=this.props,V=v.effect,R=v.placeholderSrc,Z=v.visibleByDefault,B=v.wrapperClassName,W=v.wrapperProps,t1=this.getLazyLoadImage();return(V||R)&&!Z||B||W?this.getWrappedLazyLoadImage(t1):t1}}],b&&xe(M.prototype,b),Object.defineProperty(M,"prototype",{writable:!1}),M;var M,b}(s().Component);ze.propTypes={onLoad:a.PropTypes.func,afterLoad:a.PropTypes.func,beforeLoad:a.PropTypes.func,delayMethod:a.PropTypes.string,delayTime:a.PropTypes.number,effect:a.PropTypes.string,placeholderSrc:a.PropTypes.string,threshold:a.PropTypes.number,useIntersectionObserver:a.PropTypes.bool,visibleByDefault:a.PropTypes.bool,wrapperClassName:a.PropTypes.string,wrapperProps:a.PropTypes.object},ze.defaultProps={onLoad:function(){},afterLoad:function(){return{}},beforeLoad:function(){return{}},delayMethod:"throttle",delayTime:300,effect:"",placeholderSrc:null,threshold:100,useIntersectionObserver:!0,visibleByDefault:!1,wrapperClassName:""};const h2=ze})(),H9.exports=r})();var Gc=H9.exports;const _2="data:image/svg+xml,%3csvg%20width='384'%20height='216'%20viewBox='0%200%20384%20216'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_11648_9381)'%3e%3crect%20width='384'%20height='216'%20fill='%2359BB99'/%3e%3ccircle%20cx='-7'%20cy='184'%20r='87'%20fill='url(%23paint0_radial_11648_9381)'/%3e%3ccircle%20cx='368'%20cy='33'%20r='87'%20fill='url(%23paint1_radial_11648_9381)'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M136%2078C141.959%2078%20146.986%2081.9942%20148.548%2087.4516C154.006%2089.014%20158%2094.0405%20158%2099.9999C158%20105.959%20154.006%20110.986%20148.548%20112.548C146.986%20118.006%20141.959%20122%20136%20122C130.04%20122%20125.014%20118.006%20123.452%20112.548C117.994%20110.986%20114%20105.959%20114%2099.9999C114%2094.0406%20117.994%2089.0142%20123.452%2087.4517C125.014%2081.9943%20130.04%2078%20136%2078Z'%20fill='%23F7CFDB'/%3e%3cpath%20d='M139.954%2095.3616C139.923%2097.884%20135.962%2097.5421%20134.7%2097.5267L134.755%2093.063C136.016%2093.0784%20139.985%2092.7277%20139.954%2095.3616ZM140.906%20102.316C140.874%20105.09%20136.128%20104.716%20134.611%20104.698L134.688%2099.7811C136.2%2099.8017%20140.958%2099.4226%20140.922%20102.32L140.906%20102.316ZM144.148%2094.4178C143.928%2091.7661%20141.653%2090.8548%20138.771%2090.5621L138.816%2086.8898L136.578%2086.8608L136.533%2090.4382C135.948%2090.4302%20135.347%2090.4347%20134.75%2090.4401L134.775%2086.845L132.543%2086.8093L132.499%2090.4777C132.013%2090.4841%20131.538%2090.4848%20131.075%2090.4809L127.993%2090.4406L127.964%2092.8313C127.964%2092.8313%20129.621%2092.8205%20129.584%2092.8518C130.21%2092.7802%20130.777%2093.2229%20130.86%2093.8471L130.822%2098.0175C130.901%2098.0184%20130.979%2098.0242%20131.057%2098.035L130.822%2098.034L130.737%20103.891C130.7%20104.329%20130.317%20104.655%20129.88%20104.621C129.914%20104.63%20128.256%20104.6%20128.256%20104.6L127.778%20107.263L130.688%20107.298L132.289%20107.314L132.246%20111.024L134.48%20111.052L134.512%20107.397C135.106%20107.419%20135.702%20107.43%20136.296%20107.436L136.25%20111.096L138.484%20111.124L138.535%20107.416C142.302%20107.247%20144.938%20106.332%20145.307%20102.809C145.601%2099.9679%20144.29%2098.6862%20142.168%2098.1466C143.474%2097.504%20144.303%2096.3533%20144.132%2094.4136L144.148%2094.4178Z'%20fill='%23DB6A93'/%3e%3cpath%20d='M170%2098.8577C170%2094.4242%20172.859%2090.9544%20177.421%2090.9544C179.959%2090.9544%20181.919%2092.111%20182.915%2094.0708L183.14%2091.4042H185.839V106.472C185.839%20111.42%20182.787%20114.568%20177.968%20114.568C173.695%20114.568%20170.771%20112.158%20170.193%20108.175H173.213C173.598%20110.488%20175.333%20111.837%20177.968%20111.837C180.923%20111.837%20182.851%20109.91%20182.851%20106.922V103.773C181.823%20105.604%20179.767%20106.697%20177.293%20106.697C172.827%20106.697%20170%20103.259%20170%2098.8577ZM173.02%2098.7935C173.02%20101.749%20174.851%20104.062%20177.807%20104.062C180.859%20104.062%20182.722%20101.878%20182.722%2098.7935C182.722%2095.7735%20180.923%2093.5889%20177.839%2093.5889C174.819%2093.5889%20173.02%2095.902%20173.02%2098.7935Z'%20fill='white'/%3e%3cpath%20d='M194.791%20107.5C191.418%20107.5%20189.426%20105.604%20189.426%20102.745C189.426%2099.8537%20191.579%2098.0545%20195.273%2097.7654L200.221%2097.3799V96.9301C200.221%2094.2957%20198.647%2093.364%20196.526%2093.364C193.988%2093.364%20192.542%2094.4884%20192.542%2096.3839H189.908C189.908%2093.1069%20192.607%2090.9544%20196.655%2090.9544C200.542%2090.9544%20203.176%2093.0106%20203.176%2097.2514V107.114H200.606L200.285%20104.576C199.482%20106.376%20197.329%20107.5%20194.791%20107.5ZM195.659%20105.155C198.518%20105.155%20200.253%20103.291%20200.253%20100.336V99.5003L196.237%2099.8216C193.57%20100.079%20192.478%20101.107%20192.478%20102.649C192.478%20104.319%20193.699%20105.155%20195.659%20105.155Z'%20fill='white'/%3e%3cpath%20d='M216.354%2091.2757V94.0386H215.005C212.146%2094.0386%20210.379%2095.7735%20210.379%2098.7935V107.114H207.359V91.4363H210.186L210.379%2093.8137C211.021%2092.1753%20212.596%2091.0829%20214.748%2091.0829C215.294%2091.0829%20215.744%2091.1472%20216.354%2091.2757Z'%20fill='white'/%3e%3cpath%20d='M224.919%20107.5C220.357%20107.5%20217.594%20104.094%20217.594%2099.3075C217.594%2094.4884%20220.389%2090.9544%20225.048%2090.9544C227.457%2090.9544%20229.481%2092.0146%20230.541%2093.9423V83.4688H233.529V107.114H230.831L230.574%20104.255C229.545%20106.408%20227.425%20107.5%20224.919%20107.5ZM225.53%20104.769C228.614%20104.769%20230.509%20102.488%20230.509%2099.2111C230.509%2095.9984%20228.614%2093.6852%20225.53%2093.6852C222.445%2093.6852%20220.646%2095.9984%20220.646%2099.2111C220.646%20102.456%20222.445%20104.769%20225.53%20104.769Z'%20fill='white'/%3e%3cpath%20d='M244.665%20107.5C240.039%20107.5%20236.858%20104.159%20236.858%2099.2754C236.858%2094.3599%20239.974%2090.9544%20244.536%2090.9544C249.002%2090.9544%20251.926%2094.0386%20251.926%2098.6971V99.8216L239.782%2099.8537C240.006%20103.163%20241.741%20104.994%20244.729%20104.994C247.074%20104.994%20248.617%20104.03%20249.131%20102.231H251.958C251.187%20105.604%20248.552%20107.5%20244.665%20107.5ZM244.536%2093.4925C241.902%2093.4925%20240.231%2095.0667%20239.846%2097.8297H248.906C248.906%2095.2273%20247.203%2093.4925%20244.536%2093.4925Z'%20fill='white'/%3e%3cpath%20d='M258.319%20107.114H255.299V91.4042H258.03L258.351%2093.8137C259.347%2092.0146%20261.339%2090.9544%20263.555%2090.9544C267.7%2090.9544%20269.595%2093.4925%20269.595%2097.5084V107.114H266.575V98.1831C266.575%2095.0025%20265.098%2093.7174%20262.784%2093.7174C259.957%2093.7174%20258.319%2095.7414%20258.319%2098.7935V107.114Z'%20fill='white'/%3e%3c/g%3e%3cdefs%3e%3cradialGradient%20id='paint0_radial_11648_9381'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(-7%20184)%20rotate(90)%20scale(87)'%3e%3cstop%20offset='0.380208'%20stop-color='%239BC8FF'/%3e%3cstop%20offset='1'%20stop-color='%239BC8FF'%20stop-opacity='0.2'/%3e%3c/radialGradient%3e%3cradialGradient%20id='paint1_radial_11648_9381'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(368%2033)%20rotate(90)%20scale(87)'%3e%3cstop%20offset='0.380208'%20stop-color='%239BC8FF'/%3e%3cstop%20offset='1'%20stop-color='%239BC8FF'%20stop-opacity='0.2'/%3e%3c/radialGradient%3e%3cclipPath%20id='clip0_11648_9381'%3e%3crect%20width='384'%20height='216'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",Kc=({thumbnail:e,category:t,date:n,title:r,className:o,thumbnailClassName:s})=>{const[a,l]=x.useState(!1),[c,u]=x.useState(e??_2);x.useEffect(()=>{u(e??_2)},[e]);const d=()=>{u(_2)};return i.jsx(ht,{level:"semi-dark",className:"gf-rounded-2xl h-full",children:i.jsxs("div",{className:m1(o,"gf-overflow-hidden gf-rounded-2xl"),children:[i.jsx("div",{className:m1(s,`${a?"":"gf-filter gf-blur-md"}`),children:i.jsx(Gc.LazyLoadImage,{alt:r,effect:"blur",src:c,onLoad:()=>l(!0),onError:d})}),i.jsxs("div",{className:"gf-px-4 gf-pt-4 gf-pb-5 gf-md:px-5 gf-md:pb-11",children:[i.jsxs("div",{className:"gf-flex gf-justify-between gf-mb-3",children:[i.jsx(M1,{size:"h5",weight:"medium",className:"gf-bg-rose gf-px-3 gf-py-1 gf-rounded-full",children:t}),i.jsx(M1,{size:"h5",weight:"medium",className:"gf-px-3 gf-py-1",children:n})]}),i.jsx(M1,{size:"h3",weight:"bold",children:r})]})]})})},Yc=Oe(["gf-w-full gf-max-w-96 gf-p-4 gf-pb-5 md:gf-p-6 md:gf-pb-8 gf-rounded-2xl"],{variants:{variant:{locked:"gf-bg-white gf-bg-opacity-25",default:"gf-bg-white gf-bg-opacity-50"}},defaultVariants:{variant:"locked"}}),Xc=({variant:e,title:t,description:n,chipContent:r,logo:o})=>i.jsxs("div",{className:m1(Yc({variant:e})),children:[i.jsxs("div",{className:"gf-flex gf-justify-between gf-items-center gf-mb-4",children:[i.jsxs(I1,{className:"gf-cursor-pointer gf-px-2 gf-py-1",children:[i.jsx(I1.Logo,{children:o}),t,i.jsx(I1.CheckBox,{checked:!1})]}),e==="default"?i.jsx(Z6,{className:"gf-cursor-pointer",height:"20px",width:"20px"}):i.jsx(A6,{className:"gf-cursor-pointer",height:"20px",width:"20px"})]}),i.jsx("div",{className:"gf-mb-3 md:gf-mb-8",children:i.jsx(M1,{size:"h3",weight:"medium",children:n})}),i.jsxs("div",{className:"gf-flex gf-justify-end gf-space-x-2",children:[i.jsxs(I1,{className:"gf-pl-3 gf-pr-2 gf-py-1",children:[i.jsx(M1,{size:"h4",weight:"medium",children:"Quest Access"}),i.jsx(I1.CheckBox,{checked:!1})]}),i.jsxs(I1,{className:"gf-pl-3 gf-pr-2 gf-py-1",children:[i.jsx(M1,{size:"h4",weight:"medium",children:r}),i.jsx(I1.CheckBox,{checked:!1})]})]})]});exports.APIIcon=$8;exports.AddIcon=Yr;exports.ArbitrumLogo=ho;exports.ArrowDownwardIcon=Wr;exports.ArrowEastIcon=L8;exports.ArrowInwardIcon=uo;exports.ArrowLeftIcon=Gr;exports.ArrowNorthEastIcon=Xr;exports.ArrowNorthWestIcon=qr;exports.ArrowRightIcon=Kr;exports.ArrowSouthEastIcon=Qr;exports.ArrowSouthWestIcon=Jr;exports.ArrowSyncIcon=N8;exports.ArrowUpwardIcon=zr;exports.BTCLogo=Co;exports.BlogCard=Kc;exports.BlogIcon=W8;exports.BottomSheet=Ur;exports.BrandKitIcon=z8;exports.Button=b0;exports.Camelot=Ao;exports.CancelIcon=B8;exports.CatalogLogo=po;exports.ChainflipIcon=R8;exports.CheckBox=Xo;exports.CheckCircleIcon=V8;exports.CheckIcon=e8;exports.Checked=I6;exports.Chip=I1;exports.ClientOnly=ft;exports.ClockIcon=t8;exports.CloseIcon=n8;exports.CodeBlockIcon=U8;exports.Coinbase=go;exports.CompareArrowsIcon=j8;exports.ConsoleIcon=G8;exports.Container=$r;exports.CopyIcon=r8;exports.CopyrightsIcon=B6;exports.DLCBTC=Eo;exports.Debridge=Ro;exports.DeleteIcon=D8;exports.DiscordIcon=N6;exports.Dodo=Io;exports.DollarChipIcon=io;exports.DraftIcon=K8;exports.EditIcon=o8;exports.EncryptedIcon=no;exports.EthereumLogo=mo;exports.ExchangeIcon=i8;exports.FaqIcon=fo;exports.FeesIcon=w8;exports.FingerprintIcon=M8;exports.FolderIcon=co;exports.Footer=zc;exports.GMX=Zo;exports.GMXLogo=Lo;exports.GardenDocs=Wo;exports.GardenExplorer=vo;exports.GardenExplorerAlt=$o;exports.GardenFullLogo=yo;exports.GardenIcon=U6;exports.GardenIconOutline=Fo;exports.GardenLogo=xo;exports.GardenLogoDark=Ko;exports.GardenLogoLight=Yo;exports.GardenLogoMarkDark=zo;exports.GardenLogoMarkLight=Go;exports.GardenLogoText=wo;exports.GardenStrokeIcon=bo;exports.GasStationIcon=_8;exports.GiftBoxIcon=so;exports.GradientScroll=ti;exports.HorizontalSwap=oo;exports.HubIcon=F8;exports.InfinityIcon=P8;exports.InfoBadge=Jo;exports.InfoIcon=s8;exports.KeyboardDownIcon=R6;exports.KeyboardLeftIcon=a8;exports.KeyboardRightIcon=l8;exports.KeyboardUpIcon=c8;exports.LanguageIcon=u8;exports.LinkIcon=d8;exports.LockIcon=A6;exports.LogoutIcon=f8;exports.MenuIcon=h8;exports.MinusIcon=H8;exports.Modal=Yn;exports.NFTIcon=Uo;exports.Opacity=ht;exports.OpenInFullIcon=Z6;exports.OpenInNewIcon=b8;exports.OtterSecIcon=Y8;exports.PageInfoIcon=C8;exports.PancakeSwap=Oo;exports.PasskeyIcon=k8;exports.PhantomIcon=Vo;exports.PlusIcon=S8;exports.PolygonLogo=Mo;exports.QuestCard=Xc;exports.Radiant=Bo;exports.RadiantLogo=jo;exports.RadioCheckedIcon=D6;exports.RadioUncheckedIcon=O6;exports.RaiseHandIcon=ao;exports.ReferralIcon=x8;exports.RelayLinkIcon=A8;exports.RemoveIcon=p8;exports.RollingText=Ee;exports.Rotate360Icon=to;exports.RoutingIcon=ro;exports.RowInfoIcon=lo;exports.SDKIcon=X8;exports.ScaleY=Uc;exports.SearchIcon=v8;exports.SearchIconThin=eo;exports.Share=T8;exports.Shine=$c;exports.Sidebar=c7;exports.Solv=Do;exports.StakeIcon=q8;exports.StarIcon=g8;exports.SwapHorizontalIcon=I8;exports.SwellBTC=Po;exports.ThorswapIcon=Z8;exports.TimerIcon=y8;exports.TokenInfo=ei;exports.TokenNetworkLogos=$6;exports.TraderJoe=ko;exports.TrailOfBits=Ho;exports.TrustWallet=So;exports.Typography=M1;exports.Unchecked=_6;exports.Vertex=_o;exports.WalletConnect=To;exports.WalletIcon=m8;exports.WalletIconRose=E8;exports.WarningIcon=O8;exports.XIcon=F6;exports.XSolidIcon=Q8;exports.ZellicIcon=J8;
|
|
65
|
+
`),()=>{document.head.removeChild(d)}},[t]),i.jsx(fc,{isPresent:t,childRef:r,sizeRef:o,children:j.cloneElement(e,{ref:r})})}const Cc=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:o,presenceAffectsLayout:s,mode:a})=>{const l=ge(pc),c=x.useId(),u=x.useMemo(()=>({id:c,initial:t,isPresent:n,custom:o,onExitComplete:d=>{l.set(d,!0);for(const f of l.values())if(!f)return;r&&r()},register:d=>(l.set(d,!1),()=>l.delete(d))}),s?[Math.random()]:[n]);return x.useMemo(()=>{l.forEach((d,f)=>l.set(f,!1))},[n]),j.useEffect(()=>{!n&&!l.size&&r&&r()},[n]),a==="popLayout"&&(e=i.jsx(hc,{isPresent:n,children:e})),i.jsx(l2.Provider,{value:u,children:e})};function pc(){return new Map}const Ot=e=>e.key||"";function Sn(e){const t=[];return x.Children.forEach(e,n=>{x.isValidElement(n)&&t.push(n)}),t}const gc=({children:e,exitBeforeEnter:t,custom:n,initial:r=!0,onExitComplete:o,presenceAffectsLayout:s=!0,mode:a="sync"})=>{R1(!t,"Replace exitBeforeEnter with mode='wait'");const l=x.useMemo(()=>Sn(e),[e]),c=l.map(Ot),u=x.useRef(!0),d=x.useRef(l),f=ge(()=>new Map),[h,g]=x.useState(l),[w,C]=x.useState(l);D3(()=>{u.current=!1,d.current=l;for(let H=0;H<w.length;H++){const L=Ot(w[H]);c.includes(L)?f.delete(L):f.get(L)!==!0&&f.set(L,!1)}},[w,c.length,c.join("-")]);const y=[];if(l!==h){let H=[...l];for(let L=0;L<w.length;L++){const S=w[L],E=Ot(S);c.includes(E)||(H.splice(L,0,S),y.push(S))}a==="wait"&&y.length&&(H=y),C(Sn(H)),g(l);return}process.env.NODE_ENV!=="production"&&a==="wait"&&w.length>1&&console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`);const{forceRender:m}=x.useContext(k3);return i.jsx(i.Fragment,{children:w.map(H=>{const L=Ot(H),S=l===w||c.includes(L),E=()=>{if(f.has(L))f.set(L,!0);else return;let D=!0;f.forEach(k=>{k||(D=!1)}),D&&(m==null||m(),C(d.current),o&&o())};return i.jsx(Cc,{isPresent:S,initial:!u.current||r?void 0:!1,custom:S?void 0:n,presenceAffectsLayout:s,mode:a,onExitComplete:S?void 0:E,children:H},L)})})};function L9(e){const t=ge(()=>Ze(e)),{isStatic:n}=x.useContext(c2);if(n){const[,r]=x.useState(e);x.useEffect(()=>t.on("change",r),[])}return t}function V9(e,t){const n=L9(t()),r=()=>n.set(t());return r(),D3(()=>{const o=()=>n1.preRender(r,!1,!0),s=e.map(a=>a.on("change",o));return()=>{s.forEach(a=>a()),F1(r)}}),n}const mc=e=>e&&typeof e=="object"&&e.mix,vc=e=>mc(e)?e.mix:void 0;function yc(...e){const t=!Array.isArray(e[0]),n=t?0:-1,r=e[0+n],o=e[1+n],s=e[2+n],a=e[3+n],l=b4(o,s,{mixer:vc(s[0]),...a});return t?l(r):l}function xc(e){rt.current=[],e();const t=V9(rt.current,e);return rt.current=void 0,t}function wc(e,t,n,r){if(typeof e=="function")return xc(e);const o=typeof t=="function"?t:yc(t,n,r);return Array.isArray(e)?Tn(e,o):Tn([e],([s])=>o(s))}function Tn(e,t){const n=ge(()=>[]);return V9(e,()=>{n.length=0;const r=e.length;for(let o=0;o<r;o++)n[o]=e[o].get();return t(n)})}function M9(e,t,n){var r;if(typeof e=="string"){let o=document;t&&(R1(!!t.current,"Scope provided, but no element detected."),o=t.current),n?((r=n[e])!==null&&r!==void 0||(n[e]=o.querySelectorAll(e)),e=n[e]):e=o.querySelectorAll(e)}else e instanceof Element&&(e=[e]);return Array.from(e||[])}function bc(e){return x.useEffect(()=>()=>e(),[])}function Lc(e){return typeof e=="object"&&!Array.isArray(e)}function Vc(e){const t={presenceContext:null,props:{},visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{}}},n=e9(e)?new b9(t):new w9(t);n.mount(e),dt.set(e,n)}function Mc(e,t=100){const n=b3({keyframes:[0,t],...e}),r=Math.min(M4(n),J2);return{type:"keyframes",ease:o=>n.next(r*o).value/t,duration:_1(r)}}function Pn(e,t,n,r){var o;return typeof t=="number"?t:t.startsWith("-")||t.startsWith("+")?Math.max(0,e+parseFloat(t)):t==="<"?n:(o=r.get(t))!==null&&o!==void 0?o:e}const jc=(e,t,n)=>{const r=t-e;return((n-e)%r+r)%r+e};function Hc(e,t){return p4(e)?e[jc(0,e.length,t)]:e}function Sc(e,t,n){for(let r=0;r<e.length;r++){const o=e[r];o.at>t&&o.at<n&&(mt(e,o),r--)}}function Tc(e,t,n,r,o,s){Sc(e,o,s);for(let a=0;a<t.length;a++)e.push({value:t[a],at:c1(o,s,r[a]),easing:Hc(n,a)})}function Pc(e,t){return e.at===t.at?e.value===null?1:t.value===null?-1:0:e.at-t.at}const Ec="easeInOut";function kc(e,{defaultTransition:t={},...n}={},r){const o=t.duration||.3,s=new Map,a=new Map,l={},c=new Map;let u=0,d=0,f=0;for(let h=0;h<e.length;h++){const g=e[h];if(typeof g=="string"){c.set(g,d);continue}else if(!Array.isArray(g)){c.set(g.name,Pn(d,g.at,u,c));continue}let[w,C,y={}]=g;y.at!==void 0&&(d=Pn(d,y.at,u,c));let m=0;const H=(L,S,E,D=0,k=0)=>{const P=Rc(L),{delay:A=0,times:_=V4(P),type:F="keyframes",...I}=S;let{ease:O=t.ease||"easeOut",duration:$}=S;const J=typeof A=="function"?A(D,k):A,X=P.length;if(X<=2&&F==="spring"){let Y=100;if(X===2&&Dc(P)){const o1=P[1]-P[0];Y=Math.abs(o1)}const l1={...I};$!==void 0&&(l1.duration=k1($));const u1=Mc(l1,Y);O=u1.ease,$=u1.duration}$??($=o);const N=d+J,K=N+$;_.length===1&&_[0]===0&&(_[1]=1);const q=_.length-P.length;q>0&&L4(_,q),P.length===1&&P.unshift(null),Tc(E,P,O,_,N,K),m=Math.max(J+$,m),f=Math.max(K,f)};if(v1(w)){const L=En(w,a);H(C,y,kn("default",L))}else{const L=M9(w,r,l),S=L.length;for(let E=0;E<S;E++){C=C,y=y;const D=L[E],k=En(D,a);for(const P in C)H(C[P],Ac(y,P),kn(P,k),E,S)}}u=d,d+=m}return a.forEach((h,g)=>{for(const w in h){const C=h[w];C.sort(Pc);const y=[],m=[],H=[];for(let S=0;S<C.length;S++){const{at:E,value:D,easing:k}=C[S];y.push(D),m.push(Ae(0,f,E)),H.push(k||"easeOut")}m[0]!==0&&(m.unshift(0),y.unshift(y[0]),H.unshift(Ec)),m[m.length-1]!==1&&(m.push(1),y.push(null)),s.has(g)||s.set(g,{keyframes:{},transition:{}});const L=s.get(g);L.keyframes[w]=y,L.transition[w]={...t,duration:f,ease:H,times:m,...n}}}),s}function En(e,t){return!t.has(e)&&t.set(e,{}),t.get(e)}function kn(e,t){return t[e]||(t[e]=[]),t[e]}function Rc(e){return Array.isArray(e)?e:[e]}function Ac(e,t){return e[t]?{...e,...e[t]}:{...e}}const Zc=e=>typeof e=="number",Dc=e=>e.every(Zc);function j9(e,t,n,r){const o=M9(e,r),s=o.length;R1(!!s,"No valid element provided.");const a=[];for(let l=0;l<s;l++){const c=o[l];dt.has(c)||Vc(c);const u=dt.get(c),d={...n};typeof d.delay=="function"&&(d.delay=d.delay(l,s)),a.push(...E3(u,{...t,transition:d},{}))}return new S3(a)}const Oc=e=>Array.isArray(e)&&Array.isArray(e[0]);function Ic(e,t,n){const r=[];return kc(e,t,n).forEach(({keyframes:s,transition:a},l)=>{let c;v1(l)?c=A3(l,s.default,a.default):c=j9(l,s,a),r.push(c)}),new S3(r)}const _c=e=>{function t(n,r,o){let s;return Oc(n)?s=Ic(n,r,e):Lc(r)?s=j9(n,r,o,e):s=A3(n,r,o),e&&e.animations.push(s),s}return t};function Bc(){const e=ge(()=>({current:null,animations:[]})),t=ge(()=>_c(e));return bc(()=>{e.animations.forEach(n=>n.stop())}),[e,t]}function Nc(e,t){if(e==="first")return 0;{const n=t-1;return e==="last"?n:n/2}}function It(e=.1,{startDelay:t=0,from:n=0,ease:r}={}){return(o,s)=>{const a=typeof n=="number"?n:Nc(n,s),l=Math.abs(a-o);let c=e*l;if(r){const u=s*e;c=q2(r)(c/u)*u}return t+c}}const Fc=({isMobile:e,isLogoHovered:t,maskUrl:n})=>{const[r]=x.useState("https://garden-bucket-cdn.s3.eu-central-1.amazonaws.com/flowers_bg.mp4"),[o,s]=x.useState("initial"),a=x.useRef(null),l=x.useRef(null),c=L9(45),u=wc(c,d=>`${d}% center`);return x.useEffect(()=>{if(t)s("visible");else{s("exit");const d=setTimeout(()=>{s("initial")},800);return()=>clearTimeout(d)}},[t]),i.jsxs(i.Fragment,{children:[i.jsx("video",{ref:a,src:r,autoPlay:!0,loop:!0,muted:!0,controls:!1,preload:"metadata",playsInline:!0,className:"gf-pointer-events-none gf-absolute gf-left-0 gf-top-0 gf-z-0 gf-h-full gf-w-screen gf-object-cover gf-opacity-0"},"video-flowers"),i.jsx(gc,{mode:"wait",children:i.jsx(U3.div,{animate:o,variants:{initial:{maskPosition:"45%",opacity:0},visible:{maskPosition:"10%",opacity:1},exit:{maskPosition:"-60%",opacity:0,transition:{duration:1.2,ease:[0,.77,.3,1],opacity:{delay:.4}}}},transition:{duration:1,ease:[.22,.68,.88,.96],delay:.15,opacity:{times:[0,1,1,1]}},style:{maskImage:`linear-gradient(black, black), url('${n}')`,maskComposite:"exclude",maskSize:e?"1200% 200%":"820% 600%",maskPosition:u},className:"gf-pointer-events-none gf-absolute gf-left-0 gf-top-0 gf-z-0 gf-h-full gf-w-full gf-overflow-hidden gf-opacity-0",children:i.jsx("video",{ref:l,src:r,autoPlay:!0,loop:!0,muted:!0,controls:!1,preload:"metadata",playsInline:!0,className:"gf-pointer-events-none gf-h-full gf-w-screen gf-object-cover",onCanPlayThrough:()=>{l.current&&l.current.play().catch(console.error)},onLoadStart:()=>{l.current&&l.current.play().catch(console.error)}},"video-flowers-animated")},"hovered")})]})},Uc=({children:e,triggerAnimation:t})=>{const n={animation:{scaleY:[0,1],opacity:[0,1],transition:{duration:.5,ease:Fe(.84,0,.16,1),opacity:{duration:.2,ease:"easeInOut"},once:!0}},idle:{scaleY:1,opacity:1}};return i.jsx(U3.div,{animate:t?"animation":"idle",variants:n,style:{transformOrigin:"bottom"},children:e})},$c=({children:e})=>i.jsx(U3.div,{className:"gf-relative gf-inline-block gf-overflow-hidden gf-rounded-xl gf-w-[300px] before:gf-z-50 before:gf-absolute before:gf-bg-gradient-to-r before:gf-from-transparent before:gf-via-white/50 before:gf-via-50% before:gf-to-transparent before:gf-top-0 before:gf-left-0 before:gf-w-[168px] before:gf-h-full before:gf-animate-shine before:gf-opacity-0",children:e}),Ee=x.forwardRef(({value:e,isHovered:t,className:n,delay:r},o)=>{const s=e.split(""),[a,l]=Bc(),c=()=>{l([[".gf-letter",{y:"-100%"},{duration:.5,delay:r?It(.014,{startDelay:r}):It(.014),ease:[.76,0,.24,1]}]])},u=()=>{l([[".gf-letter",{y:"0%"},{duration:.5,delay:r?It(.014,{startDelay:r}):It(.014),ease:[.76,0,.24,1]}]])};return x.useImperativeHandle(o,()=>({startAnimation:c,stopAnimation:u})),x.useEffect(()=>{t?c():u()},[t]),x.useEffect(()=>{const d=()=>{t||c()},f=()=>{t||u()},h=a.current;if(h)return h.addEventListener("mouseenter",d),h.addEventListener("mouseleave",f),()=>{h.removeEventListener("mouseenter",d),h.removeEventListener("mouseleave",f)}},[a,t]),i.jsx("div",{ref:a,children:i.jsx("span",{className:m1("gf-flex gf-h-5 gf-items-center gf-justify-start gf-overflow-hidden gf-pr-0.5",n),children:s.map((d,f)=>i.jsx("span",{"data-letter":d,className:"gf-letter gf-relative gf-h-5 gf-whitespace-pre gf-leading-5 after:gf-absolute after:gf-left-0 after:gf-top-full after:gf-h-5 after:gf-leading-5 after:gf-content-[attr(data-letter)]",children:d},`${d}-${f}`))})})});Ee.displayName="RollingText";const Qe=({title:e,links:t,hoveredIndex:n,onHover:r,className:o="gf-flex gf-w-full gf-flex-col gf-gap-3 md:gf-w-fit",listClassName:s="gf-flex gf-flex-col gf-gap-1",isRoutes:a=!1})=>i.jsxs("div",{className:o,children:[i.jsx(M1,{size:"h4",weight:"medium",className:"gf-flex gf-items-center gf-gap-2 gf-transition-all gf-duration-500 gf-ease-in-out gf-text-inherit",children:i.jsx("span",{children:e})}),i.jsx("ul",{className:s,children:Object.values(t).map((l,c)=>l.link&&i.jsx("li",{className:a?"gf-w-fit":"",onMouseEnter:()=>{r==null||r(c)},onMouseLeave:()=>{r==null||r(null)},children:i.jsxs(M1,{as:"a",href:l.link,target:"_blank",size:"h4",weight:"regular",className:`gf-cursor-pointer gf-transition-all gf-duration-500 gf-ease-in-out gf-text-inherit ${a?"gf-flex gf-w-fit gf-gap-0.5 gf-items-end gf-transition-colors gf-duration-500 gf-ease-in-out":""}`,children:[l.inputAsset&&i.jsx(Ee,{value:l.inputAsset||"",isHovered:n===c}),a&&l.inputChain&&i.jsx(Ee,{delay:.1,className:"gf-text-xs gf-italic gf-translate-y-[0.6px]",value:l.inputChain,isHovered:n===c}),i.jsx(Ee,{delay:.15,value:l.title,isHovered:n===c}),a&&l.chain&&i.jsx(Ee,{delay:.3,className:"gf-text-xs gf-italic gf-translate-y-[0.6px] -gf-translate-x-[2px]",value:l.chain,isHovered:n===c})]})},c))})]}),Wc="data:image/svg+xml,%3csvg%20width='3956'%20height='906'%20viewBox='0%200%203956%20906'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='3956'%20height='906'%20fill='url(%23paint0_linear_579_2)'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_579_2'%20x1='1465.5'%20y1='731.406'%20x2='2604.91'%20y2='227.235'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-opacity='0'/%3e%3cstop%20offset='0.115385'/%3e%3cstop%20offset='0.88'/%3e%3cstop%20offset='1'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",zc=({className:e,network:t="mainnet",maskUrl:n=Wc,...r})=>{const[o,s]=x.useState(!1),[a,l]=x.useState(null),c=Fn(),u=x.useRef(null);x.useEffect(()=>()=>{u.current&&clearTimeout(u.current)},[]);const d=t&&t==="testnet"?"https://testnet.garden.finance":"https://app.garden.finance",f="https://garden.finance",h={Products:{swap:{title:"Swap",link:t&&t==="testnet"?`${d}/?input-chain=bitcoin_testnet&input-asset=BTC`:`${d}/?input-chain=bitcoin&input-asset=BTC`,isExternal:!0},stake:{title:"Stake",link:t&&t==="testnet"?void 0:`${d}/stake`,isExternal:!0},explorer:{title:"Explorer",link:t&&t==="testnet"?"https://testnet-explorer.garden.finance/":"https://explorer.garden.finance/",isExternal:!0}},Resources:{blog:{title:"Blog",link:`${f}/blog`,isExternal:!0},routes:{title:"Routes",link:`${f}/routes`,isExternal:!0},faq:{title:"FAQs",link:`${f}/faq`,isExternal:!0},brandKit:{title:"Brand kit",link:`${f}/brand-kit`,isExternal:!0},analytics:{title:"Analytics",link:"https://dune.com/garden_finance/gardenfinance",isExternal:!0},Audits:{title:"Audits",link:"https://github.com/gardenfi/audits",isExternal:!0},Governance:{title:"Governance",link:"https://docs.garden.finance/home/governance",isExternal:!0}},Developers:{docs:{title:"Docs",link:"https://docs.garden.finance/",isExternal:!0},api:{title:"API",link:"https://docs.garden.finance/developers/api/overview",isExternal:!0},sdk:{title:"SDK",link:"https://docs.garden.finance/developers/sdk/overview",isExternal:!0},security:{title:"Security",link:`${f}/security`,isExternal:!0}}},g={btcToSol:{title:"BTC to SOL",link:f+"/routes/bridge-btc-to-sol",chain:"Solana",isExternal:!0},btcToEth:{title:"BTC to ETH",link:f+"/routes/bridge-btc-to-eth",chain:"Ethereum",isExternal:!0},btcToUsdc:{title:"BTC to USDC",link:f+"/routes/bridge-btc-to-usdc-arbitrum",chain:"Arbitrum",isExternal:!0},btctoUsdcEth:{title:"BTC to USDC",link:f+"/routes/bridge-btc-to-usdc-ethereum",chain:"Ethereum",isExternal:!0},btcToWbtc:{title:"BTC to WBTC",link:f+"/routes/bridge-btc-to-wbtc-ethereum",chain:"Ethereum",isExternal:!0},btcTocbBtc:{title:"BTC to cbBTC",link:f+"/routes/bridge-btc-to-cbbtc-base",chain:"Base",isExternal:!0},btcToSui:{title:"BTC to SUI",link:f+"/routes/bridge-btc-to-sui",chain:"Sui",isExternal:!0},btcToWbtcUni:{title:"BTC to WBTC",link:f+"/routes/bridge-btc-to-wbtc-unichain",chain:"Unichain",isExternal:!0},btcToBnb:{title:"BTC to BNB",link:f+"/routes/bridge-btc-to-bnb",chain:"BNB Chain",isExternal:!0},btcToMon:{title:"BTC to MON",link:f+"/routes/bridge-btc-to-mon",chain:"Monad",isExternal:!0},cbBtcBaseTocbBtcSolana:{title:" to cbBTC",link:f+"/routes/bridge-cbbtc-base-to-cbbtc-solana",inputAsset:"cbBTC",inputChain:"Base",chain:"Solana",isExternal:!0},usdcBnbToBtc:{title:" to BTC",link:f+"/routes/bridge-usdc-bnb-to-btc",inputAsset:"USDC",inputChain:"BNB Chain",isExternal:!0},btcToUsdtEthereum:{title:" to USDT",link:f+"/routes/bridge-btc-to-usdt-ethereum",inputAsset:"BTC",chain:"Ethereum",isExternal:!0},btcToUsdcSolana:{title:" to USDC",link:f+"/routes/bridge-btc-to-usdc-solana",inputAsset:"BTC",chain:"Solana",isExternal:!0},usdcEthereumToBtc:{title:" to BTC",link:f+"/routes/bridge-usdc-ethereum-to-btc",inputAsset:"USDC",inputChain:"Ethereum",isExternal:!0},solToBtc:{title:" to BTC",link:f+"/routes/bridge-sol-to-btc",inputAsset:"SOL",inputChain:"Solana",isExternal:!0},usdcEthereumToUsdcBase:{title:" to USDC",link:f+"/routes/bridge-usdc-ethereum-to-usdc-base",inputAsset:"USDC",inputChain:"Ethereum",chain:"Base",isExternal:!0}},w={discord:"https://discord.gg/7feudTFMXB",x:"https://x.com/gardenfi"},{Products:C,Resources:y,Developers:m}=h;return i.jsxs("footer",{className:m1("gf-z-10 gf-relative gf-mx-auto gf-flex gf-w-full gf-flex-col gf-items-center gf-justify-center gf-bg-white gf-px-6 gf-pb-10 gf-pt-20 md:gf-px-10",e,o?"gf-text-white":"gf-text-dark-grey"),...r,children:[i.jsxs("div",{className:"gf-z-30 gf-w-full gf-max-w-screen-2xl",children:[i.jsxs("div",{className:"gf-mx-auto gf-flex gf-w-full gf-flex-col gf-items-start gf-justify-between gf-gap-8",children:[i.jsxs("div",{className:"gf-flex gf-w-full gf-items-center gf-justify-between gf-gap-6",children:[i.jsx(U6,{onMouseEnter:()=>{u.current&&clearTimeout(u.current),u.current=setTimeout(()=>{s(!0)},300)},onMouseLeave:()=>{u.current&&(clearTimeout(u.current),u.current=null),s(!1)},className:"gf-h-8 gf-w-8 gf-cursor-pointer gf-duration-500 gf-ease-in-out",onClick:H=>H.preventDefault()}),i.jsxs("div",{className:"gf-flex gf-items-center gf-gap-4",children:[i.jsx(F6,{onClick:()=>{c&&window.open(w.x,"_blank")},className:"gf-cursor-pointer gf-duration-500 gf-ease-in-out"}),i.jsx(N6,{onClick:()=>{c&&window.open(w.discord,"_blank")},className:"gf-cursor-pointer gf-duration-500 gf-ease-in-out"})]})]}),i.jsxs("div",{className:"gf-flex gf-w-full gf-max-w-screen-2xl gf-flex-col-reverse gf-items-start gf-justify-between gf-gap-6 md:gf-flex-row",children:[i.jsxs("div",{className:"gf-flex gf-w-full gf-flex-col sm:gf-flex-row gf-gap-6 gf-items-start gf-justify-between sm:gf-gap-3 md:gf-w-fit",children:[i.jsx("div",{className:"gf-w-full md:gf-hidden",children:i.jsx(Qe,{title:"Resources",links:y,className:"gf-flex gf-w-full gf-flex-col gf-gap-3",listClassName:"gf-flex gf-flex-col gf-gap-2"})}),i.jsx("div",{className:"gf-flex gf-w-full gf-max-w-[400px] gf-flex-col gf-gap-3 md:gf-w-fit",children:i.jsx(Qe,{title:"Routes",links:g,hoveredIndex:a,onHover:l,className:"gf-flex gf-w-full gf-max-w-[400px] gf-flex-col gf-gap-3 md:gf-w-fit",listClassName:"gf-grid gf-w-full gf-grid-cols-1 gf-gap-1 gf-gap-x-8 md:gf-grid-cols-2 md:gf-grid-rows-2",isRoutes:!0})})]}),i.jsxs("div",{className:"gf-flex gf-w-full gf-items-start gf-justify-between gf-gap-3 md:gf-w-fit md:gf-gap-16",children:[i.jsx(Qe,{title:"Products",links:C,className:"gf-flex gf-w-full gf-flex-col gf-gap-3 md:gf-w-fit",listClassName:"gf-flex gf-w-fit gf-flex-col gf-gap-1 gf-gap-x-6"}),i.jsx(Qe,{title:"Developers",links:m,className:"gf-flex gf-w-full gf-flex-col gf-gap-3 md:gf-w-fit",listClassName:"gf-flex gf-flex-col gf-gap-1"}),i.jsx("div",{className:"gf-hidden md:gf-flex",children:i.jsx(Qe,{title:"Resources",links:y,className:"gf-flex gf-w-full gf-flex-col gf-gap-3",listClassName:"gf-flex gf-flex-col gf-gap-1"})})]})]})]}),i.jsxs("div",{className:"gf-relative gf-mt-6 gf-flex gf-w-full gf-max-w-screen-2xl gf-items-center gf-justify-center",children:[i.jsx("div",{className:`gf-absolute gf-left-0 gf-top-0 gf-h-[1px] gf-w-full gf-transition-all gf-duration-500 gf-ease-in-out ${o?"gf-bg-white":"gf-bg-dark-grey"}`}),i.jsxs("div",{className:"gf-z-10 gf-my-6 gf-flex gf-w-full gf-items-center gf-justify-between gf-gap-4",children:[i.jsx("div",{className:"gf-flex gf-w-fit gf-items-center gf-justify-start gf-gap-6",children:i.jsxs(M1,{size:"h5",className:"gf-flex gf-items-center gf-gap-1 gf-transition-all gf-duration-500 gf-ease-in-out gf-text-inherit",weight:"regular",children:[i.jsx(B6,{}),i.jsx("span",{children:"Garden"}),i.jsx("span",{children:"2025"})]})}),i.jsxs("div",{className:"gf-flex gf-w-fit gf-items-center gf-justify-end gf-gap-6",children:[i.jsx(M1,{size:"h5",as:"a",className:"gf-cursor-pointer gf-underline-offset-2 gf-transition-all gf-duration-500 gf-ease-in-out gf-hover:underline gf-text-inherit",weight:"regular",href:"/privacy.pdf",target:"_blank",children:"Privacy Policy"}),i.jsx(M1,{as:"a",size:"h5",className:"gf-cursor-pointer gf-underline-offset-2 gf-transition-all gf-duration-500 gf-ease-in-out gf-hover:underline gf-text-inherit",weight:"regular",href:"/terms.pdf",target:"_blank",children:"Terms of Service"})]})]})]})]}),i.jsx(Fc,{isMobile:!1,isLogoHovered:o,maskUrl:n})]})};var H9={exports:{}};(()=>{var e={181:(o,s,a)=>{var l=/^\s+|\s+$/g,c=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,d=/^0o[0-7]+$/i,f=parseInt,h=typeof a.g=="object"&&a.g&&a.g.Object===Object&&a.g,g=typeof self=="object"&&self&&self.Object===Object&&self,w=h||g||Function("return this")(),C=Object.prototype.toString,y=Math.max,m=Math.min,H=function(){return w.Date.now()};function L(E){var D=typeof E;return!!E&&(D=="object"||D=="function")}function S(E){if(typeof E=="number")return E;if(function(P){return typeof P=="symbol"||function(A){return!!A&&typeof A=="object"}(P)&&C.call(P)=="[object Symbol]"}(E))return NaN;if(L(E)){var D=typeof E.valueOf=="function"?E.valueOf():E;E=L(D)?D+"":D}if(typeof E!="string")return E===0?E:+E;E=E.replace(l,"");var k=u.test(E);return k||d.test(E)?f(E.slice(2),k?2:8):c.test(E)?NaN:+E}o.exports=function(E,D,k){var P,A,_,F,I,O,$=0,J=!1,X=!1,N=!0;if(typeof E!="function")throw new TypeError("Expected a function");function K(o1){var i1=P,y1=A;return P=A=void 0,$=o1,F=E.apply(y1,i1)}function q(o1){var i1=o1-O;return O===void 0||i1>=D||i1<0||X&&o1-$>=_}function Y(){var o1=H();if(q(o1))return l1(o1);I=setTimeout(Y,function(i1){var y1=D-(i1-O);return X?m(y1,_-(i1-$)):y1}(o1))}function l1(o1){return I=void 0,N&&P?K(o1):(P=A=void 0,F)}function u1(){var o1=H(),i1=q(o1);if(P=arguments,A=this,O=o1,i1){if(I===void 0)return function(y1){return $=y1,I=setTimeout(Y,D),J?K(y1):F}(O);if(X)return I=setTimeout(Y,D),K(O)}return I===void 0&&(I=setTimeout(Y,D)),F}return D=S(D)||0,L(k)&&(J=!!k.leading,_=(X="maxWait"in k)?y(S(k.maxWait)||0,D):_,N="trailing"in k?!!k.trailing:N),u1.cancel=function(){I!==void 0&&clearTimeout(I),$=0,P=O=A=I=void 0},u1.flush=function(){return I===void 0?F:l1(H())},u1}},858:(o,s,a)=>{var l="Expected a function",c=NaN,u="[object Symbol]",d=/^\s+|\s+$/g,f=/^[-+]0x[0-9a-f]+$/i,h=/^0b[01]+$/i,g=/^0o[0-7]+$/i,w=parseInt,C=typeof a.g=="object"&&a.g&&a.g.Object===Object&&a.g,y=typeof self=="object"&&self&&self.Object===Object&&self,m=C||y||Function("return this")(),H=Object.prototype.toString,L=Math.max,S=Math.min,E=function(){return m.Date.now()};function D(P){var A=typeof P;return!!P&&(A=="object"||A=="function")}function k(P){if(typeof P=="number")return P;if(function(F){return typeof F=="symbol"||function(I){return!!I&&typeof I=="object"}(F)&&H.call(F)==u}(P))return c;if(D(P)){var A=typeof P.valueOf=="function"?P.valueOf():P;P=D(A)?A+"":A}if(typeof P!="string")return P===0?P:+P;P=P.replace(d,"");var _=h.test(P);return _||g.test(P)?w(P.slice(2),_?2:8):f.test(P)?c:+P}o.exports=function(P,A,_){var F=!0,I=!0;if(typeof P!="function")throw new TypeError(l);return D(_)&&(F="leading"in _?!!_.leading:F,I="trailing"in _?!!_.trailing:I),function(O,$,J){var X,N,K,q,Y,l1,u1=0,o1=!1,i1=!1,y1=!0;if(typeof O!="function")throw new TypeError(l);function U1(f1){var V1=X,x1=N;return X=N=void 0,u1=f1,q=O.apply(x1,V1)}function Z1(f1){var V1=f1-l1;return l1===void 0||V1>=$||V1<0||i1&&f1-u1>=K}function j1(){var f1=E();if(Z1(f1))return P1(f1);Y=setTimeout(j1,function(V1){var x1=$-(V1-l1);return i1?S(x1,K-(V1-u1)):x1}(f1))}function P1(f1){return Y=void 0,y1&&X?U1(f1):(X=N=void 0,q)}function E1(){var f1=E(),V1=Z1(f1);if(X=arguments,N=this,l1=f1,V1){if(Y===void 0)return function(x1){return u1=x1,Y=setTimeout(j1,$),o1?U1(x1):q}(l1);if(i1)return Y=setTimeout(j1,$),U1(l1)}return Y===void 0&&(Y=setTimeout(j1,$)),q}return $=k($)||0,D(J)&&(o1=!!J.leading,K=(i1="maxWait"in J)?L(k(J.maxWait)||0,$):K,y1="trailing"in J?!!J.trailing:y1),E1.cancel=function(){Y!==void 0&&clearTimeout(Y),u1=0,X=l1=N=Y=void 0},E1.flush=function(){return Y===void 0?q:P1(E())},E1}(P,A,{leading:F,maxWait:A,trailing:I})}},694:(o,s,a)=>{var l=a(925);function c(){}function u(){}u.resetWarningCache=c,o.exports=function(){function d(g,w,C,y,m,H){if(H!==l){var L=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw L.name="Invariant Violation",L}}function f(){return d}d.isRequired=d;var h={array:d,bigint:d,bool:d,func:d,number:d,object:d,string:d,symbol:d,any:d,arrayOf:f,element:d,elementType:d,instanceOf:f,node:d,objectOf:f,oneOf:f,oneOfType:f,shape:f,exact:f,checkPropTypes:u,resetWarningCache:c};return h.PropTypes=h,h}},556:(o,s,a)=>{o.exports=a(694)()},925:o=>{o.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}},t={};function n(o){var s=t[o];if(s!==void 0)return s.exports;var a=t[o]={exports:{}};return e[o](a,a.exports,n),a.exports}n.n=o=>{var s=o&&o.__esModule?()=>o.default:()=>o;return n.d(s,{a:s}),s},n.d=(o,s)=>{for(var a in s)n.o(s,a)&&!n.o(o,a)&&Object.defineProperty(o,a,{enumerable:!0,get:s[a]})},n.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),n.o=(o,s)=>Object.prototype.hasOwnProperty.call(o,s),n.r=o=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(o,"__esModule",{value:!0})};var r={};(()=>{n.r(r),n.d(r,{LazyLoadComponent:()=>$e,LazyLoadImage:()=>h2,trackWindowScroll:()=>o1});const o=x;var s=n.n(o),a=n(556);function l(){return typeof window<"u"&&"IntersectionObserver"in window&&"isIntersecting"in window.IntersectionObserverEntry.prototype}function c(T){return c=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(p){return typeof p}:function(p){return p&&typeof Symbol=="function"&&p.constructor===Symbol&&p!==Symbol.prototype?"symbol":typeof p},c(T)}function u(T,p){var M=Object.keys(T);if(Object.getOwnPropertySymbols){var b=Object.getOwnPropertySymbols(T);p&&(b=b.filter(function(v){return Object.getOwnPropertyDescriptor(T,v).enumerable})),M.push.apply(M,b)}return M}function d(T,p,M){return(p=h(p))in T?Object.defineProperty(T,p,{value:M,enumerable:!0,configurable:!0,writable:!0}):T[p]=M,T}function f(T,p){for(var M=0;M<p.length;M++){var b=p[M];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(T,h(b.key),b)}}function h(T){var p=function(M,b){if(c(M)!="object"||!M)return M;var v=M[Symbol.toPrimitive];if(v!==void 0){var V=v.call(M,"string");if(c(V)!="object")return V;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(M)}(T);return c(p)=="symbol"?p:p+""}function g(T,p,M){return p=C(p),function(b,v){if(v&&(c(v)=="object"||typeof v=="function"))return v;if(v!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(V){if(V===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return V}(b)}(T,w()?Reflect.construct(p,M||[],C(T).constructor):p.apply(T,M))}function w(){try{var T=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(w=function(){return!!T})()}function C(T){return C=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(p){return p.__proto__||Object.getPrototypeOf(p)},C(T)}function y(T,p){return y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(M,b){return M.__proto__=b,M},y(T,p)}var m=function(T){T.forEach(function(p){p.isIntersecting&&p.target.onVisible()})},H={},L=function(T){function p(v){var V;if(function(Z,B){if(!(Z instanceof B))throw new TypeError("Cannot call a class as a function")}(this,p),(V=g(this,p,[v])).supportsObserver=!v.scrollPosition&&v.useIntersectionObserver&&l(),V.supportsObserver){var R=v.threshold;V.observer=function(Z){return H[Z]=H[Z]||new IntersectionObserver(m,{rootMargin:Z+"px"}),H[Z]}(R)}return V}return function(v,V){if(typeof V!="function"&&V!==null)throw new TypeError("Super expression must either be null or a function");v.prototype=Object.create(V&&V.prototype,{constructor:{value:v,writable:!0,configurable:!0}}),Object.defineProperty(v,"prototype",{writable:!1}),V&&y(v,V)}(p,T),M=p,b=[{key:"componentDidMount",value:function(){this.placeholder&&this.observer&&(this.placeholder.onVisible=this.props.onVisible,this.observer.observe(this.placeholder)),this.supportsObserver||this.updateVisibility()}},{key:"componentWillUnmount",value:function(){this.observer&&this.placeholder&&this.observer.unobserve(this.placeholder)}},{key:"componentDidUpdate",value:function(){this.supportsObserver||this.updateVisibility()}},{key:"getPlaceholderBoundingBox",value:function(){var v=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props.scrollPosition,V=this.placeholder.getBoundingClientRect(),R=this.placeholder.style,Z=parseInt(R.getPropertyValue("margin-left"),10)||0,B=parseInt(R.getPropertyValue("margin-top"),10)||0;return{bottom:v.y+V.bottom+B,left:v.x+V.left+Z,right:v.x+V.right+Z,top:v.y+V.top+B}}},{key:"isPlaceholderInViewport",value:function(){if(typeof window>"u"||!this.placeholder)return!1;var v=this.props,V=v.scrollPosition,R=v.threshold,Z=this.getPlaceholderBoundingBox(V),B=V.y+window.innerHeight,W=V.x,t1=V.x+window.innerWidth,Q=V.y;return Q-R<=Z.bottom&&B+R>=Z.top&&W-R<=Z.right&&t1+R>=Z.left}},{key:"updateVisibility",value:function(){this.isPlaceholderInViewport()&&this.props.onVisible()}},{key:"render",value:function(){var v=this,V=this.props,R=V.className,Z=V.height,B=V.placeholder,W=V.style,t1=V.width;if(B&&typeof B.type!="function")return s().cloneElement(B,{ref:function(e1){return v.placeholder=e1}});var Q=function(e1){for(var s1=1;s1<arguments.length;s1++){var r1=arguments[s1]!=null?arguments[s1]:{};s1%2?u(Object(r1),!0).forEach(function(h1){d(e1,h1,r1[h1])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e1,Object.getOwnPropertyDescriptors(r1)):u(Object(r1)).forEach(function(h1){Object.defineProperty(e1,h1,Object.getOwnPropertyDescriptor(r1,h1))})}return e1}({display:"inline-block"},W);return t1!==void 0&&(Q.width=t1),Z!==void 0&&(Q.height=Z),s().createElement("span",{className:R,ref:function(e1){return v.placeholder=e1},style:Q},B)}}],b&&f(M.prototype,b),Object.defineProperty(M,"prototype",{writable:!1}),M;var M,b}(s().Component);L.propTypes={onVisible:a.PropTypes.func.isRequired,className:a.PropTypes.string,height:a.PropTypes.oneOfType([a.PropTypes.number,a.PropTypes.string]),placeholder:a.PropTypes.element,threshold:a.PropTypes.number,useIntersectionObserver:a.PropTypes.bool,scrollPosition:a.PropTypes.shape({x:a.PropTypes.number.isRequired,y:a.PropTypes.number.isRequired}),width:a.PropTypes.oneOfType([a.PropTypes.number,a.PropTypes.string])},L.defaultProps={className:"",placeholder:null,threshold:100,useIntersectionObserver:!0};const S=L;var E=n(181),D=n.n(E),k=n(858),P=n.n(k),A=function(T){var p=getComputedStyle(T,null);return p.getPropertyValue("overflow")+p.getPropertyValue("overflow-y")+p.getPropertyValue("overflow-x")};const _=function(T){if(!(T instanceof HTMLElement))return window;for(var p=T;p&&p instanceof HTMLElement;){if(/(scroll|auto)/.test(A(p)))return p;p=p.parentNode}return window};function F(T){return F=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(p){return typeof p}:function(p){return p&&typeof Symbol=="function"&&p.constructor===Symbol&&p!==Symbol.prototype?"symbol":typeof p},F(T)}var I=["delayMethod","delayTime"];function O(){return O=Object.assign?Object.assign.bind():function(T){for(var p=1;p<arguments.length;p++){var M=arguments[p];for(var b in M)({}).hasOwnProperty.call(M,b)&&(T[b]=M[b])}return T},O.apply(null,arguments)}function $(T,p){for(var M=0;M<p.length;M++){var b=p[M];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(T,J(b.key),b)}}function J(T){var p=function(M,b){if(F(M)!="object"||!M)return M;var v=M[Symbol.toPrimitive];if(v!==void 0){var V=v.call(M,"string");if(F(V)!="object")return V;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(M)}(T);return F(p)=="symbol"?p:p+""}function X(T,p,M){return p=q(p),N(T,K()?Reflect.construct(p,M||[],q(T).constructor):p.apply(T,M))}function N(T,p){if(p&&(F(p)=="object"||typeof p=="function"))return p;if(p!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}(T)}function K(){try{var T=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(K=function(){return!!T})()}function q(T){return q=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(p){return p.__proto__||Object.getPrototypeOf(p)},q(T)}function Y(T,p){return Y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(M,b){return M.__proto__=b,M},Y(T,p)}var l1=function(){return typeof window>"u"?0:window.scrollX||window.pageXOffset},u1=function(){return typeof window>"u"?0:window.scrollY||window.pageYOffset};const o1=function(T){var p=function(M){function b(R){var Z;if(function(W,t1){if(!(W instanceof t1))throw new TypeError("Cannot call a class as a function")}(this,b),(Z=X(this,b,[R])).useIntersectionObserver=R.useIntersectionObserver&&l(),Z.useIntersectionObserver)return N(Z);var B=Z.onChangeScroll.bind(Z);return R.delayMethod==="debounce"?Z.delayedScroll=D()(B,R.delayTime):R.delayMethod==="throttle"&&(Z.delayedScroll=P()(B,R.delayTime)),Z.state={scrollPosition:{x:l1(),y:u1()}},Z.baseComponentRef=s().createRef(),Z}return function(R,Z){if(typeof Z!="function"&&Z!==null)throw new TypeError("Super expression must either be null or a function");R.prototype=Object.create(Z&&Z.prototype,{constructor:{value:R,writable:!0,configurable:!0}}),Object.defineProperty(R,"prototype",{writable:!1}),Z&&Y(R,Z)}(b,M),v=b,V=[{key:"componentDidMount",value:function(){this.addListeners()}},{key:"componentWillUnmount",value:function(){this.removeListeners()}},{key:"componentDidUpdate",value:function(){typeof window>"u"||this.useIntersectionObserver||_(this.baseComponentRef.current)!==this.scrollElement&&(this.removeListeners(),this.addListeners())}},{key:"addListeners",value:function(){typeof window>"u"||this.useIntersectionObserver||(this.scrollElement=_(this.baseComponentRef.current),this.scrollElement.addEventListener("scroll",this.delayedScroll,{passive:!0}),window.addEventListener("resize",this.delayedScroll,{passive:!0}),this.scrollElement!==window&&window.addEventListener("scroll",this.delayedScroll,{passive:!0}))}},{key:"removeListeners",value:function(){typeof window>"u"||this.useIntersectionObserver||(this.scrollElement.removeEventListener("scroll",this.delayedScroll),window.removeEventListener("resize",this.delayedScroll),this.scrollElement!==window&&window.removeEventListener("scroll",this.delayedScroll))}},{key:"onChangeScroll",value:function(){this.useIntersectionObserver||this.setState({scrollPosition:{x:l1(),y:u1()}})}},{key:"render",value:function(){var R=this.props,Z=(R.delayMethod,R.delayTime,function(W,t1){if(W==null)return{};var Q,e1,s1=function(h1,be){if(h1==null)return{};var $3={};for(var Vt in h1)if({}.hasOwnProperty.call(h1,Vt)){if(be.indexOf(Vt)>=0)continue;$3[Vt]=h1[Vt]}return $3}(W,t1);if(Object.getOwnPropertySymbols){var r1=Object.getOwnPropertySymbols(W);for(e1=0;e1<r1.length;e1++)Q=r1[e1],t1.indexOf(Q)>=0||{}.propertyIsEnumerable.call(W,Q)&&(s1[Q]=W[Q])}return s1}(R,I)),B=this.useIntersectionObserver?null:this.state.scrollPosition;return s().createElement(T,O({forwardRef:this.baseComponentRef,scrollPosition:B},Z))}}],V&&$(v.prototype,V),Object.defineProperty(v,"prototype",{writable:!1}),v;var v,V}(s().Component);return p.propTypes={delayMethod:a.PropTypes.oneOf(["debounce","throttle"]),delayTime:a.PropTypes.number,useIntersectionObserver:a.PropTypes.bool},p.defaultProps={delayMethod:"throttle",delayTime:300,useIntersectionObserver:!0},p};function i1(T){return i1=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(p){return typeof p}:function(p){return p&&typeof Symbol=="function"&&p.constructor===Symbol&&p!==Symbol.prototype?"symbol":typeof p},i1(T)}function y1(T,p){for(var M=0;M<p.length;M++){var b=p[M];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(T,U1(b.key),b)}}function U1(T){var p=function(M,b){if(i1(M)!="object"||!M)return M;var v=M[Symbol.toPrimitive];if(v!==void 0){var V=v.call(M,"string");if(i1(V)!="object")return V;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(M)}(T);return i1(p)=="symbol"?p:p+""}function Z1(T,p,M){return p=P1(p),function(b,v){if(v&&(i1(v)=="object"||typeof v=="function"))return v;if(v!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(V){if(V===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return V}(b)}(T,j1()?Reflect.construct(p,M||[],P1(T).constructor):p.apply(T,M))}function j1(){try{var T=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(j1=function(){return!!T})()}function P1(T){return P1=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(p){return p.__proto__||Object.getPrototypeOf(p)},P1(T)}function E1(T,p){return E1=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(M,b){return M.__proto__=b,M},E1(T,p)}var f1=function(T){function p(v){return function(V,R){if(!(V instanceof R))throw new TypeError("Cannot call a class as a function")}(this,p),Z1(this,p,[v])}return function(v,V){if(typeof V!="function"&&V!==null)throw new TypeError("Super expression must either be null or a function");v.prototype=Object.create(V&&V.prototype,{constructor:{value:v,writable:!0,configurable:!0}}),Object.defineProperty(v,"prototype",{writable:!1}),V&&E1(v,V)}(p,T),M=p,(b=[{key:"render",value:function(){return s().createElement(S,this.props)}}])&&y1(M.prototype,b),Object.defineProperty(M,"prototype",{writable:!1}),M;var M,b}(s().Component);const V1=o1(f1);function x1(T){return x1=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(p){return typeof p}:function(p){return p&&typeof Symbol=="function"&&p.constructor===Symbol&&p!==Symbol.prototype?"symbol":typeof p},x1(T)}function z(T,p){for(var M=0;M<p.length;M++){var b=p[M];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(T,vt(b.key),b)}}function vt(T){var p=function(M,b){if(x1(M)!="object"||!M)return M;var v=M[Symbol.toPrimitive];if(v!==void 0){var V=v.call(M,"string");if(x1(V)!="object")return V;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(M)}(T);return x1(p)=="symbol"?p:p+""}function yt(T,p,M){return p=ve(p),function(b,v){if(v&&(x1(v)=="object"||typeof v=="function"))return v;if(v!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(V){if(V===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return V}(b)}(T,me()?Reflect.construct(p,M||[],ve(T).constructor):p.apply(T,M))}function me(){try{var T=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(me=function(){return!!T})()}function ve(T){return ve=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(p){return p.__proto__||Object.getPrototypeOf(p)},ve(T)}function Ue(T,p){return Ue=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(M,b){return M.__proto__=b,M},Ue(T,p)}var D1=function(T){function p(v){var V;(function(t1,Q){if(!(t1 instanceof Q))throw new TypeError("Cannot call a class as a function")})(this,p),V=yt(this,p,[v]);var R=v.afterLoad,Z=v.beforeLoad,B=v.scrollPosition,W=v.visibleByDefault;return V.state={visible:W},W&&(Z(),R()),V.onVisible=V.onVisible.bind(V),V.isScrollTracked=!!(B&&Number.isFinite(B.x)&&B.x>=0&&Number.isFinite(B.y)&&B.y>=0),V}return function(v,V){if(typeof V!="function"&&V!==null)throw new TypeError("Super expression must either be null or a function");v.prototype=Object.create(V&&V.prototype,{constructor:{value:v,writable:!0,configurable:!0}}),Object.defineProperty(v,"prototype",{writable:!1}),V&&Ue(v,V)}(p,T),M=p,(b=[{key:"componentDidUpdate",value:function(v,V){V.visible!==this.state.visible&&this.props.afterLoad()}},{key:"onVisible",value:function(){this.props.beforeLoad(),this.setState({visible:!0})}},{key:"render",value:function(){if(this.state.visible)return this.props.children;var v=this.props,V=v.className,R=v.delayMethod,Z=v.delayTime,B=v.height,W=v.placeholder,t1=v.scrollPosition,Q=v.style,e1=v.threshold,s1=v.useIntersectionObserver,r1=v.width;return this.isScrollTracked||s1&&l()?s().createElement(S,{className:V,height:B,onVisible:this.onVisible,placeholder:W,scrollPosition:t1,style:Q,threshold:e1,useIntersectionObserver:s1,width:r1}):s().createElement(V1,{className:V,delayMethod:R,delayTime:Z,height:B,onVisible:this.onVisible,placeholder:W,style:Q,threshold:e1,width:r1})}}])&&z(M.prototype,b),Object.defineProperty(M,"prototype",{writable:!1}),M;var M,b}(s().Component);D1.propTypes={afterLoad:a.PropTypes.func,beforeLoad:a.PropTypes.func,useIntersectionObserver:a.PropTypes.bool,visibleByDefault:a.PropTypes.bool},D1.defaultProps={afterLoad:function(){return{}},beforeLoad:function(){return{}},useIntersectionObserver:!0,visibleByDefault:!1};const $e=D1;function Y1(T){return Y1=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(p){return typeof p}:function(p){return p&&typeof Symbol=="function"&&p.constructor===Symbol&&p!==Symbol.prototype?"symbol":typeof p},Y1(T)}var ae=["afterLoad","beforeLoad","delayMethod","delayTime","effect","placeholder","placeholderSrc","scrollPosition","threshold","useIntersectionObserver","visibleByDefault","wrapperClassName","wrapperProps"];function xt(T,p){var M=Object.keys(T);if(Object.getOwnPropertySymbols){var b=Object.getOwnPropertySymbols(T);p&&(b=b.filter(function(v){return Object.getOwnPropertyDescriptor(T,v).enumerable})),M.push.apply(M,b)}return M}function We(T){for(var p=1;p<arguments.length;p++){var M=arguments[p]!=null?arguments[p]:{};p%2?xt(Object(M),!0).forEach(function(b){f2(T,b,M[b])}):Object.getOwnPropertyDescriptors?Object.defineProperties(T,Object.getOwnPropertyDescriptors(M)):xt(Object(M)).forEach(function(b){Object.defineProperty(T,b,Object.getOwnPropertyDescriptor(M,b))})}return T}function f2(T,p,M){return(p=wt(p))in T?Object.defineProperty(T,p,{value:M,enumerable:!0,configurable:!0,writable:!0}):T[p]=M,T}function ye(){return ye=Object.assign?Object.assign.bind():function(T){for(var p=1;p<arguments.length;p++){var M=arguments[p];for(var b in M)({}).hasOwnProperty.call(M,b)&&(T[b]=M[b])}return T},ye.apply(null,arguments)}function xe(T,p){for(var M=0;M<p.length;M++){var b=p[M];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(T,wt(b.key),b)}}function wt(T){var p=function(M,b){if(Y1(M)!="object"||!M)return M;var v=M[Symbol.toPrimitive];if(v!==void 0){var V=v.call(M,"string");if(Y1(V)!="object")return V;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(M)}(T);return Y1(p)=="symbol"?p:p+""}function bt(T,p,M){return p=O1(p),function(b,v){if(v&&(Y1(v)=="object"||typeof v=="function"))return v;if(v!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(V){if(V===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return V}(b)}(T,Lt()?Reflect.construct(p,M||[],O1(T).constructor):p.apply(T,M))}function Lt(){try{var T=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Lt=function(){return!!T})()}function O1(T){return O1=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(p){return p.__proto__||Object.getPrototypeOf(p)},O1(T)}function we(T,p){return we=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(M,b){return M.__proto__=b,M},we(T,p)}var ze=function(T){function p(v){var V;return function(R,Z){if(!(R instanceof Z))throw new TypeError("Cannot call a class as a function")}(this,p),(V=bt(this,p,[v])).state={loaded:!1},V}return function(v,V){if(typeof V!="function"&&V!==null)throw new TypeError("Super expression must either be null or a function");v.prototype=Object.create(V&&V.prototype,{constructor:{value:v,writable:!0,configurable:!0}}),Object.defineProperty(v,"prototype",{writable:!1}),V&&we(v,V)}(p,T),M=p,b=[{key:"onImageLoad",value:function(){var v=this;return this.state.loaded?null:function(V){v.props.onLoad(V),v.props.afterLoad(),v.setState({loaded:!0})}}},{key:"getImg",value:function(){var v=this.props,V=(v.afterLoad,v.beforeLoad,v.delayMethod,v.delayTime,v.effect,v.placeholder,v.placeholderSrc,v.scrollPosition,v.threshold,v.useIntersectionObserver,v.visibleByDefault,v.wrapperClassName,v.wrapperProps,function(R,Z){if(R==null)return{};var B,W,t1=function(e1,s1){if(e1==null)return{};var r1={};for(var h1 in e1)if({}.hasOwnProperty.call(e1,h1)){if(s1.indexOf(h1)>=0)continue;r1[h1]=e1[h1]}return r1}(R,Z);if(Object.getOwnPropertySymbols){var Q=Object.getOwnPropertySymbols(R);for(W=0;W<Q.length;W++)B=Q[W],Z.indexOf(B)>=0||{}.propertyIsEnumerable.call(R,B)&&(t1[B]=R[B])}return t1}(v,ae));return s().createElement("img",ye({},V,{onLoad:this.onImageLoad()}))}},{key:"getLazyLoadImage",value:function(){var v=this.props,V=v.beforeLoad,R=v.className,Z=v.delayMethod,B=v.delayTime,W=v.height,t1=v.placeholder,Q=v.scrollPosition,e1=v.style,s1=v.threshold,r1=v.useIntersectionObserver,h1=v.visibleByDefault,be=v.width;return s().createElement($e,{beforeLoad:V,className:R,delayMethod:Z,delayTime:B,height:W,placeholder:t1,scrollPosition:Q,style:e1,threshold:s1,useIntersectionObserver:r1,visibleByDefault:h1,width:be},this.getImg())}},{key:"getWrappedLazyLoadImage",value:function(v){var V=this.props,R=V.effect,Z=V.height,B=V.placeholderSrc,W=V.width,t1=V.wrapperClassName,Q=V.wrapperProps,e1=this.state.loaded,s1=e1?" lazy-load-image-loaded":"",r1=e1||!B?{}:{backgroundImage:"url(".concat(B,")"),backgroundSize:"100% 100%"};return s().createElement("span",ye({className:t1+" lazy-load-image-background "+R+s1,style:We(We({},r1),{},{color:"transparent",display:"inline-block",height:Z,width:W})},Q),v)}},{key:"render",value:function(){var v=this.props,V=v.effect,R=v.placeholderSrc,Z=v.visibleByDefault,B=v.wrapperClassName,W=v.wrapperProps,t1=this.getLazyLoadImage();return(V||R)&&!Z||B||W?this.getWrappedLazyLoadImage(t1):t1}}],b&&xe(M.prototype,b),Object.defineProperty(M,"prototype",{writable:!1}),M;var M,b}(s().Component);ze.propTypes={onLoad:a.PropTypes.func,afterLoad:a.PropTypes.func,beforeLoad:a.PropTypes.func,delayMethod:a.PropTypes.string,delayTime:a.PropTypes.number,effect:a.PropTypes.string,placeholderSrc:a.PropTypes.string,threshold:a.PropTypes.number,useIntersectionObserver:a.PropTypes.bool,visibleByDefault:a.PropTypes.bool,wrapperClassName:a.PropTypes.string,wrapperProps:a.PropTypes.object},ze.defaultProps={onLoad:function(){},afterLoad:function(){return{}},beforeLoad:function(){return{}},delayMethod:"throttle",delayTime:300,effect:"",placeholderSrc:null,threshold:100,useIntersectionObserver:!0,visibleByDefault:!1,wrapperClassName:""};const h2=ze})(),H9.exports=r})();var Gc=H9.exports;const _2="data:image/svg+xml,%3csvg%20width='384'%20height='216'%20viewBox='0%200%20384%20216'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_11648_9381)'%3e%3crect%20width='384'%20height='216'%20fill='%2359BB99'/%3e%3ccircle%20cx='-7'%20cy='184'%20r='87'%20fill='url(%23paint0_radial_11648_9381)'/%3e%3ccircle%20cx='368'%20cy='33'%20r='87'%20fill='url(%23paint1_radial_11648_9381)'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M136%2078C141.959%2078%20146.986%2081.9942%20148.548%2087.4516C154.006%2089.014%20158%2094.0405%20158%2099.9999C158%20105.959%20154.006%20110.986%20148.548%20112.548C146.986%20118.006%20141.959%20122%20136%20122C130.04%20122%20125.014%20118.006%20123.452%20112.548C117.994%20110.986%20114%20105.959%20114%2099.9999C114%2094.0406%20117.994%2089.0142%20123.452%2087.4517C125.014%2081.9943%20130.04%2078%20136%2078Z'%20fill='%23F7CFDB'/%3e%3cpath%20d='M139.954%2095.3616C139.923%2097.884%20135.962%2097.5421%20134.7%2097.5267L134.755%2093.063C136.016%2093.0784%20139.985%2092.7277%20139.954%2095.3616ZM140.906%20102.316C140.874%20105.09%20136.128%20104.716%20134.611%20104.698L134.688%2099.7811C136.2%2099.8017%20140.958%2099.4226%20140.922%20102.32L140.906%20102.316ZM144.148%2094.4178C143.928%2091.7661%20141.653%2090.8548%20138.771%2090.5621L138.816%2086.8898L136.578%2086.8608L136.533%2090.4382C135.948%2090.4302%20135.347%2090.4347%20134.75%2090.4401L134.775%2086.845L132.543%2086.8093L132.499%2090.4777C132.013%2090.4841%20131.538%2090.4848%20131.075%2090.4809L127.993%2090.4406L127.964%2092.8313C127.964%2092.8313%20129.621%2092.8205%20129.584%2092.8518C130.21%2092.7802%20130.777%2093.2229%20130.86%2093.8471L130.822%2098.0175C130.901%2098.0184%20130.979%2098.0242%20131.057%2098.035L130.822%2098.034L130.737%20103.891C130.7%20104.329%20130.317%20104.655%20129.88%20104.621C129.914%20104.63%20128.256%20104.6%20128.256%20104.6L127.778%20107.263L130.688%20107.298L132.289%20107.314L132.246%20111.024L134.48%20111.052L134.512%20107.397C135.106%20107.419%20135.702%20107.43%20136.296%20107.436L136.25%20111.096L138.484%20111.124L138.535%20107.416C142.302%20107.247%20144.938%20106.332%20145.307%20102.809C145.601%2099.9679%20144.29%2098.6862%20142.168%2098.1466C143.474%2097.504%20144.303%2096.3533%20144.132%2094.4136L144.148%2094.4178Z'%20fill='%23DB6A93'/%3e%3cpath%20d='M170%2098.8577C170%2094.4242%20172.859%2090.9544%20177.421%2090.9544C179.959%2090.9544%20181.919%2092.111%20182.915%2094.0708L183.14%2091.4042H185.839V106.472C185.839%20111.42%20182.787%20114.568%20177.968%20114.568C173.695%20114.568%20170.771%20112.158%20170.193%20108.175H173.213C173.598%20110.488%20175.333%20111.837%20177.968%20111.837C180.923%20111.837%20182.851%20109.91%20182.851%20106.922V103.773C181.823%20105.604%20179.767%20106.697%20177.293%20106.697C172.827%20106.697%20170%20103.259%20170%2098.8577ZM173.02%2098.7935C173.02%20101.749%20174.851%20104.062%20177.807%20104.062C180.859%20104.062%20182.722%20101.878%20182.722%2098.7935C182.722%2095.7735%20180.923%2093.5889%20177.839%2093.5889C174.819%2093.5889%20173.02%2095.902%20173.02%2098.7935Z'%20fill='white'/%3e%3cpath%20d='M194.791%20107.5C191.418%20107.5%20189.426%20105.604%20189.426%20102.745C189.426%2099.8537%20191.579%2098.0545%20195.273%2097.7654L200.221%2097.3799V96.9301C200.221%2094.2957%20198.647%2093.364%20196.526%2093.364C193.988%2093.364%20192.542%2094.4884%20192.542%2096.3839H189.908C189.908%2093.1069%20192.607%2090.9544%20196.655%2090.9544C200.542%2090.9544%20203.176%2093.0106%20203.176%2097.2514V107.114H200.606L200.285%20104.576C199.482%20106.376%20197.329%20107.5%20194.791%20107.5ZM195.659%20105.155C198.518%20105.155%20200.253%20103.291%20200.253%20100.336V99.5003L196.237%2099.8216C193.57%20100.079%20192.478%20101.107%20192.478%20102.649C192.478%20104.319%20193.699%20105.155%20195.659%20105.155Z'%20fill='white'/%3e%3cpath%20d='M216.354%2091.2757V94.0386H215.005C212.146%2094.0386%20210.379%2095.7735%20210.379%2098.7935V107.114H207.359V91.4363H210.186L210.379%2093.8137C211.021%2092.1753%20212.596%2091.0829%20214.748%2091.0829C215.294%2091.0829%20215.744%2091.1472%20216.354%2091.2757Z'%20fill='white'/%3e%3cpath%20d='M224.919%20107.5C220.357%20107.5%20217.594%20104.094%20217.594%2099.3075C217.594%2094.4884%20220.389%2090.9544%20225.048%2090.9544C227.457%2090.9544%20229.481%2092.0146%20230.541%2093.9423V83.4688H233.529V107.114H230.831L230.574%20104.255C229.545%20106.408%20227.425%20107.5%20224.919%20107.5ZM225.53%20104.769C228.614%20104.769%20230.509%20102.488%20230.509%2099.2111C230.509%2095.9984%20228.614%2093.6852%20225.53%2093.6852C222.445%2093.6852%20220.646%2095.9984%20220.646%2099.2111C220.646%20102.456%20222.445%20104.769%20225.53%20104.769Z'%20fill='white'/%3e%3cpath%20d='M244.665%20107.5C240.039%20107.5%20236.858%20104.159%20236.858%2099.2754C236.858%2094.3599%20239.974%2090.9544%20244.536%2090.9544C249.002%2090.9544%20251.926%2094.0386%20251.926%2098.6971V99.8216L239.782%2099.8537C240.006%20103.163%20241.741%20104.994%20244.729%20104.994C247.074%20104.994%20248.617%20104.03%20249.131%20102.231H251.958C251.187%20105.604%20248.552%20107.5%20244.665%20107.5ZM244.536%2093.4925C241.902%2093.4925%20240.231%2095.0667%20239.846%2097.8297H248.906C248.906%2095.2273%20247.203%2093.4925%20244.536%2093.4925Z'%20fill='white'/%3e%3cpath%20d='M258.319%20107.114H255.299V91.4042H258.03L258.351%2093.8137C259.347%2092.0146%20261.339%2090.9544%20263.555%2090.9544C267.7%2090.9544%20269.595%2093.4925%20269.595%2097.5084V107.114H266.575V98.1831C266.575%2095.0025%20265.098%2093.7174%20262.784%2093.7174C259.957%2093.7174%20258.319%2095.7414%20258.319%2098.7935V107.114Z'%20fill='white'/%3e%3c/g%3e%3cdefs%3e%3cradialGradient%20id='paint0_radial_11648_9381'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(-7%20184)%20rotate(90)%20scale(87)'%3e%3cstop%20offset='0.380208'%20stop-color='%239BC8FF'/%3e%3cstop%20offset='1'%20stop-color='%239BC8FF'%20stop-opacity='0.2'/%3e%3c/radialGradient%3e%3cradialGradient%20id='paint1_radial_11648_9381'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(368%2033)%20rotate(90)%20scale(87)'%3e%3cstop%20offset='0.380208'%20stop-color='%239BC8FF'/%3e%3cstop%20offset='1'%20stop-color='%239BC8FF'%20stop-opacity='0.2'/%3e%3c/radialGradient%3e%3cclipPath%20id='clip0_11648_9381'%3e%3crect%20width='384'%20height='216'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",Kc=({thumbnail:e,category:t,date:n,title:r,className:o,thumbnailClassName:s})=>{const[a,l]=x.useState(!1),[c,u]=x.useState(e??_2);x.useEffect(()=>{u(e??_2)},[e]);const d=()=>{u(_2)};return i.jsx(ht,{level:"semi-dark",className:"gf-rounded-2xl h-full",children:i.jsxs("div",{className:m1(o,"gf-overflow-hidden gf-rounded-2xl"),children:[i.jsx("div",{className:m1(s,`${a?"":"gf-filter gf-blur-md"}`),children:i.jsx(Gc.LazyLoadImage,{alt:r,effect:"blur",src:c,onLoad:()=>l(!0),onError:d})}),i.jsxs("div",{className:"gf-px-4 gf-pt-4 gf-pb-5 gf-md:px-5 gf-md:pb-11",children:[i.jsxs("div",{className:"gf-flex gf-justify-between gf-mb-3",children:[i.jsx(M1,{size:"h5",weight:"medium",className:"gf-bg-rose gf-px-3 gf-py-1 gf-rounded-full",children:t}),i.jsx(M1,{size:"h5",weight:"medium",className:"gf-px-3 gf-py-1",children:n})]}),i.jsx(M1,{size:"h3",weight:"bold",children:r})]})]})})},Yc=Oe(["gf-w-full gf-max-w-96 gf-p-4 gf-pb-5 md:gf-p-6 md:gf-pb-8 gf-rounded-2xl"],{variants:{variant:{locked:"gf-bg-white gf-bg-opacity-25",default:"gf-bg-white gf-bg-opacity-50"}},defaultVariants:{variant:"locked"}}),Xc=({variant:e,title:t,description:n,chipContent:r,logo:o})=>i.jsxs("div",{className:m1(Yc({variant:e})),children:[i.jsxs("div",{className:"gf-flex gf-justify-between gf-items-center gf-mb-4",children:[i.jsxs(I1,{className:"gf-cursor-pointer gf-px-2 gf-py-1",children:[i.jsx(I1.Logo,{children:o}),t,i.jsx(I1.CheckBox,{checked:!1})]}),e==="default"?i.jsx(Z6,{className:"gf-cursor-pointer",height:"20px",width:"20px"}):i.jsx(A6,{className:"gf-cursor-pointer",height:"20px",width:"20px"})]}),i.jsx("div",{className:"gf-mb-3 md:gf-mb-8",children:i.jsx(M1,{size:"h3",weight:"medium",children:n})}),i.jsxs("div",{className:"gf-flex gf-justify-end gf-space-x-2",children:[i.jsxs(I1,{className:"gf-pl-3 gf-pr-2 gf-py-1",children:[i.jsx(M1,{size:"h4",weight:"medium",children:"Quest Access"}),i.jsx(I1.CheckBox,{checked:!1})]}),i.jsxs(I1,{className:"gf-pl-3 gf-pr-2 gf-py-1",children:[i.jsx(M1,{size:"h4",weight:"medium",children:r}),i.jsx(I1.CheckBox,{checked:!1})]})]})]});exports.APIIcon=$8;exports.AddIcon=Yr;exports.ArbitrumLogo=ho;exports.ArrowDownwardIcon=Wr;exports.ArrowEastIcon=L8;exports.ArrowInwardIcon=uo;exports.ArrowLeftIcon=Gr;exports.ArrowNorthEastIcon=Xr;exports.ArrowNorthWestIcon=qr;exports.ArrowRightIcon=Kr;exports.ArrowSouthEastIcon=Qr;exports.ArrowSouthWestIcon=Jr;exports.ArrowSyncIcon=N8;exports.ArrowUpwardIcon=zr;exports.BTCLogo=Co;exports.BlogCard=Kc;exports.BlogIcon=W8;exports.BottomSheet=Ur;exports.BrandKitIcon=z8;exports.Button=b0;exports.Camelot=Ao;exports.CancelIcon=B8;exports.CatalogLogo=po;exports.ChainflipIcon=R8;exports.CheckBox=Xo;exports.CheckCircleIcon=V8;exports.CheckIcon=e8;exports.Checked=I6;exports.Chip=I1;exports.ClientOnly=ft;exports.ClockIcon=t8;exports.CloseIcon=n8;exports.CodeBlockIcon=U8;exports.Coinbase=go;exports.CompareArrowsIcon=j8;exports.ConsoleIcon=G8;exports.Container=$r;exports.CopyIcon=r8;exports.CopyrightsIcon=B6;exports.DLCBTC=Eo;exports.Debridge=Ro;exports.DeleteIcon=D8;exports.DiscordIcon=N6;exports.Dodo=Io;exports.DollarChipIcon=io;exports.DraftIcon=K8;exports.EditIcon=o8;exports.EncryptedIcon=no;exports.EthereumLogo=mo;exports.ExchangeIcon=i8;exports.FaqIcon=fo;exports.FeesIcon=w8;exports.FingerprintIcon=M8;exports.FolderIcon=co;exports.Footer=zc;exports.GMX=Zo;exports.GMXLogo=Lo;exports.GardenDocs=Wo;exports.GardenExplorer=vo;exports.GardenExplorerAlt=$o;exports.GardenFullLogo=yo;exports.GardenIcon=U6;exports.GardenIconOutline=Fo;exports.GardenLogo=xo;exports.GardenLogoDark=Ko;exports.GardenLogoLight=Yo;exports.GardenLogoMarkDark=zo;exports.GardenLogoMarkLight=Go;exports.GardenLogoText=wo;exports.GardenStrokeIcon=bo;exports.GasStationIcon=_8;exports.GiftBoxIcon=so;exports.GradientScroll=ti;exports.HorizontalSwap=oo;exports.HubIcon=F8;exports.InfinityIcon=P8;exports.InfoBadge=Jo;exports.InfoIcon=s8;exports.KeyboardDownIcon=R6;exports.KeyboardLeftIcon=a8;exports.KeyboardRightIcon=l8;exports.KeyboardUpIcon=c8;exports.LanguageIcon=u8;exports.LinkIcon=d8;exports.LockIcon=A6;exports.LogoutIcon=f8;exports.MenuIcon=h8;exports.MinusIcon=H8;exports.Modal=Yn;exports.NFTIcon=Uo;exports.Opacity=ht;exports.OpenInFullIcon=Z6;exports.OpenInNewIcon=b8;exports.OtterSecIcon=Y8;exports.PageInfoIcon=C8;exports.PancakeSwap=Oo;exports.PasskeyIcon=k8;exports.PhantomIcon=Vo;exports.PlusIcon=S8;exports.PolygonLogo=Mo;exports.QuestCard=Xc;exports.Radiant=Bo;exports.RadiantLogo=jo;exports.RadioCheckedIcon=D6;exports.RadioUncheckedIcon=O6;exports.RaiseHandIcon=ao;exports.ReferralIcon=x8;exports.RelayLinkIcon=A8;exports.RemoveIcon=p8;exports.RollingText=Ee;exports.Rotate360Icon=to;exports.RoutingIcon=ro;exports.RowInfoIcon=lo;exports.SDKIcon=X8;exports.ScaleY=Uc;exports.SearchIcon=v8;exports.SearchIconThin=eo;exports.Share=T8;exports.Shine=$c;exports.Sidebar=c7;exports.Solv=Do;exports.StakeIcon=q8;exports.StarIcon=g8;exports.SwapHorizontalIcon=I8;exports.SwellBTC=Po;exports.ThorswapIcon=Z8;exports.TimerIcon=y8;exports.TokenInfo=ei;exports.TokenNetworkLogos=$6;exports.TraderJoe=ko;exports.TrailOfBits=Ho;exports.TrustWallet=So;exports.Typography=M1;exports.Unchecked=_6;exports.Vertex=_o;exports.WalletConnect=To;exports.WalletIcon=m8;exports.WalletIconRose=E8;exports.WarningIcon=O8;exports.XIcon=F6;exports.XSolidIcon=Q8;exports.ZellicIcon=J8;
|
package/dist/ui.es.js
CHANGED
|
@@ -14609,6 +14609,11 @@ const ot = ({
|
|
|
14609
14609
|
link: `${f}/blog`,
|
|
14610
14610
|
isExternal: !0
|
|
14611
14611
|
},
|
|
14612
|
+
routes: {
|
|
14613
|
+
title: "Routes",
|
|
14614
|
+
link: `${f}/routes`,
|
|
14615
|
+
isExternal: !0
|
|
14616
|
+
},
|
|
14612
14617
|
faq: {
|
|
14613
14618
|
title: "FAQs",
|
|
14614
14619
|
link: `${f}/faq`,
|
|
@@ -14628,6 +14633,11 @@ const ot = ({
|
|
|
14628
14633
|
title: "Audits",
|
|
14629
14634
|
link: "https://github.com/gardenfi/audits",
|
|
14630
14635
|
isExternal: !0
|
|
14636
|
+
},
|
|
14637
|
+
Governance: {
|
|
14638
|
+
title: "Governance",
|
|
14639
|
+
link: "https://docs.garden.finance/home/governance",
|
|
14640
|
+
isExternal: !0
|
|
14631
14641
|
}
|
|
14632
14642
|
},
|
|
14633
14643
|
Developers: {
|
|
@@ -14645,6 +14655,11 @@ const ot = ({
|
|
|
14645
14655
|
title: "SDK",
|
|
14646
14656
|
link: "https://docs.garden.finance/developers/sdk/overview",
|
|
14647
14657
|
isExternal: !0
|
|
14658
|
+
},
|
|
14659
|
+
security: {
|
|
14660
|
+
title: "Security",
|
|
14661
|
+
link: `${f}/security`,
|
|
14662
|
+
isExternal: !0
|
|
14648
14663
|
}
|
|
14649
14664
|
}
|
|
14650
14665
|
}, g = {
|